@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251212.0 → 0.0.0-nightly-20251213.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
|
+
function _0xea9b(){const _0x4fb9e9=['isPremiumPlugin','37619504XYYrhr','1866MhNfVk','4683785EmItNJ','todo-list__label__description','get','element:li','item','add','match','pluginName','consume','325652KAnBSU','setStyle','todo','listType','viewItem','LineHeightTodoListIntegration','addClass','TodoListEditing','init','ListEditing','consumable','name','editor','registerDowncastStrategy','getAttribute','ck-list-marker-line-height','upcast','--ck-content-list-marker-line-height','for','2472916iEOouA','1067519bJtkYv','2072067mCYkoY','span','high','has','elementToElement','31745ATBcvx','lineHeight','isOfficialPlugin','paragraph'];_0xea9b=function(){return _0x4fb9e9;};return _0xea9b();}const _0x3172fb=_0x2f6f;(function(_0x5d7e8d,_0x3574da){const _0x1338b0=_0x2f6f,_0x599506=_0x5d7e8d();while(!![]){try{const _0x396254=parseInt(_0x1338b0(0x8f))/0x1+parseInt(_0x1338b0(0x8e))/0x2+parseInt(_0x1338b0(0x90))/0x3+parseInt(_0x1338b0(0xa5))/0x4+parseInt(_0x1338b0(0x9c))/0x5+-parseInt(_0x1338b0(0x9b))/0x6*(-parseInt(_0x1338b0(0x95))/0x7)+-parseInt(_0x1338b0(0x9a))/0x8;if(_0x396254===_0x3574da)break;else _0x599506['push'](_0x599506['shift']());}catch(_0x292f2a){_0x599506['push'](_0x599506['shift']());}}}(_0xea9b,0xaff8f));import{Plugin as _0x563aef}from'ckeditor5/src/core.js';function _0x2f6f(_0x56593a,_0x2b669b){const _0xea9bb0=_0xea9b();return _0x2f6f=function(_0x2f6ff6,_0x5b7350){_0x2f6ff6=_0x2f6ff6-0x8a;let _0x312326=_0xea9bb0[_0x2f6ff6];return _0x312326;},_0x2f6f(_0x56593a,_0x2b669b);}import{Matcher as _0x53977f}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x563aef{static get[_0x3172fb(0xa3)](){const _0x14372f=_0x3172fb;return _0x14372f(0xaa);}static get[_0x3172fb(0x97)](){return!0x0;}static get[_0x3172fb(0x99)](){return!0x0;}[_0x3172fb(0xad)](){const _0x14f99c=_0x3172fb,{plugins:_0x524228,conversion:_0xf18e5b}=this[_0x14f99c(0xb1)];if(!_0x524228[_0x14f99c(0x93)](_0x14f99c(0xae))||!_0x524228[_0x14f99c(0x93)](_0x14f99c(0xac)))return;_0x524228[_0x14f99c(0x9e)](_0x14f99c(0xae))[_0x14f99c(0xb2)]({'scope':_0x14f99c(0xa0),'attributeName':_0x14f99c(0x96),'consume':!0x1,'setAttributeOnDowncast'(_0x18cc27,_0x162a63,_0x1334d0,_0x4eb4f8,_0x31cbe4){const _0x5ce2ca=_0x14f99c;_0x5ce2ca(0xa7)==_0x31cbe4[_0x5ce2ca(0xb3)](_0x5ce2ca(0xa8))&&_0x162a63&&(_0x18cc27[_0x5ce2ca(0xab)](_0x5ce2ca(0x8a),_0x1334d0),_0x18cc27[_0x5ce2ca(0xa6)](_0x5ce2ca(0x8c),_0x162a63,_0x1334d0));}}),_0xf18e5b[_0x14f99c(0x8d)](_0x14f99c(0x8b))[_0x14f99c(0x94)]({'view':{'name':_0x14f99c(0x91),'classes':_0x14f99c(0x9d)},'model':_0x14f99c(0x98),'converterPriority':_0x14f99c(0x92)}),_0xf18e5b[_0x14f99c(0x8d)](_0x14f99c(0x8b))[_0x14f99c(0xa1)](_0x4098cc=>{const _0x37f582=_0x14f99c;_0x4098cc['on'](_0x37f582(0x9f),function(_0x5f4d8c){const _0x4ee375=new _0x53977f(_0x5f4d8c);return(_0x1688d8,_0x355ad5,_0x535fc7)=>{const _0x2cd5a0=_0x2f6f,_0x4a4f4b=_0x4ee375[_0x2cd5a0(0xa2)](_0x355ad5[_0x2cd5a0(0xa9)]);if(!_0x4a4f4b)return;const _0x2d3a47=_0x4a4f4b[_0x2cd5a0(0xa2)];_0x2d3a47[_0x2cd5a0(0xb0)]=!0x1,_0x535fc7[_0x2cd5a0(0xaf)][_0x2cd5a0(0xa4)](_0x355ad5[_0x2cd5a0(0xa9)],_0x2d3a47);};}({'name':'li','classes':_0x37f582(0x8a),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2ae32e=_0x9e28;(function(_0x2266af,_0x54190b){var _0x32d377=_0x9e28,_0xefd1a1=_0x2266af();while(!![]){try{var _0x3f3391=parseInt(_0x32d377(0xd9))/0x1+-parseInt(_0x32d377(0xd8))/0x2*(parseInt(_0x32d377(0xdf))/0x3)+parseInt(_0x32d377(0xd1))/0x4*(parseInt(_0x32d377(0xdd))/0x5)+-parseInt(_0x32d377(0xde))/0x6*(parseInt(_0x32d377(0xd7))/0x7)+parseInt(_0x32d377(0xdb))/0x8+-parseInt(_0x32d377(0xd6))/0x9*(parseInt(_0x32d377(0xd2))/0xa)+-parseInt(_0x32d377(0xd3))/0xb;if(_0x3f3391===_0x54190b)break;else _0xefd1a1['push'](_0xefd1a1['shift']());}catch(_0x4ec07d){_0xefd1a1['push'](_0xefd1a1['shift']());}}}(_0x44cf,0x89fb4));function _0x44cf(){var _0x26e4db=['9ouDtsP','14NsktLF','1490062ynmUZy','1012500zfehZK','isOfficialPlugin','5155968eEuTLi','isPremiumPlugin','9745YOsLgY','385566HrSLvr','3qHbSWK','pluginName','1228vqgRKI','1346610gReccA','7501483rksHkj','requires','LineHeight'];_0x44cf=function(){return _0x26e4db;};return _0x44cf();}import{Plugin as _0x24ea9a}from'ckeditor5/src/core.js';function _0x9e28(_0x236cb6,_0x2be30b){var _0x44cf9c=_0x44cf();return _0x9e28=function(_0x9e28f9,_0x106645){_0x9e28f9=_0x9e28f9-0xd0;var _0x40fd72=_0x44cf9c[_0x9e28f9];return _0x40fd72;},_0x9e28(_0x236cb6,_0x2be30b);}import{LineHeightEditing as _0x43e83e}from'./lineheightediting.js';import{LineHeightUI as _0x173b64}from'./lineheightui.js';export class LineHeight extends _0x24ea9a{static get[_0x2ae32e(0xd4)](){return[_0x43e83e,_0x173b64];}static get[_0x2ae32e(0xd0)](){var _0x230df2=_0x2ae32e;return _0x230df2(0xd5);}static get[_0x2ae32e(0xda)](){return!0x0;}static get[_0x2ae32e(0xdc)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5ad5(_0xe8303a,_0x4756b7){const _0x59213c=_0x5921();return _0x5ad5=function(_0x5ad53b,_0x4be110){_0x5ad53b=_0x5ad53b-0x18e;let _0x15c0b2=_0x59213c[_0x5ad53b];return _0x15c0b2;},_0x5ad5(_0xe8303a,_0x4756b7);}function _0x5921(){const _0x1570e3=['editor','lineHeight','221723QvXQnu','value','_canHaveLineHeight','document','model','selection','112RkLSyG','161098BEpFyY','48xOmNUj','filter','execute','from','2281456PyekvZ','setAttribute','refresh','2YyEHGu','281133SuOzMz','schema','checkAttribute','14019xFcrGk','getAttribute','1096870dtByBn','isEnabled','change','getSelectedBlocks','removeAttribute','749790QPedUq'];_0x5921=function(){return _0x1570e3;};return _0x5921();}const _0x50f905=_0x5ad5;(function(_0xabf963,_0x146dfd){const _0x246b41=_0x5ad5,_0x5085de=_0xabf963();while(!![]){try{const _0x2a8e53=parseInt(_0x246b41(0x18f))/0x1*(parseInt(_0x246b41(0x19e))/0x2)+-parseInt(_0x246b41(0x1a2))/0x3*(parseInt(_0x246b41(0x195))/0x4)+parseInt(_0x246b41(0x1a9))/0x5+parseInt(_0x246b41(0x197))/0x6*(parseInt(_0x246b41(0x196))/0x7)+-parseInt(_0x246b41(0x19b))/0x8+parseInt(_0x246b41(0x19f))/0x9+parseInt(_0x246b41(0x1a4))/0xa;if(_0x2a8e53===_0x146dfd)break;else _0x5085de['push'](_0x5085de['shift']());}catch(_0xa96c7a){_0x5085de['push'](_0x5085de['shift']());}}}(_0x5921,0x44873));import{Command as _0x243f53}from'ckeditor5/src/core.js';import{first as _0x40e6c4}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x243f53{[_0x50f905(0x19d)](){const _0x43dea2=_0x50f905,_0x518f98=this[_0x43dea2(0x1aa)][_0x43dea2(0x193)][_0x43dea2(0x192)],_0xf430be=_0x40e6c4(_0x518f98[_0x43dea2(0x194)][_0x43dea2(0x1a7)]());this[_0x43dea2(0x1a5)]=Boolean(_0xf430be)&&this[_0x43dea2(0x191)](_0xf430be),this[_0x43dea2(0x190)]=this[_0x43dea2(0x1a5)]&&_0xf430be[_0x43dea2(0x1a3)](_0x43dea2(0x18e));}[_0x50f905(0x199)](_0x4fb679={}){const _0x5de898=_0x50f905,_0x277b2b=this[_0x5de898(0x1aa)][_0x5de898(0x193)],_0x1250dc=_0x277b2b[_0x5de898(0x192)][_0x5de898(0x194)],_0x435a12=_0x4fb679[_0x5de898(0x190)];_0x277b2b[_0x5de898(0x1a6)](_0x1ce003=>{const _0x580fb0=_0x5de898,_0x169cea=Array[_0x580fb0(0x19a)](_0x1250dc[_0x580fb0(0x1a7)]())[_0x580fb0(0x198)](_0x22730c=>this[_0x580fb0(0x191)](_0x22730c));for(const _0x5a6d0b of _0x169cea)_0x435a12?_0x1ce003[_0x580fb0(0x19c)](_0x580fb0(0x18e),_0x435a12,_0x5a6d0b):_0x1ce003[_0x580fb0(0x1a8)](_0x580fb0(0x18e),_0x5a6d0b);});}[_0x50f905(0x191)](_0x261d49){const _0x208b59=_0x50f905;return this[_0x208b59(0x1aa)][_0x208b59(0x193)][_0x208b59(0x1a0)][_0x208b59(0x1a1)](_0x261d49,_0x208b59(0x18e));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5bb4(_0x59b264,_0x4d1009){const _0x3506de=_0x3506();return _0x5bb4=function(_0x5bb412,_0x90879f){_0x5bb412=_0x5bb412-0x1df;let _0x309c81=_0x3506de[_0x5bb412];return _0x309c81;},_0x5bb4(_0x59b264,_0x4d1009);}function _0x3506(){const _0x39cc71=['config','12BnLytF','_prepareAnyValueConverters','1042872aGrJaX','lineHeight.supportAllValues','requires','commands','schema','get','style','1296565wZEYWE','includes','init','for','$block','110427LymgyX','string','_validateConfig','_preparePredefinedConverters','afterInit','line-height-invalid-use-of-named-presets','getStyle','1371822vrDpCB','lineHeight.options','values','134498JIGWuV','map','LineHeightEditing','pluginName','define','join','line-height','fromCharCode','isPremiumPlugin','lineHeight.defaultValue','extend','add','setAttributeProperties','default','model','editor','length','slice','conversion','filter','47456gZVWan','downcast','upcast','isOfficialPlugin','attributeToAttribute','lineHeight','href','41914DviJCB'];_0x3506=function(){return _0x39cc71;};return _0x3506();}const _0x3f2b47=_0x5bb4;(function(_0x5ff1fd,_0x250504){const _0x1a0018=_0x5bb4,_0x29129d=_0x5ff1fd();while(!![]){try{const _0x14f82f=parseInt(_0x1a0018(0x204))/0x1+parseInt(_0x1a0018(0x1fd))/0x2+-parseInt(_0x1a0018(0x1df))/0x3*(parseInt(_0x1a0018(0x206))/0x4)+parseInt(_0x1a0018(0x20f))/0x5+-parseInt(_0x1a0018(0x1e6))/0x6+parseInt(_0x1a0018(0x1e9))/0x7+parseInt(_0x1a0018(0x208))/0x8;if(_0x14f82f===_0x250504)break;else _0x29129d['push'](_0x29129d['shift']());}catch(_0x1d19f8){_0x29129d['push'](_0x29129d['shift']());}}}(_0x3506,0x21128));import{Plugin as _0x235373}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x509926}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1f250d}from'ckeditor5/src/engine.js';import{uid as _0x1795c9,CKEditorError as _0x3b4b9e}from'ckeditor5/src/utils.js';import{buildDefinition as _0x7490ad,isLineHeightDefaultValue as _0x404143,normalizeOptions as _0x19a7b4}from'./utils.js';import{LineHeightTodoListIntegration as _0x12fc1e}from'./integrations/todolist.js';export class LineHeightEditing extends _0x235373{static get[_0x3f2b47(0x1ec)](){const _0x247f1f=_0x3f2b47;return _0x247f1f(0x1eb);}static get[_0x3f2b47(0x20a)](){return[_0x12fc1e];}static get[_0x3f2b47(0x200)](){return!0x0;}static get[_0x3f2b47(0x1f1)](){return!0x0;}constructor(_0x4acec3){const _0xba7cdf=_0x3f2b47;super(_0x4acec3),_0x4acec3[_0xba7cdf(0x205)][_0xba7cdf(0x1ed)](_0xba7cdf(0x202),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xba7cdf(0x1f6),0x2,2.5,0x3]});}[_0x3f2b47(0x211)](){const _0x5d9d27=_0x3f2b47,_0x27e811=this[_0x5d9d27(0x1f8)];this[_0x5d9d27(0x1e1)](),_0x27e811[_0x5d9d27(0x1f7)][_0x5d9d27(0x20c)][_0x5d9d27(0x1f3)](_0x5d9d27(0x213),{'allowAttributes':_0x5d9d27(0x202)}),_0x27e811[_0x5d9d27(0x1f7)][_0x5d9d27(0x20c)][_0x5d9d27(0x1f5)](_0x5d9d27(0x202),{'isFormatting':!0x0}),_0x27e811[_0x5d9d27(0x20b)][_0x5d9d27(0x1f4)](_0x5d9d27(0x202),new _0x509926(_0x27e811)),this[_0x5d9d27(0x1f8)][_0x5d9d27(0x205)][_0x5d9d27(0x20d)](_0x5d9d27(0x209))?this[_0x5d9d27(0x207)]():this[_0x5d9d27(0x1e2)]();}[_0x3f2b47(0x1e3)](){!async function(_0x24f2ad){const _0x23279e=_0x553caf([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]),_0x30551a=0x45ddd215,_0x30d8b8=0x45daa9a5^_0x30551a,_0x1b80cb=window[_0x553caf([0x44,0x61,0x74,0x65])][_0x553caf([0x6e,0x6f,0x77])](),_0x127459=_0x24f2ad[_0x553caf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bb07b=new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3388d6=>{_0x127459[_0x553caf([0x6f,0x6e,0x63,0x65])](_0x553caf([0x72,0x65,0x61,0x64,0x79]),_0x3388d6);}),_0x2ea275={[_0x553caf([0x6b,0x74,0x79])]:_0x553caf([0x45,0x43]),[_0x553caf([0x75,0x73,0x65])]:_0x553caf([0x73,0x69,0x67]),[_0x553caf([0x63,0x72,0x76])]:_0x553caf([0x50,0x2d,0x32,0x35,0x36]),[_0x553caf([0x78])]:_0x553caf([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]),[_0x553caf([0x79])]:_0x553caf([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]),[_0x553caf([0x61,0x6c,0x67])]:_0x553caf([0x45,0x53,0x32,0x35,0x36])},_0x2fc28e=_0x127459[_0x553caf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x553caf([0x67,0x65,0x74])](_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ac6c1(){let _0x18eed2,_0x5c50a6=null,_0x3ea0c9=null;try{if(_0x2fc28e==_0x553caf([0x47,0x50,0x4c]))return _0x553caf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x18eed2=_0x45ace2(),!_0x18eed2)return _0x553caf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x18eed2[_0x553caf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ea0c9=_0xdf2e9d(_0x18eed2[_0x553caf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x18eed2[_0x553caf([0x6a,0x74,0x69])])),await _0x4fbb36()?_0x567d1e()?_0x35a0d9()?_0x553caf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x573ef4()?(_0x18eed2[_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x553caf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c50a6=_0x50980f(_0x553caf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x18eed2[_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x553caf([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c50a6=_0x50980f(_0x553caf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x544436()):_0x553caf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x553caf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x553caf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x553caf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35a0d9(){const _0x487583=[_0x553caf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x553caf([0x74,0x72,0x69,0x61,0x6c])][_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18eed2[_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b80cb/0x3e8:0xe10*_0x30d8b8;return _0x18eed2[_0x553caf([0x65,0x78,0x70])]<_0x487583;}function _0x567d1e(){const _0x3de991=_0x18eed2[_0x553caf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3de991&&(!!_0x3de991[_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553caf([0x2a]))||!!_0x3de991[_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553caf([0x4c,0x48])));}function _0x573ef4(){const _0x1e6474=_0x5bb4,_0x5d134f=_0x18eed2[_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d134f||0x0==_0x5d134f[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28d303}=new URL(window[_0x553caf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e6474(0x203)]);if(_0x5d134f[_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28d303))return!0x0;const _0x38bbfa=_0x28d303[_0x553caf([0x73,0x70,0x6c,0x69,0x74])](_0x553caf([0x2e]));return _0x5d134f[_0x553caf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9074c=>_0x9074c[_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553caf([0x2a])))[_0x553caf([0x6d,0x61,0x70])](_0xd75d8f=>_0xd75d8f[_0x553caf([0x73,0x70,0x6c,0x69,0x74])](_0x553caf([0x2e])))[_0x553caf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x490a1c=>_0x490a1c[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38bbfa[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x553caf([0x6d,0x61,0x70])](_0x5ee032=>Array(_0x38bbfa[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ee032[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x553caf([0x66,0x69,0x6c,0x6c])](_0x5ee032[0x0]===_0x553caf([0x2a])?_0x553caf([0x2a]):'')[_0x553caf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ee032))[_0x553caf([0x73,0x6f,0x6d,0x65])](_0x34a5ae=>_0x38bbfa[_0x553caf([0x65,0x76,0x65,0x72,0x79])]((_0xf904a1,_0x927d69)=>_0x34a5ae[_0x927d69]===_0xf904a1||_0x34a5ae[_0x927d69]===_0x553caf([0x2a])));}function _0x544436(){return _0x5c50a6&&_0x3ea0c9?new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfd10f8,_0x32f5c2)=>{_0x5c50a6[_0x553caf([0x74,0x68,0x65,0x6e])](_0xfd10f8,_0x32f5c2),_0x3ea0c9[_0x553caf([0x74,0x68,0x65,0x6e])](_0x21f1df=>{_0x21f1df!=_0x553caf([0x56,0x61,0x6c,0x69,0x64])&&_0xfd10f8(_0x21f1df);},_0x32f5c2);}):_0x5c50a6||_0x3ea0c9||_0x553caf([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdf2e9d(_0x36c786,_0x3572cc){return new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x255996=>{if(_0x2d669b())return _0x255996(_0x553caf([0x56,0x61,0x6c,0x69,0x64]));_0x180365(),_0x127459[_0x553caf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x553caf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e06c4=!0x1;const _0x560134=_0x1795c9();function _0x737598(_0x2fb45a){return!!_0x2fb45a&&(typeof _0x2fb45a===_0x553caf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fb45a===_0x553caf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fb45a[_0x553caf([0x74,0x68,0x65,0x6e])]===_0x553caf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fb45a[_0x553caf([0x63,0x61,0x74,0x63,0x68])]===_0x553caf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37d08d(_0x102971){_0x4aef97(_0x102971)[_0x553caf([0x74,0x68,0x65,0x6e])](_0x2906f5=>{if(!_0x2906f5||_0x2906f5[_0x553caf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x553caf([0x6f,0x6b]))return _0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ad0ba(_0x2e575c(_0x560134+_0x3572cc))!=_0x2906f5[_0x553caf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x553caf([0x56,0x61,0x6c,0x69,0x64]);})[_0x553caf([0x74,0x68,0x65,0x6e])](_0x5a1760=>(_0x55a5ee(),_0x5a1760),()=>{const _0x27b1c8=_0x3d1454();return null==_0x27b1c8?(_0x55a5ee(),_0x553caf([0x56,0x61,0x6c,0x69,0x64])):_0x553caf(_0x1b80cb-_0x27b1c8>(0x61d15615^_0x30551a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x553caf([0x74,0x68,0x65,0x6e])](_0x255996)[_0x553caf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x255996(_0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19efbb=0x45eb3c95^_0x30551a;function _0x55a5ee(){const _0x4b6d6f=_0x553caf([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ad0ba(_0x2e575c(_0x36c786)),_0x42ec60=_0x4a1bd4(_0x4ad0ba(window[_0x553caf([0x4d,0x61,0x74,0x68])][_0x553caf([0x63,0x65,0x69,0x6c])](_0x1b80cb/_0x19efbb)));window[_0x553caf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x553caf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b6d6f,_0x42ec60);}function _0x3d1454(){const _0x178250=_0x553caf([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ad0ba(_0x2e575c(_0x36c786)),_0x55cc68=window[_0x553caf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x553caf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x178250);return _0x55cc68?window[_0x553caf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a1bd4(_0x55cc68),0x10)*_0x19efbb:null;}function _0x4aef97(_0x176efc){return new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20c3dd,_0x40821b)=>{_0x176efc[_0x553caf([0x74,0x68,0x65,0x6e])](_0x20c3dd,_0x40821b),window[_0x553caf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40821b,0x45dc06d5^_0x30551a);});}}_0x127459[_0x553caf([0x6f,0x6e])](_0x553caf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21b83d,_0x2aae29)=>{if(_0x2aae29[0x0]!=_0x36c786)return _0x255996(_0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2aae29[0x1]={..._0x2aae29[0x1],[_0x553caf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x560134};},{[_0x553caf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x553caf([0x68,0x69,0x67,0x68])}),_0x127459[_0x553caf([0x6f,0x6e])](_0x553caf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a230=>{_0x737598(_0x19a230[_0x553caf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e06c4=!0x0,_0x37d08d(_0x19a230[_0x553caf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x553caf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x553caf([0x6c,0x6f,0x77])}),_0x2bb07b[_0x553caf([0x74,0x68,0x65,0x6e])](()=>{_0x1e06c4||_0x255996(_0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d669b(){return _0x127459[_0x553caf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x553caf([0x76,0x69,0x65,0x77])][_0x553caf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x553caf([0x61,0x75,0x74,0x6f]);}function _0x180365(){_0x127459[_0x553caf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x553caf([0x76,0x69,0x65,0x77])][_0x553caf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x553caf([0x61,0x75,0x74,0x6f]);}}function _0x50980f(_0x246b74){const _0x3fe556=[new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21cc84=>setTimeout(_0x21cc84,0x45d4ecd9^_0x30551a)),_0x2bb07b[_0x553caf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e20f=>{let _0x3d0819=0x0;_0x127459[_0x553caf([0x6d,0x6f,0x64,0x65,0x6c])][_0x553caf([0x6f,0x6e])](_0x553caf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x590ae5,_0x5eca68)=>{_0x5eca68[0x0][_0x553caf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d0819++,_0x3d0819==(0x45ddd3ed^_0x30551a)&&(_0x51e20f(),_0x590ae5[_0x553caf([0x6f,0x66,0x66])]());});}))];return window[_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x553caf([0x72,0x61,0x63,0x65])](_0x3fe556)[_0x553caf([0x74,0x68,0x65,0x6e])](()=>_0x246b74);}async function _0x125969(){await _0x2bb07b,_0x127459[_0x553caf([0x6d,0x6f,0x64,0x65,0x6c])][_0x553caf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d56cc,_0x127459[_0x553caf([0x6d,0x6f,0x64,0x65,0x6c])][_0x553caf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d56cc,_0x127459[_0x553caf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x553caf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19c160(_0x1de8db){const _0x3d4760=_0x213f43();_0x127459[_0x3d4760]=_0x553caf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1de8db,_0x1de8db!=_0x553caf([0x56,0x61,0x6c,0x69,0x64])&&_0x125969();}function _0x213f43(){const _0x1d3304=window[_0x553caf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x553caf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x553caf([0x6e,0x6f,0x77])]())[_0x553caf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x553caf([0x2e]),'');let _0x15b293=_0x553caf([0x50]);for(let _0x277b68=0x0;_0x277b68<_0x1d3304[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x277b68+=0x2){let _0x254045=window[_0x553caf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d3304[_0x553caf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x277b68,_0x277b68+0x2));_0x254045>=_0x23279e[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x254045-=_0x23279e[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15b293+=_0x23279e[_0x254045];}return _0x15b293;}function _0x45ace2(){const _0x451c4f=_0x2fc28e[_0x553caf([0x73,0x70,0x6c,0x69,0x74])](_0x553caf([0x2e]));if(0x3!=_0x451c4f[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9d02a2(_0x451c4f[0x1]);function _0x9d02a2(_0x223922){const _0x444cf3=_0x327c1b(_0x223922);return _0x444cf3&&_0x366043()?_0x444cf3:null;function _0x366043(){const _0x47c153=_0x444cf3[_0x553caf([0x6a,0x74,0x69])],_0x26200f=window[_0x553caf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47c153[_0x553caf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47c153[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30e237={..._0x444cf3,[_0x553caf([0x6a,0x74,0x69])]:_0x47c153[_0x553caf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47c153[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30e237[_0x553caf([0x76,0x63])],_0x2e575c(_0x30e237)==_0x26200f;}}}async function _0x4fbb36(){let _0x4b2f6e=!0x0;try{const _0x2f651e=_0x2fc28e[_0x553caf([0x73,0x70,0x6c,0x69,0x74])](_0x553caf([0x2e])),[_0x2a7bde,_0x382bbf,_0x2f4b8b]=_0x2f651e;return _0x4aeb9b(_0x2a7bde),await _0x1eca08(_0x2a7bde,_0x382bbf,_0x2f4b8b),_0x4b2f6e;}catch{return!0x1;}function _0x4aeb9b(_0x2d3eba){const _0x6c09a2=_0x327c1b(_0x2d3eba);_0x6c09a2&&_0x6c09a2[_0x553caf([0x61,0x6c,0x67])]==_0x553caf([0x45,0x53,0x32,0x35,0x36])||(_0x4b2f6e=!0x1);}async function _0x1eca08(_0x27d232,_0x327fd9,_0xe02cca){const _0x477fae=window[_0x553caf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x553caf([0x66,0x72,0x6f,0x6d])](_0x35557b(_0xe02cca),_0x3bea30=>_0x3bea30[_0x553caf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xda8a7f=new window[(_0x553caf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x553caf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27d232+_0x553caf([0x2e])+_0x327fd9),_0x4d4a1e=window[_0x553caf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x553caf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d4a1e)return;const _0x22036f=await _0x4d4a1e[_0x553caf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x553caf([0x6a,0x77,0x6b]),_0x2ea275,{[_0x553caf([0x6e,0x61,0x6d,0x65])]:_0x553caf([0x45,0x43,0x44,0x53,0x41]),[_0x553caf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x553caf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x553caf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d4a1e[_0x553caf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x553caf([0x6e,0x61,0x6d,0x65])]:_0x553caf([0x45,0x43,0x44,0x53,0x41]),[_0x553caf([0x68,0x61,0x73,0x68])]:{[_0x553caf([0x6e,0x61,0x6d,0x65])]:_0x553caf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22036f,_0x477fae,_0xda8a7f)||(_0x4b2f6e=!0x1);}}function _0x327c1b(_0x5efd29){return _0x5efd29[_0x553caf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x553caf([0x65,0x79]))?JSON[_0x553caf([0x70,0x61,0x72,0x73,0x65])](_0x35557b(_0x5efd29)):null;}function _0x35557b(_0xf31432){return window[_0x553caf([0x61,0x74,0x6f,0x62])](_0xf31432[_0x553caf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x553caf([0x2b]))[_0x553caf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x553caf([0x2f])));}function _0x2e575c(_0x14445c){let _0x14c914=0x1505;function _0x229bee(_0x1e7c29){for(let _0xafb7aa=0x0;_0xafb7aa<_0x1e7c29[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xafb7aa++){const _0x414bee=_0x1e7c29[_0x553caf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xafb7aa);_0x14c914=(_0x14c914<<0x5)+_0x14c914+_0x414bee,_0x14c914&=_0x14c914;}}function _0x192340(_0x1a5be3){Array[_0x553caf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a5be3)?_0x1a5be3[_0x553caf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x192340):_0x1a5be3&&typeof _0x1a5be3==_0x553caf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x553caf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a5be3)[_0x553caf([0x73,0x6f,0x72,0x74])]()[_0x553caf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31efa4,_0x20c3d5])=>{_0x229bee(_0x31efa4),_0x192340(_0x20c3d5);}):_0x229bee(window[_0x553caf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a5be3));}return _0x192340(_0x14445c),_0x14c914>>>0x0;}function _0x4ad0ba(_0x25c459){return _0x25c459[_0x553caf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x553caf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x553caf([0x30]));}function _0x4a1bd4(_0x419a4a){return _0x419a4a[_0x553caf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x553caf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x553caf([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d56cc(){}function _0x553caf(_0x5049fd){const _0x132d15=_0x5bb4;return _0x5049fd[_0x132d15(0x1ea)](_0x49a61f=>String[_0x132d15(0x1f0)](_0x49a61f))[_0x132d15(0x1ee)]('');}_0x19c160(await _0x1ac6c1());}(this);}[_0x3f2b47(0x1e1)](){const _0x4f71e6=_0x3f2b47,_0x4c1cb3=this[_0x4f71e6(0x1f8)];if(!_0x4c1cb3[_0x4f71e6(0x205)][_0x4f71e6(0x20d)](_0x4f71e6(0x209)))return;const _0x53c135=_0x4c1cb3[_0x4f71e6(0x205)][_0x4f71e6(0x20d)](_0x4f71e6(0x1e7))[_0x4f71e6(0x1fc)](_0x38c6da=>_0x4f71e6(0x1e0)==typeof _0x38c6da&&(!_0x404143(_0x38c6da)&&isNaN(Number(_0x38c6da))));if(_0x53c135[_0x4f71e6(0x1f9)])throw new _0x3b4b9e(_0x4f71e6(0x1e4),null,{'namedPresets':_0x53c135});}[_0x3f2b47(0x207)](){const _0xe4921=_0x3f2b47,_0x575872=this[_0xe4921(0x1f8)],_0x5f2d42=this[_0xe4921(0x1f8)][_0xe4921(0x205)][_0xe4921(0x20d)](_0xe4921(0x1f2));_0x575872[_0xe4921(0x1fb)][_0xe4921(0x212)](_0xe4921(0x1fe))[_0xe4921(0x201)]({'model':{'key':_0xe4921(0x202)},'view':_0xf9d001=>String(_0xf9d001)===String(_0x5f2d42)?null:{'key':_0xe4921(0x20e),'value':{'line-height':_0xf9d001}}}),_0x575872[_0xe4921(0x1fb)][_0xe4921(0x212)](_0xe4921(0x1ff))[_0xe4921(0x201)]({'model':{'key':_0xe4921(0x202),'value':_0x390321=>{const _0x27e1b1=_0xe4921;let _0x1266f4=_0x390321[_0x27e1b1(0x1e5)](_0x27e1b1(0x1ef));return _0x1f250d(_0x1266f4)&&(_0x1266f4=String(Number(_0x1266f4[_0x27e1b1(0x1fa)](0x0,-0x1))/0x64)),String(_0x1266f4)===String(_0x5f2d42)?null:_0x1266f4;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3f2b47(0x1e2)](){const _0x570e57=_0x3f2b47,_0xaa2934=this[_0x570e57(0x1f8)],_0x477043=this[_0x570e57(0x1f8)][_0x570e57(0x205)][_0x570e57(0x20d)](_0x570e57(0x1f2)),_0x55ffa8=_0x19a7b4(this[_0x570e57(0x1f8)][_0x570e57(0x205)][_0x570e57(0x20d)](_0x570e57(0x202)))[_0x570e57(0x1fc)](_0x1615b4=>_0x1615b4[_0x570e57(0x1f7)]),_0x3c4853=_0x7490ad(_0x570e57(0x202),_0x55ffa8);_0xaa2934[_0x570e57(0x1fb)][_0x570e57(0x201)](_0x3c4853),_0xaa2934[_0x570e57(0x1fb)][_0x570e57(0x212)](_0x570e57(0x1ff))[_0x570e57(0x201)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x570e57(0x202),'value':_0x1dcbd4=>{const _0x98f599=_0x570e57;let _0x40d7b0=_0x1dcbd4[_0x98f599(0x1e5)](_0x98f599(0x1ef));return _0x1f250d(_0x40d7b0)&&(_0x40d7b0=String(Number(_0x40d7b0[_0x98f599(0x1fa)](0x0,-0x1))/0x64)),_0x40d7b0===String(_0x477043)?null:_0x3c4853[_0x98f599(0x1f7)][_0x98f599(0x1e8)][_0x98f599(0x210)](_0x40d7b0)?_0x40d7b0:null;}}});}}
|
|
23
|
+
const _0x3c2c5f=_0x1ce4;(function(_0x41e4c5,_0x4d82aa){const _0x286ff7=_0x1ce4,_0x227e71=_0x41e4c5();while(!![]){try{const _0x24b192=-parseInt(_0x286ff7(0x1a0))/0x1*(-parseInt(_0x286ff7(0x194))/0x2)+parseInt(_0x286ff7(0x1b3))/0x3*(parseInt(_0x286ff7(0x1b0))/0x4)+parseInt(_0x286ff7(0x18f))/0x5*(-parseInt(_0x286ff7(0x198))/0x6)+parseInt(_0x286ff7(0x1a1))/0x7+-parseInt(_0x286ff7(0x1ae))/0x8+parseInt(_0x286ff7(0x192))/0x9+-parseInt(_0x286ff7(0x197))/0xa;if(_0x24b192===_0x4d82aa)break;else _0x227e71['push'](_0x227e71['shift']());}catch(_0x440aa7){_0x227e71['push'](_0x227e71['shift']());}}}(_0xa065,0x96c25));import{Plugin as _0x347725}from'ckeditor5/src/core.js';function _0xa065(){const _0x541bcb=['7030142XAIDdf','attributeToAttribute','afterInit','editor','line-height-invalid-use-of-named-presets','fromCharCode','config','lineHeight.supportAllValues','lineHeight.options','lineHeight.defaultValue','downcast','setAttributeProperties','line-height','9670008yhaXBW','style','114140ZdHHgS','upcast','for','39EMofyQ','define','commands','pluginName','_prepareAnyValueConverters','requires','isPremiumPlugin','filter','slice','string','_preparePredefinedConverters','includes','extend','default','getStyle','get','length','href','LineHeightEditing','40uSTYfa','map','_validateConfig','3862332xVeTVA','conversion','2FQSaYM','join','schema','4191800EBXBjp','211974FVpuhI','isOfficialPlugin','lineHeight','model','values','$block','init','add','723663unSBwE'];_0xa065=function(){return _0x541bcb;};return _0xa065();}function _0x1ce4(_0x39acfa,_0x34507c){const _0xa06576=_0xa065();return _0x1ce4=function(_0x1ce4d7,_0x46d602){_0x1ce4d7=_0x1ce4d7-0x18d;let _0x1d4be0=_0xa06576[_0x1ce4d7];return _0x1d4be0;},_0x1ce4(_0x39acfa,_0x34507c);}import{LineHeightCommand as _0x3c9f62}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x53ee60}from'ckeditor5/src/engine.js';import{uid as _0x4bfbe6,CKEditorError as _0x490d0c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5e4316,isLineHeightDefaultValue as _0x34861a,normalizeOptions as _0x3fbc4b}from'./utils.js';import{LineHeightTodoListIntegration as _0x432a24}from'./integrations/todolist.js';export class LineHeightEditing extends _0x347725{static get[_0x3c2c5f(0x1b6)](){const _0x34b96c=_0x3c2c5f;return _0x34b96c(0x18e);}static get[_0x3c2c5f(0x1b8)](){return[_0x432a24];}static get[_0x3c2c5f(0x199)](){return!0x0;}static get[_0x3c2c5f(0x1b9)](){return!0x0;}constructor(_0x518cd1){const _0x108a9c=_0x3c2c5f;super(_0x518cd1),_0x518cd1[_0x108a9c(0x1a7)][_0x108a9c(0x1b4)](_0x108a9c(0x19a),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x108a9c(0x1c0),0x2,2.5,0x3]});}[_0x3c2c5f(0x19e)](){const _0x303bc3=_0x3c2c5f,_0x208c13=this[_0x303bc3(0x1a4)];this[_0x303bc3(0x191)](),_0x208c13[_0x303bc3(0x19b)][_0x303bc3(0x196)][_0x303bc3(0x1bf)](_0x303bc3(0x19d),{'allowAttributes':_0x303bc3(0x19a)}),_0x208c13[_0x303bc3(0x19b)][_0x303bc3(0x196)][_0x303bc3(0x1ac)](_0x303bc3(0x19a),{'isFormatting':!0x0}),_0x208c13[_0x303bc3(0x1b5)][_0x303bc3(0x19f)](_0x303bc3(0x19a),new _0x3c9f62(_0x208c13)),this[_0x303bc3(0x1a4)][_0x303bc3(0x1a7)][_0x303bc3(0x1c2)](_0x303bc3(0x1a8))?this[_0x303bc3(0x1b7)]():this[_0x303bc3(0x1bd)]();}[_0x3c2c5f(0x1a3)](){!async function(_0x3bcc1a){const _0x7239c2=_0x2b70dd([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]),_0x26199d=0x45ddd215,_0x17a47c=0x45daa9dd^_0x26199d,_0x5822fd=window[_0x2b70dd([0x44,0x61,0x74,0x65])][_0x2b70dd([0x6e,0x6f,0x77])](),_0x527326=_0x3bcc1a[_0x2b70dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43cb1f=new window[(_0x2b70dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xff5fc=>{_0x527326[_0x2b70dd([0x6f,0x6e,0x63,0x65])](_0x2b70dd([0x72,0x65,0x61,0x64,0x79]),_0xff5fc);}),_0x539f52={[_0x2b70dd([0x6b,0x74,0x79])]:_0x2b70dd([0x45,0x43]),[_0x2b70dd([0x75,0x73,0x65])]:_0x2b70dd([0x73,0x69,0x67]),[_0x2b70dd([0x63,0x72,0x76])]:_0x2b70dd([0x50,0x2d,0x32,0x35,0x36]),[_0x2b70dd([0x78])]:_0x2b70dd([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]),[_0x2b70dd([0x79])]:_0x2b70dd([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]),[_0x2b70dd([0x61,0x6c,0x67])]:_0x2b70dd([0x45,0x53,0x32,0x35,0x36])},_0x22bb0f=_0x527326[_0x2b70dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b70dd([0x67,0x65,0x74])](_0x2b70dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x306d4c(){let _0x11fc52,_0x16fda8=null,_0x584b3b=null;try{if(_0x22bb0f==_0x2b70dd([0x47,0x50,0x4c]))return _0x2b70dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11fc52=_0x28b1f(),!_0x11fc52)return _0x2b70dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11fc52[_0x2b70dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x584b3b=_0x594e1c(_0x11fc52[_0x2b70dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11fc52[_0x2b70dd([0x6a,0x74,0x69])])),await _0x73def()?_0x214592()?_0x79be74()?_0x2b70dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fa321()?(_0x11fc52[_0x2b70dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b70dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16fda8=_0x2b26d7(_0x2b70dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11fc52[_0x2b70dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b70dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x16fda8=_0x2b26d7(_0x2b70dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c9633()):_0x2b70dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b70dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b70dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b70dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x79be74(){const _0x34cb87=[_0x2b70dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b70dd([0x74,0x72,0x69,0x61,0x6c])][_0x2b70dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11fc52[_0x2b70dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5822fd/0x3e8:0xe10*_0x17a47c;return _0x11fc52[_0x2b70dd([0x65,0x78,0x70])]<_0x34cb87;}function _0x214592(){const _0x28a364=_0x11fc52[_0x2b70dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28a364&&(!!_0x28a364[_0x2b70dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b70dd([0x2a]))||!!_0x28a364[_0x2b70dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b70dd([0x4c,0x48])));}function _0x2fa321(){const _0x4c688c=_0x1ce4,_0x2d531c=_0x11fc52[_0x2b70dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d531c||0x0==_0x2d531c[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xca0ac7}=new URL(window[_0x2b70dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4c688c(0x18d)]);if(_0x2d531c[_0x2b70dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xca0ac7))return!0x0;const _0x307f47=_0xca0ac7[_0x2b70dd([0x73,0x70,0x6c,0x69,0x74])](_0x2b70dd([0x2e]));return _0x2d531c[_0x2b70dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49fcdd=>_0x49fcdd[_0x2b70dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b70dd([0x2a])))[_0x2b70dd([0x6d,0x61,0x70])](_0xdc0696=>_0xdc0696[_0x2b70dd([0x73,0x70,0x6c,0x69,0x74])](_0x2b70dd([0x2e])))[_0x2b70dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27d21f=>_0x27d21f[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x307f47[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b70dd([0x6d,0x61,0x70])](_0x5c637d=>Array(_0x307f47[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c637d[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b70dd([0x66,0x69,0x6c,0x6c])](_0x5c637d[0x0]===_0x2b70dd([0x2a])?_0x2b70dd([0x2a]):'')[_0x2b70dd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c637d))[_0x2b70dd([0x73,0x6f,0x6d,0x65])](_0x540c9d=>_0x307f47[_0x2b70dd([0x65,0x76,0x65,0x72,0x79])]((_0x3511ed,_0x3ff11f)=>_0x540c9d[_0x3ff11f]===_0x3511ed||_0x540c9d[_0x3ff11f]===_0x2b70dd([0x2a])));}function _0x5c9633(){return _0x16fda8&&_0x584b3b?new window[(_0x2b70dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b4dcd,_0x35561a)=>{_0x16fda8[_0x2b70dd([0x74,0x68,0x65,0x6e])](_0x4b4dcd,_0x35561a),_0x584b3b[_0x2b70dd([0x74,0x68,0x65,0x6e])](_0x1b5e45=>{_0x1b5e45!=_0x2b70dd([0x56,0x61,0x6c,0x69,0x64])&&_0x4b4dcd(_0x1b5e45);},_0x35561a);}):_0x16fda8||_0x584b3b||_0x2b70dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x594e1c(_0x35c526,_0x51b755){return new window[(_0x2b70dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97975a=>{if(_0x51d922())return _0x97975a(_0x2b70dd([0x56,0x61,0x6c,0x69,0x64]));_0x10bd1a(),_0x527326[_0x2b70dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b70dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42ff30=!0x1;const _0x2fe9f2=_0x4bfbe6();function _0x42f4be(_0x16a4c3){return!!_0x16a4c3&&(typeof _0x16a4c3===_0x2b70dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16a4c3===_0x2b70dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16a4c3[_0x2b70dd([0x74,0x68,0x65,0x6e])]===_0x2b70dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16a4c3[_0x2b70dd([0x63,0x61,0x74,0x63,0x68])]===_0x2b70dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17aecd(_0x1a6cb4){_0x3f75f9(_0x1a6cb4)[_0x2b70dd([0x74,0x68,0x65,0x6e])](_0x5b2c1a=>{if(!_0x5b2c1a||_0x5b2c1a[_0x2b70dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b70dd([0x6f,0x6b]))return _0x2b70dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22e73a(_0x948166(_0x2fe9f2+_0x51b755))!=_0x5b2c1a[_0x2b70dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b70dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b70dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b70dd([0x74,0x68,0x65,0x6e])](_0x1b4b50=>(_0x24beb5(),_0x1b4b50),()=>{const _0x318a6c=_0x36db5d();return null==_0x318a6c?(_0x24beb5(),_0x2b70dd([0x56,0x61,0x6c,0x69,0x64])):_0x2b70dd(_0x5822fd-_0x318a6c>(0x61d15615^_0x26199d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b70dd([0x74,0x68,0x65,0x6e])](_0x97975a)[_0x2b70dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x97975a(_0x2b70dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49f7ca=0x45eb3c95^_0x26199d;function _0x24beb5(){const _0x4b0917=_0x2b70dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x22e73a(_0x948166(_0x35c526)),_0x354751=_0x3f4d4b(_0x22e73a(window[_0x2b70dd([0x4d,0x61,0x74,0x68])][_0x2b70dd([0x63,0x65,0x69,0x6c])](_0x5822fd/_0x49f7ca)));window[_0x2b70dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b70dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b0917,_0x354751);}function _0x36db5d(){const _0x5294ed=_0x2b70dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x22e73a(_0x948166(_0x35c526)),_0x4e7dff=window[_0x2b70dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b70dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5294ed);return _0x4e7dff?window[_0x2b70dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f4d4b(_0x4e7dff),0x10)*_0x49f7ca:null;}function _0x3f75f9(_0x254ddc){return new window[(_0x2b70dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c2ed8,_0xb0f703)=>{_0x254ddc[_0x2b70dd([0x74,0x68,0x65,0x6e])](_0x5c2ed8,_0xb0f703),window[_0x2b70dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb0f703,0x45dc06d5^_0x26199d);});}}_0x527326[_0x2b70dd([0x6f,0x6e])](_0x2b70dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27ee1f,_0x94aaed)=>{if(_0x94aaed[0x0]!=_0x35c526)return _0x97975a(_0x2b70dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x94aaed[0x1]={..._0x94aaed[0x1],[_0x2b70dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fe9f2};},{[_0x2b70dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b70dd([0x68,0x69,0x67,0x68])}),_0x527326[_0x2b70dd([0x6f,0x6e])](_0x2b70dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f0ab6=>{_0x42f4be(_0x4f0ab6[_0x2b70dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42ff30=!0x0,_0x17aecd(_0x4f0ab6[_0x2b70dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b70dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b70dd([0x6c,0x6f,0x77])}),_0x43cb1f[_0x2b70dd([0x74,0x68,0x65,0x6e])](()=>{_0x42ff30||_0x97975a(_0x2b70dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51d922(){return _0x527326[_0x2b70dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b70dd([0x76,0x69,0x65,0x77])][_0x2b70dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b70dd([0x61,0x75,0x74,0x6f]);}function _0x10bd1a(){_0x527326[_0x2b70dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b70dd([0x76,0x69,0x65,0x77])][_0x2b70dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b70dd([0x61,0x75,0x74,0x6f]);}}function _0x2b26d7(_0xb1c2a){const _0x1f6c5b=[new window[(_0x2b70dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaad92d=>setTimeout(_0xaad92d,0x45d4ecd9^_0x26199d)),_0x43cb1f[_0x2b70dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b70dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5326f9=>{let _0x19703c=0x0;_0x527326[_0x2b70dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b70dd([0x6f,0x6e])](_0x2b70dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bf019,_0x5a1882)=>{_0x5a1882[0x0][_0x2b70dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19703c++,_0x19703c==(0x45ddd3ed^_0x26199d)&&(_0x5326f9(),_0x2bf019[_0x2b70dd([0x6f,0x66,0x66])]());});}))];return window[_0x2b70dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b70dd([0x72,0x61,0x63,0x65])](_0x1f6c5b)[_0x2b70dd([0x74,0x68,0x65,0x6e])](()=>_0xb1c2a);}async function _0x56d957(){await _0x43cb1f,_0x527326[_0x2b70dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b70dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x565d66,_0x527326[_0x2b70dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b70dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x565d66,_0x527326[_0x2b70dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b70dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23290e(_0x57b40f){const _0x4c5ab6=_0x22024b();_0x527326[_0x4c5ab6]=_0x2b70dd([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57b40f,_0x57b40f!=_0x2b70dd([0x56,0x61,0x6c,0x69,0x64])&&_0x56d957();}function _0x22024b(){const _0x3bf0e4=window[_0x2b70dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b70dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b70dd([0x6e,0x6f,0x77])]())[_0x2b70dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b70dd([0x2e]),'');let _0x24cafd=_0x2b70dd([0x50]);for(let _0x18908d=0x0;_0x18908d<_0x3bf0e4[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18908d+=0x2){let _0x474477=window[_0x2b70dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bf0e4[_0x2b70dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18908d,_0x18908d+0x2));_0x474477>=_0x7239c2[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x474477-=_0x7239c2[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24cafd+=_0x7239c2[_0x474477];}return _0x24cafd;}function _0x28b1f(){const _0x44ab18=_0x22bb0f[_0x2b70dd([0x73,0x70,0x6c,0x69,0x74])](_0x2b70dd([0x2e]));if(0x3!=_0x44ab18[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x16a44e(_0x44ab18[0x1]);function _0x16a44e(_0x46e83b){const _0x180c4b=_0xeba66c(_0x46e83b);return _0x180c4b&&_0x8b729b()?_0x180c4b:null;function _0x8b729b(){const _0x5ab2a4=_0x180c4b[_0x2b70dd([0x6a,0x74,0x69])],_0x562110=window[_0x2b70dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ab2a4[_0x2b70dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ab2a4[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x573bfd={..._0x180c4b,[_0x2b70dd([0x6a,0x74,0x69])]:_0x5ab2a4[_0x2b70dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ab2a4[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x573bfd[_0x2b70dd([0x76,0x63])],_0x948166(_0x573bfd)==_0x562110;}}}async function _0x73def(){let _0x121cc5=!0x0;try{const _0x24f922=_0x22bb0f[_0x2b70dd([0x73,0x70,0x6c,0x69,0x74])](_0x2b70dd([0x2e])),[_0x17a03b,_0x2a44a6,_0x1bcb45]=_0x24f922;return _0x39ef6a(_0x17a03b),await _0x16b555(_0x17a03b,_0x2a44a6,_0x1bcb45),_0x121cc5;}catch{return!0x1;}function _0x39ef6a(_0x25061a){const _0x11d794=_0xeba66c(_0x25061a);_0x11d794&&_0x11d794[_0x2b70dd([0x61,0x6c,0x67])]==_0x2b70dd([0x45,0x53,0x32,0x35,0x36])||(_0x121cc5=!0x1);}async function _0x16b555(_0x42d470,_0xec0d05,_0x1e54bc){const _0x2de185=window[_0x2b70dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b70dd([0x66,0x72,0x6f,0x6d])](_0x304321(_0x1e54bc),_0x274833=>_0x274833[_0x2b70dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1eebc8=new window[(_0x2b70dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b70dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42d470+_0x2b70dd([0x2e])+_0xec0d05),_0x1e34fc=window[_0x2b70dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b70dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e34fc)return;const _0x30b54a=await _0x1e34fc[_0x2b70dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b70dd([0x6a,0x77,0x6b]),_0x539f52,{[_0x2b70dd([0x6e,0x61,0x6d,0x65])]:_0x2b70dd([0x45,0x43,0x44,0x53,0x41]),[_0x2b70dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b70dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b70dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e34fc[_0x2b70dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b70dd([0x6e,0x61,0x6d,0x65])]:_0x2b70dd([0x45,0x43,0x44,0x53,0x41]),[_0x2b70dd([0x68,0x61,0x73,0x68])]:{[_0x2b70dd([0x6e,0x61,0x6d,0x65])]:_0x2b70dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30b54a,_0x2de185,_0x1eebc8)||(_0x121cc5=!0x1);}}function _0xeba66c(_0x1819a1){return _0x1819a1[_0x2b70dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b70dd([0x65,0x79]))?JSON[_0x2b70dd([0x70,0x61,0x72,0x73,0x65])](_0x304321(_0x1819a1)):null;}function _0x304321(_0x73c10d){return window[_0x2b70dd([0x61,0x74,0x6f,0x62])](_0x73c10d[_0x2b70dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b70dd([0x2b]))[_0x2b70dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b70dd([0x2f])));}function _0x948166(_0x3f4dbf){let _0x213b30=0x1505;function _0x3db4e7(_0x285038){for(let _0x172d2e=0x0;_0x172d2e<_0x285038[_0x2b70dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172d2e++){const _0x318c85=_0x285038[_0x2b70dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x172d2e);_0x213b30=(_0x213b30<<0x5)+_0x213b30+_0x318c85,_0x213b30&=_0x213b30;}}function _0x25aa77(_0x2e1b35){Array[_0x2b70dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e1b35)?_0x2e1b35[_0x2b70dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25aa77):_0x2e1b35&&typeof _0x2e1b35==_0x2b70dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b70dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e1b35)[_0x2b70dd([0x73,0x6f,0x72,0x74])]()[_0x2b70dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x538493,_0x3e4024])=>{_0x3db4e7(_0x538493),_0x25aa77(_0x3e4024);}):_0x3db4e7(window[_0x2b70dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e1b35));}return _0x25aa77(_0x3f4dbf),_0x213b30>>>0x0;}function _0x22e73a(_0xf70596){return _0xf70596[_0x2b70dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b70dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b70dd([0x30]));}function _0x3f4d4b(_0x5264c9){return _0x5264c9[_0x2b70dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b70dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b70dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x565d66(){}function _0x2b70dd(_0x3a3700){const _0x328d02=_0x1ce4;return _0x3a3700[_0x328d02(0x190)](_0x162308=>String[_0x328d02(0x1a6)](_0x162308))[_0x328d02(0x195)]('');}_0x23290e(await _0x306d4c());}(this);}[_0x3c2c5f(0x191)](){const _0xb0e6bf=_0x3c2c5f,_0x3869ef=this[_0xb0e6bf(0x1a4)];if(!_0x3869ef[_0xb0e6bf(0x1a7)][_0xb0e6bf(0x1c2)](_0xb0e6bf(0x1a8)))return;const _0x5e1c1a=_0x3869ef[_0xb0e6bf(0x1a7)][_0xb0e6bf(0x1c2)](_0xb0e6bf(0x1a9))[_0xb0e6bf(0x1ba)](_0x50d3b6=>_0xb0e6bf(0x1bc)==typeof _0x50d3b6&&(!_0x34861a(_0x50d3b6)&&isNaN(Number(_0x50d3b6))));if(_0x5e1c1a[_0xb0e6bf(0x1c3)])throw new _0x490d0c(_0xb0e6bf(0x1a5),null,{'namedPresets':_0x5e1c1a});}[_0x3c2c5f(0x1b7)](){const _0x5510a2=_0x3c2c5f,_0x72b830=this[_0x5510a2(0x1a4)],_0xdebc86=this[_0x5510a2(0x1a4)][_0x5510a2(0x1a7)][_0x5510a2(0x1c2)](_0x5510a2(0x1aa));_0x72b830[_0x5510a2(0x193)][_0x5510a2(0x1b2)](_0x5510a2(0x1ab))[_0x5510a2(0x1a2)]({'model':{'key':_0x5510a2(0x19a)},'view':_0x5b6d62=>String(_0x5b6d62)===String(_0xdebc86)?null:{'key':_0x5510a2(0x1af),'value':{'line-height':_0x5b6d62}}}),_0x72b830[_0x5510a2(0x193)][_0x5510a2(0x1b2)](_0x5510a2(0x1b1))[_0x5510a2(0x1a2)]({'model':{'key':_0x5510a2(0x19a),'value':_0x15331c=>{const _0x1ea5cd=_0x5510a2;let _0x57c8cc=_0x15331c[_0x1ea5cd(0x1c1)](_0x1ea5cd(0x1ad));return _0x53ee60(_0x57c8cc)&&(_0x57c8cc=String(Number(_0x57c8cc[_0x1ea5cd(0x1bb)](0x0,-0x1))/0x64)),String(_0x57c8cc)===String(_0xdebc86)?null:_0x57c8cc;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3c2c5f(0x1bd)](){const _0x4da54b=_0x3c2c5f,_0x47a9bf=this[_0x4da54b(0x1a4)],_0x499ac6=this[_0x4da54b(0x1a4)][_0x4da54b(0x1a7)][_0x4da54b(0x1c2)](_0x4da54b(0x1aa)),_0x5918b3=_0x3fbc4b(this[_0x4da54b(0x1a4)][_0x4da54b(0x1a7)][_0x4da54b(0x1c2)](_0x4da54b(0x19a)))[_0x4da54b(0x1ba)](_0x3fdf02=>_0x3fdf02[_0x4da54b(0x19b)]),_0x209ff6=_0x5e4316(_0x4da54b(0x19a),_0x5918b3);_0x47a9bf[_0x4da54b(0x193)][_0x4da54b(0x1a2)](_0x209ff6),_0x47a9bf[_0x4da54b(0x193)][_0x4da54b(0x1b2)](_0x4da54b(0x1b1))[_0x4da54b(0x1a2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4da54b(0x19a),'value':_0x24c1e5=>{const _0x1b3f29=_0x4da54b;let _0x4f844b=_0x24c1e5[_0x1b3f29(0x1c1)](_0x1b3f29(0x1ad));return _0x53ee60(_0x4f844b)&&(_0x4f844b=String(Number(_0x4f844b[_0x1b3f29(0x1bb)](0x0,-0x1))/0x64)),_0x4f844b===String(_0x499ac6)?null:_0x209ff6[_0x1b3f29(0x19b)][_0x1b3f29(0x19c)][_0x1b3f29(0x1be)](_0x4f844b)?_0x4f844b:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x299cf4}from'ckeditor5/src/core.js';import{addListToDropdown as _0xd45e57,createDropdown as _0x56dd3b,MenuBarMenuListItemButtonView as _0x3adc85,MenuBarMenuListItemView as _0x405764,MenuBarMenuListView as _0xd5c7d2,MenuBarMenuView as _0x599d7b,UIModel as _0x3babaa}from'ckeditor5/src/ui.js';import{Collection as _0x5cb253}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3ec45f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2b9344}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x299cf4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2bb252={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2bb252),this['_registerMenuBarComponent'](_0x2bb252),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2fe780=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f302b;for(const _0x453649 in _0x2fe780){const _0x23777a=_0x453649,_0x301fd6=_0x2fe780[_0x23777a];if('lineHeightLicenseKeyValid'==_0x301fd6||'lineHeightLicenseKeyInvalid'==_0x301fd6||'lineHeightLicenseKeyExpired'==_0x301fd6||'lineHeightLicenseKeyDomainLimit'==_0x301fd6||'lineHeightLicenseKeyNotAllowed'==_0x301fd6||'lineHeightLicenseKeyEvaluationLimit'==_0x301fd6||'lineHeightLicenseKeyTrialLimit'==_0x301fd6||'lineHeightLicenseKeyUsageLimit'==_0x301fd6){delete _0x2fe780[_0x23777a],_0x1f302b=_0x301fd6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1f302b&&_0x2fe780['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1f302b&&_0x2fe780['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1f302b&&_0x2fe780['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1f302b&&_0x2fe780['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1f302b&&_0x2fe780['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1f302b&&_0x2fe780['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1f302b&&_0x2fe780['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2d2a3a=this['editor'],t=_0x2d2a3a['t'],_0x14b3ab=_0x2d2a3a['config']['get']('lineHeight'),_0x487af8={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2b9344(_0x14b3ab)['map'](_0x107bdc=>{const _0xf308d7=_0x487af8[_0x107bdc['title']];return _0xf308d7&&_0xf308d7!=_0x107bdc['title']&&(_0x107bdc=Object['assign']({},_0x107bdc,{'title':_0xf308d7})),_0x107bdc;});}['_prepareListOptions'](){const _0xa6532a=this['editor']['commands']['get']('lineHeight'),_0x59f446=this['editor']['config']['get']('lineHeight.defaultValue'),_0x173c4c=this['_getLocalizedLineHeightOptions'](),_0x2203b6=new _0x5cb253(),_0x221a56=_0x545a55=>'default'===_0x545a55||String(_0x59f446)===_0x545a55;for(const _0x5b9a28 of _0x173c4c){const _0x214d7f={'type':'button','model':new _0x3babaa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5b9a28['title'],'withText':!0x0})};_0x221a56(_0x5b9a28['model'])?(_0x214d7f['model']['bind']('isOn')['to'](_0xa6532a,'value',_0x52a0d5=>!_0x52a0d5),_0x214d7f['model']['commandParam']=void 0x0):(_0x214d7f['model']['bind']('isOn')['to'](_0xa6532a,'value',_0x38bfd9=>_0x38bfd9===_0x5b9a28['model']),_0x214d7f['model']['commandParam']=_0x5b9a28['model']),_0x2203b6['add'](_0x214d7f);}if(this['_shouldRenderCustomValueOption']()){const _0x53570b=this['_getCustomValueOptionDefinition'](_0x173c4c);_0x2203b6['add'](_0x53570b);}return _0x2203b6;}['_getCustomValueOptionDefinition'](_0x538e0c){const _0xa96f6c=this['editor'],t=_0xa96f6c['t'],_0x451cf8=_0xa96f6c['commands']['get']('lineHeight'),_0x1f069c=_0x538e0c['map'](_0x1aff34=>_0x1aff34['model']),_0xaa0b47={'type':'button','model':new _0x3babaa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xaa0b47['model']['bind']('commandParam')['to'](_0x451cf8,'value'),_0xaa0b47['model']['bind']('isOn')['to'](_0x451cf8,'value',_0x530f17=>!!_0x530f17&&!_0x1f069c['includes'](String(_0x530f17))),_0xaa0b47['model']['bind']('label')['to'](_0x451cf8,'value',_0x5927ee=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5927ee))),_0xaa0b47;}['_registerToolbarComponent']({accessibleLabel:_0xff9b44,options:_0x26c219}){const _0x2985f6=this['editor'],_0x576066=_0x2985f6['commands']['get']('lineHeight');_0x2985f6['ui']['componentFactory']['add']('lineHeight',_0x3e9402=>{const _0x31e32e=_0x56dd3b(_0x3e9402);return _0xd45e57(_0x31e32e,_0x26c219,{'role':'menu','ariaLabel':_0xff9b44}),_0x31e32e['buttonView']['set']({'label':_0xff9b44,'tooltip':!0x0,'icon':_0x3ec45f}),_0x31e32e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x31e32e['bind']('isEnabled')['to'](_0x576066),this['listenTo'](_0x31e32e,'execute',_0x5f2673=>{_0x2985f6['execute'](_0x5f2673['source']['commandName'],{'value':_0x5f2673['source']['commandParam']}),_0x2985f6['editing']['view']['focus']();}),_0x31e32e['once']('change:isOpen',()=>{const _0x2361ca=_0x31e32e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x31e32e,_0x26c219,_0x2361ca);}),_0x31e32e;});}['_registerMenuBarComponent']({accessibleLabel:_0x5f052b,options:_0x15f683}){const _0x1c3d77=this['editor'],_0x39ff81=_0x1c3d77['commands']['get']('lineHeight');_0x1c3d77['ui']['componentFactory']['add']('menuBar:lineHeight',_0x56d67b=>{const _0x46c43e=new _0x599d7b(_0x56d67b);_0x46c43e['buttonView']['set']({'label':_0x5f052b,'icon':_0x3ec45f}),_0x46c43e['bind']('isEnabled')['to'](_0x39ff81);const _0x1db1ea=new _0xd5c7d2(_0x56d67b);for(const _0x5ad687 of _0x15f683){const _0x467208=new _0x405764(_0x56d67b,_0x46c43e),_0xcc28eb=new _0x3adc85(_0x56d67b);_0xcc28eb['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xcc28eb['bind'](...Object['keys'](_0x5ad687['model']))['to'](_0x5ad687['model']),_0xcc28eb['delegate']('execute')['to'](_0x46c43e),_0xcc28eb['on']('execute',()=>{_0x1c3d77['execute'](_0x5ad687['model']['commandName'],{'value':_0x5ad687['model']['commandParam']}),_0x1c3d77['editing']['view']['focus']();}),_0x467208['children']['add'](_0xcc28eb),_0x1db1ea['items']['add'](_0x467208);}return _0x46c43e['panelView']['children']['add'](_0x1db1ea),this['_attachCustomOptionVisibilityHandler'](_0x46c43e,_0x15f683,_0x1db1ea),_0x46c43e;});}['_attachCustomOptionVisibilityHandler'](_0x32ff42,_0x94c29a,_0x19c03b){if(!this['_shouldRenderCustomValueOption']())return;const _0x288e21=()=>{if(!_0x32ff42['isOpen'])return;_0x19c03b['items']['last']['isVisible']=Boolean(_0x94c29a['last']['model']['isOn']);};_0x288e21(),_0x32ff42['on']('change:isOpen',()=>{_0x288e21();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5364e3,_0x4ef419){const _0x2726c7=_0x29de,_0x58b4f5=_0x5364e3();while(!![]){try{const _0x43fd0a=-parseInt(_0x2726c7(0x132))/0x1+-parseInt(_0x2726c7(0x123))/0x2*(-parseInt(_0x2726c7(0x12a))/0x3)+-parseInt(_0x2726c7(0x116))/0x4+parseInt(_0x2726c7(0x11f))/0x5*(parseInt(_0x2726c7(0x117))/0x6)+-parseInt(_0x2726c7(0x12e))/0x7*(-parseInt(_0x2726c7(0x128))/0x8)+-parseInt(_0x2726c7(0x122))/0x9+-parseInt(_0x2726c7(0x138))/0xa*(parseInt(_0x2726c7(0x127))/0xb);if(_0x43fd0a===_0x4ef419)break;else _0x58b4f5['push'](_0x58b4f5['shift']());}catch(_0x41cf72){_0x58b4f5['push'](_0x58b4f5['shift']());}}}(_0x1dbf,0x9fb42));const v={get 'single'(){const _0x4fb5ac=_0x29de;return{'title':_0x4fb5ac(0x11c),'model':_0x4fb5ac(0x118),'view':{'key':_0x4fb5ac(0x136),'value':_0x4fb5ac(0x124)}};},get 'double'(){const _0x1fc4d2=_0x29de;return{'title':_0x1fc4d2(0x125),'model':_0x1fc4d2(0x121),'view':{'key':_0x1fc4d2(0x136),'value':_0x1fc4d2(0x11d)}};}};function _0x1dbf(){const _0x270894=['96430rUMlpc','357608gvjrTc','299406AiziTo','single','values','span','options','Single','line-height-double','string','115HKfaLP','style','double','3190599FCkIjH','4oKiVKn','line-height-single','Double','value','1430BfIbtm','6021144WAPrnD','defaultValue','1796412btYIWJ','number','push','filter','7oDQKIT','line-height:','view','map','746325srBoqR','key','model','default','class','toLowerCase'];_0x1dbf=function(){return _0x270894;};return _0x1dbf();}export function isLineHeightDefaultValue(_0x295c76){const _0x416963=_0x29de;return _0x416963(0x11e)==typeof _0x295c76&&_0x416963(0x135)===_0x295c76[_0x416963(0x137)]();}function _0x29de(_0x377416,_0x163263){const _0x1dbf01=_0x1dbf();return _0x29de=function(_0x29de6e,_0x3ee2ac){_0x29de6e=_0x29de6e-0x116;let _0x3e6d6f=_0x1dbf01[_0x29de6e];return _0x3e6d6f;},_0x29de(_0x377416,_0x163263);}export function normalizeOptions(_0x90a972){const _0x570ebe=_0x29de;return _0x90a972[_0x570ebe(0x11b)][_0x570ebe(0x131)](_0x5f59ed=>isLineHeightDefaultValue(_0x5f59ed)?{'title':String(_0x90a972[_0x570ebe(0x129)]),'model':_0x570ebe(0x135)}:(_0x570ebe(0x12b)==typeof _0x5f59ed&&(_0x5f59ed=String(_0x5f59ed)),_0x570ebe(0x11e)!=typeof _0x5f59ed?_0x5f59ed:parseFloat(_0x5f59ed)?{'title':_0x5f59ed,'model':_0x5f59ed,'view':{'name':_0x570ebe(0x11a),'styles':{'line-height':_0x5f59ed}}}:findPreset(_0x5f59ed)))[_0x570ebe(0x12d)](_0x1bf20c=>void 0x0!==_0x1bf20c);}export function findPreset(_0xa0344e){const _0x1dc26a=_0x29de;return _0x1dc26a(0x11e)==typeof _0xa0344e?v[_0xa0344e]:v[_0xa0344e[_0x1dc26a(0x134)]];}export function buildDefinition(_0x58b2d5,_0x551513){const _0x36ed12=_0x29de,_0x501d61={'model':{'key':_0x58b2d5,'values':[]},'view':{}};for(const _0x28a4cf of _0x551513)_0x36ed12(0x136)===_0x28a4cf[_0x36ed12(0x130)]?.[_0x36ed12(0x133)]?(_0x501d61[_0x36ed12(0x134)][_0x36ed12(0x119)][_0x36ed12(0x12c)](_0x28a4cf[_0x36ed12(0x134)]),_0x501d61[_0x36ed12(0x130)][_0x28a4cf[_0x36ed12(0x134)]]={'key':_0x36ed12(0x136),'value':_0x28a4cf[_0x36ed12(0x130)][_0x36ed12(0x126)]}):(_0x501d61[_0x36ed12(0x134)][_0x36ed12(0x119)][_0x36ed12(0x12c)](_0x28a4cf[_0x36ed12(0x134)]),_0x501d61[_0x36ed12(0x130)][_0x28a4cf[_0x36ed12(0x134)]]={'key':_0x36ed12(0x120),'value':_0x36ed12(0x12f)+_0x28a4cf[_0x36ed12(0x134)]+';'});return _0x501d61;}
|