@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251211.0 → 0.0.0-nightly-next-20251211.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 _0x1a0b9e=_0x51ba;(function(_0x1d5225,_0x4d47fc){const _0x2cc198=_0x51ba,_0x503c08=_0x1d5225();while(!![]){try{const _0xd02624=-parseInt(_0x2cc198(0x8c))/0x1+-parseInt(_0x2cc198(0x93))/0x2*(parseInt(_0x2cc198(0xb2))/0x3)+parseInt(_0x2cc198(0x96))/0x4+-parseInt(_0x2cc198(0x9e))/0x5+parseInt(_0x2cc198(0x95))/0x6+parseInt(_0x2cc198(0xaa))/0x7*(-parseInt(_0x2cc198(0x98))/0x8)+parseInt(_0x2cc198(0x8f))/0x9*(parseInt(_0x2cc198(0xa9))/0xa);if(_0xd02624===_0x4d47fc)break;else _0x503c08['push'](_0x503c08['shift']());}catch(_0x513f30){_0x503c08['push'](_0x503c08['shift']());}}}(_0x1f50,0x6ff5b));import{Plugin as _0x3a6e44}from'ckeditor5/src/core.js';import{Matcher as _0x5d4c98}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x3a6e44{static get[_0x1a0b9e(0xa8)](){const _0xedbe5d=_0x1a0b9e;return _0xedbe5d(0x9c);}static get[_0x1a0b9e(0x97)](){return!0x0;}static get[_0x1a0b9e(0x91)](){return!0x0;}[_0x1a0b9e(0xb3)](){const _0x1694d9=_0x1a0b9e,{plugins:_0x328b79,conversion:_0x3bff21}=this[_0x1694d9(0x9f)];if(!_0x328b79[_0x1694d9(0x99)](_0x1694d9(0xb1))||!_0x328b79[_0x1694d9(0x99)](_0x1694d9(0xa1)))return;_0x328b79[_0x1694d9(0xa0)](_0x1694d9(0xb1))[_0x1694d9(0x92)]({'scope':_0x1694d9(0xab),'attributeName':_0x1694d9(0x9d),'consume':!0x1,'setAttributeOnDowncast'(_0x468447,_0x3e9f35,_0xdef67e,_0x1c4626,_0x1e96a6){const _0x5d1079=_0x1694d9;_0x5d1079(0xa7)==_0x1e96a6[_0x5d1079(0x9b)](_0x5d1079(0x89))&&_0x3e9f35&&(_0x468447[_0x5d1079(0x88)](_0x5d1079(0xa6),_0xdef67e),_0x468447[_0x5d1079(0xa2)](_0x5d1079(0x8a),_0x3e9f35,_0xdef67e));}}),_0x3bff21[_0x1694d9(0xb0)](_0x1694d9(0xaf))[_0x1694d9(0xa5)]({'view':{'name':_0x1694d9(0x8b),'classes':_0x1694d9(0xa4)},'model':_0x1694d9(0xad),'converterPriority':_0x1694d9(0xac)}),_0x3bff21[_0x1694d9(0xb0)](_0x1694d9(0xaf))[_0x1694d9(0x8e)](_0x538ad2=>{const _0x3711b9=_0x1694d9;_0x538ad2['on'](_0x3711b9(0x90),function(_0x2da0a9){const _0x22a7fa=new _0x5d4c98(_0x2da0a9);return(_0x1c023f,_0x3cf64e,_0xd58947)=>{const _0x47b801=_0x51ba,_0x2721ad=_0x22a7fa[_0x47b801(0x9a)](_0x3cf64e[_0x47b801(0x8d)]);if(!_0x2721ad)return;const _0x3d9ee1=_0x2721ad[_0x47b801(0x9a)];_0x3d9ee1[_0x47b801(0xae)]=!0x1,_0xd58947[_0x47b801(0x94)][_0x47b801(0xa3)](_0x3cf64e[_0x47b801(0x8d)],_0x3d9ee1);};}({'name':'li','classes':_0x3711b9(0xa6),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x51ba(_0x412fd7,_0x1534ab){const _0x1f50a4=_0x1f50();return _0x51ba=function(_0x51ba86,_0xe3dae1){_0x51ba86=_0x51ba86-0x88;let _0x52b99a=_0x1f50a4[_0x51ba86];return _0x52b99a;},_0x51ba(_0x412fd7,_0x1534ab);}function _0x1f50(){const _0x303c1f=['pluginName','53060hSvfvB','49KdzzrC','item','high','paragraph','name','upcast','for','ListEditing','201384CvglcH','init','addClass','listType','--ck-content-list-marker-line-height','span','450797yTsFdb','viewItem','add','333Bnwsxo','element:li','isPremiumPlugin','registerDowncastStrategy','4BuWrFR','consumable','4677672zAlRAF','544548eIVdkM','isOfficialPlugin','43752hDSMnQ','has','match','getAttribute','LineHeightTodoListIntegration','lineHeight','150740wiCqZi','editor','get','TodoListEditing','setStyle','consume','todo-list__label__description','elementToElement','ck-list-marker-line-height','todo'];_0x1f50=function(){return _0x303c1f;};return _0x1f50();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x6ecee4=_0x2653;(function(_0x4339d3,_0x2fa14f){var _0x1b3637=_0x2653,_0x4a05bd=_0x4339d3();while(!![]){try{var _0x1ab95d=-parseInt(_0x1b3637(0x8e))/0x1*(parseInt(_0x1b3637(0x8f))/0x2)+-parseInt(_0x1b3637(0x93))/0x3+-parseInt(_0x1b3637(0x98))/0x4*(parseInt(_0x1b3637(0x8a))/0x5)+parseInt(_0x1b3637(0x8b))/0x6+-parseInt(_0x1b3637(0x91))/0x7+-parseInt(_0x1b3637(0x96))/0x8*(-parseInt(_0x1b3637(0x92))/0x9)+-parseInt(_0x1b3637(0x8d))/0xa*(-parseInt(_0x1b3637(0x90))/0xb);if(_0x1ab95d===_0x2fa14f)break;else _0x4a05bd['push'](_0x4a05bd['shift']());}catch(_0x1072bf){_0x4a05bd['push'](_0x4a05bd['shift']());}}}(_0x2723,0x822c6));function _0x2653(_0x3abd00,_0x4c0012){var _0x2723d9=_0x2723();return _0x2653=function(_0x265307,_0x3ba405){_0x265307=_0x265307-0x8a;var _0x53120c=_0x2723d9[_0x265307];return _0x53120c;},_0x2653(_0x3abd00,_0x4c0012);}function _0x2723(){var _0x450e47=['80774NjYcne','11YVyiJU','2444736xKkgDd','7681131SHfWut','542568hYXusf','isOfficialPlugin','LineHeight','8JvAHbB','pluginName','181604QKHGWS','isPremiumPlugin','100QDdNLZ','5169576ixhXkD','requires','3370330gPjYbn','2scyprk'];_0x2723=function(){return _0x450e47;};return _0x2723();}import{Plugin as _0x1c6d8a}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x44be6b}from'./lineheightediting.js';import{LineHeightUI as _0x37fcba}from'./lineheightui.js';export class LineHeight extends _0x1c6d8a{static get[_0x6ecee4(0x8c)](){return[_0x44be6b,_0x37fcba];}static get[_0x6ecee4(0x97)](){var _0x19879f=_0x6ecee4;return _0x19879f(0x95);}static get[_0x6ecee4(0x94)](){return!0x0;}static get[_0x6ecee4(0x99)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38f414=_0x419f;function _0x419f(_0x4c9589,_0x57aad1){const _0x335d0a=_0x335d();return _0x419f=function(_0x419f90,_0x5285bd){_0x419f90=_0x419f90-0xc7;let _0x247308=_0x335d0a[_0x419f90];return _0x247308;},_0x419f(_0x4c9589,_0x57aad1);}(function(_0x26a56d,_0x15ab1b){const _0x542e39=_0x419f,_0x553da4=_0x26a56d();while(!![]){try{const _0xaa43e=-parseInt(_0x542e39(0xca))/0x1*(parseInt(_0x542e39(0xc7))/0x2)+-parseInt(_0x542e39(0xc9))/0x3*(-parseInt(_0x542e39(0xd4))/0x4)+parseInt(_0x542e39(0xcd))/0x5+parseInt(_0x542e39(0xda))/0x6*(parseInt(_0x542e39(0xd8))/0x7)+parseInt(_0x542e39(0xd6))/0x8*(-parseInt(_0x542e39(0xd7))/0x9)+-parseInt(_0x542e39(0xcf))/0xa*(-parseInt(_0x542e39(0xd2))/0xb)+parseInt(_0x542e39(0xd3))/0xc*(-parseInt(_0x542e39(0xce))/0xd);if(_0xaa43e===_0x15ab1b)break;else _0x553da4['push'](_0x553da4['shift']());}catch(_0x358bf6){_0x553da4['push'](_0x553da4['shift']());}}}(_0x335d,0x98dc7));import{Command as _0x369934}from'ckeditor5/src/core.js';import{first as _0x4b596e}from'ckeditor5/src/utils.js';function _0x335d(){const _0x3bd4a2=['3tWXiXw','22HnSyPi','_canHaveLineHeight','removeAttribute','3082965yYrezT','26jGimjB','8990PgOyud','schema','filter','7623PAixLh','7647228GXgkzA','1449836kWIlYi','lineHeight','1408qpsrxk','17685aFSybN','5451544ttsSEP','document','6yHQRUF','selection','checkAttribute','isEnabled','model','getSelectedBlocks','getAttribute','refresh','value','setAttribute','execute','editor','from','12214jCVnOB','change'];_0x335d=function(){return _0x3bd4a2;};return _0x335d();}export class LineHeightCommand extends _0x369934{[_0x38f414(0xe1)](){const _0xd44dda=_0x38f414,_0x49f926=this[_0xd44dda(0xe5)][_0xd44dda(0xde)][_0xd44dda(0xd9)],_0x7811e8=_0x4b596e(_0x49f926[_0xd44dda(0xdb)][_0xd44dda(0xdf)]());this[_0xd44dda(0xdd)]=Boolean(_0x7811e8)&&this[_0xd44dda(0xcb)](_0x7811e8),this[_0xd44dda(0xe2)]=this[_0xd44dda(0xdd)]&&_0x7811e8[_0xd44dda(0xe0)](_0xd44dda(0xd5));}[_0x38f414(0xe4)](_0x360896={}){const _0x1ea458=_0x38f414,_0x360d1f=this[_0x1ea458(0xe5)][_0x1ea458(0xde)],_0x4f9326=_0x360d1f[_0x1ea458(0xd9)][_0x1ea458(0xdb)],_0x36acd1=_0x360896[_0x1ea458(0xe2)];_0x360d1f[_0x1ea458(0xc8)](_0x4dcd9c=>{const _0x261fa7=_0x1ea458,_0x8474da=Array[_0x261fa7(0xe6)](_0x4f9326[_0x261fa7(0xdf)]())[_0x261fa7(0xd1)](_0x48a918=>this[_0x261fa7(0xcb)](_0x48a918));for(const _0x21cfab of _0x8474da)_0x36acd1?_0x4dcd9c[_0x261fa7(0xe3)](_0x261fa7(0xd5),_0x36acd1,_0x21cfab):_0x4dcd9c[_0x261fa7(0xcc)](_0x261fa7(0xd5),_0x21cfab);});}[_0x38f414(0xcb)](_0x1ec07d){const _0x83aae5=_0x38f414;return this[_0x83aae5(0xe5)][_0x83aae5(0xde)][_0x83aae5(0xd0)][_0x83aae5(0xdc)](_0x1ec07d,_0x83aae5(0xd5));}}
|
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 _0x16f1(){const _0x128f98=['lineHeight.options','_prepareAnyValueConverters','5224AiDGEB','lineHeight','length','href','for','LineHeightEditing','3238446UIbCSm','init','values','afterInit','21483QMqZbt','7ILDZxo','downcast','1knIkqR','line-height-invalid-use-of-named-presets','$block','includes','join','schema','extend','get','_preparePredefinedConverters','default','config','1732025Niwctf','style','_validateConfig','setAttributeProperties','606NjnWBj','678360BpfXpB','editor','map','pluginName','lineHeight.supportAllValues','attributeToAttribute','getStyle','1451388pojjye','commands','fromCharCode','define','model','line-height','lineHeight.defaultValue','upcast','isPremiumPlugin','filter','string','slice','conversion','1319464HzoaJB','requires','isOfficialPlugin','add'];_0x16f1=function(){return _0x128f98;};return _0x16f1();}const _0x31ada=_0x1a30;(function(_0x177416,_0xec30d1){const _0x6276d4=_0x1a30,_0x1c08b8=_0x177416();while(!![]){try{const _0x377dba=-parseInt(_0x6276d4(0xe5))/0x1*(-parseInt(_0x6276d4(0xc5))/0x2)+-parseInt(_0x6276d4(0xbd))/0x3*(parseInt(_0x6276d4(0xd8))/0x4)+parseInt(_0x6276d4(0xb9))/0x5+-parseInt(_0x6276d4(0xde))/0x6+-parseInt(_0x6276d4(0xe3))/0x7*(-parseInt(_0x6276d4(0xd2))/0x8)+-parseInt(_0x6276d4(0xe2))/0x9+-parseInt(_0x6276d4(0xbe))/0xa;if(_0x377dba===_0xec30d1)break;else _0x1c08b8['push'](_0x1c08b8['shift']());}catch(_0x67252c){_0x1c08b8['push'](_0x1c08b8['shift']());}}}(_0x16f1,0x58af8));import{Plugin as _0x4d23d9}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x249e42}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5019a5}from'ckeditor5/src/engine.js';import{uid as _0x5a31ef,CKEditorError as _0x10ca6a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x233504,isLineHeightDefaultValue as _0x4580cf,normalizeOptions as _0x204d78}from'./utils.js';function _0x1a30(_0x451914,_0x31bb94){const _0x16f1fc=_0x16f1();return _0x1a30=function(_0x1a306c,_0x57cf88){_0x1a306c=_0x1a306c-0xb6;let _0x159e21=_0x16f1fc[_0x1a306c];return _0x159e21;},_0x1a30(_0x451914,_0x31bb94);}import{LineHeightTodoListIntegration as _0x704a71}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4d23d9{static get[_0x31ada(0xc1)](){const _0x3527ec=_0x31ada;return _0x3527ec(0xdd);}static get[_0x31ada(0xd3)](){return[_0x704a71];}static get[_0x31ada(0xd4)](){return!0x0;}static get[_0x31ada(0xcd)](){return!0x0;}constructor(_0x357ff9){const _0x4c798b=_0x31ada;super(_0x357ff9),_0x357ff9[_0x4c798b(0xb8)][_0x4c798b(0xc8)](_0x4c798b(0xd9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4c798b(0xb7),0x2,2.5,0x3]});}[_0x31ada(0xdf)](){const _0x2e619d=_0x31ada,_0x3318a1=this[_0x2e619d(0xbf)];this[_0x2e619d(0xbb)](),_0x3318a1[_0x2e619d(0xc9)][_0x2e619d(0xea)][_0x2e619d(0xeb)](_0x2e619d(0xe7),{'allowAttributes':_0x2e619d(0xd9)}),_0x3318a1[_0x2e619d(0xc9)][_0x2e619d(0xea)][_0x2e619d(0xbc)](_0x2e619d(0xd9),{'isFormatting':!0x0}),_0x3318a1[_0x2e619d(0xc6)][_0x2e619d(0xd5)](_0x2e619d(0xd9),new _0x249e42(_0x3318a1)),this[_0x2e619d(0xbf)][_0x2e619d(0xb8)][_0x2e619d(0xec)](_0x2e619d(0xc2))?this[_0x2e619d(0xd7)]():this[_0x2e619d(0xb6)]();}[_0x31ada(0xe1)](){!async function(_0x4b063b){const _0x18edfd=_0x1a1941([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]),_0x2663a5=0x45ddd215,_0x14fea8=0x45daa98d^_0x2663a5,_0x392c92=window[_0x1a1941([0x44,0x61,0x74,0x65])][_0x1a1941([0x6e,0x6f,0x77])](),_0x59728c=_0x4b063b[_0x1a1941([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42ca0f=new window[(_0x1a1941([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54a211=>{_0x59728c[_0x1a1941([0x6f,0x6e,0x63,0x65])](_0x1a1941([0x72,0x65,0x61,0x64,0x79]),_0x54a211);}),_0x16c887={[_0x1a1941([0x6b,0x74,0x79])]:_0x1a1941([0x45,0x43]),[_0x1a1941([0x75,0x73,0x65])]:_0x1a1941([0x73,0x69,0x67]),[_0x1a1941([0x63,0x72,0x76])]:_0x1a1941([0x50,0x2d,0x32,0x35,0x36]),[_0x1a1941([0x78])]:_0x1a1941([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]),[_0x1a1941([0x79])]:_0x1a1941([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]),[_0x1a1941([0x61,0x6c,0x67])]:_0x1a1941([0x45,0x53,0x32,0x35,0x36])},_0x66e643=_0x59728c[_0x1a1941([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a1941([0x67,0x65,0x74])](_0x1a1941([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c5e6e(){let _0x508d39,_0x17c08b=null,_0x5a496f=null;try{if(_0x66e643==_0x1a1941([0x47,0x50,0x4c]))return _0x1a1941([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x508d39=_0x2a1e75(),!_0x508d39)return _0x1a1941([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x508d39[_0x1a1941([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a496f=_0x2ce665(_0x508d39[_0x1a1941([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x508d39[_0x1a1941([0x6a,0x74,0x69])])),await _0xc735e6()?_0x482e62()?_0x40894c()?_0x1a1941([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57edc5()?(_0x508d39[_0x1a1941([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a1941([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17c08b=_0x5065df(_0x1a1941([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x508d39[_0x1a1941([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a1941([0x74,0x72,0x69,0x61,0x6c])&&(_0x17c08b=_0x5065df(_0x1a1941([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2218c5()):_0x1a1941([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a1941([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a1941([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a1941([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40894c(){const _0x31fc92=[_0x1a1941([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a1941([0x74,0x72,0x69,0x61,0x6c])][_0x1a1941([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x508d39[_0x1a1941([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x392c92/0x3e8:0xe10*_0x14fea8;return _0x508d39[_0x1a1941([0x65,0x78,0x70])]<_0x31fc92;}function _0x482e62(){const _0x2398c3=_0x508d39[_0x1a1941([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2398c3&&(!!_0x2398c3[_0x1a1941([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1941([0x2a]))||!!_0x2398c3[_0x1a1941([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1941([0x4c,0x48])));}function _0x57edc5(){const _0x5eb0f3=_0x1a30,_0x4f9d1d=_0x508d39[_0x1a1941([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f9d1d||0x0==_0x4f9d1d[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27e02e}=new URL(window[_0x1a1941([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5eb0f3(0xdb)]);if(_0x4f9d1d[_0x1a1941([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27e02e))return!0x0;const _0x828c7b=_0x27e02e[_0x1a1941([0x73,0x70,0x6c,0x69,0x74])](_0x1a1941([0x2e]));return _0x4f9d1d[_0x1a1941([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44ba56=>_0x44ba56[_0x1a1941([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a1941([0x2a])))[_0x1a1941([0x6d,0x61,0x70])](_0x211ebc=>_0x211ebc[_0x1a1941([0x73,0x70,0x6c,0x69,0x74])](_0x1a1941([0x2e])))[_0x1a1941([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a1a75=>_0x3a1a75[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x828c7b[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a1941([0x6d,0x61,0x70])](_0x17b7a5=>Array(_0x828c7b[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17b7a5[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a1941([0x66,0x69,0x6c,0x6c])](_0x17b7a5[0x0]===_0x1a1941([0x2a])?_0x1a1941([0x2a]):'')[_0x1a1941([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17b7a5))[_0x1a1941([0x73,0x6f,0x6d,0x65])](_0x31ddb1=>_0x828c7b[_0x1a1941([0x65,0x76,0x65,0x72,0x79])]((_0x3f5fa8,_0x1d29ca)=>_0x31ddb1[_0x1d29ca]===_0x3f5fa8||_0x31ddb1[_0x1d29ca]===_0x1a1941([0x2a])));}function _0x2218c5(){return _0x17c08b&&_0x5a496f?new window[(_0x1a1941([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5918fc,_0x22735b)=>{_0x17c08b[_0x1a1941([0x74,0x68,0x65,0x6e])](_0x5918fc,_0x22735b),_0x5a496f[_0x1a1941([0x74,0x68,0x65,0x6e])](_0x58f72f=>{_0x58f72f!=_0x1a1941([0x56,0x61,0x6c,0x69,0x64])&&_0x5918fc(_0x58f72f);},_0x22735b);}):_0x17c08b||_0x5a496f||_0x1a1941([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ce665(_0x431f49,_0x9b991c){return new window[(_0x1a1941([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bd180=>{if(_0x1cbd5d())return _0x2bd180(_0x1a1941([0x56,0x61,0x6c,0x69,0x64]));_0x582f04(),_0x59728c[_0x1a1941([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a1941([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2758c3=!0x1;const _0x8810c7=_0x5a31ef();function _0x5034d4(_0x53e29b){return!!_0x53e29b&&(typeof _0x53e29b===_0x1a1941([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x53e29b===_0x1a1941([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x53e29b[_0x1a1941([0x74,0x68,0x65,0x6e])]===_0x1a1941([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x53e29b[_0x1a1941([0x63,0x61,0x74,0x63,0x68])]===_0x1a1941([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b2849(_0x26380d){_0x26b639(_0x26380d)[_0x1a1941([0x74,0x68,0x65,0x6e])](_0x3dc293=>{if(!_0x3dc293||_0x3dc293[_0x1a1941([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a1941([0x6f,0x6b]))return _0x1a1941([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a7b8d(_0x2fa6ce(_0x8810c7+_0x9b991c))!=_0x3dc293[_0x1a1941([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a1941([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a1941([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a1941([0x74,0x68,0x65,0x6e])](_0x59ff7a=>(_0xdd8924(),_0x59ff7a),()=>{const _0x545f89=_0x4f4010();return null==_0x545f89?(_0xdd8924(),_0x1a1941([0x56,0x61,0x6c,0x69,0x64])):_0x1a1941(_0x392c92-_0x545f89>(0x61d15615^_0x2663a5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a1941([0x74,0x68,0x65,0x6e])](_0x2bd180)[_0x1a1941([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2bd180(_0x1a1941([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b55be=0x45eb3c95^_0x2663a5;function _0xdd8924(){const _0x344298=_0x1a1941([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a7b8d(_0x2fa6ce(_0x431f49)),_0x2904d7=_0x3480c2(_0x4a7b8d(window[_0x1a1941([0x4d,0x61,0x74,0x68])][_0x1a1941([0x63,0x65,0x69,0x6c])](_0x392c92/_0x3b55be)));window[_0x1a1941([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a1941([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x344298,_0x2904d7);}function _0x4f4010(){const _0x5e652c=_0x1a1941([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a7b8d(_0x2fa6ce(_0x431f49)),_0x2140aa=window[_0x1a1941([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a1941([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e652c);return _0x2140aa?window[_0x1a1941([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3480c2(_0x2140aa),0x10)*_0x3b55be:null;}function _0x26b639(_0x39e3c4){return new window[(_0x1a1941([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19998c,_0xf793b4)=>{_0x39e3c4[_0x1a1941([0x74,0x68,0x65,0x6e])](_0x19998c,_0xf793b4),window[_0x1a1941([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf793b4,0x45dc06d5^_0x2663a5);});}}_0x59728c[_0x1a1941([0x6f,0x6e])](_0x1a1941([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x215859,_0x11741f)=>{if(_0x11741f[0x0]!=_0x431f49)return _0x2bd180(_0x1a1941([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11741f[0x1]={..._0x11741f[0x1],[_0x1a1941([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8810c7};},{[_0x1a1941([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a1941([0x68,0x69,0x67,0x68])}),_0x59728c[_0x1a1941([0x6f,0x6e])](_0x1a1941([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4070c5=>{_0x5034d4(_0x4070c5[_0x1a1941([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2758c3=!0x0,_0x1b2849(_0x4070c5[_0x1a1941([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a1941([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a1941([0x6c,0x6f,0x77])}),_0x42ca0f[_0x1a1941([0x74,0x68,0x65,0x6e])](()=>{_0x2758c3||_0x2bd180(_0x1a1941([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1cbd5d(){return _0x59728c[_0x1a1941([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a1941([0x76,0x69,0x65,0x77])][_0x1a1941([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a1941([0x61,0x75,0x74,0x6f]);}function _0x582f04(){_0x59728c[_0x1a1941([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a1941([0x76,0x69,0x65,0x77])][_0x1a1941([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a1941([0x61,0x75,0x74,0x6f]);}}function _0x5065df(_0x2238f4){const _0x4b7e36=[new window[(_0x1a1941([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x506ec3=>setTimeout(_0x506ec3,0x45d4ecd9^_0x2663a5)),_0x42ca0f[_0x1a1941([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a1941([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ccd85=>{let _0x447341=0x0;_0x59728c[_0x1a1941([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1941([0x6f,0x6e])](_0x1a1941([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d8df0,_0x37d341)=>{_0x37d341[0x0][_0x1a1941([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x447341++,_0x447341==(0x45ddd3ed^_0x2663a5)&&(_0x4ccd85(),_0x4d8df0[_0x1a1941([0x6f,0x66,0x66])]());});}))];return window[_0x1a1941([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a1941([0x72,0x61,0x63,0x65])](_0x4b7e36)[_0x1a1941([0x74,0x68,0x65,0x6e])](()=>_0x2238f4);}async function _0x27d7eb(){await _0x42ca0f,_0x59728c[_0x1a1941([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1941([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c78ae,_0x59728c[_0x1a1941([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a1941([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c78ae,_0x59728c[_0x1a1941([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a1941([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19076b(_0x42b2fc){const _0x4a1066=_0x171dc5();_0x59728c[_0x4a1066]=_0x1a1941([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x42b2fc,_0x42b2fc!=_0x1a1941([0x56,0x61,0x6c,0x69,0x64])&&_0x27d7eb();}function _0x171dc5(){const _0x13ca7c=window[_0x1a1941([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a1941([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a1941([0x6e,0x6f,0x77])]())[_0x1a1941([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a1941([0x2e]),'');let _0x51d97b=_0x1a1941([0x50]);for(let _0x2645a5=0x0;_0x2645a5<_0x13ca7c[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2645a5+=0x2){let _0x1063fd=window[_0x1a1941([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13ca7c[_0x1a1941([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2645a5,_0x2645a5+0x2));_0x1063fd>=_0x18edfd[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1063fd-=_0x18edfd[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51d97b+=_0x18edfd[_0x1063fd];}return _0x51d97b;}function _0x2a1e75(){const _0x253cce=_0x66e643[_0x1a1941([0x73,0x70,0x6c,0x69,0x74])](_0x1a1941([0x2e]));if(0x3!=_0x253cce[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f4519(_0x253cce[0x1]);function _0x1f4519(_0x5cbaf3){const _0x4cdd35=_0x1061a8(_0x5cbaf3);return _0x4cdd35&&_0x2f1bad()?_0x4cdd35:null;function _0x2f1bad(){const _0x279817=_0x4cdd35[_0x1a1941([0x6a,0x74,0x69])],_0x3f61ac=window[_0x1a1941([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x279817[_0x1a1941([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x279817[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ba2d3={..._0x4cdd35,[_0x1a1941([0x6a,0x74,0x69])]:_0x279817[_0x1a1941([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x279817[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ba2d3[_0x1a1941([0x76,0x63])],_0x2fa6ce(_0x4ba2d3)==_0x3f61ac;}}}async function _0xc735e6(){let _0x3b848b=!0x0;try{const _0x2e1dae=_0x66e643[_0x1a1941([0x73,0x70,0x6c,0x69,0x74])](_0x1a1941([0x2e])),[_0x2e2ab1,_0x164319,_0x2765ff]=_0x2e1dae;return _0x2eaed7(_0x2e2ab1),await _0x1e04ab(_0x2e2ab1,_0x164319,_0x2765ff),_0x3b848b;}catch{return!0x1;}function _0x2eaed7(_0x47e081){const _0x233aed=_0x1061a8(_0x47e081);_0x233aed&&_0x233aed[_0x1a1941([0x61,0x6c,0x67])]==_0x1a1941([0x45,0x53,0x32,0x35,0x36])||(_0x3b848b=!0x1);}async function _0x1e04ab(_0xe83277,_0x197091,_0x22230f){const _0x26609e=window[_0x1a1941([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a1941([0x66,0x72,0x6f,0x6d])](_0x510b39(_0x22230f),_0x2a79c5=>_0x2a79c5[_0x1a1941([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b5a7f=new window[(_0x1a1941([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a1941([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe83277+_0x1a1941([0x2e])+_0x197091),_0xddb5d8=window[_0x1a1941([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a1941([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xddb5d8)return;const _0xa892b=await _0xddb5d8[_0x1a1941([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a1941([0x6a,0x77,0x6b]),_0x16c887,{[_0x1a1941([0x6e,0x61,0x6d,0x65])]:_0x1a1941([0x45,0x43,0x44,0x53,0x41]),[_0x1a1941([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a1941([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a1941([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xddb5d8[_0x1a1941([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a1941([0x6e,0x61,0x6d,0x65])]:_0x1a1941([0x45,0x43,0x44,0x53,0x41]),[_0x1a1941([0x68,0x61,0x73,0x68])]:{[_0x1a1941([0x6e,0x61,0x6d,0x65])]:_0x1a1941([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa892b,_0x26609e,_0x3b5a7f)||(_0x3b848b=!0x1);}}function _0x1061a8(_0x293826){return _0x293826[_0x1a1941([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a1941([0x65,0x79]))?JSON[_0x1a1941([0x70,0x61,0x72,0x73,0x65])](_0x510b39(_0x293826)):null;}function _0x510b39(_0x4bd0dc){return window[_0x1a1941([0x61,0x74,0x6f,0x62])](_0x4bd0dc[_0x1a1941([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a1941([0x2b]))[_0x1a1941([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a1941([0x2f])));}function _0x2fa6ce(_0x18c80c){let _0x4de375=0x1505;function _0x49ec81(_0x3d51e8){for(let _0x4aa295=0x0;_0x4aa295<_0x3d51e8[_0x1a1941([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4aa295++){const _0xfe1aa5=_0x3d51e8[_0x1a1941([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4aa295);_0x4de375=(_0x4de375<<0x5)+_0x4de375+_0xfe1aa5,_0x4de375&=_0x4de375;}}function _0x4657f9(_0x57c61a){Array[_0x1a1941([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57c61a)?_0x57c61a[_0x1a1941([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4657f9):_0x57c61a&&typeof _0x57c61a==_0x1a1941([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a1941([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57c61a)[_0x1a1941([0x73,0x6f,0x72,0x74])]()[_0x1a1941([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5601d1,_0x4c9ab3])=>{_0x49ec81(_0x5601d1),_0x4657f9(_0x4c9ab3);}):_0x49ec81(window[_0x1a1941([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57c61a));}return _0x4657f9(_0x18c80c),_0x4de375>>>0x0;}function _0x4a7b8d(_0xf07063){return _0xf07063[_0x1a1941([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a1941([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a1941([0x30]));}function _0x3480c2(_0xee6a54){return _0xee6a54[_0x1a1941([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a1941([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a1941([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c78ae(){}function _0x1a1941(_0x52b29c){const _0x455410=_0x1a30;return _0x52b29c[_0x455410(0xc0)](_0x1e8da1=>String[_0x455410(0xc7)](_0x1e8da1))[_0x455410(0xe9)]('');}_0x19076b(await _0x3c5e6e());}(this);}[_0x31ada(0xbb)](){const _0x224ab1=_0x31ada,_0x52ac03=this[_0x224ab1(0xbf)];if(!_0x52ac03[_0x224ab1(0xb8)][_0x224ab1(0xec)](_0x224ab1(0xc2)))return;const _0x4d8311=_0x52ac03[_0x224ab1(0xb8)][_0x224ab1(0xec)](_0x224ab1(0xd6))[_0x224ab1(0xce)](_0x4f97fa=>_0x224ab1(0xcf)==typeof _0x4f97fa&&(!_0x4580cf(_0x4f97fa)&&isNaN(Number(_0x4f97fa))));if(_0x4d8311[_0x224ab1(0xda)])throw new _0x10ca6a(_0x224ab1(0xe6),null,{'namedPresets':_0x4d8311});}[_0x31ada(0xd7)](){const _0x41904c=_0x31ada,_0xd397ae=this[_0x41904c(0xbf)],_0x1cfb62=this[_0x41904c(0xbf)][_0x41904c(0xb8)][_0x41904c(0xec)](_0x41904c(0xcb));_0xd397ae[_0x41904c(0xd1)][_0x41904c(0xdc)](_0x41904c(0xe4))[_0x41904c(0xc3)]({'model':{'key':_0x41904c(0xd9)},'view':_0xa69833=>String(_0xa69833)===String(_0x1cfb62)?null:{'key':_0x41904c(0xba),'value':{'line-height':_0xa69833}}}),_0xd397ae[_0x41904c(0xd1)][_0x41904c(0xdc)](_0x41904c(0xcc))[_0x41904c(0xc3)]({'model':{'key':_0x41904c(0xd9),'value':_0x36c2a8=>{const _0x46e8c1=_0x41904c;let _0x15095d=_0x36c2a8[_0x46e8c1(0xc4)](_0x46e8c1(0xca));return _0x5019a5(_0x15095d)&&(_0x15095d=String(Number(_0x15095d[_0x46e8c1(0xd0)](0x0,-0x1))/0x64)),String(_0x15095d)===String(_0x1cfb62)?null:_0x15095d;}},'view':{'styles':{'line-height':/.*/}}});}[_0x31ada(0xb6)](){const _0xf872a=_0x31ada,_0x38c3f4=this[_0xf872a(0xbf)],_0x4dbd9a=this[_0xf872a(0xbf)][_0xf872a(0xb8)][_0xf872a(0xec)](_0xf872a(0xcb)),_0x32d386=_0x204d78(this[_0xf872a(0xbf)][_0xf872a(0xb8)][_0xf872a(0xec)](_0xf872a(0xd9)))[_0xf872a(0xce)](_0x511aa3=>_0x511aa3[_0xf872a(0xc9)]),_0x357522=_0x233504(_0xf872a(0xd9),_0x32d386);_0x38c3f4[_0xf872a(0xd1)][_0xf872a(0xc3)](_0x357522),_0x38c3f4[_0xf872a(0xd1)][_0xf872a(0xdc)](_0xf872a(0xcc))[_0xf872a(0xc3)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xf872a(0xd9),'value':_0x5cade9=>{const _0xb5a765=_0xf872a;let _0x5d718e=_0x5cade9[_0xb5a765(0xc4)](_0xb5a765(0xca));return _0x5019a5(_0x5d718e)&&(_0x5d718e=String(Number(_0x5d718e[_0xb5a765(0xd0)](0x0,-0x1))/0x64)),_0x5d718e===String(_0x4dbd9a)?null:_0x357522[_0xb5a765(0xc9)][_0xb5a765(0xe0)][_0xb5a765(0xe8)](_0x5d718e)?_0x5d718e:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x55fa47}from'ckeditor5/src/core.js';import{addListToDropdown as _0x29c318,createDropdown as _0x1bd70d,MenuBarMenuListItemButtonView as _0x458f4d,MenuBarMenuListItemView as _0x30ddda,MenuBarMenuListView as _0x389fc3,MenuBarMenuView as _0x53f752,UIModel as _0x556c5b}from'ckeditor5/src/ui.js';import{Collection as _0x29da1b}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x708b5c}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x30571b}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x55fa47{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x863811={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x863811),this['_registerMenuBarComponent'](_0x863811),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1191e2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b8913;for(const _0x2647d2 in _0x1191e2){const _0x287541=_0x2647d2,_0x33638e=_0x1191e2[_0x287541];if('lineHeightLicenseKeyValid'==_0x33638e||'lineHeightLicenseKeyInvalid'==_0x33638e||'lineHeightLicenseKeyExpired'==_0x33638e||'lineHeightLicenseKeyDomainLimit'==_0x33638e||'lineHeightLicenseKeyNotAllowed'==_0x33638e||'lineHeightLicenseKeyEvaluationLimit'==_0x33638e||'lineHeightLicenseKeyTrialLimit'==_0x33638e||'lineHeightLicenseKeyUsageLimit'==_0x33638e){delete _0x1191e2[_0x287541],_0x3b8913=_0x33638e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3b8913&&_0x1191e2['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3b8913&&_0x1191e2['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3b8913&&_0x1191e2['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3b8913&&_0x1191e2['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3b8913&&_0x1191e2['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3b8913&&_0x1191e2['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3b8913&&_0x1191e2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1b61b0=this['editor'],t=_0x1b61b0['t'],_0x6093e5=_0x1b61b0['config']['get']('lineHeight'),_0x2cb9a4={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x30571b(_0x6093e5)['map'](_0x1d3588=>{const _0x430524=_0x2cb9a4[_0x1d3588['title']];return _0x430524&&_0x430524!=_0x1d3588['title']&&(_0x1d3588=Object['assign']({},_0x1d3588,{'title':_0x430524})),_0x1d3588;});}['_prepareListOptions'](){const _0x5d994c=this['editor']['commands']['get']('lineHeight'),_0x6f3b8=this['editor']['config']['get']('lineHeight.defaultValue'),_0xc2ecb5=this['_getLocalizedLineHeightOptions'](),_0xe3cba7=new _0x29da1b(),_0x3818c7=_0x6b1cc2=>'default'===_0x6b1cc2||String(_0x6f3b8)===_0x6b1cc2;for(const _0x55cbb1 of _0xc2ecb5){const _0x1b4e7a={'type':'button','model':new _0x556c5b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x55cbb1['title'],'withText':!0x0})};_0x3818c7(_0x55cbb1['model'])?(_0x1b4e7a['model']['bind']('isOn')['to'](_0x5d994c,'value',_0x389094=>!_0x389094),_0x1b4e7a['model']['commandParam']=void 0x0):(_0x1b4e7a['model']['bind']('isOn')['to'](_0x5d994c,'value',_0xa7307c=>_0xa7307c===_0x55cbb1['model']),_0x1b4e7a['model']['commandParam']=_0x55cbb1['model']),_0xe3cba7['add'](_0x1b4e7a);}if(this['_shouldRenderCustomValueOption']()){const _0x418ed8=this['_getCustomValueOptionDefinition'](_0xc2ecb5);_0xe3cba7['add'](_0x418ed8);}return _0xe3cba7;}['_getCustomValueOptionDefinition'](_0x4c2ad1){const _0x6d4660=this['editor'],t=_0x6d4660['t'],_0x2ac512=_0x6d4660['commands']['get']('lineHeight'),_0x2a9c84=_0x4c2ad1['map'](_0x1dddbc=>_0x1dddbc['model']),_0x221d92={'type':'button','model':new _0x556c5b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x221d92['model']['bind']('commandParam')['to'](_0x2ac512,'value'),_0x221d92['model']['bind']('isOn')['to'](_0x2ac512,'value',_0x2d4477=>!!_0x2d4477&&!_0x2a9c84['includes'](String(_0x2d4477))),_0x221d92['model']['bind']('label')['to'](_0x2ac512,'value',_0x5b4170=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5b4170))),_0x221d92;}['_registerToolbarComponent']({accessibleLabel:_0x1f64c7,options:_0x355440}){const _0x57adb1=this['editor'],_0x5a7af9=_0x57adb1['commands']['get']('lineHeight');_0x57adb1['ui']['componentFactory']['add']('lineHeight',_0x3e00da=>{const _0xfb1bf6=_0x1bd70d(_0x3e00da);return _0x29c318(_0xfb1bf6,_0x355440,{'role':'menu','ariaLabel':_0x1f64c7}),_0xfb1bf6['buttonView']['set']({'label':_0x1f64c7,'tooltip':!0x0,'icon':_0x708b5c}),_0xfb1bf6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xfb1bf6['bind']('isEnabled')['to'](_0x5a7af9),this['listenTo'](_0xfb1bf6,'execute',_0x2a07a6=>{_0x57adb1['execute'](_0x2a07a6['source']['commandName'],{'value':_0x2a07a6['source']['commandParam']}),_0x57adb1['editing']['view']['focus']();}),_0xfb1bf6['once']('change:isOpen',()=>{const _0x411a1f=_0xfb1bf6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xfb1bf6,_0x355440,_0x411a1f);}),_0xfb1bf6;});}['_registerMenuBarComponent']({accessibleLabel:_0x595f5e,options:_0x81bf78}){const _0x4bad74=this['editor'],_0x5c3b48=_0x4bad74['commands']['get']('lineHeight');_0x4bad74['ui']['componentFactory']['add']('menuBar:lineHeight',_0x35b4c8=>{const _0x52f74d=new _0x53f752(_0x35b4c8);_0x52f74d['buttonView']['set']({'label':_0x595f5e,'icon':_0x708b5c}),_0x52f74d['bind']('isEnabled')['to'](_0x5c3b48);const _0x1570f5=new _0x389fc3(_0x35b4c8);for(const _0x3b1d01 of _0x81bf78){const _0x372b22=new _0x30ddda(_0x35b4c8,_0x52f74d),_0x5b2ec5=new _0x458f4d(_0x35b4c8);_0x5b2ec5['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5b2ec5['bind'](...Object['keys'](_0x3b1d01['model']))['to'](_0x3b1d01['model']),_0x5b2ec5['delegate']('execute')['to'](_0x52f74d),_0x5b2ec5['on']('execute',()=>{_0x4bad74['execute'](_0x3b1d01['model']['commandName'],{'value':_0x3b1d01['model']['commandParam']}),_0x4bad74['editing']['view']['focus']();}),_0x372b22['children']['add'](_0x5b2ec5),_0x1570f5['items']['add'](_0x372b22);}return _0x52f74d['panelView']['children']['add'](_0x1570f5),this['_attachCustomOptionVisibilityHandler'](_0x52f74d,_0x81bf78,_0x1570f5),_0x52f74d;});}['_attachCustomOptionVisibilityHandler'](_0x1f8257,_0x1f0fd5,_0xa056be){if(!this['_shouldRenderCustomValueOption']())return;const _0x198c91=()=>{if(!_0x1f8257['isOpen'])return;_0xa056be['items']['last']['isVisible']=Boolean(_0x1f0fd5['last']['model']['isOn']);};_0x198c91(),_0x1f8257['on']('change:isOpen',()=>{_0x198c91();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4b62(_0x59f120,_0x39cc9){const _0x3cf53d=_0x3cf5();return _0x4b62=function(_0x4b62ee,_0x47ec76){_0x4b62ee=_0x4b62ee-0x1ba;let _0x52422d=_0x3cf53d[_0x4b62ee];return _0x52422d;},_0x4b62(_0x59f120,_0x39cc9);}(function(_0xac4865,_0xa924b7){const _0x1f5a19=_0x4b62,_0x5e5786=_0xac4865();while(!![]){try{const _0x2c89a4=-parseInt(_0x1f5a19(0x1bb))/0x1+-parseInt(_0x1f5a19(0x1d2))/0x2+parseInt(_0x1f5a19(0x1bd))/0x3+parseInt(_0x1f5a19(0x1cf))/0x4+-parseInt(_0x1f5a19(0x1be))/0x5+parseInt(_0x1f5a19(0x1d6))/0x6+-parseInt(_0x1f5a19(0x1ba))/0x7*(-parseInt(_0x1f5a19(0x1ca))/0x8);if(_0x2c89a4===_0xa924b7)break;else _0x5e5786['push'](_0x5e5786['shift']());}catch(_0x53c287){_0x5e5786['push'](_0x5e5786['shift']());}}}(_0x3cf5,0x6b5e7));const v={get 'single'(){const _0x2554c9=_0x4b62;return{'title':_0x2554c9(0x1c1),'model':_0x2554c9(0x1c9),'view':{'key':_0x2554c9(0x1d3),'value':_0x2554c9(0x1c8)}};},get 'double'(){const _0x5ad2f5=_0x4b62;return{'title':_0x5ad2f5(0x1d4),'model':_0x5ad2f5(0x1c0),'view':{'key':_0x5ad2f5(0x1d3),'value':_0x5ad2f5(0x1bf)}};}};export function isLineHeightDefaultValue(_0x32373a){const _0x80c57b=_0x4b62;return _0x80c57b(0x1d9)==typeof _0x32373a&&_0x80c57b(0x1c7)===_0x32373a[_0x80c57b(0x1c4)]();}export function normalizeOptions(_0x59c5de){const _0x112d30=_0x4b62;return _0x59c5de[_0x112d30(0x1d0)][_0x112d30(0x1d5)](_0x44ab72=>isLineHeightDefaultValue(_0x44ab72)?{'title':String(_0x59c5de[_0x112d30(0x1c2)]),'model':_0x112d30(0x1c7)}:(_0x112d30(0x1d7)==typeof _0x44ab72&&(_0x44ab72=String(_0x44ab72)),_0x112d30(0x1d9)!=typeof _0x44ab72?_0x44ab72:parseFloat(_0x44ab72)?{'title':_0x44ab72,'model':_0x44ab72,'view':{'name':_0x112d30(0x1bc),'styles':{'line-height':_0x44ab72}}}:findPreset(_0x44ab72)))[_0x112d30(0x1c6)](_0x1c8475=>void 0x0!==_0x1c8475);}export function findPreset(_0x2505a0){const _0x4c3a1e=_0x4b62;return _0x4c3a1e(0x1d9)==typeof _0x2505a0?v[_0x2505a0]:v[_0x2505a0[_0x4c3a1e(0x1d8)]];}export function buildDefinition(_0x4864ee,_0x2b6cbd){const _0x58a4ab=_0x4b62,_0x435a98={'model':{'key':_0x4864ee,'values':[]},'view':{}};for(const _0x3e1991 of _0x2b6cbd)_0x58a4ab(0x1d3)===_0x3e1991[_0x58a4ab(0x1c3)]?.[_0x58a4ab(0x1c5)]?(_0x435a98[_0x58a4ab(0x1d8)][_0x58a4ab(0x1cd)][_0x58a4ab(0x1d1)](_0x3e1991[_0x58a4ab(0x1d8)]),_0x435a98[_0x58a4ab(0x1c3)][_0x3e1991[_0x58a4ab(0x1d8)]]={'key':_0x58a4ab(0x1d3),'value':_0x3e1991[_0x58a4ab(0x1c3)][_0x58a4ab(0x1cb)]}):(_0x435a98[_0x58a4ab(0x1d8)][_0x58a4ab(0x1cd)][_0x58a4ab(0x1d1)](_0x3e1991[_0x58a4ab(0x1d8)]),_0x435a98[_0x58a4ab(0x1c3)][_0x3e1991[_0x58a4ab(0x1d8)]]={'key':_0x58a4ab(0x1cc),'value':_0x58a4ab(0x1ce)+_0x3e1991[_0x58a4ab(0x1d8)]+';'});return _0x435a98;}function _0x3cf5(){const _0x5112d4=['defaultValue','view','toLowerCase','key','filter','default','line-height-single','single','208MemkcE','value','style','values','line-height:','110360jzBzmy','options','push','409448quWyjS','class','Double','map','1497894fTIHzN','number','model','string','247961FwhIda','577833nmmMyV','span','148761qXhdBR','127420HlvaqJ','line-height-double','double','Single'];_0x3cf5=function(){return _0x5112d4;};return _0x3cf5();}
|