@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250819.0 → 0.0.0-nightly-20250820.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4687f1=_0x3b91;(function(_0x338821,_0x4baa49){const _0x3767dd=_0x3b91,_0x19dac2=_0x338821();while(!![]){try{const _0xa4d873=-parseInt(_0x3767dd(0xda))/0x1*(-parseInt(_0x3767dd(0xeb))/0x2)+-parseInt(_0x3767dd(0xee))/0x3*(parseInt(_0x3767dd(0xf0))/0x4)+-parseInt(_0x3767dd(0xe0))/0x5+parseInt(_0x3767dd(0xf1))/0x6*(-parseInt(_0x3767dd(0xed))/0x7)+-parseInt(_0x3767dd(0xd4))/0x8+-parseInt(_0x3767dd(0xe1))/0x9*(-parseInt(_0x3767dd(0xe9))/0xa)+parseInt(_0x3767dd(0xd5))/0xb;if(_0xa4d873===_0x4baa49)break;else _0x19dac2['push'](_0x19dac2['shift']());}catch(_0x83623c){_0x19dac2['push'](_0x19dac2['shift']());}}}(_0x3e42,0x3a72c));function _0x3e42(){const _0x44f1f0=['filter','change','1MlJvpw','value','refresh','_canHaveLineHeight','getSelectedBlocks','setAttribute','1899240dOXalp','868446xMGllo','execute','from','lineHeight','removeAttribute','editor','checkAttribute','schema','20ffZubF','selection','540012Fuuzdu','document','198415AhawLw','81Nvhcbe','getAttribute','20044gIdquI','42PsXIFn','3805568vyuLQu','10622326SztVpr','model','isEnabled'];_0x3e42=function(){return _0x44f1f0;};return _0x3e42();}import{Command as _0x22261f}from'ckeditor5/src/core.js';import{first as _0x6bbebc}from'ckeditor5/src/utils.js';function _0x3b91(_0x235fa0,_0x182cd7){const _0x3e4226=_0x3e42();return _0x3b91=function(_0x3b9135,_0x448819){_0x3b9135=_0x3b9135-0xd4;let _0x4c79e7=_0x3e4226[_0x3b9135];return _0x4c79e7;},_0x3b91(_0x235fa0,_0x182cd7);}export class LineHeightCommand extends _0x22261f{[_0x4687f1(0xdc)](){const _0x588082=_0x4687f1,_0x47860b=this[_0x588082(0xe6)][_0x588082(0xd6)][_0x588082(0xec)],_0x32b2b7=_0x6bbebc(_0x47860b[_0x588082(0xea)][_0x588082(0xde)]());this[_0x588082(0xd7)]=Boolean(_0x32b2b7)&&this[_0x588082(0xdd)](_0x32b2b7),this[_0x588082(0xdb)]=this[_0x588082(0xd7)]&&_0x32b2b7[_0x588082(0xef)](_0x588082(0xe4));}[_0x4687f1(0xe2)](_0x39b7d6={}){const _0x2de91c=_0x4687f1,_0x149929=this[_0x2de91c(0xe6)][_0x2de91c(0xd6)],_0x7a768f=_0x149929[_0x2de91c(0xec)][_0x2de91c(0xea)],_0x195e6e=_0x39b7d6[_0x2de91c(0xdb)];_0x149929[_0x2de91c(0xd9)](_0x4dabdf=>{const _0xe7c304=_0x2de91c,_0xf4de28=Array[_0xe7c304(0xe3)](_0x7a768f[_0xe7c304(0xde)]())[_0xe7c304(0xd8)](_0x524c16=>this[_0xe7c304(0xdd)](_0x524c16));for(const _0x4dae4d of _0xf4de28)_0x195e6e?_0x4dabdf[_0xe7c304(0xdf)](_0xe7c304(0xe4),_0x195e6e,_0x4dae4d):_0x4dabdf[_0xe7c304(0xe5)](_0xe7c304(0xe4),_0x4dae4d);});}[_0x4687f1(0xdd)](_0x4cd73a){const _0x14e056=_0x4687f1;return this[_0x14e056(0xe6)][_0x14e056(0xd6)][_0x14e056(0xe8)][_0x14e056(0xe7)](_0x4cd73a,_0x14e056(0xe4));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5f27(_0x5ed0cf,_0x545ba0){const _0x4ef80c=_0x4ef8();return _0x5f27=function(_0x5f27c7,_0x365d3e){_0x5f27c7=_0x5f27c7-0xac;let _0x566e55=_0x4ef80c[_0x5f27c7];return _0x566e55;},_0x5f27(_0x5ed0cf,_0x545ba0);}const _0x16f390=_0x5f27;function _0x4ef8(){const _0x328491=['_preparePredefinedConverters','4871370WaaHKI','init','values','lineHeight.supportAllValues','4304733hDAVXl','config','1IqrupD','49fTCdIv','isPremiumPlugin','_prepareAnyValueConverters','href','includes','string','LineHeightEditing','schema','style','length','53574417TNnTNV','844086YGmnuv','275JruLBq','setAttributeProperties','9IoJGmo','editor','model','get','lineHeight','586236Yhcyfd','4fHIjbr','line-height-invalid-use-of-named-presets','365DYEzVD','line-height','128532YQzeli','fromCharCode','define','join','extend','upcast','_validateConfig','lineHeight.defaultValue','isOfficialPlugin','conversion','slice','for','afterInit','$block','filter','pluginName','commands','default','lineHeight.options','1524512KRyAEl','map','getStyle','downcast','attributeToAttribute','add'];_0x4ef8=function(){return _0x328491;};return _0x4ef8();}(function(_0x349e0b,_0x59ebed){const _0x221a10=_0x5f27,_0xacc87f=_0x349e0b();while(!![]){try{const _0x5a1cab=parseInt(_0x221a10(0xd9))/0x1*(-parseInt(_0x221a10(0xac))/0x2)+-parseInt(_0x221a10(0xd7))/0x3*(parseInt(_0x221a10(0xb5))/0x4)+parseInt(_0x221a10(0xb7))/0x5*(parseInt(_0x221a10(0xb9))/0x6)+parseInt(_0x221a10(0xda))/0x7*(-parseInt(_0x221a10(0xcc))/0x8)+-parseInt(_0x221a10(0xaf))/0x9*(parseInt(_0x221a10(0xd3))/0xa)+-parseInt(_0x221a10(0xad))/0xb*(parseInt(_0x221a10(0xb4))/0xc)+parseInt(_0x221a10(0xe4))/0xd;if(_0x5a1cab===_0x59ebed)break;else _0xacc87f['push'](_0xacc87f['shift']());}catch(_0x188166){_0xacc87f['push'](_0xacc87f['shift']());}}}(_0x4ef8,0xbfc8f));import{Plugin as _0x479a34}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2cb4ae}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x30d298}from'ckeditor5/src/engine.js';import{uid as _0x21567a,CKEditorError as _0x13a272}from'ckeditor5/src/utils.js';import{buildDefinition as _0x10adaf,isLineHeightDefaultValue as _0x547ee5,normalizeOptions as _0x3b5155}from'./utils.js';export class LineHeightEditing extends _0x479a34{static get[_0x16f390(0xc8)](){const _0x3527ae=_0x16f390;return _0x3527ae(0xe0);}static get[_0x16f390(0xc1)](){return!0x0;}static get[_0x16f390(0xdb)](){return!0x0;}constructor(_0x2f7cba){const _0x4abd06=_0x16f390;super(_0x2f7cba),_0x2f7cba[_0x4abd06(0xd8)][_0x4abd06(0xbb)](_0x4abd06(0xb3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4abd06(0xca),0x2,2.5,0x3]});}[_0x16f390(0xd4)](){const _0x29420a=_0x16f390,_0x7c62cf=this[_0x29420a(0xb0)];this[_0x29420a(0xbf)](),_0x7c62cf[_0x29420a(0xb1)][_0x29420a(0xe1)][_0x29420a(0xbd)](_0x29420a(0xc6),{'allowAttributes':_0x29420a(0xb3)}),_0x7c62cf[_0x29420a(0xb1)][_0x29420a(0xe1)][_0x29420a(0xae)](_0x29420a(0xb3),{'isFormatting':!0x0}),_0x7c62cf[_0x29420a(0xc9)][_0x29420a(0xd1)](_0x29420a(0xb3),new _0x2cb4ae(_0x7c62cf)),this[_0x29420a(0xb0)][_0x29420a(0xd8)][_0x29420a(0xb2)](_0x29420a(0xd6))?this[_0x29420a(0xdc)]():this[_0x29420a(0xd2)]();}[_0x16f390(0xc5)](){!async function(_0x15e3cd){const _0x4ff7e4=_0x57c6d5([0x4f,0x4d,0x61,0x66,0x72,0x6e,0x48,0x31,0x68,0x46,0x74,0x55,0x42,0x6d,0x57,0x71,0x75,0x4a,0x4e,0x37,0x70,0x6b,0x32,0x69,0x56,0x36,0x43,0x51,0x6c,0x47,0x59,0x4b,0x33,0x39,0x63,0x78,0x30,0x54,0x45,0x5a,0x65,0x76,0x49,0x64,0x34,0x35,0x50,0x6f,0x44,0x53,0x73,0x6a,0x52,0x77,0x58,0x4c,0x7a,0x62,0x41,0x38,0x67,0x79]),_0x499933=0x564951ed,_0x1358f5=0x564e2105^_0x499933,_0x243c74=window[_0x57c6d5([0x44,0x61,0x74,0x65])][_0x57c6d5([0x6e,0x6f,0x77])](),_0x3cbcf1=_0x15e3cd[_0x57c6d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c3cb9=new window[(_0x57c6d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b3559=>{_0x3cbcf1[_0x57c6d5([0x6f,0x6e,0x63,0x65])](_0x57c6d5([0x72,0x65,0x61,0x64,0x79]),_0x3b3559);}),_0x1963ec={[_0x57c6d5([0x6b,0x74,0x79])]:_0x57c6d5([0x45,0x43]),[_0x57c6d5([0x75,0x73,0x65])]:_0x57c6d5([0x73,0x69,0x67]),[_0x57c6d5([0x63,0x72,0x76])]:_0x57c6d5([0x50,0x2d,0x32,0x35,0x36]),[_0x57c6d5([0x78])]:_0x57c6d5([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]),[_0x57c6d5([0x79])]:_0x57c6d5([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]),[_0x57c6d5([0x61,0x6c,0x67])]:_0x57c6d5([0x45,0x53,0x32,0x35,0x36])},_0x41229c=_0x3cbcf1[_0x57c6d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57c6d5([0x67,0x65,0x74])](_0x57c6d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b64a6(){let _0x1eaed3,_0x571ce7=null,_0x1209dc=null;try{if(_0x41229c==_0x57c6d5([0x47,0x50,0x4c]))return _0x57c6d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1eaed3=_0x433f4b(),!_0x1eaed3)return _0x57c6d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1eaed3[_0x57c6d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1209dc=_0x317028(_0x1eaed3[_0x57c6d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1eaed3[_0x57c6d5([0x6a,0x74,0x69])])),await _0x5eb5a9()?_0x4378da()?_0x249d1e()?_0x57c6d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8c9c83()?(_0x1eaed3[_0x57c6d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57c6d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x571ce7=_0x9f178e(_0x57c6d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1eaed3[_0x57c6d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57c6d5([0x74,0x72,0x69,0x61,0x6c])&&(_0x571ce7=_0x9f178e(_0x57c6d5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2975bd()):_0x57c6d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57c6d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57c6d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x57c6d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x249d1e(){const _0x783d1e=[_0x57c6d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57c6d5([0x74,0x72,0x69,0x61,0x6c])][_0x57c6d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eaed3[_0x57c6d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x243c74/0x3e8:0xe10*_0x1358f5;return _0x1eaed3[_0x57c6d5([0x65,0x78,0x70])]<_0x783d1e;}function _0x4378da(){const _0x9eddf=_0x1eaed3[_0x57c6d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9eddf&&(!!_0x9eddf[_0x57c6d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57c6d5([0x2a]))||!!_0x9eddf[_0x57c6d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57c6d5([0x4c,0x48])));}function _0x8c9c83(){const _0x4ce309=_0x5f27,_0x20ad61=_0x1eaed3[_0x57c6d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20ad61||0x0==_0x20ad61[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c1284}=new URL(window[_0x57c6d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ce309(0xdd)]);if(_0x20ad61[_0x57c6d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c1284))return!0x0;const _0x5b4f3f=_0x4c1284[_0x57c6d5([0x73,0x70,0x6c,0x69,0x74])](_0x57c6d5([0x2e]));return _0x20ad61[_0x57c6d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22c91d=>_0x22c91d[_0x57c6d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57c6d5([0x2a])))[_0x57c6d5([0x6d,0x61,0x70])](_0x18330a=>_0x18330a[_0x57c6d5([0x73,0x70,0x6c,0x69,0x74])](_0x57c6d5([0x2e])))[_0x57c6d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33bf5a=>_0x33bf5a[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b4f3f[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57c6d5([0x6d,0x61,0x70])](_0x32f4af=>Array(_0x5b4f3f[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32f4af[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57c6d5([0x66,0x69,0x6c,0x6c])](_0x32f4af[0x0]===_0x57c6d5([0x2a])?_0x57c6d5([0x2a]):'')[_0x57c6d5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32f4af))[_0x57c6d5([0x73,0x6f,0x6d,0x65])](_0x2a9eb3=>_0x5b4f3f[_0x57c6d5([0x65,0x76,0x65,0x72,0x79])]((_0xc9422b,_0x3d625f)=>_0x2a9eb3[_0x3d625f]===_0xc9422b||_0x2a9eb3[_0x3d625f]===_0x57c6d5([0x2a])));}function _0x2975bd(){return _0x571ce7&&_0x1209dc?new window[(_0x57c6d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x64fd54,_0x4891bd)=>{_0x571ce7[_0x57c6d5([0x74,0x68,0x65,0x6e])](_0x64fd54,_0x4891bd),_0x1209dc[_0x57c6d5([0x74,0x68,0x65,0x6e])](_0x57d1ce=>{_0x57d1ce!=_0x57c6d5([0x56,0x61,0x6c,0x69,0x64])&&_0x64fd54(_0x57d1ce);},_0x4891bd);}):_0x571ce7||_0x1209dc||_0x57c6d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x317028(_0x3f34b4,_0x7c2e54){return new window[(_0x57c6d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbb0c1=>{if(_0x28eed6())return _0xbb0c1(_0x57c6d5([0x56,0x61,0x6c,0x69,0x64]));_0x1d4ecb(),_0x3cbcf1[_0x57c6d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57c6d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49c852=!0x1;const _0xcd6861=_0x21567a();function _0x40c8de(_0x1d3b12){return!!_0x1d3b12&&(typeof _0x1d3b12===_0x57c6d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d3b12===_0x57c6d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d3b12[_0x57c6d5([0x74,0x68,0x65,0x6e])]===_0x57c6d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d3b12[_0x57c6d5([0x63,0x61,0x74,0x63,0x68])]===_0x57c6d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x221f0d(_0x525c5e){_0x22ef56(_0x525c5e)[_0x57c6d5([0x74,0x68,0x65,0x6e])](_0x3b2946=>{if(!_0x3b2946||_0x3b2946[_0x57c6d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57c6d5([0x6f,0x6b]))return _0x57c6d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23c7d0(_0x53b496(_0xcd6861+_0x7c2e54))!=_0x3b2946[_0x57c6d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57c6d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57c6d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x57c6d5([0x74,0x68,0x65,0x6e])](_0x18fb8f=>(_0x139852(),_0x18fb8f),()=>{const _0xbcefcb=_0x16edda();return null==_0xbcefcb?(_0x139852(),_0x57c6d5([0x56,0x61,0x6c,0x69,0x64])):_0x57c6d5(_0x243c74-_0xbcefcb>(0x7245d5ed^_0x499933)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57c6d5([0x74,0x68,0x65,0x6e])](_0xbb0c1)[_0x57c6d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbb0c1(_0x57c6d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26e084=0x567fbf6d^_0x499933;function _0x139852(){const _0x29d279=_0x57c6d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x23c7d0(_0x53b496(_0x3f34b4)),_0x78ca70=_0x5d58d4(_0x23c7d0(window[_0x57c6d5([0x4d,0x61,0x74,0x68])][_0x57c6d5([0x63,0x65,0x69,0x6c])](_0x243c74/_0x26e084)));window[_0x57c6d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57c6d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29d279,_0x78ca70);}function _0x16edda(){const _0x2531fa=_0x57c6d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x23c7d0(_0x53b496(_0x3f34b4)),_0x5f4c6d=window[_0x57c6d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57c6d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2531fa);return _0x5f4c6d?window[_0x57c6d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d58d4(_0x5f4c6d),0x10)*_0x26e084:null;}function _0x22ef56(_0xc167b2){return new window[(_0x57c6d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d8521,_0xa754ce)=>{_0xc167b2[_0x57c6d5([0x74,0x68,0x65,0x6e])](_0x2d8521,_0xa754ce),window[_0x57c6d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa754ce,0x5648852d^_0x499933);});}}_0x3cbcf1[_0x57c6d5([0x6f,0x6e])](_0x57c6d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48a7e7,_0xb15b81)=>{if(_0xb15b81[0x0]!=_0x3f34b4)return _0xbb0c1(_0x57c6d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb15b81[0x1]={..._0xb15b81[0x1],[_0x57c6d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcd6861};},{[_0x57c6d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57c6d5([0x68,0x69,0x67,0x68])}),_0x3cbcf1[_0x57c6d5([0x6f,0x6e])](_0x57c6d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36c781=>{_0x40c8de(_0x36c781[_0x57c6d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49c852=!0x0,_0x221f0d(_0x36c781[_0x57c6d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57c6d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57c6d5([0x6c,0x6f,0x77])}),_0x4c3cb9[_0x57c6d5([0x74,0x68,0x65,0x6e])](()=>{_0x49c852||_0xbb0c1(_0x57c6d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28eed6(){return _0x3cbcf1[_0x57c6d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57c6d5([0x76,0x69,0x65,0x77])][_0x57c6d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57c6d5([0x61,0x75,0x74,0x6f]);}function _0x1d4ecb(){_0x3cbcf1[_0x57c6d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57c6d5([0x76,0x69,0x65,0x77])][_0x57c6d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57c6d5([0x61,0x75,0x74,0x6f]);}}function _0x9f178e(_0x1d898f){const _0x173705=[new window[(_0x57c6d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aa5d7=>setTimeout(_0x2aa5d7,0x56406f21^_0x499933)),_0x4c3cb9[_0x57c6d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57c6d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x298d47=>{let _0x4728b8=0x0;_0x3cbcf1[_0x57c6d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x57c6d5([0x6f,0x6e])](_0x57c6d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a82d8,_0x2d6880)=>{_0x2d6880[0x0][_0x57c6d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4728b8++,_0x4728b8==(0x56495015^_0x499933)&&(_0x298d47(),_0x4a82d8[_0x57c6d5([0x6f,0x66,0x66])]());});}))];return window[_0x57c6d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57c6d5([0x72,0x61,0x63,0x65])](_0x173705)[_0x57c6d5([0x74,0x68,0x65,0x6e])](()=>_0x1d898f);}async function _0x46ac50(){await _0x4c3cb9,_0x3cbcf1[_0x57c6d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x57c6d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bd1cc,_0x3cbcf1[_0x57c6d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x57c6d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bd1cc,_0x3cbcf1[_0x57c6d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57c6d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d0dec(_0x1c625a){const _0x5753cd=_0x37627a();_0x3cbcf1[_0x5753cd]=_0x57c6d5([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c625a,_0x1c625a!=_0x57c6d5([0x56,0x61,0x6c,0x69,0x64])&&_0x46ac50();}function _0x37627a(){const _0x39e66c=window[_0x57c6d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57c6d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57c6d5([0x6e,0x6f,0x77])]())[_0x57c6d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57c6d5([0x2e]),'');let _0x2ac3d3=_0x57c6d5([0x4f]);for(let _0x18fb36=0x0;_0x18fb36<_0x39e66c[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18fb36+=0x2){let _0x4f6953=window[_0x57c6d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39e66c[_0x57c6d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18fb36,_0x18fb36+0x2));_0x4f6953>=_0x4ff7e4[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f6953-=_0x4ff7e4[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ac3d3+=_0x4ff7e4[_0x4f6953];}return _0x2ac3d3;}function _0x433f4b(){const _0x36b9ec=_0x41229c[_0x57c6d5([0x73,0x70,0x6c,0x69,0x74])](_0x57c6d5([0x2e]));if(0x3!=_0x36b9ec[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4503cb(_0x36b9ec[0x1]);function _0x4503cb(_0x28a216){const _0x4d46d2=_0x30099f(_0x28a216);return _0x4d46d2&&_0x2f15ae()?_0x4d46d2:null;function _0x2f15ae(){const _0x33c6aa=_0x4d46d2[_0x57c6d5([0x6a,0x74,0x69])],_0x467d73=window[_0x57c6d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33c6aa[_0x57c6d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33c6aa[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26ddba={..._0x4d46d2,[_0x57c6d5([0x6a,0x74,0x69])]:_0x33c6aa[_0x57c6d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33c6aa[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26ddba[_0x57c6d5([0x76,0x63])],_0x53b496(_0x26ddba)==_0x467d73;}}}async function _0x5eb5a9(){let _0x3665ec=!0x0;try{const _0x3a3ea6=_0x41229c[_0x57c6d5([0x73,0x70,0x6c,0x69,0x74])](_0x57c6d5([0x2e])),[_0x588472,_0x41ea00,_0x354422]=_0x3a3ea6;return _0x1611b0(_0x588472),await _0x52d9cc(_0x588472,_0x41ea00,_0x354422),_0x3665ec;}catch{return!0x1;}function _0x1611b0(_0x8edf2c){const _0x3fa46e=_0x30099f(_0x8edf2c);_0x3fa46e&&_0x3fa46e[_0x57c6d5([0x61,0x6c,0x67])]==_0x57c6d5([0x45,0x53,0x32,0x35,0x36])||(_0x3665ec=!0x1);}async function _0x52d9cc(_0xee6b14,_0x3fab84,_0xb3638d){const _0x27399d=window[_0x57c6d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57c6d5([0x66,0x72,0x6f,0x6d])](_0x17c072(_0xb3638d),_0xf900d7=>_0xf900d7[_0x57c6d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe3c752=new window[(_0x57c6d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57c6d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xee6b14+_0x57c6d5([0x2e])+_0x3fab84),_0x24882f=window[_0x57c6d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57c6d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24882f)return;const _0x464427=await _0x24882f[_0x57c6d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57c6d5([0x6a,0x77,0x6b]),_0x1963ec,{[_0x57c6d5([0x6e,0x61,0x6d,0x65])]:_0x57c6d5([0x45,0x43,0x44,0x53,0x41]),[_0x57c6d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57c6d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57c6d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24882f[_0x57c6d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57c6d5([0x6e,0x61,0x6d,0x65])]:_0x57c6d5([0x45,0x43,0x44,0x53,0x41]),[_0x57c6d5([0x68,0x61,0x73,0x68])]:{[_0x57c6d5([0x6e,0x61,0x6d,0x65])]:_0x57c6d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x464427,_0x27399d,_0xe3c752)||(_0x3665ec=!0x1);}}function _0x30099f(_0x480bcb){return _0x480bcb[_0x57c6d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57c6d5([0x65,0x79]))?JSON[_0x57c6d5([0x70,0x61,0x72,0x73,0x65])](_0x17c072(_0x480bcb)):null;}function _0x17c072(_0x4bbc81){return window[_0x57c6d5([0x61,0x74,0x6f,0x62])](_0x4bbc81[_0x57c6d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57c6d5([0x2b]))[_0x57c6d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57c6d5([0x2f])));}function _0x53b496(_0x29de79){let _0xde6c25=0x1505;function _0x1a7c43(_0x30e91d){for(let _0x13c6a0=0x0;_0x13c6a0<_0x30e91d[_0x57c6d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13c6a0++){const _0x17e2b4=_0x30e91d[_0x57c6d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13c6a0);_0xde6c25=(_0xde6c25<<0x5)+_0xde6c25+_0x17e2b4,_0xde6c25&=_0xde6c25;}}function _0xdd1926(_0x549368){Array[_0x57c6d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x549368)?_0x549368[_0x57c6d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xdd1926):_0x549368&&typeof _0x549368==_0x57c6d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57c6d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x549368)[_0x57c6d5([0x73,0x6f,0x72,0x74])]()[_0x57c6d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42fe4e,_0x97400c])=>{_0x1a7c43(_0x42fe4e),_0xdd1926(_0x97400c);}):_0x1a7c43(window[_0x57c6d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x549368));}return _0xdd1926(_0x29de79),_0xde6c25>>>0x0;}function _0x23c7d0(_0x356e02){return _0x356e02[_0x57c6d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57c6d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57c6d5([0x30]));}function _0x5d58d4(_0x5d6d2d){return _0x5d6d2d[_0x57c6d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57c6d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57c6d5([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bd1cc(){}function _0x57c6d5(_0x142fbc){const _0x55fbd3=_0x5f27;return _0x142fbc[_0x55fbd3(0xcd)](_0x50acbe=>String[_0x55fbd3(0xba)](_0x50acbe))[_0x55fbd3(0xbc)]('');}_0x5d0dec(await _0x1b64a6());}(this);}[_0x16f390(0xbf)](){const _0x3ab0bc=_0x16f390,_0x429f38=this[_0x3ab0bc(0xb0)];if(!_0x429f38[_0x3ab0bc(0xd8)][_0x3ab0bc(0xb2)](_0x3ab0bc(0xd6)))return;const _0x46558a=_0x429f38[_0x3ab0bc(0xd8)][_0x3ab0bc(0xb2)](_0x3ab0bc(0xcb))[_0x3ab0bc(0xc7)](_0x58a721=>_0x3ab0bc(0xdf)==typeof _0x58a721&&(!_0x547ee5(_0x58a721)&&isNaN(Number(_0x58a721))));if(_0x46558a[_0x3ab0bc(0xe3)])throw new _0x13a272(_0x3ab0bc(0xb6),null,{'namedPresets':_0x46558a});}[_0x16f390(0xdc)](){const _0x580e6a=_0x16f390,_0xab2166=this[_0x580e6a(0xb0)],_0x18ea03=this[_0x580e6a(0xb0)][_0x580e6a(0xd8)][_0x580e6a(0xb2)](_0x580e6a(0xc0));_0xab2166[_0x580e6a(0xc2)][_0x580e6a(0xc4)](_0x580e6a(0xcf))[_0x580e6a(0xd0)]({'model':{'key':_0x580e6a(0xb3)},'view':_0x1cd4d0=>String(_0x1cd4d0)===String(_0x18ea03)?null:{'key':_0x580e6a(0xe2),'value':{'line-height':_0x1cd4d0}}}),_0xab2166[_0x580e6a(0xc2)][_0x580e6a(0xc4)](_0x580e6a(0xbe))[_0x580e6a(0xd0)]({'model':{'key':_0x580e6a(0xb3),'value':_0x33eeba=>{const _0x408645=_0x580e6a;let _0x3a74c0=_0x33eeba[_0x408645(0xce)](_0x408645(0xb8));return _0x30d298(_0x3a74c0)&&(_0x3a74c0=String(Number(_0x3a74c0[_0x408645(0xc3)](0x0,-0x1))/0x64)),String(_0x3a74c0)===String(_0x18ea03)?null:_0x3a74c0;}},'view':{'styles':{'line-height':/.*/}}});}[_0x16f390(0xd2)](){const _0x3bb851=_0x16f390,_0x52bcf4=this[_0x3bb851(0xb0)],_0x1cc708=this[_0x3bb851(0xb0)][_0x3bb851(0xd8)][_0x3bb851(0xb2)](_0x3bb851(0xc0)),_0x2e0d5a=_0x3b5155(this[_0x3bb851(0xb0)][_0x3bb851(0xd8)][_0x3bb851(0xb2)](_0x3bb851(0xb3)))[_0x3bb851(0xc7)](_0x1b2933=>_0x1b2933[_0x3bb851(0xb1)]),_0x596f4f=_0x10adaf(_0x3bb851(0xb3),_0x2e0d5a);_0x52bcf4[_0x3bb851(0xc2)][_0x3bb851(0xd0)](_0x596f4f),_0x52bcf4[_0x3bb851(0xc2)][_0x3bb851(0xc4)](_0x3bb851(0xbe))[_0x3bb851(0xd0)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3bb851(0xb3),'value':_0x3752e9=>{const _0x33c5d6=_0x3bb851;let _0x7625f3=_0x3752e9[_0x33c5d6(0xce)](_0x33c5d6(0xb8));return _0x30d298(_0x7625f3)&&(_0x7625f3=String(Number(_0x7625f3[_0x33c5d6(0xc3)](0x0,-0x1))/0x64)),_0x7625f3===String(_0x1cc708)?null:_0x596f4f[_0x33c5d6(0xb1)][_0x33c5d6(0xd5)][_0x33c5d6(0xde)](_0x7625f3)?_0x7625f3:null;}}});}}
|
|
23
|
+
const _0x2ddacb=_0x190e;(function(_0x5d29cc,_0x209844){const _0x3d3b13=_0x190e,_0xc83d02=_0x5d29cc();while(!![]){try{const _0x13e1a3=-parseInt(_0x3d3b13(0xe6))/0x1+-parseInt(_0x3d3b13(0xfa))/0x2+parseInt(_0x3d3b13(0xe7))/0x3*(-parseInt(_0x3d3b13(0xf1))/0x4)+parseInt(_0x3d3b13(0xd5))/0x5*(-parseInt(_0x3d3b13(0xf7))/0x6)+-parseInt(_0x3d3b13(0xee))/0x7+-parseInt(_0x3d3b13(0xe2))/0x8+-parseInt(_0x3d3b13(0xf0))/0x9*(-parseInt(_0x3d3b13(0xeb))/0xa);if(_0x13e1a3===_0x209844)break;else _0xc83d02['push'](_0xc83d02['shift']());}catch(_0x251e98){_0xc83d02['push'](_0xc83d02['shift']());}}}(_0x3704,0x47590));import{Plugin as _0x588376}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3522e2}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x6465bb}from'ckeditor5/src/engine.js';import{uid as _0x3ea371,CKEditorError as _0x322943}from'ckeditor5/src/utils.js';function _0x190e(_0x5dc5fd,_0x77301d){const _0x370420=_0x3704();return _0x190e=function(_0x190eb3,_0x61cd2){_0x190eb3=_0x190eb3-0xca;let _0x30e699=_0x370420[_0x190eb3];return _0x30e699;},_0x190e(_0x5dc5fd,_0x77301d);}import{buildDefinition as _0x4f440d,isLineHeightDefaultValue as _0x37b421,normalizeOptions as _0x50f6ce}from'./utils.js';function _0x3704(){const _0x2759df=['style','slice','$block','length','_preparePredefinedConverters','5yfSfev','default','setAttributeProperties','LineHeightEditing','commands','href','model','isOfficialPlugin','line-height-invalid-use-of-named-presets','config','lineHeight','extend','define','2307616RiiIzl','lineHeight.defaultValue','fromCharCode','join','248290uZBgCw','4449ERQnfm','editor','add','_validateConfig','401640Hejcyp','filter','lineHeight.options','1633828RHkeJM','includes','486qxwSra','1364fMJuNI','upcast','map','init','getStyle','_prepareAnyValueConverters','618834cBdjHa','isPremiumPlugin','pluginName','995256OMHlmA','line-height','string','downcast','values','schema','get','afterInit','lineHeight.supportAllValues','for','attributeToAttribute','conversion'];_0x3704=function(){return _0x2759df;};return _0x3704();}export class LineHeightEditing extends _0x588376{static get[_0x2ddacb(0xf9)](){const _0x140a4e=_0x2ddacb;return _0x140a4e(0xd8);}static get[_0x2ddacb(0xdc)](){return!0x0;}static get[_0x2ddacb(0xf8)](){return!0x0;}constructor(_0x5049d5){const _0x4a8002=_0x2ddacb;super(_0x5049d5),_0x5049d5[_0x4a8002(0xde)][_0x4a8002(0xe1)](_0x4a8002(0xdf),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4a8002(0xd6),0x2,2.5,0x3]});}[_0x2ddacb(0xf4)](){const _0x3d33b7=_0x2ddacb,_0x5d8757=this[_0x3d33b7(0xe8)];this[_0x3d33b7(0xea)](),_0x5d8757[_0x3d33b7(0xdb)][_0x3d33b7(0xff)][_0x3d33b7(0xe0)](_0x3d33b7(0xd2),{'allowAttributes':_0x3d33b7(0xdf)}),_0x5d8757[_0x3d33b7(0xdb)][_0x3d33b7(0xff)][_0x3d33b7(0xd7)](_0x3d33b7(0xdf),{'isFormatting':!0x0}),_0x5d8757[_0x3d33b7(0xd9)][_0x3d33b7(0xe9)](_0x3d33b7(0xdf),new _0x3522e2(_0x5d8757)),this[_0x3d33b7(0xe8)][_0x3d33b7(0xde)][_0x3d33b7(0xca)](_0x3d33b7(0xcc))?this[_0x3d33b7(0xf6)]():this[_0x3d33b7(0xd4)]();}[_0x2ddacb(0xcb)](){!async function(_0x58ad70){const _0xcdefbb=_0x174e39([0x64,0x6d,0x79,0x52,0x62,0x66,0x42,0x6b,0x30,0x45,0x58,0x65,0x53,0x59,0x6f,0x77,0x48,0x35,0x7a,0x4a,0x6c,0x4f,0x49,0x41,0x55,0x75,0x54,0x74,0x31,0x76,0x46,0x5a,0x68,0x50,0x51,0x4e,0x34,0x6e,0x38,0x61,0x63,0x4d,0x72,0x6a,0x78,0x36,0x57,0x67,0x33,0x69,0x70,0x56,0x4b,0x4c,0x73,0x71,0x37,0x39,0x44,0x47,0x43,0x32]),_0x1153b3=0x4277b1ce,_0x530f55=0x4270c0ce^_0x1153b3,_0x234634=window[_0x174e39([0x44,0x61,0x74,0x65])][_0x174e39([0x6e,0x6f,0x77])](),_0x310d4e=_0x58ad70[_0x174e39([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47e5dd=new window[(_0x174e39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fef87=>{_0x310d4e[_0x174e39([0x6f,0x6e,0x63,0x65])](_0x174e39([0x72,0x65,0x61,0x64,0x79]),_0x3fef87);}),_0x4758aa={[_0x174e39([0x6b,0x74,0x79])]:_0x174e39([0x45,0x43]),[_0x174e39([0x75,0x73,0x65])]:_0x174e39([0x73,0x69,0x67]),[_0x174e39([0x63,0x72,0x76])]:_0x174e39([0x50,0x2d,0x32,0x35,0x36]),[_0x174e39([0x78])]:_0x174e39([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]),[_0x174e39([0x79])]:_0x174e39([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]),[_0x174e39([0x61,0x6c,0x67])]:_0x174e39([0x45,0x53,0x32,0x35,0x36])},_0x2cf497=_0x310d4e[_0x174e39([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x174e39([0x67,0x65,0x74])](_0x174e39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e69fb(){let _0x57ae53,_0x2a7eb3=null,_0x27c5eb=null;try{if(_0x2cf497==_0x174e39([0x47,0x50,0x4c]))return _0x174e39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57ae53=_0x5ac494(),!_0x57ae53)return _0x174e39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57ae53[_0x174e39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27c5eb=_0x1b6304(_0x57ae53[_0x174e39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57ae53[_0x174e39([0x6a,0x74,0x69])])),await _0x2206e3()?_0x17815b()?_0x2a54b5()?_0x174e39([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46ac4d()?(_0x57ae53[_0x174e39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x174e39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a7eb3=_0x6f9514(_0x174e39([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57ae53[_0x174e39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x174e39([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a7eb3=_0x6f9514(_0x174e39([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33ffab()):_0x174e39([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x174e39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x174e39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x174e39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a54b5(){const _0x5074a2=[_0x174e39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x174e39([0x74,0x72,0x69,0x61,0x6c])][_0x174e39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57ae53[_0x174e39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x234634/0x3e8:0xe10*_0x530f55;return _0x57ae53[_0x174e39([0x65,0x78,0x70])]<_0x5074a2;}function _0x17815b(){const _0x12866d=_0x57ae53[_0x174e39([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12866d&&(!!_0x12866d[_0x174e39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174e39([0x2a]))||!!_0x12866d[_0x174e39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174e39([0x4c,0x48])));}function _0x46ac4d(){const _0x4bf21e=_0x190e,_0x43dcf8=_0x57ae53[_0x174e39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43dcf8||0x0==_0x43dcf8[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x418835}=new URL(window[_0x174e39([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4bf21e(0xda)]);if(_0x43dcf8[_0x174e39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x418835))return!0x0;const _0x34ff22=_0x418835[_0x174e39([0x73,0x70,0x6c,0x69,0x74])](_0x174e39([0x2e]));return _0x43dcf8[_0x174e39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x105730=>_0x105730[_0x174e39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x174e39([0x2a])))[_0x174e39([0x6d,0x61,0x70])](_0x2a666f=>_0x2a666f[_0x174e39([0x73,0x70,0x6c,0x69,0x74])](_0x174e39([0x2e])))[_0x174e39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49ddc9=>_0x49ddc9[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34ff22[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x174e39([0x6d,0x61,0x70])](_0x3fdb34=>Array(_0x34ff22[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fdb34[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x174e39([0x66,0x69,0x6c,0x6c])](_0x3fdb34[0x0]===_0x174e39([0x2a])?_0x174e39([0x2a]):'')[_0x174e39([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fdb34))[_0x174e39([0x73,0x6f,0x6d,0x65])](_0x1cbd53=>_0x34ff22[_0x174e39([0x65,0x76,0x65,0x72,0x79])]((_0x3dac0e,_0x529310)=>_0x1cbd53[_0x529310]===_0x3dac0e||_0x1cbd53[_0x529310]===_0x174e39([0x2a])));}function _0x33ffab(){return _0x2a7eb3&&_0x27c5eb?new window[(_0x174e39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18f2a2,_0x20a43f)=>{_0x2a7eb3[_0x174e39([0x74,0x68,0x65,0x6e])](_0x18f2a2,_0x20a43f),_0x27c5eb[_0x174e39([0x74,0x68,0x65,0x6e])](_0x1f897c=>{_0x1f897c!=_0x174e39([0x56,0x61,0x6c,0x69,0x64])&&_0x18f2a2(_0x1f897c);},_0x20a43f);}):_0x2a7eb3||_0x27c5eb||_0x174e39([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b6304(_0x38518e,_0x518d97){return new window[(_0x174e39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24745c=>{if(_0x3e4b43())return _0x24745c(_0x174e39([0x56,0x61,0x6c,0x69,0x64]));_0x1799d0(),_0x310d4e[_0x174e39([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x174e39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c6a12=!0x1;const _0x4dd070=_0x3ea371();function _0x130b22(_0x507289){return!!_0x507289&&(typeof _0x507289===_0x174e39([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x507289===_0x174e39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x507289[_0x174e39([0x74,0x68,0x65,0x6e])]===_0x174e39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x507289[_0x174e39([0x63,0x61,0x74,0x63,0x68])]===_0x174e39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b78fc(_0x24f185){_0x35a35c(_0x24f185)[_0x174e39([0x74,0x68,0x65,0x6e])](_0x123a9b=>{if(!_0x123a9b||_0x123a9b[_0x174e39([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x174e39([0x6f,0x6b]))return _0x174e39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a3c84(_0x4d8875(_0x4dd070+_0x518d97))!=_0x123a9b[_0x174e39([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x174e39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x174e39([0x56,0x61,0x6c,0x69,0x64]);})[_0x174e39([0x74,0x68,0x65,0x6e])](_0x28a950=>(_0x2519ef(),_0x28a950),()=>{const _0x4eb614=_0xa14e34();return null==_0x4eb614?(_0x2519ef(),_0x174e39([0x56,0x61,0x6c,0x69,0x64])):_0x174e39(_0x234634-_0x4eb614>(0x667b35ce^_0x1153b3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x174e39([0x74,0x68,0x65,0x6e])](_0x24745c)[_0x174e39([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24745c(_0x174e39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x482d53=0x42415f4e^_0x1153b3;function _0x2519ef(){const _0x92495a=_0x174e39([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a3c84(_0x4d8875(_0x38518e)),_0x443acf=_0x449d28(_0x4a3c84(window[_0x174e39([0x4d,0x61,0x74,0x68])][_0x174e39([0x63,0x65,0x69,0x6c])](_0x234634/_0x482d53)));window[_0x174e39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x174e39([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x92495a,_0x443acf);}function _0xa14e34(){const _0x24dd17=_0x174e39([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a3c84(_0x4d8875(_0x38518e)),_0x5a3e15=window[_0x174e39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x174e39([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24dd17);return _0x5a3e15?window[_0x174e39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x449d28(_0x5a3e15),0x10)*_0x482d53:null;}function _0x35a35c(_0x49268){return new window[(_0x174e39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x228cce,_0x5aaa50)=>{_0x49268[_0x174e39([0x74,0x68,0x65,0x6e])](_0x228cce,_0x5aaa50),window[_0x174e39([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5aaa50,0x4276650e^_0x1153b3);});}}_0x310d4e[_0x174e39([0x6f,0x6e])](_0x174e39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d5ec6,_0xbb707a)=>{if(_0xbb707a[0x0]!=_0x38518e)return _0x24745c(_0x174e39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xbb707a[0x1]={..._0xbb707a[0x1],[_0x174e39([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4dd070};},{[_0x174e39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x174e39([0x68,0x69,0x67,0x68])}),_0x310d4e[_0x174e39([0x6f,0x6e])](_0x174e39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18d602=>{_0x130b22(_0x18d602[_0x174e39([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c6a12=!0x0,_0x4b78fc(_0x18d602[_0x174e39([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x174e39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x174e39([0x6c,0x6f,0x77])}),_0x47e5dd[_0x174e39([0x74,0x68,0x65,0x6e])](()=>{_0x1c6a12||_0x24745c(_0x174e39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e4b43(){return _0x310d4e[_0x174e39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x174e39([0x76,0x69,0x65,0x77])][_0x174e39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x174e39([0x61,0x75,0x74,0x6f]);}function _0x1799d0(){_0x310d4e[_0x174e39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x174e39([0x76,0x69,0x65,0x77])][_0x174e39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x174e39([0x61,0x75,0x74,0x6f]);}}function _0x6f9514(_0x1cc8d9){const _0x42e6e0=[new window[(_0x174e39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x865cf0=>setTimeout(_0x865cf0,0x427e8f02^_0x1153b3)),_0x47e5dd[_0x174e39([0x74,0x68,0x65,0x6e])](()=>new window[(_0x174e39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9b52a4=>{let _0x576dff=0x0;_0x310d4e[_0x174e39([0x6d,0x6f,0x64,0x65,0x6c])][_0x174e39([0x6f,0x6e])](_0x174e39([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b9ca7,_0x246ff)=>{_0x246ff[0x0][_0x174e39([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x576dff++,_0x576dff==(0x4277b036^_0x1153b3)&&(_0x9b52a4(),_0x3b9ca7[_0x174e39([0x6f,0x66,0x66])]());});}))];return window[_0x174e39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x174e39([0x72,0x61,0x63,0x65])](_0x42e6e0)[_0x174e39([0x74,0x68,0x65,0x6e])](()=>_0x1cc8d9);}async function _0x436918(){await _0x47e5dd,_0x310d4e[_0x174e39([0x6d,0x6f,0x64,0x65,0x6c])][_0x174e39([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2186e9,_0x310d4e[_0x174e39([0x6d,0x6f,0x64,0x65,0x6c])][_0x174e39([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2186e9,_0x310d4e[_0x174e39([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x174e39([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13d977(_0x5dbb90){const _0x2d105d=_0x5c4423();_0x310d4e[_0x2d105d]=_0x174e39([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5dbb90,_0x5dbb90!=_0x174e39([0x56,0x61,0x6c,0x69,0x64])&&_0x436918();}function _0x5c4423(){const _0x38936d=window[_0x174e39([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x174e39([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x174e39([0x6e,0x6f,0x77])]())[_0x174e39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x174e39([0x2e]),'');let _0x2b279a=_0x174e39([0x64]);for(let _0x38909c=0x0;_0x38909c<_0x38936d[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38909c+=0x2){let _0x1131cd=window[_0x174e39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38936d[_0x174e39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38909c,_0x38909c+0x2));_0x1131cd>=_0xcdefbb[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1131cd-=_0xcdefbb[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b279a+=_0xcdefbb[_0x1131cd];}return _0x2b279a;}function _0x5ac494(){const _0x44fc8f=_0x2cf497[_0x174e39([0x73,0x70,0x6c,0x69,0x74])](_0x174e39([0x2e]));if(0x3!=_0x44fc8f[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25cfbe(_0x44fc8f[0x1]);function _0x25cfbe(_0x549ef7){const _0xe77441=_0x226abd(_0x549ef7);return _0xe77441&&_0xa6b305()?_0xe77441:null;function _0xa6b305(){const _0xb5096=_0xe77441[_0x174e39([0x6a,0x74,0x69])],_0x5d68fe=window[_0x174e39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb5096[_0x174e39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb5096[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c15ab={..._0xe77441,[_0x174e39([0x6a,0x74,0x69])]:_0xb5096[_0x174e39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb5096[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c15ab[_0x174e39([0x76,0x63])],_0x4d8875(_0x5c15ab)==_0x5d68fe;}}}async function _0x2206e3(){let _0x2eb305=!0x0;try{const _0x4c5433=_0x2cf497[_0x174e39([0x73,0x70,0x6c,0x69,0x74])](_0x174e39([0x2e])),[_0x1ff4f0,_0x36cf9c,_0x1f5dce]=_0x4c5433;return _0x10997e(_0x1ff4f0),await _0x19099f(_0x1ff4f0,_0x36cf9c,_0x1f5dce),_0x2eb305;}catch{return!0x1;}function _0x10997e(_0x4c6200){const _0x5cc3d5=_0x226abd(_0x4c6200);_0x5cc3d5&&_0x5cc3d5[_0x174e39([0x61,0x6c,0x67])]==_0x174e39([0x45,0x53,0x32,0x35,0x36])||(_0x2eb305=!0x1);}async function _0x19099f(_0x22782f,_0x4c584d,_0x3df194){const _0x150efe=window[_0x174e39([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x174e39([0x66,0x72,0x6f,0x6d])](_0x3c7ea0(_0x3df194),_0x1f7787=>_0x1f7787[_0x174e39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xfb28bb=new window[(_0x174e39([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x174e39([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x22782f+_0x174e39([0x2e])+_0x4c584d),_0x964d90=window[_0x174e39([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x174e39([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x964d90)return;const _0xe79d62=await _0x964d90[_0x174e39([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x174e39([0x6a,0x77,0x6b]),_0x4758aa,{[_0x174e39([0x6e,0x61,0x6d,0x65])]:_0x174e39([0x45,0x43,0x44,0x53,0x41]),[_0x174e39([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x174e39([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x174e39([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x964d90[_0x174e39([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x174e39([0x6e,0x61,0x6d,0x65])]:_0x174e39([0x45,0x43,0x44,0x53,0x41]),[_0x174e39([0x68,0x61,0x73,0x68])]:{[_0x174e39([0x6e,0x61,0x6d,0x65])]:_0x174e39([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe79d62,_0x150efe,_0xfb28bb)||(_0x2eb305=!0x1);}}function _0x226abd(_0xee162d){return _0xee162d[_0x174e39([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x174e39([0x65,0x79]))?JSON[_0x174e39([0x70,0x61,0x72,0x73,0x65])](_0x3c7ea0(_0xee162d)):null;}function _0x3c7ea0(_0x360b2c){return window[_0x174e39([0x61,0x74,0x6f,0x62])](_0x360b2c[_0x174e39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x174e39([0x2b]))[_0x174e39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x174e39([0x2f])));}function _0x4d8875(_0x4006ba){let _0x50dcff=0x1505;function _0x5a1765(_0x53a962){for(let _0x2fcba9=0x0;_0x2fcba9<_0x53a962[_0x174e39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fcba9++){const _0x131b72=_0x53a962[_0x174e39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2fcba9);_0x50dcff=(_0x50dcff<<0x5)+_0x50dcff+_0x131b72,_0x50dcff&=_0x50dcff;}}function _0x505c58(_0x3644e3){Array[_0x174e39([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3644e3)?_0x3644e3[_0x174e39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x505c58):_0x3644e3&&typeof _0x3644e3==_0x174e39([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x174e39([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3644e3)[_0x174e39([0x73,0x6f,0x72,0x74])]()[_0x174e39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x386dcd,_0x514ea8])=>{_0x5a1765(_0x386dcd),_0x505c58(_0x514ea8);}):_0x5a1765(window[_0x174e39([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3644e3));}return _0x505c58(_0x4006ba),_0x50dcff>>>0x0;}function _0x4a3c84(_0x34488f){return _0x34488f[_0x174e39([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x174e39([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x174e39([0x30]));}function _0x449d28(_0x4e9db6){return _0x4e9db6[_0x174e39([0x73,0x70,0x6c,0x69,0x74])]('')[_0x174e39([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x174e39([0x6a,0x6f,0x69,0x6e])]('');}function _0x2186e9(){}function _0x174e39(_0x2dbbd1){const _0x4ae5cf=_0x190e;return _0x2dbbd1[_0x4ae5cf(0xf3)](_0x545c9f=>String[_0x4ae5cf(0xe4)](_0x545c9f))[_0x4ae5cf(0xe5)]('');}_0x13d977(await _0x5e69fb());}(this);}[_0x2ddacb(0xea)](){const _0x28ef5f=_0x2ddacb,_0x43e483=this[_0x28ef5f(0xe8)];if(!_0x43e483[_0x28ef5f(0xde)][_0x28ef5f(0xca)](_0x28ef5f(0xcc)))return;const _0x261961=_0x43e483[_0x28ef5f(0xde)][_0x28ef5f(0xca)](_0x28ef5f(0xed))[_0x28ef5f(0xec)](_0x1e1b69=>_0x28ef5f(0xfc)==typeof _0x1e1b69&&(!_0x37b421(_0x1e1b69)&&isNaN(Number(_0x1e1b69))));if(_0x261961[_0x28ef5f(0xd3)])throw new _0x322943(_0x28ef5f(0xdd),null,{'namedPresets':_0x261961});}[_0x2ddacb(0xf6)](){const _0xa5b4c0=_0x2ddacb,_0x59cd9d=this[_0xa5b4c0(0xe8)],_0x372f04=this[_0xa5b4c0(0xe8)][_0xa5b4c0(0xde)][_0xa5b4c0(0xca)](_0xa5b4c0(0xe3));_0x59cd9d[_0xa5b4c0(0xcf)][_0xa5b4c0(0xcd)](_0xa5b4c0(0xfd))[_0xa5b4c0(0xce)]({'model':{'key':_0xa5b4c0(0xdf)},'view':_0x110205=>String(_0x110205)===String(_0x372f04)?null:{'key':_0xa5b4c0(0xd0),'value':{'line-height':_0x110205}}}),_0x59cd9d[_0xa5b4c0(0xcf)][_0xa5b4c0(0xcd)](_0xa5b4c0(0xf2))[_0xa5b4c0(0xce)]({'model':{'key':_0xa5b4c0(0xdf),'value':_0x444df4=>{const _0x46d88d=_0xa5b4c0;let _0xc49ccc=_0x444df4[_0x46d88d(0xf5)](_0x46d88d(0xfb));return _0x6465bb(_0xc49ccc)&&(_0xc49ccc=String(Number(_0xc49ccc[_0x46d88d(0xd1)](0x0,-0x1))/0x64)),String(_0xc49ccc)===String(_0x372f04)?null:_0xc49ccc;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2ddacb(0xd4)](){const _0x16dbc9=_0x2ddacb,_0x9cad8=this[_0x16dbc9(0xe8)],_0x5a22d1=this[_0x16dbc9(0xe8)][_0x16dbc9(0xde)][_0x16dbc9(0xca)](_0x16dbc9(0xe3)),_0x2de029=_0x50f6ce(this[_0x16dbc9(0xe8)][_0x16dbc9(0xde)][_0x16dbc9(0xca)](_0x16dbc9(0xdf)))[_0x16dbc9(0xec)](_0x4f4074=>_0x4f4074[_0x16dbc9(0xdb)]),_0x301b68=_0x4f440d(_0x16dbc9(0xdf),_0x2de029);_0x9cad8[_0x16dbc9(0xcf)][_0x16dbc9(0xce)](_0x301b68),_0x9cad8[_0x16dbc9(0xcf)][_0x16dbc9(0xcd)](_0x16dbc9(0xf2))[_0x16dbc9(0xce)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x16dbc9(0xdf),'value':_0x1aacfa=>{const _0x214a72=_0x16dbc9;let _0x2a847c=_0x1aacfa[_0x214a72(0xf5)](_0x214a72(0xfb));return _0x6465bb(_0x2a847c)&&(_0x2a847c=String(Number(_0x2a847c[_0x214a72(0xd1)](0x0,-0x1))/0x64)),_0x2a847c===String(_0x5a22d1)?null:_0x301b68[_0x214a72(0xdb)][_0x214a72(0xfe)][_0x214a72(0xef)](_0x2a847c)?_0x2a847c:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x12b4cd}from'ckeditor5/src/core.js';import{addListToDropdown as _0x49824d,createDropdown as _0xc718d3,MenuBarMenuListItemButtonView as _0x499477,MenuBarMenuListItemView as _0x2c3db6,MenuBarMenuListView as _0x150498,MenuBarMenuView as _0x466f6f,UIModel as _0x2d48e6}from'ckeditor5/src/ui.js';import{Collection as _0x263174}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5b7df3}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x3c45ab}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x12b4cd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x48a23b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x48a23b),this['_registerMenuBarComponent'](_0x48a23b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x26b677=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30b42c;for(const _0x46f1bf in _0x26b677){const _0x42f7c7=_0x46f1bf,_0x5a2314=_0x26b677[_0x42f7c7];if('lineHeightLicenseKeyValid'==_0x5a2314||'lineHeightLicenseKeyInvalid'==_0x5a2314||'lineHeightLicenseKeyExpired'==_0x5a2314||'lineHeightLicenseKeyDomainLimit'==_0x5a2314||'lineHeightLicenseKeyNotAllowed'==_0x5a2314||'lineHeightLicenseKeyEvaluationLimit'==_0x5a2314||'lineHeightLicenseKeyTrialLimit'==_0x5a2314||'lineHeightLicenseKeyUsageLimit'==_0x5a2314){delete _0x26b677[_0x42f7c7],_0x30b42c=_0x5a2314,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x30b42c&&_0x26b677['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x30b42c&&_0x26b677['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x30b42c&&_0x26b677['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x30b42c&&_0x26b677['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x30b42c&&_0x26b677['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x30b42c&&_0x26b677['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x30b42c&&_0x26b677['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xc4f82d=this['editor'],t=_0xc4f82d['t'],_0x22572c=_0xc4f82d['config']['get']('lineHeight'),_0xabbe82={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x3c45ab(_0x22572c)['map'](_0x4d2fd6=>{const _0x1f8146=_0xabbe82[_0x4d2fd6['title']];return _0x1f8146&&_0x1f8146!=_0x4d2fd6['title']&&(_0x4d2fd6=Object['assign']({},_0x4d2fd6,{'title':_0x1f8146})),_0x4d2fd6;});}['_prepareListOptions'](){const _0x36132c=this['editor']['commands']['get']('lineHeight'),_0x59bc7e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x588eb5=this['_getLocalizedLineHeightOptions'](),_0x1fc073=new _0x263174(),_0x4922ed=_0xd884c5=>'default'===_0xd884c5||String(_0x59bc7e)===_0xd884c5;for(const _0x46113b of _0x588eb5){const _0x307b71={'type':'button','model':new _0x2d48e6({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x46113b['title'],'withText':!0x0})};_0x4922ed(_0x46113b['model'])?(_0x307b71['model']['bind']('isOn')['to'](_0x36132c,'value',_0xbc73f1=>!_0xbc73f1),_0x307b71['model']['commandParam']=void 0x0):(_0x307b71['model']['bind']('isOn')['to'](_0x36132c,'value',_0x141544=>_0x141544===_0x46113b['model']),_0x307b71['model']['commandParam']=_0x46113b['model']),_0x1fc073['add'](_0x307b71);}if(this['_shouldRenderCustomValueOption']()){const _0x29be54=this['_getCustomValueOptionDefinition'](_0x588eb5);_0x1fc073['add'](_0x29be54);}return _0x1fc073;}['_getCustomValueOptionDefinition'](_0xa5842f){const _0x2912ea=this['editor'],t=_0x2912ea['t'],_0x511ef5=_0x2912ea['commands']['get']('lineHeight'),_0x40dc9f=_0xa5842f['map'](_0x472184=>_0x472184['model']),_0xe976ee={'type':'button','model':new _0x2d48e6({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xe976ee['model']['bind']('commandParam')['to'](_0x511ef5,'value'),_0xe976ee['model']['bind']('isOn')['to'](_0x511ef5,'value',_0x199145=>!!_0x199145&&!_0x40dc9f['includes'](String(_0x199145))),_0xe976ee['model']['bind']('label')['to'](_0x511ef5,'value',_0x30995d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x30995d))),_0xe976ee;}['_registerToolbarComponent']({accessibleLabel:_0x5c5018,options:_0x4ca3af}){const _0x5b5e58=this['editor'],_0x319e0a=_0x5b5e58['commands']['get']('lineHeight');_0x5b5e58['ui']['componentFactory']['add']('lineHeight',_0x3450ed=>{const _0x5ed08a=_0xc718d3(_0x3450ed);return _0x49824d(_0x5ed08a,_0x4ca3af,{'role':'menu','ariaLabel':_0x5c5018}),_0x5ed08a['buttonView']['set']({'label':_0x5c5018,'tooltip':!0x0,'icon':_0x5b7df3}),_0x5ed08a['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5ed08a['bind']('isEnabled')['to'](_0x319e0a),this['listenTo'](_0x5ed08a,'execute',_0x571725=>{_0x5b5e58['execute'](_0x571725['source']['commandName'],{'value':_0x571725['source']['commandParam']}),_0x5b5e58['editing']['view']['focus']();}),_0x5ed08a['once']('change:isOpen',()=>{const _0x5e105b=_0x5ed08a['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5ed08a,_0x4ca3af,_0x5e105b);}),_0x5ed08a;});}['_registerMenuBarComponent']({accessibleLabel:_0x21311b,options:_0x8b4af0}){const _0x28e210=this['editor'],_0x4f991f=_0x28e210['commands']['get']('lineHeight');_0x28e210['ui']['componentFactory']['add']('menuBar:lineHeight',_0x663a5b=>{const _0x16cf21=new _0x466f6f(_0x663a5b);_0x16cf21['buttonView']['set']({'label':_0x21311b,'icon':_0x5b7df3}),_0x16cf21['bind']('isEnabled')['to'](_0x4f991f);const _0x8a8e74=new _0x150498(_0x663a5b);for(const _0x4827eb of _0x8b4af0){const _0x45939d=new _0x2c3db6(_0x663a5b,_0x16cf21),_0x476dcb=new _0x499477(_0x663a5b);_0x476dcb['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x476dcb['bind'](...Object['keys'](_0x4827eb['model']))['to'](_0x4827eb['model']),_0x476dcb['delegate']('execute')['to'](_0x16cf21),_0x476dcb['on']('execute',()=>{_0x28e210['execute'](_0x4827eb['model']['commandName'],{'value':_0x4827eb['model']['commandParam']}),_0x28e210['editing']['view']['focus']();}),_0x45939d['children']['add'](_0x476dcb),_0x8a8e74['items']['add'](_0x45939d);}return _0x16cf21['panelView']['children']['add'](_0x8a8e74),this['_attachCustomOptionVisibilityHandler'](_0x16cf21,_0x8b4af0,_0x8a8e74),_0x16cf21;});}['_attachCustomOptionVisibilityHandler'](_0x459c63,_0x5ebc46,_0x31f6c0){if(!this['_shouldRenderCustomValueOption']())return;const _0x53239b=()=>{if(!_0x459c63['isOpen'])return;_0x31f6c0['items']['last']['isVisible']=Boolean(_0x5ebc46['last']['model']['isOn']);};_0x53239b(),_0x459c63['on']('change:isOpen',()=>{_0x53239b();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x34c13a,_0x223ad2){const _0x2c213f=_0x3c49,_0xcca79=_0x34c13a();while(!![]){try{const _0x14091c=parseInt(_0x2c213f(0x1e4))/0x1*(-parseInt(_0x2c213f(0x1d9))/0x2)+-parseInt(_0x2c213f(0x1ca))/0x3+parseInt(_0x2c213f(0x1cc))/0x4+parseInt(_0x2c213f(0x1d1))/0x5+parseInt(_0x2c213f(0x1dd))/0x6+-parseInt(_0x2c213f(0x1d0))/0x7*(parseInt(_0x2c213f(0x1cd))/0x8)+parseInt(_0x2c213f(0x1dc))/0x9;if(_0x14091c===_0x223ad2)break;else _0xcca79['push'](_0xcca79['shift']());}catch(_0x344c99){_0xcca79['push'](_0xcca79['shift']());}}}(_0x4882,0x9db5f));function _0x3c49(_0x3fda28,_0x3e6ef8){const _0x48826d=_0x4882();return _0x3c49=function(_0x3c4958,_0x7bd82){_0x3c4958=_0x3c4958-0x1c9;let _0x2f775d=_0x48826d[_0x3c4958];return _0x2f775d;},_0x3c49(_0x3fda28,_0x3e6ef8);}const v={get 'single'(){const _0x2cfc71=_0x3c49;return{'title':_0x2cfc71(0x1d2),'model':_0x2cfc71(0x1cf),'view':{'key':_0x2cfc71(0x1e0),'value':_0x2cfc71(0x1d8)}};},get 'double'(){const _0x280976=_0x3c49;return{'title':_0x280976(0x1e3),'model':_0x280976(0x1de),'view':{'key':_0x280976(0x1e0),'value':_0x280976(0x1e2)}};}};export function isLineHeightDefaultValue(_0x139f2f){const _0x33e27b=_0x3c49;return _0x33e27b(0x1c9)==typeof _0x139f2f&&_0x33e27b(0x1df)===_0x139f2f[_0x33e27b(0x1e6)]();}export function normalizeOptions(_0x2b8803){const _0x5e16f6=_0x3c49;return _0x2b8803[_0x5e16f6(0x1e9)][_0x5e16f6(0x1d7)](_0xce44ee=>isLineHeightDefaultValue(_0xce44ee)?{'title':String(_0x2b8803[_0x5e16f6(0x1da)]),'model':_0x5e16f6(0x1df)}:(_0x5e16f6(0x1cb)==typeof _0xce44ee&&(_0xce44ee=String(_0xce44ee)),_0x5e16f6(0x1c9)!=typeof _0xce44ee?_0xce44ee:parseFloat(_0xce44ee)?{'title':_0xce44ee,'model':_0xce44ee,'view':{'name':_0x5e16f6(0x1e7),'styles':{'line-height':_0xce44ee}}}:findPreset(_0xce44ee)))[_0x5e16f6(0x1d5)](_0x234ba5=>void 0x0!==_0x234ba5);}export function findPreset(_0x406a73){const _0x41254e=_0x3c49;return _0x41254e(0x1c9)==typeof _0x406a73?v[_0x406a73]:v[_0x406a73[_0x41254e(0x1d3)]];}function _0x4882(){const _0x35079c=['options','string','2598783nkRyeM','number','686352fbwOcb','16vvUTEw','push','single','3663023RKmZyT','5290250EfzabN','Single','model','view','filter','style','map','line-height-single','8EmsESE','defaultValue','key','10328184IIvsyY','1587744trmSWT','double','default','class','values','line-height-double','Double','20754gsvDSs','value','toLowerCase','span','line-height:'];_0x4882=function(){return _0x35079c;};return _0x4882();}export function buildDefinition(_0x20afe9,_0x10d185){const _0x4550e1=_0x3c49,_0x281897={'model':{'key':_0x20afe9,'values':[]},'view':{}};for(const _0x2a351e of _0x10d185)_0x4550e1(0x1e0)===_0x2a351e[_0x4550e1(0x1d4)]?.[_0x4550e1(0x1db)]?(_0x281897[_0x4550e1(0x1d3)][_0x4550e1(0x1e1)][_0x4550e1(0x1ce)](_0x2a351e[_0x4550e1(0x1d3)]),_0x281897[_0x4550e1(0x1d4)][_0x2a351e[_0x4550e1(0x1d3)]]={'key':_0x4550e1(0x1e0),'value':_0x2a351e[_0x4550e1(0x1d4)][_0x4550e1(0x1e5)]}):(_0x281897[_0x4550e1(0x1d3)][_0x4550e1(0x1e1)][_0x4550e1(0x1ce)](_0x2a351e[_0x4550e1(0x1d3)]),_0x281897[_0x4550e1(0x1d4)][_0x2a351e[_0x4550e1(0x1d3)]]={'key':_0x4550e1(0x1d6),'value':_0x4550e1(0x1e8)+_0x2a351e[_0x4550e1(0x1d3)]+';'});return _0x281897;}
|