@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250716.0 → 0.0.0-nightly-20250718.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 +7 -7
- package/src/index.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
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2fe9(){const _0x55a216=['55baiusp','document','filter','6135715qikfrl','2012350xrDzDr','model','editor','selection','664MqDEmZ','94157XxLgUS','schema','execute','setAttribute','checkAttribute','660OJoggv','isEnabled','953076QSroRP','6KJvKda','refresh','change','9JVrjIP','lineHeight','value','getAttribute','_canHaveLineHeight','from','getSelectedBlocks','2520504uDCHUZ','removeAttribute','14572dBEGDJ','1183819dEBety'];_0x2fe9=function(){return _0x55a216;};return _0x2fe9();}const _0x179655=_0x1ad9;(function(_0x36ed03,_0x82aa05){const _0x3f313d=_0x1ad9,_0x24a9e7=_0x36ed03();while(!![]){try{const _0x5bd220=parseInt(_0x3f313d(0x11c))/0x1+parseInt(_0x3f313d(0x119))/0x2+parseInt(_0x3f313d(0x12b))/0x3*(parseInt(_0x3f313d(0x11b))/0x4)+parseInt(_0x3f313d(0x120))/0x5*(-parseInt(_0x3f313d(0x12e))/0x6)+parseInt(_0x3f313d(0x126))/0x7*(-parseInt(_0x3f313d(0x125))/0x8)+parseInt(_0x3f313d(0x112))/0x9*(parseInt(_0x3f313d(0x121))/0xa)+parseInt(_0x3f313d(0x11d))/0xb*(-parseInt(_0x3f313d(0x12d))/0xc);if(_0x5bd220===_0x82aa05)break;else _0x24a9e7['push'](_0x24a9e7['shift']());}catch(_0x54872b){_0x24a9e7['push'](_0x24a9e7['shift']());}}}(_0x2fe9,0xac61b));import{Command as _0x429b3f}from'ckeditor5/src/core.js';function _0x1ad9(_0x5cf998,_0x2a22a0){const _0x2fe9ff=_0x2fe9();return _0x1ad9=function(_0x1ad9c8,_0x45ff0){_0x1ad9c8=_0x1ad9c8-0x111;let _0x23c6ca=_0x2fe9ff[_0x1ad9c8];return _0x23c6ca;},_0x1ad9(_0x5cf998,_0x2a22a0);}import{first as _0x331c71}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x429b3f{[_0x179655(0x12f)](){const _0x19b47f=_0x179655,_0x5958c6=this[_0x19b47f(0x123)][_0x19b47f(0x122)][_0x19b47f(0x11e)],_0x2d43e1=_0x331c71(_0x5958c6[_0x19b47f(0x124)][_0x19b47f(0x118)]());this[_0x19b47f(0x12c)]=Boolean(_0x2d43e1)&&this[_0x19b47f(0x116)](_0x2d43e1),this[_0x19b47f(0x114)]=this[_0x19b47f(0x12c)]&&_0x2d43e1[_0x19b47f(0x115)](_0x19b47f(0x113));}[_0x179655(0x128)](_0x437da3={}){const _0x3b33be=_0x179655,_0x484dae=this[_0x3b33be(0x123)][_0x3b33be(0x122)],_0x4a6552=_0x484dae[_0x3b33be(0x11e)][_0x3b33be(0x124)],_0x41add8=_0x437da3[_0x3b33be(0x114)];_0x484dae[_0x3b33be(0x111)](_0x4189dc=>{const _0x2db68a=_0x3b33be,_0x3c1193=Array[_0x2db68a(0x117)](_0x4a6552[_0x2db68a(0x118)]())[_0x2db68a(0x11f)](_0x153f03=>this[_0x2db68a(0x116)](_0x153f03));for(const _0x2d5ad1 of _0x3c1193)_0x41add8?_0x4189dc[_0x2db68a(0x129)](_0x2db68a(0x113),_0x41add8,_0x2d5ad1):_0x4189dc[_0x2db68a(0x11a)](_0x2db68a(0x113),_0x2d5ad1);});}[_0x179655(0x116)](_0xa008fd){const _0x1b51e0=_0x179655;return this[_0x1b51e0(0x123)][_0x1b51e0(0x122)][_0x1b51e0(0x127)][_0x1b51e0(0x12a)](_0xa008fd,_0x1b51e0(0x113));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4fc7d7=_0x5a53;function _0x1fe2(){const _0x140d00=['default','isOfficialPlugin','lineHeight.options','10pJWOud','join','upcast','415631LrnRVl','pluginName','attributeToAttribute','slice','LineHeightEditing','config','string','filter','length','define','extend','values','commands','753768rNFNbu','schema','get','includes','1230576NEfsAS','afterInit','style','downcast','lineHeight.supportAllValues','_preparePredefinedConverters','_validateConfig','lineHeight.defaultValue','lineHeight','href','getStyle','1274488PSpsUZ','fromCharCode','289460OHkJOv','165PjqklT','8430813HMdwyz','_prepareAnyValueConverters','564822uyuhbA','add','init','$block','isPremiumPlugin','2pLwlSc','map','line-height','setAttributeProperties','for','model','editor','line-height-invalid-use-of-named-presets','conversion','42mDYzOJ'];_0x1fe2=function(){return _0x140d00;};return _0x1fe2();}(function(_0x106868,_0x2fe67b){const _0x2d17f8=_0x5a53,_0x5530b3=_0x106868();while(!![]){try{const _0x3f0a61=-parseInt(_0x2d17f8(0x18f))/0x1*(-parseInt(_0x2d17f8(0x17f))/0x2)+parseInt(_0x2d17f8(0x1a0))/0x3+parseInt(_0x2d17f8(0x174))/0x4*(parseInt(_0x2d17f8(0x18c))/0x5)+-parseInt(_0x2d17f8(0x17a))/0x6*(parseInt(_0x2d17f8(0x188))/0x7)+parseInt(_0x2d17f8(0x19c))/0x8+-parseInt(_0x2d17f8(0x178))/0x9+-parseInt(_0x2d17f8(0x176))/0xa*(-parseInt(_0x2d17f8(0x177))/0xb);if(_0x3f0a61===_0x2fe67b)break;else _0x5530b3['push'](_0x5530b3['shift']());}catch(_0x770759){_0x5530b3['push'](_0x5530b3['shift']());}}}(_0x1fe2,0x779ab));import{Plugin as _0x1bc83d}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xb6806c}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5789d6}from'ckeditor5/src/engine.js';import{uid as _0x1a4021,CKEditorError as _0xbb6a73}from'ckeditor5/src/utils.js';function _0x5a53(_0x4246f2,_0x3771d3){const _0x1fe28f=_0x1fe2();return _0x5a53=function(_0x5a53e9,_0x4f677c){_0x5a53e9=_0x5a53e9-0x16f;let _0x26c5da=_0x1fe28f[_0x5a53e9];return _0x26c5da;},_0x5a53(_0x4246f2,_0x3771d3);}import{buildDefinition as _0x2d183f,isLineHeightDefaultValue as _0x3841ed,normalizeOptions as _0x33234f}from'./utils.js';export class LineHeightEditing extends _0x1bc83d{static get[_0x4fc7d7(0x190)](){const _0x451e98=_0x4fc7d7;return _0x451e98(0x193);}static get[_0x4fc7d7(0x18a)](){return!0x0;}static get[_0x4fc7d7(0x17e)](){return!0x0;}constructor(_0x82c2b6){const _0x3fe018=_0x4fc7d7;super(_0x82c2b6),_0x82c2b6[_0x3fe018(0x194)][_0x3fe018(0x198)](_0x3fe018(0x171),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3fe018(0x189),0x2,2.5,0x3]});}[_0x4fc7d7(0x17c)](){const _0x59cd9e=_0x4fc7d7,_0x5a2be9=this[_0x59cd9e(0x185)];this[_0x59cd9e(0x16f)](),_0x5a2be9[_0x59cd9e(0x184)][_0x59cd9e(0x19d)][_0x59cd9e(0x199)](_0x59cd9e(0x17d),{'allowAttributes':_0x59cd9e(0x171)}),_0x5a2be9[_0x59cd9e(0x184)][_0x59cd9e(0x19d)][_0x59cd9e(0x182)](_0x59cd9e(0x171),{'isFormatting':!0x0}),_0x5a2be9[_0x59cd9e(0x19b)][_0x59cd9e(0x17b)](_0x59cd9e(0x171),new _0xb6806c(_0x5a2be9)),this[_0x59cd9e(0x185)][_0x59cd9e(0x194)][_0x59cd9e(0x19e)](_0x59cd9e(0x1a4))?this[_0x59cd9e(0x179)]():this[_0x59cd9e(0x1a5)]();}[_0x4fc7d7(0x1a1)](){!async function(_0x28db5c){const _0x3471fe=_0x4cf9ca([0x75,0x4d,0x7a,0x38,0x74,0x33,0x48,0x4a,0x78,0x4e,0x45,0x67,0x36,0x72,0x50,0x32,0x31,0x43,0x6d,0x64,0x6f,0x56,0x73,0x63,0x41,0x68,0x53,0x6e,0x71,0x65,0x58,0x6b,0x47,0x6a,0x6c,0x57,0x77,0x79,0x54,0x51,0x4f,0x49,0x4b,0x30,0x5a,0x59,0x46,0x55,0x35,0x34,0x62,0x70,0x61,0x4c,0x39,0x42,0x69,0x37,0x44,0x52,0x66,0x76]),_0x3f4b2e=0xa974d1a,_0x328926=0xa9020a2^_0x3f4b2e,_0x394a81=window[_0x4cf9ca([0x44,0x61,0x74,0x65])][_0x4cf9ca([0x6e,0x6f,0x77])](),_0x1eb5ea=_0x28db5c[_0x4cf9ca([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a4ef4=new window[(_0x4cf9ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58c0f0=>{_0x1eb5ea[_0x4cf9ca([0x6f,0x6e,0x63,0x65])](_0x4cf9ca([0x72,0x65,0x61,0x64,0x79]),_0x58c0f0);}),_0x355c77={[_0x4cf9ca([0x6b,0x74,0x79])]:_0x4cf9ca([0x45,0x43]),[_0x4cf9ca([0x75,0x73,0x65])]:_0x4cf9ca([0x73,0x69,0x67]),[_0x4cf9ca([0x63,0x72,0x76])]:_0x4cf9ca([0x50,0x2d,0x32,0x35,0x36]),[_0x4cf9ca([0x78])]:_0x4cf9ca([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]),[_0x4cf9ca([0x79])]:_0x4cf9ca([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]),[_0x4cf9ca([0x61,0x6c,0x67])]:_0x4cf9ca([0x45,0x53,0x32,0x35,0x36])},_0x248810=_0x1eb5ea[_0x4cf9ca([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4cf9ca([0x67,0x65,0x74])](_0x4cf9ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x496c84(){let _0x2ed637,_0x416bf6=null,_0x38fb6d=null;try{if(_0x248810==_0x4cf9ca([0x47,0x50,0x4c]))return _0x4cf9ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ed637=_0x5ce603(),!_0x2ed637)return _0x4cf9ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ed637[_0x4cf9ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38fb6d=_0x3ccb27(_0x2ed637[_0x4cf9ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ed637[_0x4cf9ca([0x6a,0x74,0x69])])),await _0x55d06f()?_0x2632d7()?_0x4a8390()?_0x4cf9ca([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x291954()?(_0x2ed637[_0x4cf9ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cf9ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x416bf6=_0xeac263(_0x4cf9ca([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ed637[_0x4cf9ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cf9ca([0x74,0x72,0x69,0x61,0x6c])&&(_0x416bf6=_0xeac263(_0x4cf9ca([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25156b()):_0x4cf9ca([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4cf9ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4cf9ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4cf9ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a8390(){const _0x57d9f2=[_0x4cf9ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4cf9ca([0x74,0x72,0x69,0x61,0x6c])][_0x4cf9ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ed637[_0x4cf9ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x394a81/0x3e8:0xe10*_0x328926;return _0x2ed637[_0x4cf9ca([0x65,0x78,0x70])]<_0x57d9f2;}function _0x2632d7(){const _0x3433bb=_0x2ed637[_0x4cf9ca([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3433bb&&(!!_0x3433bb[_0x4cf9ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cf9ca([0x2a]))||!!_0x3433bb[_0x4cf9ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cf9ca([0x4c,0x48])));}function _0x291954(){const _0x75e3fb=_0x5a53,_0x537659=_0x2ed637[_0x4cf9ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x537659||0x0==_0x537659[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x476cc0}=new URL(window[_0x4cf9ca([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x75e3fb(0x172)]);if(_0x537659[_0x4cf9ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476cc0))return!0x0;const _0x2d15cc=_0x476cc0[_0x4cf9ca([0x73,0x70,0x6c,0x69,0x74])](_0x4cf9ca([0x2e]));return _0x537659[_0x4cf9ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e72a2=>_0x1e72a2[_0x4cf9ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cf9ca([0x2a])))[_0x4cf9ca([0x6d,0x61,0x70])](_0xb6ecdb=>_0xb6ecdb[_0x4cf9ca([0x73,0x70,0x6c,0x69,0x74])](_0x4cf9ca([0x2e])))[_0x4cf9ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x175cdd=>_0x175cdd[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d15cc[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cf9ca([0x6d,0x61,0x70])](_0x2f0fac=>Array(_0x2d15cc[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f0fac[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cf9ca([0x66,0x69,0x6c,0x6c])](_0x2f0fac[0x0]===_0x4cf9ca([0x2a])?_0x4cf9ca([0x2a]):'')[_0x4cf9ca([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f0fac))[_0x4cf9ca([0x73,0x6f,0x6d,0x65])](_0x2900a1=>_0x2d15cc[_0x4cf9ca([0x65,0x76,0x65,0x72,0x79])]((_0x555080,_0x3dda74)=>_0x2900a1[_0x3dda74]===_0x555080||_0x2900a1[_0x3dda74]===_0x4cf9ca([0x2a])));}function _0x25156b(){return _0x416bf6&&_0x38fb6d?new window[(_0x4cf9ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11bd4e,_0x5dffe7)=>{_0x416bf6[_0x4cf9ca([0x74,0x68,0x65,0x6e])](_0x11bd4e,_0x5dffe7),_0x38fb6d[_0x4cf9ca([0x74,0x68,0x65,0x6e])](_0x2293fd=>{_0x2293fd!=_0x4cf9ca([0x56,0x61,0x6c,0x69,0x64])&&_0x11bd4e(_0x2293fd);},_0x5dffe7);}):_0x416bf6||_0x38fb6d||_0x4cf9ca([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ccb27(_0x68e81d,_0x1175bb){return new window[(_0x4cf9ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x95be1=>{if(_0xc9f701())return _0x95be1(_0x4cf9ca([0x56,0x61,0x6c,0x69,0x64]));_0x3062c5(),_0x1eb5ea[_0x4cf9ca([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4cf9ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49d59e=!0x1;const _0x26929c=_0x1a4021();function _0xe63653(_0x3ca27d){return!!_0x3ca27d&&(typeof _0x3ca27d===_0x4cf9ca([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ca27d===_0x4cf9ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ca27d[_0x4cf9ca([0x74,0x68,0x65,0x6e])]===_0x4cf9ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ca27d[_0x4cf9ca([0x63,0x61,0x74,0x63,0x68])]===_0x4cf9ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1fd9d3(_0x5dd1c0){_0x187c34(_0x5dd1c0)[_0x4cf9ca([0x74,0x68,0x65,0x6e])](_0x4bcf8f=>{if(!_0x4bcf8f||_0x4bcf8f[_0x4cf9ca([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4cf9ca([0x6f,0x6b]))return _0x4cf9ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x448df6(_0xfb3e38(_0x26929c+_0x1175bb))!=_0x4bcf8f[_0x4cf9ca([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4cf9ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4cf9ca([0x56,0x61,0x6c,0x69,0x64]);})[_0x4cf9ca([0x74,0x68,0x65,0x6e])](_0x5f21f1=>(_0x4d6c52(),_0x5f21f1),()=>{const _0xbdff8e=_0x543879();return null==_0xbdff8e?(_0x4d6c52(),_0x4cf9ca([0x56,0x61,0x6c,0x69,0x64])):_0x4cf9ca(_0x394a81-_0xbdff8e>(0x2e9bc91a^_0x3f4b2e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4cf9ca([0x74,0x68,0x65,0x6e])](_0x95be1)[_0x4cf9ca([0x63,0x61,0x74,0x63,0x68])](()=>{_0x95be1(_0x4cf9ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x25f233=0xaa1a39a^_0x3f4b2e;function _0x4d6c52(){const _0x513455=_0x4cf9ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x448df6(_0xfb3e38(_0x68e81d)),_0x5744c1=_0x1d7699(_0x448df6(window[_0x4cf9ca([0x4d,0x61,0x74,0x68])][_0x4cf9ca([0x63,0x65,0x69,0x6c])](_0x394a81/_0x25f233)));window[_0x4cf9ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cf9ca([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x513455,_0x5744c1);}function _0x543879(){const _0xc45b3b=_0x4cf9ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x448df6(_0xfb3e38(_0x68e81d)),_0x418164=window[_0x4cf9ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cf9ca([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc45b3b);return _0x418164?window[_0x4cf9ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d7699(_0x418164),0x10)*_0x25f233:null;}function _0x187c34(_0x856559){return new window[(_0x4cf9ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f820f,_0x1bf778)=>{_0x856559[_0x4cf9ca([0x74,0x68,0x65,0x6e])](_0x1f820f,_0x1bf778),window[_0x4cf9ca([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bf778,0xa9699da^_0x3f4b2e);});}}_0x1eb5ea[_0x4cf9ca([0x6f,0x6e])](_0x4cf9ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e54c1,_0x26f47f)=>{if(_0x26f47f[0x0]!=_0x68e81d)return _0x95be1(_0x4cf9ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26f47f[0x1]={..._0x26f47f[0x1],[_0x4cf9ca([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26929c};},{[_0x4cf9ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cf9ca([0x68,0x69,0x67,0x68])}),_0x1eb5ea[_0x4cf9ca([0x6f,0x6e])](_0x4cf9ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3f9e76=>{_0xe63653(_0x3f9e76[_0x4cf9ca([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49d59e=!0x0,_0x1fd9d3(_0x3f9e76[_0x4cf9ca([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4cf9ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cf9ca([0x6c,0x6f,0x77])}),_0x1a4ef4[_0x4cf9ca([0x74,0x68,0x65,0x6e])](()=>{_0x49d59e||_0x95be1(_0x4cf9ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc9f701(){return _0x1eb5ea[_0x4cf9ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cf9ca([0x76,0x69,0x65,0x77])][_0x4cf9ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4cf9ca([0x61,0x75,0x74,0x6f]);}function _0x3062c5(){_0x1eb5ea[_0x4cf9ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cf9ca([0x76,0x69,0x65,0x77])][_0x4cf9ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cf9ca([0x61,0x75,0x74,0x6f]);}}function _0xeac263(_0x2205e3){const _0x3a0c40=[new window[(_0x4cf9ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6228=>setTimeout(_0x4a6228,0xa9e73d6^_0x3f4b2e)),_0x1a4ef4[_0x4cf9ca([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4cf9ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22117d=>{let _0xaa5b4a=0x0;_0x1eb5ea[_0x4cf9ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cf9ca([0x6f,0x6e])](_0x4cf9ca([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b73f7,_0x27276c)=>{_0x27276c[0x0][_0x4cf9ca([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xaa5b4a++,_0xaa5b4a==(0xa974ce2^_0x3f4b2e)&&(_0x22117d(),_0x1b73f7[_0x4cf9ca([0x6f,0x66,0x66])]());});}))];return window[_0x4cf9ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cf9ca([0x72,0x61,0x63,0x65])](_0x3a0c40)[_0x4cf9ca([0x74,0x68,0x65,0x6e])](()=>_0x2205e3);}async function _0x4bb326(){await _0x1a4ef4,_0x1eb5ea[_0x4cf9ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cf9ca([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47ed0f,_0x1eb5ea[_0x4cf9ca([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cf9ca([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47ed0f,_0x1eb5ea[_0x4cf9ca([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4cf9ca([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x315f65(_0x31ff16){const _0x3f3e50=_0x2b9fa4();_0x1eb5ea[_0x3f3e50]=_0x4cf9ca([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x31ff16,_0x31ff16!=_0x4cf9ca([0x56,0x61,0x6c,0x69,0x64])&&_0x4bb326();}function _0x2b9fa4(){const _0x28a42d=window[_0x4cf9ca([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4cf9ca([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4cf9ca([0x6e,0x6f,0x77])]())[_0x4cf9ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4cf9ca([0x2e]),'');let _0x5576e2=_0x4cf9ca([0x75]);for(let _0x4a8101=0x0;_0x4a8101<_0x28a42d[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a8101+=0x2){let _0x3e4be6=window[_0x4cf9ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28a42d[_0x4cf9ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a8101,_0x4a8101+0x2));_0x3e4be6>=_0x3471fe[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e4be6-=_0x3471fe[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5576e2+=_0x3471fe[_0x3e4be6];}return _0x5576e2;}function _0x5ce603(){const _0x46fd53=_0x248810[_0x4cf9ca([0x73,0x70,0x6c,0x69,0x74])](_0x4cf9ca([0x2e]));if(0x3!=_0x46fd53[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bbdb5(_0x46fd53[0x1]);function _0x1bbdb5(_0x4b7b84){const _0x33ce38=_0x29f161(_0x4b7b84);return _0x33ce38&&_0x73f15d()?_0x33ce38:null;function _0x73f15d(){const _0x314dba=_0x33ce38[_0x4cf9ca([0x6a,0x74,0x69])],_0x1b5410=window[_0x4cf9ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x314dba[_0x4cf9ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x314dba[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f435c={..._0x33ce38,[_0x4cf9ca([0x6a,0x74,0x69])]:_0x314dba[_0x4cf9ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x314dba[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f435c[_0x4cf9ca([0x76,0x63])],_0xfb3e38(_0x5f435c)==_0x1b5410;}}}async function _0x55d06f(){let _0x2b0850=!0x0;try{const _0x4fa348=_0x248810[_0x4cf9ca([0x73,0x70,0x6c,0x69,0x74])](_0x4cf9ca([0x2e])),[_0x531150,_0x4514ab,_0x1d564c]=_0x4fa348;return _0x228132(_0x531150),await _0x54590a(_0x531150,_0x4514ab,_0x1d564c),_0x2b0850;}catch{return!0x1;}function _0x228132(_0x5ac2d8){const _0x75872=_0x29f161(_0x5ac2d8);_0x75872&&_0x75872[_0x4cf9ca([0x61,0x6c,0x67])]==_0x4cf9ca([0x45,0x53,0x32,0x35,0x36])||(_0x2b0850=!0x1);}async function _0x54590a(_0x435368,_0x2eab3e,_0x57e2d8){const _0x4f2a5b=window[_0x4cf9ca([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4cf9ca([0x66,0x72,0x6f,0x6d])](_0x5d0b97(_0x57e2d8),_0x1414dd=>_0x1414dd[_0x4cf9ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4248b9=new window[(_0x4cf9ca([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4cf9ca([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x435368+_0x4cf9ca([0x2e])+_0x2eab3e),_0x170e9a=window[_0x4cf9ca([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4cf9ca([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x170e9a)return;const _0xccbbbf=await _0x170e9a[_0x4cf9ca([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4cf9ca([0x6a,0x77,0x6b]),_0x355c77,{[_0x4cf9ca([0x6e,0x61,0x6d,0x65])]:_0x4cf9ca([0x45,0x43,0x44,0x53,0x41]),[_0x4cf9ca([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4cf9ca([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4cf9ca([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x170e9a[_0x4cf9ca([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4cf9ca([0x6e,0x61,0x6d,0x65])]:_0x4cf9ca([0x45,0x43,0x44,0x53,0x41]),[_0x4cf9ca([0x68,0x61,0x73,0x68])]:{[_0x4cf9ca([0x6e,0x61,0x6d,0x65])]:_0x4cf9ca([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xccbbbf,_0x4f2a5b,_0x4248b9)||(_0x2b0850=!0x1);}}function _0x29f161(_0x5bf11a){return _0x5bf11a[_0x4cf9ca([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4cf9ca([0x65,0x79]))?JSON[_0x4cf9ca([0x70,0x61,0x72,0x73,0x65])](_0x5d0b97(_0x5bf11a)):null;}function _0x5d0b97(_0x17c4c5){return window[_0x4cf9ca([0x61,0x74,0x6f,0x62])](_0x17c4c5[_0x4cf9ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4cf9ca([0x2b]))[_0x4cf9ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4cf9ca([0x2f])));}function _0xfb3e38(_0x52e3be){let _0x326cfc=0x1505;function _0x5b0515(_0x3fd097){for(let _0x439912=0x0;_0x439912<_0x3fd097[_0x4cf9ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x439912++){const _0x4fc85a=_0x3fd097[_0x4cf9ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x439912);_0x326cfc=(_0x326cfc<<0x5)+_0x326cfc+_0x4fc85a,_0x326cfc&=_0x326cfc;}}function _0x5c5a21(_0x48d24c){Array[_0x4cf9ca([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48d24c)?_0x48d24c[_0x4cf9ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c5a21):_0x48d24c&&typeof _0x48d24c==_0x4cf9ca([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4cf9ca([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48d24c)[_0x4cf9ca([0x73,0x6f,0x72,0x74])]()[_0x4cf9ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8c6753,_0x9bb6fe])=>{_0x5b0515(_0x8c6753),_0x5c5a21(_0x9bb6fe);}):_0x5b0515(window[_0x4cf9ca([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48d24c));}return _0x5c5a21(_0x52e3be),_0x326cfc>>>0x0;}function _0x448df6(_0x5d3b75){return _0x5d3b75[_0x4cf9ca([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4cf9ca([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4cf9ca([0x30]));}function _0x1d7699(_0x3d528a){return _0x3d528a[_0x4cf9ca([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4cf9ca([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4cf9ca([0x6a,0x6f,0x69,0x6e])]('');}function _0x47ed0f(){}function _0x4cf9ca(_0x4c8047){const _0x4d5ceb=_0x5a53;return _0x4c8047[_0x4d5ceb(0x180)](_0x53c84f=>String[_0x4d5ceb(0x175)](_0x53c84f))[_0x4d5ceb(0x18d)]('');}_0x315f65(await _0x496c84());}(this);}[_0x4fc7d7(0x16f)](){const _0x3eeaa5=_0x4fc7d7,_0x3478cd=this[_0x3eeaa5(0x185)];if(!_0x3478cd[_0x3eeaa5(0x194)][_0x3eeaa5(0x19e)](_0x3eeaa5(0x1a4)))return;const _0x2d980e=_0x3478cd[_0x3eeaa5(0x194)][_0x3eeaa5(0x19e)](_0x3eeaa5(0x18b))[_0x3eeaa5(0x196)](_0x220686=>_0x3eeaa5(0x195)==typeof _0x220686&&(!_0x3841ed(_0x220686)&&isNaN(Number(_0x220686))));if(_0x2d980e[_0x3eeaa5(0x197)])throw new _0xbb6a73(_0x3eeaa5(0x186),null,{'namedPresets':_0x2d980e});}[_0x4fc7d7(0x179)](){const _0x1bb391=_0x4fc7d7,_0x279fd3=this[_0x1bb391(0x185)],_0x2ebc1f=this[_0x1bb391(0x185)][_0x1bb391(0x194)][_0x1bb391(0x19e)](_0x1bb391(0x170));_0x279fd3[_0x1bb391(0x187)][_0x1bb391(0x183)](_0x1bb391(0x1a3))[_0x1bb391(0x191)]({'model':{'key':_0x1bb391(0x171)},'view':_0x2f64ed=>String(_0x2f64ed)===String(_0x2ebc1f)?null:{'key':_0x1bb391(0x1a2),'value':{'line-height':_0x2f64ed}}}),_0x279fd3[_0x1bb391(0x187)][_0x1bb391(0x183)](_0x1bb391(0x18e))[_0x1bb391(0x191)]({'model':{'key':_0x1bb391(0x171),'value':_0x2f263d=>{const _0x4668b5=_0x1bb391;let _0x24038e=_0x2f263d[_0x4668b5(0x173)](_0x4668b5(0x181));return _0x5789d6(_0x24038e)&&(_0x24038e=String(Number(_0x24038e[_0x4668b5(0x192)](0x0,-0x1))/0x64)),String(_0x24038e)===String(_0x2ebc1f)?null:_0x24038e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4fc7d7(0x1a5)](){const _0x220763=_0x4fc7d7,_0x11f697=this[_0x220763(0x185)],_0x414edd=this[_0x220763(0x185)][_0x220763(0x194)][_0x220763(0x19e)](_0x220763(0x170)),_0x460b4d=_0x33234f(this[_0x220763(0x185)][_0x220763(0x194)][_0x220763(0x19e)](_0x220763(0x171)))[_0x220763(0x196)](_0x20db51=>_0x20db51[_0x220763(0x184)]),_0x4264f2=_0x2d183f(_0x220763(0x171),_0x460b4d);_0x11f697[_0x220763(0x187)][_0x220763(0x191)](_0x4264f2),_0x11f697[_0x220763(0x187)][_0x220763(0x183)](_0x220763(0x18e))[_0x220763(0x191)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x220763(0x171),'value':_0x4857f8=>{const _0x56fe45=_0x220763;let _0x2d722e=_0x4857f8[_0x56fe45(0x173)](_0x56fe45(0x181));return _0x5789d6(_0x2d722e)&&(_0x2d722e=String(Number(_0x2d722e[_0x56fe45(0x192)](0x0,-0x1))/0x64)),_0x2d722e===String(_0x414edd)?null:_0x4264f2[_0x56fe45(0x184)][_0x56fe45(0x19a)][_0x56fe45(0x19f)](_0x2d722e)?_0x2d722e:null;}}});}}
|
|
23
|
+
function _0x50af(){const _0xe57677=['get','default','afterInit','commands','filter','downcast','setAttributeProperties','length','getStyle','lineHeight.options','_preparePredefinedConverters','string','for','743955gOOmSu','1245PGHpsj','init','710442KZlaZZ','430196IFzmYb','slice','isOfficialPlugin','values','includes','isPremiumPlugin','attributeToAttribute','editor','add','lineHeight','983679NaRuao','lineHeight.defaultValue','schema','lineHeight.supportAllValues','define','line-height','1182590nWQhTZ','170jBPHfy','14WoZDMq','style','_validateConfig','config','join','$block','_prepareAnyValueConverters','line-height-invalid-use-of-named-presets','1463488TheayD','LineHeightEditing','extend','pluginName','fromCharCode','upcast','model','map','href','conversion','9vhxQVm'];_0x50af=function(){return _0xe57677;};return _0x50af();}const _0x532808=_0x436a;(function(_0x2bc630,_0x2d2eb3){const _0x3919e7=_0x436a,_0x1fe577=_0x2bc630();while(!![]){try{const _0x59932c=parseInt(_0x3919e7(0x179))/0x1*(parseInt(_0x3919e7(0x157))/0x2)+-parseInt(_0x3919e7(0x150))/0x3+parseInt(_0x3919e7(0x146))/0x4+parseInt(_0x3919e7(0x178))/0x5+parseInt(_0x3919e7(0x17b))/0x6*(parseInt(_0x3919e7(0x158))/0x7)+-parseInt(_0x3919e7(0x160))/0x8+-parseInt(_0x3919e7(0x16a))/0x9*(-parseInt(_0x3919e7(0x156))/0xa);if(_0x59932c===_0x2d2eb3)break;else _0x1fe577['push'](_0x1fe577['shift']());}catch(_0x58a7f3){_0x1fe577['push'](_0x1fe577['shift']());}}}(_0x50af,0x32649));import{Plugin as _0x4456f8}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x569c7a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x59c9a6}from'ckeditor5/src/engine.js';function _0x436a(_0x1a6621,_0x5bd58e){const _0x50afd3=_0x50af();return _0x436a=function(_0x436ab1,_0x533562){_0x436ab1=_0x436ab1-0x146;let _0x57bfc5=_0x50afd3[_0x436ab1];return _0x57bfc5;},_0x436a(_0x1a6621,_0x5bd58e);}import{uid as _0x46db8d,CKEditorError as _0x1a4c2d}from'ckeditor5/src/utils.js';import{buildDefinition as _0x358cb9,isLineHeightDefaultValue as _0x1cb3bf,normalizeOptions as _0x59a4e1}from'./utils.js';export class LineHeightEditing extends _0x4456f8{static get[_0x532808(0x163)](){const _0x6e6224=_0x532808;return _0x6e6224(0x161);}static get[_0x532808(0x148)](){return!0x0;}static get[_0x532808(0x14b)](){return!0x0;}constructor(_0x15a931){const _0x4b84f6=_0x532808;super(_0x15a931),_0x15a931[_0x4b84f6(0x15b)][_0x4b84f6(0x154)](_0x4b84f6(0x14f),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4b84f6(0x16c),0x2,2.5,0x3]});}[_0x532808(0x17a)](){const _0x5cf968=_0x532808,_0x3189c3=this[_0x5cf968(0x14d)];this[_0x5cf968(0x15a)](),_0x3189c3[_0x5cf968(0x166)][_0x5cf968(0x152)][_0x5cf968(0x162)](_0x5cf968(0x15d),{'allowAttributes':_0x5cf968(0x14f)}),_0x3189c3[_0x5cf968(0x166)][_0x5cf968(0x152)][_0x5cf968(0x171)](_0x5cf968(0x14f),{'isFormatting':!0x0}),_0x3189c3[_0x5cf968(0x16e)][_0x5cf968(0x14e)](_0x5cf968(0x14f),new _0x569c7a(_0x3189c3)),this[_0x5cf968(0x14d)][_0x5cf968(0x15b)][_0x5cf968(0x16b)](_0x5cf968(0x153))?this[_0x5cf968(0x15e)]():this[_0x5cf968(0x175)]();}[_0x532808(0x16d)](){!async function(_0x31571f){const _0x26ac6b=_0x3387ec([0x65,0x72,0x53,0x5a,0x68,0x4f,0x6a,0x6d,0x4e,0x41,0x75,0x67,0x43,0x59,0x4b,0x71,0x63,0x6e,0x45,0x57,0x37,0x44,0x56,0x6b,0x51,0x34,0x78,0x73,0x35,0x64,0x76,0x4d,0x74,0x48,0x31,0x4a,0x66,0x36,0x6c,0x69,0x47,0x54,0x38,0x33,0x46,0x6f,0x79,0x39,0x61,0x58,0x52,0x7a,0x70,0x4c,0x77,0x42,0x55,0x50,0x49,0x32,0x62,0x30]),_0xa9d360=0x5eb07243,_0x3d5eb9=0x5eb71fab^_0xa9d360,_0x45549c=window[_0x3387ec([0x44,0x61,0x74,0x65])][_0x3387ec([0x6e,0x6f,0x77])](),_0x50d351=_0x31571f[_0x3387ec([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5776d7=new window[(_0x3387ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16ad51=>{_0x50d351[_0x3387ec([0x6f,0x6e,0x63,0x65])](_0x3387ec([0x72,0x65,0x61,0x64,0x79]),_0x16ad51);}),_0x124ae7={[_0x3387ec([0x6b,0x74,0x79])]:_0x3387ec([0x45,0x43]),[_0x3387ec([0x75,0x73,0x65])]:_0x3387ec([0x73,0x69,0x67]),[_0x3387ec([0x63,0x72,0x76])]:_0x3387ec([0x50,0x2d,0x32,0x35,0x36]),[_0x3387ec([0x78])]:_0x3387ec([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]),[_0x3387ec([0x79])]:_0x3387ec([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]),[_0x3387ec([0x61,0x6c,0x67])]:_0x3387ec([0x45,0x53,0x32,0x35,0x36])},_0x993227=_0x50d351[_0x3387ec([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3387ec([0x67,0x65,0x74])](_0x3387ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd4904d(){let _0x4b17d0,_0x165188=null,_0x266d74=null;try{if(_0x993227==_0x3387ec([0x47,0x50,0x4c]))return _0x3387ec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b17d0=_0x44474a(),!_0x4b17d0)return _0x3387ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b17d0[_0x3387ec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x266d74=_0x370e6b(_0x4b17d0[_0x3387ec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b17d0[_0x3387ec([0x6a,0x74,0x69])])),await _0x58b55f()?_0xb0738d()?_0x5cd9ca()?_0x3387ec([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1920c8()?(_0x4b17d0[_0x3387ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3387ec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x165188=_0x140512(_0x3387ec([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b17d0[_0x3387ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3387ec([0x74,0x72,0x69,0x61,0x6c])&&(_0x165188=_0x140512(_0x3387ec([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2006a6()):_0x3387ec([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3387ec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3387ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3387ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5cd9ca(){const _0x10f057=[_0x3387ec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3387ec([0x74,0x72,0x69,0x61,0x6c])][_0x3387ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b17d0[_0x3387ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45549c/0x3e8:0xe10*_0x3d5eb9;return _0x4b17d0[_0x3387ec([0x65,0x78,0x70])]<_0x10f057;}function _0xb0738d(){const _0x4f6f77=_0x4b17d0[_0x3387ec([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f6f77&&(!!_0x4f6f77[_0x3387ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3387ec([0x2a]))||!!_0x4f6f77[_0x3387ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3387ec([0x4c,0x48])));}function _0x1920c8(){const _0x5c7ad2=_0x436a,_0x175254=_0x4b17d0[_0x3387ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x175254||0x0==_0x175254[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x548138}=new URL(window[_0x3387ec([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5c7ad2(0x168)]);if(_0x175254[_0x3387ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x548138))return!0x0;const _0x175e20=_0x548138[_0x3387ec([0x73,0x70,0x6c,0x69,0x74])](_0x3387ec([0x2e]));return _0x175254[_0x3387ec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42f3c0=>_0x42f3c0[_0x3387ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3387ec([0x2a])))[_0x3387ec([0x6d,0x61,0x70])](_0x581ec9=>_0x581ec9[_0x3387ec([0x73,0x70,0x6c,0x69,0x74])](_0x3387ec([0x2e])))[_0x3387ec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x140f94=>_0x140f94[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x175e20[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3387ec([0x6d,0x61,0x70])](_0x40b7f8=>Array(_0x175e20[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x40b7f8[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3387ec([0x66,0x69,0x6c,0x6c])](_0x40b7f8[0x0]===_0x3387ec([0x2a])?_0x3387ec([0x2a]):'')[_0x3387ec([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x40b7f8))[_0x3387ec([0x73,0x6f,0x6d,0x65])](_0x41f674=>_0x175e20[_0x3387ec([0x65,0x76,0x65,0x72,0x79])]((_0x23839f,_0x29dc9e)=>_0x41f674[_0x29dc9e]===_0x23839f||_0x41f674[_0x29dc9e]===_0x3387ec([0x2a])));}function _0x2006a6(){return _0x165188&&_0x266d74?new window[(_0x3387ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x352799,_0x4a009d)=>{_0x165188[_0x3387ec([0x74,0x68,0x65,0x6e])](_0x352799,_0x4a009d),_0x266d74[_0x3387ec([0x74,0x68,0x65,0x6e])](_0x4d4b3f=>{_0x4d4b3f!=_0x3387ec([0x56,0x61,0x6c,0x69,0x64])&&_0x352799(_0x4d4b3f);},_0x4a009d);}):_0x165188||_0x266d74||_0x3387ec([0x56,0x61,0x6c,0x69,0x64]);}}function _0x370e6b(_0x4baa02,_0x91ca9f){return new window[(_0x3387ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32fbd2=>{if(_0x2fa4eb())return _0x32fbd2(_0x3387ec([0x56,0x61,0x6c,0x69,0x64]));_0x5d8fb5(),_0x50d351[_0x3387ec([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3387ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18fa7e=!0x1;const _0x221120=_0x46db8d();function _0x50a2f6(_0x317b1e){return!!_0x317b1e&&(typeof _0x317b1e===_0x3387ec([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x317b1e===_0x3387ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x317b1e[_0x3387ec([0x74,0x68,0x65,0x6e])]===_0x3387ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x317b1e[_0x3387ec([0x63,0x61,0x74,0x63,0x68])]===_0x3387ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33047e(_0x65d33a){_0x23773d(_0x65d33a)[_0x3387ec([0x74,0x68,0x65,0x6e])](_0x59adf6=>{if(!_0x59adf6||_0x59adf6[_0x3387ec([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3387ec([0x6f,0x6b]))return _0x3387ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c7b80(_0x25de35(_0x221120+_0x91ca9f))!=_0x59adf6[_0x3387ec([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3387ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3387ec([0x56,0x61,0x6c,0x69,0x64]);})[_0x3387ec([0x74,0x68,0x65,0x6e])](_0x4804af=>(_0x5df87b(),_0x4804af),()=>{const _0x32a544=_0x1191a2();return null==_0x32a544?(_0x5df87b(),_0x3387ec([0x56,0x61,0x6c,0x69,0x64])):_0x3387ec(_0x45549c-_0x32a544>(0x7abcf643^_0xa9d360)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3387ec([0x74,0x68,0x65,0x6e])](_0x32fbd2)[_0x3387ec([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32fbd2(_0x3387ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13b6c1=0x5e869cc3^_0xa9d360;function _0x5df87b(){const _0x38ff7e=_0x3387ec([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c7b80(_0x25de35(_0x4baa02)),_0x5a37b5=_0x456318(_0x1c7b80(window[_0x3387ec([0x4d,0x61,0x74,0x68])][_0x3387ec([0x63,0x65,0x69,0x6c])](_0x45549c/_0x13b6c1)));window[_0x3387ec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3387ec([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38ff7e,_0x5a37b5);}function _0x1191a2(){const _0xdd5009=_0x3387ec([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c7b80(_0x25de35(_0x4baa02)),_0x61d08e=window[_0x3387ec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3387ec([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdd5009);return _0x61d08e?window[_0x3387ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x456318(_0x61d08e),0x10)*_0x13b6c1:null;}function _0x23773d(_0x9b38c5){return new window[(_0x3387ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bc44c,_0x2e2562)=>{_0x9b38c5[_0x3387ec([0x74,0x68,0x65,0x6e])](_0x1bc44c,_0x2e2562),window[_0x3387ec([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e2562,0x5eb1a683^_0xa9d360);});}}_0x50d351[_0x3387ec([0x6f,0x6e])](_0x3387ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27b101,_0x4692b1)=>{if(_0x4692b1[0x0]!=_0x4baa02)return _0x32fbd2(_0x3387ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4692b1[0x1]={..._0x4692b1[0x1],[_0x3387ec([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x221120};},{[_0x3387ec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3387ec([0x68,0x69,0x67,0x68])}),_0x50d351[_0x3387ec([0x6f,0x6e])](_0x3387ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d77c2=>{_0x50a2f6(_0x5d77c2[_0x3387ec([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18fa7e=!0x0,_0x33047e(_0x5d77c2[_0x3387ec([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3387ec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3387ec([0x6c,0x6f,0x77])}),_0x5776d7[_0x3387ec([0x74,0x68,0x65,0x6e])](()=>{_0x18fa7e||_0x32fbd2(_0x3387ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fa4eb(){return _0x50d351[_0x3387ec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3387ec([0x76,0x69,0x65,0x77])][_0x3387ec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3387ec([0x61,0x75,0x74,0x6f]);}function _0x5d8fb5(){_0x50d351[_0x3387ec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3387ec([0x76,0x69,0x65,0x77])][_0x3387ec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3387ec([0x61,0x75,0x74,0x6f]);}}function _0x140512(_0x54ee5e){const _0x497857=[new window[(_0x3387ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5529d1=>setTimeout(_0x5529d1,0x5eb94c8f^_0xa9d360)),_0x5776d7[_0x3387ec([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3387ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3636c7=>{let _0x3f6dc2=0x0;_0x50d351[_0x3387ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x3387ec([0x6f,0x6e])](_0x3387ec([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x296578,_0x1457a1)=>{_0x1457a1[0x0][_0x3387ec([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f6dc2++,_0x3f6dc2==(0x5eb073bb^_0xa9d360)&&(_0x3636c7(),_0x296578[_0x3387ec([0x6f,0x66,0x66])]());});}))];return window[_0x3387ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3387ec([0x72,0x61,0x63,0x65])](_0x497857)[_0x3387ec([0x74,0x68,0x65,0x6e])](()=>_0x54ee5e);}async function _0x57cd36(){await _0x5776d7,_0x50d351[_0x3387ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x3387ec([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x569bee,_0x50d351[_0x3387ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x3387ec([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x569bee,_0x50d351[_0x3387ec([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3387ec([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x231fde(_0x1ca355){const _0x390574=_0x4bd972();_0x50d351[_0x390574]=_0x3387ec([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ca355,_0x1ca355!=_0x3387ec([0x56,0x61,0x6c,0x69,0x64])&&_0x57cd36();}function _0x4bd972(){const _0x5e7c34=window[_0x3387ec([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3387ec([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3387ec([0x6e,0x6f,0x77])]())[_0x3387ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3387ec([0x2e]),'');let _0x2332d0=_0x3387ec([0x65]);for(let _0x21948d=0x0;_0x21948d<_0x5e7c34[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21948d+=0x2){let _0x5e7aec=window[_0x3387ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e7c34[_0x3387ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21948d,_0x21948d+0x2));_0x5e7aec>=_0x26ac6b[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e7aec-=_0x26ac6b[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2332d0+=_0x26ac6b[_0x5e7aec];}return _0x2332d0;}function _0x44474a(){const _0xac435f=_0x993227[_0x3387ec([0x73,0x70,0x6c,0x69,0x74])](_0x3387ec([0x2e]));if(0x3!=_0xac435f[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa530d1(_0xac435f[0x1]);function _0xa530d1(_0x55b982){const _0x294425=_0x3d5ac1(_0x55b982);return _0x294425&&_0x416e04()?_0x294425:null;function _0x416e04(){const _0x46b0cc=_0x294425[_0x3387ec([0x6a,0x74,0x69])],_0x3b8e5a=window[_0x3387ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46b0cc[_0x3387ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46b0cc[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2591dc={..._0x294425,[_0x3387ec([0x6a,0x74,0x69])]:_0x46b0cc[_0x3387ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46b0cc[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2591dc[_0x3387ec([0x76,0x63])],_0x25de35(_0x2591dc)==_0x3b8e5a;}}}async function _0x58b55f(){let _0x31077b=!0x0;try{const _0x4fda76=_0x993227[_0x3387ec([0x73,0x70,0x6c,0x69,0x74])](_0x3387ec([0x2e])),[_0x413eac,_0x17b9b0,_0x522e71]=_0x4fda76;return _0x438557(_0x413eac),await _0x1513dd(_0x413eac,_0x17b9b0,_0x522e71),_0x31077b;}catch{return!0x1;}function _0x438557(_0x576f30){const _0x5183ac=_0x3d5ac1(_0x576f30);_0x5183ac&&_0x5183ac[_0x3387ec([0x61,0x6c,0x67])]==_0x3387ec([0x45,0x53,0x32,0x35,0x36])||(_0x31077b=!0x1);}async function _0x1513dd(_0x24d0c4,_0x1b89df,_0x54367e){const _0x38bd2e=window[_0x3387ec([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3387ec([0x66,0x72,0x6f,0x6d])](_0x350bc6(_0x54367e),_0x5ca62c=>_0x5ca62c[_0x3387ec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34a0dd=new window[(_0x3387ec([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3387ec([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24d0c4+_0x3387ec([0x2e])+_0x1b89df),_0x5457a1=window[_0x3387ec([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3387ec([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5457a1)return;const _0x15a8ea=await _0x5457a1[_0x3387ec([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3387ec([0x6a,0x77,0x6b]),_0x124ae7,{[_0x3387ec([0x6e,0x61,0x6d,0x65])]:_0x3387ec([0x45,0x43,0x44,0x53,0x41]),[_0x3387ec([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3387ec([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3387ec([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5457a1[_0x3387ec([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3387ec([0x6e,0x61,0x6d,0x65])]:_0x3387ec([0x45,0x43,0x44,0x53,0x41]),[_0x3387ec([0x68,0x61,0x73,0x68])]:{[_0x3387ec([0x6e,0x61,0x6d,0x65])]:_0x3387ec([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15a8ea,_0x38bd2e,_0x34a0dd)||(_0x31077b=!0x1);}}function _0x3d5ac1(_0x506d70){return _0x506d70[_0x3387ec([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3387ec([0x65,0x79]))?JSON[_0x3387ec([0x70,0x61,0x72,0x73,0x65])](_0x350bc6(_0x506d70)):null;}function _0x350bc6(_0x14f6b3){return window[_0x3387ec([0x61,0x74,0x6f,0x62])](_0x14f6b3[_0x3387ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3387ec([0x2b]))[_0x3387ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3387ec([0x2f])));}function _0x25de35(_0x2e9fda){let _0x3a8005=0x1505;function _0x13f982(_0x532b5d){for(let _0x2c8c9e=0x0;_0x2c8c9e<_0x532b5d[_0x3387ec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c8c9e++){const _0x58f752=_0x532b5d[_0x3387ec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c8c9e);_0x3a8005=(_0x3a8005<<0x5)+_0x3a8005+_0x58f752,_0x3a8005&=_0x3a8005;}}function _0x587264(_0xc333aa){Array[_0x3387ec([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc333aa)?_0xc333aa[_0x3387ec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x587264):_0xc333aa&&typeof _0xc333aa==_0x3387ec([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3387ec([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc333aa)[_0x3387ec([0x73,0x6f,0x72,0x74])]()[_0x3387ec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28f316,_0x178b3e])=>{_0x13f982(_0x28f316),_0x587264(_0x178b3e);}):_0x13f982(window[_0x3387ec([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc333aa));}return _0x587264(_0x2e9fda),_0x3a8005>>>0x0;}function _0x1c7b80(_0x52ed72){return _0x52ed72[_0x3387ec([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3387ec([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3387ec([0x30]));}function _0x456318(_0x3745d3){return _0x3745d3[_0x3387ec([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3387ec([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3387ec([0x6a,0x6f,0x69,0x6e])]('');}function _0x569bee(){}function _0x3387ec(_0x287a1b){const _0x2de65f=_0x436a;return _0x287a1b[_0x2de65f(0x167)](_0x1f793f=>String[_0x2de65f(0x164)](_0x1f793f))[_0x2de65f(0x15c)]('');}_0x231fde(await _0xd4904d());}(this);}[_0x532808(0x15a)](){const _0x4c3457=_0x532808,_0x1557e1=this[_0x4c3457(0x14d)];if(!_0x1557e1[_0x4c3457(0x15b)][_0x4c3457(0x16b)](_0x4c3457(0x153)))return;const _0x53ed8a=_0x1557e1[_0x4c3457(0x15b)][_0x4c3457(0x16b)](_0x4c3457(0x174))[_0x4c3457(0x16f)](_0x18511e=>_0x4c3457(0x176)==typeof _0x18511e&&(!_0x1cb3bf(_0x18511e)&&isNaN(Number(_0x18511e))));if(_0x53ed8a[_0x4c3457(0x172)])throw new _0x1a4c2d(_0x4c3457(0x15f),null,{'namedPresets':_0x53ed8a});}[_0x532808(0x15e)](){const _0x43a7ec=_0x532808,_0x45f5bb=this[_0x43a7ec(0x14d)],_0x3b05ae=this[_0x43a7ec(0x14d)][_0x43a7ec(0x15b)][_0x43a7ec(0x16b)](_0x43a7ec(0x151));_0x45f5bb[_0x43a7ec(0x169)][_0x43a7ec(0x177)](_0x43a7ec(0x170))[_0x43a7ec(0x14c)]({'model':{'key':_0x43a7ec(0x14f)},'view':_0x29e973=>String(_0x29e973)===String(_0x3b05ae)?null:{'key':_0x43a7ec(0x159),'value':{'line-height':_0x29e973}}}),_0x45f5bb[_0x43a7ec(0x169)][_0x43a7ec(0x177)](_0x43a7ec(0x165))[_0x43a7ec(0x14c)]({'model':{'key':_0x43a7ec(0x14f),'value':_0x4e2aa8=>{const _0x26da0a=_0x43a7ec;let _0x2dd263=_0x4e2aa8[_0x26da0a(0x173)](_0x26da0a(0x155));return _0x59c9a6(_0x2dd263)&&(_0x2dd263=String(Number(_0x2dd263[_0x26da0a(0x147)](0x0,-0x1))/0x64)),String(_0x2dd263)===String(_0x3b05ae)?null:_0x2dd263;}},'view':{'styles':{'line-height':/.*/}}});}[_0x532808(0x175)](){const _0x138158=_0x532808,_0x13dc70=this[_0x138158(0x14d)],_0x155515=this[_0x138158(0x14d)][_0x138158(0x15b)][_0x138158(0x16b)](_0x138158(0x151)),_0x319b2f=_0x59a4e1(this[_0x138158(0x14d)][_0x138158(0x15b)][_0x138158(0x16b)](_0x138158(0x14f)))[_0x138158(0x16f)](_0x317c5f=>_0x317c5f[_0x138158(0x166)]),_0x40d9ca=_0x358cb9(_0x138158(0x14f),_0x319b2f);_0x13dc70[_0x138158(0x169)][_0x138158(0x14c)](_0x40d9ca),_0x13dc70[_0x138158(0x169)][_0x138158(0x177)](_0x138158(0x165))[_0x138158(0x14c)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x138158(0x14f),'value':_0x38b07f=>{const _0x200568=_0x138158;let _0x22da5d=_0x38b07f[_0x200568(0x173)](_0x200568(0x155));return _0x59c9a6(_0x22da5d)&&(_0x22da5d=String(Number(_0x22da5d[_0x200568(0x147)](0x0,-0x1))/0x64)),_0x22da5d===String(_0x155515)?null:_0x40d9ca[_0x200568(0x166)][_0x200568(0x149)][_0x200568(0x14a)](_0x22da5d)?_0x22da5d:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2aa74b}from'ckeditor5/src/core.js';import{addListToDropdown as _0xbd45b8,createDropdown as _0x35196f,MenuBarMenuListItemButtonView as _0x58b8be,MenuBarMenuListItemView as _0xf61ebf,MenuBarMenuListView as _0x4573fa,MenuBarMenuView as _0x1cfd43,UIModel as _0x10f55c}from'ckeditor5/src/ui.js';import{Collection as _0x22765c}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5c3435}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x42121a}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2aa74b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2153b9={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2153b9),this['_registerMenuBarComponent'](_0x2153b9),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f239a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d36e4;for(const _0x3048d4 in _0x4f239a){const _0x38ac9d=_0x3048d4,_0x326bdc=_0x4f239a[_0x38ac9d];if('lineHeightLicenseKeyValid'==_0x326bdc||'lineHeightLicenseKeyInvalid'==_0x326bdc||'lineHeightLicenseKeyExpired'==_0x326bdc||'lineHeightLicenseKeyDomainLimit'==_0x326bdc||'lineHeightLicenseKeyNotAllowed'==_0x326bdc||'lineHeightLicenseKeyEvaluationLimit'==_0x326bdc||'lineHeightLicenseKeyTrialLimit'==_0x326bdc||'lineHeightLicenseKeyUsageLimit'==_0x326bdc){delete _0x4f239a[_0x38ac9d],_0x3d36e4=_0x326bdc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3d36e4&&_0x4f239a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3d36e4&&_0x4f239a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3d36e4&&_0x4f239a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3d36e4&&_0x4f239a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3d36e4&&_0x4f239a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3d36e4&&_0x4f239a['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3d36e4&&_0x4f239a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3d9150=this['editor'],t=_0x3d9150['t'],_0x513e10=_0x3d9150['config']['get']('lineHeight'),_0x58a23c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x42121a(_0x513e10)['map'](_0x227915=>{const _0x5b4d05=_0x58a23c[_0x227915['title']];return _0x5b4d05&&_0x5b4d05!=_0x227915['title']&&(_0x227915=Object['assign']({},_0x227915,{'title':_0x5b4d05})),_0x227915;});}['_prepareListOptions'](){const _0x16ad48=this['editor']['commands']['get']('lineHeight'),_0x4c0b97=this['editor']['config']['get']('lineHeight.defaultValue'),_0x498efc=this['_getLocalizedLineHeightOptions'](),_0x3428b8=new _0x22765c(),_0xcfbe72=_0x3b6528=>'default'===_0x3b6528||String(_0x4c0b97)===_0x3b6528;for(const _0x3041d6 of _0x498efc){const _0x3a2baf={'type':'button','model':new _0x10f55c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3041d6['title'],'withText':!0x0})};_0xcfbe72(_0x3041d6['model'])?(_0x3a2baf['model']['bind']('isOn')['to'](_0x16ad48,'value',_0xd3a179=>!_0xd3a179),_0x3a2baf['model']['commandParam']=void 0x0):(_0x3a2baf['model']['bind']('isOn')['to'](_0x16ad48,'value',_0x45d33d=>_0x45d33d===_0x3041d6['model']),_0x3a2baf['model']['commandParam']=_0x3041d6['model']),_0x3428b8['add'](_0x3a2baf);}if(this['_shouldRenderCustomValueOption']()){const _0x5e29e7=this['_getCustomValueOptionDefinition'](_0x498efc);_0x3428b8['add'](_0x5e29e7);}return _0x3428b8;}['_getCustomValueOptionDefinition'](_0x4b5d30){const _0x2e6dc1=this['editor'],t=_0x2e6dc1['t'],_0x57f734=_0x2e6dc1['commands']['get']('lineHeight'),_0x173689=_0x4b5d30['map'](_0x4f2327=>_0x4f2327['model']),_0x4d78b4={'type':'button','model':new _0x10f55c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4d78b4['model']['bind']('commandParam')['to'](_0x57f734,'value'),_0x4d78b4['model']['bind']('isOn')['to'](_0x57f734,'value',_0x5ba8e1=>!!_0x5ba8e1&&!_0x173689['includes'](String(_0x5ba8e1))),_0x4d78b4['model']['bind']('label')['to'](_0x57f734,'value',_0x3a847a=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3a847a))),_0x4d78b4;}['_registerToolbarComponent']({accessibleLabel:_0x2db319,options:_0x5997ca}){const _0x18c0b0=this['editor'],_0x2a6d3c=_0x18c0b0['commands']['get']('lineHeight');_0x18c0b0['ui']['componentFactory']['add']('lineHeight',_0x1bbe7c=>{const _0x4c10a2=_0x35196f(_0x1bbe7c);return _0xbd45b8(_0x4c10a2,_0x5997ca,{'role':'menu','ariaLabel':_0x2db319}),_0x4c10a2['buttonView']['set']({'label':_0x2db319,'tooltip':!0x0,'icon':_0x5c3435}),_0x4c10a2['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4c10a2['bind']('isEnabled')['to'](_0x2a6d3c),this['listenTo'](_0x4c10a2,'execute',_0x4116eb=>{_0x18c0b0['execute'](_0x4116eb['source']['commandName'],{'value':_0x4116eb['source']['commandParam']}),_0x18c0b0['editing']['view']['focus']();}),_0x4c10a2['once']('change:isOpen',()=>{const _0x2080c2=_0x4c10a2['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4c10a2,_0x5997ca,_0x2080c2);}),_0x4c10a2;});}['_registerMenuBarComponent']({accessibleLabel:_0x3b43bd,options:_0x2ab682}){const _0x5ddde6=this['editor'],_0x4fbcca=_0x5ddde6['commands']['get']('lineHeight');_0x5ddde6['ui']['componentFactory']['add']('menuBar:lineHeight',_0x7318e3=>{const _0x357a8d=new _0x1cfd43(_0x7318e3);_0x357a8d['buttonView']['set']({'label':_0x3b43bd,'icon':_0x5c3435}),_0x357a8d['bind']('isEnabled')['to'](_0x4fbcca);const _0x8402f0=new _0x4573fa(_0x7318e3);for(const _0x53c8ba of _0x2ab682){const _0x40a99d=new _0xf61ebf(_0x7318e3,_0x357a8d),_0x386719=new _0x58b8be(_0x7318e3);_0x386719['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x386719['bind'](...Object['keys'](_0x53c8ba['model']))['to'](_0x53c8ba['model']),_0x386719['delegate']('execute')['to'](_0x357a8d),_0x386719['on']('execute',()=>{_0x5ddde6['execute'](_0x53c8ba['model']['commandName'],{'value':_0x53c8ba['model']['commandParam']}),_0x5ddde6['editing']['view']['focus']();}),_0x40a99d['children']['add'](_0x386719),_0x8402f0['items']['add'](_0x40a99d);}return _0x357a8d['panelView']['children']['add'](_0x8402f0),this['_attachCustomOptionVisibilityHandler'](_0x357a8d,_0x2ab682,_0x8402f0),_0x357a8d;});}['_attachCustomOptionVisibilityHandler'](_0x3d03c3,_0x3a5d72,_0xd5f91){if(!this['_shouldRenderCustomValueOption']())return;const _0x584a2e=()=>{if(!_0x3d03c3['isOpen'])return;_0xd5f91['items']['last']['isVisible']=Boolean(_0x3a5d72['last']['model']['isOn']);};_0x584a2e(),_0x3d03c3['on']('change:isOpen',()=>{_0x584a2e();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x190004,_0x1d0874){const _0x121f92=_0x3b74,_0x5c55e9=_0x190004();while(!![]){try{const _0x11c60f=parseInt(_0x121f92(0x100))/0x1*(parseInt(_0x121f92(0x108))/0x2)+parseInt(_0x121f92(0x109))/0x3+parseInt(_0x121f92(0xf9))/0x4+-parseInt(_0x121f92(0xf5))/0x5+parseInt(_0x121f92(0x10f))/0x6*(parseInt(_0x121f92(0xfd))/0x7)+-parseInt(_0x121f92(0xf7))/0x8+parseInt(_0x121f92(0xfe))/0x9*(-parseInt(_0x121f92(0xff))/0xa);if(_0x11c60f===_0x1d0874)break;else _0x5c55e9['push'](_0x5c55e9['shift']());}catch(_0x1a6f33){_0x5c55e9['push'](_0x5c55e9['shift']());}}}(_0x4f38,0xc4b5e));function _0x4f38(){const _0x454a41=['line-height:','class','values','double','number','push','85774yVFqnq','4137606rFFzPC','style','toLowerCase','model','line-height-double','filter','208734oFqRYw','Single','default','defaultValue','view','options','string','span','6158185Yfkeck','single','2870432RTJVAH','key','3901728KyXDCL','line-height-single','value','map','14xylRDQ','108pdNNbu','916850EDmVzG','25yTmCYq','Double'];_0x4f38=function(){return _0x454a41;};return _0x4f38();}const v={get 'single'(){const _0x3e1c70=_0x3b74;return{'title':_0x3e1c70(0xee),'model':_0x3e1c70(0xf6),'view':{'key':_0x3e1c70(0x103),'value':_0x3e1c70(0xfa)}};},get 'double'(){const _0x5042ab=_0x3b74;return{'title':_0x5042ab(0x101),'model':_0x5042ab(0x105),'view':{'key':_0x5042ab(0x103),'value':_0x5042ab(0x10d)}};}};export function isLineHeightDefaultValue(_0x178dd1){const _0x53e3ee=_0x3b74;return _0x53e3ee(0xf3)==typeof _0x178dd1&&_0x53e3ee(0xef)===_0x178dd1[_0x53e3ee(0x10b)]();}function _0x3b74(_0x25ee0f,_0x356b68){const _0x4f3825=_0x4f38();return _0x3b74=function(_0x3b74bf,_0x79edcb){_0x3b74bf=_0x3b74bf-0xee;let _0x523e37=_0x4f3825[_0x3b74bf];return _0x523e37;},_0x3b74(_0x25ee0f,_0x356b68);}export function normalizeOptions(_0x316d8c){const _0x18651e=_0x3b74;return _0x316d8c[_0x18651e(0xf2)][_0x18651e(0xfc)](_0x5eee57=>isLineHeightDefaultValue(_0x5eee57)?{'title':String(_0x316d8c[_0x18651e(0xf0)]),'model':_0x18651e(0xef)}:(_0x18651e(0x106)==typeof _0x5eee57&&(_0x5eee57=String(_0x5eee57)),_0x18651e(0xf3)!=typeof _0x5eee57?_0x5eee57:parseFloat(_0x5eee57)?{'title':_0x5eee57,'model':_0x5eee57,'view':{'name':_0x18651e(0xf4),'styles':{'line-height':_0x5eee57}}}:findPreset(_0x5eee57)))[_0x18651e(0x10e)](_0x561195=>void 0x0!==_0x561195);}export function findPreset(_0xa0f954){const _0x37bc8a=_0x3b74;return _0x37bc8a(0xf3)==typeof _0xa0f954?v[_0xa0f954]:v[_0xa0f954[_0x37bc8a(0x10c)]];}export function buildDefinition(_0x1c56fd,_0xf1d1f7){const _0x3a3879=_0x3b74,_0x3322c2={'model':{'key':_0x1c56fd,'values':[]},'view':{}};for(const _0x91fd08 of _0xf1d1f7)_0x3a3879(0x103)===_0x91fd08[_0x3a3879(0xf1)]?.[_0x3a3879(0xf8)]?(_0x3322c2[_0x3a3879(0x10c)][_0x3a3879(0x104)][_0x3a3879(0x107)](_0x91fd08[_0x3a3879(0x10c)]),_0x3322c2[_0x3a3879(0xf1)][_0x91fd08[_0x3a3879(0x10c)]]={'key':_0x3a3879(0x103),'value':_0x91fd08[_0x3a3879(0xf1)][_0x3a3879(0xfb)]}):(_0x3322c2[_0x3a3879(0x10c)][_0x3a3879(0x104)][_0x3a3879(0x107)](_0x91fd08[_0x3a3879(0x10c)]),_0x3322c2[_0x3a3879(0xf1)][_0x91fd08[_0x3a3879(0x10c)]]={'key':_0x3a3879(0x10a),'value':_0x3a3879(0x102)+_0x91fd08[_0x3a3879(0x10c)]+';'});return _0x3322c2;}
|