@ckeditor/ckeditor5-line-height 47.6.2 → 47.7.0-alpha.1
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
|
+
function _0x4a19(){const _0x378dd8=['pluginName','isOfficialPlugin','name','item','147XIoJtZ','TodoListEditing','ListEditing','20TgpnrC','9DJqDPn','94206BMEJRO','todo','for','init','elementToElement','addClass','add','get','viewItem','consume','6656740hermFT','488gEYJdr','todo-list__label__description','paragraph','element:li','LineHeightTodoListIntegration','match','16464440rqMzbR','8199176CEaHsO','editor','getAttribute','--ck-content-list-marker-line-height','registerDowncastStrategy','has','4397sXoIqN','5386304hcTcCR','span','upcast','high','lineHeight','listType','setStyle','ck-list-marker-line-height','isPremiumPlugin','309306tPBDdh','consumable'];_0x4a19=function(){return _0x378dd8;};return _0x4a19();}const _0x3d67=_0x1848;(function(_0x36e9ef,_0x5882e0){const _0x43705f=_0x1848,_0x4da1e6=_0x36e9ef();while(!![]){try{const _0x52a635=-parseInt(_0x43705f(0x178))/0x1*(parseInt(_0x43705f(0x16b))/0x2)+-parseInt(_0x43705f(0x182))/0x3*(-parseInt(_0x43705f(0x15e))/0x4)+parseInt(_0x43705f(0x16a))/0x5+-parseInt(_0x43705f(0x160))/0x6*(-parseInt(_0x43705f(0x15b))/0x7)+-parseInt(_0x43705f(0x172))/0x8*(-parseInt(_0x43705f(0x15f))/0x9)+-parseInt(_0x43705f(0x171))/0xa+parseInt(_0x43705f(0x179))/0xb;if(_0x52a635===_0x5882e0)break;else _0x4da1e6['push'](_0x4da1e6['shift']());}catch(_0x5ad925){_0x4da1e6['push'](_0x4da1e6['shift']());}}}(_0x4a19,0xed434));import{Plugin as _0x5d7c62}from'ckeditor5/src/core.js';import{Matcher as _0x2dee9b}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x1848(_0x122a13,_0x1b017a){const _0x4a193b=_0x4a19();return _0x1848=function(_0x184825,_0xec83d7){_0x184825=_0x184825-0x15b;let _0x2b00d6=_0x4a193b[_0x184825];return _0x2b00d6;},_0x1848(_0x122a13,_0x1b017a);}export class LineHeightTodoListIntegration extends _0x5d7c62{static get[_0x3d67(0x184)](){const _0x4604b4=_0x3d67;return _0x4604b4(0x16f);}static get[_0x3d67(0x185)](){return!0x0;}static get[_0x3d67(0x181)](){return!0x0;}[_0x3d67(0x163)](){const _0x3fd52d=_0x3d67,{plugins:_0x46a4ac,conversion:_0x5e7553}=this[_0x3fd52d(0x173)];if(!_0x46a4ac[_0x3fd52d(0x177)](_0x3fd52d(0x15d))||!_0x46a4ac[_0x3fd52d(0x177)](_0x3fd52d(0x15c)))return;_0x46a4ac[_0x3fd52d(0x167)](_0x3fd52d(0x15d))[_0x3fd52d(0x176)]({'scope':_0x3fd52d(0x187),'attributeName':_0x3fd52d(0x17d),'consume':!0x1,'setAttributeOnDowncast'(_0x3aa272,_0x2bdb0f,_0x3096d,_0x4da841,_0x5079cf){const _0x512f9d=_0x3fd52d;_0x512f9d(0x161)==_0x5079cf[_0x512f9d(0x174)](_0x512f9d(0x17e))&&_0x2bdb0f&&(_0x3aa272[_0x512f9d(0x165)](_0x512f9d(0x180),_0x3096d),_0x3aa272[_0x512f9d(0x17f)](_0x512f9d(0x175),_0x2bdb0f,_0x3096d));}}),_0x5e7553[_0x3fd52d(0x162)](_0x3fd52d(0x17b))[_0x3fd52d(0x164)]({'view':{'name':_0x3fd52d(0x17a),'classes':_0x3fd52d(0x16c)},'model':_0x3fd52d(0x16d),'converterPriority':_0x3fd52d(0x17c)}),_0x5e7553[_0x3fd52d(0x162)](_0x3fd52d(0x17b))[_0x3fd52d(0x166)](_0x19c30d=>{const _0x54d548=_0x3fd52d;_0x19c30d['on'](_0x54d548(0x16e),function(_0x1718e3){const _0x15d14d=new _0x2dee9b(_0x1718e3);return(_0x42087e,_0xfc174a,_0x163dd0)=>{const _0x5ca3bd=_0x1848,_0x3a50bb=_0x15d14d[_0x5ca3bd(0x170)](_0xfc174a[_0x5ca3bd(0x168)]);if(!_0x3a50bb)return;const _0x414fde=_0x3a50bb[_0x5ca3bd(0x170)];_0x414fde[_0x5ca3bd(0x186)]=!0x1,_0x163dd0[_0x5ca3bd(0x183)][_0x5ca3bd(0x169)](_0xfc174a[_0x5ca3bd(0x168)],_0x414fde);};}({'name':'li','classes':_0x54d548(0x180),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x59eb98=_0x25df;function _0x5a99(){var _0x95d86c=['4389096toCCkU','3709821kockMG','20uaJiql','39088MnQEgm','requires','pluginName','isPremiumPlugin','7450695Awhmgh','1751628qUFWYK','isOfficialPlugin','5000148TZGzBo','1374687KlGRQg','LineHeight','5MsitrE','8itZiPe'];_0x5a99=function(){return _0x95d86c;};return _0x5a99();}(function(_0x9ed64c,_0x3b451f){var _0x1e1412=_0x25df,_0x626ec1=_0x9ed64c();while(!![]){try{var _0x4fa185=-parseInt(_0x1e1412(0xf7))/0x1*(parseInt(_0x1e1412(0xf3))/0x2)+parseInt(_0x1e1412(0xf5))/0x3+-parseInt(_0x1e1412(0xed))/0x4+parseInt(_0x1e1412(0xf2))/0x5*(-parseInt(_0x1e1412(0xef))/0x6)+parseInt(_0x1e1412(0xec))/0x7+-parseInt(_0x1e1412(0xf4))/0x8+parseInt(_0x1e1412(0xf0))/0x9*(parseInt(_0x1e1412(0xf6))/0xa);if(_0x4fa185===_0x3b451f)break;else _0x626ec1['push'](_0x626ec1['shift']());}catch(_0x57df3c){_0x626ec1['push'](_0x626ec1['shift']());}}}(_0x5a99,0x99dd0));import{Plugin as _0x3fcd05}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x86ff2}from'./lineheightediting.js';import{LineHeightUI as _0x366247}from'./lineheightui.js';function _0x25df(_0x16fc8f,_0x58fe0e){var _0x5a993a=_0x5a99();return _0x25df=function(_0x25dfc0,_0x755200){_0x25dfc0=_0x25dfc0-0xeb;var _0x7a4015=_0x5a993a[_0x25dfc0];return _0x7a4015;},_0x25df(_0x16fc8f,_0x58fe0e);}export class LineHeight extends _0x3fcd05{static get[_0x59eb98(0xf8)](){return[_0x86ff2,_0x366247];}static get[_0x59eb98(0xf9)](){var _0x1a5ea6=_0x59eb98;return _0x1a5ea6(0xf1);}static get[_0x59eb98(0xee)](){return!0x0;}static get[_0x59eb98(0xeb)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2103(){const _0x4136fc=['531408wrGhaR','177440UqDJXK','5vgtpTt','lineHeight','change','document','11240wlGtjw','checkAttribute','schema','getSelectedBlocks','refresh','value','model','_canHaveLineHeight','3949WwVirJ','977796LzrrKS','setAttribute','removeAttribute','3JpFkRc','getAttribute','editor','287192MenCoj','filter','18DvrgDm','60578tEkYnZ','execute','from','1398383plbVAE','isEnabled','selection'];_0x2103=function(){return _0x4136fc;};return _0x2103();}const _0x238484=_0x4568;(function(_0x1d60b4,_0x449f3e){const _0x3db003=_0x4568,_0x5a1815=_0x1d60b4();while(!![]){try{const _0x2edd62=-parseInt(_0x3db003(0x168))/0x1*(parseInt(_0x3db003(0x160))/0x2)+parseInt(_0x3db003(0x15a))/0x3*(-parseInt(_0x3db003(0x157))/0x4)+-parseInt(_0x3db003(0x167))/0x5+parseInt(_0x3db003(0x166))/0x6+parseInt(_0x3db003(0x163))/0x7+-parseInt(_0x3db003(0x15d))/0x8*(parseInt(_0x3db003(0x15f))/0x9)+parseInt(_0x3db003(0x16c))/0xa*(parseInt(_0x3db003(0x156))/0xb);if(_0x2edd62===_0x449f3e)break;else _0x5a1815['push'](_0x5a1815['shift']());}catch(_0x505c31){_0x5a1815['push'](_0x5a1815['shift']());}}}(_0x2103,0x2e101));import{Command as _0x3349a0}from'ckeditor5/src/core.js';function _0x4568(_0x4fd5a0,_0x40a721){const _0x210360=_0x2103();return _0x4568=function(_0x456850,_0x4ded2a){_0x456850=_0x456850-0x153;let _0x13c4f8=_0x210360[_0x456850];return _0x13c4f8;},_0x4568(_0x4fd5a0,_0x40a721);}import{first as _0x50cd21}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3349a0{[_0x238484(0x170)](){const _0x7ccfb3=_0x238484,_0x3b21f0=this[_0x7ccfb3(0x15c)][_0x7ccfb3(0x154)][_0x7ccfb3(0x16b)],_0x51d834=_0x50cd21(_0x3b21f0[_0x7ccfb3(0x165)][_0x7ccfb3(0x16f)]());this[_0x7ccfb3(0x164)]=Boolean(_0x51d834)&&this[_0x7ccfb3(0x155)](_0x51d834),this[_0x7ccfb3(0x153)]=this[_0x7ccfb3(0x164)]&&_0x51d834[_0x7ccfb3(0x15b)](_0x7ccfb3(0x169));}[_0x238484(0x161)](_0x4ad6b9={}){const _0x35de4d=_0x238484,_0x5d782e=this[_0x35de4d(0x15c)][_0x35de4d(0x154)],_0x3244fd=_0x5d782e[_0x35de4d(0x16b)][_0x35de4d(0x165)],_0x48beae=_0x4ad6b9[_0x35de4d(0x153)];_0x5d782e[_0x35de4d(0x16a)](_0x56ec78=>{const _0x1b5bef=_0x35de4d,_0x31259f=Array[_0x1b5bef(0x162)](_0x3244fd[_0x1b5bef(0x16f)]())[_0x1b5bef(0x15e)](_0x268792=>this[_0x1b5bef(0x155)](_0x268792));for(const _0x18224d of _0x31259f)_0x48beae?_0x56ec78[_0x1b5bef(0x158)](_0x1b5bef(0x169),_0x48beae,_0x18224d):_0x56ec78[_0x1b5bef(0x159)](_0x1b5bef(0x169),_0x18224d);});}[_0x238484(0x155)](_0x361421){const _0x5bfe42=_0x238484;return this[_0x5bfe42(0x15c)][_0x5bfe42(0x154)][_0x5bfe42(0x16e)][_0x5bfe42(0x16d)](_0x361421,_0x5bfe42(0x169));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x543b57=_0x574d;function _0x574d(_0x52cd12,_0x1fcb53){const _0x146ba2=_0x146b();return _0x574d=function(_0x574d29,_0x25becb){_0x574d29=_0x574d29-0xd8;let _0x7fafea=_0x146ba2[_0x574d29];return _0x7fafea;},_0x574d(_0x52cd12,_0x1fcb53);}(function(_0x5425a0,_0x53fd0c){const _0x5a614a=_0x574d,_0xe3b2b9=_0x5425a0();while(!![]){try{const _0xae2fb0=-parseInt(_0x5a614a(0xfe))/0x1*(-parseInt(_0x5a614a(0xf5))/0x2)+parseInt(_0x5a614a(0xf9))/0x3+-parseInt(_0x5a614a(0xeb))/0x4+parseInt(_0x5a614a(0xe2))/0x5+parseInt(_0x5a614a(0x104))/0x6*(parseInt(_0x5a614a(0x107))/0x7)+parseInt(_0x5a614a(0xed))/0x8+-parseInt(_0x5a614a(0xdb))/0x9*(parseInt(_0x5a614a(0x103))/0xa);if(_0xae2fb0===_0x53fd0c)break;else _0xe3b2b9['push'](_0xe3b2b9['shift']());}catch(_0x2846e8){_0xe3b2b9['push'](_0xe3b2b9['shift']());}}}(_0x146b,0x333cf));import{Plugin as _0x272fff}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4bcd43}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x11b4aa}from'ckeditor5/src/engine.js';import{uid as _0x25d482,CKEditorError as _0x178e5e}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5dac27,isLineHeightDefaultValue as _0xc92411,normalizeOptions as _0x6e55e1}from'./utils.js';function _0x146b(){const _0x4353cc=['setAttributeProperties','pluginName','href','style','add','default','map','isPremiumPlugin','model','attributeToAttribute','20628jazjgt','afterInit','LineHeightEditing','slice','define','$block','upcast','1005295JREUCC','line-height-invalid-use-of-named-presets','lineHeight.supportAllValues','requires','_preparePredefinedConverters','lineHeight.defaultValue','schema','_prepareAnyValueConverters','line-height','1005368yDhFcp','extend','1856688yLshkD','conversion','string','filter','values','config','lineHeight','downcast','14LMjbfE','for','includes','init','97479mmvAbt','editor','isOfficialPlugin','_validateConfig','get','37087qdffzW','getStyle','fromCharCode','commands','lineHeight.options','2090IKwNDk','99228nvukWH','join','length','91BUadOd'];_0x146b=function(){return _0x4353cc;};return _0x146b();}import{LineHeightTodoListIntegration as _0x221393}from'./integrations/todolist.js';export class LineHeightEditing extends _0x272fff{static get[_0x543b57(0x109)](){const _0x584002=_0x543b57;return _0x584002(0xdd);}static get[_0x543b57(0xe5)](){return[_0x221393];}static get[_0x543b57(0xfb)](){return!0x0;}static get[_0x543b57(0xd8)](){return!0x0;}constructor(_0x161b5c){const _0x50c35d=_0x543b57;super(_0x161b5c),_0x161b5c[_0x50c35d(0xf2)][_0x50c35d(0xdf)](_0x50c35d(0xf3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x50c35d(0x10d),0x2,2.5,0x3]});}[_0x543b57(0xf8)](){const _0x32d036=_0x543b57,_0x1e4422=this[_0x32d036(0xfa)];this[_0x32d036(0xfc)](),_0x1e4422[_0x32d036(0xd9)][_0x32d036(0xe8)][_0x32d036(0xec)](_0x32d036(0xe0),{'allowAttributes':_0x32d036(0xf3)}),_0x1e4422[_0x32d036(0xd9)][_0x32d036(0xe8)][_0x32d036(0x108)](_0x32d036(0xf3),{'isFormatting':!0x0}),_0x1e4422[_0x32d036(0x101)][_0x32d036(0x10c)](_0x32d036(0xf3),new _0x4bcd43(_0x1e4422)),this[_0x32d036(0xfa)][_0x32d036(0xf2)][_0x32d036(0xfd)](_0x32d036(0xe4))?this[_0x32d036(0xe9)]():this[_0x32d036(0xe6)]();}[_0x543b57(0xdc)](){!async function(_0x3a95e6){const _0xd4f3d2=_0x55f4f0([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x1e448f=0x45ddd215,_0x1d9fbf=0x45da54bd^_0x1e448f,_0x22ed6d=window[_0x55f4f0([0x44,0x61,0x74,0x65])][_0x55f4f0([0x6e,0x6f,0x77])](),_0xc771a2=_0x3a95e6[_0x55f4f0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56ba46=new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d6021=>{_0xc771a2[_0x55f4f0([0x6f,0x6e,0x63,0x65])](_0x55f4f0([0x72,0x65,0x61,0x64,0x79]),_0x4d6021);}),_0x4fd140={[_0x55f4f0([0x6b,0x74,0x79])]:_0x55f4f0([0x45,0x43]),[_0x55f4f0([0x75,0x73,0x65])]:_0x55f4f0([0x73,0x69,0x67]),[_0x55f4f0([0x63,0x72,0x76])]:_0x55f4f0([0x50,0x2d,0x32,0x35,0x36]),[_0x55f4f0([0x78])]:_0x55f4f0([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x55f4f0([0x79])]:_0x55f4f0([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x55f4f0([0x61,0x6c,0x67])]:_0x55f4f0([0x45,0x53,0x32,0x35,0x36])},_0x3258dd=_0xc771a2[_0x55f4f0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55f4f0([0x67,0x65,0x74])](_0x55f4f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x481620(){let _0x5b9cc2,_0x48d513=null,_0x132895=null;try{if(_0x3258dd==_0x55f4f0([0x47,0x50,0x4c]))return _0x55f4f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b9cc2=_0x5d02cc(),!_0x5b9cc2)return _0x55f4f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b9cc2[_0x55f4f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x132895=_0x3582aa(_0x5b9cc2[_0x55f4f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b9cc2[_0x55f4f0([0x6a,0x74,0x69])])),await _0x4350b5()?_0x1f98d5()?_0x261bb2()?_0x55f4f0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f3f0c()?(_0x5b9cc2[_0x55f4f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55f4f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48d513=_0x527fb5(_0x55f4f0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2cc1bd()):_0x55f4f0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55f4f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55f4f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55f4f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x261bb2(){const _0x5884fc=[_0x55f4f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55f4f0([0x74,0x72,0x69,0x61,0x6c])][_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9cc2[_0x55f4f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22ed6d/0x3e8:0xe10*_0x1d9fbf;return _0x5b9cc2[_0x55f4f0([0x65,0x78,0x70])]<_0x5884fc;}function _0x1f98d5(){const _0x3bd7ac=_0x5b9cc2[_0x55f4f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bd7ac&&(!!_0x3bd7ac[_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55f4f0([0x2a]))||!!_0x3bd7ac[_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55f4f0([0x4c,0x48])));}function _0x5f3f0c(){const _0x1364d6=_0x574d,_0x5b45c4=_0x5b9cc2[_0x55f4f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b45c4||0x0==_0x5b45c4[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3fb6ba}=new URL(window[_0x55f4f0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1364d6(0x10a)]);if(_0x5b45c4[_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fb6ba))return!0x0;const _0x3052f2=_0x3fb6ba[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])](_0x55f4f0([0x2e]));return _0x5b45c4[_0x55f4f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fd1fa=>_0x3fd1fa[_0x55f4f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55f4f0([0x2a])))[_0x55f4f0([0x6d,0x61,0x70])](_0x20bbd3=>_0x20bbd3[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])](_0x55f4f0([0x2e])))[_0x55f4f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5351ff=>_0x5351ff[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3052f2[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55f4f0([0x6d,0x61,0x70])](_0x5d4c04=>Array(_0x3052f2[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d4c04[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55f4f0([0x66,0x69,0x6c,0x6c])](_0x5d4c04[0x0]===_0x55f4f0([0x2a])?_0x55f4f0([0x2a]):'')[_0x55f4f0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d4c04))[_0x55f4f0([0x73,0x6f,0x6d,0x65])](_0x2f00e5=>_0x3052f2[_0x55f4f0([0x65,0x76,0x65,0x72,0x79])]((_0x3fec36,_0xe22695)=>_0x2f00e5[_0xe22695]===_0x3fec36||_0x2f00e5[_0xe22695]===_0x55f4f0([0x2a])));}function _0x2cc1bd(){return _0x48d513&&_0x132895?new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24e433,_0x4390b9)=>{_0x48d513[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x24e433,_0x4390b9),_0x132895[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x563ee7=>{_0x563ee7!=_0x55f4f0([0x56,0x61,0x6c,0x69,0x64])&&_0x24e433(_0x563ee7);},_0x4390b9);}):_0x48d513||_0x132895||_0x55f4f0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3582aa(_0x314f85,_0x1ea320){return new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386967=>{if(_0x21edd7())return _0x386967(_0x55f4f0([0x56,0x61,0x6c,0x69,0x64]));_0x1b6542(),_0xc771a2[_0x55f4f0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55f4f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21d8bf=!0x1;const _0x275870=_0x25d482();function _0x83fde1(_0x144197){return!!_0x144197&&(typeof _0x144197===_0x55f4f0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x144197===_0x55f4f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x144197[_0x55f4f0([0x74,0x68,0x65,0x6e])]===_0x55f4f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x144197[_0x55f4f0([0x63,0x61,0x74,0x63,0x68])]===_0x55f4f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50ad54(_0x42be0b){_0x29c2a1(_0x42be0b)[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x34f630=>{if(!_0x34f630||_0x34f630[_0x55f4f0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55f4f0([0x6f,0x6b]))return _0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2852db(_0x11da4f(_0x275870+_0x1ea320))!=_0x34f630[_0x55f4f0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55f4f0([0x56,0x61,0x6c,0x69,0x64]);})[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x5345ce=>(_0x4cd4cd(),_0x5345ce),()=>{const _0xa8af5=_0x35c5fb();return null==_0xa8af5?(_0x4cd4cd(),_0x55f4f0([0x56,0x61,0x6c,0x69,0x64])):_0x55f4f0(_0x22ed6d-_0xa8af5>(0x61d15615^_0x1e448f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x386967)[_0x55f4f0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x386967(_0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1663c3=0x45eb3c95^_0x1e448f;function _0x4cd4cd(){const _0xf5e901=_0x55f4f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2852db(_0x11da4f(_0x314f85)),_0x32b94e=_0x312228(_0x2852db(window[_0x55f4f0([0x4d,0x61,0x74,0x68])][_0x55f4f0([0x63,0x65,0x69,0x6c])](_0x22ed6d/_0x1663c3)));window[_0x55f4f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55f4f0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf5e901,_0x32b94e);}function _0x35c5fb(){const _0x28ac38=_0x55f4f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2852db(_0x11da4f(_0x314f85)),_0x4f1eaf=window[_0x55f4f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55f4f0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28ac38);return _0x4f1eaf?window[_0x55f4f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x312228(_0x4f1eaf),0x10)*_0x1663c3:null;}function _0x29c2a1(_0x61437b){return new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x588986,_0x51ffc0)=>{_0x61437b[_0x55f4f0([0x74,0x68,0x65,0x6e])](_0x588986,_0x51ffc0),window[_0x55f4f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51ffc0,0x45dc06d5^_0x1e448f);});}}_0xc771a2[_0x55f4f0([0x6f,0x6e])](_0x55f4f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x476b70,_0x295ab5)=>{if(_0x295ab5[0x0]!=_0x314f85)return _0x386967(_0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x295ab5[0x1]={..._0x295ab5[0x1],[_0x55f4f0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x275870};},{[_0x55f4f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55f4f0([0x68,0x69,0x67,0x68])}),_0xc771a2[_0x55f4f0([0x6f,0x6e])](_0x55f4f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34e9be=>{_0x83fde1(_0x34e9be[_0x55f4f0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21d8bf=!0x0,_0x50ad54(_0x34e9be[_0x55f4f0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55f4f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55f4f0([0x6c,0x6f,0x77])}),_0x56ba46[_0x55f4f0([0x74,0x68,0x65,0x6e])](()=>{_0x21d8bf||_0x386967(_0x55f4f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21edd7(){return _0xc771a2[_0x55f4f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55f4f0([0x76,0x69,0x65,0x77])][_0x55f4f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55f4f0([0x61,0x75,0x74,0x6f]);}function _0x1b6542(){_0xc771a2[_0x55f4f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55f4f0([0x76,0x69,0x65,0x77])][_0x55f4f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55f4f0([0x61,0x75,0x74,0x6f]);}}function _0x527fb5(_0x33402f){const _0x5738c7=[new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ba81=>setTimeout(_0x10ba81,0x45d4ecd9^_0x1e448f)),_0x56ba46[_0x55f4f0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16242e=>{let _0x9b9397=0x0;_0xc771a2[_0x55f4f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x55f4f0([0x6f,0x6e])](_0x55f4f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21edba,_0x3cb1ee)=>{_0x3cb1ee[0x0][_0x55f4f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9b9397++,_0x9b9397==(0x45ddd7fd^_0x1e448f)&&(_0x16242e(),_0x21edba[_0x55f4f0([0x6f,0x66,0x66])]());});}))];return window[_0x55f4f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55f4f0([0x72,0x61,0x63,0x65])](_0x5738c7)[_0x55f4f0([0x74,0x68,0x65,0x6e])](()=>_0x33402f);}async function _0x2f55ee(){await _0x56ba46,_0xc771a2[_0x55f4f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x55f4f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c20ad,_0xc771a2[_0x55f4f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x55f4f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c20ad,_0xc771a2[_0x55f4f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55f4f0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x965d22(_0x595b01){const _0x1c3f41=_0xd5342f();_0xc771a2[_0x1c3f41]=_0x55f4f0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x595b01,_0x595b01!=_0x55f4f0([0x56,0x61,0x6c,0x69,0x64])&&_0x2f55ee();}function _0xd5342f(){const _0x1dcf9d=window[_0x55f4f0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55f4f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55f4f0([0x6e,0x6f,0x77])]())[_0x55f4f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55f4f0([0x2e]),'');let _0x375a2f=_0x55f4f0([0x50]);for(let _0x252e45=0x0;_0x252e45<_0x1dcf9d[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x252e45+=0x2){let _0x3d2731=window[_0x55f4f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dcf9d[_0x55f4f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x252e45,_0x252e45+0x2));_0x3d2731>=_0xd4f3d2[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d2731-=_0xd4f3d2[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x375a2f+=_0xd4f3d2[_0x3d2731];}return _0x375a2f;}function _0x5d02cc(){const _0x1d251a=_0x3258dd[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])](_0x55f4f0([0x2e]));if(0x3!=_0x1d251a[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a032c(_0x1d251a[0x1]);function _0x1a032c(_0xcc43fb){const _0x5ebe0f=_0x1e0421(_0xcc43fb);return _0x5ebe0f&&_0x320198()?_0x5ebe0f:null;function _0x320198(){const _0x6d167f=_0x5ebe0f[_0x55f4f0([0x6a,0x74,0x69])],_0x2e9eba=window[_0x55f4f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6d167f[_0x55f4f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6d167f[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56fa3a={..._0x5ebe0f,[_0x55f4f0([0x6a,0x74,0x69])]:_0x6d167f[_0x55f4f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6d167f[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56fa3a[_0x55f4f0([0x76,0x63])],_0x11da4f(_0x56fa3a)==_0x2e9eba;}}}async function _0x4350b5(){let _0xf07dc=!0x0;try{const _0x5d0340=_0x3258dd[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])](_0x55f4f0([0x2e])),[_0x76d750,_0x3fd9fd,_0x5cae05]=_0x5d0340;return _0x2c49a2(_0x76d750),await _0x51f2c5(_0x76d750,_0x3fd9fd,_0x5cae05),_0xf07dc;}catch{return!0x1;}function _0x2c49a2(_0x3f0f5f){const _0x30841d=_0x1e0421(_0x3f0f5f);_0x30841d&&_0x30841d[_0x55f4f0([0x61,0x6c,0x67])]==_0x55f4f0([0x45,0x53,0x32,0x35,0x36])||(_0xf07dc=!0x1);}async function _0x51f2c5(_0x246ff4,_0x36f6fb,_0x213cb4){const _0x864121=window[_0x55f4f0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55f4f0([0x66,0x72,0x6f,0x6d])](_0x406358(_0x213cb4),_0x49603c=>_0x49603c[_0x55f4f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12eb7f=new window[(_0x55f4f0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55f4f0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x246ff4+_0x55f4f0([0x2e])+_0x36f6fb),_0x26d954=window[_0x55f4f0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55f4f0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26d954)return;const _0x1531fa=await _0x26d954[_0x55f4f0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55f4f0([0x6a,0x77,0x6b]),_0x4fd140,{[_0x55f4f0([0x6e,0x61,0x6d,0x65])]:_0x55f4f0([0x45,0x43,0x44,0x53,0x41]),[_0x55f4f0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55f4f0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55f4f0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26d954[_0x55f4f0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55f4f0([0x6e,0x61,0x6d,0x65])]:_0x55f4f0([0x45,0x43,0x44,0x53,0x41]),[_0x55f4f0([0x68,0x61,0x73,0x68])]:{[_0x55f4f0([0x6e,0x61,0x6d,0x65])]:_0x55f4f0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1531fa,_0x864121,_0x12eb7f)||(_0xf07dc=!0x1);}}function _0x1e0421(_0x5b8d5f){return _0x5b8d5f[_0x55f4f0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55f4f0([0x65,0x79]))?JSON[_0x55f4f0([0x70,0x61,0x72,0x73,0x65])](_0x406358(_0x5b8d5f)):null;}function _0x406358(_0x55de77){return window[_0x55f4f0([0x61,0x74,0x6f,0x62])](_0x55de77[_0x55f4f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55f4f0([0x2b]))[_0x55f4f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55f4f0([0x2f])));}function _0x11da4f(_0x1d4bf6){let _0x48e7b1=0x1505;function _0x49bfde(_0xcc2c5f){for(let _0x3970bf=0x0;_0x3970bf<_0xcc2c5f[_0x55f4f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3970bf++){const _0x151f27=_0xcc2c5f[_0x55f4f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3970bf);_0x48e7b1=(_0x48e7b1<<0x5)+_0x48e7b1+_0x151f27,_0x48e7b1&=_0x48e7b1;}}function _0x5225b2(_0x35f8b1){Array[_0x55f4f0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35f8b1)?_0x35f8b1[_0x55f4f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5225b2):_0x35f8b1&&typeof _0x35f8b1==_0x55f4f0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55f4f0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35f8b1)[_0x55f4f0([0x73,0x6f,0x72,0x74])]()[_0x55f4f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c8134,_0x1b794c])=>{_0x49bfde(_0x1c8134),_0x5225b2(_0x1b794c);}):_0x49bfde(window[_0x55f4f0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35f8b1));}return _0x5225b2(_0x1d4bf6),_0x48e7b1>>>0x0;}function _0x2852db(_0x44f68d){return _0x44f68d[_0x55f4f0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55f4f0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55f4f0([0x30]));}function _0x312228(_0x5acca6){return _0x5acca6[_0x55f4f0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55f4f0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55f4f0([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c20ad(){}function _0x55f4f0(_0x5ec1fd){const _0x133b27=_0x574d;return _0x5ec1fd[_0x133b27(0x10e)](_0x4b8fc6=>String[_0x133b27(0x100)](_0x4b8fc6))[_0x133b27(0x105)]('');}_0x965d22(await _0x481620());}(this);}[_0x543b57(0xfc)](){const _0x4db259=_0x543b57,_0x34c67d=this[_0x4db259(0xfa)];if(!_0x34c67d[_0x4db259(0xf2)][_0x4db259(0xfd)](_0x4db259(0xe4)))return;const _0x4b4033=_0x34c67d[_0x4db259(0xf2)][_0x4db259(0xfd)](_0x4db259(0x102))[_0x4db259(0xf0)](_0x40aa20=>_0x4db259(0xef)==typeof _0x40aa20&&(!_0xc92411(_0x40aa20)&&isNaN(Number(_0x40aa20))));if(_0x4b4033[_0x4db259(0x106)])throw new _0x178e5e(_0x4db259(0xe3),null,{'namedPresets':_0x4b4033});}[_0x543b57(0xe9)](){const _0x319a06=_0x543b57,_0x4b4351=this[_0x319a06(0xfa)],_0x5027e3=this[_0x319a06(0xfa)][_0x319a06(0xf2)][_0x319a06(0xfd)](_0x319a06(0xe7));_0x4b4351[_0x319a06(0xee)][_0x319a06(0xf6)](_0x319a06(0xf4))[_0x319a06(0xda)]({'model':{'key':_0x319a06(0xf3)},'view':_0x82f7db=>String(_0x82f7db)===String(_0x5027e3)?null:{'key':_0x319a06(0x10b),'value':{'line-height':_0x82f7db}}}),_0x4b4351[_0x319a06(0xee)][_0x319a06(0xf6)](_0x319a06(0xe1))[_0x319a06(0xda)]({'model':{'key':_0x319a06(0xf3),'value':_0x41cf33=>{const _0x10b5d0=_0x319a06;let _0x2b7f8a=_0x41cf33[_0x10b5d0(0xff)](_0x10b5d0(0xea));return _0x11b4aa(_0x2b7f8a)&&(_0x2b7f8a=String(Number(_0x2b7f8a[_0x10b5d0(0xde)](0x0,-0x1))/0x64)),String(_0x2b7f8a)===String(_0x5027e3)?null:_0x2b7f8a;}},'view':{'styles':{'line-height':/.*/}}});}[_0x543b57(0xe6)](){const _0x43a042=_0x543b57,_0x5da283=this[_0x43a042(0xfa)],_0x1ba972=this[_0x43a042(0xfa)][_0x43a042(0xf2)][_0x43a042(0xfd)](_0x43a042(0xe7)),_0x29f187=_0x6e55e1(this[_0x43a042(0xfa)][_0x43a042(0xf2)][_0x43a042(0xfd)](_0x43a042(0xf3)))[_0x43a042(0xf0)](_0x59d3df=>_0x59d3df[_0x43a042(0xd9)]),_0x1a57ce=_0x5dac27(_0x43a042(0xf3),_0x29f187);_0x5da283[_0x43a042(0xee)][_0x43a042(0xda)](_0x1a57ce),_0x5da283[_0x43a042(0xee)][_0x43a042(0xf6)](_0x43a042(0xe1))[_0x43a042(0xda)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x43a042(0xf3),'value':_0x5a7021=>{const _0x3ac74b=_0x43a042;let _0x27a54a=_0x5a7021[_0x3ac74b(0xff)](_0x3ac74b(0xea));return _0x11b4aa(_0x27a54a)&&(_0x27a54a=String(Number(_0x27a54a[_0x3ac74b(0xde)](0x0,-0x1))/0x64)),_0x27a54a===String(_0x1ba972)?null:_0x1a57ce[_0x3ac74b(0xd9)][_0x3ac74b(0xf1)][_0x3ac74b(0xf7)](_0x27a54a)?_0x27a54a:null;}}});}}
|
|
23
|
+
const _0x45d661=_0x3978;(function(_0x5b1c39,_0x433b5d){const _0x32b119=_0x3978,_0x19686b=_0x5b1c39();while(!![]){try{const _0x4946b1=parseInt(_0x32b119(0xb0))/0x1+-parseInt(_0x32b119(0x8f))/0x2*(parseInt(_0x32b119(0xa3))/0x3)+-parseInt(_0x32b119(0xb1))/0x4+parseInt(_0x32b119(0x86))/0x5+parseInt(_0x32b119(0xa8))/0x6*(-parseInt(_0x32b119(0x88))/0x7)+-parseInt(_0x32b119(0x85))/0x8+parseInt(_0x32b119(0xb2))/0x9;if(_0x4946b1===_0x433b5d)break;else _0x19686b['push'](_0x19686b['shift']());}catch(_0x565556){_0x19686b['push'](_0x19686b['shift']());}}}(_0x17d7,0xf1524));import{Plugin as _0x1c0bac}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4488e3}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2910b7}from'ckeditor5/src/engine.js';function _0x17d7(){const _0x5dd2a5=['7295535tdFwGZ','fromCharCode','4494238yIKyxL','join','lineHeight','slice','style','includes','href','54018TipPOz','for','get','lineHeight.supportAllValues','attributeToAttribute','length','requires','lineHeight.options','init','pluginName','afterInit','getStyle','_preparePredefinedConverters','downcast','isPremiumPlugin','define','string','schema','default','$block','183PGKdiA','config','extend','map','lineHeight.defaultValue','6aZQtsO','commands','conversion','setAttributeProperties','upcast','filter','_prepareAnyValueConverters','values','897038YXIcRK','2384956HQtRyo','24290289ZSGEdj','editor','line-height','LineHeightEditing','isOfficialPlugin','_validateConfig','model','add','line-height-invalid-use-of-named-presets','9446336soOPGv'];_0x17d7=function(){return _0x5dd2a5;};return _0x17d7();}import{uid as _0x155758,CKEditorError as _0x871b41}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3c6a50,isLineHeightDefaultValue as _0x3b5f3e,normalizeOptions as _0x515874}from'./utils.js';import{LineHeightTodoListIntegration as _0x3dc62c}from'./integrations/todolist.js';function _0x3978(_0x2c3296,_0x1b66f9){const _0x17d741=_0x17d7();return _0x3978=function(_0x39789e,_0x219741){_0x39789e=_0x39789e-0x82;let _0x3b34c5=_0x17d741[_0x39789e];return _0x3b34c5;},_0x3978(_0x2c3296,_0x1b66f9);}export class LineHeightEditing extends _0x1c0bac{static get[_0x45d661(0x98)](){const _0x23c95a=_0x45d661;return _0x23c95a(0xb5);}static get[_0x45d661(0x95)](){return[_0x3dc62c];}static get[_0x45d661(0xb6)](){return!0x0;}static get[_0x45d661(0x9d)](){return!0x0;}constructor(_0x2c9da4){const _0x5a254f=_0x45d661;super(_0x2c9da4),_0x2c9da4[_0x5a254f(0xa4)][_0x5a254f(0x9e)](_0x5a254f(0x8a),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5a254f(0xa1),0x2,2.5,0x3]});}[_0x45d661(0x97)](){const _0xe55a42=_0x45d661,_0x14f23f=this[_0xe55a42(0xb3)];this[_0xe55a42(0xb7)](),_0x14f23f[_0xe55a42(0x82)][_0xe55a42(0xa0)][_0xe55a42(0xa5)](_0xe55a42(0xa2),{'allowAttributes':_0xe55a42(0x8a)}),_0x14f23f[_0xe55a42(0x82)][_0xe55a42(0xa0)][_0xe55a42(0xab)](_0xe55a42(0x8a),{'isFormatting':!0x0}),_0x14f23f[_0xe55a42(0xa9)][_0xe55a42(0x83)](_0xe55a42(0x8a),new _0x4488e3(_0x14f23f)),this[_0xe55a42(0xb3)][_0xe55a42(0xa4)][_0xe55a42(0x91)](_0xe55a42(0x92))?this[_0xe55a42(0xae)]():this[_0xe55a42(0x9b)]();}[_0x45d661(0x99)](){!async function(_0x43686a){const _0x4ee184=_0x4729ea([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]),_0x3d6f51=0x45ddd215,_0x1818c9=0x45da5535^_0x3d6f51,_0x258906=window[_0x4729ea([0x44,0x61,0x74,0x65])][_0x4729ea([0x6e,0x6f,0x77])](),_0x213304=_0x43686a[_0x4729ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x257149=new window[(_0x4729ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4999c4=>{_0x213304[_0x4729ea([0x6f,0x6e,0x63,0x65])](_0x4729ea([0x72,0x65,0x61,0x64,0x79]),_0x4999c4);}),_0x5f4453={[_0x4729ea([0x6b,0x74,0x79])]:_0x4729ea([0x45,0x43]),[_0x4729ea([0x75,0x73,0x65])]:_0x4729ea([0x73,0x69,0x67]),[_0x4729ea([0x63,0x72,0x76])]:_0x4729ea([0x50,0x2d,0x32,0x35,0x36]),[_0x4729ea([0x78])]:_0x4729ea([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]),[_0x4729ea([0x79])]:_0x4729ea([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]),[_0x4729ea([0x61,0x6c,0x67])]:_0x4729ea([0x45,0x53,0x32,0x35,0x36])},_0x25b48d=_0x213304[_0x4729ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4729ea([0x67,0x65,0x74])](_0x4729ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28ae34(){let _0x40e7ce,_0x795fcc=null,_0x396a97=null;try{if(_0x25b48d==_0x4729ea([0x47,0x50,0x4c]))return _0x4729ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40e7ce=_0x435d11(),!_0x40e7ce)return _0x4729ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40e7ce[_0x4729ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x396a97=_0x356636(_0x40e7ce[_0x4729ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40e7ce[_0x4729ea([0x6a,0x74,0x69])])),await _0x4f45af()?_0x55edb7()?_0x380d95()?_0x4729ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2dbddd()?(_0x40e7ce[_0x4729ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4729ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x795fcc=_0xbc2de3(_0x4729ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c88e9()):_0x4729ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4729ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4729ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4729ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x380d95(){const _0x2e5f74=[_0x4729ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4729ea([0x74,0x72,0x69,0x61,0x6c])][_0x4729ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e7ce[_0x4729ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x258906/0x3e8:0xe10*_0x1818c9;return _0x40e7ce[_0x4729ea([0x65,0x78,0x70])]<_0x2e5f74;}function _0x55edb7(){const _0x3ada46=_0x40e7ce[_0x4729ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ada46&&(!!_0x3ada46[_0x4729ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4729ea([0x2a]))||!!_0x3ada46[_0x4729ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4729ea([0x4c,0x48])));}function _0x2dbddd(){const _0x805826=_0x3978,_0x32e176=_0x40e7ce[_0x4729ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32e176||0x0==_0x32e176[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c7819}=new URL(window[_0x4729ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x805826(0x8e)]);if(_0x32e176[_0x4729ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c7819))return!0x0;const _0x50d802=_0x4c7819[_0x4729ea([0x73,0x70,0x6c,0x69,0x74])](_0x4729ea([0x2e]));return _0x32e176[_0x4729ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1753d8=>_0x1753d8[_0x4729ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4729ea([0x2a])))[_0x4729ea([0x6d,0x61,0x70])](_0x2c55d3=>_0x2c55d3[_0x4729ea([0x73,0x70,0x6c,0x69,0x74])](_0x4729ea([0x2e])))[_0x4729ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x596067=>_0x596067[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x50d802[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4729ea([0x6d,0x61,0x70])](_0x19e8b3=>Array(_0x50d802[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19e8b3[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4729ea([0x66,0x69,0x6c,0x6c])](_0x19e8b3[0x0]===_0x4729ea([0x2a])?_0x4729ea([0x2a]):'')[_0x4729ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19e8b3))[_0x4729ea([0x73,0x6f,0x6d,0x65])](_0x38d55f=>_0x50d802[_0x4729ea([0x65,0x76,0x65,0x72,0x79])]((_0x490816,_0x1ce6fa)=>_0x38d55f[_0x1ce6fa]===_0x490816||_0x38d55f[_0x1ce6fa]===_0x4729ea([0x2a])));}function _0x4c88e9(){return _0x795fcc&&_0x396a97?new window[(_0x4729ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x558781,_0x2f706a)=>{_0x795fcc[_0x4729ea([0x74,0x68,0x65,0x6e])](_0x558781,_0x2f706a),_0x396a97[_0x4729ea([0x74,0x68,0x65,0x6e])](_0x5213e7=>{_0x5213e7!=_0x4729ea([0x56,0x61,0x6c,0x69,0x64])&&_0x558781(_0x5213e7);},_0x2f706a);}):_0x795fcc||_0x396a97||_0x4729ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x356636(_0x19fbfb,_0x132822){return new window[(_0x4729ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f32c4=>{if(_0x3fdcc9())return _0x4f32c4(_0x4729ea([0x56,0x61,0x6c,0x69,0x64]));_0x3bd9e1(),_0x213304[_0x4729ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4729ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b8d89=!0x1;const _0x1a63ee=_0x155758();function _0x1148b6(_0x359377){return!!_0x359377&&(typeof _0x359377===_0x4729ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x359377===_0x4729ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x359377[_0x4729ea([0x74,0x68,0x65,0x6e])]===_0x4729ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x359377[_0x4729ea([0x63,0x61,0x74,0x63,0x68])]===_0x4729ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x595e1d(_0x59484f){_0x381997(_0x59484f)[_0x4729ea([0x74,0x68,0x65,0x6e])](_0xd0b88f=>{if(!_0xd0b88f||_0xd0b88f[_0x4729ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4729ea([0x6f,0x6b]))return _0x4729ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a6c0f(_0x2f630c(_0x1a63ee+_0x132822))!=_0xd0b88f[_0x4729ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4729ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4729ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x4729ea([0x74,0x68,0x65,0x6e])](_0x519f29=>(_0x3f3c02(),_0x519f29),()=>{const _0xb4c9f8=_0x12fe40();return null==_0xb4c9f8?(_0x3f3c02(),_0x4729ea([0x56,0x61,0x6c,0x69,0x64])):_0x4729ea(_0x258906-_0xb4c9f8>(0x61d15615^_0x3d6f51)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4729ea([0x74,0x68,0x65,0x6e])](_0x4f32c4)[_0x4729ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f32c4(_0x4729ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc1b957=0x45eb3c95^_0x3d6f51;function _0x3f3c02(){const _0x38cb86=_0x4729ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a6c0f(_0x2f630c(_0x19fbfb)),_0x40751e=_0x33dbdc(_0x5a6c0f(window[_0x4729ea([0x4d,0x61,0x74,0x68])][_0x4729ea([0x63,0x65,0x69,0x6c])](_0x258906/_0xc1b957)));window[_0x4729ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4729ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38cb86,_0x40751e);}function _0x12fe40(){const _0x8a52a6=_0x4729ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a6c0f(_0x2f630c(_0x19fbfb)),_0x403ce4=window[_0x4729ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4729ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8a52a6);return _0x403ce4?window[_0x4729ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33dbdc(_0x403ce4),0x10)*_0xc1b957:null;}function _0x381997(_0x8b7f71){return new window[(_0x4729ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38fea9,_0x407dce)=>{_0x8b7f71[_0x4729ea([0x74,0x68,0x65,0x6e])](_0x38fea9,_0x407dce),window[_0x4729ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x407dce,0x45dc06d5^_0x3d6f51);});}}_0x213304[_0x4729ea([0x6f,0x6e])](_0x4729ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26d0ca,_0x4ab809)=>{if(_0x4ab809[0x0]!=_0x19fbfb)return _0x4f32c4(_0x4729ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ab809[0x1]={..._0x4ab809[0x1],[_0x4729ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a63ee};},{[_0x4729ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4729ea([0x68,0x69,0x67,0x68])}),_0x213304[_0x4729ea([0x6f,0x6e])](_0x4729ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x438ad2=>{_0x1148b6(_0x438ad2[_0x4729ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b8d89=!0x0,_0x595e1d(_0x438ad2[_0x4729ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4729ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4729ea([0x6c,0x6f,0x77])}),_0x257149[_0x4729ea([0x74,0x68,0x65,0x6e])](()=>{_0x4b8d89||_0x4f32c4(_0x4729ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fdcc9(){return _0x213304[_0x4729ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4729ea([0x76,0x69,0x65,0x77])][_0x4729ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4729ea([0x61,0x75,0x74,0x6f]);}function _0x3bd9e1(){_0x213304[_0x4729ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4729ea([0x76,0x69,0x65,0x77])][_0x4729ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4729ea([0x61,0x75,0x74,0x6f]);}}function _0xbc2de3(_0x10522f){const _0x40c506=[new window[(_0x4729ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38a240=>setTimeout(_0x38a240,0x45d4ecd9^_0x3d6f51)),_0x257149[_0x4729ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4729ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fcc9d=>{let _0xdd2cad=0x0;_0x213304[_0x4729ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4729ea([0x6f,0x6e])](_0x4729ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd5fddb,_0x50a653)=>{_0x50a653[0x0][_0x4729ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xdd2cad++,_0xdd2cad==(0x45ddd7fd^_0x3d6f51)&&(_0x4fcc9d(),_0xd5fddb[_0x4729ea([0x6f,0x66,0x66])]());});}))];return window[_0x4729ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4729ea([0x72,0x61,0x63,0x65])](_0x40c506)[_0x4729ea([0x74,0x68,0x65,0x6e])](()=>_0x10522f);}async function _0x6903e0(){await _0x257149,_0x213304[_0x4729ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4729ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x739882,_0x213304[_0x4729ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x4729ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x739882,_0x213304[_0x4729ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4729ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e7f82(_0x11338c){const _0x261de5=_0x384281();_0x213304[_0x261de5]=_0x4729ea([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11338c,_0x11338c!=_0x4729ea([0x56,0x61,0x6c,0x69,0x64])&&_0x6903e0();}function _0x384281(){const _0x474372=window[_0x4729ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4729ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4729ea([0x6e,0x6f,0x77])]())[_0x4729ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4729ea([0x2e]),'');let _0x4ca411=_0x4729ea([0x50]);for(let _0x3dfd6c=0x0;_0x3dfd6c<_0x474372[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dfd6c+=0x2){let _0x29fb9c=window[_0x4729ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x474372[_0x4729ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dfd6c,_0x3dfd6c+0x2));_0x29fb9c>=_0x4ee184[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29fb9c-=_0x4ee184[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ca411+=_0x4ee184[_0x29fb9c];}return _0x4ca411;}function _0x435d11(){const _0x554583=_0x25b48d[_0x4729ea([0x73,0x70,0x6c,0x69,0x74])](_0x4729ea([0x2e]));if(0x3!=_0x554583[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38d24f(_0x554583[0x1]);function _0x38d24f(_0x542887){const _0x462ccd=_0x26d59c(_0x542887);return _0x462ccd&&_0x4ef0b2()?_0x462ccd:null;function _0x4ef0b2(){const _0x29f3bf=_0x462ccd[_0x4729ea([0x6a,0x74,0x69])],_0xf26a4b=window[_0x4729ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29f3bf[_0x4729ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29f3bf[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24a7b4={..._0x462ccd,[_0x4729ea([0x6a,0x74,0x69])]:_0x29f3bf[_0x4729ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29f3bf[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24a7b4[_0x4729ea([0x76,0x63])],_0x2f630c(_0x24a7b4)==_0xf26a4b;}}}async function _0x4f45af(){let _0x5e74b7=!0x0;try{const _0x144727=_0x25b48d[_0x4729ea([0x73,0x70,0x6c,0x69,0x74])](_0x4729ea([0x2e])),[_0xdd0591,_0x55cf60,_0x4c4084]=_0x144727;return _0x4348e7(_0xdd0591),await _0x298349(_0xdd0591,_0x55cf60,_0x4c4084),_0x5e74b7;}catch{return!0x1;}function _0x4348e7(_0x16159c){const _0x4a61cb=_0x26d59c(_0x16159c);_0x4a61cb&&_0x4a61cb[_0x4729ea([0x61,0x6c,0x67])]==_0x4729ea([0x45,0x53,0x32,0x35,0x36])||(_0x5e74b7=!0x1);}async function _0x298349(_0x3807ca,_0x4b8dce,_0x44e3b1){const _0x50a948=window[_0x4729ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4729ea([0x66,0x72,0x6f,0x6d])](_0x2adbb1(_0x44e3b1),_0x5ba31c=>_0x5ba31c[_0x4729ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x479093=new window[(_0x4729ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4729ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3807ca+_0x4729ea([0x2e])+_0x4b8dce),_0x5ca8d2=window[_0x4729ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4729ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ca8d2)return;const _0x307c50=await _0x5ca8d2[_0x4729ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4729ea([0x6a,0x77,0x6b]),_0x5f4453,{[_0x4729ea([0x6e,0x61,0x6d,0x65])]:_0x4729ea([0x45,0x43,0x44,0x53,0x41]),[_0x4729ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4729ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4729ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ca8d2[_0x4729ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4729ea([0x6e,0x61,0x6d,0x65])]:_0x4729ea([0x45,0x43,0x44,0x53,0x41]),[_0x4729ea([0x68,0x61,0x73,0x68])]:{[_0x4729ea([0x6e,0x61,0x6d,0x65])]:_0x4729ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x307c50,_0x50a948,_0x479093)||(_0x5e74b7=!0x1);}}function _0x26d59c(_0x24eadf){return _0x24eadf[_0x4729ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4729ea([0x65,0x79]))?JSON[_0x4729ea([0x70,0x61,0x72,0x73,0x65])](_0x2adbb1(_0x24eadf)):null;}function _0x2adbb1(_0x9a086c){return window[_0x4729ea([0x61,0x74,0x6f,0x62])](_0x9a086c[_0x4729ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4729ea([0x2b]))[_0x4729ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4729ea([0x2f])));}function _0x2f630c(_0x3f1fd2){let _0x4680d2=0x1505;function _0x115176(_0x21e950){for(let _0xaa01c1=0x0;_0xaa01c1<_0x21e950[_0x4729ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaa01c1++){const _0x5b6bdb=_0x21e950[_0x4729ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xaa01c1);_0x4680d2=(_0x4680d2<<0x5)+_0x4680d2+_0x5b6bdb,_0x4680d2&=_0x4680d2;}}function _0x17f519(_0x2f7900){Array[_0x4729ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f7900)?_0x2f7900[_0x4729ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17f519):_0x2f7900&&typeof _0x2f7900==_0x4729ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4729ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f7900)[_0x4729ea([0x73,0x6f,0x72,0x74])]()[_0x4729ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41cd7d,_0x4fa36e])=>{_0x115176(_0x41cd7d),_0x17f519(_0x4fa36e);}):_0x115176(window[_0x4729ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f7900));}return _0x17f519(_0x3f1fd2),_0x4680d2>>>0x0;}function _0x5a6c0f(_0x51674a){return _0x51674a[_0x4729ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4729ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4729ea([0x30]));}function _0x33dbdc(_0xe9d3f){return _0xe9d3f[_0x4729ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4729ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4729ea([0x6a,0x6f,0x69,0x6e])]('');}function _0x739882(){}function _0x4729ea(_0x2ad8c3){const _0x456f27=_0x3978;return _0x2ad8c3[_0x456f27(0xa6)](_0x2c8732=>String[_0x456f27(0x87)](_0x2c8732))[_0x456f27(0x89)]('');}_0x3e7f82(await _0x28ae34());}(this);}[_0x45d661(0xb7)](){const _0x5870e2=_0x45d661,_0x358d2c=this[_0x5870e2(0xb3)];if(!_0x358d2c[_0x5870e2(0xa4)][_0x5870e2(0x91)](_0x5870e2(0x92)))return;const _0x2cb3e5=_0x358d2c[_0x5870e2(0xa4)][_0x5870e2(0x91)](_0x5870e2(0x96))[_0x5870e2(0xad)](_0x5576ba=>_0x5870e2(0x9f)==typeof _0x5576ba&&(!_0x3b5f3e(_0x5576ba)&&isNaN(Number(_0x5576ba))));if(_0x2cb3e5[_0x5870e2(0x94)])throw new _0x871b41(_0x5870e2(0x84),null,{'namedPresets':_0x2cb3e5});}[_0x45d661(0xae)](){const _0x4dedbe=_0x45d661,_0x4acb14=this[_0x4dedbe(0xb3)],_0x419264=this[_0x4dedbe(0xb3)][_0x4dedbe(0xa4)][_0x4dedbe(0x91)](_0x4dedbe(0xa7));_0x4acb14[_0x4dedbe(0xaa)][_0x4dedbe(0x90)](_0x4dedbe(0x9c))[_0x4dedbe(0x93)]({'model':{'key':_0x4dedbe(0x8a)},'view':_0x1fa902=>String(_0x1fa902)===String(_0x419264)?null:{'key':_0x4dedbe(0x8c),'value':{'line-height':_0x1fa902}}}),_0x4acb14[_0x4dedbe(0xaa)][_0x4dedbe(0x90)](_0x4dedbe(0xac))[_0x4dedbe(0x93)]({'model':{'key':_0x4dedbe(0x8a),'value':_0x5340fd=>{const _0x3b5b7f=_0x4dedbe;let _0x56ac62=_0x5340fd[_0x3b5b7f(0x9a)](_0x3b5b7f(0xb4));return _0x2910b7(_0x56ac62)&&(_0x56ac62=String(Number(_0x56ac62[_0x3b5b7f(0x8b)](0x0,-0x1))/0x64)),String(_0x56ac62)===String(_0x419264)?null:_0x56ac62;}},'view':{'styles':{'line-height':/.*/}}});}[_0x45d661(0x9b)](){const _0x9fc1aa=_0x45d661,_0x349a11=this[_0x9fc1aa(0xb3)],_0x517d9c=this[_0x9fc1aa(0xb3)][_0x9fc1aa(0xa4)][_0x9fc1aa(0x91)](_0x9fc1aa(0xa7)),_0x553925=_0x515874(this[_0x9fc1aa(0xb3)][_0x9fc1aa(0xa4)][_0x9fc1aa(0x91)](_0x9fc1aa(0x8a)))[_0x9fc1aa(0xad)](_0x4d4c00=>_0x4d4c00[_0x9fc1aa(0x82)]),_0x318a32=_0x3c6a50(_0x9fc1aa(0x8a),_0x553925);_0x349a11[_0x9fc1aa(0xaa)][_0x9fc1aa(0x93)](_0x318a32),_0x349a11[_0x9fc1aa(0xaa)][_0x9fc1aa(0x90)](_0x9fc1aa(0xac))[_0x9fc1aa(0x93)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x9fc1aa(0x8a),'value':_0x3309fe=>{const _0xffc697=_0x9fc1aa;let _0x34aa17=_0x3309fe[_0xffc697(0x9a)](_0xffc697(0xb4));return _0x2910b7(_0x34aa17)&&(_0x34aa17=String(Number(_0x34aa17[_0xffc697(0x8b)](0x0,-0x1))/0x64)),_0x34aa17===String(_0x517d9c)?null:_0x318a32[_0xffc697(0x82)][_0xffc697(0xaf)][_0xffc697(0x8d)](_0x34aa17)?_0x34aa17:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1e6a76}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4373f1,createDropdown as _0x247a39,MenuBarMenuListItemButtonView as _0x1797b0,MenuBarMenuListItemView as _0x30f493,MenuBarMenuListView as _0x5d39a9,MenuBarMenuView as _0x40834b,UIModel as _0x32b4c2}from'ckeditor5/src/ui.js';import{Collection as _0x4fdf4f}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x392a65}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2b21cc}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1e6a76{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x131e5c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x131e5c),this['_registerMenuBarComponent'](_0x131e5c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x72d581=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x58e5e9;for(const _0x192197 in _0x72d581){const _0x305a52=_0x192197,_0x138caf=_0x72d581[_0x305a52];if('lineHeightLicenseKeyValid'==_0x138caf||'lineHeightLicenseKeyInvalid'==_0x138caf||'lineHeightLicenseKeyExpired'==_0x138caf||'lineHeightLicenseKeyDomainLimit'==_0x138caf||'lineHeightLicenseKeyNotAllowed'==_0x138caf||'lineHeightLicenseKeyEvaluationLimit'==_0x138caf||'lineHeightLicenseKeyUsageLimit'==_0x138caf){delete _0x72d581[_0x305a52],_0x58e5e9=_0x138caf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x58e5e9&&_0x72d581['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x58e5e9&&_0x72d581['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x58e5e9&&_0x72d581['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x58e5e9&&_0x72d581['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x58e5e9&&_0x72d581['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x58e5e9&&_0x72d581['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2e44f0=this['editor'],t=_0x2e44f0['t'],_0x3d5e4b=_0x2e44f0['config']['get']('lineHeight'),_0xb6f14e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2b21cc(_0x3d5e4b)['map'](_0x2e9c9b=>{const _0x4de378=_0xb6f14e[_0x2e9c9b['title']];return _0x4de378&&_0x4de378!=_0x2e9c9b['title']&&(_0x2e9c9b=Object['assign']({},_0x2e9c9b,{'title':_0x4de378})),_0x2e9c9b;});}['_prepareListOptions'](){const _0x1f7d65=this['editor']['commands']['get']('lineHeight'),_0x56a5c9=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2f5b2d=this['_getLocalizedLineHeightOptions'](),_0x102eb4=new _0x4fdf4f(),_0x13153f=_0x1987fa=>'default'===_0x1987fa||String(_0x56a5c9)===_0x1987fa;for(const _0x458e6b of _0x2f5b2d){const _0x1ca153={'type':'button','model':new _0x32b4c2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x458e6b['title'],'withText':!0x0})};_0x13153f(_0x458e6b['model'])?(_0x1ca153['model']['bind']('isOn')['to'](_0x1f7d65,'value',_0x49f5b7=>!_0x49f5b7),_0x1ca153['model']['commandParam']=void 0x0):(_0x1ca153['model']['bind']('isOn')['to'](_0x1f7d65,'value',_0x3d28d0=>_0x3d28d0===_0x458e6b['model']),_0x1ca153['model']['commandParam']=_0x458e6b['model']),_0x102eb4['add'](_0x1ca153);}if(this['_shouldRenderCustomValueOption']()){const _0x34b48a=this['_getCustomValueOptionDefinition'](_0x2f5b2d);_0x102eb4['add'](_0x34b48a);}return _0x102eb4;}['_getCustomValueOptionDefinition'](_0x3d3d6f){const _0x3d8f7c=this['editor'],t=_0x3d8f7c['t'],_0x46ee56=_0x3d8f7c['commands']['get']('lineHeight'),_0x3afa39=_0x3d3d6f['map'](_0x39d3e9=>_0x39d3e9['model']),_0x2c2b51={'type':'button','model':new _0x32b4c2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2c2b51['model']['bind']('commandParam')['to'](_0x46ee56,'value'),_0x2c2b51['model']['bind']('isOn')['to'](_0x46ee56,'value',_0x556a10=>!!_0x556a10&&!_0x3afa39['includes'](String(_0x556a10))),_0x2c2b51['model']['bind']('label')['to'](_0x46ee56,'value',_0xe08284=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0xe08284))),_0x2c2b51;}['_registerToolbarComponent']({accessibleLabel:_0x2a5817,options:_0x1509a7}){const _0x14b7b4=this['editor'],_0x1407c6=_0x14b7b4['commands']['get']('lineHeight');_0x14b7b4['ui']['componentFactory']['add']('lineHeight',_0x1d6c4c=>{const _0xd0f6ab=_0x247a39(_0x1d6c4c);return _0x4373f1(_0xd0f6ab,_0x1509a7,{'role':'menu','ariaLabel':_0x2a5817}),_0xd0f6ab['buttonView']['set']({'label':_0x2a5817,'tooltip':!0x0,'icon':_0x392a65}),_0xd0f6ab['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xd0f6ab['bind']('isEnabled')['to'](_0x1407c6),this['listenTo'](_0xd0f6ab,'execute',_0x399400=>{_0x14b7b4['execute'](_0x399400['source']['commandName'],{'value':_0x399400['source']['commandParam']}),_0x14b7b4['editing']['view']['focus']();}),_0xd0f6ab['once']('change:isOpen',()=>{const _0x2630d8=_0xd0f6ab['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xd0f6ab,_0x1509a7,_0x2630d8);}),_0xd0f6ab;});}['_registerMenuBarComponent']({accessibleLabel:_0x3c97dd,options:_0x5d4689}){const _0x468b32=this['editor'],_0x4e0d51=_0x468b32['commands']['get']('lineHeight');_0x468b32['ui']['componentFactory']['add']('menuBar:lineHeight',_0x7a1723=>{const _0x4d3b3d=new _0x40834b(_0x7a1723);_0x4d3b3d['buttonView']['set']({'label':_0x3c97dd,'icon':_0x392a65}),_0x4d3b3d['bind']('isEnabled')['to'](_0x4e0d51);const _0x1a1b23=new _0x5d39a9(_0x7a1723);for(const _0x6f90e7 of _0x5d4689){const _0x3640cb=new _0x30f493(_0x7a1723,_0x4d3b3d),_0x3d8115=new _0x1797b0(_0x7a1723);_0x3d8115['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3d8115['bind'](...Object['keys'](_0x6f90e7['model']))['to'](_0x6f90e7['model']),_0x3d8115['delegate']('execute')['to'](_0x4d3b3d),_0x3d8115['on']('execute',()=>{_0x468b32['execute'](_0x6f90e7['model']['commandName'],{'value':_0x6f90e7['model']['commandParam']}),_0x468b32['editing']['view']['focus']();}),_0x3640cb['children']['add'](_0x3d8115),_0x1a1b23['items']['add'](_0x3640cb);}return _0x4d3b3d['panelView']['children']['add'](_0x1a1b23),this['_attachCustomOptionVisibilityHandler'](_0x4d3b3d,_0x5d4689,_0x1a1b23),_0x4d3b3d;});}['_attachCustomOptionVisibilityHandler'](_0x258e61,_0x273d1f,_0x4e830e){if(!this['_shouldRenderCustomValueOption']())return;const _0x2b5ce3=()=>{if(!_0x258e61['isOpen'])return;_0x4e830e['items']['last']['isVisible']=Boolean(_0x273d1f['last']['model']['isOn']);};_0x2b5ce3(),_0x258e61['on']('change:isOpen',()=>{_0x2b5ce3();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x549ace,_0x1eec46){const _0x21f97b=_0x3e7b,_0x41406f=_0x549ace();while(!![]){try{const _0x513bb4=-parseInt(_0x21f97b(0x175))/0x1+-parseInt(_0x21f97b(0x16f))/0x2*(-parseInt(_0x21f97b(0x165))/0x3)+parseInt(_0x21f97b(0x167))/0x4+parseInt(_0x21f97b(0x182))/0x5*(-parseInt(_0x21f97b(0x166))/0x6)+-parseInt(_0x21f97b(0x180))/0x7*(parseInt(_0x21f97b(0x17b))/0x8)+-parseInt(_0x21f97b(0x184))/0x9*(parseInt(_0x21f97b(0x176))/0xa)+parseInt(_0x21f97b(0x17a))/0xb*(parseInt(_0x21f97b(0x170))/0xc);if(_0x513bb4===_0x1eec46)break;else _0x41406f['push'](_0x41406f['shift']());}catch(_0xeabed7){_0x41406f['push'](_0x41406f['shift']());}}}(_0x1ec5,0xa6122));const v={get 'single'(){const _0x127db7=_0x3e7b;return{'title':_0x127db7(0x173),'model':_0x127db7(0x168),'view':{'key':_0x127db7(0x16e),'value':_0x127db7(0x16c)}};},get 'double'(){const _0x31bc9f=_0x3e7b;return{'title':_0x31bc9f(0x172),'model':_0x31bc9f(0x177),'view':{'key':_0x31bc9f(0x16e),'value':_0x31bc9f(0x185)}};}};export function isLineHeightDefaultValue(_0x1adb2f){const _0x189fba=_0x3e7b;return _0x189fba(0x17e)==typeof _0x1adb2f&&_0x189fba(0x178)===_0x1adb2f[_0x189fba(0x179)]();}export function normalizeOptions(_0x2b4932){const _0x472e66=_0x3e7b;return _0x2b4932[_0x472e66(0x16d)][_0x472e66(0x174)](_0x2d9696=>isLineHeightDefaultValue(_0x2d9696)?{'title':String(_0x2b4932[_0x472e66(0x186)]),'model':_0x472e66(0x178)}:(_0x472e66(0x17c)==typeof _0x2d9696&&(_0x2d9696=String(_0x2d9696)),_0x472e66(0x17e)!=typeof _0x2d9696?_0x2d9696:parseFloat(_0x2d9696)?{'title':_0x2d9696,'model':_0x2d9696,'view':{'name':_0x472e66(0x181),'styles':{'line-height':_0x2d9696}}}:findPreset(_0x2d9696)))[_0x472e66(0x187)](_0x415042=>void 0x0!==_0x415042);}function _0x3e7b(_0x7096e4,_0x4f85ee){const _0x1ec519=_0x1ec5();return _0x3e7b=function(_0x3e7baa,_0x362802){_0x3e7baa=_0x3e7baa-0x165;let _0x2a0880=_0x1ec519[_0x3e7baa];return _0x2a0880;},_0x3e7b(_0x7096e4,_0x4f85ee);}function _0x1ec5(){const _0x277f86=['value','values','line-height-single','options','class','16qnFihd','84mzMMMx','model','Double','Single','map','47196mPASPK','640GurNFI','double','default','toLowerCase','2261809fhcMSU','32asvzFL','number','line-height:','string','key','1773338oPruza','span','2426565CfTkPh','push','13788NOmykf','line-height-double','defaultValue','filter','style','145689DtDTMK','12AJJRFW','3926380PxNZvY','single','view'];_0x1ec5=function(){return _0x277f86;};return _0x1ec5();}export function findPreset(_0x19bb5b){const _0x21dee6=_0x3e7b;return _0x21dee6(0x17e)==typeof _0x19bb5b?v[_0x19bb5b]:v[_0x19bb5b[_0x21dee6(0x171)]];}export function buildDefinition(_0x44c582,_0xbaa6d1){const _0x373645=_0x3e7b,_0x1574f2={'model':{'key':_0x44c582,'values':[]},'view':{}};for(const _0x1008ad of _0xbaa6d1)_0x373645(0x16e)===_0x1008ad[_0x373645(0x169)]?.[_0x373645(0x17f)]?(_0x1574f2[_0x373645(0x171)][_0x373645(0x16b)][_0x373645(0x183)](_0x1008ad[_0x373645(0x171)]),_0x1574f2[_0x373645(0x169)][_0x1008ad[_0x373645(0x171)]]={'key':_0x373645(0x16e),'value':_0x1008ad[_0x373645(0x169)][_0x373645(0x16a)]}):(_0x1574f2[_0x373645(0x171)][_0x373645(0x16b)][_0x373645(0x183)](_0x1008ad[_0x373645(0x171)]),_0x1574f2[_0x373645(0x169)][_0x1008ad[_0x373645(0x171)]]={'key':_0x373645(0x188),'value':_0x373645(0x17d)+_0x1008ad[_0x373645(0x171)]+';'});return _0x1574f2;}
|