@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251120.0 → 0.0.0-nightly-20251121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 _0x160df4=_0x5119;(function(_0x5878ff,_0x3a086f){const _0x4c0bae=_0x5119,_0x2b5084=_0x5878ff();while(!![]){try{const _0x170a1d=-parseInt(_0x4c0bae(0x1cc))/0x1+-parseInt(_0x4c0bae(0x1d9))/0x2*(parseInt(_0x4c0bae(0x1d3))/0x3)+parseInt(_0x4c0bae(0x1e0))/0x4+parseInt(_0x4c0bae(0x1d4))/0x5+parseInt(_0x4c0bae(0x1dc))/0x6+-parseInt(_0x4c0bae(0x1d2))/0x7*(-parseInt(_0x4c0bae(0x1e3))/0x8)+parseInt(_0x4c0bae(0x1db))/0x9;if(_0x170a1d===_0x3a086f)break;else _0x2b5084['push'](_0x2b5084['shift']());}catch(_0x48af5c){_0x2b5084['push'](_0x2b5084['shift']());}}}(_0x8a25,0xea6a6));function _0x5119(_0x43426e,_0x3f546a){const _0x8a255a=_0x8a25();return _0x5119=function(_0x511929,_0x141c66){_0x511929=_0x511929-0x1cb;let _0x1f3951=_0x8a255a[_0x511929];return _0x1f3951;},_0x5119(_0x43426e,_0x3f546a);}function _0x8a25(){const _0xf0778d=['checkAttribute','8MQFbXC','isEnabled','selection','schema','lineHeight','1706510oyPVcj','from','refresh','getSelectedBlocks','execute','change','5728373Xurgma','381VAYNdF','1078230aUKaYD','value','getAttribute','editor','model','17994gyuiUB','_canHaveLineHeight','14314374WTJabt','731820pHNeZo','setAttribute','filter','removeAttribute','4251416pbjgVZ','document'];_0x8a25=function(){return _0xf0778d;};return _0x8a25();}import{Command as _0x5a0789}from'ckeditor5/src/core.js';import{first as _0x43280f}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5a0789{[_0x160df4(0x1ce)](){const _0x33b675=_0x160df4,_0x24821a=this[_0x33b675(0x1d7)][_0x33b675(0x1d8)][_0x33b675(0x1e1)],_0x1b690c=_0x43280f(_0x24821a[_0x33b675(0x1e5)][_0x33b675(0x1cf)]());this[_0x33b675(0x1e4)]=Boolean(_0x1b690c)&&this[_0x33b675(0x1da)](_0x1b690c),this[_0x33b675(0x1d5)]=this[_0x33b675(0x1e4)]&&_0x1b690c[_0x33b675(0x1d6)](_0x33b675(0x1cb));}[_0x160df4(0x1d0)](_0xaf41f1={}){const _0x19ffd3=_0x160df4,_0x3ebf37=this[_0x19ffd3(0x1d7)][_0x19ffd3(0x1d8)],_0x69fcc6=_0x3ebf37[_0x19ffd3(0x1e1)][_0x19ffd3(0x1e5)],_0xfc284c=_0xaf41f1[_0x19ffd3(0x1d5)];_0x3ebf37[_0x19ffd3(0x1d1)](_0x5df82d=>{const _0x311be7=_0x19ffd3,_0x33d72d=Array[_0x311be7(0x1cd)](_0x69fcc6[_0x311be7(0x1cf)]())[_0x311be7(0x1de)](_0x748e=>this[_0x311be7(0x1da)](_0x748e));for(const _0xaea565 of _0x33d72d)_0xfc284c?_0x5df82d[_0x311be7(0x1dd)](_0x311be7(0x1cb),_0xfc284c,_0xaea565):_0x5df82d[_0x311be7(0x1df)](_0x311be7(0x1cb),_0xaea565);});}[_0x160df4(0x1da)](_0x31c7a0){const _0x4f1738=_0x160df4;return this[_0x4f1738(0x1d7)][_0x4f1738(0x1d8)][_0x4f1738(0x1e6)][_0x4f1738(0x1e2)](_0x31c7a0,_0x4f1738(0x1cb));}}
23
+ const _0x446ed4=_0xec1e;function _0xec1e(_0x3d31d1,_0x482fb3){const _0x33b9d7=_0x33b9();return _0xec1e=function(_0xec1e4,_0x2f43d9){_0xec1e4=_0xec1e4-0x177;let _0x5c47ec=_0x33b9d7[_0xec1e4];return _0x5c47ec;},_0xec1e(_0x3d31d1,_0x482fb3);}(function(_0x4d799a,_0x28a1cb){const _0x490701=_0xec1e,_0x1e926c=_0x4d799a();while(!![]){try{const _0x1449ed=parseInt(_0x490701(0x18d))/0x1*(parseInt(_0x490701(0x188))/0x2)+parseInt(_0x490701(0x17a))/0x3+parseInt(_0x490701(0x193))/0x4*(-parseInt(_0x490701(0x183))/0x5)+parseInt(_0x490701(0x192))/0x6*(parseInt(_0x490701(0x179))/0x7)+parseInt(_0x490701(0x194))/0x8+parseInt(_0x490701(0x17b))/0x9*(-parseInt(_0x490701(0x178))/0xa)+-parseInt(_0x490701(0x190))/0xb;if(_0x1449ed===_0x28a1cb)break;else _0x1e926c['push'](_0x1e926c['shift']());}catch(_0x36d413){_0x1e926c['push'](_0x1e926c['shift']());}}}(_0x33b9,0xab826));function _0x33b9(){const _0x53b57e=['30uxGQJo','28gnDnsU','9922112WBWgEx','getSelectedBlocks','378690FzqMYU','1826601Lptxby','4185681KTZrcm','180HdDPrh','getAttribute','schema','selection','value','change','lineHeight','isEnabled','264590OCSBmo','editor','model','refresh','from','16266OFcHmD','checkAttribute','setAttribute','filter','document','107PLAXTK','execute','_canHaveLineHeight','32781419CsfYTJ','removeAttribute'];_0x33b9=function(){return _0x53b57e;};return _0x33b9();}import{Command as _0x2140e3}from'ckeditor5/src/core.js';import{first as _0x2806a9}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x2140e3{[_0x446ed4(0x186)](){const _0x1f752c=_0x446ed4,_0x17ff10=this[_0x1f752c(0x184)][_0x1f752c(0x185)][_0x1f752c(0x18c)],_0x31e005=_0x2806a9(_0x17ff10[_0x1f752c(0x17e)][_0x1f752c(0x177)]());this[_0x1f752c(0x182)]=Boolean(_0x31e005)&&this[_0x1f752c(0x18f)](_0x31e005),this[_0x1f752c(0x17f)]=this[_0x1f752c(0x182)]&&_0x31e005[_0x1f752c(0x17c)](_0x1f752c(0x181));}[_0x446ed4(0x18e)](_0x4e9b83={}){const _0xda2103=_0x446ed4,_0x445bbf=this[_0xda2103(0x184)][_0xda2103(0x185)],_0x1e9179=_0x445bbf[_0xda2103(0x18c)][_0xda2103(0x17e)],_0x5592ce=_0x4e9b83[_0xda2103(0x17f)];_0x445bbf[_0xda2103(0x180)](_0x37876a=>{const _0x5ed722=_0xda2103,_0xcae0cd=Array[_0x5ed722(0x187)](_0x1e9179[_0x5ed722(0x177)]())[_0x5ed722(0x18b)](_0x45ac62=>this[_0x5ed722(0x18f)](_0x45ac62));for(const _0x445d2a of _0xcae0cd)_0x5592ce?_0x37876a[_0x5ed722(0x18a)](_0x5ed722(0x181),_0x5592ce,_0x445d2a):_0x37876a[_0x5ed722(0x191)](_0x5ed722(0x181),_0x445d2a);});}[_0x446ed4(0x18f)](_0x21d36a){const _0x10fad8=_0x446ed4;return this[_0x10fad8(0x184)][_0x10fad8(0x185)][_0x10fad8(0x17d)][_0x10fad8(0x189)](_0x21d36a,_0x10fad8(0x181));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46cbb7=_0x1a3b;(function(_0x7d1e45,_0x47b91f){const _0x523b26=_0x1a3b,_0x3873c1=_0x7d1e45();while(!![]){try{const _0x3e3a3a=-parseInt(_0x523b26(0xdf))/0x1+parseInt(_0x523b26(0xd4))/0x2*(-parseInt(_0x523b26(0xd7))/0x3)+-parseInt(_0x523b26(0xd3))/0x4*(parseInt(_0x523b26(0xea))/0x5)+-parseInt(_0x523b26(0xc9))/0x6*(-parseInt(_0x523b26(0xc0))/0x7)+-parseInt(_0x523b26(0xcb))/0x8*(parseInt(_0x523b26(0xe8))/0x9)+-parseInt(_0x523b26(0xd8))/0xa+-parseInt(_0x523b26(0xd0))/0xb*(-parseInt(_0x523b26(0xdc))/0xc);if(_0x3e3a3a===_0x47b91f)break;else _0x3873c1['push'](_0x3873c1['shift']());}catch(_0x14e6d1){_0x3873c1['push'](_0x3873c1['shift']());}}}(_0x3a24,0xb546e));import{Plugin as _0x191b6d}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x73cffd}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x20968d}from'ckeditor5/src/engine.js';import{uid as _0x1a1417,CKEditorError as _0x4e4473}from'ckeditor5/src/utils.js';function _0x1a3b(_0x8df02d,_0x29d058){const _0x3a2480=_0x3a24();return _0x1a3b=function(_0x1a3b48,_0x4fb046){_0x1a3b48=_0x1a3b48-0xb7;let _0xb11f6=_0x3a2480[_0x1a3b48];return _0xb11f6;},_0x1a3b(_0x8df02d,_0x29d058);}function _0x3a24(){const _0x160d02=['12GbpoYz','isPremiumPlugin','613192XeMQvd','downcast','style','upcast','slice','5214IDLyYR','line-height','init','4KBIria','684746EiASYT','pluginName','isOfficialPlugin','3EZyqeF','8908990YcJdEM','attributeToAttribute','default','afterInit','100416KHhyjo','extend','commands','671830lWNbvc','conversion','model','LineHeightEditing','_validateConfig','schema','filter','define','setAttributeProperties','99ieMYKn','add','6021815fyyhgH','string','lineHeight.supportAllValues','join','map','_prepareAnyValueConverters','$block','for','href','editor','get','lineHeight.defaultValue','length','_preparePredefinedConverters','2550387BHSFku','line-height-invalid-use-of-named-presets','config','getStyle','values','lineHeight.options','includes','lineHeight','fromCharCode'];_0x3a24=function(){return _0x160d02;};return _0x3a24();}import{buildDefinition as _0x597d9e,isLineHeightDefaultValue as _0x4d921f,normalizeOptions as _0x4a1156}from'./utils.js';export class LineHeightEditing extends _0x191b6d{static get[_0x46cbb7(0xd5)](){const _0x740e7c=_0x46cbb7;return _0x740e7c(0xe2);}static get[_0x46cbb7(0xd6)](){return!0x0;}static get[_0x46cbb7(0xca)](){return!0x0;}constructor(_0x2b4422){const _0x11fa7a=_0x46cbb7;super(_0x2b4422),_0x2b4422[_0x11fa7a(0xc2)][_0x11fa7a(0xe6)](_0x11fa7a(0xc7),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x11fa7a(0xda),0x2,2.5,0x3]});}[_0x46cbb7(0xd2)](){const _0x56be39=_0x46cbb7,_0x23bd0a=this[_0x56be39(0xbb)];this[_0x56be39(0xe3)](),_0x23bd0a[_0x56be39(0xe1)][_0x56be39(0xe4)][_0x56be39(0xdd)](_0x56be39(0xb8),{'allowAttributes':_0x56be39(0xc7)}),_0x23bd0a[_0x56be39(0xe1)][_0x56be39(0xe4)][_0x56be39(0xe7)](_0x56be39(0xc7),{'isFormatting':!0x0}),_0x23bd0a[_0x56be39(0xde)][_0x56be39(0xe9)](_0x56be39(0xc7),new _0x73cffd(_0x23bd0a)),this[_0x56be39(0xbb)][_0x56be39(0xc2)][_0x56be39(0xbc)](_0x56be39(0xec))?this[_0x56be39(0xb7)]():this[_0x56be39(0xbf)]();}[_0x46cbb7(0xdb)](){!async function(_0x19e73e){const _0x42bf87=_0x410078([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x1137fa=0x45ddd215,_0x1cd536=0x45daabb5^_0x1137fa,_0x1ccc26=window[_0x410078([0x44,0x61,0x74,0x65])][_0x410078([0x6e,0x6f,0x77])](),_0x4a379a=_0x19e73e[_0x410078([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ba236=new window[(_0x410078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30114c=>{_0x4a379a[_0x410078([0x6f,0x6e,0x63,0x65])](_0x410078([0x72,0x65,0x61,0x64,0x79]),_0x30114c);}),_0x1571fe={[_0x410078([0x6b,0x74,0x79])]:_0x410078([0x45,0x43]),[_0x410078([0x75,0x73,0x65])]:_0x410078([0x73,0x69,0x67]),[_0x410078([0x63,0x72,0x76])]:_0x410078([0x50,0x2d,0x32,0x35,0x36]),[_0x410078([0x78])]:_0x410078([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]),[_0x410078([0x79])]:_0x410078([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]),[_0x410078([0x61,0x6c,0x67])]:_0x410078([0x45,0x53,0x32,0x35,0x36])},_0x6700d7=_0x4a379a[_0x410078([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x410078([0x67,0x65,0x74])](_0x410078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10b9f9(){let _0x10d354,_0x4db1e0=null,_0x488ee0=null;try{if(_0x6700d7==_0x410078([0x47,0x50,0x4c]))return _0x410078([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x10d354=_0x174a4a(),!_0x10d354)return _0x410078([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x10d354[_0x410078([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x488ee0=_0x366d58(_0x10d354[_0x410078([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x10d354[_0x410078([0x6a,0x74,0x69])])),await _0x1a9163()?_0x3bf092()?_0x5aa915()?_0x410078([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35d699()?(_0x10d354[_0x410078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x410078([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4db1e0=_0x360da4(_0x410078([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x10d354[_0x410078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x410078([0x74,0x72,0x69,0x61,0x6c])&&(_0x4db1e0=_0x360da4(_0x410078([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32daf1()):_0x410078([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x410078([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x410078([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x410078([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5aa915(){const _0x5636bb=[_0x410078([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x410078([0x74,0x72,0x69,0x61,0x6c])][_0x410078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10d354[_0x410078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ccc26/0x3e8:0xe10*_0x1cd536;return _0x10d354[_0x410078([0x65,0x78,0x70])]<_0x5636bb;}function _0x3bf092(){const _0x2c14a4=_0x10d354[_0x410078([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c14a4&&(!!_0x2c14a4[_0x410078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410078([0x2a]))||!!_0x2c14a4[_0x410078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410078([0x4c,0x48])));}function _0x35d699(){const _0x300660=_0x1a3b,_0x39e8ec=_0x10d354[_0x410078([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39e8ec||0x0==_0x39e8ec[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d093b}=new URL(window[_0x410078([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x300660(0xba)]);if(_0x39e8ec[_0x410078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d093b))return!0x0;const _0x5afd81=_0x4d093b[_0x410078([0x73,0x70,0x6c,0x69,0x74])](_0x410078([0x2e]));return _0x39e8ec[_0x410078([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2301fb=>_0x2301fb[_0x410078([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410078([0x2a])))[_0x410078([0x6d,0x61,0x70])](_0x45cb97=>_0x45cb97[_0x410078([0x73,0x70,0x6c,0x69,0x74])](_0x410078([0x2e])))[_0x410078([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c5f8f=>_0x4c5f8f[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5afd81[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x410078([0x6d,0x61,0x70])](_0x302702=>Array(_0x5afd81[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x302702[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x410078([0x66,0x69,0x6c,0x6c])](_0x302702[0x0]===_0x410078([0x2a])?_0x410078([0x2a]):'')[_0x410078([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x302702))[_0x410078([0x73,0x6f,0x6d,0x65])](_0x454ecd=>_0x5afd81[_0x410078([0x65,0x76,0x65,0x72,0x79])]((_0x31a914,_0x133cdc)=>_0x454ecd[_0x133cdc]===_0x31a914||_0x454ecd[_0x133cdc]===_0x410078([0x2a])));}function _0x32daf1(){return _0x4db1e0&&_0x488ee0?new window[(_0x410078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x413d9f,_0x5255dc)=>{_0x4db1e0[_0x410078([0x74,0x68,0x65,0x6e])](_0x413d9f,_0x5255dc),_0x488ee0[_0x410078([0x74,0x68,0x65,0x6e])](_0x5d2f60=>{_0x5d2f60!=_0x410078([0x56,0x61,0x6c,0x69,0x64])&&_0x413d9f(_0x5d2f60);},_0x5255dc);}):_0x4db1e0||_0x488ee0||_0x410078([0x56,0x61,0x6c,0x69,0x64]);}}function _0x366d58(_0x448c50,_0x468f0e){return new window[(_0x410078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a2cf9=>{if(_0x56f5a3())return _0x2a2cf9(_0x410078([0x56,0x61,0x6c,0x69,0x64]));_0xc9278f(),_0x4a379a[_0x410078([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x410078([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x467832=!0x1;const _0x6d3dd8=_0x1a1417();function _0x28c22a(_0x55b708){return!!_0x55b708&&(typeof _0x55b708===_0x410078([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x55b708===_0x410078([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x55b708[_0x410078([0x74,0x68,0x65,0x6e])]===_0x410078([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x55b708[_0x410078([0x63,0x61,0x74,0x63,0x68])]===_0x410078([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5e719a(_0x4da754){_0x24d389(_0x4da754)[_0x410078([0x74,0x68,0x65,0x6e])](_0x105029=>{if(!_0x105029||_0x105029[_0x410078([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x410078([0x6f,0x6b]))return _0x410078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x365780(_0x42791a(_0x6d3dd8+_0x468f0e))!=_0x105029[_0x410078([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x410078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x410078([0x56,0x61,0x6c,0x69,0x64]);})[_0x410078([0x74,0x68,0x65,0x6e])](_0x3a0e64=>(_0x3f7038(),_0x3a0e64),()=>{const _0x1fcc9f=_0x3cff95();return null==_0x1fcc9f?(_0x3f7038(),_0x410078([0x56,0x61,0x6c,0x69,0x64])):_0x410078(_0x1ccc26-_0x1fcc9f>(0x61d15615^_0x1137fa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x410078([0x74,0x68,0x65,0x6e])](_0x2a2cf9)[_0x410078([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a2cf9(_0x410078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ee3f2=0x45eb3c95^_0x1137fa;function _0x3f7038(){const _0x36a0ab=_0x410078([0x6c,0x6c,0x63,0x74,0x2d])+_0x365780(_0x42791a(_0x448c50)),_0x2c96f2=_0xbdbb1(_0x365780(window[_0x410078([0x4d,0x61,0x74,0x68])][_0x410078([0x63,0x65,0x69,0x6c])](_0x1ccc26/_0x4ee3f2)));window[_0x410078([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x410078([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36a0ab,_0x2c96f2);}function _0x3cff95(){const _0x5d404e=_0x410078([0x6c,0x6c,0x63,0x74,0x2d])+_0x365780(_0x42791a(_0x448c50)),_0x571eac=window[_0x410078([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x410078([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d404e);return _0x571eac?window[_0x410078([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbdbb1(_0x571eac),0x10)*_0x4ee3f2:null;}function _0x24d389(_0x2ce53e){return new window[(_0x410078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d1768,_0x4427a)=>{_0x2ce53e[_0x410078([0x74,0x68,0x65,0x6e])](_0x5d1768,_0x4427a),window[_0x410078([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4427a,0x45dc06d5^_0x1137fa);});}}_0x4a379a[_0x410078([0x6f,0x6e])](_0x410078([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a36f2,_0x3a47d0)=>{if(_0x3a47d0[0x0]!=_0x448c50)return _0x2a2cf9(_0x410078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a47d0[0x1]={..._0x3a47d0[0x1],[_0x410078([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6d3dd8};},{[_0x410078([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x410078([0x68,0x69,0x67,0x68])}),_0x4a379a[_0x410078([0x6f,0x6e])](_0x410078([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1fc29a=>{_0x28c22a(_0x1fc29a[_0x410078([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x467832=!0x0,_0x5e719a(_0x1fc29a[_0x410078([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x410078([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x410078([0x6c,0x6f,0x77])}),_0x2ba236[_0x410078([0x74,0x68,0x65,0x6e])](()=>{_0x467832||_0x2a2cf9(_0x410078([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56f5a3(){return _0x4a379a[_0x410078([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x410078([0x76,0x69,0x65,0x77])][_0x410078([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x410078([0x61,0x75,0x74,0x6f]);}function _0xc9278f(){_0x4a379a[_0x410078([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x410078([0x76,0x69,0x65,0x77])][_0x410078([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x410078([0x61,0x75,0x74,0x6f]);}}function _0x360da4(_0x333974){const _0x2577d4=[new window[(_0x410078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf39b07=>setTimeout(_0xf39b07,0x45d4ecd9^_0x1137fa)),_0x2ba236[_0x410078([0x74,0x68,0x65,0x6e])](()=>new window[(_0x410078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42ec3f=>{let _0x278ced=0x0;_0x4a379a[_0x410078([0x6d,0x6f,0x64,0x65,0x6c])][_0x410078([0x6f,0x6e])](_0x410078([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38409e,_0x12b06c)=>{_0x12b06c[0x0][_0x410078([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x278ced++,_0x278ced==(0x45ddd3ed^_0x1137fa)&&(_0x42ec3f(),_0x38409e[_0x410078([0x6f,0x66,0x66])]());});}))];return window[_0x410078([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x410078([0x72,0x61,0x63,0x65])](_0x2577d4)[_0x410078([0x74,0x68,0x65,0x6e])](()=>_0x333974);}async function _0x39ff70(){await _0x2ba236,_0x4a379a[_0x410078([0x6d,0x6f,0x64,0x65,0x6c])][_0x410078([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50a5b4,_0x4a379a[_0x410078([0x6d,0x6f,0x64,0x65,0x6c])][_0x410078([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50a5b4,_0x4a379a[_0x410078([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x410078([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x194f40(_0x1337f8){const _0x3bed30=_0x2a45a9();_0x4a379a[_0x3bed30]=_0x410078([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1337f8,_0x1337f8!=_0x410078([0x56,0x61,0x6c,0x69,0x64])&&_0x39ff70();}function _0x2a45a9(){const _0x46df70=window[_0x410078([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x410078([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x410078([0x6e,0x6f,0x77])]())[_0x410078([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x410078([0x2e]),'');let _0x2351f9=_0x410078([0x50]);for(let _0x173d9e=0x0;_0x173d9e<_0x46df70[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x173d9e+=0x2){let _0x1528e3=window[_0x410078([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46df70[_0x410078([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x173d9e,_0x173d9e+0x2));_0x1528e3>=_0x42bf87[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1528e3-=_0x42bf87[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2351f9+=_0x42bf87[_0x1528e3];}return _0x2351f9;}function _0x174a4a(){const _0x3e832a=_0x6700d7[_0x410078([0x73,0x70,0x6c,0x69,0x74])](_0x410078([0x2e]));if(0x3!=_0x3e832a[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a9a43(_0x3e832a[0x1]);function _0x4a9a43(_0x4e3b58){const _0x9ce3be=_0x17e8b1(_0x4e3b58);return _0x9ce3be&&_0x532a8a()?_0x9ce3be:null;function _0x532a8a(){const _0xb70b92=_0x9ce3be[_0x410078([0x6a,0x74,0x69])],_0x4fbbd3=window[_0x410078([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb70b92[_0x410078([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb70b92[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a0135={..._0x9ce3be,[_0x410078([0x6a,0x74,0x69])]:_0xb70b92[_0x410078([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb70b92[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a0135[_0x410078([0x76,0x63])],_0x42791a(_0x2a0135)==_0x4fbbd3;}}}async function _0x1a9163(){let _0x203671=!0x0;try{const _0x191a34=_0x6700d7[_0x410078([0x73,0x70,0x6c,0x69,0x74])](_0x410078([0x2e])),[_0x34cb0e,_0x567b4d,_0x1c1de3]=_0x191a34;return _0xbcc686(_0x34cb0e),await _0x3b3990(_0x34cb0e,_0x567b4d,_0x1c1de3),_0x203671;}catch{return!0x1;}function _0xbcc686(_0x4ecb59){const _0x2a6379=_0x17e8b1(_0x4ecb59);_0x2a6379&&_0x2a6379[_0x410078([0x61,0x6c,0x67])]==_0x410078([0x45,0x53,0x32,0x35,0x36])||(_0x203671=!0x1);}async function _0x3b3990(_0x5809d0,_0x1e98c4,_0x250709){const _0x5575a7=window[_0x410078([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x410078([0x66,0x72,0x6f,0x6d])](_0x425e5d(_0x250709),_0x5e7167=>_0x5e7167[_0x410078([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35c1d3=new window[(_0x410078([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x410078([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5809d0+_0x410078([0x2e])+_0x1e98c4),_0x1ac231=window[_0x410078([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x410078([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ac231)return;const _0x3c38c0=await _0x1ac231[_0x410078([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x410078([0x6a,0x77,0x6b]),_0x1571fe,{[_0x410078([0x6e,0x61,0x6d,0x65])]:_0x410078([0x45,0x43,0x44,0x53,0x41]),[_0x410078([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x410078([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x410078([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ac231[_0x410078([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x410078([0x6e,0x61,0x6d,0x65])]:_0x410078([0x45,0x43,0x44,0x53,0x41]),[_0x410078([0x68,0x61,0x73,0x68])]:{[_0x410078([0x6e,0x61,0x6d,0x65])]:_0x410078([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c38c0,_0x5575a7,_0x35c1d3)||(_0x203671=!0x1);}}function _0x17e8b1(_0x23639e){return _0x23639e[_0x410078([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x410078([0x65,0x79]))?JSON[_0x410078([0x70,0x61,0x72,0x73,0x65])](_0x425e5d(_0x23639e)):null;}function _0x425e5d(_0x2a2a1d){return window[_0x410078([0x61,0x74,0x6f,0x62])](_0x2a2a1d[_0x410078([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x410078([0x2b]))[_0x410078([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x410078([0x2f])));}function _0x42791a(_0x142e85){let _0x193d82=0x1505;function _0x4b27aa(_0x6e9163){for(let _0x297a9b=0x0;_0x297a9b<_0x6e9163[_0x410078([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297a9b++){const _0x23b8bc=_0x6e9163[_0x410078([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x297a9b);_0x193d82=(_0x193d82<<0x5)+_0x193d82+_0x23b8bc,_0x193d82&=_0x193d82;}}function _0x23fd74(_0x6ba13d){Array[_0x410078([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6ba13d)?_0x6ba13d[_0x410078([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x23fd74):_0x6ba13d&&typeof _0x6ba13d==_0x410078([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x410078([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6ba13d)[_0x410078([0x73,0x6f,0x72,0x74])]()[_0x410078([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6bfb34,_0x1f47cb])=>{_0x4b27aa(_0x6bfb34),_0x23fd74(_0x1f47cb);}):_0x4b27aa(window[_0x410078([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6ba13d));}return _0x23fd74(_0x142e85),_0x193d82>>>0x0;}function _0x365780(_0x3731ff){return _0x3731ff[_0x410078([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x410078([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x410078([0x30]));}function _0xbdbb1(_0x2ce695){return _0x2ce695[_0x410078([0x73,0x70,0x6c,0x69,0x74])]('')[_0x410078([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x410078([0x6a,0x6f,0x69,0x6e])]('');}function _0x50a5b4(){}function _0x410078(_0x1a0f0b){const _0x1f1c5a=_0x1a3b;return _0x1a0f0b[_0x1f1c5a(0xee)](_0x4ddfe6=>String[_0x1f1c5a(0xc8)](_0x4ddfe6))[_0x1f1c5a(0xed)]('');}_0x194f40(await _0x10b9f9());}(this);}[_0x46cbb7(0xe3)](){const _0x4aef62=_0x46cbb7,_0xfe504f=this[_0x4aef62(0xbb)];if(!_0xfe504f[_0x4aef62(0xc2)][_0x4aef62(0xbc)](_0x4aef62(0xec)))return;const _0x1602b5=_0xfe504f[_0x4aef62(0xc2)][_0x4aef62(0xbc)](_0x4aef62(0xc5))[_0x4aef62(0xe5)](_0x352d5f=>_0x4aef62(0xeb)==typeof _0x352d5f&&(!_0x4d921f(_0x352d5f)&&isNaN(Number(_0x352d5f))));if(_0x1602b5[_0x4aef62(0xbe)])throw new _0x4e4473(_0x4aef62(0xc1),null,{'namedPresets':_0x1602b5});}[_0x46cbb7(0xb7)](){const _0x146649=_0x46cbb7,_0x4e325a=this[_0x146649(0xbb)],_0x2f7af0=this[_0x146649(0xbb)][_0x146649(0xc2)][_0x146649(0xbc)](_0x146649(0xbd));_0x4e325a[_0x146649(0xe0)][_0x146649(0xb9)](_0x146649(0xcc))[_0x146649(0xd9)]({'model':{'key':_0x146649(0xc7)},'view':_0x5e84e2=>String(_0x5e84e2)===String(_0x2f7af0)?null:{'key':_0x146649(0xcd),'value':{'line-height':_0x5e84e2}}}),_0x4e325a[_0x146649(0xe0)][_0x146649(0xb9)](_0x146649(0xce))[_0x146649(0xd9)]({'model':{'key':_0x146649(0xc7),'value':_0x1ea269=>{const _0x3589ac=_0x146649;let _0x3b5682=_0x1ea269[_0x3589ac(0xc3)](_0x3589ac(0xd1));return _0x20968d(_0x3b5682)&&(_0x3b5682=String(Number(_0x3b5682[_0x3589ac(0xcf)](0x0,-0x1))/0x64)),String(_0x3b5682)===String(_0x2f7af0)?null:_0x3b5682;}},'view':{'styles':{'line-height':/.*/}}});}[_0x46cbb7(0xbf)](){const _0x5d365e=_0x46cbb7,_0x52333a=this[_0x5d365e(0xbb)],_0x118a8b=this[_0x5d365e(0xbb)][_0x5d365e(0xc2)][_0x5d365e(0xbc)](_0x5d365e(0xbd)),_0x3db870=_0x4a1156(this[_0x5d365e(0xbb)][_0x5d365e(0xc2)][_0x5d365e(0xbc)](_0x5d365e(0xc7)))[_0x5d365e(0xe5)](_0x39e863=>_0x39e863[_0x5d365e(0xe1)]),_0x1cd118=_0x597d9e(_0x5d365e(0xc7),_0x3db870);_0x52333a[_0x5d365e(0xe0)][_0x5d365e(0xd9)](_0x1cd118),_0x52333a[_0x5d365e(0xe0)][_0x5d365e(0xb9)](_0x5d365e(0xce))[_0x5d365e(0xd9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5d365e(0xc7),'value':_0x3715d7=>{const _0x3ec497=_0x5d365e;let _0x74b74b=_0x3715d7[_0x3ec497(0xc3)](_0x3ec497(0xd1));return _0x20968d(_0x74b74b)&&(_0x74b74b=String(Number(_0x74b74b[_0x3ec497(0xcf)](0x0,-0x1))/0x64)),_0x74b74b===String(_0x118a8b)?null:_0x1cd118[_0x3ec497(0xe1)][_0x3ec497(0xc4)][_0x3ec497(0xc6)](_0x74b74b)?_0x74b74b:null;}}});}}
23
+ const _0x471910=_0x2a33;function _0x2a33(_0x4dc2d4,_0x39a861){const _0x496fc7=_0x496f();return _0x2a33=function(_0x2a3310,_0xffc445){_0x2a3310=_0x2a3310-0x1e7;let _0x26f491=_0x496fc7[_0x2a3310];return _0x26f491;},_0x2a33(_0x4dc2d4,_0x39a861);}(function(_0x40e52f,_0x5794e6){const _0x8e83d9=_0x2a33,_0x31ccd3=_0x40e52f();while(!![]){try{const _0x3e33b8=parseInt(_0x8e83d9(0x209))/0x1*(parseInt(_0x8e83d9(0x202))/0x2)+parseInt(_0x8e83d9(0x1f4))/0x3+-parseInt(_0x8e83d9(0x211))/0x4*(-parseInt(_0x8e83d9(0x1e8))/0x5)+-parseInt(_0x8e83d9(0x214))/0x6*(parseInt(_0x8e83d9(0x1f3))/0x7)+-parseInt(_0x8e83d9(0x1f8))/0x8+parseInt(_0x8e83d9(0x1ed))/0x9+parseInt(_0x8e83d9(0x20f))/0xa*(-parseInt(_0x8e83d9(0x1ea))/0xb);if(_0x3e33b8===_0x5794e6)break;else _0x31ccd3['push'](_0x31ccd3['shift']());}catch(_0x111b3c){_0x31ccd3['push'](_0x31ccd3['shift']());}}}(_0x496f,0x6202a));import{Plugin as _0x29935e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2f77ce}from'./lineheightcommand.js';function _0x496f(){const _0x13c20f=['4835277OMdfzM','join','get','slice','$block','attributeToAttribute','3731DeWwou','2063187tuohzh','getStyle','conversion','editor','5190992pbCCbp','lineHeight.supportAllValues','schema','length','fromCharCode','_prepareAnyValueConverters','add','default','afterInit','lineHeight.defaultValue','2EDqKDv','upcast','string','for','isPremiumPlugin','values','_preparePredefinedConverters','387485lAZoVD','_validateConfig','map','downcast','setAttributeProperties','lineHeight','10uQkpPy','includes','4ZJChex','line-height-invalid-use-of-named-presets','pluginName','6234kSNkVt','model','extend','commands','init','define','lineHeight.options','line-height','LineHeightEditing','style','href','745515IkPYAG','isOfficialPlugin','1732049xKSLRM','config','filter'];_0x496f=function(){return _0x13c20f;};return _0x496f();}import{isPercentageStyleValue as _0x4665d8}from'ckeditor5/src/engine.js';import{uid as _0x5cf357,CKEditorError as _0x418fd0}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1de95f,isLineHeightDefaultValue as _0x1eb6be,normalizeOptions as _0x5a1c73}from'./utils.js';export class LineHeightEditing extends _0x29935e{static get[_0x471910(0x213)](){const _0xf1e77b=_0x471910;return _0xf1e77b(0x21c);}static get[_0x471910(0x1e9)](){return!0x0;}static get[_0x471910(0x206)](){return!0x0;}constructor(_0x3c9139){const _0x849ccc=_0x471910;super(_0x3c9139),_0x3c9139[_0x849ccc(0x1eb)][_0x849ccc(0x219)](_0x849ccc(0x20e),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x849ccc(0x1ff),0x2,2.5,0x3]});}[_0x471910(0x218)](){const _0x318244=_0x471910,_0x260fb9=this[_0x318244(0x1f7)];this[_0x318244(0x20a)](),_0x260fb9[_0x318244(0x215)][_0x318244(0x1fa)][_0x318244(0x216)](_0x318244(0x1f1),{'allowAttributes':_0x318244(0x20e)}),_0x260fb9[_0x318244(0x215)][_0x318244(0x1fa)][_0x318244(0x20d)](_0x318244(0x20e),{'isFormatting':!0x0}),_0x260fb9[_0x318244(0x217)][_0x318244(0x1fe)](_0x318244(0x20e),new _0x2f77ce(_0x260fb9)),this[_0x318244(0x1f7)][_0x318244(0x1eb)][_0x318244(0x1ef)](_0x318244(0x1f9))?this[_0x318244(0x1fd)]():this[_0x318244(0x208)]();}[_0x471910(0x200)](){!async function(_0x2ff9a3){const _0x3e793d=_0x1db6d7([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x5457a3=0x45ddd215,_0x1a1aeb=0x45daabad^_0x5457a3,_0x2bb7ce=window[_0x1db6d7([0x44,0x61,0x74,0x65])][_0x1db6d7([0x6e,0x6f,0x77])](),_0x18c032=_0x2ff9a3[_0x1db6d7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa03328=new window[(_0x1db6d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e5f37=>{_0x18c032[_0x1db6d7([0x6f,0x6e,0x63,0x65])](_0x1db6d7([0x72,0x65,0x61,0x64,0x79]),_0x3e5f37);}),_0x4ae5c2={[_0x1db6d7([0x6b,0x74,0x79])]:_0x1db6d7([0x45,0x43]),[_0x1db6d7([0x75,0x73,0x65])]:_0x1db6d7([0x73,0x69,0x67]),[_0x1db6d7([0x63,0x72,0x76])]:_0x1db6d7([0x50,0x2d,0x32,0x35,0x36]),[_0x1db6d7([0x78])]:_0x1db6d7([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]),[_0x1db6d7([0x79])]:_0x1db6d7([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]),[_0x1db6d7([0x61,0x6c,0x67])]:_0x1db6d7([0x45,0x53,0x32,0x35,0x36])},_0x4e15bc=_0x18c032[_0x1db6d7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1db6d7([0x67,0x65,0x74])](_0x1db6d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b772c(){let _0x218e91,_0x107917=null,_0x230fda=null;try{if(_0x4e15bc==_0x1db6d7([0x47,0x50,0x4c]))return _0x1db6d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x218e91=_0x10072b(),!_0x218e91)return _0x1db6d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x218e91[_0x1db6d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x230fda=_0x41a8a8(_0x218e91[_0x1db6d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x218e91[_0x1db6d7([0x6a,0x74,0x69])])),await _0x3056ca()?_0x563636()?_0xe37d10()?_0x1db6d7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3600cd()?(_0x218e91[_0x1db6d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1db6d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x107917=_0x5166a2(_0x1db6d7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x218e91[_0x1db6d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1db6d7([0x74,0x72,0x69,0x61,0x6c])&&(_0x107917=_0x5166a2(_0x1db6d7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3aa5b8()):_0x1db6d7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1db6d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1db6d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1db6d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe37d10(){const _0x3962ab=[_0x1db6d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1db6d7([0x74,0x72,0x69,0x61,0x6c])][_0x1db6d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x218e91[_0x1db6d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2bb7ce/0x3e8:0xe10*_0x1a1aeb;return _0x218e91[_0x1db6d7([0x65,0x78,0x70])]<_0x3962ab;}function _0x563636(){const _0x4d5a1e=_0x218e91[_0x1db6d7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d5a1e&&(!!_0x4d5a1e[_0x1db6d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1db6d7([0x2a]))||!!_0x4d5a1e[_0x1db6d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1db6d7([0x4c,0x48])));}function _0x3600cd(){const _0x279561=_0x2a33,_0x15b189=_0x218e91[_0x1db6d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15b189||0x0==_0x15b189[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c27c1}=new URL(window[_0x1db6d7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x279561(0x1e7)]);if(_0x15b189[_0x1db6d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c27c1))return!0x0;const _0xb15fbc=_0x2c27c1[_0x1db6d7([0x73,0x70,0x6c,0x69,0x74])](_0x1db6d7([0x2e]));return _0x15b189[_0x1db6d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a9e30=>_0x1a9e30[_0x1db6d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1db6d7([0x2a])))[_0x1db6d7([0x6d,0x61,0x70])](_0x27efb7=>_0x27efb7[_0x1db6d7([0x73,0x70,0x6c,0x69,0x74])](_0x1db6d7([0x2e])))[_0x1db6d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x385835=>_0x385835[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb15fbc[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1db6d7([0x6d,0x61,0x70])](_0x219545=>Array(_0xb15fbc[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x219545[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1db6d7([0x66,0x69,0x6c,0x6c])](_0x219545[0x0]===_0x1db6d7([0x2a])?_0x1db6d7([0x2a]):'')[_0x1db6d7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x219545))[_0x1db6d7([0x73,0x6f,0x6d,0x65])](_0x28d0c3=>_0xb15fbc[_0x1db6d7([0x65,0x76,0x65,0x72,0x79])]((_0x39b353,_0x11437b)=>_0x28d0c3[_0x11437b]===_0x39b353||_0x28d0c3[_0x11437b]===_0x1db6d7([0x2a])));}function _0x3aa5b8(){return _0x107917&&_0x230fda?new window[(_0x1db6d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55a75b,_0x5ac39c)=>{_0x107917[_0x1db6d7([0x74,0x68,0x65,0x6e])](_0x55a75b,_0x5ac39c),_0x230fda[_0x1db6d7([0x74,0x68,0x65,0x6e])](_0x181337=>{_0x181337!=_0x1db6d7([0x56,0x61,0x6c,0x69,0x64])&&_0x55a75b(_0x181337);},_0x5ac39c);}):_0x107917||_0x230fda||_0x1db6d7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41a8a8(_0x4144e2,_0x2145bc){return new window[(_0x1db6d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c6327=>{if(_0x43f8d3())return _0x2c6327(_0x1db6d7([0x56,0x61,0x6c,0x69,0x64]));_0x20e494(),_0x18c032[_0x1db6d7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1db6d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd691de=!0x1;const _0x45bc7a=_0x5cf357();function _0x269a46(_0x58a313){return!!_0x58a313&&(typeof _0x58a313===_0x1db6d7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58a313===_0x1db6d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58a313[_0x1db6d7([0x74,0x68,0x65,0x6e])]===_0x1db6d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58a313[_0x1db6d7([0x63,0x61,0x74,0x63,0x68])]===_0x1db6d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3afa13(_0x188ecb){_0xd55408(_0x188ecb)[_0x1db6d7([0x74,0x68,0x65,0x6e])](_0x2f3b1b=>{if(!_0x2f3b1b||_0x2f3b1b[_0x1db6d7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1db6d7([0x6f,0x6b]))return _0x1db6d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e3b56(_0x234f64(_0x45bc7a+_0x2145bc))!=_0x2f3b1b[_0x1db6d7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1db6d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1db6d7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1db6d7([0x74,0x68,0x65,0x6e])](_0x3297c6=>(_0x2a5ce0(),_0x3297c6),()=>{const _0x278046=_0x90cde9();return null==_0x278046?(_0x2a5ce0(),_0x1db6d7([0x56,0x61,0x6c,0x69,0x64])):_0x1db6d7(_0x2bb7ce-_0x278046>(0x61d15615^_0x5457a3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1db6d7([0x74,0x68,0x65,0x6e])](_0x2c6327)[_0x1db6d7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c6327(_0x1db6d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44a7c0=0x45eb3c95^_0x5457a3;function _0x2a5ce0(){const _0xa6b15e=_0x1db6d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e3b56(_0x234f64(_0x4144e2)),_0x3b73bd=_0x5791e0(_0x1e3b56(window[_0x1db6d7([0x4d,0x61,0x74,0x68])][_0x1db6d7([0x63,0x65,0x69,0x6c])](_0x2bb7ce/_0x44a7c0)));window[_0x1db6d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1db6d7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa6b15e,_0x3b73bd);}function _0x90cde9(){const _0x2f5373=_0x1db6d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e3b56(_0x234f64(_0x4144e2)),_0x1ca1d0=window[_0x1db6d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1db6d7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f5373);return _0x1ca1d0?window[_0x1db6d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5791e0(_0x1ca1d0),0x10)*_0x44a7c0:null;}function _0xd55408(_0x4f4283){return new window[(_0x1db6d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x747e88,_0x293726)=>{_0x4f4283[_0x1db6d7([0x74,0x68,0x65,0x6e])](_0x747e88,_0x293726),window[_0x1db6d7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x293726,0x45dc06d5^_0x5457a3);});}}_0x18c032[_0x1db6d7([0x6f,0x6e])](_0x1db6d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11b4a9,_0x49fdf9)=>{if(_0x49fdf9[0x0]!=_0x4144e2)return _0x2c6327(_0x1db6d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49fdf9[0x1]={..._0x49fdf9[0x1],[_0x1db6d7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45bc7a};},{[_0x1db6d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1db6d7([0x68,0x69,0x67,0x68])}),_0x18c032[_0x1db6d7([0x6f,0x6e])](_0x1db6d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18ac79=>{_0x269a46(_0x18ac79[_0x1db6d7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd691de=!0x0,_0x3afa13(_0x18ac79[_0x1db6d7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1db6d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1db6d7([0x6c,0x6f,0x77])}),_0xa03328[_0x1db6d7([0x74,0x68,0x65,0x6e])](()=>{_0xd691de||_0x2c6327(_0x1db6d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43f8d3(){return _0x18c032[_0x1db6d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1db6d7([0x76,0x69,0x65,0x77])][_0x1db6d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1db6d7([0x61,0x75,0x74,0x6f]);}function _0x20e494(){_0x18c032[_0x1db6d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1db6d7([0x76,0x69,0x65,0x77])][_0x1db6d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1db6d7([0x61,0x75,0x74,0x6f]);}}function _0x5166a2(_0x4e0991){const _0x21994b=[new window[(_0x1db6d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44e5fd=>setTimeout(_0x44e5fd,0x45d4ecd9^_0x5457a3)),_0xa03328[_0x1db6d7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1db6d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x598fea=>{let _0x153335=0x0;_0x18c032[_0x1db6d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1db6d7([0x6f,0x6e])](_0x1db6d7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x535c7b,_0x11a087)=>{_0x11a087[0x0][_0x1db6d7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x153335++,_0x153335==(0x45ddd3ed^_0x5457a3)&&(_0x598fea(),_0x535c7b[_0x1db6d7([0x6f,0x66,0x66])]());});}))];return window[_0x1db6d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1db6d7([0x72,0x61,0x63,0x65])](_0x21994b)[_0x1db6d7([0x74,0x68,0x65,0x6e])](()=>_0x4e0991);}async function _0xcfc028(){await _0xa03328,_0x18c032[_0x1db6d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1db6d7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e7927,_0x18c032[_0x1db6d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1db6d7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e7927,_0x18c032[_0x1db6d7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1db6d7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23bd18(_0x1fff5e){const _0x1844b7=_0x4cb0ce();_0x18c032[_0x1844b7]=_0x1db6d7([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1fff5e,_0x1fff5e!=_0x1db6d7([0x56,0x61,0x6c,0x69,0x64])&&_0xcfc028();}function _0x4cb0ce(){const _0x1520c9=window[_0x1db6d7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1db6d7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1db6d7([0x6e,0x6f,0x77])]())[_0x1db6d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1db6d7([0x2e]),'');let _0x5a1fe2=_0x1db6d7([0x50]);for(let _0x377b87=0x0;_0x377b87<_0x1520c9[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x377b87+=0x2){let _0x306259=window[_0x1db6d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1520c9[_0x1db6d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x377b87,_0x377b87+0x2));_0x306259>=_0x3e793d[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x306259-=_0x3e793d[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a1fe2+=_0x3e793d[_0x306259];}return _0x5a1fe2;}function _0x10072b(){const _0x3617fa=_0x4e15bc[_0x1db6d7([0x73,0x70,0x6c,0x69,0x74])](_0x1db6d7([0x2e]));if(0x3!=_0x3617fa[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x470573(_0x3617fa[0x1]);function _0x470573(_0x1bac2a){const _0x6e0c1b=_0x48dc66(_0x1bac2a);return _0x6e0c1b&&_0x2cbcb9()?_0x6e0c1b:null;function _0x2cbcb9(){const _0x1014cc=_0x6e0c1b[_0x1db6d7([0x6a,0x74,0x69])],_0xe65cfb=window[_0x1db6d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1014cc[_0x1db6d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1014cc[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31dc4f={..._0x6e0c1b,[_0x1db6d7([0x6a,0x74,0x69])]:_0x1014cc[_0x1db6d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1014cc[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31dc4f[_0x1db6d7([0x76,0x63])],_0x234f64(_0x31dc4f)==_0xe65cfb;}}}async function _0x3056ca(){let _0x3f060c=!0x0;try{const _0x430b90=_0x4e15bc[_0x1db6d7([0x73,0x70,0x6c,0x69,0x74])](_0x1db6d7([0x2e])),[_0x175a95,_0x5be40a,_0x25baa4]=_0x430b90;return _0x2ed7d4(_0x175a95),await _0x4b3e4f(_0x175a95,_0x5be40a,_0x25baa4),_0x3f060c;}catch{return!0x1;}function _0x2ed7d4(_0x457947){const _0x2b10ba=_0x48dc66(_0x457947);_0x2b10ba&&_0x2b10ba[_0x1db6d7([0x61,0x6c,0x67])]==_0x1db6d7([0x45,0x53,0x32,0x35,0x36])||(_0x3f060c=!0x1);}async function _0x4b3e4f(_0x390bb1,_0x11574d,_0x26ec5e){const _0x4e60b9=window[_0x1db6d7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1db6d7([0x66,0x72,0x6f,0x6d])](_0x1c1574(_0x26ec5e),_0x2a2d65=>_0x2a2d65[_0x1db6d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc15666=new window[(_0x1db6d7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1db6d7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x390bb1+_0x1db6d7([0x2e])+_0x11574d),_0x2ec6d8=window[_0x1db6d7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1db6d7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ec6d8)return;const _0xd0696a=await _0x2ec6d8[_0x1db6d7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1db6d7([0x6a,0x77,0x6b]),_0x4ae5c2,{[_0x1db6d7([0x6e,0x61,0x6d,0x65])]:_0x1db6d7([0x45,0x43,0x44,0x53,0x41]),[_0x1db6d7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1db6d7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1db6d7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ec6d8[_0x1db6d7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1db6d7([0x6e,0x61,0x6d,0x65])]:_0x1db6d7([0x45,0x43,0x44,0x53,0x41]),[_0x1db6d7([0x68,0x61,0x73,0x68])]:{[_0x1db6d7([0x6e,0x61,0x6d,0x65])]:_0x1db6d7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd0696a,_0x4e60b9,_0xc15666)||(_0x3f060c=!0x1);}}function _0x48dc66(_0x1ee0c8){return _0x1ee0c8[_0x1db6d7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1db6d7([0x65,0x79]))?JSON[_0x1db6d7([0x70,0x61,0x72,0x73,0x65])](_0x1c1574(_0x1ee0c8)):null;}function _0x1c1574(_0x2a889d){return window[_0x1db6d7([0x61,0x74,0x6f,0x62])](_0x2a889d[_0x1db6d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1db6d7([0x2b]))[_0x1db6d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1db6d7([0x2f])));}function _0x234f64(_0x105d12){let _0x3e0e25=0x1505;function _0x57142b(_0x36a44b){for(let _0x57ff6d=0x0;_0x57ff6d<_0x36a44b[_0x1db6d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57ff6d++){const _0x2a9c6=_0x36a44b[_0x1db6d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57ff6d);_0x3e0e25=(_0x3e0e25<<0x5)+_0x3e0e25+_0x2a9c6,_0x3e0e25&=_0x3e0e25;}}function _0x4e0bff(_0x366d15){Array[_0x1db6d7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x366d15)?_0x366d15[_0x1db6d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e0bff):_0x366d15&&typeof _0x366d15==_0x1db6d7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1db6d7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x366d15)[_0x1db6d7([0x73,0x6f,0x72,0x74])]()[_0x1db6d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfa1462,_0x1dbb93])=>{_0x57142b(_0xfa1462),_0x4e0bff(_0x1dbb93);}):_0x57142b(window[_0x1db6d7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x366d15));}return _0x4e0bff(_0x105d12),_0x3e0e25>>>0x0;}function _0x1e3b56(_0x393955){return _0x393955[_0x1db6d7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1db6d7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1db6d7([0x30]));}function _0x5791e0(_0x2f7710){return _0x2f7710[_0x1db6d7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1db6d7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1db6d7([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e7927(){}function _0x1db6d7(_0x959208){const _0x10a448=_0x2a33;return _0x959208[_0x10a448(0x20b)](_0x13e967=>String[_0x10a448(0x1fc)](_0x13e967))[_0x10a448(0x1ee)]('');}_0x23bd18(await _0x1b772c());}(this);}[_0x471910(0x20a)](){const _0x52adf9=_0x471910,_0x1d4bc7=this[_0x52adf9(0x1f7)];if(!_0x1d4bc7[_0x52adf9(0x1eb)][_0x52adf9(0x1ef)](_0x52adf9(0x1f9)))return;const _0x564665=_0x1d4bc7[_0x52adf9(0x1eb)][_0x52adf9(0x1ef)](_0x52adf9(0x21a))[_0x52adf9(0x1ec)](_0x4459fb=>_0x52adf9(0x204)==typeof _0x4459fb&&(!_0x1eb6be(_0x4459fb)&&isNaN(Number(_0x4459fb))));if(_0x564665[_0x52adf9(0x1fb)])throw new _0x418fd0(_0x52adf9(0x212),null,{'namedPresets':_0x564665});}[_0x471910(0x1fd)](){const _0x339c5f=_0x471910,_0x35537e=this[_0x339c5f(0x1f7)],_0x1eb725=this[_0x339c5f(0x1f7)][_0x339c5f(0x1eb)][_0x339c5f(0x1ef)](_0x339c5f(0x201));_0x35537e[_0x339c5f(0x1f6)][_0x339c5f(0x205)](_0x339c5f(0x20c))[_0x339c5f(0x1f2)]({'model':{'key':_0x339c5f(0x20e)},'view':_0x133dda=>String(_0x133dda)===String(_0x1eb725)?null:{'key':_0x339c5f(0x21d),'value':{'line-height':_0x133dda}}}),_0x35537e[_0x339c5f(0x1f6)][_0x339c5f(0x205)](_0x339c5f(0x203))[_0x339c5f(0x1f2)]({'model':{'key':_0x339c5f(0x20e),'value':_0x259545=>{const _0x52928b=_0x339c5f;let _0xc2aeb2=_0x259545[_0x52928b(0x1f5)](_0x52928b(0x21b));return _0x4665d8(_0xc2aeb2)&&(_0xc2aeb2=String(Number(_0xc2aeb2[_0x52928b(0x1f0)](0x0,-0x1))/0x64)),String(_0xc2aeb2)===String(_0x1eb725)?null:_0xc2aeb2;}},'view':{'styles':{'line-height':/.*/}}});}[_0x471910(0x208)](){const _0x1e015d=_0x471910,_0x1127ad=this[_0x1e015d(0x1f7)],_0x51df1a=this[_0x1e015d(0x1f7)][_0x1e015d(0x1eb)][_0x1e015d(0x1ef)](_0x1e015d(0x201)),_0x447b1c=_0x5a1c73(this[_0x1e015d(0x1f7)][_0x1e015d(0x1eb)][_0x1e015d(0x1ef)](_0x1e015d(0x20e)))[_0x1e015d(0x1ec)](_0x4d26c2=>_0x4d26c2[_0x1e015d(0x215)]),_0x47b2f2=_0x1de95f(_0x1e015d(0x20e),_0x447b1c);_0x1127ad[_0x1e015d(0x1f6)][_0x1e015d(0x1f2)](_0x47b2f2),_0x1127ad[_0x1e015d(0x1f6)][_0x1e015d(0x205)](_0x1e015d(0x203))[_0x1e015d(0x1f2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1e015d(0x20e),'value':_0x227790=>{const _0x4affe5=_0x1e015d;let _0xf8061c=_0x227790[_0x4affe5(0x1f5)](_0x4affe5(0x21b));return _0x4665d8(_0xf8061c)&&(_0xf8061c=String(Number(_0xf8061c[_0x4affe5(0x1f0)](0x0,-0x1))/0x64)),_0xf8061c===String(_0x51df1a)?null:_0x47b2f2[_0x4affe5(0x215)][_0x4affe5(0x207)][_0x4affe5(0x210)](_0xf8061c)?_0xf8061c:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xc6f940}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4b9e77,createDropdown as _0x2d2010,MenuBarMenuListItemButtonView as _0x534d53,MenuBarMenuListItemView as _0x2d3b1b,MenuBarMenuListView as _0x449e17,MenuBarMenuView as _0x10257b,UIModel as _0x263eb9}from'ckeditor5/src/ui.js';import{Collection as _0x4a11c3}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x7ddd4a}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x47a2be}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0xc6f940{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x51ca74={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x51ca74),this['_registerMenuBarComponent'](_0x51ca74),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x313b9b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x46d7f4;for(const _0x13b680 in _0x313b9b){const _0x1014e4=_0x13b680,_0xee6d60=_0x313b9b[_0x1014e4];if('lineHeightLicenseKeyValid'==_0xee6d60||'lineHeightLicenseKeyInvalid'==_0xee6d60||'lineHeightLicenseKeyExpired'==_0xee6d60||'lineHeightLicenseKeyDomainLimit'==_0xee6d60||'lineHeightLicenseKeyNotAllowed'==_0xee6d60||'lineHeightLicenseKeyEvaluationLimit'==_0xee6d60||'lineHeightLicenseKeyTrialLimit'==_0xee6d60||'lineHeightLicenseKeyUsageLimit'==_0xee6d60){delete _0x313b9b[_0x1014e4],_0x46d7f4=_0xee6d60,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x46d7f4&&_0x313b9b['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x46d7f4&&_0x313b9b['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x46d7f4&&_0x313b9b['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x46d7f4&&_0x313b9b['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x46d7f4&&_0x313b9b['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x46d7f4&&_0x313b9b['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x46d7f4&&_0x313b9b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x11c595=this['editor'],t=_0x11c595['t'],_0xeb9088=_0x11c595['config']['get']('lineHeight'),_0x45998a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x47a2be(_0xeb9088)['map'](_0x19d838=>{const _0x5166e5=_0x45998a[_0x19d838['title']];return _0x5166e5&&_0x5166e5!=_0x19d838['title']&&(_0x19d838=Object['assign']({},_0x19d838,{'title':_0x5166e5})),_0x19d838;});}['_prepareListOptions'](){const _0x10d086=this['editor']['commands']['get']('lineHeight'),_0x1923fb=this['editor']['config']['get']('lineHeight.defaultValue'),_0x28c388=this['_getLocalizedLineHeightOptions'](),_0x25402f=new _0x4a11c3(),_0xe73292=_0x373f78=>'default'===_0x373f78||String(_0x1923fb)===_0x373f78;for(const _0x36a180 of _0x28c388){const _0x1c2378={'type':'button','model':new _0x263eb9({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x36a180['title'],'withText':!0x0})};_0xe73292(_0x36a180['model'])?(_0x1c2378['model']['bind']('isOn')['to'](_0x10d086,'value',_0x19246f=>!_0x19246f),_0x1c2378['model']['commandParam']=void 0x0):(_0x1c2378['model']['bind']('isOn')['to'](_0x10d086,'value',_0x2c23eb=>_0x2c23eb===_0x36a180['model']),_0x1c2378['model']['commandParam']=_0x36a180['model']),_0x25402f['add'](_0x1c2378);}if(this['_shouldRenderCustomValueOption']()){const _0x1e23b1=this['_getCustomValueOptionDefinition'](_0x28c388);_0x25402f['add'](_0x1e23b1);}return _0x25402f;}['_getCustomValueOptionDefinition'](_0x290423){const _0x43300c=this['editor'],t=_0x43300c['t'],_0x28b852=_0x43300c['commands']['get']('lineHeight'),_0x2cdf94=_0x290423['map'](_0x3a7604=>_0x3a7604['model']),_0x40ffaa={'type':'button','model':new _0x263eb9({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x40ffaa['model']['bind']('commandParam')['to'](_0x28b852,'value'),_0x40ffaa['model']['bind']('isOn')['to'](_0x28b852,'value',_0x2974f0=>!!_0x2974f0&&!_0x2cdf94['includes'](String(_0x2974f0))),_0x40ffaa['model']['bind']('label')['to'](_0x28b852,'value',_0x372a2=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x372a2))),_0x40ffaa;}['_registerToolbarComponent']({accessibleLabel:_0x1f3e11,options:_0x3b5122}){const _0xc5688c=this['editor'],_0x7e21fb=_0xc5688c['commands']['get']('lineHeight');_0xc5688c['ui']['componentFactory']['add']('lineHeight',_0x3dd3c0=>{const _0x1407a0=_0x2d2010(_0x3dd3c0);return _0x4b9e77(_0x1407a0,_0x3b5122,{'role':'menu','ariaLabel':_0x1f3e11}),_0x1407a0['buttonView']['set']({'label':_0x1f3e11,'tooltip':!0x0,'icon':_0x7ddd4a}),_0x1407a0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1407a0['bind']('isEnabled')['to'](_0x7e21fb),this['listenTo'](_0x1407a0,'execute',_0xf175ef=>{_0xc5688c['execute'](_0xf175ef['source']['commandName'],{'value':_0xf175ef['source']['commandParam']}),_0xc5688c['editing']['view']['focus']();}),_0x1407a0['once']('change:isOpen',()=>{const _0x3b7fa2=_0x1407a0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1407a0,_0x3b5122,_0x3b7fa2);}),_0x1407a0;});}['_registerMenuBarComponent']({accessibleLabel:_0x83dd3e,options:_0x39755d}){const _0x4d35dc=this['editor'],_0x372db9=_0x4d35dc['commands']['get']('lineHeight');_0x4d35dc['ui']['componentFactory']['add']('menuBar:lineHeight',_0xeddc33=>{const _0x1d8896=new _0x10257b(_0xeddc33);_0x1d8896['buttonView']['set']({'label':_0x83dd3e,'icon':_0x7ddd4a}),_0x1d8896['bind']('isEnabled')['to'](_0x372db9);const _0x12268a=new _0x449e17(_0xeddc33);for(const _0x2d0007 of _0x39755d){const _0x373e9f=new _0x2d3b1b(_0xeddc33,_0x1d8896),_0x505ce9=new _0x534d53(_0xeddc33);_0x505ce9['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x505ce9['bind'](...Object['keys'](_0x2d0007['model']))['to'](_0x2d0007['model']),_0x505ce9['delegate']('execute')['to'](_0x1d8896),_0x505ce9['on']('execute',()=>{_0x4d35dc['execute'](_0x2d0007['model']['commandName'],{'value':_0x2d0007['model']['commandParam']}),_0x4d35dc['editing']['view']['focus']();}),_0x373e9f['children']['add'](_0x505ce9),_0x12268a['items']['add'](_0x373e9f);}return _0x1d8896['panelView']['children']['add'](_0x12268a),this['_attachCustomOptionVisibilityHandler'](_0x1d8896,_0x39755d,_0x12268a),_0x1d8896;});}['_attachCustomOptionVisibilityHandler'](_0x2ffd20,_0x57adb4,_0x74eb9f){if(!this['_shouldRenderCustomValueOption']())return;const _0x5e8d4e=()=>{if(!_0x2ffd20['isOpen'])return;_0x74eb9f['items']['last']['isVisible']=Boolean(_0x57adb4['last']['model']['isOn']);};_0x5e8d4e(),_0x2ffd20['on']('change:isOpen',()=>{_0x5e8d4e();});}}
23
+ import{Plugin as _0x102440}from'ckeditor5/src/core.js';import{addListToDropdown as _0x132d59,createDropdown as _0xefedf8,MenuBarMenuListItemButtonView as _0x8ba770,MenuBarMenuListItemView as _0x538b42,MenuBarMenuListView as _0x165be7,MenuBarMenuView as _0x910159,UIModel as _0x1ef01e}from'ckeditor5/src/ui.js';import{Collection as _0x21a091}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x40d29e}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x3f42a8}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x102440{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4a1bf8={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4a1bf8),this['_registerMenuBarComponent'](_0x4a1bf8),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a85d1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4fa2bd;for(const _0x3eece8 in _0x3a85d1){const _0x36a404=_0x3eece8,_0x1130e5=_0x3a85d1[_0x36a404];if('lineHeightLicenseKeyValid'==_0x1130e5||'lineHeightLicenseKeyInvalid'==_0x1130e5||'lineHeightLicenseKeyExpired'==_0x1130e5||'lineHeightLicenseKeyDomainLimit'==_0x1130e5||'lineHeightLicenseKeyNotAllowed'==_0x1130e5||'lineHeightLicenseKeyEvaluationLimit'==_0x1130e5||'lineHeightLicenseKeyTrialLimit'==_0x1130e5||'lineHeightLicenseKeyUsageLimit'==_0x1130e5){delete _0x3a85d1[_0x36a404],_0x4fa2bd=_0x1130e5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4fa2bd&&_0x3a85d1['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4fa2bd&&_0x3a85d1['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4fa2bd&&_0x3a85d1['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4fa2bd&&_0x3a85d1['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4fa2bd&&_0x3a85d1['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4fa2bd&&_0x3a85d1['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4fa2bd&&_0x3a85d1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1c2870=this['editor'],t=_0x1c2870['t'],_0x2432e5=_0x1c2870['config']['get']('lineHeight'),_0x270349={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x3f42a8(_0x2432e5)['map'](_0x22e564=>{const _0x1b1dee=_0x270349[_0x22e564['title']];return _0x1b1dee&&_0x1b1dee!=_0x22e564['title']&&(_0x22e564=Object['assign']({},_0x22e564,{'title':_0x1b1dee})),_0x22e564;});}['_prepareListOptions'](){const _0x3e076a=this['editor']['commands']['get']('lineHeight'),_0x576c91=this['editor']['config']['get']('lineHeight.defaultValue'),_0x197490=this['_getLocalizedLineHeightOptions'](),_0x2a26b9=new _0x21a091(),_0x4da9c9=_0x30fce7=>'default'===_0x30fce7||String(_0x576c91)===_0x30fce7;for(const _0x57eeeb of _0x197490){const _0x3ce87a={'type':'button','model':new _0x1ef01e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x57eeeb['title'],'withText':!0x0})};_0x4da9c9(_0x57eeeb['model'])?(_0x3ce87a['model']['bind']('isOn')['to'](_0x3e076a,'value',_0x1b95f6=>!_0x1b95f6),_0x3ce87a['model']['commandParam']=void 0x0):(_0x3ce87a['model']['bind']('isOn')['to'](_0x3e076a,'value',_0x2c7dea=>_0x2c7dea===_0x57eeeb['model']),_0x3ce87a['model']['commandParam']=_0x57eeeb['model']),_0x2a26b9['add'](_0x3ce87a);}if(this['_shouldRenderCustomValueOption']()){const _0x5bb1e7=this['_getCustomValueOptionDefinition'](_0x197490);_0x2a26b9['add'](_0x5bb1e7);}return _0x2a26b9;}['_getCustomValueOptionDefinition'](_0x14942d){const _0x3f1dae=this['editor'],t=_0x3f1dae['t'],_0x40c7ef=_0x3f1dae['commands']['get']('lineHeight'),_0x5dc0fa=_0x14942d['map'](_0x42af1c=>_0x42af1c['model']),_0x57df64={'type':'button','model':new _0x1ef01e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x57df64['model']['bind']('commandParam')['to'](_0x40c7ef,'value'),_0x57df64['model']['bind']('isOn')['to'](_0x40c7ef,'value',_0x5b0f7d=>!!_0x5b0f7d&&!_0x5dc0fa['includes'](String(_0x5b0f7d))),_0x57df64['model']['bind']('label')['to'](_0x40c7ef,'value',_0x5ae234=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5ae234))),_0x57df64;}['_registerToolbarComponent']({accessibleLabel:_0x5bff79,options:_0x2fdd31}){const _0xd41d5e=this['editor'],_0x4df725=_0xd41d5e['commands']['get']('lineHeight');_0xd41d5e['ui']['componentFactory']['add']('lineHeight',_0x5d771f=>{const _0x46be48=_0xefedf8(_0x5d771f);return _0x132d59(_0x46be48,_0x2fdd31,{'role':'menu','ariaLabel':_0x5bff79}),_0x46be48['buttonView']['set']({'label':_0x5bff79,'tooltip':!0x0,'icon':_0x40d29e}),_0x46be48['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x46be48['bind']('isEnabled')['to'](_0x4df725),this['listenTo'](_0x46be48,'execute',_0x614bfc=>{_0xd41d5e['execute'](_0x614bfc['source']['commandName'],{'value':_0x614bfc['source']['commandParam']}),_0xd41d5e['editing']['view']['focus']();}),_0x46be48['once']('change:isOpen',()=>{const _0x1ea914=_0x46be48['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x46be48,_0x2fdd31,_0x1ea914);}),_0x46be48;});}['_registerMenuBarComponent']({accessibleLabel:_0x14c854,options:_0x5260c8}){const _0x5e40ac=this['editor'],_0xcf2692=_0x5e40ac['commands']['get']('lineHeight');_0x5e40ac['ui']['componentFactory']['add']('menuBar:lineHeight',_0x45eccd=>{const _0x35a552=new _0x910159(_0x45eccd);_0x35a552['buttonView']['set']({'label':_0x14c854,'icon':_0x40d29e}),_0x35a552['bind']('isEnabled')['to'](_0xcf2692);const _0x394a28=new _0x165be7(_0x45eccd);for(const _0x34dc0f of _0x5260c8){const _0x2d6e2a=new _0x538b42(_0x45eccd,_0x35a552),_0x42d955=new _0x8ba770(_0x45eccd);_0x42d955['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x42d955['bind'](...Object['keys'](_0x34dc0f['model']))['to'](_0x34dc0f['model']),_0x42d955['delegate']('execute')['to'](_0x35a552),_0x42d955['on']('execute',()=>{_0x5e40ac['execute'](_0x34dc0f['model']['commandName'],{'value':_0x34dc0f['model']['commandParam']}),_0x5e40ac['editing']['view']['focus']();}),_0x2d6e2a['children']['add'](_0x42d955),_0x394a28['items']['add'](_0x2d6e2a);}return _0x35a552['panelView']['children']['add'](_0x394a28),this['_attachCustomOptionVisibilityHandler'](_0x35a552,_0x5260c8,_0x394a28),_0x35a552;});}['_attachCustomOptionVisibilityHandler'](_0x370336,_0xd87a66,_0x2c91fa){if(!this['_shouldRenderCustomValueOption']())return;const _0x33eaa8=()=>{if(!_0x370336['isOpen'])return;_0x2c91fa['items']['last']['isVisible']=Boolean(_0xd87a66['last']['model']['isOn']);};_0x33eaa8(),_0x370336['on']('change:isOpen',()=>{_0x33eaa8();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1791(){const _0x353298=['style','key','5cqBIfA','1052776MaQbrI','class','4rysZhn','line-height-double','values','string','3215090IOwENY','line-height:','span','single','7957704gFpzWg','line-height-single','view','toLowerCase','push','1107453idjPPq','defaultValue','model','filter','map','options','8RKUbvY','6190597zOWzue','number','616068RIKRvk','Double','9RAHKBm','Single','double','value','default','1530947MNrhXw'];_0x1791=function(){return _0x353298;};return _0x1791();}(function(_0x33dfde,_0xbf4afd){const _0x4d020a=_0x2e64,_0x54d80a=_0x33dfde();while(!![]){try{const _0x2d5b07=-parseInt(_0x4d020a(0xe4))/0x1+parseInt(_0x4d020a(0xf1))/0x2*(-parseInt(_0x4d020a(0xdb))/0x3)+-parseInt(_0x4d020a(0xef))/0x4*(parseInt(_0x4d020a(0xee))/0x5)+parseInt(_0x4d020a(0xd6))/0x6+-parseInt(_0x4d020a(0xe2))/0x7*(-parseInt(_0x4d020a(0xe1))/0x8)+parseInt(_0x4d020a(0xe6))/0x9*(parseInt(_0x4d020a(0xd2))/0xa)+-parseInt(_0x4d020a(0xeb))/0xb;if(_0x2d5b07===_0xbf4afd)break;else _0x54d80a['push'](_0x54d80a['shift']());}catch(_0x55ccdb){_0x54d80a['push'](_0x54d80a['shift']());}}}(_0x1791,0xbd4ff));function _0x2e64(_0xc126f3,_0x31f8e7){const _0x1791f3=_0x1791();return _0x2e64=function(_0x2e647e,_0x148d7a){_0x2e647e=_0x2e647e-0xcf;let _0x16d436=_0x1791f3[_0x2e647e];return _0x16d436;},_0x2e64(_0xc126f3,_0x31f8e7);}const v={get 'single'(){const _0x3bca43=_0x2e64;return{'title':_0x3bca43(0xe7),'model':_0x3bca43(0xd5),'view':{'key':_0x3bca43(0xf0),'value':_0x3bca43(0xd7)}};},get 'double'(){const _0x5f2172=_0x2e64;return{'title':_0x5f2172(0xe5),'model':_0x5f2172(0xe8),'view':{'key':_0x5f2172(0xf0),'value':_0x5f2172(0xcf)}};}};export function isLineHeightDefaultValue(_0x16c386){const _0x53bc34=_0x2e64;return _0x53bc34(0xd1)==typeof _0x16c386&&_0x53bc34(0xea)===_0x16c386[_0x53bc34(0xd9)]();}export function normalizeOptions(_0x2aac2e){const _0x38f3ca=_0x2e64;return _0x2aac2e[_0x38f3ca(0xe0)][_0x38f3ca(0xdf)](_0x11bc84=>isLineHeightDefaultValue(_0x11bc84)?{'title':String(_0x2aac2e[_0x38f3ca(0xdc)]),'model':_0x38f3ca(0xea)}:(_0x38f3ca(0xe3)==typeof _0x11bc84&&(_0x11bc84=String(_0x11bc84)),_0x38f3ca(0xd1)!=typeof _0x11bc84?_0x11bc84:parseFloat(_0x11bc84)?{'title':_0x11bc84,'model':_0x11bc84,'view':{'name':_0x38f3ca(0xd4),'styles':{'line-height':_0x11bc84}}}:findPreset(_0x11bc84)))[_0x38f3ca(0xde)](_0x2be407=>void 0x0!==_0x2be407);}export function findPreset(_0x3ef4dc){const _0x42594e=_0x2e64;return _0x42594e(0xd1)==typeof _0x3ef4dc?v[_0x3ef4dc]:v[_0x3ef4dc[_0x42594e(0xdd)]];}export function buildDefinition(_0x2abd3b,_0x1b301a){const _0x21ed98=_0x2e64,_0x5b3d7f={'model':{'key':_0x2abd3b,'values':[]},'view':{}};for(const _0x316205 of _0x1b301a)_0x21ed98(0xf0)===_0x316205[_0x21ed98(0xd8)]?.[_0x21ed98(0xed)]?(_0x5b3d7f[_0x21ed98(0xdd)][_0x21ed98(0xd0)][_0x21ed98(0xda)](_0x316205[_0x21ed98(0xdd)]),_0x5b3d7f[_0x21ed98(0xd8)][_0x316205[_0x21ed98(0xdd)]]={'key':_0x21ed98(0xf0),'value':_0x316205[_0x21ed98(0xd8)][_0x21ed98(0xe9)]}):(_0x5b3d7f[_0x21ed98(0xdd)][_0x21ed98(0xd0)][_0x21ed98(0xda)](_0x316205[_0x21ed98(0xdd)]),_0x5b3d7f[_0x21ed98(0xd8)][_0x316205[_0x21ed98(0xdd)]]={'key':_0x21ed98(0xec),'value':_0x21ed98(0xd3)+_0x316205[_0x21ed98(0xdd)]+';'});return _0x5b3d7f;}
23
+ (function(_0x1dd67d,_0xa7912e){const _0x46c670=_0x4b07,_0x371174=_0x1dd67d();while(!![]){try{const _0x5e01f1=parseInt(_0x46c670(0xd8))/0x1+-parseInt(_0x46c670(0xd5))/0x2+-parseInt(_0x46c670(0xd6))/0x3+parseInt(_0x46c670(0xcb))/0x4*(parseInt(_0x46c670(0xd2))/0x5)+parseInt(_0x46c670(0xbb))/0x6*(parseInt(_0x46c670(0xc8))/0x7)+parseInt(_0x46c670(0xbd))/0x8*(parseInt(_0x46c670(0xc3))/0x9)+-parseInt(_0x46c670(0xcd))/0xa;if(_0x5e01f1===_0xa7912e)break;else _0x371174['push'](_0x371174['shift']());}catch(_0x32a015){_0x371174['push'](_0x371174['shift']());}}}(_0x248d,0xac730));function _0x4b07(_0x416777,_0x12f11e){const _0x248d12=_0x248d();return _0x4b07=function(_0x4b0769,_0x522241){_0x4b0769=_0x4b0769-0xb9;let _0x2423a3=_0x248d12[_0x4b0769];return _0x2423a3;},_0x4b07(_0x416777,_0x12f11e);}const v={get 'single'(){const _0x11171a=_0x4b07;return{'title':_0x11171a(0xc9),'model':_0x11171a(0xd3),'view':{'key':_0x11171a(0xbc),'value':_0x11171a(0xc7)}};},get 'double'(){const _0x9653d8=_0x4b07;return{'title':_0x9653d8(0xd9),'model':_0x9653d8(0xd1),'view':{'key':_0x9653d8(0xbc),'value':_0x9653d8(0xc0)}};}};export function isLineHeightDefaultValue(_0x3fb334){const _0x38159e=_0x4b07;return _0x38159e(0xce)==typeof _0x3fb334&&_0x38159e(0xb9)===_0x3fb334[_0x38159e(0xbe)]();}function _0x248d(){const _0x3099e9=['span','915831cCGnMF','Double','push','default','map','6986202RVFWFK','class','547192JPKFWL','toLowerCase','style','line-height-double','value','model','9cnZMmH','filter','number','values','line-height-single','7jaTRJu','Single','key','1865872XyGBBP','line-height:','10841870QwntFq','string','defaultValue','options','double','5VAMctw','single','view','265954OoeXli','2074647SUNKfc'];_0x248d=function(){return _0x3099e9;};return _0x248d();}export function normalizeOptions(_0x8672d6){const _0x41b9d9=_0x4b07;return _0x8672d6[_0x41b9d9(0xd0)][_0x41b9d9(0xba)](_0x2b7633=>isLineHeightDefaultValue(_0x2b7633)?{'title':String(_0x8672d6[_0x41b9d9(0xcf)]),'model':_0x41b9d9(0xb9)}:(_0x41b9d9(0xc5)==typeof _0x2b7633&&(_0x2b7633=String(_0x2b7633)),_0x41b9d9(0xce)!=typeof _0x2b7633?_0x2b7633:parseFloat(_0x2b7633)?{'title':_0x2b7633,'model':_0x2b7633,'view':{'name':_0x41b9d9(0xd7),'styles':{'line-height':_0x2b7633}}}:findPreset(_0x2b7633)))[_0x41b9d9(0xc4)](_0x18ca92=>void 0x0!==_0x18ca92);}export function findPreset(_0x29ac4d){const _0x96935a=_0x4b07;return _0x96935a(0xce)==typeof _0x29ac4d?v[_0x29ac4d]:v[_0x29ac4d[_0x96935a(0xc2)]];}export function buildDefinition(_0x1c2514,_0x30e3da){const _0x58db85=_0x4b07,_0x36c313={'model':{'key':_0x1c2514,'values':[]},'view':{}};for(const _0x29113c of _0x30e3da)_0x58db85(0xbc)===_0x29113c[_0x58db85(0xd4)]?.[_0x58db85(0xca)]?(_0x36c313[_0x58db85(0xc2)][_0x58db85(0xc6)][_0x58db85(0xda)](_0x29113c[_0x58db85(0xc2)]),_0x36c313[_0x58db85(0xd4)][_0x29113c[_0x58db85(0xc2)]]={'key':_0x58db85(0xbc),'value':_0x29113c[_0x58db85(0xd4)][_0x58db85(0xc1)]}):(_0x36c313[_0x58db85(0xc2)][_0x58db85(0xc6)][_0x58db85(0xda)](_0x29113c[_0x58db85(0xc2)]),_0x36c313[_0x58db85(0xd4)][_0x29113c[_0x58db85(0xc2)]]={'key':_0x58db85(0xbf),'value':_0x58db85(0xcc)+_0x29113c[_0x58db85(0xc2)]+';'});return _0x36c313;}