@ckeditor/ckeditor5-line-height 0.0.0-nightly-20260103.0 → 0.0.0-nightly-next-20260103.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 _0x121c43=_0x22a7;(function(_0xe70425,_0x21d522){const _0x29fd76=_0x22a7,_0x517563=_0xe70425();while(!![]){try{const _0x23e031=parseInt(_0x29fd76(0xb3))/0x1*(parseInt(_0x29fd76(0xaf))/0x2)+-parseInt(_0x29fd76(0xba))/0x3*(parseInt(_0x29fd76(0xc1))/0x4)+parseInt(_0x29fd76(0xb8))/0x5+-parseInt(_0x29fd76(0xbc))/0x6*(parseInt(_0x29fd76(0xb5))/0x7)+-parseInt(_0x29fd76(0xb1))/0x8*(parseInt(_0x29fd76(0x9d))/0x9)+-parseInt(_0x29fd76(0x9b))/0xa+parseInt(_0x29fd76(0xb2))/0xb;if(_0x23e031===_0x21d522)break;else _0x517563['push'](_0x517563['shift']());}catch(_0x58f792){_0x517563['push'](_0x517563['shift']());}}}(_0x2f69,0x3532a));function _0x22a7(_0x1da9e9,_0x42a59f){const _0x2f6940=_0x2f69();return _0x22a7=function(_0x22a7e6,_0x30128c){_0x22a7e6=_0x22a7e6-0x9b;let _0x3f56a2=_0x2f6940[_0x22a7e6];return _0x3f56a2;},_0x22a7(_0x1da9e9,_0x42a59f);}function _0x2f69(){const _0x170f99=['--ck-content-list-marker-line-height','add','todo-list__label__description','lineHeight','getAttribute','init','TodoListEditing','paragraph','7234oksNWD','editor','1354232epFKac','10424788wmYKsX','79HOWScy','addClass','854OCRNUE','todo','pluginName','440955UCqIHM','item','3ZLoFNL','upcast','6558rULRoT','registerDowncastStrategy','isPremiumPlugin','listType','viewItem','1498604XGEpGJ','name','setStyle','get','element:li','consume','match','2571890VxJIxv','for','18tIwmHt','span','elementToElement','ck-list-marker-line-height','consumable','ListEditing','high','has','LineHeightTodoListIntegration','isOfficialPlugin'];_0x2f69=function(){return _0x170f99;};return _0x2f69();}import{Plugin as _0x5896e9}from'ckeditor5/src/core.js';import{Matcher as _0x307ef0}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x5896e9{static get[_0x121c43(0xb7)](){const _0x11edf5=_0x121c43;return _0x11edf5(0xa5);}static get[_0x121c43(0xa6)](){return!0x0;}static get[_0x121c43(0xbe)](){return!0x0;}[_0x121c43(0xac)](){const _0x256bed=_0x121c43,{plugins:_0x472b6a,conversion:_0x1065c0}=this[_0x256bed(0xb0)];if(!_0x472b6a[_0x256bed(0xa4)](_0x256bed(0xa2))||!_0x472b6a[_0x256bed(0xa4)](_0x256bed(0xad)))return;_0x472b6a[_0x256bed(0xc4)](_0x256bed(0xa2))[_0x256bed(0xbd)]({'scope':_0x256bed(0xb9),'attributeName':_0x256bed(0xaa),'consume':!0x1,'setAttributeOnDowncast'(_0xd09adf,_0x958ff6,_0x940a73,_0x4a0bb6,_0x5bd248){const _0x140cf7=_0x256bed;_0x140cf7(0xb6)==_0x5bd248[_0x140cf7(0xab)](_0x140cf7(0xbf))&&_0x958ff6&&(_0xd09adf[_0x140cf7(0xb4)](_0x140cf7(0xa0),_0x940a73),_0xd09adf[_0x140cf7(0xc3)](_0x140cf7(0xa7),_0x958ff6,_0x940a73));}}),_0x1065c0[_0x256bed(0x9c)](_0x256bed(0xbb))[_0x256bed(0x9f)]({'view':{'name':_0x256bed(0x9e),'classes':_0x256bed(0xa9)},'model':_0x256bed(0xae),'converterPriority':_0x256bed(0xa3)}),_0x1065c0[_0x256bed(0x9c)](_0x256bed(0xbb))[_0x256bed(0xa8)](_0x5526ad=>{const _0x407a8a=_0x256bed;_0x5526ad['on'](_0x407a8a(0xc5),function(_0x50b9d1){const _0x1b01ca=new _0x307ef0(_0x50b9d1);return(_0x564d3a,_0x32038e,_0x30984c)=>{const _0x4161f5=_0x22a7,_0x2de979=_0x1b01ca[_0x4161f5(0xc7)](_0x32038e[_0x4161f5(0xc0)]);if(!_0x2de979)return;const _0x5dca84=_0x2de979[_0x4161f5(0xc7)];_0x5dca84[_0x4161f5(0xc2)]=!0x1,_0x30984c[_0x4161f5(0xa1)][_0x4161f5(0xc6)](_0x32038e[_0x4161f5(0xc0)],_0x5dca84);};}({'name':'li','classes':_0x407a8a(0xa0),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5bab7b=_0x514e;(function(_0xcefb8,_0x23d0b9){var _0x307aa9=_0x514e,_0x440c5b=_0xcefb8();while(!![]){try{var _0x37de40=-parseInt(_0x307aa9(0xe3))/0x1+parseInt(_0x307aa9(0xe8))/0x2+-parseInt(_0x307aa9(0xe4))/0x3*(-parseInt(_0x307aa9(0xe9))/0x4)+parseInt(_0x307aa9(0xef))/0x5*(-parseInt(_0x307aa9(0xe6))/0x6)+-parseInt(_0x307aa9(0xf1))/0x7*(parseInt(_0x307aa9(0xee))/0x8)+parseInt(_0x307aa9(0xe7))/0x9*(parseInt(_0x307aa9(0xec))/0xa)+parseInt(_0x307aa9(0xeb))/0xb;if(_0x37de40===_0x23d0b9)break;else _0x440c5b['push'](_0x440c5b['shift']());}catch(_0x42fb5d){_0x440c5b['push'](_0x440c5b['shift']());}}}(_0x11be,0x88de8));function _0x11be(){var _0x5ae5f6=['LineHeight','3408kHKCEu','7371atTYIB','368822ZCyFJp','109084PXUetO','requires','1961157nmGcaL','6630DJGNam','pluginName','2929120oAzkjm','7150qrOIfj','isOfficialPlugin','7WzgKdZ','isPremiumPlugin','202997WwehuR','114wWehjU'];_0x11be=function(){return _0x5ae5f6;};return _0x11be();}import{Plugin as _0x1fb389}from'ckeditor5/src/core.js';function _0x514e(_0x7692df,_0x5d7be9){var _0x11bef9=_0x11be();return _0x514e=function(_0x514e9b,_0x3eb89f){_0x514e9b=_0x514e9b-0xe3;var _0x238955=_0x11bef9[_0x514e9b];return _0x238955;},_0x514e(_0x7692df,_0x5d7be9);}import{LineHeightEditing as _0x2c38d0}from'./lineheightediting.js';import{LineHeightUI as _0xc186f4}from'./lineheightui.js';export class LineHeight extends _0x1fb389{static get[_0x5bab7b(0xea)](){return[_0x2c38d0,_0xc186f4];}static get[_0x5bab7b(0xed)](){var _0x3b909d=_0x5bab7b;return _0x3b909d(0xe5);}static get[_0x5bab7b(0xf0)](){return!0x0;}static get[_0x5bab7b(0xf2)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x356dac=_0x43d3;(function(_0x588b04,_0x538039){const _0x232c63=_0x43d3,_0x122c96=_0x588b04();while(!![]){try{const _0x3853b3=parseInt(_0x232c63(0x17d))/0x1+parseInt(_0x232c63(0x187))/0x2+parseInt(_0x232c63(0x18f))/0x3+parseInt(_0x232c63(0x176))/0x4+parseInt(_0x232c63(0x18b))/0x5*(-parseInt(_0x232c63(0x186))/0x6)+parseInt(_0x232c63(0x188))/0x7+parseInt(_0x232c63(0x183))/0x8*(-parseInt(_0x232c63(0x179))/0x9);if(_0x3853b3===_0x538039)break;else _0x122c96['push'](_0x122c96['shift']());}catch(_0x5a3bac){_0x122c96['push'](_0x122c96['shift']());}}}(_0x442f,0x4a832));import{Command as _0x471fea}from'ckeditor5/src/core.js';function _0x43d3(_0x2a5aed,_0x113dc0){const _0x442fc8=_0x442f();return _0x43d3=function(_0x43d35e,_0x24d286){_0x43d35e=_0x43d35e-0x175;let _0x12dea5=_0x442fc8[_0x43d35e];return _0x12dea5;},_0x43d3(_0x2a5aed,_0x113dc0);}import{first as _0x4d7114}from'ckeditor5/src/utils.js';function _0x442f(){const _0x16df4f=['getAttribute','408511OeWvoz','model','_canHaveLineHeight','isEnabled','value','setAttribute','8jAtZPg','document','from','24skKYXH','79228SKuKNY','1693370fexsQe','filter','editor','609095wZBlly','getSelectedBlocks','removeAttribute','selection','431508uYxmOs','refresh','change','165320NFQlKL','lineHeight','schema','744507RSJwHH','checkAttribute','execute'];_0x442f=function(){return _0x16df4f;};return _0x442f();}export class LineHeightCommand extends _0x471fea{[_0x356dac(0x190)](){const _0xeb6b3d=_0x356dac,_0x14a491=this[_0xeb6b3d(0x18a)][_0xeb6b3d(0x17e)][_0xeb6b3d(0x184)],_0x2e8e24=_0x4d7114(_0x14a491[_0xeb6b3d(0x18e)][_0xeb6b3d(0x18c)]());this[_0xeb6b3d(0x180)]=Boolean(_0x2e8e24)&&this[_0xeb6b3d(0x17f)](_0x2e8e24),this[_0xeb6b3d(0x181)]=this[_0xeb6b3d(0x180)]&&_0x2e8e24[_0xeb6b3d(0x17c)](_0xeb6b3d(0x177));}[_0x356dac(0x17b)](_0x2cadbf={}){const _0x20f5d7=_0x356dac,_0x134ff1=this[_0x20f5d7(0x18a)][_0x20f5d7(0x17e)],_0x190938=_0x134ff1[_0x20f5d7(0x184)][_0x20f5d7(0x18e)],_0x145061=_0x2cadbf[_0x20f5d7(0x181)];_0x134ff1[_0x20f5d7(0x175)](_0x46ca6a=>{const _0x39fd80=_0x20f5d7,_0x148242=Array[_0x39fd80(0x185)](_0x190938[_0x39fd80(0x18c)]())[_0x39fd80(0x189)](_0x73cc9f=>this[_0x39fd80(0x17f)](_0x73cc9f));for(const _0x666d42 of _0x148242)_0x145061?_0x46ca6a[_0x39fd80(0x182)](_0x39fd80(0x177),_0x145061,_0x666d42):_0x46ca6a[_0x39fd80(0x18d)](_0x39fd80(0x177),_0x666d42);});}[_0x356dac(0x17f)](_0x21290f){const _0xdc5ad=_0x356dac;return this[_0xdc5ad(0x18a)][_0xdc5ad(0x17e)][_0xdc5ad(0x178)][_0xdc5ad(0x17a)](_0x21290f,_0xdc5ad(0x177));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xc6b5(_0x3e1fd2,_0x31b859){const _0x24e6e0=_0x24e6();return _0xc6b5=function(_0xc6b5f0,_0x1f6dd6){_0xc6b5f0=_0xc6b5f0-0x108;let _0x212c38=_0x24e6e0[_0xc6b5f0];return _0x212c38;},_0xc6b5(_0x3e1fd2,_0x31b859);}const _0x46fe9f=_0xc6b5;(function(_0x1548e3,_0x212633){const _0x40fb3c=_0xc6b5,_0x4cfe0a=_0x1548e3();while(!![]){try{const _0x28deba=parseInt(_0x40fb3c(0x13d))/0x1*(-parseInt(_0x40fb3c(0x13a))/0x2)+-parseInt(_0x40fb3c(0x116))/0x3*(parseInt(_0x40fb3c(0x108))/0x4)+-parseInt(_0x40fb3c(0x109))/0x5*(parseInt(_0x40fb3c(0x119))/0x6)+-parseInt(_0x40fb3c(0x11a))/0x7*(parseInt(_0x40fb3c(0x115))/0x8)+parseInt(_0x40fb3c(0x12f))/0x9+-parseInt(_0x40fb3c(0x134))/0xa*(parseInt(_0x40fb3c(0x11c))/0xb)+parseInt(_0x40fb3c(0x131))/0xc;if(_0x28deba===_0x212633)break;else _0x4cfe0a['push'](_0x4cfe0a['shift']());}catch(_0xca09f7){_0x4cfe0a['push'](_0x4cfe0a['shift']());}}}(_0x24e6,0xde908));import{Plugin as _0x24818d}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2d86f5}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x50be90}from'ckeditor5/src/engine.js';function _0x24e6(){const _0x17c96b=['upcast','style','define','1160XGdtjb','3VNhgvX','href','schema','6QwaFna','52150RnpBzn','join','41558tCGKAG','lineHeight','isOfficialPlugin','init','line-height','_preparePredefinedConverters','slice','line-height-invalid-use-of-named-presets','fromCharCode','conversion','editor','commands','get','isPremiumPlugin','values','extend','includes','$block','filter','10542789FdFkLR','string','68297484UoaMHI','map','for','3670QoDIJu','setAttributeProperties','lineHeight.options','_prepareAnyValueConverters','attributeToAttribute','config','5058hpHxPJ','pluginName','model','364IZrVwg','length','_validateConfig','default','6517544TBpfyf','4672680MvVEJl','getStyle','downcast','afterInit','lineHeight.supportAllValues','add','requires','LineHeightEditing','lineHeight.defaultValue'];_0x24e6=function(){return _0x17c96b;};return _0x24e6();}import{uid as _0x510224,CKEditorError as _0x24f1a0}from'ckeditor5/src/utils.js';import{buildDefinition as _0xb5d43,isLineHeightDefaultValue as _0x10fe7f,normalizeOptions as _0xa18e7}from'./utils.js';import{LineHeightTodoListIntegration as _0x405cae}from'./integrations/todolist.js';export class LineHeightEditing extends _0x24818d{static get[_0x46fe9f(0x13b)](){const _0xaec60f=_0x46fe9f;return _0xaec60f(0x110);}static get[_0x46fe9f(0x10f)](){return[_0x405cae];}static get[_0x46fe9f(0x11e)](){return!0x0;}static get[_0x46fe9f(0x129)](){return!0x0;}constructor(_0x3d32b8){const _0x24b6dc=_0x46fe9f;super(_0x3d32b8),_0x3d32b8[_0x24b6dc(0x139)][_0x24b6dc(0x114)](_0x24b6dc(0x11d),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x24b6dc(0x140),0x2,2.5,0x3]});}[_0x46fe9f(0x11f)](){const _0x21789e=_0x46fe9f,_0x36a4f7=this[_0x21789e(0x126)];this[_0x21789e(0x13f)](),_0x36a4f7[_0x21789e(0x13c)][_0x21789e(0x118)][_0x21789e(0x12b)](_0x21789e(0x12d),{'allowAttributes':_0x21789e(0x11d)}),_0x36a4f7[_0x21789e(0x13c)][_0x21789e(0x118)][_0x21789e(0x135)](_0x21789e(0x11d),{'isFormatting':!0x0}),_0x36a4f7[_0x21789e(0x127)][_0x21789e(0x10e)](_0x21789e(0x11d),new _0x2d86f5(_0x36a4f7)),this[_0x21789e(0x126)][_0x21789e(0x139)][_0x21789e(0x128)](_0x21789e(0x10d))?this[_0x21789e(0x137)]():this[_0x21789e(0x121)]();}[_0x46fe9f(0x10c)](){!async function(_0x43cf9a){const _0x4264a5=_0x236c19([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]),_0xd41af1=0x45ddd215,_0x9cea3f=0x45daafd5^_0xd41af1,_0x241c78=window[_0x236c19([0x44,0x61,0x74,0x65])][_0x236c19([0x6e,0x6f,0x77])](),_0x135319=_0x43cf9a[_0x236c19([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f64ce=new window[(_0x236c19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eecd0=>{_0x135319[_0x236c19([0x6f,0x6e,0x63,0x65])](_0x236c19([0x72,0x65,0x61,0x64,0x79]),_0x1eecd0);}),_0x55a6d6={[_0x236c19([0x6b,0x74,0x79])]:_0x236c19([0x45,0x43]),[_0x236c19([0x75,0x73,0x65])]:_0x236c19([0x73,0x69,0x67]),[_0x236c19([0x63,0x72,0x76])]:_0x236c19([0x50,0x2d,0x32,0x35,0x36]),[_0x236c19([0x78])]:_0x236c19([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]),[_0x236c19([0x79])]:_0x236c19([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]),[_0x236c19([0x61,0x6c,0x67])]:_0x236c19([0x45,0x53,0x32,0x35,0x36])},_0x104736=_0x135319[_0x236c19([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x236c19([0x67,0x65,0x74])](_0x236c19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3edc76(){let _0x43c96a,_0x3f56e6=null,_0x227404=null;try{if(_0x104736==_0x236c19([0x47,0x50,0x4c]))return _0x236c19([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43c96a=_0x5737c3(),!_0x43c96a)return _0x236c19([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43c96a[_0x236c19([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x227404=_0x428f9c(_0x43c96a[_0x236c19([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43c96a[_0x236c19([0x6a,0x74,0x69])])),await _0x5bf828()?_0x435e36()?_0x246426()?_0x236c19([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52829f()?(_0x43c96a[_0x236c19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x236c19([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f56e6=_0x7076c8(_0x236c19([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43c96a[_0x236c19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x236c19([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f56e6=_0x7076c8(_0x236c19([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4808ba()):_0x236c19([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x236c19([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x236c19([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x236c19([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x246426(){const _0x10ba8d=[_0x236c19([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x236c19([0x74,0x72,0x69,0x61,0x6c])][_0x236c19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43c96a[_0x236c19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x241c78/0x3e8:0xe10*_0x9cea3f;return _0x43c96a[_0x236c19([0x65,0x78,0x70])]<_0x10ba8d;}function _0x435e36(){const _0x302491=_0x43c96a[_0x236c19([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x302491&&(!!_0x302491[_0x236c19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236c19([0x2a]))||!!_0x302491[_0x236c19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236c19([0x4c,0x48])));}function _0x52829f(){const _0x29dc03=_0xc6b5,_0x40d7a6=_0x43c96a[_0x236c19([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40d7a6||0x0==_0x40d7a6[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d98bd}=new URL(window[_0x236c19([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29dc03(0x117)]);if(_0x40d7a6[_0x236c19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d98bd))return!0x0;const _0x19386c=_0x5d98bd[_0x236c19([0x73,0x70,0x6c,0x69,0x74])](_0x236c19([0x2e]));return _0x40d7a6[_0x236c19([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x482326=>_0x482326[_0x236c19([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236c19([0x2a])))[_0x236c19([0x6d,0x61,0x70])](_0x43c580=>_0x43c580[_0x236c19([0x73,0x70,0x6c,0x69,0x74])](_0x236c19([0x2e])))[_0x236c19([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27f0cc=>_0x27f0cc[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19386c[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x236c19([0x6d,0x61,0x70])](_0x56c96a=>Array(_0x19386c[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56c96a[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x236c19([0x66,0x69,0x6c,0x6c])](_0x56c96a[0x0]===_0x236c19([0x2a])?_0x236c19([0x2a]):'')[_0x236c19([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56c96a))[_0x236c19([0x73,0x6f,0x6d,0x65])](_0xd65f7a=>_0x19386c[_0x236c19([0x65,0x76,0x65,0x72,0x79])]((_0x7aaef4,_0xeac4a3)=>_0xd65f7a[_0xeac4a3]===_0x7aaef4||_0xd65f7a[_0xeac4a3]===_0x236c19([0x2a])));}function _0x4808ba(){return _0x3f56e6&&_0x227404?new window[(_0x236c19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x499ef9,_0x200b7c)=>{_0x3f56e6[_0x236c19([0x74,0x68,0x65,0x6e])](_0x499ef9,_0x200b7c),_0x227404[_0x236c19([0x74,0x68,0x65,0x6e])](_0xcfcfad=>{_0xcfcfad!=_0x236c19([0x56,0x61,0x6c,0x69,0x64])&&_0x499ef9(_0xcfcfad);},_0x200b7c);}):_0x3f56e6||_0x227404||_0x236c19([0x56,0x61,0x6c,0x69,0x64]);}}function _0x428f9c(_0x31b6b3,_0x16eeb9){return new window[(_0x236c19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f8626=>{if(_0x4f2ef3())return _0x3f8626(_0x236c19([0x56,0x61,0x6c,0x69,0x64]));_0x28a9b4(),_0x135319[_0x236c19([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x236c19([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3339cc=!0x1;const _0x266702=_0x510224();function _0x48be09(_0x5e19d0){return!!_0x5e19d0&&(typeof _0x5e19d0===_0x236c19([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e19d0===_0x236c19([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e19d0[_0x236c19([0x74,0x68,0x65,0x6e])]===_0x236c19([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e19d0[_0x236c19([0x63,0x61,0x74,0x63,0x68])]===_0x236c19([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16d122(_0xf69d27){_0x1519e0(_0xf69d27)[_0x236c19([0x74,0x68,0x65,0x6e])](_0x369982=>{if(!_0x369982||_0x369982[_0x236c19([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x236c19([0x6f,0x6b]))return _0x236c19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b4503(_0x40bc32(_0x266702+_0x16eeb9))!=_0x369982[_0x236c19([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x236c19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x236c19([0x56,0x61,0x6c,0x69,0x64]);})[_0x236c19([0x74,0x68,0x65,0x6e])](_0x5bbca7=>(_0x5a18d1(),_0x5bbca7),()=>{const _0x1cbfc0=_0x1f5b6a();return null==_0x1cbfc0?(_0x5a18d1(),_0x236c19([0x56,0x61,0x6c,0x69,0x64])):_0x236c19(_0x241c78-_0x1cbfc0>(0x61d15615^_0xd41af1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x236c19([0x74,0x68,0x65,0x6e])](_0x3f8626)[_0x236c19([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f8626(_0x236c19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dc676=0x45eb3c95^_0xd41af1;function _0x5a18d1(){const _0x69914a=_0x236c19([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b4503(_0x40bc32(_0x31b6b3)),_0xf2d429=_0x4115fb(_0x4b4503(window[_0x236c19([0x4d,0x61,0x74,0x68])][_0x236c19([0x63,0x65,0x69,0x6c])](_0x241c78/_0x2dc676)));window[_0x236c19([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x236c19([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x69914a,_0xf2d429);}function _0x1f5b6a(){const _0x2c2722=_0x236c19([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b4503(_0x40bc32(_0x31b6b3)),_0x18f594=window[_0x236c19([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x236c19([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c2722);return _0x18f594?window[_0x236c19([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4115fb(_0x18f594),0x10)*_0x2dc676:null;}function _0x1519e0(_0x1554f5){return new window[(_0x236c19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18bc4c,_0x3c4c51)=>{_0x1554f5[_0x236c19([0x74,0x68,0x65,0x6e])](_0x18bc4c,_0x3c4c51),window[_0x236c19([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3c4c51,0x45dc06d5^_0xd41af1);});}}_0x135319[_0x236c19([0x6f,0x6e])](_0x236c19([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x596762,_0x21a947)=>{if(_0x21a947[0x0]!=_0x31b6b3)return _0x3f8626(_0x236c19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21a947[0x1]={..._0x21a947[0x1],[_0x236c19([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x266702};},{[_0x236c19([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x236c19([0x68,0x69,0x67,0x68])}),_0x135319[_0x236c19([0x6f,0x6e])](_0x236c19([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26fb88=>{_0x48be09(_0x26fb88[_0x236c19([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3339cc=!0x0,_0x16d122(_0x26fb88[_0x236c19([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x236c19([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x236c19([0x6c,0x6f,0x77])}),_0x4f64ce[_0x236c19([0x74,0x68,0x65,0x6e])](()=>{_0x3339cc||_0x3f8626(_0x236c19([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f2ef3(){return _0x135319[_0x236c19([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x236c19([0x76,0x69,0x65,0x77])][_0x236c19([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x236c19([0x61,0x75,0x74,0x6f]);}function _0x28a9b4(){_0x135319[_0x236c19([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x236c19([0x76,0x69,0x65,0x77])][_0x236c19([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x236c19([0x61,0x75,0x74,0x6f]);}}function _0x7076c8(_0x350360){const _0x4ba72f=[new window[(_0x236c19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e0a0d=>setTimeout(_0x3e0a0d,0x45d4ecd9^_0xd41af1)),_0x4f64ce[_0x236c19([0x74,0x68,0x65,0x6e])](()=>new window[(_0x236c19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15c58a=>{let _0x3273ef=0x0;_0x135319[_0x236c19([0x6d,0x6f,0x64,0x65,0x6c])][_0x236c19([0x6f,0x6e])](_0x236c19([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x495658,_0x522279)=>{_0x522279[0x0][_0x236c19([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3273ef++,_0x3273ef==(0x45ddd7fd^_0xd41af1)&&(_0x15c58a(),_0x495658[_0x236c19([0x6f,0x66,0x66])]());});}))];return window[_0x236c19([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x236c19([0x72,0x61,0x63,0x65])](_0x4ba72f)[_0x236c19([0x74,0x68,0x65,0x6e])](()=>_0x350360);}async function _0x43d44b(){await _0x4f64ce,_0x135319[_0x236c19([0x6d,0x6f,0x64,0x65,0x6c])][_0x236c19([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x173c7e,_0x135319[_0x236c19([0x6d,0x6f,0x64,0x65,0x6c])][_0x236c19([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x173c7e,_0x135319[_0x236c19([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x236c19([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f2cba(_0x3019f4){const _0x11f245=_0x16b3ed();_0x135319[_0x11f245]=_0x236c19([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3019f4,_0x3019f4!=_0x236c19([0x56,0x61,0x6c,0x69,0x64])&&_0x43d44b();}function _0x16b3ed(){const _0x3618ad=window[_0x236c19([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x236c19([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x236c19([0x6e,0x6f,0x77])]())[_0x236c19([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x236c19([0x2e]),'');let _0x1af8a5=_0x236c19([0x50]);for(let _0x586468=0x0;_0x586468<_0x3618ad[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x586468+=0x2){let _0x227770=window[_0x236c19([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3618ad[_0x236c19([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x586468,_0x586468+0x2));_0x227770>=_0x4264a5[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x227770-=_0x4264a5[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1af8a5+=_0x4264a5[_0x227770];}return _0x1af8a5;}function _0x5737c3(){const _0x1ff98b=_0x104736[_0x236c19([0x73,0x70,0x6c,0x69,0x74])](_0x236c19([0x2e]));if(0x3!=_0x1ff98b[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ef550(_0x1ff98b[0x1]);function _0x2ef550(_0xf76230){const _0x4321a3=_0x30f9a1(_0xf76230);return _0x4321a3&&_0x1a58a9()?_0x4321a3:null;function _0x1a58a9(){const _0x28efd4=_0x4321a3[_0x236c19([0x6a,0x74,0x69])],_0x435b09=window[_0x236c19([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28efd4[_0x236c19([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28efd4[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ea947={..._0x4321a3,[_0x236c19([0x6a,0x74,0x69])]:_0x28efd4[_0x236c19([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28efd4[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ea947[_0x236c19([0x76,0x63])],_0x40bc32(_0x4ea947)==_0x435b09;}}}async function _0x5bf828(){let _0x176976=!0x0;try{const _0x13c7df=_0x104736[_0x236c19([0x73,0x70,0x6c,0x69,0x74])](_0x236c19([0x2e])),[_0x11fb67,_0x2d490e,_0x3a6d89]=_0x13c7df;return _0x5f46e0(_0x11fb67),await _0x4ba192(_0x11fb67,_0x2d490e,_0x3a6d89),_0x176976;}catch{return!0x1;}function _0x5f46e0(_0x38ad2a){const _0x3805fd=_0x30f9a1(_0x38ad2a);_0x3805fd&&_0x3805fd[_0x236c19([0x61,0x6c,0x67])]==_0x236c19([0x45,0x53,0x32,0x35,0x36])||(_0x176976=!0x1);}async function _0x4ba192(_0x1a3185,_0x57d68d,_0x4960a3){const _0x10ff60=window[_0x236c19([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x236c19([0x66,0x72,0x6f,0x6d])](_0x39a6c2(_0x4960a3),_0x3a3ca7=>_0x3a3ca7[_0x236c19([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x566ac8=new window[(_0x236c19([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x236c19([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a3185+_0x236c19([0x2e])+_0x57d68d),_0x4b6a6f=window[_0x236c19([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x236c19([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b6a6f)return;const _0x587a87=await _0x4b6a6f[_0x236c19([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x236c19([0x6a,0x77,0x6b]),_0x55a6d6,{[_0x236c19([0x6e,0x61,0x6d,0x65])]:_0x236c19([0x45,0x43,0x44,0x53,0x41]),[_0x236c19([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x236c19([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x236c19([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b6a6f[_0x236c19([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x236c19([0x6e,0x61,0x6d,0x65])]:_0x236c19([0x45,0x43,0x44,0x53,0x41]),[_0x236c19([0x68,0x61,0x73,0x68])]:{[_0x236c19([0x6e,0x61,0x6d,0x65])]:_0x236c19([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x587a87,_0x10ff60,_0x566ac8)||(_0x176976=!0x1);}}function _0x30f9a1(_0x2cd94b){return _0x2cd94b[_0x236c19([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x236c19([0x65,0x79]))?JSON[_0x236c19([0x70,0x61,0x72,0x73,0x65])](_0x39a6c2(_0x2cd94b)):null;}function _0x39a6c2(_0x244180){return window[_0x236c19([0x61,0x74,0x6f,0x62])](_0x244180[_0x236c19([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x236c19([0x2b]))[_0x236c19([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x236c19([0x2f])));}function _0x40bc32(_0x2f6fcc){let _0x56156c=0x1505;function _0x4148d8(_0x655e7b){for(let _0x48b250=0x0;_0x48b250<_0x655e7b[_0x236c19([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48b250++){const _0x25238d=_0x655e7b[_0x236c19([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48b250);_0x56156c=(_0x56156c<<0x5)+_0x56156c+_0x25238d,_0x56156c&=_0x56156c;}}function _0x5521bb(_0x363498){Array[_0x236c19([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x363498)?_0x363498[_0x236c19([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5521bb):_0x363498&&typeof _0x363498==_0x236c19([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x236c19([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x363498)[_0x236c19([0x73,0x6f,0x72,0x74])]()[_0x236c19([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27c83e,_0x69420c])=>{_0x4148d8(_0x27c83e),_0x5521bb(_0x69420c);}):_0x4148d8(window[_0x236c19([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x363498));}return _0x5521bb(_0x2f6fcc),_0x56156c>>>0x0;}function _0x4b4503(_0x560606){return _0x560606[_0x236c19([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x236c19([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x236c19([0x30]));}function _0x4115fb(_0x23e015){return _0x23e015[_0x236c19([0x73,0x70,0x6c,0x69,0x74])]('')[_0x236c19([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x236c19([0x6a,0x6f,0x69,0x6e])]('');}function _0x173c7e(){}function _0x236c19(_0x5c6bc8){const _0x1f8793=_0xc6b5;return _0x5c6bc8[_0x1f8793(0x132)](_0x6f67cc=>String[_0x1f8793(0x124)](_0x6f67cc))[_0x1f8793(0x11b)]('');}_0x3f2cba(await _0x3edc76());}(this);}[_0x46fe9f(0x13f)](){const _0x148667=_0x46fe9f,_0x2de220=this[_0x148667(0x126)];if(!_0x2de220[_0x148667(0x139)][_0x148667(0x128)](_0x148667(0x10d)))return;const _0x3c029f=_0x2de220[_0x148667(0x139)][_0x148667(0x128)](_0x148667(0x136))[_0x148667(0x12e)](_0xd87483=>_0x148667(0x130)==typeof _0xd87483&&(!_0x10fe7f(_0xd87483)&&isNaN(Number(_0xd87483))));if(_0x3c029f[_0x148667(0x13e)])throw new _0x24f1a0(_0x148667(0x123),null,{'namedPresets':_0x3c029f});}[_0x46fe9f(0x137)](){const _0x3bde20=_0x46fe9f,_0x53442f=this[_0x3bde20(0x126)],_0x363f75=this[_0x3bde20(0x126)][_0x3bde20(0x139)][_0x3bde20(0x128)](_0x3bde20(0x111));_0x53442f[_0x3bde20(0x125)][_0x3bde20(0x133)](_0x3bde20(0x10b))[_0x3bde20(0x138)]({'model':{'key':_0x3bde20(0x11d)},'view':_0x16a128=>String(_0x16a128)===String(_0x363f75)?null:{'key':_0x3bde20(0x113),'value':{'line-height':_0x16a128}}}),_0x53442f[_0x3bde20(0x125)][_0x3bde20(0x133)](_0x3bde20(0x112))[_0x3bde20(0x138)]({'model':{'key':_0x3bde20(0x11d),'value':_0x4b37cf=>{const _0x410e40=_0x3bde20;let _0x246180=_0x4b37cf[_0x410e40(0x10a)](_0x410e40(0x120));return _0x50be90(_0x246180)&&(_0x246180=String(Number(_0x246180[_0x410e40(0x122)](0x0,-0x1))/0x64)),String(_0x246180)===String(_0x363f75)?null:_0x246180;}},'view':{'styles':{'line-height':/.*/}}});}[_0x46fe9f(0x121)](){const _0x24b09f=_0x46fe9f,_0x2296ff=this[_0x24b09f(0x126)],_0x4f231e=this[_0x24b09f(0x126)][_0x24b09f(0x139)][_0x24b09f(0x128)](_0x24b09f(0x111)),_0x547fbb=_0xa18e7(this[_0x24b09f(0x126)][_0x24b09f(0x139)][_0x24b09f(0x128)](_0x24b09f(0x11d)))[_0x24b09f(0x12e)](_0x559984=>_0x559984[_0x24b09f(0x13c)]),_0xfdf28d=_0xb5d43(_0x24b09f(0x11d),_0x547fbb);_0x2296ff[_0x24b09f(0x125)][_0x24b09f(0x138)](_0xfdf28d),_0x2296ff[_0x24b09f(0x125)][_0x24b09f(0x133)](_0x24b09f(0x112))[_0x24b09f(0x138)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x24b09f(0x11d),'value':_0x4fe2a9=>{const _0x5b59e9=_0x24b09f;let _0xc45550=_0x4fe2a9[_0x5b59e9(0x10a)](_0x5b59e9(0x120));return _0x50be90(_0xc45550)&&(_0xc45550=String(Number(_0xc45550[_0x5b59e9(0x122)](0x0,-0x1))/0x64)),_0xc45550===String(_0x4f231e)?null:_0xfdf28d[_0x5b59e9(0x13c)][_0x5b59e9(0x12a)][_0x5b59e9(0x12c)](_0xc45550)?_0xc45550:null;}}});}}
|
|
23
|
+
const _0x259c5d=_0x5712;(function(_0x5067db,_0x43626a){const _0x386dec=_0x5712,_0xcf2ef6=_0x5067db();while(!![]){try{const _0x508b76=-parseInt(_0x386dec(0x186))/0x1*(-parseInt(_0x386dec(0x183))/0x2)+parseInt(_0x386dec(0x18e))/0x3*(-parseInt(_0x386dec(0x1aa))/0x4)+parseInt(_0x386dec(0x199))/0x5*(-parseInt(_0x386dec(0x19e))/0x6)+-parseInt(_0x386dec(0x187))/0x7+-parseInt(_0x386dec(0x17a))/0x8+parseInt(_0x386dec(0x198))/0x9*(parseInt(_0x386dec(0x17f))/0xa)+parseInt(_0x386dec(0x19c))/0xb*(parseInt(_0x386dec(0x185))/0xc);if(_0x508b76===_0x43626a)break;else _0xcf2ef6['push'](_0xcf2ef6['shift']());}catch(_0x41ed3c){_0xcf2ef6['push'](_0xcf2ef6['shift']());}}}(_0x4903,0x645cf));function _0x5712(_0x56051f,_0x48267){const _0x4903d8=_0x4903();return _0x5712=function(_0x57126c,_0x1efebd){_0x57126c=_0x57126c-0x178;let _0x49e527=_0x4903d8[_0x57126c];return _0x49e527;},_0x5712(_0x56051f,_0x48267);}import{Plugin as _0x33270f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x591396}from'./lineheightcommand.js';import{isPercentageStyleValue as _0xa4a423}from'ckeditor5/src/engine.js';import{uid as _0x3a3597,CKEditorError as _0x10c29f}from'ckeditor5/src/utils.js';function _0x4903(){const _0x11164d=['fromCharCode','2330bTjdXd','$block','length','getStyle','28VcOTDa','schema','8832IrUGTj','39920LvCMvm','2565325KTsTRi','editor','line-height-invalid-use-of-named-presets','model','upcast','values','downcast','114zwXElj','filter','afterInit','string','get','setAttributeProperties','lineHeight.defaultValue','isPremiumPlugin','lineHeight','_prepareAnyValueConverters','16542UEGsSY','5CMguoU','lineHeight.supportAllValues','_validateConfig','11209fBTvqx','attributeToAttribute','2666052ivovYm','define','init','style','commands','map','lineHeight.options','conversion','extend','config','join','_preparePredefinedConverters','21640fOiGZt','default','slice','LineHeightEditing','line-height','includes','requires','for','add','2477072rTPYbk','pluginName','href','isOfficialPlugin'];_0x4903=function(){return _0x11164d;};return _0x4903();}import{buildDefinition as _0x3bbad4,isLineHeightDefaultValue as _0x1370d1,normalizeOptions as _0x4cd957}from'./utils.js';import{LineHeightTodoListIntegration as _0x225dbb}from'./integrations/todolist.js';export class LineHeightEditing extends _0x33270f{static get[_0x259c5d(0x17b)](){const _0x45d1d5=_0x259c5d;return _0x45d1d5(0x1ad);}static get[_0x259c5d(0x1b0)](){return[_0x225dbb];}static get[_0x259c5d(0x17d)](){return!0x0;}static get[_0x259c5d(0x195)](){return!0x0;}constructor(_0x110c1d){const _0xafe571=_0x259c5d;super(_0x110c1d),_0x110c1d[_0xafe571(0x1a7)][_0xafe571(0x19f)](_0xafe571(0x196),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xafe571(0x1ab),0x2,2.5,0x3]});}[_0x259c5d(0x1a0)](){const _0x2a50ce=_0x259c5d,_0x536244=this[_0x2a50ce(0x188)];this[_0x2a50ce(0x19b)](),_0x536244[_0x2a50ce(0x18a)][_0x2a50ce(0x184)][_0x2a50ce(0x1a6)](_0x2a50ce(0x180),{'allowAttributes':_0x2a50ce(0x196)}),_0x536244[_0x2a50ce(0x18a)][_0x2a50ce(0x184)][_0x2a50ce(0x193)](_0x2a50ce(0x196),{'isFormatting':!0x0}),_0x536244[_0x2a50ce(0x1a2)][_0x2a50ce(0x179)](_0x2a50ce(0x196),new _0x591396(_0x536244)),this[_0x2a50ce(0x188)][_0x2a50ce(0x1a7)][_0x2a50ce(0x192)](_0x2a50ce(0x19a))?this[_0x2a50ce(0x197)]():this[_0x2a50ce(0x1a9)]();}[_0x259c5d(0x190)](){!async function(_0x3d0352){const _0x59b5b7=_0x49fb67([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]),_0x2cb3d4=0x45ddd215,_0x3c24be=0x45daafd5^_0x2cb3d4,_0x2e2909=window[_0x49fb67([0x44,0x61,0x74,0x65])][_0x49fb67([0x6e,0x6f,0x77])](),_0x53cf92=_0x3d0352[_0x49fb67([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x121dd1=new window[(_0x49fb67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bfba0=>{_0x53cf92[_0x49fb67([0x6f,0x6e,0x63,0x65])](_0x49fb67([0x72,0x65,0x61,0x64,0x79]),_0x1bfba0);}),_0x19c792={[_0x49fb67([0x6b,0x74,0x79])]:_0x49fb67([0x45,0x43]),[_0x49fb67([0x75,0x73,0x65])]:_0x49fb67([0x73,0x69,0x67]),[_0x49fb67([0x63,0x72,0x76])]:_0x49fb67([0x50,0x2d,0x32,0x35,0x36]),[_0x49fb67([0x78])]:_0x49fb67([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]),[_0x49fb67([0x79])]:_0x49fb67([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]),[_0x49fb67([0x61,0x6c,0x67])]:_0x49fb67([0x45,0x53,0x32,0x35,0x36])},_0x49b717=_0x53cf92[_0x49fb67([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49fb67([0x67,0x65,0x74])](_0x49fb67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x184d7b(){let _0x293057,_0x2d6cae=null,_0x44b5dd=null;try{if(_0x49b717==_0x49fb67([0x47,0x50,0x4c]))return _0x49fb67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x293057=_0x3683d5(),!_0x293057)return _0x49fb67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x293057[_0x49fb67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44b5dd=_0x550408(_0x293057[_0x49fb67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x293057[_0x49fb67([0x6a,0x74,0x69])])),await _0x691b22()?_0xc3f5ae()?_0x5d9568()?_0x49fb67([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x567bda()?(_0x293057[_0x49fb67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49fb67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d6cae=_0x5b7bb6(_0x49fb67([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x293057[_0x49fb67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49fb67([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d6cae=_0x5b7bb6(_0x49fb67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13773b()):_0x49fb67([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49fb67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49fb67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x49fb67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d9568(){const _0x27f728=[_0x49fb67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49fb67([0x74,0x72,0x69,0x61,0x6c])][_0x49fb67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x293057[_0x49fb67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e2909/0x3e8:0xe10*_0x3c24be;return _0x293057[_0x49fb67([0x65,0x78,0x70])]<_0x27f728;}function _0xc3f5ae(){const _0x342891=_0x293057[_0x49fb67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x342891&&(!!_0x342891[_0x49fb67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49fb67([0x2a]))||!!_0x342891[_0x49fb67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49fb67([0x4c,0x48])));}function _0x567bda(){const _0x29cafe=_0x5712,_0x2d4018=_0x293057[_0x49fb67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d4018||0x0==_0x2d4018[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x825d42}=new URL(window[_0x49fb67([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29cafe(0x17c)]);if(_0x2d4018[_0x49fb67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x825d42))return!0x0;const _0xd2d4e=_0x825d42[_0x49fb67([0x73,0x70,0x6c,0x69,0x74])](_0x49fb67([0x2e]));return _0x2d4018[_0x49fb67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50e7e2=>_0x50e7e2[_0x49fb67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49fb67([0x2a])))[_0x49fb67([0x6d,0x61,0x70])](_0x29657b=>_0x29657b[_0x49fb67([0x73,0x70,0x6c,0x69,0x74])](_0x49fb67([0x2e])))[_0x49fb67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ab77f=>_0x3ab77f[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd2d4e[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49fb67([0x6d,0x61,0x70])](_0x2e30bb=>Array(_0xd2d4e[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e30bb[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49fb67([0x66,0x69,0x6c,0x6c])](_0x2e30bb[0x0]===_0x49fb67([0x2a])?_0x49fb67([0x2a]):'')[_0x49fb67([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e30bb))[_0x49fb67([0x73,0x6f,0x6d,0x65])](_0x1832c0=>_0xd2d4e[_0x49fb67([0x65,0x76,0x65,0x72,0x79])]((_0x5a8d4a,_0x1b8bc9)=>_0x1832c0[_0x1b8bc9]===_0x5a8d4a||_0x1832c0[_0x1b8bc9]===_0x49fb67([0x2a])));}function _0x13773b(){return _0x2d6cae&&_0x44b5dd?new window[(_0x49fb67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xba625b,_0x47c0a7)=>{_0x2d6cae[_0x49fb67([0x74,0x68,0x65,0x6e])](_0xba625b,_0x47c0a7),_0x44b5dd[_0x49fb67([0x74,0x68,0x65,0x6e])](_0x169b82=>{_0x169b82!=_0x49fb67([0x56,0x61,0x6c,0x69,0x64])&&_0xba625b(_0x169b82);},_0x47c0a7);}):_0x2d6cae||_0x44b5dd||_0x49fb67([0x56,0x61,0x6c,0x69,0x64]);}}function _0x550408(_0x4dc712,_0x36d496){return new window[(_0x49fb67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x255279=>{if(_0x159b1d())return _0x255279(_0x49fb67([0x56,0x61,0x6c,0x69,0x64]));_0x2a36b8(),_0x53cf92[_0x49fb67([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49fb67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15d51f=!0x1;const _0x8dcfbf=_0x3a3597();function _0x1f9ccc(_0x32f576){return!!_0x32f576&&(typeof _0x32f576===_0x49fb67([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32f576===_0x49fb67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32f576[_0x49fb67([0x74,0x68,0x65,0x6e])]===_0x49fb67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32f576[_0x49fb67([0x63,0x61,0x74,0x63,0x68])]===_0x49fb67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3cd514(_0x4ae23d){_0x11ddb7(_0x4ae23d)[_0x49fb67([0x74,0x68,0x65,0x6e])](_0x1b7a95=>{if(!_0x1b7a95||_0x1b7a95[_0x49fb67([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49fb67([0x6f,0x6b]))return _0x49fb67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b1fc3(_0xaceea1(_0x8dcfbf+_0x36d496))!=_0x1b7a95[_0x49fb67([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49fb67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49fb67([0x56,0x61,0x6c,0x69,0x64]);})[_0x49fb67([0x74,0x68,0x65,0x6e])](_0x63a982=>(_0x358d84(),_0x63a982),()=>{const _0x2c6258=_0x4cbe59();return null==_0x2c6258?(_0x358d84(),_0x49fb67([0x56,0x61,0x6c,0x69,0x64])):_0x49fb67(_0x2e2909-_0x2c6258>(0x61d15615^_0x2cb3d4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49fb67([0x74,0x68,0x65,0x6e])](_0x255279)[_0x49fb67([0x63,0x61,0x74,0x63,0x68])](()=>{_0x255279(_0x49fb67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xca82db=0x45eb3c95^_0x2cb3d4;function _0x358d84(){const _0x2017f8=_0x49fb67([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b1fc3(_0xaceea1(_0x4dc712)),_0x2c4fca=_0x3edd7f(_0x1b1fc3(window[_0x49fb67([0x4d,0x61,0x74,0x68])][_0x49fb67([0x63,0x65,0x69,0x6c])](_0x2e2909/_0xca82db)));window[_0x49fb67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49fb67([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2017f8,_0x2c4fca);}function _0x4cbe59(){const _0x5bc177=_0x49fb67([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b1fc3(_0xaceea1(_0x4dc712)),_0x1bf4cb=window[_0x49fb67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49fb67([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bc177);return _0x1bf4cb?window[_0x49fb67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3edd7f(_0x1bf4cb),0x10)*_0xca82db:null;}function _0x11ddb7(_0x3952b2){return new window[(_0x49fb67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7fe7a1,_0x55cc84)=>{_0x3952b2[_0x49fb67([0x74,0x68,0x65,0x6e])](_0x7fe7a1,_0x55cc84),window[_0x49fb67([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55cc84,0x45dc06d5^_0x2cb3d4);});}}_0x53cf92[_0x49fb67([0x6f,0x6e])](_0x49fb67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b5037,_0x1bc458)=>{if(_0x1bc458[0x0]!=_0x4dc712)return _0x255279(_0x49fb67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bc458[0x1]={..._0x1bc458[0x1],[_0x49fb67([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8dcfbf};},{[_0x49fb67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49fb67([0x68,0x69,0x67,0x68])}),_0x53cf92[_0x49fb67([0x6f,0x6e])](_0x49fb67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1176d1=>{_0x1f9ccc(_0x1176d1[_0x49fb67([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15d51f=!0x0,_0x3cd514(_0x1176d1[_0x49fb67([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49fb67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49fb67([0x6c,0x6f,0x77])}),_0x121dd1[_0x49fb67([0x74,0x68,0x65,0x6e])](()=>{_0x15d51f||_0x255279(_0x49fb67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x159b1d(){return _0x53cf92[_0x49fb67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49fb67([0x76,0x69,0x65,0x77])][_0x49fb67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49fb67([0x61,0x75,0x74,0x6f]);}function _0x2a36b8(){_0x53cf92[_0x49fb67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49fb67([0x76,0x69,0x65,0x77])][_0x49fb67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49fb67([0x61,0x75,0x74,0x6f]);}}function _0x5b7bb6(_0x5d0ef6){const _0x1ae32b=[new window[(_0x49fb67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bd77d=>setTimeout(_0x5bd77d,0x45d4ecd9^_0x2cb3d4)),_0x121dd1[_0x49fb67([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49fb67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x272fe2=>{let _0x18432e=0x0;_0x53cf92[_0x49fb67([0x6d,0x6f,0x64,0x65,0x6c])][_0x49fb67([0x6f,0x6e])](_0x49fb67([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2fee5d,_0x559941)=>{_0x559941[0x0][_0x49fb67([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18432e++,_0x18432e==(0x45ddd7fd^_0x2cb3d4)&&(_0x272fe2(),_0x2fee5d[_0x49fb67([0x6f,0x66,0x66])]());});}))];return window[_0x49fb67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49fb67([0x72,0x61,0x63,0x65])](_0x1ae32b)[_0x49fb67([0x74,0x68,0x65,0x6e])](()=>_0x5d0ef6);}async function _0x254ef2(){await _0x121dd1,_0x53cf92[_0x49fb67([0x6d,0x6f,0x64,0x65,0x6c])][_0x49fb67([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d8ad1,_0x53cf92[_0x49fb67([0x6d,0x6f,0x64,0x65,0x6c])][_0x49fb67([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d8ad1,_0x53cf92[_0x49fb67([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49fb67([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5015ad(_0x73b4ca){const _0x2baf77=_0x5e359b();_0x53cf92[_0x2baf77]=_0x49fb67([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x73b4ca,_0x73b4ca!=_0x49fb67([0x56,0x61,0x6c,0x69,0x64])&&_0x254ef2();}function _0x5e359b(){const _0x2288c8=window[_0x49fb67([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49fb67([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49fb67([0x6e,0x6f,0x77])]())[_0x49fb67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49fb67([0x2e]),'');let _0x4e3e4d=_0x49fb67([0x50]);for(let _0x2413c8=0x0;_0x2413c8<_0x2288c8[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2413c8+=0x2){let _0x42f321=window[_0x49fb67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2288c8[_0x49fb67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2413c8,_0x2413c8+0x2));_0x42f321>=_0x59b5b7[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42f321-=_0x59b5b7[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e3e4d+=_0x59b5b7[_0x42f321];}return _0x4e3e4d;}function _0x3683d5(){const _0xa8f299=_0x49b717[_0x49fb67([0x73,0x70,0x6c,0x69,0x74])](_0x49fb67([0x2e]));if(0x3!=_0xa8f299[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x124ab6(_0xa8f299[0x1]);function _0x124ab6(_0xf42be2){const _0x20dcdb=_0x420d93(_0xf42be2);return _0x20dcdb&&_0x348628()?_0x20dcdb:null;function _0x348628(){const _0x2664d6=_0x20dcdb[_0x49fb67([0x6a,0x74,0x69])],_0x2502b1=window[_0x49fb67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2664d6[_0x49fb67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2664d6[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x576f73={..._0x20dcdb,[_0x49fb67([0x6a,0x74,0x69])]:_0x2664d6[_0x49fb67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2664d6[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x576f73[_0x49fb67([0x76,0x63])],_0xaceea1(_0x576f73)==_0x2502b1;}}}async function _0x691b22(){let _0x40dacd=!0x0;try{const _0x1f7f4a=_0x49b717[_0x49fb67([0x73,0x70,0x6c,0x69,0x74])](_0x49fb67([0x2e])),[_0x25d8fd,_0x1ff722,_0x30dcb4]=_0x1f7f4a;return _0x3a64a5(_0x25d8fd),await _0x48accc(_0x25d8fd,_0x1ff722,_0x30dcb4),_0x40dacd;}catch{return!0x1;}function _0x3a64a5(_0x266e32){const _0x133a12=_0x420d93(_0x266e32);_0x133a12&&_0x133a12[_0x49fb67([0x61,0x6c,0x67])]==_0x49fb67([0x45,0x53,0x32,0x35,0x36])||(_0x40dacd=!0x1);}async function _0x48accc(_0x3a0cf3,_0x476614,_0x3f4d6e){const _0x29b0c3=window[_0x49fb67([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49fb67([0x66,0x72,0x6f,0x6d])](_0xd33a5f(_0x3f4d6e),_0x37579a=>_0x37579a[_0x49fb67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b7f01=new window[(_0x49fb67([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49fb67([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a0cf3+_0x49fb67([0x2e])+_0x476614),_0x74fc1=window[_0x49fb67([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49fb67([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x74fc1)return;const _0x183d06=await _0x74fc1[_0x49fb67([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49fb67([0x6a,0x77,0x6b]),_0x19c792,{[_0x49fb67([0x6e,0x61,0x6d,0x65])]:_0x49fb67([0x45,0x43,0x44,0x53,0x41]),[_0x49fb67([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49fb67([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49fb67([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x74fc1[_0x49fb67([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49fb67([0x6e,0x61,0x6d,0x65])]:_0x49fb67([0x45,0x43,0x44,0x53,0x41]),[_0x49fb67([0x68,0x61,0x73,0x68])]:{[_0x49fb67([0x6e,0x61,0x6d,0x65])]:_0x49fb67([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x183d06,_0x29b0c3,_0x4b7f01)||(_0x40dacd=!0x1);}}function _0x420d93(_0x361674){return _0x361674[_0x49fb67([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49fb67([0x65,0x79]))?JSON[_0x49fb67([0x70,0x61,0x72,0x73,0x65])](_0xd33a5f(_0x361674)):null;}function _0xd33a5f(_0x3b3a1b){return window[_0x49fb67([0x61,0x74,0x6f,0x62])](_0x3b3a1b[_0x49fb67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49fb67([0x2b]))[_0x49fb67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49fb67([0x2f])));}function _0xaceea1(_0x3f3d6b){let _0x523184=0x1505;function _0x163219(_0x3e5923){for(let _0x5db159=0x0;_0x5db159<_0x3e5923[_0x49fb67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5db159++){const _0x2f1070=_0x3e5923[_0x49fb67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5db159);_0x523184=(_0x523184<<0x5)+_0x523184+_0x2f1070,_0x523184&=_0x523184;}}function _0x3da48a(_0x56fbd8){Array[_0x49fb67([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56fbd8)?_0x56fbd8[_0x49fb67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3da48a):_0x56fbd8&&typeof _0x56fbd8==_0x49fb67([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49fb67([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56fbd8)[_0x49fb67([0x73,0x6f,0x72,0x74])]()[_0x49fb67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1faa0b,_0x2a7def])=>{_0x163219(_0x1faa0b),_0x3da48a(_0x2a7def);}):_0x163219(window[_0x49fb67([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56fbd8));}return _0x3da48a(_0x3f3d6b),_0x523184>>>0x0;}function _0x1b1fc3(_0x39d545){return _0x39d545[_0x49fb67([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49fb67([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49fb67([0x30]));}function _0x3edd7f(_0x1d5681){return _0x1d5681[_0x49fb67([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49fb67([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49fb67([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d8ad1(){}function _0x49fb67(_0x5ed740){const _0xd368ab=_0x5712;return _0x5ed740[_0xd368ab(0x1a3)](_0x197ae0=>String[_0xd368ab(0x17e)](_0x197ae0))[_0xd368ab(0x1a8)]('');}_0x5015ad(await _0x184d7b());}(this);}[_0x259c5d(0x19b)](){const _0x4e01ff=_0x259c5d,_0x4582f9=this[_0x4e01ff(0x188)];if(!_0x4582f9[_0x4e01ff(0x1a7)][_0x4e01ff(0x192)](_0x4e01ff(0x19a)))return;const _0x445b18=_0x4582f9[_0x4e01ff(0x1a7)][_0x4e01ff(0x192)](_0x4e01ff(0x1a4))[_0x4e01ff(0x18f)](_0x1e203e=>_0x4e01ff(0x191)==typeof _0x1e203e&&(!_0x1370d1(_0x1e203e)&&isNaN(Number(_0x1e203e))));if(_0x445b18[_0x4e01ff(0x181)])throw new _0x10c29f(_0x4e01ff(0x189),null,{'namedPresets':_0x445b18});}[_0x259c5d(0x197)](){const _0x4037ae=_0x259c5d,_0x1b5c0d=this[_0x4037ae(0x188)],_0x8d7630=this[_0x4037ae(0x188)][_0x4037ae(0x1a7)][_0x4037ae(0x192)](_0x4037ae(0x194));_0x1b5c0d[_0x4037ae(0x1a5)][_0x4037ae(0x178)](_0x4037ae(0x18d))[_0x4037ae(0x19d)]({'model':{'key':_0x4037ae(0x196)},'view':_0x2d757b=>String(_0x2d757b)===String(_0x8d7630)?null:{'key':_0x4037ae(0x1a1),'value':{'line-height':_0x2d757b}}}),_0x1b5c0d[_0x4037ae(0x1a5)][_0x4037ae(0x178)](_0x4037ae(0x18b))[_0x4037ae(0x19d)]({'model':{'key':_0x4037ae(0x196),'value':_0x594ccf=>{const _0x46de23=_0x4037ae;let _0x324828=_0x594ccf[_0x46de23(0x182)](_0x46de23(0x1ae));return _0xa4a423(_0x324828)&&(_0x324828=String(Number(_0x324828[_0x46de23(0x1ac)](0x0,-0x1))/0x64)),String(_0x324828)===String(_0x8d7630)?null:_0x324828;}},'view':{'styles':{'line-height':/.*/}}});}[_0x259c5d(0x1a9)](){const _0x80130d=_0x259c5d,_0x18f8ff=this[_0x80130d(0x188)],_0x40b8ae=this[_0x80130d(0x188)][_0x80130d(0x1a7)][_0x80130d(0x192)](_0x80130d(0x194)),_0x71b9ec=_0x4cd957(this[_0x80130d(0x188)][_0x80130d(0x1a7)][_0x80130d(0x192)](_0x80130d(0x196)))[_0x80130d(0x18f)](_0x59c52d=>_0x59c52d[_0x80130d(0x18a)]),_0x44e171=_0x3bbad4(_0x80130d(0x196),_0x71b9ec);_0x18f8ff[_0x80130d(0x1a5)][_0x80130d(0x19d)](_0x44e171),_0x18f8ff[_0x80130d(0x1a5)][_0x80130d(0x178)](_0x80130d(0x18b))[_0x80130d(0x19d)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x80130d(0x196),'value':_0x291bfb=>{const _0xcd228d=_0x80130d;let _0x4061fc=_0x291bfb[_0xcd228d(0x182)](_0xcd228d(0x1ae));return _0xa4a423(_0x4061fc)&&(_0x4061fc=String(Number(_0x4061fc[_0xcd228d(0x1ac)](0x0,-0x1))/0x64)),_0x4061fc===String(_0x40b8ae)?null:_0x44e171[_0xcd228d(0x18a)][_0xcd228d(0x18c)][_0xcd228d(0x1af)](_0x4061fc)?_0x4061fc:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x56a443}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4bf6b3,createDropdown as _0x2ebb61,MenuBarMenuListItemButtonView as _0x128f0a,MenuBarMenuListItemView as _0xff8cd4,MenuBarMenuListView as _0x1e87e4,MenuBarMenuView as _0x2ec06e,UIModel as _0x2584b0}from'ckeditor5/src/ui.js';import{Collection as _0x1d4833}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x35572b}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x39cb98}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x56a443{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1dabd0={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1dabd0),this['_registerMenuBarComponent'](_0x1dabd0),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b3b8e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xffb7c9;for(const _0x877c31 in _0x4b3b8e){const _0x320f29=_0x877c31,_0x25400e=_0x4b3b8e[_0x320f29];if('lineHeightLicenseKeyValid'==_0x25400e||'lineHeightLicenseKeyInvalid'==_0x25400e||'lineHeightLicenseKeyExpired'==_0x25400e||'lineHeightLicenseKeyDomainLimit'==_0x25400e||'lineHeightLicenseKeyNotAllowed'==_0x25400e||'lineHeightLicenseKeyEvaluationLimit'==_0x25400e||'lineHeightLicenseKeyTrialLimit'==_0x25400e||'lineHeightLicenseKeyUsageLimit'==_0x25400e){delete _0x4b3b8e[_0x320f29],_0xffb7c9=_0x25400e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xffb7c9&&_0x4b3b8e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xffb7c9&&_0x4b3b8e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xffb7c9&&_0x4b3b8e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xffb7c9&&_0x4b3b8e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xffb7c9&&_0x4b3b8e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xffb7c9&&_0x4b3b8e['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xffb7c9&&_0x4b3b8e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x10f498=this['editor'],t=_0x10f498['t'],_0x1fbb32=_0x10f498['config']['get']('lineHeight'),_0x17f26f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x39cb98(_0x1fbb32)['map'](_0x588d4a=>{const _0xb7bf7f=_0x17f26f[_0x588d4a['title']];return _0xb7bf7f&&_0xb7bf7f!=_0x588d4a['title']&&(_0x588d4a=Object['assign']({},_0x588d4a,{'title':_0xb7bf7f})),_0x588d4a;});}['_prepareListOptions'](){const _0x46d919=this['editor']['commands']['get']('lineHeight'),_0x2bf727=this['editor']['config']['get']('lineHeight.defaultValue'),_0x568658=this['_getLocalizedLineHeightOptions'](),_0x32ef1d=new _0x1d4833(),_0x45970c=_0x5c5ac8=>'default'===_0x5c5ac8||String(_0x2bf727)===_0x5c5ac8;for(const _0x33acf3 of _0x568658){const _0x2add63={'type':'button','model':new _0x2584b0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x33acf3['title'],'withText':!0x0})};_0x45970c(_0x33acf3['model'])?(_0x2add63['model']['bind']('isOn')['to'](_0x46d919,'value',_0x252792=>!_0x252792),_0x2add63['model']['commandParam']=void 0x0):(_0x2add63['model']['bind']('isOn')['to'](_0x46d919,'value',_0x2b63cb=>_0x2b63cb===_0x33acf3['model']),_0x2add63['model']['commandParam']=_0x33acf3['model']),_0x32ef1d['add'](_0x2add63);}if(this['_shouldRenderCustomValueOption']()){const _0x421718=this['_getCustomValueOptionDefinition'](_0x568658);_0x32ef1d['add'](_0x421718);}return _0x32ef1d;}['_getCustomValueOptionDefinition'](_0x1eefb2){const _0x4a07ec=this['editor'],t=_0x4a07ec['t'],_0x514217=_0x4a07ec['commands']['get']('lineHeight'),_0x2abbb5=_0x1eefb2['map'](_0x3a2599=>_0x3a2599['model']),_0x349659={'type':'button','model':new _0x2584b0({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x349659['model']['bind']('commandParam')['to'](_0x514217,'value'),_0x349659['model']['bind']('isOn')['to'](_0x514217,'value',_0x1bebfe=>!!_0x1bebfe&&!_0x2abbb5['includes'](String(_0x1bebfe))),_0x349659['model']['bind']('label')['to'](_0x514217,'value',_0x16d8a5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x16d8a5))),_0x349659;}['_registerToolbarComponent']({accessibleLabel:_0x10ae13,options:_0x489477}){const _0x227245=this['editor'],_0x26f1af=_0x227245['commands']['get']('lineHeight');_0x227245['ui']['componentFactory']['add']('lineHeight',_0x500b1a=>{const _0xd36bca=_0x2ebb61(_0x500b1a);return _0x4bf6b3(_0xd36bca,_0x489477,{'role':'menu','ariaLabel':_0x10ae13}),_0xd36bca['buttonView']['set']({'label':_0x10ae13,'tooltip':!0x0,'icon':_0x35572b}),_0xd36bca['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xd36bca['bind']('isEnabled')['to'](_0x26f1af),this['listenTo'](_0xd36bca,'execute',_0x6c139f=>{_0x227245['execute'](_0x6c139f['source']['commandName'],{'value':_0x6c139f['source']['commandParam']}),_0x227245['editing']['view']['focus']();}),_0xd36bca['once']('change:isOpen',()=>{const _0x157eef=_0xd36bca['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xd36bca,_0x489477,_0x157eef);}),_0xd36bca;});}['_registerMenuBarComponent']({accessibleLabel:_0x414396,options:_0x199822}){const _0x5eca3b=this['editor'],_0x4cc9a1=_0x5eca3b['commands']['get']('lineHeight');_0x5eca3b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5dde4d=>{const _0x303b26=new _0x2ec06e(_0x5dde4d);_0x303b26['buttonView']['set']({'label':_0x414396,'icon':_0x35572b}),_0x303b26['bind']('isEnabled')['to'](_0x4cc9a1);const _0x18507e=new _0x1e87e4(_0x5dde4d);for(const _0x399c31 of _0x199822){const _0xbbcdfc=new _0xff8cd4(_0x5dde4d,_0x303b26),_0x294554=new _0x128f0a(_0x5dde4d);_0x294554['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x294554['bind'](...Object['keys'](_0x399c31['model']))['to'](_0x399c31['model']),_0x294554['delegate']('execute')['to'](_0x303b26),_0x294554['on']('execute',()=>{_0x5eca3b['execute'](_0x399c31['model']['commandName'],{'value':_0x399c31['model']['commandParam']}),_0x5eca3b['editing']['view']['focus']();}),_0xbbcdfc['children']['add'](_0x294554),_0x18507e['items']['add'](_0xbbcdfc);}return _0x303b26['panelView']['children']['add'](_0x18507e),this['_attachCustomOptionVisibilityHandler'](_0x303b26,_0x199822,_0x18507e),_0x303b26;});}['_attachCustomOptionVisibilityHandler'](_0x451fbc,_0x32e0f1,_0xd55ddd){if(!this['_shouldRenderCustomValueOption']())return;const _0x1e6866=()=>{if(!_0x451fbc['isOpen'])return;_0xd55ddd['items']['last']['isVisible']=Boolean(_0x32e0f1['last']['model']['isOn']);};_0x1e6866(),_0x451fbc['on']('change:isOpen',()=>{_0x1e6866();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1d6314,_0x57421f){const _0x1050dd=_0x1617,_0x1b905b=_0x1d6314();while(!![]){try{const _0x556bb4=-parseInt(_0x1050dd(0x187))/0x1+parseInt(_0x1050dd(0x196))/0x2+-parseInt(_0x1050dd(0x19c))/0x3+parseInt(_0x1050dd(0x193))/0x4+-parseInt(_0x1050dd(0x18c))/0x5*(-parseInt(_0x1050dd(0x191))/0x6)+parseInt(_0x1050dd(0x186))/0x7*(-parseInt(_0x1050dd(0x197))/0x8)+parseInt(_0x1050dd(0x183))/0x9;if(_0x556bb4===_0x57421f)break;else _0x1b905b['push'](_0x1b905b['shift']());}catch(_0x5936ec){_0x1b905b['push'](_0x1b905b['shift']());}}}(_0x49ee,0xd56f8));function _0x49ee(){const _0x32fcbe=['line-height:','toLowerCase','520933jZpfSf','600762pHnCvT','Single','class','value','number','1824560INACCE','default','view','map','line-height-single','6cRGuAR','string','1122892HKKFaI','line-height-double','options','3275618QnBEmB','16UsxQeI','key','values','Double','model','3511710qAJvTn','double','defaultValue','filter','span','style','single','push','4598622BOPDLX'];_0x49ee=function(){return _0x32fcbe;};return _0x49ee();}const v={get 'single'(){const _0x2f579d=_0x1617;return{'title':_0x2f579d(0x188),'model':_0x2f579d(0x181),'view':{'key':_0x2f579d(0x189),'value':_0x2f579d(0x190)}};},get 'double'(){const _0x49c253=_0x1617;return{'title':_0x49c253(0x19a),'model':_0x49c253(0x19d),'view':{'key':_0x49c253(0x189),'value':_0x49c253(0x194)}};}};export function isLineHeightDefaultValue(_0x5a5ec3){const _0x2eb38f=_0x1617;return _0x2eb38f(0x192)==typeof _0x5a5ec3&&_0x2eb38f(0x18d)===_0x5a5ec3[_0x2eb38f(0x185)]();}function _0x1617(_0x5f27b3,_0x2aeb9f){const _0x49eead=_0x49ee();return _0x1617=function(_0x161774,_0x2d217b){_0x161774=_0x161774-0x17f;let _0x76cd72=_0x49eead[_0x161774];return _0x76cd72;},_0x1617(_0x5f27b3,_0x2aeb9f);}export function normalizeOptions(_0x4df057){const _0x3bbec7=_0x1617;return _0x4df057[_0x3bbec7(0x195)][_0x3bbec7(0x18f)](_0x4e3f0a=>isLineHeightDefaultValue(_0x4e3f0a)?{'title':String(_0x4df057[_0x3bbec7(0x19e)]),'model':_0x3bbec7(0x18d)}:(_0x3bbec7(0x18b)==typeof _0x4e3f0a&&(_0x4e3f0a=String(_0x4e3f0a)),_0x3bbec7(0x192)!=typeof _0x4e3f0a?_0x4e3f0a:parseFloat(_0x4e3f0a)?{'title':_0x4e3f0a,'model':_0x4e3f0a,'view':{'name':_0x3bbec7(0x17f),'styles':{'line-height':_0x4e3f0a}}}:findPreset(_0x4e3f0a)))[_0x3bbec7(0x19f)](_0x324ab9=>void 0x0!==_0x324ab9);}export function findPreset(_0x367f2a){const _0x4a5b95=_0x1617;return _0x4a5b95(0x192)==typeof _0x367f2a?v[_0x367f2a]:v[_0x367f2a[_0x4a5b95(0x19b)]];}export function buildDefinition(_0x5a4f51,_0x36014d){const _0x529650=_0x1617,_0x536d81={'model':{'key':_0x5a4f51,'values':[]},'view':{}};for(const _0x2a0624 of _0x36014d)_0x529650(0x189)===_0x2a0624[_0x529650(0x18e)]?.[_0x529650(0x198)]?(_0x536d81[_0x529650(0x19b)][_0x529650(0x199)][_0x529650(0x182)](_0x2a0624[_0x529650(0x19b)]),_0x536d81[_0x529650(0x18e)][_0x2a0624[_0x529650(0x19b)]]={'key':_0x529650(0x189),'value':_0x2a0624[_0x529650(0x18e)][_0x529650(0x18a)]}):(_0x536d81[_0x529650(0x19b)][_0x529650(0x199)][_0x529650(0x182)](_0x2a0624[_0x529650(0x19b)]),_0x536d81[_0x529650(0x18e)][_0x2a0624[_0x529650(0x19b)]]={'key':_0x529650(0x180),'value':_0x529650(0x184)+_0x2a0624[_0x529650(0x19b)]+';'});return _0x536d81;}
|