@ckeditor/ckeditor5-pagination 48.4.0-alpha.0 → 48.4.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x360f63}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x151669,InputNumberView as _0x5d02cd,View as _0x3277f0}from'@ckeditor/ckeditor5-ui';import{Rect as _0x2e3e71,ResizeObserver as _0x1cccc7,env as _0x4ae0ed,first as _0x4ad042,global as _0x10e83e,keyCodes as _0x17d698,logWarning as _0x363e3e,toUnit as _0x9e198b,uid as _0x3eb0d5}from'@ckeditor/ckeditor5-utils';import{debounce as _0x39e2c3}from'es-toolkit/compat';import{IconArrowDown as _0x34ad19,IconArrowUp as _0x4ce527}from'@ckeditor/ckeditor5-icons';var w=class extends _0x360f63{_recalculatePageBreaksDebounced=_0x39e2c3(()=>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 _0x363e3e('pagination-config-not-found',this['editor']['config']);const _0x103beb=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x103beb),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x56a737,_0x3f3920,_0x1f87d6)=>{_0x1f87d6&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x1a4dc9){const _0x4e81b0='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x1b769f=0x79128,_0x52f291=window['Date']['now'](),_0x2af9f4=_0x1a4dc9['editor'],_0x48a5e3=new window['Promise'](_0x14e6bc=>{_0x2af9f4['once']('ready',_0x14e6bc);}),_0x4f39ac={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3d467=_0x2af9f4['config']['get']('licenseKey');async function _0x2b4520(){let _0xa8e4ba,_0xb54e3d=null,_0x5d471c=null;try{return'GPL'==_0x3d467?'NotAllowed':(_0xa8e4ba=_0x3721bf(),_0xa8e4ba?(_0xa8e4ba['usageEndpoint']&&(_0x5d471c=_0x125044(_0xa8e4ba['usageEndpoint'],_0xa8e4ba['jti'])),await _0x4b34f3()?_0x59c3c4()?_0xf0462f()?'Expired':_0x1baaa7()?('evaluation'==_0xa8e4ba['licenseType']&&(_0xb54e3d=_0x22f480('EvaluationLimit')),await _0x3f80ef()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xf0462f(){const _0x3ff60e=['evaluation','trial']['includes'](_0xa8e4ba['licenseType'])?_0x52f291/0x3e8:0xe10*_0x1b769f;return _0xa8e4ba['exp']<_0x3ff60e;}function _0x59c3c4(){const _0x48accb=_0xa8e4ba['features'];return!!_0x48accb&&(!!_0x48accb['includes']('*')||!!_0x48accb['includes']('PAG'));}function _0x1baaa7(){const _0x1f87bb=_0xa8e4ba['licensedHosts'];if(!_0x1f87bb||0x0==_0x1f87bb['length'])return!0x0;const {hostname:_0x1fa3ca}=new URL(window['location']['href']);if(_0x1f87bb['includes'](_0x1fa3ca))return!0x0;const _0x54575b=_0x1fa3ca['split']('.');return _0x1f87bb['filter'](_0x50d869=>_0x50d869['includes']('*'))['map'](_0xbb1230=>_0xbb1230['split']('.'))['filter'](_0x5ebf15=>_0x5ebf15['length']<=_0x54575b['length'])['map'](_0x22d9ba=>Array(_0x54575b['length']-_0x22d9ba['length'])['fill']('*'===_0x22d9ba[0x0]?'*':'')['concat'](_0x22d9ba))['some'](_0x20e43f=>_0x54575b['every']((_0x2da06c,_0x4f428a)=>_0x20e43f[_0x4f428a]===_0x2da06c||'*'===_0x20e43f[_0x4f428a]));}function _0x3f80ef(){return _0xb54e3d&&_0x5d471c?new window['Promise']((_0x4d1df7,_0x2ae3d0)=>{_0xb54e3d['then'](_0x4d1df7,_0x2ae3d0),_0x5d471c['then'](_0x505dae=>{'Valid'!=_0x505dae&&_0x4d1df7(_0x505dae);},_0x2ae3d0);}):_0xb54e3d||_0x5d471c||'Valid';}}function _0x125044(_0x2cb738,_0x3bad02){return new window['Promise'](_0x3491b7=>{if(_0x3729f0())return _0x3491b7('Valid');_0xba9b99(),_0x2af9f4['decorate']('_sendUsageRequest');let _0x1bb4f8=!0x1;const _0x15ae4f=_0x3eb0d5();function _0x1dccc7(_0x263824){return!!_0x263824&&('object'==typeof _0x263824||'function'==typeof _0x263824)&&'function'==typeof _0x263824['then']&&'function'==typeof _0x263824['catch'];}function _0x2aebc8(_0x5a4cd8){_0x5f0e20(_0x5a4cd8)['then'](_0x7abeb=>_0x7abeb&&'ok'==_0x7abeb['status']?_0x50f622(_0x39c42b(_0x15ae4f+_0x3bad02))!=_0x7abeb['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x393d37=>(_0x236eb1(),_0x393d37),()=>{const _0xdba748=_0x3bd3d0();return null==_0xdba748?(_0x236eb1(),'Valid'):_0x52f291-_0xdba748>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3491b7)['catch'](()=>{_0x3491b7('UsageLimit');});const _0x12d6d0=0x36ee80;function _0x236eb1(){const _0x2d38b6='llct-'+_0x50f622(_0x39c42b(_0x2cb738)),_0x5f4eda=_0x4371a4(_0x50f622(window['Math']['ceil'](_0x52f291/_0x12d6d0)));window['localStorage']['setItem'](_0x2d38b6,_0x5f4eda);}function _0x3bd3d0(){const _0x15c3b8='llct-'+_0x50f622(_0x39c42b(_0x2cb738)),_0x225338=window['localStorage']['getItem'](_0x15c3b8);return _0x225338?window['parseInt'](_0x4371a4(_0x225338),0x10)*_0x12d6d0:null;}function _0x5f0e20(_0x47e8b7){return new window['Promise']((_0x104126,_0x15d1b0)=>{_0x47e8b7['then'](_0x104126,_0x15d1b0),window['setTimeout'](_0x15d1b0,0x1d4c0);});}}_0x2af9f4['on']('_sendUsageRequest',(_0x26fc58,_0x4c088e)=>{if(_0x4c088e[0x0]!=_0x2cb738)return _0x3491b7('UsageLimit');_0x4c088e[0x1]={..._0x4c088e[0x1],'requestId':_0x15ae4f};},{'priority':'high'}),_0x2af9f4['on']('_sendUsageRequest',_0x5cf8e9=>{_0x1dccc7(_0x5cf8e9['return'])&&(_0x1bb4f8=!0x0,_0x2aebc8(_0x5cf8e9['return']));},{'priority':'low'}),_0x48a5e3['then'](()=>{_0x1bb4f8||_0x3491b7('UsageLimit');});});function _0x3729f0(){return'auto'==_0x2af9f4['editing']['view']['_overlayModeHint'];}function _0xba9b99(){_0x2af9f4['editing']['view']['_overlayModeHint']='auto';}}function _0x22f480(_0x3850b4){const _0x4a73f3=[new window['Promise'](_0x11dc9c=>setTimeout(_0x11dc9c,0x93ecc)),_0x48a5e3['then'](()=>new window['Promise'](_0x25e347=>{let _0x48559a=0x0;_0x2af9f4['model']['on']('applyOperation',(_0x252ecf,_0x1b75e4)=>{_0x1b75e4[0x0]['isDocumentOperation']&&_0x48559a++,0x5e8==_0x48559a&&(_0x25e347(),_0x252ecf['off']());});}))];return window['Promise']['race'](_0x4a73f3)['then'](()=>_0x3850b4);}async function _0x44ee09(){await _0x48a5e3,_0x2af9f4['model']['change']=_0x27170d,_0x2af9f4['model']['enqueueChange']=_0x27170d,_0x2af9f4['enableReadOnlyMode']('model');}function _0x5134da(_0x137956){const _0x1fb9d8=_0x142d6c();_0x2af9f4[_0x1fb9d8]='paginationLicenseKey'+_0x137956,'Valid'!=_0x137956&&_0x44ee09();}function _0x142d6c(){const _0x4d811a=window['String'](window['performance']['now']())['replace']('.','');let _0x5ec850='I';for(let _0x30421e=0x0;_0x30421e<_0x4d811a['length'];_0x30421e+=0x2){let _0x28eed2=window['parseInt'](_0x4d811a['substring'](_0x30421e,_0x30421e+0x2));_0x28eed2>=0x3e&&(_0x28eed2-=0x3e),_0x5ec850+=_0x4e81b0[_0x28eed2];}return _0x5ec850;}function _0x3721bf(){const _0x41d633=_0x3d467['split']('.');if(0x3!=_0x41d633['length'])return null;return _0x258e5f(_0x41d633[0x1]);function _0x258e5f(_0x4be952){const _0x103ed2=_0x1faf60(_0x4be952);return _0x103ed2&&_0x56df91()?_0x103ed2:null;function _0x56df91(){const _0x4cea2b=_0x103ed2['jti'],_0x5b8339=window['parseInt'](_0x4cea2b['substring'](_0x4cea2b['length']-0x8),0x10),_0x7e2bfb={..._0x103ed2,'jti':_0x4cea2b['substring'](0x0,_0x4cea2b['length']-0x8)};return delete _0x7e2bfb['vc'],_0x39c42b(_0x7e2bfb)==_0x5b8339;}}}async function _0x4b34f3(){let _0x358654=!0x0;try{const [_0x13eda7,_0x137207,_0x3a0510]=_0x3d467['split']('.');return _0x5673b8(_0x13eda7),await _0x2ea537(_0x13eda7,_0x137207,_0x3a0510),_0x358654;}catch{return!0x1;}function _0x5673b8(_0x5b4a57){const _0x33d8a8=_0x1faf60(_0x5b4a57);_0x33d8a8&&'ES256'==_0x33d8a8['alg']||(_0x358654=!0x1);}async function _0x2ea537(_0x2c392d,_0x173dd7,_0x3fe444){const _0x212de7=window['Uint8Array']['from'](_0x56f12a(_0x3fe444),_0x5c61c0=>_0x5c61c0['charCodeAt'](0x0)),_0x5af12c=new window['TextEncoder']()['encode'](_0x2c392d+'.'+_0x173dd7),_0x4bfa7d=window['crypto']['subtle'];if(!_0x4bfa7d)return;const _0x451b6b=await _0x4bfa7d['importKey']('jwk',_0x4f39ac,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4bfa7d['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x451b6b,_0x212de7,_0x5af12c)||(_0x358654=!0x1);}}function _0x1faf60(_0x76b6d7){return _0x76b6d7['startsWith']('ey')?JSON['parse'](_0x56f12a(_0x76b6d7)):null;}function _0x56f12a(_0x16385f){return window['atob'](_0x16385f['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x39c42b(_0x14b70f){let _0x421386=0x1505;function _0x30c238(_0x1d5a0f){for(let _0x2cd651=0x0;_0x2cd651<_0x1d5a0f['length'];_0x2cd651++){const _0x4b0e6a=_0x1d5a0f['charCodeAt'](_0x2cd651);_0x421386=(_0x421386<<0x5)+_0x421386+_0x4b0e6a,_0x421386&=_0x421386;}}function _0x261e31(_0x58eda3){Array['isArray'](_0x58eda3)?_0x58eda3['forEach'](_0x261e31):_0x58eda3&&'object'==typeof _0x58eda3?Object['entries'](_0x58eda3)['sort']()['forEach'](([_0x3a72cf,_0x5f4db2])=>{_0x30c238(_0x3a72cf),_0x261e31(_0x5f4db2);}):_0x30c238(window['String'](_0x58eda3));}return _0x261e31(_0x14b70f),_0x421386>>>0x0;}function _0x50f622(_0x16e5a4){return _0x16e5a4['toString'](0x10)['padStart'](0x8,'0');}function _0x4371a4(_0x296607){return _0x296607['split']('')['reverse']()['join']('');}function _0x27170d(){}_0x5134da(await _0x2b4520());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x1035e0=this['editor'],_0x3eda10=_0x1035e0['editing']['view'],_0x5999e0=this['_getAttachedDomRoot']();if(!_0x5999e0||!_0x5999e0['hasChildNodes']())return void _0x1035e0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x48ee67,pageHeight:_0x711972}=_0x1035e0['config']['get']('pagination'),{top:_0x502845,left:_0x2d0ad8,bottom:_0x4e3efd,right:_0x2ead22}=this['_configuredPaddings'];this['_pagesContainer']=new _0x3277f0(_0x1035e0['locale']);const _0x1d3ef7=this['_pagesContainer'];_0x1d3ef7['set']('class',''),_0x1d3ef7['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x48ee67,'width':_0x48ee67,'height':'calc(\x20'+_0x711972+'\x20-\x20'+_0x502845+'\x20-\x20'+_0x4e3efd+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x2ead22+'\x200\x20'+_0x2d0ad8,'columnGap':'calc('+_0x2d0ad8+'\x20+\x20'+_0x2ead22+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x1d3ef7['bindTemplate']['to']('class')}}),_0x1d3ef7['render'](),_0x5999e0['parentNode']['insertBefore'](_0x1d3ef7['element'],_0x5999e0['nextSibling']),this['listenTo'](_0x3eda10,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x9b1bed of this['editor']['editing']['view']['domRoots']['values']())if(_0x9b1bed['ownerDocument']['body']['contains'](_0x9b1bed))return _0x9b1bed;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0xc68e8a=this['editor']['editing']['view'],_0x303041=this['_pagesContainer'],_0x2c65e5=this['_getAttachedDomRoot']();if(!_0x2c65e5||!_0x303041)return Promise['resolve']();for(_0x303041['class']=['ck-reset','ck-pagination-view',..._0x2c65e5['classList']]['join']('\x20');_0x303041['element']['firstChild'];)_0x303041['element']['firstChild']['remove']();const _0x167924=Array['from'](_0xc68e8a['domRoots']);_0x167924['sort'](([,_0x257d15],[,_0x338fa8])=>_0x257d15['compareDocumentPosition'](_0x338fa8)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x406b1e,_0x1864cd]of _0x167924){const _0x44f2e8=_0x1864cd['cloneNode'](!0x0);'attributeStyleMap'in _0x44f2e8&&_0x44f2e8['attributeStyleMap']['clear'](),_0x44f2e8['dataset']['rootName']=_0x406b1e,_0x44f2e8['className']='ck-content\x20ck-pagination_enabled',_0x44f2e8['removeAttribute']('id'),_0x44f2e8['tabIndex']=-0x1,_0x303041['element']['append'](_0x44f2e8);}const _0x3676cd=Array['from'](_0x303041['element']['querySelectorAll']('img'));return function(_0x40cc2c){return Promise['all'](_0x40cc2c['map'](_0x389c35=>Promise['race']([k(_0x389c35),v(0x3e8)])));}(_0x3676cd)['then'](()=>{for(const _0x508891 of _0x3676cd['filter'](_0x5122b4=>!_0x5122b4['closest']('table')))if(_0x508891['offsetParent']){const _0x7c50e0=_0x10e83e['window']['getComputedStyle'](_0x508891),_0x47925=_0x10e83e['document']['createElement']('span');for(const _0x7ded84 of _0x7c50e0)_0x47925['style']['setProperty'](_0x7ded84,_0x7c50e0[_0x7ded84]);_0x47925['style']['backgroundImage']='url(\x20'+_0x508891['src']+'\x20)',_0x47925['style']['breakInside']='avoid','PICTURE'==_0x508891['parentElement']?.['tagName']?_0x508891['parentElement']['replaceWith'](_0x47925):_0x508891['replaceWith'](_0x47925);}return new Promise(_0x37c7e8=>_0x10e83e['window']['requestAnimationFrame'](()=>_0x37c7e8()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x45fe9e=this['_pagesContainer']['element'];if(!_0x45fe9e['ownerDocument']['body']['contains'](_0x45fe9e))return;const _0x4f308c=new _0x2e3e71(_0x45fe9e)['excludeScrollbarsAndBorders'](),_0x4da950=Math['floor'](_0x4f308c['width']+0x64),_0x2835c8=_(_0x45fe9e,Math['floor'](_0x4f308c['left']-_0x45fe9e['scrollLeft']),_0x4da950,_0x4f308c['height'])['map'](_0x347f51=>this['_mapPageStarterInfoToPageBreakInfo'](_0x347f51))['filter'](_0x2c301e=>!0x1!==_0x2c301e);_0x2835c8['every'](_0x35b64f=>!!_0x35b64f)&&(this['pageBreaks']=_0x2835c8);}_mapPageStarterInfoToPageBreakInfo(_0x5e99c5){const _0x5eee4e=this['editor']['editing']['view'],_0x5e1f57=this['editor']['editing']['mapper'],_0x2397cb=_0x5eee4e['domConverter'],_0x24bac3=_0x5e99c5['path']['shift'](),_0x2c8ede=this['_pagesContainer']['element']['childNodes'][_0x24bac3]['dataset']['rootName'],_0x3ce52e=_0x5eee4e['getDomRoot'](_0x2c8ede);if(!_0x3ce52e)return null;const _0x2d0a35=function(_0x1e1b62,_0x42a986){let _0xeee9cd=_0x1e1b62;for(const _0x2dcb01 of _0x42a986['path']){if(!_0xeee9cd)return null;_0xeee9cd=_0xeee9cd['childNodes'][_0x2dcb01];}return _0xeee9cd;}(_0x3ce52e,_0x5e99c5);if(!_0x2d0a35)return null;const _0xb9d50e=_0x2397cb['domPositionToView'](_0x2d0a35,_0x5e99c5['textOffset']||0x0);return _0xb9d50e?'manual'==_0x5e99c5['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xb9d50e,_0x2d0a35):'text'==_0x5e99c5['type']&&_0x5e1f57['toModelPosition'](_0xb9d50e)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xb9d50e,_0x2d0a35,_0x5e99c5['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xb9d50e,_0x2d0a35,_0x5e99c5['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x3b12f0,_0x46c863){const _0x15e6f4=this['editor']['model'],_0x599a82=this['editor']['editing']['mapper']['toModelElement'](_0x3b12f0['parent']),_0x185659=_0x15e6f4['createRangeOn'](_0x599a82);return new P({'type':'manual','modelRange':_0x185659,'domNode':_0x46c863,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x3d28ed,_0x2cf228,_0x476eec){const _0xfe0130=this['editor']['model'],_0x3bced0=this['editor']['editing']['mapper'],_0x29fc80=this['editor']['editing']['view']['domConverter'];if(_0x476eec>=_0x2cf228['length'])return null;const _0x491bb3=_0x3bced0['toModelPosition'](_0x3d28ed),_0x2f128b=_0xfe0130['createRange'](_0x491bb3),_0x508d5e=_0x3bced0['findMappedViewAncestor'](_0x3d28ed),_0x52afbd=_0x29fc80['mapViewToDom'](_0x508d5e);return new P({'type':'text','modelRange':_0x2f128b,'domNode':_0x2cf228,'offset':y(_0x2cf228,_0x476eec,_0x52afbd)});}_mapElementPageStarterInfoToPageBreakInfo(_0x3346a8,_0x2b007e,_0x1a42e4){const _0xb111a6=this['editor']['model'],_0x4a4465=this['editor']['editing'],_0x33108d=_0x4a4465['mapper'],_0x2750fc=_0x4a4465['view']['domConverter'],_0x46af28=_0x33108d['findMappedViewAncestor'](_0x3346a8),_0x4e5c54=_0x33108d['toModelElement'](_0x46af28);if(!_0x4e5c54||_0x4e5c54['is']('rootElement'))return!0x1;const _0x42854f=function(_0x3fdadd){const _0x49ea73=_0x3fdadd['parent'],_0x55d82a=_0x49ea73['root']['document']['model'],_0x1e1114=_0x49ea73['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x4f23aa=null;for(const _0x4f0415 of _0x1e1114){if(_0x4f0415['is']('rootElement'))return _0x4f23aa;if(!_0x55d82a['createPositionBefore'](_0x4f0415)['isTouching'](_0x3fdadd))return _0x4f23aa;_0x4f23aa=_0x4f0415;}}(_0xb111a6['createPositionBefore'](_0x4e5c54))||_0x4e5c54;let _0x22d7c2=_0x33108d['toViewElement'](_0x42854f),_0x33b902=_0xb111a6['createRangeOn'](_0x42854f);const _0x1d1d9f=_0xb111a6['createPositionBefore'](_0x42854f)['nodeBefore'];if(_0x1d1d9f&&_0x1d1d9f['is']('element','imageBlock')){const _0x16cbc9=_0x33108d['toViewElement'](_0x1d1d9f),_0x682b8d=_0x2750fc['mapViewToDom'](_0x16cbc9),_0x3526a0=_0x10e83e['window']['getComputedStyle'](_0x682b8d)['float'];'left'!=_0x3526a0&&'right'!=_0x3526a0||(_0x33b902=_0xb111a6['createRangeOn'](_0x1d1d9f));}for(;_0x22d7c2['parent']!==_0x22d7c2['root']&&0x0===_0x22d7c2['index'];)_0x22d7c2=_0x22d7c2['parent'];const _0x5256e2=new _0x2e3e71(K(_0x2b007e)?_0x2b007e:L(_0x2b007e)),_0x412a8f=_0x1a42e4?_0x5256e2['height']-_0x1a42e4:0x0,_0x41db0b=_0x2750fc['mapViewToDom'](_0x22d7c2),_0x235f78=new _0x2e3e71(_0x41db0b);return new P({'type':'element','modelRange':_0x33b902,'domNode':_0x41db0b,'offset':Math['round'](_0x412a8f)||_0x46af28!=b(_0x3346a8)?_0x412a8f+_0x5256e2['top']-_0x235f78['top']:0x0});}get['_configuredPaddings'](){const _0x2ee634=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2ee634);}static _findPageStarterInfos(_0x15f137,_0x5507ac,_0x27f036,_0x51fdf7,_0x2c5e7c){return _(_0x15f137,_0x5507ac,_0x27f036,_0x51fdf7,_0x2c5e7c);}},P=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x5b6ca3,modelRange:_0x2c21ee,domNode:_0x5b7068,offset:_0x306fdb}){this['type']=_0x5b6ca3,this['modelRange']=_0x2c21ee,this['_domNode']=_0x5b7068,this['_offset']=_0x306fdb;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x2ed23c=new _0x2e3e71(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x2ed23c['top']+_0x2ed23c['height']/0x2:_0x2ed23c['top']+this['_offset'];}};function y(_0x564504,_0x43096c,_0x50a9c6){const _0x13a232=L(_0x564504),_0x156e8d=function(_0x102794){const _0x5153c6=_0x10e83e['document']['createRange']();return _0x5153c6['selectNodeContents'](_0x102794),_0x5153c6;}(_0x50a9c6);let _0xa8eaf3;_0xa8eaf3=0x0==_0x43096c?N(_0x156e8d['startContainer'],_0x156e8d['startOffset'],_0x564504['parentNode'],Array['from'](_0x564504['parentNode']['childNodes'])['indexOf'](_0x564504)):N(_0x156e8d['startContainer'],_0x156e8d['startOffset'],_0x564504,_0x43096c);const _0x29d2f5=N(_0x564504,_0x43096c,_0x156e8d['endContainer'],_0x156e8d['endOffset']),_0x22b30f=new _0x2e3e71(_0xa8eaf3)['bottom'];return(new _0x2e3e71(_0x29d2f5)['top']+_0x22b30f)/0x2-new _0x2e3e71(_0x13a232)['top'];}function b(_0x21797e){let _0x48680c=_0x21797e['parent'];for(;_0x48680c['is']('$text')||_0x48680c['is']('attributeElement');)_0x48680c=_0x48680c['parent'];return _0x48680c;}function k(_0x1fed4d){return _0x1fed4d['hasAttribute']('width')&&_0x1fed4d['hasAttribute']('height')?Promise['resolve']():new Promise(_0x48b02f=>{function _0x2ca092(){_0x1fed4d['removeEventListener']('load',_0x2ca092),_0x1fed4d['removeEventListener']('error',_0x2ca092),_0x48b02f();}_0x1fed4d['complete']?_0x48b02f():(_0x1fed4d['addEventListener']('load',_0x2ca092),_0x1fed4d['addEventListener']('error',_0x2ca092));});}function v(_0x1b4235){return new Promise(_0x1ade37=>setTimeout(_0x1ade37,_0x1b4235));}function L(_0x3be982){const _0x3b7199=_0x10e83e['document']['createRange']();return _0x3b7199['selectNode'](_0x3be982),_0x3b7199;}function x(_0xbe7770,_0xddb843,_0x17375d){const _0x1be432=_0x10e83e['document']['createRange']();return _0x1be432['setStart'](_0xbe7770,_0xddb843),_0x1be432['setEnd'](_0xbe7770,_0x17375d),_0x1be432;}function N(_0x1cfa3f,_0x340e9d,_0x5f546e,_0x2fffe2){const _0x45cc80=_0x10e83e['document']['createRange']();return _0x45cc80['setStart'](_0x1cfa3f,_0x340e9d),_0x45cc80['setEnd'](_0x5f546e,_0x2fffe2),_0x45cc80;}function _(_0x5820e5,_0x22f3d2,_0x58ad08,_0x13997a,_0x2a61eb){const _0xbc995e=[];for(const [_0x5b4331,_0x4c62bf]of _0x5820e5['childNodes']['entries']()){let _0x5d7be3=[];K(_0x4c62bf)&&_0x4c62bf['offsetParent']&&['static','relative']['includes'](_0x10e83e['window']['getComputedStyle'](_0x4c62bf)['position'])?_0x5d7be3=E(_0x4c62bf,_0x5b4331,_0x22f3d2,_0x58ad08,_0x13997a,_0x2a61eb):O(_0x4c62bf)&&(_0x5d7be3=S(_0x4c62bf,_0x5b4331,_0x22f3d2,_0x58ad08,_0x2a61eb)),_0x5d7be3['length']&&(_0xbc995e['push'](..._0x5d7be3),_0x22f3d2+=_0x5d7be3['length']*_0x58ad08,_0x2a61eb=!0x1);}return _0xbc995e;}function E(_0x5165bc,_0x2bc69e,_0x36e482,_0x3d37c1,_0xff40c7,_0x1b4949){const _0x29973d=[];var _0x2f172b;if((_0x2f172b=_0x5165bc['previousSibling'])&&K(_0x2f172b)&&Boolean(_0x2f172b['classList']['contains']('page-break')||_0x2f172b['closest']('.page-break'))&&(_0x29973d['push']({'type':'manual','offset':0x0,'path':[_0x2bc69e-0x1]}),_0x1b4949=!0x0),'table-row'==_0x10e83e['window']['getComputedStyle'](_0x5165bc)['display']){let _0x571dec=0x0,_0x1832c0=!0x1;for(const _0x47b439 of _0x5165bc['getClientRects']())_0x571dec+=_0x47b439['height'],_0x47b439['left']>=_0x36e482&&(_0x1832c0=!0x0);if(_0x571dec<_0xff40c7&&_0x1832c0)return _0x1b4949||_0x29973d['push']({'type':'element','offset':0x0,'path':[_0x2bc69e]}),_0x29973d;}const _0x302f80=_0x5165bc['closest']('figure.image');if(_0x302f80&&function(_0xc1f9be){let _0x4e1926=!0x1;const _0x159c06=_0xc1f9be['parentElement']['dataset']['rootName'],_0x1fcc88=_0xc1f9be['nextElementSibling'],_0x4c0515=_0xc1f9be['previousElementSibling'],_0x51fda1=_0x1fcc88&&_0x10e83e['window']['getComputedStyle'](_0x1fcc88)['float'],_0x422095=_0x1fcc88&&'ck-fake-selection-container'===_0x1fcc88['className'];return!_0x159c06||_0x1fcc88||_0x4c0515||(_0x4e1926=!0x0),_0x159c06&&!_0x4c0515&&_0x422095&&(_0x4e1926=!0x0),_0x159c06&&!_0x4c0515&&'none'!==_0x51fda1&&(_0x4e1926=!0x0),!_0x4e1926;}(_0x302f80)){const _0x4e4cb5=_0x10e83e['window']['getComputedStyle'](_0x302f80)['float'];if('left'==_0x4e4cb5||'right'==_0x4e4cb5)return _0x29973d;}const _0x32d90f=_(_0x5165bc,_0x36e482,_0x3d37c1,_0xff40c7,_0x1b4949);if(_0x32d90f['length']){for(const _0x482c4d of _0x32d90f)_0x29973d['push']({'type':_0x482c4d['type'],'offset':_0x482c4d['offset'],'textOffset':_0x482c4d['textOffset'],'path':[_0x2bc69e,..._0x482c4d['path']]}),_0x36e482+=_0x3d37c1;return _0x29973d;}return _0x29973d['push'](...function(_0x46b8b8,_0x59b7b1,_0x3efe9c,_0x465573,_0xe6f375){const _0x558a69=[];if('table-cell'==_0x10e83e['window']['getComputedStyle'](_0x46b8b8)['display'])return[];const _0x6fb76c=[];for(const _0x22357d of _0x46b8b8['getClientRects']())if(_0x22357d['left']>=_0x3efe9c){for(const _0x5273b5 of _0x6fb76c)_0x5273b5['height']+=_0x22357d['height'];_0x6fb76c['push']({'height':_0x22357d['height']}),_0x3efe9c+=_0x465573;}for(const _0x539228 of _0x6fb76c)_0xe6f375||_0x558a69['push']({'type':'element','offset':_0x539228['height'],'textOffset':0x0,'path':[_0x59b7b1]}),_0xe6f375=!0x1;return _0x558a69;}(_0x5165bc,_0x2bc69e,_0x36e482,_0x3d37c1,_0x1b4949)),_0x29973d;}function S(_0x30b046,_0x11ac7e,_0x1bbc10,_0x52778d,_0x5c2f8b){const _0x5304dd=L(_0x30b046),_0x1d60e5=[];let _0x2070a7=0x0;for(const _0x48e8cf of _0x5304dd['getClientRects']())if(_0x48e8cf['left']>=_0x1bbc10){const _0x320ba0=R(_0x30b046,_0x2070a7,_0x1bbc10,_0x52778d);_0x5c2f8b||_0x1d60e5['push']({'type':'text','path':[_0x11ac7e],'textOffset':_0x320ba0}),_0x2070a7=_0x320ba0,_0x1bbc10+=_0x52778d,_0x5c2f8b=!0x1;}return _0x1d60e5;}function R(_0x222323,_0x19c075,_0x3ce552,_0x29b501){let _0x5434d2=_0x19c075,_0x47668a=_0x222323['length'];for(;_0x47668a-_0x5434d2>0x1;){const _0x4f6df6=Math['ceil']((_0x5434d2+_0x47668a)/0x2);I(x(_0x222323,_0x5434d2,_0x4f6df6),_0x3ce552,_0x29b501)?_0x47668a=_0x4f6df6:_0x5434d2=_0x4f6df6;}return _0x5434d2;}function I(_0x478304,_0x182adb,_0x962ac2){for(const _0x1110ba of _0x478304['getClientRects']())if(_0x1110ba['left']>=_0x182adb&&_0x1110ba['left']<_0x182adb+_0x962ac2)return!0x0;return!0x1;}function K(_0x2e26b9){return _0x2e26b9['nodeType']==Node['ELEMENT_NODE'];}function O(_0xe96122){return _0xe96122['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x9e198b('px');var U=class extends _0x3277f0{constructor(){super();const _0x131449=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x131449['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x131449['if']('isVisible','ck-hidden',_0x24b633=>!_0x24b633)],'style':{'left':_0x131449['to']('left',_0x14c6b7=>A(_0x14c6b7)),'top':_0x131449['to']('top',_0x1824b3=>A(_0x1824b3)),'width':_0x131449['to']('width',_0x2ca433=>A(_0x2ca433))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x466661){this['_viewCollection']=_0x466661['ui']['view']['body'];}destroy(){for(const _0x4ae4e2 of this['_hiddenLines'])_0x4ae4e2['destroy']();}['cleanLines'](){for(const _0x5f2674 of this['_visibleLines'])_0x5f2674['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5f2674);this['_visibleLines']['clear']();}['showLine'](_0x4cba5d,_0x25a651,_0x175649,_0x347993){let _0x30fa6d;this['_hiddenLines']['size']?(_0x30fa6d=_0x4ad042(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x30fa6d)):_0x30fa6d=new U(),_0x30fa6d['set']({'pageNumber':_0x347993,'left':_0x4cba5d,'top':_0x25a651,'width':_0x175649}),_0x30fa6d['isVisible']=!0x0,this['_viewCollection']['has'](_0x30fa6d)||this['_viewCollection']['add'](_0x30fa6d),this['_visibleLines']['add'](_0x30fa6d);}setViewCollection(_0x26ffe9){for(const _0x1333e2 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1333e2)&&this['_viewCollection']['remove'](_0x1333e2);this['_viewCollection']=_0x26ffe9;}};const D='ck-pagination_enabled';var B=class extends _0x360f63{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',(_0x2100cb,_0x162344,_0x56f09e)=>{_0x56f09e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x56f09e);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1770e1){if(!this['isEnabled'])return;const _0x3c8d05=_0x1770e1>0x1?this['_getPageBreakLineOffset'](_0x1770e1-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3c8d05-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x4ae0ed['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x444830=this['editor'],_0x104cef=this['_getAttachedDomRoot']();_0x104cef?(this['_scrollableEditingRootDomAncestor']&&_0x444830['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x4c12d4){let _0x3b4b26=_0x4c12d4;do{_0x3b4b26=_0x3b4b26['parentElement'];const _0x41ac5c=_0x10e83e['window']['getComputedStyle'](_0x3b4b26)['overflowY'];if('auto'==_0x41ac5c||'scroll'==_0x41ac5c)break;}while('BODY'!=_0x3b4b26['tagName']);return _0x3b4b26;}(_0x104cef),_0x444830['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x1cccc7(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x444830['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3be0a6=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3be0a6['ui']['view']['listenTo'](_0x10e83e['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3be0a6['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x1d58d3 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1d58d3['ownerDocument']['body']['contains'](_0x1d58d3))return _0x1d58d3;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x5a5e4c=this['_getAttachedDomRoot'](),_0x165145=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5a5e4c||0x1==_0x165145['length'])return void(this['pageNumber']=0x1);const _0x341173=new _0x2e3e71(_0x5a5e4c)['excludeScrollbarsAndBorders'](),_0x1873cc=new _0x2e3e71(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1dc644=_0x1873cc['top']+_0x1873cc['height']/0x3;let _0x55c733=!0x1;const _0x3f3c7c=[];for(let _0x489b75=0x1;_0x489b75<_0x165145['length'];_0x489b75++){const _0x430fb4=this['_getPageBreakLineOffset'](_0x489b75,_0x1873cc);if(!_0x430fb4)continue;const _0x657817=_0x1873cc['top']+_0x430fb4-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x3f3c7c['push']({'pageOffsetTop':_0x657817,'domRootRect':_0x341173,'domScrollableRect':_0x1873cc,'pageNumber':_0x489b75}),_0x657817>_0x1dc644&&!_0x55c733&&(this['pageNumber']=_0x489b75,_0x55c733=!0x0);}this['_renderPageBreakLines'](_0x3f3c7c),_0x55c733||(this['pageNumber']=_0x165145['length']);}['_renderPageBreakLines'](_0x338ced){const {scrollX:_0x225e6e,scrollY:_0x4470cf}=_0x10e83e['window'];if(_0x338ced['length']){for(const {domScrollableRect:_0x1e20a5,pageOffsetTop:_0x15bc13,domRootRect:_0x2a2aa4,pageNumber:_0x3ee722}of _0x338ced)_0x1e20a5['top']<_0x15bc13&&_0x15bc13<_0x1e20a5['bottom']&&this['linesRepository']['showLine'](_0x2a2aa4['left']+_0x225e6e,_0x15bc13+_0x4470cf,_0x2a2aa4['width'],_0x3ee722+0x1);}}_getPageBreakLineOffset(_0x2720fc,_0x2fe9b1=null){const _0x2cf8f4=this['_paginationLookupPlugin']['pageBreaks'][_0x2720fc]['offset'];return _0x2cf8f4?(_0x2fe9b1||(_0x2fe9b1=new _0x2e3e71(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x2cf8f4-_0x2fe9b1['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x5c55a1,_0x3c5194=!0x0){const _0x2d361b=this['editor']['editing']['view'];_0x2d361b['change'](_0x189c56=>{for(const _0xb309d7 of _0x2d361b['document']['roots'])_0x3c5194?_0x189c56['addClass'](_0x5c55a1,_0xb309d7):_0x189c56['removeClass'](_0x5c55a1,_0xb309d7);});}};function T(_0x266e79,_0xb114ef,..._0x451dee){const t=_0x266e79['t'];switch(_0xb114ef){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)',..._0x451dee);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 _0xb114ef;}}var G=class extends _0x360f63{['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 _0x470ebf=this['editor']['plugins']['get']('Pagination'),_0x4e65e5=this['editor']['plugins']['get'](w),_0x587acc=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x470ebf),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x587acc),this['listenTo'](_0x4e65e5,'change:pageBreaks',(_0x354cc5,_0x10e167,_0xf32c7f,_0x295bfa)=>{this['totalPages']=_0xf32c7f['length'],this['_updatePageBreakMarkers'](_0xf32c7f,_0x295bfa);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f9707=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d93d4;for(const _0x2fd8e6 in _0x4f9707){const _0x5e4d19=_0x2fd8e6,_0x3f56d4=_0x4f9707[_0x5e4d19];if('paginationLicenseKeyValid'==_0x3f56d4||'paginationLicenseKeyInvalid'==_0x3f56d4||'paginationLicenseKeyExpired'==_0x3f56d4||'paginationLicenseKeyDomainLimit'==_0x3f56d4||'paginationLicenseKeyNotAllowed'==_0x3f56d4||'paginationLicenseKeyEvaluationLimit'==_0x3f56d4||'paginationLicenseKeyUsageLimit'==_0x3f56d4){delete _0x4f9707[_0x5e4d19],_0x3d93d4=_0x3f56d4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3d93d4&&_0x4f9707['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3d93d4&&_0x4f9707['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3d93d4&&_0x4f9707['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3d93d4&&_0x4f9707['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3d93d4&&_0x4f9707['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3d93d4&&_0x4f9707['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3001a4){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x3001a4));}moveSelectionToPage(_0x954216){if(!this['isEnabled'])return;const _0x3ed7e1=this['editor'],_0x27dff8=this['editor']['plugins']['get'](w)['pageBreaks'][_0x954216-0x1];_0x27dff8&&_0x3ed7e1['model']['change'](_0x7c9698=>{switch(_0x27dff8['type']){case'manual':{const _0x138cc5=_0x3ed7e1['model']['schema']['getNearestSelectionRange'](_0x27dff8['modelRange']['end'],'forward');_0x7c9698['setSelection'](_0x138cc5);break;}case'element':{const _0x232b6c=_0x3ed7e1['model']['schema']['getNearestSelectionRange'](_0x27dff8['modelRange']['start'],'forward');_0x7c9698['setSelection'](_0x232b6c);break;}case'text':{const _0x18d54b=_0x27dff8['modelRange']['start'];if(_0x18d54b['textNode']&&'\x20'===_0x18d54b['textNode']['data'][_0x18d54b['offset']]){const _0x2da5ca=_0x7c9698['createPositionAt'](_0x18d54b['parent'],_0x18d54b['offset']+0x1);_0x7c9698['setSelection'](_0x2da5ca);}else _0x7c9698['setSelection'](_0x27dff8['modelRange']);}}_0x3ed7e1['editing']['view']['focus']();});}goToNextPage(){const _0x2d0738=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2d0738),this['scrollToPage'](_0x2d0738);}['goToPreviousPage'](){const _0x3d518a=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3d518a),this['scrollToPage'](_0x3d518a);}_updatePageBreakMarkers(_0x49ee21,_0x22cb47){const _0x49e6f3=this['editor']['model'];this['isEnabled']&&_0x49e6f3['change'](_0x26f02a=>{for(let _0x4dbc43=0x1;_0x4dbc43<_0x49ee21['length'];_0x4dbc43++){const _0x84643e=_0x49ee21[_0x4dbc43]['modelRange'],_0x311804='pagination:'+(_0x4dbc43+0x1);_0x49e6f3['markers']['has'](_0x311804)?_0x26f02a['updateMarker'](_0x311804,{'range':_0x84643e}):_0x26f02a['addMarker'](_0x311804,{'range':_0x84643e,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x18847c=_0x49ee21['length'];_0x18847c<_0x22cb47['length'];_0x18847c++){const _0x1fca88='pagination:'+(_0x18847c+0x1);_0x49e6f3['markers']['has'](_0x1fca88)&&_0x26f02a['removeMarker'](_0x1fca88);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x287d38=>{_0x287d38['on']('addMarker:pagination',(_0x45c8e7,{markerRange:_0x593ae5,markerName:_0x59ff64},_0x2555e9)=>{if(!_0x2555e9['options']['pagination'])return;if(!_0x2555e9['consumable']['consume'](_0x593ae5,_0x45c8e7['name']))return;const _0x49212a=_0x593ae5['getContainedElement']();let _0x2aaa65=_0x49212a?_0x2555e9['mapper']['toViewElement'](_0x49212a):null;if(!_0x2aaa65){const _0x506a07=_0x593ae5['start'];if(_0x2555e9['schema']['checkChild'](_0x506a07,'$text')){const _0x53aa2b=_0x2555e9['mapper']['toViewPosition'](_0x506a07);_0x2aaa65=_0x2555e9['writer']['createContainerElement']('span'),_0x2aaa65['getFillerOffset']=()=>null,_0x2555e9['writer']['insert'](_0x53aa2b,_0x2aaa65);}else{const _0x313f7a=_0x506a07['nodeAfter'];_0x2aaa65=_0x2555e9['mapper']['toViewElement'](_0x313f7a);}}for(;_0x2aaa65['parent']!==_0x2aaa65['root']&&0x0===_0x2aaa65['index'];)_0x2aaa65=_0x2aaa65['parent'];const _0x443976=_0x59ff64['substring'](0xb);_0x2aaa65['hasClass']('page-break')||(_0x2555e9['writer']['setStyle']('page-break-before','always',_0x2aaa65),_0x2555e9['writer']['setAttribute']('data-pagination-page',_0x443976,_0x2aaa65),_0x2555e9['mapper']['bindElementToMarker'](_0x2aaa65,_0x59ff64)),_0x45c8e7['stop']();});});}_setupKeystrokes(){const _0x50ac8d=this['editor'];_0x50ac8d['keystrokes']['set']('Shift+Pageup',(_0x3660a7,_0x3fc497)=>{this['goToPreviousPage'](),_0x3fc497();}),_0x50ac8d['keystrokes']['set']('Shift+Pagedown',(_0x42b4a7,_0x65cb2b)=>{this['goToNextPage'](),_0x65cb2b();}),_0x50ac8d['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x50ac8d['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x50ac8d['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x50ac8d['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x13b7cd){return _0x13b7cd<0x1&&(_0x13b7cd=0x1),_0x13b7cd>this['totalPages']&&(_0x13b7cd=this['totalPages']),_0x13b7cd;}},V=class extends _0x3277f0{['pageNumberView'];constructor(_0x42ac0a){super(_0x42ac0a);const _0x5e6bd8=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x5d02cd(_0x42ac0a,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2c5c61=>T(_0x42ac0a,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2c5c61)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x10d784=>!_0x10d784),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5e6bd8['if']('isEnabled','ck-disabled',_0x10597b=>!_0x10597b)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5e6bd8['to']('totalPages')}]}]});}['render'](){super['render']();const _0x46f341=this['pageNumberView']['element'],_0x1891ba=_0x5e2334=>{this['pageNumberView']['element']['value']=String(_0x5e2334);};_0x1891ba(this['pageNumber']),this['on']('change:pageNumber',(_0x1bce56,_0x41801e,_0x57e25e)=>{_0x1891ba(_0x57e25e);}),this['listenTo'](_0x46f341,'keydown',(_0x8a210e,_0x5da8d0)=>{if('ArrowUp'===_0x5da8d0['key']||'ArrowDown'===_0x5da8d0['key'])return void _0x5da8d0['stopPropagation']();if(_0x5da8d0['keyCode']!==_0x17d698['enter'])return;_0x5da8d0['preventDefault']();const _0x11d6b0=_0x46f341['valueAsNumber'];Number['isNaN'](_0x11d6b0)?_0x46f341['value']=String(this['pageNumber']):(_0x46f341['checkValidity']()?this['pageNumber']=_0x11d6b0:_0x11d6b0>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x46f341['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x46f341['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x46f341,'blur',()=>{_0x46f341['value']=String(this['pageNumber']);}),this['listenTo'](_0x46f341,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x360f63{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x362e87=this['editor'],_0x46ab6d=_0x362e87['plugins']['get']('PaginationEditing');_0x362e87['ui']['componentFactory']['add']('pageNavigation',_0x393c4e=>{const _0x168478=new V(_0x393c4e);return _0x168478['bind']('pageNumber')['to'](_0x46ab6d),_0x168478['bind']('totalPages')['to'](_0x46ab6d),_0x168478['bind']('isEnabled')['to'](_0x46ab6d),_0x168478['on']('navigation',(_0x2d97a7,_0x2b5095)=>{_0x46ab6d['moveSelectionToPage'](_0x2b5095),_0x46ab6d['scrollToPage'](_0x2b5095);}),_0x168478;}),_0x362e87['ui']['componentFactory']['add']('nextPage',_0x249969=>{const _0x3d810b=new _0x151669(_0x249969);return _0x3d810b['isEnabled']=!0x0,_0x3d810b['label']=T(_0x362e87['locale'],'Go\x20to\x20next\x20page'),_0x3d810b['icon']=_0x34ad19,_0x3d810b['tooltip']=!0x0,_0x3d810b['keystroke']='Shift+PageDown',_0x3d810b['bind']('isEnabled')['to'](_0x46ab6d),this['listenTo'](_0x3d810b,'execute',()=>{_0x46ab6d['goToNextPage']();}),_0x3d810b;}),_0x362e87['ui']['componentFactory']['add']('previousPage',_0x2ea8f7=>{const _0x330527=new _0x151669(_0x2ea8f7);return _0x330527['isEnabled']=!0x0,_0x330527['label']=T(_0x362e87['locale'],'Go\x20to\x20previous\x20page'),_0x330527['icon']=_0x4ce527,_0x330527['tooltip']=!0x0,_0x330527['keystroke']='Shift+PageUp',_0x330527['bind']('isEnabled')['to'](_0x46ab6d),this['listenTo'](_0x330527,'execute',()=>{_0x46ab6d['goToPreviousPage']();}),_0x330527;});}},$=class extends _0x360f63{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x196948){super(_0x196948),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x4061ee=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x4061ee),this['bind']('totalPages')['to'](_0x4061ee),_0x4ae0ed['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4cee9c){this['editor']['plugins']['get'](G)['scrollToPage'](_0x4cee9c);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x2888ee}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x32eb44,InputNumberView as _0x91594c,View as _0x5943d3}from'@ckeditor/ckeditor5-ui';import{Rect as _0x276a78,ResizeObserver as _0xc6e5c0,env as _0x25dbca,first as _0x4e2b4a,global as _0xecfcc3,keyCodes as _0x4eb3d0,logWarning as _0x5ba60e,toUnit as _0x5018bf,uid as _0x398d64}from'@ckeditor/ckeditor5-utils';import{debounce as _0x1b5444}from'es-toolkit/compat';import{IconArrowDown as _0x43edcd,IconArrowUp as _0x30cc37}from'@ckeditor/ckeditor5-icons';var w=class extends _0x2888ee{_recalculatePageBreaksDebounced=_0x1b5444(()=>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 _0x5ba60e('pagination-config-not-found',this['editor']['config']);const _0x379734=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x379734),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x22a687,_0x859f9a,_0x167dd0)=>{_0x167dd0&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x5a4d01){const _0x442b14='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x593aff=0x79158,_0x42c076=window['Date']['now'](),_0x46042d=_0x5a4d01['editor'],_0x4b6e8c=new window['Promise'](_0x59e412=>{_0x46042d['once']('ready',_0x59e412);}),_0x5478c8={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xc33bed=_0x46042d['config']['get']('licenseKey');async function _0x156909(){let _0x2edb48,_0x25cf33=null,_0x263a2c=null;try{return'GPL'==_0xc33bed?'NotAllowed':(_0x2edb48=_0x55523a(),_0x2edb48?(_0x2edb48['usageEndpoint']&&(_0x263a2c=_0x26036f(_0x2edb48['usageEndpoint'],_0x2edb48['jti'])),await _0x3d6cce()?_0x46787f()?_0x4f064c()?'Expired':_0x2c4a27()?('evaluation'==_0x2edb48['licenseType']&&(_0x25cf33=_0x5958d2('EvaluationLimit')),await _0x4b415c()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4f064c(){const _0x2f8bef=['evaluation','trial']['includes'](_0x2edb48['licenseType'])?_0x42c076/0x3e8:0xe10*_0x593aff;return _0x2edb48['exp']<_0x2f8bef;}function _0x46787f(){const _0x2a54a6=_0x2edb48['features'];return!!_0x2a54a6&&(!!_0x2a54a6['includes']('*')||!!_0x2a54a6['includes']('PAG'));}function _0x2c4a27(){const _0x53bbe6=_0x2edb48['licensedHosts'];if(!_0x53bbe6||0x0==_0x53bbe6['length'])return!0x0;const {hostname:_0x4be682}=new URL(window['location']['href']);if(_0x53bbe6['includes'](_0x4be682))return!0x0;const _0x3656d3=_0x4be682['split']('.');return _0x53bbe6['filter'](_0x6a4fd5=>_0x6a4fd5['includes']('*'))['map'](_0x35b543=>_0x35b543['split']('.'))['filter'](_0xef2451=>_0xef2451['length']<=_0x3656d3['length'])['map'](_0x435bbd=>Array(_0x3656d3['length']-_0x435bbd['length'])['fill']('*'===_0x435bbd[0x0]?'*':'')['concat'](_0x435bbd))['some'](_0x1671c6=>_0x3656d3['every']((_0x5d70d1,_0x477549)=>_0x1671c6[_0x477549]===_0x5d70d1||'*'===_0x1671c6[_0x477549]));}function _0x4b415c(){return _0x25cf33&&_0x263a2c?new window['Promise']((_0x4b3fa3,_0x4b5921)=>{_0x25cf33['then'](_0x4b3fa3,_0x4b5921),_0x263a2c['then'](_0x3da770=>{'Valid'!=_0x3da770&&_0x4b3fa3(_0x3da770);},_0x4b5921);}):_0x25cf33||_0x263a2c||'Valid';}}function _0x26036f(_0x183012,_0x39c2fe){return new window['Promise'](_0xa92309=>{if(_0x3fd97b())return _0xa92309('Valid');_0x6dffcb(),_0x46042d['decorate']('_sendUsageRequest');let _0x341afa=!0x1;const _0x587b87=_0x398d64();function _0xbc878e(_0x2873bc){return!!_0x2873bc&&('object'==typeof _0x2873bc||'function'==typeof _0x2873bc)&&'function'==typeof _0x2873bc['then']&&'function'==typeof _0x2873bc['catch'];}function _0x291524(_0x2fdbcd){_0x453ac1(_0x2fdbcd)['then'](_0x50b57e=>_0x50b57e&&'ok'==_0x50b57e['status']?_0x25ce97(_0x572838(_0x587b87+_0x39c2fe))!=_0x50b57e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b9ad6=>(_0x1fe469(),_0x1b9ad6),()=>{const _0x4ce995=_0x438034();return null==_0x4ce995?(_0x1fe469(),'Valid'):_0x42c076-_0x4ce995>0x240c8400?'UsageLimit':'Valid';})['then'](_0xa92309)['catch'](()=>{_0xa92309('UsageLimit');});const _0x2e4246=0x36ee80;function _0x1fe469(){const _0x1d25c5='llct-'+_0x25ce97(_0x572838(_0x183012)),_0x3a870e=_0x1429e9(_0x25ce97(window['Math']['ceil'](_0x42c076/_0x2e4246)));window['localStorage']['setItem'](_0x1d25c5,_0x3a870e);}function _0x438034(){const _0x4a00ca='llct-'+_0x25ce97(_0x572838(_0x183012)),_0x3c82b5=window['localStorage']['getItem'](_0x4a00ca);return _0x3c82b5?window['parseInt'](_0x1429e9(_0x3c82b5),0x10)*_0x2e4246:null;}function _0x453ac1(_0x59c842){return new window['Promise']((_0x11c00f,_0x38a2ac)=>{_0x59c842['then'](_0x11c00f,_0x38a2ac),window['setTimeout'](_0x38a2ac,0x1d4c0);});}}_0x46042d['on']('_sendUsageRequest',(_0x5acd29,_0xb004fb)=>{if(_0xb004fb[0x0]!=_0x183012)return _0xa92309('UsageLimit');_0xb004fb[0x1]={..._0xb004fb[0x1],'requestId':_0x587b87};},{'priority':'high'}),_0x46042d['on']('_sendUsageRequest',_0x2b4ee7=>{_0xbc878e(_0x2b4ee7['return'])&&(_0x341afa=!0x0,_0x291524(_0x2b4ee7['return']));},{'priority':'low'}),_0x4b6e8c['then'](()=>{_0x341afa||_0xa92309('UsageLimit');});});function _0x3fd97b(){return'auto'==_0x46042d['editing']['view']['_overlayModeHint'];}function _0x6dffcb(){_0x46042d['editing']['view']['_overlayModeHint']='auto';}}function _0x5958d2(_0x2efa59){const _0x5e90c9=[new window['Promise'](_0x2325b9=>setTimeout(_0x2325b9,0x93ecc)),_0x4b6e8c['then'](()=>new window['Promise'](_0xd663ea=>{let _0x2f5667=0x0;_0x46042d['model']['on']('applyOperation',(_0x1ce71c,_0x3610d4)=>{_0x3610d4[0x0]['isDocumentOperation']&&_0x2f5667++,0x5e8==_0x2f5667&&(_0xd663ea(),_0x1ce71c['off']());});}))];return window['Promise']['race'](_0x5e90c9)['then'](()=>_0x2efa59);}async function _0x37cce2(){await _0x4b6e8c,_0x46042d['model']['change']=_0x4fe50f,_0x46042d['model']['enqueueChange']=_0x4fe50f,_0x46042d['enableReadOnlyMode']('model');}function _0x597379(_0x5176a3){const _0x12e19f=_0x47a158();_0x46042d[_0x12e19f]='paginationLicenseKey'+_0x5176a3,'Valid'!=_0x5176a3&&_0x37cce2();}function _0x47a158(){const _0x2aa4ef=window['String'](window['performance']['now']())['replace']('.','');let _0x2ed3be='I';for(let _0x1fa564=0x0;_0x1fa564<_0x2aa4ef['length'];_0x1fa564+=0x2){let _0x351aa5=window['parseInt'](_0x2aa4ef['substring'](_0x1fa564,_0x1fa564+0x2));_0x351aa5>=0x3e&&(_0x351aa5-=0x3e),_0x2ed3be+=_0x442b14[_0x351aa5];}return _0x2ed3be;}function _0x55523a(){const _0x324396=_0xc33bed['split']('.');if(0x3!=_0x324396['length'])return null;return _0x4d7480(_0x324396[0x1]);function _0x4d7480(_0xa4d8f0){const _0x167f9a=_0x3a84eb(_0xa4d8f0);return _0x167f9a&&_0x4d33c6()?_0x167f9a:null;function _0x4d33c6(){const _0x2ce0ba=_0x167f9a['jti'],_0x5b4e5b=window['parseInt'](_0x2ce0ba['substring'](_0x2ce0ba['length']-0x8),0x10),_0x38d857={..._0x167f9a,'jti':_0x2ce0ba['substring'](0x0,_0x2ce0ba['length']-0x8)};return delete _0x38d857['vc'],_0x572838(_0x38d857)==_0x5b4e5b;}}}async function _0x3d6cce(){let _0x415cd8=!0x0;try{const [_0x414cf7,_0x4cadfd,_0x49149b]=_0xc33bed['split']('.');return _0x307bc8(_0x414cf7),await _0x5db458(_0x414cf7,_0x4cadfd,_0x49149b),_0x415cd8;}catch{return!0x1;}function _0x307bc8(_0x1df09f){const _0x3fd87b=_0x3a84eb(_0x1df09f);_0x3fd87b&&'ES256'==_0x3fd87b['alg']||(_0x415cd8=!0x1);}async function _0x5db458(_0x4b52df,_0x2f41d3,_0xdba5e6){const _0x27c7a1=window['Uint8Array']['from'](_0x3bff9c(_0xdba5e6),_0x424416=>_0x424416['charCodeAt'](0x0)),_0x4c2f30=new window['TextEncoder']()['encode'](_0x4b52df+'.'+_0x2f41d3),_0xf3ddfc=window['crypto']['subtle'];if(!_0xf3ddfc)return;const _0x52bd61=await _0xf3ddfc['importKey']('jwk',_0x5478c8,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xf3ddfc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x52bd61,_0x27c7a1,_0x4c2f30)||(_0x415cd8=!0x1);}}function _0x3a84eb(_0x50098b){return _0x50098b['startsWith']('ey')?JSON['parse'](_0x3bff9c(_0x50098b)):null;}function _0x3bff9c(_0x433d4b){return window['atob'](_0x433d4b['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x572838(_0x45f3f3){let _0x3f2b68=0x1505;function _0x459993(_0x172487){for(let _0x32a1cf=0x0;_0x32a1cf<_0x172487['length'];_0x32a1cf++){const _0x3b61a8=_0x172487['charCodeAt'](_0x32a1cf);_0x3f2b68=(_0x3f2b68<<0x5)+_0x3f2b68+_0x3b61a8,_0x3f2b68&=_0x3f2b68;}}function _0x452393(_0x94a7a8){Array['isArray'](_0x94a7a8)?_0x94a7a8['forEach'](_0x452393):_0x94a7a8&&'object'==typeof _0x94a7a8?Object['entries'](_0x94a7a8)['sort']()['forEach'](([_0x3043c0,_0x352ac9])=>{_0x459993(_0x3043c0),_0x452393(_0x352ac9);}):_0x459993(window['String'](_0x94a7a8));}return _0x452393(_0x45f3f3),_0x3f2b68>>>0x0;}function _0x25ce97(_0x40f7af){return _0x40f7af['toString'](0x10)['padStart'](0x8,'0');}function _0x1429e9(_0x2575b9){return _0x2575b9['split']('')['reverse']()['join']('');}function _0x4fe50f(){}_0x597379(await _0x156909());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x4a62f0=this['editor'],_0x3151f1=_0x4a62f0['editing']['view'],_0x18d421=this['_getAttachedDomRoot']();if(!_0x18d421||!_0x18d421['hasChildNodes']())return void _0x4a62f0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x198b9c,pageHeight:_0x2df8ff}=_0x4a62f0['config']['get']('pagination'),{top:_0x2589f5,left:_0x5a3935,bottom:_0x23a4f9,right:_0x1ccfff}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5943d3(_0x4a62f0['locale']);const _0x377685=this['_pagesContainer'];_0x377685['set']('class',''),_0x377685['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x198b9c,'width':_0x198b9c,'height':'calc(\x20'+_0x2df8ff+'\x20-\x20'+_0x2589f5+'\x20-\x20'+_0x23a4f9+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1ccfff+'\x200\x20'+_0x5a3935,'columnGap':'calc('+_0x5a3935+'\x20+\x20'+_0x1ccfff+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x377685['bindTemplate']['to']('class')}}),_0x377685['render'](),_0x18d421['parentNode']['insertBefore'](_0x377685['element'],_0x18d421['nextSibling']),this['listenTo'](_0x3151f1,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x5b7945 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5b7945['ownerDocument']['body']['contains'](_0x5b7945))return _0x5b7945;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x563151=this['editor']['editing']['view'],_0x4e9418=this['_pagesContainer'],_0x272b4a=this['_getAttachedDomRoot']();if(!_0x272b4a||!_0x4e9418)return Promise['resolve']();for(_0x4e9418['class']=['ck-reset','ck-pagination-view',..._0x272b4a['classList']]['join']('\x20');_0x4e9418['element']['firstChild'];)_0x4e9418['element']['firstChild']['remove']();const _0x42b436=Array['from'](_0x563151['domRoots']);_0x42b436['sort'](([,_0x5c7dfb],[,_0x147225])=>_0x5c7dfb['compareDocumentPosition'](_0x147225)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x47668d,_0x1df063]of _0x42b436){const _0xa696ff=_0x1df063['cloneNode'](!0x0);'attributeStyleMap'in _0xa696ff&&_0xa696ff['attributeStyleMap']['clear'](),_0xa696ff['dataset']['rootName']=_0x47668d,_0xa696ff['className']='ck-content\x20ck-pagination_enabled',_0xa696ff['removeAttribute']('id'),_0xa696ff['tabIndex']=-0x1,_0x4e9418['element']['append'](_0xa696ff);}const _0x52c915=Array['from'](_0x4e9418['element']['querySelectorAll']('img'));return function(_0x46dc81){return Promise['all'](_0x46dc81['map'](_0x5b4e30=>Promise['race']([k(_0x5b4e30),v(0x3e8)])));}(_0x52c915)['then'](()=>{for(const _0x45d33b of _0x52c915['filter'](_0x2f1b12=>!_0x2f1b12['closest']('table')))if(_0x45d33b['offsetParent']){const _0x40dff6=_0xecfcc3['window']['getComputedStyle'](_0x45d33b),_0x19e6d7=_0xecfcc3['document']['createElement']('span');for(const _0x45e035 of _0x40dff6)_0x19e6d7['style']['setProperty'](_0x45e035,_0x40dff6[_0x45e035]);_0x19e6d7['style']['backgroundImage']='url(\x20'+_0x45d33b['src']+'\x20)',_0x19e6d7['style']['breakInside']='avoid','PICTURE'==_0x45d33b['parentElement']?.['tagName']?_0x45d33b['parentElement']['replaceWith'](_0x19e6d7):_0x45d33b['replaceWith'](_0x19e6d7);}return new Promise(_0x53754b=>_0xecfcc3['window']['requestAnimationFrame'](()=>_0x53754b()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x215ee2=this['_pagesContainer']['element'];if(!_0x215ee2['ownerDocument']['body']['contains'](_0x215ee2))return;const _0x3718b0=new _0x276a78(_0x215ee2)['excludeScrollbarsAndBorders'](),_0x5b5f8d=Math['floor'](_0x3718b0['width']+0x64),_0x49c2c5=_(_0x215ee2,Math['floor'](_0x3718b0['left']-_0x215ee2['scrollLeft']),_0x5b5f8d,_0x3718b0['height'])['map'](_0x56ad81=>this['_mapPageStarterInfoToPageBreakInfo'](_0x56ad81))['filter'](_0x344972=>!0x1!==_0x344972);_0x49c2c5['every'](_0x231c80=>!!_0x231c80)&&(this['pageBreaks']=_0x49c2c5);}_mapPageStarterInfoToPageBreakInfo(_0x57e0f5){const _0x287a45=this['editor']['editing']['view'],_0x76188d=this['editor']['editing']['mapper'],_0x32c054=_0x287a45['domConverter'],_0x269b28=_0x57e0f5['path']['shift'](),_0x2b8706=this['_pagesContainer']['element']['childNodes'][_0x269b28]['dataset']['rootName'],_0x3189b3=_0x287a45['getDomRoot'](_0x2b8706);if(!_0x3189b3)return null;const _0x1cb3c0=function(_0x4cf452,_0x208458){let _0x1d773b=_0x4cf452;for(const _0x51d576 of _0x208458['path']){if(!_0x1d773b)return null;_0x1d773b=_0x1d773b['childNodes'][_0x51d576];}return _0x1d773b;}(_0x3189b3,_0x57e0f5);if(!_0x1cb3c0)return null;const _0x2f71c6=_0x32c054['domPositionToView'](_0x1cb3c0,_0x57e0f5['textOffset']||0x0);return _0x2f71c6?'manual'==_0x57e0f5['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2f71c6,_0x1cb3c0):'text'==_0x57e0f5['type']&&_0x76188d['toModelPosition'](_0x2f71c6)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2f71c6,_0x1cb3c0,_0x57e0f5['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2f71c6,_0x1cb3c0,_0x57e0f5['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0xfff4ba,_0xb46aec){const _0x167cc4=this['editor']['model'],_0x3c48df=this['editor']['editing']['mapper']['toModelElement'](_0xfff4ba['parent']),_0x1a3238=_0x167cc4['createRangeOn'](_0x3c48df);return new P({'type':'manual','modelRange':_0x1a3238,'domNode':_0xb46aec,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x56353f,_0x124b3f,_0x15b12c){const _0x34f5f2=this['editor']['model'],_0x1f978d=this['editor']['editing']['mapper'],_0xcd3d45=this['editor']['editing']['view']['domConverter'];if(_0x15b12c>=_0x124b3f['length'])return null;const _0x2e0431=_0x1f978d['toModelPosition'](_0x56353f),_0xc39c3b=_0x34f5f2['createRange'](_0x2e0431),_0x174613=_0x1f978d['findMappedViewAncestor'](_0x56353f),_0x4342d8=_0xcd3d45['mapViewToDom'](_0x174613);return new P({'type':'text','modelRange':_0xc39c3b,'domNode':_0x124b3f,'offset':y(_0x124b3f,_0x15b12c,_0x4342d8)});}_mapElementPageStarterInfoToPageBreakInfo(_0x1025be,_0x3796ef,_0x301fdd){const _0x499381=this['editor']['model'],_0x9f2009=this['editor']['editing'],_0x172bd8=_0x9f2009['mapper'],_0x4bc5af=_0x9f2009['view']['domConverter'],_0x47741f=_0x172bd8['findMappedViewAncestor'](_0x1025be),_0x2357ce=_0x172bd8['toModelElement'](_0x47741f);if(!_0x2357ce||_0x2357ce['is']('rootElement'))return!0x1;const _0x2fc2ef=function(_0x491e03){const _0x39e012=_0x491e03['parent'],_0x10eec5=_0x39e012['root']['document']['model'],_0x24ec17=_0x39e012['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1d3bac=null;for(const _0x169dfe of _0x24ec17){if(_0x169dfe['is']('rootElement'))return _0x1d3bac;if(!_0x10eec5['createPositionBefore'](_0x169dfe)['isTouching'](_0x491e03))return _0x1d3bac;_0x1d3bac=_0x169dfe;}}(_0x499381['createPositionBefore'](_0x2357ce))||_0x2357ce;let _0x6a38b1=_0x172bd8['toViewElement'](_0x2fc2ef),_0x16cc8c=_0x499381['createRangeOn'](_0x2fc2ef);const _0x1ea781=_0x499381['createPositionBefore'](_0x2fc2ef)['nodeBefore'];if(_0x1ea781&&_0x1ea781['is']('element','imageBlock')){const _0x8342f7=_0x172bd8['toViewElement'](_0x1ea781),_0x587616=_0x4bc5af['mapViewToDom'](_0x8342f7),_0x92080c=_0xecfcc3['window']['getComputedStyle'](_0x587616)['float'];'left'!=_0x92080c&&'right'!=_0x92080c||(_0x16cc8c=_0x499381['createRangeOn'](_0x1ea781));}for(;_0x6a38b1['parent']!==_0x6a38b1['root']&&0x0===_0x6a38b1['index'];)_0x6a38b1=_0x6a38b1['parent'];const _0xd43799=new _0x276a78(K(_0x3796ef)?_0x3796ef:L(_0x3796ef)),_0x50c73a=_0x301fdd?_0xd43799['height']-_0x301fdd:0x0,_0xedd7ff=_0x4bc5af['mapViewToDom'](_0x6a38b1),_0x573232=new _0x276a78(_0xedd7ff);return new P({'type':'element','modelRange':_0x16cc8c,'domNode':_0xedd7ff,'offset':Math['round'](_0x50c73a)||_0x47741f!=b(_0x1025be)?_0x50c73a+_0xd43799['top']-_0x573232['top']:0x0});}get['_configuredPaddings'](){const _0x4adf01=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4adf01);}static _findPageStarterInfos(_0x57a176,_0x478772,_0x50aa9b,_0x4bfc5f,_0x20d65f){return _(_0x57a176,_0x478772,_0x50aa9b,_0x4bfc5f,_0x20d65f);}},P=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x626b59,modelRange:_0x12dc91,domNode:_0x3092b0,offset:_0x146a4a}){this['type']=_0x626b59,this['modelRange']=_0x12dc91,this['_domNode']=_0x3092b0,this['_offset']=_0x146a4a;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x16e7b3=new _0x276a78(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x16e7b3['top']+_0x16e7b3['height']/0x2:_0x16e7b3['top']+this['_offset'];}};function y(_0x43e8a6,_0x27bc54,_0x5799cc){const _0x57e418=L(_0x43e8a6),_0x5af957=function(_0x2a896f){const _0x5f3187=_0xecfcc3['document']['createRange']();return _0x5f3187['selectNodeContents'](_0x2a896f),_0x5f3187;}(_0x5799cc);let _0x2ca061;_0x2ca061=0x0==_0x27bc54?N(_0x5af957['startContainer'],_0x5af957['startOffset'],_0x43e8a6['parentNode'],Array['from'](_0x43e8a6['parentNode']['childNodes'])['indexOf'](_0x43e8a6)):N(_0x5af957['startContainer'],_0x5af957['startOffset'],_0x43e8a6,_0x27bc54);const _0x28adef=N(_0x43e8a6,_0x27bc54,_0x5af957['endContainer'],_0x5af957['endOffset']),_0x3ca6e6=new _0x276a78(_0x2ca061)['bottom'];return(new _0x276a78(_0x28adef)['top']+_0x3ca6e6)/0x2-new _0x276a78(_0x57e418)['top'];}function b(_0x625b0){let _0x2f313f=_0x625b0['parent'];for(;_0x2f313f['is']('$text')||_0x2f313f['is']('attributeElement');)_0x2f313f=_0x2f313f['parent'];return _0x2f313f;}function k(_0x3cf179){return _0x3cf179['hasAttribute']('width')&&_0x3cf179['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5e0e88=>{function _0x3d1d47(){_0x3cf179['removeEventListener']('load',_0x3d1d47),_0x3cf179['removeEventListener']('error',_0x3d1d47),_0x5e0e88();}_0x3cf179['complete']?_0x5e0e88():(_0x3cf179['addEventListener']('load',_0x3d1d47),_0x3cf179['addEventListener']('error',_0x3d1d47));});}function v(_0x170a84){return new Promise(_0xb5c3a5=>setTimeout(_0xb5c3a5,_0x170a84));}function L(_0x3bb9f7){const _0x332d72=_0xecfcc3['document']['createRange']();return _0x332d72['selectNode'](_0x3bb9f7),_0x332d72;}function x(_0x4b8a6b,_0x41af29,_0x2d2dfc){const _0x197477=_0xecfcc3['document']['createRange']();return _0x197477['setStart'](_0x4b8a6b,_0x41af29),_0x197477['setEnd'](_0x4b8a6b,_0x2d2dfc),_0x197477;}function N(_0x21a0bb,_0x1e748e,_0x107793,_0x4e29fb){const _0x4ee28e=_0xecfcc3['document']['createRange']();return _0x4ee28e['setStart'](_0x21a0bb,_0x1e748e),_0x4ee28e['setEnd'](_0x107793,_0x4e29fb),_0x4ee28e;}function _(_0x2a10ac,_0x21dbf1,_0x3c041f,_0x62c472,_0x32e2dd){const _0x2aae37=[];for(const [_0x9f4dea,_0x325b30]of _0x2a10ac['childNodes']['entries']()){let _0x3fbf74=[];K(_0x325b30)&&_0x325b30['offsetParent']&&['static','relative']['includes'](_0xecfcc3['window']['getComputedStyle'](_0x325b30)['position'])?_0x3fbf74=E(_0x325b30,_0x9f4dea,_0x21dbf1,_0x3c041f,_0x62c472,_0x32e2dd):O(_0x325b30)&&(_0x3fbf74=S(_0x325b30,_0x9f4dea,_0x21dbf1,_0x3c041f,_0x32e2dd)),_0x3fbf74['length']&&(_0x2aae37['push'](..._0x3fbf74),_0x21dbf1+=_0x3fbf74['length']*_0x3c041f,_0x32e2dd=!0x1);}return _0x2aae37;}function E(_0x59a8a8,_0x17dfac,_0x34e842,_0x11c3fb,_0x1841c2,_0x264b10){const _0x5dba6d=[];var _0x546065;if((_0x546065=_0x59a8a8['previousSibling'])&&K(_0x546065)&&Boolean(_0x546065['classList']['contains']('page-break')||_0x546065['closest']('.page-break'))&&(_0x5dba6d['push']({'type':'manual','offset':0x0,'path':[_0x17dfac-0x1]}),_0x264b10=!0x0),'table-row'==_0xecfcc3['window']['getComputedStyle'](_0x59a8a8)['display']){let _0x395c41=0x0,_0x56b4e5=!0x1;for(const _0x573221 of _0x59a8a8['getClientRects']())_0x395c41+=_0x573221['height'],_0x573221['left']>=_0x34e842&&(_0x56b4e5=!0x0);if(_0x395c41<_0x1841c2&&_0x56b4e5)return _0x264b10||_0x5dba6d['push']({'type':'element','offset':0x0,'path':[_0x17dfac]}),_0x5dba6d;}const _0x9a02be=_0x59a8a8['closest']('figure.image');if(_0x9a02be&&function(_0x30712e){let _0x4d7835=!0x1;const _0x41312e=_0x30712e['parentElement']['dataset']['rootName'],_0xd78bfa=_0x30712e['nextElementSibling'],_0x1cbb0=_0x30712e['previousElementSibling'],_0x48ab25=_0xd78bfa&&_0xecfcc3['window']['getComputedStyle'](_0xd78bfa)['float'],_0x3e0453=_0xd78bfa&&'ck-fake-selection-container'===_0xd78bfa['className'];return!_0x41312e||_0xd78bfa||_0x1cbb0||(_0x4d7835=!0x0),_0x41312e&&!_0x1cbb0&&_0x3e0453&&(_0x4d7835=!0x0),_0x41312e&&!_0x1cbb0&&'none'!==_0x48ab25&&(_0x4d7835=!0x0),!_0x4d7835;}(_0x9a02be)){const _0x5463ad=_0xecfcc3['window']['getComputedStyle'](_0x9a02be)['float'];if('left'==_0x5463ad||'right'==_0x5463ad)return _0x5dba6d;}const _0x8dfe37=_(_0x59a8a8,_0x34e842,_0x11c3fb,_0x1841c2,_0x264b10);if(_0x8dfe37['length']){for(const _0x46abb8 of _0x8dfe37)_0x5dba6d['push']({'type':_0x46abb8['type'],'offset':_0x46abb8['offset'],'textOffset':_0x46abb8['textOffset'],'path':[_0x17dfac,..._0x46abb8['path']]}),_0x34e842+=_0x11c3fb;return _0x5dba6d;}return _0x5dba6d['push'](...function(_0x22d0ad,_0x52adeb,_0x58f359,_0x403aef,_0x5d5215){const _0x3a6be5=[];if('table-cell'==_0xecfcc3['window']['getComputedStyle'](_0x22d0ad)['display'])return[];const _0x27b022=[];for(const _0x49aa97 of _0x22d0ad['getClientRects']())if(_0x49aa97['left']>=_0x58f359){for(const _0x15a365 of _0x27b022)_0x15a365['height']+=_0x49aa97['height'];_0x27b022['push']({'height':_0x49aa97['height']}),_0x58f359+=_0x403aef;}for(const _0x3e06ad of _0x27b022)_0x5d5215||_0x3a6be5['push']({'type':'element','offset':_0x3e06ad['height'],'textOffset':0x0,'path':[_0x52adeb]}),_0x5d5215=!0x1;return _0x3a6be5;}(_0x59a8a8,_0x17dfac,_0x34e842,_0x11c3fb,_0x264b10)),_0x5dba6d;}function S(_0x26ad76,_0x5989be,_0x3eb842,_0x30b1c8,_0x3697ec){const _0x1e11ce=L(_0x26ad76),_0x28daa7=[];let _0x2671cc=0x0;for(const _0x455266 of _0x1e11ce['getClientRects']())if(_0x455266['left']>=_0x3eb842){const _0x6107ad=R(_0x26ad76,_0x2671cc,_0x3eb842,_0x30b1c8);_0x3697ec||_0x28daa7['push']({'type':'text','path':[_0x5989be],'textOffset':_0x6107ad}),_0x2671cc=_0x6107ad,_0x3eb842+=_0x30b1c8,_0x3697ec=!0x1;}return _0x28daa7;}function R(_0x5eeea1,_0x204594,_0x25a424,_0x7f51){let _0x14c5d1=_0x204594,_0x44dd10=_0x5eeea1['length'];for(;_0x44dd10-_0x14c5d1>0x1;){const _0x1f08fd=Math['ceil']((_0x14c5d1+_0x44dd10)/0x2);I(x(_0x5eeea1,_0x14c5d1,_0x1f08fd),_0x25a424,_0x7f51)?_0x44dd10=_0x1f08fd:_0x14c5d1=_0x1f08fd;}return _0x14c5d1;}function I(_0x476f76,_0x4aef74,_0x53d50b){for(const _0x20fbd6 of _0x476f76['getClientRects']())if(_0x20fbd6['left']>=_0x4aef74&&_0x20fbd6['left']<_0x4aef74+_0x53d50b)return!0x0;return!0x1;}function K(_0x15eb4c){return _0x15eb4c['nodeType']==Node['ELEMENT_NODE'];}function O(_0x313687){return _0x313687['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5018bf('px');var U=class extends _0x5943d3{constructor(){super();const _0x4f5193=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x4f5193['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x4f5193['if']('isVisible','ck-hidden',_0x53ecdf=>!_0x53ecdf)],'style':{'left':_0x4f5193['to']('left',_0xcd1231=>A(_0xcd1231)),'top':_0x4f5193['to']('top',_0x1b3832=>A(_0x1b3832)),'width':_0x4f5193['to']('width',_0x1d502e=>A(_0x1d502e))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x37892b){this['_viewCollection']=_0x37892b['ui']['view']['body'];}destroy(){for(const _0xbe0432 of this['_hiddenLines'])_0xbe0432['destroy']();}['cleanLines'](){for(const _0x3608a5 of this['_visibleLines'])_0x3608a5['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3608a5);this['_visibleLines']['clear']();}['showLine'](_0x37e0b1,_0x1edb4e,_0x228f9e,_0xd6e3de){let _0xc7ac57;this['_hiddenLines']['size']?(_0xc7ac57=_0x4e2b4a(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xc7ac57)):_0xc7ac57=new U(),_0xc7ac57['set']({'pageNumber':_0xd6e3de,'left':_0x37e0b1,'top':_0x1edb4e,'width':_0x228f9e}),_0xc7ac57['isVisible']=!0x0,this['_viewCollection']['has'](_0xc7ac57)||this['_viewCollection']['add'](_0xc7ac57),this['_visibleLines']['add'](_0xc7ac57);}setViewCollection(_0x322aff){for(const _0x189a0b of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x189a0b)&&this['_viewCollection']['remove'](_0x189a0b);this['_viewCollection']=_0x322aff;}};const D='ck-pagination_enabled';var B=class extends _0x2888ee{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',(_0x3893d4,_0x9665a1,_0x21d705)=>{_0x21d705||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x21d705);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xf367d3){if(!this['isEnabled'])return;const _0x34249b=_0xf367d3>0x1?this['_getPageBreakLineOffset'](_0xf367d3-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x34249b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x25dbca['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x511656=this['editor'],_0x4d4cee=this['_getAttachedDomRoot']();_0x4d4cee?(this['_scrollableEditingRootDomAncestor']&&_0x511656['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x3d1353){let _0x21c668=_0x3d1353;do{_0x21c668=_0x21c668['parentElement'];const _0x24b889=_0xecfcc3['window']['getComputedStyle'](_0x21c668)['overflowY'];if('auto'==_0x24b889||'scroll'==_0x24b889)break;}while('BODY'!=_0x21c668['tagName']);return _0x21c668;}(_0x4d4cee),_0x511656['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0xc6e5c0(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x511656['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x6c8cf6=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x6c8cf6['ui']['view']['listenTo'](_0xecfcc3['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x6c8cf6['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x289bce of this['editor']['editing']['view']['domRoots']['values']())if(_0x289bce['ownerDocument']['body']['contains'](_0x289bce))return _0x289bce;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x391a3c=this['_getAttachedDomRoot'](),_0x20d67a=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x391a3c||0x1==_0x20d67a['length'])return void(this['pageNumber']=0x1);const _0x13a157=new _0x276a78(_0x391a3c)['excludeScrollbarsAndBorders'](),_0x2c54b3=new _0x276a78(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x417a7c=_0x2c54b3['top']+_0x2c54b3['height']/0x3;let _0x27f9ba=!0x1;const _0x39c626=[];for(let _0x36bddd=0x1;_0x36bddd<_0x20d67a['length'];_0x36bddd++){const _0x363395=this['_getPageBreakLineOffset'](_0x36bddd,_0x2c54b3);if(!_0x363395)continue;const _0x1ff494=_0x2c54b3['top']+_0x363395-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x39c626['push']({'pageOffsetTop':_0x1ff494,'domRootRect':_0x13a157,'domScrollableRect':_0x2c54b3,'pageNumber':_0x36bddd}),_0x1ff494>_0x417a7c&&!_0x27f9ba&&(this['pageNumber']=_0x36bddd,_0x27f9ba=!0x0);}this['_renderPageBreakLines'](_0x39c626),_0x27f9ba||(this['pageNumber']=_0x20d67a['length']);}['_renderPageBreakLines'](_0x349596){const {scrollX:_0x5b2a42,scrollY:_0x35503d}=_0xecfcc3['window'];if(_0x349596['length']){for(const {domScrollableRect:_0xfe42d5,pageOffsetTop:_0x143998,domRootRect:_0x518a11,pageNumber:_0x4221c5}of _0x349596)_0xfe42d5['top']<_0x143998&&_0x143998<_0xfe42d5['bottom']&&this['linesRepository']['showLine'](_0x518a11['left']+_0x5b2a42,_0x143998+_0x35503d,_0x518a11['width'],_0x4221c5+0x1);}}_getPageBreakLineOffset(_0xbaf905,_0x2322a4=null){const _0x305914=this['_paginationLookupPlugin']['pageBreaks'][_0xbaf905]['offset'];return _0x305914?(_0x2322a4||(_0x2322a4=new _0x276a78(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x305914-_0x2322a4['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x185874,_0x3d541b=!0x0){const _0x2ca116=this['editor']['editing']['view'];_0x2ca116['change'](_0x18a86c=>{for(const _0x191af5 of _0x2ca116['document']['roots'])_0x3d541b?_0x18a86c['addClass'](_0x185874,_0x191af5):_0x18a86c['removeClass'](_0x185874,_0x191af5);});}};function T(_0x4ee47d,_0x565656,..._0x4503d0){const t=_0x4ee47d['t'];switch(_0x565656){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)',..._0x4503d0);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 _0x565656;}}var G=class extends _0x2888ee{['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 _0x5413b3=this['editor']['plugins']['get']('Pagination'),_0xe11b2=this['editor']['plugins']['get'](w),_0x367829=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x5413b3),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x367829),this['listenTo'](_0xe11b2,'change:pageBreaks',(_0x407e9a,_0x3e77c3,_0xdce74f,_0x4aacf2)=>{this['totalPages']=_0xdce74f['length'],this['_updatePageBreakMarkers'](_0xdce74f,_0x4aacf2);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x30da08=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x120374;for(const _0x3b32fb in _0x30da08){const _0x6f48e8=_0x3b32fb,_0x46c3de=_0x30da08[_0x6f48e8];if('paginationLicenseKeyValid'==_0x46c3de||'paginationLicenseKeyInvalid'==_0x46c3de||'paginationLicenseKeyExpired'==_0x46c3de||'paginationLicenseKeyDomainLimit'==_0x46c3de||'paginationLicenseKeyNotAllowed'==_0x46c3de||'paginationLicenseKeyEvaluationLimit'==_0x46c3de||'paginationLicenseKeyUsageLimit'==_0x46c3de){delete _0x30da08[_0x6f48e8],_0x120374=_0x46c3de,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x120374&&_0x30da08['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x120374&&_0x30da08['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x120374&&_0x30da08['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x120374&&_0x30da08['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x120374&&_0x30da08['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x120374&&_0x30da08['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x28688b){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x28688b));}moveSelectionToPage(_0x45746f){if(!this['isEnabled'])return;const _0x13a9f1=this['editor'],_0x4fb1e8=this['editor']['plugins']['get'](w)['pageBreaks'][_0x45746f-0x1];_0x4fb1e8&&_0x13a9f1['model']['change'](_0x160b48=>{switch(_0x4fb1e8['type']){case'manual':{const _0x51d216=_0x13a9f1['model']['schema']['getNearestSelectionRange'](_0x4fb1e8['modelRange']['end'],'forward');_0x160b48['setSelection'](_0x51d216);break;}case'element':{const _0x3157b8=_0x13a9f1['model']['schema']['getNearestSelectionRange'](_0x4fb1e8['modelRange']['start'],'forward');_0x160b48['setSelection'](_0x3157b8);break;}case'text':{const _0x42d578=_0x4fb1e8['modelRange']['start'];if(_0x42d578['textNode']&&'\x20'===_0x42d578['textNode']['data'][_0x42d578['offset']]){const _0x273c2b=_0x160b48['createPositionAt'](_0x42d578['parent'],_0x42d578['offset']+0x1);_0x160b48['setSelection'](_0x273c2b);}else _0x160b48['setSelection'](_0x4fb1e8['modelRange']);}}_0x13a9f1['editing']['view']['focus']();});}goToNextPage(){const _0x3c9d85=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x3c9d85),this['scrollToPage'](_0x3c9d85);}['goToPreviousPage'](){const _0x3ff6bf=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x3ff6bf),this['scrollToPage'](_0x3ff6bf);}_updatePageBreakMarkers(_0x4c33fd,_0x1eaa36){const _0x40dc5b=this['editor']['model'];this['isEnabled']&&_0x40dc5b['change'](_0x139dcb=>{for(let _0x383a6a=0x1;_0x383a6a<_0x4c33fd['length'];_0x383a6a++){const _0x3d934f=_0x4c33fd[_0x383a6a]['modelRange'],_0x1a1108='pagination:'+(_0x383a6a+0x1);_0x40dc5b['markers']['has'](_0x1a1108)?_0x139dcb['updateMarker'](_0x1a1108,{'range':_0x3d934f}):_0x139dcb['addMarker'](_0x1a1108,{'range':_0x3d934f,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xf5fef0=_0x4c33fd['length'];_0xf5fef0<_0x1eaa36['length'];_0xf5fef0++){const _0x3ea695='pagination:'+(_0xf5fef0+0x1);_0x40dc5b['markers']['has'](_0x3ea695)&&_0x139dcb['removeMarker'](_0x3ea695);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x569770=>{_0x569770['on']('addMarker:pagination',(_0x1c9a9c,{markerRange:_0x3fb28a,markerName:_0x21bd99},_0x11c8d3)=>{if(!_0x11c8d3['options']['pagination'])return;if(!_0x11c8d3['consumable']['consume'](_0x3fb28a,_0x1c9a9c['name']))return;const _0x297b11=_0x3fb28a['getContainedElement']();let _0x1719ed=_0x297b11?_0x11c8d3['mapper']['toViewElement'](_0x297b11):null;if(!_0x1719ed){const _0x34e935=_0x3fb28a['start'];if(_0x11c8d3['schema']['checkChild'](_0x34e935,'$text')){const _0x5add1a=_0x11c8d3['mapper']['toViewPosition'](_0x34e935);_0x1719ed=_0x11c8d3['writer']['createContainerElement']('span'),_0x1719ed['getFillerOffset']=()=>null,_0x11c8d3['writer']['insert'](_0x5add1a,_0x1719ed);}else{const _0x2a2929=_0x34e935['nodeAfter'];_0x1719ed=_0x11c8d3['mapper']['toViewElement'](_0x2a2929);}}for(;_0x1719ed['parent']!==_0x1719ed['root']&&0x0===_0x1719ed['index'];)_0x1719ed=_0x1719ed['parent'];const _0x400efa=_0x21bd99['substring'](0xb);_0x1719ed['hasClass']('page-break')||(_0x11c8d3['writer']['setStyle']('page-break-before','always',_0x1719ed),_0x11c8d3['writer']['setAttribute']('data-pagination-page',_0x400efa,_0x1719ed),_0x11c8d3['mapper']['bindElementToMarker'](_0x1719ed,_0x21bd99)),_0x1c9a9c['stop']();});});}_setupKeystrokes(){const _0x128e35=this['editor'];_0x128e35['keystrokes']['set']('Shift+Pageup',(_0x17a97d,_0x4c8abc)=>{this['goToPreviousPage'](),_0x4c8abc();}),_0x128e35['keystrokes']['set']('Shift+Pagedown',(_0x34fb2d,_0x255a8a)=>{this['goToNextPage'](),_0x255a8a();}),_0x128e35['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x128e35['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x128e35['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x128e35['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x14bcbd){return _0x14bcbd<0x1&&(_0x14bcbd=0x1),_0x14bcbd>this['totalPages']&&(_0x14bcbd=this['totalPages']),_0x14bcbd;}},V=class extends _0x5943d3{['pageNumberView'];constructor(_0x1888bd){super(_0x1888bd);const _0x523dda=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x91594c(_0x1888bd,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x38bcb1=>T(_0x1888bd,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x38bcb1)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x31c81d=>!_0x31c81d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x523dda['if']('isEnabled','ck-disabled',_0x46b427=>!_0x46b427)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x523dda['to']('totalPages')}]}]});}['render'](){super['render']();const _0x11ac53=this['pageNumberView']['element'],_0x86f5e7=_0x3a2ed5=>{this['pageNumberView']['element']['value']=String(_0x3a2ed5);};_0x86f5e7(this['pageNumber']),this['on']('change:pageNumber',(_0x30cb00,_0x361a02,_0x44021b)=>{_0x86f5e7(_0x44021b);}),this['listenTo'](_0x11ac53,'keydown',(_0x30b958,_0x4c9ed0)=>{if('ArrowUp'===_0x4c9ed0['key']||'ArrowDown'===_0x4c9ed0['key'])return void _0x4c9ed0['stopPropagation']();if(_0x4c9ed0['keyCode']!==_0x4eb3d0['enter'])return;_0x4c9ed0['preventDefault']();const _0x5963c0=_0x11ac53['valueAsNumber'];Number['isNaN'](_0x5963c0)?_0x11ac53['value']=String(this['pageNumber']):(_0x11ac53['checkValidity']()?this['pageNumber']=_0x5963c0:_0x5963c0>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x11ac53['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x11ac53['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x11ac53,'blur',()=>{_0x11ac53['value']=String(this['pageNumber']);}),this['listenTo'](_0x11ac53,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x2888ee{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x341e85=this['editor'],_0x3028b3=_0x341e85['plugins']['get']('PaginationEditing');_0x341e85['ui']['componentFactory']['add']('pageNavigation',_0x5a622c=>{const _0x1acf92=new V(_0x5a622c);return _0x1acf92['bind']('pageNumber')['to'](_0x3028b3),_0x1acf92['bind']('totalPages')['to'](_0x3028b3),_0x1acf92['bind']('isEnabled')['to'](_0x3028b3),_0x1acf92['on']('navigation',(_0x56ba17,_0x29bdee)=>{_0x3028b3['moveSelectionToPage'](_0x29bdee),_0x3028b3['scrollToPage'](_0x29bdee);}),_0x1acf92;}),_0x341e85['ui']['componentFactory']['add']('nextPage',_0x175ec6=>{const _0x32de1e=new _0x32eb44(_0x175ec6);return _0x32de1e['isEnabled']=!0x0,_0x32de1e['label']=T(_0x341e85['locale'],'Go\x20to\x20next\x20page'),_0x32de1e['icon']=_0x43edcd,_0x32de1e['tooltip']=!0x0,_0x32de1e['keystroke']='Shift+PageDown',_0x32de1e['bind']('isEnabled')['to'](_0x3028b3),this['listenTo'](_0x32de1e,'execute',()=>{_0x3028b3['goToNextPage']();}),_0x32de1e;}),_0x341e85['ui']['componentFactory']['add']('previousPage',_0x277074=>{const _0x44b147=new _0x32eb44(_0x277074);return _0x44b147['isEnabled']=!0x0,_0x44b147['label']=T(_0x341e85['locale'],'Go\x20to\x20previous\x20page'),_0x44b147['icon']=_0x30cc37,_0x44b147['tooltip']=!0x0,_0x44b147['keystroke']='Shift+PageUp',_0x44b147['bind']('isEnabled')['to'](_0x3028b3),this['listenTo'](_0x44b147,'execute',()=>{_0x3028b3['goToPreviousPage']();}),_0x44b147;});}},$=class extends _0x2888ee{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x4834b1){super(_0x4834b1),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x778e12=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x778e12),this['bind']('totalPages')['to'](_0x778e12),_0x25dbca['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x109609){this['editor']['plugins']['get'](G)['scrollToPage'](_0x109609);}};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':_0x1b0411=>0x1!=_0x1b0411}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e1314=>{const {af:{dictionary:_0x13fb14,getPluralForm:_0x116492}}={'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':_0xa7384c=>0x1!=_0xa7384c}};_0x5e1314['af']||={'dictionary':{},'getPluralForm':null},_0x5e1314['af']['dictionary']=Object['assign'](_0x5e1314['af']['dictionary'],_0x13fb14),_0x5e1314['af']['getPluralForm']=_0x116492;})(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':_0x383866=>0x0==_0x383866?0x0:0x1==_0x383866?0x1:0x2==_0x383866?0x2:_0x383866%0x64>=0x3&&_0x383866%0x64<=0xa?0x3:_0x383866%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x87286a=>{const {ar:{dictionary:_0x1a37e2,getPluralForm:_0xff8c6e}}={'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':_0x21955f=>0x0==_0x21955f?0x0:0x1==_0x21955f?0x1:0x2==_0x21955f?0x2:_0x21955f%0x64>=0x3&&_0x21955f%0x64<=0xa?0x3:_0x21955f%0x64>=0xb?0x4:0x5}};_0x87286a['ar']||={'dictionary':{},'getPluralForm':null},_0x87286a['ar']['dictionary']=Object['assign'](_0x87286a['ar']['dictionary'],_0x1a37e2),_0x87286a['ar']['getPluralForm']=_0xff8c6e;})(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':_0x5b51ee=>0x1!=_0x5b51ee}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cae9d=>{const {ast:{dictionary:_0x1ffbad,getPluralForm:_0x227a2e}}={'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':_0x158c16=>0x1!=_0x158c16}};_0x2cae9d['ast']||={'dictionary':{},'getPluralForm':null},_0x2cae9d['ast']['dictionary']=Object['assign'](_0x2cae9d['ast']['dictionary'],_0x1ffbad),_0x2cae9d['ast']['getPluralForm']=_0x227a2e;})(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':_0x14b606=>0x1!=_0x14b606}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c79e1=>{const {az:{dictionary:_0x1e7037,getPluralForm:_0x1de1f6}}={'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':_0x4a211a=>0x1!=_0x4a211a}};_0x5c79e1['az']||={'dictionary':{},'getPluralForm':null},_0x5c79e1['az']['dictionary']=Object['assign'](_0x5c79e1['az']['dictionary'],_0x1e7037),_0x5c79e1['az']['getPluralForm']=_0x1de1f6;})(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':_0x5421d8=>_0x5421d8%0xa==0x1&&_0x5421d8%0x64!=0xb?0x0:_0x5421d8%0xa>=0x2&&_0x5421d8%0xa<=0x4&&(_0x5421d8%0x64<0xa||_0x5421d8%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf77f14=>{const {be:{dictionary:_0x75be67,getPluralForm:_0x5557ab}}={'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':_0x56679a=>_0x56679a%0xa==0x1&&_0x56679a%0x64!=0xb?0x0:_0x56679a%0xa>=0x2&&_0x56679a%0xa<=0x4&&(_0x56679a%0x64<0xa||_0x56679a%0x64>=0x14)?0x1:0x2}};_0xf77f14['be']||={'dictionary':{},'getPluralForm':null},_0xf77f14['be']['dictionary']=Object['assign'](_0xf77f14['be']['dictionary'],_0x75be67),_0xf77f14['be']['getPluralForm']=_0x5557ab;})(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':_0x58bfff=>0x1!=_0x58bfff}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b1d33=>{const {bg:{dictionary:_0x3286d7,getPluralForm:_0x1b6be1}}={'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':_0x1218f3=>0x1!=_0x1218f3}};_0x2b1d33['bg']||={'dictionary':{},'getPluralForm':null},_0x2b1d33['bg']['dictionary']=Object['assign'](_0x2b1d33['bg']['dictionary'],_0x3286d7),_0x2b1d33['bg']['getPluralForm']=_0x1b6be1;})(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':_0x46183f=>0x1!=_0x46183f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x52446a=>{const {bn:{dictionary:_0x2bfaf5,getPluralForm:_0x29f625}}={'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':_0x44906e=>0x1!=_0x44906e}};_0x52446a['bn']||={'dictionary':{},'getPluralForm':null},_0x52446a['bn']['dictionary']=Object['assign'](_0x52446a['bn']['dictionary'],_0x2bfaf5),_0x52446a['bn']['getPluralForm']=_0x29f625;})(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':_0x2d6b4a=>_0x2d6b4a%0xa==0x1&&_0x2d6b4a%0x64!=0xb?0x0:_0x2d6b4a%0xa>=0x2&&_0x2d6b4a%0xa<=0x4&&(_0x2d6b4a%0x64<0xa||_0x2d6b4a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x173b47=>{const {bs:{dictionary:_0xced8be,getPluralForm:_0x3c0a9f}}={'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':_0x3ad539=>_0x3ad539%0xa==0x1&&_0x3ad539%0x64!=0xb?0x0:_0x3ad539%0xa>=0x2&&_0x3ad539%0xa<=0x4&&(_0x3ad539%0x64<0xa||_0x3ad539%0x64>=0x14)?0x1:0x2}};_0x173b47['bs']||={'dictionary':{},'getPluralForm':null},_0x173b47['bs']['dictionary']=Object['assign'](_0x173b47['bs']['dictionary'],_0xced8be),_0x173b47['bs']['getPluralForm']=_0x3c0a9f;})(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':_0x3cb735=>0x1!=_0x3cb735}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x22a534=>{const {ca:{dictionary:_0x17b430,getPluralForm:_0x2ff35c}}={'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':_0x1d6dea=>0x1!=_0x1d6dea}};_0x22a534['ca']||={'dictionary':{},'getPluralForm':null},_0x22a534['ca']['dictionary']=Object['assign'](_0x22a534['ca']['dictionary'],_0x17b430),_0x22a534['ca']['getPluralForm']=_0x2ff35c;})(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':_0x3b44bb=>0x1==_0x3b44bb?0x0:_0x3b44bb>=0x2&&_0x3b44bb<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb6a624=>{const {cs:{dictionary:_0x5eb40a,getPluralForm:_0x238dc0}}={'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':_0x56195a=>0x1==_0x56195a?0x0:_0x56195a>=0x2&&_0x56195a<=0x4?0x1:0x2}};_0xb6a624['cs']||={'dictionary':{},'getPluralForm':null},_0xb6a624['cs']['dictionary']=Object['assign'](_0xb6a624['cs']['dictionary'],_0x5eb40a),_0xb6a624['cs']['getPluralForm']=_0x238dc0;})(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':_0x45b8ad=>0x1!=_0x45b8ad}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x339f5f=>{const {da:{dictionary:_0x559e1c,getPluralForm:_0x44114b}}={'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':_0x4ba0a7=>0x1!=_0x4ba0a7}};_0x339f5f['da']||={'dictionary':{},'getPluralForm':null},_0x339f5f['da']['dictionary']=Object['assign'](_0x339f5f['da']['dictionary'],_0x559e1c),_0x339f5f['da']['getPluralForm']=_0x44114b;})(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':_0x2b7602=>0x1!=_0x2b7602}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x46ac23=>{const {'de-ch':{dictionary:_0x14902a,getPluralForm:_0x999e26}}={'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':_0x5d8bcf=>0x1!=_0x5d8bcf}};_0x46ac23['de-ch']||={'dictionary':{},'getPluralForm':null},_0x46ac23['de-ch']['dictionary']=Object['assign'](_0x46ac23['de-ch']['dictionary'],_0x14902a),_0x46ac23['de-ch']['getPluralForm']=_0x999e26;})(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':_0x4a8659=>0x1!=_0x4a8659}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31a756=>{const {de:{dictionary:_0x1df86f,getPluralForm:_0x5aa5f1}}={'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':_0x34f211=>0x1!=_0x34f211}};_0x31a756['de']||={'dictionary':{},'getPluralForm':null},_0x31a756['de']['dictionary']=Object['assign'](_0x31a756['de']['dictionary'],_0x1df86f),_0x31a756['de']['getPluralForm']=_0x5aa5f1;})(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':_0x36ec4d=>0x1!=_0x36ec4d}};
|