@ckeditor/ckeditor5-pagination 48.3.0-alpha.2 → 48.3.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x3046cf}from'@ckeditor/ckeditor5-core';import{ButtonView as _0xa1646b,InputNumberView as _0x905b4,View as _0x5b00b9}from'@ckeditor/ckeditor5-ui';import{Rect as _0x211dce,ResizeObserver as _0x297e0b,env as _0x1d855d,first as _0x374d1e,global as _0x1af194,keyCodes as _0x1c1d32,logWarning as _0x3e49b8,toUnit as _0x5107c4,uid as _0x5ad0ce}from'@ckeditor/ckeditor5-utils';import{debounce as _0x5bddb1}from'es-toolkit/compat';import{IconArrowDown as _0x4c3c05,IconArrowUp as _0x41da81}from'@ckeditor/ckeditor5-icons';var w=class extends _0x3046cf{['_recalculatePageBreaksDebounced']=_0x5bddb1(()=>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 _0x3e49b8('pagination-config-not-found',this['editor']['config']);const _0x5283f0=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5283f0),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x11cdb4,_0x10bf95,_0x4c5074)=>{_0x4c5074&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x4b5091){const _0x1a9b36='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x1a6bb7=0x78e10,_0x339fb7=window['Date']['now'](),_0x5b80ec=_0x4b5091['editor'],_0x475518=new window['Promise'](_0x53419f=>{_0x5b80ec['once']('ready',_0x53419f);}),_0x437e28={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x33d71f=_0x5b80ec['config']['get']('licenseKey');async function _0x454aeb(){let _0x116b7a,_0x421d3b=null,_0x2fd227=null;try{return'GPL'==_0x33d71f?'NotAllowed':(_0x116b7a=_0x46b840(),_0x116b7a?(_0x116b7a['usageEndpoint']&&(_0x2fd227=_0x29674f(_0x116b7a['usageEndpoint'],_0x116b7a['jti'])),await _0x220b5d()?_0x2c7a87()?_0x386995()?'Expired':_0x12e67e()?('evaluation'==_0x116b7a['licenseType']&&(_0x421d3b=_0x5c4d75('EvaluationLimit')),await _0x2e4fbd()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x386995(){const _0x4471b5=['evaluation','trial']['includes'](_0x116b7a['licenseType'])?_0x339fb7/0x3e8:0xe10*_0x1a6bb7;return _0x116b7a['exp']<_0x4471b5;}function _0x2c7a87(){const _0x562be8=_0x116b7a['features'];return!!_0x562be8&&(!!_0x562be8['includes']('*')||!!_0x562be8['includes']('PAG'));}function _0x12e67e(){const _0x207537=_0x116b7a['licensedHosts'];if(!_0x207537||0x0==_0x207537['length'])return!0x0;const {hostname:_0xe5341b}=new URL(window['location']['href']);if(_0x207537['includes'](_0xe5341b))return!0x0;const _0x321667=_0xe5341b['split']('.');return _0x207537['filter'](_0x3d3135=>_0x3d3135['includes']('*'))['map'](_0x46361c=>_0x46361c['split']('.'))['filter'](_0x11770b=>_0x11770b['length']<=_0x321667['length'])['map'](_0x497cf6=>Array(_0x321667['length']-_0x497cf6['length'])['fill']('*'===_0x497cf6[0x0]?'*':'')['concat'](_0x497cf6))['some'](_0x4f70b7=>_0x321667['every']((_0x251c10,_0x116c88)=>_0x4f70b7[_0x116c88]===_0x251c10||'*'===_0x4f70b7[_0x116c88]));}function _0x2e4fbd(){return _0x421d3b&&_0x2fd227?new window['Promise']((_0x48c288,_0x43551f)=>{_0x421d3b['then'](_0x48c288,_0x43551f),_0x2fd227['then'](_0x42a72b=>{'Valid'!=_0x42a72b&&_0x48c288(_0x42a72b);},_0x43551f);}):_0x421d3b||_0x2fd227||'Valid';}}function _0x29674f(_0x265ff7,_0x3b0822){return new window['Promise'](_0x2563a9=>{if(_0x434084())return _0x2563a9('Valid');_0x15cb30(),_0x5b80ec['decorate']('_sendUsageRequest');let _0x4d5363=!0x1;const _0xfe05e0=_0x5ad0ce();function _0x3cf61a(_0x116191){return!!_0x116191&&('object'==typeof _0x116191||'function'==typeof _0x116191)&&'function'==typeof _0x116191['then']&&'function'==typeof _0x116191['catch'];}function _0x3798ed(_0x317d59){_0x4d6b78(_0x317d59)['then'](_0x42832d=>_0x42832d&&'ok'==_0x42832d['status']?_0x944add(_0x293f28(_0xfe05e0+_0x3b0822))!=_0x42832d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x57670b=>(_0x5ac454(),_0x57670b),()=>{const _0x316f86=_0xa50b27();return null==_0x316f86?(_0x5ac454(),'Valid'):_0x339fb7-_0x316f86>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2563a9)['catch'](()=>{_0x2563a9('UsageLimit');});const _0x2e6f0d=0x36ee80;function _0x5ac454(){const _0x20f263='llct-'+_0x944add(_0x293f28(_0x265ff7)),_0x2f6b72=_0x510c0f(_0x944add(window['Math']['ceil'](_0x339fb7/_0x2e6f0d)));window['localStorage']['setItem'](_0x20f263,_0x2f6b72);}function _0xa50b27(){const _0x40a7ff='llct-'+_0x944add(_0x293f28(_0x265ff7)),_0x4313ca=window['localStorage']['getItem'](_0x40a7ff);return _0x4313ca?window['parseInt'](_0x510c0f(_0x4313ca),0x10)*_0x2e6f0d:null;}function _0x4d6b78(_0x39b72c){return new window['Promise']((_0x5d3de4,_0x4f83f4)=>{_0x39b72c['then'](_0x5d3de4,_0x4f83f4),window['setTimeout'](_0x4f83f4,0x1d4c0);});}}_0x5b80ec['on']('_sendUsageRequest',(_0x5462ae,_0x17cca5)=>{if(_0x17cca5[0x0]!=_0x265ff7)return _0x2563a9('UsageLimit');_0x17cca5[0x1]={..._0x17cca5[0x1],'requestId':_0xfe05e0};},{'priority':'high'}),_0x5b80ec['on']('_sendUsageRequest',_0x2d7d07=>{_0x3cf61a(_0x2d7d07['return'])&&(_0x4d5363=!0x0,_0x3798ed(_0x2d7d07['return']));},{'priority':'low'}),_0x475518['then'](()=>{_0x4d5363||_0x2563a9('UsageLimit');});});function _0x434084(){return'auto'==_0x5b80ec['editing']['view']['_overlayModeHint'];}function _0x15cb30(){_0x5b80ec['editing']['view']['_overlayModeHint']='auto';}}function _0x5c4d75(_0x4bcd33){const _0x1ca82a=[new window['Promise'](_0x14a2eb=>setTimeout(_0x14a2eb,0x93ecc)),_0x475518['then'](()=>new window['Promise'](_0x25db19=>{let _0x4eab60=0x0;_0x5b80ec['model']['on']('applyOperation',(_0x561b71,_0x51f869)=>{_0x51f869[0x0]['isDocumentOperation']&&_0x4eab60++,0x5e8==_0x4eab60&&(_0x25db19(),_0x561b71['off']());});}))];return window['Promise']['race'](_0x1ca82a)['then'](()=>_0x4bcd33);}async function _0x209ea0(){await _0x475518,_0x5b80ec['model']['change']=_0x3644d6,_0x5b80ec['model']['enqueueChange']=_0x3644d6,_0x5b80ec['enableReadOnlyMode']('model');}function _0x3f8fd1(_0x3e8091){const _0x4abdea=_0xe793e4();_0x5b80ec[_0x4abdea]='paginationLicenseKey'+_0x3e8091,'Valid'!=_0x3e8091&&_0x209ea0();}function _0xe793e4(){const _0x562610=window['String'](window['performance']['now']())['replace']('.','');let _0x4ecb2e='I';for(let _0x49c051=0x0;_0x49c051<_0x562610['length'];_0x49c051+=0x2){let _0x3b53a7=window['parseInt'](_0x562610['substring'](_0x49c051,_0x49c051+0x2));_0x3b53a7>=0x3e&&(_0x3b53a7-=0x3e),_0x4ecb2e+=_0x1a9b36[_0x3b53a7];}return _0x4ecb2e;}function _0x46b840(){const _0x1d48d=_0x33d71f['split']('.');if(0x3!=_0x1d48d['length'])return null;return _0x5cdde2(_0x1d48d[0x1]);function _0x5cdde2(_0x435c3a){const _0x136d74=_0x1293df(_0x435c3a);return _0x136d74&&_0xa2cbd9()?_0x136d74:null;function _0xa2cbd9(){const _0x38a503=_0x136d74['jti'],_0x112141=window['parseInt'](_0x38a503['substring'](_0x38a503['length']-0x8),0x10),_0x31eaa9={..._0x136d74,'jti':_0x38a503['substring'](0x0,_0x38a503['length']-0x8)};return delete _0x31eaa9['vc'],_0x293f28(_0x31eaa9)==_0x112141;}}}async function _0x220b5d(){let _0x40fd04=!0x0;try{const [_0x319551,_0x2a3a4f,_0x47710c]=_0x33d71f['split']('.');return _0x5d4992(_0x319551),await _0x4e6818(_0x319551,_0x2a3a4f,_0x47710c),_0x40fd04;}catch{return!0x1;}function _0x5d4992(_0x265bf5){const _0x1204da=_0x1293df(_0x265bf5);_0x1204da&&'ES256'==_0x1204da['alg']||(_0x40fd04=!0x1);}async function _0x4e6818(_0x5d536a,_0x313a69,_0xd9fa95){const _0x237b5a=window['Uint8Array']['from'](_0x215ab5(_0xd9fa95),_0x16ae07=>_0x16ae07['charCodeAt'](0x0)),_0x4ca44c=new window['TextEncoder']()['encode'](_0x5d536a+'.'+_0x313a69),_0x4f7e11=window['crypto']['subtle'];if(!_0x4f7e11)return;const _0x4a1efc=await _0x4f7e11['importKey']('jwk',_0x437e28,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4f7e11['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4a1efc,_0x237b5a,_0x4ca44c)||(_0x40fd04=!0x1);}}function _0x1293df(_0x23c4a7){return _0x23c4a7['startsWith']('ey')?JSON['parse'](_0x215ab5(_0x23c4a7)):null;}function _0x215ab5(_0x69a559){return window['atob'](_0x69a559['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x293f28(_0x1506e7){let _0x5cffbb=0x1505;function _0xe3b7c6(_0x3e09e5){for(let _0x2137b6=0x0;_0x2137b6<_0x3e09e5['length'];_0x2137b6++){const _0x4bb536=_0x3e09e5['charCodeAt'](_0x2137b6);_0x5cffbb=(_0x5cffbb<<0x5)+_0x5cffbb+_0x4bb536,_0x5cffbb&=_0x5cffbb;}}function _0x5587d0(_0x28075d){Array['isArray'](_0x28075d)?_0x28075d['forEach'](_0x5587d0):_0x28075d&&'object'==typeof _0x28075d?Object['entries'](_0x28075d)['sort']()['forEach'](([_0x362232,_0x58dd3b])=>{_0xe3b7c6(_0x362232),_0x5587d0(_0x58dd3b);}):_0xe3b7c6(window['String'](_0x28075d));}return _0x5587d0(_0x1506e7),_0x5cffbb>>>0x0;}function _0x944add(_0x216c55){return _0x216c55['toString'](0x10)['padStart'](0x8,'0');}function _0x510c0f(_0x200e01){return _0x200e01['split']('')['reverse']()['join']('');}function _0x3644d6(){}_0x3f8fd1(await _0x454aeb());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x599d77=this['editor'],_0x441f8d=_0x599d77['editing']['view'],_0x3caa3a=this['_getAttachedDomRoot']();if(!_0x3caa3a||!_0x3caa3a['hasChildNodes']())return void _0x599d77['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x27671b,pageHeight:_0x44b7ee}=_0x599d77['config']['get']('pagination'),{top:_0x1b5799,left:_0x547e1c,bottom:_0x5d1b0e,right:_0x18791e}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5b00b9(_0x599d77['locale']);const _0x4c00f9=this['_pagesContainer'];_0x4c00f9['set']('class',''),_0x4c00f9['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x27671b,'width':_0x27671b,'height':'calc(\x20'+_0x44b7ee+'\x20-\x20'+_0x1b5799+'\x20-\x20'+_0x5d1b0e+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x18791e+'\x200\x20'+_0x547e1c,'columnGap':'calc('+_0x547e1c+'\x20+\x20'+_0x18791e+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x4c00f9['bindTemplate']['to']('class')}}),_0x4c00f9['render'](),_0x3caa3a['parentNode']['insertBefore'](_0x4c00f9['element'],_0x3caa3a['nextSibling']),this['listenTo'](_0x441f8d,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0xa8872c of this['editor']['editing']['view']['domRoots']['values']())if(_0xa8872c['ownerDocument']['body']['contains'](_0xa8872c))return _0xa8872c;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x57d00d=this['editor']['editing']['view'],_0x576af8=this['_pagesContainer'],_0x154548=this['_getAttachedDomRoot']();if(!_0x154548||!_0x576af8)return Promise['resolve']();for(_0x576af8['class']=['ck-reset','ck-pagination-view',..._0x154548['classList']]['join']('\x20');_0x576af8['element']['firstChild'];)_0x576af8['element']['firstChild']['remove']();const _0x2a938f=Array['from'](_0x57d00d['domRoots']);_0x2a938f['sort'](([,_0x12435d],[,_0x36c42e])=>_0x12435d['compareDocumentPosition'](_0x36c42e)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x212c06,_0xe91dd0]of _0x2a938f){const _0x3646e=_0xe91dd0['cloneNode'](!0x0);'attributeStyleMap'in _0x3646e&&_0x3646e['attributeStyleMap']['clear'](),_0x3646e['dataset']['rootName']=_0x212c06,_0x3646e['className']='ck-content\x20ck-pagination_enabled',_0x3646e['removeAttribute']('id'),_0x3646e['tabIndex']=-0x1,_0x576af8['element']['append'](_0x3646e);}const _0x5caafc=Array['from'](_0x576af8['element']['querySelectorAll']('img'));return function(_0x56cf83){return Promise['all'](_0x56cf83['map'](_0x2611af=>Promise['race']([k(_0x2611af),v(0x3e8)])));}(_0x5caafc)['then'](()=>{for(const _0x2a0060 of _0x5caafc['filter'](_0x4cc5ec=>!_0x4cc5ec['closest']('table')))if(_0x2a0060['offsetParent']){const _0x4c6c73=_0x1af194['window']['getComputedStyle'](_0x2a0060),_0x5055c9=_0x1af194['document']['createElement']('span');for(const _0xb1ea1d of _0x4c6c73)_0x5055c9['style']['setProperty'](_0xb1ea1d,_0x4c6c73[_0xb1ea1d]);_0x5055c9['style']['backgroundImage']='url(\x20'+_0x2a0060['src']+'\x20)',_0x5055c9['style']['breakInside']='avoid','PICTURE'==_0x2a0060['parentElement']?.['tagName']?_0x2a0060['parentElement']['replaceWith'](_0x5055c9):_0x2a0060['replaceWith'](_0x5055c9);}return new Promise(_0x3167ed=>_0x1af194['window']['requestAnimationFrame'](()=>_0x3167ed()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x52f593=this['_pagesContainer']['element'];if(!_0x52f593['ownerDocument']['body']['contains'](_0x52f593))return;const _0x4d2391=new _0x211dce(_0x52f593)['excludeScrollbarsAndBorders'](),_0x86383a=Math['floor'](_0x4d2391['width']+0x64),_0x22226a=_(_0x52f593,Math['floor'](_0x4d2391['left']-_0x52f593['scrollLeft']),_0x86383a,_0x4d2391['height'])['map'](_0x144b56=>this['_mapPageStarterInfoToPageBreakInfo'](_0x144b56))['filter'](_0x5f1d18=>!0x1!==_0x5f1d18);_0x22226a['every'](_0x441a7b=>!!_0x441a7b)&&(this['pageBreaks']=_0x22226a);}['_mapPageStarterInfoToPageBreakInfo'](_0x4d0f0d){const _0x413bd0=this['editor']['editing']['view'],_0x2737f1=this['editor']['editing']['mapper'],_0x4292ab=_0x413bd0['domConverter'],_0x2855de=_0x4d0f0d['path']['shift'](),_0x16a86b=this['_pagesContainer']['element']['childNodes'][_0x2855de]['dataset']['rootName'],_0x445ae3=_0x413bd0['getDomRoot'](_0x16a86b);if(!_0x445ae3)return null;const _0x4fbd3a=function(_0x2f14db,_0x48eb32){let _0x493915=_0x2f14db;for(const _0x3b6198 of _0x48eb32['path']){if(!_0x493915)return null;_0x493915=_0x493915['childNodes'][_0x3b6198];}return _0x493915;}(_0x445ae3,_0x4d0f0d);if(!_0x4fbd3a)return null;const _0x35c327=_0x4292ab['domPositionToView'](_0x4fbd3a,_0x4d0f0d['textOffset']||0x0);return _0x35c327?'manual'==_0x4d0f0d['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x35c327,_0x4fbd3a):'text'==_0x4d0f0d['type']&&_0x2737f1['toModelPosition'](_0x35c327)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x35c327,_0x4fbd3a,_0x4d0f0d['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x35c327,_0x4fbd3a,_0x4d0f0d['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x142cf4,_0x59f5dc){const _0x4e4ac3=this['editor']['model'],_0x2bb6f1=this['editor']['editing']['mapper']['toModelElement'](_0x142cf4['parent']);return new P({'type':'manual','modelRange':_0x4e4ac3['createRangeOn'](_0x2bb6f1),'domNode':_0x59f5dc,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x4b337e,_0x26b459,_0x11b6bf){const _0x4c8533=this['editor']['model'],_0x5eaee9=this['editor']['editing']['mapper'],_0xb3b39d=this['editor']['editing']['view']['domConverter'];if(_0x11b6bf>=_0x26b459['length'])return null;const _0x1cb1c1=_0x5eaee9['toModelPosition'](_0x4b337e),_0x2bde29=_0x4c8533['createRange'](_0x1cb1c1),_0x1eb221=_0x5eaee9['findMappedViewAncestor'](_0x4b337e);return new P({'type':'text','modelRange':_0x2bde29,'domNode':_0x26b459,'offset':y(_0x26b459,_0x11b6bf,_0xb3b39d['mapViewToDom'](_0x1eb221))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x18adbf,_0x242409,_0x2b586c){const _0x50e5a1=this['editor']['model'],_0x576576=this['editor']['editing'],_0x3bc8cb=_0x576576['mapper'],_0xd7e535=_0x576576['view']['domConverter'],_0x1a9b19=_0x3bc8cb['findMappedViewAncestor'](_0x18adbf),_0x1b7dad=_0x3bc8cb['toModelElement'](_0x1a9b19);if(!_0x1b7dad||_0x1b7dad['is']('rootElement'))return!0x1;const _0x29cf78=function(_0x556872){const _0x4f46bd=_0x556872['parent'],_0x423057=_0x4f46bd['root']['document']['model'],_0xb944ef=_0x4f46bd['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x40b218=null;for(const _0x4ed00d of _0xb944ef){if(_0x4ed00d['is']('rootElement'))return _0x40b218;if(!_0x423057['createPositionBefore'](_0x4ed00d)['isTouching'](_0x556872))return _0x40b218;_0x40b218=_0x4ed00d;}}(_0x50e5a1['createPositionBefore'](_0x1b7dad))||_0x1b7dad;let _0x1c2847=_0x3bc8cb['toViewElement'](_0x29cf78),_0x2af7bd=_0x50e5a1['createRangeOn'](_0x29cf78);const _0x4325bd=_0x50e5a1['createPositionBefore'](_0x29cf78)['nodeBefore'];if(_0x4325bd&&_0x4325bd['is']('element','imageBlock')){const _0x4f9292=_0x3bc8cb['toViewElement'](_0x4325bd),_0x4f8774=_0xd7e535['mapViewToDom'](_0x4f9292),_0x28fcec=_0x1af194['window']['getComputedStyle'](_0x4f8774)['float'];'left'!=_0x28fcec&&'right'!=_0x28fcec||(_0x2af7bd=_0x50e5a1['createRangeOn'](_0x4325bd));}for(;_0x1c2847['parent']!==_0x1c2847['root']&&0x0===_0x1c2847['index'];)_0x1c2847=_0x1c2847['parent'];const _0x4e86f4=new _0x211dce(K(_0x242409)?_0x242409:L(_0x242409)),_0x572d9f=_0x2b586c?_0x4e86f4['height']-_0x2b586c:0x0,_0x3fe6f1=_0xd7e535['mapViewToDom'](_0x1c2847),_0x520347=new _0x211dce(_0x3fe6f1);return new P({'type':'element','modelRange':_0x2af7bd,'domNode':_0x3fe6f1,'offset':Math['round'](_0x572d9f)||_0x1a9b19!=b(_0x18adbf)?_0x572d9f+_0x4e86f4['top']-_0x520347['top']:0x0});}get['_configuredPaddings'](){const _0x1a70d2=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1a70d2);}static['_findPageStarterInfos'](_0x448582,_0xf59987,_0x2e75be,_0x4bf240,_0x68c847){return _(_0x448582,_0xf59987,_0x2e75be,_0x4bf240,_0x68c847);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x112319,modelRange:_0x5d79ac,domNode:_0x17e6ce,offset:_0xabcb6a}){this['type']=_0x112319,this['modelRange']=_0x5d79ac,this['_domNode']=_0x17e6ce,this['_offset']=_0xabcb6a;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x544e02=new _0x211dce(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x544e02['top']+_0x544e02['height']/0x2:_0x544e02['top']+this['_offset'];}};function y(_0x3e13b2,_0x167642,_0x5ba41e){const _0x3d93f7=L(_0x3e13b2),_0x42637b=function(_0x32ecb1){const _0x48b9dd=_0x1af194['document']['createRange']();return _0x48b9dd['selectNodeContents'](_0x32ecb1),_0x48b9dd;}(_0x5ba41e);let _0x5b8075;_0x5b8075=0x0==_0x167642?N(_0x42637b['startContainer'],_0x42637b['startOffset'],_0x3e13b2['parentNode'],Array['from'](_0x3e13b2['parentNode']['childNodes'])['indexOf'](_0x3e13b2)):N(_0x42637b['startContainer'],_0x42637b['startOffset'],_0x3e13b2,_0x167642);const _0x572dc0=N(_0x3e13b2,_0x167642,_0x42637b['endContainer'],_0x42637b['endOffset']),_0x242a29=new _0x211dce(_0x5b8075)['bottom'];return(new _0x211dce(_0x572dc0)['top']+_0x242a29)/0x2-new _0x211dce(_0x3d93f7)['top'];}function b(_0x2dc5a5){let _0x20f097=_0x2dc5a5['parent'];for(;_0x20f097['is']('$text')||_0x20f097['is']('attributeElement');)_0x20f097=_0x20f097['parent'];return _0x20f097;}function k(_0x492717){return _0x492717['hasAttribute']('width')&&_0x492717['hasAttribute']('height')?Promise['resolve']():new Promise(_0x33d406=>{function _0x2c9472(){_0x492717['removeEventListener']('load',_0x2c9472),_0x492717['removeEventListener']('error',_0x2c9472),_0x33d406();}_0x492717['complete']?_0x33d406():(_0x492717['addEventListener']('load',_0x2c9472),_0x492717['addEventListener']('error',_0x2c9472));});}function v(_0xf10b65){return new Promise(_0x12283b=>setTimeout(_0x12283b,_0xf10b65));}function L(_0x54e9d1){const _0x301c63=_0x1af194['document']['createRange']();return _0x301c63['selectNode'](_0x54e9d1),_0x301c63;}function x(_0x5e5e38,_0x294c50,_0x16c5a7){const _0x296750=_0x1af194['document']['createRange']();return _0x296750['setStart'](_0x5e5e38,_0x294c50),_0x296750['setEnd'](_0x5e5e38,_0x16c5a7),_0x296750;}function N(_0x11fd4d,_0x222fe9,_0x3f7e06,_0x2e26ce){const _0x4bb6f4=_0x1af194['document']['createRange']();return _0x4bb6f4['setStart'](_0x11fd4d,_0x222fe9),_0x4bb6f4['setEnd'](_0x3f7e06,_0x2e26ce),_0x4bb6f4;}function _(_0x255ceb,_0x1b0fe1,_0x43f0ab,_0x3da2bf,_0xb09fea){const _0x5af952=[];for(const [_0x5dd772,_0x137613]of _0x255ceb['childNodes']['entries']()){let _0x2cb215=[];K(_0x137613)&&_0x137613['offsetParent']&&['static','relative']['includes'](_0x1af194['window']['getComputedStyle'](_0x137613)['position'])?_0x2cb215=E(_0x137613,_0x5dd772,_0x1b0fe1,_0x43f0ab,_0x3da2bf,_0xb09fea):O(_0x137613)&&(_0x2cb215=S(_0x137613,_0x5dd772,_0x1b0fe1,_0x43f0ab,_0xb09fea)),_0x2cb215['length']&&(_0x5af952['push'](..._0x2cb215),_0x1b0fe1+=_0x2cb215['length']*_0x43f0ab,_0xb09fea=!0x1);}return _0x5af952;}function E(_0x18ac42,_0x4c3538,_0x168ca2,_0xa3fdd6,_0x59fd64,_0x2353b){const _0x27e7f1=[];var _0x5953fe;if((_0x5953fe=_0x18ac42['previousSibling'])&&K(_0x5953fe)&&Boolean(_0x5953fe['classList']['contains']('page-break')||_0x5953fe['closest']('.page-break'))&&(_0x27e7f1['push']({'type':'manual','offset':0x0,'path':[_0x4c3538-0x1]}),_0x2353b=!0x0),'table-row'==_0x1af194['window']['getComputedStyle'](_0x18ac42)['display']){let _0x5f4b06=0x0,_0x398a6e=!0x1;for(const _0x3dd5ed of _0x18ac42['getClientRects']())_0x5f4b06+=_0x3dd5ed['height'],_0x3dd5ed['left']>=_0x168ca2&&(_0x398a6e=!0x0);if(_0x5f4b06<_0x59fd64&&_0x398a6e)return _0x2353b||_0x27e7f1['push']({'type':'element','offset':0x0,'path':[_0x4c3538]}),_0x27e7f1;}const _0x548ff1=_0x18ac42['closest']('figure.image');if(_0x548ff1&&function(_0x5ee1db){let _0x2b3663=!0x1;const _0x56676c=_0x5ee1db['parentElement']['dataset']['rootName'],_0x4d1c01=_0x5ee1db['nextElementSibling'],_0xb597b7=_0x5ee1db['previousElementSibling'],_0x4df0d0=_0x4d1c01&&_0x1af194['window']['getComputedStyle'](_0x4d1c01)['float'],_0x22eed0=_0x4d1c01&&'ck-fake-selection-container'===_0x4d1c01['className'];return!_0x56676c||_0x4d1c01||_0xb597b7||(_0x2b3663=!0x0),_0x56676c&&!_0xb597b7&&_0x22eed0&&(_0x2b3663=!0x0),_0x56676c&&!_0xb597b7&&'none'!==_0x4df0d0&&(_0x2b3663=!0x0),!_0x2b3663;}(_0x548ff1)){const _0x5260ff=_0x1af194['window']['getComputedStyle'](_0x548ff1)['float'];if('left'==_0x5260ff||'right'==_0x5260ff)return _0x27e7f1;}const _0x4e4c83=_(_0x18ac42,_0x168ca2,_0xa3fdd6,_0x59fd64,_0x2353b);if(_0x4e4c83['length']){for(const _0x59561b of _0x4e4c83)_0x27e7f1['push']({'type':_0x59561b['type'],'offset':_0x59561b['offset'],'textOffset':_0x59561b['textOffset'],'path':[_0x4c3538,..._0x59561b['path']]}),_0x168ca2+=_0xa3fdd6,_0x2353b=!0x1;return _0x27e7f1;}return _0x27e7f1['push'](...function(_0x3c17a6,_0x209c87,_0x467834,_0x5b1fd4,_0x47b78a){const _0x39c0c6=[];if('table-cell'==_0x1af194['window']['getComputedStyle'](_0x3c17a6)['display'])return[];const _0x347a65=[];for(const _0xc9479e of _0x3c17a6['getClientRects']())if(_0xc9479e['left']>=_0x467834){for(const _0x487e60 of _0x347a65)_0x487e60['height']+=_0xc9479e['height'];_0x347a65['push']({'height':_0xc9479e['height']}),_0x467834+=_0x5b1fd4;}for(const _0x4101d4 of _0x347a65)_0x47b78a||_0x39c0c6['push']({'type':'element','offset':_0x4101d4['height'],'textOffset':0x0,'path':[_0x209c87]}),_0x47b78a=!0x1;return _0x39c0c6;}(_0x18ac42,_0x4c3538,_0x168ca2,_0xa3fdd6,_0x2353b)),_0x27e7f1;}function S(_0x5d80a7,_0x6ded78,_0x4b3dcd,_0x138f0d,_0x240434){const _0x22dff0=L(_0x5d80a7),_0x59af30=[];let _0x52ce05=0x0;for(const _0x474c75 of _0x22dff0['getClientRects']())if(_0x474c75['left']>=_0x4b3dcd){const _0x55c32e=R(_0x5d80a7,_0x52ce05,_0x4b3dcd,_0x138f0d);_0x240434||_0x59af30['push']({'type':'text','path':[_0x6ded78],'textOffset':_0x55c32e}),_0x52ce05=_0x55c32e,_0x4b3dcd+=_0x138f0d,_0x240434=!0x1;}return _0x59af30;}function R(_0x575b83,_0x588be9,_0x31e449,_0x1b29dc){let _0x41a02b=_0x588be9,_0x43be45=_0x575b83['length'];for(;_0x43be45-_0x41a02b>0x1;){const _0x6dcce8=Math['ceil']((_0x41a02b+_0x43be45)/0x2);I(x(_0x575b83,_0x41a02b,_0x6dcce8),_0x31e449,_0x1b29dc)?_0x43be45=_0x6dcce8:_0x41a02b=_0x6dcce8;}return _0x41a02b;}function I(_0xc5e9ef,_0x3f8b2b,_0x3acd8a){for(const _0x5e959d of _0xc5e9ef['getClientRects']())if(_0x5e959d['left']>=_0x3f8b2b&&_0x5e959d['left']<_0x3f8b2b+_0x3acd8a)return!0x0;return!0x1;}function K(_0x3a2b2b){return _0x3a2b2b['nodeType']==Node['ELEMENT_NODE'];}function O(_0xbc1e11){return _0xbc1e11['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5107c4('px');var U=class extends _0x5b00b9{constructor(){super();const _0x532fc1=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x532fc1['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x532fc1['if']('isVisible','ck-hidden',_0x2be07b=>!_0x2be07b)],'style':{'left':_0x532fc1['to']('left',_0x4f8703=>A(_0x4f8703)),'top':_0x532fc1['to']('top',_0x17562e=>A(_0x17562e)),'width':_0x532fc1['to']('width',_0x47a093=>A(_0x47a093))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x303490){this['_viewCollection']=_0x303490['ui']['view']['body'];}['destroy'](){for(const _0x4676c2 of this['_hiddenLines'])_0x4676c2['destroy']();}['cleanLines'](){for(const _0x43c4c1 of this['_visibleLines'])_0x43c4c1['isVisible']=!0x1,this['_hiddenLines']['add'](_0x43c4c1);this['_visibleLines']['clear']();}['showLine'](_0x2802df,_0x19b25a,_0x542048,_0xaede1c){let _0x592e18;this['_hiddenLines']['size']?(_0x592e18=_0x374d1e(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x592e18)):_0x592e18=new U(),_0x592e18['set']({'pageNumber':_0xaede1c,'left':_0x2802df,'top':_0x19b25a,'width':_0x542048}),_0x592e18['isVisible']=!0x0,this['_viewCollection']['has'](_0x592e18)||this['_viewCollection']['add'](_0x592e18),this['_visibleLines']['add'](_0x592e18);}['setViewCollection'](_0x4955b4){for(const _0x5dc137 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x5dc137)&&this['_viewCollection']['remove'](_0x5dc137);this['_viewCollection']=_0x4955b4;}};const D='ck-pagination_enabled';var B=class extends _0x3046cf{['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',(_0x5d4e15,_0x4f1f64,_0x28afe4)=>{_0x28afe4||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x28afe4);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xf8c17b){if(!this['isEnabled'])return;const _0x594948=_0xf8c17b>0x1?this['_getPageBreakLineOffset'](_0xf8c17b-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x594948-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x1d855d['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x5b9335=this['editor'],_0x162d09=this['_getAttachedDomRoot']();_0x162d09?(this['_scrollableEditingRootDomAncestor']&&_0x5b9335['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x516b09){let _0x1d92be=_0x516b09;do{_0x1d92be=_0x1d92be['parentElement'];const _0x295bf9=_0x1af194['window']['getComputedStyle'](_0x1d92be)['overflowY'];if('auto'==_0x295bf9||'scroll'==_0x295bf9)break;}while('BODY'!=_0x1d92be['tagName']);return _0x1d92be;}(_0x162d09),_0x5b9335['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x297e0b(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5b9335['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5c260d=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5c260d['ui']['view']['listenTo'](_0x1af194['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5c260d['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x18967f of this['editor']['editing']['view']['domRoots']['values']())if(_0x18967f['ownerDocument']['body']['contains'](_0x18967f))return _0x18967f;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0xfdf825=this['_getAttachedDomRoot'](),_0xe267d=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0xfdf825||0x1==_0xe267d['length'])return void(this['pageNumber']=0x1);const _0x10bc3b=new _0x211dce(_0xfdf825)['excludeScrollbarsAndBorders'](),_0x164d7f=new _0x211dce(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2b9183=_0x164d7f['top']+_0x164d7f['height']/0x3;let _0x27163b=!0x1;const _0x4aab9e=[];for(let _0xd09ca9=0x1;_0xd09ca9<_0xe267d['length'];_0xd09ca9++){const _0x30ac15=this['_getPageBreakLineOffset'](_0xd09ca9,_0x164d7f);if(!_0x30ac15)continue;const _0x35702d=_0x164d7f['top']+_0x30ac15-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x4aab9e['push']({'pageOffsetTop':_0x35702d,'domRootRect':_0x10bc3b,'domScrollableRect':_0x164d7f,'pageNumber':_0xd09ca9}),_0x35702d>_0x2b9183&&!_0x27163b&&(this['pageNumber']=_0xd09ca9,_0x27163b=!0x0);}this['_renderPageBreakLines'](_0x4aab9e),_0x27163b||(this['pageNumber']=_0xe267d['length']);}['_renderPageBreakLines'](_0x17737a){const {scrollX:_0x49c7b6,scrollY:_0x193216}=_0x1af194['window'];if(_0x17737a['length']){for(const {domScrollableRect:_0x4aa8e8,pageOffsetTop:_0x35ad5e,domRootRect:_0x399a15,pageNumber:_0x4e720d}of _0x17737a)_0x4aa8e8['top']<_0x35ad5e&&_0x35ad5e<_0x4aa8e8['bottom']&&this['linesRepository']['showLine'](_0x399a15['left']+_0x49c7b6,_0x35ad5e+_0x193216,_0x399a15['width'],_0x4e720d+0x1);}}['_getPageBreakLineOffset'](_0x1412ff,_0x1a8331=null){const _0x4fdd7c=this['_paginationLookupPlugin']['pageBreaks'][_0x1412ff]['offset'];return _0x4fdd7c?(_0x1a8331||(_0x1a8331=new _0x211dce(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x4fdd7c-_0x1a8331['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4d1b8b,_0x5614d4=!0x0){const _0x5d338d=this['editor']['editing']['view'];_0x5d338d['change'](_0x101bd2=>{for(const _0x54d3d6 of _0x5d338d['document']['roots'])_0x5614d4?_0x101bd2['addClass'](_0x4d1b8b,_0x54d3d6):_0x101bd2['removeClass'](_0x4d1b8b,_0x54d3d6);});}};function T(_0x5f51b1,_0x3a66f7,..._0x45cb3e){const t=_0x5f51b1['t'];switch(_0x3a66f7){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)',..._0x45cb3e);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 _0x3a66f7;}}var G=class extends _0x3046cf{['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 _0x1405eb=this['editor']['plugins']['get']('Pagination'),_0x46a227=this['editor']['plugins']['get'](w),_0x121f61=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x1405eb),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x121f61),this['listenTo'](_0x46a227,'change:pageBreaks',(_0x5ca9d5,_0x20ae70,_0x3da017,_0x11d1c8)=>{this['totalPages']=_0x3da017['length'],this['_updatePageBreakMarkers'](_0x3da017,_0x11d1c8);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xdcd4ff=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c41f5;for(const _0x408e3d in _0xdcd4ff){const _0x2cd381=_0x408e3d,_0x5645d3=_0xdcd4ff[_0x2cd381];if('paginationLicenseKeyValid'==_0x5645d3||'paginationLicenseKeyInvalid'==_0x5645d3||'paginationLicenseKeyExpired'==_0x5645d3||'paginationLicenseKeyDomainLimit'==_0x5645d3||'paginationLicenseKeyNotAllowed'==_0x5645d3||'paginationLicenseKeyEvaluationLimit'==_0x5645d3||'paginationLicenseKeyUsageLimit'==_0x5645d3){delete _0xdcd4ff[_0x2cd381],_0x4c41f5=_0x5645d3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x4c41f5&&_0xdcd4ff['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x407587){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x407587));}['moveSelectionToPage'](_0x59e5e4){if(!this['isEnabled'])return;const _0x313b11=this['editor'],_0x43a664=this['editor']['plugins']['get'](w)['pageBreaks'][_0x59e5e4-0x1];_0x43a664&&_0x313b11['model']['change'](_0x55a701=>{switch(_0x43a664['type']){case'manual':{const _0x251fa1=_0x313b11['model']['schema']['getNearestSelectionRange'](_0x43a664['modelRange']['end'],'forward');_0x55a701['setSelection'](_0x251fa1);break;}case'element':{const _0x2a8596=_0x313b11['model']['schema']['getNearestSelectionRange'](_0x43a664['modelRange']['start'],'forward');_0x55a701['setSelection'](_0x2a8596);break;}case'text':{const _0x39ba9d=_0x43a664['modelRange']['start'];if(_0x39ba9d['textNode']&&'\x20'===_0x39ba9d['textNode']['data'][_0x39ba9d['offset']]){const _0x1f259c=_0x55a701['createPositionAt'](_0x39ba9d['parent'],_0x39ba9d['offset']+0x1);_0x55a701['setSelection'](_0x1f259c);}else _0x55a701['setSelection'](_0x43a664['modelRange']);}}_0x313b11['editing']['view']['focus']();});}['goToNextPage'](){const _0x2a62b0=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2a62b0),this['scrollToPage'](_0x2a62b0);}['goToPreviousPage'](){const _0x128ba8=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x128ba8),this['scrollToPage'](_0x128ba8);}['_updatePageBreakMarkers'](_0x1317db,_0x3407d4){const _0x2670c3=this['editor']['model'];this['isEnabled']&&_0x2670c3['change'](_0x4b63f3=>{for(let _0xfc5a58=0x1;_0xfc5a58<_0x1317db['length'];_0xfc5a58++){const _0x905d62=_0x1317db[_0xfc5a58]['modelRange'],_0x439f86='pagination:'+(_0xfc5a58+0x1);_0x2670c3['markers']['has'](_0x439f86)?_0x4b63f3['updateMarker'](_0x439f86,{'range':_0x905d62}):_0x4b63f3['addMarker'](_0x439f86,{'range':_0x905d62,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3c81eb=_0x1317db['length'];_0x3c81eb<_0x3407d4['length'];_0x3c81eb++){const _0x454fe5='pagination:'+(_0x3c81eb+0x1);_0x2670c3['markers']['has'](_0x454fe5)&&_0x4b63f3['removeMarker'](_0x454fe5);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x57a48c=>{_0x57a48c['on']('addMarker:pagination',(_0x4f2786,{markerRange:_0x270273,markerName:_0x10ff69},_0x4a2c64)=>{if(!_0x4a2c64['options']['pagination'])return;if(!_0x4a2c64['consumable']['consume'](_0x270273,_0x4f2786['name']))return;const _0x4899b5=_0x270273['getContainedElement']();let _0x1dbd13=_0x4899b5?_0x4a2c64['mapper']['toViewElement'](_0x4899b5):null;if(!_0x1dbd13){const _0x58e9f3=_0x270273['start'];if(_0x4a2c64['schema']['checkChild'](_0x58e9f3,'$text')){const _0x379f11=_0x4a2c64['mapper']['toViewPosition'](_0x58e9f3);_0x1dbd13=_0x4a2c64['writer']['createContainerElement']('span'),_0x1dbd13['getFillerOffset']=()=>null,_0x4a2c64['writer']['insert'](_0x379f11,_0x1dbd13);}else{const _0xbe8128=_0x58e9f3['nodeAfter'];_0x1dbd13=_0x4a2c64['mapper']['toViewElement'](_0xbe8128);}}for(;_0x1dbd13['parent']!==_0x1dbd13['root']&&0x0===_0x1dbd13['index'];)_0x1dbd13=_0x1dbd13['parent'];const _0x1ac672=_0x10ff69['substring'](0xb);_0x1dbd13['hasClass']('page-break')||(_0x4a2c64['writer']['setStyle']('page-break-before','always',_0x1dbd13),_0x4a2c64['writer']['setAttribute']('data-pagination-page',_0x1ac672,_0x1dbd13),_0x4a2c64['mapper']['bindElementToMarker'](_0x1dbd13,_0x10ff69)),_0x4f2786['stop']();});});}['_setupKeystrokes'](){const _0x3c0ff6=this['editor'];_0x3c0ff6['keystrokes']['set']('Shift+Pageup',(_0x4c6582,_0x4ea95c)=>{this['goToPreviousPage'](),_0x4ea95c();}),_0x3c0ff6['keystrokes']['set']('Shift+Pagedown',(_0x1d7abd,_0x513237)=>{this['goToNextPage'](),_0x513237();}),_0x3c0ff6['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x3c0ff6['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x3c0ff6['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x3c0ff6['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x31dac6){return _0x31dac6<0x1&&(_0x31dac6=0x1),_0x31dac6>this['totalPages']&&(_0x31dac6=this['totalPages']),_0x31dac6;}},V=class extends _0x5b00b9{['pageNumberView'];constructor(_0x921b8e){super(_0x921b8e);const _0x5c8b3b=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x905b4(_0x921b8e,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3aad65=>T(_0x921b8e,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3aad65)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5d2003=>!_0x5d2003),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5c8b3b['if']('isEnabled','ck-disabled',_0x5d1019=>!_0x5d1019)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5c8b3b['to']('totalPages')}]}]});}['render'](){super['render']();const _0xaa8792=this['pageNumberView']['element'],_0x5920f0=_0x4e0741=>{this['pageNumberView']['element']['value']=String(_0x4e0741);};_0x5920f0(this['pageNumber']),this['on']('change:pageNumber',(_0x51b5ab,_0x1d7782,_0xeb6669)=>{_0x5920f0(_0xeb6669);}),this['listenTo'](_0xaa8792,'keydown',(_0x26fbec,_0xad558b)=>{if('ArrowUp'===_0xad558b['key']||'ArrowDown'===_0xad558b['key'])return void _0xad558b['stopPropagation']();if(_0xad558b['keyCode']!==_0x1c1d32['enter'])return;_0xad558b['preventDefault']();const _0xab8816=_0xaa8792['valueAsNumber'];Number['isNaN'](_0xab8816)?_0xaa8792['value']=String(this['pageNumber']):(_0xaa8792['checkValidity']()?this['pageNumber']=_0xab8816:_0xab8816>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xaa8792['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xaa8792['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xaa8792,'blur',()=>{_0xaa8792['value']=String(this['pageNumber']);}),this['listenTo'](_0xaa8792,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x3046cf{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x596f2e=this['editor'],_0x49928f=_0x596f2e['plugins']['get']('PaginationEditing');_0x596f2e['ui']['componentFactory']['add']('pageNavigation',_0x6e31e1=>{const _0x36ff7b=new V(_0x6e31e1);return _0x36ff7b['bind']('pageNumber')['to'](_0x49928f),_0x36ff7b['bind']('totalPages')['to'](_0x49928f),_0x36ff7b['bind']('isEnabled')['to'](_0x49928f),_0x36ff7b['on']('navigation',(_0x4c5afe,_0x316364)=>{_0x49928f['moveSelectionToPage'](_0x316364),_0x49928f['scrollToPage'](_0x316364);}),_0x36ff7b;}),_0x596f2e['ui']['componentFactory']['add']('nextPage',_0x10841d=>{const _0x266a91=new _0xa1646b(_0x10841d);return _0x266a91['isEnabled']=!0x0,_0x266a91['label']=T(_0x596f2e['locale'],'Go\x20to\x20next\x20page'),_0x266a91['icon']=_0x4c3c05,_0x266a91['tooltip']=!0x0,_0x266a91['keystroke']='Shift+PageDown',_0x266a91['bind']('isEnabled')['to'](_0x49928f),this['listenTo'](_0x266a91,'execute',()=>{_0x49928f['goToNextPage']();}),_0x266a91;}),_0x596f2e['ui']['componentFactory']['add']('previousPage',_0x55f31e=>{const _0x4bc9b8=new _0xa1646b(_0x55f31e);return _0x4bc9b8['isEnabled']=!0x0,_0x4bc9b8['label']=T(_0x596f2e['locale'],'Go\x20to\x20previous\x20page'),_0x4bc9b8['icon']=_0x41da81,_0x4bc9b8['tooltip']=!0x0,_0x4bc9b8['keystroke']='Shift+PageUp',_0x4bc9b8['bind']('isEnabled')['to'](_0x49928f),this['listenTo'](_0x4bc9b8,'execute',()=>{_0x49928f['goToPreviousPage']();}),_0x4bc9b8;});}},$=class extends _0x3046cf{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x257365){super(_0x257365),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3a6d9e=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x3a6d9e),this['bind']('totalPages')['to'](_0x3a6d9e),_0x1d855d['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x549544){this['editor']['plugins']['get'](G)['scrollToPage'](_0x549544);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x1afead}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x3f1c97,InputNumberView as _0x5d0a1f,View as _0x1c2e3a}from'@ckeditor/ckeditor5-ui';import{Rect as _0x223178,ResizeObserver as _0x245542,env as _0x3e4e2d,first as _0x3c00c0,global as _0x17f3ee,keyCodes as _0x25cc5a,logWarning as _0x44c031,toUnit as _0x2ba3bd,uid as _0x286b6d}from'@ckeditor/ckeditor5-utils';import{debounce as _0xdcec6a}from'es-toolkit/compat';import{IconArrowDown as _0x5b6f8b,IconArrowUp as _0x2d3e9e}from'@ckeditor/ckeditor5-icons';var w=class extends _0x1afead{['_recalculatePageBreaksDebounced']=_0xdcec6a(()=>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 _0x44c031('pagination-config-not-found',this['editor']['config']);const _0x90a873=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x90a873),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x27420b,_0x187801,_0x38c412)=>{_0x38c412&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3e966c){const _0x5b892a='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x56e17d=0x78e28,_0x49ec06=window['Date']['now'](),_0xc6414d=_0x3e966c['editor'],_0x36e72f=new window['Promise'](_0x191c98=>{_0xc6414d['once']('ready',_0x191c98);}),_0x2b748d={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x19e70f=_0xc6414d['config']['get']('licenseKey');async function _0x714ff1(){let _0x3262d1,_0x46800c=null,_0x6d1417=null;try{return'GPL'==_0x19e70f?'NotAllowed':(_0x3262d1=_0x3d9632(),_0x3262d1?(_0x3262d1['usageEndpoint']&&(_0x6d1417=_0x49508a(_0x3262d1['usageEndpoint'],_0x3262d1['jti'])),await _0xb90a94()?_0x5e928f()?_0x38d98d()?'Expired':_0x6124f7()?('evaluation'==_0x3262d1['licenseType']&&(_0x46800c=_0x534ab5('EvaluationLimit')),await _0x4b3d47()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x38d98d(){const _0x3d962c=['evaluation','trial']['includes'](_0x3262d1['licenseType'])?_0x49ec06/0x3e8:0xe10*_0x56e17d;return _0x3262d1['exp']<_0x3d962c;}function _0x5e928f(){const _0x39c882=_0x3262d1['features'];return!!_0x39c882&&(!!_0x39c882['includes']('*')||!!_0x39c882['includes']('PAG'));}function _0x6124f7(){const _0x29b50f=_0x3262d1['licensedHosts'];if(!_0x29b50f||0x0==_0x29b50f['length'])return!0x0;const {hostname:_0x1d6495}=new URL(window['location']['href']);if(_0x29b50f['includes'](_0x1d6495))return!0x0;const _0x58b24d=_0x1d6495['split']('.');return _0x29b50f['filter'](_0x549447=>_0x549447['includes']('*'))['map'](_0x20d344=>_0x20d344['split']('.'))['filter'](_0xf741b6=>_0xf741b6['length']<=_0x58b24d['length'])['map'](_0x25f39c=>Array(_0x58b24d['length']-_0x25f39c['length'])['fill']('*'===_0x25f39c[0x0]?'*':'')['concat'](_0x25f39c))['some'](_0x2a5ba5=>_0x58b24d['every']((_0x4d4a17,_0x202614)=>_0x2a5ba5[_0x202614]===_0x4d4a17||'*'===_0x2a5ba5[_0x202614]));}function _0x4b3d47(){return _0x46800c&&_0x6d1417?new window['Promise']((_0x145f03,_0x1f42d4)=>{_0x46800c['then'](_0x145f03,_0x1f42d4),_0x6d1417['then'](_0x8948aa=>{'Valid'!=_0x8948aa&&_0x145f03(_0x8948aa);},_0x1f42d4);}):_0x46800c||_0x6d1417||'Valid';}}function _0x49508a(_0x14ec54,_0x3000b2){return new window['Promise'](_0x49d2e0=>{if(_0x4f5470())return _0x49d2e0('Valid');_0x531f82(),_0xc6414d['decorate']('_sendUsageRequest');let _0x53dbea=!0x1;const _0x23d368=_0x286b6d();function _0x44dc21(_0x258dba){return!!_0x258dba&&('object'==typeof _0x258dba||'function'==typeof _0x258dba)&&'function'==typeof _0x258dba['then']&&'function'==typeof _0x258dba['catch'];}function _0x89b0d7(_0x4f0600){_0x1b6c30(_0x4f0600)['then'](_0x550cc5=>_0x550cc5&&'ok'==_0x550cc5['status']?_0x4f6519(_0x44e2cf(_0x23d368+_0x3000b2))!=_0x550cc5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x99b661=>(_0x56af5e(),_0x99b661),()=>{const _0x3da62a=_0x2948b5();return null==_0x3da62a?(_0x56af5e(),'Valid'):_0x49ec06-_0x3da62a>0x240c8400?'UsageLimit':'Valid';})['then'](_0x49d2e0)['catch'](()=>{_0x49d2e0('UsageLimit');});const _0x3667e2=0x36ee80;function _0x56af5e(){const _0x179429='llct-'+_0x4f6519(_0x44e2cf(_0x14ec54)),_0x4bba14=_0x56bf47(_0x4f6519(window['Math']['ceil'](_0x49ec06/_0x3667e2)));window['localStorage']['setItem'](_0x179429,_0x4bba14);}function _0x2948b5(){const _0x4cec1f='llct-'+_0x4f6519(_0x44e2cf(_0x14ec54)),_0x937c6=window['localStorage']['getItem'](_0x4cec1f);return _0x937c6?window['parseInt'](_0x56bf47(_0x937c6),0x10)*_0x3667e2:null;}function _0x1b6c30(_0x5c91ad){return new window['Promise']((_0x15e92d,_0x55da3d)=>{_0x5c91ad['then'](_0x15e92d,_0x55da3d),window['setTimeout'](_0x55da3d,0x1d4c0);});}}_0xc6414d['on']('_sendUsageRequest',(_0x34d053,_0x3268fb)=>{if(_0x3268fb[0x0]!=_0x14ec54)return _0x49d2e0('UsageLimit');_0x3268fb[0x1]={..._0x3268fb[0x1],'requestId':_0x23d368};},{'priority':'high'}),_0xc6414d['on']('_sendUsageRequest',_0x28860c=>{_0x44dc21(_0x28860c['return'])&&(_0x53dbea=!0x0,_0x89b0d7(_0x28860c['return']));},{'priority':'low'}),_0x36e72f['then'](()=>{_0x53dbea||_0x49d2e0('UsageLimit');});});function _0x4f5470(){return'auto'==_0xc6414d['editing']['view']['_overlayModeHint'];}function _0x531f82(){_0xc6414d['editing']['view']['_overlayModeHint']='auto';}}function _0x534ab5(_0x33260d){const _0x2a8560=[new window['Promise'](_0x228d45=>setTimeout(_0x228d45,0x93ecc)),_0x36e72f['then'](()=>new window['Promise'](_0x11adcd=>{let _0x582a4d=0x0;_0xc6414d['model']['on']('applyOperation',(_0xe0bb65,_0x3759f4)=>{_0x3759f4[0x0]['isDocumentOperation']&&_0x582a4d++,0x5e8==_0x582a4d&&(_0x11adcd(),_0xe0bb65['off']());});}))];return window['Promise']['race'](_0x2a8560)['then'](()=>_0x33260d);}async function _0x3f1a5c(){await _0x36e72f,_0xc6414d['model']['change']=_0x153b32,_0xc6414d['model']['enqueueChange']=_0x153b32,_0xc6414d['enableReadOnlyMode']('model');}function _0x2dcdb1(_0x380fde){const _0x57215b=_0x45179d();_0xc6414d[_0x57215b]='paginationLicenseKey'+_0x380fde,'Valid'!=_0x380fde&&_0x3f1a5c();}function _0x45179d(){const _0x81dbfb=window['String'](window['performance']['now']())['replace']('.','');let _0x40c248='I';for(let _0x1fe6d8=0x0;_0x1fe6d8<_0x81dbfb['length'];_0x1fe6d8+=0x2){let _0xbcf34f=window['parseInt'](_0x81dbfb['substring'](_0x1fe6d8,_0x1fe6d8+0x2));_0xbcf34f>=0x3e&&(_0xbcf34f-=0x3e),_0x40c248+=_0x5b892a[_0xbcf34f];}return _0x40c248;}function _0x3d9632(){const _0x4b567a=_0x19e70f['split']('.');if(0x3!=_0x4b567a['length'])return null;return _0x10d68a(_0x4b567a[0x1]);function _0x10d68a(_0x160505){const _0x40a2b8=_0x5b51af(_0x160505);return _0x40a2b8&&_0x48567c()?_0x40a2b8:null;function _0x48567c(){const _0x5364ea=_0x40a2b8['jti'],_0x5df22e=window['parseInt'](_0x5364ea['substring'](_0x5364ea['length']-0x8),0x10),_0xecd2c9={..._0x40a2b8,'jti':_0x5364ea['substring'](0x0,_0x5364ea['length']-0x8)};return delete _0xecd2c9['vc'],_0x44e2cf(_0xecd2c9)==_0x5df22e;}}}async function _0xb90a94(){let _0xcf6876=!0x0;try{const [_0x3e6fec,_0x436cc1,_0x215fbd]=_0x19e70f['split']('.');return _0x347b02(_0x3e6fec),await _0x35ad8c(_0x3e6fec,_0x436cc1,_0x215fbd),_0xcf6876;}catch{return!0x1;}function _0x347b02(_0x36a664){const _0x559fcc=_0x5b51af(_0x36a664);_0x559fcc&&'ES256'==_0x559fcc['alg']||(_0xcf6876=!0x1);}async function _0x35ad8c(_0x215a72,_0x432463,_0x3acbfc){const _0x238aeb=window['Uint8Array']['from'](_0x4f784c(_0x3acbfc),_0xe65f1d=>_0xe65f1d['charCodeAt'](0x0)),_0x1b15d9=new window['TextEncoder']()['encode'](_0x215a72+'.'+_0x432463),_0x4e46cc=window['crypto']['subtle'];if(!_0x4e46cc)return;const _0x514012=await _0x4e46cc['importKey']('jwk',_0x2b748d,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4e46cc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x514012,_0x238aeb,_0x1b15d9)||(_0xcf6876=!0x1);}}function _0x5b51af(_0x1b33c8){return _0x1b33c8['startsWith']('ey')?JSON['parse'](_0x4f784c(_0x1b33c8)):null;}function _0x4f784c(_0x19d145){return window['atob'](_0x19d145['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x44e2cf(_0x3654af){let _0x86e2d0=0x1505;function _0x41dff3(_0x42fbf2){for(let _0x2e89ee=0x0;_0x2e89ee<_0x42fbf2['length'];_0x2e89ee++){const _0x4ac672=_0x42fbf2['charCodeAt'](_0x2e89ee);_0x86e2d0=(_0x86e2d0<<0x5)+_0x86e2d0+_0x4ac672,_0x86e2d0&=_0x86e2d0;}}function _0x5cc00b(_0x2f386e){Array['isArray'](_0x2f386e)?_0x2f386e['forEach'](_0x5cc00b):_0x2f386e&&'object'==typeof _0x2f386e?Object['entries'](_0x2f386e)['sort']()['forEach'](([_0x25d2c8,_0x8eb225])=>{_0x41dff3(_0x25d2c8),_0x5cc00b(_0x8eb225);}):_0x41dff3(window['String'](_0x2f386e));}return _0x5cc00b(_0x3654af),_0x86e2d0>>>0x0;}function _0x4f6519(_0x5c6fa7){return _0x5c6fa7['toString'](0x10)['padStart'](0x8,'0');}function _0x56bf47(_0x368969){return _0x368969['split']('')['reverse']()['join']('');}function _0x153b32(){}_0x2dcdb1(await _0x714ff1());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x6f2db5=this['editor'],_0x3c7d20=_0x6f2db5['editing']['view'],_0x227850=this['_getAttachedDomRoot']();if(!_0x227850||!_0x227850['hasChildNodes']())return void _0x6f2db5['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x57eab0,pageHeight:_0x5db3ae}=_0x6f2db5['config']['get']('pagination'),{top:_0x1f7d04,left:_0x59e1b8,bottom:_0x26a8b4,right:_0x54769b}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1c2e3a(_0x6f2db5['locale']);const _0x3434f0=this['_pagesContainer'];_0x3434f0['set']('class',''),_0x3434f0['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x57eab0,'width':_0x57eab0,'height':'calc(\x20'+_0x5db3ae+'\x20-\x20'+_0x1f7d04+'\x20-\x20'+_0x26a8b4+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x54769b+'\x200\x20'+_0x59e1b8,'columnGap':'calc('+_0x59e1b8+'\x20+\x20'+_0x54769b+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x3434f0['bindTemplate']['to']('class')}}),_0x3434f0['render'](),_0x227850['parentNode']['insertBefore'](_0x3434f0['element'],_0x227850['nextSibling']),this['listenTo'](_0x3c7d20,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x5f3aa2 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5f3aa2['ownerDocument']['body']['contains'](_0x5f3aa2))return _0x5f3aa2;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x14d44b=this['editor']['editing']['view'],_0x46f918=this['_pagesContainer'],_0x4661e2=this['_getAttachedDomRoot']();if(!_0x4661e2||!_0x46f918)return Promise['resolve']();for(_0x46f918['class']=['ck-reset','ck-pagination-view',..._0x4661e2['classList']]['join']('\x20');_0x46f918['element']['firstChild'];)_0x46f918['element']['firstChild']['remove']();const _0x5b663c=Array['from'](_0x14d44b['domRoots']);_0x5b663c['sort'](([,_0x478259],[,_0x22bb32])=>_0x478259['compareDocumentPosition'](_0x22bb32)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x445fa0,_0x313df6]of _0x5b663c){const _0x2428bb=_0x313df6['cloneNode'](!0x0);'attributeStyleMap'in _0x2428bb&&_0x2428bb['attributeStyleMap']['clear'](),_0x2428bb['dataset']['rootName']=_0x445fa0,_0x2428bb['className']='ck-content\x20ck-pagination_enabled',_0x2428bb['removeAttribute']('id'),_0x2428bb['tabIndex']=-0x1,_0x46f918['element']['append'](_0x2428bb);}const _0x46e555=Array['from'](_0x46f918['element']['querySelectorAll']('img'));return function(_0x6283f5){return Promise['all'](_0x6283f5['map'](_0x574320=>Promise['race']([k(_0x574320),v(0x3e8)])));}(_0x46e555)['then'](()=>{for(const _0x316704 of _0x46e555['filter'](_0x5b5b9e=>!_0x5b5b9e['closest']('table')))if(_0x316704['offsetParent']){const _0x1fb57a=_0x17f3ee['window']['getComputedStyle'](_0x316704),_0x4e47f3=_0x17f3ee['document']['createElement']('span');for(const _0x301085 of _0x1fb57a)_0x4e47f3['style']['setProperty'](_0x301085,_0x1fb57a[_0x301085]);_0x4e47f3['style']['backgroundImage']='url(\x20'+_0x316704['src']+'\x20)',_0x4e47f3['style']['breakInside']='avoid','PICTURE'==_0x316704['parentElement']?.['tagName']?_0x316704['parentElement']['replaceWith'](_0x4e47f3):_0x316704['replaceWith'](_0x4e47f3);}return new Promise(_0x443f7b=>_0x17f3ee['window']['requestAnimationFrame'](()=>_0x443f7b()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x3e017d=this['_pagesContainer']['element'];if(!_0x3e017d['ownerDocument']['body']['contains'](_0x3e017d))return;const _0x9dadf5=new _0x223178(_0x3e017d)['excludeScrollbarsAndBorders'](),_0x255405=Math['floor'](_0x9dadf5['width']+0x64),_0x207ffb=_(_0x3e017d,Math['floor'](_0x9dadf5['left']-_0x3e017d['scrollLeft']),_0x255405,_0x9dadf5['height'])['map'](_0x204ec8=>this['_mapPageStarterInfoToPageBreakInfo'](_0x204ec8))['filter'](_0x48db73=>!0x1!==_0x48db73);_0x207ffb['every'](_0x540b29=>!!_0x540b29)&&(this['pageBreaks']=_0x207ffb);}['_mapPageStarterInfoToPageBreakInfo'](_0x478e4d){const _0x2b4375=this['editor']['editing']['view'],_0x27c868=this['editor']['editing']['mapper'],_0x25c9e6=_0x2b4375['domConverter'],_0x2d963e=_0x478e4d['path']['shift'](),_0x2aadf3=this['_pagesContainer']['element']['childNodes'][_0x2d963e]['dataset']['rootName'],_0x1fdb77=_0x2b4375['getDomRoot'](_0x2aadf3);if(!_0x1fdb77)return null;const _0x5a736f=function(_0x2f265d,_0x2a276f){let _0x49a59f=_0x2f265d;for(const _0x58a5fa of _0x2a276f['path']){if(!_0x49a59f)return null;_0x49a59f=_0x49a59f['childNodes'][_0x58a5fa];}return _0x49a59f;}(_0x1fdb77,_0x478e4d);if(!_0x5a736f)return null;const _0x85e1e1=_0x25c9e6['domPositionToView'](_0x5a736f,_0x478e4d['textOffset']||0x0);return _0x85e1e1?'manual'==_0x478e4d['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x85e1e1,_0x5a736f):'text'==_0x478e4d['type']&&_0x27c868['toModelPosition'](_0x85e1e1)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x85e1e1,_0x5a736f,_0x478e4d['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x85e1e1,_0x5a736f,_0x478e4d['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x45d686,_0x35bb75){const _0xd70a37=this['editor']['model'],_0x13c8ec=this['editor']['editing']['mapper']['toModelElement'](_0x45d686['parent']);return new P({'type':'manual','modelRange':_0xd70a37['createRangeOn'](_0x13c8ec),'domNode':_0x35bb75,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x40a4e9,_0x24fb44,_0x19adab){const _0x4dbe47=this['editor']['model'],_0x26c332=this['editor']['editing']['mapper'],_0x328f89=this['editor']['editing']['view']['domConverter'];if(_0x19adab>=_0x24fb44['length'])return null;const _0x3d33cc=_0x26c332['toModelPosition'](_0x40a4e9),_0x45eda2=_0x4dbe47['createRange'](_0x3d33cc),_0x41ad96=_0x26c332['findMappedViewAncestor'](_0x40a4e9);return new P({'type':'text','modelRange':_0x45eda2,'domNode':_0x24fb44,'offset':y(_0x24fb44,_0x19adab,_0x328f89['mapViewToDom'](_0x41ad96))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4ff7e2,_0x2e29b5,_0x472e05){const _0xdcc3f7=this['editor']['model'],_0x5ec7a8=this['editor']['editing'],_0x4c9607=_0x5ec7a8['mapper'],_0x20c2ae=_0x5ec7a8['view']['domConverter'],_0x10cae8=_0x4c9607['findMappedViewAncestor'](_0x4ff7e2),_0x88c2ec=_0x4c9607['toModelElement'](_0x10cae8);if(!_0x88c2ec||_0x88c2ec['is']('rootElement'))return!0x1;const _0x578d2a=function(_0x400967){const _0x478a7c=_0x400967['parent'],_0x4865c0=_0x478a7c['root']['document']['model'],_0x43e5b4=_0x478a7c['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x36366c=null;for(const _0x8022ba of _0x43e5b4){if(_0x8022ba['is']('rootElement'))return _0x36366c;if(!_0x4865c0['createPositionBefore'](_0x8022ba)['isTouching'](_0x400967))return _0x36366c;_0x36366c=_0x8022ba;}}(_0xdcc3f7['createPositionBefore'](_0x88c2ec))||_0x88c2ec;let _0x537f41=_0x4c9607['toViewElement'](_0x578d2a),_0x426cff=_0xdcc3f7['createRangeOn'](_0x578d2a);const _0x5391c0=_0xdcc3f7['createPositionBefore'](_0x578d2a)['nodeBefore'];if(_0x5391c0&&_0x5391c0['is']('element','imageBlock')){const _0xfada26=_0x4c9607['toViewElement'](_0x5391c0),_0x44079c=_0x20c2ae['mapViewToDom'](_0xfada26),_0x120316=_0x17f3ee['window']['getComputedStyle'](_0x44079c)['float'];'left'!=_0x120316&&'right'!=_0x120316||(_0x426cff=_0xdcc3f7['createRangeOn'](_0x5391c0));}for(;_0x537f41['parent']!==_0x537f41['root']&&0x0===_0x537f41['index'];)_0x537f41=_0x537f41['parent'];const _0x36f388=new _0x223178(K(_0x2e29b5)?_0x2e29b5:L(_0x2e29b5)),_0xbafcbd=_0x472e05?_0x36f388['height']-_0x472e05:0x0,_0x81fe74=_0x20c2ae['mapViewToDom'](_0x537f41),_0x3c6f56=new _0x223178(_0x81fe74);return new P({'type':'element','modelRange':_0x426cff,'domNode':_0x81fe74,'offset':Math['round'](_0xbafcbd)||_0x10cae8!=b(_0x4ff7e2)?_0xbafcbd+_0x36f388['top']-_0x3c6f56['top']:0x0});}get['_configuredPaddings'](){const _0x1cf09b=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1cf09b);}static['_findPageStarterInfos'](_0x88ecf2,_0xfd1e6,_0x11d7bd,_0x77ca53,_0x5a45d8){return _(_0x88ecf2,_0xfd1e6,_0x11d7bd,_0x77ca53,_0x5a45d8);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1e1bcb,modelRange:_0x276d5d,domNode:_0x4cb8d8,offset:_0x533d66}){this['type']=_0x1e1bcb,this['modelRange']=_0x276d5d,this['_domNode']=_0x4cb8d8,this['_offset']=_0x533d66;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x2017ec=new _0x223178(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x2017ec['top']+_0x2017ec['height']/0x2:_0x2017ec['top']+this['_offset'];}};function y(_0x241344,_0x48ef38,_0x187469){const _0x18cc25=L(_0x241344),_0xe7aa46=function(_0x233fd1){const _0x258958=_0x17f3ee['document']['createRange']();return _0x258958['selectNodeContents'](_0x233fd1),_0x258958;}(_0x187469);let _0x5f5160;_0x5f5160=0x0==_0x48ef38?N(_0xe7aa46['startContainer'],_0xe7aa46['startOffset'],_0x241344['parentNode'],Array['from'](_0x241344['parentNode']['childNodes'])['indexOf'](_0x241344)):N(_0xe7aa46['startContainer'],_0xe7aa46['startOffset'],_0x241344,_0x48ef38);const _0x3a868a=N(_0x241344,_0x48ef38,_0xe7aa46['endContainer'],_0xe7aa46['endOffset']),_0x58683d=new _0x223178(_0x5f5160)['bottom'];return(new _0x223178(_0x3a868a)['top']+_0x58683d)/0x2-new _0x223178(_0x18cc25)['top'];}function b(_0x296674){let _0xcdbe84=_0x296674['parent'];for(;_0xcdbe84['is']('$text')||_0xcdbe84['is']('attributeElement');)_0xcdbe84=_0xcdbe84['parent'];return _0xcdbe84;}function k(_0x4cdc73){return _0x4cdc73['hasAttribute']('width')&&_0x4cdc73['hasAttribute']('height')?Promise['resolve']():new Promise(_0x539d61=>{function _0x5291f8(){_0x4cdc73['removeEventListener']('load',_0x5291f8),_0x4cdc73['removeEventListener']('error',_0x5291f8),_0x539d61();}_0x4cdc73['complete']?_0x539d61():(_0x4cdc73['addEventListener']('load',_0x5291f8),_0x4cdc73['addEventListener']('error',_0x5291f8));});}function v(_0x40033b){return new Promise(_0x1831e3=>setTimeout(_0x1831e3,_0x40033b));}function L(_0x4c90c6){const _0x4abba0=_0x17f3ee['document']['createRange']();return _0x4abba0['selectNode'](_0x4c90c6),_0x4abba0;}function x(_0x1fc817,_0x568f19,_0x5a0035){const _0x580013=_0x17f3ee['document']['createRange']();return _0x580013['setStart'](_0x1fc817,_0x568f19),_0x580013['setEnd'](_0x1fc817,_0x5a0035),_0x580013;}function N(_0x5ddb90,_0x598fcc,_0x34891f,_0xdfd72f){const _0x36d46c=_0x17f3ee['document']['createRange']();return _0x36d46c['setStart'](_0x5ddb90,_0x598fcc),_0x36d46c['setEnd'](_0x34891f,_0xdfd72f),_0x36d46c;}function _(_0x16f70c,_0x371eea,_0x4bf1f3,_0x73665c,_0x34fb04){const _0x3180a4=[];for(const [_0x55f39d,_0x28bfa6]of _0x16f70c['childNodes']['entries']()){let _0x30d6c7=[];K(_0x28bfa6)&&_0x28bfa6['offsetParent']&&['static','relative']['includes'](_0x17f3ee['window']['getComputedStyle'](_0x28bfa6)['position'])?_0x30d6c7=E(_0x28bfa6,_0x55f39d,_0x371eea,_0x4bf1f3,_0x73665c,_0x34fb04):O(_0x28bfa6)&&(_0x30d6c7=S(_0x28bfa6,_0x55f39d,_0x371eea,_0x4bf1f3,_0x34fb04)),_0x30d6c7['length']&&(_0x3180a4['push'](..._0x30d6c7),_0x371eea+=_0x30d6c7['length']*_0x4bf1f3,_0x34fb04=!0x1);}return _0x3180a4;}function E(_0x3b2f0a,_0x24b4c4,_0x22fe84,_0x582598,_0x1135cb,_0x190b0a){const _0x2e05b9=[];var _0xb8d4cf;if((_0xb8d4cf=_0x3b2f0a['previousSibling'])&&K(_0xb8d4cf)&&Boolean(_0xb8d4cf['classList']['contains']('page-break')||_0xb8d4cf['closest']('.page-break'))&&(_0x2e05b9['push']({'type':'manual','offset':0x0,'path':[_0x24b4c4-0x1]}),_0x190b0a=!0x0),'table-row'==_0x17f3ee['window']['getComputedStyle'](_0x3b2f0a)['display']){let _0x4c0e50=0x0,_0x4dbe8b=!0x1;for(const _0x13cb29 of _0x3b2f0a['getClientRects']())_0x4c0e50+=_0x13cb29['height'],_0x13cb29['left']>=_0x22fe84&&(_0x4dbe8b=!0x0);if(_0x4c0e50<_0x1135cb&&_0x4dbe8b)return _0x190b0a||_0x2e05b9['push']({'type':'element','offset':0x0,'path':[_0x24b4c4]}),_0x2e05b9;}const _0x57ea91=_0x3b2f0a['closest']('figure.image');if(_0x57ea91&&function(_0x5caab4){let _0x3a54c9=!0x1;const _0x353867=_0x5caab4['parentElement']['dataset']['rootName'],_0x2ebe2f=_0x5caab4['nextElementSibling'],_0x1031f8=_0x5caab4['previousElementSibling'],_0x418132=_0x2ebe2f&&_0x17f3ee['window']['getComputedStyle'](_0x2ebe2f)['float'],_0x4dfc70=_0x2ebe2f&&'ck-fake-selection-container'===_0x2ebe2f['className'];return!_0x353867||_0x2ebe2f||_0x1031f8||(_0x3a54c9=!0x0),_0x353867&&!_0x1031f8&&_0x4dfc70&&(_0x3a54c9=!0x0),_0x353867&&!_0x1031f8&&'none'!==_0x418132&&(_0x3a54c9=!0x0),!_0x3a54c9;}(_0x57ea91)){const _0x18f2be=_0x17f3ee['window']['getComputedStyle'](_0x57ea91)['float'];if('left'==_0x18f2be||'right'==_0x18f2be)return _0x2e05b9;}const _0x9152f8=_(_0x3b2f0a,_0x22fe84,_0x582598,_0x1135cb,_0x190b0a);if(_0x9152f8['length']){for(const _0x5f0edf of _0x9152f8)_0x2e05b9['push']({'type':_0x5f0edf['type'],'offset':_0x5f0edf['offset'],'textOffset':_0x5f0edf['textOffset'],'path':[_0x24b4c4,..._0x5f0edf['path']]}),_0x22fe84+=_0x582598,_0x190b0a=!0x1;return _0x2e05b9;}return _0x2e05b9['push'](...function(_0x25fe14,_0x1151cc,_0x11d563,_0x47e8ea,_0x5d8160){const _0x48bb42=[];if('table-cell'==_0x17f3ee['window']['getComputedStyle'](_0x25fe14)['display'])return[];const _0x27f218=[];for(const _0xeb6f34 of _0x25fe14['getClientRects']())if(_0xeb6f34['left']>=_0x11d563){for(const _0x15ca28 of _0x27f218)_0x15ca28['height']+=_0xeb6f34['height'];_0x27f218['push']({'height':_0xeb6f34['height']}),_0x11d563+=_0x47e8ea;}for(const _0x15bc8f of _0x27f218)_0x5d8160||_0x48bb42['push']({'type':'element','offset':_0x15bc8f['height'],'textOffset':0x0,'path':[_0x1151cc]}),_0x5d8160=!0x1;return _0x48bb42;}(_0x3b2f0a,_0x24b4c4,_0x22fe84,_0x582598,_0x190b0a)),_0x2e05b9;}function S(_0x36a452,_0x229385,_0x5675d7,_0x8fa263,_0x4435db){const _0x57a456=L(_0x36a452),_0x1a64a5=[];let _0x56c7ea=0x0;for(const _0x4c5f07 of _0x57a456['getClientRects']())if(_0x4c5f07['left']>=_0x5675d7){const _0x2f07b5=R(_0x36a452,_0x56c7ea,_0x5675d7,_0x8fa263);_0x4435db||_0x1a64a5['push']({'type':'text','path':[_0x229385],'textOffset':_0x2f07b5}),_0x56c7ea=_0x2f07b5,_0x5675d7+=_0x8fa263,_0x4435db=!0x1;}return _0x1a64a5;}function R(_0x572fdd,_0x3ab431,_0x3e4393,_0x35a709){let _0x2d48a6=_0x3ab431,_0x411960=_0x572fdd['length'];for(;_0x411960-_0x2d48a6>0x1;){const _0x1404a4=Math['ceil']((_0x2d48a6+_0x411960)/0x2);I(x(_0x572fdd,_0x2d48a6,_0x1404a4),_0x3e4393,_0x35a709)?_0x411960=_0x1404a4:_0x2d48a6=_0x1404a4;}return _0x2d48a6;}function I(_0x2a5d9b,_0x435989,_0x95377a){for(const _0x477f3e of _0x2a5d9b['getClientRects']())if(_0x477f3e['left']>=_0x435989&&_0x477f3e['left']<_0x435989+_0x95377a)return!0x0;return!0x1;}function K(_0x5e1143){return _0x5e1143['nodeType']==Node['ELEMENT_NODE'];}function O(_0x214603){return _0x214603['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ba3bd('px');var U=class extends _0x1c2e3a{constructor(){super();const _0x3dcc96=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x3dcc96['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x3dcc96['if']('isVisible','ck-hidden',_0x3e16a8=>!_0x3e16a8)],'style':{'left':_0x3dcc96['to']('left',_0x5c300d=>A(_0x5c300d)),'top':_0x3dcc96['to']('top',_0x59853c=>A(_0x59853c)),'width':_0x3dcc96['to']('width',_0x17babe=>A(_0x17babe))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x291a78){this['_viewCollection']=_0x291a78['ui']['view']['body'];}['destroy'](){for(const _0x39afbb of this['_hiddenLines'])_0x39afbb['destroy']();}['cleanLines'](){for(const _0x2be11f of this['_visibleLines'])_0x2be11f['isVisible']=!0x1,this['_hiddenLines']['add'](_0x2be11f);this['_visibleLines']['clear']();}['showLine'](_0x4e34db,_0x1c24d5,_0x45bb40,_0x3dd09f){let _0x3ee7d6;this['_hiddenLines']['size']?(_0x3ee7d6=_0x3c00c0(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3ee7d6)):_0x3ee7d6=new U(),_0x3ee7d6['set']({'pageNumber':_0x3dd09f,'left':_0x4e34db,'top':_0x1c24d5,'width':_0x45bb40}),_0x3ee7d6['isVisible']=!0x0,this['_viewCollection']['has'](_0x3ee7d6)||this['_viewCollection']['add'](_0x3ee7d6),this['_visibleLines']['add'](_0x3ee7d6);}['setViewCollection'](_0x275c55){for(const _0x3e1696 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3e1696)&&this['_viewCollection']['remove'](_0x3e1696);this['_viewCollection']=_0x275c55;}};const D='ck-pagination_enabled';var B=class extends _0x1afead{['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',(_0x570181,_0x4b91c1,_0xf74b68)=>{_0xf74b68||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0xf74b68);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3c6867){if(!this['isEnabled'])return;const _0x2e3449=_0x3c6867>0x1?this['_getPageBreakLineOffset'](_0x3c6867-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x2e3449-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3e4e2d['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x127995=this['editor'],_0x4c6793=this['_getAttachedDomRoot']();_0x4c6793?(this['_scrollableEditingRootDomAncestor']&&_0x127995['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x833154){let _0x2f8dba=_0x833154;do{_0x2f8dba=_0x2f8dba['parentElement'];const _0x2da08a=_0x17f3ee['window']['getComputedStyle'](_0x2f8dba)['overflowY'];if('auto'==_0x2da08a||'scroll'==_0x2da08a)break;}while('BODY'!=_0x2f8dba['tagName']);return _0x2f8dba;}(_0x4c6793),_0x127995['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x245542(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x127995['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3737f8=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3737f8['ui']['view']['listenTo'](_0x17f3ee['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3737f8['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x3ef3ae of this['editor']['editing']['view']['domRoots']['values']())if(_0x3ef3ae['ownerDocument']['body']['contains'](_0x3ef3ae))return _0x3ef3ae;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x421610=this['_getAttachedDomRoot'](),_0x13ba75=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x421610||0x1==_0x13ba75['length'])return void(this['pageNumber']=0x1);const _0x55a0fc=new _0x223178(_0x421610)['excludeScrollbarsAndBorders'](),_0x17eb06=new _0x223178(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x18fb6a=_0x17eb06['top']+_0x17eb06['height']/0x3;let _0x3920e5=!0x1;const _0x5bb6e6=[];for(let _0x245aa0=0x1;_0x245aa0<_0x13ba75['length'];_0x245aa0++){const _0x26c6cc=this['_getPageBreakLineOffset'](_0x245aa0,_0x17eb06);if(!_0x26c6cc)continue;const _0x32a6af=_0x17eb06['top']+_0x26c6cc-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5bb6e6['push']({'pageOffsetTop':_0x32a6af,'domRootRect':_0x55a0fc,'domScrollableRect':_0x17eb06,'pageNumber':_0x245aa0}),_0x32a6af>_0x18fb6a&&!_0x3920e5&&(this['pageNumber']=_0x245aa0,_0x3920e5=!0x0);}this['_renderPageBreakLines'](_0x5bb6e6),_0x3920e5||(this['pageNumber']=_0x13ba75['length']);}['_renderPageBreakLines'](_0x5bce80){const {scrollX:_0x174b7e,scrollY:_0x4ea4bf}=_0x17f3ee['window'];if(_0x5bce80['length']){for(const {domScrollableRect:_0x36a668,pageOffsetTop:_0x240ba8,domRootRect:_0x2c8cd3,pageNumber:_0x33aac8}of _0x5bce80)_0x36a668['top']<_0x240ba8&&_0x240ba8<_0x36a668['bottom']&&this['linesRepository']['showLine'](_0x2c8cd3['left']+_0x174b7e,_0x240ba8+_0x4ea4bf,_0x2c8cd3['width'],_0x33aac8+0x1);}}['_getPageBreakLineOffset'](_0x282160,_0x54cd53=null){const _0x325cef=this['_paginationLookupPlugin']['pageBreaks'][_0x282160]['offset'];return _0x325cef?(_0x54cd53||(_0x54cd53=new _0x223178(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x325cef-_0x54cd53['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x150ccc,_0x45becc=!0x0){const _0x5b622f=this['editor']['editing']['view'];_0x5b622f['change'](_0x286247=>{for(const _0x23181d of _0x5b622f['document']['roots'])_0x45becc?_0x286247['addClass'](_0x150ccc,_0x23181d):_0x286247['removeClass'](_0x150ccc,_0x23181d);});}};function T(_0x54c179,_0x52736b,..._0x25e634){const t=_0x54c179['t'];switch(_0x52736b){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)',..._0x25e634);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 _0x52736b;}}var G=class extends _0x1afead{['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 _0x3843d0=this['editor']['plugins']['get']('Pagination'),_0x17bfd9=this['editor']['plugins']['get'](w),_0x5d1daf=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x3843d0),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x5d1daf),this['listenTo'](_0x17bfd9,'change:pageBreaks',(_0x2e4dfa,_0xd21d27,_0x468d9e,_0x2a8c54)=>{this['totalPages']=_0x468d9e['length'],this['_updatePageBreakMarkers'](_0x468d9e,_0x2a8c54);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44cff3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x224642;for(const _0x563e25 in _0x44cff3){const _0x5aaa6f=_0x563e25,_0x4971ee=_0x44cff3[_0x5aaa6f];if('paginationLicenseKeyValid'==_0x4971ee||'paginationLicenseKeyInvalid'==_0x4971ee||'paginationLicenseKeyExpired'==_0x4971ee||'paginationLicenseKeyDomainLimit'==_0x4971ee||'paginationLicenseKeyNotAllowed'==_0x4971ee||'paginationLicenseKeyEvaluationLimit'==_0x4971ee||'paginationLicenseKeyUsageLimit'==_0x4971ee){delete _0x44cff3[_0x5aaa6f],_0x224642=_0x4971ee,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x224642&&_0x44cff3['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x224642&&_0x44cff3['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x224642&&_0x44cff3['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x224642&&_0x44cff3['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x224642&&_0x44cff3['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x224642&&_0x44cff3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3a4137){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x3a4137));}['moveSelectionToPage'](_0x5cd5a1){if(!this['isEnabled'])return;const _0x36e405=this['editor'],_0x258639=this['editor']['plugins']['get'](w)['pageBreaks'][_0x5cd5a1-0x1];_0x258639&&_0x36e405['model']['change'](_0x53723f=>{switch(_0x258639['type']){case'manual':{const _0x16d9ae=_0x36e405['model']['schema']['getNearestSelectionRange'](_0x258639['modelRange']['end'],'forward');_0x53723f['setSelection'](_0x16d9ae);break;}case'element':{const _0x9820f0=_0x36e405['model']['schema']['getNearestSelectionRange'](_0x258639['modelRange']['start'],'forward');_0x53723f['setSelection'](_0x9820f0);break;}case'text':{const _0x34385e=_0x258639['modelRange']['start'];if(_0x34385e['textNode']&&'\x20'===_0x34385e['textNode']['data'][_0x34385e['offset']]){const _0x58b9c4=_0x53723f['createPositionAt'](_0x34385e['parent'],_0x34385e['offset']+0x1);_0x53723f['setSelection'](_0x58b9c4);}else _0x53723f['setSelection'](_0x258639['modelRange']);}}_0x36e405['editing']['view']['focus']();});}['goToNextPage'](){const _0x4257d9=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4257d9),this['scrollToPage'](_0x4257d9);}['goToPreviousPage'](){const _0x1daf46=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1daf46),this['scrollToPage'](_0x1daf46);}['_updatePageBreakMarkers'](_0x6d4fb,_0xadbb3){const _0x35a70c=this['editor']['model'];this['isEnabled']&&_0x35a70c['change'](_0x174e9d=>{for(let _0x1a6d10=0x1;_0x1a6d10<_0x6d4fb['length'];_0x1a6d10++){const _0x4f85ef=_0x6d4fb[_0x1a6d10]['modelRange'],_0x1357e7='pagination:'+(_0x1a6d10+0x1);_0x35a70c['markers']['has'](_0x1357e7)?_0x174e9d['updateMarker'](_0x1357e7,{'range':_0x4f85ef}):_0x174e9d['addMarker'](_0x1357e7,{'range':_0x4f85ef,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5a2005=_0x6d4fb['length'];_0x5a2005<_0xadbb3['length'];_0x5a2005++){const _0x119279='pagination:'+(_0x5a2005+0x1);_0x35a70c['markers']['has'](_0x119279)&&_0x174e9d['removeMarker'](_0x119279);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x1013a1=>{_0x1013a1['on']('addMarker:pagination',(_0x46e0bc,{markerRange:_0x1eadd2,markerName:_0x23ce22},_0x5904ca)=>{if(!_0x5904ca['options']['pagination'])return;if(!_0x5904ca['consumable']['consume'](_0x1eadd2,_0x46e0bc['name']))return;const _0x5a5523=_0x1eadd2['getContainedElement']();let _0xd5aff6=_0x5a5523?_0x5904ca['mapper']['toViewElement'](_0x5a5523):null;if(!_0xd5aff6){const _0x24ec71=_0x1eadd2['start'];if(_0x5904ca['schema']['checkChild'](_0x24ec71,'$text')){const _0x14e1bc=_0x5904ca['mapper']['toViewPosition'](_0x24ec71);_0xd5aff6=_0x5904ca['writer']['createContainerElement']('span'),_0xd5aff6['getFillerOffset']=()=>null,_0x5904ca['writer']['insert'](_0x14e1bc,_0xd5aff6);}else{const _0x2b619c=_0x24ec71['nodeAfter'];_0xd5aff6=_0x5904ca['mapper']['toViewElement'](_0x2b619c);}}for(;_0xd5aff6['parent']!==_0xd5aff6['root']&&0x0===_0xd5aff6['index'];)_0xd5aff6=_0xd5aff6['parent'];const _0x5a19d8=_0x23ce22['substring'](0xb);_0xd5aff6['hasClass']('page-break')||(_0x5904ca['writer']['setStyle']('page-break-before','always',_0xd5aff6),_0x5904ca['writer']['setAttribute']('data-pagination-page',_0x5a19d8,_0xd5aff6),_0x5904ca['mapper']['bindElementToMarker'](_0xd5aff6,_0x23ce22)),_0x46e0bc['stop']();});});}['_setupKeystrokes'](){const _0xf5a5e=this['editor'];_0xf5a5e['keystrokes']['set']('Shift+Pageup',(_0x2e1e35,_0x3dc3d2)=>{this['goToPreviousPage'](),_0x3dc3d2();}),_0xf5a5e['keystrokes']['set']('Shift+Pagedown',(_0x5b6a95,_0x3d6b96)=>{this['goToNextPage'](),_0x3d6b96();}),_0xf5a5e['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0xf5a5e['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0xf5a5e['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0xf5a5e['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x175462){return _0x175462<0x1&&(_0x175462=0x1),_0x175462>this['totalPages']&&(_0x175462=this['totalPages']),_0x175462;}},V=class extends _0x1c2e3a{['pageNumberView'];constructor(_0x2f9a30){super(_0x2f9a30);const _0x3be2dd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x5d0a1f(_0x2f9a30,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x778373=>T(_0x2f9a30,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x778373)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x431ad0=>!_0x431ad0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3be2dd['if']('isEnabled','ck-disabled',_0x451e50=>!_0x451e50)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3be2dd['to']('totalPages')}]}]});}['render'](){super['render']();const _0x19a064=this['pageNumberView']['element'],_0x32c576=_0x446fda=>{this['pageNumberView']['element']['value']=String(_0x446fda);};_0x32c576(this['pageNumber']),this['on']('change:pageNumber',(_0xec82f4,_0x13c00b,_0x4aab1d)=>{_0x32c576(_0x4aab1d);}),this['listenTo'](_0x19a064,'keydown',(_0x44a601,_0x1950f2)=>{if('ArrowUp'===_0x1950f2['key']||'ArrowDown'===_0x1950f2['key'])return void _0x1950f2['stopPropagation']();if(_0x1950f2['keyCode']!==_0x25cc5a['enter'])return;_0x1950f2['preventDefault']();const _0x2ed42a=_0x19a064['valueAsNumber'];Number['isNaN'](_0x2ed42a)?_0x19a064['value']=String(this['pageNumber']):(_0x19a064['checkValidity']()?this['pageNumber']=_0x2ed42a:_0x2ed42a>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x19a064['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x19a064['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x19a064,'blur',()=>{_0x19a064['value']=String(this['pageNumber']);}),this['listenTo'](_0x19a064,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x1afead{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x55a8d0=this['editor'],_0x59f5a2=_0x55a8d0['plugins']['get']('PaginationEditing');_0x55a8d0['ui']['componentFactory']['add']('pageNavigation',_0x1b8a72=>{const _0x1a48d9=new V(_0x1b8a72);return _0x1a48d9['bind']('pageNumber')['to'](_0x59f5a2),_0x1a48d9['bind']('totalPages')['to'](_0x59f5a2),_0x1a48d9['bind']('isEnabled')['to'](_0x59f5a2),_0x1a48d9['on']('navigation',(_0x2983bf,_0x225e92)=>{_0x59f5a2['moveSelectionToPage'](_0x225e92),_0x59f5a2['scrollToPage'](_0x225e92);}),_0x1a48d9;}),_0x55a8d0['ui']['componentFactory']['add']('nextPage',_0x446165=>{const _0x2fca4a=new _0x3f1c97(_0x446165);return _0x2fca4a['isEnabled']=!0x0,_0x2fca4a['label']=T(_0x55a8d0['locale'],'Go\x20to\x20next\x20page'),_0x2fca4a['icon']=_0x5b6f8b,_0x2fca4a['tooltip']=!0x0,_0x2fca4a['keystroke']='Shift+PageDown',_0x2fca4a['bind']('isEnabled')['to'](_0x59f5a2),this['listenTo'](_0x2fca4a,'execute',()=>{_0x59f5a2['goToNextPage']();}),_0x2fca4a;}),_0x55a8d0['ui']['componentFactory']['add']('previousPage',_0x3a4c48=>{const _0x186708=new _0x3f1c97(_0x3a4c48);return _0x186708['isEnabled']=!0x0,_0x186708['label']=T(_0x55a8d0['locale'],'Go\x20to\x20previous\x20page'),_0x186708['icon']=_0x2d3e9e,_0x186708['tooltip']=!0x0,_0x186708['keystroke']='Shift+PageUp',_0x186708['bind']('isEnabled')['to'](_0x59f5a2),this['listenTo'](_0x186708,'execute',()=>{_0x59f5a2['goToPreviousPage']();}),_0x186708;});}},$=class extends _0x1afead{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x3c4e0d){super(_0x3c4e0d),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x13a842=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x13a842),this['bind']('totalPages')['to'](_0x13a842),_0x3e4e2d['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x542f6c){this['editor']['plugins']['get'](G)['scrollToPage'](_0x542f6c);}};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':_0x5653fc=>0x1!=_0x5653fc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xbe2e3f=>{const {af:{dictionary:_0x54b2b3,getPluralForm:_0x48a75c}}={'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':_0x4131c2=>0x1!=_0x4131c2}};_0xbe2e3f['af']||={'dictionary':{},'getPluralForm':null},_0xbe2e3f['af']['dictionary']=Object['assign'](_0xbe2e3f['af']['dictionary'],_0x54b2b3),_0xbe2e3f['af']['getPluralForm']=_0x48a75c;})(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':_0x3e387f=>0x0==_0x3e387f?0x0:0x1==_0x3e387f?0x1:0x2==_0x3e387f?0x2:_0x3e387f%0x64>=0x3&&_0x3e387f%0x64<=0xa?0x3:_0x3e387f%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d8a61=>{const {ar:{dictionary:_0x294ce9,getPluralForm:_0x741ed8}}={'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':_0x3b9d1b=>0x0==_0x3b9d1b?0x0:0x1==_0x3b9d1b?0x1:0x2==_0x3b9d1b?0x2:_0x3b9d1b%0x64>=0x3&&_0x3b9d1b%0x64<=0xa?0x3:_0x3b9d1b%0x64>=0xb?0x4:0x5}};_0x3d8a61['ar']||={'dictionary':{},'getPluralForm':null},_0x3d8a61['ar']['dictionary']=Object['assign'](_0x3d8a61['ar']['dictionary'],_0x294ce9),_0x3d8a61['ar']['getPluralForm']=_0x741ed8;})(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':_0x3b474d=>0x1!=_0x3b474d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4926c4=>{const {ast:{dictionary:_0x2455c3,getPluralForm:_0x448726}}={'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':_0x25dc58=>0x1!=_0x25dc58}};_0x4926c4['ast']||={'dictionary':{},'getPluralForm':null},_0x4926c4['ast']['dictionary']=Object['assign'](_0x4926c4['ast']['dictionary'],_0x2455c3),_0x4926c4['ast']['getPluralForm']=_0x448726;})(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':_0x52e09e=>0x1!=_0x52e09e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26988e=>{const {az:{dictionary:_0x53d761,getPluralForm:_0x7be462}}={'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':_0x2f3cb2=>0x1!=_0x2f3cb2}};_0x26988e['az']||={'dictionary':{},'getPluralForm':null},_0x26988e['az']['dictionary']=Object['assign'](_0x26988e['az']['dictionary'],_0x53d761),_0x26988e['az']['getPluralForm']=_0x7be462;})(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':_0x398e64=>_0x398e64%0xa==0x1&&_0x398e64%0x64!=0xb?0x0:_0x398e64%0xa>=0x2&&_0x398e64%0xa<=0x4&&(_0x398e64%0x64<0xa||_0x398e64%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x544514=>{const {be:{dictionary:_0x5b2519,getPluralForm:_0x14e424}}={'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':_0x3b69ef=>_0x3b69ef%0xa==0x1&&_0x3b69ef%0x64!=0xb?0x0:_0x3b69ef%0xa>=0x2&&_0x3b69ef%0xa<=0x4&&(_0x3b69ef%0x64<0xa||_0x3b69ef%0x64>=0x14)?0x1:0x2}};_0x544514['be']||={'dictionary':{},'getPluralForm':null},_0x544514['be']['dictionary']=Object['assign'](_0x544514['be']['dictionary'],_0x5b2519),_0x544514['be']['getPluralForm']=_0x14e424;})(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':_0x2ef20f=>0x1!=_0x2ef20f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30da6f=>{const {bg:{dictionary:_0xdaedf6,getPluralForm:_0x26eb5d}}={'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':_0x501d96=>0x1!=_0x501d96}};_0x30da6f['bg']||={'dictionary':{},'getPluralForm':null},_0x30da6f['bg']['dictionary']=Object['assign'](_0x30da6f['bg']['dictionary'],_0xdaedf6),_0x30da6f['bg']['getPluralForm']=_0x26eb5d;})(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':_0x14cd93=>0x1!=_0x14cd93}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a7361=>{const {bn:{dictionary:_0x193aed,getPluralForm:_0x1e2a07}}={'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':_0xa12673=>0x1!=_0xa12673}};_0x4a7361['bn']||={'dictionary':{},'getPluralForm':null},_0x4a7361['bn']['dictionary']=Object['assign'](_0x4a7361['bn']['dictionary'],_0x193aed),_0x4a7361['bn']['getPluralForm']=_0x1e2a07;})(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':_0x41356f=>_0x41356f%0xa==0x1&&_0x41356f%0x64!=0xb?0x0:_0x41356f%0xa>=0x2&&_0x41356f%0xa<=0x4&&(_0x41356f%0x64<0xa||_0x41356f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a1444=>{const {bs:{dictionary:_0x379de5,getPluralForm:_0xea2f0a}}={'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':_0x254c6b=>_0x254c6b%0xa==0x1&&_0x254c6b%0x64!=0xb?0x0:_0x254c6b%0xa>=0x2&&_0x254c6b%0xa<=0x4&&(_0x254c6b%0x64<0xa||_0x254c6b%0x64>=0x14)?0x1:0x2}};_0x2a1444['bs']||={'dictionary':{},'getPluralForm':null},_0x2a1444['bs']['dictionary']=Object['assign'](_0x2a1444['bs']['dictionary'],_0x379de5),_0x2a1444['bs']['getPluralForm']=_0xea2f0a;})(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':_0x5e4b1a=>0x1!=_0x5e4b1a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30a724=>{const {ca:{dictionary:_0x316955,getPluralForm:_0x385eb9}}={'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':_0x47f911=>0x1!=_0x47f911}};_0x30a724['ca']||={'dictionary':{},'getPluralForm':null},_0x30a724['ca']['dictionary']=Object['assign'](_0x30a724['ca']['dictionary'],_0x316955),_0x30a724['ca']['getPluralForm']=_0x385eb9;})(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':_0x48861a=>0x1==_0x48861a?0x0:_0x48861a>=0x2&&_0x48861a<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e9dfa=>{const {cs:{dictionary:_0x4c1c69,getPluralForm:_0x167054}}={'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':_0x502924=>0x1==_0x502924?0x0:_0x502924>=0x2&&_0x502924<=0x4?0x1:0x2}};_0x4e9dfa['cs']||={'dictionary':{},'getPluralForm':null},_0x4e9dfa['cs']['dictionary']=Object['assign'](_0x4e9dfa['cs']['dictionary'],_0x4c1c69),_0x4e9dfa['cs']['getPluralForm']=_0x167054;})(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':_0x1967d4=>0x1!=_0x1967d4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d6f55=>{const {da:{dictionary:_0x1d0489,getPluralForm:_0x331e0d}}={'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':_0x486116=>0x1!=_0x486116}};_0x2d6f55['da']||={'dictionary':{},'getPluralForm':null},_0x2d6f55['da']['dictionary']=Object['assign'](_0x2d6f55['da']['dictionary'],_0x1d0489),_0x2d6f55['da']['getPluralForm']=_0x331e0d;})(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':_0x2c71fb=>0x1!=_0x2c71fb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ee344=>{const {'de-ch':{dictionary:_0x192f77,getPluralForm:_0x3ac60d}}={'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':_0x9edb57=>0x1!=_0x9edb57}};_0x4ee344['de-ch']||={'dictionary':{},'getPluralForm':null},_0x4ee344['de-ch']['dictionary']=Object['assign'](_0x4ee344['de-ch']['dictionary'],_0x192f77),_0x4ee344['de-ch']['getPluralForm']=_0x3ac60d;})(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':_0x15e708=>0x1!=_0x15e708}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x808db8=>{const {de:{dictionary:_0x2c1a14,getPluralForm:_0x280521}}={'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':_0x40bc7c=>0x1!=_0x40bc7c}};_0x808db8['de']||={'dictionary':{},'getPluralForm':null},_0x808db8['de']['dictionary']=Object['assign'](_0x808db8['de']['dictionary'],_0x2c1a14),_0x808db8['de']['getPluralForm']=_0x280521;})(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':_0x229f9b=>0x1!=_0x229f9b}};
|