@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251218.0 → 0.0.0-nightly-next-20251220.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
|
-
function
|
|
23
|
+
const _0x342872=_0x2756;function _0x2756(_0xbcbd76,_0x2a0c2b){const _0x39115b=_0x3911();return _0x2756=function(_0x2756f8,_0x1283c1){_0x2756f8=_0x2756f8-0x12e;let _0x44b148=_0x39115b[_0x2756f8];return _0x44b148;},_0x2756(_0xbcbd76,_0x2a0c2b);}(function(_0x32ef37,_0x424345){const _0x2317ef=_0x2756,_0x299df4=_0x32ef37();while(!![]){try{const _0x59b700=-parseInt(_0x2317ef(0x145))/0x1*(parseInt(_0x2317ef(0x138))/0x2)+-parseInt(_0x2317ef(0x134))/0x3*(-parseInt(_0x2317ef(0x12e))/0x4)+parseInt(_0x2317ef(0x130))/0x5+-parseInt(_0x2317ef(0x143))/0x6+-parseInt(_0x2317ef(0x148))/0x7+parseInt(_0x2317ef(0x133))/0x8+parseInt(_0x2317ef(0x157))/0x9*(parseInt(_0x2317ef(0x153))/0xa);if(_0x59b700===_0x424345)break;else _0x299df4['push'](_0x299df4['shift']());}catch(_0x2dc4ca){_0x299df4['push'](_0x299df4['shift']());}}}(_0x3911,0x87aae));import{Plugin as _0x4b5a63}from'ckeditor5/src/core.js';import{Matcher as _0x3029c2}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x3911(){const _0x56256d=['isPremiumPlugin','ck-list-marker-line-height','5467908zbtcSi','todo','31YNsTfL','element:li','for','751268jyzVHj','addClass','paragraph','name','pluginName','ListEditing','LineHeightTodoListIntegration','isOfficialPlugin','init','high','registerDowncastStrategy','70oZJDRJ','upcast','consumable','consume','192123oaOYHW','viewItem','--ck-content-list-marker-line-height','108FHbfaR','todo-list__label__description','3095375msMuDi','has','setStyle','2571800rQcoKI','87666hliBjS','span','TodoListEditing','lineHeight','19654fzoSJB','add','listType','editor','item','get','match','getAttribute','elementToElement'];_0x3911=function(){return _0x56256d;};return _0x3911();}export class LineHeightTodoListIntegration extends _0x4b5a63{static get[_0x342872(0x14c)](){const _0x53383c=_0x342872;return _0x53383c(0x14e);}static get[_0x342872(0x14f)](){return!0x0;}static get[_0x342872(0x141)](){return!0x0;}[_0x342872(0x150)](){const _0x5a869f=_0x342872,{plugins:_0x368ed2,conversion:_0x1a4f00}=this[_0x5a869f(0x13b)];if(!_0x368ed2[_0x5a869f(0x131)](_0x5a869f(0x14d))||!_0x368ed2[_0x5a869f(0x131)](_0x5a869f(0x136)))return;_0x368ed2[_0x5a869f(0x13d)](_0x5a869f(0x14d))[_0x5a869f(0x152)]({'scope':_0x5a869f(0x13c),'attributeName':_0x5a869f(0x137),'consume':!0x1,'setAttributeOnDowncast'(_0x5c965d,_0x193f96,_0x2f5434,_0x25a7f7,_0x1f6830){const _0x2c6277=_0x5a869f;_0x2c6277(0x144)==_0x1f6830[_0x2c6277(0x13f)](_0x2c6277(0x13a))&&_0x193f96&&(_0x5c965d[_0x2c6277(0x149)](_0x2c6277(0x142),_0x2f5434),_0x5c965d[_0x2c6277(0x132)](_0x2c6277(0x159),_0x193f96,_0x2f5434));}}),_0x1a4f00[_0x5a869f(0x147)](_0x5a869f(0x154))[_0x5a869f(0x140)]({'view':{'name':_0x5a869f(0x135),'classes':_0x5a869f(0x12f)},'model':_0x5a869f(0x14a),'converterPriority':_0x5a869f(0x151)}),_0x1a4f00[_0x5a869f(0x147)](_0x5a869f(0x154))[_0x5a869f(0x139)](_0x1885b3=>{const _0x23475a=_0x5a869f;_0x1885b3['on'](_0x23475a(0x146),function(_0x21aaa1){const _0x26da42=new _0x3029c2(_0x21aaa1);return(_0x220cbf,_0xf8f72a,_0x15447c)=>{const _0x26ddcf=_0x2756,_0x4c1e2c=_0x26da42[_0x26ddcf(0x13e)](_0xf8f72a[_0x26ddcf(0x158)]);if(!_0x4c1e2c)return;const _0x32a610=_0x4c1e2c[_0x26ddcf(0x13e)];_0x32a610[_0x26ddcf(0x14b)]=!0x1,_0x15447c[_0x26ddcf(0x155)][_0x26ddcf(0x156)](_0xf8f72a[_0x26ddcf(0x158)],_0x32a610);};}({'name':'li','classes':_0x23475a(0x142),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x132c40=_0x3a67;(function(_0x4ab4e0,_0x28f51f){var _0x31fa65=_0x3a67,_0x1006a3=_0x4ab4e0();while(!![]){try{var _0x146ba3=-parseInt(_0x31fa65(0xef))/0x1+parseInt(_0x31fa65(0xe8))/0x2+parseInt(_0x31fa65(0xe4))/0x3*(-parseInt(_0x31fa65(0xeb))/0x4)+parseInt(_0x31fa65(0xf1))/0x5+parseInt(_0x31fa65(0xed))/0x6+parseInt(_0x31fa65(0xf0))/0x7*(parseInt(_0x31fa65(0xea))/0x8)+parseInt(_0x31fa65(0xf2))/0x9*(-parseInt(_0x31fa65(0xe9))/0xa);if(_0x146ba3===_0x28f51f)break;else _0x1006a3['push'](_0x1006a3['shift']());}catch(_0x42ae0c){_0x1006a3['push'](_0x1006a3['shift']());}}}(_0x2bb0,0x90bc6));import{Plugin as _0x29ef52}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x43a241}from'./lineheightediting.js';import{LineHeightUI as _0x726546}from'./lineheightui.js';function _0x3a67(_0x30a190,_0x46ed53){var _0x2bb0ac=_0x2bb0();return _0x3a67=function(_0x3a671c,_0x309f96){_0x3a671c=_0x3a671c-0xe4;var _0x417d4a=_0x2bb0ac[_0x3a671c];return _0x417d4a;},_0x3a67(_0x30a190,_0x46ed53);}function _0x2bb0(){var _0x1bf29d=['64927SnPEWA','7trmLrb','60355WIwEuB','126NbVzQT','240333fEsjQi','LineHeight','requires','pluginName','2226412FudNxb','1250020UDSifR','4346792pYyjal','8aYtUaD','isPremiumPlugin','5396334dNkWGa','isOfficialPlugin'];_0x2bb0=function(){return _0x1bf29d;};return _0x2bb0();}export class LineHeight extends _0x29ef52{static get[_0x132c40(0xe6)](){return[_0x43a241,_0x726546];}static get[_0x132c40(0xe7)](){var _0x7f939b=_0x132c40;return _0x7f939b(0xe5);}static get[_0x132c40(0xee)](){return!0x0;}static get[_0x132c40(0xec)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x6ec4(_0x29c5cc,_0x3709c1){const _0x588920=_0x5889();return _0x6ec4=function(_0x6ec482,_0x474e60){_0x6ec482=_0x6ec482-0x9a;let _0x2d6d10=_0x588920[_0x6ec482];return _0x2d6d10;},_0x6ec4(_0x29c5cc,_0x3709c1);}const _0x1ef383=_0x6ec4;function _0x5889(){const _0x2f8f62=['getSelectedBlocks','lineHeight','from','4plOqey','33510AadNpD','selection','editor','checkAttribute','123411nDvsCz','document','88613jeitzL','488486UhjQat','4837520mGEWSH','model','execute','438156acVWem','filter','63XvBwhn','refresh','setAttribute','44onyKhZ','_canHaveLineHeight','removeAttribute','schema','getAttribute','252zZCiXF','change','11lSzNYq','1063600WYhmYF','isEnabled','value'];_0x5889=function(){return _0x2f8f62;};return _0x5889();}(function(_0x3c5e69,_0x4b8015){const _0x330b26=_0x6ec4,_0x563849=_0x3c5e69();while(!![]){try{const _0x49f49f=parseInt(_0x330b26(0xb1))/0x1+parseInt(_0x330b26(0x9b))/0x2*(parseInt(_0x330b26(0xae))/0x3)+-parseInt(_0x330b26(0xa9))/0x4*(-parseInt(_0x330b26(0xa3))/0x5)+-parseInt(_0x330b26(0xa0))/0x6*(parseInt(_0x330b26(0xb0))/0x7)+-parseInt(_0x330b26(0xb2))/0x8+parseInt(_0x330b26(0xb7))/0x9*(-parseInt(_0x330b26(0xaa))/0xa)+parseInt(_0x330b26(0xa2))/0xb*(parseInt(_0x330b26(0xb5))/0xc);if(_0x49f49f===_0x4b8015)break;else _0x563849['push'](_0x563849['shift']());}catch(_0x1257bc){_0x563849['push'](_0x563849['shift']());}}}(_0x5889,0x75e5c));import{Command as _0x4e3fe5}from'ckeditor5/src/core.js';import{first as _0x47f863}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4e3fe5{[_0x1ef383(0xb8)](){const _0x2ffbfd=_0x1ef383,_0x37090b=this[_0x2ffbfd(0xac)][_0x2ffbfd(0xb3)][_0x2ffbfd(0xaf)],_0x1e8336=_0x47f863(_0x37090b[_0x2ffbfd(0xab)][_0x2ffbfd(0xa6)]());this[_0x2ffbfd(0xa4)]=Boolean(_0x1e8336)&&this[_0x2ffbfd(0x9c)](_0x1e8336),this[_0x2ffbfd(0xa5)]=this[_0x2ffbfd(0xa4)]&&_0x1e8336[_0x2ffbfd(0x9f)](_0x2ffbfd(0xa7));}[_0x1ef383(0xb4)](_0x5b62d1={}){const _0x1565de=_0x1ef383,_0x2cbcf5=this[_0x1565de(0xac)][_0x1565de(0xb3)],_0x15fb8a=_0x2cbcf5[_0x1565de(0xaf)][_0x1565de(0xab)],_0x1d8e20=_0x5b62d1[_0x1565de(0xa5)];_0x2cbcf5[_0x1565de(0xa1)](_0x5b61c8=>{const _0x189756=_0x1565de,_0x5e190d=Array[_0x189756(0xa8)](_0x15fb8a[_0x189756(0xa6)]())[_0x189756(0xb6)](_0x4de7aa=>this[_0x189756(0x9c)](_0x4de7aa));for(const _0x225b55 of _0x5e190d)_0x1d8e20?_0x5b61c8[_0x189756(0x9a)](_0x189756(0xa7),_0x1d8e20,_0x225b55):_0x5b61c8[_0x189756(0x9d)](_0x189756(0xa7),_0x225b55);});}[_0x1ef383(0x9c)](_0x3c345d){const _0x94d5c7=_0x1ef383;return this[_0x94d5c7(0xac)][_0x94d5c7(0xb3)][_0x94d5c7(0x9e)][_0x94d5c7(0xad)](_0x3c345d,_0x94d5c7(0xa7));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2b92(_0x76b609,_0x3a9252){const _0x39e38c=_0x39e3();return _0x2b92=function(_0x2b92d9,_0x22e0dd){_0x2b92d9=_0x2b92d9-0x112;let _0x420102=_0x39e38c[_0x2b92d9];return _0x420102;},_0x2b92(_0x76b609,_0x3a9252);}const _0x302e12=_0x2b92;(function(_0x162b24,_0x293435){const _0x3ea567=_0x2b92,_0x53c332=_0x162b24();while(!![]){try{const _0x1d22e7=-parseInt(_0x3ea567(0x132))/0x1+parseInt(_0x3ea567(0x11c))/0x2*(-parseInt(_0x3ea567(0x147))/0x3)+parseInt(_0x3ea567(0x11a))/0x4+-parseInt(_0x3ea567(0x146))/0x5+parseInt(_0x3ea567(0x119))/0x6*(parseInt(_0x3ea567(0x141))/0x7)+-parseInt(_0x3ea567(0x13f))/0x8*(parseInt(_0x3ea567(0x12f))/0x9)+parseInt(_0x3ea567(0x112))/0xa;if(_0x1d22e7===_0x293435)break;else _0x53c332['push'](_0x53c332['shift']());}catch(_0x2539bc){_0x53c332['push'](_0x53c332['shift']());}}}(_0x39e3,0xa9fc5));import{Plugin as _0x17c25c}from'ckeditor5/src/core.js';function _0x39e3(){const _0x54ed94=['902405auOvRG','23097lqApZA','length','15623910UdlqxY','map','default','values','for','extend','slice','14496qhiWYl','4420620ZzBnKw','downcast','10ZUFlli','_validateConfig','afterInit','define','lineHeight.defaultValue','isOfficialPlugin','upcast','includes','LineHeightEditing','join','commands','fromCharCode','string','get','add','attributeToAttribute','lineHeight','requires','config','414AJvBRZ','init','isPremiumPlugin','1065063ysvTLa','_prepareAnyValueConverters','line-height-invalid-use-of-named-presets','_preparePredefinedConverters','setAttributeProperties','editor','lineHeight.options','schema','conversion','getStyle','pluginName','style','$block','184648nvJFRC','lineHeight.supportAllValues','1085CqZQUH','filter','model','href','line-height'];_0x39e3=function(){return _0x54ed94;};return _0x39e3();}import{LineHeightCommand as _0x1e34fa}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x458034}from'ckeditor5/src/engine.js';import{uid as _0xbce835,CKEditorError as _0x3a562f}from'ckeditor5/src/utils.js';import{buildDefinition as _0x3efd22,isLineHeightDefaultValue as _0x58460c,normalizeOptions as _0x4f6060}from'./utils.js';import{LineHeightTodoListIntegration as _0x3dae27}from'./integrations/todolist.js';export class LineHeightEditing extends _0x17c25c{static get[_0x302e12(0x13c)](){const _0x376616=_0x302e12;return _0x376616(0x124);}static get[_0x302e12(0x12d)](){return[_0x3dae27];}static get[_0x302e12(0x121)](){return!0x0;}static get[_0x302e12(0x131)](){return!0x0;}constructor(_0x50cd68){const _0x5e3325=_0x302e12;super(_0x50cd68),_0x50cd68[_0x5e3325(0x12e)][_0x5e3325(0x11f)](_0x5e3325(0x12c),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5e3325(0x114),0x2,2.5,0x3]});}[_0x302e12(0x130)](){const _0x2cdfb4=_0x302e12,_0x9c7031=this[_0x2cdfb4(0x137)];this[_0x2cdfb4(0x11d)](),_0x9c7031[_0x2cdfb4(0x143)][_0x2cdfb4(0x139)][_0x2cdfb4(0x117)](_0x2cdfb4(0x13e),{'allowAttributes':_0x2cdfb4(0x12c)}),_0x9c7031[_0x2cdfb4(0x143)][_0x2cdfb4(0x139)][_0x2cdfb4(0x136)](_0x2cdfb4(0x12c),{'isFormatting':!0x0}),_0x9c7031[_0x2cdfb4(0x126)][_0x2cdfb4(0x12a)](_0x2cdfb4(0x12c),new _0x1e34fa(_0x9c7031)),this[_0x2cdfb4(0x137)][_0x2cdfb4(0x12e)][_0x2cdfb4(0x129)](_0x2cdfb4(0x140))?this[_0x2cdfb4(0x133)]():this[_0x2cdfb4(0x135)]();}[_0x302e12(0x11e)](){!async function(_0x2b669e){const _0x2003c5=_0x29489e([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]),_0x5d8e82=0x45ddd215,_0x267bbc=0x45daae55^_0x5d8e82,_0x442693=window[_0x29489e([0x44,0x61,0x74,0x65])][_0x29489e([0x6e,0x6f,0x77])](),_0x1b6f15=_0x2b669e[_0x29489e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56aa5f=new window[(_0x29489e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c5de3=>{_0x1b6f15[_0x29489e([0x6f,0x6e,0x63,0x65])](_0x29489e([0x72,0x65,0x61,0x64,0x79]),_0x4c5de3);}),_0x3ae029={[_0x29489e([0x6b,0x74,0x79])]:_0x29489e([0x45,0x43]),[_0x29489e([0x75,0x73,0x65])]:_0x29489e([0x73,0x69,0x67]),[_0x29489e([0x63,0x72,0x76])]:_0x29489e([0x50,0x2d,0x32,0x35,0x36]),[_0x29489e([0x78])]:_0x29489e([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]),[_0x29489e([0x79])]:_0x29489e([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]),[_0x29489e([0x61,0x6c,0x67])]:_0x29489e([0x45,0x53,0x32,0x35,0x36])},_0xed100d=_0x1b6f15[_0x29489e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29489e([0x67,0x65,0x74])](_0x29489e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x501fbd(){let _0x49e641,_0x12f419=null,_0x213b25=null;try{if(_0xed100d==_0x29489e([0x47,0x50,0x4c]))return _0x29489e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49e641=_0x2ac642(),!_0x49e641)return _0x29489e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49e641[_0x29489e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x213b25=_0x4af5d9(_0x49e641[_0x29489e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49e641[_0x29489e([0x6a,0x74,0x69])])),await _0x66c35a()?_0x351b44()?_0x2a0832()?_0x29489e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dfe92()?(_0x49e641[_0x29489e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29489e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12f419=_0x367250(_0x29489e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49e641[_0x29489e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29489e([0x74,0x72,0x69,0x61,0x6c])&&(_0x12f419=_0x367250(_0x29489e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5476f0()):_0x29489e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29489e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29489e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29489e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a0832(){const _0xc873b9=[_0x29489e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29489e([0x74,0x72,0x69,0x61,0x6c])][_0x29489e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49e641[_0x29489e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x442693/0x3e8:0xe10*_0x267bbc;return _0x49e641[_0x29489e([0x65,0x78,0x70])]<_0xc873b9;}function _0x351b44(){const _0x28a3f6=_0x49e641[_0x29489e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28a3f6&&(!!_0x28a3f6[_0x29489e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29489e([0x2a]))||!!_0x28a3f6[_0x29489e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29489e([0x4c,0x48])));}function _0x5dfe92(){const _0x589721=_0x2b92,_0xb101f1=_0x49e641[_0x29489e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb101f1||0x0==_0xb101f1[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa3ee33}=new URL(window[_0x29489e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x589721(0x144)]);if(_0xb101f1[_0x29489e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa3ee33))return!0x0;const _0xfc2666=_0xa3ee33[_0x29489e([0x73,0x70,0x6c,0x69,0x74])](_0x29489e([0x2e]));return _0xb101f1[_0x29489e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x550ddf=>_0x550ddf[_0x29489e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29489e([0x2a])))[_0x29489e([0x6d,0x61,0x70])](_0x109391=>_0x109391[_0x29489e([0x73,0x70,0x6c,0x69,0x74])](_0x29489e([0x2e])))[_0x29489e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a71cf=>_0x3a71cf[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xfc2666[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29489e([0x6d,0x61,0x70])](_0x5e4db9=>Array(_0xfc2666[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e4db9[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29489e([0x66,0x69,0x6c,0x6c])](_0x5e4db9[0x0]===_0x29489e([0x2a])?_0x29489e([0x2a]):'')[_0x29489e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e4db9))[_0x29489e([0x73,0x6f,0x6d,0x65])](_0x5431a8=>_0xfc2666[_0x29489e([0x65,0x76,0x65,0x72,0x79])]((_0xbd9c84,_0x575bfd)=>_0x5431a8[_0x575bfd]===_0xbd9c84||_0x5431a8[_0x575bfd]===_0x29489e([0x2a])));}function _0x5476f0(){return _0x12f419&&_0x213b25?new window[(_0x29489e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39cf66,_0x2361ae)=>{_0x12f419[_0x29489e([0x74,0x68,0x65,0x6e])](_0x39cf66,_0x2361ae),_0x213b25[_0x29489e([0x74,0x68,0x65,0x6e])](_0xa9c5fe=>{_0xa9c5fe!=_0x29489e([0x56,0x61,0x6c,0x69,0x64])&&_0x39cf66(_0xa9c5fe);},_0x2361ae);}):_0x12f419||_0x213b25||_0x29489e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4af5d9(_0xab18b7,_0x25beb8){return new window[(_0x29489e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c959d=>{if(_0xe6391())return _0x4c959d(_0x29489e([0x56,0x61,0x6c,0x69,0x64]));_0x8d7e3c(),_0x1b6f15[_0x29489e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29489e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49b76b=!0x1;const _0x1fe8ed=_0xbce835();function _0x41ed0c(_0xf22049){return!!_0xf22049&&(typeof _0xf22049===_0x29489e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf22049===_0x29489e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf22049[_0x29489e([0x74,0x68,0x65,0x6e])]===_0x29489e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf22049[_0x29489e([0x63,0x61,0x74,0x63,0x68])]===_0x29489e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c4451(_0x413d9a){_0x4feefa(_0x413d9a)[_0x29489e([0x74,0x68,0x65,0x6e])](_0x54fa92=>{if(!_0x54fa92||_0x54fa92[_0x29489e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29489e([0x6f,0x6b]))return _0x29489e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cd286(_0x336fe2(_0x1fe8ed+_0x25beb8))!=_0x54fa92[_0x29489e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29489e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29489e([0x56,0x61,0x6c,0x69,0x64]);})[_0x29489e([0x74,0x68,0x65,0x6e])](_0x140787=>(_0x997c08(),_0x140787),()=>{const _0x26831b=_0x4087e3();return null==_0x26831b?(_0x997c08(),_0x29489e([0x56,0x61,0x6c,0x69,0x64])):_0x29489e(_0x442693-_0x26831b>(0x61d15615^_0x5d8e82)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29489e([0x74,0x68,0x65,0x6e])](_0x4c959d)[_0x29489e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c959d(_0x29489e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2cd2b1=0x45eb3c95^_0x5d8e82;function _0x997c08(){const _0x1592bf=_0x29489e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cd286(_0x336fe2(_0xab18b7)),_0x58c143=_0x4b8510(_0x5cd286(window[_0x29489e([0x4d,0x61,0x74,0x68])][_0x29489e([0x63,0x65,0x69,0x6c])](_0x442693/_0x2cd2b1)));window[_0x29489e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29489e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1592bf,_0x58c143);}function _0x4087e3(){const _0x4ebd15=_0x29489e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cd286(_0x336fe2(_0xab18b7)),_0x3cb160=window[_0x29489e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29489e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ebd15);return _0x3cb160?window[_0x29489e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b8510(_0x3cb160),0x10)*_0x2cd2b1:null;}function _0x4feefa(_0xfdabbb){return new window[(_0x29489e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ea85e,_0x10477e)=>{_0xfdabbb[_0x29489e([0x74,0x68,0x65,0x6e])](_0x4ea85e,_0x10477e),window[_0x29489e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10477e,0x45dc06d5^_0x5d8e82);});}}_0x1b6f15[_0x29489e([0x6f,0x6e])](_0x29489e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x444dc1,_0x136886)=>{if(_0x136886[0x0]!=_0xab18b7)return _0x4c959d(_0x29489e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x136886[0x1]={..._0x136886[0x1],[_0x29489e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1fe8ed};},{[_0x29489e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29489e([0x68,0x69,0x67,0x68])}),_0x1b6f15[_0x29489e([0x6f,0x6e])](_0x29489e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ed6e2=>{_0x41ed0c(_0x4ed6e2[_0x29489e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49b76b=!0x0,_0x2c4451(_0x4ed6e2[_0x29489e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29489e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29489e([0x6c,0x6f,0x77])}),_0x56aa5f[_0x29489e([0x74,0x68,0x65,0x6e])](()=>{_0x49b76b||_0x4c959d(_0x29489e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe6391(){return _0x1b6f15[_0x29489e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29489e([0x76,0x69,0x65,0x77])][_0x29489e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29489e([0x61,0x75,0x74,0x6f]);}function _0x8d7e3c(){_0x1b6f15[_0x29489e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29489e([0x76,0x69,0x65,0x77])][_0x29489e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29489e([0x61,0x75,0x74,0x6f]);}}function _0x367250(_0x37b859){const _0x8a39b=[new window[(_0x29489e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22298b=>setTimeout(_0x22298b,0x45d4ecd9^_0x5d8e82)),_0x56aa5f[_0x29489e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29489e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1736ee=>{let _0x449ab4=0x0;_0x1b6f15[_0x29489e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29489e([0x6f,0x6e])](_0x29489e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45a129,_0x3bf9fb)=>{_0x3bf9fb[0x0][_0x29489e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x449ab4++,_0x449ab4==(0x45ddd3ed^_0x5d8e82)&&(_0x1736ee(),_0x45a129[_0x29489e([0x6f,0x66,0x66])]());});}))];return window[_0x29489e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29489e([0x72,0x61,0x63,0x65])](_0x8a39b)[_0x29489e([0x74,0x68,0x65,0x6e])](()=>_0x37b859);}async function _0x57045e(){await _0x56aa5f,_0x1b6f15[_0x29489e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29489e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa4b359,_0x1b6f15[_0x29489e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29489e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa4b359,_0x1b6f15[_0x29489e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29489e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x195851(_0x3e3a22){const _0x5ad08b=_0x8b31b2();_0x1b6f15[_0x5ad08b]=_0x29489e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e3a22,_0x3e3a22!=_0x29489e([0x56,0x61,0x6c,0x69,0x64])&&_0x57045e();}function _0x8b31b2(){const _0x2cbf17=window[_0x29489e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29489e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29489e([0x6e,0x6f,0x77])]())[_0x29489e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29489e([0x2e]),'');let _0x5abbdf=_0x29489e([0x50]);for(let _0xada09b=0x0;_0xada09b<_0x2cbf17[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xada09b+=0x2){let _0x2d87a1=window[_0x29489e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cbf17[_0x29489e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xada09b,_0xada09b+0x2));_0x2d87a1>=_0x2003c5[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d87a1-=_0x2003c5[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5abbdf+=_0x2003c5[_0x2d87a1];}return _0x5abbdf;}function _0x2ac642(){const _0x265543=_0xed100d[_0x29489e([0x73,0x70,0x6c,0x69,0x74])](_0x29489e([0x2e]));if(0x3!=_0x265543[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x17babe(_0x265543[0x1]);function _0x17babe(_0xd1c53d){const _0x371624=_0x269e72(_0xd1c53d);return _0x371624&&_0x55daa3()?_0x371624:null;function _0x55daa3(){const _0x254161=_0x371624[_0x29489e([0x6a,0x74,0x69])],_0x4c4f9c=window[_0x29489e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x254161[_0x29489e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x254161[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b3529={..._0x371624,[_0x29489e([0x6a,0x74,0x69])]:_0x254161[_0x29489e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x254161[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b3529[_0x29489e([0x76,0x63])],_0x336fe2(_0x3b3529)==_0x4c4f9c;}}}async function _0x66c35a(){let _0x3e131e=!0x0;try{const _0x3c7f3c=_0xed100d[_0x29489e([0x73,0x70,0x6c,0x69,0x74])](_0x29489e([0x2e])),[_0x163b40,_0xb29c1,_0x33b763]=_0x3c7f3c;return _0x3835db(_0x163b40),await _0x58e361(_0x163b40,_0xb29c1,_0x33b763),_0x3e131e;}catch{return!0x1;}function _0x3835db(_0x35d625){const _0x5ed4a6=_0x269e72(_0x35d625);_0x5ed4a6&&_0x5ed4a6[_0x29489e([0x61,0x6c,0x67])]==_0x29489e([0x45,0x53,0x32,0x35,0x36])||(_0x3e131e=!0x1);}async function _0x58e361(_0x260167,_0x5987be,_0x10844f){const _0x40864b=window[_0x29489e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29489e([0x66,0x72,0x6f,0x6d])](_0x4d4ebb(_0x10844f),_0x5637fd=>_0x5637fd[_0x29489e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd0736e=new window[(_0x29489e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29489e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x260167+_0x29489e([0x2e])+_0x5987be),_0x5b2f71=window[_0x29489e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29489e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b2f71)return;const _0x2f0200=await _0x5b2f71[_0x29489e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29489e([0x6a,0x77,0x6b]),_0x3ae029,{[_0x29489e([0x6e,0x61,0x6d,0x65])]:_0x29489e([0x45,0x43,0x44,0x53,0x41]),[_0x29489e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29489e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29489e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b2f71[_0x29489e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29489e([0x6e,0x61,0x6d,0x65])]:_0x29489e([0x45,0x43,0x44,0x53,0x41]),[_0x29489e([0x68,0x61,0x73,0x68])]:{[_0x29489e([0x6e,0x61,0x6d,0x65])]:_0x29489e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f0200,_0x40864b,_0xd0736e)||(_0x3e131e=!0x1);}}function _0x269e72(_0x28aa48){return _0x28aa48[_0x29489e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29489e([0x65,0x79]))?JSON[_0x29489e([0x70,0x61,0x72,0x73,0x65])](_0x4d4ebb(_0x28aa48)):null;}function _0x4d4ebb(_0x328190){return window[_0x29489e([0x61,0x74,0x6f,0x62])](_0x328190[_0x29489e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29489e([0x2b]))[_0x29489e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29489e([0x2f])));}function _0x336fe2(_0x48c2f2){let _0x3c6389=0x1505;function _0x320224(_0x56d814){for(let _0xadec3a=0x0;_0xadec3a<_0x56d814[_0x29489e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xadec3a++){const _0x2a909c=_0x56d814[_0x29489e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xadec3a);_0x3c6389=(_0x3c6389<<0x5)+_0x3c6389+_0x2a909c,_0x3c6389&=_0x3c6389;}}function _0x4e856f(_0x652ef5){Array[_0x29489e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x652ef5)?_0x652ef5[_0x29489e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e856f):_0x652ef5&&typeof _0x652ef5==_0x29489e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29489e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x652ef5)[_0x29489e([0x73,0x6f,0x72,0x74])]()[_0x29489e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15f232,_0x49a2dc])=>{_0x320224(_0x15f232),_0x4e856f(_0x49a2dc);}):_0x320224(window[_0x29489e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x652ef5));}return _0x4e856f(_0x48c2f2),_0x3c6389>>>0x0;}function _0x5cd286(_0x35ffec){return _0x35ffec[_0x29489e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29489e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29489e([0x30]));}function _0x4b8510(_0xbf85d1){return _0xbf85d1[_0x29489e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29489e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29489e([0x6a,0x6f,0x69,0x6e])]('');}function _0xa4b359(){}function _0x29489e(_0x41279b){const _0x1890a0=_0x2b92;return _0x41279b[_0x1890a0(0x113)](_0x41236b=>String[_0x1890a0(0x127)](_0x41236b))[_0x1890a0(0x125)]('');}_0x195851(await _0x501fbd());}(this);}[_0x302e12(0x11d)](){const _0x44cfe9=_0x302e12,_0x422d21=this[_0x44cfe9(0x137)];if(!_0x422d21[_0x44cfe9(0x12e)][_0x44cfe9(0x129)](_0x44cfe9(0x140)))return;const _0x292768=_0x422d21[_0x44cfe9(0x12e)][_0x44cfe9(0x129)](_0x44cfe9(0x138))[_0x44cfe9(0x142)](_0x4b2745=>_0x44cfe9(0x128)==typeof _0x4b2745&&(!_0x58460c(_0x4b2745)&&isNaN(Number(_0x4b2745))));if(_0x292768[_0x44cfe9(0x148)])throw new _0x3a562f(_0x44cfe9(0x134),null,{'namedPresets':_0x292768});}[_0x302e12(0x133)](){const _0x2eeffb=_0x302e12,_0x4b73f8=this[_0x2eeffb(0x137)],_0x58a2ce=this[_0x2eeffb(0x137)][_0x2eeffb(0x12e)][_0x2eeffb(0x129)](_0x2eeffb(0x120));_0x4b73f8[_0x2eeffb(0x13a)][_0x2eeffb(0x116)](_0x2eeffb(0x11b))[_0x2eeffb(0x12b)]({'model':{'key':_0x2eeffb(0x12c)},'view':_0x178a42=>String(_0x178a42)===String(_0x58a2ce)?null:{'key':_0x2eeffb(0x13d),'value':{'line-height':_0x178a42}}}),_0x4b73f8[_0x2eeffb(0x13a)][_0x2eeffb(0x116)](_0x2eeffb(0x122))[_0x2eeffb(0x12b)]({'model':{'key':_0x2eeffb(0x12c),'value':_0x3fd8d7=>{const _0x50af9b=_0x2eeffb;let _0x5eab3a=_0x3fd8d7[_0x50af9b(0x13b)](_0x50af9b(0x145));return _0x458034(_0x5eab3a)&&(_0x5eab3a=String(Number(_0x5eab3a[_0x50af9b(0x118)](0x0,-0x1))/0x64)),String(_0x5eab3a)===String(_0x58a2ce)?null:_0x5eab3a;}},'view':{'styles':{'line-height':/.*/}}});}[_0x302e12(0x135)](){const _0x552e05=_0x302e12,_0x308da1=this[_0x552e05(0x137)],_0x32046e=this[_0x552e05(0x137)][_0x552e05(0x12e)][_0x552e05(0x129)](_0x552e05(0x120)),_0x507173=_0x4f6060(this[_0x552e05(0x137)][_0x552e05(0x12e)][_0x552e05(0x129)](_0x552e05(0x12c)))[_0x552e05(0x142)](_0x4379d1=>_0x4379d1[_0x552e05(0x143)]),_0x5c4eca=_0x3efd22(_0x552e05(0x12c),_0x507173);_0x308da1[_0x552e05(0x13a)][_0x552e05(0x12b)](_0x5c4eca),_0x308da1[_0x552e05(0x13a)][_0x552e05(0x116)](_0x552e05(0x122))[_0x552e05(0x12b)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x552e05(0x12c),'value':_0x3c2e68=>{const _0x4d5a4b=_0x552e05;let _0x31a935=_0x3c2e68[_0x4d5a4b(0x13b)](_0x4d5a4b(0x145));return _0x458034(_0x31a935)&&(_0x31a935=String(Number(_0x31a935[_0x4d5a4b(0x118)](0x0,-0x1))/0x64)),_0x31a935===String(_0x32046e)?null:_0x5c4eca[_0x4d5a4b(0x143)][_0x4d5a4b(0x115)][_0x4d5a4b(0x123)](_0x31a935)?_0x31a935:null;}}});}}
|
|
23
|
+
const _0x5a93bf=_0x4fcd;(function(_0x4022ea,_0x405947){const _0x213956=_0x4fcd,_0x2d4d16=_0x4022ea();while(!![]){try{const _0x4e3d5a=-parseInt(_0x213956(0x1e4))/0x1+-parseInt(_0x213956(0x1d8))/0x2*(-parseInt(_0x213956(0x1e6))/0x3)+-parseInt(_0x213956(0x1bc))/0x4*(parseInt(_0x213956(0x1b2))/0x5)+-parseInt(_0x213956(0x1d2))/0x6*(parseInt(_0x213956(0x1b5))/0x7)+-parseInt(_0x213956(0x1c0))/0x8*(-parseInt(_0x213956(0x1ca))/0x9)+parseInt(_0x213956(0x1c3))/0xa*(-parseInt(_0x213956(0x1bd))/0xb)+-parseInt(_0x213956(0x1e5))/0xc*(-parseInt(_0x213956(0x1cc))/0xd);if(_0x4e3d5a===_0x405947)break;else _0x2d4d16['push'](_0x2d4d16['shift']());}catch(_0x1062d9){_0x2d4d16['push'](_0x2d4d16['shift']());}}}(_0x23f9,0x47946));import{Plugin as _0x3541d1}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4db668}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x20e1cd}from'ckeditor5/src/engine.js';function _0x23f9(){const _0x2e5495=['define','extend','editor','268953Fzuitb','2719380slhiza','3vIvuDu','slice','lineHeight.defaultValue','conversion','lineHeight','length','14495pnfDAN','_validateConfig','join','1547gfhTlW','map','attributeToAttribute','lineHeight.supportAllValues','afterInit','upcast','get','668GooCpg','673255VcakpJ','isOfficialPlugin','_preparePredefinedConverters','472952SyIctI','lineHeight.options','commands','20zkgcgA','includes','add','line-height-invalid-use-of-named-presets','requires','LineHeightEditing','_prepareAnyValueConverters','63bulznO','href','26DFlhmD','pluginName','model','init','isPremiumPlugin','default','4506bfubbM','style','filter','fromCharCode','line-height','downcast','935188hpCGDP','config','values','setAttributeProperties','string','$block','schema','getStyle','for'];_0x23f9=function(){return _0x2e5495;};return _0x23f9();}function _0x4fcd(_0x1b0963,_0x130d90){const _0x23f992=_0x23f9();return _0x4fcd=function(_0x4fcd06,_0xb49448){_0x4fcd06=_0x4fcd06-0x1b1;let _0x1b3f15=_0x23f992[_0x4fcd06];return _0x1b3f15;},_0x4fcd(_0x1b0963,_0x130d90);}import{uid as _0x1e9e2e,CKEditorError as _0x57ebf1}from'ckeditor5/src/utils.js';import{buildDefinition as _0x21ee14,isLineHeightDefaultValue as _0x37907c,normalizeOptions as _0x2a1239}from'./utils.js';import{LineHeightTodoListIntegration as _0x54dfa6}from'./integrations/todolist.js';export class LineHeightEditing extends _0x3541d1{static get[_0x5a93bf(0x1cd)](){const _0x11536b=_0x5a93bf;return _0x11536b(0x1c8);}static get[_0x5a93bf(0x1c7)](){return[_0x54dfa6];}static get[_0x5a93bf(0x1be)](){return!0x0;}static get[_0x5a93bf(0x1d0)](){return!0x0;}constructor(_0xc139bd){const _0x289a98=_0x5a93bf;super(_0xc139bd),_0xc139bd[_0x289a98(0x1d9)][_0x289a98(0x1e1)](_0x289a98(0x1ea),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x289a98(0x1d1),0x2,2.5,0x3]});}[_0x5a93bf(0x1cf)](){const _0x5c3382=_0x5a93bf,_0xfd382d=this[_0x5c3382(0x1e3)];this[_0x5c3382(0x1b3)](),_0xfd382d[_0x5c3382(0x1ce)][_0x5c3382(0x1de)][_0x5c3382(0x1e2)](_0x5c3382(0x1dd),{'allowAttributes':_0x5c3382(0x1ea)}),_0xfd382d[_0x5c3382(0x1ce)][_0x5c3382(0x1de)][_0x5c3382(0x1db)](_0x5c3382(0x1ea),{'isFormatting':!0x0}),_0xfd382d[_0x5c3382(0x1c2)][_0x5c3382(0x1c5)](_0x5c3382(0x1ea),new _0x4db668(_0xfd382d)),this[_0x5c3382(0x1e3)][_0x5c3382(0x1d9)][_0x5c3382(0x1bb)](_0x5c3382(0x1b8))?this[_0x5c3382(0x1c9)]():this[_0x5c3382(0x1bf)]();}[_0x5a93bf(0x1b9)](){!async function(_0x3eab7e){const _0x5d0042=_0x2603e0([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]),_0x40d997=0x45ddd215,_0x50e85d=0x45daae65^_0x40d997,_0xc9edfa=window[_0x2603e0([0x44,0x61,0x74,0x65])][_0x2603e0([0x6e,0x6f,0x77])](),_0x45f49f=_0x3eab7e[_0x2603e0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x465ca8=new window[(_0x2603e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37c8b4=>{_0x45f49f[_0x2603e0([0x6f,0x6e,0x63,0x65])](_0x2603e0([0x72,0x65,0x61,0x64,0x79]),_0x37c8b4);}),_0x51133b={[_0x2603e0([0x6b,0x74,0x79])]:_0x2603e0([0x45,0x43]),[_0x2603e0([0x75,0x73,0x65])]:_0x2603e0([0x73,0x69,0x67]),[_0x2603e0([0x63,0x72,0x76])]:_0x2603e0([0x50,0x2d,0x32,0x35,0x36]),[_0x2603e0([0x78])]:_0x2603e0([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]),[_0x2603e0([0x79])]:_0x2603e0([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]),[_0x2603e0([0x61,0x6c,0x67])]:_0x2603e0([0x45,0x53,0x32,0x35,0x36])},_0x30e78e=_0x45f49f[_0x2603e0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2603e0([0x67,0x65,0x74])](_0x2603e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45b75a(){let _0x598b91,_0xdc6bd6=null,_0x47d097=null;try{if(_0x30e78e==_0x2603e0([0x47,0x50,0x4c]))return _0x2603e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x598b91=_0x340f9c(),!_0x598b91)return _0x2603e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x598b91[_0x2603e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47d097=_0x107b2e(_0x598b91[_0x2603e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x598b91[_0x2603e0([0x6a,0x74,0x69])])),await _0x47831c()?_0x2fa7ea()?_0xaae60f()?_0x2603e0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x503c82()?(_0x598b91[_0x2603e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2603e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xdc6bd6=_0x4003d6(_0x2603e0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x598b91[_0x2603e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2603e0([0x74,0x72,0x69,0x61,0x6c])&&(_0xdc6bd6=_0x4003d6(_0x2603e0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x461436()):_0x2603e0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2603e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2603e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2603e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xaae60f(){const _0x4f11df=[_0x2603e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2603e0([0x74,0x72,0x69,0x61,0x6c])][_0x2603e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x598b91[_0x2603e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc9edfa/0x3e8:0xe10*_0x50e85d;return _0x598b91[_0x2603e0([0x65,0x78,0x70])]<_0x4f11df;}function _0x2fa7ea(){const _0x4cb873=_0x598b91[_0x2603e0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cb873&&(!!_0x4cb873[_0x2603e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2603e0([0x2a]))||!!_0x4cb873[_0x2603e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2603e0([0x4c,0x48])));}function _0x503c82(){const _0x30d861=_0x4fcd,_0x23fa79=_0x598b91[_0x2603e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23fa79||0x0==_0x23fa79[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23ee29}=new URL(window[_0x2603e0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30d861(0x1cb)]);if(_0x23fa79[_0x2603e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23ee29))return!0x0;const _0x533aca=_0x23ee29[_0x2603e0([0x73,0x70,0x6c,0x69,0x74])](_0x2603e0([0x2e]));return _0x23fa79[_0x2603e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52dfb5=>_0x52dfb5[_0x2603e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2603e0([0x2a])))[_0x2603e0([0x6d,0x61,0x70])](_0xff201a=>_0xff201a[_0x2603e0([0x73,0x70,0x6c,0x69,0x74])](_0x2603e0([0x2e])))[_0x2603e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1de1f3=>_0x1de1f3[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x533aca[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2603e0([0x6d,0x61,0x70])](_0x28fb0a=>Array(_0x533aca[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x28fb0a[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2603e0([0x66,0x69,0x6c,0x6c])](_0x28fb0a[0x0]===_0x2603e0([0x2a])?_0x2603e0([0x2a]):'')[_0x2603e0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x28fb0a))[_0x2603e0([0x73,0x6f,0x6d,0x65])](_0x2a7769=>_0x533aca[_0x2603e0([0x65,0x76,0x65,0x72,0x79])]((_0x4f83b2,_0x287120)=>_0x2a7769[_0x287120]===_0x4f83b2||_0x2a7769[_0x287120]===_0x2603e0([0x2a])));}function _0x461436(){return _0xdc6bd6&&_0x47d097?new window[(_0x2603e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53ffb3,_0x178d0c)=>{_0xdc6bd6[_0x2603e0([0x74,0x68,0x65,0x6e])](_0x53ffb3,_0x178d0c),_0x47d097[_0x2603e0([0x74,0x68,0x65,0x6e])](_0x4722f1=>{_0x4722f1!=_0x2603e0([0x56,0x61,0x6c,0x69,0x64])&&_0x53ffb3(_0x4722f1);},_0x178d0c);}):_0xdc6bd6||_0x47d097||_0x2603e0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x107b2e(_0x506415,_0x534dd8){return new window[(_0x2603e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x409703=>{if(_0x3e996b())return _0x409703(_0x2603e0([0x56,0x61,0x6c,0x69,0x64]));_0x2ab500(),_0x45f49f[_0x2603e0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2603e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf194d2=!0x1;const _0x4e9f5f=_0x1e9e2e();function _0x2a63dc(_0x5bbfaf){return!!_0x5bbfaf&&(typeof _0x5bbfaf===_0x2603e0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5bbfaf===_0x2603e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5bbfaf[_0x2603e0([0x74,0x68,0x65,0x6e])]===_0x2603e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5bbfaf[_0x2603e0([0x63,0x61,0x74,0x63,0x68])]===_0x2603e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x478713(_0x2c31e1){_0x380ce6(_0x2c31e1)[_0x2603e0([0x74,0x68,0x65,0x6e])](_0x1b837d=>{if(!_0x1b837d||_0x1b837d[_0x2603e0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2603e0([0x6f,0x6b]))return _0x2603e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3dbec4(_0xfe0d4(_0x4e9f5f+_0x534dd8))!=_0x1b837d[_0x2603e0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2603e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2603e0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2603e0([0x74,0x68,0x65,0x6e])](_0x2ac82c=>(_0x3353e2(),_0x2ac82c),()=>{const _0x5e8423=_0x564f5b();return null==_0x5e8423?(_0x3353e2(),_0x2603e0([0x56,0x61,0x6c,0x69,0x64])):_0x2603e0(_0xc9edfa-_0x5e8423>(0x61d15615^_0x40d997)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2603e0([0x74,0x68,0x65,0x6e])](_0x409703)[_0x2603e0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x409703(_0x2603e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32d2d5=0x45eb3c95^_0x40d997;function _0x3353e2(){const _0x407598=_0x2603e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3dbec4(_0xfe0d4(_0x506415)),_0x38fd2b=_0x2eceee(_0x3dbec4(window[_0x2603e0([0x4d,0x61,0x74,0x68])][_0x2603e0([0x63,0x65,0x69,0x6c])](_0xc9edfa/_0x32d2d5)));window[_0x2603e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2603e0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x407598,_0x38fd2b);}function _0x564f5b(){const _0x50aa54=_0x2603e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3dbec4(_0xfe0d4(_0x506415)),_0xd59d9d=window[_0x2603e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2603e0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50aa54);return _0xd59d9d?window[_0x2603e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2eceee(_0xd59d9d),0x10)*_0x32d2d5:null;}function _0x380ce6(_0x30a0f1){return new window[(_0x2603e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x365d2c,_0x22c343)=>{_0x30a0f1[_0x2603e0([0x74,0x68,0x65,0x6e])](_0x365d2c,_0x22c343),window[_0x2603e0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22c343,0x45dc06d5^_0x40d997);});}}_0x45f49f[_0x2603e0([0x6f,0x6e])](_0x2603e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fe7ce,_0x1082eb)=>{if(_0x1082eb[0x0]!=_0x506415)return _0x409703(_0x2603e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1082eb[0x1]={..._0x1082eb[0x1],[_0x2603e0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e9f5f};},{[_0x2603e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2603e0([0x68,0x69,0x67,0x68])}),_0x45f49f[_0x2603e0([0x6f,0x6e])](_0x2603e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x481009=>{_0x2a63dc(_0x481009[_0x2603e0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf194d2=!0x0,_0x478713(_0x481009[_0x2603e0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2603e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2603e0([0x6c,0x6f,0x77])}),_0x465ca8[_0x2603e0([0x74,0x68,0x65,0x6e])](()=>{_0xf194d2||_0x409703(_0x2603e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e996b(){return _0x45f49f[_0x2603e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2603e0([0x76,0x69,0x65,0x77])][_0x2603e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2603e0([0x61,0x75,0x74,0x6f]);}function _0x2ab500(){_0x45f49f[_0x2603e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2603e0([0x76,0x69,0x65,0x77])][_0x2603e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2603e0([0x61,0x75,0x74,0x6f]);}}function _0x4003d6(_0x4ca919){const _0x2188b9=[new window[(_0x2603e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4df9c8=>setTimeout(_0x4df9c8,0x45d4ecd9^_0x40d997)),_0x465ca8[_0x2603e0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2603e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f361f=>{let _0x15426e=0x0;_0x45f49f[_0x2603e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2603e0([0x6f,0x6e])](_0x2603e0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19002b,_0x5c6e7f)=>{_0x5c6e7f[0x0][_0x2603e0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15426e++,_0x15426e==(0x45ddd7fd^_0x40d997)&&(_0x1f361f(),_0x19002b[_0x2603e0([0x6f,0x66,0x66])]());});}))];return window[_0x2603e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2603e0([0x72,0x61,0x63,0x65])](_0x2188b9)[_0x2603e0([0x74,0x68,0x65,0x6e])](()=>_0x4ca919);}async function _0x35c6c9(){await _0x465ca8,_0x45f49f[_0x2603e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2603e0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17adcd,_0x45f49f[_0x2603e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2603e0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17adcd,_0x45f49f[_0x2603e0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2603e0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x468d57(_0x5f35ec){const _0x5538c3=_0x3dc2cd();_0x45f49f[_0x5538c3]=_0x2603e0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5f35ec,_0x5f35ec!=_0x2603e0([0x56,0x61,0x6c,0x69,0x64])&&_0x35c6c9();}function _0x3dc2cd(){const _0x45fbfe=window[_0x2603e0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2603e0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2603e0([0x6e,0x6f,0x77])]())[_0x2603e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2603e0([0x2e]),'');let _0x382346=_0x2603e0([0x50]);for(let _0x2dab21=0x0;_0x2dab21<_0x45fbfe[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dab21+=0x2){let _0x4ba5fa=window[_0x2603e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45fbfe[_0x2603e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dab21,_0x2dab21+0x2));_0x4ba5fa>=_0x5d0042[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ba5fa-=_0x5d0042[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x382346+=_0x5d0042[_0x4ba5fa];}return _0x382346;}function _0x340f9c(){const _0x91a32d=_0x30e78e[_0x2603e0([0x73,0x70,0x6c,0x69,0x74])](_0x2603e0([0x2e]));if(0x3!=_0x91a32d[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f020d(_0x91a32d[0x1]);function _0x5f020d(_0x368c8a){const _0x2342b1=_0xf6e613(_0x368c8a);return _0x2342b1&&_0x421aff()?_0x2342b1:null;function _0x421aff(){const _0x493830=_0x2342b1[_0x2603e0([0x6a,0x74,0x69])],_0x6e9d59=window[_0x2603e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x493830[_0x2603e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x493830[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b6eb6={..._0x2342b1,[_0x2603e0([0x6a,0x74,0x69])]:_0x493830[_0x2603e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x493830[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b6eb6[_0x2603e0([0x76,0x63])],_0xfe0d4(_0x5b6eb6)==_0x6e9d59;}}}async function _0x47831c(){let _0x53aefd=!0x0;try{const _0x3a91b9=_0x30e78e[_0x2603e0([0x73,0x70,0x6c,0x69,0x74])](_0x2603e0([0x2e])),[_0x5cacc1,_0x5124cf,_0x2f3fb1]=_0x3a91b9;return _0x4b848b(_0x5cacc1),await _0x5d13a6(_0x5cacc1,_0x5124cf,_0x2f3fb1),_0x53aefd;}catch{return!0x1;}function _0x4b848b(_0x4bc039){const _0xb051d9=_0xf6e613(_0x4bc039);_0xb051d9&&_0xb051d9[_0x2603e0([0x61,0x6c,0x67])]==_0x2603e0([0x45,0x53,0x32,0x35,0x36])||(_0x53aefd=!0x1);}async function _0x5d13a6(_0x10bf00,_0x9c01f8,_0x215ebf){const _0x2776c6=window[_0x2603e0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2603e0([0x66,0x72,0x6f,0x6d])](_0x389763(_0x215ebf),_0x5a3bdc=>_0x5a3bdc[_0x2603e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2591c4=new window[(_0x2603e0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2603e0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10bf00+_0x2603e0([0x2e])+_0x9c01f8),_0xc5541=window[_0x2603e0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2603e0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc5541)return;const _0x63c0f8=await _0xc5541[_0x2603e0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2603e0([0x6a,0x77,0x6b]),_0x51133b,{[_0x2603e0([0x6e,0x61,0x6d,0x65])]:_0x2603e0([0x45,0x43,0x44,0x53,0x41]),[_0x2603e0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2603e0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2603e0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc5541[_0x2603e0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2603e0([0x6e,0x61,0x6d,0x65])]:_0x2603e0([0x45,0x43,0x44,0x53,0x41]),[_0x2603e0([0x68,0x61,0x73,0x68])]:{[_0x2603e0([0x6e,0x61,0x6d,0x65])]:_0x2603e0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x63c0f8,_0x2776c6,_0x2591c4)||(_0x53aefd=!0x1);}}function _0xf6e613(_0x4a7b35){return _0x4a7b35[_0x2603e0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2603e0([0x65,0x79]))?JSON[_0x2603e0([0x70,0x61,0x72,0x73,0x65])](_0x389763(_0x4a7b35)):null;}function _0x389763(_0x239d53){return window[_0x2603e0([0x61,0x74,0x6f,0x62])](_0x239d53[_0x2603e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2603e0([0x2b]))[_0x2603e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2603e0([0x2f])));}function _0xfe0d4(_0x73b69f){let _0x5205b2=0x1505;function _0x349780(_0x1e0189){for(let _0x90f64c=0x0;_0x90f64c<_0x1e0189[_0x2603e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x90f64c++){const _0x2e181d=_0x1e0189[_0x2603e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x90f64c);_0x5205b2=(_0x5205b2<<0x5)+_0x5205b2+_0x2e181d,_0x5205b2&=_0x5205b2;}}function _0x39bebd(_0x2dd653){Array[_0x2603e0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2dd653)?_0x2dd653[_0x2603e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39bebd):_0x2dd653&&typeof _0x2dd653==_0x2603e0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2603e0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2dd653)[_0x2603e0([0x73,0x6f,0x72,0x74])]()[_0x2603e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x336538,_0xf2a636])=>{_0x349780(_0x336538),_0x39bebd(_0xf2a636);}):_0x349780(window[_0x2603e0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2dd653));}return _0x39bebd(_0x73b69f),_0x5205b2>>>0x0;}function _0x3dbec4(_0x26bbef){return _0x26bbef[_0x2603e0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2603e0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2603e0([0x30]));}function _0x2eceee(_0x2377f6){return _0x2377f6[_0x2603e0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2603e0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2603e0([0x6a,0x6f,0x69,0x6e])]('');}function _0x17adcd(){}function _0x2603e0(_0x3c41ac){const _0xb46abd=_0x4fcd;return _0x3c41ac[_0xb46abd(0x1b6)](_0x1d648b=>String[_0xb46abd(0x1d5)](_0x1d648b))[_0xb46abd(0x1b4)]('');}_0x468d57(await _0x45b75a());}(this);}[_0x5a93bf(0x1b3)](){const _0x3825af=_0x5a93bf,_0x10b186=this[_0x3825af(0x1e3)];if(!_0x10b186[_0x3825af(0x1d9)][_0x3825af(0x1bb)](_0x3825af(0x1b8)))return;const _0xc6aacf=_0x10b186[_0x3825af(0x1d9)][_0x3825af(0x1bb)](_0x3825af(0x1c1))[_0x3825af(0x1d4)](_0x39e4a6=>_0x3825af(0x1dc)==typeof _0x39e4a6&&(!_0x37907c(_0x39e4a6)&&isNaN(Number(_0x39e4a6))));if(_0xc6aacf[_0x3825af(0x1b1)])throw new _0x57ebf1(_0x3825af(0x1c6),null,{'namedPresets':_0xc6aacf});}[_0x5a93bf(0x1c9)](){const _0xf61200=_0x5a93bf,_0x5dd002=this[_0xf61200(0x1e3)],_0x2da6b8=this[_0xf61200(0x1e3)][_0xf61200(0x1d9)][_0xf61200(0x1bb)](_0xf61200(0x1e8));_0x5dd002[_0xf61200(0x1e9)][_0xf61200(0x1e0)](_0xf61200(0x1d7))[_0xf61200(0x1b7)]({'model':{'key':_0xf61200(0x1ea)},'view':_0x514560=>String(_0x514560)===String(_0x2da6b8)?null:{'key':_0xf61200(0x1d3),'value':{'line-height':_0x514560}}}),_0x5dd002[_0xf61200(0x1e9)][_0xf61200(0x1e0)](_0xf61200(0x1ba))[_0xf61200(0x1b7)]({'model':{'key':_0xf61200(0x1ea),'value':_0x5044d3=>{const _0x2e9f40=_0xf61200;let _0x2755e9=_0x5044d3[_0x2e9f40(0x1df)](_0x2e9f40(0x1d6));return _0x20e1cd(_0x2755e9)&&(_0x2755e9=String(Number(_0x2755e9[_0x2e9f40(0x1e7)](0x0,-0x1))/0x64)),String(_0x2755e9)===String(_0x2da6b8)?null:_0x2755e9;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5a93bf(0x1bf)](){const _0x4b5d3c=_0x5a93bf,_0x1b4589=this[_0x4b5d3c(0x1e3)],_0x2887a8=this[_0x4b5d3c(0x1e3)][_0x4b5d3c(0x1d9)][_0x4b5d3c(0x1bb)](_0x4b5d3c(0x1e8)),_0x4c4b34=_0x2a1239(this[_0x4b5d3c(0x1e3)][_0x4b5d3c(0x1d9)][_0x4b5d3c(0x1bb)](_0x4b5d3c(0x1ea)))[_0x4b5d3c(0x1d4)](_0xff8abf=>_0xff8abf[_0x4b5d3c(0x1ce)]),_0x4165ff=_0x21ee14(_0x4b5d3c(0x1ea),_0x4c4b34);_0x1b4589[_0x4b5d3c(0x1e9)][_0x4b5d3c(0x1b7)](_0x4165ff),_0x1b4589[_0x4b5d3c(0x1e9)][_0x4b5d3c(0x1e0)](_0x4b5d3c(0x1ba))[_0x4b5d3c(0x1b7)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4b5d3c(0x1ea),'value':_0x186153=>{const _0x19a1b5=_0x4b5d3c;let _0x18cfad=_0x186153[_0x19a1b5(0x1df)](_0x19a1b5(0x1d6));return _0x20e1cd(_0x18cfad)&&(_0x18cfad=String(Number(_0x18cfad[_0x19a1b5(0x1e7)](0x0,-0x1))/0x64)),_0x18cfad===String(_0x2887a8)?null:_0x4165ff[_0x19a1b5(0x1ce)][_0x19a1b5(0x1da)][_0x19a1b5(0x1c4)](_0x18cfad)?_0x18cfad:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x65bb1d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4d6970,createDropdown as _0x10bbb5,MenuBarMenuListItemButtonView as _0x2503ad,MenuBarMenuListItemView as _0x431df7,MenuBarMenuListView as _0x4347a1,MenuBarMenuView as _0x56a3ee,UIModel as _0x13e1e5}from'ckeditor5/src/ui.js';import{Collection as _0x227ddb}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x127df6}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x57af4f}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x65bb1d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f478c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1f478c),this['_registerMenuBarComponent'](_0x1f478c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x241934=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x31791e;for(const _0x2c30d1 in _0x241934){const _0x563345=_0x2c30d1,_0xceccc=_0x241934[_0x563345];if('lineHeightLicenseKeyValid'==_0xceccc||'lineHeightLicenseKeyInvalid'==_0xceccc||'lineHeightLicenseKeyExpired'==_0xceccc||'lineHeightLicenseKeyDomainLimit'==_0xceccc||'lineHeightLicenseKeyNotAllowed'==_0xceccc||'lineHeightLicenseKeyEvaluationLimit'==_0xceccc||'lineHeightLicenseKeyTrialLimit'==_0xceccc||'lineHeightLicenseKeyUsageLimit'==_0xceccc){delete _0x241934[_0x563345],_0x31791e=_0xceccc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x31791e&&_0x241934['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x31791e&&_0x241934['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x31791e&&_0x241934['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x31791e&&_0x241934['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x31791e&&_0x241934['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x31791e&&_0x241934['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x31791e&&_0x241934['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xb5100e=this['editor'],t=_0xb5100e['t'],_0x3e6eca=_0xb5100e['config']['get']('lineHeight'),_0x3fdcaa={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x57af4f(_0x3e6eca)['map'](_0x789292=>{const _0x23d2ea=_0x3fdcaa[_0x789292['title']];return _0x23d2ea&&_0x23d2ea!=_0x789292['title']&&(_0x789292=Object['assign']({},_0x789292,{'title':_0x23d2ea})),_0x789292;});}['_prepareListOptions'](){const _0x23f7c3=this['editor']['commands']['get']('lineHeight'),_0x30a701=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3bce6d=this['_getLocalizedLineHeightOptions'](),_0x4679ec=new _0x227ddb(),_0x428a57=_0xc2b15f=>'default'===_0xc2b15f||String(_0x30a701)===_0xc2b15f;for(const _0x41f747 of _0x3bce6d){const _0x247526={'type':'button','model':new _0x13e1e5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x41f747['title'],'withText':!0x0})};_0x428a57(_0x41f747['model'])?(_0x247526['model']['bind']('isOn')['to'](_0x23f7c3,'value',_0x12adba=>!_0x12adba),_0x247526['model']['commandParam']=void 0x0):(_0x247526['model']['bind']('isOn')['to'](_0x23f7c3,'value',_0x15ff78=>_0x15ff78===_0x41f747['model']),_0x247526['model']['commandParam']=_0x41f747['model']),_0x4679ec['add'](_0x247526);}if(this['_shouldRenderCustomValueOption']()){const _0x5a8e44=this['_getCustomValueOptionDefinition'](_0x3bce6d);_0x4679ec['add'](_0x5a8e44);}return _0x4679ec;}['_getCustomValueOptionDefinition'](_0x2c18a9){const _0x8d4629=this['editor'],t=_0x8d4629['t'],_0xb50310=_0x8d4629['commands']['get']('lineHeight'),_0x25750e=_0x2c18a9['map'](_0x9f2070=>_0x9f2070['model']),_0x555edf={'type':'button','model':new _0x13e1e5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x555edf['model']['bind']('commandParam')['to'](_0xb50310,'value'),_0x555edf['model']['bind']('isOn')['to'](_0xb50310,'value',_0x280ca2=>!!_0x280ca2&&!_0x25750e['includes'](String(_0x280ca2))),_0x555edf['model']['bind']('label')['to'](_0xb50310,'value',_0x6119e5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x6119e5))),_0x555edf;}['_registerToolbarComponent']({accessibleLabel:_0x109e96,options:_0x7be333}){const _0x5d7798=this['editor'],_0x1bee1e=_0x5d7798['commands']['get']('lineHeight');_0x5d7798['ui']['componentFactory']['add']('lineHeight',_0x3a36b4=>{const _0x3fa298=_0x10bbb5(_0x3a36b4);return _0x4d6970(_0x3fa298,_0x7be333,{'role':'menu','ariaLabel':_0x109e96}),_0x3fa298['buttonView']['set']({'label':_0x109e96,'tooltip':!0x0,'icon':_0x127df6}),_0x3fa298['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3fa298['bind']('isEnabled')['to'](_0x1bee1e),this['listenTo'](_0x3fa298,'execute',_0x49b162=>{_0x5d7798['execute'](_0x49b162['source']['commandName'],{'value':_0x49b162['source']['commandParam']}),_0x5d7798['editing']['view']['focus']();}),_0x3fa298['once']('change:isOpen',()=>{const _0x3f909b=_0x3fa298['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3fa298,_0x7be333,_0x3f909b);}),_0x3fa298;});}['_registerMenuBarComponent']({accessibleLabel:_0x55d867,options:_0x586fb9}){const _0x556390=this['editor'],_0x1e9663=_0x556390['commands']['get']('lineHeight');_0x556390['ui']['componentFactory']['add']('menuBar:lineHeight',_0x45dd8a=>{const _0x14eae2=new _0x56a3ee(_0x45dd8a);_0x14eae2['buttonView']['set']({'label':_0x55d867,'icon':_0x127df6}),_0x14eae2['bind']('isEnabled')['to'](_0x1e9663);const _0x2d02ca=new _0x4347a1(_0x45dd8a);for(const _0x1def8f of _0x586fb9){const _0x1506b9=new _0x431df7(_0x45dd8a,_0x14eae2),_0xd9ba5=new _0x2503ad(_0x45dd8a);_0xd9ba5['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xd9ba5['bind'](...Object['keys'](_0x1def8f['model']))['to'](_0x1def8f['model']),_0xd9ba5['delegate']('execute')['to'](_0x14eae2),_0xd9ba5['on']('execute',()=>{_0x556390['execute'](_0x1def8f['model']['commandName'],{'value':_0x1def8f['model']['commandParam']}),_0x556390['editing']['view']['focus']();}),_0x1506b9['children']['add'](_0xd9ba5),_0x2d02ca['items']['add'](_0x1506b9);}return _0x14eae2['panelView']['children']['add'](_0x2d02ca),this['_attachCustomOptionVisibilityHandler'](_0x14eae2,_0x586fb9,_0x2d02ca),_0x14eae2;});}['_attachCustomOptionVisibilityHandler'](_0x3d41d2,_0x5b5715,_0x5cefc1){if(!this['_shouldRenderCustomValueOption']())return;const _0x2c0e31=()=>{if(!_0x3d41d2['isOpen'])return;_0x5cefc1['items']['last']['isVisible']=Boolean(_0x5b5715['last']['model']['isOn']);};_0x2c0e31(),_0x3d41d2['on']('change:isOpen',()=>{_0x2c0e31();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x182b07,_0x3ede5d){const _0x40235a=_0xbcee,_0x2ded3e=_0x182b07();while(!![]){try{const _0x20f222=-parseInt(_0x40235a(0x209))/0x1+parseInt(_0x40235a(0x201))/0x2*(parseInt(_0x40235a(0x200))/0x3)+-parseInt(_0x40235a(0x20a))/0x4*(-parseInt(_0x40235a(0x1fb))/0x5)+-parseInt(_0x40235a(0x1ef))/0x6*(parseInt(_0x40235a(0x1ec))/0x7)+-parseInt(_0x40235a(0x1f7))/0x8+parseInt(_0x40235a(0x1ed))/0x9*(parseInt(_0x40235a(0x1f2))/0xa)+parseInt(_0x40235a(0x20e))/0xb;if(_0x20f222===_0x3ede5d)break;else _0x2ded3e['push'](_0x2ded3e['shift']());}catch(_0x2d2b17){_0x2ded3e['push'](_0x2ded3e['shift']());}}}(_0x5f2a,0xa540c));const v={get 'single'(){const _0x2e9199=_0xbcee;return{'title':_0x2e9199(0x1fd),'model':_0x2e9199(0x1f5),'view':{'key':_0x2e9199(0x1f3),'value':_0x2e9199(0x203)}};},get 'double'(){const _0x3126f3=_0xbcee;return{'title':_0x3126f3(0x208),'model':_0x3126f3(0x202),'view':{'key':_0x3126f3(0x1f3),'value':_0x3126f3(0x1fe)}};}};function _0xbcee(_0x2d476d,_0x257626){const _0x5f2a1b=_0x5f2a();return _0xbcee=function(_0xbcee3b,_0x27d70f){_0xbcee3b=_0xbcee3b-0x1ec;let _0x3156bc=_0x5f2a1b[_0xbcee3b];return _0x3156bc;},_0xbcee(_0x2d476d,_0x257626);}export function isLineHeightDefaultValue(_0x2d3450){const _0x270fe3=_0xbcee;return _0x270fe3(0x207)==typeof _0x2d3450&&_0x270fe3(0x1f9)===_0x2d3450[_0x270fe3(0x206)]();}function _0x5f2a(){const _0x4f2949=['defaultValue','single','line-height:','6381568ibDNLS','number','default','model','5dAOLca','filter','Single','line-height-double','key','3goIZvi','1358002goqvDr','double','line-height-single','options','span','toLowerCase','string','Double','946076eSNFPp','5107844bHuMhJ','style','push','values','1999272qzgweC','91AGHmYG','21537xWWRcB','view','846JgvHRq','map','value','1190IwqHgP','class'];_0x5f2a=function(){return _0x4f2949;};return _0x5f2a();}export function normalizeOptions(_0x886a77){const _0x2acf31=_0xbcee;return _0x886a77[_0x2acf31(0x204)][_0x2acf31(0x1f0)](_0x4937f8=>isLineHeightDefaultValue(_0x4937f8)?{'title':String(_0x886a77[_0x2acf31(0x1f4)]),'model':_0x2acf31(0x1f9)}:(_0x2acf31(0x1f8)==typeof _0x4937f8&&(_0x4937f8=String(_0x4937f8)),_0x2acf31(0x207)!=typeof _0x4937f8?_0x4937f8:parseFloat(_0x4937f8)?{'title':_0x4937f8,'model':_0x4937f8,'view':{'name':_0x2acf31(0x205),'styles':{'line-height':_0x4937f8}}}:findPreset(_0x4937f8)))[_0x2acf31(0x1fc)](_0xbd13e7=>void 0x0!==_0xbd13e7);}export function findPreset(_0x146810){const _0x25fce9=_0xbcee;return _0x25fce9(0x207)==typeof _0x146810?v[_0x146810]:v[_0x146810[_0x25fce9(0x1fa)]];}export function buildDefinition(_0x31d5d8,_0x2e69db){const _0x43fad1=_0xbcee,_0x4a601e={'model':{'key':_0x31d5d8,'values':[]},'view':{}};for(const _0x588155 of _0x2e69db)_0x43fad1(0x1f3)===_0x588155[_0x43fad1(0x1ee)]?.[_0x43fad1(0x1ff)]?(_0x4a601e[_0x43fad1(0x1fa)][_0x43fad1(0x20d)][_0x43fad1(0x20c)](_0x588155[_0x43fad1(0x1fa)]),_0x4a601e[_0x43fad1(0x1ee)][_0x588155[_0x43fad1(0x1fa)]]={'key':_0x43fad1(0x1f3),'value':_0x588155[_0x43fad1(0x1ee)][_0x43fad1(0x1f1)]}):(_0x4a601e[_0x43fad1(0x1fa)][_0x43fad1(0x20d)][_0x43fad1(0x20c)](_0x588155[_0x43fad1(0x1fa)]),_0x4a601e[_0x43fad1(0x1ee)][_0x588155[_0x43fad1(0x1fa)]]={'key':_0x43fad1(0x20b),'value':_0x43fad1(0x1f6)+_0x588155[_0x43fad1(0x1fa)]+';'});return _0x4a601e;}
|