@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250814.0 → 0.0.0-nightly-20250815.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
|
+
const _0x29d18b=_0x32ad;function _0x32ad(_0x875b4f,_0x2a245d){const _0x26243f=_0x2624();return _0x32ad=function(_0x32ade0,_0x3dc0ca){_0x32ade0=_0x32ade0-0xd4;let _0x20c738=_0x26243f[_0x32ade0];return _0x20c738;},_0x32ad(_0x875b4f,_0x2a245d);}(function(_0x540e73,_0x1bbf78){const _0x50275d=_0x32ad,_0x5bd229=_0x540e73();while(!![]){try{const _0x3a54f9=-parseInt(_0x50275d(0xd8))/0x1*(-parseInt(_0x50275d(0xe2))/0x2)+-parseInt(_0x50275d(0xdc))/0x3+-parseInt(_0x50275d(0xd4))/0x4*(parseInt(_0x50275d(0xf7))/0x5)+-parseInt(_0x50275d(0xd7))/0x6+-parseInt(_0x50275d(0xef))/0x7+-parseInt(_0x50275d(0x10a))/0x8*(parseInt(_0x50275d(0x104))/0x9)+parseInt(_0x50275d(0xd5))/0xa*(parseInt(_0x50275d(0xf4))/0xb);if(_0x3a54f9===_0x1bbf78)break;else _0x5bd229['push'](_0x5bd229['shift']());}catch(_0x8a5fef){_0x5bd229['push'](_0x5bd229['shift']());}}}(_0x2624,0xd96ac));import{Plugin as _0x46d4c6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3ef3d1}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5cf62b}from'ckeditor5/src/engine.js';import{uid as _0x5302b0,CKEditorError as _0x5ebc88}from'ckeditor5/src/utils.js';function _0x2624(){const _0x57d97e=['includes','afterInit','values','392bJBVuK','36AVYOvS','34919880DTjvaB','pluginName','5326698DAYgwe','29613OmKTPb','style','fromCharCode','_validateConfig','93408hyyvLW','setAttributeProperties','attributeToAttribute','define','commands','for','6vYnlgT','config','getStyle','editor','slice','lineHeight.options','string','_prepareAnyValueConverters','lineHeight.supportAllValues','line-height-invalid-use-of-named-presets','schema','downcast','LineHeightEditing','2323174VJVCLn','upcast','filter','join','_preparePredefinedConverters','11oorsTC','lineHeight.defaultValue','extend','5370rbismr','map','add','model','lineHeight','$block','line-height','isOfficialPlugin','isPremiumPlugin','href','get','default','init','262620apMrXv','length','conversion'];_0x2624=function(){return _0x57d97e;};return _0x2624();}import{buildDefinition as _0x335dfc,isLineHeightDefaultValue as _0xf7cd78,normalizeOptions as _0x51ecc2}from'./utils.js';export class LineHeightEditing extends _0x46d4c6{static get[_0x29d18b(0xd6)](){const _0x39ab21=_0x29d18b;return _0x39ab21(0xee);}static get[_0x29d18b(0xfe)](){return!0x0;}static get[_0x29d18b(0xff)](){return!0x0;}constructor(_0x3da6d5){const _0x477a2e=_0x29d18b;super(_0x3da6d5),_0x3da6d5[_0x477a2e(0xe3)][_0x477a2e(0xdf)](_0x477a2e(0xfb),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x477a2e(0x102),0x2,2.5,0x3]});}[_0x29d18b(0x103)](){const _0x1a97ba=_0x29d18b,_0x5468ec=this[_0x1a97ba(0xe5)];this[_0x1a97ba(0xdb)](),_0x5468ec[_0x1a97ba(0xfa)][_0x1a97ba(0xec)][_0x1a97ba(0xf6)](_0x1a97ba(0xfc),{'allowAttributes':_0x1a97ba(0xfb)}),_0x5468ec[_0x1a97ba(0xfa)][_0x1a97ba(0xec)][_0x1a97ba(0xdd)](_0x1a97ba(0xfb),{'isFormatting':!0x0}),_0x5468ec[_0x1a97ba(0xe0)][_0x1a97ba(0xf9)](_0x1a97ba(0xfb),new _0x3ef3d1(_0x5468ec)),this[_0x1a97ba(0xe5)][_0x1a97ba(0xe3)][_0x1a97ba(0x101)](_0x1a97ba(0xea))?this[_0x1a97ba(0xe9)]():this[_0x1a97ba(0xf3)]();}[_0x29d18b(0x108)](){!async function(_0x37db3c){const _0x2e0a04=_0x5f3cef([0x49,0x31,0x41,0x51,0x47,0x50,0x68,0x30,0x79,0x57,0x4c,0x76,0x5a,0x56,0x64,0x6e,0x75,0x37,0x63,0x44,0x67,0x71,0x73,0x6a,0x55,0x74,0x70,0x66,0x52,0x62,0x38,0x4e,0x6f,0x35,0x6c,0x4a,0x39,0x58,0x77,0x43,0x61,0x33,0x46,0x69,0x65,0x32,0x45,0x6d,0x4d,0x53,0x59,0x7a,0x42,0x54,0x4f,0x34,0x78,0x48,0x4b,0x6b,0x72,0x36]),_0x4afc00=0x2dddd5f7,_0x3b968c=0x2ddaa57f^_0x4afc00,_0x79ad7c=window[_0x5f3cef([0x44,0x61,0x74,0x65])][_0x5f3cef([0x6e,0x6f,0x77])](),_0x4941c5=_0x37db3c[_0x5f3cef([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa74e83=new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0f58=>{_0x4941c5[_0x5f3cef([0x6f,0x6e,0x63,0x65])](_0x5f3cef([0x72,0x65,0x61,0x64,0x79]),_0x2f0f58);}),_0x3c563d={[_0x5f3cef([0x6b,0x74,0x79])]:_0x5f3cef([0x45,0x43]),[_0x5f3cef([0x75,0x73,0x65])]:_0x5f3cef([0x73,0x69,0x67]),[_0x5f3cef([0x63,0x72,0x76])]:_0x5f3cef([0x50,0x2d,0x32,0x35,0x36]),[_0x5f3cef([0x78])]:_0x5f3cef([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]),[_0x5f3cef([0x79])]:_0x5f3cef([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]),[_0x5f3cef([0x61,0x6c,0x67])]:_0x5f3cef([0x45,0x53,0x32,0x35,0x36])},_0x4af168=_0x4941c5[_0x5f3cef([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f3cef([0x67,0x65,0x74])](_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a8b03(){let _0x216521,_0x1c6f0d=null,_0x464d0a=null;try{if(_0x4af168==_0x5f3cef([0x47,0x50,0x4c]))return _0x5f3cef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x216521=_0x372a3a(),!_0x216521)return _0x5f3cef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x216521[_0x5f3cef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x464d0a=_0x5c5c1f(_0x216521[_0x5f3cef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x216521[_0x5f3cef([0x6a,0x74,0x69])])),await _0x28224a()?_0x320548()?_0x5cf0d9()?_0x5f3cef([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37553c()?(_0x216521[_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3cef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c6f0d=_0x5b082d(_0x5f3cef([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x216521[_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3cef([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c6f0d=_0x5b082d(_0x5f3cef([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d19d3()):_0x5f3cef([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3cef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f3cef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f3cef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5cf0d9(){const _0x17f156=[_0x5f3cef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f3cef([0x74,0x72,0x69,0x61,0x6c])][_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x216521[_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x79ad7c/0x3e8:0xe10*_0x3b968c;return _0x216521[_0x5f3cef([0x65,0x78,0x70])]<_0x17f156;}function _0x320548(){const _0x2d0e7f=_0x216521[_0x5f3cef([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d0e7f&&(!!_0x2d0e7f[_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3cef([0x2a]))||!!_0x2d0e7f[_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3cef([0x4c,0x48])));}function _0x37553c(){const _0x3c8a20=_0x32ad,_0x381245=_0x216521[_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x381245||0x0==_0x381245[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fbb4f}=new URL(window[_0x5f3cef([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c8a20(0x100)]);if(_0x381245[_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fbb4f))return!0x0;const _0x4b5648=_0x1fbb4f[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])](_0x5f3cef([0x2e]));return _0x381245[_0x5f3cef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xee095f=>_0xee095f[_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3cef([0x2a])))[_0x5f3cef([0x6d,0x61,0x70])](_0x3f241a=>_0x3f241a[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])](_0x5f3cef([0x2e])))[_0x5f3cef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f16a3=>_0x3f16a3[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b5648[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3cef([0x6d,0x61,0x70])](_0x304ff5=>Array(_0x4b5648[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x304ff5[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3cef([0x66,0x69,0x6c,0x6c])](_0x304ff5[0x0]===_0x5f3cef([0x2a])?_0x5f3cef([0x2a]):'')[_0x5f3cef([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x304ff5))[_0x5f3cef([0x73,0x6f,0x6d,0x65])](_0x361d49=>_0x4b5648[_0x5f3cef([0x65,0x76,0x65,0x72,0x79])]((_0x23542c,_0x4e6e8b)=>_0x361d49[_0x4e6e8b]===_0x23542c||_0x361d49[_0x4e6e8b]===_0x5f3cef([0x2a])));}function _0x3d19d3(){return _0x1c6f0d&&_0x464d0a?new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30fcb1,_0xc6347e)=>{_0x1c6f0d[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x30fcb1,_0xc6347e),_0x464d0a[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x3b9ad3=>{_0x3b9ad3!=_0x5f3cef([0x56,0x61,0x6c,0x69,0x64])&&_0x30fcb1(_0x3b9ad3);},_0xc6347e);}):_0x1c6f0d||_0x464d0a||_0x5f3cef([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c5c1f(_0x14a85f,_0x526645){return new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56dd29=>{if(_0x5a6da3())return _0x56dd29(_0x5f3cef([0x56,0x61,0x6c,0x69,0x64]));_0x45bf46(),_0x4941c5[_0x5f3cef([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f3cef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x122ceb=!0x1;const _0x16981e=_0x5302b0();function _0x45b9fe(_0x315aa7){return!!_0x315aa7&&(typeof _0x315aa7===_0x5f3cef([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x315aa7===_0x5f3cef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x315aa7[_0x5f3cef([0x74,0x68,0x65,0x6e])]===_0x5f3cef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x315aa7[_0x5f3cef([0x63,0x61,0x74,0x63,0x68])]===_0x5f3cef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13cf1f(_0x596e84){_0x366a6d(_0x596e84)[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x590077=>{if(!_0x590077||_0x590077[_0x5f3cef([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f3cef([0x6f,0x6b]))return _0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a4a87(_0x425cc4(_0x16981e+_0x526645))!=_0x590077[_0x5f3cef([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3cef([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x865ace=>(_0x1fac7f(),_0x865ace),()=>{const _0x4dc0f4=_0xea35bf();return null==_0x4dc0f4?(_0x1fac7f(),_0x5f3cef([0x56,0x61,0x6c,0x69,0x64])):_0x5f3cef(_0x79ad7c-_0x4dc0f4>(0x9d151f7^_0x4afc00)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x56dd29)[_0x5f3cef([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56dd29(_0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d2fb5=0x2deb3b77^_0x4afc00;function _0x1fac7f(){const _0x1976cf=_0x5f3cef([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a4a87(_0x425cc4(_0x14a85f)),_0x573abe=_0x35b8a3(_0x2a4a87(window[_0x5f3cef([0x4d,0x61,0x74,0x68])][_0x5f3cef([0x63,0x65,0x69,0x6c])](_0x79ad7c/_0x5d2fb5)));window[_0x5f3cef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3cef([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1976cf,_0x573abe);}function _0xea35bf(){const _0x18d449=_0x5f3cef([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a4a87(_0x425cc4(_0x14a85f)),_0x592623=window[_0x5f3cef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3cef([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18d449);return _0x592623?window[_0x5f3cef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35b8a3(_0x592623),0x10)*_0x5d2fb5:null;}function _0x366a6d(_0x3f9ebb){return new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd9d7,_0xd345aa)=>{_0x3f9ebb[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0xd9d7,_0xd345aa),window[_0x5f3cef([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd345aa,0x2ddc0137^_0x4afc00);});}}_0x4941c5[_0x5f3cef([0x6f,0x6e])](_0x5f3cef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f15da,_0x2a2adb)=>{if(_0x2a2adb[0x0]!=_0x14a85f)return _0x56dd29(_0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a2adb[0x1]={..._0x2a2adb[0x1],[_0x5f3cef([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16981e};},{[_0x5f3cef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3cef([0x68,0x69,0x67,0x68])}),_0x4941c5[_0x5f3cef([0x6f,0x6e])](_0x5f3cef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b702b=>{_0x45b9fe(_0x2b702b[_0x5f3cef([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x122ceb=!0x0,_0x13cf1f(_0x2b702b[_0x5f3cef([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f3cef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3cef([0x6c,0x6f,0x77])}),_0xa74e83[_0x5f3cef([0x74,0x68,0x65,0x6e])](()=>{_0x122ceb||_0x56dd29(_0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a6da3(){return _0x4941c5[_0x5f3cef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3cef([0x76,0x69,0x65,0x77])][_0x5f3cef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f3cef([0x61,0x75,0x74,0x6f]);}function _0x45bf46(){_0x4941c5[_0x5f3cef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3cef([0x76,0x69,0x65,0x77])][_0x5f3cef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f3cef([0x61,0x75,0x74,0x6f]);}}function _0x5b082d(_0x479e6b){const _0x5740ac=[new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ef973=>setTimeout(_0x3ef973,0x2dd4eb3b^_0x4afc00)),_0xa74e83[_0x5f3cef([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x479a6a=>{let _0x10a858=0x0;_0x4941c5[_0x5f3cef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3cef([0x6f,0x6e])](_0x5f3cef([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ed988,_0x225d73)=>{_0x225d73[0x0][_0x5f3cef([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10a858++,_0x10a858==(0x2dddd40f^_0x4afc00)&&(_0x479a6a(),_0x4ed988[_0x5f3cef([0x6f,0x66,0x66])]());});}))];return window[_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f3cef([0x72,0x61,0x63,0x65])](_0x5740ac)[_0x5f3cef([0x74,0x68,0x65,0x6e])](()=>_0x479e6b);}async function _0x298d8a(){await _0xa74e83,_0x4941c5[_0x5f3cef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3cef([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xecbcf,_0x4941c5[_0x5f3cef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3cef([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xecbcf,_0x4941c5[_0x5f3cef([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f3cef([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b65ae(_0x520a9c){const _0x47b635=_0x602cdb();_0x4941c5[_0x47b635]=_0x5f3cef([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x520a9c,_0x520a9c!=_0x5f3cef([0x56,0x61,0x6c,0x69,0x64])&&_0x298d8a();}function _0x602cdb(){const _0x36f419=window[_0x5f3cef([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f3cef([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f3cef([0x6e,0x6f,0x77])]())[_0x5f3cef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f3cef([0x2e]),'');let _0x11c7e7=_0x5f3cef([0x49]);for(let _0x1dcadf=0x0;_0x1dcadf<_0x36f419[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dcadf+=0x2){let _0x18e4b0=window[_0x5f3cef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36f419[_0x5f3cef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dcadf,_0x1dcadf+0x2));_0x18e4b0>=_0x2e0a04[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18e4b0-=_0x2e0a04[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11c7e7+=_0x2e0a04[_0x18e4b0];}return _0x11c7e7;}function _0x372a3a(){const _0x52ae93=_0x4af168[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])](_0x5f3cef([0x2e]));if(0x3!=_0x52ae93[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c281c(_0x52ae93[0x1]);function _0x3c281c(_0xba9992){const _0x5b4e05=_0x3d48b7(_0xba9992);return _0x5b4e05&&_0x545cc0()?_0x5b4e05:null;function _0x545cc0(){const _0x2aba46=_0x5b4e05[_0x5f3cef([0x6a,0x74,0x69])],_0x1a4d1a=window[_0x5f3cef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2aba46[_0x5f3cef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2aba46[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x149aba={..._0x5b4e05,[_0x5f3cef([0x6a,0x74,0x69])]:_0x2aba46[_0x5f3cef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2aba46[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x149aba[_0x5f3cef([0x76,0x63])],_0x425cc4(_0x149aba)==_0x1a4d1a;}}}async function _0x28224a(){let _0x35ce48=!0x0;try{const _0x2c659e=_0x4af168[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])](_0x5f3cef([0x2e])),[_0x22642e,_0x2623b0,_0x49d961]=_0x2c659e;return _0x435409(_0x22642e),await _0x1686fe(_0x22642e,_0x2623b0,_0x49d961),_0x35ce48;}catch{return!0x1;}function _0x435409(_0x22333f){const _0x565251=_0x3d48b7(_0x22333f);_0x565251&&_0x565251[_0x5f3cef([0x61,0x6c,0x67])]==_0x5f3cef([0x45,0x53,0x32,0x35,0x36])||(_0x35ce48=!0x1);}async function _0x1686fe(_0x5ab7e4,_0x417aa1,_0x5ccc50){const _0xb18b9c=window[_0x5f3cef([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f3cef([0x66,0x72,0x6f,0x6d])](_0x4bb4b8(_0x5ccc50),_0x57d86b=>_0x57d86b[_0x5f3cef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f31d5=new window[(_0x5f3cef([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f3cef([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ab7e4+_0x5f3cef([0x2e])+_0x417aa1),_0x3e5b05=window[_0x5f3cef([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f3cef([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e5b05)return;const _0x9d8446=await _0x3e5b05[_0x5f3cef([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f3cef([0x6a,0x77,0x6b]),_0x3c563d,{[_0x5f3cef([0x6e,0x61,0x6d,0x65])]:_0x5f3cef([0x45,0x43,0x44,0x53,0x41]),[_0x5f3cef([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f3cef([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f3cef([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e5b05[_0x5f3cef([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f3cef([0x6e,0x61,0x6d,0x65])]:_0x5f3cef([0x45,0x43,0x44,0x53,0x41]),[_0x5f3cef([0x68,0x61,0x73,0x68])]:{[_0x5f3cef([0x6e,0x61,0x6d,0x65])]:_0x5f3cef([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9d8446,_0xb18b9c,_0x2f31d5)||(_0x35ce48=!0x1);}}function _0x3d48b7(_0x73aa0d){return _0x73aa0d[_0x5f3cef([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f3cef([0x65,0x79]))?JSON[_0x5f3cef([0x70,0x61,0x72,0x73,0x65])](_0x4bb4b8(_0x73aa0d)):null;}function _0x4bb4b8(_0x414d41){return window[_0x5f3cef([0x61,0x74,0x6f,0x62])](_0x414d41[_0x5f3cef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f3cef([0x2b]))[_0x5f3cef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f3cef([0x2f])));}function _0x425cc4(_0x22d3ef){let _0x51f233=0x1505;function _0x309e5e(_0x3b3ff6){for(let _0x588f0f=0x0;_0x588f0f<_0x3b3ff6[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x588f0f++){const _0x2908d1=_0x3b3ff6[_0x5f3cef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x588f0f);_0x51f233=(_0x51f233<<0x5)+_0x51f233+_0x2908d1,_0x51f233&=_0x51f233;}}function _0x156fa5(_0x5cdd73){Array[_0x5f3cef([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cdd73)?_0x5cdd73[_0x5f3cef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x156fa5):_0x5cdd73&&typeof _0x5cdd73==_0x5f3cef([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f3cef([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cdd73)[_0x5f3cef([0x73,0x6f,0x72,0x74])]()[_0x5f3cef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xab7ae5,_0x519d32])=>{_0x309e5e(_0xab7ae5),_0x156fa5(_0x519d32);}):_0x309e5e(window[_0x5f3cef([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cdd73));}return _0x156fa5(_0x22d3ef),_0x51f233>>>0x0;}function _0x2a4a87(_0x37783c){return _0x37783c[_0x5f3cef([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f3cef([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f3cef([0x30]));}function _0x35b8a3(_0x119527){return _0x119527[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f3cef([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f3cef([0x6a,0x6f,0x69,0x6e])]('');}function _0xecbcf(){}function _0x5f3cef(_0x56029e){const _0x24a603=_0x32ad;return _0x56029e[_0x24a603(0xf8)](_0x22f4ad=>String[_0x24a603(0xda)](_0x22f4ad))[_0x24a603(0xf2)]('');}_0x3b65ae(await _0x1a8b03());}(this);}[_0x29d18b(0xdb)](){const _0x50b32f=_0x29d18b,_0x1ea63d=this[_0x50b32f(0xe5)];if(!_0x1ea63d[_0x50b32f(0xe3)][_0x50b32f(0x101)](_0x50b32f(0xea)))return;const _0x5c4206=_0x1ea63d[_0x50b32f(0xe3)][_0x50b32f(0x101)](_0x50b32f(0xe7))[_0x50b32f(0xf1)](_0x1e4bb0=>_0x50b32f(0xe8)==typeof _0x1e4bb0&&(!_0xf7cd78(_0x1e4bb0)&&isNaN(Number(_0x1e4bb0))));if(_0x5c4206[_0x50b32f(0x105)])throw new _0x5ebc88(_0x50b32f(0xeb),null,{'namedPresets':_0x5c4206});}[_0x29d18b(0xe9)](){const _0x3af21b=_0x29d18b,_0x29ed3d=this[_0x3af21b(0xe5)],_0x23619c=this[_0x3af21b(0xe5)][_0x3af21b(0xe3)][_0x3af21b(0x101)](_0x3af21b(0xf5));_0x29ed3d[_0x3af21b(0x106)][_0x3af21b(0xe1)](_0x3af21b(0xed))[_0x3af21b(0xde)]({'model':{'key':_0x3af21b(0xfb)},'view':_0x447fc9=>String(_0x447fc9)===String(_0x23619c)?null:{'key':_0x3af21b(0xd9),'value':{'line-height':_0x447fc9}}}),_0x29ed3d[_0x3af21b(0x106)][_0x3af21b(0xe1)](_0x3af21b(0xf0))[_0x3af21b(0xde)]({'model':{'key':_0x3af21b(0xfb),'value':_0x8657c2=>{const _0x46d906=_0x3af21b;let _0x245723=_0x8657c2[_0x46d906(0xe4)](_0x46d906(0xfd));return _0x5cf62b(_0x245723)&&(_0x245723=String(Number(_0x245723[_0x46d906(0xe6)](0x0,-0x1))/0x64)),String(_0x245723)===String(_0x23619c)?null:_0x245723;}},'view':{'styles':{'line-height':/.*/}}});}[_0x29d18b(0xf3)](){const _0x1644c2=_0x29d18b,_0x173768=this[_0x1644c2(0xe5)],_0x252300=this[_0x1644c2(0xe5)][_0x1644c2(0xe3)][_0x1644c2(0x101)](_0x1644c2(0xf5)),_0x4c65e2=_0x51ecc2(this[_0x1644c2(0xe5)][_0x1644c2(0xe3)][_0x1644c2(0x101)](_0x1644c2(0xfb)))[_0x1644c2(0xf1)](_0x6401c0=>_0x6401c0[_0x1644c2(0xfa)]),_0x1c9501=_0x335dfc(_0x1644c2(0xfb),_0x4c65e2);_0x173768[_0x1644c2(0x106)][_0x1644c2(0xde)](_0x1c9501),_0x173768[_0x1644c2(0x106)][_0x1644c2(0xe1)](_0x1644c2(0xf0))[_0x1644c2(0xde)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1644c2(0xfb),'value':_0x3166da=>{const _0xdacf52=_0x1644c2;let _0x3e88ec=_0x3166da[_0xdacf52(0xe4)](_0xdacf52(0xfd));return _0x5cf62b(_0x3e88ec)&&(_0x3e88ec=String(Number(_0x3e88ec[_0xdacf52(0xe6)](0x0,-0x1))/0x64)),_0x3e88ec===String(_0x252300)?null:_0x1c9501[_0xdacf52(0xfa)][_0xdacf52(0x109)][_0xdacf52(0x107)](_0x3e88ec)?_0x3e88ec: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;}
|