@ckeditor/ckeditor5-line-height 47.0.0-alpha.6 → 47.0.0-alpha.7
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
|
-
function
|
|
23
|
+
const _0x570cd9=_0x5d27;function _0x5d27(_0x1d8002,_0x4b06ca){const _0x3ad367=_0x3ad3();return _0x5d27=function(_0x5d27b9,_0x3e0ce5){_0x5d27b9=_0x5d27b9-0xb2;let _0x2469a7=_0x3ad367[_0x5d27b9];return _0x2469a7;},_0x5d27(_0x1d8002,_0x4b06ca);}(function(_0x5ad65a,_0x1c18b6){const _0x201e9c=_0x5d27,_0x4b2e7e=_0x5ad65a();while(!![]){try{const _0x5086c7=-parseInt(_0x201e9c(0xc6))/0x1*(parseInt(_0x201e9c(0xb8))/0x2)+parseInt(_0x201e9c(0xbf))/0x3*(parseInt(_0x201e9c(0xc5))/0x4)+-parseInt(_0x201e9c(0xb6))/0x5+-parseInt(_0x201e9c(0xb2))/0x6*(parseInt(_0x201e9c(0xb3))/0x7)+-parseInt(_0x201e9c(0xb5))/0x8+parseInt(_0x201e9c(0xc8))/0x9+parseInt(_0x201e9c(0xca))/0xa;if(_0x5086c7===_0x1c18b6)break;else _0x4b2e7e['push'](_0x4b2e7e['shift']());}catch(_0x254a80){_0x4b2e7e['push'](_0x4b2e7e['shift']());}}}(_0x3ad3,0xa206a));import{Command as _0x4c2fc4}from'ckeditor5/src/core.js';function _0x3ad3(){const _0x5919b3=['from','document','model','_canHaveLineHeight','4FjfjhY','2nwHkst','selection','5818842svPAMG','getAttribute','17845070aamLcN','checkAttribute','execute','refresh','change','50454uzGhXP','1022RZPbeH','filter','2824400BDSexA','2138030fsFEzv','lineHeight','452444BSQUbO','setAttribute','removeAttribute','value','getSelectedBlocks','editor','isEnabled','2080281SZchnt','schema'];_0x3ad3=function(){return _0x5919b3;};return _0x3ad3();}import{first as _0x4c30f2}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4c2fc4{[_0x570cd9(0xcd)](){const _0x3ab230=_0x570cd9,_0x5856a7=this[_0x3ab230(0xbd)][_0x3ab230(0xc3)][_0x3ab230(0xc2)],_0x2a80af=_0x4c30f2(_0x5856a7[_0x3ab230(0xc7)][_0x3ab230(0xbc)]());this[_0x3ab230(0xbe)]=Boolean(_0x2a80af)&&this[_0x3ab230(0xc4)](_0x2a80af),this[_0x3ab230(0xbb)]=this[_0x3ab230(0xbe)]&&_0x2a80af[_0x3ab230(0xc9)](_0x3ab230(0xb7));}[_0x570cd9(0xcc)](_0x10475b={}){const _0x7dd934=_0x570cd9,_0x4e2af1=this[_0x7dd934(0xbd)][_0x7dd934(0xc3)],_0x1adb42=_0x4e2af1[_0x7dd934(0xc2)][_0x7dd934(0xc7)],_0x3bf6ea=_0x10475b[_0x7dd934(0xbb)];_0x4e2af1[_0x7dd934(0xce)](_0x146faf=>{const _0x241cde=_0x7dd934,_0x10fe1d=Array[_0x241cde(0xc1)](_0x1adb42[_0x241cde(0xbc)]())[_0x241cde(0xb4)](_0x11e2a7=>this[_0x241cde(0xc4)](_0x11e2a7));for(const _0x16610f of _0x10fe1d)_0x3bf6ea?_0x146faf[_0x241cde(0xb9)](_0x241cde(0xb7),_0x3bf6ea,_0x16610f):_0x146faf[_0x241cde(0xba)](_0x241cde(0xb7),_0x16610f);});}[_0x570cd9(0xc4)](_0x4d6365){const _0x51d4b0=_0x570cd9;return this[_0x51d4b0(0xbd)][_0x51d4b0(0xc3)][_0x51d4b0(0xc0)][_0x51d4b0(0xcb)](_0x4d6365,_0x51d4b0(0xb7));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x22bef2=_0x4074;(function(_0x4bd58d,_0x549897){const _0x586d5b=_0x4074,_0x29b512=_0x4bd58d();while(!![]){try{const _0x2c5e84=parseInt(_0x586d5b(0x1b6))/0x1*(parseInt(_0x586d5b(0x1b0))/0x2)+parseInt(_0x586d5b(0x1b2))/0x3*(-parseInt(_0x586d5b(0x1ae))/0x4)+-parseInt(_0x586d5b(0x1bc))/0x5+-parseInt(_0x586d5b(0x1cd))/0x6*(parseInt(_0x586d5b(0x1a7))/0x7)+parseInt(_0x586d5b(0x1bf))/0x8+-parseInt(_0x586d5b(0x1ca))/0x9+parseInt(_0x586d5b(0x1cb))/0xa*(parseInt(_0x586d5b(0x1c9))/0xb);if(_0x2c5e84===_0x549897)break;else _0x29b512['push'](_0x29b512['shift']());}catch(_0x11e647){_0x29b512['push'](_0x29b512['shift']());}}}(_0x1bad,0x691dd));import{Plugin as _0x2f45c7}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x540cf3}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x29d48f}from'ckeditor5/src/engine.js';import{uid as _0x24f5ef,CKEditorError as _0x53a7dd}from'ckeditor5/src/utils.js';function _0x4074(_0x26b782,_0x30dd38){const _0x1badf3=_0x1bad();return _0x4074=function(_0x40741f,_0x3dd805){_0x40741f=_0x40741f-0x19d;let _0x33e7f3=_0x1badf3[_0x40741f];return _0x33e7f3;},_0x4074(_0x26b782,_0x30dd38);}function _0x1bad(){const _0xc12966=['2841RDKSNd','setAttributeProperties','string','lineHeight.supportAllValues','5449lEMDkr','isOfficialPlugin','map','_preparePredefinedConverters','lineHeight.defaultValue','includes','1204910oNQtyZ','length','lineHeight','2828400yMOKcA','_validateConfig','model','href','line-height','editor','conversion','getStyle','schema','commands','2010404fspBwZ','6193701vkJjQY','80dIjLPC','join','5754utNBLy','LineHeightEditing','default','fromCharCode','define','get','add','isPremiumPlugin','downcast','init','extend','for','upcast','values','_prepareAnyValueConverters','slice','style','1253fIHcbk','config','filter','$block','afterInit','attributeToAttribute','lineHeight.options','1592cOFreg','pluginName','34wIeJaN','line-height-invalid-use-of-named-presets'];_0x1bad=function(){return _0xc12966;};return _0x1bad();}import{buildDefinition as _0x29ab13,isLineHeightDefaultValue as _0x2f7772,normalizeOptions as _0x572ff5}from'./utils.js';export class LineHeightEditing extends _0x2f45c7{static get[_0x22bef2(0x1af)](){const _0x5b1386=_0x22bef2;return _0x5b1386(0x1ce);}static get[_0x22bef2(0x1b7)](){return!0x0;}static get[_0x22bef2(0x19d)](){return!0x0;}constructor(_0x139cba){const _0x1b6101=_0x22bef2;super(_0x139cba),_0x139cba[_0x1b6101(0x1a8)][_0x1b6101(0x1d1)](_0x1b6101(0x1be),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1b6101(0x1cf),0x2,2.5,0x3]});}[_0x22bef2(0x19f)](){const _0x1facc0=_0x22bef2,_0x36c772=this[_0x1facc0(0x1c4)];this[_0x1facc0(0x1c0)](),_0x36c772[_0x1facc0(0x1c1)][_0x1facc0(0x1c7)][_0x1facc0(0x1a0)](_0x1facc0(0x1aa),{'allowAttributes':_0x1facc0(0x1be)}),_0x36c772[_0x1facc0(0x1c1)][_0x1facc0(0x1c7)][_0x1facc0(0x1b3)](_0x1facc0(0x1be),{'isFormatting':!0x0}),_0x36c772[_0x1facc0(0x1c8)][_0x1facc0(0x1d3)](_0x1facc0(0x1be),new _0x540cf3(_0x36c772)),this[_0x1facc0(0x1c4)][_0x1facc0(0x1a8)][_0x1facc0(0x1d2)](_0x1facc0(0x1b5))?this[_0x1facc0(0x1a4)]():this[_0x1facc0(0x1b9)]();}[_0x22bef2(0x1ab)](){!async function(_0x59d885){const _0x4d81b6=_0x7859c1([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]),_0x491a45=0x4597e011,_0xdf39a0=0x459094d1^_0x491a45,_0x4d9a5f=window[_0x7859c1([0x44,0x61,0x74,0x65])][_0x7859c1([0x6e,0x6f,0x77])](),_0x5009e5=_0x59d885[_0x7859c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a5f99=new window[(_0x7859c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b989b=>{_0x5009e5[_0x7859c1([0x6f,0x6e,0x63,0x65])](_0x7859c1([0x72,0x65,0x61,0x64,0x79]),_0x3b989b);}),_0x473578={[_0x7859c1([0x6b,0x74,0x79])]:_0x7859c1([0x45,0x43]),[_0x7859c1([0x75,0x73,0x65])]:_0x7859c1([0x73,0x69,0x67]),[_0x7859c1([0x63,0x72,0x76])]:_0x7859c1([0x50,0x2d,0x32,0x35,0x36]),[_0x7859c1([0x78])]:_0x7859c1([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]),[_0x7859c1([0x79])]:_0x7859c1([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]),[_0x7859c1([0x61,0x6c,0x67])]:_0x7859c1([0x45,0x53,0x32,0x35,0x36])},_0x276bff=_0x5009e5[_0x7859c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7859c1([0x67,0x65,0x74])](_0x7859c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49afec(){let _0x4af423,_0x3a6e70=null,_0x4c76bb=null;try{if(_0x276bff==_0x7859c1([0x47,0x50,0x4c]))return _0x7859c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4af423=_0x507104(),!_0x4af423)return _0x7859c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4af423[_0x7859c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c76bb=_0x481764(_0x4af423[_0x7859c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4af423[_0x7859c1([0x6a,0x74,0x69])])),await _0x336ac5()?_0x29ef1d()?_0x26be77()?_0x7859c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30411c()?(_0x4af423[_0x7859c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7859c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a6e70=_0x5c5cdb(_0x7859c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4af423[_0x7859c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7859c1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a6e70=_0x5c5cdb(_0x7859c1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x57e346()):_0x7859c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7859c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7859c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7859c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26be77(){const _0x59e18a=[_0x7859c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7859c1([0x74,0x72,0x69,0x61,0x6c])][_0x7859c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4af423[_0x7859c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d9a5f/0x3e8:0xe10*_0xdf39a0;return _0x4af423[_0x7859c1([0x65,0x78,0x70])]<_0x59e18a;}function _0x29ef1d(){const _0x5f09f4=_0x4af423[_0x7859c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f09f4&&(!!_0x5f09f4[_0x7859c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7859c1([0x2a]))||!!_0x5f09f4[_0x7859c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7859c1([0x4c,0x48])));}function _0x30411c(){const _0x2c6b0a=_0x4074,_0x1aa313=_0x4af423[_0x7859c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1aa313||0x0==_0x1aa313[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f99ba}=new URL(window[_0x7859c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2c6b0a(0x1c2)]);if(_0x1aa313[_0x7859c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f99ba))return!0x0;const _0x4ae0f6=_0x3f99ba[_0x7859c1([0x73,0x70,0x6c,0x69,0x74])](_0x7859c1([0x2e]));return _0x1aa313[_0x7859c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18f655=>_0x18f655[_0x7859c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7859c1([0x2a])))[_0x7859c1([0x6d,0x61,0x70])](_0x4e0e45=>_0x4e0e45[_0x7859c1([0x73,0x70,0x6c,0x69,0x74])](_0x7859c1([0x2e])))[_0x7859c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2beee6=>_0x2beee6[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ae0f6[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7859c1([0x6d,0x61,0x70])](_0x13ea5f=>Array(_0x4ae0f6[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13ea5f[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7859c1([0x66,0x69,0x6c,0x6c])](_0x13ea5f[0x0]===_0x7859c1([0x2a])?_0x7859c1([0x2a]):'')[_0x7859c1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13ea5f))[_0x7859c1([0x73,0x6f,0x6d,0x65])](_0x3206e2=>_0x4ae0f6[_0x7859c1([0x65,0x76,0x65,0x72,0x79])]((_0x20789d,_0x2b9b14)=>_0x3206e2[_0x2b9b14]===_0x20789d||_0x3206e2[_0x2b9b14]===_0x7859c1([0x2a])));}function _0x57e346(){return _0x3a6e70&&_0x4c76bb?new window[(_0x7859c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x344713,_0x528a1a)=>{_0x3a6e70[_0x7859c1([0x74,0x68,0x65,0x6e])](_0x344713,_0x528a1a),_0x4c76bb[_0x7859c1([0x74,0x68,0x65,0x6e])](_0x467d17=>{_0x467d17!=_0x7859c1([0x56,0x61,0x6c,0x69,0x64])&&_0x344713(_0x467d17);},_0x528a1a);}):_0x3a6e70||_0x4c76bb||_0x7859c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x481764(_0x5c9f0e,_0x5582fc){return new window[(_0x7859c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9389ec=>{if(_0x54c1b3())return _0x9389ec(_0x7859c1([0x56,0x61,0x6c,0x69,0x64]));_0x3ef230(),_0x5009e5[_0x7859c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7859c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x454f4f=!0x1;const _0x5d7036=_0x24f5ef();function _0x36c210(_0x316cdc){return!!_0x316cdc&&(typeof _0x316cdc===_0x7859c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x316cdc===_0x7859c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x316cdc[_0x7859c1([0x74,0x68,0x65,0x6e])]===_0x7859c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x316cdc[_0x7859c1([0x63,0x61,0x74,0x63,0x68])]===_0x7859c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x110deb(_0xb10b60){_0x1d721e(_0xb10b60)[_0x7859c1([0x74,0x68,0x65,0x6e])](_0x1dc849=>{if(!_0x1dc849||_0x1dc849[_0x7859c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7859c1([0x6f,0x6b]))return _0x7859c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29b2d1(_0x5635fc(_0x5d7036+_0x5582fc))!=_0x1dc849[_0x7859c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7859c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7859c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x7859c1([0x74,0x68,0x65,0x6e])](_0x56e569=>(_0xb990ed(),_0x56e569),()=>{const _0x318316=_0x38f40c();return null==_0x318316?(_0xb990ed(),_0x7859c1([0x56,0x61,0x6c,0x69,0x64])):_0x7859c1(_0x4d9a5f-_0x318316>(0x619b6411^_0x491a45)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7859c1([0x74,0x68,0x65,0x6e])](_0x9389ec)[_0x7859c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9389ec(_0x7859c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2856d0=0x45a10e91^_0x491a45;function _0xb990ed(){const _0x50fb56=_0x7859c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b2d1(_0x5635fc(_0x5c9f0e)),_0x15eb8a=_0x5838a3(_0x29b2d1(window[_0x7859c1([0x4d,0x61,0x74,0x68])][_0x7859c1([0x63,0x65,0x69,0x6c])](_0x4d9a5f/_0x2856d0)));window[_0x7859c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7859c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50fb56,_0x15eb8a);}function _0x38f40c(){const _0x3a4333=_0x7859c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b2d1(_0x5635fc(_0x5c9f0e)),_0x16450b=window[_0x7859c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7859c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a4333);return _0x16450b?window[_0x7859c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5838a3(_0x16450b),0x10)*_0x2856d0:null;}function _0x1d721e(_0x47930c){return new window[(_0x7859c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29e6f5,_0x33e39e)=>{_0x47930c[_0x7859c1([0x74,0x68,0x65,0x6e])](_0x29e6f5,_0x33e39e),window[_0x7859c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x33e39e,0x459634d1^_0x491a45);});}}_0x5009e5[_0x7859c1([0x6f,0x6e])](_0x7859c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e32c4,_0x13a96d)=>{if(_0x13a96d[0x0]!=_0x5c9f0e)return _0x9389ec(_0x7859c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13a96d[0x1]={..._0x13a96d[0x1],[_0x7859c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d7036};},{[_0x7859c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7859c1([0x68,0x69,0x67,0x68])}),_0x5009e5[_0x7859c1([0x6f,0x6e])](_0x7859c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x541c3c=>{_0x36c210(_0x541c3c[_0x7859c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x454f4f=!0x0,_0x110deb(_0x541c3c[_0x7859c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7859c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7859c1([0x6c,0x6f,0x77])}),_0x5a5f99[_0x7859c1([0x74,0x68,0x65,0x6e])](()=>{_0x454f4f||_0x9389ec(_0x7859c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54c1b3(){return _0x5009e5[_0x7859c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7859c1([0x76,0x69,0x65,0x77])][_0x7859c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7859c1([0x61,0x75,0x74,0x6f]);}function _0x3ef230(){_0x5009e5[_0x7859c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7859c1([0x76,0x69,0x65,0x77])][_0x7859c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7859c1([0x61,0x75,0x74,0x6f]);}}function _0x5c5cdb(_0x24eced){const _0x3fe782=[new window[(_0x7859c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33dba4=>setTimeout(_0x33dba4,0x459ededd^_0x491a45)),_0x5a5f99[_0x7859c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7859c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48dc6a=>{let _0x16d810=0x0;_0x5009e5[_0x7859c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x7859c1([0x6f,0x6e])](_0x7859c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a5793,_0x333277)=>{_0x333277[0x0][_0x7859c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16d810++,_0x16d810==(0x4597e1e9^_0x491a45)&&(_0x48dc6a(),_0x5a5793[_0x7859c1([0x6f,0x66,0x66])]());});}))];return window[_0x7859c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7859c1([0x72,0x61,0x63,0x65])](_0x3fe782)[_0x7859c1([0x74,0x68,0x65,0x6e])](()=>_0x24eced);}async function _0x441980(){await _0x5a5f99,_0x5009e5[_0x7859c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x7859c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42afd3,_0x5009e5[_0x7859c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x7859c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42afd3,_0x5009e5[_0x7859c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7859c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b1d8a(_0x49bc9a){const _0x1187bb=_0x1fb595();_0x5009e5[_0x1187bb]=_0x7859c1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49bc9a,_0x49bc9a!=_0x7859c1([0x56,0x61,0x6c,0x69,0x64])&&_0x441980();}function _0x1fb595(){const _0x160d68=window[_0x7859c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7859c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7859c1([0x6e,0x6f,0x77])]())[_0x7859c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7859c1([0x2e]),'');let _0x59a2f0=_0x7859c1([0x51]);for(let _0x2595cc=0x0;_0x2595cc<_0x160d68[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2595cc+=0x2){let _0x4f71b5=window[_0x7859c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x160d68[_0x7859c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2595cc,_0x2595cc+0x2));_0x4f71b5>=_0x4d81b6[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f71b5-=_0x4d81b6[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59a2f0+=_0x4d81b6[_0x4f71b5];}return _0x59a2f0;}function _0x507104(){const _0x59cd5d=_0x276bff[_0x7859c1([0x73,0x70,0x6c,0x69,0x74])](_0x7859c1([0x2e]));if(0x3!=_0x59cd5d[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15dcbb(_0x59cd5d[0x1]);function _0x15dcbb(_0xac3bf4){const _0x4997de=_0x8679ea(_0xac3bf4);return _0x4997de&&_0x5366b7()?_0x4997de:null;function _0x5366b7(){const _0x50bc31=_0x4997de[_0x7859c1([0x6a,0x74,0x69])],_0x536dd9=window[_0x7859c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50bc31[_0x7859c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50bc31[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45de7b={..._0x4997de,[_0x7859c1([0x6a,0x74,0x69])]:_0x50bc31[_0x7859c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50bc31[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45de7b[_0x7859c1([0x76,0x63])],_0x5635fc(_0x45de7b)==_0x536dd9;}}}async function _0x336ac5(){let _0x12793b=!0x0;try{const _0x390a46=_0x276bff[_0x7859c1([0x73,0x70,0x6c,0x69,0x74])](_0x7859c1([0x2e])),[_0x2b70a8,_0x3cb89c,_0x482924]=_0x390a46;return _0x4a4fae(_0x2b70a8),await _0x24d044(_0x2b70a8,_0x3cb89c,_0x482924),_0x12793b;}catch{return!0x1;}function _0x4a4fae(_0x3daf2e){const _0x487309=_0x8679ea(_0x3daf2e);_0x487309&&_0x487309[_0x7859c1([0x61,0x6c,0x67])]==_0x7859c1([0x45,0x53,0x32,0x35,0x36])||(_0x12793b=!0x1);}async function _0x24d044(_0x459202,_0x349ce7,_0x441e9f){const _0x18038e=window[_0x7859c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7859c1([0x66,0x72,0x6f,0x6d])](_0x527e47(_0x441e9f),_0x43ad1a=>_0x43ad1a[_0x7859c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x346096=new window[(_0x7859c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7859c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x459202+_0x7859c1([0x2e])+_0x349ce7),_0x3949f6=window[_0x7859c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7859c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3949f6)return;const _0x425128=await _0x3949f6[_0x7859c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7859c1([0x6a,0x77,0x6b]),_0x473578,{[_0x7859c1([0x6e,0x61,0x6d,0x65])]:_0x7859c1([0x45,0x43,0x44,0x53,0x41]),[_0x7859c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7859c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7859c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3949f6[_0x7859c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7859c1([0x6e,0x61,0x6d,0x65])]:_0x7859c1([0x45,0x43,0x44,0x53,0x41]),[_0x7859c1([0x68,0x61,0x73,0x68])]:{[_0x7859c1([0x6e,0x61,0x6d,0x65])]:_0x7859c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x425128,_0x18038e,_0x346096)||(_0x12793b=!0x1);}}function _0x8679ea(_0x1ad71e){return _0x1ad71e[_0x7859c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7859c1([0x65,0x79]))?JSON[_0x7859c1([0x70,0x61,0x72,0x73,0x65])](_0x527e47(_0x1ad71e)):null;}function _0x527e47(_0x276b4f){return window[_0x7859c1([0x61,0x74,0x6f,0x62])](_0x276b4f[_0x7859c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7859c1([0x2b]))[_0x7859c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7859c1([0x2f])));}function _0x5635fc(_0x547549){let _0x513376=0x1505;function _0x3b6aa2(_0x10b55f){for(let _0xe7e244=0x0;_0xe7e244<_0x10b55f[_0x7859c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe7e244++){const _0x4008a0=_0x10b55f[_0x7859c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe7e244);_0x513376=(_0x513376<<0x5)+_0x513376+_0x4008a0,_0x513376&=_0x513376;}}function _0x95d28d(_0x5bb605){Array[_0x7859c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bb605)?_0x5bb605[_0x7859c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x95d28d):_0x5bb605&&typeof _0x5bb605==_0x7859c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7859c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bb605)[_0x7859c1([0x73,0x6f,0x72,0x74])]()[_0x7859c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9bfa72,_0x29f9b7])=>{_0x3b6aa2(_0x9bfa72),_0x95d28d(_0x29f9b7);}):_0x3b6aa2(window[_0x7859c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bb605));}return _0x95d28d(_0x547549),_0x513376>>>0x0;}function _0x29b2d1(_0x2cf91d){return _0x2cf91d[_0x7859c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7859c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7859c1([0x30]));}function _0x5838a3(_0x27f13c){return _0x27f13c[_0x7859c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7859c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7859c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x42afd3(){}function _0x7859c1(_0x31c4ae){const _0x1c7de7=_0x4074;return _0x31c4ae[_0x1c7de7(0x1b8)](_0x113c67=>String[_0x1c7de7(0x1d0)](_0x113c67))[_0x1c7de7(0x1cc)]('');}_0x5b1d8a(await _0x49afec());}(this);}[_0x22bef2(0x1c0)](){const _0x5eab08=_0x22bef2,_0x31a7a5=this[_0x5eab08(0x1c4)];if(!_0x31a7a5[_0x5eab08(0x1a8)][_0x5eab08(0x1d2)](_0x5eab08(0x1b5)))return;const _0x2c2d3b=_0x31a7a5[_0x5eab08(0x1a8)][_0x5eab08(0x1d2)](_0x5eab08(0x1ad))[_0x5eab08(0x1a9)](_0x5c2068=>_0x5eab08(0x1b4)==typeof _0x5c2068&&(!_0x2f7772(_0x5c2068)&&isNaN(Number(_0x5c2068))));if(_0x2c2d3b[_0x5eab08(0x1bd)])throw new _0x53a7dd(_0x5eab08(0x1b1),null,{'namedPresets':_0x2c2d3b});}[_0x22bef2(0x1a4)](){const _0x1e1ac0=_0x22bef2,_0xb2bfd5=this[_0x1e1ac0(0x1c4)],_0x26da78=this[_0x1e1ac0(0x1c4)][_0x1e1ac0(0x1a8)][_0x1e1ac0(0x1d2)](_0x1e1ac0(0x1ba));_0xb2bfd5[_0x1e1ac0(0x1c5)][_0x1e1ac0(0x1a1)](_0x1e1ac0(0x19e))[_0x1e1ac0(0x1ac)]({'model':{'key':_0x1e1ac0(0x1be)},'view':_0x432b44=>String(_0x432b44)===String(_0x26da78)?null:{'key':_0x1e1ac0(0x1a6),'value':{'line-height':_0x432b44}}}),_0xb2bfd5[_0x1e1ac0(0x1c5)][_0x1e1ac0(0x1a1)](_0x1e1ac0(0x1a2))[_0x1e1ac0(0x1ac)]({'model':{'key':_0x1e1ac0(0x1be),'value':_0x45f729=>{const _0x238e07=_0x1e1ac0;let _0x37ebf=_0x45f729[_0x238e07(0x1c6)](_0x238e07(0x1c3));return _0x29d48f(_0x37ebf)&&(_0x37ebf=String(Number(_0x37ebf[_0x238e07(0x1a5)](0x0,-0x1))/0x64)),String(_0x37ebf)===String(_0x26da78)?null:_0x37ebf;}},'view':{'styles':{'line-height':/.*/}}});}[_0x22bef2(0x1b9)](){const _0x23d1a5=_0x22bef2,_0x13bf9d=this[_0x23d1a5(0x1c4)],_0x2aba67=this[_0x23d1a5(0x1c4)][_0x23d1a5(0x1a8)][_0x23d1a5(0x1d2)](_0x23d1a5(0x1ba)),_0x3b803c=_0x572ff5(this[_0x23d1a5(0x1c4)][_0x23d1a5(0x1a8)][_0x23d1a5(0x1d2)](_0x23d1a5(0x1be)))[_0x23d1a5(0x1a9)](_0x6ad21a=>_0x6ad21a[_0x23d1a5(0x1c1)]),_0x1c2626=_0x29ab13(_0x23d1a5(0x1be),_0x3b803c);_0x13bf9d[_0x23d1a5(0x1c5)][_0x23d1a5(0x1ac)](_0x1c2626),_0x13bf9d[_0x23d1a5(0x1c5)][_0x23d1a5(0x1a1)](_0x23d1a5(0x1a2))[_0x23d1a5(0x1ac)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x23d1a5(0x1be),'value':_0x568303=>{const _0xc131ea=_0x23d1a5;let _0x151b62=_0x568303[_0xc131ea(0x1c6)](_0xc131ea(0x1c3));return _0x29d48f(_0x151b62)&&(_0x151b62=String(Number(_0x151b62[_0xc131ea(0x1a5)](0x0,-0x1))/0x64)),_0x151b62===String(_0x2aba67)?null:_0x1c2626[_0xc131ea(0x1c1)][_0xc131ea(0x1a3)][_0xc131ea(0x1bb)](_0x151b62)?_0x151b62:null;}}});}}
|
|
23
|
+
function _0x3bb0(_0x4d6742,_0xa02270){const _0x2ffd1e=_0x2ffd();return _0x3bb0=function(_0x3bb01b,_0x143e3c){_0x3bb01b=_0x3bb01b-0xa4;let _0x4962bb=_0x2ffd1e[_0x3bb01b];return _0x4962bb;},_0x3bb0(_0x4d6742,_0xa02270);}const _0x555b1a=_0x3bb0;(function(_0x56b934,_0x282ab9){const _0x2f615f=_0x3bb0,_0x5d7d8f=_0x56b934();while(!![]){try{const _0x2da242=parseInt(_0x2f615f(0xd5))/0x1+-parseInt(_0x2f615f(0xd8))/0x2+parseInt(_0x2f615f(0xa6))/0x3*(parseInt(_0x2f615f(0xba))/0x4)+parseInt(_0x2f615f(0xc2))/0x5+parseInt(_0x2f615f(0xc0))/0x6*(-parseInt(_0x2f615f(0xcc))/0x7)+parseInt(_0x2f615f(0xad))/0x8*(-parseInt(_0x2f615f(0xb7))/0x9)+parseInt(_0x2f615f(0xb8))/0xa*(parseInt(_0x2f615f(0xb2))/0xb);if(_0x2da242===_0x282ab9)break;else _0x5d7d8f['push'](_0x5d7d8f['shift']());}catch(_0x19836e){_0x5d7d8f['push'](_0x5d7d8f['shift']());}}}(_0x2ffd,0x430ba));import{Plugin as _0x118f53}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5e0525}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x55c596}from'ckeditor5/src/engine.js';import{uid as _0x5a3533,CKEditorError as _0x587d5}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4c1f00,isLineHeightDefaultValue as _0x1fd870,normalizeOptions as _0x3bc954}from'./utils.js';export class LineHeightEditing extends _0x118f53{static get[_0x555b1a(0xbd)](){const _0x3b0eab=_0x555b1a;return _0x3b0eab(0xce);}static get[_0x555b1a(0xc8)](){return!0x0;}static get[_0x555b1a(0xd3)](){return!0x0;}constructor(_0x2f952e){const _0x4e80b0=_0x555b1a;super(_0x2f952e),_0x2f952e[_0x4e80b0(0xab)][_0x4e80b0(0xb4)](_0x4e80b0(0xb5),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4e80b0(0xd9),0x2,2.5,0x3]});}[_0x555b1a(0xac)](){const _0x96912=_0x555b1a,_0x3614b0=this[_0x96912(0xa8)];this[_0x96912(0xb9)](),_0x3614b0[_0x96912(0xae)][_0x96912(0xc5)][_0x96912(0xaa)](_0x96912(0xd0),{'allowAttributes':_0x96912(0xb5)}),_0x3614b0[_0x96912(0xae)][_0x96912(0xc5)][_0x96912(0xd2)](_0x96912(0xb5),{'isFormatting':!0x0}),_0x3614b0[_0x96912(0xaf)][_0x96912(0xc3)](_0x96912(0xb5),new _0x5e0525(_0x3614b0)),this[_0x96912(0xa8)][_0x96912(0xab)][_0x96912(0xcb)](_0x96912(0xd7))?this[_0x96912(0xd1)]():this[_0x96912(0xd6)]();}[_0x555b1a(0xbb)](){!async function(_0x599905){const _0x37a833=_0xe87540([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]),_0x1737a6=0x4597e011,_0x28e494=0x459094c9^_0x1737a6,_0x4f0a2f=window[_0xe87540([0x44,0x61,0x74,0x65])][_0xe87540([0x6e,0x6f,0x77])](),_0x3ac545=_0x599905[_0xe87540([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37257f=new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a18e3=>{_0x3ac545[_0xe87540([0x6f,0x6e,0x63,0x65])](_0xe87540([0x72,0x65,0x61,0x64,0x79]),_0x3a18e3);}),_0x288053={[_0xe87540([0x6b,0x74,0x79])]:_0xe87540([0x45,0x43]),[_0xe87540([0x75,0x73,0x65])]:_0xe87540([0x73,0x69,0x67]),[_0xe87540([0x63,0x72,0x76])]:_0xe87540([0x50,0x2d,0x32,0x35,0x36]),[_0xe87540([0x78])]:_0xe87540([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]),[_0xe87540([0x79])]:_0xe87540([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]),[_0xe87540([0x61,0x6c,0x67])]:_0xe87540([0x45,0x53,0x32,0x35,0x36])},_0x13ded2=_0x3ac545[_0xe87540([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe87540([0x67,0x65,0x74])](_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x406408(){let _0x428a2f,_0x395aab=null,_0x4a7ebb=null;try{if(_0x13ded2==_0xe87540([0x47,0x50,0x4c]))return _0xe87540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x428a2f=_0x51ef8f(),!_0x428a2f)return _0xe87540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x428a2f[_0xe87540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a7ebb=_0x58033d(_0x428a2f[_0xe87540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x428a2f[_0xe87540([0x6a,0x74,0x69])])),await _0x1b8552()?_0x333641()?_0x218440()?_0xe87540([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fcf4d()?(_0x428a2f[_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe87540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x395aab=_0x4684d6(_0xe87540([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x428a2f[_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe87540([0x74,0x72,0x69,0x61,0x6c])&&(_0x395aab=_0x4684d6(_0xe87540([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5beadc()):_0xe87540([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe87540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe87540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe87540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x218440(){const _0x30a6a0=[_0xe87540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe87540([0x74,0x72,0x69,0x61,0x6c])][_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428a2f[_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f0a2f/0x3e8:0xe10*_0x28e494;return _0x428a2f[_0xe87540([0x65,0x78,0x70])]<_0x30a6a0;}function _0x333641(){const _0x1c2690=_0x428a2f[_0xe87540([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c2690&&(!!_0x1c2690[_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe87540([0x2a]))||!!_0x1c2690[_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe87540([0x4c,0x48])));}function _0x3fcf4d(){const _0x25aae1=_0x3bb0,_0x4ba250=_0x428a2f[_0xe87540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ba250||0x0==_0x4ba250[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3189c2}=new URL(window[_0xe87540([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x25aae1(0xc7)]);if(_0x4ba250[_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3189c2))return!0x0;const _0x24b031=_0x3189c2[_0xe87540([0x73,0x70,0x6c,0x69,0x74])](_0xe87540([0x2e]));return _0x4ba250[_0xe87540([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1593b5=>_0x1593b5[_0xe87540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe87540([0x2a])))[_0xe87540([0x6d,0x61,0x70])](_0x22b959=>_0x22b959[_0xe87540([0x73,0x70,0x6c,0x69,0x74])](_0xe87540([0x2e])))[_0xe87540([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x135cef=>_0x135cef[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24b031[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe87540([0x6d,0x61,0x70])](_0x2a5f11=>Array(_0x24b031[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a5f11[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe87540([0x66,0x69,0x6c,0x6c])](_0x2a5f11[0x0]===_0xe87540([0x2a])?_0xe87540([0x2a]):'')[_0xe87540([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a5f11))[_0xe87540([0x73,0x6f,0x6d,0x65])](_0x12bba9=>_0x24b031[_0xe87540([0x65,0x76,0x65,0x72,0x79])]((_0x2b3878,_0x4a8fad)=>_0x12bba9[_0x4a8fad]===_0x2b3878||_0x12bba9[_0x4a8fad]===_0xe87540([0x2a])));}function _0x5beadc(){return _0x395aab&&_0x4a7ebb?new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b6c88,_0x53d70d)=>{_0x395aab[_0xe87540([0x74,0x68,0x65,0x6e])](_0x1b6c88,_0x53d70d),_0x4a7ebb[_0xe87540([0x74,0x68,0x65,0x6e])](_0x59c0db=>{_0x59c0db!=_0xe87540([0x56,0x61,0x6c,0x69,0x64])&&_0x1b6c88(_0x59c0db);},_0x53d70d);}):_0x395aab||_0x4a7ebb||_0xe87540([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58033d(_0x5900e5,_0x31ccd4){return new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3995f2=>{if(_0x2f018d())return _0x3995f2(_0xe87540([0x56,0x61,0x6c,0x69,0x64]));_0x32afc4(),_0x3ac545[_0xe87540([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe87540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33ce78=!0x1;const _0x5dcac6=_0x5a3533();function _0x4e8c03(_0x19c368){return!!_0x19c368&&(typeof _0x19c368===_0xe87540([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19c368===_0xe87540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19c368[_0xe87540([0x74,0x68,0x65,0x6e])]===_0xe87540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19c368[_0xe87540([0x63,0x61,0x74,0x63,0x68])]===_0xe87540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x129da7(_0x9d23f7){_0x47ed34(_0x9d23f7)[_0xe87540([0x74,0x68,0x65,0x6e])](_0x274636=>{if(!_0x274636||_0x274636[_0xe87540([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe87540([0x6f,0x6b]))return _0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22e85e(_0x25a13e(_0x5dcac6+_0x31ccd4))!=_0x274636[_0xe87540([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe87540([0x56,0x61,0x6c,0x69,0x64]);})[_0xe87540([0x74,0x68,0x65,0x6e])](_0x1ea9e7=>(_0x26ae88(),_0x1ea9e7),()=>{const _0x135c03=_0x11625b();return null==_0x135c03?(_0x26ae88(),_0xe87540([0x56,0x61,0x6c,0x69,0x64])):_0xe87540(_0x4f0a2f-_0x135c03>(0x619b6411^_0x1737a6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe87540([0x74,0x68,0x65,0x6e])](_0x3995f2)[_0xe87540([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3995f2(_0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13f64e=0x45a10e91^_0x1737a6;function _0x26ae88(){const _0x78caf0=_0xe87540([0x6c,0x6c,0x63,0x74,0x2d])+_0x22e85e(_0x25a13e(_0x5900e5)),_0x3d6798=_0x220eca(_0x22e85e(window[_0xe87540([0x4d,0x61,0x74,0x68])][_0xe87540([0x63,0x65,0x69,0x6c])](_0x4f0a2f/_0x13f64e)));window[_0xe87540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe87540([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x78caf0,_0x3d6798);}function _0x11625b(){const _0x58bbcf=_0xe87540([0x6c,0x6c,0x63,0x74,0x2d])+_0x22e85e(_0x25a13e(_0x5900e5)),_0x3469e8=window[_0xe87540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe87540([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58bbcf);return _0x3469e8?window[_0xe87540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x220eca(_0x3469e8),0x10)*_0x13f64e:null;}function _0x47ed34(_0x44e5de){return new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54743f,_0x396b8e)=>{_0x44e5de[_0xe87540([0x74,0x68,0x65,0x6e])](_0x54743f,_0x396b8e),window[_0xe87540([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x396b8e,0x459634d1^_0x1737a6);});}}_0x3ac545[_0xe87540([0x6f,0x6e])](_0xe87540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x226c6d,_0x192466)=>{if(_0x192466[0x0]!=_0x5900e5)return _0x3995f2(_0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x192466[0x1]={..._0x192466[0x1],[_0xe87540([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dcac6};},{[_0xe87540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe87540([0x68,0x69,0x67,0x68])}),_0x3ac545[_0xe87540([0x6f,0x6e])](_0xe87540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1cc28b=>{_0x4e8c03(_0x1cc28b[_0xe87540([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33ce78=!0x0,_0x129da7(_0x1cc28b[_0xe87540([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe87540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe87540([0x6c,0x6f,0x77])}),_0x37257f[_0xe87540([0x74,0x68,0x65,0x6e])](()=>{_0x33ce78||_0x3995f2(_0xe87540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f018d(){return _0x3ac545[_0xe87540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe87540([0x76,0x69,0x65,0x77])][_0xe87540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe87540([0x61,0x75,0x74,0x6f]);}function _0x32afc4(){_0x3ac545[_0xe87540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe87540([0x76,0x69,0x65,0x77])][_0xe87540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe87540([0x61,0x75,0x74,0x6f]);}}function _0x4684d6(_0x2ed100){const _0x189356=[new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e6bf7=>setTimeout(_0x2e6bf7,0x459ededd^_0x1737a6)),_0x37257f[_0xe87540([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29bbd4=>{let _0x515691=0x0;_0x3ac545[_0xe87540([0x6d,0x6f,0x64,0x65,0x6c])][_0xe87540([0x6f,0x6e])](_0xe87540([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c8401,_0x1af192)=>{_0x1af192[0x0][_0xe87540([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x515691++,_0x515691==(0x4597e1e9^_0x1737a6)&&(_0x29bbd4(),_0x5c8401[_0xe87540([0x6f,0x66,0x66])]());});}))];return window[_0xe87540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe87540([0x72,0x61,0x63,0x65])](_0x189356)[_0xe87540([0x74,0x68,0x65,0x6e])](()=>_0x2ed100);}async function _0x27472c(){await _0x37257f,_0x3ac545[_0xe87540([0x6d,0x6f,0x64,0x65,0x6c])][_0xe87540([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3252cf,_0x3ac545[_0xe87540([0x6d,0x6f,0x64,0x65,0x6c])][_0xe87540([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3252cf,_0x3ac545[_0xe87540([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe87540([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e2484(_0x236068){const _0x18cab2=_0x2c7c24();_0x3ac545[_0x18cab2]=_0xe87540([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x236068,_0x236068!=_0xe87540([0x56,0x61,0x6c,0x69,0x64])&&_0x27472c();}function _0x2c7c24(){const _0x506791=window[_0xe87540([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe87540([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe87540([0x6e,0x6f,0x77])]())[_0xe87540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe87540([0x2e]),'');let _0x33fc6f=_0xe87540([0x51]);for(let _0x3b8f00=0x0;_0x3b8f00<_0x506791[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b8f00+=0x2){let _0x536ef3=window[_0xe87540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x506791[_0xe87540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b8f00,_0x3b8f00+0x2));_0x536ef3>=_0x37a833[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x536ef3-=_0x37a833[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33fc6f+=_0x37a833[_0x536ef3];}return _0x33fc6f;}function _0x51ef8f(){const _0x4f7ef4=_0x13ded2[_0xe87540([0x73,0x70,0x6c,0x69,0x74])](_0xe87540([0x2e]));if(0x3!=_0x4f7ef4[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d6ad0(_0x4f7ef4[0x1]);function _0x4d6ad0(_0x581996){const _0x5ca78b=_0x428878(_0x581996);return _0x5ca78b&&_0x12cd05()?_0x5ca78b:null;function _0x12cd05(){const _0x237e08=_0x5ca78b[_0xe87540([0x6a,0x74,0x69])],_0x3d269c=window[_0xe87540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x237e08[_0xe87540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x237e08[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2fe293={..._0x5ca78b,[_0xe87540([0x6a,0x74,0x69])]:_0x237e08[_0xe87540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x237e08[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2fe293[_0xe87540([0x76,0x63])],_0x25a13e(_0x2fe293)==_0x3d269c;}}}async function _0x1b8552(){let _0x14b0ef=!0x0;try{const _0x533a6a=_0x13ded2[_0xe87540([0x73,0x70,0x6c,0x69,0x74])](_0xe87540([0x2e])),[_0xbefa91,_0x22b8fd,_0x5302dc]=_0x533a6a;return _0x13f88e(_0xbefa91),await _0x195662(_0xbefa91,_0x22b8fd,_0x5302dc),_0x14b0ef;}catch{return!0x1;}function _0x13f88e(_0x3e1f46){const _0x2cd56b=_0x428878(_0x3e1f46);_0x2cd56b&&_0x2cd56b[_0xe87540([0x61,0x6c,0x67])]==_0xe87540([0x45,0x53,0x32,0x35,0x36])||(_0x14b0ef=!0x1);}async function _0x195662(_0x24aea7,_0x32fdc5,_0xbc7f00){const _0x505851=window[_0xe87540([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe87540([0x66,0x72,0x6f,0x6d])](_0x2d81a1(_0xbc7f00),_0x45ddae=>_0x45ddae[_0xe87540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfbf7da=new window[(_0xe87540([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe87540([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24aea7+_0xe87540([0x2e])+_0x32fdc5),_0xf4bcc0=window[_0xe87540([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe87540([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf4bcc0)return;const _0x784eae=await _0xf4bcc0[_0xe87540([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe87540([0x6a,0x77,0x6b]),_0x288053,{[_0xe87540([0x6e,0x61,0x6d,0x65])]:_0xe87540([0x45,0x43,0x44,0x53,0x41]),[_0xe87540([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe87540([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe87540([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf4bcc0[_0xe87540([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe87540([0x6e,0x61,0x6d,0x65])]:_0xe87540([0x45,0x43,0x44,0x53,0x41]),[_0xe87540([0x68,0x61,0x73,0x68])]:{[_0xe87540([0x6e,0x61,0x6d,0x65])]:_0xe87540([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x784eae,_0x505851,_0xfbf7da)||(_0x14b0ef=!0x1);}}function _0x428878(_0x3647b2){return _0x3647b2[_0xe87540([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe87540([0x65,0x79]))?JSON[_0xe87540([0x70,0x61,0x72,0x73,0x65])](_0x2d81a1(_0x3647b2)):null;}function _0x2d81a1(_0x1b3ef7){return window[_0xe87540([0x61,0x74,0x6f,0x62])](_0x1b3ef7[_0xe87540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe87540([0x2b]))[_0xe87540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe87540([0x2f])));}function _0x25a13e(_0x4d6376){let _0x41f7c9=0x1505;function _0x2bc9d4(_0x163fd7){for(let _0x56952a=0x0;_0x56952a<_0x163fd7[_0xe87540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56952a++){const _0x4e9ce0=_0x163fd7[_0xe87540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56952a);_0x41f7c9=(_0x41f7c9<<0x5)+_0x41f7c9+_0x4e9ce0,_0x41f7c9&=_0x41f7c9;}}function _0x49fb95(_0x326f54){Array[_0xe87540([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x326f54)?_0x326f54[_0xe87540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49fb95):_0x326f54&&typeof _0x326f54==_0xe87540([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe87540([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x326f54)[_0xe87540([0x73,0x6f,0x72,0x74])]()[_0xe87540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53799a,_0x14bdec])=>{_0x2bc9d4(_0x53799a),_0x49fb95(_0x14bdec);}):_0x2bc9d4(window[_0xe87540([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x326f54));}return _0x49fb95(_0x4d6376),_0x41f7c9>>>0x0;}function _0x22e85e(_0x16d286){return _0x16d286[_0xe87540([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe87540([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe87540([0x30]));}function _0x220eca(_0x1f9a3d){return _0x1f9a3d[_0xe87540([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe87540([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe87540([0x6a,0x6f,0x69,0x6e])]('');}function _0x3252cf(){}function _0xe87540(_0xff7ed6){const _0x2745b0=_0x3bb0;return _0xff7ed6[_0x2745b0(0xb1)](_0x1926d1=>String[_0x2745b0(0xb3)](_0x1926d1))[_0x2745b0(0xbf)]('');}_0x1e2484(await _0x406408());}(this);}[_0x555b1a(0xb9)](){const _0x56dd5c=_0x555b1a,_0x3ac86f=this[_0x56dd5c(0xa8)];if(!_0x3ac86f[_0x56dd5c(0xab)][_0x56dd5c(0xcb)](_0x56dd5c(0xd7)))return;const _0x21a7f4=_0x3ac86f[_0x56dd5c(0xab)][_0x56dd5c(0xcb)](_0x56dd5c(0xcf))[_0x56dd5c(0xbe)](_0x3ccbe7=>_0x56dd5c(0xda)==typeof _0x3ccbe7&&(!_0x1fd870(_0x3ccbe7)&&isNaN(Number(_0x3ccbe7))));if(_0x21a7f4[_0x56dd5c(0xd4)])throw new _0x587d5(_0x56dd5c(0xc4),null,{'namedPresets':_0x21a7f4});}[_0x555b1a(0xd1)](){const _0x8df660=_0x555b1a,_0x3e4ab4=this[_0x8df660(0xa8)],_0x4b0153=this[_0x8df660(0xa8)][_0x8df660(0xab)][_0x8df660(0xcb)](_0x8df660(0xc6));_0x3e4ab4[_0x8df660(0xa5)][_0x8df660(0xa4)](_0x8df660(0xbc))[_0x8df660(0xc1)]({'model':{'key':_0x8df660(0xb5)},'view':_0x43b296=>String(_0x43b296)===String(_0x4b0153)?null:{'key':_0x8df660(0xca),'value':{'line-height':_0x43b296}}}),_0x3e4ab4[_0x8df660(0xa5)][_0x8df660(0xa4)](_0x8df660(0xb0))[_0x8df660(0xc1)]({'model':{'key':_0x8df660(0xb5),'value':_0x3f6b21=>{const _0x3f191c=_0x8df660;let _0x1b04f7=_0x3f6b21[_0x3f191c(0xb6)](_0x3f191c(0xc9));return _0x55c596(_0x1b04f7)&&(_0x1b04f7=String(Number(_0x1b04f7[_0x3f191c(0xa7)](0x0,-0x1))/0x64)),String(_0x1b04f7)===String(_0x4b0153)?null:_0x1b04f7;}},'view':{'styles':{'line-height':/.*/}}});}[_0x555b1a(0xd6)](){const _0x1216db=_0x555b1a,_0x1b14bb=this[_0x1216db(0xa8)],_0x228151=this[_0x1216db(0xa8)][_0x1216db(0xab)][_0x1216db(0xcb)](_0x1216db(0xc6)),_0x1cd211=_0x3bc954(this[_0x1216db(0xa8)][_0x1216db(0xab)][_0x1216db(0xcb)](_0x1216db(0xb5)))[_0x1216db(0xbe)](_0x524234=>_0x524234[_0x1216db(0xae)]),_0x571748=_0x4c1f00(_0x1216db(0xb5),_0x1cd211);_0x1b14bb[_0x1216db(0xa5)][_0x1216db(0xc1)](_0x571748),_0x1b14bb[_0x1216db(0xa5)][_0x1216db(0xa4)](_0x1216db(0xb0))[_0x1216db(0xc1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1216db(0xb5),'value':_0x2fbd47=>{const _0x106eda=_0x1216db;let _0x511958=_0x2fbd47[_0x106eda(0xb6)](_0x106eda(0xc9));return _0x55c596(_0x511958)&&(_0x511958=String(Number(_0x511958[_0x106eda(0xa7)](0x0,-0x1))/0x64)),_0x511958===String(_0x228151)?null:_0x571748[_0x106eda(0xae)][_0x106eda(0xcd)][_0x106eda(0xa9)](_0x511958)?_0x511958:null;}}});}}function _0x2ffd(){const _0x1d26d0=['_prepareAnyValueConverters','setAttributeProperties','isPremiumPlugin','length','314487HhVqXV','_preparePredefinedConverters','lineHeight.supportAllValues','142592oLnhFs','default','string','for','conversion','915018zLildg','slice','editor','includes','extend','config','init','328KquRAO','model','commands','upcast','map','814qYVKpl','fromCharCode','define','lineHeight','getStyle','117765yOTkoZ','16390lAYnWl','_validateConfig','4HRfrCq','afterInit','downcast','pluginName','filter','join','312XmOaDB','attributeToAttribute','1480040nTpzmf','add','line-height-invalid-use-of-named-presets','schema','lineHeight.defaultValue','href','isOfficialPlugin','line-height','style','get','20783pUpqND','values','LineHeightEditing','lineHeight.options','$block'];_0x2ffd=function(){return _0x1d26d0;};return _0x2ffd();}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1f7909}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5bc5c2,createDropdown as _0xef4204,MenuBarMenuListItemButtonView as _0xa6e895,MenuBarMenuListItemView as _0x353721,MenuBarMenuListView as _0x3c62bb,MenuBarMenuView as _0x3edd0f,UIModel as _0x5ef2f3}from'ckeditor5/src/ui.js';import{Collection as _0xf1543a}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x167af4}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x51f6bb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1f7909{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x370268={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x370268),this['_registerMenuBarComponent'](_0x370268),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5cf4e3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x330abd;for(const _0x18d5f5 in _0x5cf4e3){const _0x286ced=_0x18d5f5,_0x4bdf47=_0x5cf4e3[_0x286ced];if('lineHeightLicenseKeyValid'==_0x4bdf47||'lineHeightLicenseKeyInvalid'==_0x4bdf47||'lineHeightLicenseKeyExpired'==_0x4bdf47||'lineHeightLicenseKeyDomainLimit'==_0x4bdf47||'lineHeightLicenseKeyNotAllowed'==_0x4bdf47||'lineHeightLicenseKeyEvaluationLimit'==_0x4bdf47||'lineHeightLicenseKeyTrialLimit'==_0x4bdf47||'lineHeightLicenseKeyUsageLimit'==_0x4bdf47){delete _0x5cf4e3[_0x286ced],_0x330abd=_0x4bdf47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x330abd&&_0x5cf4e3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x330abd&&_0x5cf4e3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x330abd&&_0x5cf4e3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x330abd&&_0x5cf4e3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x330abd&&_0x5cf4e3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x330abd&&_0x5cf4e3['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x330abd&&_0x5cf4e3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4ba29c=this['editor'],t=_0x4ba29c['t'],_0x9a6093=_0x4ba29c['config']['get']('lineHeight'),_0x250caf={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x51f6bb(_0x9a6093)['map'](_0x31af3c=>{const _0x4eaa6a=_0x250caf[_0x31af3c['title']];return _0x4eaa6a&&_0x4eaa6a!=_0x31af3c['title']&&(_0x31af3c=Object['assign']({},_0x31af3c,{'title':_0x4eaa6a})),_0x31af3c;});}['_prepareListOptions'](){const _0x47381e=this['editor']['commands']['get']('lineHeight'),_0x213a2f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3c9413=this['_getLocalizedLineHeightOptions'](),_0x47bfb1=new _0xf1543a(),_0x2e9067=_0x3fc00d=>'default'===_0x3fc00d||String(_0x213a2f)===_0x3fc00d;for(const _0x2ed5ac of _0x3c9413){const _0x5d8ac3={'type':'button','model':new _0x5ef2f3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2ed5ac['title'],'withText':!0x0})};_0x2e9067(_0x2ed5ac['model'])?(_0x5d8ac3['model']['bind']('isOn')['to'](_0x47381e,'value',_0xa665a9=>!_0xa665a9),_0x5d8ac3['model']['commandParam']=void 0x0):(_0x5d8ac3['model']['bind']('isOn')['to'](_0x47381e,'value',_0x3ad35f=>_0x3ad35f===_0x2ed5ac['model']),_0x5d8ac3['model']['commandParam']=_0x2ed5ac['model']),_0x47bfb1['add'](_0x5d8ac3);}if(this['_shouldRenderCustomValueOption']()){const _0x548a56=this['_getCustomValueOptionDefinition'](_0x3c9413);_0x47bfb1['add'](_0x548a56);}return _0x47bfb1;}['_getCustomValueOptionDefinition'](_0x3d5dda){const _0x1a726d=this['editor'],t=_0x1a726d['t'],_0x45aa74=_0x1a726d['commands']['get']('lineHeight'),_0x519577=_0x3d5dda['map'](_0x3b1118=>_0x3b1118['model']),_0x53acfd={'type':'button','model':new _0x5ef2f3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x53acfd['model']['bind']('commandParam')['to'](_0x45aa74,'value'),_0x53acfd['model']['bind']('isOn')['to'](_0x45aa74,'value',_0x5e0de2=>!!_0x5e0de2&&!_0x519577['includes'](String(_0x5e0de2))),_0x53acfd['model']['bind']('label')['to'](_0x45aa74,'value',_0x2544cb=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2544cb))),_0x53acfd;}['_registerToolbarComponent']({accessibleLabel:_0x2a26c1,options:_0x39b70f}){const _0x35f5b8=this['editor'],_0x5c4afb=_0x35f5b8['commands']['get']('lineHeight');_0x35f5b8['ui']['componentFactory']['add']('lineHeight',_0x4495f8=>{const _0x1318c1=_0xef4204(_0x4495f8);return _0x5bc5c2(_0x1318c1,_0x39b70f,{'role':'menu','ariaLabel':_0x2a26c1}),_0x1318c1['buttonView']['set']({'label':_0x2a26c1,'tooltip':!0x0,'icon':_0x167af4}),_0x1318c1['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1318c1['bind']('isEnabled')['to'](_0x5c4afb),this['listenTo'](_0x1318c1,'execute',_0x359a53=>{_0x35f5b8['execute'](_0x359a53['source']['commandName'],{'value':_0x359a53['source']['commandParam']}),_0x35f5b8['editing']['view']['focus']();}),_0x1318c1['once']('change:isOpen',()=>{const _0x228943=_0x1318c1['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1318c1,_0x39b70f,_0x228943);}),_0x1318c1;});}['_registerMenuBarComponent']({accessibleLabel:_0x51bf4c,options:_0x18b096}){const _0x497ddf=this['editor'],_0x39384d=_0x497ddf['commands']['get']('lineHeight');_0x497ddf['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5624a3=>{const _0x46ba19=new _0x3edd0f(_0x5624a3);_0x46ba19['buttonView']['set']({'label':_0x51bf4c,'icon':_0x167af4}),_0x46ba19['bind']('isEnabled')['to'](_0x39384d);const _0x293550=new _0x3c62bb(_0x5624a3);for(const _0x1e8c59 of _0x18b096){const _0x3f8bbf=new _0x353721(_0x5624a3,_0x46ba19),_0x1f964e=new _0xa6e895(_0x5624a3);_0x1f964e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1f964e['bind'](...Object['keys'](_0x1e8c59['model']))['to'](_0x1e8c59['model']),_0x1f964e['delegate']('execute')['to'](_0x46ba19),_0x1f964e['on']('execute',()=>{_0x497ddf['execute'](_0x1e8c59['model']['commandName'],{'value':_0x1e8c59['model']['commandParam']}),_0x497ddf['editing']['view']['focus']();}),_0x3f8bbf['children']['add'](_0x1f964e),_0x293550['items']['add'](_0x3f8bbf);}return _0x46ba19['panelView']['children']['add'](_0x293550),this['_attachCustomOptionVisibilityHandler'](_0x46ba19,_0x18b096,_0x293550),_0x46ba19;});}['_attachCustomOptionVisibilityHandler'](_0x30ca6b,_0x583372,_0x473feb){if(!this['_shouldRenderCustomValueOption']())return;const _0x4cfb70=()=>{if(!_0x30ca6b['isOpen'])return;_0x473feb['items']['last']['isVisible']=Boolean(_0x583372['last']['model']['isOn']);};_0x4cfb70(),_0x30ca6b['on']('change:isOpen',()=>{_0x4cfb70();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x577b68,_0x3f6bd7){const _0x1f88bc=_0xe799,_0x19bfe4=_0x577b68();while(!![]){try{const _0x18d926=parseInt(_0x1f88bc(0x1f6))/0x1+parseInt(_0x1f88bc(0x1fc))/0x2+parseInt(_0x1f88bc(0x1e3))/0x3+-parseInt(_0x1f88bc(0x1eb))/0x4+parseInt(_0x1f88bc(0x1e7))/0x5*(parseInt(_0x1f88bc(0x1ec))/0x6)+-parseInt(_0x1f88bc(0x1e9))/0x7*(parseInt(_0x1f88bc(0x1f8))/0x8)+parseInt(_0x1f88bc(0x1f0))/0x9*(parseInt(_0x1f88bc(0x1ed))/0xa);if(_0x18d926===_0x3f6bd7)break;else _0x19bfe4['push'](_0x19bfe4['shift']());}catch(_0x42fa87){_0x19bfe4['push'](_0x19bfe4['shift']());}}}(_0x578f,0x6ff12));const v={get 'single'(){const _0x115089=_0xe799;return{'title':_0x115089(0x1e0),'model':_0x115089(0x1ef),'view':{'key':_0x115089(0x1e2),'value':_0x115089(0x1e4)}};},get 'double'(){const _0x1e8068=_0xe799;return{'title':_0x1e8068(0x1f7),'model':_0x1e8068(0x1df),'view':{'key':_0x1e8068(0x1e2),'value':_0x1e8068(0x1dc)}};}};export function isLineHeightDefaultValue(_0x1b75d0){const _0x503576=_0xe799;return _0x503576(0x1e6)==typeof _0x1b75d0&&_0x503576(0x1e8)===_0x1b75d0[_0x503576(0x1f2)]();}export function normalizeOptions(_0x387bf2){const _0x16d08f=_0xe799;return _0x387bf2[_0x16d08f(0x1fb)][_0x16d08f(0x1e1)](_0x332334=>isLineHeightDefaultValue(_0x332334)?{'title':String(_0x387bf2[_0x16d08f(0x1de)]),'model':_0x16d08f(0x1e8)}:(_0x16d08f(0x1e5)==typeof _0x332334&&(_0x332334=String(_0x332334)),_0x16d08f(0x1e6)!=typeof _0x332334?_0x332334:parseFloat(_0x332334)?{'title':_0x332334,'model':_0x332334,'view':{'name':_0x16d08f(0x1ee),'styles':{'line-height':_0x332334}}}:findPreset(_0x332334)))[_0x16d08f(0x1f1)](_0x5980af=>void 0x0!==_0x5980af);}function _0x578f(){const _0x5f3838=['Double','8bzFqEU','key','values','options','77838ShPZzP','push','line-height-double','model','defaultValue','double','Single','map','class','845487bZrxnd','line-height-single','number','string','25XWqOYt','default','2200037gqXhmR','value','1432648LMdbIP','400116YXifCj','57950lFIRGu','span','single','99LHZDcW','filter','toLowerCase','style','line-height:','view','413044kyccBW'];_0x578f=function(){return _0x5f3838;};return _0x578f();}function _0xe799(_0x12642b,_0x59e417){const _0x578f0b=_0x578f();return _0xe799=function(_0xe799f3,_0x3459b6){_0xe799f3=_0xe799f3-0x1db;let _0x4fb06c=_0x578f0b[_0xe799f3];return _0x4fb06c;},_0xe799(_0x12642b,_0x59e417);}export function findPreset(_0x225540){const _0x401f7a=_0xe799;return _0x401f7a(0x1e6)==typeof _0x225540?v[_0x225540]:v[_0x225540[_0x401f7a(0x1dd)]];}export function buildDefinition(_0x51a06a,_0x357749){const _0x2aacb0=_0xe799,_0x195211={'model':{'key':_0x51a06a,'values':[]},'view':{}};for(const _0x154e99 of _0x357749)_0x2aacb0(0x1e2)===_0x154e99[_0x2aacb0(0x1f5)]?.[_0x2aacb0(0x1f9)]?(_0x195211[_0x2aacb0(0x1dd)][_0x2aacb0(0x1fa)][_0x2aacb0(0x1db)](_0x154e99[_0x2aacb0(0x1dd)]),_0x195211[_0x2aacb0(0x1f5)][_0x154e99[_0x2aacb0(0x1dd)]]={'key':_0x2aacb0(0x1e2),'value':_0x154e99[_0x2aacb0(0x1f5)][_0x2aacb0(0x1ea)]}):(_0x195211[_0x2aacb0(0x1dd)][_0x2aacb0(0x1fa)][_0x2aacb0(0x1db)](_0x154e99[_0x2aacb0(0x1dd)]),_0x195211[_0x2aacb0(0x1f5)][_0x154e99[_0x2aacb0(0x1dd)]]={'key':_0x2aacb0(0x1f3),'value':_0x2aacb0(0x1f4)+_0x154e99[_0x2aacb0(0x1dd)]+';'});return _0x195211;}
|