@ckeditor/ckeditor5-line-height 46.1.1-alpha.2 → 46.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x420568=_0x5258;(function(_0x5c9454,_0x10505b){const _0x2cd124=_0x5258,_0x30574f=_0x5c9454();while(!![]){try{const _0x5e27c6=parseInt(_0x2cd124(0x1a8))/0x1+parseInt(_0x2cd124(0x1a1))/0x2+parseInt(_0x2cd124(0x19d))/0x3+-parseInt(_0x2cd124(0x19b))/0x4*(parseInt(_0x2cd124(0x19a))/0x5)+parseInt(_0x2cd124(0x196))/0x6+parseInt(_0x2cd124(0x197))/0x7+parseInt(_0x2cd124(0x199))/0x8*(-parseInt(_0x2cd124(0x19e))/0x9);if(_0x5e27c6===_0x10505b)break;else _0x30574f['push'](_0x30574f['shift']());}catch(_0x306381){_0x30574f['push'](_0x30574f['shift']());}}}(_0x1da7,0x4e1b5));function _0x5258(_0x33e478,_0x8af15f){const _0x1da718=_0x1da7();return _0x5258=function(_0x5258b5,_0x9a3594){_0x5258b5=_0x5258b5-0x194;let _0x28100b=_0x1da718[_0x5258b5];return _0x28100b;},_0x5258(_0x33e478,_0x8af15f);}import{Command as _0x3f4283}from'ckeditor5/src/core.js';function _0x1da7(){const _0xaeb24e=['removeAttribute','504354FTCjeP','document','selection','_canHaveLineHeight','isEnabled','filter','refresh','58720XHRPXk','checkAttribute','lineHeight','execute','getSelectedBlocks','setAttribute','value','editor','getAttribute','change','2270502XpseGc','3968664aYgdmr','model','24632kLMEoe','320630EugUyc','12IeEsdu','from','1767732GeXhzl','3897LejdPQ','schema'];_0x1da7=function(){return _0xaeb24e;};return _0x1da7();}import{first as _0x2dea52}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3f4283{[_0x420568(0x1a7)](){const _0x5a81cc=_0x420568,_0x2d1799=this[_0x5a81cc(0x1af)][_0x5a81cc(0x198)][_0x5a81cc(0x1a2)],_0x597b2f=_0x2dea52(_0x2d1799[_0x5a81cc(0x1a3)][_0x5a81cc(0x1ac)]());this[_0x5a81cc(0x1a5)]=Boolean(_0x597b2f)&&this[_0x5a81cc(0x1a4)](_0x597b2f),this[_0x5a81cc(0x1ae)]=this[_0x5a81cc(0x1a5)]&&_0x597b2f[_0x5a81cc(0x194)](_0x5a81cc(0x1aa));}[_0x420568(0x1ab)](_0x563ddd={}){const _0x1bd052=_0x420568,_0x11f212=this[_0x1bd052(0x1af)][_0x1bd052(0x198)],_0x6b25dd=_0x11f212[_0x1bd052(0x1a2)][_0x1bd052(0x1a3)],_0x2f7280=_0x563ddd[_0x1bd052(0x1ae)];_0x11f212[_0x1bd052(0x195)](_0x5988e6=>{const _0x180901=_0x1bd052,_0x55536f=Array[_0x180901(0x19c)](_0x6b25dd[_0x180901(0x1ac)]())[_0x180901(0x1a6)](_0x3273d5=>this[_0x180901(0x1a4)](_0x3273d5));for(const _0x3e8d45 of _0x55536f)_0x2f7280?_0x5988e6[_0x180901(0x1ad)](_0x180901(0x1aa),_0x2f7280,_0x3e8d45):_0x5988e6[_0x180901(0x1a0)](_0x180901(0x1aa),_0x3e8d45);});}[_0x420568(0x1a4)](_0x1220ce){const _0x1bc1b2=_0x420568;return this[_0x1bc1b2(0x1af)][_0x1bc1b2(0x198)][_0x1bc1b2(0x19f)][_0x1bc1b2(0x1a9)](_0x1220ce,_0x1bc1b2(0x1aa));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x10cb(){const _0x40f6e7=['_validateConfig','extend','6wmjJsP','pluginName','href','attributeToAttribute','editor','values','lineHeight','map','join','1012348EJCreO','isPremiumPlugin','get','lineHeight.defaultValue','isOfficialPlugin','default','define','975591tHPGVN','style','466048rVduDW','setAttributeProperties','getStyle','downcast','$block','2499175SBQqre','afterInit','fromCharCode','conversion','for','397737HuFgbG','config','init','_preparePredefinedConverters','_prepareAnyValueConverters','LineHeightEditing','line-height','1YBykMo','1417003FhBhJH','lineHeight.options','lineHeight.supportAllValues','5491312pXbHuQ','model','filter','slice','line-height-invalid-use-of-named-presets','includes','string','schema','length','add','commands','upcast'];_0x10cb=function(){return _0x40f6e7;};return _0x10cb();}const _0x2bd8cb=_0x463a;(function(_0xb52eeb,_0x50222c){const _0x455727=_0x463a,_0x1ac74a=_0xb52eeb();while(!![]){try{const _0x2b0e02=-parseInt(_0x455727(0x1a0))/0x1*(-parseInt(_0x455727(0x186))/0x2)+-parseInt(_0x455727(0x199))/0x3+-parseInt(_0x455727(0x18f))/0x4+parseInt(_0x455727(0x194))/0x5+parseInt(_0x455727(0x17d))/0x6*(parseInt(_0x455727(0x1a1))/0x7)+-parseInt(_0x455727(0x1a4))/0x8+parseInt(_0x455727(0x18d))/0x9;if(_0x2b0e02===_0x50222c)break;else _0x1ac74a['push'](_0x1ac74a['shift']());}catch(_0xed48b0){_0x1ac74a['push'](_0x1ac74a['shift']());}}}(_0x10cb,0x5d194));import{Plugin as _0x27fa61}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xc6abd5}from'./lineheightcommand.js';function _0x463a(_0x278ef7,_0x552490){const _0x10cbcc=_0x10cb();return _0x463a=function(_0x463a00,_0x73d55d){_0x463a00=_0x463a00-0x178;let _0x5109b4=_0x10cbcc[_0x463a00];return _0x5109b4;},_0x463a(_0x278ef7,_0x552490);}import{isPercentageStyleValue as _0x3146a1}from'ckeditor5/src/engine.js';import{uid as _0x557bba,CKEditorError as _0x5a3f0a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2406c1,isLineHeightDefaultValue as _0x173d66,normalizeOptions as _0x4bb654}from'./utils.js';export class LineHeightEditing extends _0x27fa61{static get[_0x2bd8cb(0x17e)](){const _0x5dfc5f=_0x2bd8cb;return _0x5dfc5f(0x19e);}static get[_0x2bd8cb(0x18a)](){return!0x0;}static get[_0x2bd8cb(0x187)](){return!0x0;}constructor(_0x1e9f5e){const _0xdfd0fa=_0x2bd8cb;super(_0x1e9f5e),_0x1e9f5e[_0xdfd0fa(0x19a)][_0xdfd0fa(0x18c)](_0xdfd0fa(0x183),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xdfd0fa(0x18b),0x2,2.5,0x3]});}[_0x2bd8cb(0x19b)](){const _0xca7372=_0x2bd8cb,_0x2f786a=this[_0xca7372(0x181)];this[_0xca7372(0x17b)](),_0x2f786a[_0xca7372(0x1a5)][_0xca7372(0x1ab)][_0xca7372(0x17c)](_0xca7372(0x193),{'allowAttributes':_0xca7372(0x183)}),_0x2f786a[_0xca7372(0x1a5)][_0xca7372(0x1ab)][_0xca7372(0x190)](_0xca7372(0x183),{'isFormatting':!0x0}),_0x2f786a[_0xca7372(0x179)][_0xca7372(0x178)](_0xca7372(0x183),new _0xc6abd5(_0x2f786a)),this[_0xca7372(0x181)][_0xca7372(0x19a)][_0xca7372(0x188)](_0xca7372(0x1a3))?this[_0xca7372(0x19d)]():this[_0xca7372(0x19c)]();}[_0x2bd8cb(0x195)](){!async function(_0x9899cb){const _0x185912=_0x17e347([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]),_0x3387a2=0x4597e011,_0x1057d2=0x45909349^_0x3387a2,_0x1b5581=window[_0x17e347([0x44,0x61,0x74,0x65])][_0x17e347([0x6e,0x6f,0x77])](),_0xd0869f=_0x9899cb[_0x17e347([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x193865=new window[(_0x17e347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a2cce=>{_0xd0869f[_0x17e347([0x6f,0x6e,0x63,0x65])](_0x17e347([0x72,0x65,0x61,0x64,0x79]),_0x1a2cce);}),_0xd57e33={[_0x17e347([0x6b,0x74,0x79])]:_0x17e347([0x45,0x43]),[_0x17e347([0x75,0x73,0x65])]:_0x17e347([0x73,0x69,0x67]),[_0x17e347([0x63,0x72,0x76])]:_0x17e347([0x50,0x2d,0x32,0x35,0x36]),[_0x17e347([0x78])]:_0x17e347([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]),[_0x17e347([0x79])]:_0x17e347([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]),[_0x17e347([0x61,0x6c,0x67])]:_0x17e347([0x45,0x53,0x32,0x35,0x36])},_0x2f5b0f=_0xd0869f[_0x17e347([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17e347([0x67,0x65,0x74])](_0x17e347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ebeda(){let _0x1f4020,_0x3d9f6a=null,_0x153e6c=null;try{if(_0x2f5b0f==_0x17e347([0x47,0x50,0x4c]))return _0x17e347([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f4020=_0x4f0543(),!_0x1f4020)return _0x17e347([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f4020[_0x17e347([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x153e6c=_0x635879(_0x1f4020[_0x17e347([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f4020[_0x17e347([0x6a,0x74,0x69])])),await _0x5c4a95()?_0x3e5ac1()?_0x314620()?_0x17e347([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x315198()?(_0x1f4020[_0x17e347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17e347([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d9f6a=_0x979ddb(_0x17e347([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1f4020[_0x17e347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17e347([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d9f6a=_0x979ddb(_0x17e347([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33c159()):_0x17e347([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17e347([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17e347([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17e347([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x314620(){const _0x4ec3b8=[_0x17e347([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17e347([0x74,0x72,0x69,0x61,0x6c])][_0x17e347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4020[_0x17e347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b5581/0x3e8:0xe10*_0x1057d2;return _0x1f4020[_0x17e347([0x65,0x78,0x70])]<_0x4ec3b8;}function _0x3e5ac1(){const _0x1dab7c=_0x1f4020[_0x17e347([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1dab7c&&(!!_0x1dab7c[_0x17e347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17e347([0x2a]))||!!_0x1dab7c[_0x17e347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17e347([0x4c,0x48])));}function _0x315198(){const _0x2a3f15=_0x463a,_0x8bc6e9=_0x1f4020[_0x17e347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8bc6e9||0x0==_0x8bc6e9[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x113c9e}=new URL(window[_0x17e347([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a3f15(0x17f)]);if(_0x8bc6e9[_0x17e347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113c9e))return!0x0;const _0x580e75=_0x113c9e[_0x17e347([0x73,0x70,0x6c,0x69,0x74])](_0x17e347([0x2e]));return _0x8bc6e9[_0x17e347([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x591ab4=>_0x591ab4[_0x17e347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17e347([0x2a])))[_0x17e347([0x6d,0x61,0x70])](_0x3a43a8=>_0x3a43a8[_0x17e347([0x73,0x70,0x6c,0x69,0x74])](_0x17e347([0x2e])))[_0x17e347([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x531021=>_0x531021[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x580e75[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17e347([0x6d,0x61,0x70])](_0xf3fefb=>Array(_0x580e75[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf3fefb[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17e347([0x66,0x69,0x6c,0x6c])](_0xf3fefb[0x0]===_0x17e347([0x2a])?_0x17e347([0x2a]):'')[_0x17e347([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf3fefb))[_0x17e347([0x73,0x6f,0x6d,0x65])](_0x130fad=>_0x580e75[_0x17e347([0x65,0x76,0x65,0x72,0x79])]((_0x26ece7,_0x72adb9)=>_0x130fad[_0x72adb9]===_0x26ece7||_0x130fad[_0x72adb9]===_0x17e347([0x2a])));}function _0x33c159(){return _0x3d9f6a&&_0x153e6c?new window[(_0x17e347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdd4cf2,_0x31da1f)=>{_0x3d9f6a[_0x17e347([0x74,0x68,0x65,0x6e])](_0xdd4cf2,_0x31da1f),_0x153e6c[_0x17e347([0x74,0x68,0x65,0x6e])](_0x392ba5=>{_0x392ba5!=_0x17e347([0x56,0x61,0x6c,0x69,0x64])&&_0xdd4cf2(_0x392ba5);},_0x31da1f);}):_0x3d9f6a||_0x153e6c||_0x17e347([0x56,0x61,0x6c,0x69,0x64]);}}function _0x635879(_0x176ec4,_0x5c2992){return new window[(_0x17e347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43ce61=>{if(_0x4d958d())return _0x43ce61(_0x17e347([0x56,0x61,0x6c,0x69,0x64]));_0xf1cff6(),_0xd0869f[_0x17e347([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17e347([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e3651=!0x1;const _0x5b0c9e=_0x557bba();function _0x2ecf9f(_0x17ac1f){return!!_0x17ac1f&&(typeof _0x17ac1f===_0x17e347([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17ac1f===_0x17e347([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17ac1f[_0x17e347([0x74,0x68,0x65,0x6e])]===_0x17e347([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17ac1f[_0x17e347([0x63,0x61,0x74,0x63,0x68])]===_0x17e347([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b595a(_0x285fa3){_0x44ccc7(_0x285fa3)[_0x17e347([0x74,0x68,0x65,0x6e])](_0x3791e6=>{if(!_0x3791e6||_0x3791e6[_0x17e347([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17e347([0x6f,0x6b]))return _0x17e347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x529a4b(_0x1a0ab7(_0x5b0c9e+_0x5c2992))!=_0x3791e6[_0x17e347([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17e347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17e347([0x56,0x61,0x6c,0x69,0x64]);})[_0x17e347([0x74,0x68,0x65,0x6e])](_0x3887a4=>(_0x2ff638(),_0x3887a4),()=>{const _0x5d3337=_0x5c3a07();return null==_0x5d3337?(_0x2ff638(),_0x17e347([0x56,0x61,0x6c,0x69,0x64])):_0x17e347(_0x1b5581-_0x5d3337>(0x619b6411^_0x3387a2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17e347([0x74,0x68,0x65,0x6e])](_0x43ce61)[_0x17e347([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43ce61(_0x17e347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1722f6=0x45a10e91^_0x3387a2;function _0x2ff638(){const _0x3b80a5=_0x17e347([0x6c,0x6c,0x63,0x74,0x2d])+_0x529a4b(_0x1a0ab7(_0x176ec4)),_0x569bf4=_0xc559ca(_0x529a4b(window[_0x17e347([0x4d,0x61,0x74,0x68])][_0x17e347([0x63,0x65,0x69,0x6c])](_0x1b5581/_0x1722f6)));window[_0x17e347([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17e347([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b80a5,_0x569bf4);}function _0x5c3a07(){const _0x386c6a=_0x17e347([0x6c,0x6c,0x63,0x74,0x2d])+_0x529a4b(_0x1a0ab7(_0x176ec4)),_0x3620a1=window[_0x17e347([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17e347([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x386c6a);return _0x3620a1?window[_0x17e347([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc559ca(_0x3620a1),0x10)*_0x1722f6:null;}function _0x44ccc7(_0x189f88){return new window[(_0x17e347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25fb78,_0x4914b3)=>{_0x189f88[_0x17e347([0x74,0x68,0x65,0x6e])](_0x25fb78,_0x4914b3),window[_0x17e347([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4914b3,0x459634d1^_0x3387a2);});}}_0xd0869f[_0x17e347([0x6f,0x6e])](_0x17e347([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x509161,_0x4d148c)=>{if(_0x4d148c[0x0]!=_0x176ec4)return _0x43ce61(_0x17e347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d148c[0x1]={..._0x4d148c[0x1],[_0x17e347([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b0c9e};},{[_0x17e347([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17e347([0x68,0x69,0x67,0x68])}),_0xd0869f[_0x17e347([0x6f,0x6e])](_0x17e347([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2369d0=>{_0x2ecf9f(_0x2369d0[_0x17e347([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e3651=!0x0,_0x4b595a(_0x2369d0[_0x17e347([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17e347([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17e347([0x6c,0x6f,0x77])}),_0x193865[_0x17e347([0x74,0x68,0x65,0x6e])](()=>{_0x5e3651||_0x43ce61(_0x17e347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d958d(){return _0xd0869f[_0x17e347([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17e347([0x76,0x69,0x65,0x77])][_0x17e347([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17e347([0x61,0x75,0x74,0x6f]);}function _0xf1cff6(){_0xd0869f[_0x17e347([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17e347([0x76,0x69,0x65,0x77])][_0x17e347([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17e347([0x61,0x75,0x74,0x6f]);}}function _0x979ddb(_0x502676){const _0x469e4d=[new window[(_0x17e347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47bf68=>setTimeout(_0x47bf68,0x459ededd^_0x3387a2)),_0x193865[_0x17e347([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17e347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f6197=>{let _0x50700f=0x0;_0xd0869f[_0x17e347([0x6d,0x6f,0x64,0x65,0x6c])][_0x17e347([0x6f,0x6e])](_0x17e347([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d19c2,_0x3e2b68)=>{_0x3e2b68[0x0][_0x17e347([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50700f++,_0x50700f==(0x4597e1e9^_0x3387a2)&&(_0x1f6197(),_0x2d19c2[_0x17e347([0x6f,0x66,0x66])]());});}))];return window[_0x17e347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17e347([0x72,0x61,0x63,0x65])](_0x469e4d)[_0x17e347([0x74,0x68,0x65,0x6e])](()=>_0x502676);}async function _0xdbc204(){await _0x193865,_0xd0869f[_0x17e347([0x6d,0x6f,0x64,0x65,0x6c])][_0x17e347([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc6851,_0xd0869f[_0x17e347([0x6d,0x6f,0x64,0x65,0x6c])][_0x17e347([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc6851,_0xd0869f[_0x17e347([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17e347([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x117810(_0x25fb36){const _0x3fba48=_0x28eb74();_0xd0869f[_0x3fba48]=_0x17e347([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x25fb36,_0x25fb36!=_0x17e347([0x56,0x61,0x6c,0x69,0x64])&&_0xdbc204();}function _0x28eb74(){const _0x46ad48=window[_0x17e347([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17e347([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17e347([0x6e,0x6f,0x77])]())[_0x17e347([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17e347([0x2e]),'');let _0x58a96e=_0x17e347([0x51]);for(let _0x358863=0x0;_0x358863<_0x46ad48[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x358863+=0x2){let _0x3e2338=window[_0x17e347([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46ad48[_0x17e347([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x358863,_0x358863+0x2));_0x3e2338>=_0x185912[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e2338-=_0x185912[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58a96e+=_0x185912[_0x3e2338];}return _0x58a96e;}function _0x4f0543(){const _0x507917=_0x2f5b0f[_0x17e347([0x73,0x70,0x6c,0x69,0x74])](_0x17e347([0x2e]));if(0x3!=_0x507917[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2529c9(_0x507917[0x1]);function _0x2529c9(_0x22df9e){const _0xcad4e8=_0x5d6369(_0x22df9e);return _0xcad4e8&&_0x28c0dc()?_0xcad4e8:null;function _0x28c0dc(){const _0x2279a5=_0xcad4e8[_0x17e347([0x6a,0x74,0x69])],_0x125d37=window[_0x17e347([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2279a5[_0x17e347([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2279a5[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f36a3={..._0xcad4e8,[_0x17e347([0x6a,0x74,0x69])]:_0x2279a5[_0x17e347([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2279a5[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f36a3[_0x17e347([0x76,0x63])],_0x1a0ab7(_0x4f36a3)==_0x125d37;}}}async function _0x5c4a95(){let _0x508109=!0x0;try{const _0x5374ee=_0x2f5b0f[_0x17e347([0x73,0x70,0x6c,0x69,0x74])](_0x17e347([0x2e])),[_0x19591f,_0x2b70dd,_0x34fd9e]=_0x5374ee;return _0x5ec0bf(_0x19591f),await _0x34ddca(_0x19591f,_0x2b70dd,_0x34fd9e),_0x508109;}catch{return!0x1;}function _0x5ec0bf(_0x1787bd){const _0x52d25d=_0x5d6369(_0x1787bd);_0x52d25d&&_0x52d25d[_0x17e347([0x61,0x6c,0x67])]==_0x17e347([0x45,0x53,0x32,0x35,0x36])||(_0x508109=!0x1);}async function _0x34ddca(_0x28ce3c,_0x58a688,_0x3e0633){const _0x24970e=window[_0x17e347([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17e347([0x66,0x72,0x6f,0x6d])](_0x294b4f(_0x3e0633),_0x3a9f00=>_0x3a9f00[_0x17e347([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11cda8=new window[(_0x17e347([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17e347([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28ce3c+_0x17e347([0x2e])+_0x58a688),_0xb6e104=window[_0x17e347([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17e347([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb6e104)return;const _0x37695e=await _0xb6e104[_0x17e347([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17e347([0x6a,0x77,0x6b]),_0xd57e33,{[_0x17e347([0x6e,0x61,0x6d,0x65])]:_0x17e347([0x45,0x43,0x44,0x53,0x41]),[_0x17e347([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17e347([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17e347([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb6e104[_0x17e347([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17e347([0x6e,0x61,0x6d,0x65])]:_0x17e347([0x45,0x43,0x44,0x53,0x41]),[_0x17e347([0x68,0x61,0x73,0x68])]:{[_0x17e347([0x6e,0x61,0x6d,0x65])]:_0x17e347([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37695e,_0x24970e,_0x11cda8)||(_0x508109=!0x1);}}function _0x5d6369(_0x4998d0){return _0x4998d0[_0x17e347([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17e347([0x65,0x79]))?JSON[_0x17e347([0x70,0x61,0x72,0x73,0x65])](_0x294b4f(_0x4998d0)):null;}function _0x294b4f(_0x3466d6){return window[_0x17e347([0x61,0x74,0x6f,0x62])](_0x3466d6[_0x17e347([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17e347([0x2b]))[_0x17e347([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17e347([0x2f])));}function _0x1a0ab7(_0xdaa97a){let _0x1f488d=0x1505;function _0x502762(_0x456cd8){for(let _0x56f48d=0x0;_0x56f48d<_0x456cd8[_0x17e347([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56f48d++){const _0x1d22e8=_0x456cd8[_0x17e347([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56f48d);_0x1f488d=(_0x1f488d<<0x5)+_0x1f488d+_0x1d22e8,_0x1f488d&=_0x1f488d;}}function _0xb5127(_0x429e07){Array[_0x17e347([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x429e07)?_0x429e07[_0x17e347([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb5127):_0x429e07&&typeof _0x429e07==_0x17e347([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17e347([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x429e07)[_0x17e347([0x73,0x6f,0x72,0x74])]()[_0x17e347([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x372fe7,_0x4994d2])=>{_0x502762(_0x372fe7),_0xb5127(_0x4994d2);}):_0x502762(window[_0x17e347([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x429e07));}return _0xb5127(_0xdaa97a),_0x1f488d>>>0x0;}function _0x529a4b(_0x166871){return _0x166871[_0x17e347([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17e347([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17e347([0x30]));}function _0xc559ca(_0x5a6c32){return _0x5a6c32[_0x17e347([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17e347([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17e347([0x6a,0x6f,0x69,0x6e])]('');}function _0xc6851(){}function _0x17e347(_0x346a60){const _0x3f095a=_0x463a;return _0x346a60[_0x3f095a(0x184)](_0x5d5c6f=>String[_0x3f095a(0x196)](_0x5d5c6f))[_0x3f095a(0x185)]('');}_0x117810(await _0x2ebeda());}(this);}[_0x2bd8cb(0x17b)](){const _0x4c851d=_0x2bd8cb,_0x3438a0=this[_0x4c851d(0x181)];if(!_0x3438a0[_0x4c851d(0x19a)][_0x4c851d(0x188)](_0x4c851d(0x1a3)))return;const _0xcd05b5=_0x3438a0[_0x4c851d(0x19a)][_0x4c851d(0x188)](_0x4c851d(0x1a2))[_0x4c851d(0x1a6)](_0x2b63af=>_0x4c851d(0x1aa)==typeof _0x2b63af&&(!_0x173d66(_0x2b63af)&&isNaN(Number(_0x2b63af))));if(_0xcd05b5[_0x4c851d(0x1ac)])throw new _0x5a3f0a(_0x4c851d(0x1a8),null,{'namedPresets':_0xcd05b5});}[_0x2bd8cb(0x19d)](){const _0x3f70ae=_0x2bd8cb,_0x4ab380=this[_0x3f70ae(0x181)],_0x3e215=this[_0x3f70ae(0x181)][_0x3f70ae(0x19a)][_0x3f70ae(0x188)](_0x3f70ae(0x189));_0x4ab380[_0x3f70ae(0x197)][_0x3f70ae(0x198)](_0x3f70ae(0x192))[_0x3f70ae(0x180)]({'model':{'key':_0x3f70ae(0x183)},'view':_0x2bf0dd=>String(_0x2bf0dd)===String(_0x3e215)?null:{'key':_0x3f70ae(0x18e),'value':{'line-height':_0x2bf0dd}}}),_0x4ab380[_0x3f70ae(0x197)][_0x3f70ae(0x198)](_0x3f70ae(0x17a))[_0x3f70ae(0x180)]({'model':{'key':_0x3f70ae(0x183),'value':_0x3f3fcb=>{const _0x1b3663=_0x3f70ae;let _0x9f5aff=_0x3f3fcb[_0x1b3663(0x191)](_0x1b3663(0x19f));return _0x3146a1(_0x9f5aff)&&(_0x9f5aff=String(Number(_0x9f5aff[_0x1b3663(0x1a7)](0x0,-0x1))/0x64)),String(_0x9f5aff)===String(_0x3e215)?null:_0x9f5aff;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2bd8cb(0x19c)](){const _0x5f0abc=_0x2bd8cb,_0xf2076=this[_0x5f0abc(0x181)],_0x372e41=this[_0x5f0abc(0x181)][_0x5f0abc(0x19a)][_0x5f0abc(0x188)](_0x5f0abc(0x189)),_0x588ecb=_0x4bb654(this[_0x5f0abc(0x181)][_0x5f0abc(0x19a)][_0x5f0abc(0x188)](_0x5f0abc(0x183)))[_0x5f0abc(0x1a6)](_0x3f1a4a=>_0x3f1a4a[_0x5f0abc(0x1a5)]),_0x127edb=_0x2406c1(_0x5f0abc(0x183),_0x588ecb);_0xf2076[_0x5f0abc(0x197)][_0x5f0abc(0x180)](_0x127edb),_0xf2076[_0x5f0abc(0x197)][_0x5f0abc(0x198)](_0x5f0abc(0x17a))[_0x5f0abc(0x180)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5f0abc(0x183),'value':_0x40ef46=>{const _0x382c6c=_0x5f0abc;let _0x5276b5=_0x40ef46[_0x382c6c(0x191)](_0x382c6c(0x19f));return _0x3146a1(_0x5276b5)&&(_0x5276b5=String(Number(_0x5276b5[_0x382c6c(0x1a7)](0x0,-0x1))/0x64)),_0x5276b5===String(_0x372e41)?null:_0x127edb[_0x382c6c(0x1a5)][_0x382c6c(0x182)][_0x382c6c(0x1a9)](_0x5276b5)?_0x5276b5:null;}}});}}
|
|
23
|
+
const _0x238a07=_0x32ec;function _0x4053(){const _0x1e89c4=['values','35DSlwYI','4009635SQhWBA','string','lineHeight','isPremiumPlugin','afterInit','conversion','href','join','lineHeight.defaultValue','includes','commands','_prepareAnyValueConverters','setAttributeProperties','lineHeight.options','isOfficialPlugin','1077210fxSErP','upcast','_preparePredefinedConverters','extend','init','default','style','model','get','LineHeightEditing','config','for','457944mCMCZf','622316mqCMeG','49GCmxaw','define','slice','length','line-height-invalid-use-of-named-presets','1909226HhNLZS','$block','getStyle','_validateConfig','downcast','map','filter','lineHeight.supportAllValues','line-height','add','3226602hREJKV','editor','500144ECUkyx','attributeToAttribute','fromCharCode','pluginName','schema','54WxmFJO'];_0x4053=function(){return _0x1e89c4;};return _0x4053();}function _0x32ec(_0x4a59fe,_0x4601a5){const _0x405345=_0x4053();return _0x32ec=function(_0x32ecfd,_0x5433d6){_0x32ecfd=_0x32ecfd-0xbc;let _0x4156d3=_0x405345[_0x32ecfd];return _0x4156d3;},_0x32ec(_0x4a59fe,_0x4601a5);}(function(_0x1152e9,_0x480623){const _0x32e4b6=_0x32ec,_0x50600a=_0x1152e9();while(!![]){try{const _0x1b8353=parseInt(_0x32e4b6(0xc2))/0x1+-parseInt(_0x32e4b6(0xc8))/0x2+parseInt(_0x32e4b6(0xdc))/0x3+-parseInt(_0x32e4b6(0xc1))/0x4*(parseInt(_0x32e4b6(0xdb))/0x5)+parseInt(_0x32e4b6(0xd2))/0x6+parseInt(_0x32e4b6(0xc3))/0x7*(-parseInt(_0x32e4b6(0xd4))/0x8)+parseInt(_0x32e4b6(0xd9))/0x9*(parseInt(_0x32e4b6(0xeb))/0xa);if(_0x1b8353===_0x480623)break;else _0x50600a['push'](_0x50600a['shift']());}catch(_0x4fc007){_0x50600a['push'](_0x50600a['shift']());}}}(_0x4053,0xe7c41));import{Plugin as _0x152ef2}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x52a812}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x21fb04}from'ckeditor5/src/engine.js';import{uid as _0x437748,CKEditorError as _0x536adc}from'ckeditor5/src/utils.js';import{buildDefinition as _0x339b06,isLineHeightDefaultValue as _0x1de739,normalizeOptions as _0x3765a5}from'./utils.js';export class LineHeightEditing extends _0x152ef2{static get[_0x238a07(0xd7)](){const _0x44cef0=_0x238a07;return _0x44cef0(0xbe);}static get[_0x238a07(0xea)](){return!0x0;}static get[_0x238a07(0xdf)](){return!0x0;}constructor(_0x383342){const _0x23d4c7=_0x238a07;super(_0x383342),_0x383342[_0x23d4c7(0xbf)][_0x23d4c7(0xc4)](_0x23d4c7(0xde),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x23d4c7(0xf0),0x2,2.5,0x3]});}[_0x238a07(0xef)](){const _0x34b6c2=_0x238a07,_0x1f3222=this[_0x34b6c2(0xd3)];this[_0x34b6c2(0xcb)](),_0x1f3222[_0x34b6c2(0xbc)][_0x34b6c2(0xd8)][_0x34b6c2(0xee)](_0x34b6c2(0xc9),{'allowAttributes':_0x34b6c2(0xde)}),_0x1f3222[_0x34b6c2(0xbc)][_0x34b6c2(0xd8)][_0x34b6c2(0xe8)](_0x34b6c2(0xde),{'isFormatting':!0x0}),_0x1f3222[_0x34b6c2(0xe6)][_0x34b6c2(0xd1)](_0x34b6c2(0xde),new _0x52a812(_0x1f3222)),this[_0x34b6c2(0xd3)][_0x34b6c2(0xbf)][_0x34b6c2(0xbd)](_0x34b6c2(0xcf))?this[_0x34b6c2(0xe7)]():this[_0x34b6c2(0xed)]();}[_0x238a07(0xe0)](){!async function(_0x53856f){const _0x5eaa8b=_0x4b29f9([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]),_0x400ea4=0x4597e011,_0x11d422=0x45909361^_0x400ea4,_0x524b75=window[_0x4b29f9([0x44,0x61,0x74,0x65])][_0x4b29f9([0x6e,0x6f,0x77])](),_0x462e44=_0x53856f[_0x4b29f9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f6584=new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27317a=>{_0x462e44[_0x4b29f9([0x6f,0x6e,0x63,0x65])](_0x4b29f9([0x72,0x65,0x61,0x64,0x79]),_0x27317a);}),_0x446c10={[_0x4b29f9([0x6b,0x74,0x79])]:_0x4b29f9([0x45,0x43]),[_0x4b29f9([0x75,0x73,0x65])]:_0x4b29f9([0x73,0x69,0x67]),[_0x4b29f9([0x63,0x72,0x76])]:_0x4b29f9([0x50,0x2d,0x32,0x35,0x36]),[_0x4b29f9([0x78])]:_0x4b29f9([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]),[_0x4b29f9([0x79])]:_0x4b29f9([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]),[_0x4b29f9([0x61,0x6c,0x67])]:_0x4b29f9([0x45,0x53,0x32,0x35,0x36])},_0x1932e6=_0x462e44[_0x4b29f9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b29f9([0x67,0x65,0x74])](_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x114a4c(){let _0x287421,_0x2fea98=null,_0x46f5f8=null;try{if(_0x1932e6==_0x4b29f9([0x47,0x50,0x4c]))return _0x4b29f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x287421=_0xb7ca59(),!_0x287421)return _0x4b29f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x287421[_0x4b29f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46f5f8=_0x37a12c(_0x287421[_0x4b29f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x287421[_0x4b29f9([0x6a,0x74,0x69])])),await _0x4dfb58()?_0x4f14be()?_0x213eb1()?_0x4b29f9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b0292()?(_0x287421[_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b29f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fea98=_0x5e8157(_0x4b29f9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x287421[_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b29f9([0x74,0x72,0x69,0x61,0x6c])&&(_0x2fea98=_0x5e8157(_0x4b29f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2dbea4()):_0x4b29f9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b29f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b29f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b29f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x213eb1(){const _0x212feb=[_0x4b29f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b29f9([0x74,0x72,0x69,0x61,0x6c])][_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287421[_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x524b75/0x3e8:0xe10*_0x11d422;return _0x287421[_0x4b29f9([0x65,0x78,0x70])]<_0x212feb;}function _0x4f14be(){const _0x47eb72=_0x287421[_0x4b29f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47eb72&&(!!_0x47eb72[_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b29f9([0x2a]))||!!_0x47eb72[_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b29f9([0x4c,0x48])));}function _0x4b0292(){const _0x361d70=_0x32ec,_0x41a1aa=_0x287421[_0x4b29f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41a1aa||0x0==_0x41a1aa[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1bb829}=new URL(window[_0x4b29f9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x361d70(0xe2)]);if(_0x41a1aa[_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bb829))return!0x0;const _0x2035df=_0x1bb829[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])](_0x4b29f9([0x2e]));return _0x41a1aa[_0x4b29f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x380b4e=>_0x380b4e[_0x4b29f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b29f9([0x2a])))[_0x4b29f9([0x6d,0x61,0x70])](_0x510bc4=>_0x510bc4[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])](_0x4b29f9([0x2e])))[_0x4b29f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36c5f5=>_0x36c5f5[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2035df[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b29f9([0x6d,0x61,0x70])](_0x5f446f=>Array(_0x2035df[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f446f[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b29f9([0x66,0x69,0x6c,0x6c])](_0x5f446f[0x0]===_0x4b29f9([0x2a])?_0x4b29f9([0x2a]):'')[_0x4b29f9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f446f))[_0x4b29f9([0x73,0x6f,0x6d,0x65])](_0x5f31b0=>_0x2035df[_0x4b29f9([0x65,0x76,0x65,0x72,0x79])]((_0x587d3f,_0x28dfc0)=>_0x5f31b0[_0x28dfc0]===_0x587d3f||_0x5f31b0[_0x28dfc0]===_0x4b29f9([0x2a])));}function _0x2dbea4(){return _0x2fea98&&_0x46f5f8?new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4af7f1,_0x423fed)=>{_0x2fea98[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x4af7f1,_0x423fed),_0x46f5f8[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x2fdfc1=>{_0x2fdfc1!=_0x4b29f9([0x56,0x61,0x6c,0x69,0x64])&&_0x4af7f1(_0x2fdfc1);},_0x423fed);}):_0x2fea98||_0x46f5f8||_0x4b29f9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37a12c(_0x3d2a74,_0x1970e2){return new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31c8da=>{if(_0x3d535c())return _0x31c8da(_0x4b29f9([0x56,0x61,0x6c,0x69,0x64]));_0x3b9415(),_0x462e44[_0x4b29f9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b29f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f7d39=!0x1;const _0x438ea5=_0x437748();function _0x6e0d67(_0x5bcc05){return!!_0x5bcc05&&(typeof _0x5bcc05===_0x4b29f9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5bcc05===_0x4b29f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5bcc05[_0x4b29f9([0x74,0x68,0x65,0x6e])]===_0x4b29f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5bcc05[_0x4b29f9([0x63,0x61,0x74,0x63,0x68])]===_0x4b29f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4de607(_0x5ed255){_0x247591(_0x5ed255)[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x2c9aad=>{if(!_0x2c9aad||_0x2c9aad[_0x4b29f9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b29f9([0x6f,0x6b]))return _0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31a6b9(_0x244097(_0x438ea5+_0x1970e2))!=_0x2c9aad[_0x4b29f9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b29f9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x5a6051=>(_0x7906e9(),_0x5a6051),()=>{const _0x182284=_0x5e6580();return null==_0x182284?(_0x7906e9(),_0x4b29f9([0x56,0x61,0x6c,0x69,0x64])):_0x4b29f9(_0x524b75-_0x182284>(0x619b6411^_0x400ea4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x31c8da)[_0x4b29f9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31c8da(_0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x573f16=0x45a10e91^_0x400ea4;function _0x7906e9(){const _0x1ee769=_0x4b29f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x31a6b9(_0x244097(_0x3d2a74)),_0x1c4ffc=_0x221fc5(_0x31a6b9(window[_0x4b29f9([0x4d,0x61,0x74,0x68])][_0x4b29f9([0x63,0x65,0x69,0x6c])](_0x524b75/_0x573f16)));window[_0x4b29f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b29f9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ee769,_0x1c4ffc);}function _0x5e6580(){const _0x1ccbe5=_0x4b29f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x31a6b9(_0x244097(_0x3d2a74)),_0x15ada2=window[_0x4b29f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b29f9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ccbe5);return _0x15ada2?window[_0x4b29f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x221fc5(_0x15ada2),0x10)*_0x573f16:null;}function _0x247591(_0x200013){return new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28b6d6,_0x589c11)=>{_0x200013[_0x4b29f9([0x74,0x68,0x65,0x6e])](_0x28b6d6,_0x589c11),window[_0x4b29f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x589c11,0x459634d1^_0x400ea4);});}}_0x462e44[_0x4b29f9([0x6f,0x6e])](_0x4b29f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b5816,_0x1667cc)=>{if(_0x1667cc[0x0]!=_0x3d2a74)return _0x31c8da(_0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1667cc[0x1]={..._0x1667cc[0x1],[_0x4b29f9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x438ea5};},{[_0x4b29f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b29f9([0x68,0x69,0x67,0x68])}),_0x462e44[_0x4b29f9([0x6f,0x6e])](_0x4b29f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d9fa=>{_0x6e0d67(_0x42d9fa[_0x4b29f9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f7d39=!0x0,_0x4de607(_0x42d9fa[_0x4b29f9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b29f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b29f9([0x6c,0x6f,0x77])}),_0x2f6584[_0x4b29f9([0x74,0x68,0x65,0x6e])](()=>{_0x2f7d39||_0x31c8da(_0x4b29f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d535c(){return _0x462e44[_0x4b29f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b29f9([0x76,0x69,0x65,0x77])][_0x4b29f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b29f9([0x61,0x75,0x74,0x6f]);}function _0x3b9415(){_0x462e44[_0x4b29f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b29f9([0x76,0x69,0x65,0x77])][_0x4b29f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b29f9([0x61,0x75,0x74,0x6f]);}}function _0x5e8157(_0x17f57f){const _0x3c91fe=[new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a1c58=>setTimeout(_0x1a1c58,0x459ededd^_0x400ea4)),_0x2f6584[_0x4b29f9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33db9f=>{let _0x215efa=0x0;_0x462e44[_0x4b29f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b29f9([0x6f,0x6e])](_0x4b29f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47c2d1,_0x5a14b6)=>{_0x5a14b6[0x0][_0x4b29f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x215efa++,_0x215efa==(0x4597e1e9^_0x400ea4)&&(_0x33db9f(),_0x47c2d1[_0x4b29f9([0x6f,0x66,0x66])]());});}))];return window[_0x4b29f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b29f9([0x72,0x61,0x63,0x65])](_0x3c91fe)[_0x4b29f9([0x74,0x68,0x65,0x6e])](()=>_0x17f57f);}async function _0x19714a(){await _0x2f6584,_0x462e44[_0x4b29f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b29f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34986a,_0x462e44[_0x4b29f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b29f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34986a,_0x462e44[_0x4b29f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b29f9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16a76a(_0x2f549e){const _0x16affa=_0x56b7bd();_0x462e44[_0x16affa]=_0x4b29f9([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f549e,_0x2f549e!=_0x4b29f9([0x56,0x61,0x6c,0x69,0x64])&&_0x19714a();}function _0x56b7bd(){const _0x4b39de=window[_0x4b29f9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b29f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b29f9([0x6e,0x6f,0x77])]())[_0x4b29f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b29f9([0x2e]),'');let _0x5d4dc1=_0x4b29f9([0x51]);for(let _0x522d30=0x0;_0x522d30<_0x4b39de[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x522d30+=0x2){let _0x22fe6b=window[_0x4b29f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b39de[_0x4b29f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x522d30,_0x522d30+0x2));_0x22fe6b>=_0x5eaa8b[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22fe6b-=_0x5eaa8b[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d4dc1+=_0x5eaa8b[_0x22fe6b];}return _0x5d4dc1;}function _0xb7ca59(){const _0x3f3fcf=_0x1932e6[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])](_0x4b29f9([0x2e]));if(0x3!=_0x3f3fcf[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e5cde(_0x3f3fcf[0x1]);function _0x1e5cde(_0x430128){const _0x1715f6=_0x58ec40(_0x430128);return _0x1715f6&&_0x165d2d()?_0x1715f6:null;function _0x165d2d(){const _0x21521b=_0x1715f6[_0x4b29f9([0x6a,0x74,0x69])],_0x13ca1f=window[_0x4b29f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21521b[_0x4b29f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21521b[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x232908={..._0x1715f6,[_0x4b29f9([0x6a,0x74,0x69])]:_0x21521b[_0x4b29f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21521b[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x232908[_0x4b29f9([0x76,0x63])],_0x244097(_0x232908)==_0x13ca1f;}}}async function _0x4dfb58(){let _0x4e8575=!0x0;try{const _0x4ddd47=_0x1932e6[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])](_0x4b29f9([0x2e])),[_0x94acd0,_0x557f79,_0x4d6038]=_0x4ddd47;return _0x5045c2(_0x94acd0),await _0x29da2e(_0x94acd0,_0x557f79,_0x4d6038),_0x4e8575;}catch{return!0x1;}function _0x5045c2(_0x287fed){const _0x1b9605=_0x58ec40(_0x287fed);_0x1b9605&&_0x1b9605[_0x4b29f9([0x61,0x6c,0x67])]==_0x4b29f9([0x45,0x53,0x32,0x35,0x36])||(_0x4e8575=!0x1);}async function _0x29da2e(_0x137b2b,_0x772ad2,_0x43351c){const _0x301f81=window[_0x4b29f9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b29f9([0x66,0x72,0x6f,0x6d])](_0x2be871(_0x43351c),_0x43bfe8=>_0x43bfe8[_0x4b29f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e3e35=new window[(_0x4b29f9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b29f9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x137b2b+_0x4b29f9([0x2e])+_0x772ad2),_0x5e25de=window[_0x4b29f9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b29f9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e25de)return;const _0x2911c4=await _0x5e25de[_0x4b29f9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b29f9([0x6a,0x77,0x6b]),_0x446c10,{[_0x4b29f9([0x6e,0x61,0x6d,0x65])]:_0x4b29f9([0x45,0x43,0x44,0x53,0x41]),[_0x4b29f9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b29f9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b29f9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e25de[_0x4b29f9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b29f9([0x6e,0x61,0x6d,0x65])]:_0x4b29f9([0x45,0x43,0x44,0x53,0x41]),[_0x4b29f9([0x68,0x61,0x73,0x68])]:{[_0x4b29f9([0x6e,0x61,0x6d,0x65])]:_0x4b29f9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2911c4,_0x301f81,_0x3e3e35)||(_0x4e8575=!0x1);}}function _0x58ec40(_0x1cc7fc){return _0x1cc7fc[_0x4b29f9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b29f9([0x65,0x79]))?JSON[_0x4b29f9([0x70,0x61,0x72,0x73,0x65])](_0x2be871(_0x1cc7fc)):null;}function _0x2be871(_0x10b1bd){return window[_0x4b29f9([0x61,0x74,0x6f,0x62])](_0x10b1bd[_0x4b29f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b29f9([0x2b]))[_0x4b29f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b29f9([0x2f])));}function _0x244097(_0x3846b4){let _0x10f96c=0x1505;function _0x5f4bbc(_0x1c49dc){for(let _0x41c3d6=0x0;_0x41c3d6<_0x1c49dc[_0x4b29f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41c3d6++){const _0x3d784c=_0x1c49dc[_0x4b29f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41c3d6);_0x10f96c=(_0x10f96c<<0x5)+_0x10f96c+_0x3d784c,_0x10f96c&=_0x10f96c;}}function _0x50c73b(_0x249d31){Array[_0x4b29f9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x249d31)?_0x249d31[_0x4b29f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x50c73b):_0x249d31&&typeof _0x249d31==_0x4b29f9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b29f9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x249d31)[_0x4b29f9([0x73,0x6f,0x72,0x74])]()[_0x4b29f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x132a3d,_0x5e995a])=>{_0x5f4bbc(_0x132a3d),_0x50c73b(_0x5e995a);}):_0x5f4bbc(window[_0x4b29f9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x249d31));}return _0x50c73b(_0x3846b4),_0x10f96c>>>0x0;}function _0x31a6b9(_0x4c5d7e){return _0x4c5d7e[_0x4b29f9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b29f9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b29f9([0x30]));}function _0x221fc5(_0x5e11c6){return _0x5e11c6[_0x4b29f9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b29f9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b29f9([0x6a,0x6f,0x69,0x6e])]('');}function _0x34986a(){}function _0x4b29f9(_0x54f70f){const _0x45d487=_0x32ec;return _0x54f70f[_0x45d487(0xcd)](_0x3dcf08=>String[_0x45d487(0xd6)](_0x3dcf08))[_0x45d487(0xe3)]('');}_0x16a76a(await _0x114a4c());}(this);}[_0x238a07(0xcb)](){const _0x2bb480=_0x238a07,_0x523f35=this[_0x2bb480(0xd3)];if(!_0x523f35[_0x2bb480(0xbf)][_0x2bb480(0xbd)](_0x2bb480(0xcf)))return;const _0x2f08ae=_0x523f35[_0x2bb480(0xbf)][_0x2bb480(0xbd)](_0x2bb480(0xe9))[_0x2bb480(0xce)](_0x2cc595=>_0x2bb480(0xdd)==typeof _0x2cc595&&(!_0x1de739(_0x2cc595)&&isNaN(Number(_0x2cc595))));if(_0x2f08ae[_0x2bb480(0xc6)])throw new _0x536adc(_0x2bb480(0xc7),null,{'namedPresets':_0x2f08ae});}[_0x238a07(0xe7)](){const _0x11c399=_0x238a07,_0x52a968=this[_0x11c399(0xd3)],_0x308d53=this[_0x11c399(0xd3)][_0x11c399(0xbf)][_0x11c399(0xbd)](_0x11c399(0xe4));_0x52a968[_0x11c399(0xe1)][_0x11c399(0xc0)](_0x11c399(0xcc))[_0x11c399(0xd5)]({'model':{'key':_0x11c399(0xde)},'view':_0x1b646f=>String(_0x1b646f)===String(_0x308d53)?null:{'key':_0x11c399(0xf1),'value':{'line-height':_0x1b646f}}}),_0x52a968[_0x11c399(0xe1)][_0x11c399(0xc0)](_0x11c399(0xec))[_0x11c399(0xd5)]({'model':{'key':_0x11c399(0xde),'value':_0x41773d=>{const _0x458960=_0x11c399;let _0x346c97=_0x41773d[_0x458960(0xca)](_0x458960(0xd0));return _0x21fb04(_0x346c97)&&(_0x346c97=String(Number(_0x346c97[_0x458960(0xc5)](0x0,-0x1))/0x64)),String(_0x346c97)===String(_0x308d53)?null:_0x346c97;}},'view':{'styles':{'line-height':/.*/}}});}[_0x238a07(0xed)](){const _0xd288f0=_0x238a07,_0x59f028=this[_0xd288f0(0xd3)],_0xcb8303=this[_0xd288f0(0xd3)][_0xd288f0(0xbf)][_0xd288f0(0xbd)](_0xd288f0(0xe4)),_0xee3cd3=_0x3765a5(this[_0xd288f0(0xd3)][_0xd288f0(0xbf)][_0xd288f0(0xbd)](_0xd288f0(0xde)))[_0xd288f0(0xce)](_0x389dfb=>_0x389dfb[_0xd288f0(0xbc)]),_0x2a786a=_0x339b06(_0xd288f0(0xde),_0xee3cd3);_0x59f028[_0xd288f0(0xe1)][_0xd288f0(0xd5)](_0x2a786a),_0x59f028[_0xd288f0(0xe1)][_0xd288f0(0xc0)](_0xd288f0(0xec))[_0xd288f0(0xd5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xd288f0(0xde),'value':_0x5711b8=>{const _0xd73725=_0xd288f0;let _0x587ca4=_0x5711b8[_0xd73725(0xca)](_0xd73725(0xd0));return _0x21fb04(_0x587ca4)&&(_0x587ca4=String(Number(_0x587ca4[_0xd73725(0xc5)](0x0,-0x1))/0x64)),_0x587ca4===String(_0xcb8303)?null:_0x2a786a[_0xd73725(0xbc)][_0xd73725(0xda)][_0xd73725(0xe5)](_0x587ca4)?_0x587ca4:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5dda3a}from'ckeditor5/src/core.js';import{addListToDropdown as _0x670375,createDropdown as _0x57d337,MenuBarMenuListItemButtonView as _0x33b0af,MenuBarMenuListItemView as _0x27ebc8,MenuBarMenuListView as _0xc4bf37,MenuBarMenuView as _0x544a4d,UIModel as _0x5b98e0}from'ckeditor5/src/ui.js';import{Collection as _0x516f31}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3cbb9a}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x587f8b}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5dda3a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x28dd70={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x28dd70),this['_registerMenuBarComponent'](_0x28dd70),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4139b4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b455e;for(const _0x53164d in _0x4139b4){const _0xcc6650=_0x53164d,_0x4a4a3f=_0x4139b4[_0xcc6650];if('lineHeightLicenseKeyValid'==_0x4a4a3f||'lineHeightLicenseKeyInvalid'==_0x4a4a3f||'lineHeightLicenseKeyExpired'==_0x4a4a3f||'lineHeightLicenseKeyDomainLimit'==_0x4a4a3f||'lineHeightLicenseKeyNotAllowed'==_0x4a4a3f||'lineHeightLicenseKeyEvaluationLimit'==_0x4a4a3f||'lineHeightLicenseKeyTrialLimit'==_0x4a4a3f||'lineHeightLicenseKeyUsageLimit'==_0x4a4a3f){delete _0x4139b4[_0xcc6650],_0x5b455e=_0x4a4a3f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5b455e&&_0x4139b4['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5b455e&&_0x4139b4['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5b455e&&_0x4139b4['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5b455e&&_0x4139b4['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5b455e&&_0x4139b4['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5b455e&&_0x4139b4['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5b455e&&_0x4139b4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5b7690=this['editor'],t=_0x5b7690['t'],_0x73b0a2=_0x5b7690['config']['get']('lineHeight'),_0x24a558={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x587f8b(_0x73b0a2)['map'](_0x3a6687=>{const _0x1ac2b7=_0x24a558[_0x3a6687['title']];return _0x1ac2b7&&_0x1ac2b7!=_0x3a6687['title']&&(_0x3a6687=Object['assign']({},_0x3a6687,{'title':_0x1ac2b7})),_0x3a6687;});}['_prepareListOptions'](){const _0x2c7caf=this['editor']['commands']['get']('lineHeight'),_0x313757=this['editor']['config']['get']('lineHeight.defaultValue'),_0x17190f=this['_getLocalizedLineHeightOptions'](),_0x1000f1=new _0x516f31(),_0x131dbe=_0x4637d7=>'default'===_0x4637d7||String(_0x313757)===_0x4637d7;for(const _0x2df6e0 of _0x17190f){const _0x1c92d9={'type':'button','model':new _0x5b98e0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2df6e0['title'],'withText':!0x0})};_0x131dbe(_0x2df6e0['model'])?(_0x1c92d9['model']['bind']('isOn')['to'](_0x2c7caf,'value',_0xc70fa9=>!_0xc70fa9),_0x1c92d9['model']['commandParam']=void 0x0):(_0x1c92d9['model']['bind']('isOn')['to'](_0x2c7caf,'value',_0x56784b=>_0x56784b===_0x2df6e0['model']),_0x1c92d9['model']['commandParam']=_0x2df6e0['model']),_0x1000f1['add'](_0x1c92d9);}if(this['_shouldRenderCustomValueOption']()){const _0x554527=this['_getCustomValueOptionDefinition'](_0x17190f);_0x1000f1['add'](_0x554527);}return _0x1000f1;}['_getCustomValueOptionDefinition'](_0x1f18fa){const _0x79ae09=this['editor'],t=_0x79ae09['t'],_0x2fe56a=_0x79ae09['commands']['get']('lineHeight'),_0x5970b1=_0x1f18fa['map'](_0x545589=>_0x545589['model']),_0xfb0eaf={'type':'button','model':new _0x5b98e0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xfb0eaf['model']['bind']('commandParam')['to'](_0x2fe56a,'value'),_0xfb0eaf['model']['bind']('isOn')['to'](_0x2fe56a,'value',_0x3e54a2=>!!_0x3e54a2&&!_0x5970b1['includes'](String(_0x3e54a2))),_0xfb0eaf['model']['bind']('label')['to'](_0x2fe56a,'value',_0x44f361=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x44f361))),_0xfb0eaf;}['_registerToolbarComponent']({accessibleLabel:_0x4df83f,options:_0x10cd50}){const _0x49c5c3=this['editor'],_0x5dace3=_0x49c5c3['commands']['get']('lineHeight');_0x49c5c3['ui']['componentFactory']['add']('lineHeight',_0x3da8f6=>{const _0x3c1a3b=_0x57d337(_0x3da8f6);return _0x670375(_0x3c1a3b,_0x10cd50,{'role':'menu','ariaLabel':_0x4df83f}),_0x3c1a3b['buttonView']['set']({'label':_0x4df83f,'tooltip':!0x0,'icon':_0x3cbb9a}),_0x3c1a3b['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3c1a3b['bind']('isEnabled')['to'](_0x5dace3),this['listenTo'](_0x3c1a3b,'execute',_0x2e91c4=>{_0x49c5c3['execute'](_0x2e91c4['source']['commandName'],{'value':_0x2e91c4['source']['commandParam']}),_0x49c5c3['editing']['view']['focus']();}),_0x3c1a3b['once']('change:isOpen',()=>{const _0x2751a9=_0x3c1a3b['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3c1a3b,_0x10cd50,_0x2751a9);}),_0x3c1a3b;});}['_registerMenuBarComponent']({accessibleLabel:_0x3a87cc,options:_0x288812}){const _0x904639=this['editor'],_0x48539b=_0x904639['commands']['get']('lineHeight');_0x904639['ui']['componentFactory']['add']('menuBar:lineHeight',_0x23fa70=>{const _0x3006cd=new _0x544a4d(_0x23fa70);_0x3006cd['buttonView']['set']({'label':_0x3a87cc,'icon':_0x3cbb9a}),_0x3006cd['bind']('isEnabled')['to'](_0x48539b);const _0x2ce496=new _0xc4bf37(_0x23fa70);for(const _0x44a726 of _0x288812){const _0x129352=new _0x27ebc8(_0x23fa70,_0x3006cd),_0x5ecc75=new _0x33b0af(_0x23fa70);_0x5ecc75['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5ecc75['bind'](...Object['keys'](_0x44a726['model']))['to'](_0x44a726['model']),_0x5ecc75['delegate']('execute')['to'](_0x3006cd),_0x5ecc75['on']('execute',()=>{_0x904639['execute'](_0x44a726['model']['commandName'],{'value':_0x44a726['model']['commandParam']}),_0x904639['editing']['view']['focus']();}),_0x129352['children']['add'](_0x5ecc75),_0x2ce496['items']['add'](_0x129352);}return _0x3006cd['panelView']['children']['add'](_0x2ce496),this['_attachCustomOptionVisibilityHandler'](_0x3006cd,_0x288812,_0x2ce496),_0x3006cd;});}['_attachCustomOptionVisibilityHandler'](_0x5b626f,_0x243d4a,_0x1bc55b){if(!this['_shouldRenderCustomValueOption']())return;const _0x5718bf=()=>{if(!_0x5b626f['isOpen'])return;_0x1bc55b['items']['last']['isVisible']=Boolean(_0x243d4a['last']['model']['isOn']);};_0x5718bf(),_0x5b626f['on']('change:isOpen',()=>{_0x5718bf();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x217ca2,_0x431262){const _0xceedba=_0x4d52,_0x2cb9b2=_0x217ca2();while(!![]){try{const _0x4eb2a3=-parseInt(_0xceedba(0x119))/0x1+-parseInt(_0xceedba(0x108))/0x2+-parseInt(_0xceedba(0x10d))/0x3*(parseInt(_0xceedba(0xfe))/0x4)+parseInt(_0xceedba(0x102))/0x5*(-parseInt(_0xceedba(0x11a))/0x6)+-parseInt(_0xceedba(0x110))/0x7*(-parseInt(_0xceedba(0x117))/0x8)+-parseInt(_0xceedba(0x10e))/0x9+parseInt(_0xceedba(0x106))/0xa;if(_0x4eb2a3===_0x431262)break;else _0x2cb9b2['push'](_0x2cb9b2['shift']());}catch(_0x57927b){_0x2cb9b2['push'](_0x2cb9b2['shift']());}}}(_0x3381,0xe468f));const v={get 'single'(){const _0xeccc60=_0x4d52;return{'title':_0xeccc60(0x11c),'model':_0xeccc60(0x115),'view':{'key':_0xeccc60(0x10a),'value':_0xeccc60(0x112)}};},get 'double'(){const _0x32dcc7=_0x4d52;return{'title':_0x32dcc7(0x100),'model':_0x32dcc7(0x10b),'view':{'key':_0x32dcc7(0x10a),'value':_0x32dcc7(0x118)}};}};export function isLineHeightDefaultValue(_0x492fdf){const _0x1512ed=_0x4d52;return _0x1512ed(0x109)==typeof _0x492fdf&&_0x1512ed(0x114)===_0x492fdf[_0x1512ed(0x113)]();}export function normalizeOptions(_0x147fb0){const _0x515e0c=_0x4d52;return _0x147fb0[_0x515e0c(0x104)][_0x515e0c(0x11b)](_0x27b053=>isLineHeightDefaultValue(_0x27b053)?{'title':String(_0x147fb0[_0x515e0c(0x10c)]),'model':_0x515e0c(0x114)}:(_0x515e0c(0x116)==typeof _0x27b053&&(_0x27b053=String(_0x27b053)),_0x515e0c(0x109)!=typeof _0x27b053?_0x27b053:parseFloat(_0x27b053)?{'title':_0x27b053,'model':_0x27b053,'view':{'name':_0x515e0c(0x105),'styles':{'line-height':_0x27b053}}}:findPreset(_0x27b053)))[_0x515e0c(0x103)](_0x35761d=>void 0x0!==_0x35761d);}export function findPreset(_0x1406f7){const _0x3caf25=_0x4d52;return _0x3caf25(0x109)==typeof _0x1406f7?v[_0x1406f7]:v[_0x1406f7[_0x3caf25(0x107)]];}export function buildDefinition(_0x1c6c0b,_0x1dcb17){const _0x146504=_0x4d52,_0x5b76d6={'model':{'key':_0x1c6c0b,'values':[]},'view':{}};for(const _0x5e752a of _0x1dcb17)_0x146504(0x10a)===_0x5e752a[_0x146504(0x11e)]?.[_0x146504(0x101)]?(_0x5b76d6[_0x146504(0x107)][_0x146504(0x111)][_0x146504(0x11d)](_0x5e752a[_0x146504(0x107)]),_0x5b76d6[_0x146504(0x11e)][_0x5e752a[_0x146504(0x107)]]={'key':_0x146504(0x10a),'value':_0x5e752a[_0x146504(0x11e)][_0x146504(0x10f)]}):(_0x5b76d6[_0x146504(0x107)][_0x146504(0x111)][_0x146504(0x11d)](_0x5e752a[_0x146504(0x107)]),_0x5b76d6[_0x146504(0x11e)][_0x5e752a[_0x146504(0x107)]]={'key':_0x146504(0xfd),'value':_0x146504(0xff)+_0x5e752a[_0x146504(0x107)]+';'});return _0x5b76d6;}function _0x4d52(_0x15c60c,_0x124689){const _0x3381d7=_0x3381();return _0x4d52=function(_0x4d52a0,_0xcfe348){_0x4d52a0=_0x4d52a0-0xfd;let _0x20a5a0=_0x3381d7[_0x4d52a0];return _0x20a5a0;},_0x4d52(_0x15c60c,_0x124689);}function _0x3381(){const _0x1fd5be=['8768034WCypyC','value','9495773knuiEC','values','line-height-single','toLowerCase','default','single','number','8PqEAQB','line-height-double','1157695NBxfQM','12VeySoC','map','Single','push','view','style','423968AYVrGC','line-height:','Double','key','1970995IYWdTU','filter','options','span','43117140ZiQGoo','model','444974wzEwky','string','class','double','defaultValue','45XFOTks'];_0x3381=function(){return _0x1fd5be;};return _0x3381();}
|