@ckeditor/ckeditor5-line-height 47.7.2 → 47.7.3
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
|
+
const _0x329aa8=_0x3da7;(function(_0x1cfafa,_0x205ac8){const _0x7a4ecd=_0x3da7,_0x5ade61=_0x1cfafa();while(!![]){try{const _0x1eea95=parseInt(_0x7a4ecd(0x130))/0x1*(-parseInt(_0x7a4ecd(0x12e))/0x2)+parseInt(_0x7a4ecd(0x116))/0x3*(-parseInt(_0x7a4ecd(0x11e))/0x4)+-parseInt(_0x7a4ecd(0x138))/0x5*(-parseInt(_0x7a4ecd(0x12d))/0x6)+-parseInt(_0x7a4ecd(0x129))/0x7+-parseInt(_0x7a4ecd(0x115))/0x8*(parseInt(_0x7a4ecd(0x118))/0x9)+parseInt(_0x7a4ecd(0x111))/0xa+-parseInt(_0x7a4ecd(0x11d))/0xb*(-parseInt(_0x7a4ecd(0x135))/0xc);if(_0x1eea95===_0x205ac8)break;else _0x5ade61['push'](_0x5ade61['shift']());}catch(_0x11e185){_0x5ade61['push'](_0x5ade61['shift']());}}}(_0x3c12,0xc130a));import{Plugin as _0x3f8649}from'ckeditor5/src/core.js';import{Matcher as _0x484612}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x3f8649{static get[_0x329aa8(0x110)](){const _0x3cf969=_0x329aa8;return _0x3cf969(0x114);}static get[_0x329aa8(0x11a)](){return!0x0;}static get[_0x329aa8(0x137)](){return!0x0;}[_0x329aa8(0x112)](){const _0x51558e=_0x329aa8,{plugins:_0x4fc734,conversion:_0xb8a3}=this[_0x51558e(0x119)];if(!_0x4fc734[_0x51558e(0x121)](_0x51558e(0x117))||!_0x4fc734[_0x51558e(0x121)](_0x51558e(0x133)))return;_0x4fc734[_0x51558e(0x12c)](_0x51558e(0x117))[_0x51558e(0x10c)]({'scope':_0x51558e(0x122),'attributeName':_0x51558e(0x11b),'consume':!0x1,'setAttributeOnDowncast'(_0x472277,_0x290709,_0x5cf434,_0x2461cd,_0x346dff){const _0x43746d=_0x51558e;_0x43746d(0x132)==_0x346dff[_0x43746d(0x126)](_0x43746d(0x11f))&&_0x290709&&(_0x472277[_0x43746d(0x113)](_0x43746d(0x10e),_0x5cf434),_0x472277[_0x43746d(0x12f)](_0x43746d(0x139),_0x290709,_0x5cf434));}}),_0xb8a3[_0x51558e(0x10f)](_0x51558e(0x123))[_0x51558e(0x134)]({'view':{'name':_0x51558e(0x131),'classes':_0x51558e(0x120)},'model':_0x51558e(0x128),'converterPriority':_0x51558e(0x12a)}),_0xb8a3[_0x51558e(0x10f)](_0x51558e(0x123))[_0x51558e(0x11c)](_0x2a9319=>{const _0x1293e1=_0x51558e;_0x2a9319['on'](_0x1293e1(0x136),function(_0x3bf4f0){const _0x28992d=new _0x484612(_0x3bf4f0);return(_0x1edbca,_0x164f88,_0x26e54d)=>{const _0x1f6808=_0x3da7,_0x201068=_0x28992d[_0x1f6808(0x12b)](_0x164f88[_0x1f6808(0x10d)]);if(!_0x201068)return;const _0x5e9abc=_0x201068[_0x1f6808(0x12b)];_0x5e9abc[_0x1f6808(0x127)]=!0x1,_0x26e54d[_0x1f6808(0x125)][_0x1f6808(0x124)](_0x164f88[_0x1f6808(0x10d)],_0x5e9abc);};}({'name':'li','classes':_0x1293e1(0x10e),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x3da7(_0x3f967d,_0x252cbc){const _0x3c12e0=_0x3c12();return _0x3da7=function(_0x3da741,_0x639572){_0x3da741=_0x3da741-0x10c;let _0x47584e=_0x3c12e0[_0x3da741];return _0x47584e;},_0x3da7(_0x3f967d,_0x252cbc);}function _0x3c12(){const _0x1e8acf=['8573950QiWHMB','init','addClass','LineHeightTodoListIntegration','16rkMUJt','28683XGIbTd','ListEditing','4069458LRJRWw','editor','isOfficialPlugin','lineHeight','add','143BYKevJ','636dbjBrm','listType','todo-list__label__description','has','item','upcast','consume','consumable','getAttribute','name','paragraph','1769481ZLMyLm','high','match','get','888yVvmOy','1968716ZunieC','setStyle','1AJqLlT','span','todo','TodoListEditing','elementToElement','2993028ffodsn','element:li','isPremiumPlugin','11930LJpzaF','--ck-content-list-marker-line-height','registerDowncastStrategy','viewItem','ck-list-marker-line-height','for','pluginName'];_0x3c12=function(){return _0x1e8acf;};return _0x3c12();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x369daa=_0x28dd;(function(_0x1f0dbb,_0x4c1a1d){var _0xc5dd4c=_0x28dd,_0xc70a8=_0x1f0dbb();while(!![]){try{var _0x19adca=-parseInt(_0xc5dd4c(0xf0))/0x1+parseInt(_0xc5dd4c(0xfa))/0x2*(parseInt(_0xc5dd4c(0xeb))/0x3)+parseInt(_0xc5dd4c(0xf7))/0x4*(parseInt(_0xc5dd4c(0xf4))/0x5)+parseInt(_0xc5dd4c(0xf5))/0x6+parseInt(_0xc5dd4c(0xef))/0x7*(-parseInt(_0xc5dd4c(0xf3))/0x8)+-parseInt(_0xc5dd4c(0xf2))/0x9*(-parseInt(_0xc5dd4c(0xf6))/0xa)+-parseInt(_0xc5dd4c(0xf1))/0xb;if(_0x19adca===_0x4c1a1d)break;else _0xc70a8['push'](_0xc70a8['shift']());}catch(_0x9ebc37){_0xc70a8['push'](_0xc70a8['shift']());}}}(_0x2fa3,0x33209));function _0x2fa3(){var _0x8a0a93=['317376eTdKoz','58264UURiHl','1927685XYqOuJ','1027584LBfJXG','100DxMTMM','4BNdnnn','isOfficialPlugin','requires','96GZMfit','14721aLiqSu','isPremiumPlugin','pluginName','LineHeight','49hDOrOZ','86204TDVWph','8782125ndpvsm'];_0x2fa3=function(){return _0x8a0a93;};return _0x2fa3();}import{Plugin as _0x27ba5d}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x155cb0}from'./lineheightediting.js';import{LineHeightUI as _0x515feb}from'./lineheightui.js';function _0x28dd(_0x546366,_0x30b07d){var _0x2fa346=_0x2fa3();return _0x28dd=function(_0x28ddd9,_0x2e7798){_0x28ddd9=_0x28ddd9-0xeb;var _0x16dda5=_0x2fa346[_0x28ddd9];return _0x16dda5;},_0x28dd(_0x546366,_0x30b07d);}export class LineHeight extends _0x27ba5d{static get[_0x369daa(0xf9)](){return[_0x155cb0,_0x515feb];}static get[_0x369daa(0xed)](){var _0x29170b=_0x369daa;return _0x29170b(0xee);}static get[_0x369daa(0xf8)](){return!0x0;}static get[_0x369daa(0xec)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x393e07=_0x4574;function _0x1134(){const _0x93c4cf=['5127dBNJku','2063630YEzuzg','2662544dJMwqO','refresh','from','_canHaveLineHeight','3365544NCxOnN','472ZZddLa','removeAttribute','630097gUtUys','execute','editor','filter','change','selection','18361XgfeDw','checkAttribute','isEnabled','lineHeight','128zDElAJ','model','getSelectedBlocks','14091498sYfbxz','setAttribute','getAttribute','document','schema','value'];_0x1134=function(){return _0x93c4cf;};return _0x1134();}(function(_0x2d6b0b,_0x17130c){const _0x17b2eb=_0x4574,_0x42d4e7=_0x2d6b0b();while(!![]){try{const _0x231126=-parseInt(_0x17b2eb(0x169))/0x1+-parseInt(_0x17b2eb(0x173))/0x2*(parseInt(_0x17b2eb(0x17c))/0x3)+parseInt(_0x17b2eb(0x17e))/0x4+-parseInt(_0x17b2eb(0x17d))/0x5+-parseInt(_0x17b2eb(0x166))/0x6+parseInt(_0x17b2eb(0x16f))/0x7*(-parseInt(_0x17b2eb(0x167))/0x8)+parseInt(_0x17b2eb(0x176))/0x9;if(_0x231126===_0x17130c)break;else _0x42d4e7['push'](_0x42d4e7['shift']());}catch(_0x301b80){_0x42d4e7['push'](_0x42d4e7['shift']());}}}(_0x1134,0x58bd6));import{Command as _0x502062}from'ckeditor5/src/core.js';function _0x4574(_0x39c171,_0xf0e681){const _0x1134ca=_0x1134();return _0x4574=function(_0x45742c,_0x1283ee){_0x45742c=_0x45742c-0x165;let _0x14bee7=_0x1134ca[_0x45742c];return _0x14bee7;},_0x4574(_0x39c171,_0xf0e681);}import{first as _0x187d38}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x502062{[_0x393e07(0x17f)](){const _0x3e5049=_0x393e07,_0x24c458=this[_0x3e5049(0x16b)][_0x3e5049(0x174)][_0x3e5049(0x179)],_0x5772a4=_0x187d38(_0x24c458[_0x3e5049(0x16e)][_0x3e5049(0x175)]());this[_0x3e5049(0x171)]=Boolean(_0x5772a4)&&this[_0x3e5049(0x165)](_0x5772a4),this[_0x3e5049(0x17b)]=this[_0x3e5049(0x171)]&&_0x5772a4[_0x3e5049(0x178)](_0x3e5049(0x172));}[_0x393e07(0x16a)](_0x2d6c58={}){const _0x274b06=_0x393e07,_0x5c03e4=this[_0x274b06(0x16b)][_0x274b06(0x174)],_0x2261d4=_0x5c03e4[_0x274b06(0x179)][_0x274b06(0x16e)],_0x1c2872=_0x2d6c58[_0x274b06(0x17b)];_0x5c03e4[_0x274b06(0x16d)](_0x199bf2=>{const _0x58bf13=_0x274b06,_0x154c5d=Array[_0x58bf13(0x180)](_0x2261d4[_0x58bf13(0x175)]())[_0x58bf13(0x16c)](_0x29b598=>this[_0x58bf13(0x165)](_0x29b598));for(const _0x111ba4 of _0x154c5d)_0x1c2872?_0x199bf2[_0x58bf13(0x177)](_0x58bf13(0x172),_0x1c2872,_0x111ba4):_0x199bf2[_0x58bf13(0x168)](_0x58bf13(0x172),_0x111ba4);});}[_0x393e07(0x165)](_0x3dcea1){const _0x37af53=_0x393e07;return this[_0x37af53(0x16b)][_0x37af53(0x174)][_0x37af53(0x17a)][_0x37af53(0x170)](_0x3dcea1,_0x37af53(0x172));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x128680=_0x18d0;(function(_0x554a58,_0x3a8ce4){const _0x34fa7e=_0x18d0,_0x1be39c=_0x554a58();while(!![]){try{const _0x531fd9=parseInt(_0x34fa7e(0x19d))/0x1*(parseInt(_0x34fa7e(0x17b))/0x2)+parseInt(_0x34fa7e(0x17f))/0x3+parseInt(_0x34fa7e(0x18e))/0x4+parseInt(_0x34fa7e(0x187))/0x5+-parseInt(_0x34fa7e(0x17a))/0x6+parseInt(_0x34fa7e(0x19f))/0x7+parseInt(_0x34fa7e(0x1a3))/0x8*(-parseInt(_0x34fa7e(0x19e))/0x9);if(_0x531fd9===_0x3a8ce4)break;else _0x1be39c['push'](_0x1be39c['shift']());}catch(_0x40af99){_0x1be39c['push'](_0x1be39c['shift']());}}}(_0x2e10,0x39b1e));function _0x18d0(_0x37dd5b,_0x3d5ddf){const _0x2e1063=_0x2e10();return _0x18d0=function(_0x18d0bb,_0x109efb){_0x18d0bb=_0x18d0bb-0x179;let _0xdcf1=_0x2e1063[_0x18d0bb];return _0xdcf1;},_0x18d0(_0x37dd5b,_0x3d5ddf);}import{Plugin as _0x376413}from'ckeditor5/src/core.js';function _0x2e10(){const _0x5e232b=['schema','commands','599580KACDPF','isOfficialPlugin','line-height-invalid-use-of-named-presets','includes','for','get','setAttributeProperties','length','263215YJpvzz','href','requires','default','slice','attributeToAttribute','getStyle','1262672VZTCsS','_preparePredefinedConverters','lineHeight.defaultValue','afterInit','downcast','init','fromCharCode','lineHeight.options','line-height','string','style','_prepareAnyValueConverters','define','map','join','1WEBzsL','3141XJzeZw','376642bDreiw','upcast','isPremiumPlugin','filter','7368IUQKyT','$block','pluginName','config','lineHeight','editor','lineHeight.supportAllValues','extend','model','add','_validateConfig','LineHeightEditing','values','466914ksQsHH','27178bZprcQ','conversion'];_0x2e10=function(){return _0x5e232b;};return _0x2e10();}import{LineHeightCommand as _0x55e13a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4c2dc5}from'ckeditor5/src/engine.js';import{uid as _0x5b6bf4,CKEditorError as _0x375112}from'ckeditor5/src/utils.js';import{buildDefinition as _0xfeec5f,isLineHeightDefaultValue as _0x3a252f,normalizeOptions as _0x26e4eb}from'./utils.js';import{LineHeightTodoListIntegration as _0x26d06c}from'./integrations/todolist.js';export class LineHeightEditing extends _0x376413{static get[_0x128680(0x1a5)](){const _0x699d7e=_0x128680;return _0x699d7e(0x1ae);}static get[_0x128680(0x189)](){return[_0x26d06c];}static get[_0x128680(0x180)](){return!0x0;}static get[_0x128680(0x1a1)](){return!0x0;}constructor(_0x5aecdd){const _0x3473c4=_0x128680;super(_0x5aecdd),_0x5aecdd[_0x3473c4(0x1a6)][_0x3473c4(0x19a)](_0x3473c4(0x1a7),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3473c4(0x18a),0x2,2.5,0x3]});}[_0x128680(0x193)](){const _0x3dcad8=_0x128680,_0x311ea0=this[_0x3dcad8(0x1a8)];this[_0x3dcad8(0x1ad)](),_0x311ea0[_0x3dcad8(0x1ab)][_0x3dcad8(0x17d)][_0x3dcad8(0x1aa)](_0x3dcad8(0x1a4),{'allowAttributes':_0x3dcad8(0x1a7)}),_0x311ea0[_0x3dcad8(0x1ab)][_0x3dcad8(0x17d)][_0x3dcad8(0x185)](_0x3dcad8(0x1a7),{'isFormatting':!0x0}),_0x311ea0[_0x3dcad8(0x17e)][_0x3dcad8(0x1ac)](_0x3dcad8(0x1a7),new _0x55e13a(_0x311ea0)),this[_0x3dcad8(0x1a8)][_0x3dcad8(0x1a6)][_0x3dcad8(0x184)](_0x3dcad8(0x1a9))?this[_0x3dcad8(0x199)]():this[_0x3dcad8(0x18f)]();}[_0x128680(0x191)](){!async function(_0x2ab1d3){const _0x55501c=_0x484624([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]),_0x4a55f9=0x45ddd215,_0x97d43c=0x45da587d^_0x4a55f9,_0x402629=window[_0x484624([0x44,0x61,0x74,0x65])][_0x484624([0x6e,0x6f,0x77])](),_0x23de01=_0x2ab1d3[_0x484624([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dc71c=new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3247=>{_0x23de01[_0x484624([0x6f,0x6e,0x63,0x65])](_0x484624([0x72,0x65,0x61,0x64,0x79]),_0x2a3247);}),_0x1a6c3a={[_0x484624([0x6b,0x74,0x79])]:_0x484624([0x45,0x43]),[_0x484624([0x75,0x73,0x65])]:_0x484624([0x73,0x69,0x67]),[_0x484624([0x63,0x72,0x76])]:_0x484624([0x50,0x2d,0x32,0x35,0x36]),[_0x484624([0x78])]:_0x484624([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]),[_0x484624([0x79])]:_0x484624([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]),[_0x484624([0x61,0x6c,0x67])]:_0x484624([0x45,0x53,0x32,0x35,0x36])},_0x43a3e7=_0x23de01[_0x484624([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x484624([0x67,0x65,0x74])](_0x484624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13222d(){let _0x112ba4,_0x3b3208=null,_0x4aaa5d=null;try{if(_0x43a3e7==_0x484624([0x47,0x50,0x4c]))return _0x484624([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x112ba4=_0x329116(),!_0x112ba4)return _0x484624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x112ba4[_0x484624([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4aaa5d=_0x33ed25(_0x112ba4[_0x484624([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x112ba4[_0x484624([0x6a,0x74,0x69])])),await _0x3b7848()?_0x39825a()?_0x1f9fd0()?_0x484624([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e36f()?(_0x112ba4[_0x484624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x484624([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b3208=_0xc994ca(_0x484624([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8791e5()):_0x484624([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x484624([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x484624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x484624([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f9fd0(){const _0x4c883a=[_0x484624([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x484624([0x74,0x72,0x69,0x61,0x6c])][_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112ba4[_0x484624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x402629/0x3e8:0xe10*_0x97d43c;return _0x112ba4[_0x484624([0x65,0x78,0x70])]<_0x4c883a;}function _0x39825a(){const _0x4c2863=_0x112ba4[_0x484624([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c2863&&(!!_0x4c2863[_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484624([0x2a]))||!!_0x4c2863[_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484624([0x4c,0x48])));}function _0x1e36f(){const _0x473f4b=_0x18d0,_0x375bda=_0x112ba4[_0x484624([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x375bda||0x0==_0x375bda[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c4f37}=new URL(window[_0x484624([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x473f4b(0x188)]);if(_0x375bda[_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c4f37))return!0x0;const _0x3cf9b1=_0x2c4f37[_0x484624([0x73,0x70,0x6c,0x69,0x74])](_0x484624([0x2e]));return _0x375bda[_0x484624([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x394f4b=>_0x394f4b[_0x484624([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484624([0x2a])))[_0x484624([0x6d,0x61,0x70])](_0x32ca12=>_0x32ca12[_0x484624([0x73,0x70,0x6c,0x69,0x74])](_0x484624([0x2e])))[_0x484624([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1219fb=>_0x1219fb[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3cf9b1[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484624([0x6d,0x61,0x70])](_0x114ec0=>Array(_0x3cf9b1[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x114ec0[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x484624([0x66,0x69,0x6c,0x6c])](_0x114ec0[0x0]===_0x484624([0x2a])?_0x484624([0x2a]):'')[_0x484624([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x114ec0))[_0x484624([0x73,0x6f,0x6d,0x65])](_0x581539=>_0x3cf9b1[_0x484624([0x65,0x76,0x65,0x72,0x79])]((_0x473dd1,_0x25d528)=>_0x581539[_0x25d528]===_0x473dd1||_0x581539[_0x25d528]===_0x484624([0x2a])));}function _0x8791e5(){return _0x3b3208&&_0x4aaa5d?new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2367ae,_0x29adc4)=>{_0x3b3208[_0x484624([0x74,0x68,0x65,0x6e])](_0x2367ae,_0x29adc4),_0x4aaa5d[_0x484624([0x74,0x68,0x65,0x6e])](_0x132848=>{_0x132848!=_0x484624([0x56,0x61,0x6c,0x69,0x64])&&_0x2367ae(_0x132848);},_0x29adc4);}):_0x3b3208||_0x4aaa5d||_0x484624([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33ed25(_0x3c9ff4,_0x464742){return new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eb7c3=>{if(_0x50adf3())return _0x4eb7c3(_0x484624([0x56,0x61,0x6c,0x69,0x64]));_0x3aebee(),_0x23de01[_0x484624([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x484624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5190b8=!0x1;const _0x378742=_0x5b6bf4();function _0xd4f515(_0x63c2df){return!!_0x63c2df&&(typeof _0x63c2df===_0x484624([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x63c2df===_0x484624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x63c2df[_0x484624([0x74,0x68,0x65,0x6e])]===_0x484624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x63c2df[_0x484624([0x63,0x61,0x74,0x63,0x68])]===_0x484624([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38667b(_0x1e0190){_0x36c403(_0x1e0190)[_0x484624([0x74,0x68,0x65,0x6e])](_0x14b565=>{if(!_0x14b565||_0x14b565[_0x484624([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x484624([0x6f,0x6b]))return _0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56cbff(_0x185357(_0x378742+_0x464742))!=_0x14b565[_0x484624([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x484624([0x56,0x61,0x6c,0x69,0x64]);})[_0x484624([0x74,0x68,0x65,0x6e])](_0x25f912=>(_0x3735f5(),_0x25f912),()=>{const _0x564225=_0x47d2bf();return null==_0x564225?(_0x3735f5(),_0x484624([0x56,0x61,0x6c,0x69,0x64])):_0x484624(_0x402629-_0x564225>(0x61d15615^_0x4a55f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x484624([0x74,0x68,0x65,0x6e])](_0x4eb7c3)[_0x484624([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4eb7c3(_0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f4cdf=0x45eb3c95^_0x4a55f9;function _0x3735f5(){const _0x2aad1e=_0x484624([0x6c,0x6c,0x63,0x74,0x2d])+_0x56cbff(_0x185357(_0x3c9ff4)),_0x529fb4=_0x1a4f5c(_0x56cbff(window[_0x484624([0x4d,0x61,0x74,0x68])][_0x484624([0x63,0x65,0x69,0x6c])](_0x402629/_0x1f4cdf)));window[_0x484624([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484624([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2aad1e,_0x529fb4);}function _0x47d2bf(){const _0x3508f7=_0x484624([0x6c,0x6c,0x63,0x74,0x2d])+_0x56cbff(_0x185357(_0x3c9ff4)),_0x7841e4=window[_0x484624([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x484624([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3508f7);return _0x7841e4?window[_0x484624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a4f5c(_0x7841e4),0x10)*_0x1f4cdf:null;}function _0x36c403(_0x2ad517){return new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x508247,_0x3e9767)=>{_0x2ad517[_0x484624([0x74,0x68,0x65,0x6e])](_0x508247,_0x3e9767),window[_0x484624([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e9767,0x45dc06d5^_0x4a55f9);});}}_0x23de01[_0x484624([0x6f,0x6e])](_0x484624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c03bf,_0x283cbf)=>{if(_0x283cbf[0x0]!=_0x3c9ff4)return _0x4eb7c3(_0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x283cbf[0x1]={..._0x283cbf[0x1],[_0x484624([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x378742};},{[_0x484624([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484624([0x68,0x69,0x67,0x68])}),_0x23de01[_0x484624([0x6f,0x6e])](_0x484624([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a7566=>{_0xd4f515(_0x5a7566[_0x484624([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5190b8=!0x0,_0x38667b(_0x5a7566[_0x484624([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x484624([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x484624([0x6c,0x6f,0x77])}),_0x1dc71c[_0x484624([0x74,0x68,0x65,0x6e])](()=>{_0x5190b8||_0x4eb7c3(_0x484624([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50adf3(){return _0x23de01[_0x484624([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484624([0x76,0x69,0x65,0x77])][_0x484624([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x484624([0x61,0x75,0x74,0x6f]);}function _0x3aebee(){_0x23de01[_0x484624([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x484624([0x76,0x69,0x65,0x77])][_0x484624([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x484624([0x61,0x75,0x74,0x6f]);}}function _0xc994ca(_0x38fb03){const _0x3e2e4a=[new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b5757=>setTimeout(_0x4b5757,0x45d4ecd9^_0x4a55f9)),_0x1dc71c[_0x484624([0x74,0x68,0x65,0x6e])](()=>new window[(_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10e703=>{let _0x4d43db=0x0;_0x23de01[_0x484624([0x6d,0x6f,0x64,0x65,0x6c])][_0x484624([0x6f,0x6e])](_0x484624([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3eee30,_0x50a545)=>{_0x50a545[0x0][_0x484624([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d43db++,_0x4d43db==(0x45ddd7fd^_0x4a55f9)&&(_0x10e703(),_0x3eee30[_0x484624([0x6f,0x66,0x66])]());});}))];return window[_0x484624([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x484624([0x72,0x61,0x63,0x65])](_0x3e2e4a)[_0x484624([0x74,0x68,0x65,0x6e])](()=>_0x38fb03);}async function _0xa7a10f(){await _0x1dc71c,_0x23de01[_0x484624([0x6d,0x6f,0x64,0x65,0x6c])][_0x484624([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d30c0,_0x23de01[_0x484624([0x6d,0x6f,0x64,0x65,0x6c])][_0x484624([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d30c0,_0x23de01[_0x484624([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x484624([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4212b7(_0x29bce6){const _0x19e16a=_0x3f436b();_0x23de01[_0x19e16a]=_0x484624([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29bce6,_0x29bce6!=_0x484624([0x56,0x61,0x6c,0x69,0x64])&&_0xa7a10f();}function _0x3f436b(){const _0x1d4b89=window[_0x484624([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x484624([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x484624([0x6e,0x6f,0x77])]())[_0x484624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x484624([0x2e]),'');let _0x4ba156=_0x484624([0x50]);for(let _0x30588c=0x0;_0x30588c<_0x1d4b89[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30588c+=0x2){let _0x5df53d=window[_0x484624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d4b89[_0x484624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30588c,_0x30588c+0x2));_0x5df53d>=_0x55501c[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5df53d-=_0x55501c[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ba156+=_0x55501c[_0x5df53d];}return _0x4ba156;}function _0x329116(){const _0x2b52ff=_0x43a3e7[_0x484624([0x73,0x70,0x6c,0x69,0x74])](_0x484624([0x2e]));if(0x3!=_0x2b52ff[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41eb5f(_0x2b52ff[0x1]);function _0x41eb5f(_0x279fec){const _0x13b562=_0x2c7b93(_0x279fec);return _0x13b562&&_0x52d797()?_0x13b562:null;function _0x52d797(){const _0x35abd5=_0x13b562[_0x484624([0x6a,0x74,0x69])],_0x37a476=window[_0x484624([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35abd5[_0x484624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35abd5[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41a33e={..._0x13b562,[_0x484624([0x6a,0x74,0x69])]:_0x35abd5[_0x484624([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35abd5[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41a33e[_0x484624([0x76,0x63])],_0x185357(_0x41a33e)==_0x37a476;}}}async function _0x3b7848(){let _0x3b29f3=!0x0;try{const _0x3ec658=_0x43a3e7[_0x484624([0x73,0x70,0x6c,0x69,0x74])](_0x484624([0x2e])),[_0x484f48,_0x511594,_0xdea121]=_0x3ec658;return _0x2e9a31(_0x484f48),await _0x574d11(_0x484f48,_0x511594,_0xdea121),_0x3b29f3;}catch{return!0x1;}function _0x2e9a31(_0x5dd44d){const _0x220e28=_0x2c7b93(_0x5dd44d);_0x220e28&&_0x220e28[_0x484624([0x61,0x6c,0x67])]==_0x484624([0x45,0x53,0x32,0x35,0x36])||(_0x3b29f3=!0x1);}async function _0x574d11(_0x517e24,_0xa72bb6,_0x4de56e){const _0x1469fc=window[_0x484624([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x484624([0x66,0x72,0x6f,0x6d])](_0x402673(_0x4de56e),_0x3866be=>_0x3866be[_0x484624([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36c6f0=new window[(_0x484624([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x484624([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x517e24+_0x484624([0x2e])+_0xa72bb6),_0x897bf2=window[_0x484624([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x484624([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x897bf2)return;const _0x4269bd=await _0x897bf2[_0x484624([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x484624([0x6a,0x77,0x6b]),_0x1a6c3a,{[_0x484624([0x6e,0x61,0x6d,0x65])]:_0x484624([0x45,0x43,0x44,0x53,0x41]),[_0x484624([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x484624([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x484624([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x897bf2[_0x484624([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x484624([0x6e,0x61,0x6d,0x65])]:_0x484624([0x45,0x43,0x44,0x53,0x41]),[_0x484624([0x68,0x61,0x73,0x68])]:{[_0x484624([0x6e,0x61,0x6d,0x65])]:_0x484624([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4269bd,_0x1469fc,_0x36c6f0)||(_0x3b29f3=!0x1);}}function _0x2c7b93(_0x4577d5){return _0x4577d5[_0x484624([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x484624([0x65,0x79]))?JSON[_0x484624([0x70,0x61,0x72,0x73,0x65])](_0x402673(_0x4577d5)):null;}function _0x402673(_0x1ffd0f){return window[_0x484624([0x61,0x74,0x6f,0x62])](_0x1ffd0f[_0x484624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x484624([0x2b]))[_0x484624([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x484624([0x2f])));}function _0x185357(_0x365dc8){let _0x1d54e2=0x1505;function _0x51ea4d(_0x3be12f){for(let _0x46511b=0x0;_0x46511b<_0x3be12f[_0x484624([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46511b++){const _0x4c760a=_0x3be12f[_0x484624([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46511b);_0x1d54e2=(_0x1d54e2<<0x5)+_0x1d54e2+_0x4c760a,_0x1d54e2&=_0x1d54e2;}}function _0x5d67a3(_0x1b7b04){Array[_0x484624([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b7b04)?_0x1b7b04[_0x484624([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d67a3):_0x1b7b04&&typeof _0x1b7b04==_0x484624([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x484624([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b7b04)[_0x484624([0x73,0x6f,0x72,0x74])]()[_0x484624([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e90ec,_0x1ab853])=>{_0x51ea4d(_0x1e90ec),_0x5d67a3(_0x1ab853);}):_0x51ea4d(window[_0x484624([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b7b04));}return _0x5d67a3(_0x365dc8),_0x1d54e2>>>0x0;}function _0x56cbff(_0x4726f0){return _0x4726f0[_0x484624([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x484624([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x484624([0x30]));}function _0x1a4f5c(_0x5c4d3e){return _0x5c4d3e[_0x484624([0x73,0x70,0x6c,0x69,0x74])]('')[_0x484624([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x484624([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d30c0(){}function _0x484624(_0x1fb34e){const _0x10a26b=_0x18d0;return _0x1fb34e[_0x10a26b(0x19b)](_0x493d81=>String[_0x10a26b(0x194)](_0x493d81))[_0x10a26b(0x19c)]('');}_0x4212b7(await _0x13222d());}(this);}[_0x128680(0x1ad)](){const _0x5ebf92=_0x128680,_0x5b977b=this[_0x5ebf92(0x1a8)];if(!_0x5b977b[_0x5ebf92(0x1a6)][_0x5ebf92(0x184)](_0x5ebf92(0x1a9)))return;const _0xcf0549=_0x5b977b[_0x5ebf92(0x1a6)][_0x5ebf92(0x184)](_0x5ebf92(0x195))[_0x5ebf92(0x1a2)](_0x49aad5=>_0x5ebf92(0x197)==typeof _0x49aad5&&(!_0x3a252f(_0x49aad5)&&isNaN(Number(_0x49aad5))));if(_0xcf0549[_0x5ebf92(0x186)])throw new _0x375112(_0x5ebf92(0x181),null,{'namedPresets':_0xcf0549});}[_0x128680(0x199)](){const _0x2609a3=_0x128680,_0x5422a7=this[_0x2609a3(0x1a8)],_0xcf8fd7=this[_0x2609a3(0x1a8)][_0x2609a3(0x1a6)][_0x2609a3(0x184)](_0x2609a3(0x190));_0x5422a7[_0x2609a3(0x17c)][_0x2609a3(0x183)](_0x2609a3(0x192))[_0x2609a3(0x18c)]({'model':{'key':_0x2609a3(0x1a7)},'view':_0x3f9d2b=>String(_0x3f9d2b)===String(_0xcf8fd7)?null:{'key':_0x2609a3(0x198),'value':{'line-height':_0x3f9d2b}}}),_0x5422a7[_0x2609a3(0x17c)][_0x2609a3(0x183)](_0x2609a3(0x1a0))[_0x2609a3(0x18c)]({'model':{'key':_0x2609a3(0x1a7),'value':_0x36223f=>{const _0x5a39fc=_0x2609a3;let _0x243ab2=_0x36223f[_0x5a39fc(0x18d)](_0x5a39fc(0x196));return _0x4c2dc5(_0x243ab2)&&(_0x243ab2=String(Number(_0x243ab2[_0x5a39fc(0x18b)](0x0,-0x1))/0x64)),String(_0x243ab2)===String(_0xcf8fd7)?null:_0x243ab2;}},'view':{'styles':{'line-height':/.*/}}});}[_0x128680(0x18f)](){const _0x541ff3=_0x128680,_0x178287=this[_0x541ff3(0x1a8)],_0x539797=this[_0x541ff3(0x1a8)][_0x541ff3(0x1a6)][_0x541ff3(0x184)](_0x541ff3(0x190)),_0x154d42=_0x26e4eb(this[_0x541ff3(0x1a8)][_0x541ff3(0x1a6)][_0x541ff3(0x184)](_0x541ff3(0x1a7)))[_0x541ff3(0x1a2)](_0x502df4=>_0x502df4[_0x541ff3(0x1ab)]),_0x57d371=_0xfeec5f(_0x541ff3(0x1a7),_0x154d42);_0x178287[_0x541ff3(0x17c)][_0x541ff3(0x18c)](_0x57d371),_0x178287[_0x541ff3(0x17c)][_0x541ff3(0x183)](_0x541ff3(0x1a0))[_0x541ff3(0x18c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x541ff3(0x1a7),'value':_0x29f76e=>{const _0x5601f0=_0x541ff3;let _0x3cf357=_0x29f76e[_0x5601f0(0x18d)](_0x5601f0(0x196));return _0x4c2dc5(_0x3cf357)&&(_0x3cf357=String(Number(_0x3cf357[_0x5601f0(0x18b)](0x0,-0x1))/0x64)),_0x3cf357===String(_0x539797)?null:_0x57d371[_0x5601f0(0x1ab)][_0x5601f0(0x179)][_0x5601f0(0x182)](_0x3cf357)?_0x3cf357:null;}}});}}
|
|
23
|
+
const _0x15adbb=_0x20ba;(function(_0x558fc4,_0x15786e){const _0x38d724=_0x20ba,_0x261fbe=_0x558fc4();while(!![]){try{const _0x57248a=-parseInt(_0x38d724(0x6e))/0x1+parseInt(_0x38d724(0x8e))/0x2*(parseInt(_0x38d724(0x77))/0x3)+-parseInt(_0x38d724(0x86))/0x4+-parseInt(_0x38d724(0x80))/0x5+-parseInt(_0x38d724(0x6b))/0x6+parseInt(_0x38d724(0x70))/0x7+-parseInt(_0x38d724(0x83))/0x8*(-parseInt(_0x38d724(0x92))/0x9);if(_0x57248a===_0x15786e)break;else _0x261fbe['push'](_0x261fbe['shift']());}catch(_0x13bb9c){_0x261fbe['push'](_0x261fbe['shift']());}}}(_0x2ce9,0xbcccd));import{Plugin as _0x69e80a}from'ckeditor5/src/core.js';function _0x20ba(_0x51f0d4,_0x38e812){const _0x2ce929=_0x2ce9();return _0x20ba=function(_0x20ba0c,_0x3d3e4f){_0x20ba0c=_0x20ba0c-0x65;let _0x55e79b=_0x2ce929[_0x20ba0c];return _0x55e79b;},_0x20ba(_0x51f0d4,_0x38e812);}import{LineHeightCommand as _0x4ceeb4}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x15b7e2}from'ckeditor5/src/engine.js';import{uid as _0x55e9e8,CKEditorError as _0x16dcfa}from'ckeditor5/src/utils.js';import{buildDefinition as _0x390d2b,isLineHeightDefaultValue as _0x5ceb44,normalizeOptions as _0xcd38e6}from'./utils.js';import{LineHeightTodoListIntegration as _0x4dd835}from'./integrations/todolist.js';function _0x2ce9(){const _0x8e5496=['8pAAmTR','model','extend','4847972mNkLtE','lineHeight','for','lineHeight.supportAllValues','map','lineHeight.options','commands','conversion','1379882LjClnv','upcast','line-height','get','18391932xzzPpm','default','requires','_preparePredefinedConverters','init','length','afterInit','includes','slice','_validateConfig','isOfficialPlugin','editor','line-height-invalid-use-of-named-presets','fromCharCode','pluginName','3902484RwFuxS','LineHeightEditing','define','1439722mzeVKi','schema','10322718JYKsHa','values','lineHeight.defaultValue','isPremiumPlugin','string','config','getStyle','3wiVtnv','$block','style','attributeToAttribute','filter','add','href','setAttributeProperties','downcast','663545qwFPwR','_prepareAnyValueConverters','join'];_0x2ce9=function(){return _0x8e5496;};return _0x2ce9();}export class LineHeightEditing extends _0x69e80a{static get[_0x15adbb(0x6a)](){const _0x2e0cb5=_0x15adbb;return _0x2e0cb5(0x6c);}static get[_0x15adbb(0x94)](){return[_0x4dd835];}static get[_0x15adbb(0x66)](){return!0x0;}static get[_0x15adbb(0x73)](){return!0x0;}constructor(_0x1cc1d6){const _0x28a110=_0x15adbb;super(_0x1cc1d6),_0x1cc1d6[_0x28a110(0x75)][_0x28a110(0x6d)](_0x28a110(0x87),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x28a110(0x93),0x2,2.5,0x3]});}[_0x15adbb(0x96)](){const _0x518376=_0x15adbb,_0x5be93a=this[_0x518376(0x67)];this[_0x518376(0x65)](),_0x5be93a[_0x518376(0x84)][_0x518376(0x6f)][_0x518376(0x85)](_0x518376(0x78),{'allowAttributes':_0x518376(0x87)}),_0x5be93a[_0x518376(0x84)][_0x518376(0x6f)][_0x518376(0x7e)](_0x518376(0x87),{'isFormatting':!0x0}),_0x5be93a[_0x518376(0x8c)][_0x518376(0x7c)](_0x518376(0x87),new _0x4ceeb4(_0x5be93a)),this[_0x518376(0x67)][_0x518376(0x75)][_0x518376(0x91)](_0x518376(0x89))?this[_0x518376(0x81)]():this[_0x518376(0x95)]();}[_0x15adbb(0x98)](){!async function(_0x8419ef){const _0x5b75dc=_0x3e1494([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]),_0x18bd93=0x45ddd215,_0x5a989f=0x45da5dd5^_0x18bd93,_0x45deac=window[_0x3e1494([0x44,0x61,0x74,0x65])][_0x3e1494([0x6e,0x6f,0x77])](),_0x4ce4a5=_0x8419ef[_0x3e1494([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f83ec=new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bd5bf=>{_0x4ce4a5[_0x3e1494([0x6f,0x6e,0x63,0x65])](_0x3e1494([0x72,0x65,0x61,0x64,0x79]),_0x1bd5bf);}),_0x32240a={[_0x3e1494([0x6b,0x74,0x79])]:_0x3e1494([0x45,0x43]),[_0x3e1494([0x75,0x73,0x65])]:_0x3e1494([0x73,0x69,0x67]),[_0x3e1494([0x63,0x72,0x76])]:_0x3e1494([0x50,0x2d,0x32,0x35,0x36]),[_0x3e1494([0x78])]:_0x3e1494([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]),[_0x3e1494([0x79])]:_0x3e1494([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]),[_0x3e1494([0x61,0x6c,0x67])]:_0x3e1494([0x45,0x53,0x32,0x35,0x36])},_0x4822f2=_0x4ce4a5[_0x3e1494([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e1494([0x67,0x65,0x74])](_0x3e1494([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20acf3(){let _0x58d06f,_0x8372b=null,_0x53e5b6=null;try{if(_0x4822f2==_0x3e1494([0x47,0x50,0x4c]))return _0x3e1494([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58d06f=_0x44fe4b(),!_0x58d06f)return _0x3e1494([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58d06f[_0x3e1494([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53e5b6=_0x5337fc(_0x58d06f[_0x3e1494([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58d06f[_0x3e1494([0x6a,0x74,0x69])])),await _0x444aa9()?_0xdd2b6()?_0x3be810()?_0x3e1494([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x177962()?(_0x58d06f[_0x3e1494([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e1494([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8372b=_0x6d13aa(_0x3e1494([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30d1c9()):_0x3e1494([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e1494([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e1494([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e1494([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3be810(){const _0x4c1772=[_0x3e1494([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e1494([0x74,0x72,0x69,0x61,0x6c])][_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58d06f[_0x3e1494([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45deac/0x3e8:0xe10*_0x5a989f;return _0x58d06f[_0x3e1494([0x65,0x78,0x70])]<_0x4c1772;}function _0xdd2b6(){const _0x20eff7=_0x58d06f[_0x3e1494([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x20eff7&&(!!_0x20eff7[_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1494([0x2a]))||!!_0x20eff7[_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1494([0x4c,0x48])));}function _0x177962(){const _0x4b8b7a=_0x20ba,_0x39d144=_0x58d06f[_0x3e1494([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39d144||0x0==_0x39d144[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x373cab}=new URL(window[_0x3e1494([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b8b7a(0x7d)]);if(_0x39d144[_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373cab))return!0x0;const _0x5476f4=_0x373cab[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])](_0x3e1494([0x2e]));return _0x39d144[_0x3e1494([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x508ca4=>_0x508ca4[_0x3e1494([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1494([0x2a])))[_0x3e1494([0x6d,0x61,0x70])](_0x1173ee=>_0x1173ee[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])](_0x3e1494([0x2e])))[_0x3e1494([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x431005=>_0x431005[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5476f4[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e1494([0x6d,0x61,0x70])](_0x59e80f=>Array(_0x5476f4[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59e80f[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e1494([0x66,0x69,0x6c,0x6c])](_0x59e80f[0x0]===_0x3e1494([0x2a])?_0x3e1494([0x2a]):'')[_0x3e1494([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59e80f))[_0x3e1494([0x73,0x6f,0x6d,0x65])](_0x5b432b=>_0x5476f4[_0x3e1494([0x65,0x76,0x65,0x72,0x79])]((_0x2ca69b,_0x496869)=>_0x5b432b[_0x496869]===_0x2ca69b||_0x5b432b[_0x496869]===_0x3e1494([0x2a])));}function _0x30d1c9(){return _0x8372b&&_0x53e5b6?new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x311489,_0x32ea4c)=>{_0x8372b[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x311489,_0x32ea4c),_0x53e5b6[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x4424c9=>{_0x4424c9!=_0x3e1494([0x56,0x61,0x6c,0x69,0x64])&&_0x311489(_0x4424c9);},_0x32ea4c);}):_0x8372b||_0x53e5b6||_0x3e1494([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5337fc(_0x453c39,_0x13af85){return new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14d294=>{if(_0x44be8b())return _0x14d294(_0x3e1494([0x56,0x61,0x6c,0x69,0x64]));_0x59fa05(),_0x4ce4a5[_0x3e1494([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e1494([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb93ace=!0x1;const _0x1f9edf=_0x55e9e8();function _0x5aac13(_0x356664){return!!_0x356664&&(typeof _0x356664===_0x3e1494([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x356664===_0x3e1494([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x356664[_0x3e1494([0x74,0x68,0x65,0x6e])]===_0x3e1494([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x356664[_0x3e1494([0x63,0x61,0x74,0x63,0x68])]===_0x3e1494([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a1c96(_0x7faccb){_0x4c0fde(_0x7faccb)[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x3bf1c2=>{if(!_0x3bf1c2||_0x3bf1c2[_0x3e1494([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e1494([0x6f,0x6b]))return _0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18f465(_0x24769b(_0x1f9edf+_0x13af85))!=_0x3bf1c2[_0x3e1494([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e1494([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x3e4f6f=>(_0x18588e(),_0x3e4f6f),()=>{const _0x4591fb=_0x4c76ba();return null==_0x4591fb?(_0x18588e(),_0x3e1494([0x56,0x61,0x6c,0x69,0x64])):_0x3e1494(_0x45deac-_0x4591fb>(0x61d15615^_0x18bd93)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x14d294)[_0x3e1494([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14d294(_0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ea550=0x45eb3c95^_0x18bd93;function _0x18588e(){const _0x3acef0=_0x3e1494([0x6c,0x6c,0x63,0x74,0x2d])+_0x18f465(_0x24769b(_0x453c39)),_0x5927c7=_0x415367(_0x18f465(window[_0x3e1494([0x4d,0x61,0x74,0x68])][_0x3e1494([0x63,0x65,0x69,0x6c])](_0x45deac/_0x2ea550)));window[_0x3e1494([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e1494([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3acef0,_0x5927c7);}function _0x4c76ba(){const _0x3c40af=_0x3e1494([0x6c,0x6c,0x63,0x74,0x2d])+_0x18f465(_0x24769b(_0x453c39)),_0x340170=window[_0x3e1494([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e1494([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c40af);return _0x340170?window[_0x3e1494([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x415367(_0x340170),0x10)*_0x2ea550:null;}function _0x4c0fde(_0x5dfed8){return new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x417357,_0x1325b7)=>{_0x5dfed8[_0x3e1494([0x74,0x68,0x65,0x6e])](_0x417357,_0x1325b7),window[_0x3e1494([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1325b7,0x45dc06d5^_0x18bd93);});}}_0x4ce4a5[_0x3e1494([0x6f,0x6e])](_0x3e1494([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x293a76,_0x1e4614)=>{if(_0x1e4614[0x0]!=_0x453c39)return _0x14d294(_0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e4614[0x1]={..._0x1e4614[0x1],[_0x3e1494([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f9edf};},{[_0x3e1494([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e1494([0x68,0x69,0x67,0x68])}),_0x4ce4a5[_0x3e1494([0x6f,0x6e])](_0x3e1494([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50dc89=>{_0x5aac13(_0x50dc89[_0x3e1494([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb93ace=!0x0,_0x5a1c96(_0x50dc89[_0x3e1494([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e1494([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e1494([0x6c,0x6f,0x77])}),_0x2f83ec[_0x3e1494([0x74,0x68,0x65,0x6e])](()=>{_0xb93ace||_0x14d294(_0x3e1494([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44be8b(){return _0x4ce4a5[_0x3e1494([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e1494([0x76,0x69,0x65,0x77])][_0x3e1494([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e1494([0x61,0x75,0x74,0x6f]);}function _0x59fa05(){_0x4ce4a5[_0x3e1494([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e1494([0x76,0x69,0x65,0x77])][_0x3e1494([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e1494([0x61,0x75,0x74,0x6f]);}}function _0x6d13aa(_0x59279d){const _0x27faea=[new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c241a=>setTimeout(_0x4c241a,0x45d4ecd9^_0x18bd93)),_0x2f83ec[_0x3e1494([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54156b=>{let _0x903915=0x0;_0x4ce4a5[_0x3e1494([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1494([0x6f,0x6e])](_0x3e1494([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36c251,_0x2c1665)=>{_0x2c1665[0x0][_0x3e1494([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x903915++,_0x903915==(0x45ddd7fd^_0x18bd93)&&(_0x54156b(),_0x36c251[_0x3e1494([0x6f,0x66,0x66])]());});}))];return window[_0x3e1494([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e1494([0x72,0x61,0x63,0x65])](_0x27faea)[_0x3e1494([0x74,0x68,0x65,0x6e])](()=>_0x59279d);}async function _0x30123e(){await _0x2f83ec,_0x4ce4a5[_0x3e1494([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1494([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f0894,_0x4ce4a5[_0x3e1494([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1494([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f0894,_0x4ce4a5[_0x3e1494([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e1494([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d6800(_0x2d57ad){const _0x1a8920=_0x491406();_0x4ce4a5[_0x1a8920]=_0x3e1494([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d57ad,_0x2d57ad!=_0x3e1494([0x56,0x61,0x6c,0x69,0x64])&&_0x30123e();}function _0x491406(){const _0x324717=window[_0x3e1494([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e1494([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e1494([0x6e,0x6f,0x77])]())[_0x3e1494([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e1494([0x2e]),'');let _0x55a7aa=_0x3e1494([0x50]);for(let _0x1c90b6=0x0;_0x1c90b6<_0x324717[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c90b6+=0x2){let _0x148087=window[_0x3e1494([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x324717[_0x3e1494([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c90b6,_0x1c90b6+0x2));_0x148087>=_0x5b75dc[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x148087-=_0x5b75dc[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55a7aa+=_0x5b75dc[_0x148087];}return _0x55a7aa;}function _0x44fe4b(){const _0x3529a8=_0x4822f2[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])](_0x3e1494([0x2e]));if(0x3!=_0x3529a8[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x440f91(_0x3529a8[0x1]);function _0x440f91(_0x4cc108){const _0x482b39=_0x27c209(_0x4cc108);return _0x482b39&&_0x1102f4()?_0x482b39:null;function _0x1102f4(){const _0x12457f=_0x482b39[_0x3e1494([0x6a,0x74,0x69])],_0x4623ac=window[_0x3e1494([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12457f[_0x3e1494([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12457f[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f9e17={..._0x482b39,[_0x3e1494([0x6a,0x74,0x69])]:_0x12457f[_0x3e1494([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12457f[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f9e17[_0x3e1494([0x76,0x63])],_0x24769b(_0x4f9e17)==_0x4623ac;}}}async function _0x444aa9(){let _0x6d359e=!0x0;try{const _0x2bce3e=_0x4822f2[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])](_0x3e1494([0x2e])),[_0x4467b5,_0x242f33,_0x2a253b]=_0x2bce3e;return _0x26c5f4(_0x4467b5),await _0x321995(_0x4467b5,_0x242f33,_0x2a253b),_0x6d359e;}catch{return!0x1;}function _0x26c5f4(_0x4fa26f){const _0x324ad8=_0x27c209(_0x4fa26f);_0x324ad8&&_0x324ad8[_0x3e1494([0x61,0x6c,0x67])]==_0x3e1494([0x45,0x53,0x32,0x35,0x36])||(_0x6d359e=!0x1);}async function _0x321995(_0x3ebf99,_0x1df73e,_0x5d9b4b){const _0x317799=window[_0x3e1494([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e1494([0x66,0x72,0x6f,0x6d])](_0x469d89(_0x5d9b4b),_0x4c2863=>_0x4c2863[_0x3e1494([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a1712=new window[(_0x3e1494([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e1494([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ebf99+_0x3e1494([0x2e])+_0x1df73e),_0x2ecf24=window[_0x3e1494([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e1494([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ecf24)return;const _0x1e232d=await _0x2ecf24[_0x3e1494([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e1494([0x6a,0x77,0x6b]),_0x32240a,{[_0x3e1494([0x6e,0x61,0x6d,0x65])]:_0x3e1494([0x45,0x43,0x44,0x53,0x41]),[_0x3e1494([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e1494([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e1494([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ecf24[_0x3e1494([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e1494([0x6e,0x61,0x6d,0x65])]:_0x3e1494([0x45,0x43,0x44,0x53,0x41]),[_0x3e1494([0x68,0x61,0x73,0x68])]:{[_0x3e1494([0x6e,0x61,0x6d,0x65])]:_0x3e1494([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e232d,_0x317799,_0x2a1712)||(_0x6d359e=!0x1);}}function _0x27c209(_0x1b1f88){return _0x1b1f88[_0x3e1494([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e1494([0x65,0x79]))?JSON[_0x3e1494([0x70,0x61,0x72,0x73,0x65])](_0x469d89(_0x1b1f88)):null;}function _0x469d89(_0x25f496){return window[_0x3e1494([0x61,0x74,0x6f,0x62])](_0x25f496[_0x3e1494([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e1494([0x2b]))[_0x3e1494([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e1494([0x2f])));}function _0x24769b(_0xab3502){let _0x5354a8=0x1505;function _0x4a1dd7(_0x1c4dcb){for(let _0x31d4c1=0x0;_0x31d4c1<_0x1c4dcb[_0x3e1494([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31d4c1++){const _0x2aeb43=_0x1c4dcb[_0x3e1494([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31d4c1);_0x5354a8=(_0x5354a8<<0x5)+_0x5354a8+_0x2aeb43,_0x5354a8&=_0x5354a8;}}function _0x4e314f(_0x538e18){Array[_0x3e1494([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x538e18)?_0x538e18[_0x3e1494([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e314f):_0x538e18&&typeof _0x538e18==_0x3e1494([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e1494([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x538e18)[_0x3e1494([0x73,0x6f,0x72,0x74])]()[_0x3e1494([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x265a80,_0x50ac14])=>{_0x4a1dd7(_0x265a80),_0x4e314f(_0x50ac14);}):_0x4a1dd7(window[_0x3e1494([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x538e18));}return _0x4e314f(_0xab3502),_0x5354a8>>>0x0;}function _0x18f465(_0x25961c){return _0x25961c[_0x3e1494([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e1494([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e1494([0x30]));}function _0x415367(_0xb806f3){return _0xb806f3[_0x3e1494([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e1494([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e1494([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f0894(){}function _0x3e1494(_0xa9b42e){const _0x4f8cf1=_0x20ba;return _0xa9b42e[_0x4f8cf1(0x8a)](_0x428885=>String[_0x4f8cf1(0x69)](_0x428885))[_0x4f8cf1(0x82)]('');}_0x4d6800(await _0x20acf3());}(this);}[_0x15adbb(0x65)](){const _0x42f328=_0x15adbb,_0x49087c=this[_0x42f328(0x67)];if(!_0x49087c[_0x42f328(0x75)][_0x42f328(0x91)](_0x42f328(0x89)))return;const _0x799832=_0x49087c[_0x42f328(0x75)][_0x42f328(0x91)](_0x42f328(0x8b))[_0x42f328(0x7b)](_0x42f681=>_0x42f328(0x74)==typeof _0x42f681&&(!_0x5ceb44(_0x42f681)&&isNaN(Number(_0x42f681))));if(_0x799832[_0x42f328(0x97)])throw new _0x16dcfa(_0x42f328(0x68),null,{'namedPresets':_0x799832});}[_0x15adbb(0x81)](){const _0x4ba24f=_0x15adbb,_0x5c6f5c=this[_0x4ba24f(0x67)],_0x4f3090=this[_0x4ba24f(0x67)][_0x4ba24f(0x75)][_0x4ba24f(0x91)](_0x4ba24f(0x72));_0x5c6f5c[_0x4ba24f(0x8d)][_0x4ba24f(0x88)](_0x4ba24f(0x7f))[_0x4ba24f(0x7a)]({'model':{'key':_0x4ba24f(0x87)},'view':_0x4739fa=>String(_0x4739fa)===String(_0x4f3090)?null:{'key':_0x4ba24f(0x79),'value':{'line-height':_0x4739fa}}}),_0x5c6f5c[_0x4ba24f(0x8d)][_0x4ba24f(0x88)](_0x4ba24f(0x8f))[_0x4ba24f(0x7a)]({'model':{'key':_0x4ba24f(0x87),'value':_0x23242e=>{const _0x36b5e3=_0x4ba24f;let _0x3d96fa=_0x23242e[_0x36b5e3(0x76)](_0x36b5e3(0x90));return _0x15b7e2(_0x3d96fa)&&(_0x3d96fa=String(Number(_0x3d96fa[_0x36b5e3(0x9a)](0x0,-0x1))/0x64)),String(_0x3d96fa)===String(_0x4f3090)?null:_0x3d96fa;}},'view':{'styles':{'line-height':/.*/}}});}[_0x15adbb(0x95)](){const _0x597a90=_0x15adbb,_0x12eac0=this[_0x597a90(0x67)],_0x49f5b0=this[_0x597a90(0x67)][_0x597a90(0x75)][_0x597a90(0x91)](_0x597a90(0x72)),_0x436500=_0xcd38e6(this[_0x597a90(0x67)][_0x597a90(0x75)][_0x597a90(0x91)](_0x597a90(0x87)))[_0x597a90(0x7b)](_0x4b26e4=>_0x4b26e4[_0x597a90(0x84)]),_0x329ba3=_0x390d2b(_0x597a90(0x87),_0x436500);_0x12eac0[_0x597a90(0x8d)][_0x597a90(0x7a)](_0x329ba3),_0x12eac0[_0x597a90(0x8d)][_0x597a90(0x88)](_0x597a90(0x8f))[_0x597a90(0x7a)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x597a90(0x87),'value':_0x85e45b=>{const _0x325154=_0x597a90;let _0x2d94e5=_0x85e45b[_0x325154(0x76)](_0x325154(0x90));return _0x15b7e2(_0x2d94e5)&&(_0x2d94e5=String(Number(_0x2d94e5[_0x325154(0x9a)](0x0,-0x1))/0x64)),_0x2d94e5===String(_0x49f5b0)?null:_0x329ba3[_0x325154(0x84)][_0x325154(0x71)][_0x325154(0x99)](_0x2d94e5)?_0x2d94e5:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0xf7d512}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4dfdc7,createDropdown as _0x3e03a9,MenuBarMenuListItemButtonView as _0x213b0b,MenuBarMenuListItemView as _0x43f402,MenuBarMenuListView as _0x5d90ca,MenuBarMenuView as _0x332cf9,UIModel as _0x4818eb}from'ckeditor5/src/ui.js';import{Collection as _0xb2c7a4}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x45f985}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x118e89}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0xf7d512{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4c23bd={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4c23bd),this['_registerMenuBarComponent'](_0x4c23bd),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d2fef=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x27605a;for(const _0x30be23 in _0x2d2fef){const _0x3b8293=_0x30be23,_0x79eeab=_0x2d2fef[_0x3b8293];if('lineHeightLicenseKeyValid'==_0x79eeab||'lineHeightLicenseKeyInvalid'==_0x79eeab||'lineHeightLicenseKeyExpired'==_0x79eeab||'lineHeightLicenseKeyDomainLimit'==_0x79eeab||'lineHeightLicenseKeyNotAllowed'==_0x79eeab||'lineHeightLicenseKeyEvaluationLimit'==_0x79eeab||'lineHeightLicenseKeyUsageLimit'==_0x79eeab){delete _0x2d2fef[_0x3b8293],_0x27605a=_0x79eeab,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x27605a&&_0x2d2fef['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x27605a&&_0x2d2fef['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x27605a&&_0x2d2fef['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x27605a&&_0x2d2fef['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x27605a&&_0x2d2fef['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x27605a&&_0x2d2fef['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4f338e=this['editor'],t=_0x4f338e['t'],_0x44e15f=_0x4f338e['config']['get']('lineHeight'),_0x373724={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x118e89(_0x44e15f)['map'](_0x24650d=>{const _0x152e8a=_0x373724[_0x24650d['title']];return _0x152e8a&&_0x152e8a!=_0x24650d['title']&&(_0x24650d=Object['assign']({},_0x24650d,{'title':_0x152e8a})),_0x24650d;});}['_prepareListOptions'](){const _0x9aa95e=this['editor']['commands']['get']('lineHeight'),_0x4eb048=this['editor']['config']['get']('lineHeight.defaultValue'),_0x302680=this['_getLocalizedLineHeightOptions'](),_0x2ea408=new _0xb2c7a4(),_0x132482=_0x391285=>'default'===_0x391285||String(_0x4eb048)===_0x391285;for(const _0x57b906 of _0x302680){const _0x16cd4e={'type':'button','model':new _0x4818eb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x57b906['title'],'withText':!0x0})};_0x132482(_0x57b906['model'])?(_0x16cd4e['model']['bind']('isOn')['to'](_0x9aa95e,'value',_0x2db443=>!_0x2db443),_0x16cd4e['model']['commandParam']=void 0x0):(_0x16cd4e['model']['bind']('isOn')['to'](_0x9aa95e,'value',_0x663b2c=>_0x663b2c===_0x57b906['model']),_0x16cd4e['model']['commandParam']=_0x57b906['model']),_0x2ea408['add'](_0x16cd4e);}if(this['_shouldRenderCustomValueOption']()){const _0xde944a=this['_getCustomValueOptionDefinition'](_0x302680);_0x2ea408['add'](_0xde944a);}return _0x2ea408;}['_getCustomValueOptionDefinition'](_0x1411fe){const _0xcdc9d2=this['editor'],t=_0xcdc9d2['t'],_0x8af016=_0xcdc9d2['commands']['get']('lineHeight'),_0x493a33=_0x1411fe['map'](_0x1bec2b=>_0x1bec2b['model']),_0x551340={'type':'button','model':new _0x4818eb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x551340['model']['bind']('commandParam')['to'](_0x8af016,'value'),_0x551340['model']['bind']('isOn')['to'](_0x8af016,'value',_0x286305=>!!_0x286305&&!_0x493a33['includes'](String(_0x286305))),_0x551340['model']['bind']('label')['to'](_0x8af016,'value',_0x5c2b83=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5c2b83))),_0x551340;}['_registerToolbarComponent']({accessibleLabel:_0x2c9b56,options:_0x3d9db7}){const _0x33f2e2=this['editor'],_0x24bffb=_0x33f2e2['commands']['get']('lineHeight');_0x33f2e2['ui']['componentFactory']['add']('lineHeight',_0x2dd383=>{const _0x2d916c=_0x3e03a9(_0x2dd383);return _0x4dfdc7(_0x2d916c,_0x3d9db7,{'role':'menu','ariaLabel':_0x2c9b56}),_0x2d916c['buttonView']['set']({'label':_0x2c9b56,'tooltip':!0x0,'icon':_0x45f985}),_0x2d916c['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2d916c['bind']('isEnabled')['to'](_0x24bffb),this['listenTo'](_0x2d916c,'execute',_0x28b3d0=>{_0x33f2e2['execute'](_0x28b3d0['source']['commandName'],{'value':_0x28b3d0['source']['commandParam']}),_0x33f2e2['editing']['view']['focus']();}),_0x2d916c['once']('change:isOpen',()=>{const _0x447e54=_0x2d916c['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2d916c,_0x3d9db7,_0x447e54);}),_0x2d916c;});}['_registerMenuBarComponent']({accessibleLabel:_0x19c1be,options:_0x573462}){const _0x262a7b=this['editor'],_0x42008a=_0x262a7b['commands']['get']('lineHeight');_0x262a7b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1ad981=>{const _0x504e41=new _0x332cf9(_0x1ad981);_0x504e41['buttonView']['set']({'label':_0x19c1be,'icon':_0x45f985}),_0x504e41['bind']('isEnabled')['to'](_0x42008a);const _0x277500=new _0x5d90ca(_0x1ad981);for(const _0x3f2efd of _0x573462){const _0x19984=new _0x43f402(_0x1ad981,_0x504e41),_0x543903=new _0x213b0b(_0x1ad981);_0x543903['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x543903['bind'](...Object['keys'](_0x3f2efd['model']))['to'](_0x3f2efd['model']),_0x543903['delegate']('execute')['to'](_0x504e41),_0x543903['on']('execute',()=>{_0x262a7b['execute'](_0x3f2efd['model']['commandName'],{'value':_0x3f2efd['model']['commandParam']}),_0x262a7b['editing']['view']['focus']();}),_0x19984['children']['add'](_0x543903),_0x277500['items']['add'](_0x19984);}return _0x504e41['panelView']['children']['add'](_0x277500),this['_attachCustomOptionVisibilityHandler'](_0x504e41,_0x573462,_0x277500),_0x504e41;});}['_attachCustomOptionVisibilityHandler'](_0x65c5d7,_0x25586f,_0x57a253){if(!this['_shouldRenderCustomValueOption']())return;const _0x13e6ba=()=>{if(!_0x65c5d7['isOpen'])return;_0x57a253['items']['last']['isVisible']=Boolean(_0x25586f['last']['model']['isOn']);};_0x13e6ba(),_0x65c5d7['on']('change:isOpen',()=>{_0x13e6ba();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2ccf7d,_0x2d1d27){const _0x262ab6=_0x4394,_0xf1777c=_0x2ccf7d();while(!![]){try{const _0x5a34ae=parseInt(_0x262ab6(0xf1))/0x1+-parseInt(_0x262ab6(0xf9))/0x2*(-parseInt(_0x262ab6(0xf3))/0x3)+parseInt(_0x262ab6(0x108))/0x4*(parseInt(_0x262ab6(0xf6))/0x5)+parseInt(_0x262ab6(0x104))/0x6+parseInt(_0x262ab6(0x10c))/0x7*(-parseInt(_0x262ab6(0x10b))/0x8)+-parseInt(_0x262ab6(0x107))/0x9+-parseInt(_0x262ab6(0xff))/0xa*(parseInt(_0x262ab6(0xf2))/0xb);if(_0x5a34ae===_0x2d1d27)break;else _0xf1777c['push'](_0xf1777c['shift']());}catch(_0x2c168e){_0xf1777c['push'](_0xf1777c['shift']());}}}(_0x261f,0x98c75));function _0x4394(_0x51fb22,_0x21c4b7){const _0x261f98=_0x261f();return _0x4394=function(_0x4394b3,_0x5a9016){_0x4394b3=_0x4394b3-0xef;let _0x9b719e=_0x261f98[_0x4394b3];return _0x9b719e;},_0x4394(_0x51fb22,_0x21c4b7);}const v={get 'single'(){const _0x53be1a=_0x4394;return{'title':_0x53be1a(0xfd),'model':_0x53be1a(0x109),'view':{'key':_0x53be1a(0x103),'value':_0x53be1a(0x10d)}};},get 'double'(){const _0x296b33=_0x4394;return{'title':_0x296b33(0xf8),'model':_0x296b33(0x10e),'view':{'key':_0x296b33(0x103),'value':_0x296b33(0xf5)}};}};export function isLineHeightDefaultValue(_0x192dbb){const _0x2f0d07=_0x4394;return _0x2f0d07(0x111)==typeof _0x192dbb&&_0x2f0d07(0xf4)===_0x192dbb[_0x2f0d07(0x100)]();}export function normalizeOptions(_0x1a0b74){const _0x517dc8=_0x4394;return _0x1a0b74[_0x517dc8(0x101)][_0x517dc8(0xf0)](_0x191774=>isLineHeightDefaultValue(_0x191774)?{'title':String(_0x1a0b74[_0x517dc8(0x10a)]),'model':_0x517dc8(0xf4)}:(_0x517dc8(0xfe)==typeof _0x191774&&(_0x191774=String(_0x191774)),_0x517dc8(0x111)!=typeof _0x191774?_0x191774:parseFloat(_0x191774)?{'title':_0x191774,'model':_0x191774,'view':{'name':_0x517dc8(0xfc),'styles':{'line-height':_0x191774}}}:findPreset(_0x191774)))[_0x517dc8(0xf7)](_0x1e0e6a=>void 0x0!==_0x1e0e6a);}export function findPreset(_0x315a18){const _0x5a9621=_0x4394;return _0x5a9621(0x111)==typeof _0x315a18?v[_0x315a18]:v[_0x315a18[_0x5a9621(0xef)]];}function _0x261f(){const _0x1f2392=['single','defaultValue','3704lAoeKk','17213xdNEBN','line-height-single','double','value','view','string','model','map','1112193mLYYrz','21604WDKmUt','518523MROdqx','default','line-height-double','35mjTLWy','filter','Double','2DJpIfb','key','push','span','Single','number','20pegXVi','toLowerCase','options','style','class','3210912aAkEvU','values','line-height:','6008553EKhHQe','351804yUJCDF'];_0x261f=function(){return _0x1f2392;};return _0x261f();}export function buildDefinition(_0xe27f61,_0x2efcb1){const _0x5c08f6=_0x4394,_0x23f498={'model':{'key':_0xe27f61,'values':[]},'view':{}};for(const _0x3d456f of _0x2efcb1)_0x5c08f6(0x103)===_0x3d456f[_0x5c08f6(0x110)]?.[_0x5c08f6(0xfa)]?(_0x23f498[_0x5c08f6(0xef)][_0x5c08f6(0x105)][_0x5c08f6(0xfb)](_0x3d456f[_0x5c08f6(0xef)]),_0x23f498[_0x5c08f6(0x110)][_0x3d456f[_0x5c08f6(0xef)]]={'key':_0x5c08f6(0x103),'value':_0x3d456f[_0x5c08f6(0x110)][_0x5c08f6(0x10f)]}):(_0x23f498[_0x5c08f6(0xef)][_0x5c08f6(0x105)][_0x5c08f6(0xfb)](_0x3d456f[_0x5c08f6(0xef)]),_0x23f498[_0x5c08f6(0x110)][_0x3d456f[_0x5c08f6(0xef)]]={'key':_0x5c08f6(0x102),'value':_0x5c08f6(0x106)+_0x3d456f[_0x5c08f6(0xef)]+';'});return _0x23f498;}
|