@ckeditor/ckeditor5-line-height 47.2.0-alpha.1 → 47.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1935(_0x14a6ad,_0x259300){const _0x4eabfd=_0x4eab();return _0x1935=function(_0x193577,_0x89202f){_0x193577=_0x193577-0x154;let _0x3cd781=_0x4eabfd[_0x193577];return _0x3cd781;},_0x1935(_0x14a6ad,_0x259300);}const _0x35150c=_0x1935;(function(_0x3dcd5d,_0x5aa6bd){const _0x1a3c88=_0x1935,_0x466a47=_0x3dcd5d();while(!![]){try{const _0x53ecc9=parseInt(_0x1a3c88(0x15c))/0x1*(-parseInt(_0x1a3c88(0x169))/0x2)+-parseInt(_0x1a3c88(0x16e))/0x3*(-parseInt(_0x1a3c88(0x170))/0x4)+parseInt(_0x1a3c88(0x15a))/0x5+parseInt(_0x1a3c88(0x166))/0x6+-parseInt(_0x1a3c88(0x167))/0x7+parseInt(_0x1a3c88(0x16c))/0x8+-parseInt(_0x1a3c88(0x163))/0x9*(parseInt(_0x1a3c88(0x15b))/0xa);if(_0x53ecc9===_0x5aa6bd)break;else _0x466a47['push'](_0x466a47['shift']());}catch(_0x3bdd20){_0x466a47['push'](_0x466a47['shift']());}}}(_0x4eab,0xc408a));import{Command as _0x5c1719}from'ckeditor5/src/core.js';function _0x4eab(){const _0x5691ff=['lineHeight','execute','change','315243lKmMfG','getSelectedBlocks','checkAttribute','5105610xAMdwT','5674578ZQNmTd','editor','2778FUDKgy','setAttribute','value','8870456bwPkqd','filter','3xRWTQO','document','327892FLisbE','from','model','getAttribute','refresh','selection','schema','5702490QLdKdz','290ysysfu','398TrVmfo','removeAttribute','isEnabled','_canHaveLineHeight'];_0x4eab=function(){return _0x5691ff;};return _0x4eab();}import{first as _0x1fe2e7}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5c1719{[_0x35150c(0x157)](){const _0x4b0bb1=_0x35150c,_0x65b211=this[_0x4b0bb1(0x168)][_0x4b0bb1(0x155)][_0x4b0bb1(0x16f)],_0x3c44ce=_0x1fe2e7(_0x65b211[_0x4b0bb1(0x158)][_0x4b0bb1(0x164)]());this[_0x4b0bb1(0x15e)]=Boolean(_0x3c44ce)&&this[_0x4b0bb1(0x15f)](_0x3c44ce),this[_0x4b0bb1(0x16b)]=this[_0x4b0bb1(0x15e)]&&_0x3c44ce[_0x4b0bb1(0x156)](_0x4b0bb1(0x160));}[_0x35150c(0x161)](_0x22294d={}){const _0x20e4c1=_0x35150c,_0x5d2732=this[_0x20e4c1(0x168)][_0x20e4c1(0x155)],_0x19521f=_0x5d2732[_0x20e4c1(0x16f)][_0x20e4c1(0x158)],_0x4a028b=_0x22294d[_0x20e4c1(0x16b)];_0x5d2732[_0x20e4c1(0x162)](_0x5decf2=>{const _0x43e3a3=_0x20e4c1,_0x290292=Array[_0x43e3a3(0x154)](_0x19521f[_0x43e3a3(0x164)]())[_0x43e3a3(0x16d)](_0x12ef76=>this[_0x43e3a3(0x15f)](_0x12ef76));for(const _0x36187d of _0x290292)_0x4a028b?_0x5decf2[_0x43e3a3(0x16a)](_0x43e3a3(0x160),_0x4a028b,_0x36187d):_0x5decf2[_0x43e3a3(0x15d)](_0x43e3a3(0x160),_0x36187d);});}[_0x35150c(0x15f)](_0x346a3c){const _0x346252=_0x35150c;return this[_0x346252(0x168)][_0x346252(0x155)][_0x346252(0x159)][_0x346252(0x165)](_0x346a3c,_0x346252(0x160));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x447ffd=_0x4768;(function(_0x23ef74,_0x294686){const _0x5da0d1=_0x4768,_0x10b5c5=_0x23ef74();while(!![]){try{const _0x14f47c=-parseInt(_0x5da0d1(0x141))/0x1+-parseInt(_0x5da0d1(0x16a))/0x2*(-parseInt(_0x5da0d1(0x14c))/0x3)+parseInt(_0x5da0d1(0x147))/0x4+-parseInt(_0x5da0d1(0x15e))/0x5*(-parseInt(_0x5da0d1(0x16c))/0x6)+parseInt(_0x5da0d1(0x140))/0x7*(parseInt(_0x5da0d1(0x152))/0x8)+-parseInt(_0x5da0d1(0x169))/0x9*(parseInt(_0x5da0d1(0x148))/0xa)+-parseInt(_0x5da0d1(0x15c))/0xb;if(_0x14f47c===_0x294686)break;else _0x10b5c5['push'](_0x10b5c5['shift']());}catch(_0x1acd90){_0x10b5c5['push'](_0x10b5c5['shift']());}}}(_0x29b2,0x44a54));function _0x29b2(){const _0x725409=['lineHeight.defaultValue','includes','upcast','1874781MAIeBQ','54814VkbEfE','for','12MeDrtE','filter','slice','init','pluginName','get','style','_preparePredefinedConverters','length','downcast','href','2177eOfpPZ','414849VOqKAf','_prepareAnyValueConverters','schema','string','config','default','2100668wsoqbv','20rDjkmN','fromCharCode','$block','line-height','27DgaZua','isPremiumPlugin','values','join','add','getStyle','9312xoRcdQ','define','setAttributeProperties','map','attributeToAttribute','_validateConfig','line-height-invalid-use-of-named-presets','model','isOfficialPlugin','afterInit','4014219LjoFOL','editor','859335urGtKh','lineHeight.options','commands','lineHeight','extend','lineHeight.supportAllValues','LineHeightEditing','conversion'];_0x29b2=function(){return _0x725409;};return _0x29b2();}function _0x4768(_0xb896a1,_0x2d584f){const _0x29b255=_0x29b2();return _0x4768=function(_0x476835,_0x92a73e){_0x476835=_0x476835-0x13e;let _0x33c0f7=_0x29b255[_0x476835];return _0x33c0f7;},_0x4768(_0xb896a1,_0x2d584f);}import{Plugin as _0x18a678}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xc01e2}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4c5cf3}from'ckeditor5/src/engine.js';import{uid as _0x27b565,CKEditorError as _0x686176}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3869af,isLineHeightDefaultValue as _0x540710,normalizeOptions as _0xd499e3}from'./utils.js';export class LineHeightEditing extends _0x18a678{static get[_0x447ffd(0x170)](){const _0x249341=_0x447ffd;return _0x249341(0x164);}static get[_0x447ffd(0x15a)](){return!0x0;}static get[_0x447ffd(0x14d)](){return!0x0;}constructor(_0x3b7971){const _0x4a5bc5=_0x447ffd;super(_0x3b7971),_0x3b7971[_0x4a5bc5(0x145)][_0x4a5bc5(0x153)](_0x4a5bc5(0x161),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4a5bc5(0x146),0x2,2.5,0x3]});}[_0x447ffd(0x16f)](){const _0xf8eeca=_0x447ffd,_0x46776c=this[_0xf8eeca(0x15d)];this[_0xf8eeca(0x157)](),_0x46776c[_0xf8eeca(0x159)][_0xf8eeca(0x143)][_0xf8eeca(0x162)](_0xf8eeca(0x14a),{'allowAttributes':_0xf8eeca(0x161)}),_0x46776c[_0xf8eeca(0x159)][_0xf8eeca(0x143)][_0xf8eeca(0x154)](_0xf8eeca(0x161),{'isFormatting':!0x0}),_0x46776c[_0xf8eeca(0x160)][_0xf8eeca(0x150)](_0xf8eeca(0x161),new _0xc01e2(_0x46776c)),this[_0xf8eeca(0x15d)][_0xf8eeca(0x145)][_0xf8eeca(0x171)](_0xf8eeca(0x163))?this[_0xf8eeca(0x142)]():this[_0xf8eeca(0x173)]();}[_0x447ffd(0x15b)](){!async function(_0x1280d7){const _0x3f0c05=_0x3189f5([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x7be333=0x45ddd215,_0x13e2ca=0x45daa5bd^_0x7be333,_0x41e076=window[_0x3189f5([0x44,0x61,0x74,0x65])][_0x3189f5([0x6e,0x6f,0x77])](),_0x2b95c5=_0x1280d7[_0x3189f5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4fed83=new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56d0fd=>{_0x2b95c5[_0x3189f5([0x6f,0x6e,0x63,0x65])](_0x3189f5([0x72,0x65,0x61,0x64,0x79]),_0x56d0fd);}),_0x2753ae={[_0x3189f5([0x6b,0x74,0x79])]:_0x3189f5([0x45,0x43]),[_0x3189f5([0x75,0x73,0x65])]:_0x3189f5([0x73,0x69,0x67]),[_0x3189f5([0x63,0x72,0x76])]:_0x3189f5([0x50,0x2d,0x32,0x35,0x36]),[_0x3189f5([0x78])]:_0x3189f5([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]),[_0x3189f5([0x79])]:_0x3189f5([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]),[_0x3189f5([0x61,0x6c,0x67])]:_0x3189f5([0x45,0x53,0x32,0x35,0x36])},_0x217347=_0x2b95c5[_0x3189f5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3189f5([0x67,0x65,0x74])](_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x588e3c(){let _0x1d6bf8,_0x4e3497=null,_0x837447=null;try{if(_0x217347==_0x3189f5([0x47,0x50,0x4c]))return _0x3189f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d6bf8=_0x36bedd(),!_0x1d6bf8)return _0x3189f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d6bf8[_0x3189f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x837447=_0x5d218d(_0x1d6bf8[_0x3189f5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d6bf8[_0x3189f5([0x6a,0x74,0x69])])),await _0x1e8037()?_0x1161d2()?_0x3508c9()?_0x3189f5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x572313()?(_0x1d6bf8[_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3189f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e3497=_0x4f2a4e(_0x3189f5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d6bf8[_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3189f5([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e3497=_0x4f2a4e(_0x3189f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x317d24()):_0x3189f5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3189f5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3189f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3189f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3508c9(){const _0x10a393=[_0x3189f5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3189f5([0x74,0x72,0x69,0x61,0x6c])][_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d6bf8[_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41e076/0x3e8:0xe10*_0x13e2ca;return _0x1d6bf8[_0x3189f5([0x65,0x78,0x70])]<_0x10a393;}function _0x1161d2(){const _0x566c1e=_0x1d6bf8[_0x3189f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x566c1e&&(!!_0x566c1e[_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3189f5([0x2a]))||!!_0x566c1e[_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3189f5([0x4c,0x48])));}function _0x572313(){const _0x402ff0=_0x4768,_0x4ea2c8=_0x1d6bf8[_0x3189f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ea2c8||0x0==_0x4ea2c8[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4986d4}=new URL(window[_0x3189f5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x402ff0(0x13f)]);if(_0x4ea2c8[_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4986d4))return!0x0;const _0x28d003=_0x4986d4[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])](_0x3189f5([0x2e]));return _0x4ea2c8[_0x3189f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x119557=>_0x119557[_0x3189f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3189f5([0x2a])))[_0x3189f5([0x6d,0x61,0x70])](_0x26c740=>_0x26c740[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])](_0x3189f5([0x2e])))[_0x3189f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41cd65=>_0x41cd65[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28d003[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3189f5([0x6d,0x61,0x70])](_0x8704ce=>Array(_0x28d003[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8704ce[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3189f5([0x66,0x69,0x6c,0x6c])](_0x8704ce[0x0]===_0x3189f5([0x2a])?_0x3189f5([0x2a]):'')[_0x3189f5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8704ce))[_0x3189f5([0x73,0x6f,0x6d,0x65])](_0x373b2c=>_0x28d003[_0x3189f5([0x65,0x76,0x65,0x72,0x79])]((_0x4797e2,_0x125a8f)=>_0x373b2c[_0x125a8f]===_0x4797e2||_0x373b2c[_0x125a8f]===_0x3189f5([0x2a])));}function _0x317d24(){return _0x4e3497&&_0x837447?new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4faf86,_0x1ec22a)=>{_0x4e3497[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x4faf86,_0x1ec22a),_0x837447[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x132dde=>{_0x132dde!=_0x3189f5([0x56,0x61,0x6c,0x69,0x64])&&_0x4faf86(_0x132dde);},_0x1ec22a);}):_0x4e3497||_0x837447||_0x3189f5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d218d(_0xbff899,_0x16cf80){return new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9835d9=>{if(_0x46f07a())return _0x9835d9(_0x3189f5([0x56,0x61,0x6c,0x69,0x64]));_0x78c91c(),_0x2b95c5[_0x3189f5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3189f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a6882=!0x1;const _0x34e817=_0x27b565();function _0x1d6b8d(_0x13693f){return!!_0x13693f&&(typeof _0x13693f===_0x3189f5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13693f===_0x3189f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13693f[_0x3189f5([0x74,0x68,0x65,0x6e])]===_0x3189f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13693f[_0x3189f5([0x63,0x61,0x74,0x63,0x68])]===_0x3189f5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ce9c3(_0x5bde61){_0xfb5127(_0x5bde61)[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x20e91c=>{if(!_0x20e91c||_0x20e91c[_0x3189f5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3189f5([0x6f,0x6b]))return _0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32a4b3(_0x55fb83(_0x34e817+_0x16cf80))!=_0x20e91c[_0x3189f5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3189f5([0x56,0x61,0x6c,0x69,0x64]);})[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x1a531b=>(_0x5d803b(),_0x1a531b),()=>{const _0xa79cf4=_0x291c03();return null==_0xa79cf4?(_0x5d803b(),_0x3189f5([0x56,0x61,0x6c,0x69,0x64])):_0x3189f5(_0x41e076-_0xa79cf4>(0x61d15615^_0x7be333)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x9835d9)[_0x3189f5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9835d9(_0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x226b09=0x45eb3c95^_0x7be333;function _0x5d803b(){const _0x288ac5=_0x3189f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x32a4b3(_0x55fb83(_0xbff899)),_0x13f16f=_0x56ced5(_0x32a4b3(window[_0x3189f5([0x4d,0x61,0x74,0x68])][_0x3189f5([0x63,0x65,0x69,0x6c])](_0x41e076/_0x226b09)));window[_0x3189f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3189f5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x288ac5,_0x13f16f);}function _0x291c03(){const _0x2aabea=_0x3189f5([0x6c,0x6c,0x63,0x74,0x2d])+_0x32a4b3(_0x55fb83(_0xbff899)),_0x12f34e=window[_0x3189f5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3189f5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2aabea);return _0x12f34e?window[_0x3189f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56ced5(_0x12f34e),0x10)*_0x226b09:null;}function _0xfb5127(_0x469440){return new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9865e5,_0x2dffef)=>{_0x469440[_0x3189f5([0x74,0x68,0x65,0x6e])](_0x9865e5,_0x2dffef),window[_0x3189f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2dffef,0x45dc06d5^_0x7be333);});}}_0x2b95c5[_0x3189f5([0x6f,0x6e])](_0x3189f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x125a4d,_0x52452e)=>{if(_0x52452e[0x0]!=_0xbff899)return _0x9835d9(_0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52452e[0x1]={..._0x52452e[0x1],[_0x3189f5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34e817};},{[_0x3189f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3189f5([0x68,0x69,0x67,0x68])}),_0x2b95c5[_0x3189f5([0x6f,0x6e])](_0x3189f5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d65d2=>{_0x1d6b8d(_0x5d65d2[_0x3189f5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a6882=!0x0,_0x2ce9c3(_0x5d65d2[_0x3189f5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3189f5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3189f5([0x6c,0x6f,0x77])}),_0x4fed83[_0x3189f5([0x74,0x68,0x65,0x6e])](()=>{_0x3a6882||_0x9835d9(_0x3189f5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x46f07a(){return _0x2b95c5[_0x3189f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3189f5([0x76,0x69,0x65,0x77])][_0x3189f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3189f5([0x61,0x75,0x74,0x6f]);}function _0x78c91c(){_0x2b95c5[_0x3189f5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3189f5([0x76,0x69,0x65,0x77])][_0x3189f5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3189f5([0x61,0x75,0x74,0x6f]);}}function _0x4f2a4e(_0x3ebd54){const _0x4e0bfd=[new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bc451=>setTimeout(_0x2bc451,0x45d4ecd9^_0x7be333)),_0x4fed83[_0x3189f5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d3a09=>{let _0x5704dc=0x0;_0x2b95c5[_0x3189f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3189f5([0x6f,0x6e])](_0x3189f5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59d355,_0x44ef59)=>{_0x44ef59[0x0][_0x3189f5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5704dc++,_0x5704dc==(0x45ddd3ed^_0x7be333)&&(_0x1d3a09(),_0x59d355[_0x3189f5([0x6f,0x66,0x66])]());});}))];return window[_0x3189f5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3189f5([0x72,0x61,0x63,0x65])](_0x4e0bfd)[_0x3189f5([0x74,0x68,0x65,0x6e])](()=>_0x3ebd54);}async function _0x4c0a89(){await _0x4fed83,_0x2b95c5[_0x3189f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3189f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e0b01,_0x2b95c5[_0x3189f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3189f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e0b01,_0x2b95c5[_0x3189f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3189f5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x481628(_0x28f1f0){const _0x536587=_0x4edef8();_0x2b95c5[_0x536587]=_0x3189f5([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28f1f0,_0x28f1f0!=_0x3189f5([0x56,0x61,0x6c,0x69,0x64])&&_0x4c0a89();}function _0x4edef8(){const _0x43e70d=window[_0x3189f5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3189f5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3189f5([0x6e,0x6f,0x77])]())[_0x3189f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3189f5([0x2e]),'');let _0x248884=_0x3189f5([0x50]);for(let _0x15ffa3=0x0;_0x15ffa3<_0x43e70d[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15ffa3+=0x2){let _0x4bd994=window[_0x3189f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43e70d[_0x3189f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15ffa3,_0x15ffa3+0x2));_0x4bd994>=_0x3f0c05[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bd994-=_0x3f0c05[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x248884+=_0x3f0c05[_0x4bd994];}return _0x248884;}function _0x36bedd(){const _0x49b286=_0x217347[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])](_0x3189f5([0x2e]));if(0x3!=_0x49b286[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x223d6c(_0x49b286[0x1]);function _0x223d6c(_0x3967d0){const _0x50f03b=_0x483455(_0x3967d0);return _0x50f03b&&_0x511c68()?_0x50f03b:null;function _0x511c68(){const _0xfabef7=_0x50f03b[_0x3189f5([0x6a,0x74,0x69])],_0x32b0ad=window[_0x3189f5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfabef7[_0x3189f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfabef7[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30d730={..._0x50f03b,[_0x3189f5([0x6a,0x74,0x69])]:_0xfabef7[_0x3189f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfabef7[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30d730[_0x3189f5([0x76,0x63])],_0x55fb83(_0x30d730)==_0x32b0ad;}}}async function _0x1e8037(){let _0x36e139=!0x0;try{const _0x55f265=_0x217347[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])](_0x3189f5([0x2e])),[_0x5de19e,_0x467d3c,_0x12585d]=_0x55f265;return _0x41143c(_0x5de19e),await _0x3cc6b0(_0x5de19e,_0x467d3c,_0x12585d),_0x36e139;}catch{return!0x1;}function _0x41143c(_0x101154){const _0x3fbc97=_0x483455(_0x101154);_0x3fbc97&&_0x3fbc97[_0x3189f5([0x61,0x6c,0x67])]==_0x3189f5([0x45,0x53,0x32,0x35,0x36])||(_0x36e139=!0x1);}async function _0x3cc6b0(_0x11cd20,_0x41d04b,_0x1f7ef2){const _0x2d002e=window[_0x3189f5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3189f5([0x66,0x72,0x6f,0x6d])](_0x1a4325(_0x1f7ef2),_0x67ae0c=>_0x67ae0c[_0x3189f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x275c3b=new window[(_0x3189f5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3189f5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11cd20+_0x3189f5([0x2e])+_0x41d04b),_0x581272=window[_0x3189f5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3189f5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x581272)return;const _0x1fcfd2=await _0x581272[_0x3189f5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3189f5([0x6a,0x77,0x6b]),_0x2753ae,{[_0x3189f5([0x6e,0x61,0x6d,0x65])]:_0x3189f5([0x45,0x43,0x44,0x53,0x41]),[_0x3189f5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3189f5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3189f5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x581272[_0x3189f5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3189f5([0x6e,0x61,0x6d,0x65])]:_0x3189f5([0x45,0x43,0x44,0x53,0x41]),[_0x3189f5([0x68,0x61,0x73,0x68])]:{[_0x3189f5([0x6e,0x61,0x6d,0x65])]:_0x3189f5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fcfd2,_0x2d002e,_0x275c3b)||(_0x36e139=!0x1);}}function _0x483455(_0x31afda){return _0x31afda[_0x3189f5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3189f5([0x65,0x79]))?JSON[_0x3189f5([0x70,0x61,0x72,0x73,0x65])](_0x1a4325(_0x31afda)):null;}function _0x1a4325(_0x3db921){return window[_0x3189f5([0x61,0x74,0x6f,0x62])](_0x3db921[_0x3189f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3189f5([0x2b]))[_0x3189f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3189f5([0x2f])));}function _0x55fb83(_0x204205){let _0x17e796=0x1505;function _0x5b22ea(_0x425ac2){for(let _0x1f5bad=0x0;_0x1f5bad<_0x425ac2[_0x3189f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f5bad++){const _0x3993f6=_0x425ac2[_0x3189f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f5bad);_0x17e796=(_0x17e796<<0x5)+_0x17e796+_0x3993f6,_0x17e796&=_0x17e796;}}function _0x38f685(_0x52d563){Array[_0x3189f5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52d563)?_0x52d563[_0x3189f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38f685):_0x52d563&&typeof _0x52d563==_0x3189f5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3189f5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52d563)[_0x3189f5([0x73,0x6f,0x72,0x74])]()[_0x3189f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8bfd2a,_0x4e5c56])=>{_0x5b22ea(_0x8bfd2a),_0x38f685(_0x4e5c56);}):_0x5b22ea(window[_0x3189f5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52d563));}return _0x38f685(_0x204205),_0x17e796>>>0x0;}function _0x32a4b3(_0x5876a6){return _0x5876a6[_0x3189f5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3189f5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3189f5([0x30]));}function _0x56ced5(_0xded04a){return _0xded04a[_0x3189f5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3189f5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3189f5([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e0b01(){}function _0x3189f5(_0x3c7856){const _0x5eeeb0=_0x4768;return _0x3c7856[_0x5eeeb0(0x155)](_0x30b7e0=>String[_0x5eeeb0(0x149)](_0x30b7e0))[_0x5eeeb0(0x14f)]('');}_0x481628(await _0x588e3c());}(this);}[_0x447ffd(0x157)](){const _0x284d2c=_0x447ffd,_0x13c030=this[_0x284d2c(0x15d)];if(!_0x13c030[_0x284d2c(0x145)][_0x284d2c(0x171)](_0x284d2c(0x163)))return;const _0x1a72ee=_0x13c030[_0x284d2c(0x145)][_0x284d2c(0x171)](_0x284d2c(0x15f))[_0x284d2c(0x16d)](_0x5528d7=>_0x284d2c(0x144)==typeof _0x5528d7&&(!_0x540710(_0x5528d7)&&isNaN(Number(_0x5528d7))));if(_0x1a72ee[_0x284d2c(0x174)])throw new _0x686176(_0x284d2c(0x158),null,{'namedPresets':_0x1a72ee});}[_0x447ffd(0x142)](){const _0x36c4a0=_0x447ffd,_0x38f867=this[_0x36c4a0(0x15d)],_0x5a0f48=this[_0x36c4a0(0x15d)][_0x36c4a0(0x145)][_0x36c4a0(0x171)](_0x36c4a0(0x166));_0x38f867[_0x36c4a0(0x165)][_0x36c4a0(0x16b)](_0x36c4a0(0x13e))[_0x36c4a0(0x156)]({'model':{'key':_0x36c4a0(0x161)},'view':_0x1060bc=>String(_0x1060bc)===String(_0x5a0f48)?null:{'key':_0x36c4a0(0x172),'value':{'line-height':_0x1060bc}}}),_0x38f867[_0x36c4a0(0x165)][_0x36c4a0(0x16b)](_0x36c4a0(0x168))[_0x36c4a0(0x156)]({'model':{'key':_0x36c4a0(0x161),'value':_0x38ba83=>{const _0x4650ae=_0x36c4a0;let _0x56631e=_0x38ba83[_0x4650ae(0x151)](_0x4650ae(0x14b));return _0x4c5cf3(_0x56631e)&&(_0x56631e=String(Number(_0x56631e[_0x4650ae(0x16e)](0x0,-0x1))/0x64)),String(_0x56631e)===String(_0x5a0f48)?null:_0x56631e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x447ffd(0x173)](){const _0xe2078f=_0x447ffd,_0x399eb0=this[_0xe2078f(0x15d)],_0x280583=this[_0xe2078f(0x15d)][_0xe2078f(0x145)][_0xe2078f(0x171)](_0xe2078f(0x166)),_0x1fc990=_0xd499e3(this[_0xe2078f(0x15d)][_0xe2078f(0x145)][_0xe2078f(0x171)](_0xe2078f(0x161)))[_0xe2078f(0x16d)](_0x4ecd5f=>_0x4ecd5f[_0xe2078f(0x159)]),_0x4c315b=_0x3869af(_0xe2078f(0x161),_0x1fc990);_0x399eb0[_0xe2078f(0x165)][_0xe2078f(0x156)](_0x4c315b),_0x399eb0[_0xe2078f(0x165)][_0xe2078f(0x16b)](_0xe2078f(0x168))[_0xe2078f(0x156)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xe2078f(0x161),'value':_0x27c900=>{const _0x36bfcc=_0xe2078f;let _0x5e1ff6=_0x27c900[_0x36bfcc(0x151)](_0x36bfcc(0x14b));return _0x4c5cf3(_0x5e1ff6)&&(_0x5e1ff6=String(Number(_0x5e1ff6[_0x36bfcc(0x16e)](0x0,-0x1))/0x64)),_0x5e1ff6===String(_0x280583)?null:_0x4c315b[_0x36bfcc(0x159)][_0x36bfcc(0x14e)][_0x36bfcc(0x167)](_0x5e1ff6)?_0x5e1ff6:null;}}});}}
|
|
23
|
+
const _0x15626c=_0x2414;function _0x5a68(){const _0x40117b=['attributeToAttribute','223884fSekdw','_validateConfig','isOfficialPlugin','commands','isPremiumPlugin','slice','upcast','lineHeight','conversion','pluginName','9lFzrrT','default','line-height','45RAGeMj','get','map','style','1271172QZIHjb','init','values','downcast','for','string','5TMkixe','4683BAbWdj','lineHeight.supportAllValues','add','_preparePredefinedConverters','define','lineHeight.defaultValue','join','lineHeight.options','href','afterInit','includes','5761356ejRHmj','fromCharCode','extend','getStyle','schema','length','2819663cjFwaq','10616VWkSij','filter','10icbLAh','$block','_prepareAnyValueConverters','config','line-height-invalid-use-of-named-presets','editor','setAttributeProperties','model','LineHeightEditing','9245190agsRmo','125878LWYDLI'];_0x5a68=function(){return _0x40117b;};return _0x5a68();}function _0x2414(_0x1594c2,_0x416760){const _0x5a6868=_0x5a68();return _0x2414=function(_0x241487,_0x2da393){_0x241487=_0x241487-0x68;let _0x2af051=_0x5a6868[_0x241487];return _0x2af051;},_0x2414(_0x1594c2,_0x416760);}(function(_0x1d2fc0,_0x5132ae){const _0x20eedb=_0x2414,_0x1e001c=_0x1d2fc0();while(!![]){try{const _0x559930=parseInt(_0x20eedb(0x83))/0x1*(parseInt(_0x20eedb(0x79))/0x2)+-parseInt(_0x20eedb(0x92))/0x3*(parseInt(_0x20eedb(0x85))/0x4)+-parseInt(_0x20eedb(0x9c))/0x5*(-parseInt(_0x20eedb(0x70))/0x6)+parseInt(_0x20eedb(0x9d))/0x7*(parseInt(_0x20eedb(0x77))/0x8)+-parseInt(_0x20eedb(0x8f))/0x9*(parseInt(_0x20eedb(0x82))/0xa)+-parseInt(_0x20eedb(0x76))/0xb+parseInt(_0x20eedb(0x96))/0xc;if(_0x559930===_0x5132ae)break;else _0x1e001c['push'](_0x1e001c['shift']());}catch(_0x39e427){_0x1e001c['push'](_0x1e001c['shift']());}}}(_0x5a68,0x896cd));import{Plugin as _0x40ab0c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4643e8}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2cc09a}from'ckeditor5/src/engine.js';import{uid as _0xc24890,CKEditorError as _0x189e3b}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1597ac,isLineHeightDefaultValue as _0x4e56cf,normalizeOptions as _0x1342f0}from'./utils.js';export class LineHeightEditing extends _0x40ab0c{static get[_0x15626c(0x8e)](){const _0x5383f0=_0x15626c;return _0x5383f0(0x81);}static get[_0x15626c(0x87)](){return!0x0;}static get[_0x15626c(0x89)](){return!0x0;}constructor(_0x464260){const _0x4464a8=_0x15626c;super(_0x464260),_0x464260[_0x4464a8(0x7c)][_0x4464a8(0x69)](_0x4464a8(0x8c),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4464a8(0x90),0x2,2.5,0x3]});}[_0x15626c(0x97)](){const _0x4cdc46=_0x15626c,_0x46cef1=this[_0x4cdc46(0x7e)];this[_0x4cdc46(0x86)](),_0x46cef1[_0x4cdc46(0x80)][_0x4cdc46(0x74)][_0x4cdc46(0x72)](_0x4cdc46(0x7a),{'allowAttributes':_0x4cdc46(0x8c)}),_0x46cef1[_0x4cdc46(0x80)][_0x4cdc46(0x74)][_0x4cdc46(0x7f)](_0x4cdc46(0x8c),{'isFormatting':!0x0}),_0x46cef1[_0x4cdc46(0x88)][_0x4cdc46(0x9f)](_0x4cdc46(0x8c),new _0x4643e8(_0x46cef1)),this[_0x4cdc46(0x7e)][_0x4cdc46(0x7c)][_0x4cdc46(0x93)](_0x4cdc46(0x9e))?this[_0x4cdc46(0x7b)]():this[_0x4cdc46(0x68)]();}[_0x15626c(0x6e)](){!async function(_0x1d6155){const _0x543265=_0x738311([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0xd53b7f=0x45ddd215,_0x2118f1=0x45daa5d5^_0xd53b7f,_0xd562fb=window[_0x738311([0x44,0x61,0x74,0x65])][_0x738311([0x6e,0x6f,0x77])](),_0x48e9d2=_0x1d6155[_0x738311([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x269885=new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ac9e=>{_0x48e9d2[_0x738311([0x6f,0x6e,0x63,0x65])](_0x738311([0x72,0x65,0x61,0x64,0x79]),_0x19ac9e);}),_0x511522={[_0x738311([0x6b,0x74,0x79])]:_0x738311([0x45,0x43]),[_0x738311([0x75,0x73,0x65])]:_0x738311([0x73,0x69,0x67]),[_0x738311([0x63,0x72,0x76])]:_0x738311([0x50,0x2d,0x32,0x35,0x36]),[_0x738311([0x78])]:_0x738311([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]),[_0x738311([0x79])]:_0x738311([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]),[_0x738311([0x61,0x6c,0x67])]:_0x738311([0x45,0x53,0x32,0x35,0x36])},_0x450064=_0x48e9d2[_0x738311([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x738311([0x67,0x65,0x74])](_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x153aa1(){let _0x19f852,_0x5cbaf1=null,_0x394edf=null;try{if(_0x450064==_0x738311([0x47,0x50,0x4c]))return _0x738311([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x19f852=_0x2358a0(),!_0x19f852)return _0x738311([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x19f852[_0x738311([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x394edf=_0x419d52(_0x19f852[_0x738311([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x19f852[_0x738311([0x6a,0x74,0x69])])),await _0x27a0dc()?_0x23f38f()?_0x4b2e74()?_0x738311([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40393d()?(_0x19f852[_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x738311([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5cbaf1=_0x26bb6f(_0x738311([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x19f852[_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x738311([0x74,0x72,0x69,0x61,0x6c])&&(_0x5cbaf1=_0x26bb6f(_0x738311([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34fddf()):_0x738311([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x738311([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x738311([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x738311([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b2e74(){const _0x42d5ca=[_0x738311([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x738311([0x74,0x72,0x69,0x61,0x6c])][_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19f852[_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd562fb/0x3e8:0xe10*_0x2118f1;return _0x19f852[_0x738311([0x65,0x78,0x70])]<_0x42d5ca;}function _0x23f38f(){const _0x2c0079=_0x19f852[_0x738311([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c0079&&(!!_0x2c0079[_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x738311([0x2a]))||!!_0x2c0079[_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x738311([0x4c,0x48])));}function _0x40393d(){const _0x28dbcb=_0x2414,_0x42bd07=_0x19f852[_0x738311([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42bd07||0x0==_0x42bd07[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ecb91}=new URL(window[_0x738311([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x28dbcb(0x6d)]);if(_0x42bd07[_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ecb91))return!0x0;const _0x1df3c8=_0x5ecb91[_0x738311([0x73,0x70,0x6c,0x69,0x74])](_0x738311([0x2e]));return _0x42bd07[_0x738311([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1510fb=>_0x1510fb[_0x738311([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x738311([0x2a])))[_0x738311([0x6d,0x61,0x70])](_0x490517=>_0x490517[_0x738311([0x73,0x70,0x6c,0x69,0x74])](_0x738311([0x2e])))[_0x738311([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x355e67=>_0x355e67[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1df3c8[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x738311([0x6d,0x61,0x70])](_0x2414d4=>Array(_0x1df3c8[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2414d4[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x738311([0x66,0x69,0x6c,0x6c])](_0x2414d4[0x0]===_0x738311([0x2a])?_0x738311([0x2a]):'')[_0x738311([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2414d4))[_0x738311([0x73,0x6f,0x6d,0x65])](_0x15ddb0=>_0x1df3c8[_0x738311([0x65,0x76,0x65,0x72,0x79])]((_0x3da597,_0x505280)=>_0x15ddb0[_0x505280]===_0x3da597||_0x15ddb0[_0x505280]===_0x738311([0x2a])));}function _0x34fddf(){return _0x5cbaf1&&_0x394edf?new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cf770,_0x116904)=>{_0x5cbaf1[_0x738311([0x74,0x68,0x65,0x6e])](_0x2cf770,_0x116904),_0x394edf[_0x738311([0x74,0x68,0x65,0x6e])](_0x501261=>{_0x501261!=_0x738311([0x56,0x61,0x6c,0x69,0x64])&&_0x2cf770(_0x501261);},_0x116904);}):_0x5cbaf1||_0x394edf||_0x738311([0x56,0x61,0x6c,0x69,0x64]);}}function _0x419d52(_0x3e1893,_0x3a9f2d){return new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3b5dc=>{if(_0x119849())return _0xf3b5dc(_0x738311([0x56,0x61,0x6c,0x69,0x64]));_0x1e83c9(),_0x48e9d2[_0x738311([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x738311([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x531cd5=!0x1;const _0x1d7fdf=_0xc24890();function _0x1cb10f(_0x347871){return!!_0x347871&&(typeof _0x347871===_0x738311([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x347871===_0x738311([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x347871[_0x738311([0x74,0x68,0x65,0x6e])]===_0x738311([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x347871[_0x738311([0x63,0x61,0x74,0x63,0x68])]===_0x738311([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5195e8(_0x3f40a5){_0x512a69(_0x3f40a5)[_0x738311([0x74,0x68,0x65,0x6e])](_0x32be9e=>{if(!_0x32be9e||_0x32be9e[_0x738311([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x738311([0x6f,0x6b]))return _0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19e171(_0x15b289(_0x1d7fdf+_0x3a9f2d))!=_0x32be9e[_0x738311([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x738311([0x56,0x61,0x6c,0x69,0x64]);})[_0x738311([0x74,0x68,0x65,0x6e])](_0x559712=>(_0x153022(),_0x559712),()=>{const _0x389729=_0xd714b3();return null==_0x389729?(_0x153022(),_0x738311([0x56,0x61,0x6c,0x69,0x64])):_0x738311(_0xd562fb-_0x389729>(0x61d15615^_0xd53b7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x738311([0x74,0x68,0x65,0x6e])](_0xf3b5dc)[_0x738311([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf3b5dc(_0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f3142=0x45eb3c95^_0xd53b7f;function _0x153022(){const _0x25260e=_0x738311([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e171(_0x15b289(_0x3e1893)),_0x309cbd=_0x58ef28(_0x19e171(window[_0x738311([0x4d,0x61,0x74,0x68])][_0x738311([0x63,0x65,0x69,0x6c])](_0xd562fb/_0x5f3142)));window[_0x738311([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x738311([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25260e,_0x309cbd);}function _0xd714b3(){const _0x3a0f34=_0x738311([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e171(_0x15b289(_0x3e1893)),_0x45d8c9=window[_0x738311([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x738311([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a0f34);return _0x45d8c9?window[_0x738311([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58ef28(_0x45d8c9),0x10)*_0x5f3142:null;}function _0x512a69(_0x534747){return new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b56b9,_0x20176b)=>{_0x534747[_0x738311([0x74,0x68,0x65,0x6e])](_0x5b56b9,_0x20176b),window[_0x738311([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20176b,0x45dc06d5^_0xd53b7f);});}}_0x48e9d2[_0x738311([0x6f,0x6e])](_0x738311([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d57dd,_0x2a83cf)=>{if(_0x2a83cf[0x0]!=_0x3e1893)return _0xf3b5dc(_0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a83cf[0x1]={..._0x2a83cf[0x1],[_0x738311([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d7fdf};},{[_0x738311([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x738311([0x68,0x69,0x67,0x68])}),_0x48e9d2[_0x738311([0x6f,0x6e])](_0x738311([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52819d=>{_0x1cb10f(_0x52819d[_0x738311([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x531cd5=!0x0,_0x5195e8(_0x52819d[_0x738311([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x738311([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x738311([0x6c,0x6f,0x77])}),_0x269885[_0x738311([0x74,0x68,0x65,0x6e])](()=>{_0x531cd5||_0xf3b5dc(_0x738311([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x119849(){return _0x48e9d2[_0x738311([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x738311([0x76,0x69,0x65,0x77])][_0x738311([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x738311([0x61,0x75,0x74,0x6f]);}function _0x1e83c9(){_0x48e9d2[_0x738311([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x738311([0x76,0x69,0x65,0x77])][_0x738311([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x738311([0x61,0x75,0x74,0x6f]);}}function _0x26bb6f(_0x34a9af){const _0x2432c6=[new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3563=>setTimeout(_0x5a3563,0x45d4ecd9^_0xd53b7f)),_0x269885[_0x738311([0x74,0x68,0x65,0x6e])](()=>new window[(_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x79bea0=>{let _0x152c26=0x0;_0x48e9d2[_0x738311([0x6d,0x6f,0x64,0x65,0x6c])][_0x738311([0x6f,0x6e])](_0x738311([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ae117,_0x406757)=>{_0x406757[0x0][_0x738311([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x152c26++,_0x152c26==(0x45ddd3ed^_0xd53b7f)&&(_0x79bea0(),_0x5ae117[_0x738311([0x6f,0x66,0x66])]());});}))];return window[_0x738311([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x738311([0x72,0x61,0x63,0x65])](_0x2432c6)[_0x738311([0x74,0x68,0x65,0x6e])](()=>_0x34a9af);}async function _0xcee213(){await _0x269885,_0x48e9d2[_0x738311([0x6d,0x6f,0x64,0x65,0x6c])][_0x738311([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x770ddb,_0x48e9d2[_0x738311([0x6d,0x6f,0x64,0x65,0x6c])][_0x738311([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x770ddb,_0x48e9d2[_0x738311([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x738311([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c21c7(_0x5169ba){const _0x1ce34d=_0x20fe0c();_0x48e9d2[_0x1ce34d]=_0x738311([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5169ba,_0x5169ba!=_0x738311([0x56,0x61,0x6c,0x69,0x64])&&_0xcee213();}function _0x20fe0c(){const _0x521461=window[_0x738311([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x738311([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x738311([0x6e,0x6f,0x77])]())[_0x738311([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x738311([0x2e]),'');let _0x7b4352=_0x738311([0x50]);for(let _0x3e3667=0x0;_0x3e3667<_0x521461[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e3667+=0x2){let _0x2163e4=window[_0x738311([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x521461[_0x738311([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e3667,_0x3e3667+0x2));_0x2163e4>=_0x543265[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2163e4-=_0x543265[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7b4352+=_0x543265[_0x2163e4];}return _0x7b4352;}function _0x2358a0(){const _0x62d531=_0x450064[_0x738311([0x73,0x70,0x6c,0x69,0x74])](_0x738311([0x2e]));if(0x3!=_0x62d531[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13195a(_0x62d531[0x1]);function _0x13195a(_0x24f7f8){const _0xaf390d=_0x11a00f(_0x24f7f8);return _0xaf390d&&_0x259c46()?_0xaf390d:null;function _0x259c46(){const _0x45c501=_0xaf390d[_0x738311([0x6a,0x74,0x69])],_0x4d4d51=window[_0x738311([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45c501[_0x738311([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45c501[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7a6d20={..._0xaf390d,[_0x738311([0x6a,0x74,0x69])]:_0x45c501[_0x738311([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45c501[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7a6d20[_0x738311([0x76,0x63])],_0x15b289(_0x7a6d20)==_0x4d4d51;}}}async function _0x27a0dc(){let _0x5a1296=!0x0;try{const _0x13d96d=_0x450064[_0x738311([0x73,0x70,0x6c,0x69,0x74])](_0x738311([0x2e])),[_0x715532,_0x39dec6,_0x2212ea]=_0x13d96d;return _0x34436b(_0x715532),await _0x20fa9d(_0x715532,_0x39dec6,_0x2212ea),_0x5a1296;}catch{return!0x1;}function _0x34436b(_0x3b2fad){const _0x2b26e0=_0x11a00f(_0x3b2fad);_0x2b26e0&&_0x2b26e0[_0x738311([0x61,0x6c,0x67])]==_0x738311([0x45,0x53,0x32,0x35,0x36])||(_0x5a1296=!0x1);}async function _0x20fa9d(_0x216dce,_0x546d26,_0xbad070){const _0x5e5199=window[_0x738311([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x738311([0x66,0x72,0x6f,0x6d])](_0xd3483f(_0xbad070),_0x1b3dd3=>_0x1b3dd3[_0x738311([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe47c96=new window[(_0x738311([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x738311([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x216dce+_0x738311([0x2e])+_0x546d26),_0x4de68e=window[_0x738311([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x738311([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4de68e)return;const _0x2d1c90=await _0x4de68e[_0x738311([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x738311([0x6a,0x77,0x6b]),_0x511522,{[_0x738311([0x6e,0x61,0x6d,0x65])]:_0x738311([0x45,0x43,0x44,0x53,0x41]),[_0x738311([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x738311([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x738311([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4de68e[_0x738311([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x738311([0x6e,0x61,0x6d,0x65])]:_0x738311([0x45,0x43,0x44,0x53,0x41]),[_0x738311([0x68,0x61,0x73,0x68])]:{[_0x738311([0x6e,0x61,0x6d,0x65])]:_0x738311([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d1c90,_0x5e5199,_0xe47c96)||(_0x5a1296=!0x1);}}function _0x11a00f(_0x227cb6){return _0x227cb6[_0x738311([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x738311([0x65,0x79]))?JSON[_0x738311([0x70,0x61,0x72,0x73,0x65])](_0xd3483f(_0x227cb6)):null;}function _0xd3483f(_0x1bf075){return window[_0x738311([0x61,0x74,0x6f,0x62])](_0x1bf075[_0x738311([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x738311([0x2b]))[_0x738311([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x738311([0x2f])));}function _0x15b289(_0x26fa14){let _0x5a8834=0x1505;function _0x3f4490(_0x41d52c){for(let _0x4ac58e=0x0;_0x4ac58e<_0x41d52c[_0x738311([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ac58e++){const _0x4c72e3=_0x41d52c[_0x738311([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ac58e);_0x5a8834=(_0x5a8834<<0x5)+_0x5a8834+_0x4c72e3,_0x5a8834&=_0x5a8834;}}function _0x39e3be(_0x2263d0){Array[_0x738311([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2263d0)?_0x2263d0[_0x738311([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39e3be):_0x2263d0&&typeof _0x2263d0==_0x738311([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x738311([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2263d0)[_0x738311([0x73,0x6f,0x72,0x74])]()[_0x738311([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x78ebce,_0x117a73])=>{_0x3f4490(_0x78ebce),_0x39e3be(_0x117a73);}):_0x3f4490(window[_0x738311([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2263d0));}return _0x39e3be(_0x26fa14),_0x5a8834>>>0x0;}function _0x19e171(_0x9511e7){return _0x9511e7[_0x738311([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x738311([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x738311([0x30]));}function _0x58ef28(_0x5d4e55){return _0x5d4e55[_0x738311([0x73,0x70,0x6c,0x69,0x74])]('')[_0x738311([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x738311([0x6a,0x6f,0x69,0x6e])]('');}function _0x770ddb(){}function _0x738311(_0x1d2870){const _0x3477dd=_0x2414;return _0x1d2870[_0x3477dd(0x94)](_0x1956ba=>String[_0x3477dd(0x71)](_0x1956ba))[_0x3477dd(0x6b)]('');}_0x5c21c7(await _0x153aa1());}(this);}[_0x15626c(0x86)](){const _0x182a57=_0x15626c,_0x4b4cc2=this[_0x182a57(0x7e)];if(!_0x4b4cc2[_0x182a57(0x7c)][_0x182a57(0x93)](_0x182a57(0x9e)))return;const _0x116bc9=_0x4b4cc2[_0x182a57(0x7c)][_0x182a57(0x93)](_0x182a57(0x6c))[_0x182a57(0x78)](_0x1a16fb=>_0x182a57(0x9b)==typeof _0x1a16fb&&(!_0x4e56cf(_0x1a16fb)&&isNaN(Number(_0x1a16fb))));if(_0x116bc9[_0x182a57(0x75)])throw new _0x189e3b(_0x182a57(0x7d),null,{'namedPresets':_0x116bc9});}[_0x15626c(0x7b)](){const _0x5d1ff8=_0x15626c,_0x1b2a02=this[_0x5d1ff8(0x7e)],_0x29d6c7=this[_0x5d1ff8(0x7e)][_0x5d1ff8(0x7c)][_0x5d1ff8(0x93)](_0x5d1ff8(0x6a));_0x1b2a02[_0x5d1ff8(0x8d)][_0x5d1ff8(0x9a)](_0x5d1ff8(0x99))[_0x5d1ff8(0x84)]({'model':{'key':_0x5d1ff8(0x8c)},'view':_0x94d9b3=>String(_0x94d9b3)===String(_0x29d6c7)?null:{'key':_0x5d1ff8(0x95),'value':{'line-height':_0x94d9b3}}}),_0x1b2a02[_0x5d1ff8(0x8d)][_0x5d1ff8(0x9a)](_0x5d1ff8(0x8b))[_0x5d1ff8(0x84)]({'model':{'key':_0x5d1ff8(0x8c),'value':_0x2f97e3=>{const _0x5c9879=_0x5d1ff8;let _0x1eb244=_0x2f97e3[_0x5c9879(0x73)](_0x5c9879(0x91));return _0x2cc09a(_0x1eb244)&&(_0x1eb244=String(Number(_0x1eb244[_0x5c9879(0x8a)](0x0,-0x1))/0x64)),String(_0x1eb244)===String(_0x29d6c7)?null:_0x1eb244;}},'view':{'styles':{'line-height':/.*/}}});}[_0x15626c(0x68)](){const _0x185daa=_0x15626c,_0x387dd6=this[_0x185daa(0x7e)],_0xb075f3=this[_0x185daa(0x7e)][_0x185daa(0x7c)][_0x185daa(0x93)](_0x185daa(0x6a)),_0x3900e1=_0x1342f0(this[_0x185daa(0x7e)][_0x185daa(0x7c)][_0x185daa(0x93)](_0x185daa(0x8c)))[_0x185daa(0x78)](_0x2fffb4=>_0x2fffb4[_0x185daa(0x80)]),_0x279633=_0x1597ac(_0x185daa(0x8c),_0x3900e1);_0x387dd6[_0x185daa(0x8d)][_0x185daa(0x84)](_0x279633),_0x387dd6[_0x185daa(0x8d)][_0x185daa(0x9a)](_0x185daa(0x8b))[_0x185daa(0x84)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x185daa(0x8c),'value':_0x2c6ca6=>{const _0x320ba4=_0x185daa;let _0x288f1e=_0x2c6ca6[_0x320ba4(0x73)](_0x320ba4(0x91));return _0x2cc09a(_0x288f1e)&&(_0x288f1e=String(Number(_0x288f1e[_0x320ba4(0x8a)](0x0,-0x1))/0x64)),_0x288f1e===String(_0xb075f3)?null:_0x279633[_0x320ba4(0x80)][_0x320ba4(0x98)][_0x320ba4(0x6f)](_0x288f1e)?_0x288f1e:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1188ac}from'ckeditor5/src/core.js';import{addListToDropdown as _0x199343,createDropdown as _0x22ca96,MenuBarMenuListItemButtonView as _0x3b4c99,MenuBarMenuListItemView as _0x34e9d3,MenuBarMenuListView as _0xe04f40,MenuBarMenuView as _0x17998c,UIModel as _0x553040}from'ckeditor5/src/ui.js';import{Collection as _0x10a3df}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3a4e8c}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2ecd65}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1188ac{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x218eca={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x218eca),this['_registerMenuBarComponent'](_0x218eca),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x34486f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2bc7f3;for(const _0x51ddd5 in _0x34486f){const _0x39f307=_0x51ddd5,_0x2fc6a2=_0x34486f[_0x39f307];if('lineHeightLicenseKeyValid'==_0x2fc6a2||'lineHeightLicenseKeyInvalid'==_0x2fc6a2||'lineHeightLicenseKeyExpired'==_0x2fc6a2||'lineHeightLicenseKeyDomainLimit'==_0x2fc6a2||'lineHeightLicenseKeyNotAllowed'==_0x2fc6a2||'lineHeightLicenseKeyEvaluationLimit'==_0x2fc6a2||'lineHeightLicenseKeyTrialLimit'==_0x2fc6a2||'lineHeightLicenseKeyUsageLimit'==_0x2fc6a2){delete _0x34486f[_0x39f307],_0x2bc7f3=_0x2fc6a2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2bc7f3&&_0x34486f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2bc7f3&&_0x34486f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2bc7f3&&_0x34486f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2bc7f3&&_0x34486f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2bc7f3&&_0x34486f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2bc7f3&&_0x34486f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2bc7f3&&_0x34486f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x557eb5=this['editor'],t=_0x557eb5['t'],_0x2af690=_0x557eb5['config']['get']('lineHeight'),_0x230dfd={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2ecd65(_0x2af690)['map'](_0x12bfaf=>{const _0x2d116b=_0x230dfd[_0x12bfaf['title']];return _0x2d116b&&_0x2d116b!=_0x12bfaf['title']&&(_0x12bfaf=Object['assign']({},_0x12bfaf,{'title':_0x2d116b})),_0x12bfaf;});}['_prepareListOptions'](){const _0x383547=this['editor']['commands']['get']('lineHeight'),_0xfecb82=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3eeec4=this['_getLocalizedLineHeightOptions'](),_0x3d3471=new _0x10a3df(),_0x28e9eb=_0x5d1e2b=>'default'===_0x5d1e2b||String(_0xfecb82)===_0x5d1e2b;for(const _0x3234e2 of _0x3eeec4){const _0x59a479={'type':'button','model':new _0x553040({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3234e2['title'],'withText':!0x0})};_0x28e9eb(_0x3234e2['model'])?(_0x59a479['model']['bind']('isOn')['to'](_0x383547,'value',_0x3055b8=>!_0x3055b8),_0x59a479['model']['commandParam']=void 0x0):(_0x59a479['model']['bind']('isOn')['to'](_0x383547,'value',_0x557fb6=>_0x557fb6===_0x3234e2['model']),_0x59a479['model']['commandParam']=_0x3234e2['model']),_0x3d3471['add'](_0x59a479);}if(this['_shouldRenderCustomValueOption']()){const _0x3c56f9=this['_getCustomValueOptionDefinition'](_0x3eeec4);_0x3d3471['add'](_0x3c56f9);}return _0x3d3471;}['_getCustomValueOptionDefinition'](_0x3dc192){const _0x54b3cf=this['editor'],t=_0x54b3cf['t'],_0x6eb9cd=_0x54b3cf['commands']['get']('lineHeight'),_0x11b465=_0x3dc192['map'](_0x1d891a=>_0x1d891a['model']),_0x5c74c1={'type':'button','model':new _0x553040({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5c74c1['model']['bind']('commandParam')['to'](_0x6eb9cd,'value'),_0x5c74c1['model']['bind']('isOn')['to'](_0x6eb9cd,'value',_0x17a643=>!!_0x17a643&&!_0x11b465['includes'](String(_0x17a643))),_0x5c74c1['model']['bind']('label')['to'](_0x6eb9cd,'value',_0x3945c4=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3945c4))),_0x5c74c1;}['_registerToolbarComponent']({accessibleLabel:_0xe7e2df,options:_0x5e2ecd}){const _0x3ab46a=this['editor'],_0x3781b2=_0x3ab46a['commands']['get']('lineHeight');_0x3ab46a['ui']['componentFactory']['add']('lineHeight',_0x41ae21=>{const _0x2b1ac7=_0x22ca96(_0x41ae21);return _0x199343(_0x2b1ac7,_0x5e2ecd,{'role':'menu','ariaLabel':_0xe7e2df}),_0x2b1ac7['buttonView']['set']({'label':_0xe7e2df,'tooltip':!0x0,'icon':_0x3a4e8c}),_0x2b1ac7['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2b1ac7['bind']('isEnabled')['to'](_0x3781b2),this['listenTo'](_0x2b1ac7,'execute',_0xe368e9=>{_0x3ab46a['execute'](_0xe368e9['source']['commandName'],{'value':_0xe368e9['source']['commandParam']}),_0x3ab46a['editing']['view']['focus']();}),_0x2b1ac7['once']('change:isOpen',()=>{const _0x2bd9f8=_0x2b1ac7['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2b1ac7,_0x5e2ecd,_0x2bd9f8);}),_0x2b1ac7;});}['_registerMenuBarComponent']({accessibleLabel:_0x25472a,options:_0x4c3b9d}){const _0x25d770=this['editor'],_0x71cefb=_0x25d770['commands']['get']('lineHeight');_0x25d770['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4d494e=>{const _0x5b33a5=new _0x17998c(_0x4d494e);_0x5b33a5['buttonView']['set']({'label':_0x25472a,'icon':_0x3a4e8c}),_0x5b33a5['bind']('isEnabled')['to'](_0x71cefb);const _0x4bd3cd=new _0xe04f40(_0x4d494e);for(const _0x361b9d of _0x4c3b9d){const _0x1ef517=new _0x34e9d3(_0x4d494e,_0x5b33a5),_0x44196d=new _0x3b4c99(_0x4d494e);_0x44196d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x44196d['bind'](...Object['keys'](_0x361b9d['model']))['to'](_0x361b9d['model']),_0x44196d['delegate']('execute')['to'](_0x5b33a5),_0x44196d['on']('execute',()=>{_0x25d770['execute'](_0x361b9d['model']['commandName'],{'value':_0x361b9d['model']['commandParam']}),_0x25d770['editing']['view']['focus']();}),_0x1ef517['children']['add'](_0x44196d),_0x4bd3cd['items']['add'](_0x1ef517);}return _0x5b33a5['panelView']['children']['add'](_0x4bd3cd),this['_attachCustomOptionVisibilityHandler'](_0x5b33a5,_0x4c3b9d,_0x4bd3cd),_0x5b33a5;});}['_attachCustomOptionVisibilityHandler'](_0x402777,_0x177b66,_0xbb557f){if(!this['_shouldRenderCustomValueOption']())return;const _0x1478cd=()=>{if(!_0x402777['isOpen'])return;_0xbb557f['items']['last']['isVisible']=Boolean(_0x177b66['last']['model']['isOn']);};_0x1478cd(),_0x402777['on']('change:isOpen',()=>{_0x1478cd();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4450(_0x3ed8d6,_0x26cba6){const _0x1ac3bb=_0x1ac3();return _0x4450=function(_0x44503d,_0x2a1245){_0x44503d=_0x44503d-0x104;let _0x2254bd=_0x1ac3bb[_0x44503d];return _0x2254bd;},_0x4450(_0x3ed8d6,_0x26cba6);}(function(_0x47d594,_0x5855b4){const _0x5c75e6=_0x4450,_0x5db48b=_0x47d594();while(!![]){try{const _0x4326c4=parseInt(_0x5c75e6(0x115))/0x1+-parseInt(_0x5c75e6(0x123))/0x2*(-parseInt(_0x5c75e6(0x124))/0x3)+parseInt(_0x5c75e6(0x126))/0x4*(parseInt(_0x5c75e6(0x10c))/0x5)+-parseInt(_0x5c75e6(0x11e))/0x6+-parseInt(_0x5c75e6(0x125))/0x7+-parseInt(_0x5c75e6(0x112))/0x8*(-parseInt(_0x5c75e6(0x119))/0x9)+-parseInt(_0x5c75e6(0x10a))/0xa*(parseInt(_0x5c75e6(0x108))/0xb);if(_0x4326c4===_0x5855b4)break;else _0x5db48b['push'](_0x5db48b['shift']());}catch(_0x2a82df){_0x5db48b['push'](_0x5db48b['shift']());}}}(_0x1ac3,0x6c0ed));function _0x1ac3(){const _0x7d8977=['Single','432EHLgxt','model','toLowerCase','map','values','2516886JsKFAm','key','line-height:','single','default','40UnzOda','132285hWjckz','4683238fpeGXv','2073196vXULnu','number','line-height-single','push','filter','16215034KjcCcS','span','10pTFamX','double','5WJZCox','defaultValue','string','view','class','line-height-double','146344uoxAVu','Double','value','726951LPFByP','style','options'];_0x1ac3=function(){return _0x7d8977;};return _0x1ac3();}const v={get 'single'(){const _0x48baed=_0x4450;return{'title':_0x48baed(0x118),'model':_0x48baed(0x121),'view':{'key':_0x48baed(0x110),'value':_0x48baed(0x105)}};},get 'double'(){const _0x382769=_0x4450;return{'title':_0x382769(0x113),'model':_0x382769(0x10b),'view':{'key':_0x382769(0x110),'value':_0x382769(0x111)}};}};export function isLineHeightDefaultValue(_0x26b3b4){const _0x585521=_0x4450;return _0x585521(0x10e)==typeof _0x26b3b4&&_0x585521(0x122)===_0x26b3b4[_0x585521(0x11b)]();}export function normalizeOptions(_0x5c5932){const _0x26528e=_0x4450;return _0x5c5932[_0x26528e(0x117)][_0x26528e(0x11c)](_0x7d4e0d=>isLineHeightDefaultValue(_0x7d4e0d)?{'title':String(_0x5c5932[_0x26528e(0x10d)]),'model':_0x26528e(0x122)}:(_0x26528e(0x104)==typeof _0x7d4e0d&&(_0x7d4e0d=String(_0x7d4e0d)),_0x26528e(0x10e)!=typeof _0x7d4e0d?_0x7d4e0d:parseFloat(_0x7d4e0d)?{'title':_0x7d4e0d,'model':_0x7d4e0d,'view':{'name':_0x26528e(0x109),'styles':{'line-height':_0x7d4e0d}}}:findPreset(_0x7d4e0d)))[_0x26528e(0x107)](_0x283210=>void 0x0!==_0x283210);}export function findPreset(_0x15eb8){const _0x1c22c8=_0x4450;return _0x1c22c8(0x10e)==typeof _0x15eb8?v[_0x15eb8]:v[_0x15eb8[_0x1c22c8(0x11a)]];}export function buildDefinition(_0x104857,_0x5c5a4f){const _0x23b802=_0x4450,_0x27e018={'model':{'key':_0x104857,'values':[]},'view':{}};for(const _0x2baea6 of _0x5c5a4f)_0x23b802(0x110)===_0x2baea6[_0x23b802(0x10f)]?.[_0x23b802(0x11f)]?(_0x27e018[_0x23b802(0x11a)][_0x23b802(0x11d)][_0x23b802(0x106)](_0x2baea6[_0x23b802(0x11a)]),_0x27e018[_0x23b802(0x10f)][_0x2baea6[_0x23b802(0x11a)]]={'key':_0x23b802(0x110),'value':_0x2baea6[_0x23b802(0x10f)][_0x23b802(0x114)]}):(_0x27e018[_0x23b802(0x11a)][_0x23b802(0x11d)][_0x23b802(0x106)](_0x2baea6[_0x23b802(0x11a)]),_0x27e018[_0x23b802(0x10f)][_0x2baea6[_0x23b802(0x11a)]]={'key':_0x23b802(0x116),'value':_0x23b802(0x120)+_0x2baea6[_0x23b802(0x11a)]+';'});return _0x27e018;}
|