@ckeditor/ckeditor5-pagination 49.0.0-alpha.6 → 49.0.0-alpha.8
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 _0x39d90b}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x2cb72e,InputNumberView as _0x1e2b11,View as _0x4d0adb}from'@ckeditor/ckeditor5-ui';import{Rect as _0x464bb1,ResizeObserver as _0x3fe331,env as _0x2e07ae,findClosestScrollableAncestor as _0x58c163,first as _0x5837ed,getParentElement as _0x4a6206,getParentNode as _0x4e6254,getPositionedAncestor as _0x181d5d,global as _0x3c1c00,keyCodes as _0x46f3b8,logWarning as _0x141811,toUnit as _0x5e453e,uid as _0x274976}from'@ckeditor/ckeditor5-utils';import{debounce as _0x4a433b}from'es-toolkit/compat';import{IconArrowDown as _0x3ca374,IconArrowUp as _0x28adc9}from'@ckeditor/ckeditor5-icons';var v=class extends _0x39d90b{_recalculatePageBreaksDebounced=_0x4a433b(()=>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 _0x141811('pagination-config-not-found',this['editor']['config']);const _0x2afcb5=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x2afcb5),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x750147,_0x2a123e,_0xdac7cd)=>{_0xdac7cd&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x2a9d73){const _0x5b66e0='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x5cbddc=0x797a0,_0x17abc2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x271dd5(_0x2b3b1d){const _0x2968a0=new window['Promise'](_0x2b3657=>{_0x2b3b1d['once']('ready',_0x2b3657);}),_0x147c87=window['Date']['now'](),_0x148448=_0x2b3b1d['config']['get']('licenseKey');async function _0x566dda(){let _0x26b2bb,_0x41be27=null,_0xc9de40=null;try{return'GPL'==_0x148448?'NotAllowed':(_0x26b2bb=_0x46838a(),_0x26b2bb?(_0x26b2bb['usageEndpoint']&&(_0xc9de40=_0x21abd7(_0x26b2bb['usageEndpoint'],_0x26b2bb['jti'])),await _0x570ff8()?_0x4fdf47()?_0xa9bda2()?'Expired':_0x4463dd()?('evaluation'==_0x26b2bb['licenseType']&&(_0x41be27=_0x367a04('EvaluationLimit')),await _0xd8a474()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xa9bda2(){const _0x49ec1d=['evaluation','trial']['includes'](_0x26b2bb['licenseType'])?_0x147c87/0x3e8:0xe10*_0x5cbddc;return _0x26b2bb['exp']<_0x49ec1d;}function _0x4fdf47(){const _0x15db1e=_0x26b2bb['features'];return!!_0x15db1e&&(!!_0x15db1e['includes']('*')||!!_0x15db1e['includes']('PAG'));}function _0x4463dd(){const _0x395f05=_0x26b2bb['licensedHosts'];if(!_0x395f05||0x0==_0x395f05['length'])return!0x0;const {hostname:_0x4011c3}=new URL(window['location']['href']);if(_0x395f05['includes'](_0x4011c3))return!0x0;const _0xa2f9d6=_0x4011c3['split']('.');return _0x395f05['filter'](_0x43f7a1=>_0x43f7a1['includes']('*'))['map'](_0x11578f=>_0x11578f['split']('.'))['filter'](_0x2b70a1=>_0x2b70a1['length']<=_0xa2f9d6['length'])['map'](_0x48dda8=>Array(_0xa2f9d6['length']-_0x48dda8['length'])['fill']('*'===_0x48dda8[0x0]?'*':'')['concat'](_0x48dda8))['some'](_0x402437=>_0xa2f9d6['every']((_0x4a2071,_0xf2a372)=>_0x402437[_0xf2a372]===_0x4a2071||'*'===_0x402437[_0xf2a372]));}function _0xd8a474(){return _0x41be27&&_0xc9de40?new window['Promise']((_0x33def8,_0x3c409f)=>{_0x41be27['then'](_0x33def8,_0x3c409f),_0xc9de40['then'](_0x20096e=>{'Valid'!=_0x20096e&&_0x33def8(_0x20096e);},_0x3c409f);}):_0x41be27||_0xc9de40||'Valid';}}function _0x21abd7(_0x50e2f9,_0x307938){return new window['Promise'](_0x24fd30=>{if(_0x2cf712())return _0x24fd30('Valid');_0x5e9023(),_0x2b3b1d['decorate']('_sendUsageRequest');let _0x2c0c0d=!0x1;const _0x1c3807=_0x274976();function _0x5208ec(_0x418ec5){return!!_0x418ec5&&('object'==typeof _0x418ec5||'function'==typeof _0x418ec5)&&'function'==typeof _0x418ec5['then']&&'function'==typeof _0x418ec5['catch'];}function _0x31ec2d(_0x22940a){_0xafb159(_0x22940a)['then'](_0x37bff3=>_0x37bff3&&'ok'==_0x37bff3['status']?_0x27ce79(_0x3e86a4(_0x1c3807+_0x307938))!=_0x37bff3['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xdb7fb7=>(_0x5dcf66(),_0xdb7fb7),()=>{const _0x48ed95=_0x824dfb();return null==_0x48ed95?(_0x5dcf66(),'Valid'):_0x147c87-_0x48ed95>0x240c8400?'UsageLimit':'Valid';})['then'](_0x24fd30)['catch'](()=>{_0x24fd30('UsageLimit');});const _0x170386=0x36ee80;function _0x5dcf66(){const _0x31862a='llct-'+_0x27ce79(_0x3e86a4(_0x50e2f9)),_0xe995e9=_0x2785e9(_0x27ce79(window['Math']['ceil'](_0x147c87/_0x170386)));window['localStorage']['setItem'](_0x31862a,_0xe995e9);}function _0x824dfb(){const _0x3cdc3c='llct-'+_0x27ce79(_0x3e86a4(_0x50e2f9)),_0x548e43=window['localStorage']['getItem'](_0x3cdc3c);return _0x548e43?window['parseInt'](_0x2785e9(_0x548e43),0x10)*_0x170386:null;}function _0xafb159(_0x47c5a7){return new window['Promise']((_0x1f0765,_0x54f120)=>{_0x47c5a7['then'](_0x1f0765,_0x54f120),window['setTimeout'](_0x54f120,0x1d4c0);});}}_0x2b3b1d['on']('_sendUsageRequest',(_0x199b1b,_0x436258)=>{if(_0x436258[0x0]!=_0x50e2f9)return _0x24fd30('UsageLimit');_0x436258[0x1]={..._0x436258[0x1],'requestId':_0x1c3807};},{'priority':'high'}),_0x2b3b1d['on']('_sendUsageRequest',_0x1a57f1=>{_0x5208ec(_0x1a57f1['return'])&&(_0x2c0c0d=!0x0,_0x31ec2d(_0x1a57f1['return']));},{'priority':'low'}),_0x2968a0['then'](()=>{_0x2c0c0d||_0x24fd30('UsageLimit');});});function _0x2cf712(){return'auto'==_0x2b3b1d['editing']['view']['_overlayModeHint'];}function _0x5e9023(){_0x2b3b1d['editing']['view']['_overlayModeHint']='auto';}}function _0x367a04(_0x2eb64d){const _0x167046=[new window['Promise'](_0x4ab890=>setTimeout(_0x4ab890,0x93ecc)),_0x2968a0['then'](()=>new window['Promise'](_0x3cf6f2=>{let _0x2a25aa=0x0;_0x2b3b1d['model']['on']('applyOperation',(_0x4ae606,_0x1363a0)=>{_0x1363a0[0x0]['isDocumentOperation']&&_0x2a25aa++,0x5e8==_0x2a25aa&&(_0x3cf6f2(),_0x4ae606['off']());});}))];return window['Promise']['race'](_0x167046)['then'](()=>_0x2eb64d);}async function _0x357c4e(){await _0x2968a0,_0x2b3b1d['model']['change']=_0x10bc94,_0x2b3b1d['model']['enqueueChange']=_0x10bc94,_0x2b3b1d['enableReadOnlyMode']('model');}function _0x54fee0(_0x40f6b1){const _0x13376d=_0x3a08ba();_0x2b3b1d[_0x13376d]='paginationLicenseKey'+_0x40f6b1,'Valid'!=_0x40f6b1&&_0x357c4e();}function _0x3a08ba(){const _0x4b6c4d=window['String'](window['performance']['now']())['replace']('.','');let _0x549aa9='v';for(let _0x5112bc=0x0;_0x5112bc<_0x4b6c4d['length'];_0x5112bc+=0x2){let _0x33213b=window['parseInt'](_0x4b6c4d['substring'](_0x5112bc,_0x5112bc+0x2));_0x33213b>=0x3e&&(_0x33213b-=0x3e),_0x549aa9+=_0x5b66e0[_0x33213b];}return _0x549aa9;}function _0x46838a(){const _0x1652ec=_0x148448['split']('.');if(0x3!=_0x1652ec['length'])return null;return _0x15bac9(_0x1652ec[0x1]);function _0x15bac9(_0x5f27fd){const _0x5cc6c3=_0xa4c072(_0x5f27fd);return _0x5cc6c3&&_0x291369()?_0x5cc6c3:null;function _0x291369(){const _0x4b3e8c=_0x5cc6c3['jti'],_0x5b0152=window['parseInt'](_0x4b3e8c['substring'](_0x4b3e8c['length']-0x8),0x10),_0x1d241d={..._0x5cc6c3,'jti':_0x4b3e8c['substring'](0x0,_0x4b3e8c['length']-0x8)};return delete _0x1d241d['vc'],_0x3e86a4(_0x1d241d)==_0x5b0152;}}}async function _0x570ff8(){let _0x33f2bb=!0x0;try{const [_0x46ff2d,_0x3d9ab8,_0x2b6fec]=_0x148448['split']('.');return _0x34c7ec(_0x46ff2d),await _0x11071e(_0x46ff2d,_0x3d9ab8,_0x2b6fec),_0x33f2bb;}catch{return!0x1;}function _0x34c7ec(_0x29c34a){const _0x4d2c2e=_0xa4c072(_0x29c34a);_0x4d2c2e&&'ES256'==_0x4d2c2e['alg']||(_0x33f2bb=!0x1);}async function _0x11071e(_0x5f19e2,_0x2485c2,_0xc1c509){const _0x4d25db=window['Uint8Array']['from'](_0x25d8cb(_0xc1c509),_0x32fb93=>_0x32fb93['charCodeAt'](0x0)),_0x2e5f35=new window['TextEncoder']()['encode'](_0x5f19e2+'.'+_0x2485c2),_0x2ed548=window['crypto']['subtle'];if(!_0x2ed548)return;const _0x50d66f=await _0x2ed548['importKey']('jwk',_0x17abc2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2ed548['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x50d66f,_0x4d25db,_0x2e5f35)||(_0x33f2bb=!0x1);}}function _0xa4c072(_0x170284){return _0x170284['startsWith']('ey')?JSON['parse'](_0x25d8cb(_0x170284)):null;}function _0x25d8cb(_0x1635fc){return window['atob'](_0x1635fc['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3e86a4(_0x230e4c){let _0x539c24=0x1505;function _0x19abb1(_0x43e2f9){for(let _0x23f723=0x0;_0x23f723<_0x43e2f9['length'];_0x23f723++){const _0xab29c0=_0x43e2f9['charCodeAt'](_0x23f723);_0x539c24=(_0x539c24<<0x5)+_0x539c24+_0xab29c0,_0x539c24&=_0x539c24;}}function _0x59bc0d(_0x21adb0){Array['isArray'](_0x21adb0)?_0x21adb0['forEach'](_0x59bc0d):_0x21adb0&&'object'==typeof _0x21adb0?Object['entries'](_0x21adb0)['sort']()['forEach'](([_0x399258,_0x34177a])=>{_0x19abb1(_0x399258),_0x59bc0d(_0x34177a);}):_0x19abb1(window['String'](_0x21adb0));}return _0x59bc0d(_0x230e4c),_0x539c24>>>0x0;}function _0x27ce79(_0x21dd59){return _0x21dd59['toString'](0x10)['padStart'](0x8,'0');}function _0x2785e9(_0x5d90f6){return _0x5d90f6['split']('')['reverse']()['join']('');}function _0x10bc94(){}_0x54fee0(await _0x566dda());}_0x271dd5(_0x2a9d73['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x535a4f=this['editor'],_0x396120=_0x535a4f['editing']['view'],_0x56421f=this['_getAttachedDomRoot']();if(!_0x56421f||!_0x56421f['hasChildNodes']())return void _0x535a4f['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x51ce65,pageHeight:_0x5d314e}=_0x535a4f['config']['get']('pagination'),{top:_0x5a1704,left:_0xde7ebe,bottom:_0x434680,right:_0x4ab132}=this['_configuredPaddings'];this['_pagesContainer']=new _0x4d0adb(_0x535a4f['locale']);const _0x5cf2c1=this['_pagesContainer'];_0x5cf2c1['set']('class',''),_0x5cf2c1['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x51ce65,'width':_0x51ce65,'height':'calc(\x20'+_0x5d314e+'\x20-\x20'+_0x5a1704+'\x20-\x20'+_0x434680+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4ab132+'\x200\x20'+_0xde7ebe,'columnGap':'calc('+_0xde7ebe+'\x20+\x20'+_0x4ab132+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x5cf2c1['bindTemplate']['to']('class')}}),_0x5cf2c1['render'](),_0x4e6254(_0x56421f)['insertBefore'](_0x5cf2c1['element'],_0x56421f['nextSibling']),this['listenTo'](_0x396120,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x427478 of this['editor']['editing']['view']['domRoots']['values']())if(_0x427478['isConnected'])return _0x427478;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x183163=this['editor']['editing']['view'],_0x36170a=this['_pagesContainer'],_0x4b9be6=this['_getAttachedDomRoot']();if(!_0x4b9be6||!_0x36170a)return Promise['resolve']();for(_0x36170a['class']=['ck-reset','ck-pagination-view',..._0x4b9be6['classList']]['join']('\x20');_0x36170a['element']['firstChild'];)_0x36170a['element']['firstChild']['remove']();const _0x5c16df=Array['from'](_0x183163['domRoots']);_0x5c16df['sort'](([,_0x4bb93f],[,_0x5e48a9])=>_0x4bb93f['compareDocumentPosition'](_0x5e48a9)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x40f823,_0x11adfa]of _0x5c16df){const _0x2e20b7=_0x11adfa['cloneNode'](!0x0);'attributeStyleMap'in _0x2e20b7&&_0x2e20b7['attributeStyleMap']['clear'](),_0x2e20b7['dataset']['rootName']=_0x40f823,_0x2e20b7['className']='ck-content\x20ck-pagination_enabled',_0x2e20b7['removeAttribute']('id'),_0x2e20b7['tabIndex']=-0x1,_0x36170a['element']['append'](_0x2e20b7);}const _0x140e41=Array['from'](_0x36170a['element']['querySelectorAll']('img'));return function(_0x498b18){return Promise['all'](_0x498b18['map'](_0x407232=>Promise['race']([N(_0x407232),_(0x3e8)])));}(_0x140e41)['then'](()=>{for(const _0x3293f5 of _0x140e41['filter'](_0xbd120a=>!_0xbd120a['closest']('table')))if(_0x3293f5['offsetParent']){const _0x989075=_0x3c1c00['window']['getComputedStyle'](_0x3293f5),_0xbda25=_0x3c1c00['document']['createElement']('span');for(const _0x27558c of _0x989075)_0xbda25['style']['setProperty'](_0x27558c,_0x989075[_0x27558c]);_0xbda25['style']['backgroundImage']='url(\x20'+_0x3293f5['src']+'\x20)',_0xbda25['style']['breakInside']='avoid','PICTURE'==_0x3293f5['parentElement']?.['tagName']?_0x3293f5['parentElement']['replaceWith'](_0xbda25):_0x3293f5['replaceWith'](_0xbda25);}return new Promise(_0x25acfa=>_0x3c1c00['window']['requestAnimationFrame'](()=>_0x25acfa()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0xf2e628=this['_pagesContainer']['element'];if(!_0xf2e628['isConnected'])return;const _0x2ef593=new _0x464bb1(_0xf2e628)['excludeScrollbarsAndBorders'](),_0x23a698=Math['floor'](_0x2ef593['width']+0x64),_0x5928ae=I(_0xf2e628,Math['floor'](_0x2ef593['left']-_0xf2e628['scrollLeft']),_0x23a698,_0x2ef593['height'])['map'](_0x4f9f3f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x4f9f3f))['filter'](_0xc1355f=>!0x1!==_0xc1355f);_0x5928ae['every'](_0x2afb6e=>!!_0x2afb6e)&&(this['pageBreaks']=_0x5928ae);}_mapPageStarterInfoToPageBreakInfo(_0x428262){const _0x303213=this['editor']['editing']['view'],_0x4a2dfe=this['editor']['editing']['mapper'],_0x22029b=_0x303213['domConverter'],_0x45375b=_0x428262['path']['shift'](),_0x44f8cd=this['_pagesContainer']['element']['childNodes'][_0x45375b]['dataset']['rootName'],_0x542183=_0x303213['getDomRoot'](_0x44f8cd);if(!_0x542183)return null;const _0x18c879=function(_0x5449fb,_0x56e60c){let _0x20ce5a=_0x5449fb;for(const _0x467343 of _0x56e60c['path']){if(!_0x20ce5a)return null;_0x20ce5a=_0x20ce5a['childNodes'][_0x467343];}return _0x20ce5a;}(_0x542183,_0x428262);if(!_0x18c879)return null;const _0x5f16f6=_0x22029b['domPositionToView'](_0x18c879,_0x428262['textOffset']||0x0);return _0x5f16f6?'manual'==_0x428262['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x5f16f6,_0x18c879):'text'==_0x428262['type']&&_0x4a2dfe['toModelPosition'](_0x5f16f6)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x5f16f6,_0x18c879,_0x428262['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x5f16f6,_0x18c879,_0x428262['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0xd5fbf9,_0x141455){const _0x32613d=this['editor']['model'],_0x3d0dd8=this['editor']['editing']['mapper']['toModelElement'](_0xd5fbf9['parent']),_0xd595b6=_0x32613d['createRangeOn'](_0x3d0dd8);return new k({'type':'manual','modelRange':_0xd595b6,'domNode':_0x141455,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x57b63c,_0x577cef,_0x3f8dc7){const _0x323d25=this['editor']['model'],_0x5e4e33=this['editor']['editing']['mapper'],_0x43f6fc=this['editor']['editing']['view']['domConverter'];if(_0x3f8dc7>=_0x577cef['length'])return null;const _0xbfed7a=_0x5e4e33['toModelPosition'](_0x57b63c),_0x49db17=_0x323d25['createRange'](_0xbfed7a),_0x2a860a=_0x5e4e33['findMappedViewAncestor'](_0x57b63c),_0x2220f=_0x43f6fc['mapViewToDom'](_0x2a860a);return new k({'type':'text','modelRange':_0x49db17,'domNode':_0x577cef,'offset':L(_0x577cef,_0x3f8dc7,_0x2220f)});}_mapElementPageStarterInfoToPageBreakInfo(_0x388a9d,_0x33c52f,_0x4c8809){const _0x4aac4a=this['editor']['model'],_0x531dc6=this['editor']['editing'],_0x6c4b40=_0x531dc6['mapper'],_0x4f0432=_0x531dc6['view']['domConverter'],_0x167a80=_0x6c4b40['findMappedViewAncestor'](_0x388a9d),_0x117b34=_0x6c4b40['toModelElement'](_0x167a80);if(!_0x117b34||_0x117b34['is']('rootElement'))return!0x1;const _0x3dd9ff=function(_0x5beae9){const _0x25fcb0=_0x5beae9['parent'],_0x1dad4e=_0x25fcb0['root']['document']['model'],_0x22ca56=_0x25fcb0['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1851b9=null;for(const _0x1b8dbd of _0x22ca56){if(_0x1b8dbd['is']('rootElement'))return _0x1851b9;if(!_0x1dad4e['createPositionBefore'](_0x1b8dbd)['isTouching'](_0x5beae9))return _0x1851b9;_0x1851b9=_0x1b8dbd;}}(_0x4aac4a['createPositionBefore'](_0x117b34))||_0x117b34;let _0x5ccba6=_0x6c4b40['toViewElement'](_0x3dd9ff),_0x4f8885=_0x4aac4a['createRangeOn'](_0x3dd9ff);const _0x1886fb=_0x4aac4a['createPositionBefore'](_0x3dd9ff)['nodeBefore'];if(_0x1886fb&&_0x1886fb['is']('element','imageBlock')){const _0x56dfe1=_0x6c4b40['toViewElement'](_0x1886fb),_0x11088b=_0x4f0432['mapViewToDom'](_0x56dfe1),_0x17d0d3=_0x3c1c00['window']['getComputedStyle'](_0x11088b)['float'];'left'!=_0x17d0d3&&'right'!=_0x17d0d3||(_0x4f8885=_0x4aac4a['createRangeOn'](_0x1886fb));}for(;_0x5ccba6['parent']!==_0x5ccba6['root']&&0x0===_0x5ccba6['index'];)_0x5ccba6=_0x5ccba6['parent'];const _0x146b89=new _0x464bb1(C(_0x33c52f)?_0x33c52f:E(_0x33c52f)),_0x1ba9ad=_0x4c8809?_0x146b89['height']-_0x4c8809:0x0,_0x452ed7=_0x4f0432['mapViewToDom'](_0x5ccba6),_0x47feba=new _0x464bb1(_0x452ed7);return new k({'type':'element','modelRange':_0x4f8885,'domNode':_0x452ed7,'offset':Math['round'](_0x1ba9ad)||_0x167a80!=x(_0x388a9d)?_0x1ba9ad+_0x146b89['top']-_0x47feba['top']:0x0});}get['_configuredPaddings'](){const _0x4c66ff=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4c66ff);}static _findPageStarterInfos(_0x165b6c,_0x5d52f5,_0x22d4bf,_0x1f6cf7,_0x28ff67){return I(_0x165b6c,_0x5d52f5,_0x22d4bf,_0x1f6cf7,_0x28ff67);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x50e5ed,modelRange:_0x59bba7,domNode:_0x85281f,offset:_0x1fb165}){this['type']=_0x50e5ed,this['modelRange']=_0x59bba7,this['_domNode']=_0x85281f,this['_offset']=_0x1fb165;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x1a4321=new _0x464bb1(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x1a4321['top']+_0x1a4321['height']/0x2:_0x1a4321['top']+this['_offset'];}};function L(_0x4095ba,_0x2c3678,_0xc4248f){const _0x58167b=E(_0x4095ba),_0x48df8d=function(_0x42a1fd){const _0x3c78d2=_0x3c1c00['document']['createRange']();return _0x3c78d2['selectNodeContents'](_0x42a1fd),_0x3c78d2;}(_0xc4248f);let _0x444655;if(0x0==_0x2c3678){const _0x518e38=_0x4e6254(_0x4095ba);_0x444655=R(_0x48df8d['startContainer'],_0x48df8d['startOffset'],_0x518e38,Array['from'](_0x518e38['childNodes'])['indexOf'](_0x4095ba));}else _0x444655=R(_0x48df8d['startContainer'],_0x48df8d['startOffset'],_0x4095ba,_0x2c3678);const _0x446c03=R(_0x4095ba,_0x2c3678,_0x48df8d['endContainer'],_0x48df8d['endOffset']),_0x1a490e=new _0x464bb1(_0x444655)['bottom'];return(new _0x464bb1(_0x446c03)['top']+_0x1a490e)/0x2-new _0x464bb1(_0x58167b)['top'];}function x(_0x413879){let _0x11a8f1=_0x413879['parent'];for(;_0x11a8f1['is']('$text')||_0x11a8f1['is']('attributeElement');)_0x11a8f1=_0x11a8f1['parent'];return _0x11a8f1;}function N(_0x14cf97){return _0x14cf97['hasAttribute']('width')&&_0x14cf97['hasAttribute']('height')?Promise['resolve']():new Promise(_0x2e3d42=>{function _0x8afef2(){_0x14cf97['removeEventListener']('load',_0x8afef2),_0x14cf97['removeEventListener']('error',_0x8afef2),_0x2e3d42();}_0x14cf97['complete']?_0x2e3d42():(_0x14cf97['addEventListener']('load',_0x8afef2),_0x14cf97['addEventListener']('error',_0x8afef2));});}function _(_0x33ae12){return new Promise(_0x524363=>setTimeout(_0x524363,_0x33ae12));}function E(_0xdb242e){const _0x3f61a7=_0x3c1c00['document']['createRange']();return _0x3f61a7['selectNode'](_0xdb242e),_0x3f61a7;}function S(_0x344aec,_0x5b2065,_0x5f2f82){const _0x47f993=_0x3c1c00['document']['createRange']();return _0x47f993['setStart'](_0x344aec,_0x5b2065),_0x47f993['setEnd'](_0x344aec,_0x5f2f82),_0x47f993;}function R(_0x50e697,_0x5b91b7,_0x18a63d,_0xd07c8f){const _0x33a84d=_0x3c1c00['document']['createRange']();return _0x33a84d['setStart'](_0x50e697,_0x5b91b7),_0x33a84d['setEnd'](_0x18a63d,_0xd07c8f),_0x33a84d;}function I(_0xd136c1,_0x303aea,_0x2c9524,_0x21c12f,_0xb6cd6d){const _0x506687=[];for(const [_0x420fad,_0x217e50]of _0xd136c1['childNodes']['entries']()){let _0x495995=[];C(_0x217e50)&&_0x217e50['offsetParent']&&['static','relative']['includes'](_0x3c1c00['window']['getComputedStyle'](_0x217e50)['position'])?_0x495995=K(_0x217e50,_0x420fad,_0x303aea,_0x2c9524,_0x21c12f,_0xb6cd6d):D(_0x217e50)&&(_0x495995=A(_0x217e50,_0x420fad,_0x303aea,_0x2c9524,_0xb6cd6d)),_0x495995['length']&&(_0x506687['push'](..._0x495995),_0x303aea+=_0x495995['length']*_0x2c9524,_0xb6cd6d=!0x1);}return _0x506687;}function K(_0x2d5e42,_0x1335c0,_0x147eda,_0x1f98f4,_0x15ed77,_0x4b711f){const _0x1d764b=[];var _0x557f56;if((_0x557f56=_0x2d5e42['previousSibling'])&&C(_0x557f56)&&Boolean(_0x557f56['classList']['contains']('page-break')||_0x557f56['closest']('.page-break'))&&(_0x1d764b['push']({'type':'manual','offset':0x0,'path':[_0x1335c0-0x1]}),_0x4b711f=!0x0),'table-row'==_0x3c1c00['window']['getComputedStyle'](_0x2d5e42)['display']){let _0x2dccd5=0x0,_0x120655=!0x1;for(const _0x326aba of _0x2d5e42['getClientRects']())_0x2dccd5+=_0x326aba['height'],_0x326aba['left']>=_0x147eda&&(_0x120655=!0x0);if(_0x2dccd5<_0x15ed77&&_0x120655)return _0x4b711f||_0x1d764b['push']({'type':'element','offset':0x0,'path':[_0x1335c0]}),_0x1d764b;}const _0x566ea8=_0x2d5e42['closest']('figure.image');if(_0x566ea8&&function(_0x4af17e){let _0x1cd696=!0x1;const _0x5c2c07=_0x4a6206(_0x4af17e)['dataset']['rootName'],_0x187978=_0x4af17e['nextElementSibling'],_0x2c2972=_0x4af17e['previousElementSibling'],_0x447320=_0x187978&&_0x3c1c00['window']['getComputedStyle'](_0x187978)['float'],_0x5adab5=_0x187978&&'ck-fake-selection-container'===_0x187978['className'];return!_0x5c2c07||_0x187978||_0x2c2972||(_0x1cd696=!0x0),_0x5c2c07&&!_0x2c2972&&_0x5adab5&&(_0x1cd696=!0x0),_0x5c2c07&&!_0x2c2972&&'none'!==_0x447320&&(_0x1cd696=!0x0),!_0x1cd696;}(_0x566ea8)){const _0xa910b2=_0x3c1c00['window']['getComputedStyle'](_0x566ea8)['float'];if('left'==_0xa910b2||'right'==_0xa910b2)return _0x1d764b;}const _0x48843c=I(_0x2d5e42,_0x147eda,_0x1f98f4,_0x15ed77,_0x4b711f);if(_0x48843c['length']){for(const _0x4c5451 of _0x48843c)_0x1d764b['push']({'type':_0x4c5451['type'],'offset':_0x4c5451['offset'],'textOffset':_0x4c5451['textOffset'],'path':[_0x1335c0,..._0x4c5451['path']]}),_0x147eda+=_0x1f98f4;return _0x1d764b;}return _0x1d764b['push'](...function(_0x31d5a8,_0x40e5c0,_0x15ef97,_0x594342,_0x7c5ee){const _0x448759=[];if('table-cell'==_0x3c1c00['window']['getComputedStyle'](_0x31d5a8)['display'])return[];const _0x3544f9=[];for(const _0x22fcd3 of _0x31d5a8['getClientRects']())if(_0x22fcd3['left']>=_0x15ef97){for(const _0x1b0d28 of _0x3544f9)_0x1b0d28['height']+=_0x22fcd3['height'];_0x3544f9['push']({'height':_0x22fcd3['height']}),_0x15ef97+=_0x594342;}for(const _0x269f31 of _0x3544f9)_0x7c5ee||_0x448759['push']({'type':'element','offset':_0x269f31['height'],'textOffset':0x0,'path':[_0x40e5c0]}),_0x7c5ee=!0x1;return _0x448759;}(_0x2d5e42,_0x1335c0,_0x147eda,_0x1f98f4,_0x4b711f)),_0x1d764b;}function A(_0x33933b,_0x51dfa3,_0x5edc6a,_0x5095ed,_0x5baf5c){const _0x2d6411=E(_0x33933b),_0x549dfc=[];let _0x4b65e6=0x0;for(const _0x424709 of _0x2d6411['getClientRects']())if(_0x424709['left']>=_0x5edc6a){const _0xaf1186=O(_0x33933b,_0x4b65e6,_0x5edc6a,_0x5095ed);_0x5baf5c||_0x549dfc['push']({'type':'text','path':[_0x51dfa3],'textOffset':_0xaf1186}),_0x4b65e6=_0xaf1186,_0x5edc6a+=_0x5095ed,_0x5baf5c=!0x1;}return _0x549dfc;}function O(_0x96e337,_0x5ee041,_0x44148b,_0x4fafae){let _0x6d5a3e=_0x5ee041,_0x5d44df=_0x96e337['length'];for(;_0x5d44df-_0x6d5a3e>0x1;){const _0x1b9dd3=Math['ceil']((_0x6d5a3e+_0x5d44df)/0x2);U(S(_0x96e337,_0x6d5a3e,_0x1b9dd3),_0x44148b,_0x4fafae)?_0x5d44df=_0x1b9dd3:_0x6d5a3e=_0x1b9dd3;}return _0x6d5a3e;}function U(_0x2abea4,_0x18e87c,_0x254138){for(const _0x2f065d of _0x2abea4['getClientRects']())if(_0x2f065d['left']>=_0x18e87c&&_0x2f065d['left']<_0x18e87c+_0x254138)return!0x0;return!0x1;}function C(_0x1373a5){return _0x1373a5['nodeType']==Node['ELEMENT_NODE'];}function D(_0x35689c){return _0x35689c['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5e453e('px');var B=class extends _0x4d0adb{constructor(){super();const _0x4a93fa=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x4a93fa['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x4a93fa['if']('isVisible','ck-hidden',_0x494f0f=>!_0x494f0f)],'style':{'left':_0x4a93fa['to']('left',_0x356a4e=>T(_0x356a4e)),'top':_0x4a93fa['to']('top',_0x37e464=>T(_0x37e464)),'width':_0x4a93fa['to']('width',_0x5b2546=>T(_0x5b2546))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x42624e){this['_viewCollection']=_0x42624e['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x1ad2c4 of this['_hiddenLines'])_0x1ad2c4['destroy']();}['cleanLines'](){for(const _0x295fd0 of this['_visibleLines'])_0x295fd0['isVisible']=!0x1,this['_hiddenLines']['add'](_0x295fd0);this['_visibleLines']['clear']();}['showLine'](_0x5ef81b,_0x103165,_0x42f580,_0x9569f7){let _0x874a4a;this['_hiddenLines']['size']?(_0x874a4a=_0x5837ed(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x874a4a)):_0x874a4a=new B(),_0x874a4a['set']({'pageNumber':_0x9569f7,'left':_0x5ef81b,'top':_0x103165,'width':_0x42f580}),_0x874a4a['isVisible']=!0x0,this['_viewCollection']['has'](_0x874a4a)||this['_viewCollection']['add'](_0x874a4a),this['_visibleLines']['add'](_0x874a4a);}setViewCollection(_0x3019ea){for(const _0x21eaf7 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x21eaf7)&&this['_viewCollection']['remove'](_0x21eaf7);this['_viewCollection']=_0x3019ea;}};const V='ck-pagination_enabled';var M=class extends _0x39d90b{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',(_0xbef129,_0x208fcc,_0x50b289)=>{_0x50b289||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x50b289);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1f2ef2){if(!this['isEnabled'])return;const _0x4e2c13=_0x1f2ef2>0x1?this['_getPageBreakLineOffset'](_0x1f2ef2-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x4e2c13-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x2e07ae['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x1430ac=this['editor'],_0x2e7c9d=this['_getAttachedDomRoot']();_0x2e7c9d?(this['_scrollableEditingRootDomAncestor']&&_0x1430ac['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x58c163(_0x2e7c9d),_0x1430ac['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x3fe331(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1430ac['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3b6a98=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3b6a98['ui']['view']['listenTo'](_0x3c1c00['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3b6a98['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x1fa444 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1fa444['isConnected'])return _0x1fa444;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x5cf1b8=this['_getAttachedDomRoot'](),_0x53ee0f=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5cf1b8||0x1==_0x53ee0f['length'])return void(this['pageNumber']=0x1);const _0x1dbeab=new _0x464bb1(_0x5cf1b8)['excludeScrollbarsAndBorders'](),_0x5aac58=new _0x464bb1(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1d8ca2=_0x5aac58['top']+_0x5aac58['height']/0x3;let _0x32a4a0=!0x1;const _0x5e9f3e=[];for(let _0x1e720b=0x1;_0x1e720b<_0x53ee0f['length'];_0x1e720b++){const _0x4a8b2d=this['_getPageBreakLineOffset'](_0x1e720b,_0x5aac58);if(!_0x4a8b2d)continue;const _0x4500ba=_0x5aac58['top']+_0x4a8b2d-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5e9f3e['push']({'pageOffsetTop':_0x4500ba,'domRootRect':_0x1dbeab,'domScrollableRect':_0x5aac58,'pageNumber':_0x1e720b}),_0x4500ba>_0x1d8ca2&&!_0x32a4a0&&(this['pageNumber']=_0x1e720b,_0x32a4a0=!0x0);}this['_renderPageBreakLines'](_0x5e9f3e),_0x32a4a0||(this['pageNumber']=_0x53ee0f['length']);}['_renderPageBreakLines'](_0x35980d){if(!_0x35980d['length'])return;const {scrollX:_0x138d07,scrollY:_0x52b81f}=_0x3c1c00['window'],_0x1c81e0=_0x181d5d(this['linesRepository']['containerElement']);let _0x574ff5,_0x1cac22;if(_0x1c81e0){const _0x568e29=new _0x464bb1(_0x1c81e0);_0x574ff5=_0x568e29['top']+_0x1c81e0['clientTop']-_0x1c81e0['scrollTop'],_0x1cac22=_0x568e29['left']+_0x1c81e0['clientLeft']-_0x1c81e0['scrollLeft'];}else _0x574ff5=-_0x52b81f,_0x1cac22=-_0x138d07;for(const {domScrollableRect:_0x2777c5,pageOffsetTop:_0x180337,domRootRect:_0x3222f9,pageNumber:_0xf9cc4e}of _0x35980d)_0x2777c5['top']<_0x180337&&_0x180337<_0x2777c5['bottom']&&this['linesRepository']['showLine'](_0x3222f9['left']-_0x1cac22,_0x180337-_0x574ff5,_0x3222f9['width'],_0xf9cc4e+0x1);}_getPageBreakLineOffset(_0x13e5bb,_0x4883d4=null){const _0x57862a=this['_paginationLookupPlugin']['pageBreaks'][_0x13e5bb]['offset'];return _0x57862a?(_0x4883d4||(_0x4883d4=new _0x464bb1(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x57862a-_0x4883d4['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x2687ee,_0x250eaf=!0x0){const _0x3dbc51=this['editor']['editing']['view'];_0x3dbc51['change'](_0x543190=>{for(const _0x452f70 of _0x3dbc51['document']['roots'])_0x250eaf?_0x543190['addClass'](_0x2687ee,_0x452f70):_0x543190['removeClass'](_0x2687ee,_0x452f70);});}};function $(_0x460bd0,_0x33577e,..._0x4d86d1){const t=_0x460bd0['t'];switch(_0x33577e){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)',..._0x4d86d1);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 _0x33577e;}}var j=class extends _0x39d90b{['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 _0x197d0e=this['editor']['plugins']['get']('Pagination'),_0x50e4a5=this['editor']['plugins']['get'](v),_0x56d483=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x197d0e),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x56d483),this['listenTo'](_0x50e4a5,'change:pageBreaks',(_0x4cf475,_0x784ca,_0x3eb84e,_0x143603)=>{this['totalPages']=_0x3eb84e['length'],this['_updatePageBreakMarkers'](_0x3eb84e,_0x143603);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x444724=[this['editor']];for(const _0x5f2a7b of _0x444724){let _0x410f3b;for(const _0x584fdc in _0x5f2a7b){const _0x5563b3=_0x584fdc,_0x425ac3=_0x5f2a7b[_0x5563b3];if('paginationLicenseKeyValid'==_0x425ac3||'paginationLicenseKeyInvalid'==_0x425ac3||'paginationLicenseKeyExpired'==_0x425ac3||'paginationLicenseKeyDomainLimit'==_0x425ac3||'paginationLicenseKeyNotAllowed'==_0x425ac3||'paginationLicenseKeyEvaluationLimit'==_0x425ac3||'paginationLicenseKeyUsageLimit'==_0x425ac3){delete _0x5f2a7b[_0x5563b3],_0x410f3b=_0x425ac3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x410f3b&&_0x5f2a7b['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x410f3b&&_0x5f2a7b['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x410f3b&&_0x5f2a7b['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x410f3b&&_0x5f2a7b['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x410f3b&&_0x5f2a7b['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x410f3b&&_0x5f2a7b['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x13eb18){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x13eb18));}moveSelectionToPage(_0x89747){if(!this['isEnabled'])return;const _0x3df860=this['editor'],_0x245212=this['editor']['plugins']['get'](v)['pageBreaks'][_0x89747-0x1];_0x245212&&_0x3df860['model']['change'](_0x3209e8=>{switch(_0x245212['type']){case'manual':{const _0x492166=_0x3df860['model']['schema']['getNearestSelectionRange'](_0x245212['modelRange']['end'],'forward');_0x3209e8['setSelection'](_0x492166);break;}case'element':{const _0x667b5d=_0x3df860['model']['schema']['getNearestSelectionRange'](_0x245212['modelRange']['start'],'forward');_0x3209e8['setSelection'](_0x667b5d);break;}case'text':{const _0x4458ce=_0x245212['modelRange']['start'];if(_0x4458ce['textNode']&&'\x20'===_0x4458ce['textNode']['data'][_0x4458ce['offset']]){const _0x9d0359=_0x3209e8['createPositionAt'](_0x4458ce['parent'],_0x4458ce['offset']+0x1);_0x3209e8['setSelection'](_0x9d0359);}else _0x3209e8['setSelection'](_0x245212['modelRange']);}}_0x3df860['editing']['view']['focus']();});}goToNextPage(){const _0x4e817c=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4e817c),this['scrollToPage'](_0x4e817c);}['goToPreviousPage'](){const _0x521228=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x521228),this['scrollToPage'](_0x521228);}_updatePageBreakMarkers(_0x541bf5,_0x5dea86){const _0x52d50c=this['editor']['model'];this['isEnabled']&&_0x52d50c['change'](_0x25b291=>{for(let _0x32205f=0x1;_0x32205f<_0x541bf5['length'];_0x32205f++){const _0x382c51=_0x541bf5[_0x32205f]['modelRange'],_0x42f700='pagination:'+(_0x32205f+0x1);_0x52d50c['markers']['has'](_0x42f700)?_0x25b291['updateMarker'](_0x42f700,{'range':_0x382c51}):_0x25b291['addMarker'](_0x42f700,{'range':_0x382c51,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3d6d64=_0x541bf5['length'];_0x3d6d64<_0x5dea86['length'];_0x3d6d64++){const _0x5876e5='pagination:'+(_0x3d6d64+0x1);_0x52d50c['markers']['has'](_0x5876e5)&&_0x25b291['removeMarker'](_0x5876e5);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0xab07fe=>{_0xab07fe['on']('addMarker:pagination',(_0x2e178d,{markerRange:_0x3cc7e1,markerName:_0x14b925},_0x594800)=>{if(!_0x594800['options']['pagination'])return;if(!_0x594800['consumable']['consume'](_0x3cc7e1,_0x2e178d['name']))return;const _0x235fbf=_0x3cc7e1['getContainedElement']();let _0x14897c=_0x235fbf?_0x594800['mapper']['toViewElement'](_0x235fbf):null;if(!_0x14897c){const _0x3a62be=_0x3cc7e1['start'];if(_0x594800['schema']['checkChild'](_0x3a62be,'$text')){const _0x366a4f=_0x594800['mapper']['toViewPosition'](_0x3a62be);_0x14897c=_0x594800['writer']['createContainerElement']('span'),_0x14897c['getFillerOffset']=()=>null,_0x594800['writer']['insert'](_0x366a4f,_0x14897c);}else{const _0x265307=_0x3a62be['nodeAfter'];_0x14897c=_0x594800['mapper']['toViewElement'](_0x265307);}}for(;_0x14897c['parent']!==_0x14897c['root']&&0x0===_0x14897c['index'];)_0x14897c=_0x14897c['parent'];const _0x31ff92=_0x14b925['substring'](0xb);_0x14897c['hasClass']('page-break')||(_0x594800['writer']['setStyle']('page-break-before','always',_0x14897c),_0x594800['writer']['setAttribute']('data-pagination-page',_0x31ff92,_0x14897c),_0x594800['mapper']['bindElementToMarker'](_0x14897c,_0x14b925)),_0x2e178d['stop']();});});}_setupKeystrokes(){const _0x470896=this['editor'];_0x470896['keystrokes']['set']('Shift+Pageup',(_0x41f472,_0x26b038)=>{this['goToPreviousPage'](),_0x26b038();}),_0x470896['keystrokes']['set']('Shift+Pagedown',(_0x3f75ee,_0x5bb28a)=>{this['goToNextPage'](),_0x5bb28a();}),_0x470896['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x470896['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x470896['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x470896['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x4ca275){return _0x4ca275<0x1&&(_0x4ca275=0x1),_0x4ca275>this['totalPages']&&(_0x4ca275=this['totalPages']),_0x4ca275;}},q=class extends _0x4d0adb{['pageNumberView'];constructor(_0x3811ea){super(_0x3811ea);const _0x5b7808=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1e2b11(_0x3811ea,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2931a1=>$(_0x3811ea,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2931a1)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x6b7161=>!_0x6b7161),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5b7808['if']('isEnabled','ck-disabled',_0x3b00c5=>!_0x3b00c5)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5b7808['to']('totalPages')}]}]});}['render'](){super['render']();const _0x47f83e=this['pageNumberView']['element'],_0x399d5b=_0x2d4d59=>{this['pageNumberView']['element']['value']=String(_0x2d4d59);};_0x399d5b(this['pageNumber']),this['on']('change:pageNumber',(_0x8c2f28,_0x3f8372,_0x59e36f)=>{_0x399d5b(_0x59e36f);}),this['listenTo'](_0x47f83e,'keydown',(_0x1b0dda,_0x9e59c0)=>{if('ArrowUp'===_0x9e59c0['key']||'ArrowDown'===_0x9e59c0['key'])return void _0x9e59c0['stopPropagation']();if(_0x9e59c0['keyCode']!==_0x46f3b8['enter'])return;_0x9e59c0['preventDefault']();const _0x48c3de=_0x47f83e['valueAsNumber'];Number['isNaN'](_0x48c3de)?_0x47f83e['value']=String(this['pageNumber']):(_0x47f83e['checkValidity']()?this['pageNumber']=_0x48c3de:_0x48c3de>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x47f83e['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x47f83e['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x47f83e,'blur',()=>{_0x47f83e['value']=String(this['pageNumber']);}),this['listenTo'](_0x47f83e,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x39d90b{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x5b216d=this['editor'],_0xdd2aaf=_0x5b216d['plugins']['get']('PaginationEditing');_0x5b216d['ui']['componentFactory']['add']('pageNavigation',_0x11946f=>{const _0x4ae855=new q(_0x11946f);return _0x4ae855['bind']('pageNumber')['to'](_0xdd2aaf),_0x4ae855['bind']('totalPages')['to'](_0xdd2aaf),_0x4ae855['bind']('isEnabled')['to'](_0xdd2aaf),_0x4ae855['on']('navigation',(_0x515f48,_0x46b8fb)=>{_0xdd2aaf['moveSelectionToPage'](_0x46b8fb),_0xdd2aaf['scrollToPage'](_0x46b8fb);}),_0x4ae855;}),_0x5b216d['ui']['componentFactory']['add']('nextPage',_0xbc1cdb=>{const _0x48b14a=new _0x2cb72e(_0xbc1cdb);return _0x48b14a['isEnabled']=!0x0,_0x48b14a['label']=$(_0x5b216d['locale'],'Go\x20to\x20next\x20page'),_0x48b14a['icon']=_0x3ca374,_0x48b14a['tooltip']=!0x0,_0x48b14a['keystroke']='Shift+PageDown',_0x48b14a['bind']('isEnabled')['to'](_0xdd2aaf),this['listenTo'](_0x48b14a,'execute',()=>{_0xdd2aaf['goToNextPage']();}),_0x48b14a;}),_0x5b216d['ui']['componentFactory']['add']('previousPage',_0x492f8f=>{const _0x4a7b35=new _0x2cb72e(_0x492f8f);return _0x4a7b35['isEnabled']=!0x0,_0x4a7b35['label']=$(_0x5b216d['locale'],'Go\x20to\x20previous\x20page'),_0x4a7b35['icon']=_0x28adc9,_0x4a7b35['tooltip']=!0x0,_0x4a7b35['keystroke']='Shift+PageUp',_0x4a7b35['bind']('isEnabled')['to'](_0xdd2aaf),this['listenTo'](_0x4a7b35,'execute',()=>{_0xdd2aaf['goToPreviousPage']();}),_0x4a7b35;});}},H=class extends _0x39d90b{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x2e20e9){super(_0x2e20e9),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x30a555=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x30a555),this['bind']('totalPages')['to'](_0x30a555),_0x2e07ae['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x23b273){this['editor']['plugins']['get'](j)['scrollToPage'](_0x23b273);}};export{H as Pagination,M as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x1558a0}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x2d53ce,InputNumberView as _0x1687d4,View as _0x5f6445}from'@ckeditor/ckeditor5-ui';import{Rect as _0x4c22bd,ResizeObserver as _0x42aa79,env as _0x3048c9,findClosestScrollableAncestor as _0x12cc90,first as _0x256669,getParentElement as _0x5a7ca1,getParentNode as _0x35db90,getPositionedAncestor as _0x43d32e,global as _0x579a1a,keyCodes as _0x237375,logWarning as _0x446e00,toUnit as _0x4d0886,uid as _0x5d3d1f}from'@ckeditor/ckeditor5-utils';import{debounce as _0xd0d68d}from'es-toolkit/compat';import{IconArrowDown as _0x38c35e,IconArrowUp as _0x45ad66}from'@ckeditor/ckeditor5-icons';var v=class extends _0x1558a0{_recalculatePageBreaksDebounced=_0xd0d68d(()=>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 _0x446e00('pagination-config-not-found',this['editor']['config']);const _0x290eb2=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x290eb2),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x57d9b9,_0x5885db,_0xc347d1)=>{_0xc347d1&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x3333c0){const _0x404bcd='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x34ce31=0x797b8,_0x5ce2cb={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x32fbb2(_0x55820f){const _0x3410a1=new window['Promise'](_0x469068=>{_0x55820f['once']('ready',_0x469068);}),_0x44f090=window['Date']['now'](),_0x4d68f7=_0x55820f['config']['get']('licenseKey');async function _0x2c6cd6(){let _0x3b4f57,_0x8abc25=null,_0x1397a4=null;try{return'GPL'==_0x4d68f7?'NotAllowed':(_0x3b4f57=_0x417437(),_0x3b4f57?(_0x3b4f57['usageEndpoint']&&(_0x1397a4=_0x1450f5(_0x3b4f57['usageEndpoint'],_0x3b4f57['jti'])),await _0x40fe78()?_0x100d1a()?_0x5586f1()?'Expired':_0x1d8b39()?('evaluation'==_0x3b4f57['licenseType']&&(_0x8abc25=_0x24e0ca('EvaluationLimit')),await _0x59b72e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5586f1(){const _0x438b57=['evaluation','trial']['includes'](_0x3b4f57['licenseType'])?_0x44f090/0x3e8:0xe10*_0x34ce31;return _0x3b4f57['exp']<_0x438b57;}function _0x100d1a(){const _0x29d0dd=_0x3b4f57['features'];return!!_0x29d0dd&&(!!_0x29d0dd['includes']('*')||!!_0x29d0dd['includes']('PAG'));}function _0x1d8b39(){const _0x483fe0=_0x3b4f57['licensedHosts'];if(!_0x483fe0||0x0==_0x483fe0['length'])return!0x0;const {hostname:_0x3a5417}=new URL(window['location']['href']);if(_0x483fe0['includes'](_0x3a5417))return!0x0;const _0x332235=_0x3a5417['split']('.');return _0x483fe0['filter'](_0x31d6ec=>_0x31d6ec['includes']('*'))['map'](_0x2a8444=>_0x2a8444['split']('.'))['filter'](_0x5130bb=>_0x5130bb['length']<=_0x332235['length'])['map'](_0x426c22=>Array(_0x332235['length']-_0x426c22['length'])['fill']('*'===_0x426c22[0x0]?'*':'')['concat'](_0x426c22))['some'](_0x30d3c9=>_0x332235['every']((_0x1fabd3,_0x1a6dcf)=>_0x30d3c9[_0x1a6dcf]===_0x1fabd3||'*'===_0x30d3c9[_0x1a6dcf]));}function _0x59b72e(){return _0x8abc25&&_0x1397a4?new window['Promise']((_0x10620c,_0x3563a2)=>{_0x8abc25['then'](_0x10620c,_0x3563a2),_0x1397a4['then'](_0x283e47=>{'Valid'!=_0x283e47&&_0x10620c(_0x283e47);},_0x3563a2);}):_0x8abc25||_0x1397a4||'Valid';}}function _0x1450f5(_0x509769,_0x50b5e9){return new window['Promise'](_0x5a5e3b=>{if(_0x10afdc())return _0x5a5e3b('Valid');_0x395399(),_0x55820f['decorate']('_sendUsageRequest');let _0x1fc096=!0x1;const _0x6212b3=_0x5d3d1f();function _0x3ab8df(_0x4dc26d){return!!_0x4dc26d&&('object'==typeof _0x4dc26d||'function'==typeof _0x4dc26d)&&'function'==typeof _0x4dc26d['then']&&'function'==typeof _0x4dc26d['catch'];}function _0x1b151a(_0x424677){_0x538c78(_0x424677)['then'](_0x29f5cc=>_0x29f5cc&&'ok'==_0x29f5cc['status']?_0x41da36(_0x31a487(_0x6212b3+_0x50b5e9))!=_0x29f5cc['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2c29e5=>(_0x9b868f(),_0x2c29e5),()=>{const _0x1ec455=_0x3f0871();return null==_0x1ec455?(_0x9b868f(),'Valid'):_0x44f090-_0x1ec455>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5a5e3b)['catch'](()=>{_0x5a5e3b('UsageLimit');});const _0x2684be=0x36ee80;function _0x9b868f(){const _0x241b19='llct-'+_0x41da36(_0x31a487(_0x509769)),_0x581348=_0x51fe61(_0x41da36(window['Math']['ceil'](_0x44f090/_0x2684be)));window['localStorage']['setItem'](_0x241b19,_0x581348);}function _0x3f0871(){const _0x356647='llct-'+_0x41da36(_0x31a487(_0x509769)),_0x4611b5=window['localStorage']['getItem'](_0x356647);return _0x4611b5?window['parseInt'](_0x51fe61(_0x4611b5),0x10)*_0x2684be:null;}function _0x538c78(_0x13ddb1){return new window['Promise']((_0x35d622,_0x5734e4)=>{_0x13ddb1['then'](_0x35d622,_0x5734e4),window['setTimeout'](_0x5734e4,0x1d4c0);});}}_0x55820f['on']('_sendUsageRequest',(_0x29caa1,_0x15d002)=>{if(_0x15d002[0x0]!=_0x509769)return _0x5a5e3b('UsageLimit');_0x15d002[0x1]={..._0x15d002[0x1],'requestId':_0x6212b3};},{'priority':'high'}),_0x55820f['on']('_sendUsageRequest',_0x359ceb=>{_0x3ab8df(_0x359ceb['return'])&&(_0x1fc096=!0x0,_0x1b151a(_0x359ceb['return']));},{'priority':'low'}),_0x3410a1['then'](()=>{_0x1fc096||_0x5a5e3b('UsageLimit');});});function _0x10afdc(){return'auto'==_0x55820f['editing']['view']['_overlayModeHint'];}function _0x395399(){_0x55820f['editing']['view']['_overlayModeHint']='auto';}}function _0x24e0ca(_0x40771d){const _0x5d96c1=[new window['Promise'](_0x54a5d3=>setTimeout(_0x54a5d3,0x93ecc)),_0x3410a1['then'](()=>new window['Promise'](_0x2a9bd0=>{let _0x1c3243=0x0;_0x55820f['model']['on']('applyOperation',(_0x2e108e,_0x4c448f)=>{_0x4c448f[0x0]['isDocumentOperation']&&_0x1c3243++,0x5e8==_0x1c3243&&(_0x2a9bd0(),_0x2e108e['off']());});}))];return window['Promise']['race'](_0x5d96c1)['then'](()=>_0x40771d);}async function _0xdb5ab8(){await _0x3410a1,_0x55820f['model']['change']=_0x43fb24,_0x55820f['model']['enqueueChange']=_0x43fb24,_0x55820f['enableReadOnlyMode']('model');}function _0x1611ca(_0x57e654){const _0x3b0b68=_0x1eb67f();_0x55820f[_0x3b0b68]='paginationLicenseKey'+_0x57e654,'Valid'!=_0x57e654&&_0xdb5ab8();}function _0x1eb67f(){const _0x1d6f88=window['String'](window['performance']['now']())['replace']('.','');let _0x10b1f7='v';for(let _0xf22099=0x0;_0xf22099<_0x1d6f88['length'];_0xf22099+=0x2){let _0x1e1b41=window['parseInt'](_0x1d6f88['substring'](_0xf22099,_0xf22099+0x2));_0x1e1b41>=0x3e&&(_0x1e1b41-=0x3e),_0x10b1f7+=_0x404bcd[_0x1e1b41];}return _0x10b1f7;}function _0x417437(){const _0x5f2009=_0x4d68f7['split']('.');if(0x3!=_0x5f2009['length'])return null;return _0x124cc8(_0x5f2009[0x1]);function _0x124cc8(_0x1109c4){const _0x25785d=_0x8c7bf2(_0x1109c4);return _0x25785d&&_0x2faca0()?_0x25785d:null;function _0x2faca0(){const _0x4d82eb=_0x25785d['jti'],_0x4d507c=window['parseInt'](_0x4d82eb['substring'](_0x4d82eb['length']-0x8),0x10),_0x1be5ab={..._0x25785d,'jti':_0x4d82eb['substring'](0x0,_0x4d82eb['length']-0x8)};return delete _0x1be5ab['vc'],_0x31a487(_0x1be5ab)==_0x4d507c;}}}async function _0x40fe78(){let _0x3e8e40=!0x0;try{const [_0x16b3a3,_0x3dd6cb,_0x9d0e12]=_0x4d68f7['split']('.');return _0x7ec48e(_0x16b3a3),await _0x39d630(_0x16b3a3,_0x3dd6cb,_0x9d0e12),_0x3e8e40;}catch{return!0x1;}function _0x7ec48e(_0x9f9980){const _0x393ee2=_0x8c7bf2(_0x9f9980);_0x393ee2&&'ES256'==_0x393ee2['alg']||(_0x3e8e40=!0x1);}async function _0x39d630(_0x3d3bb0,_0x326b62,_0x1751c0){const _0x4a61db=window['Uint8Array']['from'](_0x16886f(_0x1751c0),_0x42bf02=>_0x42bf02['charCodeAt'](0x0)),_0x5deacd=new window['TextEncoder']()['encode'](_0x3d3bb0+'.'+_0x326b62),_0x251c71=window['crypto']['subtle'];if(!_0x251c71)return;const _0x5de3fe=await _0x251c71['importKey']('jwk',_0x5ce2cb,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x251c71['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5de3fe,_0x4a61db,_0x5deacd)||(_0x3e8e40=!0x1);}}function _0x8c7bf2(_0x24ba2f){return _0x24ba2f['startsWith']('ey')?JSON['parse'](_0x16886f(_0x24ba2f)):null;}function _0x16886f(_0x74ae45){return window['atob'](_0x74ae45['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x31a487(_0x5cc7d6){let _0xc7d1d6=0x1505;function _0x4ed6f4(_0x46350f){for(let _0x184de5=0x0;_0x184de5<_0x46350f['length'];_0x184de5++){const _0xa8e4cc=_0x46350f['charCodeAt'](_0x184de5);_0xc7d1d6=(_0xc7d1d6<<0x5)+_0xc7d1d6+_0xa8e4cc,_0xc7d1d6&=_0xc7d1d6;}}function _0x5473d9(_0x35f29a){Array['isArray'](_0x35f29a)?_0x35f29a['forEach'](_0x5473d9):_0x35f29a&&'object'==typeof _0x35f29a?Object['entries'](_0x35f29a)['sort']()['forEach'](([_0x5c0a0b,_0x3e4b1a])=>{_0x4ed6f4(_0x5c0a0b),_0x5473d9(_0x3e4b1a);}):_0x4ed6f4(window['String'](_0x35f29a));}return _0x5473d9(_0x5cc7d6),_0xc7d1d6>>>0x0;}function _0x41da36(_0xc421b7){return _0xc421b7['toString'](0x10)['padStart'](0x8,'0');}function _0x51fe61(_0x19b8fd){return _0x19b8fd['split']('')['reverse']()['join']('');}function _0x43fb24(){}_0x1611ca(await _0x2c6cd6());}_0x32fbb2(_0x3333c0['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x5d70ea=this['editor'],_0x53f47b=_0x5d70ea['editing']['view'],_0x428a8b=this['_getAttachedDomRoot']();if(!_0x428a8b||!_0x428a8b['hasChildNodes']())return void _0x5d70ea['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x380c06,pageHeight:_0x5aa8c2}=_0x5d70ea['config']['get']('pagination'),{top:_0x115d8d,left:_0x4d0d5b,bottom:_0x426bf6,right:_0x6d6c67}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5f6445(_0x5d70ea['locale']);const _0x17508b=this['_pagesContainer'];_0x17508b['set']('class',''),_0x17508b['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x380c06,'width':_0x380c06,'height':'calc(\x20'+_0x5aa8c2+'\x20-\x20'+_0x115d8d+'\x20-\x20'+_0x426bf6+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x6d6c67+'\x200\x20'+_0x4d0d5b,'columnGap':'calc('+_0x4d0d5b+'\x20+\x20'+_0x6d6c67+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x17508b['bindTemplate']['to']('class')}}),_0x17508b['render'](),_0x35db90(_0x428a8b)['insertBefore'](_0x17508b['element'],_0x428a8b['nextSibling']),this['listenTo'](_0x53f47b,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x1516e2 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1516e2['isConnected'])return _0x1516e2;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x5dc412=this['editor']['editing']['view'],_0x3de05e=this['_pagesContainer'],_0x38874b=this['_getAttachedDomRoot']();if(!_0x38874b||!_0x3de05e)return Promise['resolve']();for(_0x3de05e['class']=['ck-reset','ck-pagination-view',..._0x38874b['classList']]['join']('\x20');_0x3de05e['element']['firstChild'];)_0x3de05e['element']['firstChild']['remove']();const _0x357bc7=Array['from'](_0x5dc412['domRoots']);_0x357bc7['sort'](([,_0x3cab77],[,_0x588200])=>_0x3cab77['compareDocumentPosition'](_0x588200)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x3a78a3,_0x317c2f]of _0x357bc7){const _0x1aecab=_0x317c2f['cloneNode'](!0x0);'attributeStyleMap'in _0x1aecab&&_0x1aecab['attributeStyleMap']['clear'](),_0x1aecab['dataset']['rootName']=_0x3a78a3,_0x1aecab['className']='ck-content\x20ck-pagination_enabled',_0x1aecab['removeAttribute']('id'),_0x1aecab['tabIndex']=-0x1,_0x3de05e['element']['append'](_0x1aecab);}const _0x1cf32f=Array['from'](_0x3de05e['element']['querySelectorAll']('img'));return function(_0x106f41){return Promise['all'](_0x106f41['map'](_0x4e1ad6=>Promise['race']([N(_0x4e1ad6),_(0x3e8)])));}(_0x1cf32f)['then'](()=>{for(const _0x22b975 of _0x1cf32f['filter'](_0x5d0dd3=>!_0x5d0dd3['closest']('table')))if(_0x22b975['offsetParent']){const _0x4efaf=_0x579a1a['window']['getComputedStyle'](_0x22b975),_0x4b99c1=_0x579a1a['document']['createElement']('span');for(const _0x330c0a of _0x4efaf)_0x4b99c1['style']['setProperty'](_0x330c0a,_0x4efaf[_0x330c0a]);_0x4b99c1['style']['backgroundImage']='url(\x20'+_0x22b975['src']+'\x20)',_0x4b99c1['style']['breakInside']='avoid','PICTURE'==_0x22b975['parentElement']?.['tagName']?_0x22b975['parentElement']['replaceWith'](_0x4b99c1):_0x22b975['replaceWith'](_0x4b99c1);}return new Promise(_0x44b59a=>_0x579a1a['window']['requestAnimationFrame'](()=>_0x44b59a()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x1a916a=this['_pagesContainer']['element'];if(!_0x1a916a['isConnected'])return;const _0xd0b905=new _0x4c22bd(_0x1a916a)['excludeScrollbarsAndBorders'](),_0x434872=Math['floor'](_0xd0b905['width']+0x64),_0x2e194d=I(_0x1a916a,Math['floor'](_0xd0b905['left']-_0x1a916a['scrollLeft']),_0x434872,_0xd0b905['height'])['map'](_0x13a07c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x13a07c))['filter'](_0x3cc62f=>!0x1!==_0x3cc62f);_0x2e194d['every'](_0x1819e1=>!!_0x1819e1)&&(this['pageBreaks']=_0x2e194d);}_mapPageStarterInfoToPageBreakInfo(_0x13afa0){const _0x3743f2=this['editor']['editing']['view'],_0x4a5228=this['editor']['editing']['mapper'],_0x2f3003=_0x3743f2['domConverter'],_0x4c7002=_0x13afa0['path']['shift'](),_0x4ded6a=this['_pagesContainer']['element']['childNodes'][_0x4c7002]['dataset']['rootName'],_0x36c079=_0x3743f2['getDomRoot'](_0x4ded6a);if(!_0x36c079)return null;const _0xb7cb29=function(_0x1cf288,_0x46eb5d){let _0x2a7738=_0x1cf288;for(const _0x4350b1 of _0x46eb5d['path']){if(!_0x2a7738)return null;_0x2a7738=_0x2a7738['childNodes'][_0x4350b1];}return _0x2a7738;}(_0x36c079,_0x13afa0);if(!_0xb7cb29)return null;const _0x4b463b=_0x2f3003['domPositionToView'](_0xb7cb29,_0x13afa0['textOffset']||0x0);return _0x4b463b?'manual'==_0x13afa0['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29):'text'==_0x13afa0['type']&&_0x4a5228['toModelPosition'](_0x4b463b)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29,_0x13afa0['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4b463b,_0xb7cb29,_0x13afa0['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x2a5e41,_0x22fb77){const _0x171d34=this['editor']['model'],_0x39c73e=this['editor']['editing']['mapper']['toModelElement'](_0x2a5e41['parent']),_0x252150=_0x171d34['createRangeOn'](_0x39c73e);return new k({'type':'manual','modelRange':_0x252150,'domNode':_0x22fb77,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x29705d,_0x21bbc9,_0x2fece7){const _0x3a3811=this['editor']['model'],_0x2fe0f3=this['editor']['editing']['mapper'],_0x3819ef=this['editor']['editing']['view']['domConverter'];if(_0x2fece7>=_0x21bbc9['length'])return null;const _0x1cf3d4=_0x2fe0f3['toModelPosition'](_0x29705d),_0x5bfff4=_0x3a3811['createRange'](_0x1cf3d4),_0x4b3b85=_0x2fe0f3['findMappedViewAncestor'](_0x29705d),_0x393173=_0x3819ef['mapViewToDom'](_0x4b3b85);return new k({'type':'text','modelRange':_0x5bfff4,'domNode':_0x21bbc9,'offset':L(_0x21bbc9,_0x2fece7,_0x393173)});}_mapElementPageStarterInfoToPageBreakInfo(_0x29016d,_0x42b538,_0x132ae9){const _0x41d46f=this['editor']['model'],_0x36914e=this['editor']['editing'],_0x236755=_0x36914e['mapper'],_0x21e8fd=_0x36914e['view']['domConverter'],_0x7b0aae=_0x236755['findMappedViewAncestor'](_0x29016d),_0x3e7646=_0x236755['toModelElement'](_0x7b0aae);if(!_0x3e7646||_0x3e7646['is']('rootElement'))return!0x1;const _0x82e7b1=function(_0x3fd487){const _0x3b0eea=_0x3fd487['parent'],_0x2d4e7c=_0x3b0eea['root']['document']['model'],_0x2fe15a=_0x3b0eea['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x58ea2a=null;for(const _0x42d525 of _0x2fe15a){if(_0x42d525['is']('rootElement'))return _0x58ea2a;if(!_0x2d4e7c['createPositionBefore'](_0x42d525)['isTouching'](_0x3fd487))return _0x58ea2a;_0x58ea2a=_0x42d525;}}(_0x41d46f['createPositionBefore'](_0x3e7646))||_0x3e7646;let _0xb4846c=_0x236755['toViewElement'](_0x82e7b1),_0x165cb1=_0x41d46f['createRangeOn'](_0x82e7b1);const _0x53dbb7=_0x41d46f['createPositionBefore'](_0x82e7b1)['nodeBefore'];if(_0x53dbb7&&_0x53dbb7['is']('element','imageBlock')){const _0x55d9c6=_0x236755['toViewElement'](_0x53dbb7),_0x13dd78=_0x21e8fd['mapViewToDom'](_0x55d9c6),_0x4e5f1c=_0x579a1a['window']['getComputedStyle'](_0x13dd78)['float'];'left'!=_0x4e5f1c&&'right'!=_0x4e5f1c||(_0x165cb1=_0x41d46f['createRangeOn'](_0x53dbb7));}for(;_0xb4846c['parent']!==_0xb4846c['root']&&0x0===_0xb4846c['index'];)_0xb4846c=_0xb4846c['parent'];const _0x511ee0=new _0x4c22bd(C(_0x42b538)?_0x42b538:E(_0x42b538)),_0x33fa53=_0x132ae9?_0x511ee0['height']-_0x132ae9:0x0,_0x4d799b=_0x21e8fd['mapViewToDom'](_0xb4846c),_0x2db319=new _0x4c22bd(_0x4d799b);return new k({'type':'element','modelRange':_0x165cb1,'domNode':_0x4d799b,'offset':Math['round'](_0x33fa53)||_0x7b0aae!=x(_0x29016d)?_0x33fa53+_0x511ee0['top']-_0x2db319['top']:0x0});}get['_configuredPaddings'](){const _0x35636d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x35636d);}static _findPageStarterInfos(_0x360b01,_0x2f2902,_0x36b494,_0x55601b,_0x32714b){return I(_0x360b01,_0x2f2902,_0x36b494,_0x55601b,_0x32714b);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x1a3cc2,modelRange:_0x3959f7,domNode:_0x5d09c5,offset:_0x6c8b7d}){this['type']=_0x1a3cc2,this['modelRange']=_0x3959f7,this['_domNode']=_0x5d09c5,this['_offset']=_0x6c8b7d;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x321029=new _0x4c22bd(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x321029['top']+_0x321029['height']/0x2:_0x321029['top']+this['_offset'];}};function L(_0xc8ffae,_0x4565f9,_0x31ccad){const _0xbc1a14=E(_0xc8ffae),_0x488c85=function(_0x1eb622){const _0x41b3af=_0x579a1a['document']['createRange']();return _0x41b3af['selectNodeContents'](_0x1eb622),_0x41b3af;}(_0x31ccad);let _0x5dce34;if(0x0==_0x4565f9){const _0x4fb78d=_0x35db90(_0xc8ffae);_0x5dce34=R(_0x488c85['startContainer'],_0x488c85['startOffset'],_0x4fb78d,Array['from'](_0x4fb78d['childNodes'])['indexOf'](_0xc8ffae));}else _0x5dce34=R(_0x488c85['startContainer'],_0x488c85['startOffset'],_0xc8ffae,_0x4565f9);const _0x159ace=R(_0xc8ffae,_0x4565f9,_0x488c85['endContainer'],_0x488c85['endOffset']),_0x3daf24=new _0x4c22bd(_0x5dce34)['bottom'];return(new _0x4c22bd(_0x159ace)['top']+_0x3daf24)/0x2-new _0x4c22bd(_0xbc1a14)['top'];}function x(_0x328d2c){let _0x2735a0=_0x328d2c['parent'];for(;_0x2735a0['is']('$text')||_0x2735a0['is']('attributeElement');)_0x2735a0=_0x2735a0['parent'];return _0x2735a0;}function N(_0x5346b8){return _0x5346b8['hasAttribute']('width')&&_0x5346b8['hasAttribute']('height')?Promise['resolve']():new Promise(_0x1f31ec=>{function _0x2ba64f(){_0x5346b8['removeEventListener']('load',_0x2ba64f),_0x5346b8['removeEventListener']('error',_0x2ba64f),_0x1f31ec();}_0x5346b8['complete']?_0x1f31ec():(_0x5346b8['addEventListener']('load',_0x2ba64f),_0x5346b8['addEventListener']('error',_0x2ba64f));});}function _(_0x267527){return new Promise(_0x2957d2=>setTimeout(_0x2957d2,_0x267527));}function E(_0x1e3a29){const _0x6f2bb7=_0x579a1a['document']['createRange']();return _0x6f2bb7['selectNode'](_0x1e3a29),_0x6f2bb7;}function S(_0x34de9f,_0x591ab9,_0x3590ea){const _0x4e42ee=_0x579a1a['document']['createRange']();return _0x4e42ee['setStart'](_0x34de9f,_0x591ab9),_0x4e42ee['setEnd'](_0x34de9f,_0x3590ea),_0x4e42ee;}function R(_0x8bc84a,_0xa95288,_0x1b0e07,_0x19869f){const _0x3baa9c=_0x579a1a['document']['createRange']();return _0x3baa9c['setStart'](_0x8bc84a,_0xa95288),_0x3baa9c['setEnd'](_0x1b0e07,_0x19869f),_0x3baa9c;}function I(_0x1446d8,_0x49fd2b,_0x33e4ac,_0x173760,_0x1e6f80){const _0x547589=[];for(const [_0x52c165,_0x5b9307]of _0x1446d8['childNodes']['entries']()){let _0x556a43=[];C(_0x5b9307)&&_0x5b9307['offsetParent']&&['static','relative']['includes'](_0x579a1a['window']['getComputedStyle'](_0x5b9307)['position'])?_0x556a43=K(_0x5b9307,_0x52c165,_0x49fd2b,_0x33e4ac,_0x173760,_0x1e6f80):D(_0x5b9307)&&(_0x556a43=A(_0x5b9307,_0x52c165,_0x49fd2b,_0x33e4ac,_0x1e6f80)),_0x556a43['length']&&(_0x547589['push'](..._0x556a43),_0x49fd2b+=_0x556a43['length']*_0x33e4ac,_0x1e6f80=!0x1);}return _0x547589;}function K(_0x375f40,_0x3c6620,_0x29fa51,_0x16c5a2,_0xd2096b,_0x2ff02d){const _0x101f64=[];var _0x499231;if((_0x499231=_0x375f40['previousSibling'])&&C(_0x499231)&&Boolean(_0x499231['classList']['contains']('page-break')||_0x499231['closest']('.page-break'))&&(_0x101f64['push']({'type':'manual','offset':0x0,'path':[_0x3c6620-0x1]}),_0x2ff02d=!0x0),'table-row'==_0x579a1a['window']['getComputedStyle'](_0x375f40)['display']){let _0x14170f=0x0,_0x3df2ae=!0x1;for(const _0xa0c948 of _0x375f40['getClientRects']())_0x14170f+=_0xa0c948['height'],_0xa0c948['left']>=_0x29fa51&&(_0x3df2ae=!0x0);if(_0x14170f<_0xd2096b&&_0x3df2ae)return _0x2ff02d||_0x101f64['push']({'type':'element','offset':0x0,'path':[_0x3c6620]}),_0x101f64;}const _0x164dfc=_0x375f40['closest']('figure.image');if(_0x164dfc&&function(_0xbb3dc0){let _0x142009=!0x1;const _0x2ce82e=_0x5a7ca1(_0xbb3dc0)['dataset']['rootName'],_0x2c03f6=_0xbb3dc0['nextElementSibling'],_0x1b45c6=_0xbb3dc0['previousElementSibling'],_0x248028=_0x2c03f6&&_0x579a1a['window']['getComputedStyle'](_0x2c03f6)['float'],_0xce03f9=_0x2c03f6&&'ck-fake-selection-container'===_0x2c03f6['className'];return!_0x2ce82e||_0x2c03f6||_0x1b45c6||(_0x142009=!0x0),_0x2ce82e&&!_0x1b45c6&&_0xce03f9&&(_0x142009=!0x0),_0x2ce82e&&!_0x1b45c6&&'none'!==_0x248028&&(_0x142009=!0x0),!_0x142009;}(_0x164dfc)){const _0x1f2db4=_0x579a1a['window']['getComputedStyle'](_0x164dfc)['float'];if('left'==_0x1f2db4||'right'==_0x1f2db4)return _0x101f64;}const _0xc47625=I(_0x375f40,_0x29fa51,_0x16c5a2,_0xd2096b,_0x2ff02d);if(_0xc47625['length']){for(const _0xf82fb2 of _0xc47625)_0x101f64['push']({'type':_0xf82fb2['type'],'offset':_0xf82fb2['offset'],'textOffset':_0xf82fb2['textOffset'],'path':[_0x3c6620,..._0xf82fb2['path']]}),_0x29fa51+=_0x16c5a2;return _0x101f64;}return _0x101f64['push'](...function(_0x18a276,_0x4f61dc,_0x1c58a7,_0x48b124,_0x5a0dcd){const _0x51de20=[];if('table-cell'==_0x579a1a['window']['getComputedStyle'](_0x18a276)['display'])return[];const _0x4029da=[];for(const _0x481666 of _0x18a276['getClientRects']())if(_0x481666['left']>=_0x1c58a7){for(const _0x10e365 of _0x4029da)_0x10e365['height']+=_0x481666['height'];_0x4029da['push']({'height':_0x481666['height']}),_0x1c58a7+=_0x48b124;}for(const _0x37df6c of _0x4029da)_0x5a0dcd||_0x51de20['push']({'type':'element','offset':_0x37df6c['height'],'textOffset':0x0,'path':[_0x4f61dc]}),_0x5a0dcd=!0x1;return _0x51de20;}(_0x375f40,_0x3c6620,_0x29fa51,_0x16c5a2,_0x2ff02d)),_0x101f64;}function A(_0x56a6e8,_0x377de4,_0x402107,_0x8b7c27,_0x3aa77c){const _0x3fbbee=E(_0x56a6e8),_0x3160d6=[];let _0x4928f5=0x0;for(const _0x3de83d of _0x3fbbee['getClientRects']())if(_0x3de83d['left']>=_0x402107){const _0x5792b8=O(_0x56a6e8,_0x4928f5,_0x402107,_0x8b7c27);_0x3aa77c||_0x3160d6['push']({'type':'text','path':[_0x377de4],'textOffset':_0x5792b8}),_0x4928f5=_0x5792b8,_0x402107+=_0x8b7c27,_0x3aa77c=!0x1;}return _0x3160d6;}function O(_0x3ce80f,_0x2329c0,_0x1815c6,_0x14b0cc){let _0x23f68f=_0x2329c0,_0x160577=_0x3ce80f['length'];for(;_0x160577-_0x23f68f>0x1;){const _0x1174a7=Math['ceil']((_0x23f68f+_0x160577)/0x2);U(S(_0x3ce80f,_0x23f68f,_0x1174a7),_0x1815c6,_0x14b0cc)?_0x160577=_0x1174a7:_0x23f68f=_0x1174a7;}return _0x23f68f;}function U(_0x30171d,_0x28b095,_0x4440d0){for(const _0x20f24c of _0x30171d['getClientRects']())if(_0x20f24c['left']>=_0x28b095&&_0x20f24c['left']<_0x28b095+_0x4440d0)return!0x0;return!0x1;}function C(_0x3aa51d){return _0x3aa51d['nodeType']==Node['ELEMENT_NODE'];}function D(_0x39f981){return _0x39f981['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4d0886('px');var B=class extends _0x5f6445{constructor(){super();const _0x39724d=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x39724d['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x39724d['if']('isVisible','ck-hidden',_0x4b5d20=>!_0x4b5d20)],'style':{'left':_0x39724d['to']('left',_0x3df2ea=>T(_0x3df2ea)),'top':_0x39724d['to']('top',_0x4ea923=>T(_0x4ea923)),'width':_0x39724d['to']('width',_0x901017=>T(_0x901017))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x8c6b){this['_viewCollection']=_0x8c6b['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x23f6ff of this['_hiddenLines'])_0x23f6ff['destroy']();}['cleanLines'](){for(const _0x5bee50 of this['_visibleLines'])_0x5bee50['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5bee50);this['_visibleLines']['clear']();}['showLine'](_0x1ef0bb,_0xdb978a,_0x542592,_0x543c50){let _0x49cf5a;this['_hiddenLines']['size']?(_0x49cf5a=_0x256669(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x49cf5a)):_0x49cf5a=new B(),_0x49cf5a['set']({'pageNumber':_0x543c50,'left':_0x1ef0bb,'top':_0xdb978a,'width':_0x542592}),_0x49cf5a['isVisible']=!0x0,this['_viewCollection']['has'](_0x49cf5a)||this['_viewCollection']['add'](_0x49cf5a),this['_visibleLines']['add'](_0x49cf5a);}setViewCollection(_0x52bceb){for(const _0x4fd26f of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4fd26f)&&this['_viewCollection']['remove'](_0x4fd26f);this['_viewCollection']=_0x52bceb;}};const V='ck-pagination_enabled';var M=class extends _0x1558a0{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',(_0xe9be51,_0x2e0160,_0x386a4c)=>{_0x386a4c||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x386a4c);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4a5b67){if(!this['isEnabled'])return;const _0xf2b2d9=_0x4a5b67>0x1?this['_getPageBreakLineOffset'](_0x4a5b67-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xf2b2d9-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3048c9['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x24b933=this['editor'],_0x22d7a8=this['_getAttachedDomRoot']();_0x22d7a8?(this['_scrollableEditingRootDomAncestor']&&_0x24b933['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x12cc90(_0x22d7a8),_0x24b933['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x42aa79(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x24b933['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x484342=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x484342['ui']['view']['listenTo'](_0x579a1a['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x484342['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x5300cd of this['editor']['editing']['view']['domRoots']['values']())if(_0x5300cd['isConnected'])return _0x5300cd;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x5d2083=this['_getAttachedDomRoot'](),_0x2b25fb=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5d2083||0x1==_0x2b25fb['length'])return void(this['pageNumber']=0x1);const _0x5cf9b0=new _0x4c22bd(_0x5d2083)['excludeScrollbarsAndBorders'](),_0xd69868=new _0x4c22bd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x52c551=_0xd69868['top']+_0xd69868['height']/0x3;let _0x1c8fc1=!0x1;const _0x470db9=[];for(let _0x1265c3=0x1;_0x1265c3<_0x2b25fb['length'];_0x1265c3++){const _0xaa1be8=this['_getPageBreakLineOffset'](_0x1265c3,_0xd69868);if(!_0xaa1be8)continue;const _0x180706=_0xd69868['top']+_0xaa1be8-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x470db9['push']({'pageOffsetTop':_0x180706,'domRootRect':_0x5cf9b0,'domScrollableRect':_0xd69868,'pageNumber':_0x1265c3}),_0x180706>_0x52c551&&!_0x1c8fc1&&(this['pageNumber']=_0x1265c3,_0x1c8fc1=!0x0);}this['_renderPageBreakLines'](_0x470db9),_0x1c8fc1||(this['pageNumber']=_0x2b25fb['length']);}['_renderPageBreakLines'](_0x369914){if(!_0x369914['length'])return;const {scrollX:_0x1ee8ce,scrollY:_0x2e2f8d}=_0x579a1a['window'],_0x40aaa1=_0x43d32e(this['linesRepository']['containerElement']);let _0x50dfbb,_0x54b8a0;if(_0x40aaa1){const _0x368209=new _0x4c22bd(_0x40aaa1);_0x50dfbb=_0x368209['top']+_0x40aaa1['clientTop']-_0x40aaa1['scrollTop'],_0x54b8a0=_0x368209['left']+_0x40aaa1['clientLeft']-_0x40aaa1['scrollLeft'];}else _0x50dfbb=-_0x2e2f8d,_0x54b8a0=-_0x1ee8ce;for(const {domScrollableRect:_0x22952c,pageOffsetTop:_0xaeaf40,domRootRect:_0x53d826,pageNumber:_0x49a480}of _0x369914)_0x22952c['top']<_0xaeaf40&&_0xaeaf40<_0x22952c['bottom']&&this['linesRepository']['showLine'](_0x53d826['left']-_0x54b8a0,_0xaeaf40-_0x50dfbb,_0x53d826['width'],_0x49a480+0x1);}_getPageBreakLineOffset(_0x3d1232,_0x53ccc9=null){const _0x3da860=this['_paginationLookupPlugin']['pageBreaks'][_0x3d1232]['offset'];return _0x3da860?(_0x53ccc9||(_0x53ccc9=new _0x4c22bd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3da860-_0x53ccc9['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x40f954,_0x3f2a9e=!0x0){const _0x2ef186=this['editor']['editing']['view'];_0x2ef186['change'](_0x36b99f=>{for(const _0x147c1c of _0x2ef186['document']['roots'])_0x3f2a9e?_0x36b99f['addClass'](_0x40f954,_0x147c1c):_0x36b99f['removeClass'](_0x40f954,_0x147c1c);});}};function $(_0x281eff,_0x2c135a,..._0x2e6213){const t=_0x281eff['t'];switch(_0x2c135a){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)',..._0x2e6213);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 _0x2c135a;}}var j=class extends _0x1558a0{['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 _0x54d8d8=this['editor']['plugins']['get']('Pagination'),_0x181d26=this['editor']['plugins']['get'](v),_0x52af47=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x54d8d8),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x52af47),this['listenTo'](_0x181d26,'change:pageBreaks',(_0x34beff,_0x5a1b77,_0x5d0191,_0x49103b)=>{this['totalPages']=_0x5d0191['length'],this['_updatePageBreakMarkers'](_0x5d0191,_0x49103b);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x159a4f=[this['editor']];for(const _0x5f0afc of _0x159a4f){let _0x19f47b;for(const _0x8c0d16 in _0x5f0afc){const _0x5f3cbf=_0x8c0d16,_0x103d10=_0x5f0afc[_0x5f3cbf];if('paginationLicenseKeyValid'==_0x103d10||'paginationLicenseKeyInvalid'==_0x103d10||'paginationLicenseKeyExpired'==_0x103d10||'paginationLicenseKeyDomainLimit'==_0x103d10||'paginationLicenseKeyNotAllowed'==_0x103d10||'paginationLicenseKeyEvaluationLimit'==_0x103d10||'paginationLicenseKeyUsageLimit'==_0x103d10){delete _0x5f0afc[_0x5f3cbf],_0x19f47b=_0x103d10,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x19f47b&&_0x5f0afc['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x19f47b&&_0x5f0afc['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x19f47b&&_0x5f0afc['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x19f47b&&_0x5f0afc['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3ce152){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x3ce152));}moveSelectionToPage(_0x1bdb42){if(!this['isEnabled'])return;const _0x3ba7c6=this['editor'],_0x3ce0c1=this['editor']['plugins']['get'](v)['pageBreaks'][_0x1bdb42-0x1];_0x3ce0c1&&_0x3ba7c6['model']['change'](_0x3e1e45=>{switch(_0x3ce0c1['type']){case'manual':{const _0xbec793=_0x3ba7c6['model']['schema']['getNearestSelectionRange'](_0x3ce0c1['modelRange']['end'],'forward');_0x3e1e45['setSelection'](_0xbec793);break;}case'element':{const _0x17d7c4=_0x3ba7c6['model']['schema']['getNearestSelectionRange'](_0x3ce0c1['modelRange']['start'],'forward');_0x3e1e45['setSelection'](_0x17d7c4);break;}case'text':{const _0x3c6340=_0x3ce0c1['modelRange']['start'];if(_0x3c6340['textNode']&&'\x20'===_0x3c6340['textNode']['data'][_0x3c6340['offset']]){const _0x2e525b=_0x3e1e45['createPositionAt'](_0x3c6340['parent'],_0x3c6340['offset']+0x1);_0x3e1e45['setSelection'](_0x2e525b);}else _0x3e1e45['setSelection'](_0x3ce0c1['modelRange']);}}_0x3ba7c6['editing']['view']['focus']();});}goToNextPage(){const _0x472131=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x472131),this['scrollToPage'](_0x472131);}['goToPreviousPage'](){const _0x293557=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x293557),this['scrollToPage'](_0x293557);}_updatePageBreakMarkers(_0x53f703,_0x2d92c5){const _0x3b317b=this['editor']['model'];this['isEnabled']&&_0x3b317b['change'](_0x3a5efb=>{for(let _0x378358=0x1;_0x378358<_0x53f703['length'];_0x378358++){const _0x4d526b=_0x53f703[_0x378358]['modelRange'],_0x4693c5='pagination:'+(_0x378358+0x1);_0x3b317b['markers']['has'](_0x4693c5)?_0x3a5efb['updateMarker'](_0x4693c5,{'range':_0x4d526b}):_0x3a5efb['addMarker'](_0x4693c5,{'range':_0x4d526b,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3f7d9d=_0x53f703['length'];_0x3f7d9d<_0x2d92c5['length'];_0x3f7d9d++){const _0x3ad269='pagination:'+(_0x3f7d9d+0x1);_0x3b317b['markers']['has'](_0x3ad269)&&_0x3a5efb['removeMarker'](_0x3ad269);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x97dfa7=>{_0x97dfa7['on']('addMarker:pagination',(_0x21b722,{markerRange:_0x318b82,markerName:_0x5939a2},_0x3c5bc8)=>{if(!_0x3c5bc8['options']['pagination'])return;if(!_0x3c5bc8['consumable']['consume'](_0x318b82,_0x21b722['name']))return;const _0x541ae4=_0x318b82['getContainedElement']();let _0x3ecfc6=_0x541ae4?_0x3c5bc8['mapper']['toViewElement'](_0x541ae4):null;if(!_0x3ecfc6){const _0x5e19bd=_0x318b82['start'];if(_0x3c5bc8['schema']['checkChild'](_0x5e19bd,'$text')){const _0x5aefaf=_0x3c5bc8['mapper']['toViewPosition'](_0x5e19bd);_0x3ecfc6=_0x3c5bc8['writer']['createContainerElement']('span'),_0x3ecfc6['getFillerOffset']=()=>null,_0x3c5bc8['writer']['insert'](_0x5aefaf,_0x3ecfc6);}else{const _0x18a57c=_0x5e19bd['nodeAfter'];_0x3ecfc6=_0x3c5bc8['mapper']['toViewElement'](_0x18a57c);}}for(;_0x3ecfc6['parent']!==_0x3ecfc6['root']&&0x0===_0x3ecfc6['index'];)_0x3ecfc6=_0x3ecfc6['parent'];const _0x825719=_0x5939a2['substring'](0xb);_0x3ecfc6['hasClass']('page-break')||(_0x3c5bc8['writer']['setStyle']('page-break-before','always',_0x3ecfc6),_0x3c5bc8['writer']['setAttribute']('data-pagination-page',_0x825719,_0x3ecfc6),_0x3c5bc8['mapper']['bindElementToMarker'](_0x3ecfc6,_0x5939a2)),_0x21b722['stop']();});});}_setupKeystrokes(){const _0x44c07d=this['editor'];_0x44c07d['keystrokes']['set']('Shift+Pageup',(_0x3e9e5a,_0x59106f)=>{this['goToPreviousPage'](),_0x59106f();}),_0x44c07d['keystrokes']['set']('Shift+Pagedown',(_0x542257,_0x4bb5de)=>{this['goToNextPage'](),_0x4bb5de();}),_0x44c07d['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x44c07d['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x44c07d['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x44c07d['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x1847c3){return _0x1847c3<0x1&&(_0x1847c3=0x1),_0x1847c3>this['totalPages']&&(_0x1847c3=this['totalPages']),_0x1847c3;}},q=class extends _0x5f6445{['pageNumberView'];constructor(_0xb8a6e2){super(_0xb8a6e2);const _0x4f47b4=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1687d4(_0xb8a6e2,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x2adb1d=>$(_0xb8a6e2,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x2adb1d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x43c733=>!_0x43c733),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x4f47b4['if']('isEnabled','ck-disabled',_0x32e721=>!_0x32e721)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x4f47b4['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2308a7=this['pageNumberView']['element'],_0x3f9038=_0x267f27=>{this['pageNumberView']['element']['value']=String(_0x267f27);};_0x3f9038(this['pageNumber']),this['on']('change:pageNumber',(_0x162f21,_0x169ed6,_0x494be8)=>{_0x3f9038(_0x494be8);}),this['listenTo'](_0x2308a7,'keydown',(_0x53d2d1,_0x37c834)=>{if('ArrowUp'===_0x37c834['key']||'ArrowDown'===_0x37c834['key'])return void _0x37c834['stopPropagation']();if(_0x37c834['keyCode']!==_0x237375['enter'])return;_0x37c834['preventDefault']();const _0x49be0c=_0x2308a7['valueAsNumber'];Number['isNaN'](_0x49be0c)?_0x2308a7['value']=String(this['pageNumber']):(_0x2308a7['checkValidity']()?this['pageNumber']=_0x49be0c:_0x49be0c>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2308a7['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2308a7['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2308a7,'blur',()=>{_0x2308a7['value']=String(this['pageNumber']);}),this['listenTo'](_0x2308a7,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x1558a0{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0xd88861=this['editor'],_0x11da49=_0xd88861['plugins']['get']('PaginationEditing');_0xd88861['ui']['componentFactory']['add']('pageNavigation',_0x457c0d=>{const _0x476781=new q(_0x457c0d);return _0x476781['bind']('pageNumber')['to'](_0x11da49),_0x476781['bind']('totalPages')['to'](_0x11da49),_0x476781['bind']('isEnabled')['to'](_0x11da49),_0x476781['on']('navigation',(_0x35ffca,_0x33f192)=>{_0x11da49['moveSelectionToPage'](_0x33f192),_0x11da49['scrollToPage'](_0x33f192);}),_0x476781;}),_0xd88861['ui']['componentFactory']['add']('nextPage',_0x437b9f=>{const _0x491a21=new _0x2d53ce(_0x437b9f);return _0x491a21['isEnabled']=!0x0,_0x491a21['label']=$(_0xd88861['locale'],'Go\x20to\x20next\x20page'),_0x491a21['icon']=_0x38c35e,_0x491a21['tooltip']=!0x0,_0x491a21['keystroke']='Shift+PageDown',_0x491a21['bind']('isEnabled')['to'](_0x11da49),this['listenTo'](_0x491a21,'execute',()=>{_0x11da49['goToNextPage']();}),_0x491a21;}),_0xd88861['ui']['componentFactory']['add']('previousPage',_0xd390b1=>{const _0x3e8cf1=new _0x2d53ce(_0xd390b1);return _0x3e8cf1['isEnabled']=!0x0,_0x3e8cf1['label']=$(_0xd88861['locale'],'Go\x20to\x20previous\x20page'),_0x3e8cf1['icon']=_0x45ad66,_0x3e8cf1['tooltip']=!0x0,_0x3e8cf1['keystroke']='Shift+PageUp',_0x3e8cf1['bind']('isEnabled')['to'](_0x11da49),this['listenTo'](_0x3e8cf1,'execute',()=>{_0x11da49['goToPreviousPage']();}),_0x3e8cf1;});}},H=class extends _0x1558a0{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x5d9cef){super(_0x5d9cef),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x18637a=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x18637a),this['bind']('totalPages')['to'](_0x18637a),_0x3048c9['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x460599){this['editor']['plugins']['get'](j)['scrollToPage'](_0x460599);}};export{H as Pagination,M as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a5e31=>{const {af:_0xcabac}={'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)':''}}};_0x4a5e31['af']||={'dictionary':{},'getPluralForm':null},_0x4a5e31['af']['dictionary']=Object['assign'](_0x4a5e31['af']['dictionary'],_0xcabac['dictionary']),_0xcabac['getPluralForm']&&(_0x4a5e31['af']['getPluralForm']=_0xcabac['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29d856=>{const {ar:_0x59e551}={'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أيضاً)'}}};_0x29d856['ar']||={'dictionary':{},'getPluralForm':null},_0x29d856['ar']['dictionary']=Object['assign'](_0x29d856['ar']['dictionary'],_0x59e551['dictionary']),_0x59e551['getPluralForm']&&(_0x29d856['ar']['getPluralForm']=_0x59e551['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3403fa=>{const {ast:_0x14d8ec}={'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)':''}}};_0x3403fa['ast']||={'dictionary':{},'getPluralForm':null},_0x3403fa['ast']['dictionary']=Object['assign'](_0x3403fa['ast']['dictionary'],_0x14d8ec['dictionary']),_0x14d8ec['getPluralForm']&&(_0x3403fa['ast']['getPluralForm']=_0x14d8ec['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2174af=>{const {az:_0x28e54b}={'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)':''}}};_0x2174af['az']||={'dictionary':{},'getPluralForm':null},_0x2174af['az']['dictionary']=Object['assign'](_0x2174af['az']['dictionary'],_0x28e54b['dictionary']),_0x28e54b['getPluralForm']&&(_0x2174af['az']['getPluralForm']=_0x28e54b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x183543=>{const {be:_0x262052}={'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)':''}}};_0x183543['be']||={'dictionary':{},'getPluralForm':null},_0x183543['be']['dictionary']=Object['assign'](_0x183543['be']['dictionary'],_0x262052['dictionary']),_0x262052['getPluralForm']&&(_0x183543['be']['getPluralForm']=_0x262052['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x488741=>{const {bg:_0x58d807}={'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селекцията)'}}};_0x488741['bg']||={'dictionary':{},'getPluralForm':null},_0x488741['bg']['dictionary']=Object['assign'](_0x488741['bg']['dictionary'],_0x58d807['dictionary']),_0x58d807['getPluralForm']&&(_0x488741['bg']['getPluralForm']=_0x58d807['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b98d4=>{const {bn:_0x32b27d}={'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নিন)'}}};_0x1b98d4['bn']||={'dictionary':{},'getPluralForm':null},_0x1b98d4['bn']['dictionary']=Object['assign'](_0x1b98d4['bn']['dictionary'],_0x32b27d['dictionary']),_0x32b27d['getPluralForm']&&(_0x1b98d4['bn']['getPluralForm']=_0x32b27d['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5187b5=>{const {bs:_0x5729dd}={'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)':''}}};_0x5187b5['bs']||={'dictionary':{},'getPluralForm':null},_0x5187b5['bs']['dictionary']=Object['assign'](_0x5187b5['bs']['dictionary'],_0x5729dd['dictionary']),_0x5729dd['getPluralForm']&&(_0x5187b5['bs']['getPluralForm']=_0x5729dd['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x542da1=>{const {ca:_0x21f73c}={'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ó)'}}};_0x542da1['ca']||={'dictionary':{},'getPluralForm':null},_0x542da1['ca']['dictionary']=Object['assign'](_0x542da1['ca']['dictionary'],_0x21f73c['dictionary']),_0x21f73c['getPluralForm']&&(_0x542da1['ca']['getPluralForm']=_0x21f73c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xda8ee6=>{const {cs:_0x5e8d0c}={'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)'}}};_0xda8ee6['cs']||={'dictionary':{},'getPluralForm':null},_0xda8ee6['cs']['dictionary']=Object['assign'](_0xda8ee6['cs']['dictionary'],_0x5e8d0c['dictionary']),_0x5e8d0c['getPluralForm']&&(_0xda8ee6['cs']['getPluralForm']=_0x5e8d0c['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1314a4=>{const {da:_0x2e1fc1}={'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)'}}};_0x1314a4['da']||={'dictionary':{},'getPluralForm':null},_0x1314a4['da']['dictionary']=Object['assign'](_0x1314a4['da']['dictionary'],_0x2e1fc1['dictionary']),_0x2e1fc1['getPluralForm']&&(_0x1314a4['da']['getPluralForm']=_0x2e1fc1['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x466d0b=>{const {'de-ch':_0x49b6b4}={'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)':''}}};_0x466d0b['de-ch']||={'dictionary':{},'getPluralForm':null},_0x466d0b['de-ch']['dictionary']=Object['assign'](_0x466d0b['de-ch']['dictionary'],_0x49b6b4['dictionary']),_0x49b6b4['getPluralForm']&&(_0x466d0b['de-ch']['getPluralForm']=_0x49b6b4['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa76049=>{const {de:_0xd2b2f4}={'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)'}}};_0xa76049['de']||={'dictionary':{},'getPluralForm':null},_0xa76049['de']['dictionary']=Object['assign'](_0xa76049['de']['dictionary'],_0xd2b2f4['dictionary']),_0xd2b2f4['getPluralForm']&&(_0xa76049['de']['getPluralForm']=_0xd2b2f4['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x431267=>{const {el:_0x3f9b8b}={'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μετακίνησης)'}}};_0x431267['el']||={'dictionary':{},'getPluralForm':null},_0x431267['el']['dictionary']=Object['assign'](_0x431267['el']['dictionary'],_0x3f9b8b['dictionary']),_0x3f9b8b['getPluralForm']&&(_0x431267['el']['getPluralForm']=_0x3f9b8b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c0fd7=>{const {'en-au':_0x37a2d3}={'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)':''}}};_0x5c0fd7['en-au']||={'dictionary':{},'getPluralForm':null},_0x5c0fd7['en-au']['dictionary']=Object['assign'](_0x5c0fd7['en-au']['dictionary'],_0x37a2d3['dictionary']),_0x37a2d3['getPluralForm']&&(_0x5c0fd7['en-au']['getPluralForm']=_0x37a2d3['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xad42d5=>{const {'en-gb':_0x139948}={'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)':''}}};_0xad42d5['en-gb']||={'dictionary':{},'getPluralForm':null},_0xad42d5['en-gb']['dictionary']=Object['assign'](_0xad42d5['en-gb']['dictionary'],_0x139948['dictionary']),_0x139948['getPluralForm']&&(_0xad42d5['en-gb']['getPluralForm']=_0x139948['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x737d45=>{const {en:_0x318f38}={'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)'}}};_0x737d45['en']||={'dictionary':{},'getPluralForm':null},_0x737d45['en']['dictionary']=Object['assign'](_0x737d45['en']['dictionary'],_0x318f38['dictionary']),_0x318f38['getPluralForm']&&(_0x737d45['en']['getPluralForm']=_0x318f38['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48d648=>{const {eo:_0x420796}={'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)':''}}};_0x48d648['eo']||={'dictionary':{},'getPluralForm':null},_0x48d648['eo']['dictionary']=Object['assign'](_0x48d648['eo']['dictionary'],_0x420796['dictionary']),_0x420796['getPluralForm']&&(_0x48d648['eo']['getPluralForm']=_0x420796['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e5c3f=>{const {'es-co':_0x349477}={'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)':''}}};_0x2e5c3f['es-co']||={'dictionary':{},'getPluralForm':null},_0x2e5c3f['es-co']['dictionary']=Object['assign'](_0x2e5c3f['es-co']['dictionary'],_0x349477['dictionary']),_0x349477['getPluralForm']&&(_0x2e5c3f['es-co']['getPluralForm']=_0x349477['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50eee9=>{const {es:_0x28f708}={'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)'}}};_0x50eee9['es']||={'dictionary':{},'getPluralForm':null},_0x50eee9['es']['dictionary']=Object['assign'](_0x50eee9['es']['dictionary'],_0x28f708['dictionary']),_0x28f708['getPluralForm']&&(_0x50eee9['es']['getPluralForm']=_0x28f708['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45b7a4=>{const {et:_0x2d4f78}={'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)'}}};_0x45b7a4['et']||={'dictionary':{},'getPluralForm':null},_0x45b7a4['et']['dictionary']=Object['assign'](_0x45b7a4['et']['dictionary'],_0x2d4f78['dictionary']),_0x2d4f78['getPluralForm']&&(_0x45b7a4['et']['getPluralForm']=_0x2d4f78['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57b0a1=>{const {eu:_0x3b59e6}={'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)':''}}};_0x57b0a1['eu']||={'dictionary':{},'getPluralForm':null},_0x57b0a1['eu']['dictionary']=Object['assign'](_0x57b0a1['eu']['dictionary'],_0x3b59e6['dictionary']),_0x3b59e6['getPluralForm']&&(_0x57b0a1['eu']['getPluralForm']=_0x3b59e6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a1ccc=>{const {fa:_0x54b5b8}={'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)':''}}};_0x4a1ccc['fa']||={'dictionary':{},'getPluralForm':null},_0x4a1ccc['fa']['dictionary']=Object['assign'](_0x4a1ccc['fa']['dictionary'],_0x54b5b8['dictionary']),_0x54b5b8['getPluralForm']&&(_0x4a1ccc['fa']['getPluralForm']=_0x54b5b8['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c8950=>{const {fi:_0x3e9420}={'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)'}}};_0x5c8950['fi']||={'dictionary':{},'getPluralForm':null},_0x5c8950['fi']['dictionary']=Object['assign'](_0x5c8950['fi']['dictionary'],_0x3e9420['dictionary']),_0x3e9420['getPluralForm']&&(_0x5c8950['fi']['getPluralForm']=_0x3e9420['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3453b0=>{const {fr:_0x45133b}={'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)'}}};_0x3453b0['fr']||={'dictionary':{},'getPluralForm':null},_0x3453b0['fr']['dictionary']=Object['assign'](_0x3453b0['fr']['dictionary'],_0x45133b['dictionary']),_0x45133b['getPluralForm']&&(_0x3453b0['fr']['getPluralForm']=_0x45133b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x782d23=>{const {gl:_0x15ac73}={'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)'}}};_0x782d23['gl']||={'dictionary':{},'getPluralForm':null},_0x782d23['gl']['dictionary']=Object['assign'](_0x782d23['gl']['dictionary'],_0x15ac73['dictionary']),_0x15ac73['getPluralForm']&&(_0x782d23['gl']['getPluralForm']=_0x15ac73['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|