@ckeditor/ckeditor5-line-height 0.0.0-internal-20251211.0 → 0.0.0-internal-20251218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x513a0d=_0x3429;(function(_0x125ee3,_0x23b099){const _0x108a11=_0x3429,_0xc2aadd=_0x125ee3();while(!![]){try{const _0x17666b=-parseInt(_0x108a11(0x19d))/0x1+parseInt(_0x108a11(0x19e))/0x2*(parseInt(_0x108a11(0x199))/0x3)+-parseInt(_0x108a11(0x1a3))/0x4*(-parseInt(_0x108a11(0x19c))/0x5)+-parseInt(_0x108a11(0x1a8))/0x6+-parseInt(_0x108a11(0x1a1))/0x7+parseInt(_0x108a11(0x19f))/0x8+-parseInt(_0x108a11(0x1b0))/0x9;if(_0x17666b===_0x23b099)break;else _0xc2aadd['push'](_0xc2aadd['shift']());}catch(_0x3e3b96){_0xc2aadd['push'](_0xc2aadd['shift']());}}}(_0x7a82,0xddfba));function _0x3429(_0x4a488c,_0x1bfefe){const _0x7a8276=_0x7a82();return _0x3429=function(_0x342908,_0x137ef9){_0x342908=_0x342908-0x18b;let _0x567324=_0x7a8276[_0x342908];return _0x567324;},_0x3429(_0x4a488c,_0x1bfefe);}import{Plugin as _0x44a386}from'ckeditor5/src/core.js';import{Matcher as _0x14af3d}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x7a82(){const _0x2462fe=['paragraph','ListEditing','item','name','listType','editor','match','5346900guzGVy','add','registerDowncastStrategy','addClass','isPremiumPlugin','elementToElement','init','lineHeight','has','pluginName','high','ck-list-marker-line-height','getAttribute','--ck-content-list-marker-line-height','LineHeightTodoListIntegration','consume','viewItem','for','upcast','TodoListEditing','72XCSLOg','span','todo-list__label__description','854005rGIjuL','1219764yvjRhK','71052ZsuxML','8531880enDsMh','element:li','145922nggQVP','isOfficialPlugin','28KUYorq','setStyle','todo','get','consumable','2224584jZUWDD'];_0x7a82=function(){return _0x2462fe;};return _0x7a82();}export class LineHeightTodoListIntegration extends _0x44a386{static get[_0x513a0d(0x18e)](){const _0xc61259=_0x513a0d;return _0xc61259(0x193);}static get[_0x513a0d(0x1a2)](){return!0x0;}static get[_0x513a0d(0x1b4)](){return!0x0;}[_0x513a0d(0x18b)](){const _0x1a1698=_0x513a0d,{plugins:_0x457dac,conversion:_0x379349}=this[_0x1a1698(0x1ae)];if(!_0x457dac[_0x1a1698(0x18d)](_0x1a1698(0x1aa))||!_0x457dac[_0x1a1698(0x18d)](_0x1a1698(0x198)))return;_0x457dac[_0x1a1698(0x1a6)](_0x1a1698(0x1aa))[_0x1a1698(0x1b2)]({'scope':_0x1a1698(0x1ab),'attributeName':_0x1a1698(0x18c),'consume':!0x1,'setAttributeOnDowncast'(_0x20d544,_0x2faa91,_0xfd9130,_0xc2d046,_0x3fd260){const _0x3ff8ca=_0x1a1698;_0x3ff8ca(0x1a5)==_0x3fd260[_0x3ff8ca(0x191)](_0x3ff8ca(0x1ad))&&_0x2faa91&&(_0x20d544[_0x3ff8ca(0x1b3)](_0x3ff8ca(0x190),_0xfd9130),_0x20d544[_0x3ff8ca(0x1a4)](_0x3ff8ca(0x192),_0x2faa91,_0xfd9130));}}),_0x379349[_0x1a1698(0x196)](_0x1a1698(0x197))[_0x1a1698(0x1b5)]({'view':{'name':_0x1a1698(0x19a),'classes':_0x1a1698(0x19b)},'model':_0x1a1698(0x1a9),'converterPriority':_0x1a1698(0x18f)}),_0x379349[_0x1a1698(0x196)](_0x1a1698(0x197))[_0x1a1698(0x1b1)](_0x55c7d1=>{const _0x398c0d=_0x1a1698;_0x55c7d1['on'](_0x398c0d(0x1a0),function(_0x5ac40b){const _0x36e0ad=new _0x14af3d(_0x5ac40b);return(_0x3abaf3,_0x283a7f,_0x288d01)=>{const _0x5dd3fb=_0x3429,_0x1cd2de=_0x36e0ad[_0x5dd3fb(0x1af)](_0x283a7f[_0x5dd3fb(0x195)]);if(!_0x1cd2de)return;const _0x5ec662=_0x1cd2de[_0x5dd3fb(0x1af)];_0x5ec662[_0x5dd3fb(0x1ac)]=!0x1,_0x288d01[_0x5dd3fb(0x1a7)][_0x5dd3fb(0x194)](_0x283a7f[_0x5dd3fb(0x195)],_0x5ec662);};}({'name':'li','classes':_0x398c0d(0x190),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x131624=_0x5ee6;function _0x5ee6(_0x22ec0c,_0x121ef4){var _0x310df1=_0x310d();return _0x5ee6=function(_0x5ee6e2,_0x4b4547){_0x5ee6e2=_0x5ee6e2-0x17d;var _0x76c254=_0x310df1[_0x5ee6e2];return _0x76c254;},_0x5ee6(_0x22ec0c,_0x121ef4);}(function(_0xf1821b,_0x2a46a6){var _0x28f806=_0x5ee6,_0x30a080=_0xf1821b();while(!![]){try{var _0x44f129=parseInt(_0x28f806(0x18b))/0x1*(parseInt(_0x28f806(0x18a))/0x2)+parseInt(_0x28f806(0x183))/0x3*(parseInt(_0x28f806(0x187))/0x4)+-parseInt(_0x28f806(0x184))/0x5+-parseInt(_0x28f806(0x181))/0x6*(parseInt(_0x28f806(0x17f))/0x7)+-parseInt(_0x28f806(0x185))/0x8*(-parseInt(_0x28f806(0x18c))/0x9)+parseInt(_0x28f806(0x180))/0xa+-parseInt(_0x28f806(0x189))/0xb;if(_0x44f129===_0x2a46a6)break;else _0x30a080['push'](_0x30a080['shift']());}catch(_0x560cc9){_0x30a080['push'](_0x30a080['shift']());}}}(_0x310d,0x29b5f));import{Plugin as _0x47d097}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x5e4770}from'./lineheightediting.js';function _0x310d(){var _0x338c26=['2371608MwNdcP','LineHeight','36768wdmeon','isOfficialPlugin','4281090zshKmi','2pSRtyl','139850LPMEpt','9dkvhcN','pluginName','isPremiumPlugin','204603oTFWHs','1383380mMsRfu','18HAsDou','requires','105XYryLv','1243175pmTMto'];_0x310d=function(){return _0x338c26;};return _0x310d();}import{LineHeightUI as _0x557138}from'./lineheightui.js';export class LineHeight extends _0x47d097{static get[_0x131624(0x182)](){return[_0x5e4770,_0x557138];}static get[_0x131624(0x17d)](){var _0x529053=_0x131624;return _0x529053(0x186);}static get[_0x131624(0x188)](){return!0x0;}static get[_0x131624(0x17e)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x554f(_0x2c4f03,_0x1ba22f){const _0x4e0c51=_0x4e0c();return _0x554f=function(_0x554fc8,_0xc0b62a){_0x554fc8=_0x554fc8-0x1ad;let _0x4fbf5=_0x4e0c51[_0x554fc8];return _0x4fbf5;},_0x554f(_0x2c4f03,_0x1ba22f);}const _0x46c466=_0x554f;function _0x4e0c(){const _0xb194c7=['setAttribute','34DEnNal','value','2520284avXtps','getAttribute','from','execute','document','selection','lineHeight','editor','schema','isEnabled','2351970IbRPwY','model','checkAttribute','858291XmXTnc','removeAttribute','24RJynfi','389280RusxAK','filter','change','refresh','_canHaveLineHeight','getSelectedBlocks','55164kKFHkt','9570276jxWzLg','119604Idilsa','135eVexID'];_0x4e0c=function(){return _0xb194c7;};return _0x4e0c();}(function(_0x3c6b24,_0x41e5b1){const _0x10314f=_0x554f,_0x5774fd=_0x3c6b24();while(!![]){try{const _0x161a48=-parseInt(_0x10314f(0x1b4))/0x1*(parseInt(_0x10314f(0x1b9))/0x2)+parseInt(_0x10314f(0x1ae))/0x3+parseInt(_0x10314f(0x1bb))/0x4+-parseInt(_0x10314f(0x1b7))/0x5*(parseInt(_0x10314f(0x1b6))/0x6)+parseInt(_0x10314f(0x1c8))/0x7*(parseInt(_0x10314f(0x1ad))/0x8)+parseInt(_0x10314f(0x1b5))/0x9+parseInt(_0x10314f(0x1c5))/0xa;if(_0x161a48===_0x41e5b1)break;else _0x5774fd['push'](_0x5774fd['shift']());}catch(_0x3c2b62){_0x5774fd['push'](_0x5774fd['shift']());}}}(_0x4e0c,0xe7fd1));import{Command as _0x34d6f8}from'ckeditor5/src/core.js';import{first as _0x1f9d68}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x34d6f8{[_0x46c466(0x1b1)](){const _0x875bfd=_0x46c466,_0x559f8c=this[_0x875bfd(0x1c2)][_0x875bfd(0x1c6)][_0x875bfd(0x1bf)],_0x4914d4=_0x1f9d68(_0x559f8c[_0x875bfd(0x1c0)][_0x875bfd(0x1b3)]());this[_0x875bfd(0x1c4)]=Boolean(_0x4914d4)&&this[_0x875bfd(0x1b2)](_0x4914d4),this[_0x875bfd(0x1ba)]=this[_0x875bfd(0x1c4)]&&_0x4914d4[_0x875bfd(0x1bc)](_0x875bfd(0x1c1));}[_0x46c466(0x1be)](_0x543842={}){const _0x368c02=_0x46c466,_0x4f6ae1=this[_0x368c02(0x1c2)][_0x368c02(0x1c6)],_0x2e0736=_0x4f6ae1[_0x368c02(0x1bf)][_0x368c02(0x1c0)],_0x324ed3=_0x543842[_0x368c02(0x1ba)];_0x4f6ae1[_0x368c02(0x1b0)](_0x348658=>{const _0x5de979=_0x368c02,_0x4730fc=Array[_0x5de979(0x1bd)](_0x2e0736[_0x5de979(0x1b3)]())[_0x5de979(0x1af)](_0x104b4c=>this[_0x5de979(0x1b2)](_0x104b4c));for(const _0x41d439 of _0x4730fc)_0x324ed3?_0x348658[_0x5de979(0x1b8)](_0x5de979(0x1c1),_0x324ed3,_0x41d439):_0x348658[_0x5de979(0x1c9)](_0x5de979(0x1c1),_0x41d439);});}[_0x46c466(0x1b2)](_0x598a48){const _0x2f6f75=_0x46c466;return this[_0x2f6f75(0x1c2)][_0x2f6f75(0x1c6)][_0x2f6f75(0x1c3)][_0x2f6f75(0x1c7)](_0x598a48,_0x2f6f75(0x1c1));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x452d(_0x360305,_0x473f99){const _0x24fc90=_0x24fc();return _0x452d=function(_0x452d74,_0x988f1c){_0x452d74=_0x452d74-0x69;let _0x67a313=_0x24fc90[_0x452d74];return _0x67a313;},_0x452d(_0x360305,_0x473f99);}const _0x5bc3c1=_0x452d;(function(_0x4aa77c,_0x3fc79d){const _0x176c98=_0x452d,_0x5902a6=_0x4aa77c();while(!![]){try{const _0x58a6af=-parseInt(_0x176c98(0x77))/0x1+parseInt(_0x176c98(0x9b))/0x2+-parseInt(_0x176c98(0x6b))/0x3+parseInt(_0x176c98(0x91))/0x4*(-parseInt(_0x176c98(0x8d))/0x5)+-parseInt(_0x176c98(0x85))/0x6+parseInt(_0x176c98(0x92))/0x7+parseInt(_0x176c98(0x8a))/0x8*(parseInt(_0x176c98(0x96))/0x9);if(_0x58a6af===_0x3fc79d)break;else _0x5902a6['push'](_0x5902a6['shift']());}catch(_0x33074f){_0x5902a6['push'](_0x5902a6['shift']());}}}(_0x24fc,0x7cad9));import{Plugin as _0x2b25bd}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3590fe}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x50c1b9}from'ckeditor5/src/engine.js';import{uid as _0x2ca404,CKEditorError as _0x3c8086}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2c4e08,isLineHeightDefaultValue as _0x2bc6f4,normalizeOptions as _0x4575de}from'./utils.js';import{LineHeightTodoListIntegration as _0x5966ba}from'./integrations/todolist.js';function _0x24fc(){const _0x5f1c51=['upcast','requires','schema','get','afterInit','619344WDNsIe','add','editor','map','lineHeight.supportAllValues','lineHeight.defaultValue','lineHeight','style','_validateConfig','isPremiumPlugin','line-height','setAttributeProperties','attributeToAttribute','_prepareAnyValueConverters','777408JLfbXU','default','for','_preparePredefinedConverters','fromCharCode','24fwdnUI','values','model','5056615GOHdMw','length','LineHeightEditing','includes','4Gtcaaq','6606019rHfDjd','conversion','getStyle','lineHeight.options','2792475SwnyiM','$block','filter','line-height-invalid-use-of-named-presets','pluginName','1966178yaqNII','config','downcast','init','commands','extend','1760145LjiCnD','slice','string','join','isOfficialPlugin','define','href'];_0x24fc=function(){return _0x5f1c51;};return _0x24fc();}export class LineHeightEditing extends _0x2b25bd{static get[_0x5bc3c1(0x9a)](){const _0x4e7d60=_0x5bc3c1;return _0x4e7d60(0x8f);}static get[_0x5bc3c1(0x73)](){return[_0x5966ba];}static get[_0x5bc3c1(0x6f)](){return!0x0;}static get[_0x5bc3c1(0x80)](){return!0x0;}constructor(_0x21e70d){const _0x4e79fe=_0x5bc3c1;super(_0x21e70d),_0x21e70d[_0x4e79fe(0x9c)][_0x4e79fe(0x70)](_0x4e79fe(0x7d),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4e79fe(0x86),0x2,2.5,0x3]});}[_0x5bc3c1(0x9e)](){const _0x4b0988=_0x5bc3c1,_0x5f04ce=this[_0x4b0988(0x79)];this[_0x4b0988(0x7f)](),_0x5f04ce[_0x4b0988(0x8c)][_0x4b0988(0x74)][_0x4b0988(0x6a)](_0x4b0988(0x97),{'allowAttributes':_0x4b0988(0x7d)}),_0x5f04ce[_0x4b0988(0x8c)][_0x4b0988(0x74)][_0x4b0988(0x82)](_0x4b0988(0x7d),{'isFormatting':!0x0}),_0x5f04ce[_0x4b0988(0x69)][_0x4b0988(0x78)](_0x4b0988(0x7d),new _0x3590fe(_0x5f04ce)),this[_0x4b0988(0x79)][_0x4b0988(0x9c)][_0x4b0988(0x75)](_0x4b0988(0x7b))?this[_0x4b0988(0x84)]():this[_0x4b0988(0x88)]();}[_0x5bc3c1(0x76)](){!async function(_0x1a3a1f){const _0x5ea0c3=_0x128baa([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]),_0x481752=0x45ddd215,_0x237d7e=0x45daa98d^_0x481752,_0xd4aae6=window[_0x128baa([0x44,0x61,0x74,0x65])][_0x128baa([0x6e,0x6f,0x77])](),_0x26603a=_0x1a3a1f[_0x128baa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d6bbe=new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c8e56=>{_0x26603a[_0x128baa([0x6f,0x6e,0x63,0x65])](_0x128baa([0x72,0x65,0x61,0x64,0x79]),_0x1c8e56);}),_0x1e70ff={[_0x128baa([0x6b,0x74,0x79])]:_0x128baa([0x45,0x43]),[_0x128baa([0x75,0x73,0x65])]:_0x128baa([0x73,0x69,0x67]),[_0x128baa([0x63,0x72,0x76])]:_0x128baa([0x50,0x2d,0x32,0x35,0x36]),[_0x128baa([0x78])]:_0x128baa([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]),[_0x128baa([0x79])]:_0x128baa([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]),[_0x128baa([0x61,0x6c,0x67])]:_0x128baa([0x45,0x53,0x32,0x35,0x36])},_0x5723d1=_0x26603a[_0x128baa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x128baa([0x67,0x65,0x74])](_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x231fe3(){let _0xc5cbec,_0x891b07=null,_0x12102a=null;try{if(_0x5723d1==_0x128baa([0x47,0x50,0x4c]))return _0x128baa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc5cbec=_0x1eb483(),!_0xc5cbec)return _0x128baa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc5cbec[_0x128baa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12102a=_0xbf838(_0xc5cbec[_0x128baa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc5cbec[_0x128baa([0x6a,0x74,0x69])])),await _0xbee3d3()?_0x17b68b()?_0x5b1dd1()?_0x128baa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xffb392()?(_0xc5cbec[_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x128baa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x891b07=_0x55c407(_0x128baa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc5cbec[_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x128baa([0x74,0x72,0x69,0x61,0x6c])&&(_0x891b07=_0x55c407(_0x128baa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52e1f5()):_0x128baa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x128baa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x128baa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x128baa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b1dd1(){const _0x5c3017=[_0x128baa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x128baa([0x74,0x72,0x69,0x61,0x6c])][_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc5cbec[_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd4aae6/0x3e8:0xe10*_0x237d7e;return _0xc5cbec[_0x128baa([0x65,0x78,0x70])]<_0x5c3017;}function _0x17b68b(){const _0xbca299=_0xc5cbec[_0x128baa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbca299&&(!!_0xbca299[_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128baa([0x2a]))||!!_0xbca299[_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128baa([0x4c,0x48])));}function _0xffb392(){const _0x39dbbc=_0x452d,_0x2b3b34=_0xc5cbec[_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b3b34||0x0==_0x2b3b34[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ad049}=new URL(window[_0x128baa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39dbbc(0x71)]);if(_0x2b3b34[_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad049))return!0x0;const _0x343625=_0x5ad049[_0x128baa([0x73,0x70,0x6c,0x69,0x74])](_0x128baa([0x2e]));return _0x2b3b34[_0x128baa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dc349=>_0x1dc349[_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128baa([0x2a])))[_0x128baa([0x6d,0x61,0x70])](_0x48851d=>_0x48851d[_0x128baa([0x73,0x70,0x6c,0x69,0x74])](_0x128baa([0x2e])))[_0x128baa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x488131=>_0x488131[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x343625[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x128baa([0x6d,0x61,0x70])](_0x3a8066=>Array(_0x343625[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a8066[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x128baa([0x66,0x69,0x6c,0x6c])](_0x3a8066[0x0]===_0x128baa([0x2a])?_0x128baa([0x2a]):'')[_0x128baa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a8066))[_0x128baa([0x73,0x6f,0x6d,0x65])](_0x198eca=>_0x343625[_0x128baa([0x65,0x76,0x65,0x72,0x79])]((_0x1ccef3,_0x24f949)=>_0x198eca[_0x24f949]===_0x1ccef3||_0x198eca[_0x24f949]===_0x128baa([0x2a])));}function _0x52e1f5(){return _0x891b07&&_0x12102a?new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fb048,_0x202178)=>{_0x891b07[_0x128baa([0x74,0x68,0x65,0x6e])](_0x3fb048,_0x202178),_0x12102a[_0x128baa([0x74,0x68,0x65,0x6e])](_0xbb6ce0=>{_0xbb6ce0!=_0x128baa([0x56,0x61,0x6c,0x69,0x64])&&_0x3fb048(_0xbb6ce0);},_0x202178);}):_0x891b07||_0x12102a||_0x128baa([0x56,0x61,0x6c,0x69,0x64]);}}function _0xbf838(_0x3d42de,_0x2a8b00){return new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d1c0=>{if(_0xdad70a())return _0x38d1c0(_0x128baa([0x56,0x61,0x6c,0x69,0x64]));_0x3f3086(),_0x26603a[_0x128baa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x128baa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37ee82=!0x1;const _0x35a177=_0x2ca404();function _0x141c5b(_0x1da6c9){return!!_0x1da6c9&&(typeof _0x1da6c9===_0x128baa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1da6c9===_0x128baa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1da6c9[_0x128baa([0x74,0x68,0x65,0x6e])]===_0x128baa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1da6c9[_0x128baa([0x63,0x61,0x74,0x63,0x68])]===_0x128baa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x380506(_0x392981){_0xa37929(_0x392981)[_0x128baa([0x74,0x68,0x65,0x6e])](_0x5cf3b1=>{if(!_0x5cf3b1||_0x5cf3b1[_0x128baa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x128baa([0x6f,0x6b]))return _0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31fac9(_0xe67916(_0x35a177+_0x2a8b00))!=_0x5cf3b1[_0x128baa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x128baa([0x56,0x61,0x6c,0x69,0x64]);})[_0x128baa([0x74,0x68,0x65,0x6e])](_0x46219=>(_0x4f9864(),_0x46219),()=>{const _0x49d4d3=_0x53f248();return null==_0x49d4d3?(_0x4f9864(),_0x128baa([0x56,0x61,0x6c,0x69,0x64])):_0x128baa(_0xd4aae6-_0x49d4d3>(0x61d15615^_0x481752)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x128baa([0x74,0x68,0x65,0x6e])](_0x38d1c0)[_0x128baa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38d1c0(_0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44f6ed=0x45eb3c95^_0x481752;function _0x4f9864(){const _0x5e1ec3=_0x128baa([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fac9(_0xe67916(_0x3d42de)),_0x30ca08=_0x2fc751(_0x31fac9(window[_0x128baa([0x4d,0x61,0x74,0x68])][_0x128baa([0x63,0x65,0x69,0x6c])](_0xd4aae6/_0x44f6ed)));window[_0x128baa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x128baa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e1ec3,_0x30ca08);}function _0x53f248(){const _0x593370=_0x128baa([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fac9(_0xe67916(_0x3d42de)),_0x3b9280=window[_0x128baa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x128baa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x593370);return _0x3b9280?window[_0x128baa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc751(_0x3b9280),0x10)*_0x44f6ed:null;}function _0xa37929(_0x525c91){return new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4dc988,_0xdadfb3)=>{_0x525c91[_0x128baa([0x74,0x68,0x65,0x6e])](_0x4dc988,_0xdadfb3),window[_0x128baa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xdadfb3,0x45dc06d5^_0x481752);});}}_0x26603a[_0x128baa([0x6f,0x6e])](_0x128baa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22b4de,_0xaa7e48)=>{if(_0xaa7e48[0x0]!=_0x3d42de)return _0x38d1c0(_0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xaa7e48[0x1]={..._0xaa7e48[0x1],[_0x128baa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x35a177};},{[_0x128baa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x128baa([0x68,0x69,0x67,0x68])}),_0x26603a[_0x128baa([0x6f,0x6e])](_0x128baa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x582155=>{_0x141c5b(_0x582155[_0x128baa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37ee82=!0x0,_0x380506(_0x582155[_0x128baa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x128baa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x128baa([0x6c,0x6f,0x77])}),_0x1d6bbe[_0x128baa([0x74,0x68,0x65,0x6e])](()=>{_0x37ee82||_0x38d1c0(_0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xdad70a(){return _0x26603a[_0x128baa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x128baa([0x76,0x69,0x65,0x77])][_0x128baa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x128baa([0x61,0x75,0x74,0x6f]);}function _0x3f3086(){_0x26603a[_0x128baa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x128baa([0x76,0x69,0x65,0x77])][_0x128baa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x128baa([0x61,0x75,0x74,0x6f]);}}function _0x55c407(_0x282195){const _0x22e323=[new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3992b3=>setTimeout(_0x3992b3,0x45d4ecd9^_0x481752)),_0x1d6bbe[_0x128baa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11f411=>{let _0x225105=0x0;_0x26603a[_0x128baa([0x6d,0x6f,0x64,0x65,0x6c])][_0x128baa([0x6f,0x6e])](_0x128baa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x486e24,_0x289132)=>{_0x289132[0x0][_0x128baa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x225105++,_0x225105==(0x45ddd3ed^_0x481752)&&(_0x11f411(),_0x486e24[_0x128baa([0x6f,0x66,0x66])]());});}))];return window[_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x128baa([0x72,0x61,0x63,0x65])](_0x22e323)[_0x128baa([0x74,0x68,0x65,0x6e])](()=>_0x282195);}async function _0x1028db(){await _0x1d6bbe,_0x26603a[_0x128baa([0x6d,0x6f,0x64,0x65,0x6c])][_0x128baa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ed5fc,_0x26603a[_0x128baa([0x6d,0x6f,0x64,0x65,0x6c])][_0x128baa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ed5fc,_0x26603a[_0x128baa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x128baa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20ba2b(_0xd9c354){const _0x3109e9=_0x4f968d();_0x26603a[_0x3109e9]=_0x128baa([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd9c354,_0xd9c354!=_0x128baa([0x56,0x61,0x6c,0x69,0x64])&&_0x1028db();}function _0x4f968d(){const _0x1fb383=window[_0x128baa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x128baa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x128baa([0x6e,0x6f,0x77])]())[_0x128baa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x128baa([0x2e]),'');let _0x4c9830=_0x128baa([0x50]);for(let _0x543321=0x0;_0x543321<_0x1fb383[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x543321+=0x2){let _0x181139=window[_0x128baa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fb383[_0x128baa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x543321,_0x543321+0x2));_0x181139>=_0x5ea0c3[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x181139-=_0x5ea0c3[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c9830+=_0x5ea0c3[_0x181139];}return _0x4c9830;}function _0x1eb483(){const _0x4eb264=_0x5723d1[_0x128baa([0x73,0x70,0x6c,0x69,0x74])](_0x128baa([0x2e]));if(0x3!=_0x4eb264[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x488c98(_0x4eb264[0x1]);function _0x488c98(_0x11898e){const _0x3f892f=_0x34067c(_0x11898e);return _0x3f892f&&_0x5b8b00()?_0x3f892f:null;function _0x5b8b00(){const _0x264082=_0x3f892f[_0x128baa([0x6a,0x74,0x69])],_0x21648c=window[_0x128baa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x264082[_0x128baa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x264082[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b7046={..._0x3f892f,[_0x128baa([0x6a,0x74,0x69])]:_0x264082[_0x128baa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x264082[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b7046[_0x128baa([0x76,0x63])],_0xe67916(_0x1b7046)==_0x21648c;}}}async function _0xbee3d3(){let _0x9d0dd7=!0x0;try{const _0xb0d7f7=_0x5723d1[_0x128baa([0x73,0x70,0x6c,0x69,0x74])](_0x128baa([0x2e])),[_0x1bddbb,_0x13f12f,_0x22b85b]=_0xb0d7f7;return _0x4e7f04(_0x1bddbb),await _0x1f31d0(_0x1bddbb,_0x13f12f,_0x22b85b),_0x9d0dd7;}catch{return!0x1;}function _0x4e7f04(_0x248e85){const _0x238537=_0x34067c(_0x248e85);_0x238537&&_0x238537[_0x128baa([0x61,0x6c,0x67])]==_0x128baa([0x45,0x53,0x32,0x35,0x36])||(_0x9d0dd7=!0x1);}async function _0x1f31d0(_0x6f5c58,_0x14fbed,_0xb48def){const _0x124ac1=window[_0x128baa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x128baa([0x66,0x72,0x6f,0x6d])](_0x4ce868(_0xb48def),_0x1e7a98=>_0x1e7a98[_0x128baa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bdca2=new window[(_0x128baa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x128baa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6f5c58+_0x128baa([0x2e])+_0x14fbed),_0x2ccd20=window[_0x128baa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x128baa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ccd20)return;const _0x558628=await _0x2ccd20[_0x128baa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x128baa([0x6a,0x77,0x6b]),_0x1e70ff,{[_0x128baa([0x6e,0x61,0x6d,0x65])]:_0x128baa([0x45,0x43,0x44,0x53,0x41]),[_0x128baa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x128baa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x128baa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ccd20[_0x128baa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x128baa([0x6e,0x61,0x6d,0x65])]:_0x128baa([0x45,0x43,0x44,0x53,0x41]),[_0x128baa([0x68,0x61,0x73,0x68])]:{[_0x128baa([0x6e,0x61,0x6d,0x65])]:_0x128baa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x558628,_0x124ac1,_0x3bdca2)||(_0x9d0dd7=!0x1);}}function _0x34067c(_0x132f60){return _0x132f60[_0x128baa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x128baa([0x65,0x79]))?JSON[_0x128baa([0x70,0x61,0x72,0x73,0x65])](_0x4ce868(_0x132f60)):null;}function _0x4ce868(_0x54d2c1){return window[_0x128baa([0x61,0x74,0x6f,0x62])](_0x54d2c1[_0x128baa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x128baa([0x2b]))[_0x128baa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x128baa([0x2f])));}function _0xe67916(_0x42439){let _0x3bcac3=0x1505;function _0x61ac12(_0x19c31e){for(let _0x5d0397=0x0;_0x5d0397<_0x19c31e[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d0397++){const _0x15b069=_0x19c31e[_0x128baa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d0397);_0x3bcac3=(_0x3bcac3<<0x5)+_0x3bcac3+_0x15b069,_0x3bcac3&=_0x3bcac3;}}function _0x61265e(_0x4e36a3){Array[_0x128baa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e36a3)?_0x4e36a3[_0x128baa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x61265e):_0x4e36a3&&typeof _0x4e36a3==_0x128baa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x128baa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e36a3)[_0x128baa([0x73,0x6f,0x72,0x74])]()[_0x128baa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bbfae,_0x2614d0])=>{_0x61ac12(_0x5bbfae),_0x61265e(_0x2614d0);}):_0x61ac12(window[_0x128baa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e36a3));}return _0x61265e(_0x42439),_0x3bcac3>>>0x0;}function _0x31fac9(_0x29ad13){return _0x29ad13[_0x128baa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x128baa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x128baa([0x30]));}function _0x2fc751(_0x19a098){return _0x19a098[_0x128baa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x128baa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x128baa([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ed5fc(){}function _0x128baa(_0x2309d6){const _0xf449ff=_0x452d;return _0x2309d6[_0xf449ff(0x7a)](_0xfaa7f7=>String[_0xf449ff(0x89)](_0xfaa7f7))[_0xf449ff(0x6e)]('');}_0x20ba2b(await _0x231fe3());}(this);}[_0x5bc3c1(0x7f)](){const _0x14608b=_0x5bc3c1,_0x20787c=this[_0x14608b(0x79)];if(!_0x20787c[_0x14608b(0x9c)][_0x14608b(0x75)](_0x14608b(0x7b)))return;const _0x2508d8=_0x20787c[_0x14608b(0x9c)][_0x14608b(0x75)](_0x14608b(0x95))[_0x14608b(0x98)](_0x410063=>_0x14608b(0x6d)==typeof _0x410063&&(!_0x2bc6f4(_0x410063)&&isNaN(Number(_0x410063))));if(_0x2508d8[_0x14608b(0x8e)])throw new _0x3c8086(_0x14608b(0x99),null,{'namedPresets':_0x2508d8});}[_0x5bc3c1(0x84)](){const _0x4f37ef=_0x5bc3c1,_0x2a5af7=this[_0x4f37ef(0x79)],_0x3b54d7=this[_0x4f37ef(0x79)][_0x4f37ef(0x9c)][_0x4f37ef(0x75)](_0x4f37ef(0x7c));_0x2a5af7[_0x4f37ef(0x93)][_0x4f37ef(0x87)](_0x4f37ef(0x9d))[_0x4f37ef(0x83)]({'model':{'key':_0x4f37ef(0x7d)},'view':_0x21d791=>String(_0x21d791)===String(_0x3b54d7)?null:{'key':_0x4f37ef(0x7e),'value':{'line-height':_0x21d791}}}),_0x2a5af7[_0x4f37ef(0x93)][_0x4f37ef(0x87)](_0x4f37ef(0x72))[_0x4f37ef(0x83)]({'model':{'key':_0x4f37ef(0x7d),'value':_0x1ebc52=>{const _0x3d3aae=_0x4f37ef;let _0x21e4cb=_0x1ebc52[_0x3d3aae(0x94)](_0x3d3aae(0x81));return _0x50c1b9(_0x21e4cb)&&(_0x21e4cb=String(Number(_0x21e4cb[_0x3d3aae(0x6c)](0x0,-0x1))/0x64)),String(_0x21e4cb)===String(_0x3b54d7)?null:_0x21e4cb;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5bc3c1(0x88)](){const _0x301106=_0x5bc3c1,_0xd2e0a2=this[_0x301106(0x79)],_0x38bd22=this[_0x301106(0x79)][_0x301106(0x9c)][_0x301106(0x75)](_0x301106(0x7c)),_0x5a07eb=_0x4575de(this[_0x301106(0x79)][_0x301106(0x9c)][_0x301106(0x75)](_0x301106(0x7d)))[_0x301106(0x98)](_0x4b0161=>_0x4b0161[_0x301106(0x8c)]),_0x168484=_0x2c4e08(_0x301106(0x7d),_0x5a07eb);_0xd2e0a2[_0x301106(0x93)][_0x301106(0x83)](_0x168484),_0xd2e0a2[_0x301106(0x93)][_0x301106(0x87)](_0x301106(0x72))[_0x301106(0x83)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x301106(0x7d),'value':_0x1beaf3=>{const _0x2ca34c=_0x301106;let _0x698e2e=_0x1beaf3[_0x2ca34c(0x94)](_0x2ca34c(0x81));return _0x50c1b9(_0x698e2e)&&(_0x698e2e=String(Number(_0x698e2e[_0x2ca34c(0x6c)](0x0,-0x1))/0x64)),_0x698e2e===String(_0x38bd22)?null:_0x168484[_0x2ca34c(0x8c)][_0x2ca34c(0x8b)][_0x2ca34c(0x90)](_0x698e2e)?_0x698e2e:null;}}});}}
|
|
23
|
+
const _0x29dc2f=_0x1e98;(function(_0x559ef2,_0x3f350b){const _0x50f7b0=_0x1e98,_0x2bef2c=_0x559ef2();while(!![]){try{const _0x53ab72=parseInt(_0x50f7b0(0x95))/0x1*(parseInt(_0x50f7b0(0x8e))/0x2)+parseInt(_0x50f7b0(0x8b))/0x3*(parseInt(_0x50f7b0(0x9b))/0x4)+parseInt(_0x50f7b0(0x71))/0x5+-parseInt(_0x50f7b0(0x9f))/0x6*(parseInt(_0x50f7b0(0xa0))/0x7)+parseInt(_0x50f7b0(0x7e))/0x8+-parseInt(_0x50f7b0(0x79))/0x9*(-parseInt(_0x50f7b0(0xa7))/0xa)+-parseInt(_0x50f7b0(0x7a))/0xb;if(_0x53ab72===_0x3f350b)break;else _0x2bef2c['push'](_0x2bef2c['shift']());}catch(_0x472510){_0x2bef2c['push'](_0x2bef2c['shift']());}}}(_0x5cd2,0x8a1bc));import{Plugin as _0x5981e4}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x233eee}from'./lineheightcommand.js';function _0x1e98(_0x506ddd,_0x4bad68){const _0x5cd261=_0x5cd2();return _0x1e98=function(_0x1e9843,_0x5d09e1){_0x1e9843=_0x1e9843-0x70;let _0x1faa62=_0x5cd261[_0x1e9843];return _0x1faa62;},_0x1e98(_0x506ddd,_0x4bad68);}import{isPercentageStyleValue as _0x2b2a74}from'ckeditor5/src/engine.js';import{uid as _0x292e8b,CKEditorError as _0x42b075}from'ckeditor5/src/utils.js';import{buildDefinition as _0x6229c7,isLineHeightDefaultValue as _0x305c36,normalizeOptions as _0x345ca3}from'./utils.js';import{LineHeightTodoListIntegration as _0x4fa271}from'./integrations/todolist.js';function _0x5cd2(){const _0x186e0d=['4rclXhK','lineHeight.options','schema','LineHeightEditing','18414CTuwkg','749gmAYBu','lineHeight.supportAllValues','lineHeight','afterInit','$block','editor','isPremiumPlugin','89120PTjmdG','join','2069190OeQPfI','_preparePredefinedConverters','line-height-invalid-use-of-named-presets','map','slice','_validateConfig','style','define','495MivMkV','11102993NvnyWH','lineHeight.defaultValue','attributeToAttribute','add','875776aEFebS','_prepareAnyValueConverters','default','includes','upcast','extend','href','get','conversion','pluginName','length','commands','requires','2422470FzHAfh','for','line-height','164956MWoUrH','string','isOfficialPlugin','model','config','setAttributeProperties','downcast','1vVreHn','values','init','filter','getStyle','fromCharCode'];_0x5cd2=function(){return _0x186e0d;};return _0x5cd2();}export class LineHeightEditing extends _0x5981e4{static get[_0x29dc2f(0x87)](){const _0x221ae8=_0x29dc2f;return _0x221ae8(0x9e);}static get[_0x29dc2f(0x8a)](){return[_0x4fa271];}static get[_0x29dc2f(0x90)](){return!0x0;}static get[_0x29dc2f(0xa6)](){return!0x0;}constructor(_0x2c4492){const _0x34a524=_0x29dc2f;super(_0x2c4492),_0x2c4492[_0x34a524(0x92)][_0x34a524(0x78)](_0x34a524(0xa2),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x34a524(0x80),0x2,2.5,0x3]});}[_0x29dc2f(0x97)](){const _0x21b15b=_0x29dc2f,_0x219e26=this[_0x21b15b(0xa5)];this[_0x21b15b(0x76)](),_0x219e26[_0x21b15b(0x91)][_0x21b15b(0x9d)][_0x21b15b(0x83)](_0x21b15b(0xa4),{'allowAttributes':_0x21b15b(0xa2)}),_0x219e26[_0x21b15b(0x91)][_0x21b15b(0x9d)][_0x21b15b(0x93)](_0x21b15b(0xa2),{'isFormatting':!0x0}),_0x219e26[_0x21b15b(0x89)][_0x21b15b(0x7d)](_0x21b15b(0xa2),new _0x233eee(_0x219e26)),this[_0x21b15b(0xa5)][_0x21b15b(0x92)][_0x21b15b(0x85)](_0x21b15b(0xa1))?this[_0x21b15b(0x7f)]():this[_0x21b15b(0x72)]();}[_0x29dc2f(0xa3)](){!async function(_0x263002){const _0x577499=_0x1f1887([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]),_0xd154cc=0x45ddd215,_0x2c38c8=0x45daae55^_0xd154cc,_0x43d657=window[_0x1f1887([0x44,0x61,0x74,0x65])][_0x1f1887([0x6e,0x6f,0x77])](),_0x4ae590=_0x263002[_0x1f1887([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4bc02f=new window[(_0x1f1887([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1557bf=>{_0x4ae590[_0x1f1887([0x6f,0x6e,0x63,0x65])](_0x1f1887([0x72,0x65,0x61,0x64,0x79]),_0x1557bf);}),_0x5d0b98={[_0x1f1887([0x6b,0x74,0x79])]:_0x1f1887([0x45,0x43]),[_0x1f1887([0x75,0x73,0x65])]:_0x1f1887([0x73,0x69,0x67]),[_0x1f1887([0x63,0x72,0x76])]:_0x1f1887([0x50,0x2d,0x32,0x35,0x36]),[_0x1f1887([0x78])]:_0x1f1887([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]),[_0x1f1887([0x79])]:_0x1f1887([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]),[_0x1f1887([0x61,0x6c,0x67])]:_0x1f1887([0x45,0x53,0x32,0x35,0x36])},_0x31ef11=_0x4ae590[_0x1f1887([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f1887([0x67,0x65,0x74])](_0x1f1887([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a5a01(){let _0x41f0a2,_0x5683aa=null,_0x1f3332=null;try{if(_0x31ef11==_0x1f1887([0x47,0x50,0x4c]))return _0x1f1887([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41f0a2=_0x351789(),!_0x41f0a2)return _0x1f1887([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41f0a2[_0x1f1887([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f3332=_0x2d3fe1(_0x41f0a2[_0x1f1887([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41f0a2[_0x1f1887([0x6a,0x74,0x69])])),await _0x29db14()?_0x7a472f()?_0x5d9fcd()?_0x1f1887([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f13ec()?(_0x41f0a2[_0x1f1887([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f1887([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5683aa=_0x58cbe9(_0x1f1887([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x41f0a2[_0x1f1887([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f1887([0x74,0x72,0x69,0x61,0x6c])&&(_0x5683aa=_0x58cbe9(_0x1f1887([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e85()):_0x1f1887([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f1887([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f1887([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f1887([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d9fcd(){const _0x263ac8=[_0x1f1887([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f1887([0x74,0x72,0x69,0x61,0x6c])][_0x1f1887([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41f0a2[_0x1f1887([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x43d657/0x3e8:0xe10*_0x2c38c8;return _0x41f0a2[_0x1f1887([0x65,0x78,0x70])]<_0x263ac8;}function _0x7a472f(){const _0x400c7f=_0x41f0a2[_0x1f1887([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x400c7f&&(!!_0x400c7f[_0x1f1887([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1887([0x2a]))||!!_0x400c7f[_0x1f1887([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1887([0x4c,0x48])));}function _0x4f13ec(){const _0x50b009=_0x1e98,_0xb24224=_0x41f0a2[_0x1f1887([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb24224||0x0==_0xb24224[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46aa36}=new URL(window[_0x1f1887([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x50b009(0x84)]);if(_0xb24224[_0x1f1887([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46aa36))return!0x0;const _0x1abbd0=_0x46aa36[_0x1f1887([0x73,0x70,0x6c,0x69,0x74])](_0x1f1887([0x2e]));return _0xb24224[_0x1f1887([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e820d=>_0x1e820d[_0x1f1887([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1887([0x2a])))[_0x1f1887([0x6d,0x61,0x70])](_0x3f0979=>_0x3f0979[_0x1f1887([0x73,0x70,0x6c,0x69,0x74])](_0x1f1887([0x2e])))[_0x1f1887([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1332bb=>_0x1332bb[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1abbd0[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f1887([0x6d,0x61,0x70])](_0x43dc7d=>Array(_0x1abbd0[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43dc7d[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f1887([0x66,0x69,0x6c,0x6c])](_0x43dc7d[0x0]===_0x1f1887([0x2a])?_0x1f1887([0x2a]):'')[_0x1f1887([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43dc7d))[_0x1f1887([0x73,0x6f,0x6d,0x65])](_0x27f9ad=>_0x1abbd0[_0x1f1887([0x65,0x76,0x65,0x72,0x79])]((_0x276a62,_0x30661b)=>_0x27f9ad[_0x30661b]===_0x276a62||_0x27f9ad[_0x30661b]===_0x1f1887([0x2a])));}function _0x4e85(){return _0x5683aa&&_0x1f3332?new window[(_0x1f1887([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5446c9,_0x403eba)=>{_0x5683aa[_0x1f1887([0x74,0x68,0x65,0x6e])](_0x5446c9,_0x403eba),_0x1f3332[_0x1f1887([0x74,0x68,0x65,0x6e])](_0x310c1b=>{_0x310c1b!=_0x1f1887([0x56,0x61,0x6c,0x69,0x64])&&_0x5446c9(_0x310c1b);},_0x403eba);}):_0x5683aa||_0x1f3332||_0x1f1887([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d3fe1(_0x13dc72,_0x53e2c3){return new window[(_0x1f1887([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a8ef6=>{if(_0xb61f71())return _0x4a8ef6(_0x1f1887([0x56,0x61,0x6c,0x69,0x64]));_0x5bdc76(),_0x4ae590[_0x1f1887([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f1887([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bcd3e=!0x1;const _0x559122=_0x292e8b();function _0x291a92(_0x490001){return!!_0x490001&&(typeof _0x490001===_0x1f1887([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x490001===_0x1f1887([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x490001[_0x1f1887([0x74,0x68,0x65,0x6e])]===_0x1f1887([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x490001[_0x1f1887([0x63,0x61,0x74,0x63,0x68])]===_0x1f1887([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5623dd(_0x3595b5){_0x160d4b(_0x3595b5)[_0x1f1887([0x74,0x68,0x65,0x6e])](_0x3cda56=>{if(!_0x3cda56||_0x3cda56[_0x1f1887([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f1887([0x6f,0x6b]))return _0x1f1887([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45ca27(_0x207670(_0x559122+_0x53e2c3))!=_0x3cda56[_0x1f1887([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f1887([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f1887([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f1887([0x74,0x68,0x65,0x6e])](_0x1ba6a2=>(_0x12dbc0(),_0x1ba6a2),()=>{const _0x2878fe=_0x5f1a65();return null==_0x2878fe?(_0x12dbc0(),_0x1f1887([0x56,0x61,0x6c,0x69,0x64])):_0x1f1887(_0x43d657-_0x2878fe>(0x61d15615^_0xd154cc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f1887([0x74,0x68,0x65,0x6e])](_0x4a8ef6)[_0x1f1887([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a8ef6(_0x1f1887([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd253b8=0x45eb3c95^_0xd154cc;function _0x12dbc0(){const _0x313d2e=_0x1f1887([0x6c,0x6c,0x63,0x74,0x2d])+_0x45ca27(_0x207670(_0x13dc72)),_0x3befb4=_0x1b7308(_0x45ca27(window[_0x1f1887([0x4d,0x61,0x74,0x68])][_0x1f1887([0x63,0x65,0x69,0x6c])](_0x43d657/_0xd253b8)));window[_0x1f1887([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f1887([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x313d2e,_0x3befb4);}function _0x5f1a65(){const _0x28e8ae=_0x1f1887([0x6c,0x6c,0x63,0x74,0x2d])+_0x45ca27(_0x207670(_0x13dc72)),_0x1e8d8b=window[_0x1f1887([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f1887([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28e8ae);return _0x1e8d8b?window[_0x1f1887([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b7308(_0x1e8d8b),0x10)*_0xd253b8:null;}function _0x160d4b(_0xba905){return new window[(_0x1f1887([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ff225,_0x1c04a0)=>{_0xba905[_0x1f1887([0x74,0x68,0x65,0x6e])](_0x2ff225,_0x1c04a0),window[_0x1f1887([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c04a0,0x45dc06d5^_0xd154cc);});}}_0x4ae590[_0x1f1887([0x6f,0x6e])](_0x1f1887([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1605c7,_0x126210)=>{if(_0x126210[0x0]!=_0x13dc72)return _0x4a8ef6(_0x1f1887([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x126210[0x1]={..._0x126210[0x1],[_0x1f1887([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x559122};},{[_0x1f1887([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f1887([0x68,0x69,0x67,0x68])}),_0x4ae590[_0x1f1887([0x6f,0x6e])](_0x1f1887([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4bb474=>{_0x291a92(_0x4bb474[_0x1f1887([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bcd3e=!0x0,_0x5623dd(_0x4bb474[_0x1f1887([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f1887([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f1887([0x6c,0x6f,0x77])}),_0x4bc02f[_0x1f1887([0x74,0x68,0x65,0x6e])](()=>{_0x2bcd3e||_0x4a8ef6(_0x1f1887([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb61f71(){return _0x4ae590[_0x1f1887([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1887([0x76,0x69,0x65,0x77])][_0x1f1887([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f1887([0x61,0x75,0x74,0x6f]);}function _0x5bdc76(){_0x4ae590[_0x1f1887([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1887([0x76,0x69,0x65,0x77])][_0x1f1887([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f1887([0x61,0x75,0x74,0x6f]);}}function _0x58cbe9(_0x551629){const _0x5485fb=[new window[(_0x1f1887([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49af4e=>setTimeout(_0x49af4e,0x45d4ecd9^_0xd154cc)),_0x4bc02f[_0x1f1887([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f1887([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27f021=>{let _0x2bd588=0x0;_0x4ae590[_0x1f1887([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1887([0x6f,0x6e])](_0x1f1887([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d7302,_0x92ac43)=>{_0x92ac43[0x0][_0x1f1887([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2bd588++,_0x2bd588==(0x45ddd3ed^_0xd154cc)&&(_0x27f021(),_0x5d7302[_0x1f1887([0x6f,0x66,0x66])]());});}))];return window[_0x1f1887([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f1887([0x72,0x61,0x63,0x65])](_0x5485fb)[_0x1f1887([0x74,0x68,0x65,0x6e])](()=>_0x551629);}async function _0x2e9e2b(){await _0x4bc02f,_0x4ae590[_0x1f1887([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1887([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcd20d5,_0x4ae590[_0x1f1887([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1887([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcd20d5,_0x4ae590[_0x1f1887([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f1887([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x421ce4(_0x5b2e7e){const _0xda25cc=_0x5b202c();_0x4ae590[_0xda25cc]=_0x1f1887([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b2e7e,_0x5b2e7e!=_0x1f1887([0x56,0x61,0x6c,0x69,0x64])&&_0x2e9e2b();}function _0x5b202c(){const _0x11d339=window[_0x1f1887([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f1887([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f1887([0x6e,0x6f,0x77])]())[_0x1f1887([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f1887([0x2e]),'');let _0x4af772=_0x1f1887([0x50]);for(let _0x38a450=0x0;_0x38a450<_0x11d339[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38a450+=0x2){let _0x2886d1=window[_0x1f1887([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11d339[_0x1f1887([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38a450,_0x38a450+0x2));_0x2886d1>=_0x577499[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2886d1-=_0x577499[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4af772+=_0x577499[_0x2886d1];}return _0x4af772;}function _0x351789(){const _0x149b08=_0x31ef11[_0x1f1887([0x73,0x70,0x6c,0x69,0x74])](_0x1f1887([0x2e]));if(0x3!=_0x149b08[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x85fdcd(_0x149b08[0x1]);function _0x85fdcd(_0x5aed7a){const _0x4e2012=_0x5b62a1(_0x5aed7a);return _0x4e2012&&_0x53dd08()?_0x4e2012:null;function _0x53dd08(){const _0x24abe2=_0x4e2012[_0x1f1887([0x6a,0x74,0x69])],_0x2a860d=window[_0x1f1887([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24abe2[_0x1f1887([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24abe2[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x329ad5={..._0x4e2012,[_0x1f1887([0x6a,0x74,0x69])]:_0x24abe2[_0x1f1887([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24abe2[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x329ad5[_0x1f1887([0x76,0x63])],_0x207670(_0x329ad5)==_0x2a860d;}}}async function _0x29db14(){let _0x42f2d4=!0x0;try{const _0x4585a2=_0x31ef11[_0x1f1887([0x73,0x70,0x6c,0x69,0x74])](_0x1f1887([0x2e])),[_0x393b4b,_0x333d64,_0x2879f3]=_0x4585a2;return _0x39486e(_0x393b4b),await _0x5c39f2(_0x393b4b,_0x333d64,_0x2879f3),_0x42f2d4;}catch{return!0x1;}function _0x39486e(_0x5b30fa){const _0x5af3dd=_0x5b62a1(_0x5b30fa);_0x5af3dd&&_0x5af3dd[_0x1f1887([0x61,0x6c,0x67])]==_0x1f1887([0x45,0x53,0x32,0x35,0x36])||(_0x42f2d4=!0x1);}async function _0x5c39f2(_0x58c2dc,_0x18578c,_0x1cd918){const _0x34d665=window[_0x1f1887([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f1887([0x66,0x72,0x6f,0x6d])](_0x80d8ec(_0x1cd918),_0x12f76f=>_0x12f76f[_0x1f1887([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53a9c0=new window[(_0x1f1887([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f1887([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58c2dc+_0x1f1887([0x2e])+_0x18578c),_0x53f716=window[_0x1f1887([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f1887([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53f716)return;const _0x43dfa8=await _0x53f716[_0x1f1887([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f1887([0x6a,0x77,0x6b]),_0x5d0b98,{[_0x1f1887([0x6e,0x61,0x6d,0x65])]:_0x1f1887([0x45,0x43,0x44,0x53,0x41]),[_0x1f1887([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f1887([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f1887([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53f716[_0x1f1887([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f1887([0x6e,0x61,0x6d,0x65])]:_0x1f1887([0x45,0x43,0x44,0x53,0x41]),[_0x1f1887([0x68,0x61,0x73,0x68])]:{[_0x1f1887([0x6e,0x61,0x6d,0x65])]:_0x1f1887([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43dfa8,_0x34d665,_0x53a9c0)||(_0x42f2d4=!0x1);}}function _0x5b62a1(_0x348a70){return _0x348a70[_0x1f1887([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f1887([0x65,0x79]))?JSON[_0x1f1887([0x70,0x61,0x72,0x73,0x65])](_0x80d8ec(_0x348a70)):null;}function _0x80d8ec(_0x5db750){return window[_0x1f1887([0x61,0x74,0x6f,0x62])](_0x5db750[_0x1f1887([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f1887([0x2b]))[_0x1f1887([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f1887([0x2f])));}function _0x207670(_0x40e9d3){let _0x4f2687=0x1505;function _0x563e81(_0x553486){for(let _0x4eb966=0x0;_0x4eb966<_0x553486[_0x1f1887([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eb966++){const _0x2bb29f=_0x553486[_0x1f1887([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4eb966);_0x4f2687=(_0x4f2687<<0x5)+_0x4f2687+_0x2bb29f,_0x4f2687&=_0x4f2687;}}function _0x462620(_0x5e34b7){Array[_0x1f1887([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e34b7)?_0x5e34b7[_0x1f1887([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x462620):_0x5e34b7&&typeof _0x5e34b7==_0x1f1887([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f1887([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e34b7)[_0x1f1887([0x73,0x6f,0x72,0x74])]()[_0x1f1887([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xeb8449,_0x536f48])=>{_0x563e81(_0xeb8449),_0x462620(_0x536f48);}):_0x563e81(window[_0x1f1887([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e34b7));}return _0x462620(_0x40e9d3),_0x4f2687>>>0x0;}function _0x45ca27(_0x165c5e){return _0x165c5e[_0x1f1887([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f1887([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f1887([0x30]));}function _0x1b7308(_0x33a10){return _0x33a10[_0x1f1887([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f1887([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f1887([0x6a,0x6f,0x69,0x6e])]('');}function _0xcd20d5(){}function _0x1f1887(_0x3e252c){const _0x55b726=_0x1e98;return _0x3e252c[_0x55b726(0x74)](_0x1a26ac=>String[_0x55b726(0x9a)](_0x1a26ac))[_0x55b726(0x70)]('');}_0x421ce4(await _0x3a5a01());}(this);}[_0x29dc2f(0x76)](){const _0x3ef9d6=_0x29dc2f,_0x417760=this[_0x3ef9d6(0xa5)];if(!_0x417760[_0x3ef9d6(0x92)][_0x3ef9d6(0x85)](_0x3ef9d6(0xa1)))return;const _0x4662e1=_0x417760[_0x3ef9d6(0x92)][_0x3ef9d6(0x85)](_0x3ef9d6(0x9c))[_0x3ef9d6(0x98)](_0x52b7ec=>_0x3ef9d6(0x8f)==typeof _0x52b7ec&&(!_0x305c36(_0x52b7ec)&&isNaN(Number(_0x52b7ec))));if(_0x4662e1[_0x3ef9d6(0x88)])throw new _0x42b075(_0x3ef9d6(0x73),null,{'namedPresets':_0x4662e1});}[_0x29dc2f(0x7f)](){const _0x2134db=_0x29dc2f,_0x2433a8=this[_0x2134db(0xa5)],_0x3913e8=this[_0x2134db(0xa5)][_0x2134db(0x92)][_0x2134db(0x85)](_0x2134db(0x7b));_0x2433a8[_0x2134db(0x86)][_0x2134db(0x8c)](_0x2134db(0x94))[_0x2134db(0x7c)]({'model':{'key':_0x2134db(0xa2)},'view':_0xee4ef3=>String(_0xee4ef3)===String(_0x3913e8)?null:{'key':_0x2134db(0x77),'value':{'line-height':_0xee4ef3}}}),_0x2433a8[_0x2134db(0x86)][_0x2134db(0x8c)](_0x2134db(0x82))[_0x2134db(0x7c)]({'model':{'key':_0x2134db(0xa2),'value':_0x383636=>{const _0x490a24=_0x2134db;let _0x513dad=_0x383636[_0x490a24(0x99)](_0x490a24(0x8d));return _0x2b2a74(_0x513dad)&&(_0x513dad=String(Number(_0x513dad[_0x490a24(0x75)](0x0,-0x1))/0x64)),String(_0x513dad)===String(_0x3913e8)?null:_0x513dad;}},'view':{'styles':{'line-height':/.*/}}});}[_0x29dc2f(0x72)](){const _0x22f8b8=_0x29dc2f,_0x2821f3=this[_0x22f8b8(0xa5)],_0x367f32=this[_0x22f8b8(0xa5)][_0x22f8b8(0x92)][_0x22f8b8(0x85)](_0x22f8b8(0x7b)),_0x21a38f=_0x345ca3(this[_0x22f8b8(0xa5)][_0x22f8b8(0x92)][_0x22f8b8(0x85)](_0x22f8b8(0xa2)))[_0x22f8b8(0x98)](_0xb39258=>_0xb39258[_0x22f8b8(0x91)]),_0x2c703e=_0x6229c7(_0x22f8b8(0xa2),_0x21a38f);_0x2821f3[_0x22f8b8(0x86)][_0x22f8b8(0x7c)](_0x2c703e),_0x2821f3[_0x22f8b8(0x86)][_0x22f8b8(0x8c)](_0x22f8b8(0x82))[_0x22f8b8(0x7c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x22f8b8(0xa2),'value':_0x44d160=>{const _0x4b8689=_0x22f8b8;let _0x3b4bca=_0x44d160[_0x4b8689(0x99)](_0x4b8689(0x8d));return _0x2b2a74(_0x3b4bca)&&(_0x3b4bca=String(Number(_0x3b4bca[_0x4b8689(0x75)](0x0,-0x1))/0x64)),_0x3b4bca===String(_0x367f32)?null:_0x2c703e[_0x4b8689(0x91)][_0x4b8689(0x96)][_0x4b8689(0x81)](_0x3b4bca)?_0x3b4bca:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1ccb7f}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5da0a9,createDropdown as _0x4b9a75,MenuBarMenuListItemButtonView as _0x5f4383,MenuBarMenuListItemView as _0x4196cb,MenuBarMenuListView as _0x2887c6,MenuBarMenuView as _0xbcc5c9,UIModel as _0x247058}from'ckeditor5/src/ui.js';import{Collection as _0x3d2fc9}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x17db8e}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x194a4b}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1ccb7f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2dd8c9={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2dd8c9),this['_registerMenuBarComponent'](_0x2dd8c9),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x435e8f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x21f82c;for(const _0x92a385 in _0x435e8f){const _0x42013f=_0x92a385,_0x48263e=_0x435e8f[_0x42013f];if('lineHeightLicenseKeyValid'==_0x48263e||'lineHeightLicenseKeyInvalid'==_0x48263e||'lineHeightLicenseKeyExpired'==_0x48263e||'lineHeightLicenseKeyDomainLimit'==_0x48263e||'lineHeightLicenseKeyNotAllowed'==_0x48263e||'lineHeightLicenseKeyEvaluationLimit'==_0x48263e||'lineHeightLicenseKeyTrialLimit'==_0x48263e||'lineHeightLicenseKeyUsageLimit'==_0x48263e){delete _0x435e8f[_0x42013f],_0x21f82c=_0x48263e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x21f82c&&_0x435e8f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x21f82c&&_0x435e8f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x21f82c&&_0x435e8f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x21f82c&&_0x435e8f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x21f82c&&_0x435e8f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x21f82c&&_0x435e8f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x21f82c&&_0x435e8f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2ca4d6=this['editor'],t=_0x2ca4d6['t'],_0x3970f0=_0x2ca4d6['config']['get']('lineHeight'),_0x60b624={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x194a4b(_0x3970f0)['map'](_0x51d9de=>{const _0x4d9f3a=_0x60b624[_0x51d9de['title']];return _0x4d9f3a&&_0x4d9f3a!=_0x51d9de['title']&&(_0x51d9de=Object['assign']({},_0x51d9de,{'title':_0x4d9f3a})),_0x51d9de;});}['_prepareListOptions'](){const _0x3506cd=this['editor']['commands']['get']('lineHeight'),_0x50707f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x41f633=this['_getLocalizedLineHeightOptions'](),_0x14f598=new _0x3d2fc9(),_0x53b7dc=_0x356582=>'default'===_0x356582||String(_0x50707f)===_0x356582;for(const _0x4f2342 of _0x41f633){const _0x16bff5={'type':'button','model':new _0x247058({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4f2342['title'],'withText':!0x0})};_0x53b7dc(_0x4f2342['model'])?(_0x16bff5['model']['bind']('isOn')['to'](_0x3506cd,'value',_0x33950e=>!_0x33950e),_0x16bff5['model']['commandParam']=void 0x0):(_0x16bff5['model']['bind']('isOn')['to'](_0x3506cd,'value',_0x8bfed9=>_0x8bfed9===_0x4f2342['model']),_0x16bff5['model']['commandParam']=_0x4f2342['model']),_0x14f598['add'](_0x16bff5);}if(this['_shouldRenderCustomValueOption']()){const _0xa1843b=this['_getCustomValueOptionDefinition'](_0x41f633);_0x14f598['add'](_0xa1843b);}return _0x14f598;}['_getCustomValueOptionDefinition'](_0x1ed066){const _0x4c1307=this['editor'],t=_0x4c1307['t'],_0x2e985f=_0x4c1307['commands']['get']('lineHeight'),_0x4ea37a=_0x1ed066['map'](_0x2de5c3=>_0x2de5c3['model']),_0x106be2={'type':'button','model':new _0x247058({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x106be2['model']['bind']('commandParam')['to'](_0x2e985f,'value'),_0x106be2['model']['bind']('isOn')['to'](_0x2e985f,'value',_0x19f0cb=>!!_0x19f0cb&&!_0x4ea37a['includes'](String(_0x19f0cb))),_0x106be2['model']['bind']('label')['to'](_0x2e985f,'value',_0x5eb1d5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5eb1d5))),_0x106be2;}['_registerToolbarComponent']({accessibleLabel:_0x43ae2d,options:_0x5472b8}){const _0x5b140b=this['editor'],_0x52b4d8=_0x5b140b['commands']['get']('lineHeight');_0x5b140b['ui']['componentFactory']['add']('lineHeight',_0x18b4cf=>{const _0x5c7aed=_0x4b9a75(_0x18b4cf);return _0x5da0a9(_0x5c7aed,_0x5472b8,{'role':'menu','ariaLabel':_0x43ae2d}),_0x5c7aed['buttonView']['set']({'label':_0x43ae2d,'tooltip':!0x0,'icon':_0x17db8e}),_0x5c7aed['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5c7aed['bind']('isEnabled')['to'](_0x52b4d8),this['listenTo'](_0x5c7aed,'execute',_0x68840c=>{_0x5b140b['execute'](_0x68840c['source']['commandName'],{'value':_0x68840c['source']['commandParam']}),_0x5b140b['editing']['view']['focus']();}),_0x5c7aed['once']('change:isOpen',()=>{const _0x412e22=_0x5c7aed['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5c7aed,_0x5472b8,_0x412e22);}),_0x5c7aed;});}['_registerMenuBarComponent']({accessibleLabel:_0x28080c,options:_0x145be2}){const _0x4ebd7c=this['editor'],_0x3b1ad4=_0x4ebd7c['commands']['get']('lineHeight');_0x4ebd7c['ui']['componentFactory']['add']('menuBar:lineHeight',_0x171819=>{const _0x18e012=new _0xbcc5c9(_0x171819);_0x18e012['buttonView']['set']({'label':_0x28080c,'icon':_0x17db8e}),_0x18e012['bind']('isEnabled')['to'](_0x3b1ad4);const _0x1cde5a=new _0x2887c6(_0x171819);for(const _0x551f65 of _0x145be2){const _0x41efb8=new _0x4196cb(_0x171819,_0x18e012),_0x24759b=new _0x5f4383(_0x171819);_0x24759b['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x24759b['bind'](...Object['keys'](_0x551f65['model']))['to'](_0x551f65['model']),_0x24759b['delegate']('execute')['to'](_0x18e012),_0x24759b['on']('execute',()=>{_0x4ebd7c['execute'](_0x551f65['model']['commandName'],{'value':_0x551f65['model']['commandParam']}),_0x4ebd7c['editing']['view']['focus']();}),_0x41efb8['children']['add'](_0x24759b),_0x1cde5a['items']['add'](_0x41efb8);}return _0x18e012['panelView']['children']['add'](_0x1cde5a),this['_attachCustomOptionVisibilityHandler'](_0x18e012,_0x145be2,_0x1cde5a),_0x18e012;});}['_attachCustomOptionVisibilityHandler'](_0x40cc9c,_0x3a684f,_0x5947c3){if(!this['_shouldRenderCustomValueOption']())return;const _0x9a7173=()=>{if(!_0x40cc9c['isOpen'])return;_0x5947c3['items']['last']['isVisible']=Boolean(_0x3a684f['last']['model']['isOn']);};_0x9a7173(),_0x40cc9c['on']('change:isOpen',()=>{_0x9a7173();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xc23cfa,_0x387560){const _0x285826=_0x3f9c,_0x36ab00=_0xc23cfa();while(!![]){try{const _0x52e189=parseInt(_0x285826(0x8a))/0x1*(-parseInt(_0x285826(0x6f))/0x2)+-parseInt(_0x285826(0x7b))/0x3+-parseInt(_0x285826(0x84))/0x4+parseInt(_0x285826(0x82))/0x5*(-parseInt(_0x285826(0x8e))/0x6)+-parseInt(_0x285826(0x71))/0x7*(-parseInt(_0x285826(0x86))/0x8)+parseInt(_0x285826(0x7e))/0x9*(-parseInt(_0x285826(0x7c))/0xa)+-parseInt(_0x285826(0x76))/0xb*(-parseInt(_0x285826(0x78))/0xc);if(_0x52e189===_0x387560)break;else _0x36ab00['push'](_0x36ab00['shift']());}catch(_0x2b1d45){_0x36ab00['push'](_0x36ab00['shift']());}}}(_0x101c,0x6d022));function _0x3f9c(_0x2248f1,_0x42b0c3){const _0x101c37=_0x101c();return _0x3f9c=function(_0x3f9c92,_0x58292a){_0x3f9c92=_0x3f9c92-0x6f;let _0x513bc2=_0x101c37[_0x3f9c92];return _0x513bc2;},_0x3f9c(_0x2248f1,_0x42b0c3);}const v={get 'single'(){const _0x386afb=_0x3f9c;return{'title':_0x386afb(0x92),'model':_0x386afb(0x89),'view':{'key':_0x386afb(0x75),'value':_0x386afb(0x70)}};},get 'double'(){const _0x17b351=_0x3f9c;return{'title':_0x17b351(0x88),'model':_0x17b351(0x73),'view':{'key':_0x17b351(0x75),'value':_0x17b351(0x72)}};}};export function isLineHeightDefaultValue(_0x4dc450){const _0x2b738a=_0x3f9c;return _0x2b738a(0x8b)==typeof _0x4dc450&&_0x2b738a(0x90)===_0x4dc450[_0x2b738a(0x85)]();}export function normalizeOptions(_0x5772f7){const _0x59db10=_0x3f9c;return _0x5772f7[_0x59db10(0x8f)][_0x59db10(0x8c)](_0xf1e728=>isLineHeightDefaultValue(_0xf1e728)?{'title':String(_0x5772f7[_0x59db10(0x87)]),'model':_0x59db10(0x90)}:(_0x59db10(0x83)==typeof _0xf1e728&&(_0xf1e728=String(_0xf1e728)),_0x59db10(0x8b)!=typeof _0xf1e728?_0xf1e728:parseFloat(_0xf1e728)?{'title':_0xf1e728,'model':_0xf1e728,'view':{'name':_0x59db10(0x91),'styles':{'line-height':_0xf1e728}}}:findPreset(_0xf1e728)))[_0x59db10(0x74)](_0x40d1cf=>void 0x0!==_0x40d1cf);}function _0x101c(){const _0x391d62=['options','default','span','Single','24022QuniuN','line-height-single','929033uQXMkZ','line-height-double','double','filter','class','35168331QSlpOc','view','12CzngtM','model','key','2449923DiIOUP','5240810QLVeKr','style','9KvdFBM','values','push','value','295BlDDJs','number','1672272kYnsXQ','toLowerCase','8TBNfHx','defaultValue','Double','single','42mRNVqc','string','map','line-height:','63060PkycfD'];_0x101c=function(){return _0x391d62;};return _0x101c();}export function findPreset(_0xd11f50){const _0x18771a=_0x3f9c;return _0x18771a(0x8b)==typeof _0xd11f50?v[_0xd11f50]:v[_0xd11f50[_0x18771a(0x79)]];}export function buildDefinition(_0x3ba005,_0xfd237c){const _0x52962a=_0x3f9c,_0x45bf80={'model':{'key':_0x3ba005,'values':[]},'view':{}};for(const _0x5ad64f of _0xfd237c)_0x52962a(0x75)===_0x5ad64f[_0x52962a(0x77)]?.[_0x52962a(0x7a)]?(_0x45bf80[_0x52962a(0x79)][_0x52962a(0x7f)][_0x52962a(0x80)](_0x5ad64f[_0x52962a(0x79)]),_0x45bf80[_0x52962a(0x77)][_0x5ad64f[_0x52962a(0x79)]]={'key':_0x52962a(0x75),'value':_0x5ad64f[_0x52962a(0x77)][_0x52962a(0x81)]}):(_0x45bf80[_0x52962a(0x79)][_0x52962a(0x7f)][_0x52962a(0x80)](_0x5ad64f[_0x52962a(0x79)]),_0x45bf80[_0x52962a(0x77)][_0x5ad64f[_0x52962a(0x79)]]={'key':_0x52962a(0x7d),'value':_0x52962a(0x8d)+_0x5ad64f[_0x52962a(0x79)]+';'});return _0x45bf80;}
|