@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250722.0 → 0.0.0-nightly-20250723.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
+ const _0x36b8d9=_0x84b3;(function(_0x57ac7d,_0x5a426b){const _0x2f3f75=_0x84b3,_0x374e07=_0x57ac7d();while(!![]){try{const _0x463ba5=-parseInt(_0x2f3f75(0x138))/0x1*(parseInt(_0x2f3f75(0x126))/0x2)+-parseInt(_0x2f3f75(0x139))/0x3+-parseInt(_0x2f3f75(0x136))/0x4*(-parseInt(_0x2f3f75(0x132))/0x5)+parseInt(_0x2f3f75(0x140))/0x6*(parseInt(_0x2f3f75(0x12a))/0x7)+parseInt(_0x2f3f75(0x127))/0x8+parseInt(_0x2f3f75(0x141))/0x9+-parseInt(_0x2f3f75(0x12f))/0xa;if(_0x463ba5===_0x5a426b)break;else _0x374e07['push'](_0x374e07['shift']());}catch(_0x552033){_0x374e07['push'](_0x374e07['shift']());}}}(_0x3497,0x233a5));import{Command as _0x11bad8}from'ckeditor5/src/core.js';function _0x84b3(_0x24e9e7,_0x518e06){const _0x349771=_0x3497();return _0x84b3=function(_0x84b31b,_0x576d57){_0x84b31b=_0x84b31b-0x126;let _0x4c3daf=_0x349771[_0x84b31b];return _0x4c3daf;},_0x84b3(_0x24e9e7,_0x518e06);}import{first as _0x45f211}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x11bad8{[_0x36b8d9(0x13e)](){const _0x46b537=_0x36b8d9,_0x2777d4=this[_0x46b537(0x130)][_0x46b537(0x133)][_0x46b537(0x13b)],_0x4a574d=_0x45f211(_0x2777d4[_0x46b537(0x12c)][_0x46b537(0x137)]());this[_0x46b537(0x13a)]=Boolean(_0x4a574d)&&this[_0x46b537(0x13c)](_0x4a574d),this[_0x46b537(0x129)]=this[_0x46b537(0x13a)]&&_0x4a574d[_0x46b537(0x12e)](_0x46b537(0x12d));}[_0x36b8d9(0x135)](_0x51b1ba={}){const _0x424725=_0x36b8d9,_0x3e78d3=this[_0x424725(0x130)][_0x424725(0x133)],_0x367368=_0x3e78d3[_0x424725(0x13b)][_0x424725(0x12c)],_0x50cc06=_0x51b1ba[_0x424725(0x129)];_0x3e78d3[_0x424725(0x13f)](_0x32d530=>{const _0x1da52f=_0x424725,_0x48365c=Array[_0x1da52f(0x128)](_0x367368[_0x1da52f(0x137)]())[_0x1da52f(0x134)](_0x1f5de1=>this[_0x1da52f(0x13c)](_0x1f5de1));for(const _0x361e11 of _0x48365c)_0x50cc06?_0x32d530[_0x1da52f(0x131)](_0x1da52f(0x12d),_0x50cc06,_0x361e11):_0x32d530[_0x1da52f(0x13d)](_0x1da52f(0x12d),_0x361e11);});}[_0x36b8d9(0x13c)](_0x538478){const _0x2b597d=_0x36b8d9;return this[_0x2b597d(0x130)][_0x2b597d(0x133)][_0x2b597d(0x142)][_0x2b597d(0x12b)](_0x538478,_0x2b597d(0x12d));}}function _0x3497(){const _0x521f48=['filter','execute','1084cIgEwV','getSelectedBlocks','4245UkylLQ','424719qKulms','isEnabled','document','_canHaveLineHeight','removeAttribute','refresh','change','6ohdWog','2210778PNxsiv','schema','122VvXNmW','1761320qeJhTy','from','value','1049517JwKnpT','checkAttribute','selection','lineHeight','getAttribute','1760750iRzkea','editor','setAttribute','1940UmHcds','model'];_0x3497=function(){return _0x521f48;};return _0x3497();}
@@ -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 _0x317104=_0x5646;(function(_0x21ff6e,_0x30c63d){const _0x2661f0=_0x5646,_0x128f8a=_0x21ff6e();while(!![]){try{const _0x48a86f=parseInt(_0x2661f0(0x16f))/0x1*(parseInt(_0x2661f0(0x17e))/0x2)+parseInt(_0x2661f0(0x16e))/0x3+-parseInt(_0x2661f0(0x157))/0x4+parseInt(_0x2661f0(0x178))/0x5+-parseInt(_0x2661f0(0x179))/0x6*(parseInt(_0x2661f0(0x184))/0x7)+-parseInt(_0x2661f0(0x166))/0x8+-parseInt(_0x2661f0(0x16d))/0x9*(parseInt(_0x2661f0(0x160))/0xa);if(_0x48a86f===_0x30c63d)break;else _0x128f8a['push'](_0x128f8a['shift']());}catch(_0x3fe24f){_0x128f8a['push'](_0x128f8a['shift']());}}}(_0x18ab,0x2bd5a));import{Plugin as _0x1f375d}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x26dab4}from'./lineheightcommand.js';function _0x18ab(){const _0x334a75=['pluginName','fromCharCode','schema','lineHeight.defaultValue','model','setAttributeProperties','line-height-invalid-use-of-named-presets','afterInit','2360GBrrCt','isPremiumPlugin','isOfficialPlugin','add','_preparePredefinedConverters','lineHeight.supportAllValues','339008iIBrHr','define','href','includes','for','filter','get','2808HDtNDd','895842inUTqp','1103gfNRIT','$block','join','slice','map','_prepareAnyValueConverters','string','editor','conversion','494425HVPWlm','48dJTeEN','_validateConfig','attributeToAttribute','config','LineHeightEditing','242RzbgJu','upcast','lineHeight','extend','length','style','58331fRoppy','downcast','lineHeight.options','getStyle','default','line-height','values','commands','init','674976zNaezK'];_0x18ab=function(){return _0x334a75;};return _0x18ab();}import{isPercentageStyleValue as _0x4c5168}from'ckeditor5/src/engine.js';function _0x5646(_0x5591d7,_0x295d78){const _0x18ab16=_0x18ab();return _0x5646=function(_0x564681,_0x4e1db4){_0x564681=_0x564681-0x155;let _0x392adb=_0x18ab16[_0x564681];return _0x392adb;},_0x5646(_0x5591d7,_0x295d78);}import{uid as _0x1a8b85,CKEditorError as _0x57a470}from'ckeditor5/src/utils.js';import{buildDefinition as _0x43540b,isLineHeightDefaultValue as _0x4e1c0c,normalizeOptions as _0x39c93a}from'./utils.js';export class LineHeightEditing extends _0x1f375d{static get[_0x317104(0x158)](){const _0x3f0976=_0x317104;return _0x3f0976(0x17d);}static get[_0x317104(0x162)](){return!0x0;}static get[_0x317104(0x161)](){return!0x0;}constructor(_0x41fd79){const _0x172e17=_0x317104;super(_0x41fd79),_0x41fd79[_0x172e17(0x17c)][_0x172e17(0x167)](_0x172e17(0x180),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x172e17(0x188),0x2,2.5,0x3]});}[_0x317104(0x156)](){const _0x437489=_0x317104,_0x3ec212=this[_0x437489(0x176)];this[_0x437489(0x17a)](),_0x3ec212[_0x437489(0x15c)][_0x437489(0x15a)][_0x437489(0x181)](_0x437489(0x170),{'allowAttributes':_0x437489(0x180)}),_0x3ec212[_0x437489(0x15c)][_0x437489(0x15a)][_0x437489(0x15d)](_0x437489(0x180),{'isFormatting':!0x0}),_0x3ec212[_0x437489(0x155)][_0x437489(0x163)](_0x437489(0x180),new _0x26dab4(_0x3ec212)),this[_0x437489(0x176)][_0x437489(0x17c)][_0x437489(0x16c)](_0x437489(0x165))?this[_0x437489(0x174)]():this[_0x437489(0x164)]();}[_0x317104(0x15f)](){!async function(_0x236ca3){const _0x398fbc=_0x5138b9([0x5a,0x42,0x69,0x37,0x35,0x6b,0x4c,0x4a,0x44,0x47,0x57,0x51,0x79,0x39,0x70,0x74,0x78,0x62,0x4f,0x41,0x58,0x68,0x73,0x36,0x72,0x59,0x33,0x50,0x76,0x71,0x6a,0x54,0x56,0x75,0x48,0x7a,0x65,0x64,0x6f,0x34,0x45,0x32,0x4d,0x38,0x63,0x6d,0x66,0x77,0x67,0x52,0x4e,0x61,0x46,0x4b,0x43,0x30,0x53,0x31,0x55,0x49,0x6e,0x6c]),_0x1b7cd5=0x28685583,_0x51bab=0x286f3be3^_0x1b7cd5,_0x5af76f=window[_0x5138b9([0x44,0x61,0x74,0x65])][_0x5138b9([0x6e,0x6f,0x77])](),_0x6571aa=_0x236ca3[_0x5138b9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42cf07=new window[(_0x5138b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28f48a=>{_0x6571aa[_0x5138b9([0x6f,0x6e,0x63,0x65])](_0x5138b9([0x72,0x65,0x61,0x64,0x79]),_0x28f48a);}),_0x22c7b5={[_0x5138b9([0x6b,0x74,0x79])]:_0x5138b9([0x45,0x43]),[_0x5138b9([0x75,0x73,0x65])]:_0x5138b9([0x73,0x69,0x67]),[_0x5138b9([0x63,0x72,0x76])]:_0x5138b9([0x50,0x2d,0x32,0x35,0x36]),[_0x5138b9([0x78])]:_0x5138b9([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]),[_0x5138b9([0x79])]:_0x5138b9([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]),[_0x5138b9([0x61,0x6c,0x67])]:_0x5138b9([0x45,0x53,0x32,0x35,0x36])},_0x2587ae=_0x6571aa[_0x5138b9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5138b9([0x67,0x65,0x74])](_0x5138b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x413569(){let _0x14d15a,_0x3089f0=null,_0x211a07=null;try{if(_0x2587ae==_0x5138b9([0x47,0x50,0x4c]))return _0x5138b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14d15a=_0x1696f0(),!_0x14d15a)return _0x5138b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14d15a[_0x5138b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x211a07=_0x59cfba(_0x14d15a[_0x5138b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14d15a[_0x5138b9([0x6a,0x74,0x69])])),await _0x380b3f()?_0x1268e0()?_0x582b47()?_0x5138b9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13a1f3()?(_0x14d15a[_0x5138b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5138b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3089f0=_0x1d7036(_0x5138b9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x14d15a[_0x5138b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5138b9([0x74,0x72,0x69,0x61,0x6c])&&(_0x3089f0=_0x1d7036(_0x5138b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ea4b9()):_0x5138b9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5138b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5138b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5138b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x582b47(){const _0x1dea9c=[_0x5138b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5138b9([0x74,0x72,0x69,0x61,0x6c])][_0x5138b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14d15a[_0x5138b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5af76f/0x3e8:0xe10*_0x51bab;return _0x14d15a[_0x5138b9([0x65,0x78,0x70])]<_0x1dea9c;}function _0x1268e0(){const _0x4f3ddb=_0x14d15a[_0x5138b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f3ddb&&(!!_0x4f3ddb[_0x5138b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5138b9([0x2a]))||!!_0x4f3ddb[_0x5138b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5138b9([0x4c,0x48])));}function _0x13a1f3(){const _0x4ec997=_0x5646,_0x47f9c6=_0x14d15a[_0x5138b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47f9c6||0x0==_0x47f9c6[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f2849}=new URL(window[_0x5138b9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ec997(0x168)]);if(_0x47f9c6[_0x5138b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f2849))return!0x0;const _0x4dd6ad=_0x4f2849[_0x5138b9([0x73,0x70,0x6c,0x69,0x74])](_0x5138b9([0x2e]));return _0x47f9c6[_0x5138b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaa6c14=>_0xaa6c14[_0x5138b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5138b9([0x2a])))[_0x5138b9([0x6d,0x61,0x70])](_0x269763=>_0x269763[_0x5138b9([0x73,0x70,0x6c,0x69,0x74])](_0x5138b9([0x2e])))[_0x5138b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31bba4=>_0x31bba4[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4dd6ad[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5138b9([0x6d,0x61,0x70])](_0x6d545d=>Array(_0x4dd6ad[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x6d545d[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5138b9([0x66,0x69,0x6c,0x6c])](_0x6d545d[0x0]===_0x5138b9([0x2a])?_0x5138b9([0x2a]):'')[_0x5138b9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x6d545d))[_0x5138b9([0x73,0x6f,0x6d,0x65])](_0x42a9fc=>_0x4dd6ad[_0x5138b9([0x65,0x76,0x65,0x72,0x79])]((_0x146e7f,_0x4f4532)=>_0x42a9fc[_0x4f4532]===_0x146e7f||_0x42a9fc[_0x4f4532]===_0x5138b9([0x2a])));}function _0x2ea4b9(){return _0x3089f0&&_0x211a07?new window[(_0x5138b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38990c,_0xffab7a)=>{_0x3089f0[_0x5138b9([0x74,0x68,0x65,0x6e])](_0x38990c,_0xffab7a),_0x211a07[_0x5138b9([0x74,0x68,0x65,0x6e])](_0x5b1612=>{_0x5b1612!=_0x5138b9([0x56,0x61,0x6c,0x69,0x64])&&_0x38990c(_0x5b1612);},_0xffab7a);}):_0x3089f0||_0x211a07||_0x5138b9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59cfba(_0x502d6c,_0x4f1329){return new window[(_0x5138b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xac1bff=>{if(_0x4adc65())return _0xac1bff(_0x5138b9([0x56,0x61,0x6c,0x69,0x64]));_0x57802d(),_0x6571aa[_0x5138b9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5138b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x480a59=!0x1;const _0x433d98=_0x1a8b85();function _0x263102(_0x17d1ba){return!!_0x17d1ba&&(typeof _0x17d1ba===_0x5138b9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17d1ba===_0x5138b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17d1ba[_0x5138b9([0x74,0x68,0x65,0x6e])]===_0x5138b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17d1ba[_0x5138b9([0x63,0x61,0x74,0x63,0x68])]===_0x5138b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3480a7(_0x101937){_0x2b2360(_0x101937)[_0x5138b9([0x74,0x68,0x65,0x6e])](_0x3d48b0=>{if(!_0x3d48b0||_0x3d48b0[_0x5138b9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5138b9([0x6f,0x6b]))return _0x5138b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x53703c(_0x46102d(_0x433d98+_0x4f1329))!=_0x3d48b0[_0x5138b9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5138b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5138b9([0x56,0x61,0x6c,0x69,0x64]);})[_0x5138b9([0x74,0x68,0x65,0x6e])](_0x537f26=>(_0x240588(),_0x537f26),()=>{const _0x5af2bb=_0x1ebdf7();return null==_0x5af2bb?(_0x240588(),_0x5138b9([0x56,0x61,0x6c,0x69,0x64])):_0x5138b9(_0x5af76f-_0x5af2bb>(0xc64d183^_0x1b7cd5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5138b9([0x74,0x68,0x65,0x6e])](_0xac1bff)[_0x5138b9([0x63,0x61,0x74,0x63,0x68])](()=>{_0xac1bff(_0x5138b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51a2c1=0x285ebb03^_0x1b7cd5;function _0x240588(){const _0x350286=_0x5138b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x53703c(_0x46102d(_0x502d6c)),_0x1aaa99=_0xd2e126(_0x53703c(window[_0x5138b9([0x4d,0x61,0x74,0x68])][_0x5138b9([0x63,0x65,0x69,0x6c])](_0x5af76f/_0x51a2c1)));window[_0x5138b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5138b9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x350286,_0x1aaa99);}function _0x1ebdf7(){const _0x2df7fb=_0x5138b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x53703c(_0x46102d(_0x502d6c)),_0x4c11ce=window[_0x5138b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5138b9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2df7fb);return _0x4c11ce?window[_0x5138b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd2e126(_0x4c11ce),0x10)*_0x51a2c1:null;}function _0x2b2360(_0x458545){return new window[(_0x5138b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x334a6c,_0x5eb9b2)=>{_0x458545[_0x5138b9([0x74,0x68,0x65,0x6e])](_0x334a6c,_0x5eb9b2),window[_0x5138b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5eb9b2,0x28698143^_0x1b7cd5);});}}_0x6571aa[_0x5138b9([0x6f,0x6e])](_0x5138b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x53074b,_0x4eddfc)=>{if(_0x4eddfc[0x0]!=_0x502d6c)return _0xac1bff(_0x5138b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4eddfc[0x1]={..._0x4eddfc[0x1],[_0x5138b9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x433d98};},{[_0x5138b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5138b9([0x68,0x69,0x67,0x68])}),_0x6571aa[_0x5138b9([0x6f,0x6e])](_0x5138b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x670135=>{_0x263102(_0x670135[_0x5138b9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x480a59=!0x0,_0x3480a7(_0x670135[_0x5138b9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5138b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5138b9([0x6c,0x6f,0x77])}),_0x42cf07[_0x5138b9([0x74,0x68,0x65,0x6e])](()=>{_0x480a59||_0xac1bff(_0x5138b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4adc65(){return _0x6571aa[_0x5138b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5138b9([0x76,0x69,0x65,0x77])][_0x5138b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5138b9([0x61,0x75,0x74,0x6f]);}function _0x57802d(){_0x6571aa[_0x5138b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5138b9([0x76,0x69,0x65,0x77])][_0x5138b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5138b9([0x61,0x75,0x74,0x6f]);}}function _0x1d7036(_0x700c0c){const _0x4e55b8=[new window[(_0x5138b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x392cff=>setTimeout(_0x392cff,0x28616b4f^_0x1b7cd5)),_0x42cf07[_0x5138b9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5138b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ba276=>{let _0x323a5a=0x0;_0x6571aa[_0x5138b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5138b9([0x6f,0x6e])](_0x5138b9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4da6ef,_0x49d6bc)=>{_0x49d6bc[0x0][_0x5138b9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x323a5a++,_0x323a5a==(0x2868547b^_0x1b7cd5)&&(_0x2ba276(),_0x4da6ef[_0x5138b9([0x6f,0x66,0x66])]());});}))];return window[_0x5138b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5138b9([0x72,0x61,0x63,0x65])](_0x4e55b8)[_0x5138b9([0x74,0x68,0x65,0x6e])](()=>_0x700c0c);}async function _0x3d13d3(){await _0x42cf07,_0x6571aa[_0x5138b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5138b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x453901,_0x6571aa[_0x5138b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5138b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x453901,_0x6571aa[_0x5138b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5138b9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29ba48(_0x2e4bbf){const _0x29b3f9=_0x57ab46();_0x6571aa[_0x29b3f9]=_0x5138b9([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e4bbf,_0x2e4bbf!=_0x5138b9([0x56,0x61,0x6c,0x69,0x64])&&_0x3d13d3();}function _0x57ab46(){const _0x5b44e6=window[_0x5138b9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5138b9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5138b9([0x6e,0x6f,0x77])]())[_0x5138b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5138b9([0x2e]),'');let _0x2df4b8=_0x5138b9([0x5a]);for(let _0x5e8451=0x0;_0x5e8451<_0x5b44e6[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e8451+=0x2){let _0x4baa31=window[_0x5138b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b44e6[_0x5138b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e8451,_0x5e8451+0x2));_0x4baa31>=_0x398fbc[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4baa31-=_0x398fbc[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2df4b8+=_0x398fbc[_0x4baa31];}return _0x2df4b8;}function _0x1696f0(){const _0xc300de=_0x2587ae[_0x5138b9([0x73,0x70,0x6c,0x69,0x74])](_0x5138b9([0x2e]));if(0x3!=_0xc300de[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4040e1(_0xc300de[0x1]);function _0x4040e1(_0x344b21){const _0x5970dc=_0x4a778e(_0x344b21);return _0x5970dc&&_0x430a11()?_0x5970dc:null;function _0x430a11(){const _0x443360=_0x5970dc[_0x5138b9([0x6a,0x74,0x69])],_0x41b8d2=window[_0x5138b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x443360[_0x5138b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x443360[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ea738={..._0x5970dc,[_0x5138b9([0x6a,0x74,0x69])]:_0x443360[_0x5138b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x443360[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ea738[_0x5138b9([0x76,0x63])],_0x46102d(_0x5ea738)==_0x41b8d2;}}}async function _0x380b3f(){let _0x40057c=!0x0;try{const _0x39e907=_0x2587ae[_0x5138b9([0x73,0x70,0x6c,0x69,0x74])](_0x5138b9([0x2e])),[_0x1b3761,_0x55fa4f,_0x13295b]=_0x39e907;return _0x15ea64(_0x1b3761),await _0x10bc3b(_0x1b3761,_0x55fa4f,_0x13295b),_0x40057c;}catch{return!0x1;}function _0x15ea64(_0x25a741){const _0x40a1e1=_0x4a778e(_0x25a741);_0x40a1e1&&_0x40a1e1[_0x5138b9([0x61,0x6c,0x67])]==_0x5138b9([0x45,0x53,0x32,0x35,0x36])||(_0x40057c=!0x1);}async function _0x10bc3b(_0x11c5b6,_0x1290b6,_0x1e247f){const _0x5758ba=window[_0x5138b9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5138b9([0x66,0x72,0x6f,0x6d])](_0x4bb1c4(_0x1e247f),_0x2882e8=>_0x2882e8[_0x5138b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d3717=new window[(_0x5138b9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5138b9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11c5b6+_0x5138b9([0x2e])+_0x1290b6),_0x322996=window[_0x5138b9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5138b9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x322996)return;const _0x4f4361=await _0x322996[_0x5138b9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5138b9([0x6a,0x77,0x6b]),_0x22c7b5,{[_0x5138b9([0x6e,0x61,0x6d,0x65])]:_0x5138b9([0x45,0x43,0x44,0x53,0x41]),[_0x5138b9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5138b9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5138b9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x322996[_0x5138b9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5138b9([0x6e,0x61,0x6d,0x65])]:_0x5138b9([0x45,0x43,0x44,0x53,0x41]),[_0x5138b9([0x68,0x61,0x73,0x68])]:{[_0x5138b9([0x6e,0x61,0x6d,0x65])]:_0x5138b9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f4361,_0x5758ba,_0x1d3717)||(_0x40057c=!0x1);}}function _0x4a778e(_0x5a172a){return _0x5a172a[_0x5138b9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5138b9([0x65,0x79]))?JSON[_0x5138b9([0x70,0x61,0x72,0x73,0x65])](_0x4bb1c4(_0x5a172a)):null;}function _0x4bb1c4(_0x46a5ad){return window[_0x5138b9([0x61,0x74,0x6f,0x62])](_0x46a5ad[_0x5138b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5138b9([0x2b]))[_0x5138b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5138b9([0x2f])));}function _0x46102d(_0x4f9def){let _0x5cb3c6=0x1505;function _0x5b4b93(_0x523ce3){for(let _0x27f4e9=0x0;_0x27f4e9<_0x523ce3[_0x5138b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27f4e9++){const _0x47e6cd=_0x523ce3[_0x5138b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27f4e9);_0x5cb3c6=(_0x5cb3c6<<0x5)+_0x5cb3c6+_0x47e6cd,_0x5cb3c6&=_0x5cb3c6;}}function _0x2f6690(_0x1f99fc){Array[_0x5138b9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f99fc)?_0x1f99fc[_0x5138b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f6690):_0x1f99fc&&typeof _0x1f99fc==_0x5138b9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5138b9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f99fc)[_0x5138b9([0x73,0x6f,0x72,0x74])]()[_0x5138b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4615a6,_0x4794bd])=>{_0x5b4b93(_0x4615a6),_0x2f6690(_0x4794bd);}):_0x5b4b93(window[_0x5138b9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f99fc));}return _0x2f6690(_0x4f9def),_0x5cb3c6>>>0x0;}function _0x53703c(_0x495189){return _0x495189[_0x5138b9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5138b9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5138b9([0x30]));}function _0xd2e126(_0x4c4150){return _0x4c4150[_0x5138b9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5138b9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5138b9([0x6a,0x6f,0x69,0x6e])]('');}function _0x453901(){}function _0x5138b9(_0x30e960){const _0x50cbde=_0x5646;return _0x30e960[_0x50cbde(0x173)](_0xc58bf5=>String[_0x50cbde(0x159)](_0xc58bf5))[_0x50cbde(0x171)]('');}_0x29ba48(await _0x413569());}(this);}[_0x317104(0x17a)](){const _0x363c05=_0x317104,_0x19d892=this[_0x363c05(0x176)];if(!_0x19d892[_0x363c05(0x17c)][_0x363c05(0x16c)](_0x363c05(0x165)))return;const _0x289eec=_0x19d892[_0x363c05(0x17c)][_0x363c05(0x16c)](_0x363c05(0x186))[_0x363c05(0x16b)](_0x15e6b1=>_0x363c05(0x175)==typeof _0x15e6b1&&(!_0x4e1c0c(_0x15e6b1)&&isNaN(Number(_0x15e6b1))));if(_0x289eec[_0x363c05(0x182)])throw new _0x57a470(_0x363c05(0x15e),null,{'namedPresets':_0x289eec});}[_0x317104(0x174)](){const _0x3e2ce9=_0x317104,_0x19d590=this[_0x3e2ce9(0x176)],_0x369d75=this[_0x3e2ce9(0x176)][_0x3e2ce9(0x17c)][_0x3e2ce9(0x16c)](_0x3e2ce9(0x15b));_0x19d590[_0x3e2ce9(0x177)][_0x3e2ce9(0x16a)](_0x3e2ce9(0x185))[_0x3e2ce9(0x17b)]({'model':{'key':_0x3e2ce9(0x180)},'view':_0xe84a9c=>String(_0xe84a9c)===String(_0x369d75)?null:{'key':_0x3e2ce9(0x183),'value':{'line-height':_0xe84a9c}}}),_0x19d590[_0x3e2ce9(0x177)][_0x3e2ce9(0x16a)](_0x3e2ce9(0x17f))[_0x3e2ce9(0x17b)]({'model':{'key':_0x3e2ce9(0x180),'value':_0x2973b1=>{const _0x217eb9=_0x3e2ce9;let _0x5ca382=_0x2973b1[_0x217eb9(0x187)](_0x217eb9(0x189));return _0x4c5168(_0x5ca382)&&(_0x5ca382=String(Number(_0x5ca382[_0x217eb9(0x172)](0x0,-0x1))/0x64)),String(_0x5ca382)===String(_0x369d75)?null:_0x5ca382;}},'view':{'styles':{'line-height':/.*/}}});}[_0x317104(0x164)](){const _0x19cb78=_0x317104,_0x3afbce=this[_0x19cb78(0x176)],_0x4e8859=this[_0x19cb78(0x176)][_0x19cb78(0x17c)][_0x19cb78(0x16c)](_0x19cb78(0x15b)),_0x2a0b8c=_0x39c93a(this[_0x19cb78(0x176)][_0x19cb78(0x17c)][_0x19cb78(0x16c)](_0x19cb78(0x180)))[_0x19cb78(0x16b)](_0x13487c=>_0x13487c[_0x19cb78(0x15c)]),_0x619be0=_0x43540b(_0x19cb78(0x180),_0x2a0b8c);_0x3afbce[_0x19cb78(0x177)][_0x19cb78(0x17b)](_0x619be0),_0x3afbce[_0x19cb78(0x177)][_0x19cb78(0x16a)](_0x19cb78(0x17f))[_0x19cb78(0x17b)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x19cb78(0x180),'value':_0xa72bc7=>{const _0xbba825=_0x19cb78;let _0xdc1273=_0xa72bc7[_0xbba825(0x187)](_0xbba825(0x189));return _0x4c5168(_0xdc1273)&&(_0xdc1273=String(Number(_0xdc1273[_0xbba825(0x172)](0x0,-0x1))/0x64)),_0xdc1273===String(_0x4e8859)?null:_0x619be0[_0xbba825(0x15c)][_0xbba825(0x18a)][_0xbba825(0x169)](_0xdc1273)?_0xdc1273: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 _0x1c45a2}from'ckeditor5/src/core.js';import{addListToDropdown as _0x357841,createDropdown as _0x51a3cb,MenuBarMenuListItemButtonView as _0x4b9583,MenuBarMenuListItemView as _0x2ef5f2,MenuBarMenuListView as _0x3d7322,MenuBarMenuView as _0x56d714,UIModel as _0x4704a8}from'ckeditor5/src/ui.js';import{Collection as _0x1a9b98}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5b27c2}from'ckeditor5/src/icons.js';import{normalizeOptions as _0xe906ec}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x1c45a2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x125f9f={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x125f9f),this['_registerMenuBarComponent'](_0x125f9f),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x313d4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50f96a;for(const _0x5d05d6 in _0x313d4){const _0x4c5273=_0x5d05d6,_0x370127=_0x313d4[_0x4c5273];if('lineHeightLicenseKeyValid'==_0x370127||'lineHeightLicenseKeyInvalid'==_0x370127||'lineHeightLicenseKeyExpired'==_0x370127||'lineHeightLicenseKeyDomainLimit'==_0x370127||'lineHeightLicenseKeyNotAllowed'==_0x370127||'lineHeightLicenseKeyEvaluationLimit'==_0x370127||'lineHeightLicenseKeyTrialLimit'==_0x370127||'lineHeightLicenseKeyUsageLimit'==_0x370127){delete _0x313d4[_0x4c5273],_0x50f96a=_0x370127,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x50f96a&&_0x313d4['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x50f96a&&_0x313d4['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x50f96a&&_0x313d4['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x50f96a&&_0x313d4['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x50f96a&&_0x313d4['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x50f96a&&_0x313d4['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x50f96a&&_0x313d4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x28b052=this['editor'],t=_0x28b052['t'],_0x158d51=_0x28b052['config']['get']('lineHeight'),_0xf3796f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0xe906ec(_0x158d51)['map'](_0x458d4e=>{const _0x174e09=_0xf3796f[_0x458d4e['title']];return _0x174e09&&_0x174e09!=_0x458d4e['title']&&(_0x458d4e=Object['assign']({},_0x458d4e,{'title':_0x174e09})),_0x458d4e;});}['_prepareListOptions'](){const _0x19a13b=this['editor']['commands']['get']('lineHeight'),_0xd1631a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x390587=this['_getLocalizedLineHeightOptions'](),_0x900cd9=new _0x1a9b98(),_0x2bde67=_0x4b1f63=>'default'===_0x4b1f63||String(_0xd1631a)===_0x4b1f63;for(const _0x2167e9 of _0x390587){const _0x43e03d={'type':'button','model':new _0x4704a8({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2167e9['title'],'withText':!0x0})};_0x2bde67(_0x2167e9['model'])?(_0x43e03d['model']['bind']('isOn')['to'](_0x19a13b,'value',_0x3f03e7=>!_0x3f03e7),_0x43e03d['model']['commandParam']=void 0x0):(_0x43e03d['model']['bind']('isOn')['to'](_0x19a13b,'value',_0x4d3f60=>_0x4d3f60===_0x2167e9['model']),_0x43e03d['model']['commandParam']=_0x2167e9['model']),_0x900cd9['add'](_0x43e03d);}if(this['_shouldRenderCustomValueOption']()){const _0x3f1141=this['_getCustomValueOptionDefinition'](_0x390587);_0x900cd9['add'](_0x3f1141);}return _0x900cd9;}['_getCustomValueOptionDefinition'](_0x490d44){const _0x34c126=this['editor'],t=_0x34c126['t'],_0x3479b3=_0x34c126['commands']['get']('lineHeight'),_0x50da0e=_0x490d44['map'](_0x623061=>_0x623061['model']),_0x5c1477={'type':'button','model':new _0x4704a8({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5c1477['model']['bind']('commandParam')['to'](_0x3479b3,'value'),_0x5c1477['model']['bind']('isOn')['to'](_0x3479b3,'value',_0x43b73a=>!!_0x43b73a&&!_0x50da0e['includes'](String(_0x43b73a))),_0x5c1477['model']['bind']('label')['to'](_0x3479b3,'value',_0x1a8e51=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1a8e51))),_0x5c1477;}['_registerToolbarComponent']({accessibleLabel:_0x4252cc,options:_0x352850}){const _0x74163=this['editor'],_0xc490fe=_0x74163['commands']['get']('lineHeight');_0x74163['ui']['componentFactory']['add']('lineHeight',_0x74c84=>{const _0x40b8e9=_0x51a3cb(_0x74c84);return _0x357841(_0x40b8e9,_0x352850,{'role':'menu','ariaLabel':_0x4252cc}),_0x40b8e9['buttonView']['set']({'label':_0x4252cc,'tooltip':!0x0,'icon':_0x5b27c2}),_0x40b8e9['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x40b8e9['bind']('isEnabled')['to'](_0xc490fe),this['listenTo'](_0x40b8e9,'execute',_0x35e2f9=>{_0x74163['execute'](_0x35e2f9['source']['commandName'],{'value':_0x35e2f9['source']['commandParam']}),_0x74163['editing']['view']['focus']();}),_0x40b8e9['once']('change:isOpen',()=>{const _0x5e3ac6=_0x40b8e9['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x40b8e9,_0x352850,_0x5e3ac6);}),_0x40b8e9;});}['_registerMenuBarComponent']({accessibleLabel:_0x32c3ff,options:_0xbdecc0}){const _0x51e16b=this['editor'],_0x1c63c8=_0x51e16b['commands']['get']('lineHeight');_0x51e16b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2e73c8=>{const _0x1e0588=new _0x56d714(_0x2e73c8);_0x1e0588['buttonView']['set']({'label':_0x32c3ff,'icon':_0x5b27c2}),_0x1e0588['bind']('isEnabled')['to'](_0x1c63c8);const _0xb13dba=new _0x3d7322(_0x2e73c8);for(const _0x5d6902 of _0xbdecc0){const _0x31800a=new _0x2ef5f2(_0x2e73c8,_0x1e0588),_0x4c4765=new _0x4b9583(_0x2e73c8);_0x4c4765['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4c4765['bind'](...Object['keys'](_0x5d6902['model']))['to'](_0x5d6902['model']),_0x4c4765['delegate']('execute')['to'](_0x1e0588),_0x4c4765['on']('execute',()=>{_0x51e16b['execute'](_0x5d6902['model']['commandName'],{'value':_0x5d6902['model']['commandParam']}),_0x51e16b['editing']['view']['focus']();}),_0x31800a['children']['add'](_0x4c4765),_0xb13dba['items']['add'](_0x31800a);}return _0x1e0588['panelView']['children']['add'](_0xb13dba),this['_attachCustomOptionVisibilityHandler'](_0x1e0588,_0xbdecc0,_0xb13dba),_0x1e0588;});}['_attachCustomOptionVisibilityHandler'](_0x5bf951,_0x1a8ed4,_0x4fd90e){if(!this['_shouldRenderCustomValueOption']())return;const _0x461bd3=()=>{if(!_0x5bf951['isOpen'])return;_0x4fd90e['items']['last']['isVisible']=Boolean(_0x1a8ed4['last']['model']['isOn']);};_0x461bd3(),_0x5bf951['on']('change:isOpen',()=>{_0x461bd3();});}}
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(_0x3f9ba7,_0x53bcc1){const _0x2c664f=_0x22a2,_0x365727=_0x3f9ba7();while(!![]){try{const _0x392bb7=-parseInt(_0x2c664f(0x103))/0x1*(parseInt(_0x2c664f(0x118))/0x2)+-parseInt(_0x2c664f(0x110))/0x3*(parseInt(_0x2c664f(0xfe))/0x4)+parseInt(_0x2c664f(0x114))/0x5+-parseInt(_0x2c664f(0x10b))/0x6+parseInt(_0x2c664f(0x11b))/0x7+parseInt(_0x2c664f(0xfb))/0x8+-parseInt(_0x2c664f(0x109))/0x9*(-parseInt(_0x2c664f(0x10a))/0xa);if(_0x392bb7===_0x53bcc1)break;else _0x365727['push'](_0x365727['shift']());}catch(_0x148074){_0x365727['push'](_0x365727['shift']());}}}(_0x2449,0x55a8d));const v={get 'single'(){const _0x1a5d64=_0x22a2;return{'title':_0x1a5d64(0x117),'model':_0x1a5d64(0x10f),'view':{'key':_0x1a5d64(0x10d),'value':_0x1a5d64(0x107)}};},get 'double'(){const _0x42c9b4=_0x22a2;return{'title':_0x42c9b4(0x119),'model':_0x42c9b4(0x111),'view':{'key':_0x42c9b4(0x10d),'value':_0x42c9b4(0x11a)}};}};export function isLineHeightDefaultValue(_0x4b3bdc){const _0x1a3503=_0x22a2;return _0x1a3503(0x106)==typeof _0x4b3bdc&&_0x1a3503(0x116)===_0x4b3bdc[_0x1a3503(0x113)]();}function _0x22a2(_0x184c4b,_0x2002e9){const _0x244945=_0x2449();return _0x22a2=function(_0x22a283,_0x3c68ce){_0x22a283=_0x22a283-0xfa;let _0xc3090e=_0x244945[_0x22a283];return _0xc3090e;},_0x22a2(_0x184c4b,_0x2002e9);}export function normalizeOptions(_0x27beed){const _0x49b674=_0x22a2;return _0x27beed[_0x49b674(0x10c)][_0x49b674(0x104)](_0x39cc73=>isLineHeightDefaultValue(_0x39cc73)?{'title':String(_0x27beed[_0x49b674(0xfa)]),'model':_0x49b674(0x116)}:(_0x49b674(0x10e)==typeof _0x39cc73&&(_0x39cc73=String(_0x39cc73)),_0x49b674(0x106)!=typeof _0x39cc73?_0x39cc73:parseFloat(_0x39cc73)?{'title':_0x39cc73,'model':_0x39cc73,'view':{'name':_0x49b674(0xfd),'styles':{'line-height':_0x39cc73}}}:findPreset(_0x39cc73)))[_0x49b674(0x108)](_0x4212d9=>void 0x0!==_0x4212d9);}export function findPreset(_0x399465){const _0x1fd5a7=_0x22a2;return _0x1fd5a7(0x106)==typeof _0x399465?v[_0x399465]:v[_0x399465[_0x1fd5a7(0x112)]];}function _0x2449(){const _0x4aff6e=['5396704VooFAN','style','span','40VXTsDm','values','view','line-height:','value','17528LvCNgX','map','push','string','line-height-single','filter','1063521CKcurE','40TkFCdO','695424aXnCCA','options','class','number','single','136377cxtigH','double','model','toLowerCase','49860moXrzB','key','default','Single','48FKEniT','Double','line-height-double','1293537ztjLrR','defaultValue'];_0x2449=function(){return _0x4aff6e;};return _0x2449();}export function buildDefinition(_0x20336c,_0x4b0b3c){const _0x529c8d=_0x22a2,_0x3ee1eb={'model':{'key':_0x20336c,'values':[]},'view':{}};for(const _0xad6ca8 of _0x4b0b3c)_0x529c8d(0x10d)===_0xad6ca8[_0x529c8d(0x100)]?.[_0x529c8d(0x115)]?(_0x3ee1eb[_0x529c8d(0x112)][_0x529c8d(0xff)][_0x529c8d(0x105)](_0xad6ca8[_0x529c8d(0x112)]),_0x3ee1eb[_0x529c8d(0x100)][_0xad6ca8[_0x529c8d(0x112)]]={'key':_0x529c8d(0x10d),'value':_0xad6ca8[_0x529c8d(0x100)][_0x529c8d(0x102)]}):(_0x3ee1eb[_0x529c8d(0x112)][_0x529c8d(0xff)][_0x529c8d(0x105)](_0xad6ca8[_0x529c8d(0x112)]),_0x3ee1eb[_0x529c8d(0x100)][_0xad6ca8[_0x529c8d(0x112)]]={'key':_0x529c8d(0xfc),'value':_0x529c8d(0x101)+_0xad6ca8[_0x529c8d(0x112)]+';'});return _0x3ee1eb;}