@ckeditor/ckeditor5-line-height 46.0.1-alpha.1 → 46.0.1-alpha.2

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.
Files changed (155) hide show
  1. package/build/line-height.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/lineheight.js +1 -1
  152. package/src/lineheightcommand.js +1 -1
  153. package/src/lineheightediting.js +1 -1
  154. package/src/lineheightui.js +1 -1
  155. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x276723=_0x3397;(function(_0x275681,_0x34e988){const _0x54dd72=_0x3397,_0x5ae390=_0x275681();while(!![]){try{const _0x53d344=-parseInt(_0x54dd72(0x1dd))/0x1*(-parseInt(_0x54dd72(0x1e3))/0x2)+parseInt(_0x54dd72(0x1d4))/0x3*(parseInt(_0x54dd72(0x1e7))/0x4)+-parseInt(_0x54dd72(0x1d9))/0x5*(parseInt(_0x54dd72(0x1db))/0x6)+-parseInt(_0x54dd72(0x1df))/0x7+-parseInt(_0x54dd72(0x1e5))/0x8*(parseInt(_0x54dd72(0x1d5))/0x9)+parseInt(_0x54dd72(0x1e1))/0xa+parseInt(_0x54dd72(0x1dc))/0xb*(parseInt(_0x54dd72(0x1d2))/0xc);if(_0x53d344===_0x34e988)break;else _0x5ae390['push'](_0x5ae390['shift']());}catch(_0x36d029){_0x5ae390['push'](_0x5ae390['shift']());}}}(_0x1325,0xd3e9e));import{Command as _0x44fd1a}from'ckeditor5/src/core.js';function _0x1325(){const _0x9656c4=['14646114XulTQg','model','_canHaveLineHeight','filter','65795lzJClT','isEnabled','246ZesZUJ','18469crpYTI','6FXrNeZ','getAttribute','4406388gmESWE','lineHeight','12996470bAlNWq','setAttribute','82206mUHBHN','value','8ZUMCir','editor','4LXpngo','from','removeAttribute','change','refresh','checkAttribute','execute','selection','document','getSelectedBlocks','8172QAxcqe','schema','2924049enjihM'];_0x1325=function(){return _0x9656c4;};return _0x1325();}function _0x3397(_0x2b6d4f,_0x40ea09){const _0x132507=_0x1325();return _0x3397=function(_0x339789,_0x56ef77){_0x339789=_0x339789-0x1ce;let _0x2dd19c=_0x132507[_0x339789];return _0x2dd19c;},_0x3397(_0x2b6d4f,_0x40ea09);}import{first as _0x1c9a0e}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x44fd1a{[_0x276723(0x1eb)](){const _0xd039a4=_0x276723,_0x168d7d=this[_0xd039a4(0x1e6)][_0xd039a4(0x1d6)][_0xd039a4(0x1d0)],_0x3923cb=_0x1c9a0e(_0x168d7d[_0xd039a4(0x1cf)][_0xd039a4(0x1d1)]());this[_0xd039a4(0x1da)]=Boolean(_0x3923cb)&&this[_0xd039a4(0x1d7)](_0x3923cb),this[_0xd039a4(0x1e4)]=this[_0xd039a4(0x1da)]&&_0x3923cb[_0xd039a4(0x1de)](_0xd039a4(0x1e0));}[_0x276723(0x1ce)](_0x54b7b6={}){const _0x5387ac=_0x276723,_0x16cb6d=this[_0x5387ac(0x1e6)][_0x5387ac(0x1d6)],_0x5ad443=_0x16cb6d[_0x5387ac(0x1d0)][_0x5387ac(0x1cf)],_0x42a7b1=_0x54b7b6[_0x5387ac(0x1e4)];_0x16cb6d[_0x5387ac(0x1ea)](_0xe0bb7c=>{const _0x10fc6a=_0x5387ac,_0x344631=Array[_0x10fc6a(0x1e8)](_0x5ad443[_0x10fc6a(0x1d1)]())[_0x10fc6a(0x1d8)](_0x4d5a68=>this[_0x10fc6a(0x1d7)](_0x4d5a68));for(const _0x368f43 of _0x344631)_0x42a7b1?_0xe0bb7c[_0x10fc6a(0x1e2)](_0x10fc6a(0x1e0),_0x42a7b1,_0x368f43):_0xe0bb7c[_0x10fc6a(0x1e9)](_0x10fc6a(0x1e0),_0x368f43);});}[_0x276723(0x1d7)](_0x475237){const _0x33bfe6=_0x276723;return this[_0x33bfe6(0x1e6)][_0x33bfe6(0x1d6)][_0x33bfe6(0x1d3)][_0x33bfe6(0x1ec)](_0x475237,_0x33bfe6(0x1e0));}}
