@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251211.0 → 0.0.0-nightly-20251212.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 _0x1f66e3=_0x254c;(function(_0x8c4d7d,_0x100dc2){const _0x187114=_0x254c,_0x55223c=_0x8c4d7d();while(!![]){try{const _0x584c29=-parseInt(_0x187114(0xc8))/0x1*(parseInt(_0x187114(0xca))/0x2)+parseInt(_0x187114(0xef))/0x3+parseInt(_0x187114(0xe4))/0x4+parseInt(_0x187114(0xea))/0x5*(parseInt(_0x187114(0xcc))/0x6)+parseInt(_0x187114(0xc7))/0x7*(parseInt(_0x187114(0xd8))/0x8)+-parseInt(_0x187114(0xc9))/0x9*(parseInt(_0x187114(0xd3))/0xa)+-parseInt(_0x187114(0xf1))/0xb;if(_0x584c29===_0x100dc2)break;else _0x55223c['push'](_0x55223c['shift']());}catch(_0x2e86e5){_0x55223c['push'](_0x55223c['shift']());}}}(_0x213e,0xa719a));import{Plugin as _0x98f8f}from'ckeditor5/src/core.js';import{Matcher as _0x5abda7}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x254c(_0x10493c,_0x59f746){const _0x213ebe=_0x213e();return _0x254c=function(_0x254c87,_0x3a3882){_0x254c87=_0x254c87-0xc6;let _0x2f0a61=_0x213ebe[_0x254c87];return _0x2f0a61;},_0x254c(_0x10493c,_0x59f746);}export class LineHeightTodoListIntegration extends _0x98f8f{static get[_0x1f66e3(0xe0)](){const _0x12d6cb=_0x1f66e3;return _0x12d6cb(0xed);}static get[_0x1f66e3(0xdf)](){return!0x0;}static get[_0x1f66e3(0xd6)](){return!0x0;}[_0x1f66e3(0xc6)](){const _0x865407=_0x1f66e3,{plugins:_0x108e6f,conversion:_0x56bd79}=this[_0x865407(0xde)];if(!_0x108e6f[_0x865407(0xdc)](_0x865407(0xeb))||!_0x108e6f[_0x865407(0xdc)](_0x865407(0xce)))return;_0x108e6f[_0x865407(0xd1)](_0x865407(0xeb))[_0x865407(0xe7)]({'scope':_0x865407(0xe3),'attributeName':_0x865407(0xd2),'consume':!0x1,'setAttributeOnDowncast'(_0x446bf0,_0x5cfc46,_0x12c023,_0xca752c,_0x527f5c){const _0x5bebb4=_0x865407;_0x5bebb4(0xcd)==_0x527f5c[_0x5bebb4(0xdd)](_0x5bebb4(0xe2))&&_0x5cfc46&&(_0x446bf0[_0x5bebb4(0xcb)](_0x5bebb4(0xd0),_0x12c023),_0x446bf0[_0x5bebb4(0xf2)](_0x5bebb4(0xe6),_0x5cfc46,_0x12c023));}}),_0x56bd79[_0x865407(0xd7)](_0x865407(0xe5))[_0x865407(0xd5)]({'view':{'name':_0x865407(0xec),'classes':_0x865407(0xd4)},'model':_0x865407(0xcf),'converterPriority':_0x865407(0xda)}),_0x56bd79[_0x865407(0xd7)](_0x865407(0xe5))[_0x865407(0xf0)](_0x180789=>{const _0xb58537=_0x865407;_0x180789['on'](_0xb58537(0xe1),function(_0x178779){const _0xfbb906=new _0x5abda7(_0x178779);return(_0x47c89e,_0x556e1d,_0x58c17e)=>{const _0x4b84f6=_0x254c,_0x342b54=_0xfbb906[_0x4b84f6(0xe8)](_0x556e1d[_0x4b84f6(0xdb)]);if(!_0x342b54)return;const _0x587441=_0x342b54[_0x4b84f6(0xe8)];_0x587441[_0x4b84f6(0xe9)]=!0x1,_0x58c17e[_0x4b84f6(0xd9)][_0x4b84f6(0xee)](_0x556e1d[_0x4b84f6(0xdb)],_0x587441);};}({'name':'li','classes':_0xb58537(0xd0),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x213e(){const _0x1c3bd4=['ck-list-marker-line-height','get','lineHeight','3917750Pdoxoe','todo-list__label__description','elementToElement','isPremiumPlugin','for','916280oDCczI','consumable','high','viewItem','has','getAttribute','editor','isOfficialPlugin','pluginName','element:li','listType','item','2021768oMDekg','upcast','--ck-content-list-marker-line-height','registerDowncastStrategy','match','name','5xmIryy','ListEditing','span','LineHeightTodoListIntegration','consume','3335199pfNXrI','add','10217460WXoKrW','setStyle','init','56oRLoLG','663641EPGByI','18cttoTI','2XgNVqt','addClass','3162228OjyzjO','todo','TodoListEditing','paragraph'];_0x213e=function(){return _0x1c3bd4;};return _0x213e();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1565(_0x65a1dc,_0x5e6411){var _0x238961=_0x2389();return _0x1565=function(_0x15657d,_0x3b0d93){_0x15657d=_0x15657d-0x1da;var _0xe24011=_0x238961[_0x15657d];return _0xe24011;},_0x1565(_0x65a1dc,_0x5e6411);}var _0x47af93=_0x1565;(function(_0x1fed15,_0x38a1d0){var _0x118ec5=_0x1565,_0x20661f=_0x1fed15();while(!![]){try{var _0x5c7741=parseInt(_0x118ec5(0x1dd))/0x1*(-parseInt(_0x118ec5(0x1dc))/0x2)+-parseInt(_0x118ec5(0x1e8))/0x3+parseInt(_0x118ec5(0x1e2))/0x4*(parseInt(_0x118ec5(0x1df))/0x5)+parseInt(_0x118ec5(0x1e0))/0x6*(parseInt(_0x118ec5(0x1da))/0x7)+-parseInt(_0x118ec5(0x1e9))/0x8*(parseInt(_0x118ec5(0x1e1))/0x9)+parseInt(_0x118ec5(0x1e5))/0xa+parseInt(_0x118ec5(0x1db))/0xb;if(_0x5c7741===_0x38a1d0)break;else _0x20661f['push'](_0x20661f['shift']());}catch(_0x4a2394){_0x20661f['push'](_0x20661f['shift']());}}}(_0x2389,0x72d80));function _0x2389(){var _0x3c79de=['8YBnIXf','pluginName','isPremiumPlugin','4392790DIyRsU','requires','isOfficialPlugin','1237953vSFHar','75248LxuwJZ','246239yuKbuc','1869538ZxyToY','6rLpuuW','210104hnUyQc','LineHeight','1935880QXWJsR','120JHghjW','549XeNJql'];_0x2389=function(){return _0x3c79de;};return _0x2389();}import{Plugin as _0x20d2a1}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x15081d}from'./lineheightediting.js';import{LineHeightUI as _0x124661}from'./lineheightui.js';export class LineHeight extends _0x20d2a1{static get[_0x47af93(0x1e6)](){return[_0x15081d,_0x124661];}static get[_0x47af93(0x1e3)](){var _0x30ea19=_0x47af93;return _0x30ea19(0x1de);}static get[_0x47af93(0x1e7)](){return!0x0;}static get[_0x47af93(0x1e4)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a183e=_0x50c7;function _0x50c7(_0x4005a4,_0x1c8bdf){const _0x4c5ddf=_0x4c5d();return _0x50c7=function(_0x50c766,_0x107d6a){_0x50c766=_0x50c766-0xd1;let _0x4cdfec=_0x4c5ddf[_0x50c766];return _0x4cdfec;},_0x50c7(_0x4005a4,_0x1c8bdf);}(function(_0x15f2de,_0x4f6f09){const _0x4f0df6=_0x50c7,_0x5f599c=_0x15f2de();while(!![]){try{const _0x2cf9f1=parseInt(_0x4f0df6(0xd6))/0x1+-parseInt(_0x4f0df6(0xec))/0x2*(parseInt(_0x4f0df6(0xeb))/0x3)+parseInt(_0x4f0df6(0xd2))/0x4*(parseInt(_0x4f0df6(0xd4))/0x5)+-parseInt(_0x4f0df6(0xe3))/0x6*(parseInt(_0x4f0df6(0xda))/0x7)+parseInt(_0x4f0df6(0xe1))/0x8+-parseInt(_0x4f0df6(0xd8))/0x9+parseInt(_0x4f0df6(0xee))/0xa*(parseInt(_0x4f0df6(0xd1))/0xb);if(_0x2cf9f1===_0x4f6f09)break;else _0x5f599c['push'](_0x5f599c['shift']());}catch(_0x2e0f3c){_0x5f599c['push'](_0x5f599c['shift']());}}}(_0x4c5d,0xe39a3));import{Command as _0x37046c}from'ckeditor5/src/core.js';import{first as _0x2232b8}from'ckeditor5/src/utils.js';function _0x4c5d(){const _0x10ee69=['refresh','selection','model','removeAttribute','lineHeight','4624448wJfPuV','_canHaveLineHeight','632496mjAZkk','filter','editor','getSelectedBlocks','isEnabled','from','checkAttribute','getAttribute','26157sRKlRR','346NURkyA','setAttribute','13626910Dalwce','22qUsviV','6436tVTNLD','change','955hapqxq','value','782078sfCdxY','document','7133517yorusb','schema','77qdVUko','execute'];_0x4c5d=function(){return _0x10ee69;};return _0x4c5d();}export class LineHeightCommand extends _0x37046c{[_0x4a183e(0xdc)](){const _0x6d4b26=_0x4a183e,_0x99c5b=this[_0x6d4b26(0xe5)][_0x6d4b26(0xde)][_0x6d4b26(0xd7)],_0xbdac2d=_0x2232b8(_0x99c5b[_0x6d4b26(0xdd)][_0x6d4b26(0xe6)]());this[_0x6d4b26(0xe7)]=Boolean(_0xbdac2d)&&this[_0x6d4b26(0xe2)](_0xbdac2d),this[_0x6d4b26(0xd5)]=this[_0x6d4b26(0xe7)]&&_0xbdac2d[_0x6d4b26(0xea)](_0x6d4b26(0xe0));}[_0x4a183e(0xdb)](_0x108451={}){const _0x336be6=_0x4a183e,_0x2ae4ca=this[_0x336be6(0xe5)][_0x336be6(0xde)],_0x167355=_0x2ae4ca[_0x336be6(0xd7)][_0x336be6(0xdd)],_0x257998=_0x108451[_0x336be6(0xd5)];_0x2ae4ca[_0x336be6(0xd3)](_0x42ec35=>{const _0x15c889=_0x336be6,_0x40f365=Array[_0x15c889(0xe8)](_0x167355[_0x15c889(0xe6)]())[_0x15c889(0xe4)](_0x1c282d=>this[_0x15c889(0xe2)](_0x1c282d));for(const _0x377e9 of _0x40f365)_0x257998?_0x42ec35[_0x15c889(0xed)](_0x15c889(0xe0),_0x257998,_0x377e9):_0x42ec35[_0x15c889(0xdf)](_0x15c889(0xe0),_0x377e9);});}[_0x4a183e(0xe2)](_0x132739){const _0x4a0d31=_0x4a183e;return this[_0x4a0d31(0xe5)][_0x4a0d31(0xde)][_0x4a0d31(0xd9)][_0x4a0d31(0xe9)](_0x132739,_0x4a0d31(0xe0));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x523692=_0x21f5;(function(_0x1e5b61,_0x4db1ba){const _0x6a8062=_0x21f5,_0x37fbf2=_0x1e5b61();while(!![]){try{const _0x3bfe42=-parseInt(_0x6a8062(0xb9))/0x1+-parseInt(_0x6a8062(0xb3))/0x2+parseInt(_0x6a8062(0x94))/0x3*(parseInt(_0x6a8062(0xc8))/0x4)+parseInt(_0x6a8062(0xc7))/0x5+parseInt(_0x6a8062(0x95))/0x6*(parseInt(_0x6a8062(0xb2))/0x7)+parseInt(_0x6a8062(0xab))/0x8+-parseInt(_0x6a8062(0xc2))/0x9*(parseInt(_0x6a8062(0xa6))/0xa);if(_0x3bfe42===_0x4db1ba)break;else _0x37fbf2['push'](_0x37fbf2['shift']());}catch(_0x580d44){_0x37fbf2['push'](_0x37fbf2['shift']());}}}(_0x4b31,0x5fb51));import{Plugin as _0x58335b}from'ckeditor5/src/core.js';function _0x21f5(_0xcc5fe0,_0x25ec2b){const _0x4b3199=_0x4b31();return _0x21f5=function(_0x21f5eb,_0x535482){_0x21f5eb=_0x21f5eb-0x92;let _0x196f84=_0x4b3199[_0x21f5eb];return _0x196f84;},_0x21f5(_0xcc5fe0,_0x25ec2b);}import{LineHeightCommand as _0x5b29a6}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x58643d}from'ckeditor5/src/engine.js';import{uid as _0x1ccdc8,CKEditorError as _0x11b2db}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3c71f5,isLineHeightDefaultValue as _0x40d51d,normalizeOptions as _0x355a24}from'./utils.js';function _0x4b31(){const _0x2d961a=['LineHeightEditing','init','values','default','line-height','requires','length','style','schema','getStyle','filter','lineHeight.supportAllValues','fromCharCode','conversion','href','17790MvfALn','lineHeight.defaultValue','downcast','slice','_preparePredefinedConverters','5558448qlngyM','join','isOfficialPlugin','includes','config','$block','extend','7mHOCuG','743388VWaFXd','line-height-invalid-use-of-named-presets','_prepareAnyValueConverters','model','add','afterInit','184917EaZqCy','get','attributeToAttribute','string','map','setAttributeProperties','upcast','for','pluginName','2979jUoass','lineHeight','_validateConfig','isPremiumPlugin','commands','283765mxAowb','244EMrqdy','lineHeight.options','editor','38127AViYPk','64014lHnGih','define'];_0x4b31=function(){return _0x2d961a;};return _0x4b31();}import{LineHeightTodoListIntegration as _0x31cc57}from'./integrations/todolist.js';export class LineHeightEditing extends _0x58335b{static get[_0x523692(0xc1)](){const _0x7d6c19=_0x523692;return _0x7d6c19(0x97);}static get[_0x523692(0x9c)](){return[_0x31cc57];}static get[_0x523692(0xad)](){return!0x0;}static get[_0x523692(0xc5)](){return!0x0;}constructor(_0x55dd90){const _0x4c370a=_0x523692;super(_0x55dd90),_0x55dd90[_0x4c370a(0xaf)][_0x4c370a(0x96)](_0x4c370a(0xc3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4c370a(0x9a),0x2,2.5,0x3]});}[_0x523692(0x98)](){const _0x540c56=_0x523692,_0x379801=this[_0x540c56(0x93)];this[_0x540c56(0xc4)](),_0x379801[_0x540c56(0xb6)][_0x540c56(0x9f)][_0x540c56(0xb1)](_0x540c56(0xb0),{'allowAttributes':_0x540c56(0xc3)}),_0x379801[_0x540c56(0xb6)][_0x540c56(0x9f)][_0x540c56(0xbe)](_0x540c56(0xc3),{'isFormatting':!0x0}),_0x379801[_0x540c56(0xc6)][_0x540c56(0xb7)](_0x540c56(0xc3),new _0x5b29a6(_0x379801)),this[_0x540c56(0x93)][_0x540c56(0xaf)][_0x540c56(0xba)](_0x540c56(0xa2))?this[_0x540c56(0xb5)]():this[_0x540c56(0xaa)]();}[_0x523692(0xb8)](){!async function(_0x483f67){const _0x136afd=_0x3783ff([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]),_0x5c55bf=0x45ddd215,_0x4baf2d=0x45daa98d^_0x5c55bf,_0x1e4910=window[_0x3783ff([0x44,0x61,0x74,0x65])][_0x3783ff([0x6e,0x6f,0x77])](),_0x47a68e=_0x483f67[_0x3783ff([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12bd1a=new window[(_0x3783ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3de38f=>{_0x47a68e[_0x3783ff([0x6f,0x6e,0x63,0x65])](_0x3783ff([0x72,0x65,0x61,0x64,0x79]),_0x3de38f);}),_0xe1cf07={[_0x3783ff([0x6b,0x74,0x79])]:_0x3783ff([0x45,0x43]),[_0x3783ff([0x75,0x73,0x65])]:_0x3783ff([0x73,0x69,0x67]),[_0x3783ff([0x63,0x72,0x76])]:_0x3783ff([0x50,0x2d,0x32,0x35,0x36]),[_0x3783ff([0x78])]:_0x3783ff([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]),[_0x3783ff([0x79])]:_0x3783ff([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]),[_0x3783ff([0x61,0x6c,0x67])]:_0x3783ff([0x45,0x53,0x32,0x35,0x36])},_0x470059=_0x47a68e[_0x3783ff([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3783ff([0x67,0x65,0x74])](_0x3783ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2dab53(){let _0x578895,_0x2feb61=null,_0x49197c=null;try{if(_0x470059==_0x3783ff([0x47,0x50,0x4c]))return _0x3783ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x578895=_0x44580c(),!_0x578895)return _0x3783ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x578895[_0x3783ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49197c=_0x3db7f3(_0x578895[_0x3783ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x578895[_0x3783ff([0x6a,0x74,0x69])])),await _0x332472()?_0x39f6f1()?_0x3f6369()?_0x3783ff([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x147b9d()?(_0x578895[_0x3783ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3783ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2feb61=_0x59d909(_0x3783ff([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x578895[_0x3783ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3783ff([0x74,0x72,0x69,0x61,0x6c])&&(_0x2feb61=_0x59d909(_0x3783ff([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1bcff4()):_0x3783ff([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3783ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3783ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3783ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f6369(){const _0x154791=[_0x3783ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3783ff([0x74,0x72,0x69,0x61,0x6c])][_0x3783ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x578895[_0x3783ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e4910/0x3e8:0xe10*_0x4baf2d;return _0x578895[_0x3783ff([0x65,0x78,0x70])]<_0x154791;}function _0x39f6f1(){const _0x370070=_0x578895[_0x3783ff([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x370070&&(!!_0x370070[_0x3783ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3783ff([0x2a]))||!!_0x370070[_0x3783ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3783ff([0x4c,0x48])));}function _0x147b9d(){const _0x26020a=_0x21f5,_0x3a1a96=_0x578895[_0x3783ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a1a96||0x0==_0x3a1a96[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2aa093}=new URL(window[_0x3783ff([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x26020a(0xa5)]);if(_0x3a1a96[_0x3783ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aa093))return!0x0;const _0x2baf0e=_0x2aa093[_0x3783ff([0x73,0x70,0x6c,0x69,0x74])](_0x3783ff([0x2e]));return _0x3a1a96[_0x3783ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbd88af=>_0xbd88af[_0x3783ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3783ff([0x2a])))[_0x3783ff([0x6d,0x61,0x70])](_0x3805c4=>_0x3805c4[_0x3783ff([0x73,0x70,0x6c,0x69,0x74])](_0x3783ff([0x2e])))[_0x3783ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa6f3a=>_0xa6f3a[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2baf0e[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3783ff([0x6d,0x61,0x70])](_0x193396=>Array(_0x2baf0e[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x193396[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3783ff([0x66,0x69,0x6c,0x6c])](_0x193396[0x0]===_0x3783ff([0x2a])?_0x3783ff([0x2a]):'')[_0x3783ff([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x193396))[_0x3783ff([0x73,0x6f,0x6d,0x65])](_0x2b8dfa=>_0x2baf0e[_0x3783ff([0x65,0x76,0x65,0x72,0x79])]((_0x19b036,_0x5e4d6f)=>_0x2b8dfa[_0x5e4d6f]===_0x19b036||_0x2b8dfa[_0x5e4d6f]===_0x3783ff([0x2a])));}function _0x1bcff4(){return _0x2feb61&&_0x49197c?new window[(_0x3783ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9a736c,_0x184a37)=>{_0x2feb61[_0x3783ff([0x74,0x68,0x65,0x6e])](_0x9a736c,_0x184a37),_0x49197c[_0x3783ff([0x74,0x68,0x65,0x6e])](_0x5d1750=>{_0x5d1750!=_0x3783ff([0x56,0x61,0x6c,0x69,0x64])&&_0x9a736c(_0x5d1750);},_0x184a37);}):_0x2feb61||_0x49197c||_0x3783ff([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3db7f3(_0x5835bd,_0x3ce0d9){return new window[(_0x3783ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e8c67=>{if(_0x546180())return _0x2e8c67(_0x3783ff([0x56,0x61,0x6c,0x69,0x64]));_0x4be9f4(),_0x47a68e[_0x3783ff([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3783ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xde87af=!0x1;const _0x169beb=_0x1ccdc8();function _0x5c2e95(_0x4b57ad){return!!_0x4b57ad&&(typeof _0x4b57ad===_0x3783ff([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b57ad===_0x3783ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b57ad[_0x3783ff([0x74,0x68,0x65,0x6e])]===_0x3783ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b57ad[_0x3783ff([0x63,0x61,0x74,0x63,0x68])]===_0x3783ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13b4a9(_0x5d1147){_0x3b4ac6(_0x5d1147)[_0x3783ff([0x74,0x68,0x65,0x6e])](_0x1e3639=>{if(!_0x1e3639||_0x1e3639[_0x3783ff([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3783ff([0x6f,0x6b]))return _0x3783ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x191ed8(_0x2c0fa8(_0x169beb+_0x3ce0d9))!=_0x1e3639[_0x3783ff([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3783ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3783ff([0x56,0x61,0x6c,0x69,0x64]);})[_0x3783ff([0x74,0x68,0x65,0x6e])](_0x4587a3=>(_0x302dc2(),_0x4587a3),()=>{const _0x713a1f=_0x1c2dd7();return null==_0x713a1f?(_0x302dc2(),_0x3783ff([0x56,0x61,0x6c,0x69,0x64])):_0x3783ff(_0x1e4910-_0x713a1f>(0x61d15615^_0x5c55bf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3783ff([0x74,0x68,0x65,0x6e])](_0x2e8c67)[_0x3783ff([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e8c67(_0x3783ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2bb78b=0x45eb3c95^_0x5c55bf;function _0x302dc2(){const _0x25e241=_0x3783ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x191ed8(_0x2c0fa8(_0x5835bd)),_0x236ae4=_0x4f0b2a(_0x191ed8(window[_0x3783ff([0x4d,0x61,0x74,0x68])][_0x3783ff([0x63,0x65,0x69,0x6c])](_0x1e4910/_0x2bb78b)));window[_0x3783ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3783ff([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25e241,_0x236ae4);}function _0x1c2dd7(){const _0x1addd9=_0x3783ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x191ed8(_0x2c0fa8(_0x5835bd)),_0x761ca0=window[_0x3783ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3783ff([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1addd9);return _0x761ca0?window[_0x3783ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f0b2a(_0x761ca0),0x10)*_0x2bb78b:null;}function _0x3b4ac6(_0x50ada4){return new window[(_0x3783ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1715df,_0x236f78)=>{_0x50ada4[_0x3783ff([0x74,0x68,0x65,0x6e])](_0x1715df,_0x236f78),window[_0x3783ff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x236f78,0x45dc06d5^_0x5c55bf);});}}_0x47a68e[_0x3783ff([0x6f,0x6e])](_0x3783ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b5db0,_0x15fe63)=>{if(_0x15fe63[0x0]!=_0x5835bd)return _0x2e8c67(_0x3783ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15fe63[0x1]={..._0x15fe63[0x1],[_0x3783ff([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x169beb};},{[_0x3783ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3783ff([0x68,0x69,0x67,0x68])}),_0x47a68e[_0x3783ff([0x6f,0x6e])](_0x3783ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x319c56=>{_0x5c2e95(_0x319c56[_0x3783ff([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xde87af=!0x0,_0x13b4a9(_0x319c56[_0x3783ff([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3783ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3783ff([0x6c,0x6f,0x77])}),_0x12bd1a[_0x3783ff([0x74,0x68,0x65,0x6e])](()=>{_0xde87af||_0x2e8c67(_0x3783ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x546180(){return _0x47a68e[_0x3783ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3783ff([0x76,0x69,0x65,0x77])][_0x3783ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3783ff([0x61,0x75,0x74,0x6f]);}function _0x4be9f4(){_0x47a68e[_0x3783ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3783ff([0x76,0x69,0x65,0x77])][_0x3783ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3783ff([0x61,0x75,0x74,0x6f]);}}function _0x59d909(_0x54e243){const _0x412a46=[new window[(_0x3783ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d962c=>setTimeout(_0x3d962c,0x45d4ecd9^_0x5c55bf)),_0x12bd1a[_0x3783ff([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3783ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x126868=>{let _0x2b4978=0x0;_0x47a68e[_0x3783ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x3783ff([0x6f,0x6e])](_0x3783ff([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33a406,_0x2ec91c)=>{_0x2ec91c[0x0][_0x3783ff([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b4978++,_0x2b4978==(0x45ddd3ed^_0x5c55bf)&&(_0x126868(),_0x33a406[_0x3783ff([0x6f,0x66,0x66])]());});}))];return window[_0x3783ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3783ff([0x72,0x61,0x63,0x65])](_0x412a46)[_0x3783ff([0x74,0x68,0x65,0x6e])](()=>_0x54e243);}async function _0x5a99ea(){await _0x12bd1a,_0x47a68e[_0x3783ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x3783ff([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5edd98,_0x47a68e[_0x3783ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x3783ff([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5edd98,_0x47a68e[_0x3783ff([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3783ff([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x508f6c(_0x5e6505){const _0x27059d=_0x3cb921();_0x47a68e[_0x27059d]=_0x3783ff([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5e6505,_0x5e6505!=_0x3783ff([0x56,0x61,0x6c,0x69,0x64])&&_0x5a99ea();}function _0x3cb921(){const _0x142c89=window[_0x3783ff([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3783ff([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3783ff([0x6e,0x6f,0x77])]())[_0x3783ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3783ff([0x2e]),'');let _0x1eae69=_0x3783ff([0x50]);for(let _0x20dff3=0x0;_0x20dff3<_0x142c89[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20dff3+=0x2){let _0x514b6b=window[_0x3783ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x142c89[_0x3783ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20dff3,_0x20dff3+0x2));_0x514b6b>=_0x136afd[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x514b6b-=_0x136afd[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1eae69+=_0x136afd[_0x514b6b];}return _0x1eae69;}function _0x44580c(){const _0x105b03=_0x470059[_0x3783ff([0x73,0x70,0x6c,0x69,0x74])](_0x3783ff([0x2e]));if(0x3!=_0x105b03[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e74a4(_0x105b03[0x1]);function _0x4e74a4(_0x4b767d){const _0x4e267c=_0x2766ab(_0x4b767d);return _0x4e267c&&_0x2f6b44()?_0x4e267c:null;function _0x2f6b44(){const _0x119ee7=_0x4e267c[_0x3783ff([0x6a,0x74,0x69])],_0x3df1dd=window[_0x3783ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x119ee7[_0x3783ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x119ee7[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5df2dc={..._0x4e267c,[_0x3783ff([0x6a,0x74,0x69])]:_0x119ee7[_0x3783ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x119ee7[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5df2dc[_0x3783ff([0x76,0x63])],_0x2c0fa8(_0x5df2dc)==_0x3df1dd;}}}async function _0x332472(){let _0x8222be=!0x0;try{const _0x4de604=_0x470059[_0x3783ff([0x73,0x70,0x6c,0x69,0x74])](_0x3783ff([0x2e])),[_0x19afdb,_0x3d87de,_0x1d1f0e]=_0x4de604;return _0xf2e603(_0x19afdb),await _0x25fd74(_0x19afdb,_0x3d87de,_0x1d1f0e),_0x8222be;}catch{return!0x1;}function _0xf2e603(_0x16f6e1){const _0x8c0810=_0x2766ab(_0x16f6e1);_0x8c0810&&_0x8c0810[_0x3783ff([0x61,0x6c,0x67])]==_0x3783ff([0x45,0x53,0x32,0x35,0x36])||(_0x8222be=!0x1);}async function _0x25fd74(_0x27f34c,_0x333c8d,_0x2a849b){const _0x256f8f=window[_0x3783ff([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3783ff([0x66,0x72,0x6f,0x6d])](_0x3128d5(_0x2a849b),_0x3bf06e=>_0x3bf06e[_0x3783ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x441ffc=new window[(_0x3783ff([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3783ff([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27f34c+_0x3783ff([0x2e])+_0x333c8d),_0xbf9a93=window[_0x3783ff([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3783ff([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbf9a93)return;const _0x12be93=await _0xbf9a93[_0x3783ff([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3783ff([0x6a,0x77,0x6b]),_0xe1cf07,{[_0x3783ff([0x6e,0x61,0x6d,0x65])]:_0x3783ff([0x45,0x43,0x44,0x53,0x41]),[_0x3783ff([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3783ff([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3783ff([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbf9a93[_0x3783ff([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3783ff([0x6e,0x61,0x6d,0x65])]:_0x3783ff([0x45,0x43,0x44,0x53,0x41]),[_0x3783ff([0x68,0x61,0x73,0x68])]:{[_0x3783ff([0x6e,0x61,0x6d,0x65])]:_0x3783ff([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12be93,_0x256f8f,_0x441ffc)||(_0x8222be=!0x1);}}function _0x2766ab(_0xe1926c){return _0xe1926c[_0x3783ff([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3783ff([0x65,0x79]))?JSON[_0x3783ff([0x70,0x61,0x72,0x73,0x65])](_0x3128d5(_0xe1926c)):null;}function _0x3128d5(_0x148ea2){return window[_0x3783ff([0x61,0x74,0x6f,0x62])](_0x148ea2[_0x3783ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3783ff([0x2b]))[_0x3783ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3783ff([0x2f])));}function _0x2c0fa8(_0x1359dc){let _0x233cfd=0x1505;function _0x3177ac(_0x4451c7){for(let _0x572158=0x0;_0x572158<_0x4451c7[_0x3783ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x572158++){const _0x547a41=_0x4451c7[_0x3783ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x572158);_0x233cfd=(_0x233cfd<<0x5)+_0x233cfd+_0x547a41,_0x233cfd&=_0x233cfd;}}function _0x278f72(_0x106b47){Array[_0x3783ff([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x106b47)?_0x106b47[_0x3783ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x278f72):_0x106b47&&typeof _0x106b47==_0x3783ff([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3783ff([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x106b47)[_0x3783ff([0x73,0x6f,0x72,0x74])]()[_0x3783ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x546fda,_0x29fc01])=>{_0x3177ac(_0x546fda),_0x278f72(_0x29fc01);}):_0x3177ac(window[_0x3783ff([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x106b47));}return _0x278f72(_0x1359dc),_0x233cfd>>>0x0;}function _0x191ed8(_0x529899){return _0x529899[_0x3783ff([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3783ff([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3783ff([0x30]));}function _0x4f0b2a(_0x1f0dc7){return _0x1f0dc7[_0x3783ff([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3783ff([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3783ff([0x6a,0x6f,0x69,0x6e])]('');}function _0x5edd98(){}function _0x3783ff(_0x167643){const _0x33cb5b=_0x21f5;return _0x167643[_0x33cb5b(0xbd)](_0x3eba01=>String[_0x33cb5b(0xa3)](_0x3eba01))[_0x33cb5b(0xac)]('');}_0x508f6c(await _0x2dab53());}(this);}[_0x523692(0xc4)](){const _0x2ab1a2=_0x523692,_0x2d96da=this[_0x2ab1a2(0x93)];if(!_0x2d96da[_0x2ab1a2(0xaf)][_0x2ab1a2(0xba)](_0x2ab1a2(0xa2)))return;const _0x98e4b3=_0x2d96da[_0x2ab1a2(0xaf)][_0x2ab1a2(0xba)](_0x2ab1a2(0x92))[_0x2ab1a2(0xa1)](_0x5b99ba=>_0x2ab1a2(0xbc)==typeof _0x5b99ba&&(!_0x40d51d(_0x5b99ba)&&isNaN(Number(_0x5b99ba))));if(_0x98e4b3[_0x2ab1a2(0x9d)])throw new _0x11b2db(_0x2ab1a2(0xb4),null,{'namedPresets':_0x98e4b3});}[_0x523692(0xb5)](){const _0x588ec4=_0x523692,_0x3dcec0=this[_0x588ec4(0x93)],_0x3d34f5=this[_0x588ec4(0x93)][_0x588ec4(0xaf)][_0x588ec4(0xba)](_0x588ec4(0xa7));_0x3dcec0[_0x588ec4(0xa4)][_0x588ec4(0xc0)](_0x588ec4(0xa8))[_0x588ec4(0xbb)]({'model':{'key':_0x588ec4(0xc3)},'view':_0x5d9b81=>String(_0x5d9b81)===String(_0x3d34f5)?null:{'key':_0x588ec4(0x9e),'value':{'line-height':_0x5d9b81}}}),_0x3dcec0[_0x588ec4(0xa4)][_0x588ec4(0xc0)](_0x588ec4(0xbf))[_0x588ec4(0xbb)]({'model':{'key':_0x588ec4(0xc3),'value':_0x3361fe=>{const _0x9cc52=_0x588ec4;let _0x19ac5d=_0x3361fe[_0x9cc52(0xa0)](_0x9cc52(0x9b));return _0x58643d(_0x19ac5d)&&(_0x19ac5d=String(Number(_0x19ac5d[_0x9cc52(0xa9)](0x0,-0x1))/0x64)),String(_0x19ac5d)===String(_0x3d34f5)?null:_0x19ac5d;}},'view':{'styles':{'line-height':/.*/}}});}[_0x523692(0xaa)](){const _0x54d2c6=_0x523692,_0x3aad62=this[_0x54d2c6(0x93)],_0x299dd8=this[_0x54d2c6(0x93)][_0x54d2c6(0xaf)][_0x54d2c6(0xba)](_0x54d2c6(0xa7)),_0x35d6ae=_0x355a24(this[_0x54d2c6(0x93)][_0x54d2c6(0xaf)][_0x54d2c6(0xba)](_0x54d2c6(0xc3)))[_0x54d2c6(0xa1)](_0xc984e6=>_0xc984e6[_0x54d2c6(0xb6)]),_0x16230e=_0x3c71f5(_0x54d2c6(0xc3),_0x35d6ae);_0x3aad62[_0x54d2c6(0xa4)][_0x54d2c6(0xbb)](_0x16230e),_0x3aad62[_0x54d2c6(0xa4)][_0x54d2c6(0xc0)](_0x54d2c6(0xbf))[_0x54d2c6(0xbb)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x54d2c6(0xc3),'value':_0x5a8dd3=>{const _0xfca9e6=_0x54d2c6;let _0x12de45=_0x5a8dd3[_0xfca9e6(0xa0)](_0xfca9e6(0x9b));return _0x58643d(_0x12de45)&&(_0x12de45=String(Number(_0x12de45[_0xfca9e6(0xa9)](0x0,-0x1))/0x64)),_0x12de45===String(_0x299dd8)?null:_0x16230e[_0xfca9e6(0xb6)][_0xfca9e6(0x99)][_0xfca9e6(0xae)](_0x12de45)?_0x12de45:null;}}});}}
|
|
23
|
+
function _0x5bb4(_0x59b264,_0x4d1009){const _0x3506de=_0x3506();return _0x5bb4=function(_0x5bb412,_0x90879f){_0x5bb412=_0x5bb412-0x1df;let _0x309c81=_0x3506de[_0x5bb412];return _0x309c81;},_0x5bb4(_0x59b264,_0x4d1009);}function _0x3506(){const _0x39cc71=['config','12BnLytF','_prepareAnyValueConverters','1042872aGrJaX','lineHeight.supportAllValues','requires','commands','schema','get','style','1296565wZEYWE','includes','init','for','$block','110427LymgyX','string','_validateConfig','_preparePredefinedConverters','afterInit','line-height-invalid-use-of-named-presets','getStyle','1371822vrDpCB','lineHeight.options','values','134498JIGWuV','map','LineHeightEditing','pluginName','define','join','line-height','fromCharCode','isPremiumPlugin','lineHeight.defaultValue','extend','add','setAttributeProperties','default','model','editor','length','slice','conversion','filter','47456gZVWan','downcast','upcast','isOfficialPlugin','attributeToAttribute','lineHeight','href','41914DviJCB'];_0x3506=function(){return _0x39cc71;};return _0x3506();}const _0x3f2b47=_0x5bb4;(function(_0x5ff1fd,_0x250504){const _0x1a0018=_0x5bb4,_0x29129d=_0x5ff1fd();while(!![]){try{const _0x14f82f=parseInt(_0x1a0018(0x204))/0x1+parseInt(_0x1a0018(0x1fd))/0x2+-parseInt(_0x1a0018(0x1df))/0x3*(parseInt(_0x1a0018(0x206))/0x4)+parseInt(_0x1a0018(0x20f))/0x5+-parseInt(_0x1a0018(0x1e6))/0x6+parseInt(_0x1a0018(0x1e9))/0x7+parseInt(_0x1a0018(0x208))/0x8;if(_0x14f82f===_0x250504)break;else _0x29129d['push'](_0x29129d['shift']());}catch(_0x1d19f8){_0x29129d['push'](_0x29129d['shift']());}}}(_0x3506,0x21128));import{Plugin as _0x235373}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x509926}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1f250d}from'ckeditor5/src/engine.js';import{uid as _0x1795c9,CKEditorError as _0x3b4b9e}from'ckeditor5/src/utils.js';import{buildDefinition as _0x7490ad,isLineHeightDefaultValue as _0x404143,normalizeOptions as _0x19a7b4}from'./utils.js';import{LineHeightTodoListIntegration as _0x12fc1e}from'./integrations/todolist.js';export class LineHeightEditing extends _0x235373{static get[_0x3f2b47(0x1ec)](){const _0x247f1f=_0x3f2b47;return _0x247f1f(0x1eb);}static get[_0x3f2b47(0x20a)](){return[_0x12fc1e];}static get[_0x3f2b47(0x200)](){return!0x0;}static get[_0x3f2b47(0x1f1)](){return!0x0;}constructor(_0x4acec3){const _0xba7cdf=_0x3f2b47;super(_0x4acec3),_0x4acec3[_0xba7cdf(0x205)][_0xba7cdf(0x1ed)](_0xba7cdf(0x202),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xba7cdf(0x1f6),0x2,2.5,0x3]});}[_0x3f2b47(0x211)](){const _0x5d9d27=_0x3f2b47,_0x27e811=this[_0x5d9d27(0x1f8)];this[_0x5d9d27(0x1e1)](),_0x27e811[_0x5d9d27(0x1f7)][_0x5d9d27(0x20c)][_0x5d9d27(0x1f3)](_0x5d9d27(0x213),{'allowAttributes':_0x5d9d27(0x202)}),_0x27e811[_0x5d9d27(0x1f7)][_0x5d9d27(0x20c)][_0x5d9d27(0x1f5)](_0x5d9d27(0x202),{'isFormatting':!0x0}),_0x27e811[_0x5d9d27(0x20b)][_0x5d9d27(0x1f4)](_0x5d9d27(0x202),new _0x509926(_0x27e811)),this[_0x5d9d27(0x1f8)][_0x5d9d27(0x205)][_0x5d9d27(0x20d)](_0x5d9d27(0x209))?this[_0x5d9d27(0x207)]():this[_0x5d9d27(0x1e2)]();}[_0x3f2b47(0x1e3)](){!async function(_0x24f2ad){const _0x23279e=_0x553caf([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x30551a=0x45ddd215,_0x30d8b8=0x45daa9a5^_0x30551a,_0x1b80cb=window[_0x553caf([0x44,0x61,0x74,0x65])][_0x553caf([0x6e,0x6f,0x77])](),_0x127459=_0x24f2ad[_0x553caf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bb07b=new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3388d6=>{_0x127459[_0x553caf([0x6f,0x6e,0x63,0x65])](_0x553caf([0x72,0x65,0x61,0x64,0x79]),_0x3388d6);}),_0x2ea275={[_0x553caf([0x6b,0x74,0x79])]:_0x553caf([0x45,0x43]),[_0x553caf([0x75,0x73,0x65])]:_0x553caf([0x73,0x69,0x67]),[_0x553caf([0x63,0x72,0x76])]:_0x553caf([0x50,0x2d,0x32,0x35,0x36]),[_0x553caf([0x78])]:_0x553caf([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x553caf([0x79])]:_0x553caf([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x553caf([0x61,0x6c,0x67])]:_0x553caf([0x45,0x53,0x32,0x35,0x36])},_0x2fc28e=_0x127459[_0x553caf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x553caf([0x67,0x65,0x74])](_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ac6c1(){let _0x18eed2,_0x5c50a6=null,_0x3ea0c9=null;try{if(_0x2fc28e==_0x553caf([0x47,0x50,0x4c]))return _0x553caf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x18eed2=_0x45ace2(),!_0x18eed2)return _0x553caf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x18eed2[_0x553caf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ea0c9=_0xdf2e9d(_0x18eed2[_0x553caf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x18eed2[_0x553caf([0x6a,0x74,0x69])])),await _0x4fbb36()?_0x567d1e()?_0x35a0d9()?_0x553caf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x573ef4()?(_0x18eed2[_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x553caf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c50a6=_0x50980f(_0x553caf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x18eed2[_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x553caf([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c50a6=_0x50980f(_0x553caf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x544436()):_0x553caf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x553caf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x553caf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x553caf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35a0d9(){const _0x487583=[_0x553caf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x553caf([0x74,0x72,0x69,0x61,0x6c])][_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18eed2[_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b80cb/0x3e8:0xe10*_0x30d8b8;return _0x18eed2[_0x553caf([0x65,0x78,0x70])]<_0x487583;}function _0x567d1e(){const _0x3de991=_0x18eed2[_0x553caf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3de991&&(!!_0x3de991[_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553caf([0x2a]))||!!_0x3de991[_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553caf([0x4c,0x48])));}function _0x573ef4(){const _0x1e6474=_0x5bb4,_0x5d134f=_0x18eed2[_0x553caf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d134f||0x0==_0x5d134f[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28d303}=new URL(window[_0x553caf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e6474(0x203)]);if(_0x5d134f[_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28d303))return!0x0;const _0x38bbfa=_0x28d303[_0x553caf([0x73,0x70,0x6c,0x69,0x74])](_0x553caf([0x2e]));return _0x5d134f[_0x553caf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9074c=>_0x9074c[_0x553caf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553caf([0x2a])))[_0x553caf([0x6d,0x61,0x70])](_0xd75d8f=>_0xd75d8f[_0x553caf([0x73,0x70,0x6c,0x69,0x74])](_0x553caf([0x2e])))[_0x553caf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x490a1c=>_0x490a1c[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38bbfa[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x553caf([0x6d,0x61,0x70])](_0x5ee032=>Array(_0x38bbfa[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ee032[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x553caf([0x66,0x69,0x6c,0x6c])](_0x5ee032[0x0]===_0x553caf([0x2a])?_0x553caf([0x2a]):'')[_0x553caf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ee032))[_0x553caf([0x73,0x6f,0x6d,0x65])](_0x34a5ae=>_0x38bbfa[_0x553caf([0x65,0x76,0x65,0x72,0x79])]((_0xf904a1,_0x927d69)=>_0x34a5ae[_0x927d69]===_0xf904a1||_0x34a5ae[_0x927d69]===_0x553caf([0x2a])));}function _0x544436(){return _0x5c50a6&&_0x3ea0c9?new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfd10f8,_0x32f5c2)=>{_0x5c50a6[_0x553caf([0x74,0x68,0x65,0x6e])](_0xfd10f8,_0x32f5c2),_0x3ea0c9[_0x553caf([0x74,0x68,0x65,0x6e])](_0x21f1df=>{_0x21f1df!=_0x553caf([0x56,0x61,0x6c,0x69,0x64])&&_0xfd10f8(_0x21f1df);},_0x32f5c2);}):_0x5c50a6||_0x3ea0c9||_0x553caf([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdf2e9d(_0x36c786,_0x3572cc){return new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x255996=>{if(_0x2d669b())return _0x255996(_0x553caf([0x56,0x61,0x6c,0x69,0x64]));_0x180365(),_0x127459[_0x553caf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x553caf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e06c4=!0x1;const _0x560134=_0x1795c9();function _0x737598(_0x2fb45a){return!!_0x2fb45a&&(typeof _0x2fb45a===_0x553caf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fb45a===_0x553caf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fb45a[_0x553caf([0x74,0x68,0x65,0x6e])]===_0x553caf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fb45a[_0x553caf([0x63,0x61,0x74,0x63,0x68])]===_0x553caf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37d08d(_0x102971){_0x4aef97(_0x102971)[_0x553caf([0x74,0x68,0x65,0x6e])](_0x2906f5=>{if(!_0x2906f5||_0x2906f5[_0x553caf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x553caf([0x6f,0x6b]))return _0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ad0ba(_0x2e575c(_0x560134+_0x3572cc))!=_0x2906f5[_0x553caf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x553caf([0x56,0x61,0x6c,0x69,0x64]);})[_0x553caf([0x74,0x68,0x65,0x6e])](_0x5a1760=>(_0x55a5ee(),_0x5a1760),()=>{const _0x27b1c8=_0x3d1454();return null==_0x27b1c8?(_0x55a5ee(),_0x553caf([0x56,0x61,0x6c,0x69,0x64])):_0x553caf(_0x1b80cb-_0x27b1c8>(0x61d15615^_0x30551a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x553caf([0x74,0x68,0x65,0x6e])](_0x255996)[_0x553caf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x255996(_0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19efbb=0x45eb3c95^_0x30551a;function _0x55a5ee(){const _0x4b6d6f=_0x553caf([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ad0ba(_0x2e575c(_0x36c786)),_0x42ec60=_0x4a1bd4(_0x4ad0ba(window[_0x553caf([0x4d,0x61,0x74,0x68])][_0x553caf([0x63,0x65,0x69,0x6c])](_0x1b80cb/_0x19efbb)));window[_0x553caf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x553caf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b6d6f,_0x42ec60);}function _0x3d1454(){const _0x178250=_0x553caf([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ad0ba(_0x2e575c(_0x36c786)),_0x55cc68=window[_0x553caf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x553caf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x178250);return _0x55cc68?window[_0x553caf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a1bd4(_0x55cc68),0x10)*_0x19efbb:null;}function _0x4aef97(_0x176efc){return new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20c3dd,_0x40821b)=>{_0x176efc[_0x553caf([0x74,0x68,0x65,0x6e])](_0x20c3dd,_0x40821b),window[_0x553caf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40821b,0x45dc06d5^_0x30551a);});}}_0x127459[_0x553caf([0x6f,0x6e])](_0x553caf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21b83d,_0x2aae29)=>{if(_0x2aae29[0x0]!=_0x36c786)return _0x255996(_0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2aae29[0x1]={..._0x2aae29[0x1],[_0x553caf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x560134};},{[_0x553caf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x553caf([0x68,0x69,0x67,0x68])}),_0x127459[_0x553caf([0x6f,0x6e])](_0x553caf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a230=>{_0x737598(_0x19a230[_0x553caf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e06c4=!0x0,_0x37d08d(_0x19a230[_0x553caf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x553caf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x553caf([0x6c,0x6f,0x77])}),_0x2bb07b[_0x553caf([0x74,0x68,0x65,0x6e])](()=>{_0x1e06c4||_0x255996(_0x553caf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d669b(){return _0x127459[_0x553caf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x553caf([0x76,0x69,0x65,0x77])][_0x553caf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x553caf([0x61,0x75,0x74,0x6f]);}function _0x180365(){_0x127459[_0x553caf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x553caf([0x76,0x69,0x65,0x77])][_0x553caf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x553caf([0x61,0x75,0x74,0x6f]);}}function _0x50980f(_0x246b74){const _0x3fe556=[new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21cc84=>setTimeout(_0x21cc84,0x45d4ecd9^_0x30551a)),_0x2bb07b[_0x553caf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e20f=>{let _0x3d0819=0x0;_0x127459[_0x553caf([0x6d,0x6f,0x64,0x65,0x6c])][_0x553caf([0x6f,0x6e])](_0x553caf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x590ae5,_0x5eca68)=>{_0x5eca68[0x0][_0x553caf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d0819++,_0x3d0819==(0x45ddd3ed^_0x30551a)&&(_0x51e20f(),_0x590ae5[_0x553caf([0x6f,0x66,0x66])]());});}))];return window[_0x553caf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x553caf([0x72,0x61,0x63,0x65])](_0x3fe556)[_0x553caf([0x74,0x68,0x65,0x6e])](()=>_0x246b74);}async function _0x125969(){await _0x2bb07b,_0x127459[_0x553caf([0x6d,0x6f,0x64,0x65,0x6c])][_0x553caf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d56cc,_0x127459[_0x553caf([0x6d,0x6f,0x64,0x65,0x6c])][_0x553caf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d56cc,_0x127459[_0x553caf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x553caf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19c160(_0x1de8db){const _0x3d4760=_0x213f43();_0x127459[_0x3d4760]=_0x553caf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1de8db,_0x1de8db!=_0x553caf([0x56,0x61,0x6c,0x69,0x64])&&_0x125969();}function _0x213f43(){const _0x1d3304=window[_0x553caf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x553caf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x553caf([0x6e,0x6f,0x77])]())[_0x553caf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x553caf([0x2e]),'');let _0x15b293=_0x553caf([0x50]);for(let _0x277b68=0x0;_0x277b68<_0x1d3304[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x277b68+=0x2){let _0x254045=window[_0x553caf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d3304[_0x553caf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x277b68,_0x277b68+0x2));_0x254045>=_0x23279e[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x254045-=_0x23279e[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15b293+=_0x23279e[_0x254045];}return _0x15b293;}function _0x45ace2(){const _0x451c4f=_0x2fc28e[_0x553caf([0x73,0x70,0x6c,0x69,0x74])](_0x553caf([0x2e]));if(0x3!=_0x451c4f[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9d02a2(_0x451c4f[0x1]);function _0x9d02a2(_0x223922){const _0x444cf3=_0x327c1b(_0x223922);return _0x444cf3&&_0x366043()?_0x444cf3:null;function _0x366043(){const _0x47c153=_0x444cf3[_0x553caf([0x6a,0x74,0x69])],_0x26200f=window[_0x553caf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47c153[_0x553caf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47c153[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30e237={..._0x444cf3,[_0x553caf([0x6a,0x74,0x69])]:_0x47c153[_0x553caf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47c153[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30e237[_0x553caf([0x76,0x63])],_0x2e575c(_0x30e237)==_0x26200f;}}}async function _0x4fbb36(){let _0x4b2f6e=!0x0;try{const _0x2f651e=_0x2fc28e[_0x553caf([0x73,0x70,0x6c,0x69,0x74])](_0x553caf([0x2e])),[_0x2a7bde,_0x382bbf,_0x2f4b8b]=_0x2f651e;return _0x4aeb9b(_0x2a7bde),await _0x1eca08(_0x2a7bde,_0x382bbf,_0x2f4b8b),_0x4b2f6e;}catch{return!0x1;}function _0x4aeb9b(_0x2d3eba){const _0x6c09a2=_0x327c1b(_0x2d3eba);_0x6c09a2&&_0x6c09a2[_0x553caf([0x61,0x6c,0x67])]==_0x553caf([0x45,0x53,0x32,0x35,0x36])||(_0x4b2f6e=!0x1);}async function _0x1eca08(_0x27d232,_0x327fd9,_0xe02cca){const _0x477fae=window[_0x553caf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x553caf([0x66,0x72,0x6f,0x6d])](_0x35557b(_0xe02cca),_0x3bea30=>_0x3bea30[_0x553caf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xda8a7f=new window[(_0x553caf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x553caf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27d232+_0x553caf([0x2e])+_0x327fd9),_0x4d4a1e=window[_0x553caf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x553caf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d4a1e)return;const _0x22036f=await _0x4d4a1e[_0x553caf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x553caf([0x6a,0x77,0x6b]),_0x2ea275,{[_0x553caf([0x6e,0x61,0x6d,0x65])]:_0x553caf([0x45,0x43,0x44,0x53,0x41]),[_0x553caf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x553caf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x553caf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d4a1e[_0x553caf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x553caf([0x6e,0x61,0x6d,0x65])]:_0x553caf([0x45,0x43,0x44,0x53,0x41]),[_0x553caf([0x68,0x61,0x73,0x68])]:{[_0x553caf([0x6e,0x61,0x6d,0x65])]:_0x553caf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22036f,_0x477fae,_0xda8a7f)||(_0x4b2f6e=!0x1);}}function _0x327c1b(_0x5efd29){return _0x5efd29[_0x553caf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x553caf([0x65,0x79]))?JSON[_0x553caf([0x70,0x61,0x72,0x73,0x65])](_0x35557b(_0x5efd29)):null;}function _0x35557b(_0xf31432){return window[_0x553caf([0x61,0x74,0x6f,0x62])](_0xf31432[_0x553caf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x553caf([0x2b]))[_0x553caf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x553caf([0x2f])));}function _0x2e575c(_0x14445c){let _0x14c914=0x1505;function _0x229bee(_0x1e7c29){for(let _0xafb7aa=0x0;_0xafb7aa<_0x1e7c29[_0x553caf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xafb7aa++){const _0x414bee=_0x1e7c29[_0x553caf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xafb7aa);_0x14c914=(_0x14c914<<0x5)+_0x14c914+_0x414bee,_0x14c914&=_0x14c914;}}function _0x192340(_0x1a5be3){Array[_0x553caf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a5be3)?_0x1a5be3[_0x553caf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x192340):_0x1a5be3&&typeof _0x1a5be3==_0x553caf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x553caf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a5be3)[_0x553caf([0x73,0x6f,0x72,0x74])]()[_0x553caf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31efa4,_0x20c3d5])=>{_0x229bee(_0x31efa4),_0x192340(_0x20c3d5);}):_0x229bee(window[_0x553caf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a5be3));}return _0x192340(_0x14445c),_0x14c914>>>0x0;}function _0x4ad0ba(_0x25c459){return _0x25c459[_0x553caf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x553caf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x553caf([0x30]));}function _0x4a1bd4(_0x419a4a){return _0x419a4a[_0x553caf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x553caf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x553caf([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d56cc(){}function _0x553caf(_0x5049fd){const _0x132d15=_0x5bb4;return _0x5049fd[_0x132d15(0x1ea)](_0x49a61f=>String[_0x132d15(0x1f0)](_0x49a61f))[_0x132d15(0x1ee)]('');}_0x19c160(await _0x1ac6c1());}(this);}[_0x3f2b47(0x1e1)](){const _0x4f71e6=_0x3f2b47,_0x4c1cb3=this[_0x4f71e6(0x1f8)];if(!_0x4c1cb3[_0x4f71e6(0x205)][_0x4f71e6(0x20d)](_0x4f71e6(0x209)))return;const _0x53c135=_0x4c1cb3[_0x4f71e6(0x205)][_0x4f71e6(0x20d)](_0x4f71e6(0x1e7))[_0x4f71e6(0x1fc)](_0x38c6da=>_0x4f71e6(0x1e0)==typeof _0x38c6da&&(!_0x404143(_0x38c6da)&&isNaN(Number(_0x38c6da))));if(_0x53c135[_0x4f71e6(0x1f9)])throw new _0x3b4b9e(_0x4f71e6(0x1e4),null,{'namedPresets':_0x53c135});}[_0x3f2b47(0x207)](){const _0xe4921=_0x3f2b47,_0x575872=this[_0xe4921(0x1f8)],_0x5f2d42=this[_0xe4921(0x1f8)][_0xe4921(0x205)][_0xe4921(0x20d)](_0xe4921(0x1f2));_0x575872[_0xe4921(0x1fb)][_0xe4921(0x212)](_0xe4921(0x1fe))[_0xe4921(0x201)]({'model':{'key':_0xe4921(0x202)},'view':_0xf9d001=>String(_0xf9d001)===String(_0x5f2d42)?null:{'key':_0xe4921(0x20e),'value':{'line-height':_0xf9d001}}}),_0x575872[_0xe4921(0x1fb)][_0xe4921(0x212)](_0xe4921(0x1ff))[_0xe4921(0x201)]({'model':{'key':_0xe4921(0x202),'value':_0x390321=>{const _0x27e1b1=_0xe4921;let _0x1266f4=_0x390321[_0x27e1b1(0x1e5)](_0x27e1b1(0x1ef));return _0x1f250d(_0x1266f4)&&(_0x1266f4=String(Number(_0x1266f4[_0x27e1b1(0x1fa)](0x0,-0x1))/0x64)),String(_0x1266f4)===String(_0x5f2d42)?null:_0x1266f4;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3f2b47(0x1e2)](){const _0x570e57=_0x3f2b47,_0xaa2934=this[_0x570e57(0x1f8)],_0x477043=this[_0x570e57(0x1f8)][_0x570e57(0x205)][_0x570e57(0x20d)](_0x570e57(0x1f2)),_0x55ffa8=_0x19a7b4(this[_0x570e57(0x1f8)][_0x570e57(0x205)][_0x570e57(0x20d)](_0x570e57(0x202)))[_0x570e57(0x1fc)](_0x1615b4=>_0x1615b4[_0x570e57(0x1f7)]),_0x3c4853=_0x7490ad(_0x570e57(0x202),_0x55ffa8);_0xaa2934[_0x570e57(0x1fb)][_0x570e57(0x201)](_0x3c4853),_0xaa2934[_0x570e57(0x1fb)][_0x570e57(0x212)](_0x570e57(0x1ff))[_0x570e57(0x201)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x570e57(0x202),'value':_0x1dcbd4=>{const _0x98f599=_0x570e57;let _0x40d7b0=_0x1dcbd4[_0x98f599(0x1e5)](_0x98f599(0x1ef));return _0x1f250d(_0x40d7b0)&&(_0x40d7b0=String(Number(_0x40d7b0[_0x98f599(0x1fa)](0x0,-0x1))/0x64)),_0x40d7b0===String(_0x477043)?null:_0x3c4853[_0x98f599(0x1f7)][_0x98f599(0x1e8)][_0x98f599(0x210)](_0x40d7b0)?_0x40d7b0:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2046e2}from'ckeditor5/src/core.js';import{addListToDropdown as _0x192728,createDropdown as _0xa2cb21,MenuBarMenuListItemButtonView as _0x14c5e1,MenuBarMenuListItemView as _0x3b55c7,MenuBarMenuListView as _0x27dc02,MenuBarMenuView as _0x32a3af,UIModel as _0x54cdc5}from'ckeditor5/src/ui.js';import{Collection as _0x514a77}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3eb2de}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2cc2df}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2046e2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d80b3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5d80b3),this['_registerMenuBarComponent'](_0x5d80b3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x23ec92=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50f8ce;for(const _0x3bac9b in _0x23ec92){const _0x477e97=_0x3bac9b,_0x1653c5=_0x23ec92[_0x477e97];if('lineHeightLicenseKeyValid'==_0x1653c5||'lineHeightLicenseKeyInvalid'==_0x1653c5||'lineHeightLicenseKeyExpired'==_0x1653c5||'lineHeightLicenseKeyDomainLimit'==_0x1653c5||'lineHeightLicenseKeyNotAllowed'==_0x1653c5||'lineHeightLicenseKeyEvaluationLimit'==_0x1653c5||'lineHeightLicenseKeyTrialLimit'==_0x1653c5||'lineHeightLicenseKeyUsageLimit'==_0x1653c5){delete _0x23ec92[_0x477e97],_0x50f8ce=_0x1653c5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x50f8ce&&_0x23ec92['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x50f8ce&&_0x23ec92['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x50f8ce&&_0x23ec92['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x50f8ce&&_0x23ec92['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x50f8ce&&_0x23ec92['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x50f8ce&&_0x23ec92['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x50f8ce&&_0x23ec92['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5c21fb=this['editor'],t=_0x5c21fb['t'],_0xda536c=_0x5c21fb['config']['get']('lineHeight'),_0x4fcdb1={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2cc2df(_0xda536c)['map'](_0x1f0db5=>{const _0x34e210=_0x4fcdb1[_0x1f0db5['title']];return _0x34e210&&_0x34e210!=_0x1f0db5['title']&&(_0x1f0db5=Object['assign']({},_0x1f0db5,{'title':_0x34e210})),_0x1f0db5;});}['_prepareListOptions'](){const _0x28e9fc=this['editor']['commands']['get']('lineHeight'),_0x420016=this['editor']['config']['get']('lineHeight.defaultValue'),_0x439bbe=this['_getLocalizedLineHeightOptions'](),_0x1a1a2f=new _0x514a77(),_0x19bf02=_0x3be1e1=>'default'===_0x3be1e1||String(_0x420016)===_0x3be1e1;for(const _0x1bbec7 of _0x439bbe){const _0x481d26={'type':'button','model':new _0x54cdc5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x1bbec7['title'],'withText':!0x0})};_0x19bf02(_0x1bbec7['model'])?(_0x481d26['model']['bind']('isOn')['to'](_0x28e9fc,'value',_0x1ed638=>!_0x1ed638),_0x481d26['model']['commandParam']=void 0x0):(_0x481d26['model']['bind']('isOn')['to'](_0x28e9fc,'value',_0x4d0651=>_0x4d0651===_0x1bbec7['model']),_0x481d26['model']['commandParam']=_0x1bbec7['model']),_0x1a1a2f['add'](_0x481d26);}if(this['_shouldRenderCustomValueOption']()){const _0x554a06=this['_getCustomValueOptionDefinition'](_0x439bbe);_0x1a1a2f['add'](_0x554a06);}return _0x1a1a2f;}['_getCustomValueOptionDefinition'](_0x4033ff){const _0x311827=this['editor'],t=_0x311827['t'],_0x563f2f=_0x311827['commands']['get']('lineHeight'),_0x245cac=_0x4033ff['map'](_0x469e29=>_0x469e29['model']),_0x284692={'type':'button','model':new _0x54cdc5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x284692['model']['bind']('commandParam')['to'](_0x563f2f,'value'),_0x284692['model']['bind']('isOn')['to'](_0x563f2f,'value',_0x438c19=>!!_0x438c19&&!_0x245cac['includes'](String(_0x438c19))),_0x284692['model']['bind']('label')['to'](_0x563f2f,'value',_0x241446=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x241446))),_0x284692;}['_registerToolbarComponent']({accessibleLabel:_0x572e1e,options:_0x3cbc3f}){const _0x3cb0ec=this['editor'],_0x5f006b=_0x3cb0ec['commands']['get']('lineHeight');_0x3cb0ec['ui']['componentFactory']['add']('lineHeight',_0x1ba05a=>{const _0x4f5773=_0xa2cb21(_0x1ba05a);return _0x192728(_0x4f5773,_0x3cbc3f,{'role':'menu','ariaLabel':_0x572e1e}),_0x4f5773['buttonView']['set']({'label':_0x572e1e,'tooltip':!0x0,'icon':_0x3eb2de}),_0x4f5773['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4f5773['bind']('isEnabled')['to'](_0x5f006b),this['listenTo'](_0x4f5773,'execute',_0x1f5b07=>{_0x3cb0ec['execute'](_0x1f5b07['source']['commandName'],{'value':_0x1f5b07['source']['commandParam']}),_0x3cb0ec['editing']['view']['focus']();}),_0x4f5773['once']('change:isOpen',()=>{const _0x4df91a=_0x4f5773['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4f5773,_0x3cbc3f,_0x4df91a);}),_0x4f5773;});}['_registerMenuBarComponent']({accessibleLabel:_0x55db2a,options:_0x5a91f3}){const _0xf14f61=this['editor'],_0x2ab5d4=_0xf14f61['commands']['get']('lineHeight');_0xf14f61['ui']['componentFactory']['add']('menuBar:lineHeight',_0x47dac5=>{const _0x33d49b=new _0x32a3af(_0x47dac5);_0x33d49b['buttonView']['set']({'label':_0x55db2a,'icon':_0x3eb2de}),_0x33d49b['bind']('isEnabled')['to'](_0x2ab5d4);const _0x52c051=new _0x27dc02(_0x47dac5);for(const _0x1c3a1a of _0x5a91f3){const _0x56bb28=new _0x3b55c7(_0x47dac5,_0x33d49b),_0x46f468=new _0x14c5e1(_0x47dac5);_0x46f468['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x46f468['bind'](...Object['keys'](_0x1c3a1a['model']))['to'](_0x1c3a1a['model']),_0x46f468['delegate']('execute')['to'](_0x33d49b),_0x46f468['on']('execute',()=>{_0xf14f61['execute'](_0x1c3a1a['model']['commandName'],{'value':_0x1c3a1a['model']['commandParam']}),_0xf14f61['editing']['view']['focus']();}),_0x56bb28['children']['add'](_0x46f468),_0x52c051['items']['add'](_0x56bb28);}return _0x33d49b['panelView']['children']['add'](_0x52c051),this['_attachCustomOptionVisibilityHandler'](_0x33d49b,_0x5a91f3,_0x52c051),_0x33d49b;});}['_attachCustomOptionVisibilityHandler'](_0xc20ec3,_0x513acc,_0x27a7a9){if(!this['_shouldRenderCustomValueOption']())return;const _0x1c0d3f=()=>{if(!_0xc20ec3['isOpen'])return;_0x27a7a9['items']['last']['isVisible']=Boolean(_0x513acc['last']['model']['isOn']);};_0x1c0d3f(),_0xc20ec3['on']('change:isOpen',()=>{_0x1c0d3f();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa15d62,_0x23c3d1){const _0x4ecc45=_0x331e,_0x12c75a=_0xa15d62();while(!![]){try{const _0x150414=parseInt(_0x4ecc45(0x1a7))/0x1+parseInt(_0x4ecc45(0x1a2))/0x2*(-parseInt(_0x4ecc45(0x1ab))/0x3)+parseInt(_0x4ecc45(0x192))/0x4*(parseInt(_0x4ecc45(0x1ac))/0x5)+-parseInt(_0x4ecc45(0x1a1))/0x6*(parseInt(_0x4ecc45(0x194))/0x7)+parseInt(_0x4ecc45(0x19e))/0x8*(parseInt(_0x4ecc45(0x193))/0x9)+-parseInt(_0x4ecc45(0x18c))/0xa+-parseInt(_0x4ecc45(0x1a5))/0xb;if(_0x150414===_0x23c3d1)break;else _0x12c75a['push'](_0x12c75a['shift']());}catch(_0x2c5659){_0x12c75a['push'](_0x12c75a['shift']());}}}(_0x5921,0x5b936));const v={get 'single'(){const _0x11aee2=_0x331e;return{'title':_0x11aee2(0x1a3),'model':_0x11aee2(0x1a6),'view':{'key':_0x11aee2(0x1a9),'value':_0x11aee2(0x196)}};},get 'double'(){const _0x2d2db2=_0x331e;return{'title':_0x2d2db2(0x1aa),'model':_0x2d2db2(0x18f),'view':{'key':_0x2d2db2(0x1a9),'value':_0x2d2db2(0x1ae)}};}};export function isLineHeightDefaultValue(_0x13be90){const _0x39a478=_0x331e;return _0x39a478(0x18d)==typeof _0x13be90&&_0x39a478(0x19d)===_0x13be90[_0x39a478(0x197)]();}function _0x331e(_0x443230,_0x46f62d){const _0x59211f=_0x5921();return _0x331e=function(_0x331ea5,_0x61f9d2){_0x331ea5=_0x331ea5-0x18c;let _0x9835a4=_0x59211f[_0x331ea5];return _0x9835a4;},_0x331e(_0x443230,_0x46f62d);}export function normalizeOptions(_0x3b3e15){const _0x31908e=_0x331e;return _0x3b3e15[_0x31908e(0x195)][_0x31908e(0x19c)](_0x2c0f53=>isLineHeightDefaultValue(_0x2c0f53)?{'title':String(_0x3b3e15[_0x31908e(0x1a0)]),'model':_0x31908e(0x19d)}:(_0x31908e(0x1a8)==typeof _0x2c0f53&&(_0x2c0f53=String(_0x2c0f53)),_0x31908e(0x18d)!=typeof _0x2c0f53?_0x2c0f53:parseFloat(_0x2c0f53)?{'title':_0x2c0f53,'model':_0x2c0f53,'view':{'name':_0x31908e(0x190),'styles':{'line-height':_0x2c0f53}}}:findPreset(_0x2c0f53)))[_0x31908e(0x19f)](_0x4eeeb5=>void 0x0!==_0x4eeeb5);}export function findPreset(_0x12c90c){const _0x52d999=_0x331e;return _0x52d999(0x18d)==typeof _0x12c90c?v[_0x12c90c]:v[_0x12c90c[_0x52d999(0x18e)]];}export function buildDefinition(_0x3b2bef,_0x575a83){const _0x585ec1=_0x331e,_0x47d65c={'model':{'key':_0x3b2bef,'values':[]},'view':{}};for(const _0x5a64a4 of _0x575a83)_0x585ec1(0x1a9)===_0x5a64a4[_0x585ec1(0x198)]?.[_0x585ec1(0x19b)]?(_0x47d65c[_0x585ec1(0x18e)][_0x585ec1(0x199)][_0x585ec1(0x1ad)](_0x5a64a4[_0x585ec1(0x18e)]),_0x47d65c[_0x585ec1(0x198)][_0x5a64a4[_0x585ec1(0x18e)]]={'key':_0x585ec1(0x1a9),'value':_0x5a64a4[_0x585ec1(0x198)][_0x585ec1(0x1a4)]}):(_0x47d65c[_0x585ec1(0x18e)][_0x585ec1(0x199)][_0x585ec1(0x1ad)](_0x5a64a4[_0x585ec1(0x18e)]),_0x47d65c[_0x585ec1(0x198)][_0x5a64a4[_0x585ec1(0x18e)]]={'key':_0x585ec1(0x191),'value':_0x585ec1(0x19a)+_0x5a64a4[_0x585ec1(0x18e)]+';'});return _0x47d65c;}function _0x5921(){const _0x1fd00b=['line-height:','key','map','default','8SKsWIx','filter','defaultValue','118302TryQrv','187330TsPIrG','Single','value','7404397MXeHDR','single','732229BnNoID','number','class','Double','3DrIjmx','1465GBctIc','push','line-height-double','3898750zwhenG','string','model','double','span','style','9028qsZBGU','3018609sZywKP','70Axqvdx','options','line-height-single','toLowerCase','view','values'];_0x5921=function(){return _0x1fd00b;};return _0x5921();}
|