@ckeditor/ckeditor5-list-multi-level 48.1.0-alpha.3 → 48.1.0-alpha.5

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x489b28,Plugin as _0x5293ab}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x2a3b75,ViewUpcastWriter as _0x4f9f6c}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x4df1a0,_isFirstBlockOfListItem as _0x5b1111}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x4460df,createElement as _0x30c7a0,uid as _0x45d86d,FocusTracker as _0x235603,KeystrokeHandler as _0x43aceb,global as _0x3b284b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x236b34}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x188f1b,ViewCollection as _0x5157a9,FocusCycler as _0xf34d38,addKeyboardHandlingForGrid as _0x2f301e,CollapsibleView as _0x4262d5,LabeledFieldView as _0x1e3104,createLabeledInputNumber as _0x4b3c4f,MenuBarMenuListItemButtonView as _0x3cdab0,ButtonView as _0x35eb20,createDropdown as _0x1c7e96,SplitButtonView as _0x299a8c}from'@ckeditor/ckeditor5-ui/dist/index.js';class I extends _0x489b28{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x1f92b4,_0x5e9865,_0x48ae4e){super(_0x1f92b4),this['defaultListMarkerStyle']=_0x5e9865,this['_listDefinitions']=_0x48ae4e,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0xc7feea={}){const _0x11641a=this['editor']['model'],_0x24df56=_0xc7feea['listMarkerStyle']||this['defaultListMarkerStyle'];_0x11641a['change'](()=>{const _0x49acf1=this['_getListTypeFromListMarkerStyle'](_0x24df56);if(!_0x49acf1)return;const _0x1e86f4=_0x49acf1+'List';this['editor']['execute'](_0x1e86f4,{'additionalAttributes':{'listMarkerStyle':_0x24df56}});});}['_getValue'](){const _0x45ea6d=_0x4460df(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x45ea6d)?_0x45ea6d['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x1a63e9=this['editor'],_0x2a728c=_0x1a63e9['commands']['get']('customNumberedList'),_0xee942b=_0x1a63e9['commands']['get']('customBulletedList');return _0x2a728c['isEnabled']||_0xee942b['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0xa57255){const _0x41c733=this['_listDefinitions']['find'](_0x498728=>_0x498728['listMarkerStyle']==_0xa57255);return _0x41c733?_0x41c733['listType']:null;}}class S extends _0x5293ab{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4df1a0];}constructor(_0x121560){super(_0x121560);const _0x2ec00e=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0xaf8b83=>_0xaf8b83+'.'}]},..._0x2ec00e];}['init'](){const _0x5f3008=this['editor'],_0x3a508c=_0x5f3008['model'],_0x32388e=_0x5f3008['editing']['view'],_0x27ea94=_0x5f3008['plugins']['get'](_0x4df1a0);_0x5f3008['commands']['add']('multiLevelList',new I(_0x5f3008,'legal',this['_listDefinitions'])),_0x3a508c['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x3a508c['schema']['addAttributeCheck']((_0x17908c,_0x560623)=>{const _0x346b1e=_0x17908c['last'];if('listMarker'==_0x560623||'listMarkerStyle'==_0x560623)return!(!_0x346b1e['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x1aefc7=>_0x1aefc7['listType']==_0x346b1e['getAttribute']('listType')))&&void 0x0;});for(const _0x415454 of this['_listDefinitions'])_0x5f3008['conversion']['for']('upcast')['add'](_0x534cff=>{_0x534cff['on']('element:'+('customNumbered'==_0x415454['listType']?'ol':'ul'),E(_0x415454,_0x3a508c['schema']),{'priority':'low'});}),_0x27ea94['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x853b65,_0x49402a,_0x1e123d){_0x49402a==_0x415454['listMarkerStyle']?(_0x853b65['addClass'](['multi-level-list',_0x415454['className']],_0x1e123d),_0x853b65['setStyle']('list-style-type','none',_0x1e123d)):(_0x853b65['removeClass'](['multi-level-list',_0x415454['className']],_0x1e123d),_0x853b65['removeStyle']('list-style-type',_0x1e123d));}}),_0x27ea94['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x3250b7,_0x414730,{dataPipeline:_0x305f04}){if(!_0x414730['hasAttribute']('listMarker'))return null;if(_0x414730['getAttribute']('listType')!=_0x415454['listType']||_0x414730['getAttribute']('listMarkerStyle')!=_0x415454['listMarkerStyle'])return null;const _0x5524ab=String(_0x414730['getAttribute']('listMarker')),_0x514c4c=this['canInjectMarkerIntoElement'](_0x414730);return _0x3250b7['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x305f04&&{'contenteditable':'false','data-multi-level-list-marker':_0x5524ab}},function(_0x200d07){const _0xa2510b=this['toDomElement'](_0x200d07);return _0x514c4c?(_0xa2510b['appendChild'](_0x30c7a0(_0x200d07,'span',{},_0x305f04?_0x200d07['createTextNode'](_0x5524ab):[])),_0xa2510b['appendChild'](_0x200d07['createTextNode']('\u00a0'))):_0x305f04&&_0xa2510b['appendChild'](_0x200d07['createTextNode'](_0x5524ab)),_0xa2510b;});},'canInjectMarkerIntoElement':_0xc6a5c0=>_0x3a508c['schema']['checkChild'](_0xc6a5c0,'$text')&&_0x3a508c['schema']['checkChild'](_0xc6a5c0,'$inlineObject')&&!_0x3a508c['schema']['isLimit'](_0xc6a5c0)&&_0xc6a5c0['getAttribute']('listType')==_0x415454['listType']&&_0xc6a5c0['getAttribute']('listMarkerStyle')==_0x415454['listMarkerStyle']});_0x5f3008['conversion']['for']('upcast')['add'](_0x2081d6=>{_0x2081d6['on']('element:span',function(_0x2fd628){return(_0x2aae43,_0x4a03cd,{writer:_0x4ebb27,consumable:_0x3f051a})=>{const _0x4aa8ab=_0x4a03cd['modelCursor'],_0x1652b3=_0x4aa8ab['parent'],_0x434577=_0x4a03cd['viewItem'];if(_0x3f051a['consume'](_0x434577,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x4aa8ab['isAtStart']&&_0x1652b3['hasAttribute']('listType')&&_0x434577['childCount']>0x0){const _0x16e43b=_0x2fd628['createRangeIn'](_0x434577);let _0x27c422='';for(const _0x2baae8 of _0x16e43b['getItems']())_0x2baae8['is']('$textProxy')?(_0x27c422+=_0x2baae8['data']['trim'](),_0x3f051a['consume'](_0x2baae8['textNode'])):_0x3f051a['consume'](_0x2baae8,{'name':!0x0});_0x4ebb27['setAttribute']('listMarker',_0x27c422['trim'](),_0x1652b3);}};}(_0x32388e));}),_0x27ea94['on']('postFixer',(_0x2a2d67,{listNodes:_0x2aac95,writer:_0x43cdce})=>{const _0xa9eb55=[];for(const {node:_0x327341,previousNodeInList:_0x543a28}of _0x2aac95){const _0x1101dc=_0x327341['getAttribute']('listType'),_0x18f182=_0x327341['getAttribute']('listMarkerStyle')||('customNumbered'==_0x1101dc?'legal':void 0x0),_0x8ff6f9=this['_listDefinitions']['find'](_0x1b5d0f=>_0x1b5d0f['listType']==_0x1101dc&&_0x1b5d0f['listMarkerStyle']==_0x18f182);if('customNumbered'!=_0x1101dc&&'customBulleted'!=_0x1101dc&&(_0x327341['hasAttribute']('listMarker')&&(_0x43cdce['removeAttribute']('listMarker',_0x327341),_0x2a2d67['return']=!0x0),_0x327341['hasAttribute']('listMarkerStyle')&&(_0x43cdce['removeAttribute']('listMarkerStyle',_0x327341),_0x2a2d67['return']=!0x0)),!_0x8ff6f9){'customBulleted'!=_0x1101dc||_0x18f182||(_0x43cdce['setAttribute']('listType','bulleted',_0x327341),_0x2a2d67['return']=!0x0);continue;}_0x327341['hasAttribute']('listMarkerStyle')||(_0x43cdce['setAttribute']('listMarkerStyle',_0x18f182,_0x327341),_0x2a2d67['return']=!0x0);const _0x362e46=_0x327341['getAttribute']('listIndent');if(_0x543a28&&_0x543a28['getAttribute']('listItemId')==_0x327341['getAttribute']('listItemId'))continue;_0xa9eb55['length']=_0x362e46+0x1,_0x543a28||_0xa9eb55[_0x362e46]?_0x543a28&&_0x543a28['getAttribute']('listType')!=_0x8ff6f9['listType']?_0xa9eb55[_0x362e46]=0x1:_0xa9eb55[_0x362e46]++:_0xa9eb55[_0x362e46]=_0x327341['getAttribute']('listStart')||0x1;const _0x1738aa=N(_0x362e46,_0x8ff6f9,_0xa9eb55);_0x327341['getAttribute']('listMarker')!=_0x1738aa&&(_0x43cdce['setAttribute']('listMarker',_0x1738aa,_0x327341),_0x2a2d67['return']=!0x0);}}),_0x27ea94['on']('checkElement',(_0x121bd2,{modelElement:_0x2c3ae8,viewElement:_0xcae80c})=>{const _0x30c6ba=_0x2c3ae8['getAttribute']('listType');if('customNumbered'!=_0x30c6ba&&'customBulleted'!=_0x30c6ba)return;if(_0x3a508c['schema']['checkChild'](_0x2c3ae8,'$text'))return;const _0x4103a7=_0x5b1111(_0x2c3ae8);let _0x233c61=!0x1;const _0x4daf19=_0x32388e['createPositionBefore'](_0xcae80c)['getWalker']({'direction':'backward'});for(const {item:_0x48f407}of _0x4daf19)if(_0x48f407['is']('element')){if(_0x5f3008['editing']['mapper']['toModelElement'](_0x48f407))break;if(_0x48f407['getCustomProperty']('listItemMarker')){_0x233c61=!0x0;break;}}_0x233c61!=_0x4103a7&&(_0x121bd2['return']=!0x0,_0x121bd2['stop']());});const _0xf96a43=_0x5f3008['editing']['view']['document'];this['listenTo'](_0xf96a43,'clipboardOutput',(_0x221a99,_0x19ac62)=>{const _0x5b1440=new _0x2a3b75({'name':'span','classes':'multi-level-list__marker'}),_0x252b55=new _0x2a3b75({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x39828e=new _0x4f9f6c(_0x19ac62['content']['document']),_0x2ae2ea=[];for(const _0x5dc699 of _0x39828e['createRangeIn'](_0x19ac62['content'])['getItems']())_0x5dc699['is']('element')&&_0x5b1440['match'](_0x5dc699)&&_0x2ae2ea['push'](_0x5dc699),_0x5dc699['is']('element')&&_0x252b55['match'](_0x5dc699)&&_0x39828e['removeStyle']('list-style-type',_0x5dc699);for(const _0x1ac7b6 of _0x2ae2ea)_0x39828e['remove'](_0x1ac7b6);});}['afterInit'](){!async function(_0x35caef){const _0x4033cf=_0x5d780a([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]),_0x4075c2=0xf46a94a,_0xf59e10=0xf4120da^_0x4075c2,_0x295b4b=window[_0x5d780a([0x44,0x61,0x74,0x65])][_0x5d780a([0x6e,0x6f,0x77])](),_0x13c57a=_0x35caef[_0x5d780a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51cf35=new window[(_0x5d780a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3783=>{_0x13c57a[_0x5d780a([0x6f,0x6e,0x63,0x65])](_0x5d780a([0x72,0x65,0x61,0x64,0x79]),_0x2a3783);}),_0x537de4={[_0x5d780a([0x6b,0x74,0x79])]:_0x5d780a([0x45,0x43]),[_0x5d780a([0x75,0x73,0x65])]:_0x5d780a([0x73,0x69,0x67]),[_0x5d780a([0x63,0x72,0x76])]:_0x5d780a([0x50,0x2d,0x32,0x35,0x36]),[_0x5d780a([0x78])]:_0x5d780a([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]),[_0x5d780a([0x79])]:_0x5d780a([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]),[_0x5d780a([0x61,0x6c,0x67])]:_0x5d780a([0x45,0x53,0x32,0x35,0x36])},_0x546a33=_0x13c57a[_0x5d780a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d780a([0x67,0x65,0x74])](_0x5d780a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x358cc2(){let _0x5074e9,_0x16c8b2=null,_0x1e9b9b=null;try{if(_0x546a33==_0x5d780a([0x47,0x50,0x4c]))return _0x5d780a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5074e9=_0x3e758b(),!_0x5074e9)return _0x5d780a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5074e9[_0x5d780a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e9b9b=_0x342cef(_0x5074e9[_0x5d780a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5074e9[_0x5d780a([0x6a,0x74,0x69])])),await _0x3fa203()?_0x2f0180()?_0x1df14f()?_0x5d780a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x412942()?(_0x5074e9[_0x5d780a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d780a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16c8b2=_0x12da84(_0x5d780a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd84132()):_0x5d780a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d780a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d780a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d780a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1df14f(){const _0x110d59=[_0x5d780a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d780a([0x74,0x72,0x69,0x61,0x6c])][_0x5d780a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5074e9[_0x5d780a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x295b4b/0x3e8:0xe10*_0xf59e10;return _0x5074e9[_0x5d780a([0x65,0x78,0x70])]<_0x110d59;}function _0x2f0180(){const _0x33ec59=_0x5074e9[_0x5d780a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33ec59&&(!!_0x33ec59[_0x5d780a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d780a([0x2a]))||!!_0x33ec59[_0x5d780a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d780a([0x4d,0x4c,0x4c])));}function _0x412942(){const _0x4ee837=_0x5074e9[_0x5d780a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ee837||0x0==_0x4ee837[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36461d}=new URL(window[_0x5d780a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4ee837[_0x5d780a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36461d))return!0x0;const _0x2619e9=_0x36461d[_0x5d780a([0x73,0x70,0x6c,0x69,0x74])](_0x5d780a([0x2e]));return _0x4ee837[_0x5d780a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45faff=>_0x45faff[_0x5d780a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d780a([0x2a])))[_0x5d780a([0x6d,0x61,0x70])](_0x4f2c99=>_0x4f2c99[_0x5d780a([0x73,0x70,0x6c,0x69,0x74])](_0x5d780a([0x2e])))[_0x5d780a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27d637=>_0x27d637[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2619e9[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d780a([0x6d,0x61,0x70])](_0x2a8110=>Array(_0x2619e9[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a8110[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d780a([0x66,0x69,0x6c,0x6c])](_0x2a8110[0x0]===_0x5d780a([0x2a])?_0x5d780a([0x2a]):'')[_0x5d780a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a8110))[_0x5d780a([0x73,0x6f,0x6d,0x65])](_0x413343=>_0x2619e9[_0x5d780a([0x65,0x76,0x65,0x72,0x79])]((_0x2d70a6,_0x4a038d)=>_0x413343[_0x4a038d]===_0x2d70a6||_0x413343[_0x4a038d]===_0x5d780a([0x2a])));}function _0xd84132(){return _0x16c8b2&&_0x1e9b9b?new window[(_0x5d780a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26e91d,_0x23cc4c)=>{_0x16c8b2[_0x5d780a([0x74,0x68,0x65,0x6e])](_0x26e91d,_0x23cc4c),_0x1e9b9b[_0x5d780a([0x74,0x68,0x65,0x6e])](_0x5e66aa=>{_0x5e66aa!=_0x5d780a([0x56,0x61,0x6c,0x69,0x64])&&_0x26e91d(_0x5e66aa);},_0x23cc4c);}):_0x16c8b2||_0x1e9b9b||_0x5d780a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x342cef(_0x4ae390,_0x57ce5f){return new window[(_0x5d780a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f1845=>{if(_0x1ec4d5())return _0x4f1845(_0x5d780a([0x56,0x61,0x6c,0x69,0x64]));_0x48f5e3(),_0x13c57a[_0x5d780a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d780a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ec064=!0x1;const _0x236fed=_0x45d86d();function _0xcfa4b6(_0x53f56f){return!!_0x53f56f&&(typeof _0x53f56f===_0x5d780a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x53f56f===_0x5d780a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x53f56f[_0x5d780a([0x74,0x68,0x65,0x6e])]===_0x5d780a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x53f56f[_0x5d780a([0x63,0x61,0x74,0x63,0x68])]===_0x5d780a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2335c9(_0x149558){_0xfa1698(_0x149558)[_0x5d780a([0x74,0x68,0x65,0x6e])](_0x14656c=>{if(!_0x14656c||_0x14656c[_0x5d780a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d780a([0x6f,0x6b]))return _0x5d780a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x280e47(_0x52a4cb(_0x236fed+_0x57ce5f))!=_0x14656c[_0x5d780a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d780a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d780a([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d780a([0x74,0x68,0x65,0x6e])](_0xd541db=>(_0x1cab11(),_0xd541db),()=>{const _0x26d9d5=_0x4e9710();return null==_0x26d9d5?(_0x1cab11(),_0x5d780a([0x56,0x61,0x6c,0x69,0x64])):_0x5d780a(_0x295b4b-_0x26d9d5>(0x2b4a2d4a^_0x4075c2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d780a([0x74,0x68,0x65,0x6e])](_0x4f1845)[_0x5d780a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f1845(_0x5d780a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46aeea=0xf7047ca^_0x4075c2;function _0x1cab11(){const _0x1dbc38=_0x5d780a([0x6c,0x6c,0x63,0x74,0x2d])+_0x280e47(_0x52a4cb(_0x4ae390)),_0x965542=_0x5a0953(_0x280e47(window[_0x5d780a([0x4d,0x61,0x74,0x68])][_0x5d780a([0x63,0x65,0x69,0x6c])](_0x295b4b/_0x46aeea)));window[_0x5d780a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d780a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dbc38,_0x965542);}function _0x4e9710(){const _0x1d46a8=_0x5d780a([0x6c,0x6c,0x63,0x74,0x2d])+_0x280e47(_0x52a4cb(_0x4ae390)),_0x290d62=window[_0x5d780a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d780a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d46a8);return _0x290d62?window[_0x5d780a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a0953(_0x290d62),0x10)*_0x46aeea:null;}function _0xfa1698(_0x1ebbca){return new window[(_0x5d780a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a788,_0x1a438f)=>{_0x1ebbca[_0x5d780a([0x74,0x68,0x65,0x6e])](_0x54a788,_0x1a438f),window[_0x5d780a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a438f,0xf477d8a^_0x4075c2);});}}_0x13c57a[_0x5d780a([0x6f,0x6e])](_0x5d780a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe2a370,_0x5bb301)=>{if(_0x5bb301[0x0]!=_0x4ae390)return _0x4f1845(_0x5d780a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bb301[0x1]={..._0x5bb301[0x1],[_0x5d780a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x236fed};},{[_0x5d780a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d780a([0x68,0x69,0x67,0x68])}),_0x13c57a[_0x5d780a([0x6f,0x6e])](_0x5d780a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x72d895=>{_0xcfa4b6(_0x72d895[_0x5d780a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ec064=!0x0,_0x2335c9(_0x72d895[_0x5d780a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d780a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d780a([0x6c,0x6f,0x77])}),_0x51cf35[_0x5d780a([0x74,0x68,0x65,0x6e])](()=>{_0x5ec064||_0x4f1845(_0x5d780a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ec4d5(){return _0x13c57a[_0x5d780a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d780a([0x76,0x69,0x65,0x77])][_0x5d780a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d780a([0x61,0x75,0x74,0x6f]);}function _0x48f5e3(){_0x13c57a[_0x5d780a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d780a([0x76,0x69,0x65,0x77])][_0x5d780a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d780a([0x61,0x75,0x74,0x6f]);}}function _0x12da84(_0x46f616){const _0x31f442=[new window[(_0x5d780a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327585=>setTimeout(_0x327585,0xf4f9786^_0x4075c2)),_0x51cf35[_0x5d780a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d780a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4efc6c=>{let _0x46209b=0x0;_0x13c57a[_0x5d780a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d780a([0x6f,0x6e])](_0x5d780a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xfb1299,_0x53ce14)=>{_0x53ce14[0x0][_0x5d780a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46209b++,_0x46209b==(0xf46aca2^_0x4075c2)&&(_0x4efc6c(),_0xfb1299[_0x5d780a([0x6f,0x66,0x66])]());});}))];return window[_0x5d780a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d780a([0x72,0x61,0x63,0x65])](_0x31f442)[_0x5d780a([0x74,0x68,0x65,0x6e])](()=>_0x46f616);}async function _0x278729(){await _0x51cf35,_0x13c57a[_0x5d780a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d780a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10b052,_0x13c57a[_0x5d780a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d780a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10b052,_0x13c57a[_0x5d780a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d780a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15d25b(_0x94532b){const _0x23c893=_0x2f0c36();_0x13c57a[_0x23c893]=_0x5d780a([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x94532b,_0x94532b!=_0x5d780a([0x56,0x61,0x6c,0x69,0x64])&&_0x278729();}function _0x2f0c36(){const _0x8b1eb1=window[_0x5d780a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d780a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d780a([0x6e,0x6f,0x77])]())[_0x5d780a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d780a([0x2e]),'');let _0x217dbc=_0x5d780a([0x75]);for(let _0x2abc50=0x0;_0x2abc50<_0x8b1eb1[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2abc50+=0x2){let _0x735929=window[_0x5d780a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8b1eb1[_0x5d780a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2abc50,_0x2abc50+0x2));_0x735929>=_0x4033cf[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x735929-=_0x4033cf[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x217dbc+=_0x4033cf[_0x735929];}return _0x217dbc;}function _0x3e758b(){const _0x3a6618=_0x546a33[_0x5d780a([0x73,0x70,0x6c,0x69,0x74])](_0x5d780a([0x2e]));if(0x3!=_0x3a6618[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5671c4(_0x3a6618[0x1]);function _0x5671c4(_0x3c228e){const _0xc17363=_0x228d85(_0x3c228e);return _0xc17363&&_0x567b91()?_0xc17363:null;function _0x567b91(){const _0x1ac162=_0xc17363[_0x5d780a([0x6a,0x74,0x69])],_0x4dc3d7=window[_0x5d780a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ac162[_0x5d780a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ac162[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x303fdd={..._0xc17363,[_0x5d780a([0x6a,0x74,0x69])]:_0x1ac162[_0x5d780a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ac162[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x303fdd[_0x5d780a([0x76,0x63])],_0x52a4cb(_0x303fdd)==_0x4dc3d7;}}}async function _0x3fa203(){let _0x3ddcfc=!0x0;try{const _0x5a8990=_0x546a33[_0x5d780a([0x73,0x70,0x6c,0x69,0x74])](_0x5d780a([0x2e])),[_0x5e60f0,_0x34c596,_0x45458f]=_0x5a8990;return _0x35fa2b(_0x5e60f0),await _0x1d6deb(_0x5e60f0,_0x34c596,_0x45458f),_0x3ddcfc;}catch{return!0x1;}function _0x35fa2b(_0x5149a7){const _0x1c8ad3=_0x228d85(_0x5149a7);_0x1c8ad3&&_0x1c8ad3[_0x5d780a([0x61,0x6c,0x67])]==_0x5d780a([0x45,0x53,0x32,0x35,0x36])||(_0x3ddcfc=!0x1);}async function _0x1d6deb(_0x29ced4,_0x12d322,_0x3040){const _0x2a89f5=window[_0x5d780a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d780a([0x66,0x72,0x6f,0x6d])](_0x5f4975(_0x3040),_0x3b7f74=>_0x3b7f74[_0x5d780a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41e781=new window[(_0x5d780a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d780a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29ced4+_0x5d780a([0x2e])+_0x12d322),_0x1fc6a1=window[_0x5d780a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d780a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fc6a1)return;const _0x1740e0=await _0x1fc6a1[_0x5d780a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d780a([0x6a,0x77,0x6b]),_0x537de4,{[_0x5d780a([0x6e,0x61,0x6d,0x65])]:_0x5d780a([0x45,0x43,0x44,0x53,0x41]),[_0x5d780a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d780a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d780a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fc6a1[_0x5d780a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d780a([0x6e,0x61,0x6d,0x65])]:_0x5d780a([0x45,0x43,0x44,0x53,0x41]),[_0x5d780a([0x68,0x61,0x73,0x68])]:{[_0x5d780a([0x6e,0x61,0x6d,0x65])]:_0x5d780a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1740e0,_0x2a89f5,_0x41e781)||(_0x3ddcfc=!0x1);}}function _0x228d85(_0x2fb546){return _0x2fb546[_0x5d780a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d780a([0x65,0x79]))?JSON[_0x5d780a([0x70,0x61,0x72,0x73,0x65])](_0x5f4975(_0x2fb546)):null;}function _0x5f4975(_0x4398f6){return window[_0x5d780a([0x61,0x74,0x6f,0x62])](_0x4398f6[_0x5d780a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d780a([0x2b]))[_0x5d780a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d780a([0x2f])));}function _0x52a4cb(_0xda4cfa){let _0x3cb9c2=0x1505;function _0x27a371(_0x6decc8){for(let _0x5f5c56=0x0;_0x5f5c56<_0x6decc8[_0x5d780a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f5c56++){const _0x33abdc=_0x6decc8[_0x5d780a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f5c56);_0x3cb9c2=(_0x3cb9c2<<0x5)+_0x3cb9c2+_0x33abdc,_0x3cb9c2&=_0x3cb9c2;}}function _0x20b00e(_0x52d7ac){Array[_0x5d780a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52d7ac)?_0x52d7ac[_0x5d780a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20b00e):_0x52d7ac&&typeof _0x52d7ac==_0x5d780a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d780a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52d7ac)[_0x5d780a([0x73,0x6f,0x72,0x74])]()[_0x5d780a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x253a6b,_0x5543b7])=>{_0x27a371(_0x253a6b),_0x20b00e(_0x5543b7);}):_0x27a371(window[_0x5d780a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52d7ac));}return _0x20b00e(_0xda4cfa),_0x3cb9c2>>>0x0;}function _0x280e47(_0x91a5fd){return _0x91a5fd[_0x5d780a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d780a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d780a([0x30]));}function _0x5a0953(_0x3134dd){return _0x3134dd[_0x5d780a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d780a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d780a([0x6a,0x6f,0x69,0x6e])]('');}function _0x10b052(){}function _0x5d780a(_0x2a2a52){return _0x2a2a52['map'](_0x2b5143=>String['fromCharCode'](_0x2b5143))['join']('');}_0x15d25b(await _0x358cc2());}(this);}}function N(_0x3c0c98,_0x5cb6d9,_0x1c1d8f){let _0x3fd2ce=_0x5cb6d9['listMarkers'][_0x3c0c98%_0x5cb6d9['listMarkers']['length']];if(void 0x0===_0x3fd2ce['showMarkerPath']||_0x3fd2ce['showMarkerPath'])return _0x1c1d8f['slice'](0x0,_0x3c0c98+0x1)['map']((_0xf7efa1,_0x1c084c)=>(_0x3fd2ce=_0x5cb6d9['listMarkers'][_0x1c084c%_0x5cb6d9['listMarkers']['length']],_(_0x3fd2ce['marker'],_0xf7efa1)))['join']('');{const _0x547970=_0x1c1d8f[_0x1c1d8f['length']-0x1];return _(_0x3fd2ce['marker'],_0x547970);}}function _(_0x45119a,_0x12c6e6){return'function'==typeof _0x45119a?_0x45119a(_0x12c6e6):_0x45119a;}function E(_0x42d99e,_0x2d3549){return(_0x2ccd3a,_0x801529,_0x3a8ff2)=>{const _0x42c1b6=_0x801529['viewItem'];if(_0x801529['modelRange']||Object['assign'](_0x801529,_0x3a8ff2['convertChildren'](_0x801529['viewItem'],_0x801529['modelCursor'])),!_0x3a8ff2['consumable']['test'](_0x42c1b6,{'classes':_0x42d99e['className']}))return;const _0x493cdc=Array['from'](_0x801529['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x137b40=>_0x2d3549['checkAttribute'](_0x137b40,'listItemId'));if(!_0x493cdc['length'])return;_0x3a8ff2['consumable']['consume'](_0x42c1b6,{'classes':_0x42d99e['className']}),_0x3a8ff2['consumable']['consume'](_0x42c1b6,{'classes':'multi-level-list'}),_0x3a8ff2['consumable']['consume'](_0x42c1b6,{'styles':'list-style-type'});const _0x4c5244=_0x493cdc[0x0]['getAttribute']('listIndent');for(const _0x47d964 of _0x493cdc)_0x47d964['getAttribute']('listIndent')==_0x4c5244&&(_0x3a8ff2['writer']['setAttribute']('listType',_0x42d99e['listType'],_0x47d964),_0x3a8ff2['writer']['setAttribute']('listMarkerStyle',_0x42d99e['listMarkerStyle'],_0x47d964));};}function P(_0x3017d7,_0x34763e){const _0x1a8802=_0x3017d7['t'],t=_0x3017d7['t'];switch(_0x34763e){case'Start\x20at':return _0x1a8802('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x1a8802('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x1a8802('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x1a8802('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 _0x34763e;}}class T extends _0x188f1b{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x235603();['keystrokes']=new _0x43aceb();['focusables']=new _0x5157a9();['focusCycler'];constructor(_0x4c96db,{enabledProperties:_0x2eea5d,styleButtonViews:_0x2c7e81,styleGridAriaLabel:_0x1d334c}){super(_0x4c96db);const _0x24a8ee=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0xf34d38({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x2eea5d['styles']?(this['stylesView']=this['_createStylesView'](_0x2c7e81,_0x1d334c),this['children']['add'](this['stylesView'])):_0x24a8ee['push']('ck-multi-level-list-properties_without-styles'),_0x2eea5d['startIndex']&&(this['_addListPropertyViews'](_0x2eea5d),_0x24a8ee['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x24a8ee},'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 _0x52b479 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x52b479['element']);_0x2f301e({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x3b284b['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 _0x21e552=_0x19ac42=>_0x19ac42['stopPropagation']();this['keystrokes']['set']('arrowright',_0x21e552),this['keystrokes']['set']('arrowleft',_0x21e552),this['keystrokes']['set']('arrowup',_0x21e552),this['keystrokes']['set']('arrowdown',_0x21e552);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x1b45f7,_0x89ca45){const _0x50205e=new _0x188f1b(this['locale']);return _0x50205e['children']=_0x50205e['createCollection'](),_0x50205e['children']['addMany'](_0x1b45f7),_0x50205e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x89ca45,'class':['ck','ck-multi-level-list-styles']},'children':_0x50205e['children']}),_0x50205e['children']['delegate']('execute')['to'](this),_0x50205e['focus']=function(){this['children']['first']['focus']();},_0x50205e['focusTracker']=new _0x235603(),_0x50205e['keystrokes']=new _0x43aceb(),_0x50205e['render'](),_0x50205e['keystrokes']['listenTo'](_0x50205e['element']),_0x50205e;}['_addListPropertyViews'](_0x3a8c57){const _0x4b8017=[];_0x3a8c57['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x4b8017['push'](this['startIndexFieldView'])),_0x3a8c57['styles']?(this['additionalPropertiesCollapsibleView']=new _0x4262d5(this['locale'],_0x4b8017),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x4b8017,'isEnabled',(..._0x23481b)=>_0x23481b['some'](_0x4326ff=>_0x4326ff)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x4c5f83,_0x33a577,_0x581bf3)=>{_0x581bf3||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x4b8017);}['_createStartIndexField'](){const _0x5c617c=new _0x1e3104(this['locale'],_0x4b3c4f);return _0x5c617c['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x5c617c['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5c617c['fieldView']['on']('input',()=>{const _0x255278=_0x5c617c['fieldView']['element'],_0x863453=_0x255278['valueAsNumber'];Number['isNaN'](_0x863453)?_0x5c617c['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x255278['checkValidity']()?this['fire']('listStart',{'startIndex':_0x863453}):_0x5c617c['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x5c617c;}}class K extends _0x5293ab{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x20fe0b=this['editor'];_0x20fe0b['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x16d229,parentCommandName:_0x2d6c3f,buttonLabel:_0xa05a2c,buttonIcon:_0x56869b,styleGridAriaLabel:_0x1e1382,styleDefinitions:_0x2e4834}){const _0x423db2=_0x16d229['commands']['get'](_0x2d6c3f),_0x572c29=_0x16d229['config']['get']('list.properties')||{},_0x2d5ef2=_0x16d229['plugins']['has']('ListProperties'),_0x5825c6=_0x572c29['startIndex'];if(!_0x2d5ef2||!_0x5825c6)return _0x15e59a=>{const _0x3ce153=new _0x35eb20(_0x15e59a);return _0x3ce153['set']({'label':_0xa05a2c,'icon':_0x56869b,'tooltip':!0x0,'isToggleable':!0x0}),_0x3ce153['bind']('isOn')['to'](_0x423db2,'value',_0x36effb=>!!_0x36effb),_0x3ce153['on']('execute',()=>{_0x16d229['execute'](_0x2d6c3f),_0x16d229['editing']['view']['focus']();}),_0x3ce153;};return _0x951dea=>{const _0xb618ab=_0x1c7e96(_0x951dea,_0x299a8c),_0x3cb6e7=_0xb618ab['buttonView'];return _0xb618ab['bind']('isEnabled')['to'](_0x423db2),_0xb618ab['class']='ck-list-styles-dropdown',_0x3cb6e7['on']('execute',()=>{_0x16d229['execute'](_0x2d6c3f),_0x16d229['editing']['view']['focus']();}),_0x3cb6e7['set']({'label':_0xa05a2c,'icon':_0x56869b,'tooltip':!0x0,'isToggleable':!0x0}),_0x3cb6e7['bind']('isOn')['to'](_0x423db2,'value',_0x5131fa=>!!_0x5131fa),_0xb618ab['once']('change:isOpen',()=>{const _0x4263a7=function({editor:_0x10e5ab,dropdownView:_0x12381d,styleDefinitions:_0x165748,styleGridAriaLabel:_0x32eda1}){const _0x5569ad=_0x10e5ab['locale'],_0x1daafe=_0x10e5ab['config']['get']('list.properties'),_0x1e7b2c=null;_0x1daafe['reversed']=!0x1,_0x165748['length']||(_0x1daafe['styles']=!0x1);const _0x4d4a99=new T(_0x5569ad,{'styleGridAriaLabel':_0x32eda1,'enabledProperties':_0x1daafe,'styleButtonViews':_0x1e7b2c});if(_0x1daafe['startIndex']){const _0x41554d=_0x10e5ab['commands']['get']('listStart');_0x4d4a99['startIndexFieldView']['bind']('isEnabled')['to'](_0x41554d),_0x4d4a99['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x41554d),_0x4d4a99['on']('listStart',(_0x164cea,_0x27d618)=>_0x10e5ab['execute']('listStart',_0x27d618));}return _0x4d4a99['delegate']('execute')['to'](_0x12381d),_0x4d4a99;}({'editor':_0x16d229,'dropdownView':_0xb618ab,'styleGridAriaLabel':_0x1e1382,'styleDefinitions':_0x2e4834});_0xb618ab['panelView']['children']['add'](_0x4263a7);}),_0xb618ab['on']('execute',()=>{_0x16d229['editing']['view']['focus']();}),_0xb618ab;};}({'editor':_0x20fe0b,'parentCommandName':'multiLevelList','buttonLabel':P(_0x20fe0b['locale'],'Multi-level\x20List'),'buttonIcon':_0x236b34,'styleGridAriaLabel':P(_0x20fe0b['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x20fe0b['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x361d70=_0x20fe0b['commands']['get']('multiLevelList'),_0x348192=new _0x3cdab0(_0x20fe0b['locale']);return _0x348192['set']({'label':P(_0x20fe0b['locale'],'Multi-level\x20List'),'icon':_0x236b34}),_0x348192['bind']('isEnabled')['to'](_0x361d70),_0x348192['bind']('isOn')['to'](_0x361d70,'value',_0x5950c1=>!!_0x5950c1),_0x348192['on']('execute',()=>{_0x20fe0b['execute']('multiLevelList'),_0x20fe0b['editing']['view']['focus']();}),_0x348192;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f3914=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x25e247;for(const _0x1ed794 in _0x3f3914){const _0xbc5d7b=_0x1ed794,_0x21f418=_0x3f3914[_0xbc5d7b];if('multiLevelListLicenseKeyValid'==_0x21f418||'multiLevelListLicenseKeyInvalid'==_0x21f418||'multiLevelListLicenseKeyExpired'==_0x21f418||'multiLevelListLicenseKeyDomainLimit'==_0x21f418||'multiLevelListLicenseKeyNotAllowed'==_0x21f418||'multiLevelListLicenseKeyEvaluationLimit'==_0x21f418||'multiLevelListLicenseKeyUsageLimit'==_0x21f418){delete _0x3f3914[_0xbc5d7b],_0x25e247=_0x21f418,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x25e247&&_0x3f3914['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x25e247&&_0x3f3914['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x25e247&&_0x3f3914['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x25e247&&_0x3f3914['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x25e247&&_0x3f3914['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x25e247&&_0x3f3914['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x5293ab{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[S,K];}}export{A as MultiLevelList,I as MultiLevelListCommand,S as MultiLevelListEditing,K as MultiLevelListUI};
23
+ import{Command as _0x368720,Plugin as _0x3a9c77}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x46620f,ViewUpcastWriter as _0x5b1521}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x3b1fc9,_isFirstBlockOfListItem as _0x2f6c96}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x148d0d,createElement as _0x17c46d,uid as _0x53aaf4,FocusTracker as _0x219810,KeystrokeHandler as _0x5d02be,global as _0x3b7585}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x18f853}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3fb4f3,ViewCollection as _0x3c4709,FocusCycler as _0x301aa1,addKeyboardHandlingForGrid as _0x4bb2ea,CollapsibleView as _0x39cd77,LabeledFieldView as _0x4d2870,createLabeledInputNumber as _0x10a2a4,MenuBarMenuListItemButtonView as _0x491192,ButtonView as _0x33f9db,createDropdown as _0xe1b1ce,SplitButtonView as _0x489711}from'@ckeditor/ckeditor5-ui/dist/index.js';class I extends _0x368720{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x458dfc,_0x6cf58f,_0x1bdec6){super(_0x458dfc),this['defaultListMarkerStyle']=_0x6cf58f,this['_listDefinitions']=_0x1bdec6,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x43e72c={}){const _0x281660=this['editor']['model'],_0x591d02=_0x43e72c['listMarkerStyle']||this['defaultListMarkerStyle'];_0x281660['change'](()=>{const _0x566418=this['_getListTypeFromListMarkerStyle'](_0x591d02);if(!_0x566418)return;const _0x55f670=_0x566418+'List';this['editor']['execute'](_0x55f670,{'additionalAttributes':{'listMarkerStyle':_0x591d02}});});}['_getValue'](){const _0x4f63b7=_0x148d0d(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x4f63b7)?_0x4f63b7['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x3f89e9=this['editor'],_0x4f6ceb=_0x3f89e9['commands']['get']('customNumberedList'),_0x12f75b=_0x3f89e9['commands']['get']('customBulletedList');return _0x4f6ceb['isEnabled']||_0x12f75b['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x26dc3c){const _0x259eb8=this['_listDefinitions']['find'](_0x27a6cb=>_0x27a6cb['listMarkerStyle']==_0x26dc3c);return _0x259eb8?_0x259eb8['listType']:null;}}class S extends _0x3a9c77{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3b1fc9];}constructor(_0x2628bc){super(_0x2628bc);const _0x54381f=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x4e527e=>_0x4e527e+'.'}]},..._0x54381f];}['init'](){const _0x1c7e65=this['editor'],_0x5ec828=_0x1c7e65['model'],_0x24e739=_0x1c7e65['editing']['view'],_0x457c4b=_0x1c7e65['plugins']['get'](_0x3b1fc9);_0x1c7e65['commands']['add']('multiLevelList',new I(_0x1c7e65,'legal',this['_listDefinitions'])),_0x5ec828['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x5ec828['schema']['addAttributeCheck']((_0x2b7df5,_0x2cf7ed)=>{const _0x48371b=_0x2b7df5['last'];if('listMarker'==_0x2cf7ed||'listMarkerStyle'==_0x2cf7ed)return!(!_0x48371b['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x551853=>_0x551853['listType']==_0x48371b['getAttribute']('listType')))&&void 0x0;});for(const _0x586090 of this['_listDefinitions'])_0x1c7e65['conversion']['for']('upcast')['add'](_0x167781=>{_0x167781['on']('element:'+('customNumbered'==_0x586090['listType']?'ol':'ul'),E(_0x586090,_0x5ec828['schema']),{'priority':'low'});}),_0x457c4b['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x28fcd6,_0x53e9c1,_0x4df41c){_0x53e9c1==_0x586090['listMarkerStyle']?(_0x28fcd6['addClass'](['multi-level-list',_0x586090['className']],_0x4df41c),_0x28fcd6['setStyle']('list-style-type','none',_0x4df41c)):(_0x28fcd6['removeClass'](['multi-level-list',_0x586090['className']],_0x4df41c),_0x28fcd6['removeStyle']('list-style-type',_0x4df41c));}}),_0x457c4b['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x274cef,_0x583303,{dataPipeline:_0x320e1}){if(!_0x583303['hasAttribute']('listMarker'))return null;if(_0x583303['getAttribute']('listType')!=_0x586090['listType']||_0x583303['getAttribute']('listMarkerStyle')!=_0x586090['listMarkerStyle'])return null;const _0x4d1a22=String(_0x583303['getAttribute']('listMarker')),_0x47e880=this['canInjectMarkerIntoElement'](_0x583303);return _0x274cef['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x320e1&&{'contenteditable':'false','data-multi-level-list-marker':_0x4d1a22}},function(_0x3ed3fb){const _0x48661d=this['toDomElement'](_0x3ed3fb);return _0x47e880?(_0x48661d['appendChild'](_0x17c46d(_0x3ed3fb,'span',{},_0x320e1?_0x3ed3fb['createTextNode'](_0x4d1a22):[])),_0x48661d['appendChild'](_0x3ed3fb['createTextNode']('\u00a0'))):_0x320e1&&_0x48661d['appendChild'](_0x3ed3fb['createTextNode'](_0x4d1a22)),_0x48661d;});},'canInjectMarkerIntoElement':_0x1efb59=>_0x5ec828['schema']['checkChild'](_0x1efb59,'$text')&&_0x5ec828['schema']['checkChild'](_0x1efb59,'$inlineObject')&&!_0x5ec828['schema']['isLimit'](_0x1efb59)&&_0x1efb59['getAttribute']('listType')==_0x586090['listType']&&_0x1efb59['getAttribute']('listMarkerStyle')==_0x586090['listMarkerStyle']});_0x1c7e65['conversion']['for']('upcast')['add'](_0x5573dd=>{_0x5573dd['on']('element:span',function(_0x51cc4f){return(_0x4398c2,_0x1d84a7,{writer:_0x3926d7,consumable:_0xfe9b5})=>{const _0x80e7e8=_0x1d84a7['modelCursor'],_0x35f9c3=_0x80e7e8['parent'],_0x5c63e4=_0x1d84a7['viewItem'];if(_0xfe9b5['consume'](_0x5c63e4,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x80e7e8['isAtStart']&&_0x35f9c3['hasAttribute']('listType')&&_0x5c63e4['childCount']>0x0){const _0xd8ee64=_0x51cc4f['createRangeIn'](_0x5c63e4);let _0x1349b9='';for(const _0x2dcabe of _0xd8ee64['getItems']())_0x2dcabe['is']('$textProxy')?(_0x1349b9+=_0x2dcabe['data']['trim'](),_0xfe9b5['consume'](_0x2dcabe['textNode'])):_0xfe9b5['consume'](_0x2dcabe,{'name':!0x0});_0x3926d7['setAttribute']('listMarker',_0x1349b9['trim'](),_0x35f9c3);}};}(_0x24e739));}),_0x457c4b['on']('postFixer',(_0x4aa235,{listNodes:_0x2e73e2,writer:_0xfc54f5})=>{const _0x5c93e9=[];for(const {node:_0x1f6811,previousNodeInList:_0x2c8c5a}of _0x2e73e2){const _0x15073f=_0x1f6811['getAttribute']('listType'),_0x37fcff=_0x1f6811['getAttribute']('listMarkerStyle')||('customNumbered'==_0x15073f?'legal':void 0x0),_0x4a5dd0=this['_listDefinitions']['find'](_0x508c66=>_0x508c66['listType']==_0x15073f&&_0x508c66['listMarkerStyle']==_0x37fcff);if('customNumbered'!=_0x15073f&&'customBulleted'!=_0x15073f&&(_0x1f6811['hasAttribute']('listMarker')&&(_0xfc54f5['removeAttribute']('listMarker',_0x1f6811),_0x4aa235['return']=!0x0),_0x1f6811['hasAttribute']('listMarkerStyle')&&(_0xfc54f5['removeAttribute']('listMarkerStyle',_0x1f6811),_0x4aa235['return']=!0x0)),!_0x4a5dd0){'customBulleted'!=_0x15073f||_0x37fcff||(_0xfc54f5['setAttribute']('listType','bulleted',_0x1f6811),_0x4aa235['return']=!0x0);continue;}_0x1f6811['hasAttribute']('listMarkerStyle')||(_0xfc54f5['setAttribute']('listMarkerStyle',_0x37fcff,_0x1f6811),_0x4aa235['return']=!0x0);const _0x1925e4=_0x1f6811['getAttribute']('listIndent');if(_0x2c8c5a&&_0x2c8c5a['getAttribute']('listItemId')==_0x1f6811['getAttribute']('listItemId'))continue;_0x5c93e9['length']=_0x1925e4+0x1,_0x2c8c5a||_0x5c93e9[_0x1925e4]?_0x2c8c5a&&_0x2c8c5a['getAttribute']('listType')!=_0x4a5dd0['listType']?_0x5c93e9[_0x1925e4]=0x1:_0x5c93e9[_0x1925e4]++:_0x5c93e9[_0x1925e4]=_0x1f6811['getAttribute']('listStart')||0x1;const _0x491e48=N(_0x1925e4,_0x4a5dd0,_0x5c93e9);_0x1f6811['getAttribute']('listMarker')!=_0x491e48&&(_0xfc54f5['setAttribute']('listMarker',_0x491e48,_0x1f6811),_0x4aa235['return']=!0x0);}}),_0x457c4b['on']('checkElement',(_0x36f266,{modelElement:_0x23cfd0,viewElement:_0x4c5639})=>{const _0xc1769e=_0x23cfd0['getAttribute']('listType');if('customNumbered'!=_0xc1769e&&'customBulleted'!=_0xc1769e)return;if(_0x5ec828['schema']['checkChild'](_0x23cfd0,'$text'))return;const _0x507846=_0x2f6c96(_0x23cfd0);let _0x173038=!0x1;const _0x6f3453=_0x24e739['createPositionBefore'](_0x4c5639)['getWalker']({'direction':'backward'});for(const {item:_0x3bb9a7}of _0x6f3453)if(_0x3bb9a7['is']('element')){if(_0x1c7e65['editing']['mapper']['toModelElement'](_0x3bb9a7))break;if(_0x3bb9a7['getCustomProperty']('listItemMarker')){_0x173038=!0x0;break;}}_0x173038!=_0x507846&&(_0x36f266['return']=!0x0,_0x36f266['stop']());});const _0x2c155c=_0x1c7e65['editing']['view']['document'];this['listenTo'](_0x2c155c,'clipboardOutput',(_0x3185ef,_0x37fb22)=>{const _0x1f95b8=new _0x46620f({'name':'span','classes':'multi-level-list__marker'}),_0x59f218=new _0x46620f({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x26ce75=new _0x5b1521(_0x37fb22['content']['document']),_0x2215be=[];for(const _0x13a22f of _0x26ce75['createRangeIn'](_0x37fb22['content'])['getItems']())_0x13a22f['is']('element')&&_0x1f95b8['match'](_0x13a22f)&&_0x2215be['push'](_0x13a22f),_0x13a22f['is']('element')&&_0x59f218['match'](_0x13a22f)&&_0x26ce75['removeStyle']('list-style-type',_0x13a22f);for(const _0xf3fd5d of _0x2215be)_0x26ce75['remove'](_0xf3fd5d);});}['afterInit'](){!async function(_0x2864c3){const _0xcd877c=_0x82381f([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]),_0x229218=0xf46a94a,_0x4c12af=0xf41208a^_0x229218,_0x737d51=window[_0x82381f([0x44,0x61,0x74,0x65])][_0x82381f([0x6e,0x6f,0x77])](),_0x2ad38c=_0x2864c3[_0x82381f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c9c95=new window[(_0x82381f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49570f=>{_0x2ad38c[_0x82381f([0x6f,0x6e,0x63,0x65])](_0x82381f([0x72,0x65,0x61,0x64,0x79]),_0x49570f);}),_0x5eec4b={[_0x82381f([0x6b,0x74,0x79])]:_0x82381f([0x45,0x43]),[_0x82381f([0x75,0x73,0x65])]:_0x82381f([0x73,0x69,0x67]),[_0x82381f([0x63,0x72,0x76])]:_0x82381f([0x50,0x2d,0x32,0x35,0x36]),[_0x82381f([0x78])]:_0x82381f([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]),[_0x82381f([0x79])]:_0x82381f([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]),[_0x82381f([0x61,0x6c,0x67])]:_0x82381f([0x45,0x53,0x32,0x35,0x36])},_0x1b45e0=_0x2ad38c[_0x82381f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x82381f([0x67,0x65,0x74])](_0x82381f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c63de(){let _0xe76894,_0xad3516=null,_0x555150=null;try{if(_0x1b45e0==_0x82381f([0x47,0x50,0x4c]))return _0x82381f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe76894=_0x1432da(),!_0xe76894)return _0x82381f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe76894[_0x82381f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x555150=_0x457a83(_0xe76894[_0x82381f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe76894[_0x82381f([0x6a,0x74,0x69])])),await _0xf0e48()?_0x2c5ba5()?_0x58213d()?_0x82381f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dcd45()?(_0xe76894[_0x82381f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x82381f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xad3516=_0x57e08b(_0x82381f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29e9c9()):_0x82381f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x82381f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x82381f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x82381f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58213d(){const _0x239772=[_0x82381f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x82381f([0x74,0x72,0x69,0x61,0x6c])][_0x82381f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe76894[_0x82381f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x737d51/0x3e8:0xe10*_0x4c12af;return _0xe76894[_0x82381f([0x65,0x78,0x70])]<_0x239772;}function _0x2c5ba5(){const _0x5159e3=_0xe76894[_0x82381f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5159e3&&(!!_0x5159e3[_0x82381f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x82381f([0x2a]))||!!_0x5159e3[_0x82381f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x82381f([0x4d,0x4c,0x4c])));}function _0x5dcd45(){const _0x333396=_0xe76894[_0x82381f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x333396||0x0==_0x333396[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13014f}=new URL(window[_0x82381f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x333396[_0x82381f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13014f))return!0x0;const _0x38448d=_0x13014f[_0x82381f([0x73,0x70,0x6c,0x69,0x74])](_0x82381f([0x2e]));return _0x333396[_0x82381f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3050e0=>_0x3050e0[_0x82381f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x82381f([0x2a])))[_0x82381f([0x6d,0x61,0x70])](_0xb95f85=>_0xb95f85[_0x82381f([0x73,0x70,0x6c,0x69,0x74])](_0x82381f([0x2e])))[_0x82381f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa6f21e=>_0xa6f21e[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38448d[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x82381f([0x6d,0x61,0x70])](_0x4a3c5b=>Array(_0x38448d[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a3c5b[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x82381f([0x66,0x69,0x6c,0x6c])](_0x4a3c5b[0x0]===_0x82381f([0x2a])?_0x82381f([0x2a]):'')[_0x82381f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a3c5b))[_0x82381f([0x73,0x6f,0x6d,0x65])](_0x434fee=>_0x38448d[_0x82381f([0x65,0x76,0x65,0x72,0x79])]((_0xae9ba8,_0x507207)=>_0x434fee[_0x507207]===_0xae9ba8||_0x434fee[_0x507207]===_0x82381f([0x2a])));}function _0x29e9c9(){return _0xad3516&&_0x555150?new window[(_0x82381f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c980c,_0x1c780e)=>{_0xad3516[_0x82381f([0x74,0x68,0x65,0x6e])](_0x4c980c,_0x1c780e),_0x555150[_0x82381f([0x74,0x68,0x65,0x6e])](_0x16e6b5=>{_0x16e6b5!=_0x82381f([0x56,0x61,0x6c,0x69,0x64])&&_0x4c980c(_0x16e6b5);},_0x1c780e);}):_0xad3516||_0x555150||_0x82381f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x457a83(_0x4d4698,_0x4d23dc){return new window[(_0x82381f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1e47=>{if(_0x52ca1c())return _0x5e1e47(_0x82381f([0x56,0x61,0x6c,0x69,0x64]));_0x678062(),_0x2ad38c[_0x82381f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x82381f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x260139=!0x1;const _0x47b809=_0x53aaf4();function _0x5b0488(_0x1fb884){return!!_0x1fb884&&(typeof _0x1fb884===_0x82381f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fb884===_0x82381f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fb884[_0x82381f([0x74,0x68,0x65,0x6e])]===_0x82381f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fb884[_0x82381f([0x63,0x61,0x74,0x63,0x68])]===_0x82381f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x563a53(_0x40c0c2){_0x572d91(_0x40c0c2)[_0x82381f([0x74,0x68,0x65,0x6e])](_0x548ec2=>{if(!_0x548ec2||_0x548ec2[_0x82381f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x82381f([0x6f,0x6b]))return _0x82381f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x110535(_0x3925ee(_0x47b809+_0x4d23dc))!=_0x548ec2[_0x82381f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x82381f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x82381f([0x56,0x61,0x6c,0x69,0x64]);})[_0x82381f([0x74,0x68,0x65,0x6e])](_0xe86899=>(_0x58e4c9(),_0xe86899),()=>{const _0x2b4ab8=_0x1e6384();return null==_0x2b4ab8?(_0x58e4c9(),_0x82381f([0x56,0x61,0x6c,0x69,0x64])):_0x82381f(_0x737d51-_0x2b4ab8>(0x2b4a2d4a^_0x229218)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x82381f([0x74,0x68,0x65,0x6e])](_0x5e1e47)[_0x82381f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e1e47(_0x82381f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3040f3=0xf7047ca^_0x229218;function _0x58e4c9(){const _0x1416ad=_0x82381f([0x6c,0x6c,0x63,0x74,0x2d])+_0x110535(_0x3925ee(_0x4d4698)),_0x12f2b4=_0x1cb3bc(_0x110535(window[_0x82381f([0x4d,0x61,0x74,0x68])][_0x82381f([0x63,0x65,0x69,0x6c])](_0x737d51/_0x3040f3)));window[_0x82381f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x82381f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1416ad,_0x12f2b4);}function _0x1e6384(){const _0x5a7df3=_0x82381f([0x6c,0x6c,0x63,0x74,0x2d])+_0x110535(_0x3925ee(_0x4d4698)),_0x105ca5=window[_0x82381f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x82381f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a7df3);return _0x105ca5?window[_0x82381f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cb3bc(_0x105ca5),0x10)*_0x3040f3:null;}function _0x572d91(_0x3abf02){return new window[(_0x82381f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcb667,_0x4dea49)=>{_0x3abf02[_0x82381f([0x74,0x68,0x65,0x6e])](_0xcb667,_0x4dea49),window[_0x82381f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4dea49,0xf477d8a^_0x229218);});}}_0x2ad38c[_0x82381f([0x6f,0x6e])](_0x82381f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ddf4f,_0x496ee4)=>{if(_0x496ee4[0x0]!=_0x4d4698)return _0x5e1e47(_0x82381f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x496ee4[0x1]={..._0x496ee4[0x1],[_0x82381f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47b809};},{[_0x82381f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x82381f([0x68,0x69,0x67,0x68])}),_0x2ad38c[_0x82381f([0x6f,0x6e])](_0x82381f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e7583=>{_0x5b0488(_0x3e7583[_0x82381f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x260139=!0x0,_0x563a53(_0x3e7583[_0x82381f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x82381f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x82381f([0x6c,0x6f,0x77])}),_0x4c9c95[_0x82381f([0x74,0x68,0x65,0x6e])](()=>{_0x260139||_0x5e1e47(_0x82381f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52ca1c(){return _0x2ad38c[_0x82381f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x82381f([0x76,0x69,0x65,0x77])][_0x82381f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x82381f([0x61,0x75,0x74,0x6f]);}function _0x678062(){_0x2ad38c[_0x82381f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x82381f([0x76,0x69,0x65,0x77])][_0x82381f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x82381f([0x61,0x75,0x74,0x6f]);}}function _0x57e08b(_0x407ecb){const _0x5881b6=[new window[(_0x82381f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ba60d=>setTimeout(_0x1ba60d,0xf4f9786^_0x229218)),_0x4c9c95[_0x82381f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x82381f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b11ea=>{let _0x446db9=0x0;_0x2ad38c[_0x82381f([0x6d,0x6f,0x64,0x65,0x6c])][_0x82381f([0x6f,0x6e])](_0x82381f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a0bb6,_0x44958b)=>{_0x44958b[0x0][_0x82381f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x446db9++,_0x446db9==(0xf46aca2^_0x229218)&&(_0x5b11ea(),_0x2a0bb6[_0x82381f([0x6f,0x66,0x66])]());});}))];return window[_0x82381f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x82381f([0x72,0x61,0x63,0x65])](_0x5881b6)[_0x82381f([0x74,0x68,0x65,0x6e])](()=>_0x407ecb);}async function _0x2e4f69(){await _0x4c9c95,_0x2ad38c[_0x82381f([0x6d,0x6f,0x64,0x65,0x6c])][_0x82381f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5952fc,_0x2ad38c[_0x82381f([0x6d,0x6f,0x64,0x65,0x6c])][_0x82381f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5952fc,_0x2ad38c[_0x82381f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x82381f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5910e2(_0x269fd7){const _0x5504a7=_0x177844();_0x2ad38c[_0x5504a7]=_0x82381f([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x269fd7,_0x269fd7!=_0x82381f([0x56,0x61,0x6c,0x69,0x64])&&_0x2e4f69();}function _0x177844(){const _0x52d8dc=window[_0x82381f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x82381f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x82381f([0x6e,0x6f,0x77])]())[_0x82381f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x82381f([0x2e]),'');let _0x455d12=_0x82381f([0x75]);for(let _0x2ff4eb=0x0;_0x2ff4eb<_0x52d8dc[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ff4eb+=0x2){let _0x4b00ae=window[_0x82381f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52d8dc[_0x82381f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ff4eb,_0x2ff4eb+0x2));_0x4b00ae>=_0xcd877c[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b00ae-=_0xcd877c[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x455d12+=_0xcd877c[_0x4b00ae];}return _0x455d12;}function _0x1432da(){const _0x1a6111=_0x1b45e0[_0x82381f([0x73,0x70,0x6c,0x69,0x74])](_0x82381f([0x2e]));if(0x3!=_0x1a6111[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5346d8(_0x1a6111[0x1]);function _0x5346d8(_0x9213e9){const _0x178336=_0x117287(_0x9213e9);return _0x178336&&_0xf6f1ff()?_0x178336:null;function _0xf6f1ff(){const _0x2b77a3=_0x178336[_0x82381f([0x6a,0x74,0x69])],_0x2f3431=window[_0x82381f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b77a3[_0x82381f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b77a3[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d7ca4={..._0x178336,[_0x82381f([0x6a,0x74,0x69])]:_0x2b77a3[_0x82381f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b77a3[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d7ca4[_0x82381f([0x76,0x63])],_0x3925ee(_0x4d7ca4)==_0x2f3431;}}}async function _0xf0e48(){let _0x421d81=!0x0;try{const _0x50544c=_0x1b45e0[_0x82381f([0x73,0x70,0x6c,0x69,0x74])](_0x82381f([0x2e])),[_0x3d0c7a,_0x3c17c7,_0x2d96f0]=_0x50544c;return _0xf76715(_0x3d0c7a),await _0x306019(_0x3d0c7a,_0x3c17c7,_0x2d96f0),_0x421d81;}catch{return!0x1;}function _0xf76715(_0x331c82){const _0x5976e0=_0x117287(_0x331c82);_0x5976e0&&_0x5976e0[_0x82381f([0x61,0x6c,0x67])]==_0x82381f([0x45,0x53,0x32,0x35,0x36])||(_0x421d81=!0x1);}async function _0x306019(_0xd9f3b7,_0x444315,_0x329e0e){const _0x4493a1=window[_0x82381f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x82381f([0x66,0x72,0x6f,0x6d])](_0x4ae5d7(_0x329e0e),_0x4d23f4=>_0x4d23f4[_0x82381f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bca3=new window[(_0x82381f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x82381f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd9f3b7+_0x82381f([0x2e])+_0x444315),_0xd82291=window[_0x82381f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x82381f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd82291)return;const _0xf272cb=await _0xd82291[_0x82381f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x82381f([0x6a,0x77,0x6b]),_0x5eec4b,{[_0x82381f([0x6e,0x61,0x6d,0x65])]:_0x82381f([0x45,0x43,0x44,0x53,0x41]),[_0x82381f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x82381f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x82381f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd82291[_0x82381f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x82381f([0x6e,0x61,0x6d,0x65])]:_0x82381f([0x45,0x43,0x44,0x53,0x41]),[_0x82381f([0x68,0x61,0x73,0x68])]:{[_0x82381f([0x6e,0x61,0x6d,0x65])]:_0x82381f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf272cb,_0x4493a1,_0x4bca3)||(_0x421d81=!0x1);}}function _0x117287(_0x3bb892){return _0x3bb892[_0x82381f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x82381f([0x65,0x79]))?JSON[_0x82381f([0x70,0x61,0x72,0x73,0x65])](_0x4ae5d7(_0x3bb892)):null;}function _0x4ae5d7(_0x4b58e1){return window[_0x82381f([0x61,0x74,0x6f,0x62])](_0x4b58e1[_0x82381f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x82381f([0x2b]))[_0x82381f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x82381f([0x2f])));}function _0x3925ee(_0x11d954){let _0x22b65b=0x1505;function _0x480475(_0x396cc6){for(let _0x37f2d0=0x0;_0x37f2d0<_0x396cc6[_0x82381f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37f2d0++){const _0x22ea10=_0x396cc6[_0x82381f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37f2d0);_0x22b65b=(_0x22b65b<<0x5)+_0x22b65b+_0x22ea10,_0x22b65b&=_0x22b65b;}}function _0x4ef95e(_0x52ab7d){Array[_0x82381f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52ab7d)?_0x52ab7d[_0x82381f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ef95e):_0x52ab7d&&typeof _0x52ab7d==_0x82381f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x82381f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52ab7d)[_0x82381f([0x73,0x6f,0x72,0x74])]()[_0x82381f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b6298,_0xafb3a8])=>{_0x480475(_0x5b6298),_0x4ef95e(_0xafb3a8);}):_0x480475(window[_0x82381f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52ab7d));}return _0x4ef95e(_0x11d954),_0x22b65b>>>0x0;}function _0x110535(_0x556642){return _0x556642[_0x82381f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x82381f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x82381f([0x30]));}function _0x1cb3bc(_0x2743db){return _0x2743db[_0x82381f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x82381f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x82381f([0x6a,0x6f,0x69,0x6e])]('');}function _0x5952fc(){}function _0x82381f(_0x411756){return _0x411756['map'](_0x19052e=>String['fromCharCode'](_0x19052e))['join']('');}_0x5910e2(await _0x1c63de());}(this);}}function N(_0x414ce9,_0x32d24b,_0x894eeb){let _0x27aebb=_0x32d24b['listMarkers'][_0x414ce9%_0x32d24b['listMarkers']['length']];if(void 0x0===_0x27aebb['showMarkerPath']||_0x27aebb['showMarkerPath'])return _0x894eeb['slice'](0x0,_0x414ce9+0x1)['map']((_0x124256,_0x234c3a)=>(_0x27aebb=_0x32d24b['listMarkers'][_0x234c3a%_0x32d24b['listMarkers']['length']],_(_0x27aebb['marker'],_0x124256)))['join']('');{const _0xaf6b13=_0x894eeb[_0x894eeb['length']-0x1];return _(_0x27aebb['marker'],_0xaf6b13);}}function _(_0x1c4ba7,_0xfc9c11){return'function'==typeof _0x1c4ba7?_0x1c4ba7(_0xfc9c11):_0x1c4ba7;}function E(_0xe71fde,_0xc4bf38){return(_0x490e4f,_0x12aa3d,_0x4148fd)=>{const _0x768ed3=_0x12aa3d['viewItem'];if(_0x12aa3d['modelRange']||Object['assign'](_0x12aa3d,_0x4148fd['convertChildren'](_0x12aa3d['viewItem'],_0x12aa3d['modelCursor'])),!_0x4148fd['consumable']['test'](_0x768ed3,{'classes':_0xe71fde['className']}))return;const _0x4df095=Array['from'](_0x12aa3d['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x279c5b=>_0xc4bf38['checkAttribute'](_0x279c5b,'listItemId'));if(!_0x4df095['length'])return;_0x4148fd['consumable']['consume'](_0x768ed3,{'classes':_0xe71fde['className']}),_0x4148fd['consumable']['consume'](_0x768ed3,{'classes':'multi-level-list'}),_0x4148fd['consumable']['consume'](_0x768ed3,{'styles':'list-style-type'});const _0x45ad57=_0x4df095[0x0]['getAttribute']('listIndent');for(const _0x4b6841 of _0x4df095)_0x4b6841['getAttribute']('listIndent')==_0x45ad57&&(_0x4148fd['writer']['setAttribute']('listType',_0xe71fde['listType'],_0x4b6841),_0x4148fd['writer']['setAttribute']('listMarkerStyle',_0xe71fde['listMarkerStyle'],_0x4b6841));};}function P(_0x412c32,_0x129d65){const _0x113c03=_0x412c32['t'],t=_0x412c32['t'];switch(_0x129d65){case'Start\x20at':return _0x113c03('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x113c03('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x113c03('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x113c03('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 _0x129d65;}}class T extends _0x3fb4f3{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x219810();['keystrokes']=new _0x5d02be();['focusables']=new _0x3c4709();['focusCycler'];constructor(_0x41d673,{enabledProperties:_0x53a219,styleButtonViews:_0x128800,styleGridAriaLabel:_0x4a059f}){super(_0x41d673);const _0x16ac8a=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x301aa1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x53a219['styles']?(this['stylesView']=this['_createStylesView'](_0x128800,_0x4a059f),this['children']['add'](this['stylesView'])):_0x16ac8a['push']('ck-multi-level-list-properties_without-styles'),_0x53a219['startIndex']&&(this['_addListPropertyViews'](_0x53a219),_0x16ac8a['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x16ac8a},'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 _0x2a8466 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2a8466['element']);_0x4bb2ea({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x3b7585['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 _0x3f5655=_0x402716=>_0x402716['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3f5655),this['keystrokes']['set']('arrowleft',_0x3f5655),this['keystrokes']['set']('arrowup',_0x3f5655),this['keystrokes']['set']('arrowdown',_0x3f5655);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x51d9ce,_0x3750c2){const _0x54a647=new _0x3fb4f3(this['locale']);return _0x54a647['children']=_0x54a647['createCollection'](),_0x54a647['children']['addMany'](_0x51d9ce),_0x54a647['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3750c2,'class':['ck','ck-multi-level-list-styles']},'children':_0x54a647['children']}),_0x54a647['children']['delegate']('execute')['to'](this),_0x54a647['focus']=function(){this['children']['first']['focus']();},_0x54a647['focusTracker']=new _0x219810(),_0x54a647['keystrokes']=new _0x5d02be(),_0x54a647['render'](),_0x54a647['keystrokes']['listenTo'](_0x54a647['element']),_0x54a647;}['_addListPropertyViews'](_0x17ba12){const _0x4a5a9a=[];_0x17ba12['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x4a5a9a['push'](this['startIndexFieldView'])),_0x17ba12['styles']?(this['additionalPropertiesCollapsibleView']=new _0x39cd77(this['locale'],_0x4a5a9a),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x4a5a9a,'isEnabled',(..._0x35e0c0)=>_0x35e0c0['some'](_0x3db8aa=>_0x3db8aa)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x4ac343,_0x188273,_0x5b2296)=>{_0x5b2296||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x4a5a9a);}['_createStartIndexField'](){const _0x11216e=new _0x4d2870(this['locale'],_0x10a2a4);return _0x11216e['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x11216e['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x11216e['fieldView']['on']('input',()=>{const _0x55d7d0=_0x11216e['fieldView']['element'],_0x5b7863=_0x55d7d0['valueAsNumber'];Number['isNaN'](_0x5b7863)?_0x11216e['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x55d7d0['checkValidity']()?this['fire']('listStart',{'startIndex':_0x5b7863}):_0x11216e['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x11216e;}}class K extends _0x3a9c77{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4066e2=this['editor'];_0x4066e2['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x2002f,parentCommandName:_0x3bc977,buttonLabel:_0x5ca23f,buttonIcon:_0x1a1a83,styleGridAriaLabel:_0x46d70d,styleDefinitions:_0x452507}){const _0x4e4ee9=_0x2002f['commands']['get'](_0x3bc977),_0x2c470b=_0x2002f['config']['get']('list.properties')||{},_0x251b8d=_0x2002f['plugins']['has']('ListProperties'),_0x49bda4=_0x2c470b['startIndex'];if(!_0x251b8d||!_0x49bda4)return _0x344325=>{const _0x582bca=new _0x33f9db(_0x344325);return _0x582bca['set']({'label':_0x5ca23f,'icon':_0x1a1a83,'tooltip':!0x0,'isToggleable':!0x0}),_0x582bca['bind']('isOn')['to'](_0x4e4ee9,'value',_0x590772=>!!_0x590772),_0x582bca['on']('execute',()=>{_0x2002f['execute'](_0x3bc977),_0x2002f['editing']['view']['focus']();}),_0x582bca;};return _0x46ef79=>{const _0x250d20=_0xe1b1ce(_0x46ef79,_0x489711),_0x2f81fc=_0x250d20['buttonView'];return _0x250d20['bind']('isEnabled')['to'](_0x4e4ee9),_0x250d20['class']='ck-list-styles-dropdown',_0x2f81fc['on']('execute',()=>{_0x2002f['execute'](_0x3bc977),_0x2002f['editing']['view']['focus']();}),_0x2f81fc['set']({'label':_0x5ca23f,'icon':_0x1a1a83,'tooltip':!0x0,'isToggleable':!0x0}),_0x2f81fc['bind']('isOn')['to'](_0x4e4ee9,'value',_0x4cc924=>!!_0x4cc924),_0x250d20['once']('change:isOpen',()=>{const _0x2fe4b4=function({editor:_0x77c967,dropdownView:_0x272769,styleDefinitions:_0x3a3381,styleGridAriaLabel:_0x433a61}){const _0x293f7f=_0x77c967['locale'],_0x418c8d=_0x77c967['config']['get']('list.properties'),_0x94bc05=null;_0x418c8d['reversed']=!0x1,_0x3a3381['length']||(_0x418c8d['styles']=!0x1);const _0x378934=new T(_0x293f7f,{'styleGridAriaLabel':_0x433a61,'enabledProperties':_0x418c8d,'styleButtonViews':_0x94bc05});if(_0x418c8d['startIndex']){const _0x1d1d5b=_0x77c967['commands']['get']('listStart');_0x378934['startIndexFieldView']['bind']('isEnabled')['to'](_0x1d1d5b),_0x378934['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1d1d5b),_0x378934['on']('listStart',(_0x130b3e,_0x3a858c)=>_0x77c967['execute']('listStart',_0x3a858c));}return _0x378934['delegate']('execute')['to'](_0x272769),_0x378934;}({'editor':_0x2002f,'dropdownView':_0x250d20,'styleGridAriaLabel':_0x46d70d,'styleDefinitions':_0x452507});_0x250d20['panelView']['children']['add'](_0x2fe4b4);}),_0x250d20['on']('execute',()=>{_0x2002f['editing']['view']['focus']();}),_0x250d20;};}({'editor':_0x4066e2,'parentCommandName':'multiLevelList','buttonLabel':P(_0x4066e2['locale'],'Multi-level\x20List'),'buttonIcon':_0x18f853,'styleGridAriaLabel':P(_0x4066e2['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x4066e2['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x452068=_0x4066e2['commands']['get']('multiLevelList'),_0x5a3839=new _0x491192(_0x4066e2['locale']);return _0x5a3839['set']({'label':P(_0x4066e2['locale'],'Multi-level\x20List'),'icon':_0x18f853}),_0x5a3839['bind']('isEnabled')['to'](_0x452068),_0x5a3839['bind']('isOn')['to'](_0x452068,'value',_0x4651ea=>!!_0x4651ea),_0x5a3839['on']('execute',()=>{_0x4066e2['execute']('multiLevelList'),_0x4066e2['editing']['view']['focus']();}),_0x5a3839;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x147cd3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x297597;for(const _0x197617 in _0x147cd3){const _0x4e38f0=_0x197617,_0xf1d8ea=_0x147cd3[_0x4e38f0];if('multiLevelListLicenseKeyValid'==_0xf1d8ea||'multiLevelListLicenseKeyInvalid'==_0xf1d8ea||'multiLevelListLicenseKeyExpired'==_0xf1d8ea||'multiLevelListLicenseKeyDomainLimit'==_0xf1d8ea||'multiLevelListLicenseKeyNotAllowed'==_0xf1d8ea||'multiLevelListLicenseKeyEvaluationLimit'==_0xf1d8ea||'multiLevelListLicenseKeyUsageLimit'==_0xf1d8ea){delete _0x147cd3[_0x4e38f0],_0x297597=_0xf1d8ea,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x297597&&_0x147cd3['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x297597&&_0x147cd3['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x297597&&_0x147cd3['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x297597&&_0x147cd3['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x297597&&_0x147cd3['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x297597&&_0x147cd3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x3a9c77{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[S,K];}}export{A as MultiLevelList,I as MultiLevelListCommand,S as MultiLevelListEditing,K as MultiLevelListUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-list-multi-level",
3
- "version": "48.1.0-alpha.3",
3
+ "version": "48.1.0-alpha.5",
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.1.0-alpha.3",
36
- "@ckeditor/ckeditor5-core": "48.1.0-alpha.3",
37
- "@ckeditor/ckeditor5-engine": "48.1.0-alpha.3",
38
- "@ckeditor/ckeditor5-icons": "48.1.0-alpha.3",
39
- "@ckeditor/ckeditor5-list": "48.1.0-alpha.3",
40
- "@ckeditor/ckeditor5-ui": "48.1.0-alpha.3",
41
- "@ckeditor/ckeditor5-utils": "48.1.0-alpha.3"
35
+ "@ckeditor/ckeditor5-clipboard": "48.1.0-alpha.5",
36
+ "@ckeditor/ckeditor5-core": "48.1.0-alpha.5",
37
+ "@ckeditor/ckeditor5-engine": "48.1.0-alpha.5",
38
+ "@ckeditor/ckeditor5-icons": "48.1.0-alpha.5",
39
+ "@ckeditor/ckeditor5-list": "48.1.0-alpha.5",
40
+ "@ckeditor/ckeditor5-ui": "48.1.0-alpha.5",
41
+ "@ckeditor/ckeditor5-utils": "48.1.0-alpha.5"
42
42
  },
43
43
  "files": [
44
44
  "dist",