@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250917.0 → 0.0.0-nightly-20250918.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1accfa=_0xfc76;function _0xfc76(_0x59a03a,_0x53c950){const _0x3f48f3=_0x3f48();return _0xfc76=function(_0xfc7681,_0x5e6b53){_0xfc7681=_0xfc7681-0x1ca;let _0x521e20=_0x3f48f3[_0xfc7681];return _0x521e20;},_0xfc76(_0x59a03a,_0x53c950);}(function(_0x41fd43,_0x189030){const _0x57ede7=_0xfc76,_0x3aaba1=_0x41fd43();while(!![]){try{const _0x40d426=parseInt(_0x57ede7(0x1da))/0x1+parseInt(_0x57ede7(0x1d4))/0x2*(-parseInt(_0x57ede7(0x1e1))/0x3)+-parseInt(_0x57ede7(0x1df))/0x4*(parseInt(_0x57ede7(0x1ce))/0x5)+parseInt(_0x57ede7(0x1d2))/0x6*(parseInt(_0x57ede7(0x1dc))/0x7)+-parseInt(_0x57ede7(0x1e5))/0x8*(parseInt(_0x57ede7(0x1d0))/0x9)+-parseInt(_0x57ede7(0x1e2))/0xa*(-parseInt(_0x57ede7(0x1d5))/0xb)+parseInt(_0x57ede7(0x1d7))/0xc;if(_0x40d426===_0x189030)break;else _0x3aaba1['push'](_0x3aaba1['shift']());}catch(_0x1ce5cb){_0x3aaba1['push'](_0x3aaba1['shift']());}}}(_0x3f48,0x41709));function _0x3f48(){const _0x4028ed=['value','removeAttribute','lineHeight','getAttribute','1715MPfNst','model','54vRTPpn','execute','30PkwUSD','from','166yPnLZR','69509ggbFLn','change','4061544ADkDKb','selection','refresh','451269CGJBYc','schema','134092QamveQ','_canHaveLineHeight','editor','5644YzdAUm','getSelectedBlocks','8457eMOzDs','220oldHeP','isEnabled','filter','51384GXBRLs','document','setAttribute','checkAttribute'];_0x3f48=function(){return _0x4028ed;};return _0x3f48();}import{Command as _0xfa046f}from'ckeditor5/src/core.js';import{first as _0x4da184}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0xfa046f{[_0x1accfa(0x1d9)](){const _0x9b3f5d=_0x1accfa,_0x2f106e=this[_0x9b3f5d(0x1de)][_0x9b3f5d(0x1cf)][_0x9b3f5d(0x1e6)],_0x5a2509=_0x4da184(_0x2f106e[_0x9b3f5d(0x1d8)][_0x9b3f5d(0x1e0)]());this[_0x9b3f5d(0x1e3)]=Boolean(_0x5a2509)&&this[_0x9b3f5d(0x1dd)](_0x5a2509),this[_0x9b3f5d(0x1ca)]=this[_0x9b3f5d(0x1e3)]&&_0x5a2509[_0x9b3f5d(0x1cd)](_0x9b3f5d(0x1cc));}[_0x1accfa(0x1d1)](_0x1b0ffd={}){const _0x37dd15=_0x1accfa,_0x2f8d5c=this[_0x37dd15(0x1de)][_0x37dd15(0x1cf)],_0x1f157c=_0x2f8d5c[_0x37dd15(0x1e6)][_0x37dd15(0x1d8)],_0x3d2e3b=_0x1b0ffd[_0x37dd15(0x1ca)];_0x2f8d5c[_0x37dd15(0x1d6)](_0x58ba65=>{const _0x20927e=_0x37dd15,_0x5e4b4c=Array[_0x20927e(0x1d3)](_0x1f157c[_0x20927e(0x1e0)]())[_0x20927e(0x1e4)](_0x35a2ab=>this[_0x20927e(0x1dd)](_0x35a2ab));for(const _0x43d98d of _0x5e4b4c)_0x3d2e3b?_0x58ba65[_0x20927e(0x1e7)](_0x20927e(0x1cc),_0x3d2e3b,_0x43d98d):_0x58ba65[_0x20927e(0x1cb)](_0x20927e(0x1cc),_0x43d98d);});}[_0x1accfa(0x1dd)](_0x3e123c){const _0x526ed6=_0x1accfa;return this[_0x526ed6(0x1de)][_0x526ed6(0x1cf)][_0x526ed6(0x1db)][_0x526ed6(0x1e8)](_0x3e123c,_0x526ed6(0x1cc));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x136747=_0x2ea5;(function(_0x3ec29a,_0x46e49e){const _0x34a5cb=_0x2ea5,_0x261fec=_0x3ec29a();while(!![]){try{const _0x1cdd8c=parseInt(_0x34a5cb(0xd8))/0x1*(parseInt(_0x34a5cb(0xb4))/0x2)+parseInt(_0x34a5cb(0xd6))/0x3*(-parseInt(_0x34a5cb(0xc3))/0x4)+parseInt(_0x34a5cb(0xb3))/0x5+parseInt(_0x34a5cb(0xb5))/0x6+parseInt(_0x34a5cb(0xd7))/0x7+parseInt(_0x34a5cb(0xda))/0x8*(-parseInt(_0x34a5cb(0xb6))/0x9)+-parseInt(_0x34a5cb(0xb9))/0xa*(-parseInt(_0x34a5cb(0xb7))/0xb);if(_0x1cdd8c===_0x46e49e)break;else _0x261fec['push'](_0x261fec['shift']());}catch(_0x17531b){_0x261fec['push'](_0x261fec['shift']());}}}(_0x2968,0x60122));function _0x2ea5(_0x287898,_0x224771){const _0x29688a=_0x2968();return _0x2ea5=function(_0x2ea5e8,_0x5cb95f){_0x2ea5e8=_0x2ea5e8-0xa8;let _0x10c835=_0x29688a[_0x2ea5e8];return _0x10c835;},_0x2ea5(_0x287898,_0x224771);}import{Plugin as _0x55ffbb}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x97ed98}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x20832c}from'ckeditor5/src/engine.js';function _0x2968(){const _0x470113=['isOfficialPlugin','editor','href','extend','line-height','downcast','length','lineHeight.defaultValue','316dxMpZG','conversion','model','filter','afterInit','string','setAttributeProperties','values','get','line-height-invalid-use-of-named-presets','$block','fromCharCode','_prepareAnyValueConverters','define','lineHeight.supportAllValues','style','_preparePredefinedConverters','add','join','22827VuVLjm','2930956pKmptH','14919aVAsSM','includes','912PpNRnS','slice','config','getStyle','commands','init','lineHeight.options','upcast','schema','default','for','_validateConfig','lineHeight','attributeToAttribute','isPremiumPlugin','LineHeightEditing','11555yZuHqK','4VKIJRW','3167142ISVRtG','47070btCLmt','6733353tpHJcD','pluginName','10mORQKD','map'];_0x2968=function(){return _0x470113;};return _0x2968();}import{uid as _0x319413,CKEditorError as _0x1a2432}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4d9431,isLineHeightDefaultValue as _0x280693,normalizeOptions as _0x3d488b}from'./utils.js';export class LineHeightEditing extends _0x55ffbb{static get[_0x136747(0xb8)](){const _0x32102c=_0x136747;return _0x32102c(0xb2);}static get[_0x136747(0xbb)](){return!0x0;}static get[_0x136747(0xb1)](){return!0x0;}constructor(_0x49013f){const _0x520a4b=_0x136747;super(_0x49013f),_0x49013f[_0x520a4b(0xdc)][_0x520a4b(0xd0)](_0x520a4b(0xaf),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x520a4b(0xac),0x2,2.5,0x3]});}[_0x136747(0xa8)](){const _0x1a2027=_0x136747,_0x5ebe8e=this[_0x1a2027(0xbc)];this[_0x1a2027(0xae)](),_0x5ebe8e[_0x1a2027(0xc5)][_0x1a2027(0xab)][_0x1a2027(0xbe)](_0x1a2027(0xcd),{'allowAttributes':_0x1a2027(0xaf)}),_0x5ebe8e[_0x1a2027(0xc5)][_0x1a2027(0xab)][_0x1a2027(0xc9)](_0x1a2027(0xaf),{'isFormatting':!0x0}),_0x5ebe8e[_0x1a2027(0xde)][_0x1a2027(0xd4)](_0x1a2027(0xaf),new _0x97ed98(_0x5ebe8e)),this[_0x1a2027(0xbc)][_0x1a2027(0xdc)][_0x1a2027(0xcb)](_0x1a2027(0xd1))?this[_0x1a2027(0xcf)]():this[_0x1a2027(0xd3)]();}[_0x136747(0xc7)](){!async function(_0x7d0760){const _0x2e8f39=_0x4cc66d([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x3c7dbf=0x4597e011,_0x125a24=0x459093b1^_0x3c7dbf,_0x42d9b1=window[_0x4cc66d([0x44,0x61,0x74,0x65])][_0x4cc66d([0x6e,0x6f,0x77])](),_0x205b03=_0x7d0760[_0x4cc66d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2077e1=new window[(_0x4cc66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2f45=>{_0x205b03[_0x4cc66d([0x6f,0x6e,0x63,0x65])](_0x4cc66d([0x72,0x65,0x61,0x64,0x79]),_0x4f2f45);}),_0x1248a8={[_0x4cc66d([0x6b,0x74,0x79])]:_0x4cc66d([0x45,0x43]),[_0x4cc66d([0x75,0x73,0x65])]:_0x4cc66d([0x73,0x69,0x67]),[_0x4cc66d([0x63,0x72,0x76])]:_0x4cc66d([0x50,0x2d,0x32,0x35,0x36]),[_0x4cc66d([0x78])]:_0x4cc66d([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]),[_0x4cc66d([0x79])]:_0x4cc66d([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]),[_0x4cc66d([0x61,0x6c,0x67])]:_0x4cc66d([0x45,0x53,0x32,0x35,0x36])},_0x214de6=_0x205b03[_0x4cc66d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4cc66d([0x67,0x65,0x74])](_0x4cc66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f0137(){let _0x29c85e,_0x3e30ca=null,_0x43ae6a=null;try{if(_0x214de6==_0x4cc66d([0x47,0x50,0x4c]))return _0x4cc66d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29c85e=_0x103ce8(),!_0x29c85e)return _0x4cc66d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29c85e[_0x4cc66d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43ae6a=_0x555c83(_0x29c85e[_0x4cc66d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29c85e[_0x4cc66d([0x6a,0x74,0x69])])),await _0x181c87()?_0x5b4a24()?_0xdf1da9()?_0x4cc66d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x556cea()?(_0x29c85e[_0x4cc66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cc66d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e30ca=_0xe0551a(_0x4cc66d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29c85e[_0x4cc66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cc66d([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e30ca=_0xe0551a(_0x4cc66d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x245474()):_0x4cc66d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4cc66d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4cc66d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4cc66d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdf1da9(){const _0xb9e406=[_0x4cc66d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4cc66d([0x74,0x72,0x69,0x61,0x6c])][_0x4cc66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c85e[_0x4cc66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42d9b1/0x3e8:0xe10*_0x125a24;return _0x29c85e[_0x4cc66d([0x65,0x78,0x70])]<_0xb9e406;}function _0x5b4a24(){const _0x5a7a11=_0x29c85e[_0x4cc66d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a7a11&&(!!_0x5a7a11[_0x4cc66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc66d([0x2a]))||!!_0x5a7a11[_0x4cc66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc66d([0x4c,0x48])));}function _0x556cea(){const _0x351d96=_0x2ea5,_0x5d7e97=_0x29c85e[_0x4cc66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d7e97||0x0==_0x5d7e97[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x243957}=new URL(window[_0x4cc66d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x351d96(0xbd)]);if(_0x5d7e97[_0x4cc66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243957))return!0x0;const _0x6d09ad=_0x243957[_0x4cc66d([0x73,0x70,0x6c,0x69,0x74])](_0x4cc66d([0x2e]));return _0x5d7e97[_0x4cc66d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x238c9c=>_0x238c9c[_0x4cc66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc66d([0x2a])))[_0x4cc66d([0x6d,0x61,0x70])](_0x7869c7=>_0x7869c7[_0x4cc66d([0x73,0x70,0x6c,0x69,0x74])](_0x4cc66d([0x2e])))[_0x4cc66d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d2876=>_0x3d2876[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6d09ad[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cc66d([0x6d,0x61,0x70])](_0x4e9634=>Array(_0x6d09ad[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e9634[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cc66d([0x66,0x69,0x6c,0x6c])](_0x4e9634[0x0]===_0x4cc66d([0x2a])?_0x4cc66d([0x2a]):'')[_0x4cc66d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e9634))[_0x4cc66d([0x73,0x6f,0x6d,0x65])](_0x50bd4f=>_0x6d09ad[_0x4cc66d([0x65,0x76,0x65,0x72,0x79])]((_0x409c66,_0x156f4)=>_0x50bd4f[_0x156f4]===_0x409c66||_0x50bd4f[_0x156f4]===_0x4cc66d([0x2a])));}function _0x245474(){return _0x3e30ca&&_0x43ae6a?new window[(_0x4cc66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f274a,_0x21f30e)=>{_0x3e30ca[_0x4cc66d([0x74,0x68,0x65,0x6e])](_0x3f274a,_0x21f30e),_0x43ae6a[_0x4cc66d([0x74,0x68,0x65,0x6e])](_0x18f105=>{_0x18f105!=_0x4cc66d([0x56,0x61,0x6c,0x69,0x64])&&_0x3f274a(_0x18f105);},_0x21f30e);}):_0x3e30ca||_0x43ae6a||_0x4cc66d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x555c83(_0x178b34,_0x5987f8){return new window[(_0x4cc66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44dd09=>{if(_0x58f1bb())return _0x44dd09(_0x4cc66d([0x56,0x61,0x6c,0x69,0x64]));_0x294095(),_0x205b03[_0x4cc66d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4cc66d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x555444=!0x1;const _0x2314b7=_0x319413();function _0x123605(_0x7a5f8){return!!_0x7a5f8&&(typeof _0x7a5f8===_0x4cc66d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7a5f8===_0x4cc66d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7a5f8[_0x4cc66d([0x74,0x68,0x65,0x6e])]===_0x4cc66d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7a5f8[_0x4cc66d([0x63,0x61,0x74,0x63,0x68])]===_0x4cc66d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x285229(_0x1ed566){_0x1865c3(_0x1ed566)[_0x4cc66d([0x74,0x68,0x65,0x6e])](_0x206d92=>{if(!_0x206d92||_0x206d92[_0x4cc66d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4cc66d([0x6f,0x6b]))return _0x4cc66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xed2e83(_0x3273a6(_0x2314b7+_0x5987f8))!=_0x206d92[_0x4cc66d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4cc66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4cc66d([0x56,0x61,0x6c,0x69,0x64]);})[_0x4cc66d([0x74,0x68,0x65,0x6e])](_0x587c8c=>(_0x45e6db(),_0x587c8c),()=>{const _0x5d03c4=_0x154421();return null==_0x5d03c4?(_0x45e6db(),_0x4cc66d([0x56,0x61,0x6c,0x69,0x64])):_0x4cc66d(_0x42d9b1-_0x5d03c4>(0x619b6411^_0x3c7dbf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4cc66d([0x74,0x68,0x65,0x6e])](_0x44dd09)[_0x4cc66d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44dd09(_0x4cc66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xebaa7b=0x45a10e91^_0x3c7dbf;function _0x45e6db(){const _0x55148f=_0x4cc66d([0x6c,0x6c,0x63,0x74,0x2d])+_0xed2e83(_0x3273a6(_0x178b34)),_0x319787=_0x811225(_0xed2e83(window[_0x4cc66d([0x4d,0x61,0x74,0x68])][_0x4cc66d([0x63,0x65,0x69,0x6c])](_0x42d9b1/_0xebaa7b)));window[_0x4cc66d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cc66d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55148f,_0x319787);}function _0x154421(){const _0x180e84=_0x4cc66d([0x6c,0x6c,0x63,0x74,0x2d])+_0xed2e83(_0x3273a6(_0x178b34)),_0x39a1e6=window[_0x4cc66d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cc66d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x180e84);return _0x39a1e6?window[_0x4cc66d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x811225(_0x39a1e6),0x10)*_0xebaa7b:null;}function _0x1865c3(_0x532c20){return new window[(_0x4cc66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35ddcd,_0x5db5e8)=>{_0x532c20[_0x4cc66d([0x74,0x68,0x65,0x6e])](_0x35ddcd,_0x5db5e8),window[_0x4cc66d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5db5e8,0x459634d1^_0x3c7dbf);});}}_0x205b03[_0x4cc66d([0x6f,0x6e])](_0x4cc66d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43afea,_0x4eb010)=>{if(_0x4eb010[0x0]!=_0x178b34)return _0x44dd09(_0x4cc66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4eb010[0x1]={..._0x4eb010[0x1],[_0x4cc66d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2314b7};},{[_0x4cc66d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cc66d([0x68,0x69,0x67,0x68])}),_0x205b03[_0x4cc66d([0x6f,0x6e])](_0x4cc66d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c0ba2=>{_0x123605(_0x4c0ba2[_0x4cc66d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x555444=!0x0,_0x285229(_0x4c0ba2[_0x4cc66d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4cc66d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cc66d([0x6c,0x6f,0x77])}),_0x2077e1[_0x4cc66d([0x74,0x68,0x65,0x6e])](()=>{_0x555444||_0x44dd09(_0x4cc66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58f1bb(){return _0x205b03[_0x4cc66d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cc66d([0x76,0x69,0x65,0x77])][_0x4cc66d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4cc66d([0x61,0x75,0x74,0x6f]);}function _0x294095(){_0x205b03[_0x4cc66d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cc66d([0x76,0x69,0x65,0x77])][_0x4cc66d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cc66d([0x61,0x75,0x74,0x6f]);}}function _0xe0551a(_0x1e0079){const _0x1f95cb=[new window[(_0x4cc66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x474e65=>setTimeout(_0x474e65,0x459ededd^_0x3c7dbf)),_0x2077e1[_0x4cc66d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4cc66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x547fc8=>{let _0x106a26=0x0;_0x205b03[_0x4cc66d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc66d([0x6f,0x6e])](_0x4cc66d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x425ed4,_0x106a6a)=>{_0x106a6a[0x0][_0x4cc66d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x106a26++,_0x106a26==(0x4597e1e9^_0x3c7dbf)&&(_0x547fc8(),_0x425ed4[_0x4cc66d([0x6f,0x66,0x66])]());});}))];return window[_0x4cc66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cc66d([0x72,0x61,0x63,0x65])](_0x1f95cb)[_0x4cc66d([0x74,0x68,0x65,0x6e])](()=>_0x1e0079);}async function _0xe3939(){await _0x2077e1,_0x205b03[_0x4cc66d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc66d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2926e4,_0x205b03[_0x4cc66d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cc66d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2926e4,_0x205b03[_0x4cc66d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4cc66d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14bb08(_0x313654){const _0x273f45=_0x52cc81();_0x205b03[_0x273f45]=_0x4cc66d([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x313654,_0x313654!=_0x4cc66d([0x56,0x61,0x6c,0x69,0x64])&&_0xe3939();}function _0x52cc81(){const _0x4da0fe=window[_0x4cc66d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4cc66d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4cc66d([0x6e,0x6f,0x77])]())[_0x4cc66d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4cc66d([0x2e]),'');let _0x3a5d74=_0x4cc66d([0x51]);for(let _0x12ff47=0x0;_0x12ff47<_0x4da0fe[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12ff47+=0x2){let _0x4fca5d=window[_0x4cc66d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4da0fe[_0x4cc66d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12ff47,_0x12ff47+0x2));_0x4fca5d>=_0x2e8f39[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fca5d-=_0x2e8f39[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a5d74+=_0x2e8f39[_0x4fca5d];}return _0x3a5d74;}function _0x103ce8(){const _0x24bae9=_0x214de6[_0x4cc66d([0x73,0x70,0x6c,0x69,0x74])](_0x4cc66d([0x2e]));if(0x3!=_0x24bae9[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x418b0f(_0x24bae9[0x1]);function _0x418b0f(_0x5345cd){const _0x14cd21=_0x491fa7(_0x5345cd);return _0x14cd21&&_0x1181c5()?_0x14cd21:null;function _0x1181c5(){const _0x2491b4=_0x14cd21[_0x4cc66d([0x6a,0x74,0x69])],_0x4058e1=window[_0x4cc66d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2491b4[_0x4cc66d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2491b4[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x92e367={..._0x14cd21,[_0x4cc66d([0x6a,0x74,0x69])]:_0x2491b4[_0x4cc66d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2491b4[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x92e367[_0x4cc66d([0x76,0x63])],_0x3273a6(_0x92e367)==_0x4058e1;}}}async function _0x181c87(){let _0x1313f1=!0x0;try{const _0x4c0fdd=_0x214de6[_0x4cc66d([0x73,0x70,0x6c,0x69,0x74])](_0x4cc66d([0x2e])),[_0x232388,_0x4e7ac8,_0x524b07]=_0x4c0fdd;return _0x3b182d(_0x232388),await _0x1a4a00(_0x232388,_0x4e7ac8,_0x524b07),_0x1313f1;}catch{return!0x1;}function _0x3b182d(_0x5b6257){const _0x3a0c85=_0x491fa7(_0x5b6257);_0x3a0c85&&_0x3a0c85[_0x4cc66d([0x61,0x6c,0x67])]==_0x4cc66d([0x45,0x53,0x32,0x35,0x36])||(_0x1313f1=!0x1);}async function _0x1a4a00(_0x563652,_0x3b3592,_0xb7b846){const _0x54d2e1=window[_0x4cc66d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4cc66d([0x66,0x72,0x6f,0x6d])](_0x1faea1(_0xb7b846),_0x99adaa=>_0x99adaa[_0x4cc66d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x469700=new window[(_0x4cc66d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4cc66d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x563652+_0x4cc66d([0x2e])+_0x3b3592),_0x261409=window[_0x4cc66d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4cc66d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x261409)return;const _0x226a9b=await _0x261409[_0x4cc66d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4cc66d([0x6a,0x77,0x6b]),_0x1248a8,{[_0x4cc66d([0x6e,0x61,0x6d,0x65])]:_0x4cc66d([0x45,0x43,0x44,0x53,0x41]),[_0x4cc66d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4cc66d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4cc66d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x261409[_0x4cc66d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4cc66d([0x6e,0x61,0x6d,0x65])]:_0x4cc66d([0x45,0x43,0x44,0x53,0x41]),[_0x4cc66d([0x68,0x61,0x73,0x68])]:{[_0x4cc66d([0x6e,0x61,0x6d,0x65])]:_0x4cc66d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x226a9b,_0x54d2e1,_0x469700)||(_0x1313f1=!0x1);}}function _0x491fa7(_0x18c4bf){return _0x18c4bf[_0x4cc66d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4cc66d([0x65,0x79]))?JSON[_0x4cc66d([0x70,0x61,0x72,0x73,0x65])](_0x1faea1(_0x18c4bf)):null;}function _0x1faea1(_0x22c945){return window[_0x4cc66d([0x61,0x74,0x6f,0x62])](_0x22c945[_0x4cc66d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4cc66d([0x2b]))[_0x4cc66d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4cc66d([0x2f])));}function _0x3273a6(_0x51f002){let _0x593162=0x1505;function _0x146d1d(_0x32950f){for(let _0x272b9a=0x0;_0x272b9a<_0x32950f[_0x4cc66d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x272b9a++){const _0x154b2f=_0x32950f[_0x4cc66d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x272b9a);_0x593162=(_0x593162<<0x5)+_0x593162+_0x154b2f,_0x593162&=_0x593162;}}function _0x3f5f14(_0x58c9bd){Array[_0x4cc66d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x58c9bd)?_0x58c9bd[_0x4cc66d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f5f14):_0x58c9bd&&typeof _0x58c9bd==_0x4cc66d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4cc66d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x58c9bd)[_0x4cc66d([0x73,0x6f,0x72,0x74])]()[_0x4cc66d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d8619,_0x217a80])=>{_0x146d1d(_0x5d8619),_0x3f5f14(_0x217a80);}):_0x146d1d(window[_0x4cc66d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x58c9bd));}return _0x3f5f14(_0x51f002),_0x593162>>>0x0;}function _0xed2e83(_0x3c1b29){return _0x3c1b29[_0x4cc66d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4cc66d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4cc66d([0x30]));}function _0x811225(_0x606190){return _0x606190[_0x4cc66d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4cc66d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4cc66d([0x6a,0x6f,0x69,0x6e])]('');}function _0x2926e4(){}function _0x4cc66d(_0x2ca32b){const _0x21238f=_0x2ea5;return _0x2ca32b[_0x21238f(0xba)](_0x30a2bc=>String[_0x21238f(0xce)](_0x30a2bc))[_0x21238f(0xd5)]('');}_0x14bb08(await _0x1f0137());}(this);}[_0x136747(0xae)](){const _0x487e90=_0x136747,_0x19d07f=this[_0x487e90(0xbc)];if(!_0x19d07f[_0x487e90(0xdc)][_0x487e90(0xcb)](_0x487e90(0xd1)))return;const _0x1e9098=_0x19d07f[_0x487e90(0xdc)][_0x487e90(0xcb)](_0x487e90(0xa9))[_0x487e90(0xc6)](_0x2558ad=>_0x487e90(0xc8)==typeof _0x2558ad&&(!_0x280693(_0x2558ad)&&isNaN(Number(_0x2558ad))));if(_0x1e9098[_0x487e90(0xc1)])throw new _0x1a2432(_0x487e90(0xcc),null,{'namedPresets':_0x1e9098});}[_0x136747(0xcf)](){const _0x3968b7=_0x136747,_0x5cc69b=this[_0x3968b7(0xbc)],_0x14de63=this[_0x3968b7(0xbc)][_0x3968b7(0xdc)][_0x3968b7(0xcb)](_0x3968b7(0xc2));_0x5cc69b[_0x3968b7(0xc4)][_0x3968b7(0xad)](_0x3968b7(0xc0))[_0x3968b7(0xb0)]({'model':{'key':_0x3968b7(0xaf)},'view':_0x51c1de=>String(_0x51c1de)===String(_0x14de63)?null:{'key':_0x3968b7(0xd2),'value':{'line-height':_0x51c1de}}}),_0x5cc69b[_0x3968b7(0xc4)][_0x3968b7(0xad)](_0x3968b7(0xaa))[_0x3968b7(0xb0)]({'model':{'key':_0x3968b7(0xaf),'value':_0x538169=>{const _0x41d118=_0x3968b7;let _0x53dfbd=_0x538169[_0x41d118(0xdd)](_0x41d118(0xbf));return _0x20832c(_0x53dfbd)&&(_0x53dfbd=String(Number(_0x53dfbd[_0x41d118(0xdb)](0x0,-0x1))/0x64)),String(_0x53dfbd)===String(_0x14de63)?null:_0x53dfbd;}},'view':{'styles':{'line-height':/.*/}}});}[_0x136747(0xd3)](){const _0x41ac7d=_0x136747,_0x50d255=this[_0x41ac7d(0xbc)],_0x43c8de=this[_0x41ac7d(0xbc)][_0x41ac7d(0xdc)][_0x41ac7d(0xcb)](_0x41ac7d(0xc2)),_0x2b2433=_0x3d488b(this[_0x41ac7d(0xbc)][_0x41ac7d(0xdc)][_0x41ac7d(0xcb)](_0x41ac7d(0xaf)))[_0x41ac7d(0xc6)](_0x5ad42e=>_0x5ad42e[_0x41ac7d(0xc5)]),_0x15a6f6=_0x4d9431(_0x41ac7d(0xaf),_0x2b2433);_0x50d255[_0x41ac7d(0xc4)][_0x41ac7d(0xb0)](_0x15a6f6),_0x50d255[_0x41ac7d(0xc4)][_0x41ac7d(0xad)](_0x41ac7d(0xaa))[_0x41ac7d(0xb0)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x41ac7d(0xaf),'value':_0x4770ed=>{const _0x293b58=_0x41ac7d;let _0x23cdc0=_0x4770ed[_0x293b58(0xdd)](_0x293b58(0xbf));return _0x20832c(_0x23cdc0)&&(_0x23cdc0=String(Number(_0x23cdc0[_0x293b58(0xdb)](0x0,-0x1))/0x64)),_0x23cdc0===String(_0x43c8de)?null:_0x15a6f6[_0x293b58(0xc5)][_0x293b58(0xca)][_0x293b58(0xd9)](_0x23cdc0)?_0x23cdc0:null;}}});}}
|
|
23
|
+
const _0x38536e=_0x1748;(function(_0x3b5411,_0x273710){const _0x2f15fe=_0x1748,_0x371bd3=_0x3b5411();while(!![]){try{const _0x59319f=parseInt(_0x2f15fe(0x93))/0x1+parseInt(_0x2f15fe(0x9b))/0x2*(parseInt(_0x2f15fe(0xa5))/0x3)+parseInt(_0x2f15fe(0xbb))/0x4+parseInt(_0x2f15fe(0xa1))/0x5*(-parseInt(_0x2f15fe(0xc1))/0x6)+parseInt(_0x2f15fe(0xb1))/0x7+parseInt(_0x2f15fe(0x97))/0x8+-parseInt(_0x2f15fe(0x91))/0x9*(parseInt(_0x2f15fe(0x9c))/0xa);if(_0x59319f===_0x273710)break;else _0x371bd3['push'](_0x371bd3['shift']());}catch(_0x4cddd6){_0x371bd3['push'](_0x371bd3['shift']());}}}(_0x52dd,0x4ff1a));import{Plugin as _0x2b88de}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x284b39}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x21a2d0}from'ckeditor5/src/engine.js';function _0x1748(_0x5b09ee,_0x5b7750){const _0x52dd9a=_0x52dd();return _0x1748=function(_0x17486e,_0x429e86){_0x17486e=_0x17486e-0x8d;let _0x503d6b=_0x52dd9a[_0x17486e];return _0x503d6b;},_0x1748(_0x5b09ee,_0x5b7750);}function _0x52dd(){const _0x171075=['_preparePredefinedConverters','for','lineHeight.options','975830RZncmw','14180070aFMftA','slice','isPremiumPlugin','config','init','35095MeSWXI','join','add','upcast','3JlLlKQ','commands','get','$block','define','LineHeightEditing','line-height','values','length','default','getStyle','isOfficialPlugin','684138GryCXj','_prepareAnyValueConverters','map','lineHeight.defaultValue','setAttributeProperties','editor','downcast','model','pluginName','attributeToAttribute','767484liGROK','afterInit','conversion','href','fromCharCode','lineHeight.supportAllValues','42SPyoqE','line-height-invalid-use-of-named-presets','_validateConfig','filter','string','includes','9lXgmvp','extend','625002jlImHZ','lineHeight','schema','style','3136544GYzKwI'];_0x52dd=function(){return _0x171075;};return _0x52dd();}import{uid as _0x5aafc1,CKEditorError as _0x2c290d}from'ckeditor5/src/utils.js';import{buildDefinition as _0x26e296,isLineHeightDefaultValue as _0x182ca0,normalizeOptions as _0xc7b4dc}from'./utils.js';export class LineHeightEditing extends _0x2b88de{static get[_0x38536e(0xb9)](){const _0xf649c8=_0x38536e;return _0xf649c8(0xaa);}static get[_0x38536e(0xb0)](){return!0x0;}static get[_0x38536e(0x9e)](){return!0x0;}constructor(_0x2d51f4){const _0x5d7f30=_0x38536e;super(_0x2d51f4),_0x2d51f4[_0x5d7f30(0x9f)][_0x5d7f30(0xa9)](_0x5d7f30(0x94),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5d7f30(0xae),0x2,2.5,0x3]});}[_0x38536e(0xa0)](){const _0x4227f1=_0x38536e,_0x28f374=this[_0x4227f1(0xb6)];this[_0x4227f1(0x8d)](),_0x28f374[_0x4227f1(0xb8)][_0x4227f1(0x95)][_0x4227f1(0x92)](_0x4227f1(0xa8),{'allowAttributes':_0x4227f1(0x94)}),_0x28f374[_0x4227f1(0xb8)][_0x4227f1(0x95)][_0x4227f1(0xb5)](_0x4227f1(0x94),{'isFormatting':!0x0}),_0x28f374[_0x4227f1(0xa6)][_0x4227f1(0xa3)](_0x4227f1(0x94),new _0x284b39(_0x28f374)),this[_0x4227f1(0xb6)][_0x4227f1(0x9f)][_0x4227f1(0xa7)](_0x4227f1(0xc0))?this[_0x4227f1(0xb2)]():this[_0x4227f1(0x98)]();}[_0x38536e(0xbc)](){!async function(_0x1dbf1f){const _0x2c3f0b=_0x83db5a([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x1abb11=0x4597e011,_0x556199=0x459093a9^_0x1abb11,_0x46d1b0=window[_0x83db5a([0x44,0x61,0x74,0x65])][_0x83db5a([0x6e,0x6f,0x77])](),_0x389980=_0x1dbf1f[_0x83db5a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x519eb7=new window[(_0x83db5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x932429=>{_0x389980[_0x83db5a([0x6f,0x6e,0x63,0x65])](_0x83db5a([0x72,0x65,0x61,0x64,0x79]),_0x932429);}),_0x507842={[_0x83db5a([0x6b,0x74,0x79])]:_0x83db5a([0x45,0x43]),[_0x83db5a([0x75,0x73,0x65])]:_0x83db5a([0x73,0x69,0x67]),[_0x83db5a([0x63,0x72,0x76])]:_0x83db5a([0x50,0x2d,0x32,0x35,0x36]),[_0x83db5a([0x78])]:_0x83db5a([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]),[_0x83db5a([0x79])]:_0x83db5a([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]),[_0x83db5a([0x61,0x6c,0x67])]:_0x83db5a([0x45,0x53,0x32,0x35,0x36])},_0x1e51a0=_0x389980[_0x83db5a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x83db5a([0x67,0x65,0x74])](_0x83db5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7fa697(){let _0x78aca,_0x2d3dbe=null,_0x201586=null;try{if(_0x1e51a0==_0x83db5a([0x47,0x50,0x4c]))return _0x83db5a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x78aca=_0x3093a3(),!_0x78aca)return _0x83db5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x78aca[_0x83db5a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x201586=_0x2b8b3c(_0x78aca[_0x83db5a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x78aca[_0x83db5a([0x6a,0x74,0x69])])),await _0x217d72()?_0x312fa8()?_0x2dc7da()?_0x83db5a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x594e07()?(_0x78aca[_0x83db5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x83db5a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d3dbe=_0x2cc527(_0x83db5a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x78aca[_0x83db5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x83db5a([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d3dbe=_0x2cc527(_0x83db5a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50a584()):_0x83db5a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x83db5a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x83db5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x83db5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2dc7da(){const _0x4943e6=[_0x83db5a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x83db5a([0x74,0x72,0x69,0x61,0x6c])][_0x83db5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x78aca[_0x83db5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46d1b0/0x3e8:0xe10*_0x556199;return _0x78aca[_0x83db5a([0x65,0x78,0x70])]<_0x4943e6;}function _0x312fa8(){const _0x138038=_0x78aca[_0x83db5a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x138038&&(!!_0x138038[_0x83db5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x83db5a([0x2a]))||!!_0x138038[_0x83db5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x83db5a([0x4c,0x48])));}function _0x594e07(){const _0x2ecab1=_0x1748,_0x246601=_0x78aca[_0x83db5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x246601||0x0==_0x246601[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x525127}=new URL(window[_0x83db5a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ecab1(0xbe)]);if(_0x246601[_0x83db5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525127))return!0x0;const _0x4fe1f6=_0x525127[_0x83db5a([0x73,0x70,0x6c,0x69,0x74])](_0x83db5a([0x2e]));return _0x246601[_0x83db5a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ff427=>_0x1ff427[_0x83db5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x83db5a([0x2a])))[_0x83db5a([0x6d,0x61,0x70])](_0x1e11ac=>_0x1e11ac[_0x83db5a([0x73,0x70,0x6c,0x69,0x74])](_0x83db5a([0x2e])))[_0x83db5a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4368cc=>_0x4368cc[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4fe1f6[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x83db5a([0x6d,0x61,0x70])](_0x12a1ce=>Array(_0x4fe1f6[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12a1ce[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x83db5a([0x66,0x69,0x6c,0x6c])](_0x12a1ce[0x0]===_0x83db5a([0x2a])?_0x83db5a([0x2a]):'')[_0x83db5a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12a1ce))[_0x83db5a([0x73,0x6f,0x6d,0x65])](_0x3a835c=>_0x4fe1f6[_0x83db5a([0x65,0x76,0x65,0x72,0x79])]((_0x49f857,_0x5c0938)=>_0x3a835c[_0x5c0938]===_0x49f857||_0x3a835c[_0x5c0938]===_0x83db5a([0x2a])));}function _0x50a584(){return _0x2d3dbe&&_0x201586?new window[(_0x83db5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x246d57,_0x44a14a)=>{_0x2d3dbe[_0x83db5a([0x74,0x68,0x65,0x6e])](_0x246d57,_0x44a14a),_0x201586[_0x83db5a([0x74,0x68,0x65,0x6e])](_0x4e987a=>{_0x4e987a!=_0x83db5a([0x56,0x61,0x6c,0x69,0x64])&&_0x246d57(_0x4e987a);},_0x44a14a);}):_0x2d3dbe||_0x201586||_0x83db5a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b8b3c(_0xa4ac01,_0x1b240b){return new window[(_0x83db5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d24a1=>{if(_0x4ef241())return _0x4d24a1(_0x83db5a([0x56,0x61,0x6c,0x69,0x64]));_0x15c858(),_0x389980[_0x83db5a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x83db5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d0ecd=!0x1;const _0x576b99=_0x5aafc1();function _0x3768a9(_0x44bcfd){return!!_0x44bcfd&&(typeof _0x44bcfd===_0x83db5a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44bcfd===_0x83db5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44bcfd[_0x83db5a([0x74,0x68,0x65,0x6e])]===_0x83db5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44bcfd[_0x83db5a([0x63,0x61,0x74,0x63,0x68])]===_0x83db5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c052e(_0x1d1f84){_0x5abfb1(_0x1d1f84)[_0x83db5a([0x74,0x68,0x65,0x6e])](_0x35b1c4=>{if(!_0x35b1c4||_0x35b1c4[_0x83db5a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x83db5a([0x6f,0x6b]))return _0x83db5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d00e4(_0x4407f6(_0x576b99+_0x1b240b))!=_0x35b1c4[_0x83db5a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x83db5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x83db5a([0x56,0x61,0x6c,0x69,0x64]);})[_0x83db5a([0x74,0x68,0x65,0x6e])](_0xfa1107=>(_0x5637c6(),_0xfa1107),()=>{const _0x5e6806=_0x23fa42();return null==_0x5e6806?(_0x5637c6(),_0x83db5a([0x56,0x61,0x6c,0x69,0x64])):_0x83db5a(_0x46d1b0-_0x5e6806>(0x619b6411^_0x1abb11)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x83db5a([0x74,0x68,0x65,0x6e])](_0x4d24a1)[_0x83db5a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d24a1(_0x83db5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x389a3b=0x45a10e91^_0x1abb11;function _0x5637c6(){const _0x11a4d1=_0x83db5a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d00e4(_0x4407f6(_0xa4ac01)),_0x5a79f9=_0x361dd2(_0x5d00e4(window[_0x83db5a([0x4d,0x61,0x74,0x68])][_0x83db5a([0x63,0x65,0x69,0x6c])](_0x46d1b0/_0x389a3b)));window[_0x83db5a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x83db5a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11a4d1,_0x5a79f9);}function _0x23fa42(){const _0x2a0f2c=_0x83db5a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d00e4(_0x4407f6(_0xa4ac01)),_0x5dbce7=window[_0x83db5a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x83db5a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a0f2c);return _0x5dbce7?window[_0x83db5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x361dd2(_0x5dbce7),0x10)*_0x389a3b:null;}function _0x5abfb1(_0x2e55fc){return new window[(_0x83db5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb50a17,_0x5d2dfe)=>{_0x2e55fc[_0x83db5a([0x74,0x68,0x65,0x6e])](_0xb50a17,_0x5d2dfe),window[_0x83db5a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d2dfe,0x459634d1^_0x1abb11);});}}_0x389980[_0x83db5a([0x6f,0x6e])](_0x83db5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d2ea6,_0x4c36ab)=>{if(_0x4c36ab[0x0]!=_0xa4ac01)return _0x4d24a1(_0x83db5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c36ab[0x1]={..._0x4c36ab[0x1],[_0x83db5a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x576b99};},{[_0x83db5a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x83db5a([0x68,0x69,0x67,0x68])}),_0x389980[_0x83db5a([0x6f,0x6e])](_0x83db5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a3265=>{_0x3768a9(_0x4a3265[_0x83db5a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d0ecd=!0x0,_0x3c052e(_0x4a3265[_0x83db5a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x83db5a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x83db5a([0x6c,0x6f,0x77])}),_0x519eb7[_0x83db5a([0x74,0x68,0x65,0x6e])](()=>{_0x5d0ecd||_0x4d24a1(_0x83db5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ef241(){return _0x389980[_0x83db5a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x83db5a([0x76,0x69,0x65,0x77])][_0x83db5a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x83db5a([0x61,0x75,0x74,0x6f]);}function _0x15c858(){_0x389980[_0x83db5a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x83db5a([0x76,0x69,0x65,0x77])][_0x83db5a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x83db5a([0x61,0x75,0x74,0x6f]);}}function _0x2cc527(_0xcd6e6e){const _0x2ad2d6=[new window[(_0x83db5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e7018=>setTimeout(_0x3e7018,0x459ededd^_0x1abb11)),_0x519eb7[_0x83db5a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x83db5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x150ae3=>{let _0x5c4ba7=0x0;_0x389980[_0x83db5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x83db5a([0x6f,0x6e])](_0x83db5a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x106df1,_0x5b5055)=>{_0x5b5055[0x0][_0x83db5a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c4ba7++,_0x5c4ba7==(0x4597e1e9^_0x1abb11)&&(_0x150ae3(),_0x106df1[_0x83db5a([0x6f,0x66,0x66])]());});}))];return window[_0x83db5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x83db5a([0x72,0x61,0x63,0x65])](_0x2ad2d6)[_0x83db5a([0x74,0x68,0x65,0x6e])](()=>_0xcd6e6e);}async function _0x5d1043(){await _0x519eb7,_0x389980[_0x83db5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x83db5a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29bcb8,_0x389980[_0x83db5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x83db5a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29bcb8,_0x389980[_0x83db5a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x83db5a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x6acb34(_0x17eec7){const _0xc26eb4=_0x2d47d8();_0x389980[_0xc26eb4]=_0x83db5a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x17eec7,_0x17eec7!=_0x83db5a([0x56,0x61,0x6c,0x69,0x64])&&_0x5d1043();}function _0x2d47d8(){const _0x4694e1=window[_0x83db5a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x83db5a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x83db5a([0x6e,0x6f,0x77])]())[_0x83db5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x83db5a([0x2e]),'');let _0x398615=_0x83db5a([0x51]);for(let _0x1a2f73=0x0;_0x1a2f73<_0x4694e1[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a2f73+=0x2){let _0x29339b=window[_0x83db5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4694e1[_0x83db5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a2f73,_0x1a2f73+0x2));_0x29339b>=_0x2c3f0b[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29339b-=_0x2c3f0b[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x398615+=_0x2c3f0b[_0x29339b];}return _0x398615;}function _0x3093a3(){const _0x16dbf8=_0x1e51a0[_0x83db5a([0x73,0x70,0x6c,0x69,0x74])](_0x83db5a([0x2e]));if(0x3!=_0x16dbf8[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18bf30(_0x16dbf8[0x1]);function _0x18bf30(_0x382d28){const _0x22acb7=_0x3e9f28(_0x382d28);return _0x22acb7&&_0x27a534()?_0x22acb7:null;function _0x27a534(){const _0x816f7e=_0x22acb7[_0x83db5a([0x6a,0x74,0x69])],_0x2876dd=window[_0x83db5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x816f7e[_0x83db5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x816f7e[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44deb0={..._0x22acb7,[_0x83db5a([0x6a,0x74,0x69])]:_0x816f7e[_0x83db5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x816f7e[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44deb0[_0x83db5a([0x76,0x63])],_0x4407f6(_0x44deb0)==_0x2876dd;}}}async function _0x217d72(){let _0xcd374=!0x0;try{const _0xa48782=_0x1e51a0[_0x83db5a([0x73,0x70,0x6c,0x69,0x74])](_0x83db5a([0x2e])),[_0x4ed02a,_0x10e372,_0x890984]=_0xa48782;return _0x389471(_0x4ed02a),await _0x386c27(_0x4ed02a,_0x10e372,_0x890984),_0xcd374;}catch{return!0x1;}function _0x389471(_0x301e54){const _0x45bbac=_0x3e9f28(_0x301e54);_0x45bbac&&_0x45bbac[_0x83db5a([0x61,0x6c,0x67])]==_0x83db5a([0x45,0x53,0x32,0x35,0x36])||(_0xcd374=!0x1);}async function _0x386c27(_0x36b5c0,_0x278593,_0x3db954){const _0x5ab729=window[_0x83db5a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x83db5a([0x66,0x72,0x6f,0x6d])](_0x10d85c(_0x3db954),_0x2ed27c=>_0x2ed27c[_0x83db5a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x228777=new window[(_0x83db5a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x83db5a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36b5c0+_0x83db5a([0x2e])+_0x278593),_0x547552=window[_0x83db5a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x83db5a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x547552)return;const _0xc9266b=await _0x547552[_0x83db5a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x83db5a([0x6a,0x77,0x6b]),_0x507842,{[_0x83db5a([0x6e,0x61,0x6d,0x65])]:_0x83db5a([0x45,0x43,0x44,0x53,0x41]),[_0x83db5a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x83db5a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x83db5a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x547552[_0x83db5a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x83db5a([0x6e,0x61,0x6d,0x65])]:_0x83db5a([0x45,0x43,0x44,0x53,0x41]),[_0x83db5a([0x68,0x61,0x73,0x68])]:{[_0x83db5a([0x6e,0x61,0x6d,0x65])]:_0x83db5a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc9266b,_0x5ab729,_0x228777)||(_0xcd374=!0x1);}}function _0x3e9f28(_0x54326b){return _0x54326b[_0x83db5a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x83db5a([0x65,0x79]))?JSON[_0x83db5a([0x70,0x61,0x72,0x73,0x65])](_0x10d85c(_0x54326b)):null;}function _0x10d85c(_0x55dc15){return window[_0x83db5a([0x61,0x74,0x6f,0x62])](_0x55dc15[_0x83db5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x83db5a([0x2b]))[_0x83db5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x83db5a([0x2f])));}function _0x4407f6(_0x19011b){let _0x18e1e3=0x1505;function _0x4fd61c(_0x4e69cf){for(let _0x488b8a=0x0;_0x488b8a<_0x4e69cf[_0x83db5a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x488b8a++){const _0x4bdd3d=_0x4e69cf[_0x83db5a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x488b8a);_0x18e1e3=(_0x18e1e3<<0x5)+_0x18e1e3+_0x4bdd3d,_0x18e1e3&=_0x18e1e3;}}function _0x4a7cf4(_0x1fc179){Array[_0x83db5a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1fc179)?_0x1fc179[_0x83db5a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a7cf4):_0x1fc179&&typeof _0x1fc179==_0x83db5a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x83db5a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1fc179)[_0x83db5a([0x73,0x6f,0x72,0x74])]()[_0x83db5a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15a570,_0x531e3c])=>{_0x4fd61c(_0x15a570),_0x4a7cf4(_0x531e3c);}):_0x4fd61c(window[_0x83db5a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1fc179));}return _0x4a7cf4(_0x19011b),_0x18e1e3>>>0x0;}function _0x5d00e4(_0x605705){return _0x605705[_0x83db5a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x83db5a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x83db5a([0x30]));}function _0x361dd2(_0x2e5511){return _0x2e5511[_0x83db5a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x83db5a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x83db5a([0x6a,0x6f,0x69,0x6e])]('');}function _0x29bcb8(){}function _0x83db5a(_0x57ad12){const _0x39a812=_0x1748;return _0x57ad12[_0x39a812(0xb3)](_0x536d67=>String[_0x39a812(0xbf)](_0x536d67))[_0x39a812(0xa2)]('');}_0x6acb34(await _0x7fa697());}(this);}[_0x38536e(0x8d)](){const _0x2cb60c=_0x38536e,_0xea437c=this[_0x2cb60c(0xb6)];if(!_0xea437c[_0x2cb60c(0x9f)][_0x2cb60c(0xa7)](_0x2cb60c(0xc0)))return;const _0xf3ce3d=_0xea437c[_0x2cb60c(0x9f)][_0x2cb60c(0xa7)](_0x2cb60c(0x9a))[_0x2cb60c(0x8e)](_0x21aba9=>_0x2cb60c(0x8f)==typeof _0x21aba9&&(!_0x182ca0(_0x21aba9)&&isNaN(Number(_0x21aba9))));if(_0xf3ce3d[_0x2cb60c(0xad)])throw new _0x2c290d(_0x2cb60c(0xc2),null,{'namedPresets':_0xf3ce3d});}[_0x38536e(0xb2)](){const _0x41b72f=_0x38536e,_0x4ccd14=this[_0x41b72f(0xb6)],_0x11e047=this[_0x41b72f(0xb6)][_0x41b72f(0x9f)][_0x41b72f(0xa7)](_0x41b72f(0xb4));_0x4ccd14[_0x41b72f(0xbd)][_0x41b72f(0x99)](_0x41b72f(0xb7))[_0x41b72f(0xba)]({'model':{'key':_0x41b72f(0x94)},'view':_0x591967=>String(_0x591967)===String(_0x11e047)?null:{'key':_0x41b72f(0x96),'value':{'line-height':_0x591967}}}),_0x4ccd14[_0x41b72f(0xbd)][_0x41b72f(0x99)](_0x41b72f(0xa4))[_0x41b72f(0xba)]({'model':{'key':_0x41b72f(0x94),'value':_0x318ab8=>{const _0x5142af=_0x41b72f;let _0x22eedb=_0x318ab8[_0x5142af(0xaf)](_0x5142af(0xab));return _0x21a2d0(_0x22eedb)&&(_0x22eedb=String(Number(_0x22eedb[_0x5142af(0x9d)](0x0,-0x1))/0x64)),String(_0x22eedb)===String(_0x11e047)?null:_0x22eedb;}},'view':{'styles':{'line-height':/.*/}}});}[_0x38536e(0x98)](){const _0xa26757=_0x38536e,_0xfd576=this[_0xa26757(0xb6)],_0x532366=this[_0xa26757(0xb6)][_0xa26757(0x9f)][_0xa26757(0xa7)](_0xa26757(0xb4)),_0x141e5d=_0xc7b4dc(this[_0xa26757(0xb6)][_0xa26757(0x9f)][_0xa26757(0xa7)](_0xa26757(0x94)))[_0xa26757(0x8e)](_0x29512e=>_0x29512e[_0xa26757(0xb8)]),_0x2afac2=_0x26e296(_0xa26757(0x94),_0x141e5d);_0xfd576[_0xa26757(0xbd)][_0xa26757(0xba)](_0x2afac2),_0xfd576[_0xa26757(0xbd)][_0xa26757(0x99)](_0xa26757(0xa4))[_0xa26757(0xba)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xa26757(0x94),'value':_0x1ac96b=>{const _0x594774=_0xa26757;let _0x365aa1=_0x1ac96b[_0x594774(0xaf)](_0x594774(0xab));return _0x21a2d0(_0x365aa1)&&(_0x365aa1=String(Number(_0x365aa1[_0x594774(0x9d)](0x0,-0x1))/0x64)),_0x365aa1===String(_0x532366)?null:_0x2afac2[_0x594774(0xb8)][_0x594774(0xac)][_0x594774(0x90)](_0x365aa1)?_0x365aa1:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3a80d2}from'ckeditor5/src/core.js';import{addListToDropdown as _0x28c559,createDropdown as _0x34ba8e,MenuBarMenuListItemButtonView as _0x5e9040,MenuBarMenuListItemView as _0x3b7404,MenuBarMenuListView as _0x269afb,MenuBarMenuView as _0x128550,UIModel as _0x13b586}from'ckeditor5/src/ui.js';import{Collection as _0x4f43b2}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x271c3d}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x38ff59}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3a80d2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4dc4a4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4dc4a4),this['_registerMenuBarComponent'](_0x4dc4a4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x33b7bf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x353e78;for(const _0x2e0be9 in _0x33b7bf){const _0x4228b2=_0x2e0be9,_0x924c27=_0x33b7bf[_0x4228b2];if('lineHeightLicenseKeyValid'==_0x924c27||'lineHeightLicenseKeyInvalid'==_0x924c27||'lineHeightLicenseKeyExpired'==_0x924c27||'lineHeightLicenseKeyDomainLimit'==_0x924c27||'lineHeightLicenseKeyNotAllowed'==_0x924c27||'lineHeightLicenseKeyEvaluationLimit'==_0x924c27||'lineHeightLicenseKeyTrialLimit'==_0x924c27||'lineHeightLicenseKeyUsageLimit'==_0x924c27){delete _0x33b7bf[_0x4228b2],_0x353e78=_0x924c27,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x353e78&&_0x33b7bf['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x353e78&&_0x33b7bf['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x353e78&&_0x33b7bf['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x353e78&&_0x33b7bf['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x353e78&&_0x33b7bf['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x353e78&&_0x33b7bf['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x353e78&&_0x33b7bf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x37703c=this['editor'],t=_0x37703c['t'],_0x1e1724=_0x37703c['config']['get']('lineHeight'),_0x28c81f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x38ff59(_0x1e1724)['map'](_0x48bae9=>{const _0x5ddc2b=_0x28c81f[_0x48bae9['title']];return _0x5ddc2b&&_0x5ddc2b!=_0x48bae9['title']&&(_0x48bae9=Object['assign']({},_0x48bae9,{'title':_0x5ddc2b})),_0x48bae9;});}['_prepareListOptions'](){const _0x3874c5=this['editor']['commands']['get']('lineHeight'),_0x19f528=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c75ca=this['_getLocalizedLineHeightOptions'](),_0x4bcc23=new _0x4f43b2(),_0x5d6a45=_0x538126=>'default'===_0x538126||String(_0x19f528)===_0x538126;for(const _0x50b9ec of _0x2c75ca){const _0x992bd4={'type':'button','model':new _0x13b586({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x50b9ec['title'],'withText':!0x0})};_0x5d6a45(_0x50b9ec['model'])?(_0x992bd4['model']['bind']('isOn')['to'](_0x3874c5,'value',_0x48158c=>!_0x48158c),_0x992bd4['model']['commandParam']=void 0x0):(_0x992bd4['model']['bind']('isOn')['to'](_0x3874c5,'value',_0x429470=>_0x429470===_0x50b9ec['model']),_0x992bd4['model']['commandParam']=_0x50b9ec['model']),_0x4bcc23['add'](_0x992bd4);}if(this['_shouldRenderCustomValueOption']()){const _0x3117c9=this['_getCustomValueOptionDefinition'](_0x2c75ca);_0x4bcc23['add'](_0x3117c9);}return _0x4bcc23;}['_getCustomValueOptionDefinition'](_0x28d0a1){const _0x100064=this['editor'],t=_0x100064['t'],_0x429d20=_0x100064['commands']['get']('lineHeight'),_0x54f198=_0x28d0a1['map'](_0x45ace5=>_0x45ace5['model']),_0x4bf01e={'type':'button','model':new _0x13b586({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4bf01e['model']['bind']('commandParam')['to'](_0x429d20,'value'),_0x4bf01e['model']['bind']('isOn')['to'](_0x429d20,'value',_0x406585=>!!_0x406585&&!_0x54f198['includes'](String(_0x406585))),_0x4bf01e['model']['bind']('label')['to'](_0x429d20,'value',_0x57431d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x57431d))),_0x4bf01e;}['_registerToolbarComponent']({accessibleLabel:_0x301440,options:_0x5c8789}){const _0x5bf8de=this['editor'],_0x156fd8=_0x5bf8de['commands']['get']('lineHeight');_0x5bf8de['ui']['componentFactory']['add']('lineHeight',_0xf03ac0=>{const _0x3504b3=_0x34ba8e(_0xf03ac0);return _0x28c559(_0x3504b3,_0x5c8789,{'role':'menu','ariaLabel':_0x301440}),_0x3504b3['buttonView']['set']({'label':_0x301440,'tooltip':!0x0,'icon':_0x271c3d}),_0x3504b3['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3504b3['bind']('isEnabled')['to'](_0x156fd8),this['listenTo'](_0x3504b3,'execute',_0xa733f7=>{_0x5bf8de['execute'](_0xa733f7['source']['commandName'],{'value':_0xa733f7['source']['commandParam']}),_0x5bf8de['editing']['view']['focus']();}),_0x3504b3['once']('change:isOpen',()=>{const _0x5a25c9=_0x3504b3['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3504b3,_0x5c8789,_0x5a25c9);}),_0x3504b3;});}['_registerMenuBarComponent']({accessibleLabel:_0x2b6259,options:_0x4c6c6b}){const _0x241e36=this['editor'],_0x353f71=_0x241e36['commands']['get']('lineHeight');_0x241e36['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3b1829=>{const _0x547849=new _0x128550(_0x3b1829);_0x547849['buttonView']['set']({'label':_0x2b6259,'icon':_0x271c3d}),_0x547849['bind']('isEnabled')['to'](_0x353f71);const _0x129b9a=new _0x269afb(_0x3b1829);for(const _0x3ccfcf of _0x4c6c6b){const _0x176c65=new _0x3b7404(_0x3b1829,_0x547849),_0x501e09=new _0x5e9040(_0x3b1829);_0x501e09['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x501e09['bind'](...Object['keys'](_0x3ccfcf['model']))['to'](_0x3ccfcf['model']),_0x501e09['delegate']('execute')['to'](_0x547849),_0x501e09['on']('execute',()=>{_0x241e36['execute'](_0x3ccfcf['model']['commandName'],{'value':_0x3ccfcf['model']['commandParam']}),_0x241e36['editing']['view']['focus']();}),_0x176c65['children']['add'](_0x501e09),_0x129b9a['items']['add'](_0x176c65);}return _0x547849['panelView']['children']['add'](_0x129b9a),this['_attachCustomOptionVisibilityHandler'](_0x547849,_0x4c6c6b,_0x129b9a),_0x547849;});}['_attachCustomOptionVisibilityHandler'](_0x5b2f62,_0x180cd1,_0x16de8b){if(!this['_shouldRenderCustomValueOption']())return;const _0x37b945=()=>{if(!_0x5b2f62['isOpen'])return;_0x16de8b['items']['last']['isVisible']=Boolean(_0x180cd1['last']['model']['isOn']);};_0x37b945(),_0x5b2f62['on']('change:isOpen',()=>{_0x37b945();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x23b3(_0x51739e,_0x1ea5c1){const _0x3e85a6=_0x3e85();return _0x23b3=function(_0x23b314,_0x121bd2){_0x23b314=_0x23b314-0x7c;let _0x3ce700=_0x3e85a6[_0x23b314];return _0x3ce700;},_0x23b3(_0x51739e,_0x1ea5c1);}(function(_0x771f54,_0x48ca50){const _0x477583=_0x23b3,_0x340d9f=_0x771f54();while(!![]){try{const _0xba53f8=parseInt(_0x477583(0x8f))/0x1*(parseInt(_0x477583(0x7f))/0x2)+parseInt(_0x477583(0x7c))/0x3+-parseInt(_0x477583(0x81))/0x4*(-parseInt(_0x477583(0x9d))/0x5)+parseInt(_0x477583(0x86))/0x6+parseInt(_0x477583(0x93))/0x7*(parseInt(_0x477583(0x90))/0x8)+parseInt(_0x477583(0x89))/0x9*(parseInt(_0x477583(0x94))/0xa)+-parseInt(_0x477583(0x9a))/0xb;if(_0xba53f8===_0x48ca50)break;else _0x340d9f['push'](_0x340d9f['shift']());}catch(_0x1f4c36){_0x340d9f['push'](_0x340d9f['shift']());}}}(_0x3e85,0x3f2b9));const v={get 'single'(){const _0x4b383d=_0x23b3;return{'title':_0x4b383d(0x96),'model':_0x4b383d(0x8e),'view':{'key':_0x4b383d(0x84),'value':_0x4b383d(0x82)}};},get 'double'(){const _0x36ac8d=_0x23b3;return{'title':_0x36ac8d(0x80),'model':_0x36ac8d(0x8b),'view':{'key':_0x36ac8d(0x84),'value':_0x36ac8d(0x92)}};}};export function isLineHeightDefaultValue(_0x333672){const _0x250cf6=_0x23b3;return _0x250cf6(0x7e)==typeof _0x333672&&_0x250cf6(0x85)===_0x333672[_0x250cf6(0x88)]();}export function normalizeOptions(_0x50e2a3){const _0x35cce2=_0x23b3;return _0x50e2a3[_0x35cce2(0x7d)][_0x35cce2(0x98)](_0x289c50=>isLineHeightDefaultValue(_0x289c50)?{'title':String(_0x50e2a3[_0x35cce2(0x95)]),'model':_0x35cce2(0x85)}:(_0x35cce2(0x99)==typeof _0x289c50&&(_0x289c50=String(_0x289c50)),_0x35cce2(0x7e)!=typeof _0x289c50?_0x289c50:parseFloat(_0x289c50)?{'title':_0x289c50,'model':_0x289c50,'view':{'name':_0x35cce2(0x83),'styles':{'line-height':_0x289c50}}}:findPreset(_0x289c50)))[_0x35cce2(0x8c)](_0x2fae23=>void 0x0!==_0x2fae23);}export function findPreset(_0x21b404){const _0x683fea=_0x23b3;return _0x683fea(0x7e)==typeof _0x21b404?v[_0x21b404]:v[_0x21b404[_0x683fea(0x8d)]];}export function buildDefinition(_0x43a250,_0x14a225){const _0x4db3f2=_0x23b3,_0x513983={'model':{'key':_0x43a250,'values':[]},'view':{}};for(const _0x128a31 of _0x14a225)_0x4db3f2(0x84)===_0x128a31[_0x4db3f2(0x9b)]?.[_0x4db3f2(0x8a)]?(_0x513983[_0x4db3f2(0x8d)][_0x4db3f2(0x9c)][_0x4db3f2(0x87)](_0x128a31[_0x4db3f2(0x8d)]),_0x513983[_0x4db3f2(0x9b)][_0x128a31[_0x4db3f2(0x8d)]]={'key':_0x4db3f2(0x84),'value':_0x128a31[_0x4db3f2(0x9b)][_0x4db3f2(0x97)]}):(_0x513983[_0x4db3f2(0x8d)][_0x4db3f2(0x9c)][_0x4db3f2(0x87)](_0x128a31[_0x4db3f2(0x8d)]),_0x513983[_0x4db3f2(0x9b)][_0x128a31[_0x4db3f2(0x8d)]]={'key':_0x4db3f2(0x9e),'value':_0x4db3f2(0x91)+_0x128a31[_0x4db3f2(0x8d)]+';'});return _0x513983;}function _0x3e85(){const _0x18986a=['number','12396835CajspE','view','values','107035EdZtyk','style','425859OczKDq','options','string','325928BHhcnD','Double','4RNzTRd','line-height-single','span','class','default','963156acKqNn','push','toLowerCase','99TnPNlf','key','double','filter','model','single','1hXamvw','1214792tGCQjQ','line-height:','line-height-double','21wHfdJB','403030rPXQmn','defaultValue','Single','value','map'];_0x3e85=function(){return _0x18986a;};return _0x3e85();}
|