@ckeditor/ckeditor5-pagination 48.3.0-alpha.0 → 48.3.0-alpha.2
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 _0x5b4aab}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x1f2151,InputNumberView as _0x453be9,View as _0x57c9e3}from'@ckeditor/ckeditor5-ui';import{Rect as _0x2dd926,ResizeObserver as _0x28d1d6,env as _0x43205f,first as _0x1cb100,global as _0x2f5a5c,keyCodes as _0x1ee18d,logWarning as _0x8f006d,toUnit as _0x4f6000,uid as _0x2e0e8b}from'@ckeditor/ckeditor5-utils';import{debounce as _0x4c901d}from'es-toolkit/compat';import{IconArrowDown as _0x41fd88,IconArrowUp as _0x3581cd}from'@ckeditor/ckeditor5-icons';var w=class extends _0x5b4aab{['_recalculatePageBreaksDebounced']=_0x4c901d(()=>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 _0x8f006d('pagination-config-not-found',this['editor']['config']);const _0x3ef079=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x3ef079),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x76403e,_0x199ce0,_0x32df9c)=>{_0x32df9c&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x57fc76){const _0x1e38e4='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x43b1b7=0x78de0,_0x50d64c=window['Date']['now'](),_0x3580dd=_0x57fc76['editor'],_0xeaadc3=new window['Promise'](_0x1ec3dd=>{_0x3580dd['once']('ready',_0x1ec3dd);}),_0x50e5d0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xacc97d=_0x3580dd['config']['get']('licenseKey');async function _0x5d7468(){let _0x2ea182,_0x57c66c=null,_0x3cda47=null;try{return'GPL'==_0xacc97d?'NotAllowed':(_0x2ea182=_0x3feb92(),_0x2ea182?(_0x2ea182['usageEndpoint']&&(_0x3cda47=_0x3a3dee(_0x2ea182['usageEndpoint'],_0x2ea182['jti'])),await _0x5e0038()?_0x2d811d()?_0x2806df()?'Expired':_0x21ebc2()?('evaluation'==_0x2ea182['licenseType']&&(_0x57c66c=_0x12488e('EvaluationLimit')),await _0x2e1fa1()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2806df(){const _0x3c69e4=['evaluation','trial']['includes'](_0x2ea182['licenseType'])?_0x50d64c/0x3e8:0xe10*_0x43b1b7;return _0x2ea182['exp']<_0x3c69e4;}function _0x2d811d(){const _0x11c5c0=_0x2ea182['features'];return!!_0x11c5c0&&(!!_0x11c5c0['includes']('*')||!!_0x11c5c0['includes']('PAG'));}function _0x21ebc2(){const _0x431060=_0x2ea182['licensedHosts'];if(!_0x431060||0x0==_0x431060['length'])return!0x0;const {hostname:_0xbca87}=new URL(window['location']['href']);if(_0x431060['includes'](_0xbca87))return!0x0;const _0x575844=_0xbca87['split']('.');return _0x431060['filter'](_0x2aaeb9=>_0x2aaeb9['includes']('*'))['map'](_0x19cddc=>_0x19cddc['split']('.'))['filter'](_0x186d4e=>_0x186d4e['length']<=_0x575844['length'])['map'](_0x148a28=>Array(_0x575844['length']-_0x148a28['length'])['fill']('*'===_0x148a28[0x0]?'*':'')['concat'](_0x148a28))['some'](_0x2d6114=>_0x575844['every']((_0x138421,_0x19204c)=>_0x2d6114[_0x19204c]===_0x138421||'*'===_0x2d6114[_0x19204c]));}function _0x2e1fa1(){return _0x57c66c&&_0x3cda47?new window['Promise']((_0x442b0f,_0x454fb7)=>{_0x57c66c['then'](_0x442b0f,_0x454fb7),_0x3cda47['then'](_0x1c26bd=>{'Valid'!=_0x1c26bd&&_0x442b0f(_0x1c26bd);},_0x454fb7);}):_0x57c66c||_0x3cda47||'Valid';}}function _0x3a3dee(_0x55df60,_0x3d7ac8){return new window['Promise'](_0xb412da=>{if(_0xab4c3d())return _0xb412da('Valid');_0x366205(),_0x3580dd['decorate']('_sendUsageRequest');let _0x39031c=!0x1;const _0x4e5e89=_0x2e0e8b();function _0x16acc9(_0xa92ffe){return!!_0xa92ffe&&('object'==typeof _0xa92ffe||'function'==typeof _0xa92ffe)&&'function'==typeof _0xa92ffe['then']&&'function'==typeof _0xa92ffe['catch'];}function _0x4464f9(_0x9bab7d){_0x4b38c1(_0x9bab7d)['then'](_0x51806b=>_0x51806b&&'ok'==_0x51806b['status']?_0x13edd9(_0x1b5f65(_0x4e5e89+_0x3d7ac8))!=_0x51806b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x40ef7a=>(_0x4b1bd8(),_0x40ef7a),()=>{const _0x128b95=_0x323bcc();return null==_0x128b95?(_0x4b1bd8(),'Valid'):_0x50d64c-_0x128b95>0x240c8400?'UsageLimit':'Valid';})['then'](_0xb412da)['catch'](()=>{_0xb412da('UsageLimit');});const _0x2ab561=0x36ee80;function _0x4b1bd8(){const _0x526ba0='llct-'+_0x13edd9(_0x1b5f65(_0x55df60)),_0x5ddaa3=_0x356de8(_0x13edd9(window['Math']['ceil'](_0x50d64c/_0x2ab561)));window['localStorage']['setItem'](_0x526ba0,_0x5ddaa3);}function _0x323bcc(){const _0x3eb4d5='llct-'+_0x13edd9(_0x1b5f65(_0x55df60)),_0x651579=window['localStorage']['getItem'](_0x3eb4d5);return _0x651579?window['parseInt'](_0x356de8(_0x651579),0x10)*_0x2ab561:null;}function _0x4b38c1(_0x15b922){return new window['Promise']((_0x506bf0,_0x546615)=>{_0x15b922['then'](_0x506bf0,_0x546615),window['setTimeout'](_0x546615,0x1d4c0);});}}_0x3580dd['on']('_sendUsageRequest',(_0x5e05e2,_0x1afa5a)=>{if(_0x1afa5a[0x0]!=_0x55df60)return _0xb412da('UsageLimit');_0x1afa5a[0x1]={..._0x1afa5a[0x1],'requestId':_0x4e5e89};},{'priority':'high'}),_0x3580dd['on']('_sendUsageRequest',_0x1637d5=>{_0x16acc9(_0x1637d5['return'])&&(_0x39031c=!0x0,_0x4464f9(_0x1637d5['return']));},{'priority':'low'}),_0xeaadc3['then'](()=>{_0x39031c||_0xb412da('UsageLimit');});});function _0xab4c3d(){return'auto'==_0x3580dd['editing']['view']['_overlayModeHint'];}function _0x366205(){_0x3580dd['editing']['view']['_overlayModeHint']='auto';}}function _0x12488e(_0x225c36){const _0x573a67=[new window['Promise'](_0x40e835=>setTimeout(_0x40e835,0x93ecc)),_0xeaadc3['then'](()=>new window['Promise'](_0xf6689a=>{let _0x2e87bf=0x0;_0x3580dd['model']['on']('applyOperation',(_0x185b96,_0xd30442)=>{_0xd30442[0x0]['isDocumentOperation']&&_0x2e87bf++,0x5e8==_0x2e87bf&&(_0xf6689a(),_0x185b96['off']());});}))];return window['Promise']['race'](_0x573a67)['then'](()=>_0x225c36);}async function _0x11e0f1(){await _0xeaadc3,_0x3580dd['model']['change']=_0x52b866,_0x3580dd['model']['enqueueChange']=_0x52b866,_0x3580dd['enableReadOnlyMode']('model');}function _0x121c68(_0x221a58){const _0x1a21bd=_0x1024f2();_0x3580dd[_0x1a21bd]='paginationLicenseKey'+_0x221a58,'Valid'!=_0x221a58&&_0x11e0f1();}function _0x1024f2(){const _0x38df11=window['String'](window['performance']['now']())['replace']('.','');let _0x1d7829='I';for(let _0x34148b=0x0;_0x34148b<_0x38df11['length'];_0x34148b+=0x2){let _0x4ebc39=window['parseInt'](_0x38df11['substring'](_0x34148b,_0x34148b+0x2));_0x4ebc39>=0x3e&&(_0x4ebc39-=0x3e),_0x1d7829+=_0x1e38e4[_0x4ebc39];}return _0x1d7829;}function _0x3feb92(){const _0x2acd2e=_0xacc97d['split']('.');if(0x3!=_0x2acd2e['length'])return null;return _0x5f330d(_0x2acd2e[0x1]);function _0x5f330d(_0x4177a6){const _0x837099=_0x50342a(_0x4177a6);return _0x837099&&_0x2b8534()?_0x837099:null;function _0x2b8534(){const _0x54319e=_0x837099['jti'],_0x284cb7=window['parseInt'](_0x54319e['substring'](_0x54319e['length']-0x8),0x10),_0x354fc1={..._0x837099,'jti':_0x54319e['substring'](0x0,_0x54319e['length']-0x8)};return delete _0x354fc1['vc'],_0x1b5f65(_0x354fc1)==_0x284cb7;}}}async function _0x5e0038(){let _0x104090=!0x0;try{const [_0x43c598,_0x3f2e7b,_0x22f766]=_0xacc97d['split']('.');return _0x3bd966(_0x43c598),await _0x2f3001(_0x43c598,_0x3f2e7b,_0x22f766),_0x104090;}catch{return!0x1;}function _0x3bd966(_0x3fda95){const _0x1f2c52=_0x50342a(_0x3fda95);_0x1f2c52&&'ES256'==_0x1f2c52['alg']||(_0x104090=!0x1);}async function _0x2f3001(_0x4b87cc,_0xfa3eb3,_0x23029b){const _0x2eb19e=window['Uint8Array']['from'](_0x33dd22(_0x23029b),_0x1e1970=>_0x1e1970['charCodeAt'](0x0)),_0x11d534=new window['TextEncoder']()['encode'](_0x4b87cc+'.'+_0xfa3eb3),_0x409098=window['crypto']['subtle'];if(!_0x409098)return;const _0x462ff4=await _0x409098['importKey']('jwk',_0x50e5d0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x409098['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x462ff4,_0x2eb19e,_0x11d534)||(_0x104090=!0x1);}}function _0x50342a(_0x39d5fc){return _0x39d5fc['startsWith']('ey')?JSON['parse'](_0x33dd22(_0x39d5fc)):null;}function _0x33dd22(_0x8daba0){return window['atob'](_0x8daba0['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1b5f65(_0x5e03a0){let _0x411b7a=0x1505;function _0x17b380(_0x37e2c7){for(let _0x17cf34=0x0;_0x17cf34<_0x37e2c7['length'];_0x17cf34++){const _0x38cdf7=_0x37e2c7['charCodeAt'](_0x17cf34);_0x411b7a=(_0x411b7a<<0x5)+_0x411b7a+_0x38cdf7,_0x411b7a&=_0x411b7a;}}function _0x2e33c5(_0xa099e9){Array['isArray'](_0xa099e9)?_0xa099e9['forEach'](_0x2e33c5):_0xa099e9&&'object'==typeof _0xa099e9?Object['entries'](_0xa099e9)['sort']()['forEach'](([_0x9464f9,_0xff5e8d])=>{_0x17b380(_0x9464f9),_0x2e33c5(_0xff5e8d);}):_0x17b380(window['String'](_0xa099e9));}return _0x2e33c5(_0x5e03a0),_0x411b7a>>>0x0;}function _0x13edd9(_0xda7380){return _0xda7380['toString'](0x10)['padStart'](0x8,'0');}function _0x356de8(_0x31bff3){return _0x31bff3['split']('')['reverse']()['join']('');}function _0x52b866(){}_0x121c68(await _0x5d7468());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x4bf67a=this['editor'],_0x5e7797=_0x4bf67a['editing']['view'],_0x11d547=this['_getAttachedDomRoot']();if(!_0x11d547||!_0x11d547['hasChildNodes']())return void _0x4bf67a['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x7986a0,pageHeight:_0x2df4ab}=_0x4bf67a['config']['get']('pagination'),{top:_0x110890,left:_0x29c75a,bottom:_0x2104c1,right:_0x2e49df}=this['_configuredPaddings'];this['_pagesContainer']=new _0x57c9e3(_0x4bf67a['locale']);const _0x2c2f7b=this['_pagesContainer'];_0x2c2f7b['set']('class',''),_0x2c2f7b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x7986a0,'width':_0x7986a0,'height':'calc(\x20'+_0x2df4ab+'\x20-\x20'+_0x110890+'\x20-\x20'+_0x2104c1+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x2e49df+'\x200\x20'+_0x29c75a,'columnGap':'calc('+_0x29c75a+'\x20+\x20'+_0x2e49df+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x2c2f7b['bindTemplate']['to']('class')}}),_0x2c2f7b['render'](),_0x11d547['parentNode']['insertBefore'](_0x2c2f7b['element'],_0x11d547['nextSibling']),this['listenTo'](_0x5e7797,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x39f052 of this['editor']['editing']['view']['domRoots']['values']())if(_0x39f052['ownerDocument']['body']['contains'](_0x39f052))return _0x39f052;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x5448ac=this['editor']['editing']['view'],_0x8fa061=this['_pagesContainer'],_0x420f9b=this['_getAttachedDomRoot']();if(!_0x420f9b||!_0x8fa061)return Promise['resolve']();for(_0x8fa061['class']=['ck-reset','ck-pagination-view',..._0x420f9b['classList']]['join']('\x20');_0x8fa061['element']['firstChild'];)_0x8fa061['element']['firstChild']['remove']();const _0x1dd159=Array['from'](_0x5448ac['domRoots']);_0x1dd159['sort'](([,_0x5c26e0],[,_0x329aa0])=>_0x5c26e0['compareDocumentPosition'](_0x329aa0)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x599c5f,_0x2dbc0a]of _0x1dd159){const _0x487df4=_0x2dbc0a['cloneNode'](!0x0);'attributeStyleMap'in _0x487df4&&_0x487df4['attributeStyleMap']['clear'](),_0x487df4['dataset']['rootName']=_0x599c5f,_0x487df4['className']='ck-content\x20ck-pagination_enabled',_0x487df4['removeAttribute']('id'),_0x487df4['tabIndex']=-0x1,_0x8fa061['element']['append'](_0x487df4);}const _0x254ff6=Array['from'](_0x8fa061['element']['querySelectorAll']('img'));return function(_0x3834ea){return Promise['all'](_0x3834ea['map'](_0x439023=>Promise['race']([k(_0x439023),v(0x3e8)])));}(_0x254ff6)['then'](()=>{for(const _0x2ca435 of _0x254ff6['filter'](_0x1b6dbb=>!_0x1b6dbb['closest']('table')))if(_0x2ca435['offsetParent']){const _0x41e596=_0x2f5a5c['window']['getComputedStyle'](_0x2ca435),_0x39f32c=_0x2f5a5c['document']['createElement']('span');for(const _0x680cdc of _0x41e596)_0x39f32c['style']['setProperty'](_0x680cdc,_0x41e596[_0x680cdc]);_0x39f32c['style']['backgroundImage']='url(\x20'+_0x2ca435['src']+'\x20)',_0x39f32c['style']['breakInside']='avoid','PICTURE'==_0x2ca435['parentElement']?.['tagName']?_0x2ca435['parentElement']['replaceWith'](_0x39f32c):_0x2ca435['replaceWith'](_0x39f32c);}return new Promise(_0x3a288f=>_0x2f5a5c['window']['requestAnimationFrame'](()=>_0x3a288f()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x4ee4a0=this['_pagesContainer']['element'];if(!_0x4ee4a0['ownerDocument']['body']['contains'](_0x4ee4a0))return;const _0x4530e9=new _0x2dd926(_0x4ee4a0)['excludeScrollbarsAndBorders'](),_0x513087=Math['floor'](_0x4530e9['width']+0x64),_0x5e3f96=_(_0x4ee4a0,Math['floor'](_0x4530e9['left']-_0x4ee4a0['scrollLeft']),_0x513087,_0x4530e9['height'])['map'](_0x4961f7=>this['_mapPageStarterInfoToPageBreakInfo'](_0x4961f7))['filter'](_0x443c5d=>!0x1!==_0x443c5d);_0x5e3f96['every'](_0x1a74c6=>!!_0x1a74c6)&&(this['pageBreaks']=_0x5e3f96);}['_mapPageStarterInfoToPageBreakInfo'](_0x360814){const _0x28b707=this['editor']['editing']['view'],_0x6c2364=this['editor']['editing']['mapper'],_0x3d0de1=_0x28b707['domConverter'],_0xb0b87a=_0x360814['path']['shift'](),_0x2f5a79=this['_pagesContainer']['element']['childNodes'][_0xb0b87a]['dataset']['rootName'],_0x51a911=_0x28b707['getDomRoot'](_0x2f5a79);if(!_0x51a911)return null;const _0x291fce=function(_0x589089,_0x43d6df){let _0x10acb4=_0x589089;for(const _0x5ba1b3 of _0x43d6df['path']){if(!_0x10acb4)return null;_0x10acb4=_0x10acb4['childNodes'][_0x5ba1b3];}return _0x10acb4;}(_0x51a911,_0x360814);if(!_0x291fce)return null;const _0x1580a6=_0x3d0de1['domPositionToView'](_0x291fce,_0x360814['textOffset']||0x0);return _0x1580a6?'manual'==_0x360814['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1580a6,_0x291fce):'text'==_0x360814['type']&&_0x6c2364['toModelPosition'](_0x1580a6)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1580a6,_0x291fce,_0x360814['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1580a6,_0x291fce,_0x360814['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x33c8a4,_0x5cf251){const _0x296af2=this['editor']['model'],_0x36b343=this['editor']['editing']['mapper']['toModelElement'](_0x33c8a4['parent']);return new P({'type':'manual','modelRange':_0x296af2['createRangeOn'](_0x36b343),'domNode':_0x5cf251,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x2b6c16,_0x3aa171,_0x33fc55){const _0x5ad58d=this['editor']['model'],_0x372e2e=this['editor']['editing']['mapper'],_0x22564e=this['editor']['editing']['view']['domConverter'];if(_0x33fc55>=_0x3aa171['length'])return null;const _0x33291b=_0x372e2e['toModelPosition'](_0x2b6c16),_0x1ec9f7=_0x5ad58d['createRange'](_0x33291b),_0x1c5313=_0x372e2e['findMappedViewAncestor'](_0x2b6c16);return new P({'type':'text','modelRange':_0x1ec9f7,'domNode':_0x3aa171,'offset':y(_0x3aa171,_0x33fc55,_0x22564e['mapViewToDom'](_0x1c5313))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x54e3b5,_0x429676,_0x384210){const _0x1db707=this['editor']['model'],_0x12cd2e=this['editor']['editing'],_0x254760=_0x12cd2e['mapper'],_0x3b95ae=_0x12cd2e['view']['domConverter'],_0x3c3b2c=_0x254760['findMappedViewAncestor'](_0x54e3b5),_0x13fb21=_0x254760['toModelElement'](_0x3c3b2c);if(!_0x13fb21||_0x13fb21['is']('rootElement'))return!0x1;const _0x4c47e8=function(_0x10a625){const _0x57aa6c=_0x10a625['parent'],_0x28c4f5=_0x57aa6c['root']['document']['model'],_0x1d26ba=_0x57aa6c['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x40683b=null;for(const _0x302fea of _0x1d26ba){if(_0x302fea['is']('rootElement'))return _0x40683b;if(!_0x28c4f5['createPositionBefore'](_0x302fea)['isTouching'](_0x10a625))return _0x40683b;_0x40683b=_0x302fea;}}(_0x1db707['createPositionBefore'](_0x13fb21))||_0x13fb21;let _0x27a857=_0x254760['toViewElement'](_0x4c47e8),_0x320bf8=_0x1db707['createRangeOn'](_0x4c47e8);const _0x5edd1c=_0x1db707['createPositionBefore'](_0x4c47e8)['nodeBefore'];if(_0x5edd1c&&_0x5edd1c['is']('element','imageBlock')){const _0x3615fc=_0x254760['toViewElement'](_0x5edd1c),_0x126626=_0x3b95ae['mapViewToDom'](_0x3615fc),_0x806bf0=_0x2f5a5c['window']['getComputedStyle'](_0x126626)['float'];'left'!=_0x806bf0&&'right'!=_0x806bf0||(_0x320bf8=_0x1db707['createRangeOn'](_0x5edd1c));}for(;_0x27a857['parent']!==_0x27a857['root']&&0x0===_0x27a857['index'];)_0x27a857=_0x27a857['parent'];const _0x510142=new _0x2dd926(K(_0x429676)?_0x429676:L(_0x429676)),_0x13b7cf=_0x384210?_0x510142['height']-_0x384210:0x0,_0x438b14=_0x3b95ae['mapViewToDom'](_0x27a857),_0x3e1fc2=new _0x2dd926(_0x438b14);return new P({'type':'element','modelRange':_0x320bf8,'domNode':_0x438b14,'offset':Math['round'](_0x13b7cf)||_0x3c3b2c!=b(_0x54e3b5)?_0x13b7cf+_0x510142['top']-_0x3e1fc2['top']:0x0});}get['_configuredPaddings'](){const _0x585a32=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x585a32);}static['_findPageStarterInfos'](_0x303465,_0x57ba99,_0x2cb81c,_0x2d73ce,_0x20978c){return _(_0x303465,_0x57ba99,_0x2cb81c,_0x2d73ce,_0x20978c);}},P=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x20be79,modelRange:_0x388390,domNode:_0x49fb94,offset:_0x498cac}){this['type']=_0x20be79,this['modelRange']=_0x388390,this['_domNode']=_0x49fb94,this['_offset']=_0x498cac;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x51e83e=new _0x2dd926(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x51e83e['top']+_0x51e83e['height']/0x2:_0x51e83e['top']+this['_offset'];}};function y(_0xb7da4,_0x4f3130,_0x43b688){const _0x170a12=L(_0xb7da4),_0x552c32=function(_0x2b46d2){const _0x42bc17=_0x2f5a5c['document']['createRange']();return _0x42bc17['selectNodeContents'](_0x2b46d2),_0x42bc17;}(_0x43b688);let _0x105530;_0x105530=0x0==_0x4f3130?N(_0x552c32['startContainer'],_0x552c32['startOffset'],_0xb7da4['parentNode'],Array['from'](_0xb7da4['parentNode']['childNodes'])['indexOf'](_0xb7da4)):N(_0x552c32['startContainer'],_0x552c32['startOffset'],_0xb7da4,_0x4f3130);const _0xb6217b=N(_0xb7da4,_0x4f3130,_0x552c32['endContainer'],_0x552c32['endOffset']),_0x299361=new _0x2dd926(_0x105530)['bottom'];return(new _0x2dd926(_0xb6217b)['top']+_0x299361)/0x2-new _0x2dd926(_0x170a12)['top'];}function b(_0x2f6cc6){let _0x2b51a2=_0x2f6cc6['parent'];for(;_0x2b51a2['is']('$text')||_0x2b51a2['is']('attributeElement');)_0x2b51a2=_0x2b51a2['parent'];return _0x2b51a2;}function k(_0x1dfb37){return _0x1dfb37['hasAttribute']('width')&&_0x1dfb37['hasAttribute']('height')?Promise['resolve']():new Promise(_0x79d2a9=>{function _0x3aa769(){_0x1dfb37['removeEventListener']('load',_0x3aa769),_0x1dfb37['removeEventListener']('error',_0x3aa769),_0x79d2a9();}_0x1dfb37['complete']?_0x79d2a9():(_0x1dfb37['addEventListener']('load',_0x3aa769),_0x1dfb37['addEventListener']('error',_0x3aa769));});}function v(_0x4219d9){return new Promise(_0x5b6639=>setTimeout(_0x5b6639,_0x4219d9));}function L(_0x1b2d75){const _0x314c31=_0x2f5a5c['document']['createRange']();return _0x314c31['selectNode'](_0x1b2d75),_0x314c31;}function x(_0x1cd864,_0x4ab7d1,_0x75dc92){const _0x5a392e=_0x2f5a5c['document']['createRange']();return _0x5a392e['setStart'](_0x1cd864,_0x4ab7d1),_0x5a392e['setEnd'](_0x1cd864,_0x75dc92),_0x5a392e;}function N(_0x35ae67,_0x3a2119,_0x2f3736,_0x27e30e){const _0x2007c4=_0x2f5a5c['document']['createRange']();return _0x2007c4['setStart'](_0x35ae67,_0x3a2119),_0x2007c4['setEnd'](_0x2f3736,_0x27e30e),_0x2007c4;}function _(_0x30eb90,_0x20c8ce,_0x1b44e6,_0x477193,_0x4b0c5b){const _0x65e66c=[];for(const [_0x42dc4a,_0x449b83]of _0x30eb90['childNodes']['entries']()){let _0x5e5e44=[];K(_0x449b83)&&_0x449b83['offsetParent']&&['static','relative']['includes'](_0x2f5a5c['window']['getComputedStyle'](_0x449b83)['position'])?_0x5e5e44=E(_0x449b83,_0x42dc4a,_0x20c8ce,_0x1b44e6,_0x477193,_0x4b0c5b):O(_0x449b83)&&(_0x5e5e44=S(_0x449b83,_0x42dc4a,_0x20c8ce,_0x1b44e6,_0x4b0c5b)),_0x5e5e44['length']&&(_0x65e66c['push'](..._0x5e5e44),_0x20c8ce+=_0x5e5e44['length']*_0x1b44e6,_0x4b0c5b=!0x1);}return _0x65e66c;}function E(_0xf71b3f,_0x55169f,_0x2c00f3,_0x3b20fe,_0x27b7c8,_0xeb79f3){const _0x5e6889=[];var _0x3ecd6e;if((_0x3ecd6e=_0xf71b3f['previousSibling'])&&K(_0x3ecd6e)&&Boolean(_0x3ecd6e['classList']['contains']('page-break')||_0x3ecd6e['closest']('.page-break'))&&(_0x5e6889['push']({'type':'manual','offset':0x0,'path':[_0x55169f-0x1]}),_0xeb79f3=!0x0),'table-row'==_0x2f5a5c['window']['getComputedStyle'](_0xf71b3f)['display']){let _0x447ed6=0x0,_0x3bf1a7=!0x1;for(const _0x59bb2d of _0xf71b3f['getClientRects']())_0x447ed6+=_0x59bb2d['height'],_0x59bb2d['left']>=_0x2c00f3&&(_0x3bf1a7=!0x0);if(_0x447ed6<_0x27b7c8&&_0x3bf1a7)return _0xeb79f3||_0x5e6889['push']({'type':'element','offset':0x0,'path':[_0x55169f]}),_0x5e6889;}const _0x285509=_0xf71b3f['closest']('figure.image');if(_0x285509&&function(_0x3f5906){let _0x1d27eb=!0x1;const _0x18462e=_0x3f5906['parentElement']['dataset']['rootName'],_0x490dfb=_0x3f5906['nextElementSibling'],_0x13eee6=_0x3f5906['previousElementSibling'],_0x2262ad=_0x490dfb&&_0x2f5a5c['window']['getComputedStyle'](_0x490dfb)['float'],_0x186afa=_0x490dfb&&'ck-fake-selection-container'===_0x490dfb['className'];return!_0x18462e||_0x490dfb||_0x13eee6||(_0x1d27eb=!0x0),_0x18462e&&!_0x13eee6&&_0x186afa&&(_0x1d27eb=!0x0),_0x18462e&&!_0x13eee6&&'none'!==_0x2262ad&&(_0x1d27eb=!0x0),!_0x1d27eb;}(_0x285509)){const _0x15f10c=_0x2f5a5c['window']['getComputedStyle'](_0x285509)['float'];if('left'==_0x15f10c||'right'==_0x15f10c)return _0x5e6889;}const _0x416d15=_(_0xf71b3f,_0x2c00f3,_0x3b20fe,_0x27b7c8,_0xeb79f3);if(_0x416d15['length']){for(const _0x1b06d of _0x416d15)_0x5e6889['push']({'type':_0x1b06d['type'],'offset':_0x1b06d['offset'],'textOffset':_0x1b06d['textOffset'],'path':[_0x55169f,..._0x1b06d['path']]}),_0x2c00f3+=_0x3b20fe,_0xeb79f3=!0x1;return _0x5e6889;}return _0x5e6889['push'](...function(_0x47e06b,_0x5220d1,_0x38294f,_0x21c2b4,_0x4e4abf){const _0x3c81b0=[];if('table-cell'==_0x2f5a5c['window']['getComputedStyle'](_0x47e06b)['display'])return[];const _0x5b4273=[];for(const _0x3d7bbd of _0x47e06b['getClientRects']())if(_0x3d7bbd['left']>=_0x38294f){for(const _0x351b6e of _0x5b4273)_0x351b6e['height']+=_0x3d7bbd['height'];_0x5b4273['push']({'height':_0x3d7bbd['height']}),_0x38294f+=_0x21c2b4;}for(const _0x4e9297 of _0x5b4273)_0x4e4abf||_0x3c81b0['push']({'type':'element','offset':_0x4e9297['height'],'textOffset':0x0,'path':[_0x5220d1]}),_0x4e4abf=!0x1;return _0x3c81b0;}(_0xf71b3f,_0x55169f,_0x2c00f3,_0x3b20fe,_0xeb79f3)),_0x5e6889;}function S(_0x52a7a7,_0xa000fa,_0x2134b7,_0x466e49,_0x30132f){const _0x20f074=L(_0x52a7a7),_0x41616a=[];let _0x3d7f14=0x0;for(const _0x52771d of _0x20f074['getClientRects']())if(_0x52771d['left']>=_0x2134b7){const _0x4a6ca9=R(_0x52a7a7,_0x3d7f14,_0x2134b7,_0x466e49);_0x30132f||_0x41616a['push']({'type':'text','path':[_0xa000fa],'textOffset':_0x4a6ca9}),_0x3d7f14=_0x4a6ca9,_0x2134b7+=_0x466e49,_0x30132f=!0x1;}return _0x41616a;}function R(_0x39421,_0x5dc402,_0x3b5582,_0x5c7cbe){let _0xc51c8f=_0x5dc402,_0x4799df=_0x39421['length'];for(;_0x4799df-_0xc51c8f>0x1;){const _0x485a9b=Math['ceil']((_0xc51c8f+_0x4799df)/0x2);I(x(_0x39421,_0xc51c8f,_0x485a9b),_0x3b5582,_0x5c7cbe)?_0x4799df=_0x485a9b:_0xc51c8f=_0x485a9b;}return _0xc51c8f;}function I(_0x17204b,_0x22fa9e,_0x5244b2){for(const _0x2b5fb5 of _0x17204b['getClientRects']())if(_0x2b5fb5['left']>=_0x22fa9e&&_0x2b5fb5['left']<_0x22fa9e+_0x5244b2)return!0x0;return!0x1;}function K(_0x5504ce){return _0x5504ce['nodeType']==Node['ELEMENT_NODE'];}function O(_0x45e074){return _0x45e074['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4f6000('px');var U=class extends _0x57c9e3{constructor(){super();const _0x4739d9=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x4739d9['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x4739d9['if']('isVisible','ck-hidden',_0x1baea3=>!_0x1baea3)],'style':{'left':_0x4739d9['to']('left',_0x178a0f=>A(_0x178a0f)),'top':_0x4739d9['to']('top',_0x2c1ccb=>A(_0x2c1ccb)),'width':_0x4739d9['to']('width',_0x3e3aa4=>A(_0x3e3aa4))}}});}},C=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x307327){this['_viewCollection']=_0x307327['ui']['view']['body'];}['destroy'](){for(const _0x297609 of this['_hiddenLines'])_0x297609['destroy']();}['cleanLines'](){for(const _0x5074fd of this['_visibleLines'])_0x5074fd['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5074fd);this['_visibleLines']['clear']();}['showLine'](_0x4c4cb6,_0x2940af,_0x585e65,_0x126b07){let _0x1620eb;this['_hiddenLines']['size']?(_0x1620eb=_0x1cb100(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x1620eb)):_0x1620eb=new U(),_0x1620eb['set']({'pageNumber':_0x126b07,'left':_0x4c4cb6,'top':_0x2940af,'width':_0x585e65}),_0x1620eb['isVisible']=!0x0,this['_viewCollection']['has'](_0x1620eb)||this['_viewCollection']['add'](_0x1620eb),this['_visibleLines']['add'](_0x1620eb);}['setViewCollection'](_0x578f9e){for(const _0x4faab0 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4faab0)&&this['_viewCollection']['remove'](_0x4faab0);this['_viewCollection']=_0x578f9e;}};const D='ck-pagination_enabled';var B=class extends _0x5b4aab{['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',(_0x23ad9a,_0x3da806,_0x62ef91)=>{_0x62ef91||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x62ef91);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x203f9c){if(!this['isEnabled'])return;const _0xffe6cf=_0x203f9c>0x1?this['_getPageBreakLineOffset'](_0x203f9c-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xffe6cf-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x43205f['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x15af0f=this['editor'],_0x1922fe=this['_getAttachedDomRoot']();_0x1922fe?(this['_scrollableEditingRootDomAncestor']&&_0x15af0f['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x7a43a6){let _0x4dca03=_0x7a43a6;do{_0x4dca03=_0x4dca03['parentElement'];const _0x19b47d=_0x2f5a5c['window']['getComputedStyle'](_0x4dca03)['overflowY'];if('auto'==_0x19b47d||'scroll'==_0x19b47d)break;}while('BODY'!=_0x4dca03['tagName']);return _0x4dca03;}(_0x1922fe),_0x15af0f['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x28d1d6(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x15af0f['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3ae142=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3ae142['ui']['view']['listenTo'](_0x2f5a5c['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3ae142['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x4c446d of this['editor']['editing']['view']['domRoots']['values']())if(_0x4c446d['ownerDocument']['body']['contains'](_0x4c446d))return _0x4c446d;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5240be=this['_getAttachedDomRoot'](),_0x2374e5=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5240be||0x1==_0x2374e5['length'])return void(this['pageNumber']=0x1);const _0x44c93d=new _0x2dd926(_0x5240be)['excludeScrollbarsAndBorders'](),_0x2dbadb=new _0x2dd926(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x410524=_0x2dbadb['top']+_0x2dbadb['height']/0x3;let _0x102b75=!0x1;const _0x12f3b9=[];for(let _0xa6ce64=0x1;_0xa6ce64<_0x2374e5['length'];_0xa6ce64++){const _0xd654c8=this['_getPageBreakLineOffset'](_0xa6ce64,_0x2dbadb);if(!_0xd654c8)continue;const _0x35682b=_0x2dbadb['top']+_0xd654c8-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x12f3b9['push']({'pageOffsetTop':_0x35682b,'domRootRect':_0x44c93d,'domScrollableRect':_0x2dbadb,'pageNumber':_0xa6ce64}),_0x35682b>_0x410524&&!_0x102b75&&(this['pageNumber']=_0xa6ce64,_0x102b75=!0x0);}this['_renderPageBreakLines'](_0x12f3b9),_0x102b75||(this['pageNumber']=_0x2374e5['length']);}['_renderPageBreakLines'](_0x1604fd){const {scrollX:_0x1dab2d,scrollY:_0x401225}=_0x2f5a5c['window'];if(_0x1604fd['length']){for(const {domScrollableRect:_0x4e0c33,pageOffsetTop:_0x5d14c7,domRootRect:_0x477d0d,pageNumber:_0x58274f}of _0x1604fd)_0x4e0c33['top']<_0x5d14c7&&_0x5d14c7<_0x4e0c33['bottom']&&this['linesRepository']['showLine'](_0x477d0d['left']+_0x1dab2d,_0x5d14c7+_0x401225,_0x477d0d['width'],_0x58274f+0x1);}}['_getPageBreakLineOffset'](_0x33b8bb,_0x15480b=null){const _0x23c47b=this['_paginationLookupPlugin']['pageBreaks'][_0x33b8bb]['offset'];return _0x23c47b?(_0x15480b||(_0x15480b=new _0x2dd926(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x23c47b-_0x15480b['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x36bdbb,_0x25a4e8=!0x0){const _0x2d474f=this['editor']['editing']['view'];_0x2d474f['change'](_0x771ad5=>{for(const _0x5224df of _0x2d474f['document']['roots'])_0x25a4e8?_0x771ad5['addClass'](_0x36bdbb,_0x5224df):_0x771ad5['removeClass'](_0x36bdbb,_0x5224df);});}};function T(_0x5a1274,_0x1eb401,..._0x43e0fc){const t=_0x5a1274['t'];switch(_0x1eb401){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)',..._0x43e0fc);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 _0x1eb401;}}var G=class extends _0x5b4aab{['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 _0x4c144f=this['editor']['plugins']['get']('Pagination'),_0x50b92d=this['editor']['plugins']['get'](w),_0x27420a=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x4c144f),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x27420a),this['listenTo'](_0x50b92d,'change:pageBreaks',(_0x31782c,_0x153d3b,_0x330d86,_0x2208a8)=>{this['totalPages']=_0x330d86['length'],this['_updatePageBreakMarkers'](_0x330d86,_0x2208a8);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4bc0fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d527a;for(const _0x86e18 in _0x4bc0fb){const _0x4adb5e=_0x86e18,_0x3ce7b2=_0x4bc0fb[_0x4adb5e];if('paginationLicenseKeyValid'==_0x3ce7b2||'paginationLicenseKeyInvalid'==_0x3ce7b2||'paginationLicenseKeyExpired'==_0x3ce7b2||'paginationLicenseKeyDomainLimit'==_0x3ce7b2||'paginationLicenseKeyNotAllowed'==_0x3ce7b2||'paginationLicenseKeyEvaluationLimit'==_0x3ce7b2||'paginationLicenseKeyUsageLimit'==_0x3ce7b2){delete _0x4bc0fb[_0x4adb5e],_0x3d527a=_0x3ce7b2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3d527a&&_0x4bc0fb['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3d527a&&_0x4bc0fb['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3d527a&&_0x4bc0fb['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3d527a&&_0x4bc0fb['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3d527a&&_0x4bc0fb['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3d527a&&_0x4bc0fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x58e0b3){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x58e0b3));}['moveSelectionToPage'](_0x58eeea){if(!this['isEnabled'])return;const _0x430a42=this['editor'],_0x5290c0=this['editor']['plugins']['get'](w)['pageBreaks'][_0x58eeea-0x1];_0x5290c0&&_0x430a42['model']['change'](_0x1b90b9=>{switch(_0x5290c0['type']){case'manual':{const _0x10dd7e=_0x430a42['model']['schema']['getNearestSelectionRange'](_0x5290c0['modelRange']['end'],'forward');_0x1b90b9['setSelection'](_0x10dd7e);break;}case'element':{const _0x497778=_0x430a42['model']['schema']['getNearestSelectionRange'](_0x5290c0['modelRange']['start'],'forward');_0x1b90b9['setSelection'](_0x497778);break;}case'text':{const _0x8500e1=_0x5290c0['modelRange']['start'];if(_0x8500e1['textNode']&&'\x20'===_0x8500e1['textNode']['data'][_0x8500e1['offset']]){const _0x49b215=_0x1b90b9['createPositionAt'](_0x8500e1['parent'],_0x8500e1['offset']+0x1);_0x1b90b9['setSelection'](_0x49b215);}else _0x1b90b9['setSelection'](_0x5290c0['modelRange']);}}_0x430a42['editing']['view']['focus']();});}['goToNextPage'](){const _0x369d59=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x369d59),this['scrollToPage'](_0x369d59);}['goToPreviousPage'](){const _0x1e0652=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x1e0652),this['scrollToPage'](_0x1e0652);}['_updatePageBreakMarkers'](_0x4d9696,_0xa70cd8){const _0x5195b0=this['editor']['model'];this['isEnabled']&&_0x5195b0['change'](_0x14c216=>{for(let _0x35196f=0x1;_0x35196f<_0x4d9696['length'];_0x35196f++){const _0x597858=_0x4d9696[_0x35196f]['modelRange'],_0x5a3aae='pagination:'+(_0x35196f+0x1);_0x5195b0['markers']['has'](_0x5a3aae)?_0x14c216['updateMarker'](_0x5a3aae,{'range':_0x597858}):_0x14c216['addMarker'](_0x5a3aae,{'range':_0x597858,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4cf8b4=_0x4d9696['length'];_0x4cf8b4<_0xa70cd8['length'];_0x4cf8b4++){const _0x3d40ea='pagination:'+(_0x4cf8b4+0x1);_0x5195b0['markers']['has'](_0x3d40ea)&&_0x14c216['removeMarker'](_0x3d40ea);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x527ef2=>{_0x527ef2['on']('addMarker:pagination',(_0x11f430,{markerRange:_0x54efc8,markerName:_0x52103f},_0x584d2b)=>{if(!_0x584d2b['options']['pagination'])return;if(!_0x584d2b['consumable']['consume'](_0x54efc8,_0x11f430['name']))return;const _0x3f7d34=_0x54efc8['getContainedElement']();let _0x4e3e00=_0x3f7d34?_0x584d2b['mapper']['toViewElement'](_0x3f7d34):null;if(!_0x4e3e00){const _0x21024c=_0x54efc8['start'];if(_0x584d2b['schema']['checkChild'](_0x21024c,'$text')){const _0x134f10=_0x584d2b['mapper']['toViewPosition'](_0x21024c);_0x4e3e00=_0x584d2b['writer']['createContainerElement']('span'),_0x4e3e00['getFillerOffset']=()=>null,_0x584d2b['writer']['insert'](_0x134f10,_0x4e3e00);}else{const _0x515184=_0x21024c['nodeAfter'];_0x4e3e00=_0x584d2b['mapper']['toViewElement'](_0x515184);}}for(;_0x4e3e00['parent']!==_0x4e3e00['root']&&0x0===_0x4e3e00['index'];)_0x4e3e00=_0x4e3e00['parent'];const _0x35a3d7=_0x52103f['substring'](0xb);_0x4e3e00['hasClass']('page-break')||(_0x584d2b['writer']['setStyle']('page-break-before','always',_0x4e3e00),_0x584d2b['writer']['setAttribute']('data-pagination-page',_0x35a3d7,_0x4e3e00),_0x584d2b['mapper']['bindElementToMarker'](_0x4e3e00,_0x52103f)),_0x11f430['stop']();});});}['_setupKeystrokes'](){const _0x44cdf0=this['editor'];_0x44cdf0['keystrokes']['set']('Shift+Pageup',(_0x408412,_0xecf00)=>{this['goToPreviousPage'](),_0xecf00();}),_0x44cdf0['keystrokes']['set']('Shift+Pagedown',(_0x723ec1,_0x5d9980)=>{this['goToNextPage'](),_0x5d9980();}),_0x44cdf0['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x44cdf0['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x44cdf0['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x44cdf0['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x2e725e){return _0x2e725e<0x1&&(_0x2e725e=0x1),_0x2e725e>this['totalPages']&&(_0x2e725e=this['totalPages']),_0x2e725e;}},V=class extends _0x57c9e3{['pageNumberView'];constructor(_0x1caf51){super(_0x1caf51);const _0x3310a5=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x453be9(_0x1caf51,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3c87c9=>T(_0x1caf51,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3c87c9)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x3a6293=>!_0x3a6293),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3310a5['if']('isEnabled','ck-disabled',_0xb153ac=>!_0xb153ac)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3310a5['to']('totalPages')}]}]});}['render'](){super['render']();const _0x451684=this['pageNumberView']['element'],_0x434e61=_0x3eacbe=>{this['pageNumberView']['element']['value']=String(_0x3eacbe);};_0x434e61(this['pageNumber']),this['on']('change:pageNumber',(_0x337b1e,_0x166468,_0x5665de)=>{_0x434e61(_0x5665de);}),this['listenTo'](_0x451684,'keydown',(_0x5e648d,_0x18c562)=>{if('ArrowUp'===_0x18c562['key']||'ArrowDown'===_0x18c562['key'])return void _0x18c562['stopPropagation']();if(_0x18c562['keyCode']!==_0x1ee18d['enter'])return;_0x18c562['preventDefault']();const _0x16d5a6=_0x451684['valueAsNumber'];Number['isNaN'](_0x16d5a6)?_0x451684['value']=String(this['pageNumber']):(_0x451684['checkValidity']()?this['pageNumber']=_0x16d5a6:_0x16d5a6>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x451684['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x451684['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x451684,'blur',()=>{_0x451684['value']=String(this['pageNumber']);}),this['listenTo'](_0x451684,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x5b4aab{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x10b912=this['editor'],_0x31624e=_0x10b912['plugins']['get']('PaginationEditing');_0x10b912['ui']['componentFactory']['add']('pageNavigation',_0x37c36f=>{const _0x4a3870=new V(_0x37c36f);return _0x4a3870['bind']('pageNumber')['to'](_0x31624e),_0x4a3870['bind']('totalPages')['to'](_0x31624e),_0x4a3870['bind']('isEnabled')['to'](_0x31624e),_0x4a3870['on']('navigation',(_0xf71218,_0x2af712)=>{_0x31624e['moveSelectionToPage'](_0x2af712),_0x31624e['scrollToPage'](_0x2af712);}),_0x4a3870;}),_0x10b912['ui']['componentFactory']['add']('nextPage',_0x4c1e40=>{const _0x599c2b=new _0x1f2151(_0x4c1e40);return _0x599c2b['isEnabled']=!0x0,_0x599c2b['label']=T(_0x10b912['locale'],'Go\x20to\x20next\x20page'),_0x599c2b['icon']=_0x41fd88,_0x599c2b['tooltip']=!0x0,_0x599c2b['keystroke']='Shift+PageDown',_0x599c2b['bind']('isEnabled')['to'](_0x31624e),this['listenTo'](_0x599c2b,'execute',()=>{_0x31624e['goToNextPage']();}),_0x599c2b;}),_0x10b912['ui']['componentFactory']['add']('previousPage',_0x3a713c=>{const _0x518197=new _0x1f2151(_0x3a713c);return _0x518197['isEnabled']=!0x0,_0x518197['label']=T(_0x10b912['locale'],'Go\x20to\x20previous\x20page'),_0x518197['icon']=_0x3581cd,_0x518197['tooltip']=!0x0,_0x518197['keystroke']='Shift+PageUp',_0x518197['bind']('isEnabled')['to'](_0x31624e),this['listenTo'](_0x518197,'execute',()=>{_0x31624e['goToPreviousPage']();}),_0x518197;});}},$=class extends _0x5b4aab{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[G,M];}constructor(_0x53b4b9){super(_0x53b4b9),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x112b4a=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x112b4a),this['bind']('totalPages')['to'](_0x112b4a),_0x43205f['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x16fdf6){this['editor']['plugins']['get'](G)['scrollToPage'](_0x16fdf6);}};export{$ as Pagination,B as PaginationRenderer};
|
|
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};
|
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':_0x5adb7d=>0x1!=_0x5adb7d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31092f=>{const {af:{dictionary:_0x2c4336,getPluralForm:_0x922ed0}}={'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':_0x5515b0=>0x1!=_0x5515b0}};_0x31092f['af']||={'dictionary':{},'getPluralForm':null},_0x31092f['af']['dictionary']=Object['assign'](_0x31092f['af']['dictionary'],_0x2c4336),_0x31092f['af']['getPluralForm']=_0x922ed0;})(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':_0x1daa4f=>0x0==_0x1daa4f?0x0:0x1==_0x1daa4f?0x1:0x2==_0x1daa4f?0x2:_0x1daa4f%0x64>=0x3&&_0x1daa4f%0x64<=0xa?0x3:_0x1daa4f%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36ad52=>{const {ar:{dictionary:_0x5f3edc,getPluralForm:_0x319caa}}={'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':_0x5dd89c=>0x0==_0x5dd89c?0x0:0x1==_0x5dd89c?0x1:0x2==_0x5dd89c?0x2:_0x5dd89c%0x64>=0x3&&_0x5dd89c%0x64<=0xa?0x3:_0x5dd89c%0x64>=0xb?0x4:0x5}};_0x36ad52['ar']||={'dictionary':{},'getPluralForm':null},_0x36ad52['ar']['dictionary']=Object['assign'](_0x36ad52['ar']['dictionary'],_0x5f3edc),_0x36ad52['ar']['getPluralForm']=_0x319caa;})(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':_0x39e272=>0x1!=_0x39e272}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x285cdf=>{const {ast:{dictionary:_0x43991c,getPluralForm:_0x3b6739}}={'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':_0x25f00b=>0x1!=_0x25f00b}};_0x285cdf['ast']||={'dictionary':{},'getPluralForm':null},_0x285cdf['ast']['dictionary']=Object['assign'](_0x285cdf['ast']['dictionary'],_0x43991c),_0x285cdf['ast']['getPluralForm']=_0x3b6739;})(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':_0x435318=>0x1!=_0x435318}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f4125=>{const {az:{dictionary:_0x2026b4,getPluralForm:_0x307cfd}}={'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':_0x47bf50=>0x1!=_0x47bf50}};_0x1f4125['az']||={'dictionary':{},'getPluralForm':null},_0x1f4125['az']['dictionary']=Object['assign'](_0x1f4125['az']['dictionary'],_0x2026b4),_0x1f4125['az']['getPluralForm']=_0x307cfd;})(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':_0x27901f=>_0x27901f%0xa==0x1&&_0x27901f%0x64!=0xb?0x0:_0x27901f%0xa>=0x2&&_0x27901f%0xa<=0x4&&(_0x27901f%0x64<0xa||_0x27901f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d1011=>{const {be:{dictionary:_0x440ce2,getPluralForm:_0x3ec5c9}}={'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':_0x13a1f3=>_0x13a1f3%0xa==0x1&&_0x13a1f3%0x64!=0xb?0x0:_0x13a1f3%0xa>=0x2&&_0x13a1f3%0xa<=0x4&&(_0x13a1f3%0x64<0xa||_0x13a1f3%0x64>=0x14)?0x1:0x2}};_0x5d1011['be']||={'dictionary':{},'getPluralForm':null},_0x5d1011['be']['dictionary']=Object['assign'](_0x5d1011['be']['dictionary'],_0x440ce2),_0x5d1011['be']['getPluralForm']=_0x3ec5c9;})(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':_0x4627c1=>0x1!=_0x4627c1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3c671f=>{const {bg:{dictionary:_0x34a8e8,getPluralForm:_0x40cb63}}={'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':_0xe9ed90=>0x1!=_0xe9ed90}};_0x3c671f['bg']||={'dictionary':{},'getPluralForm':null},_0x3c671f['bg']['dictionary']=Object['assign'](_0x3c671f['bg']['dictionary'],_0x34a8e8),_0x3c671f['bg']['getPluralForm']=_0x40cb63;})(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':_0x4d78b8=>0x1!=_0x4d78b8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x192bb5=>{const {bn:{dictionary:_0x1cc259,getPluralForm:_0x3f2cee}}={'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':_0x57d80e=>0x1!=_0x57d80e}};_0x192bb5['bn']||={'dictionary':{},'getPluralForm':null},_0x192bb5['bn']['dictionary']=Object['assign'](_0x192bb5['bn']['dictionary'],_0x1cc259),_0x192bb5['bn']['getPluralForm']=_0x3f2cee;})(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':_0x12a11c=>_0x12a11c%0xa==0x1&&_0x12a11c%0x64!=0xb?0x0:_0x12a11c%0xa>=0x2&&_0x12a11c%0xa<=0x4&&(_0x12a11c%0x64<0xa||_0x12a11c%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1862c4=>{const {bs:{dictionary:_0x5d73d1,getPluralForm:_0x55de01}}={'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':_0x28eb23=>_0x28eb23%0xa==0x1&&_0x28eb23%0x64!=0xb?0x0:_0x28eb23%0xa>=0x2&&_0x28eb23%0xa<=0x4&&(_0x28eb23%0x64<0xa||_0x28eb23%0x64>=0x14)?0x1:0x2}};_0x1862c4['bs']||={'dictionary':{},'getPluralForm':null},_0x1862c4['bs']['dictionary']=Object['assign'](_0x1862c4['bs']['dictionary'],_0x5d73d1),_0x1862c4['bs']['getPluralForm']=_0x55de01;})(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':_0x589be0=>0x1!=_0x589be0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cf79a=>{const {ca:{dictionary:_0x4d6a94,getPluralForm:_0x1b5dbb}}={'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':_0x5e71b3=>0x1!=_0x5e71b3}};_0x2cf79a['ca']||={'dictionary':{},'getPluralForm':null},_0x2cf79a['ca']['dictionary']=Object['assign'](_0x2cf79a['ca']['dictionary'],_0x4d6a94),_0x2cf79a['ca']['getPluralForm']=_0x1b5dbb;})(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':_0x4052f2=>0x1==_0x4052f2?0x0:_0x4052f2>=0x2&&_0x4052f2<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a8b12=>{const {cs:{dictionary:_0x443b3e,getPluralForm:_0x494888}}={'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':_0x20321b=>0x1==_0x20321b?0x0:_0x20321b>=0x2&&_0x20321b<=0x4?0x1:0x2}};_0x2a8b12['cs']||={'dictionary':{},'getPluralForm':null},_0x2a8b12['cs']['dictionary']=Object['assign'](_0x2a8b12['cs']['dictionary'],_0x443b3e),_0x2a8b12['cs']['getPluralForm']=_0x494888;})(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':_0x40cdfe=>0x1!=_0x40cdfe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ed6e6=>{const {da:{dictionary:_0x3c1bd0,getPluralForm:_0x264f92}}={'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':_0x5357b8=>0x1!=_0x5357b8}};_0x1ed6e6['da']||={'dictionary':{},'getPluralForm':null},_0x1ed6e6['da']['dictionary']=Object['assign'](_0x1ed6e6['da']['dictionary'],_0x3c1bd0),_0x1ed6e6['da']['getPluralForm']=_0x264f92;})(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':_0x4f550f=>0x1!=_0x4f550f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6920e4=>{const {'de-ch':{dictionary:_0x1c00b7,getPluralForm:_0xfeddbf}}={'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':_0xa2a2d1=>0x1!=_0xa2a2d1}};_0x6920e4['de-ch']||={'dictionary':{},'getPluralForm':null},_0x6920e4['de-ch']['dictionary']=Object['assign'](_0x6920e4['de-ch']['dictionary'],_0x1c00b7),_0x6920e4['de-ch']['getPluralForm']=_0xfeddbf;})(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':_0x50371d=>0x1!=_0x50371d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc08ddd=>{const {de:{dictionary:_0x20fdd7,getPluralForm:_0x2590f7}}={'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':_0x232cf8=>0x1!=_0x232cf8}};_0xc08ddd['de']||={'dictionary':{},'getPluralForm':null},_0xc08ddd['de']['dictionary']=Object['assign'](_0xc08ddd['de']['dictionary'],_0x20fdd7),_0xc08ddd['de']['getPluralForm']=_0x2590f7;})(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':_0x16f4ea=>0x1!=_0x16f4ea}};
|