@ckeditor/ckeditor5-list-multi-level 48.0.0-alpha.10 → 48.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x400ba0,Plugin as _0x188f02}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x46f540,ViewUpcastWriter as _0xc204f7}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x1b5e4b}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x3f259a,createElement as _0x45c387,uid as _0x185c2f,FocusTracker as _0x1b8dd2,KeystrokeHandler as _0x43e994,global as _0x311a2d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x37d71c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x50f4a0,ViewCollection as _0x42d351,FocusCycler as _0x397aa3,addKeyboardHandlingForGrid as _0x4cbe6e,CollapsibleView as _0xce2c1d,LabeledFieldView as _0x105972,createLabeledInputNumber as _0x34f181,MenuBarMenuListItemButtonView as _0x16052b,ButtonView as _0x507e99,createDropdown as _0x304ea0,SplitButtonView as _0x224d6d}from'@ckeditor/ckeditor5-ui/dist/index.js';class x extends _0x400ba0{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x40a648,_0x3f4e80,_0x4218e6){super(_0x40a648),this['defaultListMarkerStyle']=_0x3f4e80,this['_listDefinitions']=_0x4218e6,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x29cd53={}){const _0x59bc58=this['editor']['model'],_0x290305=_0x29cd53['listMarkerStyle']||this['defaultListMarkerStyle'];_0x59bc58['change'](()=>{const _0x5ebd42=this['_getListTypeFromListMarkerStyle'](_0x290305);if(!_0x5ebd42)return;const _0x36e97d=_0x5ebd42+'List';this['editor']['execute'](_0x36e97d,{'additionalAttributes':{'listMarkerStyle':_0x290305}});});}['_getValue'](){const _0x193be0=_0x3f259a(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x193be0)?_0x193be0['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0xe74aee=this['editor'],_0x51d0f3=_0xe74aee['commands']['get']('customNumberedList'),_0x291722=_0xe74aee['commands']['get']('customBulletedList');return _0x51d0f3['isEnabled']||_0x291722['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x178844){const _0x77e194=this['_listDefinitions']['find'](_0x369cd2=>_0x369cd2['listMarkerStyle']==_0x178844);return _0x77e194?_0x77e194['listType']:null;}}class I extends _0x188f02{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1b5e4b];}constructor(_0x5fcaef){super(_0x5fcaef);const _0x43cd32=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x5cbf8a=>_0x5cbf8a+'.'}]},..._0x43cd32];}['init'](){const _0x54daa3=this['editor'],_0x18db1c=_0x54daa3['model'],_0x1590d2=_0x54daa3['editing']['view'],_0x49a327=_0x54daa3['plugins']['get'](_0x1b5e4b);_0x54daa3['commands']['add']('multiLevelList',new x(_0x54daa3,'legal',this['_listDefinitions'])),_0x18db1c['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x18db1c['schema']['addAttributeCheck']((_0xcb65de,_0xa817e8)=>{const _0x356424=_0xcb65de['last'];if('listMarker'==_0xa817e8||'listMarkerStyle'==_0xa817e8)return!(!_0x356424['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x4242e0=>_0x4242e0['listType']==_0x356424['getAttribute']('listType')))&&void 0x0;});for(const _0x2e0e20 of this['_listDefinitions'])_0x54daa3['conversion']['for']('upcast')['add'](_0x535bbd=>{_0x535bbd['on']('element:'+('customNumbered'==_0x2e0e20['listType']?'ol':'ul'),_(_0x2e0e20,_0x18db1c['schema']),{'priority':'low'});}),_0x49a327['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x524c5a,_0x54680f,_0x4410d9){_0x54680f==_0x2e0e20['listMarkerStyle']?(_0x524c5a['addClass'](['multi-level-list',_0x2e0e20['className']],_0x4410d9),_0x524c5a['setStyle']('list-style-type','none',_0x4410d9)):(_0x524c5a['removeClass'](['multi-level-list',_0x2e0e20['className']],_0x4410d9),_0x524c5a['removeStyle']('list-style-type',_0x4410d9));}}),_0x49a327['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x4d3d60,_0x2d9dec,{dataPipeline:_0x33161c}){if(!_0x2d9dec['hasAttribute']('listMarker'))return null;if(_0x2d9dec['getAttribute']('listType')!=_0x2e0e20['listType']||_0x2d9dec['getAttribute']('listMarkerStyle')!=_0x2e0e20['listMarkerStyle'])return null;const _0x3fedd9=String(_0x2d9dec['getAttribute']('listMarker')),_0x12705a=this['canInjectMarkerIntoElement'](_0x2d9dec);return _0x4d3d60['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x33161c&&{'contenteditable':'false','data-multi-level-list-marker':_0x3fedd9}},function(_0xef963f){const _0x2ecce8=this['toDomElement'](_0xef963f);return _0x12705a?(_0x2ecce8['appendChild'](_0x45c387(_0xef963f,'span',{},_0x33161c?_0xef963f['createTextNode'](_0x3fedd9):[])),_0x2ecce8['appendChild'](_0xef963f['createTextNode']('\u00a0'))):_0x33161c&&_0x2ecce8['appendChild'](_0xef963f['createTextNode'](_0x3fedd9)),_0x2ecce8;});},'canInjectMarkerIntoElement':_0x20f74d=>_0x18db1c['schema']['checkChild'](_0x20f74d,'$text')&&_0x18db1c['schema']['checkChild'](_0x20f74d,'$inlineObject')&&!_0x18db1c['schema']['isLimit'](_0x20f74d)&&_0x20f74d['getAttribute']('listType')==_0x2e0e20['listType']&&_0x20f74d['getAttribute']('listMarkerStyle')==_0x2e0e20['listMarkerStyle']});_0x54daa3['conversion']['for']('upcast')['add'](_0x267dcf=>{_0x267dcf['on']('element:span',function(_0x30465a){return(_0xac50ae,_0x1b200e,{writer:_0x236f66,consumable:_0x20db4b})=>{const _0x4bbc08=_0x1b200e['modelCursor'],_0xf1e8b5=_0x4bbc08['parent'],_0x5551c6=_0x1b200e['viewItem'];if(_0x20db4b['consume'](_0x5551c6,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x4bbc08['isAtStart']&&_0xf1e8b5['hasAttribute']('listType')&&_0x5551c6['childCount']>0x0){const _0x4ab615=_0x30465a['createRangeIn'](_0x5551c6);let _0x5a5fc6='';for(const _0x3eab83 of _0x4ab615['getItems']())_0x3eab83['is']('$textProxy')?(_0x5a5fc6+=_0x3eab83['data']['trim'](),_0x20db4b['consume'](_0x3eab83['textNode'])):_0x20db4b['consume'](_0x3eab83,{'name':!0x0});_0x236f66['setAttribute']('listMarker',_0x5a5fc6['trim'](),_0xf1e8b5);}};}(_0x1590d2));}),_0x49a327['on']('postFixer',(_0x1a49bc,{listNodes:_0x50b62e,writer:_0x4d28fe})=>{const _0x43107d=[];for(const {node:_0x40e5eb,previousNodeInList:_0x33ba06}of _0x50b62e){const _0x1b62f7=_0x40e5eb['getAttribute']('listType'),_0x3779d8=_0x40e5eb['getAttribute']('listMarkerStyle')||('customNumbered'==_0x1b62f7?'legal':void 0x0),_0x329f04=this['_listDefinitions']['find'](_0x20969c=>_0x20969c['listType']==_0x1b62f7&&_0x20969c['listMarkerStyle']==_0x3779d8);if('customNumbered'!=_0x1b62f7&&'customBulleted'!=_0x1b62f7&&(_0x40e5eb['hasAttribute']('listMarker')&&(_0x4d28fe['removeAttribute']('listMarker',_0x40e5eb),_0x1a49bc['return']=!0x0),_0x40e5eb['hasAttribute']('listMarkerStyle')&&(_0x4d28fe['removeAttribute']('listMarkerStyle',_0x40e5eb),_0x1a49bc['return']=!0x0)),!_0x329f04){'customBulleted'!=_0x1b62f7||_0x3779d8||(_0x4d28fe['setAttribute']('listType','bulleted',_0x40e5eb),_0x1a49bc['return']=!0x0);continue;}_0x40e5eb['hasAttribute']('listMarkerStyle')||(_0x4d28fe['setAttribute']('listMarkerStyle',_0x3779d8,_0x40e5eb),_0x1a49bc['return']=!0x0);const _0x317535=_0x40e5eb['getAttribute']('listIndent');if(_0x33ba06&&_0x33ba06['getAttribute']('listItemId')==_0x40e5eb['getAttribute']('listItemId'))continue;_0x43107d['length']=_0x317535+0x1,_0x33ba06||_0x43107d[_0x317535]?_0x33ba06&&_0x33ba06['getAttribute']('listType')!=_0x329f04['listType']?_0x43107d[_0x317535]=0x1:_0x43107d[_0x317535]++:_0x43107d[_0x317535]=_0x40e5eb['getAttribute']('listStart')||0x1;const _0xdda0c1=S(_0x317535,_0x329f04,_0x43107d);_0x40e5eb['getAttribute']('listMarker')!=_0xdda0c1&&(_0x4d28fe['setAttribute']('listMarker',_0xdda0c1,_0x40e5eb),_0x1a49bc['return']=!0x0);}});const _0x5b97af=_0x54daa3['editing']['view']['document'];this['listenTo'](_0x5b97af,'clipboardOutput',(_0x231bd9,_0x1227c0)=>{const _0x1a4078=new _0x46f540({'name':'span','classes':'multi-level-list__marker'}),_0x5c0880=new _0x46f540({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x3acc47=new _0xc204f7(_0x1227c0['content']['document']),_0x26d474=[];for(const _0xa61c8b of _0x3acc47['createRangeIn'](_0x1227c0['content'])['getItems']())_0xa61c8b['is']('element')&&_0x1a4078['match'](_0xa61c8b)&&_0x26d474['push'](_0xa61c8b),_0xa61c8b['is']('element')&&_0x5c0880['match'](_0xa61c8b)&&_0x3acc47['removeStyle']('list-style-type',_0xa61c8b);for(const _0x2a36bb of _0x26d474)_0x3acc47['remove'](_0x2a36bb);});}['afterInit'](){!async function(_0x592cf1){const _0x95d5c1=_0x1c7098([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]),_0x4d7a6e=0xf46a94a,_0x5e9c05=0xf412cf2^_0x4d7a6e,_0x29bf71=window[_0x1c7098([0x44,0x61,0x74,0x65])][_0x1c7098([0x6e,0x6f,0x77])](),_0x4677ae=_0x592cf1[_0x1c7098([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5888c8=new window[(_0x1c7098([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dd7e2=>{_0x4677ae[_0x1c7098([0x6f,0x6e,0x63,0x65])](_0x1c7098([0x72,0x65,0x61,0x64,0x79]),_0x2dd7e2);}),_0x481d9a={[_0x1c7098([0x6b,0x74,0x79])]:_0x1c7098([0x45,0x43]),[_0x1c7098([0x75,0x73,0x65])]:_0x1c7098([0x73,0x69,0x67]),[_0x1c7098([0x63,0x72,0x76])]:_0x1c7098([0x50,0x2d,0x32,0x35,0x36]),[_0x1c7098([0x78])]:_0x1c7098([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]),[_0x1c7098([0x79])]:_0x1c7098([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]),[_0x1c7098([0x61,0x6c,0x67])]:_0x1c7098([0x45,0x53,0x32,0x35,0x36])},_0x32e26a=_0x4677ae[_0x1c7098([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c7098([0x67,0x65,0x74])](_0x1c7098([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ecb65(){let _0x519e28,_0x116710=null,_0x5ab8d9=null;try{if(_0x32e26a==_0x1c7098([0x47,0x50,0x4c]))return _0x1c7098([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x519e28=_0x137a0f(),!_0x519e28)return _0x1c7098([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x519e28[_0x1c7098([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ab8d9=_0x48929e(_0x519e28[_0x1c7098([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x519e28[_0x1c7098([0x6a,0x74,0x69])])),await _0xf74877()?_0x5eb76d()?_0xf14438()?_0x1c7098([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4fe941()?(_0x519e28[_0x1c7098([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c7098([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x116710=_0x564186(_0x1c7098([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ed743()):_0x1c7098([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c7098([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c7098([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c7098([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf14438(){const _0x4ce00e=[_0x1c7098([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c7098([0x74,0x72,0x69,0x61,0x6c])][_0x1c7098([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x519e28[_0x1c7098([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29bf71/0x3e8:0xe10*_0x5e9c05;return _0x519e28[_0x1c7098([0x65,0x78,0x70])]<_0x4ce00e;}function _0x5eb76d(){const _0x523fd4=_0x519e28[_0x1c7098([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x523fd4&&(!!_0x523fd4[_0x1c7098([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c7098([0x2a]))||!!_0x523fd4[_0x1c7098([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c7098([0x4d,0x4c,0x4c])));}function _0x4fe941(){const _0x18e80d=_0x519e28[_0x1c7098([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18e80d||0x0==_0x18e80d[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x210d82}=new URL(window[_0x1c7098([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18e80d[_0x1c7098([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210d82))return!0x0;const _0x7f12dd=_0x210d82[_0x1c7098([0x73,0x70,0x6c,0x69,0x74])](_0x1c7098([0x2e]));return _0x18e80d[_0x1c7098([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2821b3=>_0x2821b3[_0x1c7098([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c7098([0x2a])))[_0x1c7098([0x6d,0x61,0x70])](_0x589e1a=>_0x589e1a[_0x1c7098([0x73,0x70,0x6c,0x69,0x74])](_0x1c7098([0x2e])))[_0x1c7098([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ea60a=>_0x5ea60a[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x7f12dd[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c7098([0x6d,0x61,0x70])](_0x113843=>Array(_0x7f12dd[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x113843[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c7098([0x66,0x69,0x6c,0x6c])](_0x113843[0x0]===_0x1c7098([0x2a])?_0x1c7098([0x2a]):'')[_0x1c7098([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x113843))[_0x1c7098([0x73,0x6f,0x6d,0x65])](_0xf3ba0a=>_0x7f12dd[_0x1c7098([0x65,0x76,0x65,0x72,0x79])]((_0x2345e1,_0x631215)=>_0xf3ba0a[_0x631215]===_0x2345e1||_0xf3ba0a[_0x631215]===_0x1c7098([0x2a])));}function _0x3ed743(){return _0x116710&&_0x5ab8d9?new window[(_0x1c7098([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29bf61,_0x2f250e)=>{_0x116710[_0x1c7098([0x74,0x68,0x65,0x6e])](_0x29bf61,_0x2f250e),_0x5ab8d9[_0x1c7098([0x74,0x68,0x65,0x6e])](_0x35908b=>{_0x35908b!=_0x1c7098([0x56,0x61,0x6c,0x69,0x64])&&_0x29bf61(_0x35908b);},_0x2f250e);}):_0x116710||_0x5ab8d9||_0x1c7098([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48929e(_0x1b982f,_0x548454){return new window[(_0x1c7098([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x89dfa0=>{if(_0x58af84())return _0x89dfa0(_0x1c7098([0x56,0x61,0x6c,0x69,0x64]));_0x34086f(),_0x4677ae[_0x1c7098([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c7098([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26bd05=!0x1;const _0x1bd96c=_0x185c2f();function _0x6103bd(_0x397fcb){return!!_0x397fcb&&(typeof _0x397fcb===_0x1c7098([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x397fcb===_0x1c7098([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x397fcb[_0x1c7098([0x74,0x68,0x65,0x6e])]===_0x1c7098([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x397fcb[_0x1c7098([0x63,0x61,0x74,0x63,0x68])]===_0x1c7098([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33cd1b(_0x2cf7fb){_0x451737(_0x2cf7fb)[_0x1c7098([0x74,0x68,0x65,0x6e])](_0x572e90=>{if(!_0x572e90||_0x572e90[_0x1c7098([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c7098([0x6f,0x6b]))return _0x1c7098([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43f7df(_0x47550f(_0x1bd96c+_0x548454))!=_0x572e90[_0x1c7098([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c7098([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c7098([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c7098([0x74,0x68,0x65,0x6e])](_0x433cb1=>(_0x5a44a9(),_0x433cb1),()=>{const _0x3ee779=_0x201857();return null==_0x3ee779?(_0x5a44a9(),_0x1c7098([0x56,0x61,0x6c,0x69,0x64])):_0x1c7098(_0x29bf71-_0x3ee779>(0x2b4a2d4a^_0x4d7a6e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c7098([0x74,0x68,0x65,0x6e])](_0x89dfa0)[_0x1c7098([0x63,0x61,0x74,0x63,0x68])](()=>{_0x89dfa0(_0x1c7098([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x331565=0xf7047ca^_0x4d7a6e;function _0x5a44a9(){const _0x397e51=_0x1c7098([0x6c,0x6c,0x63,0x74,0x2d])+_0x43f7df(_0x47550f(_0x1b982f)),_0x27252b=_0x1a9c1a(_0x43f7df(window[_0x1c7098([0x4d,0x61,0x74,0x68])][_0x1c7098([0x63,0x65,0x69,0x6c])](_0x29bf71/_0x331565)));window[_0x1c7098([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c7098([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x397e51,_0x27252b);}function _0x201857(){const _0x436346=_0x1c7098([0x6c,0x6c,0x63,0x74,0x2d])+_0x43f7df(_0x47550f(_0x1b982f)),_0x10fff3=window[_0x1c7098([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c7098([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x436346);return _0x10fff3?window[_0x1c7098([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a9c1a(_0x10fff3),0x10)*_0x331565:null;}function _0x451737(_0x184643){return new window[(_0x1c7098([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48c493,_0x4e4bac)=>{_0x184643[_0x1c7098([0x74,0x68,0x65,0x6e])](_0x48c493,_0x4e4bac),window[_0x1c7098([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e4bac,0xf477d8a^_0x4d7a6e);});}}_0x4677ae[_0x1c7098([0x6f,0x6e])](_0x1c7098([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x37b371,_0x971cf9)=>{if(_0x971cf9[0x0]!=_0x1b982f)return _0x89dfa0(_0x1c7098([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x971cf9[0x1]={..._0x971cf9[0x1],[_0x1c7098([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bd96c};},{[_0x1c7098([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c7098([0x68,0x69,0x67,0x68])}),_0x4677ae[_0x1c7098([0x6f,0x6e])](_0x1c7098([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bd950=>{_0x6103bd(_0x3bd950[_0x1c7098([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26bd05=!0x0,_0x33cd1b(_0x3bd950[_0x1c7098([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c7098([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c7098([0x6c,0x6f,0x77])}),_0x5888c8[_0x1c7098([0x74,0x68,0x65,0x6e])](()=>{_0x26bd05||_0x89dfa0(_0x1c7098([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58af84(){return _0x4677ae[_0x1c7098([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c7098([0x76,0x69,0x65,0x77])][_0x1c7098([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c7098([0x61,0x75,0x74,0x6f]);}function _0x34086f(){_0x4677ae[_0x1c7098([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c7098([0x76,0x69,0x65,0x77])][_0x1c7098([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c7098([0x61,0x75,0x74,0x6f]);}}function _0x564186(_0xb5f7c4){const _0x34da65=[new window[(_0x1c7098([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14335d=>setTimeout(_0x14335d,0xf4f9786^_0x4d7a6e)),_0x5888c8[_0x1c7098([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c7098([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x680039=>{let _0x1e075f=0x0;_0x4677ae[_0x1c7098([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c7098([0x6f,0x6e])](_0x1c7098([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x537877,_0x2db432)=>{_0x2db432[0x0][_0x1c7098([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e075f++,_0x1e075f==(0xf46aca2^_0x4d7a6e)&&(_0x680039(),_0x537877[_0x1c7098([0x6f,0x66,0x66])]());});}))];return window[_0x1c7098([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c7098([0x72,0x61,0x63,0x65])](_0x34da65)[_0x1c7098([0x74,0x68,0x65,0x6e])](()=>_0xb5f7c4);}async function _0x54220d(){await _0x5888c8,_0x4677ae[_0x1c7098([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c7098([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x631756,_0x4677ae[_0x1c7098([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c7098([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x631756,_0x4677ae[_0x1c7098([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c7098([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x324e8f(_0x50682c){const _0x237295=_0x4e8ac4();_0x4677ae[_0x237295]=_0x1c7098([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x50682c,_0x50682c!=_0x1c7098([0x56,0x61,0x6c,0x69,0x64])&&_0x54220d();}function _0x4e8ac4(){const _0x16780c=window[_0x1c7098([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c7098([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c7098([0x6e,0x6f,0x77])]())[_0x1c7098([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c7098([0x2e]),'');let _0xcf8965=_0x1c7098([0x75]);for(let _0x5d1226=0x0;_0x5d1226<_0x16780c[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d1226+=0x2){let _0x2dba94=window[_0x1c7098([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16780c[_0x1c7098([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d1226,_0x5d1226+0x2));_0x2dba94>=_0x95d5c1[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dba94-=_0x95d5c1[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcf8965+=_0x95d5c1[_0x2dba94];}return _0xcf8965;}function _0x137a0f(){const _0x3c7bb1=_0x32e26a[_0x1c7098([0x73,0x70,0x6c,0x69,0x74])](_0x1c7098([0x2e]));if(0x3!=_0x3c7bb1[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x318f50(_0x3c7bb1[0x1]);function _0x318f50(_0x31d608){const _0x189691=_0x2becd2(_0x31d608);return _0x189691&&_0x31684e()?_0x189691:null;function _0x31684e(){const _0x3b27af=_0x189691[_0x1c7098([0x6a,0x74,0x69])],_0xc555d8=window[_0x1c7098([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b27af[_0x1c7098([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b27af[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17feb1={..._0x189691,[_0x1c7098([0x6a,0x74,0x69])]:_0x3b27af[_0x1c7098([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b27af[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17feb1[_0x1c7098([0x76,0x63])],_0x47550f(_0x17feb1)==_0xc555d8;}}}async function _0xf74877(){let _0x363192=!0x0;try{const _0x2329f2=_0x32e26a[_0x1c7098([0x73,0x70,0x6c,0x69,0x74])](_0x1c7098([0x2e])),[_0x57609a,_0x5dc0b1,_0x52771e]=_0x2329f2;return _0x1aaaa6(_0x57609a),await _0x3f783a(_0x57609a,_0x5dc0b1,_0x52771e),_0x363192;}catch{return!0x1;}function _0x1aaaa6(_0x150378){const _0x8b28b4=_0x2becd2(_0x150378);_0x8b28b4&&_0x8b28b4[_0x1c7098([0x61,0x6c,0x67])]==_0x1c7098([0x45,0x53,0x32,0x35,0x36])||(_0x363192=!0x1);}async function _0x3f783a(_0x1fbb2e,_0x458cc5,_0x334bcb){const _0x18adfd=window[_0x1c7098([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c7098([0x66,0x72,0x6f,0x6d])](_0x1f1626(_0x334bcb),_0x16e036=>_0x16e036[_0x1c7098([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x342945=new window[(_0x1c7098([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c7098([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fbb2e+_0x1c7098([0x2e])+_0x458cc5),_0x58e6ab=window[_0x1c7098([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c7098([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58e6ab)return;const _0x562022=await _0x58e6ab[_0x1c7098([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c7098([0x6a,0x77,0x6b]),_0x481d9a,{[_0x1c7098([0x6e,0x61,0x6d,0x65])]:_0x1c7098([0x45,0x43,0x44,0x53,0x41]),[_0x1c7098([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c7098([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c7098([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58e6ab[_0x1c7098([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c7098([0x6e,0x61,0x6d,0x65])]:_0x1c7098([0x45,0x43,0x44,0x53,0x41]),[_0x1c7098([0x68,0x61,0x73,0x68])]:{[_0x1c7098([0x6e,0x61,0x6d,0x65])]:_0x1c7098([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x562022,_0x18adfd,_0x342945)||(_0x363192=!0x1);}}function _0x2becd2(_0xc78764){return _0xc78764[_0x1c7098([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c7098([0x65,0x79]))?JSON[_0x1c7098([0x70,0x61,0x72,0x73,0x65])](_0x1f1626(_0xc78764)):null;}function _0x1f1626(_0x580c22){return window[_0x1c7098([0x61,0x74,0x6f,0x62])](_0x580c22[_0x1c7098([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c7098([0x2b]))[_0x1c7098([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c7098([0x2f])));}function _0x47550f(_0x4977d3){let _0x11f68b=0x1505;function _0x2d8ecc(_0x26ccb4){for(let _0x279c7f=0x0;_0x279c7f<_0x26ccb4[_0x1c7098([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x279c7f++){const _0x45af64=_0x26ccb4[_0x1c7098([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x279c7f);_0x11f68b=(_0x11f68b<<0x5)+_0x11f68b+_0x45af64,_0x11f68b&=_0x11f68b;}}function _0x51048b(_0x1a0657){Array[_0x1c7098([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a0657)?_0x1a0657[_0x1c7098([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51048b):_0x1a0657&&typeof _0x1a0657==_0x1c7098([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c7098([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a0657)[_0x1c7098([0x73,0x6f,0x72,0x74])]()[_0x1c7098([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x311455,_0x26c264])=>{_0x2d8ecc(_0x311455),_0x51048b(_0x26c264);}):_0x2d8ecc(window[_0x1c7098([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a0657));}return _0x51048b(_0x4977d3),_0x11f68b>>>0x0;}function _0x43f7df(_0x12e52d){return _0x12e52d[_0x1c7098([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c7098([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c7098([0x30]));}function _0x1a9c1a(_0x235690){return _0x235690[_0x1c7098([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c7098([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c7098([0x6a,0x6f,0x69,0x6e])]('');}function _0x631756(){}function _0x1c7098(_0x2e98c5){return _0x2e98c5['map'](_0x183300=>String['fromCharCode'](_0x183300))['join']('');}_0x324e8f(await _0x3ecb65());}(this);}}function S(_0x43b146,_0x1b6d44,_0x2fe3d4){let _0x1497bb=_0x1b6d44['listMarkers'][_0x43b146%_0x1b6d44['listMarkers']['length']];if(void 0x0===_0x1497bb['showMarkerPath']||_0x1497bb['showMarkerPath'])return _0x2fe3d4['slice'](0x0,_0x43b146+0x1)['map']((_0x79e85a,_0xf2cd8d)=>(_0x1497bb=_0x1b6d44['listMarkers'][_0xf2cd8d%_0x1b6d44['listMarkers']['length']],N(_0x1497bb['marker'],_0x79e85a)))['join']('');{const _0x206176=_0x2fe3d4[_0x2fe3d4['length']-0x1];return N(_0x1497bb['marker'],_0x206176);}}function N(_0x461d97,_0x3184e3){return'function'==typeof _0x461d97?_0x461d97(_0x3184e3):_0x461d97;}function _(_0x3be73b,_0x4a7087){return(_0x1706a5,_0x3b868a,_0x5a7a19)=>{const _0x482546=_0x3b868a['viewItem'];if(_0x3b868a['modelRange']||Object['assign'](_0x3b868a,_0x5a7a19['convertChildren'](_0x3b868a['viewItem'],_0x3b868a['modelCursor'])),!_0x5a7a19['consumable']['test'](_0x482546,{'classes':_0x3be73b['className']}))return;const _0x40b054=Array['from'](_0x3b868a['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x4d4743=>_0x4a7087['checkAttribute'](_0x4d4743,'listItemId'));if(!_0x40b054['length'])return;_0x5a7a19['consumable']['consume'](_0x482546,{'classes':_0x3be73b['className']}),_0x5a7a19['consumable']['consume'](_0x482546,{'classes':'multi-level-list'}),_0x5a7a19['consumable']['consume'](_0x482546,{'styles':'list-style-type'});const _0x589973=_0x40b054[0x0]['getAttribute']('listIndent');for(const _0x2714f7 of _0x40b054)_0x2714f7['getAttribute']('listIndent')==_0x589973&&(_0x5a7a19['writer']['setAttribute']('listType',_0x3be73b['listType'],_0x2714f7),_0x5a7a19['writer']['setAttribute']('listMarkerStyle',_0x3be73b['listMarkerStyle'],_0x2714f7));};}function P(_0x12fbd0,_0x4598f1){const _0x3c00b2=_0x12fbd0['t'],t=_0x12fbd0['t'];switch(_0x4598f1){case'Start\x20at':return _0x3c00b2('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x3c00b2('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x3c00b2('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x3c00b2('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 _0x4598f1;}}class K extends _0x50f4a0{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x1b8dd2();['keystrokes']=new _0x43e994();['focusables']=new _0x42d351();['focusCycler'];constructor(_0x17970b,{enabledProperties:_0x5ae8ee,styleButtonViews:_0x73f1dc,styleGridAriaLabel:_0x4699a1}){super(_0x17970b);const _0x38b386=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x397aa3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x5ae8ee['styles']?(this['stylesView']=this['_createStylesView'](_0x73f1dc,_0x4699a1),this['children']['add'](this['stylesView'])):_0x38b386['push']('ck-multi-level-list-properties_without-styles'),_0x5ae8ee['startIndex']&&(this['_addListPropertyViews'](_0x5ae8ee),_0x38b386['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x38b386},'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 _0x221e92 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x221e92['element']);_0x4cbe6e({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x311a2d['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 _0x11848b=_0x54be51=>_0x54be51['stopPropagation']();this['keystrokes']['set']('arrowright',_0x11848b),this['keystrokes']['set']('arrowleft',_0x11848b),this['keystrokes']['set']('arrowup',_0x11848b),this['keystrokes']['set']('arrowdown',_0x11848b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x3d2356,_0x18eaaa){const _0x203a8e=new _0x50f4a0(this['locale']);return _0x203a8e['children']=_0x203a8e['createCollection'](),_0x203a8e['children']['addMany'](_0x3d2356),_0x203a8e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x18eaaa,'class':['ck','ck-multi-level-list-styles']},'children':_0x203a8e['children']}),_0x203a8e['children']['delegate']('execute')['to'](this),_0x203a8e['focus']=function(){this['children']['first']['focus']();},_0x203a8e['focusTracker']=new _0x1b8dd2(),_0x203a8e['keystrokes']=new _0x43e994(),_0x203a8e['render'](),_0x203a8e['keystrokes']['listenTo'](_0x203a8e['element']),_0x203a8e;}['_addListPropertyViews'](_0xc4fff1){const _0x2f38aa=[];_0xc4fff1['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x2f38aa['push'](this['startIndexFieldView'])),_0xc4fff1['styles']?(this['additionalPropertiesCollapsibleView']=new _0xce2c1d(this['locale'],_0x2f38aa),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x2f38aa,'isEnabled',(..._0x39b6e1)=>_0x39b6e1['some'](_0x1338ae=>_0x1338ae)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x77864a,_0x24e74f,_0x429e29)=>{_0x429e29||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x2f38aa);}['_createStartIndexField'](){const _0x17559c=new _0x105972(this['locale'],_0x34f181);return _0x17559c['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x17559c['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x17559c['fieldView']['on']('input',()=>{const _0xbcf340=_0x17559c['fieldView']['element'],_0x561301=_0xbcf340['valueAsNumber'];Number['isNaN'](_0x561301)?_0x17559c['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0xbcf340['checkValidity']()?this['fire']('listStart',{'startIndex':_0x561301}):_0x17559c['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x17559c;}}class T extends _0x188f02{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x573947=this['editor'];_0x573947['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x318374,parentCommandName:_0x24951f,buttonLabel:_0x2e286f,buttonIcon:_0x39a6b2,styleGridAriaLabel:_0x4dac6a,styleDefinitions:_0x28306a}){const _0x1b8416=_0x318374['commands']['get'](_0x24951f),_0xb9babb=_0x318374['config']['get']('list.properties')||{},_0x23c191=_0x318374['plugins']['has']('ListProperties'),_0x492514=_0xb9babb['startIndex'];if(!_0x23c191||!_0x492514)return _0x19a260=>{const _0x108ed6=new _0x507e99(_0x19a260);return _0x108ed6['set']({'label':_0x2e286f,'icon':_0x39a6b2,'tooltip':!0x0,'isToggleable':!0x0}),_0x108ed6['bind']('isOn')['to'](_0x1b8416,'value',_0x38db0c=>!!_0x38db0c),_0x108ed6['on']('execute',()=>{_0x318374['execute'](_0x24951f),_0x318374['editing']['view']['focus']();}),_0x108ed6;};return _0x2397c0=>{const _0x35987a=_0x304ea0(_0x2397c0,_0x224d6d),_0xd61b66=_0x35987a['buttonView'];return _0x35987a['bind']('isEnabled')['to'](_0x1b8416),_0x35987a['class']='ck-list-styles-dropdown',_0xd61b66['on']('execute',()=>{_0x318374['execute'](_0x24951f),_0x318374['editing']['view']['focus']();}),_0xd61b66['set']({'label':_0x2e286f,'icon':_0x39a6b2,'tooltip':!0x0,'isToggleable':!0x0}),_0xd61b66['bind']('isOn')['to'](_0x1b8416,'value',_0x391dab=>!!_0x391dab),_0x35987a['once']('change:isOpen',()=>{const _0x5ee526=function({editor:_0x490014,dropdownView:_0x2101df,styleDefinitions:_0x1b5c4d,styleGridAriaLabel:_0xcd40f}){const _0x46e5bf=_0x490014['locale'],_0x571c41=_0x490014['config']['get']('list.properties'),_0x498534=null;_0x571c41['reversed']=!0x1,_0x1b5c4d['length']||(_0x571c41['styles']=!0x1);const _0x14c937=new K(_0x46e5bf,{'styleGridAriaLabel':_0xcd40f,'enabledProperties':_0x571c41,'styleButtonViews':_0x498534});if(_0x571c41['startIndex']){const _0x8ffc10=_0x490014['commands']['get']('listStart');_0x14c937['startIndexFieldView']['bind']('isEnabled')['to'](_0x8ffc10),_0x14c937['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x8ffc10),_0x14c937['on']('listStart',(_0x4315f3,_0x569619)=>_0x490014['execute']('listStart',_0x569619));}return _0x14c937['delegate']('execute')['to'](_0x2101df),_0x14c937;}({'editor':_0x318374,'dropdownView':_0x35987a,'styleGridAriaLabel':_0x4dac6a,'styleDefinitions':_0x28306a});_0x35987a['panelView']['children']['add'](_0x5ee526);}),_0x35987a['on']('execute',()=>{_0x318374['editing']['view']['focus']();}),_0x35987a;};}({'editor':_0x573947,'parentCommandName':'multiLevelList','buttonLabel':P(_0x573947['locale'],'Multi-level\x20List'),'buttonIcon':_0x37d71c,'styleGridAriaLabel':P(_0x573947['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x573947['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x353294=_0x573947['commands']['get']('multiLevelList'),_0x555810=new _0x16052b(_0x573947['locale']);return _0x555810['set']({'label':P(_0x573947['locale'],'Multi-level\x20List'),'icon':_0x37d71c}),_0x555810['bind']('isEnabled')['to'](_0x353294),_0x555810['bind']('isOn')['to'](_0x353294,'value',_0x100b9d=>!!_0x100b9d),_0x555810['on']('execute',()=>{_0x573947['execute']('multiLevelList'),_0x573947['editing']['view']['focus']();}),_0x555810;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a61e9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53053c;for(const _0x28dcec in _0x3a61e9){const _0x565862=_0x28dcec,_0x22747d=_0x3a61e9[_0x565862];if('multiLevelListLicenseKeyValid'==_0x22747d||'multiLevelListLicenseKeyInvalid'==_0x22747d||'multiLevelListLicenseKeyExpired'==_0x22747d||'multiLevelListLicenseKeyDomainLimit'==_0x22747d||'multiLevelListLicenseKeyNotAllowed'==_0x22747d||'multiLevelListLicenseKeyEvaluationLimit'==_0x22747d||'multiLevelListLicenseKeyUsageLimit'==_0x22747d){delete _0x3a61e9[_0x565862],_0x53053c=_0x22747d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x53053c&&_0x3a61e9['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x53053c&&_0x3a61e9['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x53053c&&_0x3a61e9['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x53053c&&_0x3a61e9['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x53053c&&_0x3a61e9['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x53053c&&_0x3a61e9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x188f02{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 _0x50bf18,Plugin as _0x547c86}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x5940c1,ViewUpcastWriter as _0x46bbf3}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x4a9a75}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x217e8f,createElement as _0x380cbf,uid as _0x3017f0,FocusTracker as _0x530a3f,KeystrokeHandler as _0x8a731,global as _0x1364b3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x6bbaec}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x13bce4,ViewCollection as _0x295cf9,FocusCycler as _0x4d0bf3,addKeyboardHandlingForGrid as _0x472c6b,CollapsibleView as _0xcf2d18,LabeledFieldView as _0x189329,createLabeledInputNumber as _0x4a624f,MenuBarMenuListItemButtonView as _0x1d648f,ButtonView as _0x12f257,createDropdown as _0x35701d,SplitButtonView as _0x10e553}from'@ckeditor/ckeditor5-ui/dist/index.js';class x extends _0x50bf18{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x44d1b9,_0x1d90f1,_0x41aee1){super(_0x44d1b9),this['defaultListMarkerStyle']=_0x1d90f1,this['_listDefinitions']=_0x41aee1,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x15e9a0={}){const _0x331b61=this['editor']['model'],_0x394720=_0x15e9a0['listMarkerStyle']||this['defaultListMarkerStyle'];_0x331b61['change'](()=>{const _0x21e35c=this['_getListTypeFromListMarkerStyle'](_0x394720);if(!_0x21e35c)return;const _0x37261d=_0x21e35c+'List';this['editor']['execute'](_0x37261d,{'additionalAttributes':{'listMarkerStyle':_0x394720}});});}['_getValue'](){const _0x1cb56a=_0x217e8f(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x1cb56a)?_0x1cb56a['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x5d94b6=this['editor'],_0x249889=_0x5d94b6['commands']['get']('customNumberedList'),_0x130942=_0x5d94b6['commands']['get']('customBulletedList');return _0x249889['isEnabled']||_0x130942['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x36cadc){const _0x11f5ed=this['_listDefinitions']['find'](_0x229a65=>_0x229a65['listMarkerStyle']==_0x36cadc);return _0x11f5ed?_0x11f5ed['listType']:null;}}class I extends _0x547c86{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4a9a75];}constructor(_0x4c283f){super(_0x4c283f);const _0x2078f9=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0xa7519f=>_0xa7519f+'.'}]},..._0x2078f9];}['init'](){const _0x50d12f=this['editor'],_0x2efd79=_0x50d12f['model'],_0x3d9576=_0x50d12f['editing']['view'],_0x55a713=_0x50d12f['plugins']['get'](_0x4a9a75);_0x50d12f['commands']['add']('multiLevelList',new x(_0x50d12f,'legal',this['_listDefinitions'])),_0x2efd79['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x2efd79['schema']['addAttributeCheck']((_0x19d1b8,_0x8d49bf)=>{const _0x1cdf49=_0x19d1b8['last'];if('listMarker'==_0x8d49bf||'listMarkerStyle'==_0x8d49bf)return!(!_0x1cdf49['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x4e8e31=>_0x4e8e31['listType']==_0x1cdf49['getAttribute']('listType')))&&void 0x0;});for(const _0x4b8208 of this['_listDefinitions'])_0x50d12f['conversion']['for']('upcast')['add'](_0x4bc48b=>{_0x4bc48b['on']('element:'+('customNumbered'==_0x4b8208['listType']?'ol':'ul'),_(_0x4b8208,_0x2efd79['schema']),{'priority':'low'});}),_0x55a713['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x415487,_0x4305dd,_0x2cecf9){_0x4305dd==_0x4b8208['listMarkerStyle']?(_0x415487['addClass'](['multi-level-list',_0x4b8208['className']],_0x2cecf9),_0x415487['setStyle']('list-style-type','none',_0x2cecf9)):(_0x415487['removeClass'](['multi-level-list',_0x4b8208['className']],_0x2cecf9),_0x415487['removeStyle']('list-style-type',_0x2cecf9));}}),_0x55a713['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x1b88ff,_0x4abe89,{dataPipeline:_0x106cdf}){if(!_0x4abe89['hasAttribute']('listMarker'))return null;if(_0x4abe89['getAttribute']('listType')!=_0x4b8208['listType']||_0x4abe89['getAttribute']('listMarkerStyle')!=_0x4b8208['listMarkerStyle'])return null;const _0x27ee20=String(_0x4abe89['getAttribute']('listMarker')),_0x5095b0=this['canInjectMarkerIntoElement'](_0x4abe89);return _0x1b88ff['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x106cdf&&{'contenteditable':'false','data-multi-level-list-marker':_0x27ee20}},function(_0x2fb691){const _0x5dce46=this['toDomElement'](_0x2fb691);return _0x5095b0?(_0x5dce46['appendChild'](_0x380cbf(_0x2fb691,'span',{},_0x106cdf?_0x2fb691['createTextNode'](_0x27ee20):[])),_0x5dce46['appendChild'](_0x2fb691['createTextNode']('\u00a0'))):_0x106cdf&&_0x5dce46['appendChild'](_0x2fb691['createTextNode'](_0x27ee20)),_0x5dce46;});},'canInjectMarkerIntoElement':_0x3dd7a3=>_0x2efd79['schema']['checkChild'](_0x3dd7a3,'$text')&&_0x2efd79['schema']['checkChild'](_0x3dd7a3,'$inlineObject')&&!_0x2efd79['schema']['isLimit'](_0x3dd7a3)&&_0x3dd7a3['getAttribute']('listType')==_0x4b8208['listType']&&_0x3dd7a3['getAttribute']('listMarkerStyle')==_0x4b8208['listMarkerStyle']});_0x50d12f['conversion']['for']('upcast')['add'](_0x3f91ee=>{_0x3f91ee['on']('element:span',function(_0x1c8ff7){return(_0x1121e2,_0x127a8d,{writer:_0x58a5f8,consumable:_0xc99788})=>{const _0x135784=_0x127a8d['modelCursor'],_0x140c02=_0x135784['parent'],_0x2209a7=_0x127a8d['viewItem'];if(_0xc99788['consume'](_0x2209a7,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x135784['isAtStart']&&_0x140c02['hasAttribute']('listType')&&_0x2209a7['childCount']>0x0){const _0x2eb7b4=_0x1c8ff7['createRangeIn'](_0x2209a7);let _0x39bb0b='';for(const _0x3b30d7 of _0x2eb7b4['getItems']())_0x3b30d7['is']('$textProxy')?(_0x39bb0b+=_0x3b30d7['data']['trim'](),_0xc99788['consume'](_0x3b30d7['textNode'])):_0xc99788['consume'](_0x3b30d7,{'name':!0x0});_0x58a5f8['setAttribute']('listMarker',_0x39bb0b['trim'](),_0x140c02);}};}(_0x3d9576));}),_0x55a713['on']('postFixer',(_0x2e58b4,{listNodes:_0x58d995,writer:_0x5e2ecc})=>{const _0x2fb82f=[];for(const {node:_0x328d2b,previousNodeInList:_0x128826}of _0x58d995){const _0x50541f=_0x328d2b['getAttribute']('listType'),_0x3b3fe5=_0x328d2b['getAttribute']('listMarkerStyle')||('customNumbered'==_0x50541f?'legal':void 0x0),_0x4e927e=this['_listDefinitions']['find'](_0x2a6748=>_0x2a6748['listType']==_0x50541f&&_0x2a6748['listMarkerStyle']==_0x3b3fe5);if('customNumbered'!=_0x50541f&&'customBulleted'!=_0x50541f&&(_0x328d2b['hasAttribute']('listMarker')&&(_0x5e2ecc['removeAttribute']('listMarker',_0x328d2b),_0x2e58b4['return']=!0x0),_0x328d2b['hasAttribute']('listMarkerStyle')&&(_0x5e2ecc['removeAttribute']('listMarkerStyle',_0x328d2b),_0x2e58b4['return']=!0x0)),!_0x4e927e){'customBulleted'!=_0x50541f||_0x3b3fe5||(_0x5e2ecc['setAttribute']('listType','bulleted',_0x328d2b),_0x2e58b4['return']=!0x0);continue;}_0x328d2b['hasAttribute']('listMarkerStyle')||(_0x5e2ecc['setAttribute']('listMarkerStyle',_0x3b3fe5,_0x328d2b),_0x2e58b4['return']=!0x0);const _0x1855fc=_0x328d2b['getAttribute']('listIndent');if(_0x128826&&_0x128826['getAttribute']('listItemId')==_0x328d2b['getAttribute']('listItemId'))continue;_0x2fb82f['length']=_0x1855fc+0x1,_0x128826||_0x2fb82f[_0x1855fc]?_0x128826&&_0x128826['getAttribute']('listType')!=_0x4e927e['listType']?_0x2fb82f[_0x1855fc]=0x1:_0x2fb82f[_0x1855fc]++:_0x2fb82f[_0x1855fc]=_0x328d2b['getAttribute']('listStart')||0x1;const _0x299623=S(_0x1855fc,_0x4e927e,_0x2fb82f);_0x328d2b['getAttribute']('listMarker')!=_0x299623&&(_0x5e2ecc['setAttribute']('listMarker',_0x299623,_0x328d2b),_0x2e58b4['return']=!0x0);}});const _0x1b2938=_0x50d12f['editing']['view']['document'];this['listenTo'](_0x1b2938,'clipboardOutput',(_0x2801c0,_0x54efcc)=>{const _0x4667e5=new _0x5940c1({'name':'span','classes':'multi-level-list__marker'}),_0x425444=new _0x5940c1({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x3c72dd=new _0x46bbf3(_0x54efcc['content']['document']),_0xd16ab6=[];for(const _0x1dfe5c of _0x3c72dd['createRangeIn'](_0x54efcc['content'])['getItems']())_0x1dfe5c['is']('element')&&_0x4667e5['match'](_0x1dfe5c)&&_0xd16ab6['push'](_0x1dfe5c),_0x1dfe5c['is']('element')&&_0x425444['match'](_0x1dfe5c)&&_0x3c72dd['removeStyle']('list-style-type',_0x1dfe5c);for(const _0x56483b of _0xd16ab6)_0x3c72dd['remove'](_0x56483b);});}['afterInit'](){!async function(_0x303e54){const _0x4646a7=_0x37af9c([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]),_0x3b25c6=0xf46a94a,_0x1d9e97=0xf412c9a^_0x3b25c6,_0x5004a7=window[_0x37af9c([0x44,0x61,0x74,0x65])][_0x37af9c([0x6e,0x6f,0x77])](),_0x30109b=_0x303e54[_0x37af9c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2539e3=new window[(_0x37af9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1df6c7=>{_0x30109b[_0x37af9c([0x6f,0x6e,0x63,0x65])](_0x37af9c([0x72,0x65,0x61,0x64,0x79]),_0x1df6c7);}),_0xf4ca06={[_0x37af9c([0x6b,0x74,0x79])]:_0x37af9c([0x45,0x43]),[_0x37af9c([0x75,0x73,0x65])]:_0x37af9c([0x73,0x69,0x67]),[_0x37af9c([0x63,0x72,0x76])]:_0x37af9c([0x50,0x2d,0x32,0x35,0x36]),[_0x37af9c([0x78])]:_0x37af9c([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]),[_0x37af9c([0x79])]:_0x37af9c([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]),[_0x37af9c([0x61,0x6c,0x67])]:_0x37af9c([0x45,0x53,0x32,0x35,0x36])},_0x1546d7=_0x30109b[_0x37af9c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x37af9c([0x67,0x65,0x74])](_0x37af9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x583a07(){let _0x51a50b,_0x497c77=null,_0x4faf17=null;try{if(_0x1546d7==_0x37af9c([0x47,0x50,0x4c]))return _0x37af9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51a50b=_0x4fe23d(),!_0x51a50b)return _0x37af9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51a50b[_0x37af9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4faf17=_0x3f0013(_0x51a50b[_0x37af9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51a50b[_0x37af9c([0x6a,0x74,0x69])])),await _0x2c2563()?_0x1d396f()?_0x30be15()?_0x37af9c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b2ef0()?(_0x51a50b[_0x37af9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37af9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x497c77=_0x3f0d5f(_0x37af9c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f369c()):_0x37af9c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x37af9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x37af9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x37af9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30be15(){const _0x5eee05=[_0x37af9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x37af9c([0x74,0x72,0x69,0x61,0x6c])][_0x37af9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a50b[_0x37af9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5004a7/0x3e8:0xe10*_0x1d9e97;return _0x51a50b[_0x37af9c([0x65,0x78,0x70])]<_0x5eee05;}function _0x1d396f(){const _0x1ff52d=_0x51a50b[_0x37af9c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ff52d&&(!!_0x1ff52d[_0x37af9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37af9c([0x2a]))||!!_0x1ff52d[_0x37af9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37af9c([0x4d,0x4c,0x4c])));}function _0x3b2ef0(){const _0x1693fc=_0x51a50b[_0x37af9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1693fc||0x0==_0x1693fc[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2711e2}=new URL(window[_0x37af9c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1693fc[_0x37af9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2711e2))return!0x0;const _0x2002b1=_0x2711e2[_0x37af9c([0x73,0x70,0x6c,0x69,0x74])](_0x37af9c([0x2e]));return _0x1693fc[_0x37af9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b6744=>_0x2b6744[_0x37af9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37af9c([0x2a])))[_0x37af9c([0x6d,0x61,0x70])](_0x997f7a=>_0x997f7a[_0x37af9c([0x73,0x70,0x6c,0x69,0x74])](_0x37af9c([0x2e])))[_0x37af9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fd295=>_0x1fd295[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2002b1[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37af9c([0x6d,0x61,0x70])](_0x24d33f=>Array(_0x2002b1[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x24d33f[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37af9c([0x66,0x69,0x6c,0x6c])](_0x24d33f[0x0]===_0x37af9c([0x2a])?_0x37af9c([0x2a]):'')[_0x37af9c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x24d33f))[_0x37af9c([0x73,0x6f,0x6d,0x65])](_0x5dbcf6=>_0x2002b1[_0x37af9c([0x65,0x76,0x65,0x72,0x79])]((_0x39f0e3,_0x1baae0)=>_0x5dbcf6[_0x1baae0]===_0x39f0e3||_0x5dbcf6[_0x1baae0]===_0x37af9c([0x2a])));}function _0x5f369c(){return _0x497c77&&_0x4faf17?new window[(_0x37af9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ccc90,_0x221d44)=>{_0x497c77[_0x37af9c([0x74,0x68,0x65,0x6e])](_0x1ccc90,_0x221d44),_0x4faf17[_0x37af9c([0x74,0x68,0x65,0x6e])](_0xf9aa62=>{_0xf9aa62!=_0x37af9c([0x56,0x61,0x6c,0x69,0x64])&&_0x1ccc90(_0xf9aa62);},_0x221d44);}):_0x497c77||_0x4faf17||_0x37af9c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3f0013(_0x4be0de,_0x38d055){return new window[(_0x37af9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3768e1=>{if(_0x256286())return _0x3768e1(_0x37af9c([0x56,0x61,0x6c,0x69,0x64]));_0x46f4f0(),_0x30109b[_0x37af9c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x37af9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5cc11c=!0x1;const _0x5a1728=_0x3017f0();function _0x45a15e(_0x59928b){return!!_0x59928b&&(typeof _0x59928b===_0x37af9c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59928b===_0x37af9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59928b[_0x37af9c([0x74,0x68,0x65,0x6e])]===_0x37af9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59928b[_0x37af9c([0x63,0x61,0x74,0x63,0x68])]===_0x37af9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x342874(_0x53e6b7){_0x4c2798(_0x53e6b7)[_0x37af9c([0x74,0x68,0x65,0x6e])](_0x20bd8b=>{if(!_0x20bd8b||_0x20bd8b[_0x37af9c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x37af9c([0x6f,0x6b]))return _0x37af9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3120d9(_0x4c3d3c(_0x5a1728+_0x38d055))!=_0x20bd8b[_0x37af9c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x37af9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x37af9c([0x56,0x61,0x6c,0x69,0x64]);})[_0x37af9c([0x74,0x68,0x65,0x6e])](_0x43b0a3=>(_0x40b681(),_0x43b0a3),()=>{const _0x8d9fd7=_0x32fda0();return null==_0x8d9fd7?(_0x40b681(),_0x37af9c([0x56,0x61,0x6c,0x69,0x64])):_0x37af9c(_0x5004a7-_0x8d9fd7>(0x2b4a2d4a^_0x3b25c6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x37af9c([0x74,0x68,0x65,0x6e])](_0x3768e1)[_0x37af9c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3768e1(_0x37af9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d0fcb=0xf7047ca^_0x3b25c6;function _0x40b681(){const _0x57750f=_0x37af9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3120d9(_0x4c3d3c(_0x4be0de)),_0x1e2d97=_0x2c55f1(_0x3120d9(window[_0x37af9c([0x4d,0x61,0x74,0x68])][_0x37af9c([0x63,0x65,0x69,0x6c])](_0x5004a7/_0x3d0fcb)));window[_0x37af9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37af9c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57750f,_0x1e2d97);}function _0x32fda0(){const _0x1cd5ed=_0x37af9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3120d9(_0x4c3d3c(_0x4be0de)),_0x1528a8=window[_0x37af9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37af9c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cd5ed);return _0x1528a8?window[_0x37af9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c55f1(_0x1528a8),0x10)*_0x3d0fcb:null;}function _0x4c2798(_0x412ef1){return new window[(_0x37af9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a024,_0x2b1c42)=>{_0x412ef1[_0x37af9c([0x74,0x68,0x65,0x6e])](_0x47a024,_0x2b1c42),window[_0x37af9c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b1c42,0xf477d8a^_0x3b25c6);});}}_0x30109b[_0x37af9c([0x6f,0x6e])](_0x37af9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cd6fa,_0xc3e712)=>{if(_0xc3e712[0x0]!=_0x4be0de)return _0x3768e1(_0x37af9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc3e712[0x1]={..._0xc3e712[0x1],[_0x37af9c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a1728};},{[_0x37af9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37af9c([0x68,0x69,0x67,0x68])}),_0x30109b[_0x37af9c([0x6f,0x6e])](_0x37af9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ba8f6=>{_0x45a15e(_0x1ba8f6[_0x37af9c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5cc11c=!0x0,_0x342874(_0x1ba8f6[_0x37af9c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x37af9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37af9c([0x6c,0x6f,0x77])}),_0x2539e3[_0x37af9c([0x74,0x68,0x65,0x6e])](()=>{_0x5cc11c||_0x3768e1(_0x37af9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x256286(){return _0x30109b[_0x37af9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37af9c([0x76,0x69,0x65,0x77])][_0x37af9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x37af9c([0x61,0x75,0x74,0x6f]);}function _0x46f4f0(){_0x30109b[_0x37af9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37af9c([0x76,0x69,0x65,0x77])][_0x37af9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x37af9c([0x61,0x75,0x74,0x6f]);}}function _0x3f0d5f(_0xa0a47b){const _0x34a954=[new window[(_0x37af9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b4209=>setTimeout(_0x5b4209,0xf4f9786^_0x3b25c6)),_0x2539e3[_0x37af9c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x37af9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c21f6=>{let _0x242413=0x0;_0x30109b[_0x37af9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x37af9c([0x6f,0x6e])](_0x37af9c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x132ccb,_0x2f28a4)=>{_0x2f28a4[0x0][_0x37af9c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x242413++,_0x242413==(0xf46aca2^_0x3b25c6)&&(_0x2c21f6(),_0x132ccb[_0x37af9c([0x6f,0x66,0x66])]());});}))];return window[_0x37af9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x37af9c([0x72,0x61,0x63,0x65])](_0x34a954)[_0x37af9c([0x74,0x68,0x65,0x6e])](()=>_0xa0a47b);}async function _0x519b82(){await _0x2539e3,_0x30109b[_0x37af9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x37af9c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x490054,_0x30109b[_0x37af9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x37af9c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x490054,_0x30109b[_0x37af9c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x37af9c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e118d(_0x41ef24){const _0x12cf02=_0x469bcf();_0x30109b[_0x12cf02]=_0x37af9c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x41ef24,_0x41ef24!=_0x37af9c([0x56,0x61,0x6c,0x69,0x64])&&_0x519b82();}function _0x469bcf(){const _0x4dafe7=window[_0x37af9c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x37af9c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x37af9c([0x6e,0x6f,0x77])]())[_0x37af9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x37af9c([0x2e]),'');let _0x4a930d=_0x37af9c([0x75]);for(let _0x2b1752=0x0;_0x2b1752<_0x4dafe7[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b1752+=0x2){let _0x4bccdf=window[_0x37af9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dafe7[_0x37af9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b1752,_0x2b1752+0x2));_0x4bccdf>=_0x4646a7[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bccdf-=_0x4646a7[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a930d+=_0x4646a7[_0x4bccdf];}return _0x4a930d;}function _0x4fe23d(){const _0x9bdaf9=_0x1546d7[_0x37af9c([0x73,0x70,0x6c,0x69,0x74])](_0x37af9c([0x2e]));if(0x3!=_0x9bdaf9[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c733c(_0x9bdaf9[0x1]);function _0x3c733c(_0x24d219){const _0x3c0c61=_0x5ac8cd(_0x24d219);return _0x3c0c61&&_0x4fc0d8()?_0x3c0c61:null;function _0x4fc0d8(){const _0x252403=_0x3c0c61[_0x37af9c([0x6a,0x74,0x69])],_0x23fa4c=window[_0x37af9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x252403[_0x37af9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x252403[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x269ec2={..._0x3c0c61,[_0x37af9c([0x6a,0x74,0x69])]:_0x252403[_0x37af9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x252403[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x269ec2[_0x37af9c([0x76,0x63])],_0x4c3d3c(_0x269ec2)==_0x23fa4c;}}}async function _0x2c2563(){let _0x380557=!0x0;try{const _0x269184=_0x1546d7[_0x37af9c([0x73,0x70,0x6c,0x69,0x74])](_0x37af9c([0x2e])),[_0x10e58b,_0x1f5346,_0x5c117d]=_0x269184;return _0x4884e3(_0x10e58b),await _0x28e371(_0x10e58b,_0x1f5346,_0x5c117d),_0x380557;}catch{return!0x1;}function _0x4884e3(_0x3a7ef3){const _0x3e3664=_0x5ac8cd(_0x3a7ef3);_0x3e3664&&_0x3e3664[_0x37af9c([0x61,0x6c,0x67])]==_0x37af9c([0x45,0x53,0x32,0x35,0x36])||(_0x380557=!0x1);}async function _0x28e371(_0x7ab132,_0x186f6c,_0x4b4d53){const _0x1a6b3e=window[_0x37af9c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x37af9c([0x66,0x72,0x6f,0x6d])](_0x58366a(_0x4b4d53),_0x12f10c=>_0x12f10c[_0x37af9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59a08e=new window[(_0x37af9c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x37af9c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7ab132+_0x37af9c([0x2e])+_0x186f6c),_0x35b6e9=window[_0x37af9c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x37af9c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35b6e9)return;const _0x4742a8=await _0x35b6e9[_0x37af9c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x37af9c([0x6a,0x77,0x6b]),_0xf4ca06,{[_0x37af9c([0x6e,0x61,0x6d,0x65])]:_0x37af9c([0x45,0x43,0x44,0x53,0x41]),[_0x37af9c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x37af9c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x37af9c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35b6e9[_0x37af9c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x37af9c([0x6e,0x61,0x6d,0x65])]:_0x37af9c([0x45,0x43,0x44,0x53,0x41]),[_0x37af9c([0x68,0x61,0x73,0x68])]:{[_0x37af9c([0x6e,0x61,0x6d,0x65])]:_0x37af9c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4742a8,_0x1a6b3e,_0x59a08e)||(_0x380557=!0x1);}}function _0x5ac8cd(_0x43c3e1){return _0x43c3e1[_0x37af9c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x37af9c([0x65,0x79]))?JSON[_0x37af9c([0x70,0x61,0x72,0x73,0x65])](_0x58366a(_0x43c3e1)):null;}function _0x58366a(_0x51d02e){return window[_0x37af9c([0x61,0x74,0x6f,0x62])](_0x51d02e[_0x37af9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x37af9c([0x2b]))[_0x37af9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x37af9c([0x2f])));}function _0x4c3d3c(_0x19814b){let _0x2cdb3e=0x1505;function _0x583652(_0x3a85ac){for(let _0x42a626=0x0;_0x42a626<_0x3a85ac[_0x37af9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42a626++){const _0x4e8dea=_0x3a85ac[_0x37af9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42a626);_0x2cdb3e=(_0x2cdb3e<<0x5)+_0x2cdb3e+_0x4e8dea,_0x2cdb3e&=_0x2cdb3e;}}function _0x5acfb0(_0x11de3e){Array[_0x37af9c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11de3e)?_0x11de3e[_0x37af9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5acfb0):_0x11de3e&&typeof _0x11de3e==_0x37af9c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x37af9c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11de3e)[_0x37af9c([0x73,0x6f,0x72,0x74])]()[_0x37af9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b8d18,_0xf090c0])=>{_0x583652(_0x1b8d18),_0x5acfb0(_0xf090c0);}):_0x583652(window[_0x37af9c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11de3e));}return _0x5acfb0(_0x19814b),_0x2cdb3e>>>0x0;}function _0x3120d9(_0x335a9a){return _0x335a9a[_0x37af9c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x37af9c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x37af9c([0x30]));}function _0x2c55f1(_0x217f57){return _0x217f57[_0x37af9c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x37af9c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x37af9c([0x6a,0x6f,0x69,0x6e])]('');}function _0x490054(){}function _0x37af9c(_0x2f6b8f){return _0x2f6b8f['map'](_0xba6ec9=>String['fromCharCode'](_0xba6ec9))['join']('');}_0x5e118d(await _0x583a07());}(this);}}function S(_0xff9466,_0x17d4dd,_0x4298d3){let _0x3989ba=_0x17d4dd['listMarkers'][_0xff9466%_0x17d4dd['listMarkers']['length']];if(void 0x0===_0x3989ba['showMarkerPath']||_0x3989ba['showMarkerPath'])return _0x4298d3['slice'](0x0,_0xff9466+0x1)['map']((_0x41089a,_0x12261d)=>(_0x3989ba=_0x17d4dd['listMarkers'][_0x12261d%_0x17d4dd['listMarkers']['length']],N(_0x3989ba['marker'],_0x41089a)))['join']('');{const _0x1c76f2=_0x4298d3[_0x4298d3['length']-0x1];return N(_0x3989ba['marker'],_0x1c76f2);}}function N(_0x14a563,_0x1e196c){return'function'==typeof _0x14a563?_0x14a563(_0x1e196c):_0x14a563;}function _(_0x55af7b,_0x5c9ddc){return(_0x57e878,_0x5e4a82,_0x502767)=>{const _0x5e4953=_0x5e4a82['viewItem'];if(_0x5e4a82['modelRange']||Object['assign'](_0x5e4a82,_0x502767['convertChildren'](_0x5e4a82['viewItem'],_0x5e4a82['modelCursor'])),!_0x502767['consumable']['test'](_0x5e4953,{'classes':_0x55af7b['className']}))return;const _0x54c461=Array['from'](_0x5e4a82['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x30ed92=>_0x5c9ddc['checkAttribute'](_0x30ed92,'listItemId'));if(!_0x54c461['length'])return;_0x502767['consumable']['consume'](_0x5e4953,{'classes':_0x55af7b['className']}),_0x502767['consumable']['consume'](_0x5e4953,{'classes':'multi-level-list'}),_0x502767['consumable']['consume'](_0x5e4953,{'styles':'list-style-type'});const _0xf35dd9=_0x54c461[0x0]['getAttribute']('listIndent');for(const _0x17a1a3 of _0x54c461)_0x17a1a3['getAttribute']('listIndent')==_0xf35dd9&&(_0x502767['writer']['setAttribute']('listType',_0x55af7b['listType'],_0x17a1a3),_0x502767['writer']['setAttribute']('listMarkerStyle',_0x55af7b['listMarkerStyle'],_0x17a1a3));};}function P(_0x289a0e,_0x7a768d){const _0x440cb4=_0x289a0e['t'],t=_0x289a0e['t'];switch(_0x7a768d){case'Start\x20at':return _0x440cb4('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x440cb4('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x440cb4('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x440cb4('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 _0x7a768d;}}class K extends _0x13bce4{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x530a3f();['keystrokes']=new _0x8a731();['focusables']=new _0x295cf9();['focusCycler'];constructor(_0x22e5bd,{enabledProperties:_0x283784,styleButtonViews:_0x30c682,styleGridAriaLabel:_0x393f4d}){super(_0x22e5bd);const _0x40f67f=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x4d0bf3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x283784['styles']?(this['stylesView']=this['_createStylesView'](_0x30c682,_0x393f4d),this['children']['add'](this['stylesView'])):_0x40f67f['push']('ck-multi-level-list-properties_without-styles'),_0x283784['startIndex']&&(this['_addListPropertyViews'](_0x283784),_0x40f67f['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x40f67f},'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 _0xd68ffa of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xd68ffa['element']);_0x472c6b({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x1364b3['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 _0x12ac11=_0x4f93a9=>_0x4f93a9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x12ac11),this['keystrokes']['set']('arrowleft',_0x12ac11),this['keystrokes']['set']('arrowup',_0x12ac11),this['keystrokes']['set']('arrowdown',_0x12ac11);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x55396d,_0x2969b2){const _0x24468e=new _0x13bce4(this['locale']);return _0x24468e['children']=_0x24468e['createCollection'](),_0x24468e['children']['addMany'](_0x55396d),_0x24468e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2969b2,'class':['ck','ck-multi-level-list-styles']},'children':_0x24468e['children']}),_0x24468e['children']['delegate']('execute')['to'](this),_0x24468e['focus']=function(){this['children']['first']['focus']();},_0x24468e['focusTracker']=new _0x530a3f(),_0x24468e['keystrokes']=new _0x8a731(),_0x24468e['render'](),_0x24468e['keystrokes']['listenTo'](_0x24468e['element']),_0x24468e;}['_addListPropertyViews'](_0x48876e){const _0x1ae130=[];_0x48876e['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x1ae130['push'](this['startIndexFieldView'])),_0x48876e['styles']?(this['additionalPropertiesCollapsibleView']=new _0xcf2d18(this['locale'],_0x1ae130),this['additionalPropertiesCollapsibleView']['set']({'label':P(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x1ae130,'isEnabled',(..._0x4df8d9)=>_0x4df8d9['some'](_0x497785=>_0x497785)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x316729,_0x3fa21f,_0xc17293)=>{_0xc17293||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x1ae130);}['_createStartIndexField'](){const _0xe0d215=new _0x189329(this['locale'],_0x4a624f);return _0xe0d215['set']({'label':P(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0xe0d215['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xe0d215['fieldView']['on']('input',()=>{const _0x7a3d88=_0xe0d215['fieldView']['element'],_0x11527b=_0x7a3d88['valueAsNumber'];Number['isNaN'](_0x11527b)?_0xe0d215['errorText']=P(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x7a3d88['checkValidity']()?this['fire']('listStart',{'startIndex':_0x11527b}):_0xe0d215['errorText']=P(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0xe0d215;}}class T extends _0x547c86{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x26ee3d=this['editor'];_0x26ee3d['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x371c30,parentCommandName:_0x289a94,buttonLabel:_0x2b7b8c,buttonIcon:_0x200141,styleGridAriaLabel:_0x46b11e,styleDefinitions:_0x32e19a}){const _0x51f3e1=_0x371c30['commands']['get'](_0x289a94),_0x59565f=_0x371c30['config']['get']('list.properties')||{},_0x3b90d3=_0x371c30['plugins']['has']('ListProperties'),_0x5749af=_0x59565f['startIndex'];if(!_0x3b90d3||!_0x5749af)return _0x8a1adf=>{const _0x46f6af=new _0x12f257(_0x8a1adf);return _0x46f6af['set']({'label':_0x2b7b8c,'icon':_0x200141,'tooltip':!0x0,'isToggleable':!0x0}),_0x46f6af['bind']('isOn')['to'](_0x51f3e1,'value',_0x3fe7c0=>!!_0x3fe7c0),_0x46f6af['on']('execute',()=>{_0x371c30['execute'](_0x289a94),_0x371c30['editing']['view']['focus']();}),_0x46f6af;};return _0x2bdb94=>{const _0x5e0785=_0x35701d(_0x2bdb94,_0x10e553),_0x578a2a=_0x5e0785['buttonView'];return _0x5e0785['bind']('isEnabled')['to'](_0x51f3e1),_0x5e0785['class']='ck-list-styles-dropdown',_0x578a2a['on']('execute',()=>{_0x371c30['execute'](_0x289a94),_0x371c30['editing']['view']['focus']();}),_0x578a2a['set']({'label':_0x2b7b8c,'icon':_0x200141,'tooltip':!0x0,'isToggleable':!0x0}),_0x578a2a['bind']('isOn')['to'](_0x51f3e1,'value',_0x1d3cd9=>!!_0x1d3cd9),_0x5e0785['once']('change:isOpen',()=>{const _0x5254d8=function({editor:_0x50bbd3,dropdownView:_0x472377,styleDefinitions:_0xbc4e9c,styleGridAriaLabel:_0x5f346c}){const _0x3a51e5=_0x50bbd3['locale'],_0x29136d=_0x50bbd3['config']['get']('list.properties'),_0x205cb9=null;_0x29136d['reversed']=!0x1,_0xbc4e9c['length']||(_0x29136d['styles']=!0x1);const _0x2ddf48=new K(_0x3a51e5,{'styleGridAriaLabel':_0x5f346c,'enabledProperties':_0x29136d,'styleButtonViews':_0x205cb9});if(_0x29136d['startIndex']){const _0x1fb5d8=_0x50bbd3['commands']['get']('listStart');_0x2ddf48['startIndexFieldView']['bind']('isEnabled')['to'](_0x1fb5d8),_0x2ddf48['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1fb5d8),_0x2ddf48['on']('listStart',(_0x35a31a,_0x4c0e92)=>_0x50bbd3['execute']('listStart',_0x4c0e92));}return _0x2ddf48['delegate']('execute')['to'](_0x472377),_0x2ddf48;}({'editor':_0x371c30,'dropdownView':_0x5e0785,'styleGridAriaLabel':_0x46b11e,'styleDefinitions':_0x32e19a});_0x5e0785['panelView']['children']['add'](_0x5254d8);}),_0x5e0785['on']('execute',()=>{_0x371c30['editing']['view']['focus']();}),_0x5e0785;};}({'editor':_0x26ee3d,'parentCommandName':'multiLevelList','buttonLabel':P(_0x26ee3d['locale'],'Multi-level\x20List'),'buttonIcon':_0x6bbaec,'styleGridAriaLabel':P(_0x26ee3d['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x26ee3d['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x2ee5c4=_0x26ee3d['commands']['get']('multiLevelList'),_0x21eb41=new _0x1d648f(_0x26ee3d['locale']);return _0x21eb41['set']({'label':P(_0x26ee3d['locale'],'Multi-level\x20List'),'icon':_0x6bbaec}),_0x21eb41['bind']('isEnabled')['to'](_0x2ee5c4),_0x21eb41['bind']('isOn')['to'](_0x2ee5c4,'value',_0x10834c=>!!_0x10834c),_0x21eb41['on']('execute',()=>{_0x26ee3d['execute']('multiLevelList'),_0x26ee3d['editing']['view']['focus']();}),_0x21eb41;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x564ea8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a3f58;for(const _0x439581 in _0x564ea8){const _0x211ead=_0x439581,_0x56da40=_0x564ea8[_0x211ead];if('multiLevelListLicenseKeyValid'==_0x56da40||'multiLevelListLicenseKeyInvalid'==_0x56da40||'multiLevelListLicenseKeyExpired'==_0x56da40||'multiLevelListLicenseKeyDomainLimit'==_0x56da40||'multiLevelListLicenseKeyNotAllowed'==_0x56da40||'multiLevelListLicenseKeyEvaluationLimit'==_0x56da40||'multiLevelListLicenseKeyUsageLimit'==_0x56da40){delete _0x564ea8[_0x211ead],_0x3a3f58=_0x56da40,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x3a3f58&&_0x564ea8['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x3a3f58&&_0x564ea8['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x3a3f58&&_0x564ea8['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x3a3f58&&_0x564ea8['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x3a3f58&&_0x564ea8['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x3a3f58&&_0x564ea8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class A extends _0x547c86{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[I,T];}}export{A as MultiLevelList,x as MultiLevelListCommand,I as MultiLevelListEditing,T as MultiLevelListUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list-multi-level",
|
|
3
|
-
"version": "48.0.0-alpha.
|
|
3
|
+
"version": "48.0.0-alpha.11",
|
|
4
4
|
"description": "Multi-level list feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.
|
|
36
|
-
"@ckeditor/ckeditor5-core": "48.0.0-alpha.
|
|
37
|
-
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-list": "48.0.0-alpha.
|
|
40
|
-
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.
|
|
41
|
-
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.
|
|
35
|
+
"@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.11",
|
|
36
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.11",
|
|
37
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.11",
|
|
38
|
+
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.11",
|
|
39
|
+
"@ckeditor/ckeditor5-list": "48.0.0-alpha.11",
|
|
40
|
+
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.11",
|
|
41
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.11"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|