@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251217.0 → 0.0.0-nightly-next-20251217.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
|
+
function _0x18fa(){const _0x313918=['match','element:li','28rPNzMm','87WBfwmL','consumable','has','viewItem','1480510NsEDSL','lineHeight','isOfficialPlugin','span','22VQEHEo','get','isPremiumPlugin','paragraph','6031496dxCyLT','item','1578462ubgWMo','1243314janjDe','ListEditing','todo-list__label__description','high','22146NeFBUL','1762830akyQNx','addClass','listType','add','LineHeightTodoListIntegration','init','setStyle','registerDowncastStrategy','consume','for','5289885wEfuiy','name','--ck-content-list-marker-line-height','TodoListEditing','pluginName','editor','ck-list-marker-line-height','elementToElement','todo','12qGqxYE','upcast','getAttribute'];_0x18fa=function(){return _0x313918;};return _0x18fa();}const _0x14e578=_0x4eb2;function _0x4eb2(_0x37466f,_0x10b16){const _0x18fa12=_0x18fa();return _0x4eb2=function(_0x4eb205,_0x420770){_0x4eb205=_0x4eb205-0x1d9;let _0x3fbfd1=_0x18fa12[_0x4eb205];return _0x3fbfd1;},_0x4eb2(_0x37466f,_0x10b16);}(function(_0x38ff0c,_0x5bc8ca){const _0x5c26bd=_0x4eb2,_0x1bc75a=_0x38ff0c();while(!![]){try{const _0x2ae1b1=parseInt(_0x5c26bd(0x1fb))/0x1*(parseInt(_0x5c26bd(0x1e1))/0x2)+-parseInt(_0x5c26bd(0x1dc))/0x3*(-parseInt(_0x5c26bd(0x1f5))/0x4)+-parseInt(_0x5c26bd(0x1ec))/0x5+parseInt(_0x5c26bd(0x1dd))/0x6*(-parseInt(_0x5c26bd(0x1fa))/0x7)+parseInt(_0x5c26bd(0x1da))/0x8+-parseInt(_0x5c26bd(0x1e2))/0x9+parseInt(_0x5c26bd(0x1ff))/0xa*(-parseInt(_0x5c26bd(0x203))/0xb);if(_0x2ae1b1===_0x5bc8ca)break;else _0x1bc75a['push'](_0x1bc75a['shift']());}catch(_0x224ca8){_0x1bc75a['push'](_0x1bc75a['shift']());}}}(_0x18fa,0xdfdbd));import{Plugin as _0x26bd0e}from'ckeditor5/src/core.js';import{Matcher as _0x1705a3}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x26bd0e{static get[_0x14e578(0x1f0)](){const _0x3594e6=_0x14e578;return _0x3594e6(0x1e6);}static get[_0x14e578(0x201)](){return!0x0;}static get[_0x14e578(0x205)](){return!0x0;}[_0x14e578(0x1e7)](){const _0x5ecc90=_0x14e578,{plugins:_0x461f78,conversion:_0x2fb9c9}=this[_0x5ecc90(0x1f1)];if(!_0x461f78[_0x5ecc90(0x1fd)](_0x5ecc90(0x1de))||!_0x461f78[_0x5ecc90(0x1fd)](_0x5ecc90(0x1ef)))return;_0x461f78[_0x5ecc90(0x204)](_0x5ecc90(0x1de))[_0x5ecc90(0x1e9)]({'scope':_0x5ecc90(0x1db),'attributeName':_0x5ecc90(0x200),'consume':!0x1,'setAttributeOnDowncast'(_0x296283,_0x38e225,_0x577c7c,_0x1d1720,_0x1a38f4){const _0x2667a4=_0x5ecc90;_0x2667a4(0x1f4)==_0x1a38f4[_0x2667a4(0x1f7)](_0x2667a4(0x1e4))&&_0x38e225&&(_0x296283[_0x2667a4(0x1e3)](_0x2667a4(0x1f2),_0x577c7c),_0x296283[_0x2667a4(0x1e8)](_0x2667a4(0x1ee),_0x38e225,_0x577c7c));}}),_0x2fb9c9[_0x5ecc90(0x1eb)](_0x5ecc90(0x1f6))[_0x5ecc90(0x1f3)]({'view':{'name':_0x5ecc90(0x202),'classes':_0x5ecc90(0x1df)},'model':_0x5ecc90(0x1d9),'converterPriority':_0x5ecc90(0x1e0)}),_0x2fb9c9[_0x5ecc90(0x1eb)](_0x5ecc90(0x1f6))[_0x5ecc90(0x1e5)](_0x5d0c4b=>{const _0x1b771a=_0x5ecc90;_0x5d0c4b['on'](_0x1b771a(0x1f9),function(_0x335930){const _0xedf861=new _0x1705a3(_0x335930);return(_0x36e344,_0x3e586b,_0x1536f3)=>{const _0x27e720=_0x4eb2,_0x2eedc1=_0xedf861[_0x27e720(0x1f8)](_0x3e586b[_0x27e720(0x1fe)]);if(!_0x2eedc1)return;const _0x249ccd=_0x2eedc1[_0x27e720(0x1f8)];_0x249ccd[_0x27e720(0x1ed)]=!0x1,_0x1536f3[_0x27e720(0x1fc)][_0x27e720(0x1ea)](_0x3e586b[_0x27e720(0x1fe)],_0x249ccd);};}({'name':'li','classes':_0x1b771a(0x1f2),'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
|
+
function _0x31cd(){var _0x2cf0a8=['1067750tkkdtd','3145264mmQZez','18hEWMWC','877496otqlpq','isPremiumPlugin','6298870YSgSWB','requires','2764741GDCils','2741072BBZiDg','3158934ASqwCw','LineHeight','pluginName','isOfficialPlugin'];_0x31cd=function(){return _0x2cf0a8;};return _0x31cd();}var _0x5bf82b=_0x2154;function _0x2154(_0x513f56,_0x53bae0){var _0x31cd7f=_0x31cd();return _0x2154=function(_0x215442,_0xf0642b){_0x215442=_0x215442-0xdb;var _0x27bf08=_0x31cd7f[_0x215442];return _0x27bf08;},_0x2154(_0x513f56,_0x53bae0);}(function(_0x1afba1,_0x7702c8){var _0x494b6b=_0x2154,_0x2776b0=_0x1afba1();while(!![]){try{var _0x554ba4=parseInt(_0x494b6b(0xe4))/0x1+-parseInt(_0x494b6b(0xe7))/0x2+-parseInt(_0x494b6b(0xe0))/0x3+parseInt(_0x494b6b(0xdf))/0x4+parseInt(_0x494b6b(0xdc))/0x5+parseInt(_0x494b6b(0xe6))/0x6*(-parseInt(_0x494b6b(0xde))/0x7)+parseInt(_0x494b6b(0xe5))/0x8;if(_0x554ba4===_0x7702c8)break;else _0x2776b0['push'](_0x2776b0['shift']());}catch(_0x3a4450){_0x2776b0['push'](_0x2776b0['shift']());}}}(_0x31cd,0xb20f7));import{Plugin as _0x38871a}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x266c48}from'./lineheightediting.js';import{LineHeightUI as _0x3b786f}from'./lineheightui.js';export class LineHeight extends _0x38871a{static get[_0x5bf82b(0xdd)](){return[_0x266c48,_0x3b786f];}static get[_0x5bf82b(0xe2)](){var _0x3946c0=_0x5bf82b;return _0x3946c0(0xe1);}static get[_0x5bf82b(0xe3)](){return!0x0;}static get[_0x5bf82b(0xdb)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a7d7c=_0x5910;function _0x5910(_0x4a2afe,_0x270770){const _0x4a622a=_0x4a62();return _0x5910=function(_0x59103c,_0x242947){_0x59103c=_0x59103c-0x86;let _0x88b7cf=_0x4a622a[_0x59103c];return _0x88b7cf;},_0x5910(_0x4a2afe,_0x270770);}(function(_0x1c0c77,_0xd93165){const _0xf87d8e=_0x5910,_0x27b36a=_0x1c0c77();while(!![]){try{const _0x456f7f=parseInt(_0xf87d8e(0xa3))/0x1*(parseInt(_0xf87d8e(0x8d))/0x2)+parseInt(_0xf87d8e(0x9d))/0x3+-parseInt(_0xf87d8e(0x8e))/0x4*(-parseInt(_0xf87d8e(0x9a))/0x5)+-parseInt(_0xf87d8e(0x89))/0x6*(-parseInt(_0xf87d8e(0x98))/0x7)+parseInt(_0xf87d8e(0xa0))/0x8*(-parseInt(_0xf87d8e(0x96))/0x9)+parseInt(_0xf87d8e(0x94))/0xa*(-parseInt(_0xf87d8e(0x88))/0xb)+-parseInt(_0xf87d8e(0x8a))/0xc*(parseInt(_0xf87d8e(0x93))/0xd);if(_0x456f7f===_0xd93165)break;else _0x27b36a['push'](_0x27b36a['shift']());}catch(_0x49cc78){_0x27b36a['push'](_0x27b36a['shift']());}}}(_0x4a62,0xe481b));function _0x4a62(){const _0x185c8c=['from','184FkNMJF','checkAttribute','execute','23dlOLlp','getAttribute','schema','document','refresh','528WXnPBc','6AbthpC','25356oVBkFf','setAttribute','_canHaveLineHeight','142638xSyrec','5410632JCVeQE','selection','value','lineHeight','editor','21294FCLtTg','193350GlqfHy','filter','194823uFMTQK','change','8430842QgDFti','isEnabled','5UfvYzC','model','getSelectedBlocks','4876851OimFyC','removeAttribute'];_0x4a62=function(){return _0x185c8c;};return _0x4a62();}import{Command as _0x3f1915}from'ckeditor5/src/core.js';import{first as _0x2f575c}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3f1915{[_0x5a7d7c(0x87)](){const _0x33d6dd=_0x5a7d7c,_0x20d4f8=this[_0x33d6dd(0x92)][_0x33d6dd(0x9b)][_0x33d6dd(0x86)],_0x2979bd=_0x2f575c(_0x20d4f8[_0x33d6dd(0x8f)][_0x33d6dd(0x9c)]());this[_0x33d6dd(0x99)]=Boolean(_0x2979bd)&&this[_0x33d6dd(0x8c)](_0x2979bd),this[_0x33d6dd(0x90)]=this[_0x33d6dd(0x99)]&&_0x2979bd[_0x33d6dd(0xa4)](_0x33d6dd(0x91));}[_0x5a7d7c(0xa2)](_0x8b0ab2={}){const _0x40170b=_0x5a7d7c,_0x32a4a9=this[_0x40170b(0x92)][_0x40170b(0x9b)],_0x4bd002=_0x32a4a9[_0x40170b(0x86)][_0x40170b(0x8f)],_0x45ae62=_0x8b0ab2[_0x40170b(0x90)];_0x32a4a9[_0x40170b(0x97)](_0x3cd437=>{const _0x2fdbcc=_0x40170b,_0x5c6e01=Array[_0x2fdbcc(0x9f)](_0x4bd002[_0x2fdbcc(0x9c)]())[_0x2fdbcc(0x95)](_0x4cba83=>this[_0x2fdbcc(0x8c)](_0x4cba83));for(const _0x258645 of _0x5c6e01)_0x45ae62?_0x3cd437[_0x2fdbcc(0x8b)](_0x2fdbcc(0x91),_0x45ae62,_0x258645):_0x3cd437[_0x2fdbcc(0x9e)](_0x2fdbcc(0x91),_0x258645);});}[_0x5a7d7c(0x8c)](_0x10db6e){const _0x172c96=_0x5a7d7c;return this[_0x172c96(0x92)][_0x172c96(0x9b)][_0x172c96(0xa5)][_0x172c96(0xa1)](_0x10db6e,_0x172c96(0x91));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4cf11b=_0x4519;(function(_0xe75c09,_0x1f086f){const _0x562f44=_0x4519,_0x22d04e=_0xe75c09();while(!![]){try{const _0x478c30=-parseInt(_0x562f44(0xe7))/0x1*(parseInt(_0x562f44(0xf7))/0x2)+-parseInt(_0x562f44(0xe5))/0x3*(-parseInt(_0x562f44(0xe1))/0x4)+-parseInt(_0x562f44(0xe8))/0x5+-parseInt(_0x562f44(0xe9))/0x6+-parseInt(_0x562f44(0x10a))/0x7*(-parseInt(_0x562f44(0xf4))/0x8)+-parseInt(_0x562f44(0xfe))/0x9+parseInt(_0x562f44(0xf9))/0xa;if(_0x478c30===_0x1f086f)break;else _0x22d04e['push'](_0x22d04e['shift']());}catch(_0x3e725a){_0x22d04e['push'](_0x22d04e['shift']());}}}(_0x57b6,0x944a8));import{Plugin as _0x2ca354}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5a46e6}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x20385c}from'ckeditor5/src/engine.js';import{uid as _0x5bf3b9,CKEditorError as _0x510fcb}from'ckeditor5/src/utils.js';import{buildDefinition as _0x12360d,isLineHeightDefaultValue as _0x54d222,normalizeOptions as _0x68b14a}from'./utils.js';import{LineHeightTodoListIntegration as _0x11b546}from'./integrations/todolist.js';function _0x4519(_0x381579,_0x2b5299){const _0x57b62a=_0x57b6();return _0x4519=function(_0x45190b,_0x2460a4){_0x45190b=_0x45190b-0xdc;let _0x4148dc=_0x57b62a[_0x45190b];return _0x4148dc;},_0x4519(_0x381579,_0x2b5299);}function _0x57b6(){const _0x57e7ac=['define','1333tKElPf','835470irqJYw','6707334tJPfKt','length','$block','_prepareAnyValueConverters','filter','init','string','join','pluginName','schema','line-height','13928URAWBh','get','isOfficialPlugin','1714wRTRZe','editor','25446850cEgzKf','_validateConfig','for','href','lineHeight.defaultValue','2862351VxARuN','LineHeightEditing','values','upcast','config','isPremiumPlugin','lineHeight','line-height-invalid-use-of-named-presets','setAttributeProperties','requires','commands','afterInit','105lbxATz','model','fromCharCode','style','getStyle','default','lineHeight.options','conversion','extend','lineHeight.supportAllValues','downcast','includes','add','_preparePredefinedConverters','4ggMvjc','slice','attributeToAttribute','map','2346009OGuUCY'];_0x57b6=function(){return _0x57e7ac;};return _0x57b6();}export class LineHeightEditing extends _0x2ca354{static get[_0x4cf11b(0xf1)](){const _0x29da6c=_0x4cf11b;return _0x29da6c(0xff);}static get[_0x4cf11b(0x107)](){return[_0x11b546];}static get[_0x4cf11b(0xf6)](){return!0x0;}static get[_0x4cf11b(0x103)](){return!0x0;}constructor(_0x1cabf5){const _0x4edad5=_0x4cf11b;super(_0x1cabf5),_0x1cabf5[_0x4edad5(0x102)][_0x4edad5(0xe6)](_0x4edad5(0x104),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4edad5(0x10f),0x2,2.5,0x3]});}[_0x4cf11b(0xee)](){const _0x4b6dc1=_0x4cf11b,_0x2c9dc4=this[_0x4b6dc1(0xf8)];this[_0x4b6dc1(0xfa)](),_0x2c9dc4[_0x4b6dc1(0x10b)][_0x4b6dc1(0xf2)][_0x4b6dc1(0x112)](_0x4b6dc1(0xeb),{'allowAttributes':_0x4b6dc1(0x104)}),_0x2c9dc4[_0x4b6dc1(0x10b)][_0x4b6dc1(0xf2)][_0x4b6dc1(0x106)](_0x4b6dc1(0x104),{'isFormatting':!0x0}),_0x2c9dc4[_0x4b6dc1(0x108)][_0x4b6dc1(0xdf)](_0x4b6dc1(0x104),new _0x5a46e6(_0x2c9dc4)),this[_0x4b6dc1(0xf8)][_0x4b6dc1(0x102)][_0x4b6dc1(0xf5)](_0x4b6dc1(0xdc))?this[_0x4b6dc1(0xec)]():this[_0x4b6dc1(0xe0)]();}[_0x4cf11b(0x109)](){!async function(_0xe80d97){const _0x5a3fb9=_0x16b682([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]),_0xdad976=0x45ddd215,_0xc28036=0x45daae3d^_0xdad976,_0x284e8a=window[_0x16b682([0x44,0x61,0x74,0x65])][_0x16b682([0x6e,0x6f,0x77])](),_0x1e9697=_0xe80d97[_0x16b682([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x592d81=new window[(_0x16b682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f0802=>{_0x1e9697[_0x16b682([0x6f,0x6e,0x63,0x65])](_0x16b682([0x72,0x65,0x61,0x64,0x79]),_0x4f0802);}),_0x1b08ac={[_0x16b682([0x6b,0x74,0x79])]:_0x16b682([0x45,0x43]),[_0x16b682([0x75,0x73,0x65])]:_0x16b682([0x73,0x69,0x67]),[_0x16b682([0x63,0x72,0x76])]:_0x16b682([0x50,0x2d,0x32,0x35,0x36]),[_0x16b682([0x78])]:_0x16b682([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]),[_0x16b682([0x79])]:_0x16b682([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]),[_0x16b682([0x61,0x6c,0x67])]:_0x16b682([0x45,0x53,0x32,0x35,0x36])},_0x38e3cb=_0x1e9697[_0x16b682([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16b682([0x67,0x65,0x74])](_0x16b682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x166d71(){let _0x2c3eaf,_0x915b4b=null,_0x59d461=null;try{if(_0x38e3cb==_0x16b682([0x47,0x50,0x4c]))return _0x16b682([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c3eaf=_0x1f5734(),!_0x2c3eaf)return _0x16b682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c3eaf[_0x16b682([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59d461=_0x55988f(_0x2c3eaf[_0x16b682([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c3eaf[_0x16b682([0x6a,0x74,0x69])])),await _0x577e1f()?_0x1a8cdb()?_0x176cce()?_0x16b682([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x446a8a()?(_0x2c3eaf[_0x16b682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16b682([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x915b4b=_0x27dcfa(_0x16b682([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c3eaf[_0x16b682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16b682([0x74,0x72,0x69,0x61,0x6c])&&(_0x915b4b=_0x27dcfa(_0x16b682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c52ff()):_0x16b682([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16b682([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16b682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16b682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x176cce(){const _0xd57a95=[_0x16b682([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16b682([0x74,0x72,0x69,0x61,0x6c])][_0x16b682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3eaf[_0x16b682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x284e8a/0x3e8:0xe10*_0xc28036;return _0x2c3eaf[_0x16b682([0x65,0x78,0x70])]<_0xd57a95;}function _0x1a8cdb(){const _0x32b4ac=_0x2c3eaf[_0x16b682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32b4ac&&(!!_0x32b4ac[_0x16b682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b682([0x2a]))||!!_0x32b4ac[_0x16b682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b682([0x4c,0x48])));}function _0x446a8a(){const _0x10c203=_0x4519,_0xdbadfb=_0x2c3eaf[_0x16b682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xdbadfb||0x0==_0xdbadfb[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xacefae}=new URL(window[_0x16b682([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x10c203(0xfc)]);if(_0xdbadfb[_0x16b682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xacefae))return!0x0;const _0x2c76d8=_0xacefae[_0x16b682([0x73,0x70,0x6c,0x69,0x74])](_0x16b682([0x2e]));return _0xdbadfb[_0x16b682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a89f7=>_0x3a89f7[_0x16b682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b682([0x2a])))[_0x16b682([0x6d,0x61,0x70])](_0x4d1c04=>_0x4d1c04[_0x16b682([0x73,0x70,0x6c,0x69,0x74])](_0x16b682([0x2e])))[_0x16b682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36a615=>_0x36a615[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c76d8[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16b682([0x6d,0x61,0x70])](_0x47a3bb=>Array(_0x2c76d8[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47a3bb[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16b682([0x66,0x69,0x6c,0x6c])](_0x47a3bb[0x0]===_0x16b682([0x2a])?_0x16b682([0x2a]):'')[_0x16b682([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47a3bb))[_0x16b682([0x73,0x6f,0x6d,0x65])](_0x481f52=>_0x2c76d8[_0x16b682([0x65,0x76,0x65,0x72,0x79])]((_0x4c6ebc,_0x1cee71)=>_0x481f52[_0x1cee71]===_0x4c6ebc||_0x481f52[_0x1cee71]===_0x16b682([0x2a])));}function _0x2c52ff(){return _0x915b4b&&_0x59d461?new window[(_0x16b682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50bf5f,_0x538e9b)=>{_0x915b4b[_0x16b682([0x74,0x68,0x65,0x6e])](_0x50bf5f,_0x538e9b),_0x59d461[_0x16b682([0x74,0x68,0x65,0x6e])](_0x17fb30=>{_0x17fb30!=_0x16b682([0x56,0x61,0x6c,0x69,0x64])&&_0x50bf5f(_0x17fb30);},_0x538e9b);}):_0x915b4b||_0x59d461||_0x16b682([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55988f(_0x57c9c1,_0x273b12){return new window[(_0x16b682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7734=>{if(_0x483eeb())return _0x2f7734(_0x16b682([0x56,0x61,0x6c,0x69,0x64]));_0x1c2029(),_0x1e9697[_0x16b682([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16b682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe6abac=!0x1;const _0x4b82b1=_0x5bf3b9();function _0x1c0baf(_0x565ed6){return!!_0x565ed6&&(typeof _0x565ed6===_0x16b682([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x565ed6===_0x16b682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x565ed6[_0x16b682([0x74,0x68,0x65,0x6e])]===_0x16b682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x565ed6[_0x16b682([0x63,0x61,0x74,0x63,0x68])]===_0x16b682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18819f(_0x587264){_0x1b2e8b(_0x587264)[_0x16b682([0x74,0x68,0x65,0x6e])](_0x2ba717=>{if(!_0x2ba717||_0x2ba717[_0x16b682([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16b682([0x6f,0x6b]))return _0x16b682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3fe0e0(_0x1542a4(_0x4b82b1+_0x273b12))!=_0x2ba717[_0x16b682([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16b682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16b682([0x56,0x61,0x6c,0x69,0x64]);})[_0x16b682([0x74,0x68,0x65,0x6e])](_0x28fb4e=>(_0x1b8730(),_0x28fb4e),()=>{const _0x1a3ddd=_0x3dcafa();return null==_0x1a3ddd?(_0x1b8730(),_0x16b682([0x56,0x61,0x6c,0x69,0x64])):_0x16b682(_0x284e8a-_0x1a3ddd>(0x61d15615^_0xdad976)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16b682([0x74,0x68,0x65,0x6e])](_0x2f7734)[_0x16b682([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f7734(_0x16b682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53e537=0x45eb3c95^_0xdad976;function _0x1b8730(){const _0x3d8cef=_0x16b682([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fe0e0(_0x1542a4(_0x57c9c1)),_0x31f6e4=_0x3408ac(_0x3fe0e0(window[_0x16b682([0x4d,0x61,0x74,0x68])][_0x16b682([0x63,0x65,0x69,0x6c])](_0x284e8a/_0x53e537)));window[_0x16b682([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16b682([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d8cef,_0x31f6e4);}function _0x3dcafa(){const _0x55a919=_0x16b682([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fe0e0(_0x1542a4(_0x57c9c1)),_0x60b064=window[_0x16b682([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16b682([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55a919);return _0x60b064?window[_0x16b682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3408ac(_0x60b064),0x10)*_0x53e537:null;}function _0x1b2e8b(_0x5c2fed){return new window[(_0x16b682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39e8f0,_0x19863b)=>{_0x5c2fed[_0x16b682([0x74,0x68,0x65,0x6e])](_0x39e8f0,_0x19863b),window[_0x16b682([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19863b,0x45dc06d5^_0xdad976);});}}_0x1e9697[_0x16b682([0x6f,0x6e])](_0x16b682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13b3b0,_0xd68aa4)=>{if(_0xd68aa4[0x0]!=_0x57c9c1)return _0x2f7734(_0x16b682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd68aa4[0x1]={..._0xd68aa4[0x1],[_0x16b682([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b82b1};},{[_0x16b682([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16b682([0x68,0x69,0x67,0x68])}),_0x1e9697[_0x16b682([0x6f,0x6e])](_0x16b682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3f7880=>{_0x1c0baf(_0x3f7880[_0x16b682([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe6abac=!0x0,_0x18819f(_0x3f7880[_0x16b682([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16b682([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16b682([0x6c,0x6f,0x77])}),_0x592d81[_0x16b682([0x74,0x68,0x65,0x6e])](()=>{_0xe6abac||_0x2f7734(_0x16b682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x483eeb(){return _0x1e9697[_0x16b682([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16b682([0x76,0x69,0x65,0x77])][_0x16b682([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16b682([0x61,0x75,0x74,0x6f]);}function _0x1c2029(){_0x1e9697[_0x16b682([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16b682([0x76,0x69,0x65,0x77])][_0x16b682([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16b682([0x61,0x75,0x74,0x6f]);}}function _0x27dcfa(_0x976aab){const _0x466c2a=[new window[(_0x16b682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d828b=>setTimeout(_0x3d828b,0x45d4ecd9^_0xdad976)),_0x592d81[_0x16b682([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16b682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a3250=>{let _0x47158c=0x0;_0x1e9697[_0x16b682([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b682([0x6f,0x6e])](_0x16b682([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x517196,_0x31f257)=>{_0x31f257[0x0][_0x16b682([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47158c++,_0x47158c==(0x45ddd3ed^_0xdad976)&&(_0x1a3250(),_0x517196[_0x16b682([0x6f,0x66,0x66])]());});}))];return window[_0x16b682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16b682([0x72,0x61,0x63,0x65])](_0x466c2a)[_0x16b682([0x74,0x68,0x65,0x6e])](()=>_0x976aab);}async function _0x3e6382(){await _0x592d81,_0x1e9697[_0x16b682([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b682([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x511895,_0x1e9697[_0x16b682([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b682([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x511895,_0x1e9697[_0x16b682([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16b682([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x231221(_0x4c73b4){const _0x13a204=_0x64aa0d();_0x1e9697[_0x13a204]=_0x16b682([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c73b4,_0x4c73b4!=_0x16b682([0x56,0x61,0x6c,0x69,0x64])&&_0x3e6382();}function _0x64aa0d(){const _0x11037e=window[_0x16b682([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16b682([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16b682([0x6e,0x6f,0x77])]())[_0x16b682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16b682([0x2e]),'');let _0x1de887=_0x16b682([0x50]);for(let _0x56035a=0x0;_0x56035a<_0x11037e[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56035a+=0x2){let _0x4b3a8b=window[_0x16b682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11037e[_0x16b682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56035a,_0x56035a+0x2));_0x4b3a8b>=_0x5a3fb9[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b3a8b-=_0x5a3fb9[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1de887+=_0x5a3fb9[_0x4b3a8b];}return _0x1de887;}function _0x1f5734(){const _0x2ccafb=_0x38e3cb[_0x16b682([0x73,0x70,0x6c,0x69,0x74])](_0x16b682([0x2e]));if(0x3!=_0x2ccafb[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25ecdd(_0x2ccafb[0x1]);function _0x25ecdd(_0x464163){const _0x27cc0c=_0x35137a(_0x464163);return _0x27cc0c&&_0x272db1()?_0x27cc0c:null;function _0x272db1(){const _0x35fab7=_0x27cc0c[_0x16b682([0x6a,0x74,0x69])],_0xb227d1=window[_0x16b682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35fab7[_0x16b682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35fab7[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9854a2={..._0x27cc0c,[_0x16b682([0x6a,0x74,0x69])]:_0x35fab7[_0x16b682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35fab7[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9854a2[_0x16b682([0x76,0x63])],_0x1542a4(_0x9854a2)==_0xb227d1;}}}async function _0x577e1f(){let _0x5318ca=!0x0;try{const _0x339c20=_0x38e3cb[_0x16b682([0x73,0x70,0x6c,0x69,0x74])](_0x16b682([0x2e])),[_0x4adc1b,_0x3879e6,_0x42a47b]=_0x339c20;return _0xc7513e(_0x4adc1b),await _0x36f791(_0x4adc1b,_0x3879e6,_0x42a47b),_0x5318ca;}catch{return!0x1;}function _0xc7513e(_0x23d9b8){const _0x4452d6=_0x35137a(_0x23d9b8);_0x4452d6&&_0x4452d6[_0x16b682([0x61,0x6c,0x67])]==_0x16b682([0x45,0x53,0x32,0x35,0x36])||(_0x5318ca=!0x1);}async function _0x36f791(_0x8c8b0d,_0x11b161,_0x4b04cb){const _0x561a94=window[_0x16b682([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16b682([0x66,0x72,0x6f,0x6d])](_0x5c1218(_0x4b04cb),_0x54a0a6=>_0x54a0a6[_0x16b682([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x436835=new window[(_0x16b682([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16b682([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8c8b0d+_0x16b682([0x2e])+_0x11b161),_0x290ff2=window[_0x16b682([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16b682([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x290ff2)return;const _0x2c2da3=await _0x290ff2[_0x16b682([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16b682([0x6a,0x77,0x6b]),_0x1b08ac,{[_0x16b682([0x6e,0x61,0x6d,0x65])]:_0x16b682([0x45,0x43,0x44,0x53,0x41]),[_0x16b682([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16b682([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16b682([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x290ff2[_0x16b682([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16b682([0x6e,0x61,0x6d,0x65])]:_0x16b682([0x45,0x43,0x44,0x53,0x41]),[_0x16b682([0x68,0x61,0x73,0x68])]:{[_0x16b682([0x6e,0x61,0x6d,0x65])]:_0x16b682([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c2da3,_0x561a94,_0x436835)||(_0x5318ca=!0x1);}}function _0x35137a(_0x2b5be2){return _0x2b5be2[_0x16b682([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16b682([0x65,0x79]))?JSON[_0x16b682([0x70,0x61,0x72,0x73,0x65])](_0x5c1218(_0x2b5be2)):null;}function _0x5c1218(_0x2ed9fb){return window[_0x16b682([0x61,0x74,0x6f,0x62])](_0x2ed9fb[_0x16b682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16b682([0x2b]))[_0x16b682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16b682([0x2f])));}function _0x1542a4(_0x3aecfa){let _0x18eb4f=0x1505;function _0x38ff97(_0x18f1a7){for(let _0x33213d=0x0;_0x33213d<_0x18f1a7[_0x16b682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33213d++){const _0xa81962=_0x18f1a7[_0x16b682([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33213d);_0x18eb4f=(_0x18eb4f<<0x5)+_0x18eb4f+_0xa81962,_0x18eb4f&=_0x18eb4f;}}function _0x39e3ed(_0x2f43e6){Array[_0x16b682([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f43e6)?_0x2f43e6[_0x16b682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39e3ed):_0x2f43e6&&typeof _0x2f43e6==_0x16b682([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16b682([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f43e6)[_0x16b682([0x73,0x6f,0x72,0x74])]()[_0x16b682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28f948,_0x3bd8d8])=>{_0x38ff97(_0x28f948),_0x39e3ed(_0x3bd8d8);}):_0x38ff97(window[_0x16b682([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f43e6));}return _0x39e3ed(_0x3aecfa),_0x18eb4f>>>0x0;}function _0x3fe0e0(_0x4e7e42){return _0x4e7e42[_0x16b682([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16b682([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16b682([0x30]));}function _0x3408ac(_0x388783){return _0x388783[_0x16b682([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16b682([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16b682([0x6a,0x6f,0x69,0x6e])]('');}function _0x511895(){}function _0x16b682(_0x3dacb0){const _0x2e25c3=_0x4519;return _0x3dacb0[_0x2e25c3(0xe4)](_0x3e7577=>String[_0x2e25c3(0x10c)](_0x3e7577))[_0x2e25c3(0xf0)]('');}_0x231221(await _0x166d71());}(this);}[_0x4cf11b(0xfa)](){const _0x2576c6=_0x4cf11b,_0x15ac4b=this[_0x2576c6(0xf8)];if(!_0x15ac4b[_0x2576c6(0x102)][_0x2576c6(0xf5)](_0x2576c6(0xdc)))return;const _0x58947e=_0x15ac4b[_0x2576c6(0x102)][_0x2576c6(0xf5)](_0x2576c6(0x110))[_0x2576c6(0xed)](_0x47ae28=>_0x2576c6(0xef)==typeof _0x47ae28&&(!_0x54d222(_0x47ae28)&&isNaN(Number(_0x47ae28))));if(_0x58947e[_0x2576c6(0xea)])throw new _0x510fcb(_0x2576c6(0x105),null,{'namedPresets':_0x58947e});}[_0x4cf11b(0xec)](){const _0x4ebccb=_0x4cf11b,_0x556162=this[_0x4ebccb(0xf8)],_0x1feb90=this[_0x4ebccb(0xf8)][_0x4ebccb(0x102)][_0x4ebccb(0xf5)](_0x4ebccb(0xfd));_0x556162[_0x4ebccb(0x111)][_0x4ebccb(0xfb)](_0x4ebccb(0xdd))[_0x4ebccb(0xe3)]({'model':{'key':_0x4ebccb(0x104)},'view':_0x31c83c=>String(_0x31c83c)===String(_0x1feb90)?null:{'key':_0x4ebccb(0x10d),'value':{'line-height':_0x31c83c}}}),_0x556162[_0x4ebccb(0x111)][_0x4ebccb(0xfb)](_0x4ebccb(0x101))[_0x4ebccb(0xe3)]({'model':{'key':_0x4ebccb(0x104),'value':_0x583aff=>{const _0x1f3227=_0x4ebccb;let _0x5ea8b3=_0x583aff[_0x1f3227(0x10e)](_0x1f3227(0xf3));return _0x20385c(_0x5ea8b3)&&(_0x5ea8b3=String(Number(_0x5ea8b3[_0x1f3227(0xe2)](0x0,-0x1))/0x64)),String(_0x5ea8b3)===String(_0x1feb90)?null:_0x5ea8b3;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4cf11b(0xe0)](){const _0x157c52=_0x4cf11b,_0x155747=this[_0x157c52(0xf8)],_0x5f2278=this[_0x157c52(0xf8)][_0x157c52(0x102)][_0x157c52(0xf5)](_0x157c52(0xfd)),_0x484c0b=_0x68b14a(this[_0x157c52(0xf8)][_0x157c52(0x102)][_0x157c52(0xf5)](_0x157c52(0x104)))[_0x157c52(0xed)](_0x44c5e1=>_0x44c5e1[_0x157c52(0x10b)]),_0x5c4dda=_0x12360d(_0x157c52(0x104),_0x484c0b);_0x155747[_0x157c52(0x111)][_0x157c52(0xe3)](_0x5c4dda),_0x155747[_0x157c52(0x111)][_0x157c52(0xfb)](_0x157c52(0x101))[_0x157c52(0xe3)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x157c52(0x104),'value':_0xbc7c2d=>{const _0x27c479=_0x157c52;let _0x23be11=_0xbc7c2d[_0x27c479(0x10e)](_0x27c479(0xf3));return _0x20385c(_0x23be11)&&(_0x23be11=String(Number(_0x23be11[_0x27c479(0xe2)](0x0,-0x1))/0x64)),_0x23be11===String(_0x5f2278)?null:_0x5c4dda[_0x27c479(0x10b)][_0x27c479(0x100)][_0x27c479(0xde)](_0x23be11)?_0x23be11:null;}}});}}
|
|
23
|
+
const _0xa1eea2=_0x4f85;(function(_0x23afe8,_0x2943b5){const _0x51dfb=_0x4f85,_0x3e912d=_0x23afe8();while(!![]){try{const _0xc986a=-parseInt(_0x51dfb(0x1e7))/0x1*(-parseInt(_0x51dfb(0x1ec))/0x2)+parseInt(_0x51dfb(0x1e9))/0x3+parseInt(_0x51dfb(0x204))/0x4+-parseInt(_0x51dfb(0x1fc))/0x5*(parseInt(_0x51dfb(0x202))/0x6)+-parseInt(_0x51dfb(0x205))/0x7+parseInt(_0x51dfb(0x1eb))/0x8*(-parseInt(_0x51dfb(0x1dd))/0x9)+parseInt(_0x51dfb(0x1e4))/0xa*(parseInt(_0x51dfb(0x1f2))/0xb);if(_0xc986a===_0x2943b5)break;else _0x3e912d['push'](_0x3e912d['shift']());}catch(_0x580457){_0x3e912d['push'](_0x3e912d['shift']());}}}(_0x27ca,0x67067));import{Plugin as _0x343b65}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xd4559f}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x128ead}from'ckeditor5/src/engine.js';import{uid as _0x386873,CKEditorError as _0x373219}from'ckeditor5/src/utils.js';import{buildDefinition as _0x374e18,isLineHeightDefaultValue as _0x4dccb1,normalizeOptions as _0x6352fc}from'./utils.js';function _0x4f85(_0x2a2f47,_0x132f38){const _0x27ca6e=_0x27ca();return _0x4f85=function(_0x4f8573,_0x4e2891){_0x4f8573=_0x4f8573-0x1dc;let _0x26eb3a=_0x27ca6e[_0x4f8573];return _0x26eb3a;},_0x4f85(_0x2a2f47,_0x132f38);}import{LineHeightTodoListIntegration as _0x20feca}from'./integrations/todolist.js';export class LineHeightEditing extends _0x343b65{static get[_0xa1eea2(0x1ef)](){const _0x5d41bc=_0xa1eea2;return _0x5d41bc(0x203);}static get[_0xa1eea2(0x207)](){return[_0x20feca];}static get[_0xa1eea2(0x1e6)](){return!0x0;}static get[_0xa1eea2(0x206)](){return!0x0;}constructor(_0x2d4044){const _0x37559a=_0xa1eea2;super(_0x2d4044),_0x2d4044[_0x37559a(0x1f8)][_0x37559a(0x211)](_0x37559a(0x1ee),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x37559a(0x20d),0x2,2.5,0x3]});}[_0xa1eea2(0x1f9)](){const _0x5a74c6=_0xa1eea2,_0x2274b4=this[_0x5a74c6(0x20e)];this[_0x5a74c6(0x1fd)](),_0x2274b4[_0x5a74c6(0x209)][_0x5a74c6(0x1dc)][_0x5a74c6(0x1df)](_0x5a74c6(0x210),{'allowAttributes':_0x5a74c6(0x1ee)}),_0x2274b4[_0x5a74c6(0x209)][_0x5a74c6(0x1dc)][_0x5a74c6(0x1f0)](_0x5a74c6(0x1ee),{'isFormatting':!0x0}),_0x2274b4[_0x5a74c6(0x1f6)][_0x5a74c6(0x213)](_0x5a74c6(0x1ee),new _0xd4559f(_0x2274b4)),this[_0x5a74c6(0x20e)][_0x5a74c6(0x1f8)][_0x5a74c6(0x208)](_0x5a74c6(0x1fa))?this[_0x5a74c6(0x1f5)]():this[_0x5a74c6(0x20c)]();}[_0xa1eea2(0x1de)](){!async function(_0x39ff57){const _0x2fead3=_0xfa270e([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]),_0x7ae59=0x45ddd215,_0x3b999e=0x45daae3d^_0x7ae59,_0x40efa6=window[_0xfa270e([0x44,0x61,0x74,0x65])][_0xfa270e([0x6e,0x6f,0x77])](),_0x2a3d11=_0x39ff57[_0xfa270e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x325f6e=new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46e3ba=>{_0x2a3d11[_0xfa270e([0x6f,0x6e,0x63,0x65])](_0xfa270e([0x72,0x65,0x61,0x64,0x79]),_0x46e3ba);}),_0xebe559={[_0xfa270e([0x6b,0x74,0x79])]:_0xfa270e([0x45,0x43]),[_0xfa270e([0x75,0x73,0x65])]:_0xfa270e([0x73,0x69,0x67]),[_0xfa270e([0x63,0x72,0x76])]:_0xfa270e([0x50,0x2d,0x32,0x35,0x36]),[_0xfa270e([0x78])]:_0xfa270e([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]),[_0xfa270e([0x79])]:_0xfa270e([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]),[_0xfa270e([0x61,0x6c,0x67])]:_0xfa270e([0x45,0x53,0x32,0x35,0x36])},_0x5849ce=_0x2a3d11[_0xfa270e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfa270e([0x67,0x65,0x74])](_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25737a(){let _0x56bcb0,_0xd762d2=null,_0x3e0ddb=null;try{if(_0x5849ce==_0xfa270e([0x47,0x50,0x4c]))return _0xfa270e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56bcb0=_0x195835(),!_0x56bcb0)return _0xfa270e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56bcb0[_0xfa270e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e0ddb=_0x523996(_0x56bcb0[_0xfa270e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56bcb0[_0xfa270e([0x6a,0x74,0x69])])),await _0x11ee3f()?_0x327918()?_0x39e4a1()?_0xfa270e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x501398()?(_0x56bcb0[_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfa270e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd762d2=_0x41610c(_0xfa270e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56bcb0[_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfa270e([0x74,0x72,0x69,0x61,0x6c])&&(_0xd762d2=_0x41610c(_0xfa270e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44f7c0()):_0xfa270e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfa270e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfa270e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xfa270e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39e4a1(){const _0x1915f3=[_0xfa270e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfa270e([0x74,0x72,0x69,0x61,0x6c])][_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56bcb0[_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40efa6/0x3e8:0xe10*_0x3b999e;return _0x56bcb0[_0xfa270e([0x65,0x78,0x70])]<_0x1915f3;}function _0x327918(){const _0x7f2207=_0x56bcb0[_0xfa270e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x7f2207&&(!!_0x7f2207[_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa270e([0x2a]))||!!_0x7f2207[_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa270e([0x4c,0x48])));}function _0x501398(){const _0x15b29b=_0x4f85,_0x44a82c=_0x56bcb0[_0xfa270e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44a82c||0x0==_0x44a82c[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x65dc32}=new URL(window[_0xfa270e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x15b29b(0x1e2)]);if(_0x44a82c[_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65dc32))return!0x0;const _0x5ee42a=_0x65dc32[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])](_0xfa270e([0x2e]));return _0x44a82c[_0xfa270e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f7837=>_0x1f7837[_0xfa270e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa270e([0x2a])))[_0xfa270e([0x6d,0x61,0x70])](_0x447110=>_0x447110[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])](_0xfa270e([0x2e])))[_0xfa270e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5933f6=>_0x5933f6[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ee42a[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfa270e([0x6d,0x61,0x70])](_0x17edbf=>Array(_0x5ee42a[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17edbf[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfa270e([0x66,0x69,0x6c,0x6c])](_0x17edbf[0x0]===_0xfa270e([0x2a])?_0xfa270e([0x2a]):'')[_0xfa270e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17edbf))[_0xfa270e([0x73,0x6f,0x6d,0x65])](_0x3aace6=>_0x5ee42a[_0xfa270e([0x65,0x76,0x65,0x72,0x79])]((_0x223f9e,_0xb05630)=>_0x3aace6[_0xb05630]===_0x223f9e||_0x3aace6[_0xb05630]===_0xfa270e([0x2a])));}function _0x44f7c0(){return _0xd762d2&&_0x3e0ddb?new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4eab35,_0x3f77bd)=>{_0xd762d2[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x4eab35,_0x3f77bd),_0x3e0ddb[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x3df1d7=>{_0x3df1d7!=_0xfa270e([0x56,0x61,0x6c,0x69,0x64])&&_0x4eab35(_0x3df1d7);},_0x3f77bd);}):_0xd762d2||_0x3e0ddb||_0xfa270e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x523996(_0x31bb56,_0x3cc7fd){return new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5adcb5=>{if(_0x365bd0())return _0x5adcb5(_0xfa270e([0x56,0x61,0x6c,0x69,0x64]));_0x1ea7e3(),_0x2a3d11[_0xfa270e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfa270e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xea8d83=!0x1;const _0x23be85=_0x386873();function _0x408d52(_0x24724d){return!!_0x24724d&&(typeof _0x24724d===_0xfa270e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24724d===_0xfa270e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24724d[_0xfa270e([0x74,0x68,0x65,0x6e])]===_0xfa270e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24724d[_0xfa270e([0x63,0x61,0x74,0x63,0x68])]===_0xfa270e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a680e(_0x113403){_0x2a718b(_0x113403)[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x434ee4=>{if(!_0x434ee4||_0x434ee4[_0xfa270e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfa270e([0x6f,0x6b]))return _0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x482735(_0x521126(_0x23be85+_0x3cc7fd))!=_0x434ee4[_0xfa270e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfa270e([0x56,0x61,0x6c,0x69,0x64]);})[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x28b2ed=>(_0xd06913(),_0x28b2ed),()=>{const _0x4a61af=_0x96030a();return null==_0x4a61af?(_0xd06913(),_0xfa270e([0x56,0x61,0x6c,0x69,0x64])):_0xfa270e(_0x40efa6-_0x4a61af>(0x61d15615^_0x7ae59)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x5adcb5)[_0xfa270e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5adcb5(_0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x588f91=0x45eb3c95^_0x7ae59;function _0xd06913(){const _0x5d3da7=_0xfa270e([0x6c,0x6c,0x63,0x74,0x2d])+_0x482735(_0x521126(_0x31bb56)),_0x3c2ce2=_0xc9a96e(_0x482735(window[_0xfa270e([0x4d,0x61,0x74,0x68])][_0xfa270e([0x63,0x65,0x69,0x6c])](_0x40efa6/_0x588f91)));window[_0xfa270e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfa270e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d3da7,_0x3c2ce2);}function _0x96030a(){const _0x10a861=_0xfa270e([0x6c,0x6c,0x63,0x74,0x2d])+_0x482735(_0x521126(_0x31bb56)),_0x16c386=window[_0xfa270e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfa270e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10a861);return _0x16c386?window[_0xfa270e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc9a96e(_0x16c386),0x10)*_0x588f91:null;}function _0x2a718b(_0x61ad76){return new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2351f2,_0x2fcfab)=>{_0x61ad76[_0xfa270e([0x74,0x68,0x65,0x6e])](_0x2351f2,_0x2fcfab),window[_0xfa270e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fcfab,0x45dc06d5^_0x7ae59);});}}_0x2a3d11[_0xfa270e([0x6f,0x6e])](_0xfa270e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e6f7d,_0x45a8b9)=>{if(_0x45a8b9[0x0]!=_0x31bb56)return _0x5adcb5(_0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45a8b9[0x1]={..._0x45a8b9[0x1],[_0xfa270e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23be85};},{[_0xfa270e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfa270e([0x68,0x69,0x67,0x68])}),_0x2a3d11[_0xfa270e([0x6f,0x6e])](_0xfa270e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x549e34=>{_0x408d52(_0x549e34[_0xfa270e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xea8d83=!0x0,_0x1a680e(_0x549e34[_0xfa270e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfa270e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfa270e([0x6c,0x6f,0x77])}),_0x325f6e[_0xfa270e([0x74,0x68,0x65,0x6e])](()=>{_0xea8d83||_0x5adcb5(_0xfa270e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x365bd0(){return _0x2a3d11[_0xfa270e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfa270e([0x76,0x69,0x65,0x77])][_0xfa270e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfa270e([0x61,0x75,0x74,0x6f]);}function _0x1ea7e3(){_0x2a3d11[_0xfa270e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfa270e([0x76,0x69,0x65,0x77])][_0xfa270e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfa270e([0x61,0x75,0x74,0x6f]);}}function _0x41610c(_0x7bda7b){const _0x421467=[new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x895c2b=>setTimeout(_0x895c2b,0x45d4ecd9^_0x7ae59)),_0x325f6e[_0xfa270e([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54958c=>{let _0x512798=0x0;_0x2a3d11[_0xfa270e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfa270e([0x6f,0x6e])](_0xfa270e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32f2e5,_0x2acebb)=>{_0x2acebb[0x0][_0xfa270e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x512798++,_0x512798==(0x45ddd3ed^_0x7ae59)&&(_0x54958c(),_0x32f2e5[_0xfa270e([0x6f,0x66,0x66])]());});}))];return window[_0xfa270e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfa270e([0x72,0x61,0x63,0x65])](_0x421467)[_0xfa270e([0x74,0x68,0x65,0x6e])](()=>_0x7bda7b);}async function _0x356821(){await _0x325f6e,_0x2a3d11[_0xfa270e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfa270e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x383000,_0x2a3d11[_0xfa270e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfa270e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x383000,_0x2a3d11[_0xfa270e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfa270e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e3e76(_0x4da28f){const _0x197ef8=_0x5e4b4e();_0x2a3d11[_0x197ef8]=_0xfa270e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4da28f,_0x4da28f!=_0xfa270e([0x56,0x61,0x6c,0x69,0x64])&&_0x356821();}function _0x5e4b4e(){const _0x1d481d=window[_0xfa270e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfa270e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfa270e([0x6e,0x6f,0x77])]())[_0xfa270e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfa270e([0x2e]),'');let _0x3430b7=_0xfa270e([0x50]);for(let _0x1b889f=0x0;_0x1b889f<_0x1d481d[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b889f+=0x2){let _0x3d898a=window[_0xfa270e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d481d[_0xfa270e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b889f,_0x1b889f+0x2));_0x3d898a>=_0x2fead3[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d898a-=_0x2fead3[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3430b7+=_0x2fead3[_0x3d898a];}return _0x3430b7;}function _0x195835(){const _0xf4889a=_0x5849ce[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])](_0xfa270e([0x2e]));if(0x3!=_0xf4889a[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18b5d1(_0xf4889a[0x1]);function _0x18b5d1(_0x34c509){const _0x26102b=_0x471d9c(_0x34c509);return _0x26102b&&_0x2e50e2()?_0x26102b:null;function _0x2e50e2(){const _0x1588cd=_0x26102b[_0xfa270e([0x6a,0x74,0x69])],_0x3c5e8e=window[_0xfa270e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1588cd[_0xfa270e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1588cd[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6d30d4={..._0x26102b,[_0xfa270e([0x6a,0x74,0x69])]:_0x1588cd[_0xfa270e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1588cd[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6d30d4[_0xfa270e([0x76,0x63])],_0x521126(_0x6d30d4)==_0x3c5e8e;}}}async function _0x11ee3f(){let _0x3573af=!0x0;try{const _0x5d55f7=_0x5849ce[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])](_0xfa270e([0x2e])),[_0x20a890,_0x3cc0fd,_0x220bea]=_0x5d55f7;return _0x2a31de(_0x20a890),await _0x2eb0b3(_0x20a890,_0x3cc0fd,_0x220bea),_0x3573af;}catch{return!0x1;}function _0x2a31de(_0x346bdc){const _0xe8c854=_0x471d9c(_0x346bdc);_0xe8c854&&_0xe8c854[_0xfa270e([0x61,0x6c,0x67])]==_0xfa270e([0x45,0x53,0x32,0x35,0x36])||(_0x3573af=!0x1);}async function _0x2eb0b3(_0x46c66d,_0x4d27e4,_0x20e812){const _0x24b9d8=window[_0xfa270e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfa270e([0x66,0x72,0x6f,0x6d])](_0x4f2f51(_0x20e812),_0x491a8b=>_0x491a8b[_0xfa270e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x169e66=new window[(_0xfa270e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfa270e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46c66d+_0xfa270e([0x2e])+_0x4d27e4),_0x3b909a=window[_0xfa270e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfa270e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b909a)return;const _0xa5dc8c=await _0x3b909a[_0xfa270e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfa270e([0x6a,0x77,0x6b]),_0xebe559,{[_0xfa270e([0x6e,0x61,0x6d,0x65])]:_0xfa270e([0x45,0x43,0x44,0x53,0x41]),[_0xfa270e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfa270e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfa270e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b909a[_0xfa270e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfa270e([0x6e,0x61,0x6d,0x65])]:_0xfa270e([0x45,0x43,0x44,0x53,0x41]),[_0xfa270e([0x68,0x61,0x73,0x68])]:{[_0xfa270e([0x6e,0x61,0x6d,0x65])]:_0xfa270e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa5dc8c,_0x24b9d8,_0x169e66)||(_0x3573af=!0x1);}}function _0x471d9c(_0x8835af){return _0x8835af[_0xfa270e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfa270e([0x65,0x79]))?JSON[_0xfa270e([0x70,0x61,0x72,0x73,0x65])](_0x4f2f51(_0x8835af)):null;}function _0x4f2f51(_0x1a0371){return window[_0xfa270e([0x61,0x74,0x6f,0x62])](_0x1a0371[_0xfa270e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfa270e([0x2b]))[_0xfa270e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfa270e([0x2f])));}function _0x521126(_0x205850){let _0x5429a3=0x1505;function _0xdcee52(_0x2f245f){for(let _0x5ddfb8=0x0;_0x5ddfb8<_0x2f245f[_0xfa270e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ddfb8++){const _0x540fd4=_0x2f245f[_0xfa270e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ddfb8);_0x5429a3=(_0x5429a3<<0x5)+_0x5429a3+_0x540fd4,_0x5429a3&=_0x5429a3;}}function _0x1e7fb3(_0x2a59bc){Array[_0xfa270e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a59bc)?_0x2a59bc[_0xfa270e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e7fb3):_0x2a59bc&&typeof _0x2a59bc==_0xfa270e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfa270e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a59bc)[_0xfa270e([0x73,0x6f,0x72,0x74])]()[_0xfa270e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2375fb,_0x3006ea])=>{_0xdcee52(_0x2375fb),_0x1e7fb3(_0x3006ea);}):_0xdcee52(window[_0xfa270e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a59bc));}return _0x1e7fb3(_0x205850),_0x5429a3>>>0x0;}function _0x482735(_0x26254c){return _0x26254c[_0xfa270e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfa270e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfa270e([0x30]));}function _0xc9a96e(_0x26b047){return _0x26b047[_0xfa270e([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfa270e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfa270e([0x6a,0x6f,0x69,0x6e])]('');}function _0x383000(){}function _0xfa270e(_0x2fbb4b){const _0x188398=_0x4f85;return _0x2fbb4b[_0x188398(0x20f)](_0x5a4854=>String[_0x188398(0x20b)](_0x5a4854))[_0x188398(0x1e0)]('');}_0x5e3e76(await _0x25737a());}(this);}[_0xa1eea2(0x1fd)](){const _0x546d2a=_0xa1eea2,_0x5dd5f8=this[_0x546d2a(0x20e)];if(!_0x5dd5f8[_0x546d2a(0x1f8)][_0x546d2a(0x208)](_0x546d2a(0x1fa)))return;const _0x1b3588=_0x5dd5f8[_0x546d2a(0x1f8)][_0x546d2a(0x208)](_0x546d2a(0x1e8))[_0x546d2a(0x1f3)](_0x1130e8=>_0x546d2a(0x212)==typeof _0x1130e8&&(!_0x4dccb1(_0x1130e8)&&isNaN(Number(_0x1130e8))));if(_0x1b3588[_0x546d2a(0x1e5)])throw new _0x373219(_0x546d2a(0x1f4),null,{'namedPresets':_0x1b3588});}[_0xa1eea2(0x1f5)](){const _0x5eef7d=_0xa1eea2,_0x126064=this[_0x5eef7d(0x20e)],_0x587518=this[_0x5eef7d(0x20e)][_0x5eef7d(0x1f8)][_0x5eef7d(0x208)](_0x5eef7d(0x1ed));_0x126064[_0x5eef7d(0x1f1)][_0x5eef7d(0x200)](_0x5eef7d(0x1ff))[_0x5eef7d(0x1ea)]({'model':{'key':_0x5eef7d(0x1ee)},'view':_0x1d8b85=>String(_0x1d8b85)===String(_0x587518)?null:{'key':_0x5eef7d(0x20a),'value':{'line-height':_0x1d8b85}}}),_0x126064[_0x5eef7d(0x1f1)][_0x5eef7d(0x200)](_0x5eef7d(0x201))[_0x5eef7d(0x1ea)]({'model':{'key':_0x5eef7d(0x1ee),'value':_0x593b28=>{const _0x463d32=_0x5eef7d;let _0x425721=_0x593b28[_0x463d32(0x1e1)](_0x463d32(0x1fe));return _0x128ead(_0x425721)&&(_0x425721=String(Number(_0x425721[_0x463d32(0x1f7)](0x0,-0x1))/0x64)),String(_0x425721)===String(_0x587518)?null:_0x425721;}},'view':{'styles':{'line-height':/.*/}}});}[_0xa1eea2(0x20c)](){const _0x557db5=_0xa1eea2,_0x3c4c4b=this[_0x557db5(0x20e)],_0x5f1146=this[_0x557db5(0x20e)][_0x557db5(0x1f8)][_0x557db5(0x208)](_0x557db5(0x1ed)),_0x59c646=_0x6352fc(this[_0x557db5(0x20e)][_0x557db5(0x1f8)][_0x557db5(0x208)](_0x557db5(0x1ee)))[_0x557db5(0x1f3)](_0x9596de=>_0x9596de[_0x557db5(0x209)]),_0x555e3=_0x374e18(_0x557db5(0x1ee),_0x59c646);_0x3c4c4b[_0x557db5(0x1f1)][_0x557db5(0x1ea)](_0x555e3),_0x3c4c4b[_0x557db5(0x1f1)][_0x557db5(0x200)](_0x557db5(0x201))[_0x557db5(0x1ea)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x557db5(0x1ee),'value':_0x2454a4=>{const _0x591c8c=_0x557db5;let _0x13ec90=_0x2454a4[_0x591c8c(0x1e1)](_0x591c8c(0x1fe));return _0x128ead(_0x13ec90)&&(_0x13ec90=String(Number(_0x13ec90[_0x591c8c(0x1f7)](0x0,-0x1))/0x64)),_0x13ec90===String(_0x5f1146)?null:_0x555e3[_0x591c8c(0x209)][_0x591c8c(0x1fb)][_0x591c8c(0x1e3)](_0x13ec90)?_0x13ec90:null;}}});}}function _0x27ca(){const _0x1cebf9=['for','upcast','30rsMCti','LineHeightEditing','391564RQVvNO','2739261TypVPH','isPremiumPlugin','requires','get','model','style','fromCharCode','_preparePredefinedConverters','default','editor','map','$block','define','string','add','schema','1465569DZEBWI','afterInit','extend','join','getStyle','href','includes','970fyeCBI','length','isOfficialPlugin','16062uVJVLs','lineHeight.options','727680muTUxn','attributeToAttribute','16bpJHcP','40VfKBxD','lineHeight.defaultValue','lineHeight','pluginName','setAttributeProperties','conversion','69410xEScEP','filter','line-height-invalid-use-of-named-presets','_prepareAnyValueConverters','commands','slice','config','init','lineHeight.supportAllValues','values','134765lrVqXf','_validateConfig','line-height','downcast'];_0x27ca=function(){return _0x1cebf9;};return _0x27ca();}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x22bbe4}from'ckeditor5/src/core.js';import{addListToDropdown as _0x1f64ce,createDropdown as _0x34acbf,MenuBarMenuListItemButtonView as _0x1ed820,MenuBarMenuListItemView as _0x54a936,MenuBarMenuListView as _0x2ef7f4,MenuBarMenuView as _0x9cf00c,UIModel as _0x486045}from'ckeditor5/src/ui.js';import{Collection as _0x1c2181}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x50558d}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4f97cd}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x22bbe4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5381db={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5381db),this['_registerMenuBarComponent'](_0x5381db),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2db52b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3261c8;for(const _0x1ca901 in _0x2db52b){const _0x1a56f4=_0x1ca901,_0x5c867a=_0x2db52b[_0x1a56f4];if('lineHeightLicenseKeyValid'==_0x5c867a||'lineHeightLicenseKeyInvalid'==_0x5c867a||'lineHeightLicenseKeyExpired'==_0x5c867a||'lineHeightLicenseKeyDomainLimit'==_0x5c867a||'lineHeightLicenseKeyNotAllowed'==_0x5c867a||'lineHeightLicenseKeyEvaluationLimit'==_0x5c867a||'lineHeightLicenseKeyTrialLimit'==_0x5c867a||'lineHeightLicenseKeyUsageLimit'==_0x5c867a){delete _0x2db52b[_0x1a56f4],_0x3261c8=_0x5c867a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3261c8&&_0x2db52b['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3261c8&&_0x2db52b['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3261c8&&_0x2db52b['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3261c8&&_0x2db52b['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3261c8&&_0x2db52b['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3261c8&&_0x2db52b['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3261c8&&_0x2db52b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x449702=this['editor'],t=_0x449702['t'],_0x2b45e9=_0x449702['config']['get']('lineHeight'),_0x597ad1={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4f97cd(_0x2b45e9)['map'](_0x159940=>{const _0x1a2e60=_0x597ad1[_0x159940['title']];return _0x1a2e60&&_0x1a2e60!=_0x159940['title']&&(_0x159940=Object['assign']({},_0x159940,{'title':_0x1a2e60})),_0x159940;});}['_prepareListOptions'](){const _0x5a1997=this['editor']['commands']['get']('lineHeight'),_0x40f968=this['editor']['config']['get']('lineHeight.defaultValue'),_0x568720=this['_getLocalizedLineHeightOptions'](),_0x575ad2=new _0x1c2181(),_0x40d832=_0x561427=>'default'===_0x561427||String(_0x40f968)===_0x561427;for(const _0x29d0fe of _0x568720){const _0x831705={'type':'button','model':new _0x486045({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x29d0fe['title'],'withText':!0x0})};_0x40d832(_0x29d0fe['model'])?(_0x831705['model']['bind']('isOn')['to'](_0x5a1997,'value',_0x2eab8f=>!_0x2eab8f),_0x831705['model']['commandParam']=void 0x0):(_0x831705['model']['bind']('isOn')['to'](_0x5a1997,'value',_0x1636c1=>_0x1636c1===_0x29d0fe['model']),_0x831705['model']['commandParam']=_0x29d0fe['model']),_0x575ad2['add'](_0x831705);}if(this['_shouldRenderCustomValueOption']()){const _0x26173c=this['_getCustomValueOptionDefinition'](_0x568720);_0x575ad2['add'](_0x26173c);}return _0x575ad2;}['_getCustomValueOptionDefinition'](_0x1f054c){const _0x49efe8=this['editor'],t=_0x49efe8['t'],_0x1530b7=_0x49efe8['commands']['get']('lineHeight'),_0x36fb2a=_0x1f054c['map'](_0x220fbf=>_0x220fbf['model']),_0x4aa6b0={'type':'button','model':new _0x486045({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4aa6b0['model']['bind']('commandParam')['to'](_0x1530b7,'value'),_0x4aa6b0['model']['bind']('isOn')['to'](_0x1530b7,'value',_0x4c87d3=>!!_0x4c87d3&&!_0x36fb2a['includes'](String(_0x4c87d3))),_0x4aa6b0['model']['bind']('label')['to'](_0x1530b7,'value',_0x58c516=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x58c516))),_0x4aa6b0;}['_registerToolbarComponent']({accessibleLabel:_0x2dcc2a,options:_0x298e77}){const _0xb0c3e6=this['editor'],_0xaa44ba=_0xb0c3e6['commands']['get']('lineHeight');_0xb0c3e6['ui']['componentFactory']['add']('lineHeight',_0x4cb608=>{const _0x26e47d=_0x34acbf(_0x4cb608);return _0x1f64ce(_0x26e47d,_0x298e77,{'role':'menu','ariaLabel':_0x2dcc2a}),_0x26e47d['buttonView']['set']({'label':_0x2dcc2a,'tooltip':!0x0,'icon':_0x50558d}),_0x26e47d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x26e47d['bind']('isEnabled')['to'](_0xaa44ba),this['listenTo'](_0x26e47d,'execute',_0x355a37=>{_0xb0c3e6['execute'](_0x355a37['source']['commandName'],{'value':_0x355a37['source']['commandParam']}),_0xb0c3e6['editing']['view']['focus']();}),_0x26e47d['once']('change:isOpen',()=>{const _0x2ecdee=_0x26e47d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x26e47d,_0x298e77,_0x2ecdee);}),_0x26e47d;});}['_registerMenuBarComponent']({accessibleLabel:_0x3016a6,options:_0x1c090b}){const _0x316817=this['editor'],_0x1e87b7=_0x316817['commands']['get']('lineHeight');_0x316817['ui']['componentFactory']['add']('menuBar:lineHeight',_0x36f6a1=>{const _0x1387fe=new _0x9cf00c(_0x36f6a1);_0x1387fe['buttonView']['set']({'label':_0x3016a6,'icon':_0x50558d}),_0x1387fe['bind']('isEnabled')['to'](_0x1e87b7);const _0x556c26=new _0x2ef7f4(_0x36f6a1);for(const _0x114f28 of _0x1c090b){const _0x27788d=new _0x54a936(_0x36f6a1,_0x1387fe),_0x70d290=new _0x1ed820(_0x36f6a1);_0x70d290['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x70d290['bind'](...Object['keys'](_0x114f28['model']))['to'](_0x114f28['model']),_0x70d290['delegate']('execute')['to'](_0x1387fe),_0x70d290['on']('execute',()=>{_0x316817['execute'](_0x114f28['model']['commandName'],{'value':_0x114f28['model']['commandParam']}),_0x316817['editing']['view']['focus']();}),_0x27788d['children']['add'](_0x70d290),_0x556c26['items']['add'](_0x27788d);}return _0x1387fe['panelView']['children']['add'](_0x556c26),this['_attachCustomOptionVisibilityHandler'](_0x1387fe,_0x1c090b,_0x556c26),_0x1387fe;});}['_attachCustomOptionVisibilityHandler'](_0x229a3d,_0x5a269f,_0x5ab474){if(!this['_shouldRenderCustomValueOption']())return;const _0x49ebce=()=>{if(!_0x229a3d['isOpen'])return;_0x5ab474['items']['last']['isVisible']=Boolean(_0x5a269f['last']['model']['isOn']);};_0x49ebce(),_0x229a3d['on']('change:isOpen',()=>{_0x49ebce();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x12c49a,_0x56100f){const _0x35d408=_0x4f7f,_0x28ba72=_0x12c49a();while(!![]){try{const _0x30451d=-parseInt(_0x35d408(0x14e))/0x1*(-parseInt(_0x35d408(0x14a))/0x2)+-parseInt(_0x35d408(0x168))/0x3+parseInt(_0x35d408(0x156))/0x4*(parseInt(_0x35d408(0x163))/0x5)+-parseInt(_0x35d408(0x14d))/0x6+-parseInt(_0x35d408(0x147))/0x7*(-parseInt(_0x35d408(0x14f))/0x8)+parseInt(_0x35d408(0x158))/0x9*(-parseInt(_0x35d408(0x150))/0xa)+parseInt(_0x35d408(0x155))/0xb;if(_0x30451d===_0x56100f)break;else _0x28ba72['push'](_0x28ba72['shift']());}catch(_0x12b28d){_0x28ba72['push'](_0x28ba72['shift']());}}}(_0x1916,0x4155c));function _0x4f7f(_0x5d2480,_0x5bc9ed){const _0x19167f=_0x1916();return _0x4f7f=function(_0x4f7fd5,_0x71c24d){_0x4f7fd5=_0x4f7fd5-0x146;let _0x467e8e=_0x19167f[_0x4f7fd5];return _0x467e8e;},_0x4f7f(_0x5d2480,_0x5bc9ed);}function _0x1916(){const _0x2301ad=['key','5788WzwRSS','line-height-double','string','1683846CMErqy','39YzUjci','288xAVOxi','7260xmikWj','options','map','single','model','1269719keZpxh','16EuNxEh','toLowerCase','297uMKzCT','double','filter','value','line-height-single','defaultValue','class','Double','Single','default','push','288545tjJxHJ','values','line-height:','view','number','446892woiTqH','style','50953rscBhu','span'];_0x1916=function(){return _0x2301ad;};return _0x1916();}const v={get 'single'(){const _0x223177=_0x4f7f;return{'title':_0x223177(0x160),'model':_0x223177(0x153),'view':{'key':_0x223177(0x15e),'value':_0x223177(0x15c)}};},get 'double'(){const _0x40c878=_0x4f7f;return{'title':_0x40c878(0x15f),'model':_0x40c878(0x159),'view':{'key':_0x40c878(0x15e),'value':_0x40c878(0x14b)}};}};export function isLineHeightDefaultValue(_0x464d4b){const _0x1b9beb=_0x4f7f;return _0x1b9beb(0x14c)==typeof _0x464d4b&&_0x1b9beb(0x161)===_0x464d4b[_0x1b9beb(0x157)]();}export function normalizeOptions(_0x23d11d){const _0x548a3e=_0x4f7f;return _0x23d11d[_0x548a3e(0x151)][_0x548a3e(0x152)](_0x36b96d=>isLineHeightDefaultValue(_0x36b96d)?{'title':String(_0x23d11d[_0x548a3e(0x15d)]),'model':_0x548a3e(0x161)}:(_0x548a3e(0x167)==typeof _0x36b96d&&(_0x36b96d=String(_0x36b96d)),_0x548a3e(0x14c)!=typeof _0x36b96d?_0x36b96d:parseFloat(_0x36b96d)?{'title':_0x36b96d,'model':_0x36b96d,'view':{'name':_0x548a3e(0x148),'styles':{'line-height':_0x36b96d}}}:findPreset(_0x36b96d)))[_0x548a3e(0x15a)](_0x1a50d3=>void 0x0!==_0x1a50d3);}export function findPreset(_0x23172c){const _0x25a265=_0x4f7f;return _0x25a265(0x14c)==typeof _0x23172c?v[_0x23172c]:v[_0x23172c[_0x25a265(0x154)]];}export function buildDefinition(_0x3dd0e1,_0x543cc8){const _0x69f85=_0x4f7f,_0x5b6d62={'model':{'key':_0x3dd0e1,'values':[]},'view':{}};for(const _0x3eb967 of _0x543cc8)_0x69f85(0x15e)===_0x3eb967[_0x69f85(0x166)]?.[_0x69f85(0x149)]?(_0x5b6d62[_0x69f85(0x154)][_0x69f85(0x164)][_0x69f85(0x162)](_0x3eb967[_0x69f85(0x154)]),_0x5b6d62[_0x69f85(0x166)][_0x3eb967[_0x69f85(0x154)]]={'key':_0x69f85(0x15e),'value':_0x3eb967[_0x69f85(0x166)][_0x69f85(0x15b)]}):(_0x5b6d62[_0x69f85(0x154)][_0x69f85(0x164)][_0x69f85(0x162)](_0x3eb967[_0x69f85(0x154)]),_0x5b6d62[_0x69f85(0x166)][_0x3eb967[_0x69f85(0x154)]]={'key':_0x69f85(0x146),'value':_0x69f85(0x165)+_0x3eb967[_0x69f85(0x154)]+';'});return _0x5b6d62;}
|