@ckeditor/ckeditor5-line-height 47.4.0-alpha.0 → 47.4.0-alpha.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 _0x3ed7(_0xa9f2ef,_0xa43a40){const _0x2e5567=_0x2e55();return _0x3ed7=function(_0x3ed790,_0x4ba8e3){_0x3ed790=_0x3ed790-0x120;let _0x14bed1=_0x2e5567[_0x3ed790];return _0x14bed1;},_0x3ed7(_0xa9f2ef,_0xa43a40);}const _0x52dfaa=_0x3ed7;(function(_0x6a9146,_0x40af68){const _0x161526=_0x3ed7,_0x2fff82=_0x6a9146();while(!![]){try{const _0x4cc9d0=-parseInt(_0x161526(0x13e))/0x1*(-parseInt(_0x161526(0x13f))/0x2)+-parseInt(_0x161526(0x12a))/0x3*(parseInt(_0x161526(0x13d))/0x4)+-parseInt(_0x161526(0x14a))/0x5*(-parseInt(_0x161526(0x124))/0x6)+-parseInt(_0x161526(0x14c))/0x7*(parseInt(_0x161526(0x13b))/0x8)+-parseInt(_0x161526(0x14d))/0x9*(parseInt(_0x161526(0x133))/0xa)+parseInt(_0x161526(0x135))/0xb+parseInt(_0x161526(0x12c))/0xc*(-parseInt(_0x161526(0x129))/0xd);if(_0x4cc9d0===_0x40af68)break;else _0x2fff82['push'](_0x2fff82['shift']());}catch(_0x49e5f7){_0x2fff82['push'](_0x2fff82['shift']());}}}(_0x2e55,0x70682));import{Plugin as _0x263b25}from'ckeditor5/src/core.js';function _0x2e55(){const _0x57f891=['7358571qGhMRq','--ck-content-list-marker-line-height','init','editor','add','consumable','24custLI','todo','539692lICcsj','1721kyuwns','1058fbVPZK','viewItem','upcast','addClass','paragraph','ListEditing','isOfficialPlugin','span','isPremiumPlugin','high','todo-list__label__description','272215rCekbG','lineHeight','521122gOPeYi','18YGvmXk','setStyle','name','LineHeightTodoListIntegration','listType','ck-list-marker-line-height','24bhkqWZ','pluginName','match','for','has','14534xjIPZv','18YHOuym','elementToElement','2004OMcFbP','get','TodoListEditing','consume','item','registerDowncastStrategy','getAttribute','585710ZiBbNq','element:li'];_0x2e55=function(){return _0x57f891;};return _0x2e55();}import{Matcher as _0x238bc0}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x263b25{static get[_0x52dfaa(0x125)](){const _0x46f62d=_0x52dfaa;return _0x46f62d(0x121);}static get[_0x52dfaa(0x145)](){return!0x0;}static get[_0x52dfaa(0x147)](){return!0x0;}[_0x52dfaa(0x137)](){const _0x528b6a=_0x52dfaa,{plugins:_0x2c2505,conversion:_0x213506}=this[_0x528b6a(0x138)];if(!_0x2c2505[_0x528b6a(0x128)](_0x528b6a(0x144))||!_0x2c2505[_0x528b6a(0x128)](_0x528b6a(0x12e)))return;_0x2c2505[_0x528b6a(0x12d)](_0x528b6a(0x144))[_0x528b6a(0x131)]({'scope':_0x528b6a(0x130),'attributeName':_0x528b6a(0x14b),'consume':!0x1,'setAttributeOnDowncast'(_0x3f494d,_0x37c3ef,_0x35c133,_0x5d2992,_0x5168b0){const _0x351de6=_0x528b6a;_0x351de6(0x13c)==_0x5168b0[_0x351de6(0x132)](_0x351de6(0x122))&&_0x37c3ef&&(_0x3f494d[_0x351de6(0x142)](_0x351de6(0x123),_0x35c133),_0x3f494d[_0x351de6(0x14e)](_0x351de6(0x136),_0x37c3ef,_0x35c133));}}),_0x213506[_0x528b6a(0x127)](_0x528b6a(0x141))[_0x528b6a(0x12b)]({'view':{'name':_0x528b6a(0x146),'classes':_0x528b6a(0x149)},'model':_0x528b6a(0x143),'converterPriority':_0x528b6a(0x148)}),_0x213506[_0x528b6a(0x127)](_0x528b6a(0x141))[_0x528b6a(0x139)](_0x1d3353=>{const _0x599bf7=_0x528b6a;_0x1d3353['on'](_0x599bf7(0x134),function(_0x5aab85){const _0x1a86f=new _0x238bc0(_0x5aab85);return(_0x28a476,_0x2f3d78,_0x695fdb)=>{const _0x11972a=_0x3ed7,_0x552ba1=_0x1a86f[_0x11972a(0x126)](_0x2f3d78[_0x11972a(0x140)]);if(!_0x552ba1)return;const _0x58eef0=_0x552ba1[_0x11972a(0x126)];_0x58eef0[_0x11972a(0x120)]=!0x1,_0x695fdb[_0x11972a(0x13a)][_0x11972a(0x12f)](_0x2f3d78[_0x11972a(0x140)],_0x58eef0);};}({'name':'li','classes':_0x599bf7(0x123),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x249493=_0x29d8;function _0x21b9(){var _0x3b15c3=['isOfficialPlugin','4169728wvzWbi','7277109JTmJcF','530820ZlHAtm','402595qXlRyc','159300mlDbOq','requires','isPremiumPlugin','6801612brVGVG','LineHeight','210417COeosQ','pluginName'];_0x21b9=function(){return _0x3b15c3;};return _0x21b9();}function _0x29d8(_0x512e63,_0x2d393e){var _0x21b9eb=_0x21b9();return _0x29d8=function(_0x29d828,_0x434452){_0x29d828=_0x29d828-0x90;var _0x4b1989=_0x21b9eb[_0x29d828];return _0x4b1989;},_0x29d8(_0x512e63,_0x2d393e);}(function(_0x127042,_0x2c951b){var _0x1ef8da=_0x29d8,_0x538ba5=_0x127042();while(!![]){try{var _0x5ef458=-parseInt(_0x1ef8da(0x98))/0x1+parseInt(_0x1ef8da(0x93))/0x2+-parseInt(_0x1ef8da(0x91))/0x3+-parseInt(_0x1ef8da(0x9b))/0x4+-parseInt(_0x1ef8da(0x92))/0x5+parseInt(_0x1ef8da(0x96))/0x6+parseInt(_0x1ef8da(0x90))/0x7;if(_0x5ef458===_0x2c951b)break;else _0x538ba5['push'](_0x538ba5['shift']());}catch(_0x2812bc){_0x538ba5['push'](_0x538ba5['shift']());}}}(_0x21b9,0xb5483));import{Plugin as _0xa01a35}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x1be68d}from'./lineheightediting.js';import{LineHeightUI as _0x263df2}from'./lineheightui.js';export class LineHeight extends _0xa01a35{static get[_0x249493(0x94)](){return[_0x1be68d,_0x263df2];}static get[_0x249493(0x99)](){var _0x23ce29=_0x249493;return _0x23ce29(0x97);}static get[_0x249493(0x9a)](){return!0x0;}static get[_0x249493(0x95)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ee9b7=_0x5bc6;(function(_0x3e8cb9,_0x477e2d){const _0x424b45=_0x5bc6,_0x4afb9e=_0x3e8cb9();while(!![]){try{const _0x20ab36=parseInt(_0x424b45(0x14e))/0x1+-parseInt(_0x424b45(0x15c))/0x2*(parseInt(_0x424b45(0x149))/0x3)+-parseInt(_0x424b45(0x150))/0x4*(parseInt(_0x424b45(0x162))/0x5)+parseInt(_0x424b45(0x15e))/0x6*(-parseInt(_0x424b45(0x15a))/0x7)+parseInt(_0x424b45(0x148))/0x8+parseInt(_0x424b45(0x14d))/0x9*(parseInt(_0x424b45(0x161))/0xa)+parseInt(_0x424b45(0x165))/0xb*(-parseInt(_0x424b45(0x14f))/0xc);if(_0x20ab36===_0x477e2d)break;else _0x4afb9e['push'](_0x4afb9e['shift']());}catch(_0x2bc04c){_0x4afb9e['push'](_0x4afb9e['shift']());}}}(_0x9e12,0xe6e76));function _0x9e12(){const _0x1a77ec=['document','getAttribute','7qIcnut','getSelectedBlocks','252xIHhXb','isEnabled','9060858dBjWpO','lineHeight','checkAttribute','239860LsRglO','52315MrnvTk','execute','schema','11561SqLXeO','filter','9191088PudECZ','2553mKcYLj','value','change','removeAttribute','306WuqbzB','1551797bbumRp','5028XOzVyS','196jsgICT','setAttribute','editor','refresh','model','selection','from','_canHaveLineHeight'];_0x9e12=function(){return _0x1a77ec;};return _0x9e12();}import{Command as _0x4d5ad4}from'ckeditor5/src/core.js';function _0x5bc6(_0x378bf6,_0x1344ba){const _0x9e12c6=_0x9e12();return _0x5bc6=function(_0x5bc6d5,_0x3c6565){_0x5bc6d5=_0x5bc6d5-0x147;let _0x118e16=_0x9e12c6[_0x5bc6d5];return _0x118e16;},_0x5bc6(_0x378bf6,_0x1344ba);}import{first as _0x1594c5}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4d5ad4{[_0x2ee9b7(0x153)](){const _0x315ba0=_0x2ee9b7,_0x1ef3cd=this[_0x315ba0(0x152)][_0x315ba0(0x154)][_0x315ba0(0x158)],_0x62815f=_0x1594c5(_0x1ef3cd[_0x315ba0(0x155)][_0x315ba0(0x15b)]());this[_0x315ba0(0x15d)]=Boolean(_0x62815f)&&this[_0x315ba0(0x157)](_0x62815f),this[_0x315ba0(0x14a)]=this[_0x315ba0(0x15d)]&&_0x62815f[_0x315ba0(0x159)](_0x315ba0(0x15f));}[_0x2ee9b7(0x163)](_0x5a598f={}){const _0x11410a=_0x2ee9b7,_0x295132=this[_0x11410a(0x152)][_0x11410a(0x154)],_0x2073f2=_0x295132[_0x11410a(0x158)][_0x11410a(0x155)],_0x4e4bc4=_0x5a598f[_0x11410a(0x14a)];_0x295132[_0x11410a(0x14b)](_0x43dee2=>{const _0x578f9a=_0x11410a,_0x3039a6=Array[_0x578f9a(0x156)](_0x2073f2[_0x578f9a(0x15b)]())[_0x578f9a(0x147)](_0x54864b=>this[_0x578f9a(0x157)](_0x54864b));for(const _0x8bda69 of _0x3039a6)_0x4e4bc4?_0x43dee2[_0x578f9a(0x151)](_0x578f9a(0x15f),_0x4e4bc4,_0x8bda69):_0x43dee2[_0x578f9a(0x14c)](_0x578f9a(0x15f),_0x8bda69);});}[_0x2ee9b7(0x157)](_0x3ee0d6){const _0x42982f=_0x2ee9b7;return this[_0x42982f(0x152)][_0x42982f(0x154)][_0x42982f(0x164)][_0x42982f(0x160)](_0x3ee0d6,_0x42982f(0x15f));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1effd3=_0x542f;(function(_0x5f6826,_0x4a98d6){const _0x397a91=_0x542f,_0x4f5cd7=_0x5f6826();while(!![]){try{const _0x4836f0=-parseInt(_0x397a91(0x188))/0x1*(-parseInt(_0x397a91(0x191))/0x2)+-parseInt(_0x397a91(0x16f))/0x3+-parseInt(_0x397a91(0x17b))/0x4+-parseInt(_0x397a91(0x15c))/0x5+parseInt(_0x397a91(0x184))/0x6+-parseInt(_0x397a91(0x16e))/0x7*(parseInt(_0x397a91(0x18f))/0x8)+-parseInt(_0x397a91(0x17c))/0x9*(-parseInt(_0x397a91(0x161))/0xa);if(_0x4836f0===_0x4a98d6)break;else _0x4f5cd7['push'](_0x4f5cd7['shift']());}catch(_0x46db75){_0x4f5cd7['push'](_0x4f5cd7['shift']());}}}(_0x4bf2,0x9894a));import{Plugin as _0x156bc0}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5ec5cb}from'./lineheightcommand.js';function _0x542f(_0x26e46e,_0x446c2e){const _0x4bf2ca=_0x4bf2();return _0x542f=function(_0x542f1a,_0x2d1fd6){_0x542f1a=_0x542f1a-0x15b;let _0xe0b682=_0x4bf2ca[_0x542f1a];return _0xe0b682;},_0x542f(_0x26e46e,_0x446c2e);}import{isPercentageStyleValue as _0x4ab7d9}from'ckeditor5/src/engine.js';import{uid as _0x271e04,CKEditorError as _0x5e126d}from'ckeditor5/src/utils.js';import{buildDefinition as _0x464dab,isLineHeightDefaultValue as _0x3a9d1c,normalizeOptions as _0x38dbff}from'./utils.js';function _0x4bf2(){const _0x3797f8=['732920Nmvsoz','href','define','isOfficialPlugin','line-height','10HpXyft','model','for','schema','pluginName','slice','requires','upcast','editor','getStyle','_validateConfig','_prepareAnyValueConverters','fromCharCode','1478365hxnPtY','183375zpKBeu','setAttributeProperties','isPremiumPlugin','values','map','init','style','downcast','attributeToAttribute','lineHeight.supportAllValues','get','config','848624JiHsOt','2651949SzDFCI','lineHeight','length','default','filter','conversion','extend','_preparePredefinedConverters','476382LMFixL','string','LineHeightEditing','$block','4LPJPlC','lineHeight.defaultValue','commands','includes','line-height-invalid-use-of-named-presets','afterInit','add','8GgeMFb','lineHeight.options','440986jWzikL','join'];_0x4bf2=function(){return _0x3797f8;};return _0x4bf2();}import{LineHeightTodoListIntegration as _0x3e05e2}from'./integrations/todolist.js';export class LineHeightEditing extends _0x156bc0{static get[_0x1effd3(0x165)](){const _0x488783=_0x1effd3;return _0x488783(0x186);}static get[_0x1effd3(0x167)](){return[_0x3e05e2];}static get[_0x1effd3(0x15f)](){return!0x0;}static get[_0x1effd3(0x171)](){return!0x0;}constructor(_0x35ae6b){const _0x383dac=_0x1effd3;super(_0x35ae6b),_0x35ae6b[_0x383dac(0x17a)][_0x383dac(0x15e)](_0x383dac(0x17d),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x383dac(0x17f),0x2,2.5,0x3]});}[_0x1effd3(0x174)](){const _0x397db2=_0x1effd3,_0x46d1ac=this[_0x397db2(0x169)];this[_0x397db2(0x16b)](),_0x46d1ac[_0x397db2(0x162)][_0x397db2(0x164)][_0x397db2(0x182)](_0x397db2(0x187),{'allowAttributes':_0x397db2(0x17d)}),_0x46d1ac[_0x397db2(0x162)][_0x397db2(0x164)][_0x397db2(0x170)](_0x397db2(0x17d),{'isFormatting':!0x0}),_0x46d1ac[_0x397db2(0x18a)][_0x397db2(0x18e)](_0x397db2(0x17d),new _0x5ec5cb(_0x46d1ac)),this[_0x397db2(0x169)][_0x397db2(0x17a)][_0x397db2(0x179)](_0x397db2(0x178))?this[_0x397db2(0x16c)]():this[_0x397db2(0x183)]();}[_0x1effd3(0x18d)](){!async function(_0x5756a9){const _0x3ffdfc=_0x18f4da([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]),_0x143215=0x45ddd215,_0x3025b8=0x45daac2d^_0x143215,_0x3b1ebc=window[_0x18f4da([0x44,0x61,0x74,0x65])][_0x18f4da([0x6e,0x6f,0x77])](),_0x33681e=_0x5756a9[_0x18f4da([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3105f8=new window[(_0x18f4da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc192e0=>{_0x33681e[_0x18f4da([0x6f,0x6e,0x63,0x65])](_0x18f4da([0x72,0x65,0x61,0x64,0x79]),_0xc192e0);}),_0x3c3ec0={[_0x18f4da([0x6b,0x74,0x79])]:_0x18f4da([0x45,0x43]),[_0x18f4da([0x75,0x73,0x65])]:_0x18f4da([0x73,0x69,0x67]),[_0x18f4da([0x63,0x72,0x76])]:_0x18f4da([0x50,0x2d,0x32,0x35,0x36]),[_0x18f4da([0x78])]:_0x18f4da([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]),[_0x18f4da([0x79])]:_0x18f4da([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]),[_0x18f4da([0x61,0x6c,0x67])]:_0x18f4da([0x45,0x53,0x32,0x35,0x36])},_0xa323c9=_0x33681e[_0x18f4da([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18f4da([0x67,0x65,0x74])](_0x18f4da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cc1da(){let _0x192b9e,_0x372e4f=null,_0xbc57d5=null;try{if(_0xa323c9==_0x18f4da([0x47,0x50,0x4c]))return _0x18f4da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x192b9e=_0xe35924(),!_0x192b9e)return _0x18f4da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x192b9e[_0x18f4da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbc57d5=_0x12df20(_0x192b9e[_0x18f4da([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x192b9e[_0x18f4da([0x6a,0x74,0x69])])),await _0x54af42()?_0x54b93f()?_0x40b458()?_0x18f4da([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27d1d7()?(_0x192b9e[_0x18f4da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18f4da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x372e4f=_0x4c5f27(_0x18f4da([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27865c()):_0x18f4da([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18f4da([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18f4da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18f4da([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40b458(){const _0x46f733=[_0x18f4da([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18f4da([0x74,0x72,0x69,0x61,0x6c])][_0x18f4da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x192b9e[_0x18f4da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b1ebc/0x3e8:0xe10*_0x3025b8;return _0x192b9e[_0x18f4da([0x65,0x78,0x70])]<_0x46f733;}function _0x54b93f(){const _0x2bdffa=_0x192b9e[_0x18f4da([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2bdffa&&(!!_0x2bdffa[_0x18f4da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18f4da([0x2a]))||!!_0x2bdffa[_0x18f4da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18f4da([0x4c,0x48])));}function _0x27d1d7(){const _0x31839d=_0x542f,_0x5ada29=_0x192b9e[_0x18f4da([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ada29||0x0==_0x5ada29[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x494e9f}=new URL(window[_0x18f4da([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x31839d(0x15d)]);if(_0x5ada29[_0x18f4da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494e9f))return!0x0;const _0x4673da=_0x494e9f[_0x18f4da([0x73,0x70,0x6c,0x69,0x74])](_0x18f4da([0x2e]));return _0x5ada29[_0x18f4da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bde4f=>_0x2bde4f[_0x18f4da([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18f4da([0x2a])))[_0x18f4da([0x6d,0x61,0x70])](_0x595abf=>_0x595abf[_0x18f4da([0x73,0x70,0x6c,0x69,0x74])](_0x18f4da([0x2e])))[_0x18f4da([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x704ce7=>_0x704ce7[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4673da[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18f4da([0x6d,0x61,0x70])](_0x46e7dd=>Array(_0x4673da[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46e7dd[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18f4da([0x66,0x69,0x6c,0x6c])](_0x46e7dd[0x0]===_0x18f4da([0x2a])?_0x18f4da([0x2a]):'')[_0x18f4da([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46e7dd))[_0x18f4da([0x73,0x6f,0x6d,0x65])](_0x46b7d3=>_0x4673da[_0x18f4da([0x65,0x76,0x65,0x72,0x79])]((_0x175190,_0x20697a)=>_0x46b7d3[_0x20697a]===_0x175190||_0x46b7d3[_0x20697a]===_0x18f4da([0x2a])));}function _0x27865c(){return _0x372e4f&&_0xbc57d5?new window[(_0x18f4da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf94ddd,_0x26bc4f)=>{_0x372e4f[_0x18f4da([0x74,0x68,0x65,0x6e])](_0xf94ddd,_0x26bc4f),_0xbc57d5[_0x18f4da([0x74,0x68,0x65,0x6e])](_0x357eed=>{_0x357eed!=_0x18f4da([0x56,0x61,0x6c,0x69,0x64])&&_0xf94ddd(_0x357eed);},_0x26bc4f);}):_0x372e4f||_0xbc57d5||_0x18f4da([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12df20(_0x26fd2e,_0x1e1194){return new window[(_0x18f4da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1245c8=>{if(_0xf3bbe7())return _0x1245c8(_0x18f4da([0x56,0x61,0x6c,0x69,0x64]));_0xbf54fe(),_0x33681e[_0x18f4da([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18f4da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5be0a9=!0x1;const _0x5164f5=_0x271e04();function _0x378956(_0x435ee8){return!!_0x435ee8&&(typeof _0x435ee8===_0x18f4da([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x435ee8===_0x18f4da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x435ee8[_0x18f4da([0x74,0x68,0x65,0x6e])]===_0x18f4da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x435ee8[_0x18f4da([0x63,0x61,0x74,0x63,0x68])]===_0x18f4da([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ab6a5(_0x3b15d5){_0x4d9ca1(_0x3b15d5)[_0x18f4da([0x74,0x68,0x65,0x6e])](_0x8e6083=>{if(!_0x8e6083||_0x8e6083[_0x18f4da([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18f4da([0x6f,0x6b]))return _0x18f4da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7b02d0(_0x1aa9ba(_0x5164f5+_0x1e1194))!=_0x8e6083[_0x18f4da([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18f4da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18f4da([0x56,0x61,0x6c,0x69,0x64]);})[_0x18f4da([0x74,0x68,0x65,0x6e])](_0x1e8315=>(_0x293c33(),_0x1e8315),()=>{const _0x3039ca=_0x3cd1dc();return null==_0x3039ca?(_0x293c33(),_0x18f4da([0x56,0x61,0x6c,0x69,0x64])):_0x18f4da(_0x3b1ebc-_0x3039ca>(0x61d15615^_0x143215)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18f4da([0x74,0x68,0x65,0x6e])](_0x1245c8)[_0x18f4da([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1245c8(_0x18f4da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x518e0a=0x45eb3c95^_0x143215;function _0x293c33(){const _0x142588=_0x18f4da([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b02d0(_0x1aa9ba(_0x26fd2e)),_0x159356=_0x271839(_0x7b02d0(window[_0x18f4da([0x4d,0x61,0x74,0x68])][_0x18f4da([0x63,0x65,0x69,0x6c])](_0x3b1ebc/_0x518e0a)));window[_0x18f4da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18f4da([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x142588,_0x159356);}function _0x3cd1dc(){const _0x5a2582=_0x18f4da([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b02d0(_0x1aa9ba(_0x26fd2e)),_0x31388c=window[_0x18f4da([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18f4da([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a2582);return _0x31388c?window[_0x18f4da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x271839(_0x31388c),0x10)*_0x518e0a:null;}function _0x4d9ca1(_0x4b83d1){return new window[(_0x18f4da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5efa27,_0x27e89a)=>{_0x4b83d1[_0x18f4da([0x74,0x68,0x65,0x6e])](_0x5efa27,_0x27e89a),window[_0x18f4da([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x27e89a,0x45dc06d5^_0x143215);});}}_0x33681e[_0x18f4da([0x6f,0x6e])](_0x18f4da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcc5c88,_0x58f926)=>{if(_0x58f926[0x0]!=_0x26fd2e)return _0x1245c8(_0x18f4da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58f926[0x1]={..._0x58f926[0x1],[_0x18f4da([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5164f5};},{[_0x18f4da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18f4da([0x68,0x69,0x67,0x68])}),_0x33681e[_0x18f4da([0x6f,0x6e])](_0x18f4da([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x188696=>{_0x378956(_0x188696[_0x18f4da([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5be0a9=!0x0,_0x2ab6a5(_0x188696[_0x18f4da([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18f4da([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18f4da([0x6c,0x6f,0x77])}),_0x3105f8[_0x18f4da([0x74,0x68,0x65,0x6e])](()=>{_0x5be0a9||_0x1245c8(_0x18f4da([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf3bbe7(){return _0x33681e[_0x18f4da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18f4da([0x76,0x69,0x65,0x77])][_0x18f4da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18f4da([0x61,0x75,0x74,0x6f]);}function _0xbf54fe(){_0x33681e[_0x18f4da([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18f4da([0x76,0x69,0x65,0x77])][_0x18f4da([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18f4da([0x61,0x75,0x74,0x6f]);}}function _0x4c5f27(_0x5e0aa1){const _0x4285d7=[new window[(_0x18f4da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14cac4=>setTimeout(_0x14cac4,0x45d4ecd9^_0x143215)),_0x3105f8[_0x18f4da([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18f4da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327581=>{let _0x1421c8=0x0;_0x33681e[_0x18f4da([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f4da([0x6f,0x6e])](_0x18f4da([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7d2ed3,_0x14d56a)=>{_0x14d56a[0x0][_0x18f4da([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1421c8++,_0x1421c8==(0x45ddd7fd^_0x143215)&&(_0x327581(),_0x7d2ed3[_0x18f4da([0x6f,0x66,0x66])]());});}))];return window[_0x18f4da([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18f4da([0x72,0x61,0x63,0x65])](_0x4285d7)[_0x18f4da([0x74,0x68,0x65,0x6e])](()=>_0x5e0aa1);}async function _0xbb3a2b(){await _0x3105f8,_0x33681e[_0x18f4da([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f4da([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x195016,_0x33681e[_0x18f4da([0x6d,0x6f,0x64,0x65,0x6c])][_0x18f4da([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x195016,_0x33681e[_0x18f4da([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18f4da([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1436c1(_0x3d8aeb){const _0x160fa0=_0x18e249();_0x33681e[_0x160fa0]=_0x18f4da([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d8aeb,_0x3d8aeb!=_0x18f4da([0x56,0x61,0x6c,0x69,0x64])&&_0xbb3a2b();}function _0x18e249(){const _0x57b048=window[_0x18f4da([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18f4da([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18f4da([0x6e,0x6f,0x77])]())[_0x18f4da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18f4da([0x2e]),'');let _0x4ea48a=_0x18f4da([0x50]);for(let _0x4cdea9=0x0;_0x4cdea9<_0x57b048[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cdea9+=0x2){let _0x565e37=window[_0x18f4da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57b048[_0x18f4da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cdea9,_0x4cdea9+0x2));_0x565e37>=_0x3ffdfc[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x565e37-=_0x3ffdfc[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ea48a+=_0x3ffdfc[_0x565e37];}return _0x4ea48a;}function _0xe35924(){const _0x5a1d33=_0xa323c9[_0x18f4da([0x73,0x70,0x6c,0x69,0x74])](_0x18f4da([0x2e]));if(0x3!=_0x5a1d33[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x169d25(_0x5a1d33[0x1]);function _0x169d25(_0x40bce9){const _0x24c48b=_0x5c7dc5(_0x40bce9);return _0x24c48b&&_0x43ad80()?_0x24c48b:null;function _0x43ad80(){const _0x44574f=_0x24c48b[_0x18f4da([0x6a,0x74,0x69])],_0xe81bbe=window[_0x18f4da([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44574f[_0x18f4da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44574f[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x394fdb={..._0x24c48b,[_0x18f4da([0x6a,0x74,0x69])]:_0x44574f[_0x18f4da([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x44574f[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x394fdb[_0x18f4da([0x76,0x63])],_0x1aa9ba(_0x394fdb)==_0xe81bbe;}}}async function _0x54af42(){let _0x1506d6=!0x0;try{const _0x429a7b=_0xa323c9[_0x18f4da([0x73,0x70,0x6c,0x69,0x74])](_0x18f4da([0x2e])),[_0x2bc482,_0x145a2b,_0x3c89d8]=_0x429a7b;return _0x1bca1f(_0x2bc482),await _0x1eaa88(_0x2bc482,_0x145a2b,_0x3c89d8),_0x1506d6;}catch{return!0x1;}function _0x1bca1f(_0x1ff07d){const _0x362797=_0x5c7dc5(_0x1ff07d);_0x362797&&_0x362797[_0x18f4da([0x61,0x6c,0x67])]==_0x18f4da([0x45,0x53,0x32,0x35,0x36])||(_0x1506d6=!0x1);}async function _0x1eaa88(_0x5f58c6,_0x2609da,_0x9df510){const _0x5c5fed=window[_0x18f4da([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18f4da([0x66,0x72,0x6f,0x6d])](_0x2f9a4c(_0x9df510),_0x4ca76e=>_0x4ca76e[_0x18f4da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xdfed61=new window[(_0x18f4da([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18f4da([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f58c6+_0x18f4da([0x2e])+_0x2609da),_0x3a0edd=window[_0x18f4da([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18f4da([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a0edd)return;const _0x50f440=await _0x3a0edd[_0x18f4da([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18f4da([0x6a,0x77,0x6b]),_0x3c3ec0,{[_0x18f4da([0x6e,0x61,0x6d,0x65])]:_0x18f4da([0x45,0x43,0x44,0x53,0x41]),[_0x18f4da([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18f4da([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18f4da([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a0edd[_0x18f4da([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18f4da([0x6e,0x61,0x6d,0x65])]:_0x18f4da([0x45,0x43,0x44,0x53,0x41]),[_0x18f4da([0x68,0x61,0x73,0x68])]:{[_0x18f4da([0x6e,0x61,0x6d,0x65])]:_0x18f4da([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50f440,_0x5c5fed,_0xdfed61)||(_0x1506d6=!0x1);}}function _0x5c7dc5(_0x42930e){return _0x42930e[_0x18f4da([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18f4da([0x65,0x79]))?JSON[_0x18f4da([0x70,0x61,0x72,0x73,0x65])](_0x2f9a4c(_0x42930e)):null;}function _0x2f9a4c(_0x28d0ae){return window[_0x18f4da([0x61,0x74,0x6f,0x62])](_0x28d0ae[_0x18f4da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18f4da([0x2b]))[_0x18f4da([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18f4da([0x2f])));}function _0x1aa9ba(_0x2df130){let _0x35d72e=0x1505;function _0x134f9b(_0x411b4f){for(let _0x5732de=0x0;_0x5732de<_0x411b4f[_0x18f4da([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5732de++){const _0x13bae7=_0x411b4f[_0x18f4da([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5732de);_0x35d72e=(_0x35d72e<<0x5)+_0x35d72e+_0x13bae7,_0x35d72e&=_0x35d72e;}}function _0x3522ac(_0x41c92b){Array[_0x18f4da([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41c92b)?_0x41c92b[_0x18f4da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3522ac):_0x41c92b&&typeof _0x41c92b==_0x18f4da([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18f4da([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41c92b)[_0x18f4da([0x73,0x6f,0x72,0x74])]()[_0x18f4da([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x123dba,_0x41d936])=>{_0x134f9b(_0x123dba),_0x3522ac(_0x41d936);}):_0x134f9b(window[_0x18f4da([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41c92b));}return _0x3522ac(_0x2df130),_0x35d72e>>>0x0;}function _0x7b02d0(_0x6ad78e){return _0x6ad78e[_0x18f4da([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18f4da([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18f4da([0x30]));}function _0x271839(_0x418c40){return _0x418c40[_0x18f4da([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18f4da([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18f4da([0x6a,0x6f,0x69,0x6e])]('');}function _0x195016(){}function _0x18f4da(_0x2c8c60){const _0x477cd2=_0x542f;return _0x2c8c60[_0x477cd2(0x173)](_0x139cc3=>String[_0x477cd2(0x16d)](_0x139cc3))[_0x477cd2(0x15b)]('');}_0x1436c1(await _0x1cc1da());}(this);}[_0x1effd3(0x16b)](){const _0x5610ef=_0x1effd3,_0x4eca60=this[_0x5610ef(0x169)];if(!_0x4eca60[_0x5610ef(0x17a)][_0x5610ef(0x179)](_0x5610ef(0x178)))return;const _0x5dd181=_0x4eca60[_0x5610ef(0x17a)][_0x5610ef(0x179)](_0x5610ef(0x190))[_0x5610ef(0x180)](_0x3d8cc6=>_0x5610ef(0x185)==typeof _0x3d8cc6&&(!_0x3a9d1c(_0x3d8cc6)&&isNaN(Number(_0x3d8cc6))));if(_0x5dd181[_0x5610ef(0x17e)])throw new _0x5e126d(_0x5610ef(0x18c),null,{'namedPresets':_0x5dd181});}[_0x1effd3(0x16c)](){const _0x30318f=_0x1effd3,_0x1e3edc=this[_0x30318f(0x169)],_0x19c756=this[_0x30318f(0x169)][_0x30318f(0x17a)][_0x30318f(0x179)](_0x30318f(0x189));_0x1e3edc[_0x30318f(0x181)][_0x30318f(0x163)](_0x30318f(0x176))[_0x30318f(0x177)]({'model':{'key':_0x30318f(0x17d)},'view':_0x273b42=>String(_0x273b42)===String(_0x19c756)?null:{'key':_0x30318f(0x175),'value':{'line-height':_0x273b42}}}),_0x1e3edc[_0x30318f(0x181)][_0x30318f(0x163)](_0x30318f(0x168))[_0x30318f(0x177)]({'model':{'key':_0x30318f(0x17d),'value':_0x437ed5=>{const _0x3bd880=_0x30318f;let _0x32ecf1=_0x437ed5[_0x3bd880(0x16a)](_0x3bd880(0x160));return _0x4ab7d9(_0x32ecf1)&&(_0x32ecf1=String(Number(_0x32ecf1[_0x3bd880(0x166)](0x0,-0x1))/0x64)),String(_0x32ecf1)===String(_0x19c756)?null:_0x32ecf1;}},'view':{'styles':{'line-height':/.*/}}});}[_0x1effd3(0x183)](){const _0x37e3a6=_0x1effd3,_0x317af1=this[_0x37e3a6(0x169)],_0x1c56b9=this[_0x37e3a6(0x169)][_0x37e3a6(0x17a)][_0x37e3a6(0x179)](_0x37e3a6(0x189)),_0x5e7c20=_0x38dbff(this[_0x37e3a6(0x169)][_0x37e3a6(0x17a)][_0x37e3a6(0x179)](_0x37e3a6(0x17d)))[_0x37e3a6(0x180)](_0x463b2=>_0x463b2[_0x37e3a6(0x162)]),_0x43d56b=_0x464dab(_0x37e3a6(0x17d),_0x5e7c20);_0x317af1[_0x37e3a6(0x181)][_0x37e3a6(0x177)](_0x43d56b),_0x317af1[_0x37e3a6(0x181)][_0x37e3a6(0x163)](_0x37e3a6(0x168))[_0x37e3a6(0x177)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x37e3a6(0x17d),'value':_0x4ee735=>{const _0x3a2f28=_0x37e3a6;let _0x2f8111=_0x4ee735[_0x3a2f28(0x16a)](_0x3a2f28(0x160));return _0x4ab7d9(_0x2f8111)&&(_0x2f8111=String(Number(_0x2f8111[_0x3a2f28(0x166)](0x0,-0x1))/0x64)),_0x2f8111===String(_0x1c56b9)?null:_0x43d56b[_0x3a2f28(0x162)][_0x3a2f28(0x172)][_0x3a2f28(0x18b)](_0x2f8111)?_0x2f8111:null;}}});}}
|
|
23
|
+
function _0x5098(_0x2e676d,_0x5891d0){const _0x45ab23=_0x45ab();return _0x5098=function(_0x509880,_0xc65e64){_0x509880=_0x509880-0x16a;let _0x2a4fed=_0x45ab23[_0x509880];return _0x2a4fed;},_0x5098(_0x2e676d,_0x5891d0);}const _0x53e6d2=_0x5098;function _0x45ab(){const _0x5e28d1=['lineHeight.defaultValue','map','205MmNyNc','LineHeightEditing','setAttributeProperties','923169vkunFF','href','default','style','requires','pluginName','219753hFKIko','$block','lineHeight.options','join','extend','for','string','lineHeight','model','333626GYjxkQ','line-height-invalid-use-of-named-presets','afterInit','2ragzej','2485oSaOiF','attributeToAttribute','21544IzppZv','filter','length','isOfficialPlugin','upcast','_validateConfig','slice','conversion','lineHeight.supportAllValues','line-height','getStyle','_preparePredefinedConverters','init','isPremiumPlugin','config','downcast','4080iPKRWK','includes','commands','699664bTYYXM','add','schema','1438050QMvWnW','get','fromCharCode','define','_prepareAnyValueConverters','values','editor'];_0x45ab=function(){return _0x5e28d1;};return _0x45ab();}(function(_0x54508b,_0x36a2bc){const _0x3c6454=_0x5098,_0x176350=_0x54508b();while(!![]){try{const _0x30ce2f=parseInt(_0x3c6454(0x17d))/0x1+-parseInt(_0x3c6454(0x180))/0x2*(parseInt(_0x3c6454(0x16e))/0x3)+parseInt(_0x3c6454(0x183))/0x4*(parseInt(_0x3c6454(0x16b))/0x5)+-parseInt(_0x3c6454(0x193))/0x6*(-parseInt(_0x3c6454(0x181))/0x7)+-parseInt(_0x3c6454(0x196))/0x8+-parseInt(_0x3c6454(0x174))/0x9+-parseInt(_0x3c6454(0x199))/0xa;if(_0x30ce2f===_0x36a2bc)break;else _0x176350['push'](_0x176350['shift']());}catch(_0x50871c){_0x176350['push'](_0x176350['shift']());}}}(_0x45ab,0x38c01));import{Plugin as _0x39ac92}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x46e638}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x52be8c}from'ckeditor5/src/engine.js';import{uid as _0x357964,CKEditorError as _0x5260f0}from'ckeditor5/src/utils.js';import{buildDefinition as _0x31e5e5,isLineHeightDefaultValue as _0x5f46f6,normalizeOptions as _0x17014d}from'./utils.js';import{LineHeightTodoListIntegration as _0x2e2fe1}from'./integrations/todolist.js';export class LineHeightEditing extends _0x39ac92{static get[_0x53e6d2(0x173)](){const _0x2b677a=_0x53e6d2;return _0x2b677a(0x16c);}static get[_0x53e6d2(0x172)](){return[_0x2e2fe1];}static get[_0x53e6d2(0x186)](){return!0x0;}static get[_0x53e6d2(0x190)](){return!0x0;}constructor(_0x1b2315){const _0x500b53=_0x53e6d2;super(_0x1b2315),_0x1b2315[_0x500b53(0x191)][_0x500b53(0x19c)](_0x500b53(0x17b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x500b53(0x170),0x2,2.5,0x3]});}[_0x53e6d2(0x18f)](){const _0x1e84de=_0x53e6d2,_0x2a97bf=this[_0x1e84de(0x19f)];this[_0x1e84de(0x188)](),_0x2a97bf[_0x1e84de(0x17c)][_0x1e84de(0x198)][_0x1e84de(0x178)](_0x1e84de(0x175),{'allowAttributes':_0x1e84de(0x17b)}),_0x2a97bf[_0x1e84de(0x17c)][_0x1e84de(0x198)][_0x1e84de(0x16d)](_0x1e84de(0x17b),{'isFormatting':!0x0}),_0x2a97bf[_0x1e84de(0x195)][_0x1e84de(0x197)](_0x1e84de(0x17b),new _0x46e638(_0x2a97bf)),this[_0x1e84de(0x19f)][_0x1e84de(0x191)][_0x1e84de(0x19a)](_0x1e84de(0x18b))?this[_0x1e84de(0x19d)]():this[_0x1e84de(0x18e)]();}[_0x53e6d2(0x17f)](){!async function(_0x598957){const _0x2973b7=_0x3ea593([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]),_0x568ee4=0x45ddd215,_0x329a88=0x45daac7d^_0x568ee4,_0x270550=window[_0x3ea593([0x44,0x61,0x74,0x65])][_0x3ea593([0x6e,0x6f,0x77])](),_0x4b15de=_0x598957[_0x3ea593([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10793b=new window[(_0x3ea593([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaaedc0=>{_0x4b15de[_0x3ea593([0x6f,0x6e,0x63,0x65])](_0x3ea593([0x72,0x65,0x61,0x64,0x79]),_0xaaedc0);}),_0x3126d5={[_0x3ea593([0x6b,0x74,0x79])]:_0x3ea593([0x45,0x43]),[_0x3ea593([0x75,0x73,0x65])]:_0x3ea593([0x73,0x69,0x67]),[_0x3ea593([0x63,0x72,0x76])]:_0x3ea593([0x50,0x2d,0x32,0x35,0x36]),[_0x3ea593([0x78])]:_0x3ea593([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]),[_0x3ea593([0x79])]:_0x3ea593([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]),[_0x3ea593([0x61,0x6c,0x67])]:_0x3ea593([0x45,0x53,0x32,0x35,0x36])},_0x4f9073=_0x4b15de[_0x3ea593([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ea593([0x67,0x65,0x74])](_0x3ea593([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d11ab(){let _0x4e62e2,_0x244217=null,_0x36e64b=null;try{if(_0x4f9073==_0x3ea593([0x47,0x50,0x4c]))return _0x3ea593([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e62e2=_0x5d8197(),!_0x4e62e2)return _0x3ea593([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e62e2[_0x3ea593([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36e64b=_0xd13874(_0x4e62e2[_0x3ea593([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e62e2[_0x3ea593([0x6a,0x74,0x69])])),await _0x3b3ca7()?_0x4d9b7d()?_0xdf982()?_0x3ea593([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12238a()?(_0x4e62e2[_0x3ea593([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ea593([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x244217=_0x194687(_0x3ea593([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x567514()):_0x3ea593([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ea593([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ea593([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ea593([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdf982(){const _0x2383df=[_0x3ea593([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ea593([0x74,0x72,0x69,0x61,0x6c])][_0x3ea593([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e62e2[_0x3ea593([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x270550/0x3e8:0xe10*_0x329a88;return _0x4e62e2[_0x3ea593([0x65,0x78,0x70])]<_0x2383df;}function _0x4d9b7d(){const _0x4a60f=_0x4e62e2[_0x3ea593([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a60f&&(!!_0x4a60f[_0x3ea593([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ea593([0x2a]))||!!_0x4a60f[_0x3ea593([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ea593([0x4c,0x48])));}function _0x12238a(){const _0x2edff6=_0x5098,_0x1d65ec=_0x4e62e2[_0x3ea593([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d65ec||0x0==_0x1d65ec[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26563d}=new URL(window[_0x3ea593([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2edff6(0x16f)]);if(_0x1d65ec[_0x3ea593([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26563d))return!0x0;const _0x9606af=_0x26563d[_0x3ea593([0x73,0x70,0x6c,0x69,0x74])](_0x3ea593([0x2e]));return _0x1d65ec[_0x3ea593([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23d3c0=>_0x23d3c0[_0x3ea593([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ea593([0x2a])))[_0x3ea593([0x6d,0x61,0x70])](_0x402320=>_0x402320[_0x3ea593([0x73,0x70,0x6c,0x69,0x74])](_0x3ea593([0x2e])))[_0x3ea593([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x532a38=>_0x532a38[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x9606af[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ea593([0x6d,0x61,0x70])](_0xb39909=>Array(_0x9606af[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb39909[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ea593([0x66,0x69,0x6c,0x6c])](_0xb39909[0x0]===_0x3ea593([0x2a])?_0x3ea593([0x2a]):'')[_0x3ea593([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb39909))[_0x3ea593([0x73,0x6f,0x6d,0x65])](_0x2f6094=>_0x9606af[_0x3ea593([0x65,0x76,0x65,0x72,0x79])]((_0x572d92,_0x4cbd2b)=>_0x2f6094[_0x4cbd2b]===_0x572d92||_0x2f6094[_0x4cbd2b]===_0x3ea593([0x2a])));}function _0x567514(){return _0x244217&&_0x36e64b?new window[(_0x3ea593([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ba877,_0xf10a1b)=>{_0x244217[_0x3ea593([0x74,0x68,0x65,0x6e])](_0x2ba877,_0xf10a1b),_0x36e64b[_0x3ea593([0x74,0x68,0x65,0x6e])](_0x374d16=>{_0x374d16!=_0x3ea593([0x56,0x61,0x6c,0x69,0x64])&&_0x2ba877(_0x374d16);},_0xf10a1b);}):_0x244217||_0x36e64b||_0x3ea593([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd13874(_0x56f96e,_0x32c83a){return new window[(_0x3ea593([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14bb31=>{if(_0x11860a())return _0x14bb31(_0x3ea593([0x56,0x61,0x6c,0x69,0x64]));_0x3e92da(),_0x4b15de[_0x3ea593([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ea593([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b7744=!0x1;const _0x9e0b25=_0x357964();function _0x289043(_0x10c8d2){return!!_0x10c8d2&&(typeof _0x10c8d2===_0x3ea593([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10c8d2===_0x3ea593([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10c8d2[_0x3ea593([0x74,0x68,0x65,0x6e])]===_0x3ea593([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10c8d2[_0x3ea593([0x63,0x61,0x74,0x63,0x68])]===_0x3ea593([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x48e98d(_0x331037){_0x4ac445(_0x331037)[_0x3ea593([0x74,0x68,0x65,0x6e])](_0x55a792=>{if(!_0x55a792||_0x55a792[_0x3ea593([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ea593([0x6f,0x6b]))return _0x3ea593([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33fb09(_0x1a2677(_0x9e0b25+_0x32c83a))!=_0x55a792[_0x3ea593([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ea593([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ea593([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ea593([0x74,0x68,0x65,0x6e])](_0x5b3db5=>(_0x39751a(),_0x5b3db5),()=>{const _0x4720fd=_0x3b4fdc();return null==_0x4720fd?(_0x39751a(),_0x3ea593([0x56,0x61,0x6c,0x69,0x64])):_0x3ea593(_0x270550-_0x4720fd>(0x61d15615^_0x568ee4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ea593([0x74,0x68,0x65,0x6e])](_0x14bb31)[_0x3ea593([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14bb31(_0x3ea593([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b35d4=0x45eb3c95^_0x568ee4;function _0x39751a(){const _0x4ec5b5=_0x3ea593([0x6c,0x6c,0x63,0x74,0x2d])+_0x33fb09(_0x1a2677(_0x56f96e)),_0x2dd260=_0x4f1cf8(_0x33fb09(window[_0x3ea593([0x4d,0x61,0x74,0x68])][_0x3ea593([0x63,0x65,0x69,0x6c])](_0x270550/_0x1b35d4)));window[_0x3ea593([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ea593([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ec5b5,_0x2dd260);}function _0x3b4fdc(){const _0x1a156f=_0x3ea593([0x6c,0x6c,0x63,0x74,0x2d])+_0x33fb09(_0x1a2677(_0x56f96e)),_0x4cdf3c=window[_0x3ea593([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ea593([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a156f);return _0x4cdf3c?window[_0x3ea593([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f1cf8(_0x4cdf3c),0x10)*_0x1b35d4:null;}function _0x4ac445(_0x5e59de){return new window[(_0x3ea593([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5366e8,_0x4e9ef0)=>{_0x5e59de[_0x3ea593([0x74,0x68,0x65,0x6e])](_0x5366e8,_0x4e9ef0),window[_0x3ea593([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e9ef0,0x45dc06d5^_0x568ee4);});}}_0x4b15de[_0x3ea593([0x6f,0x6e])](_0x3ea593([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x209fd8,_0x42717b)=>{if(_0x42717b[0x0]!=_0x56f96e)return _0x14bb31(_0x3ea593([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42717b[0x1]={..._0x42717b[0x1],[_0x3ea593([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9e0b25};},{[_0x3ea593([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ea593([0x68,0x69,0x67,0x68])}),_0x4b15de[_0x3ea593([0x6f,0x6e])](_0x3ea593([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x269c8c=>{_0x289043(_0x269c8c[_0x3ea593([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b7744=!0x0,_0x48e98d(_0x269c8c[_0x3ea593([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ea593([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ea593([0x6c,0x6f,0x77])}),_0x10793b[_0x3ea593([0x74,0x68,0x65,0x6e])](()=>{_0x2b7744||_0x14bb31(_0x3ea593([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11860a(){return _0x4b15de[_0x3ea593([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ea593([0x76,0x69,0x65,0x77])][_0x3ea593([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ea593([0x61,0x75,0x74,0x6f]);}function _0x3e92da(){_0x4b15de[_0x3ea593([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ea593([0x76,0x69,0x65,0x77])][_0x3ea593([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ea593([0x61,0x75,0x74,0x6f]);}}function _0x194687(_0x1047d9){const _0x1f543a=[new window[(_0x3ea593([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x338a1e=>setTimeout(_0x338a1e,0x45d4ecd9^_0x568ee4)),_0x10793b[_0x3ea593([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ea593([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37bd2a=>{let _0x1a422a=0x0;_0x4b15de[_0x3ea593([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ea593([0x6f,0x6e])](_0x3ea593([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c884e,_0x3109fa)=>{_0x3109fa[0x0][_0x3ea593([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a422a++,_0x1a422a==(0x45ddd7fd^_0x568ee4)&&(_0x37bd2a(),_0x1c884e[_0x3ea593([0x6f,0x66,0x66])]());});}))];return window[_0x3ea593([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ea593([0x72,0x61,0x63,0x65])](_0x1f543a)[_0x3ea593([0x74,0x68,0x65,0x6e])](()=>_0x1047d9);}async function _0x33c150(){await _0x10793b,_0x4b15de[_0x3ea593([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ea593([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x481e21,_0x4b15de[_0x3ea593([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ea593([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x481e21,_0x4b15de[_0x3ea593([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ea593([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b45fb(_0x55e386){const _0xd50cdd=_0x30d3ee();_0x4b15de[_0xd50cdd]=_0x3ea593([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55e386,_0x55e386!=_0x3ea593([0x56,0x61,0x6c,0x69,0x64])&&_0x33c150();}function _0x30d3ee(){const _0x406183=window[_0x3ea593([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ea593([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ea593([0x6e,0x6f,0x77])]())[_0x3ea593([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ea593([0x2e]),'');let _0x39ad11=_0x3ea593([0x50]);for(let _0x3e5734=0x0;_0x3e5734<_0x406183[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e5734+=0x2){let _0x3ff5a2=window[_0x3ea593([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x406183[_0x3ea593([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e5734,_0x3e5734+0x2));_0x3ff5a2>=_0x2973b7[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ff5a2-=_0x2973b7[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39ad11+=_0x2973b7[_0x3ff5a2];}return _0x39ad11;}function _0x5d8197(){const _0x39d78b=_0x4f9073[_0x3ea593([0x73,0x70,0x6c,0x69,0x74])](_0x3ea593([0x2e]));if(0x3!=_0x39d78b[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x12cad7(_0x39d78b[0x1]);function _0x12cad7(_0x1d7001){const _0x217413=_0x476dc0(_0x1d7001);return _0x217413&&_0x4ed300()?_0x217413:null;function _0x4ed300(){const _0x5f25f3=_0x217413[_0x3ea593([0x6a,0x74,0x69])],_0x43d3c5=window[_0x3ea593([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f25f3[_0x3ea593([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f25f3[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5eca2a={..._0x217413,[_0x3ea593([0x6a,0x74,0x69])]:_0x5f25f3[_0x3ea593([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f25f3[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5eca2a[_0x3ea593([0x76,0x63])],_0x1a2677(_0x5eca2a)==_0x43d3c5;}}}async function _0x3b3ca7(){let _0x1d8dba=!0x0;try{const _0x4829d4=_0x4f9073[_0x3ea593([0x73,0x70,0x6c,0x69,0x74])](_0x3ea593([0x2e])),[_0x576c70,_0x48a62f,_0x4a5362]=_0x4829d4;return _0x4381e5(_0x576c70),await _0x85b88(_0x576c70,_0x48a62f,_0x4a5362),_0x1d8dba;}catch{return!0x1;}function _0x4381e5(_0x4b5c7f){const _0x635e56=_0x476dc0(_0x4b5c7f);_0x635e56&&_0x635e56[_0x3ea593([0x61,0x6c,0x67])]==_0x3ea593([0x45,0x53,0x32,0x35,0x36])||(_0x1d8dba=!0x1);}async function _0x85b88(_0x26f82f,_0x1883f8,_0x9528d6){const _0x22bf5b=window[_0x3ea593([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ea593([0x66,0x72,0x6f,0x6d])](_0x4be9bb(_0x9528d6),_0x2c4c26=>_0x2c4c26[_0x3ea593([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x279c82=new window[(_0x3ea593([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ea593([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26f82f+_0x3ea593([0x2e])+_0x1883f8),_0x258ca7=window[_0x3ea593([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ea593([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x258ca7)return;const _0x4f4457=await _0x258ca7[_0x3ea593([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ea593([0x6a,0x77,0x6b]),_0x3126d5,{[_0x3ea593([0x6e,0x61,0x6d,0x65])]:_0x3ea593([0x45,0x43,0x44,0x53,0x41]),[_0x3ea593([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ea593([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ea593([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x258ca7[_0x3ea593([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ea593([0x6e,0x61,0x6d,0x65])]:_0x3ea593([0x45,0x43,0x44,0x53,0x41]),[_0x3ea593([0x68,0x61,0x73,0x68])]:{[_0x3ea593([0x6e,0x61,0x6d,0x65])]:_0x3ea593([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f4457,_0x22bf5b,_0x279c82)||(_0x1d8dba=!0x1);}}function _0x476dc0(_0xc94199){return _0xc94199[_0x3ea593([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ea593([0x65,0x79]))?JSON[_0x3ea593([0x70,0x61,0x72,0x73,0x65])](_0x4be9bb(_0xc94199)):null;}function _0x4be9bb(_0x319f29){return window[_0x3ea593([0x61,0x74,0x6f,0x62])](_0x319f29[_0x3ea593([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ea593([0x2b]))[_0x3ea593([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ea593([0x2f])));}function _0x1a2677(_0xfcfba3){let _0x1c0b80=0x1505;function _0x55402b(_0x2dd6ee){for(let _0x29fa40=0x0;_0x29fa40<_0x2dd6ee[_0x3ea593([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29fa40++){const _0x45af5b=_0x2dd6ee[_0x3ea593([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29fa40);_0x1c0b80=(_0x1c0b80<<0x5)+_0x1c0b80+_0x45af5b,_0x1c0b80&=_0x1c0b80;}}function _0x1add57(_0x37740f){Array[_0x3ea593([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37740f)?_0x37740f[_0x3ea593([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1add57):_0x37740f&&typeof _0x37740f==_0x3ea593([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ea593([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37740f)[_0x3ea593([0x73,0x6f,0x72,0x74])]()[_0x3ea593([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39383a,_0x14e904])=>{_0x55402b(_0x39383a),_0x1add57(_0x14e904);}):_0x55402b(window[_0x3ea593([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37740f));}return _0x1add57(_0xfcfba3),_0x1c0b80>>>0x0;}function _0x33fb09(_0x55c80c){return _0x55c80c[_0x3ea593([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ea593([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ea593([0x30]));}function _0x4f1cf8(_0x3dd096){return _0x3dd096[_0x3ea593([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ea593([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ea593([0x6a,0x6f,0x69,0x6e])]('');}function _0x481e21(){}function _0x3ea593(_0x56e0e4){const _0x4fb8cc=_0x5098;return _0x56e0e4[_0x4fb8cc(0x16a)](_0x39f0c1=>String[_0x4fb8cc(0x19b)](_0x39f0c1))[_0x4fb8cc(0x177)]('');}_0x1b45fb(await _0x1d11ab());}(this);}[_0x53e6d2(0x188)](){const _0x78ab65=_0x53e6d2,_0x331d8a=this[_0x78ab65(0x19f)];if(!_0x331d8a[_0x78ab65(0x191)][_0x78ab65(0x19a)](_0x78ab65(0x18b)))return;const _0x31b6d8=_0x331d8a[_0x78ab65(0x191)][_0x78ab65(0x19a)](_0x78ab65(0x176))[_0x78ab65(0x184)](_0x5936d9=>_0x78ab65(0x17a)==typeof _0x5936d9&&(!_0x5f46f6(_0x5936d9)&&isNaN(Number(_0x5936d9))));if(_0x31b6d8[_0x78ab65(0x185)])throw new _0x5260f0(_0x78ab65(0x17e),null,{'namedPresets':_0x31b6d8});}[_0x53e6d2(0x19d)](){const _0x362bc4=_0x53e6d2,_0xd0459a=this[_0x362bc4(0x19f)],_0xc0f3e1=this[_0x362bc4(0x19f)][_0x362bc4(0x191)][_0x362bc4(0x19a)](_0x362bc4(0x1a0));_0xd0459a[_0x362bc4(0x18a)][_0x362bc4(0x179)](_0x362bc4(0x192))[_0x362bc4(0x182)]({'model':{'key':_0x362bc4(0x17b)},'view':_0x7fda92=>String(_0x7fda92)===String(_0xc0f3e1)?null:{'key':_0x362bc4(0x171),'value':{'line-height':_0x7fda92}}}),_0xd0459a[_0x362bc4(0x18a)][_0x362bc4(0x179)](_0x362bc4(0x187))[_0x362bc4(0x182)]({'model':{'key':_0x362bc4(0x17b),'value':_0x1b6597=>{const _0x479d8a=_0x362bc4;let _0x52a0f8=_0x1b6597[_0x479d8a(0x18d)](_0x479d8a(0x18c));return _0x52be8c(_0x52a0f8)&&(_0x52a0f8=String(Number(_0x52a0f8[_0x479d8a(0x189)](0x0,-0x1))/0x64)),String(_0x52a0f8)===String(_0xc0f3e1)?null:_0x52a0f8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x53e6d2(0x18e)](){const _0x2f4bfd=_0x53e6d2,_0x470d6e=this[_0x2f4bfd(0x19f)],_0x52ce2d=this[_0x2f4bfd(0x19f)][_0x2f4bfd(0x191)][_0x2f4bfd(0x19a)](_0x2f4bfd(0x1a0)),_0x363bf7=_0x17014d(this[_0x2f4bfd(0x19f)][_0x2f4bfd(0x191)][_0x2f4bfd(0x19a)](_0x2f4bfd(0x17b)))[_0x2f4bfd(0x184)](_0x21a72c=>_0x21a72c[_0x2f4bfd(0x17c)]),_0x20a33c=_0x31e5e5(_0x2f4bfd(0x17b),_0x363bf7);_0x470d6e[_0x2f4bfd(0x18a)][_0x2f4bfd(0x182)](_0x20a33c),_0x470d6e[_0x2f4bfd(0x18a)][_0x2f4bfd(0x179)](_0x2f4bfd(0x187))[_0x2f4bfd(0x182)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2f4bfd(0x17b),'value':_0x1e0367=>{const _0x9734ef=_0x2f4bfd;let _0x204089=_0x1e0367[_0x9734ef(0x18d)](_0x9734ef(0x18c));return _0x52be8c(_0x204089)&&(_0x204089=String(Number(_0x204089[_0x9734ef(0x189)](0x0,-0x1))/0x64)),_0x204089===String(_0x52ce2d)?null:_0x20a33c[_0x9734ef(0x17c)][_0x9734ef(0x19e)][_0x9734ef(0x194)](_0x204089)?_0x204089:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5adb07}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3cb8c2,createDropdown as _0xb67c51,MenuBarMenuListItemButtonView as _0x2fe9e3,MenuBarMenuListItemView as _0x27cb1a,MenuBarMenuListView as _0x150b35,MenuBarMenuView as _0x27e6fe,UIModel as _0x162d80}from'ckeditor5/src/ui.js';import{Collection as _0x5b2dbd}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x42b3f5}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x120cb6}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5adb07{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x24b3b2={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x24b3b2),this['_registerMenuBarComponent'](_0x24b3b2),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x465dfa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x172e10;for(const _0x440dfd in _0x465dfa){const _0x14cafa=_0x440dfd,_0x594001=_0x465dfa[_0x14cafa];if('lineHeightLicenseKeyValid'==_0x594001||'lineHeightLicenseKeyInvalid'==_0x594001||'lineHeightLicenseKeyExpired'==_0x594001||'lineHeightLicenseKeyDomainLimit'==_0x594001||'lineHeightLicenseKeyNotAllowed'==_0x594001||'lineHeightLicenseKeyEvaluationLimit'==_0x594001||'lineHeightLicenseKeyUsageLimit'==_0x594001){delete _0x465dfa[_0x14cafa],_0x172e10=_0x594001,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x172e10&&_0x465dfa['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x172e10&&_0x465dfa['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x172e10&&_0x465dfa['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x172e10&&_0x465dfa['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x172e10&&_0x465dfa['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x172e10&&_0x465dfa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x55c1da=this['editor'],t=_0x55c1da['t'],_0x57a45f=_0x55c1da['config']['get']('lineHeight'),_0x1bcd4a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x120cb6(_0x57a45f)['map'](_0x2a8b48=>{const _0x5a928e=_0x1bcd4a[_0x2a8b48['title']];return _0x5a928e&&_0x5a928e!=_0x2a8b48['title']&&(_0x2a8b48=Object['assign']({},_0x2a8b48,{'title':_0x5a928e})),_0x2a8b48;});}['_prepareListOptions'](){const _0xb593c8=this['editor']['commands']['get']('lineHeight'),_0x34a15a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2ae741=this['_getLocalizedLineHeightOptions'](),_0x3396be=new _0x5b2dbd(),_0x5c3d48=_0x1f961e=>'default'===_0x1f961e||String(_0x34a15a)===_0x1f961e;for(const _0x286a1d of _0x2ae741){const _0x1e4b5b={'type':'button','model':new _0x162d80({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x286a1d['title'],'withText':!0x0})};_0x5c3d48(_0x286a1d['model'])?(_0x1e4b5b['model']['bind']('isOn')['to'](_0xb593c8,'value',_0x4284ae=>!_0x4284ae),_0x1e4b5b['model']['commandParam']=void 0x0):(_0x1e4b5b['model']['bind']('isOn')['to'](_0xb593c8,'value',_0x3effca=>_0x3effca===_0x286a1d['model']),_0x1e4b5b['model']['commandParam']=_0x286a1d['model']),_0x3396be['add'](_0x1e4b5b);}if(this['_shouldRenderCustomValueOption']()){const _0x26839b=this['_getCustomValueOptionDefinition'](_0x2ae741);_0x3396be['add'](_0x26839b);}return _0x3396be;}['_getCustomValueOptionDefinition'](_0xe59ea0){const _0xeff1c3=this['editor'],t=_0xeff1c3['t'],_0x5f48ce=_0xeff1c3['commands']['get']('lineHeight'),_0x371c08=_0xe59ea0['map'](_0x1e3d0d=>_0x1e3d0d['model']),_0x17eadd={'type':'button','model':new _0x162d80({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x17eadd['model']['bind']('commandParam')['to'](_0x5f48ce,'value'),_0x17eadd['model']['bind']('isOn')['to'](_0x5f48ce,'value',_0x4638f9=>!!_0x4638f9&&!_0x371c08['includes'](String(_0x4638f9))),_0x17eadd['model']['bind']('label')['to'](_0x5f48ce,'value',_0x4a3408=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4a3408))),_0x17eadd;}['_registerToolbarComponent']({accessibleLabel:_0x1d5d99,options:_0x43b47e}){const _0x4809fe=this['editor'],_0x259a3b=_0x4809fe['commands']['get']('lineHeight');_0x4809fe['ui']['componentFactory']['add']('lineHeight',_0x158c76=>{const _0xd600bf=_0xb67c51(_0x158c76);return _0x3cb8c2(_0xd600bf,_0x43b47e,{'role':'menu','ariaLabel':_0x1d5d99}),_0xd600bf['buttonView']['set']({'label':_0x1d5d99,'tooltip':!0x0,'icon':_0x42b3f5}),_0xd600bf['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xd600bf['bind']('isEnabled')['to'](_0x259a3b),this['listenTo'](_0xd600bf,'execute',_0x409aa2=>{_0x4809fe['execute'](_0x409aa2['source']['commandName'],{'value':_0x409aa2['source']['commandParam']}),_0x4809fe['editing']['view']['focus']();}),_0xd600bf['once']('change:isOpen',()=>{const _0x41e491=_0xd600bf['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xd600bf,_0x43b47e,_0x41e491);}),_0xd600bf;});}['_registerMenuBarComponent']({accessibleLabel:_0x14aa6a,options:_0x1b05df}){const _0x31e258=this['editor'],_0x2a7ca8=_0x31e258['commands']['get']('lineHeight');_0x31e258['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3c6e11=>{const _0x3fbc57=new _0x27e6fe(_0x3c6e11);_0x3fbc57['buttonView']['set']({'label':_0x14aa6a,'icon':_0x42b3f5}),_0x3fbc57['bind']('isEnabled')['to'](_0x2a7ca8);const _0x2c48f2=new _0x150b35(_0x3c6e11);for(const _0xe49458 of _0x1b05df){const _0x1b4ae4=new _0x27cb1a(_0x3c6e11,_0x3fbc57),_0x5d8e88=new _0x2fe9e3(_0x3c6e11);_0x5d8e88['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5d8e88['bind'](...Object['keys'](_0xe49458['model']))['to'](_0xe49458['model']),_0x5d8e88['delegate']('execute')['to'](_0x3fbc57),_0x5d8e88['on']('execute',()=>{_0x31e258['execute'](_0xe49458['model']['commandName'],{'value':_0xe49458['model']['commandParam']}),_0x31e258['editing']['view']['focus']();}),_0x1b4ae4['children']['add'](_0x5d8e88),_0x2c48f2['items']['add'](_0x1b4ae4);}return _0x3fbc57['panelView']['children']['add'](_0x2c48f2),this['_attachCustomOptionVisibilityHandler'](_0x3fbc57,_0x1b05df,_0x2c48f2),_0x3fbc57;});}['_attachCustomOptionVisibilityHandler'](_0x156ee4,_0x2dd7c9,_0x33fe06){if(!this['_shouldRenderCustomValueOption']())return;const _0x424ac7=()=>{if(!_0x156ee4['isOpen'])return;_0x33fe06['items']['last']['isVisible']=Boolean(_0x2dd7c9['last']['model']['isOn']);};_0x424ac7(),_0x156ee4['on']('change:isOpen',()=>{_0x424ac7();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2f86(){const _0x583d1c=['2693574bLkhwd','line-height:','line-height-double','map','options','3269cSTzms','Single','push','key','1160032FhLBUw','88jFoLAP','filter','double','style','defaultValue','class','value','view','Double','13386geInQd','256170EJqueG','span','5010460aLJVmY','531oJPuhw','7159fpyAwg','line-height-single','string','number','model','single','3738644SGyROR','default','toLowerCase','values'];_0x2f86=function(){return _0x583d1c;};return _0x2f86();}(function(_0x1bd5e2,_0x149d5b){const _0x3c9844=_0x4b48,_0x1af2f0=_0x1bd5e2();while(!![]){try{const _0xaa7049=parseInt(_0x3c9844(0xcf))/0x1*(parseInt(_0x3c9844(0xe3))/0x2)+parseInt(_0x3c9844(0xd9))/0x3+-parseInt(_0x3c9844(0xd5))/0x4+parseInt(_0x3c9844(0xcd))/0x5+-parseInt(_0x3c9844(0xec))/0x6*(-parseInt(_0x3c9844(0xde))/0x7)+-parseInt(_0x3c9844(0xe2))/0x8+parseInt(_0x3c9844(0xce))/0x9*(-parseInt(_0x3c9844(0xed))/0xa);if(_0xaa7049===_0x149d5b)break;else _0x1af2f0['push'](_0x1af2f0['shift']());}catch(_0x45b1bd){_0x1af2f0['push'](_0x1af2f0['shift']());}}}(_0x2f86,0xa289b));const v={get 'single'(){const _0x1ec981=_0x4b48;return{'title':_0x1ec981(0xdf),'model':_0x1ec981(0xd4),'view':{'key':_0x1ec981(0xe8),'value':_0x1ec981(0xd0)}};},get 'double'(){const _0x4218f9=_0x4b48;return{'title':_0x4218f9(0xeb),'model':_0x4218f9(0xe5),'view':{'key':_0x4218f9(0xe8),'value':_0x4218f9(0xdb)}};}};export function isLineHeightDefaultValue(_0x2df8c6){const _0x37a183=_0x4b48;return _0x37a183(0xd1)==typeof _0x2df8c6&&_0x37a183(0xd6)===_0x2df8c6[_0x37a183(0xd7)]();}function _0x4b48(_0x45c30d,_0x1b97c7){const _0x2f8684=_0x2f86();return _0x4b48=function(_0x4b48e3,_0x270722){_0x4b48e3=_0x4b48e3-0xcc;let _0x304a66=_0x2f8684[_0x4b48e3];return _0x304a66;},_0x4b48(_0x45c30d,_0x1b97c7);}export function normalizeOptions(_0x4eb23e){const _0x5b3cb8=_0x4b48;return _0x4eb23e[_0x5b3cb8(0xdd)][_0x5b3cb8(0xdc)](_0x21bd34=>isLineHeightDefaultValue(_0x21bd34)?{'title':String(_0x4eb23e[_0x5b3cb8(0xe7)]),'model':_0x5b3cb8(0xd6)}:(_0x5b3cb8(0xd2)==typeof _0x21bd34&&(_0x21bd34=String(_0x21bd34)),_0x5b3cb8(0xd1)!=typeof _0x21bd34?_0x21bd34:parseFloat(_0x21bd34)?{'title':_0x21bd34,'model':_0x21bd34,'view':{'name':_0x5b3cb8(0xcc),'styles':{'line-height':_0x21bd34}}}:findPreset(_0x21bd34)))[_0x5b3cb8(0xe4)](_0x2ccc94=>void 0x0!==_0x2ccc94);}export function findPreset(_0x5c7c51){const _0x2bfc8d=_0x4b48;return _0x2bfc8d(0xd1)==typeof _0x5c7c51?v[_0x5c7c51]:v[_0x5c7c51[_0x2bfc8d(0xd3)]];}export function buildDefinition(_0xb91fcb,_0x50cfbe){const _0x467672=_0x4b48,_0x1f4277={'model':{'key':_0xb91fcb,'values':[]},'view':{}};for(const _0x2e7dde of _0x50cfbe)_0x467672(0xe8)===_0x2e7dde[_0x467672(0xea)]?.[_0x467672(0xe1)]?(_0x1f4277[_0x467672(0xd3)][_0x467672(0xd8)][_0x467672(0xe0)](_0x2e7dde[_0x467672(0xd3)]),_0x1f4277[_0x467672(0xea)][_0x2e7dde[_0x467672(0xd3)]]={'key':_0x467672(0xe8),'value':_0x2e7dde[_0x467672(0xea)][_0x467672(0xe9)]}):(_0x1f4277[_0x467672(0xd3)][_0x467672(0xd8)][_0x467672(0xe0)](_0x2e7dde[_0x467672(0xd3)]),_0x1f4277[_0x467672(0xea)][_0x2e7dde[_0x467672(0xd3)]]={'key':_0x467672(0xe6),'value':_0x467672(0xda)+_0x2e7dde[_0x467672(0xd3)]+';'});return _0x1f4277;}
|