@ckeditor/ckeditor5-line-height 46.1.1-alpha.3 → 47.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/build/line-height.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +7 -7
  150. package/src/index.js +1 -1
  151. package/src/lineheight.js +1 -1
  152. package/src/lineheightcommand.js +1 -1
  153. package/src/lineheightediting.js +1 -1
  154. package/src/lineheightui.js +1 -1
  155. package/src/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e1d8b=_0x54e1;function _0x54e1(_0x40a816,_0x30d2f5){const _0x546595=_0x5465();return _0x54e1=function(_0x54e1b2,_0x2490ba){_0x54e1b2=_0x54e1b2-0x7a;let _0x4c25f8=_0x546595[_0x54e1b2];return _0x4c25f8;},_0x54e1(_0x40a816,_0x30d2f5);}(function(_0x50e6ec,_0x4fae07){const _0x5d605c=_0x54e1,_0x1bb473=_0x50e6ec();while(!![]){try{const _0x2c800c=parseInt(_0x5d605c(0x7b))/0x1*(-parseInt(_0x5d605c(0x88))/0x2)+-parseInt(_0x5d605c(0x8e))/0x3+-parseInt(_0x5d605c(0x82))/0x4*(parseInt(_0x5d605c(0x7d))/0x5)+parseInt(_0x5d605c(0x7e))/0x6*(parseInt(_0x5d605c(0x91))/0x7)+parseInt(_0x5d605c(0x93))/0x8*(parseInt(_0x5d605c(0x86))/0x9)+-parseInt(_0x5d605c(0x95))/0xa*(parseInt(_0x5d605c(0x94))/0xb)+parseInt(_0x5d605c(0x7f))/0xc;if(_0x2c800c===_0x4fae07)break;else _0x1bb473['push'](_0x1bb473['shift']());}catch(_0x5752fd){_0x1bb473['push'](_0x1bb473['shift']());}}}(_0x5465,0x9f5ed));import{Command as _0x540e57}from'ckeditor5/src/core.js';import{first as _0x1c9798}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x540e57{[_0x5e1d8b(0x8f)](){const _0x49408b=_0x5e1d8b,_0x1afcd3=this[_0x49408b(0x80)][_0x49408b(0x92)][_0x49408b(0x97)],_0x5d3af1=_0x1c9798(_0x1afcd3[_0x49408b(0x98)][_0x49408b(0x8b)]());this[_0x49408b(0x7c)]=Boolean(_0x5d3af1)&&this[_0x49408b(0x90)](_0x5d3af1),this[_0x49408b(0x7a)]=this[_0x49408b(0x7c)]&&_0x5d3af1[_0x49408b(0x96)](_0x49408b(0x83));}[_0x5e1d8b(0x85)](_0x53bb26={}){const _0x3c60cb=_0x5e1d8b,_0x19ee03=this[_0x3c60cb(0x80)][_0x3c60cb(0x92)],_0x24f062=_0x19ee03[_0x3c60cb(0x97)][_0x3c60cb(0x98)],_0x7659c8=_0x53bb26[_0x3c60cb(0x7a)];_0x19ee03[_0x3c60cb(0x87)](_0x57c765=>{const _0x2252d7=_0x3c60cb,_0x15635e=Array[_0x2252d7(0x81)](_0x24f062[_0x2252d7(0x8b)]())[_0x2252d7(0x84)](_0x376a68=>this[_0x2252d7(0x90)](_0x376a68));for(const _0x365041 of _0x15635e)_0x7659c8?_0x57c765[_0x2252d7(0x8a)](_0x2252d7(0x83),_0x7659c8,_0x365041):_0x57c765[_0x2252d7(0x89)](_0x2252d7(0x83),_0x365041);});}[_0x5e1d8b(0x90)](_0x4f92e9){const _0x13d51f=_0x5e1d8b;return this[_0x13d51f(0x80)][_0x13d51f(0x92)][_0x13d51f(0x8d)][_0x13d51f(0x8c)](_0x4f92e9,_0x13d51f(0x83));}}function _0x5465(){const _0xdbfee=['schema','2162385VhKhvN','refresh','_canHaveLineHeight','8043soQnMI','model','24vWNjgL','2391323wVpaEM','30kaOVoY','getAttribute','document','selection','value','95111YaSZgr','isEnabled','15aZTpGz','5172ScZRCE','13848528cuwvnd','editor','from','1622020AwUFCN','lineHeight','filter','execute','3578697hSklmc','change','2bxydYu','removeAttribute','setAttribute','getSelectedBlocks','checkAttribute'];_0x5465=function(){return _0xdbfee;};return _0x5465();}
