@ckeditor/ckeditor5-list-multi-level 48.0.0-alpha.1 → 48.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x443f55,Plugin as _0xf008f7}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x2796d4,ViewUpcastWriter as _0x3a895a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x3d8ff7}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x5628a9,createElement as _0x15d9ae,uid as _0x2a5a3b,FocusTracker as _0x18eae1,KeystrokeHandler as _0x2e080f,global as _0x4ad6b6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x1afc8a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x212304,ViewCollection as _0x16c526,FocusCycler as _0x267e02,addKeyboardHandlingForGrid as _0x5831f1,CollapsibleView as _0x22b12d,LabeledFieldView as _0x1fee0b,createLabeledInputNumber as _0x4710c8,MenuBarMenuListItemButtonView as _0xc1b53a,ButtonView as _0x3b3cb9,createDropdown as _0xbfb364,SplitButtonView as _0x205ec9}from'@ckeditor/ckeditor5-ui/dist/index.js';class x extends _0x443f55{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x27156b,_0x1193eb,_0x4f9693){super(_0x27156b),this['defaultListMarkerStyle']=_0x1193eb,this['_listDefinitions']=_0x4f9693,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5d8a1f={}){const _0x29b7d1=this['editor']['model'],_0x1e6c83=_0x5d8a1f['listMarkerStyle']||this['defaultListMarkerStyle'];_0x29b7d1['change'](()=>{const _0x5e267f=this['_getListTypeFromListMarkerStyle'](_0x1e6c83);if(!_0x5e267f)return;const _0x1408ac=_0x5e267f+'List';this['editor']['execute'](_0x1408ac,{'additionalAttributes':{'listMarkerStyle':_0x1e6c83}});});}['_getValue'](){const _0x5b6041=_0x5628a9(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x5b6041)?_0x5b6041['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x3195ba=this['editor'],_0xe63491=_0x3195ba['commands']['get']('customNumberedList'),_0x552e31=_0x3195ba['commands']['get']('customBulletedList');return _0xe63491['isEnabled']||_0x552e31['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x44d5f6){const _0x4a100e=this['_listDefinitions']['find'](_0x3a5710=>_0x3a5710['listMarkerStyle']==_0x44d5f6);return _0x4a100e?_0x4a100e['listType']:null;}}class I extends _0xf008f7{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3d8ff7];}constructor(_0x2ed37e){super(_0x2ed37e);const _0x43e0f8=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x27968b=>_0x27968b+'.'}]},..._0x43e0f8];}['init'](){const _0x3e567b=this['editor'],_0x32d556=_0x3e567b['model'],_0x53b975=_0x3e567b['editing']['view'],_0xe528e2=_0x3e567b['plugins']['get'](_0x3d8ff7);_0x3e567b['commands']['add']('multiLevelList',new x(_0x3e567b,'legal',this['_listDefinitions'])),_0x32d556['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x32d556['schema']['addAttributeCheck']((_0xa54b54,_0x25f22b)=>{const _0x2b2b4e=_0xa54b54['last'];if('listMarker'==_0x25f22b||'listMarkerStyle'==_0x25f22b)return!(!_0x2b2b4e['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x42604e=>_0x42604e['listType']==_0x2b2b4e['getAttribute']('listType')))&&void 0x0;});for(const _0x2ac38e of this['_listDefinitions'])_0x3e567b['conversion']['for']('upcast')['add'](_0x4a807d=>{_0x4a807d['on']('element:'+('customNumbered'==_0x2ac38e['listType']?'ol':'ul'),_(_0x2ac38e,_0x32d556['schema']),{'priority':'low'});}),_0xe528e2['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x172c18,_0x27eeea,_0x57802e){_0x27eeea==_0x2ac38e['listMarkerStyle']?(_0x172c18['addClass'](['multi-level-list',_0x2ac38e['className']],_0x57802e),_0x172c18['setStyle']('list-style-type','none',_0x57802e)):(_0x172c18['removeClass'](['multi-level-list',_0x2ac38e['className']],_0x57802e),_0x172c18['removeStyle']('list-style-type',_0x57802e));}}),_0xe528e2['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x5d2e38,_0x34da6a,{dataPipeline:_0x28191c}){if(!_0x34da6a['hasAttribute']('listMarker'))return null;if(_0x34da6a['getAttribute']('listType')!=_0x2ac38e['listType']||_0x34da6a['getAttribute']('listMarkerStyle')!=_0x2ac38e['listMarkerStyle'])return null;const _0x538a51=String(_0x34da6a['getAttribute']('listMarker')),_0x46ca3a=this['canInjectMarkerIntoElement'](_0x34da6a);return _0x5d2e38['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x28191c&&{'contenteditable':'false','data-multi-level-list-marker':_0x538a51}},function(_0x56527c){const _0x268533=this['toDomElement'](_0x56527c);return _0x46ca3a?(_0x268533['appendChild'](_0x15d9ae(_0x56527c,'span',{},_0x28191c?_0x56527c['createTextNode'](_0x538a51):[])),_0x268533['appendChild'](_0x56527c['createTextNode']('\u00a0'))):_0x28191c&&_0x268533['appendChild'](_0x56527c['createTextNode'](_0x538a51)),_0x268533;});},'canInjectMarkerIntoElement':_0x31376a=>_0x32d556['schema']['checkChild'](_0x31376a,'$text')&&_0x32d556['schema']['checkChild'](_0x31376a,'$inlineObject')&&!_0x32d556['schema']['isLimit'](_0x31376a)&&_0x31376a['getAttribute']('listType')==_0x2ac38e['listType']&&_0x31376a['getAttribute']('listMarkerStyle')==_0x2ac38e['listMarkerStyle']});_0x3e567b['conversion']['for']('upcast')['add'](_0x2ae2a1=>{_0x2ae2a1['on']('element:span',function(_0x127507){return(_0x4882a5,_0x532a45,{writer:_0x45653c,consumable:_0x5dd141})=>{const _0x2dc1d7=_0x532a45['modelCursor'],_0x3ec385=_0x2dc1d7['parent'],_0x4a7d27=_0x532a45['viewItem'];if(_0x5dd141['consume'](_0x4a7d27,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x2dc1d7['isAtStart']&&_0x3ec385['hasAttribute']('listType')&&_0x4a7d27['childCount']>0x0){const _0x1c7b61=_0x127507['createRangeIn'](_0x4a7d27);let _0xac4617='';for(const _0x505776 of _0x1c7b61['getItems']())_0x505776['is']('$textProxy')?(_0xac4617+=_0x505776['data']['trim'](),_0x5dd141['consume'](_0x505776['textNode'])):_0x5dd141['consume'](_0x505776,{'name':!0x0});_0x45653c['setAttribute']('listMarker',_0xac4617['trim'](),_0x3ec385);}};}(_0x53b975));}),_0xe528e2['on']('postFixer',(_0x44be05,{listNodes:_0x1f7df3,writer:_0x2437be})=>{const _0x13b6a8=[];for(const {node:_0x304aab,previousNodeInList:_0x6b7e39}of _0x1f7df3){const _0x55b7d6=_0x304aab['getAttribute']('listType'),_0x4bf741=_0x304aab['getAttribute']('listMarkerStyle')||('customNumbered'==_0x55b7d6?'legal':void 0x0),_0xec43c7=this['_listDefinitions']['find'](_0xad8967=>_0xad8967['listType']==_0x55b7d6&&_0xad8967['listMarkerStyle']==_0x4bf741);if('customNumbered'!=_0x55b7d6&&'customBulleted'!=_0x55b7d6&&(_0x304aab['hasAttribute']('listMarker')&&(_0x2437be['removeAttribute']('listMarker',_0x304aab),_0x44be05['return']=!0x0),_0x304aab['hasAttribute']('listMarkerStyle')&&(_0x2437be['removeAttribute']('listMarkerStyle',_0x304aab),_0x44be05['return']=!0x0)),!_0xec43c7){'customBulleted'!=_0x55b7d6||_0x4bf741||(_0x2437be['setAttribute']('listType','bulleted',_0x304aab),_0x44be05['return']=!0x0);continue;}_0x304aab['hasAttribute']('listMarkerStyle')||(_0x2437be['setAttribute']('listMarkerStyle',_0x4bf741,_0x304aab),_0x44be05['return']=!0x0);const _0x52a802=_0x304aab['getAttribute']('listIndent');if(_0x6b7e39&&_0x6b7e39['getAttribute']('listItemId')==_0x304aab['getAttribute']('listItemId'))continue;_0x13b6a8['length']=_0x52a802+0x1,_0x6b7e39||_0x13b6a8[_0x52a802]?_0x6b7e39&&_0x6b7e39['getAttribute']('listType')!=_0xec43c7['listType']?_0x13b6a8[_0x52a802]=0x1:_0x13b6a8[_0x52a802]++:_0x13b6a8[_0x52a802]=_0x304aab['getAttribute']('listStart')||0x1;const _0x1d42e9=S(_0x52a802,_0xec43c7,_0x13b6a8);_0x304aab['getAttribute']('listMarker')!=_0x1d42e9&&(_0x2437be['setAttribute']('listMarker',_0x1d42e9,_0x304aab),_0x44be05['return']=!0x0);}});const _0x53a7bb=_0x3e567b['editing']['view']['document'];this['listenTo'](_0x53a7bb,'clipboardOutput',(_0xde13bc,_0x2762d8)=>{const _0x41a384=new _0x2796d4({'name':'span','classes':'multi-level-list__marker'}),_0x1c4638=new _0x2796d4({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x3b521a=new _0x3a895a(_0x2762d8['content']['document']),_0x5aa7fc=[];for(const _0x4971bf of _0x3b521a['createRangeIn'](_0x2762d8['content'])['getItems']())_0x4971bf['is']('element')&&_0x41a384['match'](_0x4971bf)&&_0x5aa7fc['push'](_0x4971bf),_0x4971bf['is']('element')&&_0x1c4638['match'](_0x4971bf)&&_0x3b521a['removeStyle']('list-style-type',_0x4971bf);for(const _0x5a4ecc of _0x5aa7fc)_0x3b521a['remove'](_0x5a4ecc);});}['afterInit'](){!async function(_0xebbf18){const _0x557a4e=_0x234239([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x2f1b9e=0xf46a94a,_0xced638=0xf412daa^_0x2f1b9e,_0x1d6f29=window[_0x234239([0x44,0x61,0x74,0x65])][_0x234239([0x6e,0x6f,0x77])](),_0x56349f=_0xebbf18[_0x234239([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x58bd85=new window[(_0x234239([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269632=>{_0x56349f[_0x234239([0x6f,0x6e,0x63,0x65])](_0x234239([0x72,0x65,0x61,0x64,0x79]),_0x269632);}),_0x35131f={[_0x234239([0x6b,0x74,0x79])]:_0x234239([0x45,0x43]),[_0x234239([0x75,0x73,0x65])]:_0x234239([0x73,0x69,0x67]),[_0x234239([0x63,0x72,0x76])]:_0x234239([0x50,0x2d,0x32,0x35,0x36]),[_0x234239([0x78])]:_0x234239([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x234239([0x79])]:_0x234239([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x234239([0x61,0x6c,0x67])]:_0x234239([0x45,0x53,0x32,0x35,0x36])},_0x5cd063=_0x56349f[_0x234239([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x234239([0x67,0x65,0x74])](_0x234239([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57d1e3(){let _0x19fc15,_0x15c9ae=null,_0x1c934f=null;try{if(_0x5cd063==_0x234239([0x47,0x50,0x4c]))return _0x234239([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x19fc15=_0x4f1b9f(),!_0x19fc15)return _0x234239([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x19fc15[_0x234239([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c934f=_0x43cc92(_0x19fc15[_0x234239([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x19fc15[_0x234239([0x6a,0x74,0x69])])),await _0x1e69dd()?_0x171e72()?_0x5e5b09()?_0x234239([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x567854()?(_0x19fc15[_0x234239([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x234239([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15c9ae=_0x30c73f(_0x234239([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56bf06()):_0x234239([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x234239([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x234239([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x234239([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e5b09(){const _0xa05e01=[_0x234239([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x234239([0x74,0x72,0x69,0x61,0x6c])][_0x234239([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19fc15[_0x234239([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d6f29/0x3e8:0xe10*_0xced638;return _0x19fc15[_0x234239([0x65,0x78,0x70])]<_0xa05e01;}function _0x171e72(){const _0x5c5f54=_0x19fc15[_0x234239([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c5f54&&(!!_0x5c5f54[_0x234239([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234239([0x2a]))||!!_0x5c5f54[_0x234239([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234239([0x4d,0x4c,0x4c])));}function _0x567854(){const _0x2c4a21=_0x19fc15[_0x234239([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c4a21||0x0==_0x2c4a21[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfb90d6}=new URL(window[_0x234239([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c4a21[_0x234239([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb90d6))return!0x0;const _0x46459f=_0xfb90d6[_0x234239([0x73,0x70,0x6c,0x69,0x74])](_0x234239([0x2e]));return _0x2c4a21[_0x234239([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3217a0=>_0x3217a0[_0x234239([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x234239([0x2a])))[_0x234239([0x6d,0x61,0x70])](_0x1d590d=>_0x1d590d[_0x234239([0x73,0x70,0x6c,0x69,0x74])](_0x234239([0x2e])))[_0x234239([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2da49f=>_0x2da49f[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46459f[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x234239([0x6d,0x61,0x70])](_0x29dc08=>Array(_0x46459f[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29dc08[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x234239([0x66,0x69,0x6c,0x6c])](_0x29dc08[0x0]===_0x234239([0x2a])?_0x234239([0x2a]):'')[_0x234239([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29dc08))[_0x234239([0x73,0x6f,0x6d,0x65])](_0x23e71f=>_0x46459f[_0x234239([0x65,0x76,0x65,0x72,0x79])]((_0x793a1,_0xf82118)=>_0x23e71f[_0xf82118]===_0x793a1||_0x23e71f[_0xf82118]===_0x234239([0x2a])));}function _0x56bf06(){return _0x15c9ae&&_0x1c934f?new window[(_0x234239([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x215305,_0xd8c044)=>{_0x15c9ae[_0x234239([0x74,0x68,0x65,0x6e])](_0x215305,_0xd8c044),_0x1c934f[_0x234239([0x74,0x68,0x65,0x6e])](_0x374abf=>{_0x374abf!=_0x234239([0x56,0x61,0x6c,0x69,0x64])&&_0x215305(_0x374abf);},_0xd8c044);}):_0x15c9ae||_0x1c934f||_0x234239([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43cc92(_0xbc7d33,_0x1898e2){return new window[(_0x234239([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ac838=>{if(_0xfa3fbb())return _0x1ac838(_0x234239([0x56,0x61,0x6c,0x69,0x64]));_0x1821d8(),_0x56349f[_0x234239([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x234239([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x468d1e=!0x1;const _0x5062c6=_0x2a5a3b();function _0x2aa6dc(_0x1b1dc0){return!!_0x1b1dc0&&(typeof _0x1b1dc0===_0x234239([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b1dc0===_0x234239([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b1dc0[_0x234239([0x74,0x68,0x65,0x6e])]===_0x234239([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b1dc0[_0x234239([0x63,0x61,0x74,0x63,0x68])]===_0x234239([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d507b(_0x40c1e6){_0x26fc82(_0x40c1e6)[_0x234239([0x74,0x68,0x65,0x6e])](_0x288646=>{if(!_0x288646||_0x288646[_0x234239([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x234239([0x6f,0x6b]))return _0x234239([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x168114(_0x45efba(_0x5062c6+_0x1898e2))!=_0x288646[_0x234239([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x234239([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x234239([0x56,0x61,0x6c,0x69,0x64]);})[_0x234239([0x74,0x68,0x65,0x6e])](_0x33ce5f=>(_0xcbd046(),_0x33ce5f),()=>{const _0x1ec9d8=_0x451ba1();return null==_0x1ec9d8?(_0xcbd046(),_0x234239([0x56,0x61,0x6c,0x69,0x64])):_0x234239(_0x1d6f29-_0x1ec9d8>(0x2b4a2d4a^_0x2f1b9e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x234239([0x74,0x68,0x65,0x6e])](_0x1ac838)[_0x234239([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ac838(_0x234239([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x149a24=0xf7047ca^_0x2f1b9e;function _0xcbd046(){const _0x165046=_0x234239([0x6c,0x6c,0x63,0x74,0x2d])+_0x168114(_0x45efba(_0xbc7d33)),_0x50405a=_0x727fe4(_0x168114(window[_0x234239([0x4d,0x61,0x74,0x68])][_0x234239([0x63,0x65,0x69,0x6c])](_0x1d6f29/_0x149a24)));window[_0x234239([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x234239([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x165046,_0x50405a);}function _0x451ba1(){const _0x556488=_0x234239([0x6c,0x6c,0x63,0x74,0x2d])+_0x168114(_0x45efba(_0xbc7d33)),_0x580fa0=window[_0x234239([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x234239([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x556488);return _0x580fa0?window[_0x234239([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x727fe4(_0x580fa0),0x10)*_0x149a24:null;}function _0x26fc82(_0x3412a7){return new window[(_0x234239([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ea30e,_0x367e6a)=>{_0x3412a7[_0x234239([0x74,0x68,0x65,0x6e])](_0x3ea30e,_0x367e6a),window[_0x234239([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x367e6a,0xf477d8a^_0x2f1b9e);});}}_0x56349f[_0x234239([0x6f,0x6e])](_0x234239([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1852de,_0x5e1af1)=>{if(_0x5e1af1[0x0]!=_0xbc7d33)return _0x1ac838(_0x234239([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e1af1[0x1]={..._0x5e1af1[0x1],[_0x234239([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5062c6};},{[_0x234239([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x234239([0x68,0x69,0x67,0x68])}),_0x56349f[_0x234239([0x6f,0x6e])](_0x234239([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54df87=>{_0x2aa6dc(_0x54df87[_0x234239([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x468d1e=!0x0,_0x2d507b(_0x54df87[_0x234239([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x234239([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x234239([0x6c,0x6f,0x77])}),_0x58bd85[_0x234239([0x74,0x68,0x65,0x6e])](()=>{_0x468d1e||_0x1ac838(_0x234239([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfa3fbb(){return _0x56349f[_0x234239([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x234239([0x76,0x69,0x65,0x77])][_0x234239([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x234239([0x61,0x75,0x74,0x6f]);}function _0x1821d8(){_0x56349f[_0x234239([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x234239([0x76,0x69,0x65,0x77])][_0x234239([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x234239([0x61,0x75,0x74,0x6f]);}}function _0x30c73f(_0xd61096){const _0x3a5f31=[new window[(_0x234239([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44f85e=>setTimeout(_0x44f85e,0xf4f9786^_0x2f1b9e)),_0x58bd85[_0x234239([0x74,0x68,0x65,0x6e])](()=>new window[(_0x234239([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42da08=>{let _0x488ebf=0x0;_0x56349f[_0x234239([0x6d,0x6f,0x64,0x65,0x6c])][_0x234239([0x6f,0x6e])](_0x234239([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ac390,_0x40d44d)=>{_0x40d44d[0x0][_0x234239([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x488ebf++,_0x488ebf==(0xf46aca2^_0x2f1b9e)&&(_0x42da08(),_0x5ac390[_0x234239([0x6f,0x66,0x66])]());});}))];return window[_0x234239([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x234239([0x72,0x61,0x63,0x65])](_0x3a5f31)[_0x234239([0x74,0x68,0x65,0x6e])](()=>_0xd61096);}async function _0xa135e8(){await _0x58bd85,_0x56349f[_0x234239([0x6d,0x6f,0x64,0x65,0x6c])][_0x234239([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51792a,_0x56349f[_0x234239([0x6d,0x6f,0x64,0x65,0x6c])][_0x234239([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51792a,_0x56349f[_0x234239([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x234239([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e61c2(_0x1f8ddd){const _0x6085c3=_0x583aba();_0x56349f[_0x6085c3]=_0x234239([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f8ddd,_0x1f8ddd!=_0x234239([0x56,0x61,0x6c,0x69,0x64])&&_0xa135e8();}function _0x583aba(){const _0x8c7bb4=window[_0x234239([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x234239([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x234239([0x6e,0x6f,0x77])]())[_0x234239([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x234239([0x2e]),'');let _0x38a891=_0x234239([0x75]);for(let _0x5bf67f=0x0;_0x5bf67f<_0x8c7bb4[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bf67f+=0x2){let _0x4995c7=window[_0x234239([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8c7bb4[_0x234239([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bf67f,_0x5bf67f+0x2));_0x4995c7>=_0x557a4e[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4995c7-=_0x557a4e[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38a891+=_0x557a4e[_0x4995c7];}return _0x38a891;}function _0x4f1b9f(){const _0x252043=_0x5cd063[_0x234239([0x73,0x70,0x6c,0x69,0x74])](_0x234239([0x2e]));if(0x3!=_0x252043[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4679d8(_0x252043[0x1]);function _0x4679d8(_0x5b2016){const _0x2980eb=_0x130be0(_0x5b2016);return _0x2980eb&&_0x1403a2()?_0x2980eb:null;function _0x1403a2(){const _0x37e2ea=_0x2980eb[_0x234239([0x6a,0x74,0x69])],_0x4b252c=window[_0x234239([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37e2ea[_0x234239([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37e2ea[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x360f88={..._0x2980eb,[_0x234239([0x6a,0x74,0x69])]:_0x37e2ea[_0x234239([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37e2ea[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x360f88[_0x234239([0x76,0x63])],_0x45efba(_0x360f88)==_0x4b252c;}}}async function _0x1e69dd(){let _0x42c15b=!0x0;try{const _0x2405c7=_0x5cd063[_0x234239([0x73,0x70,0x6c,0x69,0x74])](_0x234239([0x2e])),[_0x35d3b6,_0x5d406b,_0x2a44b2]=_0x2405c7;return _0x865b09(_0x35d3b6),await _0x5e26bf(_0x35d3b6,_0x5d406b,_0x2a44b2),_0x42c15b;}catch{return!0x1;}function _0x865b09(_0x3556c2){const _0x224a8a=_0x130be0(_0x3556c2);_0x224a8a&&_0x224a8a[_0x234239([0x61,0x6c,0x67])]==_0x234239([0x45,0x53,0x32,0x35,0x36])||(_0x42c15b=!0x1);}async function _0x5e26bf(_0x65d12d,_0x162f2d,_0x30a7f3){const _0x418608=window[_0x234239([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x234239([0x66,0x72,0x6f,0x6d])](_0x295498(_0x30a7f3),_0x3e0788=>_0x3e0788[_0x234239([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x122f49=new window[(_0x234239([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x234239([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x65d12d+_0x234239([0x2e])+_0x162f2d),_0x4526f2=window[_0x234239([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x234239([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4526f2)return;const _0x3467a5=await _0x4526f2[_0x234239([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x234239([0x6a,0x77,0x6b]),_0x35131f,{[_0x234239([0x6e,0x61,0x6d,0x65])]:_0x234239([0x45,0x43,0x44,0x53,0x41]),[_0x234239([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x234239([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x234239([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4526f2[_0x234239([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x234239([0x6e,0x61,0x6d,0x65])]:_0x234239([0x45,0x43,0x44,0x53,0x41]),[_0x234239([0x68,0x61,0x73,0x68])]:{[_0x234239([0x6e,0x61,0x6d,0x65])]:_0x234239([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3467a5,_0x418608,_0x122f49)||(_0x42c15b=!0x1);}}function _0x130be0(_0x3c719a){return _0x3c719a[_0x234239([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x234239([0x65,0x79]))?JSON[_0x234239([0x70,0x61,0x72,0x73,0x65])](_0x295498(_0x3c719a)):null;}function _0x295498(_0x522161){return window[_0x234239([0x61,0x74,0x6f,0x62])](_0x522161[_0x234239([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x234239([0x2b]))[_0x234239([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x234239([0x2f])));}function _0x45efba(_0x353ca4){let _0x5e8aa6=0x1505;function _0x28e307(_0x28b785){for(let _0x590577=0x0;_0x590577<_0x28b785[_0x234239([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x590577++){const _0x32ee7e=_0x28b785[_0x234239([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x590577);_0x5e8aa6=(_0x5e8aa6<<0x5)+_0x5e8aa6+_0x32ee7e,_0x5e8aa6&=_0x5e8aa6;}}function _0x599fa6(_0x47c025){Array[_0x234239([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47c025)?_0x47c025[_0x234239([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x599fa6):_0x47c025&&typeof _0x47c025==_0x234239([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x234239([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47c025)[_0x234239([0x73,0x6f,0x72,0x74])]()[_0x234239([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c0025,_0x21122a])=>{_0x28e307(_0x2c0025),_0x599fa6(_0x21122a);}):_0x28e307(window[_0x234239([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47c025));}return _0x599fa6(_0x353ca4),_0x5e8aa6>>>0x0;}function _0x168114(_0x15b95b){return _0x15b95b[_0x234239([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x234239([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x234239([0x30]));}function _0x727fe4(_0x307711){return _0x307711[_0x234239([0x73,0x70,0x6c,0x69,0x74])]('')[_0x234239([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x234239([0x6a,0x6f,0x69,0x6e])]('');}function _0x51792a(){}function _0x234239(_0x313b80){return _0x313b80['map'](_0x4a20b0=>String['fromCharCode'](_0x4a20b0))['join']('');}_0x5e61c2(await _0x57d1e3());}(this);}}function S(_0x7b2207,_0x4dcff3,_0x54616d){let _0x43eddc=_0x4dcff3['listMarkers'][_0x7b2207%_0x4dcff3['listMarkers']['length']];if(void 0x0===_0x43eddc['showMarkerPath']||_0x43eddc['showMarkerPath'])return _0x54616d['slice'](0x0,_0x7b2207+0x1)['map']((_0x49c1eb,_0x467aae)=>(_0x43eddc=_0x4dcff3['listMarkers'][_0x467aae%_0x4dcff3['listMarkers']['length']],N(_0x43eddc['marker'],_0x49c1eb)))['join']('');{const _0x2d1662=_0x54616d[_0x54616d['length']-0x1];return N(_0x43eddc['marker'],_0x2d1662);}}function N(_0x87b60f,_0x447c7b){return'function'==typeof _0x87b60f?_0x87b60f(_0x447c7b):_0x87b60f;}function _(_0x4078af,_0x4b2b59){return(_0x3f4ed0,_0x326934,_0x290008)=>{const _0x36c0e0=_0x326934['viewItem'];if(_0x326934['modelRange']||Object['assign'](_0x326934,_0x290008['convertChildren'](_0x326934['viewItem'],_0x326934['modelCursor'])),!_0x290008['consumable']['test'](_0x36c0e0,{'classes':_0x4078af['className']}))return;const _0x204d1c=Array['from'](_0x326934['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x17b3dd=>_0x4b2b59['checkAttribute'](_0x17b3dd,'listItemId'));if(!_0x204d1c['length'])return;_0x290008['consumable']['consume'](_0x36c0e0,{'classes':_0x4078af['className']}),_0x290008['consumable']['consume'](_0x36c0e0,{'classes':'multi-level-list'}),_0x290008['consumable']['consume'](_0x36c0e0,{'styles':'list-style-type'});const _0x533e03=_0x204d1c[0x0]['getAttribute']('listIndent');for(const _0xf53b68 of _0x204d1c)_0xf53b68['getAttribute']('listIndent')==_0x533e03&&(_0x290008['writer']['setAttribute']('listType',_0x4078af['listType'],_0xf53b68),_0x290008['writer']['setAttribute']('listMarkerStyle',_0x4078af['listMarkerStyle'],_0xf53b68));};}function P(_0x4b394f,_0x623100){const _0x2c39c8=_0x4b394f['t'],t=_0x4b394f['t'];switch(_0x623100){case'Start\x20at':return _0x2c39c8('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x2c39c8('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x2c39c8('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x2c39c8('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x623100;}}class K extends _0x212304{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x18eae1();['keystrokes']=new _0x2e080f();['focusables']=new _0x16c526();['focusCycler'];constructor(_0x158c17,{enabledProperties:_0x35a9ba,styleButtonViews:_0x5b5778,styleGridAriaLabel:_0x5b9f0a}){super(_0x158c17);const _0x3cd767=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x267e02({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x35a9ba['styles']?(this['stylesView']=this['_createStylesView'](_0x5b5778,_0x5b9f0a),this['children']['add'](this['stylesView'])):_0x3cd767['push']('ck-multi-level-list-properties_without-styles'),_0x35a9ba['startIndex']&&(this['_addListPropertyViews'](_0x35a9ba),_0x3cd767['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x3cd767},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x46c77b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x46c77b['element']);_0x5831f1({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4ad6b6['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0xc8e274=_0x1a0319=>_0x1a0319['stopPropagation']();this['keystrokes']['set']('arrowright',_0xc8e274),this['keystrokes']['set']('arrowleft',_0xc8e274),this['keystrokes']['set']('arrowup',_0xc8e274),this['keystrokes']['set']('arrowdown',_0xc8e274);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x42bcd8,_0x50e2e0){const _0x26f6af=new _0x212304(this['locale']);return _0x26f6af['children']=_0x26f6af['createCollection'](),_0x26f6af['children']['addMany'](_0x42bcd8),_0x26f6af['setTemplate']({'tag':'div','attributes':{'aria-label':_0x50e2e0,'class':['ck','ck-multi-level-list-styles']},'children':_0x26f6af['children']}),_0x26f6af['children']['delegate']('execute')['to'](this),_0x26f6af['focus']=function(){this['children']['first']['focus']();},_0x26f6af['focusTracker']=new _0x18eae1(),_0x26f6af['keystrokes']=new _0x2e080f(),_0x26f6af['render'](),_0x26f6af['keystrokes']['listenTo'](_0x26f6af['element']),_0x26f6af;}['_addListPropertyViews'](_0xb122eb){const _0x1632df=[];_0xb122eb['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x1632df['push'](this['startIndexFieldView'])),_0xb122eb['styles']?(this['additionalPropertiesCollapsibleView']=new _0x22b12d(this['locale'],_0x1632df),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x1632df,'isEnabled',(..._0x2efea1)=>_0x2efea1['some'](_0x4e9f11=>_0x4e9f11)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x47abe8,_0x95c76e,_0x4ba98c)=>{_0x4ba98c||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x1632df);}['_createStartIndexField'](){const _0x1f32e1=new _0x1fee0b(this['locale'],_0x4710c8);return _0x1f32e1['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x1f32e1['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1f32e1['fieldView']['on']('input',()=>{const _0x161172=_0x1f32e1['fieldView']['element'],_0x4a387c=_0x161172['valueAsNumber'];Number['isNaN'](_0x4a387c)?_0x1f32e1['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x161172['checkValidity']()?this['fire']('listStart',{'startIndex':_0x4a387c}):_0x1f32e1['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x1f32e1;}}class T extends _0xf008f7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2c2f41=this['editor'];_0x2c2f41['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x1fc080,parentCommandName:_0x3411a6,buttonLabel:_0x124e04,buttonIcon:_0xf8b834,styleGridAriaLabel:_0x102289,styleDefinitions:_0x5c6e46}){const _0x1ceb16=_0x1fc080['commands']['get'](_0x3411a6),_0x145b6e=_0x1fc080['config']['get']('list.properties')||{},_0x59a2d9=_0x1fc080['plugins']['has']('ListProperties'),_0x2979e6=_0x145b6e['startIndex'];if(!_0x59a2d9||!_0x2979e6)return _0x35b9cd=>{const _0x38a8db=new _0x3b3cb9(_0x35b9cd);return _0x38a8db['set']({'label':_0x124e04,'icon':_0xf8b834,'tooltip':!0x0,'isToggleable':!0x0}),_0x38a8db['bind']('isOn')['to'](_0x1ceb16,'value',_0x2ec679=>!!_0x2ec679),_0x38a8db['on']('execute',()=>{_0x1fc080['execute'](_0x3411a6),_0x1fc080['editing']['view']['focus']();}),_0x38a8db;};return _0x11a3b2=>{const _0x21baa6=_0xbfb364(_0x11a3b2,_0x205ec9),_0x32a99a=_0x21baa6['buttonView'];return _0x21baa6['bind']('isEnabled')['to'](_0x1ceb16),_0x21baa6['class']='ck-list-styles-dropdown',_0x32a99a['on']('execute',()=>{_0x1fc080['execute'](_0x3411a6),_0x1fc080['editing']['view']['focus']();}),_0x32a99a['set']({'label':_0x124e04,'icon':_0xf8b834,'tooltip':!0x0,'isToggleable':!0x0}),_0x32a99a['bind']('isOn')['to'](_0x1ceb16,'value',_0x50d7d4=>!!_0x50d7d4),_0x21baa6['once']('change:isOpen',()=>{const _0x4152b6=function({editor:_0x2b714a,dropdownView:_0x36be93,styleDefinitions:_0x592696,styleGridAriaLabel:_0x250820}){const _0x55588e=_0x2b714a['locale'],_0x2fab7d=_0x2b714a['config']['get']('list.properties'),_0x4bb854=null;_0x2fab7d['reversed']=!0x1,_0x592696['length']||(_0x2fab7d['styles']=!0x1);const _0x1222f5=new K(_0x55588e,{'styleGridAriaLabel':_0x250820,'enabledProperties':_0x2fab7d,'styleButtonViews':_0x4bb854});if(_0x2fab7d['startIndex']){const _0x53b9f0=_0x2b714a['commands']['get']('listStart');_0x1222f5['startIndexFieldView']['bind']('isEnabled')['to'](_0x53b9f0),_0x1222f5['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x53b9f0),_0x1222f5['on']('listStart',(_0x39a3e3,_0x2b105c)=>_0x2b714a['execute']('listStart',_0x2b105c));}return _0x1222f5['delegate']('execute')['to'](_0x36be93),_0x1222f5;}({'editor':_0x1fc080,'dropdownView':_0x21baa6,'styleGridAriaLabel':_0x102289,'styleDefinitions':_0x5c6e46});_0x21baa6['panelView']['children']['add'](_0x4152b6);}),_0x21baa6['on']('execute',()=>{_0x1fc080['editing']['view']['focus']();}),_0x21baa6;};}({'editor':_0x2c2f41,'parentCommandName':'multiLevelList','buttonLabel':P(_0x2c2f41['locale'],'Multi-level\x20List'),'buttonIcon':_0x1afc8a,'styleGridAriaLabel':P(_0x2c2f41['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x2c2f41['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x131864=_0x2c2f41['commands']['get']('multiLevelList'),_0x594690=new _0xc1b53a(_0x2c2f41['locale']);return _0x594690['set']({'label':P(_0x2c2f41['locale'],'Multi-level\x20List'),'icon':_0x1afc8a}),_0x594690['bind']('isEnabled')['to'](_0x131864),_0x594690['bind']('isOn')['to'](_0x131864,'value',_0x208bda=>!!_0x208bda),_0x594690['on']('execute',()=>{_0x2c2f41['execute']('multiLevelList'),_0x2c2f41['editing']['view']['focus']();}),_0x594690;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x382478=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4404df;for(const _0x3b283f in _0x382478){const _0x3bbef6=_0x3b283f,_0x521fd7=_0x382478[_0x3bbef6];if('multiLevelListLicenseKeyValid'==_0x521fd7||'multiLevelListLicenseKeyInvalid'==_0x521fd7||'multiLevelListLicenseKeyExpired'==_0x521fd7||'multiLevelListLicenseKeyDomainLimit'==_0x521fd7||'multiLevelListLicenseKeyNotAllowed'==_0x521fd7||'multiLevelListLicenseKeyEvaluationLimit'==_0x521fd7||'multiLevelListLicenseKeyUsageLimit'==_0x521fd7){delete _0x382478[_0x3bbef6],_0x4404df=_0x521fd7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x4404df&&_0x382478['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x4404df&&_0x382478['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x4404df&&_0x382478['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x4404df&&_0x382478['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x4404df&&_0x382478['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x4404df&&_0x382478['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0xf008f7{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[I,T];}}export{A as MultiLevelList,x as MultiLevelListCommand,I as MultiLevelListEditing,T as MultiLevelListUI};
|
|
23
|
+
import{Command as _0x12f842,Plugin as _0x19dfef}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x13e4ca,ViewUpcastWriter as _0x3a710f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x373b95}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x285af9,createElement as _0xa4017e,uid as _0x2a0f6f,FocusTracker as _0x53368c,KeystrokeHandler as _0x1a3f27,global as _0x1040fd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x525683}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x8def2,ViewCollection as _0x1f91f8,FocusCycler as _0x44a826,addKeyboardHandlingForGrid as _0x3cd759,CollapsibleView as _0x426851,LabeledFieldView as _0x4a1884,createLabeledInputNumber as _0x4c1171,MenuBarMenuListItemButtonView as _0x421da5,ButtonView as _0x8d51f3,createDropdown as _0x5be6f4,SplitButtonView as _0x9424ad}from'@ckeditor/ckeditor5-ui/dist/index.js';class x extends _0x12f842{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x2cea04,_0x3f0a8a,_0x47da07){super(_0x2cea04),this['defaultListMarkerStyle']=_0x3f0a8a,this['_listDefinitions']=_0x47da07,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x142ec1={}){const _0xc51821=this['editor']['model'],_0x7a2f7=_0x142ec1['listMarkerStyle']||this['defaultListMarkerStyle'];_0xc51821['change'](()=>{const _0x2cbbe8=this['_getListTypeFromListMarkerStyle'](_0x7a2f7);if(!_0x2cbbe8)return;const _0x17e56b=_0x2cbbe8+'List';this['editor']['execute'](_0x17e56b,{'additionalAttributes':{'listMarkerStyle':_0x7a2f7}});});}['_getValue'](){const _0x3d86b0=_0x285af9(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3d86b0)?_0x3d86b0['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x2e60b2=this['editor'],_0x12c690=_0x2e60b2['commands']['get']('customNumberedList'),_0x46c421=_0x2e60b2['commands']['get']('customBulletedList');return _0x12c690['isEnabled']||_0x46c421['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x7175fd){const _0x4315c5=this['_listDefinitions']['find'](_0xf308a4=>_0xf308a4['listMarkerStyle']==_0x7175fd);return _0x4315c5?_0x4315c5['listType']:null;}}class I extends _0x19dfef{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x373b95];}constructor(_0x178f54){super(_0x178f54);const _0x1a1e93=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x5e875a=>_0x5e875a+'.'}]},..._0x1a1e93];}['init'](){const _0x5dbc0f=this['editor'],_0x27ed5a=_0x5dbc0f['model'],_0xfa4e01=_0x5dbc0f['editing']['view'],_0x5db73d=_0x5dbc0f['plugins']['get'](_0x373b95);_0x5dbc0f['commands']['add']('multiLevelList',new x(_0x5dbc0f,'legal',this['_listDefinitions'])),_0x27ed5a['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x27ed5a['schema']['addAttributeCheck']((_0xb3f4b5,_0x559ea1)=>{const _0xf61faa=_0xb3f4b5['last'];if('listMarker'==_0x559ea1||'listMarkerStyle'==_0x559ea1)return!(!_0xf61faa['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x1a258b=>_0x1a258b['listType']==_0xf61faa['getAttribute']('listType')))&&void 0x0;});for(const _0x1052bd of this['_listDefinitions'])_0x5dbc0f['conversion']['for']('upcast')['add'](_0x2d36e5=>{_0x2d36e5['on']('element:'+('customNumbered'==_0x1052bd['listType']?'ol':'ul'),_(_0x1052bd,_0x27ed5a['schema']),{'priority':'low'});}),_0x5db73d['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x583cf6,_0x1dc6f2,_0x96dae9){_0x1dc6f2==_0x1052bd['listMarkerStyle']?(_0x583cf6['addClass'](['multi-level-list',_0x1052bd['className']],_0x96dae9),_0x583cf6['setStyle']('list-style-type','none',_0x96dae9)):(_0x583cf6['removeClass'](['multi-level-list',_0x1052bd['className']],_0x96dae9),_0x583cf6['removeStyle']('list-style-type',_0x96dae9));}}),_0x5db73d['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x5e67ae,_0x1ba277,{dataPipeline:_0x51e3db}){if(!_0x1ba277['hasAttribute']('listMarker'))return null;if(_0x1ba277['getAttribute']('listType')!=_0x1052bd['listType']||_0x1ba277['getAttribute']('listMarkerStyle')!=_0x1052bd['listMarkerStyle'])return null;const _0x46dfa7=String(_0x1ba277['getAttribute']('listMarker')),_0x5cb988=this['canInjectMarkerIntoElement'](_0x1ba277);return _0x5e67ae['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x51e3db&&{'contenteditable':'false','data-multi-level-list-marker':_0x46dfa7}},function(_0x58ba4e){const _0x229bc5=this['toDomElement'](_0x58ba4e);return _0x5cb988?(_0x229bc5['appendChild'](_0xa4017e(_0x58ba4e,'span',{},_0x51e3db?_0x58ba4e['createTextNode'](_0x46dfa7):[])),_0x229bc5['appendChild'](_0x58ba4e['createTextNode']('\u00a0'))):_0x51e3db&&_0x229bc5['appendChild'](_0x58ba4e['createTextNode'](_0x46dfa7)),_0x229bc5;});},'canInjectMarkerIntoElement':_0x39565f=>_0x27ed5a['schema']['checkChild'](_0x39565f,'$text')&&_0x27ed5a['schema']['checkChild'](_0x39565f,'$inlineObject')&&!_0x27ed5a['schema']['isLimit'](_0x39565f)&&_0x39565f['getAttribute']('listType')==_0x1052bd['listType']&&_0x39565f['getAttribute']('listMarkerStyle')==_0x1052bd['listMarkerStyle']});_0x5dbc0f['conversion']['for']('upcast')['add'](_0x583c2c=>{_0x583c2c['on']('element:span',function(_0x4d91a9){return(_0x1f75ba,_0x99ae14,{writer:_0x542e7d,consumable:_0x1316b9})=>{const _0x59f972=_0x99ae14['modelCursor'],_0x52e368=_0x59f972['parent'],_0x146633=_0x99ae14['viewItem'];if(_0x1316b9['consume'](_0x146633,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x59f972['isAtStart']&&_0x52e368['hasAttribute']('listType')&&_0x146633['childCount']>0x0){const _0x2b17ab=_0x4d91a9['createRangeIn'](_0x146633);let _0x3985e1='';for(const _0x3611be of _0x2b17ab['getItems']())_0x3611be['is']('$textProxy')?(_0x3985e1+=_0x3611be['data']['trim'](),_0x1316b9['consume'](_0x3611be['textNode'])):_0x1316b9['consume'](_0x3611be,{'name':!0x0});_0x542e7d['setAttribute']('listMarker',_0x3985e1['trim'](),_0x52e368);}};}(_0xfa4e01));}),_0x5db73d['on']('postFixer',(_0x2b4b38,{listNodes:_0x34eabe,writer:_0x3e8cd8})=>{const _0x3f2b0f=[];for(const {node:_0x6b39bc,previousNodeInList:_0x58387d}of _0x34eabe){const _0x1d9892=_0x6b39bc['getAttribute']('listType'),_0x11a0e2=_0x6b39bc['getAttribute']('listMarkerStyle')||('customNumbered'==_0x1d9892?'legal':void 0x0),_0x1c97ee=this['_listDefinitions']['find'](_0x31dd37=>_0x31dd37['listType']==_0x1d9892&&_0x31dd37['listMarkerStyle']==_0x11a0e2);if('customNumbered'!=_0x1d9892&&'customBulleted'!=_0x1d9892&&(_0x6b39bc['hasAttribute']('listMarker')&&(_0x3e8cd8['removeAttribute']('listMarker',_0x6b39bc),_0x2b4b38['return']=!0x0),_0x6b39bc['hasAttribute']('listMarkerStyle')&&(_0x3e8cd8['removeAttribute']('listMarkerStyle',_0x6b39bc),_0x2b4b38['return']=!0x0)),!_0x1c97ee){'customBulleted'!=_0x1d9892||_0x11a0e2||(_0x3e8cd8['setAttribute']('listType','bulleted',_0x6b39bc),_0x2b4b38['return']=!0x0);continue;}_0x6b39bc['hasAttribute']('listMarkerStyle')||(_0x3e8cd8['setAttribute']('listMarkerStyle',_0x11a0e2,_0x6b39bc),_0x2b4b38['return']=!0x0);const _0x502ef7=_0x6b39bc['getAttribute']('listIndent');if(_0x58387d&&_0x58387d['getAttribute']('listItemId')==_0x6b39bc['getAttribute']('listItemId'))continue;_0x3f2b0f['length']=_0x502ef7+0x1,_0x58387d||_0x3f2b0f[_0x502ef7]?_0x58387d&&_0x58387d['getAttribute']('listType')!=_0x1c97ee['listType']?_0x3f2b0f[_0x502ef7]=0x1:_0x3f2b0f[_0x502ef7]++:_0x3f2b0f[_0x502ef7]=_0x6b39bc['getAttribute']('listStart')||0x1;const _0x1a7542=S(_0x502ef7,_0x1c97ee,_0x3f2b0f);_0x6b39bc['getAttribute']('listMarker')!=_0x1a7542&&(_0x3e8cd8['setAttribute']('listMarker',_0x1a7542,_0x6b39bc),_0x2b4b38['return']=!0x0);}});const _0x5be17f=_0x5dbc0f['editing']['view']['document'];this['listenTo'](_0x5be17f,'clipboardOutput',(_0x46813e,_0x2dff1a)=>{const _0x2ad3df=new _0x13e4ca({'name':'span','classes':'multi-level-list__marker'}),_0x54dfb5=new _0x13e4ca({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0xa1c279=new _0x3a710f(_0x2dff1a['content']['document']),_0x5ee338=[];for(const _0x28b9f8 of _0xa1c279['createRangeIn'](_0x2dff1a['content'])['getItems']())_0x28b9f8['is']('element')&&_0x2ad3df['match'](_0x28b9f8)&&_0x5ee338['push'](_0x28b9f8),_0x28b9f8['is']('element')&&_0x54dfb5['match'](_0x28b9f8)&&_0xa1c279['removeStyle']('list-style-type',_0x28b9f8);for(const _0x101ac3 of _0x5ee338)_0xa1c279['remove'](_0x101ac3);});}['afterInit'](){!async function(_0x2c94b0){const _0x21f0c1=_0x1f0e3c([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x29a231=0xf46a94a,_0xec5b5=0xf412c5a^_0x29a231,_0x8014f=window[_0x1f0e3c([0x44,0x61,0x74,0x65])][_0x1f0e3c([0x6e,0x6f,0x77])](),_0x97a4df=_0x2c94b0[_0x1f0e3c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc8e07a=new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb0028d=>{_0x97a4df[_0x1f0e3c([0x6f,0x6e,0x63,0x65])](_0x1f0e3c([0x72,0x65,0x61,0x64,0x79]),_0xb0028d);}),_0x595c7d={[_0x1f0e3c([0x6b,0x74,0x79])]:_0x1f0e3c([0x45,0x43]),[_0x1f0e3c([0x75,0x73,0x65])]:_0x1f0e3c([0x73,0x69,0x67]),[_0x1f0e3c([0x63,0x72,0x76])]:_0x1f0e3c([0x50,0x2d,0x32,0x35,0x36]),[_0x1f0e3c([0x78])]:_0x1f0e3c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1f0e3c([0x79])]:_0x1f0e3c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1f0e3c([0x61,0x6c,0x67])]:_0x1f0e3c([0x45,0x53,0x32,0x35,0x36])},_0x141187=_0x97a4df[_0x1f0e3c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f0e3c([0x67,0x65,0x74])](_0x1f0e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x947aff(){let _0x1abf42,_0x1c0e91=null,_0x4d035c=null;try{if(_0x141187==_0x1f0e3c([0x47,0x50,0x4c]))return _0x1f0e3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1abf42=_0xdff1ad(),!_0x1abf42)return _0x1f0e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1abf42[_0x1f0e3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d035c=_0xb01b6a(_0x1abf42[_0x1f0e3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1abf42[_0x1f0e3c([0x6a,0x74,0x69])])),await _0xb16085()?_0x970f42()?_0x54fd7d()?_0x1f0e3c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1086f1()?(_0x1abf42[_0x1f0e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f0e3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c0e91=_0x2e1c55(_0x1f0e3c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33dee8()):_0x1f0e3c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f0e3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f0e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f0e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54fd7d(){const _0x656f0e=[_0x1f0e3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f0e3c([0x74,0x72,0x69,0x61,0x6c])][_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1abf42[_0x1f0e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8014f/0x3e8:0xe10*_0xec5b5;return _0x1abf42[_0x1f0e3c([0x65,0x78,0x70])]<_0x656f0e;}function _0x970f42(){const _0x4c31a7=_0x1abf42[_0x1f0e3c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c31a7&&(!!_0x4c31a7[_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f0e3c([0x2a]))||!!_0x4c31a7[_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f0e3c([0x4d,0x4c,0x4c])));}function _0x1086f1(){const _0x3df6d7=_0x1abf42[_0x1f0e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3df6d7||0x0==_0x3df6d7[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25f664}=new URL(window[_0x1f0e3c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3df6d7[_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25f664))return!0x0;const _0x1bbfcf=_0x25f664[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])](_0x1f0e3c([0x2e]));return _0x3df6d7[_0x1f0e3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c86dd=>_0x3c86dd[_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f0e3c([0x2a])))[_0x1f0e3c([0x6d,0x61,0x70])](_0x1f21b2=>_0x1f21b2[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])](_0x1f0e3c([0x2e])))[_0x1f0e3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xef69ab=>_0xef69ab[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1bbfcf[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f0e3c([0x6d,0x61,0x70])](_0x168c3a=>Array(_0x1bbfcf[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x168c3a[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f0e3c([0x66,0x69,0x6c,0x6c])](_0x168c3a[0x0]===_0x1f0e3c([0x2a])?_0x1f0e3c([0x2a]):'')[_0x1f0e3c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x168c3a))[_0x1f0e3c([0x73,0x6f,0x6d,0x65])](_0x275804=>_0x1bbfcf[_0x1f0e3c([0x65,0x76,0x65,0x72,0x79])]((_0x72d6fb,_0x2be504)=>_0x275804[_0x2be504]===_0x72d6fb||_0x275804[_0x2be504]===_0x1f0e3c([0x2a])));}function _0x33dee8(){return _0x1c0e91&&_0x4d035c?new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d4a43,_0x25f5c2)=>{_0x1c0e91[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x5d4a43,_0x25f5c2),_0x4d035c[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x4116ba=>{_0x4116ba!=_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64])&&_0x5d4a43(_0x4116ba);},_0x25f5c2);}):_0x1c0e91||_0x4d035c||_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb01b6a(_0x42d1fd,_0x3eb795){return new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x144ea0=>{if(_0x313ab6())return _0x144ea0(_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64]));_0x47a2a1(),_0x97a4df[_0x1f0e3c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f0e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1169dd=!0x1;const _0x4cf500=_0x2a0f6f();function _0x23fbd2(_0x41b0b3){return!!_0x41b0b3&&(typeof _0x41b0b3===_0x1f0e3c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41b0b3===_0x1f0e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41b0b3[_0x1f0e3c([0x74,0x68,0x65,0x6e])]===_0x1f0e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41b0b3[_0x1f0e3c([0x63,0x61,0x74,0x63,0x68])]===_0x1f0e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3cab7c(_0x110d46){_0x3fa3cd(_0x110d46)[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x59d10d=>{if(!_0x59d10d||_0x59d10d[_0x1f0e3c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f0e3c([0x6f,0x6b]))return _0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cf241(_0x4500f8(_0x4cf500+_0x3eb795))!=_0x59d10d[_0x1f0e3c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x58cb7f=>(_0xa5dbc7(),_0x58cb7f),()=>{const _0x263227=_0x5850f5();return null==_0x263227?(_0xa5dbc7(),_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64])):_0x1f0e3c(_0x8014f-_0x263227>(0x2b4a2d4a^_0x29a231)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x144ea0)[_0x1f0e3c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x144ea0(_0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ce3ff=0xf7047ca^_0x29a231;function _0xa5dbc7(){const _0x41526c=_0x1f0e3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cf241(_0x4500f8(_0x42d1fd)),_0x25f788=_0x419d5c(_0x3cf241(window[_0x1f0e3c([0x4d,0x61,0x74,0x68])][_0x1f0e3c([0x63,0x65,0x69,0x6c])](_0x8014f/_0x2ce3ff)));window[_0x1f0e3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f0e3c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41526c,_0x25f788);}function _0x5850f5(){const _0x299c92=_0x1f0e3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cf241(_0x4500f8(_0x42d1fd)),_0x21b449=window[_0x1f0e3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f0e3c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x299c92);return _0x21b449?window[_0x1f0e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x419d5c(_0x21b449),0x10)*_0x2ce3ff:null;}function _0x3fa3cd(_0x5d8ad8){return new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4988ac,_0x4b11ab)=>{_0x5d8ad8[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x4988ac,_0x4b11ab),window[_0x1f0e3c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b11ab,0xf477d8a^_0x29a231);});}}_0x97a4df[_0x1f0e3c([0x6f,0x6e])](_0x1f0e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bbe9a,_0x10a6af)=>{if(_0x10a6af[0x0]!=_0x42d1fd)return _0x144ea0(_0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10a6af[0x1]={..._0x10a6af[0x1],[_0x1f0e3c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cf500};},{[_0x1f0e3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f0e3c([0x68,0x69,0x67,0x68])}),_0x97a4df[_0x1f0e3c([0x6f,0x6e])](_0x1f0e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b4505=>{_0x23fbd2(_0x1b4505[_0x1f0e3c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1169dd=!0x0,_0x3cab7c(_0x1b4505[_0x1f0e3c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f0e3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f0e3c([0x6c,0x6f,0x77])}),_0xc8e07a[_0x1f0e3c([0x74,0x68,0x65,0x6e])](()=>{_0x1169dd||_0x144ea0(_0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x313ab6(){return _0x97a4df[_0x1f0e3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f0e3c([0x76,0x69,0x65,0x77])][_0x1f0e3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f0e3c([0x61,0x75,0x74,0x6f]);}function _0x47a2a1(){_0x97a4df[_0x1f0e3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f0e3c([0x76,0x69,0x65,0x77])][_0x1f0e3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f0e3c([0x61,0x75,0x74,0x6f]);}}function _0x2e1c55(_0x3e9ca5){const _0x300354=[new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47139e=>setTimeout(_0x47139e,0xf4f9786^_0x29a231)),_0xc8e07a[_0x1f0e3c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb3d2ce=>{let _0x1725d8=0x0;_0x97a4df[_0x1f0e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f0e3c([0x6f,0x6e])](_0x1f0e3c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x361f70,_0x3a901e)=>{_0x3a901e[0x0][_0x1f0e3c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1725d8++,_0x1725d8==(0xf46aca2^_0x29a231)&&(_0xb3d2ce(),_0x361f70[_0x1f0e3c([0x6f,0x66,0x66])]());});}))];return window[_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f0e3c([0x72,0x61,0x63,0x65])](_0x300354)[_0x1f0e3c([0x74,0x68,0x65,0x6e])](()=>_0x3e9ca5);}async function _0x26dc24(){await _0xc8e07a,_0x97a4df[_0x1f0e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f0e3c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13892c,_0x97a4df[_0x1f0e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f0e3c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13892c,_0x97a4df[_0x1f0e3c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f0e3c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44cb51(_0x472a49){const _0x9ce617=_0x4cf8d9();_0x97a4df[_0x9ce617]=_0x1f0e3c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x472a49,_0x472a49!=_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64])&&_0x26dc24();}function _0x4cf8d9(){const _0x287ea6=window[_0x1f0e3c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f0e3c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f0e3c([0x6e,0x6f,0x77])]())[_0x1f0e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f0e3c([0x2e]),'');let _0x4f97d9=_0x1f0e3c([0x75]);for(let _0x39ee2b=0x0;_0x39ee2b<_0x287ea6[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39ee2b+=0x2){let _0x5c167b=window[_0x1f0e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x287ea6[_0x1f0e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39ee2b,_0x39ee2b+0x2));_0x5c167b>=_0x21f0c1[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c167b-=_0x21f0c1[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f97d9+=_0x21f0c1[_0x5c167b];}return _0x4f97d9;}function _0xdff1ad(){const _0x5a2ecf=_0x141187[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])](_0x1f0e3c([0x2e]));if(0x3!=_0x5a2ecf[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35581a(_0x5a2ecf[0x1]);function _0x35581a(_0x5a3e16){const _0x33886a=_0x5ecd7e(_0x5a3e16);return _0x33886a&&_0x36e556()?_0x33886a:null;function _0x36e556(){const _0x553102=_0x33886a[_0x1f0e3c([0x6a,0x74,0x69])],_0x72b49b=window[_0x1f0e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x553102[_0x1f0e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x553102[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ab043={..._0x33886a,[_0x1f0e3c([0x6a,0x74,0x69])]:_0x553102[_0x1f0e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x553102[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ab043[_0x1f0e3c([0x76,0x63])],_0x4500f8(_0x2ab043)==_0x72b49b;}}}async function _0xb16085(){let _0xa2a271=!0x0;try{const _0x433204=_0x141187[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])](_0x1f0e3c([0x2e])),[_0x2d436e,_0x1d903d,_0x5ec547]=_0x433204;return _0x360ec9(_0x2d436e),await _0x5393b0(_0x2d436e,_0x1d903d,_0x5ec547),_0xa2a271;}catch{return!0x1;}function _0x360ec9(_0x3a9d15){const _0x911e2c=_0x5ecd7e(_0x3a9d15);_0x911e2c&&_0x911e2c[_0x1f0e3c([0x61,0x6c,0x67])]==_0x1f0e3c([0x45,0x53,0x32,0x35,0x36])||(_0xa2a271=!0x1);}async function _0x5393b0(_0x20977e,_0x536092,_0x358fae){const _0x48c675=window[_0x1f0e3c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f0e3c([0x66,0x72,0x6f,0x6d])](_0x59ca40(_0x358fae),_0x5afa02=>_0x5afa02[_0x1f0e3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43ae22=new window[(_0x1f0e3c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f0e3c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20977e+_0x1f0e3c([0x2e])+_0x536092),_0x251696=window[_0x1f0e3c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f0e3c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x251696)return;const _0x5534cc=await _0x251696[_0x1f0e3c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f0e3c([0x6a,0x77,0x6b]),_0x595c7d,{[_0x1f0e3c([0x6e,0x61,0x6d,0x65])]:_0x1f0e3c([0x45,0x43,0x44,0x53,0x41]),[_0x1f0e3c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f0e3c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f0e3c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x251696[_0x1f0e3c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f0e3c([0x6e,0x61,0x6d,0x65])]:_0x1f0e3c([0x45,0x43,0x44,0x53,0x41]),[_0x1f0e3c([0x68,0x61,0x73,0x68])]:{[_0x1f0e3c([0x6e,0x61,0x6d,0x65])]:_0x1f0e3c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5534cc,_0x48c675,_0x43ae22)||(_0xa2a271=!0x1);}}function _0x5ecd7e(_0x31cd81){return _0x31cd81[_0x1f0e3c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f0e3c([0x65,0x79]))?JSON[_0x1f0e3c([0x70,0x61,0x72,0x73,0x65])](_0x59ca40(_0x31cd81)):null;}function _0x59ca40(_0x4d6004){return window[_0x1f0e3c([0x61,0x74,0x6f,0x62])](_0x4d6004[_0x1f0e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f0e3c([0x2b]))[_0x1f0e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f0e3c([0x2f])));}function _0x4500f8(_0x1d7ae5){let _0x4e2090=0x1505;function _0x343029(_0x3422fc){for(let _0x4cf3af=0x0;_0x4cf3af<_0x3422fc[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cf3af++){const _0x5e922d=_0x3422fc[_0x1f0e3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cf3af);_0x4e2090=(_0x4e2090<<0x5)+_0x4e2090+_0x5e922d,_0x4e2090&=_0x4e2090;}}function _0x4af8b5(_0x5c8cd2){Array[_0x1f0e3c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c8cd2)?_0x5c8cd2[_0x1f0e3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4af8b5):_0x5c8cd2&&typeof _0x5c8cd2==_0x1f0e3c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f0e3c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c8cd2)[_0x1f0e3c([0x73,0x6f,0x72,0x74])]()[_0x1f0e3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c07a1,_0x92a9e7])=>{_0x343029(_0x2c07a1),_0x4af8b5(_0x92a9e7);}):_0x343029(window[_0x1f0e3c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c8cd2));}return _0x4af8b5(_0x1d7ae5),_0x4e2090>>>0x0;}function _0x3cf241(_0x41044e){return _0x41044e[_0x1f0e3c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f0e3c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f0e3c([0x30]));}function _0x419d5c(_0x46f2c2){return _0x46f2c2[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f0e3c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f0e3c([0x6a,0x6f,0x69,0x6e])]('');}function _0x13892c(){}function _0x1f0e3c(_0x2f1e13){return _0x2f1e13['map'](_0x34d2e8=>String['fromCharCode'](_0x34d2e8))['join']('');}_0x44cb51(await _0x947aff());}(this);}}function S(_0x166822,_0x4a118e,_0x5ca031){let _0x16f797=_0x4a118e['listMarkers'][_0x166822%_0x4a118e['listMarkers']['length']];if(void 0x0===_0x16f797['showMarkerPath']||_0x16f797['showMarkerPath'])return _0x5ca031['slice'](0x0,_0x166822+0x1)['map']((_0x5120ed,_0x4c40a8)=>(_0x16f797=_0x4a118e['listMarkers'][_0x4c40a8%_0x4a118e['listMarkers']['length']],N(_0x16f797['marker'],_0x5120ed)))['join']('');{const _0x4d491b=_0x5ca031[_0x5ca031['length']-0x1];return N(_0x16f797['marker'],_0x4d491b);}}function N(_0x2e78b6,_0x1d392b){return'function'==typeof _0x2e78b6?_0x2e78b6(_0x1d392b):_0x2e78b6;}function _(_0x1eddb2,_0x566b14){return(_0x1dbda2,_0x5248b0,_0x30657d)=>{const _0x46dbd8=_0x5248b0['viewItem'];if(_0x5248b0['modelRange']||Object['assign'](_0x5248b0,_0x30657d['convertChildren'](_0x5248b0['viewItem'],_0x5248b0['modelCursor'])),!_0x30657d['consumable']['test'](_0x46dbd8,{'classes':_0x1eddb2['className']}))return;const _0xdeacc2=Array['from'](_0x5248b0['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x2ed43e=>_0x566b14['checkAttribute'](_0x2ed43e,'listItemId'));if(!_0xdeacc2['length'])return;_0x30657d['consumable']['consume'](_0x46dbd8,{'classes':_0x1eddb2['className']}),_0x30657d['consumable']['consume'](_0x46dbd8,{'classes':'multi-level-list'}),_0x30657d['consumable']['consume'](_0x46dbd8,{'styles':'list-style-type'});const _0x386ed0=_0xdeacc2[0x0]['getAttribute']('listIndent');for(const _0x2df2fb of _0xdeacc2)_0x2df2fb['getAttribute']('listIndent')==_0x386ed0&&(_0x30657d['writer']['setAttribute']('listType',_0x1eddb2['listType'],_0x2df2fb),_0x30657d['writer']['setAttribute']('listMarkerStyle',_0x1eddb2['listMarkerStyle'],_0x2df2fb));};}function P(_0x55f6a5,_0x2aa5bd){const _0x5735a1=_0x55f6a5['t'],t=_0x55f6a5['t'];switch(_0x2aa5bd){case'Start\x20at':return _0x5735a1('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x5735a1('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x5735a1('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x5735a1('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x2aa5bd;}}class K extends _0x8def2{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x53368c();['keystrokes']=new _0x1a3f27();['focusables']=new _0x1f91f8();['focusCycler'];constructor(_0x216c2c,{enabledProperties:_0x5b7473,styleButtonViews:_0x223b99,styleGridAriaLabel:_0x5c157c}){super(_0x216c2c);const _0x108fe6=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x44a826({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x5b7473['styles']?(this['stylesView']=this['_createStylesView'](_0x223b99,_0x5c157c),this['children']['add'](this['stylesView'])):_0x108fe6['push']('ck-multi-level-list-properties_without-styles'),_0x5b7473['startIndex']&&(this['_addListPropertyViews'](_0x5b7473),_0x108fe6['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x108fe6},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x261589 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x261589['element']);_0x3cd759({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x1040fd['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5ee9c8=_0x41dfc2=>_0x41dfc2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5ee9c8),this['keystrokes']['set']('arrowleft',_0x5ee9c8),this['keystrokes']['set']('arrowup',_0x5ee9c8),this['keystrokes']['set']('arrowdown',_0x5ee9c8);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x1cfa64,_0x24a00d){const _0x57c909=new _0x8def2(this['locale']);return _0x57c909['children']=_0x57c909['createCollection'](),_0x57c909['children']['addMany'](_0x1cfa64),_0x57c909['setTemplate']({'tag':'div','attributes':{'aria-label':_0x24a00d,'class':['ck','ck-multi-level-list-styles']},'children':_0x57c909['children']}),_0x57c909['children']['delegate']('execute')['to'](this),_0x57c909['focus']=function(){this['children']['first']['focus']();},_0x57c909['focusTracker']=new _0x53368c(),_0x57c909['keystrokes']=new _0x1a3f27(),_0x57c909['render'](),_0x57c909['keystrokes']['listenTo'](_0x57c909['element']),_0x57c909;}['_addListPropertyViews'](_0x5492a8){const _0x3129a5=[];_0x5492a8['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x3129a5['push'](this['startIndexFieldView'])),_0x5492a8['styles']?(this['additionalPropertiesCollapsibleView']=new _0x426851(this['locale'],_0x3129a5),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x3129a5,'isEnabled',(..._0x24295e)=>_0x24295e['some'](_0x42dd96=>_0x42dd96)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x1e48a3,_0x1ffc16,_0x4a1048)=>{_0x4a1048||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x3129a5);}['_createStartIndexField'](){const _0x2fbb01=new _0x4a1884(this['locale'],_0x4c1171);return _0x2fbb01['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x2fbb01['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2fbb01['fieldView']['on']('input',()=>{const _0x87f0be=_0x2fbb01['fieldView']['element'],_0x373bdf=_0x87f0be['valueAsNumber'];Number['isNaN'](_0x373bdf)?_0x2fbb01['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x87f0be['checkValidity']()?this['fire']('listStart',{'startIndex':_0x373bdf}):_0x2fbb01['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x2fbb01;}}class T extends _0x19dfef{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe9a80=this['editor'];_0xe9a80['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x4406f6,parentCommandName:_0x5bc3f3,buttonLabel:_0x496359,buttonIcon:_0x2c5905,styleGridAriaLabel:_0x9576ab,styleDefinitions:_0x4ddceb}){const _0x26685f=_0x4406f6['commands']['get'](_0x5bc3f3),_0x5081ad=_0x4406f6['config']['get']('list.properties')||{},_0x370dee=_0x4406f6['plugins']['has']('ListProperties'),_0x2b66b9=_0x5081ad['startIndex'];if(!_0x370dee||!_0x2b66b9)return _0x426f27=>{const _0x1a75bc=new _0x8d51f3(_0x426f27);return _0x1a75bc['set']({'label':_0x496359,'icon':_0x2c5905,'tooltip':!0x0,'isToggleable':!0x0}),_0x1a75bc['bind']('isOn')['to'](_0x26685f,'value',_0x10e9f8=>!!_0x10e9f8),_0x1a75bc['on']('execute',()=>{_0x4406f6['execute'](_0x5bc3f3),_0x4406f6['editing']['view']['focus']();}),_0x1a75bc;};return _0xd520af=>{const _0x24015a=_0x5be6f4(_0xd520af,_0x9424ad),_0x3d7c99=_0x24015a['buttonView'];return _0x24015a['bind']('isEnabled')['to'](_0x26685f),_0x24015a['class']='ck-list-styles-dropdown',_0x3d7c99['on']('execute',()=>{_0x4406f6['execute'](_0x5bc3f3),_0x4406f6['editing']['view']['focus']();}),_0x3d7c99['set']({'label':_0x496359,'icon':_0x2c5905,'tooltip':!0x0,'isToggleable':!0x0}),_0x3d7c99['bind']('isOn')['to'](_0x26685f,'value',_0x499525=>!!_0x499525),_0x24015a['once']('change:isOpen',()=>{const _0x55c4db=function({editor:_0x1b8d1d,dropdownView:_0x83e1a6,styleDefinitions:_0x48b61c,styleGridAriaLabel:_0x2ef9a3}){const _0x3f5cb4=_0x1b8d1d['locale'],_0x1e7b65=_0x1b8d1d['config']['get']('list.properties'),_0x20517e=null;_0x1e7b65['reversed']=!0x1,_0x48b61c['length']||(_0x1e7b65['styles']=!0x1);const _0x347daa=new K(_0x3f5cb4,{'styleGridAriaLabel':_0x2ef9a3,'enabledProperties':_0x1e7b65,'styleButtonViews':_0x20517e});if(_0x1e7b65['startIndex']){const _0x54f217=_0x1b8d1d['commands']['get']('listStart');_0x347daa['startIndexFieldView']['bind']('isEnabled')['to'](_0x54f217),_0x347daa['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x54f217),_0x347daa['on']('listStart',(_0x2151b0,_0x375bbd)=>_0x1b8d1d['execute']('listStart',_0x375bbd));}return _0x347daa['delegate']('execute')['to'](_0x83e1a6),_0x347daa;}({'editor':_0x4406f6,'dropdownView':_0x24015a,'styleGridAriaLabel':_0x9576ab,'styleDefinitions':_0x4ddceb});_0x24015a['panelView']['children']['add'](_0x55c4db);}),_0x24015a['on']('execute',()=>{_0x4406f6['editing']['view']['focus']();}),_0x24015a;};}({'editor':_0xe9a80,'parentCommandName':'multiLevelList','buttonLabel':P(_0xe9a80['locale'],'Multi-level\x20List'),'buttonIcon':_0x525683,'styleGridAriaLabel':P(_0xe9a80['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0xe9a80['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x3024fe=_0xe9a80['commands']['get']('multiLevelList'),_0x58e4b6=new _0x421da5(_0xe9a80['locale']);return _0x58e4b6['set']({'label':P(_0xe9a80['locale'],'Multi-level\x20List'),'icon':_0x525683}),_0x58e4b6['bind']('isEnabled')['to'](_0x3024fe),_0x58e4b6['bind']('isOn')['to'](_0x3024fe,'value',_0x50af91=>!!_0x50af91),_0x58e4b6['on']('execute',()=>{_0xe9a80['execute']('multiLevelList'),_0xe9a80['editing']['view']['focus']();}),_0x58e4b6;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4194dd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39910b;for(const _0x5ce4f3 in _0x4194dd){const _0x598cee=_0x5ce4f3,_0x2b6dc5=_0x4194dd[_0x598cee];if('multiLevelListLicenseKeyValid'==_0x2b6dc5||'multiLevelListLicenseKeyInvalid'==_0x2b6dc5||'multiLevelListLicenseKeyExpired'==_0x2b6dc5||'multiLevelListLicenseKeyDomainLimit'==_0x2b6dc5||'multiLevelListLicenseKeyNotAllowed'==_0x2b6dc5||'multiLevelListLicenseKeyEvaluationLimit'==_0x2b6dc5||'multiLevelListLicenseKeyUsageLimit'==_0x2b6dc5){delete _0x4194dd[_0x598cee],_0x39910b=_0x2b6dc5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x39910b&&_0x4194dd['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x39910b&&_0x4194dd['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x39910b&&_0x4194dd['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x39910b&&_0x4194dd['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x39910b&&_0x4194dd['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x39910b&&_0x4194dd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x19dfef{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[I,T];}}export{A as MultiLevelList,x as MultiLevelListCommand,I as MultiLevelListEditing,T as MultiLevelListUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list-multi-level",
|
|
3
|
-
"version": "48.0.0-alpha.
|
|
3
|
+
"version": "48.0.0-alpha.3",
|
|
4
4
|
"description": "Multi-level list feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.
|
|
36
|
-
"@ckeditor/ckeditor5-core": "48.0.0-alpha.
|
|
37
|
-
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-list": "48.0.0-alpha.
|
|
40
|
-
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.
|
|
41
|
-
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.
|
|
35
|
+
"@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.3",
|
|
36
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.3",
|
|
37
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.3",
|
|
38
|
+
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.3",
|
|
39
|
+
"@ckeditor/ckeditor5-list": "48.0.0-alpha.3",
|
|
40
|
+
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.3",
|
|
41
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.3"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|