@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251125.1 → 0.0.0-nightly-20251127.0
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 _0x588b00=_0x2198;(function(_0x51ec6a,_0x3c658f){const _0x50b03f=_0x2198,_0x3a5eb4=_0x51ec6a();while(!![]){try{const _0x179935=parseInt(_0x50b03f(0x17d))/0x1+-parseInt(_0x50b03f(0x162))/0x2+-parseInt(_0x50b03f(0x171))/0x3+-parseInt(_0x50b03f(0x174))/0x4+-parseInt(_0x50b03f(0x15e))/0x5+-parseInt(_0x50b03f(0x176))/0x6+parseInt(_0x50b03f(0x165))/0x7;if(_0x179935===_0x3c658f)break;else _0x3a5eb4['push'](_0x3a5eb4['shift']());}catch(_0x3cc806){_0x3a5eb4['push'](_0x3a5eb4['shift']());}}}(_0x19fe,0xea7cd));function _0x2198(_0x1dc960,_0x476106){const _0x19fe1b=_0x19fe();return _0x2198=function(_0x2198e4,_0x5943b0){_0x2198e4=_0x2198e4-0x158;let _0x260352=_0x19fe1b[_0x2198e4];return _0x260352;},_0x2198(_0x1dc960,_0x476106);}function _0x19fe(){const _0x57c16d=['listType','pluginName','span','elementToElement','isPremiumPlugin','item','isOfficialPlugin','ListEditing','267885ZjXyBv','paragraph','consumable','5031592irEjrA','--ck-content-list-marker-line-height','4625730XrqesX','high','registerDowncastStrategy','has','editor','lineHeight','element:li','806290MNAIYB','match','viewItem','upcast','get','add','for','consume','addClass','TodoListEditing','826230pnhqgf','getAttribute','ck-list-marker-line-height','name','3790680NomjlG','LineHeightTodoListIntegration','init','30330335hcAUsN','setStyle','todo','todo-list__label__description'];_0x19fe=function(){return _0x57c16d;};return _0x19fe();}import{Plugin as _0x5e4c01}from'ckeditor5/src/core.js';import{Matcher as _0x3a12c2}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x5e4c01{static get[_0x588b00(0x16a)](){const _0x3907f4=_0x588b00;return _0x3907f4(0x163);}static get[_0x588b00(0x16f)](){return!0x0;}static get[_0x588b00(0x16d)](){return!0x0;}[_0x588b00(0x164)](){const _0x5dade1=_0x588b00,{plugins:_0x4fb0bc,conversion:_0x5233ae}=this[_0x5dade1(0x17a)];if(!_0x4fb0bc[_0x5dade1(0x179)](_0x5dade1(0x170))||!_0x4fb0bc[_0x5dade1(0x179)](_0x5dade1(0x15d)))return;_0x4fb0bc[_0x5dade1(0x158)](_0x5dade1(0x170))[_0x5dade1(0x178)]({'scope':_0x5dade1(0x16e),'attributeName':_0x5dade1(0x17b),'consume':!0x1,'setAttributeOnDowncast'(_0x2f5aad,_0x47b198,_0x190822,_0x4380a6,_0xf92b19){const _0x6589f7=_0x5dade1;_0x6589f7(0x167)==_0xf92b19[_0x6589f7(0x15f)](_0x6589f7(0x169))&&_0x47b198&&(_0x2f5aad[_0x6589f7(0x15c)](_0x6589f7(0x160),_0x190822),_0x2f5aad[_0x6589f7(0x166)](_0x6589f7(0x175),_0x47b198,_0x190822));}}),_0x5233ae[_0x5dade1(0x15a)](_0x5dade1(0x180))[_0x5dade1(0x16c)]({'view':{'name':_0x5dade1(0x16b),'classes':_0x5dade1(0x168)},'model':_0x5dade1(0x172),'converterPriority':_0x5dade1(0x177)}),_0x5233ae[_0x5dade1(0x15a)](_0x5dade1(0x180))[_0x5dade1(0x159)](_0x42d0ec=>{const _0x53f9a5=_0x5dade1;_0x42d0ec['on'](_0x53f9a5(0x17c),function(_0x47d204){const _0x326611=new _0x3a12c2(_0x47d204);return(_0x14ea8b,_0x39c16e,_0x40dd6c)=>{const _0x324048=_0x2198,_0x453437=_0x326611[_0x324048(0x17e)](_0x39c16e[_0x324048(0x17f)]);if(!_0x453437)return;const _0x1b0a1d=_0x453437[_0x324048(0x17e)];_0x1b0a1d[_0x324048(0x161)]=!0x1,_0x40dd6c[_0x324048(0x173)][_0x324048(0x15b)](_0x39c16e[_0x324048(0x17f)],_0x1b0a1d);};}({'name':'li','classes':_0x53f9a5(0x160),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0xbe7a1f=_0x32fd;(function(_0x52c515,_0x1a99f6){var _0x1c2237=_0x32fd,_0x4e9208=_0x52c515();while(!![]){try{var _0x26c3b0=-parseInt(_0x1c2237(0xbc))/0x1+parseInt(_0x1c2237(0xb4))/0x2*(parseInt(_0x1c2237(0xb9))/0x3)+-parseInt(_0x1c2237(0xaf))/0x4*(parseInt(_0x1c2237(0xb6))/0x5)+-parseInt(_0x1c2237(0xb8))/0x6+-parseInt(_0x1c2237(0xb7))/0x7*(-parseInt(_0x1c2237(0xb3))/0x8)+-parseInt(_0x1c2237(0xb1))/0x9+parseInt(_0x1c2237(0xbd))/0xa;if(_0x26c3b0===_0x1a99f6)break;else _0x4e9208['push'](_0x4e9208['shift']());}catch(_0x34cd4b){_0x4e9208['push'](_0x4e9208['shift']());}}}(_0x362e,0xa64ae));function _0x362e(){var _0x4b9fa2=['18426490HXilpj','4fEOyGP','isPremiumPlugin','6416649YSJGCs','LineHeight','5727576OjXLHK','2152706tVBSaV','pluginName','6028145gssDjx','7wMVTFK','2450454CILgYf','3MPEmfG','isOfficialPlugin','requires','626816RNBNoL'];_0x362e=function(){return _0x4b9fa2;};return _0x362e();}function _0x32fd(_0x55b2da,_0x218707){var _0x362eaf=_0x362e();return _0x32fd=function(_0x32fd3a,_0x359c37){_0x32fd3a=_0x32fd3a-0xaf;var _0x1202c7=_0x362eaf[_0x32fd3a];return _0x1202c7;},_0x32fd(_0x55b2da,_0x218707);}import{Plugin as _0x373559}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x5cb281}from'./lineheightediting.js';import{LineHeightUI as _0x5f5473}from'./lineheightui.js';export class LineHeight extends _0x373559{static get[_0xbe7a1f(0xbb)](){return[_0x5cb281,_0x5f5473];}static get[_0xbe7a1f(0xb5)](){var _0x5babf6=_0xbe7a1f;return _0x5babf6(0xb2);}static get[_0xbe7a1f(0xba)](){return!0x0;}static get[_0xbe7a1f(0xb0)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2d18(_0x18396c,_0x4097d8){const _0x56b769=_0x56b7();return _0x2d18=function(_0x2d18cd,_0x40a825){_0x2d18cd=_0x2d18cd-0x1a3;let _0x1cdb3f=_0x56b769[_0x2d18cd];return _0x1cdb3f;},_0x2d18(_0x18396c,_0x4097d8);}const _0x55d7b3=_0x2d18;(function(_0x375294,_0x2293ca){const _0x1abe0c=_0x2d18,_0x11fe0c=_0x375294();while(!![]){try{const _0x4a3973=parseInt(_0x1abe0c(0x1ae))/0x1*(parseInt(_0x1abe0c(0x1a9))/0x2)+-parseInt(_0x1abe0c(0x1a6))/0x3*(-parseInt(_0x1abe0c(0x1aa))/0x4)+parseInt(_0x1abe0c(0x1ab))/0x5+-parseInt(_0x1abe0c(0x1bf))/0x6+-parseInt(_0x1abe0c(0x1b0))/0x7+parseInt(_0x1abe0c(0x1bd))/0x8*(parseInt(_0x1abe0c(0x1b4))/0x9)+-parseInt(_0x1abe0c(0x1b2))/0xa*(-parseInt(_0x1abe0c(0x1b7))/0xb);if(_0x4a3973===_0x2293ca)break;else _0x11fe0c['push'](_0x11fe0c['shift']());}catch(_0x28686c){_0x11fe0c['push'](_0x11fe0c['shift']());}}}(_0x56b7,0xca824));import{Command as _0x46d2a3}from'ckeditor5/src/core.js';import{first as _0x276a1a}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x46d2a3{[_0x55d7b3(0x1af)](){const _0x486d04=_0x55d7b3,_0x2b3f71=this[_0x486d04(0x1ad)][_0x486d04(0x1bc)][_0x486d04(0x1be)],_0x7e56e=_0x276a1a(_0x2b3f71[_0x486d04(0x1a5)][_0x486d04(0x1b5)]());this[_0x486d04(0x1ac)]=Boolean(_0x7e56e)&&this[_0x486d04(0x1b9)](_0x7e56e),this[_0x486d04(0x1ba)]=this[_0x486d04(0x1ac)]&&_0x7e56e[_0x486d04(0x1b3)](_0x486d04(0x1b8));}[_0x55d7b3(0x1b6)](_0x2a5c0c={}){const _0x1ef094=_0x55d7b3,_0x290322=this[_0x1ef094(0x1ad)][_0x1ef094(0x1bc)],_0x4497f7=_0x290322[_0x1ef094(0x1be)][_0x1ef094(0x1a5)],_0xbf695e=_0x2a5c0c[_0x1ef094(0x1ba)];_0x290322[_0x1ef094(0x1b1)](_0x182f6a=>{const _0x5b0d8e=_0x1ef094,_0x2fabe8=Array[_0x5b0d8e(0x1a4)](_0x4497f7[_0x5b0d8e(0x1b5)]())[_0x5b0d8e(0x1a3)](_0x2cec53=>this[_0x5b0d8e(0x1b9)](_0x2cec53));for(const _0x257751 of _0x2fabe8)_0xbf695e?_0x182f6a[_0x5b0d8e(0x1a8)](_0x5b0d8e(0x1b8),_0xbf695e,_0x257751):_0x182f6a[_0x5b0d8e(0x1a7)](_0x5b0d8e(0x1b8),_0x257751);});}[_0x55d7b3(0x1b9)](_0x44de0c){const _0x13b47d=_0x55d7b3;return this[_0x13b47d(0x1ad)][_0x13b47d(0x1bc)][_0x13b47d(0x1bb)][_0x13b47d(0x1c0)](_0x44de0c,_0x13b47d(0x1b8));}}function _0x56b7(){const _0x14b1c1=['getAttribute','9XbYNvC','getSelectedBlocks','execute','22BjRvmJ','lineHeight','_canHaveLineHeight','value','schema','model','6869544nOqOxF','document','7218402sdmcOY','checkAttribute','filter','from','selection','6243AstKWy','removeAttribute','setAttribute','26FLkpnb','748VLHcJd','2261535AXiUXr','isEnabled','editor','29042myKfBT','refresh','2407748opblOH','change','1494070rUmhgo'];_0x56b7=function(){return _0x14b1c1;};return _0x56b7();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x42f36c=_0xcb34;(function(_0x1c9ad3,_0x2f4bf4){const _0x3c4f3b=_0xcb34,_0x235a5e=_0x1c9ad3();while(!![]){try{const _0x2429ea=-parseInt(_0x3c4f3b(0xd3))/0x1*(parseInt(_0x3c4f3b(0xd2))/0x2)+parseInt(_0x3c4f3b(0xcc))/0x3+-parseInt(_0x3c4f3b(0xc4))/0x4+parseInt(_0x3c4f3b(0xe6))/0x5*(parseInt(_0x3c4f3b(0xd6))/0x6)+-parseInt(_0x3c4f3b(0xba))/0x7+parseInt(_0x3c4f3b(0xcb))/0x8*(parseInt(_0x3c4f3b(0xbe))/0x9)+parseInt(_0x3c4f3b(0xde))/0xa;if(_0x2429ea===_0x2f4bf4)break;else _0x235a5e['push'](_0x235a5e['shift']());}catch(_0x50383e){_0x235a5e['push'](_0x235a5e['shift']());}}}(_0x5e05,0xd3c54));import{Plugin as _0x2a2da2}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1372ec}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2b39ed}from'ckeditor5/src/engine.js';import{uid as _0x4cd2fa,CKEditorError as _0x46f2a5}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3416b9,isLineHeightDefaultValue as _0x445955,normalizeOptions as _0x4b84f2}from'./utils.js';import{LineHeightTodoListIntegration as _0x29b2cc}from'./integrations/todolist.js';function _0x5e05(){const _0x2db808=['line-height-invalid-use-of-named-presets','5125436TOgLZY','slice','define','lineHeight.defaultValue','afterInit','extend','join','416tbOaWx','3812517jafatx','line-height','model','_prepareAnyValueConverters','lineHeight.options','attributeToAttribute','1121074LaRTBm','3gAMAdR','map','isPremiumPlugin','66dFnBIr','getStyle','_validateConfig','fromCharCode','string','upcast','isOfficialPlugin','$block','17637770xhnQfX','get','commands','setAttributeProperties','editor','init','_preparePredefinedConverters','filter','140405ICiGWS','for','downcast','includes','default','add','config','values','lineHeight.supportAllValues','schema','style','3757943sEeeNi','lineHeight','pluginName','href','177183ugKGHj','LineHeightEditing','requires','conversion','length'];_0x5e05=function(){return _0x2db808;};return _0x5e05();}function _0xcb34(_0x589cf3,_0x57baa6){const _0x5e052c=_0x5e05();return _0xcb34=function(_0xcb3467,_0x1adba5){_0xcb3467=_0xcb3467-0xb6;let _0x4bafcc=_0x5e052c[_0xcb3467];return _0x4bafcc;},_0xcb34(_0x589cf3,_0x57baa6);}export class LineHeightEditing extends _0x2a2da2{static get[_0x42f36c(0xbc)](){const _0x28e380=_0x42f36c;return _0x28e380(0xbf);}static get[_0x42f36c(0xc0)](){return[_0x29b2cc];}static get[_0x42f36c(0xdc)](){return!0x0;}static get[_0x42f36c(0xd5)](){return!0x0;}constructor(_0x5016b4){const _0x359766=_0x42f36c;super(_0x5016b4),_0x5016b4[_0x359766(0xec)][_0x359766(0xc6)](_0x359766(0xbb),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x359766(0xea),0x2,2.5,0x3]});}[_0x42f36c(0xe3)](){const _0x56047e=_0x42f36c,_0x27ee22=this[_0x56047e(0xe2)];this[_0x56047e(0xd8)](),_0x27ee22[_0x56047e(0xce)][_0x56047e(0xb8)][_0x56047e(0xc9)](_0x56047e(0xdd),{'allowAttributes':_0x56047e(0xbb)}),_0x27ee22[_0x56047e(0xce)][_0x56047e(0xb8)][_0x56047e(0xe1)](_0x56047e(0xbb),{'isFormatting':!0x0}),_0x27ee22[_0x56047e(0xe0)][_0x56047e(0xeb)](_0x56047e(0xbb),new _0x1372ec(_0x27ee22)),this[_0x56047e(0xe2)][_0x56047e(0xec)][_0x56047e(0xdf)](_0x56047e(0xb7))?this[_0x56047e(0xcf)]():this[_0x56047e(0xe4)]();}[_0x42f36c(0xc8)](){!async function(_0x22d509){const _0x895d07=_0x2b17ca([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]),_0x58d3bd=0x45ddd215,_0x216d6a=0x45daa80d^_0x58d3bd,_0x1035f1=window[_0x2b17ca([0x44,0x61,0x74,0x65])][_0x2b17ca([0x6e,0x6f,0x77])](),_0x33e5ed=_0x22d509[_0x2b17ca([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e2ae4=new window[(_0x2b17ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x594d9e=>{_0x33e5ed[_0x2b17ca([0x6f,0x6e,0x63,0x65])](_0x2b17ca([0x72,0x65,0x61,0x64,0x79]),_0x594d9e);}),_0xc8759c={[_0x2b17ca([0x6b,0x74,0x79])]:_0x2b17ca([0x45,0x43]),[_0x2b17ca([0x75,0x73,0x65])]:_0x2b17ca([0x73,0x69,0x67]),[_0x2b17ca([0x63,0x72,0x76])]:_0x2b17ca([0x50,0x2d,0x32,0x35,0x36]),[_0x2b17ca([0x78])]:_0x2b17ca([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]),[_0x2b17ca([0x79])]:_0x2b17ca([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]),[_0x2b17ca([0x61,0x6c,0x67])]:_0x2b17ca([0x45,0x53,0x32,0x35,0x36])},_0x264650=_0x33e5ed[_0x2b17ca([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b17ca([0x67,0x65,0x74])](_0x2b17ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c6571(){let _0x3e5386,_0x4bcf34=null,_0x169b4f=null;try{if(_0x264650==_0x2b17ca([0x47,0x50,0x4c]))return _0x2b17ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e5386=_0x2b64cd(),!_0x3e5386)return _0x2b17ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e5386[_0x2b17ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x169b4f=_0x2dd41e(_0x3e5386[_0x2b17ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e5386[_0x2b17ca([0x6a,0x74,0x69])])),await _0xe6d23e()?_0x1eef8a()?_0x2cda2c()?_0x2b17ca([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fb40f()?(_0x3e5386[_0x2b17ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b17ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4bcf34=_0x5d4e7d(_0x2b17ca([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e5386[_0x2b17ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b17ca([0x74,0x72,0x69,0x61,0x6c])&&(_0x4bcf34=_0x5d4e7d(_0x2b17ca([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4986e2()):_0x2b17ca([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b17ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b17ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b17ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cda2c(){const _0x27b256=[_0x2b17ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b17ca([0x74,0x72,0x69,0x61,0x6c])][_0x2b17ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e5386[_0x2b17ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1035f1/0x3e8:0xe10*_0x216d6a;return _0x3e5386[_0x2b17ca([0x65,0x78,0x70])]<_0x27b256;}function _0x1eef8a(){const _0x2eae24=_0x3e5386[_0x2b17ca([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2eae24&&(!!_0x2eae24[_0x2b17ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b17ca([0x2a]))||!!_0x2eae24[_0x2b17ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b17ca([0x4c,0x48])));}function _0x1fb40f(){const _0x23e967=_0xcb34,_0x442811=_0x3e5386[_0x2b17ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x442811||0x0==_0x442811[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4052b5}=new URL(window[_0x2b17ca([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x23e967(0xbd)]);if(_0x442811[_0x2b17ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4052b5))return!0x0;const _0x517caa=_0x4052b5[_0x2b17ca([0x73,0x70,0x6c,0x69,0x74])](_0x2b17ca([0x2e]));return _0x442811[_0x2b17ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c506d=>_0x4c506d[_0x2b17ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b17ca([0x2a])))[_0x2b17ca([0x6d,0x61,0x70])](_0x452c2f=>_0x452c2f[_0x2b17ca([0x73,0x70,0x6c,0x69,0x74])](_0x2b17ca([0x2e])))[_0x2b17ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x429991=>_0x429991[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x517caa[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b17ca([0x6d,0x61,0x70])](_0x593ae8=>Array(_0x517caa[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x593ae8[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b17ca([0x66,0x69,0x6c,0x6c])](_0x593ae8[0x0]===_0x2b17ca([0x2a])?_0x2b17ca([0x2a]):'')[_0x2b17ca([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x593ae8))[_0x2b17ca([0x73,0x6f,0x6d,0x65])](_0x2af22b=>_0x517caa[_0x2b17ca([0x65,0x76,0x65,0x72,0x79])]((_0x1a772c,_0x4fa651)=>_0x2af22b[_0x4fa651]===_0x1a772c||_0x2af22b[_0x4fa651]===_0x2b17ca([0x2a])));}function _0x4986e2(){return _0x4bcf34&&_0x169b4f?new window[(_0x2b17ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5676fa,_0x5627cf)=>{_0x4bcf34[_0x2b17ca([0x74,0x68,0x65,0x6e])](_0x5676fa,_0x5627cf),_0x169b4f[_0x2b17ca([0x74,0x68,0x65,0x6e])](_0x2bc42d=>{_0x2bc42d!=_0x2b17ca([0x56,0x61,0x6c,0x69,0x64])&&_0x5676fa(_0x2bc42d);},_0x5627cf);}):_0x4bcf34||_0x169b4f||_0x2b17ca([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2dd41e(_0x59a0b1,_0x58d622){return new window[(_0x2b17ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59d027=>{if(_0x2b7b4d())return _0x59d027(_0x2b17ca([0x56,0x61,0x6c,0x69,0x64]));_0x5b6d2d(),_0x33e5ed[_0x2b17ca([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b17ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5aae06=!0x1;const _0x8b33b4=_0x4cd2fa();function _0x313c4f(_0x997331){return!!_0x997331&&(typeof _0x997331===_0x2b17ca([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x997331===_0x2b17ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x997331[_0x2b17ca([0x74,0x68,0x65,0x6e])]===_0x2b17ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x997331[_0x2b17ca([0x63,0x61,0x74,0x63,0x68])]===_0x2b17ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x332ac3(_0x34809b){_0x377217(_0x34809b)[_0x2b17ca([0x74,0x68,0x65,0x6e])](_0x4745e0=>{if(!_0x4745e0||_0x4745e0[_0x2b17ca([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b17ca([0x6f,0x6b]))return _0x2b17ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x48516d(_0x4fa156(_0x8b33b4+_0x58d622))!=_0x4745e0[_0x2b17ca([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b17ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b17ca([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b17ca([0x74,0x68,0x65,0x6e])](_0x40cbe6=>(_0x1cf0e2(),_0x40cbe6),()=>{const _0x3a21ae=_0x2c218d();return null==_0x3a21ae?(_0x1cf0e2(),_0x2b17ca([0x56,0x61,0x6c,0x69,0x64])):_0x2b17ca(_0x1035f1-_0x3a21ae>(0x61d15615^_0x58d3bd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b17ca([0x74,0x68,0x65,0x6e])](_0x59d027)[_0x2b17ca([0x63,0x61,0x74,0x63,0x68])](()=>{_0x59d027(_0x2b17ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c1bb8=0x45eb3c95^_0x58d3bd;function _0x1cf0e2(){const _0x4c443f=_0x2b17ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x48516d(_0x4fa156(_0x59a0b1)),_0x5bd628=_0x26fb2a(_0x48516d(window[_0x2b17ca([0x4d,0x61,0x74,0x68])][_0x2b17ca([0x63,0x65,0x69,0x6c])](_0x1035f1/_0x1c1bb8)));window[_0x2b17ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b17ca([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c443f,_0x5bd628);}function _0x2c218d(){const _0x3343da=_0x2b17ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x48516d(_0x4fa156(_0x59a0b1)),_0x2e1b9b=window[_0x2b17ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b17ca([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3343da);return _0x2e1b9b?window[_0x2b17ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26fb2a(_0x2e1b9b),0x10)*_0x1c1bb8:null;}function _0x377217(_0x181900){return new window[(_0x2b17ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bc5cd,_0x57a1c5)=>{_0x181900[_0x2b17ca([0x74,0x68,0x65,0x6e])](_0x5bc5cd,_0x57a1c5),window[_0x2b17ca([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x57a1c5,0x45dc06d5^_0x58d3bd);});}}_0x33e5ed[_0x2b17ca([0x6f,0x6e])](_0x2b17ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x335583,_0x320a20)=>{if(_0x320a20[0x0]!=_0x59a0b1)return _0x59d027(_0x2b17ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x320a20[0x1]={..._0x320a20[0x1],[_0x2b17ca([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8b33b4};},{[_0x2b17ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b17ca([0x68,0x69,0x67,0x68])}),_0x33e5ed[_0x2b17ca([0x6f,0x6e])](_0x2b17ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55c6c1=>{_0x313c4f(_0x55c6c1[_0x2b17ca([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5aae06=!0x0,_0x332ac3(_0x55c6c1[_0x2b17ca([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b17ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b17ca([0x6c,0x6f,0x77])}),_0x2e2ae4[_0x2b17ca([0x74,0x68,0x65,0x6e])](()=>{_0x5aae06||_0x59d027(_0x2b17ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b7b4d(){return _0x33e5ed[_0x2b17ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b17ca([0x76,0x69,0x65,0x77])][_0x2b17ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b17ca([0x61,0x75,0x74,0x6f]);}function _0x5b6d2d(){_0x33e5ed[_0x2b17ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b17ca([0x76,0x69,0x65,0x77])][_0x2b17ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b17ca([0x61,0x75,0x74,0x6f]);}}function _0x5d4e7d(_0x2793b6){const _0x35857d=[new window[(_0x2b17ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x302975=>setTimeout(_0x302975,0x45d4ecd9^_0x58d3bd)),_0x2e2ae4[_0x2b17ca([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b17ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a432c=>{let _0x1fc12d=0x0;_0x33e5ed[_0x2b17ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b17ca([0x6f,0x6e])](_0x2b17ca([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2acfbd,_0x22407b)=>{_0x22407b[0x0][_0x2b17ca([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fc12d++,_0x1fc12d==(0x45ddd3ed^_0x58d3bd)&&(_0x5a432c(),_0x2acfbd[_0x2b17ca([0x6f,0x66,0x66])]());});}))];return window[_0x2b17ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b17ca([0x72,0x61,0x63,0x65])](_0x35857d)[_0x2b17ca([0x74,0x68,0x65,0x6e])](()=>_0x2793b6);}async function _0x2320e1(){await _0x2e2ae4,_0x33e5ed[_0x2b17ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b17ca([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26c26f,_0x33e5ed[_0x2b17ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b17ca([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26c26f,_0x33e5ed[_0x2b17ca([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b17ca([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x581360(_0x5467c0){const _0x46d855=_0x501f0e();_0x33e5ed[_0x46d855]=_0x2b17ca([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5467c0,_0x5467c0!=_0x2b17ca([0x56,0x61,0x6c,0x69,0x64])&&_0x2320e1();}function _0x501f0e(){const _0x394291=window[_0x2b17ca([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b17ca([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b17ca([0x6e,0x6f,0x77])]())[_0x2b17ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b17ca([0x2e]),'');let _0x46ceb6=_0x2b17ca([0x50]);for(let _0xd6f105=0x0;_0xd6f105<_0x394291[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd6f105+=0x2){let _0x12b01d=window[_0x2b17ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x394291[_0x2b17ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd6f105,_0xd6f105+0x2));_0x12b01d>=_0x895d07[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12b01d-=_0x895d07[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46ceb6+=_0x895d07[_0x12b01d];}return _0x46ceb6;}function _0x2b64cd(){const _0x444d63=_0x264650[_0x2b17ca([0x73,0x70,0x6c,0x69,0x74])](_0x2b17ca([0x2e]));if(0x3!=_0x444d63[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5bb978(_0x444d63[0x1]);function _0x5bb978(_0x58375f){const _0x2c738e=_0x1f232e(_0x58375f);return _0x2c738e&&_0x225c21()?_0x2c738e:null;function _0x225c21(){const _0x57990b=_0x2c738e[_0x2b17ca([0x6a,0x74,0x69])],_0x26cd73=window[_0x2b17ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57990b[_0x2b17ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57990b[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1dcefb={..._0x2c738e,[_0x2b17ca([0x6a,0x74,0x69])]:_0x57990b[_0x2b17ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57990b[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1dcefb[_0x2b17ca([0x76,0x63])],_0x4fa156(_0x1dcefb)==_0x26cd73;}}}async function _0xe6d23e(){let _0x58ad42=!0x0;try{const _0x228170=_0x264650[_0x2b17ca([0x73,0x70,0x6c,0x69,0x74])](_0x2b17ca([0x2e])),[_0x2be920,_0x1cf47c,_0x411a55]=_0x228170;return _0x3c74f7(_0x2be920),await _0x323107(_0x2be920,_0x1cf47c,_0x411a55),_0x58ad42;}catch{return!0x1;}function _0x3c74f7(_0x43b7d3){const _0x32b7a3=_0x1f232e(_0x43b7d3);_0x32b7a3&&_0x32b7a3[_0x2b17ca([0x61,0x6c,0x67])]==_0x2b17ca([0x45,0x53,0x32,0x35,0x36])||(_0x58ad42=!0x1);}async function _0x323107(_0x12ba6e,_0x49b6aa,_0x2f91ee){const _0x51eb11=window[_0x2b17ca([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b17ca([0x66,0x72,0x6f,0x6d])](_0x52489e(_0x2f91ee),_0x56738e=>_0x56738e[_0x2b17ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48184a=new window[(_0x2b17ca([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b17ca([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12ba6e+_0x2b17ca([0x2e])+_0x49b6aa),_0xac3acf=window[_0x2b17ca([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b17ca([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xac3acf)return;const _0x22dde2=await _0xac3acf[_0x2b17ca([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b17ca([0x6a,0x77,0x6b]),_0xc8759c,{[_0x2b17ca([0x6e,0x61,0x6d,0x65])]:_0x2b17ca([0x45,0x43,0x44,0x53,0x41]),[_0x2b17ca([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b17ca([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b17ca([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xac3acf[_0x2b17ca([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b17ca([0x6e,0x61,0x6d,0x65])]:_0x2b17ca([0x45,0x43,0x44,0x53,0x41]),[_0x2b17ca([0x68,0x61,0x73,0x68])]:{[_0x2b17ca([0x6e,0x61,0x6d,0x65])]:_0x2b17ca([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22dde2,_0x51eb11,_0x48184a)||(_0x58ad42=!0x1);}}function _0x1f232e(_0x18b9cb){return _0x18b9cb[_0x2b17ca([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b17ca([0x65,0x79]))?JSON[_0x2b17ca([0x70,0x61,0x72,0x73,0x65])](_0x52489e(_0x18b9cb)):null;}function _0x52489e(_0x74f461){return window[_0x2b17ca([0x61,0x74,0x6f,0x62])](_0x74f461[_0x2b17ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b17ca([0x2b]))[_0x2b17ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b17ca([0x2f])));}function _0x4fa156(_0x248bf7){let _0x466fb9=0x1505;function _0x22d979(_0x5875ef){for(let _0xf65292=0x0;_0xf65292<_0x5875ef[_0x2b17ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf65292++){const _0x51f0b0=_0x5875ef[_0x2b17ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf65292);_0x466fb9=(_0x466fb9<<0x5)+_0x466fb9+_0x51f0b0,_0x466fb9&=_0x466fb9;}}function _0x5091f3(_0x3b02a1){Array[_0x2b17ca([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b02a1)?_0x3b02a1[_0x2b17ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5091f3):_0x3b02a1&&typeof _0x3b02a1==_0x2b17ca([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b17ca([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b02a1)[_0x2b17ca([0x73,0x6f,0x72,0x74])]()[_0x2b17ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f0da0,_0x2537bb])=>{_0x22d979(_0x5f0da0),_0x5091f3(_0x2537bb);}):_0x22d979(window[_0x2b17ca([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b02a1));}return _0x5091f3(_0x248bf7),_0x466fb9>>>0x0;}function _0x48516d(_0x1f2c2f){return _0x1f2c2f[_0x2b17ca([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b17ca([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b17ca([0x30]));}function _0x26fb2a(_0x34af3e){return _0x34af3e[_0x2b17ca([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b17ca([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b17ca([0x6a,0x6f,0x69,0x6e])]('');}function _0x26c26f(){}function _0x2b17ca(_0x183e62){const _0x129e4b=_0xcb34;return _0x183e62[_0x129e4b(0xd4)](_0x2d4605=>String[_0x129e4b(0xd9)](_0x2d4605))[_0x129e4b(0xca)]('');}_0x581360(await _0x3c6571());}(this);}[_0x42f36c(0xd8)](){const _0xd0f5e2=_0x42f36c,_0x404a04=this[_0xd0f5e2(0xe2)];if(!_0x404a04[_0xd0f5e2(0xec)][_0xd0f5e2(0xdf)](_0xd0f5e2(0xb7)))return;const _0x3aa29c=_0x404a04[_0xd0f5e2(0xec)][_0xd0f5e2(0xdf)](_0xd0f5e2(0xd0))[_0xd0f5e2(0xe5)](_0x3d2dfb=>_0xd0f5e2(0xda)==typeof _0x3d2dfb&&(!_0x445955(_0x3d2dfb)&&isNaN(Number(_0x3d2dfb))));if(_0x3aa29c[_0xd0f5e2(0xc2)])throw new _0x46f2a5(_0xd0f5e2(0xc3),null,{'namedPresets':_0x3aa29c});}[_0x42f36c(0xcf)](){const _0x3e73d5=_0x42f36c,_0x408d81=this[_0x3e73d5(0xe2)],_0xd4ef7c=this[_0x3e73d5(0xe2)][_0x3e73d5(0xec)][_0x3e73d5(0xdf)](_0x3e73d5(0xc7));_0x408d81[_0x3e73d5(0xc1)][_0x3e73d5(0xe7)](_0x3e73d5(0xe8))[_0x3e73d5(0xd1)]({'model':{'key':_0x3e73d5(0xbb)},'view':_0x4212ce=>String(_0x4212ce)===String(_0xd4ef7c)?null:{'key':_0x3e73d5(0xb9),'value':{'line-height':_0x4212ce}}}),_0x408d81[_0x3e73d5(0xc1)][_0x3e73d5(0xe7)](_0x3e73d5(0xdb))[_0x3e73d5(0xd1)]({'model':{'key':_0x3e73d5(0xbb),'value':_0x446470=>{const _0x782a95=_0x3e73d5;let _0x26b593=_0x446470[_0x782a95(0xd7)](_0x782a95(0xcd));return _0x2b39ed(_0x26b593)&&(_0x26b593=String(Number(_0x26b593[_0x782a95(0xc5)](0x0,-0x1))/0x64)),String(_0x26b593)===String(_0xd4ef7c)?null:_0x26b593;}},'view':{'styles':{'line-height':/.*/}}});}[_0x42f36c(0xe4)](){const _0xadeee3=_0x42f36c,_0x378070=this[_0xadeee3(0xe2)],_0x81f9d1=this[_0xadeee3(0xe2)][_0xadeee3(0xec)][_0xadeee3(0xdf)](_0xadeee3(0xc7)),_0x19f8ba=_0x4b84f2(this[_0xadeee3(0xe2)][_0xadeee3(0xec)][_0xadeee3(0xdf)](_0xadeee3(0xbb)))[_0xadeee3(0xe5)](_0x48fb05=>_0x48fb05[_0xadeee3(0xce)]),_0x96b0da=_0x3416b9(_0xadeee3(0xbb),_0x19f8ba);_0x378070[_0xadeee3(0xc1)][_0xadeee3(0xd1)](_0x96b0da),_0x378070[_0xadeee3(0xc1)][_0xadeee3(0xe7)](_0xadeee3(0xdb))[_0xadeee3(0xd1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xadeee3(0xbb),'value':_0x3c9d6b=>{const _0x4bdbb2=_0xadeee3;let _0x138ad2=_0x3c9d6b[_0x4bdbb2(0xd7)](_0x4bdbb2(0xcd));return _0x2b39ed(_0x138ad2)&&(_0x138ad2=String(Number(_0x138ad2[_0x4bdbb2(0xc5)](0x0,-0x1))/0x64)),_0x138ad2===String(_0x81f9d1)?null:_0x96b0da[_0x4bdbb2(0xce)][_0x4bdbb2(0xb6)][_0x4bdbb2(0xe9)](_0x138ad2)?_0x138ad2:null;}}});}}
|
|
23
|
+
const _0x244480=_0x2a02;function _0xbdf6(){const _0x5a42c3=['$block','schema','filter','afterInit','isPremiumPlugin','4MJfmxE','317228ysrpkd','lineHeight.supportAllValues','href','line-height','_preparePredefinedConverters','length','2637439GzhoMj','conversion','fromCharCode','4380836CUIXPp','string','pluginName','define','5211990pqNRur','default','LineHeightEditing','config','26969960RpDYvM','downcast','model','add','upcast','8073996bVwfjB','_prepareAnyValueConverters','commands','join','attributeToAttribute','init','map','requires','_validateConfig','values','lineHeight.defaultValue','lineHeight','editor','slice','for','line-height-invalid-use-of-named-presets','1184376wttadn','setAttributeProperties','includes','style','get','lineHeight.options','getStyle','extend','isOfficialPlugin'];_0xbdf6=function(){return _0x5a42c3;};return _0xbdf6();}(function(_0x70e9b9,_0x4f02ba){const _0xc9651e=_0x2a02,_0x56e653=_0x70e9b9();while(!![]){try{const _0x7fa1a3=-parseInt(_0xc9651e(0xbc))/0x1*(-parseInt(_0xc9651e(0xbd))/0x2)+-parseInt(_0xc9651e(0xae))/0x3+parseInt(_0xc9651e(0xc6))/0x4+parseInt(_0xc9651e(0xca))/0x5+parseInt(_0xc9651e(0x9e))/0x6+parseInt(_0xc9651e(0xc3))/0x7+-parseInt(_0xc9651e(0xce))/0x8;if(_0x7fa1a3===_0x4f02ba)break;else _0x56e653['push'](_0x56e653['shift']());}catch(_0x1df4e4){_0x56e653['push'](_0x56e653['shift']());}}}(_0xbdf6,0xb1d95));import{Plugin as _0x5e6bdd}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x13e27a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x515a25}from'ckeditor5/src/engine.js';import{uid as _0x24f54f,CKEditorError as _0x28ff16}from'ckeditor5/src/utils.js';import{buildDefinition as _0x213440,isLineHeightDefaultValue as _0x1c8a02,normalizeOptions as _0x68193f}from'./utils.js';import{LineHeightTodoListIntegration as _0x5d9a8a}from'./integrations/todolist.js';function _0x2a02(_0x52f55b,_0x15d661){const _0xbdf635=_0xbdf6();return _0x2a02=function(_0x2a0294,_0x49af40){_0x2a0294=_0x2a0294-0x9c;let _0x1863aa=_0xbdf635[_0x2a0294];return _0x1863aa;},_0x2a02(_0x52f55b,_0x15d661);}export class LineHeightEditing extends _0x5e6bdd{static get[_0x244480(0xc8)](){const _0x3c54f3=_0x244480;return _0x3c54f3(0xcc);}static get[_0x244480(0xa5)](){return[_0x5d9a8a];}static get[_0x244480(0xb6)](){return!0x0;}static get[_0x244480(0xbb)](){return!0x0;}constructor(_0x12ad30){const _0x378d34=_0x244480;super(_0x12ad30),_0x12ad30[_0x378d34(0xcd)][_0x378d34(0xc9)](_0x378d34(0xa9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x378d34(0xcb),0x2,2.5,0x3]});}[_0x244480(0xa3)](){const _0x346a7c=_0x244480,_0x1c5a3c=this[_0x346a7c(0xaa)];this[_0x346a7c(0xa6)](),_0x1c5a3c[_0x346a7c(0xd0)][_0x346a7c(0xb8)][_0x346a7c(0xb5)](_0x346a7c(0xb7),{'allowAttributes':_0x346a7c(0xa9)}),_0x1c5a3c[_0x346a7c(0xd0)][_0x346a7c(0xb8)][_0x346a7c(0xaf)](_0x346a7c(0xa9),{'isFormatting':!0x0}),_0x1c5a3c[_0x346a7c(0xa0)][_0x346a7c(0x9c)](_0x346a7c(0xa9),new _0x13e27a(_0x1c5a3c)),this[_0x346a7c(0xaa)][_0x346a7c(0xcd)][_0x346a7c(0xb2)](_0x346a7c(0xbe))?this[_0x346a7c(0x9f)]():this[_0x346a7c(0xc1)]();}[_0x244480(0xba)](){!async function(_0x58aeb8){const _0x5cb4c7=_0x29453e([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]),_0x5303e7=0x45ddd215,_0x464b77=0x45daa85d^_0x5303e7,_0x40837a=window[_0x29453e([0x44,0x61,0x74,0x65])][_0x29453e([0x6e,0x6f,0x77])](),_0x2e0cfb=_0x58aeb8[_0x29453e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x189eef=new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44875e=>{_0x2e0cfb[_0x29453e([0x6f,0x6e,0x63,0x65])](_0x29453e([0x72,0x65,0x61,0x64,0x79]),_0x44875e);}),_0xd8ae90={[_0x29453e([0x6b,0x74,0x79])]:_0x29453e([0x45,0x43]),[_0x29453e([0x75,0x73,0x65])]:_0x29453e([0x73,0x69,0x67]),[_0x29453e([0x63,0x72,0x76])]:_0x29453e([0x50,0x2d,0x32,0x35,0x36]),[_0x29453e([0x78])]:_0x29453e([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]),[_0x29453e([0x79])]:_0x29453e([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]),[_0x29453e([0x61,0x6c,0x67])]:_0x29453e([0x45,0x53,0x32,0x35,0x36])},_0x4c1956=_0x2e0cfb[_0x29453e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29453e([0x67,0x65,0x74])](_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29d99c(){let _0x1d70da,_0x5072c0=null,_0x5c3a43=null;try{if(_0x4c1956==_0x29453e([0x47,0x50,0x4c]))return _0x29453e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d70da=_0x5de24c(),!_0x1d70da)return _0x29453e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d70da[_0x29453e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c3a43=_0x1437be(_0x1d70da[_0x29453e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d70da[_0x29453e([0x6a,0x74,0x69])])),await _0x510417()?_0x1cb2cc()?_0x2427f2()?_0x29453e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20082a()?(_0x1d70da[_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29453e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5072c0=_0x342580(_0x29453e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d70da[_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29453e([0x74,0x72,0x69,0x61,0x6c])&&(_0x5072c0=_0x342580(_0x29453e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4852f8()):_0x29453e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29453e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29453e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29453e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2427f2(){const _0x39ead6=[_0x29453e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29453e([0x74,0x72,0x69,0x61,0x6c])][_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d70da[_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40837a/0x3e8:0xe10*_0x464b77;return _0x1d70da[_0x29453e([0x65,0x78,0x70])]<_0x39ead6;}function _0x1cb2cc(){const _0x57615c=_0x1d70da[_0x29453e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57615c&&(!!_0x57615c[_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29453e([0x2a]))||!!_0x57615c[_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29453e([0x4c,0x48])));}function _0x20082a(){const _0x351dfb=_0x2a02,_0x31182c=_0x1d70da[_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31182c||0x0==_0x31182c[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15385e}=new URL(window[_0x29453e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x351dfb(0xbf)]);if(_0x31182c[_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15385e))return!0x0;const _0x5f21a0=_0x15385e[_0x29453e([0x73,0x70,0x6c,0x69,0x74])](_0x29453e([0x2e]));return _0x31182c[_0x29453e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bd696=>_0x3bd696[_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29453e([0x2a])))[_0x29453e([0x6d,0x61,0x70])](_0x13413f=>_0x13413f[_0x29453e([0x73,0x70,0x6c,0x69,0x74])](_0x29453e([0x2e])))[_0x29453e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fdc03=>_0x3fdc03[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f21a0[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29453e([0x6d,0x61,0x70])](_0x5b84e5=>Array(_0x5f21a0[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b84e5[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29453e([0x66,0x69,0x6c,0x6c])](_0x5b84e5[0x0]===_0x29453e([0x2a])?_0x29453e([0x2a]):'')[_0x29453e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b84e5))[_0x29453e([0x73,0x6f,0x6d,0x65])](_0x3d2390=>_0x5f21a0[_0x29453e([0x65,0x76,0x65,0x72,0x79])]((_0xe88f7e,_0x385716)=>_0x3d2390[_0x385716]===_0xe88f7e||_0x3d2390[_0x385716]===_0x29453e([0x2a])));}function _0x4852f8(){return _0x5072c0&&_0x5c3a43?new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x125a7d,_0x11841e)=>{_0x5072c0[_0x29453e([0x74,0x68,0x65,0x6e])](_0x125a7d,_0x11841e),_0x5c3a43[_0x29453e([0x74,0x68,0x65,0x6e])](_0x581219=>{_0x581219!=_0x29453e([0x56,0x61,0x6c,0x69,0x64])&&_0x125a7d(_0x581219);},_0x11841e);}):_0x5072c0||_0x5c3a43||_0x29453e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1437be(_0x3637f1,_0x2e3e7b){return new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x390a56=>{if(_0x153b53())return _0x390a56(_0x29453e([0x56,0x61,0x6c,0x69,0x64]));_0x592bff(),_0x2e0cfb[_0x29453e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29453e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d1313=!0x1;const _0x9c6d90=_0x24f54f();function _0xbc0557(_0x2bf864){return!!_0x2bf864&&(typeof _0x2bf864===_0x29453e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bf864===_0x29453e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bf864[_0x29453e([0x74,0x68,0x65,0x6e])]===_0x29453e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bf864[_0x29453e([0x63,0x61,0x74,0x63,0x68])]===_0x29453e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bbc10(_0x1dafda){_0x3faf81(_0x1dafda)[_0x29453e([0x74,0x68,0x65,0x6e])](_0x1ca49a=>{if(!_0x1ca49a||_0x1ca49a[_0x29453e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29453e([0x6f,0x6b]))return _0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x169caa(_0xbf86ee(_0x9c6d90+_0x2e3e7b))!=_0x1ca49a[_0x29453e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29453e([0x56,0x61,0x6c,0x69,0x64]);})[_0x29453e([0x74,0x68,0x65,0x6e])](_0x48a2ff=>(_0xab81e5(),_0x48a2ff),()=>{const _0x4e1d9e=_0x48a2af();return null==_0x4e1d9e?(_0xab81e5(),_0x29453e([0x56,0x61,0x6c,0x69,0x64])):_0x29453e(_0x40837a-_0x4e1d9e>(0x61d15615^_0x5303e7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29453e([0x74,0x68,0x65,0x6e])](_0x390a56)[_0x29453e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x390a56(_0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c77cb=0x45eb3c95^_0x5303e7;function _0xab81e5(){const _0x562a7f=_0x29453e([0x6c,0x6c,0x63,0x74,0x2d])+_0x169caa(_0xbf86ee(_0x3637f1)),_0x443ed0=_0x37202b(_0x169caa(window[_0x29453e([0x4d,0x61,0x74,0x68])][_0x29453e([0x63,0x65,0x69,0x6c])](_0x40837a/_0x3c77cb)));window[_0x29453e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29453e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x562a7f,_0x443ed0);}function _0x48a2af(){const _0x503f49=_0x29453e([0x6c,0x6c,0x63,0x74,0x2d])+_0x169caa(_0xbf86ee(_0x3637f1)),_0x4a6fc6=window[_0x29453e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29453e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x503f49);return _0x4a6fc6?window[_0x29453e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37202b(_0x4a6fc6),0x10)*_0x3c77cb:null;}function _0x3faf81(_0x6f4bd3){return new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x122056,_0x2a6f86)=>{_0x6f4bd3[_0x29453e([0x74,0x68,0x65,0x6e])](_0x122056,_0x2a6f86),window[_0x29453e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a6f86,0x45dc06d5^_0x5303e7);});}}_0x2e0cfb[_0x29453e([0x6f,0x6e])](_0x29453e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2282b2,_0x537333)=>{if(_0x537333[0x0]!=_0x3637f1)return _0x390a56(_0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x537333[0x1]={..._0x537333[0x1],[_0x29453e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9c6d90};},{[_0x29453e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29453e([0x68,0x69,0x67,0x68])}),_0x2e0cfb[_0x29453e([0x6f,0x6e])](_0x29453e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f1393=>{_0xbc0557(_0x2f1393[_0x29453e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d1313=!0x0,_0x4bbc10(_0x2f1393[_0x29453e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29453e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29453e([0x6c,0x6f,0x77])}),_0x189eef[_0x29453e([0x74,0x68,0x65,0x6e])](()=>{_0x3d1313||_0x390a56(_0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x153b53(){return _0x2e0cfb[_0x29453e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29453e([0x76,0x69,0x65,0x77])][_0x29453e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29453e([0x61,0x75,0x74,0x6f]);}function _0x592bff(){_0x2e0cfb[_0x29453e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29453e([0x76,0x69,0x65,0x77])][_0x29453e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29453e([0x61,0x75,0x74,0x6f]);}}function _0x342580(_0x6ab55d){const _0x501fd2=[new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaf7d74=>setTimeout(_0xaf7d74,0x45d4ecd9^_0x5303e7)),_0x189eef[_0x29453e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x696cb5=>{let _0x4dcbc9=0x0;_0x2e0cfb[_0x29453e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29453e([0x6f,0x6e])](_0x29453e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf2799b,_0x4e8010)=>{_0x4e8010[0x0][_0x29453e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4dcbc9++,_0x4dcbc9==(0x45ddd3ed^_0x5303e7)&&(_0x696cb5(),_0xf2799b[_0x29453e([0x6f,0x66,0x66])]());});}))];return window[_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29453e([0x72,0x61,0x63,0x65])](_0x501fd2)[_0x29453e([0x74,0x68,0x65,0x6e])](()=>_0x6ab55d);}async function _0x45dac5(){await _0x189eef,_0x2e0cfb[_0x29453e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29453e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56c5af,_0x2e0cfb[_0x29453e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29453e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56c5af,_0x2e0cfb[_0x29453e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29453e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x478293(_0x515eba){const _0x48c133=_0x2745c9();_0x2e0cfb[_0x48c133]=_0x29453e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x515eba,_0x515eba!=_0x29453e([0x56,0x61,0x6c,0x69,0x64])&&_0x45dac5();}function _0x2745c9(){const _0x2b8bf2=window[_0x29453e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29453e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29453e([0x6e,0x6f,0x77])]())[_0x29453e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29453e([0x2e]),'');let _0x5ab498=_0x29453e([0x50]);for(let _0xbffbf6=0x0;_0xbffbf6<_0x2b8bf2[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbffbf6+=0x2){let _0x5d8f1c=window[_0x29453e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b8bf2[_0x29453e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbffbf6,_0xbffbf6+0x2));_0x5d8f1c>=_0x5cb4c7[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d8f1c-=_0x5cb4c7[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ab498+=_0x5cb4c7[_0x5d8f1c];}return _0x5ab498;}function _0x5de24c(){const _0x41a8a9=_0x4c1956[_0x29453e([0x73,0x70,0x6c,0x69,0x74])](_0x29453e([0x2e]));if(0x3!=_0x41a8a9[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x502202(_0x41a8a9[0x1]);function _0x502202(_0x2dfa3d){const _0x5b67f7=_0x4a337f(_0x2dfa3d);return _0x5b67f7&&_0x41536b()?_0x5b67f7:null;function _0x41536b(){const _0x5768f3=_0x5b67f7[_0x29453e([0x6a,0x74,0x69])],_0x3cd463=window[_0x29453e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5768f3[_0x29453e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5768f3[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33e7f1={..._0x5b67f7,[_0x29453e([0x6a,0x74,0x69])]:_0x5768f3[_0x29453e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5768f3[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33e7f1[_0x29453e([0x76,0x63])],_0xbf86ee(_0x33e7f1)==_0x3cd463;}}}async function _0x510417(){let _0xd1012b=!0x0;try{const _0x21f6b4=_0x4c1956[_0x29453e([0x73,0x70,0x6c,0x69,0x74])](_0x29453e([0x2e])),[_0x35c695,_0x255370,_0x7ed93]=_0x21f6b4;return _0x1367a8(_0x35c695),await _0x41331d(_0x35c695,_0x255370,_0x7ed93),_0xd1012b;}catch{return!0x1;}function _0x1367a8(_0x345ac6){const _0x43e4c6=_0x4a337f(_0x345ac6);_0x43e4c6&&_0x43e4c6[_0x29453e([0x61,0x6c,0x67])]==_0x29453e([0x45,0x53,0x32,0x35,0x36])||(_0xd1012b=!0x1);}async function _0x41331d(_0xfbc5cb,_0x2c6c87,_0x5919d8){const _0x55eb5c=window[_0x29453e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29453e([0x66,0x72,0x6f,0x6d])](_0x1e96ed(_0x5919d8),_0x527b59=>_0x527b59[_0x29453e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d2453=new window[(_0x29453e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29453e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfbc5cb+_0x29453e([0x2e])+_0x2c6c87),_0x204716=window[_0x29453e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29453e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x204716)return;const _0x23be68=await _0x204716[_0x29453e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29453e([0x6a,0x77,0x6b]),_0xd8ae90,{[_0x29453e([0x6e,0x61,0x6d,0x65])]:_0x29453e([0x45,0x43,0x44,0x53,0x41]),[_0x29453e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29453e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29453e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x204716[_0x29453e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29453e([0x6e,0x61,0x6d,0x65])]:_0x29453e([0x45,0x43,0x44,0x53,0x41]),[_0x29453e([0x68,0x61,0x73,0x68])]:{[_0x29453e([0x6e,0x61,0x6d,0x65])]:_0x29453e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23be68,_0x55eb5c,_0x3d2453)||(_0xd1012b=!0x1);}}function _0x4a337f(_0x593e86){return _0x593e86[_0x29453e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29453e([0x65,0x79]))?JSON[_0x29453e([0x70,0x61,0x72,0x73,0x65])](_0x1e96ed(_0x593e86)):null;}function _0x1e96ed(_0x520494){return window[_0x29453e([0x61,0x74,0x6f,0x62])](_0x520494[_0x29453e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29453e([0x2b]))[_0x29453e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29453e([0x2f])));}function _0xbf86ee(_0x3da6ec){let _0x3ef0fe=0x1505;function _0x4199b7(_0x32dbcf){for(let _0xbefc45=0x0;_0xbefc45<_0x32dbcf[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbefc45++){const _0x1829da=_0x32dbcf[_0x29453e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xbefc45);_0x3ef0fe=(_0x3ef0fe<<0x5)+_0x3ef0fe+_0x1829da,_0x3ef0fe&=_0x3ef0fe;}}function _0x33727d(_0x439448){Array[_0x29453e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x439448)?_0x439448[_0x29453e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33727d):_0x439448&&typeof _0x439448==_0x29453e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29453e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x439448)[_0x29453e([0x73,0x6f,0x72,0x74])]()[_0x29453e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57071e,_0x2a47d2])=>{_0x4199b7(_0x57071e),_0x33727d(_0x2a47d2);}):_0x4199b7(window[_0x29453e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x439448));}return _0x33727d(_0x3da6ec),_0x3ef0fe>>>0x0;}function _0x169caa(_0x4fa00d){return _0x4fa00d[_0x29453e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29453e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29453e([0x30]));}function _0x37202b(_0x1deb05){return _0x1deb05[_0x29453e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29453e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29453e([0x6a,0x6f,0x69,0x6e])]('');}function _0x56c5af(){}function _0x29453e(_0x40ad6c){const _0x21a8c4=_0x2a02;return _0x40ad6c[_0x21a8c4(0xa4)](_0x12e983=>String[_0x21a8c4(0xc5)](_0x12e983))[_0x21a8c4(0xa1)]('');}_0x478293(await _0x29d99c());}(this);}[_0x244480(0xa6)](){const _0x290d08=_0x244480,_0x454290=this[_0x290d08(0xaa)];if(!_0x454290[_0x290d08(0xcd)][_0x290d08(0xb2)](_0x290d08(0xbe)))return;const _0x83d56f=_0x454290[_0x290d08(0xcd)][_0x290d08(0xb2)](_0x290d08(0xb3))[_0x290d08(0xb9)](_0x330f06=>_0x290d08(0xc7)==typeof _0x330f06&&(!_0x1c8a02(_0x330f06)&&isNaN(Number(_0x330f06))));if(_0x83d56f[_0x290d08(0xc2)])throw new _0x28ff16(_0x290d08(0xad),null,{'namedPresets':_0x83d56f});}[_0x244480(0x9f)](){const _0x437321=_0x244480,_0x13fe6a=this[_0x437321(0xaa)],_0x34bf7c=this[_0x437321(0xaa)][_0x437321(0xcd)][_0x437321(0xb2)](_0x437321(0xa8));_0x13fe6a[_0x437321(0xc4)][_0x437321(0xac)](_0x437321(0xcf))[_0x437321(0xa2)]({'model':{'key':_0x437321(0xa9)},'view':_0x533eb2=>String(_0x533eb2)===String(_0x34bf7c)?null:{'key':_0x437321(0xb1),'value':{'line-height':_0x533eb2}}}),_0x13fe6a[_0x437321(0xc4)][_0x437321(0xac)](_0x437321(0x9d))[_0x437321(0xa2)]({'model':{'key':_0x437321(0xa9),'value':_0x2d68f3=>{const _0xf5e753=_0x437321;let _0x2252f8=_0x2d68f3[_0xf5e753(0xb4)](_0xf5e753(0xc0));return _0x515a25(_0x2252f8)&&(_0x2252f8=String(Number(_0x2252f8[_0xf5e753(0xab)](0x0,-0x1))/0x64)),String(_0x2252f8)===String(_0x34bf7c)?null:_0x2252f8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x244480(0xc1)](){const _0x409767=_0x244480,_0x3b6e60=this[_0x409767(0xaa)],_0x43d337=this[_0x409767(0xaa)][_0x409767(0xcd)][_0x409767(0xb2)](_0x409767(0xa8)),_0x32d3cb=_0x68193f(this[_0x409767(0xaa)][_0x409767(0xcd)][_0x409767(0xb2)](_0x409767(0xa9)))[_0x409767(0xb9)](_0xbc3d1a=>_0xbc3d1a[_0x409767(0xd0)]),_0x4bf58d=_0x213440(_0x409767(0xa9),_0x32d3cb);_0x3b6e60[_0x409767(0xc4)][_0x409767(0xa2)](_0x4bf58d),_0x3b6e60[_0x409767(0xc4)][_0x409767(0xac)](_0x409767(0x9d))[_0x409767(0xa2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x409767(0xa9),'value':_0x41a406=>{const _0x1acc91=_0x409767;let _0x3071df=_0x41a406[_0x1acc91(0xb4)](_0x1acc91(0xc0));return _0x515a25(_0x3071df)&&(_0x3071df=String(Number(_0x3071df[_0x1acc91(0xab)](0x0,-0x1))/0x64)),_0x3071df===String(_0x43d337)?null:_0x4bf58d[_0x1acc91(0xd0)][_0x1acc91(0xa7)][_0x1acc91(0xb0)](_0x3071df)?_0x3071df:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1c81c7}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4e3acf,createDropdown as _0x6d1966,MenuBarMenuListItemButtonView as _0x5acb55,MenuBarMenuListItemView as _0x5ac9a8,MenuBarMenuListView as _0x2d2738,MenuBarMenuView as _0x38d76a,UIModel as _0xc3a318}from'ckeditor5/src/ui.js';import{Collection as _0x5c19cb}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x4b9478}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4575c1}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1c81c7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2ec7d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2ec7d),this['_registerMenuBarComponent'](_0x2ec7d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb6f3a4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26ad0b;for(const _0x4fd77c in _0xb6f3a4){const _0x5a00fc=_0x4fd77c,_0x48b7b3=_0xb6f3a4[_0x5a00fc];if('lineHeightLicenseKeyValid'==_0x48b7b3||'lineHeightLicenseKeyInvalid'==_0x48b7b3||'lineHeightLicenseKeyExpired'==_0x48b7b3||'lineHeightLicenseKeyDomainLimit'==_0x48b7b3||'lineHeightLicenseKeyNotAllowed'==_0x48b7b3||'lineHeightLicenseKeyEvaluationLimit'==_0x48b7b3||'lineHeightLicenseKeyTrialLimit'==_0x48b7b3||'lineHeightLicenseKeyUsageLimit'==_0x48b7b3){delete _0xb6f3a4[_0x5a00fc],_0x26ad0b=_0x48b7b3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x26ad0b&&_0xb6f3a4['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x26ad0b&&_0xb6f3a4['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x26ad0b&&_0xb6f3a4['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x26ad0b&&_0xb6f3a4['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x26ad0b&&_0xb6f3a4['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x26ad0b&&_0xb6f3a4['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x26ad0b&&_0xb6f3a4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x50d97e=this['editor'],t=_0x50d97e['t'],_0x10fdca=_0x50d97e['config']['get']('lineHeight'),_0x21bed7={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4575c1(_0x10fdca)['map'](_0x2c365b=>{const _0x469c4e=_0x21bed7[_0x2c365b['title']];return _0x469c4e&&_0x469c4e!=_0x2c365b['title']&&(_0x2c365b=Object['assign']({},_0x2c365b,{'title':_0x469c4e})),_0x2c365b;});}['_prepareListOptions'](){const _0x35f12e=this['editor']['commands']['get']('lineHeight'),_0x1126f0=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4b24c2=this['_getLocalizedLineHeightOptions'](),_0x45edfe=new _0x5c19cb(),_0x1febe9=_0xe1c09a=>'default'===_0xe1c09a||String(_0x1126f0)===_0xe1c09a;for(const _0x25aa0e of _0x4b24c2){const _0x1e79e1={'type':'button','model':new _0xc3a318({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x25aa0e['title'],'withText':!0x0})};_0x1febe9(_0x25aa0e['model'])?(_0x1e79e1['model']['bind']('isOn')['to'](_0x35f12e,'value',_0x10e240=>!_0x10e240),_0x1e79e1['model']['commandParam']=void 0x0):(_0x1e79e1['model']['bind']('isOn')['to'](_0x35f12e,'value',_0x4acbb6=>_0x4acbb6===_0x25aa0e['model']),_0x1e79e1['model']['commandParam']=_0x25aa0e['model']),_0x45edfe['add'](_0x1e79e1);}if(this['_shouldRenderCustomValueOption']()){const _0x2ef30d=this['_getCustomValueOptionDefinition'](_0x4b24c2);_0x45edfe['add'](_0x2ef30d);}return _0x45edfe;}['_getCustomValueOptionDefinition'](_0x322a6c){const _0x572522=this['editor'],t=_0x572522['t'],_0x15ad1e=_0x572522['commands']['get']('lineHeight'),_0x4ec4ee=_0x322a6c['map'](_0x34872f=>_0x34872f['model']),_0x42e585={'type':'button','model':new _0xc3a318({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x42e585['model']['bind']('commandParam')['to'](_0x15ad1e,'value'),_0x42e585['model']['bind']('isOn')['to'](_0x15ad1e,'value',_0x5b9319=>!!_0x5b9319&&!_0x4ec4ee['includes'](String(_0x5b9319))),_0x42e585['model']['bind']('label')['to'](_0x15ad1e,'value',_0x2cc060=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2cc060))),_0x42e585;}['_registerToolbarComponent']({accessibleLabel:_0x4c6b08,options:_0x2d9926}){const _0x7315cd=this['editor'],_0x193fc2=_0x7315cd['commands']['get']('lineHeight');_0x7315cd['ui']['componentFactory']['add']('lineHeight',_0x15c278=>{const _0x21e3ed=_0x6d1966(_0x15c278);return _0x4e3acf(_0x21e3ed,_0x2d9926,{'role':'menu','ariaLabel':_0x4c6b08}),_0x21e3ed['buttonView']['set']({'label':_0x4c6b08,'tooltip':!0x0,'icon':_0x4b9478}),_0x21e3ed['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x21e3ed['bind']('isEnabled')['to'](_0x193fc2),this['listenTo'](_0x21e3ed,'execute',_0x5c0053=>{_0x7315cd['execute'](_0x5c0053['source']['commandName'],{'value':_0x5c0053['source']['commandParam']}),_0x7315cd['editing']['view']['focus']();}),_0x21e3ed['once']('change:isOpen',()=>{const _0x179e20=_0x21e3ed['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x21e3ed,_0x2d9926,_0x179e20);}),_0x21e3ed;});}['_registerMenuBarComponent']({accessibleLabel:_0x12b44a,options:_0x86e290}){const _0x5797ad=this['editor'],_0x2953ce=_0x5797ad['commands']['get']('lineHeight');_0x5797ad['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1b49c5=>{const _0x1da04e=new _0x38d76a(_0x1b49c5);_0x1da04e['buttonView']['set']({'label':_0x12b44a,'icon':_0x4b9478}),_0x1da04e['bind']('isEnabled')['to'](_0x2953ce);const _0x4b6e26=new _0x2d2738(_0x1b49c5);for(const _0x42a443 of _0x86e290){const _0x1ee1ac=new _0x5ac9a8(_0x1b49c5,_0x1da04e),_0x4e8b1c=new _0x5acb55(_0x1b49c5);_0x4e8b1c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4e8b1c['bind'](...Object['keys'](_0x42a443['model']))['to'](_0x42a443['model']),_0x4e8b1c['delegate']('execute')['to'](_0x1da04e),_0x4e8b1c['on']('execute',()=>{_0x5797ad['execute'](_0x42a443['model']['commandName'],{'value':_0x42a443['model']['commandParam']}),_0x5797ad['editing']['view']['focus']();}),_0x1ee1ac['children']['add'](_0x4e8b1c),_0x4b6e26['items']['add'](_0x1ee1ac);}return _0x1da04e['panelView']['children']['add'](_0x4b6e26),this['_attachCustomOptionVisibilityHandler'](_0x1da04e,_0x86e290,_0x4b6e26),_0x1da04e;});}['_attachCustomOptionVisibilityHandler'](_0xe889fc,_0x1d6e10,_0x58d7b4){if(!this['_shouldRenderCustomValueOption']())return;const _0x425cd0=()=>{if(!_0xe889fc['isOpen'])return;_0x58d7b4['items']['last']['isVisible']=Boolean(_0x1d6e10['last']['model']['isOn']);};_0x425cd0(),_0xe889fc['on']('change:isOpen',()=>{_0x425cd0();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x14ecad,_0x573880){const _0x10b6bf=_0xac78,_0x543c81=_0x14ecad();while(!![]){try{const _0x38b7e5=-parseInt(_0x10b6bf(0x187))/0x1*(parseInt(_0x10b6bf(0x175))/0x2)+parseInt(_0x10b6bf(0x188))/0x3+parseInt(_0x10b6bf(0x17b))/0x4+parseInt(_0x10b6bf(0x17a))/0x5+-parseInt(_0x10b6bf(0x18b))/0x6+parseInt(_0x10b6bf(0x17f))/0x7*(parseInt(_0x10b6bf(0x16f))/0x8)+-parseInt(_0x10b6bf(0x173))/0x9;if(_0x38b7e5===_0x573880)break;else _0x543c81['push'](_0x543c81['shift']());}catch(_0x5886be){_0x543c81['push'](_0x543c81['shift']());}}}(_0x22dc,0xaeb9c));function _0x22dc(){const _0x1cf8e1=['filter','default','1165266ndAgLX','string','key','value','map','5608CfsAvD','double','single','options','19243917NNOnju','Single','8CgYBwc','number','line-height:','view','model','3028195bRqYrS','5202876hYyeMh','line-height-single','style','push','4431qgkjWa','class','values','toLowerCase','defaultValue','line-height-double','Double','span','117812uwUQzc','3507771MTALvs'];_0x22dc=function(){return _0x1cf8e1;};return _0x22dc();}const v={get 'single'(){const _0x1d9de0=_0xac78;return{'title':_0x1d9de0(0x174),'model':_0x1d9de0(0x171),'view':{'key':_0x1d9de0(0x180),'value':_0x1d9de0(0x17c)}};},get 'double'(){const _0xd806b5=_0xac78;return{'title':_0xd806b5(0x185),'model':_0xd806b5(0x170),'view':{'key':_0xd806b5(0x180),'value':_0xd806b5(0x184)}};}};function _0xac78(_0x45c740,_0x530836){const _0x22dc13=_0x22dc();return _0xac78=function(_0xac78f3,_0x3f20e3){_0xac78f3=_0xac78f3-0x16b;let _0x31c5a8=_0x22dc13[_0xac78f3];return _0x31c5a8;},_0xac78(_0x45c740,_0x530836);}export function isLineHeightDefaultValue(_0x353484){const _0x471f2a=_0xac78;return _0x471f2a(0x16b)==typeof _0x353484&&_0x471f2a(0x18a)===_0x353484[_0x471f2a(0x182)]();}export function normalizeOptions(_0x31ba61){const _0x19cc53=_0xac78;return _0x31ba61[_0x19cc53(0x172)][_0x19cc53(0x16e)](_0x2e7a02=>isLineHeightDefaultValue(_0x2e7a02)?{'title':String(_0x31ba61[_0x19cc53(0x183)]),'model':_0x19cc53(0x18a)}:(_0x19cc53(0x176)==typeof _0x2e7a02&&(_0x2e7a02=String(_0x2e7a02)),_0x19cc53(0x16b)!=typeof _0x2e7a02?_0x2e7a02:parseFloat(_0x2e7a02)?{'title':_0x2e7a02,'model':_0x2e7a02,'view':{'name':_0x19cc53(0x186),'styles':{'line-height':_0x2e7a02}}}:findPreset(_0x2e7a02)))[_0x19cc53(0x189)](_0x58e0da=>void 0x0!==_0x58e0da);}export function findPreset(_0x5ba584){const _0x1be5d5=_0xac78;return _0x1be5d5(0x16b)==typeof _0x5ba584?v[_0x5ba584]:v[_0x5ba584[_0x1be5d5(0x179)]];}export function buildDefinition(_0x31c5c5,_0x62d8a){const _0x1d28e9=_0xac78,_0x463c32={'model':{'key':_0x31c5c5,'values':[]},'view':{}};for(const _0x559694 of _0x62d8a)_0x1d28e9(0x180)===_0x559694[_0x1d28e9(0x178)]?.[_0x1d28e9(0x16c)]?(_0x463c32[_0x1d28e9(0x179)][_0x1d28e9(0x181)][_0x1d28e9(0x17e)](_0x559694[_0x1d28e9(0x179)]),_0x463c32[_0x1d28e9(0x178)][_0x559694[_0x1d28e9(0x179)]]={'key':_0x1d28e9(0x180),'value':_0x559694[_0x1d28e9(0x178)][_0x1d28e9(0x16d)]}):(_0x463c32[_0x1d28e9(0x179)][_0x1d28e9(0x181)][_0x1d28e9(0x17e)](_0x559694[_0x1d28e9(0x179)]),_0x463c32[_0x1d28e9(0x178)][_0x559694[_0x1d28e9(0x179)]]={'key':_0x1d28e9(0x17d),'value':_0x1d28e9(0x177)+_0x559694[_0x1d28e9(0x179)]+';'});return _0x463c32;}
|