@ckeditor/ckeditor5-pagination 48.4.0-alpha.6 → 48.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x1d110d}from'@ckeditor/ckeditor5-core';import{ButtonView as _0xa70220,InputNumberView as _0x419233,View as _0x3c5ee7}from'@ckeditor/ckeditor5-ui';import{Rect as _0xb453a0,ResizeObserver as _0x2b1c1e,env as _0x564e00,first as _0x4bea60,global as _0x161004,keyCodes as _0x364e31,logWarning as _0x6e5cad,toUnit as _0x3a6c6a,uid as _0x2a9249}from'@ckeditor/ckeditor5-utils';import{debounce as _0xbd7c49}from'es-toolkit/compat';import{IconArrowDown as _0x3b5f,IconArrowUp as _0x5096f0}from'@ckeditor/ckeditor5-icons';var w=class extends _0x1d110d{_recalculatePageBreaksDebounced=_0xbd7c49(()=>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 _0x6e5cad('pagination-config-not-found',this['editor']['config']);const _0xd7e764=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0xd7e764),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0xb1ee12,_0x4ffa14,_0x4660df)=>{_0x4660df&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x175f40){const _0x19621a='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x294eb7=0x791b8,_0x42a5eb=window['Date']['now'](),_0x98c996=_0x175f40['editor'],_0xd30792=new window['Promise'](_0x3af212=>{_0x98c996['once']('ready',_0x3af212);}),_0x31a4e2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1b0ce8=_0x98c996['config']['get']('licenseKey');async function _0x452ce1(){let _0x39b68d,_0x4bea70=null,_0x5a8f33=null;try{return'GPL'==_0x1b0ce8?'NotAllowed':(_0x39b68d=_0x40befb(),_0x39b68d?(_0x39b68d['usageEndpoint']&&(_0x5a8f33=_0x30826d(_0x39b68d['usageEndpoint'],_0x39b68d['jti'])),await _0x1924af()?_0xe32422()?_0xa8c2de()?'Expired':_0x418fc1()?('evaluation'==_0x39b68d['licenseType']&&(_0x4bea70=_0x5549e2('EvaluationLimit')),await _0x517363()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xa8c2de(){const _0x3536c9=['evaluation','trial']['includes'](_0x39b68d['licenseType'])?_0x42a5eb/0x3e8:0xe10*_0x294eb7;return _0x39b68d['exp']<_0x3536c9;}function _0xe32422(){const _0x117616=_0x39b68d['features'];return!!_0x117616&&(!!_0x117616['includes']('*')||!!_0x117616['includes']('PAG'));}function _0x418fc1(){const _0x171768=_0x39b68d['licensedHosts'];if(!_0x171768||0x0==_0x171768['length'])return!0x0;const {hostname:_0x2570cc}=new URL(window['location']['href']);if(_0x171768['includes'](_0x2570cc))return!0x0;const _0x25d792=_0x2570cc['split']('.');return _0x171768['filter'](_0x598772=>_0x598772['includes']('*'))['map'](_0x425043=>_0x425043['split']('.'))['filter'](_0x524436=>_0x524436['length']<=_0x25d792['length'])['map'](_0x5625e3=>Array(_0x25d792['length']-_0x5625e3['length'])['fill']('*'===_0x5625e3[0x0]?'*':'')['concat'](_0x5625e3))['some'](_0x240af0=>_0x25d792['every']((_0xb24e08,_0x107bfa)=>_0x240af0[_0x107bfa]===_0xb24e08||'*'===_0x240af0[_0x107bfa]));}function _0x517363(){return _0x4bea70&&_0x5a8f33?new window['Promise']((_0x4dbd41,_0x321d63)=>{_0x4bea70['then'](_0x4dbd41,_0x321d63),_0x5a8f33['then'](_0xb54433=>{'Valid'!=_0xb54433&&_0x4dbd41(_0xb54433);},_0x321d63);}):_0x4bea70||_0x5a8f33||'Valid';}}function _0x30826d(_0x328e52,_0x1b3f39){return new window['Promise'](_0x58cb80=>{if(_0xd2e007())return _0x58cb80('Valid');_0x20e5bc(),_0x98c996['decorate']('_sendUsageRequest');let _0x6d0ef0=!0x1;const _0x396323=_0x2a9249();function _0x2691cd(_0xb66bd7){return!!_0xb66bd7&&('object'==typeof _0xb66bd7||'function'==typeof _0xb66bd7)&&'function'==typeof _0xb66bd7['then']&&'function'==typeof _0xb66bd7['catch'];}function _0x17dfb2(_0x44bc43){_0x39663f(_0x44bc43)['then'](_0x1eaee1=>_0x1eaee1&&'ok'==_0x1eaee1['status']?_0xf42833(_0x5a1721(_0x396323+_0x1b3f39))!=_0x1eaee1['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x468539=>(_0x3da12d(),_0x468539),()=>{const _0x5388de=_0x26ea61();return null==_0x5388de?(_0x3da12d(),'Valid'):_0x42a5eb-_0x5388de>0x240c8400?'UsageLimit':'Valid';})['then'](_0x58cb80)['catch'](()=>{_0x58cb80('UsageLimit');});const _0x215e4e=0x36ee80;function _0x3da12d(){const _0x474745='llct-'+_0xf42833(_0x5a1721(_0x328e52)),_0x4a1f0e=_0x2b72c3(_0xf42833(window['Math']['ceil'](_0x42a5eb/_0x215e4e)));window['localStorage']['setItem'](_0x474745,_0x4a1f0e);}function _0x26ea61(){const _0x440824='llct-'+_0xf42833(_0x5a1721(_0x328e52)),_0x33d7ba=window['localStorage']['getItem'](_0x440824);return _0x33d7ba?window['parseInt'](_0x2b72c3(_0x33d7ba),0x10)*_0x215e4e:null;}function _0x39663f(_0x535d22){return new window['Promise']((_0x2d6fe1,_0x48207e)=>{_0x535d22['then'](_0x2d6fe1,_0x48207e),window['setTimeout'](_0x48207e,0x1d4c0);});}}_0x98c996['on']('_sendUsageRequest',(_0x1cfdc0,_0x5806e7)=>{if(_0x5806e7[0x0]!=_0x328e52)return _0x58cb80('UsageLimit');_0x5806e7[0x1]={..._0x5806e7[0x1],'requestId':_0x396323};},{'priority':'high'}),_0x98c996['on']('_sendUsageRequest',_0x59ec12=>{_0x2691cd(_0x59ec12['return'])&&(_0x6d0ef0=!0x0,_0x17dfb2(_0x59ec12['return']));},{'priority':'low'}),_0xd30792['then'](()=>{_0x6d0ef0||_0x58cb80('UsageLimit');});});function _0xd2e007(){return'auto'==_0x98c996['editing']['view']['_overlayModeHint'];}function _0x20e5bc(){_0x98c996['editing']['view']['_overlayModeHint']='auto';}}function _0x5549e2(_0x2d66b7){const _0x249ab0=[new window['Promise'](_0x14fb76=>setTimeout(_0x14fb76,0x93ecc)),_0xd30792['then'](()=>new window['Promise'](_0x460cea=>{let _0x1ef356=0x0;_0x98c996['model']['on']('applyOperation',(_0x4d9c68,_0x7e244e)=>{_0x7e244e[0x0]['isDocumentOperation']&&_0x1ef356++,0x5e8==_0x1ef356&&(_0x460cea(),_0x4d9c68['off']());});}))];return window['Promise']['race'](_0x249ab0)['then'](()=>_0x2d66b7);}async function _0x6de49c(){await _0xd30792,_0x98c996['model']['change']=_0x128797,_0x98c996['model']['enqueueChange']=_0x128797,_0x98c996['enableReadOnlyMode']('model');}function _0x4ee0fe(_0x187264){const _0x56c2dd=_0x29f3b0();_0x98c996[_0x56c2dd]='paginationLicenseKey'+_0x187264,'Valid'!=_0x187264&&_0x6de49c();}function _0x29f3b0(){const _0xed204b=window['String'](window['performance']['now']())['replace']('.','');let _0x47aab6='I';for(let _0x79ff2c=0x0;_0x79ff2c<_0xed204b['length'];_0x79ff2c+=0x2){let _0x4e2fad=window['parseInt'](_0xed204b['substring'](_0x79ff2c,_0x79ff2c+0x2));_0x4e2fad>=0x3e&&(_0x4e2fad-=0x3e),_0x47aab6+=_0x19621a[_0x4e2fad];}return _0x47aab6;}function _0x40befb(){const _0x4fa04d=_0x1b0ce8['split']('.');if(0x3!=_0x4fa04d['length'])return null;return _0x2252d7(_0x4fa04d[0x1]);function _0x2252d7(_0x2d923e){const _0x89db5d=_0x4811d1(_0x2d923e);return _0x89db5d&&_0x589247()?_0x89db5d:null;function _0x589247(){const _0x27ff88=_0x89db5d['jti'],_0x142b2a=window['parseInt'](_0x27ff88['substring'](_0x27ff88['length']-0x8),0x10),_0x33e8f5={..._0x89db5d,'jti':_0x27ff88['substring'](0x0,_0x27ff88['length']-0x8)};return delete _0x33e8f5['vc'],_0x5a1721(_0x33e8f5)==_0x142b2a;}}}async function _0x1924af(){let _0x34649e=!0x0;try{const [_0x2169b0,_0x4df058,_0x232a7e]=_0x1b0ce8['split']('.');return _0x3ea44f(_0x2169b0),await _0x592d66(_0x2169b0,_0x4df058,_0x232a7e),_0x34649e;}catch{return!0x1;}function _0x3ea44f(_0x155eab){const _0x1ae22c=_0x4811d1(_0x155eab);_0x1ae22c&&'ES256'==_0x1ae22c['alg']||(_0x34649e=!0x1);}async function _0x592d66(_0x4c775f,_0x741507,_0xf190c9){const _0x367c0a=window['Uint8Array']['from'](_0x199701(_0xf190c9),_0x23003c=>_0x23003c['charCodeAt'](0x0)),_0x1d250d=new window['TextEncoder']()['encode'](_0x4c775f+'.'+_0x741507),_0x2e1717=window['crypto']['subtle'];if(!_0x2e1717)return;const _0x4639c9=await _0x2e1717['importKey']('jwk',_0x31a4e2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2e1717['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4639c9,_0x367c0a,_0x1d250d)||(_0x34649e=!0x1);}}function _0x4811d1(_0x202d9c){return _0x202d9c['startsWith']('ey')?JSON['parse'](_0x199701(_0x202d9c)):null;}function _0x199701(_0x49f5b8){return window['atob'](_0x49f5b8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5a1721(_0x2c5849){let _0x135e29=0x1505;function _0x19bf49(_0x34b323){for(let _0x95b4c9=0x0;_0x95b4c9<_0x34b323['length'];_0x95b4c9++){const _0x5cba33=_0x34b323['charCodeAt'](_0x95b4c9);_0x135e29=(_0x135e29<<0x5)+_0x135e29+_0x5cba33,_0x135e29&=_0x135e29;}}function _0x5bb522(_0x47d7b0){Array['isArray'](_0x47d7b0)?_0x47d7b0['forEach'](_0x5bb522):_0x47d7b0&&'object'==typeof _0x47d7b0?Object['entries'](_0x47d7b0)['sort']()['forEach'](([_0x48b7b9,_0x324f2d])=>{_0x19bf49(_0x48b7b9),_0x5bb522(_0x324f2d);}):_0x19bf49(window['String'](_0x47d7b0));}return _0x5bb522(_0x2c5849),_0x135e29>>>0x0;}function _0xf42833(_0x473b99){return _0x473b99['toString'](0x10)['padStart'](0x8,'0');}function _0x2b72c3(_0xba5938){return _0xba5938['split']('')['reverse']()['join']('');}function _0x128797(){}_0x4ee0fe(await _0x452ce1());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x121921=this['editor'],_0x2ae548=_0x121921['editing']['view'],_0x53ecf1=this['_getAttachedDomRoot']();if(!_0x53ecf1||!_0x53ecf1['hasChildNodes']())return void _0x121921['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x2da148,pageHeight:_0x150b60}=_0x121921['config']['get']('pagination'),{top:_0x31543e,left:_0x37ff3f,bottom:_0x3abac5,right:_0x471c7b}=this['_configuredPaddings'];this['_pagesContainer']=new _0x3c5ee7(_0x121921['locale']);const _0x454c60=this['_pagesContainer'];_0x454c60['set']('class',''),_0x454c60['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x2da148,'width':_0x2da148,'height':'calc(\x20'+_0x150b60+'\x20-\x20'+_0x31543e+'\x20-\x20'+_0x3abac5+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x471c7b+'\x200\x20'+_0x37ff3f,'columnGap':'calc('+_0x37ff3f+'\x20+\x20'+_0x471c7b+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x454c60['bindTemplate']['to']('class')}}),_0x454c60['render'](),_0x53ecf1['parentNode']['insertBefore'](_0x454c60['element'],_0x53ecf1['nextSibling']),this['listenTo'](_0x2ae548,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x1b8554 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1b8554['ownerDocument']['body']['contains'](_0x1b8554))return _0x1b8554;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x56041e=this['editor']['editing']['view'],_0x489868=this['_pagesContainer'],_0x4080b7=this['_getAttachedDomRoot']();if(!_0x4080b7||!_0x489868)return Promise['resolve']();for(_0x489868['class']=['ck-reset','ck-pagination-view',..._0x4080b7['classList']]['join']('\x20');_0x489868['element']['firstChild'];)_0x489868['element']['firstChild']['remove']();const _0x1080ed=Array['from'](_0x56041e['domRoots']);_0x1080ed['sort'](([,_0x173549],[,_0x491314])=>_0x173549['compareDocumentPosition'](_0x491314)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2bc1bc,_0x391567]of _0x1080ed){const _0x1d5dcf=_0x391567['cloneNode'](!0x0);'attributeStyleMap'in _0x1d5dcf&&_0x1d5dcf['attributeStyleMap']['clear'](),_0x1d5dcf['dataset']['rootName']=_0x2bc1bc,_0x1d5dcf['className']='ck-content\x20ck-pagination_enabled',_0x1d5dcf['removeAttribute']('id'),_0x1d5dcf['tabIndex']=-0x1,_0x489868['element']['append'](_0x1d5dcf);}const _0x444e49=Array['from'](_0x489868['element']['querySelectorAll']('img'));return function(_0x3841b7){return Promise['all'](_0x3841b7['map'](_0x498ad=>Promise['race']([k(_0x498ad),v(0x3e8)])));}(_0x444e49)['then'](()=>{for(const _0x28ac6f of _0x444e49['filter'](_0x2e8a6c=>!_0x2e8a6c['closest']('table')))if(_0x28ac6f['offsetParent']){const _0x2e9c6b=_0x161004['window']['getComputedStyle'](_0x28ac6f),_0x5105ba=_0x161004['document']['createElement']('span');for(const _0x532965 of _0x2e9c6b)_0x5105ba['style']['setProperty'](_0x532965,_0x2e9c6b[_0x532965]);_0x5105ba['style']['backgroundImage']='url(\x20'+_0x28ac6f['src']+'\x20)',_0x5105ba['style']['breakInside']='avoid','PICTURE'==_0x28ac6f['parentElement']?.['tagName']?_0x28ac6f['parentElement']['replaceWith'](_0x5105ba):_0x28ac6f['replaceWith'](_0x5105ba);}return new Promise(_0x4040c1=>_0x161004['window']['requestAnimationFrame'](()=>_0x4040c1()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x4595c1=this['_pagesContainer']['element'];if(!_0x4595c1['ownerDocument']['body']['contains'](_0x4595c1))return;const _0x3ad29c=new _0xb453a0(_0x4595c1)['excludeScrollbarsAndBorders'](),_0x32b9ab=Math['floor'](_0x3ad29c['width']+0x64),_0x2a7efe=_(_0x4595c1,Math['floor'](_0x3ad29c['left']-_0x4595c1['scrollLeft']),_0x32b9ab,_0x3ad29c['height'])['map'](_0x518805=>this['_mapPageStarterInfoToPageBreakInfo'](_0x518805))['filter'](_0xaa4d4c=>!0x1!==_0xaa4d4c);_0x2a7efe['every'](_0x44d64b=>!!_0x44d64b)&&(this['pageBreaks']=_0x2a7efe);}_mapPageStarterInfoToPageBreakInfo(_0x113ba8){const _0x33ffc2=this['editor']['editing']['view'],_0x281300=this['editor']['editing']['mapper'],_0x3b2a58=_0x33ffc2['domConverter'],_0x218275=_0x113ba8['path']['shift'](),_0x1bd0b3=this['_pagesContainer']['element']['childNodes'][_0x218275]['dataset']['rootName'],_0x3d131d=_0x33ffc2['getDomRoot'](_0x1bd0b3);if(!_0x3d131d)return null;const _0x182c69=function(_0x16be1b,_0xb30dcb){let _0x5ccc80=_0x16be1b;for(const _0x1763a8 of _0xb30dcb['path']){if(!_0x5ccc80)return null;_0x5ccc80=_0x5ccc80['childNodes'][_0x1763a8];}return _0x5ccc80;}(_0x3d131d,_0x113ba8);if(!_0x182c69)return null;const _0x4936c5=_0x3b2a58['domPositionToView'](_0x182c69,_0x113ba8['textOffset']||0x0);return _0x4936c5?'manual'==_0x113ba8['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4936c5,_0x182c69):'text'==_0x113ba8['type']&&_0x281300['toModelPosition'](_0x4936c5)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4936c5,_0x182c69,_0x113ba8['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4936c5,_0x182c69,_0x113ba8['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x825ceb,_0x2f3a4a){const _0xe6870b=this['editor']['model'],_0x217998=this['editor']['editing']['mapper']['toModelElement'](_0x825ceb['parent']),_0x1772a0=_0xe6870b['createRangeOn'](_0x217998);return new P({'type':'manual','modelRange':_0x1772a0,'domNode':_0x2f3a4a,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x3c1457,_0xd00a4a,_0x297246){const _0x5ed954=this['editor']['model'],_0x185c2d=this['editor']['editing']['mapper'],_0x434d6b=this['editor']['editing']['view']['domConverter'];if(_0x297246>=_0xd00a4a['length'])return null;const _0x5528ea=_0x185c2d['toModelPosition'](_0x3c1457),_0x46d8ed=_0x5ed954['createRange'](_0x5528ea),_0xf1d12b=_0x185c2d['findMappedViewAncestor'](_0x3c1457),_0x59b35a=_0x434d6b['mapViewToDom'](_0xf1d12b);return new P({'type':'text','modelRange':_0x46d8ed,'domNode':_0xd00a4a,'offset':y(_0xd00a4a,_0x297246,_0x59b35a)});}_mapElementPageStarterInfoToPageBreakInfo(_0x4e586d,_0x4c9db8,_0x315fbc){const _0x127be7=this['editor']['model'],_0x18e5b9=this['editor']['editing'],_0x2b3c10=_0x18e5b9['mapper'],_0x4b4c5a=_0x18e5b9['view']['domConverter'],_0x37e9e9=_0x2b3c10['findMappedViewAncestor'](_0x4e586d),_0x5969cc=_0x2b3c10['toModelElement'](_0x37e9e9);if(!_0x5969cc||_0x5969cc['is']('rootElement'))return!0x1;const _0x1cdc6e=function(_0x4180d7){const _0x3a9b56=_0x4180d7['parent'],_0x4557f1=_0x3a9b56['root']['document']['model'],_0x557a52=_0x3a9b56['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x2d2433=null;for(const _0x4a1aa8 of _0x557a52){if(_0x4a1aa8['is']('rootElement'))return _0x2d2433;if(!_0x4557f1['createPositionBefore'](_0x4a1aa8)['isTouching'](_0x4180d7))return _0x2d2433;_0x2d2433=_0x4a1aa8;}}(_0x127be7['createPositionBefore'](_0x5969cc))||_0x5969cc;let _0xfb8567=_0x2b3c10['toViewElement'](_0x1cdc6e),_0x70e3e4=_0x127be7['createRangeOn'](_0x1cdc6e);const _0x31eee6=_0x127be7['createPositionBefore'](_0x1cdc6e)['nodeBefore'];if(_0x31eee6&&_0x31eee6['is']('element','imageBlock')){const _0x55aef5=_0x2b3c10['toViewElement'](_0x31eee6),_0x4531ef=_0x4b4c5a['mapViewToDom'](_0x55aef5),_0x4c2847=_0x161004['window']['getComputedStyle'](_0x4531ef)['float'];'left'!=_0x4c2847&&'right'!=_0x4c2847||(_0x70e3e4=_0x127be7['createRangeOn'](_0x31eee6));}for(;_0xfb8567['parent']!==_0xfb8567['root']&&0x0===_0xfb8567['index'];)_0xfb8567=_0xfb8567['parent'];const _0x50e983=new _0xb453a0(K(_0x4c9db8)?_0x4c9db8:L(_0x4c9db8)),_0x80fe85=_0x315fbc?_0x50e983['height']-_0x315fbc:0x0,_0x268b62=_0x4b4c5a['mapViewToDom'](_0xfb8567),_0x1598a1=new _0xb453a0(_0x268b62);return new P({'type':'element','modelRange':_0x70e3e4,'domNode':_0x268b62,'offset':Math['round'](_0x80fe85)||_0x37e9e9!=b(_0x4e586d)?_0x80fe85+_0x50e983['top']-_0x1598a1['top']:0x0});}get['_configuredPaddings'](){const _0xe88d76=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0xe88d76);}static _findPageStarterInfos(_0x4bbb07,_0x3f76e7,_0x234c4a,_0x3735eb,_0x4fb219){return _(_0x4bbb07,_0x3f76e7,_0x234c4a,_0x3735eb,_0x4fb219);}},P=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x2cdcab,modelRange:_0x27b239,domNode:_0xa8e567,offset:_0x1561db}){this['type']=_0x2cdcab,this['modelRange']=_0x27b239,this['_domNode']=_0xa8e567,this['_offset']=_0x1561db;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x4c862d=new _0xb453a0(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x4c862d['top']+_0x4c862d['height']/0x2:_0x4c862d['top']+this['_offset'];}};function y(_0x474ab7,_0x37fc2e,_0xff1378){const _0x20a813=L(_0x474ab7),_0x3571b5=function(_0x224064){const _0x1288e0=_0x161004['document']['createRange']();return _0x1288e0['selectNodeContents'](_0x224064),_0x1288e0;}(_0xff1378);let _0x4f43e2;_0x4f43e2=0x0==_0x37fc2e?N(_0x3571b5['startContainer'],_0x3571b5['startOffset'],_0x474ab7['parentNode'],Array['from'](_0x474ab7['parentNode']['childNodes'])['indexOf'](_0x474ab7)):N(_0x3571b5['startContainer'],_0x3571b5['startOffset'],_0x474ab7,_0x37fc2e);const _0x3f3bde=N(_0x474ab7,_0x37fc2e,_0x3571b5['endContainer'],_0x3571b5['endOffset']),_0x47100a=new _0xb453a0(_0x4f43e2)['bottom'];return(new _0xb453a0(_0x3f3bde)['top']+_0x47100a)/0x2-new _0xb453a0(_0x20a813)['top'];}function b(_0x194936){let _0x1748ea=_0x194936['parent'];for(;_0x1748ea['is']('$text')||_0x1748ea['is']('attributeElement');)_0x1748ea=_0x1748ea['parent'];return _0x1748ea;}function k(_0x44f553){return _0x44f553['hasAttribute']('width')&&_0x44f553['hasAttribute']('height')?Promise['resolve']():new Promise(_0x54f0e0=>{function _0x359c51(){_0x44f553['removeEventListener']('load',_0x359c51),_0x44f553['removeEventListener']('error',_0x359c51),_0x54f0e0();}_0x44f553['complete']?_0x54f0e0():(_0x44f553['addEventListener']('load',_0x359c51),_0x44f553['addEventListener']('error',_0x359c51));});}function v(_0x35203d){return new Promise(_0x4a79c3=>setTimeout(_0x4a79c3,_0x35203d));}function L(_0x3fad96){const _0x8f6590=_0x161004['document']['createRange']();return _0x8f6590['selectNode'](_0x3fad96),_0x8f6590;}function x(_0x5979ff,_0x4adb39,_0x9e5975){const _0x3844ad=_0x161004['document']['createRange']();return _0x3844ad['setStart'](_0x5979ff,_0x4adb39),_0x3844ad['setEnd'](_0x5979ff,_0x9e5975),_0x3844ad;}function N(_0x11ec29,_0x23d370,_0x4e84bb,_0x30b042){const _0x371b21=_0x161004['document']['createRange']();return _0x371b21['setStart'](_0x11ec29,_0x23d370),_0x371b21['setEnd'](_0x4e84bb,_0x30b042),_0x371b21;}function _(_0x4d6e78,_0x608853,_0x47baa0,_0x244e9d,_0x11e833){const _0x430d29=[];for(const [_0x2302e2,_0x2ae67f]of _0x4d6e78['childNodes']['entries']()){let _0x54fa8b=[];K(_0x2ae67f)&&_0x2ae67f['offsetParent']&&['static','relative']['includes'](_0x161004['window']['getComputedStyle'](_0x2ae67f)['position'])?_0x54fa8b=E(_0x2ae67f,_0x2302e2,_0x608853,_0x47baa0,_0x244e9d,_0x11e833):O(_0x2ae67f)&&(_0x54fa8b=S(_0x2ae67f,_0x2302e2,_0x608853,_0x47baa0,_0x11e833)),_0x54fa8b['length']&&(_0x430d29['push'](..._0x54fa8b),_0x608853+=_0x54fa8b['length']*_0x47baa0,_0x11e833=!0x1);}return _0x430d29;}function E(_0x15d51d,_0x104106,_0x1b85c6,_0x5d78fc,_0x197c11,_0x245edd){const _0x16efcb=[];var _0x3d7559;if((_0x3d7559=_0x15d51d['previousSibling'])&&K(_0x3d7559)&&Boolean(_0x3d7559['classList']['contains']('page-break')||_0x3d7559['closest']('.page-break'))&&(_0x16efcb['push']({'type':'manual','offset':0x0,'path':[_0x104106-0x1]}),_0x245edd=!0x0),'table-row'==_0x161004['window']['getComputedStyle'](_0x15d51d)['display']){let _0x53b8a6=0x0,_0x35d591=!0x1;for(const _0x2413ea of _0x15d51d['getClientRects']())_0x53b8a6+=_0x2413ea['height'],_0x2413ea['left']>=_0x1b85c6&&(_0x35d591=!0x0);if(_0x53b8a6<_0x197c11&&_0x35d591)return _0x245edd||_0x16efcb['push']({'type':'element','offset':0x0,'path':[_0x104106]}),_0x16efcb;}const _0x2c78b0=_0x15d51d['closest']('figure.image');if(_0x2c78b0&&function(_0x284234){let _0x1d4b15=!0x1;const _0xd82e63=_0x284234['parentElement']['dataset']['rootName'],_0x23b945=_0x284234['nextElementSibling'],_0x1ec8f5=_0x284234['previousElementSibling'],_0x360d18=_0x23b945&&_0x161004['window']['getComputedStyle'](_0x23b945)['float'],_0x42b048=_0x23b945&&'ck-fake-selection-container'===_0x23b945['className'];return!_0xd82e63||_0x23b945||_0x1ec8f5||(_0x1d4b15=!0x0),_0xd82e63&&!_0x1ec8f5&&_0x42b048&&(_0x1d4b15=!0x0),_0xd82e63&&!_0x1ec8f5&&'none'!==_0x360d18&&(_0x1d4b15=!0x0),!_0x1d4b15;}(_0x2c78b0)){const _0x49cb80=_0x161004['window']['getComputedStyle'](_0x2c78b0)['float'];if('left'==_0x49cb80||'right'==_0x49cb80)return _0x16efcb;}const _0xf97d09=_(_0x15d51d,_0x1b85c6,_0x5d78fc,_0x197c11,_0x245edd);if(_0xf97d09['length']){for(const _0x57a4bc of _0xf97d09)_0x16efcb['push']({'type':_0x57a4bc['type'],'offset':_0x57a4bc['offset'],'textOffset':_0x57a4bc['textOffset'],'path':[_0x104106,..._0x57a4bc['path']]}),_0x1b85c6+=_0x5d78fc;return _0x16efcb;}return _0x16efcb['push'](...function(_0x5698e3,_0x44fafd,_0x5d8834,_0x2e505b,_0x3fe0c4){const _0x15c9e3=[];if('table-cell'==_0x161004['window']['getComputedStyle'](_0x5698e3)['display'])return[];const _0xf0971f=[];for(const _0x380248 of _0x5698e3['getClientRects']())if(_0x380248['left']>=_0x5d8834){for(const _0x170155 of _0xf0971f)_0x170155['height']+=_0x380248['height'];_0xf0971f['push']({'height':_0x380248['height']}),_0x5d8834+=_0x2e505b;}for(const _0x5ee50c of _0xf0971f)_0x3fe0c4||_0x15c9e3['push']({'type':'element','offset':_0x5ee50c['height'],'textOffset':0x0,'path':[_0x44fafd]}),_0x3fe0c4=!0x1;return _0x15c9e3;}(_0x15d51d,_0x104106,_0x1b85c6,_0x5d78fc,_0x245edd)),_0x16efcb;}function S(_0x58e1aa,_0x32f77a,_0x13b106,_0x13c31e,_0x2775b2){const _0x9a3730=L(_0x58e1aa),_0x427ab3=[];let _0x435be7=0x0;for(const _0x5f0c96 of _0x9a3730['getClientRects']())if(_0x5f0c96['left']>=_0x13b106){const _0x4b52f6=R(_0x58e1aa,_0x435be7,_0x13b106,_0x13c31e);_0x2775b2||_0x427ab3['push']({'type':'text','path':[_0x32f77a],'textOffset':_0x4b52f6}),_0x435be7=_0x4b52f6,_0x13b106+=_0x13c31e,_0x2775b2=!0x1;}return _0x427ab3;}function R(_0x3b3aad,_0x59b7d1,_0x54914e,_0x460f74){let _0x5a990c=_0x59b7d1,_0x35f93a=_0x3b3aad['length'];for(;_0x35f93a-_0x5a990c>0x1;){const _0x58017a=Math['ceil']((_0x5a990c+_0x35f93a)/0x2);I(x(_0x3b3aad,_0x5a990c,_0x58017a),_0x54914e,_0x460f74)?_0x35f93a=_0x58017a:_0x5a990c=_0x58017a;}return _0x5a990c;}function I(_0x4a434b,_0x5b3ccc,_0x31ebb2){for(const _0x536524 of _0x4a434b['getClientRects']())if(_0x536524['left']>=_0x5b3ccc&&_0x536524['left']<_0x5b3ccc+_0x31ebb2)return!0x0;return!0x1;}function K(_0x4c102b){return _0x4c102b['nodeType']==Node['ELEMENT_NODE'];}function O(_0x55ded8){return _0x55ded8['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x3a6c6a('px');var U=class extends _0x3c5ee7{constructor(){super();const _0x8acfae=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x8acfae['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x8acfae['if']('isVisible','ck-hidden',_0x53139c=>!_0x53139c)],'style':{'left':_0x8acfae['to']('left',_0x382963=>A(_0x382963)),'top':_0x8acfae['to']('top',_0x1beb32=>A(_0x1beb32)),'width':_0x8acfae['to']('width',_0x3330b5=>A(_0x3330b5))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3ae5b7){this['_viewCollection']=_0x3ae5b7['ui']['view']['body'];}destroy(){for(const _0x258c2f of this['_hiddenLines'])_0x258c2f['destroy']();}['cleanLines'](){for(const _0x40f9fb of this['_visibleLines'])_0x40f9fb['isVisible']=!0x1,this['_hiddenLines']['add'](_0x40f9fb);this['_visibleLines']['clear']();}['showLine'](_0x4fb9d5,_0xd11d55,_0x2889b9,_0x13af93){let _0x493533;this['_hiddenLines']['size']?(_0x493533=_0x4bea60(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x493533)):_0x493533=new U(),_0x493533['set']({'pageNumber':_0x13af93,'left':_0x4fb9d5,'top':_0xd11d55,'width':_0x2889b9}),_0x493533['isVisible']=!0x0,this['_viewCollection']['has'](_0x493533)||this['_viewCollection']['add'](_0x493533),this['_visibleLines']['add'](_0x493533);}setViewCollection(_0x259c97){for(const _0x14be7e of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x14be7e)&&this['_viewCollection']['remove'](_0x14be7e);this['_viewCollection']=_0x259c97;}};const D='ck-pagination_enabled';var B=class extends _0x1d110d{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',(_0xf1ba5e,_0x31ee74,_0x243318)=>{_0x243318||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x243318);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x40ccf2){if(!this['isEnabled'])return;const _0x318064=_0x40ccf2>0x1?this['_getPageBreakLineOffset'](_0x40ccf2-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x318064-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x564e00['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x3e0451=this['editor'],_0x2a0ec8=this['_getAttachedDomRoot']();_0x2a0ec8?(this['_scrollableEditingRootDomAncestor']&&_0x3e0451['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x16756d){let _0x42687f=_0x16756d;do{_0x42687f=_0x42687f['parentElement'];const _0x1b1693=_0x161004['window']['getComputedStyle'](_0x42687f)['overflowY'];if('auto'==_0x1b1693||'scroll'==_0x1b1693)break;}while('BODY'!=_0x42687f['tagName']);return _0x42687f;}(_0x2a0ec8),_0x3e0451['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2b1c1e(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3e0451['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x19b2d1=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x19b2d1['ui']['view']['listenTo'](_0x161004['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x19b2d1['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x3c7281 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3c7281['ownerDocument']['body']['contains'](_0x3c7281))return _0x3c7281;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x5040e1=this['_getAttachedDomRoot'](),_0x420822=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5040e1||0x1==_0x420822['length'])return void(this['pageNumber']=0x1);const _0x102d47=new _0xb453a0(_0x5040e1)['excludeScrollbarsAndBorders'](),_0x420b1b=new _0xb453a0(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x505b6b=_0x420b1b['top']+_0x420b1b['height']/0x3;let _0x23e840=!0x1;const _0x51bf4c=[];for(let _0x2b052c=0x1;_0x2b052c<_0x420822['length'];_0x2b052c++){const _0x5793ad=this['_getPageBreakLineOffset'](_0x2b052c,_0x420b1b);if(!_0x5793ad)continue;const _0x1ef835=_0x420b1b['top']+_0x5793ad-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x51bf4c['push']({'pageOffsetTop':_0x1ef835,'domRootRect':_0x102d47,'domScrollableRect':_0x420b1b,'pageNumber':_0x2b052c}),_0x1ef835>_0x505b6b&&!_0x23e840&&(this['pageNumber']=_0x2b052c,_0x23e840=!0x0);}this['_renderPageBreakLines'](_0x51bf4c),_0x23e840||(this['pageNumber']=_0x420822['length']);}['_renderPageBreakLines'](_0x46ed47){const {scrollX:_0x5578e6,scrollY:_0x18d5cf}=_0x161004['window'];if(_0x46ed47['length']){for(const {domScrollableRect:_0x3e32f6,pageOffsetTop:_0x4034d9,domRootRect:_0x5e519a,pageNumber:_0x40ea60}of _0x46ed47)_0x3e32f6['top']<_0x4034d9&&_0x4034d9<_0x3e32f6['bottom']&&this['linesRepository']['showLine'](_0x5e519a['left']+_0x5578e6,_0x4034d9+_0x18d5cf,_0x5e519a['width'],_0x40ea60+0x1);}}_getPageBreakLineOffset(_0x45b6d3,_0x203066=null){const _0x44c464=this['_paginationLookupPlugin']['pageBreaks'][_0x45b6d3]['offset'];return _0x44c464?(_0x203066||(_0x203066=new _0xb453a0(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x44c464-_0x203066['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x580c35,_0x5b0c04=!0x0){const _0x32b108=this['editor']['editing']['view'];_0x32b108['change'](_0x1a5df8=>{for(const _0x48115d of _0x32b108['document']['roots'])_0x5b0c04?_0x1a5df8['addClass'](_0x580c35,_0x48115d):_0x1a5df8['removeClass'](_0x580c35,_0x48115d);});}};function T(_0x390fb3,_0x2534e5,..._0x5c1d40){const t=_0x390fb3['t'];switch(_0x2534e5){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)',..._0x5c1d40);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 _0x2534e5;}}var G=class extends _0x1d110d{['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 _0x172c14=this['editor']['plugins']['get']('Pagination'),_0xccd56e=this['editor']['plugins']['get'](w),_0xfac5d0=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x172c14),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0xfac5d0),this['listenTo'](_0xccd56e,'change:pageBreaks',(_0x60778b,_0x43931a,_0xc08f25,_0x5e0518)=>{this['totalPages']=_0xc08f25['length'],this['_updatePageBreakMarkers'](_0xc08f25,_0x5e0518);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7b3597=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x389df3;for(const _0xb3c00 in _0x7b3597){const _0xa3c446=_0xb3c00,_0x123f13=_0x7b3597[_0xa3c446];if('paginationLicenseKeyValid'==_0x123f13||'paginationLicenseKeyInvalid'==_0x123f13||'paginationLicenseKeyExpired'==_0x123f13||'paginationLicenseKeyDomainLimit'==_0x123f13||'paginationLicenseKeyNotAllowed'==_0x123f13||'paginationLicenseKeyEvaluationLimit'==_0x123f13||'paginationLicenseKeyUsageLimit'==_0x123f13){delete _0x7b3597[_0xa3c446],_0x389df3=_0x123f13,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x389df3&&_0x7b3597['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x389df3&&_0x7b3597['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x389df3&&_0x7b3597['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x389df3&&_0x7b3597['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x389df3&&_0x7b3597['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x389df3&&_0x7b3597['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3c3301){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x3c3301));}moveSelectionToPage(_0x5cf1d9){if(!this['isEnabled'])return;const _0x170c24=this['editor'],_0x446628=this['editor']['plugins']['get'](w)['pageBreaks'][_0x5cf1d9-0x1];_0x446628&&_0x170c24['model']['change'](_0x5baa9f=>{switch(_0x446628['type']){case'manual':{const _0x59d615=_0x170c24['model']['schema']['getNearestSelectionRange'](_0x446628['modelRange']['end'],'forward');_0x5baa9f['setSelection'](_0x59d615);break;}case'element':{const _0x373fc7=_0x170c24['model']['schema']['getNearestSelectionRange'](_0x446628['modelRange']['start'],'forward');_0x5baa9f['setSelection'](_0x373fc7);break;}case'text':{const _0x143cc9=_0x446628['modelRange']['start'];if(_0x143cc9['textNode']&&'\x20'===_0x143cc9['textNode']['data'][_0x143cc9['offset']]){const _0x41c568=_0x5baa9f['createPositionAt'](_0x143cc9['parent'],_0x143cc9['offset']+0x1);_0x5baa9f['setSelection'](_0x41c568);}else _0x5baa9f['setSelection'](_0x446628['modelRange']);}}_0x170c24['editing']['view']['focus']();});}goToNextPage(){const _0x23ddbe=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x23ddbe),this['scrollToPage'](_0x23ddbe);}['goToPreviousPage'](){const _0x4942b7=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4942b7),this['scrollToPage'](_0x4942b7);}_updatePageBreakMarkers(_0x10f357,_0x185b70){const _0x256a75=this['editor']['model'];this['isEnabled']&&_0x256a75['change'](_0x5add42=>{for(let _0x252b04=0x1;_0x252b04<_0x10f357['length'];_0x252b04++){const _0x53bfb8=_0x10f357[_0x252b04]['modelRange'],_0x1feafb='pagination:'+(_0x252b04+0x1);_0x256a75['markers']['has'](_0x1feafb)?_0x5add42['updateMarker'](_0x1feafb,{'range':_0x53bfb8}):_0x5add42['addMarker'](_0x1feafb,{'range':_0x53bfb8,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4f0433=_0x10f357['length'];_0x4f0433<_0x185b70['length'];_0x4f0433++){const _0x129197='pagination:'+(_0x4f0433+0x1);_0x256a75['markers']['has'](_0x129197)&&_0x5add42['removeMarker'](_0x129197);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x238d6f=>{_0x238d6f['on']('addMarker:pagination',(_0x5206c1,{markerRange:_0x204133,markerName:_0x53bbe8},_0x582886)=>{if(!_0x582886['options']['pagination'])return;if(!_0x582886['consumable']['consume'](_0x204133,_0x5206c1['name']))return;const _0x3fd00a=_0x204133['getContainedElement']();let _0x3da1ea=_0x3fd00a?_0x582886['mapper']['toViewElement'](_0x3fd00a):null;if(!_0x3da1ea){const _0x169727=_0x204133['start'];if(_0x582886['schema']['checkChild'](_0x169727,'$text')){const _0x1b5510=_0x582886['mapper']['toViewPosition'](_0x169727);_0x3da1ea=_0x582886['writer']['createContainerElement']('span'),_0x3da1ea['getFillerOffset']=()=>null,_0x582886['writer']['insert'](_0x1b5510,_0x3da1ea);}else{const _0x420094=_0x169727['nodeAfter'];_0x3da1ea=_0x582886['mapper']['toViewElement'](_0x420094);}}for(;_0x3da1ea['parent']!==_0x3da1ea['root']&&0x0===_0x3da1ea['index'];)_0x3da1ea=_0x3da1ea['parent'];const _0x4a4d48=_0x53bbe8['substring'](0xb);_0x3da1ea['hasClass']('page-break')||(_0x582886['writer']['setStyle']('page-break-before','always',_0x3da1ea),_0x582886['writer']['setAttribute']('data-pagination-page',_0x4a4d48,_0x3da1ea),_0x582886['mapper']['bindElementToMarker'](_0x3da1ea,_0x53bbe8)),_0x5206c1['stop']();});});}_setupKeystrokes(){const _0x2bc9e4=this['editor'];_0x2bc9e4['keystrokes']['set']('Shift+Pageup',(_0x159be7,_0x191cdc)=>{this['goToPreviousPage'](),_0x191cdc();}),_0x2bc9e4['keystrokes']['set']('Shift+Pagedown',(_0x37ee36,_0x58950a)=>{this['goToNextPage'](),_0x58950a();}),_0x2bc9e4['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x2bc9e4['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x2bc9e4['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x2bc9e4['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x443ab5){return _0x443ab5<0x1&&(_0x443ab5=0x1),_0x443ab5>this['totalPages']&&(_0x443ab5=this['totalPages']),_0x443ab5;}},V=class extends _0x3c5ee7{['pageNumberView'];constructor(_0x37d4cb){super(_0x37d4cb);const _0x15b6c4=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x419233(_0x37d4cb,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x3d2b33=>T(_0x37d4cb,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x3d2b33)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1d1d54=>!_0x1d1d54),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x15b6c4['if']('isEnabled','ck-disabled',_0x51460f=>!_0x51460f)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x15b6c4['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2666da=this['pageNumberView']['element'],_0x214fb3=_0x20c4b8=>{this['pageNumberView']['element']['value']=String(_0x20c4b8);};_0x214fb3(this['pageNumber']),this['on']('change:pageNumber',(_0x52939e,_0x15acb7,_0x19f192)=>{_0x214fb3(_0x19f192);}),this['listenTo'](_0x2666da,'keydown',(_0x3c2b91,_0x2feb63)=>{if('ArrowUp'===_0x2feb63['key']||'ArrowDown'===_0x2feb63['key'])return void _0x2feb63['stopPropagation']();if(_0x2feb63['keyCode']!==_0x364e31['enter'])return;_0x2feb63['preventDefault']();const _0xaa5f12=_0x2666da['valueAsNumber'];Number['isNaN'](_0xaa5f12)?_0x2666da['value']=String(this['pageNumber']):(_0x2666da['checkValidity']()?this['pageNumber']=_0xaa5f12:_0xaa5f12>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2666da['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2666da['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2666da,'blur',()=>{_0x2666da['value']=String(this['pageNumber']);}),this['listenTo'](_0x2666da,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x1d110d{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x52b8e1=this['editor'],_0x5da680=_0x52b8e1['plugins']['get']('PaginationEditing');_0x52b8e1['ui']['componentFactory']['add']('pageNavigation',_0x8fae53=>{const _0x2cdc2b=new V(_0x8fae53);return _0x2cdc2b['bind']('pageNumber')['to'](_0x5da680),_0x2cdc2b['bind']('totalPages')['to'](_0x5da680),_0x2cdc2b['bind']('isEnabled')['to'](_0x5da680),_0x2cdc2b['on']('navigation',(_0x22db6e,_0x307ab6)=>{_0x5da680['moveSelectionToPage'](_0x307ab6),_0x5da680['scrollToPage'](_0x307ab6);}),_0x2cdc2b;}),_0x52b8e1['ui']['componentFactory']['add']('nextPage',_0x18ddf1=>{const _0x496431=new _0xa70220(_0x18ddf1);return _0x496431['isEnabled']=!0x0,_0x496431['label']=T(_0x52b8e1['locale'],'Go\x20to\x20next\x20page'),_0x496431['icon']=_0x3b5f,_0x496431['tooltip']=!0x0,_0x496431['keystroke']='Shift+PageDown',_0x496431['bind']('isEnabled')['to'](_0x5da680),this['listenTo'](_0x496431,'execute',()=>{_0x5da680['goToNextPage']();}),_0x496431;}),_0x52b8e1['ui']['componentFactory']['add']('previousPage',_0x141a68=>{const _0x17d33b=new _0xa70220(_0x141a68);return _0x17d33b['isEnabled']=!0x0,_0x17d33b['label']=T(_0x52b8e1['locale'],'Go\x20to\x20previous\x20page'),_0x17d33b['icon']=_0x5096f0,_0x17d33b['tooltip']=!0x0,_0x17d33b['keystroke']='Shift+PageUp',_0x17d33b['bind']('isEnabled')['to'](_0x5da680),this['listenTo'](_0x17d33b,'execute',()=>{_0x5da680['goToPreviousPage']();}),_0x17d33b;});}},$=class extends _0x1d110d{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x14a721){super(_0x14a721),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x46832b=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x46832b),this['bind']('totalPages')['to'](_0x46832b),_0x564e00['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x5b11c3){this['editor']['plugins']['get'](G)['scrollToPage'](_0x5b11c3);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x2a26a9}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x47ae5d,InputNumberView as _0x1b2bd7,View as _0x1bab2c}from'@ckeditor/ckeditor5-ui';import{Rect as _0x2c71dd,ResizeObserver as _0x32e80b,env as _0x596cef,first as _0x231c1f,global as _0x1d9a2f,keyCodes as _0x4e3e1a,logWarning as _0x1602c1,toUnit as _0x5e9380,uid as _0x4eb2f3}from'@ckeditor/ckeditor5-utils';import{debounce as _0x6fb558}from'es-toolkit/compat';import{IconArrowDown as _0xfca57e,IconArrowUp as _0x552a4d}from'@ckeditor/ckeditor5-icons';var w=class extends _0x2a26a9{_recalculatePageBreaksDebounced=_0x6fb558(()=>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 _0x1602c1('pagination-config-not-found',this['editor']['config']);const _0x54ee09=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x54ee09),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x202631,_0x1c6a7a,_0x24c435)=>{_0x24c435&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x17cdc7){const _0x4f5f05='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x2c0e4a=0x791d0,_0x39b30c=window['Date']['now'](),_0x26ef42=_0x17cdc7['editor'],_0x377dc1=new window['Promise'](_0x35a44c=>{_0x26ef42['once']('ready',_0x35a44c);}),_0x491146={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x556659=_0x26ef42['config']['get']('licenseKey');async function _0x43ea1f(){let _0x5dce4f,_0x121412=null,_0x502d1a=null;try{return'GPL'==_0x556659?'NotAllowed':(_0x5dce4f=_0xcf4fba(),_0x5dce4f?(_0x5dce4f['usageEndpoint']&&(_0x502d1a=_0x2de901(_0x5dce4f['usageEndpoint'],_0x5dce4f['jti'])),await _0x43b921()?_0x118696()?_0x47115f()?'Expired':_0x39d2fd()?('evaluation'==_0x5dce4f['licenseType']&&(_0x121412=_0x6fb767('EvaluationLimit')),await _0x24d723()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x47115f(){const _0x27df73=['evaluation','trial']['includes'](_0x5dce4f['licenseType'])?_0x39b30c/0x3e8:0xe10*_0x2c0e4a;return _0x5dce4f['exp']<_0x27df73;}function _0x118696(){const _0x2368f0=_0x5dce4f['features'];return!!_0x2368f0&&(!!_0x2368f0['includes']('*')||!!_0x2368f0['includes']('PAG'));}function _0x39d2fd(){const _0x95054c=_0x5dce4f['licensedHosts'];if(!_0x95054c||0x0==_0x95054c['length'])return!0x0;const {hostname:_0x45aef3}=new URL(window['location']['href']);if(_0x95054c['includes'](_0x45aef3))return!0x0;const _0x24beec=_0x45aef3['split']('.');return _0x95054c['filter'](_0x2b927b=>_0x2b927b['includes']('*'))['map'](_0x1a7c9e=>_0x1a7c9e['split']('.'))['filter'](_0x590c26=>_0x590c26['length']<=_0x24beec['length'])['map'](_0x13c93e=>Array(_0x24beec['length']-_0x13c93e['length'])['fill']('*'===_0x13c93e[0x0]?'*':'')['concat'](_0x13c93e))['some'](_0x112e2c=>_0x24beec['every']((_0xd067ac,_0x41b532)=>_0x112e2c[_0x41b532]===_0xd067ac||'*'===_0x112e2c[_0x41b532]));}function _0x24d723(){return _0x121412&&_0x502d1a?new window['Promise']((_0x33aecd,_0xa07ee0)=>{_0x121412['then'](_0x33aecd,_0xa07ee0),_0x502d1a['then'](_0x14a569=>{'Valid'!=_0x14a569&&_0x33aecd(_0x14a569);},_0xa07ee0);}):_0x121412||_0x502d1a||'Valid';}}function _0x2de901(_0x14de4d,_0x566e41){return new window['Promise'](_0x55ac8a=>{if(_0xb49eda())return _0x55ac8a('Valid');_0x993d34(),_0x26ef42['decorate']('_sendUsageRequest');let _0x573c53=!0x1;const _0x2597f8=_0x4eb2f3();function _0xd52311(_0x4569b2){return!!_0x4569b2&&('object'==typeof _0x4569b2||'function'==typeof _0x4569b2)&&'function'==typeof _0x4569b2['then']&&'function'==typeof _0x4569b2['catch'];}function _0x1f18ba(_0x141792){_0x5745f5(_0x141792)['then'](_0x733fb9=>_0x733fb9&&'ok'==_0x733fb9['status']?_0x258007(_0x5e45d2(_0x2597f8+_0x566e41))!=_0x733fb9['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3aa2d0=>(_0x27965b(),_0x3aa2d0),()=>{const _0x21f2f8=_0x501908();return null==_0x21f2f8?(_0x27965b(),'Valid'):_0x39b30c-_0x21f2f8>0x240c8400?'UsageLimit':'Valid';})['then'](_0x55ac8a)['catch'](()=>{_0x55ac8a('UsageLimit');});const _0x2a6310=0x36ee80;function _0x27965b(){const _0x559f3c='llct-'+_0x258007(_0x5e45d2(_0x14de4d)),_0x3a3ffc=_0x584186(_0x258007(window['Math']['ceil'](_0x39b30c/_0x2a6310)));window['localStorage']['setItem'](_0x559f3c,_0x3a3ffc);}function _0x501908(){const _0x4c9c04='llct-'+_0x258007(_0x5e45d2(_0x14de4d)),_0x5d0470=window['localStorage']['getItem'](_0x4c9c04);return _0x5d0470?window['parseInt'](_0x584186(_0x5d0470),0x10)*_0x2a6310:null;}function _0x5745f5(_0x259e15){return new window['Promise']((_0x9a0df4,_0x63019)=>{_0x259e15['then'](_0x9a0df4,_0x63019),window['setTimeout'](_0x63019,0x1d4c0);});}}_0x26ef42['on']('_sendUsageRequest',(_0x302018,_0x55c3e9)=>{if(_0x55c3e9[0x0]!=_0x14de4d)return _0x55ac8a('UsageLimit');_0x55c3e9[0x1]={..._0x55c3e9[0x1],'requestId':_0x2597f8};},{'priority':'high'}),_0x26ef42['on']('_sendUsageRequest',_0x46b822=>{_0xd52311(_0x46b822['return'])&&(_0x573c53=!0x0,_0x1f18ba(_0x46b822['return']));},{'priority':'low'}),_0x377dc1['then'](()=>{_0x573c53||_0x55ac8a('UsageLimit');});});function _0xb49eda(){return'auto'==_0x26ef42['editing']['view']['_overlayModeHint'];}function _0x993d34(){_0x26ef42['editing']['view']['_overlayModeHint']='auto';}}function _0x6fb767(_0x3d5167){const _0x915ef6=[new window['Promise'](_0x2d3d70=>setTimeout(_0x2d3d70,0x93ecc)),_0x377dc1['then'](()=>new window['Promise'](_0x1e44dd=>{let _0x321d21=0x0;_0x26ef42['model']['on']('applyOperation',(_0xbd25b2,_0x3e7311)=>{_0x3e7311[0x0]['isDocumentOperation']&&_0x321d21++,0x5e8==_0x321d21&&(_0x1e44dd(),_0xbd25b2['off']());});}))];return window['Promise']['race'](_0x915ef6)['then'](()=>_0x3d5167);}async function _0x66d524(){await _0x377dc1,_0x26ef42['model']['change']=_0x4817be,_0x26ef42['model']['enqueueChange']=_0x4817be,_0x26ef42['enableReadOnlyMode']('model');}function _0x57f668(_0x1e69d3){const _0x25f07c=_0x3ab1ed();_0x26ef42[_0x25f07c]='paginationLicenseKey'+_0x1e69d3,'Valid'!=_0x1e69d3&&_0x66d524();}function _0x3ab1ed(){const _0x4cba0b=window['String'](window['performance']['now']())['replace']('.','');let _0x37161f='I';for(let _0x9b07c1=0x0;_0x9b07c1<_0x4cba0b['length'];_0x9b07c1+=0x2){let _0x458b05=window['parseInt'](_0x4cba0b['substring'](_0x9b07c1,_0x9b07c1+0x2));_0x458b05>=0x3e&&(_0x458b05-=0x3e),_0x37161f+=_0x4f5f05[_0x458b05];}return _0x37161f;}function _0xcf4fba(){const _0x3aa3c1=_0x556659['split']('.');if(0x3!=_0x3aa3c1['length'])return null;return _0x208396(_0x3aa3c1[0x1]);function _0x208396(_0x277e06){const _0x415f70=_0x577880(_0x277e06);return _0x415f70&&_0x544bb6()?_0x415f70:null;function _0x544bb6(){const _0x2cb90a=_0x415f70['jti'],_0x103262=window['parseInt'](_0x2cb90a['substring'](_0x2cb90a['length']-0x8),0x10),_0x22be78={..._0x415f70,'jti':_0x2cb90a['substring'](0x0,_0x2cb90a['length']-0x8)};return delete _0x22be78['vc'],_0x5e45d2(_0x22be78)==_0x103262;}}}async function _0x43b921(){let _0x2e9f48=!0x0;try{const [_0x1f387c,_0xac55c2,_0x2e7085]=_0x556659['split']('.');return _0x4deb7e(_0x1f387c),await _0x8f8089(_0x1f387c,_0xac55c2,_0x2e7085),_0x2e9f48;}catch{return!0x1;}function _0x4deb7e(_0x125020){const _0x2bae3d=_0x577880(_0x125020);_0x2bae3d&&'ES256'==_0x2bae3d['alg']||(_0x2e9f48=!0x1);}async function _0x8f8089(_0x294f5b,_0x1f7c10,_0x9cb856){const _0x1eb1c4=window['Uint8Array']['from'](_0x31ff22(_0x9cb856),_0x3dbeb5=>_0x3dbeb5['charCodeAt'](0x0)),_0x2fd502=new window['TextEncoder']()['encode'](_0x294f5b+'.'+_0x1f7c10),_0x4a801a=window['crypto']['subtle'];if(!_0x4a801a)return;const _0x2d2900=await _0x4a801a['importKey']('jwk',_0x491146,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4a801a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2d2900,_0x1eb1c4,_0x2fd502)||(_0x2e9f48=!0x1);}}function _0x577880(_0x7b0eea){return _0x7b0eea['startsWith']('ey')?JSON['parse'](_0x31ff22(_0x7b0eea)):null;}function _0x31ff22(_0x42cf83){return window['atob'](_0x42cf83['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5e45d2(_0x1935dd){let _0x436841=0x1505;function _0x43ed40(_0x3ffc5a){for(let _0x100360=0x0;_0x100360<_0x3ffc5a['length'];_0x100360++){const _0x443d4=_0x3ffc5a['charCodeAt'](_0x100360);_0x436841=(_0x436841<<0x5)+_0x436841+_0x443d4,_0x436841&=_0x436841;}}function _0x4e9bf6(_0xf73378){Array['isArray'](_0xf73378)?_0xf73378['forEach'](_0x4e9bf6):_0xf73378&&'object'==typeof _0xf73378?Object['entries'](_0xf73378)['sort']()['forEach'](([_0x46c954,_0x16d71d])=>{_0x43ed40(_0x46c954),_0x4e9bf6(_0x16d71d);}):_0x43ed40(window['String'](_0xf73378));}return _0x4e9bf6(_0x1935dd),_0x436841>>>0x0;}function _0x258007(_0x5c2bae){return _0x5c2bae['toString'](0x10)['padStart'](0x8,'0');}function _0x584186(_0x5babeb){return _0x5babeb['split']('')['reverse']()['join']('');}function _0x4817be(){}_0x57f668(await _0x43ea1f());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x47ab7e=this['editor'],_0x50d1bd=_0x47ab7e['editing']['view'],_0x5a5c72=this['_getAttachedDomRoot']();if(!_0x5a5c72||!_0x5a5c72['hasChildNodes']())return void _0x47ab7e['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0xbf994e,pageHeight:_0x19b1c9}=_0x47ab7e['config']['get']('pagination'),{top:_0x4d2f21,left:_0x54bc8d,bottom:_0x1a73b4,right:_0x732165}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1bab2c(_0x47ab7e['locale']);const _0xc8d0d7=this['_pagesContainer'];_0xc8d0d7['set']('class',''),_0xc8d0d7['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0xbf994e,'width':_0xbf994e,'height':'calc(\x20'+_0x19b1c9+'\x20-\x20'+_0x4d2f21+'\x20-\x20'+_0x1a73b4+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x732165+'\x200\x20'+_0x54bc8d,'columnGap':'calc('+_0x54bc8d+'\x20+\x20'+_0x732165+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0xc8d0d7['bindTemplate']['to']('class')}}),_0xc8d0d7['render'](),_0x5a5c72['parentNode']['insertBefore'](_0xc8d0d7['element'],_0x5a5c72['nextSibling']),this['listenTo'](_0x50d1bd,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x40ff15 of this['editor']['editing']['view']['domRoots']['values']())if(_0x40ff15['ownerDocument']['body']['contains'](_0x40ff15))return _0x40ff15;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x47f95c=this['editor']['editing']['view'],_0x1d7989=this['_pagesContainer'],_0x2d49dc=this['_getAttachedDomRoot']();if(!_0x2d49dc||!_0x1d7989)return Promise['resolve']();for(_0x1d7989['class']=['ck-reset','ck-pagination-view',..._0x2d49dc['classList']]['join']('\x20');_0x1d7989['element']['firstChild'];)_0x1d7989['element']['firstChild']['remove']();const _0x52cafc=Array['from'](_0x47f95c['domRoots']);_0x52cafc['sort'](([,_0x23610a],[,_0x54dbeb])=>_0x23610a['compareDocumentPosition'](_0x54dbeb)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x52f379,_0x22742e]of _0x52cafc){const _0x534468=_0x22742e['cloneNode'](!0x0);'attributeStyleMap'in _0x534468&&_0x534468['attributeStyleMap']['clear'](),_0x534468['dataset']['rootName']=_0x52f379,_0x534468['className']='ck-content\x20ck-pagination_enabled',_0x534468['removeAttribute']('id'),_0x534468['tabIndex']=-0x1,_0x1d7989['element']['append'](_0x534468);}const _0x332929=Array['from'](_0x1d7989['element']['querySelectorAll']('img'));return function(_0xbf27e7){return Promise['all'](_0xbf27e7['map'](_0x21acfc=>Promise['race']([k(_0x21acfc),v(0x3e8)])));}(_0x332929)['then'](()=>{for(const _0x2afc2f of _0x332929['filter'](_0x178a90=>!_0x178a90['closest']('table')))if(_0x2afc2f['offsetParent']){const _0x3ebe50=_0x1d9a2f['window']['getComputedStyle'](_0x2afc2f),_0x5deacd=_0x1d9a2f['document']['createElement']('span');for(const _0x531bfa of _0x3ebe50)_0x5deacd['style']['setProperty'](_0x531bfa,_0x3ebe50[_0x531bfa]);_0x5deacd['style']['backgroundImage']='url(\x20'+_0x2afc2f['src']+'\x20)',_0x5deacd['style']['breakInside']='avoid','PICTURE'==_0x2afc2f['parentElement']?.['tagName']?_0x2afc2f['parentElement']['replaceWith'](_0x5deacd):_0x2afc2f['replaceWith'](_0x5deacd);}return new Promise(_0x4cba8d=>_0x1d9a2f['window']['requestAnimationFrame'](()=>_0x4cba8d()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x14162c=this['_pagesContainer']['element'];if(!_0x14162c['ownerDocument']['body']['contains'](_0x14162c))return;const _0x219d88=new _0x2c71dd(_0x14162c)['excludeScrollbarsAndBorders'](),_0x431d6c=Math['floor'](_0x219d88['width']+0x64),_0x48776e=_(_0x14162c,Math['floor'](_0x219d88['left']-_0x14162c['scrollLeft']),_0x431d6c,_0x219d88['height'])['map'](_0x134e51=>this['_mapPageStarterInfoToPageBreakInfo'](_0x134e51))['filter'](_0x4a5c0b=>!0x1!==_0x4a5c0b);_0x48776e['every'](_0x2262d1=>!!_0x2262d1)&&(this['pageBreaks']=_0x48776e);}_mapPageStarterInfoToPageBreakInfo(_0x265983){const _0x5a2a9c=this['editor']['editing']['view'],_0x45e165=this['editor']['editing']['mapper'],_0x30e45c=_0x5a2a9c['domConverter'],_0x1f5538=_0x265983['path']['shift'](),_0x114108=this['_pagesContainer']['element']['childNodes'][_0x1f5538]['dataset']['rootName'],_0x41bd0a=_0x5a2a9c['getDomRoot'](_0x114108);if(!_0x41bd0a)return null;const _0x1c551b=function(_0x3af690,_0xd86b9){let _0xc0f098=_0x3af690;for(const _0x28dcb5 of _0xd86b9['path']){if(!_0xc0f098)return null;_0xc0f098=_0xc0f098['childNodes'][_0x28dcb5];}return _0xc0f098;}(_0x41bd0a,_0x265983);if(!_0x1c551b)return null;const _0x5cb353=_0x30e45c['domPositionToView'](_0x1c551b,_0x265983['textOffset']||0x0);return _0x5cb353?'manual'==_0x265983['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b):'text'==_0x265983['type']&&_0x45e165['toModelPosition'](_0x5cb353)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b,_0x265983['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b,_0x265983['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x4e69c7,_0x362a94){const _0x3c943c=this['editor']['model'],_0x85c229=this['editor']['editing']['mapper']['toModelElement'](_0x4e69c7['parent']),_0x55dbc9=_0x3c943c['createRangeOn'](_0x85c229);return new P({'type':'manual','modelRange':_0x55dbc9,'domNode':_0x362a94,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x1de1e7,_0x111638,_0x119ef4){const _0x241176=this['editor']['model'],_0x4589a5=this['editor']['editing']['mapper'],_0x6cb40=this['editor']['editing']['view']['domConverter'];if(_0x119ef4>=_0x111638['length'])return null;const _0x50b195=_0x4589a5['toModelPosition'](_0x1de1e7),_0x40567b=_0x241176['createRange'](_0x50b195),_0x3073f2=_0x4589a5['findMappedViewAncestor'](_0x1de1e7),_0x2a890d=_0x6cb40['mapViewToDom'](_0x3073f2);return new P({'type':'text','modelRange':_0x40567b,'domNode':_0x111638,'offset':y(_0x111638,_0x119ef4,_0x2a890d)});}_mapElementPageStarterInfoToPageBreakInfo(_0x3ee2ea,_0x56f0db,_0x58e2bc){const _0x1976dc=this['editor']['model'],_0x29ef07=this['editor']['editing'],_0x1ad394=_0x29ef07['mapper'],_0x3d0645=_0x29ef07['view']['domConverter'],_0x773389=_0x1ad394['findMappedViewAncestor'](_0x3ee2ea),_0x56807d=_0x1ad394['toModelElement'](_0x773389);if(!_0x56807d||_0x56807d['is']('rootElement'))return!0x1;const _0x483b81=function(_0x2caa7b){const _0x37523e=_0x2caa7b['parent'],_0x42ea77=_0x37523e['root']['document']['model'],_0x2abfde=_0x37523e['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x347055=null;for(const _0x128e17 of _0x2abfde){if(_0x128e17['is']('rootElement'))return _0x347055;if(!_0x42ea77['createPositionBefore'](_0x128e17)['isTouching'](_0x2caa7b))return _0x347055;_0x347055=_0x128e17;}}(_0x1976dc['createPositionBefore'](_0x56807d))||_0x56807d;let _0x240b5d=_0x1ad394['toViewElement'](_0x483b81),_0x522cd9=_0x1976dc['createRangeOn'](_0x483b81);const _0x120fbb=_0x1976dc['createPositionBefore'](_0x483b81)['nodeBefore'];if(_0x120fbb&&_0x120fbb['is']('element','imageBlock')){const _0x3b5292=_0x1ad394['toViewElement'](_0x120fbb),_0x424425=_0x3d0645['mapViewToDom'](_0x3b5292),_0x12d15d=_0x1d9a2f['window']['getComputedStyle'](_0x424425)['float'];'left'!=_0x12d15d&&'right'!=_0x12d15d||(_0x522cd9=_0x1976dc['createRangeOn'](_0x120fbb));}for(;_0x240b5d['parent']!==_0x240b5d['root']&&0x0===_0x240b5d['index'];)_0x240b5d=_0x240b5d['parent'];const _0x5aa350=new _0x2c71dd(K(_0x56f0db)?_0x56f0db:L(_0x56f0db)),_0x3c62ed=_0x58e2bc?_0x5aa350['height']-_0x58e2bc:0x0,_0x4a6f06=_0x3d0645['mapViewToDom'](_0x240b5d),_0x425749=new _0x2c71dd(_0x4a6f06);return new P({'type':'element','modelRange':_0x522cd9,'domNode':_0x4a6f06,'offset':Math['round'](_0x3c62ed)||_0x773389!=b(_0x3ee2ea)?_0x3c62ed+_0x5aa350['top']-_0x425749['top']:0x0});}get['_configuredPaddings'](){const _0x274f0d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x274f0d);}static _findPageStarterInfos(_0x3c1a37,_0x41903d,_0x31bc81,_0x171078,_0x424863){return _(_0x3c1a37,_0x41903d,_0x31bc81,_0x171078,_0x424863);}},P=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x5c1435,modelRange:_0x285307,domNode:_0x5005ba,offset:_0x3b94f9}){this['type']=_0x5c1435,this['modelRange']=_0x285307,this['_domNode']=_0x5005ba,this['_offset']=_0x3b94f9;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x49bc2d=new _0x2c71dd(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x49bc2d['top']+_0x49bc2d['height']/0x2:_0x49bc2d['top']+this['_offset'];}};function y(_0x3d543a,_0x201566,_0x42e8f8){const _0xafd217=L(_0x3d543a),_0x328b89=function(_0x12098d){const _0x7bbdf4=_0x1d9a2f['document']['createRange']();return _0x7bbdf4['selectNodeContents'](_0x12098d),_0x7bbdf4;}(_0x42e8f8);let _0x46a270;_0x46a270=0x0==_0x201566?N(_0x328b89['startContainer'],_0x328b89['startOffset'],_0x3d543a['parentNode'],Array['from'](_0x3d543a['parentNode']['childNodes'])['indexOf'](_0x3d543a)):N(_0x328b89['startContainer'],_0x328b89['startOffset'],_0x3d543a,_0x201566);const _0x176476=N(_0x3d543a,_0x201566,_0x328b89['endContainer'],_0x328b89['endOffset']),_0x518a80=new _0x2c71dd(_0x46a270)['bottom'];return(new _0x2c71dd(_0x176476)['top']+_0x518a80)/0x2-new _0x2c71dd(_0xafd217)['top'];}function b(_0x36affc){let _0x1b0421=_0x36affc['parent'];for(;_0x1b0421['is']('$text')||_0x1b0421['is']('attributeElement');)_0x1b0421=_0x1b0421['parent'];return _0x1b0421;}function k(_0x87d820){return _0x87d820['hasAttribute']('width')&&_0x87d820['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5e7bac=>{function _0xbfa1db(){_0x87d820['removeEventListener']('load',_0xbfa1db),_0x87d820['removeEventListener']('error',_0xbfa1db),_0x5e7bac();}_0x87d820['complete']?_0x5e7bac():(_0x87d820['addEventListener']('load',_0xbfa1db),_0x87d820['addEventListener']('error',_0xbfa1db));});}function v(_0x2134b4){return new Promise(_0x234162=>setTimeout(_0x234162,_0x2134b4));}function L(_0x4e29db){const _0x49962b=_0x1d9a2f['document']['createRange']();return _0x49962b['selectNode'](_0x4e29db),_0x49962b;}function x(_0xca874b,_0x193fe5,_0x13c1b9){const _0x20ab34=_0x1d9a2f['document']['createRange']();return _0x20ab34['setStart'](_0xca874b,_0x193fe5),_0x20ab34['setEnd'](_0xca874b,_0x13c1b9),_0x20ab34;}function N(_0x239245,_0x2b4dbe,_0x794768,_0x2a5e4a){const _0x7a2553=_0x1d9a2f['document']['createRange']();return _0x7a2553['setStart'](_0x239245,_0x2b4dbe),_0x7a2553['setEnd'](_0x794768,_0x2a5e4a),_0x7a2553;}function _(_0x24f74a,_0x2bbcf7,_0x242796,_0x4a1ddc,_0x4c6f32){const _0x31091f=[];for(const [_0x305321,_0x393919]of _0x24f74a['childNodes']['entries']()){let _0x1ea91b=[];K(_0x393919)&&_0x393919['offsetParent']&&['static','relative']['includes'](_0x1d9a2f['window']['getComputedStyle'](_0x393919)['position'])?_0x1ea91b=E(_0x393919,_0x305321,_0x2bbcf7,_0x242796,_0x4a1ddc,_0x4c6f32):O(_0x393919)&&(_0x1ea91b=S(_0x393919,_0x305321,_0x2bbcf7,_0x242796,_0x4c6f32)),_0x1ea91b['length']&&(_0x31091f['push'](..._0x1ea91b),_0x2bbcf7+=_0x1ea91b['length']*_0x242796,_0x4c6f32=!0x1);}return _0x31091f;}function E(_0x2fcdee,_0x3e848a,_0x8162d8,_0x4bec85,_0x5d0cfd,_0x41a41c){const _0x10efae=[];var _0x4b55ed;if((_0x4b55ed=_0x2fcdee['previousSibling'])&&K(_0x4b55ed)&&Boolean(_0x4b55ed['classList']['contains']('page-break')||_0x4b55ed['closest']('.page-break'))&&(_0x10efae['push']({'type':'manual','offset':0x0,'path':[_0x3e848a-0x1]}),_0x41a41c=!0x0),'table-row'==_0x1d9a2f['window']['getComputedStyle'](_0x2fcdee)['display']){let _0x1e4956=0x0,_0x2d2229=!0x1;for(const _0x52bb9d of _0x2fcdee['getClientRects']())_0x1e4956+=_0x52bb9d['height'],_0x52bb9d['left']>=_0x8162d8&&(_0x2d2229=!0x0);if(_0x1e4956<_0x5d0cfd&&_0x2d2229)return _0x41a41c||_0x10efae['push']({'type':'element','offset':0x0,'path':[_0x3e848a]}),_0x10efae;}const _0x383d5f=_0x2fcdee['closest']('figure.image');if(_0x383d5f&&function(_0x5f1f29){let _0x182906=!0x1;const _0x309e27=_0x5f1f29['parentElement']['dataset']['rootName'],_0x504252=_0x5f1f29['nextElementSibling'],_0x430b42=_0x5f1f29['previousElementSibling'],_0x2427d2=_0x504252&&_0x1d9a2f['window']['getComputedStyle'](_0x504252)['float'],_0x2b7f34=_0x504252&&'ck-fake-selection-container'===_0x504252['className'];return!_0x309e27||_0x504252||_0x430b42||(_0x182906=!0x0),_0x309e27&&!_0x430b42&&_0x2b7f34&&(_0x182906=!0x0),_0x309e27&&!_0x430b42&&'none'!==_0x2427d2&&(_0x182906=!0x0),!_0x182906;}(_0x383d5f)){const _0x498a89=_0x1d9a2f['window']['getComputedStyle'](_0x383d5f)['float'];if('left'==_0x498a89||'right'==_0x498a89)return _0x10efae;}const _0x425d5e=_(_0x2fcdee,_0x8162d8,_0x4bec85,_0x5d0cfd,_0x41a41c);if(_0x425d5e['length']){for(const _0x26cd36 of _0x425d5e)_0x10efae['push']({'type':_0x26cd36['type'],'offset':_0x26cd36['offset'],'textOffset':_0x26cd36['textOffset'],'path':[_0x3e848a,..._0x26cd36['path']]}),_0x8162d8+=_0x4bec85;return _0x10efae;}return _0x10efae['push'](...function(_0x4add42,_0x5b2767,_0xfad67,_0xe706f1,_0x39a283){const _0x5f3974=[];if('table-cell'==_0x1d9a2f['window']['getComputedStyle'](_0x4add42)['display'])return[];const _0x5197c8=[];for(const _0x56fe48 of _0x4add42['getClientRects']())if(_0x56fe48['left']>=_0xfad67){for(const _0x4e883a of _0x5197c8)_0x4e883a['height']+=_0x56fe48['height'];_0x5197c8['push']({'height':_0x56fe48['height']}),_0xfad67+=_0xe706f1;}for(const _0x28973d of _0x5197c8)_0x39a283||_0x5f3974['push']({'type':'element','offset':_0x28973d['height'],'textOffset':0x0,'path':[_0x5b2767]}),_0x39a283=!0x1;return _0x5f3974;}(_0x2fcdee,_0x3e848a,_0x8162d8,_0x4bec85,_0x41a41c)),_0x10efae;}function S(_0x858e96,_0x242815,_0x184f52,_0xc25495,_0x365110){const _0x1e5196=L(_0x858e96),_0x47b53d=[];let _0x3c465c=0x0;for(const _0x4957dd of _0x1e5196['getClientRects']())if(_0x4957dd['left']>=_0x184f52){const _0x5ad0fe=R(_0x858e96,_0x3c465c,_0x184f52,_0xc25495);_0x365110||_0x47b53d['push']({'type':'text','path':[_0x242815],'textOffset':_0x5ad0fe}),_0x3c465c=_0x5ad0fe,_0x184f52+=_0xc25495,_0x365110=!0x1;}return _0x47b53d;}function R(_0x1dcf20,_0x1c32f1,_0xee8574,_0xb8b69d){let _0x2cbc11=_0x1c32f1,_0x4328e3=_0x1dcf20['length'];for(;_0x4328e3-_0x2cbc11>0x1;){const _0x50dfbf=Math['ceil']((_0x2cbc11+_0x4328e3)/0x2);I(x(_0x1dcf20,_0x2cbc11,_0x50dfbf),_0xee8574,_0xb8b69d)?_0x4328e3=_0x50dfbf:_0x2cbc11=_0x50dfbf;}return _0x2cbc11;}function I(_0x29dc11,_0x81a60b,_0x47057e){for(const _0x2a1026 of _0x29dc11['getClientRects']())if(_0x2a1026['left']>=_0x81a60b&&_0x2a1026['left']<_0x81a60b+_0x47057e)return!0x0;return!0x1;}function K(_0x24e440){return _0x24e440['nodeType']==Node['ELEMENT_NODE'];}function O(_0x55a276){return _0x55a276['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5e9380('px');var U=class extends _0x1bab2c{constructor(){super();const _0x48c3c3=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x48c3c3['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x48c3c3['if']('isVisible','ck-hidden',_0x402c77=>!_0x402c77)],'style':{'left':_0x48c3c3['to']('left',_0x88f2=>A(_0x88f2)),'top':_0x48c3c3['to']('top',_0x382bf9=>A(_0x382bf9)),'width':_0x48c3c3['to']('width',_0x211afa=>A(_0x211afa))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2f4179){this['_viewCollection']=_0x2f4179['ui']['view']['body'];}destroy(){for(const _0x57b9a7 of this['_hiddenLines'])_0x57b9a7['destroy']();}['cleanLines'](){for(const _0x2086f3 of this['_visibleLines'])_0x2086f3['isVisible']=!0x1,this['_hiddenLines']['add'](_0x2086f3);this['_visibleLines']['clear']();}['showLine'](_0x4acfa4,_0x39f052,_0x2a6267,_0x38a324){let _0x5bcee3;this['_hiddenLines']['size']?(_0x5bcee3=_0x231c1f(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x5bcee3)):_0x5bcee3=new U(),_0x5bcee3['set']({'pageNumber':_0x38a324,'left':_0x4acfa4,'top':_0x39f052,'width':_0x2a6267}),_0x5bcee3['isVisible']=!0x0,this['_viewCollection']['has'](_0x5bcee3)||this['_viewCollection']['add'](_0x5bcee3),this['_visibleLines']['add'](_0x5bcee3);}setViewCollection(_0x51bec2){for(const _0x1d00c7 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1d00c7)&&this['_viewCollection']['remove'](_0x1d00c7);this['_viewCollection']=_0x51bec2;}};const D='ck-pagination_enabled';var B=class extends _0x2a26a9{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',(_0x2ddeee,_0x4f18d7,_0x1f12c6)=>{_0x1f12c6||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x1f12c6);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x50dbd7){if(!this['isEnabled'])return;const _0x65bd28=_0x50dbd7>0x1?this['_getPageBreakLineOffset'](_0x50dbd7-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x65bd28-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x596cef['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x1a9b02=this['editor'],_0x277b78=this['_getAttachedDomRoot']();_0x277b78?(this['_scrollableEditingRootDomAncestor']&&_0x1a9b02['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x4744cb){let _0x55ede7=_0x4744cb;do{_0x55ede7=_0x55ede7['parentElement'];const _0x51aee6=_0x1d9a2f['window']['getComputedStyle'](_0x55ede7)['overflowY'];if('auto'==_0x51aee6||'scroll'==_0x51aee6)break;}while('BODY'!=_0x55ede7['tagName']);return _0x55ede7;}(_0x277b78),_0x1a9b02['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x32e80b(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1a9b02['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x50b405=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x50b405['ui']['view']['listenTo'](_0x1d9a2f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x50b405['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x86b766 of this['editor']['editing']['view']['domRoots']['values']())if(_0x86b766['ownerDocument']['body']['contains'](_0x86b766))return _0x86b766;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x287322=this['_getAttachedDomRoot'](),_0x3d8365=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x287322||0x1==_0x3d8365['length'])return void(this['pageNumber']=0x1);const _0x2a19f0=new _0x2c71dd(_0x287322)['excludeScrollbarsAndBorders'](),_0x4c68ac=new _0x2c71dd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1de36e=_0x4c68ac['top']+_0x4c68ac['height']/0x3;let _0x2c8b2d=!0x1;const _0x4e632c=[];for(let _0x30a7b9=0x1;_0x30a7b9<_0x3d8365['length'];_0x30a7b9++){const _0x31023f=this['_getPageBreakLineOffset'](_0x30a7b9,_0x4c68ac);if(!_0x31023f)continue;const _0x1354a9=_0x4c68ac['top']+_0x31023f-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x4e632c['push']({'pageOffsetTop':_0x1354a9,'domRootRect':_0x2a19f0,'domScrollableRect':_0x4c68ac,'pageNumber':_0x30a7b9}),_0x1354a9>_0x1de36e&&!_0x2c8b2d&&(this['pageNumber']=_0x30a7b9,_0x2c8b2d=!0x0);}this['_renderPageBreakLines'](_0x4e632c),_0x2c8b2d||(this['pageNumber']=_0x3d8365['length']);}['_renderPageBreakLines'](_0x1f2dee){const {scrollX:_0x220c93,scrollY:_0xe481f2}=_0x1d9a2f['window'];if(_0x1f2dee['length']){for(const {domScrollableRect:_0x312e41,pageOffsetTop:_0x2803a5,domRootRect:_0x4f9791,pageNumber:_0x24788a}of _0x1f2dee)_0x312e41['top']<_0x2803a5&&_0x2803a5<_0x312e41['bottom']&&this['linesRepository']['showLine'](_0x4f9791['left']+_0x220c93,_0x2803a5+_0xe481f2,_0x4f9791['width'],_0x24788a+0x1);}}_getPageBreakLineOffset(_0x1232e9,_0x155438=null){const _0x29581a=this['_paginationLookupPlugin']['pageBreaks'][_0x1232e9]['offset'];return _0x29581a?(_0x155438||(_0x155438=new _0x2c71dd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x29581a-_0x155438['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x2c175c,_0x5c433b=!0x0){const _0x493f62=this['editor']['editing']['view'];_0x493f62['change'](_0x594781=>{for(const _0x22d380 of _0x493f62['document']['roots'])_0x5c433b?_0x594781['addClass'](_0x2c175c,_0x22d380):_0x594781['removeClass'](_0x2c175c,_0x22d380);});}};function T(_0x11dc7f,_0x1ead16,..._0x20bfd6){const t=_0x11dc7f['t'];switch(_0x1ead16){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)',..._0x20bfd6);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 _0x1ead16;}}var G=class extends _0x2a26a9{['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 _0x301f3d=this['editor']['plugins']['get']('Pagination'),_0x2d577b=this['editor']['plugins']['get'](w),_0x4a3db9=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x301f3d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4a3db9),this['listenTo'](_0x2d577b,'change:pageBreaks',(_0x1ea353,_0x2f3913,_0x3eec5d,_0xa1f85b)=>{this['totalPages']=_0x3eec5d['length'],this['_updatePageBreakMarkers'](_0x3eec5d,_0xa1f85b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x321b76=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e9209;for(const _0x1d852d in _0x321b76){const _0x23f53e=_0x1d852d,_0x4334d7=_0x321b76[_0x23f53e];if('paginationLicenseKeyValid'==_0x4334d7||'paginationLicenseKeyInvalid'==_0x4334d7||'paginationLicenseKeyExpired'==_0x4334d7||'paginationLicenseKeyDomainLimit'==_0x4334d7||'paginationLicenseKeyNotAllowed'==_0x4334d7||'paginationLicenseKeyEvaluationLimit'==_0x4334d7||'paginationLicenseKeyUsageLimit'==_0x4334d7){delete _0x321b76[_0x23f53e],_0x3e9209=_0x4334d7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3e9209&&_0x321b76['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3e9209&&_0x321b76['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3e9209&&_0x321b76['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x18d580){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x18d580));}moveSelectionToPage(_0x8f8077){if(!this['isEnabled'])return;const _0x1e028c=this['editor'],_0x5e0a3b=this['editor']['plugins']['get'](w)['pageBreaks'][_0x8f8077-0x1];_0x5e0a3b&&_0x1e028c['model']['change'](_0xec91e6=>{switch(_0x5e0a3b['type']){case'manual':{const _0x529016=_0x1e028c['model']['schema']['getNearestSelectionRange'](_0x5e0a3b['modelRange']['end'],'forward');_0xec91e6['setSelection'](_0x529016);break;}case'element':{const _0x2ad18c=_0x1e028c['model']['schema']['getNearestSelectionRange'](_0x5e0a3b['modelRange']['start'],'forward');_0xec91e6['setSelection'](_0x2ad18c);break;}case'text':{const _0x15ad71=_0x5e0a3b['modelRange']['start'];if(_0x15ad71['textNode']&&'\x20'===_0x15ad71['textNode']['data'][_0x15ad71['offset']]){const _0x6eabad=_0xec91e6['createPositionAt'](_0x15ad71['parent'],_0x15ad71['offset']+0x1);_0xec91e6['setSelection'](_0x6eabad);}else _0xec91e6['setSelection'](_0x5e0a3b['modelRange']);}}_0x1e028c['editing']['view']['focus']();});}goToNextPage(){const _0x30ca7e=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x30ca7e),this['scrollToPage'](_0x30ca7e);}['goToPreviousPage'](){const _0x5ac909=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5ac909),this['scrollToPage'](_0x5ac909);}_updatePageBreakMarkers(_0x1d32b7,_0xbb5328){const _0x4c7a75=this['editor']['model'];this['isEnabled']&&_0x4c7a75['change'](_0x51bfbc=>{for(let _0x8608d4=0x1;_0x8608d4<_0x1d32b7['length'];_0x8608d4++){const _0x2b38aa=_0x1d32b7[_0x8608d4]['modelRange'],_0x2a731a='pagination:'+(_0x8608d4+0x1);_0x4c7a75['markers']['has'](_0x2a731a)?_0x51bfbc['updateMarker'](_0x2a731a,{'range':_0x2b38aa}):_0x51bfbc['addMarker'](_0x2a731a,{'range':_0x2b38aa,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xc85f50=_0x1d32b7['length'];_0xc85f50<_0xbb5328['length'];_0xc85f50++){const _0x2d7a9a='pagination:'+(_0xc85f50+0x1);_0x4c7a75['markers']['has'](_0x2d7a9a)&&_0x51bfbc['removeMarker'](_0x2d7a9a);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x1fa80=>{_0x1fa80['on']('addMarker:pagination',(_0x4155d3,{markerRange:_0x5f05ca,markerName:_0x91dccd},_0x4831e7)=>{if(!_0x4831e7['options']['pagination'])return;if(!_0x4831e7['consumable']['consume'](_0x5f05ca,_0x4155d3['name']))return;const _0x30260f=_0x5f05ca['getContainedElement']();let _0x1b6dc4=_0x30260f?_0x4831e7['mapper']['toViewElement'](_0x30260f):null;if(!_0x1b6dc4){const _0x5082f2=_0x5f05ca['start'];if(_0x4831e7['schema']['checkChild'](_0x5082f2,'$text')){const _0x4ffee6=_0x4831e7['mapper']['toViewPosition'](_0x5082f2);_0x1b6dc4=_0x4831e7['writer']['createContainerElement']('span'),_0x1b6dc4['getFillerOffset']=()=>null,_0x4831e7['writer']['insert'](_0x4ffee6,_0x1b6dc4);}else{const _0x69941a=_0x5082f2['nodeAfter'];_0x1b6dc4=_0x4831e7['mapper']['toViewElement'](_0x69941a);}}for(;_0x1b6dc4['parent']!==_0x1b6dc4['root']&&0x0===_0x1b6dc4['index'];)_0x1b6dc4=_0x1b6dc4['parent'];const _0x472d04=_0x91dccd['substring'](0xb);_0x1b6dc4['hasClass']('page-break')||(_0x4831e7['writer']['setStyle']('page-break-before','always',_0x1b6dc4),_0x4831e7['writer']['setAttribute']('data-pagination-page',_0x472d04,_0x1b6dc4),_0x4831e7['mapper']['bindElementToMarker'](_0x1b6dc4,_0x91dccd)),_0x4155d3['stop']();});});}_setupKeystrokes(){const _0x3d038c=this['editor'];_0x3d038c['keystrokes']['set']('Shift+Pageup',(_0x3a59c4,_0x348d52)=>{this['goToPreviousPage'](),_0x348d52();}),_0x3d038c['keystrokes']['set']('Shift+Pagedown',(_0x302c5f,_0x2faf8e)=>{this['goToNextPage'](),_0x2faf8e();}),_0x3d038c['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x3d038c['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x3d038c['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x3d038c['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x1cd015){return _0x1cd015<0x1&&(_0x1cd015=0x1),_0x1cd015>this['totalPages']&&(_0x1cd015=this['totalPages']),_0x1cd015;}},V=class extends _0x1bab2c{['pageNumberView'];constructor(_0x1de79b){super(_0x1de79b);const _0x3d979c=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1b2bd7(_0x1de79b,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2d6308=>T(_0x1de79b,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2d6308)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1ce579=>!_0x1ce579),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3d979c['if']('isEnabled','ck-disabled',_0x138d43=>!_0x138d43)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3d979c['to']('totalPages')}]}]});}['render'](){super['render']();const _0x37894a=this['pageNumberView']['element'],_0x275b81=_0x57e19a=>{this['pageNumberView']['element']['value']=String(_0x57e19a);};_0x275b81(this['pageNumber']),this['on']('change:pageNumber',(_0x20f6e5,_0xb34eee,_0x44dba6)=>{_0x275b81(_0x44dba6);}),this['listenTo'](_0x37894a,'keydown',(_0x2ae608,_0x25a73d)=>{if('ArrowUp'===_0x25a73d['key']||'ArrowDown'===_0x25a73d['key'])return void _0x25a73d['stopPropagation']();if(_0x25a73d['keyCode']!==_0x4e3e1a['enter'])return;_0x25a73d['preventDefault']();const _0x12c457=_0x37894a['valueAsNumber'];Number['isNaN'](_0x12c457)?_0x37894a['value']=String(this['pageNumber']):(_0x37894a['checkValidity']()?this['pageNumber']=_0x12c457:_0x12c457>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x37894a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x37894a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x37894a,'blur',()=>{_0x37894a['value']=String(this['pageNumber']);}),this['listenTo'](_0x37894a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x2a26a9{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x1ec577=this['editor'],_0x420d7d=_0x1ec577['plugins']['get']('PaginationEditing');_0x1ec577['ui']['componentFactory']['add']('pageNavigation',_0x4e78d6=>{const _0x502ee6=new V(_0x4e78d6);return _0x502ee6['bind']('pageNumber')['to'](_0x420d7d),_0x502ee6['bind']('totalPages')['to'](_0x420d7d),_0x502ee6['bind']('isEnabled')['to'](_0x420d7d),_0x502ee6['on']('navigation',(_0x2b3986,_0x16d7f7)=>{_0x420d7d['moveSelectionToPage'](_0x16d7f7),_0x420d7d['scrollToPage'](_0x16d7f7);}),_0x502ee6;}),_0x1ec577['ui']['componentFactory']['add']('nextPage',_0x404370=>{const _0x3161d1=new _0x47ae5d(_0x404370);return _0x3161d1['isEnabled']=!0x0,_0x3161d1['label']=T(_0x1ec577['locale'],'Go\x20to\x20next\x20page'),_0x3161d1['icon']=_0xfca57e,_0x3161d1['tooltip']=!0x0,_0x3161d1['keystroke']='Shift+PageDown',_0x3161d1['bind']('isEnabled')['to'](_0x420d7d),this['listenTo'](_0x3161d1,'execute',()=>{_0x420d7d['goToNextPage']();}),_0x3161d1;}),_0x1ec577['ui']['componentFactory']['add']('previousPage',_0x457dfd=>{const _0x252e02=new _0x47ae5d(_0x457dfd);return _0x252e02['isEnabled']=!0x0,_0x252e02['label']=T(_0x1ec577['locale'],'Go\x20to\x20previous\x20page'),_0x252e02['icon']=_0x552a4d,_0x252e02['tooltip']=!0x0,_0x252e02['keystroke']='Shift+PageUp',_0x252e02['bind']('isEnabled')['to'](_0x420d7d),this['listenTo'](_0x252e02,'execute',()=>{_0x420d7d['goToPreviousPage']();}),_0x252e02;});}},$=class extends _0x2a26a9{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0xa3bb47){super(_0xa3bb47),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x25dab1=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x25dab1),this['bind']('totalPages')['to'](_0x25dab1),_0x596cef['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3f2a79){this['editor']['plugins']['get'](G)['scrollToPage'](_0x3f2a79);}};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':_0x32c139=>0x1!=_0x32c139}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42d531=>{const {af:{dictionary:_0x1ece5e,getPluralForm:_0x251f4c}}={'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':_0x5d0da7=>0x1!=_0x5d0da7}};_0x42d531['af']||={'dictionary':{},'getPluralForm':null},_0x42d531['af']['dictionary']=Object['assign'](_0x42d531['af']['dictionary'],_0x1ece5e),_0x42d531['af']['getPluralForm']=_0x251f4c;})(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':_0x9ebc62=>0x0==_0x9ebc62?0x0:0x1==_0x9ebc62?0x1:0x2==_0x9ebc62?0x2:_0x9ebc62%0x64>=0x3&&_0x9ebc62%0x64<=0xa?0x3:_0x9ebc62%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5135f8=>{const {ar:{dictionary:_0x416db5,getPluralForm:_0x3c5c12}}={'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':_0x29502c=>0x0==_0x29502c?0x0:0x1==_0x29502c?0x1:0x2==_0x29502c?0x2:_0x29502c%0x64>=0x3&&_0x29502c%0x64<=0xa?0x3:_0x29502c%0x64>=0xb?0x4:0x5}};_0x5135f8['ar']||={'dictionary':{},'getPluralForm':null},_0x5135f8['ar']['dictionary']=Object['assign'](_0x5135f8['ar']['dictionary'],_0x416db5),_0x5135f8['ar']['getPluralForm']=_0x3c5c12;})(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':_0x290ff5=>0x1!=_0x290ff5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32be11=>{const {ast:{dictionary:_0x2867d2,getPluralForm:_0x4d3293}}={'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':_0x80e2ff=>0x1!=_0x80e2ff}};_0x32be11['ast']||={'dictionary':{},'getPluralForm':null},_0x32be11['ast']['dictionary']=Object['assign'](_0x32be11['ast']['dictionary'],_0x2867d2),_0x32be11['ast']['getPluralForm']=_0x4d3293;})(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':_0x134dbb=>0x1!=_0x134dbb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x138c27=>{const {az:{dictionary:_0x38c297,getPluralForm:_0x543165}}={'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':_0x4813e9=>0x1!=_0x4813e9}};_0x138c27['az']||={'dictionary':{},'getPluralForm':null},_0x138c27['az']['dictionary']=Object['assign'](_0x138c27['az']['dictionary'],_0x38c297),_0x138c27['az']['getPluralForm']=_0x543165;})(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':_0x3ede3a=>_0x3ede3a%0xa==0x1&&_0x3ede3a%0x64!=0xb?0x0:_0x3ede3a%0xa>=0x2&&_0x3ede3a%0xa<=0x4&&(_0x3ede3a%0x64<0xa||_0x3ede3a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5592db=>{const {be:{dictionary:_0x1d75d,getPluralForm:_0x107011}}={'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':_0x27b1fc=>_0x27b1fc%0xa==0x1&&_0x27b1fc%0x64!=0xb?0x0:_0x27b1fc%0xa>=0x2&&_0x27b1fc%0xa<=0x4&&(_0x27b1fc%0x64<0xa||_0x27b1fc%0x64>=0x14)?0x1:0x2}};_0x5592db['be']||={'dictionary':{},'getPluralForm':null},_0x5592db['be']['dictionary']=Object['assign'](_0x5592db['be']['dictionary'],_0x1d75d),_0x5592db['be']['getPluralForm']=_0x107011;})(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':_0x3c9523=>0x1!=_0x3c9523}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f7bf7=>{const {bg:{dictionary:_0x5c46c8,getPluralForm:_0x230710}}={'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':_0x792b04=>0x1!=_0x792b04}};_0x4f7bf7['bg']||={'dictionary':{},'getPluralForm':null},_0x4f7bf7['bg']['dictionary']=Object['assign'](_0x4f7bf7['bg']['dictionary'],_0x5c46c8),_0x4f7bf7['bg']['getPluralForm']=_0x230710;})(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':_0x1225f8=>0x1!=_0x1225f8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38c9a0=>{const {bn:{dictionary:_0x746c51,getPluralForm:_0x2d0548}}={'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':_0x134826=>0x1!=_0x134826}};_0x38c9a0['bn']||={'dictionary':{},'getPluralForm':null},_0x38c9a0['bn']['dictionary']=Object['assign'](_0x38c9a0['bn']['dictionary'],_0x746c51),_0x38c9a0['bn']['getPluralForm']=_0x2d0548;})(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':_0x2d7752=>_0x2d7752%0xa==0x1&&_0x2d7752%0x64!=0xb?0x0:_0x2d7752%0xa>=0x2&&_0x2d7752%0xa<=0x4&&(_0x2d7752%0x64<0xa||_0x2d7752%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x932082=>{const {bs:{dictionary:_0x392e6e,getPluralForm:_0x56c2fe}}={'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':_0x3fb4d8=>_0x3fb4d8%0xa==0x1&&_0x3fb4d8%0x64!=0xb?0x0:_0x3fb4d8%0xa>=0x2&&_0x3fb4d8%0xa<=0x4&&(_0x3fb4d8%0x64<0xa||_0x3fb4d8%0x64>=0x14)?0x1:0x2}};_0x932082['bs']||={'dictionary':{},'getPluralForm':null},_0x932082['bs']['dictionary']=Object['assign'](_0x932082['bs']['dictionary'],_0x392e6e),_0x932082['bs']['getPluralForm']=_0x56c2fe;})(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':_0x189fd2=>0x1!=_0x189fd2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x9d7853=>{const {ca:{dictionary:_0x9b6b45,getPluralForm:_0x5e4c44}}={'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':_0x3e1013=>0x1!=_0x3e1013}};_0x9d7853['ca']||={'dictionary':{},'getPluralForm':null},_0x9d7853['ca']['dictionary']=Object['assign'](_0x9d7853['ca']['dictionary'],_0x9b6b45),_0x9d7853['ca']['getPluralForm']=_0x5e4c44;})(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':_0xae0c28=>0x1==_0xae0c28?0x0:_0xae0c28>=0x2&&_0xae0c28<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24c664=>{const {cs:{dictionary:_0x4c8a68,getPluralForm:_0x4950ea}}={'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':_0x3e758d=>0x1==_0x3e758d?0x0:_0x3e758d>=0x2&&_0x3e758d<=0x4?0x1:0x2}};_0x24c664['cs']||={'dictionary':{},'getPluralForm':null},_0x24c664['cs']['dictionary']=Object['assign'](_0x24c664['cs']['dictionary'],_0x4c8a68),_0x24c664['cs']['getPluralForm']=_0x4950ea;})(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':_0x248448=>0x1!=_0x248448}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x55110f=>{const {da:{dictionary:_0x2bd80d,getPluralForm:_0x513639}}={'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':_0x447e60=>0x1!=_0x447e60}};_0x55110f['da']||={'dictionary':{},'getPluralForm':null},_0x55110f['da']['dictionary']=Object['assign'](_0x55110f['da']['dictionary'],_0x2bd80d),_0x55110f['da']['getPluralForm']=_0x513639;})(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':_0x125793=>0x1!=_0x125793}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28b099=>{const {'de-ch':{dictionary:_0x87e05b,getPluralForm:_0x2f6fb9}}={'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':_0x50d348=>0x1!=_0x50d348}};_0x28b099['de-ch']||={'dictionary':{},'getPluralForm':null},_0x28b099['de-ch']['dictionary']=Object['assign'](_0x28b099['de-ch']['dictionary'],_0x87e05b),_0x28b099['de-ch']['getPluralForm']=_0x2f6fb9;})(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':_0x7e5075=>0x1!=_0x7e5075}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12b369=>{const {de:{dictionary:_0x49f5f5,getPluralForm:_0x20e437}}={'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':_0x55825e=>0x1!=_0x55825e}};_0x12b369['de']||={'dictionary':{},'getPluralForm':null},_0x12b369['de']['dictionary']=Object['assign'](_0x12b369['de']['dictionary'],_0x49f5f5),_0x12b369['de']['getPluralForm']=_0x20e437;})(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':_0x3aeb56=>0x1!=_0x3aeb56}};
|