@ckeditor/ckeditor5-line-height 48.2.0-alpha.7 → 48.3.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 (157) hide show
  1. package/dist/augmentation.d.ts +19 -19
  2. package/dist/index.d.ts +12 -12
  3. package/dist/index.js +1 -1
  4. package/dist/integrations/todolist.d.ts +26 -26
  5. package/dist/lineheight.d.ts +29 -29
  6. package/dist/lineheightcommand.d.ts +21 -21
  7. package/dist/lineheightconfig.d.ts +58 -58
  8. package/dist/lineheightediting.d.ts +41 -41
  9. package/dist/lineheightui.d.ts +29 -29
  10. package/dist/translations/af.js +1 -1
  11. package/dist/translations/af.umd.js +1 -1
  12. package/dist/translations/ar.js +1 -1
  13. package/dist/translations/ar.umd.js +1 -1
  14. package/dist/translations/ast.js +1 -1
  15. package/dist/translations/ast.umd.js +1 -1
  16. package/dist/translations/az.js +1 -1
  17. package/dist/translations/az.umd.js +1 -1
  18. package/dist/translations/be.js +1 -1
  19. package/dist/translations/be.umd.js +1 -1
  20. package/dist/translations/bg.js +1 -1
  21. package/dist/translations/bg.umd.js +1 -1
  22. package/dist/translations/bn.js +1 -1
  23. package/dist/translations/bn.umd.js +1 -1
  24. package/dist/translations/bs.js +1 -1
  25. package/dist/translations/bs.umd.js +1 -1
  26. package/dist/translations/ca.js +1 -1
  27. package/dist/translations/ca.umd.js +1 -1
  28. package/dist/translations/cs.js +1 -1
  29. package/dist/translations/cs.umd.js +1 -1
  30. package/dist/translations/da.js +1 -1
  31. package/dist/translations/da.umd.js +1 -1
  32. package/dist/translations/de-ch.js +1 -1
  33. package/dist/translations/de-ch.umd.js +1 -1
  34. package/dist/translations/de.js +1 -1
  35. package/dist/translations/de.umd.js +1 -1
  36. package/dist/translations/el.js +1 -1
  37. package/dist/translations/el.umd.js +1 -1
  38. package/dist/translations/en-au.js +1 -1
  39. package/dist/translations/en-au.umd.js +1 -1
  40. package/dist/translations/en-gb.js +1 -1
  41. package/dist/translations/en-gb.umd.js +1 -1
  42. package/dist/translations/en.js +1 -1
  43. package/dist/translations/en.umd.js +1 -1
  44. package/dist/translations/eo.js +1 -1
  45. package/dist/translations/eo.umd.js +1 -1
  46. package/dist/translations/es-co.js +1 -1
  47. package/dist/translations/es-co.umd.js +1 -1
  48. package/dist/translations/es.js +1 -1
  49. package/dist/translations/es.umd.js +1 -1
  50. package/dist/translations/et.js +1 -1
  51. package/dist/translations/et.umd.js +1 -1
  52. package/dist/translations/eu.js +1 -1
  53. package/dist/translations/eu.umd.js +1 -1
  54. package/dist/translations/fa.js +1 -1
  55. package/dist/translations/fa.umd.js +1 -1
  56. package/dist/translations/fi.js +1 -1
  57. package/dist/translations/fi.umd.js +1 -1
  58. package/dist/translations/fr.js +1 -1
  59. package/dist/translations/fr.umd.js +1 -1
  60. package/dist/translations/gl.js +1 -1
  61. package/dist/translations/gl.umd.js +1 -1
  62. package/dist/translations/gu.js +1 -1
  63. package/dist/translations/gu.umd.js +1 -1
  64. package/dist/translations/he.js +1 -1
  65. package/dist/translations/he.umd.js +1 -1
  66. package/dist/translations/hi.js +1 -1
  67. package/dist/translations/hi.umd.js +1 -1
  68. package/dist/translations/hr.js +1 -1
  69. package/dist/translations/hr.umd.js +1 -1
  70. package/dist/translations/hu.js +1 -1
  71. package/dist/translations/hu.umd.js +1 -1
  72. package/dist/translations/hy.js +1 -1
  73. package/dist/translations/hy.umd.js +1 -1
  74. package/dist/translations/id.js +1 -1
  75. package/dist/translations/id.umd.js +1 -1
  76. package/dist/translations/it.js +1 -1
  77. package/dist/translations/it.umd.js +1 -1
  78. package/dist/translations/ja.js +1 -1
  79. package/dist/translations/ja.umd.js +1 -1
  80. package/dist/translations/jv.js +1 -1
  81. package/dist/translations/jv.umd.js +1 -1
  82. package/dist/translations/kk.js +1 -1
  83. package/dist/translations/kk.umd.js +1 -1
  84. package/dist/translations/km.js +1 -1
  85. package/dist/translations/km.umd.js +1 -1
  86. package/dist/translations/kn.js +1 -1
  87. package/dist/translations/kn.umd.js +1 -1
  88. package/dist/translations/ko.js +1 -1
  89. package/dist/translations/ko.umd.js +1 -1
  90. package/dist/translations/ku.js +1 -1
  91. package/dist/translations/ku.umd.js +1 -1
  92. package/dist/translations/lt.js +1 -1
  93. package/dist/translations/lt.umd.js +1 -1
  94. package/dist/translations/lv.js +1 -1
  95. package/dist/translations/lv.umd.js +1 -1
  96. package/dist/translations/ms.js +1 -1
  97. package/dist/translations/ms.umd.js +1 -1
  98. package/dist/translations/nb.js +1 -1
  99. package/dist/translations/nb.umd.js +1 -1
  100. package/dist/translations/ne.js +1 -1
  101. package/dist/translations/ne.umd.js +1 -1
  102. package/dist/translations/nl.js +1 -1
  103. package/dist/translations/nl.umd.js +1 -1
  104. package/dist/translations/no.js +1 -1
  105. package/dist/translations/no.umd.js +1 -1
  106. package/dist/translations/oc.js +1 -1
  107. package/dist/translations/oc.umd.js +1 -1
  108. package/dist/translations/pl.js +1 -1
  109. package/dist/translations/pl.umd.js +1 -1
  110. package/dist/translations/pt-br.js +1 -1
  111. package/dist/translations/pt-br.umd.js +1 -1
  112. package/dist/translations/pt.js +1 -1
  113. package/dist/translations/pt.umd.js +1 -1
  114. package/dist/translations/ro.js +1 -1
  115. package/dist/translations/ro.umd.js +1 -1
  116. package/dist/translations/ru.js +1 -1
  117. package/dist/translations/ru.umd.js +1 -1
  118. package/dist/translations/si.js +1 -1
  119. package/dist/translations/si.umd.js +1 -1
  120. package/dist/translations/sk.js +1 -1
  121. package/dist/translations/sk.umd.js +1 -1
  122. package/dist/translations/sl.js +1 -1
  123. package/dist/translations/sl.umd.js +1 -1
  124. package/dist/translations/sq.js +1 -1
  125. package/dist/translations/sq.umd.js +1 -1
  126. package/dist/translations/sr-latn.js +1 -1
  127. package/dist/translations/sr-latn.umd.js +1 -1
  128. package/dist/translations/sr.js +1 -1
  129. package/dist/translations/sr.umd.js +1 -1
  130. package/dist/translations/sv.js +1 -1
  131. package/dist/translations/sv.umd.js +1 -1
  132. package/dist/translations/th.js +1 -1
  133. package/dist/translations/th.umd.js +1 -1
  134. package/dist/translations/ti.js +1 -1
  135. package/dist/translations/ti.umd.js +1 -1
  136. package/dist/translations/tk.js +1 -1
  137. package/dist/translations/tk.umd.js +1 -1
  138. package/dist/translations/tr.js +1 -1
  139. package/dist/translations/tr.umd.js +1 -1
  140. package/dist/translations/tt.js +1 -1
  141. package/dist/translations/tt.umd.js +1 -1
  142. package/dist/translations/ug.js +1 -1
  143. package/dist/translations/ug.umd.js +1 -1
  144. package/dist/translations/uk.js +1 -1
  145. package/dist/translations/uk.umd.js +1 -1
  146. package/dist/translations/ur.js +1 -1
  147. package/dist/translations/ur.umd.js +1 -1
  148. package/dist/translations/uz.js +1 -1
  149. package/dist/translations/uz.umd.js +1 -1
  150. package/dist/translations/vi.js +1 -1
  151. package/dist/translations/vi.umd.js +1 -1
  152. package/dist/translations/zh-cn.js +1 -1
  153. package/dist/translations/zh-cn.umd.js +1 -1
  154. package/dist/translations/zh.js +1 -1
  155. package/dist/translations/zh.umd.js +1 -1
  156. package/dist/utils.d.ts +0 -4
  157. package/package.json +7 -7
