@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251231.0 → 0.0.0-nightly-next-20251231.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
|
-
|
|
23
|
+
function _0x52bf(){const _0x1a6795=['12yrbwNm','item','LineHeightTodoListIntegration','pluginName','36bslZGi','for','high','consumable','7IeYFqP','upcast','544593xWksVZ','add','paragraph','--ck-content-list-marker-line-height','consume','isPremiumPlugin','3465534QapfcM','addClass','4072dUXXwf','ListEditing','setStyle','3066910YyyQUu','elementToElement','908274RlUkOq','match','has','todo-list__label__description','1TvVlCq','TodoListEditing','1725270xSYYih','lineHeight','listType','init','todo','viewItem','getAttribute','element:li','name','span','isOfficialPlugin','ck-list-marker-line-height','editor','get','7224822GGsrHi','registerDowncastStrategy','6795cOFgWi'];_0x52bf=function(){return _0x1a6795;};return _0x52bf();}const _0x52bd30=_0x453a;(function(_0x723de1,_0x47890a){const _0x24585d=_0x453a,_0x4466e6=_0x723de1();while(!![]){try{const _0x3c2dba=-parseInt(_0x24585d(0x92))/0x1*(parseInt(_0x24585d(0x8e))/0x2)+parseInt(_0x24585d(0x81))/0x3*(-parseInt(_0x24585d(0x77))/0x4)+-parseInt(_0x24585d(0x8c))/0x5+parseInt(_0x24585d(0x87))/0x6*(parseInt(_0x24585d(0x7f))/0x7)+-parseInt(_0x24585d(0x89))/0x8*(parseInt(_0x24585d(0x76))/0x9)+-parseInt(_0x24585d(0x94))/0xa+-parseInt(_0x24585d(0x74))/0xb*(-parseInt(_0x24585d(0x7b))/0xc);if(_0x3c2dba===_0x47890a)break;else _0x4466e6['push'](_0x4466e6['shift']());}catch(_0x3f8119){_0x4466e6['push'](_0x4466e6['shift']());}}}(_0x52bf,0x5c8b5));function _0x453a(_0x3b1187,_0x4f6f58){const _0x52bf8f=_0x52bf();return _0x453a=function(_0x453a2c,_0x4b301d){_0x453a2c=_0x453a2c-0x6f;let _0x312593=_0x52bf8f[_0x453a2c];return _0x312593;},_0x453a(_0x3b1187,_0x4f6f58);}import{Plugin as _0x1afb3a}from'ckeditor5/src/core.js';import{Matcher as _0x4fb5ee}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x1afb3a{static get[_0x52bd30(0x7a)](){const _0xaa67ba=_0x52bd30;return _0xaa67ba(0x79);}static get[_0x52bd30(0x70)](){return!0x0;}static get[_0x52bd30(0x86)](){return!0x0;}[_0x52bd30(0x97)](){const _0x1e6598=_0x52bd30,{plugins:_0xd4c09c,conversion:_0xfd660d}=this[_0x1e6598(0x72)];if(!_0xd4c09c[_0x1e6598(0x90)](_0x1e6598(0x8a))||!_0xd4c09c[_0x1e6598(0x90)](_0x1e6598(0x93)))return;_0xd4c09c[_0x1e6598(0x73)](_0x1e6598(0x8a))[_0x1e6598(0x75)]({'scope':_0x1e6598(0x78),'attributeName':_0x1e6598(0x95),'consume':!0x1,'setAttributeOnDowncast'(_0x430f4e,_0x13a082,_0x4d10b6,_0x30c49e,_0x162781){const _0x33d88d=_0x1e6598;_0x33d88d(0x98)==_0x162781[_0x33d88d(0x9a)](_0x33d88d(0x96))&&_0x13a082&&(_0x430f4e[_0x33d88d(0x88)](_0x33d88d(0x71),_0x4d10b6),_0x430f4e[_0x33d88d(0x8b)](_0x33d88d(0x84),_0x13a082,_0x4d10b6));}}),_0xfd660d[_0x1e6598(0x7c)](_0x1e6598(0x80))[_0x1e6598(0x8d)]({'view':{'name':_0x1e6598(0x6f),'classes':_0x1e6598(0x91)},'model':_0x1e6598(0x83),'converterPriority':_0x1e6598(0x7d)}),_0xfd660d[_0x1e6598(0x7c)](_0x1e6598(0x80))[_0x1e6598(0x82)](_0x112f6e=>{const _0xdfcbf0=_0x1e6598;_0x112f6e['on'](_0xdfcbf0(0x9b),function(_0x357f22){const _0x17d0f4=new _0x4fb5ee(_0x357f22);return(_0x355139,_0x9795ad,_0x3c04b8)=>{const _0x52923b=_0x453a,_0x5e9597=_0x17d0f4[_0x52923b(0x8f)](_0x9795ad[_0x52923b(0x99)]);if(!_0x5e9597)return;const _0x58b323=_0x5e9597[_0x52923b(0x8f)];_0x58b323[_0x52923b(0x9c)]=!0x1,_0x3c04b8[_0x52923b(0x7e)][_0x52923b(0x85)](_0x9795ad[_0x52923b(0x99)],_0x58b323);};}({'name':'li','classes':_0xdfcbf0(0x71),'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 _0x5f4b48=_0x20c7;function _0x4ce7(){var _0x354b38=['pluginName','1174254fAlUff','680ADEJLV','6271135tmgRuz','isPremiumPlugin','970050nMARKE','isOfficialPlugin','6FbtvOU','41209311CGUocA','1362862hwTnNu','1183aeaZfl','4HOukzI','LineHeight','86922yduPdi','62168MWDWmD','requires'];_0x4ce7=function(){return _0x354b38;};return _0x4ce7();}(function(_0x37e03a,_0x34faf9){var _0x3d2a1a=_0x20c7,_0x24f950=_0x37e03a();while(!![]){try{var _0x88ce51=parseInt(_0x3d2a1a(0x1c4))/0x1+-parseInt(_0x3d2a1a(0x1c8))/0x2*(-parseInt(_0x3d2a1a(0x1c6))/0x3)+-parseInt(_0x3d2a1a(0x1ca))/0x4*(-parseInt(_0x3d2a1a(0x1c2))/0x5)+parseInt(_0x3d2a1a(0x1d0))/0x6+parseInt(_0x3d2a1a(0x1c9))/0x7*(parseInt(_0x3d2a1a(0x1cd))/0x8)+parseInt(_0x3d2a1a(0x1cc))/0x9*(-parseInt(_0x3d2a1a(0x1d1))/0xa)+-parseInt(_0x3d2a1a(0x1c7))/0xb;if(_0x88ce51===_0x34faf9)break;else _0x24f950['push'](_0x24f950['shift']());}catch(_0x13107a){_0x24f950['push'](_0x24f950['shift']());}}}(_0x4ce7,0xa936e));import{Plugin as _0x22e28a}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x28d66d}from'./lineheightediting.js';import{LineHeightUI as _0x2cd26d}from'./lineheightui.js';function _0x20c7(_0x4bf1eb,_0x442b12){var _0x4ce70e=_0x4ce7();return _0x20c7=function(_0x20c777,_0x28ec2d){_0x20c777=_0x20c777-0x1c2;var _0x377a83=_0x4ce70e[_0x20c777];return _0x377a83;},_0x20c7(_0x4bf1eb,_0x442b12);}export class LineHeight extends _0x22e28a{static get[_0x5f4b48(0x1ce)](){return[_0x28d66d,_0x2cd26d];}static get[_0x5f4b48(0x1cf)](){var _0x299e93=_0x5f4b48;return _0x299e93(0x1cb);}static get[_0x5f4b48(0x1c5)](){return!0x0;}static get[_0x5f4b48(0x1c3)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3db172=_0x1274;(function(_0x4cafc9,_0x2b1b81){const _0x224a55=_0x1274,_0x8328b6=_0x4cafc9();while(!![]){try{const _0x39174c=-parseInt(_0x224a55(0x96))/0x1*(-parseInt(_0x224a55(0x99))/0x2)+parseInt(_0x224a55(0x9e))/0x3+-parseInt(_0x224a55(0x9d))/0x4+-parseInt(_0x224a55(0xa1))/0x5*(-parseInt(_0x224a55(0x93))/0x6)+-parseInt(_0x224a55(0x9c))/0x7+-parseInt(_0x224a55(0x9a))/0x8+parseInt(_0x224a55(0x90))/0x9;if(_0x39174c===_0x2b1b81)break;else _0x8328b6['push'](_0x8328b6['shift']());}catch(_0x4665f4){_0x8328b6['push'](_0x8328b6['shift']());}}}(_0x22a0,0xcf926));function _0x1274(_0x2e2404,_0x248b97){const _0x22a08b=_0x22a0();return _0x1274=function(_0x127453,_0x5f015b){_0x127453=_0x127453-0x88;let _0xe24774=_0x22a08b[_0x127453];return _0xe24774;},_0x1274(_0x2e2404,_0x248b97);}import{Command as _0x573d2d}from'ckeditor5/src/core.js';function _0x22a0(){const _0x35c61a=['model','refresh','getAttribute','document','change','editor','7664481JqXtlA','value','selection','174zmXayV','removeAttribute','checkAttribute','1nPFBPy','schema','lineHeight','2484866iECdyS','10889640tmtiGh','filter','7762265YwctoZ','4499132clhVFP','2294526IHyFbf','execute','setAttribute','273485AqNBnr','from','_canHaveLineHeight','getSelectedBlocks','isEnabled'];_0x22a0=function(){return _0x35c61a;};return _0x22a0();}import{first as _0x5040c7}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x573d2d{[_0x3db172(0x8b)](){const _0x36276e=_0x3db172,_0x64ccf9=this[_0x36276e(0x8f)][_0x36276e(0x8a)][_0x36276e(0x8d)],_0x34b4a6=_0x5040c7(_0x64ccf9[_0x36276e(0x92)][_0x36276e(0x88)]());this[_0x36276e(0x89)]=Boolean(_0x34b4a6)&&this[_0x36276e(0xa3)](_0x34b4a6),this[_0x36276e(0x91)]=this[_0x36276e(0x89)]&&_0x34b4a6[_0x36276e(0x8c)](_0x36276e(0x98));}[_0x3db172(0x9f)](_0x592868={}){const _0x37934a=_0x3db172,_0x6f851b=this[_0x37934a(0x8f)][_0x37934a(0x8a)],_0x3b490f=_0x6f851b[_0x37934a(0x8d)][_0x37934a(0x92)],_0x57e3a2=_0x592868[_0x37934a(0x91)];_0x6f851b[_0x37934a(0x8e)](_0x23fb8c=>{const _0x35f65e=_0x37934a,_0x487048=Array[_0x35f65e(0xa2)](_0x3b490f[_0x35f65e(0x88)]())[_0x35f65e(0x9b)](_0x26128e=>this[_0x35f65e(0xa3)](_0x26128e));for(const _0x3251d8 of _0x487048)_0x57e3a2?_0x23fb8c[_0x35f65e(0xa0)](_0x35f65e(0x98),_0x57e3a2,_0x3251d8):_0x23fb8c[_0x35f65e(0x94)](_0x35f65e(0x98),_0x3251d8);});}[_0x3db172(0xa3)](_0x43ed65){const _0x1c09c0=_0x3db172;return this[_0x1c09c0(0x8f)][_0x1c09c0(0x8a)][_0x1c09c0(0x97)][_0x1c09c0(0x95)](_0x43ed65,_0x1c09c0(0x98));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b1139=_0x4828;function _0x60dd(){const _0x105a54=['extend','line-height','slice','config','style','add','commands','225ALBHuv','for','pluginName','upcast','isPremiumPlugin','fromCharCode','lineHeight.options','$block','1818340RPxalQ','1186216UxjMTw','isOfficialPlugin','_preparePredefinedConverters','1366500tMxItY','lineHeight.defaultValue','_validateConfig','LineHeightEditing','model','requires','downcast','schema','editor','lineHeight.supportAllValues','attributeToAttribute','line-height-invalid-use-of-named-presets','9346sCOACS','includes','109112Vahrqi','71491BJfszG','376467ttrfwq','get','66aOvGJZ','href','lineHeight','join','getStyle','define','conversion','11EfoLYs','filter','69hjmiYd','_prepareAnyValueConverters','setAttributeProperties','map','init','string','default','values','length','afterInit'];_0x60dd=function(){return _0x105a54;};return _0x60dd();}(function(_0x38cae7,_0x485d76){const _0x5261cd=_0x4828,_0x4686b3=_0x38cae7();while(!![]){try{const _0x31fa3d=-parseInt(_0x5261cd(0x105))/0x1*(parseInt(_0x5261cd(0xf6))/0x2)+-parseInt(_0x5261cd(0xfa))/0x3+parseInt(_0x5261cd(0x11f))/0x4+-parseInt(_0x5261cd(0x122))/0x5+parseInt(_0x5261cd(0xfc))/0x6*(parseInt(_0x5261cd(0xf9))/0x7)+-parseInt(_0x5261cd(0xf8))/0x8*(-parseInt(_0x5261cd(0x116))/0x9)+-parseInt(_0x5261cd(0x11e))/0xa*(-parseInt(_0x5261cd(0x103))/0xb);if(_0x31fa3d===_0x485d76)break;else _0x4686b3['push'](_0x4686b3['shift']());}catch(_0xce4fb9){_0x4686b3['push'](_0x4686b3['shift']());}}}(_0x60dd,0x33630));import{Plugin as _0x3b59de}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x688640}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x286eb3}from'ckeditor5/src/engine.js';import{uid as _0x2b7c30,CKEditorError as _0x39bd2e}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2bd99f,isLineHeightDefaultValue as _0x56a8e6,normalizeOptions as _0x3c68fe}from'./utils.js';import{LineHeightTodoListIntegration as _0x1c201d}from'./integrations/todolist.js';function _0x4828(_0xca1364,_0x4000ea){const _0x60dd4b=_0x60dd();return _0x4828=function(_0x482878,_0x4164fa){_0x482878=_0x482878-0xf2;let _0x4912b5=_0x60dd4b[_0x482878];return _0x4912b5;},_0x4828(_0xca1364,_0x4000ea);}export class LineHeightEditing extends _0x3b59de{static get[_0x1b1139(0x118)](){const _0x4a5a92=_0x1b1139;return _0x4a5a92(0x125);}static get[_0x1b1139(0x127)](){return[_0x1c201d];}static get[_0x1b1139(0x120)](){return!0x0;}static get[_0x1b1139(0x11a)](){return!0x0;}constructor(_0x141c49){const _0x4f5fa9=_0x1b1139;super(_0x141c49),_0x141c49[_0x4f5fa9(0x112)][_0x4f5fa9(0x101)](_0x4f5fa9(0xfe),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4f5fa9(0x10b),0x2,2.5,0x3]});}[_0x1b1139(0x109)](){const _0x12aa59=_0x1b1139,_0x25f5c8=this[_0x12aa59(0xf2)];this[_0x12aa59(0x124)](),_0x25f5c8[_0x12aa59(0x126)][_0x12aa59(0x129)][_0x12aa59(0x10f)](_0x12aa59(0x11d),{'allowAttributes':_0x12aa59(0xfe)}),_0x25f5c8[_0x12aa59(0x126)][_0x12aa59(0x129)][_0x12aa59(0x107)](_0x12aa59(0xfe),{'isFormatting':!0x0}),_0x25f5c8[_0x12aa59(0x115)][_0x12aa59(0x114)](_0x12aa59(0xfe),new _0x688640(_0x25f5c8)),this[_0x12aa59(0xf2)][_0x12aa59(0x112)][_0x12aa59(0xfb)](_0x12aa59(0xf3))?this[_0x12aa59(0x106)]():this[_0x12aa59(0x121)]();}[_0x1b1139(0x10e)](){!async function(_0x14d5e2){const _0x2621ab=_0x5b1107([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]),_0x4f9b29=0x45ddd215,_0x37b2d7=0x45daaf6d^_0x4f9b29,_0x15013d=window[_0x5b1107([0x44,0x61,0x74,0x65])][_0x5b1107([0x6e,0x6f,0x77])](),_0x245418=_0x14d5e2[_0x5b1107([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3de566=new window[(_0x5b1107([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x781803=>{_0x245418[_0x5b1107([0x6f,0x6e,0x63,0x65])](_0x5b1107([0x72,0x65,0x61,0x64,0x79]),_0x781803);}),_0xdc7ff9={[_0x5b1107([0x6b,0x74,0x79])]:_0x5b1107([0x45,0x43]),[_0x5b1107([0x75,0x73,0x65])]:_0x5b1107([0x73,0x69,0x67]),[_0x5b1107([0x63,0x72,0x76])]:_0x5b1107([0x50,0x2d,0x32,0x35,0x36]),[_0x5b1107([0x78])]:_0x5b1107([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]),[_0x5b1107([0x79])]:_0x5b1107([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]),[_0x5b1107([0x61,0x6c,0x67])]:_0x5b1107([0x45,0x53,0x32,0x35,0x36])},_0x534ace=_0x245418[_0x5b1107([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b1107([0x67,0x65,0x74])](_0x5b1107([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55cac9(){let _0x5eb4aa,_0x358e1d=null,_0x4c8daa=null;try{if(_0x534ace==_0x5b1107([0x47,0x50,0x4c]))return _0x5b1107([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5eb4aa=_0x768198(),!_0x5eb4aa)return _0x5b1107([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5eb4aa[_0x5b1107([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c8daa=_0x38af88(_0x5eb4aa[_0x5b1107([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5eb4aa[_0x5b1107([0x6a,0x74,0x69])])),await _0x1c1d51()?_0x22dad8()?_0x2eee56()?_0x5b1107([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x316946()?(_0x5eb4aa[_0x5b1107([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b1107([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x358e1d=_0x544003(_0x5b1107([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5eb4aa[_0x5b1107([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b1107([0x74,0x72,0x69,0x61,0x6c])&&(_0x358e1d=_0x544003(_0x5b1107([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x284c1d()):_0x5b1107([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b1107([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b1107([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b1107([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2eee56(){const _0x44e084=[_0x5b1107([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b1107([0x74,0x72,0x69,0x61,0x6c])][_0x5b1107([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb4aa[_0x5b1107([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15013d/0x3e8:0xe10*_0x37b2d7;return _0x5eb4aa[_0x5b1107([0x65,0x78,0x70])]<_0x44e084;}function _0x22dad8(){const _0xd7fb94=_0x5eb4aa[_0x5b1107([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd7fb94&&(!!_0xd7fb94[_0x5b1107([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b1107([0x2a]))||!!_0xd7fb94[_0x5b1107([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b1107([0x4c,0x48])));}function _0x316946(){const _0x158c44=_0x4828,_0x4fa92d=_0x5eb4aa[_0x5b1107([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fa92d||0x0==_0x4fa92d[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cf64a}=new URL(window[_0x5b1107([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x158c44(0xfd)]);if(_0x4fa92d[_0x5b1107([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf64a))return!0x0;const _0x4a14f9=_0x3cf64a[_0x5b1107([0x73,0x70,0x6c,0x69,0x74])](_0x5b1107([0x2e]));return _0x4fa92d[_0x5b1107([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4afb1f=>_0x4afb1f[_0x5b1107([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b1107([0x2a])))[_0x5b1107([0x6d,0x61,0x70])](_0x362808=>_0x362808[_0x5b1107([0x73,0x70,0x6c,0x69,0x74])](_0x5b1107([0x2e])))[_0x5b1107([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7eb77f=>_0x7eb77f[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a14f9[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b1107([0x6d,0x61,0x70])](_0x490d73=>Array(_0x4a14f9[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x490d73[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b1107([0x66,0x69,0x6c,0x6c])](_0x490d73[0x0]===_0x5b1107([0x2a])?_0x5b1107([0x2a]):'')[_0x5b1107([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x490d73))[_0x5b1107([0x73,0x6f,0x6d,0x65])](_0x25f5ad=>_0x4a14f9[_0x5b1107([0x65,0x76,0x65,0x72,0x79])]((_0x4283a7,_0x1802df)=>_0x25f5ad[_0x1802df]===_0x4283a7||_0x25f5ad[_0x1802df]===_0x5b1107([0x2a])));}function _0x284c1d(){return _0x358e1d&&_0x4c8daa?new window[(_0x5b1107([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e18a6,_0x569a12)=>{_0x358e1d[_0x5b1107([0x74,0x68,0x65,0x6e])](_0x1e18a6,_0x569a12),_0x4c8daa[_0x5b1107([0x74,0x68,0x65,0x6e])](_0x55110c=>{_0x55110c!=_0x5b1107([0x56,0x61,0x6c,0x69,0x64])&&_0x1e18a6(_0x55110c);},_0x569a12);}):_0x358e1d||_0x4c8daa||_0x5b1107([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38af88(_0x8662f5,_0x317990){return new window[(_0x5b1107([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x342094=>{if(_0x570580())return _0x342094(_0x5b1107([0x56,0x61,0x6c,0x69,0x64]));_0x3267d2(),_0x245418[_0x5b1107([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b1107([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43dd40=!0x1;const _0x5a165b=_0x2b7c30();function _0x2e5f43(_0x2470a6){return!!_0x2470a6&&(typeof _0x2470a6===_0x5b1107([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2470a6===_0x5b1107([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2470a6[_0x5b1107([0x74,0x68,0x65,0x6e])]===_0x5b1107([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2470a6[_0x5b1107([0x63,0x61,0x74,0x63,0x68])]===_0x5b1107([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ced07(_0x355931){_0x336daf(_0x355931)[_0x5b1107([0x74,0x68,0x65,0x6e])](_0x182378=>{if(!_0x182378||_0x182378[_0x5b1107([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b1107([0x6f,0x6b]))return _0x5b1107([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e2a58(_0x4f6658(_0x5a165b+_0x317990))!=_0x182378[_0x5b1107([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b1107([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b1107([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b1107([0x74,0x68,0x65,0x6e])](_0x575739=>(_0x99ad26(),_0x575739),()=>{const _0x3c93d3=_0x324390();return null==_0x3c93d3?(_0x99ad26(),_0x5b1107([0x56,0x61,0x6c,0x69,0x64])):_0x5b1107(_0x15013d-_0x3c93d3>(0x61d15615^_0x4f9b29)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b1107([0x74,0x68,0x65,0x6e])](_0x342094)[_0x5b1107([0x63,0x61,0x74,0x63,0x68])](()=>{_0x342094(_0x5b1107([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44a530=0x45eb3c95^_0x4f9b29;function _0x99ad26(){const _0x20738a=_0x5b1107([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e2a58(_0x4f6658(_0x8662f5)),_0x52b7d4=_0x1cb580(_0x2e2a58(window[_0x5b1107([0x4d,0x61,0x74,0x68])][_0x5b1107([0x63,0x65,0x69,0x6c])](_0x15013d/_0x44a530)));window[_0x5b1107([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b1107([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20738a,_0x52b7d4);}function _0x324390(){const _0x2bf711=_0x5b1107([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e2a58(_0x4f6658(_0x8662f5)),_0x33b53f=window[_0x5b1107([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b1107([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bf711);return _0x33b53f?window[_0x5b1107([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cb580(_0x33b53f),0x10)*_0x44a530:null;}function _0x336daf(_0x3fae89){return new window[(_0x5b1107([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x547914,_0x4c2d1c)=>{_0x3fae89[_0x5b1107([0x74,0x68,0x65,0x6e])](_0x547914,_0x4c2d1c),window[_0x5b1107([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c2d1c,0x45dc06d5^_0x4f9b29);});}}_0x245418[_0x5b1107([0x6f,0x6e])](_0x5b1107([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58328e,_0x18239d)=>{if(_0x18239d[0x0]!=_0x8662f5)return _0x342094(_0x5b1107([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18239d[0x1]={..._0x18239d[0x1],[_0x5b1107([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a165b};},{[_0x5b1107([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b1107([0x68,0x69,0x67,0x68])}),_0x245418[_0x5b1107([0x6f,0x6e])](_0x5b1107([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13d19c=>{_0x2e5f43(_0x13d19c[_0x5b1107([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43dd40=!0x0,_0x2ced07(_0x13d19c[_0x5b1107([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b1107([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b1107([0x6c,0x6f,0x77])}),_0x3de566[_0x5b1107([0x74,0x68,0x65,0x6e])](()=>{_0x43dd40||_0x342094(_0x5b1107([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x570580(){return _0x245418[_0x5b1107([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b1107([0x76,0x69,0x65,0x77])][_0x5b1107([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b1107([0x61,0x75,0x74,0x6f]);}function _0x3267d2(){_0x245418[_0x5b1107([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b1107([0x76,0x69,0x65,0x77])][_0x5b1107([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b1107([0x61,0x75,0x74,0x6f]);}}function _0x544003(_0x28a303){const _0x3fb6f7=[new window[(_0x5b1107([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x78407f=>setTimeout(_0x78407f,0x45d4ecd9^_0x4f9b29)),_0x3de566[_0x5b1107([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b1107([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24dfd0=>{let _0x4683fb=0x0;_0x245418[_0x5b1107([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b1107([0x6f,0x6e])](_0x5b1107([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3189e2,_0x4b2028)=>{_0x4b2028[0x0][_0x5b1107([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4683fb++,_0x4683fb==(0x45ddd7fd^_0x4f9b29)&&(_0x24dfd0(),_0x3189e2[_0x5b1107([0x6f,0x66,0x66])]());});}))];return window[_0x5b1107([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b1107([0x72,0x61,0x63,0x65])](_0x3fb6f7)[_0x5b1107([0x74,0x68,0x65,0x6e])](()=>_0x28a303);}async function _0x1d164d(){await _0x3de566,_0x245418[_0x5b1107([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b1107([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23ca95,_0x245418[_0x5b1107([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b1107([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23ca95,_0x245418[_0x5b1107([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b1107([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x108449(_0x782494){const _0x1a2493=_0xe4c12a();_0x245418[_0x1a2493]=_0x5b1107([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x782494,_0x782494!=_0x5b1107([0x56,0x61,0x6c,0x69,0x64])&&_0x1d164d();}function _0xe4c12a(){const _0x37e566=window[_0x5b1107([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b1107([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b1107([0x6e,0x6f,0x77])]())[_0x5b1107([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b1107([0x2e]),'');let _0x536f36=_0x5b1107([0x50]);for(let _0x569bc9=0x0;_0x569bc9<_0x37e566[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x569bc9+=0x2){let _0x13fda3=window[_0x5b1107([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37e566[_0x5b1107([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x569bc9,_0x569bc9+0x2));_0x13fda3>=_0x2621ab[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x13fda3-=_0x2621ab[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x536f36+=_0x2621ab[_0x13fda3];}return _0x536f36;}function _0x768198(){const _0x5d95a5=_0x534ace[_0x5b1107([0x73,0x70,0x6c,0x69,0x74])](_0x5b1107([0x2e]));if(0x3!=_0x5d95a5[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3451f7(_0x5d95a5[0x1]);function _0x3451f7(_0x4e828a){const _0x2ca99e=_0x4f6962(_0x4e828a);return _0x2ca99e&&_0xe8208e()?_0x2ca99e:null;function _0xe8208e(){const _0x509e3b=_0x2ca99e[_0x5b1107([0x6a,0x74,0x69])],_0x4f59a0=window[_0x5b1107([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x509e3b[_0x5b1107([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x509e3b[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22fe7c={..._0x2ca99e,[_0x5b1107([0x6a,0x74,0x69])]:_0x509e3b[_0x5b1107([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x509e3b[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22fe7c[_0x5b1107([0x76,0x63])],_0x4f6658(_0x22fe7c)==_0x4f59a0;}}}async function _0x1c1d51(){let _0x1e3ec7=!0x0;try{const _0x440b65=_0x534ace[_0x5b1107([0x73,0x70,0x6c,0x69,0x74])](_0x5b1107([0x2e])),[_0x17beab,_0x473a40,_0x32b2ca]=_0x440b65;return _0x4708a2(_0x17beab),await _0x5d2bcb(_0x17beab,_0x473a40,_0x32b2ca),_0x1e3ec7;}catch{return!0x1;}function _0x4708a2(_0x2698b2){const _0x5aa3be=_0x4f6962(_0x2698b2);_0x5aa3be&&_0x5aa3be[_0x5b1107([0x61,0x6c,0x67])]==_0x5b1107([0x45,0x53,0x32,0x35,0x36])||(_0x1e3ec7=!0x1);}async function _0x5d2bcb(_0x1b1a88,_0x28865c,_0x3e2687){const _0x4929f2=window[_0x5b1107([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b1107([0x66,0x72,0x6f,0x6d])](_0x4ac584(_0x3e2687),_0x5644e7=>_0x5644e7[_0x5b1107([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xca681d=new window[(_0x5b1107([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b1107([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b1a88+_0x5b1107([0x2e])+_0x28865c),_0x3a7525=window[_0x5b1107([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b1107([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a7525)return;const _0x4276f1=await _0x3a7525[_0x5b1107([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b1107([0x6a,0x77,0x6b]),_0xdc7ff9,{[_0x5b1107([0x6e,0x61,0x6d,0x65])]:_0x5b1107([0x45,0x43,0x44,0x53,0x41]),[_0x5b1107([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b1107([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b1107([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a7525[_0x5b1107([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b1107([0x6e,0x61,0x6d,0x65])]:_0x5b1107([0x45,0x43,0x44,0x53,0x41]),[_0x5b1107([0x68,0x61,0x73,0x68])]:{[_0x5b1107([0x6e,0x61,0x6d,0x65])]:_0x5b1107([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4276f1,_0x4929f2,_0xca681d)||(_0x1e3ec7=!0x1);}}function _0x4f6962(_0x20e36d){return _0x20e36d[_0x5b1107([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b1107([0x65,0x79]))?JSON[_0x5b1107([0x70,0x61,0x72,0x73,0x65])](_0x4ac584(_0x20e36d)):null;}function _0x4ac584(_0x4b588b){return window[_0x5b1107([0x61,0x74,0x6f,0x62])](_0x4b588b[_0x5b1107([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b1107([0x2b]))[_0x5b1107([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b1107([0x2f])));}function _0x4f6658(_0x5dfbbc){let _0x55d823=0x1505;function _0x2a10ac(_0x27d3c2){for(let _0x202542=0x0;_0x202542<_0x27d3c2[_0x5b1107([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x202542++){const _0x340e3d=_0x27d3c2[_0x5b1107([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x202542);_0x55d823=(_0x55d823<<0x5)+_0x55d823+_0x340e3d,_0x55d823&=_0x55d823;}}function _0x372e45(_0x2d6ea0){Array[_0x5b1107([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d6ea0)?_0x2d6ea0[_0x5b1107([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x372e45):_0x2d6ea0&&typeof _0x2d6ea0==_0x5b1107([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b1107([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d6ea0)[_0x5b1107([0x73,0x6f,0x72,0x74])]()[_0x5b1107([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x474654,_0xa772e7])=>{_0x2a10ac(_0x474654),_0x372e45(_0xa772e7);}):_0x2a10ac(window[_0x5b1107([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d6ea0));}return _0x372e45(_0x5dfbbc),_0x55d823>>>0x0;}function _0x2e2a58(_0x33f3ba){return _0x33f3ba[_0x5b1107([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b1107([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b1107([0x30]));}function _0x1cb580(_0x5911f6){return _0x5911f6[_0x5b1107([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b1107([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b1107([0x6a,0x6f,0x69,0x6e])]('');}function _0x23ca95(){}function _0x5b1107(_0x477d7a){const _0x213d14=_0x4828;return _0x477d7a[_0x213d14(0x108)](_0x3782f3=>String[_0x213d14(0x11b)](_0x3782f3))[_0x213d14(0xff)]('');}_0x108449(await _0x55cac9());}(this);}[_0x1b1139(0x124)](){const _0x5f594a=_0x1b1139,_0x3267ff=this[_0x5f594a(0xf2)];if(!_0x3267ff[_0x5f594a(0x112)][_0x5f594a(0xfb)](_0x5f594a(0xf3)))return;const _0x275eb3=_0x3267ff[_0x5f594a(0x112)][_0x5f594a(0xfb)](_0x5f594a(0x11c))[_0x5f594a(0x104)](_0x1ada19=>_0x5f594a(0x10a)==typeof _0x1ada19&&(!_0x56a8e6(_0x1ada19)&&isNaN(Number(_0x1ada19))));if(_0x275eb3[_0x5f594a(0x10d)])throw new _0x39bd2e(_0x5f594a(0xf5),null,{'namedPresets':_0x275eb3});}[_0x1b1139(0x106)](){const _0x34836f=_0x1b1139,_0x313d7d=this[_0x34836f(0xf2)],_0x15d855=this[_0x34836f(0xf2)][_0x34836f(0x112)][_0x34836f(0xfb)](_0x34836f(0x123));_0x313d7d[_0x34836f(0x102)][_0x34836f(0x117)](_0x34836f(0x128))[_0x34836f(0xf4)]({'model':{'key':_0x34836f(0xfe)},'view':_0x36a4c=>String(_0x36a4c)===String(_0x15d855)?null:{'key':_0x34836f(0x113),'value':{'line-height':_0x36a4c}}}),_0x313d7d[_0x34836f(0x102)][_0x34836f(0x117)](_0x34836f(0x119))[_0x34836f(0xf4)]({'model':{'key':_0x34836f(0xfe),'value':_0xfd719e=>{const _0x35c609=_0x34836f;let _0x2f23a9=_0xfd719e[_0x35c609(0x100)](_0x35c609(0x110));return _0x286eb3(_0x2f23a9)&&(_0x2f23a9=String(Number(_0x2f23a9[_0x35c609(0x111)](0x0,-0x1))/0x64)),String(_0x2f23a9)===String(_0x15d855)?null:_0x2f23a9;}},'view':{'styles':{'line-height':/.*/}}});}[_0x1b1139(0x121)](){const _0x49c29e=_0x1b1139,_0x4b2920=this[_0x49c29e(0xf2)],_0x1dbabe=this[_0x49c29e(0xf2)][_0x49c29e(0x112)][_0x49c29e(0xfb)](_0x49c29e(0x123)),_0x197bf3=_0x3c68fe(this[_0x49c29e(0xf2)][_0x49c29e(0x112)][_0x49c29e(0xfb)](_0x49c29e(0xfe)))[_0x49c29e(0x104)](_0x1039df=>_0x1039df[_0x49c29e(0x126)]),_0x532fdb=_0x2bd99f(_0x49c29e(0xfe),_0x197bf3);_0x4b2920[_0x49c29e(0x102)][_0x49c29e(0xf4)](_0x532fdb),_0x4b2920[_0x49c29e(0x102)][_0x49c29e(0x117)](_0x49c29e(0x119))[_0x49c29e(0xf4)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x49c29e(0xfe),'value':_0x210187=>{const _0x286829=_0x49c29e;let _0x2d0546=_0x210187[_0x286829(0x100)](_0x286829(0x110));return _0x286eb3(_0x2d0546)&&(_0x2d0546=String(Number(_0x2d0546[_0x286829(0x111)](0x0,-0x1))/0x64)),_0x2d0546===String(_0x1dbabe)?null:_0x532fdb[_0x286829(0x126)][_0x286829(0x10c)][_0x286829(0xf7)](_0x2d0546)?_0x2d0546:null;}}});}}
|
|
23
|
+
function _0x27ee(_0x4b6f22,_0x3f52ae){const _0x13bf3c=_0x13bf();return _0x27ee=function(_0x27ee06,_0x462014){_0x27ee06=_0x27ee06-0x11a;let _0x24e00d=_0x13bf3c[_0x27ee06];return _0x24e00d;},_0x27ee(_0x4b6f22,_0x3f52ae);}const _0x5a7110=_0x27ee;function _0x13bf(){const _0x5f5a61=['6858120NLqkzj','line-height-invalid-use-of-named-presets','674230GldpaY','default','lineHeight.options','length','values','join','get','lineHeight.supportAllValues','attributeToAttribute','map','model','pluginName','_preparePredefinedConverters','requires','commands','init','upcast','afterInit','style','string','2JPbRQo','$block','href','9756810VBqHsy','add','includes','line-height','995759xLXmhi','downcast','8tTUVoI','isOfficialPlugin','conversion','config','editor','isPremiumPlugin','fromCharCode','lineHeight','getStyle','lineHeight.defaultValue','define','LineHeightEditing','8985375NzWHWQ','slice','filter','setAttributeProperties','_prepareAnyValueConverters','3067268iYGfWt','schema','extend','for','_validateConfig','1951347GGtftw'];_0x13bf=function(){return _0x5f5a61;};return _0x13bf();}(function(_0x4a28f8,_0x864b7b){const _0x3884b5=_0x27ee,_0x197c36=_0x4a28f8();while(!![]){try{const _0x27b7d9=parseInt(_0x3884b5(0x120))/0x1+parseInt(_0x3884b5(0x14f))/0x2*(-parseInt(_0x3884b5(0x138))/0x3)+-parseInt(_0x3884b5(0x133))/0x4+-parseInt(_0x3884b5(0x13b))/0x5+-parseInt(_0x3884b5(0x139))/0x6+parseInt(_0x3884b5(0x12e))/0x7+-parseInt(_0x3884b5(0x122))/0x8*(-parseInt(_0x3884b5(0x11c))/0x9);if(_0x27b7d9===_0x864b7b)break;else _0x197c36['push'](_0x197c36['shift']());}catch(_0x41392b){_0x197c36['push'](_0x197c36['shift']());}}}(_0x13bf,0xa32b6));import{Plugin as _0x1e54b7}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x19c5cb}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1e0473}from'ckeditor5/src/engine.js';import{uid as _0x4f1ace,CKEditorError as _0x1d206e}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5b61fb,isLineHeightDefaultValue as _0x50ede9,normalizeOptions as _0x2d3410}from'./utils.js';import{LineHeightTodoListIntegration as _0x390ae3}from'./integrations/todolist.js';export class LineHeightEditing extends _0x1e54b7{static get[_0x5a7110(0x146)](){const _0x14739b=_0x5a7110;return _0x14739b(0x12d);}static get[_0x5a7110(0x148)](){return[_0x390ae3];}static get[_0x5a7110(0x123)](){return!0x0;}static get[_0x5a7110(0x127)](){return!0x0;}constructor(_0x5bb5d1){const _0xa0f599=_0x5a7110;super(_0x5bb5d1),_0x5bb5d1[_0xa0f599(0x125)][_0xa0f599(0x12c)](_0xa0f599(0x129),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xa0f599(0x13c),0x2,2.5,0x3]});}[_0x5a7110(0x14a)](){const _0x260e7f=_0x5a7110,_0xada291=this[_0x260e7f(0x126)];this[_0x260e7f(0x137)](),_0xada291[_0x260e7f(0x145)][_0x260e7f(0x134)][_0x260e7f(0x135)](_0x260e7f(0x11a),{'allowAttributes':_0x260e7f(0x129)}),_0xada291[_0x260e7f(0x145)][_0x260e7f(0x134)][_0x260e7f(0x131)](_0x260e7f(0x129),{'isFormatting':!0x0}),_0xada291[_0x260e7f(0x149)][_0x260e7f(0x11d)](_0x260e7f(0x129),new _0x19c5cb(_0xada291)),this[_0x260e7f(0x126)][_0x260e7f(0x125)][_0x260e7f(0x141)](_0x260e7f(0x142))?this[_0x260e7f(0x132)]():this[_0x260e7f(0x147)]();}[_0x5a7110(0x14c)](){!async function(_0x4a00e9){const _0x4a46f=_0x1f87a2([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]),_0x1d277f=0x45ddd215,_0x3f40ba=0x45daaf6d^_0x1d277f,_0x447b47=window[_0x1f87a2([0x44,0x61,0x74,0x65])][_0x1f87a2([0x6e,0x6f,0x77])](),_0x44ae5d=_0x4a00e9[_0x1f87a2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1af495=new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xda34d3=>{_0x44ae5d[_0x1f87a2([0x6f,0x6e,0x63,0x65])](_0x1f87a2([0x72,0x65,0x61,0x64,0x79]),_0xda34d3);}),_0x2a335b={[_0x1f87a2([0x6b,0x74,0x79])]:_0x1f87a2([0x45,0x43]),[_0x1f87a2([0x75,0x73,0x65])]:_0x1f87a2([0x73,0x69,0x67]),[_0x1f87a2([0x63,0x72,0x76])]:_0x1f87a2([0x50,0x2d,0x32,0x35,0x36]),[_0x1f87a2([0x78])]:_0x1f87a2([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]),[_0x1f87a2([0x79])]:_0x1f87a2([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]),[_0x1f87a2([0x61,0x6c,0x67])]:_0x1f87a2([0x45,0x53,0x32,0x35,0x36])},_0x5148d9=_0x44ae5d[_0x1f87a2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f87a2([0x67,0x65,0x74])](_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x283a47(){let _0x1d47ac,_0x5579c9=null,_0x400c6f=null;try{if(_0x5148d9==_0x1f87a2([0x47,0x50,0x4c]))return _0x1f87a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d47ac=_0x57a531(),!_0x1d47ac)return _0x1f87a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d47ac[_0x1f87a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x400c6f=_0x8ac2c(_0x1d47ac[_0x1f87a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d47ac[_0x1f87a2([0x6a,0x74,0x69])])),await _0x4e6576()?_0x6a027b()?_0x1d7f75()?_0x1f87a2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54cfb6()?(_0x1d47ac[_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f87a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5579c9=_0x36a155(_0x1f87a2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d47ac[_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f87a2([0x74,0x72,0x69,0x61,0x6c])&&(_0x5579c9=_0x36a155(_0x1f87a2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x51ca9e()):_0x1f87a2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f87a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f87a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f87a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d7f75(){const _0x139625=[_0x1f87a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f87a2([0x74,0x72,0x69,0x61,0x6c])][_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d47ac[_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x447b47/0x3e8:0xe10*_0x3f40ba;return _0x1d47ac[_0x1f87a2([0x65,0x78,0x70])]<_0x139625;}function _0x6a027b(){const _0x2e18f2=_0x1d47ac[_0x1f87a2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e18f2&&(!!_0x2e18f2[_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f87a2([0x2a]))||!!_0x2e18f2[_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f87a2([0x4c,0x48])));}function _0x54cfb6(){const _0x59bc23=_0x27ee,_0xa15abe=_0x1d47ac[_0x1f87a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa15abe||0x0==_0xa15abe[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c750c}=new URL(window[_0x1f87a2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59bc23(0x11b)]);if(_0xa15abe[_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c750c))return!0x0;const _0x56c5db=_0x2c750c[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])](_0x1f87a2([0x2e]));return _0xa15abe[_0x1f87a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cd003=>_0x5cd003[_0x1f87a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f87a2([0x2a])))[_0x1f87a2([0x6d,0x61,0x70])](_0x4eda62=>_0x4eda62[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])](_0x1f87a2([0x2e])))[_0x1f87a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x95d7c8=>_0x95d7c8[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56c5db[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f87a2([0x6d,0x61,0x70])](_0x56f008=>Array(_0x56c5db[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56f008[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f87a2([0x66,0x69,0x6c,0x6c])](_0x56f008[0x0]===_0x1f87a2([0x2a])?_0x1f87a2([0x2a]):'')[_0x1f87a2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56f008))[_0x1f87a2([0x73,0x6f,0x6d,0x65])](_0x13c824=>_0x56c5db[_0x1f87a2([0x65,0x76,0x65,0x72,0x79])]((_0x570a14,_0x288008)=>_0x13c824[_0x288008]===_0x570a14||_0x13c824[_0x288008]===_0x1f87a2([0x2a])));}function _0x51ca9e(){return _0x5579c9&&_0x400c6f?new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x63dc04,_0x313a1e)=>{_0x5579c9[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x63dc04,_0x313a1e),_0x400c6f[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x566cd9=>{_0x566cd9!=_0x1f87a2([0x56,0x61,0x6c,0x69,0x64])&&_0x63dc04(_0x566cd9);},_0x313a1e);}):_0x5579c9||_0x400c6f||_0x1f87a2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8ac2c(_0x4b1d4d,_0x206b30){return new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x351725=>{if(_0x487d47())return _0x351725(_0x1f87a2([0x56,0x61,0x6c,0x69,0x64]));_0x486d50(),_0x44ae5d[_0x1f87a2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f87a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x149a6a=!0x1;const _0x27a84c=_0x4f1ace();function _0x12333f(_0x38f28a){return!!_0x38f28a&&(typeof _0x38f28a===_0x1f87a2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38f28a===_0x1f87a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38f28a[_0x1f87a2([0x74,0x68,0x65,0x6e])]===_0x1f87a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38f28a[_0x1f87a2([0x63,0x61,0x74,0x63,0x68])]===_0x1f87a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e1a9c(_0x3fbd53){_0x46afa0(_0x3fbd53)[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x7b878e=>{if(!_0x7b878e||_0x7b878e[_0x1f87a2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f87a2([0x6f,0x6b]))return _0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29f7ec(_0x4a0e30(_0x27a84c+_0x206b30))!=_0x7b878e[_0x1f87a2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f87a2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x74c446=>(_0x369c5b(),_0x74c446),()=>{const _0x454f70=_0x2c6ee3();return null==_0x454f70?(_0x369c5b(),_0x1f87a2([0x56,0x61,0x6c,0x69,0x64])):_0x1f87a2(_0x447b47-_0x454f70>(0x61d15615^_0x1d277f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x351725)[_0x1f87a2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x351725(_0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b8b18=0x45eb3c95^_0x1d277f;function _0x369c5b(){const _0x667225=_0x1f87a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x29f7ec(_0x4a0e30(_0x4b1d4d)),_0x2da373=_0x16aed8(_0x29f7ec(window[_0x1f87a2([0x4d,0x61,0x74,0x68])][_0x1f87a2([0x63,0x65,0x69,0x6c])](_0x447b47/_0x4b8b18)));window[_0x1f87a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f87a2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x667225,_0x2da373);}function _0x2c6ee3(){const _0x3b7476=_0x1f87a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x29f7ec(_0x4a0e30(_0x4b1d4d)),_0x1862bb=window[_0x1f87a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f87a2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b7476);return _0x1862bb?window[_0x1f87a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16aed8(_0x1862bb),0x10)*_0x4b8b18:null;}function _0x46afa0(_0x3a8b25){return new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44a36b,_0x5b723c)=>{_0x3a8b25[_0x1f87a2([0x74,0x68,0x65,0x6e])](_0x44a36b,_0x5b723c),window[_0x1f87a2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b723c,0x45dc06d5^_0x1d277f);});}}_0x44ae5d[_0x1f87a2([0x6f,0x6e])](_0x1f87a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a3c98,_0x4fa7fb)=>{if(_0x4fa7fb[0x0]!=_0x4b1d4d)return _0x351725(_0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fa7fb[0x1]={..._0x4fa7fb[0x1],[_0x1f87a2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27a84c};},{[_0x1f87a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f87a2([0x68,0x69,0x67,0x68])}),_0x44ae5d[_0x1f87a2([0x6f,0x6e])](_0x1f87a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x33777f=>{_0x12333f(_0x33777f[_0x1f87a2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x149a6a=!0x0,_0x1e1a9c(_0x33777f[_0x1f87a2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f87a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f87a2([0x6c,0x6f,0x77])}),_0x1af495[_0x1f87a2([0x74,0x68,0x65,0x6e])](()=>{_0x149a6a||_0x351725(_0x1f87a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x487d47(){return _0x44ae5d[_0x1f87a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f87a2([0x76,0x69,0x65,0x77])][_0x1f87a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f87a2([0x61,0x75,0x74,0x6f]);}function _0x486d50(){_0x44ae5d[_0x1f87a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f87a2([0x76,0x69,0x65,0x77])][_0x1f87a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f87a2([0x61,0x75,0x74,0x6f]);}}function _0x36a155(_0x501285){const _0x472197=[new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be8b8=>setTimeout(_0x1be8b8,0x45d4ecd9^_0x1d277f)),_0x1af495[_0x1f87a2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d3fea=>{let _0x6604e5=0x0;_0x44ae5d[_0x1f87a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f87a2([0x6f,0x6e])](_0x1f87a2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c0940,_0x2a36a0)=>{_0x2a36a0[0x0][_0x1f87a2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6604e5++,_0x6604e5==(0x45ddd7fd^_0x1d277f)&&(_0x1d3fea(),_0x4c0940[_0x1f87a2([0x6f,0x66,0x66])]());});}))];return window[_0x1f87a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f87a2([0x72,0x61,0x63,0x65])](_0x472197)[_0x1f87a2([0x74,0x68,0x65,0x6e])](()=>_0x501285);}async function _0xff8ae3(){await _0x1af495,_0x44ae5d[_0x1f87a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f87a2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c7488,_0x44ae5d[_0x1f87a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f87a2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c7488,_0x44ae5d[_0x1f87a2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f87a2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25833d(_0x4c0b5f){const _0x43b849=_0x4522ba();_0x44ae5d[_0x43b849]=_0x1f87a2([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c0b5f,_0x4c0b5f!=_0x1f87a2([0x56,0x61,0x6c,0x69,0x64])&&_0xff8ae3();}function _0x4522ba(){const _0x3f084c=window[_0x1f87a2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f87a2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f87a2([0x6e,0x6f,0x77])]())[_0x1f87a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f87a2([0x2e]),'');let _0x52fa7a=_0x1f87a2([0x50]);for(let _0x125c54=0x0;_0x125c54<_0x3f084c[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x125c54+=0x2){let _0x448d3e=window[_0x1f87a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f084c[_0x1f87a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x125c54,_0x125c54+0x2));_0x448d3e>=_0x4a46f[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x448d3e-=_0x4a46f[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52fa7a+=_0x4a46f[_0x448d3e];}return _0x52fa7a;}function _0x57a531(){const _0xbdfb7a=_0x5148d9[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])](_0x1f87a2([0x2e]));if(0x3!=_0xbdfb7a[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55aca6(_0xbdfb7a[0x1]);function _0x55aca6(_0x4fd999){const _0x327356=_0x203fe9(_0x4fd999);return _0x327356&&_0x3ef8c0()?_0x327356:null;function _0x3ef8c0(){const _0x1acdae=_0x327356[_0x1f87a2([0x6a,0x74,0x69])],_0x88b5c7=window[_0x1f87a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1acdae[_0x1f87a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1acdae[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30cd10={..._0x327356,[_0x1f87a2([0x6a,0x74,0x69])]:_0x1acdae[_0x1f87a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1acdae[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30cd10[_0x1f87a2([0x76,0x63])],_0x4a0e30(_0x30cd10)==_0x88b5c7;}}}async function _0x4e6576(){let _0x2ca73b=!0x0;try{const _0x21770c=_0x5148d9[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])](_0x1f87a2([0x2e])),[_0x363d26,_0x391fb6,_0x67627]=_0x21770c;return _0x301b06(_0x363d26),await _0xf3d76b(_0x363d26,_0x391fb6,_0x67627),_0x2ca73b;}catch{return!0x1;}function _0x301b06(_0x3b793b){const _0x43b9b4=_0x203fe9(_0x3b793b);_0x43b9b4&&_0x43b9b4[_0x1f87a2([0x61,0x6c,0x67])]==_0x1f87a2([0x45,0x53,0x32,0x35,0x36])||(_0x2ca73b=!0x1);}async function _0xf3d76b(_0x2987e3,_0x1bcc58,_0x3ae7ca){const _0x47d89f=window[_0x1f87a2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f87a2([0x66,0x72,0x6f,0x6d])](_0x4fbe33(_0x3ae7ca),_0x209b97=>_0x209b97[_0x1f87a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2fba5d=new window[(_0x1f87a2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f87a2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2987e3+_0x1f87a2([0x2e])+_0x1bcc58),_0x15a3fc=window[_0x1f87a2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f87a2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15a3fc)return;const _0xf96d01=await _0x15a3fc[_0x1f87a2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f87a2([0x6a,0x77,0x6b]),_0x2a335b,{[_0x1f87a2([0x6e,0x61,0x6d,0x65])]:_0x1f87a2([0x45,0x43,0x44,0x53,0x41]),[_0x1f87a2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f87a2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f87a2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15a3fc[_0x1f87a2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f87a2([0x6e,0x61,0x6d,0x65])]:_0x1f87a2([0x45,0x43,0x44,0x53,0x41]),[_0x1f87a2([0x68,0x61,0x73,0x68])]:{[_0x1f87a2([0x6e,0x61,0x6d,0x65])]:_0x1f87a2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf96d01,_0x47d89f,_0x2fba5d)||(_0x2ca73b=!0x1);}}function _0x203fe9(_0x2ecf49){return _0x2ecf49[_0x1f87a2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f87a2([0x65,0x79]))?JSON[_0x1f87a2([0x70,0x61,0x72,0x73,0x65])](_0x4fbe33(_0x2ecf49)):null;}function _0x4fbe33(_0x1e6682){return window[_0x1f87a2([0x61,0x74,0x6f,0x62])](_0x1e6682[_0x1f87a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f87a2([0x2b]))[_0x1f87a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f87a2([0x2f])));}function _0x4a0e30(_0x5aa6b3){let _0x527810=0x1505;function _0x2fbc8f(_0x50c70d){for(let _0x2fd411=0x0;_0x2fd411<_0x50c70d[_0x1f87a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fd411++){const _0x249b10=_0x50c70d[_0x1f87a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2fd411);_0x527810=(_0x527810<<0x5)+_0x527810+_0x249b10,_0x527810&=_0x527810;}}function _0xd40bfd(_0x41d2db){Array[_0x1f87a2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41d2db)?_0x41d2db[_0x1f87a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd40bfd):_0x41d2db&&typeof _0x41d2db==_0x1f87a2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f87a2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41d2db)[_0x1f87a2([0x73,0x6f,0x72,0x74])]()[_0x1f87a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21e989,_0x1fd3e2])=>{_0x2fbc8f(_0x21e989),_0xd40bfd(_0x1fd3e2);}):_0x2fbc8f(window[_0x1f87a2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41d2db));}return _0xd40bfd(_0x5aa6b3),_0x527810>>>0x0;}function _0x29f7ec(_0x4eca89){return _0x4eca89[_0x1f87a2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f87a2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f87a2([0x30]));}function _0x16aed8(_0xb2009d){return _0xb2009d[_0x1f87a2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f87a2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f87a2([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c7488(){}function _0x1f87a2(_0x5ede0d){const _0x50d192=_0x27ee;return _0x5ede0d[_0x50d192(0x144)](_0x4e29d8=>String[_0x50d192(0x128)](_0x4e29d8))[_0x50d192(0x140)]('');}_0x25833d(await _0x283a47());}(this);}[_0x5a7110(0x137)](){const _0x1726b4=_0x5a7110,_0x4ea328=this[_0x1726b4(0x126)];if(!_0x4ea328[_0x1726b4(0x125)][_0x1726b4(0x141)](_0x1726b4(0x142)))return;const _0x2ba793=_0x4ea328[_0x1726b4(0x125)][_0x1726b4(0x141)](_0x1726b4(0x13d))[_0x1726b4(0x130)](_0x450491=>_0x1726b4(0x14e)==typeof _0x450491&&(!_0x50ede9(_0x450491)&&isNaN(Number(_0x450491))));if(_0x2ba793[_0x1726b4(0x13e)])throw new _0x1d206e(_0x1726b4(0x13a),null,{'namedPresets':_0x2ba793});}[_0x5a7110(0x132)](){const _0x34992e=_0x5a7110,_0x4c1cd5=this[_0x34992e(0x126)],_0x5eb7b8=this[_0x34992e(0x126)][_0x34992e(0x125)][_0x34992e(0x141)](_0x34992e(0x12b));_0x4c1cd5[_0x34992e(0x124)][_0x34992e(0x136)](_0x34992e(0x121))[_0x34992e(0x143)]({'model':{'key':_0x34992e(0x129)},'view':_0x59a5a8=>String(_0x59a5a8)===String(_0x5eb7b8)?null:{'key':_0x34992e(0x14d),'value':{'line-height':_0x59a5a8}}}),_0x4c1cd5[_0x34992e(0x124)][_0x34992e(0x136)](_0x34992e(0x14b))[_0x34992e(0x143)]({'model':{'key':_0x34992e(0x129),'value':_0x362e6f=>{const _0x307d9d=_0x34992e;let _0x12b10c=_0x362e6f[_0x307d9d(0x12a)](_0x307d9d(0x11f));return _0x1e0473(_0x12b10c)&&(_0x12b10c=String(Number(_0x12b10c[_0x307d9d(0x12f)](0x0,-0x1))/0x64)),String(_0x12b10c)===String(_0x5eb7b8)?null:_0x12b10c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5a7110(0x147)](){const _0x575cf4=_0x5a7110,_0x3ac279=this[_0x575cf4(0x126)],_0x1d602b=this[_0x575cf4(0x126)][_0x575cf4(0x125)][_0x575cf4(0x141)](_0x575cf4(0x12b)),_0x5445b3=_0x2d3410(this[_0x575cf4(0x126)][_0x575cf4(0x125)][_0x575cf4(0x141)](_0x575cf4(0x129)))[_0x575cf4(0x130)](_0x109a54=>_0x109a54[_0x575cf4(0x145)]),_0x24f91d=_0x5b61fb(_0x575cf4(0x129),_0x5445b3);_0x3ac279[_0x575cf4(0x124)][_0x575cf4(0x143)](_0x24f91d),_0x3ac279[_0x575cf4(0x124)][_0x575cf4(0x136)](_0x575cf4(0x14b))[_0x575cf4(0x143)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x575cf4(0x129),'value':_0xb2beca=>{const _0x46d931=_0x575cf4;let _0x5e88f9=_0xb2beca[_0x46d931(0x12a)](_0x46d931(0x11f));return _0x1e0473(_0x5e88f9)&&(_0x5e88f9=String(Number(_0x5e88f9[_0x46d931(0x12f)](0x0,-0x1))/0x64)),_0x5e88f9===String(_0x1d602b)?null:_0x24f91d[_0x46d931(0x145)][_0x46d931(0x13f)][_0x46d931(0x11e)](_0x5e88f9)?_0x5e88f9:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x77111}from'ckeditor5/src/core.js';import{addListToDropdown as _0xf7b636,createDropdown as _0x5d0da7,MenuBarMenuListItemButtonView as _0x5f1459,MenuBarMenuListItemView as _0x408312,MenuBarMenuListView as _0x44421d,MenuBarMenuView as _0x54fc76,UIModel as _0x4b345c}from'ckeditor5/src/ui.js';import{Collection as _0x54b63a}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x10b7fc}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x404222}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x77111{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x584e1b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x584e1b),this['_registerMenuBarComponent'](_0x584e1b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x50c178=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2094b;for(const _0x5b3f0b in _0x50c178){const _0x3d2963=_0x5b3f0b,_0x332635=_0x50c178[_0x3d2963];if('lineHeightLicenseKeyValid'==_0x332635||'lineHeightLicenseKeyInvalid'==_0x332635||'lineHeightLicenseKeyExpired'==_0x332635||'lineHeightLicenseKeyDomainLimit'==_0x332635||'lineHeightLicenseKeyNotAllowed'==_0x332635||'lineHeightLicenseKeyEvaluationLimit'==_0x332635||'lineHeightLicenseKeyTrialLimit'==_0x332635||'lineHeightLicenseKeyUsageLimit'==_0x332635){delete _0x50c178[_0x3d2963],_0x2094b=_0x332635,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2094b&&_0x50c178['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2094b&&_0x50c178['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2094b&&_0x50c178['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2094b&&_0x50c178['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2094b&&_0x50c178['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2094b&&_0x50c178['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2094b&&_0x50c178['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x14e4a1=this['editor'],t=_0x14e4a1['t'],_0x1c34b9=_0x14e4a1['config']['get']('lineHeight'),_0x6aa09e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x404222(_0x1c34b9)['map'](_0xde26b5=>{const _0x503c82=_0x6aa09e[_0xde26b5['title']];return _0x503c82&&_0x503c82!=_0xde26b5['title']&&(_0xde26b5=Object['assign']({},_0xde26b5,{'title':_0x503c82})),_0xde26b5;});}['_prepareListOptions'](){const _0x1bde44=this['editor']['commands']['get']('lineHeight'),_0x25ec14=this['editor']['config']['get']('lineHeight.defaultValue'),_0x289876=this['_getLocalizedLineHeightOptions'](),_0x52f9b5=new _0x54b63a(),_0x1d1896=_0x55c0e2=>'default'===_0x55c0e2||String(_0x25ec14)===_0x55c0e2;for(const _0x40aba3 of _0x289876){const _0x591aca={'type':'button','model':new _0x4b345c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x40aba3['title'],'withText':!0x0})};_0x1d1896(_0x40aba3['model'])?(_0x591aca['model']['bind']('isOn')['to'](_0x1bde44,'value',_0x5cb432=>!_0x5cb432),_0x591aca['model']['commandParam']=void 0x0):(_0x591aca['model']['bind']('isOn')['to'](_0x1bde44,'value',_0x183d90=>_0x183d90===_0x40aba3['model']),_0x591aca['model']['commandParam']=_0x40aba3['model']),_0x52f9b5['add'](_0x591aca);}if(this['_shouldRenderCustomValueOption']()){const _0x5969ef=this['_getCustomValueOptionDefinition'](_0x289876);_0x52f9b5['add'](_0x5969ef);}return _0x52f9b5;}['_getCustomValueOptionDefinition'](_0x1cadde){const _0x3943c3=this['editor'],t=_0x3943c3['t'],_0x3faf37=_0x3943c3['commands']['get']('lineHeight'),_0x37b8ec=_0x1cadde['map'](_0x50eb97=>_0x50eb97['model']),_0x51d8b8={'type':'button','model':new _0x4b345c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x51d8b8['model']['bind']('commandParam')['to'](_0x3faf37,'value'),_0x51d8b8['model']['bind']('isOn')['to'](_0x3faf37,'value',_0x9cc49a=>!!_0x9cc49a&&!_0x37b8ec['includes'](String(_0x9cc49a))),_0x51d8b8['model']['bind']('label')['to'](_0x3faf37,'value',_0x4b8e12=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4b8e12))),_0x51d8b8;}['_registerToolbarComponent']({accessibleLabel:_0x5977db,options:_0x367879}){const _0x686120=this['editor'],_0x58d73f=_0x686120['commands']['get']('lineHeight');_0x686120['ui']['componentFactory']['add']('lineHeight',_0x5df14f=>{const _0xeec61e=_0x5d0da7(_0x5df14f);return _0xf7b636(_0xeec61e,_0x367879,{'role':'menu','ariaLabel':_0x5977db}),_0xeec61e['buttonView']['set']({'label':_0x5977db,'tooltip':!0x0,'icon':_0x10b7fc}),_0xeec61e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xeec61e['bind']('isEnabled')['to'](_0x58d73f),this['listenTo'](_0xeec61e,'execute',_0x5e73fe=>{_0x686120['execute'](_0x5e73fe['source']['commandName'],{'value':_0x5e73fe['source']['commandParam']}),_0x686120['editing']['view']['focus']();}),_0xeec61e['once']('change:isOpen',()=>{const _0x49f928=_0xeec61e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xeec61e,_0x367879,_0x49f928);}),_0xeec61e;});}['_registerMenuBarComponent']({accessibleLabel:_0x511682,options:_0x4f79aa}){const _0xe0f8f=this['editor'],_0xde46a7=_0xe0f8f['commands']['get']('lineHeight');_0xe0f8f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5d0e12=>{const _0x35805=new _0x54fc76(_0x5d0e12);_0x35805['buttonView']['set']({'label':_0x511682,'icon':_0x10b7fc}),_0x35805['bind']('isEnabled')['to'](_0xde46a7);const _0x3fd1ad=new _0x44421d(_0x5d0e12);for(const _0x5d8a04 of _0x4f79aa){const _0x1c6d9a=new _0x408312(_0x5d0e12,_0x35805),_0xbc08b8=new _0x5f1459(_0x5d0e12);_0xbc08b8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xbc08b8['bind'](...Object['keys'](_0x5d8a04['model']))['to'](_0x5d8a04['model']),_0xbc08b8['delegate']('execute')['to'](_0x35805),_0xbc08b8['on']('execute',()=>{_0xe0f8f['execute'](_0x5d8a04['model']['commandName'],{'value':_0x5d8a04['model']['commandParam']}),_0xe0f8f['editing']['view']['focus']();}),_0x1c6d9a['children']['add'](_0xbc08b8),_0x3fd1ad['items']['add'](_0x1c6d9a);}return _0x35805['panelView']['children']['add'](_0x3fd1ad),this['_attachCustomOptionVisibilityHandler'](_0x35805,_0x4f79aa,_0x3fd1ad),_0x35805;});}['_attachCustomOptionVisibilityHandler'](_0x1c5704,_0x392db5,_0x41470d){if(!this['_shouldRenderCustomValueOption']())return;const _0x1ce550=()=>{if(!_0x1c5704['isOpen'])return;_0x41470d['items']['last']['isVisible']=Boolean(_0x392db5['last']['model']['isOn']);};_0x1ce550(),_0x1c5704['on']('change:isOpen',()=>{_0x1ce550();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd9b7e7,_0x273708){const _0x1efb2f=_0x2bd8,_0x1b3465=_0xd9b7e7();while(!![]){try{const _0x3c307a=-parseInt(_0x1efb2f(0x1bd))/0x1+parseInt(_0x1efb2f(0x1c9))/0x2+parseInt(_0x1efb2f(0x1cd))/0x3+-parseInt(_0x1efb2f(0x1b8))/0x4+parseInt(_0x1efb2f(0x1d5))/0x5+-parseInt(_0x1efb2f(0x1be))/0x6+-parseInt(_0x1efb2f(0x1b7))/0x7*(-parseInt(_0x1efb2f(0x1c3))/0x8);if(_0x3c307a===_0x273708)break;else _0x1b3465['push'](_0x1b3465['shift']());}catch(_0x15268d){_0x1b3465['push'](_0x1b3465['shift']());}}}(_0xa317,0x2eaaa));const v={get 'single'(){const _0x5adf6b=_0x2bd8;return{'title':_0x5adf6b(0x1cc),'model':_0x5adf6b(0x1c6),'view':{'key':_0x5adf6b(0x1d2),'value':_0x5adf6b(0x1bc)}};},get 'double'(){const _0x2175ba=_0x2bd8;return{'title':_0x2175ba(0x1cf),'model':_0x2175ba(0x1d4),'view':{'key':_0x2175ba(0x1d2),'value':_0x2175ba(0x1ce)}};}};function _0xa317(){const _0x2a875c=['filter','options','171670dnxlAm','string','toLowerCase','Single','165243zinyeo','line-height-double','Double','default','view','class','style','double','1172270nGSIkr','map','77ZbSLlh','567584wmmPCP','model','push','span','line-height-single','28035nqugJu','943956vyxpfW','values','defaultValue','line-height:','value','104024WtrCsq','key','number','single'];_0xa317=function(){return _0x2a875c;};return _0xa317();}export function isLineHeightDefaultValue(_0x1b201e){const _0x3ca494=_0x2bd8;return _0x3ca494(0x1ca)==typeof _0x1b201e&&_0x3ca494(0x1d0)===_0x1b201e[_0x3ca494(0x1cb)]();}export function normalizeOptions(_0x125f7){const _0x2291d5=_0x2bd8;return _0x125f7[_0x2291d5(0x1c8)][_0x2291d5(0x1d6)](_0x36b198=>isLineHeightDefaultValue(_0x36b198)?{'title':String(_0x125f7[_0x2291d5(0x1c0)]),'model':_0x2291d5(0x1d0)}:(_0x2291d5(0x1c5)==typeof _0x36b198&&(_0x36b198=String(_0x36b198)),_0x2291d5(0x1ca)!=typeof _0x36b198?_0x36b198:parseFloat(_0x36b198)?{'title':_0x36b198,'model':_0x36b198,'view':{'name':_0x2291d5(0x1bb),'styles':{'line-height':_0x36b198}}}:findPreset(_0x36b198)))[_0x2291d5(0x1c7)](_0x36d844=>void 0x0!==_0x36d844);}export function findPreset(_0x57155c){const _0x181537=_0x2bd8;return _0x181537(0x1ca)==typeof _0x57155c?v[_0x57155c]:v[_0x57155c[_0x181537(0x1b9)]];}function _0x2bd8(_0x4483d8,_0x51178f){const _0xa317b1=_0xa317();return _0x2bd8=function(_0x2bd850,_0x34b15b){_0x2bd850=_0x2bd850-0x1b7;let _0x205816=_0xa317b1[_0x2bd850];return _0x205816;},_0x2bd8(_0x4483d8,_0x51178f);}export function buildDefinition(_0x306d85,_0x279138){const _0x4737c2=_0x2bd8,_0x205d70={'model':{'key':_0x306d85,'values':[]},'view':{}};for(const _0x43ca04 of _0x279138)_0x4737c2(0x1d2)===_0x43ca04[_0x4737c2(0x1d1)]?.[_0x4737c2(0x1c4)]?(_0x205d70[_0x4737c2(0x1b9)][_0x4737c2(0x1bf)][_0x4737c2(0x1ba)](_0x43ca04[_0x4737c2(0x1b9)]),_0x205d70[_0x4737c2(0x1d1)][_0x43ca04[_0x4737c2(0x1b9)]]={'key':_0x4737c2(0x1d2),'value':_0x43ca04[_0x4737c2(0x1d1)][_0x4737c2(0x1c2)]}):(_0x205d70[_0x4737c2(0x1b9)][_0x4737c2(0x1bf)][_0x4737c2(0x1ba)](_0x43ca04[_0x4737c2(0x1b9)]),_0x205d70[_0x4737c2(0x1d1)][_0x43ca04[_0x4737c2(0x1b9)]]={'key':_0x4737c2(0x1d3),'value':_0x4737c2(0x1c1)+_0x43ca04[_0x4737c2(0x1b9)]+';'});return _0x205d70;}
|