@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251227.0 → 0.0.0-nightly-next-20251227.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 +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5b89(){const _0x1357a6=['144TiSQLh','--ck-content-list-marker-line-height','item','ListEditing','add','elementToElement','high','for','ck-list-marker-line-height','has','getAttribute','listType','isPremiumPlugin','upcast','TodoListEditing','492878zjGfQJ','element:li','todo-list__label__description','19615905QvarKe','1DmyBEh','3576960PbRBtV','addClass','isOfficialPlugin','viewItem','editor','consume','consumable','lineHeight','33676UeMXHr','todo','span','name','init','paragraph','get','registerDowncastStrategy','pluginName','LineHeightTodoListIntegration','683305tmXgii','setStyle','match','2484336obIeSv','715025hXzkpQ'];_0x5b89=function(){return _0x1357a6;};return _0x5b89();}const _0x10d5a9=_0x58fe;(function(_0xc86074,_0x24f337){const _0x55c9ca=_0x58fe,_0x23d1a0=_0xc86074();while(!![]){try{const _0x571c17=-parseInt(_0x55c9ca(0x109))/0x1*(parseInt(_0x55c9ca(0x130))/0x2)+-parseInt(_0x55c9ca(0x121))/0x3*(parseInt(_0x55c9ca(0x112))/0x4)+-parseInt(_0x55c9ca(0x120))/0x5+-parseInt(_0x55c9ca(0x10a))/0x6+-parseInt(_0x55c9ca(0x11c))/0x7+-parseInt(_0x55c9ca(0x11f))/0x8+parseInt(_0x55c9ca(0x108))/0x9;if(_0x571c17===_0x24f337)break;else _0x23d1a0['push'](_0x23d1a0['shift']());}catch(_0x5873d5){_0x23d1a0['push'](_0x23d1a0['shift']());}}}(_0x5b89,0x5d2e8));import{Plugin as _0x55e959}from'ckeditor5/src/core.js';import{Matcher as _0x2b1134}from'ckeditor5/src/engine.js';function _0x58fe(_0x1a84ce,_0x3fe62e){const _0x5b89ae=_0x5b89();return _0x58fe=function(_0x58fe86,_0x308965){_0x58fe86=_0x58fe86-0x108;let _0x4c221c=_0x5b89ae[_0x58fe86];return _0x4c221c;},_0x58fe(_0x1a84ce,_0x3fe62e);}import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x55e959{static get[_0x10d5a9(0x11a)](){const _0x2356cd=_0x10d5a9;return _0x2356cd(0x11b);}static get[_0x10d5a9(0x10c)](){return!0x0;}static get[_0x10d5a9(0x12d)](){return!0x0;}[_0x10d5a9(0x116)](){const _0x3481fd=_0x10d5a9,{plugins:_0x1fddb9,conversion:_0x5e9890}=this[_0x3481fd(0x10e)];if(!_0x1fddb9[_0x3481fd(0x12a)](_0x3481fd(0x124))||!_0x1fddb9[_0x3481fd(0x12a)](_0x3481fd(0x12f)))return;_0x1fddb9[_0x3481fd(0x118)](_0x3481fd(0x124))[_0x3481fd(0x119)]({'scope':_0x3481fd(0x123),'attributeName':_0x3481fd(0x111),'consume':!0x1,'setAttributeOnDowncast'(_0x37e9d8,_0x55000d,_0x3f16c8,_0x5ef670,_0x37f893){const _0x44914e=_0x3481fd;_0x44914e(0x113)==_0x37f893[_0x44914e(0x12b)](_0x44914e(0x12c))&&_0x55000d&&(_0x37e9d8[_0x44914e(0x10b)](_0x44914e(0x129),_0x3f16c8),_0x37e9d8[_0x44914e(0x11d)](_0x44914e(0x122),_0x55000d,_0x3f16c8));}}),_0x5e9890[_0x3481fd(0x128)](_0x3481fd(0x12e))[_0x3481fd(0x126)]({'view':{'name':_0x3481fd(0x114),'classes':_0x3481fd(0x132)},'model':_0x3481fd(0x117),'converterPriority':_0x3481fd(0x127)}),_0x5e9890[_0x3481fd(0x128)](_0x3481fd(0x12e))[_0x3481fd(0x125)](_0x39a662=>{const _0x2d5ded=_0x3481fd;_0x39a662['on'](_0x2d5ded(0x131),function(_0x4ad502){const _0x5b10b4=new _0x2b1134(_0x4ad502);return(_0x4589fa,_0x3395cc,_0x186169)=>{const _0x500d5f=_0x58fe,_0x340724=_0x5b10b4[_0x500d5f(0x11e)](_0x3395cc[_0x500d5f(0x10d)]);if(!_0x340724)return;const _0x2248d2=_0x340724[_0x500d5f(0x11e)];_0x2248d2[_0x500d5f(0x115)]=!0x1,_0x186169[_0x500d5f(0x110)][_0x500d5f(0x10f)](_0x3395cc[_0x500d5f(0x10d)],_0x2248d2);};}({'name':'li','classes':_0x2d5ded(0x129),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ef7f2=_0x5b27;(function(_0x23c2c5,_0x2a1388){var _0x27ffdd=_0x5b27,_0x22dcc1=_0x23c2c5();while(!![]){try{var _0x87dfc2=parseInt(_0x27ffdd(0xf5))/0x1*(-parseInt(_0x27ffdd(0x100))/0x2)+-parseInt(_0x27ffdd(0xf7))/0x3+parseInt(_0x27ffdd(0xf9))/0x4+parseInt(_0x27ffdd(0xff))/0x5+-parseInt(_0x27ffdd(0xfe))/0x6*(-parseInt(_0x27ffdd(0xf8))/0x7)+-parseInt(_0x27ffdd(0x102))/0x8+parseInt(_0x27ffdd(0xfd))/0x9*(parseInt(_0x27ffdd(0xfb))/0xa);if(_0x87dfc2===_0x2a1388)break;else _0x22dcc1['push'](_0x22dcc1['shift']());}catch(_0x2dcf7b){_0x22dcc1['push'](_0x22dcc1['shift']());}}}(_0x3958,0x878b4));import{Plugin as _0xf66940}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x3b84cf}from'./lineheightediting.js';import{LineHeightUI as _0x369274}from'./lineheightui.js';export class LineHeight extends _0xf66940{static get[_0x2ef7f2(0xfa)](){return[_0x3b84cf,_0x369274];}static get[_0x2ef7f2(0x101)](){var _0x109ce1=_0x2ef7f2;return _0x109ce1(0xf4);}static get[_0x2ef7f2(0xfc)](){return!0x0;}static get[_0x2ef7f2(0xf6)](){return!0x0;}}function _0x5b27(_0x56bb63,_0x4128ed){var _0x3958ef=_0x3958();return _0x5b27=function(_0x5b271c,_0x158bca){_0x5b271c=_0x5b271c-0xf4;var _0x5e362a=_0x3958ef[_0x5b271c];return _0x5e362a;},_0x5b27(_0x56bb63,_0x4128ed);}function _0x3958(){var _0x4b2d74=['131XuLBzx','isPremiumPlugin','2574924rJWRtL','7174013cWYFvG','485068oKDuTO','requires','10kSSima','isOfficialPlugin','3496302Mqxeax','6XiszCb','1107050tXAbEC','1182TJGJno','pluginName','2120776cOwdDw','LineHeight'];_0x3958=function(){return _0x4b2d74;};return _0x3958();}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x55ac(_0x2e0d7b,_0x4a8751){const _0x30a86f=_0x30a8();return _0x55ac=function(_0x55ac67,_0x56f3f8){_0x55ac67=_0x55ac67-0x94;let _0x20d68a=_0x30a86f[_0x55ac67];return _0x20d68a;},_0x55ac(_0x2e0d7b,_0x4a8751);}const _0x50fd3f=_0x55ac;function _0x30a8(){const _0x1c4cbd=['removeAttribute','filter','1514625TqXSgg','selection','_canHaveLineHeight','value','model','37935800GyGMwM','getSelectedBlocks','5871600dOiUYA','isEnabled','7212708CqdslT','schema','getAttribute','editor','setAttribute','343646nrsrdN','from','document','lineHeight','change','6065430cGpPPK','128173LJGaiG','checkAttribute','refresh','execute','15PlAEKR'];_0x30a8=function(){return _0x1c4cbd;};return _0x30a8();}(function(_0x29c714,_0x2f373b){const _0x3bf610=_0x55ac,_0x160033=_0x29c714();while(!![]){try{const _0x37e2c2=parseInt(_0x3bf610(0x9e))/0x1+-parseInt(_0x3bf610(0x98))/0x2*(parseInt(_0x3bf610(0xa2))/0x3)+-parseInt(_0x3bf610(0xac))/0x4+parseInt(_0x3bf610(0xa5))/0x5+-parseInt(_0x3bf610(0xae))/0x6+-parseInt(_0x3bf610(0x9d))/0x7+parseInt(_0x3bf610(0xaa))/0x8;if(_0x37e2c2===_0x2f373b)break;else _0x160033['push'](_0x160033['shift']());}catch(_0xb2f379){_0x160033['push'](_0x160033['shift']());}}}(_0x30a8,0xbdcea));import{Command as _0x4c728e}from'ckeditor5/src/core.js';import{first as _0x25fee5}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4c728e{[_0x50fd3f(0xa0)](){const _0xeb2ae7=_0x50fd3f,_0x56772e=this[_0xeb2ae7(0x96)][_0xeb2ae7(0xa9)][_0xeb2ae7(0x9a)],_0xe79c1f=_0x25fee5(_0x56772e[_0xeb2ae7(0xa6)][_0xeb2ae7(0xab)]());this[_0xeb2ae7(0xad)]=Boolean(_0xe79c1f)&&this[_0xeb2ae7(0xa7)](_0xe79c1f),this[_0xeb2ae7(0xa8)]=this[_0xeb2ae7(0xad)]&&_0xe79c1f[_0xeb2ae7(0x95)](_0xeb2ae7(0x9b));}[_0x50fd3f(0xa1)](_0x911a7={}){const _0x4bf67d=_0x50fd3f,_0x181f7d=this[_0x4bf67d(0x96)][_0x4bf67d(0xa9)],_0xc56b7e=_0x181f7d[_0x4bf67d(0x9a)][_0x4bf67d(0xa6)],_0x525dd4=_0x911a7[_0x4bf67d(0xa8)];_0x181f7d[_0x4bf67d(0x9c)](_0x5024a1=>{const _0x2a003c=_0x4bf67d,_0x1d25c1=Array[_0x2a003c(0x99)](_0xc56b7e[_0x2a003c(0xab)]())[_0x2a003c(0xa4)](_0x3a4244=>this[_0x2a003c(0xa7)](_0x3a4244));for(const _0x254107 of _0x1d25c1)_0x525dd4?_0x5024a1[_0x2a003c(0x97)](_0x2a003c(0x9b),_0x525dd4,_0x254107):_0x5024a1[_0x2a003c(0xa3)](_0x2a003c(0x9b),_0x254107);});}[_0x50fd3f(0xa7)](_0xc2a6f0){const _0x9fc096=_0x50fd3f;return this[_0x9fc096(0x96)][_0x9fc096(0xa9)][_0x9fc096(0x94)][_0x9fc096(0x9f)](_0xc2a6f0,_0x9fc096(0x9b));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x175474=_0x4e45;(function(_0x404212,_0x138cdc){const _0xf6cb08=_0x4e45,_0x526014=_0x404212();while(!![]){try{const _0x27a97d=-parseInt(_0xf6cb08(0xd8))/0x1+parseInt(_0xf6cb08(0xf9))/0x2*(-parseInt(_0xf6cb08(0xd3))/0x3)+-parseInt(_0xf6cb08(0xf7))/0x4+parseInt(_0xf6cb08(0xe6))/0x5*(-parseInt(_0xf6cb08(0xd9))/0x6)+parseInt(_0xf6cb08(0xff))/0x7*(parseInt(_0xf6cb08(0xde))/0x8)+parseInt(_0xf6cb08(0xf4))/0x9+parseInt(_0xf6cb08(0xdd))/0xa;if(_0x27a97d===_0x138cdc)break;else _0x526014['push'](_0x526014['shift']());}catch(_0x30209b){_0x526014['push'](_0x526014['shift']());}}}(_0x4ea0,0x89c2f));import{Plugin as _0x3cda32}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x469a99}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5c78d8}from'ckeditor5/src/engine.js';function _0x4e45(_0x2ee4db,_0x18ecfc){const _0x4ea011=_0x4ea0();return _0x4e45=function(_0x4e45d4,_0x5da8bf){_0x4e45d4=_0x4e45d4-0xcc;let _0x2d0742=_0x4ea011[_0x4e45d4];return _0x2d0742;},_0x4e45(_0x2ee4db,_0x18ecfc);}import{uid as _0x29d597,CKEditorError as _0x5ae7bd}from'ckeditor5/src/utils.js';function _0x4ea0(){const _0x3903dc=['conversion','extend','attributeToAttribute','map','492289noZVkO','lineHeight.supportAllValues','LineHeightEditing','upcast','pluginName','href','line-height','values','getStyle','lineHeight','schema','314187piFwwI','_preparePredefinedConverters','default','init','style','1118558cFdxvR','176478rRYgIr','lineHeight.options','$block','_prepareAnyValueConverters','28806870WYGkGf','8gpMISu','model','lineHeight.defaultValue','length','setAttributeProperties','editor','define','_validateConfig','55VumiCF','add','isPremiumPlugin','commands','slice','afterInit','config','filter','isOfficialPlugin','includes','join','string','get','for','7357464PNQZWY','requires','downcast','4116140TfhKTy','line-height-invalid-use-of-named-presets','14vobJLZ','fromCharCode'];_0x4ea0=function(){return _0x3903dc;};return _0x4ea0();}import{buildDefinition as _0x15c4de,isLineHeightDefaultValue as _0x50d16d,normalizeOptions as _0x297813}from'./utils.js';import{LineHeightTodoListIntegration as _0x40bf4d}from'./integrations/todolist.js';export class LineHeightEditing extends _0x3cda32{static get[_0x175474(0xcc)](){const _0x4c06ad=_0x175474;return _0x4c06ad(0x101);}static get[_0x175474(0xf5)](){return[_0x40bf4d];}static get[_0x175474(0xee)](){return!0x0;}static get[_0x175474(0xe8)](){return!0x0;}constructor(_0x39ec5f){const _0x2d88f5=_0x175474;super(_0x39ec5f),_0x39ec5f[_0x2d88f5(0xec)][_0x2d88f5(0xe4)](_0x2d88f5(0xd1),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2d88f5(0xd5),0x2,2.5,0x3]});}[_0x175474(0xd6)](){const _0xe29321=_0x175474,_0x3d838b=this[_0xe29321(0xe3)];this[_0xe29321(0xe5)](),_0x3d838b[_0xe29321(0xdf)][_0xe29321(0xd2)][_0xe29321(0xfc)](_0xe29321(0xdb),{'allowAttributes':_0xe29321(0xd1)}),_0x3d838b[_0xe29321(0xdf)][_0xe29321(0xd2)][_0xe29321(0xe2)](_0xe29321(0xd1),{'isFormatting':!0x0}),_0x3d838b[_0xe29321(0xe9)][_0xe29321(0xe7)](_0xe29321(0xd1),new _0x469a99(_0x3d838b)),this[_0xe29321(0xe3)][_0xe29321(0xec)][_0xe29321(0xf2)](_0xe29321(0x100))?this[_0xe29321(0xdc)]():this[_0xe29321(0xd4)]();}[_0x175474(0xeb)](){!async function(_0x1e4266){const _0x1a4448=_0x52f3f7([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]),_0x25a559=0x45ddd215,_0x523a77=0x45daaf0d^_0x25a559,_0x539c35=window[_0x52f3f7([0x44,0x61,0x74,0x65])][_0x52f3f7([0x6e,0x6f,0x77])](),_0x3f0fca=_0x1e4266[_0x52f3f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x118fc3=new window[(_0x52f3f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fe3cb=>{_0x3f0fca[_0x52f3f7([0x6f,0x6e,0x63,0x65])](_0x52f3f7([0x72,0x65,0x61,0x64,0x79]),_0x2fe3cb);}),_0x32adc9={[_0x52f3f7([0x6b,0x74,0x79])]:_0x52f3f7([0x45,0x43]),[_0x52f3f7([0x75,0x73,0x65])]:_0x52f3f7([0x73,0x69,0x67]),[_0x52f3f7([0x63,0x72,0x76])]:_0x52f3f7([0x50,0x2d,0x32,0x35,0x36]),[_0x52f3f7([0x78])]:_0x52f3f7([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]),[_0x52f3f7([0x79])]:_0x52f3f7([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]),[_0x52f3f7([0x61,0x6c,0x67])]:_0x52f3f7([0x45,0x53,0x32,0x35,0x36])},_0x1e3a1a=_0x3f0fca[_0x52f3f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52f3f7([0x67,0x65,0x74])](_0x52f3f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28699e(){let _0x44b5b8,_0x46a1f0=null,_0x45dfe7=null;try{if(_0x1e3a1a==_0x52f3f7([0x47,0x50,0x4c]))return _0x52f3f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44b5b8=_0x59c239(),!_0x44b5b8)return _0x52f3f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44b5b8[_0x52f3f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45dfe7=_0x24618c(_0x44b5b8[_0x52f3f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44b5b8[_0x52f3f7([0x6a,0x74,0x69])])),await _0x999854()?_0x5c4f1c()?_0x4339f2()?_0x52f3f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x406031()?(_0x44b5b8[_0x52f3f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52f3f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46a1f0=_0x555999(_0x52f3f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44b5b8[_0x52f3f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52f3f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x46a1f0=_0x555999(_0x52f3f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c92ca()):_0x52f3f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52f3f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52f3f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52f3f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4339f2(){const _0x3fc3fc=[_0x52f3f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52f3f7([0x74,0x72,0x69,0x61,0x6c])][_0x52f3f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b5b8[_0x52f3f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x539c35/0x3e8:0xe10*_0x523a77;return _0x44b5b8[_0x52f3f7([0x65,0x78,0x70])]<_0x3fc3fc;}function _0x5c4f1c(){const _0x70d934=_0x44b5b8[_0x52f3f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x70d934&&(!!_0x70d934[_0x52f3f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f3f7([0x2a]))||!!_0x70d934[_0x52f3f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f3f7([0x4c,0x48])));}function _0x406031(){const _0x39f769=_0x4e45,_0x1810a7=_0x44b5b8[_0x52f3f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1810a7||0x0==_0x1810a7[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ea0e1}=new URL(window[_0x52f3f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39f769(0xcd)]);if(_0x1810a7[_0x52f3f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ea0e1))return!0x0;const _0x509d77=_0x5ea0e1[_0x52f3f7([0x73,0x70,0x6c,0x69,0x74])](_0x52f3f7([0x2e]));return _0x1810a7[_0x52f3f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43301b=>_0x43301b[_0x52f3f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f3f7([0x2a])))[_0x52f3f7([0x6d,0x61,0x70])](_0x5426af=>_0x5426af[_0x52f3f7([0x73,0x70,0x6c,0x69,0x74])](_0x52f3f7([0x2e])))[_0x52f3f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2efd89=>_0x2efd89[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x509d77[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52f3f7([0x6d,0x61,0x70])](_0x3bd8b2=>Array(_0x509d77[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3bd8b2[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52f3f7([0x66,0x69,0x6c,0x6c])](_0x3bd8b2[0x0]===_0x52f3f7([0x2a])?_0x52f3f7([0x2a]):'')[_0x52f3f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3bd8b2))[_0x52f3f7([0x73,0x6f,0x6d,0x65])](_0x5f0039=>_0x509d77[_0x52f3f7([0x65,0x76,0x65,0x72,0x79])]((_0x5ef951,_0x57b99a)=>_0x5f0039[_0x57b99a]===_0x5ef951||_0x5f0039[_0x57b99a]===_0x52f3f7([0x2a])));}function _0x5c92ca(){return _0x46a1f0&&_0x45dfe7?new window[(_0x52f3f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49531e,_0x5dd434)=>{_0x46a1f0[_0x52f3f7([0x74,0x68,0x65,0x6e])](_0x49531e,_0x5dd434),_0x45dfe7[_0x52f3f7([0x74,0x68,0x65,0x6e])](_0x264b4b=>{_0x264b4b!=_0x52f3f7([0x56,0x61,0x6c,0x69,0x64])&&_0x49531e(_0x264b4b);},_0x5dd434);}):_0x46a1f0||_0x45dfe7||_0x52f3f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24618c(_0x2cc421,_0xd979aa){return new window[(_0x52f3f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43be69=>{if(_0x7d054a())return _0x43be69(_0x52f3f7([0x56,0x61,0x6c,0x69,0x64]));_0x107165(),_0x3f0fca[_0x52f3f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52f3f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32e078=!0x1;const _0x2b2430=_0x29d597();function _0x5c335e(_0x2883da){return!!_0x2883da&&(typeof _0x2883da===_0x52f3f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2883da===_0x52f3f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2883da[_0x52f3f7([0x74,0x68,0x65,0x6e])]===_0x52f3f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2883da[_0x52f3f7([0x63,0x61,0x74,0x63,0x68])]===_0x52f3f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x378784(_0x3ecf86){_0x295adc(_0x3ecf86)[_0x52f3f7([0x74,0x68,0x65,0x6e])](_0x36153a=>{if(!_0x36153a||_0x36153a[_0x52f3f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52f3f7([0x6f,0x6b]))return _0x52f3f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a3abd(_0x15a1f1(_0x2b2430+_0xd979aa))!=_0x36153a[_0x52f3f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52f3f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52f3f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x52f3f7([0x74,0x68,0x65,0x6e])](_0x4b23fd=>(_0x44d752(),_0x4b23fd),()=>{const _0x3a993b=_0x3ef268();return null==_0x3a993b?(_0x44d752(),_0x52f3f7([0x56,0x61,0x6c,0x69,0x64])):_0x52f3f7(_0x539c35-_0x3a993b>(0x61d15615^_0x25a559)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52f3f7([0x74,0x68,0x65,0x6e])](_0x43be69)[_0x52f3f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43be69(_0x52f3f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x490b93=0x45eb3c95^_0x25a559;function _0x44d752(){const _0x51ab84=_0x52f3f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a3abd(_0x15a1f1(_0x2cc421)),_0x4cdd52=_0x4ca082(_0x5a3abd(window[_0x52f3f7([0x4d,0x61,0x74,0x68])][_0x52f3f7([0x63,0x65,0x69,0x6c])](_0x539c35/_0x490b93)));window[_0x52f3f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52f3f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51ab84,_0x4cdd52);}function _0x3ef268(){const _0x5c6504=_0x52f3f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a3abd(_0x15a1f1(_0x2cc421)),_0x161fe1=window[_0x52f3f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52f3f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c6504);return _0x161fe1?window[_0x52f3f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca082(_0x161fe1),0x10)*_0x490b93:null;}function _0x295adc(_0x11f574){return new window[(_0x52f3f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x268cc0,_0x441df2)=>{_0x11f574[_0x52f3f7([0x74,0x68,0x65,0x6e])](_0x268cc0,_0x441df2),window[_0x52f3f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x441df2,0x45dc06d5^_0x25a559);});}}_0x3f0fca[_0x52f3f7([0x6f,0x6e])](_0x52f3f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x448221,_0x3b7093)=>{if(_0x3b7093[0x0]!=_0x2cc421)return _0x43be69(_0x52f3f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b7093[0x1]={..._0x3b7093[0x1],[_0x52f3f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b2430};},{[_0x52f3f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52f3f7([0x68,0x69,0x67,0x68])}),_0x3f0fca[_0x52f3f7([0x6f,0x6e])](_0x52f3f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f720b=>{_0x5c335e(_0x4f720b[_0x52f3f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32e078=!0x0,_0x378784(_0x4f720b[_0x52f3f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52f3f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52f3f7([0x6c,0x6f,0x77])}),_0x118fc3[_0x52f3f7([0x74,0x68,0x65,0x6e])](()=>{_0x32e078||_0x43be69(_0x52f3f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7d054a(){return _0x3f0fca[_0x52f3f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52f3f7([0x76,0x69,0x65,0x77])][_0x52f3f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52f3f7([0x61,0x75,0x74,0x6f]);}function _0x107165(){_0x3f0fca[_0x52f3f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52f3f7([0x76,0x69,0x65,0x77])][_0x52f3f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52f3f7([0x61,0x75,0x74,0x6f]);}}function _0x555999(_0x3570c5){const _0x7436d2=[new window[(_0x52f3f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd98fc1=>setTimeout(_0xd98fc1,0x45d4ecd9^_0x25a559)),_0x118fc3[_0x52f3f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52f3f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d4278=>{let _0x38c7ce=0x0;_0x3f0fca[_0x52f3f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f3f7([0x6f,0x6e])](_0x52f3f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1095b2,_0x1cc6ec)=>{_0x1cc6ec[0x0][_0x52f3f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38c7ce++,_0x38c7ce==(0x45ddd7fd^_0x25a559)&&(_0x3d4278(),_0x1095b2[_0x52f3f7([0x6f,0x66,0x66])]());});}))];return window[_0x52f3f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52f3f7([0x72,0x61,0x63,0x65])](_0x7436d2)[_0x52f3f7([0x74,0x68,0x65,0x6e])](()=>_0x3570c5);}async function _0x338d3f(){await _0x118fc3,_0x3f0fca[_0x52f3f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f3f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa80cd6,_0x3f0fca[_0x52f3f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x52f3f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa80cd6,_0x3f0fca[_0x52f3f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52f3f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x187b68(_0x335978){const _0x23f079=_0x509497();_0x3f0fca[_0x23f079]=_0x52f3f7([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x335978,_0x335978!=_0x52f3f7([0x56,0x61,0x6c,0x69,0x64])&&_0x338d3f();}function _0x509497(){const _0x2c8238=window[_0x52f3f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52f3f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52f3f7([0x6e,0x6f,0x77])]())[_0x52f3f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52f3f7([0x2e]),'');let _0x266934=_0x52f3f7([0x50]);for(let _0x5d24f5=0x0;_0x5d24f5<_0x2c8238[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d24f5+=0x2){let _0x5496b4=window[_0x52f3f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c8238[_0x52f3f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d24f5,_0x5d24f5+0x2));_0x5496b4>=_0x1a4448[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5496b4-=_0x1a4448[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x266934+=_0x1a4448[_0x5496b4];}return _0x266934;}function _0x59c239(){const _0x3d97c1=_0x1e3a1a[_0x52f3f7([0x73,0x70,0x6c,0x69,0x74])](_0x52f3f7([0x2e]));if(0x3!=_0x3d97c1[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22ccbd(_0x3d97c1[0x1]);function _0x22ccbd(_0x40cb1b){const _0x43fe03=_0x365025(_0x40cb1b);return _0x43fe03&&_0x555662()?_0x43fe03:null;function _0x555662(){const _0x444c84=_0x43fe03[_0x52f3f7([0x6a,0x74,0x69])],_0x5d43f6=window[_0x52f3f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x444c84[_0x52f3f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x444c84[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5dee9c={..._0x43fe03,[_0x52f3f7([0x6a,0x74,0x69])]:_0x444c84[_0x52f3f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x444c84[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5dee9c[_0x52f3f7([0x76,0x63])],_0x15a1f1(_0x5dee9c)==_0x5d43f6;}}}async function _0x999854(){let _0x32401e=!0x0;try{const _0x4f134d=_0x1e3a1a[_0x52f3f7([0x73,0x70,0x6c,0x69,0x74])](_0x52f3f7([0x2e])),[_0x2a8fd0,_0x2956a3,_0x2f4f9e]=_0x4f134d;return _0x1a01bc(_0x2a8fd0),await _0x1da4bd(_0x2a8fd0,_0x2956a3,_0x2f4f9e),_0x32401e;}catch{return!0x1;}function _0x1a01bc(_0xdec80e){const _0x370272=_0x365025(_0xdec80e);_0x370272&&_0x370272[_0x52f3f7([0x61,0x6c,0x67])]==_0x52f3f7([0x45,0x53,0x32,0x35,0x36])||(_0x32401e=!0x1);}async function _0x1da4bd(_0x3d56b8,_0x48a505,_0x5d8be4){const _0x45727d=window[_0x52f3f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52f3f7([0x66,0x72,0x6f,0x6d])](_0x45c5cd(_0x5d8be4),_0x469237=>_0x469237[_0x52f3f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23f6e3=new window[(_0x52f3f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52f3f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d56b8+_0x52f3f7([0x2e])+_0x48a505),_0x203ff5=window[_0x52f3f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52f3f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x203ff5)return;const _0x267b2f=await _0x203ff5[_0x52f3f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52f3f7([0x6a,0x77,0x6b]),_0x32adc9,{[_0x52f3f7([0x6e,0x61,0x6d,0x65])]:_0x52f3f7([0x45,0x43,0x44,0x53,0x41]),[_0x52f3f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52f3f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52f3f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x203ff5[_0x52f3f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52f3f7([0x6e,0x61,0x6d,0x65])]:_0x52f3f7([0x45,0x43,0x44,0x53,0x41]),[_0x52f3f7([0x68,0x61,0x73,0x68])]:{[_0x52f3f7([0x6e,0x61,0x6d,0x65])]:_0x52f3f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x267b2f,_0x45727d,_0x23f6e3)||(_0x32401e=!0x1);}}function _0x365025(_0x36d844){return _0x36d844[_0x52f3f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52f3f7([0x65,0x79]))?JSON[_0x52f3f7([0x70,0x61,0x72,0x73,0x65])](_0x45c5cd(_0x36d844)):null;}function _0x45c5cd(_0x3fa486){return window[_0x52f3f7([0x61,0x74,0x6f,0x62])](_0x3fa486[_0x52f3f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52f3f7([0x2b]))[_0x52f3f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52f3f7([0x2f])));}function _0x15a1f1(_0xd70c8e){let _0x4e1eb7=0x1505;function _0x66c1b7(_0x2838da){for(let _0x5d7419=0x0;_0x5d7419<_0x2838da[_0x52f3f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d7419++){const _0x230d7f=_0x2838da[_0x52f3f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d7419);_0x4e1eb7=(_0x4e1eb7<<0x5)+_0x4e1eb7+_0x230d7f,_0x4e1eb7&=_0x4e1eb7;}}function _0x3265af(_0x232348){Array[_0x52f3f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x232348)?_0x232348[_0x52f3f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3265af):_0x232348&&typeof _0x232348==_0x52f3f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52f3f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x232348)[_0x52f3f7([0x73,0x6f,0x72,0x74])]()[_0x52f3f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x150816,_0x4e5cdd])=>{_0x66c1b7(_0x150816),_0x3265af(_0x4e5cdd);}):_0x66c1b7(window[_0x52f3f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x232348));}return _0x3265af(_0xd70c8e),_0x4e1eb7>>>0x0;}function _0x5a3abd(_0x4af025){return _0x4af025[_0x52f3f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52f3f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52f3f7([0x30]));}function _0x4ca082(_0xe44067){return _0xe44067[_0x52f3f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52f3f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52f3f7([0x6a,0x6f,0x69,0x6e])]('');}function _0xa80cd6(){}function _0x52f3f7(_0x4de99b){const _0x47c933=_0x4e45;return _0x4de99b[_0x47c933(0xfe)](_0x181640=>String[_0x47c933(0xfa)](_0x181640))[_0x47c933(0xf0)]('');}_0x187b68(await _0x28699e());}(this);}[_0x175474(0xe5)](){const _0x149337=_0x175474,_0xb36ea7=this[_0x149337(0xe3)];if(!_0xb36ea7[_0x149337(0xec)][_0x149337(0xf2)](_0x149337(0x100)))return;const _0x33b0ea=_0xb36ea7[_0x149337(0xec)][_0x149337(0xf2)](_0x149337(0xda))[_0x149337(0xed)](_0x51e33b=>_0x149337(0xf1)==typeof _0x51e33b&&(!_0x50d16d(_0x51e33b)&&isNaN(Number(_0x51e33b))));if(_0x33b0ea[_0x149337(0xe1)])throw new _0x5ae7bd(_0x149337(0xf8),null,{'namedPresets':_0x33b0ea});}[_0x175474(0xdc)](){const _0x1e428a=_0x175474,_0x1b1216=this[_0x1e428a(0xe3)],_0x3810c9=this[_0x1e428a(0xe3)][_0x1e428a(0xec)][_0x1e428a(0xf2)](_0x1e428a(0xe0));_0x1b1216[_0x1e428a(0xfb)][_0x1e428a(0xf3)](_0x1e428a(0xf6))[_0x1e428a(0xfd)]({'model':{'key':_0x1e428a(0xd1)},'view':_0x2d4008=>String(_0x2d4008)===String(_0x3810c9)?null:{'key':_0x1e428a(0xd7),'value':{'line-height':_0x2d4008}}}),_0x1b1216[_0x1e428a(0xfb)][_0x1e428a(0xf3)](_0x1e428a(0x102))[_0x1e428a(0xfd)]({'model':{'key':_0x1e428a(0xd1),'value':_0x4109dc=>{const _0x357da8=_0x1e428a;let _0x479bfb=_0x4109dc[_0x357da8(0xd0)](_0x357da8(0xce));return _0x5c78d8(_0x479bfb)&&(_0x479bfb=String(Number(_0x479bfb[_0x357da8(0xea)](0x0,-0x1))/0x64)),String(_0x479bfb)===String(_0x3810c9)?null:_0x479bfb;}},'view':{'styles':{'line-height':/.*/}}});}[_0x175474(0xd4)](){const _0x4db5ae=_0x175474,_0x261fba=this[_0x4db5ae(0xe3)],_0x235de6=this[_0x4db5ae(0xe3)][_0x4db5ae(0xec)][_0x4db5ae(0xf2)](_0x4db5ae(0xe0)),_0x4a937a=_0x297813(this[_0x4db5ae(0xe3)][_0x4db5ae(0xec)][_0x4db5ae(0xf2)](_0x4db5ae(0xd1)))[_0x4db5ae(0xed)](_0x46529a=>_0x46529a[_0x4db5ae(0xdf)]),_0x37d1d2=_0x15c4de(_0x4db5ae(0xd1),_0x4a937a);_0x261fba[_0x4db5ae(0xfb)][_0x4db5ae(0xfd)](_0x37d1d2),_0x261fba[_0x4db5ae(0xfb)][_0x4db5ae(0xf3)](_0x4db5ae(0x102))[_0x4db5ae(0xfd)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4db5ae(0xd1),'value':_0x18d1f8=>{const _0x5e241e=_0x4db5ae;let _0x396058=_0x18d1f8[_0x5e241e(0xd0)](_0x5e241e(0xce));return _0x5c78d8(_0x396058)&&(_0x396058=String(Number(_0x396058[_0x5e241e(0xea)](0x0,-0x1))/0x64)),_0x396058===String(_0x235de6)?null:_0x37d1d2[_0x5e241e(0xdf)][_0x5e241e(0xcf)][_0x5e241e(0xef)](_0x396058)?_0x396058:null;}}});}}
|
|
23
|
+
const _0x5699c9=_0x4de4;(function(_0x22fe93,_0x2c3762){const _0x5be46b=_0x4de4,_0x1ccf3e=_0x22fe93();while(!![]){try{const _0x732b3a=parseInt(_0x5be46b(0x190))/0x1*(-parseInt(_0x5be46b(0x196))/0x2)+parseInt(_0x5be46b(0x17f))/0x3+parseInt(_0x5be46b(0x1a8))/0x4+-parseInt(_0x5be46b(0x19b))/0x5+-parseInt(_0x5be46b(0x17e))/0x6*(-parseInt(_0x5be46b(0x183))/0x7)+-parseInt(_0x5be46b(0x199))/0x8+parseInt(_0x5be46b(0x189))/0x9*(parseInt(_0x5be46b(0x191))/0xa);if(_0x732b3a===_0x2c3762)break;else _0x1ccf3e['push'](_0x1ccf3e['shift']());}catch(_0x5175fe){_0x1ccf3e['push'](_0x1ccf3e['shift']());}}}(_0xe561,0x6aedd));import{Plugin as _0x287127}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x16abac}from'./lineheightcommand.js';function _0x4de4(_0x2b4a21,_0x2b1ed5){const _0xe56197=_0xe561();return _0x4de4=function(_0x4de45f,_0x5bd92f){_0x4de45f=_0x4de45f-0x172;let _0x126a8b=_0xe56197[_0x4de45f];return _0x126a8b;},_0x4de4(_0x2b4a21,_0x2b1ed5);}import{isPercentageStyleValue as _0x504c59}from'ckeditor5/src/engine.js';import{uid as _0x221bf6,CKEditorError as _0x675e86}from'ckeditor5/src/utils.js';import{buildDefinition as _0x58e826,isLineHeightDefaultValue as _0x5b967a,normalizeOptions as _0x57458e}from'./utils.js';import{LineHeightTodoListIntegration as _0x2e8022}from'./integrations/todolist.js';export class LineHeightEditing extends _0x287127{static get[_0x5699c9(0x1a2)](){const _0x5ac8d1=_0x5699c9;return _0x5ac8d1(0x180);}static get[_0x5699c9(0x195)](){return[_0x2e8022];}static get[_0x5699c9(0x182)](){return!0x0;}static get[_0x5699c9(0x192)](){return!0x0;}constructor(_0xb322ab){const _0xa1f158=_0x5699c9;super(_0xb322ab),_0xb322ab[_0xa1f158(0x1a3)][_0xa1f158(0x18d)](_0xa1f158(0x186),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xa1f158(0x177),0x2,2.5,0x3]});}[_0x5699c9(0x17c)](){const _0x24f7bf=_0x5699c9,_0x5c85c2=this[_0x24f7bf(0x19a)];this[_0x24f7bf(0x173)](),_0x5c85c2[_0x24f7bf(0x18f)][_0x24f7bf(0x176)][_0x24f7bf(0x1a0)](_0x24f7bf(0x185),{'allowAttributes':_0x24f7bf(0x186)}),_0x5c85c2[_0x24f7bf(0x18f)][_0x24f7bf(0x176)][_0x24f7bf(0x1a5)](_0x24f7bf(0x186),{'isFormatting':!0x0}),_0x5c85c2[_0x24f7bf(0x19f)][_0x24f7bf(0x1a7)](_0x24f7bf(0x186),new _0x16abac(_0x5c85c2)),this[_0x24f7bf(0x19a)][_0x24f7bf(0x1a3)][_0x24f7bf(0x197)](_0x24f7bf(0x198))?this[_0x24f7bf(0x188)]():this[_0x24f7bf(0x17a)]();}[_0x5699c9(0x174)](){!async function(_0xd17fe0){const _0x3d6533=_0x39e43a([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]),_0x5035f4=0x45ddd215,_0x5132e2=0x45daaf0d^_0x5035f4,_0x1ccd42=window[_0x39e43a([0x44,0x61,0x74,0x65])][_0x39e43a([0x6e,0x6f,0x77])](),_0x568fcc=_0xd17fe0[_0x39e43a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ef02a=new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x455023=>{_0x568fcc[_0x39e43a([0x6f,0x6e,0x63,0x65])](_0x39e43a([0x72,0x65,0x61,0x64,0x79]),_0x455023);}),_0x438521={[_0x39e43a([0x6b,0x74,0x79])]:_0x39e43a([0x45,0x43]),[_0x39e43a([0x75,0x73,0x65])]:_0x39e43a([0x73,0x69,0x67]),[_0x39e43a([0x63,0x72,0x76])]:_0x39e43a([0x50,0x2d,0x32,0x35,0x36]),[_0x39e43a([0x78])]:_0x39e43a([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]),[_0x39e43a([0x79])]:_0x39e43a([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]),[_0x39e43a([0x61,0x6c,0x67])]:_0x39e43a([0x45,0x53,0x32,0x35,0x36])},_0x599561=_0x568fcc[_0x39e43a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39e43a([0x67,0x65,0x74])](_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8db26(){let _0x5dbe58,_0x4c746e=null,_0x3c49d6=null;try{if(_0x599561==_0x39e43a([0x47,0x50,0x4c]))return _0x39e43a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dbe58=_0x1717f4(),!_0x5dbe58)return _0x39e43a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dbe58[_0x39e43a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c49d6=_0x42292f(_0x5dbe58[_0x39e43a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dbe58[_0x39e43a([0x6a,0x74,0x69])])),await _0x3240ad()?_0x4466b1()?_0x40b67e()?_0x39e43a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cecfe()?(_0x5dbe58[_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39e43a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c746e=_0xe09a75(_0x39e43a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5dbe58[_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39e43a([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c746e=_0xe09a75(_0x39e43a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ee6d8()):_0x39e43a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39e43a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39e43a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39e43a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40b67e(){const _0x3fef60=[_0x39e43a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39e43a([0x74,0x72,0x69,0x61,0x6c])][_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dbe58[_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ccd42/0x3e8:0xe10*_0x5132e2;return _0x5dbe58[_0x39e43a([0x65,0x78,0x70])]<_0x3fef60;}function _0x4466b1(){const _0x35f486=_0x5dbe58[_0x39e43a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35f486&&(!!_0x35f486[_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e43a([0x2a]))||!!_0x35f486[_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e43a([0x4c,0x48])));}function _0x4cecfe(){const _0x2823d6=_0x4de4,_0x15454c=_0x5dbe58[_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15454c||0x0==_0x15454c[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38094c}=new URL(window[_0x39e43a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2823d6(0x175)]);if(_0x15454c[_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38094c))return!0x0;const _0x750661=_0x38094c[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])](_0x39e43a([0x2e]));return _0x15454c[_0x39e43a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ae317=>_0x4ae317[_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e43a([0x2a])))[_0x39e43a([0x6d,0x61,0x70])](_0x2d39d0=>_0x2d39d0[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])](_0x39e43a([0x2e])))[_0x39e43a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d7c45=>_0x5d7c45[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x750661[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39e43a([0x6d,0x61,0x70])](_0x586729=>Array(_0x750661[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x586729[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39e43a([0x66,0x69,0x6c,0x6c])](_0x586729[0x0]===_0x39e43a([0x2a])?_0x39e43a([0x2a]):'')[_0x39e43a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x586729))[_0x39e43a([0x73,0x6f,0x6d,0x65])](_0x1ca9dc=>_0x750661[_0x39e43a([0x65,0x76,0x65,0x72,0x79])]((_0x462e5d,_0x20f6be)=>_0x1ca9dc[_0x20f6be]===_0x462e5d||_0x1ca9dc[_0x20f6be]===_0x39e43a([0x2a])));}function _0x3ee6d8(){return _0x4c746e&&_0x3c49d6?new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12f6bd,_0x2f6222)=>{_0x4c746e[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x12f6bd,_0x2f6222),_0x3c49d6[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x38f0b0=>{_0x38f0b0!=_0x39e43a([0x56,0x61,0x6c,0x69,0x64])&&_0x12f6bd(_0x38f0b0);},_0x2f6222);}):_0x4c746e||_0x3c49d6||_0x39e43a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42292f(_0x3c98ee,_0x24e0bc){return new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x80e226=>{if(_0xe53088())return _0x80e226(_0x39e43a([0x56,0x61,0x6c,0x69,0x64]));_0xc5a757(),_0x568fcc[_0x39e43a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39e43a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46e55b=!0x1;const _0x42d6a5=_0x221bf6();function _0x4093d1(_0x1ee966){return!!_0x1ee966&&(typeof _0x1ee966===_0x39e43a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ee966===_0x39e43a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ee966[_0x39e43a([0x74,0x68,0x65,0x6e])]===_0x39e43a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ee966[_0x39e43a([0x63,0x61,0x74,0x63,0x68])]===_0x39e43a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c1f91(_0x420811){_0x1c5dd5(_0x420811)[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x407214=>{if(!_0x407214||_0x407214[_0x39e43a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39e43a([0x6f,0x6b]))return _0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32931c(_0x3acc83(_0x42d6a5+_0x24e0bc))!=_0x407214[_0x39e43a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39e43a([0x56,0x61,0x6c,0x69,0x64]);})[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x30aa5b=>(_0x257483(),_0x30aa5b),()=>{const _0x398be3=_0x203ce6();return null==_0x398be3?(_0x257483(),_0x39e43a([0x56,0x61,0x6c,0x69,0x64])):_0x39e43a(_0x1ccd42-_0x398be3>(0x61d15615^_0x5035f4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x80e226)[_0x39e43a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x80e226(_0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3448a4=0x45eb3c95^_0x5035f4;function _0x257483(){const _0x1af3d7=_0x39e43a([0x6c,0x6c,0x63,0x74,0x2d])+_0x32931c(_0x3acc83(_0x3c98ee)),_0x15d981=_0x4b066c(_0x32931c(window[_0x39e43a([0x4d,0x61,0x74,0x68])][_0x39e43a([0x63,0x65,0x69,0x6c])](_0x1ccd42/_0x3448a4)));window[_0x39e43a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39e43a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1af3d7,_0x15d981);}function _0x203ce6(){const _0x3f7f09=_0x39e43a([0x6c,0x6c,0x63,0x74,0x2d])+_0x32931c(_0x3acc83(_0x3c98ee)),_0x361827=window[_0x39e43a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39e43a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f7f09);return _0x361827?window[_0x39e43a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b066c(_0x361827),0x10)*_0x3448a4:null;}function _0x1c5dd5(_0x57f09f){return new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10c87a,_0x35e505)=>{_0x57f09f[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x10c87a,_0x35e505),window[_0x39e43a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x35e505,0x45dc06d5^_0x5035f4);});}}_0x568fcc[_0x39e43a([0x6f,0x6e])](_0x39e43a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a15bb,_0xecbea5)=>{if(_0xecbea5[0x0]!=_0x3c98ee)return _0x80e226(_0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xecbea5[0x1]={..._0xecbea5[0x1],[_0x39e43a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42d6a5};},{[_0x39e43a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39e43a([0x68,0x69,0x67,0x68])}),_0x568fcc[_0x39e43a([0x6f,0x6e])](_0x39e43a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59bae6=>{_0x4093d1(_0x59bae6[_0x39e43a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46e55b=!0x0,_0x2c1f91(_0x59bae6[_0x39e43a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39e43a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39e43a([0x6c,0x6f,0x77])}),_0x1ef02a[_0x39e43a([0x74,0x68,0x65,0x6e])](()=>{_0x46e55b||_0x80e226(_0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe53088(){return _0x568fcc[_0x39e43a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39e43a([0x76,0x69,0x65,0x77])][_0x39e43a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39e43a([0x61,0x75,0x74,0x6f]);}function _0xc5a757(){_0x568fcc[_0x39e43a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39e43a([0x76,0x69,0x65,0x77])][_0x39e43a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39e43a([0x61,0x75,0x74,0x6f]);}}function _0xe09a75(_0x538ea1){const _0x3e4bca=[new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25f206=>setTimeout(_0x25f206,0x45d4ecd9^_0x5035f4)),_0x1ef02a[_0x39e43a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x518c23=>{let _0x4e5688=0x0;_0x568fcc[_0x39e43a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e43a([0x6f,0x6e])](_0x39e43a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52567d,_0x29c47f)=>{_0x29c47f[0x0][_0x39e43a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e5688++,_0x4e5688==(0x45ddd7fd^_0x5035f4)&&(_0x518c23(),_0x52567d[_0x39e43a([0x6f,0x66,0x66])]());});}))];return window[_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39e43a([0x72,0x61,0x63,0x65])](_0x3e4bca)[_0x39e43a([0x74,0x68,0x65,0x6e])](()=>_0x538ea1);}async function _0x304563(){await _0x1ef02a,_0x568fcc[_0x39e43a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e43a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27227f,_0x568fcc[_0x39e43a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e43a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27227f,_0x568fcc[_0x39e43a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39e43a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b61af(_0x1413e9){const _0xc8a561=_0x40eabe();_0x568fcc[_0xc8a561]=_0x39e43a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1413e9,_0x1413e9!=_0x39e43a([0x56,0x61,0x6c,0x69,0x64])&&_0x304563();}function _0x40eabe(){const _0x58ca2d=window[_0x39e43a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39e43a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39e43a([0x6e,0x6f,0x77])]())[_0x39e43a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39e43a([0x2e]),'');let _0x1150e4=_0x39e43a([0x50]);for(let _0x2c9fea=0x0;_0x2c9fea<_0x58ca2d[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c9fea+=0x2){let _0x19eb79=window[_0x39e43a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58ca2d[_0x39e43a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c9fea,_0x2c9fea+0x2));_0x19eb79>=_0x3d6533[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19eb79-=_0x3d6533[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1150e4+=_0x3d6533[_0x19eb79];}return _0x1150e4;}function _0x1717f4(){const _0x3a8717=_0x599561[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])](_0x39e43a([0x2e]));if(0x3!=_0x3a8717[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b443b(_0x3a8717[0x1]);function _0x1b443b(_0x39133d){const _0x185216=_0x30e8ea(_0x39133d);return _0x185216&&_0x237f6a()?_0x185216:null;function _0x237f6a(){const _0x3539ea=_0x185216[_0x39e43a([0x6a,0x74,0x69])],_0x2de698=window[_0x39e43a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3539ea[_0x39e43a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3539ea[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ae473={..._0x185216,[_0x39e43a([0x6a,0x74,0x69])]:_0x3539ea[_0x39e43a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3539ea[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ae473[_0x39e43a([0x76,0x63])],_0x3acc83(_0x4ae473)==_0x2de698;}}}async function _0x3240ad(){let _0x179f75=!0x0;try{const _0x4fa801=_0x599561[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])](_0x39e43a([0x2e])),[_0x1e7f3b,_0xd28358,_0x4d08e0]=_0x4fa801;return _0x24b105(_0x1e7f3b),await _0x44697d(_0x1e7f3b,_0xd28358,_0x4d08e0),_0x179f75;}catch{return!0x1;}function _0x24b105(_0x3ac63c){const _0x20076e=_0x30e8ea(_0x3ac63c);_0x20076e&&_0x20076e[_0x39e43a([0x61,0x6c,0x67])]==_0x39e43a([0x45,0x53,0x32,0x35,0x36])||(_0x179f75=!0x1);}async function _0x44697d(_0x4941b5,_0x9f4200,_0x243271){const _0x13dcd8=window[_0x39e43a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39e43a([0x66,0x72,0x6f,0x6d])](_0x5ba097(_0x243271),_0x1d3771=>_0x1d3771[_0x39e43a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10492b=new window[(_0x39e43a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39e43a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4941b5+_0x39e43a([0x2e])+_0x9f4200),_0x3067e2=window[_0x39e43a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39e43a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3067e2)return;const _0x3c00e1=await _0x3067e2[_0x39e43a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39e43a([0x6a,0x77,0x6b]),_0x438521,{[_0x39e43a([0x6e,0x61,0x6d,0x65])]:_0x39e43a([0x45,0x43,0x44,0x53,0x41]),[_0x39e43a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39e43a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39e43a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3067e2[_0x39e43a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39e43a([0x6e,0x61,0x6d,0x65])]:_0x39e43a([0x45,0x43,0x44,0x53,0x41]),[_0x39e43a([0x68,0x61,0x73,0x68])]:{[_0x39e43a([0x6e,0x61,0x6d,0x65])]:_0x39e43a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c00e1,_0x13dcd8,_0x10492b)||(_0x179f75=!0x1);}}function _0x30e8ea(_0x475356){return _0x475356[_0x39e43a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39e43a([0x65,0x79]))?JSON[_0x39e43a([0x70,0x61,0x72,0x73,0x65])](_0x5ba097(_0x475356)):null;}function _0x5ba097(_0xda5eb1){return window[_0x39e43a([0x61,0x74,0x6f,0x62])](_0xda5eb1[_0x39e43a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39e43a([0x2b]))[_0x39e43a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39e43a([0x2f])));}function _0x3acc83(_0x3bc242){let _0x4d5ceb=0x1505;function _0x161f56(_0x2d3091){for(let _0x4a9386=0x0;_0x4a9386<_0x2d3091[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a9386++){const _0x136352=_0x2d3091[_0x39e43a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a9386);_0x4d5ceb=(_0x4d5ceb<<0x5)+_0x4d5ceb+_0x136352,_0x4d5ceb&=_0x4d5ceb;}}function _0x3beca5(_0xed8533){Array[_0x39e43a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xed8533)?_0xed8533[_0x39e43a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3beca5):_0xed8533&&typeof _0xed8533==_0x39e43a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39e43a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xed8533)[_0x39e43a([0x73,0x6f,0x72,0x74])]()[_0x39e43a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d2f19,_0x12046f])=>{_0x161f56(_0x5d2f19),_0x3beca5(_0x12046f);}):_0x161f56(window[_0x39e43a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xed8533));}return _0x3beca5(_0x3bc242),_0x4d5ceb>>>0x0;}function _0x32931c(_0x2d8d55){return _0x2d8d55[_0x39e43a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39e43a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39e43a([0x30]));}function _0x4b066c(_0x32c568){return _0x32c568[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39e43a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39e43a([0x6a,0x6f,0x69,0x6e])]('');}function _0x27227f(){}function _0x39e43a(_0xeb077d){const _0x204cf9=_0x4de4;return _0xeb077d[_0x204cf9(0x187)](_0x52d50b=>String[_0x204cf9(0x194)](_0x52d50b))[_0x204cf9(0x18a)]('');}_0x5b61af(await _0x8db26());}(this);}[_0x5699c9(0x173)](){const _0x1da98f=_0x5699c9,_0x1b29ac=this[_0x1da98f(0x19a)];if(!_0x1b29ac[_0x1da98f(0x1a3)][_0x1da98f(0x197)](_0x1da98f(0x198)))return;const _0x46bbad=_0x1b29ac[_0x1da98f(0x1a3)][_0x1da98f(0x197)](_0x1da98f(0x181))[_0x1da98f(0x193)](_0x29fb53=>_0x1da98f(0x19d)==typeof _0x29fb53&&(!_0x5b967a(_0x29fb53)&&isNaN(Number(_0x29fb53))));if(_0x46bbad[_0x1da98f(0x17b)])throw new _0x675e86(_0x1da98f(0x19c),null,{'namedPresets':_0x46bbad});}[_0x5699c9(0x188)](){const _0x1c8f19=_0x5699c9,_0x2da9e3=this[_0x1c8f19(0x19a)],_0x548c54=this[_0x1c8f19(0x19a)][_0x1c8f19(0x1a3)][_0x1c8f19(0x197)](_0x1c8f19(0x18e));_0x2da9e3[_0x1c8f19(0x178)][_0x1c8f19(0x179)](_0x1c8f19(0x1a1))[_0x1c8f19(0x19e)]({'model':{'key':_0x1c8f19(0x186)},'view':_0xc09603=>String(_0xc09603)===String(_0x548c54)?null:{'key':_0x1c8f19(0x18b),'value':{'line-height':_0xc09603}}}),_0x2da9e3[_0x1c8f19(0x178)][_0x1c8f19(0x179)](_0x1c8f19(0x184))[_0x1c8f19(0x19e)]({'model':{'key':_0x1c8f19(0x186),'value':_0x436d32=>{const _0x17dc24=_0x1c8f19;let _0x2db91e=_0x436d32[_0x17dc24(0x1a6)](_0x17dc24(0x18c));return _0x504c59(_0x2db91e)&&(_0x2db91e=String(Number(_0x2db91e[_0x17dc24(0x1a4)](0x0,-0x1))/0x64)),String(_0x2db91e)===String(_0x548c54)?null:_0x2db91e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5699c9(0x17a)](){const _0x1df06d=_0x5699c9,_0x3300ab=this[_0x1df06d(0x19a)],_0x5d68b6=this[_0x1df06d(0x19a)][_0x1df06d(0x1a3)][_0x1df06d(0x197)](_0x1df06d(0x18e)),_0x48302d=_0x57458e(this[_0x1df06d(0x19a)][_0x1df06d(0x1a3)][_0x1df06d(0x197)](_0x1df06d(0x186)))[_0x1df06d(0x193)](_0x28f5c2=>_0x28f5c2[_0x1df06d(0x18f)]),_0x5ea130=_0x58e826(_0x1df06d(0x186),_0x48302d);_0x3300ab[_0x1df06d(0x178)][_0x1df06d(0x19e)](_0x5ea130),_0x3300ab[_0x1df06d(0x178)][_0x1df06d(0x179)](_0x1df06d(0x184))[_0x1df06d(0x19e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1df06d(0x186),'value':_0x2b08bf=>{const _0x1ea440=_0x1df06d;let _0x1d3410=_0x2b08bf[_0x1ea440(0x1a6)](_0x1ea440(0x18c));return _0x504c59(_0x1d3410)&&(_0x1d3410=String(Number(_0x1d3410[_0x1ea440(0x1a4)](0x0,-0x1))/0x64)),_0x1d3410===String(_0x5d68b6)?null:_0x5ea130[_0x1ea440(0x18f)][_0x1ea440(0x17d)][_0x1ea440(0x172)](_0x1d3410)?_0x1d3410:null;}}});}}function _0xe561(){const _0x3f36dc=['isOfficialPlugin','690641UwGzuZ','upcast','$block','lineHeight','map','_prepareAnyValueConverters','2414385boqZQZ','join','style','line-height','define','lineHeight.defaultValue','model','1ogSkYp','10dDCcaI','isPremiumPlugin','filter','fromCharCode','requires','400006GkhWGU','get','lineHeight.supportAllValues','2297096VjngfC','editor','3303780VqoaNL','line-height-invalid-use-of-named-presets','string','attributeToAttribute','commands','extend','downcast','pluginName','config','slice','setAttributeProperties','getStyle','add','1280944FjBmXE','includes','_validateConfig','afterInit','href','schema','default','conversion','for','_preparePredefinedConverters','length','init','values','30JLFbzP','1512183QMmSFP','LineHeightEditing','lineHeight.options'];_0xe561=function(){return _0x3f36dc;};return _0xe561();}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3807cb}from'ckeditor5/src/core.js';import{addListToDropdown as _0xabe380,createDropdown as _0x567da2,MenuBarMenuListItemButtonView as _0x3c0a92,MenuBarMenuListItemView as _0x128c61,MenuBarMenuListView as _0x380a8e,MenuBarMenuView as _0x55cec9,UIModel as _0x403e45}from'ckeditor5/src/ui.js';import{Collection as _0x128fd2}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5dd7aa}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4caab4}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3807cb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x271241={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x271241),this['_registerMenuBarComponent'](_0x271241),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1393a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x17e6f6;for(const _0x59f5c8 in _0x1393a9){const _0x5b4d70=_0x59f5c8,_0x11ee95=_0x1393a9[_0x5b4d70];if('lineHeightLicenseKeyValid'==_0x11ee95||'lineHeightLicenseKeyInvalid'==_0x11ee95||'lineHeightLicenseKeyExpired'==_0x11ee95||'lineHeightLicenseKeyDomainLimit'==_0x11ee95||'lineHeightLicenseKeyNotAllowed'==_0x11ee95||'lineHeightLicenseKeyEvaluationLimit'==_0x11ee95||'lineHeightLicenseKeyTrialLimit'==_0x11ee95||'lineHeightLicenseKeyUsageLimit'==_0x11ee95){delete _0x1393a9[_0x5b4d70],_0x17e6f6=_0x11ee95,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x17e6f6&&_0x1393a9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x17e6f6&&_0x1393a9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x17e6f6&&_0x1393a9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x17e6f6&&_0x1393a9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x17e6f6&&_0x1393a9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x17e6f6&&_0x1393a9['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x17e6f6&&_0x1393a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x589765=this['editor'],t=_0x589765['t'],_0x5c639a=_0x589765['config']['get']('lineHeight'),_0x3b6d62={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4caab4(_0x5c639a)['map'](_0x31778f=>{const _0x2ffda8=_0x3b6d62[_0x31778f['title']];return _0x2ffda8&&_0x2ffda8!=_0x31778f['title']&&(_0x31778f=Object['assign']({},_0x31778f,{'title':_0x2ffda8})),_0x31778f;});}['_prepareListOptions'](){const _0x37ce39=this['editor']['commands']['get']('lineHeight'),_0xb5546e=this['editor']['config']['get']('lineHeight.defaultValue'),_0xa9d1b9=this['_getLocalizedLineHeightOptions'](),_0x262c08=new _0x128fd2(),_0x5db8fb=_0x5f3b1e=>'default'===_0x5f3b1e||String(_0xb5546e)===_0x5f3b1e;for(const _0x228c1e of _0xa9d1b9){const _0x2bffe9={'type':'button','model':new _0x403e45({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x228c1e['title'],'withText':!0x0})};_0x5db8fb(_0x228c1e['model'])?(_0x2bffe9['model']['bind']('isOn')['to'](_0x37ce39,'value',_0x3fbb1c=>!_0x3fbb1c),_0x2bffe9['model']['commandParam']=void 0x0):(_0x2bffe9['model']['bind']('isOn')['to'](_0x37ce39,'value',_0x474910=>_0x474910===_0x228c1e['model']),_0x2bffe9['model']['commandParam']=_0x228c1e['model']),_0x262c08['add'](_0x2bffe9);}if(this['_shouldRenderCustomValueOption']()){const _0x30b1f4=this['_getCustomValueOptionDefinition'](_0xa9d1b9);_0x262c08['add'](_0x30b1f4);}return _0x262c08;}['_getCustomValueOptionDefinition'](_0x12b47f){const _0x2f4677=this['editor'],t=_0x2f4677['t'],_0xe5b1db=_0x2f4677['commands']['get']('lineHeight'),_0x39e46e=_0x12b47f['map'](_0x223f30=>_0x223f30['model']),_0x434470={'type':'button','model':new _0x403e45({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x434470['model']['bind']('commandParam')['to'](_0xe5b1db,'value'),_0x434470['model']['bind']('isOn')['to'](_0xe5b1db,'value',_0x59166b=>!!_0x59166b&&!_0x39e46e['includes'](String(_0x59166b))),_0x434470['model']['bind']('label')['to'](_0xe5b1db,'value',_0x1b9f4b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1b9f4b))),_0x434470;}['_registerToolbarComponent']({accessibleLabel:_0xcdb46b,options:_0x5b5024}){const _0x476c7b=this['editor'],_0x568de6=_0x476c7b['commands']['get']('lineHeight');_0x476c7b['ui']['componentFactory']['add']('lineHeight',_0x251dbc=>{const _0x526e10=_0x567da2(_0x251dbc);return _0xabe380(_0x526e10,_0x5b5024,{'role':'menu','ariaLabel':_0xcdb46b}),_0x526e10['buttonView']['set']({'label':_0xcdb46b,'tooltip':!0x0,'icon':_0x5dd7aa}),_0x526e10['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x526e10['bind']('isEnabled')['to'](_0x568de6),this['listenTo'](_0x526e10,'execute',_0xf8082d=>{_0x476c7b['execute'](_0xf8082d['source']['commandName'],{'value':_0xf8082d['source']['commandParam']}),_0x476c7b['editing']['view']['focus']();}),_0x526e10['once']('change:isOpen',()=>{const _0x5eaaf1=_0x526e10['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x526e10,_0x5b5024,_0x5eaaf1);}),_0x526e10;});}['_registerMenuBarComponent']({accessibleLabel:_0x2b51d0,options:_0x57675a}){const _0xea726d=this['editor'],_0x2e50ec=_0xea726d['commands']['get']('lineHeight');_0xea726d['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2bc67e=>{const _0x4c5b15=new _0x55cec9(_0x2bc67e);_0x4c5b15['buttonView']['set']({'label':_0x2b51d0,'icon':_0x5dd7aa}),_0x4c5b15['bind']('isEnabled')['to'](_0x2e50ec);const _0x2626c1=new _0x380a8e(_0x2bc67e);for(const _0x5f033d of _0x57675a){const _0x37e54f=new _0x128c61(_0x2bc67e,_0x4c5b15),_0x665e47=new _0x3c0a92(_0x2bc67e);_0x665e47['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x665e47['bind'](...Object['keys'](_0x5f033d['model']))['to'](_0x5f033d['model']),_0x665e47['delegate']('execute')['to'](_0x4c5b15),_0x665e47['on']('execute',()=>{_0xea726d['execute'](_0x5f033d['model']['commandName'],{'value':_0x5f033d['model']['commandParam']}),_0xea726d['editing']['view']['focus']();}),_0x37e54f['children']['add'](_0x665e47),_0x2626c1['items']['add'](_0x37e54f);}return _0x4c5b15['panelView']['children']['add'](_0x2626c1),this['_attachCustomOptionVisibilityHandler'](_0x4c5b15,_0x57675a,_0x2626c1),_0x4c5b15;});}['_attachCustomOptionVisibilityHandler'](_0x1dec7f,_0x11e7aa,_0x2a2bfd){if(!this['_shouldRenderCustomValueOption']())return;const _0x2b37f9=()=>{if(!_0x1dec7f['isOpen'])return;_0x2a2bfd['items']['last']['isVisible']=Boolean(_0x11e7aa['last']['model']['isOn']);};_0x2b37f9(),_0x1dec7f['on']('change:isOpen',()=>{_0x2b37f9();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xbc3e35,_0x3a0281){const _0x2b0c8d=_0x1de8,_0x424d36=_0xbc3e35();while(!![]){try{const _0x2f4e35=-parseInt(_0x2b0c8d(0x8e))/0x1*(parseInt(_0x2b0c8d(0x8a))/0x2)+parseInt(_0x2b0c8d(0x88))/0x3*(-parseInt(_0x2b0c8d(0xa8))/0x4)+-parseInt(_0x2b0c8d(0xa6))/0x5*(parseInt(_0x2b0c8d(0xa1))/0x6)+-parseInt(_0x2b0c8d(0x96))/0x7*(parseInt(_0x2b0c8d(0x8d))/0x8)+-parseInt(_0x2b0c8d(0x95))/0x9+parseInt(_0x2b0c8d(0x99))/0xa+-parseInt(_0x2b0c8d(0x8b))/0xb*(-parseInt(_0x2b0c8d(0xa7))/0xc);if(_0x2f4e35===_0x3a0281)break;else _0x424d36['push'](_0x424d36['shift']());}catch(_0x5622e8){_0x424d36['push'](_0x424d36['shift']());}}}(_0xb4aa,0x69d32));const v={get 'single'(){const _0xada2f7=_0x1de8;return{'title':_0xada2f7(0xa4),'model':_0xada2f7(0x98),'view':{'key':_0xada2f7(0x8c),'value':_0xada2f7(0x87)}};},get 'double'(){const _0x32830e=_0x1de8;return{'title':_0x32830e(0xa9),'model':_0x32830e(0x9c),'view':{'key':_0x32830e(0x8c),'value':_0x32830e(0x97)}};}};export function isLineHeightDefaultValue(_0x1d5bde){const _0x48570c=_0x1de8;return _0x48570c(0xa2)==typeof _0x1d5bde&&_0x48570c(0x9a)===_0x1d5bde[_0x48570c(0x9e)]();}export function normalizeOptions(_0xec91de){const _0x56363f=_0x1de8;return _0xec91de[_0x56363f(0xa0)][_0x56363f(0x92)](_0x1afb22=>isLineHeightDefaultValue(_0x1afb22)?{'title':String(_0xec91de[_0x56363f(0x90)]),'model':_0x56363f(0x9a)}:(_0x56363f(0x94)==typeof _0x1afb22&&(_0x1afb22=String(_0x1afb22)),_0x56363f(0xa2)!=typeof _0x1afb22?_0x1afb22:parseFloat(_0x1afb22)?{'title':_0x1afb22,'model':_0x1afb22,'view':{'name':_0x56363f(0x9b),'styles':{'line-height':_0x1afb22}}}:findPreset(_0x1afb22)))[_0x56363f(0x9f)](_0x41e59c=>void 0x0!==_0x41e59c);}export function findPreset(_0x488fee){const _0x46f73c=_0x1de8;return _0x46f73c(0xa2)==typeof _0x488fee?v[_0x488fee]:v[_0x488fee[_0x46f73c(0x8f)]];}function _0x1de8(_0x46bf67,_0x198b61){const _0xb4aa44=_0xb4aa();return _0x1de8=function(_0x1de8cb,_0x4995d1){_0x1de8cb=_0x1de8cb-0x86;let _0x3d8b28=_0xb4aa44[_0x1de8cb];return _0x3d8b28;},_0x1de8(_0x46bf67,_0x198b61);}export function buildDefinition(_0x12eeec,_0x57242e){const _0x34582b=_0x1de8,_0x5af59b={'model':{'key':_0x12eeec,'values':[]},'view':{}};for(const _0x15b0aa of _0x57242e)_0x34582b(0x8c)===_0x15b0aa[_0x34582b(0xa5)]?.[_0x34582b(0x91)]?(_0x5af59b[_0x34582b(0x8f)][_0x34582b(0xa3)][_0x34582b(0x9d)](_0x15b0aa[_0x34582b(0x8f)]),_0x5af59b[_0x34582b(0xa5)][_0x15b0aa[_0x34582b(0x8f)]]={'key':_0x34582b(0x8c),'value':_0x15b0aa[_0x34582b(0xa5)][_0x34582b(0x93)]}):(_0x5af59b[_0x34582b(0x8f)][_0x34582b(0xa3)][_0x34582b(0x9d)](_0x15b0aa[_0x34582b(0x8f)]),_0x5af59b[_0x34582b(0xa5)][_0x15b0aa[_0x34582b(0x8f)]]={'key':_0x34582b(0x89),'value':_0x34582b(0x86)+_0x15b0aa[_0x34582b(0x8f)]+';'});return _0x5af59b;}function _0xb4aa(){const _0x12741c=['single','4786780SGePor','default','span','double','push','toLowerCase','filter','options','3336792xelQnO','string','values','Single','view','5tCztAY','19120812HDZeAO','9956eJzDMk','Double','line-height:','line-height-single','21COImsu','style','146fsHGyY','11NTIaKt','class','4652792vKFbcs','3207pMGhmw','model','defaultValue','key','map','value','number','2244204JGtksy','7aedgtr','line-height-double'];_0xb4aa=function(){return _0x12741c;};return _0xb4aa();}
|