@ckeditor/ckeditor5-line-height 46.0.1-alpha.1 → 46.0.1-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bf354=_0xd2cb;(function(_0x351e61,_0xaa690b){const _0x51f85d=_0xd2cb,_0x211455=_0x351e61();while(!![]){try{const _0x19c3ce=parseInt(_0x51f85d(0x14e))/0x1+-parseInt(_0x51f85d(0x159))/0x2+parseInt(_0x51f85d(0x168))/0x3+-parseInt(_0x51f85d(0x160))/0x4*(-parseInt(_0x51f85d(0x154))/0x5)+-parseInt(_0x51f85d(0x15a))/0x6*(-parseInt(_0x51f85d(0x163))/0x7)+parseInt(_0x51f85d(0x15f))/0x8*(-parseInt(_0x51f85d(0x14d))/0x9)+-parseInt(_0x51f85d(0x14f))/0xa;if(_0x19c3ce===_0xaa690b)break;else _0x211455['push'](_0x211455['shift']());}catch(_0x440a32){_0x211455['push'](_0x211455['shift']());}}}(_0x166e,0xacc7b));function _0x166e(){const _0x2f4295=['3619590qemRNi','selection','isEnabled','model','checkAttribute','3538190CVpTIg','filter','removeAttribute','refresh','change','746508OsFZjf','282PVaZHG','editor','value','from','schema','16KWrJFQ','4jmevgu','_canHaveLineHeight','setAttribute','37282hwWcUe','execute','lineHeight','getSelectedBlocks','document','1247187fNRhsa','getAttribute','2645154kfcCXh','657043MxVJCT'];_0x166e=function(){return _0x2f4295;};return _0x166e();}import{Command as _0x4596b9}from'ckeditor5/src/core.js';import{first as _0x5e9f0f}from'ckeditor5/src/utils.js';function _0xd2cb(_0x48a281,_0x4aeba0){const _0x166e41=_0x166e();return _0xd2cb=function(_0xd2cb6f,_0x5ae1c6){_0xd2cb6f=_0xd2cb6f-0x14c;let _0x2fb911=_0x166e41[_0xd2cb6f];return _0x2fb911;},_0xd2cb(_0x48a281,_0x4aeba0);}export class LineHeightCommand extends _0x4596b9{[_0x1bf354(0x157)](){const _0x546f80=_0x1bf354,_0x22aee9=this[_0x546f80(0x15b)][_0x546f80(0x152)][_0x546f80(0x167)],_0x59da02=_0x5e9f0f(_0x22aee9[_0x546f80(0x150)][_0x546f80(0x166)]());this[_0x546f80(0x151)]=Boolean(_0x59da02)&&this[_0x546f80(0x161)](_0x59da02),this[_0x546f80(0x15c)]=this[_0x546f80(0x151)]&&_0x59da02[_0x546f80(0x14c)](_0x546f80(0x165));}[_0x1bf354(0x164)](_0x318e32={}){const _0x193568=_0x1bf354,_0x2718bc=this[_0x193568(0x15b)][_0x193568(0x152)],_0x52506d=_0x2718bc[_0x193568(0x167)][_0x193568(0x150)],_0x25790d=_0x318e32[_0x193568(0x15c)];_0x2718bc[_0x193568(0x158)](_0x317d5a=>{const _0x2fe18b=_0x193568,_0x2513ab=Array[_0x2fe18b(0x15d)](_0x52506d[_0x2fe18b(0x166)]())[_0x2fe18b(0x155)](_0xfc969d=>this[_0x2fe18b(0x161)](_0xfc969d));for(const _0x6d0d7d of _0x2513ab)_0x25790d?_0x317d5a[_0x2fe18b(0x162)](_0x2fe18b(0x165),_0x25790d,_0x6d0d7d):_0x317d5a[_0x2fe18b(0x156)](_0x2fe18b(0x165),_0x6d0d7d);});}[_0x1bf354(0x161)](_0x6a48bf){const _0x5f05dc=_0x1bf354;return this[_0x5f05dc(0x15b)][_0x5f05dc(0x152)][_0x5f05dc(0x15e)][_0x5f05dc(0x153)](_0x6a48bf,_0x5f05dc(0x165));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x527004=_0x12ef;function _0x12ef(_0x3de8d0,_0x538981){const _0x1e9054=_0x1e90();return _0x12ef=function(_0x12efdc,_0xf72c69){_0x12efdc=_0x12efdc-0x179;let _0x50e80d=_0x1e9054[_0x12efdc];return _0x50e80d;},_0x12ef(_0x3de8d0,_0x538981);}(function(_0x4338ee,_0x628e2e){const _0x12b80a=_0x12ef,_0x5cc4a3=_0x4338ee();while(!![]){try{const _0x19d4af=parseInt(_0x12b80a(0x19d))/0x1*(parseInt(_0x12b80a(0x17d))/0x2)+-parseInt(_0x12b80a(0x1a8))/0x3*(parseInt(_0x12b80a(0x199))/0x4)+-parseInt(_0x12b80a(0x1ad))/0x5+parseInt(_0x12b80a(0x18c))/0x6*(-parseInt(_0x12b80a(0x196))/0x7)+-parseInt(_0x12b80a(0x1a2))/0x8+-parseInt(_0x12b80a(0x193))/0x9*(-parseInt(_0x12b80a(0x187))/0xa)+parseInt(_0x12b80a(0x18f))/0xb;if(_0x19d4af===_0x628e2e)break;else _0x5cc4a3['push'](_0x5cc4a3['shift']());}catch(_0x30a94a){_0x5cc4a3['push'](_0x5cc4a3['shift']());}}}(_0x1e90,0xe86f4));import{Plugin as _0x34a803}from'ckeditor5/src/core.js';function _0x1e90(){const _0xd06dab=['getStyle','includes','238CSKOXh','lineHeight.defaultValue','_preparePredefinedConverters','933256OdrWCH','filter','string','commands','1oKdhKi','style','LineHeightEditing','define','extend','7619272TKfKhs','schema','slice','setAttributeProperties','isOfficialPlugin','config','15luhuAr','upcast','lineHeight.supportAllValues','lineHeight','conversion','4697770PTCsGr','join','add','_validateConfig','length','editor','get','2257294iCXufm','lineHeight.options','href','map','model','attributeToAttribute','fromCharCode','$block','line-height-invalid-use-of-named-presets','pluginName','388940kxIrGY','default','isPremiumPlugin','afterInit','values','223854QrETdS','for','downcast','42232212rPkoze','_prepareAnyValueConverters','init','line-height','72uaeawX'];_0x1e90=function(){return _0xd06dab;};return _0x1e90();}import{LineHeightCommand as _0x1dbca0}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x6ec328}from'ckeditor5/src/engine.js';import{uid as _0x4f02d0,CKEditorError as _0x221c23}from'ckeditor5/src/utils.js';import{buildDefinition as _0x55af17,isLineHeightDefaultValue as _0x5217f2,normalizeOptions as _0x5c40bb}from'./utils.js';export class LineHeightEditing extends _0x34a803{static get[_0x527004(0x186)](){const _0x30940a=_0x527004;return _0x30940a(0x19f);}static get[_0x527004(0x1a6)](){return!0x0;}static get[_0x527004(0x189)](){return!0x0;}constructor(_0xdf82bc){const _0xe6e2bd=_0x527004;super(_0xdf82bc),_0xdf82bc[_0xe6e2bd(0x1a7)][_0xe6e2bd(0x1a0)](_0xe6e2bd(0x1ab),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xe6e2bd(0x188),0x2,2.5,0x3]});}[_0x527004(0x191)](){const _0x46f632=_0x527004,_0x181ffc=this[_0x46f632(0x17b)];this[_0x46f632(0x179)](),_0x181ffc[_0x46f632(0x181)][_0x46f632(0x1a3)][_0x46f632(0x1a1)](_0x46f632(0x184),{'allowAttributes':_0x46f632(0x1ab)}),_0x181ffc[_0x46f632(0x181)][_0x46f632(0x1a3)][_0x46f632(0x1a5)](_0x46f632(0x1ab),{'isFormatting':!0x0}),_0x181ffc[_0x46f632(0x19c)][_0x46f632(0x1af)](_0x46f632(0x1ab),new _0x1dbca0(_0x181ffc)),this[_0x46f632(0x17b)][_0x46f632(0x1a7)][_0x46f632(0x17c)](_0x46f632(0x1aa))?this[_0x46f632(0x190)]():this[_0x46f632(0x198)]();}[_0x527004(0x18a)](){!async function(_0x447fed){const _0x38bff5=_0x173ff5([0x6f,0x55,0x37,0x44,0x58,0x66,0x64,0x68,0x74,0x72,0x73,0x4d,0x57,0x79,0x63,0x4e,0x4a,0x54,0x39,0x6b,0x53,0x56,0x78,0x61,0x67,0x31,0x49,0x36,0x65,0x42,0x35,0x4b,0x45,0x6e,0x71,0x69,0x51,0x5a,0x75,0x6d,0x62,0x76,0x46,0x47,0x34,0x41,0x43,0x7a,0x70,0x48,0x4f,0x77,0x38,0x6c,0x52,0x50,0x59,0x33,0x4c,0x6a,0x32,0x30]),_0x57d76d=0x1004ddca,_0xb706=0x1003b2ea^_0x57d76d,_0x442959=window[_0x173ff5([0x44,0x61,0x74,0x65])][_0x173ff5([0x6e,0x6f,0x77])](),_0x51e212=_0x447fed[_0x173ff5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54b469=new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14ea91=>{_0x51e212[_0x173ff5([0x6f,0x6e,0x63,0x65])](_0x173ff5([0x72,0x65,0x61,0x64,0x79]),_0x14ea91);}),_0x42efd2={[_0x173ff5([0x6b,0x74,0x79])]:_0x173ff5([0x45,0x43]),[_0x173ff5([0x75,0x73,0x65])]:_0x173ff5([0x73,0x69,0x67]),[_0x173ff5([0x63,0x72,0x76])]:_0x173ff5([0x50,0x2d,0x32,0x35,0x36]),[_0x173ff5([0x78])]:_0x173ff5([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]),[_0x173ff5([0x79])]:_0x173ff5([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]),[_0x173ff5([0x61,0x6c,0x67])]:_0x173ff5([0x45,0x53,0x32,0x35,0x36])},_0x5d4cad=_0x51e212[_0x173ff5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x173ff5([0x67,0x65,0x74])](_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5099a4(){let _0x2e99b8,_0x3685a1=null,_0x4453f6=null;try{if(_0x5d4cad==_0x173ff5([0x47,0x50,0x4c]))return _0x173ff5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e99b8=_0x4e50a5(),!_0x2e99b8)return _0x173ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e99b8[_0x173ff5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4453f6=_0x15791d(_0x2e99b8[_0x173ff5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e99b8[_0x173ff5([0x6a,0x74,0x69])])),await _0xb164ed()?_0x4ac2c3()?_0x492b6a()?_0x173ff5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3050a5()?(_0x2e99b8[_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x173ff5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3685a1=_0x8cc7d0(_0x173ff5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e99b8[_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x173ff5([0x74,0x72,0x69,0x61,0x6c])&&(_0x3685a1=_0x8cc7d0(_0x173ff5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x23c953()):_0x173ff5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x173ff5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x173ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x173ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x492b6a(){const _0x43ea42=[_0x173ff5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x173ff5([0x74,0x72,0x69,0x61,0x6c])][_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e99b8[_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x442959/0x3e8:0xe10*_0xb706;return _0x2e99b8[_0x173ff5([0x65,0x78,0x70])]<_0x43ea42;}function _0x4ac2c3(){const _0xdf89e2=_0x2e99b8[_0x173ff5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdf89e2&&(!!_0xdf89e2[_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x173ff5([0x2a]))||!!_0xdf89e2[_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x173ff5([0x4c,0x48])));}function _0x3050a5(){const _0x158502=_0x12ef,_0x153e58=_0x2e99b8[_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x153e58||0x0==_0x153e58[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43d68e}=new URL(window[_0x173ff5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x158502(0x17f)]);if(_0x153e58[_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43d68e))return!0x0;const _0x17d48b=_0x43d68e[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])](_0x173ff5([0x2e]));return _0x153e58[_0x173ff5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xeac9e2=>_0xeac9e2[_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x173ff5([0x2a])))[_0x173ff5([0x6d,0x61,0x70])](_0x5484fc=>_0x5484fc[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])](_0x173ff5([0x2e])))[_0x173ff5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bfe8a=>_0x4bfe8a[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17d48b[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x173ff5([0x6d,0x61,0x70])](_0x54c198=>Array(_0x17d48b[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54c198[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x173ff5([0x66,0x69,0x6c,0x6c])](_0x54c198[0x0]===_0x173ff5([0x2a])?_0x173ff5([0x2a]):'')[_0x173ff5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54c198))[_0x173ff5([0x73,0x6f,0x6d,0x65])](_0x285e80=>_0x17d48b[_0x173ff5([0x65,0x76,0x65,0x72,0x79])]((_0x541bcd,_0x517e92)=>_0x285e80[_0x517e92]===_0x541bcd||_0x285e80[_0x517e92]===_0x173ff5([0x2a])));}function _0x23c953(){return _0x3685a1&&_0x4453f6?new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35778c,_0x52b91c)=>{_0x3685a1[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x35778c,_0x52b91c),_0x4453f6[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x33c9d9=>{_0x33c9d9!=_0x173ff5([0x56,0x61,0x6c,0x69,0x64])&&_0x35778c(_0x33c9d9);},_0x52b91c);}):_0x3685a1||_0x4453f6||_0x173ff5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15791d(_0xd6cb10,_0x18717a){return new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42c269=>{if(_0x24838c())return _0x42c269(_0x173ff5([0x56,0x61,0x6c,0x69,0x64]));_0x2e00c6(),_0x51e212[_0x173ff5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x173ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40ce8f=!0x1;const _0x33faf7=_0x4f02d0();function _0x100ec9(_0x19fc5f){return!!_0x19fc5f&&(typeof _0x19fc5f===_0x173ff5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19fc5f===_0x173ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19fc5f[_0x173ff5([0x74,0x68,0x65,0x6e])]===_0x173ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19fc5f[_0x173ff5([0x63,0x61,0x74,0x63,0x68])]===_0x173ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27a8eb(_0x25dee0){_0x1a4812(_0x25dee0)[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x22c39f=>{if(!_0x22c39f||_0x22c39f[_0x173ff5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x173ff5([0x6f,0x6b]))return _0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38848a(_0x2f59bd(_0x33faf7+_0x18717a))!=_0x22c39f[_0x173ff5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x173ff5([0x56,0x61,0x6c,0x69,0x64]);})[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x75941=>(_0x1fddf8(),_0x75941),()=>{const _0x39ab90=_0x2225e3();return null==_0x39ab90?(_0x1fddf8(),_0x173ff5([0x56,0x61,0x6c,0x69,0x64])):_0x173ff5(_0x442959-_0x39ab90>(0x340859ca^_0x57d76d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x42c269)[_0x173ff5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42c269(_0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53de53=0x1032334a^_0x57d76d;function _0x1fddf8(){const _0x208ee9=_0x173ff5([0x6c,0x6c,0x63,0x74,0x2d])+_0x38848a(_0x2f59bd(_0xd6cb10)),_0x168429=_0x542428(_0x38848a(window[_0x173ff5([0x4d,0x61,0x74,0x68])][_0x173ff5([0x63,0x65,0x69,0x6c])](_0x442959/_0x53de53)));window[_0x173ff5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x173ff5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x208ee9,_0x168429);}function _0x2225e3(){const _0x36582d=_0x173ff5([0x6c,0x6c,0x63,0x74,0x2d])+_0x38848a(_0x2f59bd(_0xd6cb10)),_0x532c0d=window[_0x173ff5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x173ff5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36582d);return _0x532c0d?window[_0x173ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x542428(_0x532c0d),0x10)*_0x53de53:null;}function _0x1a4812(_0x5edf87){return new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46e568,_0x31a490)=>{_0x5edf87[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x46e568,_0x31a490),window[_0x173ff5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31a490,0x1005090a^_0x57d76d);});}}_0x51e212[_0x173ff5([0x6f,0x6e])](_0x173ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48ee1b,_0x5c1a1c)=>{if(_0x5c1a1c[0x0]!=_0xd6cb10)return _0x42c269(_0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c1a1c[0x1]={..._0x5c1a1c[0x1],[_0x173ff5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33faf7};},{[_0x173ff5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x173ff5([0x68,0x69,0x67,0x68])}),_0x51e212[_0x173ff5([0x6f,0x6e])](_0x173ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7aada0=>{_0x100ec9(_0x7aada0[_0x173ff5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40ce8f=!0x0,_0x27a8eb(_0x7aada0[_0x173ff5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x173ff5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x173ff5([0x6c,0x6f,0x77])}),_0x54b469[_0x173ff5([0x74,0x68,0x65,0x6e])](()=>{_0x40ce8f||_0x42c269(_0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24838c(){return _0x51e212[_0x173ff5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x173ff5([0x76,0x69,0x65,0x77])][_0x173ff5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x173ff5([0x61,0x75,0x74,0x6f]);}function _0x2e00c6(){_0x51e212[_0x173ff5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x173ff5([0x76,0x69,0x65,0x77])][_0x173ff5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x173ff5([0x61,0x75,0x74,0x6f]);}}function _0x8cc7d0(_0x306d58){const _0x543125=[new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x236b7b=>setTimeout(_0x236b7b,0x100de306^_0x57d76d)),_0x54b469[_0x173ff5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa43f92=>{let _0xf26a4d=0x0;_0x51e212[_0x173ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x173ff5([0x6f,0x6e])](_0x173ff5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x535f24,_0x1dde49)=>{_0x1dde49[0x0][_0x173ff5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf26a4d++,_0xf26a4d==(0x1004dc32^_0x57d76d)&&(_0xa43f92(),_0x535f24[_0x173ff5([0x6f,0x66,0x66])]());});}))];return window[_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x173ff5([0x72,0x61,0x63,0x65])](_0x543125)[_0x173ff5([0x74,0x68,0x65,0x6e])](()=>_0x306d58);}async function _0x5c9e12(){await _0x54b469,_0x51e212[_0x173ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x173ff5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ca486,_0x51e212[_0x173ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x173ff5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ca486,_0x51e212[_0x173ff5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x173ff5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e9d83(_0x3bbd13){const _0x1990ba=_0x3d2785();_0x51e212[_0x1990ba]=_0x173ff5([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3bbd13,_0x3bbd13!=_0x173ff5([0x56,0x61,0x6c,0x69,0x64])&&_0x5c9e12();}function _0x3d2785(){const _0x29ab82=window[_0x173ff5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x173ff5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x173ff5([0x6e,0x6f,0x77])]())[_0x173ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x173ff5([0x2e]),'');let _0x5aff8e=_0x173ff5([0x6f]);for(let _0x13bb7f=0x0;_0x13bb7f<_0x29ab82[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13bb7f+=0x2){let _0x3eaaab=window[_0x173ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29ab82[_0x173ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13bb7f,_0x13bb7f+0x2));_0x3eaaab>=_0x38bff5[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3eaaab-=_0x38bff5[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5aff8e+=_0x38bff5[_0x3eaaab];}return _0x5aff8e;}function _0x4e50a5(){const _0x57a100=_0x5d4cad[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])](_0x173ff5([0x2e]));if(0x3!=_0x57a100[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b1eb6(_0x57a100[0x1]);function _0x1b1eb6(_0x4db1af){const _0x81feda=_0x1222a9(_0x4db1af);return _0x81feda&&_0x2196b9()?_0x81feda:null;function _0x2196b9(){const _0x18bb6e=_0x81feda[_0x173ff5([0x6a,0x74,0x69])],_0x3049d1=window[_0x173ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18bb6e[_0x173ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18bb6e[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c1c15={..._0x81feda,[_0x173ff5([0x6a,0x74,0x69])]:_0x18bb6e[_0x173ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18bb6e[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c1c15[_0x173ff5([0x76,0x63])],_0x2f59bd(_0x5c1c15)==_0x3049d1;}}}async function _0xb164ed(){let _0x359349=!0x0;try{const _0x225a3e=_0x5d4cad[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])](_0x173ff5([0x2e])),[_0x14cba4,_0x27ca36,_0x1ab566]=_0x225a3e;return _0x28218c(_0x14cba4),await _0x2d8acf(_0x14cba4,_0x27ca36,_0x1ab566),_0x359349;}catch{return!0x1;}function _0x28218c(_0x4644f4){const _0x160b46=_0x1222a9(_0x4644f4);_0x160b46&&_0x160b46[_0x173ff5([0x61,0x6c,0x67])]==_0x173ff5([0x45,0x53,0x32,0x35,0x36])||(_0x359349=!0x1);}async function _0x2d8acf(_0x42cb55,_0x4e961f,_0x3e90a7){const _0x5e05e8=window[_0x173ff5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x173ff5([0x66,0x72,0x6f,0x6d])](_0xeaa44d(_0x3e90a7),_0xa2fb3f=>_0xa2fb3f[_0x173ff5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x403aa2=new window[(_0x173ff5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x173ff5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42cb55+_0x173ff5([0x2e])+_0x4e961f),_0xb1b414=window[_0x173ff5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x173ff5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb1b414)return;const _0x165769=await _0xb1b414[_0x173ff5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x173ff5([0x6a,0x77,0x6b]),_0x42efd2,{[_0x173ff5([0x6e,0x61,0x6d,0x65])]:_0x173ff5([0x45,0x43,0x44,0x53,0x41]),[_0x173ff5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x173ff5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x173ff5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb1b414[_0x173ff5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x173ff5([0x6e,0x61,0x6d,0x65])]:_0x173ff5([0x45,0x43,0x44,0x53,0x41]),[_0x173ff5([0x68,0x61,0x73,0x68])]:{[_0x173ff5([0x6e,0x61,0x6d,0x65])]:_0x173ff5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x165769,_0x5e05e8,_0x403aa2)||(_0x359349=!0x1);}}function _0x1222a9(_0xe378d1){return _0xe378d1[_0x173ff5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x173ff5([0x65,0x79]))?JSON[_0x173ff5([0x70,0x61,0x72,0x73,0x65])](_0xeaa44d(_0xe378d1)):null;}function _0xeaa44d(_0x4afd25){return window[_0x173ff5([0x61,0x74,0x6f,0x62])](_0x4afd25[_0x173ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x173ff5([0x2b]))[_0x173ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x173ff5([0x2f])));}function _0x2f59bd(_0x1c52f9){let _0x1330da=0x1505;function _0x19b5b6(_0x32e920){for(let _0x4f9c66=0x0;_0x4f9c66<_0x32e920[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f9c66++){const _0x5b6996=_0x32e920[_0x173ff5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f9c66);_0x1330da=(_0x1330da<<0x5)+_0x1330da+_0x5b6996,_0x1330da&=_0x1330da;}}function _0x2730c7(_0x359774){Array[_0x173ff5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x359774)?_0x359774[_0x173ff5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2730c7):_0x359774&&typeof _0x359774==_0x173ff5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x173ff5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x359774)[_0x173ff5([0x73,0x6f,0x72,0x74])]()[_0x173ff5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29f1ee,_0x4bb6e9])=>{_0x19b5b6(_0x29f1ee),_0x2730c7(_0x4bb6e9);}):_0x19b5b6(window[_0x173ff5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x359774));}return _0x2730c7(_0x1c52f9),_0x1330da>>>0x0;}function _0x38848a(_0x53eb8c){return _0x53eb8c[_0x173ff5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x173ff5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x173ff5([0x30]));}function _0x542428(_0x375aa0){return _0x375aa0[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x173ff5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x173ff5([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ca486(){}function _0x173ff5(_0x4741fd){const _0x4fdb98=_0x12ef;return _0x4741fd[_0x4fdb98(0x180)](_0x5a93ab=>String[_0x4fdb98(0x183)](_0x5a93ab))[_0x4fdb98(0x1ae)]('');}_0x1e9d83(await _0x5099a4());}(this);}[_0x527004(0x179)](){const _0x192ff2=_0x527004,_0x48b0f6=this[_0x192ff2(0x17b)];if(!_0x48b0f6[_0x192ff2(0x1a7)][_0x192ff2(0x17c)](_0x192ff2(0x1aa)))return;const _0x4b03ee=_0x48b0f6[_0x192ff2(0x1a7)][_0x192ff2(0x17c)](_0x192ff2(0x17e))[_0x192ff2(0x19a)](_0x458cb2=>_0x192ff2(0x19b)==typeof _0x458cb2&&(!_0x5217f2(_0x458cb2)&&isNaN(Number(_0x458cb2))));if(_0x4b03ee[_0x192ff2(0x17a)])throw new _0x221c23(_0x192ff2(0x185),null,{'namedPresets':_0x4b03ee});}[_0x527004(0x190)](){const _0x30eaed=_0x527004,_0x325552=this[_0x30eaed(0x17b)],_0x1c1f3a=this[_0x30eaed(0x17b)][_0x30eaed(0x1a7)][_0x30eaed(0x17c)](_0x30eaed(0x197));_0x325552[_0x30eaed(0x1ac)][_0x30eaed(0x18d)](_0x30eaed(0x18e))[_0x30eaed(0x182)]({'model':{'key':_0x30eaed(0x1ab)},'view':_0x455bf1=>String(_0x455bf1)===String(_0x1c1f3a)?null:{'key':_0x30eaed(0x19e),'value':{'line-height':_0x455bf1}}}),_0x325552[_0x30eaed(0x1ac)][_0x30eaed(0x18d)](_0x30eaed(0x1a9))[_0x30eaed(0x182)]({'model':{'key':_0x30eaed(0x1ab),'value':_0x25539c=>{const _0x32014e=_0x30eaed;let _0x2d8a31=_0x25539c[_0x32014e(0x194)](_0x32014e(0x192));return _0x6ec328(_0x2d8a31)&&(_0x2d8a31=String(Number(_0x2d8a31[_0x32014e(0x1a4)](0x0,-0x1))/0x64)),String(_0x2d8a31)===String(_0x1c1f3a)?null:_0x2d8a31;}},'view':{'styles':{'line-height':/.*/}}});}[_0x527004(0x198)](){const _0x2fc832=_0x527004,_0x1d8c96=this[_0x2fc832(0x17b)],_0x5a9011=this[_0x2fc832(0x17b)][_0x2fc832(0x1a7)][_0x2fc832(0x17c)](_0x2fc832(0x197)),_0x5f25f0=_0x5c40bb(this[_0x2fc832(0x17b)][_0x2fc832(0x1a7)][_0x2fc832(0x17c)](_0x2fc832(0x1ab)))[_0x2fc832(0x19a)](_0x30c39d=>_0x30c39d[_0x2fc832(0x181)]),_0x17023e=_0x55af17(_0x2fc832(0x1ab),_0x5f25f0);_0x1d8c96[_0x2fc832(0x1ac)][_0x2fc832(0x182)](_0x17023e),_0x1d8c96[_0x2fc832(0x1ac)][_0x2fc832(0x18d)](_0x2fc832(0x1a9))[_0x2fc832(0x182)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2fc832(0x1ab),'value':_0x4d3ed5=>{const _0x3258a8=_0x2fc832;let _0x2dfea2=_0x4d3ed5[_0x3258a8(0x194)](_0x3258a8(0x192));return _0x6ec328(_0x2dfea2)&&(_0x2dfea2=String(Number(_0x2dfea2[_0x3258a8(0x1a4)](0x0,-0x1))/0x64)),_0x2dfea2===String(_0x5a9011)?null:_0x17023e[_0x3258a8(0x181)][_0x3258a8(0x18b)][_0x3258a8(0x195)](_0x2dfea2)?_0x2dfea2:null;}}});}}
|
|
23
|
+
const _0xf4ca8f=_0x1367;(function(_0x5f30e7,_0x148afb){const _0x40df86=_0x1367,_0x5874fa=_0x5f30e7();while(!![]){try{const _0x3cb44a=-parseInt(_0x40df86(0xbd))/0x1+parseInt(_0x40df86(0xcc))/0x2+-parseInt(_0x40df86(0xd2))/0x3+-parseInt(_0x40df86(0xc9))/0x4*(-parseInt(_0x40df86(0xa7))/0x5)+parseInt(_0x40df86(0xc7))/0x6+parseInt(_0x40df86(0xbf))/0x7+-parseInt(_0x40df86(0xd5))/0x8*(-parseInt(_0x40df86(0xc6))/0x9);if(_0x3cb44a===_0x148afb)break;else _0x5874fa['push'](_0x5874fa['shift']());}catch(_0x493c7a){_0x5874fa['push'](_0x5874fa['shift']());}}}(_0x5cc8,0x41492));import{Plugin as _0x4bfdd7}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xe2a7e3}from'./lineheightcommand.js';function _0x1367(_0x3a3007,_0x68db2c){const _0x5cc821=_0x5cc8();return _0x1367=function(_0x13672b,_0x12592e){_0x13672b=_0x13672b-0xa3;let _0x5398a9=_0x5cc821[_0x13672b];return _0x5398a9;},_0x1367(_0x3a3007,_0x68db2c);}import{isPercentageStyleValue as _0x4da690}from'ckeditor5/src/engine.js';function _0x5cc8(){const _0x2f8d16=['default','values','_preparePredefinedConverters','453176WNmAXY','map','1908249XlJmNW','isOfficialPlugin','lineHeight.supportAllValues','get','line-height-invalid-use-of-named-presets','lineHeight.defaultValue','attributeToAttribute','189ocCsuH','877644cBqbTF','conversion','672BpqPFU','commands','_validateConfig','639216EkvJQe','length','LineHeightEditing','lineHeight','model','line-height','769515NEBUbR','add','$block','9552gCmExI','upcast','style','init','slice','schema','extend','6355xRXHCh','fromCharCode','_prepareAnyValueConverters','for','getStyle','pluginName','config','afterInit','downcast','editor','isPremiumPlugin','define','includes','filter','lineHeight.options','href','string','join','setAttributeProperties'];_0x5cc8=function(){return _0x2f8d16;};return _0x5cc8();}import{uid as _0x4fcf6a,CKEditorError as _0x1dcf1a}from'ckeditor5/src/utils.js';import{buildDefinition as _0xe9f964,isLineHeightDefaultValue as _0x3bfbd9,normalizeOptions as _0x361b9e}from'./utils.js';export class LineHeightEditing extends _0x4bfdd7{static get[_0xf4ca8f(0xac)](){const _0x3d1f32=_0xf4ca8f;return _0x3d1f32(0xce);}static get[_0xf4ca8f(0xc0)](){return!0x0;}static get[_0xf4ca8f(0xb1)](){return!0x0;}constructor(_0x7e8021){const _0x24150b=_0xf4ca8f;super(_0x7e8021),_0x7e8021[_0x24150b(0xad)][_0x24150b(0xb2)](_0x24150b(0xcf),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x24150b(0xba),0x2,2.5,0x3]});}[_0xf4ca8f(0xa3)](){const _0x47a4c6=_0xf4ca8f,_0x5efe15=this[_0x47a4c6(0xb0)];this[_0x47a4c6(0xcb)](),_0x5efe15[_0x47a4c6(0xd0)][_0x47a4c6(0xa5)][_0x47a4c6(0xa6)](_0x47a4c6(0xd4),{'allowAttributes':_0x47a4c6(0xcf)}),_0x5efe15[_0x47a4c6(0xd0)][_0x47a4c6(0xa5)][_0x47a4c6(0xb9)](_0x47a4c6(0xcf),{'isFormatting':!0x0}),_0x5efe15[_0x47a4c6(0xca)][_0x47a4c6(0xd3)](_0x47a4c6(0xcf),new _0xe2a7e3(_0x5efe15)),this[_0x47a4c6(0xb0)][_0x47a4c6(0xad)][_0x47a4c6(0xc2)](_0x47a4c6(0xc1))?this[_0x47a4c6(0xa9)]():this[_0x47a4c6(0xbc)]();}[_0xf4ca8f(0xae)](){!async function(_0x165526){const _0x50f914=_0x549dd6([0x4b,0x31,0x78,0x34,0x66,0x67,0x43,0x42,0x52,0x55,0x32,0x36,0x35,0x45,0x69,0x6f,0x37,0x7a,0x63,0x62,0x75,0x5a,0x6d,0x53,0x49,0x59,0x50,0x4e,0x33,0x6e,0x44,0x46,0x47,0x30,0x76,0x70,0x64,0x65,0x48,0x51,0x72,0x6a,0x54,0x4d,0x38,0x56,0x6b,0x68,0x57,0x4a,0x6c,0x79,0x39,0x58,0x61,0x73,0x71,0x74,0x41,0x4c,0x77,0x4f]),_0x1b3fac=0xfaadfb4,_0x55355f=0xfadb054^_0x1b3fac,_0x1c9d03=window[_0x549dd6([0x44,0x61,0x74,0x65])][_0x549dd6([0x6e,0x6f,0x77])](),_0xd21d58=_0x165526[_0x549dd6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2723c1=new window[(_0x549dd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x377271=>{_0xd21d58[_0x549dd6([0x6f,0x6e,0x63,0x65])](_0x549dd6([0x72,0x65,0x61,0x64,0x79]),_0x377271);}),_0x5dd314={[_0x549dd6([0x6b,0x74,0x79])]:_0x549dd6([0x45,0x43]),[_0x549dd6([0x75,0x73,0x65])]:_0x549dd6([0x73,0x69,0x67]),[_0x549dd6([0x63,0x72,0x76])]:_0x549dd6([0x50,0x2d,0x32,0x35,0x36]),[_0x549dd6([0x78])]:_0x549dd6([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]),[_0x549dd6([0x79])]:_0x549dd6([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]),[_0x549dd6([0x61,0x6c,0x67])]:_0x549dd6([0x45,0x53,0x32,0x35,0x36])},_0x1947f2=_0xd21d58[_0x549dd6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x549dd6([0x67,0x65,0x74])](_0x549dd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe53d7(){let _0x260d93,_0x2e8175=null,_0x45edf8=null;try{if(_0x1947f2==_0x549dd6([0x47,0x50,0x4c]))return _0x549dd6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x260d93=_0x1f30ca(),!_0x260d93)return _0x549dd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x260d93[_0x549dd6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45edf8=_0x40fe7f(_0x260d93[_0x549dd6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x260d93[_0x549dd6([0x6a,0x74,0x69])])),await _0x44d6c8()?_0x144a20()?_0x1b2fcf()?_0x549dd6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4da802()?(_0x260d93[_0x549dd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x549dd6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e8175=_0x1e2b55(_0x549dd6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x260d93[_0x549dd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x549dd6([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e8175=_0x1e2b55(_0x549dd6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xf06108()):_0x549dd6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x549dd6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x549dd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x549dd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b2fcf(){const _0xef6196=[_0x549dd6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x549dd6([0x74,0x72,0x69,0x61,0x6c])][_0x549dd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260d93[_0x549dd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c9d03/0x3e8:0xe10*_0x55355f;return _0x260d93[_0x549dd6([0x65,0x78,0x70])]<_0xef6196;}function _0x144a20(){const _0x364b6c=_0x260d93[_0x549dd6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x364b6c&&(!!_0x364b6c[_0x549dd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549dd6([0x2a]))||!!_0x364b6c[_0x549dd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549dd6([0x4c,0x48])));}function _0x4da802(){const _0x25b9b6=_0x1367,_0x92b9d9=_0x260d93[_0x549dd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x92b9d9||0x0==_0x92b9d9[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf3812c}=new URL(window[_0x549dd6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x25b9b6(0xb6)]);if(_0x92b9d9[_0x549dd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf3812c))return!0x0;const _0x4e7072=_0xf3812c[_0x549dd6([0x73,0x70,0x6c,0x69,0x74])](_0x549dd6([0x2e]));return _0x92b9d9[_0x549dd6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36973c=>_0x36973c[_0x549dd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549dd6([0x2a])))[_0x549dd6([0x6d,0x61,0x70])](_0x406eb4=>_0x406eb4[_0x549dd6([0x73,0x70,0x6c,0x69,0x74])](_0x549dd6([0x2e])))[_0x549dd6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x490bed=>_0x490bed[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e7072[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x549dd6([0x6d,0x61,0x70])](_0x1614bf=>Array(_0x4e7072[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1614bf[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x549dd6([0x66,0x69,0x6c,0x6c])](_0x1614bf[0x0]===_0x549dd6([0x2a])?_0x549dd6([0x2a]):'')[_0x549dd6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1614bf))[_0x549dd6([0x73,0x6f,0x6d,0x65])](_0x5b6912=>_0x4e7072[_0x549dd6([0x65,0x76,0x65,0x72,0x79])]((_0x1954d8,_0x4f32e1)=>_0x5b6912[_0x4f32e1]===_0x1954d8||_0x5b6912[_0x4f32e1]===_0x549dd6([0x2a])));}function _0xf06108(){return _0x2e8175&&_0x45edf8?new window[(_0x549dd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f9d1b,_0x827f45)=>{_0x2e8175[_0x549dd6([0x74,0x68,0x65,0x6e])](_0x1f9d1b,_0x827f45),_0x45edf8[_0x549dd6([0x74,0x68,0x65,0x6e])](_0x370dfd=>{_0x370dfd!=_0x549dd6([0x56,0x61,0x6c,0x69,0x64])&&_0x1f9d1b(_0x370dfd);},_0x827f45);}):_0x2e8175||_0x45edf8||_0x549dd6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40fe7f(_0x4147d9,_0x20daa8){return new window[(_0x549dd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27e1b3=>{if(_0x5dea0c())return _0x27e1b3(_0x549dd6([0x56,0x61,0x6c,0x69,0x64]));_0x654c06(),_0xd21d58[_0x549dd6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x549dd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d55d6=!0x1;const _0x2df50f=_0x4fcf6a();function _0x2a8c0f(_0x5a730e){return!!_0x5a730e&&(typeof _0x5a730e===_0x549dd6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a730e===_0x549dd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a730e[_0x549dd6([0x74,0x68,0x65,0x6e])]===_0x549dd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a730e[_0x549dd6([0x63,0x61,0x74,0x63,0x68])]===_0x549dd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f4b09(_0x3f7890){_0x2453df(_0x3f7890)[_0x549dd6([0x74,0x68,0x65,0x6e])](_0xe22dc9=>{if(!_0xe22dc9||_0xe22dc9[_0x549dd6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x549dd6([0x6f,0x6b]))return _0x549dd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ce9df(_0x43c5d0(_0x2df50f+_0x20daa8))!=_0xe22dc9[_0x549dd6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x549dd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x549dd6([0x56,0x61,0x6c,0x69,0x64]);})[_0x549dd6([0x74,0x68,0x65,0x6e])](_0x308203=>(_0x2e7d3b(),_0x308203),()=>{const _0x2d4c3b=_0x3fbd18();return null==_0x2d4c3b?(_0x2e7d3b(),_0x549dd6([0x56,0x61,0x6c,0x69,0x64])):_0x549dd6(_0x1c9d03-_0x2d4c3b>(0x2ba65bb4^_0x1b3fac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x549dd6([0x74,0x68,0x65,0x6e])](_0x27e1b3)[_0x549dd6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27e1b3(_0x549dd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29f7b3=0xf9c3134^_0x1b3fac;function _0x2e7d3b(){const _0x5a6fe2=_0x549dd6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ce9df(_0x43c5d0(_0x4147d9)),_0x13497a=_0x38c07f(_0x1ce9df(window[_0x549dd6([0x4d,0x61,0x74,0x68])][_0x549dd6([0x63,0x65,0x69,0x6c])](_0x1c9d03/_0x29f7b3)));window[_0x549dd6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x549dd6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a6fe2,_0x13497a);}function _0x3fbd18(){const _0x5ae178=_0x549dd6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ce9df(_0x43c5d0(_0x4147d9)),_0x15f522=window[_0x549dd6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x549dd6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ae178);return _0x15f522?window[_0x549dd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38c07f(_0x15f522),0x10)*_0x29f7b3:null;}function _0x2453df(_0x55272a){return new window[(_0x549dd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f89f2,_0x5ad70f)=>{_0x55272a[_0x549dd6([0x74,0x68,0x65,0x6e])](_0x2f89f2,_0x5ad70f),window[_0x549dd6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ad70f,0xfab0b74^_0x1b3fac);});}}_0xd21d58[_0x549dd6([0x6f,0x6e])](_0x549dd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x37d034,_0x3ff4f4)=>{if(_0x3ff4f4[0x0]!=_0x4147d9)return _0x27e1b3(_0x549dd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ff4f4[0x1]={..._0x3ff4f4[0x1],[_0x549dd6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2df50f};},{[_0x549dd6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x549dd6([0x68,0x69,0x67,0x68])}),_0xd21d58[_0x549dd6([0x6f,0x6e])](_0x549dd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b8a91=>{_0x2a8c0f(_0x1b8a91[_0x549dd6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d55d6=!0x0,_0x4f4b09(_0x1b8a91[_0x549dd6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x549dd6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x549dd6([0x6c,0x6f,0x77])}),_0x2723c1[_0x549dd6([0x74,0x68,0x65,0x6e])](()=>{_0x2d55d6||_0x27e1b3(_0x549dd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5dea0c(){return _0xd21d58[_0x549dd6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x549dd6([0x76,0x69,0x65,0x77])][_0x549dd6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x549dd6([0x61,0x75,0x74,0x6f]);}function _0x654c06(){_0xd21d58[_0x549dd6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x549dd6([0x76,0x69,0x65,0x77])][_0x549dd6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x549dd6([0x61,0x75,0x74,0x6f]);}}function _0x1e2b55(_0x6cb990){const _0xe05db6=[new window[(_0x549dd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37a87f=>setTimeout(_0x37a87f,0xfa3e178^_0x1b3fac)),_0x2723c1[_0x549dd6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x549dd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f4528=>{let _0x568d5c=0x0;_0xd21d58[_0x549dd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x549dd6([0x6f,0x6e])](_0x549dd6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x528792,_0xc0b650)=>{_0xc0b650[0x0][_0x549dd6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x568d5c++,_0x568d5c==(0xfaade4c^_0x1b3fac)&&(_0x3f4528(),_0x528792[_0x549dd6([0x6f,0x66,0x66])]());});}))];return window[_0x549dd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x549dd6([0x72,0x61,0x63,0x65])](_0xe05db6)[_0x549dd6([0x74,0x68,0x65,0x6e])](()=>_0x6cb990);}async function _0x4ec94b(){await _0x2723c1,_0xd21d58[_0x549dd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x549dd6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57a5a6,_0xd21d58[_0x549dd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x549dd6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57a5a6,_0xd21d58[_0x549dd6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x549dd6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40d8c(_0x43c09d){const _0x502990=_0x4f0c16();_0xd21d58[_0x502990]=_0x549dd6([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43c09d,_0x43c09d!=_0x549dd6([0x56,0x61,0x6c,0x69,0x64])&&_0x4ec94b();}function _0x4f0c16(){const _0x3a02ce=window[_0x549dd6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x549dd6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x549dd6([0x6e,0x6f,0x77])]())[_0x549dd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x549dd6([0x2e]),'');let _0x565088=_0x549dd6([0x4b]);for(let _0x417374=0x0;_0x417374<_0x3a02ce[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x417374+=0x2){let _0x23be2f=window[_0x549dd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a02ce[_0x549dd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x417374,_0x417374+0x2));_0x23be2f>=_0x50f914[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23be2f-=_0x50f914[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x565088+=_0x50f914[_0x23be2f];}return _0x565088;}function _0x1f30ca(){const _0x465911=_0x1947f2[_0x549dd6([0x73,0x70,0x6c,0x69,0x74])](_0x549dd6([0x2e]));if(0x3!=_0x465911[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1752e4(_0x465911[0x1]);function _0x1752e4(_0x2459ba){const _0x49e3c6=_0x38329e(_0x2459ba);return _0x49e3c6&&_0x2eb7b0()?_0x49e3c6:null;function _0x2eb7b0(){const _0x1dca2c=_0x49e3c6[_0x549dd6([0x6a,0x74,0x69])],_0x500760=window[_0x549dd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dca2c[_0x549dd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dca2c[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xac8861={..._0x49e3c6,[_0x549dd6([0x6a,0x74,0x69])]:_0x1dca2c[_0x549dd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1dca2c[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xac8861[_0x549dd6([0x76,0x63])],_0x43c5d0(_0xac8861)==_0x500760;}}}async function _0x44d6c8(){let _0x81d1c1=!0x0;try{const _0x141a1d=_0x1947f2[_0x549dd6([0x73,0x70,0x6c,0x69,0x74])](_0x549dd6([0x2e])),[_0x3ea4c7,_0x58b1f1,_0x23bedd]=_0x141a1d;return _0x113e3a(_0x3ea4c7),await _0x23e78d(_0x3ea4c7,_0x58b1f1,_0x23bedd),_0x81d1c1;}catch{return!0x1;}function _0x113e3a(_0x18963d){const _0x1ebb73=_0x38329e(_0x18963d);_0x1ebb73&&_0x1ebb73[_0x549dd6([0x61,0x6c,0x67])]==_0x549dd6([0x45,0x53,0x32,0x35,0x36])||(_0x81d1c1=!0x1);}async function _0x23e78d(_0xce6b82,_0x314955,_0x86ab22){const _0x31273e=window[_0x549dd6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x549dd6([0x66,0x72,0x6f,0x6d])](_0x2af5e6(_0x86ab22),_0x3e672d=>_0x3e672d[_0x549dd6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2259f8=new window[(_0x549dd6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x549dd6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xce6b82+_0x549dd6([0x2e])+_0x314955),_0x2e207f=window[_0x549dd6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x549dd6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e207f)return;const _0x8e0a29=await _0x2e207f[_0x549dd6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x549dd6([0x6a,0x77,0x6b]),_0x5dd314,{[_0x549dd6([0x6e,0x61,0x6d,0x65])]:_0x549dd6([0x45,0x43,0x44,0x53,0x41]),[_0x549dd6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x549dd6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x549dd6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e207f[_0x549dd6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x549dd6([0x6e,0x61,0x6d,0x65])]:_0x549dd6([0x45,0x43,0x44,0x53,0x41]),[_0x549dd6([0x68,0x61,0x73,0x68])]:{[_0x549dd6([0x6e,0x61,0x6d,0x65])]:_0x549dd6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8e0a29,_0x31273e,_0x2259f8)||(_0x81d1c1=!0x1);}}function _0x38329e(_0x5d30ea){return _0x5d30ea[_0x549dd6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x549dd6([0x65,0x79]))?JSON[_0x549dd6([0x70,0x61,0x72,0x73,0x65])](_0x2af5e6(_0x5d30ea)):null;}function _0x2af5e6(_0x378929){return window[_0x549dd6([0x61,0x74,0x6f,0x62])](_0x378929[_0x549dd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x549dd6([0x2b]))[_0x549dd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x549dd6([0x2f])));}function _0x43c5d0(_0x2f2587){let _0x58ab7d=0x1505;function _0xc1b696(_0x4db3ea){for(let _0x3ce578=0x0;_0x3ce578<_0x4db3ea[_0x549dd6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ce578++){const _0x5e12b3=_0x4db3ea[_0x549dd6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ce578);_0x58ab7d=(_0x58ab7d<<0x5)+_0x58ab7d+_0x5e12b3,_0x58ab7d&=_0x58ab7d;}}function _0x249801(_0x46721d){Array[_0x549dd6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46721d)?_0x46721d[_0x549dd6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x249801):_0x46721d&&typeof _0x46721d==_0x549dd6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x549dd6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46721d)[_0x549dd6([0x73,0x6f,0x72,0x74])]()[_0x549dd6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f0f24,_0x25f77a])=>{_0xc1b696(_0x2f0f24),_0x249801(_0x25f77a);}):_0xc1b696(window[_0x549dd6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46721d));}return _0x249801(_0x2f2587),_0x58ab7d>>>0x0;}function _0x1ce9df(_0x3f192c){return _0x3f192c[_0x549dd6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x549dd6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x549dd6([0x30]));}function _0x38c07f(_0x4aeead){return _0x4aeead[_0x549dd6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x549dd6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x549dd6([0x6a,0x6f,0x69,0x6e])]('');}function _0x57a5a6(){}function _0x549dd6(_0x5b3b5c){const _0xc82d35=_0x1367;return _0x5b3b5c[_0xc82d35(0xbe)](_0x444d64=>String[_0xc82d35(0xa8)](_0x444d64))[_0xc82d35(0xb8)]('');}_0x40d8c(await _0xe53d7());}(this);}[_0xf4ca8f(0xcb)](){const _0x1f81b1=_0xf4ca8f,_0x2ca860=this[_0x1f81b1(0xb0)];if(!_0x2ca860[_0x1f81b1(0xad)][_0x1f81b1(0xc2)](_0x1f81b1(0xc1)))return;const _0x50b41f=_0x2ca860[_0x1f81b1(0xad)][_0x1f81b1(0xc2)](_0x1f81b1(0xb5))[_0x1f81b1(0xb4)](_0x2f4928=>_0x1f81b1(0xb7)==typeof _0x2f4928&&(!_0x3bfbd9(_0x2f4928)&&isNaN(Number(_0x2f4928))));if(_0x50b41f[_0x1f81b1(0xcd)])throw new _0x1dcf1a(_0x1f81b1(0xc3),null,{'namedPresets':_0x50b41f});}[_0xf4ca8f(0xa9)](){const _0x182ea4=_0xf4ca8f,_0x3bccbf=this[_0x182ea4(0xb0)],_0x25c5ee=this[_0x182ea4(0xb0)][_0x182ea4(0xad)][_0x182ea4(0xc2)](_0x182ea4(0xc4));_0x3bccbf[_0x182ea4(0xc8)][_0x182ea4(0xaa)](_0x182ea4(0xaf))[_0x182ea4(0xc5)]({'model':{'key':_0x182ea4(0xcf)},'view':_0x1bb405=>String(_0x1bb405)===String(_0x25c5ee)?null:{'key':_0x182ea4(0xd7),'value':{'line-height':_0x1bb405}}}),_0x3bccbf[_0x182ea4(0xc8)][_0x182ea4(0xaa)](_0x182ea4(0xd6))[_0x182ea4(0xc5)]({'model':{'key':_0x182ea4(0xcf),'value':_0x41af56=>{const _0xc54f1d=_0x182ea4;let _0x10421b=_0x41af56[_0xc54f1d(0xab)](_0xc54f1d(0xd1));return _0x4da690(_0x10421b)&&(_0x10421b=String(Number(_0x10421b[_0xc54f1d(0xa4)](0x0,-0x1))/0x64)),String(_0x10421b)===String(_0x25c5ee)?null:_0x10421b;}},'view':{'styles':{'line-height':/.*/}}});}[_0xf4ca8f(0xbc)](){const _0x1dd3d2=_0xf4ca8f,_0x26ca05=this[_0x1dd3d2(0xb0)],_0x5ad86c=this[_0x1dd3d2(0xb0)][_0x1dd3d2(0xad)][_0x1dd3d2(0xc2)](_0x1dd3d2(0xc4)),_0x42a6e4=_0x361b9e(this[_0x1dd3d2(0xb0)][_0x1dd3d2(0xad)][_0x1dd3d2(0xc2)](_0x1dd3d2(0xcf)))[_0x1dd3d2(0xb4)](_0x1ca5cd=>_0x1ca5cd[_0x1dd3d2(0xd0)]),_0x9a9fd1=_0xe9f964(_0x1dd3d2(0xcf),_0x42a6e4);_0x26ca05[_0x1dd3d2(0xc8)][_0x1dd3d2(0xc5)](_0x9a9fd1),_0x26ca05[_0x1dd3d2(0xc8)][_0x1dd3d2(0xaa)](_0x1dd3d2(0xd6))[_0x1dd3d2(0xc5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1dd3d2(0xcf),'value':_0x4bf05d=>{const _0x1230bb=_0x1dd3d2;let _0xdb6197=_0x4bf05d[_0x1230bb(0xab)](_0x1230bb(0xd1));return _0x4da690(_0xdb6197)&&(_0xdb6197=String(Number(_0xdb6197[_0x1230bb(0xa4)](0x0,-0x1))/0x64)),_0xdb6197===String(_0x5ad86c)?null:_0x9a9fd1[_0x1230bb(0xd0)][_0x1230bb(0xbb)][_0x1230bb(0xb3)](_0xdb6197)?_0xdb6197:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x430bd2}from'ckeditor5/src/core.js';import{addListToDropdown as _0xad5c52,createDropdown as _0x2b4665,MenuBarMenuListItemButtonView as _0x2360ad,MenuBarMenuListItemView as _0x2142eb,MenuBarMenuListView as _0x5b2e30,MenuBarMenuView as _0x3dfc73,UIModel as _0x413500}from'ckeditor5/src/ui.js';import{Collection as _0x45240d}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x355f53}from'ckeditor5/src/icons.js';import{normalizeOptions as _0xdf2fd4}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x430bd2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2cc3ea={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2cc3ea),this['_registerMenuBarComponent'](_0x2cc3ea),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x40cdfa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc7ce21;for(const _0x15d5de in _0x40cdfa){const _0x23c5ae=_0x15d5de,_0x126239=_0x40cdfa[_0x23c5ae];if('lineHeightLicenseKeyValid'==_0x126239||'lineHeightLicenseKeyInvalid'==_0x126239||'lineHeightLicenseKeyExpired'==_0x126239||'lineHeightLicenseKeyDomainLimit'==_0x126239||'lineHeightLicenseKeyNotAllowed'==_0x126239||'lineHeightLicenseKeyEvaluationLimit'==_0x126239||'lineHeightLicenseKeyTrialLimit'==_0x126239||'lineHeightLicenseKeyUsageLimit'==_0x126239){delete _0x40cdfa[_0x23c5ae],_0xc7ce21=_0x126239,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xc7ce21&&_0x40cdfa['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xc7ce21&&_0x40cdfa['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xc7ce21&&_0x40cdfa['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xc7ce21&&_0x40cdfa['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xc7ce21&&_0x40cdfa['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xc7ce21&&_0x40cdfa['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xc7ce21&&_0x40cdfa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x8d1b04=this['editor'],t=_0x8d1b04['t'],_0x35531d=_0x8d1b04['config']['get']('lineHeight'),_0x2f8a2a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0xdf2fd4(_0x35531d)['map'](_0x4e843f=>{const _0x47da3e=_0x2f8a2a[_0x4e843f['title']];return _0x47da3e&&_0x47da3e!=_0x4e843f['title']&&(_0x4e843f=Object['assign']({},_0x4e843f,{'title':_0x47da3e})),_0x4e843f;});}['_prepareListOptions'](){const _0x4d33ab=this['editor']['commands']['get']('lineHeight'),_0x4b0421=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2b2ac3=this['_getLocalizedLineHeightOptions'](),_0x5188f6=new _0x45240d(),_0x245bb0=_0x3e04d1=>'default'===_0x3e04d1||String(_0x4b0421)===_0x3e04d1;for(const _0x1c5a91 of _0x2b2ac3){const _0x148b61={'type':'button','model':new _0x413500({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x1c5a91['title'],'withText':!0x0})};_0x245bb0(_0x1c5a91['model'])?(_0x148b61['model']['bind']('isOn')['to'](_0x4d33ab,'value',_0x47eaa0=>!_0x47eaa0),_0x148b61['model']['commandParam']=void 0x0):(_0x148b61['model']['bind']('isOn')['to'](_0x4d33ab,'value',_0xa6114c=>_0xa6114c===_0x1c5a91['model']),_0x148b61['model']['commandParam']=_0x1c5a91['model']),_0x5188f6['add'](_0x148b61);}if(this['_shouldRenderCustomValueOption']()){const _0x46602f=this['_getCustomValueOptionDefinition'](_0x2b2ac3);_0x5188f6['add'](_0x46602f);}return _0x5188f6;}['_getCustomValueOptionDefinition'](_0x536f25){const _0x52b3e1=this['editor'],t=_0x52b3e1['t'],_0x5e4f90=_0x52b3e1['commands']['get']('lineHeight'),_0xda464c=_0x536f25['map'](_0x69bc6e=>_0x69bc6e['model']),_0x4b2818={'type':'button','model':new _0x413500({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4b2818['model']['bind']('commandParam')['to'](_0x5e4f90,'value'),_0x4b2818['model']['bind']('isOn')['to'](_0x5e4f90,'value',_0x4ffcf5=>!!_0x4ffcf5&&!_0xda464c['includes'](String(_0x4ffcf5))),_0x4b2818['model']['bind']('label')['to'](_0x5e4f90,'value',_0x401c9e=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x401c9e))),_0x4b2818;}['_registerToolbarComponent']({accessibleLabel:_0x195e18,options:_0x1531f0}){const _0x266f9d=this['editor'],_0x5441b1=_0x266f9d['commands']['get']('lineHeight');_0x266f9d['ui']['componentFactory']['add']('lineHeight',_0x96e46c=>{const _0x50fb97=_0x2b4665(_0x96e46c);return _0xad5c52(_0x50fb97,_0x1531f0,{'role':'menu','ariaLabel':_0x195e18}),_0x50fb97['buttonView']['set']({'label':_0x195e18,'tooltip':!0x0,'icon':_0x355f53}),_0x50fb97['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x50fb97['bind']('isEnabled')['to'](_0x5441b1),this['listenTo'](_0x50fb97,'execute',_0x1d08f8=>{_0x266f9d['execute'](_0x1d08f8['source']['commandName'],{'value':_0x1d08f8['source']['commandParam']}),_0x266f9d['editing']['view']['focus']();}),_0x50fb97['once']('change:isOpen',()=>{const _0x3fcb42=_0x50fb97['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x50fb97,_0x1531f0,_0x3fcb42);}),_0x50fb97;});}['_registerMenuBarComponent']({accessibleLabel:_0x1b0ebf,options:_0xc0767a}){const _0x507973=this['editor'],_0x39a69a=_0x507973['commands']['get']('lineHeight');_0x507973['ui']['componentFactory']['add']('menuBar:lineHeight',_0xa4db0=>{const _0x3878e1=new _0x3dfc73(_0xa4db0);_0x3878e1['buttonView']['set']({'label':_0x1b0ebf,'icon':_0x355f53}),_0x3878e1['bind']('isEnabled')['to'](_0x39a69a);const _0x1da140=new _0x5b2e30(_0xa4db0);for(const _0x4f06b1 of _0xc0767a){const _0x37e43f=new _0x2142eb(_0xa4db0,_0x3878e1),_0x14acc8=new _0x2360ad(_0xa4db0);_0x14acc8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x14acc8['bind'](...Object['keys'](_0x4f06b1['model']))['to'](_0x4f06b1['model']),_0x14acc8['delegate']('execute')['to'](_0x3878e1),_0x14acc8['on']('execute',()=>{_0x507973['execute'](_0x4f06b1['model']['commandName'],{'value':_0x4f06b1['model']['commandParam']}),_0x507973['editing']['view']['focus']();}),_0x37e43f['children']['add'](_0x14acc8),_0x1da140['items']['add'](_0x37e43f);}return _0x3878e1['panelView']['children']['add'](_0x1da140),this['_attachCustomOptionVisibilityHandler'](_0x3878e1,_0xc0767a,_0x1da140),_0x3878e1;});}['_attachCustomOptionVisibilityHandler'](_0x1b74a7,_0x323ef3,_0x568d11){if(!this['_shouldRenderCustomValueOption']())return;const _0xa61fba=()=>{if(!_0x1b74a7['isOpen'])return;_0x568d11['items']['last']['isVisible']=Boolean(_0x323ef3['last']['model']['isOn']);};_0xa61fba(),_0x1b74a7['on']('change:isOpen',()=>{_0xa61fba();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3617a8,_0x567622){const _0x56ad8c=_0x5ebd,_0x1c5bb0=_0x3617a8();while(!![]){try{const _0xf77d5a=-parseInt(_0x56ad8c(0xdd))/0x1*(-parseInt(_0x56ad8c(0xe8))/0x2)+-parseInt(_0x56ad8c(0xee))/0x3*(parseInt(_0x56ad8c(0xe6))/0x4)+-parseInt(_0x56ad8c(0xf6))/0x5*(parseInt(_0x56ad8c(0xfa))/0x6)+parseInt(_0x56ad8c(0xf7))/0x7+parseInt(_0x56ad8c(0xec))/0x8*(-parseInt(_0x56ad8c(0xf4))/0x9)+-parseInt(_0x56ad8c(0xe2))/0xa*(-parseInt(_0x56ad8c(0xe7))/0xb)+parseInt(_0x56ad8c(0xdc))/0xc;if(_0xf77d5a===_0x567622)break;else _0x1c5bb0['push'](_0x1c5bb0['shift']());}catch(_0xebbcec){_0x1c5bb0['push'](_0x1c5bb0['shift']());}}}(_0x2568,0x72d6e));const v={get 'single'(){const _0x341241=_0x5ebd;return{'title':_0x341241(0xf8),'model':_0x341241(0xe3),'view':{'key':_0x341241(0xf1),'value':_0x341241(0xf3)}};},get 'double'(){const _0xf1d650=_0x5ebd;return{'title':_0xf1d650(0xfd),'model':_0xf1d650(0xf0),'view':{'key':_0xf1d650(0xf1),'value':_0xf1d650(0xe1)}};}};function _0x5ebd(_0x5aa979,_0x5c39ad){const _0x2568e8=_0x2568();return _0x5ebd=function(_0x5ebd81,_0x5a78a1){_0x5ebd81=_0x5ebd81-0xda;let _0xfed0fe=_0x2568e8[_0x5ebd81];return _0xfed0fe;},_0x5ebd(_0x5aa979,_0x5c39ad);}export function isLineHeightDefaultValue(_0x26edcb){const _0x5f4d3a=_0x5ebd;return _0x5f4d3a(0xde)==typeof _0x26edcb&&_0x5f4d3a(0xf9)===_0x26edcb[_0x5f4d3a(0xef)]();}export function normalizeOptions(_0x5347db){const _0x24ee74=_0x5ebd;return _0x5347db[_0x24ee74(0xe9)][_0x24ee74(0xe4)](_0x32ce81=>isLineHeightDefaultValue(_0x32ce81)?{'title':String(_0x5347db[_0x24ee74(0xe5)]),'model':_0x24ee74(0xf9)}:(_0x24ee74(0xdf)==typeof _0x32ce81&&(_0x32ce81=String(_0x32ce81)),_0x24ee74(0xde)!=typeof _0x32ce81?_0x32ce81:parseFloat(_0x32ce81)?{'title':_0x32ce81,'model':_0x32ce81,'view':{'name':_0x24ee74(0xf5),'styles':{'line-height':_0x32ce81}}}:findPreset(_0x32ce81)))[_0x24ee74(0xe0)](_0x3f7b37=>void 0x0!==_0x3f7b37);}function _0x2568(){const _0x2b7a9d=['759912oqgvwB','77715zuhjqt','4CaEfrv','options','values','style','96kvoZEE','key','9ulCMzL','toLowerCase','double','class','push','line-height-single','3411EQmUhd','span','1162445mrrWFS','4724881KFEqPR','Single','default','18BbbNUJ','line-height:','value','Double','model','view','8921268yApOcX','123097ZyJkqm','string','number','filter','line-height-double','110UxEifN','single','map','defaultValue'];_0x2568=function(){return _0x2b7a9d;};return _0x2568();}export function findPreset(_0x37d017){const _0x374e62=_0x5ebd;return _0x374e62(0xde)==typeof _0x37d017?v[_0x37d017]:v[_0x37d017[_0x374e62(0xda)]];}export function buildDefinition(_0x21521a,_0x51fc5e){const _0x284167=_0x5ebd,_0x299130={'model':{'key':_0x21521a,'values':[]},'view':{}};for(const _0x158954 of _0x51fc5e)_0x284167(0xf1)===_0x158954[_0x284167(0xdb)]?.[_0x284167(0xed)]?(_0x299130[_0x284167(0xda)][_0x284167(0xea)][_0x284167(0xf2)](_0x158954[_0x284167(0xda)]),_0x299130[_0x284167(0xdb)][_0x158954[_0x284167(0xda)]]={'key':_0x284167(0xf1),'value':_0x158954[_0x284167(0xdb)][_0x284167(0xfc)]}):(_0x299130[_0x284167(0xda)][_0x284167(0xea)][_0x284167(0xf2)](_0x158954[_0x284167(0xda)]),_0x299130[_0x284167(0xdb)][_0x158954[_0x284167(0xda)]]={'key':_0x284167(0xeb),'value':_0x284167(0xfb)+_0x158954[_0x284167(0xda)]+';'});return _0x299130;}
|