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

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 _0xa83f55,Plugin as _0x553e3c}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x3f2f88,ViewUpcastWriter as _0x41275d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x11e183,_isFirstBlockOfListItem as _0x4a34ea}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x5cdc8f,createElement as _0x4e1a14,uid as _0x586959,FocusTracker as _0x24fc5f,KeystrokeHandler as _0x419356,global as _0xee1a58}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x50bfcf}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x1bd505,ViewCollection as _0x322fbf,FocusCycler as _0x53ab89,addKeyboardHandlingForGrid as _0x18b2a0,CollapsibleView as _0x2548f6,LabeledFieldView as _0x5ab4ef,createLabeledInputNumber as _0x314473,MenuBarMenuListItemButtonView as _0x36eae9,ButtonView as _0x4d3ac6,createDropdown as _0x2afffc,SplitButtonView as _0x45721c}from'@ckeditor/ckeditor5-ui/dist/index.js';class I extends _0xa83f55{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x4122ea,_0x40a04f,_0x349c6d){super(_0x4122ea),this['defaultListMarkerStyle']=_0x40a04f,this['_listDefinitions']=_0x349c6d,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x243abc={}){const _0x1cc9d4=this['editor']['model'],_0x416a71=_0x243abc['listMarkerStyle']||this['defaultListMarkerStyle'];_0x1cc9d4['change'](()=>{const _0x3dca0f=this['_getListTypeFromListMarkerStyle'](_0x416a71);if(!_0x3dca0f)return;const _0x106c0d=_0x3dca0f+'List';this['editor']['execute'](_0x106c0d,{'additionalAttributes':{'listMarkerStyle':_0x416a71}});});}['_getValue'](){const _0x25bdc8=_0x5cdc8f(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x25bdc8)?_0x25bdc8['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x51ac9=this['editor'],_0x3ed44f=_0x51ac9['commands']['get']('customNumberedList'),_0x1222ee=_0x51ac9['commands']['get']('customBulletedList');return _0x3ed44f['isEnabled']||_0x1222ee['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x5ca110){const _0x53d094=this['_listDefinitions']['find'](_0x1c3059=>_0x1c3059['listMarkerStyle']==_0x5ca110);return _0x53d094?_0x53d094['listType']:null;}}class S extends _0x553e3c{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x11e183];}constructor(_0x426009){super(_0x426009);const _0x4c0f64=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x295553=>_0x295553+'.'}]},..._0x4c0f64];}['init'](){const _0x58ca96=this['editor'],_0x4729be=_0x58ca96['model'],_0x315318=_0x58ca96['editing']['view'],_0x321fa7=_0x58ca96['plugins']['get'](_0x11e183);_0x58ca96['commands']['add']('multiLevelList',new I(_0x58ca96,'legal',this['_listDefinitions'])),_0x4729be['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x4729be['schema']['addAttributeCheck']((_0xacf56d,_0x14be94)=>{const _0x35b93a=_0xacf56d['last'];if('listMarker'==_0x14be94||'listMarkerStyle'==_0x14be94)return!(!_0x35b93a['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x504c1f=>_0x504c1f['listType']==_0x35b93a['getAttribute']('listType')))&&void 0x0;});for(const _0xf6abf7 of this['_listDefinitions'])_0x58ca96['conversion']['for']('upcast')['add'](_0x487c1=>{_0x487c1['on']('element:'+('customNumbered'==_0xf6abf7['listType']?'ol':'ul'),E(_0xf6abf7,_0x4729be['schema']),{'priority':'low'});}),_0x321fa7['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x309050,_0x13c4cb,_0x3839dc){_0x13c4cb==_0xf6abf7['listMarkerStyle']?(_0x309050['addClass'](['multi-level-list',_0xf6abf7['className']],_0x3839dc),_0x309050['setStyle']('list-style-type','none',_0x3839dc)):(_0x309050['removeClass'](['multi-level-list',_0xf6abf7['className']],_0x3839dc),_0x309050['removeStyle']('list-style-type',_0x3839dc));}}),_0x321fa7['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x106fc2,_0x346aec,{dataPipeline:_0x5df772}){if(!_0x346aec['hasAttribute']('listMarker'))return null;if(_0x346aec['getAttribute']('listType')!=_0xf6abf7['listType']||_0x346aec['getAttribute']('listMarkerStyle')!=_0xf6abf7['listMarkerStyle'])return null;const _0x4f566b=String(_0x346aec['getAttribute']('listMarker')),_0x17f47a=this['canInjectMarkerIntoElement'](_0x346aec);return _0x106fc2['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x5df772&&{'contenteditable':'false','data-multi-level-list-marker':_0x4f566b}},function(_0x4daf86){const _0x5c53c0=this['toDomElement'](_0x4daf86);return _0x17f47a?(_0x5c53c0['appendChild'](_0x4e1a14(_0x4daf86,'span',{},_0x5df772?_0x4daf86['createTextNode'](_0x4f566b):[])),_0x5c53c0['appendChild'](_0x4daf86['createTextNode']('\u00a0'))):_0x5df772&&_0x5c53c0['appendChild'](_0x4daf86['createTextNode'](_0x4f566b)),_0x5c53c0;});},'canInjectMarkerIntoElement':_0x5817e5=>_0x4729be['schema']['checkChild'](_0x5817e5,'$text')&&_0x4729be['schema']['checkChild'](_0x5817e5,'$inlineObject')&&!_0x4729be['schema']['isLimit'](_0x5817e5)&&_0x5817e5['getAttribute']('listType')==_0xf6abf7['listType']&&_0x5817e5['getAttribute']('listMarkerStyle')==_0xf6abf7['listMarkerStyle']});_0x58ca96['conversion']['for']('upcast')['add'](_0x9af27d=>{_0x9af27d['on']('element:span',function(_0x1b7b34){return(_0x4540cb,_0x3526b3,{writer:_0xaa1c01,consumable:_0xeaffe7})=>{const _0x143f5d=_0x3526b3['modelCursor'],_0x36a005=_0x143f5d['parent'],_0x4d8ecd=_0x3526b3['viewItem'];if(_0xeaffe7['consume'](_0x4d8ecd,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x143f5d['isAtStart']&&_0x36a005['hasAttribute']('listType')&&_0x4d8ecd['childCount']>0x0){const _0x1565bf=_0x1b7b34['createRangeIn'](_0x4d8ecd);let _0x151848='';for(const _0x1e6e70 of _0x1565bf['getItems']())_0x1e6e70['is']('$textProxy')?(_0x151848+=_0x1e6e70['data']['trim'](),_0xeaffe7['consume'](_0x1e6e70['textNode'])):_0xeaffe7['consume'](_0x1e6e70,{'name':!0x0});_0xaa1c01['setAttribute']('listMarker',_0x151848['trim'](),_0x36a005);}};}(_0x315318));}),_0x321fa7['on']('postFixer',(_0x331cce,{listNodes:_0xa31dba,writer:_0x2ce372})=>{const _0x3bdbff=[];for(const {node:_0x213ed8,previousNodeInList:_0x1edb97}of _0xa31dba){const _0x587839=_0x213ed8['getAttribute']('listType'),_0xa14e3a=_0x213ed8['getAttribute']('listMarkerStyle')||('customNumbered'==_0x587839?'legal':void 0x0),_0x3f341b=this['_listDefinitions']['find'](_0x500a5d=>_0x500a5d['listType']==_0x587839&&_0x500a5d['listMarkerStyle']==_0xa14e3a);if('customNumbered'!=_0x587839&&'customBulleted'!=_0x587839&&(_0x213ed8['hasAttribute']('listMarker')&&(_0x2ce372['removeAttribute']('listMarker',_0x213ed8),_0x331cce['return']=!0x0),_0x213ed8['hasAttribute']('listMarkerStyle')&&(_0x2ce372['removeAttribute']('listMarkerStyle',_0x213ed8),_0x331cce['return']=!0x0)),!_0x3f341b){'customBulleted'!=_0x587839||_0xa14e3a||(_0x2ce372['setAttribute']('listType','bulleted',_0x213ed8),_0x331cce['return']=!0x0);continue;}_0x213ed8['hasAttribute']('listMarkerStyle')||(_0x2ce372['setAttribute']('listMarkerStyle',_0xa14e3a,_0x213ed8),_0x331cce['return']=!0x0);const _0x17cb09=_0x213ed8['getAttribute']('listIndent');if(_0x1edb97&&_0x1edb97['getAttribute']('listItemId')==_0x213ed8['getAttribute']('listItemId'))continue;_0x3bdbff['length']=_0x17cb09+0x1,_0x1edb97||_0x3bdbff[_0x17cb09]?_0x1edb97&&_0x1edb97['getAttribute']('listType')!=_0x3f341b['listType']?_0x3bdbff[_0x17cb09]=0x1:_0x3bdbff[_0x17cb09]++:_0x3bdbff[_0x17cb09]=_0x213ed8['getAttribute']('listStart')||0x1;const _0x3c44c7=N(_0x17cb09,_0x3f341b,_0x3bdbff);_0x213ed8['getAttribute']('listMarker')!=_0x3c44c7&&(_0x2ce372['setAttribute']('listMarker',_0x3c44c7,_0x213ed8),_0x331cce['return']=!0x0);}}),_0x321fa7['on']('checkElement',(_0x584a87,{modelElement:_0x258592,viewElement:_0x1f1163})=>{const _0x1ce17f=_0x258592['getAttribute']('listType');if('customNumbered'!=_0x1ce17f&&'customBulleted'!=_0x1ce17f)return;if(_0x4729be['schema']['checkChild'](_0x258592,'$text'))return;const _0x5cf78e=_0x4a34ea(_0x258592);let _0x1cefd3=!0x1;const _0x4f2336=_0x315318['createPositionBefore'](_0x1f1163)['getWalker']({'direction':'backward'});for(const {item:_0x2d312b}of _0x4f2336)if(_0x2d312b['is']('element')){if(_0x58ca96['editing']['mapper']['toModelElement'](_0x2d312b))break;if(_0x2d312b['getCustomProperty']('listItemMarker')){_0x1cefd3=!0x0;break;}}_0x1cefd3!=_0x5cf78e&&(_0x584a87['return']=!0x0,_0x584a87['stop']());});const _0x1cec19=_0x58ca96['editing']['view']['document'];this['listenTo'](_0x1cec19,'clipboardOutput',(_0x5d9234,_0x592fea)=>{const _0x5480aa=new _0x3f2f88({'name':'span','classes':'multi-level-list__marker'}),_0x54d2c3=new _0x3f2f88({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x2f0f59=new _0x41275d(_0x592fea['content']['document']),_0x2e6ae0=[];for(const _0x349463 of _0x2f0f59['createRangeIn'](_0x592fea['content'])['getItems']())_0x349463['is']('element')&&_0x5480aa['match'](_0x349463)&&_0x2e6ae0['push'](_0x349463),_0x349463['is']('element')&&_0x54d2c3['match'](_0x349463)&&_0x2f0f59['removeStyle']('list-style-type',_0x349463);for(const _0x32b5eb of _0x2e6ae0)_0x2f0f59['remove'](_0x32b5eb);});}['afterInit'](){!async function(_0x557045){const _0x5281b9=_0x3a44dd([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]),_0x1d4a51=0xf46a94a,_0xd1d34=0xf4120e2^_0x1d4a51,_0x26b8ac=window[_0x3a44dd([0x44,0x61,0x74,0x65])][_0x3a44dd([0x6e,0x6f,0x77])](),_0x2c833b=_0x557045[_0x3a44dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55eda9=new window[(_0x3a44dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4772ca=>{_0x2c833b[_0x3a44dd([0x6f,0x6e,0x63,0x65])](_0x3a44dd([0x72,0x65,0x61,0x64,0x79]),_0x4772ca);}),_0x14980f={[_0x3a44dd([0x6b,0x74,0x79])]:_0x3a44dd([0x45,0x43]),[_0x3a44dd([0x75,0x73,0x65])]:_0x3a44dd([0x73,0x69,0x67]),[_0x3a44dd([0x63,0x72,0x76])]:_0x3a44dd([0x50,0x2d,0x32,0x35,0x36]),[_0x3a44dd([0x78])]:_0x3a44dd([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]),[_0x3a44dd([0x79])]:_0x3a44dd([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]),[_0x3a44dd([0x61,0x6c,0x67])]:_0x3a44dd([0x45,0x53,0x32,0x35,0x36])},_0x4db925=_0x2c833b[_0x3a44dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a44dd([0x67,0x65,0x74])](_0x3a44dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1218b4(){let _0x46d277,_0x50ce48=null,_0x1f1150=null;try{if(_0x4db925==_0x3a44dd([0x47,0x50,0x4c]))return _0x3a44dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46d277=_0x5f3f6e(),!_0x46d277)return _0x3a44dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46d277[_0x3a44dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f1150=_0x566677(_0x46d277[_0x3a44dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46d277[_0x3a44dd([0x6a,0x74,0x69])])),await _0x4a084d()?_0x1d190()?_0x44c678()?_0x3a44dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x44cb()?(_0x46d277[_0x3a44dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a44dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50ce48=_0x2c2823(_0x3a44dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16b5cf()):_0x3a44dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a44dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a44dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a44dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44c678(){const _0x511af4=[_0x3a44dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a44dd([0x74,0x72,0x69,0x61,0x6c])][_0x3a44dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46d277[_0x3a44dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26b8ac/0x3e8:0xe10*_0xd1d34;return _0x46d277[_0x3a44dd([0x65,0x78,0x70])]<_0x511af4;}function _0x1d190(){const _0x5a4fab=_0x46d277[_0x3a44dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a4fab&&(!!_0x5a4fab[_0x3a44dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a44dd([0x2a]))||!!_0x5a4fab[_0x3a44dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a44dd([0x4d,0x4c,0x4c])));}function _0x44cb(){const _0x2c20c2=_0x46d277[_0x3a44dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c20c2||0x0==_0x2c20c2[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57d2b9}=new URL(window[_0x3a44dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c20c2[_0x3a44dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d2b9))return!0x0;const _0xb4dfb5=_0x57d2b9[_0x3a44dd([0x73,0x70,0x6c,0x69,0x74])](_0x3a44dd([0x2e]));return _0x2c20c2[_0x3a44dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x170ad9=>_0x170ad9[_0x3a44dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a44dd([0x2a])))[_0x3a44dd([0x6d,0x61,0x70])](_0x4f4c55=>_0x4f4c55[_0x3a44dd([0x73,0x70,0x6c,0x69,0x74])](_0x3a44dd([0x2e])))[_0x3a44dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x354109=>_0x354109[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb4dfb5[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a44dd([0x6d,0x61,0x70])](_0x1305ce=>Array(_0xb4dfb5[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1305ce[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a44dd([0x66,0x69,0x6c,0x6c])](_0x1305ce[0x0]===_0x3a44dd([0x2a])?_0x3a44dd([0x2a]):'')[_0x3a44dd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1305ce))[_0x3a44dd([0x73,0x6f,0x6d,0x65])](_0x29c9d1=>_0xb4dfb5[_0x3a44dd([0x65,0x76,0x65,0x72,0x79])]((_0x2a9b5b,_0x1f92d5)=>_0x29c9d1[_0x1f92d5]===_0x2a9b5b||_0x29c9d1[_0x1f92d5]===_0x3a44dd([0x2a])));}function _0x16b5cf(){return _0x50ce48&&_0x1f1150?new window[(_0x3a44dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c2db6,_0x183f76)=>{_0x50ce48[_0x3a44dd([0x74,0x68,0x65,0x6e])](_0x2c2db6,_0x183f76),_0x1f1150[_0x3a44dd([0x74,0x68,0x65,0x6e])](_0x5569e4=>{_0x5569e4!=_0x3a44dd([0x56,0x61,0x6c,0x69,0x64])&&_0x2c2db6(_0x5569e4);},_0x183f76);}):_0x50ce48||_0x1f1150||_0x3a44dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x566677(_0x33efe4,_0x38fd99){return new window[(_0x3a44dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3c71=>{if(_0x162961())return _0x3d3c71(_0x3a44dd([0x56,0x61,0x6c,0x69,0x64]));_0x25ab07(),_0x2c833b[_0x3a44dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a44dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x403a5f=!0x1;const _0x58277a=_0x586959();function _0x5df3a9(_0x4b5db1){return!!_0x4b5db1&&(typeof _0x4b5db1===_0x3a44dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b5db1===_0x3a44dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b5db1[_0x3a44dd([0x74,0x68,0x65,0x6e])]===_0x3a44dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b5db1[_0x3a44dd([0x63,0x61,0x74,0x63,0x68])]===_0x3a44dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x336484(_0x1d31d7){_0x224f84(_0x1d31d7)[_0x3a44dd([0x74,0x68,0x65,0x6e])](_0x32a7a9=>{if(!_0x32a7a9||_0x32a7a9[_0x3a44dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a44dd([0x6f,0x6b]))return _0x3a44dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd7960(_0x462b75(_0x58277a+_0x38fd99))!=_0x32a7a9[_0x3a44dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a44dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a44dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a44dd([0x74,0x68,0x65,0x6e])](_0xdfa7e4=>(_0x498943(),_0xdfa7e4),()=>{const _0x27bf75=_0x4c1738();return null==_0x27bf75?(_0x498943(),_0x3a44dd([0x56,0x61,0x6c,0x69,0x64])):_0x3a44dd(_0x26b8ac-_0x27bf75>(0x2b4a2d4a^_0x1d4a51)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a44dd([0x74,0x68,0x65,0x6e])](_0x3d3c71)[_0x3a44dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d3c71(_0x3a44dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23bac0=0xf7047ca^_0x1d4a51;function _0x498943(){const _0x266e1e=_0x3a44dd([0x6c,0x6c,0x63,0x74,0x2d])+_0xd7960(_0x462b75(_0x33efe4)),_0x268966=_0x18df8a(_0xd7960(window[_0x3a44dd([0x4d,0x61,0x74,0x68])][_0x3a44dd([0x63,0x65,0x69,0x6c])](_0x26b8ac/_0x23bac0)));window[_0x3a44dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a44dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x266e1e,_0x268966);}function _0x4c1738(){const _0x5e590f=_0x3a44dd([0x6c,0x6c,0x63,0x74,0x2d])+_0xd7960(_0x462b75(_0x33efe4)),_0x2e2b5c=window[_0x3a44dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a44dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e590f);return _0x2e2b5c?window[_0x3a44dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18df8a(_0x2e2b5c),0x10)*_0x23bac0:null;}function _0x224f84(_0x259719){return new window[(_0x3a44dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1996c4,_0x3cf8dc)=>{_0x259719[_0x3a44dd([0x74,0x68,0x65,0x6e])](_0x1996c4,_0x3cf8dc),window[_0x3a44dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3cf8dc,0xf477d8a^_0x1d4a51);});}}_0x2c833b[_0x3a44dd([0x6f,0x6e])](_0x3a44dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d3fa6,_0x27e678)=>{if(_0x27e678[0x0]!=_0x33efe4)return _0x3d3c71(_0x3a44dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27e678[0x1]={..._0x27e678[0x1],[_0x3a44dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58277a};},{[_0x3a44dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a44dd([0x68,0x69,0x67,0x68])}),_0x2c833b[_0x3a44dd([0x6f,0x6e])](_0x3a44dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18e356=>{_0x5df3a9(_0x18e356[_0x3a44dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x403a5f=!0x0,_0x336484(_0x18e356[_0x3a44dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a44dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a44dd([0x6c,0x6f,0x77])}),_0x55eda9[_0x3a44dd([0x74,0x68,0x65,0x6e])](()=>{_0x403a5f||_0x3d3c71(_0x3a44dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x162961(){return _0x2c833b[_0x3a44dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a44dd([0x76,0x69,0x65,0x77])][_0x3a44dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a44dd([0x61,0x75,0x74,0x6f]);}function _0x25ab07(){_0x2c833b[_0x3a44dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a44dd([0x76,0x69,0x65,0x77])][_0x3a44dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a44dd([0x61,0x75,0x74,0x6f]);}}function _0x2c2823(_0x56db1e){const _0x2454ae=[new window[(_0x3a44dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a91cf=>setTimeout(_0x2a91cf,0xf4f9786^_0x1d4a51)),_0x55eda9[_0x3a44dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a44dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18c25b=>{let _0x299692=0x0;_0x2c833b[_0x3a44dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a44dd([0x6f,0x6e])](_0x3a44dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29d16f,_0x27285b)=>{_0x27285b[0x0][_0x3a44dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x299692++,_0x299692==(0xf46aca2^_0x1d4a51)&&(_0x18c25b(),_0x29d16f[_0x3a44dd([0x6f,0x66,0x66])]());});}))];return window[_0x3a44dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a44dd([0x72,0x61,0x63,0x65])](_0x2454ae)[_0x3a44dd([0x74,0x68,0x65,0x6e])](()=>_0x56db1e);}async function _0x154460(){await _0x55eda9,_0x2c833b[_0x3a44dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a44dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1abc58,_0x2c833b[_0x3a44dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a44dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1abc58,_0x2c833b[_0x3a44dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a44dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ccd90(_0x1ab189){const _0x3f5d9b=_0x40992b();_0x2c833b[_0x3f5d9b]=_0x3a44dd([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ab189,_0x1ab189!=_0x3a44dd([0x56,0x61,0x6c,0x69,0x64])&&_0x154460();}function _0x40992b(){const _0x132d55=window[_0x3a44dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a44dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a44dd([0x6e,0x6f,0x77])]())[_0x3a44dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a44dd([0x2e]),'');let _0x478378=_0x3a44dd([0x75]);for(let _0x5e1db6=0x0;_0x5e1db6<_0x132d55[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1db6+=0x2){let _0x4ea16d=window[_0x3a44dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x132d55[_0x3a44dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e1db6,_0x5e1db6+0x2));_0x4ea16d>=_0x5281b9[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ea16d-=_0x5281b9[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x478378+=_0x5281b9[_0x4ea16d];}return _0x478378;}function _0x5f3f6e(){const _0x188276=_0x4db925[_0x3a44dd([0x73,0x70,0x6c,0x69,0x74])](_0x3a44dd([0x2e]));if(0x3!=_0x188276[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ed27d(_0x188276[0x1]);function _0x4ed27d(_0x52609b){const _0x3fd683=_0x427a73(_0x52609b);return _0x3fd683&&_0x3ed26b()?_0x3fd683:null;function _0x3ed26b(){const _0x160352=_0x3fd683[_0x3a44dd([0x6a,0x74,0x69])],_0x31fe71=window[_0x3a44dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x160352[_0x3a44dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x160352[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e4a8e={..._0x3fd683,[_0x3a44dd([0x6a,0x74,0x69])]:_0x160352[_0x3a44dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x160352[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e4a8e[_0x3a44dd([0x76,0x63])],_0x462b75(_0x5e4a8e)==_0x31fe71;}}}async function _0x4a084d(){let _0x48cf1a=!0x0;try{const _0x31def1=_0x4db925[_0x3a44dd([0x73,0x70,0x6c,0x69,0x74])](_0x3a44dd([0x2e])),[_0x4d8b04,_0x4b92fe,_0x297315]=_0x31def1;return _0x35c664(_0x4d8b04),await _0xb50454(_0x4d8b04,_0x4b92fe,_0x297315),_0x48cf1a;}catch{return!0x1;}function _0x35c664(_0x26eccd){const _0x257861=_0x427a73(_0x26eccd);_0x257861&&_0x257861[_0x3a44dd([0x61,0x6c,0x67])]==_0x3a44dd([0x45,0x53,0x32,0x35,0x36])||(_0x48cf1a=!0x1);}async function _0xb50454(_0x1044c1,_0x1f01b6,_0x4f5867){const _0x230983=window[_0x3a44dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a44dd([0x66,0x72,0x6f,0x6d])](_0x3b5aea(_0x4f5867),_0x41fb2b=>_0x41fb2b[_0x3a44dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b5ea5=new window[(_0x3a44dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a44dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1044c1+_0x3a44dd([0x2e])+_0x1f01b6),_0x1b4788=window[_0x3a44dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a44dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b4788)return;const _0x1b05a7=await _0x1b4788[_0x3a44dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a44dd([0x6a,0x77,0x6b]),_0x14980f,{[_0x3a44dd([0x6e,0x61,0x6d,0x65])]:_0x3a44dd([0x45,0x43,0x44,0x53,0x41]),[_0x3a44dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a44dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a44dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b4788[_0x3a44dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a44dd([0x6e,0x61,0x6d,0x65])]:_0x3a44dd([0x45,0x43,0x44,0x53,0x41]),[_0x3a44dd([0x68,0x61,0x73,0x68])]:{[_0x3a44dd([0x6e,0x61,0x6d,0x65])]:_0x3a44dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b05a7,_0x230983,_0x4b5ea5)||(_0x48cf1a=!0x1);}}function _0x427a73(_0xd7d8b4){return _0xd7d8b4[_0x3a44dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a44dd([0x65,0x79]))?JSON[_0x3a44dd([0x70,0x61,0x72,0x73,0x65])](_0x3b5aea(_0xd7d8b4)):null;}function _0x3b5aea(_0x5c1249){return window[_0x3a44dd([0x61,0x74,0x6f,0x62])](_0x5c1249[_0x3a44dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a44dd([0x2b]))[_0x3a44dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a44dd([0x2f])));}function _0x462b75(_0x1ae5a3){let _0x1fb4a7=0x1505;function _0x1b2ce9(_0x3ec03f){for(let _0x4879ec=0x0;_0x4879ec<_0x3ec03f[_0x3a44dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4879ec++){const _0x3d91ea=_0x3ec03f[_0x3a44dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4879ec);_0x1fb4a7=(_0x1fb4a7<<0x5)+_0x1fb4a7+_0x3d91ea,_0x1fb4a7&=_0x1fb4a7;}}function _0x25d62a(_0x4d967a){Array[_0x3a44dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d967a)?_0x4d967a[_0x3a44dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25d62a):_0x4d967a&&typeof _0x4d967a==_0x3a44dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a44dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d967a)[_0x3a44dd([0x73,0x6f,0x72,0x74])]()[_0x3a44dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xce746d,_0x344de1])=>{_0x1b2ce9(_0xce746d),_0x25d62a(_0x344de1);}):_0x1b2ce9(window[_0x3a44dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d967a));}return _0x25d62a(_0x1ae5a3),_0x1fb4a7>>>0x0;}function _0xd7960(_0x46e6cb){return _0x46e6cb[_0x3a44dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a44dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a44dd([0x30]));}function _0x18df8a(_0x201607){return _0x201607[_0x3a44dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a44dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a44dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x1abc58(){}function _0x3a44dd(_0x5cf3c3){return _0x5cf3c3['map'](_0x469210=>String['fromCharCode'](_0x469210))['join']('');}_0x5ccd90(await _0x1218b4());}(this);}}function N(_0x548e47,_0x50fb8c,_0x2f363d){let _0x3a1fce=_0x50fb8c['listMarkers'][_0x548e47%_0x50fb8c['listMarkers']['length']];if(void 0x0===_0x3a1fce['showMarkerPath']||_0x3a1fce['showMarkerPath'])return _0x2f363d['slice'](0x0,_0x548e47+0x1)['map']((_0x14a46d,_0x20ccb1)=>(_0x3a1fce=_0x50fb8c['listMarkers'][_0x20ccb1%_0x50fb8c['listMarkers']['length']],_(_0x3a1fce['marker'],_0x14a46d)))['join']('');{const _0x1c9f04=_0x2f363d[_0x2f363d['length']-0x1];return _(_0x3a1fce['marker'],_0x1c9f04);}}function _(_0x429cf4,_0xc9384){return'function'==typeof _0x429cf4?_0x429cf4(_0xc9384):_0x429cf4;}function E(_0xa7024,_0x3d5147){return(_0x5df8eb,_0x57b187,_0x20c19a)=>{const _0x53468a=_0x57b187['viewItem'];if(_0x57b187['modelRange']||Object['assign'](_0x57b187,_0x20c19a['convertChildren'](_0x57b187['viewItem'],_0x57b187['modelCursor'])),!_0x20c19a['consumable']['test'](_0x53468a,{'classes':_0xa7024['className']}))return;const _0x362e36=Array['from'](_0x57b187['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x484650=>_0x3d5147['checkAttribute'](_0x484650,'listItemId'));if(!_0x362e36['length'])return;_0x20c19a['consumable']['consume'](_0x53468a,{'classes':_0xa7024['className']}),_0x20c19a['consumable']['consume'](_0x53468a,{'classes':'multi-level-list'}),_0x20c19a['consumable']['consume'](_0x53468a,{'styles':'list-style-type'});const _0x1c5e9d=_0x362e36[0x0]['getAttribute']('listIndent');for(const _0x2dec3f of _0x362e36)_0x2dec3f['getAttribute']('listIndent')==_0x1c5e9d&&(_0x20c19a['writer']['setAttribute']('listType',_0xa7024['listType'],_0x2dec3f),_0x20c19a['writer']['setAttribute']('listMarkerStyle',_0xa7024['listMarkerStyle'],_0x2dec3f));};}function P(_0x18c48,_0x42415e){const _0x5315b0=_0x18c48['t'],t=_0x18c48['t'];switch(_0x42415e){case'Start\x20at':return _0x5315b0('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x5315b0('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x5315b0('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x5315b0('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 _0x42415e;}}class T extends _0x1bd505{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x24fc5f();['keystrokes']=new _0x419356();['focusables']=new _0x322fbf();['focusCycler'];constructor(_0x566bed,{enabledProperties:_0x31f15d,styleButtonViews:_0x18389b,styleGridAriaLabel:_0xb053a6}){super(_0x566bed);const _0x34229b=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x53ab89({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x31f15d['styles']?(this['stylesView']=this['_createStylesView'](_0x18389b,_0xb053a6),this['children']['add'](this['stylesView'])):_0x34229b['push']('ck-multi-level-list-properties_without-styles'),_0x31f15d['startIndex']&&(this['_addListPropertyViews'](_0x31f15d),_0x34229b['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x34229b},'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 _0x295f53 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x295f53['element']);_0x18b2a0({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0xee1a58['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 _0x15421a=_0x247be7=>_0x247be7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x15421a),this['keystrokes']['set']('arrowleft',_0x15421a),this['keystrokes']['set']('arrowup',_0x15421a),this['keystrokes']['set']('arrowdown',_0x15421a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x20e3a3,_0x21fa72){const _0x5f1ba5=new _0x1bd505(this['locale']);return _0x5f1ba5['children']=_0x5f1ba5['createCollection'](),_0x5f1ba5['children']['addMany'](_0x20e3a3),_0x5f1ba5['setTemplate']({'tag':'div','attributes':{'aria-label':_0x21fa72,'class':['ck','ck-multi-level-list-styles']},'children':_0x5f1ba5['children']}),_0x5f1ba5['children']['delegate']('execute')['to'](this),_0x5f1ba5['focus']=function(){this['children']['first']['focus']();},_0x5f1ba5['focusTracker']=new _0x24fc5f(),_0x5f1ba5['keystrokes']=new _0x419356(),_0x5f1ba5['render'](),_0x5f1ba5['keystrokes']['listenTo'](_0x5f1ba5['element']),_0x5f1ba5;}['_addListPropertyViews'](_0x1f48f6){const _0x426944=[];_0x1f48f6['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x426944['push'](this['startIndexFieldView'])),_0x1f48f6['styles']?(this['additionalPropertiesCollapsibleView']=new _0x2548f6(this['locale'],_0x426944),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x426944,'isEnabled',(..._0xf80490)=>_0xf80490['some'](_0x32115c=>_0x32115c)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x3d6e5c,_0xfb8a0e,_0x117e94)=>{_0x117e94||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x426944);}['_createStartIndexField'](){const _0x4e60ea=new _0x5ab4ef(this['locale'],_0x314473);return _0x4e60ea['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x4e60ea['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4e60ea['fieldView']['on']('input',()=>{const _0x994171=_0x4e60ea['fieldView']['element'],_0x44fa11=_0x994171['valueAsNumber'];Number['isNaN'](_0x44fa11)?_0x4e60ea['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x994171['checkValidity']()?this['fire']('listStart',{'startIndex':_0x44fa11}):_0x4e60ea['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x4e60ea;}}class K extends _0x553e3c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x168dfd=this['editor'];_0x168dfd['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x3413cd,parentCommandName:_0x1a63fb,buttonLabel:_0x127176,buttonIcon:_0x56821b,styleGridAriaLabel:_0x5a8726,styleDefinitions:_0x46abca}){const _0x41ca7a=_0x3413cd['commands']['get'](_0x1a63fb),_0x4acfe3=_0x3413cd['config']['get']('list.properties')||{},_0x3715fc=_0x3413cd['plugins']['has']('ListProperties'),_0x4ef34c=_0x4acfe3['startIndex'];if(!_0x3715fc||!_0x4ef34c)return _0x3aefa5=>{const _0x28510c=new _0x4d3ac6(_0x3aefa5);return _0x28510c['set']({'label':_0x127176,'icon':_0x56821b,'tooltip':!0x0,'isToggleable':!0x0}),_0x28510c['bind']('isOn')['to'](_0x41ca7a,'value',_0x3df385=>!!_0x3df385),_0x28510c['on']('execute',()=>{_0x3413cd['execute'](_0x1a63fb),_0x3413cd['editing']['view']['focus']();}),_0x28510c;};return _0x57c576=>{const _0x4670aa=_0x2afffc(_0x57c576,_0x45721c),_0x47996a=_0x4670aa['buttonView'];return _0x4670aa['bind']('isEnabled')['to'](_0x41ca7a),_0x4670aa['class']='ck-list-styles-dropdown',_0x47996a['on']('execute',()=>{_0x3413cd['execute'](_0x1a63fb),_0x3413cd['editing']['view']['focus']();}),_0x47996a['set']({'label':_0x127176,'icon':_0x56821b,'tooltip':!0x0,'isToggleable':!0x0}),_0x47996a['bind']('isOn')['to'](_0x41ca7a,'value',_0x2c4055=>!!_0x2c4055),_0x4670aa['once']('change:isOpen',()=>{const _0x280c33=function({editor:_0x183b62,dropdownView:_0x1be4df,styleDefinitions:_0x2c99eb,styleGridAriaLabel:_0x5bda27}){const _0x79effb=_0x183b62['locale'],_0x2c6dc0=_0x183b62['config']['get']('list.properties'),_0x5e5420=null;_0x2c6dc0['reversed']=!0x1,_0x2c99eb['length']||(_0x2c6dc0['styles']=!0x1);const _0xb2d104=new T(_0x79effb,{'styleGridAriaLabel':_0x5bda27,'enabledProperties':_0x2c6dc0,'styleButtonViews':_0x5e5420});if(_0x2c6dc0['startIndex']){const _0x514608=_0x183b62['commands']['get']('listStart');_0xb2d104['startIndexFieldView']['bind']('isEnabled')['to'](_0x514608),_0xb2d104['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x514608),_0xb2d104['on']('listStart',(_0xad4825,_0x23c22f)=>_0x183b62['execute']('listStart',_0x23c22f));}return _0xb2d104['delegate']('execute')['to'](_0x1be4df),_0xb2d104;}({'editor':_0x3413cd,'dropdownView':_0x4670aa,'styleGridAriaLabel':_0x5a8726,'styleDefinitions':_0x46abca});_0x4670aa['panelView']['children']['add'](_0x280c33);}),_0x4670aa['on']('execute',()=>{_0x3413cd['editing']['view']['focus']();}),_0x4670aa;};}({'editor':_0x168dfd,'parentCommandName':'multiLevelList','buttonLabel':P(_0x168dfd['locale'],'Multi-level\x20List'),'buttonIcon':_0x50bfcf,'styleGridAriaLabel':P(_0x168dfd['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x168dfd['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x35d742=_0x168dfd['commands']['get']('multiLevelList'),_0x33a475=new _0x36eae9(_0x168dfd['locale']);return _0x33a475['set']({'label':P(_0x168dfd['locale'],'Multi-level\x20List'),'icon':_0x50bfcf}),_0x33a475['bind']('isEnabled')['to'](_0x35d742),_0x33a475['bind']('isOn')['to'](_0x35d742,'value',_0x105a7d=>!!_0x105a7d),_0x33a475['on']('execute',()=>{_0x168dfd['execute']('multiLevelList'),_0x168dfd['editing']['view']['focus']();}),_0x33a475;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1f887c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a2e55;for(const _0x2546f7 in _0x1f887c){const _0x443794=_0x2546f7,_0x2d3d3f=_0x1f887c[_0x443794];if('multiLevelListLicenseKeyValid'==_0x2d3d3f||'multiLevelListLicenseKeyInvalid'==_0x2d3d3f||'multiLevelListLicenseKeyExpired'==_0x2d3d3f||'multiLevelListLicenseKeyDomainLimit'==_0x2d3d3f||'multiLevelListLicenseKeyNotAllowed'==_0x2d3d3f||'multiLevelListLicenseKeyEvaluationLimit'==_0x2d3d3f||'multiLevelListLicenseKeyUsageLimit'==_0x2d3d3f){delete _0x1f887c[_0x443794],_0x1a2e55=_0x2d3d3f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x1a2e55&&_0x1f887c['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x1a2e55&&_0x1f887c['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x1a2e55&&_0x1f887c['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x1a2e55&&_0x1f887c['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x1a2e55&&_0x1f887c['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x1a2e55&&_0x1f887c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x553e3c{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.4",
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.4",
36
+ "@ckeditor/ckeditor5-core": "48.1.0-alpha.4",
37
+ "@ckeditor/ckeditor5-engine": "48.1.0-alpha.4",
38
+ "@ckeditor/ckeditor5-icons": "48.1.0-alpha.4",
39
+ "@ckeditor/ckeditor5-list": "48.1.0-alpha.4",
40
+ "@ckeditor/ckeditor5-ui": "48.1.0-alpha.4",
41
+ "@ckeditor/ckeditor5-utils": "48.1.0-alpha.4"
42
42
  },
43
43
  "files": [
44
44
  "dist",