@ckeditor/ckeditor5-pagination 49.0.0-alpha.0 → 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 _0x5b01aa}from'@ckeditor/ckeditor5-core';import{ButtonView as _0x7f7cd5,InputNumberView as _0x3f0adb,View as _0x2a0961}from'@ckeditor/ckeditor5-ui';import{Rect as _0x6ccea8,ResizeObserver as _0x3d946c,env as _0x180781,findClosestScrollableAncestor as _0x590a5f,first as _0x52794a,getParentElement as _0x27e301,getParentNode as _0x1cc0a9,getPositionedAncestor as _0x1ec9a0,global as _0x106524,keyCodes as _0x1c052c,logWarning as _0x50b113,toUnit as _0x5c801f,uid as _0x58a491}from'@ckeditor/ckeditor5-utils';import{debounce as _0x291312}from'es-toolkit/compat';import{IconArrowDown as _0x458f26,IconArrowUp as _0x3af34f}from'@ckeditor/ckeditor5-icons';var v=class extends _0x5b01aa{_recalculatePageBreaksDebounced=_0x291312(()=>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 _0x50b113('pagination-config-not-found',this['editor']['config']);const _0x3d71f8=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x3d71f8),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x2a00fb,_0x5d5d77,_0xe5d27f)=>{_0xe5d27f&&this['_recalculatePageBreaksDebounced']();});}afterInit(){!async function(_0x105e05){const _0x503755='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x5ef49d=0x79710,_0x54c0c4={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x38fb5a(_0x51431a){const _0x3a9389=new window['Promise'](_0xac07e=>{_0x51431a['once']('ready',_0xac07e);}),_0x5603a1=window['Date']['now'](),_0x59a266=_0x51431a['config']['get']('licenseKey');async function _0x4c5d2a(){let _0x3a52d8,_0x28726c=null,_0x18380e=null;try{return'GPL'==_0x59a266?'NotAllowed':(_0x3a52d8=_0x52dadb(),_0x3a52d8?(_0x3a52d8['usageEndpoint']&&(_0x18380e=_0x34dff1(_0x3a52d8['usageEndpoint'],_0x3a52d8['jti'])),await _0x520e38()?_0x21081b()?_0x28a6d5()?'Expired':_0x2bc3b0()?('evaluation'==_0x3a52d8['licenseType']&&(_0x28726c=_0x1de4ef('EvaluationLimit')),await _0x4bd8e1()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x28a6d5(){const _0x517fa0=['evaluation','trial']['includes'](_0x3a52d8['licenseType'])?_0x5603a1/0x3e8:0xe10*_0x5ef49d;return _0x3a52d8['exp']<_0x517fa0;}function _0x21081b(){const _0x1ebdaa=_0x3a52d8['features'];return!!_0x1ebdaa&&(!!_0x1ebdaa['includes']('*')||!!_0x1ebdaa['includes']('PAG'));}function _0x2bc3b0(){const _0x38e215=_0x3a52d8['licensedHosts'];if(!_0x38e215||0x0==_0x38e215['length'])return!0x0;const {hostname:_0x37f27e}=new URL(window['location']['href']);if(_0x38e215['includes'](_0x37f27e))return!0x0;const _0xa209fc=_0x37f27e['split']('.');return _0x38e215['filter'](_0x21f3b6=>_0x21f3b6['includes']('*'))['map'](_0x52296b=>_0x52296b['split']('.'))['filter'](_0x1d49a9=>_0x1d49a9['length']<=_0xa209fc['length'])['map'](_0x1420bf=>Array(_0xa209fc['length']-_0x1420bf['length'])['fill']('*'===_0x1420bf[0x0]?'*':'')['concat'](_0x1420bf))['some'](_0x32b4f2=>_0xa209fc['every']((_0x10ebc8,_0x59a121)=>_0x32b4f2[_0x59a121]===_0x10ebc8||'*'===_0x32b4f2[_0x59a121]));}function _0x4bd8e1(){return _0x28726c&&_0x18380e?new window['Promise']((_0x1adfdd,_0x46ffad)=>{_0x28726c['then'](_0x1adfdd,_0x46ffad),_0x18380e['then'](_0x2f3b85=>{'Valid'!=_0x2f3b85&&_0x1adfdd(_0x2f3b85);},_0x46ffad);}):_0x28726c||_0x18380e||'Valid';}}function _0x34dff1(_0x33665f,_0x18ec4c){return new window['Promise'](_0xfdd815=>{if(_0x48410d())return _0xfdd815('Valid');_0x49a5cd(),_0x51431a['decorate']('_sendUsageRequest');let _0x61ec32=!0x1;const _0x4cc749=_0x58a491();function _0x497a91(_0x1d6c38){return!!_0x1d6c38&&('object'==typeof _0x1d6c38||'function'==typeof _0x1d6c38)&&'function'==typeof _0x1d6c38['then']&&'function'==typeof _0x1d6c38['catch'];}function _0x5693fb(_0x3da967){_0x49cbe5(_0x3da967)['then'](_0x614cd9=>_0x614cd9&&'ok'==_0x614cd9['status']?_0x469798(_0x3dbd2d(_0x4cc749+_0x18ec4c))!=_0x614cd9['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3c5888=>(_0x386f1a(),_0x3c5888),()=>{const _0x2e1ae5=_0x553bae();return null==_0x2e1ae5?(_0x386f1a(),'Valid'):_0x5603a1-_0x2e1ae5>0x240c8400?'UsageLimit':'Valid';})['then'](_0xfdd815)['catch'](()=>{_0xfdd815('UsageLimit');});const _0x5a7b6e=0x36ee80;function _0x386f1a(){const _0x275d5a='llct-'+_0x469798(_0x3dbd2d(_0x33665f)),_0x30bc6a=_0x47e5ad(_0x469798(window['Math']['ceil'](_0x5603a1/_0x5a7b6e)));window['localStorage']['setItem'](_0x275d5a,_0x30bc6a);}function _0x553bae(){const _0x3d2bcb='llct-'+_0x469798(_0x3dbd2d(_0x33665f)),_0x1953ac=window['localStorage']['getItem'](_0x3d2bcb);return _0x1953ac?window['parseInt'](_0x47e5ad(_0x1953ac),0x10)*_0x5a7b6e:null;}function _0x49cbe5(_0x5d4cb6){return new window['Promise']((_0x3eb15c,_0xb58bf3)=>{_0x5d4cb6['then'](_0x3eb15c,_0xb58bf3),window['setTimeout'](_0xb58bf3,0x1d4c0);});}}_0x51431a['on']('_sendUsageRequest',(_0x402dd7,_0x3f0e40)=>{if(_0x3f0e40[0x0]!=_0x33665f)return _0xfdd815('UsageLimit');_0x3f0e40[0x1]={..._0x3f0e40[0x1],'requestId':_0x4cc749};},{'priority':'high'}),_0x51431a['on']('_sendUsageRequest',_0x67a40b=>{_0x497a91(_0x67a40b['return'])&&(_0x61ec32=!0x0,_0x5693fb(_0x67a40b['return']));},{'priority':'low'}),_0x3a9389['then'](()=>{_0x61ec32||_0xfdd815('UsageLimit');});});function _0x48410d(){return'auto'==_0x51431a['editing']['view']['_overlayModeHint'];}function _0x49a5cd(){_0x51431a['editing']['view']['_overlayModeHint']='auto';}}function _0x1de4ef(_0x26c8d3){const _0x4dbd7c=[new window['Promise'](_0x712bd2=>setTimeout(_0x712bd2,0x93ecc)),_0x3a9389['then'](()=>new window['Promise'](_0x4b7e7e=>{let _0x2e2599=0x0;_0x51431a['model']['on']('applyOperation',(_0x3c977e,_0x2b7661)=>{_0x2b7661[0x0]['isDocumentOperation']&&_0x2e2599++,0x5e8==_0x2e2599&&(_0x4b7e7e(),_0x3c977e['off']());});}))];return window['Promise']['race'](_0x4dbd7c)['then'](()=>_0x26c8d3);}async function _0x1f182c(){await _0x3a9389,_0x51431a['model']['change']=_0x20503a,_0x51431a['model']['enqueueChange']=_0x20503a,_0x51431a['enableReadOnlyMode']('model');}function _0x505406(_0x59a1f6){const _0x4c357b=_0x3fcf77();_0x51431a[_0x4c357b]='paginationLicenseKey'+_0x59a1f6,'Valid'!=_0x59a1f6&&_0x1f182c();}function _0x3fcf77(){const _0x5c2378=window['String'](window['performance']['now']())['replace']('.','');let _0x29393c='v';for(let _0x170f56=0x0;_0x170f56<_0x5c2378['length'];_0x170f56+=0x2){let _0x8ef53a=window['parseInt'](_0x5c2378['substring'](_0x170f56,_0x170f56+0x2));_0x8ef53a>=0x3e&&(_0x8ef53a-=0x3e),_0x29393c+=_0x503755[_0x8ef53a];}return _0x29393c;}function _0x52dadb(){const _0x337044=_0x59a266['split']('.');if(0x3!=_0x337044['length'])return null;return _0x419959(_0x337044[0x1]);function _0x419959(_0x3b91bb){const _0x59ff8d=_0x1d5207(_0x3b91bb);return _0x59ff8d&&_0x5b3654()?_0x59ff8d:null;function _0x5b3654(){const _0x843515=_0x59ff8d['jti'],_0x3ccb5a=window['parseInt'](_0x843515['substring'](_0x843515['length']-0x8),0x10),_0x496d73={..._0x59ff8d,'jti':_0x843515['substring'](0x0,_0x843515['length']-0x8)};return delete _0x496d73['vc'],_0x3dbd2d(_0x496d73)==_0x3ccb5a;}}}async function _0x520e38(){let _0x223adf=!0x0;try{const [_0x28f65e,_0x14f8a8,_0x434820]=_0x59a266['split']('.');return _0x11466e(_0x28f65e),await _0x578362(_0x28f65e,_0x14f8a8,_0x434820),_0x223adf;}catch{return!0x1;}function _0x11466e(_0xeda7cf){const _0x57bf3f=_0x1d5207(_0xeda7cf);_0x57bf3f&&'ES256'==_0x57bf3f['alg']||(_0x223adf=!0x1);}async function _0x578362(_0x505754,_0x35994b,_0x1a132a){const _0x4164d2=window['Uint8Array']['from'](_0x62dc0a(_0x1a132a),_0xff896e=>_0xff896e['charCodeAt'](0x0)),_0x103823=new window['TextEncoder']()['encode'](_0x505754+'.'+_0x35994b),_0xd1cab2=window['crypto']['subtle'];if(!_0xd1cab2)return;const _0x4b356d=await _0xd1cab2['importKey']('jwk',_0x54c0c4,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xd1cab2['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4b356d,_0x4164d2,_0x103823)||(_0x223adf=!0x1);}}function _0x1d5207(_0x3ec198){return _0x3ec198['startsWith']('ey')?JSON['parse'](_0x62dc0a(_0x3ec198)):null;}function _0x62dc0a(_0x79e321){return window['atob'](_0x79e321['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3dbd2d(_0x9c798b){let _0x5e1998=0x1505;function _0xd100e5(_0x2a9cfe){for(let _0x4fb1f3=0x0;_0x4fb1f3<_0x2a9cfe['length'];_0x4fb1f3++){const _0x215aaa=_0x2a9cfe['charCodeAt'](_0x4fb1f3);_0x5e1998=(_0x5e1998<<0x5)+_0x5e1998+_0x215aaa,_0x5e1998&=_0x5e1998;}}function _0x1b09eb(_0x5b118c){Array['isArray'](_0x5b118c)?_0x5b118c['forEach'](_0x1b09eb):_0x5b118c&&'object'==typeof _0x5b118c?Object['entries'](_0x5b118c)['sort']()['forEach'](([_0x1400ad,_0x1e5b93])=>{_0xd100e5(_0x1400ad),_0x1b09eb(_0x1e5b93);}):_0xd100e5(window['String'](_0x5b118c));}return _0x1b09eb(_0x9c798b),_0x5e1998>>>0x0;}function _0x469798(_0x400254){return _0x400254['toString'](0x10)['padStart'](0x8,'0');}function _0x47e5ad(_0x1093c5){return _0x1093c5['split']('')['reverse']()['join']('');}function _0x20503a(){}_0x505406(await _0x4c5d2a());}_0x38fb5a(_0x105e05['editor']);}(this);}destroy(){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x52f60a=this['editor'],_0x5ec31c=_0x52f60a['editing']['view'],_0x1cb847=this['_getAttachedDomRoot']();if(!_0x1cb847||!_0x1cb847['hasChildNodes']())return void _0x52f60a['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x1a031a,pageHeight:_0x1c15b7}=_0x52f60a['config']['get']('pagination'),{top:_0x351f3d,left:_0x3595dc,bottom:_0x563018,right:_0x5ee057}=this['_configuredPaddings'];this['_pagesContainer']=new _0x2a0961(_0x52f60a['locale']);const _0x1dc2f1=this['_pagesContainer'];_0x1dc2f1['set']('class',''),_0x1dc2f1['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x1a031a,'width':_0x1a031a,'height':'calc(\x20'+_0x1c15b7+'\x20-\x20'+_0x351f3d+'\x20-\x20'+_0x563018+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x5ee057+'\x200\x20'+_0x3595dc,'columnGap':'calc('+_0x3595dc+'\x20+\x20'+_0x5ee057+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x1dc2f1['bindTemplate']['to']('class')}}),_0x1dc2f1['render'](),_0x1cc0a9(_0x1cb847)['insertBefore'](_0x1dc2f1['element'],_0x1cb847['nextSibling']),this['listenTo'](_0x5ec31c,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}_getAttachedDomRoot(){for(const _0x283fbb of this['editor']['editing']['view']['domRoots']['values']())if(_0x283fbb['isConnected'])return _0x283fbb;return null;}_recalculatePageBreaks(){if(!this['isEnabled'])return Promise['resolve']();const _0x4fcdc9=this['editor']['editing']['view'],_0x4845bc=this['_pagesContainer'],_0x3e26dd=this['_getAttachedDomRoot']();if(!_0x3e26dd||!_0x4845bc)return Promise['resolve']();for(_0x4845bc['class']=['ck-reset','ck-pagination-view',..._0x3e26dd['classList']]['join']('\x20');_0x4845bc['element']['firstChild'];)_0x4845bc['element']['firstChild']['remove']();const _0x3f71e8=Array['from'](_0x4fcdc9['domRoots']);_0x3f71e8['sort'](([,_0x5d92f6],[,_0x1ba459])=>_0x5d92f6['compareDocumentPosition'](_0x1ba459)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1cbf97,_0x525413]of _0x3f71e8){const _0x675000=_0x525413['cloneNode'](!0x0);'attributeStyleMap'in _0x675000&&_0x675000['attributeStyleMap']['clear'](),_0x675000['dataset']['rootName']=_0x1cbf97,_0x675000['className']='ck-content\x20ck-pagination_enabled',_0x675000['removeAttribute']('id'),_0x675000['tabIndex']=-0x1,_0x4845bc['element']['append'](_0x675000);}const _0x221ba1=Array['from'](_0x4845bc['element']['querySelectorAll']('img'));return function(_0x14528a){return Promise['all'](_0x14528a['map'](_0x4ce31d=>Promise['race']([N(_0x4ce31d),_(0x3e8)])));}(_0x221ba1)['then'](()=>{for(const _0xc63b of _0x221ba1['filter'](_0x15d3bf=>!_0x15d3bf['closest']('table')))if(_0xc63b['offsetParent']){const _0x12eefd=_0x106524['window']['getComputedStyle'](_0xc63b),_0x2da6fc=_0x106524['document']['createElement']('span');for(const _0x4bcba4 of _0x12eefd)_0x2da6fc['style']['setProperty'](_0x4bcba4,_0x12eefd[_0x4bcba4]);_0x2da6fc['style']['backgroundImage']='url(\x20'+_0xc63b['src']+'\x20)',_0x2da6fc['style']['breakInside']='avoid','PICTURE'==_0xc63b['parentElement']?.['tagName']?_0xc63b['parentElement']['replaceWith'](_0x2da6fc):_0xc63b['replaceWith'](_0x2da6fc);}return new Promise(_0xb04e09=>_0x106524['window']['requestAnimationFrame'](()=>_0xb04e09()));})['then'](()=>{this['_updatePageBreaksData']();});}_updatePageBreaksData(){const _0x13feb0=this['_pagesContainer']['element'];if(!_0x13feb0['isConnected'])return;const _0x3c7d2e=new _0x6ccea8(_0x13feb0)['excludeScrollbarsAndBorders'](),_0x57d14a=Math['floor'](_0x3c7d2e['width']+0x64),_0x3d0086=I(_0x13feb0,Math['floor'](_0x3c7d2e['left']-_0x13feb0['scrollLeft']),_0x57d14a,_0x3c7d2e['height'])['map'](_0x4d5b18=>this['_mapPageStarterInfoToPageBreakInfo'](_0x4d5b18))['filter'](_0x529113=>!0x1!==_0x529113);_0x3d0086['every'](_0x20d805=>!!_0x20d805)&&(this['pageBreaks']=_0x3d0086);}_mapPageStarterInfoToPageBreakInfo(_0x441b50){const _0x25e7fd=this['editor']['editing']['view'],_0x489007=this['editor']['editing']['mapper'],_0x5938e2=_0x25e7fd['domConverter'],_0x22b524=_0x441b50['path']['shift'](),_0x57128d=this['_pagesContainer']['element']['childNodes'][_0x22b524]['dataset']['rootName'],_0x331378=_0x25e7fd['getDomRoot'](_0x57128d);if(!_0x331378)return null;const _0x5439ec=function(_0x4684cd,_0x3b7891){let _0x2c8db4=_0x4684cd;for(const _0x28f422 of _0x3b7891['path']){if(!_0x2c8db4)return null;_0x2c8db4=_0x2c8db4['childNodes'][_0x28f422];}return _0x2c8db4;}(_0x331378,_0x441b50);if(!_0x5439ec)return null;const _0x1fb9ba=_0x5938e2['domPositionToView'](_0x5439ec,_0x441b50['textOffset']||0x0);return _0x1fb9ba?'manual'==_0x441b50['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1fb9ba,_0x5439ec):'text'==_0x441b50['type']&&_0x489007['toModelPosition'](_0x1fb9ba)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1fb9ba,_0x5439ec,_0x441b50['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1fb9ba,_0x5439ec,_0x441b50['offset']):null;}_mapManualPageStarterInfoToPageBreakInfo(_0x1b6250,_0x2a208b){const _0x29faa2=this['editor']['model'],_0x1a7346=this['editor']['editing']['mapper']['toModelElement'](_0x1b6250['parent']),_0x4241aa=_0x29faa2['createRangeOn'](_0x1a7346);return new k({'type':'manual','modelRange':_0x4241aa,'domNode':_0x2a208b,'offset':0x0});}_mapTextPageStarterInfoToPageBreakInfo(_0x4b1db9,_0x59f682,_0x10cc84){const _0x50d7e6=this['editor']['model'],_0x2e307d=this['editor']['editing']['mapper'],_0x55ef4e=this['editor']['editing']['view']['domConverter'];if(_0x10cc84>=_0x59f682['length'])return null;const _0x2f37c6=_0x2e307d['toModelPosition'](_0x4b1db9),_0x4962d5=_0x50d7e6['createRange'](_0x2f37c6),_0x1aad2d=_0x2e307d['findMappedViewAncestor'](_0x4b1db9),_0xdddac5=_0x55ef4e['mapViewToDom'](_0x1aad2d);return new k({'type':'text','modelRange':_0x4962d5,'domNode':_0x59f682,'offset':L(_0x59f682,_0x10cc84,_0xdddac5)});}_mapElementPageStarterInfoToPageBreakInfo(_0x34511b,_0x1d55dd,_0x2a5b42){const _0x2ded65=this['editor']['model'],_0x34f64c=this['editor']['editing'],_0x316ce3=_0x34f64c['mapper'],_0x278bda=_0x34f64c['view']['domConverter'],_0x4d7b54=_0x316ce3['findMappedViewAncestor'](_0x34511b),_0x1138ff=_0x316ce3['toModelElement'](_0x4d7b54);if(!_0x1138ff||_0x1138ff['is']('rootElement'))return!0x1;const _0x3ad2db=function(_0x47637d){const _0x5333d8=_0x47637d['parent'],_0x9c50aa=_0x5333d8['root']['document']['model'],_0x4cad0c=_0x5333d8['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1360f7=null;for(const _0x2539a1 of _0x4cad0c){if(_0x2539a1['is']('rootElement'))return _0x1360f7;if(!_0x9c50aa['createPositionBefore'](_0x2539a1)['isTouching'](_0x47637d))return _0x1360f7;_0x1360f7=_0x2539a1;}}(_0x2ded65['createPositionBefore'](_0x1138ff))||_0x1138ff;let _0x883200=_0x316ce3['toViewElement'](_0x3ad2db),_0x99b3e6=_0x2ded65['createRangeOn'](_0x3ad2db);const _0xe2b5e1=_0x2ded65['createPositionBefore'](_0x3ad2db)['nodeBefore'];if(_0xe2b5e1&&_0xe2b5e1['is']('element','imageBlock')){const _0x40b6ef=_0x316ce3['toViewElement'](_0xe2b5e1),_0x448eff=_0x278bda['mapViewToDom'](_0x40b6ef),_0x583cf4=_0x106524['window']['getComputedStyle'](_0x448eff)['float'];'left'!=_0x583cf4&&'right'!=_0x583cf4||(_0x99b3e6=_0x2ded65['createRangeOn'](_0xe2b5e1));}for(;_0x883200['parent']!==_0x883200['root']&&0x0===_0x883200['index'];)_0x883200=_0x883200['parent'];const _0x4df9c8=new _0x6ccea8(C(_0x1d55dd)?_0x1d55dd:E(_0x1d55dd)),_0x8bdd3c=_0x2a5b42?_0x4df9c8['height']-_0x2a5b42:0x0,_0x3bdf27=_0x278bda['mapViewToDom'](_0x883200),_0x1c8118=new _0x6ccea8(_0x3bdf27);return new k({'type':'element','modelRange':_0x99b3e6,'domNode':_0x3bdf27,'offset':Math['round'](_0x8bdd3c)||_0x4d7b54!=x(_0x34511b)?_0x8bdd3c+_0x4df9c8['top']-_0x1c8118['top']:0x0});}get['_configuredPaddings'](){const _0x13e4dd=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x13e4dd);}static _findPageStarterInfos(_0x105f1f,_0x2f549d,_0x488178,_0x390605,_0x5ef0b3){return I(_0x105f1f,_0x2f549d,_0x488178,_0x390605,_0x5ef0b3);}},k=class{type;['modelRange'];['_domNode'];_offset;constructor({type:_0x5d0932,modelRange:_0x3c7800,domNode:_0x536e6c,offset:_0x43c0f0}){this['type']=_0x5d0932,this['modelRange']=_0x3c7800,this['_domNode']=_0x536e6c,this['_offset']=_0x43c0f0;}get offset(){if(!this['_domNode']['isConnected'])return 0x0;const _0x42af61=new _0x6ccea8(C(this['_domNode'])?this['_domNode']:E(this['_domNode']));return'manual'==this['type']?_0x42af61['top']+_0x42af61['height']/0x2:_0x42af61['top']+this['_offset'];}};function L(_0x50f480,_0x5a55e9,_0x1c8127){const _0x218491=E(_0x50f480),_0x30a538=function(_0x50e51d){const _0x417699=_0x106524['document']['createRange']();return _0x417699['selectNodeContents'](_0x50e51d),_0x417699;}(_0x1c8127);let _0x63f089;if(0x0==_0x5a55e9){const _0x14411d=_0x1cc0a9(_0x50f480);_0x63f089=R(_0x30a538['startContainer'],_0x30a538['startOffset'],_0x14411d,Array['from'](_0x14411d['childNodes'])['indexOf'](_0x50f480));}else _0x63f089=R(_0x30a538['startContainer'],_0x30a538['startOffset'],_0x50f480,_0x5a55e9);const _0x2edf53=R(_0x50f480,_0x5a55e9,_0x30a538['endContainer'],_0x30a538['endOffset']),_0x4ba5e1=new _0x6ccea8(_0x63f089)['bottom'];return(new _0x6ccea8(_0x2edf53)['top']+_0x4ba5e1)/0x2-new _0x6ccea8(_0x218491)['top'];}function x(_0x3394f0){let _0x400949=_0x3394f0['parent'];for(;_0x400949['is']('$text')||_0x400949['is']('attributeElement');)_0x400949=_0x400949['parent'];return _0x400949;}function N(_0x27e704){return _0x27e704['hasAttribute']('width')&&_0x27e704['hasAttribute']('height')?Promise['resolve']():new Promise(_0x54400e=>{function _0x3e09ab(){_0x27e704['removeEventListener']('load',_0x3e09ab),_0x27e704['removeEventListener']('error',_0x3e09ab),_0x54400e();}_0x27e704['complete']?_0x54400e():(_0x27e704['addEventListener']('load',_0x3e09ab),_0x27e704['addEventListener']('error',_0x3e09ab));});}function _(_0x2bfa81){return new Promise(_0x4135d6=>setTimeout(_0x4135d6,_0x2bfa81));}function E(_0x2e2a81){const _0x2810fe=_0x106524['document']['createRange']();return _0x2810fe['selectNode'](_0x2e2a81),_0x2810fe;}function S(_0xf847d9,_0x189ded,_0x4a5aef){const _0x5b9442=_0x106524['document']['createRange']();return _0x5b9442['setStart'](_0xf847d9,_0x189ded),_0x5b9442['setEnd'](_0xf847d9,_0x4a5aef),_0x5b9442;}function R(_0xd7ad45,_0x9c1ad5,_0x3a15b1,_0x4d5026){const _0x4f1d6a=_0x106524['document']['createRange']();return _0x4f1d6a['setStart'](_0xd7ad45,_0x9c1ad5),_0x4f1d6a['setEnd'](_0x3a15b1,_0x4d5026),_0x4f1d6a;}function I(_0x224b63,_0x63a7b7,_0x27b9ee,_0x41d808,_0x505c26){const _0x450660=[];for(const [_0x15b881,_0x4adfcc]of _0x224b63['childNodes']['entries']()){let _0xdb0e42=[];C(_0x4adfcc)&&_0x4adfcc['offsetParent']&&['static','relative']['includes'](_0x106524['window']['getComputedStyle'](_0x4adfcc)['position'])?_0xdb0e42=K(_0x4adfcc,_0x15b881,_0x63a7b7,_0x27b9ee,_0x41d808,_0x505c26):D(_0x4adfcc)&&(_0xdb0e42=A(_0x4adfcc,_0x15b881,_0x63a7b7,_0x27b9ee,_0x505c26)),_0xdb0e42['length']&&(_0x450660['push'](..._0xdb0e42),_0x63a7b7+=_0xdb0e42['length']*_0x27b9ee,_0x505c26=!0x1);}return _0x450660;}function K(_0x3cd5b7,_0x4a1a5f,_0x581b19,_0x54d9d7,_0x5a2eb8,_0x533fd7){const _0xf5f3a0=[];var _0xfafb02;if((_0xfafb02=_0x3cd5b7['previousSibling'])&&C(_0xfafb02)&&Boolean(_0xfafb02['classList']['contains']('page-break')||_0xfafb02['closest']('.page-break'))&&(_0xf5f3a0['push']({'type':'manual','offset':0x0,'path':[_0x4a1a5f-0x1]}),_0x533fd7=!0x0),'table-row'==_0x106524['window']['getComputedStyle'](_0x3cd5b7)['display']){let _0x81cf7a=0x0,_0x5abfc0=!0x1;for(const _0x35ad19 of _0x3cd5b7['getClientRects']())_0x81cf7a+=_0x35ad19['height'],_0x35ad19['left']>=_0x581b19&&(_0x5abfc0=!0x0);if(_0x81cf7a<_0x5a2eb8&&_0x5abfc0)return _0x533fd7||_0xf5f3a0['push']({'type':'element','offset':0x0,'path':[_0x4a1a5f]}),_0xf5f3a0;}const _0x5c2a07=_0x3cd5b7['closest']('figure.image');if(_0x5c2a07&&function(_0x145e6f){let _0x5823bc=!0x1;const _0x1122a6=_0x27e301(_0x145e6f)['dataset']['rootName'],_0x356c45=_0x145e6f['nextElementSibling'],_0x30f5f0=_0x145e6f['previousElementSibling'],_0x3d1672=_0x356c45&&_0x106524['window']['getComputedStyle'](_0x356c45)['float'],_0x44a2cd=_0x356c45&&'ck-fake-selection-container'===_0x356c45['className'];return!_0x1122a6||_0x356c45||_0x30f5f0||(_0x5823bc=!0x0),_0x1122a6&&!_0x30f5f0&&_0x44a2cd&&(_0x5823bc=!0x0),_0x1122a6&&!_0x30f5f0&&'none'!==_0x3d1672&&(_0x5823bc=!0x0),!_0x5823bc;}(_0x5c2a07)){const _0x195e68=_0x106524['window']['getComputedStyle'](_0x5c2a07)['float'];if('left'==_0x195e68||'right'==_0x195e68)return _0xf5f3a0;}const _0x5a2f62=I(_0x3cd5b7,_0x581b19,_0x54d9d7,_0x5a2eb8,_0x533fd7);if(_0x5a2f62['length']){for(const _0x4e5dcf of _0x5a2f62)_0xf5f3a0['push']({'type':_0x4e5dcf['type'],'offset':_0x4e5dcf['offset'],'textOffset':_0x4e5dcf['textOffset'],'path':[_0x4a1a5f,..._0x4e5dcf['path']]}),_0x581b19+=_0x54d9d7;return _0xf5f3a0;}return _0xf5f3a0['push'](...function(_0x56cf78,_0x140f34,_0x25d3f6,_0x113192,_0xa3e974){const _0x26941b=[];if('table-cell'==_0x106524['window']['getComputedStyle'](_0x56cf78)['display'])return[];const _0x187c15=[];for(const _0x1ae4e1 of _0x56cf78['getClientRects']())if(_0x1ae4e1['left']>=_0x25d3f6){for(const _0x522999 of _0x187c15)_0x522999['height']+=_0x1ae4e1['height'];_0x187c15['push']({'height':_0x1ae4e1['height']}),_0x25d3f6+=_0x113192;}for(const _0x149374 of _0x187c15)_0xa3e974||_0x26941b['push']({'type':'element','offset':_0x149374['height'],'textOffset':0x0,'path':[_0x140f34]}),_0xa3e974=!0x1;return _0x26941b;}(_0x3cd5b7,_0x4a1a5f,_0x581b19,_0x54d9d7,_0x533fd7)),_0xf5f3a0;}function A(_0x40e107,_0x1361c4,_0x3497a0,_0x37b995,_0xd432ca){const _0x371177=E(_0x40e107),_0x59610a=[];let _0x544769=0x0;for(const _0x2818d0 of _0x371177['getClientRects']())if(_0x2818d0['left']>=_0x3497a0){const _0x12c6f6=O(_0x40e107,_0x544769,_0x3497a0,_0x37b995);_0xd432ca||_0x59610a['push']({'type':'text','path':[_0x1361c4],'textOffset':_0x12c6f6}),_0x544769=_0x12c6f6,_0x3497a0+=_0x37b995,_0xd432ca=!0x1;}return _0x59610a;}function O(_0x45b93b,_0x11edf7,_0x3fea9f,_0x552e92){let _0x3ce59f=_0x11edf7,_0x549625=_0x45b93b['length'];for(;_0x549625-_0x3ce59f>0x1;){const _0x3021f1=Math['ceil']((_0x3ce59f+_0x549625)/0x2);U(S(_0x45b93b,_0x3ce59f,_0x3021f1),_0x3fea9f,_0x552e92)?_0x549625=_0x3021f1:_0x3ce59f=_0x3021f1;}return _0x3ce59f;}function U(_0x495371,_0x3e0a52,_0x20333f){for(const _0x55f147 of _0x495371['getClientRects']())if(_0x55f147['left']>=_0x3e0a52&&_0x55f147['left']<_0x3e0a52+_0x20333f)return!0x0;return!0x1;}function C(_0x80a3cc){return _0x80a3cc['nodeType']==Node['ELEMENT_NODE'];}function D(_0x50cbc0){return _0x50cbc0['nodeType']==Node['TEXT_NODE'];}const T=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5c801f('px');var B=class extends _0x2a0961{constructor(){super();const _0x4308ef=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x4308ef['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x4308ef['if']('isVisible','ck-hidden',_0xface27=>!_0xface27)],'style':{'left':_0x4308ef['to']('left',_0xfe84a=>T(_0xfe84a)),'top':_0x4308ef['to']('top',_0x15b262=>T(_0x15b262)),'width':_0x4308ef['to']('width',_0x4e1c8a=>T(_0x4e1c8a))}}});}},G=class{_viewCollection;['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x14e726){this['_viewCollection']=_0x14e726['ui']['view']['body'];}get containerElement(){return this['_viewCollection']['bodyCollectionContainer'];}destroy(){for(const _0x3d8b93 of this['_hiddenLines'])_0x3d8b93['destroy']();}['cleanLines'](){for(const _0x47c128 of this['_visibleLines'])_0x47c128['isVisible']=!0x1,this['_hiddenLines']['add'](_0x47c128);this['_visibleLines']['clear']();}['showLine'](_0x26e224,_0x127e32,_0x2d0339,_0x167da3){let _0x2079aa;this['_hiddenLines']['size']?(_0x2079aa=_0x52794a(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2079aa)):_0x2079aa=new B(),_0x2079aa['set']({'pageNumber':_0x167da3,'left':_0x26e224,'top':_0x127e32,'width':_0x2d0339}),_0x2079aa['isVisible']=!0x0,this['_viewCollection']['has'](_0x2079aa)||this['_viewCollection']['add'](_0x2079aa),this['_visibleLines']['add'](_0x2079aa);}setViewCollection(_0x746326){for(const _0x1a7b98 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1a7b98)&&this['_viewCollection']['remove'](_0x1a7b98);this['_viewCollection']=_0x746326;}};const V='ck-pagination_enabled';var M=class extends _0x5b01aa{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',(_0x33affe,_0x57f1e7,_0x1008b5)=>{_0x1008b5||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](V,_0x1008b5);});}destroy(){this['_toggleEditingRootsClass'](V,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x131f53){if(!this['isEnabled'])return;const _0xaa69eb=_0x131f53>0x1?this['_getPageBreakLineOffset'](_0x131f53-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xaa69eb-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x180781['isMotionReduced']?'instant':'smooth'});}setupScrollableAncestor(){const _0x554da0=this['editor'],_0x1ae18a=this['_getAttachedDomRoot']();_0x1ae18a?(this['_scrollableEditingRootDomAncestor']&&_0x554da0['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=_0x590a5f(_0x1ae18a),_0x554da0['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x3d946c(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x554da0['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x2235da=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x2235da['ui']['view']['listenTo'](_0x106524['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x2235da['ui']['once']('update',()=>this['_onUiReady']());}_getAttachedDomRoot(){for(const _0x273680 of this['editor']['editing']['view']['domRoots']['values']())if(_0x273680['isConnected'])return _0x273680;return null;}_updatePageBreakLines(){if(!this['isEnabled'])return;const _0x4ec83b=this['_getAttachedDomRoot'](),_0x5568cc=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x4ec83b||0x1==_0x5568cc['length'])return void(this['pageNumber']=0x1);const _0x1ca7c2=new _0x6ccea8(_0x4ec83b)['excludeScrollbarsAndBorders'](),_0xdc048f=new _0x6ccea8(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2b9c40=_0xdc048f['top']+_0xdc048f['height']/0x3;let _0x133fca=!0x1;const _0x22c503=[];for(let _0x34ad0a=0x1;_0x34ad0a<_0x5568cc['length'];_0x34ad0a++){const _0x474afa=this['_getPageBreakLineOffset'](_0x34ad0a,_0xdc048f);if(!_0x474afa)continue;const _0x51d5d4=_0xdc048f['top']+_0x474afa-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x22c503['push']({'pageOffsetTop':_0x51d5d4,'domRootRect':_0x1ca7c2,'domScrollableRect':_0xdc048f,'pageNumber':_0x34ad0a}),_0x51d5d4>_0x2b9c40&&!_0x133fca&&(this['pageNumber']=_0x34ad0a,_0x133fca=!0x0);}this['_renderPageBreakLines'](_0x22c503),_0x133fca||(this['pageNumber']=_0x5568cc['length']);}['_renderPageBreakLines'](_0xbfa586){if(!_0xbfa586['length'])return;const {scrollX:_0x32dceb,scrollY:_0x407e2e}=_0x106524['window'],_0x232cff=_0x1ec9a0(this['linesRepository']['containerElement']);let _0x4690db,_0xc60b1c;if(_0x232cff){const _0x4322d6=new _0x6ccea8(_0x232cff);_0x4690db=_0x4322d6['top']+_0x232cff['clientTop']-_0x232cff['scrollTop'],_0xc60b1c=_0x4322d6['left']+_0x232cff['clientLeft']-_0x232cff['scrollLeft'];}else _0x4690db=-_0x407e2e,_0xc60b1c=-_0x32dceb;for(const {domScrollableRect:_0x35d5dd,pageOffsetTop:_0x5edc02,domRootRect:_0x47345b,pageNumber:_0x1dca7d}of _0xbfa586)_0x35d5dd['top']<_0x5edc02&&_0x5edc02<_0x35d5dd['bottom']&&this['linesRepository']['showLine'](_0x47345b['left']-_0xc60b1c,_0x5edc02-_0x4690db,_0x47345b['width'],_0x1dca7d+0x1);}_getPageBreakLineOffset(_0x1a16f8,_0x5b9b73=null){const _0xba651f=this['_paginationLookupPlugin']['pageBreaks'][_0x1a16f8]['offset'];return _0xba651f?(_0x5b9b73||(_0x5b9b73=new _0x6ccea8(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0xba651f-_0x5b9b73['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}_toggleEditingRootsClass(_0x547357,_0x311a19=!0x0){const _0x2ce1d0=this['editor']['editing']['view'];_0x2ce1d0['change'](_0x25b046=>{for(const _0x2081cd of _0x2ce1d0['document']['roots'])_0x311a19?_0x25b046['addClass'](_0x547357,_0x2081cd):_0x25b046['removeClass'](_0x547357,_0x2081cd);});}};function $(_0x12f670,_0x31434c,..._0x48a6c8){const t=_0x12f670['t'];switch(_0x31434c){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)',..._0x48a6c8);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 _0x31434c;}}var j=class extends _0x5b01aa{['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 _0x4a246=this['editor']['plugins']['get']('Pagination'),_0x333b93=this['editor']['plugins']['get'](v),_0x5177e7=this['editor']['plugins']['get'](M);this['bind']('isEnabled')['to'](_0x4a246),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x5177e7),this['listenTo'](_0x333b93,'change:pageBreaks',(_0x461f32,_0x5e1fcf,_0x572262,_0x5344da)=>{this['totalPages']=_0x572262['length'],this['_updatePageBreakMarkers'](_0x572262,_0x5344da);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x348efc=[this['editor']];for(const _0x282cb3 of _0x348efc){let _0x1d5c5d;for(const _0x1e7b9b in _0x282cb3){const _0x2a7e56=_0x1e7b9b,_0x33b969=_0x282cb3[_0x2a7e56];if('paginationLicenseKeyValid'==_0x33b969||'paginationLicenseKeyInvalid'==_0x33b969||'paginationLicenseKeyExpired'==_0x33b969||'paginationLicenseKeyDomainLimit'==_0x33b969||'paginationLicenseKeyNotAllowed'==_0x33b969||'paginationLicenseKeyEvaluationLimit'==_0x33b969||'paginationLicenseKeyUsageLimit'==_0x33b969){delete _0x282cb3[_0x2a7e56],_0x1d5c5d=_0x33b969,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1d5c5d&&_0x282cb3['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1d5c5d&&_0x282cb3['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1d5c5d&&_0x282cb3['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1d5c5d&&_0x282cb3['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1d5c5d&&_0x282cb3['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x1d5c5d&&_0x282cb3['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x38ebfb){this['isEnabled']&&this['editor']['plugins']['get'](M)['scrollToPage'](this['_validatePageNumber'](_0x38ebfb));}moveSelectionToPage(_0x353fbc){if(!this['isEnabled'])return;const _0x14f071=this['editor'],_0x3ed24a=this['editor']['plugins']['get'](v)['pageBreaks'][_0x353fbc-0x1];_0x3ed24a&&_0x14f071['model']['change'](_0x3dbe39=>{switch(_0x3ed24a['type']){case'manual':{const _0x16ce35=_0x14f071['model']['schema']['getNearestSelectionRange'](_0x3ed24a['modelRange']['end'],'forward');_0x3dbe39['setSelection'](_0x16ce35);break;}case'element':{const _0xcce6=_0x14f071['model']['schema']['getNearestSelectionRange'](_0x3ed24a['modelRange']['start'],'forward');_0x3dbe39['setSelection'](_0xcce6);break;}case'text':{const _0x5a8647=_0x3ed24a['modelRange']['start'];if(_0x5a8647['textNode']&&'\x20'===_0x5a8647['textNode']['data'][_0x5a8647['offset']]){const _0xa88e85=_0x3dbe39['createPositionAt'](_0x5a8647['parent'],_0x5a8647['offset']+0x1);_0x3dbe39['setSelection'](_0xa88e85);}else _0x3dbe39['setSelection'](_0x3ed24a['modelRange']);}}_0x14f071['editing']['view']['focus']();});}goToNextPage(){const _0x2ac9fb=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x2ac9fb),this['scrollToPage'](_0x2ac9fb);}['goToPreviousPage'](){const _0x11cb8f=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x11cb8f),this['scrollToPage'](_0x11cb8f);}_updatePageBreakMarkers(_0x54cf93,_0x5a7cea){const _0x42844d=this['editor']['model'];this['isEnabled']&&_0x42844d['change'](_0x38ae95=>{for(let _0x51dfad=0x1;_0x51dfad<_0x54cf93['length'];_0x51dfad++){const _0x29aaa4=_0x54cf93[_0x51dfad]['modelRange'],_0x54e198='pagination:'+(_0x51dfad+0x1);_0x42844d['markers']['has'](_0x54e198)?_0x38ae95['updateMarker'](_0x54e198,{'range':_0x29aaa4}):_0x38ae95['addMarker'](_0x54e198,{'range':_0x29aaa4,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x13dbbb=_0x54cf93['length'];_0x13dbbb<_0x5a7cea['length'];_0x13dbbb++){const _0x4a856b='pagination:'+(_0x13dbbb+0x1);_0x42844d['markers']['has'](_0x4a856b)&&_0x38ae95['removeMarker'](_0x4a856b);}});}_setUpDataDowncastConversion(){this['editor']['conversion']['for']('dataDowncast')['add'](_0x4768ec=>{_0x4768ec['on']('addMarker:pagination',(_0x204d5b,{markerRange:_0x569049,markerName:_0x2e5f81},_0x5cea5e)=>{if(!_0x5cea5e['options']['pagination'])return;if(!_0x5cea5e['consumable']['consume'](_0x569049,_0x204d5b['name']))return;const _0x217175=_0x569049['getContainedElement']();let _0x94f163=_0x217175?_0x5cea5e['mapper']['toViewElement'](_0x217175):null;if(!_0x94f163){const _0x363d3e=_0x569049['start'];if(_0x5cea5e['schema']['checkChild'](_0x363d3e,'$text')){const _0x18d92c=_0x5cea5e['mapper']['toViewPosition'](_0x363d3e);_0x94f163=_0x5cea5e['writer']['createContainerElement']('span'),_0x94f163['getFillerOffset']=()=>null,_0x5cea5e['writer']['insert'](_0x18d92c,_0x94f163);}else{const _0x8002fd=_0x363d3e['nodeAfter'];_0x94f163=_0x5cea5e['mapper']['toViewElement'](_0x8002fd);}}for(;_0x94f163['parent']!==_0x94f163['root']&&0x0===_0x94f163['index'];)_0x94f163=_0x94f163['parent'];const _0x29afe9=_0x2e5f81['substring'](0xb);_0x94f163['hasClass']('page-break')||(_0x5cea5e['writer']['setStyle']('page-break-before','always',_0x94f163),_0x5cea5e['writer']['setAttribute']('data-pagination-page',_0x29afe9,_0x94f163),_0x5cea5e['mapper']['bindElementToMarker'](_0x94f163,_0x2e5f81)),_0x204d5b['stop']();});});}_setupKeystrokes(){const _0x5cb544=this['editor'];_0x5cb544['keystrokes']['set']('Shift+Pageup',(_0x3eb1c6,_0x4433d2)=>{this['goToPreviousPage'](),_0x4433d2();}),_0x5cb544['keystrokes']['set']('Shift+Pagedown',(_0x37ea97,_0x13ff50)=>{this['goToNextPage'](),_0x13ff50();}),_0x5cb544['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':$(_0x5cb544['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':$(_0x5cb544['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':$(_0x5cb544['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}_validatePageNumber(_0x1605d7){return _0x1605d7<0x1&&(_0x1605d7=0x1),_0x1605d7>this['totalPages']&&(_0x1605d7=this['totalPages']),_0x1605d7;}},q=class extends _0x2a0961{['pageNumberView'];constructor(_0x5e7cde){super(_0x5e7cde);const _0x3482d3=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x3f0adb(_0x5e7cde,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x34d150=>$(_0x5e7cde,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x34d150)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x3b7888=>!_0x3b7888),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3482d3['if']('isEnabled','ck-disabled',_0x4e6257=>!_0x4e6257)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3482d3['to']('totalPages')}]}]});}['render'](){super['render']();const _0x5622bf=this['pageNumberView']['element'],_0x11d63b=_0x670a55=>{this['pageNumberView']['element']['value']=String(_0x670a55);};_0x11d63b(this['pageNumber']),this['on']('change:pageNumber',(_0x5ef4f3,_0x170b58,_0x49663b)=>{_0x11d63b(_0x49663b);}),this['listenTo'](_0x5622bf,'keydown',(_0x1371d7,_0x1654b5)=>{if('ArrowUp'===_0x1654b5['key']||'ArrowDown'===_0x1654b5['key'])return void _0x1654b5['stopPropagation']();if(_0x1654b5['keyCode']!==_0x1c052c['enter'])return;_0x1654b5['preventDefault']();const _0x365c90=_0x5622bf['valueAsNumber'];Number['isNaN'](_0x365c90)?_0x5622bf['value']=String(this['pageNumber']):(_0x5622bf['checkValidity']()?this['pageNumber']=_0x365c90:_0x365c90>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x5622bf['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x5622bf['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x5622bf,'blur',()=>{_0x5622bf['value']=String(this['pageNumber']);}),this['listenTo'](_0x5622bf,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},F=class extends _0x5b01aa{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x256f84=this['editor'],_0x590e92=_0x256f84['plugins']['get']('PaginationEditing');_0x256f84['ui']['componentFactory']['add']('pageNavigation',_0xd53199=>{const _0x26cc12=new q(_0xd53199);return _0x26cc12['bind']('pageNumber')['to'](_0x590e92),_0x26cc12['bind']('totalPages')['to'](_0x590e92),_0x26cc12['bind']('isEnabled')['to'](_0x590e92),_0x26cc12['on']('navigation',(_0x38d9d3,_0x4e54ac)=>{_0x590e92['moveSelectionToPage'](_0x4e54ac),_0x590e92['scrollToPage'](_0x4e54ac);}),_0x26cc12;}),_0x256f84['ui']['componentFactory']['add']('nextPage',_0x5c5034=>{const _0x11e00f=new _0x7f7cd5(_0x5c5034);return _0x11e00f['isEnabled']=!0x0,_0x11e00f['label']=$(_0x256f84['locale'],'Go\x20to\x20next\x20page'),_0x11e00f['icon']=_0x458f26,_0x11e00f['tooltip']=!0x0,_0x11e00f['keystroke']='Shift+PageDown',_0x11e00f['bind']('isEnabled')['to'](_0x590e92),this['listenTo'](_0x11e00f,'execute',()=>{_0x590e92['goToNextPage']();}),_0x11e00f;}),_0x256f84['ui']['componentFactory']['add']('previousPage',_0x29022a=>{const _0x4e2fc6=new _0x7f7cd5(_0x29022a);return _0x4e2fc6['isEnabled']=!0x0,_0x4e2fc6['label']=$(_0x256f84['locale'],'Go\x20to\x20previous\x20page'),_0x4e2fc6['icon']=_0x3af34f,_0x4e2fc6['tooltip']=!0x0,_0x4e2fc6['keystroke']='Shift+PageUp',_0x4e2fc6['bind']('isEnabled')['to'](_0x590e92),this['listenTo'](_0x4e2fc6,'execute',()=>{_0x590e92['goToPreviousPage']();}),_0x4e2fc6;});}},H=class extends _0x5b01aa{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[j,F];}constructor(_0x542452){super(_0x542452),this['isEnabled']=!0x1;}init(){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x505383=this['editor']['plugins']['get'](j);this['bind']('pageNumber')['to'](_0x505383),this['bind']('totalPages')['to'](_0x505383),_0x180781['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x7821ad){this['editor']['plugins']['get'](j)['scrollToPage'](_0x7821ad);}};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']||={});
|