@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250813.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
|
-
const
|
|
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 _0x657bee=_0x234d;function _0x29d9(){const _0x4d5f0f=['upcast','config','4173880mkhlqX','join','add','_preparePredefinedConverters','lineHeight.defaultValue','line-height','extend','values','schema','192frnHdl','style','225CXPYrt','default','3075426QbhVCk','setAttributeProperties','init','isPremiumPlugin','getStyle','7015014rqQhIZ','slice','lineHeight','string','_validateConfig','63735MOAmrq','commands','includes','conversion','downcast','filter','attributeToAttribute','define','LineHeightEditing','for','fromCharCode','_prepareAnyValueConverters','get','editor','1226701qooXqX','length','$block','lineHeight.supportAllValues','259327xpgSbV','model','afterInit','map','2372taOPah','pluginName','lineHeight.options','isOfficialPlugin','line-height-invalid-use-of-named-presets','href'];_0x29d9=function(){return _0x4d5f0f;};return _0x29d9();}(function(_0x2122fc,_0x59ba52){const _0x2bd654=_0x234d,_0x3d9fb2=_0x2122fc();while(!![]){try{const _0x281b0d=parseInt(_0x2bd654(0xc4))/0x1+-parseInt(_0x2bd654(0xc8))/0x2*(-parseInt(_0x2bd654(0xa6))/0x3)+parseInt(_0x2bd654(0xa4))/0x4*(-parseInt(_0x2bd654(0xb2))/0x5)+parseInt(_0x2bd654(0xa8))/0x6+-parseInt(_0x2bd654(0xc0))/0x7+-parseInt(_0x2bd654(0x9b))/0x8+parseInt(_0x2bd654(0xad))/0x9;if(_0x281b0d===_0x59ba52)break;else _0x3d9fb2['push'](_0x3d9fb2['shift']());}catch(_0x573e8e){_0x3d9fb2['push'](_0x3d9fb2['shift']());}}}(_0x29d9,0x50ec4));function _0x234d(_0x27dfb9,_0x32f21f){const _0x29d9e2=_0x29d9();return _0x234d=function(_0x234d08,_0x4d192f){_0x234d08=_0x234d08-0x94;let _0x343fbe=_0x29d9e2[_0x234d08];return _0x343fbe;},_0x234d(_0x27dfb9,_0x32f21f);}import{Plugin as _0x60a48c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x272398}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x56335e}from'ckeditor5/src/engine.js';import{uid as _0x316ab5,CKEditorError as _0x8164e6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x459886,isLineHeightDefaultValue as _0x3acac4,normalizeOptions as _0x6fdac8}from'./utils.js';export class LineHeightEditing extends _0x60a48c{static get[_0x657bee(0x94)](){const _0x51b3ca=_0x657bee;return _0x51b3ca(0xba);}static get[_0x657bee(0x96)](){return!0x0;}static get[_0x657bee(0xab)](){return!0x0;}constructor(_0x5c7df0){const _0x1ba632=_0x657bee;super(_0x5c7df0),_0x5c7df0[_0x1ba632(0x9a)][_0x1ba632(0xb9)](_0x1ba632(0xaf),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1ba632(0xa7),0x2,2.5,0x3]});}[_0x657bee(0xaa)](){const _0x399c3a=_0x657bee,_0x5b41e6=this[_0x399c3a(0xbf)];this[_0x399c3a(0xb1)](),_0x5b41e6[_0x399c3a(0xc5)][_0x399c3a(0xa3)][_0x399c3a(0xa1)](_0x399c3a(0xc2),{'allowAttributes':_0x399c3a(0xaf)}),_0x5b41e6[_0x399c3a(0xc5)][_0x399c3a(0xa3)][_0x399c3a(0xa9)](_0x399c3a(0xaf),{'isFormatting':!0x0}),_0x5b41e6[_0x399c3a(0xb3)][_0x399c3a(0x9d)](_0x399c3a(0xaf),new _0x272398(_0x5b41e6)),this[_0x399c3a(0xbf)][_0x399c3a(0x9a)][_0x399c3a(0xbe)](_0x399c3a(0xc3))?this[_0x399c3a(0xbd)]():this[_0x399c3a(0x9e)]();}[_0x657bee(0xc6)](){!async function(_0x1b7356){const _0x1331c2=_0x322e9c([0x52,0x51,0x34,0x36,0x4c,0x32,0x55,0x7a,0x43,0x58,0x75,0x30,0x49,0x72,0x6a,0x6e,0x31,0x45,0x44,0x4d,0x69,0x74,0x76,0x63,0x47,0x37,0x50,0x64,0x39,0x4f,0x77,0x71,0x4a,0x61,0x59,0x68,0x62,0x65,0x56,0x41,0x57,0x5a,0x42,0x79,0x38,0x35,0x78,0x48,0x6b,0x53,0x70,0x66,0x54,0x4b,0x67,0x73,0x33,0x6c,0x4e,0x46,0x6d,0x6f]),_0x32a58b=0x6f4a5623,_0x10dc34=0x6f4d267b^_0x32a58b,_0x11f4a4=window[_0x322e9c([0x44,0x61,0x74,0x65])][_0x322e9c([0x6e,0x6f,0x77])](),_0x579436=_0x1b7356[_0x322e9c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8c6684=new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38f3a9=>{_0x579436[_0x322e9c([0x6f,0x6e,0x63,0x65])](_0x322e9c([0x72,0x65,0x61,0x64,0x79]),_0x38f3a9);}),_0x4cbafb={[_0x322e9c([0x6b,0x74,0x79])]:_0x322e9c([0x45,0x43]),[_0x322e9c([0x75,0x73,0x65])]:_0x322e9c([0x73,0x69,0x67]),[_0x322e9c([0x63,0x72,0x76])]:_0x322e9c([0x50,0x2d,0x32,0x35,0x36]),[_0x322e9c([0x78])]:_0x322e9c([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]),[_0x322e9c([0x79])]:_0x322e9c([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]),[_0x322e9c([0x61,0x6c,0x67])]:_0x322e9c([0x45,0x53,0x32,0x35,0x36])},_0xb784ff=_0x579436[_0x322e9c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x322e9c([0x67,0x65,0x74])](_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41e508(){let _0x56fdc1,_0x1ada7b=null,_0x520acb=null;try{if(_0xb784ff==_0x322e9c([0x47,0x50,0x4c]))return _0x322e9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56fdc1=_0x76dd53(),!_0x56fdc1)return _0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56fdc1[_0x322e9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x520acb=_0xdbfea6(_0x56fdc1[_0x322e9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56fdc1[_0x322e9c([0x6a,0x74,0x69])])),await _0x201116()?_0x42022b()?_0x460ea5()?_0x322e9c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50ab07()?(_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x322e9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ada7b=_0x319cb7(_0x322e9c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x322e9c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ada7b=_0x319cb7(_0x322e9c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a673e()):_0x322e9c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x322e9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x322e9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x460ea5(){const _0x4a6112=[_0x322e9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x322e9c([0x74,0x72,0x69,0x61,0x6c])][_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11f4a4/0x3e8:0xe10*_0x10dc34;return _0x56fdc1[_0x322e9c([0x65,0x78,0x70])]<_0x4a6112;}function _0x42022b(){const _0x35a8f6=_0x56fdc1[_0x322e9c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35a8f6&&(!!_0x35a8f6[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x2a]))||!!_0x35a8f6[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x4c,0x48])));}function _0x50ab07(){const _0x4bc911=_0x234d,_0x1e99c0=_0x56fdc1[_0x322e9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e99c0||0x0==_0x1e99c0[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x261403}=new URL(window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4bc911(0x98)]);if(_0x1e99c0[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x261403))return!0x0;const _0x47db89=_0x261403[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e]));return _0x1e99c0[_0x322e9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d5f80=>_0x1d5f80[_0x322e9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322e9c([0x2a])))[_0x322e9c([0x6d,0x61,0x70])](_0x5eeddd=>_0x5eeddd[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e])))[_0x322e9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46a84b=>_0x46a84b[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47db89[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x322e9c([0x6d,0x61,0x70])](_0x5ad31d=>Array(_0x47db89[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ad31d[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x322e9c([0x66,0x69,0x6c,0x6c])](_0x5ad31d[0x0]===_0x322e9c([0x2a])?_0x322e9c([0x2a]):'')[_0x322e9c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ad31d))[_0x322e9c([0x73,0x6f,0x6d,0x65])](_0x24e414=>_0x47db89[_0x322e9c([0x65,0x76,0x65,0x72,0x79])]((_0x347758,_0x4154fb)=>_0x24e414[_0x4154fb]===_0x347758||_0x24e414[_0x4154fb]===_0x322e9c([0x2a])));}function _0x2a673e(){return _0x1ada7b&&_0x520acb?new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48df1d,_0xe9bfb6)=>{_0x1ada7b[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x48df1d,_0xe9bfb6),_0x520acb[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x5fa9c0=>{_0x5fa9c0!=_0x322e9c([0x56,0x61,0x6c,0x69,0x64])&&_0x48df1d(_0x5fa9c0);},_0xe9bfb6);}):_0x1ada7b||_0x520acb||_0x322e9c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdbfea6(_0x243383,_0x3de745){return new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5095=>{if(_0x2a78b7())return _0x5e5095(_0x322e9c([0x56,0x61,0x6c,0x69,0x64]));_0x41e65f(),_0x579436[_0x322e9c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e59a7=!0x1;const _0x5cb4ed=_0x316ab5();function _0x50110d(_0x17f2ff){return!!_0x17f2ff&&(typeof _0x17f2ff===_0x322e9c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17f2ff===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17f2ff[_0x322e9c([0x74,0x68,0x65,0x6e])]===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17f2ff[_0x322e9c([0x63,0x61,0x74,0x63,0x68])]===_0x322e9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x54783a(_0x244868){_0x48ed32(_0x244868)[_0x322e9c([0x74,0x68,0x65,0x6e])](_0xa154ea=>{if(!_0xa154ea||_0xa154ea[_0x322e9c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x322e9c([0x6f,0x6b]))return _0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31fe44(_0x24a261(_0x5cb4ed+_0x3de745))!=_0xa154ea[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x322e9c([0x56,0x61,0x6c,0x69,0x64]);})[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x44af53=>(_0x508b9d(),_0x44af53),()=>{const _0x20a6e4=_0x4ddc7f();return null==_0x20a6e4?(_0x508b9d(),_0x322e9c([0x56,0x61,0x6c,0x69,0x64])):_0x322e9c(_0x11f4a4-_0x20a6e4>(0x4b46d223^_0x32a58b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x5e5095)[_0x322e9c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17ea4e=0x6f7cb8a3^_0x32a58b;function _0x508b9d(){const _0x59cc58=_0x322e9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fe44(_0x24a261(_0x243383)),_0x5bde6f=_0x55e8e6(_0x31fe44(window[_0x322e9c([0x4d,0x61,0x74,0x68])][_0x322e9c([0x63,0x65,0x69,0x6c])](_0x11f4a4/_0x17ea4e)));window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x322e9c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59cc58,_0x5bde6f);}function _0x4ddc7f(){const _0x197f74=_0x322e9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fe44(_0x24a261(_0x243383)),_0x2b38a2=window[_0x322e9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x322e9c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x197f74);return _0x2b38a2?window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55e8e6(_0x2b38a2),0x10)*_0x17ea4e:null;}function _0x48ed32(_0x300d7d){return new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x513533,_0x430d3e)=>{_0x300d7d[_0x322e9c([0x74,0x68,0x65,0x6e])](_0x513533,_0x430d3e),window[_0x322e9c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x430d3e,0x6f4b82e3^_0x32a58b);});}}_0x579436[_0x322e9c([0x6f,0x6e])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b6d7,_0x157a98)=>{if(_0x157a98[0x0]!=_0x243383)return _0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x157a98[0x1]={..._0x157a98[0x1],[_0x322e9c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cb4ed};},{[_0x322e9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x322e9c([0x68,0x69,0x67,0x68])}),_0x579436[_0x322e9c([0x6f,0x6e])](_0x322e9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x766d1a=>{_0x50110d(_0x766d1a[_0x322e9c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e59a7=!0x0,_0x54783a(_0x766d1a[_0x322e9c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x322e9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x322e9c([0x6c,0x6f,0x77])}),_0x8c6684[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>{_0x1e59a7||_0x5e5095(_0x322e9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a78b7(){return _0x579436[_0x322e9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x322e9c([0x76,0x69,0x65,0x77])][_0x322e9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x322e9c([0x61,0x75,0x74,0x6f]);}function _0x41e65f(){_0x579436[_0x322e9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x322e9c([0x76,0x69,0x65,0x77])][_0x322e9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x322e9c([0x61,0x75,0x74,0x6f]);}}function _0x319cb7(_0x2131a0){const _0x20b952=[new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423130=>setTimeout(_0x423130,0x6f4368ef^_0x32a58b)),_0x8c6684[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbc0011=>{let _0x4baf42=0x0;_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x6f,0x6e])](_0x322e9c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29fed3,_0x5bb273)=>{_0x5bb273[0x0][_0x322e9c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4baf42++,_0x4baf42==(0x6f4a57db^_0x32a58b)&&(_0xbc0011(),_0x29fed3[_0x322e9c([0x6f,0x66,0x66])]());});}))];return window[_0x322e9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x322e9c([0x72,0x61,0x63,0x65])](_0x20b952)[_0x322e9c([0x74,0x68,0x65,0x6e])](()=>_0x2131a0);}async function _0xbb335e(){await _0x8c6684,_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b05cc,_0x579436[_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x322e9c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b05cc,_0x579436[_0x322e9c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x322e9c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3917fb(_0xc44048){const _0x47773b=_0x1bdf80();_0x579436[_0x47773b]=_0x322e9c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc44048,_0xc44048!=_0x322e9c([0x56,0x61,0x6c,0x69,0x64])&&_0xbb335e();}function _0x1bdf80(){const _0x205298=window[_0x322e9c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x322e9c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x322e9c([0x6e,0x6f,0x77])]())[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x322e9c([0x2e]),'');let _0x2c110b=_0x322e9c([0x52]);for(let _0x26f20f=0x0;_0x26f20f<_0x205298[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26f20f+=0x2){let _0x5d505f=window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205298[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26f20f,_0x26f20f+0x2));_0x5d505f>=_0x1331c2[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d505f-=_0x1331c2[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c110b+=_0x1331c2[_0x5d505f];}return _0x2c110b;}function _0x76dd53(){const _0x42435e=_0xb784ff[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e]));if(0x3!=_0x42435e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x540969(_0x42435e[0x1]);function _0x540969(_0x124e3a){const _0xf038b2=_0x324b93(_0x124e3a);return _0xf038b2&&_0x47b9bf()?_0xf038b2:null;function _0x47b9bf(){const _0x47b44e=_0xf038b2[_0x322e9c([0x6a,0x74,0x69])],_0x5eb822=window[_0x322e9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47b44e[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47b44e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23ef58={..._0xf038b2,[_0x322e9c([0x6a,0x74,0x69])]:_0x47b44e[_0x322e9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47b44e[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23ef58[_0x322e9c([0x76,0x63])],_0x24a261(_0x23ef58)==_0x5eb822;}}}async function _0x201116(){let _0x14b05a=!0x0;try{const _0x24461e=_0xb784ff[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])](_0x322e9c([0x2e])),[_0x43e062,_0x48cf98,_0xac9815]=_0x24461e;return _0x5cc8fb(_0x43e062),await _0x2249f1(_0x43e062,_0x48cf98,_0xac9815),_0x14b05a;}catch{return!0x1;}function _0x5cc8fb(_0x244382){const _0x40cf7f=_0x324b93(_0x244382);_0x40cf7f&&_0x40cf7f[_0x322e9c([0x61,0x6c,0x67])]==_0x322e9c([0x45,0x53,0x32,0x35,0x36])||(_0x14b05a=!0x1);}async function _0x2249f1(_0x5fecb0,_0x223e6e,_0x152bb5){const _0x2f6599=window[_0x322e9c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x322e9c([0x66,0x72,0x6f,0x6d])](_0x61139(_0x152bb5),_0x4f1e5c=>_0x4f1e5c[_0x322e9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5972e5=new window[(_0x322e9c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x322e9c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5fecb0+_0x322e9c([0x2e])+_0x223e6e),_0x36b6f3=window[_0x322e9c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x322e9c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36b6f3)return;const _0x5427da=await _0x36b6f3[_0x322e9c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x322e9c([0x6a,0x77,0x6b]),_0x4cbafb,{[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x45,0x43,0x44,0x53,0x41]),[_0x322e9c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x322e9c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36b6f3[_0x322e9c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x45,0x43,0x44,0x53,0x41]),[_0x322e9c([0x68,0x61,0x73,0x68])]:{[_0x322e9c([0x6e,0x61,0x6d,0x65])]:_0x322e9c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5427da,_0x2f6599,_0x5972e5)||(_0x14b05a=!0x1);}}function _0x324b93(_0x37c0a5){return _0x37c0a5[_0x322e9c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x322e9c([0x65,0x79]))?JSON[_0x322e9c([0x70,0x61,0x72,0x73,0x65])](_0x61139(_0x37c0a5)):null;}function _0x61139(_0x1259c2){return window[_0x322e9c([0x61,0x74,0x6f,0x62])](_0x1259c2[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x322e9c([0x2b]))[_0x322e9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x322e9c([0x2f])));}function _0x24a261(_0x539bfd){let _0x2e4f52=0x1505;function _0x3bddf0(_0x5c49e0){for(let _0x505c05=0x0;_0x505c05<_0x5c49e0[_0x322e9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x505c05++){const _0x3355f2=_0x5c49e0[_0x322e9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x505c05);_0x2e4f52=(_0x2e4f52<<0x5)+_0x2e4f52+_0x3355f2,_0x2e4f52&=_0x2e4f52;}}function _0x1bfb79(_0x5ebe54){Array[_0x322e9c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ebe54)?_0x5ebe54[_0x322e9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bfb79):_0x5ebe54&&typeof _0x5ebe54==_0x322e9c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x322e9c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ebe54)[_0x322e9c([0x73,0x6f,0x72,0x74])]()[_0x322e9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cd6ae,_0x81de4a])=>{_0x3bddf0(_0x5cd6ae),_0x1bfb79(_0x81de4a);}):_0x3bddf0(window[_0x322e9c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ebe54));}return _0x1bfb79(_0x539bfd),_0x2e4f52>>>0x0;}function _0x31fe44(_0x37d32e){return _0x37d32e[_0x322e9c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x322e9c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x322e9c([0x30]));}function _0x55e8e6(_0x2e257e){return _0x2e257e[_0x322e9c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x322e9c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x322e9c([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b05cc(){}function _0x322e9c(_0x40ad5b){const _0x2b25a8=_0x234d;return _0x40ad5b[_0x2b25a8(0xc7)](_0xc0f4f1=>String[_0x2b25a8(0xbc)](_0xc0f4f1))[_0x2b25a8(0x9c)]('');}_0x3917fb(await _0x41e508());}(this);}[_0x657bee(0xb1)](){const _0x5d86a1=_0x657bee,_0x473051=this[_0x5d86a1(0xbf)];if(!_0x473051[_0x5d86a1(0x9a)][_0x5d86a1(0xbe)](_0x5d86a1(0xc3)))return;const _0x436040=_0x473051[_0x5d86a1(0x9a)][_0x5d86a1(0xbe)](_0x5d86a1(0x95))[_0x5d86a1(0xb7)](_0x46b2c2=>_0x5d86a1(0xb0)==typeof _0x46b2c2&&(!_0x3acac4(_0x46b2c2)&&isNaN(Number(_0x46b2c2))));if(_0x436040[_0x5d86a1(0xc1)])throw new _0x8164e6(_0x5d86a1(0x97),null,{'namedPresets':_0x436040});}[_0x657bee(0xbd)](){const _0x6d52ca=_0x657bee,_0x247b25=this[_0x6d52ca(0xbf)],_0x132b75=this[_0x6d52ca(0xbf)][_0x6d52ca(0x9a)][_0x6d52ca(0xbe)](_0x6d52ca(0x9f));_0x247b25[_0x6d52ca(0xb5)][_0x6d52ca(0xbb)](_0x6d52ca(0xb6))[_0x6d52ca(0xb8)]({'model':{'key':_0x6d52ca(0xaf)},'view':_0x2f9a8f=>String(_0x2f9a8f)===String(_0x132b75)?null:{'key':_0x6d52ca(0xa5),'value':{'line-height':_0x2f9a8f}}}),_0x247b25[_0x6d52ca(0xb5)][_0x6d52ca(0xbb)](_0x6d52ca(0x99))[_0x6d52ca(0xb8)]({'model':{'key':_0x6d52ca(0xaf),'value':_0x1a57a3=>{const _0x55cc90=_0x6d52ca;let _0x707f24=_0x1a57a3[_0x55cc90(0xac)](_0x55cc90(0xa0));return _0x56335e(_0x707f24)&&(_0x707f24=String(Number(_0x707f24[_0x55cc90(0xae)](0x0,-0x1))/0x64)),String(_0x707f24)===String(_0x132b75)?null:_0x707f24;}},'view':{'styles':{'line-height':/.*/}}});}[_0x657bee(0x9e)](){const _0x5531e3=_0x657bee,_0x6f4e03=this[_0x5531e3(0xbf)],_0x86bb2e=this[_0x5531e3(0xbf)][_0x5531e3(0x9a)][_0x5531e3(0xbe)](_0x5531e3(0x9f)),_0x151e1b=_0x6fdac8(this[_0x5531e3(0xbf)][_0x5531e3(0x9a)][_0x5531e3(0xbe)](_0x5531e3(0xaf)))[_0x5531e3(0xb7)](_0x266315=>_0x266315[_0x5531e3(0xc5)]),_0x4437f8=_0x459886(_0x5531e3(0xaf),_0x151e1b);_0x6f4e03[_0x5531e3(0xb5)][_0x5531e3(0xb8)](_0x4437f8),_0x6f4e03[_0x5531e3(0xb5)][_0x5531e3(0xbb)](_0x5531e3(0x99))[_0x5531e3(0xb8)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5531e3(0xaf),'value':_0x451893=>{const _0x50a35a=_0x5531e3;let _0x31745f=_0x451893[_0x50a35a(0xac)](_0x50a35a(0xa0));return _0x56335e(_0x31745f)&&(_0x31745f=String(Number(_0x31745f[_0x50a35a(0xae)](0x0,-0x1))/0x64)),_0x31745f===String(_0x86bb2e)?null:_0x4437f8[_0x50a35a(0xc5)][_0x50a35a(0xa2)][_0x50a35a(0xb4)](_0x31745f)?_0x31745f: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;}
|