@ckeditor/ckeditor5-line-height 48.8.1-alpha.3 → 49.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 (160) hide show
  1. package/dist/augmentation.d.ts +19 -19
  2. package/dist/index-content.css +22 -18
  3. package/dist/index-editor.css +7 -7
  4. package/dist/index.css +26 -18
  5. package/dist/index.d.ts +14 -12
  6. package/dist/index.js +1 -1
  7. package/dist/integrations/todolist.d.ts +25 -26
  8. package/dist/lineheight.d.ts +29 -29
  9. package/dist/lineheightcommand.d.ts +21 -21
  10. package/dist/lineheightconfig.d.ts +58 -58
  11. package/dist/lineheightediting.d.ts +41 -41
  12. package/dist/lineheightui.d.ts +28 -29
  13. package/dist/translations/af.js +1 -1
  14. package/dist/translations/af.umd.js +1 -1
  15. package/dist/translations/ar.js +1 -1
  16. package/dist/translations/ar.umd.js +1 -1
  17. package/dist/translations/ast.js +1 -1
  18. package/dist/translations/ast.umd.js +1 -1
  19. package/dist/translations/az.js +1 -1
  20. package/dist/translations/az.umd.js +1 -1
  21. package/dist/translations/be.js +1 -1
  22. package/dist/translations/be.umd.js +1 -1
  23. package/dist/translations/bg.js +1 -1
  24. package/dist/translations/bg.umd.js +1 -1
  25. package/dist/translations/bn.js +1 -1
  26. package/dist/translations/bn.umd.js +1 -1
  27. package/dist/translations/bs.js +1 -1
  28. package/dist/translations/bs.umd.js +1 -1
  29. package/dist/translations/ca.js +1 -1
  30. package/dist/translations/ca.umd.js +1 -1
  31. package/dist/translations/cs.js +1 -1
  32. package/dist/translations/cs.umd.js +1 -1
  33. package/dist/translations/da.js +1 -1
  34. package/dist/translations/da.umd.js +1 -1
  35. package/dist/translations/de-ch.js +1 -1
  36. package/dist/translations/de-ch.umd.js +1 -1
  37. package/dist/translations/de.js +1 -1
  38. package/dist/translations/de.umd.js +1 -1
  39. package/dist/translations/el.js +1 -1
  40. package/dist/translations/el.umd.js +1 -1
  41. package/dist/translations/en-au.js +1 -1
  42. package/dist/translations/en-au.umd.js +1 -1
  43. package/dist/translations/en-gb.js +1 -1
  44. package/dist/translations/en-gb.umd.js +1 -1
  45. package/dist/translations/en.js +1 -1
  46. package/dist/translations/en.umd.js +1 -1
  47. package/dist/translations/eo.js +1 -1
  48. package/dist/translations/eo.umd.js +1 -1
  49. package/dist/translations/es-co.js +1 -1
  50. package/dist/translations/es-co.umd.js +1 -1
  51. package/dist/translations/es.js +1 -1
  52. package/dist/translations/es.umd.js +1 -1
  53. package/dist/translations/et.js +1 -1
  54. package/dist/translations/et.umd.js +1 -1
  55. package/dist/translations/eu.js +1 -1
  56. package/dist/translations/eu.umd.js +1 -1
  57. package/dist/translations/fa.js +1 -1
  58. package/dist/translations/fa.umd.js +1 -1
  59. package/dist/translations/fi.js +1 -1
  60. package/dist/translations/fi.umd.js +1 -1
  61. package/dist/translations/fr.js +1 -1
  62. package/dist/translations/fr.umd.js +1 -1
  63. package/dist/translations/gl.js +1 -1
  64. package/dist/translations/gl.umd.js +1 -1
  65. package/dist/translations/gu.js +1 -1
  66. package/dist/translations/gu.umd.js +1 -1
  67. package/dist/translations/he.js +1 -1
  68. package/dist/translations/he.umd.js +1 -1
  69. package/dist/translations/hi.js +1 -1
  70. package/dist/translations/hi.umd.js +1 -1
  71. package/dist/translations/hr.js +1 -1
  72. package/dist/translations/hr.umd.js +1 -1
  73. package/dist/translations/hu.js +1 -1
  74. package/dist/translations/hu.umd.js +1 -1
  75. package/dist/translations/hy.js +1 -1
  76. package/dist/translations/hy.umd.js +1 -1
  77. package/dist/translations/id.js +1 -1
  78. package/dist/translations/id.umd.js +1 -1
  79. package/dist/translations/it.js +1 -1
  80. package/dist/translations/it.umd.js +1 -1
  81. package/dist/translations/ja.js +1 -1
  82. package/dist/translations/ja.umd.js +1 -1
  83. package/dist/translations/jv.js +1 -1
  84. package/dist/translations/jv.umd.js +1 -1
  85. package/dist/translations/kk.js +1 -1
  86. package/dist/translations/kk.umd.js +1 -1
  87. package/dist/translations/km.js +1 -1
  88. package/dist/translations/km.umd.js +1 -1
  89. package/dist/translations/kn.js +1 -1
  90. package/dist/translations/kn.umd.js +1 -1
  91. package/dist/translations/ko.js +1 -1
  92. package/dist/translations/ko.umd.js +1 -1
  93. package/dist/translations/ku.js +1 -1
  94. package/dist/translations/ku.umd.js +1 -1
  95. package/dist/translations/lt.js +1 -1
  96. package/dist/translations/lt.umd.js +1 -1
  97. package/dist/translations/lv.js +1 -1
  98. package/dist/translations/lv.umd.js +1 -1
  99. package/dist/translations/ms.js +1 -1
  100. package/dist/translations/ms.umd.js +1 -1
  101. package/dist/translations/nb.js +1 -1
  102. package/dist/translations/nb.umd.js +1 -1
  103. package/dist/translations/ne.js +1 -1
  104. package/dist/translations/ne.umd.js +1 -1
  105. package/dist/translations/nl.js +1 -1
  106. package/dist/translations/nl.umd.js +1 -1
  107. package/dist/translations/no.js +1 -1
  108. package/dist/translations/no.umd.js +1 -1
  109. package/dist/translations/oc.js +1 -1
  110. package/dist/translations/oc.umd.js +1 -1
  111. package/dist/translations/pl.js +1 -1
  112. package/dist/translations/pl.umd.js +1 -1
  113. package/dist/translations/pt-br.js +1 -1
  114. package/dist/translations/pt-br.umd.js +1 -1
  115. package/dist/translations/pt.js +1 -1
  116. package/dist/translations/pt.umd.js +1 -1
  117. package/dist/translations/ro.js +1 -1
  118. package/dist/translations/ro.umd.js +1 -1
  119. package/dist/translations/ru.js +1 -1
  120. package/dist/translations/ru.umd.js +1 -1
  121. package/dist/translations/si.js +1 -1
  122. package/dist/translations/si.umd.js +1 -1
  123. package/dist/translations/sk.js +1 -1
  124. package/dist/translations/sk.umd.js +1 -1
  125. package/dist/translations/sl.js +1 -1
  126. package/dist/translations/sl.umd.js +1 -1
  127. package/dist/translations/sq.js +1 -1
  128. package/dist/translations/sq.umd.js +1 -1
  129. package/dist/translations/sr-latn.js +1 -1
  130. package/dist/translations/sr-latn.umd.js +1 -1
  131. package/dist/translations/sr.js +1 -1
  132. package/dist/translations/sr.umd.js +1 -1
  133. package/dist/translations/sv.js +1 -1
  134. package/dist/translations/sv.umd.js +1 -1
  135. package/dist/translations/th.js +1 -1
  136. package/dist/translations/th.umd.js +1 -1
  137. package/dist/translations/ti.js +1 -1
  138. package/dist/translations/ti.umd.js +1 -1
  139. package/dist/translations/tk.js +1 -1
  140. package/dist/translations/tk.umd.js +1 -1
  141. package/dist/translations/tr.js +1 -1
  142. package/dist/translations/tr.umd.js +1 -1
  143. package/dist/translations/tt.js +1 -1
  144. package/dist/translations/tt.umd.js +1 -1
  145. package/dist/translations/ug.js +1 -1
  146. package/dist/translations/ug.umd.js +1 -1
  147. package/dist/translations/uk.js +1 -1
  148. package/dist/translations/uk.umd.js +1 -1
  149. package/dist/translations/ur.js +1 -1
  150. package/dist/translations/ur.umd.js +1 -1
  151. package/dist/translations/uz.js +1 -1
  152. package/dist/translations/uz.umd.js +1 -1
  153. package/dist/translations/vi.js +1 -1
  154. package/dist/translations/vi.umd.js +1 -1
  155. package/dist/translations/zh-cn.js +1 -1
  156. package/dist/translations/zh-cn.umd.js +1 -1
  157. package/dist/translations/zh.js +1 -1
  158. package/dist/translations/zh.umd.js +1 -1
  159. package/dist/utils.d.ts +0 -4
  160. package/package.json +8 -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
  }
