@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250908.0 → 0.0.0-nightly-20250909.0
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
|
-
|
|
23
|
+
function _0x5c6c(_0xb66c70,_0x254d8c){const _0x3720cd=_0x3720();return _0x5c6c=function(_0x5c6c5a,_0x304bd5){_0x5c6c5a=_0x5c6c5a-0x1f0;let _0x3b6726=_0x3720cd[_0x5c6c5a];return _0x3b6726;},_0x5c6c(_0xb66c70,_0x254d8c);}const _0x3454bb=_0x5c6c;(function(_0x4c438b,_0x26b189){const _0x5b8245=_0x5c6c,_0x3481d7=_0x4c438b();while(!![]){try{const _0x5b748e=parseInt(_0x5b8245(0x1f6))/0x1*(-parseInt(_0x5b8245(0x1ff))/0x2)+-parseInt(_0x5b8245(0x1fb))/0x3*(parseInt(_0x5b8245(0x1fd))/0x4)+parseInt(_0x5b8245(0x207))/0x5*(parseInt(_0x5b8245(0x203))/0x6)+-parseInt(_0x5b8245(0x1fa))/0x7+-parseInt(_0x5b8245(0x1f1))/0x8*(parseInt(_0x5b8245(0x201))/0x9)+-parseInt(_0x5b8245(0x1f8))/0xa+parseInt(_0x5b8245(0x206))/0xb;if(_0x5b748e===_0x26b189)break;else _0x3481d7['push'](_0x3481d7['shift']());}catch(_0x2983c3){_0x3481d7['push'](_0x3481d7['shift']());}}}(_0x3720,0x1899b));import{Command as _0x4d6344}from'ckeditor5/src/core.js';function _0x3720(){const _0xa5e3ae=['execute','checkAttribute','selection','1ylHtnr','schema','1404980Gfjpij','document','1172717TYKLDp','6qdtWHE','filter','291568jKlecZ','value','191302jHsGfb','getSelectedBlocks','18mlhosG','model','46356OcvCuT','removeAttribute','change','6558519fInLrX','75gAbZrH','lineHeight','setAttribute','_canHaveLineHeight','isEnabled','editor','refresh','getAttribute','247568VFZwsm','from'];_0x3720=function(){return _0xa5e3ae;};return _0x3720();}import{first as _0x36d98c}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4d6344{[_0x3454bb(0x20d)](){const _0x2cd269=_0x3454bb,_0x4c0ecf=this[_0x2cd269(0x20c)][_0x2cd269(0x202)][_0x2cd269(0x1f9)],_0x42e307=_0x36d98c(_0x4c0ecf[_0x2cd269(0x1f5)][_0x2cd269(0x200)]());this[_0x2cd269(0x20b)]=Boolean(_0x42e307)&&this[_0x2cd269(0x20a)](_0x42e307),this[_0x2cd269(0x1fe)]=this[_0x2cd269(0x20b)]&&_0x42e307[_0x2cd269(0x1f0)](_0x2cd269(0x208));}[_0x3454bb(0x1f3)](_0x294c29={}){const _0x47320b=_0x3454bb,_0xc28ec4=this[_0x47320b(0x20c)][_0x47320b(0x202)],_0xd02e41=_0xc28ec4[_0x47320b(0x1f9)][_0x47320b(0x1f5)],_0xfb6b59=_0x294c29[_0x47320b(0x1fe)];_0xc28ec4[_0x47320b(0x205)](_0x3fd0a7=>{const _0xe606a1=_0x47320b,_0x23f052=Array[_0xe606a1(0x1f2)](_0xd02e41[_0xe606a1(0x200)]())[_0xe606a1(0x1fc)](_0x4dd451=>this[_0xe606a1(0x20a)](_0x4dd451));for(const _0xd8231b of _0x23f052)_0xfb6b59?_0x3fd0a7[_0xe606a1(0x209)](_0xe606a1(0x208),_0xfb6b59,_0xd8231b):_0x3fd0a7[_0xe606a1(0x204)](_0xe606a1(0x208),_0xd8231b);});}[_0x3454bb(0x20a)](_0x296f1c){const _0x408fa8=_0x3454bb;return this[_0x408fa8(0x20c)][_0x408fa8(0x202)][_0x408fa8(0x1f7)][_0x408fa8(0x1f4)](_0x296f1c,_0x408fa8(0x208));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5729(){const _0x22df58=['1242090LppWWn','_prepareAnyValueConverters','361045IokNQt','64894XSNcbt','editor','fromCharCode','setAttributeProperties','style','filter','isOfficialPlugin','init','_validateConfig','href','commands','afterInit','extend','70896TeQkCD','join','attributeToAttribute','define','LineHeightEditing','slice','lineHeight.supportAllValues','line-height','36614XOQSxw','map','pluginName','conversion','$block','545517njwxEh','schema','27vpfmww','values','add','51vsOujO','includes','lineHeight.defaultValue','model','lineHeight','get','upcast','_preparePredefinedConverters','1406504mVGVTi','for','length','isPremiumPlugin','line-height-invalid-use-of-named-presets','downcast','string','config','default','lineHeight.options','getStyle'];_0x5729=function(){return _0x22df58;};return _0x5729();}const _0x5e3ea3=_0x59b6;(function(_0x384c3a,_0x9aade9){const _0x734a0d=_0x59b6,_0x5dfc89=_0x384c3a();while(!![]){try{const _0x4c413e=-parseInt(_0x734a0d(0x189))/0x1+-parseInt(_0x734a0d(0x19e))/0x2*(parseInt(_0x734a0d(0x1a8))/0x3)+parseInt(_0x734a0d(0x17b))/0x4+-parseInt(_0x734a0d(0x188))/0x5+parseInt(_0x734a0d(0x186))/0x6+parseInt(_0x734a0d(0x1a3))/0x7+parseInt(_0x734a0d(0x196))/0x8*(parseInt(_0x734a0d(0x1a5))/0x9);if(_0x4c413e===_0x9aade9)break;else _0x5dfc89['push'](_0x5dfc89['shift']());}catch(_0x2000ec){_0x5dfc89['push'](_0x5dfc89['shift']());}}}(_0x5729,0x34734));function _0x59b6(_0x30dcb4,_0x366d3c){const _0x572999=_0x5729();return _0x59b6=function(_0x59b6f7,_0x2c6eed){_0x59b6f7=_0x59b6f7-0x17a;let _0x178ce2=_0x572999[_0x59b6f7];return _0x178ce2;},_0x59b6(_0x30dcb4,_0x366d3c);}import{Plugin as _0x3a8fd6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x17bac8}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x111da6}from'ckeditor5/src/engine.js';import{uid as _0x5a452f,CKEditorError as _0xea5132}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3bf677,isLineHeightDefaultValue as _0x2e7aaf,normalizeOptions as _0x38c103}from'./utils.js';export class LineHeightEditing extends _0x3a8fd6{static get[_0x5e3ea3(0x1a0)](){const _0x37857a=_0x5e3ea3;return _0x37857a(0x19a);}static get[_0x5e3ea3(0x18f)](){return!0x0;}static get[_0x5e3ea3(0x17e)](){return!0x0;}constructor(_0x1d36c4){const _0x426d51=_0x5e3ea3;super(_0x1d36c4),_0x1d36c4[_0x426d51(0x182)][_0x426d51(0x199)](_0x426d51(0x1ac),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x426d51(0x183),0x2,2.5,0x3]});}[_0x5e3ea3(0x190)](){const _0x5123ce=_0x5e3ea3,_0x47b551=this[_0x5123ce(0x18a)];this[_0x5123ce(0x191)](),_0x47b551[_0x5123ce(0x1ab)][_0x5123ce(0x1a4)][_0x5123ce(0x195)](_0x5123ce(0x1a2),{'allowAttributes':_0x5123ce(0x1ac)}),_0x47b551[_0x5123ce(0x1ab)][_0x5123ce(0x1a4)][_0x5123ce(0x18c)](_0x5123ce(0x1ac),{'isFormatting':!0x0}),_0x47b551[_0x5123ce(0x193)][_0x5123ce(0x1a7)](_0x5123ce(0x1ac),new _0x17bac8(_0x47b551)),this[_0x5123ce(0x18a)][_0x5123ce(0x182)][_0x5123ce(0x1ad)](_0x5123ce(0x19c))?this[_0x5123ce(0x187)]():this[_0x5123ce(0x17a)]();}[_0x5e3ea3(0x194)](){!async function(_0x1e8fba){const _0x4b78e2=_0x3b239f([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]),_0x5f3482=0x4597e011,_0x177978=0x459092d9^_0x5f3482,_0x2f6bdd=window[_0x3b239f([0x44,0x61,0x74,0x65])][_0x3b239f([0x6e,0x6f,0x77])](),_0x2ae4ee=_0x1e8fba[_0x3b239f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x175981=new window[(_0x3b239f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfa4e2c=>{_0x2ae4ee[_0x3b239f([0x6f,0x6e,0x63,0x65])](_0x3b239f([0x72,0x65,0x61,0x64,0x79]),_0xfa4e2c);}),_0xfbf517={[_0x3b239f([0x6b,0x74,0x79])]:_0x3b239f([0x45,0x43]),[_0x3b239f([0x75,0x73,0x65])]:_0x3b239f([0x73,0x69,0x67]),[_0x3b239f([0x63,0x72,0x76])]:_0x3b239f([0x50,0x2d,0x32,0x35,0x36]),[_0x3b239f([0x78])]:_0x3b239f([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]),[_0x3b239f([0x79])]:_0x3b239f([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]),[_0x3b239f([0x61,0x6c,0x67])]:_0x3b239f([0x45,0x53,0x32,0x35,0x36])},_0x458886=_0x2ae4ee[_0x3b239f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b239f([0x67,0x65,0x74])](_0x3b239f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4464fe(){let _0xd30b8e,_0x2d9d27=null,_0x2f3bcb=null;try{if(_0x458886==_0x3b239f([0x47,0x50,0x4c]))return _0x3b239f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd30b8e=_0x1dc56e(),!_0xd30b8e)return _0x3b239f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd30b8e[_0x3b239f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f3bcb=_0x179f61(_0xd30b8e[_0x3b239f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd30b8e[_0x3b239f([0x6a,0x74,0x69])])),await _0x27d49d()?_0x1f4cc5()?_0x4ff93f()?_0x3b239f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x451e77()?(_0xd30b8e[_0x3b239f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b239f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d9d27=_0x40f0e9(_0x3b239f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd30b8e[_0x3b239f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b239f([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d9d27=_0x40f0e9(_0x3b239f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5660a7()):_0x3b239f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b239f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b239f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b239f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ff93f(){const _0x1896a5=[_0x3b239f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b239f([0x74,0x72,0x69,0x61,0x6c])][_0x3b239f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd30b8e[_0x3b239f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f6bdd/0x3e8:0xe10*_0x177978;return _0xd30b8e[_0x3b239f([0x65,0x78,0x70])]<_0x1896a5;}function _0x1f4cc5(){const _0x4eeefb=_0xd30b8e[_0x3b239f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4eeefb&&(!!_0x4eeefb[_0x3b239f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b239f([0x2a]))||!!_0x4eeefb[_0x3b239f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b239f([0x4c,0x48])));}function _0x451e77(){const _0x501788=_0x59b6,_0x396c24=_0xd30b8e[_0x3b239f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x396c24||0x0==_0x396c24[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52e7c3}=new URL(window[_0x3b239f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x501788(0x192)]);if(_0x396c24[_0x3b239f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52e7c3))return!0x0;const _0x2144d5=_0x52e7c3[_0x3b239f([0x73,0x70,0x6c,0x69,0x74])](_0x3b239f([0x2e]));return _0x396c24[_0x3b239f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x219af5=>_0x219af5[_0x3b239f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b239f([0x2a])))[_0x3b239f([0x6d,0x61,0x70])](_0x506874=>_0x506874[_0x3b239f([0x73,0x70,0x6c,0x69,0x74])](_0x3b239f([0x2e])))[_0x3b239f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x189378=>_0x189378[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2144d5[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b239f([0x6d,0x61,0x70])](_0x5e1b50=>Array(_0x2144d5[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e1b50[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b239f([0x66,0x69,0x6c,0x6c])](_0x5e1b50[0x0]===_0x3b239f([0x2a])?_0x3b239f([0x2a]):'')[_0x3b239f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e1b50))[_0x3b239f([0x73,0x6f,0x6d,0x65])](_0x5a4728=>_0x2144d5[_0x3b239f([0x65,0x76,0x65,0x72,0x79])]((_0x9ca351,_0x1d64a7)=>_0x5a4728[_0x1d64a7]===_0x9ca351||_0x5a4728[_0x1d64a7]===_0x3b239f([0x2a])));}function _0x5660a7(){return _0x2d9d27&&_0x2f3bcb?new window[(_0x3b239f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x568d3f,_0x1efa28)=>{_0x2d9d27[_0x3b239f([0x74,0x68,0x65,0x6e])](_0x568d3f,_0x1efa28),_0x2f3bcb[_0x3b239f([0x74,0x68,0x65,0x6e])](_0x491662=>{_0x491662!=_0x3b239f([0x56,0x61,0x6c,0x69,0x64])&&_0x568d3f(_0x491662);},_0x1efa28);}):_0x2d9d27||_0x2f3bcb||_0x3b239f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x179f61(_0x31b91a,_0x369ef6){return new window[(_0x3b239f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53f84a=>{if(_0x3974df())return _0x53f84a(_0x3b239f([0x56,0x61,0x6c,0x69,0x64]));_0x5818b4(),_0x2ae4ee[_0x3b239f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b239f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x517651=!0x1;const _0x555e7c=_0x5a452f();function _0x3d05e0(_0x1c3120){return!!_0x1c3120&&(typeof _0x1c3120===_0x3b239f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c3120===_0x3b239f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c3120[_0x3b239f([0x74,0x68,0x65,0x6e])]===_0x3b239f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c3120[_0x3b239f([0x63,0x61,0x74,0x63,0x68])]===_0x3b239f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x22c7fe(_0x11c284){_0x5e1ce0(_0x11c284)[_0x3b239f([0x74,0x68,0x65,0x6e])](_0x1d054a=>{if(!_0x1d054a||_0x1d054a[_0x3b239f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b239f([0x6f,0x6b]))return _0x3b239f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x76341f(_0x181994(_0x555e7c+_0x369ef6))!=_0x1d054a[_0x3b239f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b239f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b239f([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b239f([0x74,0x68,0x65,0x6e])](_0x552509=>(_0x91c7bd(),_0x552509),()=>{const _0x42aced=_0x441fe2();return null==_0x42aced?(_0x91c7bd(),_0x3b239f([0x56,0x61,0x6c,0x69,0x64])):_0x3b239f(_0x2f6bdd-_0x42aced>(0x619b6411^_0x5f3482)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b239f([0x74,0x68,0x65,0x6e])](_0x53f84a)[_0x3b239f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53f84a(_0x3b239f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3dbc79=0x45a10e91^_0x5f3482;function _0x91c7bd(){const _0x5ecb2e=_0x3b239f([0x6c,0x6c,0x63,0x74,0x2d])+_0x76341f(_0x181994(_0x31b91a)),_0x276b5b=_0x5f31a4(_0x76341f(window[_0x3b239f([0x4d,0x61,0x74,0x68])][_0x3b239f([0x63,0x65,0x69,0x6c])](_0x2f6bdd/_0x3dbc79)));window[_0x3b239f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b239f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ecb2e,_0x276b5b);}function _0x441fe2(){const _0x497176=_0x3b239f([0x6c,0x6c,0x63,0x74,0x2d])+_0x76341f(_0x181994(_0x31b91a)),_0x42c56b=window[_0x3b239f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b239f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x497176);return _0x42c56b?window[_0x3b239f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f31a4(_0x42c56b),0x10)*_0x3dbc79:null;}function _0x5e1ce0(_0x465b55){return new window[(_0x3b239f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xaec70d,_0x10ab7b)=>{_0x465b55[_0x3b239f([0x74,0x68,0x65,0x6e])](_0xaec70d,_0x10ab7b),window[_0x3b239f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10ab7b,0x459634d1^_0x5f3482);});}}_0x2ae4ee[_0x3b239f([0x6f,0x6e])](_0x3b239f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c2e7a,_0x4c72f8)=>{if(_0x4c72f8[0x0]!=_0x31b91a)return _0x53f84a(_0x3b239f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c72f8[0x1]={..._0x4c72f8[0x1],[_0x3b239f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x555e7c};},{[_0x3b239f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b239f([0x68,0x69,0x67,0x68])}),_0x2ae4ee[_0x3b239f([0x6f,0x6e])](_0x3b239f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35bd58=>{_0x3d05e0(_0x35bd58[_0x3b239f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x517651=!0x0,_0x22c7fe(_0x35bd58[_0x3b239f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b239f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b239f([0x6c,0x6f,0x77])}),_0x175981[_0x3b239f([0x74,0x68,0x65,0x6e])](()=>{_0x517651||_0x53f84a(_0x3b239f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3974df(){return _0x2ae4ee[_0x3b239f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b239f([0x76,0x69,0x65,0x77])][_0x3b239f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b239f([0x61,0x75,0x74,0x6f]);}function _0x5818b4(){_0x2ae4ee[_0x3b239f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b239f([0x76,0x69,0x65,0x77])][_0x3b239f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b239f([0x61,0x75,0x74,0x6f]);}}function _0x40f0e9(_0x2bb2af){const _0x548c7f=[new window[(_0x3b239f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d6f96=>setTimeout(_0x3d6f96,0x459ededd^_0x5f3482)),_0x175981[_0x3b239f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b239f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b6de7=>{let _0x530404=0x0;_0x2ae4ee[_0x3b239f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b239f([0x6f,0x6e])](_0x3b239f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d11a7,_0x5b9e4d)=>{_0x5b9e4d[0x0][_0x3b239f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x530404++,_0x530404==(0x4597e1e9^_0x5f3482)&&(_0x4b6de7(),_0x1d11a7[_0x3b239f([0x6f,0x66,0x66])]());});}))];return window[_0x3b239f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b239f([0x72,0x61,0x63,0x65])](_0x548c7f)[_0x3b239f([0x74,0x68,0x65,0x6e])](()=>_0x2bb2af);}async function _0x374dd9(){await _0x175981,_0x2ae4ee[_0x3b239f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b239f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34ac83,_0x2ae4ee[_0x3b239f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b239f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34ac83,_0x2ae4ee[_0x3b239f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b239f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x598d76(_0x428064){const _0x56f736=_0x4fa2bf();_0x2ae4ee[_0x56f736]=_0x3b239f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x428064,_0x428064!=_0x3b239f([0x56,0x61,0x6c,0x69,0x64])&&_0x374dd9();}function _0x4fa2bf(){const _0x2303d8=window[_0x3b239f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b239f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b239f([0x6e,0x6f,0x77])]())[_0x3b239f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b239f([0x2e]),'');let _0x18115e=_0x3b239f([0x51]);for(let _0x58b36f=0x0;_0x58b36f<_0x2303d8[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58b36f+=0x2){let _0x2efe15=window[_0x3b239f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2303d8[_0x3b239f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58b36f,_0x58b36f+0x2));_0x2efe15>=_0x4b78e2[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2efe15-=_0x4b78e2[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18115e+=_0x4b78e2[_0x2efe15];}return _0x18115e;}function _0x1dc56e(){const _0x580af8=_0x458886[_0x3b239f([0x73,0x70,0x6c,0x69,0x74])](_0x3b239f([0x2e]));if(0x3!=_0x580af8[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ded03(_0x580af8[0x1]);function _0x5ded03(_0x561ecb){const _0xed4162=_0x10a799(_0x561ecb);return _0xed4162&&_0x3dd29a()?_0xed4162:null;function _0x3dd29a(){const _0x31c4cb=_0xed4162[_0x3b239f([0x6a,0x74,0x69])],_0x3cd565=window[_0x3b239f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31c4cb[_0x3b239f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31c4cb[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43afde={..._0xed4162,[_0x3b239f([0x6a,0x74,0x69])]:_0x31c4cb[_0x3b239f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31c4cb[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43afde[_0x3b239f([0x76,0x63])],_0x181994(_0x43afde)==_0x3cd565;}}}async function _0x27d49d(){let _0x342f79=!0x0;try{const _0x21b869=_0x458886[_0x3b239f([0x73,0x70,0x6c,0x69,0x74])](_0x3b239f([0x2e])),[_0x4ce90d,_0x54e629,_0x4b8816]=_0x21b869;return _0x516a62(_0x4ce90d),await _0x18c33b(_0x4ce90d,_0x54e629,_0x4b8816),_0x342f79;}catch{return!0x1;}function _0x516a62(_0x19bd15){const _0x679337=_0x10a799(_0x19bd15);_0x679337&&_0x679337[_0x3b239f([0x61,0x6c,0x67])]==_0x3b239f([0x45,0x53,0x32,0x35,0x36])||(_0x342f79=!0x1);}async function _0x18c33b(_0x463ba6,_0x152f66,_0x1fe1c9){const _0x162106=window[_0x3b239f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b239f([0x66,0x72,0x6f,0x6d])](_0x297736(_0x1fe1c9),_0x3ffd58=>_0x3ffd58[_0x3b239f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2333a6=new window[(_0x3b239f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b239f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x463ba6+_0x3b239f([0x2e])+_0x152f66),_0x433deb=window[_0x3b239f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b239f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x433deb)return;const _0x2a1680=await _0x433deb[_0x3b239f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b239f([0x6a,0x77,0x6b]),_0xfbf517,{[_0x3b239f([0x6e,0x61,0x6d,0x65])]:_0x3b239f([0x45,0x43,0x44,0x53,0x41]),[_0x3b239f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b239f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b239f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x433deb[_0x3b239f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b239f([0x6e,0x61,0x6d,0x65])]:_0x3b239f([0x45,0x43,0x44,0x53,0x41]),[_0x3b239f([0x68,0x61,0x73,0x68])]:{[_0x3b239f([0x6e,0x61,0x6d,0x65])]:_0x3b239f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a1680,_0x162106,_0x2333a6)||(_0x342f79=!0x1);}}function _0x10a799(_0x15d597){return _0x15d597[_0x3b239f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b239f([0x65,0x79]))?JSON[_0x3b239f([0x70,0x61,0x72,0x73,0x65])](_0x297736(_0x15d597)):null;}function _0x297736(_0x72269a){return window[_0x3b239f([0x61,0x74,0x6f,0x62])](_0x72269a[_0x3b239f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b239f([0x2b]))[_0x3b239f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b239f([0x2f])));}function _0x181994(_0x2fcd7b){let _0x46c1f5=0x1505;function _0x2505e0(_0x51cd6d){for(let _0x7ca0c1=0x0;_0x7ca0c1<_0x51cd6d[_0x3b239f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7ca0c1++){const _0x1d5d56=_0x51cd6d[_0x3b239f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7ca0c1);_0x46c1f5=(_0x46c1f5<<0x5)+_0x46c1f5+_0x1d5d56,_0x46c1f5&=_0x46c1f5;}}function _0x235827(_0x166e72){Array[_0x3b239f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x166e72)?_0x166e72[_0x3b239f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x235827):_0x166e72&&typeof _0x166e72==_0x3b239f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b239f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x166e72)[_0x3b239f([0x73,0x6f,0x72,0x74])]()[_0x3b239f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17f9ea,_0x51ce56])=>{_0x2505e0(_0x17f9ea),_0x235827(_0x51ce56);}):_0x2505e0(window[_0x3b239f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x166e72));}return _0x235827(_0x2fcd7b),_0x46c1f5>>>0x0;}function _0x76341f(_0x317526){return _0x317526[_0x3b239f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b239f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b239f([0x30]));}function _0x5f31a4(_0x1d158a){return _0x1d158a[_0x3b239f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b239f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b239f([0x6a,0x6f,0x69,0x6e])]('');}function _0x34ac83(){}function _0x3b239f(_0x25293f){const _0x51b4c8=_0x59b6;return _0x25293f[_0x51b4c8(0x19f)](_0x29f917=>String[_0x51b4c8(0x18b)](_0x29f917))[_0x51b4c8(0x197)]('');}_0x598d76(await _0x4464fe());}(this);}[_0x5e3ea3(0x191)](){const _0x13e8bb=_0x5e3ea3,_0x50528c=this[_0x13e8bb(0x18a)];if(!_0x50528c[_0x13e8bb(0x182)][_0x13e8bb(0x1ad)](_0x13e8bb(0x19c)))return;const _0x5ee834=_0x50528c[_0x13e8bb(0x182)][_0x13e8bb(0x1ad)](_0x13e8bb(0x184))[_0x13e8bb(0x18e)](_0x34b1f3=>_0x13e8bb(0x181)==typeof _0x34b1f3&&(!_0x2e7aaf(_0x34b1f3)&&isNaN(Number(_0x34b1f3))));if(_0x5ee834[_0x13e8bb(0x17d)])throw new _0xea5132(_0x13e8bb(0x17f),null,{'namedPresets':_0x5ee834});}[_0x5e3ea3(0x187)](){const _0x31531e=_0x5e3ea3,_0x27eb57=this[_0x31531e(0x18a)],_0x51a9c0=this[_0x31531e(0x18a)][_0x31531e(0x182)][_0x31531e(0x1ad)](_0x31531e(0x1aa));_0x27eb57[_0x31531e(0x1a1)][_0x31531e(0x17c)](_0x31531e(0x180))[_0x31531e(0x198)]({'model':{'key':_0x31531e(0x1ac)},'view':_0x138d8b=>String(_0x138d8b)===String(_0x51a9c0)?null:{'key':_0x31531e(0x18d),'value':{'line-height':_0x138d8b}}}),_0x27eb57[_0x31531e(0x1a1)][_0x31531e(0x17c)](_0x31531e(0x1ae))[_0x31531e(0x198)]({'model':{'key':_0x31531e(0x1ac),'value':_0x3e0301=>{const _0x1fc01d=_0x31531e;let _0x4a39a3=_0x3e0301[_0x1fc01d(0x185)](_0x1fc01d(0x19d));return _0x111da6(_0x4a39a3)&&(_0x4a39a3=String(Number(_0x4a39a3[_0x1fc01d(0x19b)](0x0,-0x1))/0x64)),String(_0x4a39a3)===String(_0x51a9c0)?null:_0x4a39a3;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5e3ea3(0x17a)](){const _0x40fc14=_0x5e3ea3,_0x2efe85=this[_0x40fc14(0x18a)],_0x5564eb=this[_0x40fc14(0x18a)][_0x40fc14(0x182)][_0x40fc14(0x1ad)](_0x40fc14(0x1aa)),_0x294a6f=_0x38c103(this[_0x40fc14(0x18a)][_0x40fc14(0x182)][_0x40fc14(0x1ad)](_0x40fc14(0x1ac)))[_0x40fc14(0x18e)](_0x560af9=>_0x560af9[_0x40fc14(0x1ab)]),_0x4dc635=_0x3bf677(_0x40fc14(0x1ac),_0x294a6f);_0x2efe85[_0x40fc14(0x1a1)][_0x40fc14(0x198)](_0x4dc635),_0x2efe85[_0x40fc14(0x1a1)][_0x40fc14(0x17c)](_0x40fc14(0x1ae))[_0x40fc14(0x198)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x40fc14(0x1ac),'value':_0x502ed7=>{const _0x4b5fe1=_0x40fc14;let _0x115fd0=_0x502ed7[_0x4b5fe1(0x185)](_0x4b5fe1(0x19d));return _0x111da6(_0x115fd0)&&(_0x115fd0=String(Number(_0x115fd0[_0x4b5fe1(0x19b)](0x0,-0x1))/0x64)),_0x115fd0===String(_0x5564eb)?null:_0x4dc635[_0x4b5fe1(0x1ab)][_0x4b5fe1(0x1a6)][_0x4b5fe1(0x1a9)](_0x115fd0)?_0x115fd0:null;}}});}}
|
|
23
|
+
const _0x368e52=_0x3158;function _0x355d(){const _0x323856=['6491082RthMLX','lineHeight.options','4659676ZgQPHq','_prepareAnyValueConverters','commands','3932649HnOIWq','afterInit','filter','schema','slice','line-height','_preparePredefinedConverters','init','length','for','isOfficialPlugin','line-height-invalid-use-of-named-presets','default','$block','55vXeUGv','href','model','2IqZHxf','join','map','config','attributeToAttribute','get','string','lineHeight.supportAllValues','isPremiumPlugin','define','downcast','add','398575mSQOwa','_validateConfig','upcast','extend','706570aDbAFe','setAttributeProperties','lineHeight','pluginName','fromCharCode','2168580OHvVZJ','includes','5XPDScu','2970936sTNaDg','getStyle','values','LineHeightEditing','24yHFsaH','conversion','editor','style','lineHeight.defaultValue'];_0x355d=function(){return _0x323856;};return _0x355d();}(function(_0x2ab6a4,_0x3e074f){const _0x59c42c=_0x3158,_0x1b40fb=_0x2ab6a4();while(!![]){try{const _0x5d347b=parseInt(_0x59c42c(0x163))/0x1+-parseInt(_0x59c42c(0x18e))/0x2*(parseInt(_0x59c42c(0x17d))/0x3)+parseInt(_0x59c42c(0x16c))/0x4*(parseInt(_0x59c42c(0x16e))/0x5)+parseInt(_0x59c42c(0x178))/0x6+parseInt(_0x59c42c(0x17a))/0x7+parseInt(_0x59c42c(0x173))/0x8*(-parseInt(_0x59c42c(0x16f))/0x9)+-parseInt(_0x59c42c(0x167))/0xa*(-parseInt(_0x59c42c(0x18b))/0xb);if(_0x5d347b===_0x3e074f)break;else _0x1b40fb['push'](_0x1b40fb['shift']());}catch(_0x3460f5){_0x1b40fb['push'](_0x1b40fb['shift']());}}}(_0x355d,0xb4be5));import{Plugin as _0x49ab4f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x120943}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4fb0f3}from'ckeditor5/src/engine.js';function _0x3158(_0x159408,_0x1100c3){const _0x355dda=_0x355d();return _0x3158=function(_0x3158be,_0x9c9525){_0x3158be=_0x3158be-0x15f;let _0xd0245d=_0x355dda[_0x3158be];return _0xd0245d;},_0x3158(_0x159408,_0x1100c3);}import{uid as _0xbac2f9,CKEditorError as _0x114133}from'ckeditor5/src/utils.js';import{buildDefinition as _0x48f1ec,isLineHeightDefaultValue as _0x31363a,normalizeOptions as _0x335868}from'./utils.js';export class LineHeightEditing extends _0x49ab4f{static get[_0x368e52(0x16a)](){const _0x7c7580=_0x368e52;return _0x7c7580(0x172);}static get[_0x368e52(0x187)](){return!0x0;}static get[_0x368e52(0x15f)](){return!0x0;}constructor(_0x2b177e){const _0x25a523=_0x368e52;super(_0x2b177e),_0x2b177e[_0x25a523(0x191)][_0x25a523(0x160)](_0x25a523(0x169),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x25a523(0x189),0x2,2.5,0x3]});}[_0x368e52(0x184)](){const _0x42dc36=_0x368e52,_0x4eff36=this[_0x42dc36(0x175)];this[_0x42dc36(0x164)](),_0x4eff36[_0x42dc36(0x18d)][_0x42dc36(0x180)][_0x42dc36(0x166)](_0x42dc36(0x18a),{'allowAttributes':_0x42dc36(0x169)}),_0x4eff36[_0x42dc36(0x18d)][_0x42dc36(0x180)][_0x42dc36(0x168)](_0x42dc36(0x169),{'isFormatting':!0x0}),_0x4eff36[_0x42dc36(0x17c)][_0x42dc36(0x162)](_0x42dc36(0x169),new _0x120943(_0x4eff36)),this[_0x42dc36(0x175)][_0x42dc36(0x191)][_0x42dc36(0x193)](_0x42dc36(0x195))?this[_0x42dc36(0x17b)]():this[_0x42dc36(0x183)]();}[_0x368e52(0x17e)](){!async function(_0x22e2b2){const _0x1270cd=_0x2aee67([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]),_0xbc196=0x4597e011,_0xc4a956=0x459092f1^_0xbc196,_0x52efda=window[_0x2aee67([0x44,0x61,0x74,0x65])][_0x2aee67([0x6e,0x6f,0x77])](),_0xf30598=_0x22e2b2[_0x2aee67([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x572f11=new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x128069=>{_0xf30598[_0x2aee67([0x6f,0x6e,0x63,0x65])](_0x2aee67([0x72,0x65,0x61,0x64,0x79]),_0x128069);}),_0x5953e2={[_0x2aee67([0x6b,0x74,0x79])]:_0x2aee67([0x45,0x43]),[_0x2aee67([0x75,0x73,0x65])]:_0x2aee67([0x73,0x69,0x67]),[_0x2aee67([0x63,0x72,0x76])]:_0x2aee67([0x50,0x2d,0x32,0x35,0x36]),[_0x2aee67([0x78])]:_0x2aee67([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]),[_0x2aee67([0x79])]:_0x2aee67([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]),[_0x2aee67([0x61,0x6c,0x67])]:_0x2aee67([0x45,0x53,0x32,0x35,0x36])},_0x24217f=_0xf30598[_0x2aee67([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2aee67([0x67,0x65,0x74])](_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c4092(){let _0x4c46ce,_0xd5f53a=null,_0x44a313=null;try{if(_0x24217f==_0x2aee67([0x47,0x50,0x4c]))return _0x2aee67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c46ce=_0x3aac09(),!_0x4c46ce)return _0x2aee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c46ce[_0x2aee67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44a313=_0x54246c(_0x4c46ce[_0x2aee67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c46ce[_0x2aee67([0x6a,0x74,0x69])])),await _0x51d281()?_0x1a4fac()?_0x44349a()?_0x2aee67([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b9a8c()?(_0x4c46ce[_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2aee67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd5f53a=_0x1a9132(_0x2aee67([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4c46ce[_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2aee67([0x74,0x72,0x69,0x61,0x6c])&&(_0xd5f53a=_0x1a9132(_0x2aee67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c4a60()):_0x2aee67([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2aee67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2aee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2aee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44349a(){const _0x46ed90=[_0x2aee67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2aee67([0x74,0x72,0x69,0x61,0x6c])][_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c46ce[_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x52efda/0x3e8:0xe10*_0xc4a956;return _0x4c46ce[_0x2aee67([0x65,0x78,0x70])]<_0x46ed90;}function _0x1a4fac(){const _0x4169ca=_0x4c46ce[_0x2aee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4169ca&&(!!_0x4169ca[_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aee67([0x2a]))||!!_0x4169ca[_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aee67([0x4c,0x48])));}function _0x4b9a8c(){const _0x25480f=_0x3158,_0xe45703=_0x4c46ce[_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe45703||0x0==_0xe45703[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44bea0}=new URL(window[_0x2aee67([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x25480f(0x18c)]);if(_0xe45703[_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bea0))return!0x0;const _0x2d543a=_0x44bea0[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])](_0x2aee67([0x2e]));return _0xe45703[_0x2aee67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18ac02=>_0x18ac02[_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aee67([0x2a])))[_0x2aee67([0x6d,0x61,0x70])](_0x3640c8=>_0x3640c8[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])](_0x2aee67([0x2e])))[_0x2aee67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27bc0f=>_0x27bc0f[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d543a[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aee67([0x6d,0x61,0x70])](_0xf78366=>Array(_0x2d543a[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf78366[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aee67([0x66,0x69,0x6c,0x6c])](_0xf78366[0x0]===_0x2aee67([0x2a])?_0x2aee67([0x2a]):'')[_0x2aee67([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf78366))[_0x2aee67([0x73,0x6f,0x6d,0x65])](_0x334ad3=>_0x2d543a[_0x2aee67([0x65,0x76,0x65,0x72,0x79])]((_0x243f93,_0x2a03a7)=>_0x334ad3[_0x2a03a7]===_0x243f93||_0x334ad3[_0x2a03a7]===_0x2aee67([0x2a])));}function _0x3c4a60(){return _0xd5f53a&&_0x44a313?new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2201ef,_0x716ea3)=>{_0xd5f53a[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x2201ef,_0x716ea3),_0x44a313[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x291735=>{_0x291735!=_0x2aee67([0x56,0x61,0x6c,0x69,0x64])&&_0x2201ef(_0x291735);},_0x716ea3);}):_0xd5f53a||_0x44a313||_0x2aee67([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54246c(_0x3e7328,_0xe84ccd){return new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a28e=>{if(_0x4d9b75())return _0x20a28e(_0x2aee67([0x56,0x61,0x6c,0x69,0x64]));_0x1170ad(),_0xf30598[_0x2aee67([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2aee67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x453856=!0x1;const _0x530837=_0xbac2f9();function _0x34335c(_0x46e553){return!!_0x46e553&&(typeof _0x46e553===_0x2aee67([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46e553===_0x2aee67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46e553[_0x2aee67([0x74,0x68,0x65,0x6e])]===_0x2aee67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46e553[_0x2aee67([0x63,0x61,0x74,0x63,0x68])]===_0x2aee67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x575b05(_0x206b90){_0xde4bd6(_0x206b90)[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x595f91=>{if(!_0x595f91||_0x595f91[_0x2aee67([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2aee67([0x6f,0x6b]))return _0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fb465(_0x3284ac(_0x530837+_0xe84ccd))!=_0x595f91[_0x2aee67([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2aee67([0x56,0x61,0x6c,0x69,0x64]);})[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x171d52=>(_0x36edcf(),_0x171d52),()=>{const _0x1aecaa=_0x102b1b();return null==_0x1aecaa?(_0x36edcf(),_0x2aee67([0x56,0x61,0x6c,0x69,0x64])):_0x2aee67(_0x52efda-_0x1aecaa>(0x619b6411^_0xbc196)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x20a28e)[_0x2aee67([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20a28e(_0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29a26a=0x45a10e91^_0xbc196;function _0x36edcf(){const _0x586d4c=_0x2aee67([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fb465(_0x3284ac(_0x3e7328)),_0x504418=_0x35dfb3(_0x2fb465(window[_0x2aee67([0x4d,0x61,0x74,0x68])][_0x2aee67([0x63,0x65,0x69,0x6c])](_0x52efda/_0x29a26a)));window[_0x2aee67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aee67([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x586d4c,_0x504418);}function _0x102b1b(){const _0x59e5f6=_0x2aee67([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fb465(_0x3284ac(_0x3e7328)),_0xee3c73=window[_0x2aee67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aee67([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59e5f6);return _0xee3c73?window[_0x2aee67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35dfb3(_0xee3c73),0x10)*_0x29a26a:null;}function _0xde4bd6(_0x2d22f9){return new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30a070,_0x3e5492)=>{_0x2d22f9[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x30a070,_0x3e5492),window[_0x2aee67([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e5492,0x459634d1^_0xbc196);});}}_0xf30598[_0x2aee67([0x6f,0x6e])](_0x2aee67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xef6efa,_0x5c6364)=>{if(_0x5c6364[0x0]!=_0x3e7328)return _0x20a28e(_0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c6364[0x1]={..._0x5c6364[0x1],[_0x2aee67([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x530837};},{[_0x2aee67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aee67([0x68,0x69,0x67,0x68])}),_0xf30598[_0x2aee67([0x6f,0x6e])](_0x2aee67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d6acd=>{_0x34335c(_0x1d6acd[_0x2aee67([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x453856=!0x0,_0x575b05(_0x1d6acd[_0x2aee67([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2aee67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aee67([0x6c,0x6f,0x77])}),_0x572f11[_0x2aee67([0x74,0x68,0x65,0x6e])](()=>{_0x453856||_0x20a28e(_0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d9b75(){return _0xf30598[_0x2aee67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aee67([0x76,0x69,0x65,0x77])][_0x2aee67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2aee67([0x61,0x75,0x74,0x6f]);}function _0x1170ad(){_0xf30598[_0x2aee67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aee67([0x76,0x69,0x65,0x77])][_0x2aee67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2aee67([0x61,0x75,0x74,0x6f]);}}function _0x1a9132(_0x3cbdc9){const _0x41adef=[new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x223b5d=>setTimeout(_0x223b5d,0x459ededd^_0xbc196)),_0x572f11[_0x2aee67([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51c385=>{let _0x34f5e5=0x0;_0xf30598[_0x2aee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aee67([0x6f,0x6e])](_0x2aee67([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5bd3cf,_0x182b52)=>{_0x182b52[0x0][_0x2aee67([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34f5e5++,_0x34f5e5==(0x4597e1e9^_0xbc196)&&(_0x51c385(),_0x5bd3cf[_0x2aee67([0x6f,0x66,0x66])]());});}))];return window[_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2aee67([0x72,0x61,0x63,0x65])](_0x41adef)[_0x2aee67([0x74,0x68,0x65,0x6e])](()=>_0x3cbdc9);}async function _0x2205f2(){await _0x572f11,_0xf30598[_0x2aee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aee67([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x247c75,_0xf30598[_0x2aee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aee67([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x247c75,_0xf30598[_0x2aee67([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2aee67([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x137042(_0x2b1a12){const _0x196802=_0x360995();_0xf30598[_0x196802]=_0x2aee67([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b1a12,_0x2b1a12!=_0x2aee67([0x56,0x61,0x6c,0x69,0x64])&&_0x2205f2();}function _0x360995(){const _0x239706=window[_0x2aee67([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2aee67([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2aee67([0x6e,0x6f,0x77])]())[_0x2aee67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2aee67([0x2e]),'');let _0x3b5a7e=_0x2aee67([0x51]);for(let _0x1493bc=0x0;_0x1493bc<_0x239706[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1493bc+=0x2){let _0x1390a2=window[_0x2aee67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x239706[_0x2aee67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1493bc,_0x1493bc+0x2));_0x1390a2>=_0x1270cd[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1390a2-=_0x1270cd[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b5a7e+=_0x1270cd[_0x1390a2];}return _0x3b5a7e;}function _0x3aac09(){const _0x2eb77c=_0x24217f[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])](_0x2aee67([0x2e]));if(0x3!=_0x2eb77c[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x276f91(_0x2eb77c[0x1]);function _0x276f91(_0x4b8509){const _0x560a4d=_0x2495f2(_0x4b8509);return _0x560a4d&&_0x25eaff()?_0x560a4d:null;function _0x25eaff(){const _0x4ec851=_0x560a4d[_0x2aee67([0x6a,0x74,0x69])],_0x20fa61=window[_0x2aee67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ec851[_0x2aee67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ec851[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x145ddf={..._0x560a4d,[_0x2aee67([0x6a,0x74,0x69])]:_0x4ec851[_0x2aee67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ec851[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x145ddf[_0x2aee67([0x76,0x63])],_0x3284ac(_0x145ddf)==_0x20fa61;}}}async function _0x51d281(){let _0x34d48d=!0x0;try{const _0x2745ea=_0x24217f[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])](_0x2aee67([0x2e])),[_0x5c8ef2,_0x347d33,_0x31ea62]=_0x2745ea;return _0x5ce5ab(_0x5c8ef2),await _0x4f6cdc(_0x5c8ef2,_0x347d33,_0x31ea62),_0x34d48d;}catch{return!0x1;}function _0x5ce5ab(_0x25dbee){const _0x275f7c=_0x2495f2(_0x25dbee);_0x275f7c&&_0x275f7c[_0x2aee67([0x61,0x6c,0x67])]==_0x2aee67([0x45,0x53,0x32,0x35,0x36])||(_0x34d48d=!0x1);}async function _0x4f6cdc(_0x496d8d,_0x4d1eb2,_0x14162d){const _0x3ce91f=window[_0x2aee67([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2aee67([0x66,0x72,0x6f,0x6d])](_0x3a74a0(_0x14162d),_0x4a01c8=>_0x4a01c8[_0x2aee67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e527a=new window[(_0x2aee67([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2aee67([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x496d8d+_0x2aee67([0x2e])+_0x4d1eb2),_0x5d0291=window[_0x2aee67([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2aee67([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d0291)return;const _0x49ea9e=await _0x5d0291[_0x2aee67([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2aee67([0x6a,0x77,0x6b]),_0x5953e2,{[_0x2aee67([0x6e,0x61,0x6d,0x65])]:_0x2aee67([0x45,0x43,0x44,0x53,0x41]),[_0x2aee67([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2aee67([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2aee67([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d0291[_0x2aee67([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2aee67([0x6e,0x61,0x6d,0x65])]:_0x2aee67([0x45,0x43,0x44,0x53,0x41]),[_0x2aee67([0x68,0x61,0x73,0x68])]:{[_0x2aee67([0x6e,0x61,0x6d,0x65])]:_0x2aee67([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49ea9e,_0x3ce91f,_0x2e527a)||(_0x34d48d=!0x1);}}function _0x2495f2(_0x14ca49){return _0x14ca49[_0x2aee67([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2aee67([0x65,0x79]))?JSON[_0x2aee67([0x70,0x61,0x72,0x73,0x65])](_0x3a74a0(_0x14ca49)):null;}function _0x3a74a0(_0xb11a96){return window[_0x2aee67([0x61,0x74,0x6f,0x62])](_0xb11a96[_0x2aee67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2aee67([0x2b]))[_0x2aee67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2aee67([0x2f])));}function _0x3284ac(_0x2b713c){let _0x5e5c81=0x1505;function _0x2601c2(_0x45f560){for(let _0x3931d9=0x0;_0x3931d9<_0x45f560[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3931d9++){const _0x59dbae=_0x45f560[_0x2aee67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3931d9);_0x5e5c81=(_0x5e5c81<<0x5)+_0x5e5c81+_0x59dbae,_0x5e5c81&=_0x5e5c81;}}function _0x4d3da8(_0x629b7){Array[_0x2aee67([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x629b7)?_0x629b7[_0x2aee67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d3da8):_0x629b7&&typeof _0x629b7==_0x2aee67([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2aee67([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x629b7)[_0x2aee67([0x73,0x6f,0x72,0x74])]()[_0x2aee67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30f7b9,_0x233dd6])=>{_0x2601c2(_0x30f7b9),_0x4d3da8(_0x233dd6);}):_0x2601c2(window[_0x2aee67([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x629b7));}return _0x4d3da8(_0x2b713c),_0x5e5c81>>>0x0;}function _0x2fb465(_0x111eaa){return _0x111eaa[_0x2aee67([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2aee67([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2aee67([0x30]));}function _0x35dfb3(_0x53ed2a){return _0x53ed2a[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2aee67([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2aee67([0x6a,0x6f,0x69,0x6e])]('');}function _0x247c75(){}function _0x2aee67(_0x5e4e41){const _0x38da00=_0x3158;return _0x5e4e41[_0x38da00(0x190)](_0x4c48ca=>String[_0x38da00(0x16b)](_0x4c48ca))[_0x38da00(0x18f)]('');}_0x137042(await _0x1c4092());}(this);}[_0x368e52(0x164)](){const _0x144ab3=_0x368e52,_0x50f905=this[_0x144ab3(0x175)];if(!_0x50f905[_0x144ab3(0x191)][_0x144ab3(0x193)](_0x144ab3(0x195)))return;const _0x1a21ca=_0x50f905[_0x144ab3(0x191)][_0x144ab3(0x193)](_0x144ab3(0x179))[_0x144ab3(0x17f)](_0x6d8e20=>_0x144ab3(0x194)==typeof _0x6d8e20&&(!_0x31363a(_0x6d8e20)&&isNaN(Number(_0x6d8e20))));if(_0x1a21ca[_0x144ab3(0x185)])throw new _0x114133(_0x144ab3(0x188),null,{'namedPresets':_0x1a21ca});}[_0x368e52(0x17b)](){const _0x28ca32=_0x368e52,_0x167cf9=this[_0x28ca32(0x175)],_0x447d0d=this[_0x28ca32(0x175)][_0x28ca32(0x191)][_0x28ca32(0x193)](_0x28ca32(0x177));_0x167cf9[_0x28ca32(0x174)][_0x28ca32(0x186)](_0x28ca32(0x161))[_0x28ca32(0x192)]({'model':{'key':_0x28ca32(0x169)},'view':_0x4aaac2=>String(_0x4aaac2)===String(_0x447d0d)?null:{'key':_0x28ca32(0x176),'value':{'line-height':_0x4aaac2}}}),_0x167cf9[_0x28ca32(0x174)][_0x28ca32(0x186)](_0x28ca32(0x165))[_0x28ca32(0x192)]({'model':{'key':_0x28ca32(0x169),'value':_0x4b4749=>{const _0xfc2190=_0x28ca32;let _0x1e2294=_0x4b4749[_0xfc2190(0x170)](_0xfc2190(0x182));return _0x4fb0f3(_0x1e2294)&&(_0x1e2294=String(Number(_0x1e2294[_0xfc2190(0x181)](0x0,-0x1))/0x64)),String(_0x1e2294)===String(_0x447d0d)?null:_0x1e2294;}},'view':{'styles':{'line-height':/.*/}}});}[_0x368e52(0x183)](){const _0x33ff8d=_0x368e52,_0x3756e3=this[_0x33ff8d(0x175)],_0x376e1e=this[_0x33ff8d(0x175)][_0x33ff8d(0x191)][_0x33ff8d(0x193)](_0x33ff8d(0x177)),_0x11d43a=_0x335868(this[_0x33ff8d(0x175)][_0x33ff8d(0x191)][_0x33ff8d(0x193)](_0x33ff8d(0x169)))[_0x33ff8d(0x17f)](_0x37b20e=>_0x37b20e[_0x33ff8d(0x18d)]),_0x2e0a67=_0x48f1ec(_0x33ff8d(0x169),_0x11d43a);_0x3756e3[_0x33ff8d(0x174)][_0x33ff8d(0x192)](_0x2e0a67),_0x3756e3[_0x33ff8d(0x174)][_0x33ff8d(0x186)](_0x33ff8d(0x165))[_0x33ff8d(0x192)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x33ff8d(0x169),'value':_0x372c0d=>{const _0x59668d=_0x33ff8d;let _0x47de70=_0x372c0d[_0x59668d(0x170)](_0x59668d(0x182));return _0x4fb0f3(_0x47de70)&&(_0x47de70=String(Number(_0x47de70[_0x59668d(0x181)](0x0,-0x1))/0x64)),_0x47de70===String(_0x376e1e)?null:_0x2e0a67[_0x59668d(0x18d)][_0x59668d(0x171)][_0x59668d(0x16d)](_0x47de70)?_0x47de70:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0xba8575}from'ckeditor5/src/core.js';import{addListToDropdown as _0x36b471,createDropdown as _0x1a32b2,MenuBarMenuListItemButtonView as _0x3fcc14,MenuBarMenuListItemView as _0x620339,MenuBarMenuListView as _0x249449,MenuBarMenuView as _0x522c6d,UIModel as _0x5e67a0}from'ckeditor5/src/ui.js';import{Collection as _0x342b34}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3160b0}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x50d1c7}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0xba8575{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x358234={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x358234),this['_registerMenuBarComponent'](_0x358234),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d5a4c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2daca4;for(const _0x2e36fc in _0x2d5a4c){const _0x2c570e=_0x2e36fc,_0x569528=_0x2d5a4c[_0x2c570e];if('lineHeightLicenseKeyValid'==_0x569528||'lineHeightLicenseKeyInvalid'==_0x569528||'lineHeightLicenseKeyExpired'==_0x569528||'lineHeightLicenseKeyDomainLimit'==_0x569528||'lineHeightLicenseKeyNotAllowed'==_0x569528||'lineHeightLicenseKeyEvaluationLimit'==_0x569528||'lineHeightLicenseKeyTrialLimit'==_0x569528||'lineHeightLicenseKeyUsageLimit'==_0x569528){delete _0x2d5a4c[_0x2c570e],_0x2daca4=_0x569528,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x399def=this['editor'],t=_0x399def['t'],_0x3412b5=_0x399def['config']['get']('lineHeight'),_0x300789={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x50d1c7(_0x3412b5)['map'](_0x267213=>{const _0x12a4c6=_0x300789[_0x267213['title']];return _0x12a4c6&&_0x12a4c6!=_0x267213['title']&&(_0x267213=Object['assign']({},_0x267213,{'title':_0x12a4c6})),_0x267213;});}['_prepareListOptions'](){const _0x6cf33d=this['editor']['commands']['get']('lineHeight'),_0x48f3b9=this['editor']['config']['get']('lineHeight.defaultValue'),_0x215a7c=this['_getLocalizedLineHeightOptions'](),_0x14dd86=new _0x342b34(),_0x201e84=_0x515672=>'default'===_0x515672||String(_0x48f3b9)===_0x515672;for(const _0x9af33d of _0x215a7c){const _0xfedbad={'type':'button','model':new _0x5e67a0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x9af33d['title'],'withText':!0x0})};_0x201e84(_0x9af33d['model'])?(_0xfedbad['model']['bind']('isOn')['to'](_0x6cf33d,'value',_0x1c4305=>!_0x1c4305),_0xfedbad['model']['commandParam']=void 0x0):(_0xfedbad['model']['bind']('isOn')['to'](_0x6cf33d,'value',_0x4fdd0c=>_0x4fdd0c===_0x9af33d['model']),_0xfedbad['model']['commandParam']=_0x9af33d['model']),_0x14dd86['add'](_0xfedbad);}if(this['_shouldRenderCustomValueOption']()){const _0x515651=this['_getCustomValueOptionDefinition'](_0x215a7c);_0x14dd86['add'](_0x515651);}return _0x14dd86;}['_getCustomValueOptionDefinition'](_0x3eb151){const _0x3ed5fb=this['editor'],t=_0x3ed5fb['t'],_0x3f6abf=_0x3ed5fb['commands']['get']('lineHeight'),_0x4b5453=_0x3eb151['map'](_0x4cf058=>_0x4cf058['model']),_0x5af9df={'type':'button','model':new _0x5e67a0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5af9df['model']['bind']('commandParam')['to'](_0x3f6abf,'value'),_0x5af9df['model']['bind']('isOn')['to'](_0x3f6abf,'value',_0x5b706f=>!!_0x5b706f&&!_0x4b5453['includes'](String(_0x5b706f))),_0x5af9df['model']['bind']('label')['to'](_0x3f6abf,'value',_0x342df0=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x342df0))),_0x5af9df;}['_registerToolbarComponent']({accessibleLabel:_0x26c554,options:_0x32a5df}){const _0x3ac657=this['editor'],_0x48318a=_0x3ac657['commands']['get']('lineHeight');_0x3ac657['ui']['componentFactory']['add']('lineHeight',_0x201e37=>{const _0xce0d6d=_0x1a32b2(_0x201e37);return _0x36b471(_0xce0d6d,_0x32a5df,{'role':'menu','ariaLabel':_0x26c554}),_0xce0d6d['buttonView']['set']({'label':_0x26c554,'tooltip':!0x0,'icon':_0x3160b0}),_0xce0d6d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xce0d6d['bind']('isEnabled')['to'](_0x48318a),this['listenTo'](_0xce0d6d,'execute',_0xde2c77=>{_0x3ac657['execute'](_0xde2c77['source']['commandName'],{'value':_0xde2c77['source']['commandParam']}),_0x3ac657['editing']['view']['focus']();}),_0xce0d6d['once']('change:isOpen',()=>{const _0x5b9c17=_0xce0d6d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xce0d6d,_0x32a5df,_0x5b9c17);}),_0xce0d6d;});}['_registerMenuBarComponent']({accessibleLabel:_0x5ec1e7,options:_0x12a513}){const _0x1d731b=this['editor'],_0x477a10=_0x1d731b['commands']['get']('lineHeight');_0x1d731b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2f888d=>{const _0xc634bb=new _0x522c6d(_0x2f888d);_0xc634bb['buttonView']['set']({'label':_0x5ec1e7,'icon':_0x3160b0}),_0xc634bb['bind']('isEnabled')['to'](_0x477a10);const _0x1b3625=new _0x249449(_0x2f888d);for(const _0x78dfa6 of _0x12a513){const _0x2a7074=new _0x620339(_0x2f888d,_0xc634bb),_0x3e2a25=new _0x3fcc14(_0x2f888d);_0x3e2a25['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3e2a25['bind'](...Object['keys'](_0x78dfa6['model']))['to'](_0x78dfa6['model']),_0x3e2a25['delegate']('execute')['to'](_0xc634bb),_0x3e2a25['on']('execute',()=>{_0x1d731b['execute'](_0x78dfa6['model']['commandName'],{'value':_0x78dfa6['model']['commandParam']}),_0x1d731b['editing']['view']['focus']();}),_0x2a7074['children']['add'](_0x3e2a25),_0x1b3625['items']['add'](_0x2a7074);}return _0xc634bb['panelView']['children']['add'](_0x1b3625),this['_attachCustomOptionVisibilityHandler'](_0xc634bb,_0x12a513,_0x1b3625),_0xc634bb;});}['_attachCustomOptionVisibilityHandler'](_0x662770,_0x2ceab3,_0x4b48d0){if(!this['_shouldRenderCustomValueOption']())return;const _0x5acfd2=()=>{if(!_0x662770['isOpen'])return;_0x4b48d0['items']['last']['isVisible']=Boolean(_0x2ceab3['last']['model']['isOn']);};_0x5acfd2(),_0x662770['on']('change:isOpen',()=>{_0x5acfd2();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5283c8,_0x16bd9e){const _0x458474=_0x224a,_0x220765=_0x5283c8();while(!![]){try{const _0x5a0c60=parseInt(_0x458474(0x13e))/0x1+-parseInt(_0x458474(0x135))/0x2+-parseInt(_0x458474(0x131))/0x3*(parseInt(_0x458474(0x130))/0x4)+-parseInt(_0x458474(0x138))/0x5*(-parseInt(_0x458474(0x13b))/0x6)+parseInt(_0x458474(0x139))/0x7*(parseInt(_0x458474(0x124))/0x8)+parseInt(_0x458474(0x13d))/0x9*(parseInt(_0x458474(0x11e))/0xa)+-parseInt(_0x458474(0x11f))/0xb;if(_0x5a0c60===_0x16bd9e)break;else _0x220765['push'](_0x220765['shift']());}catch(_0x39b756){_0x220765['push'](_0x220765['shift']());}}}(_0x3d4a,0xbc74a));const v={get 'single'(){const _0x3a7504=_0x224a;return{'title':_0x3a7504(0x12f),'model':_0x3a7504(0x137),'view':{'key':_0x3a7504(0x120),'value':_0x3a7504(0x133)}};},get 'double'(){const _0x4a90ca=_0x224a;return{'title':_0x4a90ca(0x12d),'model':_0x4a90ca(0x12b),'view':{'key':_0x4a90ca(0x120),'value':_0x4a90ca(0x127)}};}};export function isLineHeightDefaultValue(_0x26ca40){const _0x108dd0=_0x224a;return _0x108dd0(0x129)==typeof _0x26ca40&&_0x108dd0(0x134)===_0x26ca40[_0x108dd0(0x126)]();}export function normalizeOptions(_0xbf2636){const _0x5040fa=_0x224a;return _0xbf2636[_0x5040fa(0x128)][_0x5040fa(0x13f)](_0x3e9804=>isLineHeightDefaultValue(_0x3e9804)?{'title':String(_0xbf2636[_0x5040fa(0x13a)]),'model':_0x5040fa(0x134)}:(_0x5040fa(0x121)==typeof _0x3e9804&&(_0x3e9804=String(_0x3e9804)),_0x5040fa(0x129)!=typeof _0x3e9804?_0x3e9804:parseFloat(_0x3e9804)?{'title':_0x3e9804,'model':_0x3e9804,'view':{'name':_0x5040fa(0x13c),'styles':{'line-height':_0x3e9804}}}:findPreset(_0x3e9804)))[_0x5040fa(0x12a)](_0x1ec082=>void 0x0!==_0x1ec082);}export function findPreset(_0x3acfda){const _0x2ff5fd=_0x224a;return _0x2ff5fd(0x129)==typeof _0x3acfda?v[_0x3acfda]:v[_0x3acfda[_0x2ff5fd(0x11d)]];}function _0x3d4a(){const _0x5a13c4=['push','single','5IXpHie','7FfIZux','defaultValue','5701062MJZUrP','span','39924LjoxzK','1107978tfYMtN','map','model','2390GbVApD','23262899MrRCxl','class','number','value','view','9839608UTynhU','line-height:','toLowerCase','line-height-double','options','string','filter','double','key','Double','values','Single','170192MPZoRx','99rFhqzI','style','line-height-single','default','115006voylOL'];_0x3d4a=function(){return _0x5a13c4;};return _0x3d4a();}function _0x224a(_0x3288eb,_0x1a526e){const _0x3d4a70=_0x3d4a();return _0x224a=function(_0x224a96,_0x11be48){_0x224a96=_0x224a96-0x11d;let _0x27bca0=_0x3d4a70[_0x224a96];return _0x27bca0;},_0x224a(_0x3288eb,_0x1a526e);}export function buildDefinition(_0x6abc4a,_0x260f9d){const _0x2497b4=_0x224a,_0x45e71e={'model':{'key':_0x6abc4a,'values':[]},'view':{}};for(const _0x5158f1 of _0x260f9d)_0x2497b4(0x120)===_0x5158f1[_0x2497b4(0x123)]?.[_0x2497b4(0x12c)]?(_0x45e71e[_0x2497b4(0x11d)][_0x2497b4(0x12e)][_0x2497b4(0x136)](_0x5158f1[_0x2497b4(0x11d)]),_0x45e71e[_0x2497b4(0x123)][_0x5158f1[_0x2497b4(0x11d)]]={'key':_0x2497b4(0x120),'value':_0x5158f1[_0x2497b4(0x123)][_0x2497b4(0x122)]}):(_0x45e71e[_0x2497b4(0x11d)][_0x2497b4(0x12e)][_0x2497b4(0x136)](_0x5158f1[_0x2497b4(0x11d)]),_0x45e71e[_0x2497b4(0x123)][_0x5158f1[_0x2497b4(0x11d)]]={'key':_0x2497b4(0x132),'value':_0x2497b4(0x125)+_0x5158f1[_0x2497b4(0x11d)]+';'});return _0x45e71e;}
|