23
+ const _0x54a2b7=_0x2545;(function(_0x48710a,_0x51e0b4){const _0x306043=_0x2545,_0x1408cc=_0x48710a();while(!![]){try{const _0x22399a=parseInt(_0x306043(0x20d))/0x1*(parseInt(_0x306043(0x20f))/0x2)+parseInt(_0x306043(0x200))/0x3+-parseInt(_0x306043(0x1fa))/0x4*(parseInt(_0x306043(0x1f2))/0x5)+parseInt(_0x306043(0x20a))/0x6*(-parseInt(_0x306043(0x1fd))/0x7)+parseInt(_0x306043(0x1f9))/0x8+-parseInt(_0x306043(0x205))/0x9*(parseInt(_0x306043(0x202))/0xa)+parseInt(_0x306043(0x1ff))/0xb;if(_0x22399a===_0x51e0b4)break;else _0x1408cc['push'](_0x1408cc['shift']());}catch(_0x51a056){_0x1408cc['push'](_0x1408cc['shift']());}}}(_0xa382,0x7792b));function _0x2545(_0x4012a5,_0x38897d){const _0xa38212=_0xa382();return _0x2545=function(_0x2545a4,_0x2a8993){_0x2545a4=_0x2545a4-0x1f2;let _0x387215=_0xa38212[_0x2545a4];return _0x387215;},_0x2545(_0x4012a5,_0x38897d);}import{Command as _0x533f8c}from'ckeditor5/src/core.js';function _0xa382(){const _0x52438b=['8319212WOmFOB','895713VodsaY','_canHaveLineHeight','106220aYLETI','removeAttribute','selection','126engadE','checkAttribute','schema','refresh','value','78aFmwQo','model','execute','181829BdKOWE','getAttribute','2TmTMxw','25rrIcvL','editor','from','getSelectedBlocks','change','setAttribute','filter','1667584BApUZV','535016sMmvWy','isEnabled','document','74249UiQdOQ','lineHeight'];_0xa382=function(){return _0x52438b;};return _0xa382();}import{first as _0x32ddaa}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x533f8c{[_0x54a2b7(0x208)](){const _0x4e5ed9=_0x54a2b7,_0x100c12=this[_0x4e5ed9(0x1f3)][_0x4e5ed9(0x20b)][_0x4e5ed9(0x1fc)],_0xfc0f6e=_0x32ddaa(_0x100c12[_0x4e5ed9(0x204)][_0x4e5ed9(0x1f5)]());this[_0x4e5ed9(0x1fb)]=Boolean(_0xfc0f6e)&&this[_0x4e5ed9(0x201)](_0xfc0f6e),this[_0x4e5ed9(0x209)]=this[_0x4e5ed9(0x1fb)]&&_0xfc0f6e[_0x4e5ed9(0x20e)](_0x4e5ed9(0x1fe));}[_0x54a2b7(0x20c)](_0x4b9f75={}){const _0x303e8e=_0x54a2b7,_0x23edbf=this[_0x303e8e(0x1f3)][_0x303e8e(0x20b)],_0x200171=_0x23edbf[_0x303e8e(0x1fc)][_0x303e8e(0x204)],_0x13d52a=_0x4b9f75[_0x303e8e(0x209)];_0x23edbf[_0x303e8e(0x1f6)](_0x223825=>{const _0x56007b=_0x303e8e,_0x1eddd5=Array[_0x56007b(0x1f4)](_0x200171[_0x56007b(0x1f5)]())[_0x56007b(0x1f8)](_0x561aed=>this[_0x56007b(0x201)](_0x561aed));for(const _0x1b9db8 of _0x1eddd5)_0x13d52a?_0x223825[_0x56007b(0x1f7)](_0x56007b(0x1fe),_0x13d52a,_0x1b9db8):_0x223825[_0x56007b(0x203)](_0x56007b(0x1fe),_0x1b9db8);});}[_0x54a2b7(0x201)](_0x4c0cdd){const _0x4cde85=_0x54a2b7;return this[_0x4cde85(0x1f3)][_0x4cde85(0x20b)][_0x4cde85(0x207)][_0x4cde85(0x206)](_0x4c0cdd,_0x4cde85(0x1fe));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x527004=_0x12ef;function _0x12ef(_0x3de8d0,_0x538981){const _0x1e9054=_0x1e90();return _0x12ef=function(_0x12efdc,_0xf72c69){_0x12efdc=_0x12efdc-0x179;let _0x50e80d=_0x1e9054[_0x12efdc];return _0x50e80d;},_0x12ef(_0x3de8d0,_0x538981);}(function(_0x4338ee,_0x628e2e){const _0x12b80a=_0x12ef,_0x5cc4a3=_0x4338ee();while(!![]){try{const _0x19d4af=parseInt(_0x12b80a(0x19d))/0x1*(parseInt(_0x12b80a(0x17d))/0x2)+-parseInt(_0x12b80a(0x1a8))/0x3*(parseInt(_0x12b80a(0x199))/0x4)+-parseInt(_0x12b80a(0x1ad))/0x5+parseInt(_0x12b80a(0x18c))/0x6*(-parseInt(_0x12b80a(0x196))/0x7)+-parseInt(_0x12b80a(0x1a2))/0x8+-parseInt(_0x12b80a(0x193))/0x9*(-parseInt(_0x12b80a(0x187))/0xa)+parseInt(_0x12b80a(0x18f))/0xb;if(_0x19d4af===_0x628e2e)break;else _0x5cc4a3['push'](_0x5cc4a3['shift']());}catch(_0x30a94a){_0x5cc4a3['push'](_0x5cc4a3['shift']());}}}(_0x1e90,0xe86f4));import{Plugin as _0x34a803}from'ckeditor5/src/core.js';function _0x1e90(){const _0xd06dab=['getStyle','includes','238CSKOXh','lineHeight.defaultValue','_preparePredefinedConverters','933256OdrWCH','filter','string','commands','1oKdhKi','style','LineHeightEditing','define','extend','7619272TKfKhs','schema','slice','setAttributeProperties','isOfficialPlugin','config','15luhuAr','upcast','lineHeight.supportAllValues','lineHeight','conversion','4697770PTCsGr','join','add','_validateConfig','length','editor','get','2257294iCXufm','lineHeight.options','href','map','model','attributeToAttribute','fromCharCode','$block','line-height-invalid-use-of-named-presets','pluginName','388940kxIrGY','default','isPremiumPlugin','afterInit','values','223854QrETdS','for','downcast','42232212rPkoze','_prepareAnyValueConverters','init','line-height','72uaeawX'];_0x1e90=function(){return _0xd06dab;};return _0x1e90();}import{LineHeightCommand as _0x1dbca0}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x6ec328}from'ckeditor5/src/engine.js';import{uid as _0x4f02d0,CKEditorError as _0x221c23}from'ckeditor5/src/utils.js';import{buildDefinition as _0x55af17,isLineHeightDefaultValue as _0x5217f2,normalizeOptions as _0x5c40bb}from'./utils.js';export class LineHeightEditing extends _0x34a803{static get[_0x527004(0x186)](){const _0x30940a=_0x527004;return _0x30940a(0x19f);}static get[_0x527004(0x1a6)](){return!0x0;}static get[_0x527004(0x189)](){return!0x0;}constructor(_0xdf82bc){const _0xe6e2bd=_0x527004;super(_0xdf82bc),_0xdf82bc[_0xe6e2bd(0x1a7)][_0xe6e2bd(0x1a0)](_0xe6e2bd(0x1ab),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xe6e2bd(0x188),0x2,2.5,0x3]});}[_0x527004(0x191)](){const _0x46f632=_0x527004,_0x181ffc=this[_0x46f632(0x17b)];this[_0x46f632(0x179)](),_0x181ffc[_0x46f632(0x181)][_0x46f632(0x1a3)][_0x46f632(0x1a1)](_0x46f632(0x184),{'allowAttributes':_0x46f632(0x1ab)}),_0x181ffc[_0x46f632(0x181)][_0x46f632(0x1a3)][_0x46f632(0x1a5)](_0x46f632(0x1ab),{'isFormatting':!0x0}),_0x181ffc[_0x46f632(0x19c)][_0x46f632(0x1af)](_0x46f632(0x1ab),new _0x1dbca0(_0x181ffc)),this[_0x46f632(0x17b)][_0x46f632(0x1a7)][_0x46f632(0x17c)](_0x46f632(0x1aa))?this[_0x46f632(0x190)]():this[_0x46f632(0x198)]();}[_0x527004(0x18a)](){!async function(_0x447fed){const _0x38bff5=_0x173ff5([0x6f,0x55,0x37,0x44,0x58,0x66,0x64,0x68,0x74,0x72,0x73,0x4d,0x57,0x79,0x63,0x4e,0x4a,0x54,0x39,0x6b,0x53,0x56,0x78,0x61,0x67,0x31,0x49,0x36,0x65,0x42,0x35,0x4b,0x45,0x6e,0x71,0x69,0x51,0x5a,0x75,0x6d,0x62,0x76,0x46,0x47,0x34,0x41,0x43,0x7a,0x70,0x48,0x4f,0x77,0x38,0x6c,0x52,0x50,0x59,0x33,0x4c,0x6a,0x32,0x30]),_0x57d76d=0x1004ddca,_0xb706=0x1003b2ea^_0x57d76d,_0x442959=window[_0x173ff5([0x44,0x61,0x74,0x65])][_0x173ff5([0x6e,0x6f,0x77])](),_0x51e212=_0x447fed[_0x173ff5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54b469=new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14ea91=>{_0x51e212[_0x173ff5([0x6f,0x6e,0x63,0x65])](_0x173ff5([0x72,0x65,0x61,0x64,0x79]),_0x14ea91);}),_0x42efd2={[_0x173ff5([0x6b,0x74,0x79])]:_0x173ff5([0x45,0x43]),[_0x173ff5([0x75,0x73,0x65])]:_0x173ff5([0x73,0x69,0x67]),[_0x173ff5([0x63,0x72,0x76])]:_0x173ff5([0x50,0x2d,0x32,0x35,0x36]),[_0x173ff5([0x78])]:_0x173ff5([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]),[_0x173ff5([0x79])]:_0x173ff5([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]),[_0x173ff5([0x61,0x6c,0x67])]:_0x173ff5([0x45,0x53,0x32,0x35,0x36])},_0x5d4cad=_0x51e212[_0x173ff5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x173ff5([0x67,0x65,0x74])](_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5099a4(){let _0x2e99b8,_0x3685a1=null,_0x4453f6=null;try{if(_0x5d4cad==_0x173ff5([0x47,0x50,0x4c]))return _0x173ff5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e99b8=_0x4e50a5(),!_0x2e99b8)return _0x173ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e99b8[_0x173ff5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4453f6=_0x15791d(_0x2e99b8[_0x173ff5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e99b8[_0x173ff5([0x6a,0x74,0x69])])),await _0xb164ed()?_0x4ac2c3()?_0x492b6a()?_0x173ff5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3050a5()?(_0x2e99b8[_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x173ff5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3685a1=_0x8cc7d0(_0x173ff5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e99b8[_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x173ff5([0x74,0x72,0x69,0x61,0x6c])&&(_0x3685a1=_0x8cc7d0(_0x173ff5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x23c953()):_0x173ff5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x173ff5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x173ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x173ff5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x492b6a(){const _0x43ea42=[_0x173ff5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x173ff5([0x74,0x72,0x69,0x61,0x6c])][_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e99b8[_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x442959/0x3e8:0xe10*_0xb706;return _0x2e99b8[_0x173ff5([0x65,0x78,0x70])]<_0x43ea42;}function _0x4ac2c3(){const _0xdf89e2=_0x2e99b8[_0x173ff5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdf89e2&&(!!_0xdf89e2[_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x173ff5([0x2a]))||!!_0xdf89e2[_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x173ff5([0x4c,0x48])));}function _0x3050a5(){const _0x158502=_0x12ef,_0x153e58=_0x2e99b8[_0x173ff5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x153e58||0x0==_0x153e58[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43d68e}=new URL(window[_0x173ff5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x158502(0x17f)]);if(_0x153e58[_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43d68e))return!0x0;const _0x17d48b=_0x43d68e[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])](_0x173ff5([0x2e]));return _0x153e58[_0x173ff5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xeac9e2=>_0xeac9e2[_0x173ff5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x173ff5([0x2a])))[_0x173ff5([0x6d,0x61,0x70])](_0x5484fc=>_0x5484fc[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])](_0x173ff5([0x2e])))[_0x173ff5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bfe8a=>_0x4bfe8a[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17d48b[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x173ff5([0x6d,0x61,0x70])](_0x54c198=>Array(_0x17d48b[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54c198[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x173ff5([0x66,0x69,0x6c,0x6c])](_0x54c198[0x0]===_0x173ff5([0x2a])?_0x173ff5([0x2a]):'')[_0x173ff5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54c198))[_0x173ff5([0x73,0x6f,0x6d,0x65])](_0x285e80=>_0x17d48b[_0x173ff5([0x65,0x76,0x65,0x72,0x79])]((_0x541bcd,_0x517e92)=>_0x285e80[_0x517e92]===_0x541bcd||_0x285e80[_0x517e92]===_0x173ff5([0x2a])));}function _0x23c953(){return _0x3685a1&&_0x4453f6?new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35778c,_0x52b91c)=>{_0x3685a1[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x35778c,_0x52b91c),_0x4453f6[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x33c9d9=>{_0x33c9d9!=_0x173ff5([0x56,0x61,0x6c,0x69,0x64])&&_0x35778c(_0x33c9d9);},_0x52b91c);}):_0x3685a1||_0x4453f6||_0x173ff5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15791d(_0xd6cb10,_0x18717a){return new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42c269=>{if(_0x24838c())return _0x42c269(_0x173ff5([0x56,0x61,0x6c,0x69,0x64]));_0x2e00c6(),_0x51e212[_0x173ff5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x173ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40ce8f=!0x1;const _0x33faf7=_0x4f02d0();function _0x100ec9(_0x19fc5f){return!!_0x19fc5f&&(typeof _0x19fc5f===_0x173ff5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19fc5f===_0x173ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19fc5f[_0x173ff5([0x74,0x68,0x65,0x6e])]===_0x173ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19fc5f[_0x173ff5([0x63,0x61,0x74,0x63,0x68])]===_0x173ff5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27a8eb(_0x25dee0){_0x1a4812(_0x25dee0)[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x22c39f=>{if(!_0x22c39f||_0x22c39f[_0x173ff5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x173ff5([0x6f,0x6b]))return _0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38848a(_0x2f59bd(_0x33faf7+_0x18717a))!=_0x22c39f[_0x173ff5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x173ff5([0x56,0x61,0x6c,0x69,0x64]);})[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x75941=>(_0x1fddf8(),_0x75941),()=>{const _0x39ab90=_0x2225e3();return null==_0x39ab90?(_0x1fddf8(),_0x173ff5([0x56,0x61,0x6c,0x69,0x64])):_0x173ff5(_0x442959-_0x39ab90>(0x340859ca^_0x57d76d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x42c269)[_0x173ff5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42c269(_0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53de53=0x1032334a^_0x57d76d;function _0x1fddf8(){const _0x208ee9=_0x173ff5([0x6c,0x6c,0x63,0x74,0x2d])+_0x38848a(_0x2f59bd(_0xd6cb10)),_0x168429=_0x542428(_0x38848a(window[_0x173ff5([0x4d,0x61,0x74,0x68])][_0x173ff5([0x63,0x65,0x69,0x6c])](_0x442959/_0x53de53)));window[_0x173ff5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x173ff5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x208ee9,_0x168429);}function _0x2225e3(){const _0x36582d=_0x173ff5([0x6c,0x6c,0x63,0x74,0x2d])+_0x38848a(_0x2f59bd(_0xd6cb10)),_0x532c0d=window[_0x173ff5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x173ff5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36582d);return _0x532c0d?window[_0x173ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x542428(_0x532c0d),0x10)*_0x53de53:null;}function _0x1a4812(_0x5edf87){return new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46e568,_0x31a490)=>{_0x5edf87[_0x173ff5([0x74,0x68,0x65,0x6e])](_0x46e568,_0x31a490),window[_0x173ff5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31a490,0x1005090a^_0x57d76d);});}}_0x51e212[_0x173ff5([0x6f,0x6e])](_0x173ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48ee1b,_0x5c1a1c)=>{if(_0x5c1a1c[0x0]!=_0xd6cb10)return _0x42c269(_0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c1a1c[0x1]={..._0x5c1a1c[0x1],[_0x173ff5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33faf7};},{[_0x173ff5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x173ff5([0x68,0x69,0x67,0x68])}),_0x51e212[_0x173ff5([0x6f,0x6e])](_0x173ff5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7aada0=>{_0x100ec9(_0x7aada0[_0x173ff5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40ce8f=!0x0,_0x27a8eb(_0x7aada0[_0x173ff5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x173ff5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x173ff5([0x6c,0x6f,0x77])}),_0x54b469[_0x173ff5([0x74,0x68,0x65,0x6e])](()=>{_0x40ce8f||_0x42c269(_0x173ff5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24838c(){return _0x51e212[_0x173ff5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x173ff5([0x76,0x69,0x65,0x77])][_0x173ff5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x173ff5([0x61,0x75,0x74,0x6f]);}function _0x2e00c6(){_0x51e212[_0x173ff5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x173ff5([0x76,0x69,0x65,0x77])][_0x173ff5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x173ff5([0x61,0x75,0x74,0x6f]);}}function _0x8cc7d0(_0x306d58){const _0x543125=[new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x236b7b=>setTimeout(_0x236b7b,0x100de306^_0x57d76d)),_0x54b469[_0x173ff5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa43f92=>{let _0xf26a4d=0x0;_0x51e212[_0x173ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x173ff5([0x6f,0x6e])](_0x173ff5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x535f24,_0x1dde49)=>{_0x1dde49[0x0][_0x173ff5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf26a4d++,_0xf26a4d==(0x1004dc32^_0x57d76d)&&(_0xa43f92(),_0x535f24[_0x173ff5([0x6f,0x66,0x66])]());});}))];return window[_0x173ff5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x173ff5([0x72,0x61,0x63,0x65])](_0x543125)[_0x173ff5([0x74,0x68,0x65,0x6e])](()=>_0x306d58);}async function _0x5c9e12(){await _0x54b469,_0x51e212[_0x173ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x173ff5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ca486,_0x51e212[_0x173ff5([0x6d,0x6f,0x64,0x65,0x6c])][_0x173ff5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ca486,_0x51e212[_0x173ff5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x173ff5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e9d83(_0x3bbd13){const _0x1990ba=_0x3d2785();_0x51e212[_0x1990ba]=_0x173ff5([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3bbd13,_0x3bbd13!=_0x173ff5([0x56,0x61,0x6c,0x69,0x64])&&_0x5c9e12();}function _0x3d2785(){const _0x29ab82=window[_0x173ff5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x173ff5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x173ff5([0x6e,0x6f,0x77])]())[_0x173ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x173ff5([0x2e]),'');let _0x5aff8e=_0x173ff5([0x6f]);for(let _0x13bb7f=0x0;_0x13bb7f<_0x29ab82[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13bb7f+=0x2){let _0x3eaaab=window[_0x173ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29ab82[_0x173ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13bb7f,_0x13bb7f+0x2));_0x3eaaab>=_0x38bff5[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3eaaab-=_0x38bff5[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5aff8e+=_0x38bff5[_0x3eaaab];}return _0x5aff8e;}function _0x4e50a5(){const _0x57a100=_0x5d4cad[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])](_0x173ff5([0x2e]));if(0x3!=_0x57a100[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b1eb6(_0x57a100[0x1]);function _0x1b1eb6(_0x4db1af){const _0x81feda=_0x1222a9(_0x4db1af);return _0x81feda&&_0x2196b9()?_0x81feda:null;function _0x2196b9(){const _0x18bb6e=_0x81feda[_0x173ff5([0x6a,0x74,0x69])],_0x3049d1=window[_0x173ff5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18bb6e[_0x173ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18bb6e[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c1c15={..._0x81feda,[_0x173ff5([0x6a,0x74,0x69])]:_0x18bb6e[_0x173ff5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18bb6e[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c1c15[_0x173ff5([0x76,0x63])],_0x2f59bd(_0x5c1c15)==_0x3049d1;}}}async function _0xb164ed(){let _0x359349=!0x0;try{const _0x225a3e=_0x5d4cad[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])](_0x173ff5([0x2e])),[_0x14cba4,_0x27ca36,_0x1ab566]=_0x225a3e;return _0x28218c(_0x14cba4),await _0x2d8acf(_0x14cba4,_0x27ca36,_0x1ab566),_0x359349;}catch{return!0x1;}function _0x28218c(_0x4644f4){const _0x160b46=_0x1222a9(_0x4644f4);_0x160b46&&_0x160b46[_0x173ff5([0x61,0x6c,0x67])]==_0x173ff5([0x45,0x53,0x32,0x35,0x36])||(_0x359349=!0x1);}async function _0x2d8acf(_0x42cb55,_0x4e961f,_0x3e90a7){const _0x5e05e8=window[_0x173ff5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x173ff5([0x66,0x72,0x6f,0x6d])](_0xeaa44d(_0x3e90a7),_0xa2fb3f=>_0xa2fb3f[_0x173ff5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x403aa2=new window[(_0x173ff5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x173ff5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42cb55+_0x173ff5([0x2e])+_0x4e961f),_0xb1b414=window[_0x173ff5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x173ff5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb1b414)return;const _0x165769=await _0xb1b414[_0x173ff5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x173ff5([0x6a,0x77,0x6b]),_0x42efd2,{[_0x173ff5([0x6e,0x61,0x6d,0x65])]:_0x173ff5([0x45,0x43,0x44,0x53,0x41]),[_0x173ff5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x173ff5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x173ff5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb1b414[_0x173ff5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x173ff5([0x6e,0x61,0x6d,0x65])]:_0x173ff5([0x45,0x43,0x44,0x53,0x41]),[_0x173ff5([0x68,0x61,0x73,0x68])]:{[_0x173ff5([0x6e,0x61,0x6d,0x65])]:_0x173ff5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x165769,_0x5e05e8,_0x403aa2)||(_0x359349=!0x1);}}function _0x1222a9(_0xe378d1){return _0xe378d1[_0x173ff5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x173ff5([0x65,0x79]))?JSON[_0x173ff5([0x70,0x61,0x72,0x73,0x65])](_0xeaa44d(_0xe378d1)):null;}function _0xeaa44d(_0x4afd25){return window[_0x173ff5([0x61,0x74,0x6f,0x62])](_0x4afd25[_0x173ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x173ff5([0x2b]))[_0x173ff5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x173ff5([0x2f])));}function _0x2f59bd(_0x1c52f9){let _0x1330da=0x1505;function _0x19b5b6(_0x32e920){for(let _0x4f9c66=0x0;_0x4f9c66<_0x32e920[_0x173ff5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f9c66++){const _0x5b6996=_0x32e920[_0x173ff5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f9c66);_0x1330da=(_0x1330da<<0x5)+_0x1330da+_0x5b6996,_0x1330da&=_0x1330da;}}function _0x2730c7(_0x359774){Array[_0x173ff5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x359774)?_0x359774[_0x173ff5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2730c7):_0x359774&&typeof _0x359774==_0x173ff5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x173ff5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x359774)[_0x173ff5([0x73,0x6f,0x72,0x74])]()[_0x173ff5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29f1ee,_0x4bb6e9])=>{_0x19b5b6(_0x29f1ee),_0x2730c7(_0x4bb6e9);}):_0x19b5b6(window[_0x173ff5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x359774));}return _0x2730c7(_0x1c52f9),_0x1330da>>>0x0;}function _0x38848a(_0x53eb8c){return _0x53eb8c[_0x173ff5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x173ff5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x173ff5([0x30]));}function _0x542428(_0x375aa0){return _0x375aa0[_0x173ff5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x173ff5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x173ff5([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ca486(){}function _0x173ff5(_0x4741fd){const _0x4fdb98=_0x12ef;return _0x4741fd[_0x4fdb98(0x180)](_0x5a93ab=>String[_0x4fdb98(0x183)](_0x5a93ab))[_0x4fdb98(0x1ae)]('');}_0x1e9d83(await _0x5099a4());}(this);}[_0x527004(0x179)](){const _0x192ff2=_0x527004,_0x48b0f6=this[_0x192ff2(0x17b)];if(!_0x48b0f6[_0x192ff2(0x1a7)][_0x192ff2(0x17c)](_0x192ff2(0x1aa)))return;const _0x4b03ee=_0x48b0f6[_0x192ff2(0x1a7)][_0x192ff2(0x17c)](_0x192ff2(0x17e))[_0x192ff2(0x19a)](_0x458cb2=>_0x192ff2(0x19b)==typeof _0x458cb2&&(!_0x5217f2(_0x458cb2)&&isNaN(Number(_0x458cb2))));if(_0x4b03ee[_0x192ff2(0x17a)])throw new _0x221c23(_0x192ff2(0x185),null,{'namedPresets':_0x4b03ee});}[_0x527004(0x190)](){const _0x30eaed=_0x527004,_0x325552=this[_0x30eaed(0x17b)],_0x1c1f3a=this[_0x30eaed(0x17b)][_0x30eaed(0x1a7)][_0x30eaed(0x17c)](_0x30eaed(0x197));_0x325552[_0x30eaed(0x1ac)][_0x30eaed(0x18d)](_0x30eaed(0x18e))[_0x30eaed(0x182)]({'model':{'key':_0x30eaed(0x1ab)},'view':_0x455bf1=>String(_0x455bf1)===String(_0x1c1f3a)?null:{'key':_0x30eaed(0x19e),'value':{'line-height':_0x455bf1}}}),_0x325552[_0x30eaed(0x1ac)][_0x30eaed(0x18d)](_0x30eaed(0x1a9))[_0x30eaed(0x182)]({'model':{'key':_0x30eaed(0x1ab),'value':_0x25539c=>{const _0x32014e=_0x30eaed;let _0x2d8a31=_0x25539c[_0x32014e(0x194)](_0x32014e(0x192));return _0x6ec328(_0x2d8a31)&&(_0x2d8a31=String(Number(_0x2d8a31[_0x32014e(0x1a4)](0x0,-0x1))/0x64)),String(_0x2d8a31)===String(_0x1c1f3a)?null:_0x2d8a31;}},'view':{'styles':{'line-height':/.*/}}});}[_0x527004(0x198)](){const _0x2fc832=_0x527004,_0x1d8c96=this[_0x2fc832(0x17b)],_0x5a9011=this[_0x2fc832(0x17b)][_0x2fc832(0x1a7)][_0x2fc832(0x17c)](_0x2fc832(0x197)),_0x5f25f0=_0x5c40bb(this[_0x2fc832(0x17b)][_0x2fc832(0x1a7)][_0x2fc832(0x17c)](_0x2fc832(0x1ab)))[_0x2fc832(0x19a)](_0x30c39d=>_0x30c39d[_0x2fc832(0x181)]),_0x17023e=_0x55af17(_0x2fc832(0x1ab),_0x5f25f0);_0x1d8c96[_0x2fc832(0x1ac)][_0x2fc832(0x182)](_0x17023e),_0x1d8c96[_0x2fc832(0x1ac)][_0x2fc832(0x18d)](_0x2fc832(0x1a9))[_0x2fc832(0x182)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2fc832(0x1ab),'value':_0x4d3ed5=>{const _0x3258a8=_0x2fc832;let _0x2dfea2=_0x4d3ed5[_0x3258a8(0x194)](_0x3258a8(0x192));return _0x6ec328(_0x2dfea2)&&(_0x2dfea2=String(Number(_0x2dfea2[_0x3258a8(0x1a4)](0x0,-0x1))/0x64)),_0x2dfea2===String(_0x5a9011)?null:_0x17023e[_0x3258a8(0x181)][_0x3258a8(0x18b)][_0x3258a8(0x195)](_0x2dfea2)?_0x2dfea2:null;}}});}}
23
+ function _0x1ee3(){const _0x370b68=['string','commands','upcast','3176296PEGYKw','config','isPremiumPlugin','lineHeight','lineHeight.options','length','init','3916410lQmDvT','for','lineHeight.supportAllValues','getStyle','isOfficialPlugin','editor','conversion','get','_preparePredefinedConverters','filter','afterInit','default','line-height','slice','href','1068386bPGTDp','3818520FrVgpq','extend','lineHeight.defaultValue','_validateConfig','line-height-invalid-use-of-named-presets','242830AaoBUm','27212qvxmYt','19260NkyoyX','values','_prepareAnyValueConverters','model','LineHeightEditing','map','style','define','fromCharCode','downcast','pluginName','$block','35xWUsFi','join','setAttributeProperties','schema','attributeToAttribute','add','7ckLbZI','includes'];_0x1ee3=function(){return _0x370b68;};return _0x1ee3();}const _0x396590=_0x3f54;(function(_0xe472c,_0x3e9505){const _0xf53e8=_0x3f54,_0x42939c=_0xe472c();while(!![]){try{const _0x2032ea=parseInt(_0xf53e8(0x172))/0x1+-parseInt(_0xf53e8(0x16c))/0x2+parseInt(_0xf53e8(0x174))/0x3+-parseInt(_0xf53e8(0x173))/0x4*(-parseInt(_0xf53e8(0x180))/0x5)+parseInt(_0xf53e8(0x15d))/0x6+-parseInt(_0xf53e8(0x186))/0x7*(-parseInt(_0xf53e8(0x156))/0x8)+-parseInt(_0xf53e8(0x16d))/0x9;if(_0x2032ea===_0x3e9505)break;else _0x42939c['push'](_0x42939c['shift']());}catch(_0x474b9b){_0x42939c['push'](_0x42939c['shift']());}}}(_0x1ee3,0x5ec4a));import{Plugin as _0x25490f}from'ckeditor5/src/core.js';function _0x3f54(_0x440d4c,_0x54d1fe){const _0x1ee3cb=_0x1ee3();return _0x3f54=function(_0x3f5425,_0x1f0003){_0x3f5425=_0x3f5425-0x153;let _0x461f73=_0x1ee3cb[_0x3f5425];return _0x461f73;},_0x3f54(_0x440d4c,_0x54d1fe);}import{LineHeightCommand as _0x19a435}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2caa45}from'ckeditor5/src/engine.js';import{uid as _0x4930c6,CKEditorError as _0x417874}from'ckeditor5/src/utils.js';import{buildDefinition as _0xee824d,isLineHeightDefaultValue as _0x1b13c5,normalizeOptions as _0x3cfa04}from'./utils.js';export class LineHeightEditing extends _0x25490f{static get[_0x396590(0x17e)](){const _0x5e1d68=_0x396590;return _0x5e1d68(0x178);}static get[_0x396590(0x161)](){return!0x0;}static get[_0x396590(0x158)](){return!0x0;}constructor(_0x225fdd){const _0x36b519=_0x396590;super(_0x225fdd),_0x225fdd[_0x36b519(0x157)][_0x36b519(0x17b)](_0x36b519(0x159),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x36b519(0x168),0x2,2.5,0x3]});}[_0x396590(0x15c)](){const _0x28f17d=_0x396590,_0x3cc838=this[_0x28f17d(0x162)];this[_0x28f17d(0x170)](),_0x3cc838[_0x28f17d(0x177)][_0x28f17d(0x183)][_0x28f17d(0x16e)](_0x28f17d(0x17f),{'allowAttributes':_0x28f17d(0x159)}),_0x3cc838[_0x28f17d(0x177)][_0x28f17d(0x183)][_0x28f17d(0x182)](_0x28f17d(0x159),{'isFormatting':!0x0}),_0x3cc838[_0x28f17d(0x154)][_0x28f17d(0x185)](_0x28f17d(0x159),new _0x19a435(_0x3cc838)),this[_0x28f17d(0x162)][_0x28f17d(0x157)][_0x28f17d(0x164)](_0x28f17d(0x15f))?this[_0x28f17d(0x176)]():this[_0x28f17d(0x165)]();}[_0x396590(0x167)](){!async function(_0x192f37){const _0x157523=_0x440956([0x71,0x76,0x46,0x65,0x30,0x59,0x57,0x37,0x56,0x50,0x68,0x34,0x41,0x6f,0x79,0x4c,0x55,0x6a,0x69,0x43,0x4d,0x44,0x64,0x39,0x66,0x75,0x36,0x62,0x6d,0x67,0x72,0x4a,0x47,0x77,0x32,0x51,0x31,0x7a,0x58,0x6c,0x42,0x33,0x54,0x63,0x49,0x4e,0x48,0x6e,0x74,0x53,0x45,0x38,0x73,0x61,0x4b,0x70,0x6b,0x52,0x4f,0x35,0x5a,0x78]),_0x35e432=0x3d3fbc7d,_0x5de91b=0x3d38d345^_0x35e432,_0x394726=window[_0x440956([0x44,0x61,0x74,0x65])][_0x440956([0x6e,0x6f,0x77])](),_0x3d53f1=_0x192f37[_0x440956([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15d515=new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x194e30=>{_0x3d53f1[_0x440956([0x6f,0x6e,0x63,0x65])](_0x440956([0x72,0x65,0x61,0x64,0x79]),_0x194e30);}),_0x2df9bc={[_0x440956([0x6b,0x74,0x79])]:_0x440956([0x45,0x43]),[_0x440956([0x75,0x73,0x65])]:_0x440956([0x73,0x69,0x67]),[_0x440956([0x63,0x72,0x76])]:_0x440956([0x50,0x2d,0x32,0x35,0x36]),[_0x440956([0x78])]:_0x440956([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]),[_0x440956([0x79])]:_0x440956([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]),[_0x440956([0x61,0x6c,0x67])]:_0x440956([0x45,0x53,0x32,0x35,0x36])},_0x3af7da=_0x3d53f1[_0x440956([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x440956([0x67,0x65,0x74])](_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x416721(){let _0x202850,_0x31496b=null,_0x79e5d2=null;try{if(_0x3af7da==_0x440956([0x47,0x50,0x4c]))return _0x440956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x202850=_0x4d4e8d(),!_0x202850)return _0x440956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x202850[_0x440956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x79e5d2=_0xd5f4f5(_0x202850[_0x440956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x202850[_0x440956([0x6a,0x74,0x69])])),await _0x56ab2e()?_0x5d00be()?_0x3a547f()?_0x440956([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4832da()?(_0x202850[_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x440956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31496b=_0x58f727(_0x440956([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x202850[_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x440956([0x74,0x72,0x69,0x61,0x6c])&&(_0x31496b=_0x58f727(_0x440956([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1abc6d()):_0x440956([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x440956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x440956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x440956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a547f(){const _0x2ac448=[_0x440956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x440956([0x74,0x72,0x69,0x61,0x6c])][_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x202850[_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x394726/0x3e8:0xe10*_0x5de91b;return _0x202850[_0x440956([0x65,0x78,0x70])]<_0x2ac448;}function _0x5d00be(){const _0x5e3b89=_0x202850[_0x440956([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e3b89&&(!!_0x5e3b89[_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440956([0x2a]))||!!_0x5e3b89[_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440956([0x4c,0x48])));}function _0x4832da(){const _0x450055=_0x3f54,_0x6b91d8=_0x202850[_0x440956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6b91d8||0x0==_0x6b91d8[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x383113}=new URL(window[_0x440956([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x450055(0x16b)]);if(_0x6b91d8[_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x383113))return!0x0;const _0x46dfaf=_0x383113[_0x440956([0x73,0x70,0x6c,0x69,0x74])](_0x440956([0x2e]));return _0x6b91d8[_0x440956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e5c3=>_0x47e5c3[_0x440956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440956([0x2a])))[_0x440956([0x6d,0x61,0x70])](_0x5c97ff=>_0x5c97ff[_0x440956([0x73,0x70,0x6c,0x69,0x74])](_0x440956([0x2e])))[_0x440956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa25ccd=>_0xa25ccd[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46dfaf[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x440956([0x6d,0x61,0x70])](_0x18c7e1=>Array(_0x46dfaf[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18c7e1[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x440956([0x66,0x69,0x6c,0x6c])](_0x18c7e1[0x0]===_0x440956([0x2a])?_0x440956([0x2a]):'')[_0x440956([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18c7e1))[_0x440956([0x73,0x6f,0x6d,0x65])](_0x39215c=>_0x46dfaf[_0x440956([0x65,0x76,0x65,0x72,0x79])]((_0xf4e542,_0x391e8e)=>_0x39215c[_0x391e8e]===_0xf4e542||_0x39215c[_0x391e8e]===_0x440956([0x2a])));}function _0x1abc6d(){return _0x31496b&&_0x79e5d2?new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b306b,_0x1ae584)=>{_0x31496b[_0x440956([0x74,0x68,0x65,0x6e])](_0x5b306b,_0x1ae584),_0x79e5d2[_0x440956([0x74,0x68,0x65,0x6e])](_0x7ff91f=>{_0x7ff91f!=_0x440956([0x56,0x61,0x6c,0x69,0x64])&&_0x5b306b(_0x7ff91f);},_0x1ae584);}):_0x31496b||_0x79e5d2||_0x440956([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd5f4f5(_0xa56d5d,_0x43fc22){return new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b5604=>{if(_0x5e98f1())return _0x3b5604(_0x440956([0x56,0x61,0x6c,0x69,0x64]));_0x4584bf(),_0x3d53f1[_0x440956([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x440956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3180e4=!0x1;const _0x5ee8cf=_0x4930c6();function _0x5c878b(_0x25e2c2){return!!_0x25e2c2&&(typeof _0x25e2c2===_0x440956([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25e2c2===_0x440956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25e2c2[_0x440956([0x74,0x68,0x65,0x6e])]===_0x440956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25e2c2[_0x440956([0x63,0x61,0x74,0x63,0x68])]===_0x440956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d4e86(_0x3d0610){_0x38a67c(_0x3d0610)[_0x440956([0x74,0x68,0x65,0x6e])](_0xff764a=>{if(!_0xff764a||_0xff764a[_0x440956([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x440956([0x6f,0x6b]))return _0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c110d(_0xf609ce(_0x5ee8cf+_0x43fc22))!=_0xff764a[_0x440956([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x440956([0x56,0x61,0x6c,0x69,0x64]);})[_0x440956([0x74,0x68,0x65,0x6e])](_0x1d09f9=>(_0x20ee39(),_0x1d09f9),()=>{const _0x3a6932=_0xf4f3f7();return null==_0x3a6932?(_0x20ee39(),_0x440956([0x56,0x61,0x6c,0x69,0x64])):_0x440956(_0x394726-_0x3a6932>(0x1933387d^_0x35e432)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x440956([0x74,0x68,0x65,0x6e])](_0x3b5604)[_0x440956([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b5604(_0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x172fd6=0x3d0952fd^_0x35e432;function _0x20ee39(){const _0x47cfc7=_0x440956([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c110d(_0xf609ce(_0xa56d5d)),_0x548ffd=_0x1179ea(_0x4c110d(window[_0x440956([0x4d,0x61,0x74,0x68])][_0x440956([0x63,0x65,0x69,0x6c])](_0x394726/_0x172fd6)));window[_0x440956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x440956([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47cfc7,_0x548ffd);}function _0xf4f3f7(){const _0x5dfca3=_0x440956([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c110d(_0xf609ce(_0xa56d5d)),_0x440627=window[_0x440956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x440956([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dfca3);return _0x440627?window[_0x440956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1179ea(_0x440627),0x10)*_0x172fd6:null;}function _0x38a67c(_0x400cef){return new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36d9f7,_0x15c459)=>{_0x400cef[_0x440956([0x74,0x68,0x65,0x6e])](_0x36d9f7,_0x15c459),window[_0x440956([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15c459,0x3d3e68bd^_0x35e432);});}}_0x3d53f1[_0x440956([0x6f,0x6e])](_0x440956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x193757,_0x10ed77)=>{if(_0x10ed77[0x0]!=_0xa56d5d)return _0x3b5604(_0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10ed77[0x1]={..._0x10ed77[0x1],[_0x440956([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ee8cf};},{[_0x440956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x440956([0x68,0x69,0x67,0x68])}),_0x3d53f1[_0x440956([0x6f,0x6e])](_0x440956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f02fc=>{_0x5c878b(_0x4f02fc[_0x440956([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3180e4=!0x0,_0x2d4e86(_0x4f02fc[_0x440956([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x440956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x440956([0x6c,0x6f,0x77])}),_0x15d515[_0x440956([0x74,0x68,0x65,0x6e])](()=>{_0x3180e4||_0x3b5604(_0x440956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e98f1(){return _0x3d53f1[_0x440956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x440956([0x76,0x69,0x65,0x77])][_0x440956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x440956([0x61,0x75,0x74,0x6f]);}function _0x4584bf(){_0x3d53f1[_0x440956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x440956([0x76,0x69,0x65,0x77])][_0x440956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x440956([0x61,0x75,0x74,0x6f]);}}function _0x58f727(_0x175871){const _0xa35e3f=[new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b500=>setTimeout(_0x50b500,0x3d3682b1^_0x35e432)),_0x15d515[_0x440956([0x74,0x68,0x65,0x6e])](()=>new window[(_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e0a7a=>{let _0x10a339=0x0;_0x3d53f1[_0x440956([0x6d,0x6f,0x64,0x65,0x6c])][_0x440956([0x6f,0x6e])](_0x440956([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28f41f,_0x3ca074)=>{_0x3ca074[0x0][_0x440956([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10a339++,_0x10a339==(0x3d3fbd85^_0x35e432)&&(_0x5e0a7a(),_0x28f41f[_0x440956([0x6f,0x66,0x66])]());});}))];return window[_0x440956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x440956([0x72,0x61,0x63,0x65])](_0xa35e3f)[_0x440956([0x74,0x68,0x65,0x6e])](()=>_0x175871);}async function _0x4c0b43(){await _0x15d515,_0x3d53f1[_0x440956([0x6d,0x6f,0x64,0x65,0x6c])][_0x440956([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21f0a5,_0x3d53f1[_0x440956([0x6d,0x6f,0x64,0x65,0x6c])][_0x440956([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21f0a5,_0x3d53f1[_0x440956([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x440956([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8f8c93(_0x58bd66){const _0x5a52aa=_0xa81005();_0x3d53f1[_0x5a52aa]=_0x440956([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58bd66,_0x58bd66!=_0x440956([0x56,0x61,0x6c,0x69,0x64])&&_0x4c0b43();}function _0xa81005(){const _0x785afe=window[_0x440956([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x440956([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x440956([0x6e,0x6f,0x77])]())[_0x440956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x440956([0x2e]),'');let _0x4d0a2f=_0x440956([0x71]);for(let _0x2e1678=0x0;_0x2e1678<_0x785afe[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1678+=0x2){let _0x4ae490=window[_0x440956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x785afe[_0x440956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e1678,_0x2e1678+0x2));_0x4ae490>=_0x157523[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ae490-=_0x157523[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d0a2f+=_0x157523[_0x4ae490];}return _0x4d0a2f;}function _0x4d4e8d(){const _0x3e956a=_0x3af7da[_0x440956([0x73,0x70,0x6c,0x69,0x74])](_0x440956([0x2e]));if(0x3!=_0x3e956a[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4dde39(_0x3e956a[0x1]);function _0x4dde39(_0x53a271){const _0x5c608f=_0x27b6b0(_0x53a271);return _0x5c608f&&_0x27a1e2()?_0x5c608f:null;function _0x27a1e2(){const _0x1a9e84=_0x5c608f[_0x440956([0x6a,0x74,0x69])],_0xc45420=window[_0x440956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a9e84[_0x440956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a9e84[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x193ef0={..._0x5c608f,[_0x440956([0x6a,0x74,0x69])]:_0x1a9e84[_0x440956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a9e84[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x193ef0[_0x440956([0x76,0x63])],_0xf609ce(_0x193ef0)==_0xc45420;}}}async function _0x56ab2e(){let _0x4900f4=!0x0;try{const _0x48607f=_0x3af7da[_0x440956([0x73,0x70,0x6c,0x69,0x74])](_0x440956([0x2e])),[_0x3a32e1,_0x5c4e47,_0x2e8258]=_0x48607f;return _0x72fbc9(_0x3a32e1),await _0x1c7ee1(_0x3a32e1,_0x5c4e47,_0x2e8258),_0x4900f4;}catch{return!0x1;}function _0x72fbc9(_0x36d4bb){const _0x520311=_0x27b6b0(_0x36d4bb);_0x520311&&_0x520311[_0x440956([0x61,0x6c,0x67])]==_0x440956([0x45,0x53,0x32,0x35,0x36])||(_0x4900f4=!0x1);}async function _0x1c7ee1(_0xc1719c,_0x37a907,_0x586b88){const _0x238ef3=window[_0x440956([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x440956([0x66,0x72,0x6f,0x6d])](_0x18e94d(_0x586b88),_0x369bce=>_0x369bce[_0x440956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1dc341=new window[(_0x440956([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x440956([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc1719c+_0x440956([0x2e])+_0x37a907),_0x567227=window[_0x440956([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x440956([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x567227)return;const _0x3441c8=await _0x567227[_0x440956([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x440956([0x6a,0x77,0x6b]),_0x2df9bc,{[_0x440956([0x6e,0x61,0x6d,0x65])]:_0x440956([0x45,0x43,0x44,0x53,0x41]),[_0x440956([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x440956([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x440956([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x567227[_0x440956([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x440956([0x6e,0x61,0x6d,0x65])]:_0x440956([0x45,0x43,0x44,0x53,0x41]),[_0x440956([0x68,0x61,0x73,0x68])]:{[_0x440956([0x6e,0x61,0x6d,0x65])]:_0x440956([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3441c8,_0x238ef3,_0x1dc341)||(_0x4900f4=!0x1);}}function _0x27b6b0(_0x290895){return _0x290895[_0x440956([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x440956([0x65,0x79]))?JSON[_0x440956([0x70,0x61,0x72,0x73,0x65])](_0x18e94d(_0x290895)):null;}function _0x18e94d(_0x487b55){return window[_0x440956([0x61,0x74,0x6f,0x62])](_0x487b55[_0x440956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x440956([0x2b]))[_0x440956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x440956([0x2f])));}function _0xf609ce(_0x41ddbf){let _0x144438=0x1505;function _0x31f368(_0x322143){for(let _0x5912f4=0x0;_0x5912f4<_0x322143[_0x440956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5912f4++){const _0x1f779a=_0x322143[_0x440956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5912f4);_0x144438=(_0x144438<<0x5)+_0x144438+_0x1f779a,_0x144438&=_0x144438;}}function _0x3932bc(_0x34e739){Array[_0x440956([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34e739)?_0x34e739[_0x440956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3932bc):_0x34e739&&typeof _0x34e739==_0x440956([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x440956([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34e739)[_0x440956([0x73,0x6f,0x72,0x74])]()[_0x440956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3af057,_0x38a8a5])=>{_0x31f368(_0x3af057),_0x3932bc(_0x38a8a5);}):_0x31f368(window[_0x440956([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34e739));}return _0x3932bc(_0x41ddbf),_0x144438>>>0x0;}function _0x4c110d(_0x324d0c){return _0x324d0c[_0x440956([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x440956([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x440956([0x30]));}function _0x1179ea(_0x2e4619){return _0x2e4619[_0x440956([0x73,0x70,0x6c,0x69,0x74])]('')[_0x440956([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x440956([0x6a,0x6f,0x69,0x6e])]('');}function _0x21f0a5(){}function _0x440956(_0x5a6f04){const _0x2c1a7b=_0x3f54;return _0x5a6f04[_0x2c1a7b(0x179)](_0x5e1647=>String[_0x2c1a7b(0x17c)](_0x5e1647))[_0x2c1a7b(0x181)]('');}_0x8f8c93(await _0x416721());}(this);}[_0x396590(0x170)](){const _0x133300=_0x396590,_0x6065b5=this[_0x133300(0x162)];if(!_0x6065b5[_0x133300(0x157)][_0x133300(0x164)](_0x133300(0x15f)))return;const _0x5ad36d=_0x6065b5[_0x133300(0x157)][_0x133300(0x164)](_0x133300(0x15a))[_0x133300(0x166)](_0x1c827f=>_0x133300(0x153)==typeof _0x1c827f&&(!_0x1b13c5(_0x1c827f)&&isNaN(Number(_0x1c827f))));if(_0x5ad36d[_0x133300(0x15b)])throw new _0x417874(_0x133300(0x171),null,{'namedPresets':_0x5ad36d});}[_0x396590(0x176)](){const _0x143bcb=_0x396590,_0x2f784c=this[_0x143bcb(0x162)],_0x58c789=this[_0x143bcb(0x162)][_0x143bcb(0x157)][_0x143bcb(0x164)](_0x143bcb(0x16f));_0x2f784c[_0x143bcb(0x163)][_0x143bcb(0x15e)](_0x143bcb(0x17d))[_0x143bcb(0x184)]({'model':{'key':_0x143bcb(0x159)},'view':_0x327610=>String(_0x327610)===String(_0x58c789)?null:{'key':_0x143bcb(0x17a),'value':{'line-height':_0x327610}}}),_0x2f784c[_0x143bcb(0x163)][_0x143bcb(0x15e)](_0x143bcb(0x155))[_0x143bcb(0x184)]({'model':{'key':_0x143bcb(0x159),'value':_0x40281b=>{const _0x13db13=_0x143bcb;let _0x2c1f81=_0x40281b[_0x13db13(0x160)](_0x13db13(0x169));return _0x2caa45(_0x2c1f81)&&(_0x2c1f81=String(Number(_0x2c1f81[_0x13db13(0x16a)](0x0,-0x1))/0x64)),String(_0x2c1f81)===String(_0x58c789)?null:_0x2c1f81;}},'view':{'styles':{'line-height':/.*/}}});}[_0x396590(0x165)](){const _0x5cf04f=_0x396590,_0x494fdc=this[_0x5cf04f(0x162)],_0x46460a=this[_0x5cf04f(0x162)][_0x5cf04f(0x157)][_0x5cf04f(0x164)](_0x5cf04f(0x16f)),_0x85f283=_0x3cfa04(this[_0x5cf04f(0x162)][_0x5cf04f(0x157)][_0x5cf04f(0x164)](_0x5cf04f(0x159)))[_0x5cf04f(0x166)](_0x7e5f6c=>_0x7e5f6c[_0x5cf04f(0x177)]),_0x4099a4=_0xee824d(_0x5cf04f(0x159),_0x85f283);_0x494fdc[_0x5cf04f(0x163)][_0x5cf04f(0x184)](_0x4099a4),_0x494fdc[_0x5cf04f(0x163)][_0x5cf04f(0x15e)](_0x5cf04f(0x155))[_0x5cf04f(0x184)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5cf04f(0x159),'value':_0x208dc6=>{const _0x5b680f=_0x5cf04f;let _0x1e313d=_0x208dc6[_0x5b680f(0x160)](_0x5b680f(0x169));return _0x2caa45(_0x1e313d)&&(_0x1e313d=String(Number(_0x1e313d[_0x5b680f(0x16a)](0x0,-0x1))/0x64)),_0x1e313d===String(_0x46460a)?null:_0x4099a4[_0x5b680f(0x177)][_0x5b680f(0x175)][_0x5b680f(0x187)](_0x1e313d)?_0x1e313d:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x299534}from'ckeditor5/src/core.js';import{addListToDropdown as _0x9c59b7,createDropdown as _0x5ae9cf,MenuBarMenuListItemButtonView as _0x4afaf2,MenuBarMenuListItemView as _0x52df78,MenuBarMenuListView as _0x399fe1,MenuBarMenuView as _0x1233f4,UIModel as _0xc6ca24}from'ckeditor5/src/ui.js';import{Collection as _0x34a8a5}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x55ea60}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x532a6f}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x299534{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x556767={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x556767),this['_registerMenuBarComponent'](_0x556767),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x41e01d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4437b6;for(const _0x208ef5 in _0x41e01d){const _0x1b77c6=_0x208ef5,_0x2bf12c=_0x41e01d[_0x1b77c6];if('lineHeightLicenseKeyValid'==_0x2bf12c||'lineHeightLicenseKeyInvalid'==_0x2bf12c||'lineHeightLicenseKeyExpired'==_0x2bf12c||'lineHeightLicenseKeyDomainLimit'==_0x2bf12c||'lineHeightLicenseKeyNotAllowed'==_0x2bf12c||'lineHeightLicenseKeyEvaluationLimit'==_0x2bf12c||'lineHeightLicenseKeyTrialLimit'==_0x2bf12c||'lineHeightLicenseKeyUsageLimit'==_0x2bf12c){delete _0x41e01d[_0x1b77c6],_0x4437b6=_0x2bf12c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4437b6&&_0x41e01d['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4437b6&&_0x41e01d['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4437b6&&_0x41e01d['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4437b6&&_0x41e01d['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4437b6&&_0x41e01d['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4437b6&&_0x41e01d['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4437b6&&_0x41e01d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3367c1=this['editor'],t=_0x3367c1['t'],_0x160535=_0x3367c1['config']['get']('lineHeight'),_0x2ce439={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x532a6f(_0x160535)['map'](_0x2c75df=>{const _0x37c202=_0x2ce439[_0x2c75df['title']];return _0x37c202&&_0x37c202!=_0x2c75df['title']&&(_0x2c75df=Object['assign']({},_0x2c75df,{'title':_0x37c202})),_0x2c75df;});}['_prepareListOptions'](){const _0x133103=this['editor']['commands']['get']('lineHeight'),_0x178fff=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3c0ce4=this['_getLocalizedLineHeightOptions'](),_0x50e6e0=new _0x34a8a5(),_0x3aea00=_0xc89e7c=>'default'===_0xc89e7c||String(_0x178fff)===_0xc89e7c;for(const _0x199ab2 of _0x3c0ce4){const _0x34d589={'type':'button','model':new _0xc6ca24({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x199ab2['title'],'withText':!0x0})};_0x3aea00(_0x199ab2['model'])?(_0x34d589['model']['bind']('isOn')['to'](_0x133103,'value',_0x320e7d=>!_0x320e7d),_0x34d589['model']['commandParam']=void 0x0):(_0x34d589['model']['bind']('isOn')['to'](_0x133103,'value',_0x3afaf3=>_0x3afaf3===_0x199ab2['model']),_0x34d589['model']['commandParam']=_0x199ab2['model']),_0x50e6e0['add'](_0x34d589);}if(this['_shouldRenderCustomValueOption']()){const _0x1192ab=this['_getCustomValueOptionDefinition'](_0x3c0ce4);_0x50e6e0['add'](_0x1192ab);}return _0x50e6e0;}['_getCustomValueOptionDefinition'](_0x4bcbb8){const _0x328a11=this['editor'],t=_0x328a11['t'],_0x44e650=_0x328a11['commands']['get']('lineHeight'),_0x13b378=_0x4bcbb8['map'](_0x5acfd3=>_0x5acfd3['model']),_0x515f17={'type':'button','model':new _0xc6ca24({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x515f17['model']['bind']('commandParam')['to'](_0x44e650,'value'),_0x515f17['model']['bind']('isOn')['to'](_0x44e650,'value',_0x27bd47=>!!_0x27bd47&&!_0x13b378['includes'](String(_0x27bd47))),_0x515f17['model']['bind']('label')['to'](_0x44e650,'value',_0x245731=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x245731))),_0x515f17;}['_registerToolbarComponent']({accessibleLabel:_0x4cc8f8,options:_0x11f6a4}){const _0x378fe2=this['editor'],_0x3e07bf=_0x378fe2['commands']['get']('lineHeight');_0x378fe2['ui']['componentFactory']['add']('lineHeight',_0x58e387=>{const _0x5086c9=_0x5ae9cf(_0x58e387);return _0x9c59b7(_0x5086c9,_0x11f6a4,{'role':'menu','ariaLabel':_0x4cc8f8}),_0x5086c9['buttonView']['set']({'label':_0x4cc8f8,'tooltip':!0x0,'icon':_0x55ea60}),_0x5086c9['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5086c9['bind']('isEnabled')['to'](_0x3e07bf),this['listenTo'](_0x5086c9,'execute',_0x1d4db5=>{_0x378fe2['execute'](_0x1d4db5['source']['commandName'],{'value':_0x1d4db5['source']['commandParam']}),_0x378fe2['editing']['view']['focus']();}),_0x5086c9['once']('change:isOpen',()=>{const _0x1b9235=_0x5086c9['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5086c9,_0x11f6a4,_0x1b9235);}),_0x5086c9;});}['_registerMenuBarComponent']({accessibleLabel:_0x9bc200,options:_0x266ab5}){const _0x2d2e4f=this['editor'],_0x2120c2=_0x2d2e4f['commands']['get']('lineHeight');_0x2d2e4f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x372e5d=>{const _0x27565a=new _0x1233f4(_0x372e5d);_0x27565a['buttonView']['set']({'label':_0x9bc200,'icon':_0x55ea60}),_0x27565a['bind']('isEnabled')['to'](_0x2120c2);const _0x137e51=new _0x399fe1(_0x372e5d);for(const _0x4517f0 of _0x266ab5){const _0x430596=new _0x52df78(_0x372e5d,_0x27565a),_0x1bb892=new _0x4afaf2(_0x372e5d);_0x1bb892['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1bb892['bind'](...Object['keys'](_0x4517f0['model']))['to'](_0x4517f0['model']),_0x1bb892['delegate']('execute')['to'](_0x27565a),_0x1bb892['on']('execute',()=>{_0x2d2e4f['execute'](_0x4517f0['model']['commandName'],{'value':_0x4517f0['model']['commandParam']}),_0x2d2e4f['editing']['view']['focus']();}),_0x430596['children']['add'](_0x1bb892),_0x137e51['items']['add'](_0x430596);}return _0x27565a['panelView']['children']['add'](_0x137e51),this['_attachCustomOptionVisibilityHandler'](_0x27565a,_0x266ab5,_0x137e51),_0x27565a;});}['_attachCustomOptionVisibilityHandler'](_0x40a2b5,_0x52b322,_0x25538e){if(!this['_shouldRenderCustomValueOption']())return;const _0x13f051=()=>{if(!_0x40a2b5['isOpen'])return;_0x25538e['items']['last']['isVisible']=Boolean(_0x52b322['last']['model']['isOn']);};_0x13f051(),_0x40a2b5['on']('change:isOpen',()=>{_0x13f051();});}}
23
+ import{Plugin as _0x4e751d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x18947b,createDropdown as _0xda0ccc,MenuBarMenuListItemButtonView as _0x241089,MenuBarMenuListItemView as _0xcf328f,MenuBarMenuListView as _0x24ff8e,MenuBarMenuView as _0x404dc2,UIModel as _0x4bf9f2}from'ckeditor5/src/ui.js';import{Collection as _0x1acab1}from'ckeditor5/src/utils.js';import{IconLineHeight as _0xac70f2}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x479bbb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4e751d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d36d6={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5d36d6),this['_registerMenuBarComponent'](_0x5d36d6),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2af312=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3df539;for(const _0x53ce37 in _0x2af312){const _0x44e3a4=_0x53ce37,_0x1bd679=_0x2af312[_0x44e3a4];if('lineHeightLicenseKeyValid'==_0x1bd679||'lineHeightLicenseKeyInvalid'==_0x1bd679||'lineHeightLicenseKeyExpired'==_0x1bd679||'lineHeightLicenseKeyDomainLimit'==_0x1bd679||'lineHeightLicenseKeyNotAllowed'==_0x1bd679||'lineHeightLicenseKeyEvaluationLimit'==_0x1bd679||'lineHeightLicenseKeyTrialLimit'==_0x1bd679||'lineHeightLicenseKeyUsageLimit'==_0x1bd679){delete _0x2af312[_0x44e3a4],_0x3df539=_0x1bd679,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3df539&&_0x2af312['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3df539&&_0x2af312['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3df539&&_0x2af312['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3df539&&_0x2af312['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3df539&&_0x2af312['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3df539&&_0x2af312['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3df539&&_0x2af312['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1b5543=this['editor'],t=_0x1b5543['t'],_0x1510cb=_0x1b5543['config']['get']('lineHeight'),_0x181f15={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x479bbb(_0x1510cb)['map'](_0xbe31cf=>{const _0x27b5bd=_0x181f15[_0xbe31cf['title']];return _0x27b5bd&&_0x27b5bd!=_0xbe31cf['title']&&(_0xbe31cf=Object['assign']({},_0xbe31cf,{'title':_0x27b5bd})),_0xbe31cf;});}['_prepareListOptions'](){const _0x1ca1fc=this['editor']['commands']['get']('lineHeight'),_0x2802f7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c6d57=this['_getLocalizedLineHeightOptions'](),_0x4962b5=new _0x1acab1(),_0x4b1ef4=_0x9e2047=>'default'===_0x9e2047||String(_0x2802f7)===_0x9e2047;for(const _0x7ea75a of _0x2c6d57){const _0x5765ac={'type':'button','model':new _0x4bf9f2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x7ea75a['title'],'withText':!0x0})};_0x4b1ef4(_0x7ea75a['model'])?(_0x5765ac['model']['bind']('isOn')['to'](_0x1ca1fc,'value',_0x17e8ac=>!_0x17e8ac),_0x5765ac['model']['commandParam']=void 0x0):(_0x5765ac['model']['bind']('isOn')['to'](_0x1ca1fc,'value',_0x426218=>_0x426218===_0x7ea75a['model']),_0x5765ac['model']['commandParam']=_0x7ea75a['model']),_0x4962b5['add'](_0x5765ac);}if(this['_shouldRenderCustomValueOption']()){const _0x57c68f=this['_getCustomValueOptionDefinition'](_0x2c6d57);_0x4962b5['add'](_0x57c68f);}return _0x4962b5;}['_getCustomValueOptionDefinition'](_0x16f409){const _0x182ab2=this['editor'],t=_0x182ab2['t'],_0xfcc1af=_0x182ab2['commands']['get']('lineHeight'),_0x1a966f=_0x16f409['map'](_0x10ff32=>_0x10ff32['model']),_0x111a41={'type':'button','model':new _0x4bf9f2({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x111a41['model']['bind']('commandParam')['to'](_0xfcc1af,'value'),_0x111a41['model']['bind']('isOn')['to'](_0xfcc1af,'value',_0x509d32=>!!_0x509d32&&!_0x1a966f['includes'](String(_0x509d32))),_0x111a41['model']['bind']('label')['to'](_0xfcc1af,'value',_0x559197=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x559197))),_0x111a41;}['_registerToolbarComponent']({accessibleLabel:_0x150139,options:_0x579ee5}){const _0x321284=this['editor'],_0x189bd2=_0x321284['commands']['get']('lineHeight');_0x321284['ui']['componentFactory']['add']('lineHeight',_0x594f43=>{const _0x1668cd=_0xda0ccc(_0x594f43);return _0x18947b(_0x1668cd,_0x579ee5,{'role':'menu','ariaLabel':_0x150139}),_0x1668cd['buttonView']['set']({'label':_0x150139,'tooltip':!0x0,'icon':_0xac70f2}),_0x1668cd['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1668cd['bind']('isEnabled')['to'](_0x189bd2),this['listenTo'](_0x1668cd,'execute',_0x1817d1=>{_0x321284['execute'](_0x1817d1['source']['commandName'],{'value':_0x1817d1['source']['commandParam']}),_0x321284['editing']['view']['focus']();}),_0x1668cd['once']('change:isOpen',()=>{const _0x4b8479=_0x1668cd['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1668cd,_0x579ee5,_0x4b8479);}),_0x1668cd;});}['_registerMenuBarComponent']({accessibleLabel:_0x21a32d,options:_0x2154db}){const _0xc19f3a=this['editor'],_0x43201b=_0xc19f3a['commands']['get']('lineHeight');_0xc19f3a['ui']['componentFactory']['add']('menuBar:lineHeight',_0x451975=>{const _0x2cbeea=new _0x404dc2(_0x451975);_0x2cbeea['buttonView']['set']({'label':_0x21a32d,'icon':_0xac70f2}),_0x2cbeea['bind']('isEnabled')['to'](_0x43201b);const _0x34c0c7=new _0x24ff8e(_0x451975);for(const _0xe2bb00 of _0x2154db){const _0x49e7b2=new _0xcf328f(_0x451975,_0x2cbeea),_0x5a2bef=new _0x241089(_0x451975);_0x5a2bef['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5a2bef['bind'](...Object['keys'](_0xe2bb00['model']))['to'](_0xe2bb00['model']),_0x5a2bef['delegate']('execute')['to'](_0x2cbeea),_0x5a2bef['on']('execute',()=>{_0xc19f3a['execute'](_0xe2bb00['model']['commandName'],{'value':_0xe2bb00['model']['commandParam']}),_0xc19f3a['editing']['view']['focus']();}),_0x49e7b2['children']['add'](_0x5a2bef),_0x34c0c7['items']['add'](_0x49e7b2);}return _0x2cbeea['panelView']['children']['add'](_0x34c0c7),this['_attachCustomOptionVisibilityHandler'](_0x2cbeea,_0x2154db,_0x34c0c7),_0x2cbeea;});}['_attachCustomOptionVisibilityHandler'](_0x5ea0c3,_0x4a27a8,_0x54039d){if(!this['_shouldRenderCustomValueOption']())return;const _0x1b4c4e=()=>{if(!_0x5ea0c3['isOpen'])return;_0x54039d['items']['last']['isVisible']=Boolean(_0x4a27a8['last']['model']['isOn']);};_0x1b4c4e(),_0x5ea0c3['on']('change:isOpen',()=>{_0x1b4c4e();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x29822f,_0x34404d){const _0x2e6daf=_0xdc9c,_0x4e5dc5=_0x29822f();while(!![]){try{const _0xabdc2=parseInt(_0x2e6daf(0x79))/0x1+parseInt(_0x2e6daf(0x71))/0x2+-parseInt(_0x2e6daf(0x74))/0x3*(parseInt(_0x2e6daf(0x8a))/0x4)+parseInt(_0x2e6daf(0x85))/0x5*(-parseInt(_0x2e6daf(0x70))/0x6)+parseInt(_0x2e6daf(0x8c))/0x7+-parseInt(_0x2e6daf(0x8b))/0x8+-parseInt(_0x2e6daf(0x7e))/0x9*(-parseInt(_0x2e6daf(0x72))/0xa);if(_0xabdc2===_0x34404d)break;else _0x4e5dc5['push'](_0x4e5dc5['shift']());}catch(_0x259ce7){_0x4e5dc5['push'](_0x4e5dc5['shift']());}}}(_0x1a57,0x9c06d));const v={get 'single'(){const _0x32ff77=_0xdc9c;return{'title':_0x32ff77(0x82),'model':_0x32ff77(0x84),'view':{'key':_0x32ff77(0x83),'value':_0x32ff77(0x76)}};},get 'double'(){const _0x43e7fd=_0xdc9c;return{'title':_0x43e7fd(0x75),'model':_0x43e7fd(0x90),'view':{'key':_0x43e7fd(0x83),'value':_0x43e7fd(0x7d)}};}};export function isLineHeightDefaultValue(_0x5e5784){const _0x128620=_0xdc9c;return _0x128620(0x77)==typeof _0x5e5784&&_0x128620(0x81)===_0x5e5784[_0x128620(0x87)]();}function _0xdc9c(_0x385d79,_0xa6b5a0){const _0x1a5758=_0x1a57();return _0xdc9c=function(_0xdc9cec,_0x32e69f){_0xdc9cec=_0xdc9cec-0x6f;let _0x38a3b5=_0x1a5758[_0xdc9cec];return _0x38a3b5;},_0xdc9c(_0x385d79,_0xa6b5a0);}export function normalizeOptions(_0x39aec6){const _0x13a896=_0xdc9c;return _0x39aec6[_0x13a896(0x80)][_0x13a896(0x78)](_0x10f341=>isLineHeightDefaultValue(_0x10f341)?{'title':String(_0x39aec6[_0x13a896(0x8d)]),'model':_0x13a896(0x81)}:(_0x13a896(0x7a)==typeof _0x10f341&&(_0x10f341=String(_0x10f341)),_0x13a896(0x77)!=typeof _0x10f341?_0x10f341:parseFloat(_0x10f341)?{'title':_0x10f341,'model':_0x10f341,'view':{'name':_0x13a896(0x86),'styles':{'line-height':_0x10f341}}}:findPreset(_0x10f341)))[_0x13a896(0x7f)](_0x287ec9=>void 0x0!==_0x287ec9);}export function findPreset(_0x1ff482){const _0x138979=_0xdc9c;return _0x138979(0x77)==typeof _0x1ff482?v[_0x1ff482]:v[_0x1ff482[_0x138979(0x88)]];}function _0x1a57(){const _0x452392=['377238bsdIWf','806636SEBUtW','15430ezVngN','value','12177fHqwTK','Double','line-height-single','string','map','127486IEuOCF','number','key','push','line-height-double','6138KNXjGH','filter','options','default','Single','class','single','10QEMKvz','span','toLowerCase','model','values','292hsLixr','10161368QYuITt','5237253JNrsQr','defaultValue','view','line-height:','double','style'];_0x1a57=function(){return _0x452392;};return _0x1a57();}export function buildDefinition(_0x40f74e,_0x4abdba){const _0x60b4f9=_0xdc9c,_0x102faf={'model':{'key':_0x40f74e,'values':[]},'view':{}};for(const _0x23589d of _0x4abdba)_0x60b4f9(0x83)===_0x23589d[_0x60b4f9(0x8e)]?.[_0x60b4f9(0x7b)]?(_0x102faf[_0x60b4f9(0x88)][_0x60b4f9(0x89)][_0x60b4f9(0x7c)](_0x23589d[_0x60b4f9(0x88)]),_0x102faf[_0x60b4f9(0x8e)][_0x23589d[_0x60b4f9(0x88)]]={'key':_0x60b4f9(0x83),'value':_0x23589d[_0x60b4f9(0x8e)][_0x60b4f9(0x73)]}):(_0x102faf[_0x60b4f9(0x88)][_0x60b4f9(0x89)][_0x60b4f9(0x7c)](_0x23589d[_0x60b4f9(0x88)]),_0x102faf[_0x60b4f9(0x8e)][_0x23589d[_0x60b4f9(0x88)]]={'key':_0x60b4f9(0x6f),'value':_0x60b4f9(0x8f)+_0x23589d[_0x60b4f9(0x88)]+';'});return _0x102faf;}
23
+ (function(_0x4ed372,_0x108d94){const _0x265007=_0x4c00,_0x5183e2=_0x4ed372();while(!![]){try{const _0x2126d6=parseInt(_0x265007(0x1e3))/0x1*(parseInt(_0x265007(0x1cb))/0x2)+-parseInt(_0x265007(0x1cc))/0x3*(parseInt(_0x265007(0x1c5))/0x4)+parseInt(_0x265007(0x1c7))/0x5+parseInt(_0x265007(0x1ca))/0x6+parseInt(_0x265007(0x1da))/0x7+parseInt(_0x265007(0x1e0))/0x8*(-parseInt(_0x265007(0x1ce))/0x9)+parseInt(_0x265007(0x1db))/0xa*(-parseInt(_0x265007(0x1dd))/0xb);if(_0x2126d6===_0x108d94)break;else _0x5183e2['push'](_0x5183e2['shift']());}catch(_0x2cd0c6){_0x5183e2['push'](_0x5183e2['shift']());}}}(_0x9b16,0x7e7ba));function _0x4c00(_0x2e4f19,_0x5b9e93){const _0x9b163c=_0x9b16();return _0x4c00=function(_0x4c00e4,_0x26476a){_0x4c00e4=_0x4c00e4-0x1c5;let _0x1c9578=_0x9b163c[_0x4c00e4];return _0x1c9578;},_0x4c00(_0x2e4f19,_0x5b9e93);}const v={get 'single'(){const _0x14c735=_0x4c00;return{'title':_0x14c735(0x1d8),'model':_0x14c735(0x1d6),'view':{'key':_0x14c735(0x1d1),'value':_0x14c735(0x1d7)}};},get 'double'(){const _0x7b8f19=_0x4c00;return{'title':_0x7b8f19(0x1e5),'model':_0x7b8f19(0x1d3),'view':{'key':_0x7b8f19(0x1d1),'value':_0x7b8f19(0x1c6)}};}};export function isLineHeightDefaultValue(_0x875026){const _0x5ad7dc=_0x4c00;return _0x5ad7dc(0x1d9)==typeof _0x875026&&_0x5ad7dc(0x1c9)===_0x875026[_0x5ad7dc(0x1e1)]();}export function normalizeOptions(_0x1bc719){const _0x4de373=_0x4c00;return _0x1bc719[_0x4de373(0x1d5)][_0x4de373(0x1cd)](_0x3f88f5=>isLineHeightDefaultValue(_0x3f88f5)?{'title':String(_0x1bc719[_0x4de373(0x1e4)]),'model':_0x4de373(0x1c9)}:(_0x4de373(0x1e2)==typeof _0x3f88f5&&(_0x3f88f5=String(_0x3f88f5)),_0x4de373(0x1d9)!=typeof _0x3f88f5?_0x3f88f5:parseFloat(_0x3f88f5)?{'title':_0x3f88f5,'model':_0x3f88f5,'view':{'name':_0x4de373(0x1d2),'styles':{'line-height':_0x3f88f5}}}:findPreset(_0x3f88f5)))[_0x4de373(0x1d4)](_0x1850cb=>void 0x0!==_0x1850cb);}function _0x9b16(){const _0x2b0a46=['1671UoWCou','map','7382295PbKpdL','values','view','class','span','double','filter','options','single','line-height-single','Single','string','7057176PqBwKL','30DDCOCT','key','6690343oWAiNa','style','value','8JTTzrQ','toLowerCase','number','115683uelMxn','defaultValue','Double','model','line-height:','2732FXxRzg','line-height-double','5114405HwwvOt','push','default','4909512vzhQXF','12prSGFf'];_0x9b16=function(){return _0x2b0a46;};return _0x9b16();}export function findPreset(_0x31344e){const _0x5a115e=_0x4c00;return _0x5a115e(0x1d9)==typeof _0x31344e?v[_0x31344e]:v[_0x31344e[_0x5a115e(0x1e6)]];}export function buildDefinition(_0x52f318,_0x244728){const _0x4bd81c=_0x4c00,_0x467f99={'model':{'key':_0x52f318,'values':[]},'view':{}};for(const _0x2367bd of _0x244728)_0x4bd81c(0x1d1)===_0x2367bd[_0x4bd81c(0x1d0)]?.[_0x4bd81c(0x1dc)]?(_0x467f99[_0x4bd81c(0x1e6)][_0x4bd81c(0x1cf)][_0x4bd81c(0x1c8)](_0x2367bd[_0x4bd81c(0x1e6)]),_0x467f99[_0x4bd81c(0x1d0)][_0x2367bd[_0x4bd81c(0x1e6)]]={'key':_0x4bd81c(0x1d1),'value':_0x2367bd[_0x4bd81c(0x1d0)][_0x4bd81c(0x1df)]}):(_0x467f99[_0x4bd81c(0x1e6)][_0x4bd81c(0x1cf)][_0x4bd81c(0x1c8)](_0x2367bd[_0x4bd81c(0x1e6)]),_0x467f99[_0x4bd81c(0x1d0)][_0x2367bd[_0x4bd81c(0x1e6)]]={'key':_0x4bd81c(0x1de),'value':_0x4bd81c(0x1e7)+_0x2367bd[_0x4bd81c(0x1e6)]+';'});return _0x467f99;}