@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251102.0 → 0.0.0-nightly-20251104.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
|
-
function
|
|
23
|
+
function _0x1311(){const _0x5d4c6e=['checkAttribute','removeAttribute','selection','model','isEnabled','getAttribute','1154620KGKwQd','1OxgwLH','308148RzwPJf','filter','execute','276970JPsCff','change','52656NpGJcO','setAttribute','lineHeight','getSelectedBlocks','143iGSpbA','from','refresh','208616UyvHoD','value','_canHaveLineHeight','274314EuPmcC','editor','document','35JhdpsW','18fuCYMn','1219470DNakLU','schema'];_0x1311=function(){return _0x5d4c6e;};return _0x1311();}const _0xe4d5e1=_0x5e8d;(function(_0x5588d7,_0x1bfa23){const _0x517295=_0x5e8d,_0x2766e4=_0x5588d7();while(!![]){try{const _0x343e7b=parseInt(_0x517295(0xfa))/0x1*(parseInt(_0x517295(0x107))/0x2)+-parseInt(_0x517295(0xfb))/0x3+parseInt(_0x517295(0xf9))/0x4+parseInt(_0x517295(0x10d))/0x5*(-parseInt(_0x517295(0x10a))/0x6)+-parseInt(_0x517295(0x10f))/0x7+parseInt(_0x517295(0x100))/0x8*(parseInt(_0x517295(0x10e))/0x9)+parseInt(_0x517295(0xfe))/0xa*(parseInt(_0x517295(0x104))/0xb);if(_0x343e7b===_0x1bfa23)break;else _0x2766e4['push'](_0x2766e4['shift']());}catch(_0x3a5e7f){_0x2766e4['push'](_0x2766e4['shift']());}}}(_0x1311,0x2950d));import{Command as _0x3267cd}from'ckeditor5/src/core.js';function _0x5e8d(_0x45cae3,_0x2daea7){const _0x1311ab=_0x1311();return _0x5e8d=function(_0x5e8d01,_0x50ff0b){_0x5e8d01=_0x5e8d01-0xf9;let _0x90f355=_0x1311ab[_0x5e8d01];return _0x90f355;},_0x5e8d(_0x45cae3,_0x2daea7);}import{first as _0x56e32f}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3267cd{[_0xe4d5e1(0x106)](){const _0x5f48fe=_0xe4d5e1,_0xb845f7=this[_0x5f48fe(0x10b)][_0x5f48fe(0x114)][_0x5f48fe(0x10c)],_0x1c4cc4=_0x56e32f(_0xb845f7[_0x5f48fe(0x113)][_0x5f48fe(0x103)]());this[_0x5f48fe(0x115)]=Boolean(_0x1c4cc4)&&this[_0x5f48fe(0x109)](_0x1c4cc4),this[_0x5f48fe(0x108)]=this[_0x5f48fe(0x115)]&&_0x1c4cc4[_0x5f48fe(0x116)](_0x5f48fe(0x102));}[_0xe4d5e1(0xfd)](_0x33ae75={}){const _0x25dd0c=_0xe4d5e1,_0x2dc176=this[_0x25dd0c(0x10b)][_0x25dd0c(0x114)],_0x20aec1=_0x2dc176[_0x25dd0c(0x10c)][_0x25dd0c(0x113)],_0x38a5f8=_0x33ae75[_0x25dd0c(0x108)];_0x2dc176[_0x25dd0c(0xff)](_0x286cb5=>{const _0x15ecaa=_0x25dd0c,_0x307a2d=Array[_0x15ecaa(0x105)](_0x20aec1[_0x15ecaa(0x103)]())[_0x15ecaa(0xfc)](_0x47ec11=>this[_0x15ecaa(0x109)](_0x47ec11));for(const _0xcbbc1e of _0x307a2d)_0x38a5f8?_0x286cb5[_0x15ecaa(0x101)](_0x15ecaa(0x102),_0x38a5f8,_0xcbbc1e):_0x286cb5[_0x15ecaa(0x112)](_0x15ecaa(0x102),_0xcbbc1e);});}[_0xe4d5e1(0x109)](_0x105310){const _0x49ccb7=_0xe4d5e1;return this[_0x49ccb7(0x10b)][_0x49ccb7(0x114)][_0x49ccb7(0x110)][_0x49ccb7(0x111)](_0x105310,_0x49ccb7(0x102));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x13ad(_0x3e54bc,_0x46d0fd){const _0x5e4b28=_0x5e4b();return _0x13ad=function(_0x13ad4e,_0x32790c){_0x13ad4e=_0x13ad4e-0x1c0;let _0x56e546=_0x5e4b28[_0x13ad4e];return _0x56e546;},_0x13ad(_0x3e54bc,_0x46d0fd);}const _0x3343c7=_0x13ad;function _0x5e4b(){const _0x53dff3=['lineHeight.supportAllValues','5yKbuEV','line-height','94523KyEsFv','slice','2054qhFWzp','length','pluginName','2100udFwhe','href','1089101mldQva','string','_prepareAnyValueConverters','values','conversion','getStyle','commands','3951xNMlHW','5278410ZPXely','LineHeightEditing','extend','_validateConfig','style','config','join','_preparePredefinedConverters','lineHeight','isOfficialPlugin','lineHeight.defaultValue','get','fromCharCode','upcast','model','line-height-invalid-use-of-named-presets','afterInit','define','setAttributeProperties','isPremiumPlugin','5810VBhjKo','editor','add','for','$block','default','includes','downcast','2934RvlJBo','filter','lineHeight.options','attributeToAttribute','4328ZgvatF','schema','4803eRqDEW','1620416kFuLBX','map','init'];_0x5e4b=function(){return _0x53dff3;};return _0x5e4b();}(function(_0x53b17f,_0x4962c){const _0x23aec2=_0x13ad,_0x5dcc33=_0x53b17f();while(!![]){try{const _0x433427=parseInt(_0x23aec2(0x1f3))/0x1+-parseInt(_0x23aec2(0x1ee))/0x2*(-parseInt(_0x23aec2(0x1e5))/0x3)+-parseInt(_0x23aec2(0x1e6))/0x4*(parseInt(_0x23aec2(0x1ea))/0x5)+-parseInt(_0x23aec2(0x1df))/0x6*(-parseInt(_0x23aec2(0x1d7))/0x7)+parseInt(_0x23aec2(0x1e3))/0x8*(parseInt(_0x23aec2(0x1c2))/0x9)+-parseInt(_0x23aec2(0x1c3))/0xa+-parseInt(_0x23aec2(0x1ec))/0xb*(parseInt(_0x23aec2(0x1f1))/0xc);if(_0x433427===_0x4962c)break;else _0x5dcc33['push'](_0x5dcc33['shift']());}catch(_0x21d736){_0x5dcc33['push'](_0x5dcc33['shift']());}}}(_0x5e4b,0xe57c9));import{Plugin as _0x5d19eb}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2219dd}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x532524}from'ckeditor5/src/engine.js';import{uid as _0x58b4d6,CKEditorError as _0x3e970a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x20eaf4,isLineHeightDefaultValue as _0x49d55b,normalizeOptions as _0x3c2e78}from'./utils.js';export class LineHeightEditing extends _0x5d19eb{static get[_0x3343c7(0x1f0)](){const _0x2d9dd6=_0x3343c7;return _0x2d9dd6(0x1c4);}static get[_0x3343c7(0x1cc)](){return!0x0;}static get[_0x3343c7(0x1d6)](){return!0x0;}constructor(_0x52a387){const _0x26aa13=_0x3343c7;super(_0x52a387),_0x52a387[_0x26aa13(0x1c8)][_0x26aa13(0x1d4)](_0x26aa13(0x1cb),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x26aa13(0x1dc),0x2,2.5,0x3]});}[_0x3343c7(0x1e8)](){const _0xcd5de0=_0x3343c7,_0x4a7bf6=this[_0xcd5de0(0x1d8)];this[_0xcd5de0(0x1c6)](),_0x4a7bf6[_0xcd5de0(0x1d1)][_0xcd5de0(0x1e4)][_0xcd5de0(0x1c5)](_0xcd5de0(0x1db),{'allowAttributes':_0xcd5de0(0x1cb)}),_0x4a7bf6[_0xcd5de0(0x1d1)][_0xcd5de0(0x1e4)][_0xcd5de0(0x1d5)](_0xcd5de0(0x1cb),{'isFormatting':!0x0}),_0x4a7bf6[_0xcd5de0(0x1c1)][_0xcd5de0(0x1d9)](_0xcd5de0(0x1cb),new _0x2219dd(_0x4a7bf6)),this[_0xcd5de0(0x1d8)][_0xcd5de0(0x1c8)][_0xcd5de0(0x1ce)](_0xcd5de0(0x1e9))?this[_0xcd5de0(0x1f5)]():this[_0xcd5de0(0x1ca)]();}[_0x3343c7(0x1d3)](){!async function(_0x859274){const _0x52f86d=_0x7d5d94([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x321561=0x45ddd215,_0x2062c2=0x45daa5e5^_0x321561,_0x339423=window[_0x7d5d94([0x44,0x61,0x74,0x65])][_0x7d5d94([0x6e,0x6f,0x77])](),_0x56dc41=_0x859274[_0x7d5d94([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d8ae7=new window[(_0x7d5d94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bc75a=>{_0x56dc41[_0x7d5d94([0x6f,0x6e,0x63,0x65])](_0x7d5d94([0x72,0x65,0x61,0x64,0x79]),_0x3bc75a);}),_0x267b86={[_0x7d5d94([0x6b,0x74,0x79])]:_0x7d5d94([0x45,0x43]),[_0x7d5d94([0x75,0x73,0x65])]:_0x7d5d94([0x73,0x69,0x67]),[_0x7d5d94([0x63,0x72,0x76])]:_0x7d5d94([0x50,0x2d,0x32,0x35,0x36]),[_0x7d5d94([0x78])]:_0x7d5d94([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]),[_0x7d5d94([0x79])]:_0x7d5d94([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]),[_0x7d5d94([0x61,0x6c,0x67])]:_0x7d5d94([0x45,0x53,0x32,0x35,0x36])},_0x4cde7f=_0x56dc41[_0x7d5d94([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7d5d94([0x67,0x65,0x74])](_0x7d5d94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b9c9e(){let _0x2444ad,_0x789fef=null,_0x2edabb=null;try{if(_0x4cde7f==_0x7d5d94([0x47,0x50,0x4c]))return _0x7d5d94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2444ad=_0x474803(),!_0x2444ad)return _0x7d5d94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2444ad[_0x7d5d94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2edabb=_0xfd275(_0x2444ad[_0x7d5d94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2444ad[_0x7d5d94([0x6a,0x74,0x69])])),await _0x1e0576()?_0x2c97f0()?_0x2c1011()?_0x7d5d94([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x289056()?(_0x2444ad[_0x7d5d94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7d5d94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x789fef=_0x5886b5(_0x7d5d94([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2444ad[_0x7d5d94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7d5d94([0x74,0x72,0x69,0x61,0x6c])&&(_0x789fef=_0x5886b5(_0x7d5d94([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1da385()):_0x7d5d94([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7d5d94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7d5d94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7d5d94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c1011(){const _0x354232=[_0x7d5d94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7d5d94([0x74,0x72,0x69,0x61,0x6c])][_0x7d5d94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2444ad[_0x7d5d94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x339423/0x3e8:0xe10*_0x2062c2;return _0x2444ad[_0x7d5d94([0x65,0x78,0x70])]<_0x354232;}function _0x2c97f0(){const _0x5dff2a=_0x2444ad[_0x7d5d94([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5dff2a&&(!!_0x5dff2a[_0x7d5d94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7d5d94([0x2a]))||!!_0x5dff2a[_0x7d5d94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7d5d94([0x4c,0x48])));}function _0x289056(){const _0x3414fa=_0x13ad,_0x584ed4=_0x2444ad[_0x7d5d94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x584ed4||0x0==_0x584ed4[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c5495}=new URL(window[_0x7d5d94([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3414fa(0x1f2)]);if(_0x584ed4[_0x7d5d94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5495))return!0x0;const _0x7a1680=_0x5c5495[_0x7d5d94([0x73,0x70,0x6c,0x69,0x74])](_0x7d5d94([0x2e]));return _0x584ed4[_0x7d5d94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x513187=>_0x513187[_0x7d5d94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7d5d94([0x2a])))[_0x7d5d94([0x6d,0x61,0x70])](_0x3e6ff3=>_0x3e6ff3[_0x7d5d94([0x73,0x70,0x6c,0x69,0x74])](_0x7d5d94([0x2e])))[_0x7d5d94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22983a=>_0x22983a[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x7a1680[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7d5d94([0x6d,0x61,0x70])](_0x5a37d9=>Array(_0x7a1680[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a37d9[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7d5d94([0x66,0x69,0x6c,0x6c])](_0x5a37d9[0x0]===_0x7d5d94([0x2a])?_0x7d5d94([0x2a]):'')[_0x7d5d94([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a37d9))[_0x7d5d94([0x73,0x6f,0x6d,0x65])](_0x2d4ffe=>_0x7a1680[_0x7d5d94([0x65,0x76,0x65,0x72,0x79])]((_0x161c68,_0x51366c)=>_0x2d4ffe[_0x51366c]===_0x161c68||_0x2d4ffe[_0x51366c]===_0x7d5d94([0x2a])));}function _0x1da385(){return _0x789fef&&_0x2edabb?new window[(_0x7d5d94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x76192f,_0x5e4ac1)=>{_0x789fef[_0x7d5d94([0x74,0x68,0x65,0x6e])](_0x76192f,_0x5e4ac1),_0x2edabb[_0x7d5d94([0x74,0x68,0x65,0x6e])](_0x505451=>{_0x505451!=_0x7d5d94([0x56,0x61,0x6c,0x69,0x64])&&_0x76192f(_0x505451);},_0x5e4ac1);}):_0x789fef||_0x2edabb||_0x7d5d94([0x56,0x61,0x6c,0x69,0x64]);}}function _0xfd275(_0x137b12,_0x5b7b4d){return new window[(_0x7d5d94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x160b11=>{if(_0x3053af())return _0x160b11(_0x7d5d94([0x56,0x61,0x6c,0x69,0x64]));_0x1a568a(),_0x56dc41[_0x7d5d94([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7d5d94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a0c46=!0x1;const _0x25c88e=_0x58b4d6();function _0x35eaa2(_0x36b79e){return!!_0x36b79e&&(typeof _0x36b79e===_0x7d5d94([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36b79e===_0x7d5d94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36b79e[_0x7d5d94([0x74,0x68,0x65,0x6e])]===_0x7d5d94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36b79e[_0x7d5d94([0x63,0x61,0x74,0x63,0x68])]===_0x7d5d94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x226a37(_0x24164d){_0x3b846c(_0x24164d)[_0x7d5d94([0x74,0x68,0x65,0x6e])](_0x158e8f=>{if(!_0x158e8f||_0x158e8f[_0x7d5d94([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7d5d94([0x6f,0x6b]))return _0x7d5d94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5847b0(_0xce03b0(_0x25c88e+_0x5b7b4d))!=_0x158e8f[_0x7d5d94([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7d5d94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7d5d94([0x56,0x61,0x6c,0x69,0x64]);})[_0x7d5d94([0x74,0x68,0x65,0x6e])](_0x3516f5=>(_0x44c9f8(),_0x3516f5),()=>{const _0x9e3006=_0x56cf2c();return null==_0x9e3006?(_0x44c9f8(),_0x7d5d94([0x56,0x61,0x6c,0x69,0x64])):_0x7d5d94(_0x339423-_0x9e3006>(0x61d15615^_0x321561)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7d5d94([0x74,0x68,0x65,0x6e])](_0x160b11)[_0x7d5d94([0x63,0x61,0x74,0x63,0x68])](()=>{_0x160b11(_0x7d5d94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x441bc1=0x45eb3c95^_0x321561;function _0x44c9f8(){const _0x11cfee=_0x7d5d94([0x6c,0x6c,0x63,0x74,0x2d])+_0x5847b0(_0xce03b0(_0x137b12)),_0x2442bf=_0x45de6a(_0x5847b0(window[_0x7d5d94([0x4d,0x61,0x74,0x68])][_0x7d5d94([0x63,0x65,0x69,0x6c])](_0x339423/_0x441bc1)));window[_0x7d5d94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7d5d94([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11cfee,_0x2442bf);}function _0x56cf2c(){const _0x347f2b=_0x7d5d94([0x6c,0x6c,0x63,0x74,0x2d])+_0x5847b0(_0xce03b0(_0x137b12)),_0x5494e5=window[_0x7d5d94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7d5d94([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x347f2b);return _0x5494e5?window[_0x7d5d94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45de6a(_0x5494e5),0x10)*_0x441bc1:null;}function _0x3b846c(_0x210aaa){return new window[(_0x7d5d94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cfed4,_0x25918d)=>{_0x210aaa[_0x7d5d94([0x74,0x68,0x65,0x6e])](_0x3cfed4,_0x25918d),window[_0x7d5d94([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25918d,0x45dc06d5^_0x321561);});}}_0x56dc41[_0x7d5d94([0x6f,0x6e])](_0x7d5d94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13741f,_0x26597f)=>{if(_0x26597f[0x0]!=_0x137b12)return _0x160b11(_0x7d5d94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26597f[0x1]={..._0x26597f[0x1],[_0x7d5d94([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25c88e};},{[_0x7d5d94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7d5d94([0x68,0x69,0x67,0x68])}),_0x56dc41[_0x7d5d94([0x6f,0x6e])](_0x7d5d94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a8077=>{_0x35eaa2(_0x4a8077[_0x7d5d94([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a0c46=!0x0,_0x226a37(_0x4a8077[_0x7d5d94([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7d5d94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7d5d94([0x6c,0x6f,0x77])}),_0x5d8ae7[_0x7d5d94([0x74,0x68,0x65,0x6e])](()=>{_0x3a0c46||_0x160b11(_0x7d5d94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3053af(){return _0x56dc41[_0x7d5d94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7d5d94([0x76,0x69,0x65,0x77])][_0x7d5d94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7d5d94([0x61,0x75,0x74,0x6f]);}function _0x1a568a(){_0x56dc41[_0x7d5d94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7d5d94([0x76,0x69,0x65,0x77])][_0x7d5d94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7d5d94([0x61,0x75,0x74,0x6f]);}}function _0x5886b5(_0x3830c5){const _0x4431ab=[new window[(_0x7d5d94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5be421=>setTimeout(_0x5be421,0x45d4ecd9^_0x321561)),_0x5d8ae7[_0x7d5d94([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7d5d94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cc944=>{let _0x3e6cd5=0x0;_0x56dc41[_0x7d5d94([0x6d,0x6f,0x64,0x65,0x6c])][_0x7d5d94([0x6f,0x6e])](_0x7d5d94([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x151ee8,_0x27c749)=>{_0x27c749[0x0][_0x7d5d94([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e6cd5++,_0x3e6cd5==(0x45ddd3ed^_0x321561)&&(_0x2cc944(),_0x151ee8[_0x7d5d94([0x6f,0x66,0x66])]());});}))];return window[_0x7d5d94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7d5d94([0x72,0x61,0x63,0x65])](_0x4431ab)[_0x7d5d94([0x74,0x68,0x65,0x6e])](()=>_0x3830c5);}async function _0x4c789a(){await _0x5d8ae7,_0x56dc41[_0x7d5d94([0x6d,0x6f,0x64,0x65,0x6c])][_0x7d5d94([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4216ae,_0x56dc41[_0x7d5d94([0x6d,0x6f,0x64,0x65,0x6c])][_0x7d5d94([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4216ae,_0x56dc41[_0x7d5d94([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7d5d94([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12456e(_0x24bed3){const _0x40cab7=_0x51e9b3();_0x56dc41[_0x40cab7]=_0x7d5d94([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24bed3,_0x24bed3!=_0x7d5d94([0x56,0x61,0x6c,0x69,0x64])&&_0x4c789a();}function _0x51e9b3(){const _0x27c4b3=window[_0x7d5d94([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7d5d94([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7d5d94([0x6e,0x6f,0x77])]())[_0x7d5d94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7d5d94([0x2e]),'');let _0x3dc7a2=_0x7d5d94([0x50]);for(let _0x35e996=0x0;_0x35e996<_0x27c4b3[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35e996+=0x2){let _0x196423=window[_0x7d5d94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27c4b3[_0x7d5d94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35e996,_0x35e996+0x2));_0x196423>=_0x52f86d[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x196423-=_0x52f86d[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3dc7a2+=_0x52f86d[_0x196423];}return _0x3dc7a2;}function _0x474803(){const _0x5cd583=_0x4cde7f[_0x7d5d94([0x73,0x70,0x6c,0x69,0x74])](_0x7d5d94([0x2e]));if(0x3!=_0x5cd583[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fac78(_0x5cd583[0x1]);function _0x1fac78(_0x5ccaca){const _0x4faf52=_0x2b0e55(_0x5ccaca);return _0x4faf52&&_0x5672a2()?_0x4faf52:null;function _0x5672a2(){const _0x3e6e44=_0x4faf52[_0x7d5d94([0x6a,0x74,0x69])],_0x4bbcc8=window[_0x7d5d94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e6e44[_0x7d5d94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e6e44[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b046d={..._0x4faf52,[_0x7d5d94([0x6a,0x74,0x69])]:_0x3e6e44[_0x7d5d94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e6e44[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b046d[_0x7d5d94([0x76,0x63])],_0xce03b0(_0x1b046d)==_0x4bbcc8;}}}async function _0x1e0576(){let _0x570812=!0x0;try{const _0xea7663=_0x4cde7f[_0x7d5d94([0x73,0x70,0x6c,0x69,0x74])](_0x7d5d94([0x2e])),[_0x22efb4,_0x4504cd,_0x14ad30]=_0xea7663;return _0x1fe4f7(_0x22efb4),await _0xe16f4e(_0x22efb4,_0x4504cd,_0x14ad30),_0x570812;}catch{return!0x1;}function _0x1fe4f7(_0x55ed4d){const _0x349937=_0x2b0e55(_0x55ed4d);_0x349937&&_0x349937[_0x7d5d94([0x61,0x6c,0x67])]==_0x7d5d94([0x45,0x53,0x32,0x35,0x36])||(_0x570812=!0x1);}async function _0xe16f4e(_0x21ac2b,_0x4d079a,_0x295d7c){const _0x5727b7=window[_0x7d5d94([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7d5d94([0x66,0x72,0x6f,0x6d])](_0x556351(_0x295d7c),_0x35a270=>_0x35a270[_0x7d5d94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x359941=new window[(_0x7d5d94([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7d5d94([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21ac2b+_0x7d5d94([0x2e])+_0x4d079a),_0x1564c6=window[_0x7d5d94([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7d5d94([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1564c6)return;const _0x2aff5e=await _0x1564c6[_0x7d5d94([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7d5d94([0x6a,0x77,0x6b]),_0x267b86,{[_0x7d5d94([0x6e,0x61,0x6d,0x65])]:_0x7d5d94([0x45,0x43,0x44,0x53,0x41]),[_0x7d5d94([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7d5d94([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7d5d94([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1564c6[_0x7d5d94([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7d5d94([0x6e,0x61,0x6d,0x65])]:_0x7d5d94([0x45,0x43,0x44,0x53,0x41]),[_0x7d5d94([0x68,0x61,0x73,0x68])]:{[_0x7d5d94([0x6e,0x61,0x6d,0x65])]:_0x7d5d94([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2aff5e,_0x5727b7,_0x359941)||(_0x570812=!0x1);}}function _0x2b0e55(_0xf98241){return _0xf98241[_0x7d5d94([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7d5d94([0x65,0x79]))?JSON[_0x7d5d94([0x70,0x61,0x72,0x73,0x65])](_0x556351(_0xf98241)):null;}function _0x556351(_0x3b4e81){return window[_0x7d5d94([0x61,0x74,0x6f,0x62])](_0x3b4e81[_0x7d5d94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7d5d94([0x2b]))[_0x7d5d94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7d5d94([0x2f])));}function _0xce03b0(_0x10fd50){let _0x2b808b=0x1505;function _0x292d71(_0x350dcf){for(let _0x62dce=0x0;_0x62dce<_0x350dcf[_0x7d5d94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x62dce++){const _0xac72de=_0x350dcf[_0x7d5d94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x62dce);_0x2b808b=(_0x2b808b<<0x5)+_0x2b808b+_0xac72de,_0x2b808b&=_0x2b808b;}}function _0x4117fb(_0x1c44ad){Array[_0x7d5d94([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c44ad)?_0x1c44ad[_0x7d5d94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4117fb):_0x1c44ad&&typeof _0x1c44ad==_0x7d5d94([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7d5d94([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c44ad)[_0x7d5d94([0x73,0x6f,0x72,0x74])]()[_0x7d5d94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5dbdd1,_0x206d84])=>{_0x292d71(_0x5dbdd1),_0x4117fb(_0x206d84);}):_0x292d71(window[_0x7d5d94([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c44ad));}return _0x4117fb(_0x10fd50),_0x2b808b>>>0x0;}function _0x5847b0(_0xad10bf){return _0xad10bf[_0x7d5d94([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7d5d94([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7d5d94([0x30]));}function _0x45de6a(_0x2a8aae){return _0x2a8aae[_0x7d5d94([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7d5d94([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7d5d94([0x6a,0x6f,0x69,0x6e])]('');}function _0x4216ae(){}function _0x7d5d94(_0x439693){const _0x55440b=_0x13ad;return _0x439693[_0x55440b(0x1e7)](_0x54a3ca=>String[_0x55440b(0x1cf)](_0x54a3ca))[_0x55440b(0x1c9)]('');}_0x12456e(await _0x2b9c9e());}(this);}[_0x3343c7(0x1c6)](){const _0x4dc478=_0x3343c7,_0x2d7f24=this[_0x4dc478(0x1d8)];if(!_0x2d7f24[_0x4dc478(0x1c8)][_0x4dc478(0x1ce)](_0x4dc478(0x1e9)))return;const _0x2757a1=_0x2d7f24[_0x4dc478(0x1c8)][_0x4dc478(0x1ce)](_0x4dc478(0x1e1))[_0x4dc478(0x1e0)](_0x2a31d2=>_0x4dc478(0x1f4)==typeof _0x2a31d2&&(!_0x49d55b(_0x2a31d2)&&isNaN(Number(_0x2a31d2))));if(_0x2757a1[_0x4dc478(0x1ef)])throw new _0x3e970a(_0x4dc478(0x1d2),null,{'namedPresets':_0x2757a1});}[_0x3343c7(0x1f5)](){const _0x3e083c=_0x3343c7,_0x13f594=this[_0x3e083c(0x1d8)],_0x5f5b25=this[_0x3e083c(0x1d8)][_0x3e083c(0x1c8)][_0x3e083c(0x1ce)](_0x3e083c(0x1cd));_0x13f594[_0x3e083c(0x1f7)][_0x3e083c(0x1da)](_0x3e083c(0x1de))[_0x3e083c(0x1e2)]({'model':{'key':_0x3e083c(0x1cb)},'view':_0x568735=>String(_0x568735)===String(_0x5f5b25)?null:{'key':_0x3e083c(0x1c7),'value':{'line-height':_0x568735}}}),_0x13f594[_0x3e083c(0x1f7)][_0x3e083c(0x1da)](_0x3e083c(0x1d0))[_0x3e083c(0x1e2)]({'model':{'key':_0x3e083c(0x1cb),'value':_0x3b6481=>{const _0x11c171=_0x3e083c;let _0x24202c=_0x3b6481[_0x11c171(0x1c0)](_0x11c171(0x1eb));return _0x532524(_0x24202c)&&(_0x24202c=String(Number(_0x24202c[_0x11c171(0x1ed)](0x0,-0x1))/0x64)),String(_0x24202c)===String(_0x5f5b25)?null:_0x24202c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3343c7(0x1ca)](){const _0x3ff220=_0x3343c7,_0x21b1e6=this[_0x3ff220(0x1d8)],_0x28d0d4=this[_0x3ff220(0x1d8)][_0x3ff220(0x1c8)][_0x3ff220(0x1ce)](_0x3ff220(0x1cd)),_0x5b7fca=_0x3c2e78(this[_0x3ff220(0x1d8)][_0x3ff220(0x1c8)][_0x3ff220(0x1ce)](_0x3ff220(0x1cb)))[_0x3ff220(0x1e0)](_0x404e76=>_0x404e76[_0x3ff220(0x1d1)]),_0x5e44a6=_0x20eaf4(_0x3ff220(0x1cb),_0x5b7fca);_0x21b1e6[_0x3ff220(0x1f7)][_0x3ff220(0x1e2)](_0x5e44a6),_0x21b1e6[_0x3ff220(0x1f7)][_0x3ff220(0x1da)](_0x3ff220(0x1d0))[_0x3ff220(0x1e2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3ff220(0x1cb),'value':_0x11277e=>{const _0x4329b2=_0x3ff220;let _0x1cd0f1=_0x11277e[_0x4329b2(0x1c0)](_0x4329b2(0x1eb));return _0x532524(_0x1cd0f1)&&(_0x1cd0f1=String(Number(_0x1cd0f1[_0x4329b2(0x1ed)](0x0,-0x1))/0x64)),_0x1cd0f1===String(_0x28d0d4)?null:_0x5e44a6[_0x4329b2(0x1d1)][_0x4329b2(0x1f6)][_0x4329b2(0x1dd)](_0x1cd0f1)?_0x1cd0f1:null;}}});}}
|
|
23
|
+
const _0x3c08dd=_0x186f;(function(_0x379d43,_0x2206e0){const _0x2acc5d=_0x186f,_0x4069a6=_0x379d43();while(!![]){try{const _0x7e8875=parseInt(_0x2acc5d(0x14e))/0x1*(parseInt(_0x2acc5d(0x143))/0x2)+parseInt(_0x2acc5d(0x126))/0x3+-parseInt(_0x2acc5d(0x135))/0x4+parseInt(_0x2acc5d(0x136))/0x5*(-parseInt(_0x2acc5d(0x122))/0x6)+-parseInt(_0x2acc5d(0x13f))/0x7*(-parseInt(_0x2acc5d(0x153))/0x8)+parseInt(_0x2acc5d(0x120))/0x9+parseInt(_0x2acc5d(0x152))/0xa;if(_0x7e8875===_0x2206e0)break;else _0x4069a6['push'](_0x4069a6['shift']());}catch(_0x5b89f1){_0x4069a6['push'](_0x4069a6['shift']());}}}(_0x26e7,0xec717));import{Plugin as _0x495290}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x151fc3}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5437c4}from'ckeditor5/src/engine.js';import{uid as _0xd5cf97,CKEditorError as _0x4bd5b2}from'ckeditor5/src/utils.js';import{buildDefinition as _0x51c698,isLineHeightDefaultValue as _0x4405dd,normalizeOptions as _0x16bb9e}from'./utils.js';function _0x26e7(){const _0x3cf1a1=['add','map','values','isPremiumPlugin','lineHeight.defaultValue','upcast','5275108cJCnKo','910wcncfu','line-height-invalid-use-of-named-presets','editor','join','attributeToAttribute','lineHeight','extend','conversion','length','122283SongdX','init','afterInit','includes','56790iCJrVR','config','$block','slice','commands','default','getStyle','href','pluginName','line-height','lineHeight.options','5rCofWN','_validateConfig','schema','filter','2536650bfVnTw','88LXqtHZ','setAttributeProperties','_preparePredefinedConverters','17045703ofSGmW','style','60822ElJOTg','isOfficialPlugin','lineHeight.supportAllValues','for','4951248uBRZjb','string','get','LineHeightEditing','_prepareAnyValueConverters','fromCharCode','downcast','define','model'];_0x26e7=function(){return _0x3cf1a1;};return _0x26e7();}function _0x186f(_0x295d80,_0x57fab0){const _0x26e795=_0x26e7();return _0x186f=function(_0x186feb,_0x42ffa7){_0x186feb=_0x186feb-0x120;let _0xd0d38e=_0x26e795[_0x186feb];return _0xd0d38e;},_0x186f(_0x295d80,_0x57fab0);}export class LineHeightEditing extends _0x495290{static get[_0x3c08dd(0x14b)](){const _0x5d6c24=_0x3c08dd;return _0x5d6c24(0x129);}static get[_0x3c08dd(0x123)](){return!0x0;}static get[_0x3c08dd(0x132)](){return!0x0;}constructor(_0x1a01c1){const _0xec14fe=_0x3c08dd;super(_0x1a01c1),_0x1a01c1[_0xec14fe(0x144)][_0xec14fe(0x12d)](_0xec14fe(0x13b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xec14fe(0x148),0x2,2.5,0x3]});}[_0x3c08dd(0x140)](){const _0x55395b=_0x3c08dd,_0x22ff6f=this[_0x55395b(0x138)];this[_0x55395b(0x14f)](),_0x22ff6f[_0x55395b(0x12e)][_0x55395b(0x150)][_0x55395b(0x13c)](_0x55395b(0x145),{'allowAttributes':_0x55395b(0x13b)}),_0x22ff6f[_0x55395b(0x12e)][_0x55395b(0x150)][_0x55395b(0x154)](_0x55395b(0x13b),{'isFormatting':!0x0}),_0x22ff6f[_0x55395b(0x147)][_0x55395b(0x12f)](_0x55395b(0x13b),new _0x151fc3(_0x22ff6f)),this[_0x55395b(0x138)][_0x55395b(0x144)][_0x55395b(0x128)](_0x55395b(0x124))?this[_0x55395b(0x12a)]():this[_0x55395b(0x155)]();}[_0x3c08dd(0x141)](){!async function(_0x275533){const _0x30bf00=_0xf4ed5b([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x26b2e6=0x45ddd215,_0x89066a=0x45daaa35^_0x26b2e6,_0xc81fe=window[_0xf4ed5b([0x44,0x61,0x74,0x65])][_0xf4ed5b([0x6e,0x6f,0x77])](),_0x19ecff=_0x275533[_0xf4ed5b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27bdd6=new window[(_0xf4ed5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c97a=>{_0x19ecff[_0xf4ed5b([0x6f,0x6e,0x63,0x65])](_0xf4ed5b([0x72,0x65,0x61,0x64,0x79]),_0x26c97a);}),_0x21ffd4={[_0xf4ed5b([0x6b,0x74,0x79])]:_0xf4ed5b([0x45,0x43]),[_0xf4ed5b([0x75,0x73,0x65])]:_0xf4ed5b([0x73,0x69,0x67]),[_0xf4ed5b([0x63,0x72,0x76])]:_0xf4ed5b([0x50,0x2d,0x32,0x35,0x36]),[_0xf4ed5b([0x78])]:_0xf4ed5b([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]),[_0xf4ed5b([0x79])]:_0xf4ed5b([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]),[_0xf4ed5b([0x61,0x6c,0x67])]:_0xf4ed5b([0x45,0x53,0x32,0x35,0x36])},_0x33dd6c=_0x19ecff[_0xf4ed5b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf4ed5b([0x67,0x65,0x74])](_0xf4ed5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x35dae5(){let _0x19e190,_0xb5ea42=null,_0x5cdfbc=null;try{if(_0x33dd6c==_0xf4ed5b([0x47,0x50,0x4c]))return _0xf4ed5b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x19e190=_0x398aba(),!_0x19e190)return _0xf4ed5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x19e190[_0xf4ed5b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5cdfbc=_0x3dfb15(_0x19e190[_0xf4ed5b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x19e190[_0xf4ed5b([0x6a,0x74,0x69])])),await _0x56c7c4()?_0x7834f9()?_0x290757()?_0xf4ed5b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x331f04()?(_0x19e190[_0xf4ed5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf4ed5b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb5ea42=_0xd1a6f5(_0xf4ed5b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x19e190[_0xf4ed5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf4ed5b([0x74,0x72,0x69,0x61,0x6c])&&(_0xb5ea42=_0xd1a6f5(_0xf4ed5b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5b4d2d()):_0xf4ed5b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf4ed5b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf4ed5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf4ed5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x290757(){const _0xa9e3bf=[_0xf4ed5b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf4ed5b([0x74,0x72,0x69,0x61,0x6c])][_0xf4ed5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19e190[_0xf4ed5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc81fe/0x3e8:0xe10*_0x89066a;return _0x19e190[_0xf4ed5b([0x65,0x78,0x70])]<_0xa9e3bf;}function _0x7834f9(){const _0x5838c8=_0x19e190[_0xf4ed5b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5838c8&&(!!_0x5838c8[_0xf4ed5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf4ed5b([0x2a]))||!!_0x5838c8[_0xf4ed5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf4ed5b([0x4c,0x48])));}function _0x331f04(){const _0x356821=_0x186f,_0x5a47a1=_0x19e190[_0xf4ed5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a47a1||0x0==_0x5a47a1[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x329aee}=new URL(window[_0xf4ed5b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x356821(0x14a)]);if(_0x5a47a1[_0xf4ed5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x329aee))return!0x0;const _0x46260d=_0x329aee[_0xf4ed5b([0x73,0x70,0x6c,0x69,0x74])](_0xf4ed5b([0x2e]));return _0x5a47a1[_0xf4ed5b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37d60c=>_0x37d60c[_0xf4ed5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf4ed5b([0x2a])))[_0xf4ed5b([0x6d,0x61,0x70])](_0xcd1d35=>_0xcd1d35[_0xf4ed5b([0x73,0x70,0x6c,0x69,0x74])](_0xf4ed5b([0x2e])))[_0xf4ed5b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16fc42=>_0x16fc42[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46260d[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf4ed5b([0x6d,0x61,0x70])](_0x2ecba8=>Array(_0x46260d[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ecba8[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf4ed5b([0x66,0x69,0x6c,0x6c])](_0x2ecba8[0x0]===_0xf4ed5b([0x2a])?_0xf4ed5b([0x2a]):'')[_0xf4ed5b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ecba8))[_0xf4ed5b([0x73,0x6f,0x6d,0x65])](_0x238f73=>_0x46260d[_0xf4ed5b([0x65,0x76,0x65,0x72,0x79])]((_0x1f9f8e,_0x26f019)=>_0x238f73[_0x26f019]===_0x1f9f8e||_0x238f73[_0x26f019]===_0xf4ed5b([0x2a])));}function _0x5b4d2d(){return _0xb5ea42&&_0x5cdfbc?new window[(_0xf4ed5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c4cfa,_0x52a924)=>{_0xb5ea42[_0xf4ed5b([0x74,0x68,0x65,0x6e])](_0x4c4cfa,_0x52a924),_0x5cdfbc[_0xf4ed5b([0x74,0x68,0x65,0x6e])](_0x77a057=>{_0x77a057!=_0xf4ed5b([0x56,0x61,0x6c,0x69,0x64])&&_0x4c4cfa(_0x77a057);},_0x52a924);}):_0xb5ea42||_0x5cdfbc||_0xf4ed5b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3dfb15(_0x57e3b5,_0xc264bb){return new window[(_0xf4ed5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e5fce=>{if(_0x39d5b1())return _0x3e5fce(_0xf4ed5b([0x56,0x61,0x6c,0x69,0x64]));_0x448d55(),_0x19ecff[_0xf4ed5b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf4ed5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x929f27=!0x1;const _0x43f644=_0xd5cf97();function _0x9a64a4(_0x4a9da2){return!!_0x4a9da2&&(typeof _0x4a9da2===_0xf4ed5b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a9da2===_0xf4ed5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a9da2[_0xf4ed5b([0x74,0x68,0x65,0x6e])]===_0xf4ed5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a9da2[_0xf4ed5b([0x63,0x61,0x74,0x63,0x68])]===_0xf4ed5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x178e5d(_0x11fbef){_0x569385(_0x11fbef)[_0xf4ed5b([0x74,0x68,0x65,0x6e])](_0x248382=>{if(!_0x248382||_0x248382[_0xf4ed5b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf4ed5b([0x6f,0x6b]))return _0xf4ed5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d3427(_0xc8162b(_0x43f644+_0xc264bb))!=_0x248382[_0xf4ed5b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf4ed5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf4ed5b([0x56,0x61,0x6c,0x69,0x64]);})[_0xf4ed5b([0x74,0x68,0x65,0x6e])](_0x134dc4=>(_0x15d620(),_0x134dc4),()=>{const _0x25f20b=_0x133c97();return null==_0x25f20b?(_0x15d620(),_0xf4ed5b([0x56,0x61,0x6c,0x69,0x64])):_0xf4ed5b(_0xc81fe-_0x25f20b>(0x61d15615^_0x26b2e6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf4ed5b([0x74,0x68,0x65,0x6e])](_0x3e5fce)[_0xf4ed5b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3e5fce(_0xf4ed5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xcfafe1=0x45eb3c95^_0x26b2e6;function _0x15d620(){const _0x18bb6b=_0xf4ed5b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3427(_0xc8162b(_0x57e3b5)),_0x1d9b6f=_0x47f583(_0x5d3427(window[_0xf4ed5b([0x4d,0x61,0x74,0x68])][_0xf4ed5b([0x63,0x65,0x69,0x6c])](_0xc81fe/_0xcfafe1)));window[_0xf4ed5b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf4ed5b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18bb6b,_0x1d9b6f);}function _0x133c97(){const _0x5ca241=_0xf4ed5b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3427(_0xc8162b(_0x57e3b5)),_0x19ed9f=window[_0xf4ed5b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf4ed5b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ca241);return _0x19ed9f?window[_0xf4ed5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47f583(_0x19ed9f),0x10)*_0xcfafe1:null;}function _0x569385(_0x246077){return new window[(_0xf4ed5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2940da,_0x1d8d7e)=>{_0x246077[_0xf4ed5b([0x74,0x68,0x65,0x6e])](_0x2940da,_0x1d8d7e),window[_0xf4ed5b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d8d7e,0x45dc06d5^_0x26b2e6);});}}_0x19ecff[_0xf4ed5b([0x6f,0x6e])](_0xf4ed5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55172b,_0x4b1d94)=>{if(_0x4b1d94[0x0]!=_0x57e3b5)return _0x3e5fce(_0xf4ed5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b1d94[0x1]={..._0x4b1d94[0x1],[_0xf4ed5b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43f644};},{[_0xf4ed5b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf4ed5b([0x68,0x69,0x67,0x68])}),_0x19ecff[_0xf4ed5b([0x6f,0x6e])](_0xf4ed5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a1bdd=>{_0x9a64a4(_0x3a1bdd[_0xf4ed5b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x929f27=!0x0,_0x178e5d(_0x3a1bdd[_0xf4ed5b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf4ed5b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf4ed5b([0x6c,0x6f,0x77])}),_0x27bdd6[_0xf4ed5b([0x74,0x68,0x65,0x6e])](()=>{_0x929f27||_0x3e5fce(_0xf4ed5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39d5b1(){return _0x19ecff[_0xf4ed5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf4ed5b([0x76,0x69,0x65,0x77])][_0xf4ed5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf4ed5b([0x61,0x75,0x74,0x6f]);}function _0x448d55(){_0x19ecff[_0xf4ed5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf4ed5b([0x76,0x69,0x65,0x77])][_0xf4ed5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf4ed5b([0x61,0x75,0x74,0x6f]);}}function _0xd1a6f5(_0x20b175){const _0x415d91=[new window[(_0xf4ed5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ab854=>setTimeout(_0x2ab854,0x45d4ecd9^_0x26b2e6)),_0x27bdd6[_0xf4ed5b([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf4ed5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd2dc9=>{let _0xd53f49=0x0;_0x19ecff[_0xf4ed5b([0x6d,0x6f,0x64,0x65,0x6c])][_0xf4ed5b([0x6f,0x6e])](_0xf4ed5b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d942e,_0x38291a)=>{_0x38291a[0x0][_0xf4ed5b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd53f49++,_0xd53f49==(0x45ddd3ed^_0x26b2e6)&&(_0xd2dc9(),_0x3d942e[_0xf4ed5b([0x6f,0x66,0x66])]());});}))];return window[_0xf4ed5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf4ed5b([0x72,0x61,0x63,0x65])](_0x415d91)[_0xf4ed5b([0x74,0x68,0x65,0x6e])](()=>_0x20b175);}async function _0x51fe26(){await _0x27bdd6,_0x19ecff[_0xf4ed5b([0x6d,0x6f,0x64,0x65,0x6c])][_0xf4ed5b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c7327,_0x19ecff[_0xf4ed5b([0x6d,0x6f,0x64,0x65,0x6c])][_0xf4ed5b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c7327,_0x19ecff[_0xf4ed5b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf4ed5b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5aba9f(_0x59f6cb){const _0x1497e3=_0x128b64();_0x19ecff[_0x1497e3]=_0xf4ed5b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59f6cb,_0x59f6cb!=_0xf4ed5b([0x56,0x61,0x6c,0x69,0x64])&&_0x51fe26();}function _0x128b64(){const _0x4211eb=window[_0xf4ed5b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf4ed5b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf4ed5b([0x6e,0x6f,0x77])]())[_0xf4ed5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf4ed5b([0x2e]),'');let _0x190cf3=_0xf4ed5b([0x50]);for(let _0x46b714=0x0;_0x46b714<_0x4211eb[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46b714+=0x2){let _0x4d5d50=window[_0xf4ed5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4211eb[_0xf4ed5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46b714,_0x46b714+0x2));_0x4d5d50>=_0x30bf00[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d5d50-=_0x30bf00[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x190cf3+=_0x30bf00[_0x4d5d50];}return _0x190cf3;}function _0x398aba(){const _0x497dc4=_0x33dd6c[_0xf4ed5b([0x73,0x70,0x6c,0x69,0x74])](_0xf4ed5b([0x2e]));if(0x3!=_0x497dc4[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1adf6e(_0x497dc4[0x1]);function _0x1adf6e(_0x500cfb){const _0x1611a4=_0x5ebc37(_0x500cfb);return _0x1611a4&&_0x2a9ffb()?_0x1611a4:null;function _0x2a9ffb(){const _0x5c2302=_0x1611a4[_0xf4ed5b([0x6a,0x74,0x69])],_0x59bd76=window[_0xf4ed5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c2302[_0xf4ed5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c2302[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xbfeb08={..._0x1611a4,[_0xf4ed5b([0x6a,0x74,0x69])]:_0x5c2302[_0xf4ed5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c2302[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xbfeb08[_0xf4ed5b([0x76,0x63])],_0xc8162b(_0xbfeb08)==_0x59bd76;}}}async function _0x56c7c4(){let _0xca9b28=!0x0;try{const _0x98c4f0=_0x33dd6c[_0xf4ed5b([0x73,0x70,0x6c,0x69,0x74])](_0xf4ed5b([0x2e])),[_0x4bb512,_0x58cf14,_0x484604]=_0x98c4f0;return _0x408e10(_0x4bb512),await _0x3d9281(_0x4bb512,_0x58cf14,_0x484604),_0xca9b28;}catch{return!0x1;}function _0x408e10(_0xe123ab){const _0x36014c=_0x5ebc37(_0xe123ab);_0x36014c&&_0x36014c[_0xf4ed5b([0x61,0x6c,0x67])]==_0xf4ed5b([0x45,0x53,0x32,0x35,0x36])||(_0xca9b28=!0x1);}async function _0x3d9281(_0x40cf69,_0x1c7c04,_0x389a8c){const _0x52f935=window[_0xf4ed5b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf4ed5b([0x66,0x72,0x6f,0x6d])](_0x5d7c5a(_0x389a8c),_0x2013f0=>_0x2013f0[_0xf4ed5b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37f8a5=new window[(_0xf4ed5b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf4ed5b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40cf69+_0xf4ed5b([0x2e])+_0x1c7c04),_0x52a281=window[_0xf4ed5b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf4ed5b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52a281)return;const _0x4a14e1=await _0x52a281[_0xf4ed5b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf4ed5b([0x6a,0x77,0x6b]),_0x21ffd4,{[_0xf4ed5b([0x6e,0x61,0x6d,0x65])]:_0xf4ed5b([0x45,0x43,0x44,0x53,0x41]),[_0xf4ed5b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf4ed5b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf4ed5b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52a281[_0xf4ed5b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf4ed5b([0x6e,0x61,0x6d,0x65])]:_0xf4ed5b([0x45,0x43,0x44,0x53,0x41]),[_0xf4ed5b([0x68,0x61,0x73,0x68])]:{[_0xf4ed5b([0x6e,0x61,0x6d,0x65])]:_0xf4ed5b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a14e1,_0x52f935,_0x37f8a5)||(_0xca9b28=!0x1);}}function _0x5ebc37(_0x2a55a2){return _0x2a55a2[_0xf4ed5b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf4ed5b([0x65,0x79]))?JSON[_0xf4ed5b([0x70,0x61,0x72,0x73,0x65])](_0x5d7c5a(_0x2a55a2)):null;}function _0x5d7c5a(_0x1208e4){return window[_0xf4ed5b([0x61,0x74,0x6f,0x62])](_0x1208e4[_0xf4ed5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf4ed5b([0x2b]))[_0xf4ed5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf4ed5b([0x2f])));}function _0xc8162b(_0x446d88){let _0x3b297a=0x1505;function _0x29f29d(_0x122f9e){for(let _0x1cf5c3=0x0;_0x1cf5c3<_0x122f9e[_0xf4ed5b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cf5c3++){const _0x22415a=_0x122f9e[_0xf4ed5b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cf5c3);_0x3b297a=(_0x3b297a<<0x5)+_0x3b297a+_0x22415a,_0x3b297a&=_0x3b297a;}}function _0x22269b(_0x48dfa5){Array[_0xf4ed5b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48dfa5)?_0x48dfa5[_0xf4ed5b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22269b):_0x48dfa5&&typeof _0x48dfa5==_0xf4ed5b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf4ed5b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48dfa5)[_0xf4ed5b([0x73,0x6f,0x72,0x74])]()[_0xf4ed5b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb03d92,_0x311c8c])=>{_0x29f29d(_0xb03d92),_0x22269b(_0x311c8c);}):_0x29f29d(window[_0xf4ed5b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48dfa5));}return _0x22269b(_0x446d88),_0x3b297a>>>0x0;}function _0x5d3427(_0x29e509){return _0x29e509[_0xf4ed5b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf4ed5b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf4ed5b([0x30]));}function _0x47f583(_0x52b80b){return _0x52b80b[_0xf4ed5b([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf4ed5b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf4ed5b([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c7327(){}function _0xf4ed5b(_0x5ae266){const _0x4d58a2=_0x186f;return _0x5ae266[_0x4d58a2(0x130)](_0x30135c=>String[_0x4d58a2(0x12b)](_0x30135c))[_0x4d58a2(0x139)]('');}_0x5aba9f(await _0x35dae5());}(this);}[_0x3c08dd(0x14f)](){const _0x583a5f=_0x3c08dd,_0x1571e4=this[_0x583a5f(0x138)];if(!_0x1571e4[_0x583a5f(0x144)][_0x583a5f(0x128)](_0x583a5f(0x124)))return;const _0x217388=_0x1571e4[_0x583a5f(0x144)][_0x583a5f(0x128)](_0x583a5f(0x14d))[_0x583a5f(0x151)](_0x93d459=>_0x583a5f(0x127)==typeof _0x93d459&&(!_0x4405dd(_0x93d459)&&isNaN(Number(_0x93d459))));if(_0x217388[_0x583a5f(0x13e)])throw new _0x4bd5b2(_0x583a5f(0x137),null,{'namedPresets':_0x217388});}[_0x3c08dd(0x12a)](){const _0x2a8618=_0x3c08dd,_0x1ab764=this[_0x2a8618(0x138)],_0x91d9f7=this[_0x2a8618(0x138)][_0x2a8618(0x144)][_0x2a8618(0x128)](_0x2a8618(0x133));_0x1ab764[_0x2a8618(0x13d)][_0x2a8618(0x125)](_0x2a8618(0x12c))[_0x2a8618(0x13a)]({'model':{'key':_0x2a8618(0x13b)},'view':_0x24d634=>String(_0x24d634)===String(_0x91d9f7)?null:{'key':_0x2a8618(0x121),'value':{'line-height':_0x24d634}}}),_0x1ab764[_0x2a8618(0x13d)][_0x2a8618(0x125)](_0x2a8618(0x134))[_0x2a8618(0x13a)]({'model':{'key':_0x2a8618(0x13b),'value':_0x47fc55=>{const _0x5cedb7=_0x2a8618;let _0x3fed45=_0x47fc55[_0x5cedb7(0x149)](_0x5cedb7(0x14c));return _0x5437c4(_0x3fed45)&&(_0x3fed45=String(Number(_0x3fed45[_0x5cedb7(0x146)](0x0,-0x1))/0x64)),String(_0x3fed45)===String(_0x91d9f7)?null:_0x3fed45;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3c08dd(0x155)](){const _0x17cd8c=_0x3c08dd,_0x144d28=this[_0x17cd8c(0x138)],_0x35597c=this[_0x17cd8c(0x138)][_0x17cd8c(0x144)][_0x17cd8c(0x128)](_0x17cd8c(0x133)),_0x59a8e3=_0x16bb9e(this[_0x17cd8c(0x138)][_0x17cd8c(0x144)][_0x17cd8c(0x128)](_0x17cd8c(0x13b)))[_0x17cd8c(0x151)](_0xd39d1f=>_0xd39d1f[_0x17cd8c(0x12e)]),_0x3a2a5b=_0x51c698(_0x17cd8c(0x13b),_0x59a8e3);_0x144d28[_0x17cd8c(0x13d)][_0x17cd8c(0x13a)](_0x3a2a5b),_0x144d28[_0x17cd8c(0x13d)][_0x17cd8c(0x125)](_0x17cd8c(0x134))[_0x17cd8c(0x13a)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x17cd8c(0x13b),'value':_0xb918de=>{const _0x170d96=_0x17cd8c;let _0x2b101c=_0xb918de[_0x170d96(0x149)](_0x170d96(0x14c));return _0x5437c4(_0x2b101c)&&(_0x2b101c=String(Number(_0x2b101c[_0x170d96(0x146)](0x0,-0x1))/0x64)),_0x2b101c===String(_0x35597c)?null:_0x3a2a5b[_0x170d96(0x12e)][_0x170d96(0x131)][_0x170d96(0x142)](_0x2b101c)?_0x2b101c:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x120a7b}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5342e2,createDropdown as _0x573e9c,MenuBarMenuListItemButtonView as _0x16522e,MenuBarMenuListItemView as _0x1e56e4,MenuBarMenuListView as _0x47e335,MenuBarMenuView as _0xaf1755,UIModel as _0x258cf3}from'ckeditor5/src/ui.js';import{Collection as _0x365265}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x49b1fb}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1ed883}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x120a7b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49816b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x49816b),this['_registerMenuBarComponent'](_0x49816b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ad621=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e34d1;for(const _0x3fc67f in _0x5ad621){const _0x28d928=_0x3fc67f,_0x45583b=_0x5ad621[_0x28d928];if('lineHeightLicenseKeyValid'==_0x45583b||'lineHeightLicenseKeyInvalid'==_0x45583b||'lineHeightLicenseKeyExpired'==_0x45583b||'lineHeightLicenseKeyDomainLimit'==_0x45583b||'lineHeightLicenseKeyNotAllowed'==_0x45583b||'lineHeightLicenseKeyEvaluationLimit'==_0x45583b||'lineHeightLicenseKeyTrialLimit'==_0x45583b||'lineHeightLicenseKeyUsageLimit'==_0x45583b){delete _0x5ad621[_0x28d928],_0x2e34d1=_0x45583b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2e34d1&&_0x5ad621['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2e34d1&&_0x5ad621['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2e34d1&&_0x5ad621['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2e34d1&&_0x5ad621['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2e34d1&&_0x5ad621['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2e34d1&&_0x5ad621['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2e34d1&&_0x5ad621['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5a638a=this['editor'],t=_0x5a638a['t'],_0x5ef8c=_0x5a638a['config']['get']('lineHeight'),_0x16e576={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1ed883(_0x5ef8c)['map'](_0x2a7e92=>{const _0x591ff9=_0x16e576[_0x2a7e92['title']];return _0x591ff9&&_0x591ff9!=_0x2a7e92['title']&&(_0x2a7e92=Object['assign']({},_0x2a7e92,{'title':_0x591ff9})),_0x2a7e92;});}['_prepareListOptions'](){const _0x57a6dd=this['editor']['commands']['get']('lineHeight'),_0x2d2496=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5a4135=this['_getLocalizedLineHeightOptions'](),_0x2eb43e=new _0x365265(),_0x4b9172=_0x32712a=>'default'===_0x32712a||String(_0x2d2496)===_0x32712a;for(const _0x3dcaa6 of _0x5a4135){const _0x5af5da={'type':'button','model':new _0x258cf3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3dcaa6['title'],'withText':!0x0})};_0x4b9172(_0x3dcaa6['model'])?(_0x5af5da['model']['bind']('isOn')['to'](_0x57a6dd,'value',_0x5e5c84=>!_0x5e5c84),_0x5af5da['model']['commandParam']=void 0x0):(_0x5af5da['model']['bind']('isOn')['to'](_0x57a6dd,'value',_0x210062=>_0x210062===_0x3dcaa6['model']),_0x5af5da['model']['commandParam']=_0x3dcaa6['model']),_0x2eb43e['add'](_0x5af5da);}if(this['_shouldRenderCustomValueOption']()){const _0x33b8d4=this['_getCustomValueOptionDefinition'](_0x5a4135);_0x2eb43e['add'](_0x33b8d4);}return _0x2eb43e;}['_getCustomValueOptionDefinition'](_0x55e6c0){const _0x9471b=this['editor'],t=_0x9471b['t'],_0x1e482d=_0x9471b['commands']['get']('lineHeight'),_0x157eef=_0x55e6c0['map'](_0x1f327e=>_0x1f327e['model']),_0x3d061f={'type':'button','model':new _0x258cf3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3d061f['model']['bind']('commandParam')['to'](_0x1e482d,'value'),_0x3d061f['model']['bind']('isOn')['to'](_0x1e482d,'value',_0x24e844=>!!_0x24e844&&!_0x157eef['includes'](String(_0x24e844))),_0x3d061f['model']['bind']('label')['to'](_0x1e482d,'value',_0xfa561a=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0xfa561a))),_0x3d061f;}['_registerToolbarComponent']({accessibleLabel:_0x3e4a3e,options:_0x475022}){const _0x154fb4=this['editor'],_0x1d11bf=_0x154fb4['commands']['get']('lineHeight');_0x154fb4['ui']['componentFactory']['add']('lineHeight',_0x167f0f=>{const _0x5876e6=_0x573e9c(_0x167f0f);return _0x5342e2(_0x5876e6,_0x475022,{'role':'menu','ariaLabel':_0x3e4a3e}),_0x5876e6['buttonView']['set']({'label':_0x3e4a3e,'tooltip':!0x0,'icon':_0x49b1fb}),_0x5876e6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5876e6['bind']('isEnabled')['to'](_0x1d11bf),this['listenTo'](_0x5876e6,'execute',_0x23c2ea=>{_0x154fb4['execute'](_0x23c2ea['source']['commandName'],{'value':_0x23c2ea['source']['commandParam']}),_0x154fb4['editing']['view']['focus']();}),_0x5876e6['once']('change:isOpen',()=>{const _0x53949d=_0x5876e6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5876e6,_0x475022,_0x53949d);}),_0x5876e6;});}['_registerMenuBarComponent']({accessibleLabel:_0x2a0b86,options:_0x3cf748}){const _0x33bc42=this['editor'],_0x244255=_0x33bc42['commands']['get']('lineHeight');_0x33bc42['ui']['componentFactory']['add']('menuBar:lineHeight',_0x147728=>{const _0x4b7d3b=new _0xaf1755(_0x147728);_0x4b7d3b['buttonView']['set']({'label':_0x2a0b86,'icon':_0x49b1fb}),_0x4b7d3b['bind']('isEnabled')['to'](_0x244255);const _0x34a7fb=new _0x47e335(_0x147728);for(const _0x194c26 of _0x3cf748){const _0x3e9f20=new _0x1e56e4(_0x147728,_0x4b7d3b),_0x3c41ce=new _0x16522e(_0x147728);_0x3c41ce['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3c41ce['bind'](...Object['keys'](_0x194c26['model']))['to'](_0x194c26['model']),_0x3c41ce['delegate']('execute')['to'](_0x4b7d3b),_0x3c41ce['on']('execute',()=>{_0x33bc42['execute'](_0x194c26['model']['commandName'],{'value':_0x194c26['model']['commandParam']}),_0x33bc42['editing']['view']['focus']();}),_0x3e9f20['children']['add'](_0x3c41ce),_0x34a7fb['items']['add'](_0x3e9f20);}return _0x4b7d3b['panelView']['children']['add'](_0x34a7fb),this['_attachCustomOptionVisibilityHandler'](_0x4b7d3b,_0x3cf748,_0x34a7fb),_0x4b7d3b;});}['_attachCustomOptionVisibilityHandler'](_0x4919e2,_0x590cb6,_0x1a631a){if(!this['_shouldRenderCustomValueOption']())return;const _0x71ff99=()=>{if(!_0x4919e2['isOpen'])return;_0x1a631a['items']['last']['isVisible']=Boolean(_0x590cb6['last']['model']['isOn']);};_0x71ff99(),_0x4919e2['on']('change:isOpen',()=>{_0x71ff99();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16c6a1,_0x228e7f){const _0x275f97=_0x3e8c,_0x225af6=_0x16c6a1();while(!![]){try{const _0x406fd7=-parseInt(_0x275f97(0x1cc))/0x1+parseInt(_0x275f97(0x1c3))/0x2+-parseInt(_0x275f97(0x1ba))/0x3+parseInt(_0x275f97(0x1b6))/0x4+parseInt(_0x275f97(0x1c6))/0x5+-parseInt(_0x275f97(0x1c1))/0x6*(parseInt(_0x275f97(0x1bb))/0x7)+-parseInt(_0x275f97(0x1b9))/0x8*(-parseInt(_0x275f97(0x1ad))/0x9);if(_0x406fd7===_0x228e7f)break;else _0x225af6['push'](_0x225af6['shift']());}catch(_0x35fa5e){_0x225af6['push'](_0x225af6['shift']());}}}(_0x41a1,0xb852d));function _0x3e8c(_0x102763,_0x72655a){const _0x41a18d=_0x41a1();return _0x3e8c=function(_0x3e8c1f,_0x590979){_0x3e8c1f=_0x3e8c1f-0x1ad;let _0x41bc36=_0x41a18d[_0x3e8c1f];return _0x41bc36;},_0x3e8c(_0x102763,_0x72655a);}const v={get 'single'(){const _0x28a5f8=_0x3e8c;return{'title':_0x28a5f8(0x1b2),'model':_0x28a5f8(0x1c4),'view':{'key':_0x28a5f8(0x1c2),'value':_0x28a5f8(0x1cd)}};},get 'double'(){const _0x4421ec=_0x3e8c;return{'title':_0x4421ec(0x1ae),'model':_0x4421ec(0x1bd),'view':{'key':_0x4421ec(0x1c2),'value':_0x4421ec(0x1b5)}};}};function _0x41a1(){const _0x562a8d=['5584280CytWrw','options','map','push','key','style','903309JJwvSV','line-height-single','99VvYYVP','Double','view','model','line-height:','Single','string','number','line-height-double','4759476PxpWMz','defaultValue','filter','131592wDPzek','579084HcWBSN','10530373EUDAwb','toLowerCase','double','span','values','value','6wZIAMc','class','1736002aiOnbQ','single','default'];_0x41a1=function(){return _0x562a8d;};return _0x41a1();}export function isLineHeightDefaultValue(_0x510ed4){const _0x51bb14=_0x3e8c;return _0x51bb14(0x1b3)==typeof _0x510ed4&&_0x51bb14(0x1c5)===_0x510ed4[_0x51bb14(0x1bc)]();}export function normalizeOptions(_0x38b2da){const _0x5307c4=_0x3e8c;return _0x38b2da[_0x5307c4(0x1c7)][_0x5307c4(0x1c8)](_0x45c84b=>isLineHeightDefaultValue(_0x45c84b)?{'title':String(_0x38b2da[_0x5307c4(0x1b7)]),'model':_0x5307c4(0x1c5)}:(_0x5307c4(0x1b4)==typeof _0x45c84b&&(_0x45c84b=String(_0x45c84b)),_0x5307c4(0x1b3)!=typeof _0x45c84b?_0x45c84b:parseFloat(_0x45c84b)?{'title':_0x45c84b,'model':_0x45c84b,'view':{'name':_0x5307c4(0x1be),'styles':{'line-height':_0x45c84b}}}:findPreset(_0x45c84b)))[_0x5307c4(0x1b8)](_0x4431e9=>void 0x0!==_0x4431e9);}export function findPreset(_0x36f316){const _0x24f3e8=_0x3e8c;return _0x24f3e8(0x1b3)==typeof _0x36f316?v[_0x36f316]:v[_0x36f316[_0x24f3e8(0x1b0)]];}export function buildDefinition(_0x8b4166,_0x2ff34d){const _0x599aea=_0x3e8c,_0xfc708d={'model':{'key':_0x8b4166,'values':[]},'view':{}};for(const _0x18aa0b of _0x2ff34d)_0x599aea(0x1c2)===_0x18aa0b[_0x599aea(0x1af)]?.[_0x599aea(0x1ca)]?(_0xfc708d[_0x599aea(0x1b0)][_0x599aea(0x1bf)][_0x599aea(0x1c9)](_0x18aa0b[_0x599aea(0x1b0)]),_0xfc708d[_0x599aea(0x1af)][_0x18aa0b[_0x599aea(0x1b0)]]={'key':_0x599aea(0x1c2),'value':_0x18aa0b[_0x599aea(0x1af)][_0x599aea(0x1c0)]}):(_0xfc708d[_0x599aea(0x1b0)][_0x599aea(0x1bf)][_0x599aea(0x1c9)](_0x18aa0b[_0x599aea(0x1b0)]),_0xfc708d[_0x599aea(0x1af)][_0x18aa0b[_0x599aea(0x1b0)]]={'key':_0x599aea(0x1cb),'value':_0x599aea(0x1b1)+_0x18aa0b[_0x599aea(0x1b0)]+';'});return _0xfc708d;}
|