@ckeditor/ckeditor5-pagination 49.0.0-alpha.1 → 49.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.umd.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 _0x394059}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x55bb95,InputNumberView as _0x16f11a,View as _0x3dce57}from'@ckeditor/ckeditor5-ui';import{Rect as _0x467f92,ResizeObserver as _0x567e47,env as _0x29cab9,findClosestScrollableAncestor as _0x1d0bdb,first as _0x2cd610,getParentElement as _0x135525,getParentNode as _0x3e7e72,getPositionedAncestor as _0x2c78b6,global as _0x39ac14,keyCodes as _0x14c526,logWarning as _0x40c8ea,toUnit as _0x289924,uid as _0xbe1af8}from'@ckeditor/ckeditor5-utils';import{debounce as _0x47215e}from'es-toolkit/compat';import{IconArrowDown as _0x274e7a,IconArrowUp as _0x2a723c}from'@ckeditor/ckeditor5-icons';var v=class extends _0x394059{_recalculatePageBreaksDebounced=_0x47215e(()=>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 _0x40c8ea('pagination-config-not-found',this['editor']['config']);const _0x2603e7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x2603e7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x357071,_0x34eaea,_0x167633)=>{_0x167633&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x28d436){const _0x3a455a='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x36c620=0x79728,_0x98b0f2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x52205d(_0x578912){const _0x23182b=new window['Promise'](_0x41cf81=>{_0x578912['once']('ready',_0x41cf81);}),_0x1e3fe9=window['Date']['now'](),_0x3bc679=_0x578912['config']['get']('licenseKey');async function _0x296b0b(){let _0x15a5f2,_0x437c1c=null,_0x4ace17=null;try{return'GPL'==_0x3bc679?'NotAllowed':(_0x15a5f2=_0x5dbac0(),_0x15a5f2?(_0x15a5f2['usageEndpoint']&&(_0x4ace17=_0x191fe7(_0x15a5f2['usageEndpoint'],_0x15a5f2['jti'])),await _0x422208()?_0x3b7a18()?_0x233dc2()?'Expired':_0x4dee62()?('evaluation'==_0x15a5f2['licenseType']&&(_0x437c1c=_0x18701c('EvaluationLimit')),await _0xf0fb25()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x233dc2(){const _0x4e8de7=['evaluation','trial']['includes'](_0x15a5f2['licenseType'])?_0x1e3fe9/0x3e8:0xe10*_0x36c620;return _0x15a5f2['exp']<_0x4e8de7;}function _0x3b7a18(){const _0x3c8a50=_0x15a5f2['features'];return!!_0x3c8a50&&(!!_0x3c8a50['includes']('*')||!!_0x3c8a50['includes']('PAG'));}function _0x4dee62(){const _0x38c352=_0x15a5f2['licensedHosts'];if(!_0x38c352||0x0==_0x38c352['length'])return!0x0;const {hostname:_0x22f344}=new URL(window['location']['href']);if(_0x38c352['includes'](_0x22f344))return!0x0;const _0xd37a50=_0x22f344['split']('.');return _0x38c352['filter'](_0x3d5a6e=>_0x3d5a6e['includes']('*'))['map'](_0x5bcbd9=>_0x5bcbd9['split']('.'))['filter'](_0x30c5a6=>_0x30c5a6['length']<=_0xd37a50['length'])['map'](_0x166303=>Array(_0xd37a50['length']-_0x166303['length'])['fill']('*'===_0x166303[0x0]?'*':'')['concat'](_0x166303))['some'](_0x217e65=>_0xd37a50['every']((_0x5f527d,_0x47daf2)=>_0x217e65[_0x47daf2]===_0x5f527d||'*'===_0x217e65[_0x47daf2]));}function _0xf0fb25(){return _0x437c1c&&_0x4ace17?new window['Promise']((_0x3772fa,_0xc94662)=>{_0x437c1c['then'](_0x3772fa,_0xc94662),_0x4ace17['then'](_0x2c3f0c=>{'Valid'!=_0x2c3f0c&&_0x3772fa(_0x2c3f0c);},_0xc94662);}):_0x437c1c||_0x4ace17||'Valid';}}function _0x191fe7(_0x10d9d2,_0x6c7ff1){return new window['Promise'](_0x26e230=>{if(_0x2c412f())return _0x26e230('Valid');_0x77af33(),_0x578912['decorate']('_sendUsageRequest');let _0x545a5d=!0x1;const _0x1cac75=_0xbe1af8();function _0x16fe3(_0x549c7f){return!!_0x549c7f&&('object'==typeof _0x549c7f||'function'==typeof _0x549c7f)&&'function'==typeof _0x549c7f['then']&&'function'==typeof _0x549c7f['catch'];}function _0x5ca7eb(_0x1b4101){_0x1e98b7(_0x1b4101)['then'](_0x36c8d4=>_0x36c8d4&&'ok'==_0x36c8d4['status']?_0x55ce31(_0x5016c4(_0x1cac75+_0x6c7ff1))!=_0x36c8d4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x28c09a=>(_0x286559(),_0x28c09a),()=>{const _0x30b97f=_0x11f91b();return null==_0x30b97f?(_0x286559(),'Valid'):_0x1e3fe9-_0x30b97f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x26e230)['catch'](()=>{_0x26e230('UsageLimit');});const _0x4ab211=0x36ee80;function _0x286559(){const _0x5a9417='llct-'+_0x55ce31(_0x5016c4(_0x10d9d2)),_0x584411=_0x54b651(_0x55ce31(window['Math']['ceil'](_0x1e3fe9/_0x4ab211)));window['localStorage']['setItem'](_0x5a9417,_0x584411);}function _0x11f91b(){const _0x5bd817='llct-'+_0x55ce31(_0x5016c4(_0x10d9d2)),_0x706681=window['localStorage']['getItem'](_0x5bd817);return _0x706681?window['parseInt'](_0x54b651(_0x706681),0x10)*_0x4ab211:null;}function _0x1e98b7(_0x255d63){return new window['Promise']((_0x4a96af,_0x1e3be4)=>{_0x255d63['then'](_0x4a96af,_0x1e3be4),window['setTimeout'](_0x1e3be4,0x1d4c0);});}}_0x578912['on']('_sendUsageRequest',(_0xd0b218,_0x5369c7)=>{if(_0x5369c7[0x0]!=_0x10d9d2)return _0x26e230('UsageLimit');_0x5369c7[0x1]={..._0x5369c7[0x1],'requestId':_0x1cac75};},{'priority':'high'}),_0x578912['on']('_sendUsageRequest',_0x3109a8=>{_0x16fe3(_0x3109a8['return'])&&(_0x545a5d=!0x0,_0x5ca7eb(_0x3109a8['return']));},{'priority':'low'}),_0x23182b['then'](()=>{_0x545a5d||_0x26e230('UsageLimit');});});function _0x2c412f(){return'auto'==_0x578912['editing']['view']['_overlayModeHint'];}function _0x77af33(){_0x578912['editing']['view']['_overlayModeHint']='auto';}}function _0x18701c(_0x4aa540){const _0x46ae39=[new window['Promise'](_0x36b2d0=>setTimeout(_0x36b2d0,0x93ecc)),_0x23182b['then'](()=>new window['Promise'](_0x3f37e8=>{let _0x4ba8ff=0x0;_0x578912['model']['on']('applyOperation',(_0x4c8fc1,_0x3fd564)=>{_0x3fd564[0x0]['isDocumentOperation']&&_0x4ba8ff++,0x5e8==_0x4ba8ff&&(_0x3f37e8(),_0x4c8fc1['off']());});}))];return window['Promise']['race'](_0x46ae39)['then'](()=>_0x4aa540);}async function _0x42f525(){await _0x23182b,_0x578912['model']['change']=_0x3f319b,_0x578912['model']['enqueueChange']=_0x3f319b,_0x578912['enableReadOnlyMode']('model');}function _0x34980f(_0x336632){const _0x4cee81=_0x57c6d6();_0x578912[_0x4cee81]='paginationLicenseKey'+_0x336632,'Valid'!=_0x336632&&_0x42f525();}function _0x57c6d6(){const _0x1f524a=window['String'](window['performance']['now']())['replace']('.','');let _0x1684b1='v';for(let _0x3bc76f=0x0;_0x3bc76f<_0x1f524a['length'];_0x3bc76f+=0x2){let _0x47c749=window['parseInt'](_0x1f524a['substring'](_0x3bc76f,_0x3bc76f+0x2));_0x47c749>=0x3e&&(_0x47c749-=0x3e),_0x1684b1+=_0x3a455a[_0x47c749];}return _0x1684b1;}function _0x5dbac0(){const _0x4dd402=_0x3bc679['split']('.');if(0x3!=_0x4dd402['length'])return null;return _0xd042c4(_0x4dd402[0x1]);function _0xd042c4(_0x521355){const _0x562a16=_0x4222fa(_0x521355);return _0x562a16&&_0x24d0cb()?_0x562a16:null;function _0x24d0cb(){const _0x1f1ba0=_0x562a16['jti'],_0x47cb59=window['parseInt'](_0x1f1ba0['substring'](_0x1f1ba0['length']-0x8),0x10),_0x5e4a3c={..._0x562a16,'jti':_0x1f1ba0['substring'](0x0,_0x1f1ba0['length']-0x8)};return delete _0x5e4a3c['vc'],_0x5016c4(_0x5e4a3c)==_0x47cb59;}}}async function _0x422208(){let _0x156b59=!0x0;try{const [_0x359cf6,_0x57ba99,_0x4fb853]=_0x3bc679['split']('.');return _0x2b6fb3(_0x359cf6),await _0x3d161c(_0x359cf6,_0x57ba99,_0x4fb853),_0x156b59;}catch{return!0x1;}function _0x2b6fb3(_0x3d8d24){const _0x3c7957=_0x4222fa(_0x3d8d24);_0x3c7957&&'ES256'==_0x3c7957['alg']||(_0x156b59=!0x1);}async function _0x3d161c(_0x1f6d86,_0x1b1a35,_0x486326){const _0x48a56a=window['Uint8Array']['from'](_0x1cc6f2(_0x486326),_0x3e5df2=>_0x3e5df2['charCodeAt'](0x0)),_0x42713d=new window['TextEncoder']()['encode'](_0x1f6d86+'.'+_0x1b1a35),_0x35eec4=window['crypto']['subtle'];if(!_0x35eec4)return;const _0x46513f=await _0x35eec4['importKey']('jwk',_0x98b0f2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x35eec4['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x46513f,_0x48a56a,_0x42713d)||(_0x156b59=!0x1);}}function _0x4222fa(_0x1ced89){return _0x1ced89['startsWith']('ey')?JSON['parse'](_0x1cc6f2(_0x1ced89)):null;}function _0x1cc6f2(_0x1b6144){return window['atob'](_0x1b6144['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5016c4(_0x1057d6){let _0x52479d=0x1505;function _0x2b88d0(_0x16ee2d){for(let _0x262d9a=0x0;_0x262d9a<_0x16ee2d['length'];_0x262d9a++){const _0x4799aa=_0x16ee2d['charCodeAt'](_0x262d9a);_0x52479d=(_0x52479d<<0x5)+_0x52479d+_0x4799aa,_0x52479d&=_0x52479d;}}function _0xdeb525(_0x24fdf0){Array['isArray'](_0x24fdf0)?_0x24fdf0['forEach'](_0xdeb525):_0x24fdf0&&'object'==typeof _0x24fdf0?Object['entries'](_0x24fdf0)['sort']()['forEach'](([_0xb8301f,_0x408cef])=>{_0x2b88d0(_0xb8301f),_0xdeb525(_0x408cef);}):_0x2b88d0(window['String'](_0x24fdf0));}return _0xdeb525(_0x1057d6),_0x52479d>>>0x0;}function _0x55ce31(_0xc81d42){return _0xc81d42['toString'](0x10)['padStart'](0x8,'0');}function _0x54b651(_0x2fba98){return _0x2fba98['split']('')['reverse']()['join']('');}function _0x3f319b(){}_0x34980f(await _0x296b0b());}_0x52205d(_0x28d436['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x28eb14=this['editor'],_0x15f75e=_0x28eb14['editing']['view'],_0x28db89=this['_getAttachedDomRoot']();if(!_0x28db89||!_0x28db89['hasChildNodes']())return void _0x28eb14['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x549c44,pageHeight:_0x209508}=_0x28eb14['config']['get']('pagination'),{top:_0xf1eb64,left:_0x2ec2e0,bottom:_0x1ee987,right:_0x4169d9}=this['_configuredPaddings'];this['_pagesContainer']=new _0x3dce57(_0x28eb14['locale']);const _0x5d8594=this['_pagesContainer'];_0x5d8594['set']('class',''),_0x5d8594['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x549c44,'width':_0x549c44,'height':'calc(\x20'+_0x209508+'\x20-\x20'+_0xf1eb64+'\x20-\x20'+_0x1ee987+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4169d9+'\x200\x20'+_0x2ec2e0,'columnGap':'calc('+_0x2ec2e0+'\x20+\x20'+_0x4169d9+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x5d8594['bindTemplate']['to']('class')}}),_0x5d8594['render'](),_0x3e7e72(_0x28db89)['insertBefore'](_0x5d8594['element'],_0x28db89['nextSibling']),this['listenTo'](_0x15f75e,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x4cde54 of this['editor']['editing']['view']['domRoots']['values']())if(_0x4cde54['isConnected'])return _0x4cde54;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x5a50ba=this['editor']['editing']['view'],_0x30c196=this['_pagesContainer'],_0x78a720=this['_getAttachedDomRoot']();if(!_0x78a720||!_0x30c196)return Promise['resolve']();for(_0x30c196['class']=['ck-reset','ck-pagination-view',..._0x78a720['classList']]['join']('\x20');_0x30c196['element']['firstChild'];)_0x30c196['element']['firstChild']['remove']();const _0x59e71d=Array['from'](_0x5a50ba['domRoots']);_0x59e71d['sort'](([,_0x2a1c2b],[,_0x295c94])=>_0x2a1c2b['compareDocumentPosition'](_0x295c94)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1fac1,_0x2fba36]of _0x59e71d){const _0x5d8f79=_0x2fba36['cloneNode'](!0x0);'attributeStyleMap'in _0x5d8f79&&_0x5d8f79['attributeStyleMap']['clear'](),_0x5d8f79['dataset']['rootName']=_0x1fac1,_0x5d8f79['className']='ck-content\x20ck-pagination_enabled',_0x5d8f79['removeAttribute']('id'),_0x5d8f79['tabIndex']=-0x1,_0x30c196['element']['append'](_0x5d8f79);}const _0x274271=Array['from'](_0x30c196['element']['querySelectorAll']('img'));return function(_0x397ec1){return Promise['all'](_0x397ec1['map'](_0x3a8edb=>Promise['race']([N(_0x3a8edb),_(0x3e8)])));}(_0x274271)['then'](()=>{for(const _0x371302 of _0x274271['filter'](_0x546603=>!_0x546603['closest']('table')))if(_0x371302['offsetParent']){const _0x2632a4=_0x39ac14['window']['getComputedStyle'](_0x371302),_0x4f4a3d=_0x39ac14['document']['createElement']('span');for(const _0x47ebd5 of _0x2632a4)_0x4f4a3d['style']['setProperty'](_0x47ebd5,_0x2632a4[_0x47ebd5]);_0x4f4a3d['style']['backgroundImage']='url(\x20'+_0x371302['src']+'\x20)',_0x4f4a3d['style']['breakInside']='avoid','PICTURE'==_0x371302['parentElement']?.['tagName']?_0x371302['parentElement']['replaceWith'](_0x4f4a3d):_0x371302['replaceWith'](_0x4f4a3d);}return new Promise(_0x141f65=>_0x39ac14['window']['requestAnimationFrame'](()=>_0x141f65()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x91cd79=this['_pagesContainer']['element'];if(!_0x91cd79['isConnected'])return;const _0x11aafc=new _0x467f92(_0x91cd79)['excludeScrollbarsAndBorders'](),_0x10404a=Math['floor'](_0x11aafc['width']+0x64),_0x5a5ca9=I(_0x91cd79,Math['floor'](_0x11aafc['left']-_0x91cd79['scrollLeft']),_0x10404a,_0x11aafc['height'])['map'](_0x13f4f5=>this['_mapPageStarterInfoToPageBreakInfo'](_0x13f4f5))['filter'](_0x2a0b73=>!0x1!==_0x2a0b73);_0x5a5ca9['every'](_0xafa804=>!!_0xafa804)&&(this['pageBreaks']=_0x5a5ca9);}_mapPageStarterInfoToPageBreakInfo(_0x208b4d){const _0xef7716=this['editor']['editing']['view'],_0x31865c=this['editor']['editing']['mapper'],_0x854980=_0xef7716['domConverter'],_0x39cc13=_0x208b4d['path']['shift'](),_0x2746da=this['_pagesContainer']['element']['childNodes'][_0x39cc13]['dataset']['rootName'],_0x271e2d=_0xef7716['getDomRoot'](_0x2746da);if(!_0x271e2d)return null;const _0xeba30b=function(_0x55ff98,_0x4fc3ed){let _0x355aa3=_0x55ff98;for(const _0x26ea15 of _0x4fc3ed['path']){if(!_0x355aa3)return null;_0x355aa3=_0x355aa3['childNodes'][_0x26ea15];}return _0x355aa3;}(_0x271e2d,_0x208b4d);if(!_0xeba30b)return null;const _0x1d3783=_0x854980['domPositionToView'](_0xeba30b,_0x208b4d['textOffset']||0x0);return _0x1d3783?'manual'==_0x208b4d['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1d3783,_0xeba30b):'text'==_0x208b4d['type']&&_0x31865c['toModelPosition'](_0x1d3783)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1d3783,_0xeba30b,_0x208b4d['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1d3783,_0xeba30b,_0x208b4d['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x21048b,_0x41ab9d){const _0x434314=this['editor']['model'],_0x49dfc7=this['editor']['editing']['mapper']['toModelElement'](_0x21048b['parent']),_0x41b2fc=_0x434314['createRangeOn'](_0x49dfc7);return new k({'type':'manual','modelRange':_0x41b2fc,'domNode':_0x41ab9d,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x4fb094,_0x14fecc,_0x130770){const _0x4533f1=this['editor']['model'],_0x2e4d77=this['editor']['editing']['mapper'],_0x208293=this['editor']['editing']['view']['domConverter'];if(_0x130770>=_0x14fecc['length'])return null;const _0x3fabb6=_0x2e4d77['toModelPosition'](_0x4fb094),_0x3a2f93=_0x4533f1['createRange'](_0x3fabb6),_0x396af6=_0x2e4d77['findMappedViewAncestor'](_0x4fb094),_0x52d989=_0x208293['mapViewToDom'](_0x396af6);return new k({'type':'text','modelRange':_0x3a2f93,'domNode':_0x14fecc,'offset':L(_0x14fecc,_0x130770,_0x52d989)});}_mapElementPageStarterInfoToPageBreakInfo(_0x3c8df0,_0x35e2ea,_0x3cbd74){const _0x342b76=this['editor']['model'],_0x8ba276=this['editor']['editing'],_0xd8c6fa=_0x8ba276['mapper'],_0x2d33d8=_0x8ba276['view']['domConverter'],_0x31c3fc=_0xd8c6fa['findMappedViewAncestor'](_0x3c8df0),_0x16caa2=_0xd8c6fa['toModelElement'](_0x31c3fc);if(!_0x16caa2||_0x16caa2['is']('rootElement'))return!0x1;const _0x224640=function(_0x2f8d22){const _0x414a59=_0x2f8d22['parent'],_0x19e52a=_0x414a59['root']['document']['model'],_0x2c844b=_0x414a59['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x300611=null;for(const _0x820e08 of _0x2c844b){if(_0x820e08['is']('rootElement'))return _0x300611;if(!_0x19e52a['createPositionBefore'](_0x820e08)['isTouching'](_0x2f8d22))return _0x300611;_0x300611=_0x820e08;}}(_0x342b76['createPositionBefore'](_0x16caa2))||_0x16caa2;let _0x1245ca=_0xd8c6fa['toViewElement'](_0x224640),_0x4f18eb=_0x342b76['createRangeOn'](_0x224640);const _0xe0d180=_0x342b76['createPositionBefore'](_0x224640)['nodeBefore'];if(_0xe0d180&&_0xe0d180['is']('element','imageBlock')){const _0x508b4e=_0xd8c6fa['toViewElement'](_0xe0d180),_0x356398=_0x2d33d8['mapViewToDom'](_0x508b4e),_0x3345a9=_0x39ac14['window']['getComputedStyle'](_0x356398)['float'];'left'!=_0x3345a9&&'right'!=_0x3345a9||(_0x4f18eb=_0x342b76['createRangeOn'](_0xe0d180));}for(;_0x1245ca['parent']!==_0x1245ca['root']&&0x0===_0x1245ca['index'];)_0x1245ca=_0x1245ca['parent'];const _0x15feff=new _0x467f92(C(_0x35e2ea)?_0x35e2ea:E(_0x35e2ea)),_0x4b32cc=_0x3cbd74?_0x15feff['height']-_0x3cbd74:0x0,_0xe4f6a0=_0x2d33d8['mapViewToDom'](_0x1245ca),_0x271eba=new _0x467f92(_0xe4f6a0);return new k({'type':'element','modelRange':_0x4f18eb,'domNode':_0xe4f6a0,'offset':Math['round'](_0x4b32cc)||_0x31c3fc!=x(_0x3c8df0)?_0x4b32cc+_0x15feff['top']-_0x271eba['top']:0x0});}get['_configuredPaddings'](){const _0x5e0c1b=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x5e0c1b);}static _findPageStarterInfos(_0x5e77f4,_0x398ed8,_0x4b56dd,_0x5c85fa,_0x420794){return I(_0x5e77f4,_0x398ed8,_0x4b56dd,_0x5c85fa,_0x420794);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x90d4fc,modelRange:_0x1c56cd,domNode:_0x3e0b06,offset:_0x2d9336}){this['type']=_0x90d4fc,this['modelRange']=_0x1c56cd,this['_domNode']=_0x3e0b06,this['_offset']=_0x2d9336;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x374d9a=new _0x467f92(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x374d9a['top']+_0x374d9a['height']/0x2:_0x374d9a['top']+this['_offset'];}};function L(_0x31844e,_0x24288f,_0x42a464){const _0x2c04b4=E(_0x31844e),_0xed4ec0=function(_0x84175c){const _0x13fb6c=_0x39ac14['document']['createRange']();return _0x13fb6c['selectNodeContents'](_0x84175c),_0x13fb6c;}(_0x42a464);let _0x478d53;if(0x0==_0x24288f){const _0x31741a=_0x3e7e72(_0x31844e);_0x478d53=R(_0xed4ec0['startContainer'],_0xed4ec0['startOffset'],_0x31741a,Array['from'](_0x31741a['childNodes'])['indexOf'](_0x31844e));}else _0x478d53=R(_0xed4ec0['startContainer'],_0xed4ec0['startOffset'],_0x31844e,_0x24288f);const _0x41a63b=R(_0x31844e,_0x24288f,_0xed4ec0['endContainer'],_0xed4ec0['endOffset']),_0x4a1c9a=new _0x467f92(_0x478d53)['bottom'];return(new _0x467f92(_0x41a63b)['top']+_0x4a1c9a)/0x2-new _0x467f92(_0x2c04b4)['top'];}function x(_0x25671e){let _0x478549=_0x25671e['parent'];for(;_0x478549['is']('$text')||_0x478549['is']('attributeElement');)_0x478549=_0x478549['parent'];return _0x478549;}function N(_0x3a557f){return _0x3a557f['hasAttribute']('width')&&_0x3a557f['hasAttribute']('height')?Promise['resolve']():new Promise(_0x36743f=>{function _0x35f89f(){_0x3a557f['removeEventListener']('load',_0x35f89f),_0x3a557f['removeEventListener']('error',_0x35f89f),_0x36743f();}_0x3a557f['complete']?_0x36743f():(_0x3a557f['addEventListener']('load',_0x35f89f),_0x3a557f['addEventListener']('error',_0x35f89f));});}function _(_0xdfeac9){return new Promise(_0x354e33=>setTimeout(_0x354e33,_0xdfeac9));}function E(_0x5c477d){const _0x2d4e87=_0x39ac14['document']['createRange']();return _0x2d4e87['selectNode'](_0x5c477d),_0x2d4e87;}function S(_0x2d0605,_0x4f1943,_0x690299){const _0x38433e=_0x39ac14['document']['createRange']();return _0x38433e['setStart'](_0x2d0605,_0x4f1943),_0x38433e['setEnd'](_0x2d0605,_0x690299),_0x38433e;}function R(_0x2a669f,_0x11ebb4,_0x44d390,_0x4b0855){const _0x4512e5=_0x39ac14['document']['createRange']();return _0x4512e5['setStart'](_0x2a669f,_0x11ebb4),_0x4512e5['setEnd'](_0x44d390,_0x4b0855),_0x4512e5;}function I(_0x482d32,_0x3958ba,_0x1d09ac,_0x489ed5,_0x69e8bf){const _0x1c6e5b=[];for(const [_0x149248,_0x4a1a74]of _0x482d32['childNodes']['entries']()){let _0x97076b=[];C(_0x4a1a74)&&_0x4a1a74['offsetParent']&&['static','relative']['includes'](_0x39ac14['window']['getComputedStyle'](_0x4a1a74)['position'])?_0x97076b=K(_0x4a1a74,_0x149248,_0x3958ba,_0x1d09ac,_0x489ed5,_0x69e8bf):D(_0x4a1a74)&&(_0x97076b=A(_0x4a1a74,_0x149248,_0x3958ba,_0x1d09ac,_0x69e8bf)),_0x97076b['length']&&(_0x1c6e5b['push'](..._0x97076b),_0x3958ba+=_0x97076b['length']*_0x1d09ac,_0x69e8bf=!0x1);}return _0x1c6e5b;}function K(_0x371fb5,_0x2b86f8,_0x297ddd,_0xd3a288,_0x408d1f,_0x40d754){const _0x1afd62=[];var _0x2f7070;if((_0x2f7070=_0x371fb5['previousSibling'])&&C(_0x2f7070)&&Boolean(_0x2f7070['classList']['contains']('page-break')||_0x2f7070['closest']('.page-break'))&&(_0x1afd62['push']({'type':'manual','offset':0x0,'path':[_0x2b86f8-0x1]}),_0x40d754=!0x0),'table-row'==_0x39ac14['window']['getComputedStyle'](_0x371fb5)['display']){let _0x4edc46=0x0,_0x897bf2=!0x1;for(const _0x4c9df7 of _0x371fb5['getClientRects']())_0x4edc46+=_0x4c9df7['height'],_0x4c9df7['left']>=_0x297ddd&&(_0x897bf2=!0x0);if(_0x4edc46<_0x408d1f&&_0x897bf2)return _0x40d754||_0x1afd62['push']({'type':'element','offset':0x0,'path':[_0x2b86f8]}),_0x1afd62;}const _0x3215fe=_0x371fb5['closest']('figure.image');if(_0x3215fe&&function(_0x442ade){let _0x1b6ba3=!0x1;const _0x2fc011=_0x135525(_0x442ade)['dataset']['rootName'],_0x5674f1=_0x442ade['nextElementSibling'],_0x7acb3b=_0x442ade['previousElementSibling'],_0x2d1514=_0x5674f1&&_0x39ac14['window']['getComputedStyle'](_0x5674f1)['float'],_0x312963=_0x5674f1&&'ck-fake-selection-container'===_0x5674f1['className'];return!_0x2fc011||_0x5674f1||_0x7acb3b||(_0x1b6ba3=!0x0),_0x2fc011&&!_0x7acb3b&&_0x312963&&(_0x1b6ba3=!0x0),_0x2fc011&&!_0x7acb3b&&'none'!==_0x2d1514&&(_0x1b6ba3=!0x0),!_0x1b6ba3;}(_0x3215fe)){const _0x35e5e7=_0x39ac14['window']['getComputedStyle'](_0x3215fe)['float'];if('left'==_0x35e5e7||'right'==_0x35e5e7)return _0x1afd62;}const _0xb52656=I(_0x371fb5,_0x297ddd,_0xd3a288,_0x408d1f,_0x40d754);if(_0xb52656['length']){for(const _0x23a984 of _0xb52656)_0x1afd62['push']({'type':_0x23a984['type'],'offset':_0x23a984['offset'],'textOffset':_0x23a984['textOffset'],'path':[_0x2b86f8,..._0x23a984['path']]}),_0x297ddd+=_0xd3a288;return _0x1afd62;}return _0x1afd62['push'](...function(_0x241ad1,_0xbb9440,_0x29d0f2,_0x15314b,_0x2c1d20){const _0x3113ec=[];if('table-cell'==_0x39ac14['window']['getComputedStyle'](_0x241ad1)['display'])return[];const _0x13a881=[];for(const _0x15d373 of _0x241ad1['getClientRects']())if(_0x15d373['left']>=_0x29d0f2){for(const _0xb0f11e of _0x13a881)_0xb0f11e['height']+=_0x15d373['height'];_0x13a881['push']({'height':_0x15d373['height']}),_0x29d0f2+=_0x15314b;}for(const _0x203fe5 of _0x13a881)_0x2c1d20||_0x3113ec['push']({'type':'element','offset':_0x203fe5['height'],'textOffset':0x0,'path':[_0xbb9440]}),_0x2c1d20=!0x1;return _0x3113ec;}(_0x371fb5,_0x2b86f8,_0x297ddd,_0xd3a288,_0x40d754)),_0x1afd62;}function A(_0x1a1164,_0x3af229,_0x45d0a5,_0x2b2985,_0x429a43){const _0x2165e6=E(_0x1a1164),_0x1a1cb8=[];let _0x40d225=0x0;for(const _0x134720 of _0x2165e6['getClientRects']())if(_0x134720['left']>=_0x45d0a5){const _0x5dc305=O(_0x1a1164,_0x40d225,_0x45d0a5,_0x2b2985);_0x429a43||_0x1a1cb8['push']({'type':'text','path':[_0x3af229],'textOffset':_0x5dc305}),_0x40d225=_0x5dc305,_0x45d0a5+=_0x2b2985,_0x429a43=!0x1;}return _0x1a1cb8;}function O(_0x2949b3,_0x2dacaa,_0x2e5701,_0xf013be){let _0x1fb3ff=_0x2dacaa,_0x563734=_0x2949b3['length'];for(;_0x563734-_0x1fb3ff>0x1;){const _0x38f219=Math['ceil']((_0x1fb3ff+_0x563734)/0x2);U(S(_0x2949b3,_0x1fb3ff,_0x38f219),_0x2e5701,_0xf013be)?_0x563734=_0x38f219:_0x1fb3ff=_0x38f219;}return _0x1fb3ff;}function U(_0x43b964,_0x1c647f,_0x375326){for(const _0x540be9 of _0x43b964['getClientRects']())if(_0x540be9['left']>=_0x1c647f&&_0x540be9['left']<_0x1c647f+_0x375326)return!0x0;return!0x1;}function C(_0x96744f){return _0x96744f['nodeType']==Node['ELEMENT_NODE'];}function D(_0x1123cf){return _0x1123cf['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x289924('px');var B=class extends _0x3dce57{constructor(){super();const _0x369582=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x369582['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x369582['if']('isVisible','ck-hidden',_0x863f25=>!_0x863f25)],'style':{'left':_0x369582['to']('left',_0x5a54f3=>T(_0x5a54f3)),'top':_0x369582['to']('top',_0x3bd326=>T(_0x3bd326)),'width':_0x369582['to']('width',_0x13f420=>T(_0x13f420))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4631a9){this['_viewCollection']=_0x4631a9['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x52c39f of this['_hiddenLines'])_0x52c39f['destroy']();}['cleanLines'](){for(const _0x153939 of this['_visibleLines'])_0x153939['isVisible']=!0x1,this['_hiddenLines']['add'](_0x153939);this['_visibleLines']['clear']();}['showLine'](_0x309fb2,_0x49befd,_0x1c893c,_0x42f90e){let _0x540945;this['_hiddenLines']['size']?(_0x540945=_0x2cd610(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x540945)):_0x540945=new B(),_0x540945['set']({'pageNumber':_0x42f90e,'left':_0x309fb2,'top':_0x49befd,'width':_0x1c893c}),_0x540945['isVisible']=!0x0,this['_viewCollection']['has'](_0x540945)||this['_viewCollection']['add'](_0x540945),this['_visibleLines']['add'](_0x540945);}setViewCollection(_0x1c3f06){for(const _0x34c709 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x34c709)&&this['_viewCollection']['remove'](_0x34c709);this['_viewCollection']=_0x1c3f06;}};const V='ck-pagination_enabled';var M=class extends _0x394059{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 G(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'](V),this['on']('change:isEnabled',(_0x43654d,_0x117425,_0x1e72e2)=>{_0x1e72e2||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x1e72e2);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xb488a4){if(!this['isEnabled'])return;const _0x38ed84=_0xb488a4>0x1?this['_getPageBreakLineOffset'](_0xb488a4-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x38ed84-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x29cab9['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x5b4d96=this['editor'],_0x1de2d9=this['_getAttachedDomRoot']();_0x1de2d9?(this['_scrollableEditingRootDomAncestor']&&_0x5b4d96['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x1d0bdb(_0x1de2d9),_0x5b4d96['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x567e47(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5b4d96['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x22b114=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x22b114['ui']['view']['listenTo'](_0x39ac14['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x22b114['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x26cd9e of this['editor']['editing']['view']['domRoots']['values']())if(_0x26cd9e['isConnected'])return _0x26cd9e;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x27d7fc=this['_getAttachedDomRoot'](),_0x2f4cf9=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x27d7fc||0x1==_0x2f4cf9['length'])return void(this['pageNumber']=0x1);const _0x5d7062=new _0x467f92(_0x27d7fc)['excludeScrollbarsAndBorders'](),_0x3d82ca=new _0x467f92(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x41eecd=_0x3d82ca['top']+_0x3d82ca['height']/0x3;let _0x1a6c62=!0x1;const _0x5d0c31=[];for(let _0x539417=0x1;_0x539417<_0x2f4cf9['length'];_0x539417++){const _0x36db70=this['_getPageBreakLineOffset'](_0x539417,_0x3d82ca);if(!_0x36db70)continue;const _0x5cd314=_0x3d82ca['top']+_0x36db70-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5d0c31['push']({'pageOffsetTop':_0x5cd314,'domRootRect':_0x5d7062,'domScrollableRect':_0x3d82ca,'pageNumber':_0x539417}),_0x5cd314>_0x41eecd&&!_0x1a6c62&&(this['pageNumber']=_0x539417,_0x1a6c62=!0x0);}this['_renderPageBreakLines'](_0x5d0c31),_0x1a6c62||(this['pageNumber']=_0x2f4cf9['length']);}['_renderPageBreakLines'](_0x25c102){if(!_0x25c102['length'])return;const {scrollX:_0x59ffd2,scrollY:_0x4d0dae}=_0x39ac14['window'],_0x457cef=_0x2c78b6(this['linesRepository']['containerElement']);let _0x375074,_0xb403d;if(_0x457cef){const _0x3f387f=new _0x467f92(_0x457cef);_0x375074=_0x3f387f['top']+_0x457cef['clientTop']-_0x457cef['scrollTop'],_0xb403d=_0x3f387f['left']+_0x457cef['clientLeft']-_0x457cef['scrollLeft'];}else _0x375074=-_0x4d0dae,_0xb403d=-_0x59ffd2;for(const {domScrollableRect:_0x29589c,pageOffsetTop:_0x17b84b,domRootRect:_0x1d5402,pageNumber:_0x26d0a3}of _0x25c102)_0x29589c['top']<_0x17b84b&&_0x17b84b<_0x29589c['bottom']&&this['linesRepository']['showLine'](_0x1d5402['left']-_0xb403d,_0x17b84b-_0x375074,_0x1d5402['width'],_0x26d0a3+0x1);}_getPageBreakLineOffset(_0x353171,_0x23c224=null){const _0x226977=this['_paginationLookupPlugin']['pageBreaks'][_0x353171]['offset'];return _0x226977?(_0x23c224||(_0x23c224=new _0x467f92(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x226977-_0x23c224['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x29fe2b,_0xd304df=!0x0){const _0x3500fd=this['editor']['editing']['view'];_0x3500fd['change'](_0x305ae0=>{for(const _0x197370 of _0x3500fd['document']['roots'])_0xd304df?_0x305ae0['addClass'](_0x29fe2b,_0x197370):_0x305ae0['removeClass'](_0x29fe2b,_0x197370);});}};function $(_0x47fd6c,_0x14cdb3,..._0x1d93bf){const t=_0x47fd6c['t'];switch(_0x14cdb3){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)',..._0x1d93bf);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 _0x14cdb3;}}var j=class extends _0x394059{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[v,M];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x18b8f3=this['editor']['plugins']['get']('Pagination'),_0x3b0b5c=this['editor']['plugins']['get'](v),_0x2d6038=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x18b8f3),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2d6038),this['listenTo'](_0x3b0b5c,'change:pageBreaks',(_0x20860e,_0x53dc1c,_0x4b83d3,_0x2bc6a7)=>{this['totalPages']=_0x4b83d3['length'],this['_updatePageBreakMarkers'](_0x4b83d3,_0x2bc6a7);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0xcced79=[this['editor']];for(const _0xdfebfe of _0xcced79){let _0x29ac3f;for(const _0x548a0c in _0xdfebfe){const _0x46e76d=_0x548a0c,_0x1cd7ed=_0xdfebfe[_0x46e76d];if('paginationLicenseKeyValid'==_0x1cd7ed||'paginationLicenseKeyInvalid'==_0x1cd7ed||'paginationLicenseKeyExpired'==_0x1cd7ed||'paginationLicenseKeyDomainLimit'==_0x1cd7ed||'paginationLicenseKeyNotAllowed'==_0x1cd7ed||'paginationLicenseKeyEvaluationLimit'==_0x1cd7ed||'paginationLicenseKeyUsageLimit'==_0x1cd7ed){delete _0xdfebfe[_0x46e76d],_0x29ac3f=_0x1cd7ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x26877b){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x26877b));}moveSelectionToPage(_0x638bac){if(!this['isEnabled'])return;const _0x158e24=this['editor'],_0x5db5df=this['editor']['plugins']['get'](v)['pageBreaks'][_0x638bac-0x1];_0x5db5df&&_0x158e24['model']['change'](_0x15286b=>{switch(_0x5db5df['type']){case'manual':{const _0x4618ea=_0x158e24['model']['schema']['getNearestSelectionRange'](_0x5db5df['modelRange']['end'],'forward');_0x15286b['setSelection'](_0x4618ea);break;}case'element':{const _0x466de5=_0x158e24['model']['schema']['getNearestSelectionRange'](_0x5db5df['modelRange']['start'],'forward');_0x15286b['setSelection'](_0x466de5);break;}case'text':{const _0x8b9247=_0x5db5df['modelRange']['start'];if(_0x8b9247['textNode']&&'\x20'===_0x8b9247['textNode']['data'][_0x8b9247['offset']]){const _0x487849=_0x15286b['createPositionAt'](_0x8b9247['parent'],_0x8b9247['offset']+0x1);_0x15286b['setSelection'](_0x487849);}else _0x15286b['setSelection'](_0x5db5df['modelRange']);}}_0x158e24['editing']['view']['focus']();});}goToNextPage(){const _0x4001e4=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4001e4),this['scrollToPage'](_0x4001e4);}['goToPreviousPage'](){const _0x2177a3=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x2177a3),this['scrollToPage'](_0x2177a3);}_updatePageBreakMarkers(_0x83dc45,_0x3e144b){const _0x1bbae4=this['editor']['model'];this['isEnabled']&&_0x1bbae4['change'](_0x4201f8=>{for(let _0x13c6c8=0x1;_0x13c6c8<_0x83dc45['length'];_0x13c6c8++){const _0x34a4a3=_0x83dc45[_0x13c6c8]['modelRange'],_0x36ae70='pagination:'+(_0x13c6c8+0x1);_0x1bbae4['markers']['has'](_0x36ae70)?_0x4201f8['updateMarker'](_0x36ae70,{'range':_0x34a4a3}):_0x4201f8['addMarker'](_0x36ae70,{'range':_0x34a4a3,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x555c44=_0x83dc45['length'];_0x555c44<_0x3e144b['length'];_0x555c44++){const _0x3849dc='pagination:'+(_0x555c44+0x1);_0x1bbae4['markers']['has'](_0x3849dc)&&_0x4201f8['removeMarker'](_0x3849dc);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x5ef77a=>{_0x5ef77a['on']('addMarker:pagination',(_0x40be5b,{markerRange:_0x31bde0,markerName:_0xe1fdd6},_0x137e8f)=>{if(!_0x137e8f['options']['pagination'])return;if(!_0x137e8f['consumable']['consume'](_0x31bde0,_0x40be5b['name']))return;const _0x11694e=_0x31bde0['getContainedElement']();let _0x170c12=_0x11694e?_0x137e8f['mapper']['toViewElement'](_0x11694e):null;if(!_0x170c12){const _0x3a3271=_0x31bde0['start'];if(_0x137e8f['schema']['checkChild'](_0x3a3271,'$text')){const _0x1a5ec5=_0x137e8f['mapper']['toViewPosition'](_0x3a3271);_0x170c12=_0x137e8f['writer']['createContainerElement']('span'),_0x170c12['getFillerOffset']=()=>null,_0x137e8f['writer']['insert'](_0x1a5ec5,_0x170c12);}else{const _0x3b5cca=_0x3a3271['nodeAfter'];_0x170c12=_0x137e8f['mapper']['toViewElement'](_0x3b5cca);}}for(;_0x170c12['parent']!==_0x170c12['root']&&0x0===_0x170c12['index'];)_0x170c12=_0x170c12['parent'];const _0x293d3e=_0xe1fdd6['substring'](0xb);_0x170c12['hasClass']('page-break')||(_0x137e8f['writer']['setStyle']('page-break-before','always',_0x170c12),_0x137e8f['writer']['setAttribute']('data-pagination-page',_0x293d3e,_0x170c12),_0x137e8f['mapper']['bindElementToMarker'](_0x170c12,_0xe1fdd6)),_0x40be5b['stop']();});});}_setupKeystrokes(){const _0x53a3fa=this['editor'];_0x53a3fa['keystrokes']['set']('Shift+Pageup',(_0x5bf8ef,_0x184251)=>{this['goToPreviousPage'](),_0x184251();}),_0x53a3fa['keystrokes']['set']('Shift+Pagedown',(_0x5cab49,_0x36a90c)=>{this['goToNextPage'](),_0x36a90c();}),_0x53a3fa['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x53a3fa['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x53a3fa['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x53a3fa['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x2b9fde){return _0x2b9fde<0x1&&(_0x2b9fde=0x1),_0x2b9fde>this['totalPages']&&(_0x2b9fde=this['totalPages']),_0x2b9fde;}},q=class extends _0x3dce57{['pageNumberView'];constructor(_0x191a7b){super(_0x191a7b);const _0x80d29d=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x16f11a(_0x191a7b,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x35ff4d=>$(_0x191a7b,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x35ff4d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x199ebf=>!_0x199ebf),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x80d29d['if']('isEnabled','ck-disabled',_0x172930=>!_0x172930)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x80d29d['to']('totalPages')}]}]});}['render'](){super['render']();const _0x5c3c4a=this['pageNumberView']['element'],_0x344523=_0xfbd42a=>{this['pageNumberView']['element']['value']=String(_0xfbd42a);};_0x344523(this['pageNumber']),this['on']('change:pageNumber',(_0x59d1c5,_0x2585c1,_0x59d122)=>{_0x344523(_0x59d122);}),this['listenTo'](_0x5c3c4a,'keydown',(_0x117119,_0x200275)=>{if('ArrowUp'===_0x200275['key']||'ArrowDown'===_0x200275['key'])return void _0x200275['stopPropagation']();if(_0x200275['keyCode']!==_0x14c526['enter'])return;_0x200275['preventDefault']();const _0x445e84=_0x5c3c4a['valueAsNumber'];Number['isNaN'](_0x445e84)?_0x5c3c4a['value']=String(this['pageNumber']):(_0x5c3c4a['checkValidity']()?this['pageNumber']=_0x445e84:_0x445e84>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x5c3c4a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x5c3c4a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x5c3c4a,'blur',()=>{_0x5c3c4a['value']=String(this['pageNumber']);}),this['listenTo'](_0x5c3c4a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x394059{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x40d813=this['editor'],_0x297d27=_0x40d813['plugins']['get']('PaginationEditing');_0x40d813['ui']['componentFactory']['add']('pageNavigation',_0x28491a=>{const _0x418eb0=new q(_0x28491a);return _0x418eb0['bind']('pageNumber')['to'](_0x297d27),_0x418eb0['bind']('totalPages')['to'](_0x297d27),_0x418eb0['bind']('isEnabled')['to'](_0x297d27),_0x418eb0['on']('navigation',(_0x1736cc,_0x2bc9a0)=>{_0x297d27['moveSelectionToPage'](_0x2bc9a0),_0x297d27['scrollToPage'](_0x2bc9a0);}),_0x418eb0;}),_0x40d813['ui']['componentFactory']['add']('nextPage',_0x53648a=>{const _0x16f114=new _0x55bb95(_0x53648a);return _0x16f114['isEnabled']=!0x0,_0x16f114['label']=$(_0x40d813['locale'],'Go\x20to\x20next\x20page'),_0x16f114['icon']=_0x274e7a,_0x16f114['tooltip']=!0x0,_0x16f114['keystroke']='Shift+PageDown',_0x16f114['bind']('isEnabled')['to'](_0x297d27),this['listenTo'](_0x16f114,'execute',()=>{_0x297d27['goToNextPage']();}),_0x16f114;}),_0x40d813['ui']['componentFactory']['add']('previousPage',_0x16e31e=>{const _0x261386=new _0x55bb95(_0x16e31e);return _0x261386['isEnabled']=!0x0,_0x261386['label']=$(_0x40d813['locale'],'Go\x20to\x20previous\x20page'),_0x261386['icon']=_0x2a723c,_0x261386['tooltip']=!0x0,_0x261386['keystroke']='Shift+PageUp',_0x261386['bind']('isEnabled')['to'](_0x297d27),this['listenTo'](_0x261386,'execute',()=>{_0x297d27['goToPreviousPage']();}),_0x261386;});}},H=class extends _0x394059{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x3676e8){super(_0x3676e8),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x57c9b3=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x57c9b3),this['bind']('totalPages')['to'](_0x57c9b3),_0x29cab9['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x52db06){this['editor']['plugins']['get'](j)['scrollToPage'](_0x52db06);}};export{H as Pagination,M as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x1e4161}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x11da14,InputNumberView as _0x417777,View as _0x5aed76}from'@ckeditor/ckeditor5-ui';import{Rect as _0x5f3199,ResizeObserver as _0x3a7e63,env as _0x3a8cd5,findClosestScrollableAncestor as _0x1cf72b,first as _0x52eb00,getParentElement as _0x3c6f87,getParentNode as _0x161fba,getPositionedAncestor as _0x301b5a,global as _0x34425f,keyCodes as _0x31e909,logWarning as _0x34913a,toUnit as _0xda0d3a,uid as _0x45efef}from'@ckeditor/ckeditor5-utils';import{debounce as _0x37d66b}from'es-toolkit/compat';import{IconArrowDown as _0x1cdfce,IconArrowUp as _0x154c5b}from'@ckeditor/ckeditor5-icons';var v=class extends _0x1e4161{_recalculatePageBreaksDebounced=_0x37d66b(()=>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 _0x34913a('pagination-config-not-found',this['editor']['config']);const _0x23aac7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x23aac7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3c2c95,_0xb79ee0,_0x1badb1)=>{_0x1badb1&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x2a2f8d){const _0x36ac78='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x1bd542=0x79740,_0x58b39a={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0xf860ea(_0x46c926){const _0x4e9256=new window['Promise'](_0x5b8397=>{_0x46c926['once']('ready',_0x5b8397);}),_0x422913=window['Date']['now'](),_0x47e396=_0x46c926['config']['get']('licenseKey');async function _0x196aa6(){let _0x9d1e17,_0x4e11eb=null,_0x28b976=null;try{return'GPL'==_0x47e396?'NotAllowed':(_0x9d1e17=_0x15a569(),_0x9d1e17?(_0x9d1e17['usageEndpoint']&&(_0x28b976=_0x45448c(_0x9d1e17['usageEndpoint'],_0x9d1e17['jti'])),await _0x1ff538()?_0x34f33a()?_0x12537a()?'Expired':_0x5d8644()?('evaluation'==_0x9d1e17['licenseType']&&(_0x4e11eb=_0x461152('EvaluationLimit')),await _0x37af72()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x12537a(){const _0x250746=['evaluation','trial']['includes'](_0x9d1e17['licenseType'])?_0x422913/0x3e8:0xe10*_0x1bd542;return _0x9d1e17['exp']<_0x250746;}function _0x34f33a(){const _0x6b2d17=_0x9d1e17['features'];return!!_0x6b2d17&&(!!_0x6b2d17['includes']('*')||!!_0x6b2d17['includes']('PAG'));}function _0x5d8644(){const _0x55d30d=_0x9d1e17['licensedHosts'];if(!_0x55d30d||0x0==_0x55d30d['length'])return!0x0;const {hostname:_0x10f18b}=new URL(window['location']['href']);if(_0x55d30d['includes'](_0x10f18b))return!0x0;const _0xb201c=_0x10f18b['split']('.');return _0x55d30d['filter'](_0x307ea5=>_0x307ea5['includes']('*'))['map'](_0x171280=>_0x171280['split']('.'))['filter'](_0x7fc7a0=>_0x7fc7a0['length']<=_0xb201c['length'])['map'](_0x22d8d6=>Array(_0xb201c['length']-_0x22d8d6['length'])['fill']('*'===_0x22d8d6[0x0]?'*':'')['concat'](_0x22d8d6))['some'](_0x1c40fa=>_0xb201c['every']((_0x3b686a,_0x2b012b)=>_0x1c40fa[_0x2b012b]===_0x3b686a||'*'===_0x1c40fa[_0x2b012b]));}function _0x37af72(){return _0x4e11eb&&_0x28b976?new window['Promise']((_0x54015d,_0x5e4ce1)=>{_0x4e11eb['then'](_0x54015d,_0x5e4ce1),_0x28b976['then'](_0x1df252=>{'Valid'!=_0x1df252&&_0x54015d(_0x1df252);},_0x5e4ce1);}):_0x4e11eb||_0x28b976||'Valid';}}function _0x45448c(_0x3a4596,_0x4c59c3){return new window['Promise'](_0x5cc2bc=>{if(_0x3f34e7())return _0x5cc2bc('Valid');_0x4422ac(),_0x46c926['decorate']('_sendUsageRequest');let _0x4f07cc=!0x1;const _0x3f8a71=_0x45efef();function _0x28f8ef(_0x3c5426){return!!_0x3c5426&&('object'==typeof _0x3c5426||'function'==typeof _0x3c5426)&&'function'==typeof _0x3c5426['then']&&'function'==typeof _0x3c5426['catch'];}function _0x41f6c5(_0x3cfb5f){_0x8f5aaa(_0x3cfb5f)['then'](_0x3320f8=>_0x3320f8&&'ok'==_0x3320f8['status']?_0x51ccd7(_0x4dc795(_0x3f8a71+_0x4c59c3))!=_0x3320f8['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x28c73f=>(_0x570c82(),_0x28c73f),()=>{const _0x2bea98=_0x38ba70();return null==_0x2bea98?(_0x570c82(),'Valid'):_0x422913-_0x2bea98>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5cc2bc)['catch'](()=>{_0x5cc2bc('UsageLimit');});const _0x4af9cf=0x36ee80;function _0x570c82(){const _0x38cc04='llct-'+_0x51ccd7(_0x4dc795(_0x3a4596)),_0xc9acbc=_0xb49fa1(_0x51ccd7(window['Math']['ceil'](_0x422913/_0x4af9cf)));window['localStorage']['setItem'](_0x38cc04,_0xc9acbc);}function _0x38ba70(){const _0x1e570e='llct-'+_0x51ccd7(_0x4dc795(_0x3a4596)),_0x4eb176=window['localStorage']['getItem'](_0x1e570e);return _0x4eb176?window['parseInt'](_0xb49fa1(_0x4eb176),0x10)*_0x4af9cf:null;}function _0x8f5aaa(_0xc135de){return new window['Promise']((_0x3e5f7b,_0x160870)=>{_0xc135de['then'](_0x3e5f7b,_0x160870),window['setTimeout'](_0x160870,0x1d4c0);});}}_0x46c926['on']('_sendUsageRequest',(_0x1ad2a1,_0x504f1c)=>{if(_0x504f1c[0x0]!=_0x3a4596)return _0x5cc2bc('UsageLimit');_0x504f1c[0x1]={..._0x504f1c[0x1],'requestId':_0x3f8a71};},{'priority':'high'}),_0x46c926['on']('_sendUsageRequest',_0x29401a=>{_0x28f8ef(_0x29401a['return'])&&(_0x4f07cc=!0x0,_0x41f6c5(_0x29401a['return']));},{'priority':'low'}),_0x4e9256['then'](()=>{_0x4f07cc||_0x5cc2bc('UsageLimit');});});function _0x3f34e7(){return'auto'==_0x46c926['editing']['view']['_overlayModeHint'];}function _0x4422ac(){_0x46c926['editing']['view']['_overlayModeHint']='auto';}}function _0x461152(_0x4c21cf){const _0x3aa248=[new window['Promise'](_0x276555=>setTimeout(_0x276555,0x93ecc)),_0x4e9256['then'](()=>new window['Promise'](_0x133075=>{let _0x44d9f9=0x0;_0x46c926['model']['on']('applyOperation',(_0x5f0118,_0x377c48)=>{_0x377c48[0x0]['isDocumentOperation']&&_0x44d9f9++,0x5e8==_0x44d9f9&&(_0x133075(),_0x5f0118['off']());});}))];return window['Promise']['race'](_0x3aa248)['then'](()=>_0x4c21cf);}async function _0x24618f(){await _0x4e9256,_0x46c926['model']['change']=_0x5806a7,_0x46c926['model']['enqueueChange']=_0x5806a7,_0x46c926['enableReadOnlyMode']('model');}function _0x1b1a45(_0x96df72){const _0x210b6d=_0x5065b7();_0x46c926[_0x210b6d]='paginationLicenseKey'+_0x96df72,'Valid'!=_0x96df72&&_0x24618f();}function _0x5065b7(){const _0x480430=window['String'](window['performance']['now']())['replace']('.','');let _0x3792b0='v';for(let _0x32129d=0x0;_0x32129d<_0x480430['length'];_0x32129d+=0x2){let _0x1ce71a=window['parseInt'](_0x480430['substring'](_0x32129d,_0x32129d+0x2));_0x1ce71a>=0x3e&&(_0x1ce71a-=0x3e),_0x3792b0+=_0x36ac78[_0x1ce71a];}return _0x3792b0;}function _0x15a569(){const _0x18bc79=_0x47e396['split']('.');if(0x3!=_0x18bc79['length'])return null;return _0x5bc53b(_0x18bc79[0x1]);function _0x5bc53b(_0x179428){const _0x5b8359=_0x4eb08d(_0x179428);return _0x5b8359&&_0x270b8e()?_0x5b8359:null;function _0x270b8e(){const _0x54e51e=_0x5b8359['jti'],_0x521c72=window['parseInt'](_0x54e51e['substring'](_0x54e51e['length']-0x8),0x10),_0x24d18b={..._0x5b8359,'jti':_0x54e51e['substring'](0x0,_0x54e51e['length']-0x8)};return delete _0x24d18b['vc'],_0x4dc795(_0x24d18b)==_0x521c72;}}}async function _0x1ff538(){let _0x50c20f=!0x0;try{const [_0x476345,_0x836d4b,_0x165f9d]=_0x47e396['split']('.');return _0x1f41fe(_0x476345),await _0x5268b4(_0x476345,_0x836d4b,_0x165f9d),_0x50c20f;}catch{return!0x1;}function _0x1f41fe(_0x4982a9){const _0x59b82d=_0x4eb08d(_0x4982a9);_0x59b82d&&'ES256'==_0x59b82d['alg']||(_0x50c20f=!0x1);}async function _0x5268b4(_0x13fae6,_0x53a11c,_0x166068){const _0x5c1c5e=window['Uint8Array']['from'](_0x2f628a(_0x166068),_0x497317=>_0x497317['charCodeAt'](0x0)),_0x433deb=new window['TextEncoder']()['encode'](_0x13fae6+'.'+_0x53a11c),_0x274d9c=window['crypto']['subtle'];if(!_0x274d9c)return;const _0x1f8d20=await _0x274d9c['importKey']('jwk',_0x58b39a,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x274d9c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x1f8d20,_0x5c1c5e,_0x433deb)||(_0x50c20f=!0x1);}}function _0x4eb08d(_0x14c38d){return _0x14c38d['startsWith']('ey')?JSON['parse'](_0x2f628a(_0x14c38d)):null;}function _0x2f628a(_0x3e44a8){return window['atob'](_0x3e44a8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4dc795(_0x372163){let _0x5217d6=0x1505;function _0x30740e(_0x147cfc){for(let _0x1f9d34=0x0;_0x1f9d34<_0x147cfc['length'];_0x1f9d34++){const _0x5ebe90=_0x147cfc['charCodeAt'](_0x1f9d34);_0x5217d6=(_0x5217d6<<0x5)+_0x5217d6+_0x5ebe90,_0x5217d6&=_0x5217d6;}}function _0x378e9b(_0x558464){Array['isArray'](_0x558464)?_0x558464['forEach'](_0x378e9b):_0x558464&&'object'==typeof _0x558464?Object['entries'](_0x558464)['sort']()['forEach'](([_0x887c36,_0x1e1bdc])=>{_0x30740e(_0x887c36),_0x378e9b(_0x1e1bdc);}):_0x30740e(window['String'](_0x558464));}return _0x378e9b(_0x372163),_0x5217d6>>>0x0;}function _0x51ccd7(_0x3177c3){return _0x3177c3['toString'](0x10)['padStart'](0x8,'0');}function _0xb49fa1(_0x484c2c){return _0x484c2c['split']('')['reverse']()['join']('');}function _0x5806a7(){}_0x1b1a45(await _0x196aa6());}_0xf860ea(_0x2a2f8d['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x3dbb67=this['editor'],_0x441b16=_0x3dbb67['editing']['view'],_0x3634fe=this['_getAttachedDomRoot']();if(!_0x3634fe||!_0x3634fe['hasChildNodes']())return void _0x3dbb67['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4942b7,pageHeight:_0x38b0b6}=_0x3dbb67['config']['get']('pagination'),{top:_0x19875b,left:_0x363e58,bottom:_0x43c38c,right:_0x1ad3f5}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5aed76(_0x3dbb67['locale']);const _0x7ea8ab=this['_pagesContainer'];_0x7ea8ab['set']('class',''),_0x7ea8ab['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x4942b7,'width':_0x4942b7,'height':'calc(\x20'+_0x38b0b6+'\x20-\x20'+_0x19875b+'\x20-\x20'+_0x43c38c+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1ad3f5+'\x200\x20'+_0x363e58,'columnGap':'calc('+_0x363e58+'\x20+\x20'+_0x1ad3f5+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x7ea8ab['bindTemplate']['to']('class')}}),_0x7ea8ab['render'](),_0x161fba(_0x3634fe)['insertBefore'](_0x7ea8ab['element'],_0x3634fe['nextSibling']),this['listenTo'](_0x441b16,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x1b7f45 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1b7f45['isConnected'])return _0x1b7f45;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x390c9c=this['editor']['editing']['view'],_0x2d8940=this['_pagesContainer'],_0x203449=this['_getAttachedDomRoot']();if(!_0x203449||!_0x2d8940)return Promise['resolve']();for(_0x2d8940['class']=['ck-reset','ck-pagination-view',..._0x203449['classList']]['join']('\x20');_0x2d8940['element']['firstChild'];)_0x2d8940['element']['firstChild']['remove']();const _0x1db51d=Array['from'](_0x390c9c['domRoots']);_0x1db51d['sort'](([,_0x484ba8],[,_0x13ecd4])=>_0x484ba8['compareDocumentPosition'](_0x13ecd4)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x276dfc,_0x1882aa]of _0x1db51d){const _0x5dcbb6=_0x1882aa['cloneNode'](!0x0);'attributeStyleMap'in _0x5dcbb6&&_0x5dcbb6['attributeStyleMap']['clear'](),_0x5dcbb6['dataset']['rootName']=_0x276dfc,_0x5dcbb6['className']='ck-content\x20ck-pagination_enabled',_0x5dcbb6['removeAttribute']('id'),_0x5dcbb6['tabIndex']=-0x1,_0x2d8940['element']['append'](_0x5dcbb6);}const _0x4a0633=Array['from'](_0x2d8940['element']['querySelectorAll']('img'));return function(_0xd51361){return Promise['all'](_0xd51361['map'](_0x50bf62=>Promise['race']([N(_0x50bf62),_(0x3e8)])));}(_0x4a0633)['then'](()=>{for(const _0x50d57e of _0x4a0633['filter'](_0x444d38=>!_0x444d38['closest']('table')))if(_0x50d57e['offsetParent']){const _0x461220=_0x34425f['window']['getComputedStyle'](_0x50d57e),_0x52f519=_0x34425f['document']['createElement']('span');for(const _0x60ba41 of _0x461220)_0x52f519['style']['setProperty'](_0x60ba41,_0x461220[_0x60ba41]);_0x52f519['style']['backgroundImage']='url(\x20'+_0x50d57e['src']+'\x20)',_0x52f519['style']['breakInside']='avoid','PICTURE'==_0x50d57e['parentElement']?.['tagName']?_0x50d57e['parentElement']['replaceWith'](_0x52f519):_0x50d57e['replaceWith'](_0x52f519);}return new Promise(_0x3e564d=>_0x34425f['window']['requestAnimationFrame'](()=>_0x3e564d()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x493e28=this['_pagesContainer']['element'];if(!_0x493e28['isConnected'])return;const _0x7c13c7=new _0x5f3199(_0x493e28)['excludeScrollbarsAndBorders'](),_0x1e9952=Math['floor'](_0x7c13c7['width']+0x64),_0x185325=I(_0x493e28,Math['floor'](_0x7c13c7['left']-_0x493e28['scrollLeft']),_0x1e9952,_0x7c13c7['height'])['map'](_0x44ef59=>this['_mapPageStarterInfoToPageBreakInfo'](_0x44ef59))['filter'](_0x3baa2f=>!0x1!==_0x3baa2f);_0x185325['every'](_0x35bd93=>!!_0x35bd93)&&(this['pageBreaks']=_0x185325);}_mapPageStarterInfoToPageBreakInfo(_0x3494c3){const _0x50336f=this['editor']['editing']['view'],_0x28e0a0=this['editor']['editing']['mapper'],_0x17a363=_0x50336f['domConverter'],_0x3d0e51=_0x3494c3['path']['shift'](),_0x43801e=this['_pagesContainer']['element']['childNodes'][_0x3d0e51]['dataset']['rootName'],_0x38e11c=_0x50336f['getDomRoot'](_0x43801e);if(!_0x38e11c)return null;const _0x482dc6=function(_0x4bb73b,_0x16ece5){let _0x492cff=_0x4bb73b;for(const _0x17224c of _0x16ece5['path']){if(!_0x492cff)return null;_0x492cff=_0x492cff['childNodes'][_0x17224c];}return _0x492cff;}(_0x38e11c,_0x3494c3);if(!_0x482dc6)return null;const _0x5cf5fd=_0x17a363['domPositionToView'](_0x482dc6,_0x3494c3['textOffset']||0x0);return _0x5cf5fd?'manual'==_0x3494c3['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5cf5fd,_0x482dc6):'text'==_0x3494c3['type']&&_0x28e0a0['toModelPosition'](_0x5cf5fd)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5cf5fd,_0x482dc6,_0x3494c3['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5cf5fd,_0x482dc6,_0x3494c3['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0xf5c2cf,_0xbda5b9){const _0x16d6d3=this['editor']['model'],_0x2fef66=this['editor']['editing']['mapper']['toModelElement'](_0xf5c2cf['parent']),_0x4b48a2=_0x16d6d3['createRangeOn'](_0x2fef66);return new k({'type':'manual','modelRange':_0x4b48a2,'domNode':_0xbda5b9,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x4c38ae,_0x14805c,_0x412e41){const _0x1e0676=this['editor']['model'],_0x246f24=this['editor']['editing']['mapper'],_0x3eb48a=this['editor']['editing']['view']['domConverter'];if(_0x412e41>=_0x14805c['length'])return null;const _0x2ba597=_0x246f24['toModelPosition'](_0x4c38ae),_0xd6b96e=_0x1e0676['createRange'](_0x2ba597),_0x38df89=_0x246f24['findMappedViewAncestor'](_0x4c38ae),_0x4c56ad=_0x3eb48a['mapViewToDom'](_0x38df89);return new k({'type':'text','modelRange':_0xd6b96e,'domNode':_0x14805c,'offset':L(_0x14805c,_0x412e41,_0x4c56ad)});}_mapElementPageStarterInfoToPageBreakInfo(_0x4ec11a,_0x277857,_0x5cd4a5){const _0x388de9=this['editor']['model'],_0x4f533f=this['editor']['editing'],_0x452ba0=_0x4f533f['mapper'],_0x3e9103=_0x4f533f['view']['domConverter'],_0x16ccf0=_0x452ba0['findMappedViewAncestor'](_0x4ec11a),_0x3f3cc8=_0x452ba0['toModelElement'](_0x16ccf0);if(!_0x3f3cc8||_0x3f3cc8['is']('rootElement'))return!0x1;const _0x205395=function(_0x1d7049){const _0x4c3a82=_0x1d7049['parent'],_0x256b66=_0x4c3a82['root']['document']['model'],_0x3b2725=_0x4c3a82['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x138f89=null;for(const _0x25f598 of _0x3b2725){if(_0x25f598['is']('rootElement'))return _0x138f89;if(!_0x256b66['createPositionBefore'](_0x25f598)['isTouching'](_0x1d7049))return _0x138f89;_0x138f89=_0x25f598;}}(_0x388de9['createPositionBefore'](_0x3f3cc8))||_0x3f3cc8;let _0x4a7211=_0x452ba0['toViewElement'](_0x205395),_0xe53bf6=_0x388de9['createRangeOn'](_0x205395);const _0xb7e447=_0x388de9['createPositionBefore'](_0x205395)['nodeBefore'];if(_0xb7e447&&_0xb7e447['is']('element','imageBlock')){const _0x4d1980=_0x452ba0['toViewElement'](_0xb7e447),_0x2b7163=_0x3e9103['mapViewToDom'](_0x4d1980),_0x39af47=_0x34425f['window']['getComputedStyle'](_0x2b7163)['float'];'left'!=_0x39af47&&'right'!=_0x39af47||(_0xe53bf6=_0x388de9['createRangeOn'](_0xb7e447));}for(;_0x4a7211['parent']!==_0x4a7211['root']&&0x0===_0x4a7211['index'];)_0x4a7211=_0x4a7211['parent'];const _0x25fe54=new _0x5f3199(C(_0x277857)?_0x277857:E(_0x277857)),_0x317fa0=_0x5cd4a5?_0x25fe54['height']-_0x5cd4a5:0x0,_0x2e59d2=_0x3e9103['mapViewToDom'](_0x4a7211),_0xa952a0=new _0x5f3199(_0x2e59d2);return new k({'type':'element','modelRange':_0xe53bf6,'domNode':_0x2e59d2,'offset':Math['round'](_0x317fa0)||_0x16ccf0!=x(_0x4ec11a)?_0x317fa0+_0x25fe54['top']-_0xa952a0['top']:0x0});}get['_configuredPaddings'](){const _0x450f30=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x450f30);}static _findPageStarterInfos(_0x2a9fec,_0x289d82,_0x12d674,_0x470e6b,_0x330853){return I(_0x2a9fec,_0x289d82,_0x12d674,_0x470e6b,_0x330853);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x9e9ea,modelRange:_0x2d52a0,domNode:_0xed5907,offset:_0x330bd1}){this['type']=_0x9e9ea,this['modelRange']=_0x2d52a0,this['_domNode']=_0xed5907,this['_offset']=_0x330bd1;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x3284c5=new _0x5f3199(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x3284c5['top']+_0x3284c5['height']/0x2:_0x3284c5['top']+this['_offset'];}};function L(_0x2b00ba,_0x1c015c,_0x3a4f44){const _0x54bfb9=E(_0x2b00ba),_0x543634=function(_0xbd9787){const _0x3a61bb=_0x34425f['document']['createRange']();return _0x3a61bb['selectNodeContents'](_0xbd9787),_0x3a61bb;}(_0x3a4f44);let _0x461f1b;if(0x0==_0x1c015c){const _0x44e8c0=_0x161fba(_0x2b00ba);_0x461f1b=R(_0x543634['startContainer'],_0x543634['startOffset'],_0x44e8c0,Array['from'](_0x44e8c0['childNodes'])['indexOf'](_0x2b00ba));}else _0x461f1b=R(_0x543634['startContainer'],_0x543634['startOffset'],_0x2b00ba,_0x1c015c);const _0x1f023d=R(_0x2b00ba,_0x1c015c,_0x543634['endContainer'],_0x543634['endOffset']),_0x41921c=new _0x5f3199(_0x461f1b)['bottom'];return(new _0x5f3199(_0x1f023d)['top']+_0x41921c)/0x2-new _0x5f3199(_0x54bfb9)['top'];}function x(_0x473151){let _0x26972f=_0x473151['parent'];for(;_0x26972f['is']('$text')||_0x26972f['is']('attributeElement');)_0x26972f=_0x26972f['parent'];return _0x26972f;}function N(_0x2ff6aa){return _0x2ff6aa['hasAttribute']('width')&&_0x2ff6aa['hasAttribute']('height')?Promise['resolve']():new Promise(_0x29bb39=>{function _0x3d72f3(){_0x2ff6aa['removeEventListener']('load',_0x3d72f3),_0x2ff6aa['removeEventListener']('error',_0x3d72f3),_0x29bb39();}_0x2ff6aa['complete']?_0x29bb39():(_0x2ff6aa['addEventListener']('load',_0x3d72f3),_0x2ff6aa['addEventListener']('error',_0x3d72f3));});}function _(_0x20f5f9){return new Promise(_0x48c8ea=>setTimeout(_0x48c8ea,_0x20f5f9));}function E(_0x42678a){const _0x14e222=_0x34425f['document']['createRange']();return _0x14e222['selectNode'](_0x42678a),_0x14e222;}function S(_0x30e6f7,_0xda0daa,_0x27e8fc){const _0x357c0f=_0x34425f['document']['createRange']();return _0x357c0f['setStart'](_0x30e6f7,_0xda0daa),_0x357c0f['setEnd'](_0x30e6f7,_0x27e8fc),_0x357c0f;}function R(_0x22a4c7,_0x3466f7,_0x3729e9,_0x3219dc){const _0x4c737d=_0x34425f['document']['createRange']();return _0x4c737d['setStart'](_0x22a4c7,_0x3466f7),_0x4c737d['setEnd'](_0x3729e9,_0x3219dc),_0x4c737d;}function I(_0x3011cf,_0x25a8d5,_0x235d28,_0x136788,_0x5329fd){const _0x5f119d=[];for(const [_0x12b224,_0x31f4f5]of _0x3011cf['childNodes']['entries']()){let _0x3703f0=[];C(_0x31f4f5)&&_0x31f4f5['offsetParent']&&['static','relative']['includes'](_0x34425f['window']['getComputedStyle'](_0x31f4f5)['position'])?_0x3703f0=K(_0x31f4f5,_0x12b224,_0x25a8d5,_0x235d28,_0x136788,_0x5329fd):D(_0x31f4f5)&&(_0x3703f0=A(_0x31f4f5,_0x12b224,_0x25a8d5,_0x235d28,_0x5329fd)),_0x3703f0['length']&&(_0x5f119d['push'](..._0x3703f0),_0x25a8d5+=_0x3703f0['length']*_0x235d28,_0x5329fd=!0x1);}return _0x5f119d;}function K(_0x68c84c,_0x25b5b1,_0x821827,_0x4391bd,_0x2be45f,_0x568edd){const _0x289ee7=[];var _0x163179;if((_0x163179=_0x68c84c['previousSibling'])&&C(_0x163179)&&Boolean(_0x163179['classList']['contains']('page-break')||_0x163179['closest']('.page-break'))&&(_0x289ee7['push']({'type':'manual','offset':0x0,'path':[_0x25b5b1-0x1]}),_0x568edd=!0x0),'table-row'==_0x34425f['window']['getComputedStyle'](_0x68c84c)['display']){let _0x5d308a=0x0,_0x1ebdae=!0x1;for(const _0x22b332 of _0x68c84c['getClientRects']())_0x5d308a+=_0x22b332['height'],_0x22b332['left']>=_0x821827&&(_0x1ebdae=!0x0);if(_0x5d308a<_0x2be45f&&_0x1ebdae)return _0x568edd||_0x289ee7['push']({'type':'element','offset':0x0,'path':[_0x25b5b1]}),_0x289ee7;}const _0x7fe0fd=_0x68c84c['closest']('figure.image');if(_0x7fe0fd&&function(_0x1d7fcb){let _0x431039=!0x1;const _0x106d5c=_0x3c6f87(_0x1d7fcb)['dataset']['rootName'],_0x24cd65=_0x1d7fcb['nextElementSibling'],_0x4a1c91=_0x1d7fcb['previousElementSibling'],_0x2e06cd=_0x24cd65&&_0x34425f['window']['getComputedStyle'](_0x24cd65)['float'],_0x13b2ae=_0x24cd65&&'ck-fake-selection-container'===_0x24cd65['className'];return!_0x106d5c||_0x24cd65||_0x4a1c91||(_0x431039=!0x0),_0x106d5c&&!_0x4a1c91&&_0x13b2ae&&(_0x431039=!0x0),_0x106d5c&&!_0x4a1c91&&'none'!==_0x2e06cd&&(_0x431039=!0x0),!_0x431039;}(_0x7fe0fd)){const _0x520219=_0x34425f['window']['getComputedStyle'](_0x7fe0fd)['float'];if('left'==_0x520219||'right'==_0x520219)return _0x289ee7;}const _0x3cfaca=I(_0x68c84c,_0x821827,_0x4391bd,_0x2be45f,_0x568edd);if(_0x3cfaca['length']){for(const _0x1cb517 of _0x3cfaca)_0x289ee7['push']({'type':_0x1cb517['type'],'offset':_0x1cb517['offset'],'textOffset':_0x1cb517['textOffset'],'path':[_0x25b5b1,..._0x1cb517['path']]}),_0x821827+=_0x4391bd;return _0x289ee7;}return _0x289ee7['push'](...function(_0x3a9e43,_0x455eea,_0x430e48,_0x35867d,_0x34107a){const _0x3a6549=[];if('table-cell'==_0x34425f['window']['getComputedStyle'](_0x3a9e43)['display'])return[];const _0x71a9dc=[];for(const _0xff9c73 of _0x3a9e43['getClientRects']())if(_0xff9c73['left']>=_0x430e48){for(const _0x31eb96 of _0x71a9dc)_0x31eb96['height']+=_0xff9c73['height'];_0x71a9dc['push']({'height':_0xff9c73['height']}),_0x430e48+=_0x35867d;}for(const _0x5be96d of _0x71a9dc)_0x34107a||_0x3a6549['push']({'type':'element','offset':_0x5be96d['height'],'textOffset':0x0,'path':[_0x455eea]}),_0x34107a=!0x1;return _0x3a6549;}(_0x68c84c,_0x25b5b1,_0x821827,_0x4391bd,_0x568edd)),_0x289ee7;}function A(_0x3fe088,_0x2127b8,_0x5bd5b8,_0x45921d,_0x493e40){const _0x30e843=E(_0x3fe088),_0x23f85a=[];let _0x1eccd5=0x0;for(const _0x409128 of _0x30e843['getClientRects']())if(_0x409128['left']>=_0x5bd5b8){const _0x24427a=O(_0x3fe088,_0x1eccd5,_0x5bd5b8,_0x45921d);_0x493e40||_0x23f85a['push']({'type':'text','path':[_0x2127b8],'textOffset':_0x24427a}),_0x1eccd5=_0x24427a,_0x5bd5b8+=_0x45921d,_0x493e40=!0x1;}return _0x23f85a;}function O(_0x7cc8cf,_0x30e919,_0x5a9f4d,_0x9e7689){let _0x41b217=_0x30e919,_0xe28b7b=_0x7cc8cf['length'];for(;_0xe28b7b-_0x41b217>0x1;){const _0x13db0a=Math['ceil']((_0x41b217+_0xe28b7b)/0x2);U(S(_0x7cc8cf,_0x41b217,_0x13db0a),_0x5a9f4d,_0x9e7689)?_0xe28b7b=_0x13db0a:_0x41b217=_0x13db0a;}return _0x41b217;}function U(_0x921b7e,_0x2874f1,_0x32fd09){for(const _0x329919 of _0x921b7e['getClientRects']())if(_0x329919['left']>=_0x2874f1&&_0x329919['left']<_0x2874f1+_0x32fd09)return!0x0;return!0x1;}function C(_0x227634){return _0x227634['nodeType']==Node['ELEMENT_NODE'];}function D(_0x43de73){return _0x43de73['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xda0d3a('px');var B=class extends _0x5aed76{constructor(){super();const _0x893e19=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x893e19['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x893e19['if']('isVisible','ck-hidden',_0x18a989=>!_0x18a989)],'style':{'left':_0x893e19['to']('left',_0x31dfdb=>T(_0x31dfdb)),'top':_0x893e19['to']('top',_0x1424ec=>T(_0x1424ec)),'width':_0x893e19['to']('width',_0x56811b=>T(_0x56811b))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2e9628){this['_viewCollection']=_0x2e9628['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x4da4d6 of this['_hiddenLines'])_0x4da4d6['destroy']();}['cleanLines'](){for(const _0x670805 of this['_visibleLines'])_0x670805['isVisible']=!0x1,this['_hiddenLines']['add'](_0x670805);this['_visibleLines']['clear']();}['showLine'](_0x25841f,_0x318e3c,_0x56ec4a,_0x12d693){let _0x2aaaea;this['_hiddenLines']['size']?(_0x2aaaea=_0x52eb00(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2aaaea)):_0x2aaaea=new B(),_0x2aaaea['set']({'pageNumber':_0x12d693,'left':_0x25841f,'top':_0x318e3c,'width':_0x56ec4a}),_0x2aaaea['isVisible']=!0x0,this['_viewCollection']['has'](_0x2aaaea)||this['_viewCollection']['add'](_0x2aaaea),this['_visibleLines']['add'](_0x2aaaea);}setViewCollection(_0x573a4d){for(const _0x1cfc1f of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1cfc1f)&&this['_viewCollection']['remove'](_0x1cfc1f);this['_viewCollection']=_0x573a4d;}};const V='ck-pagination_enabled';var M=class extends _0x1e4161{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 G(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'](V),this['on']('change:isEnabled',(_0x402868,_0x2f3e06,_0x414e58)=>{_0x414e58||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x414e58);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x23ff63){if(!this['isEnabled'])return;const _0x4c3766=_0x23ff63>0x1?this['_getPageBreakLineOffset'](_0x23ff63-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x4c3766-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3a8cd5['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x39747c=this['editor'],_0x5cbbc3=this['_getAttachedDomRoot']();_0x5cbbc3?(this['_scrollableEditingRootDomAncestor']&&_0x39747c['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x1cf72b(_0x5cbbc3),_0x39747c['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x3a7e63(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x39747c['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x38f3a6=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x38f3a6['ui']['view']['listenTo'](_0x34425f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x38f3a6['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x194bf7 of this['editor']['editing']['view']['domRoots']['values']())if(_0x194bf7['isConnected'])return _0x194bf7;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x3d4a09=this['_getAttachedDomRoot'](),_0x48ddc3=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3d4a09||0x1==_0x48ddc3['length'])return void(this['pageNumber']=0x1);const _0x454975=new _0x5f3199(_0x3d4a09)['excludeScrollbarsAndBorders'](),_0x5907c6=new _0x5f3199(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4b4d1d=_0x5907c6['top']+_0x5907c6['height']/0x3;let _0x505a6c=!0x1;const _0x3c4dda=[];for(let _0x28d0a0=0x1;_0x28d0a0<_0x48ddc3['length'];_0x28d0a0++){const _0x58e066=this['_getPageBreakLineOffset'](_0x28d0a0,_0x5907c6);if(!_0x58e066)continue;const _0x2679ce=_0x5907c6['top']+_0x58e066-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x3c4dda['push']({'pageOffsetTop':_0x2679ce,'domRootRect':_0x454975,'domScrollableRect':_0x5907c6,'pageNumber':_0x28d0a0}),_0x2679ce>_0x4b4d1d&&!_0x505a6c&&(this['pageNumber']=_0x28d0a0,_0x505a6c=!0x0);}this['_renderPageBreakLines'](_0x3c4dda),_0x505a6c||(this['pageNumber']=_0x48ddc3['length']);}['_renderPageBreakLines'](_0x399fb0){if(!_0x399fb0['length'])return;const {scrollX:_0x6268fc,scrollY:_0x1cf9ab}=_0x34425f['window'],_0x38078e=_0x301b5a(this['linesRepository']['containerElement']);let _0xc481c8,_0x1d465e;if(_0x38078e){const _0x1c90d1=new _0x5f3199(_0x38078e);_0xc481c8=_0x1c90d1['top']+_0x38078e['clientTop']-_0x38078e['scrollTop'],_0x1d465e=_0x1c90d1['left']+_0x38078e['clientLeft']-_0x38078e['scrollLeft'];}else _0xc481c8=-_0x1cf9ab,_0x1d465e=-_0x6268fc;for(const {domScrollableRect:_0x36d640,pageOffsetTop:_0x3a1a64,domRootRect:_0x546b0f,pageNumber:_0x56c169}of _0x399fb0)_0x36d640['top']<_0x3a1a64&&_0x3a1a64<_0x36d640['bottom']&&this['linesRepository']['showLine'](_0x546b0f['left']-_0x1d465e,_0x3a1a64-_0xc481c8,_0x546b0f['width'],_0x56c169+0x1);}_getPageBreakLineOffset(_0x55a3c4,_0x3054f8=null){const _0x4d046e=this['_paginationLookupPlugin']['pageBreaks'][_0x55a3c4]['offset'];return _0x4d046e?(_0x3054f8||(_0x3054f8=new _0x5f3199(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x4d046e-_0x3054f8['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x36ea70,_0x5ced9c=!0x0){const _0xccff50=this['editor']['editing']['view'];_0xccff50['change'](_0x12262d=>{for(const _0x20442d of _0xccff50['document']['roots'])_0x5ced9c?_0x12262d['addClass'](_0x36ea70,_0x20442d):_0x12262d['removeClass'](_0x36ea70,_0x20442d);});}};function $(_0x4ae63a,_0x2f3bdf,..._0x27a33c){const t=_0x4ae63a['t'];switch(_0x2f3bdf){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)',..._0x27a33c);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 _0x2f3bdf;}}var j=class extends _0x1e4161{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[v,M];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1a81cb=this['editor']['plugins']['get']('Pagination'),_0x5c8d38=this['editor']['plugins']['get'](v),_0x179a19=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x1a81cb),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x179a19),this['listenTo'](_0x5c8d38,'change:pageBreaks',(_0x2ea64f,_0x3705a1,_0x5b5481,_0x5290ff)=>{this['totalPages']=_0x5b5481['length'],this['_updatePageBreakMarkers'](_0x5b5481,_0x5290ff);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x500c49=[this['editor']];for(const _0x160744 of _0x500c49){let _0x3e76ee;for(const _0x4c761f in _0x160744){const _0x464387=_0x4c761f,_0x235b07=_0x160744[_0x464387];if('paginationLicenseKeyValid'==_0x235b07||'paginationLicenseKeyInvalid'==_0x235b07||'paginationLicenseKeyExpired'==_0x235b07||'paginationLicenseKeyDomainLimit'==_0x235b07||'paginationLicenseKeyNotAllowed'==_0x235b07||'paginationLicenseKeyEvaluationLimit'==_0x235b07||'paginationLicenseKeyUsageLimit'==_0x235b07){delete _0x160744[_0x464387],_0x3e76ee=_0x235b07,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3e76ee&&_0x160744['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3e76ee&&_0x160744['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3e76ee&&_0x160744['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3e76ee&&_0x160744['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3e76ee&&_0x160744['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3e76ee&&_0x160744['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x168e01){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x168e01));}moveSelectionToPage(_0x15a928){if(!this['isEnabled'])return;const _0x24be11=this['editor'],_0x5af960=this['editor']['plugins']['get'](v)['pageBreaks'][_0x15a928-0x1];_0x5af960&&_0x24be11['model']['change'](_0x5d2c5e=>{switch(_0x5af960['type']){case'manual':{const _0x4ae0bd=_0x24be11['model']['schema']['getNearestSelectionRange'](_0x5af960['modelRange']['end'],'forward');_0x5d2c5e['setSelection'](_0x4ae0bd);break;}case'element':{const _0x3265da=_0x24be11['model']['schema']['getNearestSelectionRange'](_0x5af960['modelRange']['start'],'forward');_0x5d2c5e['setSelection'](_0x3265da);break;}case'text':{const _0x226057=_0x5af960['modelRange']['start'];if(_0x226057['textNode']&&'\x20'===_0x226057['textNode']['data'][_0x226057['offset']]){const _0x446f5a=_0x5d2c5e['createPositionAt'](_0x226057['parent'],_0x226057['offset']+0x1);_0x5d2c5e['setSelection'](_0x446f5a);}else _0x5d2c5e['setSelection'](_0x5af960['modelRange']);}}_0x24be11['editing']['view']['focus']();});}goToNextPage(){const _0x5ca8df=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5ca8df),this['scrollToPage'](_0x5ca8df);}['goToPreviousPage'](){const _0x4d1a1f=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4d1a1f),this['scrollToPage'](_0x4d1a1f);}_updatePageBreakMarkers(_0x456d33,_0x5d4142){const _0x5b4d6e=this['editor']['model'];this['isEnabled']&&_0x5b4d6e['change'](_0x2610ab=>{for(let _0x3365c7=0x1;_0x3365c7<_0x456d33['length'];_0x3365c7++){const _0x2aa3cb=_0x456d33[_0x3365c7]['modelRange'],_0x20daf7='pagination:'+(_0x3365c7+0x1);_0x5b4d6e['markers']['has'](_0x20daf7)?_0x2610ab['updateMarker'](_0x20daf7,{'range':_0x2aa3cb}):_0x2610ab['addMarker'](_0x20daf7,{'range':_0x2aa3cb,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x56d7ea=_0x456d33['length'];_0x56d7ea<_0x5d4142['length'];_0x56d7ea++){const _0x24c5ac='pagination:'+(_0x56d7ea+0x1);_0x5b4d6e['markers']['has'](_0x24c5ac)&&_0x2610ab['removeMarker'](_0x24c5ac);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x3f6763=>{_0x3f6763['on']('addMarker:pagination',(_0x51f069,{markerRange:_0x438478,markerName:_0x246ca1},_0x40ce59)=>{if(!_0x40ce59['options']['pagination'])return;if(!_0x40ce59['consumable']['consume'](_0x438478,_0x51f069['name']))return;const _0x421b98=_0x438478['getContainedElement']();let _0x539797=_0x421b98?_0x40ce59['mapper']['toViewElement'](_0x421b98):null;if(!_0x539797){const _0x40e012=_0x438478['start'];if(_0x40ce59['schema']['checkChild'](_0x40e012,'$text')){const _0x136c80=_0x40ce59['mapper']['toViewPosition'](_0x40e012);_0x539797=_0x40ce59['writer']['createContainerElement']('span'),_0x539797['getFillerOffset']=()=>null,_0x40ce59['writer']['insert'](_0x136c80,_0x539797);}else{const _0x5a57df=_0x40e012['nodeAfter'];_0x539797=_0x40ce59['mapper']['toViewElement'](_0x5a57df);}}for(;_0x539797['parent']!==_0x539797['root']&&0x0===_0x539797['index'];)_0x539797=_0x539797['parent'];const _0x773f58=_0x246ca1['substring'](0xb);_0x539797['hasClass']('page-break')||(_0x40ce59['writer']['setStyle']('page-break-before','always',_0x539797),_0x40ce59['writer']['setAttribute']('data-pagination-page',_0x773f58,_0x539797),_0x40ce59['mapper']['bindElementToMarker'](_0x539797,_0x246ca1)),_0x51f069['stop']();});});}_setupKeystrokes(){const _0x533d86=this['editor'];_0x533d86['keystrokes']['set']('Shift+Pageup',(_0xa1b72d,_0x58a269)=>{this['goToPreviousPage'](),_0x58a269();}),_0x533d86['keystrokes']['set']('Shift+Pagedown',(_0x4369ba,_0x67b0f6)=>{this['goToNextPage'](),_0x67b0f6();}),_0x533d86['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x533d86['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x533d86['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x533d86['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x2432a3){return _0x2432a3<0x1&&(_0x2432a3=0x1),_0x2432a3>this['totalPages']&&(_0x2432a3=this['totalPages']),_0x2432a3;}},q=class extends _0x5aed76{['pageNumberView'];constructor(_0x297bc8){super(_0x297bc8);const _0x1a1c06=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x417777(_0x297bc8,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xc614bb=>$(_0x297bc8,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xc614bb)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x59f75c=>!_0x59f75c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x1a1c06['if']('isEnabled','ck-disabled',_0x1d10c8=>!_0x1d10c8)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x1a1c06['to']('totalPages')}]}]});}['render'](){super['render']();const _0x4b611f=this['pageNumberView']['element'],_0x5cd8bf=_0x1c8e1a=>{this['pageNumberView']['element']['value']=String(_0x1c8e1a);};_0x5cd8bf(this['pageNumber']),this['on']('change:pageNumber',(_0x139993,_0xd43bd7,_0x1b2088)=>{_0x5cd8bf(_0x1b2088);}),this['listenTo'](_0x4b611f,'keydown',(_0x4c3da9,_0x12a341)=>{if('ArrowUp'===_0x12a341['key']||'ArrowDown'===_0x12a341['key'])return void _0x12a341['stopPropagation']();if(_0x12a341['keyCode']!==_0x31e909['enter'])return;_0x12a341['preventDefault']();const _0x4ea152=_0x4b611f['valueAsNumber'];Number['isNaN'](_0x4ea152)?_0x4b611f['value']=String(this['pageNumber']):(_0x4b611f['checkValidity']()?this['pageNumber']=_0x4ea152:_0x4ea152>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x4b611f['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x4b611f['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x4b611f,'blur',()=>{_0x4b611f['value']=String(this['pageNumber']);}),this['listenTo'](_0x4b611f,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x1e4161{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x4dc9ea=this['editor'],_0x5dc2e9=_0x4dc9ea['plugins']['get']('PaginationEditing');_0x4dc9ea['ui']['componentFactory']['add']('pageNavigation',_0x5dc22d=>{const _0xa347e9=new q(_0x5dc22d);return _0xa347e9['bind']('pageNumber')['to'](_0x5dc2e9),_0xa347e9['bind']('totalPages')['to'](_0x5dc2e9),_0xa347e9['bind']('isEnabled')['to'](_0x5dc2e9),_0xa347e9['on']('navigation',(_0x4f004c,_0x2c14c9)=>{_0x5dc2e9['moveSelectionToPage'](_0x2c14c9),_0x5dc2e9['scrollToPage'](_0x2c14c9);}),_0xa347e9;}),_0x4dc9ea['ui']['componentFactory']['add']('nextPage',_0x4001ce=>{const _0x44c842=new _0x11da14(_0x4001ce);return _0x44c842['isEnabled']=!0x0,_0x44c842['label']=$(_0x4dc9ea['locale'],'Go\x20to\x20next\x20page'),_0x44c842['icon']=_0x1cdfce,_0x44c842['tooltip']=!0x0,_0x44c842['keystroke']='Shift+PageDown',_0x44c842['bind']('isEnabled')['to'](_0x5dc2e9),this['listenTo'](_0x44c842,'execute',()=>{_0x5dc2e9['goToNextPage']();}),_0x44c842;}),_0x4dc9ea['ui']['componentFactory']['add']('previousPage',_0x283cc9=>{const _0x405f35=new _0x11da14(_0x283cc9);return _0x405f35['isEnabled']=!0x0,_0x405f35['label']=$(_0x4dc9ea['locale'],'Go\x20to\x20previous\x20page'),_0x405f35['icon']=_0x154c5b,_0x405f35['tooltip']=!0x0,_0x405f35['keystroke']='Shift+PageUp',_0x405f35['bind']('isEnabled')['to'](_0x5dc2e9),this['listenTo'](_0x405f35,'execute',()=>{_0x5dc2e9['goToPreviousPage']();}),_0x405f35;});}},H=class extends _0x1e4161{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x86c44c){super(_0x86c44c),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x38f008=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x38f008),this['bind']('totalPages')['to'](_0x38f008),_0x3a8cd5['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x2c6eb0){this['editor']['plugins']['get'](j)['scrollToPage'](_0x2c6eb0);}};export{H as Pagination,M as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x537df6=>{const {af:_0x19b356}={'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)':''}}};_0x537df6['af']||={'dictionary':{},'getPluralForm':null},_0x537df6['af']['dictionary']=Object['assign'](_0x537df6['af']['dictionary'],_0x19b356['dictionary']),_0x19b356['getPluralForm']&&(_0x537df6['af']['getPluralForm']=_0x19b356['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b8453=>{const {ar:_0x30a2ee}={'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أيضاً)'}}};_0x4b8453['ar']||={'dictionary':{},'getPluralForm':null},_0x4b8453['ar']['dictionary']=Object['assign'](_0x4b8453['ar']['dictionary'],_0x30a2ee['dictionary']),_0x30a2ee['getPluralForm']&&(_0x4b8453['ar']['getPluralForm']=_0x30a2ee['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x219034=>{const {ast:_0x1bb658}={'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)':''}}};_0x219034['ast']||={'dictionary':{},'getPluralForm':null},_0x219034['ast']['dictionary']=Object['assign'](_0x219034['ast']['dictionary'],_0x1bb658['dictionary']),_0x1bb658['getPluralForm']&&(_0x219034['ast']['getPluralForm']=_0x1bb658['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x453e88=>{const {az:_0x13c9b0}={'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)':''}}};_0x453e88['az']||={'dictionary':{},'getPluralForm':null},_0x453e88['az']['dictionary']=Object['assign'](_0x453e88['az']['dictionary'],_0x13c9b0['dictionary']),_0x13c9b0['getPluralForm']&&(_0x453e88['az']['getPluralForm']=_0x13c9b0['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f1e05=>{const {be:_0x40d6e3}={'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)':''}}};_0x5f1e05['be']||={'dictionary':{},'getPluralForm':null},_0x5f1e05['be']['dictionary']=Object['assign'](_0x5f1e05['be']['dictionary'],_0x40d6e3['dictionary']),_0x40d6e3['getPluralForm']&&(_0x5f1e05['be']['getPluralForm']=_0x40d6e3['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x114f60=>{const {bg:_0x4513b}={'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селекцията)'}}};_0x114f60['bg']||={'dictionary':{},'getPluralForm':null},_0x114f60['bg']['dictionary']=Object['assign'](_0x114f60['bg']['dictionary'],_0x4513b['dictionary']),_0x4513b['getPluralForm']&&(_0x114f60['bg']['getPluralForm']=_0x4513b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc43b5c=>{const {bn:_0x261cde}={'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নিন)'}}};_0xc43b5c['bn']||={'dictionary':{},'getPluralForm':null},_0xc43b5c['bn']['dictionary']=Object['assign'](_0xc43b5c['bn']['dictionary'],_0x261cde['dictionary']),_0x261cde['getPluralForm']&&(_0xc43b5c['bn']['getPluralForm']=_0x261cde['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf4db0c=>{const {bs:_0x4d4a01}={'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)':''}}};_0xf4db0c['bs']||={'dictionary':{},'getPluralForm':null},_0xf4db0c['bs']['dictionary']=Object['assign'](_0xf4db0c['bs']['dictionary'],_0x4d4a01['dictionary']),_0x4d4a01['getPluralForm']&&(_0xf4db0c['bs']['getPluralForm']=_0x4d4a01['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30b24e=>{const {ca:_0x304ec5}={'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ó)'}}};_0x30b24e['ca']||={'dictionary':{},'getPluralForm':null},_0x30b24e['ca']['dictionary']=Object['assign'](_0x30b24e['ca']['dictionary'],_0x304ec5['dictionary']),_0x304ec5['getPluralForm']&&(_0x30b24e['ca']['getPluralForm']=_0x304ec5['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1dc501=>{const {cs:_0x5ca99f}={'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)'}}};_0x1dc501['cs']||={'dictionary':{},'getPluralForm':null},_0x1dc501['cs']['dictionary']=Object['assign'](_0x1dc501['cs']['dictionary'],_0x5ca99f['dictionary']),_0x5ca99f['getPluralForm']&&(_0x1dc501['cs']['getPluralForm']=_0x5ca99f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37e643=>{const {da:_0x255ecb}={'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)'}}};_0x37e643['da']||={'dictionary':{},'getPluralForm':null},_0x37e643['da']['dictionary']=Object['assign'](_0x37e643['da']['dictionary'],_0x255ecb['dictionary']),_0x255ecb['getPluralForm']&&(_0x37e643['da']['getPluralForm']=_0x255ecb['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27c319=>{const {'de-ch':_0x70233b}={'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)':''}}};_0x27c319['de-ch']||={'dictionary':{},'getPluralForm':null},_0x27c319['de-ch']['dictionary']=Object['assign'](_0x27c319['de-ch']['dictionary'],_0x70233b['dictionary']),_0x70233b['getPluralForm']&&(_0x27c319['de-ch']['getPluralForm']=_0x70233b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2bdae1=>{const {de:_0x24a30e}={'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)'}}};_0x2bdae1['de']||={'dictionary':{},'getPluralForm':null},_0x2bdae1['de']['dictionary']=Object['assign'](_0x2bdae1['de']['dictionary'],_0x24a30e['dictionary']),_0x24a30e['getPluralForm']&&(_0x2bdae1['de']['getPluralForm']=_0x24a30e['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x55c095=>{const {el:_0x522976}={'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μετακίνησης)'}}};_0x55c095['el']||={'dictionary':{},'getPluralForm':null},_0x55c095['el']['dictionary']=Object['assign'](_0x55c095['el']['dictionary'],_0x522976['dictionary']),_0x522976['getPluralForm']&&(_0x55c095['el']['getPluralForm']=_0x522976['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1dd1e5=>{const {'en-au':_0x280adb}={'en-au':{'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)':''}}};_0x1dd1e5['en-au']||={'dictionary':{},'getPluralForm':null},_0x1dd1e5['en-au']['dictionary']=Object['assign'](_0x1dd1e5['en-au']['dictionary'],_0x280adb['dictionary']),_0x280adb['getPluralForm']&&(_0x1dd1e5['en-au']['getPluralForm']=_0x280adb['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f7843=>{const {'en-gb':_0x2ae5e0}={'en-gb':{'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)':''}}};_0x4f7843['en-gb']||={'dictionary':{},'getPluralForm':null},_0x4f7843['en-gb']['dictionary']=Object['assign'](_0x4f7843['en-gb']['dictionary'],_0x2ae5e0['dictionary']),_0x2ae5e0['getPluralForm']&&(_0x4f7843['en-gb']['getPluralForm']=_0x2ae5e0['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x346fd5=>{const {en:_0x3f3d33}={'en':{'dictionary':{'Go\x20to\x20next\x20page':'Go\x20to\x20next\x20page','Go\x20to\x20previous\x20page':'Go\x20to\x20previous\x20page','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Current\x20page\x20number\x20(from\x201\x20to\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Keystrokes\x20for\x20navigating\x20through\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'}}};_0x346fd5['en']||={'dictionary':{},'getPluralForm':null},_0x346fd5['en']['dictionary']=Object['assign'](_0x346fd5['en']['dictionary'],_0x3f3d33['dictionary']),_0x3f3d33['getPluralForm']&&(_0x346fd5['en']['getPluralForm']=_0x3f3d33['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x53423f=>{const {eo:_0x5c2371}={'eo':{'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)':''}}};_0x53423f['eo']||={'dictionary':{},'getPluralForm':null},_0x53423f['eo']['dictionary']=Object['assign'](_0x53423f['eo']['dictionary'],_0x5c2371['dictionary']),_0x5c2371['getPluralForm']&&(_0x53423f['eo']['getPluralForm']=_0x5c2371['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d0e4a=>{const {'es-co':_0x5b90f9}={'es-co':{'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)':''}}};_0x2d0e4a['es-co']||={'dictionary':{},'getPluralForm':null},_0x2d0e4a['es-co']['dictionary']=Object['assign'](_0x2d0e4a['es-co']['dictionary'],_0x5b90f9['dictionary']),_0x5b90f9['getPluralForm']&&(_0x2d0e4a['es-co']['getPluralForm']=_0x5b90f9['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54f86a=>{const {es:_0x3c38d1}={'es':{'dictionary':{'Go\x20to\x20next\x20page':'Ir\x20a\x20la\x20página\x20siguiente','Go\x20to\x20previous\x20page':'Ir\x20a\x20la\x20pagina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Número\x20de\x20página\x20actual\x20(de\x201\x20a\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Pulsaciones\x20de\x20teclas\x20para\x20navegar\x20por\x20los\x20documentos','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ir\x20a\x20la\x20página\x20anterior\x20(también\x20mover\x20selección)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ir\x20a\x20la\x20página\x20siguiente\x20(también\x20mover\x20selección)'}}};_0x54f86a['es']||={'dictionary':{},'getPluralForm':null},_0x54f86a['es']['dictionary']=Object['assign'](_0x54f86a['es']['dictionary'],_0x3c38d1['dictionary']),_0x3c38d1['getPluralForm']&&(_0x54f86a['es']['getPluralForm']=_0x3c38d1['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x529579=>{const {et:_0x5cd24b}={'et':{'dictionary':{'Go\x20to\x20next\x20page':'Mine\x20järgmisele\x20lehele','Go\x20to\x20previous\x20page':'Mine\x20eelmisele\x20lehele','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Praeguse\x20lehe\x20number\x20(alates\x201\x20kuni\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Kiirklahvid\x20dokumendis\x20liikumiseks','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Mine\x20eelmisele\x20lehele\x20(lisaks\x20vaheta\x20valikut)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Mine\x20järgmisele\x20lehele\x20(lisaks\x20vaheta\x20valikut)'}}};_0x529579['et']||={'dictionary':{},'getPluralForm':null},_0x529579['et']['dictionary']=Object['assign'](_0x529579['et']['dictionary'],_0x5cd24b['dictionary']),_0x5cd24b['getPluralForm']&&(_0x529579['et']['getPluralForm']=_0x5cd24b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11f721=>{const {eu:_0x2f7f2c}={'eu':{'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)':''}}};_0x11f721['eu']||={'dictionary':{},'getPluralForm':null},_0x11f721['eu']['dictionary']=Object['assign'](_0x11f721['eu']['dictionary'],_0x2f7f2c['dictionary']),_0x2f7f2c['getPluralForm']&&(_0x11f721['eu']['getPluralForm']=_0x2f7f2c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37b417=>{const {fa:_0x25c707}={'fa':{'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)':''}}};_0x37b417['fa']||={'dictionary':{},'getPluralForm':null},_0x37b417['fa']['dictionary']=Object['assign'](_0x37b417['fa']['dictionary'],_0x25c707['dictionary']),_0x25c707['getPluralForm']&&(_0x37b417['fa']['getPluralForm']=_0x25c707['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26e249=>{const {fi:_0x1cb484}={'fi':{'dictionary':{'Go\x20to\x20next\x20page':'Siirry\x20seuraavalle\x20sivulle','Go\x20to\x20previous\x20page':'Siirry\x20edelliselle\x20sivulle','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Tämänhetkinen\x20sivunumero\x20(välillä\x201-%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Näppäimet\x20asiakirjasta\x20toiseen\x20siirtymiseen','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Siirry\x20edelliselle\x20sivulle\x20(siirtää\x20myös\x20valinnan)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Siirry\x20seuraavalle\x20sivulle\x20(siirtää\x20myös\x20valinnan)'}}};_0x26e249['fi']||={'dictionary':{},'getPluralForm':null},_0x26e249['fi']['dictionary']=Object['assign'](_0x26e249['fi']['dictionary'],_0x1cb484['dictionary']),_0x1cb484['getPluralForm']&&(_0x26e249['fi']['getPluralForm']=_0x1cb484['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x966dd1=>{const {fr:_0x2a749f}={'fr':{'dictionary':{'Go\x20to\x20next\x20page':'Aller\x20à\x20la\x20page\x20suivante','Go\x20to\x20previous\x20page':'Aller\x20à\x20la\x20page\x20précédente','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Numéro\x20de\x20la\x20page\x20actuelle\x20(de\x201\x20à\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Frappes\x20permettant\x20de\x20naviguer\x20à\x20travers\x20les\x20documents','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Aller\x20à\x20la\x20page\x20précédente\x20(également\x20déplacer\x20la\x20sélection)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Aller\x20à\x20la\x20page\x20suivante\x20(déplacer\x20également\x20la\x20sélection)'}}};_0x966dd1['fr']||={'dictionary':{},'getPluralForm':null},_0x966dd1['fr']['dictionary']=Object['assign'](_0x966dd1['fr']['dictionary'],_0x2a749f['dictionary']),_0x2a749f['getPluralForm']&&(_0x966dd1['fr']['getPluralForm']=_0x2a749f['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ed1c7=>{const {gl:_0x29dbcf}={'gl':{'dictionary':{'Go\x20to\x20next\x20page':'Ir\x20á\x20páxina\x20seguinte','Go\x20to\x20previous\x20page':'Ir\x20á\x20páxina\x20anterior','Current\x20page\x20number\x20(from\x201\x20to\x20%0)':'Número\x20de\x20páxina\x20actual\x20(do\x201\x20ao\x20%0)','Keystrokes\x20for\x20navigating\x20through\x20documents':'Teclas\x20de\x20atallo\x20para\x20navegar\x20polos\x20documentos','Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':'Ir\x20á\x20páxina\x20anterior\x20(tamén\x20mover\x20a\x20selección)','Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':'Ir\x20á\x20páxina\x20seguinte\x20(tamén\x20mover\x20a\x20selección)'}}};_0x1ed1c7['gl']||={'dictionary':{},'getPluralForm':null},_0x1ed1c7['gl']['dictionary']=Object['assign'](_0x1ed1c7['gl']['dictionary'],_0x29dbcf['dictionary']),_0x29dbcf['getPluralForm']&&(_0x1ed1c7['gl']['getPluralForm']=_0x29dbcf['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|