@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250814.0 → 0.0.0-nightly-20250816.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x588430=_0x5626;(function(_0x493216,_0x591182){const _0x5ba6f4=_0x5626,_0x958f1a=_0x493216();while(!![]){try{const _0x1b5e40=parseInt(_0x5ba6f4(0xaa))/0x1*(-parseInt(_0x5ba6f4(0xa5))/0x2)+-parseInt(_0x5ba6f4(0x9b))/0x3*(parseInt(_0x5ba6f4(0xb3))/0x4)+-parseInt(_0x5ba6f4(0x9f))/0x5*(-parseInt(_0x5ba6f4(0xae))/0x6)+-parseInt(_0x5ba6f4(0xac))/0x7+-parseInt(_0x5ba6f4(0xa3))/0x8*(parseInt(_0x5ba6f4(0xb8))/0x9)+-parseInt(_0x5ba6f4(0xa0))/0xa+-parseInt(_0x5ba6f4(0xa2))/0xb*(-parseInt(_0x5ba6f4(0x9c))/0xc);if(_0x1b5e40===_0x591182)break;else _0x958f1a['push'](_0x958f1a['shift']());}catch(_0x151417){_0x958f1a['push'](_0x958f1a['shift']());}}}(_0x1ff4,0x422f3));function _0x1ff4(){const _0x1d5846=['12shnTbD','execute','removeAttribute','1529305QaQTVZ','1975250bkcpVV','schema','15592819LUxvXq','1025008cQiMVv','document','2LjvBMf','refresh','lineHeight','_canHaveLineHeight','editor','310924wHMnmV','checkAttribute','1771371KFdMFW','setAttribute','6ywecYR','change','getSelectedBlocks','isEnabled','from','4JaDUTz','getAttribute','selection','value','model','27avdBZi','filter','919257jyvSHW'];_0x1ff4=function(){return _0x1d5846;};return _0x1ff4();}import{Command as _0xc1604f}from'ckeditor5/src/core.js';function _0x5626(_0x559976,_0x24111f){const _0x1ff4de=_0x1ff4();return _0x5626=function(_0x5626e9,_0xa64b12){_0x5626e9=_0x5626e9-0x9b;let _0x256c80=_0x1ff4de[_0x5626e9];return _0x256c80;},_0x5626(_0x559976,_0x24111f);}import{first as _0x30aeea}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0xc1604f{[_0x588430(0xa6)](){const _0x22cdff=_0x588430,_0x3aa7e9=this[_0x22cdff(0xa9)][_0x22cdff(0xb7)][_0x22cdff(0xa4)],_0x3802b0=_0x30aeea(_0x3aa7e9[_0x22cdff(0xb5)][_0x22cdff(0xb0)]());this[_0x22cdff(0xb1)]=Boolean(_0x3802b0)&&this[_0x22cdff(0xa8)](_0x3802b0),this[_0x22cdff(0xb6)]=this[_0x22cdff(0xb1)]&&_0x3802b0[_0x22cdff(0xb4)](_0x22cdff(0xa7));}[_0x588430(0x9d)](_0x1cbd5c={}){const _0x4fcc17=_0x588430,_0x4acb12=this[_0x4fcc17(0xa9)][_0x4fcc17(0xb7)],_0x4ee291=_0x4acb12[_0x4fcc17(0xa4)][_0x4fcc17(0xb5)],_0x29f10f=_0x1cbd5c[_0x4fcc17(0xb6)];_0x4acb12[_0x4fcc17(0xaf)](_0x8f95d0=>{const _0x43acd4=_0x4fcc17,_0x2cf0d0=Array[_0x43acd4(0xb2)](_0x4ee291[_0x43acd4(0xb0)]())[_0x43acd4(0xb9)](_0x58b7d4=>this[_0x43acd4(0xa8)](_0x58b7d4));for(const _0x218b42 of _0x2cf0d0)_0x29f10f?_0x8f95d0[_0x43acd4(0xad)](_0x43acd4(0xa7),_0x29f10f,_0x218b42):_0x8f95d0[_0x43acd4(0x9e)](_0x43acd4(0xa7),_0x218b42);});}[_0x588430(0xa8)](_0x4647ca){const _0x2e6755=_0x588430;return this[_0x2e6755(0xa9)][_0x2e6755(0xb7)][_0x2e6755(0xa1)][_0x2e6755(0xab)](_0x4647ca,_0x2e6755(0xa7));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5f3352=_0x4740;(function(_0x48ca0e,_0xe37153){const _0x2dd436=_0x4740,_0x5a58b7=_0x48ca0e();while(!![]){try{const _0x1bcf02=parseInt(_0x2dd436(0x1fa))/0x1+parseInt(_0x2dd436(0x208))/0x2*(parseInt(_0x2dd436(0x1f2))/0x3)+-parseInt(_0x2dd436(0x1ed))/0x4+parseInt(_0x2dd436(0x200))/0x5*(-parseInt(_0x2dd436(0x213))/0x6)+-parseInt(_0x2dd436(0x1f6))/0x7*(-parseInt(_0x2dd436(0x218))/0x8)+-parseInt(_0x2dd436(0x20f))/0x9*(parseInt(_0x2dd436(0x214))/0xa)+parseInt(_0x2dd436(0x211))/0xb;if(_0x1bcf02===_0xe37153)break;else _0x5a58b7['push'](_0x5a58b7['shift']());}catch(_0x46cfc9){_0x5a58b7['push'](_0x5a58b7['shift']());}}}(_0x3b8f,0x8dd12));import{Plugin as _0x27521d}from'ckeditor5/src/core.js';function _0x3b8f(){const _0xeceed1=['244xsgIsB','string','includes','add','downcast','isOfficialPlugin','_prepareAnyValueConverters','81fxhXTO','schema','9254300ilXKPs','attributeToAttribute','4495746wThDSR','511890GgIHeX','map','$block','lineHeight.defaultValue','248vsxVjs','editor','init','line-height-invalid-use-of-named-presets','model','extend','config','_validateConfig','lineHeight','commands','href','length','4561412aOVyqQ','define','lineHeight.supportAllValues','pluginName','isPremiumPlugin','8109NNKVAR','lineHeight.options','filter','default','198415pIsMFj','for','get','values','881466NWglyn','LineHeightEditing','afterInit','join','upcast','conversion','5zHpQsL','line-height','setAttributeProperties','getStyle','style','slice','fromCharCode','_preparePredefinedConverters'];_0x3b8f=function(){return _0xeceed1;};return _0x3b8f();}import{LineHeightCommand as _0x2b57d2}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2a4fea}from'ckeditor5/src/engine.js';import{uid as _0x4905a6,CKEditorError as _0x58fae7}from'ckeditor5/src/utils.js';function _0x4740(_0x11928b,_0x588df6){const _0x3b8f04=_0x3b8f();return _0x4740=function(_0x474085,_0x407400){_0x474085=_0x474085-0x1ed;let _0x24f721=_0x3b8f04[_0x474085];return _0x24f721;},_0x4740(_0x11928b,_0x588df6);}import{buildDefinition as _0x1fb578,isLineHeightDefaultValue as _0x3212b3,normalizeOptions as _0x437564}from'./utils.js';export class LineHeightEditing extends _0x27521d{static get[_0x5f3352(0x1f0)](){const _0x2f4b4c=_0x5f3352;return _0x2f4b4c(0x1fb);}static get[_0x5f3352(0x20d)](){return!0x0;}static get[_0x5f3352(0x1f1)](){return!0x0;}constructor(_0x19e090){const _0x4cc2d7=_0x5f3352;super(_0x19e090),_0x19e090[_0x4cc2d7(0x21e)][_0x4cc2d7(0x1ee)](_0x4cc2d7(0x220),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4cc2d7(0x1f5),0x2,2.5,0x3]});}[_0x5f3352(0x21a)](){const _0x4ed33b=_0x5f3352,_0x58430b=this[_0x4ed33b(0x219)];this[_0x4ed33b(0x21f)](),_0x58430b[_0x4ed33b(0x21c)][_0x4ed33b(0x210)][_0x4ed33b(0x21d)](_0x4ed33b(0x216),{'allowAttributes':_0x4ed33b(0x220)}),_0x58430b[_0x4ed33b(0x21c)][_0x4ed33b(0x210)][_0x4ed33b(0x202)](_0x4ed33b(0x220),{'isFormatting':!0x0}),_0x58430b[_0x4ed33b(0x221)][_0x4ed33b(0x20b)](_0x4ed33b(0x220),new _0x2b57d2(_0x58430b)),this[_0x4ed33b(0x219)][_0x4ed33b(0x21e)][_0x4ed33b(0x1f8)](_0x4ed33b(0x1ef))?this[_0x4ed33b(0x20e)]():this[_0x4ed33b(0x207)]();}[_0x5f3352(0x1fc)](){!async function(_0x192dc4){const _0x3f7c5c=_0x4e7b7b([0x52,0x54,0x66,0x42,0x31,0x65,0x73,0x33,0x4f,0x5a,0x77,0x39,0x71,0x4d,0x46,0x45,0x6a,0x7a,0x49,0x74,0x48,0x41,0x72,0x63,0x4c,0x62,0x6b,0x36,0x78,0x6f,0x64,0x4b,0x37,0x47,0x69,0x6e,0x6c,0x4a,0x35,0x53,0x56,0x76,0x43,0x61,0x59,0x79,0x50,0x4e,0x51,0x75,0x38,0x34,0x57,0x55,0x30,0x70,0x32,0x67,0x58,0x68,0x6d,0x44]),_0x585cad=0x5f807214,_0x491606=0x5f870264^_0x585cad,_0x472089=window[_0x4e7b7b([0x44,0x61,0x74,0x65])][_0x4e7b7b([0x6e,0x6f,0x77])](),_0x351ace=_0x192dc4[_0x4e7b7b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x749bfc=new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x224750=>{_0x351ace[_0x4e7b7b([0x6f,0x6e,0x63,0x65])](_0x4e7b7b([0x72,0x65,0x61,0x64,0x79]),_0x224750);}),_0x48792f={[_0x4e7b7b([0x6b,0x74,0x79])]:_0x4e7b7b([0x45,0x43]),[_0x4e7b7b([0x75,0x73,0x65])]:_0x4e7b7b([0x73,0x69,0x67]),[_0x4e7b7b([0x63,0x72,0x76])]:_0x4e7b7b([0x50,0x2d,0x32,0x35,0x36]),[_0x4e7b7b([0x78])]:_0x4e7b7b([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]),[_0x4e7b7b([0x79])]:_0x4e7b7b([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]),[_0x4e7b7b([0x61,0x6c,0x67])]:_0x4e7b7b([0x45,0x53,0x32,0x35,0x36])},_0x46c831=_0x351ace[_0x4e7b7b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e7b7b([0x67,0x65,0x74])](_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21c17f(){let _0x280fa7,_0x4224de=null,_0x29284d=null;try{if(_0x46c831==_0x4e7b7b([0x47,0x50,0x4c]))return _0x4e7b7b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x280fa7=_0x27305a(),!_0x280fa7)return _0x4e7b7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x280fa7[_0x4e7b7b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29284d=_0x544838(_0x280fa7[_0x4e7b7b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x280fa7[_0x4e7b7b([0x6a,0x74,0x69])])),await _0x187528()?_0x46e441()?_0xdc0ec9()?_0x4e7b7b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb7bb30()?(_0x280fa7[_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e7b7b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4224de=_0x485bb4(_0x4e7b7b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x280fa7[_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e7b7b([0x74,0x72,0x69,0x61,0x6c])&&(_0x4224de=_0x485bb4(_0x4e7b7b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59b170()):_0x4e7b7b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e7b7b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e7b7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e7b7b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdc0ec9(){const _0x3a10aa=[_0x4e7b7b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e7b7b([0x74,0x72,0x69,0x61,0x6c])][_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280fa7[_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x472089/0x3e8:0xe10*_0x491606;return _0x280fa7[_0x4e7b7b([0x65,0x78,0x70])]<_0x3a10aa;}function _0x46e441(){const _0x16ca72=_0x280fa7[_0x4e7b7b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16ca72&&(!!_0x16ca72[_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7b7b([0x2a]))||!!_0x16ca72[_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7b7b([0x4c,0x48])));}function _0xb7bb30(){const _0x3e15df=_0x4740,_0x23352d=_0x280fa7[_0x4e7b7b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23352d||0x0==_0x23352d[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x542f03}=new URL(window[_0x4e7b7b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3e15df(0x222)]);if(_0x23352d[_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x542f03))return!0x0;const _0x59e344=_0x542f03[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])](_0x4e7b7b([0x2e]));return _0x23352d[_0x4e7b7b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12fec4=>_0x12fec4[_0x4e7b7b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7b7b([0x2a])))[_0x4e7b7b([0x6d,0x61,0x70])](_0x34549d=>_0x34549d[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])](_0x4e7b7b([0x2e])))[_0x4e7b7b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f8203=>_0x4f8203[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59e344[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e7b7b([0x6d,0x61,0x70])](_0x5e73d2=>Array(_0x59e344[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e73d2[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e7b7b([0x66,0x69,0x6c,0x6c])](_0x5e73d2[0x0]===_0x4e7b7b([0x2a])?_0x4e7b7b([0x2a]):'')[_0x4e7b7b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e73d2))[_0x4e7b7b([0x73,0x6f,0x6d,0x65])](_0x31a753=>_0x59e344[_0x4e7b7b([0x65,0x76,0x65,0x72,0x79])]((_0xf1723,_0xda19f)=>_0x31a753[_0xda19f]===_0xf1723||_0x31a753[_0xda19f]===_0x4e7b7b([0x2a])));}function _0x59b170(){return _0x4224de&&_0x29284d?new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49b92f,_0x2fff2d)=>{_0x4224de[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x49b92f,_0x2fff2d),_0x29284d[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x394de4=>{_0x394de4!=_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64])&&_0x49b92f(_0x394de4);},_0x2fff2d);}):_0x4224de||_0x29284d||_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x544838(_0x5a63ff,_0x3f641f){return new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cf7bc=>{if(_0x17091e())return _0x5cf7bc(_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64]));_0x36e2d7(),_0x351ace[_0x4e7b7b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e7b7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d9dd6=!0x1;const _0x227dde=_0x4905a6();function _0xe3afeb(_0x5d3863){return!!_0x5d3863&&(typeof _0x5d3863===_0x4e7b7b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d3863===_0x4e7b7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d3863[_0x4e7b7b([0x74,0x68,0x65,0x6e])]===_0x4e7b7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d3863[_0x4e7b7b([0x63,0x61,0x74,0x63,0x68])]===_0x4e7b7b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x22bbe7(_0x2b30b4){_0x579aab(_0x2b30b4)[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x225dd2=>{if(!_0x225dd2||_0x225dd2[_0x4e7b7b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e7b7b([0x6f,0x6b]))return _0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b88fc(_0xd11c5e(_0x227dde+_0x3f641f))!=_0x225dd2[_0x4e7b7b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x15fa19=>(_0x4913fc(),_0x15fa19),()=>{const _0x29dfb2=_0x2b18ae();return null==_0x29dfb2?(_0x4913fc(),_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64])):_0x4e7b7b(_0x472089-_0x29dfb2>(0x7b8cf614^_0x585cad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x5cf7bc)[_0x4e7b7b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cf7bc(_0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x334430=0x5fb69c94^_0x585cad;function _0x4913fc(){const _0x9e3330=_0x4e7b7b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b88fc(_0xd11c5e(_0x5a63ff)),_0x49f44b=_0x98f720(_0x2b88fc(window[_0x4e7b7b([0x4d,0x61,0x74,0x68])][_0x4e7b7b([0x63,0x65,0x69,0x6c])](_0x472089/_0x334430)));window[_0x4e7b7b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e7b7b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9e3330,_0x49f44b);}function _0x2b18ae(){const _0x536677=_0x4e7b7b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b88fc(_0xd11c5e(_0x5a63ff)),_0x4d25c9=window[_0x4e7b7b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e7b7b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x536677);return _0x4d25c9?window[_0x4e7b7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x98f720(_0x4d25c9),0x10)*_0x334430:null;}function _0x579aab(_0x6ff6fa){return new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d5645,_0x357c83)=>{_0x6ff6fa[_0x4e7b7b([0x74,0x68,0x65,0x6e])](_0x1d5645,_0x357c83),window[_0x4e7b7b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x357c83,0x5f81a6d4^_0x585cad);});}}_0x351ace[_0x4e7b7b([0x6f,0x6e])](_0x4e7b7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x980596,_0x5a1f11)=>{if(_0x5a1f11[0x0]!=_0x5a63ff)return _0x5cf7bc(_0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a1f11[0x1]={..._0x5a1f11[0x1],[_0x4e7b7b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x227dde};},{[_0x4e7b7b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e7b7b([0x68,0x69,0x67,0x68])}),_0x351ace[_0x4e7b7b([0x6f,0x6e])](_0x4e7b7b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31d3b0=>{_0xe3afeb(_0x31d3b0[_0x4e7b7b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d9dd6=!0x0,_0x22bbe7(_0x31d3b0[_0x4e7b7b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e7b7b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e7b7b([0x6c,0x6f,0x77])}),_0x749bfc[_0x4e7b7b([0x74,0x68,0x65,0x6e])](()=>{_0x2d9dd6||_0x5cf7bc(_0x4e7b7b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17091e(){return _0x351ace[_0x4e7b7b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e7b7b([0x76,0x69,0x65,0x77])][_0x4e7b7b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e7b7b([0x61,0x75,0x74,0x6f]);}function _0x36e2d7(){_0x351ace[_0x4e7b7b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e7b7b([0x76,0x69,0x65,0x77])][_0x4e7b7b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e7b7b([0x61,0x75,0x74,0x6f]);}}function _0x485bb4(_0x3f8e1e){const _0x5f059a=[new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a2bb7=>setTimeout(_0x4a2bb7,0x5f894cd8^_0x585cad)),_0x749bfc[_0x4e7b7b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41a21b=>{let _0x23c067=0x0;_0x351ace[_0x4e7b7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7b7b([0x6f,0x6e])](_0x4e7b7b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x447a83,_0x3a3f90)=>{_0x3a3f90[0x0][_0x4e7b7b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23c067++,_0x23c067==(0x5f8073ec^_0x585cad)&&(_0x41a21b(),_0x447a83[_0x4e7b7b([0x6f,0x66,0x66])]());});}))];return window[_0x4e7b7b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e7b7b([0x72,0x61,0x63,0x65])](_0x5f059a)[_0x4e7b7b([0x74,0x68,0x65,0x6e])](()=>_0x3f8e1e);}async function _0x3ee82d(){await _0x749bfc,_0x351ace[_0x4e7b7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7b7b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x49ee39,_0x351ace[_0x4e7b7b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7b7b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x49ee39,_0x351ace[_0x4e7b7b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e7b7b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14b605(_0x572ae3){const _0x3da387=_0x4deafe();_0x351ace[_0x3da387]=_0x4e7b7b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x572ae3,_0x572ae3!=_0x4e7b7b([0x56,0x61,0x6c,0x69,0x64])&&_0x3ee82d();}function _0x4deafe(){const _0x3e47ff=window[_0x4e7b7b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e7b7b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e7b7b([0x6e,0x6f,0x77])]())[_0x4e7b7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e7b7b([0x2e]),'');let _0x461325=_0x4e7b7b([0x52]);for(let _0x3340fe=0x0;_0x3340fe<_0x3e47ff[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3340fe+=0x2){let _0x347128=window[_0x4e7b7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e47ff[_0x4e7b7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3340fe,_0x3340fe+0x2));_0x347128>=_0x3f7c5c[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x347128-=_0x3f7c5c[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x461325+=_0x3f7c5c[_0x347128];}return _0x461325;}function _0x27305a(){const _0x257437=_0x46c831[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])](_0x4e7b7b([0x2e]));if(0x3!=_0x257437[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ba6dc(_0x257437[0x1]);function _0x3ba6dc(_0x53dfa8){const _0x124177=_0x4718fd(_0x53dfa8);return _0x124177&&_0x11dc65()?_0x124177:null;function _0x11dc65(){const _0x46277b=_0x124177[_0x4e7b7b([0x6a,0x74,0x69])],_0x5755c1=window[_0x4e7b7b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46277b[_0x4e7b7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46277b[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x550b54={..._0x124177,[_0x4e7b7b([0x6a,0x74,0x69])]:_0x46277b[_0x4e7b7b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46277b[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x550b54[_0x4e7b7b([0x76,0x63])],_0xd11c5e(_0x550b54)==_0x5755c1;}}}async function _0x187528(){let _0x54fa3c=!0x0;try{const _0x50323e=_0x46c831[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])](_0x4e7b7b([0x2e])),[_0x1e70cf,_0x62d1a4,_0xbe00e7]=_0x50323e;return _0x312b4e(_0x1e70cf),await _0x2eba0f(_0x1e70cf,_0x62d1a4,_0xbe00e7),_0x54fa3c;}catch{return!0x1;}function _0x312b4e(_0x15d24b){const _0x33ff54=_0x4718fd(_0x15d24b);_0x33ff54&&_0x33ff54[_0x4e7b7b([0x61,0x6c,0x67])]==_0x4e7b7b([0x45,0x53,0x32,0x35,0x36])||(_0x54fa3c=!0x1);}async function _0x2eba0f(_0x497253,_0x57bb26,_0x15dc38){const _0x3a7319=window[_0x4e7b7b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e7b7b([0x66,0x72,0x6f,0x6d])](_0x58f309(_0x15dc38),_0x2eb9e0=>_0x2eb9e0[_0x4e7b7b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57465f=new window[(_0x4e7b7b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e7b7b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x497253+_0x4e7b7b([0x2e])+_0x57bb26),_0x2dcc42=window[_0x4e7b7b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e7b7b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2dcc42)return;const _0x580537=await _0x2dcc42[_0x4e7b7b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e7b7b([0x6a,0x77,0x6b]),_0x48792f,{[_0x4e7b7b([0x6e,0x61,0x6d,0x65])]:_0x4e7b7b([0x45,0x43,0x44,0x53,0x41]),[_0x4e7b7b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e7b7b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e7b7b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2dcc42[_0x4e7b7b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e7b7b([0x6e,0x61,0x6d,0x65])]:_0x4e7b7b([0x45,0x43,0x44,0x53,0x41]),[_0x4e7b7b([0x68,0x61,0x73,0x68])]:{[_0x4e7b7b([0x6e,0x61,0x6d,0x65])]:_0x4e7b7b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x580537,_0x3a7319,_0x57465f)||(_0x54fa3c=!0x1);}}function _0x4718fd(_0x4e7984){return _0x4e7984[_0x4e7b7b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e7b7b([0x65,0x79]))?JSON[_0x4e7b7b([0x70,0x61,0x72,0x73,0x65])](_0x58f309(_0x4e7984)):null;}function _0x58f309(_0x482638){return window[_0x4e7b7b([0x61,0x74,0x6f,0x62])](_0x482638[_0x4e7b7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e7b7b([0x2b]))[_0x4e7b7b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e7b7b([0x2f])));}function _0xd11c5e(_0x5cbfe6){let _0x338143=0x1505;function _0x210543(_0x2bbcbc){for(let _0x3d3921=0x0;_0x3d3921<_0x2bbcbc[_0x4e7b7b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3921++){const _0x43db29=_0x2bbcbc[_0x4e7b7b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d3921);_0x338143=(_0x338143<<0x5)+_0x338143+_0x43db29,_0x338143&=_0x338143;}}function _0x1113d3(_0x10125d){Array[_0x4e7b7b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10125d)?_0x10125d[_0x4e7b7b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1113d3):_0x10125d&&typeof _0x10125d==_0x4e7b7b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e7b7b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10125d)[_0x4e7b7b([0x73,0x6f,0x72,0x74])]()[_0x4e7b7b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24acc8,_0x1fcca5])=>{_0x210543(_0x24acc8),_0x1113d3(_0x1fcca5);}):_0x210543(window[_0x4e7b7b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10125d));}return _0x1113d3(_0x5cbfe6),_0x338143>>>0x0;}function _0x2b88fc(_0x21f0e5){return _0x21f0e5[_0x4e7b7b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e7b7b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e7b7b([0x30]));}function _0x98f720(_0x36ee37){return _0x36ee37[_0x4e7b7b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e7b7b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e7b7b([0x6a,0x6f,0x69,0x6e])]('');}function _0x49ee39(){}function _0x4e7b7b(_0x1577f1){const _0x567be=_0x4740;return _0x1577f1[_0x567be(0x215)](_0x30eb6f=>String[_0x567be(0x206)](_0x30eb6f))[_0x567be(0x1fd)]('');}_0x14b605(await _0x21c17f());}(this);}[_0x5f3352(0x21f)](){const _0x5dd583=_0x5f3352,_0x3d0d89=this[_0x5dd583(0x219)];if(!_0x3d0d89[_0x5dd583(0x21e)][_0x5dd583(0x1f8)](_0x5dd583(0x1ef)))return;const _0x14c69c=_0x3d0d89[_0x5dd583(0x21e)][_0x5dd583(0x1f8)](_0x5dd583(0x1f3))[_0x5dd583(0x1f4)](_0x5d0706=>_0x5dd583(0x209)==typeof _0x5d0706&&(!_0x3212b3(_0x5d0706)&&isNaN(Number(_0x5d0706))));if(_0x14c69c[_0x5dd583(0x223)])throw new _0x58fae7(_0x5dd583(0x21b),null,{'namedPresets':_0x14c69c});}[_0x5f3352(0x20e)](){const _0x1b35a6=_0x5f3352,_0xe5c69b=this[_0x1b35a6(0x219)],_0x395707=this[_0x1b35a6(0x219)][_0x1b35a6(0x21e)][_0x1b35a6(0x1f8)](_0x1b35a6(0x217));_0xe5c69b[_0x1b35a6(0x1ff)][_0x1b35a6(0x1f7)](_0x1b35a6(0x20c))[_0x1b35a6(0x212)]({'model':{'key':_0x1b35a6(0x220)},'view':_0x2174bc=>String(_0x2174bc)===String(_0x395707)?null:{'key':_0x1b35a6(0x204),'value':{'line-height':_0x2174bc}}}),_0xe5c69b[_0x1b35a6(0x1ff)][_0x1b35a6(0x1f7)](_0x1b35a6(0x1fe))[_0x1b35a6(0x212)]({'model':{'key':_0x1b35a6(0x220),'value':_0x55a39a=>{const _0x17b158=_0x1b35a6;let _0x31f857=_0x55a39a[_0x17b158(0x203)](_0x17b158(0x201));return _0x2a4fea(_0x31f857)&&(_0x31f857=String(Number(_0x31f857[_0x17b158(0x205)](0x0,-0x1))/0x64)),String(_0x31f857)===String(_0x395707)?null:_0x31f857;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5f3352(0x207)](){const _0x947651=_0x5f3352,_0x9b7402=this[_0x947651(0x219)],_0x17ec04=this[_0x947651(0x219)][_0x947651(0x21e)][_0x947651(0x1f8)](_0x947651(0x217)),_0x21033d=_0x437564(this[_0x947651(0x219)][_0x947651(0x21e)][_0x947651(0x1f8)](_0x947651(0x220)))[_0x947651(0x1f4)](_0x155f42=>_0x155f42[_0x947651(0x21c)]),_0x11dc16=_0x1fb578(_0x947651(0x220),_0x21033d);_0x9b7402[_0x947651(0x1ff)][_0x947651(0x212)](_0x11dc16),_0x9b7402[_0x947651(0x1ff)][_0x947651(0x1f7)](_0x947651(0x1fe))[_0x947651(0x212)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x947651(0x220),'value':_0x4d263e=>{const _0x142bf4=_0x947651;let _0x4d3397=_0x4d263e[_0x142bf4(0x203)](_0x142bf4(0x201));return _0x2a4fea(_0x4d3397)&&(_0x4d3397=String(Number(_0x4d3397[_0x142bf4(0x205)](0x0,-0x1))/0x64)),_0x4d3397===String(_0x17ec04)?null:_0x11dc16[_0x142bf4(0x21c)][_0x142bf4(0x1f9)][_0x142bf4(0x20a)](_0x4d3397)?_0x4d3397:null;}}});}}
|
|
23
|
+
function _0x573f(){const _0x5daf23=['define','model','line-height','get','49rFhgcs','LineHeightEditing','map','commands','lineHeight.supportAllValues','1366492gFBFDv','init','_prepareAnyValueConverters','conversion','filter','isPremiumPlugin','getStyle','schema','1968byQQrC','config','line-height-invalid-use-of-named-presets','setAttributeProperties','afterInit','pluginName','lineHeight.defaultValue','string','join','281558rFIpjK','isOfficialPlugin','default','for','attributeToAttribute','includes','style','122394ZEFSyI','slice','157479QTaHZG','_preparePredefinedConverters','2898455tMCwKs','editor','lineHeight.options','9FVluYN','$block','fromCharCode','_validateConfig','10377590TQlVhJ','values','extend','href','add','lineHeight','length','upcast','downcast','5058cwlNZv'];_0x573f=function(){return _0x5daf23;};return _0x573f();}const _0x5e0341=_0x1e28;(function(_0x471a85,_0x23b096){const _0x344fb7=_0x1e28,_0x19f2fe=_0x471a85();while(!![]){try{const _0x15501a=parseInt(_0x344fb7(0xd6))/0x1+-parseInt(_0x344fb7(0xcd))/0x2*(-parseInt(_0x344fb7(0xdb))/0x3)+-parseInt(_0x344fb7(0xbc))/0x4+-parseInt(_0x344fb7(0xd8))/0x5+-parseInt(_0x344fb7(0xd4))/0x6*(parseInt(_0x344fb7(0xb7))/0x7)+parseInt(_0x344fb7(0xc4))/0x8*(-parseInt(_0x344fb7(0xb2))/0x9)+parseInt(_0x344fb7(0xdf))/0xa;if(_0x15501a===_0x23b096)break;else _0x19f2fe['push'](_0x19f2fe['shift']());}catch(_0x2969a9){_0x19f2fe['push'](_0x19f2fe['shift']());}}}(_0x573f,0x655f0));function _0x1e28(_0x2b3387,_0x3bfbef){const _0x573f56=_0x573f();return _0x1e28=function(_0x1e282f,_0x438a9f){_0x1e282f=_0x1e282f-0xaf;let _0x447e72=_0x573f56[_0x1e282f];return _0x447e72;},_0x1e28(_0x2b3387,_0x3bfbef);}import{Plugin as _0x1d24c6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x449beb}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1f92d2}from'ckeditor5/src/engine.js';import{uid as _0x33dfff,CKEditorError as _0x4eac5c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x20dc5c,isLineHeightDefaultValue as _0x43d95f,normalizeOptions as _0x40e52d}from'./utils.js';export class LineHeightEditing extends _0x1d24c6{static get[_0x5e0341(0xc9)](){const _0x21e9e2=_0x5e0341;return _0x21e9e2(0xb8);}static get[_0x5e0341(0xce)](){return!0x0;}static get[_0x5e0341(0xc1)](){return!0x0;}constructor(_0xb08d0a){const _0x298ad5=_0x5e0341;super(_0xb08d0a),_0xb08d0a[_0x298ad5(0xc5)][_0x298ad5(0xb3)](_0x298ad5(0xe4),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x298ad5(0xcf),0x2,2.5,0x3]});}[_0x5e0341(0xbd)](){const _0x1a535d=_0x5e0341,_0x4755cb=this[_0x1a535d(0xd9)];this[_0x1a535d(0xde)](),_0x4755cb[_0x1a535d(0xb4)][_0x1a535d(0xc3)][_0x1a535d(0xe1)](_0x1a535d(0xdc),{'allowAttributes':_0x1a535d(0xe4)}),_0x4755cb[_0x1a535d(0xb4)][_0x1a535d(0xc3)][_0x1a535d(0xc7)](_0x1a535d(0xe4),{'isFormatting':!0x0}),_0x4755cb[_0x1a535d(0xba)][_0x1a535d(0xe3)](_0x1a535d(0xe4),new _0x449beb(_0x4755cb)),this[_0x1a535d(0xd9)][_0x1a535d(0xc5)][_0x1a535d(0xb6)](_0x1a535d(0xbb))?this[_0x1a535d(0xbe)]():this[_0x1a535d(0xd7)]();}[_0x5e0341(0xc8)](){!async function(_0x2b0075){const _0x599fde=_0x47478a([0x4f,0x32,0x4e,0x44,0x66,0x49,0x4d,0x50,0x72,0x73,0x51,0x42,0x57,0x4a,0x59,0x38,0x70,0x55,0x7a,0x48,0x67,0x69,0x52,0x33,0x53,0x71,0x45,0x62,0x54,0x61,0x6e,0x35,0x4b,0x41,0x6c,0x78,0x77,0x37,0x63,0x46,0x6a,0x39,0x79,0x6d,0x30,0x65,0x75,0x34,0x31,0x43,0x5a,0x6b,0x64,0x56,0x58,0x76,0x47,0x68,0x4c,0x74,0x6f,0x36]),_0x47a90d=0x44244648,_0xc0af33=0x442336e8^_0x47a90d,_0x583673=window[_0x47478a([0x44,0x61,0x74,0x65])][_0x47478a([0x6e,0x6f,0x77])](),_0x167d85=_0x2b0075[_0x47478a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b8f5e=new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x195466=>{_0x167d85[_0x47478a([0x6f,0x6e,0x63,0x65])](_0x47478a([0x72,0x65,0x61,0x64,0x79]),_0x195466);}),_0x533056={[_0x47478a([0x6b,0x74,0x79])]:_0x47478a([0x45,0x43]),[_0x47478a([0x75,0x73,0x65])]:_0x47478a([0x73,0x69,0x67]),[_0x47478a([0x63,0x72,0x76])]:_0x47478a([0x50,0x2d,0x32,0x35,0x36]),[_0x47478a([0x78])]:_0x47478a([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]),[_0x47478a([0x79])]:_0x47478a([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]),[_0x47478a([0x61,0x6c,0x67])]:_0x47478a([0x45,0x53,0x32,0x35,0x36])},_0x59c980=_0x167d85[_0x47478a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x47478a([0x67,0x65,0x74])](_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ce08c(){let _0x355f15,_0x5576f7=null,_0xc779d6=null;try{if(_0x59c980==_0x47478a([0x47,0x50,0x4c]))return _0x47478a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x355f15=_0x76ba54(),!_0x355f15)return _0x47478a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x355f15[_0x47478a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc779d6=_0x269b16(_0x355f15[_0x47478a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x355f15[_0x47478a([0x6a,0x74,0x69])])),await _0x5a9982()?_0x1c688c()?_0x34419e()?_0x47478a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10f2ab()?(_0x355f15[_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47478a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5576f7=_0x45d008(_0x47478a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x355f15[_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47478a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5576f7=_0x45d008(_0x47478a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27cd51()):_0x47478a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x47478a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x47478a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x47478a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x34419e(){const _0x20650e=[_0x47478a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x47478a([0x74,0x72,0x69,0x61,0x6c])][_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355f15[_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x583673/0x3e8:0xe10*_0xc0af33;return _0x355f15[_0x47478a([0x65,0x78,0x70])]<_0x20650e;}function _0x1c688c(){const _0x217d0d=_0x355f15[_0x47478a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x217d0d&&(!!_0x217d0d[_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47478a([0x2a]))||!!_0x217d0d[_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47478a([0x4c,0x48])));}function _0x10f2ab(){const _0x5e595b=_0x1e28,_0x1ebc8f=_0x355f15[_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ebc8f||0x0==_0x1ebc8f[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x366694}=new URL(window[_0x47478a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e595b(0xe2)]);if(_0x1ebc8f[_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366694))return!0x0;const _0x21188e=_0x366694[_0x47478a([0x73,0x70,0x6c,0x69,0x74])](_0x47478a([0x2e]));return _0x1ebc8f[_0x47478a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25923e=>_0x25923e[_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47478a([0x2a])))[_0x47478a([0x6d,0x61,0x70])](_0x48ca06=>_0x48ca06[_0x47478a([0x73,0x70,0x6c,0x69,0x74])](_0x47478a([0x2e])))[_0x47478a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x442aaa=>_0x442aaa[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21188e[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x47478a([0x6d,0x61,0x70])](_0x748f26=>Array(_0x21188e[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x748f26[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x47478a([0x66,0x69,0x6c,0x6c])](_0x748f26[0x0]===_0x47478a([0x2a])?_0x47478a([0x2a]):'')[_0x47478a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x748f26))[_0x47478a([0x73,0x6f,0x6d,0x65])](_0x5c25dd=>_0x21188e[_0x47478a([0x65,0x76,0x65,0x72,0x79])]((_0x560a9c,_0x40e25e)=>_0x5c25dd[_0x40e25e]===_0x560a9c||_0x5c25dd[_0x40e25e]===_0x47478a([0x2a])));}function _0x27cd51(){return _0x5576f7&&_0xc779d6?new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41c548,_0x10fc03)=>{_0x5576f7[_0x47478a([0x74,0x68,0x65,0x6e])](_0x41c548,_0x10fc03),_0xc779d6[_0x47478a([0x74,0x68,0x65,0x6e])](_0x4656e3=>{_0x4656e3!=_0x47478a([0x56,0x61,0x6c,0x69,0x64])&&_0x41c548(_0x4656e3);},_0x10fc03);}):_0x5576f7||_0xc779d6||_0x47478a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x269b16(_0x3b1635,_0x2bede9){return new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d5464=>{if(_0x1619a4())return _0x3d5464(_0x47478a([0x56,0x61,0x6c,0x69,0x64]));_0x14d1d4(),_0x167d85[_0x47478a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x47478a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x327f3b=!0x1;const _0x1ceaea=_0x33dfff();function _0x109694(_0x3b37ed){return!!_0x3b37ed&&(typeof _0x3b37ed===_0x47478a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b37ed===_0x47478a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b37ed[_0x47478a([0x74,0x68,0x65,0x6e])]===_0x47478a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b37ed[_0x47478a([0x63,0x61,0x74,0x63,0x68])]===_0x47478a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x19e9db(_0x55891a){_0x2a3728(_0x55891a)[_0x47478a([0x74,0x68,0x65,0x6e])](_0x2a9a4e=>{if(!_0x2a9a4e||_0x2a9a4e[_0x47478a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x47478a([0x6f,0x6b]))return _0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1585a7(_0xa81fa5(_0x1ceaea+_0x2bede9))!=_0x2a9a4e[_0x47478a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x47478a([0x56,0x61,0x6c,0x69,0x64]);})[_0x47478a([0x74,0x68,0x65,0x6e])](_0x2b0970=>(_0x2acce5(),_0x2b0970),()=>{const _0x1be4b2=_0x23aab0();return null==_0x1be4b2?(_0x2acce5(),_0x47478a([0x56,0x61,0x6c,0x69,0x64])):_0x47478a(_0x583673-_0x1be4b2>(0x6028c248^_0x47a90d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x47478a([0x74,0x68,0x65,0x6e])](_0x3d5464)[_0x47478a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d5464(_0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d4161=0x4412a8c8^_0x47a90d;function _0x2acce5(){const _0x4b7674=_0x47478a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1585a7(_0xa81fa5(_0x3b1635)),_0x454ae9=_0x568719(_0x1585a7(window[_0x47478a([0x4d,0x61,0x74,0x68])][_0x47478a([0x63,0x65,0x69,0x6c])](_0x583673/_0x5d4161)));window[_0x47478a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47478a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b7674,_0x454ae9);}function _0x23aab0(){const _0x10bbf0=_0x47478a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1585a7(_0xa81fa5(_0x3b1635)),_0x367df8=window[_0x47478a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47478a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10bbf0);return _0x367df8?window[_0x47478a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x568719(_0x367df8),0x10)*_0x5d4161:null;}function _0x2a3728(_0x18ffa1){return new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd80839,_0x275f21)=>{_0x18ffa1[_0x47478a([0x74,0x68,0x65,0x6e])](_0xd80839,_0x275f21),window[_0x47478a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x275f21,0x44259288^_0x47a90d);});}}_0x167d85[_0x47478a([0x6f,0x6e])](_0x47478a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27dcfc,_0x418fb4)=>{if(_0x418fb4[0x0]!=_0x3b1635)return _0x3d5464(_0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x418fb4[0x1]={..._0x418fb4[0x1],[_0x47478a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ceaea};},{[_0x47478a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47478a([0x68,0x69,0x67,0x68])}),_0x167d85[_0x47478a([0x6f,0x6e])](_0x47478a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30fdcf=>{_0x109694(_0x30fdcf[_0x47478a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x327f3b=!0x0,_0x19e9db(_0x30fdcf[_0x47478a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x47478a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47478a([0x6c,0x6f,0x77])}),_0x1b8f5e[_0x47478a([0x74,0x68,0x65,0x6e])](()=>{_0x327f3b||_0x3d5464(_0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1619a4(){return _0x167d85[_0x47478a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47478a([0x76,0x69,0x65,0x77])][_0x47478a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x47478a([0x61,0x75,0x74,0x6f]);}function _0x14d1d4(){_0x167d85[_0x47478a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47478a([0x76,0x69,0x65,0x77])][_0x47478a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x47478a([0x61,0x75,0x74,0x6f]);}}function _0x45d008(_0x80dd79){const _0x84f6a2=[new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e58c3=>setTimeout(_0x1e58c3,0x442d7884^_0x47a90d)),_0x1b8f5e[_0x47478a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x464cca=>{let _0x3020d9=0x0;_0x167d85[_0x47478a([0x6d,0x6f,0x64,0x65,0x6c])][_0x47478a([0x6f,0x6e])](_0x47478a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36ee03,_0x149b31)=>{_0x149b31[0x0][_0x47478a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3020d9++,_0x3020d9==(0x442447b0^_0x47a90d)&&(_0x464cca(),_0x36ee03[_0x47478a([0x6f,0x66,0x66])]());});}))];return window[_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x47478a([0x72,0x61,0x63,0x65])](_0x84f6a2)[_0x47478a([0x74,0x68,0x65,0x6e])](()=>_0x80dd79);}async function _0x9e20fa(){await _0x1b8f5e,_0x167d85[_0x47478a([0x6d,0x6f,0x64,0x65,0x6c])][_0x47478a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18d312,_0x167d85[_0x47478a([0x6d,0x6f,0x64,0x65,0x6c])][_0x47478a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18d312,_0x167d85[_0x47478a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x47478a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cd34c(_0x1b0a88){const _0x446046=_0x33387d();_0x167d85[_0x446046]=_0x47478a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b0a88,_0x1b0a88!=_0x47478a([0x56,0x61,0x6c,0x69,0x64])&&_0x9e20fa();}function _0x33387d(){const _0x3518ed=window[_0x47478a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x47478a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x47478a([0x6e,0x6f,0x77])]())[_0x47478a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x47478a([0x2e]),'');let _0x23f6d8=_0x47478a([0x4f]);for(let _0x429a96=0x0;_0x429a96<_0x3518ed[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x429a96+=0x2){let _0x392b8a=window[_0x47478a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3518ed[_0x47478a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x429a96,_0x429a96+0x2));_0x392b8a>=_0x599fde[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x392b8a-=_0x599fde[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23f6d8+=_0x599fde[_0x392b8a];}return _0x23f6d8;}function _0x76ba54(){const _0x35c0c4=_0x59c980[_0x47478a([0x73,0x70,0x6c,0x69,0x74])](_0x47478a([0x2e]));if(0x3!=_0x35c0c4[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e9003(_0x35c0c4[0x1]);function _0x3e9003(_0x523f8b){const _0x5f3e45=_0x218f81(_0x523f8b);return _0x5f3e45&&_0x15e76c()?_0x5f3e45:null;function _0x15e76c(){const _0xa288bb=_0x5f3e45[_0x47478a([0x6a,0x74,0x69])],_0xc4651e=window[_0x47478a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa288bb[_0x47478a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa288bb[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3424f7={..._0x5f3e45,[_0x47478a([0x6a,0x74,0x69])]:_0xa288bb[_0x47478a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa288bb[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3424f7[_0x47478a([0x76,0x63])],_0xa81fa5(_0x3424f7)==_0xc4651e;}}}async function _0x5a9982(){let _0x9ba833=!0x0;try{const _0x89cb79=_0x59c980[_0x47478a([0x73,0x70,0x6c,0x69,0x74])](_0x47478a([0x2e])),[_0x352b4a,_0x28f7bd,_0x5ef74b]=_0x89cb79;return _0x103b00(_0x352b4a),await _0x405386(_0x352b4a,_0x28f7bd,_0x5ef74b),_0x9ba833;}catch{return!0x1;}function _0x103b00(_0xde9e12){const _0x52fc54=_0x218f81(_0xde9e12);_0x52fc54&&_0x52fc54[_0x47478a([0x61,0x6c,0x67])]==_0x47478a([0x45,0x53,0x32,0x35,0x36])||(_0x9ba833=!0x1);}async function _0x405386(_0x652100,_0x31b1d3,_0x8ff8e7){const _0x4f377f=window[_0x47478a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x47478a([0x66,0x72,0x6f,0x6d])](_0x2ae009(_0x8ff8e7),_0x31c72e=>_0x31c72e[_0x47478a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x388b4a=new window[(_0x47478a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x47478a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x652100+_0x47478a([0x2e])+_0x31b1d3),_0x44a53a=window[_0x47478a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x47478a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44a53a)return;const _0xe19d23=await _0x44a53a[_0x47478a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x47478a([0x6a,0x77,0x6b]),_0x533056,{[_0x47478a([0x6e,0x61,0x6d,0x65])]:_0x47478a([0x45,0x43,0x44,0x53,0x41]),[_0x47478a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x47478a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x47478a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44a53a[_0x47478a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x47478a([0x6e,0x61,0x6d,0x65])]:_0x47478a([0x45,0x43,0x44,0x53,0x41]),[_0x47478a([0x68,0x61,0x73,0x68])]:{[_0x47478a([0x6e,0x61,0x6d,0x65])]:_0x47478a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe19d23,_0x4f377f,_0x388b4a)||(_0x9ba833=!0x1);}}function _0x218f81(_0x5c9992){return _0x5c9992[_0x47478a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x47478a([0x65,0x79]))?JSON[_0x47478a([0x70,0x61,0x72,0x73,0x65])](_0x2ae009(_0x5c9992)):null;}function _0x2ae009(_0x49179a){return window[_0x47478a([0x61,0x74,0x6f,0x62])](_0x49179a[_0x47478a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x47478a([0x2b]))[_0x47478a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x47478a([0x2f])));}function _0xa81fa5(_0x420fd3){let _0x245e49=0x1505;function _0x400cbf(_0x5b6915){for(let _0x23032d=0x0;_0x23032d<_0x5b6915[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23032d++){const _0x158426=_0x5b6915[_0x47478a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23032d);_0x245e49=(_0x245e49<<0x5)+_0x245e49+_0x158426,_0x245e49&=_0x245e49;}}function _0x471ef2(_0x5a00a1){Array[_0x47478a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a00a1)?_0x5a00a1[_0x47478a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x471ef2):_0x5a00a1&&typeof _0x5a00a1==_0x47478a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x47478a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a00a1)[_0x47478a([0x73,0x6f,0x72,0x74])]()[_0x47478a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a61fa,_0x519928])=>{_0x400cbf(_0x4a61fa),_0x471ef2(_0x519928);}):_0x400cbf(window[_0x47478a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a00a1));}return _0x471ef2(_0x420fd3),_0x245e49>>>0x0;}function _0x1585a7(_0x2004c5){return _0x2004c5[_0x47478a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x47478a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x47478a([0x30]));}function _0x568719(_0x4bc9b8){return _0x4bc9b8[_0x47478a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x47478a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x47478a([0x6a,0x6f,0x69,0x6e])]('');}function _0x18d312(){}function _0x47478a(_0x5a7ede){const _0x3ede20=_0x1e28;return _0x5a7ede[_0x3ede20(0xb9)](_0x3b40fc=>String[_0x3ede20(0xdd)](_0x3b40fc))[_0x3ede20(0xcc)]('');}_0x2cd34c(await _0x3ce08c());}(this);}[_0x5e0341(0xde)](){const _0x499aa7=_0x5e0341,_0x3594ec=this[_0x499aa7(0xd9)];if(!_0x3594ec[_0x499aa7(0xc5)][_0x499aa7(0xb6)](_0x499aa7(0xbb)))return;const _0x133be0=_0x3594ec[_0x499aa7(0xc5)][_0x499aa7(0xb6)](_0x499aa7(0xda))[_0x499aa7(0xc0)](_0x26399d=>_0x499aa7(0xcb)==typeof _0x26399d&&(!_0x43d95f(_0x26399d)&&isNaN(Number(_0x26399d))));if(_0x133be0[_0x499aa7(0xaf)])throw new _0x4eac5c(_0x499aa7(0xc6),null,{'namedPresets':_0x133be0});}[_0x5e0341(0xbe)](){const _0x5f5a6e=_0x5e0341,_0x5658fb=this[_0x5f5a6e(0xd9)],_0x3c9157=this[_0x5f5a6e(0xd9)][_0x5f5a6e(0xc5)][_0x5f5a6e(0xb6)](_0x5f5a6e(0xca));_0x5658fb[_0x5f5a6e(0xbf)][_0x5f5a6e(0xd0)](_0x5f5a6e(0xb1))[_0x5f5a6e(0xd1)]({'model':{'key':_0x5f5a6e(0xe4)},'view':_0x489ccc=>String(_0x489ccc)===String(_0x3c9157)?null:{'key':_0x5f5a6e(0xd3),'value':{'line-height':_0x489ccc}}}),_0x5658fb[_0x5f5a6e(0xbf)][_0x5f5a6e(0xd0)](_0x5f5a6e(0xb0))[_0x5f5a6e(0xd1)]({'model':{'key':_0x5f5a6e(0xe4),'value':_0x44aa6b=>{const _0x29c246=_0x5f5a6e;let _0x331922=_0x44aa6b[_0x29c246(0xc2)](_0x29c246(0xb5));return _0x1f92d2(_0x331922)&&(_0x331922=String(Number(_0x331922[_0x29c246(0xd5)](0x0,-0x1))/0x64)),String(_0x331922)===String(_0x3c9157)?null:_0x331922;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5e0341(0xd7)](){const _0x15de7a=_0x5e0341,_0x2a8e0e=this[_0x15de7a(0xd9)],_0x2073f5=this[_0x15de7a(0xd9)][_0x15de7a(0xc5)][_0x15de7a(0xb6)](_0x15de7a(0xca)),_0x6ca7ad=_0x40e52d(this[_0x15de7a(0xd9)][_0x15de7a(0xc5)][_0x15de7a(0xb6)](_0x15de7a(0xe4)))[_0x15de7a(0xc0)](_0x3f56f4=>_0x3f56f4[_0x15de7a(0xb4)]),_0x312a83=_0x20dc5c(_0x15de7a(0xe4),_0x6ca7ad);_0x2a8e0e[_0x15de7a(0xbf)][_0x15de7a(0xd1)](_0x312a83),_0x2a8e0e[_0x15de7a(0xbf)][_0x15de7a(0xd0)](_0x15de7a(0xb0))[_0x15de7a(0xd1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x15de7a(0xe4),'value':_0x10b52d=>{const _0x1d994f=_0x15de7a;let _0x354455=_0x10b52d[_0x1d994f(0xc2)](_0x1d994f(0xb5));return _0x1f92d2(_0x354455)&&(_0x354455=String(Number(_0x354455[_0x1d994f(0xd5)](0x0,-0x1))/0x64)),_0x354455===String(_0x2073f5)?null:_0x312a83[_0x1d994f(0xb4)][_0x1d994f(0xe0)][_0x1d994f(0xd2)](_0x354455)?_0x354455:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x24919b}from'ckeditor5/src/core.js';import{addListToDropdown as _0x41f75f,createDropdown as _0x45f628,MenuBarMenuListItemButtonView as _0x163da6,MenuBarMenuListItemView as _0x360c34,MenuBarMenuListView as _0x1ad67a,MenuBarMenuView as _0x89792,UIModel as _0xdffb27}from'ckeditor5/src/ui.js';import{Collection as _0x1b68ef}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x578748}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x7f4688}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x24919b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4df63a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4df63a),this['_registerMenuBarComponent'](_0x4df63a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2abe9a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5cea8b;for(const _0x2f218c in _0x2abe9a){const _0x324ec6=_0x2f218c,_0x188339=_0x2abe9a[_0x324ec6];if('lineHeightLicenseKeyValid'==_0x188339||'lineHeightLicenseKeyInvalid'==_0x188339||'lineHeightLicenseKeyExpired'==_0x188339||'lineHeightLicenseKeyDomainLimit'==_0x188339||'lineHeightLicenseKeyNotAllowed'==_0x188339||'lineHeightLicenseKeyEvaluationLimit'==_0x188339||'lineHeightLicenseKeyTrialLimit'==_0x188339||'lineHeightLicenseKeyUsageLimit'==_0x188339){delete _0x2abe9a[_0x324ec6],_0x5cea8b=_0x188339,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5cea8b&&_0x2abe9a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5cea8b&&_0x2abe9a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5cea8b&&_0x2abe9a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5cea8b&&_0x2abe9a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5cea8b&&_0x2abe9a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5cea8b&&_0x2abe9a['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5cea8b&&_0x2abe9a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1faaf6=this['editor'],t=_0x1faaf6['t'],_0x3e9f7c=_0x1faaf6['config']['get']('lineHeight'),_0x4c3c6c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x7f4688(_0x3e9f7c)['map'](_0x1f1730=>{const _0x507392=_0x4c3c6c[_0x1f1730['title']];return _0x507392&&_0x507392!=_0x1f1730['title']&&(_0x1f1730=Object['assign']({},_0x1f1730,{'title':_0x507392})),_0x1f1730;});}['_prepareListOptions'](){const _0x39d8ac=this['editor']['commands']['get']('lineHeight'),_0x1fae2e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x331278=this['_getLocalizedLineHeightOptions'](),_0x39e52a=new _0x1b68ef(),_0x150ae4=_0x21ee3d=>'default'===_0x21ee3d||String(_0x1fae2e)===_0x21ee3d;for(const _0x548fa6 of _0x331278){const _0x2508c5={'type':'button','model':new _0xdffb27({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x548fa6['title'],'withText':!0x0})};_0x150ae4(_0x548fa6['model'])?(_0x2508c5['model']['bind']('isOn')['to'](_0x39d8ac,'value',_0x548cf7=>!_0x548cf7),_0x2508c5['model']['commandParam']=void 0x0):(_0x2508c5['model']['bind']('isOn')['to'](_0x39d8ac,'value',_0x27fda8=>_0x27fda8===_0x548fa6['model']),_0x2508c5['model']['commandParam']=_0x548fa6['model']),_0x39e52a['add'](_0x2508c5);}if(this['_shouldRenderCustomValueOption']()){const _0x1eb8a3=this['_getCustomValueOptionDefinition'](_0x331278);_0x39e52a['add'](_0x1eb8a3);}return _0x39e52a;}['_getCustomValueOptionDefinition'](_0x4d7bb5){const _0x150096=this['editor'],t=_0x150096['t'],_0x168231=_0x150096['commands']['get']('lineHeight'),_0x583aa7=_0x4d7bb5['map'](_0xf50434=>_0xf50434['model']),_0x2fd562={'type':'button','model':new _0xdffb27({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2fd562['model']['bind']('commandParam')['to'](_0x168231,'value'),_0x2fd562['model']['bind']('isOn')['to'](_0x168231,'value',_0x174e04=>!!_0x174e04&&!_0x583aa7['includes'](String(_0x174e04))),_0x2fd562['model']['bind']('label')['to'](_0x168231,'value',_0x50d2b3=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x50d2b3))),_0x2fd562;}['_registerToolbarComponent']({accessibleLabel:_0x4c7913,options:_0x4ac083}){const _0x457974=this['editor'],_0x126967=_0x457974['commands']['get']('lineHeight');_0x457974['ui']['componentFactory']['add']('lineHeight',_0x5a9e7a=>{const _0x615dd8=_0x45f628(_0x5a9e7a);return _0x41f75f(_0x615dd8,_0x4ac083,{'role':'menu','ariaLabel':_0x4c7913}),_0x615dd8['buttonView']['set']({'label':_0x4c7913,'tooltip':!0x0,'icon':_0x578748}),_0x615dd8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x615dd8['bind']('isEnabled')['to'](_0x126967),this['listenTo'](_0x615dd8,'execute',_0x4bfc50=>{_0x457974['execute'](_0x4bfc50['source']['commandName'],{'value':_0x4bfc50['source']['commandParam']}),_0x457974['editing']['view']['focus']();}),_0x615dd8['once']('change:isOpen',()=>{const _0x4b6559=_0x615dd8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x615dd8,_0x4ac083,_0x4b6559);}),_0x615dd8;});}['_registerMenuBarComponent']({accessibleLabel:_0x5e5748,options:_0x2e1709}){const _0x45c64f=this['editor'],_0x340a2a=_0x45c64f['commands']['get']('lineHeight');_0x45c64f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x34bf2b=>{const _0x17d4f8=new _0x89792(_0x34bf2b);_0x17d4f8['buttonView']['set']({'label':_0x5e5748,'icon':_0x578748}),_0x17d4f8['bind']('isEnabled')['to'](_0x340a2a);const _0x317ecf=new _0x1ad67a(_0x34bf2b);for(const _0x34bd02 of _0x2e1709){const _0x576dbc=new _0x360c34(_0x34bf2b,_0x17d4f8),_0x1a18e5=new _0x163da6(_0x34bf2b);_0x1a18e5['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1a18e5['bind'](...Object['keys'](_0x34bd02['model']))['to'](_0x34bd02['model']),_0x1a18e5['delegate']('execute')['to'](_0x17d4f8),_0x1a18e5['on']('execute',()=>{_0x45c64f['execute'](_0x34bd02['model']['commandName'],{'value':_0x34bd02['model']['commandParam']}),_0x45c64f['editing']['view']['focus']();}),_0x576dbc['children']['add'](_0x1a18e5),_0x317ecf['items']['add'](_0x576dbc);}return _0x17d4f8['panelView']['children']['add'](_0x317ecf),this['_attachCustomOptionVisibilityHandler'](_0x17d4f8,_0x2e1709,_0x317ecf),_0x17d4f8;});}['_attachCustomOptionVisibilityHandler'](_0x734e1d,_0x356f3d,_0x421bbb){if(!this['_shouldRenderCustomValueOption']())return;const _0x5b597f=()=>{if(!_0x734e1d['isOpen'])return;_0x421bbb['items']['last']['isVisible']=Boolean(_0x356f3d['last']['model']['isOn']);};_0x5b597f(),_0x734e1d['on']('change:isOpen',()=>{_0x5b597f();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5aa8(){const _0x25ab9a=['toLowerCase','push','8JhYnsy','key','filter','value','12MRPGtZ','Single','double','1178316Oghjpa','options','22569360xlKECf','view','3JhsSKQ','number','single','values','model','1jnsrnw','2353116FPCbuS','20DlbQZf','style','10124514sIUEhH','line-height-single','5151476AYaOsW','5409270ZOKZnS','line-height:','default','defaultValue','span','1495613jupEsg','class','line-height-double','string','map','Double'];_0x5aa8=function(){return _0x25ab9a;};return _0x5aa8();}(function(_0x22e7e3,_0x15cd46){const _0x503a09=_0x1b02,_0x3df0c8=_0x22e7e3();while(!![]){try{const _0x4b1124=-parseInt(_0x503a09(0x154))/0x1*(-parseInt(_0x503a09(0x14b))/0x2)+parseInt(_0x503a09(0x14f))/0x3*(parseInt(_0x503a09(0x155))/0x4)+-parseInt(_0x503a09(0x137))/0x5+parseInt(_0x503a09(0x148))/0x6*(parseInt(_0x503a09(0x13c))/0x7)+-parseInt(_0x503a09(0x144))/0x8*(-parseInt(_0x503a09(0x134))/0x9)+parseInt(_0x503a09(0x156))/0xa*(parseInt(_0x503a09(0x136))/0xb)+-parseInt(_0x503a09(0x14d))/0xc;if(_0x4b1124===_0x15cd46)break;else _0x3df0c8['push'](_0x3df0c8['shift']());}catch(_0x4d2cd1){_0x3df0c8['push'](_0x3df0c8['shift']());}}}(_0x5aa8,0xabcd3));const v={get 'single'(){const _0x12e01c=_0x1b02;return{'title':_0x12e01c(0x149),'model':_0x12e01c(0x151),'view':{'key':_0x12e01c(0x13d),'value':_0x12e01c(0x135)}};},get 'double'(){const _0x223b8e=_0x1b02;return{'title':_0x223b8e(0x141),'model':_0x223b8e(0x14a),'view':{'key':_0x223b8e(0x13d),'value':_0x223b8e(0x13e)}};}};export function isLineHeightDefaultValue(_0x2b402f){const _0x366360=_0x1b02;return _0x366360(0x13f)==typeof _0x2b402f&&_0x366360(0x139)===_0x2b402f[_0x366360(0x142)]();}export function normalizeOptions(_0x6e6eb2){const _0x44e558=_0x1b02;return _0x6e6eb2[_0x44e558(0x14c)][_0x44e558(0x140)](_0x38372d=>isLineHeightDefaultValue(_0x38372d)?{'title':String(_0x6e6eb2[_0x44e558(0x13a)]),'model':_0x44e558(0x139)}:(_0x44e558(0x150)==typeof _0x38372d&&(_0x38372d=String(_0x38372d)),_0x44e558(0x13f)!=typeof _0x38372d?_0x38372d:parseFloat(_0x38372d)?{'title':_0x38372d,'model':_0x38372d,'view':{'name':_0x44e558(0x13b),'styles':{'line-height':_0x38372d}}}:findPreset(_0x38372d)))[_0x44e558(0x146)](_0x2e8b35=>void 0x0!==_0x2e8b35);}function _0x1b02(_0x4f6ae3,_0x3d76db){const _0x5aa819=_0x5aa8();return _0x1b02=function(_0x1b023c,_0x37eb8e){_0x1b023c=_0x1b023c-0x134;let _0x348df4=_0x5aa819[_0x1b023c];return _0x348df4;},_0x1b02(_0x4f6ae3,_0x3d76db);}export function findPreset(_0xefbd8f){const _0x20f8d6=_0x1b02;return _0x20f8d6(0x13f)==typeof _0xefbd8f?v[_0xefbd8f]:v[_0xefbd8f[_0x20f8d6(0x153)]];}export function buildDefinition(_0x13b9b9,_0x67ba7a){const _0x3a0ce8=_0x1b02,_0x3369ff={'model':{'key':_0x13b9b9,'values':[]},'view':{}};for(const _0x2d350e of _0x67ba7a)_0x3a0ce8(0x13d)===_0x2d350e[_0x3a0ce8(0x14e)]?.[_0x3a0ce8(0x145)]?(_0x3369ff[_0x3a0ce8(0x153)][_0x3a0ce8(0x152)][_0x3a0ce8(0x143)](_0x2d350e[_0x3a0ce8(0x153)]),_0x3369ff[_0x3a0ce8(0x14e)][_0x2d350e[_0x3a0ce8(0x153)]]={'key':_0x3a0ce8(0x13d),'value':_0x2d350e[_0x3a0ce8(0x14e)][_0x3a0ce8(0x147)]}):(_0x3369ff[_0x3a0ce8(0x153)][_0x3a0ce8(0x152)][_0x3a0ce8(0x143)](_0x2d350e[_0x3a0ce8(0x153)]),_0x3369ff[_0x3a0ce8(0x14e)][_0x2d350e[_0x3a0ce8(0x153)]]={'key':_0x3a0ce8(0x157),'value':_0x3a0ce8(0x138)+_0x2d350e[_0x3a0ce8(0x153)]+';'});return _0x3369ff;}
|