@ckeditor/ckeditor5-list-multi-level 48.1.0-alpha.4 → 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 _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};
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.4",
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.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"
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",