@ckeditor/ckeditor5-line-height 47.0.0-alpha.2 → 47.0.0-alpha.3
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/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30b57b=_0x58bd;function _0x209f(){const _0x4277f8=['7834552COaPON','setAttribute','document','getAttribute','isEnabled','schema','filter','getSelectedBlocks','checkAttribute','execute','editor','21659697tUnxEm','63YCRNIb','lineHeight','model','_canHaveLineHeight','1408899rMTafH','change','236HCSsVF','value','7952450JhlgdO','selection','from','10550DOtyKP','21180ZKZwZP','716490BcXGwU','removeAttribute','refresh'];_0x209f=function(){return _0x4277f8;};return _0x209f();}(function(_0x235f09,_0x4d0088){const _0x5666eb=_0x58bd,_0x15d682=_0x235f09();while(!![]){try{const _0x202be3=parseInt(_0x5666eb(0x1b5))/0x1+parseInt(_0x5666eb(0x1bc))/0x2+parseInt(_0x5666eb(0x1bd))/0x3*(parseInt(_0x5666eb(0x1b7))/0x4)+parseInt(_0x5666eb(0x1b9))/0x5+parseInt(_0x5666eb(0x1be))/0x6*(-parseInt(_0x5666eb(0x1b1))/0x7)+parseInt(_0x5666eb(0x1a5))/0x8+-parseInt(_0x5666eb(0x1b0))/0x9;if(_0x202be3===_0x4d0088)break;else _0x15d682['push'](_0x15d682['shift']());}catch(_0x48144c){_0x15d682['push'](_0x15d682['shift']());}}}(_0x209f,0xe0673));import{Command as _0x1e14da}from'ckeditor5/src/core.js';function _0x58bd(_0x1cd2f6,_0x265f91){const _0x209fdd=_0x209f();return _0x58bd=function(_0x58bd9e,_0x371a19){_0x58bd9e=_0x58bd9e-0x1a5;let _0x5bf54a=_0x209fdd[_0x58bd9e];return _0x5bf54a;},_0x58bd(_0x1cd2f6,_0x265f91);}import{first as _0x541f12}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x1e14da{[_0x30b57b(0x1c0)](){const _0x358a36=_0x30b57b,_0x3f9bd5=this[_0x358a36(0x1af)][_0x358a36(0x1b3)][_0x358a36(0x1a7)],_0x8f479a=_0x541f12(_0x3f9bd5[_0x358a36(0x1ba)][_0x358a36(0x1ac)]());this[_0x358a36(0x1a9)]=Boolean(_0x8f479a)&&this[_0x358a36(0x1b4)](_0x8f479a),this[_0x358a36(0x1b8)]=this[_0x358a36(0x1a9)]&&_0x8f479a[_0x358a36(0x1a8)](_0x358a36(0x1b2));}[_0x30b57b(0x1ae)](_0x992ee={}){const _0x5e1b79=_0x30b57b,_0xffe121=this[_0x5e1b79(0x1af)][_0x5e1b79(0x1b3)],_0x3426d8=_0xffe121[_0x5e1b79(0x1a7)][_0x5e1b79(0x1ba)],_0x1ea254=_0x992ee[_0x5e1b79(0x1b8)];_0xffe121[_0x5e1b79(0x1b6)](_0x3d7d7e=>{const _0x1791e8=_0x5e1b79,_0x4a9a23=Array[_0x1791e8(0x1bb)](_0x3426d8[_0x1791e8(0x1ac)]())[_0x1791e8(0x1ab)](_0x2c8b63=>this[_0x1791e8(0x1b4)](_0x2c8b63));for(const _0x582144 of _0x4a9a23)_0x1ea254?_0x3d7d7e[_0x1791e8(0x1a6)](_0x1791e8(0x1b2),_0x1ea254,_0x582144):_0x3d7d7e[_0x1791e8(0x1bf)](_0x1791e8(0x1b2),_0x582144);});}[_0x30b57b(0x1b4)](_0x46db51){const _0x407938=_0x30b57b;return this[_0x407938(0x1af)][_0x407938(0x1b3)][_0x407938(0x1aa)][_0x407938(0x1ad)](_0x46db51,_0x407938(0x1b2));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xec2b(_0x2fadc3,_0x266ef9){const _0x3a97ba=_0x3a97();return _0xec2b=function(_0xec2bdf,_0x10908c){_0xec2bdf=_0xec2bdf-0x173;let _0xc1fcda=_0x3a97ba[_0xec2bdf];return _0xc1fcda;},_0xec2b(_0x2fadc3,_0x266ef9);}const _0x4c37dc=_0xec2b;(function(_0x2f8c78,_0x583d7d){const _0x762ca7=_0xec2b,_0x406f86=_0x2f8c78();while(!![]){try{const _0x13e8fe=parseInt(_0x762ca7(0x1a3))/0x1+-parseInt(_0x762ca7(0x196))/0x2*(-parseInt(_0x762ca7(0x19c))/0x3)+parseInt(_0x762ca7(0x175))/0x4+parseInt(_0x762ca7(0x190))/0x5+-parseInt(_0x762ca7(0x187))/0x6*(-parseInt(_0x762ca7(0x17d))/0x7)+-parseInt(_0x762ca7(0x176))/0x8+-parseInt(_0x762ca7(0x1a4))/0x9*(parseInt(_0x762ca7(0x19a))/0xa);if(_0x13e8fe===_0x583d7d)break;else _0x406f86['push'](_0x406f86['shift']());}catch(_0x1453ce){_0x406f86['push'](_0x406f86['shift']());}}}(_0x3a97,0xdd99b));import{Plugin as _0xed1bdb}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x19b806}from'./lineheightcommand.js';function _0x3a97(){const _0x47a0fc=['line-height-invalid-use-of-named-presets','default','slice','config','attributeToAttribute','add','getStyle','146500aGrRZp','LineHeightEditing','string','lineHeight.defaultValue','filter','values','3314ABelPt','line-height','lineHeight.supportAllValues','get','35363620XstthI','fromCharCode','843DKbUzA','lineHeight.options','init','map','schema','join','length','1396507gpKbrH','9TkJGbg','extend','$block','model','style','commands','define','6170572xOzqzv','5932664XjOKhD','pluginName','for','_validateConfig','setAttributeProperties','lineHeight','upcast','4086957nNvezO','editor','href','afterInit','conversion','isOfficialPlugin','downcast','_prepareAnyValueConverters','isPremiumPlugin','includes','18tGfxkB','_preparePredefinedConverters'];_0x3a97=function(){return _0x47a0fc;};return _0x3a97();}import{isPercentageStyleValue as _0x2adb93}from'ckeditor5/src/engine.js';import{uid as _0x3a91e8,CKEditorError as _0x3a3249}from'ckeditor5/src/utils.js';import{buildDefinition as _0xeea21f,isLineHeightDefaultValue as _0x2b3f9e,normalizeOptions as _0x2df998}from'./utils.js';export class LineHeightEditing extends _0xed1bdb{static get[_0x4c37dc(0x177)](){const _0x2930f3=_0x4c37dc;return _0x2930f3(0x191);}static get[_0x4c37dc(0x182)](){return!0x0;}static get[_0x4c37dc(0x185)](){return!0x0;}constructor(_0x1e7db2){const _0x1d8c95=_0x4c37dc;super(_0x1e7db2),_0x1e7db2[_0x1d8c95(0x18c)][_0x1d8c95(0x174)](_0x1d8c95(0x17b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1d8c95(0x18a),0x2,2.5,0x3]});}[_0x4c37dc(0x19e)](){const _0x10f653=_0x4c37dc,_0x38eb45=this[_0x10f653(0x17e)];this[_0x10f653(0x179)](),_0x38eb45[_0x10f653(0x1a7)][_0x10f653(0x1a0)][_0x10f653(0x1a5)](_0x10f653(0x1a6),{'allowAttributes':_0x10f653(0x17b)}),_0x38eb45[_0x10f653(0x1a7)][_0x10f653(0x1a0)][_0x10f653(0x17a)](_0x10f653(0x17b),{'isFormatting':!0x0}),_0x38eb45[_0x10f653(0x173)][_0x10f653(0x18e)](_0x10f653(0x17b),new _0x19b806(_0x38eb45)),this[_0x10f653(0x17e)][_0x10f653(0x18c)][_0x10f653(0x199)](_0x10f653(0x198))?this[_0x10f653(0x184)]():this[_0x10f653(0x188)]();}[_0x4c37dc(0x180)](){!async function(_0x424b08){const _0x427eba=_0x2a4020([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x598d35=0x4597e011,_0x5db828=0x45909469^_0x598d35,_0x3290f5=window[_0x2a4020([0x44,0x61,0x74,0x65])][_0x2a4020([0x6e,0x6f,0x77])](),_0x4d9366=_0x424b08[_0x2a4020([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfb8ba1=new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ad3ac=>{_0x4d9366[_0x2a4020([0x6f,0x6e,0x63,0x65])](_0x2a4020([0x72,0x65,0x61,0x64,0x79]),_0x4ad3ac);}),_0x522c34={[_0x2a4020([0x6b,0x74,0x79])]:_0x2a4020([0x45,0x43]),[_0x2a4020([0x75,0x73,0x65])]:_0x2a4020([0x73,0x69,0x67]),[_0x2a4020([0x63,0x72,0x76])]:_0x2a4020([0x50,0x2d,0x32,0x35,0x36]),[_0x2a4020([0x78])]:_0x2a4020([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]),[_0x2a4020([0x79])]:_0x2a4020([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]),[_0x2a4020([0x61,0x6c,0x67])]:_0x2a4020([0x45,0x53,0x32,0x35,0x36])},_0x467048=_0x4d9366[_0x2a4020([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a4020([0x67,0x65,0x74])](_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c9acb(){let _0x24c439,_0x1a5b99=null,_0xd048a2=null;try{if(_0x467048==_0x2a4020([0x47,0x50,0x4c]))return _0x2a4020([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24c439=_0x28895c(),!_0x24c439)return _0x2a4020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24c439[_0x2a4020([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd048a2=_0x5ea273(_0x24c439[_0x2a4020([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24c439[_0x2a4020([0x6a,0x74,0x69])])),await _0x5458f9()?_0x230c10()?_0x25393f()?_0x2a4020([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x441a34()?(_0x24c439[_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4020([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a5b99=_0x372cdd(_0x2a4020([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x24c439[_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4020([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a5b99=_0x372cdd(_0x2a4020([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fbb39()):_0x2a4020([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4020([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a4020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a4020([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25393f(){const _0x5f8746=[_0x2a4020([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a4020([0x74,0x72,0x69,0x61,0x6c])][_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c439[_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3290f5/0x3e8:0xe10*_0x5db828;return _0x24c439[_0x2a4020([0x65,0x78,0x70])]<_0x5f8746;}function _0x230c10(){const _0x4efe4a=_0x24c439[_0x2a4020([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4efe4a&&(!!_0x4efe4a[_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4020([0x2a]))||!!_0x4efe4a[_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4020([0x4c,0x48])));}function _0x441a34(){const _0x13bbdf=_0xec2b,_0x5c7780=_0x24c439[_0x2a4020([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c7780||0x0==_0x5c7780[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d008f}=new URL(window[_0x2a4020([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x13bbdf(0x17f)]);if(_0x5c7780[_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d008f))return!0x0;const _0x1f1bc7=_0x3d008f[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])](_0x2a4020([0x2e]));return _0x5c7780[_0x2a4020([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x203ba3=>_0x203ba3[_0x2a4020([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4020([0x2a])))[_0x2a4020([0x6d,0x61,0x70])](_0x20b133=>_0x20b133[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])](_0x2a4020([0x2e])))[_0x2a4020([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd694f9=>_0xd694f9[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f1bc7[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a4020([0x6d,0x61,0x70])](_0x147784=>Array(_0x1f1bc7[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x147784[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a4020([0x66,0x69,0x6c,0x6c])](_0x147784[0x0]===_0x2a4020([0x2a])?_0x2a4020([0x2a]):'')[_0x2a4020([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x147784))[_0x2a4020([0x73,0x6f,0x6d,0x65])](_0x4258b8=>_0x1f1bc7[_0x2a4020([0x65,0x76,0x65,0x72,0x79])]((_0x4c7170,_0x32b413)=>_0x4258b8[_0x32b413]===_0x4c7170||_0x4258b8[_0x32b413]===_0x2a4020([0x2a])));}function _0x2fbb39(){return _0x1a5b99&&_0xd048a2?new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5451c5,_0x1d42a1)=>{_0x1a5b99[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x5451c5,_0x1d42a1),_0xd048a2[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x190bab=>{_0x190bab!=_0x2a4020([0x56,0x61,0x6c,0x69,0x64])&&_0x5451c5(_0x190bab);},_0x1d42a1);}):_0x1a5b99||_0xd048a2||_0x2a4020([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ea273(_0x2ddc6a,_0x50bbe4){return new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eda0f=>{if(_0x5bae48())return _0x5eda0f(_0x2a4020([0x56,0x61,0x6c,0x69,0x64]));_0x244881(),_0x4d9366[_0x2a4020([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a4020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x976ac6=!0x1;const _0x13a9be=_0x3a91e8();function _0x579a68(_0x9c5a18){return!!_0x9c5a18&&(typeof _0x9c5a18===_0x2a4020([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9c5a18===_0x2a4020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9c5a18[_0x2a4020([0x74,0x68,0x65,0x6e])]===_0x2a4020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9c5a18[_0x2a4020([0x63,0x61,0x74,0x63,0x68])]===_0x2a4020([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41913d(_0x58346b){_0xd43fe3(_0x58346b)[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x104b04=>{if(!_0x104b04||_0x104b04[_0x2a4020([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a4020([0x6f,0x6b]))return _0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1da14f(_0x31b20b(_0x13a9be+_0x50bbe4))!=_0x104b04[_0x2a4020([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4020([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x2da35c=>(_0x3fad77(),_0x2da35c),()=>{const _0x3c8700=_0x118638();return null==_0x3c8700?(_0x3fad77(),_0x2a4020([0x56,0x61,0x6c,0x69,0x64])):_0x2a4020(_0x3290f5-_0x3c8700>(0x619b6411^_0x598d35)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x5eda0f)[_0x2a4020([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5eda0f(_0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cf7e3=0x45a10e91^_0x598d35;function _0x3fad77(){const _0x224da2=_0x2a4020([0x6c,0x6c,0x63,0x74,0x2d])+_0x1da14f(_0x31b20b(_0x2ddc6a)),_0x843a5d=_0x1a2dc5(_0x1da14f(window[_0x2a4020([0x4d,0x61,0x74,0x68])][_0x2a4020([0x63,0x65,0x69,0x6c])](_0x3290f5/_0x5cf7e3)));window[_0x2a4020([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4020([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x224da2,_0x843a5d);}function _0x118638(){const _0x4bcb32=_0x2a4020([0x6c,0x6c,0x63,0x74,0x2d])+_0x1da14f(_0x31b20b(_0x2ddc6a)),_0x3c96ee=window[_0x2a4020([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4020([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bcb32);return _0x3c96ee?window[_0x2a4020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a2dc5(_0x3c96ee),0x10)*_0x5cf7e3:null;}function _0xd43fe3(_0x54f47a){return new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44976b,_0x2815b0)=>{_0x54f47a[_0x2a4020([0x74,0x68,0x65,0x6e])](_0x44976b,_0x2815b0),window[_0x2a4020([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2815b0,0x459634d1^_0x598d35);});}}_0x4d9366[_0x2a4020([0x6f,0x6e])](_0x2a4020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28219a,_0x1a0650)=>{if(_0x1a0650[0x0]!=_0x2ddc6a)return _0x5eda0f(_0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a0650[0x1]={..._0x1a0650[0x1],[_0x2a4020([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13a9be};},{[_0x2a4020([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4020([0x68,0x69,0x67,0x68])}),_0x4d9366[_0x2a4020([0x6f,0x6e])](_0x2a4020([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29d5dc=>{_0x579a68(_0x29d5dc[_0x2a4020([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x976ac6=!0x0,_0x41913d(_0x29d5dc[_0x2a4020([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a4020([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4020([0x6c,0x6f,0x77])}),_0xfb8ba1[_0x2a4020([0x74,0x68,0x65,0x6e])](()=>{_0x976ac6||_0x5eda0f(_0x2a4020([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bae48(){return _0x4d9366[_0x2a4020([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4020([0x76,0x69,0x65,0x77])][_0x2a4020([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a4020([0x61,0x75,0x74,0x6f]);}function _0x244881(){_0x4d9366[_0x2a4020([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4020([0x76,0x69,0x65,0x77])][_0x2a4020([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a4020([0x61,0x75,0x74,0x6f]);}}function _0x372cdd(_0x11de88){const _0x5b5f41=[new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x298942=>setTimeout(_0x298942,0x459ededd^_0x598d35)),_0xfb8ba1[_0x2a4020([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6710f8=>{let _0x1815ca=0x0;_0x4d9366[_0x2a4020([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4020([0x6f,0x6e])](_0x2a4020([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a0762,_0x3ee77e)=>{_0x3ee77e[0x0][_0x2a4020([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1815ca++,_0x1815ca==(0x4597e1e9^_0x598d35)&&(_0x6710f8(),_0x4a0762[_0x2a4020([0x6f,0x66,0x66])]());});}))];return window[_0x2a4020([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a4020([0x72,0x61,0x63,0x65])](_0x5b5f41)[_0x2a4020([0x74,0x68,0x65,0x6e])](()=>_0x11de88);}async function _0x4becb6(){await _0xfb8ba1,_0x4d9366[_0x2a4020([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4020([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26bc92,_0x4d9366[_0x2a4020([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4020([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26bc92,_0x4d9366[_0x2a4020([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a4020([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x399d8b(_0x4130da){const _0x57b312=_0x1fcfae();_0x4d9366[_0x57b312]=_0x2a4020([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4130da,_0x4130da!=_0x2a4020([0x56,0x61,0x6c,0x69,0x64])&&_0x4becb6();}function _0x1fcfae(){const _0x3edc2b=window[_0x2a4020([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a4020([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a4020([0x6e,0x6f,0x77])]())[_0x2a4020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a4020([0x2e]),'');let _0x229596=_0x2a4020([0x51]);for(let _0x4c3875=0x0;_0x4c3875<_0x3edc2b[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c3875+=0x2){let _0x58737e=window[_0x2a4020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3edc2b[_0x2a4020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3875,_0x4c3875+0x2));_0x58737e>=_0x427eba[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58737e-=_0x427eba[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x229596+=_0x427eba[_0x58737e];}return _0x229596;}function _0x28895c(){const _0x37c7ef=_0x467048[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])](_0x2a4020([0x2e]));if(0x3!=_0x37c7ef[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46c2e4(_0x37c7ef[0x1]);function _0x46c2e4(_0x205ebd){const _0x15fd11=_0x4c0c4a(_0x205ebd);return _0x15fd11&&_0x45776e()?_0x15fd11:null;function _0x45776e(){const _0x56d007=_0x15fd11[_0x2a4020([0x6a,0x74,0x69])],_0x3e418c=window[_0x2a4020([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56d007[_0x2a4020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56d007[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x493a01={..._0x15fd11,[_0x2a4020([0x6a,0x74,0x69])]:_0x56d007[_0x2a4020([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56d007[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x493a01[_0x2a4020([0x76,0x63])],_0x31b20b(_0x493a01)==_0x3e418c;}}}async function _0x5458f9(){let _0x262726=!0x0;try{const _0x2d1fe3=_0x467048[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])](_0x2a4020([0x2e])),[_0x42f16b,_0x4426c6,_0x7fb4e]=_0x2d1fe3;return _0x49be85(_0x42f16b),await _0x462962(_0x42f16b,_0x4426c6,_0x7fb4e),_0x262726;}catch{return!0x1;}function _0x49be85(_0x51034c){const _0x3c63fe=_0x4c0c4a(_0x51034c);_0x3c63fe&&_0x3c63fe[_0x2a4020([0x61,0x6c,0x67])]==_0x2a4020([0x45,0x53,0x32,0x35,0x36])||(_0x262726=!0x1);}async function _0x462962(_0x3bfa99,_0x3dde23,_0x5adda8){const _0x10bfdd=window[_0x2a4020([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a4020([0x66,0x72,0x6f,0x6d])](_0x42748e(_0x5adda8),_0x4e800b=>_0x4e800b[_0x2a4020([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x289a48=new window[(_0x2a4020([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a4020([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bfa99+_0x2a4020([0x2e])+_0x3dde23),_0x5da29d=window[_0x2a4020([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a4020([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5da29d)return;const _0x18dbed=await _0x5da29d[_0x2a4020([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a4020([0x6a,0x77,0x6b]),_0x522c34,{[_0x2a4020([0x6e,0x61,0x6d,0x65])]:_0x2a4020([0x45,0x43,0x44,0x53,0x41]),[_0x2a4020([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a4020([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a4020([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5da29d[_0x2a4020([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a4020([0x6e,0x61,0x6d,0x65])]:_0x2a4020([0x45,0x43,0x44,0x53,0x41]),[_0x2a4020([0x68,0x61,0x73,0x68])]:{[_0x2a4020([0x6e,0x61,0x6d,0x65])]:_0x2a4020([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18dbed,_0x10bfdd,_0x289a48)||(_0x262726=!0x1);}}function _0x4c0c4a(_0x113a09){return _0x113a09[_0x2a4020([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a4020([0x65,0x79]))?JSON[_0x2a4020([0x70,0x61,0x72,0x73,0x65])](_0x42748e(_0x113a09)):null;}function _0x42748e(_0x204948){return window[_0x2a4020([0x61,0x74,0x6f,0x62])](_0x204948[_0x2a4020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a4020([0x2b]))[_0x2a4020([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a4020([0x2f])));}function _0x31b20b(_0x3763a3){let _0x4e6c1d=0x1505;function _0x596c1e(_0x353dcb){for(let _0x36c5d5=0x0;_0x36c5d5<_0x353dcb[_0x2a4020([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36c5d5++){const _0x40d740=_0x353dcb[_0x2a4020([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36c5d5);_0x4e6c1d=(_0x4e6c1d<<0x5)+_0x4e6c1d+_0x40d740,_0x4e6c1d&=_0x4e6c1d;}}function _0x34f851(_0x94e7a0){Array[_0x2a4020([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x94e7a0)?_0x94e7a0[_0x2a4020([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34f851):_0x94e7a0&&typeof _0x94e7a0==_0x2a4020([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a4020([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x94e7a0)[_0x2a4020([0x73,0x6f,0x72,0x74])]()[_0x2a4020([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25f72c,_0x37446f])=>{_0x596c1e(_0x25f72c),_0x34f851(_0x37446f);}):_0x596c1e(window[_0x2a4020([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x94e7a0));}return _0x34f851(_0x3763a3),_0x4e6c1d>>>0x0;}function _0x1da14f(_0x573522){return _0x573522[_0x2a4020([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a4020([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a4020([0x30]));}function _0x1a2dc5(_0xf80fea){return _0xf80fea[_0x2a4020([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a4020([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a4020([0x6a,0x6f,0x69,0x6e])]('');}function _0x26bc92(){}function _0x2a4020(_0x267ede){const _0x4c04df=_0xec2b;return _0x267ede[_0x4c04df(0x19f)](_0x44b081=>String[_0x4c04df(0x19b)](_0x44b081))[_0x4c04df(0x1a1)]('');}_0x399d8b(await _0x4c9acb());}(this);}[_0x4c37dc(0x179)](){const _0x2a5632=_0x4c37dc,_0x47ec9e=this[_0x2a5632(0x17e)];if(!_0x47ec9e[_0x2a5632(0x18c)][_0x2a5632(0x199)](_0x2a5632(0x198)))return;const _0x425512=_0x47ec9e[_0x2a5632(0x18c)][_0x2a5632(0x199)](_0x2a5632(0x19d))[_0x2a5632(0x194)](_0x2e2c3e=>_0x2a5632(0x192)==typeof _0x2e2c3e&&(!_0x2b3f9e(_0x2e2c3e)&&isNaN(Number(_0x2e2c3e))));if(_0x425512[_0x2a5632(0x1a2)])throw new _0x3a3249(_0x2a5632(0x189),null,{'namedPresets':_0x425512});}[_0x4c37dc(0x184)](){const _0xa74085=_0x4c37dc,_0x186ea6=this[_0xa74085(0x17e)],_0x4f0cca=this[_0xa74085(0x17e)][_0xa74085(0x18c)][_0xa74085(0x199)](_0xa74085(0x193));_0x186ea6[_0xa74085(0x181)][_0xa74085(0x178)](_0xa74085(0x183))[_0xa74085(0x18d)]({'model':{'key':_0xa74085(0x17b)},'view':_0x5eb094=>String(_0x5eb094)===String(_0x4f0cca)?null:{'key':_0xa74085(0x1a8),'value':{'line-height':_0x5eb094}}}),_0x186ea6[_0xa74085(0x181)][_0xa74085(0x178)](_0xa74085(0x17c))[_0xa74085(0x18d)]({'model':{'key':_0xa74085(0x17b),'value':_0x2261db=>{const _0x236844=_0xa74085;let _0x46b40b=_0x2261db[_0x236844(0x18f)](_0x236844(0x197));return _0x2adb93(_0x46b40b)&&(_0x46b40b=String(Number(_0x46b40b[_0x236844(0x18b)](0x0,-0x1))/0x64)),String(_0x46b40b)===String(_0x4f0cca)?null:_0x46b40b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4c37dc(0x188)](){const _0xa6b9b7=_0x4c37dc,_0x1359b7=this[_0xa6b9b7(0x17e)],_0x3a7dd4=this[_0xa6b9b7(0x17e)][_0xa6b9b7(0x18c)][_0xa6b9b7(0x199)](_0xa6b9b7(0x193)),_0xa195ff=_0x2df998(this[_0xa6b9b7(0x17e)][_0xa6b9b7(0x18c)][_0xa6b9b7(0x199)](_0xa6b9b7(0x17b)))[_0xa6b9b7(0x194)](_0x42e68f=>_0x42e68f[_0xa6b9b7(0x1a7)]),_0x2d16c7=_0xeea21f(_0xa6b9b7(0x17b),_0xa195ff);_0x1359b7[_0xa6b9b7(0x181)][_0xa6b9b7(0x18d)](_0x2d16c7),_0x1359b7[_0xa6b9b7(0x181)][_0xa6b9b7(0x178)](_0xa6b9b7(0x17c))[_0xa6b9b7(0x18d)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xa6b9b7(0x17b),'value':_0x51e7fe=>{const _0xe6a62=_0xa6b9b7;let _0x787eda=_0x51e7fe[_0xe6a62(0x18f)](_0xe6a62(0x197));return _0x2adb93(_0x787eda)&&(_0x787eda=String(Number(_0x787eda[_0xe6a62(0x18b)](0x0,-0x1))/0x64)),_0x787eda===String(_0x3a7dd4)?null:_0x2d16c7[_0xe6a62(0x1a7)][_0xe6a62(0x195)][_0xe6a62(0x186)](_0x787eda)?_0x787eda:null;}}});}}
|
|
23
|
+
function _0x154a(_0x20419d,_0xffeabd){const _0x7a5927=_0x7a59();return _0x154a=function(_0x154aa6,_0x5bb1f5){_0x154aa6=_0x154aa6-0x11e;let _0x15d40d=_0x7a5927[_0x154aa6];return _0x15d40d;},_0x154a(_0x20419d,_0xffeabd);}const _0xae2b73=_0x154a;(function(_0x331077,_0x50b755){const _0x2d0468=_0x154a,_0x7883e8=_0x331077();while(!![]){try{const _0xb2b192=parseInt(_0x2d0468(0x14d))/0x1+parseInt(_0x2d0468(0x143))/0x2+parseInt(_0x2d0468(0x12d))/0x3*(parseInt(_0x2d0468(0x148))/0x4)+parseInt(_0x2d0468(0x11f))/0x5+parseInt(_0x2d0468(0x127))/0x6*(parseInt(_0x2d0468(0x14f))/0x7)+parseInt(_0x2d0468(0x12b))/0x8+-parseInt(_0x2d0468(0x120))/0x9;if(_0xb2b192===_0x50b755)break;else _0x7883e8['push'](_0x7883e8['shift']());}catch(_0x434f3d){_0x7883e8['push'](_0x7883e8['shift']());}}}(_0x7a59,0xed071));import{Plugin as _0x5e47a6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x368cbd}from'./lineheightcommand.js';function _0x7a59(){const _0x1dcf59=['commands','3705565QZTczi','31072059CVeeCq','add','map','afterInit','includes','join','lineHeight.options','10324404AKrTPK','downcast','get','init','2131192PAluws','setAttributeProperties','1891389ZElAPX','extend','upcast','style','default','lineHeight.supportAllValues','line-height-invalid-use-of-named-presets','getStyle','length','attributeToAttribute','schema','LineHeightEditing','pluginName','for','_prepareAnyValueConverters','slice','editor','line-height','lineHeight','isOfficialPlugin','conversion','_preparePredefinedConverters','287646anAhvo','_validateConfig','lineHeight.defaultValue','fromCharCode','values','8KhtLuQ','model','href','define','config','290321GEmJLW','filter','7mpfjiB','string','isPremiumPlugin','$block'];_0x7a59=function(){return _0x1dcf59;};return _0x7a59();}import{isPercentageStyleValue as _0xae5a38}from'ckeditor5/src/engine.js';import{uid as _0x2f55d3,CKEditorError as _0x5cfbd7}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3f1eb1,isLineHeightDefaultValue as _0x40b52b,normalizeOptions as _0x541561}from'./utils.js';export class LineHeightEditing extends _0x5e47a6{static get[_0xae2b73(0x139)](){const _0x584656=_0xae2b73;return _0x584656(0x138);}static get[_0xae2b73(0x140)](){return!0x0;}static get[_0xae2b73(0x151)](){return!0x0;}constructor(_0x516060){const _0x5e7c67=_0xae2b73;super(_0x516060),_0x516060[_0x5e7c67(0x14c)][_0x5e7c67(0x14b)](_0x5e7c67(0x13f),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5e7c67(0x131),0x2,2.5,0x3]});}[_0xae2b73(0x12a)](){const _0x2aac86=_0xae2b73,_0x14e6ef=this[_0x2aac86(0x13d)];this[_0x2aac86(0x144)](),_0x14e6ef[_0x2aac86(0x149)][_0x2aac86(0x137)][_0x2aac86(0x12e)](_0x2aac86(0x152),{'allowAttributes':_0x2aac86(0x13f)}),_0x14e6ef[_0x2aac86(0x149)][_0x2aac86(0x137)][_0x2aac86(0x12c)](_0x2aac86(0x13f),{'isFormatting':!0x0}),_0x14e6ef[_0x2aac86(0x11e)][_0x2aac86(0x121)](_0x2aac86(0x13f),new _0x368cbd(_0x14e6ef)),this[_0x2aac86(0x13d)][_0x2aac86(0x14c)][_0x2aac86(0x129)](_0x2aac86(0x132))?this[_0x2aac86(0x13b)]():this[_0x2aac86(0x142)]();}[_0xae2b73(0x123)](){!async function(_0x2dafc9){const _0x5bde11=_0x1ce3f9([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x4756e8=0x4597e011,_0x36c7a8=0x45909481^_0x4756e8,_0x2d8e8b=window[_0x1ce3f9([0x44,0x61,0x74,0x65])][_0x1ce3f9([0x6e,0x6f,0x77])](),_0x3dd8a2=_0x2dafc9[_0x1ce3f9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b9b2f=new window[(_0x1ce3f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dfcf4=>{_0x3dd8a2[_0x1ce3f9([0x6f,0x6e,0x63,0x65])](_0x1ce3f9([0x72,0x65,0x61,0x64,0x79]),_0x4dfcf4);}),_0x128935={[_0x1ce3f9([0x6b,0x74,0x79])]:_0x1ce3f9([0x45,0x43]),[_0x1ce3f9([0x75,0x73,0x65])]:_0x1ce3f9([0x73,0x69,0x67]),[_0x1ce3f9([0x63,0x72,0x76])]:_0x1ce3f9([0x50,0x2d,0x32,0x35,0x36]),[_0x1ce3f9([0x78])]:_0x1ce3f9([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]),[_0x1ce3f9([0x79])]:_0x1ce3f9([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]),[_0x1ce3f9([0x61,0x6c,0x67])]:_0x1ce3f9([0x45,0x53,0x32,0x35,0x36])},_0x37820e=_0x3dd8a2[_0x1ce3f9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ce3f9([0x67,0x65,0x74])](_0x1ce3f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x321ce2(){let _0x3438dd,_0x487daa=null,_0x30ff45=null;try{if(_0x37820e==_0x1ce3f9([0x47,0x50,0x4c]))return _0x1ce3f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3438dd=_0x490b50(),!_0x3438dd)return _0x1ce3f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3438dd[_0x1ce3f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30ff45=_0x10cfaa(_0x3438dd[_0x1ce3f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3438dd[_0x1ce3f9([0x6a,0x74,0x69])])),await _0x3b6887()?_0x1c2b1a()?_0x5a8b4b()?_0x1ce3f9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b789c()?(_0x3438dd[_0x1ce3f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ce3f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x487daa=_0x23cf8a(_0x1ce3f9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3438dd[_0x1ce3f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ce3f9([0x74,0x72,0x69,0x61,0x6c])&&(_0x487daa=_0x23cf8a(_0x1ce3f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c8529()):_0x1ce3f9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ce3f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ce3f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ce3f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a8b4b(){const _0x54a858=[_0x1ce3f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ce3f9([0x74,0x72,0x69,0x61,0x6c])][_0x1ce3f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3438dd[_0x1ce3f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d8e8b/0x3e8:0xe10*_0x36c7a8;return _0x3438dd[_0x1ce3f9([0x65,0x78,0x70])]<_0x54a858;}function _0x1c2b1a(){const _0x2575bc=_0x3438dd[_0x1ce3f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2575bc&&(!!_0x2575bc[_0x1ce3f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ce3f9([0x2a]))||!!_0x2575bc[_0x1ce3f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ce3f9([0x4c,0x48])));}function _0x5b789c(){const _0x52be40=_0x154a,_0x76b68f=_0x3438dd[_0x1ce3f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x76b68f||0x0==_0x76b68f[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3505d1}=new URL(window[_0x1ce3f9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x52be40(0x14a)]);if(_0x76b68f[_0x1ce3f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3505d1))return!0x0;const _0x566365=_0x3505d1[_0x1ce3f9([0x73,0x70,0x6c,0x69,0x74])](_0x1ce3f9([0x2e]));return _0x76b68f[_0x1ce3f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x502150=>_0x502150[_0x1ce3f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ce3f9([0x2a])))[_0x1ce3f9([0x6d,0x61,0x70])](_0x450958=>_0x450958[_0x1ce3f9([0x73,0x70,0x6c,0x69,0x74])](_0x1ce3f9([0x2e])))[_0x1ce3f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f8731=>_0x3f8731[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x566365[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ce3f9([0x6d,0x61,0x70])](_0x1fcd3f=>Array(_0x566365[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fcd3f[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ce3f9([0x66,0x69,0x6c,0x6c])](_0x1fcd3f[0x0]===_0x1ce3f9([0x2a])?_0x1ce3f9([0x2a]):'')[_0x1ce3f9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fcd3f))[_0x1ce3f9([0x73,0x6f,0x6d,0x65])](_0x47583c=>_0x566365[_0x1ce3f9([0x65,0x76,0x65,0x72,0x79])]((_0x504941,_0x4b23c2)=>_0x47583c[_0x4b23c2]===_0x504941||_0x47583c[_0x4b23c2]===_0x1ce3f9([0x2a])));}function _0x3c8529(){return _0x487daa&&_0x30ff45?new window[(_0x1ce3f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ea920,_0xbd2d2d)=>{_0x487daa[_0x1ce3f9([0x74,0x68,0x65,0x6e])](_0x5ea920,_0xbd2d2d),_0x30ff45[_0x1ce3f9([0x74,0x68,0x65,0x6e])](_0x36b20e=>{_0x36b20e!=_0x1ce3f9([0x56,0x61,0x6c,0x69,0x64])&&_0x5ea920(_0x36b20e);},_0xbd2d2d);}):_0x487daa||_0x30ff45||_0x1ce3f9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10cfaa(_0x560d11,_0x3ed68a){return new window[(_0x1ce3f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x468041=>{if(_0xb01e5c())return _0x468041(_0x1ce3f9([0x56,0x61,0x6c,0x69,0x64]));_0x150d22(),_0x3dd8a2[_0x1ce3f9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ce3f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x269aa9=!0x1;const _0x3d75a3=_0x2f55d3();function _0x4e79d6(_0x382c39){return!!_0x382c39&&(typeof _0x382c39===_0x1ce3f9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x382c39===_0x1ce3f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x382c39[_0x1ce3f9([0x74,0x68,0x65,0x6e])]===_0x1ce3f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x382c39[_0x1ce3f9([0x63,0x61,0x74,0x63,0x68])]===_0x1ce3f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a4eff(_0x11f460){_0x2d765a(_0x11f460)[_0x1ce3f9([0x74,0x68,0x65,0x6e])](_0x4bd2b2=>{if(!_0x4bd2b2||_0x4bd2b2[_0x1ce3f9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ce3f9([0x6f,0x6b]))return _0x1ce3f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x217e2e(_0x5e8f45(_0x3d75a3+_0x3ed68a))!=_0x4bd2b2[_0x1ce3f9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ce3f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ce3f9([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ce3f9([0x74,0x68,0x65,0x6e])](_0x4a4cc7=>(_0x419a07(),_0x4a4cc7),()=>{const _0x5cc879=_0x2531e9();return null==_0x5cc879?(_0x419a07(),_0x1ce3f9([0x56,0x61,0x6c,0x69,0x64])):_0x1ce3f9(_0x2d8e8b-_0x5cc879>(0x619b6411^_0x4756e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ce3f9([0x74,0x68,0x65,0x6e])](_0x468041)[_0x1ce3f9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x468041(_0x1ce3f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e7c58=0x45a10e91^_0x4756e8;function _0x419a07(){const _0x2b0684=_0x1ce3f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x217e2e(_0x5e8f45(_0x560d11)),_0x22d2d3=_0x4fd57e(_0x217e2e(window[_0x1ce3f9([0x4d,0x61,0x74,0x68])][_0x1ce3f9([0x63,0x65,0x69,0x6c])](_0x2d8e8b/_0x4e7c58)));window[_0x1ce3f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ce3f9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b0684,_0x22d2d3);}function _0x2531e9(){const _0x4d35e5=_0x1ce3f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x217e2e(_0x5e8f45(_0x560d11)),_0x147b64=window[_0x1ce3f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ce3f9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d35e5);return _0x147b64?window[_0x1ce3f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fd57e(_0x147b64),0x10)*_0x4e7c58:null;}function _0x2d765a(_0x4bee11){return new window[(_0x1ce3f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4443de,_0x21b3d9)=>{_0x4bee11[_0x1ce3f9([0x74,0x68,0x65,0x6e])](_0x4443de,_0x21b3d9),window[_0x1ce3f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21b3d9,0x459634d1^_0x4756e8);});}}_0x3dd8a2[_0x1ce3f9([0x6f,0x6e])](_0x1ce3f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fc6c1,_0x108ff5)=>{if(_0x108ff5[0x0]!=_0x560d11)return _0x468041(_0x1ce3f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x108ff5[0x1]={..._0x108ff5[0x1],[_0x1ce3f9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d75a3};},{[_0x1ce3f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ce3f9([0x68,0x69,0x67,0x68])}),_0x3dd8a2[_0x1ce3f9([0x6f,0x6e])](_0x1ce3f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5623d3=>{_0x4e79d6(_0x5623d3[_0x1ce3f9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x269aa9=!0x0,_0x1a4eff(_0x5623d3[_0x1ce3f9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ce3f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ce3f9([0x6c,0x6f,0x77])}),_0x5b9b2f[_0x1ce3f9([0x74,0x68,0x65,0x6e])](()=>{_0x269aa9||_0x468041(_0x1ce3f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb01e5c(){return _0x3dd8a2[_0x1ce3f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ce3f9([0x76,0x69,0x65,0x77])][_0x1ce3f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ce3f9([0x61,0x75,0x74,0x6f]);}function _0x150d22(){_0x3dd8a2[_0x1ce3f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ce3f9([0x76,0x69,0x65,0x77])][_0x1ce3f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ce3f9([0x61,0x75,0x74,0x6f]);}}function _0x23cf8a(_0x36f61d){const _0x200ab5=[new window[(_0x1ce3f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3df1ce=>setTimeout(_0x3df1ce,0x459ededd^_0x4756e8)),_0x5b9b2f[_0x1ce3f9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ce3f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c0707=>{let _0xf6d1eb=0x0;_0x3dd8a2[_0x1ce3f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ce3f9([0x6f,0x6e])](_0x1ce3f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34f27f,_0x17cbe0)=>{_0x17cbe0[0x0][_0x1ce3f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf6d1eb++,_0xf6d1eb==(0x4597e1e9^_0x4756e8)&&(_0x2c0707(),_0x34f27f[_0x1ce3f9([0x6f,0x66,0x66])]());});}))];return window[_0x1ce3f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ce3f9([0x72,0x61,0x63,0x65])](_0x200ab5)[_0x1ce3f9([0x74,0x68,0x65,0x6e])](()=>_0x36f61d);}async function _0x495cc7(){await _0x5b9b2f,_0x3dd8a2[_0x1ce3f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ce3f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29ba2e,_0x3dd8a2[_0x1ce3f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ce3f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29ba2e,_0x3dd8a2[_0x1ce3f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ce3f9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x202207(_0x24f94a){const _0x49b31e=_0x44aa9a();_0x3dd8a2[_0x49b31e]=_0x1ce3f9([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24f94a,_0x24f94a!=_0x1ce3f9([0x56,0x61,0x6c,0x69,0x64])&&_0x495cc7();}function _0x44aa9a(){const _0x5bf842=window[_0x1ce3f9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ce3f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ce3f9([0x6e,0x6f,0x77])]())[_0x1ce3f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ce3f9([0x2e]),'');let _0x2f2b77=_0x1ce3f9([0x51]);for(let _0xa30adf=0x0;_0xa30adf<_0x5bf842[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa30adf+=0x2){let _0x10ee29=window[_0x1ce3f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bf842[_0x1ce3f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa30adf,_0xa30adf+0x2));_0x10ee29>=_0x5bde11[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10ee29-=_0x5bde11[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f2b77+=_0x5bde11[_0x10ee29];}return _0x2f2b77;}function _0x490b50(){const _0x2f36db=_0x37820e[_0x1ce3f9([0x73,0x70,0x6c,0x69,0x74])](_0x1ce3f9([0x2e]));if(0x3!=_0x2f36db[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x156494(_0x2f36db[0x1]);function _0x156494(_0x25f5c8){const _0x165775=_0x4047cd(_0x25f5c8);return _0x165775&&_0x24fa8e()?_0x165775:null;function _0x24fa8e(){const _0x13f128=_0x165775[_0x1ce3f9([0x6a,0x74,0x69])],_0x137099=window[_0x1ce3f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13f128[_0x1ce3f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13f128[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3028f6={..._0x165775,[_0x1ce3f9([0x6a,0x74,0x69])]:_0x13f128[_0x1ce3f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13f128[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3028f6[_0x1ce3f9([0x76,0x63])],_0x5e8f45(_0x3028f6)==_0x137099;}}}async function _0x3b6887(){let _0x3ec49b=!0x0;try{const _0x248f6a=_0x37820e[_0x1ce3f9([0x73,0x70,0x6c,0x69,0x74])](_0x1ce3f9([0x2e])),[_0x5bc02d,_0xfd4741,_0x32ec2f]=_0x248f6a;return _0x549a48(_0x5bc02d),await _0x5d3948(_0x5bc02d,_0xfd4741,_0x32ec2f),_0x3ec49b;}catch{return!0x1;}function _0x549a48(_0x516416){const _0x12d138=_0x4047cd(_0x516416);_0x12d138&&_0x12d138[_0x1ce3f9([0x61,0x6c,0x67])]==_0x1ce3f9([0x45,0x53,0x32,0x35,0x36])||(_0x3ec49b=!0x1);}async function _0x5d3948(_0x2d0c35,_0x42a804,_0x4b7e3c){const _0x386c71=window[_0x1ce3f9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ce3f9([0x66,0x72,0x6f,0x6d])](_0x4a49b9(_0x4b7e3c),_0x5d5eba=>_0x5d5eba[_0x1ce3f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40f9bb=new window[(_0x1ce3f9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ce3f9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d0c35+_0x1ce3f9([0x2e])+_0x42a804),_0x5a8841=window[_0x1ce3f9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ce3f9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a8841)return;const _0x372392=await _0x5a8841[_0x1ce3f9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ce3f9([0x6a,0x77,0x6b]),_0x128935,{[_0x1ce3f9([0x6e,0x61,0x6d,0x65])]:_0x1ce3f9([0x45,0x43,0x44,0x53,0x41]),[_0x1ce3f9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ce3f9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ce3f9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a8841[_0x1ce3f9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ce3f9([0x6e,0x61,0x6d,0x65])]:_0x1ce3f9([0x45,0x43,0x44,0x53,0x41]),[_0x1ce3f9([0x68,0x61,0x73,0x68])]:{[_0x1ce3f9([0x6e,0x61,0x6d,0x65])]:_0x1ce3f9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x372392,_0x386c71,_0x40f9bb)||(_0x3ec49b=!0x1);}}function _0x4047cd(_0x16295d){return _0x16295d[_0x1ce3f9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ce3f9([0x65,0x79]))?JSON[_0x1ce3f9([0x70,0x61,0x72,0x73,0x65])](_0x4a49b9(_0x16295d)):null;}function _0x4a49b9(_0x15637c){return window[_0x1ce3f9([0x61,0x74,0x6f,0x62])](_0x15637c[_0x1ce3f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ce3f9([0x2b]))[_0x1ce3f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ce3f9([0x2f])));}function _0x5e8f45(_0x347cdd){let _0x49df2a=0x1505;function _0x1f13fa(_0xad2b1c){for(let _0x5add4a=0x0;_0x5add4a<_0xad2b1c[_0x1ce3f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5add4a++){const _0x58cbb1=_0xad2b1c[_0x1ce3f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5add4a);_0x49df2a=(_0x49df2a<<0x5)+_0x49df2a+_0x58cbb1,_0x49df2a&=_0x49df2a;}}function _0x42129a(_0x31601a){Array[_0x1ce3f9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31601a)?_0x31601a[_0x1ce3f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42129a):_0x31601a&&typeof _0x31601a==_0x1ce3f9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ce3f9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31601a)[_0x1ce3f9([0x73,0x6f,0x72,0x74])]()[_0x1ce3f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7f9407,_0xc81a38])=>{_0x1f13fa(_0x7f9407),_0x42129a(_0xc81a38);}):_0x1f13fa(window[_0x1ce3f9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31601a));}return _0x42129a(_0x347cdd),_0x49df2a>>>0x0;}function _0x217e2e(_0x5a6d75){return _0x5a6d75[_0x1ce3f9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ce3f9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ce3f9([0x30]));}function _0x4fd57e(_0x2c81e2){return _0x2c81e2[_0x1ce3f9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ce3f9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ce3f9([0x6a,0x6f,0x69,0x6e])]('');}function _0x29ba2e(){}function _0x1ce3f9(_0xa7e3b9){const _0x172be6=_0x154a;return _0xa7e3b9[_0x172be6(0x122)](_0x1e5994=>String[_0x172be6(0x146)](_0x1e5994))[_0x172be6(0x125)]('');}_0x202207(await _0x321ce2());}(this);}[_0xae2b73(0x144)](){const _0x2824af=_0xae2b73,_0x55ea8e=this[_0x2824af(0x13d)];if(!_0x55ea8e[_0x2824af(0x14c)][_0x2824af(0x129)](_0x2824af(0x132)))return;const _0x2c79d9=_0x55ea8e[_0x2824af(0x14c)][_0x2824af(0x129)](_0x2824af(0x126))[_0x2824af(0x14e)](_0x3c078d=>_0x2824af(0x150)==typeof _0x3c078d&&(!_0x40b52b(_0x3c078d)&&isNaN(Number(_0x3c078d))));if(_0x2c79d9[_0x2824af(0x135)])throw new _0x5cfbd7(_0x2824af(0x133),null,{'namedPresets':_0x2c79d9});}[_0xae2b73(0x13b)](){const _0x1b7c5b=_0xae2b73,_0x325db8=this[_0x1b7c5b(0x13d)],_0x2e03cc=this[_0x1b7c5b(0x13d)][_0x1b7c5b(0x14c)][_0x1b7c5b(0x129)](_0x1b7c5b(0x145));_0x325db8[_0x1b7c5b(0x141)][_0x1b7c5b(0x13a)](_0x1b7c5b(0x128))[_0x1b7c5b(0x136)]({'model':{'key':_0x1b7c5b(0x13f)},'view':_0x41ccae=>String(_0x41ccae)===String(_0x2e03cc)?null:{'key':_0x1b7c5b(0x130),'value':{'line-height':_0x41ccae}}}),_0x325db8[_0x1b7c5b(0x141)][_0x1b7c5b(0x13a)](_0x1b7c5b(0x12f))[_0x1b7c5b(0x136)]({'model':{'key':_0x1b7c5b(0x13f),'value':_0x1ce073=>{const _0x1b80ee=_0x1b7c5b;let _0x1316a5=_0x1ce073[_0x1b80ee(0x134)](_0x1b80ee(0x13e));return _0xae5a38(_0x1316a5)&&(_0x1316a5=String(Number(_0x1316a5[_0x1b80ee(0x13c)](0x0,-0x1))/0x64)),String(_0x1316a5)===String(_0x2e03cc)?null:_0x1316a5;}},'view':{'styles':{'line-height':/.*/}}});}[_0xae2b73(0x142)](){const _0xe0cb55=_0xae2b73,_0x5f41ac=this[_0xe0cb55(0x13d)],_0x1d6b03=this[_0xe0cb55(0x13d)][_0xe0cb55(0x14c)][_0xe0cb55(0x129)](_0xe0cb55(0x145)),_0x4a4ebc=_0x541561(this[_0xe0cb55(0x13d)][_0xe0cb55(0x14c)][_0xe0cb55(0x129)](_0xe0cb55(0x13f)))[_0xe0cb55(0x14e)](_0x56be72=>_0x56be72[_0xe0cb55(0x149)]),_0x5cbe84=_0x3f1eb1(_0xe0cb55(0x13f),_0x4a4ebc);_0x5f41ac[_0xe0cb55(0x141)][_0xe0cb55(0x136)](_0x5cbe84),_0x5f41ac[_0xe0cb55(0x141)][_0xe0cb55(0x13a)](_0xe0cb55(0x12f))[_0xe0cb55(0x136)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xe0cb55(0x13f),'value':_0xd1fe5=>{const _0x35c3c6=_0xe0cb55;let _0x25c8e7=_0xd1fe5[_0x35c3c6(0x134)](_0x35c3c6(0x13e));return _0xae5a38(_0x25c8e7)&&(_0x25c8e7=String(Number(_0x25c8e7[_0x35c3c6(0x13c)](0x0,-0x1))/0x64)),_0x25c8e7===String(_0x1d6b03)?null:_0x5cbe84[_0x35c3c6(0x149)][_0x35c3c6(0x147)][_0x35c3c6(0x124)](_0x25c8e7)?_0x25c8e7:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4ad9f5}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5dbdc3,createDropdown as _0x1784fc,MenuBarMenuListItemButtonView as _0x1dda79,MenuBarMenuListItemView as _0x1684e5,MenuBarMenuListView as _0x36c605,MenuBarMenuView as _0x227afb,UIModel as _0x4ea822}from'ckeditor5/src/ui.js';import{Collection as _0x1427e6}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x55f81a}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x303d8f}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4ad9f5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x457c07={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x457c07),this['_registerMenuBarComponent'](_0x457c07),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ed30e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbc7286;for(const _0x519c58 in _0x5ed30e){const _0x375530=_0x519c58,_0x2eeee5=_0x5ed30e[_0x375530];if('lineHeightLicenseKeyValid'==_0x2eeee5||'lineHeightLicenseKeyInvalid'==_0x2eeee5||'lineHeightLicenseKeyExpired'==_0x2eeee5||'lineHeightLicenseKeyDomainLimit'==_0x2eeee5||'lineHeightLicenseKeyNotAllowed'==_0x2eeee5||'lineHeightLicenseKeyEvaluationLimit'==_0x2eeee5||'lineHeightLicenseKeyTrialLimit'==_0x2eeee5||'lineHeightLicenseKeyUsageLimit'==_0x2eeee5){delete _0x5ed30e[_0x375530],_0xbc7286=_0x2eeee5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xbc7286&&_0x5ed30e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xbc7286&&_0x5ed30e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xbc7286&&_0x5ed30e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xbc7286&&_0x5ed30e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xbc7286&&_0x5ed30e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xbc7286&&_0x5ed30e['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xbc7286&&_0x5ed30e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x46c5c5=this['editor'],t=_0x46c5c5['t'],_0x3acf9f=_0x46c5c5['config']['get']('lineHeight'),_0x4186f1={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x303d8f(_0x3acf9f)['map'](_0x52283e=>{const _0x28c8fb=_0x4186f1[_0x52283e['title']];return _0x28c8fb&&_0x28c8fb!=_0x52283e['title']&&(_0x52283e=Object['assign']({},_0x52283e,{'title':_0x28c8fb})),_0x52283e;});}['_prepareListOptions'](){const _0x45b258=this['editor']['commands']['get']('lineHeight'),_0x3e381d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3a3d53=this['_getLocalizedLineHeightOptions'](),_0x22dc6e=new _0x1427e6(),_0x5a2d22=_0x39fba0=>'default'===_0x39fba0||String(_0x3e381d)===_0x39fba0;for(const _0x56cafa of _0x3a3d53){const _0x2edc9e={'type':'button','model':new _0x4ea822({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x56cafa['title'],'withText':!0x0})};_0x5a2d22(_0x56cafa['model'])?(_0x2edc9e['model']['bind']('isOn')['to'](_0x45b258,'value',_0x6365cd=>!_0x6365cd),_0x2edc9e['model']['commandParam']=void 0x0):(_0x2edc9e['model']['bind']('isOn')['to'](_0x45b258,'value',_0x2e6e5c=>_0x2e6e5c===_0x56cafa['model']),_0x2edc9e['model']['commandParam']=_0x56cafa['model']),_0x22dc6e['add'](_0x2edc9e);}if(this['_shouldRenderCustomValueOption']()){const _0x54f835=this['_getCustomValueOptionDefinition'](_0x3a3d53);_0x22dc6e['add'](_0x54f835);}return _0x22dc6e;}['_getCustomValueOptionDefinition'](_0x3cc336){const _0x29dd5d=this['editor'],t=_0x29dd5d['t'],_0x58aec8=_0x29dd5d['commands']['get']('lineHeight'),_0x3dd4bc=_0x3cc336['map'](_0x314646=>_0x314646['model']),_0x485d07={'type':'button','model':new _0x4ea822({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x485d07['model']['bind']('commandParam')['to'](_0x58aec8,'value'),_0x485d07['model']['bind']('isOn')['to'](_0x58aec8,'value',_0x1c3e52=>!!_0x1c3e52&&!_0x3dd4bc['includes'](String(_0x1c3e52))),_0x485d07['model']['bind']('label')['to'](_0x58aec8,'value',_0x2b5002=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2b5002))),_0x485d07;}['_registerToolbarComponent']({accessibleLabel:_0x4178f5,options:_0x14515a}){const _0x24cce3=this['editor'],_0x235f84=_0x24cce3['commands']['get']('lineHeight');_0x24cce3['ui']['componentFactory']['add']('lineHeight',_0x4c0f3f=>{const _0xcf7e69=_0x1784fc(_0x4c0f3f);return _0x5dbdc3(_0xcf7e69,_0x14515a,{'role':'menu','ariaLabel':_0x4178f5}),_0xcf7e69['buttonView']['set']({'label':_0x4178f5,'tooltip':!0x0,'icon':_0x55f81a}),_0xcf7e69['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xcf7e69['bind']('isEnabled')['to'](_0x235f84),this['listenTo'](_0xcf7e69,'execute',_0x1bbf6d=>{_0x24cce3['execute'](_0x1bbf6d['source']['commandName'],{'value':_0x1bbf6d['source']['commandParam']}),_0x24cce3['editing']['view']['focus']();}),_0xcf7e69['once']('change:isOpen',()=>{const _0x4aa8b6=_0xcf7e69['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xcf7e69,_0x14515a,_0x4aa8b6);}),_0xcf7e69;});}['_registerMenuBarComponent']({accessibleLabel:_0xa1897b,options:_0x3fcad0}){const _0x1220c5=this['editor'],_0x413f43=_0x1220c5['commands']['get']('lineHeight');_0x1220c5['ui']['componentFactory']['add']('menuBar:lineHeight',_0x22e4f7=>{const _0x33781b=new _0x227afb(_0x22e4f7);_0x33781b['buttonView']['set']({'label':_0xa1897b,'icon':_0x55f81a}),_0x33781b['bind']('isEnabled')['to'](_0x413f43);const _0x219889=new _0x36c605(_0x22e4f7);for(const _0x23ac4b of _0x3fcad0){const _0x25e47f=new _0x1684e5(_0x22e4f7,_0x33781b),_0x18ae5c=new _0x1dda79(_0x22e4f7);_0x18ae5c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x18ae5c['bind'](...Object['keys'](_0x23ac4b['model']))['to'](_0x23ac4b['model']),_0x18ae5c['delegate']('execute')['to'](_0x33781b),_0x18ae5c['on']('execute',()=>{_0x1220c5['execute'](_0x23ac4b['model']['commandName'],{'value':_0x23ac4b['model']['commandParam']}),_0x1220c5['editing']['view']['focus']();}),_0x25e47f['children']['add'](_0x18ae5c),_0x219889['items']['add'](_0x25e47f);}return _0x33781b['panelView']['children']['add'](_0x219889),this['_attachCustomOptionVisibilityHandler'](_0x33781b,_0x3fcad0,_0x219889),_0x33781b;});}['_attachCustomOptionVisibilityHandler'](_0x41b0f2,_0x574f5c,_0x2fdcda){if(!this['_shouldRenderCustomValueOption']())return;const _0x4d9b32=()=>{if(!_0x41b0f2['isOpen'])return;_0x2fdcda['items']['last']['isVisible']=Boolean(_0x574f5c['last']['model']['isOn']);};_0x4d9b32(),_0x41b0f2['on']('change:isOpen',()=>{_0x4d9b32();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xe9ce0a,_0x24c3c8){const _0x5b1cdd=_0x1666,_0x4cf1a1=_0xe9ce0a();while(!![]){try{const _0x4d65a5=parseInt(_0x5b1cdd(0x1bb))/0x1+parseInt(_0x5b1cdd(0x1ae))/0x2+-parseInt(_0x5b1cdd(0x1bf))/0x3*(-parseInt(_0x5b1cdd(0x1b9))/0x4)+parseInt(_0x5b1cdd(0x1ac))/0x5*(parseInt(_0x5b1cdd(0x1b6))/0x6)+-parseInt(_0x5b1cdd(0x1c4))/0x7*(parseInt(_0x5b1cdd(0x1c9))/0x8)+parseInt(_0x5b1cdd(0x1c7))/0x9+-parseInt(_0x5b1cdd(0x1cb))/0xa*(parseInt(_0x5b1cdd(0x1c6))/0xb);if(_0x4d65a5===_0x24c3c8)break;else _0x4cf1a1['push'](_0x4cf1a1['shift']());}catch(_0x3cd894){_0x4cf1a1['push'](_0x4cf1a1['shift']());}}}(_0x2636,0x2e0d4));const v={get 'single'(){const _0x473b7b=_0x1666;return{'title':_0x473b7b(0x1b7),'model':_0x473b7b(0x1ad),'view':{'key':_0x473b7b(0x1b2),'value':_0x473b7b(0x1cd)}};},get 'double'(){const _0x151901=_0x1666;return{'title':_0x151901(0x1be),'model':_0x151901(0x1b4),'view':{'key':_0x151901(0x1b2),'value':_0x151901(0x1c5)}};}};function _0x1666(_0x433052,_0x238940){const _0x263617=_0x2636();return _0x1666=function(_0x1666ea,_0x2c4af3){_0x1666ea=_0x1666ea-0x1ac;let _0x2b4840=_0x263617[_0x1666ea];return _0x2b4840;},_0x1666(_0x433052,_0x238940);}export function isLineHeightDefaultValue(_0x5400b4){const _0x1d27c7=_0x1666;return _0x1d27c7(0x1b5)==typeof _0x5400b4&&_0x1d27c7(0x1c8)===_0x5400b4[_0x1d27c7(0x1c0)]();}function _0x2636(){const _0x2d16a0=['values','span','class','options','double','string','73374GmXwTi','Single','line-height:','16kFZkKV','filter','191184VyujqR','value','push','Double','77454cqaGNT','toLowerCase','key','number','map','579418yvLZmO','line-height-double','3953774facVae','3160881zmKOLM','default','8xxqudl','style','20GvHkRp','defaultValue','line-height-single','view','40JyrWEJ','single','493546LXTlLt','model'];_0x2636=function(){return _0x2d16a0;};return _0x2636();}export function normalizeOptions(_0xb1b051){const _0x32484a=_0x1666;return _0xb1b051[_0x32484a(0x1b3)][_0x32484a(0x1c3)](_0x289715=>isLineHeightDefaultValue(_0x289715)?{'title':String(_0xb1b051[_0x32484a(0x1cc)]),'model':_0x32484a(0x1c8)}:(_0x32484a(0x1c2)==typeof _0x289715&&(_0x289715=String(_0x289715)),_0x32484a(0x1b5)!=typeof _0x289715?_0x289715:parseFloat(_0x289715)?{'title':_0x289715,'model':_0x289715,'view':{'name':_0x32484a(0x1b1),'styles':{'line-height':_0x289715}}}:findPreset(_0x289715)))[_0x32484a(0x1ba)](_0x48cec6=>void 0x0!==_0x48cec6);}export function findPreset(_0x15d9cf){const _0x4f0ba4=_0x1666;return _0x4f0ba4(0x1b5)==typeof _0x15d9cf?v[_0x15d9cf]:v[_0x15d9cf[_0x4f0ba4(0x1af)]];}export function buildDefinition(_0x4ede5e,_0x2a6e89){const _0x21d280=_0x1666,_0x41d1e9={'model':{'key':_0x4ede5e,'values':[]},'view':{}};for(const _0x253661 of _0x2a6e89)_0x21d280(0x1b2)===_0x253661[_0x21d280(0x1ce)]?.[_0x21d280(0x1c1)]?(_0x41d1e9[_0x21d280(0x1af)][_0x21d280(0x1b0)][_0x21d280(0x1bd)](_0x253661[_0x21d280(0x1af)]),_0x41d1e9[_0x21d280(0x1ce)][_0x253661[_0x21d280(0x1af)]]={'key':_0x21d280(0x1b2),'value':_0x253661[_0x21d280(0x1ce)][_0x21d280(0x1bc)]}):(_0x41d1e9[_0x21d280(0x1af)][_0x21d280(0x1b0)][_0x21d280(0x1bd)](_0x253661[_0x21d280(0x1af)]),_0x41d1e9[_0x21d280(0x1ce)][_0x253661[_0x21d280(0x1af)]]={'key':_0x21d280(0x1ca),'value':_0x21d280(0x1b8)+_0x253661[_0x21d280(0x1af)]+';'});return _0x41d1e9;}
|