@ckeditor/ckeditor5-list-multi-level 48.0.0-alpha.3 → 48.0.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 _0x12f842,Plugin as _0x19dfef}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x13e4ca,ViewUpcastWriter as _0x3a710f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x373b95}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x285af9,createElement as _0xa4017e,uid as _0x2a0f6f,FocusTracker as _0x53368c,KeystrokeHandler as _0x1a3f27,global as _0x1040fd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x525683}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x8def2,ViewCollection as _0x1f91f8,FocusCycler as _0x44a826,addKeyboardHandlingForGrid as _0x3cd759,CollapsibleView as _0x426851,LabeledFieldView as _0x4a1884,createLabeledInputNumber as _0x4c1171,MenuBarMenuListItemButtonView as _0x421da5,ButtonView as _0x8d51f3,createDropdown as _0x5be6f4,SplitButtonView as _0x9424ad}from'@ckeditor/ckeditor5-ui/dist/index.js';class x extends _0x12f842{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x2cea04,_0x3f0a8a,_0x47da07){super(_0x2cea04),this['defaultListMarkerStyle']=_0x3f0a8a,this['_listDefinitions']=_0x47da07,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x142ec1={}){const _0xc51821=this['editor']['model'],_0x7a2f7=_0x142ec1['listMarkerStyle']||this['defaultListMarkerStyle'];_0xc51821['change'](()=>{const _0x2cbbe8=this['_getListTypeFromListMarkerStyle'](_0x7a2f7);if(!_0x2cbbe8)return;const _0x17e56b=_0x2cbbe8+'List';this['editor']['execute'](_0x17e56b,{'additionalAttributes':{'listMarkerStyle':_0x7a2f7}});});}['_getValue'](){const _0x3d86b0=_0x285af9(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x3d86b0)?_0x3d86b0['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x2e60b2=this['editor'],_0x12c690=_0x2e60b2['commands']['get']('customNumberedList'),_0x46c421=_0x2e60b2['commands']['get']('customBulletedList');return _0x12c690['isEnabled']||_0x46c421['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x7175fd){const _0x4315c5=this['_listDefinitions']['find'](_0xf308a4=>_0xf308a4['listMarkerStyle']==_0x7175fd);return _0x4315c5?_0x4315c5['listType']:null;}}class I extends _0x19dfef{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x373b95];}constructor(_0x178f54){super(_0x178f54);const _0x1a1e93=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x5e875a=>_0x5e875a+'.'}]},..._0x1a1e93];}['init'](){const _0x5dbc0f=this['editor'],_0x27ed5a=_0x5dbc0f['model'],_0xfa4e01=_0x5dbc0f['editing']['view'],_0x5db73d=_0x5dbc0f['plugins']['get'](_0x373b95);_0x5dbc0f['commands']['add']('multiLevelList',new x(_0x5dbc0f,'legal',this['_listDefinitions'])),_0x27ed5a['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x27ed5a['schema']['addAttributeCheck']((_0xb3f4b5,_0x559ea1)=>{const _0xf61faa=_0xb3f4b5['last'];if('listMarker'==_0x559ea1||'listMarkerStyle'==_0x559ea1)return!(!_0xf61faa['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x1a258b=>_0x1a258b['listType']==_0xf61faa['getAttribute']('listType')))&&void 0x0;});for(const _0x1052bd of this['_listDefinitions'])_0x5dbc0f['conversion']['for']('upcast')['add'](_0x2d36e5=>{_0x2d36e5['on']('element:'+('customNumbered'==_0x1052bd['listType']?'ol':'ul'),_(_0x1052bd,_0x27ed5a['schema']),{'priority':'low'});}),_0x5db73d['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x583cf6,_0x1dc6f2,_0x96dae9){_0x1dc6f2==_0x1052bd['listMarkerStyle']?(_0x583cf6['addClass'](['multi-level-list',_0x1052bd['className']],_0x96dae9),_0x583cf6['setStyle']('list-style-type','none',_0x96dae9)):(_0x583cf6['removeClass'](['multi-level-list',_0x1052bd['className']],_0x96dae9),_0x583cf6['removeStyle']('list-style-type',_0x96dae9));}}),_0x5db73d['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x5e67ae,_0x1ba277,{dataPipeline:_0x51e3db}){if(!_0x1ba277['hasAttribute']('listMarker'))return null;if(_0x1ba277['getAttribute']('listType')!=_0x1052bd['listType']||_0x1ba277['getAttribute']('listMarkerStyle')!=_0x1052bd['listMarkerStyle'])return null;const _0x46dfa7=String(_0x1ba277['getAttribute']('listMarker')),_0x5cb988=this['canInjectMarkerIntoElement'](_0x1ba277);return _0x5e67ae['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x51e3db&&{'contenteditable':'false','data-multi-level-list-marker':_0x46dfa7}},function(_0x58ba4e){const _0x229bc5=this['toDomElement'](_0x58ba4e);return _0x5cb988?(_0x229bc5['appendChild'](_0xa4017e(_0x58ba4e,'span',{},_0x51e3db?_0x58ba4e['createTextNode'](_0x46dfa7):[])),_0x229bc5['appendChild'](_0x58ba4e['createTextNode']('\u00a0'))):_0x51e3db&&_0x229bc5['appendChild'](_0x58ba4e['createTextNode'](_0x46dfa7)),_0x229bc5;});},'canInjectMarkerIntoElement':_0x39565f=>_0x27ed5a['schema']['checkChild'](_0x39565f,'$text')&&_0x27ed5a['schema']['checkChild'](_0x39565f,'$inlineObject')&&!_0x27ed5a['schema']['isLimit'](_0x39565f)&&_0x39565f['getAttribute']('listType')==_0x1052bd['listType']&&_0x39565f['getAttribute']('listMarkerStyle')==_0x1052bd['listMarkerStyle']});_0x5dbc0f['conversion']['for']('upcast')['add'](_0x583c2c=>{_0x583c2c['on']('element:span',function(_0x4d91a9){return(_0x1f75ba,_0x99ae14,{writer:_0x542e7d,consumable:_0x1316b9})=>{const _0x59f972=_0x99ae14['modelCursor'],_0x52e368=_0x59f972['parent'],_0x146633=_0x99ae14['viewItem'];if(_0x1316b9['consume'](_0x146633,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x59f972['isAtStart']&&_0x52e368['hasAttribute']('listType')&&_0x146633['childCount']>0x0){const _0x2b17ab=_0x4d91a9['createRangeIn'](_0x146633);let _0x3985e1='';for(const _0x3611be of _0x2b17ab['getItems']())_0x3611be['is']('$textProxy')?(_0x3985e1+=_0x3611be['data']['trim'](),_0x1316b9['consume'](_0x3611be['textNode'])):_0x1316b9['consume'](_0x3611be,{'name':!0x0});_0x542e7d['setAttribute']('listMarker',_0x3985e1['trim'](),_0x52e368);}};}(_0xfa4e01));}),_0x5db73d['on']('postFixer',(_0x2b4b38,{listNodes:_0x34eabe,writer:_0x3e8cd8})=>{const _0x3f2b0f=[];for(const {node:_0x6b39bc,previousNodeInList:_0x58387d}of _0x34eabe){const _0x1d9892=_0x6b39bc['getAttribute']('listType'),_0x11a0e2=_0x6b39bc['getAttribute']('listMarkerStyle')||('customNumbered'==_0x1d9892?'legal':void 0x0),_0x1c97ee=this['_listDefinitions']['find'](_0x31dd37=>_0x31dd37['listType']==_0x1d9892&&_0x31dd37['listMarkerStyle']==_0x11a0e2);if('customNumbered'!=_0x1d9892&&'customBulleted'!=_0x1d9892&&(_0x6b39bc['hasAttribute']('listMarker')&&(_0x3e8cd8['removeAttribute']('listMarker',_0x6b39bc),_0x2b4b38['return']=!0x0),_0x6b39bc['hasAttribute']('listMarkerStyle')&&(_0x3e8cd8['removeAttribute']('listMarkerStyle',_0x6b39bc),_0x2b4b38['return']=!0x0)),!_0x1c97ee){'customBulleted'!=_0x1d9892||_0x11a0e2||(_0x3e8cd8['setAttribute']('listType','bulleted',_0x6b39bc),_0x2b4b38['return']=!0x0);continue;}_0x6b39bc['hasAttribute']('listMarkerStyle')||(_0x3e8cd8['setAttribute']('listMarkerStyle',_0x11a0e2,_0x6b39bc),_0x2b4b38['return']=!0x0);const _0x502ef7=_0x6b39bc['getAttribute']('listIndent');if(_0x58387d&&_0x58387d['getAttribute']('listItemId')==_0x6b39bc['getAttribute']('listItemId'))continue;_0x3f2b0f['length']=_0x502ef7+0x1,_0x58387d||_0x3f2b0f[_0x502ef7]?_0x58387d&&_0x58387d['getAttribute']('listType')!=_0x1c97ee['listType']?_0x3f2b0f[_0x502ef7]=0x1:_0x3f2b0f[_0x502ef7]++:_0x3f2b0f[_0x502ef7]=_0x6b39bc['getAttribute']('listStart')||0x1;const _0x1a7542=S(_0x502ef7,_0x1c97ee,_0x3f2b0f);_0x6b39bc['getAttribute']('listMarker')!=_0x1a7542&&(_0x3e8cd8['setAttribute']('listMarker',_0x1a7542,_0x6b39bc),_0x2b4b38['return']=!0x0);}});const _0x5be17f=_0x5dbc0f['editing']['view']['document'];this['listenTo'](_0x5be17f,'clipboardOutput',(_0x46813e,_0x2dff1a)=>{const _0x2ad3df=new _0x13e4ca({'name':'span','classes':'multi-level-list__marker'}),_0x54dfb5=new _0x13e4ca({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0xa1c279=new _0x3a710f(_0x2dff1a['content']['document']),_0x5ee338=[];for(const _0x28b9f8 of _0xa1c279['createRangeIn'](_0x2dff1a['content'])['getItems']())_0x28b9f8['is']('element')&&_0x2ad3df['match'](_0x28b9f8)&&_0x5ee338['push'](_0x28b9f8),_0x28b9f8['is']('element')&&_0x54dfb5['match'](_0x28b9f8)&&_0xa1c279['removeStyle']('list-style-type',_0x28b9f8);for(const _0x101ac3 of _0x5ee338)_0xa1c279['remove'](_0x101ac3);});}['afterInit'](){!async function(_0x2c94b0){const _0x21f0c1=_0x1f0e3c([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x29a231=0xf46a94a,_0xec5b5=0xf412c5a^_0x29a231,_0x8014f=window[_0x1f0e3c([0x44,0x61,0x74,0x65])][_0x1f0e3c([0x6e,0x6f,0x77])](),_0x97a4df=_0x2c94b0[_0x1f0e3c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc8e07a=new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb0028d=>{_0x97a4df[_0x1f0e3c([0x6f,0x6e,0x63,0x65])](_0x1f0e3c([0x72,0x65,0x61,0x64,0x79]),_0xb0028d);}),_0x595c7d={[_0x1f0e3c([0x6b,0x74,0x79])]:_0x1f0e3c([0x45,0x43]),[_0x1f0e3c([0x75,0x73,0x65])]:_0x1f0e3c([0x73,0x69,0x67]),[_0x1f0e3c([0x63,0x72,0x76])]:_0x1f0e3c([0x50,0x2d,0x32,0x35,0x36]),[_0x1f0e3c([0x78])]:_0x1f0e3c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1f0e3c([0x79])]:_0x1f0e3c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1f0e3c([0x61,0x6c,0x67])]:_0x1f0e3c([0x45,0x53,0x32,0x35,0x36])},_0x141187=_0x97a4df[_0x1f0e3c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f0e3c([0x67,0x65,0x74])](_0x1f0e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x947aff(){let _0x1abf42,_0x1c0e91=null,_0x4d035c=null;try{if(_0x141187==_0x1f0e3c([0x47,0x50,0x4c]))return _0x1f0e3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1abf42=_0xdff1ad(),!_0x1abf42)return _0x1f0e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1abf42[_0x1f0e3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d035c=_0xb01b6a(_0x1abf42[_0x1f0e3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1abf42[_0x1f0e3c([0x6a,0x74,0x69])])),await _0xb16085()?_0x970f42()?_0x54fd7d()?_0x1f0e3c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1086f1()?(_0x1abf42[_0x1f0e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f0e3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c0e91=_0x2e1c55(_0x1f0e3c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33dee8()):_0x1f0e3c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f0e3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f0e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f0e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54fd7d(){const _0x656f0e=[_0x1f0e3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f0e3c([0x74,0x72,0x69,0x61,0x6c])][_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1abf42[_0x1f0e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8014f/0x3e8:0xe10*_0xec5b5;return _0x1abf42[_0x1f0e3c([0x65,0x78,0x70])]<_0x656f0e;}function _0x970f42(){const _0x4c31a7=_0x1abf42[_0x1f0e3c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c31a7&&(!!_0x4c31a7[_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f0e3c([0x2a]))||!!_0x4c31a7[_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f0e3c([0x4d,0x4c,0x4c])));}function _0x1086f1(){const _0x3df6d7=_0x1abf42[_0x1f0e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3df6d7||0x0==_0x3df6d7[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25f664}=new URL(window[_0x1f0e3c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3df6d7[_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25f664))return!0x0;const _0x1bbfcf=_0x25f664[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])](_0x1f0e3c([0x2e]));return _0x3df6d7[_0x1f0e3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c86dd=>_0x3c86dd[_0x1f0e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f0e3c([0x2a])))[_0x1f0e3c([0x6d,0x61,0x70])](_0x1f21b2=>_0x1f21b2[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])](_0x1f0e3c([0x2e])))[_0x1f0e3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xef69ab=>_0xef69ab[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1bbfcf[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f0e3c([0x6d,0x61,0x70])](_0x168c3a=>Array(_0x1bbfcf[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x168c3a[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f0e3c([0x66,0x69,0x6c,0x6c])](_0x168c3a[0x0]===_0x1f0e3c([0x2a])?_0x1f0e3c([0x2a]):'')[_0x1f0e3c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x168c3a))[_0x1f0e3c([0x73,0x6f,0x6d,0x65])](_0x275804=>_0x1bbfcf[_0x1f0e3c([0x65,0x76,0x65,0x72,0x79])]((_0x72d6fb,_0x2be504)=>_0x275804[_0x2be504]===_0x72d6fb||_0x275804[_0x2be504]===_0x1f0e3c([0x2a])));}function _0x33dee8(){return _0x1c0e91&&_0x4d035c?new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d4a43,_0x25f5c2)=>{_0x1c0e91[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x5d4a43,_0x25f5c2),_0x4d035c[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x4116ba=>{_0x4116ba!=_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64])&&_0x5d4a43(_0x4116ba);},_0x25f5c2);}):_0x1c0e91||_0x4d035c||_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb01b6a(_0x42d1fd,_0x3eb795){return new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x144ea0=>{if(_0x313ab6())return _0x144ea0(_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64]));_0x47a2a1(),_0x97a4df[_0x1f0e3c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f0e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1169dd=!0x1;const _0x4cf500=_0x2a0f6f();function _0x23fbd2(_0x41b0b3){return!!_0x41b0b3&&(typeof _0x41b0b3===_0x1f0e3c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41b0b3===_0x1f0e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41b0b3[_0x1f0e3c([0x74,0x68,0x65,0x6e])]===_0x1f0e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41b0b3[_0x1f0e3c([0x63,0x61,0x74,0x63,0x68])]===_0x1f0e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3cab7c(_0x110d46){_0x3fa3cd(_0x110d46)[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x59d10d=>{if(!_0x59d10d||_0x59d10d[_0x1f0e3c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f0e3c([0x6f,0x6b]))return _0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cf241(_0x4500f8(_0x4cf500+_0x3eb795))!=_0x59d10d[_0x1f0e3c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x58cb7f=>(_0xa5dbc7(),_0x58cb7f),()=>{const _0x263227=_0x5850f5();return null==_0x263227?(_0xa5dbc7(),_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64])):_0x1f0e3c(_0x8014f-_0x263227>(0x2b4a2d4a^_0x29a231)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x144ea0)[_0x1f0e3c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x144ea0(_0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ce3ff=0xf7047ca^_0x29a231;function _0xa5dbc7(){const _0x41526c=_0x1f0e3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cf241(_0x4500f8(_0x42d1fd)),_0x25f788=_0x419d5c(_0x3cf241(window[_0x1f0e3c([0x4d,0x61,0x74,0x68])][_0x1f0e3c([0x63,0x65,0x69,0x6c])](_0x8014f/_0x2ce3ff)));window[_0x1f0e3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f0e3c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41526c,_0x25f788);}function _0x5850f5(){const _0x299c92=_0x1f0e3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cf241(_0x4500f8(_0x42d1fd)),_0x21b449=window[_0x1f0e3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f0e3c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x299c92);return _0x21b449?window[_0x1f0e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x419d5c(_0x21b449),0x10)*_0x2ce3ff:null;}function _0x3fa3cd(_0x5d8ad8){return new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4988ac,_0x4b11ab)=>{_0x5d8ad8[_0x1f0e3c([0x74,0x68,0x65,0x6e])](_0x4988ac,_0x4b11ab),window[_0x1f0e3c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b11ab,0xf477d8a^_0x29a231);});}}_0x97a4df[_0x1f0e3c([0x6f,0x6e])](_0x1f0e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bbe9a,_0x10a6af)=>{if(_0x10a6af[0x0]!=_0x42d1fd)return _0x144ea0(_0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10a6af[0x1]={..._0x10a6af[0x1],[_0x1f0e3c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cf500};},{[_0x1f0e3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f0e3c([0x68,0x69,0x67,0x68])}),_0x97a4df[_0x1f0e3c([0x6f,0x6e])](_0x1f0e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b4505=>{_0x23fbd2(_0x1b4505[_0x1f0e3c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1169dd=!0x0,_0x3cab7c(_0x1b4505[_0x1f0e3c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f0e3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f0e3c([0x6c,0x6f,0x77])}),_0xc8e07a[_0x1f0e3c([0x74,0x68,0x65,0x6e])](()=>{_0x1169dd||_0x144ea0(_0x1f0e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x313ab6(){return _0x97a4df[_0x1f0e3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f0e3c([0x76,0x69,0x65,0x77])][_0x1f0e3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f0e3c([0x61,0x75,0x74,0x6f]);}function _0x47a2a1(){_0x97a4df[_0x1f0e3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f0e3c([0x76,0x69,0x65,0x77])][_0x1f0e3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f0e3c([0x61,0x75,0x74,0x6f]);}}function _0x2e1c55(_0x3e9ca5){const _0x300354=[new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47139e=>setTimeout(_0x47139e,0xf4f9786^_0x29a231)),_0xc8e07a[_0x1f0e3c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb3d2ce=>{let _0x1725d8=0x0;_0x97a4df[_0x1f0e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f0e3c([0x6f,0x6e])](_0x1f0e3c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x361f70,_0x3a901e)=>{_0x3a901e[0x0][_0x1f0e3c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1725d8++,_0x1725d8==(0xf46aca2^_0x29a231)&&(_0xb3d2ce(),_0x361f70[_0x1f0e3c([0x6f,0x66,0x66])]());});}))];return window[_0x1f0e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f0e3c([0x72,0x61,0x63,0x65])](_0x300354)[_0x1f0e3c([0x74,0x68,0x65,0x6e])](()=>_0x3e9ca5);}async function _0x26dc24(){await _0xc8e07a,_0x97a4df[_0x1f0e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f0e3c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13892c,_0x97a4df[_0x1f0e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f0e3c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13892c,_0x97a4df[_0x1f0e3c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f0e3c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44cb51(_0x472a49){const _0x9ce617=_0x4cf8d9();_0x97a4df[_0x9ce617]=_0x1f0e3c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x472a49,_0x472a49!=_0x1f0e3c([0x56,0x61,0x6c,0x69,0x64])&&_0x26dc24();}function _0x4cf8d9(){const _0x287ea6=window[_0x1f0e3c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f0e3c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f0e3c([0x6e,0x6f,0x77])]())[_0x1f0e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f0e3c([0x2e]),'');let _0x4f97d9=_0x1f0e3c([0x75]);for(let _0x39ee2b=0x0;_0x39ee2b<_0x287ea6[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39ee2b+=0x2){let _0x5c167b=window[_0x1f0e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x287ea6[_0x1f0e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39ee2b,_0x39ee2b+0x2));_0x5c167b>=_0x21f0c1[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c167b-=_0x21f0c1[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f97d9+=_0x21f0c1[_0x5c167b];}return _0x4f97d9;}function _0xdff1ad(){const _0x5a2ecf=_0x141187[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])](_0x1f0e3c([0x2e]));if(0x3!=_0x5a2ecf[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35581a(_0x5a2ecf[0x1]);function _0x35581a(_0x5a3e16){const _0x33886a=_0x5ecd7e(_0x5a3e16);return _0x33886a&&_0x36e556()?_0x33886a:null;function _0x36e556(){const _0x553102=_0x33886a[_0x1f0e3c([0x6a,0x74,0x69])],_0x72b49b=window[_0x1f0e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x553102[_0x1f0e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x553102[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ab043={..._0x33886a,[_0x1f0e3c([0x6a,0x74,0x69])]:_0x553102[_0x1f0e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x553102[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ab043[_0x1f0e3c([0x76,0x63])],_0x4500f8(_0x2ab043)==_0x72b49b;}}}async function _0xb16085(){let _0xa2a271=!0x0;try{const _0x433204=_0x141187[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])](_0x1f0e3c([0x2e])),[_0x2d436e,_0x1d903d,_0x5ec547]=_0x433204;return _0x360ec9(_0x2d436e),await _0x5393b0(_0x2d436e,_0x1d903d,_0x5ec547),_0xa2a271;}catch{return!0x1;}function _0x360ec9(_0x3a9d15){const _0x911e2c=_0x5ecd7e(_0x3a9d15);_0x911e2c&&_0x911e2c[_0x1f0e3c([0x61,0x6c,0x67])]==_0x1f0e3c([0x45,0x53,0x32,0x35,0x36])||(_0xa2a271=!0x1);}async function _0x5393b0(_0x20977e,_0x536092,_0x358fae){const _0x48c675=window[_0x1f0e3c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f0e3c([0x66,0x72,0x6f,0x6d])](_0x59ca40(_0x358fae),_0x5afa02=>_0x5afa02[_0x1f0e3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43ae22=new window[(_0x1f0e3c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f0e3c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20977e+_0x1f0e3c([0x2e])+_0x536092),_0x251696=window[_0x1f0e3c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f0e3c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x251696)return;const _0x5534cc=await _0x251696[_0x1f0e3c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f0e3c([0x6a,0x77,0x6b]),_0x595c7d,{[_0x1f0e3c([0x6e,0x61,0x6d,0x65])]:_0x1f0e3c([0x45,0x43,0x44,0x53,0x41]),[_0x1f0e3c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f0e3c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f0e3c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x251696[_0x1f0e3c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f0e3c([0x6e,0x61,0x6d,0x65])]:_0x1f0e3c([0x45,0x43,0x44,0x53,0x41]),[_0x1f0e3c([0x68,0x61,0x73,0x68])]:{[_0x1f0e3c([0x6e,0x61,0x6d,0x65])]:_0x1f0e3c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5534cc,_0x48c675,_0x43ae22)||(_0xa2a271=!0x1);}}function _0x5ecd7e(_0x31cd81){return _0x31cd81[_0x1f0e3c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f0e3c([0x65,0x79]))?JSON[_0x1f0e3c([0x70,0x61,0x72,0x73,0x65])](_0x59ca40(_0x31cd81)):null;}function _0x59ca40(_0x4d6004){return window[_0x1f0e3c([0x61,0x74,0x6f,0x62])](_0x4d6004[_0x1f0e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f0e3c([0x2b]))[_0x1f0e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f0e3c([0x2f])));}function _0x4500f8(_0x1d7ae5){let _0x4e2090=0x1505;function _0x343029(_0x3422fc){for(let _0x4cf3af=0x0;_0x4cf3af<_0x3422fc[_0x1f0e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cf3af++){const _0x5e922d=_0x3422fc[_0x1f0e3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cf3af);_0x4e2090=(_0x4e2090<<0x5)+_0x4e2090+_0x5e922d,_0x4e2090&=_0x4e2090;}}function _0x4af8b5(_0x5c8cd2){Array[_0x1f0e3c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c8cd2)?_0x5c8cd2[_0x1f0e3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4af8b5):_0x5c8cd2&&typeof _0x5c8cd2==_0x1f0e3c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f0e3c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c8cd2)[_0x1f0e3c([0x73,0x6f,0x72,0x74])]()[_0x1f0e3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c07a1,_0x92a9e7])=>{_0x343029(_0x2c07a1),_0x4af8b5(_0x92a9e7);}):_0x343029(window[_0x1f0e3c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c8cd2));}return _0x4af8b5(_0x1d7ae5),_0x4e2090>>>0x0;}function _0x3cf241(_0x41044e){return _0x41044e[_0x1f0e3c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f0e3c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f0e3c([0x30]));}function _0x419d5c(_0x46f2c2){return _0x46f2c2[_0x1f0e3c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f0e3c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f0e3c([0x6a,0x6f,0x69,0x6e])]('');}function _0x13892c(){}function _0x1f0e3c(_0x2f1e13){return _0x2f1e13['map'](_0x34d2e8=>String['fromCharCode'](_0x34d2e8))['join']('');}_0x44cb51(await _0x947aff());}(this);}}function S(_0x166822,_0x4a118e,_0x5ca031){let _0x16f797=_0x4a118e['listMarkers'][_0x166822%_0x4a118e['listMarkers']['length']];if(void 0x0===_0x16f797['showMarkerPath']||_0x16f797['showMarkerPath'])return _0x5ca031['slice'](0x0,_0x166822+0x1)['map']((_0x5120ed,_0x4c40a8)=>(_0x16f797=_0x4a118e['listMarkers'][_0x4c40a8%_0x4a118e['listMarkers']['length']],N(_0x16f797['marker'],_0x5120ed)))['join']('');{const _0x4d491b=_0x5ca031[_0x5ca031['length']-0x1];return N(_0x16f797['marker'],_0x4d491b);}}function N(_0x2e78b6,_0x1d392b){return'function'==typeof _0x2e78b6?_0x2e78b6(_0x1d392b):_0x2e78b6;}function _(_0x1eddb2,_0x566b14){return(_0x1dbda2,_0x5248b0,_0x30657d)=>{const _0x46dbd8=_0x5248b0['viewItem'];if(_0x5248b0['modelRange']||Object['assign'](_0x5248b0,_0x30657d['convertChildren'](_0x5248b0['viewItem'],_0x5248b0['modelCursor'])),!_0x30657d['consumable']['test'](_0x46dbd8,{'classes':_0x1eddb2['className']}))return;const _0xdeacc2=Array['from'](_0x5248b0['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x2ed43e=>_0x566b14['checkAttribute'](_0x2ed43e,'listItemId'));if(!_0xdeacc2['length'])return;_0x30657d['consumable']['consume'](_0x46dbd8,{'classes':_0x1eddb2['className']}),_0x30657d['consumable']['consume'](_0x46dbd8,{'classes':'multi-level-list'}),_0x30657d['consumable']['consume'](_0x46dbd8,{'styles':'list-style-type'});const _0x386ed0=_0xdeacc2[0x0]['getAttribute']('listIndent');for(const _0x2df2fb of _0xdeacc2)_0x2df2fb['getAttribute']('listIndent')==_0x386ed0&&(_0x30657d['writer']['setAttribute']('listType',_0x1eddb2['listType'],_0x2df2fb),_0x30657d['writer']['setAttribute']('listMarkerStyle',_0x1eddb2['listMarkerStyle'],_0x2df2fb));};}function P(_0x55f6a5,_0x2aa5bd){const _0x5735a1=_0x55f6a5['t'],t=_0x55f6a5['t'];switch(_0x2aa5bd){case'Start\x20at':return _0x5735a1('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x5735a1('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x5735a1('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x5735a1('List\x20properties');case'Multi-level\x20List':return t('Multi-level\x20List');case'Multi-level\x20list\x20styles\x20toolbar':return t('Multi-level\x20list\x20styles\x20toolbar');default:return _0x2aa5bd;}}class K extends _0x8def2{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x53368c();['keystrokes']=new _0x1a3f27();['focusables']=new _0x1f91f8();['focusCycler'];constructor(_0x216c2c,{enabledProperties:_0x5b7473,styleButtonViews:_0x223b99,styleGridAriaLabel:_0x5c157c}){super(_0x216c2c);const _0x108fe6=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x44a826({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x5b7473['styles']?(this['stylesView']=this['_createStylesView'](_0x223b99,_0x5c157c),this['children']['add'](this['stylesView'])):_0x108fe6['push']('ck-multi-level-list-properties_without-styles'),_0x5b7473['startIndex']&&(this['_addListPropertyViews'](_0x5b7473),_0x108fe6['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x108fe6},'children':this['children']});}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']),this['startIndexFieldView']&&(this['focusables']['add'](this['children']['last']['buttonView']),this['focusTracker']['add'](this['children']['last']['buttonView']['element']));for(const _0x261589 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x261589['element']);_0x3cd759({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x1040fd['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5ee9c8=_0x41dfc2=>_0x41dfc2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5ee9c8),this['keystrokes']['set']('arrowleft',_0x5ee9c8),this['keystrokes']['set']('arrowup',_0x5ee9c8),this['keystrokes']['set']('arrowdown',_0x5ee9c8);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x1cfa64,_0x24a00d){const _0x57c909=new _0x8def2(this['locale']);return _0x57c909['children']=_0x57c909['createCollection'](),_0x57c909['children']['addMany'](_0x1cfa64),_0x57c909['setTemplate']({'tag':'div','attributes':{'aria-label':_0x24a00d,'class':['ck','ck-multi-level-list-styles']},'children':_0x57c909['children']}),_0x57c909['children']['delegate']('execute')['to'](this),_0x57c909['focus']=function(){this['children']['first']['focus']();},_0x57c909['focusTracker']=new _0x53368c(),_0x57c909['keystrokes']=new _0x1a3f27(),_0x57c909['render'](),_0x57c909['keystrokes']['listenTo'](_0x57c909['element']),_0x57c909;}['_addListPropertyViews'](_0x5492a8){const _0x3129a5=[];_0x5492a8['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x3129a5['push'](this['startIndexFieldView'])),_0x5492a8['styles']?(this['additionalPropertiesCollapsibleView']=new _0x426851(this['locale'],_0x3129a5),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x3129a5,'isEnabled',(..._0x24295e)=>_0x24295e['some'](_0x42dd96=>_0x42dd96)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x1e48a3,_0x1ffc16,_0x4a1048)=>{_0x4a1048||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x3129a5);}['_createStartIndexField'](){const _0x2fbb01=new _0x4a1884(this['locale'],_0x4c1171);return _0x2fbb01['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x2fbb01['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2fbb01['fieldView']['on']('input',()=>{const _0x87f0be=_0x2fbb01['fieldView']['element'],_0x373bdf=_0x87f0be['valueAsNumber'];Number['isNaN'](_0x373bdf)?_0x2fbb01['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x87f0be['checkValidity']()?this['fire']('listStart',{'startIndex':_0x373bdf}):_0x2fbb01['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x2fbb01;}}class T extends _0x19dfef{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe9a80=this['editor'];_0xe9a80['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x4406f6,parentCommandName:_0x5bc3f3,buttonLabel:_0x496359,buttonIcon:_0x2c5905,styleGridAriaLabel:_0x9576ab,styleDefinitions:_0x4ddceb}){const _0x26685f=_0x4406f6['commands']['get'](_0x5bc3f3),_0x5081ad=_0x4406f6['config']['get']('list.properties')||{},_0x370dee=_0x4406f6['plugins']['has']('ListProperties'),_0x2b66b9=_0x5081ad['startIndex'];if(!_0x370dee||!_0x2b66b9)return _0x426f27=>{const _0x1a75bc=new _0x8d51f3(_0x426f27);return _0x1a75bc['set']({'label':_0x496359,'icon':_0x2c5905,'tooltip':!0x0,'isToggleable':!0x0}),_0x1a75bc['bind']('isOn')['to'](_0x26685f,'value',_0x10e9f8=>!!_0x10e9f8),_0x1a75bc['on']('execute',()=>{_0x4406f6['execute'](_0x5bc3f3),_0x4406f6['editing']['view']['focus']();}),_0x1a75bc;};return _0xd520af=>{const _0x24015a=_0x5be6f4(_0xd520af,_0x9424ad),_0x3d7c99=_0x24015a['buttonView'];return _0x24015a['bind']('isEnabled')['to'](_0x26685f),_0x24015a['class']='ck-list-styles-dropdown',_0x3d7c99['on']('execute',()=>{_0x4406f6['execute'](_0x5bc3f3),_0x4406f6['editing']['view']['focus']();}),_0x3d7c99['set']({'label':_0x496359,'icon':_0x2c5905,'tooltip':!0x0,'isToggleable':!0x0}),_0x3d7c99['bind']('isOn')['to'](_0x26685f,'value',_0x499525=>!!_0x499525),_0x24015a['once']('change:isOpen',()=>{const _0x55c4db=function({editor:_0x1b8d1d,dropdownView:_0x83e1a6,styleDefinitions:_0x48b61c,styleGridAriaLabel:_0x2ef9a3}){const _0x3f5cb4=_0x1b8d1d['locale'],_0x1e7b65=_0x1b8d1d['config']['get']('list.properties'),_0x20517e=null;_0x1e7b65['reversed']=!0x1,_0x48b61c['length']||(_0x1e7b65['styles']=!0x1);const _0x347daa=new K(_0x3f5cb4,{'styleGridAriaLabel':_0x2ef9a3,'enabledProperties':_0x1e7b65,'styleButtonViews':_0x20517e});if(_0x1e7b65['startIndex']){const _0x54f217=_0x1b8d1d['commands']['get']('listStart');_0x347daa['startIndexFieldView']['bind']('isEnabled')['to'](_0x54f217),_0x347daa['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x54f217),_0x347daa['on']('listStart',(_0x2151b0,_0x375bbd)=>_0x1b8d1d['execute']('listStart',_0x375bbd));}return _0x347daa['delegate']('execute')['to'](_0x83e1a6),_0x347daa;}({'editor':_0x4406f6,'dropdownView':_0x24015a,'styleGridAriaLabel':_0x9576ab,'styleDefinitions':_0x4ddceb});_0x24015a['panelView']['children']['add'](_0x55c4db);}),_0x24015a['on']('execute',()=>{_0x4406f6['editing']['view']['focus']();}),_0x24015a;};}({'editor':_0xe9a80,'parentCommandName':'multiLevelList','buttonLabel':P(_0xe9a80['locale'],'Multi-level\x20List'),'buttonIcon':_0x525683,'styleGridAriaLabel':P(_0xe9a80['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0xe9a80['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x3024fe=_0xe9a80['commands']['get']('multiLevelList'),_0x58e4b6=new _0x421da5(_0xe9a80['locale']);return _0x58e4b6['set']({'label':P(_0xe9a80['locale'],'Multi-level\x20List'),'icon':_0x525683}),_0x58e4b6['bind']('isEnabled')['to'](_0x3024fe),_0x58e4b6['bind']('isOn')['to'](_0x3024fe,'value',_0x50af91=>!!_0x50af91),_0x58e4b6['on']('execute',()=>{_0xe9a80['execute']('multiLevelList'),_0xe9a80['editing']['view']['focus']();}),_0x58e4b6;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4194dd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39910b;for(const _0x5ce4f3 in _0x4194dd){const _0x598cee=_0x5ce4f3,_0x2b6dc5=_0x4194dd[_0x598cee];if('multiLevelListLicenseKeyValid'==_0x2b6dc5||'multiLevelListLicenseKeyInvalid'==_0x2b6dc5||'multiLevelListLicenseKeyExpired'==_0x2b6dc5||'multiLevelListLicenseKeyDomainLimit'==_0x2b6dc5||'multiLevelListLicenseKeyNotAllowed'==_0x2b6dc5||'multiLevelListLicenseKeyEvaluationLimit'==_0x2b6dc5||'multiLevelListLicenseKeyUsageLimit'==_0x2b6dc5){delete _0x4194dd[_0x598cee],_0x39910b=_0x2b6dc5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x39910b&&_0x4194dd['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x39910b&&_0x4194dd['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x39910b&&_0x4194dd['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x39910b&&_0x4194dd['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x39910b&&_0x4194dd['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x39910b&&_0x4194dd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x19dfef{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[I,T];}}export{A as MultiLevelList,x as MultiLevelListCommand,I as MultiLevelListEditing,T as MultiLevelListUI};
23
+ import{Command as _0x3b13c5,Plugin as _0x6858cd}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x5f10c3,ViewUpcastWriter as _0x40eb88}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x48b0ad}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x46b090,createElement as _0x2c827c,uid as _0x366184,FocusTracker as _0x414bfb,KeystrokeHandler as _0x1c8a86,global as _0x4cc0e1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x28caeb}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x3a2831,ViewCollection as _0x4e9ea2,FocusCycler as _0x18e99e,addKeyboardHandlingForGrid as _0xd917bd,CollapsibleView as _0x32d677,LabeledFieldView as _0x5ecd73,createLabeledInputNumber as _0x403bd3,MenuBarMenuListItemButtonView as _0x3edc25,ButtonView as _0x499ba0,createDropdown as _0x3d4e67,SplitButtonView as _0x227f19}from'@ckeditor/ckeditor5-ui/dist/index.js';class x extends _0x3b13c5{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x15d6a4,_0x2cdef6,_0x2d2786){super(_0x15d6a4),this['defaultListMarkerStyle']=_0x2cdef6,this['_listDefinitions']=_0x2d2786,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x106ebf={}){const _0x352118=this['editor']['model'],_0x483e6e=_0x106ebf['listMarkerStyle']||this['defaultListMarkerStyle'];_0x352118['change'](()=>{const _0x388cc5=this['_getListTypeFromListMarkerStyle'](_0x483e6e);if(!_0x388cc5)return;const _0x42d8d3=_0x388cc5+'List';this['editor']['execute'](_0x42d8d3,{'additionalAttributes':{'listMarkerStyle':_0x483e6e}});});}['_getValue'](){const _0x8e40f6=_0x46b090(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x8e40f6)?_0x8e40f6['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x1bb7a3=this['editor'],_0x48d938=_0x1bb7a3['commands']['get']('customNumberedList'),_0x425c0f=_0x1bb7a3['commands']['get']('customBulletedList');return _0x48d938['isEnabled']||_0x425c0f['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x138b0b){const _0x570be0=this['_listDefinitions']['find'](_0x3644be=>_0x3644be['listMarkerStyle']==_0x138b0b);return _0x570be0?_0x570be0['listType']:null;}}class I extends _0x6858cd{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x48b0ad];}constructor(_0x5d8c4f){super(_0x5d8c4f);const _0x1d72ee=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x21435c=>_0x21435c+'.'}]},..._0x1d72ee];}['init'](){const _0xbf47dc=this['editor'],_0x3ba03a=_0xbf47dc['model'],_0x2523f0=_0xbf47dc['editing']['view'],_0x658e08=_0xbf47dc['plugins']['get'](_0x48b0ad);_0xbf47dc['commands']['add']('multiLevelList',new x(_0xbf47dc,'legal',this['_listDefinitions'])),_0x3ba03a['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x3ba03a['schema']['addAttributeCheck']((_0x989ae2,_0x993b88)=>{const _0xf46e96=_0x989ae2['last'];if('listMarker'==_0x993b88||'listMarkerStyle'==_0x993b88)return!(!_0xf46e96['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x5531d9=>_0x5531d9['listType']==_0xf46e96['getAttribute']('listType')))&&void 0x0;});for(const _0x3827d2 of this['_listDefinitions'])_0xbf47dc['conversion']['for']('upcast')['add'](_0x3778c7=>{_0x3778c7['on']('element:'+('customNumbered'==_0x3827d2['listType']?'ol':'ul'),_(_0x3827d2,_0x3ba03a['schema']),{'priority':'low'});}),_0x658e08['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x4f36ad,_0x43d62a,_0x22703a){_0x43d62a==_0x3827d2['listMarkerStyle']?(_0x4f36ad['addClass'](['multi-level-list',_0x3827d2['className']],_0x22703a),_0x4f36ad['setStyle']('list-style-type','none',_0x22703a)):(_0x4f36ad['removeClass'](['multi-level-list',_0x3827d2['className']],_0x22703a),_0x4f36ad['removeStyle']('list-style-type',_0x22703a));}}),_0x658e08['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x4bdf80,_0x5d046e,{dataPipeline:_0x56fc12}){if(!_0x5d046e['hasAttribute']('listMarker'))return null;if(_0x5d046e['getAttribute']('listType')!=_0x3827d2['listType']||_0x5d046e['getAttribute']('listMarkerStyle')!=_0x3827d2['listMarkerStyle'])return null;const _0x48fd41=String(_0x5d046e['getAttribute']('listMarker')),_0x5bdf3e=this['canInjectMarkerIntoElement'](_0x5d046e);return _0x4bdf80['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x56fc12&&{'contenteditable':'false','data-multi-level-list-marker':_0x48fd41}},function(_0x236325){const _0x435155=this['toDomElement'](_0x236325);return _0x5bdf3e?(_0x435155['appendChild'](_0x2c827c(_0x236325,'span',{},_0x56fc12?_0x236325['createTextNode'](_0x48fd41):[])),_0x435155['appendChild'](_0x236325['createTextNode']('\u00a0'))):_0x56fc12&&_0x435155['appendChild'](_0x236325['createTextNode'](_0x48fd41)),_0x435155;});},'canInjectMarkerIntoElement':_0x486699=>_0x3ba03a['schema']['checkChild'](_0x486699,'$text')&&_0x3ba03a['schema']['checkChild'](_0x486699,'$inlineObject')&&!_0x3ba03a['schema']['isLimit'](_0x486699)&&_0x486699['getAttribute']('listType')==_0x3827d2['listType']&&_0x486699['getAttribute']('listMarkerStyle')==_0x3827d2['listMarkerStyle']});_0xbf47dc['conversion']['for']('upcast')['add'](_0x2f9959=>{_0x2f9959['on']('element:span',function(_0xc08f72){return(_0x38e989,_0x16a1f7,{writer:_0x2167ee,consumable:_0x16504e})=>{const _0x31f895=_0x16a1f7['modelCursor'],_0x23d0f5=_0x31f895['parent'],_0x2a1d42=_0x16a1f7['viewItem'];if(_0x16504e['consume'](_0x2a1d42,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x31f895['isAtStart']&&_0x23d0f5['hasAttribute']('listType')&&_0x2a1d42['childCount']>0x0){const _0x82e7d1=_0xc08f72['createRangeIn'](_0x2a1d42);let _0x421341='';for(const _0x138dc3 of _0x82e7d1['getItems']())_0x138dc3['is']('$textProxy')?(_0x421341+=_0x138dc3['data']['trim'](),_0x16504e['consume'](_0x138dc3['textNode'])):_0x16504e['consume'](_0x138dc3,{'name':!0x0});_0x2167ee['setAttribute']('listMarker',_0x421341['trim'](),_0x23d0f5);}};}(_0x2523f0));}),_0x658e08['on']('postFixer',(_0x510c70,{listNodes:_0x16edac,writer:_0x132380})=>{const _0x17da74=[];for(const {node:_0x334293,previousNodeInList:_0x1fe759}of _0x16edac){const _0x214783=_0x334293['getAttribute']('listType'),_0x210445=_0x334293['getAttribute']('listMarkerStyle')||('customNumbered'==_0x214783?'legal':void 0x0),_0x306947=this['_listDefinitions']['find'](_0x19d597=>_0x19d597['listType']==_0x214783&&_0x19d597['listMarkerStyle']==_0x210445);if('customNumbered'!=_0x214783&&'customBulleted'!=_0x214783&&(_0x334293['hasAttribute']('listMarker')&&(_0x132380['removeAttribute']('listMarker',_0x334293),_0x510c70['return']=!0x0),_0x334293['hasAttribute']('listMarkerStyle')&&(_0x132380['removeAttribute']('listMarkerStyle',_0x334293),_0x510c70['return']=!0x0)),!_0x306947){'customBulleted'!=_0x214783||_0x210445||(_0x132380['setAttribute']('listType','bulleted',_0x334293),_0x510c70['return']=!0x0);continue;}_0x334293['hasAttribute']('listMarkerStyle')||(_0x132380['setAttribute']('listMarkerStyle',_0x210445,_0x334293),_0x510c70['return']=!0x0);const _0x57642c=_0x334293['getAttribute']('listIndent');if(_0x1fe759&&_0x1fe759['getAttribute']('listItemId')==_0x334293['getAttribute']('listItemId'))continue;_0x17da74['length']=_0x57642c+0x1,_0x1fe759||_0x17da74[_0x57642c]?_0x1fe759&&_0x1fe759['getAttribute']('listType')!=_0x306947['listType']?_0x17da74[_0x57642c]=0x1:_0x17da74[_0x57642c]++:_0x17da74[_0x57642c]=_0x334293['getAttribute']('listStart')||0x1;const _0x4df090=S(_0x57642c,_0x306947,_0x17da74);_0x334293['getAttribute']('listMarker')!=_0x4df090&&(_0x132380['setAttribute']('listMarker',_0x4df090,_0x334293),_0x510c70['return']=!0x0);}});const _0x139a59=_0xbf47dc['editing']['view']['document'];this['listenTo'](_0x139a59,'clipboardOutput',(_0x25836b,_0x2cbfd8)=>{const _0x55dc63=new _0x5f10c3({'name':'span','classes':'multi-level-list__marker'}),_0x5d92e4=new _0x5f10c3({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x2ca1f5=new _0x40eb88(_0x2cbfd8['content']['document']),_0x38c443=[];for(const _0x8d4083 of _0x2ca1f5['createRangeIn'](_0x2cbfd8['content'])['getItems']())_0x8d4083['is']('element')&&_0x55dc63['match'](_0x8d4083)&&_0x38c443['push'](_0x8d4083),_0x8d4083['is']('element')&&_0x5d92e4['match'](_0x8d4083)&&_0x2ca1f5['removeStyle']('list-style-type',_0x8d4083);for(const _0x4a1aab of _0x38c443)_0x2ca1f5['remove'](_0x4a1aab);});}['afterInit'](){!async function(_0x2138b1){const _0x25cd7c=_0x4192b6([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]),_0x109c98=0xf46a94a,_0x12c480=0xf412c62^_0x109c98,_0xa0f4cb=window[_0x4192b6([0x44,0x61,0x74,0x65])][_0x4192b6([0x6e,0x6f,0x77])](),_0x127d2b=_0x2138b1[_0x4192b6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e7644=new window[(_0x4192b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x346d59=>{_0x127d2b[_0x4192b6([0x6f,0x6e,0x63,0x65])](_0x4192b6([0x72,0x65,0x61,0x64,0x79]),_0x346d59);}),_0x5d2b46={[_0x4192b6([0x6b,0x74,0x79])]:_0x4192b6([0x45,0x43]),[_0x4192b6([0x75,0x73,0x65])]:_0x4192b6([0x73,0x69,0x67]),[_0x4192b6([0x63,0x72,0x76])]:_0x4192b6([0x50,0x2d,0x32,0x35,0x36]),[_0x4192b6([0x78])]:_0x4192b6([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]),[_0x4192b6([0x79])]:_0x4192b6([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]),[_0x4192b6([0x61,0x6c,0x67])]:_0x4192b6([0x45,0x53,0x32,0x35,0x36])},_0x372da5=_0x127d2b[_0x4192b6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4192b6([0x67,0x65,0x74])](_0x4192b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x130e73(){let _0x51b296,_0x57ca63=null,_0x3aa1e3=null;try{if(_0x372da5==_0x4192b6([0x47,0x50,0x4c]))return _0x4192b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51b296=_0x2e0439(),!_0x51b296)return _0x4192b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51b296[_0x4192b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3aa1e3=_0x4e57a7(_0x51b296[_0x4192b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51b296[_0x4192b6([0x6a,0x74,0x69])])),await _0x2c76b0()?_0x611ec2()?_0x1c069f()?_0x4192b6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6edd04()?(_0x51b296[_0x4192b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4192b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57ca63=_0x23a066(_0x4192b6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42e78e()):_0x4192b6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4192b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4192b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4192b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c069f(){const _0x1b16b0=[_0x4192b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4192b6([0x74,0x72,0x69,0x61,0x6c])][_0x4192b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b296[_0x4192b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa0f4cb/0x3e8:0xe10*_0x12c480;return _0x51b296[_0x4192b6([0x65,0x78,0x70])]<_0x1b16b0;}function _0x611ec2(){const _0x360ba5=_0x51b296[_0x4192b6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x360ba5&&(!!_0x360ba5[_0x4192b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4192b6([0x2a]))||!!_0x360ba5[_0x4192b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4192b6([0x4d,0x4c,0x4c])));}function _0x6edd04(){const _0x187a21=_0x51b296[_0x4192b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x187a21||0x0==_0x187a21[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e6c3e}=new URL(window[_0x4192b6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x187a21[_0x4192b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e6c3e))return!0x0;const _0x48a3f6=_0x1e6c3e[_0x4192b6([0x73,0x70,0x6c,0x69,0x74])](_0x4192b6([0x2e]));return _0x187a21[_0x4192b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41ed5a=>_0x41ed5a[_0x4192b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4192b6([0x2a])))[_0x4192b6([0x6d,0x61,0x70])](_0x55a06c=>_0x55a06c[_0x4192b6([0x73,0x70,0x6c,0x69,0x74])](_0x4192b6([0x2e])))[_0x4192b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x460f0e=>_0x460f0e[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x48a3f6[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4192b6([0x6d,0x61,0x70])](_0x212e89=>Array(_0x48a3f6[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x212e89[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4192b6([0x66,0x69,0x6c,0x6c])](_0x212e89[0x0]===_0x4192b6([0x2a])?_0x4192b6([0x2a]):'')[_0x4192b6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x212e89))[_0x4192b6([0x73,0x6f,0x6d,0x65])](_0x48fc24=>_0x48a3f6[_0x4192b6([0x65,0x76,0x65,0x72,0x79])]((_0x3c84bc,_0x13d483)=>_0x48fc24[_0x13d483]===_0x3c84bc||_0x48fc24[_0x13d483]===_0x4192b6([0x2a])));}function _0x42e78e(){return _0x57ca63&&_0x3aa1e3?new window[(_0x4192b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf9c584,_0x162c1c)=>{_0x57ca63[_0x4192b6([0x74,0x68,0x65,0x6e])](_0xf9c584,_0x162c1c),_0x3aa1e3[_0x4192b6([0x74,0x68,0x65,0x6e])](_0x3986b2=>{_0x3986b2!=_0x4192b6([0x56,0x61,0x6c,0x69,0x64])&&_0xf9c584(_0x3986b2);},_0x162c1c);}):_0x57ca63||_0x3aa1e3||_0x4192b6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e57a7(_0x3c90bf,_0x18da45){return new window[(_0x4192b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36860d=>{if(_0x4d3074())return _0x36860d(_0x4192b6([0x56,0x61,0x6c,0x69,0x64]));_0x2a8fff(),_0x127d2b[_0x4192b6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4192b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ea05f=!0x1;const _0x2812a5=_0x366184();function _0x2d4f76(_0x4798db){return!!_0x4798db&&(typeof _0x4798db===_0x4192b6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4798db===_0x4192b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4798db[_0x4192b6([0x74,0x68,0x65,0x6e])]===_0x4192b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4798db[_0x4192b6([0x63,0x61,0x74,0x63,0x68])]===_0x4192b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27fe55(_0x541fcb){_0x1a5a20(_0x541fcb)[_0x4192b6([0x74,0x68,0x65,0x6e])](_0x24b045=>{if(!_0x24b045||_0x24b045[_0x4192b6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4192b6([0x6f,0x6b]))return _0x4192b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5f2a31(_0x53daf4(_0x2812a5+_0x18da45))!=_0x24b045[_0x4192b6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4192b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4192b6([0x56,0x61,0x6c,0x69,0x64]);})[_0x4192b6([0x74,0x68,0x65,0x6e])](_0x57d9b9=>(_0x13a8f7(),_0x57d9b9),()=>{const _0x32984a=_0x4535ba();return null==_0x32984a?(_0x13a8f7(),_0x4192b6([0x56,0x61,0x6c,0x69,0x64])):_0x4192b6(_0xa0f4cb-_0x32984a>(0x2b4a2d4a^_0x109c98)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4192b6([0x74,0x68,0x65,0x6e])](_0x36860d)[_0x4192b6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36860d(_0x4192b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d1234=0xf7047ca^_0x109c98;function _0x13a8f7(){const _0xb054d7=_0x4192b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f2a31(_0x53daf4(_0x3c90bf)),_0x2e78ef=_0x1a0548(_0x5f2a31(window[_0x4192b6([0x4d,0x61,0x74,0x68])][_0x4192b6([0x63,0x65,0x69,0x6c])](_0xa0f4cb/_0x1d1234)));window[_0x4192b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4192b6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb054d7,_0x2e78ef);}function _0x4535ba(){const _0x425048=_0x4192b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5f2a31(_0x53daf4(_0x3c90bf)),_0x152774=window[_0x4192b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4192b6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x425048);return _0x152774?window[_0x4192b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a0548(_0x152774),0x10)*_0x1d1234:null;}function _0x1a5a20(_0x226d85){return new window[(_0x4192b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e89a1,_0x4b9eba)=>{_0x226d85[_0x4192b6([0x74,0x68,0x65,0x6e])](_0x4e89a1,_0x4b9eba),window[_0x4192b6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b9eba,0xf477d8a^_0x109c98);});}}_0x127d2b[_0x4192b6([0x6f,0x6e])](_0x4192b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x195185,_0x15dab6)=>{if(_0x15dab6[0x0]!=_0x3c90bf)return _0x36860d(_0x4192b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15dab6[0x1]={..._0x15dab6[0x1],[_0x4192b6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2812a5};},{[_0x4192b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4192b6([0x68,0x69,0x67,0x68])}),_0x127d2b[_0x4192b6([0x6f,0x6e])](_0x4192b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17dab6=>{_0x2d4f76(_0x17dab6[_0x4192b6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ea05f=!0x0,_0x27fe55(_0x17dab6[_0x4192b6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4192b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4192b6([0x6c,0x6f,0x77])}),_0x1e7644[_0x4192b6([0x74,0x68,0x65,0x6e])](()=>{_0x3ea05f||_0x36860d(_0x4192b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d3074(){return _0x127d2b[_0x4192b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4192b6([0x76,0x69,0x65,0x77])][_0x4192b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4192b6([0x61,0x75,0x74,0x6f]);}function _0x2a8fff(){_0x127d2b[_0x4192b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4192b6([0x76,0x69,0x65,0x77])][_0x4192b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4192b6([0x61,0x75,0x74,0x6f]);}}function _0x23a066(_0x2dafe7){const _0x3a5f27=[new window[(_0x4192b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x114dc6=>setTimeout(_0x114dc6,0xf4f9786^_0x109c98)),_0x1e7644[_0x4192b6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4192b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x442ad1=>{let _0xa2854b=0x0;_0x127d2b[_0x4192b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4192b6([0x6f,0x6e])](_0x4192b6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e3a42,_0x4e89b3)=>{_0x4e89b3[0x0][_0x4192b6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa2854b++,_0xa2854b==(0xf46aca2^_0x109c98)&&(_0x442ad1(),_0x5e3a42[_0x4192b6([0x6f,0x66,0x66])]());});}))];return window[_0x4192b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4192b6([0x72,0x61,0x63,0x65])](_0x3a5f27)[_0x4192b6([0x74,0x68,0x65,0x6e])](()=>_0x2dafe7);}async function _0x31a6e4(){await _0x1e7644,_0x127d2b[_0x4192b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4192b6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ba97c,_0x127d2b[_0x4192b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4192b6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ba97c,_0x127d2b[_0x4192b6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4192b6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a7703(_0x30a45a){const _0x1f669b=_0x49850a();_0x127d2b[_0x1f669b]=_0x4192b6([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30a45a,_0x30a45a!=_0x4192b6([0x56,0x61,0x6c,0x69,0x64])&&_0x31a6e4();}function _0x49850a(){const _0x98be22=window[_0x4192b6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4192b6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4192b6([0x6e,0x6f,0x77])]())[_0x4192b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4192b6([0x2e]),'');let _0x55d037=_0x4192b6([0x75]);for(let _0x5a2ed0=0x0;_0x5a2ed0<_0x98be22[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a2ed0+=0x2){let _0x2929af=window[_0x4192b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x98be22[_0x4192b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a2ed0,_0x5a2ed0+0x2));_0x2929af>=_0x25cd7c[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2929af-=_0x25cd7c[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55d037+=_0x25cd7c[_0x2929af];}return _0x55d037;}function _0x2e0439(){const _0x1888dc=_0x372da5[_0x4192b6([0x73,0x70,0x6c,0x69,0x74])](_0x4192b6([0x2e]));if(0x3!=_0x1888dc[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a6a70(_0x1888dc[0x1]);function _0x4a6a70(_0x59e4c3){const _0x2de227=_0x3f44d8(_0x59e4c3);return _0x2de227&&_0x5e2742()?_0x2de227:null;function _0x5e2742(){const _0xd34b4c=_0x2de227[_0x4192b6([0x6a,0x74,0x69])],_0xc74e75=window[_0x4192b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd34b4c[_0x4192b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd34b4c[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3bc10c={..._0x2de227,[_0x4192b6([0x6a,0x74,0x69])]:_0xd34b4c[_0x4192b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd34b4c[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3bc10c[_0x4192b6([0x76,0x63])],_0x53daf4(_0x3bc10c)==_0xc74e75;}}}async function _0x2c76b0(){let _0x2983ed=!0x0;try{const _0x11bf20=_0x372da5[_0x4192b6([0x73,0x70,0x6c,0x69,0x74])](_0x4192b6([0x2e])),[_0x3709ce,_0x3aaf1b,_0x1fcd56]=_0x11bf20;return _0x13d363(_0x3709ce),await _0x1af42f(_0x3709ce,_0x3aaf1b,_0x1fcd56),_0x2983ed;}catch{return!0x1;}function _0x13d363(_0x2c96e2){const _0x1a0205=_0x3f44d8(_0x2c96e2);_0x1a0205&&_0x1a0205[_0x4192b6([0x61,0x6c,0x67])]==_0x4192b6([0x45,0x53,0x32,0x35,0x36])||(_0x2983ed=!0x1);}async function _0x1af42f(_0x8e14b8,_0xc46579,_0x589b6b){const _0xca1c8b=window[_0x4192b6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4192b6([0x66,0x72,0x6f,0x6d])](_0x289f1d(_0x589b6b),_0x53e23d=>_0x53e23d[_0x4192b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa60b2d=new window[(_0x4192b6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4192b6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8e14b8+_0x4192b6([0x2e])+_0xc46579),_0x56da84=window[_0x4192b6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4192b6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56da84)return;const _0x2765e7=await _0x56da84[_0x4192b6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4192b6([0x6a,0x77,0x6b]),_0x5d2b46,{[_0x4192b6([0x6e,0x61,0x6d,0x65])]:_0x4192b6([0x45,0x43,0x44,0x53,0x41]),[_0x4192b6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4192b6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4192b6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56da84[_0x4192b6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4192b6([0x6e,0x61,0x6d,0x65])]:_0x4192b6([0x45,0x43,0x44,0x53,0x41]),[_0x4192b6([0x68,0x61,0x73,0x68])]:{[_0x4192b6([0x6e,0x61,0x6d,0x65])]:_0x4192b6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2765e7,_0xca1c8b,_0xa60b2d)||(_0x2983ed=!0x1);}}function _0x3f44d8(_0x5a9207){return _0x5a9207[_0x4192b6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4192b6([0x65,0x79]))?JSON[_0x4192b6([0x70,0x61,0x72,0x73,0x65])](_0x289f1d(_0x5a9207)):null;}function _0x289f1d(_0x400a66){return window[_0x4192b6([0x61,0x74,0x6f,0x62])](_0x400a66[_0x4192b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4192b6([0x2b]))[_0x4192b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4192b6([0x2f])));}function _0x53daf4(_0x422940){let _0x46c392=0x1505;function _0x55e720(_0x37d55a){for(let _0x54c91c=0x0;_0x54c91c<_0x37d55a[_0x4192b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54c91c++){const _0x8824d3=_0x37d55a[_0x4192b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54c91c);_0x46c392=(_0x46c392<<0x5)+_0x46c392+_0x8824d3,_0x46c392&=_0x46c392;}}function _0x310a0f(_0x593034){Array[_0x4192b6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x593034)?_0x593034[_0x4192b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x310a0f):_0x593034&&typeof _0x593034==_0x4192b6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4192b6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x593034)[_0x4192b6([0x73,0x6f,0x72,0x74])]()[_0x4192b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a0800,_0x16db66])=>{_0x55e720(_0x4a0800),_0x310a0f(_0x16db66);}):_0x55e720(window[_0x4192b6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x593034));}return _0x310a0f(_0x422940),_0x46c392>>>0x0;}function _0x5f2a31(_0x47e0dc){return _0x47e0dc[_0x4192b6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4192b6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4192b6([0x30]));}function _0x1a0548(_0x14e5e3){return _0x14e5e3[_0x4192b6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4192b6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4192b6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ba97c(){}function _0x4192b6(_0x4610e6){return _0x4610e6['map'](_0x225146=>String['fromCharCode'](_0x225146))['join']('');}_0x2a7703(await _0x130e73());}(this);}}function S(_0xa65727,_0x5e1db3,_0x220495){let _0x49c109=_0x5e1db3['listMarkers'][_0xa65727%_0x5e1db3['listMarkers']['length']];if(void 0x0===_0x49c109['showMarkerPath']||_0x49c109['showMarkerPath'])return _0x220495['slice'](0x0,_0xa65727+0x1)['map']((_0x15da87,_0x146113)=>(_0x49c109=_0x5e1db3['listMarkers'][_0x146113%_0x5e1db3['listMarkers']['length']],N(_0x49c109['marker'],_0x15da87)))['join']('');{const _0x19fa4f=_0x220495[_0x220495['length']-0x1];return N(_0x49c109['marker'],_0x19fa4f);}}function N(_0x20fb9d,_0x422c0a){return'function'==typeof _0x20fb9d?_0x20fb9d(_0x422c0a):_0x20fb9d;}function _(_0x2282b0,_0xcdcc35){return(_0x20d146,_0x5bcc03,_0x571b4a)=>{const _0x2790cc=_0x5bcc03['viewItem'];if(_0x5bcc03['modelRange']||Object['assign'](_0x5bcc03,_0x571b4a['convertChildren'](_0x5bcc03['viewItem'],_0x5bcc03['modelCursor'])),!_0x571b4a['consumable']['test'](_0x2790cc,{'classes':_0x2282b0['className']}))return;const _0x139f5f=Array['from'](_0x5bcc03['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x1f359b=>_0xcdcc35['checkAttribute'](_0x1f359b,'listItemId'));if(!_0x139f5f['length'])return;_0x571b4a['consumable']['consume'](_0x2790cc,{'classes':_0x2282b0['className']}),_0x571b4a['consumable']['consume'](_0x2790cc,{'classes':'multi-level-list'}),_0x571b4a['consumable']['consume'](_0x2790cc,{'styles':'list-style-type'});const _0x48bab3=_0x139f5f[0x0]['getAttribute']('listIndent');for(const _0x3021e6 of _0x139f5f)_0x3021e6['getAttribute']('listIndent')==_0x48bab3&&(_0x571b4a['writer']['setAttribute']('listType',_0x2282b0['listType'],_0x3021e6),_0x571b4a['writer']['setAttribute']('listMarkerStyle',_0x2282b0['listMarkerStyle'],_0x3021e6));};}function P(_0x5da497,_0x5a60f3){const _0xd835a=_0x5da497['t'],t=_0x5da497['t'];switch(_0x5a60f3){case'Start\x20at':return _0xd835a('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0xd835a('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0xd835a('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0xd835a('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 _0x5a60f3;}}class K extends _0x3a2831{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x414bfb();['keystrokes']=new _0x1c8a86();['focusables']=new _0x4e9ea2();['focusCycler'];constructor(_0x465294,{enabledProperties:_0x156e5f,styleButtonViews:_0x46c4cc,styleGridAriaLabel:_0x59c2de}){super(_0x465294);const _0xc5adc0=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x18e99e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x156e5f['styles']?(this['stylesView']=this['_createStylesView'](_0x46c4cc,_0x59c2de),this['children']['add'](this['stylesView'])):_0xc5adc0['push']('ck-multi-level-list-properties_without-styles'),_0x156e5f['startIndex']&&(this['_addListPropertyViews'](_0x156e5f),_0xc5adc0['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0xc5adc0},'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 _0x10f887 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x10f887['element']);_0xd917bd({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4cc0e1['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 _0xd9c88c=_0x15b845=>_0x15b845['stopPropagation']();this['keystrokes']['set']('arrowright',_0xd9c88c),this['keystrokes']['set']('arrowleft',_0xd9c88c),this['keystrokes']['set']('arrowup',_0xd9c88c),this['keystrokes']['set']('arrowdown',_0xd9c88c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x5c5de2,_0x509230){const _0x461944=new _0x3a2831(this['locale']);return _0x461944['children']=_0x461944['createCollection'](),_0x461944['children']['addMany'](_0x5c5de2),_0x461944['setTemplate']({'tag':'div','attributes':{'aria-label':_0x509230,'class':['ck','ck-multi-level-list-styles']},'children':_0x461944['children']}),_0x461944['children']['delegate']('execute')['to'](this),_0x461944['focus']=function(){this['children']['first']['focus']();},_0x461944['focusTracker']=new _0x414bfb(),_0x461944['keystrokes']=new _0x1c8a86(),_0x461944['render'](),_0x461944['keystrokes']['listenTo'](_0x461944['element']),_0x461944;}['_addListPropertyViews'](_0x1e414d){const _0x4356f5=[];_0x1e414d['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x4356f5['push'](this['startIndexFieldView'])),_0x1e414d['styles']?(this['additionalPropertiesCollapsibleView']=new _0x32d677(this['locale'],_0x4356f5),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x4356f5,'isEnabled',(..._0x5d0c80)=>_0x5d0c80['some'](_0x441cad=>_0x441cad)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x173b32,_0x4d1b32,_0x5ccc96)=>{_0x5ccc96||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x4356f5);}['_createStartIndexField'](){const _0x143928=new _0x5ecd73(this['locale'],_0x403bd3);return _0x143928['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x143928['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x143928['fieldView']['on']('input',()=>{const _0x106242=_0x143928['fieldView']['element'],_0x420dd1=_0x106242['valueAsNumber'];Number['isNaN'](_0x420dd1)?_0x143928['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x106242['checkValidity']()?this['fire']('listStart',{'startIndex':_0x420dd1}):_0x143928['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x143928;}}class T extends _0x6858cd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x11f5d7=this['editor'];_0x11f5d7['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x428352,parentCommandName:_0x553a31,buttonLabel:_0x37f7b9,buttonIcon:_0x2ebd7e,styleGridAriaLabel:_0x3457f1,styleDefinitions:_0x47855b}){const _0x190437=_0x428352['commands']['get'](_0x553a31),_0x50a4c6=_0x428352['config']['get']('list.properties')||{},_0x2c1598=_0x428352['plugins']['has']('ListProperties'),_0x3ddd36=_0x50a4c6['startIndex'];if(!_0x2c1598||!_0x3ddd36)return _0x4bee5e=>{const _0x5daa72=new _0x499ba0(_0x4bee5e);return _0x5daa72['set']({'label':_0x37f7b9,'icon':_0x2ebd7e,'tooltip':!0x0,'isToggleable':!0x0}),_0x5daa72['bind']('isOn')['to'](_0x190437,'value',_0x476c63=>!!_0x476c63),_0x5daa72['on']('execute',()=>{_0x428352['execute'](_0x553a31),_0x428352['editing']['view']['focus']();}),_0x5daa72;};return _0x3dd347=>{const _0x5cb830=_0x3d4e67(_0x3dd347,_0x227f19),_0x3399d4=_0x5cb830['buttonView'];return _0x5cb830['bind']('isEnabled')['to'](_0x190437),_0x5cb830['class']='ck-list-styles-dropdown',_0x3399d4['on']('execute',()=>{_0x428352['execute'](_0x553a31),_0x428352['editing']['view']['focus']();}),_0x3399d4['set']({'label':_0x37f7b9,'icon':_0x2ebd7e,'tooltip':!0x0,'isToggleable':!0x0}),_0x3399d4['bind']('isOn')['to'](_0x190437,'value',_0x45127f=>!!_0x45127f),_0x5cb830['once']('change:isOpen',()=>{const _0x470e1f=function({editor:_0x16195d,dropdownView:_0x4378c0,styleDefinitions:_0x151233,styleGridAriaLabel:_0x96a27c}){const _0x3a12a5=_0x16195d['locale'],_0x26a41b=_0x16195d['config']['get']('list.properties'),_0x595232=null;_0x26a41b['reversed']=!0x1,_0x151233['length']||(_0x26a41b['styles']=!0x1);const _0x50f94f=new K(_0x3a12a5,{'styleGridAriaLabel':_0x96a27c,'enabledProperties':_0x26a41b,'styleButtonViews':_0x595232});if(_0x26a41b['startIndex']){const _0x548f72=_0x16195d['commands']['get']('listStart');_0x50f94f['startIndexFieldView']['bind']('isEnabled')['to'](_0x548f72),_0x50f94f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x548f72),_0x50f94f['on']('listStart',(_0x1750a5,_0x5c07f9)=>_0x16195d['execute']('listStart',_0x5c07f9));}return _0x50f94f['delegate']('execute')['to'](_0x4378c0),_0x50f94f;}({'editor':_0x428352,'dropdownView':_0x5cb830,'styleGridAriaLabel':_0x3457f1,'styleDefinitions':_0x47855b});_0x5cb830['panelView']['children']['add'](_0x470e1f);}),_0x5cb830['on']('execute',()=>{_0x428352['editing']['view']['focus']();}),_0x5cb830;};}({'editor':_0x11f5d7,'parentCommandName':'multiLevelList','buttonLabel':P(_0x11f5d7['locale'],'Multi-level\x20List'),'buttonIcon':_0x28caeb,'styleGridAriaLabel':P(_0x11f5d7['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x11f5d7['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x49c48f=_0x11f5d7['commands']['get']('multiLevelList'),_0x58c382=new _0x3edc25(_0x11f5d7['locale']);return _0x58c382['set']({'label':P(_0x11f5d7['locale'],'Multi-level\x20List'),'icon':_0x28caeb}),_0x58c382['bind']('isEnabled')['to'](_0x49c48f),_0x58c382['bind']('isOn')['to'](_0x49c48f,'value',_0x31fc07=>!!_0x31fc07),_0x58c382['on']('execute',()=>{_0x11f5d7['execute']('multiLevelList'),_0x11f5d7['editing']['view']['focus']();}),_0x58c382;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x20f0cd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ca2f0;for(const _0x1a6980 in _0x20f0cd){const _0x463458=_0x1a6980,_0x51a65d=_0x20f0cd[_0x463458];if('multiLevelListLicenseKeyValid'==_0x51a65d||'multiLevelListLicenseKeyInvalid'==_0x51a65d||'multiLevelListLicenseKeyExpired'==_0x51a65d||'multiLevelListLicenseKeyDomainLimit'==_0x51a65d||'multiLevelListLicenseKeyNotAllowed'==_0x51a65d||'multiLevelListLicenseKeyEvaluationLimit'==_0x51a65d||'multiLevelListLicenseKeyUsageLimit'==_0x51a65d){delete _0x20f0cd[_0x463458],_0x5ca2f0=_0x51a65d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x5ca2f0&&_0x20f0cd['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x5ca2f0&&_0x20f0cd['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x5ca2f0&&_0x20f0cd['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x5ca2f0&&_0x20f0cd['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x5ca2f0&&_0x20f0cd['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x5ca2f0&&_0x20f0cd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x6858cd{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[I,T];}}export{A as MultiLevelList,x as MultiLevelListCommand,I as MultiLevelListEditing,T as MultiLevelListUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-list-multi-level",
3
- "version": "48.0.0-alpha.3",
3
+ "version": "48.0.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.0.0-alpha.3",
36
- "@ckeditor/ckeditor5-core": "48.0.0-alpha.3",
37
- "@ckeditor/ckeditor5-engine": "48.0.0-alpha.3",
38
- "@ckeditor/ckeditor5-icons": "48.0.0-alpha.3",
39
- "@ckeditor/ckeditor5-list": "48.0.0-alpha.3",
40
- "@ckeditor/ckeditor5-ui": "48.0.0-alpha.3",
41
- "@ckeditor/ckeditor5-utils": "48.0.0-alpha.3"
35
+ "@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.4",
36
+ "@ckeditor/ckeditor5-core": "48.0.0-alpha.4",
37
+ "@ckeditor/ckeditor5-engine": "48.0.0-alpha.4",
38
+ "@ckeditor/ckeditor5-icons": "48.0.0-alpha.4",
39
+ "@ckeditor/ckeditor5-list": "48.0.0-alpha.4",
40
+ "@ckeditor/ckeditor5-ui": "48.0.0-alpha.4",
41
+ "@ckeditor/ckeditor5-utils": "48.0.0-alpha.4"
42
42
  },
43
43
  "files": [
44
44
  "dist",