@ckeditor/ckeditor5-line-height 48.0.1-alpha.0 → 48.0.1
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 +7 -7
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x2b6f01,Plugin as _0x4326a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3fda76,CKEditorError as _0x16f124,uid as _0x1cb50f,Collection as _0x28a42b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0xc60220,isPercentageStyleValue as _0x412edf}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3f2ad2,createDropdown as _0x10f1c2,addListToDropdown as _0x1ff4f1,MenuBarMenuView as _0x27ceda,MenuBarMenuListView as _0x54a61f,MenuBarMenuListItemView as _0x46849d,MenuBarMenuListItemButtonView as _0x5c5604}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x4659e3}from'@ckeditor/ckeditor5-icons/dist/index.js';class p extends _0x2b6f01{['refresh'](){const _0x5cca2b=this['editor']['model']['document'],_0x25eba1=_0x3fda76(_0x5cca2b['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x25eba1)&&this['_canHaveLineHeight'](_0x25eba1),this['value']=this['isEnabled']&&_0x25eba1['getAttribute']('lineHeight');}['execute'](_0x14c66b={}){const _0x3d3450=this['editor']['model'],_0x3cef97=_0x3d3450['document']['selection'],_0xbcc35a=_0x14c66b['value'];_0x3d3450['change'](_0x352151=>{const _0x596007=Array['from'](_0x3cef97['getSelectedBlocks']())['filter'](_0x589717=>this['_canHaveLineHeight'](_0x589717));for(const _0x5d5e2a of _0x596007)_0xbcc35a?_0x352151['setAttribute']('lineHeight',_0xbcc35a,_0x5d5e2a):_0x352151['removeAttribute']('lineHeight',_0x5d5e2a);});}['_canHaveLineHeight'](_0x20b987){return this['editor']['model']['schema']['checkAttribute'](_0x20b987,'lineHeight');}}const y={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0x57cdcf){return'string'==typeof _0x57cdcf&&'default'===_0x57cdcf['toLowerCase']();}function L(_0x1ca4f0){return _0x1ca4f0['options']['map'](_0x18af6f=>{return H(_0x18af6f)?{'title':String(_0x1ca4f0['defaultValue']),'model':'default'}:('number'==typeof _0x18af6f&&(_0x18af6f=String(_0x18af6f)),'string'!=typeof _0x18af6f?_0x18af6f:parseFloat(_0x18af6f)?{'title':_0x18af6f,'model':_0x18af6f,'view':{'name':'span','styles':{'line-height':_0x18af6f}}}:'string'==typeof(_0x58fac2=_0x18af6f)?y[_0x58fac2]:y[_0x58fac2['model']]);var _0x58fac2;})['filter'](_0x1a8ca5=>void 0x0!==_0x1a8ca5);}class v extends _0x4326a0{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5e2c7e,conversion:_0x578bea}=this['editor'];if(!_0x5e2c7e['has']('ListEditing')||!_0x5e2c7e['has']('TodoListEditing'))return;_0x5e2c7e['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x1830b9,_0x1c197e,_0x1c73b7,_0x5d5cb4,_0x2b62e6){'todo'==_0x2b62e6['getAttribute']('listType')&&_0x1c197e&&(_0x1830b9['addClass']('ck-list-marker-line-height',_0x1c73b7),_0x1830b9['setStyle']('--ck-content-list-marker-line-height',_0x1c197e,_0x1c73b7));}}),_0x578bea['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x578bea['for']('upcast')['add'](_0x149546=>{_0x149546['on']('element:li',function(_0x3bfe78){const _0x4bed47=new _0xc60220(_0x3bfe78);return(_0x158077,_0x26c7d1,_0x29d793)=>{const _0x105cd3=_0x4bed47['match'](_0x26c7d1['viewItem']);if(!_0x105cd3)return;const _0x205826=_0x105cd3['match'];_0x205826['name']=!0x1,_0x29d793['consumable']['consume'](_0x26c7d1['viewItem'],_0x205826);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class b extends _0x4326a0{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3b7997){super(_0x3b7997),_0x3b7997['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0xf92934=this['editor'];this['_validateConfig'](),_0xf92934['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0xf92934['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0xf92934['commands']['add']('lineHeight',new p(_0xf92934)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x6497ce){const _0x362515=_0x59c7c7([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x254903=0x45ddd215,_0x39c435=0x45da55f5^_0x254903,_0x234465=window[_0x59c7c7([0x44,0x61,0x74,0x65])][_0x59c7c7([0x6e,0x6f,0x77])](),_0x363332=_0x6497ce[_0x59c7c7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f4baa=new window[(_0x59c7c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c2fab=>{_0x363332[_0x59c7c7([0x6f,0x6e,0x63,0x65])](_0x59c7c7([0x72,0x65,0x61,0x64,0x79]),_0x3c2fab);}),_0x50915a={[_0x59c7c7([0x6b,0x74,0x79])]:_0x59c7c7([0x45,0x43]),[_0x59c7c7([0x75,0x73,0x65])]:_0x59c7c7([0x73,0x69,0x67]),[_0x59c7c7([0x63,0x72,0x76])]:_0x59c7c7([0x50,0x2d,0x32,0x35,0x36]),[_0x59c7c7([0x78])]:_0x59c7c7([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]),[_0x59c7c7([0x79])]:_0x59c7c7([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]),[_0x59c7c7([0x61,0x6c,0x67])]:_0x59c7c7([0x45,0x53,0x32,0x35,0x36])},_0x56ab13=_0x363332[_0x59c7c7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59c7c7([0x67,0x65,0x74])](_0x59c7c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x286b7a(){let _0x2e5ffb,_0x1dfe22=null,_0x209f2c=null;try{if(_0x56ab13==_0x59c7c7([0x47,0x50,0x4c]))return _0x59c7c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e5ffb=_0x31abb3(),!_0x2e5ffb)return _0x59c7c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e5ffb[_0x59c7c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x209f2c=_0x32c126(_0x2e5ffb[_0x59c7c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e5ffb[_0x59c7c7([0x6a,0x74,0x69])])),await _0x40d09a()?_0x54f575()?_0x335962()?_0x59c7c7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x115e6d()?(_0x2e5ffb[_0x59c7c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59c7c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1dfe22=_0x1ff840(_0x59c7c7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x254406()):_0x59c7c7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59c7c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59c7c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x59c7c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x335962(){const _0x4f2bd1=[_0x59c7c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59c7c7([0x74,0x72,0x69,0x61,0x6c])][_0x59c7c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e5ffb[_0x59c7c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x234465/0x3e8:0xe10*_0x39c435;return _0x2e5ffb[_0x59c7c7([0x65,0x78,0x70])]<_0x4f2bd1;}function _0x54f575(){const _0x1a57c8=_0x2e5ffb[_0x59c7c7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a57c8&&(!!_0x1a57c8[_0x59c7c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59c7c7([0x2a]))||!!_0x1a57c8[_0x59c7c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59c7c7([0x4c,0x48])));}function _0x115e6d(){const _0x266149=_0x2e5ffb[_0x59c7c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x266149||0x0==_0x266149[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9f7b9f}=new URL(window[_0x59c7c7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x266149[_0x59c7c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f7b9f))return!0x0;const _0x3d7ab4=_0x9f7b9f[_0x59c7c7([0x73,0x70,0x6c,0x69,0x74])](_0x59c7c7([0x2e]));return _0x266149[_0x59c7c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x616628=>_0x616628[_0x59c7c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59c7c7([0x2a])))[_0x59c7c7([0x6d,0x61,0x70])](_0x1c982f=>_0x1c982f[_0x59c7c7([0x73,0x70,0x6c,0x69,0x74])](_0x59c7c7([0x2e])))[_0x59c7c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x320903=>_0x320903[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d7ab4[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59c7c7([0x6d,0x61,0x70])](_0x2843bb=>Array(_0x3d7ab4[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2843bb[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59c7c7([0x66,0x69,0x6c,0x6c])](_0x2843bb[0x0]===_0x59c7c7([0x2a])?_0x59c7c7([0x2a]):'')[_0x59c7c7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2843bb))[_0x59c7c7([0x73,0x6f,0x6d,0x65])](_0x5221da=>_0x3d7ab4[_0x59c7c7([0x65,0x76,0x65,0x72,0x79])]((_0xcfbc7f,_0x23ecb6)=>_0x5221da[_0x23ecb6]===_0xcfbc7f||_0x5221da[_0x23ecb6]===_0x59c7c7([0x2a])));}function _0x254406(){return _0x1dfe22&&_0x209f2c?new window[(_0x59c7c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x607538,_0x4adca2)=>{_0x1dfe22[_0x59c7c7([0x74,0x68,0x65,0x6e])](_0x607538,_0x4adca2),_0x209f2c[_0x59c7c7([0x74,0x68,0x65,0x6e])](_0x53db17=>{_0x53db17!=_0x59c7c7([0x56,0x61,0x6c,0x69,0x64])&&_0x607538(_0x53db17);},_0x4adca2);}):_0x1dfe22||_0x209f2c||_0x59c7c7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32c126(_0x5d4487,_0xe5fd4){return new window[(_0x59c7c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b027=>{if(_0x5f22b7())return _0x33b027(_0x59c7c7([0x56,0x61,0x6c,0x69,0x64]));_0x430183(),_0x363332[_0x59c7c7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59c7c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52454f=!0x1;const _0x983466=_0x1cb50f();function _0x16f7c6(_0x3ab906){return!!_0x3ab906&&(typeof _0x3ab906===_0x59c7c7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ab906===_0x59c7c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ab906[_0x59c7c7([0x74,0x68,0x65,0x6e])]===_0x59c7c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ab906[_0x59c7c7([0x63,0x61,0x74,0x63,0x68])]===_0x59c7c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b02e7(_0x51ae7f){_0xdf075d(_0x51ae7f)[_0x59c7c7([0x74,0x68,0x65,0x6e])](_0x3c6f36=>{if(!_0x3c6f36||_0x3c6f36[_0x59c7c7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59c7c7([0x6f,0x6b]))return _0x59c7c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51cac6(_0x3df491(_0x983466+_0xe5fd4))!=_0x3c6f36[_0x59c7c7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59c7c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59c7c7([0x56,0x61,0x6c,0x69,0x64]);})[_0x59c7c7([0x74,0x68,0x65,0x6e])](_0x498d75=>(_0x1e6405(),_0x498d75),()=>{const _0x3de132=_0x1adc3c();return null==_0x3de132?(_0x1e6405(),_0x59c7c7([0x56,0x61,0x6c,0x69,0x64])):_0x59c7c7(_0x234465-_0x3de132>(0x61d15615^_0x254903)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59c7c7([0x74,0x68,0x65,0x6e])](_0x33b027)[_0x59c7c7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33b027(_0x59c7c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x288c5c=0x45eb3c95^_0x254903;function _0x1e6405(){const _0x1dabc9=_0x59c7c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x51cac6(_0x3df491(_0x5d4487)),_0x2cc71d=_0x5a0f0a(_0x51cac6(window[_0x59c7c7([0x4d,0x61,0x74,0x68])][_0x59c7c7([0x63,0x65,0x69,0x6c])](_0x234465/_0x288c5c)));window[_0x59c7c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59c7c7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dabc9,_0x2cc71d);}function _0x1adc3c(){const _0x26f1cf=_0x59c7c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x51cac6(_0x3df491(_0x5d4487)),_0x24ab1a=window[_0x59c7c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59c7c7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26f1cf);return _0x24ab1a?window[_0x59c7c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a0f0a(_0x24ab1a),0x10)*_0x288c5c:null;}function _0xdf075d(_0x2fa128){return new window[(_0x59c7c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x168cc7,_0x474d17)=>{_0x2fa128[_0x59c7c7([0x74,0x68,0x65,0x6e])](_0x168cc7,_0x474d17),window[_0x59c7c7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x474d17,0x45dc06d5^_0x254903);});}}_0x363332[_0x59c7c7([0x6f,0x6e])](_0x59c7c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc46ceb,_0x1a0210)=>{if(_0x1a0210[0x0]!=_0x5d4487)return _0x33b027(_0x59c7c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a0210[0x1]={..._0x1a0210[0x1],[_0x59c7c7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x983466};},{[_0x59c7c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59c7c7([0x68,0x69,0x67,0x68])}),_0x363332[_0x59c7c7([0x6f,0x6e])](_0x59c7c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf695f8=>{_0x16f7c6(_0xf695f8[_0x59c7c7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52454f=!0x0,_0x4b02e7(_0xf695f8[_0x59c7c7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59c7c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59c7c7([0x6c,0x6f,0x77])}),_0x3f4baa[_0x59c7c7([0x74,0x68,0x65,0x6e])](()=>{_0x52454f||_0x33b027(_0x59c7c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f22b7(){return _0x363332[_0x59c7c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59c7c7([0x76,0x69,0x65,0x77])][_0x59c7c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59c7c7([0x61,0x75,0x74,0x6f]);}function _0x430183(){_0x363332[_0x59c7c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59c7c7([0x76,0x69,0x65,0x77])][_0x59c7c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59c7c7([0x61,0x75,0x74,0x6f]);}}function _0x1ff840(_0x2bba18){const _0x3573db=[new window[(_0x59c7c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x551ee8=>setTimeout(_0x551ee8,0x45d4ecd9^_0x254903)),_0x3f4baa[_0x59c7c7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59c7c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x521459=>{let _0x5fc5f5=0x0;_0x363332[_0x59c7c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x59c7c7([0x6f,0x6e])](_0x59c7c7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2519e2,_0x4700b3)=>{_0x4700b3[0x0][_0x59c7c7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5fc5f5++,_0x5fc5f5==(0x45ddd7fd^_0x254903)&&(_0x521459(),_0x2519e2[_0x59c7c7([0x6f,0x66,0x66])]());});}))];return window[_0x59c7c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59c7c7([0x72,0x61,0x63,0x65])](_0x3573db)[_0x59c7c7([0x74,0x68,0x65,0x6e])](()=>_0x2bba18);}async function _0x2b064e(){await _0x3f4baa,_0x363332[_0x59c7c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x59c7c7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x517409,_0x363332[_0x59c7c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x59c7c7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x517409,_0x363332[_0x59c7c7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59c7c7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3bb910(_0x1a05f1){const _0x433520=_0x5401cd();_0x363332[_0x433520]=_0x59c7c7([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a05f1,_0x1a05f1!=_0x59c7c7([0x56,0x61,0x6c,0x69,0x64])&&_0x2b064e();}function _0x5401cd(){const _0x47c2c4=window[_0x59c7c7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59c7c7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59c7c7([0x6e,0x6f,0x77])]())[_0x59c7c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59c7c7([0x2e]),'');let _0x1810bb=_0x59c7c7([0x50]);for(let _0x133310=0x0;_0x133310<_0x47c2c4[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x133310+=0x2){let _0x4da43f=window[_0x59c7c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47c2c4[_0x59c7c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x133310,_0x133310+0x2));_0x4da43f>=_0x362515[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4da43f-=_0x362515[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1810bb+=_0x362515[_0x4da43f];}return _0x1810bb;}function _0x31abb3(){const _0x181564=_0x56ab13[_0x59c7c7([0x73,0x70,0x6c,0x69,0x74])](_0x59c7c7([0x2e]));if(0x3!=_0x181564[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x88ff2e(_0x181564[0x1]);function _0x88ff2e(_0x1be255){const _0x18e227=_0x363e0b(_0x1be255);return _0x18e227&&_0x2b0d1a()?_0x18e227:null;function _0x2b0d1a(){const _0x43b22f=_0x18e227[_0x59c7c7([0x6a,0x74,0x69])],_0xafc498=window[_0x59c7c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43b22f[_0x59c7c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43b22f[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11715c={..._0x18e227,[_0x59c7c7([0x6a,0x74,0x69])]:_0x43b22f[_0x59c7c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43b22f[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11715c[_0x59c7c7([0x76,0x63])],_0x3df491(_0x11715c)==_0xafc498;}}}async function _0x40d09a(){let _0x3cb7a1=!0x0;try{const _0x1d4932=_0x56ab13[_0x59c7c7([0x73,0x70,0x6c,0x69,0x74])](_0x59c7c7([0x2e])),[_0x5539ed,_0x41b829,_0x56afd6]=_0x1d4932;return _0x12e7c4(_0x5539ed),await _0x3fd824(_0x5539ed,_0x41b829,_0x56afd6),_0x3cb7a1;}catch{return!0x1;}function _0x12e7c4(_0x408735){const _0x33e496=_0x363e0b(_0x408735);_0x33e496&&_0x33e496[_0x59c7c7([0x61,0x6c,0x67])]==_0x59c7c7([0x45,0x53,0x32,0x35,0x36])||(_0x3cb7a1=!0x1);}async function _0x3fd824(_0x7ea0b4,_0x4b1e53,_0x3c0f76){const _0x3751ba=window[_0x59c7c7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59c7c7([0x66,0x72,0x6f,0x6d])](_0x2dace4(_0x3c0f76),_0x24cf28=>_0x24cf28[_0x59c7c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x159bb1=new window[(_0x59c7c7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59c7c7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7ea0b4+_0x59c7c7([0x2e])+_0x4b1e53),_0x3af25d=window[_0x59c7c7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59c7c7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3af25d)return;const _0x197544=await _0x3af25d[_0x59c7c7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59c7c7([0x6a,0x77,0x6b]),_0x50915a,{[_0x59c7c7([0x6e,0x61,0x6d,0x65])]:_0x59c7c7([0x45,0x43,0x44,0x53,0x41]),[_0x59c7c7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59c7c7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59c7c7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3af25d[_0x59c7c7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59c7c7([0x6e,0x61,0x6d,0x65])]:_0x59c7c7([0x45,0x43,0x44,0x53,0x41]),[_0x59c7c7([0x68,0x61,0x73,0x68])]:{[_0x59c7c7([0x6e,0x61,0x6d,0x65])]:_0x59c7c7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x197544,_0x3751ba,_0x159bb1)||(_0x3cb7a1=!0x1);}}function _0x363e0b(_0x463ae5){return _0x463ae5[_0x59c7c7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59c7c7([0x65,0x79]))?JSON[_0x59c7c7([0x70,0x61,0x72,0x73,0x65])](_0x2dace4(_0x463ae5)):null;}function _0x2dace4(_0xb67d72){return window[_0x59c7c7([0x61,0x74,0x6f,0x62])](_0xb67d72[_0x59c7c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59c7c7([0x2b]))[_0x59c7c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59c7c7([0x2f])));}function _0x3df491(_0x1b5bb4){let _0x26e36f=0x1505;function _0x28c7a2(_0x15ad13){for(let _0x2e9a8e=0x0;_0x2e9a8e<_0x15ad13[_0x59c7c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e9a8e++){const _0x4f44f5=_0x15ad13[_0x59c7c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e9a8e);_0x26e36f=(_0x26e36f<<0x5)+_0x26e36f+_0x4f44f5,_0x26e36f&=_0x26e36f;}}function _0x955118(_0x230779){Array[_0x59c7c7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x230779)?_0x230779[_0x59c7c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x955118):_0x230779&&typeof _0x230779==_0x59c7c7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59c7c7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x230779)[_0x59c7c7([0x73,0x6f,0x72,0x74])]()[_0x59c7c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xcf137b,_0x596bcb])=>{_0x28c7a2(_0xcf137b),_0x955118(_0x596bcb);}):_0x28c7a2(window[_0x59c7c7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x230779));}return _0x955118(_0x1b5bb4),_0x26e36f>>>0x0;}function _0x51cac6(_0x34486c){return _0x34486c[_0x59c7c7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59c7c7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59c7c7([0x30]));}function _0x5a0f0a(_0x3a1266){return _0x3a1266[_0x59c7c7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59c7c7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59c7c7([0x6a,0x6f,0x69,0x6e])]('');}function _0x517409(){}function _0x59c7c7(_0x3ac42a){return _0x3ac42a['map'](_0x445037=>String['fromCharCode'](_0x445037))['join']('');}_0x3bb910(await _0x286b7a());}(this);}['_validateConfig'](){const _0x4f0f6e=this['editor'];if(!_0x4f0f6e['config']['get']('lineHeight.supportAllValues'))return;const _0x25726d=_0x4f0f6e['config']['get']('lineHeight.options')['filter'](_0x17d98d=>'string'==typeof _0x17d98d&&(!H(_0x17d98d)&&isNaN(Number(_0x17d98d))));if(_0x25726d['length'])throw new _0x16f124('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x25726d});}['_prepareAnyValueConverters'](){const _0x40ec86=this['editor'],_0x47d6b9=this['editor']['config']['get']('lineHeight.defaultValue');_0x40ec86['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x2596bb=>String(_0x2596bb)===String(_0x47d6b9)?null:{'key':'style','value':{'line-height':_0x2596bb}}}),_0x40ec86['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x3f0234=>{let _0x475a1b=_0x3f0234['getStyle']('line-height');return _0x412edf(_0x475a1b)&&(_0x475a1b=String(Number(_0x475a1b['slice'](0x0,-0x1))/0x64)),String(_0x475a1b)===String(_0x47d6b9)?null:_0x475a1b;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x19991e=this['editor'],_0x411f53=this['editor']['config']['get']('lineHeight.defaultValue'),_0xb15e73=function(_0x416532,_0x422394){const _0x49f07c={'model':{'key':_0x416532,'values':[]},'view':{}};for(const _0x2e073d of _0x422394)'class'===_0x2e073d['view']?.['key']?(_0x49f07c['model']['values']['push'](_0x2e073d['model']),_0x49f07c['view'][_0x2e073d['model']]={'key':'class','value':_0x2e073d['view']['value']}):(_0x49f07c['model']['values']['push'](_0x2e073d['model']),_0x49f07c['view'][_0x2e073d['model']]={'key':'style','value':'line-height:'+_0x2e073d['model']+';'});return _0x49f07c;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0xcf269d=>_0xcf269d['model']));_0x19991e['conversion']['attributeToAttribute'](_0xb15e73),_0x19991e['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1a2daa=>{let _0x226c80=_0x1a2daa['getStyle']('line-height');return _0x412edf(_0x226c80)&&(_0x226c80=String(Number(_0x226c80['slice'](0x0,-0x1))/0x64)),_0x226c80===String(_0x411f53)?null:_0xb15e73['model']['values']['includes'](_0x226c80)?_0x226c80:null;}}});}}class k extends _0x4326a0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1832aa={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1832aa),this['_registerMenuBarComponent'](_0x1832aa),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13bfd3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ec4f0;for(const _0x1ce32f in _0x13bfd3){const _0x12bd8e=_0x1ce32f,_0x270a9f=_0x13bfd3[_0x12bd8e];if('lineHeightLicenseKeyValid'==_0x270a9f||'lineHeightLicenseKeyInvalid'==_0x270a9f||'lineHeightLicenseKeyExpired'==_0x270a9f||'lineHeightLicenseKeyDomainLimit'==_0x270a9f||'lineHeightLicenseKeyNotAllowed'==_0x270a9f||'lineHeightLicenseKeyEvaluationLimit'==_0x270a9f||'lineHeightLicenseKeyUsageLimit'==_0x270a9f){delete _0x13bfd3[_0x12bd8e],_0x3ec4f0=_0x270a9f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3ec4f0&&_0x13bfd3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3ec4f0&&_0x13bfd3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3ec4f0&&_0x13bfd3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3ec4f0&&_0x13bfd3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3ec4f0&&_0x13bfd3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3ec4f0&&_0x13bfd3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1994fc=this['editor'],t=_0x1994fc['t'],_0x25affb=_0x1994fc['config']['get']('lineHeight'),_0x46d776={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x25affb)['map'](_0x4b2725=>{const _0x346e3d=_0x46d776[_0x4b2725['title']];return _0x346e3d&&_0x346e3d!=_0x4b2725['title']&&(_0x4b2725=Object['assign']({},_0x4b2725,{'title':_0x346e3d})),_0x4b2725;});}['_prepareListOptions'](){const _0x28190b=this['editor']['commands']['get']('lineHeight'),_0x3b9e62=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1e0306=this['_getLocalizedLineHeightOptions'](),_0x48af21=new _0x28a42b(),_0x4763cf=_0x24b787=>'default'===_0x24b787||String(_0x3b9e62)===_0x24b787;for(const _0x2b345f of _0x1e0306){const _0x4417b2={'type':'button','model':new _0x3f2ad2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2b345f['title'],'withText':!0x0})};_0x4763cf(_0x2b345f['model'])?(_0x4417b2['model']['bind']('isOn')['to'](_0x28190b,'value',_0x273ab5=>!_0x273ab5),_0x4417b2['model']['commandParam']=void 0x0):(_0x4417b2['model']['bind']('isOn')['to'](_0x28190b,'value',_0x43ce4a=>_0x43ce4a===_0x2b345f['model']),_0x4417b2['model']['commandParam']=_0x2b345f['model']),_0x48af21['add'](_0x4417b2);}if(this['_shouldRenderCustomValueOption']()){const _0x135d8c=this['_getCustomValueOptionDefinition'](_0x1e0306);_0x48af21['add'](_0x135d8c);}return _0x48af21;}['_getCustomValueOptionDefinition'](_0x25fe73){const _0x47d36e=this['editor'],t=_0x47d36e['t'],_0x31081b=_0x47d36e['commands']['get']('lineHeight'),_0x5f1bd0=_0x25fe73['map'](_0xaee541=>_0xaee541['model']),_0x3482fc={'type':'button','model':new _0x3f2ad2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3482fc['model']['bind']('commandParam')['to'](_0x31081b,'value'),_0x3482fc['model']['bind']('isOn')['to'](_0x31081b,'value',_0x342457=>!!_0x342457&&!_0x5f1bd0['includes'](String(_0x342457))),_0x3482fc['model']['bind']('label')['to'](_0x31081b,'value',_0x56c2b5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x56c2b5))),_0x3482fc;}['_registerToolbarComponent']({accessibleLabel:_0xfcc14f,options:_0x2375ad}){const _0x58585e=this['editor'],_0x291829=_0x58585e['commands']['get']('lineHeight');_0x58585e['ui']['componentFactory']['add']('lineHeight',_0x127457=>{const _0x4f2cbd=_0x10f1c2(_0x127457);return _0x1ff4f1(_0x4f2cbd,_0x2375ad,{'role':'menu','ariaLabel':_0xfcc14f}),_0x4f2cbd['buttonView']['set']({'label':_0xfcc14f,'tooltip':!0x0,'icon':_0x4659e3}),_0x4f2cbd['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4f2cbd['bind']('isEnabled')['to'](_0x291829),this['listenTo'](_0x4f2cbd,'execute',_0x21369f=>{_0x58585e['execute'](_0x21369f['source']['commandName'],{'value':_0x21369f['source']['commandParam']}),_0x58585e['editing']['view']['focus']();}),_0x4f2cbd['once']('change:isOpen',()=>{const _0x5007d9=_0x4f2cbd['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4f2cbd,_0x2375ad,_0x5007d9);}),_0x4f2cbd;});}['_registerMenuBarComponent']({accessibleLabel:_0x4bca8c,options:_0x56a491}){const _0x59833c=this['editor'],_0x144a1f=_0x59833c['commands']['get']('lineHeight');_0x59833c['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2300eb=>{const _0x117610=new _0x27ceda(_0x2300eb);_0x117610['buttonView']['set']({'label':_0x4bca8c,'icon':_0x4659e3}),_0x117610['bind']('isEnabled')['to'](_0x144a1f);const _0x1f4724=new _0x54a61f(_0x2300eb);for(const _0x2c2f69 of _0x56a491){const _0xa015fa=new _0x46849d(_0x2300eb,_0x117610),_0x17c2c2=new _0x5c5604(_0x2300eb);_0x17c2c2['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x17c2c2['bind'](...Object['keys'](_0x2c2f69['model']))['to'](_0x2c2f69['model']),_0x17c2c2['delegate']('execute')['to'](_0x117610),_0x17c2c2['on']('execute',()=>{_0x59833c['execute'](_0x2c2f69['model']['commandName'],{'value':_0x2c2f69['model']['commandParam']}),_0x59833c['editing']['view']['focus']();}),_0xa015fa['children']['add'](_0x17c2c2),_0x1f4724['items']['add'](_0xa015fa);}return _0x117610['panelView']['children']['add'](_0x1f4724),this['_attachCustomOptionVisibilityHandler'](_0x117610,_0x56a491,_0x1f4724),_0x117610;});}['_attachCustomOptionVisibilityHandler'](_0x2772e3,_0x48610e,_0x1de471){if(!this['_shouldRenderCustomValueOption']())return;const _0x360b6b=()=>{if(!_0x2772e3['isOpen'])return;_0x1de471['items']['last']['isVisible']=Boolean(_0x48610e['last']['model']['isOn']);};_0x360b6b(),_0x2772e3['on']('change:isOpen',()=>{_0x360b6b();});}}class _ extends _0x4326a0{static get['requires'](){return[b,k];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,p as LineHeightCommand,b as LineHeightEditing,v as LineHeightTodoListIntegration,k as LineHeightUI};
|
|
23
|
+
import{Command as _0x1a3416,Plugin as _0x149f03}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x45cb28,CKEditorError as _0x257cc0,uid as _0x4c7a57,Collection as _0x23d1f6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x1fad3d,isPercentageStyleValue as _0x465ebe}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x1c88a8,createDropdown as _0x31b67c,addListToDropdown as _0x472a8c,MenuBarMenuView as _0x2c9489,MenuBarMenuListView as _0x14317f,MenuBarMenuListItemView as _0x3ebdff,MenuBarMenuListItemButtonView as _0x33ce9f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x556d2a}from'@ckeditor/ckeditor5-icons/dist/index.js';class p extends _0x1a3416{['refresh'](){const _0x286197=this['editor']['model']['document'],_0xa72a62=_0x45cb28(_0x286197['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xa72a62)&&this['_canHaveLineHeight'](_0xa72a62),this['value']=this['isEnabled']&&_0xa72a62['getAttribute']('lineHeight');}['execute'](_0x550a1c={}){const _0x8b84d1=this['editor']['model'],_0x276412=_0x8b84d1['document']['selection'],_0x33e5fd=_0x550a1c['value'];_0x8b84d1['change'](_0xa746d0=>{const _0x15780c=Array['from'](_0x276412['getSelectedBlocks']())['filter'](_0x413ed4=>this['_canHaveLineHeight'](_0x413ed4));for(const _0x154563 of _0x15780c)_0x33e5fd?_0xa746d0['setAttribute']('lineHeight',_0x33e5fd,_0x154563):_0xa746d0['removeAttribute']('lineHeight',_0x154563);});}['_canHaveLineHeight'](_0x58b632){return this['editor']['model']['schema']['checkAttribute'](_0x58b632,'lineHeight');}}const y={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0xe36889){return'string'==typeof _0xe36889&&'default'===_0xe36889['toLowerCase']();}function L(_0x4efac3){return _0x4efac3['options']['map'](_0x20baa1=>{return H(_0x20baa1)?{'title':String(_0x4efac3['defaultValue']),'model':'default'}:('number'==typeof _0x20baa1&&(_0x20baa1=String(_0x20baa1)),'string'!=typeof _0x20baa1?_0x20baa1:parseFloat(_0x20baa1)?{'title':_0x20baa1,'model':_0x20baa1,'view':{'name':'span','styles':{'line-height':_0x20baa1}}}:'string'==typeof(_0x4f146d=_0x20baa1)?y[_0x4f146d]:y[_0x4f146d['model']]);var _0x4f146d;})['filter'](_0x10b539=>void 0x0!==_0x10b539);}class v extends _0x149f03{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x204079,conversion:_0x143a62}=this['editor'];if(!_0x204079['has']('ListEditing')||!_0x204079['has']('TodoListEditing'))return;_0x204079['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x11158c,_0x22bddd,_0x1c53cc,_0x325a28,_0x836faa){'todo'==_0x836faa['getAttribute']('listType')&&_0x22bddd&&(_0x11158c['addClass']('ck-list-marker-line-height',_0x1c53cc),_0x11158c['setStyle']('--ck-content-list-marker-line-height',_0x22bddd,_0x1c53cc));}}),_0x143a62['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x143a62['for']('upcast')['add'](_0xf605a4=>{_0xf605a4['on']('element:li',function(_0x164c06){const _0x5746cb=new _0x1fad3d(_0x164c06);return(_0x409b26,_0x1a2803,_0x371f89)=>{const _0x4c4935=_0x5746cb['match'](_0x1a2803['viewItem']);if(!_0x4c4935)return;const _0x2a8ecd=_0x4c4935['match'];_0x2a8ecd['name']=!0x1,_0x371f89['consumable']['consume'](_0x1a2803['viewItem'],_0x2a8ecd);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class b extends _0x149f03{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e380a){super(_0x5e380a),_0x5e380a['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x86de36=this['editor'];this['_validateConfig'](),_0x86de36['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x86de36['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x86de36['commands']['add']('lineHeight',new p(_0x86de36)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x25ce6e){const _0x236715=_0x24bd2f([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x389f31=0x45ddd215,_0xa98cbc=0x45da55ed^_0x389f31,_0x51a2fe=window[_0x24bd2f([0x44,0x61,0x74,0x65])][_0x24bd2f([0x6e,0x6f,0x77])](),_0x3686a3=_0x25ce6e[_0x24bd2f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x311267=new window[(_0x24bd2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb49b82=>{_0x3686a3[_0x24bd2f([0x6f,0x6e,0x63,0x65])](_0x24bd2f([0x72,0x65,0x61,0x64,0x79]),_0xb49b82);}),_0x3c1231={[_0x24bd2f([0x6b,0x74,0x79])]:_0x24bd2f([0x45,0x43]),[_0x24bd2f([0x75,0x73,0x65])]:_0x24bd2f([0x73,0x69,0x67]),[_0x24bd2f([0x63,0x72,0x76])]:_0x24bd2f([0x50,0x2d,0x32,0x35,0x36]),[_0x24bd2f([0x78])]:_0x24bd2f([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]),[_0x24bd2f([0x79])]:_0x24bd2f([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]),[_0x24bd2f([0x61,0x6c,0x67])]:_0x24bd2f([0x45,0x53,0x32,0x35,0x36])},_0x513ab3=_0x3686a3[_0x24bd2f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24bd2f([0x67,0x65,0x74])](_0x24bd2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x368fe8(){let _0x3f0809,_0x18aef1=null,_0x3b2f7d=null;try{if(_0x513ab3==_0x24bd2f([0x47,0x50,0x4c]))return _0x24bd2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f0809=_0x4a1ddc(),!_0x3f0809)return _0x24bd2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f0809[_0x24bd2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b2f7d=_0x78c837(_0x3f0809[_0x24bd2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f0809[_0x24bd2f([0x6a,0x74,0x69])])),await _0xc202cf()?_0x2fba53()?_0x4af928()?_0x24bd2f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52ad81()?(_0x3f0809[_0x24bd2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24bd2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18aef1=_0x21550c(_0x24bd2f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ae86b()):_0x24bd2f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24bd2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24bd2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24bd2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4af928(){const _0x1c9f2d=[_0x24bd2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24bd2f([0x74,0x72,0x69,0x61,0x6c])][_0x24bd2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f0809[_0x24bd2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51a2fe/0x3e8:0xe10*_0xa98cbc;return _0x3f0809[_0x24bd2f([0x65,0x78,0x70])]<_0x1c9f2d;}function _0x2fba53(){const _0x5c81df=_0x3f0809[_0x24bd2f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c81df&&(!!_0x5c81df[_0x24bd2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bd2f([0x2a]))||!!_0x5c81df[_0x24bd2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bd2f([0x4c,0x48])));}function _0x52ad81(){const _0x44daee=_0x3f0809[_0x24bd2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44daee||0x0==_0x44daee[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x490cd8}=new URL(window[_0x24bd2f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x44daee[_0x24bd2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490cd8))return!0x0;const _0x5c8c29=_0x490cd8[_0x24bd2f([0x73,0x70,0x6c,0x69,0x74])](_0x24bd2f([0x2e]));return _0x44daee[_0x24bd2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x108103=>_0x108103[_0x24bd2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24bd2f([0x2a])))[_0x24bd2f([0x6d,0x61,0x70])](_0x2ab946=>_0x2ab946[_0x24bd2f([0x73,0x70,0x6c,0x69,0x74])](_0x24bd2f([0x2e])))[_0x24bd2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ba38d=>_0x4ba38d[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c8c29[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24bd2f([0x6d,0x61,0x70])](_0x4ed0eb=>Array(_0x5c8c29[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ed0eb[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24bd2f([0x66,0x69,0x6c,0x6c])](_0x4ed0eb[0x0]===_0x24bd2f([0x2a])?_0x24bd2f([0x2a]):'')[_0x24bd2f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ed0eb))[_0x24bd2f([0x73,0x6f,0x6d,0x65])](_0x3ed6ca=>_0x5c8c29[_0x24bd2f([0x65,0x76,0x65,0x72,0x79])]((_0x5b55c0,_0x1ea70b)=>_0x3ed6ca[_0x1ea70b]===_0x5b55c0||_0x3ed6ca[_0x1ea70b]===_0x24bd2f([0x2a])));}function _0x2ae86b(){return _0x18aef1&&_0x3b2f7d?new window[(_0x24bd2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x593445,_0x202dd0)=>{_0x18aef1[_0x24bd2f([0x74,0x68,0x65,0x6e])](_0x593445,_0x202dd0),_0x3b2f7d[_0x24bd2f([0x74,0x68,0x65,0x6e])](_0x26a749=>{_0x26a749!=_0x24bd2f([0x56,0x61,0x6c,0x69,0x64])&&_0x593445(_0x26a749);},_0x202dd0);}):_0x18aef1||_0x3b2f7d||_0x24bd2f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x78c837(_0x14cf75,_0x48620c){return new window[(_0x24bd2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x331364=>{if(_0x38c184())return _0x331364(_0x24bd2f([0x56,0x61,0x6c,0x69,0x64]));_0x497562(),_0x3686a3[_0x24bd2f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24bd2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x200c14=!0x1;const _0x2e7f0d=_0x4c7a57();function _0x549887(_0x4c5782){return!!_0x4c5782&&(typeof _0x4c5782===_0x24bd2f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c5782===_0x24bd2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c5782[_0x24bd2f([0x74,0x68,0x65,0x6e])]===_0x24bd2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c5782[_0x24bd2f([0x63,0x61,0x74,0x63,0x68])]===_0x24bd2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23b3e1(_0x3eded2){_0x4978af(_0x3eded2)[_0x24bd2f([0x74,0x68,0x65,0x6e])](_0x5d0151=>{if(!_0x5d0151||_0x5d0151[_0x24bd2f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24bd2f([0x6f,0x6b]))return _0x24bd2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x98cc4f(_0x89ae4a(_0x2e7f0d+_0x48620c))!=_0x5d0151[_0x24bd2f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24bd2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24bd2f([0x56,0x61,0x6c,0x69,0x64]);})[_0x24bd2f([0x74,0x68,0x65,0x6e])](_0x2f742c=>(_0x3f53b7(),_0x2f742c),()=>{const _0x1bc900=_0x4b0615();return null==_0x1bc900?(_0x3f53b7(),_0x24bd2f([0x56,0x61,0x6c,0x69,0x64])):_0x24bd2f(_0x51a2fe-_0x1bc900>(0x61d15615^_0x389f31)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24bd2f([0x74,0x68,0x65,0x6e])](_0x331364)[_0x24bd2f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x331364(_0x24bd2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b650d=0x45eb3c95^_0x389f31;function _0x3f53b7(){const _0x127608=_0x24bd2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x98cc4f(_0x89ae4a(_0x14cf75)),_0x52d4fd=_0x1a607a(_0x98cc4f(window[_0x24bd2f([0x4d,0x61,0x74,0x68])][_0x24bd2f([0x63,0x65,0x69,0x6c])](_0x51a2fe/_0x2b650d)));window[_0x24bd2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24bd2f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x127608,_0x52d4fd);}function _0x4b0615(){const _0x5dad5d=_0x24bd2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x98cc4f(_0x89ae4a(_0x14cf75)),_0xd6027=window[_0x24bd2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24bd2f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dad5d);return _0xd6027?window[_0x24bd2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a607a(_0xd6027),0x10)*_0x2b650d:null;}function _0x4978af(_0x33b04f){return new window[(_0x24bd2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37d0a7,_0x5f47c4)=>{_0x33b04f[_0x24bd2f([0x74,0x68,0x65,0x6e])](_0x37d0a7,_0x5f47c4),window[_0x24bd2f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f47c4,0x45dc06d5^_0x389f31);});}}_0x3686a3[_0x24bd2f([0x6f,0x6e])](_0x24bd2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6e288c,_0x3263fd)=>{if(_0x3263fd[0x0]!=_0x14cf75)return _0x331364(_0x24bd2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3263fd[0x1]={..._0x3263fd[0x1],[_0x24bd2f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e7f0d};},{[_0x24bd2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24bd2f([0x68,0x69,0x67,0x68])}),_0x3686a3[_0x24bd2f([0x6f,0x6e])](_0x24bd2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x382e5f=>{_0x549887(_0x382e5f[_0x24bd2f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x200c14=!0x0,_0x23b3e1(_0x382e5f[_0x24bd2f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24bd2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24bd2f([0x6c,0x6f,0x77])}),_0x311267[_0x24bd2f([0x74,0x68,0x65,0x6e])](()=>{_0x200c14||_0x331364(_0x24bd2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38c184(){return _0x3686a3[_0x24bd2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24bd2f([0x76,0x69,0x65,0x77])][_0x24bd2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24bd2f([0x61,0x75,0x74,0x6f]);}function _0x497562(){_0x3686a3[_0x24bd2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24bd2f([0x76,0x69,0x65,0x77])][_0x24bd2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24bd2f([0x61,0x75,0x74,0x6f]);}}function _0x21550c(_0x2a2959){const _0x4b806d=[new window[(_0x24bd2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d01d7=>setTimeout(_0x5d01d7,0x45d4ecd9^_0x389f31)),_0x311267[_0x24bd2f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24bd2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42b6b3=>{let _0x431288=0x0;_0x3686a3[_0x24bd2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x24bd2f([0x6f,0x6e])](_0x24bd2f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf1457c,_0x4a8fc8)=>{_0x4a8fc8[0x0][_0x24bd2f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x431288++,_0x431288==(0x45ddd7fd^_0x389f31)&&(_0x42b6b3(),_0xf1457c[_0x24bd2f([0x6f,0x66,0x66])]());});}))];return window[_0x24bd2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24bd2f([0x72,0x61,0x63,0x65])](_0x4b806d)[_0x24bd2f([0x74,0x68,0x65,0x6e])](()=>_0x2a2959);}async function _0x2f4fe3(){await _0x311267,_0x3686a3[_0x24bd2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x24bd2f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30d682,_0x3686a3[_0x24bd2f([0x6d,0x6f,0x64,0x65,0x6c])][_0x24bd2f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30d682,_0x3686a3[_0x24bd2f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24bd2f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f5f8f(_0x54a0b1){const _0x2ba202=_0x58ee7d();_0x3686a3[_0x2ba202]=_0x24bd2f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54a0b1,_0x54a0b1!=_0x24bd2f([0x56,0x61,0x6c,0x69,0x64])&&_0x2f4fe3();}function _0x58ee7d(){const _0x251dfa=window[_0x24bd2f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24bd2f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24bd2f([0x6e,0x6f,0x77])]())[_0x24bd2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24bd2f([0x2e]),'');let _0x4f3ae=_0x24bd2f([0x50]);for(let _0x39ad80=0x0;_0x39ad80<_0x251dfa[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39ad80+=0x2){let _0x3dfc77=window[_0x24bd2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x251dfa[_0x24bd2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39ad80,_0x39ad80+0x2));_0x3dfc77>=_0x236715[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3dfc77-=_0x236715[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f3ae+=_0x236715[_0x3dfc77];}return _0x4f3ae;}function _0x4a1ddc(){const _0x38e38b=_0x513ab3[_0x24bd2f([0x73,0x70,0x6c,0x69,0x74])](_0x24bd2f([0x2e]));if(0x3!=_0x38e38b[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c7f3c(_0x38e38b[0x1]);function _0x3c7f3c(_0x1d554b){const _0x319012=_0x1a87d(_0x1d554b);return _0x319012&&_0x1f9988()?_0x319012:null;function _0x1f9988(){const _0x4acc14=_0x319012[_0x24bd2f([0x6a,0x74,0x69])],_0x18e173=window[_0x24bd2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4acc14[_0x24bd2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4acc14[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x593813={..._0x319012,[_0x24bd2f([0x6a,0x74,0x69])]:_0x4acc14[_0x24bd2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4acc14[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x593813[_0x24bd2f([0x76,0x63])],_0x89ae4a(_0x593813)==_0x18e173;}}}async function _0xc202cf(){let _0x30877a=!0x0;try{const _0x24ad19=_0x513ab3[_0x24bd2f([0x73,0x70,0x6c,0x69,0x74])](_0x24bd2f([0x2e])),[_0x5ea232,_0x53b292,_0x26afc2]=_0x24ad19;return _0x30d940(_0x5ea232),await _0x106d5a(_0x5ea232,_0x53b292,_0x26afc2),_0x30877a;}catch{return!0x1;}function _0x30d940(_0x3bccec){const _0x8b575b=_0x1a87d(_0x3bccec);_0x8b575b&&_0x8b575b[_0x24bd2f([0x61,0x6c,0x67])]==_0x24bd2f([0x45,0x53,0x32,0x35,0x36])||(_0x30877a=!0x1);}async function _0x106d5a(_0x1fcebb,_0x10d117,_0x5d4308){const _0x41517e=window[_0x24bd2f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24bd2f([0x66,0x72,0x6f,0x6d])](_0x5c7c8d(_0x5d4308),_0x1828b1=>_0x1828b1[_0x24bd2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23303e=new window[(_0x24bd2f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24bd2f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fcebb+_0x24bd2f([0x2e])+_0x10d117),_0x4ff565=window[_0x24bd2f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24bd2f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ff565)return;const _0x276e37=await _0x4ff565[_0x24bd2f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24bd2f([0x6a,0x77,0x6b]),_0x3c1231,{[_0x24bd2f([0x6e,0x61,0x6d,0x65])]:_0x24bd2f([0x45,0x43,0x44,0x53,0x41]),[_0x24bd2f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24bd2f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24bd2f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ff565[_0x24bd2f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24bd2f([0x6e,0x61,0x6d,0x65])]:_0x24bd2f([0x45,0x43,0x44,0x53,0x41]),[_0x24bd2f([0x68,0x61,0x73,0x68])]:{[_0x24bd2f([0x6e,0x61,0x6d,0x65])]:_0x24bd2f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x276e37,_0x41517e,_0x23303e)||(_0x30877a=!0x1);}}function _0x1a87d(_0x14c1a6){return _0x14c1a6[_0x24bd2f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24bd2f([0x65,0x79]))?JSON[_0x24bd2f([0x70,0x61,0x72,0x73,0x65])](_0x5c7c8d(_0x14c1a6)):null;}function _0x5c7c8d(_0x2a2640){return window[_0x24bd2f([0x61,0x74,0x6f,0x62])](_0x2a2640[_0x24bd2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24bd2f([0x2b]))[_0x24bd2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24bd2f([0x2f])));}function _0x89ae4a(_0x2be66f){let _0x2b3f9c=0x1505;function _0x415dbd(_0x3bdb0f){for(let _0x14abfd=0x0;_0x14abfd<_0x3bdb0f[_0x24bd2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14abfd++){const _0x200d25=_0x3bdb0f[_0x24bd2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14abfd);_0x2b3f9c=(_0x2b3f9c<<0x5)+_0x2b3f9c+_0x200d25,_0x2b3f9c&=_0x2b3f9c;}}function _0x33bef1(_0x3ef3d7){Array[_0x24bd2f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ef3d7)?_0x3ef3d7[_0x24bd2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33bef1):_0x3ef3d7&&typeof _0x3ef3d7==_0x24bd2f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24bd2f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ef3d7)[_0x24bd2f([0x73,0x6f,0x72,0x74])]()[_0x24bd2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x404b34,_0x1fa5dd])=>{_0x415dbd(_0x404b34),_0x33bef1(_0x1fa5dd);}):_0x415dbd(window[_0x24bd2f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ef3d7));}return _0x33bef1(_0x2be66f),_0x2b3f9c>>>0x0;}function _0x98cc4f(_0x5f8309){return _0x5f8309[_0x24bd2f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24bd2f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24bd2f([0x30]));}function _0x1a607a(_0x440250){return _0x440250[_0x24bd2f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24bd2f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24bd2f([0x6a,0x6f,0x69,0x6e])]('');}function _0x30d682(){}function _0x24bd2f(_0x491b0b){return _0x491b0b['map'](_0x4769d5=>String['fromCharCode'](_0x4769d5))['join']('');}_0x3f5f8f(await _0x368fe8());}(this);}['_validateConfig'](){const _0x517700=this['editor'];if(!_0x517700['config']['get']('lineHeight.supportAllValues'))return;const _0x429cee=_0x517700['config']['get']('lineHeight.options')['filter'](_0x4171da=>'string'==typeof _0x4171da&&(!H(_0x4171da)&&isNaN(Number(_0x4171da))));if(_0x429cee['length'])throw new _0x257cc0('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x429cee});}['_prepareAnyValueConverters'](){const _0x504308=this['editor'],_0x1dad61=this['editor']['config']['get']('lineHeight.defaultValue');_0x504308['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x52bbd7=>String(_0x52bbd7)===String(_0x1dad61)?null:{'key':'style','value':{'line-height':_0x52bbd7}}}),_0x504308['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x533003=>{let _0x44d25e=_0x533003['getStyle']('line-height');return _0x465ebe(_0x44d25e)&&(_0x44d25e=String(Number(_0x44d25e['slice'](0x0,-0x1))/0x64)),String(_0x44d25e)===String(_0x1dad61)?null:_0x44d25e;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x8c2d56=this['editor'],_0x5c54a8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3bca9a=function(_0x4fc568,_0x1630f2){const _0x58675b={'model':{'key':_0x4fc568,'values':[]},'view':{}};for(const _0x414d42 of _0x1630f2)'class'===_0x414d42['view']?.['key']?(_0x58675b['model']['values']['push'](_0x414d42['model']),_0x58675b['view'][_0x414d42['model']]={'key':'class','value':_0x414d42['view']['value']}):(_0x58675b['model']['values']['push'](_0x414d42['model']),_0x58675b['view'][_0x414d42['model']]={'key':'style','value':'line-height:'+_0x414d42['model']+';'});return _0x58675b;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x51145c=>_0x51145c['model']));_0x8c2d56['conversion']['attributeToAttribute'](_0x3bca9a),_0x8c2d56['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x560d20=>{let _0x3dc70d=_0x560d20['getStyle']('line-height');return _0x465ebe(_0x3dc70d)&&(_0x3dc70d=String(Number(_0x3dc70d['slice'](0x0,-0x1))/0x64)),_0x3dc70d===String(_0x5c54a8)?null:_0x3bca9a['model']['values']['includes'](_0x3dc70d)?_0x3dc70d:null;}}});}}class k extends _0x149f03{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x412ab0={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x412ab0),this['_registerMenuBarComponent'](_0x412ab0),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ecaa8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x306d68;for(const _0x29d118 in _0x4ecaa8){const _0x5602fe=_0x29d118,_0x4a5d4d=_0x4ecaa8[_0x5602fe];if('lineHeightLicenseKeyValid'==_0x4a5d4d||'lineHeightLicenseKeyInvalid'==_0x4a5d4d||'lineHeightLicenseKeyExpired'==_0x4a5d4d||'lineHeightLicenseKeyDomainLimit'==_0x4a5d4d||'lineHeightLicenseKeyNotAllowed'==_0x4a5d4d||'lineHeightLicenseKeyEvaluationLimit'==_0x4a5d4d||'lineHeightLicenseKeyUsageLimit'==_0x4a5d4d){delete _0x4ecaa8[_0x5602fe],_0x306d68=_0x4a5d4d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x306d68&&_0x4ecaa8['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x306d68&&_0x4ecaa8['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x306d68&&_0x4ecaa8['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x306d68&&_0x4ecaa8['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x306d68&&_0x4ecaa8['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x306d68&&_0x4ecaa8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x507e75=this['editor'],t=_0x507e75['t'],_0x22971a=_0x507e75['config']['get']('lineHeight'),_0x416c71={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x22971a)['map'](_0x21ee9b=>{const _0x4e9585=_0x416c71[_0x21ee9b['title']];return _0x4e9585&&_0x4e9585!=_0x21ee9b['title']&&(_0x21ee9b=Object['assign']({},_0x21ee9b,{'title':_0x4e9585})),_0x21ee9b;});}['_prepareListOptions'](){const _0x1a0e13=this['editor']['commands']['get']('lineHeight'),_0x4281de=this['editor']['config']['get']('lineHeight.defaultValue'),_0x429c50=this['_getLocalizedLineHeightOptions'](),_0x118c37=new _0x23d1f6(),_0xb9e9c7=_0xfda306=>'default'===_0xfda306||String(_0x4281de)===_0xfda306;for(const _0x909696 of _0x429c50){const _0x566a34={'type':'button','model':new _0x1c88a8({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x909696['title'],'withText':!0x0})};_0xb9e9c7(_0x909696['model'])?(_0x566a34['model']['bind']('isOn')['to'](_0x1a0e13,'value',_0x1af156=>!_0x1af156),_0x566a34['model']['commandParam']=void 0x0):(_0x566a34['model']['bind']('isOn')['to'](_0x1a0e13,'value',_0x13453c=>_0x13453c===_0x909696['model']),_0x566a34['model']['commandParam']=_0x909696['model']),_0x118c37['add'](_0x566a34);}if(this['_shouldRenderCustomValueOption']()){const _0x533c38=this['_getCustomValueOptionDefinition'](_0x429c50);_0x118c37['add'](_0x533c38);}return _0x118c37;}['_getCustomValueOptionDefinition'](_0x3d61ee){const _0x4a0073=this['editor'],t=_0x4a0073['t'],_0x1c8ba6=_0x4a0073['commands']['get']('lineHeight'),_0x192b42=_0x3d61ee['map'](_0x38dfa7=>_0x38dfa7['model']),_0x45fe68={'type':'button','model':new _0x1c88a8({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x45fe68['model']['bind']('commandParam')['to'](_0x1c8ba6,'value'),_0x45fe68['model']['bind']('isOn')['to'](_0x1c8ba6,'value',_0x28762b=>!!_0x28762b&&!_0x192b42['includes'](String(_0x28762b))),_0x45fe68['model']['bind']('label')['to'](_0x1c8ba6,'value',_0x1147ac=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1147ac))),_0x45fe68;}['_registerToolbarComponent']({accessibleLabel:_0x4e5f86,options:_0x3b6276}){const _0x19e8dd=this['editor'],_0x487b2c=_0x19e8dd['commands']['get']('lineHeight');_0x19e8dd['ui']['componentFactory']['add']('lineHeight',_0x272002=>{const _0x3d3e4e=_0x31b67c(_0x272002);return _0x472a8c(_0x3d3e4e,_0x3b6276,{'role':'menu','ariaLabel':_0x4e5f86}),_0x3d3e4e['buttonView']['set']({'label':_0x4e5f86,'tooltip':!0x0,'icon':_0x556d2a}),_0x3d3e4e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3d3e4e['bind']('isEnabled')['to'](_0x487b2c),this['listenTo'](_0x3d3e4e,'execute',_0x54d7cf=>{_0x19e8dd['execute'](_0x54d7cf['source']['commandName'],{'value':_0x54d7cf['source']['commandParam']}),_0x19e8dd['editing']['view']['focus']();}),_0x3d3e4e['once']('change:isOpen',()=>{const _0x1fbf8b=_0x3d3e4e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3d3e4e,_0x3b6276,_0x1fbf8b);}),_0x3d3e4e;});}['_registerMenuBarComponent']({accessibleLabel:_0x244088,options:_0x44fcdc}){const _0x129d33=this['editor'],_0x5b12ae=_0x129d33['commands']['get']('lineHeight');_0x129d33['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1011a6=>{const _0x5631fa=new _0x2c9489(_0x1011a6);_0x5631fa['buttonView']['set']({'label':_0x244088,'icon':_0x556d2a}),_0x5631fa['bind']('isEnabled')['to'](_0x5b12ae);const _0x3bf85a=new _0x14317f(_0x1011a6);for(const _0x154482 of _0x44fcdc){const _0x1f81e0=new _0x3ebdff(_0x1011a6,_0x5631fa),_0x38ca3b=new _0x33ce9f(_0x1011a6);_0x38ca3b['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x38ca3b['bind'](...Object['keys'](_0x154482['model']))['to'](_0x154482['model']),_0x38ca3b['delegate']('execute')['to'](_0x5631fa),_0x38ca3b['on']('execute',()=>{_0x129d33['execute'](_0x154482['model']['commandName'],{'value':_0x154482['model']['commandParam']}),_0x129d33['editing']['view']['focus']();}),_0x1f81e0['children']['add'](_0x38ca3b),_0x3bf85a['items']['add'](_0x1f81e0);}return _0x5631fa['panelView']['children']['add'](_0x3bf85a),this['_attachCustomOptionVisibilityHandler'](_0x5631fa,_0x44fcdc,_0x3bf85a),_0x5631fa;});}['_attachCustomOptionVisibilityHandler'](_0x50fdc6,_0x37dedc,_0x3c615c){if(!this['_shouldRenderCustomValueOption']())return;const _0x317a4b=()=>{if(!_0x50fdc6['isOpen'])return;_0x3c615c['items']['last']['isVisible']=Boolean(_0x37dedc['last']['model']['isOn']);};_0x317a4b(),_0x50fdc6['on']('change:isOpen',()=>{_0x317a4b();});}}class _ extends _0x149f03{static get['requires'](){return[b,k];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,p as LineHeightCommand,b as LineHeightEditing,v as LineHeightTodoListIntegration,k as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "48.0.1
|
|
3
|
+
"version": "48.0.1",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (https://cksource.com/)",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"dist/translations/*.umd.js"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ckeditor/ckeditor5-core": "48.0.1
|
|
29
|
-
"@ckeditor/ckeditor5-engine": "48.0.1
|
|
30
|
-
"@ckeditor/ckeditor5-icons": "48.0.1
|
|
31
|
-
"@ckeditor/ckeditor5-list": "48.0.1
|
|
32
|
-
"@ckeditor/ckeditor5-ui": "48.0.1
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "48.0.1
|
|
28
|
+
"@ckeditor/ckeditor5-core": "48.0.1",
|
|
29
|
+
"@ckeditor/ckeditor5-engine": "48.0.1",
|
|
30
|
+
"@ckeditor/ckeditor5-icons": "48.0.1",
|
|
31
|
+
"@ckeditor/ckeditor5-list": "48.0.1",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "48.0.1",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "48.0.1"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist",
|