@ckeditor/ckeditor5-line-height 47.7.0 → 47.7.1-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
|
-
|
|
23
|
+
const _0x2b36a3=_0x4890;(function(_0x17fdfe,_0x265f53){const _0x40a813=_0x4890,_0x5e249b=_0x17fdfe();while(!![]){try{const _0x406d53=-parseInt(_0x40a813(0x196))/0x1+-parseInt(_0x40a813(0x193))/0x2+parseInt(_0x40a813(0x18e))/0x3*(parseInt(_0x40a813(0x1a6))/0x4)+-parseInt(_0x40a813(0x19d))/0x5*(-parseInt(_0x40a813(0x1a2))/0x6)+parseInt(_0x40a813(0x19e))/0x7*(parseInt(_0x40a813(0x1b4))/0x8)+-parseInt(_0x40a813(0x199))/0x9+-parseInt(_0x40a813(0x19c))/0xa;if(_0x406d53===_0x265f53)break;else _0x5e249b['push'](_0x5e249b['shift']());}catch(_0x15c03b){_0x5e249b['push'](_0x5e249b['shift']());}}}(_0x2483,0x4ec4b));import{Plugin as _0x24d781}from'ckeditor5/src/core.js';import{Matcher as _0x3e743f}from'ckeditor5/src/engine.js';function _0x4890(_0x2d4605,_0x4f7ae9){const _0x248394=_0x2483();return _0x4890=function(_0x4890b1,_0x26025a){_0x4890b1=_0x4890b1-0x189;let _0x49e6e6=_0x248394[_0x4890b1];return _0x49e6e6;},_0x4890(_0x2d4605,_0x4f7ae9);}import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x24d781{static get[_0x2b36a3(0x18b)](){const _0x45e1c5=_0x2b36a3;return _0x45e1c5(0x18d);}static get[_0x2b36a3(0x1b2)](){return!0x0;}static get[_0x2b36a3(0x19f)](){return!0x0;}[_0x2b36a3(0x18a)](){const _0x3cded5=_0x2b36a3,{plugins:_0x1b05ec,conversion:_0x2c4ac2}=this[_0x3cded5(0x1aa)];if(!_0x1b05ec[_0x3cded5(0x1a9)](_0x3cded5(0x1a0))||!_0x1b05ec[_0x3cded5(0x1a9)](_0x3cded5(0x1a5)))return;_0x1b05ec[_0x3cded5(0x18c)](_0x3cded5(0x1a0))[_0x3cded5(0x1b0)]({'scope':_0x3cded5(0x1b1),'attributeName':_0x3cded5(0x1a4),'consume':!0x1,'setAttributeOnDowncast'(_0x26f309,_0x2f6a83,_0x20bb42,_0x5e2392,_0x29c65c){const _0x533b8d=_0x3cded5;_0x533b8d(0x1ac)==_0x29c65c[_0x533b8d(0x1a8)](_0x533b8d(0x18f))&&_0x2f6a83&&(_0x26f309[_0x533b8d(0x1b3)](_0x533b8d(0x1ae),_0x20bb42),_0x26f309[_0x533b8d(0x189)](_0x533b8d(0x1ad),_0x2f6a83,_0x20bb42));}}),_0x2c4ac2[_0x3cded5(0x191)](_0x3cded5(0x197))[_0x3cded5(0x190)]({'view':{'name':_0x3cded5(0x19a),'classes':_0x3cded5(0x194)},'model':_0x3cded5(0x1a3),'converterPriority':_0x3cded5(0x1a7)}),_0x2c4ac2[_0x3cded5(0x191)](_0x3cded5(0x197))[_0x3cded5(0x192)](_0x418572=>{const _0x17fdbc=_0x3cded5;_0x418572['on'](_0x17fdbc(0x19b),function(_0x5b63fc){const _0x4ab294=new _0x3e743f(_0x5b63fc);return(_0x16ea89,_0x289b28,_0x511469)=>{const _0x4fbcae=_0x4890,_0x2458ba=_0x4ab294[_0x4fbcae(0x1ab)](_0x289b28[_0x4fbcae(0x198)]);if(!_0x2458ba)return;const _0x13bf86=_0x2458ba[_0x4fbcae(0x1ab)];_0x13bf86[_0x4fbcae(0x1a1)]=!0x1,_0x511469[_0x4fbcae(0x195)][_0x4fbcae(0x1af)](_0x289b28[_0x4fbcae(0x198)],_0x13bf86);};}({'name':'li','classes':_0x17fdbc(0x1ae),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x2483(){const _0x35e0ab=['init','pluginName','get','LineHeightTodoListIntegration','1229913mfrPWr','listType','elementToElement','for','add','1254182dVuggP','todo-list__label__description','consumable','78045vMavVo','upcast','viewItem','253818ZoRBCw','span','element:li','98170ZrLcmy','5435SKFurm','2807JDjBII','isPremiumPlugin','ListEditing','name','3558rpcMqT','paragraph','lineHeight','TodoListEditing','4lQWEQP','high','getAttribute','has','editor','match','todo','--ck-content-list-marker-line-height','ck-list-marker-line-height','consume','registerDowncastStrategy','item','isOfficialPlugin','addClass','224jCdtVJ','setStyle'];_0x2483=function(){return _0x35e0ab;};return _0x2483();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5b2c13=_0x1c84;(function(_0x3d654f,_0x362b89){var _0x140170=_0x1c84,_0xc7e6d4=_0x3d654f();while(!![]){try{var _0x353393=parseInt(_0x140170(0x14e))/0x1+parseInt(_0x140170(0x154))/0x2*(-parseInt(_0x140170(0x151))/0x3)+parseInt(_0x140170(0x155))/0x4*(-parseInt(_0x140170(0x156))/0x5)+parseInt(_0x140170(0x15b))/0x6+parseInt(_0x140170(0x157))/0x7+parseInt(_0x140170(0x158))/0x8*(parseInt(_0x140170(0x159))/0x9)+parseInt(_0x140170(0x150))/0xa*(-parseInt(_0x140170(0x15a))/0xb);if(_0x353393===_0x362b89)break;else _0xc7e6d4['push'](_0xc7e6d4['shift']());}catch(_0x2aea93){_0xc7e6d4['push'](_0xc7e6d4['shift']());}}}(_0x3d79,0x61606));function _0x1c84(_0x4fbb8f,_0x11e127){var _0x3d79a3=_0x3d79();return _0x1c84=function(_0x1c8452,_0x1643ae){_0x1c8452=_0x1c8452-0x14d;var _0x15b4cd=_0x3d79a3[_0x1c8452];return _0x15b4cd;},_0x1c84(_0x4fbb8f,_0x11e127);}import{Plugin as _0x39f500}from'ckeditor5/src/core.js';function _0x3d79(){var _0x37f39a=['39272iRqVOK','1422pwwFSY','37917jlTAgk','897066wyzicI','isOfficialPlugin','isPremiumPlugin','188993HfDhGc','LineHeight','200wqDtkd','7443IVoNgJ','pluginName','requires','346LbsHDn','81300KvCqsW','190wmIjta','3886617SiEsGF'];_0x3d79=function(){return _0x37f39a;};return _0x3d79();}import{LineHeightEditing as _0x88ed8b}from'./lineheightediting.js';import{LineHeightUI as _0x260549}from'./lineheightui.js';export class LineHeight extends _0x39f500{static get[_0x5b2c13(0x153)](){return[_0x88ed8b,_0x260549];}static get[_0x5b2c13(0x152)](){var _0x40dbd6=_0x5b2c13;return _0x40dbd6(0x14f);}static get[_0x5b2c13(0x15c)](){return!0x0;}static get[_0x5b2c13(0x14d)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2c99(_0x3f2056,_0x2bc635){const _0x5e25c2=_0x5e25();return _0x2c99=function(_0x2c99d6,_0x272949){_0x2c99d6=_0x2c99d6-0x99;let _0x5bc266=_0x5e25c2[_0x2c99d6];return _0x5bc266;},_0x2c99(_0x3f2056,_0x2bc635);}const _0x1b1c89=_0x2c99;(function(_0x470832,_0x539224){const _0x3c749f=_0x2c99,_0x1730ca=_0x470832();while(!![]){try{const _0x24d0d9=-parseInt(_0x3c749f(0xa5))/0x1*(parseInt(_0x3c749f(0xb1))/0x2)+parseInt(_0x3c749f(0xa9))/0x3+parseInt(_0x3c749f(0x99))/0x4*(-parseInt(_0x3c749f(0xab))/0x5)+parseInt(_0x3c749f(0xb4))/0x6+-parseInt(_0x3c749f(0xa1))/0x7*(parseInt(_0x3c749f(0xa6))/0x8)+-parseInt(_0x3c749f(0xae))/0x9*(-parseInt(_0x3c749f(0x9a))/0xa)+parseInt(_0x3c749f(0xb5))/0xb*(parseInt(_0x3c749f(0xb0))/0xc);if(_0x24d0d9===_0x539224)break;else _0x1730ca['push'](_0x1730ca['shift']());}catch(_0x4d6480){_0x1730ca['push'](_0x1730ca['shift']());}}}(_0x5e25,0xc3095));import{Command as _0x50c29f}from'ckeditor5/src/core.js';function _0x5e25(){const _0x5419c8=['selection','lineHeight','2960046OUiduS','checkAttribute','10hxPKTI','getAttribute','change','9SAURNs','refresh','17268TBGuMV','19394qSuiAy','setAttribute','execute','6560892kmGMAh','4345CyALkN','value','document','1713164RJOgqo','7209630BUzfxY','from','removeAttribute','filter','model','isEnabled','getSelectedBlocks','42nQbfbK','schema','_canHaveLineHeight','editor','115EKyeWs','798568rptuwE'];_0x5e25=function(){return _0x5419c8;};return _0x5e25();}import{first as _0x576630}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x50c29f{[_0x1b1c89(0xaf)](){const _0x1c5817=_0x1b1c89,_0x1e36fe=this[_0x1c5817(0xa4)][_0x1c5817(0x9e)][_0x1c5817(0xb7)],_0x100a32=_0x576630(_0x1e36fe[_0x1c5817(0xa7)][_0x1c5817(0xa0)]());this[_0x1c5817(0x9f)]=Boolean(_0x100a32)&&this[_0x1c5817(0xa3)](_0x100a32),this[_0x1c5817(0xb6)]=this[_0x1c5817(0x9f)]&&_0x100a32[_0x1c5817(0xac)](_0x1c5817(0xa8));}[_0x1b1c89(0xb3)](_0x1c6c81={}){const _0x3a4134=_0x1b1c89,_0x22220b=this[_0x3a4134(0xa4)][_0x3a4134(0x9e)],_0x3c0b5d=_0x22220b[_0x3a4134(0xb7)][_0x3a4134(0xa7)],_0x2c7772=_0x1c6c81[_0x3a4134(0xb6)];_0x22220b[_0x3a4134(0xad)](_0x396817=>{const _0x399045=_0x3a4134,_0x83c074=Array[_0x399045(0x9b)](_0x3c0b5d[_0x399045(0xa0)]())[_0x399045(0x9d)](_0x3a382c=>this[_0x399045(0xa3)](_0x3a382c));for(const _0x11d1f5 of _0x83c074)_0x2c7772?_0x396817[_0x399045(0xb2)](_0x399045(0xa8),_0x2c7772,_0x11d1f5):_0x396817[_0x399045(0x9c)](_0x399045(0xa8),_0x11d1f5);});}[_0x1b1c89(0xa3)](_0x19c06a){const _0x575c53=_0x1b1c89;return this[_0x575c53(0xa4)][_0x575c53(0x9e)][_0x575c53(0xa2)][_0x575c53(0xaa)](_0x19c06a,_0x575c53(0xa8));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x143c(_0x29d185,_0x300fe7){const _0x406462=_0x4064();return _0x143c=function(_0x143cc3,_0x5c345f){_0x143cc3=_0x143cc3-0x189;let _0x370227=_0x406462[_0x143cc3];return _0x370227;},_0x143c(_0x29d185,_0x300fe7);}const _0x42f9f2=_0x143c;(function(_0x48434d,_0x12d389){const _0x131ee5=_0x143c,_0x4e1f58=_0x48434d();while(!![]){try{const _0xb21f84=parseInt(_0x131ee5(0x19c))/0x1*(-parseInt(_0x131ee5(0x1b2))/0x2)+parseInt(_0x131ee5(0x1a9))/0x3+-parseInt(_0x131ee5(0x18d))/0x4+parseInt(_0x131ee5(0x1b0))/0x5*(-parseInt(_0x131ee5(0x1a4))/0x6)+-parseInt(_0x131ee5(0x1b1))/0x7+parseInt(_0x131ee5(0x195))/0x8*(parseInt(_0x131ee5(0x1a6))/0x9)+parseInt(_0x131ee5(0x193))/0xa;if(_0xb21f84===_0x12d389)break;else _0x4e1f58['push'](_0x4e1f58['shift']());}catch(_0x2aa8e0){_0x4e1f58['push'](_0x4e1f58['shift']());}}}(_0x4064,0xb89fa));import{Plugin as _0x100b63}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x32a92b}from'./lineheightcommand.js';function _0x4064(){const _0x45a26d=['3411849dqTPuV','lineHeight','config','default','filter','model','style','100FmKgRt','894194BzsYug','230786fGHhUo','define','join','upcast','setAttributeProperties','schema','_preparePredefinedConverters','slice','lineHeight.supportAllValues','get','string','add','values','_prepareAnyValueConverters','length','commands','_validateConfig','isPremiumPlugin','4974948UidNuR','isOfficialPlugin','lineHeight.defaultValue','conversion','attributeToAttribute','init','17178760UXQbwp','downcast','40jixGFI','for','LineHeightEditing','map','afterInit','lineHeight.options','href','4RFKBMc','getStyle','editor','line-height-invalid-use-of-named-presets','requires','$block','extend','pluginName','234936QTaklx','includes','931014SOOQVY','fromCharCode','line-height'];_0x4064=function(){return _0x45a26d;};return _0x4064();}import{isPercentageStyleValue as _0x9221d8}from'ckeditor5/src/engine.js';import{uid as _0x2afefc,CKEditorError as _0x52c970}from'ckeditor5/src/utils.js';import{buildDefinition as _0x19bd54,isLineHeightDefaultValue as _0xab11fc,normalizeOptions as _0x1ca4e4}from'./utils.js';import{LineHeightTodoListIntegration as _0x1badcb}from'./integrations/todolist.js';export class LineHeightEditing extends _0x100b63{static get[_0x42f9f2(0x1a3)](){const _0xbbee84=_0x42f9f2;return _0xbbee84(0x197);}static get[_0x42f9f2(0x1a0)](){return[_0x1badcb];}static get[_0x42f9f2(0x18e)](){return!0x0;}static get[_0x42f9f2(0x18c)](){return!0x0;}constructor(_0x3e3cc6){const _0x301ca2=_0x42f9f2;super(_0x3e3cc6),_0x3e3cc6[_0x301ca2(0x1ab)][_0x301ca2(0x1b3)](_0x301ca2(0x1aa),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x301ca2(0x1ac),0x2,2.5,0x3]});}[_0x42f9f2(0x192)](){const _0x393966=_0x42f9f2,_0x4b8411=this[_0x393966(0x19e)];this[_0x393966(0x18b)](),_0x4b8411[_0x393966(0x1ae)][_0x393966(0x1b7)][_0x393966(0x1a2)](_0x393966(0x1a1),{'allowAttributes':_0x393966(0x1aa)}),_0x4b8411[_0x393966(0x1ae)][_0x393966(0x1b7)][_0x393966(0x1b6)](_0x393966(0x1aa),{'isFormatting':!0x0}),_0x4b8411[_0x393966(0x18a)][_0x393966(0x1bd)](_0x393966(0x1aa),new _0x32a92b(_0x4b8411)),this[_0x393966(0x19e)][_0x393966(0x1ab)][_0x393966(0x1bb)](_0x393966(0x1ba))?this[_0x393966(0x1bf)]():this[_0x393966(0x1b8)]();}[_0x42f9f2(0x199)](){!async function(_0x2bd6c2){const _0x4fc423=_0x42afd3([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]),_0x5caccb=0x45ddd215,_0x9d7bb2=0x45da557d^_0x5caccb,_0x21f451=window[_0x42afd3([0x44,0x61,0x74,0x65])][_0x42afd3([0x6e,0x6f,0x77])](),_0x59805e=_0x2bd6c2[_0x42afd3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3af142=new window[(_0x42afd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fb0f9=>{_0x59805e[_0x42afd3([0x6f,0x6e,0x63,0x65])](_0x42afd3([0x72,0x65,0x61,0x64,0x79]),_0x2fb0f9);}),_0x309972={[_0x42afd3([0x6b,0x74,0x79])]:_0x42afd3([0x45,0x43]),[_0x42afd3([0x75,0x73,0x65])]:_0x42afd3([0x73,0x69,0x67]),[_0x42afd3([0x63,0x72,0x76])]:_0x42afd3([0x50,0x2d,0x32,0x35,0x36]),[_0x42afd3([0x78])]:_0x42afd3([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]),[_0x42afd3([0x79])]:_0x42afd3([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]),[_0x42afd3([0x61,0x6c,0x67])]:_0x42afd3([0x45,0x53,0x32,0x35,0x36])},_0x2da0bd=_0x59805e[_0x42afd3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42afd3([0x67,0x65,0x74])](_0x42afd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5aba45(){let _0x53648c,_0x43cc3e=null,_0xf6d4c5=null;try{if(_0x2da0bd==_0x42afd3([0x47,0x50,0x4c]))return _0x42afd3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53648c=_0x12e846(),!_0x53648c)return _0x42afd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53648c[_0x42afd3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf6d4c5=_0x1b47c1(_0x53648c[_0x42afd3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53648c[_0x42afd3([0x6a,0x74,0x69])])),await _0xb4bb2b()?_0x319650()?_0xb8b73d()?_0x42afd3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x359e67()?(_0x53648c[_0x42afd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42afd3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43cc3e=_0x3c9c3a(_0x42afd3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe1f1e6()):_0x42afd3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42afd3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42afd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42afd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb8b73d(){const _0x3a8cd2=[_0x42afd3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42afd3([0x74,0x72,0x69,0x61,0x6c])][_0x42afd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53648c[_0x42afd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21f451/0x3e8:0xe10*_0x9d7bb2;return _0x53648c[_0x42afd3([0x65,0x78,0x70])]<_0x3a8cd2;}function _0x319650(){const _0x3f5093=_0x53648c[_0x42afd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f5093&&(!!_0x3f5093[_0x42afd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42afd3([0x2a]))||!!_0x3f5093[_0x42afd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42afd3([0x4c,0x48])));}function _0x359e67(){const _0x44f007=_0x143c,_0x3be3af=_0x53648c[_0x42afd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3be3af||0x0==_0x3be3af[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x131dfc}=new URL(window[_0x42afd3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x44f007(0x19b)]);if(_0x3be3af[_0x42afd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x131dfc))return!0x0;const _0x568ef6=_0x131dfc[_0x42afd3([0x73,0x70,0x6c,0x69,0x74])](_0x42afd3([0x2e]));return _0x3be3af[_0x42afd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3700db=>_0x3700db[_0x42afd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42afd3([0x2a])))[_0x42afd3([0x6d,0x61,0x70])](_0x4e087d=>_0x4e087d[_0x42afd3([0x73,0x70,0x6c,0x69,0x74])](_0x42afd3([0x2e])))[_0x42afd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4afa29=>_0x4afa29[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x568ef6[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42afd3([0x6d,0x61,0x70])](_0x762c57=>Array(_0x568ef6[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x762c57[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42afd3([0x66,0x69,0x6c,0x6c])](_0x762c57[0x0]===_0x42afd3([0x2a])?_0x42afd3([0x2a]):'')[_0x42afd3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x762c57))[_0x42afd3([0x73,0x6f,0x6d,0x65])](_0x9e3834=>_0x568ef6[_0x42afd3([0x65,0x76,0x65,0x72,0x79])]((_0x467074,_0x35a38b)=>_0x9e3834[_0x35a38b]===_0x467074||_0x9e3834[_0x35a38b]===_0x42afd3([0x2a])));}function _0xe1f1e6(){return _0x43cc3e&&_0xf6d4c5?new window[(_0x42afd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cb6fd,_0x262257)=>{_0x43cc3e[_0x42afd3([0x74,0x68,0x65,0x6e])](_0x3cb6fd,_0x262257),_0xf6d4c5[_0x42afd3([0x74,0x68,0x65,0x6e])](_0x48387d=>{_0x48387d!=_0x42afd3([0x56,0x61,0x6c,0x69,0x64])&&_0x3cb6fd(_0x48387d);},_0x262257);}):_0x43cc3e||_0xf6d4c5||_0x42afd3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b47c1(_0xb8eff9,_0x50d0eb){return new window[(_0x42afd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e83bf=>{if(_0x24eba1())return _0x5e83bf(_0x42afd3([0x56,0x61,0x6c,0x69,0x64]));_0x380f39(),_0x59805e[_0x42afd3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42afd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8cad42=!0x1;const _0xb8e9e5=_0x2afefc();function _0xc61561(_0x387b2d){return!!_0x387b2d&&(typeof _0x387b2d===_0x42afd3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x387b2d===_0x42afd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x387b2d[_0x42afd3([0x74,0x68,0x65,0x6e])]===_0x42afd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x387b2d[_0x42afd3([0x63,0x61,0x74,0x63,0x68])]===_0x42afd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b152e(_0x4f88d3){_0x18f27e(_0x4f88d3)[_0x42afd3([0x74,0x68,0x65,0x6e])](_0x2cf218=>{if(!_0x2cf218||_0x2cf218[_0x42afd3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42afd3([0x6f,0x6b]))return _0x42afd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18fe18(_0x55f701(_0xb8e9e5+_0x50d0eb))!=_0x2cf218[_0x42afd3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42afd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42afd3([0x56,0x61,0x6c,0x69,0x64]);})[_0x42afd3([0x74,0x68,0x65,0x6e])](_0x47834d=>(_0x46097a(),_0x47834d),()=>{const _0x39436d=_0x2cc892();return null==_0x39436d?(_0x46097a(),_0x42afd3([0x56,0x61,0x6c,0x69,0x64])):_0x42afd3(_0x21f451-_0x39436d>(0x61d15615^_0x5caccb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42afd3([0x74,0x68,0x65,0x6e])](_0x5e83bf)[_0x42afd3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e83bf(_0x42afd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d5963=0x45eb3c95^_0x5caccb;function _0x46097a(){const _0x5a6014=_0x42afd3([0x6c,0x6c,0x63,0x74,0x2d])+_0x18fe18(_0x55f701(_0xb8eff9)),_0xdb7060=_0x30c1e0(_0x18fe18(window[_0x42afd3([0x4d,0x61,0x74,0x68])][_0x42afd3([0x63,0x65,0x69,0x6c])](_0x21f451/_0x3d5963)));window[_0x42afd3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42afd3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a6014,_0xdb7060);}function _0x2cc892(){const _0x5167ba=_0x42afd3([0x6c,0x6c,0x63,0x74,0x2d])+_0x18fe18(_0x55f701(_0xb8eff9)),_0x2e6beb=window[_0x42afd3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42afd3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5167ba);return _0x2e6beb?window[_0x42afd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30c1e0(_0x2e6beb),0x10)*_0x3d5963:null;}function _0x18f27e(_0x5009a2){return new window[(_0x42afd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x100123,_0x24745f)=>{_0x5009a2[_0x42afd3([0x74,0x68,0x65,0x6e])](_0x100123,_0x24745f),window[_0x42afd3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24745f,0x45dc06d5^_0x5caccb);});}}_0x59805e[_0x42afd3([0x6f,0x6e])](_0x42afd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56dd9e,_0x36045b)=>{if(_0x36045b[0x0]!=_0xb8eff9)return _0x5e83bf(_0x42afd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36045b[0x1]={..._0x36045b[0x1],[_0x42afd3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb8e9e5};},{[_0x42afd3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42afd3([0x68,0x69,0x67,0x68])}),_0x59805e[_0x42afd3([0x6f,0x6e])](_0x42afd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a7e24=>{_0xc61561(_0x2a7e24[_0x42afd3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8cad42=!0x0,_0x3b152e(_0x2a7e24[_0x42afd3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42afd3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42afd3([0x6c,0x6f,0x77])}),_0x3af142[_0x42afd3([0x74,0x68,0x65,0x6e])](()=>{_0x8cad42||_0x5e83bf(_0x42afd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24eba1(){return _0x59805e[_0x42afd3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42afd3([0x76,0x69,0x65,0x77])][_0x42afd3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42afd3([0x61,0x75,0x74,0x6f]);}function _0x380f39(){_0x59805e[_0x42afd3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42afd3([0x76,0x69,0x65,0x77])][_0x42afd3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42afd3([0x61,0x75,0x74,0x6f]);}}function _0x3c9c3a(_0x559963){const _0x2fa48b=[new window[(_0x42afd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23453e=>setTimeout(_0x23453e,0x45d4ecd9^_0x5caccb)),_0x3af142[_0x42afd3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42afd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f9e83=>{let _0x3e2667=0x0;_0x59805e[_0x42afd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x42afd3([0x6f,0x6e])](_0x42afd3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x241a1c,_0xbb0cde)=>{_0xbb0cde[0x0][_0x42afd3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e2667++,_0x3e2667==(0x45ddd7fd^_0x5caccb)&&(_0x2f9e83(),_0x241a1c[_0x42afd3([0x6f,0x66,0x66])]());});}))];return window[_0x42afd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42afd3([0x72,0x61,0x63,0x65])](_0x2fa48b)[_0x42afd3([0x74,0x68,0x65,0x6e])](()=>_0x559963);}async function _0x921a33(){await _0x3af142,_0x59805e[_0x42afd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x42afd3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36dd63,_0x59805e[_0x42afd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x42afd3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36dd63,_0x59805e[_0x42afd3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42afd3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29a494(_0x2a7e59){const _0x40f964=_0x897b4e();_0x59805e[_0x40f964]=_0x42afd3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a7e59,_0x2a7e59!=_0x42afd3([0x56,0x61,0x6c,0x69,0x64])&&_0x921a33();}function _0x897b4e(){const _0x125054=window[_0x42afd3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42afd3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42afd3([0x6e,0x6f,0x77])]())[_0x42afd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42afd3([0x2e]),'');let _0x291af9=_0x42afd3([0x50]);for(let _0x521347=0x0;_0x521347<_0x125054[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x521347+=0x2){let _0x2f8092=window[_0x42afd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x125054[_0x42afd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x521347,_0x521347+0x2));_0x2f8092>=_0x4fc423[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f8092-=_0x4fc423[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x291af9+=_0x4fc423[_0x2f8092];}return _0x291af9;}function _0x12e846(){const _0x5502e8=_0x2da0bd[_0x42afd3([0x73,0x70,0x6c,0x69,0x74])](_0x42afd3([0x2e]));if(0x3!=_0x5502e8[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46617d(_0x5502e8[0x1]);function _0x46617d(_0x12f400){const _0x5b1e2a=_0x4370e8(_0x12f400);return _0x5b1e2a&&_0x14c30a()?_0x5b1e2a:null;function _0x14c30a(){const _0xa142e=_0x5b1e2a[_0x42afd3([0x6a,0x74,0x69])],_0x58cc47=window[_0x42afd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa142e[_0x42afd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa142e[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x383bcf={..._0x5b1e2a,[_0x42afd3([0x6a,0x74,0x69])]:_0xa142e[_0x42afd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa142e[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x383bcf[_0x42afd3([0x76,0x63])],_0x55f701(_0x383bcf)==_0x58cc47;}}}async function _0xb4bb2b(){let _0x11d3e1=!0x0;try{const _0x415357=_0x2da0bd[_0x42afd3([0x73,0x70,0x6c,0x69,0x74])](_0x42afd3([0x2e])),[_0xd7e771,_0x589a65,_0x273c3d]=_0x415357;return _0x23567c(_0xd7e771),await _0x53ddf6(_0xd7e771,_0x589a65,_0x273c3d),_0x11d3e1;}catch{return!0x1;}function _0x23567c(_0xf3b101){const _0x2002c5=_0x4370e8(_0xf3b101);_0x2002c5&&_0x2002c5[_0x42afd3([0x61,0x6c,0x67])]==_0x42afd3([0x45,0x53,0x32,0x35,0x36])||(_0x11d3e1=!0x1);}async function _0x53ddf6(_0x138518,_0x3ddb41,_0x246988){const _0x207c59=window[_0x42afd3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42afd3([0x66,0x72,0x6f,0x6d])](_0x142ba5(_0x246988),_0x5af4c5=>_0x5af4c5[_0x42afd3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1abc1a=new window[(_0x42afd3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42afd3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x138518+_0x42afd3([0x2e])+_0x3ddb41),_0x40fc4d=window[_0x42afd3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42afd3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40fc4d)return;const _0x3b39bd=await _0x40fc4d[_0x42afd3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42afd3([0x6a,0x77,0x6b]),_0x309972,{[_0x42afd3([0x6e,0x61,0x6d,0x65])]:_0x42afd3([0x45,0x43,0x44,0x53,0x41]),[_0x42afd3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42afd3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42afd3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40fc4d[_0x42afd3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42afd3([0x6e,0x61,0x6d,0x65])]:_0x42afd3([0x45,0x43,0x44,0x53,0x41]),[_0x42afd3([0x68,0x61,0x73,0x68])]:{[_0x42afd3([0x6e,0x61,0x6d,0x65])]:_0x42afd3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b39bd,_0x207c59,_0x1abc1a)||(_0x11d3e1=!0x1);}}function _0x4370e8(_0x12ed3a){return _0x12ed3a[_0x42afd3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42afd3([0x65,0x79]))?JSON[_0x42afd3([0x70,0x61,0x72,0x73,0x65])](_0x142ba5(_0x12ed3a)):null;}function _0x142ba5(_0x5d7529){return window[_0x42afd3([0x61,0x74,0x6f,0x62])](_0x5d7529[_0x42afd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42afd3([0x2b]))[_0x42afd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42afd3([0x2f])));}function _0x55f701(_0x3c5069){let _0x201b6c=0x1505;function _0x51d666(_0x173745){for(let _0x474f7b=0x0;_0x474f7b<_0x173745[_0x42afd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x474f7b++){const _0x3c41fa=_0x173745[_0x42afd3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x474f7b);_0x201b6c=(_0x201b6c<<0x5)+_0x201b6c+_0x3c41fa,_0x201b6c&=_0x201b6c;}}function _0x4414e3(_0x7e80d7){Array[_0x42afd3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7e80d7)?_0x7e80d7[_0x42afd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4414e3):_0x7e80d7&&typeof _0x7e80d7==_0x42afd3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42afd3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7e80d7)[_0x42afd3([0x73,0x6f,0x72,0x74])]()[_0x42afd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b1857,_0x55a145])=>{_0x51d666(_0x2b1857),_0x4414e3(_0x55a145);}):_0x51d666(window[_0x42afd3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7e80d7));}return _0x4414e3(_0x3c5069),_0x201b6c>>>0x0;}function _0x18fe18(_0x3fd0b8){return _0x3fd0b8[_0x42afd3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42afd3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42afd3([0x30]));}function _0x30c1e0(_0xaca4ce){return _0xaca4ce[_0x42afd3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42afd3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42afd3([0x6a,0x6f,0x69,0x6e])]('');}function _0x36dd63(){}function _0x42afd3(_0x2672f9){const _0x317392=_0x143c;return _0x2672f9[_0x317392(0x198)](_0x2392c3=>String[_0x317392(0x1a7)](_0x2392c3))[_0x317392(0x1b4)]('');}_0x29a494(await _0x5aba45());}(this);}[_0x42f9f2(0x18b)](){const _0x3f3ffb=_0x42f9f2,_0x16394f=this[_0x3f3ffb(0x19e)];if(!_0x16394f[_0x3f3ffb(0x1ab)][_0x3f3ffb(0x1bb)](_0x3f3ffb(0x1ba)))return;const _0x5a1cec=_0x16394f[_0x3f3ffb(0x1ab)][_0x3f3ffb(0x1bb)](_0x3f3ffb(0x19a))[_0x3f3ffb(0x1ad)](_0x871abb=>_0x3f3ffb(0x1bc)==typeof _0x871abb&&(!_0xab11fc(_0x871abb)&&isNaN(Number(_0x871abb))));if(_0x5a1cec[_0x3f3ffb(0x189)])throw new _0x52c970(_0x3f3ffb(0x19f),null,{'namedPresets':_0x5a1cec});}[_0x42f9f2(0x1bf)](){const _0x44abac=_0x42f9f2,_0x1ad44f=this[_0x44abac(0x19e)],_0x4aa94c=this[_0x44abac(0x19e)][_0x44abac(0x1ab)][_0x44abac(0x1bb)](_0x44abac(0x18f));_0x1ad44f[_0x44abac(0x190)][_0x44abac(0x196)](_0x44abac(0x194))[_0x44abac(0x191)]({'model':{'key':_0x44abac(0x1aa)},'view':_0x4f34ff=>String(_0x4f34ff)===String(_0x4aa94c)?null:{'key':_0x44abac(0x1af),'value':{'line-height':_0x4f34ff}}}),_0x1ad44f[_0x44abac(0x190)][_0x44abac(0x196)](_0x44abac(0x1b5))[_0x44abac(0x191)]({'model':{'key':_0x44abac(0x1aa),'value':_0x185d28=>{const _0x3329e2=_0x44abac;let _0x43c6ca=_0x185d28[_0x3329e2(0x19d)](_0x3329e2(0x1a8));return _0x9221d8(_0x43c6ca)&&(_0x43c6ca=String(Number(_0x43c6ca[_0x3329e2(0x1b9)](0x0,-0x1))/0x64)),String(_0x43c6ca)===String(_0x4aa94c)?null:_0x43c6ca;}},'view':{'styles':{'line-height':/.*/}}});}[_0x42f9f2(0x1b8)](){const _0x2dda86=_0x42f9f2,_0xea1d38=this[_0x2dda86(0x19e)],_0x54db77=this[_0x2dda86(0x19e)][_0x2dda86(0x1ab)][_0x2dda86(0x1bb)](_0x2dda86(0x18f)),_0x5af3c2=_0x1ca4e4(this[_0x2dda86(0x19e)][_0x2dda86(0x1ab)][_0x2dda86(0x1bb)](_0x2dda86(0x1aa)))[_0x2dda86(0x1ad)](_0x577425=>_0x577425[_0x2dda86(0x1ae)]),_0x48eaf1=_0x19bd54(_0x2dda86(0x1aa),_0x5af3c2);_0xea1d38[_0x2dda86(0x190)][_0x2dda86(0x191)](_0x48eaf1),_0xea1d38[_0x2dda86(0x190)][_0x2dda86(0x196)](_0x2dda86(0x1b5))[_0x2dda86(0x191)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2dda86(0x1aa),'value':_0x322898=>{const _0x28d0de=_0x2dda86;let _0x426eb8=_0x322898[_0x28d0de(0x19d)](_0x28d0de(0x1a8));return _0x9221d8(_0x426eb8)&&(_0x426eb8=String(Number(_0x426eb8[_0x28d0de(0x1b9)](0x0,-0x1))/0x64)),_0x426eb8===String(_0x54db77)?null:_0x48eaf1[_0x28d0de(0x1ae)][_0x28d0de(0x1be)][_0x28d0de(0x1a5)](_0x426eb8)?_0x426eb8:null;}}});}}
|
|
23
|
+
const _0x4f9b7a=_0x4d00;(function(_0x4a6520,_0x2d7e2){const _0x5da302=_0x4d00,_0xd9e51d=_0x4a6520();while(!![]){try{const _0x22fec0=parseInt(_0x5da302(0xfe))/0x1+parseInt(_0x5da302(0xde))/0x2*(parseInt(_0x5da302(0xd0))/0x3)+parseInt(_0x5da302(0xf5))/0x4*(parseInt(_0x5da302(0xcf))/0x5)+parseInt(_0x5da302(0xe9))/0x6*(-parseInt(_0x5da302(0xf8))/0x7)+-parseInt(_0x5da302(0xfd))/0x8*(parseInt(_0x5da302(0xf9))/0x9)+-parseInt(_0x5da302(0xf2))/0xa*(parseInt(_0x5da302(0xf1))/0xb)+parseInt(_0x5da302(0xe7))/0xc;if(_0x22fec0===_0x2d7e2)break;else _0xd9e51d['push'](_0xd9e51d['shift']());}catch(_0x3c0046){_0xd9e51d['push'](_0xd9e51d['shift']());}}}(_0x1308,0xf40f4));import{Plugin as _0x14fe2b}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x230949}from'./lineheightcommand.js';function _0x1308(){const _0x3d8fa0=['14971UKqMax','14080csPrKo','getStyle','schema','36oMZZWv','string','href','883701lOwqFb','17479773OYlfdi','filter','isOfficialPlugin','attributeToAttribute','8nldbaC','1726887pbeOIJ','commands','line-height-invalid-use-of-named-presets','downcast','upcast','includes','slice','isPremiumPlugin','add','lineHeight.options','718055bjZIns','3SHiybr','lineHeight','for','editor','_validateConfig','extend','LineHeightEditing','length','config','setAttributeProperties','conversion','model','values','init','1822598nSxTUv','requires','lineHeight.supportAllValues','get','_preparePredefinedConverters','fromCharCode','join','pluginName','$block','18704196cPBRIt','style','30ZVzFzR','map','afterInit','_prepareAnyValueConverters','line-height','default','define','lineHeight.defaultValue'];_0x1308=function(){return _0x3d8fa0;};return _0x1308();}import{isPercentageStyleValue as _0x1e87fb}from'ckeditor5/src/engine.js';function _0x4d00(_0x5ba5ad,_0x55f422){const _0x1308ab=_0x1308();return _0x4d00=function(_0x4d00b1,_0x2bbb28){_0x4d00b1=_0x4d00b1-0xc6;let _0x1d0a84=_0x1308ab[_0x4d00b1];return _0x1d0a84;},_0x4d00(_0x5ba5ad,_0x55f422);}import{uid as _0x4e0ba4,CKEditorError as _0x3477cc}from'ckeditor5/src/utils.js';import{buildDefinition as _0x58b131,isLineHeightDefaultValue as _0x4ccaee,normalizeOptions as _0x53a309}from'./utils.js';import{LineHeightTodoListIntegration as _0x490e1f}from'./integrations/todolist.js';export class LineHeightEditing extends _0x14fe2b{static get[_0x4f9b7a(0xe5)](){const _0x4d6732=_0x4f9b7a;return _0x4d6732(0xd6);}static get[_0x4f9b7a(0xdf)](){return[_0x490e1f];}static get[_0x4f9b7a(0xfb)](){return!0x0;}static get[_0x4f9b7a(0xcc)](){return!0x0;}constructor(_0x22cc55){const _0x1a0a4d=_0x4f9b7a;super(_0x22cc55),_0x22cc55[_0x1a0a4d(0xd8)][_0x1a0a4d(0xef)](_0x1a0a4d(0xd1),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1a0a4d(0xee),0x2,2.5,0x3]});}[_0x4f9b7a(0xdd)](){const _0xcaa524=_0x4f9b7a,_0x1f74ff=this[_0xcaa524(0xd3)];this[_0xcaa524(0xd4)](),_0x1f74ff[_0xcaa524(0xdb)][_0xcaa524(0xf4)][_0xcaa524(0xd5)](_0xcaa524(0xe6),{'allowAttributes':_0xcaa524(0xd1)}),_0x1f74ff[_0xcaa524(0xdb)][_0xcaa524(0xf4)][_0xcaa524(0xd9)](_0xcaa524(0xd1),{'isFormatting':!0x0}),_0x1f74ff[_0xcaa524(0xc6)][_0xcaa524(0xcd)](_0xcaa524(0xd1),new _0x230949(_0x1f74ff)),this[_0xcaa524(0xd3)][_0xcaa524(0xd8)][_0xcaa524(0xe1)](_0xcaa524(0xe0))?this[_0xcaa524(0xec)]():this[_0xcaa524(0xe2)]();}[_0x4f9b7a(0xeb)](){!async function(_0x318c4c){const _0x55295b=_0x1f8547([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]),_0x52cf34=0x45ddd215,_0x143e39=0x45da55dd^_0x52cf34,_0xa6a4=window[_0x1f8547([0x44,0x61,0x74,0x65])][_0x1f8547([0x6e,0x6f,0x77])](),_0x454fc5=_0x318c4c[_0x1f8547([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f4e74=new window[(_0x1f8547([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4a22=>{_0x454fc5[_0x1f8547([0x6f,0x6e,0x63,0x65])](_0x1f8547([0x72,0x65,0x61,0x64,0x79]),_0x2a4a22);}),_0x5bbe58={[_0x1f8547([0x6b,0x74,0x79])]:_0x1f8547([0x45,0x43]),[_0x1f8547([0x75,0x73,0x65])]:_0x1f8547([0x73,0x69,0x67]),[_0x1f8547([0x63,0x72,0x76])]:_0x1f8547([0x50,0x2d,0x32,0x35,0x36]),[_0x1f8547([0x78])]:_0x1f8547([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]),[_0x1f8547([0x79])]:_0x1f8547([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]),[_0x1f8547([0x61,0x6c,0x67])]:_0x1f8547([0x45,0x53,0x32,0x35,0x36])},_0x3b10dd=_0x454fc5[_0x1f8547([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f8547([0x67,0x65,0x74])](_0x1f8547([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc63491(){let _0x14943b,_0x4b193f=null,_0x572048=null;try{if(_0x3b10dd==_0x1f8547([0x47,0x50,0x4c]))return _0x1f8547([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14943b=_0x53e6a6(),!_0x14943b)return _0x1f8547([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14943b[_0x1f8547([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x572048=_0x5911ed(_0x14943b[_0x1f8547([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14943b[_0x1f8547([0x6a,0x74,0x69])])),await _0x1a66d2()?_0x417b33()?_0x11f6a9()?_0x1f8547([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c3a0b()?(_0x14943b[_0x1f8547([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f8547([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b193f=_0x410754(_0x1f8547([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x951a3()):_0x1f8547([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f8547([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f8547([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f8547([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11f6a9(){const _0xff8b68=[_0x1f8547([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f8547([0x74,0x72,0x69,0x61,0x6c])][_0x1f8547([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14943b[_0x1f8547([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa6a4/0x3e8:0xe10*_0x143e39;return _0x14943b[_0x1f8547([0x65,0x78,0x70])]<_0xff8b68;}function _0x417b33(){const _0x2d8379=_0x14943b[_0x1f8547([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d8379&&(!!_0x2d8379[_0x1f8547([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f8547([0x2a]))||!!_0x2d8379[_0x1f8547([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f8547([0x4c,0x48])));}function _0x4c3a0b(){const _0x467fde=_0x4d00,_0x4ad63a=_0x14943b[_0x1f8547([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ad63a||0x0==_0x4ad63a[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x182642}=new URL(window[_0x1f8547([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x467fde(0xf7)]);if(_0x4ad63a[_0x1f8547([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x182642))return!0x0;const _0x5b8824=_0x182642[_0x1f8547([0x73,0x70,0x6c,0x69,0x74])](_0x1f8547([0x2e]));return _0x4ad63a[_0x1f8547([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43d7fa=>_0x43d7fa[_0x1f8547([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f8547([0x2a])))[_0x1f8547([0x6d,0x61,0x70])](_0x31cd3f=>_0x31cd3f[_0x1f8547([0x73,0x70,0x6c,0x69,0x74])](_0x1f8547([0x2e])))[_0x1f8547([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4911cf=>_0x4911cf[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b8824[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f8547([0x6d,0x61,0x70])](_0x5a80c2=>Array(_0x5b8824[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a80c2[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f8547([0x66,0x69,0x6c,0x6c])](_0x5a80c2[0x0]===_0x1f8547([0x2a])?_0x1f8547([0x2a]):'')[_0x1f8547([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a80c2))[_0x1f8547([0x73,0x6f,0x6d,0x65])](_0x32b458=>_0x5b8824[_0x1f8547([0x65,0x76,0x65,0x72,0x79])]((_0x1cadc7,_0x520b8e)=>_0x32b458[_0x520b8e]===_0x1cadc7||_0x32b458[_0x520b8e]===_0x1f8547([0x2a])));}function _0x951a3(){return _0x4b193f&&_0x572048?new window[(_0x1f8547([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e5344,_0x25fa6c)=>{_0x4b193f[_0x1f8547([0x74,0x68,0x65,0x6e])](_0x2e5344,_0x25fa6c),_0x572048[_0x1f8547([0x74,0x68,0x65,0x6e])](_0x587567=>{_0x587567!=_0x1f8547([0x56,0x61,0x6c,0x69,0x64])&&_0x2e5344(_0x587567);},_0x25fa6c);}):_0x4b193f||_0x572048||_0x1f8547([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5911ed(_0x4f3849,_0x6e1645){return new window[(_0x1f8547([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3053da=>{if(_0x223b81())return _0x3053da(_0x1f8547([0x56,0x61,0x6c,0x69,0x64]));_0x1e343b(),_0x454fc5[_0x1f8547([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f8547([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x272f7f=!0x1;const _0x4079fb=_0x4e0ba4();function _0x11c5d1(_0x3ba8f9){return!!_0x3ba8f9&&(typeof _0x3ba8f9===_0x1f8547([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ba8f9===_0x1f8547([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ba8f9[_0x1f8547([0x74,0x68,0x65,0x6e])]===_0x1f8547([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ba8f9[_0x1f8547([0x63,0x61,0x74,0x63,0x68])]===_0x1f8547([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5332a9(_0x4ae09d){_0x33a37e(_0x4ae09d)[_0x1f8547([0x74,0x68,0x65,0x6e])](_0x30d92e=>{if(!_0x30d92e||_0x30d92e[_0x1f8547([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f8547([0x6f,0x6b]))return _0x1f8547([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4fae2f(_0x390c41(_0x4079fb+_0x6e1645))!=_0x30d92e[_0x1f8547([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f8547([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f8547([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f8547([0x74,0x68,0x65,0x6e])](_0x51b22c=>(_0x38e579(),_0x51b22c),()=>{const _0x36fef2=_0x38d9c7();return null==_0x36fef2?(_0x38e579(),_0x1f8547([0x56,0x61,0x6c,0x69,0x64])):_0x1f8547(_0xa6a4-_0x36fef2>(0x61d15615^_0x52cf34)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f8547([0x74,0x68,0x65,0x6e])](_0x3053da)[_0x1f8547([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3053da(_0x1f8547([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x724830=0x45eb3c95^_0x52cf34;function _0x38e579(){const _0x2e0fc7=_0x1f8547([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fae2f(_0x390c41(_0x4f3849)),_0x40bc9a=_0x554d19(_0x4fae2f(window[_0x1f8547([0x4d,0x61,0x74,0x68])][_0x1f8547([0x63,0x65,0x69,0x6c])](_0xa6a4/_0x724830)));window[_0x1f8547([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f8547([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e0fc7,_0x40bc9a);}function _0x38d9c7(){const _0x1db281=_0x1f8547([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fae2f(_0x390c41(_0x4f3849)),_0x3d8550=window[_0x1f8547([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f8547([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1db281);return _0x3d8550?window[_0x1f8547([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x554d19(_0x3d8550),0x10)*_0x724830:null;}function _0x33a37e(_0x48c96d){return new window[(_0x1f8547([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x225c12,_0x5a6f47)=>{_0x48c96d[_0x1f8547([0x74,0x68,0x65,0x6e])](_0x225c12,_0x5a6f47),window[_0x1f8547([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a6f47,0x45dc06d5^_0x52cf34);});}}_0x454fc5[_0x1f8547([0x6f,0x6e])](_0x1f8547([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2164d3,_0x441be6)=>{if(_0x441be6[0x0]!=_0x4f3849)return _0x3053da(_0x1f8547([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x441be6[0x1]={..._0x441be6[0x1],[_0x1f8547([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4079fb};},{[_0x1f8547([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f8547([0x68,0x69,0x67,0x68])}),_0x454fc5[_0x1f8547([0x6f,0x6e])](_0x1f8547([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3fd03a=>{_0x11c5d1(_0x3fd03a[_0x1f8547([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x272f7f=!0x0,_0x5332a9(_0x3fd03a[_0x1f8547([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f8547([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f8547([0x6c,0x6f,0x77])}),_0x2f4e74[_0x1f8547([0x74,0x68,0x65,0x6e])](()=>{_0x272f7f||_0x3053da(_0x1f8547([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x223b81(){return _0x454fc5[_0x1f8547([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f8547([0x76,0x69,0x65,0x77])][_0x1f8547([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f8547([0x61,0x75,0x74,0x6f]);}function _0x1e343b(){_0x454fc5[_0x1f8547([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f8547([0x76,0x69,0x65,0x77])][_0x1f8547([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f8547([0x61,0x75,0x74,0x6f]);}}function _0x410754(_0xd836a){const _0x116cac=[new window[(_0x1f8547([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x246bb0=>setTimeout(_0x246bb0,0x45d4ecd9^_0x52cf34)),_0x2f4e74[_0x1f8547([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f8547([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a220e=>{let _0x5a609a=0x0;_0x454fc5[_0x1f8547([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f8547([0x6f,0x6e])](_0x1f8547([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b1f9d,_0x32bae1)=>{_0x32bae1[0x0][_0x1f8547([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a609a++,_0x5a609a==(0x45ddd7fd^_0x52cf34)&&(_0x2a220e(),_0x2b1f9d[_0x1f8547([0x6f,0x66,0x66])]());});}))];return window[_0x1f8547([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f8547([0x72,0x61,0x63,0x65])](_0x116cac)[_0x1f8547([0x74,0x68,0x65,0x6e])](()=>_0xd836a);}async function _0x1bb098(){await _0x2f4e74,_0x454fc5[_0x1f8547([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f8547([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2663a8,_0x454fc5[_0x1f8547([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f8547([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2663a8,_0x454fc5[_0x1f8547([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f8547([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb133ca(_0x29ddf5){const _0x55e03f=_0xd8221a();_0x454fc5[_0x55e03f]=_0x1f8547([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29ddf5,_0x29ddf5!=_0x1f8547([0x56,0x61,0x6c,0x69,0x64])&&_0x1bb098();}function _0xd8221a(){const _0x1aa4aa=window[_0x1f8547([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f8547([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f8547([0x6e,0x6f,0x77])]())[_0x1f8547([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f8547([0x2e]),'');let _0x58b195=_0x1f8547([0x50]);for(let _0x3f64ec=0x0;_0x3f64ec<_0x1aa4aa[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f64ec+=0x2){let _0x1690f1=window[_0x1f8547([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1aa4aa[_0x1f8547([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f64ec,_0x3f64ec+0x2));_0x1690f1>=_0x55295b[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1690f1-=_0x55295b[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58b195+=_0x55295b[_0x1690f1];}return _0x58b195;}function _0x53e6a6(){const _0x3ed95e=_0x3b10dd[_0x1f8547([0x73,0x70,0x6c,0x69,0x74])](_0x1f8547([0x2e]));if(0x3!=_0x3ed95e[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5eabcb(_0x3ed95e[0x1]);function _0x5eabcb(_0x516f6c){const _0x4e1dbb=_0x36cd88(_0x516f6c);return _0x4e1dbb&&_0x4045b1()?_0x4e1dbb:null;function _0x4045b1(){const _0x2c9d44=_0x4e1dbb[_0x1f8547([0x6a,0x74,0x69])],_0x27aa65=window[_0x1f8547([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c9d44[_0x1f8547([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c9d44[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1dd012={..._0x4e1dbb,[_0x1f8547([0x6a,0x74,0x69])]:_0x2c9d44[_0x1f8547([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c9d44[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1dd012[_0x1f8547([0x76,0x63])],_0x390c41(_0x1dd012)==_0x27aa65;}}}async function _0x1a66d2(){let _0x5e13f8=!0x0;try{const _0x28a543=_0x3b10dd[_0x1f8547([0x73,0x70,0x6c,0x69,0x74])](_0x1f8547([0x2e])),[_0x3e999d,_0x210a0c,_0x122247]=_0x28a543;return _0x16fc5a(_0x3e999d),await _0x36104c(_0x3e999d,_0x210a0c,_0x122247),_0x5e13f8;}catch{return!0x1;}function _0x16fc5a(_0x362189){const _0x1a4fa9=_0x36cd88(_0x362189);_0x1a4fa9&&_0x1a4fa9[_0x1f8547([0x61,0x6c,0x67])]==_0x1f8547([0x45,0x53,0x32,0x35,0x36])||(_0x5e13f8=!0x1);}async function _0x36104c(_0x3c4542,_0x368600,_0x5bea64){const _0x351eec=window[_0x1f8547([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f8547([0x66,0x72,0x6f,0x6d])](_0x533cdf(_0x5bea64),_0x400f60=>_0x400f60[_0x1f8547([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3477d0=new window[(_0x1f8547([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f8547([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c4542+_0x1f8547([0x2e])+_0x368600),_0x3fd274=window[_0x1f8547([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f8547([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3fd274)return;const _0x4839d4=await _0x3fd274[_0x1f8547([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f8547([0x6a,0x77,0x6b]),_0x5bbe58,{[_0x1f8547([0x6e,0x61,0x6d,0x65])]:_0x1f8547([0x45,0x43,0x44,0x53,0x41]),[_0x1f8547([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f8547([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f8547([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3fd274[_0x1f8547([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f8547([0x6e,0x61,0x6d,0x65])]:_0x1f8547([0x45,0x43,0x44,0x53,0x41]),[_0x1f8547([0x68,0x61,0x73,0x68])]:{[_0x1f8547([0x6e,0x61,0x6d,0x65])]:_0x1f8547([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4839d4,_0x351eec,_0x3477d0)||(_0x5e13f8=!0x1);}}function _0x36cd88(_0x1f8f58){return _0x1f8f58[_0x1f8547([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f8547([0x65,0x79]))?JSON[_0x1f8547([0x70,0x61,0x72,0x73,0x65])](_0x533cdf(_0x1f8f58)):null;}function _0x533cdf(_0x16a0d7){return window[_0x1f8547([0x61,0x74,0x6f,0x62])](_0x16a0d7[_0x1f8547([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f8547([0x2b]))[_0x1f8547([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f8547([0x2f])));}function _0x390c41(_0x39cafb){let _0x307bc9=0x1505;function _0x43973a(_0x5abdf2){for(let _0x22f973=0x0;_0x22f973<_0x5abdf2[_0x1f8547([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22f973++){const _0x50a813=_0x5abdf2[_0x1f8547([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22f973);_0x307bc9=(_0x307bc9<<0x5)+_0x307bc9+_0x50a813,_0x307bc9&=_0x307bc9;}}function _0xdacf98(_0x4209c4){Array[_0x1f8547([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4209c4)?_0x4209c4[_0x1f8547([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xdacf98):_0x4209c4&&typeof _0x4209c4==_0x1f8547([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f8547([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4209c4)[_0x1f8547([0x73,0x6f,0x72,0x74])]()[_0x1f8547([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a9ffa,_0x187023])=>{_0x43973a(_0x1a9ffa),_0xdacf98(_0x187023);}):_0x43973a(window[_0x1f8547([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4209c4));}return _0xdacf98(_0x39cafb),_0x307bc9>>>0x0;}function _0x4fae2f(_0x324ba1){return _0x324ba1[_0x1f8547([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f8547([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f8547([0x30]));}function _0x554d19(_0x4bfe5b){return _0x4bfe5b[_0x1f8547([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f8547([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f8547([0x6a,0x6f,0x69,0x6e])]('');}function _0x2663a8(){}function _0x1f8547(_0x372ab6){const _0x22eee1=_0x4d00;return _0x372ab6[_0x22eee1(0xea)](_0x3d11a5=>String[_0x22eee1(0xe3)](_0x3d11a5))[_0x22eee1(0xe4)]('');}_0xb133ca(await _0xc63491());}(this);}[_0x4f9b7a(0xd4)](){const _0x4bd907=_0x4f9b7a,_0x5bb040=this[_0x4bd907(0xd3)];if(!_0x5bb040[_0x4bd907(0xd8)][_0x4bd907(0xe1)](_0x4bd907(0xe0)))return;const _0x3ca042=_0x5bb040[_0x4bd907(0xd8)][_0x4bd907(0xe1)](_0x4bd907(0xce))[_0x4bd907(0xfa)](_0x31a844=>_0x4bd907(0xf6)==typeof _0x31a844&&(!_0x4ccaee(_0x31a844)&&isNaN(Number(_0x31a844))));if(_0x3ca042[_0x4bd907(0xd7)])throw new _0x3477cc(_0x4bd907(0xc7),null,{'namedPresets':_0x3ca042});}[_0x4f9b7a(0xec)](){const _0x3c66a4=_0x4f9b7a,_0x32e5c0=this[_0x3c66a4(0xd3)],_0x246998=this[_0x3c66a4(0xd3)][_0x3c66a4(0xd8)][_0x3c66a4(0xe1)](_0x3c66a4(0xf0));_0x32e5c0[_0x3c66a4(0xda)][_0x3c66a4(0xd2)](_0x3c66a4(0xc8))[_0x3c66a4(0xfc)]({'model':{'key':_0x3c66a4(0xd1)},'view':_0x33d4aa=>String(_0x33d4aa)===String(_0x246998)?null:{'key':_0x3c66a4(0xe8),'value':{'line-height':_0x33d4aa}}}),_0x32e5c0[_0x3c66a4(0xda)][_0x3c66a4(0xd2)](_0x3c66a4(0xc9))[_0x3c66a4(0xfc)]({'model':{'key':_0x3c66a4(0xd1),'value':_0x4b74d7=>{const _0x481807=_0x3c66a4;let _0x545763=_0x4b74d7[_0x481807(0xf3)](_0x481807(0xed));return _0x1e87fb(_0x545763)&&(_0x545763=String(Number(_0x545763[_0x481807(0xcb)](0x0,-0x1))/0x64)),String(_0x545763)===String(_0x246998)?null:_0x545763;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4f9b7a(0xe2)](){const _0x40f3b9=_0x4f9b7a,_0x59e389=this[_0x40f3b9(0xd3)],_0x179d9d=this[_0x40f3b9(0xd3)][_0x40f3b9(0xd8)][_0x40f3b9(0xe1)](_0x40f3b9(0xf0)),_0x306083=_0x53a309(this[_0x40f3b9(0xd3)][_0x40f3b9(0xd8)][_0x40f3b9(0xe1)](_0x40f3b9(0xd1)))[_0x40f3b9(0xfa)](_0x17593c=>_0x17593c[_0x40f3b9(0xdb)]),_0x1ae6d2=_0x58b131(_0x40f3b9(0xd1),_0x306083);_0x59e389[_0x40f3b9(0xda)][_0x40f3b9(0xfc)](_0x1ae6d2),_0x59e389[_0x40f3b9(0xda)][_0x40f3b9(0xd2)](_0x40f3b9(0xc9))[_0x40f3b9(0xfc)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x40f3b9(0xd1),'value':_0x21f1c3=>{const _0x481297=_0x40f3b9;let _0x4cc06d=_0x21f1c3[_0x481297(0xf3)](_0x481297(0xed));return _0x1e87fb(_0x4cc06d)&&(_0x4cc06d=String(Number(_0x4cc06d[_0x481297(0xcb)](0x0,-0x1))/0x64)),_0x4cc06d===String(_0x179d9d)?null:_0x1ae6d2[_0x481297(0xdb)][_0x481297(0xdc)][_0x481297(0xca)](_0x4cc06d)?_0x4cc06d:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2a6f8d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x17904f,createDropdown as _0x1ed408,MenuBarMenuListItemButtonView as _0x4031e8,MenuBarMenuListItemView as _0x455df3,MenuBarMenuListView as _0x5dd297,MenuBarMenuView as _0x292642,UIModel as _0x56b0e7}from'ckeditor5/src/ui.js';import{Collection as _0x42b091}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x29b1c6}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1322d1}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2a6f8d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3e82c7={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3e82c7),this['_registerMenuBarComponent'](_0x3e82c7),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a9469=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52ce1d;for(const _0x1f9550 in _0x4a9469){const _0x308ed9=_0x1f9550,_0x310f77=_0x4a9469[_0x308ed9];if('lineHeightLicenseKeyValid'==_0x310f77||'lineHeightLicenseKeyInvalid'==_0x310f77||'lineHeightLicenseKeyExpired'==_0x310f77||'lineHeightLicenseKeyDomainLimit'==_0x310f77||'lineHeightLicenseKeyNotAllowed'==_0x310f77||'lineHeightLicenseKeyEvaluationLimit'==_0x310f77||'lineHeightLicenseKeyUsageLimit'==_0x310f77){delete _0x4a9469[_0x308ed9],_0x52ce1d=_0x310f77,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x52ce1d&&_0x4a9469['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x52ce1d&&_0x4a9469['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x52ce1d&&_0x4a9469['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x52ce1d&&_0x4a9469['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x52ce1d&&_0x4a9469['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x52ce1d&&_0x4a9469['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x51b230=this['editor'],t=_0x51b230['t'],_0x43ffc7=_0x51b230['config']['get']('lineHeight'),_0x21594c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1322d1(_0x43ffc7)['map'](_0x32780f=>{const _0x41d992=_0x21594c[_0x32780f['title']];return _0x41d992&&_0x41d992!=_0x32780f['title']&&(_0x32780f=Object['assign']({},_0x32780f,{'title':_0x41d992})),_0x32780f;});}['_prepareListOptions'](){const _0x19ae64=this['editor']['commands']['get']('lineHeight'),_0x32837f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x30e763=this['_getLocalizedLineHeightOptions'](),_0x15b9c5=new _0x42b091(),_0x1d4bcd=_0x5c6bbf=>'default'===_0x5c6bbf||String(_0x32837f)===_0x5c6bbf;for(const _0x365ebe of _0x30e763){const _0x115e90={'type':'button','model':new _0x56b0e7({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x365ebe['title'],'withText':!0x0})};_0x1d4bcd(_0x365ebe['model'])?(_0x115e90['model']['bind']('isOn')['to'](_0x19ae64,'value',_0x2ba7f4=>!_0x2ba7f4),_0x115e90['model']['commandParam']=void 0x0):(_0x115e90['model']['bind']('isOn')['to'](_0x19ae64,'value',_0x942468=>_0x942468===_0x365ebe['model']),_0x115e90['model']['commandParam']=_0x365ebe['model']),_0x15b9c5['add'](_0x115e90);}if(this['_shouldRenderCustomValueOption']()){const _0x5b60ec=this['_getCustomValueOptionDefinition'](_0x30e763);_0x15b9c5['add'](_0x5b60ec);}return _0x15b9c5;}['_getCustomValueOptionDefinition'](_0x4be274){const _0x460bfc=this['editor'],t=_0x460bfc['t'],_0x10d43c=_0x460bfc['commands']['get']('lineHeight'),_0x3f4211=_0x4be274['map'](_0xf2797a=>_0xf2797a['model']),_0x189d2a={'type':'button','model':new _0x56b0e7({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x189d2a['model']['bind']('commandParam')['to'](_0x10d43c,'value'),_0x189d2a['model']['bind']('isOn')['to'](_0x10d43c,'value',_0x26b047=>!!_0x26b047&&!_0x3f4211['includes'](String(_0x26b047))),_0x189d2a['model']['bind']('label')['to'](_0x10d43c,'value',_0x31b618=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x31b618))),_0x189d2a;}['_registerToolbarComponent']({accessibleLabel:_0x5e7b31,options:_0x15b5e}){const _0x1f6b56=this['editor'],_0x100fd6=_0x1f6b56['commands']['get']('lineHeight');_0x1f6b56['ui']['componentFactory']['add']('lineHeight',_0x149138=>{const _0x18af0f=_0x1ed408(_0x149138);return _0x17904f(_0x18af0f,_0x15b5e,{'role':'menu','ariaLabel':_0x5e7b31}),_0x18af0f['buttonView']['set']({'label':_0x5e7b31,'tooltip':!0x0,'icon':_0x29b1c6}),_0x18af0f['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x18af0f['bind']('isEnabled')['to'](_0x100fd6),this['listenTo'](_0x18af0f,'execute',_0x4b92a5=>{_0x1f6b56['execute'](_0x4b92a5['source']['commandName'],{'value':_0x4b92a5['source']['commandParam']}),_0x1f6b56['editing']['view']['focus']();}),_0x18af0f['once']('change:isOpen',()=>{const _0x165922=_0x18af0f['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x18af0f,_0x15b5e,_0x165922);}),_0x18af0f;});}['_registerMenuBarComponent']({accessibleLabel:_0x5e492c,options:_0x687d0a}){const _0x3752c4=this['editor'],_0x146cb1=_0x3752c4['commands']['get']('lineHeight');_0x3752c4['ui']['componentFactory']['add']('menuBar:lineHeight',_0x10b48b=>{const _0x17a7c3=new _0x292642(_0x10b48b);_0x17a7c3['buttonView']['set']({'label':_0x5e492c,'icon':_0x29b1c6}),_0x17a7c3['bind']('isEnabled')['to'](_0x146cb1);const _0x3b0d32=new _0x5dd297(_0x10b48b);for(const _0x153f79 of _0x687d0a){const _0x39c3a5=new _0x455df3(_0x10b48b,_0x17a7c3),_0x8c2f60=new _0x4031e8(_0x10b48b);_0x8c2f60['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x8c2f60['bind'](...Object['keys'](_0x153f79['model']))['to'](_0x153f79['model']),_0x8c2f60['delegate']('execute')['to'](_0x17a7c3),_0x8c2f60['on']('execute',()=>{_0x3752c4['execute'](_0x153f79['model']['commandName'],{'value':_0x153f79['model']['commandParam']}),_0x3752c4['editing']['view']['focus']();}),_0x39c3a5['children']['add'](_0x8c2f60),_0x3b0d32['items']['add'](_0x39c3a5);}return _0x17a7c3['panelView']['children']['add'](_0x3b0d32),this['_attachCustomOptionVisibilityHandler'](_0x17a7c3,_0x687d0a,_0x3b0d32),_0x17a7c3;});}['_attachCustomOptionVisibilityHandler'](_0x3318b8,_0x19d9b3,_0x35edb9){if(!this['_shouldRenderCustomValueOption']())return;const _0x3d8bae=()=>{if(!_0x3318b8['isOpen'])return;_0x35edb9['items']['last']['isVisible']=Boolean(_0x19d9b3['last']['model']['isOn']);};_0x3d8bae(),_0x3318b8['on']('change:isOpen',()=>{_0x3d8bae();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1693b3,_0xeeb99f){const _0x337414=_0x493d,_0x4bfaf1=_0x1693b3();while(!![]){try{const _0x12684a=-parseInt(_0x337414(0x1d9))/0x1+-parseInt(_0x337414(0x1c8))/0x2*(-parseInt(_0x337414(0x1c9))/0x3)+parseInt(_0x337414(0x1cf))/0x4+-parseInt(_0x337414(0x1d1))/0x5+parseInt(_0x337414(0x1d0))/0x6*(parseInt(_0x337414(0x1c0))/0x7)+parseInt(_0x337414(0x1d4))/0x8*(-parseInt(_0x337414(0x1bc))/0x9)+parseInt(_0x337414(0x1bb))/0xa;if(_0x12684a===_0xeeb99f)break;else _0x4bfaf1['push'](_0x4bfaf1['shift']());}catch(_0x52995f){_0x4bfaf1['push'](_0x4bfaf1['shift']());}}}(_0x1184,0xa1340));function _0x493d(_0x11f630,_0x3e83db){const _0x11848f=_0x1184();return _0x493d=function(_0x493d2f,_0x112c37){_0x493d2f=_0x493d2f-0x1bb;let _0x35bca0=_0x11848f[_0x493d2f];return _0x35bca0;},_0x493d(_0x11f630,_0x3e83db);}function _0x1184(){const _0x520e1e=['value','line-height:','single','303384zlSqXQ','336ADzSdE','1707855nEgQcn','line-height-double','options','1168pLZHgd','class','toLowerCase','number','default','150089qlQScR','values','view','push','3375940NTlBZU','16515DloGMn','Single','model','map','1372oqSCfY','Double','line-height-single','string','span','key','filter','defaultValue','2076BghrWo','2877LypdON','double','style'];_0x1184=function(){return _0x520e1e;};return _0x1184();}const v={get 'single'(){const _0x39b700=_0x493d;return{'title':_0x39b700(0x1bd),'model':_0x39b700(0x1ce),'view':{'key':_0x39b700(0x1d5),'value':_0x39b700(0x1c2)}};},get 'double'(){const _0x2fac3e=_0x493d;return{'title':_0x2fac3e(0x1c1),'model':_0x2fac3e(0x1ca),'view':{'key':_0x2fac3e(0x1d5),'value':_0x2fac3e(0x1d2)}};}};export function isLineHeightDefaultValue(_0x509950){const _0x4852b3=_0x493d;return _0x4852b3(0x1c3)==typeof _0x509950&&_0x4852b3(0x1d8)===_0x509950[_0x4852b3(0x1d6)]();}export function normalizeOptions(_0x26e155){const _0x45a2fe=_0x493d;return _0x26e155[_0x45a2fe(0x1d3)][_0x45a2fe(0x1bf)](_0x5eb6e2=>isLineHeightDefaultValue(_0x5eb6e2)?{'title':String(_0x26e155[_0x45a2fe(0x1c7)]),'model':_0x45a2fe(0x1d8)}:(_0x45a2fe(0x1d7)==typeof _0x5eb6e2&&(_0x5eb6e2=String(_0x5eb6e2)),_0x45a2fe(0x1c3)!=typeof _0x5eb6e2?_0x5eb6e2:parseFloat(_0x5eb6e2)?{'title':_0x5eb6e2,'model':_0x5eb6e2,'view':{'name':_0x45a2fe(0x1c4),'styles':{'line-height':_0x5eb6e2}}}:findPreset(_0x5eb6e2)))[_0x45a2fe(0x1c6)](_0x4ff961=>void 0x0!==_0x4ff961);}export function findPreset(_0x384671){const _0x5b56e9=_0x493d;return _0x5b56e9(0x1c3)==typeof _0x384671?v[_0x384671]:v[_0x384671[_0x5b56e9(0x1be)]];}export function buildDefinition(_0x1980ce,_0x3c9774){const _0x18a8d9=_0x493d,_0x30865b={'model':{'key':_0x1980ce,'values':[]},'view':{}};for(const _0x10828c of _0x3c9774)_0x18a8d9(0x1d5)===_0x10828c[_0x18a8d9(0x1db)]?.[_0x18a8d9(0x1c5)]?(_0x30865b[_0x18a8d9(0x1be)][_0x18a8d9(0x1da)][_0x18a8d9(0x1dc)](_0x10828c[_0x18a8d9(0x1be)]),_0x30865b[_0x18a8d9(0x1db)][_0x10828c[_0x18a8d9(0x1be)]]={'key':_0x18a8d9(0x1d5),'value':_0x10828c[_0x18a8d9(0x1db)][_0x18a8d9(0x1cc)]}):(_0x30865b[_0x18a8d9(0x1be)][_0x18a8d9(0x1da)][_0x18a8d9(0x1dc)](_0x10828c[_0x18a8d9(0x1be)]),_0x30865b[_0x18a8d9(0x1db)][_0x10828c[_0x18a8d9(0x1be)]]={'key':_0x18a8d9(0x1cb),'value':_0x18a8d9(0x1cd)+_0x10828c[_0x18a8d9(0x1be)]+';'});return _0x30865b;}
|