@ckeditor/ckeditor5-pagination 48.3.0 → 48.3.1-alpha.0
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.
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x194ea8}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x2e492d,InputNumberView as _0x374a2f,View as _0x784d16}from'@ckeditor/ckeditor5-ui';import{Rect as _0x13a4be,ResizeObserver as _0x21e201,env as _0x3dd8e3,first as _0x3fb61e,global as _0x1247a3,keyCodes as _0x1d3b2c,logWarning as _0x3e355a,toUnit as _0x6d4b7b,uid as _0xab99fe}from'@ckeditor/ckeditor5-utils';import{debounce as _0x585e95}from'es-toolkit/compat';import{IconArrowDown as _0x55f90c,IconArrowUp as _0x44b531}from'@ckeditor/ckeditor5-icons';var w=class extends _0x194ea8{['_recalculatePageBreaksDebounced']=_0x585e95(()=>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 _0x3e355a('pagination-config-not-found',this['editor']['config']);const _0x562375=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x562375),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x48111b,_0x41c5c2,_0x15a5a9)=>{_0x15a5a9&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x32c500){const _0x3952d8='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x285ed0=0x78e88,_0x2a1736=window['Date']['now'](),_0x5972dd=_0x32c500['editor'],_0x1695f4=new window['Promise'](_0xe0a9e1=>{_0x5972dd['once']('ready',_0xe0a9e1);}),_0x5de7c5={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x444aee=_0x5972dd['config']['get']('licenseKey');async function _0x52cab4(){let _0x4b61b5,_0x570753=null,_0x502c88=null;try{return'GPL'==_0x444aee?'NotAllowed':(_0x4b61b5=_0x256399(),_0x4b61b5?(_0x4b61b5['usageEndpoint']&&(_0x502c88=_0x46b17a(_0x4b61b5['usageEndpoint'],_0x4b61b5['jti'])),await _0x42ffa1()?_0x5f1705()?_0x517962()?'Expired':_0x4aa659()?('evaluation'==_0x4b61b5['licenseType']&&(_0x570753=_0x26712a('EvaluationLimit')),await _0x235cdb()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x517962(){const _0x21c879=['evaluation','trial']['includes'](_0x4b61b5['licenseType'])?_0x2a1736/0x3e8:0xe10*_0x285ed0;return _0x4b61b5['exp']<_0x21c879;}function _0x5f1705(){const _0x306c21=_0x4b61b5['features'];return!!_0x306c21&&(!!_0x306c21['includes']('*')||!!_0x306c21['includes']('PAG'));}function _0x4aa659(){const _0x203e43=_0x4b61b5['licensedHosts'];if(!_0x203e43||0x0==_0x203e43['length'])return!0x0;const {hostname:_0x3c359f}=new URL(window['location']['href']);if(_0x203e43['includes'](_0x3c359f))return!0x0;const _0x26f0ae=_0x3c359f['split']('.');return _0x203e43['filter'](_0x1d4489=>_0x1d4489['includes']('*'))['map'](_0x203504=>_0x203504['split']('.'))['filter'](_0x3093bc=>_0x3093bc['length']<=_0x26f0ae['length'])['map'](_0x164829=>Array(_0x26f0ae['length']-_0x164829['length'])['fill']('*'===_0x164829[0x0]?'*':'')['concat'](_0x164829))['some'](_0x2b5133=>_0x26f0ae['every']((_0x5c8e90,_0x50910d)=>_0x2b5133[_0x50910d]===_0x5c8e90||'*'===_0x2b5133[_0x50910d]));}function _0x235cdb(){return _0x570753&&_0x502c88?new window['Promise']((_0x1a9f51,_0x2a1bca)=>{_0x570753['then'](_0x1a9f51,_0x2a1bca),_0x502c88['then'](_0x5d8b3c=>{'Valid'!=_0x5d8b3c&&_0x1a9f51(_0x5d8b3c);},_0x2a1bca);}):_0x570753||_0x502c88||'Valid';}}function _0x46b17a(_0x3f4bde,_0x8122e2){return new window['Promise'](_0x4ac0b2=>{if(_0x5ad3f1())return _0x4ac0b2('Valid');_0x1f0b98(),_0x5972dd['decorate']('_sendUsageRequest');let _0x824cdf=!0x1;const _0x370863=_0xab99fe();function _0x9ca205(_0x434ed6){return!!_0x434ed6&&('object'==typeof _0x434ed6||'function'==typeof _0x434ed6)&&'function'==typeof _0x434ed6['then']&&'function'==typeof _0x434ed6['catch'];}function _0x4abb9a(_0x445d9b){_0x41d60e(_0x445d9b)['then'](_0x3aa0ac=>_0x3aa0ac&&'ok'==_0x3aa0ac['status']?_0x3996f9(_0x332a3b(_0x370863+_0x8122e2))!=_0x3aa0ac['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5cfad6=>(_0xe3ad78(),_0x5cfad6),()=>{const _0x2bad90=_0x20af50();return null==_0x2bad90?(_0xe3ad78(),'Valid'):_0x2a1736-_0x2bad90>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4ac0b2)['catch'](()=>{_0x4ac0b2('UsageLimit');});const _0x383c6c=0x36ee80;function _0xe3ad78(){const _0x4cc513='llct-'+_0x3996f9(_0x332a3b(_0x3f4bde)),_0x15e68b=_0x3d7ab9(_0x3996f9(window['Math']['ceil'](_0x2a1736/_0x383c6c)));window['localStorage']['setItem'](_0x4cc513,_0x15e68b);}function _0x20af50(){const _0xc3c128='llct-'+_0x3996f9(_0x332a3b(_0x3f4bde)),_0x58c099=window['localStorage']['getItem'](_0xc3c128);return _0x58c099?window['parseInt'](_0x3d7ab9(_0x58c099),0x10)*_0x383c6c:null;}function _0x41d60e(_0x36477f){return new window['Promise']((_0x477362,_0x125c73)=>{_0x36477f['then'](_0x477362,_0x125c73),window['setTimeout'](_0x125c73,0x1d4c0);});}}_0x5972dd['on']('_sendUsageRequest',(_0x2f2de1,_0x25f320)=>{if(_0x25f320[0x0]!=_0x3f4bde)return _0x4ac0b2('UsageLimit');_0x25f320[0x1]={..._0x25f320[0x1],'requestId':_0x370863};},{'priority':'high'}),_0x5972dd['on']('_sendUsageRequest',_0x19ccf5=>{_0x9ca205(_0x19ccf5['return'])&&(_0x824cdf=!0x0,_0x4abb9a(_0x19ccf5['return']));},{'priority':'low'}),_0x1695f4['then'](()=>{_0x824cdf||_0x4ac0b2('UsageLimit');});});function _0x5ad3f1(){return'auto'==_0x5972dd['editing']['view']['_overlayModeHint'];}function _0x1f0b98(){_0x5972dd['editing']['view']['_overlayModeHint']='auto';}}function _0x26712a(_0x412ec4){const _0x2118aa=[new window['Promise'](_0x48a4e4=>setTimeout(_0x48a4e4,0x93ecc)),_0x1695f4['then'](()=>new window['Promise'](_0x9ba569=>{let _0x2034d2=0x0;_0x5972dd['model']['on']('applyOperation',(_0x47bb58,_0x293eb9)=>{_0x293eb9[0x0]['isDocumentOperation']&&_0x2034d2++,0x5e8==_0x2034d2&&(_0x9ba569(),_0x47bb58['off']());});}))];return window['Promise']['race'](_0x2118aa)['then'](()=>_0x412ec4);}async function _0x4bd4f8(){await _0x1695f4,_0x5972dd['model']['change']=_0x22ce56,_0x5972dd['model']['enqueueChange']=_0x22ce56,_0x5972dd['enableReadOnlyMode']('model');}function _0x231d81(_0x4dae70){const _0x2398df=_0x5c123e();_0x5972dd[_0x2398df]='paginationLicenseKey'+_0x4dae70,'Valid'!=_0x4dae70&&_0x4bd4f8();}function _0x5c123e(){const _0x52b336=window['String'](window['performance']['now']())['replace']('.','');let _0x2d8ff6='I';for(let _0x6cd4f6=0x0;_0x6cd4f6<_0x52b336['length'];_0x6cd4f6+=0x2){let _0xb89a14=window['parseInt'](_0x52b336['substring'](_0x6cd4f6,_0x6cd4f6+0x2));_0xb89a14>=0x3e&&(_0xb89a14-=0x3e),_0x2d8ff6+=_0x3952d8[_0xb89a14];}return _0x2d8ff6;}function _0x256399(){const _0x27fe5e=_0x444aee['split']('.');if(0x3!=_0x27fe5e['length'])return null;return _0x46f13f(_0x27fe5e[0x1]);function _0x46f13f(_0x3e2e5e){const _0x5ef62a=_0x14a6c1(_0x3e2e5e);return _0x5ef62a&&_0x363ce1()?_0x5ef62a:null;function _0x363ce1(){const _0x3c2902=_0x5ef62a['jti'],_0x11caff=window['parseInt'](_0x3c2902['substring'](_0x3c2902['length']-0x8),0x10),_0x188707={..._0x5ef62a,'jti':_0x3c2902['substring'](0x0,_0x3c2902['length']-0x8)};return delete _0x188707['vc'],_0x332a3b(_0x188707)==_0x11caff;}}}async function _0x42ffa1(){let _0x504a2c=!0x0;try{const [_0x8558e3,_0x93745a,_0x535268]=_0x444aee['split']('.');return _0x94c5b4(_0x8558e3),await _0x4c87e0(_0x8558e3,_0x93745a,_0x535268),_0x504a2c;}catch{return!0x1;}function _0x94c5b4(_0x377195){const _0x5d74ee=_0x14a6c1(_0x377195);_0x5d74ee&&'ES256'==_0x5d74ee['alg']||(_0x504a2c=!0x1);}async function _0x4c87e0(_0x251327,_0x5971de,_0x372b98){const _0x2f1453=window['Uint8Array']['from'](_0x34dc94(_0x372b98),_0x4f183d=>_0x4f183d['charCodeAt'](0x0)),_0x1b28dc=new window['TextEncoder']()['encode'](_0x251327+'.'+_0x5971de),_0x3af9cd=window['crypto']['subtle'];if(!_0x3af9cd)return;const _0x286abc=await _0x3af9cd['importKey']('jwk',_0x5de7c5,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3af9cd['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x286abc,_0x2f1453,_0x1b28dc)||(_0x504a2c=!0x1);}}function _0x14a6c1(_0x2b47cd){return _0x2b47cd['startsWith']('ey')?JSON['parse'](_0x34dc94(_0x2b47cd)):null;}function _0x34dc94(_0x4ca8d8){return window['atob'](_0x4ca8d8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x332a3b(_0x3b7cb4){let _0x5b16ad=0x1505;function _0x88b296(_0x7efe46){for(let _0x1db987=0x0;_0x1db987<_0x7efe46['length'];_0x1db987++){const _0x72a52c=_0x7efe46['charCodeAt'](_0x1db987);_0x5b16ad=(_0x5b16ad<<0x5)+_0x5b16ad+_0x72a52c,_0x5b16ad&=_0x5b16ad;}}function _0xa60e0d(_0x488610){Array['isArray'](_0x488610)?_0x488610['forEach'](_0xa60e0d):_0x488610&&'object'==typeof _0x488610?Object['entries'](_0x488610)['sort']()['forEach'](([_0x39f787,_0x5088e9])=>{_0x88b296(_0x39f787),_0xa60e0d(_0x5088e9);}):_0x88b296(window['String'](_0x488610));}return _0xa60e0d(_0x3b7cb4),_0x5b16ad>>>0x0;}function _0x3996f9(_0x1f7655){return _0x1f7655['toString'](0x10)['padStart'](0x8,'0');}function _0x3d7ab9(_0x3f06b5){return _0x3f06b5['split']('')['reverse']()['join']('');}function _0x22ce56(){}_0x231d81(await _0x52cab4());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x2f9679=this['editor'],_0x49f908=_0x2f9679['editing']['view'],_0x118f8e=this['_getAttachedDomRoot']();if(!_0x118f8e||!_0x118f8e['hasChildNodes']())return void _0x2f9679['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5efbcd,pageHeight:_0x3d06ed}=_0x2f9679['config']['get']('pagination'),{top:_0x23d43f,left:_0x14c285,bottom:_0x47328e,right:_0x37dfbe}=this['_configuredPaddings'];this['_pagesContainer']=new _0x784d16(_0x2f9679['locale']);const _0x204c84=this['_pagesContainer'];_0x204c84['set']('class',''),_0x204c84['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x5efbcd,'width':_0x5efbcd,'height':'calc(\x20'+_0x3d06ed+'\x20-\x20'+_0x23d43f+'\x20-\x20'+_0x47328e+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x37dfbe+'\x200\x20'+_0x14c285,'columnGap':'calc('+_0x14c285+'\x20+\x20'+_0x37dfbe+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x204c84['bindTemplate']['to']('class')}}),_0x204c84['render'](),_0x118f8e['parentNode']['insertBefore'](_0x204c84['element'],_0x118f8e['nextSibling']),this['listenTo'](_0x49f908,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x45bc98 of this['editor']['editing']['view']['domRoots']['values']())if(_0x45bc98['ownerDocument']['body']['contains'](_0x45bc98))return _0x45bc98;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x1555d5=this['editor']['editing']['view'],_0x373b07=this['_pagesContainer'],_0x15cb0a=this['_getAttachedDomRoot']();if(!_0x15cb0a||!_0x373b07)return Promise['resolve']();for(_0x373b07['class']=['ck-reset','ck-pagination-view',..._0x15cb0a['classList']]['join']('\x20');_0x373b07['element']['firstChild'];)_0x373b07['element']['firstChild']['remove']();const _0x488474=Array['from'](_0x1555d5['domRoots']);_0x488474['sort'](([,_0x39c59c],[,_0x40a79e])=>_0x39c59c['compareDocumentPosition'](_0x40a79e)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x46618b,_0xc1ecc4]of _0x488474){const _0x527b58=_0xc1ecc4['cloneNode'](!0x0);'attributeStyleMap'in _0x527b58&&_0x527b58['attributeStyleMap']['clear'](),_0x527b58['dataset']['rootName']=_0x46618b,_0x527b58['className']='ck-content\x20ck-pagination_enabled',_0x527b58['removeAttribute']('id'),_0x527b58['tabIndex']=-0x1,_0x373b07['element']['append'](_0x527b58);}const _0x34dd1a=Array['from'](_0x373b07['element']['querySelectorAll']('img'));return function(_0x5f146e){return Promise['all'](_0x5f146e['map'](_0x143b3a=>Promise['race']([k(_0x143b3a),v(0x3e8)])));}(_0x34dd1a)['then'](()=>{for(const _0x3c2af5 of _0x34dd1a['filter'](_0x359cd5=>!_0x359cd5['closest']('table')))if(_0x3c2af5['offsetParent']){const _0x552b87=_0x1247a3['window']['getComputedStyle'](_0x3c2af5),_0x5e840e=_0x1247a3['document']['createElement']('span');for(const _0x1ef385 of _0x552b87)_0x5e840e['style']['setProperty'](_0x1ef385,_0x552b87[_0x1ef385]);_0x5e840e['style']['backgroundImage']='url(\x20'+_0x3c2af5['src']+'\x20)',_0x5e840e['style']['breakInside']='avoid','PICTURE'==_0x3c2af5['parentElement']?.['tagName']?_0x3c2af5['parentElement']['replaceWith'](_0x5e840e):_0x3c2af5['replaceWith'](_0x5e840e);}return new Promise(_0x2eb0e2=>_0x1247a3['window']['requestAnimationFrame'](()=>_0x2eb0e2()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x56a9bd=this['_pagesContainer']['element'];if(!_0x56a9bd['ownerDocument']['body']['contains'](_0x56a9bd))return;const _0x3f23e3=new _0x13a4be(_0x56a9bd)['excludeScrollbarsAndBorders'](),_0x56cc9e=Math['floor'](_0x3f23e3['width']+0x64),_0x1e0fcc=_(_0x56a9bd,Math['floor'](_0x3f23e3['left']-_0x56a9bd['scrollLeft']),_0x56cc9e,_0x3f23e3['height'])['map'](_0x31bfee=>this['_mapPageStarterInfoToPageBreakInfo'](_0x31bfee))['filter'](_0x14ac26=>!0x1!==_0x14ac26);_0x1e0fcc['every'](_0x5a115f=>!!_0x5a115f)&&(this['pageBreaks']=_0x1e0fcc);}['_mapPageStarterInfoToPageBreakInfo'](_0x269b1b){const _0x26a9c8=this['editor']['editing']['view'],_0x49791f=this['editor']['editing']['mapper'],_0x3beb9f=_0x26a9c8['domConverter'],_0x4f2079=_0x269b1b['path']['shift'](),_0x219fcc=this['_pagesContainer']['element']['childNodes'][_0x4f2079]['dataset']['rootName'],_0x42adb8=_0x26a9c8['getDomRoot'](_0x219fcc);if(!_0x42adb8)return null;const _0x3fd8c5=function(_0x2edd8c,_0x16e00e){let _0x7aa687=_0x2edd8c;for(const _0x323917 of _0x16e00e['path']){if(!_0x7aa687)return null;_0x7aa687=_0x7aa687['childNodes'][_0x323917];}return _0x7aa687;}(_0x42adb8,_0x269b1b);if(!_0x3fd8c5)return null;const _0x108560=_0x3beb9f['domPositionToView'](_0x3fd8c5,_0x269b1b['textOffset']||0x0);return _0x108560?'manual'==_0x269b1b['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x108560,_0x3fd8c5):'text'==_0x269b1b['type']&&_0x49791f['toModelPosition'](_0x108560)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x108560,_0x3fd8c5,_0x269b1b['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x108560,_0x3fd8c5,_0x269b1b['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x42dc74,_0x11f9bf){const _0x5765bf=this['editor']['model'],_0xa0fab6=this['editor']['editing']['mapper']['toModelElement'](_0x42dc74['parent']);return new P({'type':'manual','modelRange':_0x5765bf['createRangeOn'](_0xa0fab6),'domNode':_0x11f9bf,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x488ab1,_0x43187b,_0x579c9a){const _0x4bb5b5=this['editor']['model'],_0x2f0aac=this['editor']['editing']['mapper'],_0x154c5e=this['editor']['editing']['view']['domConverter'];if(_0x579c9a>=_0x43187b['length'])return null;const _0x47bdf0=_0x2f0aac['toModelPosition'](_0x488ab1),_0x346062=_0x4bb5b5['createRange'](_0x47bdf0),_0x580b8c=_0x2f0aac['findMappedViewAncestor'](_0x488ab1);return new P({'type':'text','modelRange':_0x346062,'domNode':_0x43187b,'offset':y(_0x43187b,_0x579c9a,_0x154c5e['mapViewToDom'](_0x580b8c))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x59e208,_0x1e29fe,_0x54121c){const _0x58d2a0=this['editor']['model'],_0x27ee1c=this['editor']['editing'],_0x4e3a45=_0x27ee1c['mapper'],_0x3b57e5=_0x27ee1c['view']['domConverter'],_0x32a937=_0x4e3a45['findMappedViewAncestor'](_0x59e208),_0x102fb1=_0x4e3a45['toModelElement'](_0x32a937);if(!_0x102fb1||_0x102fb1['is']('rootElement'))return!0x1;const _0x275091=function(_0x3c0f47){const _0x49b4ef=_0x3c0f47['parent'],_0x2b3759=_0x49b4ef['root']['document']['model'],_0x1eb51f=_0x49b4ef['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x5aad47=null;for(const _0x1b2ea5 of _0x1eb51f){if(_0x1b2ea5['is']('rootElement'))return _0x5aad47;if(!_0x2b3759['createPositionBefore'](_0x1b2ea5)['isTouching'](_0x3c0f47))return _0x5aad47;_0x5aad47=_0x1b2ea5;}}(_0x58d2a0['createPositionBefore'](_0x102fb1))||_0x102fb1;let _0x286444=_0x4e3a45['toViewElement'](_0x275091),_0x5b70cb=_0x58d2a0['createRangeOn'](_0x275091);const _0x20fe0d=_0x58d2a0['createPositionBefore'](_0x275091)['nodeBefore'];if(_0x20fe0d&&_0x20fe0d['is']('element','imageBlock')){const _0xd5a652=_0x4e3a45['toViewElement'](_0x20fe0d),_0x2217fd=_0x3b57e5['mapViewToDom'](_0xd5a652),_0x50d8bd=_0x1247a3['window']['getComputedStyle'](_0x2217fd)['float'];'left'!=_0x50d8bd&&'right'!=_0x50d8bd||(_0x5b70cb=_0x58d2a0['createRangeOn'](_0x20fe0d));}for(;_0x286444['parent']!==_0x286444['root']&&0x0===_0x286444['index'];)_0x286444=_0x286444['parent'];const _0x562769=new _0x13a4be(K(_0x1e29fe)?_0x1e29fe:L(_0x1e29fe)),_0x185b47=_0x54121c?_0x562769['height']-_0x54121c:0x0,_0x24f62a=_0x3b57e5['mapViewToDom'](_0x286444),_0x4badca=new _0x13a4be(_0x24f62a);return new P({'type':'element','modelRange':_0x5b70cb,'domNode':_0x24f62a,'offset':Math['round'](_0x185b47)||_0x32a937!=b(_0x59e208)?_0x185b47+_0x562769['top']-_0x4badca['top']:0x0});}get['_configuredPaddings'](){const _0x1e7a8c=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1e7a8c);}static['_findPageStarterInfos'](_0x401f5d,_0x29716f,_0x4bfe1d,_0x4d19f8,_0x3ff1a3){return _(_0x401f5d,_0x29716f,_0x4bfe1d,_0x4d19f8,_0x3ff1a3);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x2e8d90,modelRange:_0x3c2bc0,domNode:_0x3f349c,offset:_0x237ed8}){this['type']=_0x2e8d90,this['modelRange']=_0x3c2bc0,this['_domNode']=_0x3f349c,this['_offset']=_0x237ed8;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x175746=new _0x13a4be(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x175746['top']+_0x175746['height']/0x2:_0x175746['top']+this['_offset'];}};function y(_0x4996cf,_0x43ed1d,_0x32b4af){const _0xcc6b90=L(_0x4996cf),_0x56f7c9=function(_0x2954a4){const _0x33c45b=_0x1247a3['document']['createRange']();return _0x33c45b['selectNodeContents'](_0x2954a4),_0x33c45b;}(_0x32b4af);let _0x260da8;_0x260da8=0x0==_0x43ed1d?N(_0x56f7c9['startContainer'],_0x56f7c9['startOffset'],_0x4996cf['parentNode'],Array['from'](_0x4996cf['parentNode']['childNodes'])['indexOf'](_0x4996cf)):N(_0x56f7c9['startContainer'],_0x56f7c9['startOffset'],_0x4996cf,_0x43ed1d);const _0x1eafdb=N(_0x4996cf,_0x43ed1d,_0x56f7c9['endContainer'],_0x56f7c9['endOffset']),_0x12438e=new _0x13a4be(_0x260da8)['bottom'];return(new _0x13a4be(_0x1eafdb)['top']+_0x12438e)/0x2-new _0x13a4be(_0xcc6b90)['top'];}function b(_0x596672){let _0x281c70=_0x596672['parent'];for(;_0x281c70['is']('$text')||_0x281c70['is']('attributeElement');)_0x281c70=_0x281c70['parent'];return _0x281c70;}function k(_0x131590){return _0x131590['hasAttribute']('width')&&_0x131590['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4ccfad=>{function _0x14dadf(){_0x131590['removeEventListener']('load',_0x14dadf),_0x131590['removeEventListener']('error',_0x14dadf),_0x4ccfad();}_0x131590['complete']?_0x4ccfad():(_0x131590['addEventListener']('load',_0x14dadf),_0x131590['addEventListener']('error',_0x14dadf));});}function v(_0x391e25){return new Promise(_0x563622=>setTimeout(_0x563622,_0x391e25));}function L(_0x4b09de){const _0x4813d5=_0x1247a3['document']['createRange']();return _0x4813d5['selectNode'](_0x4b09de),_0x4813d5;}function x(_0x47c80e,_0x3a1aa7,_0x2a4c6a){const _0xeb4a8b=_0x1247a3['document']['createRange']();return _0xeb4a8b['setStart'](_0x47c80e,_0x3a1aa7),_0xeb4a8b['setEnd'](_0x47c80e,_0x2a4c6a),_0xeb4a8b;}function N(_0x52b3cd,_0x55949c,_0x5bf6dd,_0x965f00){const _0x5ca57b=_0x1247a3['document']['createRange']();return _0x5ca57b['setStart'](_0x52b3cd,_0x55949c),_0x5ca57b['setEnd'](_0x5bf6dd,_0x965f00),_0x5ca57b;}function _(_0x4dc984,_0x22f0aa,_0x573a6b,_0x54713f,_0x5c909e){const _0x416fd4=[];for(const [_0x4dc17c,_0x716b1c]of _0x4dc984['childNodes']['entries']()){let _0x39d158=[];K(_0x716b1c)&&_0x716b1c['offsetParent']&&['static','relative']['includes'](_0x1247a3['window']['getComputedStyle'](_0x716b1c)['position'])?_0x39d158=E(_0x716b1c,_0x4dc17c,_0x22f0aa,_0x573a6b,_0x54713f,_0x5c909e):O(_0x716b1c)&&(_0x39d158=S(_0x716b1c,_0x4dc17c,_0x22f0aa,_0x573a6b,_0x5c909e)),_0x39d158['length']&&(_0x416fd4['push'](..._0x39d158),_0x22f0aa+=_0x39d158['length']*_0x573a6b,_0x5c909e=!0x1);}return _0x416fd4;}function E(_0x4b689a,_0x460d7c,_0x4f955d,_0x3b548c,_0x2d02a6,_0x194041){const _0x2fd508=[];var _0x35cd4c;if((_0x35cd4c=_0x4b689a['previousSibling'])&&K(_0x35cd4c)&&Boolean(_0x35cd4c['classList']['contains']('page-break')||_0x35cd4c['closest']('.page-break'))&&(_0x2fd508['push']({'type':'manual','offset':0x0,'path':[_0x460d7c-0x1]}),_0x194041=!0x0),'table-row'==_0x1247a3['window']['getComputedStyle'](_0x4b689a)['display']){let _0x563a10=0x0,_0x28805d=!0x1;for(const _0x2630e4 of _0x4b689a['getClientRects']())_0x563a10+=_0x2630e4['height'],_0x2630e4['left']>=_0x4f955d&&(_0x28805d=!0x0);if(_0x563a10<_0x2d02a6&&_0x28805d)return _0x194041||_0x2fd508['push']({'type':'element','offset':0x0,'path':[_0x460d7c]}),_0x2fd508;}const _0x2aedee=_0x4b689a['closest']('figure.image');if(_0x2aedee&&function(_0x51544e){let _0x3a3fbc=!0x1;const _0x1e84d5=_0x51544e['parentElement']['dataset']['rootName'],_0x5d4743=_0x51544e['nextElementSibling'],_0x3b0eff=_0x51544e['previousElementSibling'],_0x2d8fa4=_0x5d4743&&_0x1247a3['window']['getComputedStyle'](_0x5d4743)['float'],_0x218eb5=_0x5d4743&&'ck-fake-selection-container'===_0x5d4743['className'];return!_0x1e84d5||_0x5d4743||_0x3b0eff||(_0x3a3fbc=!0x0),_0x1e84d5&&!_0x3b0eff&&_0x218eb5&&(_0x3a3fbc=!0x0),_0x1e84d5&&!_0x3b0eff&&'none'!==_0x2d8fa4&&(_0x3a3fbc=!0x0),!_0x3a3fbc;}(_0x2aedee)){const _0x5a767b=_0x1247a3['window']['getComputedStyle'](_0x2aedee)['float'];if('left'==_0x5a767b||'right'==_0x5a767b)return _0x2fd508;}const _0x592121=_(_0x4b689a,_0x4f955d,_0x3b548c,_0x2d02a6,_0x194041);if(_0x592121['length']){for(const _0x3550d3 of _0x592121)_0x2fd508['push']({'type':_0x3550d3['type'],'offset':_0x3550d3['offset'],'textOffset':_0x3550d3['textOffset'],'path':[_0x460d7c,..._0x3550d3['path']]}),_0x4f955d+=_0x3b548c,_0x194041=!0x1;return _0x2fd508;}return _0x2fd508['push'](...function(_0x5408bd,_0x58f1c2,_0x2ccea1,_0xcd43,_0x276b9f){const _0x195901=[];if('table-cell'==_0x1247a3['window']['getComputedStyle'](_0x5408bd)['display'])return[];const _0x4b93aa=[];for(const _0x414c11 of _0x5408bd['getClientRects']())if(_0x414c11['left']>=_0x2ccea1){for(const _0x3bad22 of _0x4b93aa)_0x3bad22['height']+=_0x414c11['height'];_0x4b93aa['push']({'height':_0x414c11['height']}),_0x2ccea1+=_0xcd43;}for(const _0x5069fa of _0x4b93aa)_0x276b9f||_0x195901['push']({'type':'element','offset':_0x5069fa['height'],'textOffset':0x0,'path':[_0x58f1c2]}),_0x276b9f=!0x1;return _0x195901;}(_0x4b689a,_0x460d7c,_0x4f955d,_0x3b548c,_0x194041)),_0x2fd508;}function S(_0x2a34f7,_0x20ac69,_0x1f78f7,_0x2c6877,_0x2ed1a2){const _0x2c5fbb=L(_0x2a34f7),_0x16cb8e=[];let _0x29adad=0x0;for(const _0x4fde9e of _0x2c5fbb['getClientRects']())if(_0x4fde9e['left']>=_0x1f78f7){const _0x1cd863=R(_0x2a34f7,_0x29adad,_0x1f78f7,_0x2c6877);_0x2ed1a2||_0x16cb8e['push']({'type':'text','path':[_0x20ac69],'textOffset':_0x1cd863}),_0x29adad=_0x1cd863,_0x1f78f7+=_0x2c6877,_0x2ed1a2=!0x1;}return _0x16cb8e;}function R(_0x1b984f,_0x3215ed,_0x947fd3,_0x266e1a){let _0x5286ac=_0x3215ed,_0x4d5c17=_0x1b984f['length'];for(;_0x4d5c17-_0x5286ac>0x1;){const _0x13e776=Math['ceil']((_0x5286ac+_0x4d5c17)/0x2);I(x(_0x1b984f,_0x5286ac,_0x13e776),_0x947fd3,_0x266e1a)?_0x4d5c17=_0x13e776:_0x5286ac=_0x13e776;}return _0x5286ac;}function I(_0x245f91,_0x22d57,_0x5cdf38){for(const _0x247dad of _0x245f91['getClientRects']())if(_0x247dad['left']>=_0x22d57&&_0x247dad['left']<_0x22d57+_0x5cdf38)return!0x0;return!0x1;}function K(_0x39d03d){return _0x39d03d['nodeType']==Node['ELEMENT_NODE'];}function O(_0x3f24ea){return _0x3f24ea['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x6d4b7b('px');var U=class extends _0x784d16{constructor(){super();const _0x5ba394=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x5ba394['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x5ba394['if']('isVisible','ck-hidden',_0x3407a9=>!_0x3407a9)],'style':{'left':_0x5ba394['to']('left',_0x186a63=>A(_0x186a63)),'top':_0x5ba394['to']('top',_0x10a2c1=>A(_0x10a2c1)),'width':_0x5ba394['to']('width',_0x21a4cc=>A(_0x21a4cc))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2100b4){this['_viewCollection']=_0x2100b4['ui']['view']['body'];}['destroy'](){for(const _0x48530e of this['_hiddenLines'])_0x48530e['destroy']();}['cleanLines'](){for(const _0x306099 of this['_visibleLines'])_0x306099['isVisible']=!0x1,this['_hiddenLines']['add'](_0x306099);this['_visibleLines']['clear']();}['showLine'](_0x3baff6,_0x519c47,_0x2375cc,_0x17f7c9){let _0x52e11f;this['_hiddenLines']['size']?(_0x52e11f=_0x3fb61e(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x52e11f)):_0x52e11f=new U(),_0x52e11f['set']({'pageNumber':_0x17f7c9,'left':_0x3baff6,'top':_0x519c47,'width':_0x2375cc}),_0x52e11f['isVisible']=!0x0,this['_viewCollection']['has'](_0x52e11f)||this['_viewCollection']['add'](_0x52e11f),this['_visibleLines']['add'](_0x52e11f);}['setViewCollection'](_0x13ffdc){for(const _0x3a463d of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3a463d)&&this['_viewCollection']['remove'](_0x3a463d);this['_viewCollection']=_0x13ffdc;}};const D='ck-pagination_enabled';var B=class extends _0x194ea8{['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 C(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',(_0xe12a2a,_0x484165,_0x2ae51b)=>{_0x2ae51b||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x2ae51b);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3953d3){if(!this['isEnabled'])return;const _0x3fe741=_0x3953d3>0x1?this['_getPageBreakLineOffset'](_0x3953d3-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3fe741-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3dd8e3['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x17c0e2=this['editor'],_0x7060a6=this['_getAttachedDomRoot']();_0x7060a6?(this['_scrollableEditingRootDomAncestor']&&_0x17c0e2['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x46e00c){let _0x459311=_0x46e00c;do{_0x459311=_0x459311['parentElement'];const _0x6b985d=_0x1247a3['window']['getComputedStyle'](_0x459311)['overflowY'];if('auto'==_0x6b985d||'scroll'==_0x6b985d)break;}while('BODY'!=_0x459311['tagName']);return _0x459311;}(_0x7060a6),_0x17c0e2['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x21e201(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x17c0e2['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3e1f3d=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3e1f3d['ui']['view']['listenTo'](_0x1247a3['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3e1f3d['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x75a29 of this['editor']['editing']['view']['domRoots']['values']())if(_0x75a29['ownerDocument']['body']['contains'](_0x75a29))return _0x75a29;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x3aa1ce=this['_getAttachedDomRoot'](),_0x394a1c=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3aa1ce||0x1==_0x394a1c['length'])return void(this['pageNumber']=0x1);const _0x5af44a=new _0x13a4be(_0x3aa1ce)['excludeScrollbarsAndBorders'](),_0x3875f5=new _0x13a4be(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x428497=_0x3875f5['top']+_0x3875f5['height']/0x3;let _0x20ccba=!0x1;const _0x58afd3=[];for(let _0x6e4149=0x1;_0x6e4149<_0x394a1c['length'];_0x6e4149++){const _0x1995ee=this['_getPageBreakLineOffset'](_0x6e4149,_0x3875f5);if(!_0x1995ee)continue;const _0x1559f2=_0x3875f5['top']+_0x1995ee-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x58afd3['push']({'pageOffsetTop':_0x1559f2,'domRootRect':_0x5af44a,'domScrollableRect':_0x3875f5,'pageNumber':_0x6e4149}),_0x1559f2>_0x428497&&!_0x20ccba&&(this['pageNumber']=_0x6e4149,_0x20ccba=!0x0);}this['_renderPageBreakLines'](_0x58afd3),_0x20ccba||(this['pageNumber']=_0x394a1c['length']);}['_renderPageBreakLines'](_0x517e37){const {scrollX:_0x2c4758,scrollY:_0x2c2558}=_0x1247a3['window'];if(_0x517e37['length']){for(const {domScrollableRect:_0x3753f0,pageOffsetTop:_0x128005,domRootRect:_0x228de0,pageNumber:_0x3c7d8b}of _0x517e37)_0x3753f0['top']<_0x128005&&_0x128005<_0x3753f0['bottom']&&this['linesRepository']['showLine'](_0x228de0['left']+_0x2c4758,_0x128005+_0x2c2558,_0x228de0['width'],_0x3c7d8b+0x1);}}['_getPageBreakLineOffset'](_0x51b3d9,_0x4f7400=null){const _0x59fb05=this['_paginationLookupPlugin']['pageBreaks'][_0x51b3d9]['offset'];return _0x59fb05?(_0x4f7400||(_0x4f7400=new _0x13a4be(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x59fb05-_0x4f7400['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0xf5043f,_0x1e4b09=!0x0){const _0x1b7783=this['editor']['editing']['view'];_0x1b7783['change'](_0x310356=>{for(const _0x48ba6b of _0x1b7783['document']['roots'])_0x1e4b09?_0x310356['addClass'](_0xf5043f,_0x48ba6b):_0x310356['removeClass'](_0xf5043f,_0x48ba6b);});}};function T(_0x371728,_0xb9d508,..._0x4d7385){const t=_0x371728['t'];switch(_0xb9d508){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)',..._0x4d7385);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 _0xb9d508;}}var G=class extends _0x194ea8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[w,B];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0xeb4fc0=this['editor']['plugins']['get']('Pagination'),_0x3cacfc=this['editor']['plugins']['get'](w),_0x316289=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0xeb4fc0),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x316289),this['listenTo'](_0x3cacfc,'change:pageBreaks',(_0x1bcbd7,_0x21fa19,_0x26d0e1,_0xe47b9e)=>{this['totalPages']=_0x26d0e1['length'],this['_updatePageBreakMarkers'](_0x26d0e1,_0xe47b9e);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x468c52=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c7bb0;for(const _0x1c19d4 in _0x468c52){const _0x9bc400=_0x1c19d4,_0x569c3e=_0x468c52[_0x9bc400];if('paginationLicenseKeyValid'==_0x569c3e||'paginationLicenseKeyInvalid'==_0x569c3e||'paginationLicenseKeyExpired'==_0x569c3e||'paginationLicenseKeyDomainLimit'==_0x569c3e||'paginationLicenseKeyNotAllowed'==_0x569c3e||'paginationLicenseKeyEvaluationLimit'==_0x569c3e||'paginationLicenseKeyUsageLimit'==_0x569c3e){delete _0x468c52[_0x9bc400],_0x1c7bb0=_0x569c3e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1c7bb0&&_0x468c52['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1c7bb0&&_0x468c52['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1c7bb0&&_0x468c52['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1c7bb0&&_0x468c52['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1c7bb0&&_0x468c52['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x1c7bb0&&_0x468c52['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x353d72){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x353d72));}['moveSelectionToPage'](_0x2e422f){if(!this['isEnabled'])return;const _0xebc59b=this['editor'],_0x18e3f5=this['editor']['plugins']['get'](w)['pageBreaks'][_0x2e422f-0x1];_0x18e3f5&&_0xebc59b['model']['change'](_0x5a8421=>{switch(_0x18e3f5['type']){case'manual':{const _0x17d971=_0xebc59b['model']['schema']['getNearestSelectionRange'](_0x18e3f5['modelRange']['end'],'forward');_0x5a8421['setSelection'](_0x17d971);break;}case'element':{const _0x1f8c26=_0xebc59b['model']['schema']['getNearestSelectionRange'](_0x18e3f5['modelRange']['start'],'forward');_0x5a8421['setSelection'](_0x1f8c26);break;}case'text':{const _0x582fe2=_0x18e3f5['modelRange']['start'];if(_0x582fe2['textNode']&&'\x20'===_0x582fe2['textNode']['data'][_0x582fe2['offset']]){const _0x37c93a=_0x5a8421['createPositionAt'](_0x582fe2['parent'],_0x582fe2['offset']+0x1);_0x5a8421['setSelection'](_0x37c93a);}else _0x5a8421['setSelection'](_0x18e3f5['modelRange']);}}_0xebc59b['editing']['view']['focus']();});}['goToNextPage'](){const _0x2c21ca=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2c21ca),this['scrollToPage'](_0x2c21ca);}['goToPreviousPage'](){const _0x258a14=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x258a14),this['scrollToPage'](_0x258a14);}['_updatePageBreakMarkers'](_0x2d23d5,_0x35fa1c){const _0x4f93d1=this['editor']['model'];this['isEnabled']&&_0x4f93d1['change'](_0xaa2c50=>{for(let _0x4777d3=0x1;_0x4777d3<_0x2d23d5['length'];_0x4777d3++){const _0x1f496b=_0x2d23d5[_0x4777d3]['modelRange'],_0x4e0511='pagination:'+(_0x4777d3+0x1);_0x4f93d1['markers']['has'](_0x4e0511)?_0xaa2c50['updateMarker'](_0x4e0511,{'range':_0x1f496b}):_0xaa2c50['addMarker'](_0x4e0511,{'range':_0x1f496b,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4c5504=_0x2d23d5['length'];_0x4c5504<_0x35fa1c['length'];_0x4c5504++){const _0x25883f='pagination:'+(_0x4c5504+0x1);_0x4f93d1['markers']['has'](_0x25883f)&&_0xaa2c50['removeMarker'](_0x25883f);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x406e3e=>{_0x406e3e['on']('addMarker:pagination',(_0x3b2c2f,{markerRange:_0x5f25ec,markerName:_0x145764},_0x214b12)=>{if(!_0x214b12['options']['pagination'])return;if(!_0x214b12['consumable']['consume'](_0x5f25ec,_0x3b2c2f['name']))return;const _0x5d01c9=_0x5f25ec['getContainedElement']();let _0x16c7ea=_0x5d01c9?_0x214b12['mapper']['toViewElement'](_0x5d01c9):null;if(!_0x16c7ea){const _0x27c51e=_0x5f25ec['start'];if(_0x214b12['schema']['checkChild'](_0x27c51e,'$text')){const _0x7e299f=_0x214b12['mapper']['toViewPosition'](_0x27c51e);_0x16c7ea=_0x214b12['writer']['createContainerElement']('span'),_0x16c7ea['getFillerOffset']=()=>null,_0x214b12['writer']['insert'](_0x7e299f,_0x16c7ea);}else{const _0x5242ce=_0x27c51e['nodeAfter'];_0x16c7ea=_0x214b12['mapper']['toViewElement'](_0x5242ce);}}for(;_0x16c7ea['parent']!==_0x16c7ea['root']&&0x0===_0x16c7ea['index'];)_0x16c7ea=_0x16c7ea['parent'];const _0xb0d403=_0x145764['substring'](0xb);_0x16c7ea['hasClass']('page-break')||(_0x214b12['writer']['setStyle']('page-break-before','always',_0x16c7ea),_0x214b12['writer']['setAttribute']('data-pagination-page',_0xb0d403,_0x16c7ea),_0x214b12['mapper']['bindElementToMarker'](_0x16c7ea,_0x145764)),_0x3b2c2f['stop']();});});}['_setupKeystrokes'](){const _0x329849=this['editor'];_0x329849['keystrokes']['set']('Shift+Pageup',(_0x3b7797,_0x29853b)=>{this['goToPreviousPage'](),_0x29853b();}),_0x329849['keystrokes']['set']('Shift+Pagedown',(_0x361c13,_0x282d51)=>{this['goToNextPage'](),_0x282d51();}),_0x329849['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x329849['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x329849['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x329849['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x47462a){return _0x47462a<0x1&&(_0x47462a=0x1),_0x47462a>this['totalPages']&&(_0x47462a=this['totalPages']),_0x47462a;}},V=class extends _0x784d16{['pageNumberView'];constructor(_0x9d6b1f){super(_0x9d6b1f);const _0x355a8e=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x374a2f(_0x9d6b1f,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x48b6c3=>T(_0x9d6b1f,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x48b6c3)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5bc150=>!_0x5bc150),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x355a8e['if']('isEnabled','ck-disabled',_0x40207e=>!_0x40207e)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x355a8e['to']('totalPages')}]}]});}['render'](){super['render']();const _0x278a7b=this['pageNumberView']['element'],_0x5a9e2a=_0x1d4ee1=>{this['pageNumberView']['element']['value']=String(_0x1d4ee1);};_0x5a9e2a(this['pageNumber']),this['on']('change:pageNumber',(_0x2de8b1,_0x44666c,_0xfebdd2)=>{_0x5a9e2a(_0xfebdd2);}),this['listenTo'](_0x278a7b,'keydown',(_0x231f6b,_0x2db33d)=>{if('ArrowUp'===_0x2db33d['key']||'ArrowDown'===_0x2db33d['key'])return void _0x2db33d['stopPropagation']();if(_0x2db33d['keyCode']!==_0x1d3b2c['enter'])return;_0x2db33d['preventDefault']();const _0x46d17b=_0x278a7b['valueAsNumber'];Number['isNaN'](_0x46d17b)?_0x278a7b['value']=String(this['pageNumber']):(_0x278a7b['checkValidity']()?this['pageNumber']=_0x46d17b:_0x46d17b>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x278a7b['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x278a7b['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x278a7b,'blur',()=>{_0x278a7b['value']=String(this['pageNumber']);}),this['listenTo'](_0x278a7b,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x194ea8{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4494a2=this['editor'],_0x2827fe=_0x4494a2['plugins']['get']('PaginationEditing');_0x4494a2['ui']['componentFactory']['add']('pageNavigation',_0x5cf2e8=>{const _0x1157e6=new V(_0x5cf2e8);return _0x1157e6['bind']('pageNumber')['to'](_0x2827fe),_0x1157e6['bind']('totalPages')['to'](_0x2827fe),_0x1157e6['bind']('isEnabled')['to'](_0x2827fe),_0x1157e6['on']('navigation',(_0x4afde4,_0x135bd3)=>{_0x2827fe['moveSelectionToPage'](_0x135bd3),_0x2827fe['scrollToPage'](_0x135bd3);}),_0x1157e6;}),_0x4494a2['ui']['componentFactory']['add']('nextPage',_0xa9d587=>{const _0x1f3013=new _0x2e492d(_0xa9d587);return _0x1f3013['isEnabled']=!0x0,_0x1f3013['label']=T(_0x4494a2['locale'],'Go\x20to\x20next\x20page'),_0x1f3013['icon']=_0x55f90c,_0x1f3013['tooltip']=!0x0,_0x1f3013['keystroke']='Shift+PageDown',_0x1f3013['bind']('isEnabled')['to'](_0x2827fe),this['listenTo'](_0x1f3013,'execute',()=>{_0x2827fe['goToNextPage']();}),_0x1f3013;}),_0x4494a2['ui']['componentFactory']['add']('previousPage',_0x28c9a5=>{const _0x3aa0e7=new _0x2e492d(_0x28c9a5);return _0x3aa0e7['isEnabled']=!0x0,_0x3aa0e7['label']=T(_0x4494a2['locale'],'Go\x20to\x20previous\x20page'),_0x3aa0e7['icon']=_0x44b531,_0x3aa0e7['tooltip']=!0x0,_0x3aa0e7['keystroke']='Shift+PageUp',_0x3aa0e7['bind']('isEnabled')['to'](_0x2827fe),this['listenTo'](_0x3aa0e7,'execute',()=>{_0x2827fe['goToPreviousPage']();}),_0x3aa0e7;});}},$=class extends _0x194ea8{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x5ce38a){super(_0x5ce38a),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x52e8d8=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x52e8d8),this['bind']('totalPages')['to'](_0x52e8d8),_0x3dd8e3['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3d541b){this['editor']['plugins']['get'](G)['scrollToPage'](_0x3d541b);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x5a3c63}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x2180a6,InputNumberView as _0x337753,View as _0x28b334}from'@ckeditor/ckeditor5-ui';import{Rect as _0x2df58b,ResizeObserver as _0xac6890,env as _0x2c65d5,first as _0x3c44ca,global as _0x507f06,keyCodes as _0x2b37f5,logWarning as _0x361bc4,toUnit as _0x54bc05,uid as _0x6acf92}from'@ckeditor/ckeditor5-utils';import{debounce as _0x4248e1}from'es-toolkit/compat';import{IconArrowDown as _0x1cdb9f,IconArrowUp as _0x3cd793}from'@ckeditor/ckeditor5-icons';var w=class extends _0x5a3c63{['_recalculatePageBreaksDebounced']=_0x4248e1(()=>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 _0x361bc4('pagination-config-not-found',this['editor']['config']);const _0x4a62f3=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x4a62f3),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x172dcb,_0x2d861a,_0x651413)=>{_0x651413&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x44aae8){const _0x7c7fc2='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x5d2802=0x78fa8,_0x2e2b3d=window['Date']['now'](),_0x12bd4e=_0x44aae8['editor'],_0x1c33e3=new window['Promise'](_0x5be359=>{_0x12bd4e['once']('ready',_0x5be359);}),_0x23ed31={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x5baef3=_0x12bd4e['config']['get']('licenseKey');async function _0x3fa3c3(){let _0x52f79,_0xf45b67=null,_0x58e90b=null;try{return'GPL'==_0x5baef3?'NotAllowed':(_0x52f79=_0x388c9e(),_0x52f79?(_0x52f79['usageEndpoint']&&(_0x58e90b=_0x1f79fc(_0x52f79['usageEndpoint'],_0x52f79['jti'])),await _0x4b449f()?_0x1f79ae()?_0x4ccdf3()?'Expired':_0x152ca8()?('evaluation'==_0x52f79['licenseType']&&(_0xf45b67=_0x701326('EvaluationLimit')),await _0x597e09()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4ccdf3(){const _0x45cfdb=['evaluation','trial']['includes'](_0x52f79['licenseType'])?_0x2e2b3d/0x3e8:0xe10*_0x5d2802;return _0x52f79['exp']<_0x45cfdb;}function _0x1f79ae(){const _0x34ec6e=_0x52f79['features'];return!!_0x34ec6e&&(!!_0x34ec6e['includes']('*')||!!_0x34ec6e['includes']('PAG'));}function _0x152ca8(){const _0x499cc8=_0x52f79['licensedHosts'];if(!_0x499cc8||0x0==_0x499cc8['length'])return!0x0;const {hostname:_0x605d0a}=new URL(window['location']['href']);if(_0x499cc8['includes'](_0x605d0a))return!0x0;const _0x46af87=_0x605d0a['split']('.');return _0x499cc8['filter'](_0x74fc52=>_0x74fc52['includes']('*'))['map'](_0x5d19ad=>_0x5d19ad['split']('.'))['filter'](_0x245a07=>_0x245a07['length']<=_0x46af87['length'])['map'](_0x566fd1=>Array(_0x46af87['length']-_0x566fd1['length'])['fill']('*'===_0x566fd1[0x0]?'*':'')['concat'](_0x566fd1))['some'](_0x101830=>_0x46af87['every']((_0x19896,_0x555163)=>_0x101830[_0x555163]===_0x19896||'*'===_0x101830[_0x555163]));}function _0x597e09(){return _0xf45b67&&_0x58e90b?new window['Promise']((_0x40fa65,_0x4bfa88)=>{_0xf45b67['then'](_0x40fa65,_0x4bfa88),_0x58e90b['then'](_0x1d2971=>{'Valid'!=_0x1d2971&&_0x40fa65(_0x1d2971);},_0x4bfa88);}):_0xf45b67||_0x58e90b||'Valid';}}function _0x1f79fc(_0x115c45,_0x2f874d){return new window['Promise'](_0x5b0520=>{if(_0x6d7ab2())return _0x5b0520('Valid');_0x4fb2a8(),_0x12bd4e['decorate']('_sendUsageRequest');let _0x4f9aba=!0x1;const _0x5aeede=_0x6acf92();function _0x4613fd(_0x46dbda){return!!_0x46dbda&&('object'==typeof _0x46dbda||'function'==typeof _0x46dbda)&&'function'==typeof _0x46dbda['then']&&'function'==typeof _0x46dbda['catch'];}function _0x56f96a(_0x3e8ea8){_0x747b1b(_0x3e8ea8)['then'](_0x5c4d0b=>_0x5c4d0b&&'ok'==_0x5c4d0b['status']?_0x48bc4c(_0x7a6f09(_0x5aeede+_0x2f874d))!=_0x5c4d0b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x74f119=>(_0x5dc31e(),_0x74f119),()=>{const _0x4b8a42=_0x458de0();return null==_0x4b8a42?(_0x5dc31e(),'Valid'):_0x2e2b3d-_0x4b8a42>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5b0520)['catch'](()=>{_0x5b0520('UsageLimit');});const _0x35c384=0x36ee80;function _0x5dc31e(){const _0x49edac='llct-'+_0x48bc4c(_0x7a6f09(_0x115c45)),_0x49aa99=_0x35468f(_0x48bc4c(window['Math']['ceil'](_0x2e2b3d/_0x35c384)));window['localStorage']['setItem'](_0x49edac,_0x49aa99);}function _0x458de0(){const _0x1293dc='llct-'+_0x48bc4c(_0x7a6f09(_0x115c45)),_0x42be34=window['localStorage']['getItem'](_0x1293dc);return _0x42be34?window['parseInt'](_0x35468f(_0x42be34),0x10)*_0x35c384:null;}function _0x747b1b(_0x36d614){return new window['Promise']((_0x2d78a2,_0x3e040c)=>{_0x36d614['then'](_0x2d78a2,_0x3e040c),window['setTimeout'](_0x3e040c,0x1d4c0);});}}_0x12bd4e['on']('_sendUsageRequest',(_0x196620,_0x1edc59)=>{if(_0x1edc59[0x0]!=_0x115c45)return _0x5b0520('UsageLimit');_0x1edc59[0x1]={..._0x1edc59[0x1],'requestId':_0x5aeede};},{'priority':'high'}),_0x12bd4e['on']('_sendUsageRequest',_0x481203=>{_0x4613fd(_0x481203['return'])&&(_0x4f9aba=!0x0,_0x56f96a(_0x481203['return']));},{'priority':'low'}),_0x1c33e3['then'](()=>{_0x4f9aba||_0x5b0520('UsageLimit');});});function _0x6d7ab2(){return'auto'==_0x12bd4e['editing']['view']['_overlayModeHint'];}function _0x4fb2a8(){_0x12bd4e['editing']['view']['_overlayModeHint']='auto';}}function _0x701326(_0x3010e5){const _0xbd4ad8=[new window['Promise'](_0x360bc6=>setTimeout(_0x360bc6,0x93ecc)),_0x1c33e3['then'](()=>new window['Promise'](_0x46031b=>{let _0x72c7f4=0x0;_0x12bd4e['model']['on']('applyOperation',(_0xaa5174,_0x96893d)=>{_0x96893d[0x0]['isDocumentOperation']&&_0x72c7f4++,0x5e8==_0x72c7f4&&(_0x46031b(),_0xaa5174['off']());});}))];return window['Promise']['race'](_0xbd4ad8)['then'](()=>_0x3010e5);}async function _0x2f919c(){await _0x1c33e3,_0x12bd4e['model']['change']=_0x21d3bc,_0x12bd4e['model']['enqueueChange']=_0x21d3bc,_0x12bd4e['enableReadOnlyMode']('model');}function _0x4ffcc1(_0x5c4c0d){const _0x18cbb6=_0x290755();_0x12bd4e[_0x18cbb6]='paginationLicenseKey'+_0x5c4c0d,'Valid'!=_0x5c4c0d&&_0x2f919c();}function _0x290755(){const _0x3ec611=window['String'](window['performance']['now']())['replace']('.','');let _0x453f0c='I';for(let _0x1e1232=0x0;_0x1e1232<_0x3ec611['length'];_0x1e1232+=0x2){let _0x51da99=window['parseInt'](_0x3ec611['substring'](_0x1e1232,_0x1e1232+0x2));_0x51da99>=0x3e&&(_0x51da99-=0x3e),_0x453f0c+=_0x7c7fc2[_0x51da99];}return _0x453f0c;}function _0x388c9e(){const _0x30dc92=_0x5baef3['split']('.');if(0x3!=_0x30dc92['length'])return null;return _0x5e6e2e(_0x30dc92[0x1]);function _0x5e6e2e(_0x3628c7){const _0x2526ba=_0x4e5612(_0x3628c7);return _0x2526ba&&_0xf60061()?_0x2526ba:null;function _0xf60061(){const _0x164103=_0x2526ba['jti'],_0x264f00=window['parseInt'](_0x164103['substring'](_0x164103['length']-0x8),0x10),_0xb1557d={..._0x2526ba,'jti':_0x164103['substring'](0x0,_0x164103['length']-0x8)};return delete _0xb1557d['vc'],_0x7a6f09(_0xb1557d)==_0x264f00;}}}async function _0x4b449f(){let _0x5a5a50=!0x0;try{const [_0x13288b,_0xd4a06e,_0x3f4290]=_0x5baef3['split']('.');return _0x586f05(_0x13288b),await _0x2fb62e(_0x13288b,_0xd4a06e,_0x3f4290),_0x5a5a50;}catch{return!0x1;}function _0x586f05(_0x394859){const _0x8220fc=_0x4e5612(_0x394859);_0x8220fc&&'ES256'==_0x8220fc['alg']||(_0x5a5a50=!0x1);}async function _0x2fb62e(_0x366b1f,_0x356b62,_0x5e6407){const _0x56ba7c=window['Uint8Array']['from'](_0x1794ec(_0x5e6407),_0x2ffcd7=>_0x2ffcd7['charCodeAt'](0x0)),_0xc86e55=new window['TextEncoder']()['encode'](_0x366b1f+'.'+_0x356b62),_0x404cda=window['crypto']['subtle'];if(!_0x404cda)return;const _0x3385ee=await _0x404cda['importKey']('jwk',_0x23ed31,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x404cda['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3385ee,_0x56ba7c,_0xc86e55)||(_0x5a5a50=!0x1);}}function _0x4e5612(_0x57629f){return _0x57629f['startsWith']('ey')?JSON['parse'](_0x1794ec(_0x57629f)):null;}function _0x1794ec(_0x5839a3){return window['atob'](_0x5839a3['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x7a6f09(_0x3a4d52){let _0x7c2228=0x1505;function _0x1f41cf(_0x7a10ab){for(let _0x12567e=0x0;_0x12567e<_0x7a10ab['length'];_0x12567e++){const _0x20a1b7=_0x7a10ab['charCodeAt'](_0x12567e);_0x7c2228=(_0x7c2228<<0x5)+_0x7c2228+_0x20a1b7,_0x7c2228&=_0x7c2228;}}function _0x57742c(_0x56358f){Array['isArray'](_0x56358f)?_0x56358f['forEach'](_0x57742c):_0x56358f&&'object'==typeof _0x56358f?Object['entries'](_0x56358f)['sort']()['forEach'](([_0x96417a,_0x24ab40])=>{_0x1f41cf(_0x96417a),_0x57742c(_0x24ab40);}):_0x1f41cf(window['String'](_0x56358f));}return _0x57742c(_0x3a4d52),_0x7c2228>>>0x0;}function _0x48bc4c(_0x5cf8d8){return _0x5cf8d8['toString'](0x10)['padStart'](0x8,'0');}function _0x35468f(_0x22341c){return _0x22341c['split']('')['reverse']()['join']('');}function _0x21d3bc(){}_0x4ffcc1(await _0x3fa3c3());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x7e5cb3=this['editor'],_0xc1a886=_0x7e5cb3['editing']['view'],_0x3a3ae1=this['_getAttachedDomRoot']();if(!_0x3a3ae1||!_0x3a3ae1['hasChildNodes']())return void _0x7e5cb3['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x53ffb2,pageHeight:_0x3e7209}=_0x7e5cb3['config']['get']('pagination'),{top:_0x4d0a8d,left:_0xe21a5,bottom:_0x4c4b0b,right:_0x356749}=this['_configuredPaddings'];this['_pagesContainer']=new _0x28b334(_0x7e5cb3['locale']);const _0x2e2465=this['_pagesContainer'];_0x2e2465['set']('class',''),_0x2e2465['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x53ffb2,'width':_0x53ffb2,'height':'calc(\x20'+_0x3e7209+'\x20-\x20'+_0x4d0a8d+'\x20-\x20'+_0x4c4b0b+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x356749+'\x200\x20'+_0xe21a5,'columnGap':'calc('+_0xe21a5+'\x20+\x20'+_0x356749+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x2e2465['bindTemplate']['to']('class')}}),_0x2e2465['render'](),_0x3a3ae1['parentNode']['insertBefore'](_0x2e2465['element'],_0x3a3ae1['nextSibling']),this['listenTo'](_0xc1a886,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x79d277 of this['editor']['editing']['view']['domRoots']['values']())if(_0x79d277['ownerDocument']['body']['contains'](_0x79d277))return _0x79d277;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x532188=this['editor']['editing']['view'],_0x5e56cd=this['_pagesContainer'],_0xff8e41=this['_getAttachedDomRoot']();if(!_0xff8e41||!_0x5e56cd)return Promise['resolve']();for(_0x5e56cd['class']=['ck-reset','ck-pagination-view',..._0xff8e41['classList']]['join']('\x20');_0x5e56cd['element']['firstChild'];)_0x5e56cd['element']['firstChild']['remove']();const _0x313298=Array['from'](_0x532188['domRoots']);_0x313298['sort'](([,_0x3ccf2d],[,_0x493a45])=>_0x3ccf2d['compareDocumentPosition'](_0x493a45)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3fe9b7,_0x21c143]of _0x313298){const _0x2189c8=_0x21c143['cloneNode'](!0x0);'attributeStyleMap'in _0x2189c8&&_0x2189c8['attributeStyleMap']['clear'](),_0x2189c8['dataset']['rootName']=_0x3fe9b7,_0x2189c8['className']='ck-content\x20ck-pagination_enabled',_0x2189c8['removeAttribute']('id'),_0x2189c8['tabIndex']=-0x1,_0x5e56cd['element']['append'](_0x2189c8);}const _0x2593d0=Array['from'](_0x5e56cd['element']['querySelectorAll']('img'));return function(_0x2cc308){return Promise['all'](_0x2cc308['map'](_0x2886aa=>Promise['race']([k(_0x2886aa),v(0x3e8)])));}(_0x2593d0)['then'](()=>{for(const _0x4f9e53 of _0x2593d0['filter'](_0x55ce99=>!_0x55ce99['closest']('table')))if(_0x4f9e53['offsetParent']){const _0x518222=_0x507f06['window']['getComputedStyle'](_0x4f9e53),_0x4814c0=_0x507f06['document']['createElement']('span');for(const _0x5ba19f of _0x518222)_0x4814c0['style']['setProperty'](_0x5ba19f,_0x518222[_0x5ba19f]);_0x4814c0['style']['backgroundImage']='url(\x20'+_0x4f9e53['src']+'\x20)',_0x4814c0['style']['breakInside']='avoid','PICTURE'==_0x4f9e53['parentElement']?.['tagName']?_0x4f9e53['parentElement']['replaceWith'](_0x4814c0):_0x4f9e53['replaceWith'](_0x4814c0);}return new Promise(_0x41b81d=>_0x507f06['window']['requestAnimationFrame'](()=>_0x41b81d()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x4852d5=this['_pagesContainer']['element'];if(!_0x4852d5['ownerDocument']['body']['contains'](_0x4852d5))return;const _0xa9a18f=new _0x2df58b(_0x4852d5)['excludeScrollbarsAndBorders'](),_0x1981d8=Math['floor'](_0xa9a18f['width']+0x64),_0x583210=_(_0x4852d5,Math['floor'](_0xa9a18f['left']-_0x4852d5['scrollLeft']),_0x1981d8,_0xa9a18f['height'])['map'](_0x429c88=>this['_mapPageStarterInfoToPageBreakInfo'](_0x429c88))['filter'](_0x19ac70=>!0x1!==_0x19ac70);_0x583210['every'](_0x87be7d=>!!_0x87be7d)&&(this['pageBreaks']=_0x583210);}['_mapPageStarterInfoToPageBreakInfo'](_0x43387a){const _0x2e1ebf=this['editor']['editing']['view'],_0x1d716d=this['editor']['editing']['mapper'],_0x42ae56=_0x2e1ebf['domConverter'],_0x404ff6=_0x43387a['path']['shift'](),_0x581812=this['_pagesContainer']['element']['childNodes'][_0x404ff6]['dataset']['rootName'],_0x4d13d0=_0x2e1ebf['getDomRoot'](_0x581812);if(!_0x4d13d0)return null;const _0x49a15c=function(_0x2eb871,_0x2e313e){let _0x40bac8=_0x2eb871;for(const _0xe07820 of _0x2e313e['path']){if(!_0x40bac8)return null;_0x40bac8=_0x40bac8['childNodes'][_0xe07820];}return _0x40bac8;}(_0x4d13d0,_0x43387a);if(!_0x49a15c)return null;const _0x464a57=_0x42ae56['domPositionToView'](_0x49a15c,_0x43387a['textOffset']||0x0);return _0x464a57?'manual'==_0x43387a['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x464a57,_0x49a15c):'text'==_0x43387a['type']&&_0x1d716d['toModelPosition'](_0x464a57)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x464a57,_0x49a15c,_0x43387a['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x464a57,_0x49a15c,_0x43387a['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3f9490,_0xa87246){const _0x5239db=this['editor']['model'],_0x559c70=this['editor']['editing']['mapper']['toModelElement'](_0x3f9490['parent']);return new P({'type':'manual','modelRange':_0x5239db['createRangeOn'](_0x559c70),'domNode':_0xa87246,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x46311d,_0x1a6668,_0x590a74){const _0x1b5fe0=this['editor']['model'],_0x3a2988=this['editor']['editing']['mapper'],_0x33a2bc=this['editor']['editing']['view']['domConverter'];if(_0x590a74>=_0x1a6668['length'])return null;const _0x3293eb=_0x3a2988['toModelPosition'](_0x46311d),_0x20034c=_0x1b5fe0['createRange'](_0x3293eb),_0x320e1e=_0x3a2988['findMappedViewAncestor'](_0x46311d);return new P({'type':'text','modelRange':_0x20034c,'domNode':_0x1a6668,'offset':y(_0x1a6668,_0x590a74,_0x33a2bc['mapViewToDom'](_0x320e1e))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x94f073,_0x2c9786,_0x1f229d){const _0x1195e3=this['editor']['model'],_0x44a413=this['editor']['editing'],_0x3dd39e=_0x44a413['mapper'],_0x53dcf7=_0x44a413['view']['domConverter'],_0x5c4369=_0x3dd39e['findMappedViewAncestor'](_0x94f073),_0x5004dd=_0x3dd39e['toModelElement'](_0x5c4369);if(!_0x5004dd||_0x5004dd['is']('rootElement'))return!0x1;const _0x1a6c70=function(_0x15b3b0){const _0x5d46bf=_0x15b3b0['parent'],_0x69d7c9=_0x5d46bf['root']['document']['model'],_0x4c7c2c=_0x5d46bf['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0xe0e260=null;for(const _0x25fb38 of _0x4c7c2c){if(_0x25fb38['is']('rootElement'))return _0xe0e260;if(!_0x69d7c9['createPositionBefore'](_0x25fb38)['isTouching'](_0x15b3b0))return _0xe0e260;_0xe0e260=_0x25fb38;}}(_0x1195e3['createPositionBefore'](_0x5004dd))||_0x5004dd;let _0x42d4c4=_0x3dd39e['toViewElement'](_0x1a6c70),_0xf722f0=_0x1195e3['createRangeOn'](_0x1a6c70);const _0x5238a8=_0x1195e3['createPositionBefore'](_0x1a6c70)['nodeBefore'];if(_0x5238a8&&_0x5238a8['is']('element','imageBlock')){const _0x3b37fb=_0x3dd39e['toViewElement'](_0x5238a8),_0x45fb11=_0x53dcf7['mapViewToDom'](_0x3b37fb),_0x13d634=_0x507f06['window']['getComputedStyle'](_0x45fb11)['float'];'left'!=_0x13d634&&'right'!=_0x13d634||(_0xf722f0=_0x1195e3['createRangeOn'](_0x5238a8));}for(;_0x42d4c4['parent']!==_0x42d4c4['root']&&0x0===_0x42d4c4['index'];)_0x42d4c4=_0x42d4c4['parent'];const _0x80880=new _0x2df58b(K(_0x2c9786)?_0x2c9786:L(_0x2c9786)),_0x1025fe=_0x1f229d?_0x80880['height']-_0x1f229d:0x0,_0x1b0f0c=_0x53dcf7['mapViewToDom'](_0x42d4c4),_0x5ae3a0=new _0x2df58b(_0x1b0f0c);return new P({'type':'element','modelRange':_0xf722f0,'domNode':_0x1b0f0c,'offset':Math['round'](_0x1025fe)||_0x5c4369!=b(_0x94f073)?_0x1025fe+_0x80880['top']-_0x5ae3a0['top']:0x0});}get['_configuredPaddings'](){const _0x22c6c0=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x22c6c0);}static['_findPageStarterInfos'](_0x21c6e9,_0x1ca62c,_0x5bf399,_0xd24467,_0x25ffe2){return _(_0x21c6e9,_0x1ca62c,_0x5bf399,_0xd24467,_0x25ffe2);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x3fe2eb,modelRange:_0x3f792d,domNode:_0x2be88b,offset:_0x49e74a}){this['type']=_0x3fe2eb,this['modelRange']=_0x3f792d,this['_domNode']=_0x2be88b,this['_offset']=_0x49e74a;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x398e67=new _0x2df58b(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x398e67['top']+_0x398e67['height']/0x2:_0x398e67['top']+this['_offset'];}};function y(_0x35e9b8,_0x2f71c9,_0x5e4da2){const _0x569f0d=L(_0x35e9b8),_0x1510a9=function(_0x54968c){const _0x493b06=_0x507f06['document']['createRange']();return _0x493b06['selectNodeContents'](_0x54968c),_0x493b06;}(_0x5e4da2);let _0xaaa43a;_0xaaa43a=0x0==_0x2f71c9?N(_0x1510a9['startContainer'],_0x1510a9['startOffset'],_0x35e9b8['parentNode'],Array['from'](_0x35e9b8['parentNode']['childNodes'])['indexOf'](_0x35e9b8)):N(_0x1510a9['startContainer'],_0x1510a9['startOffset'],_0x35e9b8,_0x2f71c9);const _0x4c7393=N(_0x35e9b8,_0x2f71c9,_0x1510a9['endContainer'],_0x1510a9['endOffset']),_0x1b9d00=new _0x2df58b(_0xaaa43a)['bottom'];return(new _0x2df58b(_0x4c7393)['top']+_0x1b9d00)/0x2-new _0x2df58b(_0x569f0d)['top'];}function b(_0x5719c0){let _0x180360=_0x5719c0['parent'];for(;_0x180360['is']('$text')||_0x180360['is']('attributeElement');)_0x180360=_0x180360['parent'];return _0x180360;}function k(_0x1610a4){return _0x1610a4['hasAttribute']('width')&&_0x1610a4['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5cd2d8=>{function _0x11971f(){_0x1610a4['removeEventListener']('load',_0x11971f),_0x1610a4['removeEventListener']('error',_0x11971f),_0x5cd2d8();}_0x1610a4['complete']?_0x5cd2d8():(_0x1610a4['addEventListener']('load',_0x11971f),_0x1610a4['addEventListener']('error',_0x11971f));});}function v(_0x1a8777){return new Promise(_0x5b4ad0=>setTimeout(_0x5b4ad0,_0x1a8777));}function L(_0x4268f5){const _0x5257f7=_0x507f06['document']['createRange']();return _0x5257f7['selectNode'](_0x4268f5),_0x5257f7;}function x(_0x45b1cc,_0x1f4e2a,_0x8a5bd8){const _0x264abd=_0x507f06['document']['createRange']();return _0x264abd['setStart'](_0x45b1cc,_0x1f4e2a),_0x264abd['setEnd'](_0x45b1cc,_0x8a5bd8),_0x264abd;}function N(_0x154ebb,_0x1f04cf,_0xbb335,_0x501e09){const _0x4e8995=_0x507f06['document']['createRange']();return _0x4e8995['setStart'](_0x154ebb,_0x1f04cf),_0x4e8995['setEnd'](_0xbb335,_0x501e09),_0x4e8995;}function _(_0x344a98,_0x424161,_0x271837,_0x27a04d,_0x4eb935){const _0x55ddd5=[];for(const [_0x6a0ed8,_0x4f16c3]of _0x344a98['childNodes']['entries']()){let _0x505f6d=[];K(_0x4f16c3)&&_0x4f16c3['offsetParent']&&['static','relative']['includes'](_0x507f06['window']['getComputedStyle'](_0x4f16c3)['position'])?_0x505f6d=E(_0x4f16c3,_0x6a0ed8,_0x424161,_0x271837,_0x27a04d,_0x4eb935):O(_0x4f16c3)&&(_0x505f6d=S(_0x4f16c3,_0x6a0ed8,_0x424161,_0x271837,_0x4eb935)),_0x505f6d['length']&&(_0x55ddd5['push'](..._0x505f6d),_0x424161+=_0x505f6d['length']*_0x271837,_0x4eb935=!0x1);}return _0x55ddd5;}function E(_0xd3781f,_0x7b98c7,_0x369b41,_0x3d66e2,_0x52e63e,_0x5f021c){const _0x14f793=[];var _0x44688b;if((_0x44688b=_0xd3781f['previousSibling'])&&K(_0x44688b)&&Boolean(_0x44688b['classList']['contains']('page-break')||_0x44688b['closest']('.page-break'))&&(_0x14f793['push']({'type':'manual','offset':0x0,'path':[_0x7b98c7-0x1]}),_0x5f021c=!0x0),'table-row'==_0x507f06['window']['getComputedStyle'](_0xd3781f)['display']){let _0x499b19=0x0,_0x3100be=!0x1;for(const _0x32fe5a of _0xd3781f['getClientRects']())_0x499b19+=_0x32fe5a['height'],_0x32fe5a['left']>=_0x369b41&&(_0x3100be=!0x0);if(_0x499b19<_0x52e63e&&_0x3100be)return _0x5f021c||_0x14f793['push']({'type':'element','offset':0x0,'path':[_0x7b98c7]}),_0x14f793;}const _0x3d6e88=_0xd3781f['closest']('figure.image');if(_0x3d6e88&&function(_0x374dca){let _0x4846bc=!0x1;const _0x1a91be=_0x374dca['parentElement']['dataset']['rootName'],_0x29b64a=_0x374dca['nextElementSibling'],_0x13ca20=_0x374dca['previousElementSibling'],_0x3e76ac=_0x29b64a&&_0x507f06['window']['getComputedStyle'](_0x29b64a)['float'],_0x249cb8=_0x29b64a&&'ck-fake-selection-container'===_0x29b64a['className'];return!_0x1a91be||_0x29b64a||_0x13ca20||(_0x4846bc=!0x0),_0x1a91be&&!_0x13ca20&&_0x249cb8&&(_0x4846bc=!0x0),_0x1a91be&&!_0x13ca20&&'none'!==_0x3e76ac&&(_0x4846bc=!0x0),!_0x4846bc;}(_0x3d6e88)){const _0x4a4233=_0x507f06['window']['getComputedStyle'](_0x3d6e88)['float'];if('left'==_0x4a4233||'right'==_0x4a4233)return _0x14f793;}const _0x3914b2=_(_0xd3781f,_0x369b41,_0x3d66e2,_0x52e63e,_0x5f021c);if(_0x3914b2['length']){for(const _0x4b87e5 of _0x3914b2)_0x14f793['push']({'type':_0x4b87e5['type'],'offset':_0x4b87e5['offset'],'textOffset':_0x4b87e5['textOffset'],'path':[_0x7b98c7,..._0x4b87e5['path']]}),_0x369b41+=_0x3d66e2,_0x5f021c=!0x1;return _0x14f793;}return _0x14f793['push'](...function(_0x5c4ed5,_0x1dd90d,_0x56a4a1,_0x2c2cf1,_0x9da8cc){const _0x1350a5=[];if('table-cell'==_0x507f06['window']['getComputedStyle'](_0x5c4ed5)['display'])return[];const _0x7c1bb3=[];for(const _0x3dd5cd of _0x5c4ed5['getClientRects']())if(_0x3dd5cd['left']>=_0x56a4a1){for(const _0x33388e of _0x7c1bb3)_0x33388e['height']+=_0x3dd5cd['height'];_0x7c1bb3['push']({'height':_0x3dd5cd['height']}),_0x56a4a1+=_0x2c2cf1;}for(const _0x261369 of _0x7c1bb3)_0x9da8cc||_0x1350a5['push']({'type':'element','offset':_0x261369['height'],'textOffset':0x0,'path':[_0x1dd90d]}),_0x9da8cc=!0x1;return _0x1350a5;}(_0xd3781f,_0x7b98c7,_0x369b41,_0x3d66e2,_0x5f021c)),_0x14f793;}function S(_0x39fd89,_0x352090,_0x28aad0,_0x8f1850,_0x27f681){const _0x29c4f2=L(_0x39fd89),_0x3dacf9=[];let _0x524055=0x0;for(const _0x57bb30 of _0x29c4f2['getClientRects']())if(_0x57bb30['left']>=_0x28aad0){const _0x377796=R(_0x39fd89,_0x524055,_0x28aad0,_0x8f1850);_0x27f681||_0x3dacf9['push']({'type':'text','path':[_0x352090],'textOffset':_0x377796}),_0x524055=_0x377796,_0x28aad0+=_0x8f1850,_0x27f681=!0x1;}return _0x3dacf9;}function R(_0x5da727,_0xd96009,_0x3b8c6d,_0x360509){let _0x18de31=_0xd96009,_0x51b366=_0x5da727['length'];for(;_0x51b366-_0x18de31>0x1;){const _0x29896f=Math['ceil']((_0x18de31+_0x51b366)/0x2);I(x(_0x5da727,_0x18de31,_0x29896f),_0x3b8c6d,_0x360509)?_0x51b366=_0x29896f:_0x18de31=_0x29896f;}return _0x18de31;}function I(_0x4ab615,_0x29dc3b,_0x774307){for(const _0x3f0fd4 of _0x4ab615['getClientRects']())if(_0x3f0fd4['left']>=_0x29dc3b&&_0x3f0fd4['left']<_0x29dc3b+_0x774307)return!0x0;return!0x1;}function K(_0x32addf){return _0x32addf['nodeType']==Node['ELEMENT_NODE'];}function O(_0x578b5f){return _0x578b5f['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x54bc05('px');var U=class extends _0x28b334{constructor(){super();const _0x447151=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x447151['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x447151['if']('isVisible','ck-hidden',_0x702e86=>!_0x702e86)],'style':{'left':_0x447151['to']('left',_0x1de136=>A(_0x1de136)),'top':_0x447151['to']('top',_0x45f4fd=>A(_0x45f4fd)),'width':_0x447151['to']('width',_0xbe43ff=>A(_0xbe43ff))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x53dc8f){this['_viewCollection']=_0x53dc8f['ui']['view']['body'];}['destroy'](){for(const _0x558f81 of this['_hiddenLines'])_0x558f81['destroy']();}['cleanLines'](){for(const _0x583f52 of this['_visibleLines'])_0x583f52['isVisible']=!0x1,this['_hiddenLines']['add'](_0x583f52);this['_visibleLines']['clear']();}['showLine'](_0x1f9e31,_0x4f5a8c,_0x220c4f,_0x759ae4){let _0x3bf299;this['_hiddenLines']['size']?(_0x3bf299=_0x3c44ca(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3bf299)):_0x3bf299=new U(),_0x3bf299['set']({'pageNumber':_0x759ae4,'left':_0x1f9e31,'top':_0x4f5a8c,'width':_0x220c4f}),_0x3bf299['isVisible']=!0x0,this['_viewCollection']['has'](_0x3bf299)||this['_viewCollection']['add'](_0x3bf299),this['_visibleLines']['add'](_0x3bf299);}['setViewCollection'](_0x187594){for(const _0x2af777 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x2af777)&&this['_viewCollection']['remove'](_0x2af777);this['_viewCollection']=_0x187594;}};const D='ck-pagination_enabled';var B=class extends _0x5a3c63{['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 C(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',(_0x4c5c0b,_0x3b1701,_0x44641c)=>{_0x44641c||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x44641c);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3eb951){if(!this['isEnabled'])return;const _0x12cde3=_0x3eb951>0x1?this['_getPageBreakLineOffset'](_0x3eb951-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x12cde3-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2c65d5['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x22ad1a=this['editor'],_0x4366b0=this['_getAttachedDomRoot']();_0x4366b0?(this['_scrollableEditingRootDomAncestor']&&_0x22ad1a['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x108172){let _0x4639c4=_0x108172;do{_0x4639c4=_0x4639c4['parentElement'];const _0x165077=_0x507f06['window']['getComputedStyle'](_0x4639c4)['overflowY'];if('auto'==_0x165077||'scroll'==_0x165077)break;}while('BODY'!=_0x4639c4['tagName']);return _0x4639c4;}(_0x4366b0),_0x22ad1a['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0xac6890(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x22ad1a['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x203e9b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x203e9b['ui']['view']['listenTo'](_0x507f06['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x203e9b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0xb4899e of this['editor']['editing']['view']['domRoots']['values']())if(_0xb4899e['ownerDocument']['body']['contains'](_0xb4899e))return _0xb4899e;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x37a310=this['_getAttachedDomRoot'](),_0x3966b9=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x37a310||0x1==_0x3966b9['length'])return void(this['pageNumber']=0x1);const _0x3d63ab=new _0x2df58b(_0x37a310)['excludeScrollbarsAndBorders'](),_0x26b23d=new _0x2df58b(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0xada948=_0x26b23d['top']+_0x26b23d['height']/0x3;let _0x151498=!0x1;const _0x230050=[];for(let _0x520166=0x1;_0x520166<_0x3966b9['length'];_0x520166++){const _0x59ee89=this['_getPageBreakLineOffset'](_0x520166,_0x26b23d);if(!_0x59ee89)continue;const _0x28ee31=_0x26b23d['top']+_0x59ee89-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x230050['push']({'pageOffsetTop':_0x28ee31,'domRootRect':_0x3d63ab,'domScrollableRect':_0x26b23d,'pageNumber':_0x520166}),_0x28ee31>_0xada948&&!_0x151498&&(this['pageNumber']=_0x520166,_0x151498=!0x0);}this['_renderPageBreakLines'](_0x230050),_0x151498||(this['pageNumber']=_0x3966b9['length']);}['_renderPageBreakLines'](_0x25fb6a){const {scrollX:_0x31a350,scrollY:_0xa0c04e}=_0x507f06['window'];if(_0x25fb6a['length']){for(const {domScrollableRect:_0x1a4bb0,pageOffsetTop:_0x4a0bb5,domRootRect:_0x49a5b5,pageNumber:_0x2a1163}of _0x25fb6a)_0x1a4bb0['top']<_0x4a0bb5&&_0x4a0bb5<_0x1a4bb0['bottom']&&this['linesRepository']['showLine'](_0x49a5b5['left']+_0x31a350,_0x4a0bb5+_0xa0c04e,_0x49a5b5['width'],_0x2a1163+0x1);}}['_getPageBreakLineOffset'](_0x4bc3dc,_0x2e7d70=null){const _0x2be2f2=this['_paginationLookupPlugin']['pageBreaks'][_0x4bc3dc]['offset'];return _0x2be2f2?(_0x2e7d70||(_0x2e7d70=new _0x2df58b(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2be2f2-_0x2e7d70['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x2206a6,_0x1b6a82=!0x0){const _0x5f1995=this['editor']['editing']['view'];_0x5f1995['change'](_0x2fa732=>{for(const _0x3458ec of _0x5f1995['document']['roots'])_0x1b6a82?_0x2fa732['addClass'](_0x2206a6,_0x3458ec):_0x2fa732['removeClass'](_0x2206a6,_0x3458ec);});}};function T(_0x188176,_0x31b0cf,..._0xff732c){const t=_0x188176['t'];switch(_0x31b0cf){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)',..._0xff732c);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 _0x31b0cf;}}var G=class extends _0x5a3c63{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[w,B];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3c33ea=this['editor']['plugins']['get']('Pagination'),_0x2acdec=this['editor']['plugins']['get'](w),_0x1e9586=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x3c33ea),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x1e9586),this['listenTo'](_0x2acdec,'change:pageBreaks',(_0x44c5a4,_0x586113,_0x5c0cdb,_0x42496b)=>{this['totalPages']=_0x5c0cdb['length'],this['_updatePageBreakMarkers'](_0x5c0cdb,_0x42496b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13d01b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x236930;for(const _0x1194a0 in _0x13d01b){const _0x37e7d6=_0x1194a0,_0xc0a08d=_0x13d01b[_0x37e7d6];if('paginationLicenseKeyValid'==_0xc0a08d||'paginationLicenseKeyInvalid'==_0xc0a08d||'paginationLicenseKeyExpired'==_0xc0a08d||'paginationLicenseKeyDomainLimit'==_0xc0a08d||'paginationLicenseKeyNotAllowed'==_0xc0a08d||'paginationLicenseKeyEvaluationLimit'==_0xc0a08d||'paginationLicenseKeyUsageLimit'==_0xc0a08d){delete _0x13d01b[_0x37e7d6],_0x236930=_0xc0a08d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x236930&&_0x13d01b['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x236930&&_0x13d01b['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x236930&&_0x13d01b['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x236930&&_0x13d01b['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x236930&&_0x13d01b['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x236930&&_0x13d01b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x421843){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x421843));}['moveSelectionToPage'](_0x5a19f3){if(!this['isEnabled'])return;const _0x478060=this['editor'],_0x6938da=this['editor']['plugins']['get'](w)['pageBreaks'][_0x5a19f3-0x1];_0x6938da&&_0x478060['model']['change'](_0x3b8593=>{switch(_0x6938da['type']){case'manual':{const _0x546b8e=_0x478060['model']['schema']['getNearestSelectionRange'](_0x6938da['modelRange']['end'],'forward');_0x3b8593['setSelection'](_0x546b8e);break;}case'element':{const _0x408f89=_0x478060['model']['schema']['getNearestSelectionRange'](_0x6938da['modelRange']['start'],'forward');_0x3b8593['setSelection'](_0x408f89);break;}case'text':{const _0x3ffde4=_0x6938da['modelRange']['start'];if(_0x3ffde4['textNode']&&'\x20'===_0x3ffde4['textNode']['data'][_0x3ffde4['offset']]){const _0x41ef15=_0x3b8593['createPositionAt'](_0x3ffde4['parent'],_0x3ffde4['offset']+0x1);_0x3b8593['setSelection'](_0x41ef15);}else _0x3b8593['setSelection'](_0x6938da['modelRange']);}}_0x478060['editing']['view']['focus']();});}['goToNextPage'](){const _0x209196=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x209196),this['scrollToPage'](_0x209196);}['goToPreviousPage'](){const _0x28f42f=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x28f42f),this['scrollToPage'](_0x28f42f);}['_updatePageBreakMarkers'](_0x4e0411,_0x3c7498){const _0x109dc4=this['editor']['model'];this['isEnabled']&&_0x109dc4['change'](_0x4bf536=>{for(let _0x401155=0x1;_0x401155<_0x4e0411['length'];_0x401155++){const _0x3c1a89=_0x4e0411[_0x401155]['modelRange'],_0x2fec2b='pagination:'+(_0x401155+0x1);_0x109dc4['markers']['has'](_0x2fec2b)?_0x4bf536['updateMarker'](_0x2fec2b,{'range':_0x3c1a89}):_0x4bf536['addMarker'](_0x2fec2b,{'range':_0x3c1a89,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4e38ff=_0x4e0411['length'];_0x4e38ff<_0x3c7498['length'];_0x4e38ff++){const _0x51a630='pagination:'+(_0x4e38ff+0x1);_0x109dc4['markers']['has'](_0x51a630)&&_0x4bf536['removeMarker'](_0x51a630);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x4d3981=>{_0x4d3981['on']('addMarker:pagination',(_0x2cca4f,{markerRange:_0x2decc8,markerName:_0x24e0d5},_0x3b20ce)=>{if(!_0x3b20ce['options']['pagination'])return;if(!_0x3b20ce['consumable']['consume'](_0x2decc8,_0x2cca4f['name']))return;const _0x41d765=_0x2decc8['getContainedElement']();let _0x4cf922=_0x41d765?_0x3b20ce['mapper']['toViewElement'](_0x41d765):null;if(!_0x4cf922){const _0x1c3da6=_0x2decc8['start'];if(_0x3b20ce['schema']['checkChild'](_0x1c3da6,'$text')){const _0x1a58bd=_0x3b20ce['mapper']['toViewPosition'](_0x1c3da6);_0x4cf922=_0x3b20ce['writer']['createContainerElement']('span'),_0x4cf922['getFillerOffset']=()=>null,_0x3b20ce['writer']['insert'](_0x1a58bd,_0x4cf922);}else{const _0x3c9cb5=_0x1c3da6['nodeAfter'];_0x4cf922=_0x3b20ce['mapper']['toViewElement'](_0x3c9cb5);}}for(;_0x4cf922['parent']!==_0x4cf922['root']&&0x0===_0x4cf922['index'];)_0x4cf922=_0x4cf922['parent'];const _0x14691b=_0x24e0d5['substring'](0xb);_0x4cf922['hasClass']('page-break')||(_0x3b20ce['writer']['setStyle']('page-break-before','always',_0x4cf922),_0x3b20ce['writer']['setAttribute']('data-pagination-page',_0x14691b,_0x4cf922),_0x3b20ce['mapper']['bindElementToMarker'](_0x4cf922,_0x24e0d5)),_0x2cca4f['stop']();});});}['_setupKeystrokes'](){const _0x296ce6=this['editor'];_0x296ce6['keystrokes']['set']('Shift+Pageup',(_0x1668c6,_0xd25970)=>{this['goToPreviousPage'](),_0xd25970();}),_0x296ce6['keystrokes']['set']('Shift+Pagedown',(_0x5570bb,_0xbf58ff)=>{this['goToNextPage'](),_0xbf58ff();}),_0x296ce6['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x296ce6['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x296ce6['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x296ce6['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x172921){return _0x172921<0x1&&(_0x172921=0x1),_0x172921>this['totalPages']&&(_0x172921=this['totalPages']),_0x172921;}},V=class extends _0x28b334{['pageNumberView'];constructor(_0x19a04a){super(_0x19a04a);const _0x461eea=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x337753(_0x19a04a,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xe2bb8f=>T(_0x19a04a,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xe2bb8f)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xee313b=>!_0xee313b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x461eea['if']('isEnabled','ck-disabled',_0x1e0231=>!_0x1e0231)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x461eea['to']('totalPages')}]}]});}['render'](){super['render']();const _0x35148f=this['pageNumberView']['element'],_0x207e4f=_0x392496=>{this['pageNumberView']['element']['value']=String(_0x392496);};_0x207e4f(this['pageNumber']),this['on']('change:pageNumber',(_0x32118d,_0x43579f,_0x81f715)=>{_0x207e4f(_0x81f715);}),this['listenTo'](_0x35148f,'keydown',(_0x29f99d,_0x9df87b)=>{if('ArrowUp'===_0x9df87b['key']||'ArrowDown'===_0x9df87b['key'])return void _0x9df87b['stopPropagation']();if(_0x9df87b['keyCode']!==_0x2b37f5['enter'])return;_0x9df87b['preventDefault']();const _0x16e183=_0x35148f['valueAsNumber'];Number['isNaN'](_0x16e183)?_0x35148f['value']=String(this['pageNumber']):(_0x35148f['checkValidity']()?this['pageNumber']=_0x16e183:_0x16e183>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x35148f['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x35148f['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x35148f,'blur',()=>{_0x35148f['value']=String(this['pageNumber']);}),this['listenTo'](_0x35148f,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x5a3c63{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4c4aa5=this['editor'],_0x1d6521=_0x4c4aa5['plugins']['get']('PaginationEditing');_0x4c4aa5['ui']['componentFactory']['add']('pageNavigation',_0x146656=>{const _0x479043=new V(_0x146656);return _0x479043['bind']('pageNumber')['to'](_0x1d6521),_0x479043['bind']('totalPages')['to'](_0x1d6521),_0x479043['bind']('isEnabled')['to'](_0x1d6521),_0x479043['on']('navigation',(_0x452768,_0x2f9c10)=>{_0x1d6521['moveSelectionToPage'](_0x2f9c10),_0x1d6521['scrollToPage'](_0x2f9c10);}),_0x479043;}),_0x4c4aa5['ui']['componentFactory']['add']('nextPage',_0x1b3ff6=>{const _0x5371df=new _0x2180a6(_0x1b3ff6);return _0x5371df['isEnabled']=!0x0,_0x5371df['label']=T(_0x4c4aa5['locale'],'Go\x20to\x20next\x20page'),_0x5371df['icon']=_0x1cdb9f,_0x5371df['tooltip']=!0x0,_0x5371df['keystroke']='Shift+PageDown',_0x5371df['bind']('isEnabled')['to'](_0x1d6521),this['listenTo'](_0x5371df,'execute',()=>{_0x1d6521['goToNextPage']();}),_0x5371df;}),_0x4c4aa5['ui']['componentFactory']['add']('previousPage',_0x5daa12=>{const _0xffa32c=new _0x2180a6(_0x5daa12);return _0xffa32c['isEnabled']=!0x0,_0xffa32c['label']=T(_0x4c4aa5['locale'],'Go\x20to\x20previous\x20page'),_0xffa32c['icon']=_0x3cd793,_0xffa32c['tooltip']=!0x0,_0xffa32c['keystroke']='Shift+PageUp',_0xffa32c['bind']('isEnabled')['to'](_0x1d6521),this['listenTo'](_0xffa32c,'execute',()=>{_0x1d6521['goToPreviousPage']();}),_0xffa32c;});}},$=class extends _0x5a3c63{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x4e5ec6){super(_0x4e5ec6),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0xad5b30=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0xad5b30),this['bind']('totalPages')['to'](_0xad5b30),_0x2c65d5['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x21b236){this['editor']['plugins']['get'](G)['scrollToPage'](_0x21b236);}};export{$ as Pagination,B as PaginationRenderer};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x361998=>0x1!=_0x361998}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x527938=>{const {af:{dictionary:_0x4dffbc,getPluralForm:_0x2f888f}}={'af':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x4dbff1=>0x1!=_0x4dbff1}};_0x527938['af']||={'dictionary':{},'getPluralForm':null},_0x527938['af']['dictionary']=Object['assign'](_0x527938['af']['dictionary'],_0x4dffbc),_0x527938['af']['getPluralForm']=_0x2f888f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0x34097a=>0x0==_0x34097a?0x0:0x1==_0x34097a?0x1:0x2==_0x34097a?0x2:_0x34097a%0x64>=0x3&&_0x34097a%0x64<=0xa?0x3:_0x34097a%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x558f7f=>{const {ar:{dictionary:_0x2169c3,getPluralForm:_0x7480c1}}={'ar':{'dictionary':{'Go\x20to\x20next\x20page':'انتقلْ\x20إلى\x20الصفحة\x20التالية','Go\x20to\x20previous\x20page':'انتقلْ\x20إلى\x20الصفحة\x20السابقة','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'رقم\x20الصفحة\x20الحالية\x20(من\x201\x20إلى\x200%)','Keystrokes\x20for\x20navigating\x20through\x20documents':'الضغط\x20على\x20المفاتيح\x20للتنقل\x20عبر\x20المستندات','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20السابقة\x20(انقلْ\x20التحديد\x20أيضاً)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'انتقلْ\x20إلى\x20الصفحة\x20التالية\x20(انقلْ\x20التحديد\x20أيضاً)'},'getPluralForm':_0x101a66=>0x0==_0x101a66?0x0:0x1==_0x101a66?0x1:0x2==_0x101a66?0x2:_0x101a66%0x64>=0x3&&_0x101a66%0x64<=0xa?0x3:_0x101a66%0x64>=0xb?0x4:0x5}};_0x558f7f['ar']||={'dictionary':{},'getPluralForm':null},_0x558f7f['ar']['dictionary']=Object['assign'](_0x558f7f['ar']['dictionary'],_0x2169c3),_0x558f7f['ar']['getPluralForm']=_0x7480c1;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x529a97=>0x1!=_0x529a97}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x102428=>{const {ast:{dictionary:_0x1dd48f,getPluralForm:_0x558a45}}={'ast':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x2b7198=>0x1!=_0x2b7198}};_0x102428['ast']||={'dictionary':{},'getPluralForm':null},_0x102428['ast']['dictionary']=Object['assign'](_0x102428['ast']['dictionary'],_0x1dd48f),_0x102428['ast']['getPluralForm']=_0x558a45;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0xf95422=>0x1!=_0xf95422}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34299d=>{const {az:{dictionary:_0x498537,getPluralForm:_0x4f58cc}}={'az':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x504dfd=>0x1!=_0x504dfd}};_0x34299d['az']||={'dictionary':{},'getPluralForm':null},_0x34299d['az']['dictionary']=Object['assign'](_0x34299d['az']['dictionary'],_0x498537),_0x34299d['az']['getPluralForm']=_0x4f58cc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x53c9bf=>_0x53c9bf%0xa==0x1&&_0x53c9bf%0x64!=0xb?0x0:_0x53c9bf%0xa>=0x2&&_0x53c9bf%0xa<=0x4&&(_0x53c9bf%0x64<0xa||_0x53c9bf%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x267bc8=>{const {be:{dictionary:_0x16c904,getPluralForm:_0x52d410}}={'be':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x2eb2a6=>_0x2eb2a6%0xa==0x1&&_0x2eb2a6%0x64!=0xb?0x0:_0x2eb2a6%0xa>=0x2&&_0x2eb2a6%0xa<=0x4&&(_0x2eb2a6%0x64<0xa||_0x2eb2a6%0x64>=0x14)?0x1:0x2}};_0x267bc8['be']||={'dictionary':{},'getPluralForm':null},_0x267bc8['be']['dictionary']=Object['assign'](_0x267bc8['be']['dictionary'],_0x16c904),_0x267bc8['be']['getPluralForm']=_0x52d410;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Go\x20to\x20next\x20page':'Отидете\x20на\x20следващата\x20страница','Go\x20to\x20previous\x20page':'Отидете\x20на\x20предишната\x20страница','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Текущ\x20номер\x20на\x20страница\x20(от\x201\x20до\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Натискания\x20на\x20клавиши\x20за\x20навигация\x20в\x20документи','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20предишната\x20страница\x20(също\x20преместете\x20селекцията)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20следващата\x20страница\x20(също\x20преместете\x20селекцията)'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Go\x20to\x20next\x20page':'Отидете\x20на\x20следващата\x20страница','Go\x20to\x20previous\x20page':'Отидете\x20на\x20предишната\x20страница','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Текущ\x20номер\x20на\x20страница\x20(от\x201\x20до\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Натискания\x20на\x20клавиши\x20за\x20навигация\x20в\x20документи','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20предишната\x20страница\x20(също\x20преместете\x20селекцията)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20следващата\x20страница\x20(също\x20преместете\x20селекцията)'},'getPluralForm':_0x1da488=>0x1!=_0x1da488}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b4752=>{const {bg:{dictionary:_0x102027,getPluralForm:_0xc02e59}}={'bg':{'dictionary':{'Go\x20to\x20next\x20page':'Отидете\x20на\x20следващата\x20страница','Go\x20to\x20previous\x20page':'Отидете\x20на\x20предишната\x20страница','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Текущ\x20номер\x20на\x20страница\x20(от\x201\x20до\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Натискания\x20на\x20клавиши\x20за\x20навигация\x20в\x20документи','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20предишната\x20страница\x20(също\x20преместете\x20селекцията)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Отидете\x20на\x20следващата\x20страница\x20(също\x20преместете\x20селекцията)'},'getPluralForm':_0x294195=>0x1!=_0x294195}};_0x3b4752['bg']||={'dictionary':{},'getPluralForm':null},_0x3b4752['bg']['dictionary']=Object['assign'](_0x3b4752['bg']['dictionary'],_0x102027),_0x3b4752['bg']['getPluralForm']=_0xc02e59;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Go\x20to\x20next\x20page':'পরবর্তী\x20পৃষ্ঠায়\x20যান','Go\x20to\x20previous\x20page':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'বর্তমান\x20পৃষ্ঠা\x20নম্বর\x20(1\x20থেকে\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'ডকুমেন্টের\x20মধ্যে\x20নেভিগেট\x20করার\x20জন্য\x20কীস্ট্রোক','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'পরবর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Go\x20to\x20next\x20page':'পরবর্তী\x20পৃষ্ঠায়\x20যান','Go\x20to\x20previous\x20page':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'বর্তমান\x20পৃষ্ঠা\x20নম্বর\x20(1\x20থেকে\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'ডকুমেন্টের\x20মধ্যে\x20নেভিগেট\x20করার\x20জন্য\x20কীস্ট্রোক','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'পরবর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)'},'getPluralForm':_0x589c54=>0x1!=_0x589c54}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x414ac6=>{const {bn:{dictionary:_0x4db4f6,getPluralForm:_0x41998f}}={'bn':{'dictionary':{'Go\x20to\x20next\x20page':'পরবর্তী\x20পৃষ্ঠায়\x20যান','Go\x20to\x20previous\x20page':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'বর্তমান\x20পৃষ্ঠা\x20নম্বর\x20(1\x20থেকে\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'ডকুমেন্টের\x20মধ্যে\x20নেভিগেট\x20করার\x20জন্য\x20কীস্ট্রোক','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'পূর্ববর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'পরবর্তী\x20পৃষ্ঠায়\x20যান\x20(এছাড়াও\x20নির্বাচন\x20সরিয়ে\x20নিন)'},'getPluralForm':_0x1b9c20=>0x1!=_0x1b9c20}};_0x414ac6['bn']||={'dictionary':{},'getPluralForm':null},_0x414ac6['bn']['dictionary']=Object['assign'](_0x414ac6['bn']['dictionary'],_0x4db4f6),_0x414ac6['bn']['getPluralForm']=_0x41998f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x44b8f4=>_0x44b8f4%0xa==0x1&&_0x44b8f4%0x64!=0xb?0x0:_0x44b8f4%0xa>=0x2&&_0x44b8f4%0xa<=0x4&&(_0x44b8f4%0x64<0xa||_0x44b8f4%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x500291=>{const {bs:{dictionary:_0x31104b,getPluralForm:_0x3d432e}}={'bs':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x1d20d4=>_0x1d20d4%0xa==0x1&&_0x1d20d4%0x64!=0xb?0x0:_0x1d20d4%0xa>=0x2&&_0x1d20d4%0xa<=0x4&&(_0x1d20d4%0x64<0xa||_0x1d20d4%0x64>=0x14)?0x1:0x2}};_0x500291['bs']||={'dictionary':{},'getPluralForm':null},_0x500291['bs']['dictionary']=Object['assign'](_0x500291['bs']['dictionary'],_0x31104b),_0x500291['bs']['getPluralForm']=_0x3d432e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Go\x20to\x20next\x20page':'Ves\x20a\x20la\x20següent\x20pàgina','Go\x20to\x20previous\x20page':'Ves\x20a\x20la\x20pàgina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Pàgina\x20actual\x20número\x20(des\x20de\x20l\x271\x20fins\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tecles\x20per\x20a\x20navegar\x20pels\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20pàgina\x20anterior\x20(i\x20mou\x20la\x20selecció)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20següent\x20pàgina\x20(i\x20mou\x20la\x20selecció)'},'getPluralForm':
|
|
23
|
+
export default{'ca':{'dictionary':{'Go\x20to\x20next\x20page':'Ves\x20a\x20la\x20següent\x20pàgina','Go\x20to\x20previous\x20page':'Ves\x20a\x20la\x20pàgina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Pàgina\x20actual\x20número\x20(des\x20de\x20l\x271\x20fins\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tecles\x20per\x20a\x20navegar\x20pels\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20pàgina\x20anterior\x20(i\x20mou\x20la\x20selecció)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20següent\x20pàgina\x20(i\x20mou\x20la\x20selecció)'},'getPluralForm':_0x490e99=>0x1!=_0x490e99}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6d507=>{const {ca:{dictionary:_0x1b5785,getPluralForm:_0x437a54}}={'ca':{'dictionary':{'Go\x20to\x20next\x20page':'Ves\x20a\x20la\x20següent\x20pàgina','Go\x20to\x20previous\x20page':'Ves\x20a\x20la\x20pàgina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Pàgina\x20actual\x20número\x20(des\x20de\x20l\x271\x20fins\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tecles\x20per\x20a\x20navegar\x20pels\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20pàgina\x20anterior\x20(i\x20mou\x20la\x20selecció)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ves\x20a\x20la\x20següent\x20pàgina\x20(i\x20mou\x20la\x20selecció)'},'getPluralForm':_0x59cdc2=>0x1!=_0x59cdc2}};_0x6d507['ca']||={'dictionary':{},'getPluralForm':null},_0x6d507['ca']['dictionary']=Object['assign'](_0x6d507['ca']['dictionary'],_0x1b5785),_0x6d507['ca']['getPluralForm']=_0x437a54;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'cs':{'dictionary':{'Go\x20to\x20next\x20page':'Přejít\x20na\x20další\x20stránku','Go\x20to\x20previous\x20page':'Přejít\x20na\x20předchozí\x20stránku','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Číslo\x20aktuální\x20stránky\x20(od\x201\x20do\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Stisky\x20kláves\x20pro\x20procházení\x20dokumentů','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20předchozí\x20stránku\x20(také\x20přesune\x20výběr)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20další\x20stránku\x20(také\x20přesune\x20výběr)'},'getPluralForm':
|
|
23
|
+
export default{'cs':{'dictionary':{'Go\x20to\x20next\x20page':'Přejít\x20na\x20další\x20stránku','Go\x20to\x20previous\x20page':'Přejít\x20na\x20předchozí\x20stránku','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Číslo\x20aktuální\x20stránky\x20(od\x201\x20do\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Stisky\x20kláves\x20pro\x20procházení\x20dokumentů','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20předchozí\x20stránku\x20(také\x20přesune\x20výběr)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20další\x20stránku\x20(také\x20přesune\x20výběr)'},'getPluralForm':_0x20ee64=>0x1==_0x20ee64?0x0:_0x20ee64>=0x2&&_0x20ee64<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x562bb8=>{const {cs:{dictionary:_0x5f3ee6,getPluralForm:_0x578f62}}={'cs':{'dictionary':{'Go\x20to\x20next\x20page':'Přejít\x20na\x20další\x20stránku','Go\x20to\x20previous\x20page':'Přejít\x20na\x20předchozí\x20stránku','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Číslo\x20aktuální\x20stránky\x20(od\x201\x20do\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Stisky\x20kláves\x20pro\x20procházení\x20dokumentů','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20předchozí\x20stránku\x20(také\x20přesune\x20výběr)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Přejít\x20na\x20další\x20stránku\x20(také\x20přesune\x20výběr)'},'getPluralForm':_0x5a8366=>0x1==_0x5a8366?0x0:_0x5a8366>=0x2&&_0x5a8366<=0x4?0x1:0x2}};_0x562bb8['cs']||={'dictionary':{},'getPluralForm':null},_0x562bb8['cs']['dictionary']=Object['assign'](_0x562bb8['cs']['dictionary'],_0x5f3ee6),_0x562bb8['cs']['getPluralForm']=_0x578f62;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'da':{'dictionary':{'Go\x20to\x20next\x20page':'Gå\x20til\x20næste\x20side','Go\x20to\x20previous\x20page':'Gå\x20til\x20forrige\x20side','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelt\x20sidetal\x20(fra\x201\x20til\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastetryk\x20til\x20at\x20navigere\x20gennem\x20dokumenter','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20forrige\x20side\x20(flyt\x20også\x20markering)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20næste\x20side\x20(flyt\x20også\x20markering)'},'getPluralForm':
|
|
23
|
+
export default{'da':{'dictionary':{'Go\x20to\x20next\x20page':'Gå\x20til\x20næste\x20side','Go\x20to\x20previous\x20page':'Gå\x20til\x20forrige\x20side','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelt\x20sidetal\x20(fra\x201\x20til\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastetryk\x20til\x20at\x20navigere\x20gennem\x20dokumenter','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20forrige\x20side\x20(flyt\x20også\x20markering)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20næste\x20side\x20(flyt\x20også\x20markering)'},'getPluralForm':_0x44f7c0=>0x1!=_0x44f7c0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3400af=>{const {da:{dictionary:_0x28b9a9,getPluralForm:_0x4c278d}}={'da':{'dictionary':{'Go\x20to\x20next\x20page':'Gå\x20til\x20næste\x20side','Go\x20to\x20previous\x20page':'Gå\x20til\x20forrige\x20side','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelt\x20sidetal\x20(fra\x201\x20til\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastetryk\x20til\x20at\x20navigere\x20gennem\x20dokumenter','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20forrige\x20side\x20(flyt\x20også\x20markering)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Gå\x20til\x20næste\x20side\x20(flyt\x20også\x20markering)'},'getPluralForm':_0x10e773=>0x1!=_0x10e773}};_0x3400af['da']||={'dictionary':{},'getPluralForm':null},_0x3400af['da']['dictionary']=Object['assign'](_0x3400af['da']['dictionary'],_0x28b9a9),_0x3400af['da']['getPluralForm']=_0x4c278d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x13ec72=>0x1!=_0x13ec72}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x520031=>{const {'de-ch':{dictionary:_0x42afbd,getPluralForm:_0x9c85b9}}={'de-ch':{'dictionary':{'Go\x20to\x20next\x20page':'','Go\x20to\x20previous\x20page':'','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'','Keystrokes\x20for\x20navigating\x20through\x20documents':'','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':''},'getPluralForm':_0x2821ce=>0x1!=_0x2821ce}};_0x520031['de-ch']||={'dictionary':{},'getPluralForm':null},_0x520031['de-ch']['dictionary']=Object['assign'](_0x520031['de-ch']['dictionary'],_0x42afbd),_0x520031['de-ch']['getPluralForm']=_0x9c85b9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de':{'dictionary':{'Go\x20to\x20next\x20page':'Zur\x20nächsten\x20Seite\x20gehen','Go\x20to\x20previous\x20page':'Zur\x20vorherigen\x20Seite\x20gehen','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelle\x20Seitenzahl\x20(von\x201\x20bis\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastenkombinationen\x20für\x20die\x20Navigation\x20durch\x20Dokumente','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Zur\x20vorherigen\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Zur\x20nächsten\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)'},'getPluralForm':
|
|
23
|
+
export default{'de':{'dictionary':{'Go\x20to\x20next\x20page':'Zur\x20nächsten\x20Seite\x20gehen','Go\x20to\x20previous\x20page':'Zur\x20vorherigen\x20Seite\x20gehen','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelle\x20Seitenzahl\x20(von\x201\x20bis\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastenkombinationen\x20für\x20die\x20Navigation\x20durch\x20Dokumente','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Zur\x20vorherigen\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Zur\x20nächsten\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)'},'getPluralForm':_0x43ea8a=>0x1!=_0x43ea8a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2129b8=>{const {de:{dictionary:_0xa6b561,getPluralForm:_0x5114ab}}={'de':{'dictionary':{'Go\x20to\x20next\x20page':'Zur\x20nächsten\x20Seite\x20gehen','Go\x20to\x20previous\x20page':'Zur\x20vorherigen\x20Seite\x20gehen','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Aktuelle\x20Seitenzahl\x20(von\x201\x20bis\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Tastenkombinationen\x20für\x20die\x20Navigation\x20durch\x20Dokumente','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Zur\x20vorherigen\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Zur\x20nächsten\x20Seite\x20gehen\x20(auch\x20Auswahl\x20verschieben)'},'getPluralForm':_0x429631=>0x1!=_0x429631}};_0x2129b8['de']||={'dictionary':{},'getPluralForm':null},_0x2129b8['de']['dictionary']=Object['assign'](_0x2129b8['de']['dictionary'],_0xa6b561),_0x2129b8['de']['getPluralForm']=_0x5114ab;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'el':{'dictionary':{'Go\x20to\x20next\x20page':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα','Go\x20to\x20previous\x20page':'Επιστροφή\x20στην\x20προηγούμενη\x20σελίδα','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Αριθμός\x20τρέχουσας\x20σελίδας\x20(από\x201\x20έως\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Πληκτρολογήσεις\x20για\x20πλοήγηση\x20μεταξύ\x20των\x20εγγράφων','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20προηγούμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)'},'getPluralForm':
|
|
23
|
+
export default{'el':{'dictionary':{'Go\x20to\x20next\x20page':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα','Go\x20to\x20previous\x20page':'Επιστροφή\x20στην\x20προηγούμενη\x20σελίδα','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Αριθμός\x20τρέχουσας\x20σελίδας\x20(από\x201\x20έως\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Πληκτρολογήσεις\x20για\x20πλοήγηση\x20μεταξύ\x20των\x20εγγράφων','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20προηγούμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Μετάβαση\x20στην\x20επόμενη\x20σελίδα\x20(επίσης\x20επιλογή\x20μετακίνησης)'},'getPluralForm':_0x18020c=>0x1!=_0x18020c}};
|