@ckeditor/ckeditor5-line-height 47.6.1 → 47.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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
|
-
|
|
23
|
+
function _0xea33(){const _0x3f077b=['consumable','9940380moAPyd','span','match','addClass','consume','pluginName','ck-list-marker-line-height','27UaMRNI','lineHeight','2849841TQxKTI','init','listType','todo','getAttribute','--ck-content-list-marker-line-height','12uaOnXu','has','paragraph','viewItem','upcast','77838MkcdDI','editor','setStyle','isPremiumPlugin','for','isOfficialPlugin','1425595neHxoY','TodoListEditing','item','LineHeightTodoListIntegration','add','34654hNslMd','elementToElement','388872fGyhnE','get','name','todo-list__label__description','ListEditing','high','337368hloryY','registerDowncastStrategy','14oBouHS','element:li'];_0xea33=function(){return _0x3f077b;};return _0xea33();}const _0x2c4b0f=_0x2886;(function(_0x5e2fb8,_0x262288){const _0x1eee9f=_0x2886,_0x36fc6e=_0x5e2fb8();while(!![]){try{const _0x3b3dfd=parseInt(_0x1eee9f(0x1ba))/0x1*(-parseInt(_0x1eee9f(0x1a6))/0x2)+parseInt(_0x1eee9f(0x1c7))/0x3*(-parseInt(_0x1eee9f(0x1c2))/0x4)+-parseInt(_0x1eee9f(0x1cd))/0x5+parseInt(_0x1eee9f(0x1ae))/0x6*(-parseInt(_0x1eee9f(0x1b0))/0x7)+-parseInt(_0x1eee9f(0x1a8))/0x8+parseInt(_0x1eee9f(0x1bc))/0x9+parseInt(_0x1eee9f(0x1b3))/0xa;if(_0x3b3dfd===_0x262288)break;else _0x36fc6e['push'](_0x36fc6e['shift']());}catch(_0x1d22ac){_0x36fc6e['push'](_0x36fc6e['shift']());}}}(_0xea33,0x4dd74));import{Plugin as _0x5a3b0e}from'ckeditor5/src/core.js';function _0x2886(_0x1fea8e,_0x2ad5d4){const _0xea3315=_0xea33();return _0x2886=function(_0x2886b7,_0x8484df){_0x2886b7=_0x2886b7-0x1a5;let _0x40294b=_0xea3315[_0x2886b7];return _0x40294b;},_0x2886(_0x1fea8e,_0x2ad5d4);}import{Matcher as _0x493f57}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x5a3b0e{static get[_0x2c4b0f(0x1b8)](){const _0x55af4f=_0x2c4b0f;return _0x55af4f(0x1d0);}static get[_0x2c4b0f(0x1cc)](){return!0x0;}static get[_0x2c4b0f(0x1ca)](){return!0x0;}[_0x2c4b0f(0x1bd)](){const _0x338ac5=_0x2c4b0f,{plugins:_0x3c8110,conversion:_0x332bd9}=this[_0x338ac5(0x1c8)];if(!_0x3c8110[_0x338ac5(0x1c3)](_0x338ac5(0x1ac))||!_0x3c8110[_0x338ac5(0x1c3)](_0x338ac5(0x1ce)))return;_0x3c8110[_0x338ac5(0x1a9)](_0x338ac5(0x1ac))[_0x338ac5(0x1af)]({'scope':_0x338ac5(0x1cf),'attributeName':_0x338ac5(0x1bb),'consume':!0x1,'setAttributeOnDowncast'(_0x5e020b,_0x9561ae,_0x2e4235,_0x4d4905,_0x45f24b){const _0x25eefd=_0x338ac5;_0x25eefd(0x1bf)==_0x45f24b[_0x25eefd(0x1c0)](_0x25eefd(0x1be))&&_0x9561ae&&(_0x5e020b[_0x25eefd(0x1b6)](_0x25eefd(0x1b9),_0x2e4235),_0x5e020b[_0x25eefd(0x1c9)](_0x25eefd(0x1c1),_0x9561ae,_0x2e4235));}}),_0x332bd9[_0x338ac5(0x1cb)](_0x338ac5(0x1c6))[_0x338ac5(0x1a7)]({'view':{'name':_0x338ac5(0x1b4),'classes':_0x338ac5(0x1ab)},'model':_0x338ac5(0x1c4),'converterPriority':_0x338ac5(0x1ad)}),_0x332bd9[_0x338ac5(0x1cb)](_0x338ac5(0x1c6))[_0x338ac5(0x1a5)](_0x5c4dce=>{const _0x1ba6ab=_0x338ac5;_0x5c4dce['on'](_0x1ba6ab(0x1b1),function(_0x204d61){const _0x3797b8=new _0x493f57(_0x204d61);return(_0x2b9a03,_0x2468cd,_0x3f6a34)=>{const _0x5c5820=_0x2886,_0x3e8f86=_0x3797b8[_0x5c5820(0x1b5)](_0x2468cd[_0x5c5820(0x1c5)]);if(!_0x3e8f86)return;const _0x578b27=_0x3e8f86[_0x5c5820(0x1b5)];_0x578b27[_0x5c5820(0x1aa)]=!0x1,_0x3f6a34[_0x5c5820(0x1b2)][_0x5c5820(0x1b7)](_0x2468cd[_0x5c5820(0x1c5)],_0x578b27);};}({'name':'li','classes':_0x1ba6ab(0x1b9),'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
|
+
function _0x4708(){var _0x3718ef=['2234673sMngfB','1213048PmIYUf','51336ujpUgU','isOfficialPlugin','5qsdTJM','161zUDIFv','pluginName','LineHeight','5164272jqCiIF','isPremiumPlugin','1000239dhRZoq','requires','423061pitNVG','2MyCrWd','21294500XevwIL'];_0x4708=function(){return _0x3718ef;};return _0x4708();}var _0x267647=_0x5e1f;(function(_0x32bdc4,_0x44a46a){var _0x5a047e=_0x5e1f,_0x24b763=_0x32bdc4();while(!![]){try{var _0x28cd91=-parseInt(_0x5a047e(0xd6))/0x1+parseInt(_0x5a047e(0xd7))/0x2*(-parseInt(_0x5a047e(0xd4))/0x3)+parseInt(_0x5a047e(0xda))/0x4*(-parseInt(_0x5a047e(0xce))/0x5)+-parseInt(_0x5a047e(0xdb))/0x6*(-parseInt(_0x5a047e(0xcf))/0x7)+-parseInt(_0x5a047e(0xd2))/0x8+-parseInt(_0x5a047e(0xd9))/0x9+parseInt(_0x5a047e(0xd8))/0xa;if(_0x28cd91===_0x44a46a)break;else _0x24b763['push'](_0x24b763['shift']());}catch(_0x38ff44){_0x24b763['push'](_0x24b763['shift']());}}}(_0x4708,0x5afbf));import{Plugin as _0x5b112d}from'ckeditor5/src/core.js';function _0x5e1f(_0x149ac1,_0x2afba6){var _0x470865=_0x4708();return _0x5e1f=function(_0x5e1f97,_0x4abf78){_0x5e1f97=_0x5e1f97-0xcd;var _0x236c35=_0x470865[_0x5e1f97];return _0x236c35;},_0x5e1f(_0x149ac1,_0x2afba6);}import{LineHeightEditing as _0x5b6c50}from'./lineheightediting.js';import{LineHeightUI as _0x2349e0}from'./lineheightui.js';export class LineHeight extends _0x5b112d{static get[_0x267647(0xd5)](){return[_0x5b6c50,_0x2349e0];}static get[_0x267647(0xd0)](){var _0x57efef=_0x267647;return _0x57efef(0xd1);}static get[_0x267647(0xcd)](){return!0x0;}static get[_0x267647(0xd3)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5771(){const _0x13ef25=['10318320ypvmpr','selection','60HOrnTE','1521053tiNlzj','setAttribute','execute','lineHeight','model','getSelectedBlocks','refresh','editor','129445Qjynib','2227272IezvHN','_canHaveLineHeight','isEnabled','filter','value','530luYNSo','2fyuTlf','getAttribute','schema','document','42111zczWHX','removeAttribute','2438421UWfFNq','change','checkAttribute','from','6463268YTQqwK'];_0x5771=function(){return _0x13ef25;};return _0x5771();}const _0x364823=_0x1140;(function(_0xac0bf7,_0x24e7bf){const _0x267a5c=_0x1140,_0x48f56d=_0xac0bf7();while(!![]){try{const _0x4c4f66=parseInt(_0x267a5c(0x98))/0x1+parseInt(_0x267a5c(0x8a))/0x2*(-parseInt(_0x267a5c(0x90))/0x3)+-parseInt(_0x267a5c(0x97))/0x4*(-parseInt(_0x267a5c(0x83))/0x5)+-parseInt(_0x267a5c(0x84))/0x6+-parseInt(_0x267a5c(0x94))/0x7+parseInt(_0x267a5c(0x95))/0x8+parseInt(_0x267a5c(0x8e))/0x9*(-parseInt(_0x267a5c(0x89))/0xa);if(_0x4c4f66===_0x24e7bf)break;else _0x48f56d['push'](_0x48f56d['shift']());}catch(_0x11dc05){_0x48f56d['push'](_0x48f56d['shift']());}}}(_0x5771,0xce048));import{Command as _0x323ad0}from'ckeditor5/src/core.js';import{first as _0x4d3f4f}from'ckeditor5/src/utils.js';function _0x1140(_0x4693b4,_0x2b16c5){const _0x577115=_0x5771();return _0x1140=function(_0x11401f,_0x5b1dad){_0x11401f=_0x11401f-0x7d;let _0x4dc259=_0x577115[_0x11401f];return _0x4dc259;},_0x1140(_0x4693b4,_0x2b16c5);}export class LineHeightCommand extends _0x323ad0{[_0x364823(0x81)](){const _0x1a24df=_0x364823,_0xb84304=this[_0x1a24df(0x82)][_0x1a24df(0x7f)][_0x1a24df(0x8d)],_0x42e3da=_0x4d3f4f(_0xb84304[_0x1a24df(0x96)][_0x1a24df(0x80)]());this[_0x1a24df(0x86)]=Boolean(_0x42e3da)&&this[_0x1a24df(0x85)](_0x42e3da),this[_0x1a24df(0x88)]=this[_0x1a24df(0x86)]&&_0x42e3da[_0x1a24df(0x8b)](_0x1a24df(0x7e));}[_0x364823(0x7d)](_0xe38c49={}){const _0xb172e0=_0x364823,_0x1111f5=this[_0xb172e0(0x82)][_0xb172e0(0x7f)],_0x6c3c78=_0x1111f5[_0xb172e0(0x8d)][_0xb172e0(0x96)],_0x483a91=_0xe38c49[_0xb172e0(0x88)];_0x1111f5[_0xb172e0(0x91)](_0xc56edf=>{const _0x275267=_0xb172e0,_0x39596e=Array[_0x275267(0x93)](_0x6c3c78[_0x275267(0x80)]())[_0x275267(0x87)](_0x461f3a=>this[_0x275267(0x85)](_0x461f3a));for(const _0x3dd864 of _0x39596e)_0x483a91?_0xc56edf[_0x275267(0x99)](_0x275267(0x7e),_0x483a91,_0x3dd864):_0xc56edf[_0x275267(0x8f)](_0x275267(0x7e),_0x3dd864);});}[_0x364823(0x85)](_0x3944e2){const _0x40a818=_0x364823;return this[_0x40a818(0x82)][_0x40a818(0x7f)][_0x40a818(0x8c)][_0x40a818(0x92)](_0x3944e2,_0x40a818(0x7e));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d2a5e=_0x5485;function _0x5485(_0x19af42,_0x38965a){const _0x88c3b7=_0x88c3();return _0x5485=function(_0x548545,_0x4cc2fa){_0x548545=_0x548545-0x119;let _0x170417=_0x88c3b7[_0x548545];return _0x170417;},_0x5485(_0x19af42,_0x38965a);}(function(_0x359e6f,_0x1827ee){const _0x3b9b5d=_0x5485,_0x27423f=_0x359e6f();while(!![]){try{const _0x44ab85=-parseInt(_0x3b9b5d(0x120))/0x1+-parseInt(_0x3b9b5d(0x11a))/0x2*(parseInt(_0x3b9b5d(0x130))/0x3)+parseInt(_0x3b9b5d(0x133))/0x4+parseInt(_0x3b9b5d(0x13b))/0x5+parseInt(_0x3b9b5d(0x12a))/0x6+-parseInt(_0x3b9b5d(0x12f))/0x7*(parseInt(_0x3b9b5d(0x144))/0x8)+-parseInt(_0x3b9b5d(0x11f))/0x9*(parseInt(_0x3b9b5d(0x11d))/0xa);if(_0x44ab85===_0x1827ee)break;else _0x27423f['push'](_0x27423f['shift']());}catch(_0x505f91){_0x27423f['push'](_0x27423f['shift']());}}}(_0x88c3,0x9d7e3));import{Plugin as _0x4e1790}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x41bdbe}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x46fae3}from'ckeditor5/src/engine.js';import{uid as _0x31bf5e,CKEditorError as _0x107b7f}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4b4e14,isLineHeightDefaultValue as _0x3926df,normalizeOptions as _0x555d99}from'./utils.js';function _0x88c3(){const _0x3be177=['line-height-invalid-use-of-named-presets','fromCharCode','downcast','editor','getStyle','isPremiumPlugin','$block','_prepareAnyValueConverters','attributeToAttribute','setAttributeProperties','extend','2dDNcnW','length','config','9563230UNhPHr','add','9TdrFWP','4024ZgsZVC','commands','upcast','_validateConfig','href','lineHeight.supportAllValues','_preparePredefinedConverters','afterInit','pluginName','LineHeightEditing','3554346CVqcUO','define','lineHeight','style','lineHeight.defaultValue','2177CIfiPK','997827zdOBZp','string','line-height','2390308AqPKgI','map','get','includes','requires','lineHeight.options','values','slice','4707605mHHETx','for','conversion','init','isOfficialPlugin','join','default','schema','filter','4976NIkXvC','model'];_0x88c3=function(){return _0x3be177;};return _0x88c3();}import{LineHeightTodoListIntegration as _0x4e65c5}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4e1790{static get[_0x4d2a5e(0x128)](){const _0x58c972=_0x4d2a5e;return _0x58c972(0x129);}static get[_0x4d2a5e(0x137)](){return[_0x4e65c5];}static get[_0x4d2a5e(0x13f)](){return!0x0;}static get[_0x4d2a5e(0x14b)](){return!0x0;}constructor(_0x20f21e){const _0x5ecd34=_0x4d2a5e;super(_0x20f21e),_0x20f21e[_0x5ecd34(0x11c)][_0x5ecd34(0x12b)](_0x5ecd34(0x12c),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5ecd34(0x141),0x2,2.5,0x3]});}[_0x4d2a5e(0x13e)](){const _0x5216a0=_0x4d2a5e,_0x54a44e=this[_0x5216a0(0x149)];this[_0x5216a0(0x123)](),_0x54a44e[_0x5216a0(0x145)][_0x5216a0(0x142)][_0x5216a0(0x119)](_0x5216a0(0x14c),{'allowAttributes':_0x5216a0(0x12c)}),_0x54a44e[_0x5216a0(0x145)][_0x5216a0(0x142)][_0x5216a0(0x14f)](_0x5216a0(0x12c),{'isFormatting':!0x0}),_0x54a44e[_0x5216a0(0x121)][_0x5216a0(0x11e)](_0x5216a0(0x12c),new _0x41bdbe(_0x54a44e)),this[_0x5216a0(0x149)][_0x5216a0(0x11c)][_0x5216a0(0x135)](_0x5216a0(0x125))?this[_0x5216a0(0x14d)]():this[_0x5216a0(0x126)]();}[_0x4d2a5e(0x127)](){!async function(_0x63ee50){const _0x17aeaf=_0x53069e([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]),_0x1b48ff=0x45ddd215,_0x3889fb=0x45da561d^_0x1b48ff,_0xca2bdf=window[_0x53069e([0x44,0x61,0x74,0x65])][_0x53069e([0x6e,0x6f,0x77])](),_0x572658=_0x63ee50[_0x53069e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5bc4ba=new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f5c8f=>{_0x572658[_0x53069e([0x6f,0x6e,0x63,0x65])](_0x53069e([0x72,0x65,0x61,0x64,0x79]),_0x1f5c8f);}),_0x52bf5b={[_0x53069e([0x6b,0x74,0x79])]:_0x53069e([0x45,0x43]),[_0x53069e([0x75,0x73,0x65])]:_0x53069e([0x73,0x69,0x67]),[_0x53069e([0x63,0x72,0x76])]:_0x53069e([0x50,0x2d,0x32,0x35,0x36]),[_0x53069e([0x78])]:_0x53069e([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]),[_0x53069e([0x79])]:_0x53069e([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]),[_0x53069e([0x61,0x6c,0x67])]:_0x53069e([0x45,0x53,0x32,0x35,0x36])},_0x1df74e=_0x572658[_0x53069e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53069e([0x67,0x65,0x74])](_0x53069e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36ab61(){let _0x2b6e61,_0x502c0a=null,_0xe182e2=null;try{if(_0x1df74e==_0x53069e([0x47,0x50,0x4c]))return _0x53069e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b6e61=_0xb516bc(),!_0x2b6e61)return _0x53069e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b6e61[_0x53069e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe182e2=_0x305212(_0x2b6e61[_0x53069e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b6e61[_0x53069e([0x6a,0x74,0x69])])),await _0x3f81ba()?_0x2b78ce()?_0x2e0cfc()?_0x53069e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x384012()?(_0x2b6e61[_0x53069e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53069e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x502c0a=_0x186e66(_0x53069e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a6187()):_0x53069e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53069e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53069e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x53069e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e0cfc(){const _0x50f263=[_0x53069e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53069e([0x74,0x72,0x69,0x61,0x6c])][_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b6e61[_0x53069e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xca2bdf/0x3e8:0xe10*_0x3889fb;return _0x2b6e61[_0x53069e([0x65,0x78,0x70])]<_0x50f263;}function _0x2b78ce(){const _0x59bf36=_0x2b6e61[_0x53069e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59bf36&&(!!_0x59bf36[_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53069e([0x2a]))||!!_0x59bf36[_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53069e([0x4c,0x48])));}function _0x384012(){const _0x3ddcf8=_0x5485,_0x39dc77=_0x2b6e61[_0x53069e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39dc77||0x0==_0x39dc77[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x62b8be}=new URL(window[_0x53069e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ddcf8(0x124)]);if(_0x39dc77[_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x62b8be))return!0x0;const _0x1c5df2=_0x62b8be[_0x53069e([0x73,0x70,0x6c,0x69,0x74])](_0x53069e([0x2e]));return _0x39dc77[_0x53069e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fcfe1=>_0x2fcfe1[_0x53069e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53069e([0x2a])))[_0x53069e([0x6d,0x61,0x70])](_0x44cca3=>_0x44cca3[_0x53069e([0x73,0x70,0x6c,0x69,0x74])](_0x53069e([0x2e])))[_0x53069e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x451faa=>_0x451faa[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c5df2[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53069e([0x6d,0x61,0x70])](_0x461722=>Array(_0x1c5df2[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x461722[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53069e([0x66,0x69,0x6c,0x6c])](_0x461722[0x0]===_0x53069e([0x2a])?_0x53069e([0x2a]):'')[_0x53069e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x461722))[_0x53069e([0x73,0x6f,0x6d,0x65])](_0x243321=>_0x1c5df2[_0x53069e([0x65,0x76,0x65,0x72,0x79])]((_0x2ded24,_0x3859f1)=>_0x243321[_0x3859f1]===_0x2ded24||_0x243321[_0x3859f1]===_0x53069e([0x2a])));}function _0x3a6187(){return _0x502c0a&&_0xe182e2?new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x579be2,_0x1ee5b)=>{_0x502c0a[_0x53069e([0x74,0x68,0x65,0x6e])](_0x579be2,_0x1ee5b),_0xe182e2[_0x53069e([0x74,0x68,0x65,0x6e])](_0x32dc7c=>{_0x32dc7c!=_0x53069e([0x56,0x61,0x6c,0x69,0x64])&&_0x579be2(_0x32dc7c);},_0x1ee5b);}):_0x502c0a||_0xe182e2||_0x53069e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x305212(_0x16dc43,_0x2d9fd5){return new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170a28=>{if(_0x42d16a())return _0x170a28(_0x53069e([0x56,0x61,0x6c,0x69,0x64]));_0x181c67(),_0x572658[_0x53069e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53069e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20c47e=!0x1;const _0x1abbb1=_0x31bf5e();function _0x1e43f7(_0x2dca9b){return!!_0x2dca9b&&(typeof _0x2dca9b===_0x53069e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2dca9b===_0x53069e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2dca9b[_0x53069e([0x74,0x68,0x65,0x6e])]===_0x53069e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2dca9b[_0x53069e([0x63,0x61,0x74,0x63,0x68])]===_0x53069e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2778e5(_0x25332d){_0x2a25f7(_0x25332d)[_0x53069e([0x74,0x68,0x65,0x6e])](_0x4947e6=>{if(!_0x4947e6||_0x4947e6[_0x53069e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53069e([0x6f,0x6b]))return _0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b0bec(_0x165201(_0x1abbb1+_0x2d9fd5))!=_0x4947e6[_0x53069e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53069e([0x56,0x61,0x6c,0x69,0x64]);})[_0x53069e([0x74,0x68,0x65,0x6e])](_0x369ff2=>(_0x135010(),_0x369ff2),()=>{const _0x2abfae=_0x3fa3d8();return null==_0x2abfae?(_0x135010(),_0x53069e([0x56,0x61,0x6c,0x69,0x64])):_0x53069e(_0xca2bdf-_0x2abfae>(0x61d15615^_0x1b48ff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53069e([0x74,0x68,0x65,0x6e])](_0x170a28)[_0x53069e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x170a28(_0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d8c9e=0x45eb3c95^_0x1b48ff;function _0x135010(){const _0x983393=_0x53069e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b0bec(_0x165201(_0x16dc43)),_0xb3455a=_0x507fe3(_0x5b0bec(window[_0x53069e([0x4d,0x61,0x74,0x68])][_0x53069e([0x63,0x65,0x69,0x6c])](_0xca2bdf/_0x5d8c9e)));window[_0x53069e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53069e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x983393,_0xb3455a);}function _0x3fa3d8(){const _0x346065=_0x53069e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b0bec(_0x165201(_0x16dc43)),_0x2ed4c0=window[_0x53069e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53069e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x346065);return _0x2ed4c0?window[_0x53069e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x507fe3(_0x2ed4c0),0x10)*_0x5d8c9e:null;}function _0x2a25f7(_0x21dc3d){return new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6bf1f5,_0x513bf0)=>{_0x21dc3d[_0x53069e([0x74,0x68,0x65,0x6e])](_0x6bf1f5,_0x513bf0),window[_0x53069e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x513bf0,0x45dc06d5^_0x1b48ff);});}}_0x572658[_0x53069e([0x6f,0x6e])](_0x53069e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x564cb1,_0x3949c0)=>{if(_0x3949c0[0x0]!=_0x16dc43)return _0x170a28(_0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3949c0[0x1]={..._0x3949c0[0x1],[_0x53069e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1abbb1};},{[_0x53069e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53069e([0x68,0x69,0x67,0x68])}),_0x572658[_0x53069e([0x6f,0x6e])](_0x53069e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8e851d=>{_0x1e43f7(_0x8e851d[_0x53069e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20c47e=!0x0,_0x2778e5(_0x8e851d[_0x53069e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53069e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53069e([0x6c,0x6f,0x77])}),_0x5bc4ba[_0x53069e([0x74,0x68,0x65,0x6e])](()=>{_0x20c47e||_0x170a28(_0x53069e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42d16a(){return _0x572658[_0x53069e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53069e([0x76,0x69,0x65,0x77])][_0x53069e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53069e([0x61,0x75,0x74,0x6f]);}function _0x181c67(){_0x572658[_0x53069e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53069e([0x76,0x69,0x65,0x77])][_0x53069e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53069e([0x61,0x75,0x74,0x6f]);}}function _0x186e66(_0x30de1a){const _0x2c5efc=[new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d4bb7=>setTimeout(_0x1d4bb7,0x45d4ecd9^_0x1b48ff)),_0x5bc4ba[_0x53069e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39cc37=>{let _0xc42d52=0x0;_0x572658[_0x53069e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53069e([0x6f,0x6e])](_0x53069e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x291286,_0x4fefd0)=>{_0x4fefd0[0x0][_0x53069e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc42d52++,_0xc42d52==(0x45ddd7fd^_0x1b48ff)&&(_0x39cc37(),_0x291286[_0x53069e([0x6f,0x66,0x66])]());});}))];return window[_0x53069e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53069e([0x72,0x61,0x63,0x65])](_0x2c5efc)[_0x53069e([0x74,0x68,0x65,0x6e])](()=>_0x30de1a);}async function _0x54d6b8(){await _0x5bc4ba,_0x572658[_0x53069e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53069e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x428a4e,_0x572658[_0x53069e([0x6d,0x6f,0x64,0x65,0x6c])][_0x53069e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x428a4e,_0x572658[_0x53069e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53069e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42a733(_0x3e0c42){const _0x114dc9=_0x1577e0();_0x572658[_0x114dc9]=_0x53069e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e0c42,_0x3e0c42!=_0x53069e([0x56,0x61,0x6c,0x69,0x64])&&_0x54d6b8();}function _0x1577e0(){const _0x490a30=window[_0x53069e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53069e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53069e([0x6e,0x6f,0x77])]())[_0x53069e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53069e([0x2e]),'');let _0x53f1c2=_0x53069e([0x50]);for(let _0x268cae=0x0;_0x268cae<_0x490a30[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x268cae+=0x2){let _0x33476f=window[_0x53069e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x490a30[_0x53069e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x268cae,_0x268cae+0x2));_0x33476f>=_0x17aeaf[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33476f-=_0x17aeaf[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53f1c2+=_0x17aeaf[_0x33476f];}return _0x53f1c2;}function _0xb516bc(){const _0x36bda3=_0x1df74e[_0x53069e([0x73,0x70,0x6c,0x69,0x74])](_0x53069e([0x2e]));if(0x3!=_0x36bda3[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18ee03(_0x36bda3[0x1]);function _0x18ee03(_0x3d0ec1){const _0x2c2d11=_0x2f0b61(_0x3d0ec1);return _0x2c2d11&&_0x160a07()?_0x2c2d11:null;function _0x160a07(){const _0x52f0be=_0x2c2d11[_0x53069e([0x6a,0x74,0x69])],_0x4f5b21=window[_0x53069e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52f0be[_0x53069e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52f0be[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x584b5b={..._0x2c2d11,[_0x53069e([0x6a,0x74,0x69])]:_0x52f0be[_0x53069e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52f0be[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x584b5b[_0x53069e([0x76,0x63])],_0x165201(_0x584b5b)==_0x4f5b21;}}}async function _0x3f81ba(){let _0x234829=!0x0;try{const _0x54e9ca=_0x1df74e[_0x53069e([0x73,0x70,0x6c,0x69,0x74])](_0x53069e([0x2e])),[_0x540561,_0x494dc5,_0x2fd347]=_0x54e9ca;return _0x3f3a69(_0x540561),await _0x43dc8c(_0x540561,_0x494dc5,_0x2fd347),_0x234829;}catch{return!0x1;}function _0x3f3a69(_0x268c86){const _0xae53a1=_0x2f0b61(_0x268c86);_0xae53a1&&_0xae53a1[_0x53069e([0x61,0x6c,0x67])]==_0x53069e([0x45,0x53,0x32,0x35,0x36])||(_0x234829=!0x1);}async function _0x43dc8c(_0x252b3b,_0x5c9ed4,_0x54c082){const _0x2f02c6=window[_0x53069e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53069e([0x66,0x72,0x6f,0x6d])](_0x7eed9a(_0x54c082),_0x193774=>_0x193774[_0x53069e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19a4b4=new window[(_0x53069e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53069e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x252b3b+_0x53069e([0x2e])+_0x5c9ed4),_0x1f3e1c=window[_0x53069e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53069e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f3e1c)return;const _0x381813=await _0x1f3e1c[_0x53069e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53069e([0x6a,0x77,0x6b]),_0x52bf5b,{[_0x53069e([0x6e,0x61,0x6d,0x65])]:_0x53069e([0x45,0x43,0x44,0x53,0x41]),[_0x53069e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53069e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53069e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f3e1c[_0x53069e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53069e([0x6e,0x61,0x6d,0x65])]:_0x53069e([0x45,0x43,0x44,0x53,0x41]),[_0x53069e([0x68,0x61,0x73,0x68])]:{[_0x53069e([0x6e,0x61,0x6d,0x65])]:_0x53069e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x381813,_0x2f02c6,_0x19a4b4)||(_0x234829=!0x1);}}function _0x2f0b61(_0x4130f7){return _0x4130f7[_0x53069e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53069e([0x65,0x79]))?JSON[_0x53069e([0x70,0x61,0x72,0x73,0x65])](_0x7eed9a(_0x4130f7)):null;}function _0x7eed9a(_0x699414){return window[_0x53069e([0x61,0x74,0x6f,0x62])](_0x699414[_0x53069e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53069e([0x2b]))[_0x53069e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53069e([0x2f])));}function _0x165201(_0x4e12b9){let _0x3958c2=0x1505;function _0xb2a960(_0x58d6ed){for(let _0x391159=0x0;_0x391159<_0x58d6ed[_0x53069e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x391159++){const _0x126f39=_0x58d6ed[_0x53069e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x391159);_0x3958c2=(_0x3958c2<<0x5)+_0x3958c2+_0x126f39,_0x3958c2&=_0x3958c2;}}function _0x4a439c(_0x43c772){Array[_0x53069e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43c772)?_0x43c772[_0x53069e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a439c):_0x43c772&&typeof _0x43c772==_0x53069e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53069e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43c772)[_0x53069e([0x73,0x6f,0x72,0x74])]()[_0x53069e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31022e,_0x5e1999])=>{_0xb2a960(_0x31022e),_0x4a439c(_0x5e1999);}):_0xb2a960(window[_0x53069e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43c772));}return _0x4a439c(_0x4e12b9),_0x3958c2>>>0x0;}function _0x5b0bec(_0x30ddf2){return _0x30ddf2[_0x53069e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53069e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53069e([0x30]));}function _0x507fe3(_0x21328a){return _0x21328a[_0x53069e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53069e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53069e([0x6a,0x6f,0x69,0x6e])]('');}function _0x428a4e(){}function _0x53069e(_0x5b5891){const _0x4738fc=_0x5485;return _0x5b5891[_0x4738fc(0x134)](_0x37c60=>String[_0x4738fc(0x147)](_0x37c60))[_0x4738fc(0x140)]('');}_0x42a733(await _0x36ab61());}(this);}[_0x4d2a5e(0x123)](){const _0x7b8657=_0x4d2a5e,_0x3d5350=this[_0x7b8657(0x149)];if(!_0x3d5350[_0x7b8657(0x11c)][_0x7b8657(0x135)](_0x7b8657(0x125)))return;const _0x23e905=_0x3d5350[_0x7b8657(0x11c)][_0x7b8657(0x135)](_0x7b8657(0x138))[_0x7b8657(0x143)](_0x341f31=>_0x7b8657(0x131)==typeof _0x341f31&&(!_0x3926df(_0x341f31)&&isNaN(Number(_0x341f31))));if(_0x23e905[_0x7b8657(0x11b)])throw new _0x107b7f(_0x7b8657(0x146),null,{'namedPresets':_0x23e905});}[_0x4d2a5e(0x14d)](){const _0x5dd1bf=_0x4d2a5e,_0x1076e0=this[_0x5dd1bf(0x149)],_0x410f97=this[_0x5dd1bf(0x149)][_0x5dd1bf(0x11c)][_0x5dd1bf(0x135)](_0x5dd1bf(0x12e));_0x1076e0[_0x5dd1bf(0x13d)][_0x5dd1bf(0x13c)](_0x5dd1bf(0x148))[_0x5dd1bf(0x14e)]({'model':{'key':_0x5dd1bf(0x12c)},'view':_0x47f8a3=>String(_0x47f8a3)===String(_0x410f97)?null:{'key':_0x5dd1bf(0x12d),'value':{'line-height':_0x47f8a3}}}),_0x1076e0[_0x5dd1bf(0x13d)][_0x5dd1bf(0x13c)](_0x5dd1bf(0x122))[_0x5dd1bf(0x14e)]({'model':{'key':_0x5dd1bf(0x12c),'value':_0x48cb42=>{const _0x240269=_0x5dd1bf;let _0x17624f=_0x48cb42[_0x240269(0x14a)](_0x240269(0x132));return _0x46fae3(_0x17624f)&&(_0x17624f=String(Number(_0x17624f[_0x240269(0x13a)](0x0,-0x1))/0x64)),String(_0x17624f)===String(_0x410f97)?null:_0x17624f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4d2a5e(0x126)](){const _0x3ef9ed=_0x4d2a5e,_0x15dc3b=this[_0x3ef9ed(0x149)],_0x451b64=this[_0x3ef9ed(0x149)][_0x3ef9ed(0x11c)][_0x3ef9ed(0x135)](_0x3ef9ed(0x12e)),_0x4d1d02=_0x555d99(this[_0x3ef9ed(0x149)][_0x3ef9ed(0x11c)][_0x3ef9ed(0x135)](_0x3ef9ed(0x12c)))[_0x3ef9ed(0x143)](_0x1643c7=>_0x1643c7[_0x3ef9ed(0x145)]),_0x2cb60e=_0x4b4e14(_0x3ef9ed(0x12c),_0x4d1d02);_0x15dc3b[_0x3ef9ed(0x13d)][_0x3ef9ed(0x14e)](_0x2cb60e),_0x15dc3b[_0x3ef9ed(0x13d)][_0x3ef9ed(0x13c)](_0x3ef9ed(0x122))[_0x3ef9ed(0x14e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3ef9ed(0x12c),'value':_0x20afc4=>{const _0x468e71=_0x3ef9ed;let _0x39afa3=_0x20afc4[_0x468e71(0x14a)](_0x468e71(0x132));return _0x46fae3(_0x39afa3)&&(_0x39afa3=String(Number(_0x39afa3[_0x468e71(0x13a)](0x0,-0x1))/0x64)),_0x39afa3===String(_0x451b64)?null:_0x2cb60e[_0x468e71(0x145)][_0x468e71(0x139)][_0x468e71(0x136)](_0x39afa3)?_0x39afa3:null;}}});}}
|
|
23
|
+
const _0x543b57=_0x574d;function _0x574d(_0x52cd12,_0x1fcb53){const _0x146ba2=_0x146b();return _0x574d=function(_0x574d29,_0x25becb){_0x574d29=_0x574d29-0xd8;let _0x7fafea=_0x146ba2[_0x574d29];return _0x7fafea;},_0x574d(_0x52cd12,_0x1fcb53);}(function(_0x5425a0,_0x53fd0c){const _0x5a614a=_0x574d,_0xe3b2b9=_0x5425a0();while(!![]){try{const _0xae2fb0=-parseInt(_0x5a614a(0xfe))/0x1*(-parseInt(_0x5a614a(0xf5))/0x2)+parseInt(_0x5a614a(0xf9))/0x3+-parseInt(_0x5a614a(0xeb))/0x4+parseInt(_0x5a614a(0xe2))/0x5+parseInt(_0x5a614a(0x104))/0x6*(parseInt(_0x5a614a(0x107))/0x7)+parseInt(_0x5a614a(0xed))/0x8+-parseInt(_0x5a614a(0xdb))/0x9*(parseInt(_0x5a614a(0x103))/0xa);if(_0xae2fb0===_0x53fd0c)break;else _0xe3b2b9['push'](_0xe3b2b9['shift']());}catch(_0x2846e8){_0xe3b2b9['push'](_0xe3b2b9['shift']());}}}(_0x146b,0x333cf));import{Plugin as _0x272fff}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4bcd43}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x11b4aa}from'ckeditor5/src/engine.js';import{uid as _0x25d482,CKEditorError as _0x178e5e}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5dac27,isLineHeightDefaultValue as _0xc92411,normalizeOptions as _0x6e55e1}from'./utils.js';function _0x146b(){const _0x4353cc=['setAttributeProperties','pluginName','href','style','add','default','map','isPremiumPlugin','model','attributeToAttribute','20628jazjgt','afterInit','LineHeightEditing','slice','define','$block','upcast','1005295JREUCC','line-height-invalid-use-of-named-presets','lineHeight.supportAllValues','requires','_preparePredefinedConverters','lineHeight.defaultValue','schema','_prepareAnyValueConverters','line-height','1005368yDhFcp','extend','1856688yLshkD','conversion','string','filter','values','config','lineHeight','downcast','14LMjbfE','for','includes','init','97479mmvAbt','editor','isOfficialPlugin','_validateConfig','get','37087qdffzW','getStyle','fromCharCode','commands','lineHeight.options','2090IKwNDk','99228nvukWH','join','length','91BUadOd'];_0x146b=function(){return _0x4353cc;};return _0x146b();}import{LineHeightTodoListIntegration as _0x221393}from'./integrations/todolist.js';export class LineHeightEditing extends _0x272fff{static get[_0x543b57(0x109)](){const _0x584002=_0x543b57;return _0x584002(0xdd);}static get[_0x543b57(0xe5)](){return[_0x221393];}static get[_0x543b57(0xfb)](){return!0x0;}static get[_0x543b57(0xd8)](){return!0x0;}constructor(_0x161b5c){const _0x50c35d=_0x543b57;super(_0x161b5c),_0x161b5c[_0x50c35d(0xf2)][_0x50c35d(0xdf)](_0x50c35d(0xf3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x50c35d(0x10d),0x2,2.5,0x3]});}[_0x543b57(0xf8)](){const _0x32d036=_0x543b57,_0x1e4422=this[_0x32d036(0xfa)];this[_0x32d036(0xfc)](),_0x1e4422[_0x32d036(0xd9)][_0x32d036(0xe8)][_0x32d036(0xec)](_0x32d036(0xe0),{'allowAttributes':_0x32d036(0xf3)}),_0x1e4422[_0x32d036(0xd9)][_0x32d036(0xe8)][_0x32d036(0x108)](_0x32d036(0xf3),{'isFormatting':!0x0}),_0x1e4422[_0x32d036(0x101)][_0x32d036(0x10c)](_0x32d036(0xf3),new _0x4bcd43(_0x1e4422)),this[_0x32d036(0xfa)][_0x32d036(0xf2)][_0x32d036(0xfd)](_0x32d036(0xe4))?this[_0x32d036(0xe9)]():this[_0x32d036(0xe6)]();}[_0x543b57(0xdc)](){!async function(_0x3a95e6){const _0xd4f3d2=_0x55f4f0([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]),_0x1e448f=0x45ddd215,_0x1d9fbf=0x45da54bd^_0x1e448f,_0x22ed6d=window[_0x55f4f0([0x44,0x61,0x74,0x65])][_0x55f4f0([0x6e,0x6f,0x77])](),_0xc771a2=_0x3a95e6[_0x55f4f0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56ba46=new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d6021=>{_0xc771a2[_0x55f4f0([0x6f,0x6e,0x63,0x65])](_0x55f4f0([0x72,0x65,0x61,0x64,0x79]),_0x4d6021);}),_0x4fd140={[_0x55f4f0([0x6b,0x74,0x79])]:_0x55f4f0([0x45,0x43]),[_0x55f4f0([0x75,0x73,0x65])]:_0x55f4f0([0x73,0x69,0x67]),[_0x55f4f0([0x63,0x72,0x76])]:_0x55f4f0([0x50,0x2d,0x32,0x35,0x36]),[_0x55f4f0([0x78])]:_0x55f4f0([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]),[_0x55f4f0([0x79])]:_0x55f4f0([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]),[_0x55f4f0([0x61,0x6c,0x67])]:_0x55f4f0([0x45,0x53,0x32,0x35,0x36])},_0x3258dd=_0xc771a2[_0x55f4f0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55f4f0([0x67,0x65,0x74])](_0x55f4f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x481620(){let _0x5b9cc2,_0x48d513=null,_0x132895=null;try{if(_0x3258dd==_0x55f4f0([0x47,0x50,0x4c]))return _0x55f4f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b9cc2=_0x5d02cc(),!_0x5b9cc2)return _0x55f4f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b9cc2[_0x55f4f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x132895=_0x3582aa(_0x5b9cc2[_0x55f4f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b9cc2[_0x55f4f0([0x6a,0x74,0x69])])),await _0x4350b5()?_0x1f98d5()?_0x261bb2()?_0x55f4f0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f3f0c()?(_0x5b9cc2[_0x55f4f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55f4f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48d513=_0x527fb5(_0x55f4f0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2cc1bd()):_0x55f4f0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55f4f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55f4f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55f4f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x261bb2(){const _0x5884fc=[_0x55f4f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55f4f0([0x74,0x72,0x69,0x61,0x6c])][_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9cc2[_0x55f4f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22ed6d/0x3e8:0xe10*_0x1d9fbf;return _0x5b9cc2[_0x55f4f0([0x65,0x78,0x70])]<_0x5884fc;}function _0x1f98d5(){const _0x3bd7ac=_0x5b9cc2[_0x55f4f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bd7ac&&(!!_0x3bd7ac[_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55f4f0([0x2a]))||!!_0x3bd7ac[_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55f4f0([0x4c,0x48])));}function _0x5f3f0c(){const _0x1364d6=_0x574d,_0x5b45c4=_0x5b9cc2[_0x55f4f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b45c4||0x0==_0x5b45c4[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3fb6ba}=new URL(window[_0x55f4f0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1364d6(0x10a)]);if(_0x5b45c4[_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb6ba))return!0x0;const _0x3052f2=_0x3fb6ba[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])](_0x55f4f0([0x2e]));return _0x5b45c4[_0x55f4f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fd1fa=>_0x3fd1fa[_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55f4f0([0x2a])))[_0x55f4f0([0x6d,0x61,0x70])](_0x20bbd3=>_0x20bbd3[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])](_0x55f4f0([0x2e])))[_0x55f4f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5351ff=>_0x5351ff[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3052f2[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55f4f0([0x6d,0x61,0x70])](_0x5d4c04=>Array(_0x3052f2[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d4c04[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55f4f0([0x66,0x69,0x6c,0x6c])](_0x5d4c04[0x0]===_0x55f4f0([0x2a])?_0x55f4f0([0x2a]):'')[_0x55f4f0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d4c04))[_0x55f4f0([0x73,0x6f,0x6d,0x65])](_0x2f00e5=>_0x3052f2[_0x55f4f0([0x65,0x76,0x65,0x72,0x79])]((_0x3fec36,_0xe22695)=>_0x2f00e5[_0xe22695]===_0x3fec36||_0x2f00e5[_0xe22695]===_0x55f4f0([0x2a])));}function _0x2cc1bd(){return _0x48d513&&_0x132895?new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24e433,_0x4390b9)=>{_0x48d513[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x24e433,_0x4390b9),_0x132895[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x563ee7=>{_0x563ee7!=_0x55f4f0([0x56,0x61,0x6c,0x69,0x64])&&_0x24e433(_0x563ee7);},_0x4390b9);}):_0x48d513||_0x132895||_0x55f4f0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3582aa(_0x314f85,_0x1ea320){return new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386967=>{if(_0x21edd7())return _0x386967(_0x55f4f0([0x56,0x61,0x6c,0x69,0x64]));_0x1b6542(),_0xc771a2[_0x55f4f0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55f4f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21d8bf=!0x1;const _0x275870=_0x25d482();function _0x83fde1(_0x144197){return!!_0x144197&&(typeof _0x144197===_0x55f4f0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x144197===_0x55f4f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x144197[_0x55f4f0([0x74,0x68,0x65,0x6e])]===_0x55f4f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x144197[_0x55f4f0([0x63,0x61,0x74,0x63,0x68])]===_0x55f4f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50ad54(_0x42be0b){_0x29c2a1(_0x42be0b)[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x34f630=>{if(!_0x34f630||_0x34f630[_0x55f4f0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55f4f0([0x6f,0x6b]))return _0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2852db(_0x11da4f(_0x275870+_0x1ea320))!=_0x34f630[_0x55f4f0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55f4f0([0x56,0x61,0x6c,0x69,0x64]);})[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x5345ce=>(_0x4cd4cd(),_0x5345ce),()=>{const _0xa8af5=_0x35c5fb();return null==_0xa8af5?(_0x4cd4cd(),_0x55f4f0([0x56,0x61,0x6c,0x69,0x64])):_0x55f4f0(_0x22ed6d-_0xa8af5>(0x61d15615^_0x1e448f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x386967)[_0x55f4f0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x386967(_0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1663c3=0x45eb3c95^_0x1e448f;function _0x4cd4cd(){const _0xf5e901=_0x55f4f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2852db(_0x11da4f(_0x314f85)),_0x32b94e=_0x312228(_0x2852db(window[_0x55f4f0([0x4d,0x61,0x74,0x68])][_0x55f4f0([0x63,0x65,0x69,0x6c])](_0x22ed6d/_0x1663c3)));window[_0x55f4f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55f4f0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf5e901,_0x32b94e);}function _0x35c5fb(){const _0x28ac38=_0x55f4f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2852db(_0x11da4f(_0x314f85)),_0x4f1eaf=window[_0x55f4f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55f4f0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28ac38);return _0x4f1eaf?window[_0x55f4f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x312228(_0x4f1eaf),0x10)*_0x1663c3:null;}function _0x29c2a1(_0x61437b){return new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x588986,_0x51ffc0)=>{_0x61437b[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x588986,_0x51ffc0),window[_0x55f4f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51ffc0,0x45dc06d5^_0x1e448f);});}}_0xc771a2[_0x55f4f0([0x6f,0x6e])](_0x55f4f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x476b70,_0x295ab5)=>{if(_0x295ab5[0x0]!=_0x314f85)return _0x386967(_0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x295ab5[0x1]={..._0x295ab5[0x1],[_0x55f4f0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x275870};},{[_0x55f4f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55f4f0([0x68,0x69,0x67,0x68])}),_0xc771a2[_0x55f4f0([0x6f,0x6e])](_0x55f4f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34e9be=>{_0x83fde1(_0x34e9be[_0x55f4f0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21d8bf=!0x0,_0x50ad54(_0x34e9be[_0x55f4f0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55f4f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55f4f0([0x6c,0x6f,0x77])}),_0x56ba46[_0x55f4f0([0x74,0x68,0x65,0x6e])](()=>{_0x21d8bf||_0x386967(_0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21edd7(){return _0xc771a2[_0x55f4f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55f4f0([0x76,0x69,0x65,0x77])][_0x55f4f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55f4f0([0x61,0x75,0x74,0x6f]);}function _0x1b6542(){_0xc771a2[_0x55f4f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55f4f0([0x76,0x69,0x65,0x77])][_0x55f4f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55f4f0([0x61,0x75,0x74,0x6f]);}}function _0x527fb5(_0x33402f){const _0x5738c7=[new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ba81=>setTimeout(_0x10ba81,0x45d4ecd9^_0x1e448f)),_0x56ba46[_0x55f4f0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16242e=>{let _0x9b9397=0x0;_0xc771a2[_0x55f4f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x55f4f0([0x6f,0x6e])](_0x55f4f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21edba,_0x3cb1ee)=>{_0x3cb1ee[0x0][_0x55f4f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9b9397++,_0x9b9397==(0x45ddd7fd^_0x1e448f)&&(_0x16242e(),_0x21edba[_0x55f4f0([0x6f,0x66,0x66])]());});}))];return window[_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55f4f0([0x72,0x61,0x63,0x65])](_0x5738c7)[_0x55f4f0([0x74,0x68,0x65,0x6e])](()=>_0x33402f);}async function _0x2f55ee(){await _0x56ba46,_0xc771a2[_0x55f4f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x55f4f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c20ad,_0xc771a2[_0x55f4f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x55f4f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c20ad,_0xc771a2[_0x55f4f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55f4f0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x965d22(_0x595b01){const _0x1c3f41=_0xd5342f();_0xc771a2[_0x1c3f41]=_0x55f4f0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x595b01,_0x595b01!=_0x55f4f0([0x56,0x61,0x6c,0x69,0x64])&&_0x2f55ee();}function _0xd5342f(){const _0x1dcf9d=window[_0x55f4f0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55f4f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55f4f0([0x6e,0x6f,0x77])]())[_0x55f4f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55f4f0([0x2e]),'');let _0x375a2f=_0x55f4f0([0x50]);for(let _0x252e45=0x0;_0x252e45<_0x1dcf9d[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x252e45+=0x2){let _0x3d2731=window[_0x55f4f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dcf9d[_0x55f4f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x252e45,_0x252e45+0x2));_0x3d2731>=_0xd4f3d2[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d2731-=_0xd4f3d2[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x375a2f+=_0xd4f3d2[_0x3d2731];}return _0x375a2f;}function _0x5d02cc(){const _0x1d251a=_0x3258dd[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])](_0x55f4f0([0x2e]));if(0x3!=_0x1d251a[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a032c(_0x1d251a[0x1]);function _0x1a032c(_0xcc43fb){const _0x5ebe0f=_0x1e0421(_0xcc43fb);return _0x5ebe0f&&_0x320198()?_0x5ebe0f:null;function _0x320198(){const _0x6d167f=_0x5ebe0f[_0x55f4f0([0x6a,0x74,0x69])],_0x2e9eba=window[_0x55f4f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6d167f[_0x55f4f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6d167f[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56fa3a={..._0x5ebe0f,[_0x55f4f0([0x6a,0x74,0x69])]:_0x6d167f[_0x55f4f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6d167f[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56fa3a[_0x55f4f0([0x76,0x63])],_0x11da4f(_0x56fa3a)==_0x2e9eba;}}}async function _0x4350b5(){let _0xf07dc=!0x0;try{const _0x5d0340=_0x3258dd[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])](_0x55f4f0([0x2e])),[_0x76d750,_0x3fd9fd,_0x5cae05]=_0x5d0340;return _0x2c49a2(_0x76d750),await _0x51f2c5(_0x76d750,_0x3fd9fd,_0x5cae05),_0xf07dc;}catch{return!0x1;}function _0x2c49a2(_0x3f0f5f){const _0x30841d=_0x1e0421(_0x3f0f5f);_0x30841d&&_0x30841d[_0x55f4f0([0x61,0x6c,0x67])]==_0x55f4f0([0x45,0x53,0x32,0x35,0x36])||(_0xf07dc=!0x1);}async function _0x51f2c5(_0x246ff4,_0x36f6fb,_0x213cb4){const _0x864121=window[_0x55f4f0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55f4f0([0x66,0x72,0x6f,0x6d])](_0x406358(_0x213cb4),_0x49603c=>_0x49603c[_0x55f4f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12eb7f=new window[(_0x55f4f0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55f4f0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x246ff4+_0x55f4f0([0x2e])+_0x36f6fb),_0x26d954=window[_0x55f4f0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55f4f0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26d954)return;const _0x1531fa=await _0x26d954[_0x55f4f0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55f4f0([0x6a,0x77,0x6b]),_0x4fd140,{[_0x55f4f0([0x6e,0x61,0x6d,0x65])]:_0x55f4f0([0x45,0x43,0x44,0x53,0x41]),[_0x55f4f0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55f4f0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55f4f0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26d954[_0x55f4f0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55f4f0([0x6e,0x61,0x6d,0x65])]:_0x55f4f0([0x45,0x43,0x44,0x53,0x41]),[_0x55f4f0([0x68,0x61,0x73,0x68])]:{[_0x55f4f0([0x6e,0x61,0x6d,0x65])]:_0x55f4f0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1531fa,_0x864121,_0x12eb7f)||(_0xf07dc=!0x1);}}function _0x1e0421(_0x5b8d5f){return _0x5b8d5f[_0x55f4f0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55f4f0([0x65,0x79]))?JSON[_0x55f4f0([0x70,0x61,0x72,0x73,0x65])](_0x406358(_0x5b8d5f)):null;}function _0x406358(_0x55de77){return window[_0x55f4f0([0x61,0x74,0x6f,0x62])](_0x55de77[_0x55f4f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55f4f0([0x2b]))[_0x55f4f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55f4f0([0x2f])));}function _0x11da4f(_0x1d4bf6){let _0x48e7b1=0x1505;function _0x49bfde(_0xcc2c5f){for(let _0x3970bf=0x0;_0x3970bf<_0xcc2c5f[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3970bf++){const _0x151f27=_0xcc2c5f[_0x55f4f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3970bf);_0x48e7b1=(_0x48e7b1<<0x5)+_0x48e7b1+_0x151f27,_0x48e7b1&=_0x48e7b1;}}function _0x5225b2(_0x35f8b1){Array[_0x55f4f0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35f8b1)?_0x35f8b1[_0x55f4f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5225b2):_0x35f8b1&&typeof _0x35f8b1==_0x55f4f0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55f4f0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35f8b1)[_0x55f4f0([0x73,0x6f,0x72,0x74])]()[_0x55f4f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c8134,_0x1b794c])=>{_0x49bfde(_0x1c8134),_0x5225b2(_0x1b794c);}):_0x49bfde(window[_0x55f4f0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35f8b1));}return _0x5225b2(_0x1d4bf6),_0x48e7b1>>>0x0;}function _0x2852db(_0x44f68d){return _0x44f68d[_0x55f4f0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55f4f0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55f4f0([0x30]));}function _0x312228(_0x5acca6){return _0x5acca6[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55f4f0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55f4f0([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c20ad(){}function _0x55f4f0(_0x5ec1fd){const _0x133b27=_0x574d;return _0x5ec1fd[_0x133b27(0x10e)](_0x4b8fc6=>String[_0x133b27(0x100)](_0x4b8fc6))[_0x133b27(0x105)]('');}_0x965d22(await _0x481620());}(this);}[_0x543b57(0xfc)](){const _0x4db259=_0x543b57,_0x34c67d=this[_0x4db259(0xfa)];if(!_0x34c67d[_0x4db259(0xf2)][_0x4db259(0xfd)](_0x4db259(0xe4)))return;const _0x4b4033=_0x34c67d[_0x4db259(0xf2)][_0x4db259(0xfd)](_0x4db259(0x102))[_0x4db259(0xf0)](_0x40aa20=>_0x4db259(0xef)==typeof _0x40aa20&&(!_0xc92411(_0x40aa20)&&isNaN(Number(_0x40aa20))));if(_0x4b4033[_0x4db259(0x106)])throw new _0x178e5e(_0x4db259(0xe3),null,{'namedPresets':_0x4b4033});}[_0x543b57(0xe9)](){const _0x319a06=_0x543b57,_0x4b4351=this[_0x319a06(0xfa)],_0x5027e3=this[_0x319a06(0xfa)][_0x319a06(0xf2)][_0x319a06(0xfd)](_0x319a06(0xe7));_0x4b4351[_0x319a06(0xee)][_0x319a06(0xf6)](_0x319a06(0xf4))[_0x319a06(0xda)]({'model':{'key':_0x319a06(0xf3)},'view':_0x82f7db=>String(_0x82f7db)===String(_0x5027e3)?null:{'key':_0x319a06(0x10b),'value':{'line-height':_0x82f7db}}}),_0x4b4351[_0x319a06(0xee)][_0x319a06(0xf6)](_0x319a06(0xe1))[_0x319a06(0xda)]({'model':{'key':_0x319a06(0xf3),'value':_0x41cf33=>{const _0x10b5d0=_0x319a06;let _0x2b7f8a=_0x41cf33[_0x10b5d0(0xff)](_0x10b5d0(0xea));return _0x11b4aa(_0x2b7f8a)&&(_0x2b7f8a=String(Number(_0x2b7f8a[_0x10b5d0(0xde)](0x0,-0x1))/0x64)),String(_0x2b7f8a)===String(_0x5027e3)?null:_0x2b7f8a;}},'view':{'styles':{'line-height':/.*/}}});}[_0x543b57(0xe6)](){const _0x43a042=_0x543b57,_0x5da283=this[_0x43a042(0xfa)],_0x1ba972=this[_0x43a042(0xfa)][_0x43a042(0xf2)][_0x43a042(0xfd)](_0x43a042(0xe7)),_0x29f187=_0x6e55e1(this[_0x43a042(0xfa)][_0x43a042(0xf2)][_0x43a042(0xfd)](_0x43a042(0xf3)))[_0x43a042(0xf0)](_0x59d3df=>_0x59d3df[_0x43a042(0xd9)]),_0x1a57ce=_0x5dac27(_0x43a042(0xf3),_0x29f187);_0x5da283[_0x43a042(0xee)][_0x43a042(0xda)](_0x1a57ce),_0x5da283[_0x43a042(0xee)][_0x43a042(0xf6)](_0x43a042(0xe1))[_0x43a042(0xda)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x43a042(0xf3),'value':_0x5a7021=>{const _0x3ac74b=_0x43a042;let _0x27a54a=_0x5a7021[_0x3ac74b(0xff)](_0x3ac74b(0xea));return _0x11b4aa(_0x27a54a)&&(_0x27a54a=String(Number(_0x27a54a[_0x3ac74b(0xde)](0x0,-0x1))/0x64)),_0x27a54a===String(_0x1ba972)?null:_0x1a57ce[_0x3ac74b(0xd9)][_0x3ac74b(0xf1)][_0x3ac74b(0xf7)](_0x27a54a)?_0x27a54a:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1a2fed}from'ckeditor5/src/core.js';import{addListToDropdown as _0x538c27,createDropdown as _0x3a6e97,MenuBarMenuListItemButtonView as _0x3526e7,MenuBarMenuListItemView as _0x39f8a6,MenuBarMenuListView as _0x450a48,MenuBarMenuView as _0x27ae72,UIModel as _0x22da57}from'ckeditor5/src/ui.js';import{Collection as _0x3e786a}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x4545a0}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2fb9df}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1a2fed{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d88d9={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5d88d9),this['_registerMenuBarComponent'](_0x5d88d9),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2325e2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x315631;for(const _0x6287ba in _0x2325e2){const _0xb069a7=_0x6287ba,_0x43fa73=_0x2325e2[_0xb069a7];if('lineHeightLicenseKeyValid'==_0x43fa73||'lineHeightLicenseKeyInvalid'==_0x43fa73||'lineHeightLicenseKeyExpired'==_0x43fa73||'lineHeightLicenseKeyDomainLimit'==_0x43fa73||'lineHeightLicenseKeyNotAllowed'==_0x43fa73||'lineHeightLicenseKeyEvaluationLimit'==_0x43fa73||'lineHeightLicenseKeyUsageLimit'==_0x43fa73){delete _0x2325e2[_0xb069a7],_0x315631=_0x43fa73,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x315631&&_0x2325e2['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x315631&&_0x2325e2['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x315631&&_0x2325e2['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x315631&&_0x2325e2['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x315631&&_0x2325e2['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x315631&&_0x2325e2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1a9779=this['editor'],t=_0x1a9779['t'],_0x4ed85f=_0x1a9779['config']['get']('lineHeight'),_0x56c513={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2fb9df(_0x4ed85f)['map'](_0x17f07a=>{const _0x9024e1=_0x56c513[_0x17f07a['title']];return _0x9024e1&&_0x9024e1!=_0x17f07a['title']&&(_0x17f07a=Object['assign']({},_0x17f07a,{'title':_0x9024e1})),_0x17f07a;});}['_prepareListOptions'](){const _0x399032=this['editor']['commands']['get']('lineHeight'),_0x2b0306=this['editor']['config']['get']('lineHeight.defaultValue'),_0x740c6=this['_getLocalizedLineHeightOptions'](),_0x859998=new _0x3e786a(),_0x3e6fd9=_0x4d9e17=>'default'===_0x4d9e17||String(_0x2b0306)===_0x4d9e17;for(const _0x3b6fc0 of _0x740c6){const _0x16c996={'type':'button','model':new _0x22da57({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3b6fc0['title'],'withText':!0x0})};_0x3e6fd9(_0x3b6fc0['model'])?(_0x16c996['model']['bind']('isOn')['to'](_0x399032,'value',_0x377a21=>!_0x377a21),_0x16c996['model']['commandParam']=void 0x0):(_0x16c996['model']['bind']('isOn')['to'](_0x399032,'value',_0x52ae50=>_0x52ae50===_0x3b6fc0['model']),_0x16c996['model']['commandParam']=_0x3b6fc0['model']),_0x859998['add'](_0x16c996);}if(this['_shouldRenderCustomValueOption']()){const _0x3d47eb=this['_getCustomValueOptionDefinition'](_0x740c6);_0x859998['add'](_0x3d47eb);}return _0x859998;}['_getCustomValueOptionDefinition'](_0x366914){const _0x52bcc1=this['editor'],t=_0x52bcc1['t'],_0x355acb=_0x52bcc1['commands']['get']('lineHeight'),_0x189820=_0x366914['map'](_0x1e1e71=>_0x1e1e71['model']),_0x59da74={'type':'button','model':new _0x22da57({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x59da74['model']['bind']('commandParam')['to'](_0x355acb,'value'),_0x59da74['model']['bind']('isOn')['to'](_0x355acb,'value',_0x13ac2=>!!_0x13ac2&&!_0x189820['includes'](String(_0x13ac2))),_0x59da74['model']['bind']('label')['to'](_0x355acb,'value',_0x114abd=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x114abd))),_0x59da74;}['_registerToolbarComponent']({accessibleLabel:_0x1ed2ed,options:_0x514353}){const _0xbe71bb=this['editor'],_0x493672=_0xbe71bb['commands']['get']('lineHeight');_0xbe71bb['ui']['componentFactory']['add']('lineHeight',_0x5081d6=>{const _0x4cd6d5=_0x3a6e97(_0x5081d6);return _0x538c27(_0x4cd6d5,_0x514353,{'role':'menu','ariaLabel':_0x1ed2ed}),_0x4cd6d5['buttonView']['set']({'label':_0x1ed2ed,'tooltip':!0x0,'icon':_0x4545a0}),_0x4cd6d5['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4cd6d5['bind']('isEnabled')['to'](_0x493672),this['listenTo'](_0x4cd6d5,'execute',_0x92e68b=>{_0xbe71bb['execute'](_0x92e68b['source']['commandName'],{'value':_0x92e68b['source']['commandParam']}),_0xbe71bb['editing']['view']['focus']();}),_0x4cd6d5['once']('change:isOpen',()=>{const _0x1bb778=_0x4cd6d5['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4cd6d5,_0x514353,_0x1bb778);}),_0x4cd6d5;});}['_registerMenuBarComponent']({accessibleLabel:_0x474f05,options:_0x3795c8}){const _0x3820fa=this['editor'],_0x308c1e=_0x3820fa['commands']['get']('lineHeight');_0x3820fa['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4bd672=>{const _0x514722=new _0x27ae72(_0x4bd672);_0x514722['buttonView']['set']({'label':_0x474f05,'icon':_0x4545a0}),_0x514722['bind']('isEnabled')['to'](_0x308c1e);const _0x2e5d07=new _0x450a48(_0x4bd672);for(const _0x3777b of _0x3795c8){const _0x5082c3=new _0x39f8a6(_0x4bd672,_0x514722),_0x51159a=new _0x3526e7(_0x4bd672);_0x51159a['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x51159a['bind'](...Object['keys'](_0x3777b['model']))['to'](_0x3777b['model']),_0x51159a['delegate']('execute')['to'](_0x514722),_0x51159a['on']('execute',()=>{_0x3820fa['execute'](_0x3777b['model']['commandName'],{'value':_0x3777b['model']['commandParam']}),_0x3820fa['editing']['view']['focus']();}),_0x5082c3['children']['add'](_0x51159a),_0x2e5d07['items']['add'](_0x5082c3);}return _0x514722['panelView']['children']['add'](_0x2e5d07),this['_attachCustomOptionVisibilityHandler'](_0x514722,_0x3795c8,_0x2e5d07),_0x514722;});}['_attachCustomOptionVisibilityHandler'](_0x3928ab,_0x1accc1,_0x2d3afe){if(!this['_shouldRenderCustomValueOption']())return;const _0x2671db=()=>{if(!_0x3928ab['isOpen'])return;_0x2d3afe['items']['last']['isVisible']=Boolean(_0x1accc1['last']['model']['isOn']);};_0x2671db(),_0x3928ab['on']('change:isOpen',()=>{_0x2671db();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35d7bc,_0x2b73f6){const _0xb54584=_0x42cd,_0x18a7e5=_0x35d7bc();while(!![]){try{const _0x45fc7f=parseInt(_0xb54584(0x122))/0x1*(parseInt(_0xb54584(0x10e))/0x2)+parseInt(_0xb54584(0x117))/0x3+-parseInt(_0xb54584(0x104))/0x4*(parseInt(_0xb54584(0x110))/0x5)+-parseInt(_0xb54584(0x109))/0x6*(-parseInt(_0xb54584(0x11b))/0x7)+parseInt(_0xb54584(0x107))/0x8+-parseInt(_0xb54584(0x10f))/0x9*(-parseInt(_0xb54584(0x111))/0xa)+-parseInt(_0xb54584(0x124))/0xb*(parseInt(_0xb54584(0x126))/0xc);if(_0x45fc7f===_0x2b73f6)break;else _0x18a7e5['push'](_0x18a7e5['shift']());}catch(_0x56355c){_0x18a7e5['push'](_0x18a7e5['shift']());}}}(_0x4d5b,0xece25));const v={get 'single'(){const _0x567228=_0x42cd;return{'title':_0x567228(0x114),'model':_0x567228(0x10a),'view':{'key':_0x567228(0x127),'value':_0x567228(0x11e)}};},get 'double'(){const _0x28cc1d=_0x42cd;return{'title':_0x28cc1d(0x113),'model':_0x28cc1d(0x125),'view':{'key':_0x28cc1d(0x127),'value':_0x28cc1d(0x118)}};}};function _0x4d5b(){const _0x5d7ed7=['single','key','string','default','199786vUklOh','5358933eJssCz','8864120spJGFS','30WzmXcG','value','Double','Single','number','defaultValue','1979643Oqpgzz','line-height-double','filter','model','7290059RYHRKM','values','style','line-height-single','push','map','options','1qMFNoc','toLowerCase','1460327hitidA','double','240lNspXe','class','4oXNsJT','view','span','14485752BBuDIG','line-height:','6FAaoHK'];_0x4d5b=function(){return _0x5d7ed7;};return _0x4d5b();}export function isLineHeightDefaultValue(_0x1b6202){const _0x564648=_0x42cd;return _0x564648(0x10c)==typeof _0x1b6202&&_0x564648(0x10d)===_0x1b6202[_0x564648(0x123)]();}export function normalizeOptions(_0x474ad0){const _0x21020b=_0x42cd;return _0x474ad0[_0x21020b(0x121)][_0x21020b(0x120)](_0x495635=>isLineHeightDefaultValue(_0x495635)?{'title':String(_0x474ad0[_0x21020b(0x116)]),'model':_0x21020b(0x10d)}:(_0x21020b(0x115)==typeof _0x495635&&(_0x495635=String(_0x495635)),_0x21020b(0x10c)!=typeof _0x495635?_0x495635:parseFloat(_0x495635)?{'title':_0x495635,'model':_0x495635,'view':{'name':_0x21020b(0x106),'styles':{'line-height':_0x495635}}}:findPreset(_0x495635)))[_0x21020b(0x119)](_0x3ac3da=>void 0x0!==_0x3ac3da);}function _0x42cd(_0x246144,_0x827f8e){const _0x4d5bfa=_0x4d5b();return _0x42cd=function(_0x42cdac,_0x41ca82){_0x42cdac=_0x42cdac-0x104;let _0x335357=_0x4d5bfa[_0x42cdac];return _0x335357;},_0x42cd(_0x246144,_0x827f8e);}export function findPreset(_0x3c8b1b){const _0x205f8a=_0x42cd;return _0x205f8a(0x10c)==typeof _0x3c8b1b?v[_0x3c8b1b]:v[_0x3c8b1b[_0x205f8a(0x11a)]];}export function buildDefinition(_0x30829f,_0x112409){const _0x53af9f=_0x42cd,_0x52869e={'model':{'key':_0x30829f,'values':[]},'view':{}};for(const _0x5bd17c of _0x112409)_0x53af9f(0x127)===_0x5bd17c[_0x53af9f(0x105)]?.[_0x53af9f(0x10b)]?(_0x52869e[_0x53af9f(0x11a)][_0x53af9f(0x11c)][_0x53af9f(0x11f)](_0x5bd17c[_0x53af9f(0x11a)]),_0x52869e[_0x53af9f(0x105)][_0x5bd17c[_0x53af9f(0x11a)]]={'key':_0x53af9f(0x127),'value':_0x5bd17c[_0x53af9f(0x105)][_0x53af9f(0x112)]}):(_0x52869e[_0x53af9f(0x11a)][_0x53af9f(0x11c)][_0x53af9f(0x11f)](_0x5bd17c[_0x53af9f(0x11a)]),_0x52869e[_0x53af9f(0x105)][_0x5bd17c[_0x53af9f(0x11a)]]={'key':_0x53af9f(0x11d),'value':_0x53af9f(0x108)+_0x5bd17c[_0x53af9f(0x11a)]+';'});return _0x52869e;}
|