@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251225.0 → 0.0.0-nightly-next-20251225.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 _0x4a1eaa=_0x3d96;(function(_0x1d254d,_0x40752a){const _0x483fcc=_0x3d96,_0x5bbc77=_0x1d254d();while(!![]){try{const _0x533587=parseInt(_0x483fcc(0xe1))/0x1+-parseInt(_0x483fcc(0xf7))/0x2*(-parseInt(_0x483fcc(0x100))/0x3)+-parseInt(_0x483fcc(0xde))/0x4+-parseInt(_0x483fcc(0xe4))/0x5+-parseInt(_0x483fcc(0xe6))/0x6*(parseInt(_0x483fcc(0xda))/0x7)+parseInt(_0x483fcc(0xe0))/0x8+-parseInt(_0x483fcc(0xd2))/0x9*(parseInt(_0x483fcc(0xfc))/0xa);if(_0x533587===_0x40752a)break;else _0x5bbc77['push'](_0x5bbc77['shift']());}catch(_0x114fbe){_0x5bbc77['push'](_0x5bbc77['shift']());}}}(_0x2b95,0x82388));import{Plugin as _0x34b133}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x20346c}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x29f192}from'ckeditor5/src/engine.js';import{uid as _0x2ab325,CKEditorError as _0x265fa8}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2cb8d5,isLineHeightDefaultValue as _0x38ab29,normalizeOptions as _0x2eb332}from'./utils.js';function _0x2b95(){const _0x30df2a=['isPremiumPlugin','_preparePredefinedConverters','join','slice','1132430HfCvdY','$block','editor','lineHeight','3mdwSvb','pluginName','_prepareAnyValueConverters','includes','style','extend','length','isOfficialPlugin','line-height','90SxYLSt','commands','getStyle','default','add','upcast','filter','downcast','39284gtMFMT','afterInit','values','setAttributeProperties','2353640QFtlpX','conversion','7515792rNiGIA','532024izEZfy','for','lineHeight.supportAllValues','720630JYyjKd','requires','12duJIpW','get','lineHeight.options','config','model','define','href','_validateConfig','fromCharCode','schema','string','attributeToAttribute','lineHeight.defaultValue','init','LineHeightEditing','map','line-height-invalid-use-of-named-presets','1876152OmHwhs'];_0x2b95=function(){return _0x30df2a;};return _0x2b95();}import{LineHeightTodoListIntegration as _0x573ff5}from'./integrations/todolist.js';function _0x3d96(_0x3b18ed,_0x384ba9){const _0x2b95d3=_0x2b95();return _0x3d96=function(_0x3d9615,_0x380748){_0x3d9615=_0x3d9615-0xce;let _0x1cd803=_0x2b95d3[_0x3d9615];return _0x1cd803;},_0x3d96(_0x3b18ed,_0x384ba9);}export class LineHeightEditing extends _0x34b133{static get[_0x4a1eaa(0x101)](){const _0xd2cf84=_0x4a1eaa;return _0xd2cf84(0xf4);}static get[_0x4a1eaa(0xe5)](){return[_0x573ff5];}static get[_0x4a1eaa(0xd0)](){return!0x0;}static get[_0x4a1eaa(0xf8)](){return!0x0;}constructor(_0x3b0156){const _0x4520b8=_0x4a1eaa;super(_0x3b0156),_0x3b0156[_0x4520b8(0xe9)][_0x4520b8(0xeb)](_0x4520b8(0xff),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4520b8(0xd5),0x2,2.5,0x3]});}[_0x4a1eaa(0xf3)](){const _0x53b2f0=_0x4a1eaa,_0x4ec9b8=this[_0x53b2f0(0xfe)];this[_0x53b2f0(0xed)](),_0x4ec9b8[_0x53b2f0(0xea)][_0x53b2f0(0xef)][_0x53b2f0(0xce)](_0x53b2f0(0xfd),{'allowAttributes':_0x53b2f0(0xff)}),_0x4ec9b8[_0x53b2f0(0xea)][_0x53b2f0(0xef)][_0x53b2f0(0xdd)](_0x53b2f0(0xff),{'isFormatting':!0x0}),_0x4ec9b8[_0x53b2f0(0xd3)][_0x53b2f0(0xd6)](_0x53b2f0(0xff),new _0x20346c(_0x4ec9b8)),this[_0x53b2f0(0xfe)][_0x53b2f0(0xe9)][_0x53b2f0(0xe7)](_0x53b2f0(0xe3))?this[_0x53b2f0(0x102)]():this[_0x53b2f0(0xf9)]();}[_0x4a1eaa(0xdb)](){!async function(_0x5270be){const _0x5f4932=_0x2e09c8([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]),_0x1892b0=0x45ddd215,_0xb57079=0x45daaefd^_0x1892b0,_0x1b556b=window[_0x2e09c8([0x44,0x61,0x74,0x65])][_0x2e09c8([0x6e,0x6f,0x77])](),_0x2e4f01=_0x5270be[_0x2e09c8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8ca03=new window[(_0x2e09c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ffde1=>{_0x2e4f01[_0x2e09c8([0x6f,0x6e,0x63,0x65])](_0x2e09c8([0x72,0x65,0x61,0x64,0x79]),_0x3ffde1);}),_0x23b0c7={[_0x2e09c8([0x6b,0x74,0x79])]:_0x2e09c8([0x45,0x43]),[_0x2e09c8([0x75,0x73,0x65])]:_0x2e09c8([0x73,0x69,0x67]),[_0x2e09c8([0x63,0x72,0x76])]:_0x2e09c8([0x50,0x2d,0x32,0x35,0x36]),[_0x2e09c8([0x78])]:_0x2e09c8([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]),[_0x2e09c8([0x79])]:_0x2e09c8([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]),[_0x2e09c8([0x61,0x6c,0x67])]:_0x2e09c8([0x45,0x53,0x32,0x35,0x36])},_0x1d970a=_0x2e4f01[_0x2e09c8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e09c8([0x67,0x65,0x74])](_0x2e09c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bfc4f(){let _0xdc2447,_0x4ccc9f=null,_0x3227b9=null;try{if(_0x1d970a==_0x2e09c8([0x47,0x50,0x4c]))return _0x2e09c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xdc2447=_0x30f081(),!_0xdc2447)return _0x2e09c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xdc2447[_0x2e09c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3227b9=_0x56a47a(_0xdc2447[_0x2e09c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xdc2447[_0x2e09c8([0x6a,0x74,0x69])])),await _0x113f70()?_0x1b7b5f()?_0x5e9cb9()?_0x2e09c8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d4bd1()?(_0xdc2447[_0x2e09c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e09c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ccc9f=_0x3ddd6b(_0x2e09c8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xdc2447[_0x2e09c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e09c8([0x74,0x72,0x69,0x61,0x6c])&&(_0x4ccc9f=_0x3ddd6b(_0x2e09c8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x563ffb()):_0x2e09c8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e09c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e09c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e09c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e9cb9(){const _0x1f8797=[_0x2e09c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e09c8([0x74,0x72,0x69,0x61,0x6c])][_0x2e09c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdc2447[_0x2e09c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b556b/0x3e8:0xe10*_0xb57079;return _0xdc2447[_0x2e09c8([0x65,0x78,0x70])]<_0x1f8797;}function _0x1b7b5f(){const _0x35fd3e=_0xdc2447[_0x2e09c8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35fd3e&&(!!_0x35fd3e[_0x2e09c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e09c8([0x2a]))||!!_0x35fd3e[_0x2e09c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e09c8([0x4c,0x48])));}function _0x4d4bd1(){const _0x2f58b8=_0x3d96,_0x5111d0=_0xdc2447[_0x2e09c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5111d0||0x0==_0x5111d0[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f395d}=new URL(window[_0x2e09c8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2f58b8(0xec)]);if(_0x5111d0[_0x2e09c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f395d))return!0x0;const _0x11c084=_0x2f395d[_0x2e09c8([0x73,0x70,0x6c,0x69,0x74])](_0x2e09c8([0x2e]));return _0x5111d0[_0x2e09c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x452431=>_0x452431[_0x2e09c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e09c8([0x2a])))[_0x2e09c8([0x6d,0x61,0x70])](_0x223889=>_0x223889[_0x2e09c8([0x73,0x70,0x6c,0x69,0x74])](_0x2e09c8([0x2e])))[_0x2e09c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3aeb7b=>_0x3aeb7b[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x11c084[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e09c8([0x6d,0x61,0x70])](_0x553bd7=>Array(_0x11c084[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x553bd7[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e09c8([0x66,0x69,0x6c,0x6c])](_0x553bd7[0x0]===_0x2e09c8([0x2a])?_0x2e09c8([0x2a]):'')[_0x2e09c8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x553bd7))[_0x2e09c8([0x73,0x6f,0x6d,0x65])](_0x41d0d8=>_0x11c084[_0x2e09c8([0x65,0x76,0x65,0x72,0x79])]((_0x304fe9,_0x4c7ca9)=>_0x41d0d8[_0x4c7ca9]===_0x304fe9||_0x41d0d8[_0x4c7ca9]===_0x2e09c8([0x2a])));}function _0x563ffb(){return _0x4ccc9f&&_0x3227b9?new window[(_0x2e09c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x493909,_0x14ee07)=>{_0x4ccc9f[_0x2e09c8([0x74,0x68,0x65,0x6e])](_0x493909,_0x14ee07),_0x3227b9[_0x2e09c8([0x74,0x68,0x65,0x6e])](_0x4017c4=>{_0x4017c4!=_0x2e09c8([0x56,0x61,0x6c,0x69,0x64])&&_0x493909(_0x4017c4);},_0x14ee07);}):_0x4ccc9f||_0x3227b9||_0x2e09c8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56a47a(_0x29970a,_0x11ca50){return new window[(_0x2e09c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bc039=>{if(_0x305cc3())return _0x1bc039(_0x2e09c8([0x56,0x61,0x6c,0x69,0x64]));_0x4a8fad(),_0x2e4f01[_0x2e09c8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e09c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e3621=!0x1;const _0x5a8f4d=_0x2ab325();function _0x37d78f(_0x2ce4ae){return!!_0x2ce4ae&&(typeof _0x2ce4ae===_0x2e09c8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ce4ae===_0x2e09c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ce4ae[_0x2e09c8([0x74,0x68,0x65,0x6e])]===_0x2e09c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ce4ae[_0x2e09c8([0x63,0x61,0x74,0x63,0x68])]===_0x2e09c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x574e05(_0x370bf1){_0x340413(_0x370bf1)[_0x2e09c8([0x74,0x68,0x65,0x6e])](_0x351470=>{if(!_0x351470||_0x351470[_0x2e09c8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e09c8([0x6f,0x6b]))return _0x2e09c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52dffb(_0x45fd84(_0x5a8f4d+_0x11ca50))!=_0x351470[_0x2e09c8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e09c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e09c8([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e09c8([0x74,0x68,0x65,0x6e])](_0x37ee5d=>(_0x451439(),_0x37ee5d),()=>{const _0x4e8663=_0x5ca4c7();return null==_0x4e8663?(_0x451439(),_0x2e09c8([0x56,0x61,0x6c,0x69,0x64])):_0x2e09c8(_0x1b556b-_0x4e8663>(0x61d15615^_0x1892b0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e09c8([0x74,0x68,0x65,0x6e])](_0x1bc039)[_0x2e09c8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1bc039(_0x2e09c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3828d1=0x45eb3c95^_0x1892b0;function _0x451439(){const _0x2d510c=_0x2e09c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x52dffb(_0x45fd84(_0x29970a)),_0x2cb2c4=_0x59da65(_0x52dffb(window[_0x2e09c8([0x4d,0x61,0x74,0x68])][_0x2e09c8([0x63,0x65,0x69,0x6c])](_0x1b556b/_0x3828d1)));window[_0x2e09c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e09c8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d510c,_0x2cb2c4);}function _0x5ca4c7(){const _0x3f2bde=_0x2e09c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x52dffb(_0x45fd84(_0x29970a)),_0x357140=window[_0x2e09c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e09c8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f2bde);return _0x357140?window[_0x2e09c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59da65(_0x357140),0x10)*_0x3828d1:null;}function _0x340413(_0x238ab6){return new window[(_0x2e09c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcc7fd4,_0x3f8fba)=>{_0x238ab6[_0x2e09c8([0x74,0x68,0x65,0x6e])](_0xcc7fd4,_0x3f8fba),window[_0x2e09c8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f8fba,0x45dc06d5^_0x1892b0);});}}_0x2e4f01[_0x2e09c8([0x6f,0x6e])](_0x2e09c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58dbd1,_0x3a5720)=>{if(_0x3a5720[0x0]!=_0x29970a)return _0x1bc039(_0x2e09c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a5720[0x1]={..._0x3a5720[0x1],[_0x2e09c8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a8f4d};},{[_0x2e09c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e09c8([0x68,0x69,0x67,0x68])}),_0x2e4f01[_0x2e09c8([0x6f,0x6e])](_0x2e09c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5dc554=>{_0x37d78f(_0x5dc554[_0x2e09c8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e3621=!0x0,_0x574e05(_0x5dc554[_0x2e09c8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e09c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e09c8([0x6c,0x6f,0x77])}),_0x8ca03[_0x2e09c8([0x74,0x68,0x65,0x6e])](()=>{_0x2e3621||_0x1bc039(_0x2e09c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x305cc3(){return _0x2e4f01[_0x2e09c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e09c8([0x76,0x69,0x65,0x77])][_0x2e09c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e09c8([0x61,0x75,0x74,0x6f]);}function _0x4a8fad(){_0x2e4f01[_0x2e09c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e09c8([0x76,0x69,0x65,0x77])][_0x2e09c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e09c8([0x61,0x75,0x74,0x6f]);}}function _0x3ddd6b(_0x29a924){const _0x38880f=[new window[(_0x2e09c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43a6c3=>setTimeout(_0x43a6c3,0x45d4ecd9^_0x1892b0)),_0x8ca03[_0x2e09c8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e09c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56d15f=>{let _0x59d0ba=0x0;_0x2e4f01[_0x2e09c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e09c8([0x6f,0x6e])](_0x2e09c8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b5c25,_0x1b9af1)=>{_0x1b9af1[0x0][_0x2e09c8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59d0ba++,_0x59d0ba==(0x45ddd7fd^_0x1892b0)&&(_0x56d15f(),_0x3b5c25[_0x2e09c8([0x6f,0x66,0x66])]());});}))];return window[_0x2e09c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e09c8([0x72,0x61,0x63,0x65])](_0x38880f)[_0x2e09c8([0x74,0x68,0x65,0x6e])](()=>_0x29a924);}async function _0x416ac1(){await _0x8ca03,_0x2e4f01[_0x2e09c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e09c8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16c1d4,_0x2e4f01[_0x2e09c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e09c8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16c1d4,_0x2e4f01[_0x2e09c8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e09c8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44b9c4(_0x1c9c6b){const _0x620f22=_0x17d96a();_0x2e4f01[_0x620f22]=_0x2e09c8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c9c6b,_0x1c9c6b!=_0x2e09c8([0x56,0x61,0x6c,0x69,0x64])&&_0x416ac1();}function _0x17d96a(){const _0x156f4d=window[_0x2e09c8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e09c8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e09c8([0x6e,0x6f,0x77])]())[_0x2e09c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e09c8([0x2e]),'');let _0x4eac72=_0x2e09c8([0x50]);for(let _0x3b63e3=0x0;_0x3b63e3<_0x156f4d[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b63e3+=0x2){let _0x5e74bb=window[_0x2e09c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x156f4d[_0x2e09c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b63e3,_0x3b63e3+0x2));_0x5e74bb>=_0x5f4932[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e74bb-=_0x5f4932[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4eac72+=_0x5f4932[_0x5e74bb];}return _0x4eac72;}function _0x30f081(){const _0x3269c4=_0x1d970a[_0x2e09c8([0x73,0x70,0x6c,0x69,0x74])](_0x2e09c8([0x2e]));if(0x3!=_0x3269c4[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bd0f8(_0x3269c4[0x1]);function _0x1bd0f8(_0x56aa1c){const _0x2ec390=_0x2172fe(_0x56aa1c);return _0x2ec390&&_0x1283a2()?_0x2ec390:null;function _0x1283a2(){const _0x86cd1=_0x2ec390[_0x2e09c8([0x6a,0x74,0x69])],_0x26acf5=window[_0x2e09c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x86cd1[_0x2e09c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x86cd1[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f6a2e={..._0x2ec390,[_0x2e09c8([0x6a,0x74,0x69])]:_0x86cd1[_0x2e09c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x86cd1[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f6a2e[_0x2e09c8([0x76,0x63])],_0x45fd84(_0x5f6a2e)==_0x26acf5;}}}async function _0x113f70(){let _0x55f464=!0x0;try{const _0xf01197=_0x1d970a[_0x2e09c8([0x73,0x70,0x6c,0x69,0x74])](_0x2e09c8([0x2e])),[_0xe82459,_0x489a48,_0x5a2229]=_0xf01197;return _0x2bc43b(_0xe82459),await _0x202d87(_0xe82459,_0x489a48,_0x5a2229),_0x55f464;}catch{return!0x1;}function _0x2bc43b(_0xb585fc){const _0x12f2b9=_0x2172fe(_0xb585fc);_0x12f2b9&&_0x12f2b9[_0x2e09c8([0x61,0x6c,0x67])]==_0x2e09c8([0x45,0x53,0x32,0x35,0x36])||(_0x55f464=!0x1);}async function _0x202d87(_0x58f506,_0x22bc68,_0x37abbf){const _0x298fa7=window[_0x2e09c8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e09c8([0x66,0x72,0x6f,0x6d])](_0x3044ff(_0x37abbf),_0x31e046=>_0x31e046[_0x2e09c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x172bbe=new window[(_0x2e09c8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e09c8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58f506+_0x2e09c8([0x2e])+_0x22bc68),_0x897f27=window[_0x2e09c8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e09c8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x897f27)return;const _0x2a54ca=await _0x897f27[_0x2e09c8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e09c8([0x6a,0x77,0x6b]),_0x23b0c7,{[_0x2e09c8([0x6e,0x61,0x6d,0x65])]:_0x2e09c8([0x45,0x43,0x44,0x53,0x41]),[_0x2e09c8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e09c8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e09c8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x897f27[_0x2e09c8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e09c8([0x6e,0x61,0x6d,0x65])]:_0x2e09c8([0x45,0x43,0x44,0x53,0x41]),[_0x2e09c8([0x68,0x61,0x73,0x68])]:{[_0x2e09c8([0x6e,0x61,0x6d,0x65])]:_0x2e09c8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a54ca,_0x298fa7,_0x172bbe)||(_0x55f464=!0x1);}}function _0x2172fe(_0x5bc74d){return _0x5bc74d[_0x2e09c8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e09c8([0x65,0x79]))?JSON[_0x2e09c8([0x70,0x61,0x72,0x73,0x65])](_0x3044ff(_0x5bc74d)):null;}function _0x3044ff(_0x494c45){return window[_0x2e09c8([0x61,0x74,0x6f,0x62])](_0x494c45[_0x2e09c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e09c8([0x2b]))[_0x2e09c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e09c8([0x2f])));}function _0x45fd84(_0x525c53){let _0x983bd=0x1505;function _0x45690d(_0x35e0cf){for(let _0x2d6022=0x0;_0x2d6022<_0x35e0cf[_0x2e09c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d6022++){const _0x2c55a6=_0x35e0cf[_0x2e09c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d6022);_0x983bd=(_0x983bd<<0x5)+_0x983bd+_0x2c55a6,_0x983bd&=_0x983bd;}}function _0x30f342(_0xb4484d){Array[_0x2e09c8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb4484d)?_0xb4484d[_0x2e09c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30f342):_0xb4484d&&typeof _0xb4484d==_0x2e09c8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e09c8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb4484d)[_0x2e09c8([0x73,0x6f,0x72,0x74])]()[_0x2e09c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f47f8,_0x1abbd2])=>{_0x45690d(_0x2f47f8),_0x30f342(_0x1abbd2);}):_0x45690d(window[_0x2e09c8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb4484d));}return _0x30f342(_0x525c53),_0x983bd>>>0x0;}function _0x52dffb(_0x3f332c){return _0x3f332c[_0x2e09c8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e09c8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e09c8([0x30]));}function _0x59da65(_0x4c6349){return _0x4c6349[_0x2e09c8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e09c8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e09c8([0x6a,0x6f,0x69,0x6e])]('');}function _0x16c1d4(){}function _0x2e09c8(_0x25f367){const _0x2895df=_0x3d96;return _0x25f367[_0x2895df(0xf5)](_0x5613d3=>String[_0x2895df(0xee)](_0x5613d3))[_0x2895df(0xfa)]('');}_0x44b9c4(await _0x3bfc4f());}(this);}[_0x4a1eaa(0xed)](){const _0x26d21e=_0x4a1eaa,_0x205279=this[_0x26d21e(0xfe)];if(!_0x205279[_0x26d21e(0xe9)][_0x26d21e(0xe7)](_0x26d21e(0xe3)))return;const _0x12f160=_0x205279[_0x26d21e(0xe9)][_0x26d21e(0xe7)](_0x26d21e(0xe8))[_0x26d21e(0xd8)](_0x572b20=>_0x26d21e(0xf0)==typeof _0x572b20&&(!_0x38ab29(_0x572b20)&&isNaN(Number(_0x572b20))));if(_0x12f160[_0x26d21e(0xcf)])throw new _0x265fa8(_0x26d21e(0xf6),null,{'namedPresets':_0x12f160});}[_0x4a1eaa(0x102)](){const _0x1d462a=_0x4a1eaa,_0x9c4fd4=this[_0x1d462a(0xfe)],_0x2cc9f4=this[_0x1d462a(0xfe)][_0x1d462a(0xe9)][_0x1d462a(0xe7)](_0x1d462a(0xf2));_0x9c4fd4[_0x1d462a(0xdf)][_0x1d462a(0xe2)](_0x1d462a(0xd9))[_0x1d462a(0xf1)]({'model':{'key':_0x1d462a(0xff)},'view':_0x10634b=>String(_0x10634b)===String(_0x2cc9f4)?null:{'key':_0x1d462a(0x104),'value':{'line-height':_0x10634b}}}),_0x9c4fd4[_0x1d462a(0xdf)][_0x1d462a(0xe2)](_0x1d462a(0xd7))[_0x1d462a(0xf1)]({'model':{'key':_0x1d462a(0xff),'value':_0x17c6b7=>{const _0x4e166b=_0x1d462a;let _0x4706a7=_0x17c6b7[_0x4e166b(0xd4)](_0x4e166b(0xd1));return _0x29f192(_0x4706a7)&&(_0x4706a7=String(Number(_0x4706a7[_0x4e166b(0xfb)](0x0,-0x1))/0x64)),String(_0x4706a7)===String(_0x2cc9f4)?null:_0x4706a7;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4a1eaa(0xf9)](){const _0x453b65=_0x4a1eaa,_0x1bb9b7=this[_0x453b65(0xfe)],_0x391a42=this[_0x453b65(0xfe)][_0x453b65(0xe9)][_0x453b65(0xe7)](_0x453b65(0xf2)),_0x42d113=_0x2eb332(this[_0x453b65(0xfe)][_0x453b65(0xe9)][_0x453b65(0xe7)](_0x453b65(0xff)))[_0x453b65(0xd8)](_0x39fe6f=>_0x39fe6f[_0x453b65(0xea)]),_0x74b47d=_0x2cb8d5(_0x453b65(0xff),_0x42d113);_0x1bb9b7[_0x453b65(0xdf)][_0x453b65(0xf1)](_0x74b47d),_0x1bb9b7[_0x453b65(0xdf)][_0x453b65(0xe2)](_0x453b65(0xd7))[_0x453b65(0xf1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x453b65(0xff),'value':_0x5470f8=>{const _0x36e13a=_0x453b65;let _0x56ae5d=_0x5470f8[_0x36e13a(0xd4)](_0x36e13a(0xd1));return _0x29f192(_0x56ae5d)&&(_0x56ae5d=String(Number(_0x56ae5d[_0x36e13a(0xfb)](0x0,-0x1))/0x64)),_0x56ae5d===String(_0x391a42)?null:_0x74b47d[_0x36e13a(0xea)][_0x36e13a(0xdc)][_0x36e13a(0x103)](_0x56ae5d)?_0x56ae5d:null;}}});}}
|
|
23
|
+
const _0x364f32=_0x150d;(function(_0x2f3341,_0x429d80){const _0x5ea3b2=_0x150d,_0x45928e=_0x2f3341();while(!![]){try{const _0x68ef85=-parseInt(_0x5ea3b2(0xa5))/0x1+parseInt(_0x5ea3b2(0x8d))/0x2+parseInt(_0x5ea3b2(0xc0))/0x3+-parseInt(_0x5ea3b2(0x8f))/0x4+-parseInt(_0x5ea3b2(0x94))/0x5+-parseInt(_0x5ea3b2(0xb4))/0x6*(-parseInt(_0x5ea3b2(0xaf))/0x7)+-parseInt(_0x5ea3b2(0x96))/0x8*(-parseInt(_0x5ea3b2(0xba))/0x9);if(_0x68ef85===_0x429d80)break;else _0x45928e['push'](_0x45928e['shift']());}catch(_0x5eedcf){_0x45928e['push'](_0x45928e['shift']());}}}(_0x6d7c,0x85914));import{Plugin as _0x5cfb4f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5d941e}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x296e3f}from'ckeditor5/src/engine.js';function _0x6d7c(){const _0x2ea9e7=['downcast','LineHeightEditing','7AySSFX','define','fromCharCode','model','_validateConfig','3711570knHoZc','$block','for','lineHeight.supportAllValues','line-height','editor','10467mCQmJN','values','init','afterInit','setAttributeProperties','map','172296EYIxFq','string','line-height-invalid-use-of-named-presets','250546uelmGJ','config','926492ECqIBk','lineHeight.options','_prepareAnyValueConverters','join','getStyle','1701550dxymJH','extend','8488tZlWKZ','pluginName','lineHeight.defaultValue','length','attributeToAttribute','lineHeight','get','style','conversion','slice','schema','isOfficialPlugin','requires','filter','upcast','916218dUnXlT','href','isPremiumPlugin','default','_preparePredefinedConverters','commands','includes','add'];_0x6d7c=function(){return _0x2ea9e7;};return _0x6d7c();}function _0x150d(_0x2d7a99,_0x52d860){const _0x6d7c37=_0x6d7c();return _0x150d=function(_0x150daf,_0x219009){_0x150daf=_0x150daf-0x8b;let _0x2da08b=_0x6d7c37[_0x150daf];return _0x2da08b;},_0x150d(_0x2d7a99,_0x52d860);}import{uid as _0x2e53a8,CKEditorError as _0x5b1ad4}from'ckeditor5/src/utils.js';import{buildDefinition as _0x32146d,isLineHeightDefaultValue as _0x598ba3,normalizeOptions as _0x517435}from'./utils.js';import{LineHeightTodoListIntegration as _0x57bb08}from'./integrations/todolist.js';export class LineHeightEditing extends _0x5cfb4f{static get[_0x364f32(0x97)](){const _0x4f5f0c=_0x364f32;return _0x4f5f0c(0xae);}static get[_0x364f32(0xa2)](){return[_0x57bb08];}static get[_0x364f32(0xa1)](){return!0x0;}static get[_0x364f32(0xa7)](){return!0x0;}constructor(_0x582157){const _0x4f54ff=_0x364f32;super(_0x582157),_0x582157[_0x4f54ff(0x8e)][_0x4f54ff(0xb0)](_0x4f54ff(0x9b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4f54ff(0xa8),0x2,2.5,0x3]});}[_0x364f32(0xbc)](){const _0xe24325=_0x364f32,_0x2ce36c=this[_0xe24325(0xb9)];this[_0xe24325(0xb3)](),_0x2ce36c[_0xe24325(0xb2)][_0xe24325(0xa0)][_0xe24325(0x95)](_0xe24325(0xb5),{'allowAttributes':_0xe24325(0x9b)}),_0x2ce36c[_0xe24325(0xb2)][_0xe24325(0xa0)][_0xe24325(0xbe)](_0xe24325(0x9b),{'isFormatting':!0x0}),_0x2ce36c[_0xe24325(0xaa)][_0xe24325(0xac)](_0xe24325(0x9b),new _0x5d941e(_0x2ce36c)),this[_0xe24325(0xb9)][_0xe24325(0x8e)][_0xe24325(0x9c)](_0xe24325(0xb7))?this[_0xe24325(0x91)]():this[_0xe24325(0xa9)]();}[_0x364f32(0xbd)](){!async function(_0x174d0c){const _0x84204c=_0x525be4([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]),_0x2edc11=0x45ddd215,_0x2027ef=0x45daaefd^_0x2edc11,_0x9de35e=window[_0x525be4([0x44,0x61,0x74,0x65])][_0x525be4([0x6e,0x6f,0x77])](),_0x1df53e=_0x174d0c[_0x525be4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcb0879=new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2342de=>{_0x1df53e[_0x525be4([0x6f,0x6e,0x63,0x65])](_0x525be4([0x72,0x65,0x61,0x64,0x79]),_0x2342de);}),_0x3708b5={[_0x525be4([0x6b,0x74,0x79])]:_0x525be4([0x45,0x43]),[_0x525be4([0x75,0x73,0x65])]:_0x525be4([0x73,0x69,0x67]),[_0x525be4([0x63,0x72,0x76])]:_0x525be4([0x50,0x2d,0x32,0x35,0x36]),[_0x525be4([0x78])]:_0x525be4([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]),[_0x525be4([0x79])]:_0x525be4([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]),[_0x525be4([0x61,0x6c,0x67])]:_0x525be4([0x45,0x53,0x32,0x35,0x36])},_0x387000=_0x1df53e[_0x525be4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x525be4([0x67,0x65,0x74])](_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a6e31(){let _0x46cf3c,_0xf62915=null,_0xcba52f=null;try{if(_0x387000==_0x525be4([0x47,0x50,0x4c]))return _0x525be4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46cf3c=_0x146cf9(),!_0x46cf3c)return _0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46cf3c[_0x525be4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xcba52f=_0x56fcd6(_0x46cf3c[_0x525be4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46cf3c[_0x525be4([0x6a,0x74,0x69])])),await _0x269a0a()?_0x12b936()?_0x32d918()?_0x525be4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34ba55()?(_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x525be4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf62915=_0xf5b769(_0x525be4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x525be4([0x74,0x72,0x69,0x61,0x6c])&&(_0xf62915=_0xf5b769(_0x525be4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c79f4()):_0x525be4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x525be4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32d918(){const _0x251d76=[_0x525be4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x525be4([0x74,0x72,0x69,0x61,0x6c])][_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9de35e/0x3e8:0xe10*_0x2027ef;return _0x46cf3c[_0x525be4([0x65,0x78,0x70])]<_0x251d76;}function _0x12b936(){const _0x5aeacb=_0x46cf3c[_0x525be4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5aeacb&&(!!_0x5aeacb[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x2a]))||!!_0x5aeacb[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x4c,0x48])));}function _0x34ba55(){const _0x1819c5=_0x150d,_0xe8c341=_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe8c341||0x0==_0xe8c341[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b7df0}=new URL(window[_0x525be4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1819c5(0xa6)]);if(_0xe8c341[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b7df0))return!0x0;const _0x487f9a=_0x2b7df0[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e]));return _0xe8c341[_0x525be4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17db5f=>_0x17db5f[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x2a])))[_0x525be4([0x6d,0x61,0x70])](_0x58d929=>_0x58d929[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e])))[_0x525be4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47730a=>_0x47730a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x487f9a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x525be4([0x6d,0x61,0x70])](_0x14024e=>Array(_0x487f9a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14024e[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x525be4([0x66,0x69,0x6c,0x6c])](_0x14024e[0x0]===_0x525be4([0x2a])?_0x525be4([0x2a]):'')[_0x525be4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14024e))[_0x525be4([0x73,0x6f,0x6d,0x65])](_0xfe5584=>_0x487f9a[_0x525be4([0x65,0x76,0x65,0x72,0x79])]((_0x422b54,_0x10a587)=>_0xfe5584[_0x10a587]===_0x422b54||_0xfe5584[_0x10a587]===_0x525be4([0x2a])));}function _0x5c79f4(){return _0xf62915&&_0xcba52f?new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf826d0,_0x168d81)=>{_0xf62915[_0x525be4([0x74,0x68,0x65,0x6e])](_0xf826d0,_0x168d81),_0xcba52f[_0x525be4([0x74,0x68,0x65,0x6e])](_0x17ffea=>{_0x17ffea!=_0x525be4([0x56,0x61,0x6c,0x69,0x64])&&_0xf826d0(_0x17ffea);},_0x168d81);}):_0xf62915||_0xcba52f||_0x525be4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56fcd6(_0xa367df,_0x2aa66d){return new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b65ac=>{if(_0x5d6b4e())return _0x4b65ac(_0x525be4([0x56,0x61,0x6c,0x69,0x64]));_0x5dcc92(),_0x1df53e[_0x525be4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x238b46=!0x1;const _0x47c030=_0x2e53a8();function _0x1ffec3(_0x5512d1){return!!_0x5512d1&&(typeof _0x5512d1===_0x525be4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5512d1===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5512d1[_0x525be4([0x74,0x68,0x65,0x6e])]===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5512d1[_0x525be4([0x63,0x61,0x74,0x63,0x68])]===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f6686(_0x3f222c){_0x12635c(_0x3f222c)[_0x525be4([0x74,0x68,0x65,0x6e])](_0x4f56a3=>{if(!_0x4f56a3||_0x4f56a3[_0x525be4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x525be4([0x6f,0x6b]))return _0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x350573(_0x5ce875(_0x47c030+_0x2aa66d))!=_0x4f56a3[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x525be4([0x56,0x61,0x6c,0x69,0x64]);})[_0x525be4([0x74,0x68,0x65,0x6e])](_0x348900=>(_0x53b9d8(),_0x348900),()=>{const _0x42dd48=_0x33a135();return null==_0x42dd48?(_0x53b9d8(),_0x525be4([0x56,0x61,0x6c,0x69,0x64])):_0x525be4(_0x9de35e-_0x42dd48>(0x61d15615^_0x2edc11)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x525be4([0x74,0x68,0x65,0x6e])](_0x4b65ac)[_0x525be4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e69b8=0x45eb3c95^_0x2edc11;function _0x53b9d8(){const _0x3c82ce=_0x525be4([0x6c,0x6c,0x63,0x74,0x2d])+_0x350573(_0x5ce875(_0xa367df)),_0x3ee2e2=_0xc2425b(_0x350573(window[_0x525be4([0x4d,0x61,0x74,0x68])][_0x525be4([0x63,0x65,0x69,0x6c])](_0x9de35e/_0x1e69b8)));window[_0x525be4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x525be4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c82ce,_0x3ee2e2);}function _0x33a135(){const _0x3a247a=_0x525be4([0x6c,0x6c,0x63,0x74,0x2d])+_0x350573(_0x5ce875(_0xa367df)),_0x524027=window[_0x525be4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x525be4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a247a);return _0x524027?window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc2425b(_0x524027),0x10)*_0x1e69b8:null;}function _0x12635c(_0x1b6c57){return new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40166c,_0x18353d)=>{_0x1b6c57[_0x525be4([0x74,0x68,0x65,0x6e])](_0x40166c,_0x18353d),window[_0x525be4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18353d,0x45dc06d5^_0x2edc11);});}}_0x1df53e[_0x525be4([0x6f,0x6e])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22653a,_0x298c59)=>{if(_0x298c59[0x0]!=_0xa367df)return _0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x298c59[0x1]={..._0x298c59[0x1],[_0x525be4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47c030};},{[_0x525be4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x525be4([0x68,0x69,0x67,0x68])}),_0x1df53e[_0x525be4([0x6f,0x6e])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ca2d9=>{_0x1ffec3(_0x3ca2d9[_0x525be4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x238b46=!0x0,_0x3f6686(_0x3ca2d9[_0x525be4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x525be4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x525be4([0x6c,0x6f,0x77])}),_0xcb0879[_0x525be4([0x74,0x68,0x65,0x6e])](()=>{_0x238b46||_0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d6b4e(){return _0x1df53e[_0x525be4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x525be4([0x76,0x69,0x65,0x77])][_0x525be4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x525be4([0x61,0x75,0x74,0x6f]);}function _0x5dcc92(){_0x1df53e[_0x525be4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x525be4([0x76,0x69,0x65,0x77])][_0x525be4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x525be4([0x61,0x75,0x74,0x6f]);}}function _0xf5b769(_0x1c4ef7){const _0x25a8a9=[new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5af7bb=>setTimeout(_0x5af7bb,0x45d4ecd9^_0x2edc11)),_0xcb0879[_0x525be4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3994=>{let _0x52050f=0x0;_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x6f,0x6e])](_0x525be4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2657f8,_0xbcfa58)=>{_0xbcfa58[0x0][_0x525be4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x52050f++,_0x52050f==(0x45ddd7fd^_0x2edc11)&&(_0x2a3994(),_0x2657f8[_0x525be4([0x6f,0x66,0x66])]());});}))];return window[_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x525be4([0x72,0x61,0x63,0x65])](_0x25a8a9)[_0x525be4([0x74,0x68,0x65,0x6e])](()=>_0x1c4ef7);}async function _0x2c0ebf(){await _0xcb0879,_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fab41,_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fab41,_0x1df53e[_0x525be4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x525be4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x207b0b(_0x482985){const _0x1e078b=_0x2e987f();_0x1df53e[_0x1e078b]=_0x525be4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x482985,_0x482985!=_0x525be4([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0ebf();}function _0x2e987f(){const _0x1604df=window[_0x525be4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x525be4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x525be4([0x6e,0x6f,0x77])]())[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x525be4([0x2e]),'');let _0x32a29d=_0x525be4([0x50]);for(let _0x3d1131=0x0;_0x3d1131<_0x1604df[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d1131+=0x2){let _0x3b44da=window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1604df[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d1131,_0x3d1131+0x2));_0x3b44da>=_0x84204c[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b44da-=_0x84204c[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32a29d+=_0x84204c[_0x3b44da];}return _0x32a29d;}function _0x146cf9(){const _0x1f23a8=_0x387000[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e]));if(0x3!=_0x1f23a8[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x181edf(_0x1f23a8[0x1]);function _0x181edf(_0x5b59d7){const _0x5b439e=_0x4223ae(_0x5b59d7);return _0x5b439e&&_0x4a0e59()?_0x5b439e:null;function _0x4a0e59(){const _0x159104=_0x5b439e[_0x525be4([0x6a,0x74,0x69])],_0x2c1062=window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x159104[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x159104[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34daef={..._0x5b439e,[_0x525be4([0x6a,0x74,0x69])]:_0x159104[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x159104[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34daef[_0x525be4([0x76,0x63])],_0x5ce875(_0x34daef)==_0x2c1062;}}}async function _0x269a0a(){let _0x2c547a=!0x0;try{const _0x2f10a3=_0x387000[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e])),[_0x2e3d5e,_0x1a44eb,_0x3cccdc]=_0x2f10a3;return _0x1e2c8e(_0x2e3d5e),await _0x867666(_0x2e3d5e,_0x1a44eb,_0x3cccdc),_0x2c547a;}catch{return!0x1;}function _0x1e2c8e(_0x3cd628){const _0x373e98=_0x4223ae(_0x3cd628);_0x373e98&&_0x373e98[_0x525be4([0x61,0x6c,0x67])]==_0x525be4([0x45,0x53,0x32,0x35,0x36])||(_0x2c547a=!0x1);}async function _0x867666(_0x56eb82,_0x1267ee,_0xe625d7){const _0x39def8=window[_0x525be4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x525be4([0x66,0x72,0x6f,0x6d])](_0x4c219f(_0xe625d7),_0x2c259f=>_0x2c259f[_0x525be4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57afb7=new window[(_0x525be4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x525be4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56eb82+_0x525be4([0x2e])+_0x1267ee),_0x4663ab=window[_0x525be4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x525be4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4663ab)return;const _0x15d7b4=await _0x4663ab[_0x525be4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x525be4([0x6a,0x77,0x6b]),_0x3708b5,{[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x45,0x43,0x44,0x53,0x41]),[_0x525be4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x525be4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4663ab[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x45,0x43,0x44,0x53,0x41]),[_0x525be4([0x68,0x61,0x73,0x68])]:{[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15d7b4,_0x39def8,_0x57afb7)||(_0x2c547a=!0x1);}}function _0x4223ae(_0x5770a3){return _0x5770a3[_0x525be4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x525be4([0x65,0x79]))?JSON[_0x525be4([0x70,0x61,0x72,0x73,0x65])](_0x4c219f(_0x5770a3)):null;}function _0x4c219f(_0x27cbb2){return window[_0x525be4([0x61,0x74,0x6f,0x62])](_0x27cbb2[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x525be4([0x2b]))[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x525be4([0x2f])));}function _0x5ce875(_0x5d245e){let _0x1f2136=0x1505;function _0x48275e(_0x3c0122){for(let _0x357e75=0x0;_0x357e75<_0x3c0122[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x357e75++){const _0x127949=_0x3c0122[_0x525be4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x357e75);_0x1f2136=(_0x1f2136<<0x5)+_0x1f2136+_0x127949,_0x1f2136&=_0x1f2136;}}function _0x5e76e3(_0x46b31d){Array[_0x525be4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46b31d)?_0x46b31d[_0x525be4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e76e3):_0x46b31d&&typeof _0x46b31d==_0x525be4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x525be4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46b31d)[_0x525be4([0x73,0x6f,0x72,0x74])]()[_0x525be4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb6c308,_0x59570c])=>{_0x48275e(_0xb6c308),_0x5e76e3(_0x59570c);}):_0x48275e(window[_0x525be4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46b31d));}return _0x5e76e3(_0x5d245e),_0x1f2136>>>0x0;}function _0x350573(_0x6a7494){return _0x6a7494[_0x525be4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x525be4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x525be4([0x30]));}function _0xc2425b(_0x2be83d){return _0x2be83d[_0x525be4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x525be4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x525be4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fab41(){}function _0x525be4(_0x1c06d4){const _0x5e3a48=_0x150d;return _0x1c06d4[_0x5e3a48(0xbf)](_0x5a1e49=>String[_0x5e3a48(0xb1)](_0x5a1e49))[_0x5e3a48(0x92)]('');}_0x207b0b(await _0x1a6e31());}(this);}[_0x364f32(0xb3)](){const _0x4ff91a=_0x364f32,_0x361d2c=this[_0x4ff91a(0xb9)];if(!_0x361d2c[_0x4ff91a(0x8e)][_0x4ff91a(0x9c)](_0x4ff91a(0xb7)))return;const _0x1102b6=_0x361d2c[_0x4ff91a(0x8e)][_0x4ff91a(0x9c)](_0x4ff91a(0x90))[_0x4ff91a(0xa3)](_0x5412e8=>_0x4ff91a(0x8b)==typeof _0x5412e8&&(!_0x598ba3(_0x5412e8)&&isNaN(Number(_0x5412e8))));if(_0x1102b6[_0x4ff91a(0x99)])throw new _0x5b1ad4(_0x4ff91a(0x8c),null,{'namedPresets':_0x1102b6});}[_0x364f32(0x91)](){const _0x1e2c58=_0x364f32,_0x42a8a9=this[_0x1e2c58(0xb9)],_0x4e192e=this[_0x1e2c58(0xb9)][_0x1e2c58(0x8e)][_0x1e2c58(0x9c)](_0x1e2c58(0x98));_0x42a8a9[_0x1e2c58(0x9e)][_0x1e2c58(0xb6)](_0x1e2c58(0xad))[_0x1e2c58(0x9a)]({'model':{'key':_0x1e2c58(0x9b)},'view':_0x4ceaf8=>String(_0x4ceaf8)===String(_0x4e192e)?null:{'key':_0x1e2c58(0x9d),'value':{'line-height':_0x4ceaf8}}}),_0x42a8a9[_0x1e2c58(0x9e)][_0x1e2c58(0xb6)](_0x1e2c58(0xa4))[_0x1e2c58(0x9a)]({'model':{'key':_0x1e2c58(0x9b),'value':_0x2b352d=>{const _0x2a2429=_0x1e2c58;let _0x3f9b1c=_0x2b352d[_0x2a2429(0x93)](_0x2a2429(0xb8));return _0x296e3f(_0x3f9b1c)&&(_0x3f9b1c=String(Number(_0x3f9b1c[_0x2a2429(0x9f)](0x0,-0x1))/0x64)),String(_0x3f9b1c)===String(_0x4e192e)?null:_0x3f9b1c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x364f32(0xa9)](){const _0x4391ce=_0x364f32,_0x5f0087=this[_0x4391ce(0xb9)],_0x53d6a7=this[_0x4391ce(0xb9)][_0x4391ce(0x8e)][_0x4391ce(0x9c)](_0x4391ce(0x98)),_0x5950a6=_0x517435(this[_0x4391ce(0xb9)][_0x4391ce(0x8e)][_0x4391ce(0x9c)](_0x4391ce(0x9b)))[_0x4391ce(0xa3)](_0xad4655=>_0xad4655[_0x4391ce(0xb2)]),_0xe4d44f=_0x32146d(_0x4391ce(0x9b),_0x5950a6);_0x5f0087[_0x4391ce(0x9e)][_0x4391ce(0x9a)](_0xe4d44f),_0x5f0087[_0x4391ce(0x9e)][_0x4391ce(0xb6)](_0x4391ce(0xa4))[_0x4391ce(0x9a)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4391ce(0x9b),'value':_0x5c8d4a=>{const _0x187bfe=_0x4391ce;let _0x441612=_0x5c8d4a[_0x187bfe(0x93)](_0x187bfe(0xb8));return _0x296e3f(_0x441612)&&(_0x441612=String(Number(_0x441612[_0x187bfe(0x9f)](0x0,-0x1))/0x64)),_0x441612===String(_0x53d6a7)?null:_0xe4d44f[_0x187bfe(0xb2)][_0x187bfe(0xbb)][_0x187bfe(0xab)](_0x441612)?_0x441612:null;}}});}}
|
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();}
|