@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250722.0 → 0.0.0-nightly-20250724.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
- function _0x25a8(_0x2d9259,_0x39527c){const _0x1061ea=_0x1061();return _0x25a8=function(_0x25a8f3,_0x165f1a){_0x25a8f3=_0x25a8f3-0x107;let _0x43209c=_0x1061ea[_0x25a8f3];return _0x43209c;},_0x25a8(_0x2d9259,_0x39527c);}const _0x103f38=_0x25a8;(function(_0x3eb7bb,_0x5a8b00){const _0x2772ce=_0x25a8,_0x5200bb=_0x3eb7bb();while(!![]){try{const _0x43731e=parseInt(_0x2772ce(0x123))/0x1*(-parseInt(_0x2772ce(0x109))/0x2)+parseInt(_0x2772ce(0x116))/0x3*(-parseInt(_0x2772ce(0x112))/0x4)+parseInt(_0x2772ce(0x120))/0x5*(-parseInt(_0x2772ce(0x11f))/0x6)+-parseInt(_0x2772ce(0x10d))/0x7+parseInt(_0x2772ce(0x10e))/0x8+parseInt(_0x2772ce(0x11b))/0x9+parseInt(_0x2772ce(0x108))/0xa;if(_0x43731e===_0x5a8b00)break;else _0x5200bb['push'](_0x5200bb['shift']());}catch(_0x34aa17){_0x5200bb['push'](_0x5200bb['shift']());}}}(_0x1061,0xdc272));import{Command as _0x3ce54a}from'ckeditor5/src/core.js';function _0x1061(){const _0x279f5f=['checkAttribute','getSelectedBlocks','isEnabled','42EMpqcI','381355PdUpiK','selection','value','225809vHZSar','filter','22220880PMWUAE','2XLzTem','execute','refresh','lineHeight','8498917sNgvZe','4173832WpvLtT','change','setAttribute','editor','12DICeMI','schema','model','getAttribute','1023798sJNRJx','from','document','removeAttribute','_canHaveLineHeight','10400076FyYvtS'];_0x1061=function(){return _0x279f5f;};return _0x1061();}import{first as _0x1888fc}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3ce54a{[_0x103f38(0x10b)](){const _0x414540=_0x103f38,_0x615903=this[_0x414540(0x111)][_0x414540(0x114)][_0x414540(0x118)],_0x54770f=_0x1888fc(_0x615903[_0x414540(0x121)][_0x414540(0x11d)]());this[_0x414540(0x11e)]=Boolean(_0x54770f)&&this[_0x414540(0x11a)](_0x54770f),this[_0x414540(0x122)]=this[_0x414540(0x11e)]&&_0x54770f[_0x414540(0x115)](_0x414540(0x10c));}[_0x103f38(0x10a)](_0x14b646={}){const _0x5cc3dd=_0x103f38,_0x3812e1=this[_0x5cc3dd(0x111)][_0x5cc3dd(0x114)],_0x178705=_0x3812e1[_0x5cc3dd(0x118)][_0x5cc3dd(0x121)],_0x42269f=_0x14b646[_0x5cc3dd(0x122)];_0x3812e1[_0x5cc3dd(0x10f)](_0xab625a=>{const _0x38cd43=_0x5cc3dd,_0x4d9b2c=Array[_0x38cd43(0x117)](_0x178705[_0x38cd43(0x11d)]())[_0x38cd43(0x107)](_0xed3c75=>this[_0x38cd43(0x11a)](_0xed3c75));for(const _0x350c6d of _0x4d9b2c)_0x42269f?_0xab625a[_0x38cd43(0x110)](_0x38cd43(0x10c),_0x42269f,_0x350c6d):_0xab625a[_0x38cd43(0x119)](_0x38cd43(0x10c),_0x350c6d);});}[_0x103f38(0x11a)](_0x3c28c0){const _0x35f86f=_0x103f38;return this[_0x35f86f(0x111)][_0x35f86f(0x114)][_0x35f86f(0x113)][_0x35f86f(0x11c)](_0x3c28c0,_0x35f86f(0x10c));}}
23
+ function _0x442e(_0x5403b4,_0x2fc65f){const _0x290964=_0x2909();return _0x442e=function(_0x442e5e,_0x229808){_0x442e5e=_0x442e5e-0x132;let _0x565d70=_0x290964[_0x442e5e];return _0x565d70;},_0x442e(_0x5403b4,_0x2fc65f);}const _0x5020b4=_0x442e;(function(_0x53ad63,_0x5d6b42){const _0x432774=_0x442e,_0x4de841=_0x53ad63();while(!![]){try{const _0x2d9408=parseInt(_0x432774(0x139))/0x1*(parseInt(_0x432774(0x13c))/0x2)+-parseInt(_0x432774(0x14e))/0x3*(parseInt(_0x432774(0x138))/0x4)+-parseInt(_0x432774(0x132))/0x5+-parseInt(_0x432774(0x149))/0x6*(-parseInt(_0x432774(0x137))/0x7)+parseInt(_0x432774(0x144))/0x8*(-parseInt(_0x432774(0x134))/0x9)+-parseInt(_0x432774(0x14d))/0xa+parseInt(_0x432774(0x13f))/0xb*(parseInt(_0x432774(0x148))/0xc);if(_0x2d9408===_0x5d6b42)break;else _0x4de841['push'](_0x4de841['shift']());}catch(_0x374bb0){_0x4de841['push'](_0x4de841['shift']());}}}(_0x2909,0x56c2c));import{Command as _0x4a31d1}from'ckeditor5/src/core.js';import{first as _0x4d1b08}from'ckeditor5/src/utils.js';function _0x2909(){const _0x2961fe=['getAttribute','7EMEnqm','298644YKAMrS','385193XcgeMU','isEnabled','setAttribute','2DYfNUU','_canHaveLineHeight','change','444257hHKOfh','from','model','removeAttribute','execute','2408104MwgmBU','getSelectedBlocks','editor','selection','168dGTdyp','2075226HxjMLZ','refresh','schema','lineHeight','4014770KXhkrA','9YHUJef','value','document','73185LPpKxl','checkAttribute','9UCZOkZ','filter'];_0x2909=function(){return _0x2961fe;};return _0x2909();}export class LineHeightCommand extends _0x4a31d1{[_0x5020b4(0x14a)](){const _0x3772ad=_0x5020b4,_0x36193d=this[_0x3772ad(0x146)][_0x3772ad(0x141)][_0x3772ad(0x150)],_0x9d8cbd=_0x4d1b08(_0x36193d[_0x3772ad(0x147)][_0x3772ad(0x145)]());this[_0x3772ad(0x13a)]=Boolean(_0x9d8cbd)&&this[_0x3772ad(0x13d)](_0x9d8cbd),this[_0x3772ad(0x14f)]=this[_0x3772ad(0x13a)]&&_0x9d8cbd[_0x3772ad(0x136)](_0x3772ad(0x14c));}[_0x5020b4(0x143)](_0x47af0c={}){const _0x12a956=_0x5020b4,_0x41b2e1=this[_0x12a956(0x146)][_0x12a956(0x141)],_0x504b44=_0x41b2e1[_0x12a956(0x150)][_0x12a956(0x147)],_0x2c9430=_0x47af0c[_0x12a956(0x14f)];_0x41b2e1[_0x12a956(0x13e)](_0x4eb313=>{const _0x4ce75a=_0x12a956,_0x4015e3=Array[_0x4ce75a(0x140)](_0x504b44[_0x4ce75a(0x145)]())[_0x4ce75a(0x135)](_0xd8ce3b=>this[_0x4ce75a(0x13d)](_0xd8ce3b));for(const _0x332ba5 of _0x4015e3)_0x2c9430?_0x4eb313[_0x4ce75a(0x13b)](_0x4ce75a(0x14c),_0x2c9430,_0x332ba5):_0x4eb313[_0x4ce75a(0x142)](_0x4ce75a(0x14c),_0x332ba5);});}[_0x5020b4(0x13d)](_0x3f3cab){const _0x32d447=_0x5020b4;return this[_0x32d447(0x146)][_0x32d447(0x141)][_0x32d447(0x14b)][_0x32d447(0x133)](_0x3f3cab,_0x32d447(0x14c));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3994(){const _0x3140ce=['47538pzXbku','setAttributeProperties','editor','$block','isOfficialPlugin','config','default','line-height','get','176FSylTQ','lineHeight.defaultValue','1zgofzJ','3900oYeKNE','join','_validateConfig','length','includes','_preparePredefinedConverters','line-height-invalid-use-of-named-presets','1448489DIzgOG','commands','lineHeight.options','10307zgntaB','href','downcast','values','define','lineHeight','upcast','_prepareAnyValueConverters','map','schema','for','conversion','add','1500iwRdPc','extend','LineHeightEditing','3051BGLoMx','getStyle','afterInit','slice','init','string','pluginName','attributeToAttribute','isPremiumPlugin','style','fromCharCode','lineHeight.supportAllValues','filter','2235185BRvmVW','model','752198UkKxgH','156834nNdiDg'];_0x3994=function(){return _0x3140ce;};return _0x3994();}const _0x80d409=_0x1557;(function(_0x179465,_0x16982b){const _0xc84f18=_0x1557,_0x33f51e=_0x179465();while(!![]){try{const _0x25b0ec=-parseInt(_0xc84f18(0xf3))/0x1*(-parseInt(_0xc84f18(0xe6))/0x2)+parseInt(_0xc84f18(0x10e))/0x3*(parseInt(_0xc84f18(0x10b))/0x4)+-parseInt(_0xc84f18(0xe4))/0x5+-parseInt(_0xc84f18(0xe7))/0x6+parseInt(_0xc84f18(0xfb))/0x7+-parseInt(_0xc84f18(0xf1))/0x8*(-parseInt(_0xc84f18(0xe8))/0x9)+parseInt(_0xc84f18(0xf4))/0xa*(-parseInt(_0xc84f18(0xfe))/0xb);if(_0x25b0ec===_0x16982b)break;else _0x33f51e['push'](_0x33f51e['shift']());}catch(_0x5e68ef){_0x33f51e['push'](_0x33f51e['shift']());}}}(_0x3994,0x3b14f));import{Plugin as _0x1bd159}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4bd0aa}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1bf005}from'ckeditor5/src/engine.js';import{uid as _0x334008,CKEditorError as _0x242722}from'ckeditor5/src/utils.js';function _0x1557(_0x1e132b,_0x5b6bc1){const _0x39943d=_0x3994();return _0x1557=function(_0x1557e1,_0x1b7e16){_0x1557e1=_0x1557e1-0xd9;let _0x1645fa=_0x39943d[_0x1557e1];return _0x1645fa;},_0x1557(_0x1e132b,_0x5b6bc1);}import{buildDefinition as _0x3956a2,isLineHeightDefaultValue as _0x5f0281,normalizeOptions as _0xf7922e}from'./utils.js';export class LineHeightEditing extends _0x1bd159{static get[_0x80d409(0xdd)](){const _0x3d320b=_0x80d409;return _0x3d320b(0x10d);}static get[_0x80d409(0xec)](){return!0x0;}static get[_0x80d409(0xdf)](){return!0x0;}constructor(_0x3f8b61){const _0x1b398f=_0x80d409;super(_0x3f8b61),_0x3f8b61[_0x1b398f(0xed)][_0x1b398f(0x102)](_0x1b398f(0x103),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1b398f(0xee),0x2,2.5,0x3]});}[_0x80d409(0xdb)](){const _0xdc2539=_0x80d409,_0x298410=this[_0xdc2539(0xea)];this[_0xdc2539(0xf6)](),_0x298410[_0xdc2539(0xe5)][_0xdc2539(0x107)][_0xdc2539(0x10c)](_0xdc2539(0xeb),{'allowAttributes':_0xdc2539(0x103)}),_0x298410[_0xdc2539(0xe5)][_0xdc2539(0x107)][_0xdc2539(0xe9)](_0xdc2539(0x103),{'isFormatting':!0x0}),_0x298410[_0xdc2539(0xfc)][_0xdc2539(0x10a)](_0xdc2539(0x103),new _0x4bd0aa(_0x298410)),this[_0xdc2539(0xea)][_0xdc2539(0xed)][_0xdc2539(0xf0)](_0xdc2539(0xe2))?this[_0xdc2539(0x105)]():this[_0xdc2539(0xf9)]();}[_0x80d409(0xd9)](){!async function(_0x496671){const _0x381742=_0x46187b([0x79,0x4f,0x59,0x5a,0x51,0x75,0x35,0x36,0x73,0x71,0x6f,0x70,0x55,0x30,0x34,0x32,0x50,0x62,0x31,0x43,0x65,0x61,0x44,0x53,0x6a,0x45,0x4d,0x4a,0x7a,0x68,0x78,0x4c,0x4b,0x6b,0x33,0x77,0x67,0x66,0x63,0x6c,0x4e,0x47,0x41,0x46,0x56,0x42,0x58,0x76,0x39,0x69,0x57,0x49,0x37,0x74,0x38,0x72,0x54,0x6e,0x48,0x6d,0x52,0x64]),_0x2f3aed=0x3f15448f,_0x435d25=0x3f122ac7^_0x2f3aed,_0x38da75=window[_0x46187b([0x44,0x61,0x74,0x65])][_0x46187b([0x6e,0x6f,0x77])](),_0x4ea63b=_0x496671[_0x46187b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d071f=new window[(_0x46187b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3960ae=>{_0x4ea63b[_0x46187b([0x6f,0x6e,0x63,0x65])](_0x46187b([0x72,0x65,0x61,0x64,0x79]),_0x3960ae);}),_0x5c12ce={[_0x46187b([0x6b,0x74,0x79])]:_0x46187b([0x45,0x43]),[_0x46187b([0x75,0x73,0x65])]:_0x46187b([0x73,0x69,0x67]),[_0x46187b([0x63,0x72,0x76])]:_0x46187b([0x50,0x2d,0x32,0x35,0x36]),[_0x46187b([0x78])]:_0x46187b([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]),[_0x46187b([0x79])]:_0x46187b([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]),[_0x46187b([0x61,0x6c,0x67])]:_0x46187b([0x45,0x53,0x32,0x35,0x36])},_0x109f43=_0x4ea63b[_0x46187b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46187b([0x67,0x65,0x74])](_0x46187b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5118fd(){let _0x1f4a51,_0x51b39a=null,_0x3f06ab=null;try{if(_0x109f43==_0x46187b([0x47,0x50,0x4c]))return _0x46187b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f4a51=_0x459265(),!_0x1f4a51)return _0x46187b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f4a51[_0x46187b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f06ab=_0x3e6bf9(_0x1f4a51[_0x46187b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f4a51[_0x46187b([0x6a,0x74,0x69])])),await _0x54f991()?_0x90471b()?_0x1e754c()?_0x46187b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4275e3()?(_0x1f4a51[_0x46187b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46187b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51b39a=_0x1c8ff6(_0x46187b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1f4a51[_0x46187b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46187b([0x74,0x72,0x69,0x61,0x6c])&&(_0x51b39a=_0x1c8ff6(_0x46187b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x484a9a()):_0x46187b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46187b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46187b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46187b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e754c(){const _0x12ebb9=[_0x46187b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46187b([0x74,0x72,0x69,0x61,0x6c])][_0x46187b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4a51[_0x46187b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38da75/0x3e8:0xe10*_0x435d25;return _0x1f4a51[_0x46187b([0x65,0x78,0x70])]<_0x12ebb9;}function _0x90471b(){const _0x354e91=_0x1f4a51[_0x46187b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x354e91&&(!!_0x354e91[_0x46187b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46187b([0x2a]))||!!_0x354e91[_0x46187b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46187b([0x4c,0x48])));}function _0x4275e3(){const _0xf55873=_0x1557,_0xf573d3=_0x1f4a51[_0x46187b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf573d3||0x0==_0xf573d3[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42a759}=new URL(window[_0x46187b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xf55873(0xff)]);if(_0xf573d3[_0x46187b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42a759))return!0x0;const _0x1ee960=_0x42a759[_0x46187b([0x73,0x70,0x6c,0x69,0x74])](_0x46187b([0x2e]));return _0xf573d3[_0x46187b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbd64ac=>_0xbd64ac[_0x46187b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46187b([0x2a])))[_0x46187b([0x6d,0x61,0x70])](_0x4d78cc=>_0x4d78cc[_0x46187b([0x73,0x70,0x6c,0x69,0x74])](_0x46187b([0x2e])))[_0x46187b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e19ce=>_0x1e19ce[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ee960[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46187b([0x6d,0x61,0x70])](_0x52ebb5=>Array(_0x1ee960[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x52ebb5[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46187b([0x66,0x69,0x6c,0x6c])](_0x52ebb5[0x0]===_0x46187b([0x2a])?_0x46187b([0x2a]):'')[_0x46187b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x52ebb5))[_0x46187b([0x73,0x6f,0x6d,0x65])](_0x2f87cc=>_0x1ee960[_0x46187b([0x65,0x76,0x65,0x72,0x79])]((_0x47c2c4,_0x512d9d)=>_0x2f87cc[_0x512d9d]===_0x47c2c4||_0x2f87cc[_0x512d9d]===_0x46187b([0x2a])));}function _0x484a9a(){return _0x51b39a&&_0x3f06ab?new window[(_0x46187b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x136a2d,_0x2ccc22)=>{_0x51b39a[_0x46187b([0x74,0x68,0x65,0x6e])](_0x136a2d,_0x2ccc22),_0x3f06ab[_0x46187b([0x74,0x68,0x65,0x6e])](_0x17c1b9=>{_0x17c1b9!=_0x46187b([0x56,0x61,0x6c,0x69,0x64])&&_0x136a2d(_0x17c1b9);},_0x2ccc22);}):_0x51b39a||_0x3f06ab||_0x46187b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e6bf9(_0x5f293d,_0x15dac7){return new window[(_0x46187b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31d8f4=>{if(_0x5c0335())return _0x31d8f4(_0x46187b([0x56,0x61,0x6c,0x69,0x64]));_0xea9998(),_0x4ea63b[_0x46187b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46187b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x274421=!0x1;const _0x583504=_0x334008();function _0xcca328(_0x555fe9){return!!_0x555fe9&&(typeof _0x555fe9===_0x46187b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x555fe9===_0x46187b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x555fe9[_0x46187b([0x74,0x68,0x65,0x6e])]===_0x46187b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x555fe9[_0x46187b([0x63,0x61,0x74,0x63,0x68])]===_0x46187b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ba0b8(_0x29776e){_0x491eb8(_0x29776e)[_0x46187b([0x74,0x68,0x65,0x6e])](_0x3c8629=>{if(!_0x3c8629||_0x3c8629[_0x46187b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46187b([0x6f,0x6b]))return _0x46187b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31a699(_0x2fa224(_0x583504+_0x15dac7))!=_0x3c8629[_0x46187b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46187b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46187b([0x56,0x61,0x6c,0x69,0x64]);})[_0x46187b([0x74,0x68,0x65,0x6e])](_0x22e4e8=>(_0x3dd6f6(),_0x22e4e8),()=>{const _0x40b0e8=_0xaaec8a();return null==_0x40b0e8?(_0x3dd6f6(),_0x46187b([0x56,0x61,0x6c,0x69,0x64])):_0x46187b(_0x38da75-_0x40b0e8>(0x1b19c08f^_0x2f3aed)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46187b([0x74,0x68,0x65,0x6e])](_0x31d8f4)[_0x46187b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31d8f4(_0x46187b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a1396=0x3f23aa0f^_0x2f3aed;function _0x3dd6f6(){const _0x3987e9=_0x46187b([0x6c,0x6c,0x63,0x74,0x2d])+_0x31a699(_0x2fa224(_0x5f293d)),_0x141b27=_0xbccf10(_0x31a699(window[_0x46187b([0x4d,0x61,0x74,0x68])][_0x46187b([0x63,0x65,0x69,0x6c])](_0x38da75/_0x5a1396)));window[_0x46187b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46187b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3987e9,_0x141b27);}function _0xaaec8a(){const _0x10c427=_0x46187b([0x6c,0x6c,0x63,0x74,0x2d])+_0x31a699(_0x2fa224(_0x5f293d)),_0xcac3f3=window[_0x46187b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46187b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10c427);return _0xcac3f3?window[_0x46187b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbccf10(_0xcac3f3),0x10)*_0x5a1396:null;}function _0x491eb8(_0x5bb5d4){return new window[(_0x46187b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24ee31,_0x3e8b93)=>{_0x5bb5d4[_0x46187b([0x74,0x68,0x65,0x6e])](_0x24ee31,_0x3e8b93),window[_0x46187b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e8b93,0x3f14904f^_0x2f3aed);});}}_0x4ea63b[_0x46187b([0x6f,0x6e])](_0x46187b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40c7a7,_0x24a938)=>{if(_0x24a938[0x0]!=_0x5f293d)return _0x31d8f4(_0x46187b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24a938[0x1]={..._0x24a938[0x1],[_0x46187b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x583504};},{[_0x46187b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46187b([0x68,0x69,0x67,0x68])}),_0x4ea63b[_0x46187b([0x6f,0x6e])](_0x46187b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x142895=>{_0xcca328(_0x142895[_0x46187b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x274421=!0x0,_0x2ba0b8(_0x142895[_0x46187b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46187b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46187b([0x6c,0x6f,0x77])}),_0x4d071f[_0x46187b([0x74,0x68,0x65,0x6e])](()=>{_0x274421||_0x31d8f4(_0x46187b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c0335(){return _0x4ea63b[_0x46187b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46187b([0x76,0x69,0x65,0x77])][_0x46187b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46187b([0x61,0x75,0x74,0x6f]);}function _0xea9998(){_0x4ea63b[_0x46187b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46187b([0x76,0x69,0x65,0x77])][_0x46187b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46187b([0x61,0x75,0x74,0x6f]);}}function _0x1c8ff6(_0x1e430e){const _0x4fa35e=[new window[(_0x46187b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18b8fe=>setTimeout(_0x18b8fe,0x3f1c7a43^_0x2f3aed)),_0x4d071f[_0x46187b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46187b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x504e00=>{let _0x3b683b=0x0;_0x4ea63b[_0x46187b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46187b([0x6f,0x6e])](_0x46187b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x134b9c,_0xb3bd9f)=>{_0xb3bd9f[0x0][_0x46187b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b683b++,_0x3b683b==(0x3f154577^_0x2f3aed)&&(_0x504e00(),_0x134b9c[_0x46187b([0x6f,0x66,0x66])]());});}))];return window[_0x46187b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46187b([0x72,0x61,0x63,0x65])](_0x4fa35e)[_0x46187b([0x74,0x68,0x65,0x6e])](()=>_0x1e430e);}async function _0x51241c(){await _0x4d071f,_0x4ea63b[_0x46187b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46187b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fce90,_0x4ea63b[_0x46187b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46187b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fce90,_0x4ea63b[_0x46187b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46187b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x509f01(_0x553d89){const _0x3e1057=_0x19d906();_0x4ea63b[_0x3e1057]=_0x46187b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x553d89,_0x553d89!=_0x46187b([0x56,0x61,0x6c,0x69,0x64])&&_0x51241c();}function _0x19d906(){const _0x52862a=window[_0x46187b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46187b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46187b([0x6e,0x6f,0x77])]())[_0x46187b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46187b([0x2e]),'');let _0x2feb98=_0x46187b([0x79]);for(let _0x182752=0x0;_0x182752<_0x52862a[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x182752+=0x2){let _0x1a95d9=window[_0x46187b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52862a[_0x46187b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x182752,_0x182752+0x2));_0x1a95d9>=_0x381742[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a95d9-=_0x381742[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2feb98+=_0x381742[_0x1a95d9];}return _0x2feb98;}function _0x459265(){const _0xcfaecb=_0x109f43[_0x46187b([0x73,0x70,0x6c,0x69,0x74])](_0x46187b([0x2e]));if(0x3!=_0xcfaecb[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a29dc(_0xcfaecb[0x1]);function _0x5a29dc(_0x2689a4){const _0xc99e93=_0x4d3d86(_0x2689a4);return _0xc99e93&&_0x3b4cb6()?_0xc99e93:null;function _0x3b4cb6(){const _0x1c2ccc=_0xc99e93[_0x46187b([0x6a,0x74,0x69])],_0x67faf0=window[_0x46187b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c2ccc[_0x46187b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c2ccc[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e6320={..._0xc99e93,[_0x46187b([0x6a,0x74,0x69])]:_0x1c2ccc[_0x46187b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c2ccc[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e6320[_0x46187b([0x76,0x63])],_0x2fa224(_0x5e6320)==_0x67faf0;}}}async function _0x54f991(){let _0x2a2440=!0x0;try{const _0x129fc3=_0x109f43[_0x46187b([0x73,0x70,0x6c,0x69,0x74])](_0x46187b([0x2e])),[_0x4a3d15,_0x4b1173,_0x4d3a05]=_0x129fc3;return _0x328ecd(_0x4a3d15),await _0x4a6613(_0x4a3d15,_0x4b1173,_0x4d3a05),_0x2a2440;}catch{return!0x1;}function _0x328ecd(_0xf3f9e1){const _0x3c19cc=_0x4d3d86(_0xf3f9e1);_0x3c19cc&&_0x3c19cc[_0x46187b([0x61,0x6c,0x67])]==_0x46187b([0x45,0x53,0x32,0x35,0x36])||(_0x2a2440=!0x1);}async function _0x4a6613(_0xd9cb80,_0x16219e,_0x5017b5){const _0x193b7a=window[_0x46187b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46187b([0x66,0x72,0x6f,0x6d])](_0x5ed12b(_0x5017b5),_0x4b17de=>_0x4b17de[_0x46187b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d68f7=new window[(_0x46187b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46187b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd9cb80+_0x46187b([0x2e])+_0x16219e),_0x32a01e=window[_0x46187b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46187b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32a01e)return;const _0x1b9c3a=await _0x32a01e[_0x46187b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46187b([0x6a,0x77,0x6b]),_0x5c12ce,{[_0x46187b([0x6e,0x61,0x6d,0x65])]:_0x46187b([0x45,0x43,0x44,0x53,0x41]),[_0x46187b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46187b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46187b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32a01e[_0x46187b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46187b([0x6e,0x61,0x6d,0x65])]:_0x46187b([0x45,0x43,0x44,0x53,0x41]),[_0x46187b([0x68,0x61,0x73,0x68])]:{[_0x46187b([0x6e,0x61,0x6d,0x65])]:_0x46187b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b9c3a,_0x193b7a,_0x5d68f7)||(_0x2a2440=!0x1);}}function _0x4d3d86(_0x52b0ed){return _0x52b0ed[_0x46187b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46187b([0x65,0x79]))?JSON[_0x46187b([0x70,0x61,0x72,0x73,0x65])](_0x5ed12b(_0x52b0ed)):null;}function _0x5ed12b(_0x4fbdd9){return window[_0x46187b([0x61,0x74,0x6f,0x62])](_0x4fbdd9[_0x46187b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46187b([0x2b]))[_0x46187b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46187b([0x2f])));}function _0x2fa224(_0xe9d02){let _0x2c1bf0=0x1505;function _0xca886d(_0x550652){for(let _0xf48a23=0x0;_0xf48a23<_0x550652[_0x46187b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf48a23++){const _0x32c338=_0x550652[_0x46187b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf48a23);_0x2c1bf0=(_0x2c1bf0<<0x5)+_0x2c1bf0+_0x32c338,_0x2c1bf0&=_0x2c1bf0;}}function _0x5241ac(_0x18bba7){Array[_0x46187b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18bba7)?_0x18bba7[_0x46187b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5241ac):_0x18bba7&&typeof _0x18bba7==_0x46187b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46187b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18bba7)[_0x46187b([0x73,0x6f,0x72,0x74])]()[_0x46187b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a5bf7,_0x351685])=>{_0xca886d(_0x2a5bf7),_0x5241ac(_0x351685);}):_0xca886d(window[_0x46187b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18bba7));}return _0x5241ac(_0xe9d02),_0x2c1bf0>>>0x0;}function _0x31a699(_0x364a82){return _0x364a82[_0x46187b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46187b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46187b([0x30]));}function _0xbccf10(_0x99edac){return _0x99edac[_0x46187b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46187b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46187b([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fce90(){}function _0x46187b(_0x3f5764){const _0x20196d=_0x1557;return _0x3f5764[_0x20196d(0x106)](_0x235884=>String[_0x20196d(0xe1)](_0x235884))[_0x20196d(0xf5)]('');}_0x509f01(await _0x5118fd());}(this);}[_0x80d409(0xf6)](){const _0x2c2eaa=_0x80d409,_0x4d986b=this[_0x2c2eaa(0xea)];if(!_0x4d986b[_0x2c2eaa(0xed)][_0x2c2eaa(0xf0)](_0x2c2eaa(0xe2)))return;const _0x43e6a9=_0x4d986b[_0x2c2eaa(0xed)][_0x2c2eaa(0xf0)](_0x2c2eaa(0xfd))[_0x2c2eaa(0xe3)](_0xa4127b=>_0x2c2eaa(0xdc)==typeof _0xa4127b&&(!_0x5f0281(_0xa4127b)&&isNaN(Number(_0xa4127b))));if(_0x43e6a9[_0x2c2eaa(0xf7)])throw new _0x242722(_0x2c2eaa(0xfa),null,{'namedPresets':_0x43e6a9});}[_0x80d409(0x105)](){const _0x4618fa=_0x80d409,_0x4ee4d7=this[_0x4618fa(0xea)],_0x31c131=this[_0x4618fa(0xea)][_0x4618fa(0xed)][_0x4618fa(0xf0)](_0x4618fa(0xf2));_0x4ee4d7[_0x4618fa(0x109)][_0x4618fa(0x108)](_0x4618fa(0x100))[_0x4618fa(0xde)]({'model':{'key':_0x4618fa(0x103)},'view':_0x26246b=>String(_0x26246b)===String(_0x31c131)?null:{'key':_0x4618fa(0xe0),'value':{'line-height':_0x26246b}}}),_0x4ee4d7[_0x4618fa(0x109)][_0x4618fa(0x108)](_0x4618fa(0x104))[_0x4618fa(0xde)]({'model':{'key':_0x4618fa(0x103),'value':_0x528b27=>{const _0x1de635=_0x4618fa;let _0x2a6b1b=_0x528b27[_0x1de635(0x10f)](_0x1de635(0xef));return _0x1bf005(_0x2a6b1b)&&(_0x2a6b1b=String(Number(_0x2a6b1b[_0x1de635(0xda)](0x0,-0x1))/0x64)),String(_0x2a6b1b)===String(_0x31c131)?null:_0x2a6b1b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x80d409(0xf9)](){const _0x46b6aa=_0x80d409,_0x4057ca=this[_0x46b6aa(0xea)],_0x47e0f4=this[_0x46b6aa(0xea)][_0x46b6aa(0xed)][_0x46b6aa(0xf0)](_0x46b6aa(0xf2)),_0x41acd7=_0xf7922e(this[_0x46b6aa(0xea)][_0x46b6aa(0xed)][_0x46b6aa(0xf0)](_0x46b6aa(0x103)))[_0x46b6aa(0xe3)](_0x2f016c=>_0x2f016c[_0x46b6aa(0xe5)]),_0x12be62=_0x3956a2(_0x46b6aa(0x103),_0x41acd7);_0x4057ca[_0x46b6aa(0x109)][_0x46b6aa(0xde)](_0x12be62),_0x4057ca[_0x46b6aa(0x109)][_0x46b6aa(0x108)](_0x46b6aa(0x104))[_0x46b6aa(0xde)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x46b6aa(0x103),'value':_0x475b9b=>{const _0x4fda2b=_0x46b6aa;let _0x49b755=_0x475b9b[_0x4fda2b(0x10f)](_0x4fda2b(0xef));return _0x1bf005(_0x49b755)&&(_0x49b755=String(Number(_0x49b755[_0x4fda2b(0xda)](0x0,-0x1))/0x64)),_0x49b755===String(_0x47e0f4)?null:_0x12be62[_0x4fda2b(0xe5)][_0x4fda2b(0x101)][_0x4fda2b(0xf8)](_0x49b755)?_0x49b755:null;}}});}}
23
+ const _0x23a3de=_0x59b8;(function(_0x1e1b67,_0xdf6bb3){const _0x5d7ba1=_0x59b8,_0x5eb3d9=_0x1e1b67();while(!![]){try{const _0x346e80=parseInt(_0x5d7ba1(0x95))/0x1+-parseInt(_0x5d7ba1(0x98))/0x2*(-parseInt(_0x5d7ba1(0xc7))/0x3)+parseInt(_0x5d7ba1(0xa6))/0x4*(parseInt(_0x5d7ba1(0x9a))/0x5)+parseInt(_0x5d7ba1(0xa2))/0x6*(parseInt(_0x5d7ba1(0xb3))/0x7)+-parseInt(_0x5d7ba1(0xb6))/0x8+-parseInt(_0x5d7ba1(0xab))/0x9*(-parseInt(_0x5d7ba1(0xba))/0xa)+-parseInt(_0x5d7ba1(0xb9))/0xb*(parseInt(_0x5d7ba1(0xb7))/0xc);if(_0x346e80===_0xdf6bb3)break;else _0x5eb3d9['push'](_0x5eb3d9['shift']());}catch(_0x54ca17){_0x5eb3d9['push'](_0x5eb3d9['shift']());}}}(_0x546b,0xcdf89));import{Plugin as _0x4ba4f9}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1dd425}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x27a9f1}from'ckeditor5/src/engine.js';import{uid as _0x4f1855,CKEditorError as _0x49cd81}from'ckeditor5/src/utils.js';function _0x59b8(_0x54a2d2,_0x23f4e7){const _0x546b36=_0x546b();return _0x59b8=function(_0x59b8ec,_0x1a73ab){_0x59b8ec=_0x59b8ec-0x94;let _0x9bb745=_0x546b36[_0x59b8ec];return _0x9bb745;},_0x59b8(_0x54a2d2,_0x23f4e7);}import{buildDefinition as _0x494d7c,isLineHeightDefaultValue as _0x4e06eb,normalizeOptions as _0x2d757d}from'./utils.js';function _0x546b(){const _0x2c5801=['lineHeight.supportAllValues','14UCCqiI','lineHeight.options','$block','6035992qCqywH','1325736SuTeCs','_prepareAnyValueConverters','363aafFeU','11820nVMYDK','_preparePredefinedConverters','schema','fromCharCode','getStyle','filter','href','setAttributeProperties','define','editor','length','upcast','includes','3TgzzKA','_validateConfig','get','map','for','add','1003340Almkpd','line-height','line-height-invalid-use-of-named-presets','273002kSoFKk','commands','5EawQfC','style','init','config','afterInit','conversion','default','pluginName','4582740lXnSxG','string','isOfficialPlugin','attributeToAttribute','3625372EjGTUx','downcast','LineHeightEditing','lineHeight','isPremiumPlugin','12717ewXtaH','join','slice','extend','lineHeight.defaultValue','values','model'];_0x546b=function(){return _0x2c5801;};return _0x546b();}export class LineHeightEditing extends _0x4ba4f9{static get[_0x23a3de(0xa1)](){const _0x2807ca=_0x23a3de;return _0x2807ca(0xa8);}static get[_0x23a3de(0xa4)](){return!0x0;}static get[_0x23a3de(0xaa)](){return!0x0;}constructor(_0xc9e4f1){const _0x4519c9=_0x23a3de;super(_0xc9e4f1),_0xc9e4f1[_0x4519c9(0x9d)][_0x4519c9(0xc2)](_0x4519c9(0xa9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4519c9(0xa0),0x2,2.5,0x3]});}[_0x23a3de(0x9c)](){const _0x389118=_0x23a3de,_0x91e534=this[_0x389118(0xc3)];this[_0x389118(0xc8)](),_0x91e534[_0x389118(0xb1)][_0x389118(0xbc)][_0x389118(0xae)](_0x389118(0xb5),{'allowAttributes':_0x389118(0xa9)}),_0x91e534[_0x389118(0xb1)][_0x389118(0xbc)][_0x389118(0xc1)](_0x389118(0xa9),{'isFormatting':!0x0}),_0x91e534[_0x389118(0x99)][_0x389118(0x94)](_0x389118(0xa9),new _0x1dd425(_0x91e534)),this[_0x389118(0xc3)][_0x389118(0x9d)][_0x389118(0xc9)](_0x389118(0xb2))?this[_0x389118(0xb8)]():this[_0x389118(0xbb)]();}[_0x23a3de(0x9e)](){!async function(_0x510d37){const _0x487eab=_0x19234a([0x72,0x6a,0x59,0x32,0x7a,0x4f,0x79,0x4c,0x6b,0x36,0x44,0x35,0x70,0x55,0x4d,0x4b,0x38,0x6f,0x57,0x39,0x78,0x47,0x49,0x6c,0x62,0x69,0x37,0x46,0x45,0x48,0x51,0x68,0x66,0x58,0x6e,0x63,0x4a,0x50,0x67,0x74,0x43,0x6d,0x56,0x41,0x64,0x4e,0x77,0x30,0x52,0x71,0x42,0x75,0x33,0x54,0x76,0x31,0x5a,0x73,0x61,0x53,0x34,0x65]),_0x2f8766=0x1212d6b6,_0xa6bcca=0x1215b8ce^_0x2f8766,_0x1d9fd2=window[_0x19234a([0x44,0x61,0x74,0x65])][_0x19234a([0x6e,0x6f,0x77])](),_0x4b7140=_0x510d37[_0x19234a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f23e2=new window[(_0x19234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x390022=>{_0x4b7140[_0x19234a([0x6f,0x6e,0x63,0x65])](_0x19234a([0x72,0x65,0x61,0x64,0x79]),_0x390022);}),_0x4ad9bb={[_0x19234a([0x6b,0x74,0x79])]:_0x19234a([0x45,0x43]),[_0x19234a([0x75,0x73,0x65])]:_0x19234a([0x73,0x69,0x67]),[_0x19234a([0x63,0x72,0x76])]:_0x19234a([0x50,0x2d,0x32,0x35,0x36]),[_0x19234a([0x78])]:_0x19234a([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]),[_0x19234a([0x79])]:_0x19234a([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]),[_0x19234a([0x61,0x6c,0x67])]:_0x19234a([0x45,0x53,0x32,0x35,0x36])},_0x3863c3=_0x4b7140[_0x19234a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x19234a([0x67,0x65,0x74])](_0x19234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e9c9f(){let _0x3e04f1,_0x1ae30b=null,_0x10a409=null;try{if(_0x3863c3==_0x19234a([0x47,0x50,0x4c]))return _0x19234a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e04f1=_0x3e8761(),!_0x3e04f1)return _0x19234a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e04f1[_0x19234a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10a409=_0x2ac5a9(_0x3e04f1[_0x19234a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e04f1[_0x19234a([0x6a,0x74,0x69])])),await _0x2ef1ee()?_0x463054()?_0x459cc3()?_0x19234a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4adeec()?(_0x3e04f1[_0x19234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19234a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ae30b=_0x501f75(_0x19234a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e04f1[_0x19234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19234a([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ae30b=_0x501f75(_0x19234a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49eda2()):_0x19234a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x19234a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x19234a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x19234a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x459cc3(){const _0x532267=[_0x19234a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x19234a([0x74,0x72,0x69,0x61,0x6c])][_0x19234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e04f1[_0x19234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d9fd2/0x3e8:0xe10*_0xa6bcca;return _0x3e04f1[_0x19234a([0x65,0x78,0x70])]<_0x532267;}function _0x463054(){const _0x3cd599=_0x3e04f1[_0x19234a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3cd599&&(!!_0x3cd599[_0x19234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19234a([0x2a]))||!!_0x3cd599[_0x19234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19234a([0x4c,0x48])));}function _0x4adeec(){const _0xf39956=_0x59b8,_0x30e799=_0x3e04f1[_0x19234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30e799||0x0==_0x30e799[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30984a}=new URL(window[_0x19234a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xf39956(0xc0)]);if(_0x30e799[_0x19234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30984a))return!0x0;const _0x40d693=_0x30984a[_0x19234a([0x73,0x70,0x6c,0x69,0x74])](_0x19234a([0x2e]));return _0x30e799[_0x19234a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcde5ed=>_0xcde5ed[_0x19234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19234a([0x2a])))[_0x19234a([0x6d,0x61,0x70])](_0x1eb261=>_0x1eb261[_0x19234a([0x73,0x70,0x6c,0x69,0x74])](_0x19234a([0x2e])))[_0x19234a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d66f6=>_0x3d66f6[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40d693[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x19234a([0x6d,0x61,0x70])](_0x5b62cc=>Array(_0x40d693[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b62cc[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x19234a([0x66,0x69,0x6c,0x6c])](_0x5b62cc[0x0]===_0x19234a([0x2a])?_0x19234a([0x2a]):'')[_0x19234a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b62cc))[_0x19234a([0x73,0x6f,0x6d,0x65])](_0x1a3b63=>_0x40d693[_0x19234a([0x65,0x76,0x65,0x72,0x79])]((_0x344466,_0x5362ef)=>_0x1a3b63[_0x5362ef]===_0x344466||_0x1a3b63[_0x5362ef]===_0x19234a([0x2a])));}function _0x49eda2(){return _0x1ae30b&&_0x10a409?new window[(_0x19234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30caec,_0x144227)=>{_0x1ae30b[_0x19234a([0x74,0x68,0x65,0x6e])](_0x30caec,_0x144227),_0x10a409[_0x19234a([0x74,0x68,0x65,0x6e])](_0x44aed0=>{_0x44aed0!=_0x19234a([0x56,0x61,0x6c,0x69,0x64])&&_0x30caec(_0x44aed0);},_0x144227);}):_0x1ae30b||_0x10a409||_0x19234a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ac5a9(_0x288244,_0x3f528d){return new window[(_0x19234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x132b25=>{if(_0x27fd0c())return _0x132b25(_0x19234a([0x56,0x61,0x6c,0x69,0x64]));_0x4f9ac5(),_0x4b7140[_0x19234a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x19234a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22d091=!0x1;const _0x41b984=_0x4f1855();function _0x356336(_0x2fdec9){return!!_0x2fdec9&&(typeof _0x2fdec9===_0x19234a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fdec9===_0x19234a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fdec9[_0x19234a([0x74,0x68,0x65,0x6e])]===_0x19234a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fdec9[_0x19234a([0x63,0x61,0x74,0x63,0x68])]===_0x19234a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43bce0(_0x4db4f9){_0xadc9a9(_0x4db4f9)[_0x19234a([0x74,0x68,0x65,0x6e])](_0x45f7db=>{if(!_0x45f7db||_0x45f7db[_0x19234a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x19234a([0x6f,0x6b]))return _0x19234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52309e(_0x4aa48a(_0x41b984+_0x3f528d))!=_0x45f7db[_0x19234a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x19234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x19234a([0x56,0x61,0x6c,0x69,0x64]);})[_0x19234a([0x74,0x68,0x65,0x6e])](_0x14046c=>(_0x587128(),_0x14046c),()=>{const _0x5ec8a0=_0xfcb822();return null==_0x5ec8a0?(_0x587128(),_0x19234a([0x56,0x61,0x6c,0x69,0x64])):_0x19234a(_0x1d9fd2-_0x5ec8a0>(0x361e52b6^_0x2f8766)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x19234a([0x74,0x68,0x65,0x6e])](_0x132b25)[_0x19234a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x132b25(_0x19234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a836f=0x12243836^_0x2f8766;function _0x587128(){const _0x2f3e4f=_0x19234a([0x6c,0x6c,0x63,0x74,0x2d])+_0x52309e(_0x4aa48a(_0x288244)),_0x5b4400=_0x42f6af(_0x52309e(window[_0x19234a([0x4d,0x61,0x74,0x68])][_0x19234a([0x63,0x65,0x69,0x6c])](_0x1d9fd2/_0x1a836f)));window[_0x19234a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19234a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f3e4f,_0x5b4400);}function _0xfcb822(){const _0x40d032=_0x19234a([0x6c,0x6c,0x63,0x74,0x2d])+_0x52309e(_0x4aa48a(_0x288244)),_0x3eb6a9=window[_0x19234a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19234a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40d032);return _0x3eb6a9?window[_0x19234a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42f6af(_0x3eb6a9),0x10)*_0x1a836f:null;}function _0xadc9a9(_0x46b2d3){return new window[(_0x19234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f6b96,_0xef3d9b)=>{_0x46b2d3[_0x19234a([0x74,0x68,0x65,0x6e])](_0x2f6b96,_0xef3d9b),window[_0x19234a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xef3d9b,0x12130276^_0x2f8766);});}}_0x4b7140[_0x19234a([0x6f,0x6e])](_0x19234a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x167073,_0x1f7c0b)=>{if(_0x1f7c0b[0x0]!=_0x288244)return _0x132b25(_0x19234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f7c0b[0x1]={..._0x1f7c0b[0x1],[_0x19234a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41b984};},{[_0x19234a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19234a([0x68,0x69,0x67,0x68])}),_0x4b7140[_0x19234a([0x6f,0x6e])](_0x19234a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d769a=>{_0x356336(_0x2d769a[_0x19234a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22d091=!0x0,_0x43bce0(_0x2d769a[_0x19234a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x19234a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19234a([0x6c,0x6f,0x77])}),_0x3f23e2[_0x19234a([0x74,0x68,0x65,0x6e])](()=>{_0x22d091||_0x132b25(_0x19234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27fd0c(){return _0x4b7140[_0x19234a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19234a([0x76,0x69,0x65,0x77])][_0x19234a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x19234a([0x61,0x75,0x74,0x6f]);}function _0x4f9ac5(){_0x4b7140[_0x19234a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19234a([0x76,0x69,0x65,0x77])][_0x19234a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x19234a([0x61,0x75,0x74,0x6f]);}}function _0x501f75(_0x144ce3){const _0x329872=[new window[(_0x19234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3207f3=>setTimeout(_0x3207f3,0x121be87a^_0x2f8766)),_0x3f23e2[_0x19234a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x19234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fbb3a=>{let _0x4b9cdc=0x0;_0x4b7140[_0x19234a([0x6d,0x6f,0x64,0x65,0x6c])][_0x19234a([0x6f,0x6e])](_0x19234a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xebe3ea,_0x377f9d)=>{_0x377f9d[0x0][_0x19234a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b9cdc++,_0x4b9cdc==(0x1212d74e^_0x2f8766)&&(_0x1fbb3a(),_0xebe3ea[_0x19234a([0x6f,0x66,0x66])]());});}))];return window[_0x19234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x19234a([0x72,0x61,0x63,0x65])](_0x329872)[_0x19234a([0x74,0x68,0x65,0x6e])](()=>_0x144ce3);}async function _0x517d2a(){await _0x3f23e2,_0x4b7140[_0x19234a([0x6d,0x6f,0x64,0x65,0x6c])][_0x19234a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x766cee,_0x4b7140[_0x19234a([0x6d,0x6f,0x64,0x65,0x6c])][_0x19234a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x766cee,_0x4b7140[_0x19234a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x19234a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x372557(_0x49b9d1){const _0x230b51=_0x639505();_0x4b7140[_0x230b51]=_0x19234a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49b9d1,_0x49b9d1!=_0x19234a([0x56,0x61,0x6c,0x69,0x64])&&_0x517d2a();}function _0x639505(){const _0xa6ca30=window[_0x19234a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x19234a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x19234a([0x6e,0x6f,0x77])]())[_0x19234a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x19234a([0x2e]),'');let _0x11fcfd=_0x19234a([0x72]);for(let _0x304d79=0x0;_0x304d79<_0xa6ca30[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x304d79+=0x2){let _0x414955=window[_0x19234a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa6ca30[_0x19234a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x304d79,_0x304d79+0x2));_0x414955>=_0x487eab[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x414955-=_0x487eab[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11fcfd+=_0x487eab[_0x414955];}return _0x11fcfd;}function _0x3e8761(){const _0x376d2c=_0x3863c3[_0x19234a([0x73,0x70,0x6c,0x69,0x74])](_0x19234a([0x2e]));if(0x3!=_0x376d2c[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xcf7c1d(_0x376d2c[0x1]);function _0xcf7c1d(_0x498f9d){const _0x20c667=_0x40e21b(_0x498f9d);return _0x20c667&&_0x38cfd7()?_0x20c667:null;function _0x38cfd7(){const _0x2f9d55=_0x20c667[_0x19234a([0x6a,0x74,0x69])],_0x369867=window[_0x19234a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f9d55[_0x19234a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f9d55[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20371b={..._0x20c667,[_0x19234a([0x6a,0x74,0x69])]:_0x2f9d55[_0x19234a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f9d55[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20371b[_0x19234a([0x76,0x63])],_0x4aa48a(_0x20371b)==_0x369867;}}}async function _0x2ef1ee(){let _0x23c4bc=!0x0;try{const _0x31c0b8=_0x3863c3[_0x19234a([0x73,0x70,0x6c,0x69,0x74])](_0x19234a([0x2e])),[_0x1bf580,_0x59d789,_0x3cb21c]=_0x31c0b8;return _0x169ec2(_0x1bf580),await _0x1c5b47(_0x1bf580,_0x59d789,_0x3cb21c),_0x23c4bc;}catch{return!0x1;}function _0x169ec2(_0x44e281){const _0x414d1a=_0x40e21b(_0x44e281);_0x414d1a&&_0x414d1a[_0x19234a([0x61,0x6c,0x67])]==_0x19234a([0x45,0x53,0x32,0x35,0x36])||(_0x23c4bc=!0x1);}async function _0x1c5b47(_0x54d39e,_0x128fc7,_0x465de7){const _0x46035d=window[_0x19234a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x19234a([0x66,0x72,0x6f,0x6d])](_0x45f231(_0x465de7),_0x579f18=>_0x579f18[_0x19234a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1af061=new window[(_0x19234a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x19234a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54d39e+_0x19234a([0x2e])+_0x128fc7),_0x11d2e2=window[_0x19234a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x19234a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11d2e2)return;const _0x534527=await _0x11d2e2[_0x19234a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x19234a([0x6a,0x77,0x6b]),_0x4ad9bb,{[_0x19234a([0x6e,0x61,0x6d,0x65])]:_0x19234a([0x45,0x43,0x44,0x53,0x41]),[_0x19234a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x19234a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x19234a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11d2e2[_0x19234a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x19234a([0x6e,0x61,0x6d,0x65])]:_0x19234a([0x45,0x43,0x44,0x53,0x41]),[_0x19234a([0x68,0x61,0x73,0x68])]:{[_0x19234a([0x6e,0x61,0x6d,0x65])]:_0x19234a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x534527,_0x46035d,_0x1af061)||(_0x23c4bc=!0x1);}}function _0x40e21b(_0x2ef294){return _0x2ef294[_0x19234a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x19234a([0x65,0x79]))?JSON[_0x19234a([0x70,0x61,0x72,0x73,0x65])](_0x45f231(_0x2ef294)):null;}function _0x45f231(_0x403360){return window[_0x19234a([0x61,0x74,0x6f,0x62])](_0x403360[_0x19234a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x19234a([0x2b]))[_0x19234a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x19234a([0x2f])));}function _0x4aa48a(_0x49b753){let _0x15ccae=0x1505;function _0x573186(_0x4844af){for(let _0x3a12df=0x0;_0x3a12df<_0x4844af[_0x19234a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a12df++){const _0x3321e8=_0x4844af[_0x19234a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a12df);_0x15ccae=(_0x15ccae<<0x5)+_0x15ccae+_0x3321e8,_0x15ccae&=_0x15ccae;}}function _0x380a0f(_0x18c102){Array[_0x19234a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18c102)?_0x18c102[_0x19234a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x380a0f):_0x18c102&&typeof _0x18c102==_0x19234a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x19234a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18c102)[_0x19234a([0x73,0x6f,0x72,0x74])]()[_0x19234a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a7a0f,_0x2a0b60])=>{_0x573186(_0x1a7a0f),_0x380a0f(_0x2a0b60);}):_0x573186(window[_0x19234a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18c102));}return _0x380a0f(_0x49b753),_0x15ccae>>>0x0;}function _0x52309e(_0x32f9b9){return _0x32f9b9[_0x19234a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x19234a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x19234a([0x30]));}function _0x42f6af(_0x4bad26){return _0x4bad26[_0x19234a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x19234a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x19234a([0x6a,0x6f,0x69,0x6e])]('');}function _0x766cee(){}function _0x19234a(_0x5190b7){const _0x2b0f77=_0x59b8;return _0x5190b7[_0x2b0f77(0xca)](_0x591a16=>String[_0x2b0f77(0xbd)](_0x591a16))[_0x2b0f77(0xac)]('');}_0x372557(await _0x1e9c9f());}(this);}[_0x23a3de(0xc8)](){const _0x5b9d28=_0x23a3de,_0x28dad8=this[_0x5b9d28(0xc3)];if(!_0x28dad8[_0x5b9d28(0x9d)][_0x5b9d28(0xc9)](_0x5b9d28(0xb2)))return;const _0x3cc090=_0x28dad8[_0x5b9d28(0x9d)][_0x5b9d28(0xc9)](_0x5b9d28(0xb4))[_0x5b9d28(0xbf)](_0x58348c=>_0x5b9d28(0xa3)==typeof _0x58348c&&(!_0x4e06eb(_0x58348c)&&isNaN(Number(_0x58348c))));if(_0x3cc090[_0x5b9d28(0xc4)])throw new _0x49cd81(_0x5b9d28(0x97),null,{'namedPresets':_0x3cc090});}[_0x23a3de(0xb8)](){const _0x32231e=_0x23a3de,_0x1e7c09=this[_0x32231e(0xc3)],_0xedcc7=this[_0x32231e(0xc3)][_0x32231e(0x9d)][_0x32231e(0xc9)](_0x32231e(0xaf));_0x1e7c09[_0x32231e(0x9f)][_0x32231e(0xcb)](_0x32231e(0xa7))[_0x32231e(0xa5)]({'model':{'key':_0x32231e(0xa9)},'view':_0x81a4a0=>String(_0x81a4a0)===String(_0xedcc7)?null:{'key':_0x32231e(0x9b),'value':{'line-height':_0x81a4a0}}}),_0x1e7c09[_0x32231e(0x9f)][_0x32231e(0xcb)](_0x32231e(0xc5))[_0x32231e(0xa5)]({'model':{'key':_0x32231e(0xa9),'value':_0x3f0519=>{const _0x4b5330=_0x32231e;let _0x5cf6f5=_0x3f0519[_0x4b5330(0xbe)](_0x4b5330(0x96));return _0x27a9f1(_0x5cf6f5)&&(_0x5cf6f5=String(Number(_0x5cf6f5[_0x4b5330(0xad)](0x0,-0x1))/0x64)),String(_0x5cf6f5)===String(_0xedcc7)?null:_0x5cf6f5;}},'view':{'styles':{'line-height':/.*/}}});}[_0x23a3de(0xbb)](){const _0x31ddf7=_0x23a3de,_0x2d6db5=this[_0x31ddf7(0xc3)],_0x456c54=this[_0x31ddf7(0xc3)][_0x31ddf7(0x9d)][_0x31ddf7(0xc9)](_0x31ddf7(0xaf)),_0x11e9ed=_0x2d757d(this[_0x31ddf7(0xc3)][_0x31ddf7(0x9d)][_0x31ddf7(0xc9)](_0x31ddf7(0xa9)))[_0x31ddf7(0xbf)](_0x52e199=>_0x52e199[_0x31ddf7(0xb1)]),_0xc6bb6d=_0x494d7c(_0x31ddf7(0xa9),_0x11e9ed);_0x2d6db5[_0x31ddf7(0x9f)][_0x31ddf7(0xa5)](_0xc6bb6d),_0x2d6db5[_0x31ddf7(0x9f)][_0x31ddf7(0xcb)](_0x31ddf7(0xc5))[_0x31ddf7(0xa5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x31ddf7(0xa9),'value':_0x1a5c3f=>{const _0x558884=_0x31ddf7;let _0x56f67f=_0x1a5c3f[_0x558884(0xbe)](_0x558884(0x96));return _0x27a9f1(_0x56f67f)&&(_0x56f67f=String(Number(_0x56f67f[_0x558884(0xad)](0x0,-0x1))/0x64)),_0x56f67f===String(_0x456c54)?null:_0xc6bb6d[_0x558884(0xb1)][_0x558884(0xb0)][_0x558884(0xc6)](_0x56f67f)?_0x56f67f:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4eb8b6}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5734b6,createDropdown as _0x3c771a,MenuBarMenuListItemButtonView as _0x3e60bd,MenuBarMenuListItemView as _0x59ff88,MenuBarMenuListView as _0x2451f1,MenuBarMenuView as _0x18a973,UIModel as _0x3ca1e3}from'ckeditor5/src/ui.js';import{Collection as _0x3fd453}from'ckeditor5/src/utils.js';import{IconLineHeight as _0xb308ab}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x32218e}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4eb8b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x83bb38={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x83bb38),this['_registerMenuBarComponent'](_0x83bb38),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13c336=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42693e;for(const _0x2ec1a2 in _0x13c336){const _0x554dcf=_0x2ec1a2,_0x26b213=_0x13c336[_0x554dcf];if('lineHeightLicenseKeyValid'==_0x26b213||'lineHeightLicenseKeyInvalid'==_0x26b213||'lineHeightLicenseKeyExpired'==_0x26b213||'lineHeightLicenseKeyDomainLimit'==_0x26b213||'lineHeightLicenseKeyNotAllowed'==_0x26b213||'lineHeightLicenseKeyEvaluationLimit'==_0x26b213||'lineHeightLicenseKeyTrialLimit'==_0x26b213||'lineHeightLicenseKeyUsageLimit'==_0x26b213){delete _0x13c336[_0x554dcf],_0x42693e=_0x26b213,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x42693e&&_0x13c336['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x42693e&&_0x13c336['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x42693e&&_0x13c336['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x42693e&&_0x13c336['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x42693e&&_0x13c336['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x42693e&&_0x13c336['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x42693e&&_0x13c336['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1509af=this['editor'],t=_0x1509af['t'],_0x172a0c=_0x1509af['config']['get']('lineHeight'),_0xfac26a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x32218e(_0x172a0c)['map'](_0xcac13f=>{const _0x1a63b5=_0xfac26a[_0xcac13f['title']];return _0x1a63b5&&_0x1a63b5!=_0xcac13f['title']&&(_0xcac13f=Object['assign']({},_0xcac13f,{'title':_0x1a63b5})),_0xcac13f;});}['_prepareListOptions'](){const _0x22a576=this['editor']['commands']['get']('lineHeight'),_0x517c97=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1b6f3f=this['_getLocalizedLineHeightOptions'](),_0x1553e1=new _0x3fd453(),_0x2e9c1d=_0x27b787=>'default'===_0x27b787||String(_0x517c97)===_0x27b787;for(const _0x141bd7 of _0x1b6f3f){const _0x35819f={'type':'button','model':new _0x3ca1e3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x141bd7['title'],'withText':!0x0})};_0x2e9c1d(_0x141bd7['model'])?(_0x35819f['model']['bind']('isOn')['to'](_0x22a576,'value',_0x15f735=>!_0x15f735),_0x35819f['model']['commandParam']=void 0x0):(_0x35819f['model']['bind']('isOn')['to'](_0x22a576,'value',_0xbca20d=>_0xbca20d===_0x141bd7['model']),_0x35819f['model']['commandParam']=_0x141bd7['model']),_0x1553e1['add'](_0x35819f);}if(this['_shouldRenderCustomValueOption']()){const _0x5bc1c2=this['_getCustomValueOptionDefinition'](_0x1b6f3f);_0x1553e1['add'](_0x5bc1c2);}return _0x1553e1;}['_getCustomValueOptionDefinition'](_0x3e40d1){const _0xa2e6d=this['editor'],t=_0xa2e6d['t'],_0x5eac47=_0xa2e6d['commands']['get']('lineHeight'),_0x484368=_0x3e40d1['map'](_0x2f0e68=>_0x2f0e68['model']),_0x3b57a2={'type':'button','model':new _0x3ca1e3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3b57a2['model']['bind']('commandParam')['to'](_0x5eac47,'value'),_0x3b57a2['model']['bind']('isOn')['to'](_0x5eac47,'value',_0xddc22b=>!!_0xddc22b&&!_0x484368['includes'](String(_0xddc22b))),_0x3b57a2['model']['bind']('label')['to'](_0x5eac47,'value',_0xa78c52=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0xa78c52))),_0x3b57a2;}['_registerToolbarComponent']({accessibleLabel:_0x56a5a6,options:_0x381849}){const _0x10d67b=this['editor'],_0x15279e=_0x10d67b['commands']['get']('lineHeight');_0x10d67b['ui']['componentFactory']['add']('lineHeight',_0x18bc0b=>{const _0x6f5c5f=_0x3c771a(_0x18bc0b);return _0x5734b6(_0x6f5c5f,_0x381849,{'role':'menu','ariaLabel':_0x56a5a6}),_0x6f5c5f['buttonView']['set']({'label':_0x56a5a6,'tooltip':!0x0,'icon':_0xb308ab}),_0x6f5c5f['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x6f5c5f['bind']('isEnabled')['to'](_0x15279e),this['listenTo'](_0x6f5c5f,'execute',_0x14afbe=>{_0x10d67b['execute'](_0x14afbe['source']['commandName'],{'value':_0x14afbe['source']['commandParam']}),_0x10d67b['editing']['view']['focus']();}),_0x6f5c5f['once']('change:isOpen',()=>{const _0x113114=_0x6f5c5f['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x6f5c5f,_0x381849,_0x113114);}),_0x6f5c5f;});}['_registerMenuBarComponent']({accessibleLabel:_0x3ad776,options:_0x385983}){const _0x11338f=this['editor'],_0x5896e6=_0x11338f['commands']['get']('lineHeight');_0x11338f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5e327d=>{const _0x394a05=new _0x18a973(_0x5e327d);_0x394a05['buttonView']['set']({'label':_0x3ad776,'icon':_0xb308ab}),_0x394a05['bind']('isEnabled')['to'](_0x5896e6);const _0x52f975=new _0x2451f1(_0x5e327d);for(const _0xec72f0 of _0x385983){const _0x786997=new _0x59ff88(_0x5e327d,_0x394a05),_0x7e784a=new _0x3e60bd(_0x5e327d);_0x7e784a['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x7e784a['bind'](...Object['keys'](_0xec72f0['model']))['to'](_0xec72f0['model']),_0x7e784a['delegate']('execute')['to'](_0x394a05),_0x7e784a['on']('execute',()=>{_0x11338f['execute'](_0xec72f0['model']['commandName'],{'value':_0xec72f0['model']['commandParam']}),_0x11338f['editing']['view']['focus']();}),_0x786997['children']['add'](_0x7e784a),_0x52f975['items']['add'](_0x786997);}return _0x394a05['panelView']['children']['add'](_0x52f975),this['_attachCustomOptionVisibilityHandler'](_0x394a05,_0x385983,_0x52f975),_0x394a05;});}['_attachCustomOptionVisibilityHandler'](_0x55bd96,_0x313332,_0x19cc87){if(!this['_shouldRenderCustomValueOption']())return;const _0x13aadb=()=>{if(!_0x55bd96['isOpen'])return;_0x19cc87['items']['last']['isVisible']=Boolean(_0x313332['last']['model']['isOn']);};_0x13aadb(),_0x55bd96['on']('change:isOpen',()=>{_0x13aadb();});}}
23
+ import{Plugin as _0x290c46}from'ckeditor5/src/core.js';import{addListToDropdown as _0x1f48b8,createDropdown as _0x706400,MenuBarMenuListItemButtonView as _0x5309a8,MenuBarMenuListItemView as _0x512774,MenuBarMenuListView as _0x21cc89,MenuBarMenuView as _0x29a7cd,UIModel as _0x2c545e}from'ckeditor5/src/ui.js';import{Collection as _0x57585e}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x42aafd}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x33274f}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x290c46{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8cfe1f={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x8cfe1f),this['_registerMenuBarComponent'](_0x8cfe1f),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6ff176=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x111ae2;for(const _0x5dbda5 in _0x6ff176){const _0x25fcc4=_0x5dbda5,_0x2c8a2a=_0x6ff176[_0x25fcc4];if('lineHeightLicenseKeyValid'==_0x2c8a2a||'lineHeightLicenseKeyInvalid'==_0x2c8a2a||'lineHeightLicenseKeyExpired'==_0x2c8a2a||'lineHeightLicenseKeyDomainLimit'==_0x2c8a2a||'lineHeightLicenseKeyNotAllowed'==_0x2c8a2a||'lineHeightLicenseKeyEvaluationLimit'==_0x2c8a2a||'lineHeightLicenseKeyTrialLimit'==_0x2c8a2a||'lineHeightLicenseKeyUsageLimit'==_0x2c8a2a){delete _0x6ff176[_0x25fcc4],_0x111ae2=_0x2c8a2a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x111ae2&&_0x6ff176['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x111ae2&&_0x6ff176['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x111ae2&&_0x6ff176['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x111ae2&&_0x6ff176['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x111ae2&&_0x6ff176['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x111ae2&&_0x6ff176['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x111ae2&&_0x6ff176['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x15e965=this['editor'],t=_0x15e965['t'],_0x198fd3=_0x15e965['config']['get']('lineHeight'),_0x2147ee={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x33274f(_0x198fd3)['map'](_0x3b8c81=>{const _0x2c52ce=_0x2147ee[_0x3b8c81['title']];return _0x2c52ce&&_0x2c52ce!=_0x3b8c81['title']&&(_0x3b8c81=Object['assign']({},_0x3b8c81,{'title':_0x2c52ce})),_0x3b8c81;});}['_prepareListOptions'](){const _0xc98726=this['editor']['commands']['get']('lineHeight'),_0x65f278=this['editor']['config']['get']('lineHeight.defaultValue'),_0xe5b21e=this['_getLocalizedLineHeightOptions'](),_0x2215df=new _0x57585e(),_0x25c8f0=_0x13f296=>'default'===_0x13f296||String(_0x65f278)===_0x13f296;for(const _0x5d105e of _0xe5b21e){const _0x2d0045={'type':'button','model':new _0x2c545e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5d105e['title'],'withText':!0x0})};_0x25c8f0(_0x5d105e['model'])?(_0x2d0045['model']['bind']('isOn')['to'](_0xc98726,'value',_0x283ba5=>!_0x283ba5),_0x2d0045['model']['commandParam']=void 0x0):(_0x2d0045['model']['bind']('isOn')['to'](_0xc98726,'value',_0x29549c=>_0x29549c===_0x5d105e['model']),_0x2d0045['model']['commandParam']=_0x5d105e['model']),_0x2215df['add'](_0x2d0045);}if(this['_shouldRenderCustomValueOption']()){const _0x22e910=this['_getCustomValueOptionDefinition'](_0xe5b21e);_0x2215df['add'](_0x22e910);}return _0x2215df;}['_getCustomValueOptionDefinition'](_0x35b92d){const _0x255145=this['editor'],t=_0x255145['t'],_0x560a14=_0x255145['commands']['get']('lineHeight'),_0x646a39=_0x35b92d['map'](_0x591849=>_0x591849['model']),_0x3b1341={'type':'button','model':new _0x2c545e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3b1341['model']['bind']('commandParam')['to'](_0x560a14,'value'),_0x3b1341['model']['bind']('isOn')['to'](_0x560a14,'value',_0x13a993=>!!_0x13a993&&!_0x646a39['includes'](String(_0x13a993))),_0x3b1341['model']['bind']('label')['to'](_0x560a14,'value',_0x377dac=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x377dac))),_0x3b1341;}['_registerToolbarComponent']({accessibleLabel:_0x573640,options:_0x45409f}){const _0x3555a9=this['editor'],_0x57acf0=_0x3555a9['commands']['get']('lineHeight');_0x3555a9['ui']['componentFactory']['add']('lineHeight',_0x20d723=>{const _0x39791d=_0x706400(_0x20d723);return _0x1f48b8(_0x39791d,_0x45409f,{'role':'menu','ariaLabel':_0x573640}),_0x39791d['buttonView']['set']({'label':_0x573640,'tooltip':!0x0,'icon':_0x42aafd}),_0x39791d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x39791d['bind']('isEnabled')['to'](_0x57acf0),this['listenTo'](_0x39791d,'execute',_0xebf559=>{_0x3555a9['execute'](_0xebf559['source']['commandName'],{'value':_0xebf559['source']['commandParam']}),_0x3555a9['editing']['view']['focus']();}),_0x39791d['once']('change:isOpen',()=>{const _0xfe569b=_0x39791d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x39791d,_0x45409f,_0xfe569b);}),_0x39791d;});}['_registerMenuBarComponent']({accessibleLabel:_0x3e8490,options:_0x3322a1}){const _0x2d42f1=this['editor'],_0x2a68a4=_0x2d42f1['commands']['get']('lineHeight');_0x2d42f1['ui']['componentFactory']['add']('menuBar:lineHeight',_0xf36815=>{const _0xf65e90=new _0x29a7cd(_0xf36815);_0xf65e90['buttonView']['set']({'label':_0x3e8490,'icon':_0x42aafd}),_0xf65e90['bind']('isEnabled')['to'](_0x2a68a4);const _0x1cec52=new _0x21cc89(_0xf36815);for(const _0x22167e of _0x3322a1){const _0x14b5a1=new _0x512774(_0xf36815,_0xf65e90),_0x5d2dac=new _0x5309a8(_0xf36815);_0x5d2dac['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5d2dac['bind'](...Object['keys'](_0x22167e['model']))['to'](_0x22167e['model']),_0x5d2dac['delegate']('execute')['to'](_0xf65e90),_0x5d2dac['on']('execute',()=>{_0x2d42f1['execute'](_0x22167e['model']['commandName'],{'value':_0x22167e['model']['commandParam']}),_0x2d42f1['editing']['view']['focus']();}),_0x14b5a1['children']['add'](_0x5d2dac),_0x1cec52['items']['add'](_0x14b5a1);}return _0xf65e90['panelView']['children']['add'](_0x1cec52),this['_attachCustomOptionVisibilityHandler'](_0xf65e90,_0x3322a1,_0x1cec52),_0xf65e90;});}['_attachCustomOptionVisibilityHandler'](_0x23befd,_0x1e8e93,_0xb51a55){if(!this['_shouldRenderCustomValueOption']())return;const _0x19d7eb=()=>{if(!_0x23befd['isOpen'])return;_0xb51a55['items']['last']['isVisible']=Boolean(_0x1e8e93['last']['model']['isOn']);};_0x19d7eb(),_0x23befd['on']('change:isOpen',()=>{_0x19d7eb();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5857c2,_0xaa3da5){const _0x191c87=_0xf123,_0x1a99d7=_0x5857c2();while(!![]){try{const _0x3ebe2f=-parseInt(_0x191c87(0x14e))/0x1+-parseInt(_0x191c87(0x162))/0x2+-parseInt(_0x191c87(0x151))/0x3+parseInt(_0x191c87(0x15f))/0x4*(parseInt(_0x191c87(0x14d))/0x5)+-parseInt(_0x191c87(0x148))/0x6+parseInt(_0x191c87(0x168))/0x7*(-parseInt(_0x191c87(0x15b))/0x8)+parseInt(_0x191c87(0x152))/0x9;if(_0x3ebe2f===_0xaa3da5)break;else _0x1a99d7['push'](_0x1a99d7['shift']());}catch(_0x52f000){_0x1a99d7['push'](_0x1a99d7['shift']());}}}(_0x5b58,0x38531));const v={get 'single'(){const _0x2c227c=_0xf123;return{'title':_0x2c227c(0x15c),'model':_0x2c227c(0x159),'view':{'key':_0x2c227c(0x160),'value':_0x2c227c(0x154)}};},get 'double'(){const _0x1d9814=_0xf123;return{'title':_0x1d9814(0x14b),'model':_0x1d9814(0x14a),'view':{'key':_0x1d9814(0x160),'value':_0x1d9814(0x14c)}};}};export function isLineHeightDefaultValue(_0x412056){const _0x1e98c4=_0xf123;return _0x1e98c4(0x15a)==typeof _0x412056&&_0x1e98c4(0x149)===_0x412056[_0x1e98c4(0x150)]();}export function normalizeOptions(_0x327f3a){const _0x3695ff=_0xf123;return _0x327f3a[_0x3695ff(0x163)][_0x3695ff(0x166)](_0x43ea69=>isLineHeightDefaultValue(_0x43ea69)?{'title':String(_0x327f3a[_0x3695ff(0x165)]),'model':_0x3695ff(0x149)}:(_0x3695ff(0x156)==typeof _0x43ea69&&(_0x43ea69=String(_0x43ea69)),_0x3695ff(0x15a)!=typeof _0x43ea69?_0x43ea69:parseFloat(_0x43ea69)?{'title':_0x43ea69,'model':_0x43ea69,'view':{'name':_0x3695ff(0x167),'styles':{'line-height':_0x43ea69}}}:findPreset(_0x43ea69)))[_0x3695ff(0x157)](_0x155a2e=>void 0x0!==_0x155a2e);}function _0xf123(_0x39f294,_0x22bd94){const _0x5b584e=_0x5b58();return _0xf123=function(_0xf123a0,_0x3ec5d3){_0xf123a0=_0xf123a0-0x148;let _0x3eb176=_0x5b584e[_0xf123a0];return _0x3eb176;},_0xf123(_0x39f294,_0x22bd94);}export function findPreset(_0x2cd6b2){const _0x3d8f7d=_0xf123;return _0x3d8f7d(0x15a)==typeof _0x2cd6b2?v[_0x2cd6b2]:v[_0x2cd6b2[_0x3d8f7d(0x153)]];}function _0x5b58(){const _0x43eede=['map','span','627865XeheLq','2374722DAYIwZ','default','double','Double','line-height-double','336095fAslyI','135162aiXDst','value','toLowerCase','373056AKuMND','12597165xhgnkU','model','line-height-single','line-height:','number','filter','push','single','string','32dDRZTj','Single','style','values','12qEJoow','class','view','713112WtRNJU','options','key','defaultValue'];_0x5b58=function(){return _0x43eede;};return _0x5b58();}export function buildDefinition(_0x1a44a0,_0x5ae4c7){const _0x23d7b4=_0xf123,_0x38af95={'model':{'key':_0x1a44a0,'values':[]},'view':{}};for(const _0x238003 of _0x5ae4c7)_0x23d7b4(0x160)===_0x238003[_0x23d7b4(0x161)]?.[_0x23d7b4(0x164)]?(_0x38af95[_0x23d7b4(0x153)][_0x23d7b4(0x15e)][_0x23d7b4(0x158)](_0x238003[_0x23d7b4(0x153)]),_0x38af95[_0x23d7b4(0x161)][_0x238003[_0x23d7b4(0x153)]]={'key':_0x23d7b4(0x160),'value':_0x238003[_0x23d7b4(0x161)][_0x23d7b4(0x14f)]}):(_0x38af95[_0x23d7b4(0x153)][_0x23d7b4(0x15e)][_0x23d7b4(0x158)](_0x238003[_0x23d7b4(0x153)]),_0x38af95[_0x23d7b4(0x161)][_0x238003[_0x23d7b4(0x153)]]={'key':_0x23d7b4(0x15d),'value':_0x23d7b4(0x155)+_0x238003[_0x23d7b4(0x153)]+';'});return _0x38af95;}
23
+ (function(_0x30bc13,_0x4387e3){const _0x334649=_0x4c6f,_0x419583=_0x30bc13();while(!![]){try{const _0x30cd15=-parseInt(_0x334649(0x198))/0x1+parseInt(_0x334649(0x191))/0x2+-parseInt(_0x334649(0x199))/0x3+parseInt(_0x334649(0x17e))/0x4+-parseInt(_0x334649(0x17f))/0x5+-parseInt(_0x334649(0x183))/0x6*(-parseInt(_0x334649(0x193))/0x7)+parseInt(_0x334649(0x17c))/0x8*(parseInt(_0x334649(0x18c))/0x9);if(_0x30cd15===_0x4387e3)break;else _0x419583['push'](_0x419583['shift']());}catch(_0x33fa5f){_0x419583['push'](_0x419583['shift']());}}}(_0x58e4,0xdc04e));function _0x58e4(){const _0x8de12e=['style','27766EgDrQk','filter','21onnSwS','line-height:','values','view','Single','1141622srJIfV','611286IvFqGd','single','value','default','1858128ZnWXPY','defaultValue','3423192hMBUvc','1306515bEmneP','double','options','string','2811876uONRAq','Double','push','line-height-double','model','span','map','class','line-height-single','9TUQbUu','number','key','toLowerCase'];_0x58e4=function(){return _0x8de12e;};return _0x58e4();}function _0x4c6f(_0x30630a,_0x50e8c0){const _0x58e4da=_0x58e4();return _0x4c6f=function(_0x4c6fe7,_0x53a837){_0x4c6fe7=_0x4c6fe7-0x17b;let _0x45b714=_0x58e4da[_0x4c6fe7];return _0x45b714;},_0x4c6f(_0x30630a,_0x50e8c0);}const v={get 'single'(){const _0x2a1ccd=_0x4c6f;return{'title':_0x2a1ccd(0x197),'model':_0x2a1ccd(0x19a),'view':{'key':_0x2a1ccd(0x18a),'value':_0x2a1ccd(0x18b)}};},get 'double'(){const _0x43e21f=_0x4c6f;return{'title':_0x43e21f(0x184),'model':_0x43e21f(0x180),'view':{'key':_0x43e21f(0x18a),'value':_0x43e21f(0x186)}};}};export function isLineHeightDefaultValue(_0x5627c2){const _0x5bbb14=_0x4c6f;return _0x5bbb14(0x182)==typeof _0x5627c2&&_0x5bbb14(0x17b)===_0x5627c2[_0x5bbb14(0x18f)]();}export function normalizeOptions(_0x256cc4){const _0x3e962f=_0x4c6f;return _0x256cc4[_0x3e962f(0x181)][_0x3e962f(0x189)](_0x19f8c6=>isLineHeightDefaultValue(_0x19f8c6)?{'title':String(_0x256cc4[_0x3e962f(0x17d)]),'model':_0x3e962f(0x17b)}:(_0x3e962f(0x18d)==typeof _0x19f8c6&&(_0x19f8c6=String(_0x19f8c6)),_0x3e962f(0x182)!=typeof _0x19f8c6?_0x19f8c6:parseFloat(_0x19f8c6)?{'title':_0x19f8c6,'model':_0x19f8c6,'view':{'name':_0x3e962f(0x188),'styles':{'line-height':_0x19f8c6}}}:findPreset(_0x19f8c6)))[_0x3e962f(0x192)](_0x528008=>void 0x0!==_0x528008);}export function findPreset(_0x411ab8){const _0x4763c5=_0x4c6f;return _0x4763c5(0x182)==typeof _0x411ab8?v[_0x411ab8]:v[_0x411ab8[_0x4763c5(0x187)]];}export function buildDefinition(_0x1cce9c,_0x3a8270){const _0x4aaa63=_0x4c6f,_0x4942f2={'model':{'key':_0x1cce9c,'values':[]},'view':{}};for(const _0x14dced of _0x3a8270)_0x4aaa63(0x18a)===_0x14dced[_0x4aaa63(0x196)]?.[_0x4aaa63(0x18e)]?(_0x4942f2[_0x4aaa63(0x187)][_0x4aaa63(0x195)][_0x4aaa63(0x185)](_0x14dced[_0x4aaa63(0x187)]),_0x4942f2[_0x4aaa63(0x196)][_0x14dced[_0x4aaa63(0x187)]]={'key':_0x4aaa63(0x18a),'value':_0x14dced[_0x4aaa63(0x196)][_0x4aaa63(0x19b)]}):(_0x4942f2[_0x4aaa63(0x187)][_0x4aaa63(0x195)][_0x4aaa63(0x185)](_0x14dced[_0x4aaa63(0x187)]),_0x4942f2[_0x4aaa63(0x196)][_0x14dced[_0x4aaa63(0x187)]]={'key':_0x4aaa63(0x190),'value':_0x4aaa63(0x194)+_0x14dced[_0x4aaa63(0x187)]+';'});return _0x4942f2;}