@ckeditor/ckeditor5-pagination 48.4.0 → 48.5.0-alpha.1
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 _0x2a26a9}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x47ae5d,InputNumberView as _0x1b2bd7,View as _0x1bab2c}from'@ckeditor/ckeditor5-ui';import{Rect as _0x2c71dd,ResizeObserver as _0x32e80b,env as _0x596cef,first as _0x231c1f,global as _0x1d9a2f,keyCodes as _0x4e3e1a,logWarning as _0x1602c1,toUnit as _0x5e9380,uid as _0x4eb2f3}from'@ckeditor/ckeditor5-utils';import{debounce as _0x6fb558}from'es-toolkit/compat';import{IconArrowDown as _0xfca57e,IconArrowUp as _0x552a4d}from'@ckeditor/ckeditor5-icons';var w=class extends _0x2a26a9{_recalculatePageBreaksDebounced=_0x6fb558(()=>this['_recalculatePageBreaks'](),0xc8);_pagesContainer=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x1602c1('pagination-config-not-found',this['editor']['config']);const _0x54ee09=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x54ee09),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x202631,_0x1c6a7a,_0x24c435)=>{_0x24c435&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x17cdc7){const _0x4f5f05='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x2c0e4a=0x791d0,_0x39b30c=window['Date']['now'](),_0x26ef42=_0x17cdc7['editor'],_0x377dc1=new window['Promise'](_0x35a44c=>{_0x26ef42['once']('ready',_0x35a44c);}),_0x491146={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x556659=_0x26ef42['config']['get']('licenseKey');async function _0x43ea1f(){let _0x5dce4f,_0x121412=null,_0x502d1a=null;try{return'GPL'==_0x556659?'NotAllowed':(_0x5dce4f=_0xcf4fba(),_0x5dce4f?(_0x5dce4f['usageEndpoint']&&(_0x502d1a=_0x2de901(_0x5dce4f['usageEndpoint'],_0x5dce4f['jti'])),await _0x43b921()?_0x118696()?_0x47115f()?'Expired':_0x39d2fd()?('evaluation'==_0x5dce4f['licenseType']&&(_0x121412=_0x6fb767('EvaluationLimit')),await _0x24d723()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x47115f(){const _0x27df73=['evaluation','trial']['includes'](_0x5dce4f['licenseType'])?_0x39b30c/0x3e8:0xe10*_0x2c0e4a;return _0x5dce4f['exp']<_0x27df73;}function _0x118696(){const _0x2368f0=_0x5dce4f['features'];return!!_0x2368f0&&(!!_0x2368f0['includes']('*')||!!_0x2368f0['includes']('PAG'));}function _0x39d2fd(){const _0x95054c=_0x5dce4f['licensedHosts'];if(!_0x95054c||0x0==_0x95054c['length'])return!0x0;const {hostname:_0x45aef3}=new URL(window['location']['href']);if(_0x95054c['includes'](_0x45aef3))return!0x0;const _0x24beec=_0x45aef3['split']('.');return _0x95054c['filter'](_0x2b927b=>_0x2b927b['includes']('*'))['map'](_0x1a7c9e=>_0x1a7c9e['split']('.'))['filter'](_0x590c26=>_0x590c26['length']<=_0x24beec['length'])['map'](_0x13c93e=>Array(_0x24beec['length']-_0x13c93e['length'])['fill']('*'===_0x13c93e[0x0]?'*':'')['concat'](_0x13c93e))['some'](_0x112e2c=>_0x24beec['every']((_0xd067ac,_0x41b532)=>_0x112e2c[_0x41b532]===_0xd067ac||'*'===_0x112e2c[_0x41b532]));}function _0x24d723(){return _0x121412&&_0x502d1a?new window['Promise']((_0x33aecd,_0xa07ee0)=>{_0x121412['then'](_0x33aecd,_0xa07ee0),_0x502d1a['then'](_0x14a569=>{'Valid'!=_0x14a569&&_0x33aecd(_0x14a569);},_0xa07ee0);}):_0x121412||_0x502d1a||'Valid';}}function _0x2de901(_0x14de4d,_0x566e41){return new window['Promise'](_0x55ac8a=>{if(_0xb49eda())return _0x55ac8a('Valid');_0x993d34(),_0x26ef42['decorate']('_sendUsageRequest');let _0x573c53=!0x1;const _0x2597f8=_0x4eb2f3();function _0xd52311(_0x4569b2){return!!_0x4569b2&&('object'==typeof _0x4569b2||'function'==typeof _0x4569b2)&&'function'==typeof _0x4569b2['then']&&'function'==typeof _0x4569b2['catch'];}function _0x1f18ba(_0x141792){_0x5745f5(_0x141792)['then'](_0x733fb9=>_0x733fb9&&'ok'==_0x733fb9['status']?_0x258007(_0x5e45d2(_0x2597f8+_0x566e41))!=_0x733fb9['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3aa2d0=>(_0x27965b(),_0x3aa2d0),()=>{const _0x21f2f8=_0x501908();return null==_0x21f2f8?(_0x27965b(),'Valid'):_0x39b30c-_0x21f2f8>0x240c8400?'UsageLimit':'Valid';})['then'](_0x55ac8a)['catch'](()=>{_0x55ac8a('UsageLimit');});const _0x2a6310=0x36ee80;function _0x27965b(){const _0x559f3c='llct-'+_0x258007(_0x5e45d2(_0x14de4d)),_0x3a3ffc=_0x584186(_0x258007(window['Math']['ceil'](_0x39b30c/_0x2a6310)));window['localStorage']['setItem'](_0x559f3c,_0x3a3ffc);}function _0x501908(){const _0x4c9c04='llct-'+_0x258007(_0x5e45d2(_0x14de4d)),_0x5d0470=window['localStorage']['getItem'](_0x4c9c04);return _0x5d0470?window['parseInt'](_0x584186(_0x5d0470),0x10)*_0x2a6310:null;}function _0x5745f5(_0x259e15){return new window['Promise']((_0x9a0df4,_0x63019)=>{_0x259e15['then'](_0x9a0df4,_0x63019),window['setTimeout'](_0x63019,0x1d4c0);});}}_0x26ef42['on']('_sendUsageRequest',(_0x302018,_0x55c3e9)=>{if(_0x55c3e9[0x0]!=_0x14de4d)return _0x55ac8a('UsageLimit');_0x55c3e9[0x1]={..._0x55c3e9[0x1],'requestId':_0x2597f8};},{'priority':'high'}),_0x26ef42['on']('_sendUsageRequest',_0x46b822=>{_0xd52311(_0x46b822['return'])&&(_0x573c53=!0x0,_0x1f18ba(_0x46b822['return']));},{'priority':'low'}),_0x377dc1['then'](()=>{_0x573c53||_0x55ac8a('UsageLimit');});});function _0xb49eda(){return'auto'==_0x26ef42['editing']['view']['_overlayModeHint'];}function _0x993d34(){_0x26ef42['editing']['view']['_overlayModeHint']='auto';}}function _0x6fb767(_0x3d5167){const _0x915ef6=[new window['Promise'](_0x2d3d70=>setTimeout(_0x2d3d70,0x93ecc)),_0x377dc1['then'](()=>new window['Promise'](_0x1e44dd=>{let _0x321d21=0x0;_0x26ef42['model']['on']('applyOperation',(_0xbd25b2,_0x3e7311)=>{_0x3e7311[0x0]['isDocumentOperation']&&_0x321d21++,0x5e8==_0x321d21&&(_0x1e44dd(),_0xbd25b2['off']());});}))];return window['Promise']['race'](_0x915ef6)['then'](()=>_0x3d5167);}async function _0x66d524(){await _0x377dc1,_0x26ef42['model']['change']=_0x4817be,_0x26ef42['model']['enqueueChange']=_0x4817be,_0x26ef42['enableReadOnlyMode']('model');}function _0x57f668(_0x1e69d3){const _0x25f07c=_0x3ab1ed();_0x26ef42[_0x25f07c]='paginationLicenseKey'+_0x1e69d3,'Valid'!=_0x1e69d3&&_0x66d524();}function _0x3ab1ed(){const _0x4cba0b=window['String'](window['performance']['now']())['replace']('.','');let _0x37161f='I';for(let _0x9b07c1=0x0;_0x9b07c1<_0x4cba0b['length'];_0x9b07c1+=0x2){let _0x458b05=window['parseInt'](_0x4cba0b['substring'](_0x9b07c1,_0x9b07c1+0x2));_0x458b05>=0x3e&&(_0x458b05-=0x3e),_0x37161f+=_0x4f5f05[_0x458b05];}return _0x37161f;}function _0xcf4fba(){const _0x3aa3c1=_0x556659['split']('.');if(0x3!=_0x3aa3c1['length'])return null;return _0x208396(_0x3aa3c1[0x1]);function _0x208396(_0x277e06){const _0x415f70=_0x577880(_0x277e06);return _0x415f70&&_0x544bb6()?_0x415f70:null;function _0x544bb6(){const _0x2cb90a=_0x415f70['jti'],_0x103262=window['parseInt'](_0x2cb90a['substring'](_0x2cb90a['length']-0x8),0x10),_0x22be78={..._0x415f70,'jti':_0x2cb90a['substring'](0x0,_0x2cb90a['length']-0x8)};return delete _0x22be78['vc'],_0x5e45d2(_0x22be78)==_0x103262;}}}async function _0x43b921(){let _0x2e9f48=!0x0;try{const [_0x1f387c,_0xac55c2,_0x2e7085]=_0x556659['split']('.');return _0x4deb7e(_0x1f387c),await _0x8f8089(_0x1f387c,_0xac55c2,_0x2e7085),_0x2e9f48;}catch{return!0x1;}function _0x4deb7e(_0x125020){const _0x2bae3d=_0x577880(_0x125020);_0x2bae3d&&'ES256'==_0x2bae3d['alg']||(_0x2e9f48=!0x1);}async function _0x8f8089(_0x294f5b,_0x1f7c10,_0x9cb856){const _0x1eb1c4=window['Uint8Array']['from'](_0x31ff22(_0x9cb856),_0x3dbeb5=>_0x3dbeb5['charCodeAt'](0x0)),_0x2fd502=new window['TextEncoder']()['encode'](_0x294f5b+'.'+_0x1f7c10),_0x4a801a=window['crypto']['subtle'];if(!_0x4a801a)return;const _0x2d2900=await _0x4a801a['importKey']('jwk',_0x491146,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4a801a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2d2900,_0x1eb1c4,_0x2fd502)||(_0x2e9f48=!0x1);}}function _0x577880(_0x7b0eea){return _0x7b0eea['startsWith']('ey')?JSON['parse'](_0x31ff22(_0x7b0eea)):null;}function _0x31ff22(_0x42cf83){return window['atob'](_0x42cf83['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5e45d2(_0x1935dd){let _0x436841=0x1505;function _0x43ed40(_0x3ffc5a){for(let _0x100360=0x0;_0x100360<_0x3ffc5a['length'];_0x100360++){const _0x443d4=_0x3ffc5a['charCodeAt'](_0x100360);_0x436841=(_0x436841<<0x5)+_0x436841+_0x443d4,_0x436841&=_0x436841;}}function _0x4e9bf6(_0xf73378){Array['isArray'](_0xf73378)?_0xf73378['forEach'](_0x4e9bf6):_0xf73378&&'object'==typeof _0xf73378?Object['entries'](_0xf73378)['sort']()['forEach'](([_0x46c954,_0x16d71d])=>{_0x43ed40(_0x46c954),_0x4e9bf6(_0x16d71d);}):_0x43ed40(window['String'](_0xf73378));}return _0x4e9bf6(_0x1935dd),_0x436841>>>0x0;}function _0x258007(_0x5c2bae){return _0x5c2bae['toString'](0x10)['padStart'](0x8,'0');}function _0x584186(_0x5babeb){return _0x5babeb['split']('')['reverse']()['join']('');}function _0x4817be(){}_0x57f668(await _0x43ea1f());}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x47ab7e=this['editor'],_0x50d1bd=_0x47ab7e['editing']['view'],_0x5a5c72=this['_getAttachedDomRoot']();if(!_0x5a5c72||!_0x5a5c72['hasChildNodes']())return void _0x47ab7e['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0xbf994e,pageHeight:_0x19b1c9}=_0x47ab7e['config']['get']('pagination'),{top:_0x4d2f21,left:_0x54bc8d,bottom:_0x1a73b4,right:_0x732165}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1bab2c(_0x47ab7e['locale']);const _0xc8d0d7=this['_pagesContainer'];_0xc8d0d7['set']('class',''),_0xc8d0d7['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0xbf994e,'width':_0xbf994e,'height':'calc(\x20'+_0x19b1c9+'\x20-\x20'+_0x4d2f21+'\x20-\x20'+_0x1a73b4+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x732165+'\x200\x20'+_0x54bc8d,'columnGap':'calc('+_0x54bc8d+'\x20+\x20'+_0x732165+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0xc8d0d7['bindTemplate']['to']('class')}}),_0xc8d0d7['render'](),_0x5a5c72['parentNode']['insertBefore'](_0xc8d0d7['element'],_0x5a5c72['nextSibling']),this['listenTo'](_0x50d1bd,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x40ff15 of this['editor']['editing']['view']['domRoots']['values']())if(_0x40ff15['ownerDocument']['body']['contains'](_0x40ff15))return _0x40ff15;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x47f95c=this['editor']['editing']['view'],_0x1d7989=this['_pagesContainer'],_0x2d49dc=this['_getAttachedDomRoot']();if(!_0x2d49dc||!_0x1d7989)return Promise['resolve']();for(_0x1d7989['class']=['ck-reset','ck-pagination-view',..._0x2d49dc['classList']]['join']('\x20');_0x1d7989['element']['firstChild'];)_0x1d7989['element']['firstChild']['remove']();const _0x52cafc=Array['from'](_0x47f95c['domRoots']);_0x52cafc['sort'](([,_0x23610a],[,_0x54dbeb])=>_0x23610a['compareDocumentPosition'](_0x54dbeb)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x52f379,_0x22742e]of _0x52cafc){const _0x534468=_0x22742e['cloneNode'](!0x0);'attributeStyleMap'in _0x534468&&_0x534468['attributeStyleMap']['clear'](),_0x534468['dataset']['rootName']=_0x52f379,_0x534468['className']='ck-content\x20ck-pagination_enabled',_0x534468['removeAttribute']('id'),_0x534468['tabIndex']=-0x1,_0x1d7989['element']['append'](_0x534468);}const _0x332929=Array['from'](_0x1d7989['element']['querySelectorAll']('img'));return function(_0xbf27e7){return Promise['all'](_0xbf27e7['map'](_0x21acfc=>Promise['race']([k(_0x21acfc),v(0x3e8)])));}(_0x332929)['then'](()=>{for(const _0x2afc2f of _0x332929['filter'](_0x178a90=>!_0x178a90['closest']('table')))if(_0x2afc2f['offsetParent']){const _0x3ebe50=_0x1d9a2f['window']['getComputedStyle'](_0x2afc2f),_0x5deacd=_0x1d9a2f['document']['createElement']('span');for(const _0x531bfa of _0x3ebe50)_0x5deacd['style']['setProperty'](_0x531bfa,_0x3ebe50[_0x531bfa]);_0x5deacd['style']['backgroundImage']='url(\x20'+_0x2afc2f['src']+'\x20)',_0x5deacd['style']['breakInside']='avoid','PICTURE'==_0x2afc2f['parentElement']?.['tagName']?_0x2afc2f['parentElement']['replaceWith'](_0x5deacd):_0x2afc2f['replaceWith'](_0x5deacd);}return new Promise(_0x4cba8d=>_0x1d9a2f['window']['requestAnimationFrame'](()=>_0x4cba8d()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x14162c=this['_pagesContainer']['element'];if(!_0x14162c['ownerDocument']['body']['contains'](_0x14162c))return;const _0x219d88=new _0x2c71dd(_0x14162c)['excludeScrollbarsAndBorders'](),_0x431d6c=Math['floor'](_0x219d88['width']+0x64),_0x48776e=_(_0x14162c,Math['floor'](_0x219d88['left']-_0x14162c['scrollLeft']),_0x431d6c,_0x219d88['height'])['map'](_0x134e51=>this['_mapPageStarterInfoToPageBreakInfo'](_0x134e51))['filter'](_0x4a5c0b=>!0x1!==_0x4a5c0b);_0x48776e['every'](_0x2262d1=>!!_0x2262d1)&&(this['pageBreaks']=_0x48776e);}_mapPageStarterInfoToPageBreakInfo(_0x265983){const _0x5a2a9c=this['editor']['editing']['view'],_0x45e165=this['editor']['editing']['mapper'],_0x30e45c=_0x5a2a9c['domConverter'],_0x1f5538=_0x265983['path']['shift'](),_0x114108=this['_pagesContainer']['element']['childNodes'][_0x1f5538]['dataset']['rootName'],_0x41bd0a=_0x5a2a9c['getDomRoot'](_0x114108);if(!_0x41bd0a)return null;const _0x1c551b=function(_0x3af690,_0xd86b9){let _0xc0f098=_0x3af690;for(const _0x28dcb5 of _0xd86b9['path']){if(!_0xc0f098)return null;_0xc0f098=_0xc0f098['childNodes'][_0x28dcb5];}return _0xc0f098;}(_0x41bd0a,_0x265983);if(!_0x1c551b)return null;const _0x5cb353=_0x30e45c['domPositionToView'](_0x1c551b,_0x265983['textOffset']||0x0);return _0x5cb353?'manual'==_0x265983['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b):'text'==_0x265983['type']&&_0x45e165['toModelPosition'](_0x5cb353)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b,_0x265983['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5cb353,_0x1c551b,_0x265983['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x4e69c7,_0x362a94){const _0x3c943c=this['editor']['model'],_0x85c229=this['editor']['editing']['mapper']['toModelElement'](_0x4e69c7['parent']),_0x55dbc9=_0x3c943c['createRangeOn'](_0x85c229);return new P({'type':'manual','modelRange':_0x55dbc9,'domNode':_0x362a94,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x1de1e7,_0x111638,_0x119ef4){const _0x241176=this['editor']['model'],_0x4589a5=this['editor']['editing']['mapper'],_0x6cb40=this['editor']['editing']['view']['domConverter'];if(_0x119ef4>=_0x111638['length'])return null;const _0x50b195=_0x4589a5['toModelPosition'](_0x1de1e7),_0x40567b=_0x241176['createRange'](_0x50b195),_0x3073f2=_0x4589a5['findMappedViewAncestor'](_0x1de1e7),_0x2a890d=_0x6cb40['mapViewToDom'](_0x3073f2);return new P({'type':'text','modelRange':_0x40567b,'domNode':_0x111638,'offset':y(_0x111638,_0x119ef4,_0x2a890d)});}_mapElementPageStarterInfoToPageBreakInfo(_0x3ee2ea,_0x56f0db,_0x58e2bc){const _0x1976dc=this['editor']['model'],_0x29ef07=this['editor']['editing'],_0x1ad394=_0x29ef07['mapper'],_0x3d0645=_0x29ef07['view']['domConverter'],_0x773389=_0x1ad394['findMappedViewAncestor'](_0x3ee2ea),_0x56807d=_0x1ad394['toModelElement'](_0x773389);if(!_0x56807d||_0x56807d['is']('rootElement'))return!0x1;const _0x483b81=function(_0x2caa7b){const _0x37523e=_0x2caa7b['parent'],_0x42ea77=_0x37523e['root']['document']['model'],_0x2abfde=_0x37523e['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x347055=null;for(const _0x128e17 of _0x2abfde){if(_0x128e17['is']('rootElement'))return _0x347055;if(!_0x42ea77['createPositionBefore'](_0x128e17)['isTouching'](_0x2caa7b))return _0x347055;_0x347055=_0x128e17;}}(_0x1976dc['createPositionBefore'](_0x56807d))||_0x56807d;let _0x240b5d=_0x1ad394['toViewElement'](_0x483b81),_0x522cd9=_0x1976dc['createRangeOn'](_0x483b81);const _0x120fbb=_0x1976dc['createPositionBefore'](_0x483b81)['nodeBefore'];if(_0x120fbb&&_0x120fbb['is']('element','imageBlock')){const _0x3b5292=_0x1ad394['toViewElement'](_0x120fbb),_0x424425=_0x3d0645['mapViewToDom'](_0x3b5292),_0x12d15d=_0x1d9a2f['window']['getComputedStyle'](_0x424425)['float'];'left'!=_0x12d15d&&'right'!=_0x12d15d||(_0x522cd9=_0x1976dc['createRangeOn'](_0x120fbb));}for(;_0x240b5d['parent']!==_0x240b5d['root']&&0x0===_0x240b5d['index'];)_0x240b5d=_0x240b5d['parent'];const _0x5aa350=new _0x2c71dd(K(_0x56f0db)?_0x56f0db:L(_0x56f0db)),_0x3c62ed=_0x58e2bc?_0x5aa350['height']-_0x58e2bc:0x0,_0x4a6f06=_0x3d0645['mapViewToDom'](_0x240b5d),_0x425749=new _0x2c71dd(_0x4a6f06);return new P({'type':'element','modelRange':_0x522cd9,'domNode':_0x4a6f06,'offset':Math['round'](_0x3c62ed)||_0x773389!=b(_0x3ee2ea)?_0x3c62ed+_0x5aa350['top']-_0x425749['top']:0x0});}get['_configuredPaddings'](){const _0x274f0d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x274f0d);}static _findPageStarterInfos(_0x3c1a37,_0x41903d,_0x31bc81,_0x171078,_0x424863){return _(_0x3c1a37,_0x41903d,_0x31bc81,_0x171078,_0x424863);}},P=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x5c1435,modelRange:_0x285307,domNode:_0x5005ba,offset:_0x3b94f9}){this['type']=_0x5c1435,this['modelRange']=_0x285307,this['_domNode']=_0x5005ba,this['_offset']=_0x3b94f9;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x49bc2d=new _0x2c71dd(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x49bc2d['top']+_0x49bc2d['height']/0x2:_0x49bc2d['top']+this['_offset'];}};function y(_0x3d543a,_0x201566,_0x42e8f8){const _0xafd217=L(_0x3d543a),_0x328b89=function(_0x12098d){const _0x7bbdf4=_0x1d9a2f['document']['createRange']();return _0x7bbdf4['selectNodeContents'](_0x12098d),_0x7bbdf4;}(_0x42e8f8);let _0x46a270;_0x46a270=0x0==_0x201566?N(_0x328b89['startContainer'],_0x328b89['startOffset'],_0x3d543a['parentNode'],Array['from'](_0x3d543a['parentNode']['childNodes'])['indexOf'](_0x3d543a)):N(_0x328b89['startContainer'],_0x328b89['startOffset'],_0x3d543a,_0x201566);const _0x176476=N(_0x3d543a,_0x201566,_0x328b89['endContainer'],_0x328b89['endOffset']),_0x518a80=new _0x2c71dd(_0x46a270)['bottom'];return(new _0x2c71dd(_0x176476)['top']+_0x518a80)/0x2-new _0x2c71dd(_0xafd217)['top'];}function b(_0x36affc){let _0x1b0421=_0x36affc['parent'];for(;_0x1b0421['is']('$text')||_0x1b0421['is']('attributeElement');)_0x1b0421=_0x1b0421['parent'];return _0x1b0421;}function k(_0x87d820){return _0x87d820['hasAttribute']('width')&&_0x87d820['hasAttribute']('height')?Promise['resolve']():new Promise(_0x5e7bac=>{function _0xbfa1db(){_0x87d820['removeEventListener']('load',_0xbfa1db),_0x87d820['removeEventListener']('error',_0xbfa1db),_0x5e7bac();}_0x87d820['complete']?_0x5e7bac():(_0x87d820['addEventListener']('load',_0xbfa1db),_0x87d820['addEventListener']('error',_0xbfa1db));});}function v(_0x2134b4){return new Promise(_0x234162=>setTimeout(_0x234162,_0x2134b4));}function L(_0x4e29db){const _0x49962b=_0x1d9a2f['document']['createRange']();return _0x49962b['selectNode'](_0x4e29db),_0x49962b;}function x(_0xca874b,_0x193fe5,_0x13c1b9){const _0x20ab34=_0x1d9a2f['document']['createRange']();return _0x20ab34['setStart'](_0xca874b,_0x193fe5),_0x20ab34['setEnd'](_0xca874b,_0x13c1b9),_0x20ab34;}function N(_0x239245,_0x2b4dbe,_0x794768,_0x2a5e4a){const _0x7a2553=_0x1d9a2f['document']['createRange']();return _0x7a2553['setStart'](_0x239245,_0x2b4dbe),_0x7a2553['setEnd'](_0x794768,_0x2a5e4a),_0x7a2553;}function _(_0x24f74a,_0x2bbcf7,_0x242796,_0x4a1ddc,_0x4c6f32){const _0x31091f=[];for(const [_0x305321,_0x393919]of _0x24f74a['childNodes']['entries']()){let _0x1ea91b=[];K(_0x393919)&&_0x393919['offsetParent']&&['static','relative']['includes'](_0x1d9a2f['window']['getComputedStyle'](_0x393919)['position'])?_0x1ea91b=E(_0x393919,_0x305321,_0x2bbcf7,_0x242796,_0x4a1ddc,_0x4c6f32):O(_0x393919)&&(_0x1ea91b=S(_0x393919,_0x305321,_0x2bbcf7,_0x242796,_0x4c6f32)),_0x1ea91b['length']&&(_0x31091f['push'](..._0x1ea91b),_0x2bbcf7+=_0x1ea91b['length']*_0x242796,_0x4c6f32=!0x1);}return _0x31091f;}function E(_0x2fcdee,_0x3e848a,_0x8162d8,_0x4bec85,_0x5d0cfd,_0x41a41c){const _0x10efae=[];var _0x4b55ed;if((_0x4b55ed=_0x2fcdee['previousSibling'])&&K(_0x4b55ed)&&Boolean(_0x4b55ed['classList']['contains']('page-break')||_0x4b55ed['closest']('.page-break'))&&(_0x10efae['push']({'type':'manual','offset':0x0,'path':[_0x3e848a-0x1]}),_0x41a41c=!0x0),'table-row'==_0x1d9a2f['window']['getComputedStyle'](_0x2fcdee)['display']){let _0x1e4956=0x0,_0x2d2229=!0x1;for(const _0x52bb9d of _0x2fcdee['getClientRects']())_0x1e4956+=_0x52bb9d['height'],_0x52bb9d['left']>=_0x8162d8&&(_0x2d2229=!0x0);if(_0x1e4956<_0x5d0cfd&&_0x2d2229)return _0x41a41c||_0x10efae['push']({'type':'element','offset':0x0,'path':[_0x3e848a]}),_0x10efae;}const _0x383d5f=_0x2fcdee['closest']('figure.image');if(_0x383d5f&&function(_0x5f1f29){let _0x182906=!0x1;const _0x309e27=_0x5f1f29['parentElement']['dataset']['rootName'],_0x504252=_0x5f1f29['nextElementSibling'],_0x430b42=_0x5f1f29['previousElementSibling'],_0x2427d2=_0x504252&&_0x1d9a2f['window']['getComputedStyle'](_0x504252)['float'],_0x2b7f34=_0x504252&&'ck-fake-selection-container'===_0x504252['className'];return!_0x309e27||_0x504252||_0x430b42||(_0x182906=!0x0),_0x309e27&&!_0x430b42&&_0x2b7f34&&(_0x182906=!0x0),_0x309e27&&!_0x430b42&&'none'!==_0x2427d2&&(_0x182906=!0x0),!_0x182906;}(_0x383d5f)){const _0x498a89=_0x1d9a2f['window']['getComputedStyle'](_0x383d5f)['float'];if('left'==_0x498a89||'right'==_0x498a89)return _0x10efae;}const _0x425d5e=_(_0x2fcdee,_0x8162d8,_0x4bec85,_0x5d0cfd,_0x41a41c);if(_0x425d5e['length']){for(const _0x26cd36 of _0x425d5e)_0x10efae['push']({'type':_0x26cd36['type'],'offset':_0x26cd36['offset'],'textOffset':_0x26cd36['textOffset'],'path':[_0x3e848a,..._0x26cd36['path']]}),_0x8162d8+=_0x4bec85;return _0x10efae;}return _0x10efae['push'](...function(_0x4add42,_0x5b2767,_0xfad67,_0xe706f1,_0x39a283){const _0x5f3974=[];if('table-cell'==_0x1d9a2f['window']['getComputedStyle'](_0x4add42)['display'])return[];const _0x5197c8=[];for(const _0x56fe48 of _0x4add42['getClientRects']())if(_0x56fe48['left']>=_0xfad67){for(const _0x4e883a of _0x5197c8)_0x4e883a['height']+=_0x56fe48['height'];_0x5197c8['push']({'height':_0x56fe48['height']}),_0xfad67+=_0xe706f1;}for(const _0x28973d of _0x5197c8)_0x39a283||_0x5f3974['push']({'type':'element','offset':_0x28973d['height'],'textOffset':0x0,'path':[_0x5b2767]}),_0x39a283=!0x1;return _0x5f3974;}(_0x2fcdee,_0x3e848a,_0x8162d8,_0x4bec85,_0x41a41c)),_0x10efae;}function S(_0x858e96,_0x242815,_0x184f52,_0xc25495,_0x365110){const _0x1e5196=L(_0x858e96),_0x47b53d=[];let _0x3c465c=0x0;for(const _0x4957dd of _0x1e5196['getClientRects']())if(_0x4957dd['left']>=_0x184f52){const _0x5ad0fe=R(_0x858e96,_0x3c465c,_0x184f52,_0xc25495);_0x365110||_0x47b53d['push']({'type':'text','path':[_0x242815],'textOffset':_0x5ad0fe}),_0x3c465c=_0x5ad0fe,_0x184f52+=_0xc25495,_0x365110=!0x1;}return _0x47b53d;}function R(_0x1dcf20,_0x1c32f1,_0xee8574,_0xb8b69d){let _0x2cbc11=_0x1c32f1,_0x4328e3=_0x1dcf20['length'];for(;_0x4328e3-_0x2cbc11>0x1;){const _0x50dfbf=Math['ceil']((_0x2cbc11+_0x4328e3)/0x2);I(x(_0x1dcf20,_0x2cbc11,_0x50dfbf),_0xee8574,_0xb8b69d)?_0x4328e3=_0x50dfbf:_0x2cbc11=_0x50dfbf;}return _0x2cbc11;}function I(_0x29dc11,_0x81a60b,_0x47057e){for(const _0x2a1026 of _0x29dc11['getClientRects']())if(_0x2a1026['left']>=_0x81a60b&&_0x2a1026['left']<_0x81a60b+_0x47057e)return!0x0;return!0x1;}function K(_0x24e440){return _0x24e440['nodeType']==Node['ELEMENT_NODE'];}function O(_0x55a276){return _0x55a276['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5e9380('px');var U=class extends _0x1bab2c{constructor(){super();const _0x48c3c3=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x48c3c3['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x48c3c3['if']('isVisible','ck-hidden',_0x402c77=>!_0x402c77)],'style':{'left':_0x48c3c3['to']('left',_0x88f2=>A(_0x88f2)),'top':_0x48c3c3['to']('top',_0x382bf9=>A(_0x382bf9)),'width':_0x48c3c3['to']('width',_0x211afa=>A(_0x211afa))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2f4179){this['_viewCollection']=_0x2f4179['ui']['view']['body'];}destroy(){for(const _0x57b9a7 of this['_hiddenLines'])_0x57b9a7['destroy']();}['cleanLines'](){for(const _0x2086f3 of this['_visibleLines'])_0x2086f3['isVisible']=!0x1,this['_hiddenLines']['add'](_0x2086f3);this['_visibleLines']['clear']();}['showLine'](_0x4acfa4,_0x39f052,_0x2a6267,_0x38a324){let _0x5bcee3;this['_hiddenLines']['size']?(_0x5bcee3=_0x231c1f(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x5bcee3)):_0x5bcee3=new U(),_0x5bcee3['set']({'pageNumber':_0x38a324,'left':_0x4acfa4,'top':_0x39f052,'width':_0x2a6267}),_0x5bcee3['isVisible']=!0x0,this['_viewCollection']['has'](_0x5bcee3)||this['_viewCollection']['add'](_0x5bcee3),this['_visibleLines']['add'](_0x5bcee3);}setViewCollection(_0x51bec2){for(const _0x1d00c7 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1d00c7)&&this['_viewCollection']['remove'](_0x1d00c7);this['_viewCollection']=_0x51bec2;}};const D='ck-pagination_enabled';var B=class extends _0x2a26a9{linesRepository;_scrollableEditingRootDomAncestor=null;['_resizeObserver']=null;_paginationLookupPlugin;static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['set']({'pageNumber':0x1}),this['linesRepository']=new C(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](D),this['on']('change:isEnabled',(_0x2ddeee,_0x4f18d7,_0x1f12c6)=>{_0x1f12c6||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x1f12c6);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x50dbd7){if(!this['isEnabled'])return;const _0x65bd28=_0x50dbd7>0x1?this['_getPageBreakLineOffset'](_0x50dbd7-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x65bd28-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x596cef['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x1a9b02=this['editor'],_0x277b78=this['_getAttachedDomRoot']();_0x277b78?(this['_scrollableEditingRootDomAncestor']&&_0x1a9b02['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x4744cb){let _0x55ede7=_0x4744cb;do{_0x55ede7=_0x55ede7['parentElement'];const _0x51aee6=_0x1d9a2f['window']['getComputedStyle'](_0x55ede7)['overflowY'];if('auto'==_0x51aee6||'scroll'==_0x51aee6)break;}while('BODY'!=_0x55ede7['tagName']);return _0x55ede7;}(_0x277b78),_0x1a9b02['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x32e80b(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1a9b02['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x50b405=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x50b405['ui']['view']['listenTo'](_0x1d9a2f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x50b405['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x86b766 of this['editor']['editing']['view']['domRoots']['values']())if(_0x86b766['ownerDocument']['body']['contains'](_0x86b766))return _0x86b766;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x287322=this['_getAttachedDomRoot'](),_0x3d8365=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x287322||0x1==_0x3d8365['length'])return void(this['pageNumber']=0x1);const _0x2a19f0=new _0x2c71dd(_0x287322)['excludeScrollbarsAndBorders'](),_0x4c68ac=new _0x2c71dd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1de36e=_0x4c68ac['top']+_0x4c68ac['height']/0x3;let _0x2c8b2d=!0x1;const _0x4e632c=[];for(let _0x30a7b9=0x1;_0x30a7b9<_0x3d8365['length'];_0x30a7b9++){const _0x31023f=this['_getPageBreakLineOffset'](_0x30a7b9,_0x4c68ac);if(!_0x31023f)continue;const _0x1354a9=_0x4c68ac['top']+_0x31023f-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x4e632c['push']({'pageOffsetTop':_0x1354a9,'domRootRect':_0x2a19f0,'domScrollableRect':_0x4c68ac,'pageNumber':_0x30a7b9}),_0x1354a9>_0x1de36e&&!_0x2c8b2d&&(this['pageNumber']=_0x30a7b9,_0x2c8b2d=!0x0);}this['_renderPageBreakLines'](_0x4e632c),_0x2c8b2d||(this['pageNumber']=_0x3d8365['length']);}['_renderPageBreakLines'](_0x1f2dee){const {scrollX:_0x220c93,scrollY:_0xe481f2}=_0x1d9a2f['window'];if(_0x1f2dee['length']){for(const {domScrollableRect:_0x312e41,pageOffsetTop:_0x2803a5,domRootRect:_0x4f9791,pageNumber:_0x24788a}of _0x1f2dee)_0x312e41['top']<_0x2803a5&&_0x2803a5<_0x312e41['bottom']&&this['linesRepository']['showLine'](_0x4f9791['left']+_0x220c93,_0x2803a5+_0xe481f2,_0x4f9791['width'],_0x24788a+0x1);}}_getPageBreakLineOffset(_0x1232e9,_0x155438=null){const _0x29581a=this['_paginationLookupPlugin']['pageBreaks'][_0x1232e9]['offset'];return _0x29581a?(_0x155438||(_0x155438=new _0x2c71dd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x29581a-_0x155438['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x2c175c,_0x5c433b=!0x0){const _0x493f62=this['editor']['editing']['view'];_0x493f62['change'](_0x594781=>{for(const _0x22d380 of _0x493f62['document']['roots'])_0x5c433b?_0x594781['addClass'](_0x2c175c,_0x22d380):_0x594781['removeClass'](_0x2c175c,_0x22d380);});}};function T(_0x11dc7f,_0x1ead16,..._0x20bfd6){const t=_0x11dc7f['t'];switch(_0x1ead16){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x20bfd6);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x1ead16;}}var G=class extends _0x2a26a9{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[w,B];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x301f3d=this['editor']['plugins']['get']('Pagination'),_0x2d577b=this['editor']['plugins']['get'](w),_0x4a3db9=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0x301f3d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4a3db9),this['listenTo'](_0x2d577b,'change:pageBreaks',(_0x1ea353,_0x2f3913,_0x3eec5d,_0xa1f85b)=>{this['totalPages']=_0x3eec5d['length'],this['_updatePageBreakMarkers'](_0x3eec5d,_0xa1f85b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x321b76=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e9209;for(const _0x1d852d in _0x321b76){const _0x23f53e=_0x1d852d,_0x4334d7=_0x321b76[_0x23f53e];if('paginationLicenseKeyValid'==_0x4334d7||'paginationLicenseKeyInvalid'==_0x4334d7||'paginationLicenseKeyExpired'==_0x4334d7||'paginationLicenseKeyDomainLimit'==_0x4334d7||'paginationLicenseKeyNotAllowed'==_0x4334d7||'paginationLicenseKeyEvaluationLimit'==_0x4334d7||'paginationLicenseKeyUsageLimit'==_0x4334d7){delete _0x321b76[_0x23f53e],_0x3e9209=_0x4334d7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3e9209&&_0x321b76['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3e9209&&_0x321b76['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3e9209&&_0x321b76['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3e9209&&_0x321b76['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x18d580){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x18d580));}moveSelectionToPage(_0x8f8077){if(!this['isEnabled'])return;const _0x1e028c=this['editor'],_0x5e0a3b=this['editor']['plugins']['get'](w)['pageBreaks'][_0x8f8077-0x1];_0x5e0a3b&&_0x1e028c['model']['change'](_0xec91e6=>{switch(_0x5e0a3b['type']){case'manual':{const _0x529016=_0x1e028c['model']['schema']['getNearestSelectionRange'](_0x5e0a3b['modelRange']['end'],'forward');_0xec91e6['setSelection'](_0x529016);break;}case'element':{const _0x2ad18c=_0x1e028c['model']['schema']['getNearestSelectionRange'](_0x5e0a3b['modelRange']['start'],'forward');_0xec91e6['setSelection'](_0x2ad18c);break;}case'text':{const _0x15ad71=_0x5e0a3b['modelRange']['start'];if(_0x15ad71['textNode']&&'\x20'===_0x15ad71['textNode']['data'][_0x15ad71['offset']]){const _0x6eabad=_0xec91e6['createPositionAt'](_0x15ad71['parent'],_0x15ad71['offset']+0x1);_0xec91e6['setSelection'](_0x6eabad);}else _0xec91e6['setSelection'](_0x5e0a3b['modelRange']);}}_0x1e028c['editing']['view']['focus']();});}goToNextPage(){const _0x30ca7e=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x30ca7e),this['scrollToPage'](_0x30ca7e);}['goToPreviousPage'](){const _0x5ac909=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5ac909),this['scrollToPage'](_0x5ac909);}_updatePageBreakMarkers(_0x1d32b7,_0xbb5328){const _0x4c7a75=this['editor']['model'];this['isEnabled']&&_0x4c7a75['change'](_0x51bfbc=>{for(let _0x8608d4=0x1;_0x8608d4<_0x1d32b7['length'];_0x8608d4++){const _0x2b38aa=_0x1d32b7[_0x8608d4]['modelRange'],_0x2a731a='pagination:'+(_0x8608d4+0x1);_0x4c7a75['markers']['has'](_0x2a731a)?_0x51bfbc['updateMarker'](_0x2a731a,{'range':_0x2b38aa}):_0x51bfbc['addMarker'](_0x2a731a,{'range':_0x2b38aa,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xc85f50=_0x1d32b7['length'];_0xc85f50<_0xbb5328['length'];_0xc85f50++){const _0x2d7a9a='pagination:'+(_0xc85f50+0x1);_0x4c7a75['markers']['has'](_0x2d7a9a)&&_0x51bfbc['removeMarker'](_0x2d7a9a);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x1fa80=>{_0x1fa80['on']('addMarker:pagination',(_0x4155d3,{markerRange:_0x5f05ca,markerName:_0x91dccd},_0x4831e7)=>{if(!_0x4831e7['options']['pagination'])return;if(!_0x4831e7['consumable']['consume'](_0x5f05ca,_0x4155d3['name']))return;const _0x30260f=_0x5f05ca['getContainedElement']();let _0x1b6dc4=_0x30260f?_0x4831e7['mapper']['toViewElement'](_0x30260f):null;if(!_0x1b6dc4){const _0x5082f2=_0x5f05ca['start'];if(_0x4831e7['schema']['checkChild'](_0x5082f2,'$text')){const _0x4ffee6=_0x4831e7['mapper']['toViewPosition'](_0x5082f2);_0x1b6dc4=_0x4831e7['writer']['createContainerElement']('span'),_0x1b6dc4['getFillerOffset']=()=>null,_0x4831e7['writer']['insert'](_0x4ffee6,_0x1b6dc4);}else{const _0x69941a=_0x5082f2['nodeAfter'];_0x1b6dc4=_0x4831e7['mapper']['toViewElement'](_0x69941a);}}for(;_0x1b6dc4['parent']!==_0x1b6dc4['root']&&0x0===_0x1b6dc4['index'];)_0x1b6dc4=_0x1b6dc4['parent'];const _0x472d04=_0x91dccd['substring'](0xb);_0x1b6dc4['hasClass']('page-break')||(_0x4831e7['writer']['setStyle']('page-break-before','always',_0x1b6dc4),_0x4831e7['writer']['setAttribute']('data-pagination-page',_0x472d04,_0x1b6dc4),_0x4831e7['mapper']['bindElementToMarker'](_0x1b6dc4,_0x91dccd)),_0x4155d3['stop']();});});}_setupKeystrokes(){const _0x3d038c=this['editor'];_0x3d038c['keystrokes']['set']('Shift+Pageup',(_0x3a59c4,_0x348d52)=>{this['goToPreviousPage'](),_0x348d52();}),_0x3d038c['keystrokes']['set']('Shift+Pagedown',(_0x302c5f,_0x2faf8e)=>{this['goToNextPage'](),_0x2faf8e();}),_0x3d038c['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x3d038c['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x3d038c['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x3d038c['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x1cd015){return _0x1cd015<0x1&&(_0x1cd015=0x1),_0x1cd015>this['totalPages']&&(_0x1cd015=this['totalPages']),_0x1cd015;}},V=class extends _0x1bab2c{['pageNumberView'];constructor(_0x1de79b){super(_0x1de79b);const _0x3d979c=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1b2bd7(_0x1de79b,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2d6308=>T(_0x1de79b,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2d6308)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1ce579=>!_0x1ce579),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3d979c['if']('isEnabled','ck-disabled',_0x138d43=>!_0x138d43)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3d979c['to']('totalPages')}]}]});}['render'](){super['render']();const _0x37894a=this['pageNumberView']['element'],_0x275b81=_0x57e19a=>{this['pageNumberView']['element']['value']=String(_0x57e19a);};_0x275b81(this['pageNumber']),this['on']('change:pageNumber',(_0x20f6e5,_0xb34eee,_0x44dba6)=>{_0x275b81(_0x44dba6);}),this['listenTo'](_0x37894a,'keydown',(_0x2ae608,_0x25a73d)=>{if('ArrowUp'===_0x25a73d['key']||'ArrowDown'===_0x25a73d['key'])return void _0x25a73d['stopPropagation']();if(_0x25a73d['keyCode']!==_0x4e3e1a['enter'])return;_0x25a73d['preventDefault']();const _0x12c457=_0x37894a['valueAsNumber'];Number['isNaN'](_0x12c457)?_0x37894a['value']=String(this['pageNumber']):(_0x37894a['checkValidity']()?this['pageNumber']=_0x12c457:_0x12c457>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x37894a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x37894a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x37894a,'blur',()=>{_0x37894a['value']=String(this['pageNumber']);}),this['listenTo'](_0x37894a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0x2a26a9{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x1ec577=this['editor'],_0x420d7d=_0x1ec577['plugins']['get']('PaginationEditing');_0x1ec577['ui']['componentFactory']['add']('pageNavigation',_0x4e78d6=>{const _0x502ee6=new V(_0x4e78d6);return _0x502ee6['bind']('pageNumber')['to'](_0x420d7d),_0x502ee6['bind']('totalPages')['to'](_0x420d7d),_0x502ee6['bind']('isEnabled')['to'](_0x420d7d),_0x502ee6['on']('navigation',(_0x2b3986,_0x16d7f7)=>{_0x420d7d['moveSelectionToPage'](_0x16d7f7),_0x420d7d['scrollToPage'](_0x16d7f7);}),_0x502ee6;}),_0x1ec577['ui']['componentFactory']['add']('nextPage',_0x404370=>{const _0x3161d1=new _0x47ae5d(_0x404370);return _0x3161d1['isEnabled']=!0x0,_0x3161d1['label']=T(_0x1ec577['locale'],'Go\x20to\x20next\x20page'),_0x3161d1['icon']=_0xfca57e,_0x3161d1['tooltip']=!0x0,_0x3161d1['keystroke']='Shift+PageDown',_0x3161d1['bind']('isEnabled')['to'](_0x420d7d),this['listenTo'](_0x3161d1,'execute',()=>{_0x420d7d['goToNextPage']();}),_0x3161d1;}),_0x1ec577['ui']['componentFactory']['add']('previousPage',_0x457dfd=>{const _0x252e02=new _0x47ae5d(_0x457dfd);return _0x252e02['isEnabled']=!0x0,_0x252e02['label']=T(_0x1ec577['locale'],'Go\x20to\x20previous\x20page'),_0x252e02['icon']=_0x552a4d,_0x252e02['tooltip']=!0x0,_0x252e02['keystroke']='Shift+PageUp',_0x252e02['bind']('isEnabled')['to'](_0x420d7d),this['listenTo'](_0x252e02,'execute',()=>{_0x420d7d['goToPreviousPage']();}),_0x252e02;});}},$=class extends _0x2a26a9{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0xa3bb47){super(_0xa3bb47),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x25dab1=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x25dab1),this['bind']('totalPages')['to'](_0x25dab1),_0x596cef['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3f2a79){this['editor']['plugins']['get'](G)['scrollToPage'](_0x3f2a79);}};export{$ as Pagination,B as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0xcfdb27}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x17911c,InputNumberView as _0x57c964,View as _0x252320}from'@ckeditor/ckeditor5-ui';import{Rect as _0x37bc65,ResizeObserver as _0x2fbd87,env as _0x140ac1,first as _0x12a7df,global as _0x2bad89,keyCodes as _0x8faa3f,logWarning as _0x365c81,toUnit as _0x4b247b,uid as _0x261d1a}from'@ckeditor/ckeditor5-utils';import{debounce as _0x4d94fb}from'es-toolkit/compat';import{IconArrowDown as _0x2c7717,IconArrowUp as _0x16c68d}from'@ckeditor/ckeditor5-icons';var w=class extends _0xcfdb27{_recalculatePageBreaksDebounced=_0x4d94fb(()=>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 _0x365c81('pagination-config-not-found',this['editor']['config']);const _0x2bc129=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x2bc129),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x249078,_0x31e00a,_0x5ccc40)=>{_0x5ccc40&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x373ea3){const _0x770054='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x39f03a=0x793e0,_0x25f1d7={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x4fe5b9(_0x14039f){const _0x21507e=new window['Promise'](_0x348c06=>{_0x14039f['once']('ready',_0x348c06);}),_0x3e844f=window['Date']['now'](),_0x1c31fc=_0x14039f['config']['get']('licenseKey');async function _0x45b361(){let _0xb832bc,_0x34e2ee=null,_0x1a701d=null;try{return'GPL'==_0x1c31fc?'NotAllowed':(_0xb832bc=_0x2a19d0(),_0xb832bc?(_0xb832bc['usageEndpoint']&&(_0x1a701d=_0x2436da(_0xb832bc['usageEndpoint'],_0xb832bc['jti'])),await _0x297dc9()?_0x279345()?_0x26dfa0()?'Expired':_0x5da76c()?('evaluation'==_0xb832bc['licenseType']&&(_0x34e2ee=_0x3eb3f0('EvaluationLimit')),await _0x2af83e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x26dfa0(){const _0x647c73=['evaluation','trial']['includes'](_0xb832bc['licenseType'])?_0x3e844f/0x3e8:0xe10*_0x39f03a;return _0xb832bc['exp']<_0x647c73;}function _0x279345(){const _0x1c7f9b=_0xb832bc['features'];return!!_0x1c7f9b&&(!!_0x1c7f9b['includes']('*')||!!_0x1c7f9b['includes']('PAG'));}function _0x5da76c(){const _0x1fd320=_0xb832bc['licensedHosts'];if(!_0x1fd320||0x0==_0x1fd320['length'])return!0x0;const {hostname:_0x3cda84}=new URL(window['location']['href']);if(_0x1fd320['includes'](_0x3cda84))return!0x0;const _0xb40a1e=_0x3cda84['split']('.');return _0x1fd320['filter'](_0x441840=>_0x441840['includes']('*'))['map'](_0x5bd3b1=>_0x5bd3b1['split']('.'))['filter'](_0x10704a=>_0x10704a['length']<=_0xb40a1e['length'])['map'](_0x272728=>Array(_0xb40a1e['length']-_0x272728['length'])['fill']('*'===_0x272728[0x0]?'*':'')['concat'](_0x272728))['some'](_0x4c93ee=>_0xb40a1e['every']((_0x25752e,_0x44f534)=>_0x4c93ee[_0x44f534]===_0x25752e||'*'===_0x4c93ee[_0x44f534]));}function _0x2af83e(){return _0x34e2ee&&_0x1a701d?new window['Promise']((_0x25160c,_0x5e0eb3)=>{_0x34e2ee['then'](_0x25160c,_0x5e0eb3),_0x1a701d['then'](_0x74d148=>{'Valid'!=_0x74d148&&_0x25160c(_0x74d148);},_0x5e0eb3);}):_0x34e2ee||_0x1a701d||'Valid';}}function _0x2436da(_0x1dcb9e,_0x15f060){return new window['Promise'](_0x3533b8=>{if(_0x189256())return _0x3533b8('Valid');_0x27d2d4(),_0x14039f['decorate']('_sendUsageRequest');let _0x156a39=!0x1;const _0x59e845=_0x261d1a();function _0x4c16b4(_0x56eed3){return!!_0x56eed3&&('object'==typeof _0x56eed3||'function'==typeof _0x56eed3)&&'function'==typeof _0x56eed3['then']&&'function'==typeof _0x56eed3['catch'];}function _0x404122(_0x58c44b){_0x2acabd(_0x58c44b)['then'](_0x52643d=>_0x52643d&&'ok'==_0x52643d['status']?_0x2816ab(_0x29bfa8(_0x59e845+_0x15f060))!=_0x52643d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4231c8=>(_0x3752ef(),_0x4231c8),()=>{const _0x265fb6=_0x3520cd();return null==_0x265fb6?(_0x3752ef(),'Valid'):_0x3e844f-_0x265fb6>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3533b8)['catch'](()=>{_0x3533b8('UsageLimit');});const _0x3b964d=0x36ee80;function _0x3752ef(){const _0x541933='llct-'+_0x2816ab(_0x29bfa8(_0x1dcb9e)),_0x282303=_0x539080(_0x2816ab(window['Math']['ceil'](_0x3e844f/_0x3b964d)));window['localStorage']['setItem'](_0x541933,_0x282303);}function _0x3520cd(){const _0x24c7f9='llct-'+_0x2816ab(_0x29bfa8(_0x1dcb9e)),_0x499749=window['localStorage']['getItem'](_0x24c7f9);return _0x499749?window['parseInt'](_0x539080(_0x499749),0x10)*_0x3b964d:null;}function _0x2acabd(_0x48de32){return new window['Promise']((_0x282861,_0x4848d0)=>{_0x48de32['then'](_0x282861,_0x4848d0),window['setTimeout'](_0x4848d0,0x1d4c0);});}}_0x14039f['on']('_sendUsageRequest',(_0x426b12,_0x257400)=>{if(_0x257400[0x0]!=_0x1dcb9e)return _0x3533b8('UsageLimit');_0x257400[0x1]={..._0x257400[0x1],'requestId':_0x59e845};},{'priority':'high'}),_0x14039f['on']('_sendUsageRequest',_0x5b9c61=>{_0x4c16b4(_0x5b9c61['return'])&&(_0x156a39=!0x0,_0x404122(_0x5b9c61['return']));},{'priority':'low'}),_0x21507e['then'](()=>{_0x156a39||_0x3533b8('UsageLimit');});});function _0x189256(){return'auto'==_0x14039f['editing']['view']['_overlayModeHint'];}function _0x27d2d4(){_0x14039f['editing']['view']['_overlayModeHint']='auto';}}function _0x3eb3f0(_0x3ab05c){const _0x57384b=[new window['Promise'](_0x1decb1=>setTimeout(_0x1decb1,0x93ecc)),_0x21507e['then'](()=>new window['Promise'](_0x2c8434=>{let _0x5da093=0x0;_0x14039f['model']['on']('applyOperation',(_0x5e2d76,_0x23df56)=>{_0x23df56[0x0]['isDocumentOperation']&&_0x5da093++,0x5e8==_0x5da093&&(_0x2c8434(),_0x5e2d76['off']());});}))];return window['Promise']['race'](_0x57384b)['then'](()=>_0x3ab05c);}async function _0x3bee56(){await _0x21507e,_0x14039f['model']['change']=_0x5843c8,_0x14039f['model']['enqueueChange']=_0x5843c8,_0x14039f['enableReadOnlyMode']('model');}function _0x348a3b(_0x5fde4c){const _0x466b52=_0x1a81ed();_0x14039f[_0x466b52]='paginationLicenseKey'+_0x5fde4c,'Valid'!=_0x5fde4c&&_0x3bee56();}function _0x1a81ed(){const _0xa68564=window['String'](window['performance']['now']())['replace']('.','');let _0x594351='v';for(let _0xd233e9=0x0;_0xd233e9<_0xa68564['length'];_0xd233e9+=0x2){let _0x280480=window['parseInt'](_0xa68564['substring'](_0xd233e9,_0xd233e9+0x2));_0x280480>=0x3e&&(_0x280480-=0x3e),_0x594351+=_0x770054[_0x280480];}return _0x594351;}function _0x2a19d0(){const _0x2bb326=_0x1c31fc['split']('.');if(0x3!=_0x2bb326['length'])return null;return _0x3534cb(_0x2bb326[0x1]);function _0x3534cb(_0x194a5e){const _0x36dfbd=_0x3f54fc(_0x194a5e);return _0x36dfbd&&_0x53d7a4()?_0x36dfbd:null;function _0x53d7a4(){const _0x49c8f2=_0x36dfbd['jti'],_0x4aa440=window['parseInt'](_0x49c8f2['substring'](_0x49c8f2['length']-0x8),0x10),_0x499c87={..._0x36dfbd,'jti':_0x49c8f2['substring'](0x0,_0x49c8f2['length']-0x8)};return delete _0x499c87['vc'],_0x29bfa8(_0x499c87)==_0x4aa440;}}}async function _0x297dc9(){let _0x1f6c08=!0x0;try{const [_0x570822,_0x47a218,_0x1acdeb]=_0x1c31fc['split']('.');return _0x2036bf(_0x570822),await _0x3f4287(_0x570822,_0x47a218,_0x1acdeb),_0x1f6c08;}catch{return!0x1;}function _0x2036bf(_0x428eeb){const _0x404fcf=_0x3f54fc(_0x428eeb);_0x404fcf&&'ES256'==_0x404fcf['alg']||(_0x1f6c08=!0x1);}async function _0x3f4287(_0xa62f76,_0x3955eb,_0x131a93){const _0x1d7b55=window['Uint8Array']['from'](_0x79c8ef(_0x131a93),_0x8c1d37=>_0x8c1d37['charCodeAt'](0x0)),_0x1fa6c8=new window['TextEncoder']()['encode'](_0xa62f76+'.'+_0x3955eb),_0x1806ce=window['crypto']['subtle'];if(!_0x1806ce)return;const _0x2f551b=await _0x1806ce['importKey']('jwk',_0x25f1d7,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x1806ce['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2f551b,_0x1d7b55,_0x1fa6c8)||(_0x1f6c08=!0x1);}}function _0x3f54fc(_0x283f76){return _0x283f76['startsWith']('ey')?JSON['parse'](_0x79c8ef(_0x283f76)):null;}function _0x79c8ef(_0x28fdb2){return window['atob'](_0x28fdb2['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x29bfa8(_0x10490f){let _0x1253ea=0x1505;function _0x2b97ba(_0x2ab737){for(let _0x5f371e=0x0;_0x5f371e<_0x2ab737['length'];_0x5f371e++){const _0x5495c3=_0x2ab737['charCodeAt'](_0x5f371e);_0x1253ea=(_0x1253ea<<0x5)+_0x1253ea+_0x5495c3,_0x1253ea&=_0x1253ea;}}function _0x5d348e(_0x365d5c){Array['isArray'](_0x365d5c)?_0x365d5c['forEach'](_0x5d348e):_0x365d5c&&'object'==typeof _0x365d5c?Object['entries'](_0x365d5c)['sort']()['forEach'](([_0x3e6516,_0x4dee12])=>{_0x2b97ba(_0x3e6516),_0x5d348e(_0x4dee12);}):_0x2b97ba(window['String'](_0x365d5c));}return _0x5d348e(_0x10490f),_0x1253ea>>>0x0;}function _0x2816ab(_0xe8a8d){return _0xe8a8d['toString'](0x10)['padStart'](0x8,'0');}function _0x539080(_0x2f8cad){return _0x2f8cad['split']('')['reverse']()['join']('');}function _0x5843c8(){}_0x348a3b(await _0x45b361());}_0x4fe5b9(_0x373ea3['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x4a90c4=this['editor'],_0x16810b=_0x4a90c4['editing']['view'],_0x3b5493=this['_getAttachedDomRoot']();if(!_0x3b5493||!_0x3b5493['hasChildNodes']())return void _0x4a90c4['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x463b81,pageHeight:_0x125d0b}=_0x4a90c4['config']['get']('pagination'),{top:_0x5993c5,left:_0x1c934d,bottom:_0x3329dc,right:_0x4e7776}=this['_configuredPaddings'];this['_pagesContainer']=new _0x252320(_0x4a90c4['locale']);const _0x4fd27e=this['_pagesContainer'];_0x4fd27e['set']('class',''),_0x4fd27e['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x463b81,'width':_0x463b81,'height':'calc(\x20'+_0x125d0b+'\x20-\x20'+_0x5993c5+'\x20-\x20'+_0x3329dc+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4e7776+'\x200\x20'+_0x1c934d,'columnGap':'calc('+_0x1c934d+'\x20+\x20'+_0x4e7776+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x4fd27e['bindTemplate']['to']('class')}}),_0x4fd27e['render'](),_0x3b5493['parentNode']['insertBefore'](_0x4fd27e['element'],_0x3b5493['nextSibling']),this['listenTo'](_0x16810b,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x132c4a of this['editor']['editing']['view']['domRoots']['values']())if(_0x132c4a['ownerDocument']['body']['contains'](_0x132c4a))return _0x132c4a;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x57053c=this['editor']['editing']['view'],_0x2b1450=this['_pagesContainer'],_0x7a9e60=this['_getAttachedDomRoot']();if(!_0x7a9e60||!_0x2b1450)return Promise['resolve']();for(_0x2b1450['class']=['ck-reset','ck-pagination-view',..._0x7a9e60['classList']]['join']('\x20');_0x2b1450['element']['firstChild'];)_0x2b1450['element']['firstChild']['remove']();const _0x196b4d=Array['from'](_0x57053c['domRoots']);_0x196b4d['sort'](([,_0x3206c8],[,_0xb2748f])=>_0x3206c8['compareDocumentPosition'](_0xb2748f)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x152d48,_0x50b7fa]of _0x196b4d){const _0x225690=_0x50b7fa['cloneNode'](!0x0);'attributeStyleMap'in _0x225690&&_0x225690['attributeStyleMap']['clear'](),_0x225690['dataset']['rootName']=_0x152d48,_0x225690['className']='ck-content\x20ck-pagination_enabled',_0x225690['removeAttribute']('id'),_0x225690['tabIndex']=-0x1,_0x2b1450['element']['append'](_0x225690);}const _0x4dfa6d=Array['from'](_0x2b1450['element']['querySelectorAll']('img'));return function(_0x4d61d2){return Promise['all'](_0x4d61d2['map'](_0x4de49c=>Promise['race']([v(_0x4de49c),k(0x3e8)])));}(_0x4dfa6d)['then'](()=>{for(const _0x2ded0a of _0x4dfa6d['filter'](_0x53c864=>!_0x53c864['closest']('table')))if(_0x2ded0a['offsetParent']){const _0x16c6ed=_0x2bad89['window']['getComputedStyle'](_0x2ded0a),_0x24dcf0=_0x2bad89['document']['createElement']('span');for(const _0xbc35f6 of _0x16c6ed)_0x24dcf0['style']['setProperty'](_0xbc35f6,_0x16c6ed[_0xbc35f6]);_0x24dcf0['style']['backgroundImage']='url(\x20'+_0x2ded0a['src']+'\x20)',_0x24dcf0['style']['breakInside']='avoid','PICTURE'==_0x2ded0a['parentElement']?.['tagName']?_0x2ded0a['parentElement']['replaceWith'](_0x24dcf0):_0x2ded0a['replaceWith'](_0x24dcf0);}return new Promise(_0x280833=>_0x2bad89['window']['requestAnimationFrame'](()=>_0x280833()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x5d8665=this['_pagesContainer']['element'];if(!_0x5d8665['ownerDocument']['body']['contains'](_0x5d8665))return;const _0xaf9abb=new _0x37bc65(_0x5d8665)['excludeScrollbarsAndBorders'](),_0x376853=Math['floor'](_0xaf9abb['width']+0x64),_0x4d5100=_(_0x5d8665,Math['floor'](_0xaf9abb['left']-_0x5d8665['scrollLeft']),_0x376853,_0xaf9abb['height'])['map'](_0xea8377=>this['_mapPageStarterInfoToPageBreakInfo'](_0xea8377))['filter'](_0x727138=>!0x1!==_0x727138);_0x4d5100['every'](_0x5a7363=>!!_0x5a7363)&&(this['pageBreaks']=_0x4d5100);}_mapPageStarterInfoToPageBreakInfo(_0x45c6f2){const _0x54fe4f=this['editor']['editing']['view'],_0x134506=this['editor']['editing']['mapper'],_0x282e8f=_0x54fe4f['domConverter'],_0x3a3898=_0x45c6f2['path']['shift'](),_0x1c9665=this['_pagesContainer']['element']['childNodes'][_0x3a3898]['dataset']['rootName'],_0x1fa520=_0x54fe4f['getDomRoot'](_0x1c9665);if(!_0x1fa520)return null;const _0x25a989=function(_0x2ece1d,_0xfa763d){let _0x14cc89=_0x2ece1d;for(const _0xa85dc of _0xfa763d['path']){if(!_0x14cc89)return null;_0x14cc89=_0x14cc89['childNodes'][_0xa85dc];}return _0x14cc89;}(_0x1fa520,_0x45c6f2);if(!_0x25a989)return null;const _0x5029bd=_0x282e8f['domPositionToView'](_0x25a989,_0x45c6f2['textOffset']||0x0);return _0x5029bd?'manual'==_0x45c6f2['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5029bd,_0x25a989):'text'==_0x45c6f2['type']&&_0x134506['toModelPosition'](_0x5029bd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5029bd,_0x25a989,_0x45c6f2['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5029bd,_0x25a989,_0x45c6f2['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x4ac9f7,_0x276c15){const _0x58f6f5=this['editor']['model'],_0xde442b=this['editor']['editing']['mapper']['toModelElement'](_0x4ac9f7['parent']),_0x2392f5=_0x58f6f5['createRangeOn'](_0xde442b);return new y({'type':'manual','modelRange':_0x2392f5,'domNode':_0x276c15,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x1b6e4d,_0x178d54,_0x1ce7eb){const _0x37e424=this['editor']['model'],_0x5b9bca=this['editor']['editing']['mapper'],_0x598bc4=this['editor']['editing']['view']['domConverter'];if(_0x1ce7eb>=_0x178d54['length'])return null;const _0x1e343b=_0x5b9bca['toModelPosition'](_0x1b6e4d),_0x6d3649=_0x37e424['createRange'](_0x1e343b),_0x3f2472=_0x5b9bca['findMappedViewAncestor'](_0x1b6e4d),_0x444616=_0x598bc4['mapViewToDom'](_0x3f2472);return new y({'type':'text','modelRange':_0x6d3649,'domNode':_0x178d54,'offset':P(_0x178d54,_0x1ce7eb,_0x444616)});}_mapElementPageStarterInfoToPageBreakInfo(_0x36e506,_0x4ca62b,_0x4e5710){const _0x236b31=this['editor']['model'],_0x3100e2=this['editor']['editing'],_0x2276ce=_0x3100e2['mapper'],_0x4580da=_0x3100e2['view']['domConverter'],_0x41c95d=_0x2276ce['findMappedViewAncestor'](_0x36e506),_0x2f6232=_0x2276ce['toModelElement'](_0x41c95d);if(!_0x2f6232||_0x2f6232['is']('rootElement'))return!0x1;const _0x79f71e=function(_0x3de2e6){const _0x4f3f50=_0x3de2e6['parent'],_0x3b0606=_0x4f3f50['root']['document']['model'],_0x228a3d=_0x4f3f50['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x4e54fc=null;for(const _0x3911c0 of _0x228a3d){if(_0x3911c0['is']('rootElement'))return _0x4e54fc;if(!_0x3b0606['createPositionBefore'](_0x3911c0)['isTouching'](_0x3de2e6))return _0x4e54fc;_0x4e54fc=_0x3911c0;}}(_0x236b31['createPositionBefore'](_0x2f6232))||_0x2f6232;let _0x3e24ba=_0x2276ce['toViewElement'](_0x79f71e),_0x58d9b5=_0x236b31['createRangeOn'](_0x79f71e);const _0x3ac500=_0x236b31['createPositionBefore'](_0x79f71e)['nodeBefore'];if(_0x3ac500&&_0x3ac500['is']('element','imageBlock')){const _0x3b5ee3=_0x2276ce['toViewElement'](_0x3ac500),_0x4ae3c8=_0x4580da['mapViewToDom'](_0x3b5ee3),_0x341e38=_0x2bad89['window']['getComputedStyle'](_0x4ae3c8)['float'];'left'!=_0x341e38&&'right'!=_0x341e38||(_0x58d9b5=_0x236b31['createRangeOn'](_0x3ac500));}for(;_0x3e24ba['parent']!==_0x3e24ba['root']&&0x0===_0x3e24ba['index'];)_0x3e24ba=_0x3e24ba['parent'];const _0xf4c564=new _0x37bc65(K(_0x4ca62b)?_0x4ca62b:L(_0x4ca62b)),_0x4a8bf4=_0x4e5710?_0xf4c564['height']-_0x4e5710:0x0,_0x4697f5=_0x4580da['mapViewToDom'](_0x3e24ba),_0x57ec81=new _0x37bc65(_0x4697f5);return new y({'type':'element','modelRange':_0x58d9b5,'domNode':_0x4697f5,'offset':Math['round'](_0x4a8bf4)||_0x41c95d!=b(_0x36e506)?_0x4a8bf4+_0xf4c564['top']-_0x57ec81['top']:0x0});}get['_configuredPaddings'](){const _0x9f740f=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x9f740f);}static _findPageStarterInfos(_0x362300,_0xbf9f7e,_0x36b25c,_0x26bb49,_0x50c76c){return _(_0x362300,_0xbf9f7e,_0x36b25c,_0x26bb49,_0x50c76c);}},y=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x25b479,modelRange:_0xd54544,domNode:_0x5c25e4,offset:_0x283f18}){this['type']=_0x25b479,this['modelRange']=_0xd54544,this['_domNode']=_0x5c25e4,this['_offset']=_0x283f18;}get offset(){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x36a279=new _0x37bc65(K(this['_domNode'])?this['_domNode']:L(this['_domNode']));return'manual'==this['type']?_0x36a279['top']+_0x36a279['height']/0x2:_0x36a279['top']+this['_offset'];}};function P(_0x2b6338,_0x248cf8,_0x5b1e3f){const _0x579188=L(_0x2b6338),_0xea57e4=function(_0x5f2395){const _0xf9446c=_0x2bad89['document']['createRange']();return _0xf9446c['selectNodeContents'](_0x5f2395),_0xf9446c;}(_0x5b1e3f);let _0x4ce4ac;_0x4ce4ac=0x0==_0x248cf8?N(_0xea57e4['startContainer'],_0xea57e4['startOffset'],_0x2b6338['parentNode'],Array['from'](_0x2b6338['parentNode']['childNodes'])['indexOf'](_0x2b6338)):N(_0xea57e4['startContainer'],_0xea57e4['startOffset'],_0x2b6338,_0x248cf8);const _0x2f5c82=N(_0x2b6338,_0x248cf8,_0xea57e4['endContainer'],_0xea57e4['endOffset']),_0x26b7cc=new _0x37bc65(_0x4ce4ac)['bottom'];return(new _0x37bc65(_0x2f5c82)['top']+_0x26b7cc)/0x2-new _0x37bc65(_0x579188)['top'];}function b(_0xd50aa9){let _0x50f7e0=_0xd50aa9['parent'];for(;_0x50f7e0['is']('$text')||_0x50f7e0['is']('attributeElement');)_0x50f7e0=_0x50f7e0['parent'];return _0x50f7e0;}function v(_0x306c47){return _0x306c47['hasAttribute']('width')&&_0x306c47['hasAttribute']('height')?Promise['resolve']():new Promise(_0x176880=>{function _0x3b5cb9(){_0x306c47['removeEventListener']('load',_0x3b5cb9),_0x306c47['removeEventListener']('error',_0x3b5cb9),_0x176880();}_0x306c47['complete']?_0x176880():(_0x306c47['addEventListener']('load',_0x3b5cb9),_0x306c47['addEventListener']('error',_0x3b5cb9));});}function k(_0x341ce7){return new Promise(_0x2386d7=>setTimeout(_0x2386d7,_0x341ce7));}function L(_0x5102ae){const _0x3acc5b=_0x2bad89['document']['createRange']();return _0x3acc5b['selectNode'](_0x5102ae),_0x3acc5b;}function x(_0x4b50bd,_0x1e2916,_0x15c7aa){const _0xaa2662=_0x2bad89['document']['createRange']();return _0xaa2662['setStart'](_0x4b50bd,_0x1e2916),_0xaa2662['setEnd'](_0x4b50bd,_0x15c7aa),_0xaa2662;}function N(_0x34bd3e,_0x2265db,_0x31f074,_0x78e458){const _0x32cf06=_0x2bad89['document']['createRange']();return _0x32cf06['setStart'](_0x34bd3e,_0x2265db),_0x32cf06['setEnd'](_0x31f074,_0x78e458),_0x32cf06;}function _(_0x16f5d9,_0x4eda8e,_0x15d69a,_0xd7eeec,_0x32441e){const _0x434ec7=[];for(const [_0x4ec870,_0x2b0877]of _0x16f5d9['childNodes']['entries']()){let _0x5c7624=[];K(_0x2b0877)&&_0x2b0877['offsetParent']&&['static','relative']['includes'](_0x2bad89['window']['getComputedStyle'](_0x2b0877)['position'])?_0x5c7624=E(_0x2b0877,_0x4ec870,_0x4eda8e,_0x15d69a,_0xd7eeec,_0x32441e):O(_0x2b0877)&&(_0x5c7624=S(_0x2b0877,_0x4ec870,_0x4eda8e,_0x15d69a,_0x32441e)),_0x5c7624['length']&&(_0x434ec7['push'](..._0x5c7624),_0x4eda8e+=_0x5c7624['length']*_0x15d69a,_0x32441e=!0x1);}return _0x434ec7;}function E(_0x2f907e,_0x1c62c8,_0xc0bf80,_0x1ffb0f,_0x424972,_0x24ffc7){const _0xcf4e9f=[];var _0x18ea6f;if((_0x18ea6f=_0x2f907e['previousSibling'])&&K(_0x18ea6f)&&Boolean(_0x18ea6f['classList']['contains']('page-break')||_0x18ea6f['closest']('.page-break'))&&(_0xcf4e9f['push']({'type':'manual','offset':0x0,'path':[_0x1c62c8-0x1]}),_0x24ffc7=!0x0),'table-row'==_0x2bad89['window']['getComputedStyle'](_0x2f907e)['display']){let _0x11a6b2=0x0,_0x329dcc=!0x1;for(const _0x2cceaa of _0x2f907e['getClientRects']())_0x11a6b2+=_0x2cceaa['height'],_0x2cceaa['left']>=_0xc0bf80&&(_0x329dcc=!0x0);if(_0x11a6b2<_0x424972&&_0x329dcc)return _0x24ffc7||_0xcf4e9f['push']({'type':'element','offset':0x0,'path':[_0x1c62c8]}),_0xcf4e9f;}const _0x3db870=_0x2f907e['closest']('figure.image');if(_0x3db870&&function(_0x4f5685){let _0x29c143=!0x1;const _0x3d9ebf=_0x4f5685['parentElement']['dataset']['rootName'],_0x363888=_0x4f5685['nextElementSibling'],_0x9d78f4=_0x4f5685['previousElementSibling'],_0x3c7cd7=_0x363888&&_0x2bad89['window']['getComputedStyle'](_0x363888)['float'],_0x345ff4=_0x363888&&'ck-fake-selection-container'===_0x363888['className'];return!_0x3d9ebf||_0x363888||_0x9d78f4||(_0x29c143=!0x0),_0x3d9ebf&&!_0x9d78f4&&_0x345ff4&&(_0x29c143=!0x0),_0x3d9ebf&&!_0x9d78f4&&'none'!==_0x3c7cd7&&(_0x29c143=!0x0),!_0x29c143;}(_0x3db870)){const _0x4f62fd=_0x2bad89['window']['getComputedStyle'](_0x3db870)['float'];if('left'==_0x4f62fd||'right'==_0x4f62fd)return _0xcf4e9f;}const _0x34c533=_(_0x2f907e,_0xc0bf80,_0x1ffb0f,_0x424972,_0x24ffc7);if(_0x34c533['length']){for(const _0x49f1cd of _0x34c533)_0xcf4e9f['push']({'type':_0x49f1cd['type'],'offset':_0x49f1cd['offset'],'textOffset':_0x49f1cd['textOffset'],'path':[_0x1c62c8,..._0x49f1cd['path']]}),_0xc0bf80+=_0x1ffb0f;return _0xcf4e9f;}return _0xcf4e9f['push'](...function(_0x160632,_0x78f8a4,_0x2651ee,_0x12b704,_0x1af59e){const _0x1e3cc1=[];if('table-cell'==_0x2bad89['window']['getComputedStyle'](_0x160632)['display'])return[];const _0x33722a=[];for(const _0x1f3d53 of _0x160632['getClientRects']())if(_0x1f3d53['left']>=_0x2651ee){for(const _0x166e30 of _0x33722a)_0x166e30['height']+=_0x1f3d53['height'];_0x33722a['push']({'height':_0x1f3d53['height']}),_0x2651ee+=_0x12b704;}for(const _0x1751f2 of _0x33722a)_0x1af59e||_0x1e3cc1['push']({'type':'element','offset':_0x1751f2['height'],'textOffset':0x0,'path':[_0x78f8a4]}),_0x1af59e=!0x1;return _0x1e3cc1;}(_0x2f907e,_0x1c62c8,_0xc0bf80,_0x1ffb0f,_0x24ffc7)),_0xcf4e9f;}function S(_0x862883,_0x29ec92,_0x5de6bc,_0x314312,_0x68aa76){const _0x5ebc8e=L(_0x862883),_0xddb7fd=[];let _0x38a51e=0x0;for(const _0xd828e5 of _0x5ebc8e['getClientRects']())if(_0xd828e5['left']>=_0x5de6bc){const _0xadf20e=R(_0x862883,_0x38a51e,_0x5de6bc,_0x314312);_0x68aa76||_0xddb7fd['push']({'type':'text','path':[_0x29ec92],'textOffset':_0xadf20e}),_0x38a51e=_0xadf20e,_0x5de6bc+=_0x314312,_0x68aa76=!0x1;}return _0xddb7fd;}function R(_0x1169c8,_0x11d18a,_0x2b7652,_0x474a23){let _0x59abde=_0x11d18a,_0x4dcd52=_0x1169c8['length'];for(;_0x4dcd52-_0x59abde>0x1;){const _0xc548d2=Math['ceil']((_0x59abde+_0x4dcd52)/0x2);I(x(_0x1169c8,_0x59abde,_0xc548d2),_0x2b7652,_0x474a23)?_0x4dcd52=_0xc548d2:_0x59abde=_0xc548d2;}return _0x59abde;}function I(_0x4cc58c,_0x504779,_0x9c00f3){for(const _0x742728 of _0x4cc58c['getClientRects']())if(_0x742728['left']>=_0x504779&&_0x742728['left']<_0x504779+_0x9c00f3)return!0x0;return!0x1;}function K(_0x4976a6){return _0x4976a6['nodeType']==Node['ELEMENT_NODE'];}function O(_0x5a9bda){return _0x5a9bda['nodeType']==Node['TEXT_NODE'];}const A=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b247b('px');var U=class extends _0x252320{constructor(){super();const _0x95f7b2=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x95f7b2['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x95f7b2['if']('isVisible','ck-hidden',_0x2da0ca=>!_0x2da0ca)],'style':{'left':_0x95f7b2['to']('left',_0x1336e1=>A(_0x1336e1)),'top':_0x95f7b2['to']('top',_0x3fec64=>A(_0x3fec64)),'width':_0x95f7b2['to']('width',_0x5932c0=>A(_0x5932c0))}}});}},C=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x5d13d4){this['_viewCollection']=_0x5d13d4['ui']['view']['body'];}destroy(){for(const _0x4be2c9 of this['_hiddenLines'])_0x4be2c9['destroy']();}['cleanLines'](){for(const _0x519360 of this['_visibleLines'])_0x519360['isVisible']=!0x1,this['_hiddenLines']['add'](_0x519360);this['_visibleLines']['clear']();}['showLine'](_0x3f8256,_0x4725b2,_0x1b97ca,_0xd5e31){let _0xbb3d67;this['_hiddenLines']['size']?(_0xbb3d67=_0x12a7df(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xbb3d67)):_0xbb3d67=new U(),_0xbb3d67['set']({'pageNumber':_0xd5e31,'left':_0x3f8256,'top':_0x4725b2,'width':_0x1b97ca}),_0xbb3d67['isVisible']=!0x0,this['_viewCollection']['has'](_0xbb3d67)||this['_viewCollection']['add'](_0xbb3d67),this['_visibleLines']['add'](_0xbb3d67);}setViewCollection(_0xe6d2c9){for(const _0x225330 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x225330)&&this['_viewCollection']['remove'](_0x225330);this['_viewCollection']=_0xe6d2c9;}};const D='ck-pagination_enabled';var B=class extends _0xcfdb27{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',(_0x4dd632,_0x2387cc,_0x447fae)=>{_0x447fae||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x447fae);});}destroy(){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x2f9487){if(!this['isEnabled'])return;const _0x803833=_0x2f9487>0x1?this['_getPageBreakLineOffset'](_0x2f9487-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x803833-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x140ac1['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x5da6c7=this['editor'],_0x4be398=this['_getAttachedDomRoot']();_0x4be398?(this['_scrollableEditingRootDomAncestor']&&_0x5da6c7['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x59215b){let _0x5b4e02=_0x59215b;do{_0x5b4e02=_0x5b4e02['parentElement'];const _0xe7a217=_0x2bad89['window']['getComputedStyle'](_0x5b4e02)['overflowY'];if('auto'==_0xe7a217||'scroll'==_0xe7a217)break;}while('BODY'!=_0x5b4e02['tagName']);return _0x5b4e02;}(_0x4be398),_0x5da6c7['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x2fbd87(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5da6c7['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x2c0a2b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x2c0a2b['ui']['view']['listenTo'](_0x2bad89['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x2c0a2b['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x2282af of this['editor']['editing']['view']['domRoots']['values']())if(_0x2282af['ownerDocument']['body']['contains'](_0x2282af))return _0x2282af;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x2b642b=this['_getAttachedDomRoot'](),_0x26100b=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x2b642b||0x1==_0x26100b['length'])return void(this['pageNumber']=0x1);const _0x1020c9=new _0x37bc65(_0x2b642b)['excludeScrollbarsAndBorders'](),_0x3d92cc=new _0x37bc65(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x35bd64=_0x3d92cc['top']+_0x3d92cc['height']/0x3;let _0x22a1dc=!0x1;const _0x1ffe17=[];for(let _0x5d5750=0x1;_0x5d5750<_0x26100b['length'];_0x5d5750++){const _0x5b7645=this['_getPageBreakLineOffset'](_0x5d5750,_0x3d92cc);if(!_0x5b7645)continue;const _0x238eed=_0x3d92cc['top']+_0x5b7645-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1ffe17['push']({'pageOffsetTop':_0x238eed,'domRootRect':_0x1020c9,'domScrollableRect':_0x3d92cc,'pageNumber':_0x5d5750}),_0x238eed>_0x35bd64&&!_0x22a1dc&&(this['pageNumber']=_0x5d5750,_0x22a1dc=!0x0);}this['_renderPageBreakLines'](_0x1ffe17),_0x22a1dc||(this['pageNumber']=_0x26100b['length']);}['_renderPageBreakLines'](_0x45a998){const {scrollX:_0x1cf9b2,scrollY:_0x4c6c49}=_0x2bad89['window'];if(_0x45a998['length']){for(const {domScrollableRect:_0x211998,pageOffsetTop:_0x21debd,domRootRect:_0x1a44b6,pageNumber:_0x4c7fca}of _0x45a998)_0x211998['top']<_0x21debd&&_0x21debd<_0x211998['bottom']&&this['linesRepository']['showLine'](_0x1a44b6['left']+_0x1cf9b2,_0x21debd+_0x4c6c49,_0x1a44b6['width'],_0x4c7fca+0x1);}}_getPageBreakLineOffset(_0x2a8aab,_0x57516c=null){const _0x13bb70=this['_paginationLookupPlugin']['pageBreaks'][_0x2a8aab]['offset'];return _0x13bb70?(_0x57516c||(_0x57516c=new _0x37bc65(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x13bb70-_0x57516c['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x4d53df,_0x44e922=!0x0){const _0xb0a706=this['editor']['editing']['view'];_0xb0a706['change'](_0x4d585a=>{for(const _0xc4c5a6 of _0xb0a706['document']['roots'])_0x44e922?_0x4d585a['addClass'](_0x4d53df,_0xc4c5a6):_0x4d585a['removeClass'](_0x4d53df,_0xc4c5a6);});}};function T(_0x33d39a,_0x21e5ff,..._0x2064ba){const t=_0x33d39a['t'];switch(_0x21e5ff){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)',..._0x2064ba);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 _0x21e5ff;}}var G=class extends _0xcfdb27{['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 _0xb24af9=this['editor']['plugins']['get']('Pagination'),_0xdcfb1f=this['editor']['plugins']['get'](w),_0x1b8577=this['editor']['plugins']['get'](B);this['bind']('isEnabled')['to'](_0xb24af9),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x1b8577),this['listenTo'](_0xdcfb1f,'change:pageBreaks',(_0x2acc05,_0x31c835,_0x45fe13,_0x489781)=>{this['totalPages']=_0x45fe13['length'],this['_updatePageBreakMarkers'](_0x45fe13,_0x489781);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x41214f=[this['editor']];for(const _0x2c6002 of _0x41214f){let _0x5c16f5;for(const _0x1fdfe0 in _0x2c6002){const _0x479ab0=_0x1fdfe0,_0x52fc34=_0x2c6002[_0x479ab0];if('paginationLicenseKeyValid'==_0x52fc34||'paginationLicenseKeyInvalid'==_0x52fc34||'paginationLicenseKeyExpired'==_0x52fc34||'paginationLicenseKeyDomainLimit'==_0x52fc34||'paginationLicenseKeyNotAllowed'==_0x52fc34||'paginationLicenseKeyEvaluationLimit'==_0x52fc34||'paginationLicenseKeyUsageLimit'==_0x52fc34){delete _0x2c6002[_0x479ab0],_0x5c16f5=_0x52fc34,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x5c16f5&&_0x2c6002['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x5c16f5&&_0x2c6002['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x5c16f5&&_0x2c6002['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x5c16f5&&_0x2c6002['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x5c16f5&&_0x2c6002['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x5c16f5&&_0x2c6002['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3c28af){this['isEnabled']&&this['editor']['plugins']['get'](B)['scrollToPage'](this['_validatePageNumber'](_0x3c28af));}moveSelectionToPage(_0x45432e){if(!this['isEnabled'])return;const _0x1d83ac=this['editor'],_0x23aacd=this['editor']['plugins']['get'](w)['pageBreaks'][_0x45432e-0x1];_0x23aacd&&_0x1d83ac['model']['change'](_0x9ffda4=>{switch(_0x23aacd['type']){case'manual':{const _0x293c90=_0x1d83ac['model']['schema']['getNearestSelectionRange'](_0x23aacd['modelRange']['end'],'forward');_0x9ffda4['setSelection'](_0x293c90);break;}case'element':{const _0x31ff82=_0x1d83ac['model']['schema']['getNearestSelectionRange'](_0x23aacd['modelRange']['start'],'forward');_0x9ffda4['setSelection'](_0x31ff82);break;}case'text':{const _0x12a376=_0x23aacd['modelRange']['start'];if(_0x12a376['textNode']&&'\x20'===_0x12a376['textNode']['data'][_0x12a376['offset']]){const _0x36eb63=_0x9ffda4['createPositionAt'](_0x12a376['parent'],_0x12a376['offset']+0x1);_0x9ffda4['setSelection'](_0x36eb63);}else _0x9ffda4['setSelection'](_0x23aacd['modelRange']);}}_0x1d83ac['editing']['view']['focus']();});}goToNextPage(){const _0x241a14=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x241a14),this['scrollToPage'](_0x241a14);}['goToPreviousPage'](){const _0x4177a3=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4177a3),this['scrollToPage'](_0x4177a3);}_updatePageBreakMarkers(_0x8fec64,_0x20704d){const _0x301193=this['editor']['model'];this['isEnabled']&&_0x301193['change'](_0x476a41=>{for(let _0x3fd50f=0x1;_0x3fd50f<_0x8fec64['length'];_0x3fd50f++){const _0x424708=_0x8fec64[_0x3fd50f]['modelRange'],_0x37b569='pagination:'+(_0x3fd50f+0x1);_0x301193['markers']['has'](_0x37b569)?_0x476a41['updateMarker'](_0x37b569,{'range':_0x424708}):_0x476a41['addMarker'](_0x37b569,{'range':_0x424708,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3c6a50=_0x8fec64['length'];_0x3c6a50<_0x20704d['length'];_0x3c6a50++){const _0x1c97bc='pagination:'+(_0x3c6a50+0x1);_0x301193['markers']['has'](_0x1c97bc)&&_0x476a41['removeMarker'](_0x1c97bc);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x4b84df=>{_0x4b84df['on']('addMarker:pagination',(_0x57c15c,{markerRange:_0x2f3eb7,markerName:_0xd3558d},_0x14dbe5)=>{if(!_0x14dbe5['options']['pagination'])return;if(!_0x14dbe5['consumable']['consume'](_0x2f3eb7,_0x57c15c['name']))return;const _0x3253e5=_0x2f3eb7['getContainedElement']();let _0x357ff3=_0x3253e5?_0x14dbe5['mapper']['toViewElement'](_0x3253e5):null;if(!_0x357ff3){const _0x5656f3=_0x2f3eb7['start'];if(_0x14dbe5['schema']['checkChild'](_0x5656f3,'$text')){const _0x5d7e3b=_0x14dbe5['mapper']['toViewPosition'](_0x5656f3);_0x357ff3=_0x14dbe5['writer']['createContainerElement']('span'),_0x357ff3['getFillerOffset']=()=>null,_0x14dbe5['writer']['insert'](_0x5d7e3b,_0x357ff3);}else{const _0x394ef1=_0x5656f3['nodeAfter'];_0x357ff3=_0x14dbe5['mapper']['toViewElement'](_0x394ef1);}}for(;_0x357ff3['parent']!==_0x357ff3['root']&&0x0===_0x357ff3['index'];)_0x357ff3=_0x357ff3['parent'];const _0x41b686=_0xd3558d['substring'](0xb);_0x357ff3['hasClass']('page-break')||(_0x14dbe5['writer']['setStyle']('page-break-before','always',_0x357ff3),_0x14dbe5['writer']['setAttribute']('data-pagination-page',_0x41b686,_0x357ff3),_0x14dbe5['mapper']['bindElementToMarker'](_0x357ff3,_0xd3558d)),_0x57c15c['stop']();});});}_setupKeystrokes(){const _0x5bd662=this['editor'];_0x5bd662['keystrokes']['set']('Shift+Pageup',(_0xef4158,_0x40e391)=>{this['goToPreviousPage'](),_0x40e391();}),_0x5bd662['keystrokes']['set']('Shift+Pagedown',(_0x193cd1,_0x52ee8f)=>{this['goToNextPage'](),_0x52ee8f();}),_0x5bd662['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':T(_0x5bd662['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':T(_0x5bd662['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':T(_0x5bd662['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x1fabf1){return _0x1fabf1<0x1&&(_0x1fabf1=0x1),_0x1fabf1>this['totalPages']&&(_0x1fabf1=this['totalPages']),_0x1fabf1;}},V=class extends _0x252320{['pageNumberView'];constructor(_0x4f7315){super(_0x4f7315);const _0x2df3fb=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x57c964(_0x4f7315,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x1ff74c=>T(_0x4f7315,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x1ff74c)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x634a00=>!_0x634a00),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x2df3fb['if']('isEnabled','ck-disabled',_0x5f051c=>!_0x5f051c)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x2df3fb['to']('totalPages')}]}]});}['render'](){super['render']();const _0x528e2e=this['pageNumberView']['element'],_0x1b07f7=_0x4d2669=>{this['pageNumberView']['element']['value']=String(_0x4d2669);};_0x1b07f7(this['pageNumber']),this['on']('change:pageNumber',(_0x26a2f7,_0x5b78ad,_0x3be522)=>{_0x1b07f7(_0x3be522);}),this['listenTo'](_0x528e2e,'keydown',(_0x52a997,_0x501589)=>{if('ArrowUp'===_0x501589['key']||'ArrowDown'===_0x501589['key'])return void _0x501589['stopPropagation']();if(_0x501589['keyCode']!==_0x8faa3f['enter'])return;_0x501589['preventDefault']();const _0x8db8fd=_0x528e2e['valueAsNumber'];Number['isNaN'](_0x8db8fd)?_0x528e2e['value']=String(this['pageNumber']):(_0x528e2e['checkValidity']()?this['pageNumber']=_0x8db8fd:_0x8db8fd>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x528e2e['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x528e2e['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x528e2e,'blur',()=>{_0x528e2e['value']=String(this['pageNumber']);}),this['listenTo'](_0x528e2e,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},M=class extends _0xcfdb27{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x2b3a62=this['editor'],_0x250550=_0x2b3a62['plugins']['get']('PaginationEditing');_0x2b3a62['ui']['componentFactory']['add']('pageNavigation',_0x46e27c=>{const _0x2c89a0=new V(_0x46e27c);return _0x2c89a0['bind']('pageNumber')['to'](_0x250550),_0x2c89a0['bind']('totalPages')['to'](_0x250550),_0x2c89a0['bind']('isEnabled')['to'](_0x250550),_0x2c89a0['on']('navigation',(_0x4da979,_0x1e7395)=>{_0x250550['moveSelectionToPage'](_0x1e7395),_0x250550['scrollToPage'](_0x1e7395);}),_0x2c89a0;}),_0x2b3a62['ui']['componentFactory']['add']('nextPage',_0x5f3955=>{const _0x122a89=new _0x17911c(_0x5f3955);return _0x122a89['isEnabled']=!0x0,_0x122a89['label']=T(_0x2b3a62['locale'],'Go\x20to\x20next\x20page'),_0x122a89['icon']=_0x2c7717,_0x122a89['tooltip']=!0x0,_0x122a89['keystroke']='Shift+PageDown',_0x122a89['bind']('isEnabled')['to'](_0x250550),this['listenTo'](_0x122a89,'execute',()=>{_0x250550['goToNextPage']();}),_0x122a89;}),_0x2b3a62['ui']['componentFactory']['add']('previousPage',_0x27d945=>{const _0x17d774=new _0x17911c(_0x27d945);return _0x17d774['isEnabled']=!0x0,_0x17d774['label']=T(_0x2b3a62['locale'],'Go\x20to\x20previous\x20page'),_0x17d774['icon']=_0x16c68d,_0x17d774['tooltip']=!0x0,_0x17d774['keystroke']='Shift+PageUp',_0x17d774['bind']('isEnabled')['to'](_0x250550),this['listenTo'](_0x17d774,'execute',()=>{_0x250550['goToPreviousPage']();}),_0x17d774;});}},$=class extends _0xcfdb27{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[G,M];}constructor(_0x365a52){super(_0x365a52),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x57a843=this['editor']['plugins']['get'](G);this['bind']('pageNumber')['to'](_0x57a843),this['bind']('totalPages')['to'](_0x57a843),_0x140ac1['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x161198){this['editor']['plugins']['get'](G)['scrollToPage'](_0x161198);}};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)':''}
|
|
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)':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b63fd=>{const {af:_0xeaddd3}={'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)':''}}};_0x2b63fd['af']||={'dictionary':{},'getPluralForm':null},_0x2b63fd['af']['dictionary']=Object['assign'](_0x2b63fd['af']['dictionary'],_0xeaddd3['dictionary']),_0xeaddd3['getPluralForm']&&(_0x2b63fd['af']['getPluralForm']=_0xeaddd3['getPluralForm']);})(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إلى\
|
|
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إلى\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أيضاً)'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e5e13=>{const {ar:_0x2b950f}={'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إلى\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أيضاً)'}}};_0x2e5e13['ar']||={'dictionary':{},'getPluralForm':null},_0x2e5e13['ar']['dictionary']=Object['assign'](_0x2e5e13['ar']['dictionary'],_0x2b950f['dictionary']),_0x2b950f['getPluralForm']&&(_0x2e5e13['ar']['getPluralForm']=_0x2b950f['getPluralForm']);})(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)':''}
|
|
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)':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e3a05=>{const {ast:_0x3021e6}={'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)':''}}};_0x5e3a05['ast']||={'dictionary':{},'getPluralForm':null},_0x5e3a05['ast']['dictionary']=Object['assign'](_0x5e3a05['ast']['dictionary'],_0x3021e6['dictionary']),_0x3021e6['getPluralForm']&&(_0x5e3a05['ast']['getPluralForm']=_0x3021e6['getPluralForm']);})(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)':''}
|
|
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)':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x101410=>{const {az:_0x100153}={'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)':''}}};_0x101410['az']||={'dictionary':{},'getPluralForm':null},_0x101410['az']['dictionary']=Object['assign'](_0x101410['az']['dictionary'],_0x100153['dictionary']),_0x100153['getPluralForm']&&(_0x101410['az']['getPluralForm']=_0x100153['getPluralForm']);})(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)':''}
|
|
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)':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41ae6e=>{const {be:_0x36a9dc}={'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)':''}}};_0x41ae6e['be']||={'dictionary':{},'getPluralForm':null},_0x41ae6e['be']['dictionary']=Object['assign'](_0x41ae6e['be']['dictionary'],_0x36a9dc['dictionary']),_0x36a9dc['getPluralForm']&&(_0x41ae6e['be']['getPluralForm']=_0x36a9dc['getPluralForm']);})(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селекцията)'}
|
|
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селекцията)'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x8e81bc=>{const {bg:_0x428ad7}={'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селекцията)'}}};_0x8e81bc['bg']||={'dictionary':{},'getPluralForm':null},_0x8e81bc['bg']['dictionary']=Object['assign'](_0x8e81bc['bg']['dictionary'],_0x428ad7['dictionary']),_0x428ad7['getPluralForm']&&(_0x8e81bc['bg']['getPluralForm']=_0x428ad7['getPluralForm']);})(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নিন)'}
|
|
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নিন)'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x207f07=>{const {bn:_0x294203}={'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নিন)'}}};_0x207f07['bn']||={'dictionary':{},'getPluralForm':null},_0x207f07['bn']['dictionary']=Object['assign'](_0x207f07['bn']['dictionary'],_0x294203['dictionary']),_0x294203['getPluralForm']&&(_0x207f07['bn']['getPluralForm']=_0x294203['getPluralForm']);})(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)':''}
|
|
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)':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x73eec9=>{const {bs:_0x5ace79}={'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)':''}}};_0x73eec9['bs']||={'dictionary':{},'getPluralForm':null},_0x73eec9['bs']['dictionary']=Object['assign'](_0x73eec9['bs']['dictionary'],_0x5ace79['dictionary']),_0x5ace79['getPluralForm']&&(_0x73eec9['bs']['getPluralForm']=_0x5ace79['getPluralForm']);})(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ó)'}
|
|
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ó)'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x466e59=>{const {ca:_0x1a04de}={'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ó)'}}};_0x466e59['ca']||={'dictionary':{},'getPluralForm':null},_0x466e59['ca']['dictionary']=Object['assign'](_0x466e59['ca']['dictionary'],_0x1a04de['dictionary']),_0x1a04de['getPluralForm']&&(_0x466e59['ca']['getPluralForm']=_0x1a04de['getPluralForm']);})(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)'}
|
|
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)'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4937b2=>{const {cs:_0x4b0fd2}={'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)'}}};_0x4937b2['cs']||={'dictionary':{},'getPluralForm':null},_0x4937b2['cs']['dictionary']=Object['assign'](_0x4937b2['cs']['dictionary'],_0x4b0fd2['dictionary']),_0x4b0fd2['getPluralForm']&&(_0x4937b2['cs']['getPluralForm']=_0x4b0fd2['getPluralForm']);})(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)'}
|
|
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)'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a8a40=>{const {da:_0x4b6ec7}={'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)'}}};_0x5a8a40['da']||={'dictionary':{},'getPluralForm':null},_0x5a8a40['da']['dictionary']=Object['assign'](_0x5a8a40['da']['dictionary'],_0x4b6ec7['dictionary']),_0x4b6ec7['getPluralForm']&&(_0x5a8a40['da']['getPluralForm']=_0x4b6ec7['getPluralForm']);})(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)':''}
|
|
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)':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ee4ac=>{const {'de-ch':_0x334799}={'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)':''}}};_0x1ee4ac['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1ee4ac['de-ch']['dictionary']=Object['assign'](_0x1ee4ac['de-ch']['dictionary'],_0x334799['dictionary']),_0x334799['getPluralForm']&&(_0x1ee4ac['de-ch']['getPluralForm']=_0x334799['getPluralForm']);})(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)'}
|
|
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)'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1befc2=>{const {de:_0x43d929}={'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)'}}};_0x1befc2['de']||={'dictionary':{},'getPluralForm':null},_0x1befc2['de']['dictionary']=Object['assign'](_0x1befc2['de']['dictionary'],_0x43d929['dictionary']),_0x43d929['getPluralForm']&&(_0x1befc2['de']['getPluralForm']=_0x43d929['getPluralForm']);})(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μετακίνησης)'}
|
|
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μετακίνησης)'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x398abd=>{const {el:_0x195b82}={'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μετακίνησης)'}}};_0x398abd['el']||={'dictionary':{},'getPluralForm':null},_0x398abd['el']['dictionary']=Object['assign'](_0x398abd['el']['dictionary'],_0x195b82['dictionary']),_0x195b82['getPluralForm']&&(_0x398abd['el']['getPluralForm']=_0x195b82['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|