@@ -1,21 +1,21 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig, LineHeightTodoListIntegration } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [LineHeight.pluginName]: LineHeight;
9
- [LineHeightEditing.pluginName]: LineHeightEditing;
10
- [LineHeightUI.pluginName]: LineHeightUI;
11
- [LineHeightTodoListIntegration.pluginName]: LineHeightTodoListIntegration;
12
- }
13
- interface EditorConfig {
14
- /**
15
- * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
16
- *
17
- * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
18
- */
19
- lineHeight?: LineHeightConfig;
20
- }
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig, LineHeightTodoListIntegration } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface PluginsMap {
8
+ [LineHeight.pluginName]: LineHeight;
9
+ [LineHeightEditing.pluginName]: LineHeightEditing;
10
+ [LineHeightUI.pluginName]: LineHeightUI;
11
+ [LineHeightTodoListIntegration.pluginName]: LineHeightTodoListIntegration;
12
+ }
13
+ interface EditorConfig {
14
+ /**
15
+ * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
16
+ *
17
+ * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
18
+ */
19
+ lineHeight?: LineHeightConfig;
20
+ }
21
21
  }
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height
7
- */
8
- export { LineHeight } from './lineheight.js';
9
- export { LineHeightEditing } from './lineheightediting.js';
10
- export { LineHeightUI } from './lineheightui.js';
11
- export { LineHeightTodoListIntegration } from './integrations/todolist.js';
12
- export { LineHeightCommand } from './lineheightcommand.js';
13
- export type { LineHeightConfig, LineHeightOption } from './lineheightconfig.js';
14
- import './augmentation.js';
6
+ * @module line-height
7
+ */
8
+ export { LineHeight } from "./lineheight.js";
9
+ export { LineHeightEditing } from "./lineheightediting.js";
10
+ export { LineHeightUI } from "./lineheightui.js";
11
+ export { LineHeightTodoListIntegration } from "./integrations/todolist.js";
12
+ export { LineHeightCommand } from "./lineheightcommand.js";
13
+ export type { LineHeightConfig, LineHeightOption } from "./lineheightconfig.js";
14
+ import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x4b89f2,Plugin as _0x911315}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x47a332,CKEditorError as _0xca590,uid as _0x45f9b2,Collection as _0x419893}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x2659da,isPercentageStyleValue as _0x3a39f5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x51476b,createDropdown as _0x1e61d9,addListToDropdown as _0x2df5ca,MenuBarMenuView as _0x19b2ec,MenuBarMenuListView as _0xa04954,MenuBarMenuListItemView as _0xec32b3,MenuBarMenuListItemButtonView as _0x3168cc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x5d7a16}from'@ckeditor/ckeditor5-icons/dist/index.js';class LineHeightCommand extends _0x4b89f2{['refresh'](){const _0x3b7ca7=this['editor']['model']['document'],_0x293a8b=_0x47a332(_0x3b7ca7['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x293a8b)&&this['_canHaveLineHeight'](_0x293a8b),this['value']=this['isEnabled']&&_0x293a8b['getAttribute']('lineHeight');}['execute'](_0x2671e9={}){const _0x5caa54=this['editor']['model'],_0x515e3d=_0x5caa54['document']['selection'],_0x49add9=_0x2671e9['value'];_0x5caa54['change'](_0x2075aa=>{const _0x56936a=Array['from'](_0x515e3d['getSelectedBlocks']())['filter'](_0x292f66=>this['_canHaveLineHeight'](_0x292f66));for(const _0x4f8b79 of _0x56936a)_0x49add9?_0x2075aa['setAttribute']('lineHeight',_0x49add9,_0x4f8b79):_0x2075aa['removeAttribute']('lineHeight',_0x4f8b79);});}['_canHaveLineHeight'](_0x3de261){return this['editor']['model']['schema']['checkAttribute'](_0x3de261,'lineHeight');}}const p={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0x1bb1ae){return'string'==typeof _0x1bb1ae&&'default'===_0x1bb1ae['toLowerCase']();}function L(_0x432985){return _0x432985['options']['map'](_0x5c9465=>{return H(_0x5c9465)?{'title':String(_0x432985['defaultValue']),'model':'default'}:('number'==typeof _0x5c9465&&(_0x5c9465=String(_0x5c9465)),'string'!=typeof _0x5c9465?_0x5c9465:parseFloat(_0x5c9465)?{'title':_0x5c9465,'model':_0x5c9465,'view':{'name':'span','styles':{'line-height':_0x5c9465}}}:'string'==typeof(_0x444501=_0x5c9465)?p[_0x444501]:p[_0x444501['model']]);var _0x444501;})['filter'](_0x5007c1=>void 0x0!==_0x5007c1);}class LineHeightTodoListIntegration extends _0x911315{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x3eda72,conversion:_0x59bee4}=this['editor'];if(!_0x3eda72['has']('ListEditing')||!_0x3eda72['has']('TodoListEditing'))return;_0x3eda72['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x4d1663,_0x38984b,_0x45e6d6,_0x285116,_0x484049){'todo'==_0x484049['getAttribute']('listType')&&_0x38984b&&(_0x4d1663['addClass']('ck-list-marker-line-height',_0x45e6d6),_0x4d1663['setStyle']('--ck-content-list-marker-line-height',_0x38984b,_0x45e6d6));}}),_0x59bee4['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x59bee4['for']('upcast')['add'](_0x5a859b=>{_0x5a859b['on']('element:li',function(_0x5f23b6){const _0x5b33b8=new _0x2659da(_0x5f23b6);return(_0x51bd57,_0x481ebf,_0x5d90be)=>{const _0x2a2152=_0x5b33b8['match'](_0x481ebf['viewItem']);if(!_0x2a2152)return;const _0x4288bf=_0x2a2152['match'];_0x4288bf['name']=!0x1,_0x5d90be['consumable']['consume'](_0x481ebf['viewItem'],_0x4288bf);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x911315{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x166e21){super(_0x166e21),_0x166e21['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x5d0ec9=this['editor'];this['_validateConfig'](),_0x5d0ec9['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x5d0ec9['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x5d0ec9['commands']['add']('lineHeight',new LineHeightCommand(_0x5d0ec9)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x8431bc){const _0x1995e2=_0x32f3b0([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x11d81d=0x45ddd215,_0x4fe2bb=0x45da59c5^_0x11d81d,_0x38f3e4=window[_0x32f3b0([0x44,0x61,0x74,0x65])][_0x32f3b0([0x6e,0x6f,0x77])](),_0x4fbaf7=_0x8431bc[_0x32f3b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ee913=new window[(_0x32f3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdddb9c=>{_0x4fbaf7[_0x32f3b0([0x6f,0x6e,0x63,0x65])](_0x32f3b0([0x72,0x65,0x61,0x64,0x79]),_0xdddb9c);}),_0x14e5b3={[_0x32f3b0([0x6b,0x74,0x79])]:_0x32f3b0([0x45,0x43]),[_0x32f3b0([0x75,0x73,0x65])]:_0x32f3b0([0x73,0x69,0x67]),[_0x32f3b0([0x63,0x72,0x76])]:_0x32f3b0([0x50,0x2d,0x32,0x35,0x36]),[_0x32f3b0([0x78])]:_0x32f3b0([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]),[_0x32f3b0([0x79])]:_0x32f3b0([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]),[_0x32f3b0([0x61,0x6c,0x67])]:_0x32f3b0([0x45,0x53,0x32,0x35,0x36])},_0xead4b0=_0x4fbaf7[_0x32f3b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32f3b0([0x67,0x65,0x74])](_0x32f3b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15ad95(){let _0x52ef77,_0x40b5d7=null,_0x1ae6ff=null;try{if(_0xead4b0==_0x32f3b0([0x47,0x50,0x4c]))return _0x32f3b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52ef77=_0x250458(),!_0x52ef77)return _0x32f3b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52ef77[_0x32f3b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ae6ff=_0x10da8c(_0x52ef77[_0x32f3b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52ef77[_0x32f3b0([0x6a,0x74,0x69])])),await _0x4e03b4()?_0x5b0770()?_0x36e9c4()?_0x32f3b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25166b()?(_0x52ef77[_0x32f3b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32f3b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40b5d7=_0x5c88c0(_0x32f3b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53d79e()):_0x32f3b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32f3b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32f3b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32f3b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x36e9c4(){const _0x3e3313=[_0x32f3b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32f3b0([0x74,0x72,0x69,0x61,0x6c])][_0x32f3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52ef77[_0x32f3b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38f3e4/0x3e8:0xe10*_0x4fe2bb;return _0x52ef77[_0x32f3b0([0x65,0x78,0x70])]<_0x3e3313;}function _0x5b0770(){const _0x19d253=_0x52ef77[_0x32f3b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19d253&&(!!_0x19d253[_0x32f3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32f3b0([0x2a]))||!!_0x19d253[_0x32f3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32f3b0([0x4c,0x48])));}function _0x25166b(){const _0x16ad41=_0x52ef77[_0x32f3b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16ad41||0x0==_0x16ad41[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5eeea8}=new URL(window[_0x32f3b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16ad41[_0x32f3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eeea8))return!0x0;const _0x5a5ec5=_0x5eeea8[_0x32f3b0([0x73,0x70,0x6c,0x69,0x74])](_0x32f3b0([0x2e]));return _0x16ad41[_0x32f3b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52c93c=>_0x52c93c[_0x32f3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32f3b0([0x2a])))[_0x32f3b0([0x6d,0x61,0x70])](_0x555711=>_0x555711[_0x32f3b0([0x73,0x70,0x6c,0x69,0x74])](_0x32f3b0([0x2e])))[_0x32f3b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e59a4=>_0x1e59a4[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a5ec5[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32f3b0([0x6d,0x61,0x70])](_0x56eb73=>Array(_0x5a5ec5[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56eb73[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32f3b0([0x66,0x69,0x6c,0x6c])](_0x56eb73[0x0]===_0x32f3b0([0x2a])?_0x32f3b0([0x2a]):'')[_0x32f3b0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56eb73))[_0x32f3b0([0x73,0x6f,0x6d,0x65])](_0x2976fc=>_0x5a5ec5[_0x32f3b0([0x65,0x76,0x65,0x72,0x79])]((_0x2f87b1,_0x597ec5)=>_0x2976fc[_0x597ec5]===_0x2f87b1||_0x2976fc[_0x597ec5]===_0x32f3b0([0x2a])));}function _0x53d79e(){return _0x40b5d7&&_0x1ae6ff?new window[(_0x32f3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bf4c3,_0x3fc6b6)=>{_0x40b5d7[_0x32f3b0([0x74,0x68,0x65,0x6e])](_0x1bf4c3,_0x3fc6b6),_0x1ae6ff[_0x32f3b0([0x74,0x68,0x65,0x6e])](_0x6de67d=>{_0x6de67d!=_0x32f3b0([0x56,0x61,0x6c,0x69,0x64])&&_0x1bf4c3(_0x6de67d);},_0x3fc6b6);}):_0x40b5d7||_0x1ae6ff||_0x32f3b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10da8c(_0x21641a,_0x4e0f85){return new window[(_0x32f3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f0b17=>{if(_0x24c0ca())return _0x3f0b17(_0x32f3b0([0x56,0x61,0x6c,0x69,0x64]));_0x33bbe3(),_0x4fbaf7[_0x32f3b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32f3b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x371b6a=!0x1;const _0x443ca4=_0x45f9b2();function _0x15c3c0(_0x4045c3){return!!_0x4045c3&&(typeof _0x4045c3===_0x32f3b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4045c3===_0x32f3b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4045c3[_0x32f3b0([0x74,0x68,0x65,0x6e])]===_0x32f3b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4045c3[_0x32f3b0([0x63,0x61,0x74,0x63,0x68])]===_0x32f3b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x245135(_0x1f7e6d){_0xe935bb(_0x1f7e6d)[_0x32f3b0([0x74,0x68,0x65,0x6e])](_0x33f40e=>{if(!_0x33f40e||_0x33f40e[_0x32f3b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32f3b0([0x6f,0x6b]))return _0x32f3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x343637(_0x46d28c(_0x443ca4+_0x4e0f85))!=_0x33f40e[_0x32f3b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32f3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32f3b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x32f3b0([0x74,0x68,0x65,0x6e])](_0x2feb79=>(_0x5b4b0a(),_0x2feb79),()=>{const _0x58762c=_0x414dfb();return null==_0x58762c?(_0x5b4b0a(),_0x32f3b0([0x56,0x61,0x6c,0x69,0x64])):_0x32f3b0(_0x38f3e4-_0x58762c>(0x61d15615^_0x11d81d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32f3b0([0x74,0x68,0x65,0x6e])](_0x3f0b17)[_0x32f3b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f0b17(_0x32f3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45a501=0x45eb3c95^_0x11d81d;function _0x5b4b0a(){const _0x1b58b5=_0x32f3b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x343637(_0x46d28c(_0x21641a)),_0x225d00=_0x3e5fef(_0x343637(window[_0x32f3b0([0x4d,0x61,0x74,0x68])][_0x32f3b0([0x63,0x65,0x69,0x6c])](_0x38f3e4/_0x45a501)));window[_0x32f3b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32f3b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b58b5,_0x225d00);}function _0x414dfb(){const _0x6db552=_0x32f3b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x343637(_0x46d28c(_0x21641a)),_0x3b2ba=window[_0x32f3b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32f3b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6db552);return _0x3b2ba?window[_0x32f3b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e5fef(_0x3b2ba),0x10)*_0x45a501:null;}function _0xe935bb(_0x400c5f){return new window[(_0x32f3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34e046,_0x4af72f)=>{_0x400c5f[_0x32f3b0([0x74,0x68,0x65,0x6e])](_0x34e046,_0x4af72f),window[_0x32f3b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4af72f,0x45dc06d5^_0x11d81d);});}}_0x4fbaf7[_0x32f3b0([0x6f,0x6e])](_0x32f3b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3467b2,_0x52f411)=>{if(_0x52f411[0x0]!=_0x21641a)return _0x3f0b17(_0x32f3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52f411[0x1]={..._0x52f411[0x1],[_0x32f3b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x443ca4};},{[_0x32f3b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32f3b0([0x68,0x69,0x67,0x68])}),_0x4fbaf7[_0x32f3b0([0x6f,0x6e])](_0x32f3b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2830ac=>{_0x15c3c0(_0x2830ac[_0x32f3b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x371b6a=!0x0,_0x245135(_0x2830ac[_0x32f3b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32f3b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32f3b0([0x6c,0x6f,0x77])}),_0x4ee913[_0x32f3b0([0x74,0x68,0x65,0x6e])](()=>{_0x371b6a||_0x3f0b17(_0x32f3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24c0ca(){return _0x4fbaf7[_0x32f3b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32f3b0([0x76,0x69,0x65,0x77])][_0x32f3b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32f3b0([0x61,0x75,0x74,0x6f]);}function _0x33bbe3(){_0x4fbaf7[_0x32f3b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32f3b0([0x76,0x69,0x65,0x77])][_0x32f3b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32f3b0([0x61,0x75,0x74,0x6f]);}}function _0x5c88c0(_0x401aed){const _0x4f5ed4=[new window[(_0x32f3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4280af=>setTimeout(_0x4280af,0x45d4ecd9^_0x11d81d)),_0x4ee913[_0x32f3b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32f3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xba74e4=>{let _0x3fa4e2=0x0;_0x4fbaf7[_0x32f3b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x32f3b0([0x6f,0x6e])](_0x32f3b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17cef6,_0x5efb5b)=>{_0x5efb5b[0x0][_0x32f3b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fa4e2++,_0x3fa4e2==(0x45ddd7fd^_0x11d81d)&&(_0xba74e4(),_0x17cef6[_0x32f3b0([0x6f,0x66,0x66])]());});}))];return window[_0x32f3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32f3b0([0x72,0x61,0x63,0x65])](_0x4f5ed4)[_0x32f3b0([0x74,0x68,0x65,0x6e])](()=>_0x401aed);}async function _0x4de899(){await _0x4ee913,_0x4fbaf7[_0x32f3b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x32f3b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43ba42,_0x4fbaf7[_0x32f3b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x32f3b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43ba42,_0x4fbaf7[_0x32f3b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32f3b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d1f57(_0x3dd0ca){const _0x2c65e6=_0x4c31de();_0x4fbaf7[_0x2c65e6]=_0x32f3b0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3dd0ca,_0x3dd0ca!=_0x32f3b0([0x56,0x61,0x6c,0x69,0x64])&&_0x4de899();}function _0x4c31de(){const _0x48a43f=window[_0x32f3b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32f3b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32f3b0([0x6e,0x6f,0x77])]())[_0x32f3b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32f3b0([0x2e]),'');let _0x432fec=_0x32f3b0([0x50]);for(let _0x4cc887=0x0;_0x4cc887<_0x48a43f[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cc887+=0x2){let _0x187931=window[_0x32f3b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48a43f[_0x32f3b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cc887,_0x4cc887+0x2));_0x187931>=_0x1995e2[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x187931-=_0x1995e2[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x432fec+=_0x1995e2[_0x187931];}return _0x432fec;}function _0x250458(){const _0x4be124=_0xead4b0[_0x32f3b0([0x73,0x70,0x6c,0x69,0x74])](_0x32f3b0([0x2e]));if(0x3!=_0x4be124[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5354bf(_0x4be124[0x1]);function _0x5354bf(_0x3f6707){const _0x16d74e=_0x255599(_0x3f6707);return _0x16d74e&&_0x5e1218()?_0x16d74e:null;function _0x5e1218(){const _0x390cb8=_0x16d74e[_0x32f3b0([0x6a,0x74,0x69])],_0x26d44c=window[_0x32f3b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x390cb8[_0x32f3b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x390cb8[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x167b20={..._0x16d74e,[_0x32f3b0([0x6a,0x74,0x69])]:_0x390cb8[_0x32f3b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x390cb8[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x167b20[_0x32f3b0([0x76,0x63])],_0x46d28c(_0x167b20)==_0x26d44c;}}}async function _0x4e03b4(){let _0x33a702=!0x0;try{const _0x3d76fd=_0xead4b0[_0x32f3b0([0x73,0x70,0x6c,0x69,0x74])](_0x32f3b0([0x2e])),[_0x2cc24e,_0x13a46e,_0x3a0850]=_0x3d76fd;return _0x2f5339(_0x2cc24e),await _0x1c4763(_0x2cc24e,_0x13a46e,_0x3a0850),_0x33a702;}catch{return!0x1;}function _0x2f5339(_0x46b1f1){const _0x5dfd79=_0x255599(_0x46b1f1);_0x5dfd79&&_0x5dfd79[_0x32f3b0([0x61,0x6c,0x67])]==_0x32f3b0([0x45,0x53,0x32,0x35,0x36])||(_0x33a702=!0x1);}async function _0x1c4763(_0x154567,_0x4738bf,_0x538f34){const _0x53527f=window[_0x32f3b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32f3b0([0x66,0x72,0x6f,0x6d])](_0x568d23(_0x538f34),_0x2123ca=>_0x2123ca[_0x32f3b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c6e51=new window[(_0x32f3b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32f3b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x154567+_0x32f3b0([0x2e])+_0x4738bf),_0xfaf461=window[_0x32f3b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32f3b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfaf461)return;const _0x24a833=await _0xfaf461[_0x32f3b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32f3b0([0x6a,0x77,0x6b]),_0x14e5b3,{[_0x32f3b0([0x6e,0x61,0x6d,0x65])]:_0x32f3b0([0x45,0x43,0x44,0x53,0x41]),[_0x32f3b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32f3b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32f3b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfaf461[_0x32f3b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32f3b0([0x6e,0x61,0x6d,0x65])]:_0x32f3b0([0x45,0x43,0x44,0x53,0x41]),[_0x32f3b0([0x68,0x61,0x73,0x68])]:{[_0x32f3b0([0x6e,0x61,0x6d,0x65])]:_0x32f3b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24a833,_0x53527f,_0x1c6e51)||(_0x33a702=!0x1);}}function _0x255599(_0x306b88){return _0x306b88[_0x32f3b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32f3b0([0x65,0x79]))?JSON[_0x32f3b0([0x70,0x61,0x72,0x73,0x65])](_0x568d23(_0x306b88)):null;}function _0x568d23(_0x5d5406){return window[_0x32f3b0([0x61,0x74,0x6f,0x62])](_0x5d5406[_0x32f3b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32f3b0([0x2b]))[_0x32f3b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32f3b0([0x2f])));}function _0x46d28c(_0x4adeb8){let _0x4e9946=0x1505;function _0x1fe28c(_0x59dea6){for(let _0x16709c=0x0;_0x16709c<_0x59dea6[_0x32f3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16709c++){const _0x11fac2=_0x59dea6[_0x32f3b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16709c);_0x4e9946=(_0x4e9946<<0x5)+_0x4e9946+_0x11fac2,_0x4e9946&=_0x4e9946;}}function _0x434c12(_0xaadd53){Array[_0x32f3b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xaadd53)?_0xaadd53[_0x32f3b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x434c12):_0xaadd53&&typeof _0xaadd53==_0x32f3b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32f3b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xaadd53)[_0x32f3b0([0x73,0x6f,0x72,0x74])]()[_0x32f3b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e0aac,_0x2ca803])=>{_0x1fe28c(_0x5e0aac),_0x434c12(_0x2ca803);}):_0x1fe28c(window[_0x32f3b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xaadd53));}return _0x434c12(_0x4adeb8),_0x4e9946>>>0x0;}function _0x343637(_0x24497e){return _0x24497e[_0x32f3b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32f3b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32f3b0([0x30]));}function _0x3e5fef(_0x1ba25e){return _0x1ba25e[_0x32f3b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32f3b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32f3b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x43ba42(){}function _0x32f3b0(_0x52ada4){return _0x52ada4['map'](_0x487381=>String['fromCharCode'](_0x487381))['join']('');}_0x2d1f57(await _0x15ad95());}(this);}['_validateConfig'](){const _0x11856c=this['editor'];if(!_0x11856c['config']['get']('lineHeight.supportAllValues'))return;const _0x116924=_0x11856c['config']['get']('lineHeight.options')['filter'](_0x292f4d=>'string'==typeof _0x292f4d&&(!H(_0x292f4d)&&isNaN(Number(_0x292f4d))));if(_0x116924['length'])throw new _0xca590('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x116924});}['_prepareAnyValueConverters'](){const _0x15126a=this['editor'],_0x3edad6=this['editor']['config']['get']('lineHeight.defaultValue');_0x15126a['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x15ba1b=>String(_0x15ba1b)===String(_0x3edad6)?null:{'key':'style','value':{'line-height':_0x15ba1b}}}),_0x15126a['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x542ab6=>{let _0x2bcee0=_0x542ab6['getStyle']('line-height');return _0x3a39f5(_0x2bcee0)&&(_0x2bcee0=String(Number(_0x2bcee0['slice'](0x0,-0x1))/0x64)),String(_0x2bcee0)===String(_0x3edad6)?null:_0x2bcee0;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1b6299=this['editor'],_0x15d8c4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x56d9b0=function(_0x256824,_0xe3cd5e){const _0x47dee4={'model':{'key':_0x256824,'values':[]},'view':{}};for(const _0x5e9316 of _0xe3cd5e)'class'===_0x5e9316['view']?.['key']?(_0x47dee4['model']['values']['push'](_0x5e9316['model']),_0x47dee4['view'][_0x5e9316['model']]={'key':'class','value':_0x5e9316['view']['value']}):(_0x47dee4['model']['values']['push'](_0x5e9316['model']),_0x47dee4['view'][_0x5e9316['model']]={'key':'style','value':'line-height:'+_0x5e9316['model']+';'});return _0x47dee4;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x1f7000=>_0x1f7000['model']));_0x1b6299['conversion']['attributeToAttribute'](_0x56d9b0),_0x1b6299['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x144846=>{let _0x2b8e2e=_0x144846['getStyle']('line-height');return _0x3a39f5(_0x2b8e2e)&&(_0x2b8e2e=String(Number(_0x2b8e2e['slice'](0x0,-0x1))/0x64)),_0x2b8e2e===String(_0x15d8c4)?null:_0x56d9b0['model']['values']['includes'](_0x2b8e2e)?_0x2b8e2e:null;}}});}}class LineHeightUI extends _0x911315{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25fa91={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x25fa91),this['_registerMenuBarComponent'](_0x25fa91),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x212bba=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f27e6;for(const _0x3ad08a in _0x212bba){const _0x551bae=_0x3ad08a,_0x51c2f0=_0x212bba[_0x551bae];if('lineHeightLicenseKeyValid'==_0x51c2f0||'lineHeightLicenseKeyInvalid'==_0x51c2f0||'lineHeightLicenseKeyExpired'==_0x51c2f0||'lineHeightLicenseKeyDomainLimit'==_0x51c2f0||'lineHeightLicenseKeyNotAllowed'==_0x51c2f0||'lineHeightLicenseKeyEvaluationLimit'==_0x51c2f0||'lineHeightLicenseKeyUsageLimit'==_0x51c2f0){delete _0x212bba[_0x551bae],_0x1f27e6=_0x51c2f0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1f27e6&&_0x212bba['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1f27e6&&_0x212bba['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1f27e6&&_0x212bba['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1f27e6&&_0x212bba['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1f27e6&&_0x212bba['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1f27e6&&_0x212bba['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3aaaf2=this['editor'],t=_0x3aaaf2['t'],_0x3c6818=_0x3aaaf2['config']['get']('lineHeight'),_0x327a7e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x3c6818)['map'](_0x10be89=>{const _0x5cebda=_0x327a7e[_0x10be89['title']];return _0x5cebda&&_0x5cebda!=_0x10be89['title']&&(_0x10be89=Object['assign']({},_0x10be89,{'title':_0x5cebda})),_0x10be89;});}['_prepareListOptions'](){const _0x304c08=this['editor']['commands']['get']('lineHeight'),_0x445ad4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c7306=this['_getLocalizedLineHeightOptions'](),_0x39e1e3=new _0x419893(),_0x143a08=_0x2cc0f2=>'default'===_0x2cc0f2||String(_0x445ad4)===_0x2cc0f2;for(const _0x12d6a9 of _0x2c7306){const _0x3a9e6c={'type':'button','model':new _0x51476b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x12d6a9['title'],'withText':!0x0})};_0x143a08(_0x12d6a9['model'])?(_0x3a9e6c['model']['bind']('isOn')['to'](_0x304c08,'value',_0xc8ff85=>!_0xc8ff85),_0x3a9e6c['model']['commandParam']=void 0x0):(_0x3a9e6c['model']['bind']('isOn')['to'](_0x304c08,'value',_0x1692d1=>_0x1692d1===_0x12d6a9['model']),_0x3a9e6c['model']['commandParam']=_0x12d6a9['model']),_0x39e1e3['add'](_0x3a9e6c);}if(this['_shouldRenderCustomValueOption']()){const _0x1f9321=this['_getCustomValueOptionDefinition'](_0x2c7306);_0x39e1e3['add'](_0x1f9321);}return _0x39e1e3;}['_getCustomValueOptionDefinition'](_0x41aa7b){const _0x19aa8b=this['editor'],t=_0x19aa8b['t'],_0x418acc=_0x19aa8b['commands']['get']('lineHeight'),_0x35a90d=_0x41aa7b['map'](_0x565c62=>_0x565c62['model']),_0x5502f4={'type':'button','model':new _0x51476b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5502f4['model']['bind']('commandParam')['to'](_0x418acc,'value'),_0x5502f4['model']['bind']('isOn')['to'](_0x418acc,'value',_0x2479b1=>!!_0x2479b1&&!_0x35a90d['includes'](String(_0x2479b1))),_0x5502f4['model']['bind']('label')['to'](_0x418acc,'value',_0x1b71be=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1b71be))),_0x5502f4;}['_registerToolbarComponent']({accessibleLabel:_0x5b3572,options:_0x27ba77}){const _0x130dec=this['editor'],_0x4b3e78=_0x130dec['commands']['get']('lineHeight');_0x130dec['ui']['componentFactory']['add']('lineHeight',_0x108099=>{const _0x499093=_0x1e61d9(_0x108099);return _0x2df5ca(_0x499093,_0x27ba77,{'role':'menu','ariaLabel':_0x5b3572}),_0x499093['buttonView']['set']({'label':_0x5b3572,'tooltip':!0x0,'icon':_0x5d7a16}),_0x499093['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x499093['bind']('isEnabled')['to'](_0x4b3e78),this['listenTo'](_0x499093,'execute',_0x2ca855=>{_0x130dec['execute'](_0x2ca855['source']['commandName'],{'value':_0x2ca855['source']['commandParam']}),_0x130dec['editing']['view']['focus']();}),_0x499093['once']('change:isOpen',()=>{const _0xe485ea=_0x499093['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x499093,_0x27ba77,_0xe485ea);}),_0x499093;});}['_registerMenuBarComponent']({accessibleLabel:_0x4bde09,options:_0x414c4c}){const _0x5e2069=this['editor'],_0x10acb2=_0x5e2069['commands']['get']('lineHeight');_0x5e2069['ui']['componentFactory']['add']('menuBar:lineHeight',_0x38f3a0=>{const _0x37ff0b=new _0x19b2ec(_0x38f3a0);_0x37ff0b['buttonView']['set']({'label':_0x4bde09,'icon':_0x5d7a16}),_0x37ff0b['bind']('isEnabled')['to'](_0x10acb2);const _0x547012=new _0xa04954(_0x38f3a0);for(const _0x1f1912 of _0x414c4c){const _0x167f70=new _0xec32b3(_0x38f3a0,_0x37ff0b),_0x7cff4=new _0x3168cc(_0x38f3a0);_0x7cff4['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x7cff4['bind'](...Object['keys'](_0x1f1912['model']))['to'](_0x1f1912['model']),_0x7cff4['delegate']('execute')['to'](_0x37ff0b),_0x7cff4['on']('execute',()=>{_0x5e2069['execute'](_0x1f1912['model']['commandName'],{'value':_0x1f1912['model']['commandParam']}),_0x5e2069['editing']['view']['focus']();}),_0x167f70['children']['add'](_0x7cff4),_0x547012['items']['add'](_0x167f70);}return _0x37ff0b['panelView']['children']['add'](_0x547012),this['_attachCustomOptionVisibilityHandler'](_0x37ff0b,_0x414c4c,_0x547012),_0x37ff0b;});}['_attachCustomOptionVisibilityHandler'](_0x379a2c,_0x2dcf1d,_0x49fa65){if(!this['_shouldRenderCustomValueOption']())return;const _0x2bb0c6=()=>{if(!_0x379a2c['isOpen'])return;_0x49fa65['items']['last']['isVisible']=Boolean(_0x2dcf1d['last']['model']['isOn']);};_0x2bb0c6(),_0x379a2c['on']('change:isOpen',()=>{_0x2bb0c6();});}}class LineHeight extends _0x911315{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{LineHeight,LineHeightCommand,LineHeightEditing,LineHeightTodoListIntegration,LineHeightUI};
23
+ import{Command as _0x474b8e,Plugin as _0x591983}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0x40b474,Collection as _0x2d36bb,first as _0x33297c,uid as _0x531c5b}from'@ckeditor/ckeditor5-utils';import{Matcher as _0x676124,isPercentageStyleValue as _0x10f64a}from'@ckeditor/ckeditor5-engine';import{MenuBarMenuListItemButtonView as _0x4b6f2c,MenuBarMenuListItemView as _0x540536,MenuBarMenuListView as _0x58b87e,MenuBarMenuView as _0x7ceb9f,UIModel as _0x5f0b18,addListToDropdown as _0xbb606f,createDropdown as _0x49cae2}from'@ckeditor/ckeditor5-ui';import{IconLineHeight as _0x362bb0}from'@ckeditor/ckeditor5-icons';var p=class extends _0x474b8e{['refresh'](){const _0x2a7a30=this['editor']['model']['document'],_0x2bb29d=_0x33297c(_0x2a7a30['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2bb29d)&&this['_canHaveLineHeight'](_0x2bb29d),this['value']=this['isEnabled']&&_0x2bb29d['getAttribute']('lineHeight');}['execute'](_0x33d225={}){const _0x5bc410=this['editor']['model'],_0xa57c00=_0x5bc410['document']['selection'],_0x561d74=_0x33d225['value'];_0x5bc410['change'](_0x2758e1=>{const _0x3a38fd=Array['from'](_0xa57c00['getSelectedBlocks']())['filter'](_0x437c2d=>this['_canHaveLineHeight'](_0x437c2d));for(const _0x212f6d of _0x3a38fd)_0x561d74?_0x2758e1['setAttribute']('lineHeight',_0x561d74,_0x212f6d):_0x2758e1['removeAttribute']('lineHeight',_0x212f6d);});}['_canHaveLineHeight'](_0x51472d){return this['editor']['model']['schema']['checkAttribute'](_0x51472d,'lineHeight');}};const y={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0x4cd971){return'string'==typeof _0x4cd971&&'default'===_0x4cd971['toLowerCase']();}function L(_0x3463ef){return _0x3463ef['options']['map'](_0x50d6c3=>{return H(_0x50d6c3)?{'title':String(_0x3463ef['defaultValue']),'model':'default'}:('number'==typeof _0x50d6c3&&(_0x50d6c3=String(_0x50d6c3)),'string'!=typeof _0x50d6c3?_0x50d6c3:parseFloat(_0x50d6c3)?{'title':_0x50d6c3,'model':_0x50d6c3,'view':{'name':'span','styles':{'line-height':_0x50d6c3}}}:'string'==typeof(_0x54bc26=_0x50d6c3)?y[_0x54bc26]:y[_0x54bc26['model']]);var _0x54bc26;})['filter'](_0x44f4b6=>void 0x0!==_0x44f4b6);}var v=class extends _0x591983{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x3a8acd,conversion:_0x4228ee}=this['editor'];_0x3a8acd['has']('ListEditing')&&_0x3a8acd['has']('TodoListEditing')&&(_0x3a8acd['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x160424,_0xaa74e5,_0x2de030,_0x54b047,_0x531a0c){'todo'==_0x531a0c['getAttribute']('listType')&&_0xaa74e5&&(_0x160424['addClass']('ck-list-marker-line-height',_0x2de030),_0x160424['setStyle']('--ck-content-list-marker-line-height',_0xaa74e5,_0x2de030));}}),_0x4228ee['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x4228ee['for']('upcast')['add'](_0x575d65=>{_0x575d65['on']('element:li',function(_0x5f2dd3){const _0x53ae12=new _0x676124(_0x5f2dd3);return(_0x241e8d,_0x33658e,_0x2e8f37)=>{const _0x24a610=_0x53ae12['match'](_0x33658e['viewItem']);if(!_0x24a610)return;const _0x2ae65a=_0x24a610['match'];_0x2ae65a['name']=!0x1,_0x2e8f37['consumable']['consume'](_0x33658e['viewItem'],_0x2ae65a);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));}));}},b=class extends _0x591983{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x34ab7d){super(_0x34ab7d),_0x34ab7d['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x5488d9=this['editor'];this['_validateConfig'](),_0x5488d9['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x5488d9['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x5488d9['commands']['add']('lineHeight',new p(_0x5488d9)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3c8e52){const _0xdb59dc='PHQ3YUIBrl0XdnwG9kez8sfpMv1ytWFRNZOV5jJaq7Tc2ogub64xCKDEALSihm',_0x471980=0x78de0,_0x32a92b=window['Date']['now'](),_0x39e0c6=_0x3c8e52['editor'],_0x27f22e=new window['Promise'](_0x4bb586=>{_0x39e0c6['once']('ready',_0x4bb586);}),_0x3c8599={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xa060aa=_0x39e0c6['config']['get']('licenseKey');async function _0x4d4999(){let _0x2b33ac,_0x5d7563=null,_0x4e5df4=null;try{return'GPL'==_0xa060aa?'NotAllowed':(_0x2b33ac=_0x33263f(),_0x2b33ac?(_0x2b33ac['usageEndpoint']&&(_0x4e5df4=_0x42e9a9(_0x2b33ac['usageEndpoint'],_0x2b33ac['jti'])),await _0x4093fe()?_0x46a5c1()?_0x56cc52()?'Expired':_0x59115c()?('evaluation'==_0x2b33ac['licenseType']&&(_0x5d7563=_0x58b185('EvaluationLimit')),await _0x34ba9f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x56cc52(){const _0x1596d6=['evaluation','trial']['includes'](_0x2b33ac['licenseType'])?_0x32a92b/0x3e8:0xe10*_0x471980;return _0x2b33ac['exp']<_0x1596d6;}function _0x46a5c1(){const _0x1a4531=_0x2b33ac['features'];return!!_0x1a4531&&(!!_0x1a4531['includes']('*')||!!_0x1a4531['includes']('LH'));}function _0x59115c(){const _0x2dd3d0=_0x2b33ac['licensedHosts'];if(!_0x2dd3d0||0x0==_0x2dd3d0['length'])return!0x0;const {hostname:_0x426990}=new URL(window['location']['href']);if(_0x2dd3d0['includes'](_0x426990))return!0x0;const _0x52bee7=_0x426990['split']('.');return _0x2dd3d0['filter'](_0x1a3554=>_0x1a3554['includes']('*'))['map'](_0x148b9e=>_0x148b9e['split']('.'))['filter'](_0x1428f0=>_0x1428f0['length']<=_0x52bee7['length'])['map'](_0x5b09f2=>Array(_0x52bee7['length']-_0x5b09f2['length'])['fill']('*'===_0x5b09f2[0x0]?'*':'')['concat'](_0x5b09f2))['some'](_0x4fdc8e=>_0x52bee7['every']((_0x4d4905,_0x452cd7)=>_0x4fdc8e[_0x452cd7]===_0x4d4905||'*'===_0x4fdc8e[_0x452cd7]));}function _0x34ba9f(){return _0x5d7563&&_0x4e5df4?new window['Promise']((_0x2a85af,_0x3a2b41)=>{_0x5d7563['then'](_0x2a85af,_0x3a2b41),_0x4e5df4['then'](_0xac7972=>{'Valid'!=_0xac7972&&_0x2a85af(_0xac7972);},_0x3a2b41);}):_0x5d7563||_0x4e5df4||'Valid';}}function _0x42e9a9(_0x8c6df,_0x27fcc0){return new window['Promise'](_0x3bead1=>{if(_0x8e24f6())return _0x3bead1('Valid');_0x486705(),_0x39e0c6['decorate']('_sendUsageRequest');let _0x443184=!0x1;const _0xc215da=_0x531c5b();function _0x116121(_0x47e745){return!!_0x47e745&&('object'==typeof _0x47e745||'function'==typeof _0x47e745)&&'function'==typeof _0x47e745['then']&&'function'==typeof _0x47e745['catch'];}function _0x4d0cd8(_0x45ac09){_0xb19fc7(_0x45ac09)['then'](_0x224752=>_0x224752&&'ok'==_0x224752['status']?_0x2af99e(_0x26238e(_0xc215da+_0x27fcc0))!=_0x224752['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x13cd2c=>(_0x555190(),_0x13cd2c),()=>{const _0x4c8b25=_0x448d78();return null==_0x4c8b25?(_0x555190(),'Valid'):_0x32a92b-_0x4c8b25>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3bead1)['catch'](()=>{_0x3bead1('UsageLimit');});const _0x4e37f3=0x36ee80;function _0x555190(){const _0x2de7ea='llct-'+_0x2af99e(_0x26238e(_0x8c6df)),_0x24e294=_0x4044cc(_0x2af99e(window['Math']['ceil'](_0x32a92b/_0x4e37f3)));window['localStorage']['setItem'](_0x2de7ea,_0x24e294);}function _0x448d78(){const _0x5e5ec1='llct-'+_0x2af99e(_0x26238e(_0x8c6df)),_0x5b4310=window['localStorage']['getItem'](_0x5e5ec1);return _0x5b4310?window['parseInt'](_0x4044cc(_0x5b4310),0x10)*_0x4e37f3:null;}function _0xb19fc7(_0x42690c){return new window['Promise']((_0x4a9dab,_0xbbe44a)=>{_0x42690c['then'](_0x4a9dab,_0xbbe44a),window['setTimeout'](_0xbbe44a,0x1d4c0);});}}_0x39e0c6['on']('_sendUsageRequest',(_0x22d1d7,_0x1f3aca)=>{if(_0x1f3aca[0x0]!=_0x8c6df)return _0x3bead1('UsageLimit');_0x1f3aca[0x1]={..._0x1f3aca[0x1],'requestId':_0xc215da};},{'priority':'high'}),_0x39e0c6['on']('_sendUsageRequest',_0xafbc7c=>{_0x116121(_0xafbc7c['return'])&&(_0x443184=!0x0,_0x4d0cd8(_0xafbc7c['return']));},{'priority':'low'}),_0x27f22e['then'](()=>{_0x443184||_0x3bead1('UsageLimit');});});function _0x8e24f6(){return'auto'==_0x39e0c6['editing']['view']['_overlayModeHint'];}function _0x486705(){_0x39e0c6['editing']['view']['_overlayModeHint']='auto';}}function _0x58b185(_0xb8b707){const _0x47f1f6=[new window['Promise'](_0x1fbdd2=>setTimeout(_0x1fbdd2,0x93ecc)),_0x27f22e['then'](()=>new window['Promise'](_0x59e29f=>{let _0x531002=0x0;_0x39e0c6['model']['on']('applyOperation',(_0xd37e3c,_0x1d1366)=>{_0x1d1366[0x0]['isDocumentOperation']&&_0x531002++,0x5e8==_0x531002&&(_0x59e29f(),_0xd37e3c['off']());});}))];return window['Promise']['race'](_0x47f1f6)['then'](()=>_0xb8b707);}async function _0x360de9(){await _0x27f22e,_0x39e0c6['model']['change']=_0x130600,_0x39e0c6['model']['enqueueChange']=_0x130600,_0x39e0c6['enableReadOnlyMode']('model');}function _0x120990(_0xf67211){const _0x38f404=_0x2f242a();_0x39e0c6[_0x38f404]='lineHeightLicenseKey'+_0xf67211,'Valid'!=_0xf67211&&_0x360de9();}function _0x2f242a(){const _0x17d051=window['String'](window['performance']['now']())['replace']('.','');let _0x52ced0='P';for(let _0x25a58e=0x0;_0x25a58e<_0x17d051['length'];_0x25a58e+=0x2){let _0x4d3552=window['parseInt'](_0x17d051['substring'](_0x25a58e,_0x25a58e+0x2));_0x4d3552>=0x3e&&(_0x4d3552-=0x3e),_0x52ced0+=_0xdb59dc[_0x4d3552];}return _0x52ced0;}function _0x33263f(){const _0x390b89=_0xa060aa['split']('.');if(0x3!=_0x390b89['length'])return null;return _0x47743f(_0x390b89[0x1]);function _0x47743f(_0x2372e1){const _0x1be405=_0x2423ca(_0x2372e1);return _0x1be405&&_0x268885()?_0x1be405:null;function _0x268885(){const _0x86341e=_0x1be405['jti'],_0x5734c1=window['parseInt'](_0x86341e['substring'](_0x86341e['length']-0x8),0x10),_0x347bc0={..._0x1be405,'jti':_0x86341e['substring'](0x0,_0x86341e['length']-0x8)};return delete _0x347bc0['vc'],_0x26238e(_0x347bc0)==_0x5734c1;}}}async function _0x4093fe(){let _0xb6a7a4=!0x0;try{const [_0x54943f,_0x253368,_0x1e641e]=_0xa060aa['split']('.');return _0x570c80(_0x54943f),await _0x69fa83(_0x54943f,_0x253368,_0x1e641e),_0xb6a7a4;}catch{return!0x1;}function _0x570c80(_0x31c870){const _0x9a4968=_0x2423ca(_0x31c870);_0x9a4968&&'ES256'==_0x9a4968['alg']||(_0xb6a7a4=!0x1);}async function _0x69fa83(_0x52761a,_0x38c2ce,_0x24c8c4){const _0x1db882=window['Uint8Array']['from'](_0x38ae97(_0x24c8c4),_0x1ce930=>_0x1ce930['charCodeAt'](0x0)),_0x536cba=new window['TextEncoder']()['encode'](_0x52761a+'.'+_0x38c2ce),_0x28b980=window['crypto']['subtle'];if(!_0x28b980)return;const _0x18fa1c=await _0x28b980['importKey']('jwk',_0x3c8599,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x28b980['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x18fa1c,_0x1db882,_0x536cba)||(_0xb6a7a4=!0x1);}}function _0x2423ca(_0x56b3ee){return _0x56b3ee['startsWith']('ey')?JSON['parse'](_0x38ae97(_0x56b3ee)):null;}function _0x38ae97(_0x5b0efb){return window['atob'](_0x5b0efb['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x26238e(_0x458f8f){let _0x2a6561=0x1505;function _0x2bd79a(_0x4583da){for(let _0x355e8a=0x0;_0x355e8a<_0x4583da['length'];_0x355e8a++){const _0x29d8f2=_0x4583da['charCodeAt'](_0x355e8a);_0x2a6561=(_0x2a6561<<0x5)+_0x2a6561+_0x29d8f2,_0x2a6561&=_0x2a6561;}}function _0x3831b1(_0x4e0724){Array['isArray'](_0x4e0724)?_0x4e0724['forEach'](_0x3831b1):_0x4e0724&&'object'==typeof _0x4e0724?Object['entries'](_0x4e0724)['sort']()['forEach'](([_0x1b0c6d,_0x59b082])=>{_0x2bd79a(_0x1b0c6d),_0x3831b1(_0x59b082);}):_0x2bd79a(window['String'](_0x4e0724));}return _0x3831b1(_0x458f8f),_0x2a6561>>>0x0;}function _0x2af99e(_0x1801f7){return _0x1801f7['toString'](0x10)['padStart'](0x8,'0');}function _0x4044cc(_0x264524){return _0x264524['split']('')['reverse']()['join']('');}function _0x130600(){}_0x120990(await _0x4d4999());}(this);}['_validateConfig'](){const _0x4ca76b=this['editor'];if(!_0x4ca76b['config']['get']('lineHeight.supportAllValues'))return;const _0x35eda3=_0x4ca76b['config']['get']('lineHeight.options')['filter'](_0x52640d=>'string'==typeof _0x52640d&&(!H(_0x52640d)&&isNaN(Number(_0x52640d))));if(_0x35eda3['length'])throw new _0x40b474('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x35eda3});}['_prepareAnyValueConverters'](){const _0x31c5b9=this['editor'],_0x3573d6=this['editor']['config']['get']('lineHeight.defaultValue');_0x31c5b9['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x2d9c77=>String(_0x2d9c77)===String(_0x3573d6)?null:{'key':'style','value':{'line-height':_0x2d9c77}}}),_0x31c5b9['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x14cc39=>{let _0x370cff=_0x14cc39['getStyle']('line-height');return _0x10f64a(_0x370cff)&&(_0x370cff=String(Number(_0x370cff['slice'](0x0,-0x1))/0x64)),String(_0x370cff)===String(_0x3573d6)?null:_0x370cff;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x25f34e=this['editor'],_0x40fa2c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1e6267=function(_0x108a25,_0x3721c3){const _0x5e69a9={'model':{'key':_0x108a25,'values':[]},'view':{}};for(const _0x311541 of _0x3721c3)'class'===_0x311541['view']?.['key']?(_0x5e69a9['model']['values']['push'](_0x311541['model']),_0x5e69a9['view'][_0x311541['model']]={'key':'class','value':_0x311541['view']['value']}):(_0x5e69a9['model']['values']['push'](_0x311541['model']),_0x5e69a9['view'][_0x311541['model']]={'key':'style','value':'line-height:'+_0x311541['model']+';'});return _0x5e69a9;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x598db6=>_0x598db6['model']));_0x25f34e['conversion']['attributeToAttribute'](_0x1e6267),_0x25f34e['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x5855d2=>{let _0xe90d11=_0x5855d2['getStyle']('line-height');return _0x10f64a(_0xe90d11)&&(_0xe90d11=String(Number(_0xe90d11['slice'](0x0,-0x1))/0x64)),_0xe90d11===String(_0x40fa2c)?null:_0x1e6267['model']['values']['includes'](_0xe90d11)?_0xe90d11:null;}}});}},k=class extends _0x591983{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x253900={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x253900),this['_registerMenuBarComponent'](_0x253900),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x573ad1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x221048;for(const _0x211371 in _0x573ad1){const _0x312581=_0x211371,_0x5ad567=_0x573ad1[_0x312581];if('lineHeightLicenseKeyValid'==_0x5ad567||'lineHeightLicenseKeyInvalid'==_0x5ad567||'lineHeightLicenseKeyExpired'==_0x5ad567||'lineHeightLicenseKeyDomainLimit'==_0x5ad567||'lineHeightLicenseKeyNotAllowed'==_0x5ad567||'lineHeightLicenseKeyEvaluationLimit'==_0x5ad567||'lineHeightLicenseKeyUsageLimit'==_0x5ad567){delete _0x573ad1[_0x312581],_0x221048=_0x5ad567,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x221048&&_0x573ad1['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x221048&&_0x573ad1['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x221048&&_0x573ad1['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x221048&&_0x573ad1['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x221048&&_0x573ad1['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x221048&&_0x573ad1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x21f4f8=this['editor'],t=_0x21f4f8['t'],_0x231c17=_0x21f4f8['config']['get']('lineHeight'),_0x2ebb69={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x231c17)['map'](_0xaac8b5=>{const _0x5064f9=_0x2ebb69[_0xaac8b5['title']];return _0x5064f9&&_0x5064f9!=_0xaac8b5['title']&&(_0xaac8b5=Object['assign']({},_0xaac8b5,{'title':_0x5064f9})),_0xaac8b5;});}['_prepareListOptions'](){const _0x21335c=this['editor']['commands']['get']('lineHeight'),_0x52c70b=this['editor']['config']['get']('lineHeight.defaultValue'),_0x582a1b=this['_getLocalizedLineHeightOptions'](),_0x33bd8e=new _0x2d36bb(),_0x22e658=_0x1fdb46=>'default'===_0x1fdb46||String(_0x52c70b)===_0x1fdb46;for(const _0x9ce6a7 of _0x582a1b){const _0x4a5082={'type':'button','model':new _0x5f0b18({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x9ce6a7['title'],'withText':!0x0})};_0x22e658(_0x9ce6a7['model'])?(_0x4a5082['model']['bind']('isOn')['to'](_0x21335c,'value',_0x3a609c=>!_0x3a609c),_0x4a5082['model']['commandParam']=void 0x0):(_0x4a5082['model']['bind']('isOn')['to'](_0x21335c,'value',_0x8a2ca2=>_0x8a2ca2===_0x9ce6a7['model']),_0x4a5082['model']['commandParam']=_0x9ce6a7['model']),_0x33bd8e['add'](_0x4a5082);}if(this['_shouldRenderCustomValueOption']()){const _0x5c2f4b=this['_getCustomValueOptionDefinition'](_0x582a1b);_0x33bd8e['add'](_0x5c2f4b);}return _0x33bd8e;}['_getCustomValueOptionDefinition'](_0x466aae){const _0x59f436=this['editor'],t=_0x59f436['t'],_0x1aed5e=_0x59f436['commands']['get']('lineHeight'),_0x59ccc1=_0x466aae['map'](_0x5b16c1=>_0x5b16c1['model']),_0x2e74f5={'type':'button','model':new _0x5f0b18({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2e74f5['model']['bind']('commandParam')['to'](_0x1aed5e,'value'),_0x2e74f5['model']['bind']('isOn')['to'](_0x1aed5e,'value',_0x38ef5b=>!!_0x38ef5b&&!_0x59ccc1['includes'](String(_0x38ef5b))),_0x2e74f5['model']['bind']('label')['to'](_0x1aed5e,'value',_0x221b22=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x221b22))),_0x2e74f5;}['_registerToolbarComponent']({accessibleLabel:_0x13a12b,options:_0x1a9144}){const _0xcbccbb=this['editor'],_0x118a86=_0xcbccbb['commands']['get']('lineHeight');_0xcbccbb['ui']['componentFactory']['add']('lineHeight',_0x4a3d00=>{const _0x2be0bb=_0x49cae2(_0x4a3d00);return _0xbb606f(_0x2be0bb,_0x1a9144,{'role':'menu','ariaLabel':_0x13a12b}),_0x2be0bb['buttonView']['set']({'label':_0x13a12b,'tooltip':!0x0,'icon':_0x362bb0}),_0x2be0bb['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2be0bb['bind']('isEnabled')['to'](_0x118a86),this['listenTo'](_0x2be0bb,'execute',_0x4a8ddd=>{_0xcbccbb['execute'](_0x4a8ddd['source']['commandName'],{'value':_0x4a8ddd['source']['commandParam']}),_0xcbccbb['editing']['view']['focus']();}),_0x2be0bb['once']('change:isOpen',()=>{const _0xf130f7=_0x2be0bb['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2be0bb,_0x1a9144,_0xf130f7);}),_0x2be0bb;});}['_registerMenuBarComponent']({accessibleLabel:_0x411caf,options:_0x2ebfb3}){const _0x298506=this['editor'],_0x199f07=_0x298506['commands']['get']('lineHeight');_0x298506['ui']['componentFactory']['add']('menuBar:lineHeight',_0x56a188=>{const _0x4006cf=new _0x7ceb9f(_0x56a188);_0x4006cf['buttonView']['set']({'label':_0x411caf,'icon':_0x362bb0}),_0x4006cf['bind']('isEnabled')['to'](_0x199f07);const _0x503e0d=new _0x58b87e(_0x56a188);for(const _0x42295e of _0x2ebfb3){const _0x5228cf=new _0x540536(_0x56a188,_0x4006cf),_0x5ba8fb=new _0x4b6f2c(_0x56a188);_0x5ba8fb['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5ba8fb['bind'](...Object['keys'](_0x42295e['model']))['to'](_0x42295e['model']),_0x5ba8fb['delegate']('execute')['to'](_0x4006cf),_0x5ba8fb['on']('execute',()=>{_0x298506['execute'](_0x42295e['model']['commandName'],{'value':_0x42295e['model']['commandParam']}),_0x298506['editing']['view']['focus']();}),_0x5228cf['children']['add'](_0x5ba8fb),_0x503e0d['items']['add'](_0x5228cf);}return _0x4006cf['panelView']['children']['add'](_0x503e0d),this['_attachCustomOptionVisibilityHandler'](_0x4006cf,_0x2ebfb3,_0x503e0d),_0x4006cf;});}['_attachCustomOptionVisibilityHandler'](_0x211d84,_0x4e739a,_0xbdd81a){if(!this['_shouldRenderCustomValueOption']())return;const _0x4d2bd9=()=>{if(!_0x211d84['isOpen'])return;_0xbdd81a['items']['last']['isVisible']=Boolean(_0x4e739a['last']['model']['isOn']);};_0x4d2bd9(),_0x211d84['on']('change:isOpen',()=>{_0x4d2bd9();});}},_=class extends _0x591983{static get['requires'](){return[b,k];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{_ as LineHeight,p as LineHeightCommand,b as LineHeightEditing,v as LineHeightTodoListIntegration,k as LineHeightUI};
@@ -1,31 +1,31 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height/integrations/todolist
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import '../../theme/integrations/todolist.css';
6
+ * @module line-height/integrations/todolist
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from "@ckeditor/ckeditor5-core";
10
+ import "../../theme/integrations/todolist.css";
11
11
  /**
12
- * The to-do list line height support plugin.
13
- */
12
+ * The to-do list line height support plugin.
13
+ */
14
14
  export declare class LineHeightTodoListIntegration extends Plugin {
15
- /**
16
- * @inheritDoc
17
- */
18
- static get pluginName(): "LineHeightTodoListIntegration";
19
- /**
20
- * @inheritDoc
21
- */
22
- static get isOfficialPlugin(): true;
23
- /**
24
- * @inheritDoc
25
- */
26
- static get isPremiumPlugin(): true;
27
- /**
28
- * @inheritDoc
29
- */
30
- init(): void;
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get pluginName(): "LineHeightTodoListIntegration";
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static override get isOfficialPlugin(): true;
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static override get isPremiumPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ init(): void;
31
31
  }
@@ -1,34 +1,34 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height/lineheight
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { LineHeightEditing } from './lineheightediting.js';
11
- import { LineHeightUI } from './lineheightui.js';
6
+ * @module line-height/lineheight
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { LineHeightEditing } from "./lineheightediting.js";
11
+ import { LineHeightUI } from "./lineheightui.js";
12
12
  /**
13
- * The line height plugin.
14
- *
15
- * For a detailed overview, check the {@glink features/line-height Line height feature documentation}.
16
- */
13
+ * The line height plugin.
14
+ *
15
+ * For a detailed overview, check the {@glink features/line-height Line height feature documentation}.
16
+ */
17
17
  export declare class LineHeight extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get requires(): readonly [typeof LineHeightEditing, typeof LineHeightUI];
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "LineHeight";
26
- /**
27
- * @inheritDoc
28
- */
29
- static get isOfficialPlugin(): true;
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isPremiumPlugin(): true;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): PluginDependenciesOf<[LineHeightEditing, LineHeightUI]>;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "LineHeight";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static override get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static override get isPremiumPlugin(): true;
34
34
  }
@@ -1,26 +1,26 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height/lineheightcommand
7
- * @publicApi
8
- */
9
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module line-height/lineheightcommand
7
+ * @publicApi
8
+ */
9
+ import { Command } from "@ckeditor/ckeditor5-core";
10
10
  /**
11
- * The line height command. It applies the line height on block elements.
12
- */
11
+ * The line height command. It applies the line height on block elements.
12
+ */
13
13
  export declare class LineHeightCommand extends Command {
14
- /**
15
- * @inheritDoc
16
- */
17
- refresh(): void;
18
- /**
19
- * Executes the command.
20
- *
21
- * @param options.value The value to apply. When `undefined`, the command will remove the attribute.
22
- */
23
- execute(options?: {
24
- value?: string;
25
- }): void;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ override refresh(): void;
18
+ /**
19
+ * Executes the command.
20
+ *
21
+ * @param options.value The value to apply. When `undefined`, the command will remove the attribute.
22
+ */
23
+ override execute(options?: {
24
+ value?: string;
25
+ }): void;
26
26
  }
@@ -1,66 +1,66 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height/lineheightconfig
7
- * @publicApi
8
- */
9
- import type { DowncastAttributeDescriptor } from '@ckeditor/ckeditor5-engine';
6
+ * @module line-height/lineheightconfig
7
+ * @publicApi
8
+ */
9
+ import type { DowncastAttributeDescriptor } from "@ckeditor/ckeditor5-engine";
10
10
  /**
11
- * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
12
- *
13
- * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
14
- */
11
+ * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
12
+ *
13
+ * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
14
+ */
15
15
  export interface LineHeightConfig {
16
- /**
17
- * Available line height options. The default value is:
18
- *
19
- * ```ts
20
- * const lineHeightConfig = {
21
- * options: [ 0.5, 1, 1.5, 2, 2.5 ]
22
- * };
23
- * ```
24
- *
25
- * **Note**: Line height values have to be provided in a format without units.
26
- * The available values are always multipliers of the default line height applied to the edited content.
27
- */
28
- options?: Array<string | number | LineHeightOption>;
29
- /**
30
- * By default, the plugin removes any `line-height` value that does not match the plugin's configuration.
31
- * It means that if you paste content with line heights that the editor does not understand, the `line-height` attribute
32
- * will be removed and the content will be displayed with the default line height.
33
- *
34
- * You can preserve pasted line heights values by switching the `supportAllValues` option to `true`:
35
- *
36
- * ```ts
37
- * const lineHeightConfig = {
38
- * supportAllValues: true
39
- * };
40
- * ```
41
- *
42
- * With this configuration line heights not specified in the editor configuration will not be removed when pasting the content.
43
- */
44
- supportAllValues?: boolean;
45
- /**
46
- * Default value of line height attribute. Defaults to `1.5`.
47
- */
48
- defaultValue?: number;
16
+ /**
17
+ * Available line height options. The default value is:
18
+ *
19
+ * ```ts
20
+ * const lineHeightConfig = {
21
+ * options: [ 0.5, 1, 1.5, 2, 2.5 ]
22
+ * };
23
+ * ```
24
+ *
25
+ * **Note**: Line height values have to be provided in a format without units.
26
+ * The available values are always multipliers of the default line height applied to the edited content.
27
+ */
28
+ options?: Array<string | number | LineHeightOption>;
29
+ /**
30
+ * By default, the plugin removes any `line-height` value that does not match the plugin's configuration.
31
+ * It means that if you paste content with line heights that the editor does not understand, the `line-height` attribute
32
+ * will be removed and the content will be displayed with the default line height.
33
+ *
34
+ * You can preserve pasted line heights values by switching the `supportAllValues` option to `true`:
35
+ *
36
+ * ```ts
37
+ * const lineHeightConfig = {
38
+ * supportAllValues: true
39
+ * };
40
+ * ```
41
+ *
42
+ * With this configuration line heights not specified in the editor configuration will not be removed when pasting the content.
43
+ */
44
+ supportAllValues?: boolean;
45
+ /**
46
+ * Default value of line height attribute. Defaults to `1.5`.
47
+ */
48
+ defaultValue?: number;
49
49
  }
50
50
  /**
51
- * Configuration for one of the dropdown options.
52
- */
51
+ * Configuration for one of the dropdown options.
52
+ */
53
53
  export interface LineHeightOption {
54
- /**
55
- * The user-readable title of the option.
56
- */
57
- title: string;
58
- /**
59
- * The line height value (CSS line-height property value, string).
60
- */
61
- model: string;
62
- /**
63
- * View element configuration.
64
- */
65
- view?: DowncastAttributeDescriptor;
54
+ /**
55
+ * The user-readable title of the option.
56
+ */
57
+ title: string;
58
+ /**
59
+ * The line height value (CSS line-height property value, string).
60
+ */
61
+ model: string;
62
+ /**
63
+ * View element configuration.
64
+ */
65
+ view?: DowncastAttributeDescriptor;
66
66
  }
@@ -1,46 +1,46 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module line-height/lineheightediting
7
- */
8
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
9
- import { LineHeightTodoListIntegration } from './integrations/todolist.js';
6
+ * @module line-height/lineheightediting
7
+ */
8
+ import { Plugin, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { LineHeightTodoListIntegration } from "./integrations/todolist.js";
10
10
  /**
11
- * The line height editing feature.
12
- *
13
- * It introduces the {@link module:line-height/lineheightcommand~LineHeightCommand command} and the `lineHeight`
14
- * attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}
15
- * as a `style="line-height: ..."` style.
16
- */
11
+ * The line height editing feature.
12
+ *
13
+ * It introduces the {@link module:line-height/lineheightcommand~LineHeightCommand command} and the `lineHeight`
14
+ * attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}
15
+ * as a `style="line-height: ..."` style.
16
+ */
17
17
  export declare class LineHeightEditing extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get pluginName(): "LineHeightEditing";
22
- /**
23
- * @inheritDoc
24
- */
25
- static get requires(): readonly [typeof LineHeightTodoListIntegration];
26
- /**
27
- * @inheritDoc
28
- */
29
- static get isOfficialPlugin(): true;
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isPremiumPlugin(): true;
34
- /**
35
- * @inheritDoc
36
- */
37
- constructor(editor: Editor);
38
- /**
39
- * @inheritDoc
40
- */
41
- init(): void;
42
- /**
43
- * @inheritDoc
44
- */
45
- afterInit(): void;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get pluginName(): "LineHeightEditing";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): PluginDependenciesOf<[LineHeightTodoListIntegration]>;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static override get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static override get isPremiumPlugin(): true;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ constructor(editor: Editor);
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ init(): void;
42
+ /**
43
+ * @inheritDoc
44
+ */
45
+ afterInit(): void;
46
46
  }