@ckeditor/ckeditor5-list-multi-level 48.2.0-alpha.4 → 48.2.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x597392,Plugin as _0x502acf}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x522deb,ViewUpcastWriter as _0x247e2b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x475dc3,_isFirstBlockOfListItem as _0x1f52fe}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x5e0b00,createElement as _0x4e0556,uid as _0x454d96,FocusTracker as _0x3f3235,KeystrokeHandler as _0xfa3ba4,global as _0x2ba46e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x5a5ee3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x5b1584,ViewCollection as _0x151297,FocusCycler as _0x37b0b4,addKeyboardHandlingForGrid as _0x158c5c,CollapsibleView as _0x4bf5aa,LabeledFieldView as _0x5b376e,createLabeledInputNumber as _0x1689f4,MenuBarMenuListItemButtonView as _0x9dcdf0,ButtonView as _0x371ea6,createDropdown as _0x5a9c8e,SplitButtonView as _0x33955d}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x597392{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x4964ce,_0x33c587,_0x40e6cc){super(_0x4964ce),this['defaultListMarkerStyle']=_0x33c587,this['_listDefinitions']=_0x40e6cc,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x569880={}){const _0x56a742=this['editor']['model'],_0x29b57a=_0x569880['listMarkerStyle']||this['defaultListMarkerStyle'];_0x56a742['change'](()=>{const _0x163b30=this['_getListTypeFromListMarkerStyle'](_0x29b57a);if(!_0x163b30)return;const _0x4716c2=_0x163b30+'List';this['editor']['execute'](_0x4716c2,{'additionalAttributes':{'listMarkerStyle':_0x29b57a}});});}['_getValue'](){const _0x37f280=_0x5e0b00(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x37f280)?_0x37f280['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x441a73=this['editor'],_0x4f4eb7=_0x441a73['commands']['get']('customNumberedList'),_0xe8a6fa=_0x441a73['commands']['get']('customBulletedList');return _0x4f4eb7['isEnabled']||_0xe8a6fa['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x142330){const _0x41ae1e=this['_listDefinitions']['find'](_0x3ee7e5=>_0x3ee7e5['listMarkerStyle']==_0x142330);return _0x41ae1e?_0x41ae1e['listType']:null;}}class MultiLevelListEditing extends _0x502acf{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x475dc3];}constructor(_0x16986b){super(_0x16986b);const _0xd14ee1=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x48e88a=>_0x48e88a+'.'}]},..._0xd14ee1];}['init'](){const _0x79f255=this['editor'],_0x219bb1=_0x79f255['model'],_0x5d777b=_0x79f255['editing']['view'],_0x52911b=_0x79f255['plugins']['get'](_0x475dc3);_0x79f255['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x79f255,'legal',this['_listDefinitions'])),_0x219bb1['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x219bb1['schema']['addAttributeCheck']((_0x482499,_0x203c72)=>{const _0x202359=_0x482499['last'];if('listMarker'==_0x203c72||'listMarkerStyle'==_0x203c72)return!(!_0x202359['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x28d6b9=>_0x28d6b9['listType']==_0x202359['getAttribute']('listType')))&&void 0x0;});for(const _0x58246c of this['_listDefinitions'])_0x79f255['conversion']['for']('upcast')['add'](_0xb8648f=>{_0xb8648f['on']('element:'+('customNumbered'==_0x58246c['listType']?'ol':'ul'),N(_0x58246c,_0x219bb1['schema']),{'priority':'low'});}),_0x52911b['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0xdbcb21,_0x2a9b19,_0x19740e){_0x2a9b19==_0x58246c['listMarkerStyle']?(_0xdbcb21['addClass'](['multi-level-list',_0x58246c['className']],_0x19740e),_0xdbcb21['setStyle']('list-style-type','none',_0x19740e)):(_0xdbcb21['removeClass'](['multi-level-list',_0x58246c['className']],_0x19740e),_0xdbcb21['removeStyle']('list-style-type',_0x19740e));}}),_0x52911b['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x309063,_0x5206dd,{dataPipeline:_0x2f3022}){if(!_0x5206dd['hasAttribute']('listMarker'))return null;if(_0x5206dd['getAttribute']('listType')!=_0x58246c['listType']||_0x5206dd['getAttribute']('listMarkerStyle')!=_0x58246c['listMarkerStyle'])return null;const _0x1b0dee=String(_0x5206dd['getAttribute']('listMarker')),_0x2f32f6=this['canInjectMarkerIntoElement'](_0x5206dd);return _0x309063['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x2f3022&&{'contenteditable':'false','data-multi-level-list-marker':_0x1b0dee}},function(_0x2e3ac2){const _0x11d57f=this['toDomElement'](_0x2e3ac2);return _0x2f32f6?(_0x11d57f['appendChild'](_0x4e0556(_0x2e3ac2,'span',{},_0x2f3022?_0x2e3ac2['createTextNode'](_0x1b0dee):[])),_0x11d57f['appendChild'](_0x2e3ac2['createTextNode']('\u00a0'))):_0x2f3022&&_0x11d57f['appendChild'](_0x2e3ac2['createTextNode'](_0x1b0dee)),_0x11d57f;});},'canInjectMarkerIntoElement':_0x3ec08c=>_0x219bb1['schema']['checkChild'](_0x3ec08c,'$text')&&_0x219bb1['schema']['checkChild'](_0x3ec08c,'$inlineObject')&&!_0x219bb1['schema']['isLimit'](_0x3ec08c)&&_0x3ec08c['getAttribute']('listType')==_0x58246c['listType']&&_0x3ec08c['getAttribute']('listMarkerStyle')==_0x58246c['listMarkerStyle']});_0x79f255['conversion']['for']('upcast')['add'](_0x1cf2e9=>{_0x1cf2e9['on']('element:span',function(_0x6cee07){return(_0x3d1a91,_0x46a7c7,{writer:_0x1399ec,consumable:_0x1fe16c})=>{const _0x68b158=_0x46a7c7['modelCursor'],_0x4cb78b=_0x68b158['parent'],_0x43d722=_0x46a7c7['viewItem'];if(_0x1fe16c['consume'](_0x43d722,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x68b158['isAtStart']&&_0x4cb78b['hasAttribute']('listType')&&_0x43d722['childCount']>0x0){const _0x287def=_0x6cee07['createRangeIn'](_0x43d722);let _0x1a9d83='';for(const _0x17aef8 of _0x287def['getItems']())_0x17aef8['is']('$textProxy')?(_0x1a9d83+=_0x17aef8['data']['trim'](),_0x1fe16c['consume'](_0x17aef8['textNode'])):_0x1fe16c['consume'](_0x17aef8,{'name':!0x0});_0x1399ec['setAttribute']('listMarker',_0x1a9d83['trim'](),_0x4cb78b);}};}(_0x5d777b));}),_0x52911b['on']('postFixer',(_0x58e372,{listNodes:_0x2b8f4e,writer:_0x433a1c})=>{const _0x3f0bf2=[];for(const {node:_0x2e9d5e,previousNodeInList:_0x1ebae3}of _0x2b8f4e){const _0xa78b64=_0x2e9d5e['getAttribute']('listType'),_0x3bc356=_0x2e9d5e['getAttribute']('listMarkerStyle')||('customNumbered'==_0xa78b64?'legal':void 0x0),_0x597fac=this['_listDefinitions']['find'](_0x4d6f83=>_0x4d6f83['listType']==_0xa78b64&&_0x4d6f83['listMarkerStyle']==_0x3bc356);if('customNumbered'!=_0xa78b64&&'customBulleted'!=_0xa78b64&&(_0x2e9d5e['hasAttribute']('listMarker')&&(_0x433a1c['removeAttribute']('listMarker',_0x2e9d5e),_0x58e372['return']=!0x0),_0x2e9d5e['hasAttribute']('listMarkerStyle')&&(_0x433a1c['removeAttribute']('listMarkerStyle',_0x2e9d5e),_0x58e372['return']=!0x0)),!_0x597fac){'customBulleted'!=_0xa78b64||_0x3bc356||(_0x433a1c['setAttribute']('listType','bulleted',_0x2e9d5e),_0x58e372['return']=!0x0);continue;}_0x2e9d5e['hasAttribute']('listMarkerStyle')||(_0x433a1c['setAttribute']('listMarkerStyle',_0x3bc356,_0x2e9d5e),_0x58e372['return']=!0x0);const _0x47216a=_0x2e9d5e['getAttribute']('listIndent');if(_0x1ebae3&&_0x1ebae3['getAttribute']('listItemId')==_0x2e9d5e['getAttribute']('listItemId'))continue;if(_0x3f0bf2['length']=_0x47216a+0x1,_0x79f255['config']['get']('list.enableSkipLevelLists')){for(let _0x5ad0e0=0x0;_0x5ad0e0<_0x47216a;_0x5ad0e0++)void 0x0===_0x3f0bf2[_0x5ad0e0]&&(_0x3f0bf2[_0x5ad0e0]=0x1);}_0x1ebae3||_0x3f0bf2[_0x47216a]?_0x1ebae3&&_0x1ebae3['getAttribute']('listType')!=_0x597fac['listType']?_0x3f0bf2[_0x47216a]=0x1:_0x3f0bf2[_0x47216a]++:_0x3f0bf2[_0x47216a]=_0x2e9d5e['getAttribute']('listStart')||0x1;const _0x1d8e0f=I(_0x47216a,_0x597fac,_0x3f0bf2);_0x2e9d5e['getAttribute']('listMarker')!=_0x1d8e0f&&(_0x433a1c['setAttribute']('listMarker',_0x1d8e0f,_0x2e9d5e),_0x58e372['return']=!0x0);}}),_0x52911b['on']('checkElement',(_0x6d52ac,{modelElement:_0x5bab8f,viewElement:_0x16c137})=>{const _0x1e2d10=_0x5bab8f['getAttribute']('listType');if('customNumbered'!=_0x1e2d10&&'customBulleted'!=_0x1e2d10)return;if(_0x219bb1['schema']['checkChild'](_0x5bab8f,'$text'))return;const _0x585bd6=_0x1f52fe(_0x5bab8f);let _0x414b43=!0x1;const _0x10a702=_0x5d777b['createPositionBefore'](_0x16c137)['getWalker']({'direction':'backward'});for(const {item:_0x2e21de}of _0x10a702)if(_0x2e21de['is']('element')){if(_0x79f255['editing']['mapper']['toModelElement'](_0x2e21de))break;if(_0x2e21de['getCustomProperty']('listItemMarker')){_0x414b43=!0x0;break;}}_0x414b43!=_0x585bd6&&(_0x6d52ac['return']=!0x0,_0x6d52ac['stop']());});const _0x45efc6=_0x79f255['editing']['view']['document'];this['listenTo'](_0x45efc6,'clipboardOutput',(_0x45f191,_0x4ced7a)=>{const _0xb5e82f=new _0x522deb({'name':'span','classes':'multi-level-list__marker'}),_0x10adee=new _0x522deb({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x2d9183=new _0x247e2b(_0x4ced7a['content']['document']),_0x2fb2ad=[];for(const _0x25e262 of _0x2d9183['createRangeIn'](_0x4ced7a['content'])['getItems']())_0x25e262['is']('element')&&_0xb5e82f['match'](_0x25e262)&&_0x2fb2ad['push'](_0x25e262),_0x25e262['is']('element')&&_0x10adee['match'](_0x25e262)&&_0x2d9183['removeStyle']('list-style-type',_0x25e262);for(const _0x14fd84 of _0x2fb2ad)_0x2d9183['remove'](_0x14fd84);});}['afterInit'](){!async function(_0x4bcfa7){const _0x16e301=_0xd45b4f([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]),_0x43116b=0xf46a94a,_0x386083=0xf4122ea^_0x43116b,_0x5cbb21=window[_0xd45b4f([0x44,0x61,0x74,0x65])][_0xd45b4f([0x6e,0x6f,0x77])](),_0x593c3d=_0x4bcfa7[_0xd45b4f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f7d0f=new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2da335=>{_0x593c3d[_0xd45b4f([0x6f,0x6e,0x63,0x65])](_0xd45b4f([0x72,0x65,0x61,0x64,0x79]),_0x2da335);}),_0x1be78a={[_0xd45b4f([0x6b,0x74,0x79])]:_0xd45b4f([0x45,0x43]),[_0xd45b4f([0x75,0x73,0x65])]:_0xd45b4f([0x73,0x69,0x67]),[_0xd45b4f([0x63,0x72,0x76])]:_0xd45b4f([0x50,0x2d,0x32,0x35,0x36]),[_0xd45b4f([0x78])]:_0xd45b4f([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]),[_0xd45b4f([0x79])]:_0xd45b4f([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]),[_0xd45b4f([0x61,0x6c,0x67])]:_0xd45b4f([0x45,0x53,0x32,0x35,0x36])},_0x489498=_0x593c3d[_0xd45b4f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd45b4f([0x67,0x65,0x74])](_0xd45b4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2bf04e(){let _0x58837e,_0x48074a=null,_0x39c673=null;try{if(_0x489498==_0xd45b4f([0x47,0x50,0x4c]))return _0xd45b4f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58837e=_0x55ec84(),!_0x58837e)return _0xd45b4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58837e[_0xd45b4f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39c673=_0x418cc0(_0x58837e[_0xd45b4f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58837e[_0xd45b4f([0x6a,0x74,0x69])])),await _0x4ad9d4()?_0x37bad9()?_0x298d0d()?_0xd45b4f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb81477()?(_0x58837e[_0xd45b4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd45b4f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48074a=_0x57652f(_0xd45b4f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1eefed()):_0xd45b4f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd45b4f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd45b4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd45b4f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x298d0d(){const _0xd7b387=[_0xd45b4f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd45b4f([0x74,0x72,0x69,0x61,0x6c])][_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58837e[_0xd45b4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cbb21/0x3e8:0xe10*_0x386083;return _0x58837e[_0xd45b4f([0x65,0x78,0x70])]<_0xd7b387;}function _0x37bad9(){const _0x4da1fb=_0x58837e[_0xd45b4f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4da1fb&&(!!_0x4da1fb[_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd45b4f([0x2a]))||!!_0x4da1fb[_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd45b4f([0x4d,0x4c,0x4c])));}function _0xb81477(){const _0x287545=_0x58837e[_0xd45b4f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x287545||0x0==_0x287545[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x282287}=new URL(window[_0xd45b4f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x287545[_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x282287))return!0x0;const _0x5eb8ad=_0x282287[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])](_0xd45b4f([0x2e]));return _0x287545[_0xd45b4f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x170357=>_0x170357[_0xd45b4f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd45b4f([0x2a])))[_0xd45b4f([0x6d,0x61,0x70])](_0xde3e0f=>_0xde3e0f[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])](_0xd45b4f([0x2e])))[_0xd45b4f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4222f9=>_0x4222f9[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5eb8ad[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd45b4f([0x6d,0x61,0x70])](_0x63fd1d=>Array(_0x5eb8ad[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x63fd1d[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd45b4f([0x66,0x69,0x6c,0x6c])](_0x63fd1d[0x0]===_0xd45b4f([0x2a])?_0xd45b4f([0x2a]):'')[_0xd45b4f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x63fd1d))[_0xd45b4f([0x73,0x6f,0x6d,0x65])](_0x3f4256=>_0x5eb8ad[_0xd45b4f([0x65,0x76,0x65,0x72,0x79])]((_0x4f3df8,_0x32157f)=>_0x3f4256[_0x32157f]===_0x4f3df8||_0x3f4256[_0x32157f]===_0xd45b4f([0x2a])));}function _0x1eefed(){return _0x48074a&&_0x39c673?new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e1284,_0x3290c5)=>{_0x48074a[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x4e1284,_0x3290c5),_0x39c673[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x414653=>{_0x414653!=_0xd45b4f([0x56,0x61,0x6c,0x69,0x64])&&_0x4e1284(_0x414653);},_0x3290c5);}):_0x48074a||_0x39c673||_0xd45b4f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x418cc0(_0x47c9e2,_0x3bc1b4){return new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x672a7f=>{if(_0x5449a0())return _0x672a7f(_0xd45b4f([0x56,0x61,0x6c,0x69,0x64]));_0x37fa22(),_0x593c3d[_0xd45b4f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd45b4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51f1c8=!0x1;const _0x19d7ee=_0x454d96();function _0x4a474d(_0x2fd33d){return!!_0x2fd33d&&(typeof _0x2fd33d===_0xd45b4f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fd33d===_0xd45b4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fd33d[_0xd45b4f([0x74,0x68,0x65,0x6e])]===_0xd45b4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fd33d[_0xd45b4f([0x63,0x61,0x74,0x63,0x68])]===_0xd45b4f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x66e64f(_0x243f78){_0x2da2fc(_0x243f78)[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x243a16=>{if(!_0x243a16||_0x243a16[_0xd45b4f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd45b4f([0x6f,0x6b]))return _0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21dcaa(_0x670ad4(_0x19d7ee+_0x3bc1b4))!=_0x243a16[_0xd45b4f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd45b4f([0x56,0x61,0x6c,0x69,0x64]);})[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x287e16=>(_0x5ee3c1(),_0x287e16),()=>{const _0x1e8457=_0x56010b();return null==_0x1e8457?(_0x5ee3c1(),_0xd45b4f([0x56,0x61,0x6c,0x69,0x64])):_0xd45b4f(_0x5cbb21-_0x1e8457>(0x2b4a2d4a^_0x43116b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x672a7f)[_0xd45b4f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x672a7f(_0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x362870=0xf7047ca^_0x43116b;function _0x5ee3c1(){const _0x177ac7=_0xd45b4f([0x6c,0x6c,0x63,0x74,0x2d])+_0x21dcaa(_0x670ad4(_0x47c9e2)),_0x596338=_0x391938(_0x21dcaa(window[_0xd45b4f([0x4d,0x61,0x74,0x68])][_0xd45b4f([0x63,0x65,0x69,0x6c])](_0x5cbb21/_0x362870)));window[_0xd45b4f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd45b4f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x177ac7,_0x596338);}function _0x56010b(){const _0x185702=_0xd45b4f([0x6c,0x6c,0x63,0x74,0x2d])+_0x21dcaa(_0x670ad4(_0x47c9e2)),_0x16dcd4=window[_0xd45b4f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd45b4f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x185702);return _0x16dcd4?window[_0xd45b4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x391938(_0x16dcd4),0x10)*_0x362870:null;}function _0x2da2fc(_0x107800){return new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x224d08,_0x37ab85)=>{_0x107800[_0xd45b4f([0x74,0x68,0x65,0x6e])](_0x224d08,_0x37ab85),window[_0xd45b4f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37ab85,0xf477d8a^_0x43116b);});}}_0x593c3d[_0xd45b4f([0x6f,0x6e])](_0xd45b4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ff149,_0x138d00)=>{if(_0x138d00[0x0]!=_0x47c9e2)return _0x672a7f(_0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x138d00[0x1]={..._0x138d00[0x1],[_0xd45b4f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19d7ee};},{[_0xd45b4f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd45b4f([0x68,0x69,0x67,0x68])}),_0x593c3d[_0xd45b4f([0x6f,0x6e])](_0xd45b4f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x405299=>{_0x4a474d(_0x405299[_0xd45b4f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51f1c8=!0x0,_0x66e64f(_0x405299[_0xd45b4f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd45b4f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd45b4f([0x6c,0x6f,0x77])}),_0x4f7d0f[_0xd45b4f([0x74,0x68,0x65,0x6e])](()=>{_0x51f1c8||_0x672a7f(_0xd45b4f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5449a0(){return _0x593c3d[_0xd45b4f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd45b4f([0x76,0x69,0x65,0x77])][_0xd45b4f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd45b4f([0x61,0x75,0x74,0x6f]);}function _0x37fa22(){_0x593c3d[_0xd45b4f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd45b4f([0x76,0x69,0x65,0x77])][_0xd45b4f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd45b4f([0x61,0x75,0x74,0x6f]);}}function _0x57652f(_0x41b658){const _0x2f14ba=[new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b803=>setTimeout(_0x32b803,0xf4f9786^_0x43116b)),_0x4f7d0f[_0xd45b4f([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14db32=>{let _0x23ba2b=0x0;_0x593c3d[_0xd45b4f([0x6d,0x6f,0x64,0x65,0x6c])][_0xd45b4f([0x6f,0x6e])](_0xd45b4f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc8d02,_0x209a11)=>{_0x209a11[0x0][_0xd45b4f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23ba2b++,_0x23ba2b==(0xf46aca2^_0x43116b)&&(_0x14db32(),_0xc8d02[_0xd45b4f([0x6f,0x66,0x66])]());});}))];return window[_0xd45b4f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd45b4f([0x72,0x61,0x63,0x65])](_0x2f14ba)[_0xd45b4f([0x74,0x68,0x65,0x6e])](()=>_0x41b658);}async function _0x673cce(){await _0x4f7d0f,_0x593c3d[_0xd45b4f([0x6d,0x6f,0x64,0x65,0x6c])][_0xd45b4f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x175c0f,_0x593c3d[_0xd45b4f([0x6d,0x6f,0x64,0x65,0x6c])][_0xd45b4f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x175c0f,_0x593c3d[_0xd45b4f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd45b4f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26759e(_0x4ad48d){const _0xcad3a=_0x498054();_0x593c3d[_0xcad3a]=_0xd45b4f([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4ad48d,_0x4ad48d!=_0xd45b4f([0x56,0x61,0x6c,0x69,0x64])&&_0x673cce();}function _0x498054(){const _0x373095=window[_0xd45b4f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd45b4f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd45b4f([0x6e,0x6f,0x77])]())[_0xd45b4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd45b4f([0x2e]),'');let _0x137864=_0xd45b4f([0x75]);for(let _0x5aac98=0x0;_0x5aac98<_0x373095[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aac98+=0x2){let _0x285e9f=window[_0xd45b4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x373095[_0xd45b4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5aac98,_0x5aac98+0x2));_0x285e9f>=_0x16e301[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x285e9f-=_0x16e301[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x137864+=_0x16e301[_0x285e9f];}return _0x137864;}function _0x55ec84(){const _0x5a39b4=_0x489498[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])](_0xd45b4f([0x2e]));if(0x3!=_0x5a39b4[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c2101(_0x5a39b4[0x1]);function _0x5c2101(_0x5b0621){const _0x425fff=_0x13b489(_0x5b0621);return _0x425fff&&_0x18631f()?_0x425fff:null;function _0x18631f(){const _0x4b65b9=_0x425fff[_0xd45b4f([0x6a,0x74,0x69])],_0x113120=window[_0xd45b4f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b65b9[_0xd45b4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b65b9[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x314590={..._0x425fff,[_0xd45b4f([0x6a,0x74,0x69])]:_0x4b65b9[_0xd45b4f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b65b9[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x314590[_0xd45b4f([0x76,0x63])],_0x670ad4(_0x314590)==_0x113120;}}}async function _0x4ad9d4(){let _0x4ea851=!0x0;try{const _0x453308=_0x489498[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])](_0xd45b4f([0x2e])),[_0x11396e,_0x1ea898,_0x26a10c]=_0x453308;return _0xd5b81d(_0x11396e),await _0x4a90a3(_0x11396e,_0x1ea898,_0x26a10c),_0x4ea851;}catch{return!0x1;}function _0xd5b81d(_0x30ab64){const _0x36c074=_0x13b489(_0x30ab64);_0x36c074&&_0x36c074[_0xd45b4f([0x61,0x6c,0x67])]==_0xd45b4f([0x45,0x53,0x32,0x35,0x36])||(_0x4ea851=!0x1);}async function _0x4a90a3(_0x2e7b59,_0x5812c0,_0x41377e){const _0x5df5d1=window[_0xd45b4f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd45b4f([0x66,0x72,0x6f,0x6d])](_0x57e4de(_0x41377e),_0x2be9cb=>_0x2be9cb[_0xd45b4f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b3ff5=new window[(_0xd45b4f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd45b4f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e7b59+_0xd45b4f([0x2e])+_0x5812c0),_0x42d571=window[_0xd45b4f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd45b4f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x42d571)return;const _0x350177=await _0x42d571[_0xd45b4f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd45b4f([0x6a,0x77,0x6b]),_0x1be78a,{[_0xd45b4f([0x6e,0x61,0x6d,0x65])]:_0xd45b4f([0x45,0x43,0x44,0x53,0x41]),[_0xd45b4f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd45b4f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd45b4f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x42d571[_0xd45b4f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd45b4f([0x6e,0x61,0x6d,0x65])]:_0xd45b4f([0x45,0x43,0x44,0x53,0x41]),[_0xd45b4f([0x68,0x61,0x73,0x68])]:{[_0xd45b4f([0x6e,0x61,0x6d,0x65])]:_0xd45b4f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x350177,_0x5df5d1,_0x2b3ff5)||(_0x4ea851=!0x1);}}function _0x13b489(_0x55bb9a){return _0x55bb9a[_0xd45b4f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd45b4f([0x65,0x79]))?JSON[_0xd45b4f([0x70,0x61,0x72,0x73,0x65])](_0x57e4de(_0x55bb9a)):null;}function _0x57e4de(_0x327b42){return window[_0xd45b4f([0x61,0x74,0x6f,0x62])](_0x327b42[_0xd45b4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd45b4f([0x2b]))[_0xd45b4f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd45b4f([0x2f])));}function _0x670ad4(_0x5983f2){let _0x546d99=0x1505;function _0x222667(_0x4a9ad6){for(let _0x5dfb0f=0x0;_0x5dfb0f<_0x4a9ad6[_0xd45b4f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dfb0f++){const _0x4b4676=_0x4a9ad6[_0xd45b4f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5dfb0f);_0x546d99=(_0x546d99<<0x5)+_0x546d99+_0x4b4676,_0x546d99&=_0x546d99;}}function _0x1c0210(_0x952999){Array[_0xd45b4f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x952999)?_0x952999[_0xd45b4f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c0210):_0x952999&&typeof _0x952999==_0xd45b4f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd45b4f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x952999)[_0xd45b4f([0x73,0x6f,0x72,0x74])]()[_0xd45b4f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e880f,_0x17dc04])=>{_0x222667(_0x3e880f),_0x1c0210(_0x17dc04);}):_0x222667(window[_0xd45b4f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x952999));}return _0x1c0210(_0x5983f2),_0x546d99>>>0x0;}function _0x21dcaa(_0x4e5c1d){return _0x4e5c1d[_0xd45b4f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd45b4f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd45b4f([0x30]));}function _0x391938(_0x23a2ec){return _0x23a2ec[_0xd45b4f([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd45b4f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd45b4f([0x6a,0x6f,0x69,0x6e])]('');}function _0x175c0f(){}function _0xd45b4f(_0x3f708c){return _0x3f708c['map'](_0x20cf9d=>String['fromCharCode'](_0x20cf9d))['join']('');}_0x26759e(await _0x2bf04e());}(this);}}function I(_0x6fe73e,_0x52c09c,_0x39e83b){let _0x57dcaa=_0x52c09c['listMarkers'][_0x6fe73e%_0x52c09c['listMarkers']['length']];if(void 0x0===_0x57dcaa['showMarkerPath']||_0x57dcaa['showMarkerPath'])return _0x39e83b['slice'](0x0,_0x6fe73e+0x1)['map']((_0x43bd68,_0x189bf2)=>(_0x57dcaa=_0x52c09c['listMarkers'][_0x189bf2%_0x52c09c['listMarkers']['length']],S(_0x57dcaa['marker'],_0x43bd68)))['join']('');{const _0x4585d0=_0x39e83b[_0x39e83b['length']-0x1];return S(_0x57dcaa['marker'],_0x4585d0);}}function S(_0x46bb47,_0x569f92){return'function'==typeof _0x46bb47?_0x46bb47(_0x569f92):_0x46bb47;}function N(_0x2be7b6,_0x575f2b){return(_0x2bbf4c,_0x2c8bf9,_0xc1164f)=>{const _0x3b3300=_0x2c8bf9['viewItem'];if(_0x2c8bf9['modelRange']||Object['assign'](_0x2c8bf9,_0xc1164f['convertChildren'](_0x2c8bf9['viewItem'],_0x2c8bf9['modelCursor'])),!_0xc1164f['consumable']['test'](_0x3b3300,{'classes':_0x2be7b6['className']}))return;const _0x4ae84d=Array['from'](_0x2c8bf9['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x4201aa=>_0x575f2b['checkAttribute'](_0x4201aa,'listItemId'));if(!_0x4ae84d['length'])return;_0xc1164f['consumable']['consume'](_0x3b3300,{'classes':_0x2be7b6['className']}),_0xc1164f['consumable']['consume'](_0x3b3300,{'classes':'multi-level-list'}),_0xc1164f['consumable']['consume'](_0x3b3300,{'styles':'list-style-type'});const _0xd2d593=_0x4ae84d[0x0]['getAttribute']('listIndent');for(const _0x204408 of _0x4ae84d)_0x204408['getAttribute']('listIndent')==_0xd2d593&&(_0xc1164f['writer']['setAttribute']('listType',_0x2be7b6['listType'],_0x204408),_0xc1164f['writer']['setAttribute']('listMarkerStyle',_0x2be7b6['listMarkerStyle'],_0x204408));};}function _(_0x48e016,_0xbb9803){const _0x20778a=_0x48e016['t'],t=_0x48e016['t'];switch(_0xbb9803){case'Start\x20at':return _0x20778a('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x20778a('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x20778a('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x20778a('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 _0xbb9803;}}class MultiLevelListView extends _0x5b1584{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x3f3235();['keystrokes']=new _0xfa3ba4();['focusables']=new _0x151297();['focusCycler'];constructor(_0x25c058,{enabledProperties:_0x21f0cf,styleButtonViews:_0x1afb6d,styleGridAriaLabel:_0x1c2ffc}){super(_0x25c058);const _0x3184c5=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x37b0b4({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x21f0cf['styles']?(this['stylesView']=this['_createStylesView'](_0x1afb6d,_0x1c2ffc),this['children']['add'](this['stylesView'])):_0x3184c5['push']('ck-multi-level-list-properties_without-styles'),_0x21f0cf['startIndex']&&(this['_addListPropertyViews'](_0x21f0cf),_0x3184c5['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x3184c5},'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 _0x23e093 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x23e093['element']);_0x158c5c({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x2ba46e['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 _0xc10ecf=_0x157abb=>_0x157abb['stopPropagation']();this['keystrokes']['set']('arrowright',_0xc10ecf),this['keystrokes']['set']('arrowleft',_0xc10ecf),this['keystrokes']['set']('arrowup',_0xc10ecf),this['keystrokes']['set']('arrowdown',_0xc10ecf);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x3252a4,_0x1f403f){const _0x1a30ec=new _0x5b1584(this['locale']);return _0x1a30ec['children']=_0x1a30ec['createCollection'](),_0x1a30ec['children']['addMany'](_0x3252a4),_0x1a30ec['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1f403f,'class':['ck','ck-multi-level-list-styles']},'children':_0x1a30ec['children']}),_0x1a30ec['children']['delegate']('execute')['to'](this),_0x1a30ec['focus']=function(){this['children']['first']['focus']();},_0x1a30ec['focusTracker']=new _0x3f3235(),_0x1a30ec['keystrokes']=new _0xfa3ba4(),_0x1a30ec['render'](),_0x1a30ec['keystrokes']['listenTo'](_0x1a30ec['element']),_0x1a30ec;}['_addListPropertyViews'](_0x4c334b){const _0x39f7fc=[];_0x4c334b['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x39f7fc['push'](this['startIndexFieldView'])),_0x4c334b['styles']?(this['additionalPropertiesCollapsibleView']=new _0x4bf5aa(this['locale'],_0x39f7fc),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x39f7fc,'isEnabled',(..._0x5ed978)=>_0x5ed978['some'](_0x4421e3=>_0x4421e3)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x317403,_0x3caaf7,_0x4a273f)=>{_0x4a273f||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x39f7fc);}['_createStartIndexField'](){const _0x5657cc=new _0x5b376e(this['locale'],_0x1689f4);return _0x5657cc['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x5657cc['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5657cc['fieldView']['on']('input',()=>{const _0x3c4bd0=_0x5657cc['fieldView']['element'],_0x33d038=_0x3c4bd0['valueAsNumber'];Number['isNaN'](_0x33d038)?_0x5657cc['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x3c4bd0['checkValidity']()?this['fire']('listStart',{'startIndex':_0x33d038}):_0x5657cc['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x5657cc;}}class MultiLevelListUI extends _0x502acf{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1c71c5=this['editor'];_0x1c71c5['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x5a5de4,parentCommandName:_0x36dbb5,buttonLabel:_0xb68f17,buttonIcon:_0x32ebdc,styleGridAriaLabel:_0x4b4190,styleDefinitions:_0x1eea12}){const _0x430c6c=_0x5a5de4['commands']['get'](_0x36dbb5),_0x533d1f=_0x5a5de4['config']['get']('list.properties')||{},_0x577ba2=_0x5a5de4['plugins']['has']('ListProperties'),_0xb1a990=_0x533d1f['startIndex'];if(!_0x577ba2||!_0xb1a990)return _0x1da4a8=>{const _0x343bdc=new _0x371ea6(_0x1da4a8);return _0x343bdc['set']({'label':_0xb68f17,'icon':_0x32ebdc,'tooltip':!0x0,'isToggleable':!0x0}),_0x343bdc['bind']('isOn')['to'](_0x430c6c,'value',_0xc7b74d=>!!_0xc7b74d),_0x343bdc['on']('execute',()=>{_0x5a5de4['execute'](_0x36dbb5),_0x5a5de4['editing']['view']['focus']();}),_0x343bdc;};return _0x4664ba=>{const _0x5e6667=_0x5a9c8e(_0x4664ba,_0x33955d),_0x1e07b5=_0x5e6667['buttonView'];return _0x5e6667['bind']('isEnabled')['to'](_0x430c6c),_0x5e6667['class']='ck-list-styles-dropdown',_0x1e07b5['on']('execute',()=>{_0x5a5de4['execute'](_0x36dbb5),_0x5a5de4['editing']['view']['focus']();}),_0x1e07b5['set']({'label':_0xb68f17,'icon':_0x32ebdc,'tooltip':!0x0,'isToggleable':!0x0}),_0x1e07b5['bind']('isOn')['to'](_0x430c6c,'value',_0x1ec77e=>!!_0x1ec77e),_0x5e6667['once']('change:isOpen',()=>{const _0x50c59c=function({editor:_0x40b8a3,dropdownView:_0x1d71ce,styleDefinitions:_0x55387f,styleGridAriaLabel:_0x481c8c}){const _0xe77792=_0x40b8a3['locale'],_0x5ed517=_0x40b8a3['config']['get']('list.properties'),_0x5a62fd=null;_0x5ed517['reversed']=!0x1,_0x55387f['length']||(_0x5ed517['styles']=!0x1);const _0x5dc871=new MultiLevelListView(_0xe77792,{'styleGridAriaLabel':_0x481c8c,'enabledProperties':_0x5ed517,'styleButtonViews':_0x5a62fd});if(_0x5ed517['startIndex']){const _0x405df8=_0x40b8a3['commands']['get']('listStart');_0x5dc871['startIndexFieldView']['bind']('isEnabled')['to'](_0x405df8),_0x5dc871['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x405df8),_0x5dc871['on']('listStart',(_0x2a27bc,_0xdead22)=>_0x40b8a3['execute']('listStart',_0xdead22));}return _0x5dc871['delegate']('execute')['to'](_0x1d71ce),_0x5dc871;}({'editor':_0x5a5de4,'dropdownView':_0x5e6667,'styleGridAriaLabel':_0x4b4190,'styleDefinitions':_0x1eea12});_0x5e6667['panelView']['children']['add'](_0x50c59c);}),_0x5e6667['on']('execute',()=>{_0x5a5de4['editing']['view']['focus']();}),_0x5e6667;};}({'editor':_0x1c71c5,'parentCommandName':'multiLevelList','buttonLabel':_(_0x1c71c5['locale'],'Multi-level\x20List'),'buttonIcon':_0x5a5ee3,'styleGridAriaLabel':_(_0x1c71c5['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x1c71c5['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x11700c=_0x1c71c5['commands']['get']('multiLevelList'),_0x812f3b=new _0x9dcdf0(_0x1c71c5['locale']);return _0x812f3b['set']({'label':_(_0x1c71c5['locale'],'Multi-level\x20List'),'icon':_0x5a5ee3}),_0x812f3b['bind']('isEnabled')['to'](_0x11700c),_0x812f3b['bind']('isOn')['to'](_0x11700c,'value',_0x5b5833=>!!_0x5b5833),_0x812f3b['on']('execute',()=>{_0x1c71c5['execute']('multiLevelList'),_0x1c71c5['editing']['view']['focus']();}),_0x812f3b;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x48c924=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x8c26be;for(const _0x5dca2f in _0x48c924){const _0x476280=_0x5dca2f,_0x5b3ce1=_0x48c924[_0x476280];if('multiLevelListLicenseKeyValid'==_0x5b3ce1||'multiLevelListLicenseKeyInvalid'==_0x5b3ce1||'multiLevelListLicenseKeyExpired'==_0x5b3ce1||'multiLevelListLicenseKeyDomainLimit'==_0x5b3ce1||'multiLevelListLicenseKeyNotAllowed'==_0x5b3ce1||'multiLevelListLicenseKeyEvaluationLimit'==_0x5b3ce1||'multiLevelListLicenseKeyUsageLimit'==_0x5b3ce1){delete _0x48c924[_0x476280],_0x8c26be=_0x5b3ce1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x8c26be&&_0x48c924['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x8c26be&&_0x48c924['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x8c26be&&_0x48c924['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x8c26be&&_0x48c924['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x8c26be&&_0x48c924['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x8c26be&&_0x48c924['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x502acf{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}export{MultiLevelList,MultiLevelListCommand,MultiLevelListEditing,MultiLevelListUI};
|
|
23
|
+
import{Command as _0x588e21,Plugin as _0x54e2a1}from'@ckeditor/ckeditor5-core/dist/index.js';import{Matcher as _0x2ff2a7,ViewUpcastWriter as _0x5f1dcf}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ListEditing as _0x54d0a8,_isFirstBlockOfListItem as _0xf4ade6}from'@ckeditor/ckeditor5-list/dist/index.js';import{first as _0x36bd9a,createElement as _0x346cb8,uid as _0x533b9a,FocusTracker as _0x3560cd,KeystrokeHandler as _0x104f18,global as _0x56e66e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconMultiLevelList as _0x51d8b6}from'@ckeditor/ckeditor5-icons/dist/index.js';import{View as _0x4c8f1c,ViewCollection as _0x277142,FocusCycler as _0x4ed2d4,addKeyboardHandlingForGrid as _0x435eb3,CollapsibleView as _0x81dff5,LabeledFieldView as _0x5965f2,createLabeledInputNumber as _0x123cc6,MenuBarMenuListItemButtonView as _0x32836d,ButtonView as _0x260de9,createDropdown as _0x10bd32,SplitButtonView as _0x2c995f}from'@ckeditor/ckeditor5-ui/dist/index.js';class MultiLevelListCommand extends _0x588e21{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x4f9cbc,_0x42d970,_0x309696){super(_0x4f9cbc),this['defaultListMarkerStyle']=_0x42d970,this['_listDefinitions']=_0x309696,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x31fba6={}){const _0x155ec3=this['editor']['model'],_0x563791=_0x31fba6['listMarkerStyle']||this['defaultListMarkerStyle'];_0x155ec3['change'](()=>{const _0xa9a93d=this['_getListTypeFromListMarkerStyle'](_0x563791);if(!_0xa9a93d)return;const _0x287ea2=_0xa9a93d+'List';this['editor']['execute'](_0x287ea2,{'additionalAttributes':{'listMarkerStyle':_0x563791}});});}['_getValue'](){const _0x2ef45e=_0x36bd9a(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x2ef45e)?_0x2ef45e['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x563550=this['editor'],_0x467e30=_0x563550['commands']['get']('customNumberedList'),_0x64533c=_0x563550['commands']['get']('customBulletedList');return _0x467e30['isEnabled']||_0x64533c['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x3cf80a){const _0x3743f4=this['_listDefinitions']['find'](_0x49ad8c=>_0x49ad8c['listMarkerStyle']==_0x3cf80a);return _0x3743f4?_0x3743f4['listType']:null;}}class MultiLevelListEditing extends _0x54e2a1{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x54d0a8];}constructor(_0x2819dd){super(_0x2819dd);const _0x49d4b3=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x1c65ba=>_0x1c65ba+'.'}]},..._0x49d4b3];}['init'](){const _0x2dbc8c=this['editor'],_0x4c3d21=_0x2dbc8c['model'],_0x2fb8b0=_0x2dbc8c['editing']['view'],_0x3f7855=_0x2dbc8c['plugins']['get'](_0x54d0a8);_0x2dbc8c['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x2dbc8c,'legal',this['_listDefinitions'])),_0x4c3d21['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x4c3d21['schema']['addAttributeCheck']((_0x140619,_0x4bde6d)=>{const _0x1fbfb1=_0x140619['last'];if('listMarker'==_0x4bde6d||'listMarkerStyle'==_0x4bde6d)return!(!_0x1fbfb1['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x35e3a5=>_0x35e3a5['listType']==_0x1fbfb1['getAttribute']('listType')))&&void 0x0;});for(const _0x294097 of this['_listDefinitions'])_0x2dbc8c['conversion']['for']('upcast')['add'](_0x642aed=>{_0x642aed['on']('element:'+('customNumbered'==_0x294097['listType']?'ol':'ul'),N(_0x294097,_0x4c3d21['schema']),{'priority':'low'});}),_0x3f7855['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0xd61c66,_0x592c25,_0x58d7da){_0x592c25==_0x294097['listMarkerStyle']?(_0xd61c66['addClass'](['multi-level-list',_0x294097['className']],_0x58d7da),_0xd61c66['setStyle']('list-style-type','none',_0x58d7da)):(_0xd61c66['removeClass'](['multi-level-list',_0x294097['className']],_0x58d7da),_0xd61c66['removeStyle']('list-style-type',_0x58d7da));}}),_0x3f7855['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x3a8f35,_0x1665fb,{dataPipeline:_0x4728c0}){if(!_0x1665fb['hasAttribute']('listMarker'))return null;if(_0x1665fb['getAttribute']('listType')!=_0x294097['listType']||_0x1665fb['getAttribute']('listMarkerStyle')!=_0x294097['listMarkerStyle'])return null;const _0x37b73=String(_0x1665fb['getAttribute']('listMarker')),_0x15b8cf=this['canInjectMarkerIntoElement'](_0x1665fb);return _0x3a8f35['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x4728c0&&{'contenteditable':'false','data-multi-level-list-marker':_0x37b73}},function(_0x2ad0a9){const _0x348638=this['toDomElement'](_0x2ad0a9);return _0x15b8cf?(_0x348638['appendChild'](_0x346cb8(_0x2ad0a9,'span',{},_0x4728c0?_0x2ad0a9['createTextNode'](_0x37b73):[])),_0x348638['appendChild'](_0x2ad0a9['createTextNode']('\u00a0'))):_0x4728c0&&_0x348638['appendChild'](_0x2ad0a9['createTextNode'](_0x37b73)),_0x348638;});},'canInjectMarkerIntoElement':_0x4bcaeb=>_0x4c3d21['schema']['checkChild'](_0x4bcaeb,'$text')&&_0x4c3d21['schema']['checkChild'](_0x4bcaeb,'$inlineObject')&&!_0x4c3d21['schema']['isLimit'](_0x4bcaeb)&&_0x4bcaeb['getAttribute']('listType')==_0x294097['listType']&&_0x4bcaeb['getAttribute']('listMarkerStyle')==_0x294097['listMarkerStyle']});_0x2dbc8c['conversion']['for']('upcast')['add'](_0x112db6=>{_0x112db6['on']('element:span',function(_0x421838){return(_0xa5ef3d,_0x35e31d,{writer:_0x17b73c,consumable:_0x5d248c})=>{const _0x1a29aa=_0x35e31d['modelCursor'],_0x306d20=_0x1a29aa['parent'],_0x83c2cd=_0x35e31d['viewItem'];if(_0x5d248c['consume'](_0x83c2cd,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x1a29aa['isAtStart']&&_0x306d20['hasAttribute']('listType')&&_0x83c2cd['childCount']>0x0){const _0x57b9d=_0x421838['createRangeIn'](_0x83c2cd);let _0x5b5a14='';for(const _0x5eafa9 of _0x57b9d['getItems']())_0x5eafa9['is']('$textProxy')?(_0x5b5a14+=_0x5eafa9['data']['trim'](),_0x5d248c['consume'](_0x5eafa9['textNode'])):_0x5d248c['consume'](_0x5eafa9,{'name':!0x0});_0x17b73c['setAttribute']('listMarker',_0x5b5a14['trim'](),_0x306d20);}};}(_0x2fb8b0));}),_0x3f7855['on']('postFixer',(_0x328330,{listNodes:_0x5e7b5d,writer:_0x493be1})=>{const _0x14a4eb=[];for(const {node:_0xec471a,previousNodeInList:_0x2f9de8}of _0x5e7b5d){const _0x3a940a=_0xec471a['getAttribute']('listType'),_0x10385f=_0xec471a['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3a940a?'legal':void 0x0),_0x3e172e=this['_listDefinitions']['find'](_0x12de3a=>_0x12de3a['listType']==_0x3a940a&&_0x12de3a['listMarkerStyle']==_0x10385f);if('customNumbered'!=_0x3a940a&&'customBulleted'!=_0x3a940a&&(_0xec471a['hasAttribute']('listMarker')&&(_0x493be1['removeAttribute']('listMarker',_0xec471a),_0x328330['return']=!0x0),_0xec471a['hasAttribute']('listMarkerStyle')&&(_0x493be1['removeAttribute']('listMarkerStyle',_0xec471a),_0x328330['return']=!0x0)),!_0x3e172e){'customBulleted'!=_0x3a940a||_0x10385f||(_0x493be1['setAttribute']('listType','bulleted',_0xec471a),_0x328330['return']=!0x0);continue;}_0xec471a['hasAttribute']('listMarkerStyle')||(_0x493be1['setAttribute']('listMarkerStyle',_0x10385f,_0xec471a),_0x328330['return']=!0x0);const _0x3ab10f=_0xec471a['getAttribute']('listIndent');if(_0x2f9de8&&_0x2f9de8['getAttribute']('listItemId')==_0xec471a['getAttribute']('listItemId'))continue;if(_0x14a4eb['length']=_0x3ab10f+0x1,_0x2dbc8c['config']['get']('list.enableSkipLevelLists')){for(let _0x3404f0=0x0;_0x3404f0<_0x3ab10f;_0x3404f0++)void 0x0===_0x14a4eb[_0x3404f0]&&(_0x14a4eb[_0x3404f0]=0x1);}_0x2f9de8||_0x14a4eb[_0x3ab10f]?_0x2f9de8&&_0x2f9de8['getAttribute']('listType')!=_0x3e172e['listType']?_0x14a4eb[_0x3ab10f]=0x1:_0x14a4eb[_0x3ab10f]++:_0x14a4eb[_0x3ab10f]=_0xec471a['getAttribute']('listStart')||0x1;const _0x1c2106=I(_0x3ab10f,_0x3e172e,_0x14a4eb);_0xec471a['getAttribute']('listMarker')!=_0x1c2106&&(_0x493be1['setAttribute']('listMarker',_0x1c2106,_0xec471a),_0x328330['return']=!0x0);}}),_0x3f7855['on']('checkElement',(_0x3f5393,{modelElement:_0x3a8a65,viewElement:_0x6445d0})=>{const _0x4c086b=_0x3a8a65['getAttribute']('listType');if('customNumbered'!=_0x4c086b&&'customBulleted'!=_0x4c086b)return;if(_0x4c3d21['schema']['checkChild'](_0x3a8a65,'$text'))return;const _0xc1496e=_0xf4ade6(_0x3a8a65);let _0x3b7e92=!0x1;const _0x5af49b=_0x2fb8b0['createPositionBefore'](_0x6445d0)['getWalker']({'direction':'backward'});for(const {item:_0x36ffff}of _0x5af49b)if(_0x36ffff['is']('element')){if(_0x2dbc8c['editing']['mapper']['toModelElement'](_0x36ffff))break;if(_0x36ffff['getCustomProperty']('listItemMarker')){_0x3b7e92=!0x0;break;}}_0x3b7e92!=_0xc1496e&&(_0x3f5393['return']=!0x0,_0x3f5393['stop']());});const _0x77001c=_0x2dbc8c['editing']['view']['document'];this['listenTo'](_0x77001c,'clipboardOutput',(_0x100803,_0x526a3b)=>{const _0x21ea6e=new _0x2ff2a7({'name':'span','classes':'multi-level-list__marker'}),_0x536c15=new _0x2ff2a7({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x2c38d3=new _0x5f1dcf(_0x526a3b['content']['document']),_0x3e991d=[];for(const _0x11e1e5 of _0x2c38d3['createRangeIn'](_0x526a3b['content'])['getItems']())_0x11e1e5['is']('element')&&_0x21ea6e['match'](_0x11e1e5)&&_0x3e991d['push'](_0x11e1e5),_0x11e1e5['is']('element')&&_0x536c15['match'](_0x11e1e5)&&_0x2c38d3['removeStyle']('list-style-type',_0x11e1e5);for(const _0x1b7c40 of _0x3e991d)_0x2c38d3['remove'](_0x1b7c40);});}['afterInit'](){!async function(_0x2ff57f){const _0x873526=_0x4a753c([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]),_0x510762=0xf46a94a,_0x2db00a=0xf4122f2^_0x510762,_0x36731e=window[_0x4a753c([0x44,0x61,0x74,0x65])][_0x4a753c([0x6e,0x6f,0x77])](),_0x4c2c3c=_0x2ff57f[_0x4a753c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x337b50=new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x537f75=>{_0x4c2c3c[_0x4a753c([0x6f,0x6e,0x63,0x65])](_0x4a753c([0x72,0x65,0x61,0x64,0x79]),_0x537f75);}),_0x1d2fb7={[_0x4a753c([0x6b,0x74,0x79])]:_0x4a753c([0x45,0x43]),[_0x4a753c([0x75,0x73,0x65])]:_0x4a753c([0x73,0x69,0x67]),[_0x4a753c([0x63,0x72,0x76])]:_0x4a753c([0x50,0x2d,0x32,0x35,0x36]),[_0x4a753c([0x78])]:_0x4a753c([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]),[_0x4a753c([0x79])]:_0x4a753c([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]),[_0x4a753c([0x61,0x6c,0x67])]:_0x4a753c([0x45,0x53,0x32,0x35,0x36])},_0x416e92=_0x4c2c3c[_0x4a753c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a753c([0x67,0x65,0x74])](_0x4a753c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57e283(){let _0x15b9ea,_0x19e750=null,_0x43c97b=null;try{if(_0x416e92==_0x4a753c([0x47,0x50,0x4c]))return _0x4a753c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15b9ea=_0x19720c(),!_0x15b9ea)return _0x4a753c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15b9ea[_0x4a753c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43c97b=_0x9103a0(_0x15b9ea[_0x4a753c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15b9ea[_0x4a753c([0x6a,0x74,0x69])])),await _0x5c91d0()?_0x1bf7b0()?_0xc4599c()?_0x4a753c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x578422()?(_0x15b9ea[_0x4a753c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a753c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19e750=_0x21ef31(_0x4a753c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1be46c()):_0x4a753c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a753c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a753c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a753c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc4599c(){const _0x197b75=[_0x4a753c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a753c([0x74,0x72,0x69,0x61,0x6c])][_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15b9ea[_0x4a753c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36731e/0x3e8:0xe10*_0x2db00a;return _0x15b9ea[_0x4a753c([0x65,0x78,0x70])]<_0x197b75;}function _0x1bf7b0(){const _0xde0bd3=_0x15b9ea[_0x4a753c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xde0bd3&&(!!_0xde0bd3[_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a753c([0x2a]))||!!_0xde0bd3[_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a753c([0x4d,0x4c,0x4c])));}function _0x578422(){const _0x62007d=_0x15b9ea[_0x4a753c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x62007d||0x0==_0x62007d[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46104a}=new URL(window[_0x4a753c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x62007d[_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46104a))return!0x0;const _0x11fae2=_0x46104a[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])](_0x4a753c([0x2e]));return _0x62007d[_0x4a753c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3519ea=>_0x3519ea[_0x4a753c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a753c([0x2a])))[_0x4a753c([0x6d,0x61,0x70])](_0x1b3c92=>_0x1b3c92[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])](_0x4a753c([0x2e])))[_0x4a753c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a11ba=>_0x1a11ba[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x11fae2[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a753c([0x6d,0x61,0x70])](_0x23d793=>Array(_0x11fae2[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23d793[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a753c([0x66,0x69,0x6c,0x6c])](_0x23d793[0x0]===_0x4a753c([0x2a])?_0x4a753c([0x2a]):'')[_0x4a753c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23d793))[_0x4a753c([0x73,0x6f,0x6d,0x65])](_0x2c4477=>_0x11fae2[_0x4a753c([0x65,0x76,0x65,0x72,0x79])]((_0x5aab80,_0x244760)=>_0x2c4477[_0x244760]===_0x5aab80||_0x2c4477[_0x244760]===_0x4a753c([0x2a])));}function _0x1be46c(){return _0x19e750&&_0x43c97b?new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x122829,_0x30cc56)=>{_0x19e750[_0x4a753c([0x74,0x68,0x65,0x6e])](_0x122829,_0x30cc56),_0x43c97b[_0x4a753c([0x74,0x68,0x65,0x6e])](_0xf193cf=>{_0xf193cf!=_0x4a753c([0x56,0x61,0x6c,0x69,0x64])&&_0x122829(_0xf193cf);},_0x30cc56);}):_0x19e750||_0x43c97b||_0x4a753c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9103a0(_0x80ed6d,_0x349517){return new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcb29fb=>{if(_0x3f260a())return _0xcb29fb(_0x4a753c([0x56,0x61,0x6c,0x69,0x64]));_0x201c35(),_0x4c2c3c[_0x4a753c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a753c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ec705=!0x1;const _0x44d059=_0x533b9a();function _0x303661(_0x31bc97){return!!_0x31bc97&&(typeof _0x31bc97===_0x4a753c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31bc97===_0x4a753c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31bc97[_0x4a753c([0x74,0x68,0x65,0x6e])]===_0x4a753c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31bc97[_0x4a753c([0x63,0x61,0x74,0x63,0x68])]===_0x4a753c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7639a8(_0x579597){_0x2acc2c(_0x579597)[_0x4a753c([0x74,0x68,0x65,0x6e])](_0x45b791=>{if(!_0x45b791||_0x45b791[_0x4a753c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a753c([0x6f,0x6b]))return _0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x203883(_0x344c19(_0x44d059+_0x349517))!=_0x45b791[_0x4a753c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a753c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a753c([0x74,0x68,0x65,0x6e])](_0x3ae584=>(_0x90fc28(),_0x3ae584),()=>{const _0x39ca76=_0x28cea5();return null==_0x39ca76?(_0x90fc28(),_0x4a753c([0x56,0x61,0x6c,0x69,0x64])):_0x4a753c(_0x36731e-_0x39ca76>(0x2b4a2d4a^_0x510762)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a753c([0x74,0x68,0x65,0x6e])](_0xcb29fb)[_0x4a753c([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcb29fb(_0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x279094=0xf7047ca^_0x510762;function _0x90fc28(){const _0x30cfc0=_0x4a753c([0x6c,0x6c,0x63,0x74,0x2d])+_0x203883(_0x344c19(_0x80ed6d)),_0x3c89df=_0xfa3e10(_0x203883(window[_0x4a753c([0x4d,0x61,0x74,0x68])][_0x4a753c([0x63,0x65,0x69,0x6c])](_0x36731e/_0x279094)));window[_0x4a753c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a753c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30cfc0,_0x3c89df);}function _0x28cea5(){const _0x559b28=_0x4a753c([0x6c,0x6c,0x63,0x74,0x2d])+_0x203883(_0x344c19(_0x80ed6d)),_0x53280b=window[_0x4a753c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a753c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x559b28);return _0x53280b?window[_0x4a753c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfa3e10(_0x53280b),0x10)*_0x279094:null;}function _0x2acc2c(_0x220581){return new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d829b,_0x55d703)=>{_0x220581[_0x4a753c([0x74,0x68,0x65,0x6e])](_0x3d829b,_0x55d703),window[_0x4a753c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55d703,0xf477d8a^_0x510762);});}}_0x4c2c3c[_0x4a753c([0x6f,0x6e])](_0x4a753c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x90c866,_0x4b180b)=>{if(_0x4b180b[0x0]!=_0x80ed6d)return _0xcb29fb(_0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b180b[0x1]={..._0x4b180b[0x1],[_0x4a753c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44d059};},{[_0x4a753c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a753c([0x68,0x69,0x67,0x68])}),_0x4c2c3c[_0x4a753c([0x6f,0x6e])](_0x4a753c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x43662d=>{_0x303661(_0x43662d[_0x4a753c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ec705=!0x0,_0x7639a8(_0x43662d[_0x4a753c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a753c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a753c([0x6c,0x6f,0x77])}),_0x337b50[_0x4a753c([0x74,0x68,0x65,0x6e])](()=>{_0x3ec705||_0xcb29fb(_0x4a753c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f260a(){return _0x4c2c3c[_0x4a753c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a753c([0x76,0x69,0x65,0x77])][_0x4a753c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a753c([0x61,0x75,0x74,0x6f]);}function _0x201c35(){_0x4c2c3c[_0x4a753c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a753c([0x76,0x69,0x65,0x77])][_0x4a753c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a753c([0x61,0x75,0x74,0x6f]);}}function _0x21ef31(_0x31a037){const _0x36dbcc=[new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56c02f=>setTimeout(_0x56c02f,0xf4f9786^_0x510762)),_0x337b50[_0x4a753c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x153cef=>{let _0x1bacaa=0x0;_0x4c2c3c[_0x4a753c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a753c([0x6f,0x6e])](_0x4a753c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb30f92,_0x3bab07)=>{_0x3bab07[0x0][_0x4a753c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1bacaa++,_0x1bacaa==(0xf46aca2^_0x510762)&&(_0x153cef(),_0xb30f92[_0x4a753c([0x6f,0x66,0x66])]());});}))];return window[_0x4a753c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a753c([0x72,0x61,0x63,0x65])](_0x36dbcc)[_0x4a753c([0x74,0x68,0x65,0x6e])](()=>_0x31a037);}async function _0x22d5b9(){await _0x337b50,_0x4c2c3c[_0x4a753c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a753c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24cf8f,_0x4c2c3c[_0x4a753c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a753c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24cf8f,_0x4c2c3c[_0x4a753c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a753c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x505712(_0x24e2e0){const _0x14102f=_0x28154e();_0x4c2c3c[_0x14102f]=_0x4a753c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24e2e0,_0x24e2e0!=_0x4a753c([0x56,0x61,0x6c,0x69,0x64])&&_0x22d5b9();}function _0x28154e(){const _0x460152=window[_0x4a753c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a753c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a753c([0x6e,0x6f,0x77])]())[_0x4a753c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a753c([0x2e]),'');let _0x3cfd94=_0x4a753c([0x75]);for(let _0x3f59e2=0x0;_0x3f59e2<_0x460152[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f59e2+=0x2){let _0x312765=window[_0x4a753c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x460152[_0x4a753c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f59e2,_0x3f59e2+0x2));_0x312765>=_0x873526[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x312765-=_0x873526[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3cfd94+=_0x873526[_0x312765];}return _0x3cfd94;}function _0x19720c(){const _0x590b4b=_0x416e92[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])](_0x4a753c([0x2e]));if(0x3!=_0x590b4b[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3fb3fa(_0x590b4b[0x1]);function _0x3fb3fa(_0x517d4d){const _0x5578ec=_0x3ed5f0(_0x517d4d);return _0x5578ec&&_0x2a62d5()?_0x5578ec:null;function _0x2a62d5(){const _0x20a760=_0x5578ec[_0x4a753c([0x6a,0x74,0x69])],_0x39d34f=window[_0x4a753c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20a760[_0x4a753c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20a760[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c19fe={..._0x5578ec,[_0x4a753c([0x6a,0x74,0x69])]:_0x20a760[_0x4a753c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20a760[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c19fe[_0x4a753c([0x76,0x63])],_0x344c19(_0x3c19fe)==_0x39d34f;}}}async function _0x5c91d0(){let _0x3d189e=!0x0;try{const _0x230fa7=_0x416e92[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])](_0x4a753c([0x2e])),[_0x52d3ad,_0x53a533,_0x169712]=_0x230fa7;return _0x47195f(_0x52d3ad),await _0x4ed10a(_0x52d3ad,_0x53a533,_0x169712),_0x3d189e;}catch{return!0x1;}function _0x47195f(_0x2abc18){const _0x29d1eb=_0x3ed5f0(_0x2abc18);_0x29d1eb&&_0x29d1eb[_0x4a753c([0x61,0x6c,0x67])]==_0x4a753c([0x45,0x53,0x32,0x35,0x36])||(_0x3d189e=!0x1);}async function _0x4ed10a(_0x3417c6,_0x5b9d27,_0x45d74d){const _0x97896e=window[_0x4a753c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a753c([0x66,0x72,0x6f,0x6d])](_0x27b569(_0x45d74d),_0x22a4fb=>_0x22a4fb[_0x4a753c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d707e=new window[(_0x4a753c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a753c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3417c6+_0x4a753c([0x2e])+_0x5b9d27),_0x24ec5f=window[_0x4a753c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a753c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24ec5f)return;const _0x23135e=await _0x24ec5f[_0x4a753c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a753c([0x6a,0x77,0x6b]),_0x1d2fb7,{[_0x4a753c([0x6e,0x61,0x6d,0x65])]:_0x4a753c([0x45,0x43,0x44,0x53,0x41]),[_0x4a753c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a753c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a753c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24ec5f[_0x4a753c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a753c([0x6e,0x61,0x6d,0x65])]:_0x4a753c([0x45,0x43,0x44,0x53,0x41]),[_0x4a753c([0x68,0x61,0x73,0x68])]:{[_0x4a753c([0x6e,0x61,0x6d,0x65])]:_0x4a753c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23135e,_0x97896e,_0x2d707e)||(_0x3d189e=!0x1);}}function _0x3ed5f0(_0x5d57f7){return _0x5d57f7[_0x4a753c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a753c([0x65,0x79]))?JSON[_0x4a753c([0x70,0x61,0x72,0x73,0x65])](_0x27b569(_0x5d57f7)):null;}function _0x27b569(_0x4bb4a7){return window[_0x4a753c([0x61,0x74,0x6f,0x62])](_0x4bb4a7[_0x4a753c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a753c([0x2b]))[_0x4a753c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a753c([0x2f])));}function _0x344c19(_0x1ebcf7){let _0x50ea97=0x1505;function _0x106832(_0x2caab8){for(let _0x1fcf25=0x0;_0x1fcf25<_0x2caab8[_0x4a753c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fcf25++){const _0xacc416=_0x2caab8[_0x4a753c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1fcf25);_0x50ea97=(_0x50ea97<<0x5)+_0x50ea97+_0xacc416,_0x50ea97&=_0x50ea97;}}function _0x2b0096(_0x190547){Array[_0x4a753c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x190547)?_0x190547[_0x4a753c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b0096):_0x190547&&typeof _0x190547==_0x4a753c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a753c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x190547)[_0x4a753c([0x73,0x6f,0x72,0x74])]()[_0x4a753c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43f744,_0x151b4a])=>{_0x106832(_0x43f744),_0x2b0096(_0x151b4a);}):_0x106832(window[_0x4a753c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x190547));}return _0x2b0096(_0x1ebcf7),_0x50ea97>>>0x0;}function _0x203883(_0x10f234){return _0x10f234[_0x4a753c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a753c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a753c([0x30]));}function _0xfa3e10(_0x36eb06){return _0x36eb06[_0x4a753c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a753c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a753c([0x6a,0x6f,0x69,0x6e])]('');}function _0x24cf8f(){}function _0x4a753c(_0x1e16fd){return _0x1e16fd['map'](_0x5685d3=>String['fromCharCode'](_0x5685d3))['join']('');}_0x505712(await _0x57e283());}(this);}}function I(_0x183fe1,_0x3b6406,_0x354fcf){let _0x352c0d=_0x3b6406['listMarkers'][_0x183fe1%_0x3b6406['listMarkers']['length']];if(void 0x0===_0x352c0d['showMarkerPath']||_0x352c0d['showMarkerPath'])return _0x354fcf['slice'](0x0,_0x183fe1+0x1)['map']((_0x1537dd,_0x2d6fb5)=>(_0x352c0d=_0x3b6406['listMarkers'][_0x2d6fb5%_0x3b6406['listMarkers']['length']],S(_0x352c0d['marker'],_0x1537dd)))['join']('');{const _0x26e371=_0x354fcf[_0x354fcf['length']-0x1];return S(_0x352c0d['marker'],_0x26e371);}}function S(_0x584c88,_0x2f1cdd){return'function'==typeof _0x584c88?_0x584c88(_0x2f1cdd):_0x584c88;}function N(_0x5d0003,_0x370509){return(_0x2fd185,_0x45312f,_0x42b625)=>{const _0x5a7078=_0x45312f['viewItem'];if(_0x45312f['modelRange']||Object['assign'](_0x45312f,_0x42b625['convertChildren'](_0x45312f['viewItem'],_0x45312f['modelCursor'])),!_0x42b625['consumable']['test'](_0x5a7078,{'classes':_0x5d0003['className']}))return;const _0xb71feb=Array['from'](_0x45312f['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x3cd449=>_0x370509['checkAttribute'](_0x3cd449,'listItemId'));if(!_0xb71feb['length'])return;_0x42b625['consumable']['consume'](_0x5a7078,{'classes':_0x5d0003['className']}),_0x42b625['consumable']['consume'](_0x5a7078,{'classes':'multi-level-list'}),_0x42b625['consumable']['consume'](_0x5a7078,{'styles':'list-style-type'});const _0x3269f8=_0xb71feb[0x0]['getAttribute']('listIndent');for(const _0x52a187 of _0xb71feb)_0x52a187['getAttribute']('listIndent')==_0x3269f8&&(_0x42b625['writer']['setAttribute']('listType',_0x5d0003['listType'],_0x52a187),_0x42b625['writer']['setAttribute']('listMarkerStyle',_0x5d0003['listMarkerStyle'],_0x52a187));};}function _(_0x3e2aeb,_0x1cddda){const _0x4ba5ee=_0x3e2aeb['t'],t=_0x3e2aeb['t'];switch(_0x1cddda){case'Start\x20at':return _0x4ba5ee('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x4ba5ee('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x4ba5ee('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x4ba5ee('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 _0x1cddda;}}class MultiLevelListView extends _0x4c8f1c{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x3560cd();['keystrokes']=new _0x104f18();['focusables']=new _0x277142();['focusCycler'];constructor(_0x71b0f8,{enabledProperties:_0x26ae98,styleButtonViews:_0x1240b2,styleGridAriaLabel:_0x3b6791}){super(_0x71b0f8);const _0xc55213=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x4ed2d4({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x26ae98['styles']?(this['stylesView']=this['_createStylesView'](_0x1240b2,_0x3b6791),this['children']['add'](this['stylesView'])):_0xc55213['push']('ck-multi-level-list-properties_without-styles'),_0x26ae98['startIndex']&&(this['_addListPropertyViews'](_0x26ae98),_0xc55213['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0xc55213},'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 _0x159e0f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x159e0f['element']);_0x435eb3({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x56e66e['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 _0x53066f=_0x432021=>_0x432021['stopPropagation']();this['keystrokes']['set']('arrowright',_0x53066f),this['keystrokes']['set']('arrowleft',_0x53066f),this['keystrokes']['set']('arrowup',_0x53066f),this['keystrokes']['set']('arrowdown',_0x53066f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x113e3c,_0xe9a128){const _0x149ac2=new _0x4c8f1c(this['locale']);return _0x149ac2['children']=_0x149ac2['createCollection'](),_0x149ac2['children']['addMany'](_0x113e3c),_0x149ac2['setTemplate']({'tag':'div','attributes':{'aria-label':_0xe9a128,'class':['ck','ck-multi-level-list-styles']},'children':_0x149ac2['children']}),_0x149ac2['children']['delegate']('execute')['to'](this),_0x149ac2['focus']=function(){this['children']['first']['focus']();},_0x149ac2['focusTracker']=new _0x3560cd(),_0x149ac2['keystrokes']=new _0x104f18(),_0x149ac2['render'](),_0x149ac2['keystrokes']['listenTo'](_0x149ac2['element']),_0x149ac2;}['_addListPropertyViews'](_0x54aca8){const _0x340c1e=[];_0x54aca8['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x340c1e['push'](this['startIndexFieldView'])),_0x54aca8['styles']?(this['additionalPropertiesCollapsibleView']=new _0x81dff5(this['locale'],_0x340c1e),this['additionalPropertiesCollapsibleView']['set']({'label':_(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x340c1e,'isEnabled',(..._0x4b45e7)=>_0x4b45e7['some'](_0x44c773=>_0x44c773)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x5996cb,_0x4a7091,_0x467ae7)=>{_0x467ae7||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x340c1e);}['_createStartIndexField'](){const _0x23ccc0=new _0x5965f2(this['locale'],_0x123cc6);return _0x23ccc0['set']({'label':_(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x23ccc0['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x23ccc0['fieldView']['on']('input',()=>{const _0x9a854c=_0x23ccc0['fieldView']['element'],_0xef0653=_0x9a854c['valueAsNumber'];Number['isNaN'](_0xef0653)?_0x23ccc0['errorText']=_(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x9a854c['checkValidity']()?this['fire']('listStart',{'startIndex':_0xef0653}):_0x23ccc0['errorText']=_(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x23ccc0;}}class MultiLevelListUI extends _0x54e2a1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x271049=this['editor'];_0x271049['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x9ef9de,parentCommandName:_0x4ed216,buttonLabel:_0x497d90,buttonIcon:_0x3db777,styleGridAriaLabel:_0x4e6449,styleDefinitions:_0xf54752}){const _0xd0b51=_0x9ef9de['commands']['get'](_0x4ed216),_0x233267=_0x9ef9de['config']['get']('list.properties')||{},_0x4e06de=_0x9ef9de['plugins']['has']('ListProperties'),_0x9d09de=_0x233267['startIndex'];if(!_0x4e06de||!_0x9d09de)return _0x1412b1=>{const _0x5dd46e=new _0x260de9(_0x1412b1);return _0x5dd46e['set']({'label':_0x497d90,'icon':_0x3db777,'tooltip':!0x0,'isToggleable':!0x0}),_0x5dd46e['bind']('isOn')['to'](_0xd0b51,'value',_0x3ba315=>!!_0x3ba315),_0x5dd46e['on']('execute',()=>{_0x9ef9de['execute'](_0x4ed216),_0x9ef9de['editing']['view']['focus']();}),_0x5dd46e;};return _0x3e8bbc=>{const _0x444796=_0x10bd32(_0x3e8bbc,_0x2c995f),_0x390b9b=_0x444796['buttonView'];return _0x444796['bind']('isEnabled')['to'](_0xd0b51),_0x444796['class']='ck-list-styles-dropdown',_0x390b9b['on']('execute',()=>{_0x9ef9de['execute'](_0x4ed216),_0x9ef9de['editing']['view']['focus']();}),_0x390b9b['set']({'label':_0x497d90,'icon':_0x3db777,'tooltip':!0x0,'isToggleable':!0x0}),_0x390b9b['bind']('isOn')['to'](_0xd0b51,'value',_0x2db887=>!!_0x2db887),_0x444796['once']('change:isOpen',()=>{const _0x1fed96=function({editor:_0x1d4225,dropdownView:_0x380a8d,styleDefinitions:_0xf14f3e,styleGridAriaLabel:_0x4891ab}){const _0x817b45=_0x1d4225['locale'],_0x14d857=_0x1d4225['config']['get']('list.properties'),_0x199f12=null;_0x14d857['reversed']=!0x1,_0xf14f3e['length']||(_0x14d857['styles']=!0x1);const _0x4e9306=new MultiLevelListView(_0x817b45,{'styleGridAriaLabel':_0x4891ab,'enabledProperties':_0x14d857,'styleButtonViews':_0x199f12});if(_0x14d857['startIndex']){const _0x266a42=_0x1d4225['commands']['get']('listStart');_0x4e9306['startIndexFieldView']['bind']('isEnabled')['to'](_0x266a42),_0x4e9306['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x266a42),_0x4e9306['on']('listStart',(_0x14cdc4,_0x31b04c)=>_0x1d4225['execute']('listStart',_0x31b04c));}return _0x4e9306['delegate']('execute')['to'](_0x380a8d),_0x4e9306;}({'editor':_0x9ef9de,'dropdownView':_0x444796,'styleGridAriaLabel':_0x4e6449,'styleDefinitions':_0xf54752});_0x444796['panelView']['children']['add'](_0x1fed96);}),_0x444796['on']('execute',()=>{_0x9ef9de['editing']['view']['focus']();}),_0x444796;};}({'editor':_0x271049,'parentCommandName':'multiLevelList','buttonLabel':_(_0x271049['locale'],'Multi-level\x20List'),'buttonIcon':_0x51d8b6,'styleGridAriaLabel':_(_0x271049['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x271049['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0xd8f7be=_0x271049['commands']['get']('multiLevelList'),_0x249e2a=new _0x32836d(_0x271049['locale']);return _0x249e2a['set']({'label':_(_0x271049['locale'],'Multi-level\x20List'),'icon':_0x51d8b6}),_0x249e2a['bind']('isEnabled')['to'](_0xd8f7be),_0x249e2a['bind']('isOn')['to'](_0xd8f7be,'value',_0x5d9d65=>!!_0x5d9d65),_0x249e2a['on']('execute',()=>{_0x271049['execute']('multiLevelList'),_0x271049['editing']['view']['focus']();}),_0x249e2a;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x575d7a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x508e35;for(const _0x132f2f in _0x575d7a){const _0x4315e0=_0x132f2f,_0x6cda11=_0x575d7a[_0x4315e0];if('multiLevelListLicenseKeyValid'==_0x6cda11||'multiLevelListLicenseKeyInvalid'==_0x6cda11||'multiLevelListLicenseKeyExpired'==_0x6cda11||'multiLevelListLicenseKeyDomainLimit'==_0x6cda11||'multiLevelListLicenseKeyNotAllowed'==_0x6cda11||'multiLevelListLicenseKeyEvaluationLimit'==_0x6cda11||'multiLevelListLicenseKeyUsageLimit'==_0x6cda11){delete _0x575d7a[_0x4315e0],_0x508e35=_0x6cda11,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x508e35&&_0x575d7a['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x508e35&&_0x575d7a['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x508e35&&_0x575d7a['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x508e35&&_0x575d7a['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x508e35&&_0x575d7a['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x508e35&&_0x575d7a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x54e2a1{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}export{MultiLevelList,MultiLevelListCommand,MultiLevelListEditing,MultiLevelListUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list-multi-level",
|
|
3
|
-
"version": "48.2.0-alpha.
|
|
3
|
+
"version": "48.2.0-alpha.5",
|
|
4
4
|
"description": "Multi-level list feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ckeditor/ckeditor5-clipboard": "48.2.0-alpha.
|
|
36
|
-
"@ckeditor/ckeditor5-core": "48.2.0-alpha.
|
|
37
|
-
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.
|
|
38
|
-
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.
|
|
39
|
-
"@ckeditor/ckeditor5-list": "48.2.0-alpha.
|
|
40
|
-
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.
|
|
41
|
-
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.
|
|
35
|
+
"@ckeditor/ckeditor5-clipboard": "48.2.0-alpha.5",
|
|
36
|
+
"@ckeditor/ckeditor5-core": "48.2.0-alpha.5",
|
|
37
|
+
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.5",
|
|
38
|
+
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.5",
|
|
39
|
+
"@ckeditor/ckeditor5-list": "48.2.0-alpha.5",
|
|
40
|
+
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.5",
|
|
41
|
+
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.5"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|