23
+ const _0x49d00=_0x1af9;(function(_0x3944be,_0x458ee8){const _0x2ecde6=_0x1af9,_0x1fdf66=_0x3944be();while(!![]){try{const _0x3d81c5=-parseInt(_0x2ecde6(0x133))/0x1+-parseInt(_0x2ecde6(0x131))/0x2+parseInt(_0x2ecde6(0x138))/0x3+-parseInt(_0x2ecde6(0x12d))/0x4+-parseInt(_0x2ecde6(0x12f))/0x5+parseInt(_0x2ecde6(0x125))/0x6*(parseInt(_0x2ecde6(0x123))/0x7)+parseInt(_0x2ecde6(0x122))/0x8;if(_0x3d81c5===_0x458ee8)break;else _0x1fdf66['push'](_0x1fdf66['shift']());}catch(_0x538e97){_0x1fdf66['push'](_0x1fdf66['shift']());}}}(_0x19ea,0xae464));import{Command as _0x53a97e}from'ckeditor5/src/core.js';function _0x1af9(_0x43d26c,_0x234a1f){const _0x19ea2f=_0x19ea();return _0x1af9=function(_0x1af9a4,_0x3fac3b){_0x1af9a4=_0x1af9a4-0x120;let _0x2196a7=_0x19ea2f[_0x1af9a4];return _0x2196a7;},_0x1af9(_0x43d26c,_0x234a1f);}function _0x19ea(){const _0x265fa1=['schema','2602080DebcXC','getAttribute','927330fHDIwI','getSelectedBlocks','2166770maMRxJ','lineHeight','560920Grjnwa','setAttribute','from','checkAttribute','refresh','863844tiBYrI','value','editor','model','document','11977112nBaSuG','9863224mOQmNy','filter','6pTAzmT','change','selection','removeAttribute','isEnabled','_canHaveLineHeight','execute'];_0x19ea=function(){return _0x265fa1;};return _0x19ea();}import{first as _0x2a6fa0}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x53a97e{[_0x49d00(0x137)](){const _0x1fef71=_0x49d00,_0xf19e77=this[_0x1fef71(0x13a)][_0x1fef71(0x120)][_0x1fef71(0x121)],_0x1a4d4a=_0x2a6fa0(_0xf19e77[_0x1fef71(0x127)][_0x1fef71(0x130)]());this[_0x1fef71(0x129)]=Boolean(_0x1a4d4a)&&this[_0x1fef71(0x12a)](_0x1a4d4a),this[_0x1fef71(0x139)]=this[_0x1fef71(0x129)]&&_0x1a4d4a[_0x1fef71(0x12e)](_0x1fef71(0x132));}[_0x49d00(0x12b)](_0x5a24eb={}){const _0x208ead=_0x49d00,_0x38ebdc=this[_0x208ead(0x13a)][_0x208ead(0x120)],_0x5585ed=_0x38ebdc[_0x208ead(0x121)][_0x208ead(0x127)],_0x58dc0f=_0x5a24eb[_0x208ead(0x139)];_0x38ebdc[_0x208ead(0x126)](_0x2691aa=>{const _0x153307=_0x208ead,_0x2161e0=Array[_0x153307(0x135)](_0x5585ed[_0x153307(0x130)]())[_0x153307(0x124)](_0x1af939=>this[_0x153307(0x12a)](_0x1af939));for(const _0xf212b8 of _0x2161e0)_0x58dc0f?_0x2691aa[_0x153307(0x134)](_0x153307(0x132),_0x58dc0f,_0xf212b8):_0x2691aa[_0x153307(0x128)](_0x153307(0x132),_0xf212b8);});}[_0x49d00(0x12a)](_0x3de5c8){const _0x372efe=_0x49d00;return this[_0x372efe(0x13a)][_0x372efe(0x120)][_0x372efe(0x12c)][_0x372efe(0x136)](_0x3de5c8,_0x372efe(0x132));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1149(){const _0x59c5fe=['_preparePredefinedConverters','downcast','616805OVIjwf','_prepareAnyValueConverters','244096BvKXFj','LineHeightEditing','16ZZeIUq','string','schema','lineHeight','setAttributeProperties','621732uOFtgq','2568500JgwWEH','define','fromCharCode','1122309UXTlIU','lineHeight.defaultValue','model','30ffhgQc','style','extend','$block','init','_validateConfig','href','filter','pluginName','34290OANmGw','isOfficialPlugin','join','line-height-invalid-use-of-named-presets','for','editor','get','lineHeight.supportAllValues','slice','afterInit','isPremiumPlugin','commands','lineHeight.options','2gtgJhO','add','values','getStyle','map','attributeToAttribute','166783opVcKR','conversion','line-height','default','includes','length','upcast','config'];_0x1149=function(){return _0x59c5fe;};return _0x1149();}const _0x3f0d2a=_0x3bee;(function(_0xfe0768,_0x592902){const _0x167060=_0x3bee,_0x83cdb3=_0xfe0768();while(!![]){try{const _0x383bfa=parseInt(_0x167060(0x168))/0x1*(-parseInt(_0x167060(0x162))/0x2)+parseInt(_0x167060(0x145))/0x3+parseInt(_0x167060(0x174))/0x4+parseInt(_0x167060(0x14c))/0x5*(-parseInt(_0x167060(0x155))/0x6)+-parseInt(_0x167060(0x172))/0x7*(-parseInt(_0x167060(0x140))/0x8)+parseInt(_0x167060(0x149))/0x9+-parseInt(_0x167060(0x146))/0xa;if(_0x383bfa===_0x592902)break;else _0x83cdb3['push'](_0x83cdb3['shift']());}catch(_0x2984e){_0x83cdb3['push'](_0x83cdb3['shift']());}}}(_0x1149,0x1b2ac));import{Plugin as _0x3726a8}from'ckeditor5/src/core.js';function _0x3bee(_0x211fe6,_0x29e2cf){const _0x1149b4=_0x1149();return _0x3bee=function(_0x3bee51,_0x523589){_0x3bee51=_0x3bee51-0x140;let _0x3f7c73=_0x1149b4[_0x3bee51];return _0x3f7c73;},_0x3bee(_0x211fe6,_0x29e2cf);}import{LineHeightCommand as _0x1f7886}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x29cb4c}from'ckeditor5/src/engine.js';import{uid as _0x4f5e23,CKEditorError as _0x3a06d6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x34574,isLineHeightDefaultValue as _0x155b6e,normalizeOptions as _0xd0b692}from'./utils.js';export class LineHeightEditing extends _0x3726a8{static get[_0x3f0d2a(0x154)](){const _0x135fb5=_0x3f0d2a;return _0x135fb5(0x175);}static get[_0x3f0d2a(0x156)](){return!0x0;}static get[_0x3f0d2a(0x15f)](){return!0x0;}constructor(_0x58930a){const _0x4f2727=_0x3f0d2a;super(_0x58930a),_0x58930a[_0x4f2727(0x16f)][_0x4f2727(0x147)](_0x4f2727(0x143),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4f2727(0x16b),0x2,2.5,0x3]});}[_0x3f0d2a(0x150)](){const _0x209d9b=_0x3f0d2a,_0x13e343=this[_0x209d9b(0x15a)];this[_0x209d9b(0x151)](),_0x13e343[_0x209d9b(0x14b)][_0x209d9b(0x142)][_0x209d9b(0x14e)](_0x209d9b(0x14f),{'allowAttributes':_0x209d9b(0x143)}),_0x13e343[_0x209d9b(0x14b)][_0x209d9b(0x142)][_0x209d9b(0x144)](_0x209d9b(0x143),{'isFormatting':!0x0}),_0x13e343[_0x209d9b(0x160)][_0x209d9b(0x163)](_0x209d9b(0x143),new _0x1f7886(_0x13e343)),this[_0x209d9b(0x15a)][_0x209d9b(0x16f)][_0x209d9b(0x15b)](_0x209d9b(0x15c))?this[_0x209d9b(0x173)]():this[_0x209d9b(0x170)]();}[_0x3f0d2a(0x15e)](){!async function(_0x617f4c){const _0xa3f798=_0x108eb0([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x13e23b=0x4597e011,_0x39a4d9=0x45909361^_0x13e23b,_0x3ed585=window[_0x108eb0([0x44,0x61,0x74,0x65])][_0x108eb0([0x6e,0x6f,0x77])](),_0x147e6b=_0x617f4c[_0x108eb0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xaa890a=new window[(_0x108eb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f2204=>{_0x147e6b[_0x108eb0([0x6f,0x6e,0x63,0x65])](_0x108eb0([0x72,0x65,0x61,0x64,0x79]),_0x3f2204);}),_0x48e545={[_0x108eb0([0x6b,0x74,0x79])]:_0x108eb0([0x45,0x43]),[_0x108eb0([0x75,0x73,0x65])]:_0x108eb0([0x73,0x69,0x67]),[_0x108eb0([0x63,0x72,0x76])]:_0x108eb0([0x50,0x2d,0x32,0x35,0x36]),[_0x108eb0([0x78])]:_0x108eb0([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]),[_0x108eb0([0x79])]:_0x108eb0([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]),[_0x108eb0([0x61,0x6c,0x67])]:_0x108eb0([0x45,0x53,0x32,0x35,0x36])},_0x188e7d=_0x147e6b[_0x108eb0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x108eb0([0x67,0x65,0x74])](_0x108eb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x392eec(){let _0x47641f,_0x1b8573=null,_0x380120=null;try{if(_0x188e7d==_0x108eb0([0x47,0x50,0x4c]))return _0x108eb0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47641f=_0x3a924d(),!_0x47641f)return _0x108eb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47641f[_0x108eb0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x380120=_0x3e8001(_0x47641f[_0x108eb0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47641f[_0x108eb0([0x6a,0x74,0x69])])),await _0x1fd865()?_0x572ff9()?_0x429e05()?_0x108eb0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x126df6()?(_0x47641f[_0x108eb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x108eb0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b8573=_0x48a04b(_0x108eb0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47641f[_0x108eb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x108eb0([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b8573=_0x48a04b(_0x108eb0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32d543()):_0x108eb0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x108eb0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x108eb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x108eb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x429e05(){const _0x3d98a4=[_0x108eb0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x108eb0([0x74,0x72,0x69,0x61,0x6c])][_0x108eb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47641f[_0x108eb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ed585/0x3e8:0xe10*_0x39a4d9;return _0x47641f[_0x108eb0([0x65,0x78,0x70])]<_0x3d98a4;}function _0x572ff9(){const _0x528b8d=_0x47641f[_0x108eb0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x528b8d&&(!!_0x528b8d[_0x108eb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x108eb0([0x2a]))||!!_0x528b8d[_0x108eb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x108eb0([0x4c,0x48])));}function _0x126df6(){const _0xdc3bd9=_0x3bee,_0x5deba3=_0x47641f[_0x108eb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5deba3||0x0==_0x5deba3[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d33b4}=new URL(window[_0x108eb0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xdc3bd9(0x152)]);if(_0x5deba3[_0x108eb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d33b4))return!0x0;const _0x27c0bd=_0x4d33b4[_0x108eb0([0x73,0x70,0x6c,0x69,0x74])](_0x108eb0([0x2e]));return _0x5deba3[_0x108eb0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x351d78=>_0x351d78[_0x108eb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x108eb0([0x2a])))[_0x108eb0([0x6d,0x61,0x70])](_0xb29026=>_0xb29026[_0x108eb0([0x73,0x70,0x6c,0x69,0x74])](_0x108eb0([0x2e])))[_0x108eb0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dd477=>_0x4dd477[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x27c0bd[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x108eb0([0x6d,0x61,0x70])](_0xd0901=>Array(_0x27c0bd[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd0901[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x108eb0([0x66,0x69,0x6c,0x6c])](_0xd0901[0x0]===_0x108eb0([0x2a])?_0x108eb0([0x2a]):'')[_0x108eb0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd0901))[_0x108eb0([0x73,0x6f,0x6d,0x65])](_0x5a3dab=>_0x27c0bd[_0x108eb0([0x65,0x76,0x65,0x72,0x79])]((_0x4f49f3,_0x1fefc5)=>_0x5a3dab[_0x1fefc5]===_0x4f49f3||_0x5a3dab[_0x1fefc5]===_0x108eb0([0x2a])));}function _0x32d543(){return _0x1b8573&&_0x380120?new window[(_0x108eb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x264d2e,_0x5cfa26)=>{_0x1b8573[_0x108eb0([0x74,0x68,0x65,0x6e])](_0x264d2e,_0x5cfa26),_0x380120[_0x108eb0([0x74,0x68,0x65,0x6e])](_0x16093a=>{_0x16093a!=_0x108eb0([0x56,0x61,0x6c,0x69,0x64])&&_0x264d2e(_0x16093a);},_0x5cfa26);}):_0x1b8573||_0x380120||_0x108eb0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e8001(_0x556007,_0x18c676){return new window[(_0x108eb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5314b0=>{if(_0x5c08aa())return _0x5314b0(_0x108eb0([0x56,0x61,0x6c,0x69,0x64]));_0xfd4873(),_0x147e6b[_0x108eb0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x108eb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7c6477=!0x1;const _0x2c2d1c=_0x4f5e23();function _0x41bddd(_0x34fe71){return!!_0x34fe71&&(typeof _0x34fe71===_0x108eb0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34fe71===_0x108eb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34fe71[_0x108eb0([0x74,0x68,0x65,0x6e])]===_0x108eb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34fe71[_0x108eb0([0x63,0x61,0x74,0x63,0x68])]===_0x108eb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6efde7(_0x404ba9){_0x3edef5(_0x404ba9)[_0x108eb0([0x74,0x68,0x65,0x6e])](_0x59cb0f=>{if(!_0x59cb0f||_0x59cb0f[_0x108eb0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x108eb0([0x6f,0x6b]))return _0x108eb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33a193(_0x341a26(_0x2c2d1c+_0x18c676))!=_0x59cb0f[_0x108eb0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x108eb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x108eb0([0x56,0x61,0x6c,0x69,0x64]);})[_0x108eb0([0x74,0x68,0x65,0x6e])](_0x437e4e=>(_0x2d62a8(),_0x437e4e),()=>{const _0x52320a=_0x4a8372();return null==_0x52320a?(_0x2d62a8(),_0x108eb0([0x56,0x61,0x6c,0x69,0x64])):_0x108eb0(_0x3ed585-_0x52320a>(0x619b6411^_0x13e23b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x108eb0([0x74,0x68,0x65,0x6e])](_0x5314b0)[_0x108eb0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5314b0(_0x108eb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32d15=0x45a10e91^_0x13e23b;function _0x2d62a8(){const _0x137686=_0x108eb0([0x6c,0x6c,0x63,0x74,0x2d])+_0x33a193(_0x341a26(_0x556007)),_0x58abe0=_0x288076(_0x33a193(window[_0x108eb0([0x4d,0x61,0x74,0x68])][_0x108eb0([0x63,0x65,0x69,0x6c])](_0x3ed585/_0x32d15)));window[_0x108eb0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x108eb0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x137686,_0x58abe0);}function _0x4a8372(){const _0x39e8ab=_0x108eb0([0x6c,0x6c,0x63,0x74,0x2d])+_0x33a193(_0x341a26(_0x556007)),_0x5f091c=window[_0x108eb0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x108eb0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39e8ab);return _0x5f091c?window[_0x108eb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x288076(_0x5f091c),0x10)*_0x32d15:null;}function _0x3edef5(_0x3c01cc){return new window[(_0x108eb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x144d1a,_0x489b5a)=>{_0x3c01cc[_0x108eb0([0x74,0x68,0x65,0x6e])](_0x144d1a,_0x489b5a),window[_0x108eb0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x489b5a,0x459634d1^_0x13e23b);});}}_0x147e6b[_0x108eb0([0x6f,0x6e])](_0x108eb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a75e9,_0x1773db)=>{if(_0x1773db[0x0]!=_0x556007)return _0x5314b0(_0x108eb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1773db[0x1]={..._0x1773db[0x1],[_0x108eb0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c2d1c};},{[_0x108eb0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x108eb0([0x68,0x69,0x67,0x68])}),_0x147e6b[_0x108eb0([0x6f,0x6e])](_0x108eb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fa2d2=>{_0x41bddd(_0x4fa2d2[_0x108eb0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7c6477=!0x0,_0x6efde7(_0x4fa2d2[_0x108eb0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x108eb0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x108eb0([0x6c,0x6f,0x77])}),_0xaa890a[_0x108eb0([0x74,0x68,0x65,0x6e])](()=>{_0x7c6477||_0x5314b0(_0x108eb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c08aa(){return _0x147e6b[_0x108eb0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x108eb0([0x76,0x69,0x65,0x77])][_0x108eb0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x108eb0([0x61,0x75,0x74,0x6f]);}function _0xfd4873(){_0x147e6b[_0x108eb0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x108eb0([0x76,0x69,0x65,0x77])][_0x108eb0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x108eb0([0x61,0x75,0x74,0x6f]);}}function _0x48a04b(_0x1356b5){const _0x150480=[new window[(_0x108eb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35cbaa=>setTimeout(_0x35cbaa,0x459ededd^_0x13e23b)),_0xaa890a[_0x108eb0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x108eb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b61ba=>{let _0x7022e5=0x0;_0x147e6b[_0x108eb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x108eb0([0x6f,0x6e])](_0x108eb0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x156137,_0x5be080)=>{_0x5be080[0x0][_0x108eb0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7022e5++,_0x7022e5==(0x4597e1e9^_0x13e23b)&&(_0x1b61ba(),_0x156137[_0x108eb0([0x6f,0x66,0x66])]());});}))];return window[_0x108eb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x108eb0([0x72,0x61,0x63,0x65])](_0x150480)[_0x108eb0([0x74,0x68,0x65,0x6e])](()=>_0x1356b5);}async function _0x2431d7(){await _0xaa890a,_0x147e6b[_0x108eb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x108eb0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b208a,_0x147e6b[_0x108eb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x108eb0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b208a,_0x147e6b[_0x108eb0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x108eb0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1acda8(_0x1ef1d7){const _0x30a020=_0x277837();_0x147e6b[_0x30a020]=_0x108eb0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ef1d7,_0x1ef1d7!=_0x108eb0([0x56,0x61,0x6c,0x69,0x64])&&_0x2431d7();}function _0x277837(){const _0xd018d3=window[_0x108eb0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x108eb0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x108eb0([0x6e,0x6f,0x77])]())[_0x108eb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x108eb0([0x2e]),'');let _0x5b4a46=_0x108eb0([0x51]);for(let _0x32f089=0x0;_0x32f089<_0xd018d3[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32f089+=0x2){let _0x4fe521=window[_0x108eb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd018d3[_0x108eb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32f089,_0x32f089+0x2));_0x4fe521>=_0xa3f798[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fe521-=_0xa3f798[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b4a46+=_0xa3f798[_0x4fe521];}return _0x5b4a46;}function _0x3a924d(){const _0x4c5110=_0x188e7d[_0x108eb0([0x73,0x70,0x6c,0x69,0x74])](_0x108eb0([0x2e]));if(0x3!=_0x4c5110[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51c328(_0x4c5110[0x1]);function _0x51c328(_0x59453d){const _0x50424b=_0x5de69d(_0x59453d);return _0x50424b&&_0x35c27b()?_0x50424b:null;function _0x35c27b(){const _0x53c871=_0x50424b[_0x108eb0([0x6a,0x74,0x69])],_0x1ba52d=window[_0x108eb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53c871[_0x108eb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53c871[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e8897={..._0x50424b,[_0x108eb0([0x6a,0x74,0x69])]:_0x53c871[_0x108eb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53c871[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e8897[_0x108eb0([0x76,0x63])],_0x341a26(_0x5e8897)==_0x1ba52d;}}}async function _0x1fd865(){let _0x4b44ff=!0x0;try{const _0x1ce7c5=_0x188e7d[_0x108eb0([0x73,0x70,0x6c,0x69,0x74])](_0x108eb0([0x2e])),[_0x2b7a40,_0x1168ed,_0x4f118b]=_0x1ce7c5;return _0x2fbc6e(_0x2b7a40),await _0x3f45f1(_0x2b7a40,_0x1168ed,_0x4f118b),_0x4b44ff;}catch{return!0x1;}function _0x2fbc6e(_0x477dcc){const _0x16c789=_0x5de69d(_0x477dcc);_0x16c789&&_0x16c789[_0x108eb0([0x61,0x6c,0x67])]==_0x108eb0([0x45,0x53,0x32,0x35,0x36])||(_0x4b44ff=!0x1);}async function _0x3f45f1(_0x5d3198,_0xad4e5,_0x25c55f){const _0x2c49f3=window[_0x108eb0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x108eb0([0x66,0x72,0x6f,0x6d])](_0x3f0c26(_0x25c55f),_0x1ebb0b=>_0x1ebb0b[_0x108eb0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x187a19=new window[(_0x108eb0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x108eb0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d3198+_0x108eb0([0x2e])+_0xad4e5),_0x302baa=window[_0x108eb0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x108eb0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x302baa)return;const _0x317fa6=await _0x302baa[_0x108eb0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x108eb0([0x6a,0x77,0x6b]),_0x48e545,{[_0x108eb0([0x6e,0x61,0x6d,0x65])]:_0x108eb0([0x45,0x43,0x44,0x53,0x41]),[_0x108eb0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x108eb0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x108eb0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x302baa[_0x108eb0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x108eb0([0x6e,0x61,0x6d,0x65])]:_0x108eb0([0x45,0x43,0x44,0x53,0x41]),[_0x108eb0([0x68,0x61,0x73,0x68])]:{[_0x108eb0([0x6e,0x61,0x6d,0x65])]:_0x108eb0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x317fa6,_0x2c49f3,_0x187a19)||(_0x4b44ff=!0x1);}}function _0x5de69d(_0x5a5668){return _0x5a5668[_0x108eb0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x108eb0([0x65,0x79]))?JSON[_0x108eb0([0x70,0x61,0x72,0x73,0x65])](_0x3f0c26(_0x5a5668)):null;}function _0x3f0c26(_0x432769){return window[_0x108eb0([0x61,0x74,0x6f,0x62])](_0x432769[_0x108eb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x108eb0([0x2b]))[_0x108eb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x108eb0([0x2f])));}function _0x341a26(_0x4d73fe){let _0x10d23b=0x1505;function _0x395a6e(_0xa151a9){for(let _0x55c638=0x0;_0x55c638<_0xa151a9[_0x108eb0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55c638++){const _0x4be579=_0xa151a9[_0x108eb0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55c638);_0x10d23b=(_0x10d23b<<0x5)+_0x10d23b+_0x4be579,_0x10d23b&=_0x10d23b;}}function _0x312f36(_0x360bcc){Array[_0x108eb0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x360bcc)?_0x360bcc[_0x108eb0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x312f36):_0x360bcc&&typeof _0x360bcc==_0x108eb0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x108eb0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x360bcc)[_0x108eb0([0x73,0x6f,0x72,0x74])]()[_0x108eb0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5788e0,_0x3a05c1])=>{_0x395a6e(_0x5788e0),_0x312f36(_0x3a05c1);}):_0x395a6e(window[_0x108eb0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x360bcc));}return _0x312f36(_0x4d73fe),_0x10d23b>>>0x0;}function _0x33a193(_0x2ad972){return _0x2ad972[_0x108eb0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x108eb0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x108eb0([0x30]));}function _0x288076(_0x4f3313){return _0x4f3313[_0x108eb0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x108eb0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x108eb0([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b208a(){}function _0x108eb0(_0x5e15b0){const _0x56b1f9=_0x3bee;return _0x5e15b0[_0x56b1f9(0x166)](_0x53ea3e=>String[_0x56b1f9(0x148)](_0x53ea3e))[_0x56b1f9(0x157)]('');}_0x1acda8(await _0x392eec());}(this);}[_0x3f0d2a(0x151)](){const _0x13ac39=_0x3f0d2a,_0x487a36=this[_0x13ac39(0x15a)];if(!_0x487a36[_0x13ac39(0x16f)][_0x13ac39(0x15b)](_0x13ac39(0x15c)))return;const _0x7adf47=_0x487a36[_0x13ac39(0x16f)][_0x13ac39(0x15b)](_0x13ac39(0x161))[_0x13ac39(0x153)](_0xcf3a63=>_0x13ac39(0x141)==typeof _0xcf3a63&&(!_0x155b6e(_0xcf3a63)&&isNaN(Number(_0xcf3a63))));if(_0x7adf47[_0x13ac39(0x16d)])throw new _0x3a06d6(_0x13ac39(0x158),null,{'namedPresets':_0x7adf47});}[_0x3f0d2a(0x173)](){const _0x21fda9=_0x3f0d2a,_0x36be35=this[_0x21fda9(0x15a)],_0x51ac8f=this[_0x21fda9(0x15a)][_0x21fda9(0x16f)][_0x21fda9(0x15b)](_0x21fda9(0x14a));_0x36be35[_0x21fda9(0x169)][_0x21fda9(0x159)](_0x21fda9(0x171))[_0x21fda9(0x167)]({'model':{'key':_0x21fda9(0x143)},'view':_0x1beece=>String(_0x1beece)===String(_0x51ac8f)?null:{'key':_0x21fda9(0x14d),'value':{'line-height':_0x1beece}}}),_0x36be35[_0x21fda9(0x169)][_0x21fda9(0x159)](_0x21fda9(0x16e))[_0x21fda9(0x167)]({'model':{'key':_0x21fda9(0x143),'value':_0x1bd89f=>{const _0x31c54=_0x21fda9;let _0x2d05bd=_0x1bd89f[_0x31c54(0x165)](_0x31c54(0x16a));return _0x29cb4c(_0x2d05bd)&&(_0x2d05bd=String(Number(_0x2d05bd[_0x31c54(0x15d)](0x0,-0x1))/0x64)),String(_0x2d05bd)===String(_0x51ac8f)?null:_0x2d05bd;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3f0d2a(0x170)](){const _0x46e490=_0x3f0d2a,_0x96c6fb=this[_0x46e490(0x15a)],_0x486db8=this[_0x46e490(0x15a)][_0x46e490(0x16f)][_0x46e490(0x15b)](_0x46e490(0x14a)),_0x19bd24=_0xd0b692(this[_0x46e490(0x15a)][_0x46e490(0x16f)][_0x46e490(0x15b)](_0x46e490(0x143)))[_0x46e490(0x153)](_0x4b5a9a=>_0x4b5a9a[_0x46e490(0x14b)]),_0x3e0431=_0x34574(_0x46e490(0x143),_0x19bd24);_0x96c6fb[_0x46e490(0x169)][_0x46e490(0x167)](_0x3e0431),_0x96c6fb[_0x46e490(0x169)][_0x46e490(0x159)](_0x46e490(0x16e))[_0x46e490(0x167)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x46e490(0x143),'value':_0x5e18fc=>{const _0x3e78d0=_0x46e490;let _0x2c9abf=_0x5e18fc[_0x3e78d0(0x165)](_0x3e78d0(0x16a));return _0x29cb4c(_0x2c9abf)&&(_0x2c9abf=String(Number(_0x2c9abf[_0x3e78d0(0x15d)](0x0,-0x1))/0x64)),_0x2c9abf===String(_0x486db8)?null:_0x3e0431[_0x3e78d0(0x14b)][_0x3e78d0(0x164)][_0x3e78d0(0x16c)](_0x2c9abf)?_0x2c9abf:null;}}});}}
23
+ const _0x2bc63d=_0x26e4;function _0x26e4(_0x4ff888,_0x57b28b){const _0x589552=_0x5895();return _0x26e4=function(_0x26e4fe,_0x4f87e9){_0x26e4fe=_0x26e4fe-0x186;let _0xa47764=_0x589552[_0x26e4fe];return _0xa47764;},_0x26e4(_0x4ff888,_0x57b28b);}(function(_0x21768f,_0x2c360f){const _0x19125b=_0x26e4,_0x9517f7=_0x21768f();while(!![]){try{const _0x251c3a=-parseInt(_0x19125b(0x199))/0x1*(-parseInt(_0x19125b(0x1bc))/0x2)+-parseInt(_0x19125b(0x18f))/0x3+-parseInt(_0x19125b(0x1a8))/0x4+-parseInt(_0x19125b(0x189))/0x5*(-parseInt(_0x19125b(0x1b8))/0x6)+parseInt(_0x19125b(0x1b9))/0x7*(-parseInt(_0x19125b(0x19f))/0x8)+parseInt(_0x19125b(0x1b5))/0x9*(parseInt(_0x19125b(0x19c))/0xa)+parseInt(_0x19125b(0x1b2))/0xb;if(_0x251c3a===_0x2c360f)break;else _0x9517f7['push'](_0x9517f7['shift']());}catch(_0x51edaf){_0x9517f7['push'](_0x9517f7['shift']());}}}(_0x5895,0xc2823));import{Plugin as _0x525e62}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x588e7a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4b388b}from'ckeditor5/src/engine.js';import{uid as _0x3fcffa,CKEditorError as _0xa9bdc5}from'ckeditor5/src/utils.js';function _0x5895(){const _0x29ad23=['pluginName','3750801spTrAo','includes','default','isPremiumPlugin','fromCharCode','downcast','join','lineHeight','conversion','_prepareAnyValueConverters','3UGUUpy','getStyle','lineHeight.options','1150smwgIX','_validateConfig','commands','5497736djNcCb','isOfficialPlugin','length','lineHeight.supportAllValues','$block','line-height','line-height-invalid-use-of-named-presets','LineHeightEditing','filter','1032000uKFpnQ','config','upcast','add','setAttributeProperties','_preparePredefinedConverters','define','slice','map','attributeToAttribute','266651CeqFMV','values','schema','97560vFBcXF','get','lineHeight.defaultValue','636LuqJrp','7sWljPF','model','style','132228tjnmOv','string','for','extend','71840fmLhYJ','afterInit','href','init','editor'];_0x5895=function(){return _0x29ad23;};return _0x5895();}import{buildDefinition as _0xe207d8,isLineHeightDefaultValue as _0x1acb97,normalizeOptions as _0x2f503c}from'./utils.js';export class LineHeightEditing extends _0x525e62{static get[_0x2bc63d(0x18e)](){const _0x37cdcf=_0x2bc63d;return _0x37cdcf(0x1a6);}static get[_0x2bc63d(0x1a0)](){return!0x0;}static get[_0x2bc63d(0x192)](){return!0x0;}constructor(_0x2773e6){const _0x15489f=_0x2bc63d;super(_0x2773e6),_0x2773e6[_0x15489f(0x1a9)][_0x15489f(0x1ae)](_0x15489f(0x196),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x15489f(0x191),0x2,2.5,0x3]});}[_0x2bc63d(0x18c)](){const _0x2b60d6=_0x2bc63d,_0x568747=this[_0x2b60d6(0x18d)];this[_0x2b60d6(0x19d)](),_0x568747[_0x2b60d6(0x1ba)][_0x2b60d6(0x1b4)][_0x2b60d6(0x188)](_0x2b60d6(0x1a3),{'allowAttributes':_0x2b60d6(0x196)}),_0x568747[_0x2b60d6(0x1ba)][_0x2b60d6(0x1b4)][_0x2b60d6(0x1ac)](_0x2b60d6(0x196),{'isFormatting':!0x0}),_0x568747[_0x2b60d6(0x19e)][_0x2b60d6(0x1ab)](_0x2b60d6(0x196),new _0x588e7a(_0x568747)),this[_0x2b60d6(0x18d)][_0x2b60d6(0x1a9)][_0x2b60d6(0x1b6)](_0x2b60d6(0x1a2))?this[_0x2b60d6(0x198)]():this[_0x2b60d6(0x1ad)]();}[_0x2bc63d(0x18a)](){!async function(_0x38bf3e){const _0x215425=_0x51d070([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x59c5cf=0x4597e011,_0x30e39c=0x45909459^_0x59c5cf,_0xf63b5=window[_0x51d070([0x44,0x61,0x74,0x65])][_0x51d070([0x6e,0x6f,0x77])](),_0x511b9d=_0x38bf3e[_0x51d070([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c6573=new window[(_0x51d070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4830f0=>{_0x511b9d[_0x51d070([0x6f,0x6e,0x63,0x65])](_0x51d070([0x72,0x65,0x61,0x64,0x79]),_0x4830f0);}),_0x46161d={[_0x51d070([0x6b,0x74,0x79])]:_0x51d070([0x45,0x43]),[_0x51d070([0x75,0x73,0x65])]:_0x51d070([0x73,0x69,0x67]),[_0x51d070([0x63,0x72,0x76])]:_0x51d070([0x50,0x2d,0x32,0x35,0x36]),[_0x51d070([0x78])]:_0x51d070([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]),[_0x51d070([0x79])]:_0x51d070([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]),[_0x51d070([0x61,0x6c,0x67])]:_0x51d070([0x45,0x53,0x32,0x35,0x36])},_0x4b6fbf=_0x511b9d[_0x51d070([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51d070([0x67,0x65,0x74])](_0x51d070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c4019(){let _0x36140a,_0xa7d35b=null,_0x2300af=null;try{if(_0x4b6fbf==_0x51d070([0x47,0x50,0x4c]))return _0x51d070([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36140a=_0x12a5d4(),!_0x36140a)return _0x51d070([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36140a[_0x51d070([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2300af=_0x1e5cef(_0x36140a[_0x51d070([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36140a[_0x51d070([0x6a,0x74,0x69])])),await _0x2de8a5()?_0x313af4()?_0x426d7b()?_0x51d070([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c3f84()?(_0x36140a[_0x51d070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51d070([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa7d35b=_0x1a8914(_0x51d070([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x36140a[_0x51d070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51d070([0x74,0x72,0x69,0x61,0x6c])&&(_0xa7d35b=_0x1a8914(_0x51d070([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39d81d()):_0x51d070([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51d070([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51d070([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51d070([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x426d7b(){const _0x54fbec=[_0x51d070([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51d070([0x74,0x72,0x69,0x61,0x6c])][_0x51d070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36140a[_0x51d070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf63b5/0x3e8:0xe10*_0x30e39c;return _0x36140a[_0x51d070([0x65,0x78,0x70])]<_0x54fbec;}function _0x313af4(){const _0x75eb17=_0x36140a[_0x51d070([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x75eb17&&(!!_0x75eb17[_0x51d070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51d070([0x2a]))||!!_0x75eb17[_0x51d070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51d070([0x4c,0x48])));}function _0x2c3f84(){const _0x40a075=_0x26e4,_0x27fb03=_0x36140a[_0x51d070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27fb03||0x0==_0x27fb03[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ac6f1}=new URL(window[_0x51d070([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x40a075(0x18b)]);if(_0x27fb03[_0x51d070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ac6f1))return!0x0;const _0x26c0f9=_0x1ac6f1[_0x51d070([0x73,0x70,0x6c,0x69,0x74])](_0x51d070([0x2e]));return _0x27fb03[_0x51d070([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b2cab=>_0x5b2cab[_0x51d070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51d070([0x2a])))[_0x51d070([0x6d,0x61,0x70])](_0x60982a=>_0x60982a[_0x51d070([0x73,0x70,0x6c,0x69,0x74])](_0x51d070([0x2e])))[_0x51d070([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x202016=>_0x202016[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26c0f9[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51d070([0x6d,0x61,0x70])](_0x29abc3=>Array(_0x26c0f9[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29abc3[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51d070([0x66,0x69,0x6c,0x6c])](_0x29abc3[0x0]===_0x51d070([0x2a])?_0x51d070([0x2a]):'')[_0x51d070([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29abc3))[_0x51d070([0x73,0x6f,0x6d,0x65])](_0x10aee9=>_0x26c0f9[_0x51d070([0x65,0x76,0x65,0x72,0x79])]((_0x2613c3,_0x206e7d)=>_0x10aee9[_0x206e7d]===_0x2613c3||_0x10aee9[_0x206e7d]===_0x51d070([0x2a])));}function _0x39d81d(){return _0xa7d35b&&_0x2300af?new window[(_0x51d070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433e50,_0x58ae2b)=>{_0xa7d35b[_0x51d070([0x74,0x68,0x65,0x6e])](_0x433e50,_0x58ae2b),_0x2300af[_0x51d070([0x74,0x68,0x65,0x6e])](_0x1d37b5=>{_0x1d37b5!=_0x51d070([0x56,0x61,0x6c,0x69,0x64])&&_0x433e50(_0x1d37b5);},_0x58ae2b);}):_0xa7d35b||_0x2300af||_0x51d070([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e5cef(_0x348a94,_0x43b477){return new window[(_0x51d070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48ba33=>{if(_0x57c904())return _0x48ba33(_0x51d070([0x56,0x61,0x6c,0x69,0x64]));_0x3aff07(),_0x511b9d[_0x51d070([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51d070([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x73af62=!0x1;const _0x7ad235=_0x3fcffa();function _0x465776(_0x3578b3){return!!_0x3578b3&&(typeof _0x3578b3===_0x51d070([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3578b3===_0x51d070([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3578b3[_0x51d070([0x74,0x68,0x65,0x6e])]===_0x51d070([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3578b3[_0x51d070([0x63,0x61,0x74,0x63,0x68])]===_0x51d070([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1280d2(_0x444c3e){_0x8fdae2(_0x444c3e)[_0x51d070([0x74,0x68,0x65,0x6e])](_0x2dedcc=>{if(!_0x2dedcc||_0x2dedcc[_0x51d070([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51d070([0x6f,0x6b]))return _0x51d070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7245f(_0x15db21(_0x7ad235+_0x43b477))!=_0x2dedcc[_0x51d070([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51d070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51d070([0x56,0x61,0x6c,0x69,0x64]);})[_0x51d070([0x74,0x68,0x65,0x6e])](_0x1d2af0=>(_0x10beda(),_0x1d2af0),()=>{const _0x449a5f=_0x42349f();return null==_0x449a5f?(_0x10beda(),_0x51d070([0x56,0x61,0x6c,0x69,0x64])):_0x51d070(_0xf63b5-_0x449a5f>(0x619b6411^_0x59c5cf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51d070([0x74,0x68,0x65,0x6e])](_0x48ba33)[_0x51d070([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48ba33(_0x51d070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x390e3d=0x45a10e91^_0x59c5cf;function _0x10beda(){const _0x1d2fe4=_0x51d070([0x6c,0x6c,0x63,0x74,0x2d])+_0x7245f(_0x15db21(_0x348a94)),_0x45197e=_0x4b724a(_0x7245f(window[_0x51d070([0x4d,0x61,0x74,0x68])][_0x51d070([0x63,0x65,0x69,0x6c])](_0xf63b5/_0x390e3d)));window[_0x51d070([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51d070([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d2fe4,_0x45197e);}function _0x42349f(){const _0x363556=_0x51d070([0x6c,0x6c,0x63,0x74,0x2d])+_0x7245f(_0x15db21(_0x348a94)),_0x314297=window[_0x51d070([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51d070([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x363556);return _0x314297?window[_0x51d070([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b724a(_0x314297),0x10)*_0x390e3d:null;}function _0x8fdae2(_0x3336ff){return new window[(_0x51d070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4435ab,_0x1ac476)=>{_0x3336ff[_0x51d070([0x74,0x68,0x65,0x6e])](_0x4435ab,_0x1ac476),window[_0x51d070([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ac476,0x459634d1^_0x59c5cf);});}}_0x511b9d[_0x51d070([0x6f,0x6e])](_0x51d070([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c6b2d,_0x43b604)=>{if(_0x43b604[0x0]!=_0x348a94)return _0x48ba33(_0x51d070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x43b604[0x1]={..._0x43b604[0x1],[_0x51d070([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7ad235};},{[_0x51d070([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51d070([0x68,0x69,0x67,0x68])}),_0x511b9d[_0x51d070([0x6f,0x6e])](_0x51d070([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b38ed=>{_0x465776(_0x4b38ed[_0x51d070([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x73af62=!0x0,_0x1280d2(_0x4b38ed[_0x51d070([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51d070([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51d070([0x6c,0x6f,0x77])}),_0x2c6573[_0x51d070([0x74,0x68,0x65,0x6e])](()=>{_0x73af62||_0x48ba33(_0x51d070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57c904(){return _0x511b9d[_0x51d070([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51d070([0x76,0x69,0x65,0x77])][_0x51d070([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51d070([0x61,0x75,0x74,0x6f]);}function _0x3aff07(){_0x511b9d[_0x51d070([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51d070([0x76,0x69,0x65,0x77])][_0x51d070([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51d070([0x61,0x75,0x74,0x6f]);}}function _0x1a8914(_0x230bbe){const _0x455f9c=[new window[(_0x51d070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f9e32=>setTimeout(_0x4f9e32,0x459ededd^_0x59c5cf)),_0x2c6573[_0x51d070([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51d070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x322fbf=>{let _0x4a83c8=0x0;_0x511b9d[_0x51d070([0x6d,0x6f,0x64,0x65,0x6c])][_0x51d070([0x6f,0x6e])](_0x51d070([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58149,_0x5a474e)=>{_0x5a474e[0x0][_0x51d070([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a83c8++,_0x4a83c8==(0x4597e1e9^_0x59c5cf)&&(_0x322fbf(),_0x58149[_0x51d070([0x6f,0x66,0x66])]());});}))];return window[_0x51d070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51d070([0x72,0x61,0x63,0x65])](_0x455f9c)[_0x51d070([0x74,0x68,0x65,0x6e])](()=>_0x230bbe);}async function _0x12464c(){await _0x2c6573,_0x511b9d[_0x51d070([0x6d,0x6f,0x64,0x65,0x6c])][_0x51d070([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf4fb50,_0x511b9d[_0x51d070([0x6d,0x6f,0x64,0x65,0x6c])][_0x51d070([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf4fb50,_0x511b9d[_0x51d070([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51d070([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x257177(_0x4def7d){const _0x34ff0f=_0x253735();_0x511b9d[_0x34ff0f]=_0x51d070([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4def7d,_0x4def7d!=_0x51d070([0x56,0x61,0x6c,0x69,0x64])&&_0x12464c();}function _0x253735(){const _0x44c744=window[_0x51d070([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51d070([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51d070([0x6e,0x6f,0x77])]())[_0x51d070([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51d070([0x2e]),'');let _0xdb2d60=_0x51d070([0x51]);for(let _0xdaaa23=0x0;_0xdaaa23<_0x44c744[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdaaa23+=0x2){let _0x155f08=window[_0x51d070([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44c744[_0x51d070([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdaaa23,_0xdaaa23+0x2));_0x155f08>=_0x215425[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x155f08-=_0x215425[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdb2d60+=_0x215425[_0x155f08];}return _0xdb2d60;}function _0x12a5d4(){const _0x572bb3=_0x4b6fbf[_0x51d070([0x73,0x70,0x6c,0x69,0x74])](_0x51d070([0x2e]));if(0x3!=_0x572bb3[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x546627(_0x572bb3[0x1]);function _0x546627(_0x1ad830){const _0x2ebd7a=_0x1bdf24(_0x1ad830);return _0x2ebd7a&&_0x4510e6()?_0x2ebd7a:null;function _0x4510e6(){const _0x288476=_0x2ebd7a[_0x51d070([0x6a,0x74,0x69])],_0xddf388=window[_0x51d070([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x288476[_0x51d070([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x288476[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x280986={..._0x2ebd7a,[_0x51d070([0x6a,0x74,0x69])]:_0x288476[_0x51d070([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x288476[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x280986[_0x51d070([0x76,0x63])],_0x15db21(_0x280986)==_0xddf388;}}}async function _0x2de8a5(){let _0x2cf8af=!0x0;try{const _0x79b326=_0x4b6fbf[_0x51d070([0x73,0x70,0x6c,0x69,0x74])](_0x51d070([0x2e])),[_0x3e688a,_0x396068,_0x3c76ba]=_0x79b326;return _0x539495(_0x3e688a),await _0xa85e03(_0x3e688a,_0x396068,_0x3c76ba),_0x2cf8af;}catch{return!0x1;}function _0x539495(_0x150e16){const _0x35baa6=_0x1bdf24(_0x150e16);_0x35baa6&&_0x35baa6[_0x51d070([0x61,0x6c,0x67])]==_0x51d070([0x45,0x53,0x32,0x35,0x36])||(_0x2cf8af=!0x1);}async function _0xa85e03(_0x4739dc,_0x2dc834,_0x591bf7){const _0x27af15=window[_0x51d070([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51d070([0x66,0x72,0x6f,0x6d])](_0x2321bf(_0x591bf7),_0x407697=>_0x407697[_0x51d070([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x144bd5=new window[(_0x51d070([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51d070([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4739dc+_0x51d070([0x2e])+_0x2dc834),_0x4fe264=window[_0x51d070([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51d070([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4fe264)return;const _0x4b60f1=await _0x4fe264[_0x51d070([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51d070([0x6a,0x77,0x6b]),_0x46161d,{[_0x51d070([0x6e,0x61,0x6d,0x65])]:_0x51d070([0x45,0x43,0x44,0x53,0x41]),[_0x51d070([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51d070([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51d070([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4fe264[_0x51d070([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51d070([0x6e,0x61,0x6d,0x65])]:_0x51d070([0x45,0x43,0x44,0x53,0x41]),[_0x51d070([0x68,0x61,0x73,0x68])]:{[_0x51d070([0x6e,0x61,0x6d,0x65])]:_0x51d070([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b60f1,_0x27af15,_0x144bd5)||(_0x2cf8af=!0x1);}}function _0x1bdf24(_0xccf179){return _0xccf179[_0x51d070([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51d070([0x65,0x79]))?JSON[_0x51d070([0x70,0x61,0x72,0x73,0x65])](_0x2321bf(_0xccf179)):null;}function _0x2321bf(_0x4c5ac0){return window[_0x51d070([0x61,0x74,0x6f,0x62])](_0x4c5ac0[_0x51d070([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51d070([0x2b]))[_0x51d070([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51d070([0x2f])));}function _0x15db21(_0x1bd2b9){let _0x34abed=0x1505;function _0x537327(_0x567cb8){for(let _0x29747a=0x0;_0x29747a<_0x567cb8[_0x51d070([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29747a++){const _0x3f3162=_0x567cb8[_0x51d070([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29747a);_0x34abed=(_0x34abed<<0x5)+_0x34abed+_0x3f3162,_0x34abed&=_0x34abed;}}function _0x3f80e3(_0x5f28a0){Array[_0x51d070([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f28a0)?_0x5f28a0[_0x51d070([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f80e3):_0x5f28a0&&typeof _0x5f28a0==_0x51d070([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51d070([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f28a0)[_0x51d070([0x73,0x6f,0x72,0x74])]()[_0x51d070([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3bfaa3,_0x1ff6c6])=>{_0x537327(_0x3bfaa3),_0x3f80e3(_0x1ff6c6);}):_0x537327(window[_0x51d070([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f28a0));}return _0x3f80e3(_0x1bd2b9),_0x34abed>>>0x0;}function _0x7245f(_0x3e8a02){return _0x3e8a02[_0x51d070([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51d070([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51d070([0x30]));}function _0x4b724a(_0x444d96){return _0x444d96[_0x51d070([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51d070([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51d070([0x6a,0x6f,0x69,0x6e])]('');}function _0xf4fb50(){}function _0x51d070(_0x3a66a4){const _0x15fa6c=_0x26e4;return _0x3a66a4[_0x15fa6c(0x1b0)](_0x5a5b3d=>String[_0x15fa6c(0x193)](_0x5a5b3d))[_0x15fa6c(0x195)]('');}_0x257177(await _0x2c4019());}(this);}[_0x2bc63d(0x19d)](){const _0xd064dd=_0x2bc63d,_0x21bf1a=this[_0xd064dd(0x18d)];if(!_0x21bf1a[_0xd064dd(0x1a9)][_0xd064dd(0x1b6)](_0xd064dd(0x1a2)))return;const _0x2fd299=_0x21bf1a[_0xd064dd(0x1a9)][_0xd064dd(0x1b6)](_0xd064dd(0x19b))[_0xd064dd(0x1a7)](_0x31a7de=>_0xd064dd(0x186)==typeof _0x31a7de&&(!_0x1acb97(_0x31a7de)&&isNaN(Number(_0x31a7de))));if(_0x2fd299[_0xd064dd(0x1a1)])throw new _0xa9bdc5(_0xd064dd(0x1a5),null,{'namedPresets':_0x2fd299});}[_0x2bc63d(0x198)](){const _0x484f40=_0x2bc63d,_0x709c31=this[_0x484f40(0x18d)],_0x2fbbc2=this[_0x484f40(0x18d)][_0x484f40(0x1a9)][_0x484f40(0x1b6)](_0x484f40(0x1b7));_0x709c31[_0x484f40(0x197)][_0x484f40(0x187)](_0x484f40(0x194))[_0x484f40(0x1b1)]({'model':{'key':_0x484f40(0x196)},'view':_0x5ef79d=>String(_0x5ef79d)===String(_0x2fbbc2)?null:{'key':_0x484f40(0x1bb),'value':{'line-height':_0x5ef79d}}}),_0x709c31[_0x484f40(0x197)][_0x484f40(0x187)](_0x484f40(0x1aa))[_0x484f40(0x1b1)]({'model':{'key':_0x484f40(0x196),'value':_0x197319=>{const _0x42648d=_0x484f40;let _0x4af3b3=_0x197319[_0x42648d(0x19a)](_0x42648d(0x1a4));return _0x4b388b(_0x4af3b3)&&(_0x4af3b3=String(Number(_0x4af3b3[_0x42648d(0x1af)](0x0,-0x1))/0x64)),String(_0x4af3b3)===String(_0x2fbbc2)?null:_0x4af3b3;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2bc63d(0x1ad)](){const _0x54c085=_0x2bc63d,_0x5a144a=this[_0x54c085(0x18d)],_0x421f22=this[_0x54c085(0x18d)][_0x54c085(0x1a9)][_0x54c085(0x1b6)](_0x54c085(0x1b7)),_0x59d181=_0x2f503c(this[_0x54c085(0x18d)][_0x54c085(0x1a9)][_0x54c085(0x1b6)](_0x54c085(0x196)))[_0x54c085(0x1a7)](_0x21028f=>_0x21028f[_0x54c085(0x1ba)]),_0x242ba1=_0xe207d8(_0x54c085(0x196),_0x59d181);_0x5a144a[_0x54c085(0x197)][_0x54c085(0x1b1)](_0x242ba1),_0x5a144a[_0x54c085(0x197)][_0x54c085(0x187)](_0x54c085(0x1aa))[_0x54c085(0x1b1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x54c085(0x196),'value':_0x1326e3=>{const _0x3e183d=_0x54c085;let _0x967011=_0x1326e3[_0x3e183d(0x19a)](_0x3e183d(0x1a4));return _0x4b388b(_0x967011)&&(_0x967011=String(Number(_0x967011[_0x3e183d(0x1af)](0x0,-0x1))/0x64)),_0x967011===String(_0x421f22)?null:_0x242ba1[_0x3e183d(0x1ba)][_0x3e183d(0x1b3)][_0x3e183d(0x190)](_0x967011)?_0x967011:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4cf86b}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3b7fb4,createDropdown as _0x10d981,MenuBarMenuListItemButtonView as _0x295e06,MenuBarMenuListItemView as _0x279c6d,MenuBarMenuListView as _0xfa0ad2,MenuBarMenuView as _0x2f207d,UIModel as _0x3bec28}from'ckeditor5/src/ui.js';import{Collection as _0x2a4129}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x12b1c1}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x2511dc}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4cf86b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1be6a4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1be6a4),this['_registerMenuBarComponent'](_0x1be6a4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x438a14=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x178ccd;for(const _0x3366ac in _0x438a14){const _0xc507c1=_0x3366ac,_0x552c09=_0x438a14[_0xc507c1];if('lineHeightLicenseKeyValid'==_0x552c09||'lineHeightLicenseKeyInvalid'==_0x552c09||'lineHeightLicenseKeyExpired'==_0x552c09||'lineHeightLicenseKeyDomainLimit'==_0x552c09||'lineHeightLicenseKeyNotAllowed'==_0x552c09||'lineHeightLicenseKeyEvaluationLimit'==_0x552c09||'lineHeightLicenseKeyTrialLimit'==_0x552c09||'lineHeightLicenseKeyUsageLimit'==_0x552c09){delete _0x438a14[_0xc507c1],_0x178ccd=_0x552c09,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x178ccd&&_0x438a14['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x178ccd&&_0x438a14['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x178ccd&&_0x438a14['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x178ccd&&_0x438a14['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x178ccd&&_0x438a14['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x178ccd&&_0x438a14['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x178ccd&&_0x438a14['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4768b5=this['editor'],t=_0x4768b5['t'],_0x52399d=_0x4768b5['config']['get']('lineHeight'),_0x48be07={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x2511dc(_0x52399d)['map'](_0x17a044=>{const _0x36a30d=_0x48be07[_0x17a044['title']];return _0x36a30d&&_0x36a30d!=_0x17a044['title']&&(_0x17a044=Object['assign']({},_0x17a044,{'title':_0x36a30d})),_0x17a044;});}['_prepareListOptions'](){const _0xf23f27=this['editor']['commands']['get']('lineHeight'),_0x175b68=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1429c7=this['_getLocalizedLineHeightOptions'](),_0x42ff36=new _0x2a4129(),_0x3d0fa8=_0xc63b56=>'default'===_0xc63b56||String(_0x175b68)===_0xc63b56;for(const _0xc0be7 of _0x1429c7){const _0x1881e2={'type':'button','model':new _0x3bec28({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xc0be7['title'],'withText':!0x0})};_0x3d0fa8(_0xc0be7['model'])?(_0x1881e2['model']['bind']('isOn')['to'](_0xf23f27,'value',_0x5b145b=>!_0x5b145b),_0x1881e2['model']['commandParam']=void 0x0):(_0x1881e2['model']['bind']('isOn')['to'](_0xf23f27,'value',_0x5eb3ae=>_0x5eb3ae===_0xc0be7['model']),_0x1881e2['model']['commandParam']=_0xc0be7['model']),_0x42ff36['add'](_0x1881e2);}if(this['_shouldRenderCustomValueOption']()){const _0x19cf2c=this['_getCustomValueOptionDefinition'](_0x1429c7);_0x42ff36['add'](_0x19cf2c);}return _0x42ff36;}['_getCustomValueOptionDefinition'](_0x49e65e){const _0xa7be48=this['editor'],t=_0xa7be48['t'],_0xfcc318=_0xa7be48['commands']['get']('lineHeight'),_0x532824=_0x49e65e['map'](_0x50be1c=>_0x50be1c['model']),_0x170c1e={'type':'button','model':new _0x3bec28({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x170c1e['model']['bind']('commandParam')['to'](_0xfcc318,'value'),_0x170c1e['model']['bind']('isOn')['to'](_0xfcc318,'value',_0x2e32c3=>!!_0x2e32c3&&!_0x532824['includes'](String(_0x2e32c3))),_0x170c1e['model']['bind']('label')['to'](_0xfcc318,'value',_0x28fa7b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x28fa7b))),_0x170c1e;}['_registerToolbarComponent']({accessibleLabel:_0x499f37,options:_0x5b6566}){const _0x58630f=this['editor'],_0x57ce9d=_0x58630f['commands']['get']('lineHeight');_0x58630f['ui']['componentFactory']['add']('lineHeight',_0x2c6f71=>{const _0xc05ec0=_0x10d981(_0x2c6f71);return _0x3b7fb4(_0xc05ec0,_0x5b6566,{'role':'menu','ariaLabel':_0x499f37}),_0xc05ec0['buttonView']['set']({'label':_0x499f37,'tooltip':!0x0,'icon':_0x12b1c1}),_0xc05ec0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xc05ec0['bind']('isEnabled')['to'](_0x57ce9d),this['listenTo'](_0xc05ec0,'execute',_0x213a8f=>{_0x58630f['execute'](_0x213a8f['source']['commandName'],{'value':_0x213a8f['source']['commandParam']}),_0x58630f['editing']['view']['focus']();}),_0xc05ec0['once']('change:isOpen',()=>{const _0x3d803f=_0xc05ec0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xc05ec0,_0x5b6566,_0x3d803f);}),_0xc05ec0;});}['_registerMenuBarComponent']({accessibleLabel:_0x29e41f,options:_0x1bb27e}){const _0x3b8f7e=this['editor'],_0x48cc4c=_0x3b8f7e['commands']['get']('lineHeight');_0x3b8f7e['ui']['componentFactory']['add']('menuBar:lineHeight',_0x311d16=>{const _0x555b40=new _0x2f207d(_0x311d16);_0x555b40['buttonView']['set']({'label':_0x29e41f,'icon':_0x12b1c1}),_0x555b40['bind']('isEnabled')['to'](_0x48cc4c);const _0x11b56b=new _0xfa0ad2(_0x311d16);for(const _0x4f3025 of _0x1bb27e){const _0x52573b=new _0x279c6d(_0x311d16,_0x555b40),_0xc61053=new _0x295e06(_0x311d16);_0xc61053['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xc61053['bind'](...Object['keys'](_0x4f3025['model']))['to'](_0x4f3025['model']),_0xc61053['delegate']('execute')['to'](_0x555b40),_0xc61053['on']('execute',()=>{_0x3b8f7e['execute'](_0x4f3025['model']['commandName'],{'value':_0x4f3025['model']['commandParam']}),_0x3b8f7e['editing']['view']['focus']();}),_0x52573b['children']['add'](_0xc61053),_0x11b56b['items']['add'](_0x52573b);}return _0x555b40['panelView']['children']['add'](_0x11b56b),this['_attachCustomOptionVisibilityHandler'](_0x555b40,_0x1bb27e,_0x11b56b),_0x555b40;});}['_attachCustomOptionVisibilityHandler'](_0x2621c1,_0x2c6c31,_0x537ceb){if(!this['_shouldRenderCustomValueOption']())return;const _0x1405df=()=>{if(!_0x2621c1['isOpen'])return;_0x537ceb['items']['last']['isVisible']=Boolean(_0x2c6c31['last']['model']['isOn']);};_0x1405df(),_0x2621c1['on']('change:isOpen',()=>{_0x1405df();});}}
23
+ import{Plugin as _0x2053b7}from'ckeditor5/src/core.js';import{addListToDropdown as _0x8dc5da,createDropdown as _0x2e2606,MenuBarMenuListItemButtonView as _0x3a3d75,MenuBarMenuListItemView as _0x5b6026,MenuBarMenuListView as _0x235c82,MenuBarMenuView as _0x16bd85,UIModel as _0x5cb735}from'ckeditor5/src/ui.js';import{Collection as _0x40e24a}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x305ef8}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x5141a0}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2053b7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3580ba={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3580ba),this['_registerMenuBarComponent'](_0x3580ba),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3ea899=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5cf097;for(const _0x349db7 in _0x3ea899){const _0xe28c2a=_0x349db7,_0x1176cc=_0x3ea899[_0xe28c2a];if('lineHeightLicenseKeyValid'==_0x1176cc||'lineHeightLicenseKeyInvalid'==_0x1176cc||'lineHeightLicenseKeyExpired'==_0x1176cc||'lineHeightLicenseKeyDomainLimit'==_0x1176cc||'lineHeightLicenseKeyNotAllowed'==_0x1176cc||'lineHeightLicenseKeyEvaluationLimit'==_0x1176cc||'lineHeightLicenseKeyTrialLimit'==_0x1176cc||'lineHeightLicenseKeyUsageLimit'==_0x1176cc){delete _0x3ea899[_0xe28c2a],_0x5cf097=_0x1176cc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5cf097&&_0x3ea899['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5cf097&&_0x3ea899['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5cf097&&_0x3ea899['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5cf097&&_0x3ea899['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5cf097&&_0x3ea899['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5cf097&&_0x3ea899['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5cf097&&_0x3ea899['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x514a33=this['editor'],t=_0x514a33['t'],_0x1bf304=_0x514a33['config']['get']('lineHeight'),_0x70cad3={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x5141a0(_0x1bf304)['map'](_0x4e3c2c=>{const _0x756dff=_0x70cad3[_0x4e3c2c['title']];return _0x756dff&&_0x756dff!=_0x4e3c2c['title']&&(_0x4e3c2c=Object['assign']({},_0x4e3c2c,{'title':_0x756dff})),_0x4e3c2c;});}['_prepareListOptions'](){const _0x441a7e=this['editor']['commands']['get']('lineHeight'),_0x4322a1=this['editor']['config']['get']('lineHeight.defaultValue'),_0x404e22=this['_getLocalizedLineHeightOptions'](),_0x343617=new _0x40e24a(),_0x3026a1=_0x1261db=>'default'===_0x1261db||String(_0x4322a1)===_0x1261db;for(const _0x33e763 of _0x404e22){const _0x1134f2={'type':'button','model':new _0x5cb735({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x33e763['title'],'withText':!0x0})};_0x3026a1(_0x33e763['model'])?(_0x1134f2['model']['bind']('isOn')['to'](_0x441a7e,'value',_0x448310=>!_0x448310),_0x1134f2['model']['commandParam']=void 0x0):(_0x1134f2['model']['bind']('isOn')['to'](_0x441a7e,'value',_0x49ff00=>_0x49ff00===_0x33e763['model']),_0x1134f2['model']['commandParam']=_0x33e763['model']),_0x343617['add'](_0x1134f2);}if(this['_shouldRenderCustomValueOption']()){const _0x211974=this['_getCustomValueOptionDefinition'](_0x404e22);_0x343617['add'](_0x211974);}return _0x343617;}['_getCustomValueOptionDefinition'](_0x5dd566){const _0x2e5035=this['editor'],t=_0x2e5035['t'],_0x108116=_0x2e5035['commands']['get']('lineHeight'),_0x391718=_0x5dd566['map'](_0x292d8e=>_0x292d8e['model']),_0x26213e={'type':'button','model':new _0x5cb735({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x26213e['model']['bind']('commandParam')['to'](_0x108116,'value'),_0x26213e['model']['bind']('isOn')['to'](_0x108116,'value',_0x58c13c=>!!_0x58c13c&&!_0x391718['includes'](String(_0x58c13c))),_0x26213e['model']['bind']('label')['to'](_0x108116,'value',_0x320d56=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x320d56))),_0x26213e;}['_registerToolbarComponent']({accessibleLabel:_0x4bbe04,options:_0x1c44d5}){const _0x2fcec1=this['editor'],_0x52d79d=_0x2fcec1['commands']['get']('lineHeight');_0x2fcec1['ui']['componentFactory']['add']('lineHeight',_0x11188f=>{const _0x5a433f=_0x2e2606(_0x11188f);return _0x8dc5da(_0x5a433f,_0x1c44d5,{'role':'menu','ariaLabel':_0x4bbe04}),_0x5a433f['buttonView']['set']({'label':_0x4bbe04,'tooltip':!0x0,'icon':_0x305ef8}),_0x5a433f['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5a433f['bind']('isEnabled')['to'](_0x52d79d),this['listenTo'](_0x5a433f,'execute',_0x195efd=>{_0x2fcec1['execute'](_0x195efd['source']['commandName'],{'value':_0x195efd['source']['commandParam']}),_0x2fcec1['editing']['view']['focus']();}),_0x5a433f['once']('change:isOpen',()=>{const _0x26999d=_0x5a433f['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5a433f,_0x1c44d5,_0x26999d);}),_0x5a433f;});}['_registerMenuBarComponent']({accessibleLabel:_0x1a3393,options:_0x139fdd}){const _0x552833=this['editor'],_0x3de6a8=_0x552833['commands']['get']('lineHeight');_0x552833['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4e1966=>{const _0x4f95da=new _0x16bd85(_0x4e1966);_0x4f95da['buttonView']['set']({'label':_0x1a3393,'icon':_0x305ef8}),_0x4f95da['bind']('isEnabled')['to'](_0x3de6a8);const _0x3debb2=new _0x235c82(_0x4e1966);for(const _0x4cc5e9 of _0x139fdd){const _0x447fe9=new _0x5b6026(_0x4e1966,_0x4f95da),_0x354986=new _0x3a3d75(_0x4e1966);_0x354986['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x354986['bind'](...Object['keys'](_0x4cc5e9['model']))['to'](_0x4cc5e9['model']),_0x354986['delegate']('execute')['to'](_0x4f95da),_0x354986['on']('execute',()=>{_0x552833['execute'](_0x4cc5e9['model']['commandName'],{'value':_0x4cc5e9['model']['commandParam']}),_0x552833['editing']['view']['focus']();}),_0x447fe9['children']['add'](_0x354986),_0x3debb2['items']['add'](_0x447fe9);}return _0x4f95da['panelView']['children']['add'](_0x3debb2),this['_attachCustomOptionVisibilityHandler'](_0x4f95da,_0x139fdd,_0x3debb2),_0x4f95da;});}['_attachCustomOptionVisibilityHandler'](_0x232dff,_0x233b67,_0x4b961b){if(!this['_shouldRenderCustomValueOption']())return;const _0xe3d6bf=()=>{if(!_0x232dff['isOpen'])return;_0x4b961b['items']['last']['isVisible']=Boolean(_0x233b67['last']['model']['isOn']);};_0xe3d6bf(),_0x232dff['on']('change:isOpen',()=>{_0xe3d6bf();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a2a04,_0x1dc824){const _0xfc1573=_0x3740,_0x44ebaa=_0x2a2a04();while(!![]){try{const _0x209d53=-parseInt(_0xfc1573(0x111))/0x1*(-parseInt(_0xfc1573(0x100))/0x2)+parseInt(_0xfc1573(0x110))/0x3*(-parseInt(_0xfc1573(0x105))/0x4)+parseInt(_0xfc1573(0x102))/0x5*(parseInt(_0xfc1573(0x103))/0x6)+parseInt(_0xfc1573(0x11c))/0x7*(-parseInt(_0xfc1573(0x115))/0x8)+-parseInt(_0xfc1573(0x114))/0x9+parseInt(_0xfc1573(0x10f))/0xa*(parseInt(_0xfc1573(0x11b))/0xb)+parseInt(_0xfc1573(0x113))/0xc*(parseInt(_0xfc1573(0x11d))/0xd);if(_0x209d53===_0x1dc824)break;else _0x44ebaa['push'](_0x44ebaa['shift']());}catch(_0x3cea63){_0x44ebaa['push'](_0x44ebaa['shift']());}}}(_0xcde4,0x34c85));function _0xcde4(){const _0x17abe5=['map','Single','filter','line-height-single','toLowerCase','line-height-double','span','default','1010kFgGEP','2361dbEaXe','307PHGjvi','Double','11148tujKyl','285624ghNAWK','5352kEhkSB','push','value','line-height:','key','defaultValue','1760NnWOnJ','4396TLwDKr','9490WvSprA','values','options','model','double','single','class','string','846hkfxNA','view','855UPfhJD','6534NHwFeL','style','1740dOauTm','number'];_0xcde4=function(){return _0x17abe5;};return _0xcde4();}const v={get 'single'(){const _0x4020f6=_0x3740;return{'title':_0x4020f6(0x108),'model':_0x4020f6(0xfd),'view':{'key':_0x4020f6(0xfe),'value':_0x4020f6(0x10a)}};},get 'double'(){const _0xc17d10=_0x3740;return{'title':_0xc17d10(0x112),'model':_0xc17d10(0x121),'view':{'key':_0xc17d10(0xfe),'value':_0xc17d10(0x10c)}};}};export function isLineHeightDefaultValue(_0x2282bb){const _0x53323b=_0x3740;return _0x53323b(0xff)==typeof _0x2282bb&&_0x53323b(0x10e)===_0x2282bb[_0x53323b(0x10b)]();}export function normalizeOptions(_0x4efa09){const _0xbde485=_0x3740;return _0x4efa09[_0xbde485(0x11f)][_0xbde485(0x107)](_0x401452=>isLineHeightDefaultValue(_0x401452)?{'title':String(_0x4efa09[_0xbde485(0x11a)]),'model':_0xbde485(0x10e)}:(_0xbde485(0x106)==typeof _0x401452&&(_0x401452=String(_0x401452)),_0xbde485(0xff)!=typeof _0x401452?_0x401452:parseFloat(_0x401452)?{'title':_0x401452,'model':_0x401452,'view':{'name':_0xbde485(0x10d),'styles':{'line-height':_0x401452}}}:findPreset(_0x401452)))[_0xbde485(0x109)](_0x4565ea=>void 0x0!==_0x4565ea);}export function findPreset(_0x2f053b){const _0x249c5a=_0x3740;return _0x249c5a(0xff)==typeof _0x2f053b?v[_0x2f053b]:v[_0x2f053b[_0x249c5a(0x120)]];}function _0x3740(_0x4e1da9,_0x31c279){const _0xcde411=_0xcde4();return _0x3740=function(_0x374003,_0x3b11cb){_0x374003=_0x374003-0xfd;let _0x40af09=_0xcde411[_0x374003];return _0x40af09;},_0x3740(_0x4e1da9,_0x31c279);}export function buildDefinition(_0x561e53,_0x2826ec){const _0x3e362b=_0x3740,_0x4ee2d4={'model':{'key':_0x561e53,'values':[]},'view':{}};for(const _0x564104 of _0x2826ec)_0x3e362b(0xfe)===_0x564104[_0x3e362b(0x101)]?.[_0x3e362b(0x119)]?(_0x4ee2d4[_0x3e362b(0x120)][_0x3e362b(0x11e)][_0x3e362b(0x116)](_0x564104[_0x3e362b(0x120)]),_0x4ee2d4[_0x3e362b(0x101)][_0x564104[_0x3e362b(0x120)]]={'key':_0x3e362b(0xfe),'value':_0x564104[_0x3e362b(0x101)][_0x3e362b(0x117)]}):(_0x4ee2d4[_0x3e362b(0x120)][_0x3e362b(0x11e)][_0x3e362b(0x116)](_0x564104[_0x3e362b(0x120)]),_0x4ee2d4[_0x3e362b(0x101)][_0x564104[_0x3e362b(0x120)]]={'key':_0x3e362b(0x104),'value':_0x3e362b(0x118)+_0x564104[_0x3e362b(0x120)]+';'});return _0x4ee2d4;}
23
+ (function(_0x1a395c,_0x31010c){const _0x58351c=_0x3019,_0x14624d=_0x1a395c();while(!![]){try{const _0x2af519=parseInt(_0x58351c(0x17d))/0x1*(parseInt(_0x58351c(0x17b))/0x2)+parseInt(_0x58351c(0x18b))/0x3+-parseInt(_0x58351c(0x187))/0x4+parseInt(_0x58351c(0x188))/0x5+-parseInt(_0x58351c(0x191))/0x6*(parseInt(_0x58351c(0x189))/0x7)+-parseInt(_0x58351c(0x17a))/0x8+-parseInt(_0x58351c(0x192))/0x9*(parseInt(_0x58351c(0x197))/0xa);if(_0x2af519===_0x31010c)break;else _0x14624d['push'](_0x14624d['shift']());}catch(_0x21c069){_0x14624d['push'](_0x14624d['shift']());}}}(_0x20c1,0x38561));function _0x3019(_0x266db0,_0x16f86b){const _0x20c1dd=_0x20c1();return _0x3019=function(_0x3019c9,_0xcceb4f){_0x3019c9=_0x3019c9-0x17a;let _0x48b1c4=_0x20c1dd[_0x3019c9];return _0x48b1c4;},_0x3019(_0x266db0,_0x16f86b);}const v={get 'single'(){const _0x3ce8e1=_0x3019;return{'title':_0x3ce8e1(0x183),'model':_0x3ce8e1(0x19b),'view':{'key':_0x3ce8e1(0x17e),'value':_0x3ce8e1(0x194)}};},get 'double'(){const _0x42eb71=_0x3019;return{'title':_0x42eb71(0x17c),'model':_0x42eb71(0x193),'view':{'key':_0x42eb71(0x17e),'value':_0x42eb71(0x19a)}};}};export function isLineHeightDefaultValue(_0x100ee5){const _0x4f76a4=_0x3019;return _0x4f76a4(0x182)==typeof _0x100ee5&&_0x4f76a4(0x181)===_0x100ee5[_0x4f76a4(0x184)]();}export function normalizeOptions(_0x50caa0){const _0x104e55=_0x3019;return _0x50caa0[_0x104e55(0x18c)][_0x104e55(0x18d)](_0x3d570a=>isLineHeightDefaultValue(_0x3d570a)?{'title':String(_0x50caa0[_0x104e55(0x17f)]),'model':_0x104e55(0x181)}:(_0x104e55(0x186)==typeof _0x3d570a&&(_0x3d570a=String(_0x3d570a)),_0x104e55(0x182)!=typeof _0x3d570a?_0x3d570a:parseFloat(_0x3d570a)?{'title':_0x3d570a,'model':_0x3d570a,'view':{'name':_0x104e55(0x196),'styles':{'line-height':_0x3d570a}}}:findPreset(_0x3d570a)))[_0x104e55(0x199)](_0x198eb8=>void 0x0!==_0x198eb8);}export function findPreset(_0x5a11a8){const _0x24a385=_0x3019;return _0x24a385(0x182)==typeof _0x5a11a8?v[_0x5a11a8]:v[_0x5a11a8[_0x24a385(0x18a)]];}function _0x20c1(){const _0x370755=['6WyRaDs','16893PgACxN','double','line-height-single','style','span','50UAosvm','values','filter','line-height-double','single','1305944zQSTGf','22JMenqZ','Double','27273ZXVTfD','class','defaultValue','key','default','string','Single','toLowerCase','push','number','13436onkYgQ','954940OfTWit','927241lhJbLk','model','144636aalQbC','options','map','view','line-height:','value'];_0x20c1=function(){return _0x370755;};return _0x20c1();}export function buildDefinition(_0x3697ec,_0x4d4d36){const _0x3f7450=_0x3019,_0x56e624={'model':{'key':_0x3697ec,'values':[]},'view':{}};for(const _0x55ee94 of _0x4d4d36)_0x3f7450(0x17e)===_0x55ee94[_0x3f7450(0x18e)]?.[_0x3f7450(0x180)]?(_0x56e624[_0x3f7450(0x18a)][_0x3f7450(0x198)][_0x3f7450(0x185)](_0x55ee94[_0x3f7450(0x18a)]),_0x56e624[_0x3f7450(0x18e)][_0x55ee94[_0x3f7450(0x18a)]]={'key':_0x3f7450(0x17e),'value':_0x55ee94[_0x3f7450(0x18e)][_0x3f7450(0x190)]}):(_0x56e624[_0x3f7450(0x18a)][_0x3f7450(0x198)][_0x3f7450(0x185)](_0x55ee94[_0x3f7450(0x18a)]),_0x56e624[_0x3f7450(0x18e)][_0x55ee94[_0x3f7450(0x18a)]]={'key':_0x3f7450(0x195),'value':_0x3f7450(0x18f)+_0x55ee94[_0x3f7450(0x18a)]+';'});return _0x56e624;}