@ckeditor/ckeditor5-line-height 47.3.0-alpha.2 → 47.3.0-alpha.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 _0x465a86=_0x2e69;(function(_0x38430b,_0x22b5a0){const _0x1998a4=_0x2e69,_0x120515=_0x38430b();while(!![]){try{const _0x5a94af=-parseInt(_0x1998a4(0x129))/0x1+parseInt(_0x1998a4(0x12d))/0x2*(-parseInt(_0x1998a4(0x139))/0x3)+-parseInt(_0x1998a4(0x13f))/0x4+parseInt(_0x1998a4(0x12b))/0x5+parseInt(_0x1998a4(0x11f))/0x6+-parseInt(_0x1998a4(0x137))/0x7*(-parseInt(_0x1998a4(0x144))/0x8)+-parseInt(_0x1998a4(0x143))/0x9*(parseInt(_0x1998a4(0x12a))/0xa);if(_0x5a94af===_0x22b5a0)break;else _0x120515['push'](_0x120515['shift']());}catch(_0x498bf0){_0x120515['push'](_0x120515['shift']());}}}(_0x365c,0xc8915));import{Plugin as _0x3679c7}from'ckeditor5/src/core.js';import{Matcher as _0x44a45d}from'ckeditor5/src/engine.js';function _0x2e69(_0x6f8f91,_0x4d0245){const _0x365c3d=_0x365c();return _0x2e69=function(_0x2e6913,_0x64a411){_0x2e6913=_0x2e6913-0x11e;let _0x286c95=_0x365c3d[_0x2e6913];return _0x286c95;},_0x2e69(_0x6f8f91,_0x4d0245);}import'../../theme/integrations/todolist.css';function _0x365c(){const _0x7b4e67=['ListEditing','for','elementToElement','get','name','37682vUHaCN','142810eXHRGq','468520wuwZLh','span','72ZgAYpW','paragraph','registerDowncastStrategy','editor','--ck-content-list-marker-line-height','listType','init','item','ck-list-marker-line-height','consumable','23982RwjWKo','isOfficialPlugin','54573OEqEZW','high','consume','todo-list__label__description','LineHeightTodoListIntegration','TodoListEditing','205332bCZoOl','addClass','viewItem','match','54APYCHT','1256rQGYeD','pluginName','upcast','lineHeight','setStyle','getAttribute','todo','6117096KpEkXm','element:li','add','isPremiumPlugin','has'];_0x365c=function(){return _0x7b4e67;};return _0x365c();}export class LineHeightTodoListIntegration extends _0x3679c7{static get[_0x465a86(0x145)](){const _0x1d1fe0=_0x465a86;return _0x1d1fe0(0x13d);}static get[_0x465a86(0x138)](){return!0x0;}static get[_0x465a86(0x122)](){return!0x0;}[_0x465a86(0x133)](){const _0x1677e3=_0x465a86,{plugins:_0x3a382e,conversion:_0x5335c1}=this[_0x1677e3(0x130)];if(!_0x3a382e[_0x1677e3(0x123)](_0x1677e3(0x124))||!_0x3a382e[_0x1677e3(0x123)](_0x1677e3(0x13e)))return;_0x3a382e[_0x1677e3(0x127)](_0x1677e3(0x124))[_0x1677e3(0x12f)]({'scope':_0x1677e3(0x134),'attributeName':_0x1677e3(0x147),'consume':!0x1,'setAttributeOnDowncast'(_0x33681e,_0x255e61,_0x2e4ad9,_0xf5e9d0,_0x10c774){const _0x542e97=_0x1677e3;_0x542e97(0x11e)==_0x10c774[_0x542e97(0x149)](_0x542e97(0x132))&&_0x255e61&&(_0x33681e[_0x542e97(0x140)](_0x542e97(0x135),_0x2e4ad9),_0x33681e[_0x542e97(0x148)](_0x542e97(0x131),_0x255e61,_0x2e4ad9));}}),_0x5335c1[_0x1677e3(0x125)](_0x1677e3(0x146))[_0x1677e3(0x126)]({'view':{'name':_0x1677e3(0x12c),'classes':_0x1677e3(0x13c)},'model':_0x1677e3(0x12e),'converterPriority':_0x1677e3(0x13a)}),_0x5335c1[_0x1677e3(0x125)](_0x1677e3(0x146))[_0x1677e3(0x121)](_0x5ab6d2=>{const _0x328a2a=_0x1677e3;_0x5ab6d2['on'](_0x328a2a(0x120),function(_0x3e85c6){const _0x261d8a=new _0x44a45d(_0x3e85c6);return(_0x15c59d,_0x5096aa,_0x1a6ee9)=>{const _0x43cf40=_0x2e69,_0x48ff5b=_0x261d8a[_0x43cf40(0x142)](_0x5096aa[_0x43cf40(0x141)]);if(!_0x48ff5b)return;const _0x2bae7c=_0x48ff5b[_0x43cf40(0x142)];_0x2bae7c[_0x43cf40(0x128)]=!0x1,_0x1a6ee9[_0x43cf40(0x136)][_0x43cf40(0x13b)](_0x5096aa[_0x43cf40(0x141)],_0x2bae7c);};}({'name':'li','classes':_0x328a2a(0x135),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1eca60=_0x5387;(function(_0x20fcdf,_0x5910ae){var _0xbc8cd7=_0x5387,_0x3acb5e=_0x20fcdf();while(!![]){try{var _0x4727eb=parseInt(_0xbc8cd7(0x134))/0x1*(parseInt(_0xbc8cd7(0x12c))/0x2)+parseInt(_0xbc8cd7(0x12b))/0x3+-parseInt(_0xbc8cd7(0x135))/0x4*(parseInt(_0xbc8cd7(0x137))/0x5)+-parseInt(_0xbc8cd7(0x12d))/0x6+parseInt(_0xbc8cd7(0x12a))/0x7+-parseInt(_0xbc8cd7(0x136))/0x8*(-parseInt(_0xbc8cd7(0x131))/0x9)+-parseInt(_0xbc8cd7(0x132))/0xa;if(_0x4727eb===_0x5910ae)break;else _0x3acb5e['push'](_0x3acb5e['shift']());}catch(_0x28e645){_0x3acb5e['push'](_0x3acb5e['shift']());}}}(_0x55ba,0x47da7));import{Plugin as _0x1ed6e7}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x19c3e8}from'./lineheightediting.js';function _0x55ba(){var _0x5b6d5e=['pluginName','3349850JeIXXK','1717848mCwkeC','1046zmgLYV','1674624wbiiOx','isOfficialPlugin','isPremiumPlugin','LineHeight','126XEbxta','2507350VIfzmm','requires','61AJxvQY','20rmnagz','89912JJdXYB','416265tGknXN'];_0x55ba=function(){return _0x5b6d5e;};return _0x55ba();}import{LineHeightUI as _0x1fd4b1}from'./lineheightui.js';function _0x5387(_0x10e426,_0x2f2749){var _0x55ba60=_0x55ba();return _0x5387=function(_0x5387de,_0x2b09c0){_0x5387de=_0x5387de-0x12a;var _0x36ce92=_0x55ba60[_0x5387de];return _0x36ce92;},_0x5387(_0x10e426,_0x2f2749);}export class LineHeight extends _0x1ed6e7{static get[_0x1eca60(0x133)](){return[_0x19c3e8,_0x1fd4b1];}static get[_0x1eca60(0x138)](){var _0x3ef8fd=_0x1eca60;return _0x3ef8fd(0x130);}static get[_0x1eca60(0x12e)](){return!0x0;}static get[_0x1eca60(0x12f)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34cb0b=_0x5942;(function(_0x6dd335,_0x31166c){const _0x4db66f=_0x5942,_0x137142=_0x6dd335();while(!![]){try{const _0x1808a1=parseInt(_0x4db66f(0x14d))/0x1+-parseInt(_0x4db66f(0x14c))/0x2+parseInt(_0x4db66f(0x160))/0x3+-parseInt(_0x4db66f(0x157))/0x4*(-parseInt(_0x4db66f(0x15c))/0x5)+parseInt(_0x4db66f(0x14a))/0x6+-parseInt(_0x4db66f(0x14b))/0x7*(-parseInt(_0x4db66f(0x151))/0x8)+-parseInt(_0x4db66f(0x15a))/0x9*(parseInt(_0x4db66f(0x156))/0xa);if(_0x1808a1===_0x31166c)break;else _0x137142['push'](_0x137142['shift']());}catch(_0x2e1f5b){_0x137142['push'](_0x137142['shift']());}}}(_0x3e93,0xcf2a0));import{Command as _0x443303}from'ckeditor5/src/core.js';function _0x3e93(){const _0x1ca179=['_canHaveLineHeight','4542760SMQHRb','isEnabled','selection','getSelectedBlocks','from','20greoDF','668GlhXzu','refresh','execute','13111146PAkTHM','getAttribute','48770kbRVxz','filter','document','model','737925xLlhXZ','lineHeight','editor','checkAttribute','setAttribute','schema','removeAttribute','2825850DClmXF','7ciDwZm','1489522jHOccH','1593180VFAgvN','value','change'];_0x3e93=function(){return _0x1ca179;};return _0x3e93();}function _0x5942(_0x4a6825,_0x12544){const _0x3e9351=_0x3e93();return _0x5942=function(_0x594292,_0x35aad1){_0x594292=_0x594292-0x147;let _0x2a8d01=_0x3e9351[_0x594292];return _0x2a8d01;},_0x5942(_0x4a6825,_0x12544);}import{first as _0x12ed72}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x443303{[_0x34cb0b(0x158)](){const _0x2462f6=_0x34cb0b,_0x27d20d=this[_0x2462f6(0x162)][_0x2462f6(0x15f)][_0x2462f6(0x15e)],_0x1a5167=_0x12ed72(_0x27d20d[_0x2462f6(0x153)][_0x2462f6(0x154)]());this[_0x2462f6(0x152)]=Boolean(_0x1a5167)&&this[_0x2462f6(0x150)](_0x1a5167),this[_0x2462f6(0x14e)]=this[_0x2462f6(0x152)]&&_0x1a5167[_0x2462f6(0x15b)](_0x2462f6(0x161));}[_0x34cb0b(0x159)](_0x1cf782={}){const _0x49f8e0=_0x34cb0b,_0x1ef561=this[_0x49f8e0(0x162)][_0x49f8e0(0x15f)],_0x3b65a9=_0x1ef561[_0x49f8e0(0x15e)][_0x49f8e0(0x153)],_0x2f6424=_0x1cf782[_0x49f8e0(0x14e)];_0x1ef561[_0x49f8e0(0x14f)](_0x58060d=>{const _0x4fb097=_0x49f8e0,_0x2bdf83=Array[_0x4fb097(0x155)](_0x3b65a9[_0x4fb097(0x154)]())[_0x4fb097(0x15d)](_0x590f41=>this[_0x4fb097(0x150)](_0x590f41));for(const _0x128274 of _0x2bdf83)_0x2f6424?_0x58060d[_0x4fb097(0x147)](_0x4fb097(0x161),_0x2f6424,_0x128274):_0x58060d[_0x4fb097(0x149)](_0x4fb097(0x161),_0x128274);});}[_0x34cb0b(0x150)](_0x1edda8){const _0x16f849=_0x34cb0b;return this[_0x16f849(0x162)][_0x16f849(0x15f)][_0x16f849(0x148)][_0x16f849(0x163)](_0x1edda8,_0x16f849(0x161));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d640c=_0x7fb1;(function(_0x3ee5c5,_0x1b5051){const _0x576ca9=_0x7fb1,_0xd36d7f=_0x3ee5c5();while(!![]){try{const _0x42df01=parseInt(_0x576ca9(0x177))/0x1*(-parseInt(_0x576ca9(0x167))/0x2)+parseInt(_0x576ca9(0x174))/0x3+parseInt(_0x576ca9(0x16a))/0x4+parseInt(_0x576ca9(0x17c))/0x5*(-parseInt(_0x576ca9(0x16b))/0x6)+parseInt(_0x576ca9(0x154))/0x7+parseInt(_0x576ca9(0x153))/0x8+-parseInt(_0x576ca9(0x15c))/0x9*(parseInt(_0x576ca9(0x15f))/0xa);if(_0x42df01===_0x1b5051)break;else _0xd36d7f['push'](_0xd36d7f['shift']());}catch(_0x133afe){_0xd36d7f['push'](_0xd36d7f['shift']());}}}(_0x4ee2,0xbab2d));import{Plugin as _0x3254ed}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xc0452a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2d59a9}from'ckeditor5/src/engine.js';function _0x4ee2(){const _0x1a9922=['line-height','11265930PKNakT','filter','isPremiumPlugin','requires','values','_prepareAnyValueConverters','conversion','_validateConfig','2SWYXdK','style','slice','219604TYmQsU','222IUVpTc','isOfficialPlugin','extend','href','lineHeight.defaultValue','afterInit','lineHeight.options','$block','getStyle','1265886iCUCNE','upcast','default','69196FzrZtj','length','attributeToAttribute','schema','fromCharCode','36605WpTDGH','LineHeightEditing','line-height-invalid-use-of-named-presets','lineHeight.supportAllValues','string','define','_preparePredefinedConverters','for','downcast','commands','lineHeight','map','model','setAttributeProperties','9278368vcfqPg','4163068vLgdKD','init','get','pluginName','editor','add','config','includes','9CZkjZd','join'];_0x4ee2=function(){return _0x1a9922;};return _0x4ee2();}import{uid as _0x22e449,CKEditorError as _0x33678f}from'ckeditor5/src/utils.js';function _0x7fb1(_0x2137ae,_0x58afcc){const _0x4ee22c=_0x4ee2();return _0x7fb1=function(_0x7fb16a,_0x482fe8){_0x7fb16a=_0x7fb16a-0x149;let _0x13342f=_0x4ee22c[_0x7fb16a];return _0x13342f;},_0x7fb1(_0x2137ae,_0x58afcc);}import{buildDefinition as _0x2c6cc1,isLineHeightDefaultValue as _0x5e6979,normalizeOptions as _0x379179}from'./utils.js';import{LineHeightTodoListIntegration as _0x513341}from'./integrations/todolist.js';export class LineHeightEditing extends _0x3254ed{static get[_0x3d640c(0x157)](){const _0x517106=_0x3d640c;return _0x517106(0x17d);}static get[_0x3d640c(0x162)](){return[_0x513341];}static get[_0x3d640c(0x16c)](){return!0x0;}static get[_0x3d640c(0x161)](){return!0x0;}constructor(_0x1aad68){const _0x1217b1=_0x3d640c;super(_0x1aad68),_0x1aad68[_0x1217b1(0x15a)][_0x1217b1(0x14a)](_0x1217b1(0x14f),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1217b1(0x176),0x2,2.5,0x3]});}[_0x3d640c(0x155)](){const _0x448139=_0x3d640c,_0x1e8e3a=this[_0x448139(0x158)];this[_0x448139(0x166)](),_0x1e8e3a[_0x448139(0x151)][_0x448139(0x17a)][_0x448139(0x16d)](_0x448139(0x172),{'allowAttributes':_0x448139(0x14f)}),_0x1e8e3a[_0x448139(0x151)][_0x448139(0x17a)][_0x448139(0x152)](_0x448139(0x14f),{'isFormatting':!0x0}),_0x1e8e3a[_0x448139(0x14e)][_0x448139(0x159)](_0x448139(0x14f),new _0xc0452a(_0x1e8e3a)),this[_0x448139(0x158)][_0x448139(0x15a)][_0x448139(0x156)](_0x448139(0x17f))?this[_0x448139(0x164)]():this[_0x448139(0x14b)]();}[_0x3d640c(0x170)](){!async function(_0x1fc408){const _0x3e1ce4=_0x39d945([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]),_0x5151ac=0x45ddd215,_0x488480=0x45daa875^_0x5151ac,_0x5c4a57=window[_0x39d945([0x44,0x61,0x74,0x65])][_0x39d945([0x6e,0x6f,0x77])](),_0xac189d=_0x1fc408[_0x39d945([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f6058=new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x230538=>{_0xac189d[_0x39d945([0x6f,0x6e,0x63,0x65])](_0x39d945([0x72,0x65,0x61,0x64,0x79]),_0x230538);}),_0x4a4553={[_0x39d945([0x6b,0x74,0x79])]:_0x39d945([0x45,0x43]),[_0x39d945([0x75,0x73,0x65])]:_0x39d945([0x73,0x69,0x67]),[_0x39d945([0x63,0x72,0x76])]:_0x39d945([0x50,0x2d,0x32,0x35,0x36]),[_0x39d945([0x78])]:_0x39d945([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]),[_0x39d945([0x79])]:_0x39d945([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]),[_0x39d945([0x61,0x6c,0x67])]:_0x39d945([0x45,0x53,0x32,0x35,0x36])},_0x206b0d=_0xac189d[_0x39d945([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39d945([0x67,0x65,0x74])](_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4051b6(){let _0x2ab21b,_0x349d6b=null,_0x5caa6d=null;try{if(_0x206b0d==_0x39d945([0x47,0x50,0x4c]))return _0x39d945([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ab21b=_0x6acdc1(),!_0x2ab21b)return _0x39d945([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ab21b[_0x39d945([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5caa6d=_0x40ea73(_0x2ab21b[_0x39d945([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ab21b[_0x39d945([0x6a,0x74,0x69])])),await _0x190151()?_0x68b2b4()?_0x452271()?_0x39d945([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x42050d()?(_0x2ab21b[_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d945([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x349d6b=_0x18e532(_0x39d945([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ab21b[_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39d945([0x74,0x72,0x69,0x61,0x6c])&&(_0x349d6b=_0x18e532(_0x39d945([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21268f()):_0x39d945([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39d945([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39d945([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39d945([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x452271(){const _0x4f72e9=[_0x39d945([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39d945([0x74,0x72,0x69,0x61,0x6c])][_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ab21b[_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c4a57/0x3e8:0xe10*_0x488480;return _0x2ab21b[_0x39d945([0x65,0x78,0x70])]<_0x4f72e9;}function _0x68b2b4(){const _0x2f85af=_0x2ab21b[_0x39d945([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f85af&&(!!_0x2f85af[_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d945([0x2a]))||!!_0x2f85af[_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d945([0x4c,0x48])));}function _0x42050d(){const _0x1819f0=_0x7fb1,_0x1ee5a5=_0x2ab21b[_0x39d945([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ee5a5||0x0==_0x1ee5a5[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x106033}=new URL(window[_0x39d945([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1819f0(0x16e)]);if(_0x1ee5a5[_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x106033))return!0x0;const _0x18b408=_0x106033[_0x39d945([0x73,0x70,0x6c,0x69,0x74])](_0x39d945([0x2e]));return _0x1ee5a5[_0x39d945([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20a2cc=>_0x20a2cc[_0x39d945([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39d945([0x2a])))[_0x39d945([0x6d,0x61,0x70])](_0x2b6a5e=>_0x2b6a5e[_0x39d945([0x73,0x70,0x6c,0x69,0x74])](_0x39d945([0x2e])))[_0x39d945([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15df24=>_0x15df24[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18b408[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d945([0x6d,0x61,0x70])](_0x1bf4e8=>Array(_0x18b408[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1bf4e8[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39d945([0x66,0x69,0x6c,0x6c])](_0x1bf4e8[0x0]===_0x39d945([0x2a])?_0x39d945([0x2a]):'')[_0x39d945([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1bf4e8))[_0x39d945([0x73,0x6f,0x6d,0x65])](_0x1f666b=>_0x18b408[_0x39d945([0x65,0x76,0x65,0x72,0x79])]((_0x3c7e96,_0x56cd36)=>_0x1f666b[_0x56cd36]===_0x3c7e96||_0x1f666b[_0x56cd36]===_0x39d945([0x2a])));}function _0x21268f(){return _0x349d6b&&_0x5caa6d?new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36390e,_0x13b823)=>{_0x349d6b[_0x39d945([0x74,0x68,0x65,0x6e])](_0x36390e,_0x13b823),_0x5caa6d[_0x39d945([0x74,0x68,0x65,0x6e])](_0x110b07=>{_0x110b07!=_0x39d945([0x56,0x61,0x6c,0x69,0x64])&&_0x36390e(_0x110b07);},_0x13b823);}):_0x349d6b||_0x5caa6d||_0x39d945([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40ea73(_0x4ce62b,_0x1635a5){return new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe6da2a=>{if(_0x2a5b59())return _0xe6da2a(_0x39d945([0x56,0x61,0x6c,0x69,0x64]));_0x44ed1c(),_0xac189d[_0x39d945([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39d945([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x819267=!0x1;const _0x2eeb35=_0x22e449();function _0x5326c0(_0x4aa181){return!!_0x4aa181&&(typeof _0x4aa181===_0x39d945([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4aa181===_0x39d945([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4aa181[_0x39d945([0x74,0x68,0x65,0x6e])]===_0x39d945([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4aa181[_0x39d945([0x63,0x61,0x74,0x63,0x68])]===_0x39d945([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e49d6(_0x174fc0){_0x57c919(_0x174fc0)[_0x39d945([0x74,0x68,0x65,0x6e])](_0x5cd0e6=>{if(!_0x5cd0e6||_0x5cd0e6[_0x39d945([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39d945([0x6f,0x6b]))return _0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5707d0(_0x479d93(_0x2eeb35+_0x1635a5))!=_0x5cd0e6[_0x39d945([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39d945([0x56,0x61,0x6c,0x69,0x64]);})[_0x39d945([0x74,0x68,0x65,0x6e])](_0x40e232=>(_0x589731(),_0x40e232),()=>{const _0x222bce=_0x493eb9();return null==_0x222bce?(_0x589731(),_0x39d945([0x56,0x61,0x6c,0x69,0x64])):_0x39d945(_0x5c4a57-_0x222bce>(0x61d15615^_0x5151ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39d945([0x74,0x68,0x65,0x6e])](_0xe6da2a)[_0x39d945([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe6da2a(_0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48191f=0x45eb3c95^_0x5151ac;function _0x589731(){const _0x65a8cc=_0x39d945([0x6c,0x6c,0x63,0x74,0x2d])+_0x5707d0(_0x479d93(_0x4ce62b)),_0x567384=_0x20349c(_0x5707d0(window[_0x39d945([0x4d,0x61,0x74,0x68])][_0x39d945([0x63,0x65,0x69,0x6c])](_0x5c4a57/_0x48191f)));window[_0x39d945([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d945([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x65a8cc,_0x567384);}function _0x493eb9(){const _0x179f41=_0x39d945([0x6c,0x6c,0x63,0x74,0x2d])+_0x5707d0(_0x479d93(_0x4ce62b)),_0x1ffdf2=window[_0x39d945([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39d945([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x179f41);return _0x1ffdf2?window[_0x39d945([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20349c(_0x1ffdf2),0x10)*_0x48191f:null;}function _0x57c919(_0x2ecea9){return new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28ee14,_0x1ef452)=>{_0x2ecea9[_0x39d945([0x74,0x68,0x65,0x6e])](_0x28ee14,_0x1ef452),window[_0x39d945([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ef452,0x45dc06d5^_0x5151ac);});}}_0xac189d[_0x39d945([0x6f,0x6e])](_0x39d945([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x53eb22,_0x4761a7)=>{if(_0x4761a7[0x0]!=_0x4ce62b)return _0xe6da2a(_0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4761a7[0x1]={..._0x4761a7[0x1],[_0x39d945([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2eeb35};},{[_0x39d945([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d945([0x68,0x69,0x67,0x68])}),_0xac189d[_0x39d945([0x6f,0x6e])](_0x39d945([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x207de7=>{_0x5326c0(_0x207de7[_0x39d945([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x819267=!0x0,_0x4e49d6(_0x207de7[_0x39d945([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39d945([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39d945([0x6c,0x6f,0x77])}),_0x2f6058[_0x39d945([0x74,0x68,0x65,0x6e])](()=>{_0x819267||_0xe6da2a(_0x39d945([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a5b59(){return _0xac189d[_0x39d945([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d945([0x76,0x69,0x65,0x77])][_0x39d945([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39d945([0x61,0x75,0x74,0x6f]);}function _0x44ed1c(){_0xac189d[_0x39d945([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39d945([0x76,0x69,0x65,0x77])][_0x39d945([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39d945([0x61,0x75,0x74,0x6f]);}}function _0x18e532(_0x52002a){const _0x58d65d=[new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x104736=>setTimeout(_0x104736,0x45d4ecd9^_0x5151ac)),_0x2f6058[_0x39d945([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51c318=>{let _0x40fce4=0x0;_0xac189d[_0x39d945([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d945([0x6f,0x6e])](_0x39d945([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19d935,_0x428350)=>{_0x428350[0x0][_0x39d945([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40fce4++,_0x40fce4==(0x45ddd3ed^_0x5151ac)&&(_0x51c318(),_0x19d935[_0x39d945([0x6f,0x66,0x66])]());});}))];return window[_0x39d945([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39d945([0x72,0x61,0x63,0x65])](_0x58d65d)[_0x39d945([0x74,0x68,0x65,0x6e])](()=>_0x52002a);}async function _0x6400de(){await _0x2f6058,_0xac189d[_0x39d945([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d945([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8a3453,_0xac189d[_0x39d945([0x6d,0x6f,0x64,0x65,0x6c])][_0x39d945([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8a3453,_0xac189d[_0x39d945([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39d945([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cdecd(_0x20520c){const _0x57ea08=_0xa12f00();_0xac189d[_0x57ea08]=_0x39d945([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20520c,_0x20520c!=_0x39d945([0x56,0x61,0x6c,0x69,0x64])&&_0x6400de();}function _0xa12f00(){const _0x32725a=window[_0x39d945([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39d945([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39d945([0x6e,0x6f,0x77])]())[_0x39d945([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39d945([0x2e]),'');let _0x4fb7b1=_0x39d945([0x50]);for(let _0x44431e=0x0;_0x44431e<_0x32725a[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44431e+=0x2){let _0x322e6d=window[_0x39d945([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32725a[_0x39d945([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44431e,_0x44431e+0x2));_0x322e6d>=_0x3e1ce4[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x322e6d-=_0x3e1ce4[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4fb7b1+=_0x3e1ce4[_0x322e6d];}return _0x4fb7b1;}function _0x6acdc1(){const _0x5bcada=_0x206b0d[_0x39d945([0x73,0x70,0x6c,0x69,0x74])](_0x39d945([0x2e]));if(0x3!=_0x5bcada[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x625878(_0x5bcada[0x1]);function _0x625878(_0x304814){const _0x4aee85=_0x5ef89c(_0x304814);return _0x4aee85&&_0x5aeec3()?_0x4aee85:null;function _0x5aeec3(){const _0x4ee612=_0x4aee85[_0x39d945([0x6a,0x74,0x69])],_0x473855=window[_0x39d945([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ee612[_0x39d945([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ee612[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cb20e={..._0x4aee85,[_0x39d945([0x6a,0x74,0x69])]:_0x4ee612[_0x39d945([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ee612[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cb20e[_0x39d945([0x76,0x63])],_0x479d93(_0x3cb20e)==_0x473855;}}}async function _0x190151(){let _0x59dd6f=!0x0;try{const _0x425da9=_0x206b0d[_0x39d945([0x73,0x70,0x6c,0x69,0x74])](_0x39d945([0x2e])),[_0x1097fb,_0x3bc85a,_0x3b4b2e]=_0x425da9;return _0x4200c3(_0x1097fb),await _0x56e2b9(_0x1097fb,_0x3bc85a,_0x3b4b2e),_0x59dd6f;}catch{return!0x1;}function _0x4200c3(_0xac4c2b){const _0x32b268=_0x5ef89c(_0xac4c2b);_0x32b268&&_0x32b268[_0x39d945([0x61,0x6c,0x67])]==_0x39d945([0x45,0x53,0x32,0x35,0x36])||(_0x59dd6f=!0x1);}async function _0x56e2b9(_0x1296a4,_0x2e0f74,_0x172dbc){const _0x4eb0cc=window[_0x39d945([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39d945([0x66,0x72,0x6f,0x6d])](_0x17d6b5(_0x172dbc),_0x2f8875=>_0x2f8875[_0x39d945([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x392d77=new window[(_0x39d945([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39d945([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1296a4+_0x39d945([0x2e])+_0x2e0f74),_0x2caf4b=window[_0x39d945([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39d945([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2caf4b)return;const _0x5aa19e=await _0x2caf4b[_0x39d945([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39d945([0x6a,0x77,0x6b]),_0x4a4553,{[_0x39d945([0x6e,0x61,0x6d,0x65])]:_0x39d945([0x45,0x43,0x44,0x53,0x41]),[_0x39d945([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39d945([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39d945([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2caf4b[_0x39d945([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39d945([0x6e,0x61,0x6d,0x65])]:_0x39d945([0x45,0x43,0x44,0x53,0x41]),[_0x39d945([0x68,0x61,0x73,0x68])]:{[_0x39d945([0x6e,0x61,0x6d,0x65])]:_0x39d945([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5aa19e,_0x4eb0cc,_0x392d77)||(_0x59dd6f=!0x1);}}function _0x5ef89c(_0x50910c){return _0x50910c[_0x39d945([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39d945([0x65,0x79]))?JSON[_0x39d945([0x70,0x61,0x72,0x73,0x65])](_0x17d6b5(_0x50910c)):null;}function _0x17d6b5(_0x1549f5){return window[_0x39d945([0x61,0x74,0x6f,0x62])](_0x1549f5[_0x39d945([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39d945([0x2b]))[_0x39d945([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39d945([0x2f])));}function _0x479d93(_0x242305){let _0x480bd5=0x1505;function _0x35af21(_0x59fcfc){for(let _0xe53a2c=0x0;_0xe53a2c<_0x59fcfc[_0x39d945([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe53a2c++){const _0x9f6872=_0x59fcfc[_0x39d945([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe53a2c);_0x480bd5=(_0x480bd5<<0x5)+_0x480bd5+_0x9f6872,_0x480bd5&=_0x480bd5;}}function _0x1f3c28(_0x45780d){Array[_0x39d945([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45780d)?_0x45780d[_0x39d945([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f3c28):_0x45780d&&typeof _0x45780d==_0x39d945([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39d945([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45780d)[_0x39d945([0x73,0x6f,0x72,0x74])]()[_0x39d945([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x434669,_0x12fc3b])=>{_0x35af21(_0x434669),_0x1f3c28(_0x12fc3b);}):_0x35af21(window[_0x39d945([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45780d));}return _0x1f3c28(_0x242305),_0x480bd5>>>0x0;}function _0x5707d0(_0x12ac76){return _0x12ac76[_0x39d945([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39d945([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39d945([0x30]));}function _0x20349c(_0x56d264){return _0x56d264[_0x39d945([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39d945([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39d945([0x6a,0x6f,0x69,0x6e])]('');}function _0x8a3453(){}function _0x39d945(_0x51ea0b){const _0x104a7c=_0x7fb1;return _0x51ea0b[_0x104a7c(0x150)](_0x112225=>String[_0x104a7c(0x17b)](_0x112225))[_0x104a7c(0x15d)]('');}_0x2cdecd(await _0x4051b6());}(this);}[_0x3d640c(0x166)](){const _0x2f51a3=_0x3d640c,_0x495b9d=this[_0x2f51a3(0x158)];if(!_0x495b9d[_0x2f51a3(0x15a)][_0x2f51a3(0x156)](_0x2f51a3(0x17f)))return;const _0x155f7d=_0x495b9d[_0x2f51a3(0x15a)][_0x2f51a3(0x156)](_0x2f51a3(0x171))[_0x2f51a3(0x160)](_0x10f648=>_0x2f51a3(0x149)==typeof _0x10f648&&(!_0x5e6979(_0x10f648)&&isNaN(Number(_0x10f648))));if(_0x155f7d[_0x2f51a3(0x178)])throw new _0x33678f(_0x2f51a3(0x17e),null,{'namedPresets':_0x155f7d});}[_0x3d640c(0x164)](){const _0x4b263d=_0x3d640c,_0x2e092e=this[_0x4b263d(0x158)],_0x5c77c0=this[_0x4b263d(0x158)][_0x4b263d(0x15a)][_0x4b263d(0x156)](_0x4b263d(0x16f));_0x2e092e[_0x4b263d(0x165)][_0x4b263d(0x14c)](_0x4b263d(0x14d))[_0x4b263d(0x179)]({'model':{'key':_0x4b263d(0x14f)},'view':_0x2d52a7=>String(_0x2d52a7)===String(_0x5c77c0)?null:{'key':_0x4b263d(0x168),'value':{'line-height':_0x2d52a7}}}),_0x2e092e[_0x4b263d(0x165)][_0x4b263d(0x14c)](_0x4b263d(0x175))[_0x4b263d(0x179)]({'model':{'key':_0x4b263d(0x14f),'value':_0x1f9ad3=>{const _0x3caf39=_0x4b263d;let _0x7c26e4=_0x1f9ad3[_0x3caf39(0x173)](_0x3caf39(0x15e));return _0x2d59a9(_0x7c26e4)&&(_0x7c26e4=String(Number(_0x7c26e4[_0x3caf39(0x169)](0x0,-0x1))/0x64)),String(_0x7c26e4)===String(_0x5c77c0)?null:_0x7c26e4;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3d640c(0x14b)](){const _0xf4cc0=_0x3d640c,_0x3f5322=this[_0xf4cc0(0x158)],_0x186207=this[_0xf4cc0(0x158)][_0xf4cc0(0x15a)][_0xf4cc0(0x156)](_0xf4cc0(0x16f)),_0x325468=_0x379179(this[_0xf4cc0(0x158)][_0xf4cc0(0x15a)][_0xf4cc0(0x156)](_0xf4cc0(0x14f)))[_0xf4cc0(0x160)](_0xdb9ebd=>_0xdb9ebd[_0xf4cc0(0x151)]),_0x1c9606=_0x2c6cc1(_0xf4cc0(0x14f),_0x325468);_0x3f5322[_0xf4cc0(0x165)][_0xf4cc0(0x179)](_0x1c9606),_0x3f5322[_0xf4cc0(0x165)][_0xf4cc0(0x14c)](_0xf4cc0(0x175))[_0xf4cc0(0x179)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xf4cc0(0x14f),'value':_0x23ad68=>{const _0x8727ac=_0xf4cc0;let _0x5eabc2=_0x23ad68[_0x8727ac(0x173)](_0x8727ac(0x15e));return _0x2d59a9(_0x5eabc2)&&(_0x5eabc2=String(Number(_0x5eabc2[_0x8727ac(0x169)](0x0,-0x1))/0x64)),_0x5eabc2===String(_0x186207)?null:_0x1c9606[_0x8727ac(0x151)][_0x8727ac(0x163)][_0x8727ac(0x15b)](_0x5eabc2)?_0x5eabc2:null;}}});}}
|
|
23
|
+
function _0x4636(){const _0x382693=['lineHeight.defaultValue','commands','requires','values','add','upcast','_validateConfig','lineHeight','getStyle','isPremiumPlugin','define','join','default','includes','fromCharCode','slice','109886HNCcOp','config','_prepareAnyValueConverters','model','6492912fppwNc','9wmQKmj','attributeToAttribute','2JLvGdL','get','lineHeight.options','filter','LineHeightEditing','init','setAttributeProperties','pluginName','line-height-invalid-use-of-named-presets','48pgFNxY','downcast','1391472IIPsAJ','isOfficialPlugin','conversion','extend','for','string','544170GXLaEV','line-height','length','$block','_preparePredefinedConverters','schema','afterInit','3283944UXfCrR','style','map','2096769vwGTvm','editor','lineHeight.supportAllValues','href','14188670BgqiBV'];_0x4636=function(){return _0x382693;};return _0x4636();}const _0x2d7a31=_0x2186;(function(_0x4fcbf2,_0x16cf12){const _0x3268ff=_0x2186,_0x1c6ca6=_0x4fcbf2();while(!![]){try{const _0x4fd926=parseInt(_0x3268ff(0xc7))/0x1+-parseInt(_0x3268ff(0xf3))/0x2*(parseInt(_0x3268ff(0xd7))/0x3)+parseInt(_0x3268ff(0xd4))/0x4+-parseInt(_0x3268ff(0xcd))/0x5+-parseInt(_0x3268ff(0xfc))/0x6*(-parseInt(_0x3268ff(0xec))/0x7)+parseInt(_0x3268ff(0xf0))/0x8+-parseInt(_0x3268ff(0xf1))/0x9*(parseInt(_0x3268ff(0xdb))/0xa);if(_0x4fd926===_0x16cf12)break;else _0x1c6ca6['push'](_0x1c6ca6['shift']());}catch(_0x185b3a){_0x1c6ca6['push'](_0x1c6ca6['shift']());}}}(_0x4636,0xe1598));import{Plugin as _0x11b235}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2f62aa}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x12642f}from'ckeditor5/src/engine.js';import{uid as _0x5e04ad,CKEditorError as _0x102074}from'ckeditor5/src/utils.js';import{buildDefinition as _0x58b5a9,isLineHeightDefaultValue as _0x397e7f,normalizeOptions as _0x41f9d0}from'./utils.js';function _0x2186(_0x540172,_0x2b73b3){const _0x46367f=_0x4636();return _0x2186=function(_0x2186d4,_0x529179){_0x2186d4=_0x2186d4-0xc7;let _0x565ba9=_0x46367f[_0x2186d4];return _0x565ba9;},_0x2186(_0x540172,_0x2b73b3);}import{LineHeightTodoListIntegration as _0x40d9a9}from'./integrations/todolist.js';export class LineHeightEditing extends _0x11b235{static get[_0x2d7a31(0xfa)](){const _0x34adb9=_0x2d7a31;return _0x34adb9(0xf7);}static get[_0x2d7a31(0xde)](){return[_0x40d9a9];}static get[_0x2d7a31(0xc8)](){return!0x0;}static get[_0x2d7a31(0xe5)](){return!0x0;}constructor(_0x371fae){const _0x139a21=_0x2d7a31;super(_0x371fae),_0x371fae[_0x139a21(0xed)][_0x139a21(0xe6)](_0x139a21(0xe3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x139a21(0xe8),0x2,2.5,0x3]});}[_0x2d7a31(0xf8)](){const _0x23a675=_0x2d7a31,_0x5b19ac=this[_0x23a675(0xd8)];this[_0x23a675(0xe2)](),_0x5b19ac[_0x23a675(0xef)][_0x23a675(0xd2)][_0x23a675(0xca)](_0x23a675(0xd0),{'allowAttributes':_0x23a675(0xe3)}),_0x5b19ac[_0x23a675(0xef)][_0x23a675(0xd2)][_0x23a675(0xf9)](_0x23a675(0xe3),{'isFormatting':!0x0}),_0x5b19ac[_0x23a675(0xdd)][_0x23a675(0xe0)](_0x23a675(0xe3),new _0x2f62aa(_0x5b19ac)),this[_0x23a675(0xd8)][_0x23a675(0xed)][_0x23a675(0xf4)](_0x23a675(0xd9))?this[_0x23a675(0xee)]():this[_0x23a675(0xd1)]();}[_0x2d7a31(0xd3)](){!async function(_0x35e249){const _0x5d133d=_0x275c99([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]),_0x119cd6=0x45ddd215,_0x3fdbf4=0x45daa86d^_0x119cd6,_0x2ba94d=window[_0x275c99([0x44,0x61,0x74,0x65])][_0x275c99([0x6e,0x6f,0x77])](),_0x3f4ca7=_0x35e249[_0x275c99([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c449f=new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cd73f=>{_0x3f4ca7[_0x275c99([0x6f,0x6e,0x63,0x65])](_0x275c99([0x72,0x65,0x61,0x64,0x79]),_0x4cd73f);}),_0x1152f6={[_0x275c99([0x6b,0x74,0x79])]:_0x275c99([0x45,0x43]),[_0x275c99([0x75,0x73,0x65])]:_0x275c99([0x73,0x69,0x67]),[_0x275c99([0x63,0x72,0x76])]:_0x275c99([0x50,0x2d,0x32,0x35,0x36]),[_0x275c99([0x78])]:_0x275c99([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]),[_0x275c99([0x79])]:_0x275c99([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]),[_0x275c99([0x61,0x6c,0x67])]:_0x275c99([0x45,0x53,0x32,0x35,0x36])},_0x156224=_0x3f4ca7[_0x275c99([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x275c99([0x67,0x65,0x74])](_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x380f2e(){let _0x37b271,_0x2184fe=null,_0x49d536=null;try{if(_0x156224==_0x275c99([0x47,0x50,0x4c]))return _0x275c99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x37b271=_0x4852c8(),!_0x37b271)return _0x275c99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x37b271[_0x275c99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49d536=_0xc5c5b(_0x37b271[_0x275c99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x37b271[_0x275c99([0x6a,0x74,0x69])])),await _0x592282()?_0x27aee7()?_0x3ceeed()?_0x275c99([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b35a4()?(_0x37b271[_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x275c99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2184fe=_0x1879cc(_0x275c99([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x37b271[_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x275c99([0x74,0x72,0x69,0x61,0x6c])&&(_0x2184fe=_0x1879cc(_0x275c99([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5558bf()):_0x275c99([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x275c99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x275c99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x275c99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ceeed(){const _0xcbf905=[_0x275c99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x275c99([0x74,0x72,0x69,0x61,0x6c])][_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37b271[_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ba94d/0x3e8:0xe10*_0x3fdbf4;return _0x37b271[_0x275c99([0x65,0x78,0x70])]<_0xcbf905;}function _0x27aee7(){const _0x27ce6e=_0x37b271[_0x275c99([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x27ce6e&&(!!_0x27ce6e[_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275c99([0x2a]))||!!_0x27ce6e[_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275c99([0x4c,0x48])));}function _0x4b35a4(){const _0x8307b3=_0x2186,_0x1417a2=_0x37b271[_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1417a2||0x0==_0x1417a2[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa514eb}=new URL(window[_0x275c99([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x8307b3(0xda)]);if(_0x1417a2[_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa514eb))return!0x0;const _0x17504e=_0xa514eb[_0x275c99([0x73,0x70,0x6c,0x69,0x74])](_0x275c99([0x2e]));return _0x1417a2[_0x275c99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f24ae=>_0x3f24ae[_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275c99([0x2a])))[_0x275c99([0x6d,0x61,0x70])](_0x41ca73=>_0x41ca73[_0x275c99([0x73,0x70,0x6c,0x69,0x74])](_0x275c99([0x2e])))[_0x275c99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e9765=>_0x3e9765[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17504e[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x275c99([0x6d,0x61,0x70])](_0x1e42ad=>Array(_0x17504e[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e42ad[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x275c99([0x66,0x69,0x6c,0x6c])](_0x1e42ad[0x0]===_0x275c99([0x2a])?_0x275c99([0x2a]):'')[_0x275c99([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e42ad))[_0x275c99([0x73,0x6f,0x6d,0x65])](_0x4557ea=>_0x17504e[_0x275c99([0x65,0x76,0x65,0x72,0x79])]((_0x4980c1,_0x939b7)=>_0x4557ea[_0x939b7]===_0x4980c1||_0x4557ea[_0x939b7]===_0x275c99([0x2a])));}function _0x5558bf(){return _0x2184fe&&_0x49d536?new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x441210,_0x4865db)=>{_0x2184fe[_0x275c99([0x74,0x68,0x65,0x6e])](_0x441210,_0x4865db),_0x49d536[_0x275c99([0x74,0x68,0x65,0x6e])](_0x1125d7=>{_0x1125d7!=_0x275c99([0x56,0x61,0x6c,0x69,0x64])&&_0x441210(_0x1125d7);},_0x4865db);}):_0x2184fe||_0x49d536||_0x275c99([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc5c5b(_0x2083d6,_0x51a3bb){return new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x394f0f=>{if(_0x2953f3())return _0x394f0f(_0x275c99([0x56,0x61,0x6c,0x69,0x64]));_0x3258bd(),_0x3f4ca7[_0x275c99([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x275c99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa0cc=!0x1;const _0x123ced=_0x5e04ad();function _0x349a64(_0x56a1ac){return!!_0x56a1ac&&(typeof _0x56a1ac===_0x275c99([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56a1ac===_0x275c99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56a1ac[_0x275c99([0x74,0x68,0x65,0x6e])]===_0x275c99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56a1ac[_0x275c99([0x63,0x61,0x74,0x63,0x68])]===_0x275c99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bdef7(_0x4621c5){_0x3b9c35(_0x4621c5)[_0x275c99([0x74,0x68,0x65,0x6e])](_0xd752a4=>{if(!_0xd752a4||_0xd752a4[_0x275c99([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x275c99([0x6f,0x6b]))return _0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x188d16(_0x3a7be6(_0x123ced+_0x51a3bb))!=_0xd752a4[_0x275c99([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x275c99([0x56,0x61,0x6c,0x69,0x64]);})[_0x275c99([0x74,0x68,0x65,0x6e])](_0xceef2b=>(_0x927a64(),_0xceef2b),()=>{const _0x2e41e6=_0x2db00e();return null==_0x2e41e6?(_0x927a64(),_0x275c99([0x56,0x61,0x6c,0x69,0x64])):_0x275c99(_0x2ba94d-_0x2e41e6>(0x61d15615^_0x119cd6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x275c99([0x74,0x68,0x65,0x6e])](_0x394f0f)[_0x275c99([0x63,0x61,0x74,0x63,0x68])](()=>{_0x394f0f(_0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x206e7f=0x45eb3c95^_0x119cd6;function _0x927a64(){const _0x1e0966=_0x275c99([0x6c,0x6c,0x63,0x74,0x2d])+_0x188d16(_0x3a7be6(_0x2083d6)),_0x4a809b=_0x10148a(_0x188d16(window[_0x275c99([0x4d,0x61,0x74,0x68])][_0x275c99([0x63,0x65,0x69,0x6c])](_0x2ba94d/_0x206e7f)));window[_0x275c99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x275c99([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e0966,_0x4a809b);}function _0x2db00e(){const _0x52cd54=_0x275c99([0x6c,0x6c,0x63,0x74,0x2d])+_0x188d16(_0x3a7be6(_0x2083d6)),_0x3aea48=window[_0x275c99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x275c99([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52cd54);return _0x3aea48?window[_0x275c99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10148a(_0x3aea48),0x10)*_0x206e7f:null;}function _0x3b9c35(_0x51f241){return new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50c83f,_0x181fce)=>{_0x51f241[_0x275c99([0x74,0x68,0x65,0x6e])](_0x50c83f,_0x181fce),window[_0x275c99([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x181fce,0x45dc06d5^_0x119cd6);});}}_0x3f4ca7[_0x275c99([0x6f,0x6e])](_0x275c99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fcb3b,_0x902b7)=>{if(_0x902b7[0x0]!=_0x2083d6)return _0x394f0f(_0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x902b7[0x1]={..._0x902b7[0x1],[_0x275c99([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x123ced};},{[_0x275c99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x275c99([0x68,0x69,0x67,0x68])}),_0x3f4ca7[_0x275c99([0x6f,0x6e])](_0x275c99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4db266=>{_0x349a64(_0x4db266[_0x275c99([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa0cc=!0x0,_0x1bdef7(_0x4db266[_0x275c99([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x275c99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x275c99([0x6c,0x6f,0x77])}),_0x3c449f[_0x275c99([0x74,0x68,0x65,0x6e])](()=>{_0x4aa0cc||_0x394f0f(_0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2953f3(){return _0x3f4ca7[_0x275c99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x275c99([0x76,0x69,0x65,0x77])][_0x275c99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x275c99([0x61,0x75,0x74,0x6f]);}function _0x3258bd(){_0x3f4ca7[_0x275c99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x275c99([0x76,0x69,0x65,0x77])][_0x275c99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x275c99([0x61,0x75,0x74,0x6f]);}}function _0x1879cc(_0x112442){const _0x4ab952=[new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7cf8bc=>setTimeout(_0x7cf8bc,0x45d4ecd9^_0x119cd6)),_0x3c449f[_0x275c99([0x74,0x68,0x65,0x6e])](()=>new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x541474=>{let _0x42c980=0x0;_0x3f4ca7[_0x275c99([0x6d,0x6f,0x64,0x65,0x6c])][_0x275c99([0x6f,0x6e])](_0x275c99([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4de361,_0x44329f)=>{_0x44329f[0x0][_0x275c99([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42c980++,_0x42c980==(0x45ddd3ed^_0x119cd6)&&(_0x541474(),_0x4de361[_0x275c99([0x6f,0x66,0x66])]());});}))];return window[_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x275c99([0x72,0x61,0x63,0x65])](_0x4ab952)[_0x275c99([0x74,0x68,0x65,0x6e])](()=>_0x112442);}async function _0x13f120(){await _0x3c449f,_0x3f4ca7[_0x275c99([0x6d,0x6f,0x64,0x65,0x6c])][_0x275c99([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x474961,_0x3f4ca7[_0x275c99([0x6d,0x6f,0x64,0x65,0x6c])][_0x275c99([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x474961,_0x3f4ca7[_0x275c99([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x275c99([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e544c(_0xdaf4e7){const _0x5e8459=_0x5825d9();_0x3f4ca7[_0x5e8459]=_0x275c99([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdaf4e7,_0xdaf4e7!=_0x275c99([0x56,0x61,0x6c,0x69,0x64])&&_0x13f120();}function _0x5825d9(){const _0x40f83e=window[_0x275c99([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x275c99([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x275c99([0x6e,0x6f,0x77])]())[_0x275c99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x275c99([0x2e]),'');let _0x4ed02c=_0x275c99([0x50]);for(let _0x27a36d=0x0;_0x27a36d<_0x40f83e[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27a36d+=0x2){let _0xedcbe=window[_0x275c99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40f83e[_0x275c99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27a36d,_0x27a36d+0x2));_0xedcbe>=_0x5d133d[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xedcbe-=_0x5d133d[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ed02c+=_0x5d133d[_0xedcbe];}return _0x4ed02c;}function _0x4852c8(){const _0x31be63=_0x156224[_0x275c99([0x73,0x70,0x6c,0x69,0x74])](_0x275c99([0x2e]));if(0x3!=_0x31be63[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ff6a5(_0x31be63[0x1]);function _0x1ff6a5(_0x44b205){const _0x45f393=_0xa01e17(_0x44b205);return _0x45f393&&_0x236fe2()?_0x45f393:null;function _0x236fe2(){const _0x4406a3=_0x45f393[_0x275c99([0x6a,0x74,0x69])],_0x29dd4b=window[_0x275c99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4406a3[_0x275c99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4406a3[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b4385={..._0x45f393,[_0x275c99([0x6a,0x74,0x69])]:_0x4406a3[_0x275c99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4406a3[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b4385[_0x275c99([0x76,0x63])],_0x3a7be6(_0x5b4385)==_0x29dd4b;}}}async function _0x592282(){let _0x1b0483=!0x0;try{const _0x22d147=_0x156224[_0x275c99([0x73,0x70,0x6c,0x69,0x74])](_0x275c99([0x2e])),[_0x24a78c,_0x56a4d8,_0x3e8771]=_0x22d147;return _0x590fd1(_0x24a78c),await _0x2abe1b(_0x24a78c,_0x56a4d8,_0x3e8771),_0x1b0483;}catch{return!0x1;}function _0x590fd1(_0x5a8057){const _0x2d038a=_0xa01e17(_0x5a8057);_0x2d038a&&_0x2d038a[_0x275c99([0x61,0x6c,0x67])]==_0x275c99([0x45,0x53,0x32,0x35,0x36])||(_0x1b0483=!0x1);}async function _0x2abe1b(_0x4b1a8f,_0x3820ca,_0x12ab49){const _0x3e1685=window[_0x275c99([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x275c99([0x66,0x72,0x6f,0x6d])](_0x449228(_0x12ab49),_0x37d129=>_0x37d129[_0x275c99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e70a2=new window[(_0x275c99([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x275c99([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b1a8f+_0x275c99([0x2e])+_0x3820ca),_0x59ba8b=window[_0x275c99([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x275c99([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59ba8b)return;const _0x2e01ff=await _0x59ba8b[_0x275c99([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x275c99([0x6a,0x77,0x6b]),_0x1152f6,{[_0x275c99([0x6e,0x61,0x6d,0x65])]:_0x275c99([0x45,0x43,0x44,0x53,0x41]),[_0x275c99([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x275c99([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x275c99([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59ba8b[_0x275c99([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x275c99([0x6e,0x61,0x6d,0x65])]:_0x275c99([0x45,0x43,0x44,0x53,0x41]),[_0x275c99([0x68,0x61,0x73,0x68])]:{[_0x275c99([0x6e,0x61,0x6d,0x65])]:_0x275c99([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e01ff,_0x3e1685,_0x3e70a2)||(_0x1b0483=!0x1);}}function _0xa01e17(_0x5996ad){return _0x5996ad[_0x275c99([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x275c99([0x65,0x79]))?JSON[_0x275c99([0x70,0x61,0x72,0x73,0x65])](_0x449228(_0x5996ad)):null;}function _0x449228(_0x3b0ba0){return window[_0x275c99([0x61,0x74,0x6f,0x62])](_0x3b0ba0[_0x275c99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x275c99([0x2b]))[_0x275c99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x275c99([0x2f])));}function _0x3a7be6(_0x9b3038){let _0x5273a1=0x1505;function _0x157ea5(_0xbd3982){for(let _0xb52302=0x0;_0xb52302<_0xbd3982[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb52302++){const _0x4f373b=_0xbd3982[_0x275c99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb52302);_0x5273a1=(_0x5273a1<<0x5)+_0x5273a1+_0x4f373b,_0x5273a1&=_0x5273a1;}}function _0x35f4b8(_0xba9028){Array[_0x275c99([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xba9028)?_0xba9028[_0x275c99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35f4b8):_0xba9028&&typeof _0xba9028==_0x275c99([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x275c99([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xba9028)[_0x275c99([0x73,0x6f,0x72,0x74])]()[_0x275c99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27afd5,_0x5a22b4])=>{_0x157ea5(_0x27afd5),_0x35f4b8(_0x5a22b4);}):_0x157ea5(window[_0x275c99([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xba9028));}return _0x35f4b8(_0x9b3038),_0x5273a1>>>0x0;}function _0x188d16(_0x188a32){return _0x188a32[_0x275c99([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x275c99([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x275c99([0x30]));}function _0x10148a(_0x4e6297){return _0x4e6297[_0x275c99([0x73,0x70,0x6c,0x69,0x74])]('')[_0x275c99([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x275c99([0x6a,0x6f,0x69,0x6e])]('');}function _0x474961(){}function _0x275c99(_0x37b14e){const _0x27d0c3=_0x2186;return _0x37b14e[_0x27d0c3(0xd6)](_0x46f77d=>String[_0x27d0c3(0xea)](_0x46f77d))[_0x27d0c3(0xe7)]('');}_0x2e544c(await _0x380f2e());}(this);}[_0x2d7a31(0xe2)](){const _0x664ab9=_0x2d7a31,_0x556d3b=this[_0x664ab9(0xd8)];if(!_0x556d3b[_0x664ab9(0xed)][_0x664ab9(0xf4)](_0x664ab9(0xd9)))return;const _0x220cab=_0x556d3b[_0x664ab9(0xed)][_0x664ab9(0xf4)](_0x664ab9(0xf5))[_0x664ab9(0xf6)](_0x1e3284=>_0x664ab9(0xcc)==typeof _0x1e3284&&(!_0x397e7f(_0x1e3284)&&isNaN(Number(_0x1e3284))));if(_0x220cab[_0x664ab9(0xcf)])throw new _0x102074(_0x664ab9(0xfb),null,{'namedPresets':_0x220cab});}[_0x2d7a31(0xee)](){const _0x14cfa1=_0x2d7a31,_0x541bcd=this[_0x14cfa1(0xd8)],_0x12813f=this[_0x14cfa1(0xd8)][_0x14cfa1(0xed)][_0x14cfa1(0xf4)](_0x14cfa1(0xdc));_0x541bcd[_0x14cfa1(0xc9)][_0x14cfa1(0xcb)](_0x14cfa1(0xfd))[_0x14cfa1(0xf2)]({'model':{'key':_0x14cfa1(0xe3)},'view':_0x26d29d=>String(_0x26d29d)===String(_0x12813f)?null:{'key':_0x14cfa1(0xd5),'value':{'line-height':_0x26d29d}}}),_0x541bcd[_0x14cfa1(0xc9)][_0x14cfa1(0xcb)](_0x14cfa1(0xe1))[_0x14cfa1(0xf2)]({'model':{'key':_0x14cfa1(0xe3),'value':_0x26dfa2=>{const _0x167a8f=_0x14cfa1;let _0x3782ae=_0x26dfa2[_0x167a8f(0xe4)](_0x167a8f(0xce));return _0x12642f(_0x3782ae)&&(_0x3782ae=String(Number(_0x3782ae[_0x167a8f(0xeb)](0x0,-0x1))/0x64)),String(_0x3782ae)===String(_0x12813f)?null:_0x3782ae;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2d7a31(0xd1)](){const _0x4d8806=_0x2d7a31,_0x532221=this[_0x4d8806(0xd8)],_0x1ee42c=this[_0x4d8806(0xd8)][_0x4d8806(0xed)][_0x4d8806(0xf4)](_0x4d8806(0xdc)),_0x41d1ea=_0x41f9d0(this[_0x4d8806(0xd8)][_0x4d8806(0xed)][_0x4d8806(0xf4)](_0x4d8806(0xe3)))[_0x4d8806(0xf6)](_0x2f9027=>_0x2f9027[_0x4d8806(0xef)]),_0x5aba6b=_0x58b5a9(_0x4d8806(0xe3),_0x41d1ea);_0x532221[_0x4d8806(0xc9)][_0x4d8806(0xf2)](_0x5aba6b),_0x532221[_0x4d8806(0xc9)][_0x4d8806(0xcb)](_0x4d8806(0xe1))[_0x4d8806(0xf2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4d8806(0xe3),'value':_0x1a6abc=>{const _0x222265=_0x4d8806;let _0x466af5=_0x1a6abc[_0x222265(0xe4)](_0x222265(0xce));return _0x12642f(_0x466af5)&&(_0x466af5=String(Number(_0x466af5[_0x222265(0xeb)](0x0,-0x1))/0x64)),_0x466af5===String(_0x1ee42c)?null:_0x5aba6b[_0x222265(0xef)][_0x222265(0xdf)][_0x222265(0xe9)](_0x466af5)?_0x466af5:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3733a8}from'ckeditor5/src/core.js';import{addListToDropdown as _0x49b04e,createDropdown as _0x243c52,MenuBarMenuListItemButtonView as _0x5a8127,MenuBarMenuListItemView as _0x135718,MenuBarMenuListView as _0x37928a,MenuBarMenuView as _0x49bf9c,UIModel as _0x594be4}from'ckeditor5/src/ui.js';import{Collection as _0x54a35f}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x461cca}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x44cb77}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3733a8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x44395f={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x44395f),this['_registerMenuBarComponent'](_0x44395f),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5751ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x27f337;for(const _0x310410 in _0x5751ab){const _0x8f263e=_0x310410,_0x24bf7e=_0x5751ab[_0x8f263e];if('lineHeightLicenseKeyValid'==_0x24bf7e||'lineHeightLicenseKeyInvalid'==_0x24bf7e||'lineHeightLicenseKeyExpired'==_0x24bf7e||'lineHeightLicenseKeyDomainLimit'==_0x24bf7e||'lineHeightLicenseKeyNotAllowed'==_0x24bf7e||'lineHeightLicenseKeyEvaluationLimit'==_0x24bf7e||'lineHeightLicenseKeyTrialLimit'==_0x24bf7e||'lineHeightLicenseKeyUsageLimit'==_0x24bf7e){delete _0x5751ab[_0x8f263e],_0x27f337=_0x24bf7e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x27f337&&_0x5751ab['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x27f337&&_0x5751ab['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x27f337&&_0x5751ab['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x27f337&&_0x5751ab['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x27f337&&_0x5751ab['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x27f337&&_0x5751ab['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x27f337&&_0x5751ab['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3a7348=this['editor'],t=_0x3a7348['t'],_0x52de15=_0x3a7348['config']['get']('lineHeight'),_0x27f8b4={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x44cb77(_0x52de15)['map'](_0x209175=>{const _0x17b283=_0x27f8b4[_0x209175['title']];return _0x17b283&&_0x17b283!=_0x209175['title']&&(_0x209175=Object['assign']({},_0x209175,{'title':_0x17b283})),_0x209175;});}['_prepareListOptions'](){const _0x479ada=this['editor']['commands']['get']('lineHeight'),_0x190cde=this['editor']['config']['get']('lineHeight.defaultValue'),_0x862591=this['_getLocalizedLineHeightOptions'](),_0x1cbb7d=new _0x54a35f(),_0x3d4214=_0x4e7e7c=>'default'===_0x4e7e7c||String(_0x190cde)===_0x4e7e7c;for(const _0x274477 of _0x862591){const _0x2a5e10={'type':'button','model':new _0x594be4({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x274477['title'],'withText':!0x0})};_0x3d4214(_0x274477['model'])?(_0x2a5e10['model']['bind']('isOn')['to'](_0x479ada,'value',_0x8ff6a3=>!_0x8ff6a3),_0x2a5e10['model']['commandParam']=void 0x0):(_0x2a5e10['model']['bind']('isOn')['to'](_0x479ada,'value',_0x41ba55=>_0x41ba55===_0x274477['model']),_0x2a5e10['model']['commandParam']=_0x274477['model']),_0x1cbb7d['add'](_0x2a5e10);}if(this['_shouldRenderCustomValueOption']()){const _0x37a2b9=this['_getCustomValueOptionDefinition'](_0x862591);_0x1cbb7d['add'](_0x37a2b9);}return _0x1cbb7d;}['_getCustomValueOptionDefinition'](_0x453abf){const _0x3d08c0=this['editor'],t=_0x3d08c0['t'],_0x2b1fe3=_0x3d08c0['commands']['get']('lineHeight'),_0x5bc955=_0x453abf['map'](_0x3469d4=>_0x3469d4['model']),_0x39d5c2={'type':'button','model':new _0x594be4({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x39d5c2['model']['bind']('commandParam')['to'](_0x2b1fe3,'value'),_0x39d5c2['model']['bind']('isOn')['to'](_0x2b1fe3,'value',_0x2106c8=>!!_0x2106c8&&!_0x5bc955['includes'](String(_0x2106c8))),_0x39d5c2['model']['bind']('label')['to'](_0x2b1fe3,'value',_0x10f20b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x10f20b))),_0x39d5c2;}['_registerToolbarComponent']({accessibleLabel:_0x4bf62f,options:_0x3e383d}){const _0x31ecd7=this['editor'],_0x1e1d1a=_0x31ecd7['commands']['get']('lineHeight');_0x31ecd7['ui']['componentFactory']['add']('lineHeight',_0xab19a4=>{const _0x424cfb=_0x243c52(_0xab19a4);return _0x49b04e(_0x424cfb,_0x3e383d,{'role':'menu','ariaLabel':_0x4bf62f}),_0x424cfb['buttonView']['set']({'label':_0x4bf62f,'tooltip':!0x0,'icon':_0x461cca}),_0x424cfb['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x424cfb['bind']('isEnabled')['to'](_0x1e1d1a),this['listenTo'](_0x424cfb,'execute',_0x2f3e80=>{_0x31ecd7['execute'](_0x2f3e80['source']['commandName'],{'value':_0x2f3e80['source']['commandParam']}),_0x31ecd7['editing']['view']['focus']();}),_0x424cfb['once']('change:isOpen',()=>{const _0x54cfa4=_0x424cfb['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x424cfb,_0x3e383d,_0x54cfa4);}),_0x424cfb;});}['_registerMenuBarComponent']({accessibleLabel:_0x4c7e55,options:_0x805d4e}){const _0x18f0d7=this['editor'],_0x38eaaf=_0x18f0d7['commands']['get']('lineHeight');_0x18f0d7['ui']['componentFactory']['add']('menuBar:lineHeight',_0xd02829=>{const _0x4f1e55=new _0x49bf9c(_0xd02829);_0x4f1e55['buttonView']['set']({'label':_0x4c7e55,'icon':_0x461cca}),_0x4f1e55['bind']('isEnabled')['to'](_0x38eaaf);const _0x67a6f8=new _0x37928a(_0xd02829);for(const _0x42a1a2 of _0x805d4e){const _0x10f276=new _0x135718(_0xd02829,_0x4f1e55),_0x4fa730=new _0x5a8127(_0xd02829);_0x4fa730['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4fa730['bind'](...Object['keys'](_0x42a1a2['model']))['to'](_0x42a1a2['model']),_0x4fa730['delegate']('execute')['to'](_0x4f1e55),_0x4fa730['on']('execute',()=>{_0x18f0d7['execute'](_0x42a1a2['model']['commandName'],{'value':_0x42a1a2['model']['commandParam']}),_0x18f0d7['editing']['view']['focus']();}),_0x10f276['children']['add'](_0x4fa730),_0x67a6f8['items']['add'](_0x10f276);}return _0x4f1e55['panelView']['children']['add'](_0x67a6f8),this['_attachCustomOptionVisibilityHandler'](_0x4f1e55,_0x805d4e,_0x67a6f8),_0x4f1e55;});}['_attachCustomOptionVisibilityHandler'](_0x3285f4,_0x140d72,_0x5880cc){if(!this['_shouldRenderCustomValueOption']())return;const _0x5dd70e=()=>{if(!_0x3285f4['isOpen'])return;_0x5880cc['items']['last']['isVisible']=Boolean(_0x140d72['last']['model']['isOn']);};_0x5dd70e(),_0x3285f4['on']('change:isOpen',()=>{_0x5dd70e();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3d615f,_0x1e0844){const _0x5aee4f=_0x2506,_0x2625dd=_0x3d615f();while(!![]){try{const _0x45553c=-parseInt(_0x5aee4f(0xf6))/0x1*(parseInt(_0x5aee4f(0xf9))/0x2)+parseInt(_0x5aee4f(0xe8))/0x3*(parseInt(_0x5aee4f(0xde))/0x4)+-parseInt(_0x5aee4f(0xea))/0x5+-parseInt(_0x5aee4f(0xe5))/0x6*(-parseInt(_0x5aee4f(0xf1))/0x7)+-parseInt(_0x5aee4f(0xf2))/0x8+parseInt(_0x5aee4f(0xe0))/0x9*(-parseInt(_0x5aee4f(0xe4))/0xa)+-parseInt(_0x5aee4f(0xdc))/0xb*(-parseInt(_0x5aee4f(0xdd))/0xc);if(_0x45553c===_0x1e0844)break;else _0x2625dd['push'](_0x2625dd['shift']());}catch(_0x50b843){_0x2625dd['push'](_0x2625dd['shift']());}}}(_0x1c28,0xcb50a));function _0x1c28(){const _0x122553=['1360100OedIOU','double','line-height-double','style','filter','line-height:','map','7727209bhSFBG','480968eYZrEi','span','value','single','6927nzWRzA','view','line-height-single','34qKpirZ','string','class','push','toLowerCase','values','Single','11VyoiBs','7198044Anqziy','18076EINNMq','key','2148831gSabWz','options','default','Double','50dTKhcf','6OkXMHi','number','model','513mcyehq','defaultValue'];_0x1c28=function(){return _0x122553;};return _0x1c28();}const v={get 'single'(){const _0x16e68e=_0x2506;return{'title':_0x16e68e(0xdb),'model':_0x16e68e(0xf5),'view':{'key':_0x16e68e(0xd7),'value':_0x16e68e(0xf8)}};},get 'double'(){const _0x146cd2=_0x2506;return{'title':_0x146cd2(0xe3),'model':_0x146cd2(0xeb),'view':{'key':_0x146cd2(0xd7),'value':_0x146cd2(0xec)}};}};function _0x2506(_0x349f54,_0x374dce){const _0x1c282b=_0x1c28();return _0x2506=function(_0x250698,_0x386eae){_0x250698=_0x250698-0xd6;let _0x31c66f=_0x1c282b[_0x250698];return _0x31c66f;},_0x2506(_0x349f54,_0x374dce);}export function isLineHeightDefaultValue(_0x4dd256){const _0x3c370c=_0x2506;return _0x3c370c(0xd6)==typeof _0x4dd256&&_0x3c370c(0xe2)===_0x4dd256[_0x3c370c(0xd9)]();}export function normalizeOptions(_0x5144fd){const _0x5e341b=_0x2506;return _0x5144fd[_0x5e341b(0xe1)][_0x5e341b(0xf0)](_0x202868=>isLineHeightDefaultValue(_0x202868)?{'title':String(_0x5144fd[_0x5e341b(0xe9)]),'model':_0x5e341b(0xe2)}:(_0x5e341b(0xe6)==typeof _0x202868&&(_0x202868=String(_0x202868)),_0x5e341b(0xd6)!=typeof _0x202868?_0x202868:parseFloat(_0x202868)?{'title':_0x202868,'model':_0x202868,'view':{'name':_0x5e341b(0xf3),'styles':{'line-height':_0x202868}}}:findPreset(_0x202868)))[_0x5e341b(0xee)](_0x5ec392=>void 0x0!==_0x5ec392);}export function findPreset(_0x52ce5f){const _0x44ffd2=_0x2506;return _0x44ffd2(0xd6)==typeof _0x52ce5f?v[_0x52ce5f]:v[_0x52ce5f[_0x44ffd2(0xe7)]];}export function buildDefinition(_0x296814,_0x344e64){const _0x4af116=_0x2506,_0x4aded5={'model':{'key':_0x296814,'values':[]},'view':{}};for(const _0x2fc6b1 of _0x344e64)_0x4af116(0xd7)===_0x2fc6b1[_0x4af116(0xf7)]?.[_0x4af116(0xdf)]?(_0x4aded5[_0x4af116(0xe7)][_0x4af116(0xda)][_0x4af116(0xd8)](_0x2fc6b1[_0x4af116(0xe7)]),_0x4aded5[_0x4af116(0xf7)][_0x2fc6b1[_0x4af116(0xe7)]]={'key':_0x4af116(0xd7),'value':_0x2fc6b1[_0x4af116(0xf7)][_0x4af116(0xf4)]}):(_0x4aded5[_0x4af116(0xe7)][_0x4af116(0xda)][_0x4af116(0xd8)](_0x2fc6b1[_0x4af116(0xe7)]),_0x4aded5[_0x4af116(0xf7)][_0x2fc6b1[_0x4af116(0xe7)]]={'key':_0x4af116(0xed),'value':_0x4af116(0xef)+_0x2fc6b1[_0x4af116(0xe7)]+';'});return _0x4aded5;}
|