@ckeditor/ckeditor5-line-height 46.0.0-alpha.8 → 46.0.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 _0x597a(_0x5eff4f,_0x37ffdd){const _0x1fad23=_0x1fad();return _0x597a=function(_0x597a3b,_0x31c325){_0x597a3b=_0x597a3b-0xc7;let _0xbbb073=_0x1fad23[_0x597a3b];return _0xbbb073;},_0x597a(_0x5eff4f,_0x37ffdd);}const _0x322f8d=_0x597a;(function(_0x3e6c57,_0xf76fe4){const _0x22a85a=_0x597a,_0x3c56c1=_0x3e6c57();while(!![]){try{const _0x140a3a=-parseInt(_0x22a85a(0xc8))/0x1*(-parseInt(_0x22a85a(0xdc))/0x2)+-parseInt(_0x22a85a(0xd7))/0x3+-parseInt(_0x22a85a(0xcb))/0x4*(-parseInt(_0x22a85a(0xe4))/0x5)+parseInt(_0x22a85a(0xcc))/0x6*(parseInt(_0x22a85a(0xd5))/0x7)+parseInt(_0x22a85a(0xe3))/0x8*(-parseInt(_0x22a85a(0xde))/0x9)+parseInt(_0x22a85a(0xe1))/0xa*(-parseInt(_0x22a85a(0xe5))/0xb)+-parseInt(_0x22a85a(0xd6))/0xc*(-parseInt(_0x22a85a(0xdf))/0xd);if(_0x140a3a===_0xf76fe4)break;else _0x3c56c1['push'](_0x3c56c1['shift']());}catch(_0xd51cc0){_0x3c56c1['push'](_0x3c56c1['shift']());}}}(_0x1fad,0x6a6ab));import{Command as _0x5490a6}from'ckeditor5/src/core.js';import{first as _0x70d00}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5490a6{[_0x322f8d(0xe0)](){const _0x2152c5=_0x322f8d,_0x27538b=this[_0x2152c5(0xdb)][_0x2152c5(0xce)][_0x2152c5(0xdd)],_0x38ed14=_0x70d00(_0x27538b[_0x2152c5(0xd4)][_0x2152c5(0xcd)]());this[_0x2152c5(0xd8)]=Boolean(_0x38ed14)&&this[_0x2152c5(0xcf)](_0x38ed14),this[_0x2152c5(0xc7)]=this[_0x2152c5(0xd8)]&&_0x38ed14[_0x2152c5(0xe6)](_0x2152c5(0xd9));}[_0x322f8d(0xd2)](_0x6f71bf={}){const _0x2649fe=_0x322f8d,_0x527079=this[_0x2649fe(0xdb)][_0x2649fe(0xce)],_0x2963df=_0x527079[_0x2649fe(0xdd)][_0x2649fe(0xd4)],_0x325d08=_0x6f71bf[_0x2649fe(0xc7)];_0x527079[_0x2649fe(0xc9)](_0x178bcb=>{const _0x6b7177=_0x2649fe,_0x5aa359=Array[_0x6b7177(0xd1)](_0x2963df[_0x6b7177(0xcd)]())[_0x6b7177(0xd0)](_0x25d29a=>this[_0x6b7177(0xcf)](_0x25d29a));for(const _0x2fddc5 of _0x5aa359)_0x325d08?_0x178bcb[_0x6b7177(0xca)](_0x6b7177(0xd9),_0x325d08,_0x2fddc5):_0x178bcb[_0x6b7177(0xda)](_0x6b7177(0xd9),_0x2fddc5);});}[_0x322f8d(0xcf)](_0x50b517){const _0x84a3cd=_0x322f8d;return this[_0x84a3cd(0xdb)][_0x84a3cd(0xce)][_0x84a3cd(0xd3)][_0x84a3cd(0xe2)](_0x50b517,_0x84a3cd(0xd9));}}function _0x1fad(){const _0xb1a30d=['_canHaveLineHeight','filter','from','execute','schema','selection','31773IdiHfK','12BILKEV','992289Uegwft','isEnabled','lineHeight','removeAttribute','editor','2voHQrG','document','9QAhxAI','702325heiEGD','refresh','473870qnAIrq','checkAttribute','6340808fbMsra','810TTyCSh','22geDzpb','getAttribute','value','761613ZqTCBf','change','setAttribute','7364KJKgre','714HdnILo','getSelectedBlocks','model'];_0x1fad=function(){return _0xb1a30d;};return _0x1fad();}
23
+ function _0x88a0(){const _0x2e93cd=['refresh','lineHeight','removeAttribute','11437PCmqNj','change','schema','filter','111444AZEZwR','model','122ncpSCT','getAttribute','5071857qshASP','editor','setAttribute','checkAttribute','_canHaveLineHeight','716KLgjir','isEnabled','18KjhwnD','from','execute','value','3718485MhAcLt','selection','document','2890950OKKdqI','7056432OJpfAt','31055CeypUG','getSelectedBlocks'];_0x88a0=function(){return _0x2e93cd;};return _0x88a0();}const _0x4224e5=_0x1af3;(function(_0x494bbf,_0x111cc3){const _0x5eb4ee=_0x1af3,_0x268b97=_0x494bbf();while(!![]){try{const _0x4b6dcd=-parseInt(_0x5eb4ee(0x13a))/0x1*(-parseInt(_0x5eb4ee(0x123))/0x2)+parseInt(_0x5eb4ee(0x130))/0x3+parseInt(_0x5eb4ee(0x12a))/0x4*(parseInt(_0x5eb4ee(0x135))/0x5)+-parseInt(_0x5eb4ee(0x121))/0x6+-parseInt(_0x5eb4ee(0x125))/0x7+-parseInt(_0x5eb4ee(0x134))/0x8+-parseInt(_0x5eb4ee(0x12c))/0x9*(parseInt(_0x5eb4ee(0x133))/0xa);if(_0x4b6dcd===_0x111cc3)break;else _0x268b97['push'](_0x268b97['shift']());}catch(_0x1573c9){_0x268b97['push'](_0x268b97['shift']());}}}(_0x88a0,0xce6f0));import{Command as _0x5a9ca9}from'ckeditor5/src/core.js';function _0x1af3(_0x174b32,_0x3a5a88){const _0x88a098=_0x88a0();return _0x1af3=function(_0x1af345,_0x5da658){_0x1af345=_0x1af345-0x120;let _0x6744cf=_0x88a098[_0x1af345];return _0x6744cf;},_0x1af3(_0x174b32,_0x3a5a88);}import{first as _0x290616}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x5a9ca9{[_0x4224e5(0x137)](){const _0x2fe3d0=_0x4224e5,_0x52b43a=this[_0x2fe3d0(0x126)][_0x2fe3d0(0x122)][_0x2fe3d0(0x132)],_0x2e308d=_0x290616(_0x52b43a[_0x2fe3d0(0x131)][_0x2fe3d0(0x136)]());this[_0x2fe3d0(0x12b)]=Boolean(_0x2e308d)&&this[_0x2fe3d0(0x129)](_0x2e308d),this[_0x2fe3d0(0x12f)]=this[_0x2fe3d0(0x12b)]&&_0x2e308d[_0x2fe3d0(0x124)](_0x2fe3d0(0x138));}[_0x4224e5(0x12e)](_0x6bf2b6={}){const _0x4b6c03=_0x4224e5,_0x5b6875=this[_0x4b6c03(0x126)][_0x4b6c03(0x122)],_0x417619=_0x5b6875[_0x4b6c03(0x132)][_0x4b6c03(0x131)],_0xb35440=_0x6bf2b6[_0x4b6c03(0x12f)];_0x5b6875[_0x4b6c03(0x13b)](_0x45d3cf=>{const _0x709a9e=_0x4b6c03,_0x475e78=Array[_0x709a9e(0x12d)](_0x417619[_0x709a9e(0x136)]())[_0x709a9e(0x120)](_0x205e87=>this[_0x709a9e(0x129)](_0x205e87));for(const _0x448dd6 of _0x475e78)_0xb35440?_0x45d3cf[_0x709a9e(0x127)](_0x709a9e(0x138),_0xb35440,_0x448dd6):_0x45d3cf[_0x709a9e(0x139)](_0x709a9e(0x138),_0x448dd6);});}[_0x4224e5(0x129)](_0x447370){const _0x4d98f5=_0x4224e5;return this[_0x4d98f5(0x126)][_0x4d98f5(0x122)][_0x4d98f5(0x13c)][_0x4d98f5(0x128)](_0x447370,_0x4d98f5(0x138));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x488bda=_0x3e97;(function(_0x11a0bf,_0x25d9ae){const _0x21210a=_0x3e97,_0x14691f=_0x11a0bf();while(!![]){try{const _0x5c8fb8=parseInt(_0x21210a(0x174))/0x1+-parseInt(_0x21210a(0x17f))/0x2+parseInt(_0x21210a(0x177))/0x3*(-parseInt(_0x21210a(0x179))/0x4)+-parseInt(_0x21210a(0x15a))/0x5+parseInt(_0x21210a(0x170))/0x6*(-parseInt(_0x21210a(0x169))/0x7)+parseInt(_0x21210a(0x180))/0x8+-parseInt(_0x21210a(0x166))/0x9*(-parseInt(_0x21210a(0x15f))/0xa);if(_0x5c8fb8===_0x25d9ae)break;else _0x14691f['push'](_0x14691f['shift']());}catch(_0x50a64d){_0x14691f['push'](_0x14691f['shift']());}}}(_0x32e5,0xd972b));function _0x32e5(){const _0x2f8d69=['14802saVOit','model','100YkapcN','editor','default','get','string','$block','2643040HYGQjV','11530784wgUqxx','_preparePredefinedConverters','values','line-height','href','line-height-invalid-use-of-named-presets','LineHeightEditing','afterInit','_validateConfig','upcast','isPremiumPlugin','style','pluginName','extend','lineHeight.defaultValue','lineHeight.supportAllValues','924725RuaZdu','for','length','setAttributeProperties','config','20NBbBIE','define','includes','downcast','init','isOfficialPlugin','lineHeight.options','226917uigoPx','add','map','25613tVomDN','_prepareAnyValueConverters','schema','fromCharCode','commands','attributeToAttribute','join','318vMKaWf','getStyle','conversion','slice','1222635oHMMid','filter','lineHeight'];_0x32e5=function(){return _0x2f8d69;};return _0x32e5();}function _0x3e97(_0x129430,_0x4053a6){const _0x32e5e0=_0x32e5();return _0x3e97=function(_0x3e9764,_0xa6bb1f){_0x3e9764=_0x3e9764-0x153;let _0xfabe32=_0x32e5e0[_0x3e9764];return _0xfabe32;},_0x3e97(_0x129430,_0x4053a6);}import{Plugin as _0x47308c}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x163248}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5e08a1}from'ckeditor5/src/engine.js';import{uid as _0x631c8d,CKEditorError as _0x4af25a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5e8e5a,isLineHeightDefaultValue as _0x5af544,normalizeOptions as _0x452230}from'./utils.js';export class LineHeightEditing extends _0x47308c{static get[_0x488bda(0x156)](){const _0xf8fa89=_0x488bda;return _0xf8fa89(0x186);}static get[_0x488bda(0x164)](){return!0x0;}static get[_0x488bda(0x154)](){return!0x0;}constructor(_0x8055cb){const _0x134e45=_0x488bda;super(_0x8055cb),_0x8055cb[_0x134e45(0x15e)][_0x134e45(0x160)](_0x134e45(0x176),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x134e45(0x17b),0x2,2.5,0x3]});}[_0x488bda(0x163)](){const _0x29aea0=_0x488bda,_0x2be3cd=this[_0x29aea0(0x17a)];this[_0x29aea0(0x188)](),_0x2be3cd[_0x29aea0(0x178)][_0x29aea0(0x16b)][_0x29aea0(0x157)](_0x29aea0(0x17e),{'allowAttributes':_0x29aea0(0x176)}),_0x2be3cd[_0x29aea0(0x178)][_0x29aea0(0x16b)][_0x29aea0(0x15d)](_0x29aea0(0x176),{'isFormatting':!0x0}),_0x2be3cd[_0x29aea0(0x16d)][_0x29aea0(0x167)](_0x29aea0(0x176),new _0x163248(_0x2be3cd)),this[_0x29aea0(0x17a)][_0x29aea0(0x15e)][_0x29aea0(0x17c)](_0x29aea0(0x159))?this[_0x29aea0(0x16a)]():this[_0x29aea0(0x181)]();}[_0x488bda(0x187)](){!async function(_0x5a6a12){const _0x553b01=_0x3e0404([0x46,0x79,0x48,0x70,0x4a,0x39,0x30,0x49,0x78,0x67,0x59,0x36,0x37,0x71,0x4e,0x6c,0x4b,0x52,0x33,0x61,0x6b,0x53,0x54,0x62,0x6d,0x47,0x32,0x66,0x51,0x58,0x43,0x6f,0x5a,0x35,0x34,0x72,0x74,0x76,0x38,0x57,0x44,0x50,0x7a,0x42,0x69,0x6e,0x63,0x73,0x4f,0x64,0x45,0x41,0x55,0x31,0x4c,0x77,0x56,0x4d,0x6a,0x65,0x75,0x68]),_0x8929a4=0x6549174b,_0x210d4d=0x654e7a5b^_0x8929a4,_0x77fae9=window[_0x3e0404([0x44,0x61,0x74,0x65])][_0x3e0404([0x6e,0x6f,0x77])](),_0x5f303d=_0x5a6a12[_0x3e0404([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x330deb=new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dc1e6=>{_0x5f303d[_0x3e0404([0x6f,0x6e,0x63,0x65])](_0x3e0404([0x72,0x65,0x61,0x64,0x79]),_0x5dc1e6);}),_0x1f4af3={[_0x3e0404([0x6b,0x74,0x79])]:_0x3e0404([0x45,0x43]),[_0x3e0404([0x75,0x73,0x65])]:_0x3e0404([0x73,0x69,0x67]),[_0x3e0404([0x63,0x72,0x76])]:_0x3e0404([0x50,0x2d,0x32,0x35,0x36]),[_0x3e0404([0x78])]:_0x3e0404([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]),[_0x3e0404([0x79])]:_0x3e0404([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]),[_0x3e0404([0x61,0x6c,0x67])]:_0x3e0404([0x45,0x53,0x32,0x35,0x36])},_0x3ced4d=_0x5f303d[_0x3e0404([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e0404([0x67,0x65,0x74])](_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1085a0(){let _0x557f37,_0x9138c9=null,_0x1f0a84=null;try{if(_0x3ced4d==_0x3e0404([0x47,0x50,0x4c]))return _0x3e0404([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x557f37=_0x145223(),!_0x557f37)return _0x3e0404([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x557f37[_0x3e0404([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f0a84=_0x238e12(_0x557f37[_0x3e0404([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x557f37[_0x3e0404([0x6a,0x74,0x69])])),await _0x43c6ad()?_0x306577()?_0xc33989()?_0x3e0404([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36a586()?(_0x557f37[_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e0404([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9138c9=_0x4ab8f6(_0x3e0404([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x557f37[_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e0404([0x74,0x72,0x69,0x61,0x6c])&&(_0x9138c9=_0x4ab8f6(_0x3e0404([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3dac06()):_0x3e0404([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e0404([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e0404([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e0404([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc33989(){const _0x3fbb95=[_0x3e0404([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e0404([0x74,0x72,0x69,0x61,0x6c])][_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557f37[_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x77fae9/0x3e8:0xe10*_0x210d4d;return _0x557f37[_0x3e0404([0x65,0x78,0x70])]<_0x3fbb95;}function _0x306577(){const _0x574310=_0x557f37[_0x3e0404([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x574310&&(!!_0x574310[_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0404([0x2a]))||!!_0x574310[_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0404([0x4c,0x48])));}function _0x36a586(){const _0x39e3ab=_0x3e97,_0x36bb84=_0x557f37[_0x3e0404([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36bb84||0x0==_0x36bb84[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c5dce}=new URL(window[_0x3e0404([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39e3ab(0x184)]);if(_0x36bb84[_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5dce))return!0x0;const _0x1ee073=_0x3c5dce[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])](_0x3e0404([0x2e]));return _0x36bb84[_0x3e0404([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c81ee=>_0x2c81ee[_0x3e0404([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0404([0x2a])))[_0x3e0404([0x6d,0x61,0x70])](_0x1c165c=>_0x1c165c[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])](_0x3e0404([0x2e])))[_0x3e0404([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33d5d8=>_0x33d5d8[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ee073[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e0404([0x6d,0x61,0x70])](_0x38fb4e=>Array(_0x1ee073[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38fb4e[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e0404([0x66,0x69,0x6c,0x6c])](_0x38fb4e[0x0]===_0x3e0404([0x2a])?_0x3e0404([0x2a]):'')[_0x3e0404([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38fb4e))[_0x3e0404([0x73,0x6f,0x6d,0x65])](_0x37d5bf=>_0x1ee073[_0x3e0404([0x65,0x76,0x65,0x72,0x79])]((_0x53d661,_0x5601f2)=>_0x37d5bf[_0x5601f2]===_0x53d661||_0x37d5bf[_0x5601f2]===_0x3e0404([0x2a])));}function _0x3dac06(){return _0x9138c9&&_0x1f0a84?new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bbdaf,_0x268a9a)=>{_0x9138c9[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x1bbdaf,_0x268a9a),_0x1f0a84[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x56f4e5=>{_0x56f4e5!=_0x3e0404([0x56,0x61,0x6c,0x69,0x64])&&_0x1bbdaf(_0x56f4e5);},_0x268a9a);}):_0x9138c9||_0x1f0a84||_0x3e0404([0x56,0x61,0x6c,0x69,0x64]);}}function _0x238e12(_0x215e58,_0x1d8b50){return new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eb508=>{if(_0x5be15f())return _0x5eb508(_0x3e0404([0x56,0x61,0x6c,0x69,0x64]));_0x4645f9(),_0x5f303d[_0x3e0404([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e0404([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x424e9d=!0x1;const _0x29e93f=_0x631c8d();function _0x191ddd(_0x122d80){return!!_0x122d80&&(typeof _0x122d80===_0x3e0404([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x122d80===_0x3e0404([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x122d80[_0x3e0404([0x74,0x68,0x65,0x6e])]===_0x3e0404([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x122d80[_0x3e0404([0x63,0x61,0x74,0x63,0x68])]===_0x3e0404([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x495691(_0x2d687b){_0x7f6443(_0x2d687b)[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x2e5cc1=>{if(!_0x2e5cc1||_0x2e5cc1[_0x3e0404([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e0404([0x6f,0x6b]))return _0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1347ef(_0x19390a(_0x29e93f+_0x1d8b50))!=_0x2e5cc1[_0x3e0404([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e0404([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x242c3b=>(_0x28629e(),_0x242c3b),()=>{const _0x524a35=_0x5b2dff();return null==_0x524a35?(_0x28629e(),_0x3e0404([0x56,0x61,0x6c,0x69,0x64])):_0x3e0404(_0x77fae9-_0x524a35>(0x4145934b^_0x8929a4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x5eb508)[_0x3e0404([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5eb508(_0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23f301=0x657ff9cb^_0x8929a4;function _0x28629e(){const _0x558d13=_0x3e0404([0x6c,0x6c,0x63,0x74,0x2d])+_0x1347ef(_0x19390a(_0x215e58)),_0xf2e68b=_0x26e253(_0x1347ef(window[_0x3e0404([0x4d,0x61,0x74,0x68])][_0x3e0404([0x63,0x65,0x69,0x6c])](_0x77fae9/_0x23f301)));window[_0x3e0404([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e0404([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x558d13,_0xf2e68b);}function _0x5b2dff(){const _0x5e62f6=_0x3e0404([0x6c,0x6c,0x63,0x74,0x2d])+_0x1347ef(_0x19390a(_0x215e58)),_0x479bd6=window[_0x3e0404([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e0404([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e62f6);return _0x479bd6?window[_0x3e0404([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26e253(_0x479bd6),0x10)*_0x23f301:null;}function _0x7f6443(_0x358cdb){return new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14695c,_0x3e75e7)=>{_0x358cdb[_0x3e0404([0x74,0x68,0x65,0x6e])](_0x14695c,_0x3e75e7),window[_0x3e0404([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e75e7,0x6548c38b^_0x8929a4);});}}_0x5f303d[_0x3e0404([0x6f,0x6e])](_0x3e0404([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b3b09,_0x45ee1b)=>{if(_0x45ee1b[0x0]!=_0x215e58)return _0x5eb508(_0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45ee1b[0x1]={..._0x45ee1b[0x1],[_0x3e0404([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29e93f};},{[_0x3e0404([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e0404([0x68,0x69,0x67,0x68])}),_0x5f303d[_0x3e0404([0x6f,0x6e])](_0x3e0404([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa10815=>{_0x191ddd(_0xa10815[_0x3e0404([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x424e9d=!0x0,_0x495691(_0xa10815[_0x3e0404([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e0404([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e0404([0x6c,0x6f,0x77])}),_0x330deb[_0x3e0404([0x74,0x68,0x65,0x6e])](()=>{_0x424e9d||_0x5eb508(_0x3e0404([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5be15f(){return _0x5f303d[_0x3e0404([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e0404([0x76,0x69,0x65,0x77])][_0x3e0404([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e0404([0x61,0x75,0x74,0x6f]);}function _0x4645f9(){_0x5f303d[_0x3e0404([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e0404([0x76,0x69,0x65,0x77])][_0x3e0404([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e0404([0x61,0x75,0x74,0x6f]);}}function _0x4ab8f6(_0x4ffba5){const _0x52bcd2=[new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7057=>setTimeout(_0x3a7057,0x65402987^_0x8929a4)),_0x330deb[_0x3e0404([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5260c1=>{let _0x2994dd=0x0;_0x5f303d[_0x3e0404([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0404([0x6f,0x6e])](_0x3e0404([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c3748,_0x3340f7)=>{_0x3340f7[0x0][_0x3e0404([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2994dd++,_0x2994dd==(0x654916b3^_0x8929a4)&&(_0x5260c1(),_0x5c3748[_0x3e0404([0x6f,0x66,0x66])]());});}))];return window[_0x3e0404([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e0404([0x72,0x61,0x63,0x65])](_0x52bcd2)[_0x3e0404([0x74,0x68,0x65,0x6e])](()=>_0x4ffba5);}async function _0x4933eb(){await _0x330deb,_0x5f303d[_0x3e0404([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0404([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0aa1,_0x5f303d[_0x3e0404([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e0404([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0aa1,_0x5f303d[_0x3e0404([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e0404([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5dcb51(_0x331805){const _0x4d6582=_0x2f42be();_0x5f303d[_0x4d6582]=_0x3e0404([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x331805,_0x331805!=_0x3e0404([0x56,0x61,0x6c,0x69,0x64])&&_0x4933eb();}function _0x2f42be(){const _0x17a2ed=window[_0x3e0404([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e0404([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e0404([0x6e,0x6f,0x77])]())[_0x3e0404([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e0404([0x2e]),'');let _0x52743f=_0x3e0404([0x46]);for(let _0x5159e9=0x0;_0x5159e9<_0x17a2ed[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5159e9+=0x2){let _0x56a085=window[_0x3e0404([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17a2ed[_0x3e0404([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5159e9,_0x5159e9+0x2));_0x56a085>=_0x553b01[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56a085-=_0x553b01[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52743f+=_0x553b01[_0x56a085];}return _0x52743f;}function _0x145223(){const _0x12a69a=_0x3ced4d[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])](_0x3e0404([0x2e]));if(0x3!=_0x12a69a[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ad690(_0x12a69a[0x1]);function _0x5ad690(_0x2ce45d){const _0x4c3237=_0x306a54(_0x2ce45d);return _0x4c3237&&_0x105c91()?_0x4c3237:null;function _0x105c91(){const _0xbbfe5=_0x4c3237[_0x3e0404([0x6a,0x74,0x69])],_0x1cc79f=window[_0x3e0404([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbbfe5[_0x3e0404([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbbfe5[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfc868c={..._0x4c3237,[_0x3e0404([0x6a,0x74,0x69])]:_0xbbfe5[_0x3e0404([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xbbfe5[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfc868c[_0x3e0404([0x76,0x63])],_0x19390a(_0xfc868c)==_0x1cc79f;}}}async function _0x43c6ad(){let _0x481fcb=!0x0;try{const _0x2f6ad0=_0x3ced4d[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])](_0x3e0404([0x2e])),[_0x28ded1,_0x19105f,_0x37462b]=_0x2f6ad0;return _0x52e212(_0x28ded1),await _0x325312(_0x28ded1,_0x19105f,_0x37462b),_0x481fcb;}catch{return!0x1;}function _0x52e212(_0x5b28de){const _0x3ed589=_0x306a54(_0x5b28de);_0x3ed589&&_0x3ed589[_0x3e0404([0x61,0x6c,0x67])]==_0x3e0404([0x45,0x53,0x32,0x35,0x36])||(_0x481fcb=!0x1);}async function _0x325312(_0x500d56,_0x2841d9,_0x47046c){const _0x4aa3d4=window[_0x3e0404([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e0404([0x66,0x72,0x6f,0x6d])](_0x1af46a(_0x47046c),_0x51821c=>_0x51821c[_0x3e0404([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f8946=new window[(_0x3e0404([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e0404([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x500d56+_0x3e0404([0x2e])+_0x2841d9),_0x3cc85f=window[_0x3e0404([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e0404([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3cc85f)return;const _0x485a21=await _0x3cc85f[_0x3e0404([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e0404([0x6a,0x77,0x6b]),_0x1f4af3,{[_0x3e0404([0x6e,0x61,0x6d,0x65])]:_0x3e0404([0x45,0x43,0x44,0x53,0x41]),[_0x3e0404([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e0404([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e0404([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3cc85f[_0x3e0404([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e0404([0x6e,0x61,0x6d,0x65])]:_0x3e0404([0x45,0x43,0x44,0x53,0x41]),[_0x3e0404([0x68,0x61,0x73,0x68])]:{[_0x3e0404([0x6e,0x61,0x6d,0x65])]:_0x3e0404([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x485a21,_0x4aa3d4,_0x4f8946)||(_0x481fcb=!0x1);}}function _0x306a54(_0x2aad4e){return _0x2aad4e[_0x3e0404([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e0404([0x65,0x79]))?JSON[_0x3e0404([0x70,0x61,0x72,0x73,0x65])](_0x1af46a(_0x2aad4e)):null;}function _0x1af46a(_0x33fb5e){return window[_0x3e0404([0x61,0x74,0x6f,0x62])](_0x33fb5e[_0x3e0404([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e0404([0x2b]))[_0x3e0404([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e0404([0x2f])));}function _0x19390a(_0x41e863){let _0x4d62b2=0x1505;function _0x2e4517(_0x9440f){for(let _0x14ff0b=0x0;_0x14ff0b<_0x9440f[_0x3e0404([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14ff0b++){const _0x5797da=_0x9440f[_0x3e0404([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14ff0b);_0x4d62b2=(_0x4d62b2<<0x5)+_0x4d62b2+_0x5797da,_0x4d62b2&=_0x4d62b2;}}function _0xb88f7f(_0xebd1e3){Array[_0x3e0404([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xebd1e3)?_0xebd1e3[_0x3e0404([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb88f7f):_0xebd1e3&&typeof _0xebd1e3==_0x3e0404([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e0404([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xebd1e3)[_0x3e0404([0x73,0x6f,0x72,0x74])]()[_0x3e0404([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a6fc8,_0x14dcd2])=>{_0x2e4517(_0x2a6fc8),_0xb88f7f(_0x14dcd2);}):_0x2e4517(window[_0x3e0404([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xebd1e3));}return _0xb88f7f(_0x41e863),_0x4d62b2>>>0x0;}function _0x1347ef(_0x4d949b){return _0x4d949b[_0x3e0404([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e0404([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e0404([0x30]));}function _0x26e253(_0x192135){return _0x192135[_0x3e0404([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e0404([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e0404([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0aa1(){}function _0x3e0404(_0x216b10){const _0x36cbfc=_0x3e97;return _0x216b10[_0x36cbfc(0x168)](_0x1c7804=>String[_0x36cbfc(0x16c)](_0x1c7804))[_0x36cbfc(0x16f)]('');}_0x5dcb51(await _0x1085a0());}(this);}[_0x488bda(0x188)](){const _0x92242f=_0x488bda,_0x2ef3bf=this[_0x92242f(0x17a)];if(!_0x2ef3bf[_0x92242f(0x15e)][_0x92242f(0x17c)](_0x92242f(0x159)))return;const _0x7d86d7=_0x2ef3bf[_0x92242f(0x15e)][_0x92242f(0x17c)](_0x92242f(0x165))[_0x92242f(0x175)](_0x1c1857=>_0x92242f(0x17d)==typeof _0x1c1857&&(!_0x5af544(_0x1c1857)&&isNaN(Number(_0x1c1857))));if(_0x7d86d7[_0x92242f(0x15c)])throw new _0x4af25a(_0x92242f(0x185),null,{'namedPresets':_0x7d86d7});}[_0x488bda(0x16a)](){const _0x37ba07=_0x488bda,_0x59d02f=this[_0x37ba07(0x17a)],_0x3c2c7f=this[_0x37ba07(0x17a)][_0x37ba07(0x15e)][_0x37ba07(0x17c)](_0x37ba07(0x158));_0x59d02f[_0x37ba07(0x172)][_0x37ba07(0x15b)](_0x37ba07(0x162))[_0x37ba07(0x16e)]({'model':{'key':_0x37ba07(0x176)},'view':_0x3801ea=>String(_0x3801ea)===String(_0x3c2c7f)?null:{'key':_0x37ba07(0x155),'value':{'line-height':_0x3801ea}}}),_0x59d02f[_0x37ba07(0x172)][_0x37ba07(0x15b)](_0x37ba07(0x153))[_0x37ba07(0x16e)]({'model':{'key':_0x37ba07(0x176),'value':_0xcee8f8=>{const _0x3b6ae6=_0x37ba07;let _0x1f49b5=_0xcee8f8[_0x3b6ae6(0x171)](_0x3b6ae6(0x183));return _0x5e08a1(_0x1f49b5)&&(_0x1f49b5=String(Number(_0x1f49b5[_0x3b6ae6(0x173)](0x0,-0x1))/0x64)),String(_0x1f49b5)===String(_0x3c2c7f)?null:_0x1f49b5;}},'view':{'styles':{'line-height':/.*/}}});}[_0x488bda(0x181)](){const _0xeaee4d=_0x488bda,_0x3b18f5=this[_0xeaee4d(0x17a)],_0x22b110=this[_0xeaee4d(0x17a)][_0xeaee4d(0x15e)][_0xeaee4d(0x17c)](_0xeaee4d(0x158)),_0x319437=_0x452230(this[_0xeaee4d(0x17a)][_0xeaee4d(0x15e)][_0xeaee4d(0x17c)](_0xeaee4d(0x176)))[_0xeaee4d(0x175)](_0x3325e5=>_0x3325e5[_0xeaee4d(0x178)]),_0x2242cb=_0x5e8e5a(_0xeaee4d(0x176),_0x319437);_0x3b18f5[_0xeaee4d(0x172)][_0xeaee4d(0x16e)](_0x2242cb),_0x3b18f5[_0xeaee4d(0x172)][_0xeaee4d(0x15b)](_0xeaee4d(0x153))[_0xeaee4d(0x16e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xeaee4d(0x176),'value':_0x40aff4=>{const _0x33fee7=_0xeaee4d;let _0x274f80=_0x40aff4[_0x33fee7(0x171)](_0x33fee7(0x183));return _0x5e08a1(_0x274f80)&&(_0x274f80=String(Number(_0x274f80[_0x33fee7(0x173)](0x0,-0x1))/0x64)),_0x274f80===String(_0x22b110)?null:_0x2242cb[_0x33fee7(0x178)][_0x33fee7(0x182)][_0x33fee7(0x161)](_0x274f80)?_0x274f80:null;}}});}}
23
+ const _0x567e68=_0x1198;(function(_0x311375,_0x35c11b){const _0x1be588=_0x1198,_0x2d29df=_0x311375();while(!![]){try{const _0x876d4b=-parseInt(_0x1be588(0xc1))/0x1*(parseInt(_0x1be588(0x9b))/0x2)+-parseInt(_0x1be588(0xa5))/0x3+-parseInt(_0x1be588(0xaa))/0x4+parseInt(_0x1be588(0x9e))/0x5+parseInt(_0x1be588(0x99))/0x6*(parseInt(_0x1be588(0x96))/0x7)+-parseInt(_0x1be588(0xa2))/0x8+parseInt(_0x1be588(0x9a))/0x9;if(_0x876d4b===_0x35c11b)break;else _0x2d29df['push'](_0x2d29df['shift']());}catch(_0x803ca8){_0x2d29df['push'](_0x2d29df['shift']());}}}(_0x2f9e,0xb9811));import{Plugin as _0x1e3286}from'ckeditor5/src/core.js';function _0x1198(_0x3fcc47,_0x5c338d){const _0x2f9e74=_0x2f9e();return _0x1198=function(_0x1198de,_0x1456b4){_0x1198de=_0x1198de-0x93;let _0x169f0a=_0x2f9e74[_0x1198de];return _0x169f0a;},_0x1198(_0x3fcc47,_0x5c338d);}import{LineHeightCommand as _0x1411a7}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1d1509}from'ckeditor5/src/engine.js';import{uid as _0x145407,CKEditorError as _0x1a1ae6}from'ckeditor5/src/utils.js';function _0x2f9e(){const _0x28fec8=['12689757BtEvkB','6022jRzOeH','default','LineHeightEditing','4852530oLPhmn','attributeToAttribute','slice','schema','7069104bLlInt','filter','upcast','1949280ophNBg','commands','string','lineHeight','init','1375920rSrpUf','lineHeight.options','config','$block','lineHeight.defaultValue','isOfficialPlugin','_preparePredefinedConverters','model','length','define','style','isPremiumPlugin','lineHeight.supportAllValues','href','setAttributeProperties','values','fromCharCode','includes','extend','_prepareAnyValueConverters','editor','for','getStyle','10JeWrMJ','_validateConfig','afterInit','line-height','add','conversion','map','pluginName','downcast','get','14sXSXmS','line-height-invalid-use-of-named-presets','join','860502zNyLFZ'];_0x2f9e=function(){return _0x28fec8;};return _0x2f9e();}import{buildDefinition as _0x205164,isLineHeightDefaultValue as _0x29832f,normalizeOptions as _0x214c82}from'./utils.js';export class LineHeightEditing extends _0x1e3286{static get[_0x567e68(0x93)](){const _0x2efc4b=_0x567e68;return _0x2efc4b(0x9d);}static get[_0x567e68(0xaf)](){return!0x0;}static get[_0x567e68(0xb5)](){return!0x0;}constructor(_0x33d517){const _0x5dab0b=_0x567e68;super(_0x33d517),_0x33d517[_0x5dab0b(0xac)][_0x5dab0b(0xb3)](_0x5dab0b(0xa8),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5dab0b(0x9c),0x2,2.5,0x3]});}[_0x567e68(0xa9)](){const _0x313d14=_0x567e68,_0xf4f1db=this[_0x313d14(0xbe)];this[_0x313d14(0xc2)](),_0xf4f1db[_0x313d14(0xb1)][_0x313d14(0xa1)][_0x313d14(0xbc)](_0x313d14(0xad),{'allowAttributes':_0x313d14(0xa8)}),_0xf4f1db[_0x313d14(0xb1)][_0x313d14(0xa1)][_0x313d14(0xb8)](_0x313d14(0xa8),{'isFormatting':!0x0}),_0xf4f1db[_0x313d14(0xa6)][_0x313d14(0xc5)](_0x313d14(0xa8),new _0x1411a7(_0xf4f1db)),this[_0x313d14(0xbe)][_0x313d14(0xac)][_0x313d14(0x95)](_0x313d14(0xb6))?this[_0x313d14(0xbd)]():this[_0x313d14(0xb0)]();}[_0x567e68(0xc3)](){!async function(_0x175769){const _0x2c3cd4=_0xe68004([0x41,0x4e,0x66,0x43,0x72,0x4a,0x5a,0x58,0x6b,0x65,0x50,0x4b,0x37,0x6d,0x49,0x30,0x32,0x51,0x67,0x48,0x33,0x70,0x4d,0x44,0x7a,0x69,0x56,0x6e,0x4c,0x54,0x68,0x36,0x79,0x71,0x45,0x73,0x47,0x35,0x31,0x6f,0x76,0x6c,0x75,0x53,0x34,0x63,0x59,0x78,0x39,0x42,0x74,0x46,0x38,0x61,0x62,0x64,0x52,0x77,0x4f,0x55,0x57,0x6a]),_0x5b82cf=0x13369d6b,_0x4a4d04=0x1331f07b^_0x5b82cf,_0x318546=window[_0xe68004([0x44,0x61,0x74,0x65])][_0xe68004([0x6e,0x6f,0x77])](),_0x337404=_0x175769[_0xe68004([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32a56b=new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49c65a=>{_0x337404[_0xe68004([0x6f,0x6e,0x63,0x65])](_0xe68004([0x72,0x65,0x61,0x64,0x79]),_0x49c65a);}),_0xad8b10={[_0xe68004([0x6b,0x74,0x79])]:_0xe68004([0x45,0x43]),[_0xe68004([0x75,0x73,0x65])]:_0xe68004([0x73,0x69,0x67]),[_0xe68004([0x63,0x72,0x76])]:_0xe68004([0x50,0x2d,0x32,0x35,0x36]),[_0xe68004([0x78])]:_0xe68004([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xe68004([0x79])]:_0xe68004([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xe68004([0x61,0x6c,0x67])]:_0xe68004([0x45,0x53,0x32,0x35,0x36])},_0x16b9aa=_0x337404[_0xe68004([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe68004([0x67,0x65,0x74])](_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5423fe(){let _0x2859a1,_0x24b3e0=null,_0x21c260=null;try{if(_0x16b9aa==_0xe68004([0x47,0x50,0x4c]))return _0xe68004([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2859a1=_0x3a9ee3(),!_0x2859a1)return _0xe68004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2859a1[_0xe68004([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21c260=_0x40adf8(_0x2859a1[_0xe68004([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2859a1[_0xe68004([0x6a,0x74,0x69])])),await _0x39376d()?_0x5ab4c9()?_0x44c74c()?_0xe68004([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x291f15()?(_0x2859a1[_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe68004([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24b3e0=_0x5d27dd(_0xe68004([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2859a1[_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe68004([0x74,0x72,0x69,0x61,0x6c])&&(_0x24b3e0=_0x5d27dd(_0xe68004([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10c915()):_0xe68004([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe68004([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe68004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe68004([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44c74c(){const _0x22d99a=[_0xe68004([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe68004([0x74,0x72,0x69,0x61,0x6c])][_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2859a1[_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x318546/0x3e8:0xe10*_0x4a4d04;return _0x2859a1[_0xe68004([0x65,0x78,0x70])]<_0x22d99a;}function _0x5ab4c9(){const _0xde80f0=_0x2859a1[_0xe68004([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xde80f0&&(!!_0xde80f0[_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe68004([0x2a]))||!!_0xde80f0[_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe68004([0x4c,0x48])));}function _0x291f15(){const _0x32f525=_0x1198,_0x4b1ff3=_0x2859a1[_0xe68004([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b1ff3||0x0==_0x4b1ff3[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57b0ea}=new URL(window[_0xe68004([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x32f525(0xb7)]);if(_0x4b1ff3[_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b0ea))return!0x0;const _0x5982d0=_0x57b0ea[_0xe68004([0x73,0x70,0x6c,0x69,0x74])](_0xe68004([0x2e]));return _0x4b1ff3[_0xe68004([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x542cb7=>_0x542cb7[_0xe68004([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe68004([0x2a])))[_0xe68004([0x6d,0x61,0x70])](_0x1e4e59=>_0x1e4e59[_0xe68004([0x73,0x70,0x6c,0x69,0x74])](_0xe68004([0x2e])))[_0xe68004([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38f5fd=>_0x38f5fd[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5982d0[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe68004([0x6d,0x61,0x70])](_0x47f59e=>Array(_0x5982d0[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47f59e[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe68004([0x66,0x69,0x6c,0x6c])](_0x47f59e[0x0]===_0xe68004([0x2a])?_0xe68004([0x2a]):'')[_0xe68004([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47f59e))[_0xe68004([0x73,0x6f,0x6d,0x65])](_0x2acf77=>_0x5982d0[_0xe68004([0x65,0x76,0x65,0x72,0x79])]((_0x54363c,_0xdb6326)=>_0x2acf77[_0xdb6326]===_0x54363c||_0x2acf77[_0xdb6326]===_0xe68004([0x2a])));}function _0x10c915(){return _0x24b3e0&&_0x21c260?new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51a248,_0x3746a0)=>{_0x24b3e0[_0xe68004([0x74,0x68,0x65,0x6e])](_0x51a248,_0x3746a0),_0x21c260[_0xe68004([0x74,0x68,0x65,0x6e])](_0x581eb4=>{_0x581eb4!=_0xe68004([0x56,0x61,0x6c,0x69,0x64])&&_0x51a248(_0x581eb4);},_0x3746a0);}):_0x24b3e0||_0x21c260||_0xe68004([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40adf8(_0x17dc9b,_0x141a7c){return new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21d090=>{if(_0x3fb520())return _0x21d090(_0xe68004([0x56,0x61,0x6c,0x69,0x64]));_0x407a2f(),_0x337404[_0xe68004([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe68004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24a149=!0x1;const _0xd4d4f6=_0x145407();function _0x5f04c7(_0x4c623b){return!!_0x4c623b&&(typeof _0x4c623b===_0xe68004([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c623b===_0xe68004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c623b[_0xe68004([0x74,0x68,0x65,0x6e])]===_0xe68004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c623b[_0xe68004([0x63,0x61,0x74,0x63,0x68])]===_0xe68004([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d7741(_0x232e9f){_0x895424(_0x232e9f)[_0xe68004([0x74,0x68,0x65,0x6e])](_0x447248=>{if(!_0x447248||_0x447248[_0xe68004([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe68004([0x6f,0x6b]))return _0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x284511(_0x95514b(_0xd4d4f6+_0x141a7c))!=_0x447248[_0xe68004([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe68004([0x56,0x61,0x6c,0x69,0x64]);})[_0xe68004([0x74,0x68,0x65,0x6e])](_0x306a11=>(_0x2abaec(),_0x306a11),()=>{const _0x42707f=_0x101af6();return null==_0x42707f?(_0x2abaec(),_0xe68004([0x56,0x61,0x6c,0x69,0x64])):_0xe68004(_0x318546-_0x42707f>(0x373a196b^_0x5b82cf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe68004([0x74,0x68,0x65,0x6e])](_0x21d090)[_0xe68004([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21d090(_0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57e0f1=0x130073eb^_0x5b82cf;function _0x2abaec(){const _0x49fba8=_0xe68004([0x6c,0x6c,0x63,0x74,0x2d])+_0x284511(_0x95514b(_0x17dc9b)),_0x474592=_0xd58245(_0x284511(window[_0xe68004([0x4d,0x61,0x74,0x68])][_0xe68004([0x63,0x65,0x69,0x6c])](_0x318546/_0x57e0f1)));window[_0xe68004([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe68004([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49fba8,_0x474592);}function _0x101af6(){const _0xb82201=_0xe68004([0x6c,0x6c,0x63,0x74,0x2d])+_0x284511(_0x95514b(_0x17dc9b)),_0x322160=window[_0xe68004([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe68004([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb82201);return _0x322160?window[_0xe68004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd58245(_0x322160),0x10)*_0x57e0f1:null;}function _0x895424(_0x30d26b){return new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21066e,_0x5ac2cb)=>{_0x30d26b[_0xe68004([0x74,0x68,0x65,0x6e])](_0x21066e,_0x5ac2cb),window[_0xe68004([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ac2cb,0x133749ab^_0x5b82cf);});}}_0x337404[_0xe68004([0x6f,0x6e])](_0xe68004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb832f8,_0x5e361f)=>{if(_0x5e361f[0x0]!=_0x17dc9b)return _0x21d090(_0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e361f[0x1]={..._0x5e361f[0x1],[_0xe68004([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd4d4f6};},{[_0xe68004([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe68004([0x68,0x69,0x67,0x68])}),_0x337404[_0xe68004([0x6f,0x6e])](_0xe68004([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55b784=>{_0x5f04c7(_0x55b784[_0xe68004([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24a149=!0x0,_0x3d7741(_0x55b784[_0xe68004([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe68004([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe68004([0x6c,0x6f,0x77])}),_0x32a56b[_0xe68004([0x74,0x68,0x65,0x6e])](()=>{_0x24a149||_0x21d090(_0xe68004([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fb520(){return _0x337404[_0xe68004([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe68004([0x76,0x69,0x65,0x77])][_0xe68004([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe68004([0x61,0x75,0x74,0x6f]);}function _0x407a2f(){_0x337404[_0xe68004([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe68004([0x76,0x69,0x65,0x77])][_0xe68004([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe68004([0x61,0x75,0x74,0x6f]);}}function _0x5d27dd(_0x4d1fbb){const _0x5201aa=[new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5da6d2=>setTimeout(_0x5da6d2,0x133fa3a7^_0x5b82cf)),_0x32a56b[_0xe68004([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dcf7e=>{let _0xeacf1d=0x0;_0x337404[_0xe68004([0x6d,0x6f,0x64,0x65,0x6c])][_0xe68004([0x6f,0x6e])](_0xe68004([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53028b,_0x10bf31)=>{_0x10bf31[0x0][_0xe68004([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xeacf1d++,_0xeacf1d==(0x13369c93^_0x5b82cf)&&(_0x2dcf7e(),_0x53028b[_0xe68004([0x6f,0x66,0x66])]());});}))];return window[_0xe68004([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe68004([0x72,0x61,0x63,0x65])](_0x5201aa)[_0xe68004([0x74,0x68,0x65,0x6e])](()=>_0x4d1fbb);}async function _0x47ea43(){await _0x32a56b,_0x337404[_0xe68004([0x6d,0x6f,0x64,0x65,0x6c])][_0xe68004([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3080b4,_0x337404[_0xe68004([0x6d,0x6f,0x64,0x65,0x6c])][_0xe68004([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3080b4,_0x337404[_0xe68004([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe68004([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c2466(_0x2135b4){const _0x5e82e5=_0x20e5d5();_0x337404[_0x5e82e5]=_0xe68004([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2135b4,_0x2135b4!=_0xe68004([0x56,0x61,0x6c,0x69,0x64])&&_0x47ea43();}function _0x20e5d5(){const _0x4b499c=window[_0xe68004([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe68004([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe68004([0x6e,0x6f,0x77])]())[_0xe68004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe68004([0x2e]),'');let _0x422e6e=_0xe68004([0x41]);for(let _0x20841a=0x0;_0x20841a<_0x4b499c[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20841a+=0x2){let _0x205e61=window[_0xe68004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b499c[_0xe68004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20841a,_0x20841a+0x2));_0x205e61>=_0x2c3cd4[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x205e61-=_0x2c3cd4[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x422e6e+=_0x2c3cd4[_0x205e61];}return _0x422e6e;}function _0x3a9ee3(){const _0xcbc5ac=_0x16b9aa[_0xe68004([0x73,0x70,0x6c,0x69,0x74])](_0xe68004([0x2e]));if(0x3!=_0xcbc5ac[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14590c(_0xcbc5ac[0x1]);function _0x14590c(_0x4325f6){const _0x308f9c=_0x33732a(_0x4325f6);return _0x308f9c&&_0x287039()?_0x308f9c:null;function _0x287039(){const _0x16cf36=_0x308f9c[_0xe68004([0x6a,0x74,0x69])],_0x35c75d=window[_0xe68004([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16cf36[_0xe68004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16cf36[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1fc1fe={..._0x308f9c,[_0xe68004([0x6a,0x74,0x69])]:_0x16cf36[_0xe68004([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16cf36[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1fc1fe[_0xe68004([0x76,0x63])],_0x95514b(_0x1fc1fe)==_0x35c75d;}}}async function _0x39376d(){let _0x417596=!0x0;try{const _0x3e7ad3=_0x16b9aa[_0xe68004([0x73,0x70,0x6c,0x69,0x74])](_0xe68004([0x2e])),[_0x2076d3,_0x4cc679,_0x552c0a]=_0x3e7ad3;return _0x9afdd2(_0x2076d3),await _0x2365bf(_0x2076d3,_0x4cc679,_0x552c0a),_0x417596;}catch{return!0x1;}function _0x9afdd2(_0x571e52){const _0x1a0360=_0x33732a(_0x571e52);_0x1a0360&&_0x1a0360[_0xe68004([0x61,0x6c,0x67])]==_0xe68004([0x45,0x53,0x32,0x35,0x36])||(_0x417596=!0x1);}async function _0x2365bf(_0x2902a3,_0x5f3ca2,_0x36a1b5){const _0xc5ecf3=window[_0xe68004([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe68004([0x66,0x72,0x6f,0x6d])](_0x444e37(_0x36a1b5),_0x2c937e=>_0x2c937e[_0xe68004([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e98dc=new window[(_0xe68004([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe68004([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2902a3+_0xe68004([0x2e])+_0x5f3ca2),_0x4a5643=window[_0xe68004([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe68004([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a5643)return;const _0x229c38=await _0x4a5643[_0xe68004([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe68004([0x6a,0x77,0x6b]),_0xad8b10,{[_0xe68004([0x6e,0x61,0x6d,0x65])]:_0xe68004([0x45,0x43,0x44,0x53,0x41]),[_0xe68004([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe68004([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe68004([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a5643[_0xe68004([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe68004([0x6e,0x61,0x6d,0x65])]:_0xe68004([0x45,0x43,0x44,0x53,0x41]),[_0xe68004([0x68,0x61,0x73,0x68])]:{[_0xe68004([0x6e,0x61,0x6d,0x65])]:_0xe68004([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x229c38,_0xc5ecf3,_0x5e98dc)||(_0x417596=!0x1);}}function _0x33732a(_0xedabc7){return _0xedabc7[_0xe68004([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe68004([0x65,0x79]))?JSON[_0xe68004([0x70,0x61,0x72,0x73,0x65])](_0x444e37(_0xedabc7)):null;}function _0x444e37(_0x30211a){return window[_0xe68004([0x61,0x74,0x6f,0x62])](_0x30211a[_0xe68004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe68004([0x2b]))[_0xe68004([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe68004([0x2f])));}function _0x95514b(_0x1e1ead){let _0x3900bd=0x1505;function _0x40757d(_0x191f2c){for(let _0x50e5cd=0x0;_0x50e5cd<_0x191f2c[_0xe68004([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50e5cd++){const _0x29ebe6=_0x191f2c[_0xe68004([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50e5cd);_0x3900bd=(_0x3900bd<<0x5)+_0x3900bd+_0x29ebe6,_0x3900bd&=_0x3900bd;}}function _0x45846e(_0x2d6fce){Array[_0xe68004([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d6fce)?_0x2d6fce[_0xe68004([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45846e):_0x2d6fce&&typeof _0x2d6fce==_0xe68004([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe68004([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d6fce)[_0xe68004([0x73,0x6f,0x72,0x74])]()[_0xe68004([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x257268,_0x450b12])=>{_0x40757d(_0x257268),_0x45846e(_0x450b12);}):_0x40757d(window[_0xe68004([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d6fce));}return _0x45846e(_0x1e1ead),_0x3900bd>>>0x0;}function _0x284511(_0x1b8ee9){return _0x1b8ee9[_0xe68004([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe68004([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe68004([0x30]));}function _0xd58245(_0x1142c7){return _0x1142c7[_0xe68004([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe68004([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe68004([0x6a,0x6f,0x69,0x6e])]('');}function _0x3080b4(){}function _0xe68004(_0x1ad91d){const _0x6904d0=_0x1198;return _0x1ad91d[_0x6904d0(0xc7)](_0x385294=>String[_0x6904d0(0xba)](_0x385294))[_0x6904d0(0x98)]('');}_0x2c2466(await _0x5423fe());}(this);}[_0x567e68(0xc2)](){const _0x5a82a1=_0x567e68,_0x3b0c8c=this[_0x5a82a1(0xbe)];if(!_0x3b0c8c[_0x5a82a1(0xac)][_0x5a82a1(0x95)](_0x5a82a1(0xb6)))return;const _0x2ce4f8=_0x3b0c8c[_0x5a82a1(0xac)][_0x5a82a1(0x95)](_0x5a82a1(0xab))[_0x5a82a1(0xa3)](_0x1a3740=>_0x5a82a1(0xa7)==typeof _0x1a3740&&(!_0x29832f(_0x1a3740)&&isNaN(Number(_0x1a3740))));if(_0x2ce4f8[_0x5a82a1(0xb2)])throw new _0x1a1ae6(_0x5a82a1(0x97),null,{'namedPresets':_0x2ce4f8});}[_0x567e68(0xbd)](){const _0x5dbda1=_0x567e68,_0x155a3a=this[_0x5dbda1(0xbe)],_0x3d81af=this[_0x5dbda1(0xbe)][_0x5dbda1(0xac)][_0x5dbda1(0x95)](_0x5dbda1(0xae));_0x155a3a[_0x5dbda1(0xc6)][_0x5dbda1(0xbf)](_0x5dbda1(0x94))[_0x5dbda1(0x9f)]({'model':{'key':_0x5dbda1(0xa8)},'view':_0x200474=>String(_0x200474)===String(_0x3d81af)?null:{'key':_0x5dbda1(0xb4),'value':{'line-height':_0x200474}}}),_0x155a3a[_0x5dbda1(0xc6)][_0x5dbda1(0xbf)](_0x5dbda1(0xa4))[_0x5dbda1(0x9f)]({'model':{'key':_0x5dbda1(0xa8),'value':_0x5e9863=>{const _0x80e0fc=_0x5dbda1;let _0x5754e8=_0x5e9863[_0x80e0fc(0xc0)](_0x80e0fc(0xc4));return _0x1d1509(_0x5754e8)&&(_0x5754e8=String(Number(_0x5754e8[_0x80e0fc(0xa0)](0x0,-0x1))/0x64)),String(_0x5754e8)===String(_0x3d81af)?null:_0x5754e8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x567e68(0xb0)](){const _0x197b03=_0x567e68,_0x2c798a=this[_0x197b03(0xbe)],_0xe815cf=this[_0x197b03(0xbe)][_0x197b03(0xac)][_0x197b03(0x95)](_0x197b03(0xae)),_0x567e6a=_0x214c82(this[_0x197b03(0xbe)][_0x197b03(0xac)][_0x197b03(0x95)](_0x197b03(0xa8)))[_0x197b03(0xa3)](_0x3c11e5=>_0x3c11e5[_0x197b03(0xb1)]),_0x297a91=_0x205164(_0x197b03(0xa8),_0x567e6a);_0x2c798a[_0x197b03(0xc6)][_0x197b03(0x9f)](_0x297a91),_0x2c798a[_0x197b03(0xc6)][_0x197b03(0xbf)](_0x197b03(0xa4))[_0x197b03(0x9f)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x197b03(0xa8),'value':_0x4b4980=>{const _0x2778f2=_0x197b03;let _0x212f13=_0x4b4980[_0x2778f2(0xc0)](_0x2778f2(0xc4));return _0x1d1509(_0x212f13)&&(_0x212f13=String(Number(_0x212f13[_0x2778f2(0xa0)](0x0,-0x1))/0x64)),_0x212f13===String(_0xe815cf)?null:_0x297a91[_0x2778f2(0xb1)][_0x2778f2(0xb9)][_0x2778f2(0xbb)](_0x212f13)?_0x212f13:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3d4a1b}from'ckeditor5/src/core.js';import{addListToDropdown as _0x16997f,createDropdown as _0x1760f3,MenuBarMenuListItemButtonView as _0x1cc9ea,MenuBarMenuListItemView as _0x4a1904,MenuBarMenuListView as _0x1189f4,MenuBarMenuView as _0x115eef,UIModel as _0xd0f55f}from'ckeditor5/src/ui.js';import{Collection as _0x3e675c}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x105767}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4944bb}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3d4a1b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x432fbf={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x432fbf),this['_registerMenuBarComponent'](_0x432fbf),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x527ca4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x503a04;for(const _0x10ef33 in _0x527ca4){const _0x49282d=_0x10ef33,_0x38b63e=_0x527ca4[_0x49282d];if('lineHeightLicenseKeyValid'==_0x38b63e||'lineHeightLicenseKeyInvalid'==_0x38b63e||'lineHeightLicenseKeyExpired'==_0x38b63e||'lineHeightLicenseKeyDomainLimit'==_0x38b63e||'lineHeightLicenseKeyNotAllowed'==_0x38b63e||'lineHeightLicenseKeyEvaluationLimit'==_0x38b63e||'lineHeightLicenseKeyTrialLimit'==_0x38b63e||'lineHeightLicenseKeyUsageLimit'==_0x38b63e){delete _0x527ca4[_0x49282d],_0x503a04=_0x38b63e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x503a04&&_0x527ca4['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x503a04&&_0x527ca4['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x503a04&&_0x527ca4['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x503a04&&_0x527ca4['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x503a04&&_0x527ca4['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x503a04&&_0x527ca4['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x503a04&&_0x527ca4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xee9363=this['editor'],t=_0xee9363['t'],_0x5477a5=_0xee9363['config']['get']('lineHeight'),_0x6c496f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4944bb(_0x5477a5)['map'](_0x5921b5=>{const _0x2db177=_0x6c496f[_0x5921b5['title']];return _0x2db177&&_0x2db177!=_0x5921b5['title']&&(_0x5921b5=Object['assign']({},_0x5921b5,{'title':_0x2db177})),_0x5921b5;});}['_prepareListOptions'](){const _0x19ae63=this['editor']['commands']['get']('lineHeight'),_0x1b14f7=this['editor']['config']['get']('lineHeight.defaultValue'),_0xb3cd8a=this['_getLocalizedLineHeightOptions'](),_0xef400e=new _0x3e675c(),_0x156d8e=_0x115e3f=>'default'===_0x115e3f||String(_0x1b14f7)===_0x115e3f;for(const _0x555153 of _0xb3cd8a){const _0x2b02d7={'type':'button','model':new _0xd0f55f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x555153['title'],'withText':!0x0})};_0x156d8e(_0x555153['model'])?(_0x2b02d7['model']['bind']('isOn')['to'](_0x19ae63,'value',_0xfdb48b=>!_0xfdb48b),_0x2b02d7['model']['commandParam']=void 0x0):(_0x2b02d7['model']['bind']('isOn')['to'](_0x19ae63,'value',_0x5b0d89=>_0x5b0d89===_0x555153['model']),_0x2b02d7['model']['commandParam']=_0x555153['model']),_0xef400e['add'](_0x2b02d7);}if(this['_shouldRenderCustomValueOption']()){const _0x411adc=this['_getCustomValueOptionDefinition'](_0xb3cd8a);_0xef400e['add'](_0x411adc);}return _0xef400e;}['_getCustomValueOptionDefinition'](_0x1d21c9){const _0x35b4b5=this['editor'],t=_0x35b4b5['t'],_0x258136=_0x35b4b5['commands']['get']('lineHeight'),_0x197f18=_0x1d21c9['map'](_0x24f058=>_0x24f058['model']),_0xeb6f3a={'type':'button','model':new _0xd0f55f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xeb6f3a['model']['bind']('commandParam')['to'](_0x258136,'value'),_0xeb6f3a['model']['bind']('isOn')['to'](_0x258136,'value',_0x3d69df=>!!_0x3d69df&&!_0x197f18['includes'](String(_0x3d69df))),_0xeb6f3a['model']['bind']('label')['to'](_0x258136,'value',_0x2afbc4=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2afbc4))),_0xeb6f3a;}['_registerToolbarComponent']({accessibleLabel:_0x21f1cc,options:_0x279a03}){const _0x3f7f55=this['editor'],_0x53257e=_0x3f7f55['commands']['get']('lineHeight');_0x3f7f55['ui']['componentFactory']['add']('lineHeight',_0x3431ba=>{const _0x1e9bf8=_0x1760f3(_0x3431ba);return _0x16997f(_0x1e9bf8,_0x279a03,{'role':'menu','ariaLabel':_0x21f1cc}),_0x1e9bf8['buttonView']['set']({'label':_0x21f1cc,'tooltip':!0x0,'icon':_0x105767}),_0x1e9bf8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1e9bf8['bind']('isEnabled')['to'](_0x53257e),this['listenTo'](_0x1e9bf8,'execute',_0xbaf45e=>{_0x3f7f55['execute'](_0xbaf45e['source']['commandName'],{'value':_0xbaf45e['source']['commandParam']}),_0x3f7f55['editing']['view']['focus']();}),_0x1e9bf8['once']('change:isOpen',()=>{const _0x24fc45=_0x1e9bf8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1e9bf8,_0x279a03,_0x24fc45);}),_0x1e9bf8;});}['_registerMenuBarComponent']({accessibleLabel:_0x3a1921,options:_0x4cf7ed}){const _0x2df1b9=this['editor'],_0x348f23=_0x2df1b9['commands']['get']('lineHeight');_0x2df1b9['ui']['componentFactory']['add']('menuBar:lineHeight',_0x207a6b=>{const _0x176ced=new _0x115eef(_0x207a6b);_0x176ced['buttonView']['set']({'label':_0x3a1921,'icon':_0x105767}),_0x176ced['bind']('isEnabled')['to'](_0x348f23);const _0x8ca9e5=new _0x1189f4(_0x207a6b);for(const _0x220b5e of _0x4cf7ed){const _0x4ad677=new _0x4a1904(_0x207a6b,_0x176ced),_0x55b00b=new _0x1cc9ea(_0x207a6b);_0x55b00b['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x55b00b['bind'](...Object['keys'](_0x220b5e['model']))['to'](_0x220b5e['model']),_0x55b00b['delegate']('execute')['to'](_0x176ced),_0x55b00b['on']('execute',()=>{_0x2df1b9['execute'](_0x220b5e['model']['commandName'],{'value':_0x220b5e['model']['commandParam']}),_0x2df1b9['editing']['view']['focus']();}),_0x4ad677['children']['add'](_0x55b00b),_0x8ca9e5['items']['add'](_0x4ad677);}return _0x176ced['panelView']['children']['add'](_0x8ca9e5),this['_attachCustomOptionVisibilityHandler'](_0x176ced,_0x4cf7ed,_0x8ca9e5),_0x176ced;});}['_attachCustomOptionVisibilityHandler'](_0x1a77fc,_0x186a08,_0x4a24a2){if(!this['_shouldRenderCustomValueOption']())return;const _0x1c7b37=()=>{if(!_0x1a77fc['isOpen'])return;_0x4a24a2['items']['last']['isVisible']=Boolean(_0x186a08['last']['model']['isOn']);};_0x1c7b37(),_0x1a77fc['on']('change:isOpen',()=>{_0x1c7b37();});}}
23
+ import{Plugin as _0x22f173}from'ckeditor5/src/core.js';import{addListToDropdown as _0x506513,createDropdown as _0x37e74b,MenuBarMenuListItemButtonView as _0x48d39f,MenuBarMenuListItemView as _0x386cf0,MenuBarMenuListView as _0x3fe666,MenuBarMenuView as _0x488e61,UIModel as _0xc5d568}from'ckeditor5/src/ui.js';import{Collection as _0x143d9c}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x3b390f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x194f83}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x22f173{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x16e314={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x16e314),this['_registerMenuBarComponent'](_0x16e314),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x814dfe=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f15b9;for(const _0x144bde in _0x814dfe){const _0x49054c=_0x144bde,_0x192eac=_0x814dfe[_0x49054c];if('lineHeightLicenseKeyValid'==_0x192eac||'lineHeightLicenseKeyInvalid'==_0x192eac||'lineHeightLicenseKeyExpired'==_0x192eac||'lineHeightLicenseKeyDomainLimit'==_0x192eac||'lineHeightLicenseKeyNotAllowed'==_0x192eac||'lineHeightLicenseKeyEvaluationLimit'==_0x192eac||'lineHeightLicenseKeyTrialLimit'==_0x192eac||'lineHeightLicenseKeyUsageLimit'==_0x192eac){delete _0x814dfe[_0x49054c],_0x1f15b9=_0x192eac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1f15b9&&_0x814dfe['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1f15b9&&_0x814dfe['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1f15b9&&_0x814dfe['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1f15b9&&_0x814dfe['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1f15b9&&_0x814dfe['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1f15b9&&_0x814dfe['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1f15b9&&_0x814dfe['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4d8ee9=this['editor'],t=_0x4d8ee9['t'],_0x2629ba=_0x4d8ee9['config']['get']('lineHeight'),_0x50fc6d={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x194f83(_0x2629ba)['map'](_0x293f25=>{const _0xbf1922=_0x50fc6d[_0x293f25['title']];return _0xbf1922&&_0xbf1922!=_0x293f25['title']&&(_0x293f25=Object['assign']({},_0x293f25,{'title':_0xbf1922})),_0x293f25;});}['_prepareListOptions'](){const _0x4d35fa=this['editor']['commands']['get']('lineHeight'),_0x10884a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x21f484=this['_getLocalizedLineHeightOptions'](),_0x4c857b=new _0x143d9c(),_0x500be4=_0x5b716c=>'default'===_0x5b716c||String(_0x10884a)===_0x5b716c;for(const _0x250c6 of _0x21f484){const _0x343bad={'type':'button','model':new _0xc5d568({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x250c6['title'],'withText':!0x0})};_0x500be4(_0x250c6['model'])?(_0x343bad['model']['bind']('isOn')['to'](_0x4d35fa,'value',_0x175c06=>!_0x175c06),_0x343bad['model']['commandParam']=void 0x0):(_0x343bad['model']['bind']('isOn')['to'](_0x4d35fa,'value',_0x3fa6c2=>_0x3fa6c2===_0x250c6['model']),_0x343bad['model']['commandParam']=_0x250c6['model']),_0x4c857b['add'](_0x343bad);}if(this['_shouldRenderCustomValueOption']()){const _0x64c616=this['_getCustomValueOptionDefinition'](_0x21f484);_0x4c857b['add'](_0x64c616);}return _0x4c857b;}['_getCustomValueOptionDefinition'](_0x2556bf){const _0xec4863=this['editor'],t=_0xec4863['t'],_0x5af049=_0xec4863['commands']['get']('lineHeight'),_0x57b3af=_0x2556bf['map'](_0x13564f=>_0x13564f['model']),_0x461708={'type':'button','model':new _0xc5d568({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x461708['model']['bind']('commandParam')['to'](_0x5af049,'value'),_0x461708['model']['bind']('isOn')['to'](_0x5af049,'value',_0x4098fa=>!!_0x4098fa&&!_0x57b3af['includes'](String(_0x4098fa))),_0x461708['model']['bind']('label')['to'](_0x5af049,'value',_0x16bcff=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x16bcff))),_0x461708;}['_registerToolbarComponent']({accessibleLabel:_0x2d5c27,options:_0x22bf8e}){const _0x38b9a2=this['editor'],_0x115ed1=_0x38b9a2['commands']['get']('lineHeight');_0x38b9a2['ui']['componentFactory']['add']('lineHeight',_0x407701=>{const _0x5382b0=_0x37e74b(_0x407701);return _0x506513(_0x5382b0,_0x22bf8e,{'role':'menu','ariaLabel':_0x2d5c27}),_0x5382b0['buttonView']['set']({'label':_0x2d5c27,'tooltip':!0x0,'icon':_0x3b390f}),_0x5382b0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5382b0['bind']('isEnabled')['to'](_0x115ed1),this['listenTo'](_0x5382b0,'execute',_0x442f70=>{_0x38b9a2['execute'](_0x442f70['source']['commandName'],{'value':_0x442f70['source']['commandParam']}),_0x38b9a2['editing']['view']['focus']();}),_0x5382b0['once']('change:isOpen',()=>{const _0x2d4660=_0x5382b0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5382b0,_0x22bf8e,_0x2d4660);}),_0x5382b0;});}['_registerMenuBarComponent']({accessibleLabel:_0x4b7e53,options:_0x4c0718}){const _0x47a9f2=this['editor'],_0x1ac68e=_0x47a9f2['commands']['get']('lineHeight');_0x47a9f2['ui']['componentFactory']['add']('menuBar:lineHeight',_0x9526a1=>{const _0x1358ef=new _0x488e61(_0x9526a1);_0x1358ef['buttonView']['set']({'label':_0x4b7e53,'icon':_0x3b390f}),_0x1358ef['bind']('isEnabled')['to'](_0x1ac68e);const _0x58f58f=new _0x3fe666(_0x9526a1);for(const _0x3221a1 of _0x4c0718){const _0x584465=new _0x386cf0(_0x9526a1,_0x1358ef),_0x41c07d=new _0x48d39f(_0x9526a1);_0x41c07d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x41c07d['bind'](...Object['keys'](_0x3221a1['model']))['to'](_0x3221a1['model']),_0x41c07d['delegate']('execute')['to'](_0x1358ef),_0x41c07d['on']('execute',()=>{_0x47a9f2['execute'](_0x3221a1['model']['commandName'],{'value':_0x3221a1['model']['commandParam']}),_0x47a9f2['editing']['view']['focus']();}),_0x584465['children']['add'](_0x41c07d),_0x58f58f['items']['add'](_0x584465);}return _0x1358ef['panelView']['children']['add'](_0x58f58f),this['_attachCustomOptionVisibilityHandler'](_0x1358ef,_0x4c0718,_0x58f58f),_0x1358ef;});}['_attachCustomOptionVisibilityHandler'](_0x465374,_0x340d0e,_0x2f17af){if(!this['_shouldRenderCustomValueOption']())return;const _0x5104fa=()=>{if(!_0x465374['isOpen'])return;_0x2f17af['items']['last']['isVisible']=Boolean(_0x340d0e['last']['model']['isOn']);};_0x5104fa(),_0x465374['on']('change:isOpen',()=>{_0x5104fa();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x157a0a,_0x17820f){const _0x1ea34b=_0x1fc1,_0x82024a=_0x157a0a();while(!![]){try{const _0x32949c=-parseInt(_0x1ea34b(0x1b4))/0x1+parseInt(_0x1ea34b(0x1c3))/0x2*(parseInt(_0x1ea34b(0x1c4))/0x3)+parseInt(_0x1ea34b(0x1ad))/0x4+parseInt(_0x1ea34b(0x1be))/0x5+-parseInt(_0x1ea34b(0x1ae))/0x6+-parseInt(_0x1ea34b(0x1bb))/0x7+-parseInt(_0x1ea34b(0x1c9))/0x8*(-parseInt(_0x1ea34b(0x1a9))/0x9);if(_0x32949c===_0x17820f)break;else _0x82024a['push'](_0x82024a['shift']());}catch(_0xd12c88){_0x82024a['push'](_0x82024a['shift']());}}}(_0x1aeb,0x9f294));const v={get 'single'(){const _0x624910=_0x1fc1;return{'title':_0x624910(0x1b2),'model':_0x624910(0x1b0),'view':{'key':_0x624910(0x1bc),'value':_0x624910(0x1b3)}};},get 'double'(){const _0x59d5e7=_0x1fc1;return{'title':_0x59d5e7(0x1aa),'model':_0x59d5e7(0x1bd),'view':{'key':_0x59d5e7(0x1bc),'value':_0x59d5e7(0x1c5)}};}};export function isLineHeightDefaultValue(_0x405cdd){const _0x37f4d1=_0x1fc1;return _0x37f4d1(0x1c0)==typeof _0x405cdd&&_0x37f4d1(0x1b7)===_0x405cdd[_0x37f4d1(0x1b6)]();}function _0x1fc1(_0x4d0459,_0x37a1e8){const _0x1aeba0=_0x1aeb();return _0x1fc1=function(_0x1fc1a0,_0x3293eb){_0x1fc1a0=_0x1fc1a0-0x1a9;let _0x2023f7=_0x1aeba0[_0x1fc1a0];return _0x2023f7;},_0x1fc1(_0x4d0459,_0x37a1e8);}function _0x1aeb(){const _0x1d1018=['model','defaultValue','6bbTqUS','816840teZCIQ','line-height-double','values','span','push','296gXyTAB','109179HYCUmt','Double','line-height:','options','1004044CXwEqT','2074542vQHxtn','style','single','map','Single','line-height-single','878062IyxBuy','value','toLowerCase','default','filter','key','number','6278699aTTfOf','class','double','6280010avRHlC','view','string'];_0x1aeb=function(){return _0x1d1018;};return _0x1aeb();}export function normalizeOptions(_0x2e8870){const _0x584d00=_0x1fc1;return _0x2e8870[_0x584d00(0x1ac)][_0x584d00(0x1b1)](_0x56db69=>isLineHeightDefaultValue(_0x56db69)?{'title':String(_0x2e8870[_0x584d00(0x1c2)]),'model':_0x584d00(0x1b7)}:(_0x584d00(0x1ba)==typeof _0x56db69&&(_0x56db69=String(_0x56db69)),_0x584d00(0x1c0)!=typeof _0x56db69?_0x56db69:parseFloat(_0x56db69)?{'title':_0x56db69,'model':_0x56db69,'view':{'name':_0x584d00(0x1c7),'styles':{'line-height':_0x56db69}}}:findPreset(_0x56db69)))[_0x584d00(0x1b8)](_0x5f1150=>void 0x0!==_0x5f1150);}export function findPreset(_0x494023){const _0x220c84=_0x1fc1;return _0x220c84(0x1c0)==typeof _0x494023?v[_0x494023]:v[_0x494023[_0x220c84(0x1c1)]];}export function buildDefinition(_0x2d2e6c,_0x1419ba){const _0x1afc1e=_0x1fc1,_0x26e16d={'model':{'key':_0x2d2e6c,'values':[]},'view':{}};for(const _0x5deea5 of _0x1419ba)_0x1afc1e(0x1bc)===_0x5deea5[_0x1afc1e(0x1bf)]?.[_0x1afc1e(0x1b9)]?(_0x26e16d[_0x1afc1e(0x1c1)][_0x1afc1e(0x1c6)][_0x1afc1e(0x1c8)](_0x5deea5[_0x1afc1e(0x1c1)]),_0x26e16d[_0x1afc1e(0x1bf)][_0x5deea5[_0x1afc1e(0x1c1)]]={'key':_0x1afc1e(0x1bc),'value':_0x5deea5[_0x1afc1e(0x1bf)][_0x1afc1e(0x1b5)]}):(_0x26e16d[_0x1afc1e(0x1c1)][_0x1afc1e(0x1c6)][_0x1afc1e(0x1c8)](_0x5deea5[_0x1afc1e(0x1c1)]),_0x26e16d[_0x1afc1e(0x1bf)][_0x5deea5[_0x1afc1e(0x1c1)]]={'key':_0x1afc1e(0x1af),'value':_0x1afc1e(0x1ab)+_0x5deea5[_0x1afc1e(0x1c1)]+';'});return _0x26e16d;}
23
+ function _0x29e8(){const _0x26322f=['toLowerCase','number','1271754rINzIw','8wtnpzy','line-height:','string','options','Double','values','single','3nItxmn','double','view','1808400psCVzr','default','line-height-double','611720LZcYKw','filter','241485rPnUZL','key','101985vypllU','style','3738525pKehzO','span','line-height-single','Single','map','936538SXKbEy','value','class','push','model','defaultValue'];_0x29e8=function(){return _0x26322f;};return _0x29e8();}(function(_0x272288,_0x5b0ef2){const _0x1bcccc=_0x18b2,_0x2f2ae7=_0x272288();while(!![]){try{const _0x5d3dd8=-parseInt(_0x1bcccc(0xf2))/0x1+-parseInt(_0x1bcccc(0xfb))/0x2*(-parseInt(_0x1bcccc(0x10b))/0x3)+parseInt(_0x1bcccc(0xf0))/0x4+-parseInt(_0x1bcccc(0xf4))/0x5+parseInt(_0x1bcccc(0x10e))/0x6+-parseInt(_0x1bcccc(0xf6))/0x7+-parseInt(_0x1bcccc(0x104))/0x8*(-parseInt(_0x1bcccc(0x103))/0x9);if(_0x5d3dd8===_0x5b0ef2)break;else _0x2f2ae7['push'](_0x2f2ae7['shift']());}catch(_0x52dcda){_0x2f2ae7['push'](_0x2f2ae7['shift']());}}}(_0x29e8,0x416ac));function _0x18b2(_0x4a96c9,_0x1bb98e){const _0x29e868=_0x29e8();return _0x18b2=function(_0x18b261,_0x178cf2){_0x18b261=_0x18b261-0xee;let _0x20e303=_0x29e868[_0x18b261];return _0x20e303;},_0x18b2(_0x4a96c9,_0x1bb98e);}const v={get 'single'(){const _0x31acef=_0x18b2;return{'title':_0x31acef(0xf9),'model':_0x31acef(0x10a),'view':{'key':_0x31acef(0xfd),'value':_0x31acef(0xf8)}};},get 'double'(){const _0x2ae8b1=_0x18b2;return{'title':_0x2ae8b1(0x108),'model':_0x2ae8b1(0x10c),'view':{'key':_0x2ae8b1(0xfd),'value':_0x2ae8b1(0xef)}};}};export function isLineHeightDefaultValue(_0xb7f2d5){const _0xe0202d=_0x18b2;return _0xe0202d(0x106)==typeof _0xb7f2d5&&_0xe0202d(0xee)===_0xb7f2d5[_0xe0202d(0x101)]();}export function normalizeOptions(_0x2cf35d){const _0x5cd3ab=_0x18b2;return _0x2cf35d[_0x5cd3ab(0x107)][_0x5cd3ab(0xfa)](_0x2a034c=>isLineHeightDefaultValue(_0x2a034c)?{'title':String(_0x2cf35d[_0x5cd3ab(0x100)]),'model':_0x5cd3ab(0xee)}:(_0x5cd3ab(0x102)==typeof _0x2a034c&&(_0x2a034c=String(_0x2a034c)),_0x5cd3ab(0x106)!=typeof _0x2a034c?_0x2a034c:parseFloat(_0x2a034c)?{'title':_0x2a034c,'model':_0x2a034c,'view':{'name':_0x5cd3ab(0xf7),'styles':{'line-height':_0x2a034c}}}:findPreset(_0x2a034c)))[_0x5cd3ab(0xf1)](_0x2e8f47=>void 0x0!==_0x2e8f47);}export function findPreset(_0x329db8){const _0x46618e=_0x18b2;return _0x46618e(0x106)==typeof _0x329db8?v[_0x329db8]:v[_0x329db8[_0x46618e(0xff)]];}export function buildDefinition(_0x2fb214,_0x52e0a7){const _0x17d6d1=_0x18b2,_0x3ff618={'model':{'key':_0x2fb214,'values':[]},'view':{}};for(const _0x525573 of _0x52e0a7)_0x17d6d1(0xfd)===_0x525573[_0x17d6d1(0x10d)]?.[_0x17d6d1(0xf3)]?(_0x3ff618[_0x17d6d1(0xff)][_0x17d6d1(0x109)][_0x17d6d1(0xfe)](_0x525573[_0x17d6d1(0xff)]),_0x3ff618[_0x17d6d1(0x10d)][_0x525573[_0x17d6d1(0xff)]]={'key':_0x17d6d1(0xfd),'value':_0x525573[_0x17d6d1(0x10d)][_0x17d6d1(0xfc)]}):(_0x3ff618[_0x17d6d1(0xff)][_0x17d6d1(0x109)][_0x17d6d1(0xfe)](_0x525573[_0x17d6d1(0xff)]),_0x3ff618[_0x17d6d1(0x10d)][_0x525573[_0x17d6d1(0xff)]]={'key':_0x17d6d1(0xf5),'value':_0x17d6d1(0x105)+_0x525573[_0x17d6d1(0xff)]+';'});return _0x3ff618;}