@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250907.0 → 0.0.0-nightly-20250909.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 _0x5c6c(_0xb66c70,_0x254d8c){const _0x3720cd=_0x3720();return _0x5c6c=function(_0x5c6c5a,_0x304bd5){_0x5c6c5a=_0x5c6c5a-0x1f0;let _0x3b6726=_0x3720cd[_0x5c6c5a];return _0x3b6726;},_0x5c6c(_0xb66c70,_0x254d8c);}const _0x3454bb=_0x5c6c;(function(_0x4c438b,_0x26b189){const _0x5b8245=_0x5c6c,_0x3481d7=_0x4c438b();while(!![]){try{const _0x5b748e=parseInt(_0x5b8245(0x1f6))/0x1*(-parseInt(_0x5b8245(0x1ff))/0x2)+-parseInt(_0x5b8245(0x1fb))/0x3*(parseInt(_0x5b8245(0x1fd))/0x4)+parseInt(_0x5b8245(0x207))/0x5*(parseInt(_0x5b8245(0x203))/0x6)+-parseInt(_0x5b8245(0x1fa))/0x7+-parseInt(_0x5b8245(0x1f1))/0x8*(parseInt(_0x5b8245(0x201))/0x9)+-parseInt(_0x5b8245(0x1f8))/0xa+parseInt(_0x5b8245(0x206))/0xb;if(_0x5b748e===_0x26b189)break;else _0x3481d7['push'](_0x3481d7['shift']());}catch(_0x2983c3){_0x3481d7['push'](_0x3481d7['shift']());}}}(_0x3720,0x1899b));import{Command as _0x4d6344}from'ckeditor5/src/core.js';function _0x3720(){const _0xa5e3ae=['execute','checkAttribute','selection','1ylHtnr','schema','1404980Gfjpij','document','1172717TYKLDp','6qdtWHE','filter','291568jKlecZ','value','191302jHsGfb','getSelectedBlocks','18mlhosG','model','46356OcvCuT','removeAttribute','change','6558519fInLrX','75gAbZrH','lineHeight','setAttribute','_canHaveLineHeight','isEnabled','editor','refresh','getAttribute','247568VFZwsm','from'];_0x3720=function(){return _0xa5e3ae;};return _0x3720();}import{first as _0x36d98c}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4d6344{[_0x3454bb(0x20d)](){const _0x2cd269=_0x3454bb,_0x4c0ecf=this[_0x2cd269(0x20c)][_0x2cd269(0x202)][_0x2cd269(0x1f9)],_0x42e307=_0x36d98c(_0x4c0ecf[_0x2cd269(0x1f5)][_0x2cd269(0x200)]());this[_0x2cd269(0x20b)]=Boolean(_0x42e307)&&this[_0x2cd269(0x20a)](_0x42e307),this[_0x2cd269(0x1fe)]=this[_0x2cd269(0x20b)]&&_0x42e307[_0x2cd269(0x1f0)](_0x2cd269(0x208));}[_0x3454bb(0x1f3)](_0x294c29={}){const _0x47320b=_0x3454bb,_0xc28ec4=this[_0x47320b(0x20c)][_0x47320b(0x202)],_0xd02e41=_0xc28ec4[_0x47320b(0x1f9)][_0x47320b(0x1f5)],_0xfb6b59=_0x294c29[_0x47320b(0x1fe)];_0xc28ec4[_0x47320b(0x205)](_0x3fd0a7=>{const _0xe606a1=_0x47320b,_0x23f052=Array[_0xe606a1(0x1f2)](_0xd02e41[_0xe606a1(0x200)]())[_0xe606a1(0x1fc)](_0x4dd451=>this[_0xe606a1(0x20a)](_0x4dd451));for(const _0xd8231b of _0x23f052)_0xfb6b59?_0x3fd0a7[_0xe606a1(0x209)](_0xe606a1(0x208),_0xfb6b59,_0xd8231b):_0x3fd0a7[_0xe606a1(0x204)](_0xe606a1(0x208),_0xd8231b);});}[_0x3454bb(0x20a)](_0x296f1c){const _0x408fa8=_0x3454bb;return this[_0x408fa8(0x20c)][_0x408fa8(0x202)][_0x408fa8(0x1f7)][_0x408fa8(0x1f4)](_0x296f1c,_0x408fa8(0x208));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xebb849=_0x2cde;(function(_0x418d41,_0x16ce7b){const _0x30de8a=_0x2cde,_0x45beda=_0x418d41();while(!![]){try{const _0x3e5114=-parseInt(_0x30de8a(0x1a6))/0x1*(-parseInt(_0x30de8a(0x1af))/0x2)+parseInt(_0x30de8a(0x1be))/0x3*(parseInt(_0x30de8a(0x1bb))/0x4)+-parseInt(_0x30de8a(0x1c0))/0x5*(parseInt(_0x30de8a(0x1d2))/0x6)+parseInt(_0x30de8a(0x1c8))/0x7*(parseInt(_0x30de8a(0x1c3))/0x8)+-parseInt(_0x30de8a(0x1c2))/0x9*(parseInt(_0x30de8a(0x1ae))/0xa)+parseInt(_0x30de8a(0x1a8))/0xb*(parseInt(_0x30de8a(0x1a2))/0xc)+parseInt(_0x30de8a(0x1b6))/0xd*(-parseInt(_0x30de8a(0x1cc))/0xe);if(_0x3e5114===_0x16ce7b)break;else _0x45beda['push'](_0x45beda['shift']());}catch(_0x26b90d){_0x45beda['push'](_0x45beda['shift']());}}}(_0x4ac3,0x53308));function _0x4ac3(){const _0x27f56a=['_prepareAnyValueConverters','205cIXrAu','isOfficialPlugin','5800293ftROZu','1151512DBwCXk','conversion','get','map','define','14JNRLzE','model','attributeToAttribute','$block','14fBtNPr','default','setAttributeProperties','lineHeight.options','config','length','23334flxbzw','slice','add','lineHeight.defaultValue','fromCharCode','_preparePredefinedConverters','lineHeight','downcast','includes','getStyle','49224vvPvJH','_validateConfig','pluginName','line-height-invalid-use-of-named-presets','122297nFDAaa','editor','33CpTgyI','href','schema','isPremiumPlugin','style','join','10jlZEYv','10rUzTkD','line-height','init','lineHeight.supportAllValues','LineHeightEditing','for','values','5440474YrtLPx','commands','afterInit','string','extend','2605996TlTWTN','filter','upcast','3LVIiXB'];_0x4ac3=function(){return _0x27f56a;};return _0x4ac3();}import{Plugin as _0x56dafb}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x159d7a}from'./lineheightcommand.js';function _0x2cde(_0x10a4b8,_0xa1d927){const _0x4ac333=_0x4ac3();return _0x2cde=function(_0x2cdeda,_0x2db555){_0x2cdeda=_0x2cdeda-0x19c;let _0xac464e=_0x4ac333[_0x2cdeda];return _0xac464e;},_0x2cde(_0x10a4b8,_0xa1d927);}import{isPercentageStyleValue as _0x51ef60}from'ckeditor5/src/engine.js';import{uid as _0x4e10e6,CKEditorError as _0xd9d249}from'ckeditor5/src/utils.js';import{buildDefinition as _0x167d78,isLineHeightDefaultValue as _0x958e90,normalizeOptions as _0x1fc8ed}from'./utils.js';export class LineHeightEditing extends _0x56dafb{static get[_0xebb849(0x1a4)](){const _0x1b43b5=_0xebb849;return _0x1b43b5(0x1b3);}static get[_0xebb849(0x1c1)](){return!0x0;}static get[_0xebb849(0x1ab)](){return!0x0;}constructor(_0x1ce209){const _0x17e630=_0xebb849;super(_0x1ce209),_0x1ce209[_0x17e630(0x1d0)][_0x17e630(0x1c7)](_0x17e630(0x19e),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x17e630(0x1cd),0x2,2.5,0x3]});}[_0xebb849(0x1b1)](){const _0x17136c=_0xebb849,_0x95cf1b=this[_0x17136c(0x1a7)];this[_0x17136c(0x1a3)](),_0x95cf1b[_0x17136c(0x1c9)][_0x17136c(0x1aa)][_0x17136c(0x1ba)](_0x17136c(0x1cb),{'allowAttributes':_0x17136c(0x19e)}),_0x95cf1b[_0x17136c(0x1c9)][_0x17136c(0x1aa)][_0x17136c(0x1ce)](_0x17136c(0x19e),{'isFormatting':!0x0}),_0x95cf1b[_0x17136c(0x1b7)][_0x17136c(0x1d4)](_0x17136c(0x19e),new _0x159d7a(_0x95cf1b)),this[_0x17136c(0x1a7)][_0x17136c(0x1d0)][_0x17136c(0x1c5)](_0x17136c(0x1b2))?this[_0x17136c(0x1bf)]():this[_0x17136c(0x19d)]();}[_0xebb849(0x1b8)](){!async function(_0x563df6){const _0x3ba730=_0x3fa68a([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x59389b=0x4597e011,_0x32ef95=0x459092a1^_0x59389b,_0x2ba9a1=window[_0x3fa68a([0x44,0x61,0x74,0x65])][_0x3fa68a([0x6e,0x6f,0x77])](),_0x8a075b=_0x563df6[_0x3fa68a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52d44=new window[(_0x3fa68a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47b579=>{_0x8a075b[_0x3fa68a([0x6f,0x6e,0x63,0x65])](_0x3fa68a([0x72,0x65,0x61,0x64,0x79]),_0x47b579);}),_0x423011={[_0x3fa68a([0x6b,0x74,0x79])]:_0x3fa68a([0x45,0x43]),[_0x3fa68a([0x75,0x73,0x65])]:_0x3fa68a([0x73,0x69,0x67]),[_0x3fa68a([0x63,0x72,0x76])]:_0x3fa68a([0x50,0x2d,0x32,0x35,0x36]),[_0x3fa68a([0x78])]:_0x3fa68a([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]),[_0x3fa68a([0x79])]:_0x3fa68a([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]),[_0x3fa68a([0x61,0x6c,0x67])]:_0x3fa68a([0x45,0x53,0x32,0x35,0x36])},_0x3041c6=_0x8a075b[_0x3fa68a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fa68a([0x67,0x65,0x74])](_0x3fa68a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x9a6887(){let _0x193db0,_0x51749d=null,_0x229971=null;try{if(_0x3041c6==_0x3fa68a([0x47,0x50,0x4c]))return _0x3fa68a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x193db0=_0x4bb49b(),!_0x193db0)return _0x3fa68a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x193db0[_0x3fa68a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x229971=_0x5e46dc(_0x193db0[_0x3fa68a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x193db0[_0x3fa68a([0x6a,0x74,0x69])])),await _0x426aca()?_0x8907c7()?_0x6394ec()?_0x3fa68a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a2f26()?(_0x193db0[_0x3fa68a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fa68a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51749d=_0x1b2f28(_0x3fa68a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x193db0[_0x3fa68a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fa68a([0x74,0x72,0x69,0x61,0x6c])&&(_0x51749d=_0x1b2f28(_0x3fa68a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b8f86()):_0x3fa68a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fa68a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fa68a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fa68a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6394ec(){const _0xdb0020=[_0x3fa68a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fa68a([0x74,0x72,0x69,0x61,0x6c])][_0x3fa68a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x193db0[_0x3fa68a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ba9a1/0x3e8:0xe10*_0x32ef95;return _0x193db0[_0x3fa68a([0x65,0x78,0x70])]<_0xdb0020;}function _0x8907c7(){const _0x3d3b53=_0x193db0[_0x3fa68a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d3b53&&(!!_0x3d3b53[_0x3fa68a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fa68a([0x2a]))||!!_0x3d3b53[_0x3fa68a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fa68a([0x4c,0x48])));}function _0x5a2f26(){const _0x5e933d=_0x2cde,_0x5e1310=_0x193db0[_0x3fa68a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e1310||0x0==_0x5e1310[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb96cf3}=new URL(window[_0x3fa68a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e933d(0x1a9)]);if(_0x5e1310[_0x3fa68a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb96cf3))return!0x0;const _0x59e046=_0xb96cf3[_0x3fa68a([0x73,0x70,0x6c,0x69,0x74])](_0x3fa68a([0x2e]));return _0x5e1310[_0x3fa68a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x109734=>_0x109734[_0x3fa68a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fa68a([0x2a])))[_0x3fa68a([0x6d,0x61,0x70])](_0x1b4c4c=>_0x1b4c4c[_0x3fa68a([0x73,0x70,0x6c,0x69,0x74])](_0x3fa68a([0x2e])))[_0x3fa68a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4efea8=>_0x4efea8[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59e046[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fa68a([0x6d,0x61,0x70])](_0x2f1559=>Array(_0x59e046[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f1559[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fa68a([0x66,0x69,0x6c,0x6c])](_0x2f1559[0x0]===_0x3fa68a([0x2a])?_0x3fa68a([0x2a]):'')[_0x3fa68a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f1559))[_0x3fa68a([0x73,0x6f,0x6d,0x65])](_0x49abbe=>_0x59e046[_0x3fa68a([0x65,0x76,0x65,0x72,0x79])]((_0x276e54,_0x49d90d)=>_0x49abbe[_0x49d90d]===_0x276e54||_0x49abbe[_0x49d90d]===_0x3fa68a([0x2a])));}function _0x1b8f86(){return _0x51749d&&_0x229971?new window[(_0x3fa68a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f133f,_0x11d37a)=>{_0x51749d[_0x3fa68a([0x74,0x68,0x65,0x6e])](_0x5f133f,_0x11d37a),_0x229971[_0x3fa68a([0x74,0x68,0x65,0x6e])](_0x3c86ac=>{_0x3c86ac!=_0x3fa68a([0x56,0x61,0x6c,0x69,0x64])&&_0x5f133f(_0x3c86ac);},_0x11d37a);}):_0x51749d||_0x229971||_0x3fa68a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e46dc(_0x5153e8,_0x535ce7){return new window[(_0x3fa68a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x363230=>{if(_0x553cba())return _0x363230(_0x3fa68a([0x56,0x61,0x6c,0x69,0x64]));_0x5a14f1(),_0x8a075b[_0x3fa68a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fa68a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42618e=!0x1;const _0x343cf4=_0x4e10e6();function _0x43a677(_0x52f891){return!!_0x52f891&&(typeof _0x52f891===_0x3fa68a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52f891===_0x3fa68a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52f891[_0x3fa68a([0x74,0x68,0x65,0x6e])]===_0x3fa68a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52f891[_0x3fa68a([0x63,0x61,0x74,0x63,0x68])]===_0x3fa68a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cb272(_0x41a445){_0x484f91(_0x41a445)[_0x3fa68a([0x74,0x68,0x65,0x6e])](_0x4ea49f=>{if(!_0x4ea49f||_0x4ea49f[_0x3fa68a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fa68a([0x6f,0x6b]))return _0x3fa68a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11c1fb(_0x405889(_0x343cf4+_0x535ce7))!=_0x4ea49f[_0x3fa68a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fa68a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fa68a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fa68a([0x74,0x68,0x65,0x6e])](_0x5e0ca3=>(_0x4a16ee(),_0x5e0ca3),()=>{const _0x587eb0=_0x5714f4();return null==_0x587eb0?(_0x4a16ee(),_0x3fa68a([0x56,0x61,0x6c,0x69,0x64])):_0x3fa68a(_0x2ba9a1-_0x587eb0>(0x619b6411^_0x59389b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fa68a([0x74,0x68,0x65,0x6e])](_0x363230)[_0x3fa68a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x363230(_0x3fa68a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x244db4=0x45a10e91^_0x59389b;function _0x4a16ee(){const _0x981519=_0x3fa68a([0x6c,0x6c,0x63,0x74,0x2d])+_0x11c1fb(_0x405889(_0x5153e8)),_0x48e093=_0x3f53a0(_0x11c1fb(window[_0x3fa68a([0x4d,0x61,0x74,0x68])][_0x3fa68a([0x63,0x65,0x69,0x6c])](_0x2ba9a1/_0x244db4)));window[_0x3fa68a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fa68a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x981519,_0x48e093);}function _0x5714f4(){const _0xd188cf=_0x3fa68a([0x6c,0x6c,0x63,0x74,0x2d])+_0x11c1fb(_0x405889(_0x5153e8)),_0x497d45=window[_0x3fa68a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fa68a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd188cf);return _0x497d45?window[_0x3fa68a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f53a0(_0x497d45),0x10)*_0x244db4:null;}function _0x484f91(_0x41006d){return new window[(_0x3fa68a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc3e9e8,_0x48d020)=>{_0x41006d[_0x3fa68a([0x74,0x68,0x65,0x6e])](_0xc3e9e8,_0x48d020),window[_0x3fa68a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48d020,0x459634d1^_0x59389b);});}}_0x8a075b[_0x3fa68a([0x6f,0x6e])](_0x3fa68a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ff8ea,_0x14390d)=>{if(_0x14390d[0x0]!=_0x5153e8)return _0x363230(_0x3fa68a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14390d[0x1]={..._0x14390d[0x1],[_0x3fa68a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x343cf4};},{[_0x3fa68a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fa68a([0x68,0x69,0x67,0x68])}),_0x8a075b[_0x3fa68a([0x6f,0x6e])](_0x3fa68a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ffd16=>{_0x43a677(_0x1ffd16[_0x3fa68a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42618e=!0x0,_0x5cb272(_0x1ffd16[_0x3fa68a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fa68a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fa68a([0x6c,0x6f,0x77])}),_0x52d44[_0x3fa68a([0x74,0x68,0x65,0x6e])](()=>{_0x42618e||_0x363230(_0x3fa68a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x553cba(){return _0x8a075b[_0x3fa68a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fa68a([0x76,0x69,0x65,0x77])][_0x3fa68a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fa68a([0x61,0x75,0x74,0x6f]);}function _0x5a14f1(){_0x8a075b[_0x3fa68a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fa68a([0x76,0x69,0x65,0x77])][_0x3fa68a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fa68a([0x61,0x75,0x74,0x6f]);}}function _0x1b2f28(_0x46c9ad){const _0x3d2580=[new window[(_0x3fa68a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268905=>setTimeout(_0x268905,0x459ededd^_0x59389b)),_0x52d44[_0x3fa68a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fa68a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x391673=>{let _0x5a7294=0x0;_0x8a075b[_0x3fa68a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fa68a([0x6f,0x6e])](_0x3fa68a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23d687,_0xb39ef2)=>{_0xb39ef2[0x0][_0x3fa68a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a7294++,_0x5a7294==(0x4597e1e9^_0x59389b)&&(_0x391673(),_0x23d687[_0x3fa68a([0x6f,0x66,0x66])]());});}))];return window[_0x3fa68a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fa68a([0x72,0x61,0x63,0x65])](_0x3d2580)[_0x3fa68a([0x74,0x68,0x65,0x6e])](()=>_0x46c9ad);}async function _0x3320a4(){await _0x52d44,_0x8a075b[_0x3fa68a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fa68a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x288855,_0x8a075b[_0x3fa68a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fa68a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x288855,_0x8a075b[_0x3fa68a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fa68a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x198a6a(_0x4a230e){const _0x39de90=_0x1f85e0();_0x8a075b[_0x39de90]=_0x3fa68a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a230e,_0x4a230e!=_0x3fa68a([0x56,0x61,0x6c,0x69,0x64])&&_0x3320a4();}function _0x1f85e0(){const _0x11af75=window[_0x3fa68a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fa68a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fa68a([0x6e,0x6f,0x77])]())[_0x3fa68a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fa68a([0x2e]),'');let _0x2e1dc0=_0x3fa68a([0x51]);for(let _0x5b1313=0x0;_0x5b1313<_0x11af75[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b1313+=0x2){let _0x4f513c=window[_0x3fa68a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11af75[_0x3fa68a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b1313,_0x5b1313+0x2));_0x4f513c>=_0x3ba730[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f513c-=_0x3ba730[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e1dc0+=_0x3ba730[_0x4f513c];}return _0x2e1dc0;}function _0x4bb49b(){const _0x5d295d=_0x3041c6[_0x3fa68a([0x73,0x70,0x6c,0x69,0x74])](_0x3fa68a([0x2e]));if(0x3!=_0x5d295d[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bb054(_0x5d295d[0x1]);function _0x3bb054(_0x8dd739){const _0x58cae7=_0xc3bd6a(_0x8dd739);return _0x58cae7&&_0x4dcdc8()?_0x58cae7:null;function _0x4dcdc8(){const _0x5af019=_0x58cae7[_0x3fa68a([0x6a,0x74,0x69])],_0x45b1b9=window[_0x3fa68a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5af019[_0x3fa68a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5af019[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x342e28={..._0x58cae7,[_0x3fa68a([0x6a,0x74,0x69])]:_0x5af019[_0x3fa68a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5af019[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x342e28[_0x3fa68a([0x76,0x63])],_0x405889(_0x342e28)==_0x45b1b9;}}}async function _0x426aca(){let _0x2ea7a5=!0x0;try{const _0x364509=_0x3041c6[_0x3fa68a([0x73,0x70,0x6c,0x69,0x74])](_0x3fa68a([0x2e])),[_0x2cc6a1,_0x8c4981,_0x3b4fcf]=_0x364509;return _0x249c26(_0x2cc6a1),await _0x4b5260(_0x2cc6a1,_0x8c4981,_0x3b4fcf),_0x2ea7a5;}catch{return!0x1;}function _0x249c26(_0x5b2a8d){const _0x155fcf=_0xc3bd6a(_0x5b2a8d);_0x155fcf&&_0x155fcf[_0x3fa68a([0x61,0x6c,0x67])]==_0x3fa68a([0x45,0x53,0x32,0x35,0x36])||(_0x2ea7a5=!0x1);}async function _0x4b5260(_0x38ecac,_0x1b2872,_0x3064c1){const _0x4dc0b1=window[_0x3fa68a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fa68a([0x66,0x72,0x6f,0x6d])](_0x1b85e2(_0x3064c1),_0x2b79c1=>_0x2b79c1[_0x3fa68a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56c0d4=new window[(_0x3fa68a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fa68a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38ecac+_0x3fa68a([0x2e])+_0x1b2872),_0x3529fd=window[_0x3fa68a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fa68a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3529fd)return;const _0x45e072=await _0x3529fd[_0x3fa68a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fa68a([0x6a,0x77,0x6b]),_0x423011,{[_0x3fa68a([0x6e,0x61,0x6d,0x65])]:_0x3fa68a([0x45,0x43,0x44,0x53,0x41]),[_0x3fa68a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fa68a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fa68a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3529fd[_0x3fa68a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fa68a([0x6e,0x61,0x6d,0x65])]:_0x3fa68a([0x45,0x43,0x44,0x53,0x41]),[_0x3fa68a([0x68,0x61,0x73,0x68])]:{[_0x3fa68a([0x6e,0x61,0x6d,0x65])]:_0x3fa68a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45e072,_0x4dc0b1,_0x56c0d4)||(_0x2ea7a5=!0x1);}}function _0xc3bd6a(_0x6df54e){return _0x6df54e[_0x3fa68a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fa68a([0x65,0x79]))?JSON[_0x3fa68a([0x70,0x61,0x72,0x73,0x65])](_0x1b85e2(_0x6df54e)):null;}function _0x1b85e2(_0x28435b){return window[_0x3fa68a([0x61,0x74,0x6f,0x62])](_0x28435b[_0x3fa68a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fa68a([0x2b]))[_0x3fa68a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fa68a([0x2f])));}function _0x405889(_0x923e90){let _0x11f874=0x1505;function _0x204c29(_0x4be6b4){for(let _0x44497b=0x0;_0x44497b<_0x4be6b4[_0x3fa68a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44497b++){const _0x2c1f85=_0x4be6b4[_0x3fa68a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44497b);_0x11f874=(_0x11f874<<0x5)+_0x11f874+_0x2c1f85,_0x11f874&=_0x11f874;}}function _0x3c4e66(_0x1d6fa2){Array[_0x3fa68a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d6fa2)?_0x1d6fa2[_0x3fa68a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c4e66):_0x1d6fa2&&typeof _0x1d6fa2==_0x3fa68a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fa68a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d6fa2)[_0x3fa68a([0x73,0x6f,0x72,0x74])]()[_0x3fa68a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x558ea2,_0x2f95f3])=>{_0x204c29(_0x558ea2),_0x3c4e66(_0x2f95f3);}):_0x204c29(window[_0x3fa68a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d6fa2));}return _0x3c4e66(_0x923e90),_0x11f874>>>0x0;}function _0x11c1fb(_0xbc707b){return _0xbc707b[_0x3fa68a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fa68a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fa68a([0x30]));}function _0x3f53a0(_0x7a652c){return _0x7a652c[_0x3fa68a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fa68a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fa68a([0x6a,0x6f,0x69,0x6e])]('');}function _0x288855(){}function _0x3fa68a(_0x1891d0){const _0x4e9273=_0x2cde;return _0x1891d0[_0x4e9273(0x1c6)](_0x9f1e25=>String[_0x4e9273(0x19c)](_0x9f1e25))[_0x4e9273(0x1ad)]('');}_0x198a6a(await _0x9a6887());}(this);}[_0xebb849(0x1a3)](){const _0x19677a=_0xebb849,_0x351cb0=this[_0x19677a(0x1a7)];if(!_0x351cb0[_0x19677a(0x1d0)][_0x19677a(0x1c5)](_0x19677a(0x1b2)))return;const _0x3f79e5=_0x351cb0[_0x19677a(0x1d0)][_0x19677a(0x1c5)](_0x19677a(0x1cf))[_0x19677a(0x1bc)](_0x56923a=>_0x19677a(0x1b9)==typeof _0x56923a&&(!_0x958e90(_0x56923a)&&isNaN(Number(_0x56923a))));if(_0x3f79e5[_0x19677a(0x1d1)])throw new _0xd9d249(_0x19677a(0x1a5),null,{'namedPresets':_0x3f79e5});}[_0xebb849(0x1bf)](){const _0x189b14=_0xebb849,_0x3611d4=this[_0x189b14(0x1a7)],_0x54378e=this[_0x189b14(0x1a7)][_0x189b14(0x1d0)][_0x189b14(0x1c5)](_0x189b14(0x1d5));_0x3611d4[_0x189b14(0x1c4)][_0x189b14(0x1b4)](_0x189b14(0x19f))[_0x189b14(0x1ca)]({'model':{'key':_0x189b14(0x19e)},'view':_0x863f4c=>String(_0x863f4c)===String(_0x54378e)?null:{'key':_0x189b14(0x1ac),'value':{'line-height':_0x863f4c}}}),_0x3611d4[_0x189b14(0x1c4)][_0x189b14(0x1b4)](_0x189b14(0x1bd))[_0x189b14(0x1ca)]({'model':{'key':_0x189b14(0x19e),'value':_0x1fd116=>{const _0x501812=_0x189b14;let _0x180fab=_0x1fd116[_0x501812(0x1a1)](_0x501812(0x1b0));return _0x51ef60(_0x180fab)&&(_0x180fab=String(Number(_0x180fab[_0x501812(0x1d3)](0x0,-0x1))/0x64)),String(_0x180fab)===String(_0x54378e)?null:_0x180fab;}},'view':{'styles':{'line-height':/.*/}}});}[_0xebb849(0x19d)](){const _0x557a63=_0xebb849,_0x21fe06=this[_0x557a63(0x1a7)],_0x802940=this[_0x557a63(0x1a7)][_0x557a63(0x1d0)][_0x557a63(0x1c5)](_0x557a63(0x1d5)),_0x13abda=_0x1fc8ed(this[_0x557a63(0x1a7)][_0x557a63(0x1d0)][_0x557a63(0x1c5)](_0x557a63(0x19e)))[_0x557a63(0x1bc)](_0x1107e8=>_0x1107e8[_0x557a63(0x1c9)]),_0x5a99a1=_0x167d78(_0x557a63(0x19e),_0x13abda);_0x21fe06[_0x557a63(0x1c4)][_0x557a63(0x1ca)](_0x5a99a1),_0x21fe06[_0x557a63(0x1c4)][_0x557a63(0x1b4)](_0x557a63(0x1bd))[_0x557a63(0x1ca)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x557a63(0x19e),'value':_0x2030af=>{const _0x1f0860=_0x557a63;let _0x334fd3=_0x2030af[_0x1f0860(0x1a1)](_0x1f0860(0x1b0));return _0x51ef60(_0x334fd3)&&(_0x334fd3=String(Number(_0x334fd3[_0x1f0860(0x1d3)](0x0,-0x1))/0x64)),_0x334fd3===String(_0x802940)?null:_0x5a99a1[_0x1f0860(0x1c9)][_0x1f0860(0x1b5)][_0x1f0860(0x1a0)](_0x334fd3)?_0x334fd3:null;}}});}}
|
|
23
|
+
const _0x368e52=_0x3158;function _0x355d(){const _0x323856=['6491082RthMLX','lineHeight.options','4659676ZgQPHq','_prepareAnyValueConverters','commands','3932649HnOIWq','afterInit','filter','schema','slice','line-height','_preparePredefinedConverters','init','length','for','isOfficialPlugin','line-height-invalid-use-of-named-presets','default','$block','55vXeUGv','href','model','2IqZHxf','join','map','config','attributeToAttribute','get','string','lineHeight.supportAllValues','isPremiumPlugin','define','downcast','add','398575mSQOwa','_validateConfig','upcast','extend','706570aDbAFe','setAttributeProperties','lineHeight','pluginName','fromCharCode','2168580OHvVZJ','includes','5XPDScu','2970936sTNaDg','getStyle','values','LineHeightEditing','24yHFsaH','conversion','editor','style','lineHeight.defaultValue'];_0x355d=function(){return _0x323856;};return _0x355d();}(function(_0x2ab6a4,_0x3e074f){const _0x59c42c=_0x3158,_0x1b40fb=_0x2ab6a4();while(!![]){try{const _0x5d347b=parseInt(_0x59c42c(0x163))/0x1+-parseInt(_0x59c42c(0x18e))/0x2*(parseInt(_0x59c42c(0x17d))/0x3)+parseInt(_0x59c42c(0x16c))/0x4*(parseInt(_0x59c42c(0x16e))/0x5)+parseInt(_0x59c42c(0x178))/0x6+parseInt(_0x59c42c(0x17a))/0x7+parseInt(_0x59c42c(0x173))/0x8*(-parseInt(_0x59c42c(0x16f))/0x9)+-parseInt(_0x59c42c(0x167))/0xa*(-parseInt(_0x59c42c(0x18b))/0xb);if(_0x5d347b===_0x3e074f)break;else _0x1b40fb['push'](_0x1b40fb['shift']());}catch(_0x3460f5){_0x1b40fb['push'](_0x1b40fb['shift']());}}}(_0x355d,0xb4be5));import{Plugin as _0x49ab4f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x120943}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4fb0f3}from'ckeditor5/src/engine.js';function _0x3158(_0x159408,_0x1100c3){const _0x355dda=_0x355d();return _0x3158=function(_0x3158be,_0x9c9525){_0x3158be=_0x3158be-0x15f;let _0xd0245d=_0x355dda[_0x3158be];return _0xd0245d;},_0x3158(_0x159408,_0x1100c3);}import{uid as _0xbac2f9,CKEditorError as _0x114133}from'ckeditor5/src/utils.js';import{buildDefinition as _0x48f1ec,isLineHeightDefaultValue as _0x31363a,normalizeOptions as _0x335868}from'./utils.js';export class LineHeightEditing extends _0x49ab4f{static get[_0x368e52(0x16a)](){const _0x7c7580=_0x368e52;return _0x7c7580(0x172);}static get[_0x368e52(0x187)](){return!0x0;}static get[_0x368e52(0x15f)](){return!0x0;}constructor(_0x2b177e){const _0x25a523=_0x368e52;super(_0x2b177e),_0x2b177e[_0x25a523(0x191)][_0x25a523(0x160)](_0x25a523(0x169),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x25a523(0x189),0x2,2.5,0x3]});}[_0x368e52(0x184)](){const _0x42dc36=_0x368e52,_0x4eff36=this[_0x42dc36(0x175)];this[_0x42dc36(0x164)](),_0x4eff36[_0x42dc36(0x18d)][_0x42dc36(0x180)][_0x42dc36(0x166)](_0x42dc36(0x18a),{'allowAttributes':_0x42dc36(0x169)}),_0x4eff36[_0x42dc36(0x18d)][_0x42dc36(0x180)][_0x42dc36(0x168)](_0x42dc36(0x169),{'isFormatting':!0x0}),_0x4eff36[_0x42dc36(0x17c)][_0x42dc36(0x162)](_0x42dc36(0x169),new _0x120943(_0x4eff36)),this[_0x42dc36(0x175)][_0x42dc36(0x191)][_0x42dc36(0x193)](_0x42dc36(0x195))?this[_0x42dc36(0x17b)]():this[_0x42dc36(0x183)]();}[_0x368e52(0x17e)](){!async function(_0x22e2b2){const _0x1270cd=_0x2aee67([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0xbc196=0x4597e011,_0xc4a956=0x459092f1^_0xbc196,_0x52efda=window[_0x2aee67([0x44,0x61,0x74,0x65])][_0x2aee67([0x6e,0x6f,0x77])](),_0xf30598=_0x22e2b2[_0x2aee67([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x572f11=new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x128069=>{_0xf30598[_0x2aee67([0x6f,0x6e,0x63,0x65])](_0x2aee67([0x72,0x65,0x61,0x64,0x79]),_0x128069);}),_0x5953e2={[_0x2aee67([0x6b,0x74,0x79])]:_0x2aee67([0x45,0x43]),[_0x2aee67([0x75,0x73,0x65])]:_0x2aee67([0x73,0x69,0x67]),[_0x2aee67([0x63,0x72,0x76])]:_0x2aee67([0x50,0x2d,0x32,0x35,0x36]),[_0x2aee67([0x78])]:_0x2aee67([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]),[_0x2aee67([0x79])]:_0x2aee67([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]),[_0x2aee67([0x61,0x6c,0x67])]:_0x2aee67([0x45,0x53,0x32,0x35,0x36])},_0x24217f=_0xf30598[_0x2aee67([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2aee67([0x67,0x65,0x74])](_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c4092(){let _0x4c46ce,_0xd5f53a=null,_0x44a313=null;try{if(_0x24217f==_0x2aee67([0x47,0x50,0x4c]))return _0x2aee67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c46ce=_0x3aac09(),!_0x4c46ce)return _0x2aee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c46ce[_0x2aee67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44a313=_0x54246c(_0x4c46ce[_0x2aee67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c46ce[_0x2aee67([0x6a,0x74,0x69])])),await _0x51d281()?_0x1a4fac()?_0x44349a()?_0x2aee67([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b9a8c()?(_0x4c46ce[_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2aee67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd5f53a=_0x1a9132(_0x2aee67([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4c46ce[_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2aee67([0x74,0x72,0x69,0x61,0x6c])&&(_0xd5f53a=_0x1a9132(_0x2aee67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c4a60()):_0x2aee67([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2aee67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2aee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2aee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44349a(){const _0x46ed90=[_0x2aee67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2aee67([0x74,0x72,0x69,0x61,0x6c])][_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c46ce[_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x52efda/0x3e8:0xe10*_0xc4a956;return _0x4c46ce[_0x2aee67([0x65,0x78,0x70])]<_0x46ed90;}function _0x1a4fac(){const _0x4169ca=_0x4c46ce[_0x2aee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4169ca&&(!!_0x4169ca[_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aee67([0x2a]))||!!_0x4169ca[_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aee67([0x4c,0x48])));}function _0x4b9a8c(){const _0x25480f=_0x3158,_0xe45703=_0x4c46ce[_0x2aee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe45703||0x0==_0xe45703[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44bea0}=new URL(window[_0x2aee67([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x25480f(0x18c)]);if(_0xe45703[_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bea0))return!0x0;const _0x2d543a=_0x44bea0[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])](_0x2aee67([0x2e]));return _0xe45703[_0x2aee67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18ac02=>_0x18ac02[_0x2aee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aee67([0x2a])))[_0x2aee67([0x6d,0x61,0x70])](_0x3640c8=>_0x3640c8[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])](_0x2aee67([0x2e])))[_0x2aee67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27bc0f=>_0x27bc0f[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d543a[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aee67([0x6d,0x61,0x70])](_0xf78366=>Array(_0x2d543a[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf78366[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aee67([0x66,0x69,0x6c,0x6c])](_0xf78366[0x0]===_0x2aee67([0x2a])?_0x2aee67([0x2a]):'')[_0x2aee67([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf78366))[_0x2aee67([0x73,0x6f,0x6d,0x65])](_0x334ad3=>_0x2d543a[_0x2aee67([0x65,0x76,0x65,0x72,0x79])]((_0x243f93,_0x2a03a7)=>_0x334ad3[_0x2a03a7]===_0x243f93||_0x334ad3[_0x2a03a7]===_0x2aee67([0x2a])));}function _0x3c4a60(){return _0xd5f53a&&_0x44a313?new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2201ef,_0x716ea3)=>{_0xd5f53a[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x2201ef,_0x716ea3),_0x44a313[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x291735=>{_0x291735!=_0x2aee67([0x56,0x61,0x6c,0x69,0x64])&&_0x2201ef(_0x291735);},_0x716ea3);}):_0xd5f53a||_0x44a313||_0x2aee67([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54246c(_0x3e7328,_0xe84ccd){return new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a28e=>{if(_0x4d9b75())return _0x20a28e(_0x2aee67([0x56,0x61,0x6c,0x69,0x64]));_0x1170ad(),_0xf30598[_0x2aee67([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2aee67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x453856=!0x1;const _0x530837=_0xbac2f9();function _0x34335c(_0x46e553){return!!_0x46e553&&(typeof _0x46e553===_0x2aee67([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46e553===_0x2aee67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46e553[_0x2aee67([0x74,0x68,0x65,0x6e])]===_0x2aee67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46e553[_0x2aee67([0x63,0x61,0x74,0x63,0x68])]===_0x2aee67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x575b05(_0x206b90){_0xde4bd6(_0x206b90)[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x595f91=>{if(!_0x595f91||_0x595f91[_0x2aee67([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2aee67([0x6f,0x6b]))return _0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fb465(_0x3284ac(_0x530837+_0xe84ccd))!=_0x595f91[_0x2aee67([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2aee67([0x56,0x61,0x6c,0x69,0x64]);})[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x171d52=>(_0x36edcf(),_0x171d52),()=>{const _0x1aecaa=_0x102b1b();return null==_0x1aecaa?(_0x36edcf(),_0x2aee67([0x56,0x61,0x6c,0x69,0x64])):_0x2aee67(_0x52efda-_0x1aecaa>(0x619b6411^_0xbc196)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x20a28e)[_0x2aee67([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20a28e(_0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29a26a=0x45a10e91^_0xbc196;function _0x36edcf(){const _0x586d4c=_0x2aee67([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fb465(_0x3284ac(_0x3e7328)),_0x504418=_0x35dfb3(_0x2fb465(window[_0x2aee67([0x4d,0x61,0x74,0x68])][_0x2aee67([0x63,0x65,0x69,0x6c])](_0x52efda/_0x29a26a)));window[_0x2aee67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aee67([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x586d4c,_0x504418);}function _0x102b1b(){const _0x59e5f6=_0x2aee67([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fb465(_0x3284ac(_0x3e7328)),_0xee3c73=window[_0x2aee67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aee67([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59e5f6);return _0xee3c73?window[_0x2aee67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35dfb3(_0xee3c73),0x10)*_0x29a26a:null;}function _0xde4bd6(_0x2d22f9){return new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30a070,_0x3e5492)=>{_0x2d22f9[_0x2aee67([0x74,0x68,0x65,0x6e])](_0x30a070,_0x3e5492),window[_0x2aee67([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e5492,0x459634d1^_0xbc196);});}}_0xf30598[_0x2aee67([0x6f,0x6e])](_0x2aee67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xef6efa,_0x5c6364)=>{if(_0x5c6364[0x0]!=_0x3e7328)return _0x20a28e(_0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c6364[0x1]={..._0x5c6364[0x1],[_0x2aee67([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x530837};},{[_0x2aee67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aee67([0x68,0x69,0x67,0x68])}),_0xf30598[_0x2aee67([0x6f,0x6e])](_0x2aee67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d6acd=>{_0x34335c(_0x1d6acd[_0x2aee67([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x453856=!0x0,_0x575b05(_0x1d6acd[_0x2aee67([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2aee67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aee67([0x6c,0x6f,0x77])}),_0x572f11[_0x2aee67([0x74,0x68,0x65,0x6e])](()=>{_0x453856||_0x20a28e(_0x2aee67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d9b75(){return _0xf30598[_0x2aee67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aee67([0x76,0x69,0x65,0x77])][_0x2aee67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2aee67([0x61,0x75,0x74,0x6f]);}function _0x1170ad(){_0xf30598[_0x2aee67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aee67([0x76,0x69,0x65,0x77])][_0x2aee67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2aee67([0x61,0x75,0x74,0x6f]);}}function _0x1a9132(_0x3cbdc9){const _0x41adef=[new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x223b5d=>setTimeout(_0x223b5d,0x459ededd^_0xbc196)),_0x572f11[_0x2aee67([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51c385=>{let _0x34f5e5=0x0;_0xf30598[_0x2aee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aee67([0x6f,0x6e])](_0x2aee67([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5bd3cf,_0x182b52)=>{_0x182b52[0x0][_0x2aee67([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34f5e5++,_0x34f5e5==(0x4597e1e9^_0xbc196)&&(_0x51c385(),_0x5bd3cf[_0x2aee67([0x6f,0x66,0x66])]());});}))];return window[_0x2aee67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2aee67([0x72,0x61,0x63,0x65])](_0x41adef)[_0x2aee67([0x74,0x68,0x65,0x6e])](()=>_0x3cbdc9);}async function _0x2205f2(){await _0x572f11,_0xf30598[_0x2aee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aee67([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x247c75,_0xf30598[_0x2aee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aee67([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x247c75,_0xf30598[_0x2aee67([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2aee67([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x137042(_0x2b1a12){const _0x196802=_0x360995();_0xf30598[_0x196802]=_0x2aee67([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b1a12,_0x2b1a12!=_0x2aee67([0x56,0x61,0x6c,0x69,0x64])&&_0x2205f2();}function _0x360995(){const _0x239706=window[_0x2aee67([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2aee67([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2aee67([0x6e,0x6f,0x77])]())[_0x2aee67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2aee67([0x2e]),'');let _0x3b5a7e=_0x2aee67([0x51]);for(let _0x1493bc=0x0;_0x1493bc<_0x239706[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1493bc+=0x2){let _0x1390a2=window[_0x2aee67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x239706[_0x2aee67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1493bc,_0x1493bc+0x2));_0x1390a2>=_0x1270cd[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1390a2-=_0x1270cd[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b5a7e+=_0x1270cd[_0x1390a2];}return _0x3b5a7e;}function _0x3aac09(){const _0x2eb77c=_0x24217f[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])](_0x2aee67([0x2e]));if(0x3!=_0x2eb77c[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x276f91(_0x2eb77c[0x1]);function _0x276f91(_0x4b8509){const _0x560a4d=_0x2495f2(_0x4b8509);return _0x560a4d&&_0x25eaff()?_0x560a4d:null;function _0x25eaff(){const _0x4ec851=_0x560a4d[_0x2aee67([0x6a,0x74,0x69])],_0x20fa61=window[_0x2aee67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ec851[_0x2aee67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ec851[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x145ddf={..._0x560a4d,[_0x2aee67([0x6a,0x74,0x69])]:_0x4ec851[_0x2aee67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ec851[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x145ddf[_0x2aee67([0x76,0x63])],_0x3284ac(_0x145ddf)==_0x20fa61;}}}async function _0x51d281(){let _0x34d48d=!0x0;try{const _0x2745ea=_0x24217f[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])](_0x2aee67([0x2e])),[_0x5c8ef2,_0x347d33,_0x31ea62]=_0x2745ea;return _0x5ce5ab(_0x5c8ef2),await _0x4f6cdc(_0x5c8ef2,_0x347d33,_0x31ea62),_0x34d48d;}catch{return!0x1;}function _0x5ce5ab(_0x25dbee){const _0x275f7c=_0x2495f2(_0x25dbee);_0x275f7c&&_0x275f7c[_0x2aee67([0x61,0x6c,0x67])]==_0x2aee67([0x45,0x53,0x32,0x35,0x36])||(_0x34d48d=!0x1);}async function _0x4f6cdc(_0x496d8d,_0x4d1eb2,_0x14162d){const _0x3ce91f=window[_0x2aee67([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2aee67([0x66,0x72,0x6f,0x6d])](_0x3a74a0(_0x14162d),_0x4a01c8=>_0x4a01c8[_0x2aee67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e527a=new window[(_0x2aee67([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2aee67([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x496d8d+_0x2aee67([0x2e])+_0x4d1eb2),_0x5d0291=window[_0x2aee67([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2aee67([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d0291)return;const _0x49ea9e=await _0x5d0291[_0x2aee67([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2aee67([0x6a,0x77,0x6b]),_0x5953e2,{[_0x2aee67([0x6e,0x61,0x6d,0x65])]:_0x2aee67([0x45,0x43,0x44,0x53,0x41]),[_0x2aee67([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2aee67([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2aee67([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d0291[_0x2aee67([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2aee67([0x6e,0x61,0x6d,0x65])]:_0x2aee67([0x45,0x43,0x44,0x53,0x41]),[_0x2aee67([0x68,0x61,0x73,0x68])]:{[_0x2aee67([0x6e,0x61,0x6d,0x65])]:_0x2aee67([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49ea9e,_0x3ce91f,_0x2e527a)||(_0x34d48d=!0x1);}}function _0x2495f2(_0x14ca49){return _0x14ca49[_0x2aee67([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2aee67([0x65,0x79]))?JSON[_0x2aee67([0x70,0x61,0x72,0x73,0x65])](_0x3a74a0(_0x14ca49)):null;}function _0x3a74a0(_0xb11a96){return window[_0x2aee67([0x61,0x74,0x6f,0x62])](_0xb11a96[_0x2aee67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2aee67([0x2b]))[_0x2aee67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2aee67([0x2f])));}function _0x3284ac(_0x2b713c){let _0x5e5c81=0x1505;function _0x2601c2(_0x45f560){for(let _0x3931d9=0x0;_0x3931d9<_0x45f560[_0x2aee67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3931d9++){const _0x59dbae=_0x45f560[_0x2aee67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3931d9);_0x5e5c81=(_0x5e5c81<<0x5)+_0x5e5c81+_0x59dbae,_0x5e5c81&=_0x5e5c81;}}function _0x4d3da8(_0x629b7){Array[_0x2aee67([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x629b7)?_0x629b7[_0x2aee67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d3da8):_0x629b7&&typeof _0x629b7==_0x2aee67([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2aee67([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x629b7)[_0x2aee67([0x73,0x6f,0x72,0x74])]()[_0x2aee67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30f7b9,_0x233dd6])=>{_0x2601c2(_0x30f7b9),_0x4d3da8(_0x233dd6);}):_0x2601c2(window[_0x2aee67([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x629b7));}return _0x4d3da8(_0x2b713c),_0x5e5c81>>>0x0;}function _0x2fb465(_0x111eaa){return _0x111eaa[_0x2aee67([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2aee67([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2aee67([0x30]));}function _0x35dfb3(_0x53ed2a){return _0x53ed2a[_0x2aee67([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2aee67([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2aee67([0x6a,0x6f,0x69,0x6e])]('');}function _0x247c75(){}function _0x2aee67(_0x5e4e41){const _0x38da00=_0x3158;return _0x5e4e41[_0x38da00(0x190)](_0x4c48ca=>String[_0x38da00(0x16b)](_0x4c48ca))[_0x38da00(0x18f)]('');}_0x137042(await _0x1c4092());}(this);}[_0x368e52(0x164)](){const _0x144ab3=_0x368e52,_0x50f905=this[_0x144ab3(0x175)];if(!_0x50f905[_0x144ab3(0x191)][_0x144ab3(0x193)](_0x144ab3(0x195)))return;const _0x1a21ca=_0x50f905[_0x144ab3(0x191)][_0x144ab3(0x193)](_0x144ab3(0x179))[_0x144ab3(0x17f)](_0x6d8e20=>_0x144ab3(0x194)==typeof _0x6d8e20&&(!_0x31363a(_0x6d8e20)&&isNaN(Number(_0x6d8e20))));if(_0x1a21ca[_0x144ab3(0x185)])throw new _0x114133(_0x144ab3(0x188),null,{'namedPresets':_0x1a21ca});}[_0x368e52(0x17b)](){const _0x28ca32=_0x368e52,_0x167cf9=this[_0x28ca32(0x175)],_0x447d0d=this[_0x28ca32(0x175)][_0x28ca32(0x191)][_0x28ca32(0x193)](_0x28ca32(0x177));_0x167cf9[_0x28ca32(0x174)][_0x28ca32(0x186)](_0x28ca32(0x161))[_0x28ca32(0x192)]({'model':{'key':_0x28ca32(0x169)},'view':_0x4aaac2=>String(_0x4aaac2)===String(_0x447d0d)?null:{'key':_0x28ca32(0x176),'value':{'line-height':_0x4aaac2}}}),_0x167cf9[_0x28ca32(0x174)][_0x28ca32(0x186)](_0x28ca32(0x165))[_0x28ca32(0x192)]({'model':{'key':_0x28ca32(0x169),'value':_0x4b4749=>{const _0xfc2190=_0x28ca32;let _0x1e2294=_0x4b4749[_0xfc2190(0x170)](_0xfc2190(0x182));return _0x4fb0f3(_0x1e2294)&&(_0x1e2294=String(Number(_0x1e2294[_0xfc2190(0x181)](0x0,-0x1))/0x64)),String(_0x1e2294)===String(_0x447d0d)?null:_0x1e2294;}},'view':{'styles':{'line-height':/.*/}}});}[_0x368e52(0x183)](){const _0x33ff8d=_0x368e52,_0x3756e3=this[_0x33ff8d(0x175)],_0x376e1e=this[_0x33ff8d(0x175)][_0x33ff8d(0x191)][_0x33ff8d(0x193)](_0x33ff8d(0x177)),_0x11d43a=_0x335868(this[_0x33ff8d(0x175)][_0x33ff8d(0x191)][_0x33ff8d(0x193)](_0x33ff8d(0x169)))[_0x33ff8d(0x17f)](_0x37b20e=>_0x37b20e[_0x33ff8d(0x18d)]),_0x2e0a67=_0x48f1ec(_0x33ff8d(0x169),_0x11d43a);_0x3756e3[_0x33ff8d(0x174)][_0x33ff8d(0x192)](_0x2e0a67),_0x3756e3[_0x33ff8d(0x174)][_0x33ff8d(0x186)](_0x33ff8d(0x165))[_0x33ff8d(0x192)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x33ff8d(0x169),'value':_0x372c0d=>{const _0x59668d=_0x33ff8d;let _0x47de70=_0x372c0d[_0x59668d(0x170)](_0x59668d(0x182));return _0x4fb0f3(_0x47de70)&&(_0x47de70=String(Number(_0x47de70[_0x59668d(0x181)](0x0,-0x1))/0x64)),_0x47de70===String(_0x376e1e)?null:_0x2e0a67[_0x59668d(0x18d)][_0x59668d(0x171)][_0x59668d(0x16d)](_0x47de70)?_0x47de70:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0xba8575}from'ckeditor5/src/core.js';import{addListToDropdown as _0x36b471,createDropdown as _0x1a32b2,MenuBarMenuListItemButtonView as _0x3fcc14,MenuBarMenuListItemView as _0x620339,MenuBarMenuListView as _0x249449,MenuBarMenuView as _0x522c6d,UIModel as _0x5e67a0}from'ckeditor5/src/ui.js';import{Collection as _0x342b34}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3160b0}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x50d1c7}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0xba8575{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x358234={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x358234),this['_registerMenuBarComponent'](_0x358234),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d5a4c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2daca4;for(const _0x2e36fc in _0x2d5a4c){const _0x2c570e=_0x2e36fc,_0x569528=_0x2d5a4c[_0x2c570e];if('lineHeightLicenseKeyValid'==_0x569528||'lineHeightLicenseKeyInvalid'==_0x569528||'lineHeightLicenseKeyExpired'==_0x569528||'lineHeightLicenseKeyDomainLimit'==_0x569528||'lineHeightLicenseKeyNotAllowed'==_0x569528||'lineHeightLicenseKeyEvaluationLimit'==_0x569528||'lineHeightLicenseKeyTrialLimit'==_0x569528||'lineHeightLicenseKeyUsageLimit'==_0x569528){delete _0x2d5a4c[_0x2c570e],_0x2daca4=_0x569528,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2daca4&&_0x2d5a4c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x399def=this['editor'],t=_0x399def['t'],_0x3412b5=_0x399def['config']['get']('lineHeight'),_0x300789={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x50d1c7(_0x3412b5)['map'](_0x267213=>{const _0x12a4c6=_0x300789[_0x267213['title']];return _0x12a4c6&&_0x12a4c6!=_0x267213['title']&&(_0x267213=Object['assign']({},_0x267213,{'title':_0x12a4c6})),_0x267213;});}['_prepareListOptions'](){const _0x6cf33d=this['editor']['commands']['get']('lineHeight'),_0x48f3b9=this['editor']['config']['get']('lineHeight.defaultValue'),_0x215a7c=this['_getLocalizedLineHeightOptions'](),_0x14dd86=new _0x342b34(),_0x201e84=_0x515672=>'default'===_0x515672||String(_0x48f3b9)===_0x515672;for(const _0x9af33d of _0x215a7c){const _0xfedbad={'type':'button','model':new _0x5e67a0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x9af33d['title'],'withText':!0x0})};_0x201e84(_0x9af33d['model'])?(_0xfedbad['model']['bind']('isOn')['to'](_0x6cf33d,'value',_0x1c4305=>!_0x1c4305),_0xfedbad['model']['commandParam']=void 0x0):(_0xfedbad['model']['bind']('isOn')['to'](_0x6cf33d,'value',_0x4fdd0c=>_0x4fdd0c===_0x9af33d['model']),_0xfedbad['model']['commandParam']=_0x9af33d['model']),_0x14dd86['add'](_0xfedbad);}if(this['_shouldRenderCustomValueOption']()){const _0x515651=this['_getCustomValueOptionDefinition'](_0x215a7c);_0x14dd86['add'](_0x515651);}return _0x14dd86;}['_getCustomValueOptionDefinition'](_0x3eb151){const _0x3ed5fb=this['editor'],t=_0x3ed5fb['t'],_0x3f6abf=_0x3ed5fb['commands']['get']('lineHeight'),_0x4b5453=_0x3eb151['map'](_0x4cf058=>_0x4cf058['model']),_0x5af9df={'type':'button','model':new _0x5e67a0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5af9df['model']['bind']('commandParam')['to'](_0x3f6abf,'value'),_0x5af9df['model']['bind']('isOn')['to'](_0x3f6abf,'value',_0x5b706f=>!!_0x5b706f&&!_0x4b5453['includes'](String(_0x5b706f))),_0x5af9df['model']['bind']('label')['to'](_0x3f6abf,'value',_0x342df0=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x342df0))),_0x5af9df;}['_registerToolbarComponent']({accessibleLabel:_0x26c554,options:_0x32a5df}){const _0x3ac657=this['editor'],_0x48318a=_0x3ac657['commands']['get']('lineHeight');_0x3ac657['ui']['componentFactory']['add']('lineHeight',_0x201e37=>{const _0xce0d6d=_0x1a32b2(_0x201e37);return _0x36b471(_0xce0d6d,_0x32a5df,{'role':'menu','ariaLabel':_0x26c554}),_0xce0d6d['buttonView']['set']({'label':_0x26c554,'tooltip':!0x0,'icon':_0x3160b0}),_0xce0d6d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xce0d6d['bind']('isEnabled')['to'](_0x48318a),this['listenTo'](_0xce0d6d,'execute',_0xde2c77=>{_0x3ac657['execute'](_0xde2c77['source']['commandName'],{'value':_0xde2c77['source']['commandParam']}),_0x3ac657['editing']['view']['focus']();}),_0xce0d6d['once']('change:isOpen',()=>{const _0x5b9c17=_0xce0d6d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xce0d6d,_0x32a5df,_0x5b9c17);}),_0xce0d6d;});}['_registerMenuBarComponent']({accessibleLabel:_0x5ec1e7,options:_0x12a513}){const _0x1d731b=this['editor'],_0x477a10=_0x1d731b['commands']['get']('lineHeight');_0x1d731b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2f888d=>{const _0xc634bb=new _0x522c6d(_0x2f888d);_0xc634bb['buttonView']['set']({'label':_0x5ec1e7,'icon':_0x3160b0}),_0xc634bb['bind']('isEnabled')['to'](_0x477a10);const _0x1b3625=new _0x249449(_0x2f888d);for(const _0x78dfa6 of _0x12a513){const _0x2a7074=new _0x620339(_0x2f888d,_0xc634bb),_0x3e2a25=new _0x3fcc14(_0x2f888d);_0x3e2a25['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3e2a25['bind'](...Object['keys'](_0x78dfa6['model']))['to'](_0x78dfa6['model']),_0x3e2a25['delegate']('execute')['to'](_0xc634bb),_0x3e2a25['on']('execute',()=>{_0x1d731b['execute'](_0x78dfa6['model']['commandName'],{'value':_0x78dfa6['model']['commandParam']}),_0x1d731b['editing']['view']['focus']();}),_0x2a7074['children']['add'](_0x3e2a25),_0x1b3625['items']['add'](_0x2a7074);}return _0xc634bb['panelView']['children']['add'](_0x1b3625),this['_attachCustomOptionVisibilityHandler'](_0xc634bb,_0x12a513,_0x1b3625),_0xc634bb;});}['_attachCustomOptionVisibilityHandler'](_0x662770,_0x2ceab3,_0x4b48d0){if(!this['_shouldRenderCustomValueOption']())return;const _0x5acfd2=()=>{if(!_0x662770['isOpen'])return;_0x4b48d0['items']['last']['isVisible']=Boolean(_0x2ceab3['last']['model']['isOn']);};_0x5acfd2(),_0x662770['on']('change:isOpen',()=>{_0x5acfd2();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5283c8,_0x16bd9e){const _0x458474=_0x224a,_0x220765=_0x5283c8();while(!![]){try{const _0x5a0c60=parseInt(_0x458474(0x13e))/0x1+-parseInt(_0x458474(0x135))/0x2+-parseInt(_0x458474(0x131))/0x3*(parseInt(_0x458474(0x130))/0x4)+-parseInt(_0x458474(0x138))/0x5*(-parseInt(_0x458474(0x13b))/0x6)+parseInt(_0x458474(0x139))/0x7*(parseInt(_0x458474(0x124))/0x8)+parseInt(_0x458474(0x13d))/0x9*(parseInt(_0x458474(0x11e))/0xa)+-parseInt(_0x458474(0x11f))/0xb;if(_0x5a0c60===_0x16bd9e)break;else _0x220765['push'](_0x220765['shift']());}catch(_0x39b756){_0x220765['push'](_0x220765['shift']());}}}(_0x3d4a,0xbc74a));const v={get 'single'(){const _0x3a7504=_0x224a;return{'title':_0x3a7504(0x12f),'model':_0x3a7504(0x137),'view':{'key':_0x3a7504(0x120),'value':_0x3a7504(0x133)}};},get 'double'(){const _0x4a90ca=_0x224a;return{'title':_0x4a90ca(0x12d),'model':_0x4a90ca(0x12b),'view':{'key':_0x4a90ca(0x120),'value':_0x4a90ca(0x127)}};}};export function isLineHeightDefaultValue(_0x26ca40){const _0x108dd0=_0x224a;return _0x108dd0(0x129)==typeof _0x26ca40&&_0x108dd0(0x134)===_0x26ca40[_0x108dd0(0x126)]();}export function normalizeOptions(_0xbf2636){const _0x5040fa=_0x224a;return _0xbf2636[_0x5040fa(0x128)][_0x5040fa(0x13f)](_0x3e9804=>isLineHeightDefaultValue(_0x3e9804)?{'title':String(_0xbf2636[_0x5040fa(0x13a)]),'model':_0x5040fa(0x134)}:(_0x5040fa(0x121)==typeof _0x3e9804&&(_0x3e9804=String(_0x3e9804)),_0x5040fa(0x129)!=typeof _0x3e9804?_0x3e9804:parseFloat(_0x3e9804)?{'title':_0x3e9804,'model':_0x3e9804,'view':{'name':_0x5040fa(0x13c),'styles':{'line-height':_0x3e9804}}}:findPreset(_0x3e9804)))[_0x5040fa(0x12a)](_0x1ec082=>void 0x0!==_0x1ec082);}export function findPreset(_0x3acfda){const _0x2ff5fd=_0x224a;return _0x2ff5fd(0x129)==typeof _0x3acfda?v[_0x3acfda]:v[_0x3acfda[_0x2ff5fd(0x11d)]];}function _0x3d4a(){const _0x5a13c4=['push','single','5IXpHie','7FfIZux','defaultValue','5701062MJZUrP','span','39924LjoxzK','1107978tfYMtN','map','model','2390GbVApD','23262899MrRCxl','class','number','value','view','9839608UTynhU','line-height:','toLowerCase','line-height-double','options','string','filter','double','key','Double','values','Single','170192MPZoRx','99rFhqzI','style','line-height-single','default','115006voylOL'];_0x3d4a=function(){return _0x5a13c4;};return _0x3d4a();}function _0x224a(_0x3288eb,_0x1a526e){const _0x3d4a70=_0x3d4a();return _0x224a=function(_0x224a96,_0x11be48){_0x224a96=_0x224a96-0x11d;let _0x27bca0=_0x3d4a70[_0x224a96];return _0x27bca0;},_0x224a(_0x3288eb,_0x1a526e);}export function buildDefinition(_0x6abc4a,_0x260f9d){const _0x2497b4=_0x224a,_0x45e71e={'model':{'key':_0x6abc4a,'values':[]},'view':{}};for(const _0x5158f1 of _0x260f9d)_0x2497b4(0x120)===_0x5158f1[_0x2497b4(0x123)]?.[_0x2497b4(0x12c)]?(_0x45e71e[_0x2497b4(0x11d)][_0x2497b4(0x12e)][_0x2497b4(0x136)](_0x5158f1[_0x2497b4(0x11d)]),_0x45e71e[_0x2497b4(0x123)][_0x5158f1[_0x2497b4(0x11d)]]={'key':_0x2497b4(0x120),'value':_0x5158f1[_0x2497b4(0x123)][_0x2497b4(0x122)]}):(_0x45e71e[_0x2497b4(0x11d)][_0x2497b4(0x12e)][_0x2497b4(0x136)](_0x5158f1[_0x2497b4(0x11d)]),_0x45e71e[_0x2497b4(0x123)][_0x5158f1[_0x2497b4(0x11d)]]={'key':_0x2497b4(0x132),'value':_0x2497b4(0x125)+_0x5158f1[_0x2497b4(0x11d)]+';'});return _0x45e71e;}
|