@ckeditor/ckeditor5-pagination 48.3.0-alpha.7 → 48.3.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x418beb}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x30009d,InputNumberView as _0x20ab03,View as _0x422102}from'@ckeditor/ckeditor5-ui';import{Rect as _0x5dc800,ResizeObserver as _0x4eca3e,env as _0x2c9465,first as _0x430f38,global as _0x3721dd,keyCodes as _0x4a8017,logWarning as _0x2652ac,toUnit as _0x4618d8,uid as _0x4a7fe9}from'@ckeditor/ckeditor5-utils';import{debounce as _0x701cc}from'es-toolkit/compat';import{IconArrowDown as _0x251730,IconArrowUp as _0xfdb35f}from'@ckeditor/ckeditor5-icons';var w=class extends _0x418beb{['_recalculatePageBreaksDebounced']=_0x701cc(()=>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 _0x2652ac('pagination-config-not-found',this['editor']['config']);const _0x58cbd7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x58cbd7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x590f1,_0x33f0c2,_0x487e88)=>{_0x487e88&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x28313f){const _0x99068f='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x1806f6=0x78e70,_0x3f82f8=window['Date']['now'](),_0x8212dd=_0x28313f['editor'],_0x5792de=new window['Promise'](_0x1fedc4=>{_0x8212dd['once']('ready',_0x1fedc4);}),_0x412451={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x63961c=_0x8212dd['config']['get']('licenseKey');async function _0x5b1c50(){let _0x24f782,_0x354ec=null,_0x5d161f=null;try{return'GPL'==_0x63961c?'NotAllowed':(_0x24f782=_0x41f31d(),_0x24f782?(_0x24f782['usageEndpoint']&&(_0x5d161f=_0x1dcd36(_0x24f782['usageEndpoint'],_0x24f782['jti'])),await _0x13ecb9()?_0x2258c0()?_0x392ba5()?'Expired':_0x17e56b()?('evaluation'==_0x24f782['licenseType']&&(_0x354ec=_0x3c610c('EvaluationLimit')),await _0x379f73()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x392ba5(){const _0x1b34a8=['evaluation','trial']['includes'](_0x24f782['licenseType'])?_0x3f82f8/0x3e8:0xe10*_0x1806f6;return _0x24f782['exp']<_0x1b34a8;}function _0x2258c0(){const _0x1e98cf=_0x24f782['features'];return!!_0x1e98cf&&(!!_0x1e98cf['includes']('*')||!!_0x1e98cf['includes']('PAG'));}function _0x17e56b(){const _0x13478e=_0x24f782['licensedHosts'];if(!_0x13478e||0x0==_0x13478e['length'])return!0x0;const {hostname:_0x26ce18}=new URL(window['location']['href']);if(_0x13478e['includes'](_0x26ce18))return!0x0;const _0x41cf98=_0x26ce18['split']('.');return _0x13478e['filter'](_0x45ff43=>_0x45ff43['includes']('*'))['map'](_0x2a5153=>_0x2a5153['split']('.'))['filter'](_0x4b4933=>_0x4b4933['length']<=_0x41cf98['length'])['map'](_0x2da1ef=>Array(_0x41cf98['length']-_0x2da1ef['length'])['fill']('*'===_0x2da1ef[0x0]?'*':'')['concat'](_0x2da1ef))['some'](_0x44e19f=>_0x41cf98['every']((_0x2c0241,_0xd4733a)=>_0x44e19f[_0xd4733a]===_0x2c0241||'*'===_0x44e19f[_0xd4733a]));}function _0x379f73(){return _0x354ec&&_0x5d161f?new window['Promise']((_0x20aa47,_0x1a8ebb)=>{_0x354ec['then'](_0x20aa47,_0x1a8ebb),_0x5d161f['then'](_0xf6a9d0=>{'Valid'!=_0xf6a9d0&&_0x20aa47(_0xf6a9d0);},_0x1a8ebb);}):_0x354ec||_0x5d161f||'Valid';}}function _0x1dcd36(_0x4809c9,_0x1d11ed){return new window['Promise'](_0x5d7b55=>{if(_0x3356fd())return _0x5d7b55('Valid');_0x7a23bd(),_0x8212dd['decorate']('_sendUsageRequest');let _0x973a66=!0x1;const _0x27b917=_0x4a7fe9();function _0x6a5a82(_0x4a9e29){return!!_0x4a9e29&&('object'==typeof _0x4a9e29||'function'==typeof _0x4a9e29)&&'function'==typeof _0x4a9e29['then']&&'function'==typeof _0x4a9e29['catch'];}function _0x32d542(_0x471902){_0x90a3a2(_0x471902)['then'](_0x2c039a=>_0x2c039a&&'ok'==_0x2c039a['status']?_0xba3ed1(_0x13090b(_0x27b917+_0x1d11ed))!=_0x2c039a['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x48706b=>(_0x6be58c(),_0x48706b),()=>{const _0x14ab5d=_0x43e5c9();return null==_0x14ab5d?(_0x6be58c(),'Valid'):_0x3f82f8-_0x14ab5d>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5d7b55)['catch'](()=>{_0x5d7b55('UsageLimit');});const _0x13ee20=0x36ee80;function _0x6be58c(){const _0x22ca3b='llct-'+_0xba3ed1(_0x13090b(_0x4809c9)),_0x1bd3e9=_0x1a3b27(_0xba3ed1(window['Math']['ceil'](_0x3f82f8/_0x13ee20)));window['localStorage']['setItem'](_0x22ca3b,_0x1bd3e9);}function _0x43e5c9(){const _0x463992='llct-'+_0xba3ed1(_0x13090b(_0x4809c9)),_0x93c66=window['localStorage']['getItem'](_0x463992);return _0x93c66?window['parseInt'](_0x1a3b27(_0x93c66),0x10)*_0x13ee20:null;}function _0x90a3a2(_0x146e7f){return new window['Promise']((_0xedbada,_0x4e30a7)=>{_0x146e7f['then'](_0xedbada,_0x4e30a7),window['setTimeout'](_0x4e30a7,0x1d4c0);});}}_0x8212dd['on']('_sendUsageRequest',(_0x39d146,_0x3a2c27)=>{if(_0x3a2c27[0x0]!=_0x4809c9)return _0x5d7b55('UsageLimit');_0x3a2c27[0x1]={..._0x3a2c27[0x1],'requestId':_0x27b917};},{'priority':'high'}),_0x8212dd['on']('_sendUsageRequest',_0x311eeb=>{_0x6a5a82(_0x311eeb['return'])&&(_0x973a66=!0x0,_0x32d542(_0x311eeb['return']));},{'priority':'low'}),_0x5792de['then'](()=>{_0x973a66||_0x5d7b55('UsageLimit');});});function _0x3356fd(){return'auto'==_0x8212dd['editing']['view']['_overlayModeHint'];}function _0x7a23bd(){_0x8212dd['editing']['view']['_overlayModeHint']='auto';}}function _0x3c610c(_0x49218c){const _0x576322=[new window['Promise'](_0x172137=>setTimeout(_0x172137,0x93ecc)),_0x5792de['then'](()=>new window['Promise'](_0x28e710=>{let _0xf2a667=0x0;_0x8212dd['model']['on']('applyOperation',(_0x2b3a19,_0x2b170)=>{_0x2b170[0x0]['isDocumentOperation']&&_0xf2a667++,0x5e8==_0xf2a667&&(_0x28e710(),_0x2b3a19['off']());});}))];return window['Promise']['race'](_0x576322)['then'](()=>_0x49218c);}async function _0x197e6f(){await _0x5792de,_0x8212dd['model']['change']=_0x130ac0,_0x8212dd['model']['enqueueChange']=_0x130ac0,_0x8212dd['enableReadOnlyMode']('model');}function _0x3aee91(_0x17cca7){const _0x2c248d=_0x545559();_0x8212dd[_0x2c248d]='paginationLicenseKey'+_0x17cca7,'Valid'!=_0x17cca7&&_0x197e6f();}function _0x545559(){const _0x57ab35=window['String'](window['performance']['now']())['replace']('.','');let _0x3c137d='I';for(let _0x416197=0x0;_0x416197<_0x57ab35['length'];_0x416197+=0x2){let _0x39ca0=window['parseInt'](_0x57ab35['substring'](_0x416197,_0x416197+0x2));_0x39ca0>=0x3e&&(_0x39ca0-=0x3e),_0x3c137d+=_0x99068f[_0x39ca0];}return _0x3c137d;}function _0x41f31d(){const _0x6eb0e9=_0x63961c['split']('.');if(0x3!=_0x6eb0e9['length'])return null;return _0x5b41b8(_0x6eb0e9[0x1]);function _0x5b41b8(_0x540dd8){const _0x119e60=_0x1c2159(_0x540dd8);return _0x119e60&&_0x56f71d()?_0x119e60:null;function _0x56f71d(){const _0xc23ed7=_0x119e60['jti'],_0xd979b5=window['parseInt'](_0xc23ed7['substring'](_0xc23ed7['length']-0x8),0x10),_0x528cd0={..._0x119e60,'jti':_0xc23ed7['substring'](0x0,_0xc23ed7['length']-0x8)};return delete _0x528cd0['vc'],_0x13090b(_0x528cd0)==_0xd979b5;}}}async function _0x13ecb9(){let _0x164d7e=!0x0;try{const [_0x12b2b2,_0x39ba37,_0x24a9bd]=_0x63961c['split']('.');return _0x5614e8(_0x12b2b2),await _0x4c285b(_0x12b2b2,_0x39ba37,_0x24a9bd),_0x164d7e;}catch{return!0x1;}function _0x5614e8(_0x101185){const _0x58bf26=_0x1c2159(_0x101185);_0x58bf26&&'ES256'==_0x58bf26['alg']||(_0x164d7e=!0x1);}async function _0x4c285b(_0x429547,_0x383355,_0x35985d){const _0x4821c3=window['Uint8Array']['from'](_0xfdfdbb(_0x35985d),_0x3f8080=>_0x3f8080['charCodeAt'](0x0)),_0x24c879=new window['TextEncoder']()['encode'](_0x429547+'.'+_0x383355),_0x341d4b=window['crypto']['subtle'];if(!_0x341d4b)return;const _0x412e46=await _0x341d4b['importKey']('jwk',_0x412451,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x341d4b['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x412e46,_0x4821c3,_0x24c879)||(_0x164d7e=!0x1);}}function _0x1c2159(_0x1c9e30){return _0x1c9e30['startsWith']('ey')?JSON['parse'](_0xfdfdbb(_0x1c9e30)):null;}function _0xfdfdbb(_0x24e2fc){return window['atob'](_0x24e2fc['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x13090b(_0x309ae6){let _0x1a53b6=0x1505;function _0x568b89(_0x559b6f){for(let _0x3c1c04=0x0;_0x3c1c04<_0x559b6f['length'];_0x3c1c04++){const _0x3d18ab=_0x559b6f['charCodeAt'](_0x3c1c04);_0x1a53b6=(_0x1a53b6<<0x5)+_0x1a53b6+_0x3d18ab,_0x1a53b6&=_0x1a53b6;}}function _0x27c45f(_0x17a9d4){Array['isArray'](_0x17a9d4)?_0x17a9d4['forEach'](_0x27c45f):_0x17a9d4&&'object'==typeof _0x17a9d4?Object['entries'](_0x17a9d4)['sort']()['forEach'](([_0x48b645,_0x4b96e2])=>{_0x568b89(_0x48b645),_0x27c45f(_0x4b96e2);}):_0x568b89(window['String'](_0x17a9d4));}return _0x27c45f(_0x309ae6),_0x1a53b6>>>0x0;}function _0xba3ed1(_0xf0a9ca){return _0xf0a9ca['toString'](0x10)['padStart'](0x8,'0');}function _0x1a3b27(_0x2252ac){return _0x2252ac['split']('')['reverse']()['join']('');}function _0x130ac0(){}_0x3aee91(await _0x5b1c50());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x1de2b0=this['editor'],_0x36e876=_0x1de2b0['editing']['view'],_0x26000f=this['_getAttachedDomRoot']();if(!_0x26000f||!_0x26000f['hasChildNodes']())return void _0x1de2b0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x33f654,pageHeight:_0x293321}=_0x1de2b0['config']['get']('pagination'),{top:_0x3eb92c,left:_0x522902,bottom:_0x2b1ca3,right:_0x16bfd6}=this['_configuredPaddings'];this['_pagesContainer']=new _0x422102(_0x1de2b0['locale']);const _0x1a2a4c=this['_pagesContainer'];_0x1a2a4c['set']('class',''),_0x1a2a4c['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x33f654,'width':_0x33f654,'height':'calc(\x20'+_0x293321+'\x20-\x20'+_0x3eb92c+'\x20-\x20'+_0x2b1ca3+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x16bfd6+'\x200\x20'+_0x522902,'columnGap':'calc('+_0x522902+'\x20+\x20'+_0x16bfd6+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x1a2a4c['bindTemplate']['to']('class')}}),_0x1a2a4c['render'](),_0x26000f['parentNode']['insertBefore'](_0x1a2a4c['element'],_0x26000f['nextSibling']),this['listenTo'](_0x36e876,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x5c3e50 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5c3e50['ownerDocument']['body']['contains'](_0x5c3e50))return _0x5c3e50;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x4b703e=this['editor']['editing']['view'],_0x326b31=this['_pagesContainer'],_0x5f3d13=this['_getAttachedDomRoot']();if(!_0x5f3d13||!_0x326b31)return Promise['resolve']();for(_0x326b31['class']=['ck-reset','ck-pagination-view',..._0x5f3d13['classList']]['join']('\x20');_0x326b31['element']['firstChild'];)_0x326b31['element']['firstChild']['remove']();const _0x516c21=Array['from'](_0x4b703e['domRoots']);_0x516c21['sort'](([,_0x51f2e9],[,_0x1f8c66])=>_0x51f2e9['compareDocumentPosition'](_0x1f8c66)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2da774,_0x4739d4]of _0x516c21){const _0x4b30f1=_0x4739d4['cloneNode'](!0x0);'attributeStyleMap'in _0x4b30f1&&_0x4b30f1['attributeStyleMap']['clear'](),_0x4b30f1['dataset']['rootName']=_0x2da774,_0x4b30f1['className']='ck-content\x20ck-pagination_enabled',_0x4b30f1['removeAttribute']('id'),_0x4b30f1['tabIndex']=-0x1,_0x326b31['element']['append'](_0x4b30f1);}const _0x327411=Array['from'](_0x326b31['element']['querySelectorAll']('img'));return function(_0x73f0cf){return Promise['all'](_0x73f0cf['map'](_0x8e6963=>Promise['race']([k(_0x8e6963),v(0x3e8)])));}(_0x327411)['then'](()=>{for(const _0x3412e3 of _0x327411['filter'](_0xdaf5e2=>!_0xdaf5e2['closest']('table')))if(_0x3412e3['offsetParent']){const _0x17da66=_0x3721dd['window']['getComputedStyle'](_0x3412e3),_0x1dd042=_0x3721dd['document']['createElement']('span');for(const _0x3c179f of _0x17da66)_0x1dd042['style']['setProperty'](_0x3c179f,_0x17da66[_0x3c179f]);_0x1dd042['style']['backgroundImage']='url(\x20'+_0x3412e3['src']+'\x20)',_0x1dd042['style']['breakInside']='avoid','PICTURE'==_0x3412e3['parentElement']?.['tagName']?_0x3412e3['parentElement']['replaceWith'](_0x1dd042):_0x3412e3['replaceWith'](_0x1dd042);}return new Promise(_0x42188c=>_0x3721dd['window']['requestAnimationFrame'](()=>_0x42188c()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x11b90c=this['_pagesContainer']['element'];if(!_0x11b90c['ownerDocument']['body']['contains'](_0x11b90c))return;const _0x1ecdc0=new _0x5dc800(_0x11b90c)['excludeScrollbarsAndBorders'](),_0xcfcbaa=Math['floor'](_0x1ecdc0['width']+0x64),_0xe73b77=_(_0x11b90c,Math['floor'](_0x1ecdc0['left']-_0x11b90c['scrollLeft']),_0xcfcbaa,_0x1ecdc0['height'])['map'](_0x4ef129=>this['_mapPageStarterInfoToPageBreakInfo'](_0x4ef129))['filter'](_0x5398c6=>!0x1!==_0x5398c6);_0xe73b77['every'](_0x482361=>!!_0x482361)&&(this['pageBreaks']=_0xe73b77);}['_mapPageStarterInfoToPageBreakInfo'](_0x47d5bb){const _0x27b34e=this['editor']['editing']['view'],_0x100a8b=this['editor']['editing']['mapper'],_0x7919a1=_0x27b34e['domConverter'],_0x4b2397=_0x47d5bb['path']['shift'](),_0x4d839b=this['_pagesContainer']['element']['childNodes'][_0x4b2397]['dataset']['rootName'],_0xeb9269=_0x27b34e['getDomRoot'](_0x4d839b);if(!_0xeb9269)return null;const _0x373680=function(_0x197dd4,_0xe8d31a){let _0x469a46=_0x197dd4;for(const _0x345760 of _0xe8d31a['path']){if(!_0x469a46)return null;_0x469a46=_0x469a46['childNodes'][_0x345760];}return _0x469a46;}(_0xeb9269,_0x47d5bb);if(!_0x373680)return null;const _0x493c51=_0x7919a1['domPositionToView'](_0x373680,_0x47d5bb['textOffset']||0x0);return _0x493c51?'manual'==_0x47d5bb['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x493c51,_0x373680):'text'==_0x47d5bb['type']&&_0x100a8b['toModelPosition'](_0x493c51)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x493c51,_0x373680,_0x47d5bb['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x493c51,_0x373680,_0x47d5bb['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x1ae5e9,_0x52f774){const _0x4f651a=this['editor']['model'],_0x3c9b49=this['editor']['editing']['mapper']['toModelElement'](_0x1ae5e9['parent']);return new P({'type':'manual','modelRange':_0x4f651a['createRangeOn'](_0x3c9b49),'domNode':_0x52f774,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x3edcec,_0x1f73ee,_0x51db04){const _0x10aff0=this['editor']['model'],_0x3168d6=this['editor']['editing']['mapper'],_0x4a3b53=this['editor']['editing']['view']['domConverter'];if(_0x51db04>=_0x1f73ee['length'])return null;const _0x20093a=_0x3168d6['toModelPosition'](_0x3edcec),_0x518607=_0x10aff0['createRange'](_0x20093a),_0x376d12=_0x3168d6['findMappedViewAncestor'](_0x3edcec);return new P({'type':'text','modelRange':_0x518607,'domNode':_0x1f73ee,'offset':y(_0x1f73ee,_0x51db04,_0x4a3b53['mapViewToDom'](_0x376d12))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x11d6f9,_0x5eb80a,_0x187934){const _0x3bed91=this['editor']['model'],_0x130c5b=this['editor']['editing'],_0x32328d=_0x130c5b['mapper'],_0x16d2c1=_0x130c5b['view']['domConverter'],_0x267dd6=_0x32328d['findMappedViewAncestor'](_0x11d6f9),_0x40c514=_0x32328d['toModelElement'](_0x267dd6);if(!_0x40c514||_0x40c514['is']('rootElement'))return!0x1;const _0x4a35cb=function(_0x3857ba){const _0x30495f=_0x3857ba['parent'],_0x4618f2=_0x30495f['root']['document']['model'],_0x19603d=_0x30495f['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3e3aa7=null;for(const _0x482ea8 of _0x19603d){if(_0x482ea8['is']('rootElement'))return _0x3e3aa7;if(!_0x4618f2['createPositionBefore'](_0x482ea8)['isTouching'](_0x3857ba))return _0x3e3aa7;_0x3e3aa7=_0x482ea8;}}(_0x3bed91['createPositionBefore'](_0x40c514))||_0x40c514;let _0x521faa=_0x32328d['toViewElement'](_0x4a35cb),_0x44be0=_0x3bed91['createRangeOn'](_0x4a35cb);const _0x4dbb02=_0x3bed91['createPositionBefore'](_0x4a35cb)['nodeBefore'];if(_0x4dbb02&&_0x4dbb02['is']('element','imageBlock')){const _0x48e09f=_0x32328d['toViewElement'](_0x4dbb02),_0x39bee8=_0x16d2c1['mapViewToDom'](_0x48e09f),_0x572d53=_0x3721dd['window']['getComputedStyle'](_0x39bee8)['float'];'left'!=_0x572d53&&'right'!=_0x572d53||(_0x44be0=_0x3bed91['createRangeOn'](_0x4dbb02));}for(;_0x521faa['parent']!==_0x521faa['root']&&0x0===_0x521faa['index'];)_0x521faa=_0x521faa['parent'];const _0x44d51d=new _0x5dc800(K(_0x5eb80a)?_0x5eb80a:L(_0x5eb80a)),_0x4bea34=_0x187934?_0x44d51d['height']-_0x187934:0x0,_0x58a589=_0x16d2c1['mapViewToDom'](_0x521faa),_0x20c7a8=new _0x5dc800(_0x58a589);return new P({'type':'element','modelRange':_0x44be0,'domNode':_0x58a589,'offset':Math['round'](_0x4bea34)||_0x267dd6!=b(_0x11d6f9)?_0x4bea34+_0x44d51d['top']-_0x20c7a8['top']:0x0});}get['_configuredPaddings'](){const _0x23842b=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x23842b);}static['_findPageStarterInfos'](_0x26deae,_0xbf93c8,_0x3f821d,_0x4f7d46,_0x35dbc1){return _(_0x26deae,_0xbf93c8,_0x3f821d,_0x4f7d46,_0x35dbc1);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x2c8323,modelRange:_0x2b15cb,domNode:_0x326c0f,offset:_0x5e8a8d}){this['type']=_0x2c8323,this['modelRange']=_0x2b15cb,this['_domNode']=_0x326c0f,this['_offset']=_0x5e8a8d;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x472b96=new _0x5dc800(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x472b96['top']+_0x472b96['height']/0x2:_0x472b96['top']+this['_offset'];}};function y(_0x2e738b,_0x388da5,_0x7a7fba){const _0x4b7c48=L(_0x2e738b),_0x4545be=function(_0x57f43c){const _0x45ae60=_0x3721dd['document']['createRange']();return _0x45ae60['selectNodeContents'](_0x57f43c),_0x45ae60;}(_0x7a7fba);let _0x2dceaf;_0x2dceaf=0x0==_0x388da5?N(_0x4545be['startContainer'],_0x4545be['startOffset'],_0x2e738b['parentNode'],Array['from'](_0x2e738b['parentNode']['childNodes'])['indexOf'](_0x2e738b)):N(_0x4545be['startContainer'],_0x4545be['startOffset'],_0x2e738b,_0x388da5);const _0x1d4ba2=N(_0x2e738b,_0x388da5,_0x4545be['endContainer'],_0x4545be['endOffset']),_0x397cf3=new _0x5dc800(_0x2dceaf)['bottom'];return(new _0x5dc800(_0x1d4ba2)['top']+_0x397cf3)/0x2-new _0x5dc800(_0x4b7c48)['top'];}function b(_0x108fef){let _0x51af53=_0x108fef['parent'];for(;_0x51af53['is']('$text')||_0x51af53['is']('attributeElement');)_0x51af53=_0x51af53['parent'];return _0x51af53;}function k(_0x463a73){return _0x463a73['hasAttribute']('width')&&_0x463a73['hasAttribute']('height')?Promise['resolve']():new Promise(_0x29d12f=>{function _0x4bd4b4(){_0x463a73['removeEventListener']('load',_0x4bd4b4),_0x463a73['removeEventListener']('error',_0x4bd4b4),_0x29d12f();}_0x463a73['complete']?_0x29d12f():(_0x463a73['addEventListener']('load',_0x4bd4b4),_0x463a73['addEventListener']('error',_0x4bd4b4));});}function v(_0x482c5b){return new Promise(_0xf2539c=>setTimeout(_0xf2539c,_0x482c5b));}function L(_0x3337dc){const _0x376993=_0x3721dd['document']['createRange']();return _0x376993['selectNode'](_0x3337dc),_0x376993;}function x(_0x2a6adc,_0x3e263f,_0x20eef7){const _0x390bc9=_0x3721dd['document']['createRange']();return _0x390bc9['setStart'](_0x2a6adc,_0x3e263f),_0x390bc9['setEnd'](_0x2a6adc,_0x20eef7),_0x390bc9;}function N(_0x182570,_0x25993a,_0x174ac4,_0x249fbd){const _0x4cc91b=_0x3721dd['document']['createRange']();return _0x4cc91b['setStart'](_0x182570,_0x25993a),_0x4cc91b['setEnd'](_0x174ac4,_0x249fbd),_0x4cc91b;}function _(_0x585343,_0x4f9318,_0x12a03d,_0x111e68,_0x4fa33e){const _0xa0c755=[];for(const [_0x2f04cb,_0x35680e]of _0x585343['childNodes']['entries']()){let _0xf4404c=[];K(_0x35680e)&&_0x35680e['offsetParent']&&['static','relative']['includes'](_0x3721dd['window']['getComputedStyle'](_0x35680e)['position'])?_0xf4404c=E(_0x35680e,_0x2f04cb,_0x4f9318,_0x12a03d,_0x111e68,_0x4fa33e):O(_0x35680e)&&(_0xf4404c=S(_0x35680e,_0x2f04cb,_0x4f9318,_0x12a03d,_0x4fa33e)),_0xf4404c['length']&&(_0xa0c755['push'](..._0xf4404c),_0x4f9318+=_0xf4404c['length']*_0x12a03d,_0x4fa33e=!0x1);}return _0xa0c755;}function E(_0x19f207,_0x505084,_0x2a026c,_0x52840f,_0x244c0b,_0x23cc70){const _0x3c3bb8=[];var _0x18fc87;if((_0x18fc87=_0x19f207['previousSibling'])&&K(_0x18fc87)&&Boolean(_0x18fc87['classList']['contains']('page-break')||_0x18fc87['closest']('.page-break'))&&(_0x3c3bb8['push']({'type':'manual','offset':0x0,'path':[_0x505084-0x1]}),_0x23cc70=!0x0),'table-row'==_0x3721dd['window']['getComputedStyle'](_0x19f207)['display']){let _0x457947=0x0,_0x40f656=!0x1;for(const _0x32e76a of _0x19f207['getClientRects']())_0x457947+=_0x32e76a['height'],_0x32e76a['left']>=_0x2a026c&&(_0x40f656=!0x0);if(_0x457947<_0x244c0b&&_0x40f656)return _0x23cc70||_0x3c3bb8['push']({'type':'element','offset':0x0,'path':[_0x505084]}),_0x3c3bb8;}const _0x54fb4a=_0x19f207['closest']('figure.image');if(_0x54fb4a&&function(_0x1ce53b){let _0x349f05=!0x1;const _0x154507=_0x1ce53b['parentElement']['dataset']['rootName'],_0x15eb38=_0x1ce53b['nextElementSibling'],_0x2856be=_0x1ce53b['previousElementSibling'],_0x14822d=_0x15eb38&&_0x3721dd['window']['getComputedStyle'](_0x15eb38)['float'],_0x67551a=_0x15eb38&&'ck-fake-selection-container'===_0x15eb38['className'];return!_0x154507||_0x15eb38||_0x2856be||(_0x349f05=!0x0),_0x154507&&!_0x2856be&&_0x67551a&&(_0x349f05=!0x0),_0x154507&&!_0x2856be&&'none'!==_0x14822d&&(_0x349f05=!0x0),!_0x349f05;}(_0x54fb4a)){const _0x68e142=_0x3721dd['window']['getComputedStyle'](_0x54fb4a)['float'];if('left'==_0x68e142||'right'==_0x68e142)return _0x3c3bb8;}const _0x37c7ad=_(_0x19f207,_0x2a026c,_0x52840f,_0x244c0b,_0x23cc70);if(_0x37c7ad['length']){for(const _0x28f323 of _0x37c7ad)_0x3c3bb8['push']({'type':_0x28f323['type'],'offset':_0x28f323['offset'],'textOffset':_0x28f323['textOffset'],'path':[_0x505084,..._0x28f323['path']]}),_0x2a026c+=_0x52840f,_0x23cc70=!0x1;return _0x3c3bb8;}return _0x3c3bb8['push'](...function(_0x38324a,_0x56cdfc,_0x22e314,_0xfd74d1,_0x543bab){const _0x47c7df=[];if('table-cell'==_0x3721dd['window']['getComputedStyle'](_0x38324a)['display'])return[];const _0xa7aa50=[];for(const _0x3c5fad of _0x38324a['getClientRects']())if(_0x3c5fad['left']>=_0x22e314){for(const _0x2d39fe of _0xa7aa50)_0x2d39fe['height']+=_0x3c5fad['height'];_0xa7aa50['push']({'height':_0x3c5fad['height']}),_0x22e314+=_0xfd74d1;}for(const _0x430daf of _0xa7aa50)_0x543bab||_0x47c7df['push']({'type':'element','offset':_0x430daf['height'],'textOffset':0x0,'path':[_0x56cdfc]}),_0x543bab=!0x1;return _0x47c7df;}(_0x19f207,_0x505084,_0x2a026c,_0x52840f,_0x23cc70)),_0x3c3bb8;}function S(_0x2b191f,_0x4e07b1,_0x12ed88,_0x5e639d,_0x1b7b1b){const _0x1e5d11=L(_0x2b191f),_0x4255cb=[];let _0x5eacd2=0x0;for(const _0xda0d3a of _0x1e5d11['getClientRects']())if(_0xda0d3a['left']>=_0x12ed88){const _0x3ae62b=R(_0x2b191f,_0x5eacd2,_0x12ed88,_0x5e639d);_0x1b7b1b||_0x4255cb['push']({'type':'text','path':[_0x4e07b1],'textOffset':_0x3ae62b}),_0x5eacd2=_0x3ae62b,_0x12ed88+=_0x5e639d,_0x1b7b1b=!0x1;}return _0x4255cb;}function R(_0x1b8aff,_0x25a4b,_0x41d803,_0x36f3b0){let _0x237970=_0x25a4b,_0x366ccd=_0x1b8aff['length'];for(;_0x366ccd-_0x237970>0x1;){const _0x168669=Math['ceil']((_0x237970+_0x366ccd)/0x2);I(x(_0x1b8aff,_0x237970,_0x168669),_0x41d803,_0x36f3b0)?_0x366ccd=_0x168669:_0x237970=_0x168669;}return _0x237970;}function I(_0xcdb82c,_0xde8746,_0x793e0c){for(const _0x5c9ba2 of _0xcdb82c['getClientRects']())if(_0x5c9ba2['left']>=_0xde8746&&_0x5c9ba2['left']<_0xde8746+_0x793e0c)return!0x0;return!0x1;}function K(_0x2e9846){return _0x2e9846['nodeType']==Node['ELEMENT_NODE'];}function O(_0x512008){return _0x512008['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4618d8('px');var U=class extends _0x422102{constructor(){super();const _0x1cf4a7=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1cf4a7['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1cf4a7['if']('isVisible','ck-hidden',_0x22f214=>!_0x22f214)],'style':{'left':_0x1cf4a7['to']('left',_0x215b2f=>A(_0x215b2f)),'top':_0x1cf4a7['to']('top',_0x3012ad=>A(_0x3012ad)),'width':_0x1cf4a7['to']('width',_0x1050a0=>A(_0x1050a0))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x10d153){this['_viewCollection']=_0x10d153['ui']['view']['body'];}['destroy'](){for(const _0x11a31d of this['_hiddenLines'])_0x11a31d['destroy']();}['cleanLines'](){for(const _0x36b090 of this['_visibleLines'])_0x36b090['isVisible']=!0x1,this['_hiddenLines']['add'](_0x36b090);this['_visibleLines']['clear']();}['showLine'](_0x16b86d,_0x4e132b,_0x454bac,_0x4aea76){let _0x812f40;this['_hiddenLines']['size']?(_0x812f40=_0x430f38(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x812f40)):_0x812f40=new U(),_0x812f40['set']({'pageNumber':_0x4aea76,'left':_0x16b86d,'top':_0x4e132b,'width':_0x454bac}),_0x812f40['isVisible']=!0x0,this['_viewCollection']['has'](_0x812f40)||this['_viewCollection']['add'](_0x812f40),this['_visibleLines']['add'](_0x812f40);}['setViewCollection'](_0xaf1ded){for(const _0x52fe27 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x52fe27)&&this['_viewCollection']['remove'](_0x52fe27);this['_viewCollection']=_0xaf1ded;}};const D='ck-pagination_enabled';var B=class extends _0x418beb{['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',(_0x1b713f,_0xb93c4,_0x1bbfa4)=>{_0x1bbfa4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x1bbfa4);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5ead13){if(!this['isEnabled'])return;const _0x327286=_0x5ead13>0x1?this['_getPageBreakLineOffset'](_0x5ead13-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x327286-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2c9465['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x3119a4=this['editor'],_0x2637d7=this['_getAttachedDomRoot']();_0x2637d7?(this['_scrollableEditingRootDomAncestor']&&_0x3119a4['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0xbb977a){let _0x10c2e1=_0xbb977a;do{_0x10c2e1=_0x10c2e1['parentElement'];const _0x2a8b9e=_0x3721dd['window']['getComputedStyle'](_0x10c2e1)['overflowY'];if('auto'==_0x2a8b9e||'scroll'==_0x2a8b9e)break;}while('BODY'!=_0x10c2e1['tagName']);return _0x10c2e1;}(_0x2637d7),_0x3119a4['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x4eca3e(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3119a4['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5675d0=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5675d0['ui']['view']['listenTo'](_0x3721dd['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5675d0['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2bf9df of this['editor']['editing']['view']['domRoots']['values']())if(_0x2bf9df['ownerDocument']['body']['contains'](_0x2bf9df))return _0x2bf9df;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x520520=this['_getAttachedDomRoot'](),_0x3b7a93=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x520520||0x1==_0x3b7a93['length'])return void(this['pageNumber']=0x1);const _0x91eb9b=new _0x5dc800(_0x520520)['excludeScrollbarsAndBorders'](),_0xf6214=new _0x5dc800(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4586dd=_0xf6214['top']+_0xf6214['height']/0x3;let _0xe852de=!0x1;const _0x2e7911=[];for(let _0x4fb816=0x1;_0x4fb816<_0x3b7a93['length'];_0x4fb816++){const _0x4ca36e=this['_getPageBreakLineOffset'](_0x4fb816,_0xf6214);if(!_0x4ca36e)continue;const _0x1b041f=_0xf6214['top']+_0x4ca36e-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x2e7911['push']({'pageOffsetTop':_0x1b041f,'domRootRect':_0x91eb9b,'domScrollableRect':_0xf6214,'pageNumber':_0x4fb816}),_0x1b041f>_0x4586dd&&!_0xe852de&&(this['pageNumber']=_0x4fb816,_0xe852de=!0x0);}this['_renderPageBreakLines'](_0x2e7911),_0xe852de||(this['pageNumber']=_0x3b7a93['length']);}['_renderPageBreakLines'](_0x2ac315){const {scrollX:_0x10fc4a,scrollY:_0xdd107f}=_0x3721dd['window'];if(_0x2ac315['length']){for(const {domScrollableRect:_0x401483,pageOffsetTop:_0x3d0d04,domRootRect:_0xdf0228,pageNumber:_0x45829b}of _0x2ac315)_0x401483['top']<_0x3d0d04&&_0x3d0d04<_0x401483['bottom']&&this['linesRepository']['showLine'](_0xdf0228['left']+_0x10fc4a,_0x3d0d04+_0xdd107f,_0xdf0228['width'],_0x45829b+0x1);}}['_getPageBreakLineOffset'](_0x295c4e,_0x360d12=null){const _0xcaf602=this['_paginationLookupPlugin']['pageBreaks'][_0x295c4e]['offset'];return _0xcaf602?(_0x360d12||(_0x360d12=new _0x5dc800(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xcaf602-_0x360d12['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x3be10f,_0x2cc1f4=!0x0){const _0xe82341=this['editor']['editing']['view'];_0xe82341['change'](_0x1fc250=>{for(const _0x2d94ba of _0xe82341['document']['roots'])_0x2cc1f4?_0x1fc250['addClass'](_0x3be10f,_0x2d94ba):_0x1fc250['removeClass'](_0x3be10f,_0x2d94ba);});}};function T(_0xebb90f,_0x5b1fb2,..._0x1512fe){const t=_0xebb90f['t'];switch(_0x5b1fb2){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)',..._0x1512fe);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 _0x5b1fb2;}}var G=class extends _0x418beb{['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 _0x3c3877=this['editor']['plugins']['get']('Pagination'),_0x17af43=this['editor']['plugins']['get'](w),_0x183b90=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x3c3877),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x183b90),this['listenTo'](_0x17af43,'change:pageBreaks',(_0x1a46cd,_0x40f199,_0x378809,_0x3bea34)=>{this['totalPages']=_0x378809['length'],this['_updatePageBreakMarkers'](_0x378809,_0x3bea34);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3dbf8c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f2d1c;for(const _0x5b662 in _0x3dbf8c){const _0x1c1954=_0x5b662,_0x2b951e=_0x3dbf8c[_0x1c1954];if('paginationLicenseKeyValid'==_0x2b951e||'paginationLicenseKeyInvalid'==_0x2b951e||'paginationLicenseKeyExpired'==_0x2b951e||'paginationLicenseKeyDomainLimit'==_0x2b951e||'paginationLicenseKeyNotAllowed'==_0x2b951e||'paginationLicenseKeyEvaluationLimit'==_0x2b951e||'paginationLicenseKeyUsageLimit'==_0x2b951e){delete _0x3dbf8c[_0x1c1954],_0x2f2d1c=_0x2b951e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x2f2d1c&&_0x3dbf8c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x16537f){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x16537f));}['moveSelectionToPage'](_0x29c600){if(!this['isEnabled'])return;const _0x259d4f=this['editor'],_0x58a512=this['editor']['plugins']['get'](w)['pageBreaks'][_0x29c600-0x1];_0x58a512&&_0x259d4f['model']['change'](_0xec83eb=>{switch(_0x58a512['type']){case'manual':{const _0x1fd4be=_0x259d4f['model']['schema']['getNearestSelectionRange'](_0x58a512['modelRange']['end'],'forward');_0xec83eb['setSelection'](_0x1fd4be);break;}case'element':{const _0x15aa13=_0x259d4f['model']['schema']['getNearestSelectionRange'](_0x58a512['modelRange']['start'],'forward');_0xec83eb['setSelection'](_0x15aa13);break;}case'text':{const _0x3f943e=_0x58a512['modelRange']['start'];if(_0x3f943e['textNode']&&'\x20'===_0x3f943e['textNode']['data'][_0x3f943e['offset']]){const _0x4aca61=_0xec83eb['createPositionAt'](_0x3f943e['parent'],_0x3f943e['offset']+0x1);_0xec83eb['setSelection'](_0x4aca61);}else _0xec83eb['setSelection'](_0x58a512['modelRange']);}}_0x259d4f['editing']['view']['focus']();});}['goToNextPage'](){const _0x30ab8a=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x30ab8a),this['scrollToPage'](_0x30ab8a);}['goToPreviousPage'](){const _0x5db54c=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5db54c),this['scrollToPage'](_0x5db54c);}['_updatePageBreakMarkers'](_0x41fa97,_0x5efa5a){const _0x412fc9=this['editor']['model'];this['isEnabled']&&_0x412fc9['change'](_0x56d1c3=>{for(let _0x18874c=0x1;_0x18874c<_0x41fa97['length'];_0x18874c++){const _0x1eea65=_0x41fa97[_0x18874c]['modelRange'],_0x5f3649='pagination:'+(_0x18874c+0x1);_0x412fc9['markers']['has'](_0x5f3649)?_0x56d1c3['updateMarker'](_0x5f3649,{'range':_0x1eea65}):_0x56d1c3['addMarker'](_0x5f3649,{'range':_0x1eea65,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x58a0b2=_0x41fa97['length'];_0x58a0b2<_0x5efa5a['length'];_0x58a0b2++){const _0x2aeb45='pagination:'+(_0x58a0b2+0x1);_0x412fc9['markers']['has'](_0x2aeb45)&&_0x56d1c3['removeMarker'](_0x2aeb45);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x599371=>{_0x599371['on']('addMarker:pagination',(_0x4d5bb4,{markerRange:_0x36f2b9,markerName:_0x4f558a},_0x3f4785)=>{if(!_0x3f4785['options']['pagination'])return;if(!_0x3f4785['consumable']['consume'](_0x36f2b9,_0x4d5bb4['name']))return;const _0x3e1eed=_0x36f2b9['getContainedElement']();let _0xebd15b=_0x3e1eed?_0x3f4785['mapper']['toViewElement'](_0x3e1eed):null;if(!_0xebd15b){const _0x5f42dc=_0x36f2b9['start'];if(_0x3f4785['schema']['checkChild'](_0x5f42dc,'$text')){const _0x276fa8=_0x3f4785['mapper']['toViewPosition'](_0x5f42dc);_0xebd15b=_0x3f4785['writer']['createContainerElement']('span'),_0xebd15b['getFillerOffset']=()=>null,_0x3f4785['writer']['insert'](_0x276fa8,_0xebd15b);}else{const _0x5c3590=_0x5f42dc['nodeAfter'];_0xebd15b=_0x3f4785['mapper']['toViewElement'](_0x5c3590);}}for(;_0xebd15b['parent']!==_0xebd15b['root']&&0x0===_0xebd15b['index'];)_0xebd15b=_0xebd15b['parent'];const _0x37c81a=_0x4f558a['substring'](0xb);_0xebd15b['hasClass']('page-break')||(_0x3f4785['writer']['setStyle']('page-break-before','always',_0xebd15b),_0x3f4785['writer']['setAttribute']('data-pagination-page',_0x37c81a,_0xebd15b),_0x3f4785['mapper']['bindElementToMarker'](_0xebd15b,_0x4f558a)),_0x4d5bb4['stop']();});});}['_setupKeystrokes'](){const _0x111e80=this['editor'];_0x111e80['keystrokes']['set']('Shift+Pageup',(_0x4a2606,_0x28e06f)=>{this['goToPreviousPage'](),_0x28e06f();}),_0x111e80['keystrokes']['set']('Shift+Pagedown',(_0x534f87,_0x3ec7ce)=>{this['goToNextPage'](),_0x3ec7ce();}),_0x111e80['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x111e80['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x111e80['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x111e80['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x542570){return _0x542570<0x1&&(_0x542570=0x1),_0x542570>this['totalPages']&&(_0x542570=this['totalPages']),_0x542570;}},V=class extends _0x422102{['pageNumberView'];constructor(_0x2ca3a9){super(_0x2ca3a9);const _0x5aed34=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x20ab03(_0x2ca3a9,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x219928=>T(_0x2ca3a9,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x219928)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1d1549=>!_0x1d1549),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5aed34['if']('isEnabled','ck-disabled',_0xde519d=>!_0xde519d)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5aed34['to']('totalPages')}]}]});}['render'](){super['render']();const _0x1d8bca=this['pageNumberView']['element'],_0x52a6aa=_0x2b27cd=>{this['pageNumberView']['element']['value']=String(_0x2b27cd);};_0x52a6aa(this['pageNumber']),this['on']('change:pageNumber',(_0x23adbf,_0xc679ad,_0x42cda1)=>{_0x52a6aa(_0x42cda1);}),this['listenTo'](_0x1d8bca,'keydown',(_0x3ff737,_0x491394)=>{if('ArrowUp'===_0x491394['key']||'ArrowDown'===_0x491394['key'])return void _0x491394['stopPropagation']();if(_0x491394['keyCode']!==_0x4a8017['enter'])return;_0x491394['preventDefault']();const _0x4c5edb=_0x1d8bca['valueAsNumber'];Number['isNaN'](_0x4c5edb)?_0x1d8bca['value']=String(this['pageNumber']):(_0x1d8bca['checkValidity']()?this['pageNumber']=_0x4c5edb:_0x4c5edb>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x1d8bca['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x1d8bca['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x1d8bca,'blur',()=>{_0x1d8bca['value']=String(this['pageNumber']);}),this['listenTo'](_0x1d8bca,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x418beb{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2de91c=this['editor'],_0xab65e=_0x2de91c['plugins']['get']('PaginationEditing');_0x2de91c['ui']['componentFactory']['add']('pageNavigation',_0x10b297=>{const _0x14c55e=new V(_0x10b297);return _0x14c55e['bind']('pageNumber')['to'](_0xab65e),_0x14c55e['bind']('totalPages')['to'](_0xab65e),_0x14c55e['bind']('isEnabled')['to'](_0xab65e),_0x14c55e['on']('navigation',(_0x5427f7,_0x5888b6)=>{_0xab65e['moveSelectionToPage'](_0x5888b6),_0xab65e['scrollToPage'](_0x5888b6);}),_0x14c55e;}),_0x2de91c['ui']['componentFactory']['add']('nextPage',_0x1cc580=>{const _0x3925cd=new _0x30009d(_0x1cc580);return _0x3925cd['isEnabled']=!0x0,_0x3925cd['label']=T(_0x2de91c['locale'],'Go\x20to\x20next\x20page'),_0x3925cd['icon']=_0x251730,_0x3925cd['tooltip']=!0x0,_0x3925cd['keystroke']='Shift+PageDown',_0x3925cd['bind']('isEnabled')['to'](_0xab65e),this['listenTo'](_0x3925cd,'execute',()=>{_0xab65e['goToNextPage']();}),_0x3925cd;}),_0x2de91c['ui']['componentFactory']['add']('previousPage',_0x268a4d=>{const _0x551ce2=new _0x30009d(_0x268a4d);return _0x551ce2['isEnabled']=!0x0,_0x551ce2['label']=T(_0x2de91c['locale'],'Go\x20to\x20previous\x20page'),_0x551ce2['icon']=_0xfdb35f,_0x551ce2['tooltip']=!0x0,_0x551ce2['keystroke']='Shift+PageUp',_0x551ce2['bind']('isEnabled')['to'](_0xab65e),this['listenTo'](_0x551ce2,'execute',()=>{_0xab65e['goToPreviousPage']();}),_0x551ce2;});}},$=class extends _0x418beb{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x321c44){super(_0x321c44),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4519ad=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x4519ad),this['bind']('totalPages')['to'](_0x4519ad),_0x2c9465['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x42e1e6){this['editor']['plugins']['get'](G)['scrollToPage'](_0x42e1e6);}};export{$ as Pagination,B as PaginationRenderer};
|
|
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};
|
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':_0x23d086=>0x1!=_0x23d086}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x58cfdd=>{const {af:{dictionary:_0x4251f2,getPluralForm:_0x224dab}}={'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':_0x4eebc4=>0x1!=_0x4eebc4}};_0x58cfdd['af']||={'dictionary':{},'getPluralForm':null},_0x58cfdd['af']['dictionary']=Object['assign'](_0x58cfdd['af']['dictionary'],_0x4251f2),_0x58cfdd['af']['getPluralForm']=_0x224dab;})(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':_0x323d0d=>0x0==_0x323d0d?0x0:0x1==_0x323d0d?0x1:0x2==_0x323d0d?0x2:_0x323d0d%0x64>=0x3&&_0x323d0d%0x64<=0xa?0x3:_0x323d0d%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2f6976=>{const {ar:{dictionary:_0x2f7124,getPluralForm:_0x1da071}}={'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':_0x1ef05f=>0x0==_0x1ef05f?0x0:0x1==_0x1ef05f?0x1:0x2==_0x1ef05f?0x2:_0x1ef05f%0x64>=0x3&&_0x1ef05f%0x64<=0xa?0x3:_0x1ef05f%0x64>=0xb?0x4:0x5}};_0x2f6976['ar']||={'dictionary':{},'getPluralForm':null},_0x2f6976['ar']['dictionary']=Object['assign'](_0x2f6976['ar']['dictionary'],_0x2f7124),_0x2f6976['ar']['getPluralForm']=_0x1da071;})(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':_0x1e09cf=>0x1!=_0x1e09cf}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4015e7=>{const {ast:{dictionary:_0x10bf81,getPluralForm:_0x1e5b1a}}={'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':_0x247f55=>0x1!=_0x247f55}};_0x4015e7['ast']||={'dictionary':{},'getPluralForm':null},_0x4015e7['ast']['dictionary']=Object['assign'](_0x4015e7['ast']['dictionary'],_0x10bf81),_0x4015e7['ast']['getPluralForm']=_0x1e5b1a;})(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':_0x3c26a3=>0x1!=_0x3c26a3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b2d58=>{const {az:{dictionary:_0x3b0099,getPluralForm:_0x1c48e0}}={'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':_0x1182af=>0x1!=_0x1182af}};_0x5b2d58['az']||={'dictionary':{},'getPluralForm':null},_0x5b2d58['az']['dictionary']=Object['assign'](_0x5b2d58['az']['dictionary'],_0x3b0099),_0x5b2d58['az']['getPluralForm']=_0x1c48e0;})(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':_0x665aa8=>_0x665aa8%0xa==0x1&&_0x665aa8%0x64!=0xb?0x0:_0x665aa8%0xa>=0x2&&_0x665aa8%0xa<=0x4&&(_0x665aa8%0x64<0xa||_0x665aa8%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d8055=>{const {be:{dictionary:_0x5d8354,getPluralForm:_0x55c90c}}={'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':_0x55e135=>_0x55e135%0xa==0x1&&_0x55e135%0x64!=0xb?0x0:_0x55e135%0xa>=0x2&&_0x55e135%0xa<=0x4&&(_0x55e135%0x64<0xa||_0x55e135%0x64>=0x14)?0x1:0x2}};_0x3d8055['be']||={'dictionary':{},'getPluralForm':null},_0x3d8055['be']['dictionary']=Object['assign'](_0x3d8055['be']['dictionary'],_0x5d8354),_0x3d8055['be']['getPluralForm']=_0x55c90c;})(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':_0x19d086=>0x1!=_0x19d086}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x275364=>{const {bg:{dictionary:_0xca59c,getPluralForm:_0xc7f4ba}}={'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':_0x5be3f8=>0x1!=_0x5be3f8}};_0x275364['bg']||={'dictionary':{},'getPluralForm':null},_0x275364['bg']['dictionary']=Object['assign'](_0x275364['bg']['dictionary'],_0xca59c),_0x275364['bg']['getPluralForm']=_0xc7f4ba;})(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':_0x55c911=>0x1!=_0x55c911}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5110e4=>{const {bn:{dictionary:_0x3e6df6,getPluralForm:_0x53772f}}={'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':_0x54302c=>0x1!=_0x54302c}};_0x5110e4['bn']||={'dictionary':{},'getPluralForm':null},_0x5110e4['bn']['dictionary']=Object['assign'](_0x5110e4['bn']['dictionary'],_0x3e6df6),_0x5110e4['bn']['getPluralForm']=_0x53772f;})(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':_0x2bd0a2=>_0x2bd0a2%0xa==0x1&&_0x2bd0a2%0x64!=0xb?0x0:_0x2bd0a2%0xa>=0x2&&_0x2bd0a2%0xa<=0x4&&(_0x2bd0a2%0x64<0xa||_0x2bd0a2%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10f3b2=>{const {bs:{dictionary:_0x3100f2,getPluralForm:_0x399199}}={'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':_0x10bea4=>_0x10bea4%0xa==0x1&&_0x10bea4%0x64!=0xb?0x0:_0x10bea4%0xa>=0x2&&_0x10bea4%0xa<=0x4&&(_0x10bea4%0x64<0xa||_0x10bea4%0x64>=0x14)?0x1:0x2}};_0x10f3b2['bs']||={'dictionary':{},'getPluralForm':null},_0x10f3b2['bs']['dictionary']=Object['assign'](_0x10f3b2['bs']['dictionary'],_0x3100f2),_0x10f3b2['bs']['getPluralForm']=_0x399199;})(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':_0x1af1bb=>0x1!=_0x1af1bb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x70a623=>{const {ca:{dictionary:_0x194116,getPluralForm:_0x36807c}}={'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':_0x24cfca=>0x1!=_0x24cfca}};_0x70a623['ca']||={'dictionary':{},'getPluralForm':null},_0x70a623['ca']['dictionary']=Object['assign'](_0x70a623['ca']['dictionary'],_0x194116),_0x70a623['ca']['getPluralForm']=_0x36807c;})(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':_0x9608cd=>0x1==_0x9608cd?0x0:_0x9608cd>=0x2&&_0x9608cd<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a897a=>{const {cs:{dictionary:_0x3a71e7,getPluralForm:_0x2ef5f5}}={'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':_0x53c1b8=>0x1==_0x53c1b8?0x0:_0x53c1b8>=0x2&&_0x53c1b8<=0x4?0x1:0x2}};_0x3a897a['cs']||={'dictionary':{},'getPluralForm':null},_0x3a897a['cs']['dictionary']=Object['assign'](_0x3a897a['cs']['dictionary'],_0x3a71e7),_0x3a897a['cs']['getPluralForm']=_0x2ef5f5;})(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':_0x173e9f=>0x1!=_0x173e9f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x377bdd=>{const {da:{dictionary:_0x5d457e,getPluralForm:_0x1c1f66}}={'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':_0x5ebaa6=>0x1!=_0x5ebaa6}};_0x377bdd['da']||={'dictionary':{},'getPluralForm':null},_0x377bdd['da']['dictionary']=Object['assign'](_0x377bdd['da']['dictionary'],_0x5d457e),_0x377bdd['da']['getPluralForm']=_0x1c1f66;})(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':_0x517d98=>0x1!=_0x517d98}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2aa4af=>{const {'de-ch':{dictionary:_0x32add0,getPluralForm:_0x13c028}}={'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':_0x2253f4=>0x1!=_0x2253f4}};_0x2aa4af['de-ch']||={'dictionary':{},'getPluralForm':null},_0x2aa4af['de-ch']['dictionary']=Object['assign'](_0x2aa4af['de-ch']['dictionary'],_0x32add0),_0x2aa4af['de-ch']['getPluralForm']=_0x13c028;})(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':_0x28f4db=>0x1!=_0x28f4db}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x102375=>{const {de:{dictionary:_0x18f7f5,getPluralForm:_0x4e180a}}={'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':_0x5c1fba=>0x1!=_0x5c1fba}};_0x102375['de']||={'dictionary':{},'getPluralForm':null},_0x102375['de']['dictionary']=Object['assign'](_0x102375['de']['dictionary'],_0x18f7f5),_0x102375['de']['getPluralForm']=_0x4e180a;})(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':_0x1cb0ba=>0x1!=_0x1cb0ba}};
|