@ckeditor/ckeditor5-pagination 49.0.0-alpha.1 → 49.0.0-alpha.10
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-editor.css +3 -2
- package/dist/index.css +3 -2
- 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-editor.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--ck-pagination-divider-color: var(--ck-color-pagination-divider, #ababab);
|
|
7
7
|
--ck-pagination-label-background-color: #c4c4c4;
|
|
8
8
|
--ck-pagination-label-border-radius: 0 var(--ck-border-radius-control-small) var(--ck-border-radius-control-small) 0;
|
|
9
|
+
--ck-pagination-label-padding: var(--ck-spacing-padding-compact);
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.ck.ck-pagination_enabled {
|
|
@@ -145,13 +146,13 @@
|
|
|
145
146
|
|
|
146
147
|
&:after {
|
|
147
148
|
content: attr(data-page-number);
|
|
148
|
-
font-size: var(--ck-font-size-xs);
|
|
149
|
+
font-size: var(--ck-font-size-tiny, var(--ck-font-size-xs));
|
|
149
150
|
background: var(--ck-pagination-label-background-color);
|
|
150
151
|
border-radius: var(--ck-pagination-label-border-radius);
|
|
151
152
|
color: var(--ck-color-text-inverse);
|
|
152
153
|
text-align: center;
|
|
153
154
|
min-width: 18px;
|
|
154
|
-
padding: var(--ck-
|
|
155
|
+
padding: var(--ck-pagination-label-padding);
|
|
155
156
|
display: inline-block;
|
|
156
157
|
position: absolute;
|
|
157
158
|
top: -1px;
|
package/dist/index.css
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--ck-pagination-divider-color: var(--ck-color-pagination-divider, #ababab);
|
|
7
7
|
--ck-pagination-label-background-color: #c4c4c4;
|
|
8
8
|
--ck-pagination-label-border-radius: 0 var(--ck-border-radius-control-small) var(--ck-border-radius-control-small) 0;
|
|
9
|
+
--ck-pagination-label-padding: var(--ck-spacing-padding-compact);
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.ck.ck-pagination_enabled {
|
|
@@ -145,13 +146,13 @@
|
|
|
145
146
|
|
|
146
147
|
&:after {
|
|
147
148
|
content: attr(data-page-number);
|
|
148
|
-
font-size: var(--ck-font-size-xs);
|
|
149
|
+
font-size: var(--ck-font-size-tiny, var(--ck-font-size-xs));
|
|
149
150
|
background: var(--ck-pagination-label-background-color);
|
|
150
151
|
border-radius: var(--ck-pagination-label-border-radius);
|
|
151
152
|
color: var(--ck-color-text-inverse);
|
|
152
153
|
text-align: center;
|
|
153
154
|
min-width: 18px;
|
|
154
|
-
padding: var(--ck-
|
|
155
|
+
padding: var(--ck-pagination-label-padding);
|
|
155
156
|
display: inline-block;
|
|
156
157
|
position: absolute;
|
|
157
158
|
top: -1px;
|
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x394059}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x55bb95,InputNumberView as _0x16f11a,View as _0x3dce57}from'@ckeditor/ckeditor5-ui';import{Rect as _0x467f92,ResizeObserver as _0x567e47,env as _0x29cab9,findClosestScrollableAncestor as _0x1d0bdb,first as _0x2cd610,getParentElement as _0x135525,getParentNode as _0x3e7e72,getPositionedAncestor as _0x2c78b6,global as _0x39ac14,keyCodes as _0x14c526,logWarning as _0x40c8ea,toUnit as _0x289924,uid as _0xbe1af8}from'@ckeditor/ckeditor5-utils';import{debounce as _0x47215e}from'es-toolkit/compat';import{IconArrowDown as _0x274e7a,IconArrowUp as _0x2a723c}from'@ckeditor/ckeditor5-icons';var v=class extends _0x394059{_recalculatePageBreaksDebounced=_0x47215e(()=>this['_recalculatePageBreaks'](),0xc8);_pagesContainer=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x40c8ea('pagination-config-not-found',this['editor']['config']);const _0x2603e7=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x2603e7),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x357071,_0x34eaea,_0x167633)=>{_0x167633&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x28d436){const _0x3a455a='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x36c620=0x79728,_0x98b0f2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x52205d(_0x578912){const _0x23182b=new window['Promise'](_0x41cf81=>{_0x578912['once']('ready',_0x41cf81);}),_0x1e3fe9=window['Date']['now'](),_0x3bc679=_0x578912['config']['get']('licenseKey');async function _0x296b0b(){let _0x15a5f2,_0x437c1c=null,_0x4ace17=null;try{return'GPL'==_0x3bc679?'NotAllowed':(_0x15a5f2=_0x5dbac0(),_0x15a5f2?(_0x15a5f2['usageEndpoint']&&(_0x4ace17=_0x191fe7(_0x15a5f2['usageEndpoint'],_0x15a5f2['jti'])),await _0x422208()?_0x3b7a18()?_0x233dc2()?'Expired':_0x4dee62()?('evaluation'==_0x15a5f2['licenseType']&&(_0x437c1c=_0x18701c('EvaluationLimit')),await _0xf0fb25()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x233dc2(){const _0x4e8de7=['evaluation','trial']['includes'](_0x15a5f2['licenseType'])?_0x1e3fe9/0x3e8:0xe10*_0x36c620;return _0x15a5f2['exp']<_0x4e8de7;}function _0x3b7a18(){const _0x3c8a50=_0x15a5f2['features'];return!!_0x3c8a50&&(!!_0x3c8a50['includes']('*')||!!_0x3c8a50['includes']('PAG'));}function _0x4dee62(){const _0x38c352=_0x15a5f2['licensedHosts'];if(!_0x38c352||0x0==_0x38c352['length'])return!0x0;const {hostname:_0x22f344}=new URL(window['location']['href']);if(_0x38c352['includes'](_0x22f344))return!0x0;const _0xd37a50=_0x22f344['split']('.');return _0x38c352['filter'](_0x3d5a6e=>_0x3d5a6e['includes']('*'))['map'](_0x5bcbd9=>_0x5bcbd9['split']('.'))['filter'](_0x30c5a6=>_0x30c5a6['length']<=_0xd37a50['length'])['map'](_0x166303=>Array(_0xd37a50['length']-_0x166303['length'])['fill']('*'===_0x166303[0x0]?'*':'')['concat'](_0x166303))['some'](_0x217e65=>_0xd37a50['every']((_0x5f527d,_0x47daf2)=>_0x217e65[_0x47daf2]===_0x5f527d||'*'===_0x217e65[_0x47daf2]));}function _0xf0fb25(){return _0x437c1c&&_0x4ace17?new window['Promise']((_0x3772fa,_0xc94662)=>{_0x437c1c['then'](_0x3772fa,_0xc94662),_0x4ace17['then'](_0x2c3f0c=>{'Valid'!=_0x2c3f0c&&_0x3772fa(_0x2c3f0c);},_0xc94662);}):_0x437c1c||_0x4ace17||'Valid';}}function _0x191fe7(_0x10d9d2,_0x6c7ff1){return new window['Promise'](_0x26e230=>{if(_0x2c412f())return _0x26e230('Valid');_0x77af33(),_0x578912['decorate']('_sendUsageRequest');let _0x545a5d=!0x1;const _0x1cac75=_0xbe1af8();function _0x16fe3(_0x549c7f){return!!_0x549c7f&&('object'==typeof _0x549c7f||'function'==typeof _0x549c7f)&&'function'==typeof _0x549c7f['then']&&'function'==typeof _0x549c7f['catch'];}function _0x5ca7eb(_0x1b4101){_0x1e98b7(_0x1b4101)['then'](_0x36c8d4=>_0x36c8d4&&'ok'==_0x36c8d4['status']?_0x55ce31(_0x5016c4(_0x1cac75+_0x6c7ff1))!=_0x36c8d4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x28c09a=>(_0x286559(),_0x28c09a),()=>{const _0x30b97f=_0x11f91b();return null==_0x30b97f?(_0x286559(),'Valid'):_0x1e3fe9-_0x30b97f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x26e230)['catch'](()=>{_0x26e230('UsageLimit');});const _0x4ab211=0x36ee80;function _0x286559(){const _0x5a9417='llct-'+_0x55ce31(_0x5016c4(_0x10d9d2)),_0x584411=_0x54b651(_0x55ce31(window['Math']['ceil'](_0x1e3fe9/_0x4ab211)));window['localStorage']['setItem'](_0x5a9417,_0x584411);}function _0x11f91b(){const _0x5bd817='llct-'+_0x55ce31(_0x5016c4(_0x10d9d2)),_0x706681=window['localStorage']['getItem'](_0x5bd817);return _0x706681?window['parseInt'](_0x54b651(_0x706681),0x10)*_0x4ab211:null;}function _0x1e98b7(_0x255d63){return new window['Promise']((_0x4a96af,_0x1e3be4)=>{_0x255d63['then'](_0x4a96af,_0x1e3be4),window['setTimeout'](_0x1e3be4,0x1d4c0);});}}_0x578912['on']('_sendUsageRequest',(_0xd0b218,_0x5369c7)=>{if(_0x5369c7[0x0]!=_0x10d9d2)return _0x26e230('UsageLimit');_0x5369c7[0x1]={..._0x5369c7[0x1],'requestId':_0x1cac75};},{'priority':'high'}),_0x578912['on']('_sendUsageRequest',_0x3109a8=>{_0x16fe3(_0x3109a8['return'])&&(_0x545a5d=!0x0,_0x5ca7eb(_0x3109a8['return']));},{'priority':'low'}),_0x23182b['then'](()=>{_0x545a5d||_0x26e230('UsageLimit');});});function _0x2c412f(){return'auto'==_0x578912['editing']['view']['_overlayModeHint'];}function _0x77af33(){_0x578912['editing']['view']['_overlayModeHint']='auto';}}function _0x18701c(_0x4aa540){const _0x46ae39=[new window['Promise'](_0x36b2d0=>setTimeout(_0x36b2d0,0x93ecc)),_0x23182b['then'](()=>new window['Promise'](_0x3f37e8=>{let _0x4ba8ff=0x0;_0x578912['model']['on']('applyOperation',(_0x4c8fc1,_0x3fd564)=>{_0x3fd564[0x0]['isDocumentOperation']&&_0x4ba8ff++,0x5e8==_0x4ba8ff&&(_0x3f37e8(),_0x4c8fc1['off']());});}))];return window['Promise']['race'](_0x46ae39)['then'](()=>_0x4aa540);}async function _0x42f525(){await _0x23182b,_0x578912['model']['change']=_0x3f319b,_0x578912['model']['enqueueChange']=_0x3f319b,_0x578912['enableReadOnlyMode']('model');}function _0x34980f(_0x336632){const _0x4cee81=_0x57c6d6();_0x578912[_0x4cee81]='paginationLicenseKey'+_0x336632,'Valid'!=_0x336632&&_0x42f525();}function _0x57c6d6(){const _0x1f524a=window['String'](window['performance']['now']())['replace']('.','');let _0x1684b1='v';for(let _0x3bc76f=0x0;_0x3bc76f<_0x1f524a['length'];_0x3bc76f+=0x2){let _0x47c749=window['parseInt'](_0x1f524a['substring'](_0x3bc76f,_0x3bc76f+0x2));_0x47c749>=0x3e&&(_0x47c749-=0x3e),_0x1684b1+=_0x3a455a[_0x47c749];}return _0x1684b1;}function _0x5dbac0(){const _0x4dd402=_0x3bc679['split']('.');if(0x3!=_0x4dd402['length'])return null;return _0xd042c4(_0x4dd402[0x1]);function _0xd042c4(_0x521355){const _0x562a16=_0x4222fa(_0x521355);return _0x562a16&&_0x24d0cb()?_0x562a16:null;function _0x24d0cb(){const _0x1f1ba0=_0x562a16['jti'],_0x47cb59=window['parseInt'](_0x1f1ba0['substring'](_0x1f1ba0['length']-0x8),0x10),_0x5e4a3c={..._0x562a16,'jti':_0x1f1ba0['substring'](0x0,_0x1f1ba0['length']-0x8)};return delete _0x5e4a3c['vc'],_0x5016c4(_0x5e4a3c)==_0x47cb59;}}}async function _0x422208(){let _0x156b59=!0x0;try{const [_0x359cf6,_0x57ba99,_0x4fb853]=_0x3bc679['split']('.');return _0x2b6fb3(_0x359cf6),await _0x3d161c(_0x359cf6,_0x57ba99,_0x4fb853),_0x156b59;}catch{return!0x1;}function _0x2b6fb3(_0x3d8d24){const _0x3c7957=_0x4222fa(_0x3d8d24);_0x3c7957&&'ES256'==_0x3c7957['alg']||(_0x156b59=!0x1);}async function _0x3d161c(_0x1f6d86,_0x1b1a35,_0x486326){const _0x48a56a=window['Uint8Array']['from'](_0x1cc6f2(_0x486326),_0x3e5df2=>_0x3e5df2['charCodeAt'](0x0)),_0x42713d=new window['TextEncoder']()['encode'](_0x1f6d86+'.'+_0x1b1a35),_0x35eec4=window['crypto']['subtle'];if(!_0x35eec4)return;const _0x46513f=await _0x35eec4['importKey']('jwk',_0x98b0f2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x35eec4['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x46513f,_0x48a56a,_0x42713d)||(_0x156b59=!0x1);}}function _0x4222fa(_0x1ced89){return _0x1ced89['startsWith']('ey')?JSON['parse'](_0x1cc6f2(_0x1ced89)):null;}function _0x1cc6f2(_0x1b6144){return window['atob'](_0x1b6144['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5016c4(_0x1057d6){let _0x52479d=0x1505;function _0x2b88d0(_0x16ee2d){for(let _0x262d9a=0x0;_0x262d9a<_0x16ee2d['length'];_0x262d9a++){const _0x4799aa=_0x16ee2d['charCodeAt'](_0x262d9a);_0x52479d=(_0x52479d<<0x5)+_0x52479d+_0x4799aa,_0x52479d&=_0x52479d;}}function _0xdeb525(_0x24fdf0){Array['isArray'](_0x24fdf0)?_0x24fdf0['forEach'](_0xdeb525):_0x24fdf0&&'object'==typeof _0x24fdf0?Object['entries'](_0x24fdf0)['sort']()['forEach'](([_0xb8301f,_0x408cef])=>{_0x2b88d0(_0xb8301f),_0xdeb525(_0x408cef);}):_0x2b88d0(window['String'](_0x24fdf0));}return _0xdeb525(_0x1057d6),_0x52479d>>>0x0;}function _0x55ce31(_0xc81d42){return _0xc81d42['toString'](0x10)['padStart'](0x8,'0');}function _0x54b651(_0x2fba98){return _0x2fba98['split']('')['reverse']()['join']('');}function _0x3f319b(){}_0x34980f(await _0x296b0b());}_0x52205d(_0x28d436['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x28eb14=this['editor'],_0x15f75e=_0x28eb14['editing']['view'],_0x28db89=this['_getAttachedDomRoot']();if(!_0x28db89||!_0x28db89['hasChildNodes']())return void _0x28eb14['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x549c44,pageHeight:_0x209508}=_0x28eb14['config']['get']('pagination'),{top:_0xf1eb64,left:_0x2ec2e0,bottom:_0x1ee987,right:_0x4169d9}=this['_configuredPaddings'];this['_pagesContainer']=new _0x3dce57(_0x28eb14['locale']);const _0x5d8594=this['_pagesContainer'];_0x5d8594['set']('class',''),_0x5d8594['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x549c44,'width':_0x549c44,'height':'calc(\x20'+_0x209508+'\x20-\x20'+_0xf1eb64+'\x20-\x20'+_0x1ee987+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4169d9+'\x200\x20'+_0x2ec2e0,'columnGap':'calc('+_0x2ec2e0+'\x20+\x20'+_0x4169d9+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x5d8594['bindTemplate']['to']('class')}}),_0x5d8594['render'](),_0x3e7e72(_0x28db89)['insertBefore'](_0x5d8594['element'],_0x28db89['nextSibling']),this['listenTo'](_0x15f75e,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x4cde54 of this['editor']['editing']['view']['domRoots']['values']())if(_0x4cde54['isConnected'])return _0x4cde54;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x5a50ba=this['editor']['editing']['view'],_0x30c196=this['_pagesContainer'],_0x78a720=this['_getAttachedDomRoot']();if(!_0x78a720||!_0x30c196)return Promise['resolve']();for(_0x30c196['class']=['ck-reset','ck-pagination-view',..._0x78a720['classList']]['join']('\x20');_0x30c196['element']['firstChild'];)_0x30c196['element']['firstChild']['remove']();const _0x59e71d=Array['from'](_0x5a50ba['domRoots']);_0x59e71d['sort'](([,_0x2a1c2b],[,_0x295c94])=>_0x2a1c2b['compareDocumentPosition'](_0x295c94)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1fac1,_0x2fba36]of _0x59e71d){const _0x5d8f79=_0x2fba36['cloneNode'](!0x0);'attributeStyleMap'in _0x5d8f79&&_0x5d8f79['attributeStyleMap']['clear'](),_0x5d8f79['dataset']['rootName']=_0x1fac1,_0x5d8f79['className']='ck-content\x20ck-pagination_enabled',_0x5d8f79['removeAttribute']('id'),_0x5d8f79['tabIndex']=-0x1,_0x30c196['element']['append'](_0x5d8f79);}const _0x274271=Array['from'](_0x30c196['element']['querySelectorAll']('img'));return function(_0x397ec1){return Promise['all'](_0x397ec1['map'](_0x3a8edb=>Promise['race']([N(_0x3a8edb),_(0x3e8)])));}(_0x274271)['then'](()=>{for(const _0x371302 of _0x274271['filter'](_0x546603=>!_0x546603['closest']('table')))if(_0x371302['offsetParent']){const _0x2632a4=_0x39ac14['window']['getComputedStyle'](_0x371302),_0x4f4a3d=_0x39ac14['document']['createElement']('span');for(const _0x47ebd5 of _0x2632a4)_0x4f4a3d['style']['setProperty'](_0x47ebd5,_0x2632a4[_0x47ebd5]);_0x4f4a3d['style']['backgroundImage']='url(\x20'+_0x371302['src']+'\x20)',_0x4f4a3d['style']['breakInside']='avoid','PICTURE'==_0x371302['parentElement']?.['tagName']?_0x371302['parentElement']['replaceWith'](_0x4f4a3d):_0x371302['replaceWith'](_0x4f4a3d);}return new Promise(_0x141f65=>_0x39ac14['window']['requestAnimationFrame'](()=>_0x141f65()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x91cd79=this['_pagesContainer']['element'];if(!_0x91cd79['isConnected'])return;const _0x11aafc=new _0x467f92(_0x91cd79)['excludeScrollbarsAndBorders'](),_0x10404a=Math['floor'](_0x11aafc['width']+0x64),_0x5a5ca9=I(_0x91cd79,Math['floor'](_0x11aafc['left']-_0x91cd79['scrollLeft']),_0x10404a,_0x11aafc['height'])['map'](_0x13f4f5=>this['_mapPageStarterInfoToPageBreakInfo'](_0x13f4f5))['filter'](_0x2a0b73=>!0x1!==_0x2a0b73);_0x5a5ca9['every'](_0xafa804=>!!_0xafa804)&&(this['pageBreaks']=_0x5a5ca9);}_mapPageStarterInfoToPageBreakInfo(_0x208b4d){const _0xef7716=this['editor']['editing']['view'],_0x31865c=this['editor']['editing']['mapper'],_0x854980=_0xef7716['domConverter'],_0x39cc13=_0x208b4d['path']['shift'](),_0x2746da=this['_pagesContainer']['element']['childNodes'][_0x39cc13]['dataset']['rootName'],_0x271e2d=_0xef7716['getDomRoot'](_0x2746da);if(!_0x271e2d)return null;const _0xeba30b=function(_0x55ff98,_0x4fc3ed){let _0x355aa3=_0x55ff98;for(const _0x26ea15 of _0x4fc3ed['path']){if(!_0x355aa3)return null;_0x355aa3=_0x355aa3['childNodes'][_0x26ea15];}return _0x355aa3;}(_0x271e2d,_0x208b4d);if(!_0xeba30b)return null;const _0x1d3783=_0x854980['domPositionToView'](_0xeba30b,_0x208b4d['textOffset']||0x0);return _0x1d3783?'manual'==_0x208b4d['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1d3783,_0xeba30b):'text'==_0x208b4d['type']&&_0x31865c['toModelPosition'](_0x1d3783)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1d3783,_0xeba30b,_0x208b4d['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1d3783,_0xeba30b,_0x208b4d['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x21048b,_0x41ab9d){const _0x434314=this['editor']['model'],_0x49dfc7=this['editor']['editing']['mapper']['toModelElement'](_0x21048b['parent']),_0x41b2fc=_0x434314['createRangeOn'](_0x49dfc7);return new k({'type':'manual','modelRange':_0x41b2fc,'domNode':_0x41ab9d,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x4fb094,_0x14fecc,_0x130770){const _0x4533f1=this['editor']['model'],_0x2e4d77=this['editor']['editing']['mapper'],_0x208293=this['editor']['editing']['view']['domConverter'];if(_0x130770>=_0x14fecc['length'])return null;const _0x3fabb6=_0x2e4d77['toModelPosition'](_0x4fb094),_0x3a2f93=_0x4533f1['createRange'](_0x3fabb6),_0x396af6=_0x2e4d77['findMappedViewAncestor'](_0x4fb094),_0x52d989=_0x208293['mapViewToDom'](_0x396af6);return new k({'type':'text','modelRange':_0x3a2f93,'domNode':_0x14fecc,'offset':L(_0x14fecc,_0x130770,_0x52d989)});}_mapElementPageStarterInfoToPageBreakInfo(_0x3c8df0,_0x35e2ea,_0x3cbd74){const _0x342b76=this['editor']['model'],_0x8ba276=this['editor']['editing'],_0xd8c6fa=_0x8ba276['mapper'],_0x2d33d8=_0x8ba276['view']['domConverter'],_0x31c3fc=_0xd8c6fa['findMappedViewAncestor'](_0x3c8df0),_0x16caa2=_0xd8c6fa['toModelElement'](_0x31c3fc);if(!_0x16caa2||_0x16caa2['is']('rootElement'))return!0x1;const _0x224640=function(_0x2f8d22){const _0x414a59=_0x2f8d22['parent'],_0x19e52a=_0x414a59['root']['document']['model'],_0x2c844b=_0x414a59['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x300611=null;for(const _0x820e08 of _0x2c844b){if(_0x820e08['is']('rootElement'))return _0x300611;if(!_0x19e52a['createPositionBefore'](_0x820e08)['isTouching'](_0x2f8d22))return _0x300611;_0x300611=_0x820e08;}}(_0x342b76['createPositionBefore'](_0x16caa2))||_0x16caa2;let _0x1245ca=_0xd8c6fa['toViewElement'](_0x224640),_0x4f18eb=_0x342b76['createRangeOn'](_0x224640);const _0xe0d180=_0x342b76['createPositionBefore'](_0x224640)['nodeBefore'];if(_0xe0d180&&_0xe0d180['is']('element','imageBlock')){const _0x508b4e=_0xd8c6fa['toViewElement'](_0xe0d180),_0x356398=_0x2d33d8['mapViewToDom'](_0x508b4e),_0x3345a9=_0x39ac14['window']['getComputedStyle'](_0x356398)['float'];'left'!=_0x3345a9&&'right'!=_0x3345a9||(_0x4f18eb=_0x342b76['createRangeOn'](_0xe0d180));}for(;_0x1245ca['parent']!==_0x1245ca['root']&&0x0===_0x1245ca['index'];)_0x1245ca=_0x1245ca['parent'];const _0x15feff=new _0x467f92(C(_0x35e2ea)?_0x35e2ea:E(_0x35e2ea)),_0x4b32cc=_0x3cbd74?_0x15feff['height']-_0x3cbd74:0x0,_0xe4f6a0=_0x2d33d8['mapViewToDom'](_0x1245ca),_0x271eba=new _0x467f92(_0xe4f6a0);return new k({'type':'element','modelRange':_0x4f18eb,'domNode':_0xe4f6a0,'offset':Math['round'](_0x4b32cc)||_0x31c3fc!=x(_0x3c8df0)?_0x4b32cc+_0x15feff['top']-_0x271eba['top']:0x0});}get['_configuredPaddings'](){const _0x5e0c1b=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x5e0c1b);}static _findPageStarterInfos(_0x5e77f4,_0x398ed8,_0x4b56dd,_0x5c85fa,_0x420794){return I(_0x5e77f4,_0x398ed8,_0x4b56dd,_0x5c85fa,_0x420794);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x90d4fc,modelRange:_0x1c56cd,domNode:_0x3e0b06,offset:_0x2d9336}){this['type']=_0x90d4fc,this['modelRange']=_0x1c56cd,this['_domNode']=_0x3e0b06,this['_offset']=_0x2d9336;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x374d9a=new _0x467f92(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x374d9a['top']+_0x374d9a['height']/0x2:_0x374d9a['top']+this['_offset'];}};function L(_0x31844e,_0x24288f,_0x42a464){const _0x2c04b4=E(_0x31844e),_0xed4ec0=function(_0x84175c){const _0x13fb6c=_0x39ac14['document']['createRange']();return _0x13fb6c['selectNodeContents'](_0x84175c),_0x13fb6c;}(_0x42a464);let _0x478d53;if(0x0==_0x24288f){const _0x31741a=_0x3e7e72(_0x31844e);_0x478d53=R(_0xed4ec0['startContainer'],_0xed4ec0['startOffset'],_0x31741a,Array['from'](_0x31741a['childNodes'])['indexOf'](_0x31844e));}else _0x478d53=R(_0xed4ec0['startContainer'],_0xed4ec0['startOffset'],_0x31844e,_0x24288f);const _0x41a63b=R(_0x31844e,_0x24288f,_0xed4ec0['endContainer'],_0xed4ec0['endOffset']),_0x4a1c9a=new _0x467f92(_0x478d53)['bottom'];return(new _0x467f92(_0x41a63b)['top']+_0x4a1c9a)/0x2-new _0x467f92(_0x2c04b4)['top'];}function x(_0x25671e){let _0x478549=_0x25671e['parent'];for(;_0x478549['is']('$text')||_0x478549['is']('attributeElement');)_0x478549=_0x478549['parent'];return _0x478549;}function N(_0x3a557f){return _0x3a557f['hasAttribute']('width')&&_0x3a557f['hasAttribute']('height')?Promise['resolve']():new Promise(_0x36743f=>{function _0x35f89f(){_0x3a557f['removeEventListener']('load',_0x35f89f),_0x3a557f['removeEventListener']('error',_0x35f89f),_0x36743f();}_0x3a557f['complete']?_0x36743f():(_0x3a557f['addEventListener']('load',_0x35f89f),_0x3a557f['addEventListener']('error',_0x35f89f));});}function _(_0xdfeac9){return new Promise(_0x354e33=>setTimeout(_0x354e33,_0xdfeac9));}function E(_0x5c477d){const _0x2d4e87=_0x39ac14['document']['createRange']();return _0x2d4e87['selectNode'](_0x5c477d),_0x2d4e87;}function S(_0x2d0605,_0x4f1943,_0x690299){const _0x38433e=_0x39ac14['document']['createRange']();return _0x38433e['setStart'](_0x2d0605,_0x4f1943),_0x38433e['setEnd'](_0x2d0605,_0x690299),_0x38433e;}function R(_0x2a669f,_0x11ebb4,_0x44d390,_0x4b0855){const _0x4512e5=_0x39ac14['document']['createRange']();return _0x4512e5['setStart'](_0x2a669f,_0x11ebb4),_0x4512e5['setEnd'](_0x44d390,_0x4b0855),_0x4512e5;}function I(_0x482d32,_0x3958ba,_0x1d09ac,_0x489ed5,_0x69e8bf){const _0x1c6e5b=[];for(const [_0x149248,_0x4a1a74]of _0x482d32['childNodes']['entries']()){let _0x97076b=[];C(_0x4a1a74)&&_0x4a1a74['offsetParent']&&['static','relative']['includes'](_0x39ac14['window']['getComputedStyle'](_0x4a1a74)['position'])?_0x97076b=K(_0x4a1a74,_0x149248,_0x3958ba,_0x1d09ac,_0x489ed5,_0x69e8bf):D(_0x4a1a74)&&(_0x97076b=A(_0x4a1a74,_0x149248,_0x3958ba,_0x1d09ac,_0x69e8bf)),_0x97076b['length']&&(_0x1c6e5b['push'](..._0x97076b),_0x3958ba+=_0x97076b['length']*_0x1d09ac,_0x69e8bf=!0x1);}return _0x1c6e5b;}function K(_0x371fb5,_0x2b86f8,_0x297ddd,_0xd3a288,_0x408d1f,_0x40d754){const _0x1afd62=[];var _0x2f7070;if((_0x2f7070=_0x371fb5['previousSibling'])&&C(_0x2f7070)&&Boolean(_0x2f7070['classList']['contains']('page-break')||_0x2f7070['closest']('.page-break'))&&(_0x1afd62['push']({'type':'manual','offset':0x0,'path':[_0x2b86f8-0x1]}),_0x40d754=!0x0),'table-row'==_0x39ac14['window']['getComputedStyle'](_0x371fb5)['display']){let _0x4edc46=0x0,_0x897bf2=!0x1;for(const _0x4c9df7 of _0x371fb5['getClientRects']())_0x4edc46+=_0x4c9df7['height'],_0x4c9df7['left']>=_0x297ddd&&(_0x897bf2=!0x0);if(_0x4edc46<_0x408d1f&&_0x897bf2)return _0x40d754||_0x1afd62['push']({'type':'element','offset':0x0,'path':[_0x2b86f8]}),_0x1afd62;}const _0x3215fe=_0x371fb5['closest']('figure.image');if(_0x3215fe&&function(_0x442ade){let _0x1b6ba3=!0x1;const _0x2fc011=_0x135525(_0x442ade)['dataset']['rootName'],_0x5674f1=_0x442ade['nextElementSibling'],_0x7acb3b=_0x442ade['previousElementSibling'],_0x2d1514=_0x5674f1&&_0x39ac14['window']['getComputedStyle'](_0x5674f1)['float'],_0x312963=_0x5674f1&&'ck-fake-selection-container'===_0x5674f1['className'];return!_0x2fc011||_0x5674f1||_0x7acb3b||(_0x1b6ba3=!0x0),_0x2fc011&&!_0x7acb3b&&_0x312963&&(_0x1b6ba3=!0x0),_0x2fc011&&!_0x7acb3b&&'none'!==_0x2d1514&&(_0x1b6ba3=!0x0),!_0x1b6ba3;}(_0x3215fe)){const _0x35e5e7=_0x39ac14['window']['getComputedStyle'](_0x3215fe)['float'];if('left'==_0x35e5e7||'right'==_0x35e5e7)return _0x1afd62;}const _0xb52656=I(_0x371fb5,_0x297ddd,_0xd3a288,_0x408d1f,_0x40d754);if(_0xb52656['length']){for(const _0x23a984 of _0xb52656)_0x1afd62['push']({'type':_0x23a984['type'],'offset':_0x23a984['offset'],'textOffset':_0x23a984['textOffset'],'path':[_0x2b86f8,..._0x23a984['path']]}),_0x297ddd+=_0xd3a288;return _0x1afd62;}return _0x1afd62['push'](...function(_0x241ad1,_0xbb9440,_0x29d0f2,_0x15314b,_0x2c1d20){const _0x3113ec=[];if('table-cell'==_0x39ac14['window']['getComputedStyle'](_0x241ad1)['display'])return[];const _0x13a881=[];for(const _0x15d373 of _0x241ad1['getClientRects']())if(_0x15d373['left']>=_0x29d0f2){for(const _0xb0f11e of _0x13a881)_0xb0f11e['height']+=_0x15d373['height'];_0x13a881['push']({'height':_0x15d373['height']}),_0x29d0f2+=_0x15314b;}for(const _0x203fe5 of _0x13a881)_0x2c1d20||_0x3113ec['push']({'type':'element','offset':_0x203fe5['height'],'textOffset':0x0,'path':[_0xbb9440]}),_0x2c1d20=!0x1;return _0x3113ec;}(_0x371fb5,_0x2b86f8,_0x297ddd,_0xd3a288,_0x40d754)),_0x1afd62;}function A(_0x1a1164,_0x3af229,_0x45d0a5,_0x2b2985,_0x429a43){const _0x2165e6=E(_0x1a1164),_0x1a1cb8=[];let _0x40d225=0x0;for(const _0x134720 of _0x2165e6['getClientRects']())if(_0x134720['left']>=_0x45d0a5){const _0x5dc305=O(_0x1a1164,_0x40d225,_0x45d0a5,_0x2b2985);_0x429a43||_0x1a1cb8['push']({'type':'text','path':[_0x3af229],'textOffset':_0x5dc305}),_0x40d225=_0x5dc305,_0x45d0a5+=_0x2b2985,_0x429a43=!0x1;}return _0x1a1cb8;}function O(_0x2949b3,_0x2dacaa,_0x2e5701,_0xf013be){let _0x1fb3ff=_0x2dacaa,_0x563734=_0x2949b3['length'];for(;_0x563734-_0x1fb3ff>0x1;){const _0x38f219=Math['ceil']((_0x1fb3ff+_0x563734)/0x2);U(S(_0x2949b3,_0x1fb3ff,_0x38f219),_0x2e5701,_0xf013be)?_0x563734=_0x38f219:_0x1fb3ff=_0x38f219;}return _0x1fb3ff;}function U(_0x43b964,_0x1c647f,_0x375326){for(const _0x540be9 of _0x43b964['getClientRects']())if(_0x540be9['left']>=_0x1c647f&&_0x540be9['left']<_0x1c647f+_0x375326)return!0x0;return!0x1;}function C(_0x96744f){return _0x96744f['nodeType']==Node['ELEMENT_NODE'];}function D(_0x1123cf){return _0x1123cf['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x289924('px');var B=class extends _0x3dce57{constructor(){super();const _0x369582=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x369582['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x369582['if']('isVisible','ck-hidden',_0x863f25=>!_0x863f25)],'style':{'left':_0x369582['to']('left',_0x5a54f3=>T(_0x5a54f3)),'top':_0x369582['to']('top',_0x3bd326=>T(_0x3bd326)),'width':_0x369582['to']('width',_0x13f420=>T(_0x13f420))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4631a9){this['_viewCollection']=_0x4631a9['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x52c39f of this['_hiddenLines'])_0x52c39f['destroy']();}['cleanLines'](){for(const _0x153939 of this['_visibleLines'])_0x153939['isVisible']=!0x1,this['_hiddenLines']['add'](_0x153939);this['_visibleLines']['clear']();}['showLine'](_0x309fb2,_0x49befd,_0x1c893c,_0x42f90e){let _0x540945;this['_hiddenLines']['size']?(_0x540945=_0x2cd610(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x540945)):_0x540945=new B(),_0x540945['set']({'pageNumber':_0x42f90e,'left':_0x309fb2,'top':_0x49befd,'width':_0x1c893c}),_0x540945['isVisible']=!0x0,this['_viewCollection']['has'](_0x540945)||this['_viewCollection']['add'](_0x540945),this['_visibleLines']['add'](_0x540945);}setViewCollection(_0x1c3f06){for(const _0x34c709 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x34c709)&&this['_viewCollection']['remove'](_0x34c709);this['_viewCollection']=_0x1c3f06;}};const V='ck-pagination_enabled';var M=class extends _0x394059{linesRepository;_scrollableEditingRootDomAncestor=null;['_resizeObserver']=null;_paginationLookupPlugin;static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['set']({'pageNumber':0x1}),this['linesRepository']=new G(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](V),this['on']('change:isEnabled',(_0x43654d,_0x117425,_0x1e72e2)=>{_0x1e72e2||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x1e72e2);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xb488a4){if(!this['isEnabled'])return;const _0x38ed84=_0xb488a4>0x1?this['_getPageBreakLineOffset'](_0xb488a4-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x38ed84-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x29cab9['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x5b4d96=this['editor'],_0x1de2d9=this['_getAttachedDomRoot']();_0x1de2d9?(this['_scrollableEditingRootDomAncestor']&&_0x5b4d96['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x1d0bdb(_0x1de2d9),_0x5b4d96['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x567e47(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x5b4d96['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x22b114=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x22b114['ui']['view']['listenTo'](_0x39ac14['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x22b114['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x26cd9e of this['editor']['editing']['view']['domRoots']['values']())if(_0x26cd9e['isConnected'])return _0x26cd9e;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x27d7fc=this['_getAttachedDomRoot'](),_0x2f4cf9=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x27d7fc||0x1==_0x2f4cf9['length'])return void(this['pageNumber']=0x1);const _0x5d7062=new _0x467f92(_0x27d7fc)['excludeScrollbarsAndBorders'](),_0x3d82ca=new _0x467f92(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x41eecd=_0x3d82ca['top']+_0x3d82ca['height']/0x3;let _0x1a6c62=!0x1;const _0x5d0c31=[];for(let _0x539417=0x1;_0x539417<_0x2f4cf9['length'];_0x539417++){const _0x36db70=this['_getPageBreakLineOffset'](_0x539417,_0x3d82ca);if(!_0x36db70)continue;const _0x5cd314=_0x3d82ca['top']+_0x36db70-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5d0c31['push']({'pageOffsetTop':_0x5cd314,'domRootRect':_0x5d7062,'domScrollableRect':_0x3d82ca,'pageNumber':_0x539417}),_0x5cd314>_0x41eecd&&!_0x1a6c62&&(this['pageNumber']=_0x539417,_0x1a6c62=!0x0);}this['_renderPageBreakLines'](_0x5d0c31),_0x1a6c62||(this['pageNumber']=_0x2f4cf9['length']);}['_renderPageBreakLines'](_0x25c102){if(!_0x25c102['length'])return;const {scrollX:_0x59ffd2,scrollY:_0x4d0dae}=_0x39ac14['window'],_0x457cef=_0x2c78b6(this['linesRepository']['containerElement']);let _0x375074,_0xb403d;if(_0x457cef){const _0x3f387f=new _0x467f92(_0x457cef);_0x375074=_0x3f387f['top']+_0x457cef['clientTop']-_0x457cef['scrollTop'],_0xb403d=_0x3f387f['left']+_0x457cef['clientLeft']-_0x457cef['scrollLeft'];}else _0x375074=-_0x4d0dae,_0xb403d=-_0x59ffd2;for(const {domScrollableRect:_0x29589c,pageOffsetTop:_0x17b84b,domRootRect:_0x1d5402,pageNumber:_0x26d0a3}of _0x25c102)_0x29589c['top']<_0x17b84b&&_0x17b84b<_0x29589c['bottom']&&this['linesRepository']['showLine'](_0x1d5402['left']-_0xb403d,_0x17b84b-_0x375074,_0x1d5402['width'],_0x26d0a3+0x1);}_getPageBreakLineOffset(_0x353171,_0x23c224=null){const _0x226977=this['_paginationLookupPlugin']['pageBreaks'][_0x353171]['offset'];return _0x226977?(_0x23c224||(_0x23c224=new _0x467f92(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x226977-_0x23c224['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x29fe2b,_0xd304df=!0x0){const _0x3500fd=this['editor']['editing']['view'];_0x3500fd['change'](_0x305ae0=>{for(const _0x197370 of _0x3500fd['document']['roots'])_0xd304df?_0x305ae0['addClass'](_0x29fe2b,_0x197370):_0x305ae0['removeClass'](_0x29fe2b,_0x197370);});}};function $(_0x47fd6c,_0x14cdb3,..._0x1d93bf){const t=_0x47fd6c['t'];switch(_0x14cdb3){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x1d93bf);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x14cdb3;}}var j=class extends _0x394059{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[v,M];}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x18b8f3=this['editor']['plugins']['get']('Pagination'),_0x3b0b5c=this['editor']['plugins']['get'](v),_0x2d6038=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x18b8f3),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x2d6038),this['listenTo'](_0x3b0b5c,'change:pageBreaks',(_0x20860e,_0x53dc1c,_0x4b83d3,_0x2bc6a7)=>{this['totalPages']=_0x4b83d3['length'],this['_updatePageBreakMarkers'](_0x4b83d3,_0x2bc6a7);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0xcced79=[this['editor']];for(const _0xdfebfe of _0xcced79){let _0x29ac3f;for(const _0x548a0c in _0xdfebfe){const _0x46e76d=_0x548a0c,_0x1cd7ed=_0xdfebfe[_0x46e76d];if('paginationLicenseKeyValid'==_0x1cd7ed||'paginationLicenseKeyInvalid'==_0x1cd7ed||'paginationLicenseKeyExpired'==_0x1cd7ed||'paginationLicenseKeyDomainLimit'==_0x1cd7ed||'paginationLicenseKeyNotAllowed'==_0x1cd7ed||'paginationLicenseKeyEvaluationLimit'==_0x1cd7ed||'paginationLicenseKeyUsageLimit'==_0x1cd7ed){delete _0xdfebfe[_0x46e76d],_0x29ac3f=_0x1cd7ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x29ac3f&&_0xdfebfe['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x26877b){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x26877b));}moveSelectionToPage(_0x638bac){if(!this['isEnabled'])return;const _0x158e24=this['editor'],_0x5db5df=this['editor']['plugins']['get'](v)['pageBreaks'][_0x638bac-0x1];_0x5db5df&&_0x158e24['model']['change'](_0x15286b=>{switch(_0x5db5df['type']){case'manual':{const _0x4618ea=_0x158e24['model']['schema']['getNearestSelectionRange'](_0x5db5df['modelRange']['end'],'forward');_0x15286b['setSelection'](_0x4618ea);break;}case'element':{const _0x466de5=_0x158e24['model']['schema']['getNearestSelectionRange'](_0x5db5df['modelRange']['start'],'forward');_0x15286b['setSelection'](_0x466de5);break;}case'text':{const _0x8b9247=_0x5db5df['modelRange']['start'];if(_0x8b9247['textNode']&&'\x20'===_0x8b9247['textNode']['data'][_0x8b9247['offset']]){const _0x487849=_0x15286b['createPositionAt'](_0x8b9247['parent'],_0x8b9247['offset']+0x1);_0x15286b['setSelection'](_0x487849);}else _0x15286b['setSelection'](_0x5db5df['modelRange']);}}_0x158e24['editing']['view']['focus']();});}goToNextPage(){const _0x4001e4=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4001e4),this['scrollToPage'](_0x4001e4);}['goToPreviousPage'](){const _0x2177a3=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x2177a3),this['scrollToPage'](_0x2177a3);}_updatePageBreakMarkers(_0x83dc45,_0x3e144b){const _0x1bbae4=this['editor']['model'];this['isEnabled']&&_0x1bbae4['change'](_0x4201f8=>{for(let _0x13c6c8=0x1;_0x13c6c8<_0x83dc45['length'];_0x13c6c8++){const _0x34a4a3=_0x83dc45[_0x13c6c8]['modelRange'],_0x36ae70='pagination:'+(_0x13c6c8+0x1);_0x1bbae4['markers']['has'](_0x36ae70)?_0x4201f8['updateMarker'](_0x36ae70,{'range':_0x34a4a3}):_0x4201f8['addMarker'](_0x36ae70,{'range':_0x34a4a3,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x555c44=_0x83dc45['length'];_0x555c44<_0x3e144b['length'];_0x555c44++){const _0x3849dc='pagination:'+(_0x555c44+0x1);_0x1bbae4['markers']['has'](_0x3849dc)&&_0x4201f8['removeMarker'](_0x3849dc);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x5ef77a=>{_0x5ef77a['on']('addMarker:pagination',(_0x40be5b,{markerRange:_0x31bde0,markerName:_0xe1fdd6},_0x137e8f)=>{if(!_0x137e8f['options']['pagination'])return;if(!_0x137e8f['consumable']['consume'](_0x31bde0,_0x40be5b['name']))return;const _0x11694e=_0x31bde0['getContainedElement']();let _0x170c12=_0x11694e?_0x137e8f['mapper']['toViewElement'](_0x11694e):null;if(!_0x170c12){const _0x3a3271=_0x31bde0['start'];if(_0x137e8f['schema']['checkChild'](_0x3a3271,'$text')){const _0x1a5ec5=_0x137e8f['mapper']['toViewPosition'](_0x3a3271);_0x170c12=_0x137e8f['writer']['createContainerElement']('span'),_0x170c12['getFillerOffset']=()=>null,_0x137e8f['writer']['insert'](_0x1a5ec5,_0x170c12);}else{const _0x3b5cca=_0x3a3271['nodeAfter'];_0x170c12=_0x137e8f['mapper']['toViewElement'](_0x3b5cca);}}for(;_0x170c12['parent']!==_0x170c12['root']&&0x0===_0x170c12['index'];)_0x170c12=_0x170c12['parent'];const _0x293d3e=_0xe1fdd6['substring'](0xb);_0x170c12['hasClass']('page-break')||(_0x137e8f['writer']['setStyle']('page-break-before','always',_0x170c12),_0x137e8f['writer']['setAttribute']('data-pagination-page',_0x293d3e,_0x170c12),_0x137e8f['mapper']['bindElementToMarker'](_0x170c12,_0xe1fdd6)),_0x40be5b['stop']();});});}_setupKeystrokes(){const _0x53a3fa=this['editor'];_0x53a3fa['keystrokes']['set']('Shift+Pageup',(_0x5bf8ef,_0x184251)=>{this['goToPreviousPage'](),_0x184251();}),_0x53a3fa['keystrokes']['set']('Shift+Pagedown',(_0x5cab49,_0x36a90c)=>{this['goToNextPage'](),_0x36a90c();}),_0x53a3fa['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x53a3fa['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x53a3fa['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x53a3fa['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x2b9fde){return _0x2b9fde<0x1&&(_0x2b9fde=0x1),_0x2b9fde>this['totalPages']&&(_0x2b9fde=this['totalPages']),_0x2b9fde;}},q=class extends _0x3dce57{['pageNumberView'];constructor(_0x191a7b){super(_0x191a7b);const _0x80d29d=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x16f11a(_0x191a7b,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x35ff4d=>$(_0x191a7b,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x35ff4d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x199ebf=>!_0x199ebf),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x80d29d['if']('isEnabled','ck-disabled',_0x172930=>!_0x172930)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x80d29d['to']('totalPages')}]}]});}['render'](){super['render']();const _0x5c3c4a=this['pageNumberView']['element'],_0x344523=_0xfbd42a=>{this['pageNumberView']['element']['value']=String(_0xfbd42a);};_0x344523(this['pageNumber']),this['on']('change:pageNumber',(_0x59d1c5,_0x2585c1,_0x59d122)=>{_0x344523(_0x59d122);}),this['listenTo'](_0x5c3c4a,'keydown',(_0x117119,_0x200275)=>{if('ArrowUp'===_0x200275['key']||'ArrowDown'===_0x200275['key'])return void _0x200275['stopPropagation']();if(_0x200275['keyCode']!==_0x14c526['enter'])return;_0x200275['preventDefault']();const _0x445e84=_0x5c3c4a['valueAsNumber'];Number['isNaN'](_0x445e84)?_0x5c3c4a['value']=String(this['pageNumber']):(_0x5c3c4a['checkValidity']()?this['pageNumber']=_0x445e84:_0x445e84>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x5c3c4a['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x5c3c4a['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x5c3c4a,'blur',()=>{_0x5c3c4a['value']=String(this['pageNumber']);}),this['listenTo'](_0x5c3c4a,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x394059{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x40d813=this['editor'],_0x297d27=_0x40d813['plugins']['get']('PaginationEditing');_0x40d813['ui']['componentFactory']['add']('pageNavigation',_0x28491a=>{const _0x418eb0=new q(_0x28491a);return _0x418eb0['bind']('pageNumber')['to'](_0x297d27),_0x418eb0['bind']('totalPages')['to'](_0x297d27),_0x418eb0['bind']('isEnabled')['to'](_0x297d27),_0x418eb0['on']('navigation',(_0x1736cc,_0x2bc9a0)=>{_0x297d27['moveSelectionToPage'](_0x2bc9a0),_0x297d27['scrollToPage'](_0x2bc9a0);}),_0x418eb0;}),_0x40d813['ui']['componentFactory']['add']('nextPage',_0x53648a=>{const _0x16f114=new _0x55bb95(_0x53648a);return _0x16f114['isEnabled']=!0x0,_0x16f114['label']=$(_0x40d813['locale'],'Go\x20to\x20next\x20page'),_0x16f114['icon']=_0x274e7a,_0x16f114['tooltip']=!0x0,_0x16f114['keystroke']='Shift+PageDown',_0x16f114['bind']('isEnabled')['to'](_0x297d27),this['listenTo'](_0x16f114,'execute',()=>{_0x297d27['goToNextPage']();}),_0x16f114;}),_0x40d813['ui']['componentFactory']['add']('previousPage',_0x16e31e=>{const _0x261386=new _0x55bb95(_0x16e31e);return _0x261386['isEnabled']=!0x0,_0x261386['label']=$(_0x40d813['locale'],'Go\x20to\x20previous\x20page'),_0x261386['icon']=_0x2a723c,_0x261386['tooltip']=!0x0,_0x261386['keystroke']='Shift+PageUp',_0x261386['bind']('isEnabled')['to'](_0x297d27),this['listenTo'](_0x261386,'execute',()=>{_0x297d27['goToPreviousPage']();}),_0x261386;});}},H=class extends _0x394059{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x3676e8){super(_0x3676e8),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x57c9b3=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x57c9b3),this['bind']('totalPages')['to'](_0x57c9b3),_0x29cab9['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x52db06){this['editor']['plugins']['get'](j)['scrollToPage'](_0x52db06);}};export{H as Pagination,M as PaginationRenderer};
|
|
23
|
+
import{Plugin as _0x11d88a}from'@ckeditor/ckeditor5-core';import{ButtonView as _0xd26162,InputNumberView as _0x1e5c18,View as _0x31d258}from'@ckeditor/ckeditor5-ui';import{Rect as _0x2e305e,ResizeObserver as _0x52b15f,env as _0x59ada3,findClosestScrollableAncestor as _0x461d6b,first as _0x113d7c,getParentElement as _0x434a0c,getParentNode as _0x3fee4e,getPositionedAncestor as _0x91ccd9,global as _0x388569,keyCodes as _0x2e61c4,logWarning as _0xbe3cc0,toUnit as _0x45a525,uid as _0x299ae2}from'@ckeditor/ckeditor5-utils';import{debounce as _0x339933}from'es-toolkit/compat';import{IconArrowDown as _0x559144,IconArrowUp as _0x48b13a}from'@ckeditor/ckeditor5-icons';var v=class extends _0x11d88a{_recalculatePageBreaksDebounced=_0x339933(()=>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 _0xbe3cc0('pagination-config-not-found',this['editor']['config']);const _0x216d3e=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x216d3e),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x26ace8,_0x259a0d,_0x15763e)=>{_0x15763e&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x4f9cbe){const _0x5e94d1='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x221e06=0x797b8,_0x1ea03e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x240149(_0x1d9d22){const _0x592e96=new window['Promise'](_0x2c9fa5=>{_0x1d9d22['once']('ready',_0x2c9fa5);}),_0xa448ce=window['Date']['now'](),_0x4b7e1c=_0x1d9d22['config']['get']('licenseKey');async function _0x1be093(){let _0x372515,_0x4c574a=null,_0x29ca7a=null;try{return'GPL'==_0x4b7e1c?'NotAllowed':(_0x372515=_0x4b0580(),_0x372515?(_0x372515['usageEndpoint']&&(_0x29ca7a=_0x1f76bb(_0x372515['usageEndpoint'],_0x372515['jti'])),await _0x21c348()?_0x299e34()?_0x56446f()?'Expired':_0x1c772a()?('evaluation'==_0x372515['licenseType']&&(_0x4c574a=_0xe2e4b4('EvaluationLimit')),await _0x5beb18()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x56446f(){const _0x2a32b0=['evaluation','trial']['includes'](_0x372515['licenseType'])?_0xa448ce/0x3e8:0xe10*_0x221e06;return _0x372515['exp']<_0x2a32b0;}function _0x299e34(){const _0x53b038=_0x372515['features'];return!!_0x53b038&&(!!_0x53b038['includes']('*')||!!_0x53b038['includes']('PAG'));}function _0x1c772a(){const _0x210c65=_0x372515['licensedHosts'];if(!_0x210c65||0x0==_0x210c65['length'])return!0x0;const {hostname:_0x22036e}=new URL(window['location']['href']);if(_0x210c65['includes'](_0x22036e))return!0x0;const _0x423df8=_0x22036e['split']('.');return _0x210c65['filter'](_0x4344f0=>_0x4344f0['includes']('*'))['map'](_0x2bc6fa=>_0x2bc6fa['split']('.'))['filter'](_0x1bfb90=>_0x1bfb90['length']<=_0x423df8['length'])['map'](_0x2b0696=>Array(_0x423df8['length']-_0x2b0696['length'])['fill']('*'===_0x2b0696[0x0]?'*':'')['concat'](_0x2b0696))['some'](_0xe77d19=>_0x423df8['every']((_0x4b2894,_0x29e191)=>_0xe77d19[_0x29e191]===_0x4b2894||'*'===_0xe77d19[_0x29e191]));}function _0x5beb18(){return _0x4c574a&&_0x29ca7a?new window['Promise']((_0x324a92,_0x48e1be)=>{_0x4c574a['then'](_0x324a92,_0x48e1be),_0x29ca7a['then'](_0x331316=>{'Valid'!=_0x331316&&_0x324a92(_0x331316);},_0x48e1be);}):_0x4c574a||_0x29ca7a||'Valid';}}function _0x1f76bb(_0x547735,_0x494b10){return new window['Promise'](_0x3fe71c=>{if(_0x4b1e16())return _0x3fe71c('Valid');_0x91a268(),_0x1d9d22['decorate']('_sendUsageRequest');let _0x4113b9=!0x1;const _0x2c2938=_0x299ae2();function _0x33a559(_0x4bbc8c){return!!_0x4bbc8c&&('object'==typeof _0x4bbc8c||'function'==typeof _0x4bbc8c)&&'function'==typeof _0x4bbc8c['then']&&'function'==typeof _0x4bbc8c['catch'];}function _0x3b0e43(_0x2c60de){_0x1b239e(_0x2c60de)['then'](_0xd0285c=>_0xd0285c&&'ok'==_0xd0285c['status']?_0x59b57c(_0x5c01be(_0x2c2938+_0x494b10))!=_0xd0285c['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5e1583=>(_0x184b13(),_0x5e1583),()=>{const _0x39612f=_0x1dec76();return null==_0x39612f?(_0x184b13(),'Valid'):_0xa448ce-_0x39612f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3fe71c)['catch'](()=>{_0x3fe71c('UsageLimit');});const _0xfd683d=0x36ee80;function _0x184b13(){const _0x70d2cd='llct-'+_0x59b57c(_0x5c01be(_0x547735)),_0x5d6ff8=_0x3d65ad(_0x59b57c(window['Math']['ceil'](_0xa448ce/_0xfd683d)));window['localStorage']['setItem'](_0x70d2cd,_0x5d6ff8);}function _0x1dec76(){const _0x43eaf4='llct-'+_0x59b57c(_0x5c01be(_0x547735)),_0x296157=window['localStorage']['getItem'](_0x43eaf4);return _0x296157?window['parseInt'](_0x3d65ad(_0x296157),0x10)*_0xfd683d:null;}function _0x1b239e(_0xd007ce){return new window['Promise']((_0x210ffa,_0x4add04)=>{_0xd007ce['then'](_0x210ffa,_0x4add04),window['setTimeout'](_0x4add04,0x1d4c0);});}}_0x1d9d22['on']('_sendUsageRequest',(_0x25da54,_0x59e516)=>{if(_0x59e516[0x0]!=_0x547735)return _0x3fe71c('UsageLimit');_0x59e516[0x1]={..._0x59e516[0x1],'requestId':_0x2c2938};},{'priority':'high'}),_0x1d9d22['on']('_sendUsageRequest',_0x22ae1a=>{_0x33a559(_0x22ae1a['return'])&&(_0x4113b9=!0x0,_0x3b0e43(_0x22ae1a['return']));},{'priority':'low'}),_0x592e96['then'](()=>{_0x4113b9||_0x3fe71c('UsageLimit');});});function _0x4b1e16(){return'auto'==_0x1d9d22['editing']['view']['_overlayModeHint'];}function _0x91a268(){_0x1d9d22['editing']['view']['_overlayModeHint']='auto';}}function _0xe2e4b4(_0x1b3e45){const _0x3200df=[new window['Promise'](_0x5d9601=>setTimeout(_0x5d9601,0x93ecc)),_0x592e96['then'](()=>new window['Promise'](_0x777a8d=>{let _0x42f991=0x0;_0x1d9d22['model']['on']('applyOperation',(_0x59afc2,_0xb11b9c)=>{_0xb11b9c[0x0]['isDocumentOperation']&&_0x42f991++,0x5e8==_0x42f991&&(_0x777a8d(),_0x59afc2['off']());});}))];return window['Promise']['race'](_0x3200df)['then'](()=>_0x1b3e45);}async function _0x29e6a1(){await _0x592e96,_0x1d9d22['model']['change']=_0x1b1829,_0x1d9d22['model']['enqueueChange']=_0x1b1829,_0x1d9d22['enableReadOnlyMode']('model');}function _0x17c30d(_0x3e0df4){const _0xcbf9e2=_0xd0821c();_0x1d9d22[_0xcbf9e2]='paginationLicenseKey'+_0x3e0df4,'Valid'!=_0x3e0df4&&_0x29e6a1();}function _0xd0821c(){const _0x3d983d=window['String'](window['performance']['now']())['replace']('.','');let _0x39c418='v';for(let _0x1bbc93=0x0;_0x1bbc93<_0x3d983d['length'];_0x1bbc93+=0x2){let _0x2f1ead=window['parseInt'](_0x3d983d['substring'](_0x1bbc93,_0x1bbc93+0x2));_0x2f1ead>=0x3e&&(_0x2f1ead-=0x3e),_0x39c418+=_0x5e94d1[_0x2f1ead];}return _0x39c418;}function _0x4b0580(){const _0x321b41=_0x4b7e1c['split']('.');if(0x3!=_0x321b41['length'])return null;return _0x582045(_0x321b41[0x1]);function _0x582045(_0x36f57c){const _0xc3053b=_0xacb340(_0x36f57c);return _0xc3053b&&_0x327957()?_0xc3053b:null;function _0x327957(){const _0x2ddedc=_0xc3053b['jti'],_0x425155=window['parseInt'](_0x2ddedc['substring'](_0x2ddedc['length']-0x8),0x10),_0x2525fd={..._0xc3053b,'jti':_0x2ddedc['substring'](0x0,_0x2ddedc['length']-0x8)};return delete _0x2525fd['vc'],_0x5c01be(_0x2525fd)==_0x425155;}}}async function _0x21c348(){let _0x426c66=!0x0;try{const [_0x31d34c,_0x159c79,_0x1719d0]=_0x4b7e1c['split']('.');return _0x124142(_0x31d34c),await _0x430322(_0x31d34c,_0x159c79,_0x1719d0),_0x426c66;}catch{return!0x1;}function _0x124142(_0x5e7eca){const _0x5d9e72=_0xacb340(_0x5e7eca);_0x5d9e72&&'ES256'==_0x5d9e72['alg']||(_0x426c66=!0x1);}async function _0x430322(_0x43582e,_0x53402b,_0x11e214){const _0x22025b=window['Uint8Array']['from'](_0x2a433f(_0x11e214),_0x45b3ac=>_0x45b3ac['charCodeAt'](0x0)),_0x57f583=new window['TextEncoder']()['encode'](_0x43582e+'.'+_0x53402b),_0x4cfdaa=window['crypto']['subtle'];if(!_0x4cfdaa)return;const _0x2377c7=await _0x4cfdaa['importKey']('jwk',_0x1ea03e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4cfdaa['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2377c7,_0x22025b,_0x57f583)||(_0x426c66=!0x1);}}function _0xacb340(_0x145db6){return _0x145db6['startsWith']('ey')?JSON['parse'](_0x2a433f(_0x145db6)):null;}function _0x2a433f(_0x436089){return window['atob'](_0x436089['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5c01be(_0x1a9bdf){let _0x1f1618=0x1505;function _0x9a2a34(_0x3a302c){for(let _0x50f5eb=0x0;_0x50f5eb<_0x3a302c['length'];_0x50f5eb++){const _0x51084d=_0x3a302c['charCodeAt'](_0x50f5eb);_0x1f1618=(_0x1f1618<<0x5)+_0x1f1618+_0x51084d,_0x1f1618&=_0x1f1618;}}function _0x5e68a5(_0xbeb931){Array['isArray'](_0xbeb931)?_0xbeb931['forEach'](_0x5e68a5):_0xbeb931&&'object'==typeof _0xbeb931?Object['entries'](_0xbeb931)['sort']()['forEach'](([_0x5364a0,_0x10fbb7])=>{_0x9a2a34(_0x5364a0),_0x5e68a5(_0x10fbb7);}):_0x9a2a34(window['String'](_0xbeb931));}return _0x5e68a5(_0x1a9bdf),_0x1f1618>>>0x0;}function _0x59b57c(_0x3d1710){return _0x3d1710['toString'](0x10)['padStart'](0x8,'0');}function _0x3d65ad(_0x223cf3){return _0x223cf3['split']('')['reverse']()['join']('');}function _0x1b1829(){}_0x17c30d(await _0x1be093());}_0x240149(_0x4f9cbe['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xe463a0=this['editor'],_0x30ec37=_0xe463a0['editing']['view'],_0x45e8ee=this['_getAttachedDomRoot']();if(!_0x45e8ee||!_0x45e8ee['hasChildNodes']())return void _0xe463a0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0xdd70a8,pageHeight:_0x50ccdd}=_0xe463a0['config']['get']('pagination'),{top:_0x4635cf,left:_0x4d7ff2,bottom:_0x4273a7,right:_0x29f0e4}=this['_configuredPaddings'];this['_pagesContainer']=new _0x31d258(_0xe463a0['locale']);const _0x489b29=this['_pagesContainer'];_0x489b29['set']('class',''),_0x489b29['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0xdd70a8,'width':_0xdd70a8,'height':'calc(\x20'+_0x50ccdd+'\x20-\x20'+_0x4635cf+'\x20-\x20'+_0x4273a7+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x29f0e4+'\x200\x20'+_0x4d7ff2,'columnGap':'calc('+_0x4d7ff2+'\x20+\x20'+_0x29f0e4+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x489b29['bindTemplate']['to']('class')}}),_0x489b29['render'](),_0x3fee4e(_0x45e8ee)['insertBefore'](_0x489b29['element'],_0x45e8ee['nextSibling']),this['listenTo'](_0x30ec37,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x5b292a of this['editor']['editing']['view']['domRoots']['values']())if(_0x5b292a['isConnected'])return _0x5b292a;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x4e6560=this['editor']['editing']['view'],_0x22c1d0=this['_pagesContainer'],_0x4996cd=this['_getAttachedDomRoot']();if(!_0x4996cd||!_0x22c1d0)return Promise['resolve']();for(_0x22c1d0['class']=['ck-reset','ck-pagination-view',..._0x4996cd['classList']]['join']('\x20');_0x22c1d0['element']['firstChild'];)_0x22c1d0['element']['firstChild']['remove']();const _0x4b6de0=Array['from'](_0x4e6560['domRoots']);_0x4b6de0['sort'](([,_0x5adf52],[,_0x47e7f6])=>_0x5adf52['compareDocumentPosition'](_0x47e7f6)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x4b85c,_0x42e01c]of _0x4b6de0){const _0x587b34=_0x42e01c['cloneNode'](!0x0);'attributeStyleMap'in _0x587b34&&_0x587b34['attributeStyleMap']['clear'](),_0x587b34['dataset']['rootName']=_0x4b85c,_0x587b34['className']='ck-content\x20ck-pagination_enabled',_0x587b34['removeAttribute']('id'),_0x587b34['tabIndex']=-0x1,_0x22c1d0['element']['append'](_0x587b34);}const _0x13e21a=Array['from'](_0x22c1d0['element']['querySelectorAll']('img'));return function(_0x276041){return Promise['all'](_0x276041['map'](_0x14bf83=>Promise['race']([N(_0x14bf83),_(0x3e8)])));}(_0x13e21a)['then'](()=>{for(const _0x32c4c2 of _0x13e21a['filter'](_0x594fd9=>!_0x594fd9['closest']('table')))if(_0x32c4c2['offsetParent']){const _0xba3c3c=_0x388569['window']['getComputedStyle'](_0x32c4c2),_0x109a23=_0x388569['document']['createElement']('span');for(const _0x3ae743 of _0xba3c3c)_0x109a23['style']['setProperty'](_0x3ae743,_0xba3c3c[_0x3ae743]);_0x109a23['style']['backgroundImage']='url(\x20'+_0x32c4c2['src']+'\x20)',_0x109a23['style']['breakInside']='avoid','PICTURE'==_0x32c4c2['parentElement']?.['tagName']?_0x32c4c2['parentElement']['replaceWith'](_0x109a23):_0x32c4c2['replaceWith'](_0x109a23);}return new Promise(_0x3bd292=>_0x388569['window']['requestAnimationFrame'](()=>_0x3bd292()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x432234=this['_pagesContainer']['element'];if(!_0x432234['isConnected'])return;const _0x599a8e=new _0x2e305e(_0x432234)['excludeScrollbarsAndBorders'](),_0x277906=Math['floor'](_0x599a8e['width']+0x64),_0x20917f=I(_0x432234,Math['floor'](_0x599a8e['left']-_0x432234['scrollLeft']),_0x277906,_0x599a8e['height'])['map'](_0x26e58f=>this['_mapPageStarterInfoToPageBreakInfo'](_0x26e58f))['filter'](_0x3e9328=>!0x1!==_0x3e9328);_0x20917f['every'](_0x2f2452=>!!_0x2f2452)&&(this['pageBreaks']=_0x20917f);}_mapPageStarterInfoToPageBreakInfo(_0x4989b1){const _0x2748b6=this['editor']['editing']['view'],_0x576f0d=this['editor']['editing']['mapper'],_0x3a5a9b=_0x2748b6['domConverter'],_0xce1a7b=_0x4989b1['path']['shift'](),_0x126691=this['_pagesContainer']['element']['childNodes'][_0xce1a7b]['dataset']['rootName'],_0x5ee3f1=_0x2748b6['getDomRoot'](_0x126691);if(!_0x5ee3f1)return null;const _0x16ece4=function(_0x3174c9,_0x43bc90){let _0x14a57a=_0x3174c9;for(const _0x3bfddb of _0x43bc90['path']){if(!_0x14a57a)return null;_0x14a57a=_0x14a57a['childNodes'][_0x3bfddb];}return _0x14a57a;}(_0x5ee3f1,_0x4989b1);if(!_0x16ece4)return null;const _0x1d77c5=_0x3a5a9b['domPositionToView'](_0x16ece4,_0x4989b1['textOffset']||0x0);return _0x1d77c5?'manual'==_0x4989b1['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1d77c5,_0x16ece4):'text'==_0x4989b1['type']&&_0x576f0d['toModelPosition'](_0x1d77c5)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1d77c5,_0x16ece4,_0x4989b1['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1d77c5,_0x16ece4,_0x4989b1['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x1c96d9,_0x48428){const _0x3389ef=this['editor']['model'],_0xeb5bdc=this['editor']['editing']['mapper']['toModelElement'](_0x1c96d9['parent']),_0x59c300=_0x3389ef['createRangeOn'](_0xeb5bdc);return new k({'type':'manual','modelRange':_0x59c300,'domNode':_0x48428,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x2e1afc,_0x3d2518,_0x33ed97){const _0x30d63b=this['editor']['model'],_0x4d30e6=this['editor']['editing']['mapper'],_0x21f961=this['editor']['editing']['view']['domConverter'];if(_0x33ed97>=_0x3d2518['length'])return null;const _0x463f78=_0x4d30e6['toModelPosition'](_0x2e1afc),_0x1862f1=_0x30d63b['createRange'](_0x463f78),_0x19271b=_0x4d30e6['findMappedViewAncestor'](_0x2e1afc),_0x28be25=_0x21f961['mapViewToDom'](_0x19271b);return new k({'type':'text','modelRange':_0x1862f1,'domNode':_0x3d2518,'offset':L(_0x3d2518,_0x33ed97,_0x28be25)});}_mapElementPageStarterInfoToPageBreakInfo(_0x501f6d,_0x5b01ab,_0x5832d1){const _0x2f88d0=this['editor']['model'],_0x208ba4=this['editor']['editing'],_0x57bc12=_0x208ba4['mapper'],_0x3923fd=_0x208ba4['view']['domConverter'],_0x359fc1=_0x57bc12['findMappedViewAncestor'](_0x501f6d),_0x36389d=_0x57bc12['toModelElement'](_0x359fc1);if(!_0x36389d||_0x36389d['is']('rootElement'))return!0x1;const _0x5efa54=function(_0x5a9b31){const _0x242d59=_0x5a9b31['parent'],_0x36b876=_0x242d59['root']['document']['model'],_0x2a68c2=_0x242d59['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x215db8=null;for(const _0x6225de of _0x2a68c2){if(_0x6225de['is']('rootElement'))return _0x215db8;if(!_0x36b876['createPositionBefore'](_0x6225de)['isTouching'](_0x5a9b31))return _0x215db8;_0x215db8=_0x6225de;}}(_0x2f88d0['createPositionBefore'](_0x36389d))||_0x36389d;let _0x44fe67=_0x57bc12['toViewElement'](_0x5efa54),_0x407dad=_0x2f88d0['createRangeOn'](_0x5efa54);const _0x414b2f=_0x2f88d0['createPositionBefore'](_0x5efa54)['nodeBefore'];if(_0x414b2f&&_0x414b2f['is']('element','imageBlock')){const _0x36e88c=_0x57bc12['toViewElement'](_0x414b2f),_0x5422a0=_0x3923fd['mapViewToDom'](_0x36e88c),_0x2f773e=_0x388569['window']['getComputedStyle'](_0x5422a0)['float'];'left'!=_0x2f773e&&'right'!=_0x2f773e||(_0x407dad=_0x2f88d0['createRangeOn'](_0x414b2f));}for(;_0x44fe67['parent']!==_0x44fe67['root']&&0x0===_0x44fe67['index'];)_0x44fe67=_0x44fe67['parent'];const _0x189628=new _0x2e305e(C(_0x5b01ab)?_0x5b01ab:E(_0x5b01ab)),_0x113092=_0x5832d1?_0x189628['height']-_0x5832d1:0x0,_0x316cf7=_0x3923fd['mapViewToDom'](_0x44fe67),_0x16d315=new _0x2e305e(_0x316cf7);return new k({'type':'element','modelRange':_0x407dad,'domNode':_0x316cf7,'offset':Math['round'](_0x113092)||_0x359fc1!=x(_0x501f6d)?_0x113092+_0x189628['top']-_0x16d315['top']:0x0});}get['_configuredPaddings'](){const _0x1568fd=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1568fd);}static _findPageStarterInfos(_0x1dda53,_0x4c4f07,_0x33e529,_0x3ae6d0,_0x21f129){return I(_0x1dda53,_0x4c4f07,_0x33e529,_0x3ae6d0,_0x21f129);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x22991e,modelRange:_0x3f1aff,domNode:_0x369a19,offset:_0xd80b90}){this['type']=_0x22991e,this['modelRange']=_0x3f1aff,this['_domNode']=_0x369a19,this['_offset']=_0xd80b90;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x25fd43=new _0x2e305e(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x25fd43['top']+_0x25fd43['height']/0x2:_0x25fd43['top']+this['_offset'];}};function L(_0x159f4f,_0x112782,_0x325aa5){const _0x3b7db3=E(_0x159f4f),_0x74c030=function(_0x49a240){const _0x5c5aa7=_0x388569['document']['createRange']();return _0x5c5aa7['selectNodeContents'](_0x49a240),_0x5c5aa7;}(_0x325aa5);let _0x53510b;if(0x0==_0x112782){const _0x27dfa2=_0x3fee4e(_0x159f4f);_0x53510b=R(_0x74c030['startContainer'],_0x74c030['startOffset'],_0x27dfa2,Array['from'](_0x27dfa2['childNodes'])['indexOf'](_0x159f4f));}else _0x53510b=R(_0x74c030['startContainer'],_0x74c030['startOffset'],_0x159f4f,_0x112782);const _0x3d4811=R(_0x159f4f,_0x112782,_0x74c030['endContainer'],_0x74c030['endOffset']),_0x13dcc5=new _0x2e305e(_0x53510b)['bottom'];return(new _0x2e305e(_0x3d4811)['top']+_0x13dcc5)/0x2-new _0x2e305e(_0x3b7db3)['top'];}function x(_0x5bea84){let _0x27d0f9=_0x5bea84['parent'];for(;_0x27d0f9['is']('$text')||_0x27d0f9['is']('attributeElement');)_0x27d0f9=_0x27d0f9['parent'];return _0x27d0f9;}function N(_0x1b9301){return _0x1b9301['hasAttribute']('width')&&_0x1b9301['hasAttribute']('height')?Promise['resolve']():new Promise(_0x59c7a4=>{function _0x1f2fb4(){_0x1b9301['removeEventListener']('load',_0x1f2fb4),_0x1b9301['removeEventListener']('error',_0x1f2fb4),_0x59c7a4();}_0x1b9301['complete']?_0x59c7a4():(_0x1b9301['addEventListener']('load',_0x1f2fb4),_0x1b9301['addEventListener']('error',_0x1f2fb4));});}function _(_0x433d9a){return new Promise(_0x1aa332=>setTimeout(_0x1aa332,_0x433d9a));}function E(_0x3f65b9){const _0x16e277=_0x388569['document']['createRange']();return _0x16e277['selectNode'](_0x3f65b9),_0x16e277;}function S(_0x36e308,_0x2721c8,_0x5d5782){const _0x1c539c=_0x388569['document']['createRange']();return _0x1c539c['setStart'](_0x36e308,_0x2721c8),_0x1c539c['setEnd'](_0x36e308,_0x5d5782),_0x1c539c;}function R(_0x272428,_0x35ffb5,_0x36b4eb,_0xca8b25){const _0x3cef0c=_0x388569['document']['createRange']();return _0x3cef0c['setStart'](_0x272428,_0x35ffb5),_0x3cef0c['setEnd'](_0x36b4eb,_0xca8b25),_0x3cef0c;}function I(_0x22088a,_0x150a2a,_0x2b0c29,_0x11ae83,_0x4d1a39){const _0x27f6ff=[];for(const [_0x3ebcd1,_0x59e9b5]of _0x22088a['childNodes']['entries']()){let _0x4895df=[];C(_0x59e9b5)&&_0x59e9b5['offsetParent']&&['static','relative']['includes'](_0x388569['window']['getComputedStyle'](_0x59e9b5)['position'])?_0x4895df=K(_0x59e9b5,_0x3ebcd1,_0x150a2a,_0x2b0c29,_0x11ae83,_0x4d1a39):D(_0x59e9b5)&&(_0x4895df=A(_0x59e9b5,_0x3ebcd1,_0x150a2a,_0x2b0c29,_0x4d1a39)),_0x4895df['length']&&(_0x27f6ff['push'](..._0x4895df),_0x150a2a+=_0x4895df['length']*_0x2b0c29,_0x4d1a39=!0x1);}return _0x27f6ff;}function K(_0x447e7d,_0x269432,_0x3aa61d,_0x1d7bb7,_0x502437,_0x448245){const _0x1dc192=[];var _0x22fccb;if((_0x22fccb=_0x447e7d['previousSibling'])&&C(_0x22fccb)&&Boolean(_0x22fccb['classList']['contains']('page-break')||_0x22fccb['closest']('.page-break'))&&(_0x1dc192['push']({'type':'manual','offset':0x0,'path':[_0x269432-0x1]}),_0x448245=!0x0),'table-row'==_0x388569['window']['getComputedStyle'](_0x447e7d)['display']){let _0x5e376a=0x0,_0x259773=!0x1;for(const _0x4c2586 of _0x447e7d['getClientRects']())_0x5e376a+=_0x4c2586['height'],_0x4c2586['left']>=_0x3aa61d&&(_0x259773=!0x0);if(_0x5e376a<_0x502437&&_0x259773)return _0x448245||_0x1dc192['push']({'type':'element','offset':0x0,'path':[_0x269432]}),_0x1dc192;}const _0x5b9660=_0x447e7d['closest']('figure.image');if(_0x5b9660&&function(_0x13dc82){let _0x141792=!0x1;const _0x1b0b23=_0x434a0c(_0x13dc82)['dataset']['rootName'],_0x157af7=_0x13dc82['nextElementSibling'],_0xbede7d=_0x13dc82['previousElementSibling'],_0x568a8f=_0x157af7&&_0x388569['window']['getComputedStyle'](_0x157af7)['float'],_0x20d8bf=_0x157af7&&'ck-fake-selection-container'===_0x157af7['className'];return!_0x1b0b23||_0x157af7||_0xbede7d||(_0x141792=!0x0),_0x1b0b23&&!_0xbede7d&&_0x20d8bf&&(_0x141792=!0x0),_0x1b0b23&&!_0xbede7d&&'none'!==_0x568a8f&&(_0x141792=!0x0),!_0x141792;}(_0x5b9660)){const _0x5b5754=_0x388569['window']['getComputedStyle'](_0x5b9660)['float'];if('left'==_0x5b5754||'right'==_0x5b5754)return _0x1dc192;}const _0x4baefa=I(_0x447e7d,_0x3aa61d,_0x1d7bb7,_0x502437,_0x448245);if(_0x4baefa['length']){for(const _0x2fa308 of _0x4baefa)_0x1dc192['push']({'type':_0x2fa308['type'],'offset':_0x2fa308['offset'],'textOffset':_0x2fa308['textOffset'],'path':[_0x269432,..._0x2fa308['path']]}),_0x3aa61d+=_0x1d7bb7;return _0x1dc192;}return _0x1dc192['push'](...function(_0x1b5ac7,_0x55ca5d,_0x1a8615,_0x25fb2b,_0x25731e){const _0x55db84=[];if('table-cell'==_0x388569['window']['getComputedStyle'](_0x1b5ac7)['display'])return[];const _0x16595a=[];for(const _0x35e71c of _0x1b5ac7['getClientRects']())if(_0x35e71c['left']>=_0x1a8615){for(const _0x3c5800 of _0x16595a)_0x3c5800['height']+=_0x35e71c['height'];_0x16595a['push']({'height':_0x35e71c['height']}),_0x1a8615+=_0x25fb2b;}for(const _0x34e72b of _0x16595a)_0x25731e||_0x55db84['push']({'type':'element','offset':_0x34e72b['height'],'textOffset':0x0,'path':[_0x55ca5d]}),_0x25731e=!0x1;return _0x55db84;}(_0x447e7d,_0x269432,_0x3aa61d,_0x1d7bb7,_0x448245)),_0x1dc192;}function A(_0x518d54,_0x45bc99,_0x38a09a,_0x4a75fa,_0x50570f){const _0x596ba0=E(_0x518d54),_0x19cf25=[];let _0x38cf9d=0x0;for(const _0x14c7b1 of _0x596ba0['getClientRects']())if(_0x14c7b1['left']>=_0x38a09a){const _0x23c68e=O(_0x518d54,_0x38cf9d,_0x38a09a,_0x4a75fa);_0x50570f||_0x19cf25['push']({'type':'text','path':[_0x45bc99],'textOffset':_0x23c68e}),_0x38cf9d=_0x23c68e,_0x38a09a+=_0x4a75fa,_0x50570f=!0x1;}return _0x19cf25;}function O(_0x540f9b,_0x499cdf,_0x404f34,_0xfb6066){let _0x510ae5=_0x499cdf,_0x2a9791=_0x540f9b['length'];for(;_0x2a9791-_0x510ae5>0x1;){const _0x4c6a4a=Math['ceil']((_0x510ae5+_0x2a9791)/0x2);U(S(_0x540f9b,_0x510ae5,_0x4c6a4a),_0x404f34,_0xfb6066)?_0x2a9791=_0x4c6a4a:_0x510ae5=_0x4c6a4a;}return _0x510ae5;}function U(_0x4f18f6,_0x18c31c,_0x4748a6){for(const _0x10f2d0 of _0x4f18f6['getClientRects']())if(_0x10f2d0['left']>=_0x18c31c&&_0x10f2d0['left']<_0x18c31c+_0x4748a6)return!0x0;return!0x1;}function C(_0x21d6f4){return _0x21d6f4['nodeType']==Node['ELEMENT_NODE'];}function D(_0x19756b){return _0x19756b['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x45a525('px');var B=class extends _0x31d258{constructor(){super();const _0x22cf9a=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x22cf9a['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x22cf9a['if']('isVisible','ck-hidden',_0x1080cc=>!_0x1080cc)],'style':{'left':_0x22cf9a['to']('left',_0x4fc725=>T(_0x4fc725)),'top':_0x22cf9a['to']('top',_0x5500e9=>T(_0x5500e9)),'width':_0x22cf9a['to']('width',_0x273a28=>T(_0x273a28))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x2ff95e){this['_viewCollection']=_0x2ff95e['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0xc835b8 of this['_hiddenLines'])_0xc835b8['destroy']();}['cleanLines'](){for(const _0x5ff7ed of this['_visibleLines'])_0x5ff7ed['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5ff7ed);this['_visibleLines']['clear']();}['showLine'](_0x42ca93,_0x33e17f,_0x2e0e26,_0x103314){let _0x5e5f21;this['_hiddenLines']['size']?(_0x5e5f21=_0x113d7c(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x5e5f21)):_0x5e5f21=new B(),_0x5e5f21['set']({'pageNumber':_0x103314,'left':_0x42ca93,'top':_0x33e17f,'width':_0x2e0e26}),_0x5e5f21['isVisible']=!0x0,this['_viewCollection']['has'](_0x5e5f21)||this['_viewCollection']['add'](_0x5e5f21),this['_visibleLines']['add'](_0x5e5f21);}setViewCollection(_0x3bce20){for(const _0x29e1af of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x29e1af)&&this['_viewCollection']['remove'](_0x29e1af);this['_viewCollection']=_0x3bce20;}};const V='ck-pagination_enabled';var M=class extends _0x11d88a{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',(_0x16a37b,_0xfff885,_0x182fb1)=>{_0x182fb1||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x182fb1);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xf3e2b3){if(!this['isEnabled'])return;const _0x10262b=_0xf3e2b3>0x1?this['_getPageBreakLineOffset'](_0xf3e2b3-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x10262b-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x59ada3['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x31646d=this['editor'],_0x230073=this['_getAttachedDomRoot']();_0x230073?(this['_scrollableEditingRootDomAncestor']&&_0x31646d['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x461d6b(_0x230073),_0x31646d['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x52b15f(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x31646d['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x7f92a=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x7f92a['ui']['view']['listenTo'](_0x388569['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x7f92a['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0xe55dd5 of this['editor']['editing']['view']['domRoots']['values']())if(_0xe55dd5['isConnected'])return _0xe55dd5;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x3aa774=this['_getAttachedDomRoot'](),_0x3cb3ca=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x3aa774||0x1==_0x3cb3ca['length'])return void(this['pageNumber']=0x1);const _0x5b266f=new _0x2e305e(_0x3aa774)['excludeScrollbarsAndBorders'](),_0x3627a1=new _0x2e305e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x3edcbd=_0x3627a1['top']+_0x3627a1['height']/0x3;let _0x5f5018=!0x1;const _0x184838=[];for(let _0x5dd963=0x1;_0x5dd963<_0x3cb3ca['length'];_0x5dd963++){const _0x296eb1=this['_getPageBreakLineOffset'](_0x5dd963,_0x3627a1);if(!_0x296eb1)continue;const _0x5eb0fe=_0x3627a1['top']+_0x296eb1-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x184838['push']({'pageOffsetTop':_0x5eb0fe,'domRootRect':_0x5b266f,'domScrollableRect':_0x3627a1,'pageNumber':_0x5dd963}),_0x5eb0fe>_0x3edcbd&&!_0x5f5018&&(this['pageNumber']=_0x5dd963,_0x5f5018=!0x0);}this['_renderPageBreakLines'](_0x184838),_0x5f5018||(this['pageNumber']=_0x3cb3ca['length']);}['_renderPageBreakLines'](_0x21fb42){if(!_0x21fb42['length'])return;const {scrollX:_0x2951bc,scrollY:_0x4e0115}=_0x388569['window'],_0x17550d=_0x91ccd9(this['linesRepository']['containerElement']);let _0x558b03,_0x1c3305;if(_0x17550d){const _0x5d345a=new _0x2e305e(_0x17550d);_0x558b03=_0x5d345a['top']+_0x17550d['clientTop']-_0x17550d['scrollTop'],_0x1c3305=_0x5d345a['left']+_0x17550d['clientLeft']-_0x17550d['scrollLeft'];}else _0x558b03=-_0x4e0115,_0x1c3305=-_0x2951bc;for(const {domScrollableRect:_0x38ce28,pageOffsetTop:_0x59819d,domRootRect:_0xc82026,pageNumber:_0x2ad1e0}of _0x21fb42)_0x38ce28['top']<_0x59819d&&_0x59819d<_0x38ce28['bottom']&&this['linesRepository']['showLine'](_0xc82026['left']-_0x1c3305,_0x59819d-_0x558b03,_0xc82026['width'],_0x2ad1e0+0x1);}_getPageBreakLineOffset(_0x1bbf87,_0x2299f6=null){const _0x11ef28=this['_paginationLookupPlugin']['pageBreaks'][_0x1bbf87]['offset'];return _0x11ef28?(_0x2299f6||(_0x2299f6=new _0x2e305e(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x11ef28-_0x2299f6['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x4a1cd6,_0x44ddc0=!0x0){const _0x568ad6=this['editor']['editing']['view'];_0x568ad6['change'](_0x1326a9=>{for(const _0x545cfc of _0x568ad6['document']['roots'])_0x44ddc0?_0x1326a9['addClass'](_0x4a1cd6,_0x545cfc):_0x1326a9['removeClass'](_0x4a1cd6,_0x545cfc);});}};function $(_0x80facd,_0x4a02cf,..._0x5be3f0){const t=_0x80facd['t'];switch(_0x4a02cf){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)',..._0x5be3f0);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 _0x4a02cf;}}var j=class extends _0x11d88a{['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 _0x42ac69=this['editor']['plugins']['get']('Pagination'),_0x477298=this['editor']['plugins']['get'](v),_0x5a23de=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x42ac69),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x5a23de),this['listenTo'](_0x477298,'change:pageBreaks',(_0x4da0bb,_0x2d1929,_0xd03feb,_0x41cc7d)=>{this['totalPages']=_0xd03feb['length'],this['_updatePageBreakMarkers'](_0xd03feb,_0x41cc7d);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0xcf0f88=[this['editor']];for(const _0x313b3f of _0xcf0f88){let _0x2c9108;for(const _0x1f04a6 in _0x313b3f){const _0x574fb6=_0x1f04a6,_0x3587e0=_0x313b3f[_0x574fb6];if('paginationLicenseKeyValid'==_0x3587e0||'paginationLicenseKeyInvalid'==_0x3587e0||'paginationLicenseKeyExpired'==_0x3587e0||'paginationLicenseKeyDomainLimit'==_0x3587e0||'paginationLicenseKeyNotAllowed'==_0x3587e0||'paginationLicenseKeyEvaluationLimit'==_0x3587e0||'paginationLicenseKeyUsageLimit'==_0x3587e0){delete _0x313b3f[_0x574fb6],_0x2c9108=_0x3587e0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2c9108&&_0x313b3f['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2c9108&&_0x313b3f['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2c9108&&_0x313b3f['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2c9108&&_0x313b3f['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2c9108&&_0x313b3f['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x2c9108&&_0x313b3f['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x102adb){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x102adb));}moveSelectionToPage(_0x1d19dc){if(!this['isEnabled'])return;const _0xb1c351=this['editor'],_0x4b8928=this['editor']['plugins']['get'](v)['pageBreaks'][_0x1d19dc-0x1];_0x4b8928&&_0xb1c351['model']['change'](_0x479736=>{switch(_0x4b8928['type']){case'manual':{const _0x331b2d=_0xb1c351['model']['schema']['getNearestSelectionRange'](_0x4b8928['modelRange']['end'],'forward');_0x479736['setSelection'](_0x331b2d);break;}case'element':{const _0xd3ce08=_0xb1c351['model']['schema']['getNearestSelectionRange'](_0x4b8928['modelRange']['start'],'forward');_0x479736['setSelection'](_0xd3ce08);break;}case'text':{const _0x259af8=_0x4b8928['modelRange']['start'];if(_0x259af8['textNode']&&'\x20'===_0x259af8['textNode']['data'][_0x259af8['offset']]){const _0x395451=_0x479736['createPositionAt'](_0x259af8['parent'],_0x259af8['offset']+0x1);_0x479736['setSelection'](_0x395451);}else _0x479736['setSelection'](_0x4b8928['modelRange']);}}_0xb1c351['editing']['view']['focus']();});}goToNextPage(){const _0x1625b1=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x1625b1),this['scrollToPage'](_0x1625b1);}['goToPreviousPage'](){const _0x57413a=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x57413a),this['scrollToPage'](_0x57413a);}_updatePageBreakMarkers(_0x4ed840,_0x24e0cf){const _0x5ce5ae=this['editor']['model'];this['isEnabled']&&_0x5ce5ae['change'](_0x136afd=>{for(let _0x1841d3=0x1;_0x1841d3<_0x4ed840['length'];_0x1841d3++){const _0x141be9=_0x4ed840[_0x1841d3]['modelRange'],_0x4de1e4='pagination:'+(_0x1841d3+0x1);_0x5ce5ae['markers']['has'](_0x4de1e4)?_0x136afd['updateMarker'](_0x4de1e4,{'range':_0x141be9}):_0x136afd['addMarker'](_0x4de1e4,{'range':_0x141be9,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x1a269a=_0x4ed840['length'];_0x1a269a<_0x24e0cf['length'];_0x1a269a++){const _0xd58ff4='pagination:'+(_0x1a269a+0x1);_0x5ce5ae['markers']['has'](_0xd58ff4)&&_0x136afd['removeMarker'](_0xd58ff4);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x334091=>{_0x334091['on']('addMarker:pagination',(_0x50334d,{markerRange:_0x352f06,markerName:_0xcd98ac},_0x22b4fd)=>{if(!_0x22b4fd['options']['pagination'])return;if(!_0x22b4fd['consumable']['consume'](_0x352f06,_0x50334d['name']))return;const _0x1cf89c=_0x352f06['getContainedElement']();let _0x321728=_0x1cf89c?_0x22b4fd['mapper']['toViewElement'](_0x1cf89c):null;if(!_0x321728){const _0x57bfee=_0x352f06['start'];if(_0x22b4fd['schema']['checkChild'](_0x57bfee,'$text')){const _0x4bd81b=_0x22b4fd['mapper']['toViewPosition'](_0x57bfee);_0x321728=_0x22b4fd['writer']['createContainerElement']('span'),_0x321728['getFillerOffset']=()=>null,_0x22b4fd['writer']['insert'](_0x4bd81b,_0x321728);}else{const _0x18174f=_0x57bfee['nodeAfter'];_0x321728=_0x22b4fd['mapper']['toViewElement'](_0x18174f);}}for(;_0x321728['parent']!==_0x321728['root']&&0x0===_0x321728['index'];)_0x321728=_0x321728['parent'];const _0x56747d=_0xcd98ac['substring'](0xb);_0x321728['hasClass']('page-break')||(_0x22b4fd['writer']['setStyle']('page-break-before','always',_0x321728),_0x22b4fd['writer']['setAttribute']('data-pagination-page',_0x56747d,_0x321728),_0x22b4fd['mapper']['bindElementToMarker'](_0x321728,_0xcd98ac)),_0x50334d['stop']();});});}_setupKeystrokes(){const _0x26f482=this['editor'];_0x26f482['keystrokes']['set']('Shift+Pageup',(_0x2c1cd2,_0x2f2c92)=>{this['goToPreviousPage'](),_0x2f2c92();}),_0x26f482['keystrokes']['set']('Shift+Pagedown',(_0x228fb8,_0x4f60f1)=>{this['goToNextPage'](),_0x4f60f1();}),_0x26f482['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x26f482['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x26f482['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x26f482['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x29831c){return _0x29831c<0x1&&(_0x29831c=0x1),_0x29831c>this['totalPages']&&(_0x29831c=this['totalPages']),_0x29831c;}},q=class extends _0x31d258{['pageNumberView'];constructor(_0x4513c5){super(_0x4513c5);const _0x320f04=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x1e5c18(_0x4513c5,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x55897d=>$(_0x4513c5,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x55897d)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x3bdb8e=>!_0x3bdb8e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x320f04['if']('isEnabled','ck-disabled',_0x2f8c33=>!_0x2f8c33)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x320f04['to']('totalPages')}]}]});}['render'](){super['render']();const _0x3bc207=this['pageNumberView']['element'],_0x19b85a=_0x45def8=>{this['pageNumberView']['element']['value']=String(_0x45def8);};_0x19b85a(this['pageNumber']),this['on']('change:pageNumber',(_0x41dede,_0xedbf32,_0x258a78)=>{_0x19b85a(_0x258a78);}),this['listenTo'](_0x3bc207,'keydown',(_0x5a869f,_0x1fa942)=>{if('ArrowUp'===_0x1fa942['key']||'ArrowDown'===_0x1fa942['key'])return void _0x1fa942['stopPropagation']();if(_0x1fa942['keyCode']!==_0x2e61c4['enter'])return;_0x1fa942['preventDefault']();const _0x57d178=_0x3bc207['valueAsNumber'];Number['isNaN'](_0x57d178)?_0x3bc207['value']=String(this['pageNumber']):(_0x3bc207['checkValidity']()?this['pageNumber']=_0x57d178:_0x57d178>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x3bc207['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x3bc207['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x3bc207,'blur',()=>{_0x3bc207['value']=String(this['pageNumber']);}),this['listenTo'](_0x3bc207,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x11d88a{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x46866e=this['editor'],_0x1527b7=_0x46866e['plugins']['get']('PaginationEditing');_0x46866e['ui']['componentFactory']['add']('pageNavigation',_0x2ec0a3=>{const _0x821e92=new q(_0x2ec0a3);return _0x821e92['bind']('pageNumber')['to'](_0x1527b7),_0x821e92['bind']('totalPages')['to'](_0x1527b7),_0x821e92['bind']('isEnabled')['to'](_0x1527b7),_0x821e92['on']('navigation',(_0x4416d5,_0x23981f)=>{_0x1527b7['moveSelectionToPage'](_0x23981f),_0x1527b7['scrollToPage'](_0x23981f);}),_0x821e92;}),_0x46866e['ui']['componentFactory']['add']('nextPage',_0x14a644=>{const _0x11d181=new _0xd26162(_0x14a644);return _0x11d181['isEnabled']=!0x0,_0x11d181['label']=$(_0x46866e['locale'],'Go\x20to\x20next\x20page'),_0x11d181['icon']=_0x559144,_0x11d181['tooltip']=!0x0,_0x11d181['keystroke']='Shift+PageDown',_0x11d181['bind']('isEnabled')['to'](_0x1527b7),this['listenTo'](_0x11d181,'execute',()=>{_0x1527b7['goToNextPage']();}),_0x11d181;}),_0x46866e['ui']['componentFactory']['add']('previousPage',_0x10b998=>{const _0x1eba20=new _0xd26162(_0x10b998);return _0x1eba20['isEnabled']=!0x0,_0x1eba20['label']=$(_0x46866e['locale'],'Go\x20to\x20previous\x20page'),_0x1eba20['icon']=_0x48b13a,_0x1eba20['tooltip']=!0x0,_0x1eba20['keystroke']='Shift+PageUp',_0x1eba20['bind']('isEnabled')['to'](_0x1527b7),this['listenTo'](_0x1eba20,'execute',()=>{_0x1527b7['goToPreviousPage']();}),_0x1eba20;});}},H=class extends _0x11d88a{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x2e707d){super(_0x2e707d),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3b1d30=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x3b1d30),this['bind']('totalPages')['to'](_0x3b1d30),_0x59ada3['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x15e4c5){this['editor']['plugins']['get'](j)['scrollToPage'](_0x15e4c5);}};export{H as Pagination,M as PaginationRenderer};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x518825=>{const {af:_0x1c4204}={'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)':''}}};_0x518825['af']||={'dictionary':{},'getPluralForm':null},_0x518825['af']['dictionary']=Object['assign'](_0x518825['af']['dictionary'],_0x1c4204['dictionary']),_0x1c4204['getPluralForm']&&(_0x518825['af']['getPluralForm']=_0x1c4204['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ddf26=>{const {ar:_0x1580a6}={'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أيضاً)'}}};_0x1ddf26['ar']||={'dictionary':{},'getPluralForm':null},_0x1ddf26['ar']['dictionary']=Object['assign'](_0x1ddf26['ar']['dictionary'],_0x1580a6['dictionary']),_0x1580a6['getPluralForm']&&(_0x1ddf26['ar']['getPluralForm']=_0x1580a6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e6aaa=>{const {ast:_0x405f66}={'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)':''}}};_0x4e6aaa['ast']||={'dictionary':{},'getPluralForm':null},_0x4e6aaa['ast']['dictionary']=Object['assign'](_0x4e6aaa['ast']['dictionary'],_0x405f66['dictionary']),_0x405f66['getPluralForm']&&(_0x4e6aaa['ast']['getPluralForm']=_0x405f66['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x562867=>{const {az:_0x163464}={'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)':''}}};_0x562867['az']||={'dictionary':{},'getPluralForm':null},_0x562867['az']['dictionary']=Object['assign'](_0x562867['az']['dictionary'],_0x163464['dictionary']),_0x163464['getPluralForm']&&(_0x562867['az']['getPluralForm']=_0x163464['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x334ea4=>{const {be:_0x431b44}={'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)':''}}};_0x334ea4['be']||={'dictionary':{},'getPluralForm':null},_0x334ea4['be']['dictionary']=Object['assign'](_0x334ea4['be']['dictionary'],_0x431b44['dictionary']),_0x431b44['getPluralForm']&&(_0x334ea4['be']['getPluralForm']=_0x431b44['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x183530=>{const {bg:_0x30a038}={'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селекцията)'}}};_0x183530['bg']||={'dictionary':{},'getPluralForm':null},_0x183530['bg']['dictionary']=Object['assign'](_0x183530['bg']['dictionary'],_0x30a038['dictionary']),_0x30a038['getPluralForm']&&(_0x183530['bg']['getPluralForm']=_0x30a038['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d4c56=>{const {bn:_0x474a8d}={'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নিন)'}}};_0x5d4c56['bn']||={'dictionary':{},'getPluralForm':null},_0x5d4c56['bn']['dictionary']=Object['assign'](_0x5d4c56['bn']['dictionary'],_0x474a8d['dictionary']),_0x474a8d['getPluralForm']&&(_0x5d4c56['bn']['getPluralForm']=_0x474a8d['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x580951=>{const {bs:_0x49b474}={'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)':''}}};_0x580951['bs']||={'dictionary':{},'getPluralForm':null},_0x580951['bs']['dictionary']=Object['assign'](_0x580951['bs']['dictionary'],_0x49b474['dictionary']),_0x49b474['getPluralForm']&&(_0x580951['bs']['getPluralForm']=_0x49b474['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x368c65=>{const {ca:_0x726072}={'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ó)'}}};_0x368c65['ca']||={'dictionary':{},'getPluralForm':null},_0x368c65['ca']['dictionary']=Object['assign'](_0x368c65['ca']['dictionary'],_0x726072['dictionary']),_0x726072['getPluralForm']&&(_0x368c65['ca']['getPluralForm']=_0x726072['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c2271=>{const {cs:_0x3680ef}={'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)'}}};_0x5c2271['cs']||={'dictionary':{},'getPluralForm':null},_0x5c2271['cs']['dictionary']=Object['assign'](_0x5c2271['cs']['dictionary'],_0x3680ef['dictionary']),_0x3680ef['getPluralForm']&&(_0x5c2271['cs']['getPluralForm']=_0x3680ef['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x479295=>{const {da:_0x29a167}={'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)'}}};_0x479295['da']||={'dictionary':{},'getPluralForm':null},_0x479295['da']['dictionary']=Object['assign'](_0x479295['da']['dictionary'],_0x29a167['dictionary']),_0x29a167['getPluralForm']&&(_0x479295['da']['getPluralForm']=_0x29a167['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d5824=>{const {'de-ch':_0x44b2cf}={'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)':''}}};_0x1d5824['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1d5824['de-ch']['dictionary']=Object['assign'](_0x1d5824['de-ch']['dictionary'],_0x44b2cf['dictionary']),_0x44b2cf['getPluralForm']&&(_0x1d5824['de-ch']['getPluralForm']=_0x44b2cf['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4aee98=>{const {de:_0x5107a8}={'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)'}}};_0x4aee98['de']||={'dictionary':{},'getPluralForm':null},_0x4aee98['de']['dictionary']=Object['assign'](_0x4aee98['de']['dictionary'],_0x5107a8['dictionary']),_0x5107a8['getPluralForm']&&(_0x4aee98['de']['getPluralForm']=_0x5107a8['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15bdc4=>{const {el:_0x4009db}={'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μετακίνησης)'}}};_0x15bdc4['el']||={'dictionary':{},'getPluralForm':null},_0x15bdc4['el']['dictionary']=Object['assign'](_0x15bdc4['el']['dictionary'],_0x4009db['dictionary']),_0x4009db['getPluralForm']&&(_0x15bdc4['el']['getPluralForm']=_0x4009db['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ed11b=>{const {'en-au':_0x2334b5}={'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)':''}}};_0x5ed11b['en-au']||={'dictionary':{},'getPluralForm':null},_0x5ed11b['en-au']['dictionary']=Object['assign'](_0x5ed11b['en-au']['dictionary'],_0x2334b5['dictionary']),_0x2334b5['getPluralForm']&&(_0x5ed11b['en-au']['getPluralForm']=_0x2334b5['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b2bef=>{const {'en-gb':_0x370fba}={'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)':''}}};_0x3b2bef['en-gb']||={'dictionary':{},'getPluralForm':null},_0x3b2bef['en-gb']['dictionary']=Object['assign'](_0x3b2bef['en-gb']['dictionary'],_0x370fba['dictionary']),_0x370fba['getPluralForm']&&(_0x3b2bef['en-gb']['getPluralForm']=_0x370fba['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x305a52=>{const {en:_0xf7179b}={'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)'}}};_0x305a52['en']||={'dictionary':{},'getPluralForm':null},_0x305a52['en']['dictionary']=Object['assign'](_0x305a52['en']['dictionary'],_0xf7179b['dictionary']),_0xf7179b['getPluralForm']&&(_0x305a52['en']['getPluralForm']=_0xf7179b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x349980=>{const {eo:_0x3dfc10}={'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)':''}}};_0x349980['eo']||={'dictionary':{},'getPluralForm':null},_0x349980['eo']['dictionary']=Object['assign'](_0x349980['eo']['dictionary'],_0x3dfc10['dictionary']),_0x3dfc10['getPluralForm']&&(_0x349980['eo']['getPluralForm']=_0x3dfc10['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb9b8f9=>{const {'es-co':_0x3998e6}={'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)':''}}};_0xb9b8f9['es-co']||={'dictionary':{},'getPluralForm':null},_0xb9b8f9['es-co']['dictionary']=Object['assign'](_0xb9b8f9['es-co']['dictionary'],_0x3998e6['dictionary']),_0x3998e6['getPluralForm']&&(_0xb9b8f9['es-co']['getPluralForm']=_0x3998e6['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39df9b=>{const {es:_0x10a968}={'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)'}}};_0x39df9b['es']||={'dictionary':{},'getPluralForm':null},_0x39df9b['es']['dictionary']=Object['assign'](_0x39df9b['es']['dictionary'],_0x10a968['dictionary']),_0x10a968['getPluralForm']&&(_0x39df9b['es']['getPluralForm']=_0x10a968['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x369e74=>{const {et:_0x2f92dd}={'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)'}}};_0x369e74['et']||={'dictionary':{},'getPluralForm':null},_0x369e74['et']['dictionary']=Object['assign'](_0x369e74['et']['dictionary'],_0x2f92dd['dictionary']),_0x2f92dd['getPluralForm']&&(_0x369e74['et']['getPluralForm']=_0x2f92dd['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x414f0f=>{const {eu:_0xe9490a}={'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)':''}}};_0x414f0f['eu']||={'dictionary':{},'getPluralForm':null},_0x414f0f['eu']['dictionary']=Object['assign'](_0x414f0f['eu']['dictionary'],_0xe9490a['dictionary']),_0xe9490a['getPluralForm']&&(_0x414f0f['eu']['getPluralForm']=_0xe9490a['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|