@ckeditor/ckeditor5-line-height 47.7.4 → 47.7.5-alpha.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
|
-
const
|
|
23
|
+
const _0x7a358e=_0x1c77;function _0x1c77(_0x4df997,_0x277389){const _0x163de8=_0x163d();return _0x1c77=function(_0x1c77fe,_0x29527a){_0x1c77fe=_0x1c77fe-0x124;let _0x494bca=_0x163de8[_0x1c77fe];return _0x494bca;},_0x1c77(_0x4df997,_0x277389);}(function(_0x87c9c,_0x20cdee){const _0x3721fd=_0x1c77,_0x34ea6a=_0x87c9c();while(!![]){try{const _0x528b0b=parseInt(_0x3721fd(0x143))/0x1*(parseInt(_0x3721fd(0x130))/0x2)+-parseInt(_0x3721fd(0x141))/0x3*(parseInt(_0x3721fd(0x13a))/0x4)+parseInt(_0x3721fd(0x13d))/0x5*(parseInt(_0x3721fd(0x133))/0x6)+-parseInt(_0x3721fd(0x12e))/0x7*(-parseInt(_0x3721fd(0x152))/0x8)+parseInt(_0x3721fd(0x12d))/0x9*(parseInt(_0x3721fd(0x139))/0xa)+parseInt(_0x3721fd(0x134))/0xb+-parseInt(_0x3721fd(0x14d))/0xc*(parseInt(_0x3721fd(0x131))/0xd);if(_0x528b0b===_0x20cdee)break;else _0x34ea6a['push'](_0x34ea6a['shift']());}catch(_0x151a74){_0x34ea6a['push'](_0x34ea6a['shift']());}}}(_0x163d,0x99834));import{Plugin as _0x1b2398}from'ckeditor5/src/core.js';import{Matcher as _0x263503}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x1b2398{static get[_0x7a358e(0x14e)](){const _0x2b5841=_0x7a358e;return _0x2b5841(0x149);}static get[_0x7a358e(0x14c)](){return!0x0;}static get[_0x7a358e(0x13e)](){return!0x0;}[_0x7a358e(0x13f)](){const _0x5e52b1=_0x7a358e,{plugins:_0x1a6249,conversion:_0x3eac9e}=this[_0x5e52b1(0x13c)];if(!_0x1a6249[_0x5e52b1(0x14f)](_0x5e52b1(0x12a))||!_0x1a6249[_0x5e52b1(0x14f)](_0x5e52b1(0x135)))return;_0x1a6249[_0x5e52b1(0x150)](_0x5e52b1(0x12a))[_0x5e52b1(0x12b)]({'scope':_0x5e52b1(0x145),'attributeName':_0x5e52b1(0x124),'consume':!0x1,'setAttributeOnDowncast'(_0xdbdf0a,_0x50f1ab,_0xae7d69,_0x57acb4,_0x4e1545){const _0x317772=_0x5e52b1;_0x317772(0x138)==_0x4e1545[_0x317772(0x128)](_0x317772(0x129))&&_0x50f1ab&&(_0xdbdf0a[_0x317772(0x12c)](_0x317772(0x147),_0xae7d69),_0xdbdf0a[_0x317772(0x142)](_0x317772(0x144),_0x50f1ab,_0xae7d69));}}),_0x3eac9e[_0x5e52b1(0x151)](_0x5e52b1(0x125))[_0x5e52b1(0x146)]({'view':{'name':_0x5e52b1(0x127),'classes':_0x5e52b1(0x132)},'model':_0x5e52b1(0x148),'converterPriority':_0x5e52b1(0x126)}),_0x3eac9e[_0x5e52b1(0x151)](_0x5e52b1(0x125))[_0x5e52b1(0x140)](_0x17dfe7=>{const _0x402276=_0x5e52b1;_0x17dfe7['on'](_0x402276(0x14a),function(_0x2cfadf){const _0x24275e=new _0x263503(_0x2cfadf);return(_0x182396,_0x47861b,_0xa27439)=>{const _0x145ac5=_0x1c77,_0x290293=_0x24275e[_0x145ac5(0x137)](_0x47861b[_0x145ac5(0x136)]);if(!_0x290293)return;const _0x2bfc31=_0x290293[_0x145ac5(0x137)];_0x2bfc31[_0x145ac5(0x14b)]=!0x1,_0xa27439[_0x145ac5(0x12f)][_0x145ac5(0x13b)](_0x47861b[_0x145ac5(0x136)],_0x2bfc31);};}({'name':'li','classes':_0x402276(0x147),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x163d(){const _0x1ca51f=['item','elementToElement','ck-list-marker-line-height','paragraph','LineHeightTodoListIntegration','element:li','name','isOfficialPlugin','8580036yMmOAq','pluginName','has','get','for','8BuLyhV','lineHeight','upcast','high','span','getAttribute','listType','ListEditing','registerDowncastStrategy','addClass','2011374gFfIDj','7737842tNKomS','consumable','1430970kRkUmW','39WpFEJw','todo-list__label__description','3433938dCGebR','6007529EnaOgC','TodoListEditing','viewItem','match','todo','20CbYwDd','21876GTSNTa','consume','editor','5WXdKys','isPremiumPlugin','init','add','336YIlArQ','setStyle','1ewUMns','--ck-content-list-marker-line-height'];_0x163d=function(){return _0x1ca51f;};return _0x163d();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x25b161=_0x3e14;(function(_0x25f0df,_0x537aed){var _0x2930c3=_0x3e14,_0x9e00a9=_0x25f0df();while(!![]){try{var _0x3e7a46=parseInt(_0x2930c3(0xa7))/0x1+-parseInt(_0x2930c3(0xa2))/0x2+parseInt(_0x2930c3(0xb0))/0x3*(parseInt(_0x2930c3(0xaf))/0x4)+-parseInt(_0x2930c3(0xa4))/0x5*(parseInt(_0x2930c3(0xac))/0x6)+-parseInt(_0x2930c3(0xae))/0x7*(-parseInt(_0x2930c3(0xa8))/0x8)+-parseInt(_0x2930c3(0xa5))/0x9+-parseInt(_0x2930c3(0xaa))/0xa*(parseInt(_0x2930c3(0xab))/0xb);if(_0x3e7a46===_0x537aed)break;else _0x9e00a9['push'](_0x9e00a9['shift']());}catch(_0x2085e7){_0x9e00a9['push'](_0x9e00a9['shift']());}}}(_0x83f5,0x18fe7));function _0x3e14(_0x238a90,_0x5f5c91){var _0x83f51d=_0x83f5();return _0x3e14=function(_0x3e14f1,_0x16cf8c){_0x3e14f1=_0x3e14f1-0xa2;var _0x458663=_0x83f51d[_0x3e14f1];return _0x458663;},_0x3e14(_0x238a90,_0x5f5c91);}function _0x83f5(){var _0x1d617a=['373203XfJsFh','isPremiumPlugin','29084popcTv','pluginName','335gvSplE','39159evQLpq','LineHeight','102957JxXazS','733816XXjEmP','requires','30OyolrP','482625yinCVc','14142CGSNEZ','isOfficialPlugin','14hrwVmA','4kyrYef'];_0x83f5=function(){return _0x1d617a;};return _0x83f5();}import{Plugin as _0x331a3e}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x32420c}from'./lineheightediting.js';import{LineHeightUI as _0x13dc19}from'./lineheightui.js';export class LineHeight extends _0x331a3e{static get[_0x25b161(0xa9)](){return[_0x32420c,_0x13dc19];}static get[_0x25b161(0xa3)](){var _0x879c92=_0x25b161;return _0x879c92(0xa6);}static get[_0x25b161(0xad)](){return!0x0;}static get[_0x25b161(0xb1)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x13ca72=_0x3cf0;function _0x3cf0(_0x2e5e5e,_0xaab376){const _0x2fcf94=_0x2fcf();return _0x3cf0=function(_0x3cf0b0,_0x3508a6){_0x3cf0b0=_0x3cf0b0-0x175;let _0x36a1d9=_0x2fcf94[_0x3cf0b0];return _0x36a1d9;},_0x3cf0(_0x2e5e5e,_0xaab376);}(function(_0x136ecf,_0xed42e2){const _0x1d5ba5=_0x3cf0,_0x278a9d=_0x136ecf();while(!![]){try{const _0x430209=parseInt(_0x1d5ba5(0x187))/0x1*(parseInt(_0x1d5ba5(0x177))/0x2)+-parseInt(_0x1d5ba5(0x17f))/0x3*(-parseInt(_0x1d5ba5(0x179))/0x4)+parseInt(_0x1d5ba5(0x18d))/0x5*(-parseInt(_0x1d5ba5(0x189))/0x6)+-parseInt(_0x1d5ba5(0x178))/0x7*(parseInt(_0x1d5ba5(0x183))/0x8)+parseInt(_0x1d5ba5(0x192))/0x9*(-parseInt(_0x1d5ba5(0x176))/0xa)+parseInt(_0x1d5ba5(0x17b))/0xb+parseInt(_0x1d5ba5(0x17e))/0xc;if(_0x430209===_0xed42e2)break;else _0x278a9d['push'](_0x278a9d['shift']());}catch(_0x473c80){_0x278a9d['push'](_0x278a9d['shift']());}}}(_0x2fcf,0x77350));import{Command as _0x4e553f}from'ckeditor5/src/core.js';import{first as _0x1c5ab9}from'ckeditor5/src/utils.js';function _0x2fcf(){const _0x23d722=['115782iGtzwB','from','model','schema','40hrXJPK','execute','refresh','removeAttribute','3BXLzYZ','isEnabled','28290bZhdxv','editor','getAttribute','filter','570mYuRfp','checkAttribute','setAttribute','lineHeight','change','297egWaqo','document','getSelectedBlocks','222610zSFCRW','98490iSnsrB','685545AEqnne','36DZDDph','_canHaveLineHeight','9269348zurGnE','selection','value','10947852mDPUJL'];_0x2fcf=function(){return _0x23d722;};return _0x2fcf();}export class LineHeightCommand extends _0x4e553f{[_0x13ca72(0x185)](){const _0x558bf5=_0x13ca72,_0x53d1ca=this[_0x558bf5(0x18a)][_0x558bf5(0x181)][_0x558bf5(0x193)],_0x2659cc=_0x1c5ab9(_0x53d1ca[_0x558bf5(0x17c)][_0x558bf5(0x175)]());this[_0x558bf5(0x188)]=Boolean(_0x2659cc)&&this[_0x558bf5(0x17a)](_0x2659cc),this[_0x558bf5(0x17d)]=this[_0x558bf5(0x188)]&&_0x2659cc[_0x558bf5(0x18b)](_0x558bf5(0x190));}[_0x13ca72(0x184)](_0x2e07ed={}){const _0xc3344f=_0x13ca72,_0x1b019f=this[_0xc3344f(0x18a)][_0xc3344f(0x181)],_0x5b1679=_0x1b019f[_0xc3344f(0x193)][_0xc3344f(0x17c)],_0x1d1516=_0x2e07ed[_0xc3344f(0x17d)];_0x1b019f[_0xc3344f(0x191)](_0x31497f=>{const _0xf8e3a9=_0xc3344f,_0x577278=Array[_0xf8e3a9(0x180)](_0x5b1679[_0xf8e3a9(0x175)]())[_0xf8e3a9(0x18c)](_0xf9fe64=>this[_0xf8e3a9(0x17a)](_0xf9fe64));for(const _0x520352 of _0x577278)_0x1d1516?_0x31497f[_0xf8e3a9(0x18f)](_0xf8e3a9(0x190),_0x1d1516,_0x520352):_0x31497f[_0xf8e3a9(0x186)](_0xf8e3a9(0x190),_0x520352);});}[_0x13ca72(0x17a)](_0x23ebb5){const _0x38f587=_0x13ca72;return this[_0x38f587(0x18a)][_0x38f587(0x181)][_0x38f587(0x182)][_0x38f587(0x18e)](_0x23ebb5,_0x38f587(0x190));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x352a10=_0x48a7;(function(_0x1973ae,_0x1bdbe0){const _0x14596a=_0x48a7,_0x315f07=_0x1973ae();while(!![]){try{const _0x388be1=parseInt(_0x14596a(0x164))/0x1*(parseInt(_0x14596a(0x143))/0x2)+parseInt(_0x14596a(0x14a))/0x3+-parseInt(_0x14596a(0x13d))/0x4+-parseInt(_0x14596a(0x14c))/0x5*(parseInt(_0x14596a(0x15b))/0x6)+parseInt(_0x14596a(0x140))/0x7+parseInt(_0x14596a(0x16f))/0x8*(parseInt(_0x14596a(0x165))/0x9)+parseInt(_0x14596a(0x142))/0xa;if(_0x388be1===_0x1bdbe0)break;else _0x315f07['push'](_0x315f07['shift']());}catch(_0x94c47){_0x315f07['push'](_0x315f07['shift']());}}}(_0x258e,0xdf4a8));import{Plugin as _0xa4b9be}from'ckeditor5/src/core.js';function _0x48a7(_0xded701,_0xd0c7aa){const _0x258e20=_0x258e();return _0x48a7=function(_0x48a753,_0x202baf){_0x48a753=_0x48a753-0x13a;let _0x4ea326=_0x258e20[_0x48a753];return _0x4ea326;},_0x48a7(_0xded701,_0xd0c7aa);}function _0x258e(){const _0x5aefe6=['config','define','8YGyyYc','LineHeightEditing','commands','isOfficialPlugin','init','5638992XRGjHh','$block','getStyle','12153379JwCTbL','fromCharCode','8115570vZoRjx','356kvxNmo','values','lineHeight.defaultValue','_prepareAnyValueConverters','conversion','schema','style','384312TSiXlN','_validateConfig','15seseUc','isPremiumPlugin','href','model','lineHeight','for','lineHeight.supportAllValues','lineHeight.options','requires','slice','attributeToAttribute','afterInit','includes','_preparePredefinedConverters','add','3302430KSIkoK','length','map','join','default','extend','filter','setAttributeProperties','get','2162LiZhVV','8233821VZlFPz','line-height','downcast','upcast','editor','string','pluginName','line-height-invalid-use-of-named-presets'];_0x258e=function(){return _0x5aefe6;};return _0x258e();}import{LineHeightCommand as _0x270422}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x385ffc}from'ckeditor5/src/engine.js';import{uid as _0xa9d893,CKEditorError as _0x55d802}from'ckeditor5/src/utils.js';import{buildDefinition as _0x426121,isLineHeightDefaultValue as _0x21eebe,normalizeOptions as _0x582079}from'./utils.js';import{LineHeightTodoListIntegration as _0x2a1e74}from'./integrations/todolist.js';export class LineHeightEditing extends _0xa4b9be{static get[_0x352a10(0x16b)](){const _0x59c9a2=_0x352a10;return _0x59c9a2(0x170);}static get[_0x352a10(0x154)](){return[_0x2a1e74];}static get[_0x352a10(0x13b)](){return!0x0;}static get[_0x352a10(0x14d)](){return!0x0;}constructor(_0x535a1a){const _0x527106=_0x352a10;super(_0x535a1a),_0x535a1a[_0x527106(0x16d)][_0x527106(0x16e)](_0x527106(0x150),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x527106(0x15f),0x2,2.5,0x3]});}[_0x352a10(0x13c)](){const _0x3ae8e3=_0x352a10,_0x5c5fb2=this[_0x3ae8e3(0x169)];this[_0x3ae8e3(0x14b)](),_0x5c5fb2[_0x3ae8e3(0x14f)][_0x3ae8e3(0x148)][_0x3ae8e3(0x160)](_0x3ae8e3(0x13e),{'allowAttributes':_0x3ae8e3(0x150)}),_0x5c5fb2[_0x3ae8e3(0x14f)][_0x3ae8e3(0x148)][_0x3ae8e3(0x162)](_0x3ae8e3(0x150),{'isFormatting':!0x0}),_0x5c5fb2[_0x3ae8e3(0x13a)][_0x3ae8e3(0x15a)](_0x3ae8e3(0x150),new _0x270422(_0x5c5fb2)),this[_0x3ae8e3(0x169)][_0x3ae8e3(0x16d)][_0x3ae8e3(0x163)](_0x3ae8e3(0x152))?this[_0x3ae8e3(0x146)]():this[_0x3ae8e3(0x159)]();}[_0x352a10(0x157)](){!async function(_0x3e0a95){const _0x45881f=_0x3ffbb4([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]),_0x5ae7c7=0x45ddd215,_0x3b3d6c=0x45da47d5^_0x5ae7c7,_0x232102=window[_0x3ffbb4([0x44,0x61,0x74,0x65])][_0x3ffbb4([0x6e,0x6f,0x77])](),_0x578968=_0x3e0a95[_0x3ffbb4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2355e0=new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d296=>{_0x578968[_0x3ffbb4([0x6f,0x6e,0x63,0x65])](_0x3ffbb4([0x72,0x65,0x61,0x64,0x79]),_0x41d296);}),_0x3a0e28={[_0x3ffbb4([0x6b,0x74,0x79])]:_0x3ffbb4([0x45,0x43]),[_0x3ffbb4([0x75,0x73,0x65])]:_0x3ffbb4([0x73,0x69,0x67]),[_0x3ffbb4([0x63,0x72,0x76])]:_0x3ffbb4([0x50,0x2d,0x32,0x35,0x36]),[_0x3ffbb4([0x78])]:_0x3ffbb4([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]),[_0x3ffbb4([0x79])]:_0x3ffbb4([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]),[_0x3ffbb4([0x61,0x6c,0x67])]:_0x3ffbb4([0x45,0x53,0x32,0x35,0x36])},_0x2f56a9=_0x578968[_0x3ffbb4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ffbb4([0x67,0x65,0x74])](_0x3ffbb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a829c(){let _0x3ce776,_0x20c9e0=null,_0x163c1c=null;try{if(_0x2f56a9==_0x3ffbb4([0x47,0x50,0x4c]))return _0x3ffbb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ce776=_0x3af254(),!_0x3ce776)return _0x3ffbb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ce776[_0x3ffbb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x163c1c=_0x48c706(_0x3ce776[_0x3ffbb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ce776[_0x3ffbb4([0x6a,0x74,0x69])])),await _0x4fa095()?_0x28e757()?_0x364cd1()?_0x3ffbb4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24c4cf()?(_0x3ce776[_0x3ffbb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ffbb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x20c9e0=_0x4ba8a8(_0x3ffbb4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1bf6c3()):_0x3ffbb4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ffbb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ffbb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ffbb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x364cd1(){const _0x39645e=[_0x3ffbb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ffbb4([0x74,0x72,0x69,0x61,0x6c])][_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ce776[_0x3ffbb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x232102/0x3e8:0xe10*_0x3b3d6c;return _0x3ce776[_0x3ffbb4([0x65,0x78,0x70])]<_0x39645e;}function _0x28e757(){const _0x7bd660=_0x3ce776[_0x3ffbb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x7bd660&&(!!_0x7bd660[_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffbb4([0x2a]))||!!_0x7bd660[_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffbb4([0x4c,0x48])));}function _0x24c4cf(){const _0x4325a0=_0x48a7,_0x59c742=_0x3ce776[_0x3ffbb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59c742||0x0==_0x59c742[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58505f}=new URL(window[_0x3ffbb4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4325a0(0x14e)]);if(_0x59c742[_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58505f))return!0x0;const _0x1fef16=_0x58505f[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])](_0x3ffbb4([0x2e]));return _0x59c742[_0x3ffbb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x102422=>_0x102422[_0x3ffbb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffbb4([0x2a])))[_0x3ffbb4([0x6d,0x61,0x70])](_0x530600=>_0x530600[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])](_0x3ffbb4([0x2e])))[_0x3ffbb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d169b=>_0x2d169b[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1fef16[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ffbb4([0x6d,0x61,0x70])](_0x47b6ba=>Array(_0x1fef16[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47b6ba[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ffbb4([0x66,0x69,0x6c,0x6c])](_0x47b6ba[0x0]===_0x3ffbb4([0x2a])?_0x3ffbb4([0x2a]):'')[_0x3ffbb4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47b6ba))[_0x3ffbb4([0x73,0x6f,0x6d,0x65])](_0x429ef9=>_0x1fef16[_0x3ffbb4([0x65,0x76,0x65,0x72,0x79])]((_0x210f72,_0x33110a)=>_0x429ef9[_0x33110a]===_0x210f72||_0x429ef9[_0x33110a]===_0x3ffbb4([0x2a])));}function _0x1bf6c3(){return _0x20c9e0&&_0x163c1c?new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x109279,_0x567f93)=>{_0x20c9e0[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0x109279,_0x567f93),_0x163c1c[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0x2e35b8=>{_0x2e35b8!=_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64])&&_0x109279(_0x2e35b8);},_0x567f93);}):_0x20c9e0||_0x163c1c||_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x48c706(_0x488ab1,_0x5b8d34){return new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f1062=>{if(_0x3e4e35())return _0x4f1062(_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64]));_0x4bf78f(),_0x578968[_0x3ffbb4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ffbb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dbcef=!0x1;const _0x5b9157=_0xa9d893();function _0x494b46(_0x2fbd1e){return!!_0x2fbd1e&&(typeof _0x2fbd1e===_0x3ffbb4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fbd1e===_0x3ffbb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fbd1e[_0x3ffbb4([0x74,0x68,0x65,0x6e])]===_0x3ffbb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fbd1e[_0x3ffbb4([0x63,0x61,0x74,0x63,0x68])]===_0x3ffbb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d8681(_0x5a79da){_0x49b47e(_0x5a79da)[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0xffc7f6=>{if(!_0xffc7f6||_0xffc7f6[_0x3ffbb4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ffbb4([0x6f,0x6b]))return _0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42c9ec(_0x52adf6(_0x5b9157+_0x5b8d34))!=_0xffc7f6[_0x3ffbb4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0xfda9d2=>(_0x57dcd4(),_0xfda9d2),()=>{const _0x4c480a=_0x597b77();return null==_0x4c480a?(_0x57dcd4(),_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64])):_0x3ffbb4(_0x232102-_0x4c480a>(0x61d15615^_0x5ae7c7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0x4f1062)[_0x3ffbb4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f1062(_0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x263d1a=0x45eb3c95^_0x5ae7c7;function _0x57dcd4(){const _0x52c84d=_0x3ffbb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x42c9ec(_0x52adf6(_0x488ab1)),_0x45fe66=_0x4c413d(_0x42c9ec(window[_0x3ffbb4([0x4d,0x61,0x74,0x68])][_0x3ffbb4([0x63,0x65,0x69,0x6c])](_0x232102/_0x263d1a)));window[_0x3ffbb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ffbb4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52c84d,_0x45fe66);}function _0x597b77(){const _0x300a59=_0x3ffbb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x42c9ec(_0x52adf6(_0x488ab1)),_0x672e60=window[_0x3ffbb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ffbb4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x300a59);return _0x672e60?window[_0x3ffbb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c413d(_0x672e60),0x10)*_0x263d1a:null;}function _0x49b47e(_0xa3d7fb){return new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7db2e3,_0x54f554)=>{_0xa3d7fb[_0x3ffbb4([0x74,0x68,0x65,0x6e])](_0x7db2e3,_0x54f554),window[_0x3ffbb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54f554,0x45dc06d5^_0x5ae7c7);});}}_0x578968[_0x3ffbb4([0x6f,0x6e])](_0x3ffbb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ffa42,_0x5ca487)=>{if(_0x5ca487[0x0]!=_0x488ab1)return _0x4f1062(_0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ca487[0x1]={..._0x5ca487[0x1],[_0x3ffbb4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b9157};},{[_0x3ffbb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ffbb4([0x68,0x69,0x67,0x68])}),_0x578968[_0x3ffbb4([0x6f,0x6e])](_0x3ffbb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1bdf76=>{_0x494b46(_0x1bdf76[_0x3ffbb4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dbcef=!0x0,_0x5d8681(_0x1bdf76[_0x3ffbb4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ffbb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ffbb4([0x6c,0x6f,0x77])}),_0x2355e0[_0x3ffbb4([0x74,0x68,0x65,0x6e])](()=>{_0x3dbcef||_0x4f1062(_0x3ffbb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e4e35(){return _0x578968[_0x3ffbb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ffbb4([0x76,0x69,0x65,0x77])][_0x3ffbb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ffbb4([0x61,0x75,0x74,0x6f]);}function _0x4bf78f(){_0x578968[_0x3ffbb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ffbb4([0x76,0x69,0x65,0x77])][_0x3ffbb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ffbb4([0x61,0x75,0x74,0x6f]);}}function _0x4ba8a8(_0x5dd762){const _0x52b95c=[new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5203=>setTimeout(_0x1c5203,0x45d4ecd9^_0x5ae7c7)),_0x2355e0[_0x3ffbb4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x390c08=>{let _0xf8dca3=0x0;_0x578968[_0x3ffbb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffbb4([0x6f,0x6e])](_0x3ffbb4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b1665,_0x291a7c)=>{_0x291a7c[0x0][_0x3ffbb4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf8dca3++,_0xf8dca3==(0x45ddd7fd^_0x5ae7c7)&&(_0x390c08(),_0x3b1665[_0x3ffbb4([0x6f,0x66,0x66])]());});}))];return window[_0x3ffbb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ffbb4([0x72,0x61,0x63,0x65])](_0x52b95c)[_0x3ffbb4([0x74,0x68,0x65,0x6e])](()=>_0x5dd762);}async function _0x2bb154(){await _0x2355e0,_0x578968[_0x3ffbb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffbb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x198504,_0x578968[_0x3ffbb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffbb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x198504,_0x578968[_0x3ffbb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ffbb4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c6321(_0x2ce9f3){const _0x4e1652=_0xe84bd1();_0x578968[_0x4e1652]=_0x3ffbb4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ce9f3,_0x2ce9f3!=_0x3ffbb4([0x56,0x61,0x6c,0x69,0x64])&&_0x2bb154();}function _0xe84bd1(){const _0x330835=window[_0x3ffbb4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ffbb4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ffbb4([0x6e,0x6f,0x77])]())[_0x3ffbb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ffbb4([0x2e]),'');let _0x191df9=_0x3ffbb4([0x50]);for(let _0x31519c=0x0;_0x31519c<_0x330835[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31519c+=0x2){let _0x44a548=window[_0x3ffbb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x330835[_0x3ffbb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31519c,_0x31519c+0x2));_0x44a548>=_0x45881f[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44a548-=_0x45881f[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x191df9+=_0x45881f[_0x44a548];}return _0x191df9;}function _0x3af254(){const _0x32a165=_0x2f56a9[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])](_0x3ffbb4([0x2e]));if(0x3!=_0x32a165[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21fdb5(_0x32a165[0x1]);function _0x21fdb5(_0x47c9d8){const _0x1d4d8e=_0x34552c(_0x47c9d8);return _0x1d4d8e&&_0x2e1efd()?_0x1d4d8e:null;function _0x2e1efd(){const _0x20ad2c=_0x1d4d8e[_0x3ffbb4([0x6a,0x74,0x69])],_0x3c0b41=window[_0x3ffbb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20ad2c[_0x3ffbb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20ad2c[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x376f36={..._0x1d4d8e,[_0x3ffbb4([0x6a,0x74,0x69])]:_0x20ad2c[_0x3ffbb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20ad2c[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x376f36[_0x3ffbb4([0x76,0x63])],_0x52adf6(_0x376f36)==_0x3c0b41;}}}async function _0x4fa095(){let _0x56f7d6=!0x0;try{const _0x1c3fd5=_0x2f56a9[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])](_0x3ffbb4([0x2e])),[_0xb80d12,_0x27718e,_0x3fa471]=_0x1c3fd5;return _0x501a0d(_0xb80d12),await _0x365cf0(_0xb80d12,_0x27718e,_0x3fa471),_0x56f7d6;}catch{return!0x1;}function _0x501a0d(_0x304d80){const _0x4b9677=_0x34552c(_0x304d80);_0x4b9677&&_0x4b9677[_0x3ffbb4([0x61,0x6c,0x67])]==_0x3ffbb4([0x45,0x53,0x32,0x35,0x36])||(_0x56f7d6=!0x1);}async function _0x365cf0(_0x5912c2,_0x40ac3b,_0x53e3d8){const _0x4a3655=window[_0x3ffbb4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ffbb4([0x66,0x72,0x6f,0x6d])](_0xc25b35(_0x53e3d8),_0x78bb5d=>_0x78bb5d[_0x3ffbb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x26380e=new window[(_0x3ffbb4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ffbb4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5912c2+_0x3ffbb4([0x2e])+_0x40ac3b),_0x254152=window[_0x3ffbb4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ffbb4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x254152)return;const _0x1caae5=await _0x254152[_0x3ffbb4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ffbb4([0x6a,0x77,0x6b]),_0x3a0e28,{[_0x3ffbb4([0x6e,0x61,0x6d,0x65])]:_0x3ffbb4([0x45,0x43,0x44,0x53,0x41]),[_0x3ffbb4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ffbb4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ffbb4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x254152[_0x3ffbb4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ffbb4([0x6e,0x61,0x6d,0x65])]:_0x3ffbb4([0x45,0x43,0x44,0x53,0x41]),[_0x3ffbb4([0x68,0x61,0x73,0x68])]:{[_0x3ffbb4([0x6e,0x61,0x6d,0x65])]:_0x3ffbb4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1caae5,_0x4a3655,_0x26380e)||(_0x56f7d6=!0x1);}}function _0x34552c(_0x384955){return _0x384955[_0x3ffbb4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ffbb4([0x65,0x79]))?JSON[_0x3ffbb4([0x70,0x61,0x72,0x73,0x65])](_0xc25b35(_0x384955)):null;}function _0xc25b35(_0x22f004){return window[_0x3ffbb4([0x61,0x74,0x6f,0x62])](_0x22f004[_0x3ffbb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ffbb4([0x2b]))[_0x3ffbb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ffbb4([0x2f])));}function _0x52adf6(_0x128609){let _0x5303ae=0x1505;function _0x5853df(_0x3e0d73){for(let _0x35b782=0x0;_0x35b782<_0x3e0d73[_0x3ffbb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35b782++){const _0x1177ff=_0x3e0d73[_0x3ffbb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35b782);_0x5303ae=(_0x5303ae<<0x5)+_0x5303ae+_0x1177ff,_0x5303ae&=_0x5303ae;}}function _0x2491f7(_0x269eb8){Array[_0x3ffbb4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x269eb8)?_0x269eb8[_0x3ffbb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2491f7):_0x269eb8&&typeof _0x269eb8==_0x3ffbb4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ffbb4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x269eb8)[_0x3ffbb4([0x73,0x6f,0x72,0x74])]()[_0x3ffbb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb38e58,_0x400e59])=>{_0x5853df(_0xb38e58),_0x2491f7(_0x400e59);}):_0x5853df(window[_0x3ffbb4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x269eb8));}return _0x2491f7(_0x128609),_0x5303ae>>>0x0;}function _0x42c9ec(_0x12f192){return _0x12f192[_0x3ffbb4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ffbb4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ffbb4([0x30]));}function _0x4c413d(_0x487fce){return _0x487fce[_0x3ffbb4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ffbb4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ffbb4([0x6a,0x6f,0x69,0x6e])]('');}function _0x198504(){}function _0x3ffbb4(_0x2d038a){const _0x2532bb=_0x48a7;return _0x2d038a[_0x2532bb(0x15d)](_0x248c8b=>String[_0x2532bb(0x141)](_0x248c8b))[_0x2532bb(0x15e)]('');}_0x4c6321(await _0x5a829c());}(this);}[_0x352a10(0x14b)](){const _0x4fb50f=_0x352a10,_0x29022c=this[_0x4fb50f(0x169)];if(!_0x29022c[_0x4fb50f(0x16d)][_0x4fb50f(0x163)](_0x4fb50f(0x152)))return;const _0xd63edc=_0x29022c[_0x4fb50f(0x16d)][_0x4fb50f(0x163)](_0x4fb50f(0x153))[_0x4fb50f(0x161)](_0x4ed487=>_0x4fb50f(0x16a)==typeof _0x4ed487&&(!_0x21eebe(_0x4ed487)&&isNaN(Number(_0x4ed487))));if(_0xd63edc[_0x4fb50f(0x15c)])throw new _0x55d802(_0x4fb50f(0x16c),null,{'namedPresets':_0xd63edc});}[_0x352a10(0x146)](){const _0x5ce31f=_0x352a10,_0x227756=this[_0x5ce31f(0x169)],_0x8a3896=this[_0x5ce31f(0x169)][_0x5ce31f(0x16d)][_0x5ce31f(0x163)](_0x5ce31f(0x145));_0x227756[_0x5ce31f(0x147)][_0x5ce31f(0x151)](_0x5ce31f(0x167))[_0x5ce31f(0x156)]({'model':{'key':_0x5ce31f(0x150)},'view':_0x4d95ca=>String(_0x4d95ca)===String(_0x8a3896)?null:{'key':_0x5ce31f(0x149),'value':{'line-height':_0x4d95ca}}}),_0x227756[_0x5ce31f(0x147)][_0x5ce31f(0x151)](_0x5ce31f(0x168))[_0x5ce31f(0x156)]({'model':{'key':_0x5ce31f(0x150),'value':_0x4ab164=>{const _0x4e738b=_0x5ce31f;let _0x59df8c=_0x4ab164[_0x4e738b(0x13f)](_0x4e738b(0x166));return _0x385ffc(_0x59df8c)&&(_0x59df8c=String(Number(_0x59df8c[_0x4e738b(0x155)](0x0,-0x1))/0x64)),String(_0x59df8c)===String(_0x8a3896)?null:_0x59df8c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x352a10(0x159)](){const _0x12283c=_0x352a10,_0x56ffa8=this[_0x12283c(0x169)],_0x2f6f6d=this[_0x12283c(0x169)][_0x12283c(0x16d)][_0x12283c(0x163)](_0x12283c(0x145)),_0x3ab1a7=_0x582079(this[_0x12283c(0x169)][_0x12283c(0x16d)][_0x12283c(0x163)](_0x12283c(0x150)))[_0x12283c(0x161)](_0x17f13c=>_0x17f13c[_0x12283c(0x14f)]),_0x11403a=_0x426121(_0x12283c(0x150),_0x3ab1a7);_0x56ffa8[_0x12283c(0x147)][_0x12283c(0x156)](_0x11403a),_0x56ffa8[_0x12283c(0x147)][_0x12283c(0x151)](_0x12283c(0x168))[_0x12283c(0x156)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x12283c(0x150),'value':_0xbf63ab=>{const _0x1faeeb=_0x12283c;let _0x2ae277=_0xbf63ab[_0x1faeeb(0x13f)](_0x1faeeb(0x166));return _0x385ffc(_0x2ae277)&&(_0x2ae277=String(Number(_0x2ae277[_0x1faeeb(0x155)](0x0,-0x1))/0x64)),_0x2ae277===String(_0x2f6f6d)?null:_0x11403a[_0x1faeeb(0x14f)][_0x1faeeb(0x144)][_0x1faeeb(0x158)](_0x2ae277)?_0x2ae277:null;}}});}}
|
|
23
|
+
const _0x35156a=_0x11bc;(function(_0x2d9df9,_0x369ed6){const _0x328a49=_0x11bc,_0x1b1447=_0x2d9df9();while(!![]){try{const _0x4cc0ce=parseInt(_0x328a49(0xec))/0x1+-parseInt(_0x328a49(0xdd))/0x2+parseInt(_0x328a49(0xe1))/0x3+-parseInt(_0x328a49(0xf8))/0x4+parseInt(_0x328a49(0x104))/0x5+-parseInt(_0x328a49(0xf0))/0x6*(-parseInt(_0x328a49(0xe5))/0x7)+parseInt(_0x328a49(0x109))/0x8*(-parseInt(_0x328a49(0xe0))/0x9);if(_0x4cc0ce===_0x369ed6)break;else _0x1b1447['push'](_0x1b1447['shift']());}catch(_0x4c9cfe){_0x1b1447['push'](_0x1b1447['shift']());}}}(_0x5f32,0x67ea0));import{Plugin as _0x24f942}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x499bd5}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x9e977}from'ckeditor5/src/engine.js';function _0x5f32(){const _0x37e63b=['_preparePredefinedConverters','1489720vZDotS','downcast','afterInit','values','get','24ekaTrH','lineHeight','conversion','_prepareAnyValueConverters','$block','setAttributeProperties','commands','define','lineHeight.supportAllValues','_validateConfig','814570NHAdXi','for','default','1175922xsjLPz','2026779ArqAQH','map','init','lineHeight.defaultValue','14vJWQNn','editor','filter','line-height','add','upcast','attributeToAttribute','246245ISvYBH','line-height-invalid-use-of-named-presets','model','length','2114754ijWqPv','join','fromCharCode','string','getStyle','config','lineHeight.options','LineHeightEditing','2799236msZMwI','schema','includes','slice','style','isOfficialPlugin','extend','pluginName','isPremiumPlugin','href','requires'];_0x5f32=function(){return _0x37e63b;};return _0x5f32();}import{uid as _0x5730b3,CKEditorError as _0x1fba87}from'ckeditor5/src/utils.js';function _0x11bc(_0x46a7eb,_0x50f0ac){const _0x5f324b=_0x5f32();return _0x11bc=function(_0x11bc34,_0x400213){_0x11bc34=_0x11bc34-0xdd;let _0x5235aa=_0x5f324b[_0x11bc34];return _0x5235aa;},_0x11bc(_0x46a7eb,_0x50f0ac);}import{buildDefinition as _0x5289e4,isLineHeightDefaultValue as _0x428d89,normalizeOptions as _0x1fd829}from'./utils.js';import{LineHeightTodoListIntegration as _0x35df2a}from'./integrations/todolist.js';export class LineHeightEditing extends _0x24f942{static get[_0x35156a(0xff)](){const _0x4c9d92=_0x35156a;return _0x4c9d92(0xf7);}static get[_0x35156a(0x102)](){return[_0x35df2a];}static get[_0x35156a(0xfd)](){return!0x0;}static get[_0x35156a(0x100)](){return!0x0;}constructor(_0x197144){const _0x319cb9=_0x35156a;super(_0x197144),_0x197144[_0x319cb9(0xf5)][_0x319cb9(0x110)](_0x319cb9(0x10a),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x319cb9(0xdf),0x2,2.5,0x3]});}[_0x35156a(0xe3)](){const _0x837752=_0x35156a,_0x49fe37=this[_0x837752(0xe6)];this[_0x837752(0x112)](),_0x49fe37[_0x837752(0xee)][_0x837752(0xf9)][_0x837752(0xfe)](_0x837752(0x10d),{'allowAttributes':_0x837752(0x10a)}),_0x49fe37[_0x837752(0xee)][_0x837752(0xf9)][_0x837752(0x10e)](_0x837752(0x10a),{'isFormatting':!0x0}),_0x49fe37[_0x837752(0x10f)][_0x837752(0xe9)](_0x837752(0x10a),new _0x499bd5(_0x49fe37)),this[_0x837752(0xe6)][_0x837752(0xf5)][_0x837752(0x108)](_0x837752(0x111))?this[_0x837752(0x10c)]():this[_0x837752(0x103)]();}[_0x35156a(0x106)](){!async function(_0x21e8fa){const _0x6a2e1b=_0x3e8603([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]),_0x4881f5=0x45ddd215,_0x45b4e9=0x45da47e5^_0x4881f5,_0x487439=window[_0x3e8603([0x44,0x61,0x74,0x65])][_0x3e8603([0x6e,0x6f,0x77])](),_0x30ff26=_0x21e8fa[_0x3e8603([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x211e9a=new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42c910=>{_0x30ff26[_0x3e8603([0x6f,0x6e,0x63,0x65])](_0x3e8603([0x72,0x65,0x61,0x64,0x79]),_0x42c910);}),_0x4c005a={[_0x3e8603([0x6b,0x74,0x79])]:_0x3e8603([0x45,0x43]),[_0x3e8603([0x75,0x73,0x65])]:_0x3e8603([0x73,0x69,0x67]),[_0x3e8603([0x63,0x72,0x76])]:_0x3e8603([0x50,0x2d,0x32,0x35,0x36]),[_0x3e8603([0x78])]:_0x3e8603([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]),[_0x3e8603([0x79])]:_0x3e8603([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]),[_0x3e8603([0x61,0x6c,0x67])]:_0x3e8603([0x45,0x53,0x32,0x35,0x36])},_0x1dc93e=_0x30ff26[_0x3e8603([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e8603([0x67,0x65,0x74])](_0x3e8603([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54c895(){let _0x320d88,_0x48eb11=null,_0x3de28b=null;try{if(_0x1dc93e==_0x3e8603([0x47,0x50,0x4c]))return _0x3e8603([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x320d88=_0x14c4d4(),!_0x320d88)return _0x3e8603([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x320d88[_0x3e8603([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3de28b=_0x51fa60(_0x320d88[_0x3e8603([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x320d88[_0x3e8603([0x6a,0x74,0x69])])),await _0x1ca063()?_0x528993()?_0x854bbd()?_0x3e8603([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1210fe()?(_0x320d88[_0x3e8603([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e8603([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48eb11=_0x235912(_0x3e8603([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x202e6b()):_0x3e8603([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e8603([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e8603([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e8603([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x854bbd(){const _0x5e19a0=[_0x3e8603([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e8603([0x74,0x72,0x69,0x61,0x6c])][_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x320d88[_0x3e8603([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x487439/0x3e8:0xe10*_0x45b4e9;return _0x320d88[_0x3e8603([0x65,0x78,0x70])]<_0x5e19a0;}function _0x528993(){const _0x2e74a6=_0x320d88[_0x3e8603([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e74a6&&(!!_0x2e74a6[_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8603([0x2a]))||!!_0x2e74a6[_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8603([0x4c,0x48])));}function _0x1210fe(){const _0x98431f=_0x11bc,_0x5ad092=_0x320d88[_0x3e8603([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ad092||0x0==_0x5ad092[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b036e}=new URL(window[_0x3e8603([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x98431f(0x101)]);if(_0x5ad092[_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b036e))return!0x0;const _0x30f85d=_0x2b036e[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])](_0x3e8603([0x2e]));return _0x5ad092[_0x3e8603([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f7db7=>_0x4f7db7[_0x3e8603([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8603([0x2a])))[_0x3e8603([0x6d,0x61,0x70])](_0x277ea3=>_0x277ea3[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])](_0x3e8603([0x2e])))[_0x3e8603([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ee02e=>_0x1ee02e[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30f85d[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e8603([0x6d,0x61,0x70])](_0x37bc79=>Array(_0x30f85d[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37bc79[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e8603([0x66,0x69,0x6c,0x6c])](_0x37bc79[0x0]===_0x3e8603([0x2a])?_0x3e8603([0x2a]):'')[_0x3e8603([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37bc79))[_0x3e8603([0x73,0x6f,0x6d,0x65])](_0x577314=>_0x30f85d[_0x3e8603([0x65,0x76,0x65,0x72,0x79])]((_0x368156,_0xa7a16d)=>_0x577314[_0xa7a16d]===_0x368156||_0x577314[_0xa7a16d]===_0x3e8603([0x2a])));}function _0x202e6b(){return _0x48eb11&&_0x3de28b?new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbac3e5,_0x384726)=>{_0x48eb11[_0x3e8603([0x74,0x68,0x65,0x6e])](_0xbac3e5,_0x384726),_0x3de28b[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x37c8e8=>{_0x37c8e8!=_0x3e8603([0x56,0x61,0x6c,0x69,0x64])&&_0xbac3e5(_0x37c8e8);},_0x384726);}):_0x48eb11||_0x3de28b||_0x3e8603([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51fa60(_0x2e837d,_0x607e29){return new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35012c=>{if(_0x5c92c7())return _0x35012c(_0x3e8603([0x56,0x61,0x6c,0x69,0x64]));_0x12cdd6(),_0x30ff26[_0x3e8603([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e8603([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x557762=!0x1;const _0x37ca91=_0x5730b3();function _0x348008(_0x4122ce){return!!_0x4122ce&&(typeof _0x4122ce===_0x3e8603([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4122ce===_0x3e8603([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4122ce[_0x3e8603([0x74,0x68,0x65,0x6e])]===_0x3e8603([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4122ce[_0x3e8603([0x63,0x61,0x74,0x63,0x68])]===_0x3e8603([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7f66dd(_0x52737f){_0xf6b254(_0x52737f)[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x5bf9c1=>{if(!_0x5bf9c1||_0x5bf9c1[_0x3e8603([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e8603([0x6f,0x6b]))return _0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc47cdd(_0x285a55(_0x37ca91+_0x607e29))!=_0x5bf9c1[_0x3e8603([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e8603([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x50a6ef=>(_0x302fb0(),_0x50a6ef),()=>{const _0x15f963=_0x2e0e0a();return null==_0x15f963?(_0x302fb0(),_0x3e8603([0x56,0x61,0x6c,0x69,0x64])):_0x3e8603(_0x487439-_0x15f963>(0x61d15615^_0x4881f5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x35012c)[_0x3e8603([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35012c(_0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x448e7b=0x45eb3c95^_0x4881f5;function _0x302fb0(){const _0x4781ce=_0x3e8603([0x6c,0x6c,0x63,0x74,0x2d])+_0xc47cdd(_0x285a55(_0x2e837d)),_0x48b005=_0x1e6fcc(_0xc47cdd(window[_0x3e8603([0x4d,0x61,0x74,0x68])][_0x3e8603([0x63,0x65,0x69,0x6c])](_0x487439/_0x448e7b)));window[_0x3e8603([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e8603([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4781ce,_0x48b005);}function _0x2e0e0a(){const _0x12ee59=_0x3e8603([0x6c,0x6c,0x63,0x74,0x2d])+_0xc47cdd(_0x285a55(_0x2e837d)),_0x3b0503=window[_0x3e8603([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e8603([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12ee59);return _0x3b0503?window[_0x3e8603([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e6fcc(_0x3b0503),0x10)*_0x448e7b:null;}function _0xf6b254(_0x2a74de){return new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4158b1,_0x3bd090)=>{_0x2a74de[_0x3e8603([0x74,0x68,0x65,0x6e])](_0x4158b1,_0x3bd090),window[_0x3e8603([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3bd090,0x45dc06d5^_0x4881f5);});}}_0x30ff26[_0x3e8603([0x6f,0x6e])](_0x3e8603([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c7b76,_0x4f8c8f)=>{if(_0x4f8c8f[0x0]!=_0x2e837d)return _0x35012c(_0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f8c8f[0x1]={..._0x4f8c8f[0x1],[_0x3e8603([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37ca91};},{[_0x3e8603([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e8603([0x68,0x69,0x67,0x68])}),_0x30ff26[_0x3e8603([0x6f,0x6e])](_0x3e8603([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50ebaa=>{_0x348008(_0x50ebaa[_0x3e8603([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x557762=!0x0,_0x7f66dd(_0x50ebaa[_0x3e8603([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e8603([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e8603([0x6c,0x6f,0x77])}),_0x211e9a[_0x3e8603([0x74,0x68,0x65,0x6e])](()=>{_0x557762||_0x35012c(_0x3e8603([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c92c7(){return _0x30ff26[_0x3e8603([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e8603([0x76,0x69,0x65,0x77])][_0x3e8603([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e8603([0x61,0x75,0x74,0x6f]);}function _0x12cdd6(){_0x30ff26[_0x3e8603([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e8603([0x76,0x69,0x65,0x77])][_0x3e8603([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e8603([0x61,0x75,0x74,0x6f]);}}function _0x235912(_0x44dcc7){const _0x88e6e9=[new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x338025=>setTimeout(_0x338025,0x45d4ecd9^_0x4881f5)),_0x211e9a[_0x3e8603([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bc251=>{let _0x1221dd=0x0;_0x30ff26[_0x3e8603([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8603([0x6f,0x6e])](_0x3e8603([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21408a,_0xa55bb9)=>{_0xa55bb9[0x0][_0x3e8603([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1221dd++,_0x1221dd==(0x45ddd7fd^_0x4881f5)&&(_0x1bc251(),_0x21408a[_0x3e8603([0x6f,0x66,0x66])]());});}))];return window[_0x3e8603([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e8603([0x72,0x61,0x63,0x65])](_0x88e6e9)[_0x3e8603([0x74,0x68,0x65,0x6e])](()=>_0x44dcc7);}async function _0x46238c(){await _0x211e9a,_0x30ff26[_0x3e8603([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8603([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e134e,_0x30ff26[_0x3e8603([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e8603([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e134e,_0x30ff26[_0x3e8603([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e8603([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4daec7(_0x293808){const _0x20a639=_0x4177f5();_0x30ff26[_0x20a639]=_0x3e8603([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x293808,_0x293808!=_0x3e8603([0x56,0x61,0x6c,0x69,0x64])&&_0x46238c();}function _0x4177f5(){const _0x205bbd=window[_0x3e8603([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e8603([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e8603([0x6e,0x6f,0x77])]())[_0x3e8603([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e8603([0x2e]),'');let _0xa5a9bf=_0x3e8603([0x50]);for(let _0x37e6b6=0x0;_0x37e6b6<_0x205bbd[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37e6b6+=0x2){let _0x248b5b=window[_0x3e8603([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205bbd[_0x3e8603([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37e6b6,_0x37e6b6+0x2));_0x248b5b>=_0x6a2e1b[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x248b5b-=_0x6a2e1b[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa5a9bf+=_0x6a2e1b[_0x248b5b];}return _0xa5a9bf;}function _0x14c4d4(){const _0xeab7ce=_0x1dc93e[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])](_0x3e8603([0x2e]));if(0x3!=_0xeab7ce[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18d951(_0xeab7ce[0x1]);function _0x18d951(_0xe8c9d2){const _0x1f230c=_0x53ae9c(_0xe8c9d2);return _0x1f230c&&_0x433107()?_0x1f230c:null;function _0x433107(){const _0x599f43=_0x1f230c[_0x3e8603([0x6a,0x74,0x69])],_0x26d943=window[_0x3e8603([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x599f43[_0x3e8603([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x599f43[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e90b1={..._0x1f230c,[_0x3e8603([0x6a,0x74,0x69])]:_0x599f43[_0x3e8603([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x599f43[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e90b1[_0x3e8603([0x76,0x63])],_0x285a55(_0x1e90b1)==_0x26d943;}}}async function _0x1ca063(){let _0x4e39a0=!0x0;try{const _0x1c3440=_0x1dc93e[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])](_0x3e8603([0x2e])),[_0x4a8d52,_0x18b453,_0x1d8d5e]=_0x1c3440;return _0x2ca283(_0x4a8d52),await _0xbd800c(_0x4a8d52,_0x18b453,_0x1d8d5e),_0x4e39a0;}catch{return!0x1;}function _0x2ca283(_0x151789){const _0x3c5832=_0x53ae9c(_0x151789);_0x3c5832&&_0x3c5832[_0x3e8603([0x61,0x6c,0x67])]==_0x3e8603([0x45,0x53,0x32,0x35,0x36])||(_0x4e39a0=!0x1);}async function _0xbd800c(_0x56fb7b,_0x1e26cb,_0x3d2fbb){const _0x5d1b84=window[_0x3e8603([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e8603([0x66,0x72,0x6f,0x6d])](_0xb2e39b(_0x3d2fbb),_0x33fc2a=>_0x33fc2a[_0x3e8603([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x26790c=new window[(_0x3e8603([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e8603([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56fb7b+_0x3e8603([0x2e])+_0x1e26cb),_0x4972cc=window[_0x3e8603([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e8603([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4972cc)return;const _0x1fdce2=await _0x4972cc[_0x3e8603([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e8603([0x6a,0x77,0x6b]),_0x4c005a,{[_0x3e8603([0x6e,0x61,0x6d,0x65])]:_0x3e8603([0x45,0x43,0x44,0x53,0x41]),[_0x3e8603([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e8603([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e8603([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4972cc[_0x3e8603([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e8603([0x6e,0x61,0x6d,0x65])]:_0x3e8603([0x45,0x43,0x44,0x53,0x41]),[_0x3e8603([0x68,0x61,0x73,0x68])]:{[_0x3e8603([0x6e,0x61,0x6d,0x65])]:_0x3e8603([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fdce2,_0x5d1b84,_0x26790c)||(_0x4e39a0=!0x1);}}function _0x53ae9c(_0x4d33ec){return _0x4d33ec[_0x3e8603([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e8603([0x65,0x79]))?JSON[_0x3e8603([0x70,0x61,0x72,0x73,0x65])](_0xb2e39b(_0x4d33ec)):null;}function _0xb2e39b(_0x5a8a84){return window[_0x3e8603([0x61,0x74,0x6f,0x62])](_0x5a8a84[_0x3e8603([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e8603([0x2b]))[_0x3e8603([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e8603([0x2f])));}function _0x285a55(_0x4af291){let _0x4cc808=0x1505;function _0x497c01(_0x43323f){for(let _0x5e2c7e=0x0;_0x5e2c7e<_0x43323f[_0x3e8603([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e2c7e++){const _0x9760b5=_0x43323f[_0x3e8603([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e2c7e);_0x4cc808=(_0x4cc808<<0x5)+_0x4cc808+_0x9760b5,_0x4cc808&=_0x4cc808;}}function _0x3aaa04(_0x444c54){Array[_0x3e8603([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x444c54)?_0x444c54[_0x3e8603([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3aaa04):_0x444c54&&typeof _0x444c54==_0x3e8603([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e8603([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x444c54)[_0x3e8603([0x73,0x6f,0x72,0x74])]()[_0x3e8603([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb9ce0a,_0x325796])=>{_0x497c01(_0xb9ce0a),_0x3aaa04(_0x325796);}):_0x497c01(window[_0x3e8603([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x444c54));}return _0x3aaa04(_0x4af291),_0x4cc808>>>0x0;}function _0xc47cdd(_0x1cb759){return _0x1cb759[_0x3e8603([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e8603([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e8603([0x30]));}function _0x1e6fcc(_0x10f7e8){return _0x10f7e8[_0x3e8603([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e8603([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e8603([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e134e(){}function _0x3e8603(_0x7fc462){const _0x484b9a=_0x11bc;return _0x7fc462[_0x484b9a(0xe2)](_0x1bcbe7=>String[_0x484b9a(0xf2)](_0x1bcbe7))[_0x484b9a(0xf1)]('');}_0x4daec7(await _0x54c895());}(this);}[_0x35156a(0x112)](){const _0x5a06b2=_0x35156a,_0xf56b64=this[_0x5a06b2(0xe6)];if(!_0xf56b64[_0x5a06b2(0xf5)][_0x5a06b2(0x108)](_0x5a06b2(0x111)))return;const _0x4fad22=_0xf56b64[_0x5a06b2(0xf5)][_0x5a06b2(0x108)](_0x5a06b2(0xf6))[_0x5a06b2(0xe7)](_0x588882=>_0x5a06b2(0xf3)==typeof _0x588882&&(!_0x428d89(_0x588882)&&isNaN(Number(_0x588882))));if(_0x4fad22[_0x5a06b2(0xef)])throw new _0x1fba87(_0x5a06b2(0xed),null,{'namedPresets':_0x4fad22});}[_0x35156a(0x10c)](){const _0x113186=_0x35156a,_0x43d20b=this[_0x113186(0xe6)],_0x6ed932=this[_0x113186(0xe6)][_0x113186(0xf5)][_0x113186(0x108)](_0x113186(0xe4));_0x43d20b[_0x113186(0x10b)][_0x113186(0xde)](_0x113186(0x105))[_0x113186(0xeb)]({'model':{'key':_0x113186(0x10a)},'view':_0x24f395=>String(_0x24f395)===String(_0x6ed932)?null:{'key':_0x113186(0xfc),'value':{'line-height':_0x24f395}}}),_0x43d20b[_0x113186(0x10b)][_0x113186(0xde)](_0x113186(0xea))[_0x113186(0xeb)]({'model':{'key':_0x113186(0x10a),'value':_0x144ae0=>{const _0x19e535=_0x113186;let _0x4a7bb8=_0x144ae0[_0x19e535(0xf4)](_0x19e535(0xe8));return _0x9e977(_0x4a7bb8)&&(_0x4a7bb8=String(Number(_0x4a7bb8[_0x19e535(0xfb)](0x0,-0x1))/0x64)),String(_0x4a7bb8)===String(_0x6ed932)?null:_0x4a7bb8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x35156a(0x103)](){const _0x55cf7b=_0x35156a,_0x27adb7=this[_0x55cf7b(0xe6)],_0x7c1d4b=this[_0x55cf7b(0xe6)][_0x55cf7b(0xf5)][_0x55cf7b(0x108)](_0x55cf7b(0xe4)),_0x34a82e=_0x1fd829(this[_0x55cf7b(0xe6)][_0x55cf7b(0xf5)][_0x55cf7b(0x108)](_0x55cf7b(0x10a)))[_0x55cf7b(0xe7)](_0x3fcbb1=>_0x3fcbb1[_0x55cf7b(0xee)]),_0x291867=_0x5289e4(_0x55cf7b(0x10a),_0x34a82e);_0x27adb7[_0x55cf7b(0x10b)][_0x55cf7b(0xeb)](_0x291867),_0x27adb7[_0x55cf7b(0x10b)][_0x55cf7b(0xde)](_0x55cf7b(0xea))[_0x55cf7b(0xeb)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x55cf7b(0x10a),'value':_0x3a1294=>{const _0x1adb13=_0x55cf7b;let _0x3a162a=_0x3a1294[_0x1adb13(0xf4)](_0x1adb13(0xe8));return _0x9e977(_0x3a162a)&&(_0x3a162a=String(Number(_0x3a162a[_0x1adb13(0xfb)](0x0,-0x1))/0x64)),_0x3a162a===String(_0x7c1d4b)?null:_0x291867[_0x1adb13(0xee)][_0x1adb13(0x107)][_0x1adb13(0xfa)](_0x3a162a)?_0x3a162a:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x434e62}from'ckeditor5/src/core.js';import{addListToDropdown as _0x42ea8f,createDropdown as _0xd4998a,MenuBarMenuListItemButtonView as _0x220454,MenuBarMenuListItemView as _0x426235,MenuBarMenuListView as _0x2a24ca,MenuBarMenuView as _0x4f9c3e,UIModel as _0x4f471d}from'ckeditor5/src/ui.js';import{Collection as _0x5e46a1}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x54e6c3}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x164163}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x434e62{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b0b05={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5b0b05),this['_registerMenuBarComponent'](_0x5b0b05),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x461734=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x593795;for(const _0x2a2cbc in _0x461734){const _0x348b86=_0x2a2cbc,_0x294c2d=_0x461734[_0x348b86];if('lineHeightLicenseKeyValid'==_0x294c2d||'lineHeightLicenseKeyInvalid'==_0x294c2d||'lineHeightLicenseKeyExpired'==_0x294c2d||'lineHeightLicenseKeyDomainLimit'==_0x294c2d||'lineHeightLicenseKeyNotAllowed'==_0x294c2d||'lineHeightLicenseKeyEvaluationLimit'==_0x294c2d||'lineHeightLicenseKeyUsageLimit'==_0x294c2d){delete _0x461734[_0x348b86],_0x593795=_0x294c2d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x593795&&_0x461734['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x593795&&_0x461734['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x593795&&_0x461734['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x593795&&_0x461734['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x593795&&_0x461734['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x593795&&_0x461734['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4eabdb=this['editor'],t=_0x4eabdb['t'],_0x3ecacd=_0x4eabdb['config']['get']('lineHeight'),_0x52eca3={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x164163(_0x3ecacd)['map'](_0x44bd31=>{const _0x51e909=_0x52eca3[_0x44bd31['title']];return _0x51e909&&_0x51e909!=_0x44bd31['title']&&(_0x44bd31=Object['assign']({},_0x44bd31,{'title':_0x51e909})),_0x44bd31;});}['_prepareListOptions'](){const _0x123344=this['editor']['commands']['get']('lineHeight'),_0x3d686e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x250347=this['_getLocalizedLineHeightOptions'](),_0x32e8fc=new _0x5e46a1(),_0x5cc218=_0x67703b=>'default'===_0x67703b||String(_0x3d686e)===_0x67703b;for(const _0x15808f of _0x250347){const _0x53dc08={'type':'button','model':new _0x4f471d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x15808f['title'],'withText':!0x0})};_0x5cc218(_0x15808f['model'])?(_0x53dc08['model']['bind']('isOn')['to'](_0x123344,'value',_0x53dbee=>!_0x53dbee),_0x53dc08['model']['commandParam']=void 0x0):(_0x53dc08['model']['bind']('isOn')['to'](_0x123344,'value',_0x289600=>_0x289600===_0x15808f['model']),_0x53dc08['model']['commandParam']=_0x15808f['model']),_0x32e8fc['add'](_0x53dc08);}if(this['_shouldRenderCustomValueOption']()){const _0x37f6cf=this['_getCustomValueOptionDefinition'](_0x250347);_0x32e8fc['add'](_0x37f6cf);}return _0x32e8fc;}['_getCustomValueOptionDefinition'](_0x2e2abe){const _0x3e29de=this['editor'],t=_0x3e29de['t'],_0x346cee=_0x3e29de['commands']['get']('lineHeight'),_0x53da31=_0x2e2abe['map'](_0x100720=>_0x100720['model']),_0x45be8b={'type':'button','model':new _0x4f471d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x45be8b['model']['bind']('commandParam')['to'](_0x346cee,'value'),_0x45be8b['model']['bind']('isOn')['to'](_0x346cee,'value',_0x118518=>!!_0x118518&&!_0x53da31['includes'](String(_0x118518))),_0x45be8b['model']['bind']('label')['to'](_0x346cee,'value',_0x3fbbf9=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3fbbf9))),_0x45be8b;}['_registerToolbarComponent']({accessibleLabel:_0x4e92bd,options:_0x5b5bc4}){const _0x5d17e9=this['editor'],_0x1982ba=_0x5d17e9['commands']['get']('lineHeight');_0x5d17e9['ui']['componentFactory']['add']('lineHeight',_0x4c2997=>{const _0x840bda=_0xd4998a(_0x4c2997);return _0x42ea8f(_0x840bda,_0x5b5bc4,{'role':'menu','ariaLabel':_0x4e92bd}),_0x840bda['buttonView']['set']({'label':_0x4e92bd,'tooltip':!0x0,'icon':_0x54e6c3}),_0x840bda['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x840bda['bind']('isEnabled')['to'](_0x1982ba),this['listenTo'](_0x840bda,'execute',_0x58dd2b=>{_0x5d17e9['execute'](_0x58dd2b['source']['commandName'],{'value':_0x58dd2b['source']['commandParam']}),_0x5d17e9['editing']['view']['focus']();}),_0x840bda['once']('change:isOpen',()=>{const _0x12e47f=_0x840bda['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x840bda,_0x5b5bc4,_0x12e47f);}),_0x840bda;});}['_registerMenuBarComponent']({accessibleLabel:_0x76d52c,options:_0xb85180}){const _0x42cc67=this['editor'],_0x92a9cb=_0x42cc67['commands']['get']('lineHeight');_0x42cc67['ui']['componentFactory']['add']('menuBar:lineHeight',_0x367f8b=>{const _0x1f6bc7=new _0x4f9c3e(_0x367f8b);_0x1f6bc7['buttonView']['set']({'label':_0x76d52c,'icon':_0x54e6c3}),_0x1f6bc7['bind']('isEnabled')['to'](_0x92a9cb);const _0x58fa12=new _0x2a24ca(_0x367f8b);for(const _0x4e2868 of _0xb85180){const _0x26ae28=new _0x426235(_0x367f8b,_0x1f6bc7),_0xbbfdd1=new _0x220454(_0x367f8b);_0xbbfdd1['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xbbfdd1['bind'](...Object['keys'](_0x4e2868['model']))['to'](_0x4e2868['model']),_0xbbfdd1['delegate']('execute')['to'](_0x1f6bc7),_0xbbfdd1['on']('execute',()=>{_0x42cc67['execute'](_0x4e2868['model']['commandName'],{'value':_0x4e2868['model']['commandParam']}),_0x42cc67['editing']['view']['focus']();}),_0x26ae28['children']['add'](_0xbbfdd1),_0x58fa12['items']['add'](_0x26ae28);}return _0x1f6bc7['panelView']['children']['add'](_0x58fa12),this['_attachCustomOptionVisibilityHandler'](_0x1f6bc7,_0xb85180,_0x58fa12),_0x1f6bc7;});}['_attachCustomOptionVisibilityHandler'](_0x972b4,_0x485ee2,_0x1dd14d){if(!this['_shouldRenderCustomValueOption']())return;const _0x2231af=()=>{if(!_0x972b4['isOpen'])return;_0x1dd14d['items']['last']['isVisible']=Boolean(_0x485ee2['last']['model']['isOn']);};_0x2231af(),_0x972b4['on']('change:isOpen',()=>{_0x2231af();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4610d1,_0x38e763){const _0x4855cd=_0xa3cc,_0x436fb2=_0x4610d1();while(!![]){try{const _0x59c95a=-parseInt(_0x4855cd(0x164))/0x1*(parseInt(_0x4855cd(0x157))/0x2)+parseInt(_0x4855cd(0x155))/0x3*(-parseInt(_0x4855cd(0x154))/0x4)+parseInt(_0x4855cd(0x169))/0x5+-parseInt(_0x4855cd(0x167))/0x6*(-parseInt(_0x4855cd(0x165))/0x7)+-parseInt(_0x4855cd(0x15b))/0x8*(parseInt(_0x4855cd(0x16b))/0x9)+-parseInt(_0x4855cd(0x152))/0xa*(-parseInt(_0x4855cd(0x159))/0xb)+-parseInt(_0x4855cd(0x149))/0xc*(parseInt(_0x4855cd(0x163))/0xd);if(_0x59c95a===_0x38e763)break;else _0x436fb2['push'](_0x436fb2['shift']());}catch(_0x3a1bdc){_0x436fb2['push'](_0x436fb2['shift']());}}}(_0x71f9,0x3de80));const v={get 'single'(){const _0x6a8d34=_0xa3cc;return{'title':_0x6a8d34(0x15c),'model':_0x6a8d34(0x151),'view':{'key':_0x6a8d34(0x150),'value':_0x6a8d34(0x15a)}};},get 'double'(){const _0x44c994=_0xa3cc;return{'title':_0x44c994(0x14c),'model':_0x44c994(0x15d),'view':{'key':_0x44c994(0x150),'value':_0x44c994(0x147)}};}};export function isLineHeightDefaultValue(_0x4d0c86){const _0x3fccd2=_0xa3cc;return _0x3fccd2(0x15f)==typeof _0x4d0c86&&_0x3fccd2(0x156)===_0x4d0c86[_0x3fccd2(0x14e)]();}function _0x71f9(){const _0x42cf3e=['key','options','39jYNfDk','52xHMoRL','209867qcTQXy','value','72IYShpC','number','1021605ioxpsP','model','311598AgDRzC','line-height-double','span','1663932yzUCCV','style','line-height:','Double','map','toLowerCase','push','class','single','2234170uWtCwb','view','78168mfBPdK','45PUlDda','default','524tpioxw','defaultValue','22VOWmAN','line-height-single','8pRyKad','Single','double','filter','string','values'];_0x71f9=function(){return _0x42cf3e;};return _0x71f9();}function _0xa3cc(_0x370794,_0x40cf1e){const _0x71f9b9=_0x71f9();return _0xa3cc=function(_0xa3cce,_0x527690){_0xa3cce=_0xa3cce-0x147;let _0x43539b=_0x71f9b9[_0xa3cce];return _0x43539b;},_0xa3cc(_0x370794,_0x40cf1e);}export function normalizeOptions(_0x295640){const _0x1d47b2=_0xa3cc;return _0x295640[_0x1d47b2(0x162)][_0x1d47b2(0x14d)](_0x55198f=>isLineHeightDefaultValue(_0x55198f)?{'title':String(_0x295640[_0x1d47b2(0x158)]),'model':_0x1d47b2(0x156)}:(_0x1d47b2(0x168)==typeof _0x55198f&&(_0x55198f=String(_0x55198f)),_0x1d47b2(0x15f)!=typeof _0x55198f?_0x55198f:parseFloat(_0x55198f)?{'title':_0x55198f,'model':_0x55198f,'view':{'name':_0x1d47b2(0x148),'styles':{'line-height':_0x55198f}}}:findPreset(_0x55198f)))[_0x1d47b2(0x15e)](_0x2bf759=>void 0x0!==_0x2bf759);}export function findPreset(_0xb58a15){const _0x4f05af=_0xa3cc;return _0x4f05af(0x15f)==typeof _0xb58a15?v[_0xb58a15]:v[_0xb58a15[_0x4f05af(0x16a)]];}export function buildDefinition(_0x9b3fe3,_0x1ae545){const _0x24175b=_0xa3cc,_0x334b0e={'model':{'key':_0x9b3fe3,'values':[]},'view':{}};for(const _0x49dbaf of _0x1ae545)_0x24175b(0x150)===_0x49dbaf[_0x24175b(0x153)]?.[_0x24175b(0x161)]?(_0x334b0e[_0x24175b(0x16a)][_0x24175b(0x160)][_0x24175b(0x14f)](_0x49dbaf[_0x24175b(0x16a)]),_0x334b0e[_0x24175b(0x153)][_0x49dbaf[_0x24175b(0x16a)]]={'key':_0x24175b(0x150),'value':_0x49dbaf[_0x24175b(0x153)][_0x24175b(0x166)]}):(_0x334b0e[_0x24175b(0x16a)][_0x24175b(0x160)][_0x24175b(0x14f)](_0x49dbaf[_0x24175b(0x16a)]),_0x334b0e[_0x24175b(0x153)][_0x49dbaf[_0x24175b(0x16a)]]={'key':_0x24175b(0x14a),'value':_0x24175b(0x14b)+_0x49dbaf[_0x24175b(0x16a)]+';'});return _0x334b0e;}
|