@ckeditor/ckeditor5-line-height 47.4.0-alpha.4 → 47.4.0-alpha.6
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
|
-
function
|
|
23
|
+
const _0x2755e5=_0x5256;function _0x5256(_0x546cc9,_0x244d48){const _0x34da6d=_0x34da();return _0x5256=function(_0x525634,_0x25ecef){_0x525634=_0x525634-0x1c3;let _0x490104=_0x34da6d[_0x525634];return _0x490104;},_0x5256(_0x546cc9,_0x244d48);}(function(_0x4fc160,_0x41f351){const _0x362721=_0x5256,_0x756ab3=_0x4fc160();while(!![]){try{const _0x47c64e=-parseInt(_0x362721(0x1e2))/0x1+-parseInt(_0x362721(0x1c7))/0x2*(parseInt(_0x362721(0x1e1))/0x3)+parseInt(_0x362721(0x1cc))/0x4+parseInt(_0x362721(0x1cf))/0x5*(-parseInt(_0x362721(0x1e8))/0x6)+-parseInt(_0x362721(0x1dd))/0x7*(parseInt(_0x362721(0x1cd))/0x8)+parseInt(_0x362721(0x1eb))/0x9+parseInt(_0x362721(0x1db))/0xa*(parseInt(_0x362721(0x1c6))/0xb);if(_0x47c64e===_0x41f351)break;else _0x756ab3['push'](_0x756ab3['shift']());}catch(_0x574983){_0x756ab3['push'](_0x756ab3['shift']());}}}(_0x34da,0x7967c));import{Plugin as _0x49d16f}from'ckeditor5/src/core.js';import{Matcher as _0x2d84f1}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x49d16f{static get[_0x2755e5(0x1e7)](){const _0x2494b0=_0x2755e5;return _0x2494b0(0x1ee);}static get[_0x2755e5(0x1d7)](){return!0x0;}static get[_0x2755e5(0x1e0)](){return!0x0;}[_0x2755e5(0x1ed)](){const _0x3c108f=_0x2755e5,{plugins:_0x137b71,conversion:_0xa4efa1}=this[_0x3c108f(0x1e9)];if(!_0x137b71[_0x3c108f(0x1e4)](_0x3c108f(0x1d0))||!_0x137b71[_0x3c108f(0x1e4)](_0x3c108f(0x1ef)))return;_0x137b71[_0x3c108f(0x1ce)](_0x3c108f(0x1d0))[_0x3c108f(0x1c4)]({'scope':_0x3c108f(0x1e6),'attributeName':_0x3c108f(0x1d9),'consume':!0x1,'setAttributeOnDowncast'(_0x54d26b,_0x5e5944,_0x40e020,_0x56262d,_0x28d44d){const _0x412968=_0x3c108f;_0x412968(0x1ea)==_0x28d44d[_0x412968(0x1d4)](_0x412968(0x1d1))&&_0x5e5944&&(_0x54d26b[_0x412968(0x1c3)](_0x412968(0x1e3),_0x40e020),_0x54d26b[_0x412968(0x1d2)](_0x412968(0x1cb),_0x5e5944,_0x40e020));}}),_0xa4efa1[_0x3c108f(0x1de)](_0x3c108f(0x1da))[_0x3c108f(0x1ca)]({'view':{'name':_0x3c108f(0x1c8),'classes':_0x3c108f(0x1e5)},'model':_0x3c108f(0x1d5),'converterPriority':_0x3c108f(0x1c9)}),_0xa4efa1[_0x3c108f(0x1de)](_0x3c108f(0x1da))[_0x3c108f(0x1ec)](_0x2da683=>{const _0x1d964b=_0x3c108f;_0x2da683['on'](_0x1d964b(0x1d8),function(_0x3b92c5){const _0x536bb3=new _0x2d84f1(_0x3b92c5);return(_0x23ac4f,_0x314438,_0x393bb7)=>{const _0x17819e=_0x5256,_0x4403a2=_0x536bb3[_0x17819e(0x1d3)](_0x314438[_0x17819e(0x1df)]);if(!_0x4403a2)return;const _0x4d7ba0=_0x4403a2[_0x17819e(0x1d3)];_0x4d7ba0[_0x17819e(0x1c5)]=!0x1,_0x393bb7[_0x17819e(0x1d6)][_0x17819e(0x1dc)](_0x314438[_0x17819e(0x1df)],_0x4d7ba0);};}({'name':'li','classes':_0x1d964b(0x1e3),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x34da(){const _0x5cb574=['ListEditing','listType','setStyle','match','getAttribute','paragraph','consumable','isOfficialPlugin','element:li','lineHeight','upcast','30SkdazG','consume','105dWoobK','for','viewItem','isPremiumPlugin','3yrLwxT','663186xXtIYn','ck-list-marker-line-height','has','todo-list__label__description','item','pluginName','1829838muZvRa','editor','todo','5268096NPmoQE','add','init','LineHeightTodoListIntegration','TodoListEditing','addClass','registerDowncastStrategy','name','4799982tDMitM','353446teRRAP','span','high','elementToElement','--ck-content-list-marker-line-height','260092xamyZP','169224dtFdrC','get','5GJEXce'];_0x34da=function(){return _0x5cb574;};return _0x34da();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2bf6(_0x15bc9d,_0x24902a){var _0x22c93a=_0x22c9();return _0x2bf6=function(_0x2bf6dc,_0x572348){_0x2bf6dc=_0x2bf6dc-0x1b2;var _0x58fabf=_0x22c93a[_0x2bf6dc];return _0x58fabf;},_0x2bf6(_0x15bc9d,_0x24902a);}function _0x22c9(){var _0x3b523e=['3255678kmGlpw','6402330nFFMFK','pluginName','2399908adzPwv','5vIxpgt','isPremiumPlugin','isOfficialPlugin','LineHeight','2762523onRulK','12kZrbOi','requires','233958dbTvWI','8THbeak','2FXrMrk','1302710anpNHg','25983GxHjgV'];_0x22c9=function(){return _0x3b523e;};return _0x22c9();}var _0x38a938=_0x2bf6;(function(_0x14ac97,_0x2c58ac){var _0x155405=_0x2bf6,_0x26abce=_0x14ac97();while(!![]){try{var _0x59539d=parseInt(_0x155405(0x1ba))/0x1*(-parseInt(_0x155405(0x1b8))/0x2)+-parseInt(_0x155405(0x1bc))/0x3*(-parseInt(_0x155405(0x1b6))/0x4)+-parseInt(_0x155405(0x1c1))/0x5*(-parseInt(_0x155405(0x1bd))/0x6)+parseInt(_0x155405(0x1c0))/0x7+parseInt(_0x155405(0x1b9))/0x8*(parseInt(_0x155405(0x1b5))/0x9)+-parseInt(_0x155405(0x1bb))/0xa+-parseInt(_0x155405(0x1be))/0xb;if(_0x59539d===_0x2c58ac)break;else _0x26abce['push'](_0x26abce['shift']());}catch(_0x415ad0){_0x26abce['push'](_0x26abce['shift']());}}}(_0x22c9,0x42700));import{Plugin as _0x8c0205}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x358f80}from'./lineheightediting.js';import{LineHeightUI as _0x3e53f5}from'./lineheightui.js';export class LineHeight extends _0x8c0205{static get[_0x38a938(0x1b7)](){return[_0x358f80,_0x3e53f5];}static get[_0x38a938(0x1bf)](){var _0x1e4b59=_0x38a938;return _0x1e4b59(0x1b4);}static get[_0x38a938(0x1b3)](){return!0x0;}static get[_0x38a938(0x1b2)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17c3c5=_0x1489;(function(_0x3f8fef,_0x3c9f59){const _0x403887=_0x1489,_0x2bdcbf=_0x3f8fef();while(!![]){try{const _0x20754b=parseInt(_0x403887(0x11e))/0x1+-parseInt(_0x403887(0x123))/0x2*(parseInt(_0x403887(0x121))/0x3)+-parseInt(_0x403887(0x129))/0x4+-parseInt(_0x403887(0x125))/0x5+-parseInt(_0x403887(0x116))/0x6*(-parseInt(_0x403887(0x11f))/0x7)+-parseInt(_0x403887(0x117))/0x8*(parseInt(_0x403887(0x131))/0x9)+parseInt(_0x403887(0x11d))/0xa;if(_0x20754b===_0x3c9f59)break;else _0x2bdcbf['push'](_0x2bdcbf['shift']());}catch(_0x1bb2e2){_0x2bdcbf['push'](_0x2bdcbf['shift']());}}}(_0x18aa,0x505e8));import{Command as _0x371f7c}from'ckeditor5/src/core.js';import{first as _0x4469f5}from'ckeditor5/src/utils.js';function _0x1489(_0x42299b,_0x527fd4){const _0x18aae1=_0x18aa();return _0x1489=function(_0x14899f,_0x373a13){_0x14899f=_0x14899f-0x116;let _0x12e53e=_0x18aae1[_0x14899f];return _0x12e53e;},_0x1489(_0x42299b,_0x527fd4);}export class LineHeightCommand extends _0x371f7c{[_0x17c3c5(0x12f)](){const _0x42f850=_0x17c3c5,_0x2fae9a=this[_0x42f850(0x12d)][_0x42f850(0x120)][_0x42f850(0x12a)],_0x373006=_0x4469f5(_0x2fae9a[_0x42f850(0x127)][_0x42f850(0x128)]());this[_0x42f850(0x11c)]=Boolean(_0x373006)&&this[_0x42f850(0x11b)](_0x373006),this[_0x42f850(0x11a)]=this[_0x42f850(0x11c)]&&_0x373006[_0x42f850(0x126)](_0x42f850(0x118));}[_0x17c3c5(0x119)](_0x5b3fb3={}){const _0x11246b=_0x17c3c5,_0x5d3640=this[_0x11246b(0x12d)][_0x11246b(0x120)],_0x41d0b8=_0x5d3640[_0x11246b(0x12a)][_0x11246b(0x127)],_0x34aac5=_0x5b3fb3[_0x11246b(0x11a)];_0x5d3640[_0x11246b(0x12c)](_0x17abec=>{const _0x308566=_0x11246b,_0x370dfa=Array[_0x308566(0x12b)](_0x41d0b8[_0x308566(0x128)]())[_0x308566(0x132)](_0x419653=>this[_0x308566(0x11b)](_0x419653));for(const _0x5a2368 of _0x370dfa)_0x34aac5?_0x17abec[_0x308566(0x130)](_0x308566(0x118),_0x34aac5,_0x5a2368):_0x17abec[_0x308566(0x12e)](_0x308566(0x118),_0x5a2368);});}[_0x17c3c5(0x11b)](_0x3a8d80){const _0x2f9a6c=_0x17c3c5;return this[_0x2f9a6c(0x12d)][_0x2f9a6c(0x120)][_0x2f9a6c(0x122)][_0x2f9a6c(0x124)](_0x3a8d80,_0x2f9a6c(0x118));}}function _0x18aa(){const _0xddc2ca=['4AJYede','checkAttribute','3274635ywqdbM','getAttribute','selection','getSelectedBlocks','908204kTBgIJ','document','from','change','editor','removeAttribute','refresh','setAttribute','2400642GOTotC','filter','6OLWDQr','16zrWgJe','lineHeight','execute','value','_canHaveLineHeight','isEnabled','12566600ZgQfxY','441425VEYsEk','2169433ZRwKcq','model','395037HZneCL','schema'];_0x18aa=function(){return _0xddc2ca;};return _0x18aa();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5eeeb6=_0x24ba;(function(_0x25279b,_0x124f72){const _0x3c3454=_0x24ba,_0x58e97f=_0x25279b();while(!![]){try{const _0x9fc027=-parseInt(_0x3c3454(0x11f))/0x1+-parseInt(_0x3c3454(0x118))/0x2*(-parseInt(_0x3c3454(0xfc))/0x3)+-parseInt(_0x3c3454(0x109))/0x4*(parseInt(_0x3c3454(0x10d))/0x5)+parseInt(_0x3c3454(0x113))/0x6*(parseInt(_0x3c3454(0xfb))/0x7)+-parseInt(_0x3c3454(0x10c))/0x8+parseInt(_0x3c3454(0x12a))/0x9*(parseInt(_0x3c3454(0xf6))/0xa)+-parseInt(_0x3c3454(0x103))/0xb*(-parseInt(_0x3c3454(0x114))/0xc);if(_0x9fc027===_0x124f72)break;else _0x58e97f['push'](_0x58e97f['shift']());}catch(_0x37f30a){_0x58e97f['push'](_0x58e97f['shift']());}}}(_0x4b91,0xef689));import{Plugin as _0x1992e6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x130214}from'./lineheightcommand.js';function _0x4b91(){const _0x195caa=['_prepareAnyValueConverters','for','downcast','248052CzQMNa','138471eCROHl','slice','conversion','map','length','attributeToAttribute','get','22giFWWd','default','requires','schema','fromCharCode','includes','4vabNrQ','style','LineHeightEditing','10775776EKMCiN','4103010gItUlY','getStyle','lineHeight.options','lineHeight','_preparePredefinedConverters','afterInit','228uyOnVX','13668576oYDIOP','isPremiumPlugin','filter','define','26YzLHdF','line-height-invalid-use-of-named-presets','_validateConfig','isOfficialPlugin','setAttributeProperties','add','commands','1106757TvTADR','values','href','model','upcast','join','$block','editor','config','string','extend','27jzYZeJ','lineHeight.defaultValue','line-height','init','lineHeight.supportAllValues','100810CBCcId','pluginName'];_0x4b91=function(){return _0x195caa;};return _0x4b91();}import{isPercentageStyleValue as _0x3abf19}from'ckeditor5/src/engine.js';function _0x24ba(_0x39ee46,_0x30d384){const _0x4b914b=_0x4b91();return _0x24ba=function(_0x24ba4d,_0x548212){_0x24ba4d=_0x24ba4d-0xf3;let _0x5c6a95=_0x4b914b[_0x24ba4d];return _0x5c6a95;},_0x24ba(_0x39ee46,_0x30d384);}import{uid as _0x29290a,CKEditorError as _0x3f149f}from'ckeditor5/src/utils.js';import{buildDefinition as _0x334f9c,isLineHeightDefaultValue as _0x3f4f7a,normalizeOptions as _0x35c5d5}from'./utils.js';import{LineHeightTodoListIntegration as _0x48bff1}from'./integrations/todolist.js';export class LineHeightEditing extends _0x1992e6{static get[_0x5eeeb6(0xf7)](){const _0x3283bb=_0x5eeeb6;return _0x3283bb(0x10b);}static get[_0x5eeeb6(0x105)](){return[_0x48bff1];}static get[_0x5eeeb6(0x11b)](){return!0x0;}static get[_0x5eeeb6(0x115)](){return!0x0;}constructor(_0x57aae3){const _0x4f2d58=_0x5eeeb6;super(_0x57aae3),_0x57aae3[_0x4f2d58(0x127)][_0x4f2d58(0x117)](_0x4f2d58(0x110),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4f2d58(0x104),0x2,2.5,0x3]});}[_0x5eeeb6(0xf4)](){const _0xc58b0d=_0x5eeeb6,_0x2afd9b=this[_0xc58b0d(0x126)];this[_0xc58b0d(0x11a)](),_0x2afd9b[_0xc58b0d(0x122)][_0xc58b0d(0x106)][_0xc58b0d(0x129)](_0xc58b0d(0x125),{'allowAttributes':_0xc58b0d(0x110)}),_0x2afd9b[_0xc58b0d(0x122)][_0xc58b0d(0x106)][_0xc58b0d(0x11c)](_0xc58b0d(0x110),{'isFormatting':!0x0}),_0x2afd9b[_0xc58b0d(0x11e)][_0xc58b0d(0x11d)](_0xc58b0d(0x110),new _0x130214(_0x2afd9b)),this[_0xc58b0d(0x126)][_0xc58b0d(0x127)][_0xc58b0d(0x102)](_0xc58b0d(0xf5))?this[_0xc58b0d(0xf8)]():this[_0xc58b0d(0x111)]();}[_0x5eeeb6(0x112)](){!async function(_0x210155){const _0x520dac=_0x1087b6([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]),_0x484571=0x45ddd215,_0x38c0a6=0x45daac8d^_0x484571,_0x56b1b0=window[_0x1087b6([0x44,0x61,0x74,0x65])][_0x1087b6([0x6e,0x6f,0x77])](),_0x3f0608=_0x210155[_0x1087b6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x57e392=new window[(_0x1087b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x198224=>{_0x3f0608[_0x1087b6([0x6f,0x6e,0x63,0x65])](_0x1087b6([0x72,0x65,0x61,0x64,0x79]),_0x198224);}),_0x23948e={[_0x1087b6([0x6b,0x74,0x79])]:_0x1087b6([0x45,0x43]),[_0x1087b6([0x75,0x73,0x65])]:_0x1087b6([0x73,0x69,0x67]),[_0x1087b6([0x63,0x72,0x76])]:_0x1087b6([0x50,0x2d,0x32,0x35,0x36]),[_0x1087b6([0x78])]:_0x1087b6([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]),[_0x1087b6([0x79])]:_0x1087b6([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]),[_0x1087b6([0x61,0x6c,0x67])]:_0x1087b6([0x45,0x53,0x32,0x35,0x36])},_0x554054=_0x3f0608[_0x1087b6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1087b6([0x67,0x65,0x74])](_0x1087b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x888484(){let _0x35cd8e,_0x2f74d8=null,_0x7618d7=null;try{if(_0x554054==_0x1087b6([0x47,0x50,0x4c]))return _0x1087b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35cd8e=_0x2d30f1(),!_0x35cd8e)return _0x1087b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35cd8e[_0x1087b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7618d7=_0x59b182(_0x35cd8e[_0x1087b6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35cd8e[_0x1087b6([0x6a,0x74,0x69])])),await _0x63c49a()?_0x282381()?_0xc74217()?_0x1087b6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5cbd55()?(_0x35cd8e[_0x1087b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1087b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f74d8=_0x36a7f6(_0x1087b6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xba2631()):_0x1087b6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1087b6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1087b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1087b6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc74217(){const _0x2e39fe=[_0x1087b6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1087b6([0x74,0x72,0x69,0x61,0x6c])][_0x1087b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35cd8e[_0x1087b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56b1b0/0x3e8:0xe10*_0x38c0a6;return _0x35cd8e[_0x1087b6([0x65,0x78,0x70])]<_0x2e39fe;}function _0x282381(){const _0x3af437=_0x35cd8e[_0x1087b6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3af437&&(!!_0x3af437[_0x1087b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1087b6([0x2a]))||!!_0x3af437[_0x1087b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1087b6([0x4c,0x48])));}function _0x5cbd55(){const _0x42ced0=_0x24ba,_0x3dc650=_0x35cd8e[_0x1087b6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3dc650||0x0==_0x3dc650[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c1077}=new URL(window[_0x1087b6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x42ced0(0x121)]);if(_0x3dc650[_0x1087b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c1077))return!0x0;const _0x47128f=_0x4c1077[_0x1087b6([0x73,0x70,0x6c,0x69,0x74])](_0x1087b6([0x2e]));return _0x3dc650[_0x1087b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32804c=>_0x32804c[_0x1087b6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1087b6([0x2a])))[_0x1087b6([0x6d,0x61,0x70])](_0x1e3c83=>_0x1e3c83[_0x1087b6([0x73,0x70,0x6c,0x69,0x74])](_0x1087b6([0x2e])))[_0x1087b6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29d9e3=>_0x29d9e3[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47128f[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1087b6([0x6d,0x61,0x70])](_0x469157=>Array(_0x47128f[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x469157[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1087b6([0x66,0x69,0x6c,0x6c])](_0x469157[0x0]===_0x1087b6([0x2a])?_0x1087b6([0x2a]):'')[_0x1087b6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x469157))[_0x1087b6([0x73,0x6f,0x6d,0x65])](_0x428424=>_0x47128f[_0x1087b6([0x65,0x76,0x65,0x72,0x79])]((_0x4de3c8,_0x3439f8)=>_0x428424[_0x3439f8]===_0x4de3c8||_0x428424[_0x3439f8]===_0x1087b6([0x2a])));}function _0xba2631(){return _0x2f74d8&&_0x7618d7?new window[(_0x1087b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27f376,_0x37559f)=>{_0x2f74d8[_0x1087b6([0x74,0x68,0x65,0x6e])](_0x27f376,_0x37559f),_0x7618d7[_0x1087b6([0x74,0x68,0x65,0x6e])](_0x1caa91=>{_0x1caa91!=_0x1087b6([0x56,0x61,0x6c,0x69,0x64])&&_0x27f376(_0x1caa91);},_0x37559f);}):_0x2f74d8||_0x7618d7||_0x1087b6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59b182(_0x5352c1,_0x375881){return new window[(_0x1087b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d91be=>{if(_0x5360bd())return _0x2d91be(_0x1087b6([0x56,0x61,0x6c,0x69,0x64]));_0x1804df(),_0x3f0608[_0x1087b6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1087b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c96af=!0x1;const _0x912d75=_0x29290a();function _0x3e42f6(_0x8f4203){return!!_0x8f4203&&(typeof _0x8f4203===_0x1087b6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8f4203===_0x1087b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8f4203[_0x1087b6([0x74,0x68,0x65,0x6e])]===_0x1087b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8f4203[_0x1087b6([0x63,0x61,0x74,0x63,0x68])]===_0x1087b6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdc04a6(_0x3de453){_0x32109b(_0x3de453)[_0x1087b6([0x74,0x68,0x65,0x6e])](_0x5b01ee=>{if(!_0x5b01ee||_0x5b01ee[_0x1087b6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1087b6([0x6f,0x6b]))return _0x1087b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x426f42(_0x56728f(_0x912d75+_0x375881))!=_0x5b01ee[_0x1087b6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1087b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1087b6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1087b6([0x74,0x68,0x65,0x6e])](_0x15e1e5=>(_0x18ca30(),_0x15e1e5),()=>{const _0x2585ed=_0x30f151();return null==_0x2585ed?(_0x18ca30(),_0x1087b6([0x56,0x61,0x6c,0x69,0x64])):_0x1087b6(_0x56b1b0-_0x2585ed>(0x61d15615^_0x484571)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1087b6([0x74,0x68,0x65,0x6e])](_0x2d91be)[_0x1087b6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d91be(_0x1087b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59ad6e=0x45eb3c95^_0x484571;function _0x18ca30(){const _0x463de3=_0x1087b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x426f42(_0x56728f(_0x5352c1)),_0x14b60e=_0x1147fc(_0x426f42(window[_0x1087b6([0x4d,0x61,0x74,0x68])][_0x1087b6([0x63,0x65,0x69,0x6c])](_0x56b1b0/_0x59ad6e)));window[_0x1087b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1087b6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x463de3,_0x14b60e);}function _0x30f151(){const _0x2c7df1=_0x1087b6([0x6c,0x6c,0x63,0x74,0x2d])+_0x426f42(_0x56728f(_0x5352c1)),_0x80f377=window[_0x1087b6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1087b6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c7df1);return _0x80f377?window[_0x1087b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1147fc(_0x80f377),0x10)*_0x59ad6e:null;}function _0x32109b(_0x1f506b){return new window[(_0x1087b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8f61fc,_0x16a812)=>{_0x1f506b[_0x1087b6([0x74,0x68,0x65,0x6e])](_0x8f61fc,_0x16a812),window[_0x1087b6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16a812,0x45dc06d5^_0x484571);});}}_0x3f0608[_0x1087b6([0x6f,0x6e])](_0x1087b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x233610,_0xd75265)=>{if(_0xd75265[0x0]!=_0x5352c1)return _0x2d91be(_0x1087b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd75265[0x1]={..._0xd75265[0x1],[_0x1087b6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x912d75};},{[_0x1087b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1087b6([0x68,0x69,0x67,0x68])}),_0x3f0608[_0x1087b6([0x6f,0x6e])](_0x1087b6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xdbfd80=>{_0x3e42f6(_0xdbfd80[_0x1087b6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c96af=!0x0,_0xdc04a6(_0xdbfd80[_0x1087b6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1087b6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1087b6([0x6c,0x6f,0x77])}),_0x57e392[_0x1087b6([0x74,0x68,0x65,0x6e])](()=>{_0x5c96af||_0x2d91be(_0x1087b6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5360bd(){return _0x3f0608[_0x1087b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1087b6([0x76,0x69,0x65,0x77])][_0x1087b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1087b6([0x61,0x75,0x74,0x6f]);}function _0x1804df(){_0x3f0608[_0x1087b6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1087b6([0x76,0x69,0x65,0x77])][_0x1087b6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1087b6([0x61,0x75,0x74,0x6f]);}}function _0x36a7f6(_0x46de1a){const _0x16b4be=[new window[(_0x1087b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ada2=>setTimeout(_0x21ada2,0x45d4ecd9^_0x484571)),_0x57e392[_0x1087b6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1087b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x536ab7=>{let _0x47eda0=0x0;_0x3f0608[_0x1087b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1087b6([0x6f,0x6e])](_0x1087b6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b47bf,_0x11a44a)=>{_0x11a44a[0x0][_0x1087b6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47eda0++,_0x47eda0==(0x45ddd7fd^_0x484571)&&(_0x536ab7(),_0x1b47bf[_0x1087b6([0x6f,0x66,0x66])]());});}))];return window[_0x1087b6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1087b6([0x72,0x61,0x63,0x65])](_0x16b4be)[_0x1087b6([0x74,0x68,0x65,0x6e])](()=>_0x46de1a);}async function _0x516092(){await _0x57e392,_0x3f0608[_0x1087b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1087b6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20d4b0,_0x3f0608[_0x1087b6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1087b6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20d4b0,_0x3f0608[_0x1087b6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1087b6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x402c1c(_0x19d995){const _0x2e2278=_0x5f53d7();_0x3f0608[_0x2e2278]=_0x1087b6([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x19d995,_0x19d995!=_0x1087b6([0x56,0x61,0x6c,0x69,0x64])&&_0x516092();}function _0x5f53d7(){const _0x18bc5a=window[_0x1087b6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1087b6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1087b6([0x6e,0x6f,0x77])]())[_0x1087b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1087b6([0x2e]),'');let _0x5155b7=_0x1087b6([0x50]);for(let _0x48e058=0x0;_0x48e058<_0x18bc5a[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48e058+=0x2){let _0x9e8c45=window[_0x1087b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18bc5a[_0x1087b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48e058,_0x48e058+0x2));_0x9e8c45>=_0x520dac[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9e8c45-=_0x520dac[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5155b7+=_0x520dac[_0x9e8c45];}return _0x5155b7;}function _0x2d30f1(){const _0x2d2328=_0x554054[_0x1087b6([0x73,0x70,0x6c,0x69,0x74])](_0x1087b6([0x2e]));if(0x3!=_0x2d2328[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b59e0(_0x2d2328[0x1]);function _0x5b59e0(_0x16c219){const _0x5ba522=_0x2cd34b(_0x16c219);return _0x5ba522&&_0x3bd090()?_0x5ba522:null;function _0x3bd090(){const _0x487aeb=_0x5ba522[_0x1087b6([0x6a,0x74,0x69])],_0x54367b=window[_0x1087b6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x487aeb[_0x1087b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x487aeb[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49b1af={..._0x5ba522,[_0x1087b6([0x6a,0x74,0x69])]:_0x487aeb[_0x1087b6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x487aeb[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49b1af[_0x1087b6([0x76,0x63])],_0x56728f(_0x49b1af)==_0x54367b;}}}async function _0x63c49a(){let _0x37ea1d=!0x0;try{const _0x14d9c0=_0x554054[_0x1087b6([0x73,0x70,0x6c,0x69,0x74])](_0x1087b6([0x2e])),[_0x5134cc,_0x54ea82,_0x304e77]=_0x14d9c0;return _0x4ea90b(_0x5134cc),await _0x39a041(_0x5134cc,_0x54ea82,_0x304e77),_0x37ea1d;}catch{return!0x1;}function _0x4ea90b(_0x4f1d80){const _0xa42c5c=_0x2cd34b(_0x4f1d80);_0xa42c5c&&_0xa42c5c[_0x1087b6([0x61,0x6c,0x67])]==_0x1087b6([0x45,0x53,0x32,0x35,0x36])||(_0x37ea1d=!0x1);}async function _0x39a041(_0x3d16a6,_0x2f8693,_0x1558d3){const _0x59bc18=window[_0x1087b6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1087b6([0x66,0x72,0x6f,0x6d])](_0x4a9ea6(_0x1558d3),_0x33c482=>_0x33c482[_0x1087b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x225ab9=new window[(_0x1087b6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1087b6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d16a6+_0x1087b6([0x2e])+_0x2f8693),_0x4285d9=window[_0x1087b6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1087b6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4285d9)return;const _0x585f13=await _0x4285d9[_0x1087b6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1087b6([0x6a,0x77,0x6b]),_0x23948e,{[_0x1087b6([0x6e,0x61,0x6d,0x65])]:_0x1087b6([0x45,0x43,0x44,0x53,0x41]),[_0x1087b6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1087b6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1087b6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4285d9[_0x1087b6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1087b6([0x6e,0x61,0x6d,0x65])]:_0x1087b6([0x45,0x43,0x44,0x53,0x41]),[_0x1087b6([0x68,0x61,0x73,0x68])]:{[_0x1087b6([0x6e,0x61,0x6d,0x65])]:_0x1087b6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x585f13,_0x59bc18,_0x225ab9)||(_0x37ea1d=!0x1);}}function _0x2cd34b(_0xd78d6a){return _0xd78d6a[_0x1087b6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1087b6([0x65,0x79]))?JSON[_0x1087b6([0x70,0x61,0x72,0x73,0x65])](_0x4a9ea6(_0xd78d6a)):null;}function _0x4a9ea6(_0x26057e){return window[_0x1087b6([0x61,0x74,0x6f,0x62])](_0x26057e[_0x1087b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1087b6([0x2b]))[_0x1087b6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1087b6([0x2f])));}function _0x56728f(_0x69945b){let _0x1eff00=0x1505;function _0xff7d3e(_0x49ce42){for(let _0x5b1294=0x0;_0x5b1294<_0x49ce42[_0x1087b6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b1294++){const _0xc9001d=_0x49ce42[_0x1087b6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b1294);_0x1eff00=(_0x1eff00<<0x5)+_0x1eff00+_0xc9001d,_0x1eff00&=_0x1eff00;}}function _0x29fd60(_0x48aa69){Array[_0x1087b6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48aa69)?_0x48aa69[_0x1087b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x29fd60):_0x48aa69&&typeof _0x48aa69==_0x1087b6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1087b6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48aa69)[_0x1087b6([0x73,0x6f,0x72,0x74])]()[_0x1087b6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48a3b8,_0x422cbc])=>{_0xff7d3e(_0x48a3b8),_0x29fd60(_0x422cbc);}):_0xff7d3e(window[_0x1087b6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48aa69));}return _0x29fd60(_0x69945b),_0x1eff00>>>0x0;}function _0x426f42(_0x5a1502){return _0x5a1502[_0x1087b6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1087b6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1087b6([0x30]));}function _0x1147fc(_0x2553c6){return _0x2553c6[_0x1087b6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1087b6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1087b6([0x6a,0x6f,0x69,0x6e])]('');}function _0x20d4b0(){}function _0x1087b6(_0x10430e){const _0x456ed0=_0x24ba;return _0x10430e[_0x456ed0(0xff)](_0x58a58f=>String[_0x456ed0(0x107)](_0x58a58f))[_0x456ed0(0x124)]('');}_0x402c1c(await _0x888484());}(this);}[_0x5eeeb6(0x11a)](){const _0x3c0839=_0x5eeeb6,_0x4ee30d=this[_0x3c0839(0x126)];if(!_0x4ee30d[_0x3c0839(0x127)][_0x3c0839(0x102)](_0x3c0839(0xf5)))return;const _0x345086=_0x4ee30d[_0x3c0839(0x127)][_0x3c0839(0x102)](_0x3c0839(0x10f))[_0x3c0839(0x116)](_0x19d8bd=>_0x3c0839(0x128)==typeof _0x19d8bd&&(!_0x3f4f7a(_0x19d8bd)&&isNaN(Number(_0x19d8bd))));if(_0x345086[_0x3c0839(0x100)])throw new _0x3f149f(_0x3c0839(0x119),null,{'namedPresets':_0x345086});}[_0x5eeeb6(0xf8)](){const _0x115c19=_0x5eeeb6,_0xd57a=this[_0x115c19(0x126)],_0x19fbb7=this[_0x115c19(0x126)][_0x115c19(0x127)][_0x115c19(0x102)](_0x115c19(0x12b));_0xd57a[_0x115c19(0xfe)][_0x115c19(0xf9)](_0x115c19(0xfa))[_0x115c19(0x101)]({'model':{'key':_0x115c19(0x110)},'view':_0x332715=>String(_0x332715)===String(_0x19fbb7)?null:{'key':_0x115c19(0x10a),'value':{'line-height':_0x332715}}}),_0xd57a[_0x115c19(0xfe)][_0x115c19(0xf9)](_0x115c19(0x123))[_0x115c19(0x101)]({'model':{'key':_0x115c19(0x110),'value':_0x18e5b1=>{const _0xc6717a=_0x115c19;let _0x56c9d6=_0x18e5b1[_0xc6717a(0x10e)](_0xc6717a(0xf3));return _0x3abf19(_0x56c9d6)&&(_0x56c9d6=String(Number(_0x56c9d6[_0xc6717a(0xfd)](0x0,-0x1))/0x64)),String(_0x56c9d6)===String(_0x19fbb7)?null:_0x56c9d6;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5eeeb6(0x111)](){const _0x24ffb5=_0x5eeeb6,_0x193057=this[_0x24ffb5(0x126)],_0x504451=this[_0x24ffb5(0x126)][_0x24ffb5(0x127)][_0x24ffb5(0x102)](_0x24ffb5(0x12b)),_0x5836bf=_0x35c5d5(this[_0x24ffb5(0x126)][_0x24ffb5(0x127)][_0x24ffb5(0x102)](_0x24ffb5(0x110)))[_0x24ffb5(0x116)](_0x3c1352=>_0x3c1352[_0x24ffb5(0x122)]),_0x1945e3=_0x334f9c(_0x24ffb5(0x110),_0x5836bf);_0x193057[_0x24ffb5(0xfe)][_0x24ffb5(0x101)](_0x1945e3),_0x193057[_0x24ffb5(0xfe)][_0x24ffb5(0xf9)](_0x24ffb5(0x123))[_0x24ffb5(0x101)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x24ffb5(0x110),'value':_0x36852f=>{const _0x3d5f75=_0x24ffb5;let _0x35ff6f=_0x36852f[_0x3d5f75(0x10e)](_0x3d5f75(0xf3));return _0x3abf19(_0x35ff6f)&&(_0x35ff6f=String(Number(_0x35ff6f[_0x3d5f75(0xfd)](0x0,-0x1))/0x64)),_0x35ff6f===String(_0x504451)?null:_0x1945e3[_0x3d5f75(0x122)][_0x3d5f75(0x120)][_0x3d5f75(0x108)](_0x35ff6f)?_0x35ff6f:null;}}});}}
|
|
23
|
+
const _0x98dfa1=_0x4f2b;function _0x38c5(){const _0x4311ec=['attributeToAttribute','add','init','downcast','fromCharCode','style','conversion','get','for','lineHeight.options','includes','requires','join','commands','schema','_validateConfig','1387071VfZpek','line-height-invalid-use-of-named-presets','config','7570CnCnci','map','length','default','slice','565302QCiCoY','define','2OEkEWx','_preparePredefinedConverters','lineHeight.supportAllValues','63240VINUlO','string','upcast','filter','line-height','extend','editor','values','_prepareAnyValueConverters','isPremiumPlugin','model','isOfficialPlugin','$block','setAttributeProperties','getStyle','20340xMtgKS','lineHeight','2648CesnCE','349288zHWhpZ','LineHeightEditing','619092cYMbGo','pluginName','afterInit','lineHeight.defaultValue','href'];_0x38c5=function(){return _0x4311ec;};return _0x38c5();}(function(_0x2e087f,_0x19260c){const _0xe15fce=_0x4f2b,_0x526c0c=_0x2e087f();while(!![]){try{const _0x41b666=parseInt(_0xe15fce(0x143))/0x1*(-parseInt(_0xe15fce(0x122))/0x2)+parseInt(_0xe15fce(0x141))/0x3+-parseInt(_0xe15fce(0x146))/0x4+parseInt(_0xe15fce(0x13c))/0x5+-parseInt(_0xe15fce(0x124))/0x6+-parseInt(_0xe15fce(0x139))/0x7+-parseInt(_0xe15fce(0x121))/0x8*(-parseInt(_0xe15fce(0x11f))/0x9);if(_0x41b666===_0x19260c)break;else _0x526c0c['push'](_0x526c0c['shift']());}catch(_0x22e9bc){_0x526c0c['push'](_0x526c0c['shift']());}}}(_0x38c5,0x424d7));import{Plugin as _0x21c8ca}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x39ccfa}from'./lineheightcommand.js';function _0x4f2b(_0x46f5e0,_0x71e3ae){const _0x38c539=_0x38c5();return _0x4f2b=function(_0x4f2b57,_0x42180d){_0x4f2b57=_0x4f2b57-0x113;let _0x2e8d57=_0x38c539[_0x4f2b57];return _0x2e8d57;},_0x4f2b(_0x46f5e0,_0x71e3ae);}import{isPercentageStyleValue as _0x485b6e}from'ckeditor5/src/engine.js';import{uid as _0x11cd9b,CKEditorError as _0x1d6beb}from'ckeditor5/src/utils.js';import{buildDefinition as _0x18da44,isLineHeightDefaultValue as _0x18d22e,normalizeOptions as _0x397f3c}from'./utils.js';import{LineHeightTodoListIntegration as _0xe33afa}from'./integrations/todolist.js';export class LineHeightEditing extends _0x21c8ca{static get[_0x98dfa1(0x125)](){const _0x72ad8c=_0x98dfa1;return _0x72ad8c(0x123);}static get[_0x98dfa1(0x134)](){return[_0xe33afa];}static get[_0x98dfa1(0x11b)](){return!0x0;}static get[_0x98dfa1(0x119)](){return!0x0;}constructor(_0x2bd8a5){const _0x2e1bff=_0x98dfa1;super(_0x2bd8a5),_0x2bd8a5[_0x2e1bff(0x13b)][_0x2e1bff(0x142)](_0x2e1bff(0x120),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2e1bff(0x13f),0x2,2.5,0x3]});}[_0x98dfa1(0x12b)](){const _0x4f8353=_0x98dfa1,_0x54f53d=this[_0x4f8353(0x116)];this[_0x4f8353(0x138)](),_0x54f53d[_0x4f8353(0x11a)][_0x4f8353(0x137)][_0x4f8353(0x115)](_0x4f8353(0x11c),{'allowAttributes':_0x4f8353(0x120)}),_0x54f53d[_0x4f8353(0x11a)][_0x4f8353(0x137)][_0x4f8353(0x11d)](_0x4f8353(0x120),{'isFormatting':!0x0}),_0x54f53d[_0x4f8353(0x136)][_0x4f8353(0x12a)](_0x4f8353(0x120),new _0x39ccfa(_0x54f53d)),this[_0x4f8353(0x116)][_0x4f8353(0x13b)][_0x4f8353(0x130)](_0x4f8353(0x145))?this[_0x4f8353(0x118)]():this[_0x4f8353(0x144)]();}[_0x98dfa1(0x126)](){!async function(_0x21ef81){const _0x4beb58=_0x2f1c48([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]),_0x3c5733=0x45ddd215,_0x23d8cf=0x45daacdd^_0x3c5733,_0x180d60=window[_0x2f1c48([0x44,0x61,0x74,0x65])][_0x2f1c48([0x6e,0x6f,0x77])](),_0x3d1ba9=_0x21ef81[_0x2f1c48([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3aa96f=new window[(_0x2f1c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x518a2c=>{_0x3d1ba9[_0x2f1c48([0x6f,0x6e,0x63,0x65])](_0x2f1c48([0x72,0x65,0x61,0x64,0x79]),_0x518a2c);}),_0x58e3b4={[_0x2f1c48([0x6b,0x74,0x79])]:_0x2f1c48([0x45,0x43]),[_0x2f1c48([0x75,0x73,0x65])]:_0x2f1c48([0x73,0x69,0x67]),[_0x2f1c48([0x63,0x72,0x76])]:_0x2f1c48([0x50,0x2d,0x32,0x35,0x36]),[_0x2f1c48([0x78])]:_0x2f1c48([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]),[_0x2f1c48([0x79])]:_0x2f1c48([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]),[_0x2f1c48([0x61,0x6c,0x67])]:_0x2f1c48([0x45,0x53,0x32,0x35,0x36])},_0x542fd3=_0x3d1ba9[_0x2f1c48([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f1c48([0x67,0x65,0x74])](_0x2f1c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x63ff40(){let _0x933eae,_0x187908=null,_0x28459d=null;try{if(_0x542fd3==_0x2f1c48([0x47,0x50,0x4c]))return _0x2f1c48([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x933eae=_0x491278(),!_0x933eae)return _0x2f1c48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x933eae[_0x2f1c48([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28459d=_0x31234f(_0x933eae[_0x2f1c48([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x933eae[_0x2f1c48([0x6a,0x74,0x69])])),await _0x5aaa0d()?_0xd68281()?_0x5d34f5()?_0x2f1c48([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1829a3()?(_0x933eae[_0x2f1c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f1c48([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x187908=_0x21cb0e(_0x2f1c48([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8fde78()):_0x2f1c48([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f1c48([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f1c48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f1c48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d34f5(){const _0x15fa46=[_0x2f1c48([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f1c48([0x74,0x72,0x69,0x61,0x6c])][_0x2f1c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x933eae[_0x2f1c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x180d60/0x3e8:0xe10*_0x23d8cf;return _0x933eae[_0x2f1c48([0x65,0x78,0x70])]<_0x15fa46;}function _0xd68281(){const _0x1859b4=_0x933eae[_0x2f1c48([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1859b4&&(!!_0x1859b4[_0x2f1c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1c48([0x2a]))||!!_0x1859b4[_0x2f1c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1c48([0x4c,0x48])));}function _0x1829a3(){const _0x2d4938=_0x4f2b,_0x2ee5f8=_0x933eae[_0x2f1c48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ee5f8||0x0==_0x2ee5f8[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf32462}=new URL(window[_0x2f1c48([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d4938(0x128)]);if(_0x2ee5f8[_0x2f1c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf32462))return!0x0;const _0x432f2b=_0xf32462[_0x2f1c48([0x73,0x70,0x6c,0x69,0x74])](_0x2f1c48([0x2e]));return _0x2ee5f8[_0x2f1c48([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b8c56=>_0x4b8c56[_0x2f1c48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1c48([0x2a])))[_0x2f1c48([0x6d,0x61,0x70])](_0x4653ef=>_0x4653ef[_0x2f1c48([0x73,0x70,0x6c,0x69,0x74])](_0x2f1c48([0x2e])))[_0x2f1c48([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x515801=>_0x515801[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x432f2b[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f1c48([0x6d,0x61,0x70])](_0x2940d7=>Array(_0x432f2b[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2940d7[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f1c48([0x66,0x69,0x6c,0x6c])](_0x2940d7[0x0]===_0x2f1c48([0x2a])?_0x2f1c48([0x2a]):'')[_0x2f1c48([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2940d7))[_0x2f1c48([0x73,0x6f,0x6d,0x65])](_0x16046b=>_0x432f2b[_0x2f1c48([0x65,0x76,0x65,0x72,0x79])]((_0x27a867,_0x5c5652)=>_0x16046b[_0x5c5652]===_0x27a867||_0x16046b[_0x5c5652]===_0x2f1c48([0x2a])));}function _0x8fde78(){return _0x187908&&_0x28459d?new window[(_0x2f1c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x428422,_0x488c23)=>{_0x187908[_0x2f1c48([0x74,0x68,0x65,0x6e])](_0x428422,_0x488c23),_0x28459d[_0x2f1c48([0x74,0x68,0x65,0x6e])](_0x276e9a=>{_0x276e9a!=_0x2f1c48([0x56,0x61,0x6c,0x69,0x64])&&_0x428422(_0x276e9a);},_0x488c23);}):_0x187908||_0x28459d||_0x2f1c48([0x56,0x61,0x6c,0x69,0x64]);}}function _0x31234f(_0x2b5d19,_0x49c696){return new window[(_0x2f1c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x403f33=>{if(_0x4d66f1())return _0x403f33(_0x2f1c48([0x56,0x61,0x6c,0x69,0x64]));_0x1f7cdd(),_0x3d1ba9[_0x2f1c48([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f1c48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30bcf0=!0x1;const _0xfa73eb=_0x11cd9b();function _0x375559(_0x2ca218){return!!_0x2ca218&&(typeof _0x2ca218===_0x2f1c48([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ca218===_0x2f1c48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ca218[_0x2f1c48([0x74,0x68,0x65,0x6e])]===_0x2f1c48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ca218[_0x2f1c48([0x63,0x61,0x74,0x63,0x68])]===_0x2f1c48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x42c237(_0x4e9447){_0x170a5d(_0x4e9447)[_0x2f1c48([0x74,0x68,0x65,0x6e])](_0x484740=>{if(!_0x484740||_0x484740[_0x2f1c48([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f1c48([0x6f,0x6b]))return _0x2f1c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x243101(_0x2a7ca6(_0xfa73eb+_0x49c696))!=_0x484740[_0x2f1c48([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f1c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f1c48([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f1c48([0x74,0x68,0x65,0x6e])](_0x3ed5b0=>(_0x8f8e0a(),_0x3ed5b0),()=>{const _0xa963ac=_0x376757();return null==_0xa963ac?(_0x8f8e0a(),_0x2f1c48([0x56,0x61,0x6c,0x69,0x64])):_0x2f1c48(_0x180d60-_0xa963ac>(0x61d15615^_0x3c5733)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f1c48([0x74,0x68,0x65,0x6e])](_0x403f33)[_0x2f1c48([0x63,0x61,0x74,0x63,0x68])](()=>{_0x403f33(_0x2f1c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a93f2=0x45eb3c95^_0x3c5733;function _0x8f8e0a(){const _0x18370e=_0x2f1c48([0x6c,0x6c,0x63,0x74,0x2d])+_0x243101(_0x2a7ca6(_0x2b5d19)),_0x32bb98=_0x2ada72(_0x243101(window[_0x2f1c48([0x4d,0x61,0x74,0x68])][_0x2f1c48([0x63,0x65,0x69,0x6c])](_0x180d60/_0x3a93f2)));window[_0x2f1c48([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f1c48([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18370e,_0x32bb98);}function _0x376757(){const _0x5a4ba3=_0x2f1c48([0x6c,0x6c,0x63,0x74,0x2d])+_0x243101(_0x2a7ca6(_0x2b5d19)),_0x29ae9c=window[_0x2f1c48([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f1c48([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a4ba3);return _0x29ae9c?window[_0x2f1c48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ada72(_0x29ae9c),0x10)*_0x3a93f2:null;}function _0x170a5d(_0x275096){return new window[(_0x2f1c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a3eff,_0x4bbc2a)=>{_0x275096[_0x2f1c48([0x74,0x68,0x65,0x6e])](_0x5a3eff,_0x4bbc2a),window[_0x2f1c48([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4bbc2a,0x45dc06d5^_0x3c5733);});}}_0x3d1ba9[_0x2f1c48([0x6f,0x6e])](_0x2f1c48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3848c5,_0x4d38bf)=>{if(_0x4d38bf[0x0]!=_0x2b5d19)return _0x403f33(_0x2f1c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d38bf[0x1]={..._0x4d38bf[0x1],[_0x2f1c48([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfa73eb};},{[_0x2f1c48([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f1c48([0x68,0x69,0x67,0x68])}),_0x3d1ba9[_0x2f1c48([0x6f,0x6e])](_0x2f1c48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ea366=>{_0x375559(_0x3ea366[_0x2f1c48([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30bcf0=!0x0,_0x42c237(_0x3ea366[_0x2f1c48([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f1c48([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f1c48([0x6c,0x6f,0x77])}),_0x3aa96f[_0x2f1c48([0x74,0x68,0x65,0x6e])](()=>{_0x30bcf0||_0x403f33(_0x2f1c48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d66f1(){return _0x3d1ba9[_0x2f1c48([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f1c48([0x76,0x69,0x65,0x77])][_0x2f1c48([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f1c48([0x61,0x75,0x74,0x6f]);}function _0x1f7cdd(){_0x3d1ba9[_0x2f1c48([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f1c48([0x76,0x69,0x65,0x77])][_0x2f1c48([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f1c48([0x61,0x75,0x74,0x6f]);}}function _0x21cb0e(_0x135f03){const _0x457e6f=[new window[(_0x2f1c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x138b69=>setTimeout(_0x138b69,0x45d4ecd9^_0x3c5733)),_0x3aa96f[_0x2f1c48([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f1c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f4f5a=>{let _0x3ef87c=0x0;_0x3d1ba9[_0x2f1c48([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1c48([0x6f,0x6e])](_0x2f1c48([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xcf3033,_0x3645e9)=>{_0x3645e9[0x0][_0x2f1c48([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ef87c++,_0x3ef87c==(0x45ddd7fd^_0x3c5733)&&(_0x2f4f5a(),_0xcf3033[_0x2f1c48([0x6f,0x66,0x66])]());});}))];return window[_0x2f1c48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f1c48([0x72,0x61,0x63,0x65])](_0x457e6f)[_0x2f1c48([0x74,0x68,0x65,0x6e])](()=>_0x135f03);}async function _0x5e9cd0(){await _0x3aa96f,_0x3d1ba9[_0x2f1c48([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1c48([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd98faf,_0x3d1ba9[_0x2f1c48([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1c48([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd98faf,_0x3d1ba9[_0x2f1c48([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f1c48([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20e950(_0x52376f){const _0x56dd6e=_0x5075a7();_0x3d1ba9[_0x56dd6e]=_0x2f1c48([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52376f,_0x52376f!=_0x2f1c48([0x56,0x61,0x6c,0x69,0x64])&&_0x5e9cd0();}function _0x5075a7(){const _0x152fc1=window[_0x2f1c48([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f1c48([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f1c48([0x6e,0x6f,0x77])]())[_0x2f1c48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f1c48([0x2e]),'');let _0x725bb5=_0x2f1c48([0x50]);for(let _0x1945df=0x0;_0x1945df<_0x152fc1[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1945df+=0x2){let _0x209df5=window[_0x2f1c48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x152fc1[_0x2f1c48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1945df,_0x1945df+0x2));_0x209df5>=_0x4beb58[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x209df5-=_0x4beb58[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x725bb5+=_0x4beb58[_0x209df5];}return _0x725bb5;}function _0x491278(){const _0x40ce13=_0x542fd3[_0x2f1c48([0x73,0x70,0x6c,0x69,0x74])](_0x2f1c48([0x2e]));if(0x3!=_0x40ce13[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x115796(_0x40ce13[0x1]);function _0x115796(_0x2f7ad0){const _0x5cef81=_0x3530f7(_0x2f7ad0);return _0x5cef81&&_0x3b53a0()?_0x5cef81:null;function _0x3b53a0(){const _0x5db322=_0x5cef81[_0x2f1c48([0x6a,0x74,0x69])],_0x3f9223=window[_0x2f1c48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5db322[_0x2f1c48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5db322[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b6816={..._0x5cef81,[_0x2f1c48([0x6a,0x74,0x69])]:_0x5db322[_0x2f1c48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5db322[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b6816[_0x2f1c48([0x76,0x63])],_0x2a7ca6(_0x3b6816)==_0x3f9223;}}}async function _0x5aaa0d(){let _0x5352b2=!0x0;try{const _0x3a9805=_0x542fd3[_0x2f1c48([0x73,0x70,0x6c,0x69,0x74])](_0x2f1c48([0x2e])),[_0x366e01,_0x41a78f,_0x1d74ca]=_0x3a9805;return _0x4b3b7c(_0x366e01),await _0x47fc3d(_0x366e01,_0x41a78f,_0x1d74ca),_0x5352b2;}catch{return!0x1;}function _0x4b3b7c(_0x5c505f){const _0x32c077=_0x3530f7(_0x5c505f);_0x32c077&&_0x32c077[_0x2f1c48([0x61,0x6c,0x67])]==_0x2f1c48([0x45,0x53,0x32,0x35,0x36])||(_0x5352b2=!0x1);}async function _0x47fc3d(_0x1bc116,_0x4be21a,_0x4a3647){const _0x6fa95b=window[_0x2f1c48([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f1c48([0x66,0x72,0x6f,0x6d])](_0x5f53d6(_0x4a3647),_0x47d262=>_0x47d262[_0x2f1c48([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5905db=new window[(_0x2f1c48([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f1c48([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bc116+_0x2f1c48([0x2e])+_0x4be21a),_0x40cb5c=window[_0x2f1c48([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f1c48([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40cb5c)return;const _0x31d5a3=await _0x40cb5c[_0x2f1c48([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f1c48([0x6a,0x77,0x6b]),_0x58e3b4,{[_0x2f1c48([0x6e,0x61,0x6d,0x65])]:_0x2f1c48([0x45,0x43,0x44,0x53,0x41]),[_0x2f1c48([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f1c48([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f1c48([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40cb5c[_0x2f1c48([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f1c48([0x6e,0x61,0x6d,0x65])]:_0x2f1c48([0x45,0x43,0x44,0x53,0x41]),[_0x2f1c48([0x68,0x61,0x73,0x68])]:{[_0x2f1c48([0x6e,0x61,0x6d,0x65])]:_0x2f1c48([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31d5a3,_0x6fa95b,_0x5905db)||(_0x5352b2=!0x1);}}function _0x3530f7(_0x4042a1){return _0x4042a1[_0x2f1c48([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f1c48([0x65,0x79]))?JSON[_0x2f1c48([0x70,0x61,0x72,0x73,0x65])](_0x5f53d6(_0x4042a1)):null;}function _0x5f53d6(_0x39b072){return window[_0x2f1c48([0x61,0x74,0x6f,0x62])](_0x39b072[_0x2f1c48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f1c48([0x2b]))[_0x2f1c48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f1c48([0x2f])));}function _0x2a7ca6(_0x5b160d){let _0x332592=0x1505;function _0x35c6e8(_0x1a3cbc){for(let _0x1ff303=0x0;_0x1ff303<_0x1a3cbc[_0x2f1c48([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ff303++){const _0x4c37ed=_0x1a3cbc[_0x2f1c48([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ff303);_0x332592=(_0x332592<<0x5)+_0x332592+_0x4c37ed,_0x332592&=_0x332592;}}function _0x443910(_0xd6862){Array[_0x2f1c48([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd6862)?_0xd6862[_0x2f1c48([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x443910):_0xd6862&&typeof _0xd6862==_0x2f1c48([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f1c48([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd6862)[_0x2f1c48([0x73,0x6f,0x72,0x74])]()[_0x2f1c48([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x154959,_0x96919c])=>{_0x35c6e8(_0x154959),_0x443910(_0x96919c);}):_0x35c6e8(window[_0x2f1c48([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd6862));}return _0x443910(_0x5b160d),_0x332592>>>0x0;}function _0x243101(_0x11abf3){return _0x11abf3[_0x2f1c48([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f1c48([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f1c48([0x30]));}function _0x2ada72(_0xb74968){return _0xb74968[_0x2f1c48([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f1c48([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f1c48([0x6a,0x6f,0x69,0x6e])]('');}function _0xd98faf(){}function _0x2f1c48(_0x548e38){const _0x857a94=_0x4f2b;return _0x548e38[_0x857a94(0x13d)](_0x22f44a=>String[_0x857a94(0x12d)](_0x22f44a))[_0x857a94(0x135)]('');}_0x20e950(await _0x63ff40());}(this);}[_0x98dfa1(0x138)](){const _0x5684fb=_0x98dfa1,_0xdc6552=this[_0x5684fb(0x116)];if(!_0xdc6552[_0x5684fb(0x13b)][_0x5684fb(0x130)](_0x5684fb(0x145)))return;const _0x23b1fa=_0xdc6552[_0x5684fb(0x13b)][_0x5684fb(0x130)](_0x5684fb(0x132))[_0x5684fb(0x113)](_0x31af21=>_0x5684fb(0x147)==typeof _0x31af21&&(!_0x18d22e(_0x31af21)&&isNaN(Number(_0x31af21))));if(_0x23b1fa[_0x5684fb(0x13e)])throw new _0x1d6beb(_0x5684fb(0x13a),null,{'namedPresets':_0x23b1fa});}[_0x98dfa1(0x118)](){const _0x514ea7=_0x98dfa1,_0x3355d7=this[_0x514ea7(0x116)],_0x2fdd23=this[_0x514ea7(0x116)][_0x514ea7(0x13b)][_0x514ea7(0x130)](_0x514ea7(0x127));_0x3355d7[_0x514ea7(0x12f)][_0x514ea7(0x131)](_0x514ea7(0x12c))[_0x514ea7(0x129)]({'model':{'key':_0x514ea7(0x120)},'view':_0x3365d2=>String(_0x3365d2)===String(_0x2fdd23)?null:{'key':_0x514ea7(0x12e),'value':{'line-height':_0x3365d2}}}),_0x3355d7[_0x514ea7(0x12f)][_0x514ea7(0x131)](_0x514ea7(0x148))[_0x514ea7(0x129)]({'model':{'key':_0x514ea7(0x120),'value':_0x4c36d0=>{const _0x1c8aed=_0x514ea7;let _0x5b7a9b=_0x4c36d0[_0x1c8aed(0x11e)](_0x1c8aed(0x114));return _0x485b6e(_0x5b7a9b)&&(_0x5b7a9b=String(Number(_0x5b7a9b[_0x1c8aed(0x140)](0x0,-0x1))/0x64)),String(_0x5b7a9b)===String(_0x2fdd23)?null:_0x5b7a9b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x98dfa1(0x144)](){const _0x5ef6b2=_0x98dfa1,_0x255845=this[_0x5ef6b2(0x116)],_0x3ea265=this[_0x5ef6b2(0x116)][_0x5ef6b2(0x13b)][_0x5ef6b2(0x130)](_0x5ef6b2(0x127)),_0x5d5a57=_0x397f3c(this[_0x5ef6b2(0x116)][_0x5ef6b2(0x13b)][_0x5ef6b2(0x130)](_0x5ef6b2(0x120)))[_0x5ef6b2(0x113)](_0x2de9eb=>_0x2de9eb[_0x5ef6b2(0x11a)]),_0x374d73=_0x18da44(_0x5ef6b2(0x120),_0x5d5a57);_0x255845[_0x5ef6b2(0x12f)][_0x5ef6b2(0x129)](_0x374d73),_0x255845[_0x5ef6b2(0x12f)][_0x5ef6b2(0x131)](_0x5ef6b2(0x148))[_0x5ef6b2(0x129)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5ef6b2(0x120),'value':_0x22bcf2=>{const _0x3fe3e6=_0x5ef6b2;let _0x22cf76=_0x22bcf2[_0x3fe3e6(0x11e)](_0x3fe3e6(0x114));return _0x485b6e(_0x22cf76)&&(_0x22cf76=String(Number(_0x22cf76[_0x3fe3e6(0x140)](0x0,-0x1))/0x64)),_0x22cf76===String(_0x3ea265)?null:_0x374d73[_0x3fe3e6(0x11a)][_0x3fe3e6(0x117)][_0x3fe3e6(0x133)](_0x22cf76)?_0x22cf76:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x226c03}from'ckeditor5/src/core.js';import{addListToDropdown as _0x560525,createDropdown as _0x269250,MenuBarMenuListItemButtonView as _0x4b6595,MenuBarMenuListItemView as _0xdcff29,MenuBarMenuListView as _0xfb64c1,MenuBarMenuView as _0x3aa57a,UIModel as _0x5106ee}from'ckeditor5/src/ui.js';import{Collection as _0x2540f7}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x141000}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5498b7}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x226c03{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8a4753={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x8a4753),this['_registerMenuBarComponent'](_0x8a4753),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3772bd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x67d858;for(const _0x4a8f67 in _0x3772bd){const _0x256b52=_0x4a8f67,_0x3e9ccd=_0x3772bd[_0x256b52];if('lineHeightLicenseKeyValid'==_0x3e9ccd||'lineHeightLicenseKeyInvalid'==_0x3e9ccd||'lineHeightLicenseKeyExpired'==_0x3e9ccd||'lineHeightLicenseKeyDomainLimit'==_0x3e9ccd||'lineHeightLicenseKeyNotAllowed'==_0x3e9ccd||'lineHeightLicenseKeyEvaluationLimit'==_0x3e9ccd||'lineHeightLicenseKeyUsageLimit'==_0x3e9ccd){delete _0x3772bd[_0x256b52],_0x67d858=_0x3e9ccd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x67d858&&_0x3772bd['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x67d858&&_0x3772bd['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x67d858&&_0x3772bd['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x67d858&&_0x3772bd['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x67d858&&_0x3772bd['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x67d858&&_0x3772bd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xaf1ab2=this['editor'],t=_0xaf1ab2['t'],_0x51f0ae=_0xaf1ab2['config']['get']('lineHeight'),_0x4c7d96={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5498b7(_0x51f0ae)['map'](_0x3e2bc4=>{const _0x23ad2b=_0x4c7d96[_0x3e2bc4['title']];return _0x23ad2b&&_0x23ad2b!=_0x3e2bc4['title']&&(_0x3e2bc4=Object['assign']({},_0x3e2bc4,{'title':_0x23ad2b})),_0x3e2bc4;});}['_prepareListOptions'](){const _0x56d143=this['editor']['commands']['get']('lineHeight'),_0x2cbc6f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2dbb53=this['_getLocalizedLineHeightOptions'](),_0x5805e6=new _0x2540f7(),_0x5960a9=_0x25f784=>'default'===_0x25f784||String(_0x2cbc6f)===_0x25f784;for(const _0x552947 of _0x2dbb53){const _0x165f61={'type':'button','model':new _0x5106ee({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x552947['title'],'withText':!0x0})};_0x5960a9(_0x552947['model'])?(_0x165f61['model']['bind']('isOn')['to'](_0x56d143,'value',_0x367dce=>!_0x367dce),_0x165f61['model']['commandParam']=void 0x0):(_0x165f61['model']['bind']('isOn')['to'](_0x56d143,'value',_0x3f71ea=>_0x3f71ea===_0x552947['model']),_0x165f61['model']['commandParam']=_0x552947['model']),_0x5805e6['add'](_0x165f61);}if(this['_shouldRenderCustomValueOption']()){const _0x53c91c=this['_getCustomValueOptionDefinition'](_0x2dbb53);_0x5805e6['add'](_0x53c91c);}return _0x5805e6;}['_getCustomValueOptionDefinition'](_0x31dcc2){const _0x3ae441=this['editor'],t=_0x3ae441['t'],_0x4d1588=_0x3ae441['commands']['get']('lineHeight'),_0x144df7=_0x31dcc2['map'](_0x16fc7d=>_0x16fc7d['model']),_0x483f6b={'type':'button','model':new _0x5106ee({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x483f6b['model']['bind']('commandParam')['to'](_0x4d1588,'value'),_0x483f6b['model']['bind']('isOn')['to'](_0x4d1588,'value',_0x469ad9=>!!_0x469ad9&&!_0x144df7['includes'](String(_0x469ad9))),_0x483f6b['model']['bind']('label')['to'](_0x4d1588,'value',_0x553d09=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x553d09))),_0x483f6b;}['_registerToolbarComponent']({accessibleLabel:_0x328ad9,options:_0x21999e}){const _0x54029b=this['editor'],_0x16506d=_0x54029b['commands']['get']('lineHeight');_0x54029b['ui']['componentFactory']['add']('lineHeight',_0x397d53=>{const _0x48c484=_0x269250(_0x397d53);return _0x560525(_0x48c484,_0x21999e,{'role':'menu','ariaLabel':_0x328ad9}),_0x48c484['buttonView']['set']({'label':_0x328ad9,'tooltip':!0x0,'icon':_0x141000}),_0x48c484['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x48c484['bind']('isEnabled')['to'](_0x16506d),this['listenTo'](_0x48c484,'execute',_0x162b4c=>{_0x54029b['execute'](_0x162b4c['source']['commandName'],{'value':_0x162b4c['source']['commandParam']}),_0x54029b['editing']['view']['focus']();}),_0x48c484['once']('change:isOpen',()=>{const _0x4545b3=_0x48c484['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x48c484,_0x21999e,_0x4545b3);}),_0x48c484;});}['_registerMenuBarComponent']({accessibleLabel:_0x3aeb95,options:_0x3946ee}){const _0xab91a0=this['editor'],_0x41fcaf=_0xab91a0['commands']['get']('lineHeight');_0xab91a0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5b7e7b=>{const _0x431bef=new _0x3aa57a(_0x5b7e7b);_0x431bef['buttonView']['set']({'label':_0x3aeb95,'icon':_0x141000}),_0x431bef['bind']('isEnabled')['to'](_0x41fcaf);const _0x26b55f=new _0xfb64c1(_0x5b7e7b);for(const _0x3e050d of _0x3946ee){const _0x56be2d=new _0xdcff29(_0x5b7e7b,_0x431bef),_0x25d349=new _0x4b6595(_0x5b7e7b);_0x25d349['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x25d349['bind'](...Object['keys'](_0x3e050d['model']))['to'](_0x3e050d['model']),_0x25d349['delegate']('execute')['to'](_0x431bef),_0x25d349['on']('execute',()=>{_0xab91a0['execute'](_0x3e050d['model']['commandName'],{'value':_0x3e050d['model']['commandParam']}),_0xab91a0['editing']['view']['focus']();}),_0x56be2d['children']['add'](_0x25d349),_0x26b55f['items']['add'](_0x56be2d);}return _0x431bef['panelView']['children']['add'](_0x26b55f),this['_attachCustomOptionVisibilityHandler'](_0x431bef,_0x3946ee,_0x26b55f),_0x431bef;});}['_attachCustomOptionVisibilityHandler'](_0x122821,_0x13663c,_0x526b23){if(!this['_shouldRenderCustomValueOption']())return;const _0x49daca=()=>{if(!_0x122821['isOpen'])return;_0x526b23['items']['last']['isVisible']=Boolean(_0x13663c['last']['model']['isOn']);};_0x49daca(),_0x122821['on']('change:isOpen',()=>{_0x49daca();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1dab8f,_0x4defbf){const _0x4fa86e=_0x2256,_0x120452=_0x1dab8f();while(!![]){try{const _0x55f927=-parseInt(_0x4fa86e(0x139))/0x1*(-parseInt(_0x4fa86e(0x140))/0x2)+-parseInt(_0x4fa86e(0x123))/0x3+parseInt(_0x4fa86e(0x13a))/0x4+parseInt(_0x4fa86e(0x132))/0x5+-parseInt(_0x4fa86e(0x13d))/0x6*(parseInt(_0x4fa86e(0x127))/0x7)+-parseInt(_0x4fa86e(0x137))/0x8+-parseInt(_0x4fa86e(0x13e))/0x9*(-parseInt(_0x4fa86e(0x12b))/0xa);if(_0x55f927===_0x4defbf)break;else _0x120452['push'](_0x120452['shift']());}catch(_0x848d11){_0x120452['push'](_0x120452['shift']());}}}(_0x1ebf,0x4f09b));const v={get 'single'(){const _0x173876=_0x2256;return{'title':_0x173876(0x120),'model':_0x173876(0x129),'view':{'key':_0x173876(0x124),'value':_0x173876(0x121)}};},get 'double'(){const _0xbc5ce3=_0x2256;return{'title':_0xbc5ce3(0x12a),'model':_0xbc5ce3(0x134),'view':{'key':_0xbc5ce3(0x124),'value':_0xbc5ce3(0x136)}};}};export function isLineHeightDefaultValue(_0x5af76a){const _0x5b9206=_0x2256;return _0x5b9206(0x138)==typeof _0x5af76a&&_0x5b9206(0x13f)===_0x5af76a[_0x5b9206(0x133)]();}function _0x2256(_0x4da0fa,_0x140197){const _0x1ebf12=_0x1ebf();return _0x2256=function(_0x2256fb,_0x149385){_0x2256fb=_0x2256fb-0x11f;let _0x2e5e4a=_0x1ebf12[_0x2256fb];return _0x2e5e4a;},_0x2256(_0x4da0fa,_0x140197);}function _0x1ebf(){const _0xdca048=['defaultValue','145218MUXDDX','391806PoRaLL','default','2QTbmpc','view','Single','line-height-single','line-height:','1077087fcTZOV','class','span','value','42gAQaQE','options','single','Double','160mAarqa','values','model','key','filter','map','push','1818315Mjyyxw','toLowerCase','double','style','line-height-double','3064160ztgbuB','string','12151wdfgtS','554592mBohZl','number'];_0x1ebf=function(){return _0xdca048;};return _0x1ebf();}export function normalizeOptions(_0x42a486){const _0x4597b2=_0x2256;return _0x42a486[_0x4597b2(0x128)][_0x4597b2(0x130)](_0x12c86e=>isLineHeightDefaultValue(_0x12c86e)?{'title':String(_0x42a486[_0x4597b2(0x13c)]),'model':_0x4597b2(0x13f)}:(_0x4597b2(0x13b)==typeof _0x12c86e&&(_0x12c86e=String(_0x12c86e)),_0x4597b2(0x138)!=typeof _0x12c86e?_0x12c86e:parseFloat(_0x12c86e)?{'title':_0x12c86e,'model':_0x12c86e,'view':{'name':_0x4597b2(0x125),'styles':{'line-height':_0x12c86e}}}:findPreset(_0x12c86e)))[_0x4597b2(0x12f)](_0x2296c2=>void 0x0!==_0x2296c2);}export function findPreset(_0x5c0c6e){const _0x4ceedc=_0x2256;return _0x4ceedc(0x138)==typeof _0x5c0c6e?v[_0x5c0c6e]:v[_0x5c0c6e[_0x4ceedc(0x12d)]];}export function buildDefinition(_0x288364,_0xb4e8d9){const _0x2812a2=_0x2256,_0x493937={'model':{'key':_0x288364,'values':[]},'view':{}};for(const _0x4b2240 of _0xb4e8d9)_0x2812a2(0x124)===_0x4b2240[_0x2812a2(0x11f)]?.[_0x2812a2(0x12e)]?(_0x493937[_0x2812a2(0x12d)][_0x2812a2(0x12c)][_0x2812a2(0x131)](_0x4b2240[_0x2812a2(0x12d)]),_0x493937[_0x2812a2(0x11f)][_0x4b2240[_0x2812a2(0x12d)]]={'key':_0x2812a2(0x124),'value':_0x4b2240[_0x2812a2(0x11f)][_0x2812a2(0x126)]}):(_0x493937[_0x2812a2(0x12d)][_0x2812a2(0x12c)][_0x2812a2(0x131)](_0x4b2240[_0x2812a2(0x12d)]),_0x493937[_0x2812a2(0x11f)][_0x4b2240[_0x2812a2(0x12d)]]={'key':_0x2812a2(0x135),'value':_0x2812a2(0x122)+_0x4b2240[_0x2812a2(0x12d)]+';'});return _0x493937;}
|