@@ -2,30 +2,34 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- .ck-content .line-height-single{
6
- line-height:1;
5
+ .ck-content .line-height-single {
6
+ line-height: 1;
7
7
  }
8
8
 
9
- .ck-content .line-height-double{
10
- line-height:2;
9
+ .ck-content .line-height-double {
10
+ line-height: 2;
11
11
  }
12
12
 
13
- :root{
14
- --ck-content-list-marker-line-height:var(--ck-content-line-height);
13
+ :root, :host {
14
+ --ck-content-list-marker-line-height: var(--ck-content-line-height);
15
15
  }
16
16
 
17
- .ck-content .todo-list li.ck-list-marker-line-height:before{
18
- line-height:var(--ck-content-list-marker-line-height);
19
- content:"";
20
- }
17
+ .ck-content .todo-list {
18
+ & li.ck-list-marker-line-height {
19
+ &:before {
20
+ line-height: var(--ck-content-list-marker-line-height);
21
+ content: "";
22
+ }
21
23
 
22
- .ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description{
23
- width:0;
24
- line-height:var(--ck-content-list-marker-line-height);
25
- position:absolute;
26
- }
24
+ & > .todo-list__label.todo-list__label_without-description {
25
+ width: 0;
26
+ line-height: var(--ck-content-list-marker-line-height);
27
+ position: absolute;
27
28
 
28
- .ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description input[type="checkbox"]{
29
- margin:0;
30
- position:relative;
29
+ & input[type="checkbox"] {
30
+ margin: 0;
31
+ position: relative;
32
+ }
33
+ }
34
+ }
31
35
  }
@@ -2,11 +2,11 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- :root{
6
- --ck-content-list-marker-line-height:var(--ck-content-line-height);
7
- }
8
-
9
- .ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description > span[contenteditable="false"]{
10
- width:0;
11
- display:inline-block;
5
+ .ck-editor__editable.ck-content .todo-list {
6
+ & li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
7
+ & > span[contenteditable="false"] {
8
+ width: 0;
9
+ display: inline-block;
10
+ }
11
+ }
12
12
  }
package/dist/index.css CHANGED
@@ -2,6 +2,15 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+ .ck-editor__editable.ck-content .todo-list {
6
+ & li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
7
+ & > span[contenteditable="false"] {
8
+ width: 0;
9
+ display: inline-block;
10
+ }
11
+ }
12
+ }
13
+
5
14
  .ck-content .line-height-single {
6
15
  line-height: 1;
7
16
  }
@@ -10,27 +19,26 @@
10
19
  line-height: 2;
11
20
  }
12
21
 
13
- :root {
22
+ :root, :host {
14
23
  --ck-content-list-marker-line-height: var(--ck-content-line-height);
15
24
  }
16
25
 
17
- .ck-content .todo-list li.ck-list-marker-line-height:before {
18
- line-height: var(--ck-content-list-marker-line-height);
19
- content: "";
20
- }
21
-
22
- .ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
23
- width: 0;
24
- line-height: var(--ck-content-list-marker-line-height);
25
- position: absolute;
26
- }
26
+ .ck-content .todo-list {
27
+ & li.ck-list-marker-line-height {
28
+ &:before {
29
+ line-height: var(--ck-content-list-marker-line-height);
30
+ content: "";
31
+ }
27
32
 
28
- .ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description input[type="checkbox"] {
29
- margin: 0;
30
- position: relative;
31
- }
33
+ & > .todo-list__label.todo-list__label_without-description {
34
+ width: 0;
35
+ line-height: var(--ck-content-list-marker-line-height);
36
+ position: absolute;
32
37
 
33
- .ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description > span[contenteditable="false"] {
34
- width: 0;
35
- display: inline-block;
38
+ & input[type="checkbox"] {
39
+ margin: 0;
40
+ position: relative;
41
+ }
42
+ }
43
+ }
36
44
  }
package/dist/index.d.ts CHANGED
@@ -1,14 +1,16 @@
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 "../theme/index-editor.css";
15
+ import "../theme/index-content.css";
16
+ import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x467ce4,Plugin as _0x1f3179}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x54ea01,CKEditorError as _0x3914a1,uid as _0x30a7bb,Collection as _0xbc65a1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x4cc81e,isPercentageStyleValue as _0x1b32c2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x323c4a,createDropdown as _0x114d93,addListToDropdown as _0x440c77,MenuBarMenuView as _0x24549a,MenuBarMenuListView as _0x5279aa,MenuBarMenuListItemView as _0x4c7540,MenuBarMenuListItemButtonView as _0x3fe10f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x81c0a9}from'@ckeditor/ckeditor5-icons/dist/index.js';class LineHeightCommand extends _0x467ce4{['refresh'](){const _0x8ce954=this['editor']['model']['document'],_0x6da71e=_0x54ea01(_0x8ce954['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x6da71e)&&this['_canHaveLineHeight'](_0x6da71e),this['value']=this['isEnabled']&&_0x6da71e['getAttribute']('lineHeight');}['execute'](_0x1b8614={}){const _0x1591a3=this['editor']['model'],_0x353b9c=_0x1591a3['document']['selection'],_0x1b32b7=_0x1b8614['value'];_0x1591a3['change'](_0xced0c6=>{const _0x27a50e=Array['from'](_0x353b9c['getSelectedBlocks']())['filter'](_0x38141e=>this['_canHaveLineHeight'](_0x38141e));for(const _0x586bff of _0x27a50e)_0x1b32b7?_0xced0c6['setAttribute']('lineHeight',_0x1b32b7,_0x586bff):_0xced0c6['removeAttribute']('lineHeight',_0x586bff);});}['_canHaveLineHeight'](_0x27ee29){return this['editor']['model']['schema']['checkAttribute'](_0x27ee29,'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(_0x31a3e1){return'string'==typeof _0x31a3e1&&'default'===_0x31a3e1['toLowerCase']();}function L(_0x1c285c){return _0x1c285c['options']['map'](_0x498266=>{return H(_0x498266)?{'title':String(_0x1c285c['defaultValue']),'model':'default'}:('number'==typeof _0x498266&&(_0x498266=String(_0x498266)),'string'!=typeof _0x498266?_0x498266:parseFloat(_0x498266)?{'title':_0x498266,'model':_0x498266,'view':{'name':'span','styles':{'line-height':_0x498266}}}:'string'==typeof(_0x291842=_0x498266)?p[_0x291842]:p[_0x291842['model']]);var _0x291842;})['filter'](_0x2504e5=>void 0x0!==_0x2504e5);}class LineHeightTodoListIntegration extends _0x1f3179{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x18da38,conversion:_0x291e06}=this['editor'];if(!_0x18da38['has']('ListEditing')||!_0x18da38['has']('TodoListEditing'))return;_0x18da38['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x115f5b,_0xe64c01,_0x4eb156,_0x413afe,_0x41a39a){'todo'==_0x41a39a['getAttribute']('listType')&&_0xe64c01&&(_0x115f5b['addClass']('ck-list-marker-line-height',_0x4eb156),_0x115f5b['setStyle']('--ck-content-list-marker-line-height',_0xe64c01,_0x4eb156));}}),_0x291e06['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x291e06['for']('upcast')['add'](_0x130c16=>{_0x130c16['on']('element:li',function(_0x7d4242){const _0x167c4b=new _0x4cc81e(_0x7d4242);return(_0x41efa0,_0x27da63,_0x39bd91)=>{const _0x353616=_0x167c4b['match'](_0x27da63['viewItem']);if(!_0x353616)return;const _0x25df56=_0x353616['match'];_0x25df56['name']=!0x1,_0x39bd91['consumable']['consume'](_0x27da63['viewItem'],_0x25df56);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x1f3179{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a613f){super(_0x2a613f),_0x2a613f['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x4dd33d=this['editor'];this['_validateConfig'](),_0x4dd33d['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x4dd33d['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x4dd33d['commands']['add']('lineHeight',new LineHeightCommand(_0x4dd33d)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3ce2aa){const _0x24567e=_0x5dd98e([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]),_0x2dc07d=0x45ddd215,_0xf3dd6a=0x45da587d^_0x2dc07d,_0x1efa96=window[_0x5dd98e([0x44,0x61,0x74,0x65])][_0x5dd98e([0x6e,0x6f,0x77])](),_0x2277bd=_0x3ce2aa[_0x5dd98e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e068e=new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e6dbb=>{_0x2277bd[_0x5dd98e([0x6f,0x6e,0x63,0x65])](_0x5dd98e([0x72,0x65,0x61,0x64,0x79]),_0x5e6dbb);}),_0x2d5457={[_0x5dd98e([0x6b,0x74,0x79])]:_0x5dd98e([0x45,0x43]),[_0x5dd98e([0x75,0x73,0x65])]:_0x5dd98e([0x73,0x69,0x67]),[_0x5dd98e([0x63,0x72,0x76])]:_0x5dd98e([0x50,0x2d,0x32,0x35,0x36]),[_0x5dd98e([0x78])]:_0x5dd98e([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]),[_0x5dd98e([0x79])]:_0x5dd98e([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]),[_0x5dd98e([0x61,0x6c,0x67])]:_0x5dd98e([0x45,0x53,0x32,0x35,0x36])},_0x4de46a=_0x2277bd[_0x5dd98e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5dd98e([0x67,0x65,0x74])](_0x5dd98e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e10de(){let _0x3b0728,_0x11f86c=null,_0x398d9a=null;try{if(_0x4de46a==_0x5dd98e([0x47,0x50,0x4c]))return _0x5dd98e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b0728=_0x1218bd(),!_0x3b0728)return _0x5dd98e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b0728[_0x5dd98e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x398d9a=_0x2c7d65(_0x3b0728[_0x5dd98e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b0728[_0x5dd98e([0x6a,0x74,0x69])])),await _0x2dd199()?_0x4a638b()?_0x1652b7()?_0x5dd98e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26d6b4()?(_0x3b0728[_0x5dd98e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dd98e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11f86c=_0x1cdcb3(_0x5dd98e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa476f3()):_0x5dd98e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5dd98e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5dd98e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5dd98e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1652b7(){const _0x5c0e5c=[_0x5dd98e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5dd98e([0x74,0x72,0x69,0x61,0x6c])][_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0728[_0x5dd98e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1efa96/0x3e8:0xe10*_0xf3dd6a;return _0x3b0728[_0x5dd98e([0x65,0x78,0x70])]<_0x5c0e5c;}function _0x4a638b(){const _0x4a534a=_0x3b0728[_0x5dd98e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a534a&&(!!_0x4a534a[_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dd98e([0x2a]))||!!_0x4a534a[_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dd98e([0x4c,0x48])));}function _0x26d6b4(){const _0x1ddce6=_0x3b0728[_0x5dd98e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ddce6||0x0==_0x1ddce6[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fe85d}=new URL(window[_0x5dd98e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ddce6[_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fe85d))return!0x0;const _0x1bda19=_0x4fe85d[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])](_0x5dd98e([0x2e]));return _0x1ddce6[_0x5dd98e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x450aee=>_0x450aee[_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dd98e([0x2a])))[_0x5dd98e([0x6d,0x61,0x70])](_0x21071d=>_0x21071d[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])](_0x5dd98e([0x2e])))[_0x5dd98e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe3d089=>_0xe3d089[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1bda19[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dd98e([0x6d,0x61,0x70])](_0xf91b3=>Array(_0x1bda19[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf91b3[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dd98e([0x66,0x69,0x6c,0x6c])](_0xf91b3[0x0]===_0x5dd98e([0x2a])?_0x5dd98e([0x2a]):'')[_0x5dd98e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf91b3))[_0x5dd98e([0x73,0x6f,0x6d,0x65])](_0x9d6e61=>_0x1bda19[_0x5dd98e([0x65,0x76,0x65,0x72,0x79])]((_0x5029aa,_0x181959)=>_0x9d6e61[_0x181959]===_0x5029aa||_0x9d6e61[_0x181959]===_0x5dd98e([0x2a])));}function _0xa476f3(){return _0x11f86c&&_0x398d9a?new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13f4a5,_0x1fa03d)=>{_0x11f86c[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x13f4a5,_0x1fa03d),_0x398d9a[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x1ddc31=>{_0x1ddc31!=_0x5dd98e([0x56,0x61,0x6c,0x69,0x64])&&_0x13f4a5(_0x1ddc31);},_0x1fa03d);}):_0x11f86c||_0x398d9a||_0x5dd98e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c7d65(_0x59f24d,_0x3c7488){return new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14825d=>{if(_0x13f0e4())return _0x14825d(_0x5dd98e([0x56,0x61,0x6c,0x69,0x64]));_0x3293f3(),_0x2277bd[_0x5dd98e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5dd98e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40ec22=!0x1;const _0x63fa8b=_0x30a7bb();function _0x4a41cb(_0x1a0729){return!!_0x1a0729&&(typeof _0x1a0729===_0x5dd98e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a0729===_0x5dd98e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a0729[_0x5dd98e([0x74,0x68,0x65,0x6e])]===_0x5dd98e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a0729[_0x5dd98e([0x63,0x61,0x74,0x63,0x68])]===_0x5dd98e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x35c359(_0x59b812){_0x451c45(_0x59b812)[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x218b46=>{if(!_0x218b46||_0x218b46[_0x5dd98e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5dd98e([0x6f,0x6b]))return _0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x298c6d(_0x57eba4(_0x63fa8b+_0x3c7488))!=_0x218b46[_0x5dd98e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5dd98e([0x56,0x61,0x6c,0x69,0x64]);})[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x5c49da=>(_0x361422(),_0x5c49da),()=>{const _0x2af441=_0x40da45();return null==_0x2af441?(_0x361422(),_0x5dd98e([0x56,0x61,0x6c,0x69,0x64])):_0x5dd98e(_0x1efa96-_0x2af441>(0x61d15615^_0x2dc07d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x14825d)[_0x5dd98e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14825d(_0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3501c9=0x45eb3c95^_0x2dc07d;function _0x361422(){const _0x2d76f7=_0x5dd98e([0x6c,0x6c,0x63,0x74,0x2d])+_0x298c6d(_0x57eba4(_0x59f24d)),_0x32cd0f=_0x2bde68(_0x298c6d(window[_0x5dd98e([0x4d,0x61,0x74,0x68])][_0x5dd98e([0x63,0x65,0x69,0x6c])](_0x1efa96/_0x3501c9)));window[_0x5dd98e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dd98e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d76f7,_0x32cd0f);}function _0x40da45(){const _0x2e8f4e=_0x5dd98e([0x6c,0x6c,0x63,0x74,0x2d])+_0x298c6d(_0x57eba4(_0x59f24d)),_0xbfeffd=window[_0x5dd98e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dd98e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e8f4e);return _0xbfeffd?window[_0x5dd98e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bde68(_0xbfeffd),0x10)*_0x3501c9:null;}function _0x451c45(_0x746343){return new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a0ac0,_0x12deeb)=>{_0x746343[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x4a0ac0,_0x12deeb),window[_0x5dd98e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12deeb,0x45dc06d5^_0x2dc07d);});}}_0x2277bd[_0x5dd98e([0x6f,0x6e])](_0x5dd98e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x322d77,_0x4f3d8e)=>{if(_0x4f3d8e[0x0]!=_0x59f24d)return _0x14825d(_0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f3d8e[0x1]={..._0x4f3d8e[0x1],[_0x5dd98e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x63fa8b};},{[_0x5dd98e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dd98e([0x68,0x69,0x67,0x68])}),_0x2277bd[_0x5dd98e([0x6f,0x6e])](_0x5dd98e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7a9bf7=>{_0x4a41cb(_0x7a9bf7[_0x5dd98e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40ec22=!0x0,_0x35c359(_0x7a9bf7[_0x5dd98e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5dd98e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dd98e([0x6c,0x6f,0x77])}),_0x2e068e[_0x5dd98e([0x74,0x68,0x65,0x6e])](()=>{_0x40ec22||_0x14825d(_0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13f0e4(){return _0x2277bd[_0x5dd98e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dd98e([0x76,0x69,0x65,0x77])][_0x5dd98e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5dd98e([0x61,0x75,0x74,0x6f]);}function _0x3293f3(){_0x2277bd[_0x5dd98e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dd98e([0x76,0x69,0x65,0x77])][_0x5dd98e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5dd98e([0x61,0x75,0x74,0x6f]);}}function _0x1cdcb3(_0x5b8cee){const _0x396cc9=[new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x102709=>setTimeout(_0x102709,0x45d4ecd9^_0x2dc07d)),_0x2e068e[_0x5dd98e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36cd91=>{let _0xf6176f=0x0;_0x2277bd[_0x5dd98e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dd98e([0x6f,0x6e])](_0x5dd98e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4dbed1,_0x1f21fc)=>{_0x1f21fc[0x0][_0x5dd98e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf6176f++,_0xf6176f==(0x45ddd7fd^_0x2dc07d)&&(_0x36cd91(),_0x4dbed1[_0x5dd98e([0x6f,0x66,0x66])]());});}))];return window[_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5dd98e([0x72,0x61,0x63,0x65])](_0x396cc9)[_0x5dd98e([0x74,0x68,0x65,0x6e])](()=>_0x5b8cee);}async function _0xb08d43(){await _0x2e068e,_0x2277bd[_0x5dd98e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dd98e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58f40c,_0x2277bd[_0x5dd98e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dd98e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58f40c,_0x2277bd[_0x5dd98e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5dd98e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4eff2d(_0x1eda7d){const _0x2de744=_0x50c116();_0x2277bd[_0x2de744]=_0x5dd98e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1eda7d,_0x1eda7d!=_0x5dd98e([0x56,0x61,0x6c,0x69,0x64])&&_0xb08d43();}function _0x50c116(){const _0x5be0c3=window[_0x5dd98e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5dd98e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5dd98e([0x6e,0x6f,0x77])]())[_0x5dd98e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5dd98e([0x2e]),'');let _0x4f1e25=_0x5dd98e([0x50]);for(let _0x3ab8a3=0x0;_0x3ab8a3<_0x5be0c3[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ab8a3+=0x2){let _0x59f1c8=window[_0x5dd98e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5be0c3[_0x5dd98e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ab8a3,_0x3ab8a3+0x2));_0x59f1c8>=_0x24567e[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59f1c8-=_0x24567e[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f1e25+=_0x24567e[_0x59f1c8];}return _0x4f1e25;}function _0x1218bd(){const _0x53a97a=_0x4de46a[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])](_0x5dd98e([0x2e]));if(0x3!=_0x53a97a[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x101836(_0x53a97a[0x1]);function _0x101836(_0x515d21){const _0x1d14db=_0x1ea320(_0x515d21);return _0x1d14db&&_0x54dcaf()?_0x1d14db:null;function _0x54dcaf(){const _0x3f0513=_0x1d14db[_0x5dd98e([0x6a,0x74,0x69])],_0x342864=window[_0x5dd98e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0513[_0x5dd98e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f0513[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2eb25e={..._0x1d14db,[_0x5dd98e([0x6a,0x74,0x69])]:_0x3f0513[_0x5dd98e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f0513[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2eb25e[_0x5dd98e([0x76,0x63])],_0x57eba4(_0x2eb25e)==_0x342864;}}}async function _0x2dd199(){let _0x2a508a=!0x0;try{const _0x4ae04e=_0x4de46a[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])](_0x5dd98e([0x2e])),[_0x1b70b1,_0x377921,_0x484861]=_0x4ae04e;return _0x3e756e(_0x1b70b1),await _0x3b8d06(_0x1b70b1,_0x377921,_0x484861),_0x2a508a;}catch{return!0x1;}function _0x3e756e(_0x34ffab){const _0x9a8196=_0x1ea320(_0x34ffab);_0x9a8196&&_0x9a8196[_0x5dd98e([0x61,0x6c,0x67])]==_0x5dd98e([0x45,0x53,0x32,0x35,0x36])||(_0x2a508a=!0x1);}async function _0x3b8d06(_0x5c60b5,_0x2baf85,_0x476e98){const _0x469562=window[_0x5dd98e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5dd98e([0x66,0x72,0x6f,0x6d])](_0x414e15(_0x476e98),_0x49ec35=>_0x49ec35[_0x5dd98e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5322bf=new window[(_0x5dd98e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5dd98e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c60b5+_0x5dd98e([0x2e])+_0x2baf85),_0x4fd869=window[_0x5dd98e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5dd98e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4fd869)return;const _0x3ea090=await _0x4fd869[_0x5dd98e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5dd98e([0x6a,0x77,0x6b]),_0x2d5457,{[_0x5dd98e([0x6e,0x61,0x6d,0x65])]:_0x5dd98e([0x45,0x43,0x44,0x53,0x41]),[_0x5dd98e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5dd98e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5dd98e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4fd869[_0x5dd98e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5dd98e([0x6e,0x61,0x6d,0x65])]:_0x5dd98e([0x45,0x43,0x44,0x53,0x41]),[_0x5dd98e([0x68,0x61,0x73,0x68])]:{[_0x5dd98e([0x6e,0x61,0x6d,0x65])]:_0x5dd98e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ea090,_0x469562,_0x5322bf)||(_0x2a508a=!0x1);}}function _0x1ea320(_0x2a9c43){return _0x2a9c43[_0x5dd98e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5dd98e([0x65,0x79]))?JSON[_0x5dd98e([0x70,0x61,0x72,0x73,0x65])](_0x414e15(_0x2a9c43)):null;}function _0x414e15(_0x297db8){return window[_0x5dd98e([0x61,0x74,0x6f,0x62])](_0x297db8[_0x5dd98e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5dd98e([0x2b]))[_0x5dd98e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5dd98e([0x2f])));}function _0x57eba4(_0xb557b8){let _0x24d423=0x1505;function _0x145c20(_0x4b7c06){for(let _0x21a0a7=0x0;_0x21a0a7<_0x4b7c06[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21a0a7++){const _0x950f04=_0x4b7c06[_0x5dd98e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21a0a7);_0x24d423=(_0x24d423<<0x5)+_0x24d423+_0x950f04,_0x24d423&=_0x24d423;}}function _0x3333b7(_0x1a2a7b){Array[_0x5dd98e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a2a7b)?_0x1a2a7b[_0x5dd98e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3333b7):_0x1a2a7b&&typeof _0x1a2a7b==_0x5dd98e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5dd98e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a2a7b)[_0x5dd98e([0x73,0x6f,0x72,0x74])]()[_0x5dd98e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb43d68,_0x25e0f4])=>{_0x145c20(_0xb43d68),_0x3333b7(_0x25e0f4);}):_0x145c20(window[_0x5dd98e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a2a7b));}return _0x3333b7(_0xb557b8),_0x24d423>>>0x0;}function _0x298c6d(_0x19835d){return _0x19835d[_0x5dd98e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5dd98e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5dd98e([0x30]));}function _0x2bde68(_0x263dcd){return _0x263dcd[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5dd98e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5dd98e([0x6a,0x6f,0x69,0x6e])]('');}function _0x58f40c(){}function _0x5dd98e(_0x15d9b2){return _0x15d9b2['map'](_0x35567a=>String['fromCharCode'](_0x35567a))['join']('');}_0x4eff2d(await _0x3e10de());}(this);}['_validateConfig'](){const _0x19964c=this['editor'];if(!_0x19964c['config']['get']('lineHeight.supportAllValues'))return;const _0x1c52c6=_0x19964c['config']['get']('lineHeight.options')['filter'](_0x5dc8fc=>'string'==typeof _0x5dc8fc&&(!H(_0x5dc8fc)&&isNaN(Number(_0x5dc8fc))));if(_0x1c52c6['length'])throw new _0x3914a1('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1c52c6});}['_prepareAnyValueConverters'](){const _0x3fd36=this['editor'],_0x4c9016=this['editor']['config']['get']('lineHeight.defaultValue');_0x3fd36['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x1b0928=>String(_0x1b0928)===String(_0x4c9016)?null:{'key':'style','value':{'line-height':_0x1b0928}}}),_0x3fd36['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x396e77=>{let _0x2c2f0d=_0x396e77['getStyle']('line-height');return _0x1b32c2(_0x2c2f0d)&&(_0x2c2f0d=String(Number(_0x2c2f0d['slice'](0x0,-0x1))/0x64)),String(_0x2c2f0d)===String(_0x4c9016)?null:_0x2c2f0d;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x178180=this['editor'],_0x55fe96=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4fd74c=function(_0x191f58,_0x1cdf84){const _0xf37326={'model':{'key':_0x191f58,'values':[]},'view':{}};for(const _0x2ca2c3 of _0x1cdf84)'class'===_0x2ca2c3['view']?.['key']?(_0xf37326['model']['values']['push'](_0x2ca2c3['model']),_0xf37326['view'][_0x2ca2c3['model']]={'key':'class','value':_0x2ca2c3['view']['value']}):(_0xf37326['model']['values']['push'](_0x2ca2c3['model']),_0xf37326['view'][_0x2ca2c3['model']]={'key':'style','value':'line-height:'+_0x2ca2c3['model']+';'});return _0xf37326;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x26ee94=>_0x26ee94['model']));_0x178180['conversion']['attributeToAttribute'](_0x4fd74c),_0x178180['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x521773=>{let _0x2c7b84=_0x521773['getStyle']('line-height');return _0x1b32c2(_0x2c7b84)&&(_0x2c7b84=String(Number(_0x2c7b84['slice'](0x0,-0x1))/0x64)),_0x2c7b84===String(_0x55fe96)?null:_0x4fd74c['model']['values']['includes'](_0x2c7b84)?_0x2c7b84:null;}}});}}class LineHeightUI extends _0x1f3179{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1044c3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1044c3),this['_registerMenuBarComponent'](_0x1044c3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a7d93=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f41c9;for(const _0x3ed3d in _0x2a7d93){const _0x1dd383=_0x3ed3d,_0xf63277=_0x2a7d93[_0x1dd383];if('lineHeightLicenseKeyValid'==_0xf63277||'lineHeightLicenseKeyInvalid'==_0xf63277||'lineHeightLicenseKeyExpired'==_0xf63277||'lineHeightLicenseKeyDomainLimit'==_0xf63277||'lineHeightLicenseKeyNotAllowed'==_0xf63277||'lineHeightLicenseKeyEvaluationLimit'==_0xf63277||'lineHeightLicenseKeyUsageLimit'==_0xf63277){delete _0x2a7d93[_0x1dd383],_0x3f41c9=_0xf63277,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5e70c7=this['editor'],t=_0x5e70c7['t'],_0xa1fd89=_0x5e70c7['config']['get']('lineHeight'),_0x458053={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0xa1fd89)['map'](_0x30a5de=>{const _0x551141=_0x458053[_0x30a5de['title']];return _0x551141&&_0x551141!=_0x30a5de['title']&&(_0x30a5de=Object['assign']({},_0x30a5de,{'title':_0x551141})),_0x30a5de;});}['_prepareListOptions'](){const _0x1d17ec=this['editor']['commands']['get']('lineHeight'),_0x12d402=this['editor']['config']['get']('lineHeight.defaultValue'),_0x51b0cd=this['_getLocalizedLineHeightOptions'](),_0x159659=new _0xbc65a1(),_0x2e5b4c=_0x754069=>'default'===_0x754069||String(_0x12d402)===_0x754069;for(const _0x177a62 of _0x51b0cd){const _0xa09f5e={'type':'button','model':new _0x323c4a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x177a62['title'],'withText':!0x0})};_0x2e5b4c(_0x177a62['model'])?(_0xa09f5e['model']['bind']('isOn')['to'](_0x1d17ec,'value',_0x410788=>!_0x410788),_0xa09f5e['model']['commandParam']=void 0x0):(_0xa09f5e['model']['bind']('isOn')['to'](_0x1d17ec,'value',_0x1de530=>_0x1de530===_0x177a62['model']),_0xa09f5e['model']['commandParam']=_0x177a62['model']),_0x159659['add'](_0xa09f5e);}if(this['_shouldRenderCustomValueOption']()){const _0x453e30=this['_getCustomValueOptionDefinition'](_0x51b0cd);_0x159659['add'](_0x453e30);}return _0x159659;}['_getCustomValueOptionDefinition'](_0x397edb){const _0x2a0f7a=this['editor'],t=_0x2a0f7a['t'],_0x14923d=_0x2a0f7a['commands']['get']('lineHeight'),_0x1e7fe7=_0x397edb['map'](_0x67391a=>_0x67391a['model']),_0x480edf={'type':'button','model':new _0x323c4a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x480edf['model']['bind']('commandParam')['to'](_0x14923d,'value'),_0x480edf['model']['bind']('isOn')['to'](_0x14923d,'value',_0x1cb66d=>!!_0x1cb66d&&!_0x1e7fe7['includes'](String(_0x1cb66d))),_0x480edf['model']['bind']('label')['to'](_0x14923d,'value',_0x4e6787=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4e6787))),_0x480edf;}['_registerToolbarComponent']({accessibleLabel:_0x5d6ea6,options:_0x1ca8ce}){const _0x7661c8=this['editor'],_0xb92a14=_0x7661c8['commands']['get']('lineHeight');_0x7661c8['ui']['componentFactory']['add']('lineHeight',_0x188aa9=>{const _0x1680f8=_0x114d93(_0x188aa9);return _0x440c77(_0x1680f8,_0x1ca8ce,{'role':'menu','ariaLabel':_0x5d6ea6}),_0x1680f8['buttonView']['set']({'label':_0x5d6ea6,'tooltip':!0x0,'icon':_0x81c0a9}),_0x1680f8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1680f8['bind']('isEnabled')['to'](_0xb92a14),this['listenTo'](_0x1680f8,'execute',_0x430b3e=>{_0x7661c8['execute'](_0x430b3e['source']['commandName'],{'value':_0x430b3e['source']['commandParam']}),_0x7661c8['editing']['view']['focus']();}),_0x1680f8['once']('change:isOpen',()=>{const _0x18825f=_0x1680f8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1680f8,_0x1ca8ce,_0x18825f);}),_0x1680f8;});}['_registerMenuBarComponent']({accessibleLabel:_0x4daf74,options:_0x49bcd7}){const _0x1325d9=this['editor'],_0x658bed=_0x1325d9['commands']['get']('lineHeight');_0x1325d9['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3ef521=>{const _0x3a3109=new _0x24549a(_0x3ef521);_0x3a3109['buttonView']['set']({'label':_0x4daf74,'icon':_0x81c0a9}),_0x3a3109['bind']('isEnabled')['to'](_0x658bed);const _0x33e0de=new _0x5279aa(_0x3ef521);for(const _0xb9e016 of _0x49bcd7){const _0x536074=new _0x4c7540(_0x3ef521,_0x3a3109),_0x5277ce=new _0x3fe10f(_0x3ef521);_0x5277ce['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5277ce['bind'](...Object['keys'](_0xb9e016['model']))['to'](_0xb9e016['model']),_0x5277ce['delegate']('execute')['to'](_0x3a3109),_0x5277ce['on']('execute',()=>{_0x1325d9['execute'](_0xb9e016['model']['commandName'],{'value':_0xb9e016['model']['commandParam']}),_0x1325d9['editing']['view']['focus']();}),_0x536074['children']['add'](_0x5277ce),_0x33e0de['items']['add'](_0x536074);}return _0x3a3109['panelView']['children']['add'](_0x33e0de),this['_attachCustomOptionVisibilityHandler'](_0x3a3109,_0x49bcd7,_0x33e0de),_0x3a3109;});}['_attachCustomOptionVisibilityHandler'](_0x44a271,_0x25b53a,_0x280205){if(!this['_shouldRenderCustomValueOption']())return;const _0x4d64fa=()=>{if(!_0x44a271['isOpen'])return;_0x280205['items']['last']['isVisible']=Boolean(_0x25b53a['last']['model']['isOn']);};_0x4d64fa(),_0x44a271['on']('change:isOpen',()=>{_0x4d64fa();});}}class LineHeight extends _0x1f3179{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 _0xa45122,Plugin as _0x5c9320}from'@ckeditor/ckeditor5-core';import{CKEditorError as _0xf690c7,Collection as _0x26ca9f,first as _0x559e38,uid as _0x50d9cb}from'@ckeditor/ckeditor5-utils';import{Matcher as _0x31f11f,isPercentageStyleValue as _0x64ae8b}from'@ckeditor/ckeditor5-engine';import{MenuBarMenuListItemButtonView as _0x1c3d12,MenuBarMenuListItemView as _0x17cd92,MenuBarMenuListView as _0x2fd378,MenuBarMenuView as _0x1f9829,UIModel as _0x46d173,addListToDropdown as _0x44c479,createDropdown as _0x3c63b7}from'@ckeditor/ckeditor5-ui';import{IconLineHeight as _0x5291dd}from'@ckeditor/ckeditor5-icons';var p=class extends _0xa45122{['refresh'](){const _0x375c30=this['editor']['model']['document'],_0x1c586e=_0x559e38(_0x375c30['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x1c586e)&&this['_canHaveLineHeight'](_0x1c586e),this['value']=this['isEnabled']&&_0x1c586e['getAttribute']('lineHeight');}execute(_0x5722b0={}){const _0x3b758c=this['editor']['model'],_0x361ea0=_0x3b758c['document']['selection'],_0x30f496=_0x5722b0['value'];_0x3b758c['change'](_0x101257=>{const _0x35ec5a=Array['from'](_0x361ea0['getSelectedBlocks']())['filter'](_0x55932e=>this['_canHaveLineHeight'](_0x55932e));for(const _0x28bf29 of _0x35ec5a)_0x30f496?_0x101257['setAttribute']('lineHeight',_0x30f496,_0x28bf29):_0x101257['removeAttribute']('lineHeight',_0x28bf29);});}_canHaveLineHeight(_0x1306cc){return this['editor']['model']['schema']['checkAttribute'](_0x1306cc,'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(_0x4c08e1){return'string'==typeof _0x4c08e1&&'default'===_0x4c08e1['toLowerCase']();}function L(_0x55ff98){return _0x55ff98['options']['map'](_0x3cc5c5=>{return H(_0x3cc5c5)?{'title':String(_0x55ff98['defaultValue']),'model':'default'}:('number'==typeof _0x3cc5c5&&(_0x3cc5c5=String(_0x3cc5c5)),'string'!=typeof _0x3cc5c5?_0x3cc5c5:parseFloat(_0x3cc5c5)?{'title':_0x3cc5c5,'model':_0x3cc5c5,'view':{'name':'span','styles':{'line-height':_0x3cc5c5}}}:'string'==typeof(_0xead7bf=_0x3cc5c5)?y[_0xead7bf]:y[_0xead7bf['model']]);var _0xead7bf;})['filter'](_0x261c9e=>void 0x0!==_0x261c9e);}var v=class extends _0x5c9320{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {plugins:_0x4c0d2f,conversion:_0x15bc5e}=this['editor'];_0x4c0d2f['has']('ListEditing')&&_0x4c0d2f['has']('TodoListEditing')&&(_0x4c0d2f['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x5a786d,_0x5d4f79,_0x3f57c4,_0x1e0d21,_0x1e1e82){'todo'==_0x1e1e82['getAttribute']('listType')&&_0x5d4f79&&(_0x5a786d['addClass']('ck-list-marker-line-height',_0x3f57c4),_0x5a786d['setStyle']('--ck-content-list-marker-line-height',_0x5d4f79,_0x3f57c4));}}),_0x15bc5e['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x15bc5e['for']('upcast')['add'](_0x3be890=>{_0x3be890['on']('element:li',function(_0x5d259c){const _0x47df84=new _0x31f11f(_0x5d259c);return(_0x17de8b,_0x574c68,_0x167ab6)=>{const _0x1a04c7=_0x47df84['match'](_0x574c68['viewItem']);if(!_0x1a04c7)return;const _0x921224=_0x1a04c7['match'];_0x921224['name']=!0x1,_0x167ab6['consumable']['consume'](_0x574c68['viewItem'],_0x921224);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));}));}},b=class extends _0x5c9320{static get['pluginName'](){return'LineHeightEditing';}static get requires(){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1a3eef){super(_0x1a3eef),_0x1a3eef['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}init(){const _0x187888=this['editor'];this['_validateConfig'](),_0x187888['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x187888['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x187888['commands']['add']('lineHeight',new p(_0x187888)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}afterInit(){!async function(_0x506357){const _0x3a4292='cvqCYM8ia9TDP6n5dmrzbJtlj03FwLxIpEWSUG7ARu21KfQoXNyg4ZBeOhskHV',_0x58fca9=0x79710,_0x207504={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x376d60(_0x359116){const _0x19d654=new window['Promise'](_0x4cc837=>{_0x359116['once']('ready',_0x4cc837);}),_0x43a130=window['Date']['now'](),_0x274419=_0x359116['config']['get']('licenseKey');async function _0x303c10(){let _0x4e46c3,_0x2579c5=null,_0x1faf46=null;try{return'GPL'==_0x274419?'NotAllowed':(_0x4e46c3=_0x1ad051(),_0x4e46c3?(_0x4e46c3['usageEndpoint']&&(_0x1faf46=_0x502d5d(_0x4e46c3['usageEndpoint'],_0x4e46c3['jti'])),await _0x457af2()?_0x4ec8d7()?_0x17f448()?'Expired':_0x54a3c7()?('evaluation'==_0x4e46c3['licenseType']&&(_0x2579c5=_0x3967b2('EvaluationLimit')),await _0x388621()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x17f448(){const _0x2b8fe4=['evaluation','trial']['includes'](_0x4e46c3['licenseType'])?_0x43a130/0x3e8:0xe10*_0x58fca9;return _0x4e46c3['exp']<_0x2b8fe4;}function _0x4ec8d7(){const _0x49734c=_0x4e46c3['features'];return!!_0x49734c&&(!!_0x49734c['includes']('*')||!!_0x49734c['includes']('LH'));}function _0x54a3c7(){const _0x28c304=_0x4e46c3['licensedHosts'];if(!_0x28c304||0x0==_0x28c304['length'])return!0x0;const {hostname:_0x43b1e4}=new URL(window['location']['href']);if(_0x28c304['includes'](_0x43b1e4))return!0x0;const _0x50e0d4=_0x43b1e4['split']('.');return _0x28c304['filter'](_0x2e597e=>_0x2e597e['includes']('*'))['map'](_0x208bb0=>_0x208bb0['split']('.'))['filter'](_0xc049eb=>_0xc049eb['length']<=_0x50e0d4['length'])['map'](_0x50096b=>Array(_0x50e0d4['length']-_0x50096b['length'])['fill']('*'===_0x50096b[0x0]?'*':'')['concat'](_0x50096b))['some'](_0x5323e8=>_0x50e0d4['every']((_0xa4963d,_0x5086a7)=>_0x5323e8[_0x5086a7]===_0xa4963d||'*'===_0x5323e8[_0x5086a7]));}function _0x388621(){return _0x2579c5&&_0x1faf46?new window['Promise']((_0x4711f5,_0x5c768f)=>{_0x2579c5['then'](_0x4711f5,_0x5c768f),_0x1faf46['then'](_0x543e00=>{'Valid'!=_0x543e00&&_0x4711f5(_0x543e00);},_0x5c768f);}):_0x2579c5||_0x1faf46||'Valid';}}function _0x502d5d(_0x31d7ac,_0x4e570a){return new window['Promise'](_0x1385be=>{if(_0x55c60a())return _0x1385be('Valid');_0x465e2d(),_0x359116['decorate']('_sendUsageRequest');let _0x4a6ce1=!0x1;const _0x12dd09=_0x50d9cb();function _0x4e9714(_0x3086bb){return!!_0x3086bb&&('object'==typeof _0x3086bb||'function'==typeof _0x3086bb)&&'function'==typeof _0x3086bb['then']&&'function'==typeof _0x3086bb['catch'];}function _0x8759d7(_0x3d0a10){_0x38d228(_0x3d0a10)['then'](_0x1f63e0=>_0x1f63e0&&'ok'==_0x1f63e0['status']?_0x48f728(_0x11f113(_0x12dd09+_0x4e570a))!=_0x1f63e0['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4745a3=>(_0x43544c(),_0x4745a3),()=>{const _0x5e9a9e=_0x3ea4f9();return null==_0x5e9a9e?(_0x43544c(),'Valid'):_0x43a130-_0x5e9a9e>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1385be)['catch'](()=>{_0x1385be('UsageLimit');});const _0x5eaa75=0x36ee80;function _0x43544c(){const _0x598967='llct-'+_0x48f728(_0x11f113(_0x31d7ac)),_0x28aff5=_0x5cc09a(_0x48f728(window['Math']['ceil'](_0x43a130/_0x5eaa75)));window['localStorage']['setItem'](_0x598967,_0x28aff5);}function _0x3ea4f9(){const _0xe61d28='llct-'+_0x48f728(_0x11f113(_0x31d7ac)),_0x3f2270=window['localStorage']['getItem'](_0xe61d28);return _0x3f2270?window['parseInt'](_0x5cc09a(_0x3f2270),0x10)*_0x5eaa75:null;}function _0x38d228(_0xa64ff5){return new window['Promise']((_0xe1d28,_0x2a1933)=>{_0xa64ff5['then'](_0xe1d28,_0x2a1933),window['setTimeout'](_0x2a1933,0x1d4c0);});}}_0x359116['on']('_sendUsageRequest',(_0x4e0aed,_0x4b9338)=>{if(_0x4b9338[0x0]!=_0x31d7ac)return _0x1385be('UsageLimit');_0x4b9338[0x1]={..._0x4b9338[0x1],'requestId':_0x12dd09};},{'priority':'high'}),_0x359116['on']('_sendUsageRequest',_0x4bfff8=>{_0x4e9714(_0x4bfff8['return'])&&(_0x4a6ce1=!0x0,_0x8759d7(_0x4bfff8['return']));},{'priority':'low'}),_0x19d654['then'](()=>{_0x4a6ce1||_0x1385be('UsageLimit');});});function _0x55c60a(){return'auto'==_0x359116['editing']['view']['_overlayModeHint'];}function _0x465e2d(){_0x359116['editing']['view']['_overlayModeHint']='auto';}}function _0x3967b2(_0x497f6d){const _0x20769d=[new window['Promise'](_0x22c52f=>setTimeout(_0x22c52f,0x93ecc)),_0x19d654['then'](()=>new window['Promise'](_0x585752=>{let _0x1b2f9e=0x0;_0x359116['model']['on']('applyOperation',(_0x67b2d1,_0xb603be)=>{_0xb603be[0x0]['isDocumentOperation']&&_0x1b2f9e++,0x5e8==_0x1b2f9e&&(_0x585752(),_0x67b2d1['off']());});}))];return window['Promise']['race'](_0x20769d)['then'](()=>_0x497f6d);}async function _0xf5df4e(){await _0x19d654,_0x359116['model']['change']=_0x1005b8,_0x359116['model']['enqueueChange']=_0x1005b8,_0x359116['enableReadOnlyMode']('model');}function _0x238eaa(_0x488f47){const _0x4c1191=_0x4cb942();_0x359116[_0x4c1191]='lineHeightLicenseKey'+_0x488f47,'Valid'!=_0x488f47&&_0xf5df4e();}function _0x4cb942(){const _0x263685=window['String'](window['performance']['now']())['replace']('.','');let _0xbefa35='c';for(let _0x2cec52=0x0;_0x2cec52<_0x263685['length'];_0x2cec52+=0x2){let _0x1813ab=window['parseInt'](_0x263685['substring'](_0x2cec52,_0x2cec52+0x2));_0x1813ab>=0x3e&&(_0x1813ab-=0x3e),_0xbefa35+=_0x3a4292[_0x1813ab];}return _0xbefa35;}function _0x1ad051(){const _0x5cd4da=_0x274419['split']('.');if(0x3!=_0x5cd4da['length'])return null;return _0x2f1bd3(_0x5cd4da[0x1]);function _0x2f1bd3(_0x34a332){const _0x147f38=_0xb76e7d(_0x34a332);return _0x147f38&&_0x5c9f17()?_0x147f38:null;function _0x5c9f17(){const _0x2d3770=_0x147f38['jti'],_0x2d4759=window['parseInt'](_0x2d3770['substring'](_0x2d3770['length']-0x8),0x10),_0xed7d46={..._0x147f38,'jti':_0x2d3770['substring'](0x0,_0x2d3770['length']-0x8)};return delete _0xed7d46['vc'],_0x11f113(_0xed7d46)==_0x2d4759;}}}async function _0x457af2(){let _0x13e2d3=!0x0;try{const [_0x4c2f56,_0x226ab2,_0x3f1813]=_0x274419['split']('.');return _0x1e0893(_0x4c2f56),await _0x561cfc(_0x4c2f56,_0x226ab2,_0x3f1813),_0x13e2d3;}catch{return!0x1;}function _0x1e0893(_0x375771){const _0x217931=_0xb76e7d(_0x375771);_0x217931&&'ES256'==_0x217931['alg']||(_0x13e2d3=!0x1);}async function _0x561cfc(_0x433133,_0x1d9cf2,_0x129c7e){const _0x1c077c=window['Uint8Array']['from'](_0x1e42f8(_0x129c7e),_0x3605c4=>_0x3605c4['charCodeAt'](0x0)),_0x58aecb=new window['TextEncoder']()['encode'](_0x433133+'.'+_0x1d9cf2),_0x25c73e=window['crypto']['subtle'];if(!_0x25c73e)return;const _0x8dc089=await _0x25c73e['importKey']('jwk',_0x207504,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x25c73e['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x8dc089,_0x1c077c,_0x58aecb)||(_0x13e2d3=!0x1);}}function _0xb76e7d(_0x5d5121){return _0x5d5121['startsWith']('ey')?JSON['parse'](_0x1e42f8(_0x5d5121)):null;}function _0x1e42f8(_0xa03816){return window['atob'](_0xa03816['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x11f113(_0x3897d0){let _0x2a6416=0x1505;function _0x3d578c(_0xcea0){for(let _0x35c3d5=0x0;_0x35c3d5<_0xcea0['length'];_0x35c3d5++){const _0x45d52b=_0xcea0['charCodeAt'](_0x35c3d5);_0x2a6416=(_0x2a6416<<0x5)+_0x2a6416+_0x45d52b,_0x2a6416&=_0x2a6416;}}function _0x4c8d65(_0x38a21c){Array['isArray'](_0x38a21c)?_0x38a21c['forEach'](_0x4c8d65):_0x38a21c&&'object'==typeof _0x38a21c?Object['entries'](_0x38a21c)['sort']()['forEach'](([_0x213cb0,_0x116351])=>{_0x3d578c(_0x213cb0),_0x4c8d65(_0x116351);}):_0x3d578c(window['String'](_0x38a21c));}return _0x4c8d65(_0x3897d0),_0x2a6416>>>0x0;}function _0x48f728(_0x2f3930){return _0x2f3930['toString'](0x10)['padStart'](0x8,'0');}function _0x5cc09a(_0x2c29a7){return _0x2c29a7['split']('')['reverse']()['join']('');}function _0x1005b8(){}_0x238eaa(await _0x303c10());}_0x376d60(_0x506357['editor']);}(this);}_validateConfig(){const _0x158f7a=this['editor'];if(!_0x158f7a['config']['get']('lineHeight.supportAllValues'))return;const _0x1f5e19=_0x158f7a['config']['get']('lineHeight.options')['filter'](_0x286d2d=>'string'==typeof _0x286d2d&&(!H(_0x286d2d)&&isNaN(Number(_0x286d2d))));if(_0x1f5e19['length'])throw new _0xf690c7('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1f5e19});}_prepareAnyValueConverters(){const _0x737cd0=this['editor'],_0x18a2c8=this['editor']['config']['get']('lineHeight.defaultValue');_0x737cd0['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x41acd3=>String(_0x41acd3)===String(_0x18a2c8)?null:{'key':'style','value':{'line-height':_0x41acd3}}}),_0x737cd0['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1fa6fd=>{let _0x54b27d=_0x1fa6fd['getStyle']('line-height');return _0x64ae8b(_0x54b27d)&&(_0x54b27d=String(Number(_0x54b27d['slice'](0x0,-0x1))/0x64)),String(_0x54b27d)===String(_0x18a2c8)?null:_0x54b27d;}},'view':{'styles':{'line-height':/.*/}}});}_preparePredefinedConverters(){const _0x2cc540=this['editor'],_0x4818af=this['editor']['config']['get']('lineHeight.defaultValue'),_0x561d53=function(_0x510914,_0x245d32){const _0x3b05dc={'model':{'key':_0x510914,'values':[]},'view':{}};for(const _0x4695e6 of _0x245d32)'class'===_0x4695e6['view']?.['key']?(_0x3b05dc['model']['values']['push'](_0x4695e6['model']),_0x3b05dc['view'][_0x4695e6['model']]={'key':'class','value':_0x4695e6['view']['value']}):(_0x3b05dc['model']['values']['push'](_0x4695e6['model']),_0x3b05dc['view'][_0x4695e6['model']]={'key':'style','value':'line-height:'+_0x4695e6['model']+';'});return _0x3b05dc;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x40925a=>_0x40925a['model']));_0x2cc540['conversion']['attributeToAttribute'](_0x561d53),_0x2cc540['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x14d806=>{let _0xf5c193=_0x14d806['getStyle']('line-height');return _0x64ae8b(_0xf5c193)&&(_0xf5c193=String(Number(_0xf5c193['slice'](0x0,-0x1))/0x64)),_0xf5c193===String(_0x4818af)?null:_0x561d53['model']['values']['includes'](_0xf5c193)?_0xf5c193:null;}}});}},k=class extends _0x5c9320{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x489190={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x489190),this['_registerMenuBarComponent'](_0x489190),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x19f02f=[this['editor']];for(const _0x1d1f3d of _0x19f02f){let _0x2e0e1f;for(const _0x6ac187 in _0x1d1f3d){const _0x1ca94a=_0x6ac187,_0x116361=_0x1d1f3d[_0x1ca94a];if('lineHeightLicenseKeyValid'==_0x116361||'lineHeightLicenseKeyInvalid'==_0x116361||'lineHeightLicenseKeyExpired'==_0x116361||'lineHeightLicenseKeyDomainLimit'==_0x116361||'lineHeightLicenseKeyNotAllowed'==_0x116361||'lineHeightLicenseKeyEvaluationLimit'==_0x116361||'lineHeightLicenseKeyUsageLimit'==_0x116361){delete _0x1d1f3d[_0x1ca94a],_0x2e0e1f=_0x116361,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2e0e1f&&_0x1d1f3d['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2e0e1f&&_0x1d1f3d['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2e0e1f&&_0x1d1f3d['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2e0e1f&&_0x1d1f3d['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2e0e1f&&_0x1d1f3d['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2e0e1f&&_0x1d1f3d['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_shouldRenderCustomValueOption(){return this['editor']['config']['get']('lineHeight.supportAllValues');}_getLocalizedLineHeightOptions(){const _0xdf1be0=this['editor'],t=_0xdf1be0['t'],_0x2d2107=_0xdf1be0['config']['get']('lineHeight'),_0x2582cb={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x2d2107)['map'](_0x2a6872=>{const _0x4aa61c=_0x2582cb[_0x2a6872['title']];return _0x4aa61c&&_0x4aa61c!=_0x2a6872['title']&&(_0x2a6872=Object['assign']({},_0x2a6872,{'title':_0x4aa61c})),_0x2a6872;});}_prepareListOptions(){const _0x1680b3=this['editor']['commands']['get']('lineHeight'),_0x454296=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3ab013=this['_getLocalizedLineHeightOptions'](),_0x2bac9b=new _0x26ca9f(),_0x5b3063=_0x5a87bb=>'default'===_0x5a87bb||String(_0x454296)===_0x5a87bb;for(const _0xb38928 of _0x3ab013){const _0x36a2ee={'type':'button','model':new _0x46d173({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xb38928['title'],'withText':!0x0})};_0x5b3063(_0xb38928['model'])?(_0x36a2ee['model']['bind']('isOn')['to'](_0x1680b3,'value',_0x1080bf=>!_0x1080bf),_0x36a2ee['model']['commandParam']=void 0x0):(_0x36a2ee['model']['bind']('isOn')['to'](_0x1680b3,'value',_0x4b8fdf=>_0x4b8fdf===_0xb38928['model']),_0x36a2ee['model']['commandParam']=_0xb38928['model']),_0x2bac9b['add'](_0x36a2ee);}if(this['_shouldRenderCustomValueOption']()){const _0x217d40=this['_getCustomValueOptionDefinition'](_0x3ab013);_0x2bac9b['add'](_0x217d40);}return _0x2bac9b;}_getCustomValueOptionDefinition(_0x311a83){const _0x552de6=this['editor'],t=_0x552de6['t'],_0x396afe=_0x552de6['commands']['get']('lineHeight'),_0x5ab720=_0x311a83['map'](_0x30e431=>_0x30e431['model']),_0x17977a={'type':'button','model':new _0x46d173({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x17977a['model']['bind']('commandParam')['to'](_0x396afe,'value'),_0x17977a['model']['bind']('isOn')['to'](_0x396afe,'value',_0x311d5c=>!!_0x311d5c&&!_0x5ab720['includes'](String(_0x311d5c))),_0x17977a['model']['bind']('label')['to'](_0x396afe,'value',_0x383ce5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x383ce5))),_0x17977a;}_registerToolbarComponent({accessibleLabel:_0x18e738,options:_0x523398}){const _0x4af155=this['editor'],_0x24430c=_0x4af155['commands']['get']('lineHeight');_0x4af155['ui']['componentFactory']['add']('lineHeight',_0x572f73=>{const _0x549933=_0x3c63b7(_0x572f73);return _0x44c479(_0x549933,_0x523398,{'role':'menu','ariaLabel':_0x18e738}),_0x549933['buttonView']['set']({'label':_0x18e738,'tooltip':!0x0,'icon':_0x5291dd}),_0x549933['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x549933['bind']('isEnabled')['to'](_0x24430c),this['listenTo'](_0x549933,'execute',_0x1c12a=>{_0x4af155['execute'](_0x1c12a['source']['commandName'],{'value':_0x1c12a['source']['commandParam']}),_0x4af155['editing']['view']['focus']();}),_0x549933['once']('change:isOpen',()=>{const _0x1e2e70=_0x549933['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x549933,_0x523398,_0x1e2e70);}),_0x549933;});}_registerMenuBarComponent({accessibleLabel:_0x52aec1,options:_0x535c69}){const _0x17a1d2=this['editor'],_0x21d0ba=_0x17a1d2['commands']['get']('lineHeight');_0x17a1d2['ui']['componentFactory']['add']('menuBar:lineHeight',_0x40a76a=>{const _0x36a5bb=new _0x1f9829(_0x40a76a);_0x36a5bb['buttonView']['set']({'label':_0x52aec1,'icon':_0x5291dd}),_0x36a5bb['bind']('isEnabled')['to'](_0x21d0ba);const _0x75be43=new _0x2fd378(_0x40a76a);for(const _0x24a41b of _0x535c69){const _0x51ece6=new _0x17cd92(_0x40a76a,_0x36a5bb),_0x605578=new _0x1c3d12(_0x40a76a);_0x605578['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x605578['bind'](...Object['keys'](_0x24a41b['model']))['to'](_0x24a41b['model']),_0x605578['delegate']('execute')['to'](_0x36a5bb),_0x605578['on']('execute',()=>{_0x17a1d2['execute'](_0x24a41b['model']['commandName'],{'value':_0x24a41b['model']['commandParam']}),_0x17a1d2['editing']['view']['focus']();}),_0x51ece6['children']['add'](_0x605578),_0x75be43['items']['add'](_0x51ece6);}return _0x36a5bb['panelView']['children']['add'](_0x75be43),this['_attachCustomOptionVisibilityHandler'](_0x36a5bb,_0x535c69,_0x75be43),_0x36a5bb;});}_attachCustomOptionVisibilityHandler(_0x227580,_0x1655d2,_0x10a312){if(!this['_shouldRenderCustomValueOption']())return;const _0x5947ff=()=>{if(!_0x227580['isOpen'])return;_0x10a312['items']['last']['isVisible']=Boolean(_0x1655d2['last']['model']['isOn']);};_0x5947ff(),_0x227580['on']('change:isOpen',()=>{_0x5947ff();});}},_=class extends _0x5c9320{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,30 @@
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";
11
10
  /**
12
- * The to-do list line height support plugin.
13
- */
11
+ * The to-do list line height support plugin.
12
+ */
14
13
  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;
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static get pluginName(): "LineHeightTodoListIntegration";
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static override get isOfficialPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static override get isPremiumPlugin(): true;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
31
30
  }
@@ -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
  }