@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250715.0 → 0.0.0-nightly-20250717.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x20d9(){const _0x57189f=['value','editor','lineHeight','17171880ilNjxs','filter','getSelectedBlocks','execute','removeAttribute','_canHaveLineHeight','change','215FJLrXU','getAttribute','model','5546142LKTpLL','from','checkAttribute','295024ZliLtE','selection','3330020RtvFDD','isEnabled','3039051HzMezr','741062iDoswQ','setAttribute','document','schema','162120jWEuBm','refresh','9xfpUKh'];_0x20d9=function(){return _0x57189f;};return _0x20d9();}const _0x5d6817=_0x15ce;(function(_0x21997e,_0x4b1370){const _0x4cc345=_0x15ce,_0x16ff06=_0x21997e();while(!![]){try{const _0xdf7180=parseInt(_0x4cc345(0x118))/0x1+-parseInt(_0x4cc345(0x11d))/0x2+-parseInt(_0x4cc345(0x11c))/0x3+-parseInt(_0x4cc345(0x11a))/0x4+-parseInt(_0x4cc345(0x112))/0x5*(-parseInt(_0x4cc345(0x121))/0x6)+-parseInt(_0x4cc345(0x115))/0x7+-parseInt(_0x4cc345(0x127))/0x8*(-parseInt(_0x4cc345(0x123))/0x9);if(_0xdf7180===_0x4b1370)break;else _0x16ff06['push'](_0x16ff06['shift']());}catch(_0x4d3f7e){_0x16ff06['push'](_0x16ff06['shift']());}}}(_0x20d9,0x91442));function _0x15ce(_0x63423d,_0x19e23c){const _0x20d9d8=_0x20d9();return _0x15ce=function(_0x15ceda,_0xef6593){_0x15ceda=_0x15ceda-0x10d;let _0x172a1d=_0x20d9d8[_0x15ceda];return _0x172a1d;},_0x15ce(_0x63423d,_0x19e23c);}import{Command as _0x316336}from'ckeditor5/src/core.js';import{first as _0x47d22b}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x316336{[_0x5d6817(0x122)](){const _0x338a5e=_0x5d6817,_0x141b20=this[_0x338a5e(0x125)][_0x338a5e(0x114)][_0x338a5e(0x11f)],_0x13b9b0=_0x47d22b(_0x141b20[_0x338a5e(0x119)][_0x338a5e(0x10d)]());this[_0x338a5e(0x11b)]=Boolean(_0x13b9b0)&&this[_0x338a5e(0x110)](_0x13b9b0),this[_0x338a5e(0x124)]=this[_0x338a5e(0x11b)]&&_0x13b9b0[_0x338a5e(0x113)](_0x338a5e(0x126));}[_0x5d6817(0x10e)](_0x2511d7={}){const _0x10d4da=_0x5d6817,_0x5484ea=this[_0x10d4da(0x125)][_0x10d4da(0x114)],_0x3ca65d=_0x5484ea[_0x10d4da(0x11f)][_0x10d4da(0x119)],_0x4e06a7=_0x2511d7[_0x10d4da(0x124)];_0x5484ea[_0x10d4da(0x111)](_0x4fac52=>{const _0x2bf3ca=_0x10d4da,_0x16ac55=Array[_0x2bf3ca(0x116)](_0x3ca65d[_0x2bf3ca(0x10d)]())[_0x2bf3ca(0x128)](_0x3e342f=>this[_0x2bf3ca(0x110)](_0x3e342f));for(const _0x463741 of _0x16ac55)_0x4e06a7?_0x4fac52[_0x2bf3ca(0x11e)](_0x2bf3ca(0x126),_0x4e06a7,_0x463741):_0x4fac52[_0x2bf3ca(0x10f)](_0x2bf3ca(0x126),_0x463741);});}[_0x5d6817(0x110)](_0x5878c1){const _0xc94c56=_0x5d6817;return this[_0xc94c56(0x125)][_0xc94c56(0x114)][_0xc94c56(0x120)][_0xc94c56(0x117)](_0x5878c1,_0xc94c56(0x126));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5951(_0x4c1500,_0x39d765){const _0x31a0f=_0x31a0();return _0x5951=function(_0x59514f,_0x4a9c43){_0x59514f=_0x59514f-0x6a;let _0x185a88=_0x31a0f[_0x59514f];return _0x185a88;},_0x5951(_0x4c1500,_0x39d765);}const _0xc3a12b=_0x5951;(function(_0x2891d7,_0x4f780){const _0x37ef1c=_0x5951,_0x341c91=_0x2891d7();while(!![]){try{const _0x19a589=parseInt(_0x37ef1c(0x99))/0x1+parseInt(_0x37ef1c(0x8a))/0x2*(parseInt(_0x37ef1c(0x76))/0x3)+-parseInt(_0x37ef1c(0x90))/0x4+parseInt(_0x37ef1c(0x87))/0x5+-parseInt(_0x37ef1c(0x7c))/0x6*(-parseInt(_0x37ef1c(0x84))/0x7)+-parseInt(_0x37ef1c(0x82))/0x8*(-parseInt(_0x37ef1c(0x70))/0x9)+-parseInt(_0x37ef1c(0x89))/0xa;if(_0x19a589===_0x4f780)break;else _0x341c91['push'](_0x341c91['shift']());}catch(_0x3ef0e9){_0x341c91['push'](_0x341c91['shift']());}}}(_0x31a0,0x4ca11));import{Plugin as _0x7ad80f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4479e0}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5a3828}from'ckeditor5/src/engine.js';import{uid as _0x4e8537,CKEditorError as _0x17da0c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x384ba6,isLineHeightDefaultValue as _0x4de7bb,normalizeOptions as _0x37993a}from'./utils.js';function _0x31a0(){const _0x4dc190=['attributeToAttribute','init','21573IrHfiw','filter','includes','define','editor','pluginName','6fsNIBW','config','slice','downcast','commands','lineHeight','328332lKQrXz','conversion','get','values','isOfficialPlugin','isPremiumPlugin','152TZlMdS','add','7JhtWtw','_prepareAnyValueConverters','getStyle','510925tXYhcy','$block','2331890kwJiMk','567262IhRelx','_validateConfig','_preparePredefinedConverters','LineHeightEditing','map','line-height-invalid-use-of-named-presets','1962508lowVFo','upcast','lineHeight.supportAllValues','lineHeight.options','model','line-height','length','for','afterInit','267977csvXSf','join','extend','default','lineHeight.defaultValue','string','href','style','fromCharCode','setAttributeProperties','schema'];_0x31a0=function(){return _0x4dc190;};return _0x31a0();}export class LineHeightEditing extends _0x7ad80f{static get[_0xc3a12b(0x75)](){const _0x2f65cf=_0xc3a12b;return _0x2f65cf(0x8d);}static get[_0xc3a12b(0x80)](){return!0x0;}static get[_0xc3a12b(0x81)](){return!0x0;}constructor(_0x456779){const _0x147d63=_0xc3a12b;super(_0x456779),_0x456779[_0x147d63(0x77)][_0x147d63(0x73)](_0x147d63(0x7b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x147d63(0x9c),0x2,2.5,0x3]});}[_0xc3a12b(0x6f)](){const _0x38d026=_0xc3a12b,_0x3e4f67=this[_0x38d026(0x74)];this[_0x38d026(0x8b)](),_0x3e4f67[_0x38d026(0x94)][_0x38d026(0x6d)][_0x38d026(0x9b)](_0x38d026(0x88),{'allowAttributes':_0x38d026(0x7b)}),_0x3e4f67[_0x38d026(0x94)][_0x38d026(0x6d)][_0x38d026(0x6c)](_0x38d026(0x7b),{'isFormatting':!0x0}),_0x3e4f67[_0x38d026(0x7a)][_0x38d026(0x83)](_0x38d026(0x7b),new _0x4479e0(_0x3e4f67)),this[_0x38d026(0x74)][_0x38d026(0x77)][_0x38d026(0x7e)](_0x38d026(0x92))?this[_0x38d026(0x85)]():this[_0x38d026(0x8c)]();}[_0xc3a12b(0x98)](){!async function(_0x52349e){const _0x464ea6=_0x2172b8([0x54,0x7a,0x61,0x6e,0x64,0x33,0x52,0x4b,0x53,0x4d,0x51,0x75,0x4c,0x6d,0x72,0x56,0x55,0x68,0x4f,0x49,0x50,0x70,0x6b,0x71,0x69,0x65,0x5a,0x6a,0x31,0x58,0x66,0x32,0x4e,0x46,0x59,0x62,0x77,0x76,0x67,0x37,0x57,0x39,0x48,0x73,0x4a,0x44,0x63,0x35,0x38,0x47,0x6f,0x42,0x6c,0x43,0x30,0x74,0x41,0x34,0x78,0x36,0x45,0x79]),_0x3ab7be=0x3c999884,_0x3a356e=0x3c9ef524^_0x3ab7be,_0x3719b8=window[_0x2172b8([0x44,0x61,0x74,0x65])][_0x2172b8([0x6e,0x6f,0x77])](),_0x55c131=_0x52349e[_0x2172b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcda911=new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5f10=>{_0x55c131[_0x2172b8([0x6f,0x6e,0x63,0x65])](_0x2172b8([0x72,0x65,0x61,0x64,0x79]),_0x5e5f10);}),_0x36b669={[_0x2172b8([0x6b,0x74,0x79])]:_0x2172b8([0x45,0x43]),[_0x2172b8([0x75,0x73,0x65])]:_0x2172b8([0x73,0x69,0x67]),[_0x2172b8([0x63,0x72,0x76])]:_0x2172b8([0x50,0x2d,0x32,0x35,0x36]),[_0x2172b8([0x78])]:_0x2172b8([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]),[_0x2172b8([0x79])]:_0x2172b8([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]),[_0x2172b8([0x61,0x6c,0x67])]:_0x2172b8([0x45,0x53,0x32,0x35,0x36])},_0x3adbae=_0x55c131[_0x2172b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2172b8([0x67,0x65,0x74])](_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31c7c0(){let _0x8d88db,_0x4822ee=null,_0x5b68b0=null;try{if(_0x3adbae==_0x2172b8([0x47,0x50,0x4c]))return _0x2172b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8d88db=_0x4bdf32(),!_0x8d88db)return _0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8d88db[_0x2172b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b68b0=_0x5a0c5c(_0x8d88db[_0x2172b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8d88db[_0x2172b8([0x6a,0x74,0x69])])),await _0x5b23df()?_0x1239a6()?_0x697ef2()?_0x2172b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1dd8ba()?(_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2172b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4822ee=_0x46b1ca(_0x2172b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2172b8([0x74,0x72,0x69,0x61,0x6c])&&(_0x4822ee=_0x46b1ca(_0x2172b8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22f59b()):_0x2172b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2172b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x697ef2(){const _0x28ce6e=[_0x2172b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2172b8([0x74,0x72,0x69,0x61,0x6c])][_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3719b8/0x3e8:0xe10*_0x3a356e;return _0x8d88db[_0x2172b8([0x65,0x78,0x70])]<_0x28ce6e;}function _0x1239a6(){const _0x1896d9=_0x8d88db[_0x2172b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1896d9&&(!!_0x1896d9[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x2a]))||!!_0x1896d9[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x4c,0x48])));}function _0x1dd8ba(){const _0x2f6585=_0x5951,_0x21e258=_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21e258||0x0==_0x21e258[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3299ca}=new URL(window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2f6585(0x9f)]);if(_0x21e258[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3299ca))return!0x0;const _0x5e5403=_0x3299ca[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e]));return _0x21e258[_0x2172b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdea983=>_0xdea983[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x2a])))[_0x2172b8([0x6d,0x61,0x70])](_0x3f47e4=>_0x3f47e4[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e])))[_0x2172b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1747fe=>_0x1747fe[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e5403[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2172b8([0x6d,0x61,0x70])](_0x131a10=>Array(_0x5e5403[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x131a10[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2172b8([0x66,0x69,0x6c,0x6c])](_0x131a10[0x0]===_0x2172b8([0x2a])?_0x2172b8([0x2a]):'')[_0x2172b8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x131a10))[_0x2172b8([0x73,0x6f,0x6d,0x65])](_0x5b96ad=>_0x5e5403[_0x2172b8([0x65,0x76,0x65,0x72,0x79])]((_0x37afbf,_0xa85817)=>_0x5b96ad[_0xa85817]===_0x37afbf||_0x5b96ad[_0xa85817]===_0x2172b8([0x2a])));}function _0x22f59b(){return _0x4822ee&&_0x5b68b0?new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37ce5b,_0x52b3e0)=>{_0x4822ee[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x37ce5b,_0x52b3e0),_0x5b68b0[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x8b3ea5=>{_0x8b3ea5!=_0x2172b8([0x56,0x61,0x6c,0x69,0x64])&&_0x37ce5b(_0x8b3ea5);},_0x52b3e0);}):_0x4822ee||_0x5b68b0||_0x2172b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a0c5c(_0xcedad3,_0xd39423){return new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x204981=>{if(_0x66d270())return _0x204981(_0x2172b8([0x56,0x61,0x6c,0x69,0x64]));_0x29fe5b(),_0x55c131[_0x2172b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x139ab8=!0x1;const _0x495fbf=_0x4e8537();function _0x3eaff0(_0xadc2cb){return!!_0xadc2cb&&(typeof _0xadc2cb===_0x2172b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xadc2cb===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xadc2cb[_0x2172b8([0x74,0x68,0x65,0x6e])]===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xadc2cb[_0x2172b8([0x63,0x61,0x74,0x63,0x68])]===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x347e77(_0x59e16f){_0x488d7e(_0x59e16f)[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x2ec315=>{if(!_0x2ec315||_0x2ec315[_0x2172b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2172b8([0x6f,0x6b]))return _0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x545afc(_0xf1cf4f(_0x495fbf+_0xd39423))!=_0x2ec315[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2172b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x21279e=>(_0x6636fc(),_0x21279e),()=>{const _0x340bef=_0x1a468d();return null==_0x340bef?(_0x6636fc(),_0x2172b8([0x56,0x61,0x6c,0x69,0x64])):_0x2172b8(_0x3719b8-_0x340bef>(0x18951c84^_0x3ab7be)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x204981)[_0x2172b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58cc4d=0x3caf7604^_0x3ab7be;function _0x6636fc(){const _0x3575c4=_0x2172b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x545afc(_0xf1cf4f(_0xcedad3)),_0x1e337e=_0x74ce65(_0x545afc(window[_0x2172b8([0x4d,0x61,0x74,0x68])][_0x2172b8([0x63,0x65,0x69,0x6c])](_0x3719b8/_0x58cc4d)));window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2172b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3575c4,_0x1e337e);}function _0x1a468d(){const _0x31d695=_0x2172b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x545afc(_0xf1cf4f(_0xcedad3)),_0x1b6c89=window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2172b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31d695);return _0x1b6c89?window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x74ce65(_0x1b6c89),0x10)*_0x58cc4d:null;}function _0x488d7e(_0x15c3b8){return new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a8d4,_0x734dce)=>{_0x15c3b8[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x54a8d4,_0x734dce),window[_0x2172b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x734dce,0x3c984c44^_0x3ab7be);});}}_0x55c131[_0x2172b8([0x6f,0x6e])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa48147,_0x511f57)=>{if(_0x511f57[0x0]!=_0xcedad3)return _0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x511f57[0x1]={..._0x511f57[0x1],[_0x2172b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x495fbf};},{[_0x2172b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2172b8([0x68,0x69,0x67,0x68])}),_0x55c131[_0x2172b8([0x6f,0x6e])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x120cf6=>{_0x3eaff0(_0x120cf6[_0x2172b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x139ab8=!0x0,_0x347e77(_0x120cf6[_0x2172b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2172b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2172b8([0x6c,0x6f,0x77])}),_0xcda911[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>{_0x139ab8||_0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x66d270(){return _0x55c131[_0x2172b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2172b8([0x76,0x69,0x65,0x77])][_0x2172b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2172b8([0x61,0x75,0x74,0x6f]);}function _0x29fe5b(){_0x55c131[_0x2172b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2172b8([0x76,0x69,0x65,0x77])][_0x2172b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2172b8([0x61,0x75,0x74,0x6f]);}}function _0x46b1ca(_0x1290af){const _0x4aae4e=[new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11ef42=>setTimeout(_0x11ef42,0x3c90a648^_0x3ab7be)),_0xcda911[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa1c1f8=>{let _0x24c242=0x0;_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x6f,0x6e])](_0x2172b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x259b9c,_0x4e0178)=>{_0x4e0178[0x0][_0x2172b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24c242++,_0x24c242==(0x3c99997c^_0x3ab7be)&&(_0xa1c1f8(),_0x259b9c[_0x2172b8([0x6f,0x66,0x66])]());});}))];return window[_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2172b8([0x72,0x61,0x63,0x65])](_0x4aae4e)[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>_0x1290af);}async function _0x33db9f(){await _0xcda911,_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d3722,_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d3722,_0x55c131[_0x2172b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5821e2(_0x1f0be7){const _0x3213a0=_0x4dd7c9();_0x55c131[_0x3213a0]=_0x2172b8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f0be7,_0x1f0be7!=_0x2172b8([0x56,0x61,0x6c,0x69,0x64])&&_0x33db9f();}function _0x4dd7c9(){const _0x5f1444=window[_0x2172b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2172b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2172b8([0x6e,0x6f,0x77])]())[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2172b8([0x2e]),'');let _0x11e338=_0x2172b8([0x54]);for(let _0x510042=0x0;_0x510042<_0x5f1444[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x510042+=0x2){let _0x3cdca6=window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f1444[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x510042,_0x510042+0x2));_0x3cdca6>=_0x464ea6[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3cdca6-=_0x464ea6[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11e338+=_0x464ea6[_0x3cdca6];}return _0x11e338;}function _0x4bdf32(){const _0x3548d2=_0x3adbae[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e]));if(0x3!=_0x3548d2[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1dd075(_0x3548d2[0x1]);function _0x1dd075(_0x2769c1){const _0x2eb317=_0x30d870(_0x2769c1);return _0x2eb317&&_0x6db764()?_0x2eb317:null;function _0x6db764(){const _0x3dbe91=_0x2eb317[_0x2172b8([0x6a,0x74,0x69])],_0x424f96=window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dbe91[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dbe91[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a34e4={..._0x2eb317,[_0x2172b8([0x6a,0x74,0x69])]:_0x3dbe91[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3dbe91[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a34e4[_0x2172b8([0x76,0x63])],_0xf1cf4f(_0x2a34e4)==_0x424f96;}}}async function _0x5b23df(){let _0x427921=!0x0;try{const _0x3787b5=_0x3adbae[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e])),[_0x46ceaa,_0x248a4f,_0x595ddf]=_0x3787b5;return _0x18786e(_0x46ceaa),await _0x1e4705(_0x46ceaa,_0x248a4f,_0x595ddf),_0x427921;}catch{return!0x1;}function _0x18786e(_0x4b2fcd){const _0x27b890=_0x30d870(_0x4b2fcd);_0x27b890&&_0x27b890[_0x2172b8([0x61,0x6c,0x67])]==_0x2172b8([0x45,0x53,0x32,0x35,0x36])||(_0x427921=!0x1);}async function _0x1e4705(_0x383823,_0x4ec654,_0x4f72a9){const _0x4c77ad=window[_0x2172b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2172b8([0x66,0x72,0x6f,0x6d])](_0x43eb45(_0x4f72a9),_0xf47186=>_0xf47186[_0x2172b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b0778=new window[(_0x2172b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2172b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x383823+_0x2172b8([0x2e])+_0x4ec654),_0x2afef0=window[_0x2172b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2172b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2afef0)return;const _0x663dc4=await _0x2afef0[_0x2172b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2172b8([0x6a,0x77,0x6b]),_0x36b669,{[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x45,0x43,0x44,0x53,0x41]),[_0x2172b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2172b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2afef0[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x45,0x43,0x44,0x53,0x41]),[_0x2172b8([0x68,0x61,0x73,0x68])]:{[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x663dc4,_0x4c77ad,_0x5b0778)||(_0x427921=!0x1);}}function _0x30d870(_0xb6b385){return _0xb6b385[_0x2172b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2172b8([0x65,0x79]))?JSON[_0x2172b8([0x70,0x61,0x72,0x73,0x65])](_0x43eb45(_0xb6b385)):null;}function _0x43eb45(_0x357bcd){return window[_0x2172b8([0x61,0x74,0x6f,0x62])](_0x357bcd[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2172b8([0x2b]))[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2172b8([0x2f])));}function _0xf1cf4f(_0x134d9f){let _0x1b1f1e=0x1505;function _0x34f768(_0x5c5a8f){for(let _0x60fafb=0x0;_0x60fafb<_0x5c5a8f[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x60fafb++){const _0x505ed2=_0x5c5a8f[_0x2172b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x60fafb);_0x1b1f1e=(_0x1b1f1e<<0x5)+_0x1b1f1e+_0x505ed2,_0x1b1f1e&=_0x1b1f1e;}}function _0x42c1dc(_0x521e6c){Array[_0x2172b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x521e6c)?_0x521e6c[_0x2172b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42c1dc):_0x521e6c&&typeof _0x521e6c==_0x2172b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2172b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x521e6c)[_0x2172b8([0x73,0x6f,0x72,0x74])]()[_0x2172b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5461c2,_0x18374d])=>{_0x34f768(_0x5461c2),_0x42c1dc(_0x18374d);}):_0x34f768(window[_0x2172b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x521e6c));}return _0x42c1dc(_0x134d9f),_0x1b1f1e>>>0x0;}function _0x545afc(_0x2e72a0){return _0x2e72a0[_0x2172b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2172b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2172b8([0x30]));}function _0x74ce65(_0x32f664){return _0x32f664[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2172b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2172b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d3722(){}function _0x2172b8(_0x1bb3b1){const _0x108918=_0x5951;return _0x1bb3b1[_0x108918(0x8e)](_0x208c56=>String[_0x108918(0x6b)](_0x208c56))[_0x108918(0x9a)]('');}_0x5821e2(await _0x31c7c0());}(this);}[_0xc3a12b(0x8b)](){const _0x1ee766=_0xc3a12b,_0x18bed6=this[_0x1ee766(0x74)];if(!_0x18bed6[_0x1ee766(0x77)][_0x1ee766(0x7e)](_0x1ee766(0x92)))return;const _0x35c0e8=_0x18bed6[_0x1ee766(0x77)][_0x1ee766(0x7e)](_0x1ee766(0x93))[_0x1ee766(0x71)](_0x124ab2=>_0x1ee766(0x9e)==typeof _0x124ab2&&(!_0x4de7bb(_0x124ab2)&&isNaN(Number(_0x124ab2))));if(_0x35c0e8[_0x1ee766(0x96)])throw new _0x17da0c(_0x1ee766(0x8f),null,{'namedPresets':_0x35c0e8});}[_0xc3a12b(0x85)](){const _0x1a6c01=_0xc3a12b,_0x3c2016=this[_0x1a6c01(0x74)],_0x50598b=this[_0x1a6c01(0x74)][_0x1a6c01(0x77)][_0x1a6c01(0x7e)](_0x1a6c01(0x9d));_0x3c2016[_0x1a6c01(0x7d)][_0x1a6c01(0x97)](_0x1a6c01(0x79))[_0x1a6c01(0x6e)]({'model':{'key':_0x1a6c01(0x7b)},'view':_0x279ce8=>String(_0x279ce8)===String(_0x50598b)?null:{'key':_0x1a6c01(0x6a),'value':{'line-height':_0x279ce8}}}),_0x3c2016[_0x1a6c01(0x7d)][_0x1a6c01(0x97)](_0x1a6c01(0x91))[_0x1a6c01(0x6e)]({'model':{'key':_0x1a6c01(0x7b),'value':_0x1a0f3b=>{const _0x364e0c=_0x1a6c01;let _0x2b702e=_0x1a0f3b[_0x364e0c(0x86)](_0x364e0c(0x95));return _0x5a3828(_0x2b702e)&&(_0x2b702e=String(Number(_0x2b702e[_0x364e0c(0x78)](0x0,-0x1))/0x64)),String(_0x2b702e)===String(_0x50598b)?null:_0x2b702e;}},'view':{'styles':{'line-height':/.*/}}});}[_0xc3a12b(0x8c)](){const _0x2a4ca3=_0xc3a12b,_0x435056=this[_0x2a4ca3(0x74)],_0x328eae=this[_0x2a4ca3(0x74)][_0x2a4ca3(0x77)][_0x2a4ca3(0x7e)](_0x2a4ca3(0x9d)),_0x378932=_0x37993a(this[_0x2a4ca3(0x74)][_0x2a4ca3(0x77)][_0x2a4ca3(0x7e)](_0x2a4ca3(0x7b)))[_0x2a4ca3(0x71)](_0x4f557d=>_0x4f557d[_0x2a4ca3(0x94)]),_0x2b6d7f=_0x384ba6(_0x2a4ca3(0x7b),_0x378932);_0x435056[_0x2a4ca3(0x7d)][_0x2a4ca3(0x6e)](_0x2b6d7f),_0x435056[_0x2a4ca3(0x7d)][_0x2a4ca3(0x97)](_0x2a4ca3(0x91))[_0x2a4ca3(0x6e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2a4ca3(0x7b),'value':_0x273e93=>{const _0x1a1bd4=_0x2a4ca3;let _0x3e2bb9=_0x273e93[_0x1a1bd4(0x86)](_0x1a1bd4(0x95));return _0x5a3828(_0x3e2bb9)&&(_0x3e2bb9=String(Number(_0x3e2bb9[_0x1a1bd4(0x78)](0x0,-0x1))/0x64)),_0x3e2bb9===String(_0x328eae)?null:_0x2b6d7f[_0x1a1bd4(0x94)][_0x1a1bd4(0x7f)][_0x1a1bd4(0x72)](_0x3e2bb9)?_0x3e2bb9:null;}}});}}
|
|
23
|
+
const _0x5e1f5b=_0x1249;function _0x3e2a(){const _0x2ae813=['line-height-invalid-use-of-named-presets','setAttributeProperties','13029wrAnPy','get','_validateConfig','slice','schema','downcast','default','join','1SgesuO','conversion','extend','isOfficialPlugin','51457160BfoFwt','values','for','line-height','3411890RDOfov','define','12181590vdbERQ','style','filter','116ZyqXeZ','afterInit','href','string','fromCharCode','5Hhsmux','LineHeightEditing','upcast','pluginName','_preparePredefinedConverters','_prepareAnyValueConverters','map','commands','$block','5980808pKpmTX','isPremiumPlugin','lineHeight.defaultValue','2624160pZQqfL','getStyle','includes','init','attributeToAttribute','editor','lineHeight.options','length','lineHeight.supportAllValues','add','10694530nLYeFe','config','model','lineHeight'];_0x3e2a=function(){return _0x2ae813;};return _0x3e2a();}(function(_0x526a56,_0x36dab8){const _0x24437b=_0x1249,_0x4bf41d=_0x526a56();while(!![]){try{const _0x383392=-parseInt(_0x24437b(0x90))/0x1*(parseInt(_0x24437b(0x98))/0x2)+parseInt(_0x24437b(0x88))/0x3*(parseInt(_0x24437b(0x9d))/0x4)+-parseInt(_0x24437b(0x6c))/0x5*(parseInt(_0x24437b(0x78))/0x6)+-parseInt(_0x24437b(0x82))/0x7+parseInt(_0x24437b(0x75))/0x8+-parseInt(_0x24437b(0x9a))/0x9+parseInt(_0x24437b(0x94))/0xa;if(_0x383392===_0x36dab8)break;else _0x4bf41d['push'](_0x4bf41d['shift']());}catch(_0xf5d7e9){_0x4bf41d['push'](_0x4bf41d['shift']());}}}(_0x3e2a,0xf2d63));import{Plugin as _0x187cb6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x58f3da}from'./lineheightcommand.js';function _0x1249(_0x277b47,_0x27407b){const _0x3e2a11=_0x3e2a();return _0x1249=function(_0x124903,_0x45114d){_0x124903=_0x124903-0x6b;let _0x5b5ebe=_0x3e2a11[_0x124903];return _0x5b5ebe;},_0x1249(_0x277b47,_0x27407b);}import{isPercentageStyleValue as _0x249b8d}from'ckeditor5/src/engine.js';import{uid as _0xafcaaf,CKEditorError as _0x4a15e7}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3c3250,isLineHeightDefaultValue as _0x45217c,normalizeOptions as _0x53d495}from'./utils.js';export class LineHeightEditing extends _0x187cb6{static get[_0x5e1f5b(0x6f)](){const _0x9d644a=_0x5e1f5b;return _0x9d644a(0x6d);}static get[_0x5e1f5b(0x93)](){return!0x0;}static get[_0x5e1f5b(0x76)](){return!0x0;}constructor(_0x1cb329){const _0x47726e=_0x5e1f5b;super(_0x1cb329),_0x1cb329[_0x47726e(0x83)][_0x47726e(0x99)](_0x47726e(0x85),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x47726e(0x8e),0x2,2.5,0x3]});}[_0x5e1f5b(0x7b)](){const _0x7a8645=_0x5e1f5b,_0x313ece=this[_0x7a8645(0x7d)];this[_0x7a8645(0x8a)](),_0x313ece[_0x7a8645(0x84)][_0x7a8645(0x8c)][_0x7a8645(0x92)](_0x7a8645(0x74),{'allowAttributes':_0x7a8645(0x85)}),_0x313ece[_0x7a8645(0x84)][_0x7a8645(0x8c)][_0x7a8645(0x87)](_0x7a8645(0x85),{'isFormatting':!0x0}),_0x313ece[_0x7a8645(0x73)][_0x7a8645(0x81)](_0x7a8645(0x85),new _0x58f3da(_0x313ece)),this[_0x7a8645(0x7d)][_0x7a8645(0x83)][_0x7a8645(0x89)](_0x7a8645(0x80))?this[_0x7a8645(0x71)]():this[_0x7a8645(0x70)]();}[_0x5e1f5b(0x9e)](){!async function(_0x2826e5){const _0x3c1465=_0x404d47([0x31,0x44,0x57,0x52,0x53,0x77,0x66,0x54,0x4b,0x6b,0x32,0x46,0x4c,0x55,0x4d,0x50,0x42,0x6a,0x47,0x49,0x72,0x39,0x38,0x59,0x63,0x56,0x79,0x48,0x62,0x45,0x5a,0x76,0x70,0x35,0x7a,0x6c,0x43,0x67,0x41,0x6d,0x78,0x6e,0x4a,0x71,0x34,0x68,0x58,0x4f,0x4e,0x74,0x75,0x33,0x65,0x69,0x64,0x6f,0x37,0x36,0x73,0x30,0x61,0x51]),_0x590318=0x25dbfaf4,_0x39ca04=0x25dc9724^_0x590318,_0x5d88d6=window[_0x404d47([0x44,0x61,0x74,0x65])][_0x404d47([0x6e,0x6f,0x77])](),_0x59af60=_0x2826e5[_0x404d47([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5eef84=new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24c699=>{_0x59af60[_0x404d47([0x6f,0x6e,0x63,0x65])](_0x404d47([0x72,0x65,0x61,0x64,0x79]),_0x24c699);}),_0x1f6e63={[_0x404d47([0x6b,0x74,0x79])]:_0x404d47([0x45,0x43]),[_0x404d47([0x75,0x73,0x65])]:_0x404d47([0x73,0x69,0x67]),[_0x404d47([0x63,0x72,0x76])]:_0x404d47([0x50,0x2d,0x32,0x35,0x36]),[_0x404d47([0x78])]:_0x404d47([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]),[_0x404d47([0x79])]:_0x404d47([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]),[_0x404d47([0x61,0x6c,0x67])]:_0x404d47([0x45,0x53,0x32,0x35,0x36])},_0x393c1b=_0x59af60[_0x404d47([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x404d47([0x67,0x65,0x74])](_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38f3c5(){let _0x28e3a6,_0x129983=null,_0x22b398=null;try{if(_0x393c1b==_0x404d47([0x47,0x50,0x4c]))return _0x404d47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28e3a6=_0x1e7a18(),!_0x28e3a6)return _0x404d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28e3a6[_0x404d47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22b398=_0xc7fcee(_0x28e3a6[_0x404d47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28e3a6[_0x404d47([0x6a,0x74,0x69])])),await _0x1010ec()?_0x4f952f()?_0x419659()?_0x404d47([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bb9aa()?(_0x28e3a6[_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x404d47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x129983=_0x4a5ffa(_0x404d47([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28e3a6[_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x404d47([0x74,0x72,0x69,0x61,0x6c])&&(_0x129983=_0x4a5ffa(_0x404d47([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28cc6d()):_0x404d47([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x404d47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x404d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x404d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x419659(){const _0x3eef5f=[_0x404d47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x404d47([0x74,0x72,0x69,0x61,0x6c])][_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28e3a6[_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d88d6/0x3e8:0xe10*_0x39ca04;return _0x28e3a6[_0x404d47([0x65,0x78,0x70])]<_0x3eef5f;}function _0x4f952f(){const _0x30f785=_0x28e3a6[_0x404d47([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30f785&&(!!_0x30f785[_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x404d47([0x2a]))||!!_0x30f785[_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x404d47([0x4c,0x48])));}function _0x1bb9aa(){const _0x3d2a82=_0x1249,_0x3cd3aa=_0x28e3a6[_0x404d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3cd3aa||0x0==_0x3cd3aa[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20924e}=new URL(window[_0x404d47([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d2a82(0x9f)]);if(_0x3cd3aa[_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20924e))return!0x0;const _0x529747=_0x20924e[_0x404d47([0x73,0x70,0x6c,0x69,0x74])](_0x404d47([0x2e]));return _0x3cd3aa[_0x404d47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaf3920=>_0xaf3920[_0x404d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x404d47([0x2a])))[_0x404d47([0x6d,0x61,0x70])](_0x5cbfd6=>_0x5cbfd6[_0x404d47([0x73,0x70,0x6c,0x69,0x74])](_0x404d47([0x2e])))[_0x404d47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xae422f=>_0xae422f[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x529747[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x404d47([0x6d,0x61,0x70])](_0x44c479=>Array(_0x529747[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44c479[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x404d47([0x66,0x69,0x6c,0x6c])](_0x44c479[0x0]===_0x404d47([0x2a])?_0x404d47([0x2a]):'')[_0x404d47([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44c479))[_0x404d47([0x73,0x6f,0x6d,0x65])](_0xc3078d=>_0x529747[_0x404d47([0x65,0x76,0x65,0x72,0x79])]((_0x16de09,_0x185675)=>_0xc3078d[_0x185675]===_0x16de09||_0xc3078d[_0x185675]===_0x404d47([0x2a])));}function _0x28cc6d(){return _0x129983&&_0x22b398?new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7d4b16,_0x3244d9)=>{_0x129983[_0x404d47([0x74,0x68,0x65,0x6e])](_0x7d4b16,_0x3244d9),_0x22b398[_0x404d47([0x74,0x68,0x65,0x6e])](_0x46c601=>{_0x46c601!=_0x404d47([0x56,0x61,0x6c,0x69,0x64])&&_0x7d4b16(_0x46c601);},_0x3244d9);}):_0x129983||_0x22b398||_0x404d47([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc7fcee(_0xcae743,_0x487c0f){return new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14cb67=>{if(_0x4b3972())return _0x14cb67(_0x404d47([0x56,0x61,0x6c,0x69,0x64]));_0x1cd12c(),_0x59af60[_0x404d47([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x404d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5067ed=!0x1;const _0x415f6b=_0xafcaaf();function _0x188ea3(_0x46e535){return!!_0x46e535&&(typeof _0x46e535===_0x404d47([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46e535===_0x404d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46e535[_0x404d47([0x74,0x68,0x65,0x6e])]===_0x404d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46e535[_0x404d47([0x63,0x61,0x74,0x63,0x68])]===_0x404d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x183697(_0x3411d6){_0x25f14f(_0x3411d6)[_0x404d47([0x74,0x68,0x65,0x6e])](_0x145b47=>{if(!_0x145b47||_0x145b47[_0x404d47([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x404d47([0x6f,0x6b]))return _0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x279053(_0x5d366b(_0x415f6b+_0x487c0f))!=_0x145b47[_0x404d47([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x404d47([0x56,0x61,0x6c,0x69,0x64]);})[_0x404d47([0x74,0x68,0x65,0x6e])](_0x14a52c=>(_0x2de8f9(),_0x14a52c),()=>{const _0x7c8478=_0x749e94();return null==_0x7c8478?(_0x2de8f9(),_0x404d47([0x56,0x61,0x6c,0x69,0x64])):_0x404d47(_0x5d88d6-_0x7c8478>(0x1d77ef4^_0x590318)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x404d47([0x74,0x68,0x65,0x6e])](_0x14cb67)[_0x404d47([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14cb67(_0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b8b65=0x25ed1474^_0x590318;function _0x2de8f9(){const _0x204711=_0x404d47([0x6c,0x6c,0x63,0x74,0x2d])+_0x279053(_0x5d366b(_0xcae743)),_0x221751=_0x56db26(_0x279053(window[_0x404d47([0x4d,0x61,0x74,0x68])][_0x404d47([0x63,0x65,0x69,0x6c])](_0x5d88d6/_0x2b8b65)));window[_0x404d47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x404d47([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x204711,_0x221751);}function _0x749e94(){const _0x275708=_0x404d47([0x6c,0x6c,0x63,0x74,0x2d])+_0x279053(_0x5d366b(_0xcae743)),_0x30473c=window[_0x404d47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x404d47([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x275708);return _0x30473c?window[_0x404d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56db26(_0x30473c),0x10)*_0x2b8b65:null;}function _0x25f14f(_0x170606){return new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d4b39,_0x232c80)=>{_0x170606[_0x404d47([0x74,0x68,0x65,0x6e])](_0x2d4b39,_0x232c80),window[_0x404d47([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x232c80,0x25da2e34^_0x590318);});}}_0x59af60[_0x404d47([0x6f,0x6e])](_0x404d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x550df9,_0x3e6e72)=>{if(_0x3e6e72[0x0]!=_0xcae743)return _0x14cb67(_0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e6e72[0x1]={..._0x3e6e72[0x1],[_0x404d47([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x415f6b};},{[_0x404d47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x404d47([0x68,0x69,0x67,0x68])}),_0x59af60[_0x404d47([0x6f,0x6e])](_0x404d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25e047=>{_0x188ea3(_0x25e047[_0x404d47([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5067ed=!0x0,_0x183697(_0x25e047[_0x404d47([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x404d47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x404d47([0x6c,0x6f,0x77])}),_0x5eef84[_0x404d47([0x74,0x68,0x65,0x6e])](()=>{_0x5067ed||_0x14cb67(_0x404d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b3972(){return _0x59af60[_0x404d47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x404d47([0x76,0x69,0x65,0x77])][_0x404d47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x404d47([0x61,0x75,0x74,0x6f]);}function _0x1cd12c(){_0x59af60[_0x404d47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x404d47([0x76,0x69,0x65,0x77])][_0x404d47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x404d47([0x61,0x75,0x74,0x6f]);}}function _0x4a5ffa(_0x38f276){const _0x25aa00=[new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x303d75=>setTimeout(_0x303d75,0x25d2c438^_0x590318)),_0x5eef84[_0x404d47([0x74,0x68,0x65,0x6e])](()=>new window[(_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e1dcb=>{let _0x5d0f81=0x0;_0x59af60[_0x404d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x404d47([0x6f,0x6e])](_0x404d47([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x357840,_0xa2c76e)=>{_0xa2c76e[0x0][_0x404d47([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d0f81++,_0x5d0f81==(0x25dbfb0c^_0x590318)&&(_0x2e1dcb(),_0x357840[_0x404d47([0x6f,0x66,0x66])]());});}))];return window[_0x404d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x404d47([0x72,0x61,0x63,0x65])](_0x25aa00)[_0x404d47([0x74,0x68,0x65,0x6e])](()=>_0x38f276);}async function _0x420bdb(){await _0x5eef84,_0x59af60[_0x404d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x404d47([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x660edd,_0x59af60[_0x404d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x404d47([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x660edd,_0x59af60[_0x404d47([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x404d47([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2043a9(_0x5260a5){const _0x3f2bd6=_0x39f70d();_0x59af60[_0x3f2bd6]=_0x404d47([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5260a5,_0x5260a5!=_0x404d47([0x56,0x61,0x6c,0x69,0x64])&&_0x420bdb();}function _0x39f70d(){const _0x25f166=window[_0x404d47([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x404d47([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x404d47([0x6e,0x6f,0x77])]())[_0x404d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x404d47([0x2e]),'');let _0xd9bb38=_0x404d47([0x44]);for(let _0x2ac447=0x0;_0x2ac447<_0x25f166[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ac447+=0x2){let _0xe1efbb=window[_0x404d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25f166[_0x404d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ac447,_0x2ac447+0x2));_0xe1efbb>=_0x3c1465[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe1efbb-=_0x3c1465[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd9bb38+=_0x3c1465[_0xe1efbb];}return _0xd9bb38;}function _0x1e7a18(){const _0x5e13f2=_0x393c1b[_0x404d47([0x73,0x70,0x6c,0x69,0x74])](_0x404d47([0x2e]));if(0x3!=_0x5e13f2[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x449571(_0x5e13f2[0x1]);function _0x449571(_0x35df3b){const _0x388ac5=_0x4e7024(_0x35df3b);return _0x388ac5&&_0x2ebe91()?_0x388ac5:null;function _0x2ebe91(){const _0x309440=_0x388ac5[_0x404d47([0x6a,0x74,0x69])],_0x12e9b4=window[_0x404d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x309440[_0x404d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x309440[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x276b12={..._0x388ac5,[_0x404d47([0x6a,0x74,0x69])]:_0x309440[_0x404d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x309440[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x276b12[_0x404d47([0x76,0x63])],_0x5d366b(_0x276b12)==_0x12e9b4;}}}async function _0x1010ec(){let _0x57079d=!0x0;try{const _0x2d1c76=_0x393c1b[_0x404d47([0x73,0x70,0x6c,0x69,0x74])](_0x404d47([0x2e])),[_0x5444f3,_0x399004,_0x5ac226]=_0x2d1c76;return _0x385c28(_0x5444f3),await _0x570f41(_0x5444f3,_0x399004,_0x5ac226),_0x57079d;}catch{return!0x1;}function _0x385c28(_0x578028){const _0x5c4ecb=_0x4e7024(_0x578028);_0x5c4ecb&&_0x5c4ecb[_0x404d47([0x61,0x6c,0x67])]==_0x404d47([0x45,0x53,0x32,0x35,0x36])||(_0x57079d=!0x1);}async function _0x570f41(_0x46fc46,_0x569b99,_0x588a67){const _0x20d5d5=window[_0x404d47([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x404d47([0x66,0x72,0x6f,0x6d])](_0x54fb01(_0x588a67),_0x47d97f=>_0x47d97f[_0x404d47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8186b6=new window[(_0x404d47([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x404d47([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46fc46+_0x404d47([0x2e])+_0x569b99),_0x5a0e20=window[_0x404d47([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x404d47([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a0e20)return;const _0x7f4d6d=await _0x5a0e20[_0x404d47([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x404d47([0x6a,0x77,0x6b]),_0x1f6e63,{[_0x404d47([0x6e,0x61,0x6d,0x65])]:_0x404d47([0x45,0x43,0x44,0x53,0x41]),[_0x404d47([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x404d47([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x404d47([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a0e20[_0x404d47([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x404d47([0x6e,0x61,0x6d,0x65])]:_0x404d47([0x45,0x43,0x44,0x53,0x41]),[_0x404d47([0x68,0x61,0x73,0x68])]:{[_0x404d47([0x6e,0x61,0x6d,0x65])]:_0x404d47([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7f4d6d,_0x20d5d5,_0x8186b6)||(_0x57079d=!0x1);}}function _0x4e7024(_0x2748f3){return _0x2748f3[_0x404d47([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x404d47([0x65,0x79]))?JSON[_0x404d47([0x70,0x61,0x72,0x73,0x65])](_0x54fb01(_0x2748f3)):null;}function _0x54fb01(_0x36a343){return window[_0x404d47([0x61,0x74,0x6f,0x62])](_0x36a343[_0x404d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x404d47([0x2b]))[_0x404d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x404d47([0x2f])));}function _0x5d366b(_0x190b0e){let _0x40b15d=0x1505;function _0x5e880b(_0xec05e5){for(let _0x54acea=0x0;_0x54acea<_0xec05e5[_0x404d47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54acea++){const _0x434f5b=_0xec05e5[_0x404d47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54acea);_0x40b15d=(_0x40b15d<<0x5)+_0x40b15d+_0x434f5b,_0x40b15d&=_0x40b15d;}}function _0x5ae3db(_0x4cf9fe){Array[_0x404d47([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf9fe)?_0x4cf9fe[_0x404d47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ae3db):_0x4cf9fe&&typeof _0x4cf9fe==_0x404d47([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x404d47([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf9fe)[_0x404d47([0x73,0x6f,0x72,0x74])]()[_0x404d47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b1da3,_0x5ab32f])=>{_0x5e880b(_0x1b1da3),_0x5ae3db(_0x5ab32f);}):_0x5e880b(window[_0x404d47([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf9fe));}return _0x5ae3db(_0x190b0e),_0x40b15d>>>0x0;}function _0x279053(_0x419f32){return _0x419f32[_0x404d47([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x404d47([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x404d47([0x30]));}function _0x56db26(_0x13989a){return _0x13989a[_0x404d47([0x73,0x70,0x6c,0x69,0x74])]('')[_0x404d47([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x404d47([0x6a,0x6f,0x69,0x6e])]('');}function _0x660edd(){}function _0x404d47(_0x53d2bd){const _0x55aba3=_0x1249;return _0x53d2bd[_0x55aba3(0x72)](_0x5eadd6=>String[_0x55aba3(0x6b)](_0x5eadd6))[_0x55aba3(0x8f)]('');}_0x2043a9(await _0x38f3c5());}(this);}[_0x5e1f5b(0x8a)](){const _0x42ec0f=_0x5e1f5b,_0x3115e1=this[_0x42ec0f(0x7d)];if(!_0x3115e1[_0x42ec0f(0x83)][_0x42ec0f(0x89)](_0x42ec0f(0x80)))return;const _0x30e090=_0x3115e1[_0x42ec0f(0x83)][_0x42ec0f(0x89)](_0x42ec0f(0x7e))[_0x42ec0f(0x9c)](_0x59008a=>_0x42ec0f(0xa0)==typeof _0x59008a&&(!_0x45217c(_0x59008a)&&isNaN(Number(_0x59008a))));if(_0x30e090[_0x42ec0f(0x7f)])throw new _0x4a15e7(_0x42ec0f(0x86),null,{'namedPresets':_0x30e090});}[_0x5e1f5b(0x71)](){const _0x41aa87=_0x5e1f5b,_0x3a5a48=this[_0x41aa87(0x7d)],_0x7cd9c6=this[_0x41aa87(0x7d)][_0x41aa87(0x83)][_0x41aa87(0x89)](_0x41aa87(0x77));_0x3a5a48[_0x41aa87(0x91)][_0x41aa87(0x96)](_0x41aa87(0x8d))[_0x41aa87(0x7c)]({'model':{'key':_0x41aa87(0x85)},'view':_0x31985d=>String(_0x31985d)===String(_0x7cd9c6)?null:{'key':_0x41aa87(0x9b),'value':{'line-height':_0x31985d}}}),_0x3a5a48[_0x41aa87(0x91)][_0x41aa87(0x96)](_0x41aa87(0x6e))[_0x41aa87(0x7c)]({'model':{'key':_0x41aa87(0x85),'value':_0x4f5b64=>{const _0x44c80f=_0x41aa87;let _0x194507=_0x4f5b64[_0x44c80f(0x79)](_0x44c80f(0x97));return _0x249b8d(_0x194507)&&(_0x194507=String(Number(_0x194507[_0x44c80f(0x8b)](0x0,-0x1))/0x64)),String(_0x194507)===String(_0x7cd9c6)?null:_0x194507;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5e1f5b(0x70)](){const _0x1a7adc=_0x5e1f5b,_0x1d7e31=this[_0x1a7adc(0x7d)],_0x598ec1=this[_0x1a7adc(0x7d)][_0x1a7adc(0x83)][_0x1a7adc(0x89)](_0x1a7adc(0x77)),_0x45a11d=_0x53d495(this[_0x1a7adc(0x7d)][_0x1a7adc(0x83)][_0x1a7adc(0x89)](_0x1a7adc(0x85)))[_0x1a7adc(0x9c)](_0x21c9a2=>_0x21c9a2[_0x1a7adc(0x84)]),_0x493517=_0x3c3250(_0x1a7adc(0x85),_0x45a11d);_0x1d7e31[_0x1a7adc(0x91)][_0x1a7adc(0x7c)](_0x493517),_0x1d7e31[_0x1a7adc(0x91)][_0x1a7adc(0x96)](_0x1a7adc(0x6e))[_0x1a7adc(0x7c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1a7adc(0x85),'value':_0x4f278c=>{const _0x3673ef=_0x1a7adc;let _0x16fc0=_0x4f278c[_0x3673ef(0x79)](_0x3673ef(0x97));return _0x249b8d(_0x16fc0)&&(_0x16fc0=String(Number(_0x16fc0[_0x3673ef(0x8b)](0x0,-0x1))/0x64)),_0x16fc0===String(_0x598ec1)?null:_0x493517[_0x3673ef(0x84)][_0x3673ef(0x95)][_0x3673ef(0x7a)](_0x16fc0)?_0x16fc0:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x463b04}from'ckeditor5/src/core.js';import{addListToDropdown as _0x1b9a1c,createDropdown as _0x3cfe58,MenuBarMenuListItemButtonView as _0x401830,MenuBarMenuListItemView as _0x2f0d47,MenuBarMenuListView as _0x28fc41,MenuBarMenuView as _0x221827,UIModel as _0x210e04}from'ckeditor5/src/ui.js';import{Collection as _0x498d09}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x2d5304}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x263763}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x463b04{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xfc207d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xfc207d),this['_registerMenuBarComponent'](_0xfc207d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2b874c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59006b;for(const _0x43b5e3 in _0x2b874c){const _0xe985e9=_0x43b5e3,_0x1101f1=_0x2b874c[_0xe985e9];if('lineHeightLicenseKeyValid'==_0x1101f1||'lineHeightLicenseKeyInvalid'==_0x1101f1||'lineHeightLicenseKeyExpired'==_0x1101f1||'lineHeightLicenseKeyDomainLimit'==_0x1101f1||'lineHeightLicenseKeyNotAllowed'==_0x1101f1||'lineHeightLicenseKeyEvaluationLimit'==_0x1101f1||'lineHeightLicenseKeyTrialLimit'==_0x1101f1||'lineHeightLicenseKeyUsageLimit'==_0x1101f1){delete _0x2b874c[_0xe985e9],_0x59006b=_0x1101f1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x59006b&&_0x2b874c['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x59006b&&_0x2b874c['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x59006b&&_0x2b874c['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x59006b&&_0x2b874c['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x59006b&&_0x2b874c['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x59006b&&_0x2b874c['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x59006b&&_0x2b874c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5cd388=this['editor'],t=_0x5cd388['t'],_0x4221a1=_0x5cd388['config']['get']('lineHeight'),_0x3aec4c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x263763(_0x4221a1)['map'](_0x59546b=>{const _0x1feb3d=_0x3aec4c[_0x59546b['title']];return _0x1feb3d&&_0x1feb3d!=_0x59546b['title']&&(_0x59546b=Object['assign']({},_0x59546b,{'title':_0x1feb3d})),_0x59546b;});}['_prepareListOptions'](){const _0x412b88=this['editor']['commands']['get']('lineHeight'),_0x5e5865=this['editor']['config']['get']('lineHeight.defaultValue'),_0x125383=this['_getLocalizedLineHeightOptions'](),_0x2b3473=new _0x498d09(),_0x509396=_0x3c2ebc=>'default'===_0x3c2ebc||String(_0x5e5865)===_0x3c2ebc;for(const _0x45631f of _0x125383){const _0x4063a7={'type':'button','model':new _0x210e04({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x45631f['title'],'withText':!0x0})};_0x509396(_0x45631f['model'])?(_0x4063a7['model']['bind']('isOn')['to'](_0x412b88,'value',_0x47799f=>!_0x47799f),_0x4063a7['model']['commandParam']=void 0x0):(_0x4063a7['model']['bind']('isOn')['to'](_0x412b88,'value',_0x4694f3=>_0x4694f3===_0x45631f['model']),_0x4063a7['model']['commandParam']=_0x45631f['model']),_0x2b3473['add'](_0x4063a7);}if(this['_shouldRenderCustomValueOption']()){const _0x4f7183=this['_getCustomValueOptionDefinition'](_0x125383);_0x2b3473['add'](_0x4f7183);}return _0x2b3473;}['_getCustomValueOptionDefinition'](_0x107ada){const _0xc62ba5=this['editor'],t=_0xc62ba5['t'],_0x46800d=_0xc62ba5['commands']['get']('lineHeight'),_0x4d87f5=_0x107ada['map'](_0x5895ae=>_0x5895ae['model']),_0x13dd73={'type':'button','model':new _0x210e04({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x13dd73['model']['bind']('commandParam')['to'](_0x46800d,'value'),_0x13dd73['model']['bind']('isOn')['to'](_0x46800d,'value',_0x4ccb62=>!!_0x4ccb62&&!_0x4d87f5['includes'](String(_0x4ccb62))),_0x13dd73['model']['bind']('label')['to'](_0x46800d,'value',_0x9cba11=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x9cba11))),_0x13dd73;}['_registerToolbarComponent']({accessibleLabel:_0x5ec74f,options:_0x511571}){const _0x3dfc60=this['editor'],_0x1f6926=_0x3dfc60['commands']['get']('lineHeight');_0x3dfc60['ui']['componentFactory']['add']('lineHeight',_0x262ae0=>{const _0x263353=_0x3cfe58(_0x262ae0);return _0x1b9a1c(_0x263353,_0x511571,{'role':'menu','ariaLabel':_0x5ec74f}),_0x263353['buttonView']['set']({'label':_0x5ec74f,'tooltip':!0x0,'icon':_0x2d5304}),_0x263353['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x263353['bind']('isEnabled')['to'](_0x1f6926),this['listenTo'](_0x263353,'execute',_0x555dda=>{_0x3dfc60['execute'](_0x555dda['source']['commandName'],{'value':_0x555dda['source']['commandParam']}),_0x3dfc60['editing']['view']['focus']();}),_0x263353['once']('change:isOpen',()=>{const _0x17a614=_0x263353['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x263353,_0x511571,_0x17a614);}),_0x263353;});}['_registerMenuBarComponent']({accessibleLabel:_0x25d922,options:_0x376f81}){const _0x2b2f91=this['editor'],_0x4dc5a1=_0x2b2f91['commands']['get']('lineHeight');_0x2b2f91['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3b1c4e=>{const _0x1f6cdf=new _0x221827(_0x3b1c4e);_0x1f6cdf['buttonView']['set']({'label':_0x25d922,'icon':_0x2d5304}),_0x1f6cdf['bind']('isEnabled')['to'](_0x4dc5a1);const _0x5aa718=new _0x28fc41(_0x3b1c4e);for(const _0x532860 of _0x376f81){const _0x27666b=new _0x2f0d47(_0x3b1c4e,_0x1f6cdf),_0x57e9ce=new _0x401830(_0x3b1c4e);_0x57e9ce['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x57e9ce['bind'](...Object['keys'](_0x532860['model']))['to'](_0x532860['model']),_0x57e9ce['delegate']('execute')['to'](_0x1f6cdf),_0x57e9ce['on']('execute',()=>{_0x2b2f91['execute'](_0x532860['model']['commandName'],{'value':_0x532860['model']['commandParam']}),_0x2b2f91['editing']['view']['focus']();}),_0x27666b['children']['add'](_0x57e9ce),_0x5aa718['items']['add'](_0x27666b);}return _0x1f6cdf['panelView']['children']['add'](_0x5aa718),this['_attachCustomOptionVisibilityHandler'](_0x1f6cdf,_0x376f81,_0x5aa718),_0x1f6cdf;});}['_attachCustomOptionVisibilityHandler'](_0x48775f,_0x4e690b,_0xdf9bc){if(!this['_shouldRenderCustomValueOption']())return;const _0x43df87=()=>{if(!_0x48775f['isOpen'])return;_0xdf9bc['items']['last']['isVisible']=Boolean(_0x4e690b['last']['model']['isOn']);};_0x43df87(),_0x48775f['on']('change:isOpen',()=>{_0x43df87();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4c35b3,_0x1d2119){const _0x48cf46=_0x28ed,_0x1bab02=_0x4c35b3();while(!![]){try{const _0x3e46ab=parseInt(_0x48cf46(0x12b))/0x1*(parseInt(_0x48cf46(0x123))/0x2)+-parseInt(_0x48cf46(0x12c))/0x3+parseInt(_0x48cf46(0x126))/0x4*(parseInt(_0x48cf46(0x120))/0x5)+-parseInt(_0x48cf46(0x130))/0x6+-parseInt(_0x48cf46(0x116))/0x7+-parseInt(_0x48cf46(0x11a))/0x8*(parseInt(_0x48cf46(0x12e))/0x9)+parseInt(_0x48cf46(0x11b))/0xa;if(_0x3e46ab===_0x1d2119)break;else _0x1bab02['push'](_0x1bab02['shift']());}catch(_0x623fae){_0x1bab02['push'](_0x1bab02['shift']());}}}(_0x1593,0x4b390));const v={get 'single'(){const _0x1e3cc9=_0x28ed;return{'title':_0x1e3cc9(0x118),'model':_0x1e3cc9(0x11d),'view':{'key':_0x1e3cc9(0x119),'value':_0x1e3cc9(0x12a)}};},get 'double'(){const _0x1fb370=_0x28ed;return{'title':_0x1fb370(0x117),'model':_0x1fb370(0x112),'view':{'key':_0x1fb370(0x119),'value':_0x1fb370(0x122)}};}};export function isLineHeightDefaultValue(_0x2e30df){const _0x3050b7=_0x28ed;return _0x3050b7(0x11e)==typeof _0x2e30df&&_0x3050b7(0x12f)===_0x2e30df[_0x3050b7(0x114)]();}export function normalizeOptions(_0x1414e0){const _0x3bd289=_0x28ed;return _0x1414e0[_0x3bd289(0x12d)][_0x3bd289(0x125)](_0x698087=>isLineHeightDefaultValue(_0x698087)?{'title':String(_0x1414e0[_0x3bd289(0x111)]),'model':_0x3bd289(0x12f)}:(_0x3bd289(0x132)==typeof _0x698087&&(_0x698087=String(_0x698087)),_0x3bd289(0x11e)!=typeof _0x698087?_0x698087:parseFloat(_0x698087)?{'title':_0x698087,'model':_0x698087,'view':{'name':_0x3bd289(0x113),'styles':{'line-height':_0x698087}}}:findPreset(_0x698087)))[_0x3bd289(0x11c)](_0x109a6d=>void 0x0!==_0x109a6d);}export function findPreset(_0x18f20f){const _0x42a8a4=_0x28ed;return _0x42a8a4(0x11e)==typeof _0x18f20f?v[_0x18f20f]:v[_0x18f20f[_0x42a8a4(0x128)]];}export function buildDefinition(_0x3e4117,_0x3b58f7){const _0x4cdd68=_0x28ed,_0x4cf3a7={'model':{'key':_0x3e4117,'values':[]},'view':{}};for(const _0x285757 of _0x3b58f7)_0x4cdd68(0x119)===_0x285757[_0x4cdd68(0x127)]?.[_0x4cdd68(0x11f)]?(_0x4cf3a7[_0x4cdd68(0x128)][_0x4cdd68(0x131)][_0x4cdd68(0x124)](_0x285757[_0x4cdd68(0x128)]),_0x4cf3a7[_0x4cdd68(0x127)][_0x285757[_0x4cdd68(0x128)]]={'key':_0x4cdd68(0x119),'value':_0x285757[_0x4cdd68(0x127)][_0x4cdd68(0x121)]}):(_0x4cf3a7[_0x4cdd68(0x128)][_0x4cdd68(0x131)][_0x4cdd68(0x124)](_0x285757[_0x4cdd68(0x128)]),_0x4cf3a7[_0x4cdd68(0x127)][_0x285757[_0x4cdd68(0x128)]]={'key':_0x4cdd68(0x115),'value':_0x4cdd68(0x129)+_0x285757[_0x4cdd68(0x128)]+';'});return _0x4cf3a7;}function _0x28ed(_0x2119a3,_0x250a25){const _0x15933b=_0x1593();return _0x28ed=function(_0x28ed8f,_0x34f979){_0x28ed8f=_0x28ed8f-0x111;let _0x4bdc0e=_0x15933b[_0x28ed8f];return _0x4bdc0e;},_0x28ed(_0x2119a3,_0x250a25);}function _0x1593(){const _0xdaf17b=['number','defaultValue','double','span','toLowerCase','style','2834006BSOjHK','Double','Single','class','7944zKoLVF','11140300phTsFX','filter','single','string','key','1047790lqYsdd','value','line-height-double','170514MmSceh','push','map','8sNqOIQ','view','model','line-height:','line-height-single','1NPgGOb','230487dlVLwv','options','5553vJpBFt','default','1295538AFIabG','values'];_0x1593=function(){return _0xdaf17b;};return _0x1593();}
|