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

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
- function _0x88a0(){const _0x2e93cd=['refresh','lineHeight','removeAttribute','11437PCmqNj','change','schema','filter','111444AZEZwR','model','122ncpSCT','getAttribute','5071857qshASP','editor','setAttribute','checkAttribute','_canHaveLineHeight','716KLgjir','isEnabled','18KjhwnD','from','execute','value','3718485MhAcLt','selection','document','2890950OKKdqI','7056432OJpfAt','31055CeypUG','getSelectedBlocks'];_0x88a0=function(){return _0x2e93cd;};return _0x88a0();}const _0x4224e5=_0x1af3;(function(_0x494bbf,_0x111cc3){const _0x5eb4ee=_0x1af3,_0x268b97=_0x494bbf();while(!![]){try{const _0x4b6dcd=-parseInt(_0x5eb4ee(0x13a))/0x1*(-parseInt(_0x5eb4ee(0x123))/0x2)+parseInt(_0x5eb4ee(0x130))/0x3+parseInt(_0x5eb4ee(0x12a))/0x4*(parseInt(_0x5eb4ee(0x135))/0x5)+-parseInt(_0x5eb4ee(0x121))/0x6+-parseInt(_0x5eb4ee(0x125))/0x7+-parseInt(_0x5eb4ee(0x134))/0x8+-parseInt(_0x5eb4ee(0x12c))/0x9*(parseInt(_0x5eb4ee(0x133))/0xa);if(_0x4b6dcd===_0x111cc3)break;else _0x268b97['push'](_0x268b97['shift']());}catch(_0x1573c9){_0x268b97['push'](_0x268b97['shift']());}}}(_0x88a0,0xce6f0));import{Command as _0x5a9ca9}from'ckeditor5/src/core.js';function _0x1af3(_0x174b32,_0x3a5a88){const _0x88a098=_0x88a0();return _0x1af3=function(_0x1af345,_0x5da658){_0x1af345=_0x1af345-0x120;let _0x6744cf=_0x88a098[_0x1af345];return _0x6744cf;},_0x1af3(_0x174b32,_0x3a5a88);}import{first as _0x290616}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5a9ca9{[_0x4224e5(0x137)](){const _0x2fe3d0=_0x4224e5,_0x52b43a=this[_0x2fe3d0(0x126)][_0x2fe3d0(0x122)][_0x2fe3d0(0x132)],_0x2e308d=_0x290616(_0x52b43a[_0x2fe3d0(0x131)][_0x2fe3d0(0x136)]());this[_0x2fe3d0(0x12b)]=Boolean(_0x2e308d)&&this[_0x2fe3d0(0x129)](_0x2e308d),this[_0x2fe3d0(0x12f)]=this[_0x2fe3d0(0x12b)]&&_0x2e308d[_0x2fe3d0(0x124)](_0x2fe3d0(0x138));}[_0x4224e5(0x12e)](_0x6bf2b6={}){const _0x4b6c03=_0x4224e5,_0x5b6875=this[_0x4b6c03(0x126)][_0x4b6c03(0x122)],_0x417619=_0x5b6875[_0x4b6c03(0x132)][_0x4b6c03(0x131)],_0xb35440=_0x6bf2b6[_0x4b6c03(0x12f)];_0x5b6875[_0x4b6c03(0x13b)](_0x45d3cf=>{const _0x709a9e=_0x4b6c03,_0x475e78=Array[_0x709a9e(0x12d)](_0x417619[_0x709a9e(0x136)]())[_0x709a9e(0x120)](_0x205e87=>this[_0x709a9e(0x129)](_0x205e87));for(const _0x448dd6 of _0x475e78)_0xb35440?_0x45d3cf[_0x709a9e(0x127)](_0x709a9e(0x138),_0xb35440,_0x448dd6):_0x45d3cf[_0x709a9e(0x139)](_0x709a9e(0x138),_0x448dd6);});}[_0x4224e5(0x129)](_0x447370){const _0x4d98f5=_0x4224e5;return this[_0x4d98f5(0x126)][_0x4d98f5(0x122)][_0x4d98f5(0x13c)][_0x4d98f5(0x128)](_0x447370,_0x4d98f5(0x138));}}
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));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x567e68=_0x1198;(function(_0x311375,_0x35c11b){const _0x1be588=_0x1198,_0x2d29df=_0x311375();while(!![]){try{const _0x876d4b=-parseInt(_0x1be588(0xc1))/0x1*(parseInt(_0x1be588(0x9b))/0x2)+-parseInt(_0x1be588(0xa5))/0x3+-parseInt(_0x1be588(0xaa))/0x4+parseInt(_0x1be588(0x9e))/0x5+parseInt(_0x1be588(0x99))/0x6*(parseInt(_0x1be588(0x96))/0x7)+-parseInt(_0x1be588(0xa2))/0x8+parseInt(_0x1be588(0x9a))/0x9;if(_0x876d4b===_0x35c11b)break;else _0x2d29df['push'](_0x2d29df['shift']());}catch(_0x803ca8){_0x2d29df['push'](_0x2d29df['shift']());}}}(_0x2f9e,0xb9811));import{Plugin as _0x1e3286}from'ckeditor5/src/core.js';function _0x1198(_0x3fcc47,_0x5c338d){const _0x2f9e74=_0x2f9e();return _0x1198=function(_0x1198de,_0x1456b4){_0x1198de=_0x1198de-0x93;let _0x169f0a=_0x2f9e74[_0x1198de];return _0x169f0a;},_0x1198(_0x3fcc47,_0x5c338d);}import{LineHeightCommand as _0x1411a7}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1d1509}from'ckeditor5/src/engine.js';import{uid as _0x145407,CKEditorError as _0x1a1ae6}from'ckeditor5/src/utils.js';function _0x2f9e(){const _0x28fec8=['12689757BtEvkB','6022jRzOeH','default','LineHeightEditing','4852530oLPhmn','attributeToAttribute','slice','schema','7069104bLlInt','filter','upcast','1949280ophNBg','commands','string','lineHeight','init','1375920rSrpUf','lineHeight.options','config','$block','lineHeight.defaultValue','isOfficialPlugin','_preparePredefinedConverters','model','length','define','style','isPremiumPlugin','lineHeight.supportAllValues','href','setAttributeProperties','values','fromCharCode','includes','extend','_prepareAnyValueConverters','editor','for','getStyle','10JeWrMJ','_validateConfig','afterInit','line-height','add','conversion','map','pluginName','downcast','get','14sXSXmS','line-height-invalid-use-of-named-presets','join','860502zNyLFZ'];_0x2f9e=function(){return _0x28fec8;};return _0x2f9e();}import{buildDefinition as _0x205164,isLineHeightDefaultValue as _0x29832f,normalizeOptions as _0x214c82}from'./utils.js';export class LineHeightEditing extends _0x1e3286{static get[_0x567e68(0x93)](){const _0x2efc4b=_0x567e68;return _0x2efc4b(0x9d);}static get[_0x567e68(0xaf)](){return!0x0;}static get[_0x567e68(0xb5)](){return!0x0;}constructor(_0x33d517){const _0x5dab0b=_0x567e68;super(_0x33d517),_0x33d517[_0x5dab0b(0xac)][_0x5dab0b(0xb3)](_0x5dab0b(0xa8),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5dab0b(0x9c),0x2,2.5,0x3]});}[_0x567e68(0xa9)](){const _0x313d14=_0x567e68,_0xf4f1db=this[_0x313d14(0xbe)];this[_0x313d14(0xc2)](),_0xf4f1db[_0x313d14(0xb1)][_0x313d14(0xa1)][_0x313d14(0xbc)](_0x313d14(0xad),{'allowAttributes':_0x313d14(0xa8)}),_0xf4f1db[_0x313d14(0xb1)][_0x313d14(0xa1)][_0x313d14(0xb8)](_0x313d14(0xa8),{'isFormatting':!0x0}),_0xf4f1db[_0x313d14(0xa6)][_0x313d14(0xc5)](_0x313d14(0xa8),new _0x1411a7(_0xf4f1db)),this[_0x313d14(0xbe)][_0x313d14(0xac)][_0x313d14(0x95)](_0x313d14(0xb6))?this[_0x313d14(0xbd)]():this[_0x313d14(0xb0)]();}[_0x567e68(0xc3)](){!async function(_0x175769){const _0x2c3cd4=_0xe68004([0x41,0x4e,0x66,0x43,0x72,0x4a,0x5a,0x58,0x6b,0x65,0x50,0x4b,0x37,0x6d,0x49,0x30,0x32,0x51,0x67,0x48,0x33,0x70,0x4d,0x44,0x7a,0x69,0x56,0x6e,0x4c,0x54,0x68,0x36,0x79,0x71,0x45,0x73,0x47,0x35,0x31,0x6f,0x76,0x6c,0x75,0x53,0x34,0x63,0x59,0x78,0x39,0x42,0x74,0x46,0x38,0x61,0x62,0x64,0x52,0x77,0x4f,0x55,0x57,0x6a]),_0x5b82cf=0x13369d6b,_0x4a4d04=0x1331f07b^_0x5b82cf,_0x318546=window[_0xe68004([0x44,0x61,0x74,0x65])][_0xe68004([0x6e,0x6f,0x77])](),_0x337404=_0x175769[_0xe68004([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32a56b=new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49c65a=>{_0x337404[_0xe68004([0x6f,0x6e,0x63,0x65])](_0xe68004([0x72,0x65,0x61,0x64,0x79]),_0x49c65a);}),_0xad8b10={[_0xe68004([0x6b,0x74,0x79])]:_0xe68004([0x45,0x43]),[_0xe68004([0x75,0x73,0x65])]:_0xe68004([0x73,0x69,0x67]),[_0xe68004([0x63,0x72,0x76])]:_0xe68004([0x50,0x2d,0x32,0x35,0x36]),[_0xe68004([0x78])]:_0xe68004([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]),[_0xe68004([0x79])]:_0xe68004([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]),[_0xe68004([0x61,0x6c,0x67])]:_0xe68004([0x45,0x53,0x32,0x35,0x36])},_0x16b9aa=_0x337404[_0xe68004([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe68004([0x67,0x65,0x74])](_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5423fe(){let _0x2859a1,_0x24b3e0=null,_0x21c260=null;try{if(_0x16b9aa==_0xe68004([0x47,0x50,0x4c]))return _0xe68004([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2859a1=_0x3a9ee3(),!_0x2859a1)return _0xe68004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2859a1[_0xe68004([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21c260=_0x40adf8(_0x2859a1[_0xe68004([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2859a1[_0xe68004([0x6a,0x74,0x69])])),await _0x39376d()?_0x5ab4c9()?_0x44c74c()?_0xe68004([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x291f15()?(_0x2859a1[_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe68004([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24b3e0=_0x5d27dd(_0xe68004([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2859a1[_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe68004([0x74,0x72,0x69,0x61,0x6c])&&(_0x24b3e0=_0x5d27dd(_0xe68004([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10c915()):_0xe68004([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe68004([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe68004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe68004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44c74c(){const _0x22d99a=[_0xe68004([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe68004([0x74,0x72,0x69,0x61,0x6c])][_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2859a1[_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x318546/0x3e8:0xe10*_0x4a4d04;return _0x2859a1[_0xe68004([0x65,0x78,0x70])]<_0x22d99a;}function _0x5ab4c9(){const _0xde80f0=_0x2859a1[_0xe68004([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xde80f0&&(!!_0xde80f0[_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe68004([0x2a]))||!!_0xde80f0[_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe68004([0x4c,0x48])));}function _0x291f15(){const _0x32f525=_0x1198,_0x4b1ff3=_0x2859a1[_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b1ff3||0x0==_0x4b1ff3[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57b0ea}=new URL(window[_0xe68004([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x32f525(0xb7)]);if(_0x4b1ff3[_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b0ea))return!0x0;const _0x5982d0=_0x57b0ea[_0xe68004([0x73,0x70,0x6c,0x69,0x74])](_0xe68004([0x2e]));return _0x4b1ff3[_0xe68004([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x542cb7=>_0x542cb7[_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe68004([0x2a])))[_0xe68004([0x6d,0x61,0x70])](_0x1e4e59=>_0x1e4e59[_0xe68004([0x73,0x70,0x6c,0x69,0x74])](_0xe68004([0x2e])))[_0xe68004([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38f5fd=>_0x38f5fd[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5982d0[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe68004([0x6d,0x61,0x70])](_0x47f59e=>Array(_0x5982d0[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47f59e[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe68004([0x66,0x69,0x6c,0x6c])](_0x47f59e[0x0]===_0xe68004([0x2a])?_0xe68004([0x2a]):'')[_0xe68004([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47f59e))[_0xe68004([0x73,0x6f,0x6d,0x65])](_0x2acf77=>_0x5982d0[_0xe68004([0x65,0x76,0x65,0x72,0x79])]((_0x54363c,_0xdb6326)=>_0x2acf77[_0xdb6326]===_0x54363c||_0x2acf77[_0xdb6326]===_0xe68004([0x2a])));}function _0x10c915(){return _0x24b3e0&&_0x21c260?new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51a248,_0x3746a0)=>{_0x24b3e0[_0xe68004([0x74,0x68,0x65,0x6e])](_0x51a248,_0x3746a0),_0x21c260[_0xe68004([0x74,0x68,0x65,0x6e])](_0x581eb4=>{_0x581eb4!=_0xe68004([0x56,0x61,0x6c,0x69,0x64])&&_0x51a248(_0x581eb4);},_0x3746a0);}):_0x24b3e0||_0x21c260||_0xe68004([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40adf8(_0x17dc9b,_0x141a7c){return new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21d090=>{if(_0x3fb520())return _0x21d090(_0xe68004([0x56,0x61,0x6c,0x69,0x64]));_0x407a2f(),_0x337404[_0xe68004([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe68004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24a149=!0x1;const _0xd4d4f6=_0x145407();function _0x5f04c7(_0x4c623b){return!!_0x4c623b&&(typeof _0x4c623b===_0xe68004([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c623b===_0xe68004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c623b[_0xe68004([0x74,0x68,0x65,0x6e])]===_0xe68004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c623b[_0xe68004([0x63,0x61,0x74,0x63,0x68])]===_0xe68004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d7741(_0x232e9f){_0x895424(_0x232e9f)[_0xe68004([0x74,0x68,0x65,0x6e])](_0x447248=>{if(!_0x447248||_0x447248[_0xe68004([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe68004([0x6f,0x6b]))return _0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x284511(_0x95514b(_0xd4d4f6+_0x141a7c))!=_0x447248[_0xe68004([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe68004([0x56,0x61,0x6c,0x69,0x64]);})[_0xe68004([0x74,0x68,0x65,0x6e])](_0x306a11=>(_0x2abaec(),_0x306a11),()=>{const _0x42707f=_0x101af6();return null==_0x42707f?(_0x2abaec(),_0xe68004([0x56,0x61,0x6c,0x69,0x64])):_0xe68004(_0x318546-_0x42707f>(0x373a196b^_0x5b82cf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe68004([0x74,0x68,0x65,0x6e])](_0x21d090)[_0xe68004([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21d090(_0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57e0f1=0x130073eb^_0x5b82cf;function _0x2abaec(){const _0x49fba8=_0xe68004([0x6c,0x6c,0x63,0x74,0x2d])+_0x284511(_0x95514b(_0x17dc9b)),_0x474592=_0xd58245(_0x284511(window[_0xe68004([0x4d,0x61,0x74,0x68])][_0xe68004([0x63,0x65,0x69,0x6c])](_0x318546/_0x57e0f1)));window[_0xe68004([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe68004([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49fba8,_0x474592);}function _0x101af6(){const _0xb82201=_0xe68004([0x6c,0x6c,0x63,0x74,0x2d])+_0x284511(_0x95514b(_0x17dc9b)),_0x322160=window[_0xe68004([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe68004([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb82201);return _0x322160?window[_0xe68004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd58245(_0x322160),0x10)*_0x57e0f1:null;}function _0x895424(_0x30d26b){return new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21066e,_0x5ac2cb)=>{_0x30d26b[_0xe68004([0x74,0x68,0x65,0x6e])](_0x21066e,_0x5ac2cb),window[_0xe68004([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ac2cb,0x133749ab^_0x5b82cf);});}}_0x337404[_0xe68004([0x6f,0x6e])](_0xe68004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb832f8,_0x5e361f)=>{if(_0x5e361f[0x0]!=_0x17dc9b)return _0x21d090(_0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e361f[0x1]={..._0x5e361f[0x1],[_0xe68004([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd4d4f6};},{[_0xe68004([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe68004([0x68,0x69,0x67,0x68])}),_0x337404[_0xe68004([0x6f,0x6e])](_0xe68004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55b784=>{_0x5f04c7(_0x55b784[_0xe68004([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24a149=!0x0,_0x3d7741(_0x55b784[_0xe68004([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe68004([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe68004([0x6c,0x6f,0x77])}),_0x32a56b[_0xe68004([0x74,0x68,0x65,0x6e])](()=>{_0x24a149||_0x21d090(_0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fb520(){return _0x337404[_0xe68004([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe68004([0x76,0x69,0x65,0x77])][_0xe68004([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe68004([0x61,0x75,0x74,0x6f]);}function _0x407a2f(){_0x337404[_0xe68004([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe68004([0x76,0x69,0x65,0x77])][_0xe68004([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe68004([0x61,0x75,0x74,0x6f]);}}function _0x5d27dd(_0x4d1fbb){const _0x5201aa=[new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5da6d2=>setTimeout(_0x5da6d2,0x133fa3a7^_0x5b82cf)),_0x32a56b[_0xe68004([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dcf7e=>{let _0xeacf1d=0x0;_0x337404[_0xe68004([0x6d,0x6f,0x64,0x65,0x6c])][_0xe68004([0x6f,0x6e])](_0xe68004([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53028b,_0x10bf31)=>{_0x10bf31[0x0][_0xe68004([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xeacf1d++,_0xeacf1d==(0x13369c93^_0x5b82cf)&&(_0x2dcf7e(),_0x53028b[_0xe68004([0x6f,0x66,0x66])]());});}))];return window[_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe68004([0x72,0x61,0x63,0x65])](_0x5201aa)[_0xe68004([0x74,0x68,0x65,0x6e])](()=>_0x4d1fbb);}async function _0x47ea43(){await _0x32a56b,_0x337404[_0xe68004([0x6d,0x6f,0x64,0x65,0x6c])][_0xe68004([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3080b4,_0x337404[_0xe68004([0x6d,0x6f,0x64,0x65,0x6c])][_0xe68004([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3080b4,_0x337404[_0xe68004([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe68004([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c2466(_0x2135b4){const _0x5e82e5=_0x20e5d5();_0x337404[_0x5e82e5]=_0xe68004([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2135b4,_0x2135b4!=_0xe68004([0x56,0x61,0x6c,0x69,0x64])&&_0x47ea43();}function _0x20e5d5(){const _0x4b499c=window[_0xe68004([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe68004([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe68004([0x6e,0x6f,0x77])]())[_0xe68004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe68004([0x2e]),'');let _0x422e6e=_0xe68004([0x41]);for(let _0x20841a=0x0;_0x20841a<_0x4b499c[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20841a+=0x2){let _0x205e61=window[_0xe68004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b499c[_0xe68004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20841a,_0x20841a+0x2));_0x205e61>=_0x2c3cd4[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x205e61-=_0x2c3cd4[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x422e6e+=_0x2c3cd4[_0x205e61];}return _0x422e6e;}function _0x3a9ee3(){const _0xcbc5ac=_0x16b9aa[_0xe68004([0x73,0x70,0x6c,0x69,0x74])](_0xe68004([0x2e]));if(0x3!=_0xcbc5ac[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14590c(_0xcbc5ac[0x1]);function _0x14590c(_0x4325f6){const _0x308f9c=_0x33732a(_0x4325f6);return _0x308f9c&&_0x287039()?_0x308f9c:null;function _0x287039(){const _0x16cf36=_0x308f9c[_0xe68004([0x6a,0x74,0x69])],_0x35c75d=window[_0xe68004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16cf36[_0xe68004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16cf36[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1fc1fe={..._0x308f9c,[_0xe68004([0x6a,0x74,0x69])]:_0x16cf36[_0xe68004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16cf36[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1fc1fe[_0xe68004([0x76,0x63])],_0x95514b(_0x1fc1fe)==_0x35c75d;}}}async function _0x39376d(){let _0x417596=!0x0;try{const _0x3e7ad3=_0x16b9aa[_0xe68004([0x73,0x70,0x6c,0x69,0x74])](_0xe68004([0x2e])),[_0x2076d3,_0x4cc679,_0x552c0a]=_0x3e7ad3;return _0x9afdd2(_0x2076d3),await _0x2365bf(_0x2076d3,_0x4cc679,_0x552c0a),_0x417596;}catch{return!0x1;}function _0x9afdd2(_0x571e52){const _0x1a0360=_0x33732a(_0x571e52);_0x1a0360&&_0x1a0360[_0xe68004([0x61,0x6c,0x67])]==_0xe68004([0x45,0x53,0x32,0x35,0x36])||(_0x417596=!0x1);}async function _0x2365bf(_0x2902a3,_0x5f3ca2,_0x36a1b5){const _0xc5ecf3=window[_0xe68004([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe68004([0x66,0x72,0x6f,0x6d])](_0x444e37(_0x36a1b5),_0x2c937e=>_0x2c937e[_0xe68004([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e98dc=new window[(_0xe68004([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe68004([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2902a3+_0xe68004([0x2e])+_0x5f3ca2),_0x4a5643=window[_0xe68004([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe68004([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a5643)return;const _0x229c38=await _0x4a5643[_0xe68004([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe68004([0x6a,0x77,0x6b]),_0xad8b10,{[_0xe68004([0x6e,0x61,0x6d,0x65])]:_0xe68004([0x45,0x43,0x44,0x53,0x41]),[_0xe68004([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe68004([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe68004([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a5643[_0xe68004([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe68004([0x6e,0x61,0x6d,0x65])]:_0xe68004([0x45,0x43,0x44,0x53,0x41]),[_0xe68004([0x68,0x61,0x73,0x68])]:{[_0xe68004([0x6e,0x61,0x6d,0x65])]:_0xe68004([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x229c38,_0xc5ecf3,_0x5e98dc)||(_0x417596=!0x1);}}function _0x33732a(_0xedabc7){return _0xedabc7[_0xe68004([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe68004([0x65,0x79]))?JSON[_0xe68004([0x70,0x61,0x72,0x73,0x65])](_0x444e37(_0xedabc7)):null;}function _0x444e37(_0x30211a){return window[_0xe68004([0x61,0x74,0x6f,0x62])](_0x30211a[_0xe68004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe68004([0x2b]))[_0xe68004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe68004([0x2f])));}function _0x95514b(_0x1e1ead){let _0x3900bd=0x1505;function _0x40757d(_0x191f2c){for(let _0x50e5cd=0x0;_0x50e5cd<_0x191f2c[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50e5cd++){const _0x29ebe6=_0x191f2c[_0xe68004([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50e5cd);_0x3900bd=(_0x3900bd<<0x5)+_0x3900bd+_0x29ebe6,_0x3900bd&=_0x3900bd;}}function _0x45846e(_0x2d6fce){Array[_0xe68004([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d6fce)?_0x2d6fce[_0xe68004([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45846e):_0x2d6fce&&typeof _0x2d6fce==_0xe68004([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe68004([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d6fce)[_0xe68004([0x73,0x6f,0x72,0x74])]()[_0xe68004([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x257268,_0x450b12])=>{_0x40757d(_0x257268),_0x45846e(_0x450b12);}):_0x40757d(window[_0xe68004([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d6fce));}return _0x45846e(_0x1e1ead),_0x3900bd>>>0x0;}function _0x284511(_0x1b8ee9){return _0x1b8ee9[_0xe68004([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe68004([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe68004([0x30]));}function _0xd58245(_0x1142c7){return _0x1142c7[_0xe68004([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe68004([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe68004([0x6a,0x6f,0x69,0x6e])]('');}function _0x3080b4(){}function _0xe68004(_0x1ad91d){const _0x6904d0=_0x1198;return _0x1ad91d[_0x6904d0(0xc7)](_0x385294=>String[_0x6904d0(0xba)](_0x385294))[_0x6904d0(0x98)]('');}_0x2c2466(await _0x5423fe());}(this);}[_0x567e68(0xc2)](){const _0x5a82a1=_0x567e68,_0x3b0c8c=this[_0x5a82a1(0xbe)];if(!_0x3b0c8c[_0x5a82a1(0xac)][_0x5a82a1(0x95)](_0x5a82a1(0xb6)))return;const _0x2ce4f8=_0x3b0c8c[_0x5a82a1(0xac)][_0x5a82a1(0x95)](_0x5a82a1(0xab))[_0x5a82a1(0xa3)](_0x1a3740=>_0x5a82a1(0xa7)==typeof _0x1a3740&&(!_0x29832f(_0x1a3740)&&isNaN(Number(_0x1a3740))));if(_0x2ce4f8[_0x5a82a1(0xb2)])throw new _0x1a1ae6(_0x5a82a1(0x97),null,{'namedPresets':_0x2ce4f8});}[_0x567e68(0xbd)](){const _0x5dbda1=_0x567e68,_0x155a3a=this[_0x5dbda1(0xbe)],_0x3d81af=this[_0x5dbda1(0xbe)][_0x5dbda1(0xac)][_0x5dbda1(0x95)](_0x5dbda1(0xae));_0x155a3a[_0x5dbda1(0xc6)][_0x5dbda1(0xbf)](_0x5dbda1(0x94))[_0x5dbda1(0x9f)]({'model':{'key':_0x5dbda1(0xa8)},'view':_0x200474=>String(_0x200474)===String(_0x3d81af)?null:{'key':_0x5dbda1(0xb4),'value':{'line-height':_0x200474}}}),_0x155a3a[_0x5dbda1(0xc6)][_0x5dbda1(0xbf)](_0x5dbda1(0xa4))[_0x5dbda1(0x9f)]({'model':{'key':_0x5dbda1(0xa8),'value':_0x5e9863=>{const _0x80e0fc=_0x5dbda1;let _0x5754e8=_0x5e9863[_0x80e0fc(0xc0)](_0x80e0fc(0xc4));return _0x1d1509(_0x5754e8)&&(_0x5754e8=String(Number(_0x5754e8[_0x80e0fc(0xa0)](0x0,-0x1))/0x64)),String(_0x5754e8)===String(_0x3d81af)?null:_0x5754e8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x567e68(0xb0)](){const _0x197b03=_0x567e68,_0x2c798a=this[_0x197b03(0xbe)],_0xe815cf=this[_0x197b03(0xbe)][_0x197b03(0xac)][_0x197b03(0x95)](_0x197b03(0xae)),_0x567e6a=_0x214c82(this[_0x197b03(0xbe)][_0x197b03(0xac)][_0x197b03(0x95)](_0x197b03(0xa8)))[_0x197b03(0xa3)](_0x3c11e5=>_0x3c11e5[_0x197b03(0xb1)]),_0x297a91=_0x205164(_0x197b03(0xa8),_0x567e6a);_0x2c798a[_0x197b03(0xc6)][_0x197b03(0x9f)](_0x297a91),_0x2c798a[_0x197b03(0xc6)][_0x197b03(0xbf)](_0x197b03(0xa4))[_0x197b03(0x9f)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x197b03(0xa8),'value':_0x4b4980=>{const _0x2778f2=_0x197b03;let _0x212f13=_0x4b4980[_0x2778f2(0xc0)](_0x2778f2(0xc4));return _0x1d1509(_0x212f13)&&(_0x212f13=String(Number(_0x212f13[_0x2778f2(0xa0)](0x0,-0x1))/0x64)),_0x212f13===String(_0xe815cf)?null:_0x297a91[_0x2778f2(0xb1)][_0x2778f2(0xb9)][_0x2778f2(0xbb)](_0x212f13)?_0x212f13:null;}}});}}
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;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x22f173}from'ckeditor5/src/core.js';import{addListToDropdown as _0x506513,createDropdown as _0x37e74b,MenuBarMenuListItemButtonView as _0x48d39f,MenuBarMenuListItemView as _0x386cf0,MenuBarMenuListView as _0x3fe666,MenuBarMenuView as _0x488e61,UIModel as _0xc5d568}from'ckeditor5/src/ui.js';import{Collection as _0x143d9c}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3b390f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x194f83}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x22f173{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x16e314={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x16e314),this['_registerMenuBarComponent'](_0x16e314),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x814dfe=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f15b9;for(const _0x144bde in _0x814dfe){const _0x49054c=_0x144bde,_0x192eac=_0x814dfe[_0x49054c];if('lineHeightLicenseKeyValid'==_0x192eac||'lineHeightLicenseKeyInvalid'==_0x192eac||'lineHeightLicenseKeyExpired'==_0x192eac||'lineHeightLicenseKeyDomainLimit'==_0x192eac||'lineHeightLicenseKeyNotAllowed'==_0x192eac||'lineHeightLicenseKeyEvaluationLimit'==_0x192eac||'lineHeightLicenseKeyTrialLimit'==_0x192eac||'lineHeightLicenseKeyUsageLimit'==_0x192eac){delete _0x814dfe[_0x49054c],_0x1f15b9=_0x192eac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1f15b9&&_0x814dfe['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1f15b9&&_0x814dfe['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1f15b9&&_0x814dfe['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1f15b9&&_0x814dfe['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1f15b9&&_0x814dfe['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1f15b9&&_0x814dfe['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1f15b9&&_0x814dfe['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4d8ee9=this['editor'],t=_0x4d8ee9['t'],_0x2629ba=_0x4d8ee9['config']['get']('lineHeight'),_0x50fc6d={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x194f83(_0x2629ba)['map'](_0x293f25=>{const _0xbf1922=_0x50fc6d[_0x293f25['title']];return _0xbf1922&&_0xbf1922!=_0x293f25['title']&&(_0x293f25=Object['assign']({},_0x293f25,{'title':_0xbf1922})),_0x293f25;});}['_prepareListOptions'](){const _0x4d35fa=this['editor']['commands']['get']('lineHeight'),_0x10884a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x21f484=this['_getLocalizedLineHeightOptions'](),_0x4c857b=new _0x143d9c(),_0x500be4=_0x5b716c=>'default'===_0x5b716c||String(_0x10884a)===_0x5b716c;for(const _0x250c6 of _0x21f484){const _0x343bad={'type':'button','model':new _0xc5d568({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x250c6['title'],'withText':!0x0})};_0x500be4(_0x250c6['model'])?(_0x343bad['model']['bind']('isOn')['to'](_0x4d35fa,'value',_0x175c06=>!_0x175c06),_0x343bad['model']['commandParam']=void 0x0):(_0x343bad['model']['bind']('isOn')['to'](_0x4d35fa,'value',_0x3fa6c2=>_0x3fa6c2===_0x250c6['model']),_0x343bad['model']['commandParam']=_0x250c6['model']),_0x4c857b['add'](_0x343bad);}if(this['_shouldRenderCustomValueOption']()){const _0x64c616=this['_getCustomValueOptionDefinition'](_0x21f484);_0x4c857b['add'](_0x64c616);}return _0x4c857b;}['_getCustomValueOptionDefinition'](_0x2556bf){const _0xec4863=this['editor'],t=_0xec4863['t'],_0x5af049=_0xec4863['commands']['get']('lineHeight'),_0x57b3af=_0x2556bf['map'](_0x13564f=>_0x13564f['model']),_0x461708={'type':'button','model':new _0xc5d568({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x461708['model']['bind']('commandParam')['to'](_0x5af049,'value'),_0x461708['model']['bind']('isOn')['to'](_0x5af049,'value',_0x4098fa=>!!_0x4098fa&&!_0x57b3af['includes'](String(_0x4098fa))),_0x461708['model']['bind']('label')['to'](_0x5af049,'value',_0x16bcff=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x16bcff))),_0x461708;}['_registerToolbarComponent']({accessibleLabel:_0x2d5c27,options:_0x22bf8e}){const _0x38b9a2=this['editor'],_0x115ed1=_0x38b9a2['commands']['get']('lineHeight');_0x38b9a2['ui']['componentFactory']['add']('lineHeight',_0x407701=>{const _0x5382b0=_0x37e74b(_0x407701);return _0x506513(_0x5382b0,_0x22bf8e,{'role':'menu','ariaLabel':_0x2d5c27}),_0x5382b0['buttonView']['set']({'label':_0x2d5c27,'tooltip':!0x0,'icon':_0x3b390f}),_0x5382b0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5382b0['bind']('isEnabled')['to'](_0x115ed1),this['listenTo'](_0x5382b0,'execute',_0x442f70=>{_0x38b9a2['execute'](_0x442f70['source']['commandName'],{'value':_0x442f70['source']['commandParam']}),_0x38b9a2['editing']['view']['focus']();}),_0x5382b0['once']('change:isOpen',()=>{const _0x2d4660=_0x5382b0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5382b0,_0x22bf8e,_0x2d4660);}),_0x5382b0;});}['_registerMenuBarComponent']({accessibleLabel:_0x4b7e53,options:_0x4c0718}){const _0x47a9f2=this['editor'],_0x1ac68e=_0x47a9f2['commands']['get']('lineHeight');_0x47a9f2['ui']['componentFactory']['add']('menuBar:lineHeight',_0x9526a1=>{const _0x1358ef=new _0x488e61(_0x9526a1);_0x1358ef['buttonView']['set']({'label':_0x4b7e53,'icon':_0x3b390f}),_0x1358ef['bind']('isEnabled')['to'](_0x1ac68e);const _0x58f58f=new _0x3fe666(_0x9526a1);for(const _0x3221a1 of _0x4c0718){const _0x584465=new _0x386cf0(_0x9526a1,_0x1358ef),_0x41c07d=new _0x48d39f(_0x9526a1);_0x41c07d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x41c07d['bind'](...Object['keys'](_0x3221a1['model']))['to'](_0x3221a1['model']),_0x41c07d['delegate']('execute')['to'](_0x1358ef),_0x41c07d['on']('execute',()=>{_0x47a9f2['execute'](_0x3221a1['model']['commandName'],{'value':_0x3221a1['model']['commandParam']}),_0x47a9f2['editing']['view']['focus']();}),_0x584465['children']['add'](_0x41c07d),_0x58f58f['items']['add'](_0x584465);}return _0x1358ef['panelView']['children']['add'](_0x58f58f),this['_attachCustomOptionVisibilityHandler'](_0x1358ef,_0x4c0718,_0x58f58f),_0x1358ef;});}['_attachCustomOptionVisibilityHandler'](_0x465374,_0x340d0e,_0x2f17af){if(!this['_shouldRenderCustomValueOption']())return;const _0x5104fa=()=>{if(!_0x465374['isOpen'])return;_0x2f17af['items']['last']['isVisible']=Boolean(_0x340d0e['last']['model']['isOn']);};_0x5104fa(),_0x465374['on']('change:isOpen',()=>{_0x5104fa();});}}
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();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29e8(){const _0x26322f=['toLowerCase','number','1271754rINzIw','8wtnpzy','line-height:','string','options','Double','values','single','3nItxmn','double','view','1808400psCVzr','default','line-height-double','611720LZcYKw','filter','241485rPnUZL','key','101985vypllU','style','3738525pKehzO','span','line-height-single','Single','map','936538SXKbEy','value','class','push','model','defaultValue'];_0x29e8=function(){return _0x26322f;};return _0x29e8();}(function(_0x272288,_0x5b0ef2){const _0x1bcccc=_0x18b2,_0x2f2ae7=_0x272288();while(!![]){try{const _0x5d3dd8=-parseInt(_0x1bcccc(0xf2))/0x1+-parseInt(_0x1bcccc(0xfb))/0x2*(-parseInt(_0x1bcccc(0x10b))/0x3)+parseInt(_0x1bcccc(0xf0))/0x4+-parseInt(_0x1bcccc(0xf4))/0x5+parseInt(_0x1bcccc(0x10e))/0x6+-parseInt(_0x1bcccc(0xf6))/0x7+-parseInt(_0x1bcccc(0x104))/0x8*(-parseInt(_0x1bcccc(0x103))/0x9);if(_0x5d3dd8===_0x5b0ef2)break;else _0x2f2ae7['push'](_0x2f2ae7['shift']());}catch(_0x52dcda){_0x2f2ae7['push'](_0x2f2ae7['shift']());}}}(_0x29e8,0x416ac));function _0x18b2(_0x4a96c9,_0x1bb98e){const _0x29e868=_0x29e8();return _0x18b2=function(_0x18b261,_0x178cf2){_0x18b261=_0x18b261-0xee;let _0x20e303=_0x29e868[_0x18b261];return _0x20e303;},_0x18b2(_0x4a96c9,_0x1bb98e);}const v={get 'single'(){const _0x31acef=_0x18b2;return{'title':_0x31acef(0xf9),'model':_0x31acef(0x10a),'view':{'key':_0x31acef(0xfd),'value':_0x31acef(0xf8)}};},get 'double'(){const _0x2ae8b1=_0x18b2;return{'title':_0x2ae8b1(0x108),'model':_0x2ae8b1(0x10c),'view':{'key':_0x2ae8b1(0xfd),'value':_0x2ae8b1(0xef)}};}};export function isLineHeightDefaultValue(_0xb7f2d5){const _0xe0202d=_0x18b2;return _0xe0202d(0x106)==typeof _0xb7f2d5&&_0xe0202d(0xee)===_0xb7f2d5[_0xe0202d(0x101)]();}export function normalizeOptions(_0x2cf35d){const _0x5cd3ab=_0x18b2;return _0x2cf35d[_0x5cd3ab(0x107)][_0x5cd3ab(0xfa)](_0x2a034c=>isLineHeightDefaultValue(_0x2a034c)?{'title':String(_0x2cf35d[_0x5cd3ab(0x100)]),'model':_0x5cd3ab(0xee)}:(_0x5cd3ab(0x102)==typeof _0x2a034c&&(_0x2a034c=String(_0x2a034c)),_0x5cd3ab(0x106)!=typeof _0x2a034c?_0x2a034c:parseFloat(_0x2a034c)?{'title':_0x2a034c,'model':_0x2a034c,'view':{'name':_0x5cd3ab(0xf7),'styles':{'line-height':_0x2a034c}}}:findPreset(_0x2a034c)))[_0x5cd3ab(0xf1)](_0x2e8f47=>void 0x0!==_0x2e8f47);}export function findPreset(_0x329db8){const _0x46618e=_0x18b2;return _0x46618e(0x106)==typeof _0x329db8?v[_0x329db8]:v[_0x329db8[_0x46618e(0xff)]];}export function buildDefinition(_0x2fb214,_0x52e0a7){const _0x17d6d1=_0x18b2,_0x3ff618={'model':{'key':_0x2fb214,'values':[]},'view':{}};for(const _0x525573 of _0x52e0a7)_0x17d6d1(0xfd)===_0x525573[_0x17d6d1(0x10d)]?.[_0x17d6d1(0xf3)]?(_0x3ff618[_0x17d6d1(0xff)][_0x17d6d1(0x109)][_0x17d6d1(0xfe)](_0x525573[_0x17d6d1(0xff)]),_0x3ff618[_0x17d6d1(0x10d)][_0x525573[_0x17d6d1(0xff)]]={'key':_0x17d6d1(0xfd),'value':_0x525573[_0x17d6d1(0x10d)][_0x17d6d1(0xfc)]}):(_0x3ff618[_0x17d6d1(0xff)][_0x17d6d1(0x109)][_0x17d6d1(0xfe)](_0x525573[_0x17d6d1(0xff)]),_0x3ff618[_0x17d6d1(0x10d)][_0x525573[_0x17d6d1(0xff)]]={'key':_0x17d6d1(0xf5),'value':_0x17d6d1(0x105)+_0x525573[_0x17d6d1(0xff)]+';'});return _0x3ff618;}
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;}