@ckeditor/ckeditor5-track-changes 43.0.0-alpha.5 → 43.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/build/track-changes.js +1 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +3 -3
  4. package/dist/trackchangesconfig.d.ts +7 -0
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de.js +1 -1
  20. package/dist/translations/de.umd.js +1 -1
  21. package/dist/translations/el.js +1 -1
  22. package/dist/translations/el.umd.js +1 -1
  23. package/dist/translations/en-au.js +1 -1
  24. package/dist/translations/en-au.umd.js +1 -1
  25. package/dist/translations/en.umd.js +1 -1
  26. package/dist/translations/es.js +1 -1
  27. package/dist/translations/es.umd.js +1 -1
  28. package/dist/translations/et.js +1 -1
  29. package/dist/translations/et.umd.js +1 -1
  30. package/dist/translations/fi.js +1 -1
  31. package/dist/translations/fi.umd.js +1 -1
  32. package/dist/translations/fr.js +1 -1
  33. package/dist/translations/fr.umd.js +1 -1
  34. package/dist/translations/gl.js +1 -1
  35. package/dist/translations/gl.umd.js +1 -1
  36. package/dist/translations/he.js +1 -1
  37. package/dist/translations/he.umd.js +1 -1
  38. package/dist/translations/hi.js +1 -1
  39. package/dist/translations/hi.umd.js +1 -1
  40. package/dist/translations/hr.js +1 -1
  41. package/dist/translations/hr.umd.js +1 -1
  42. package/dist/translations/hu.js +1 -1
  43. package/dist/translations/hu.umd.js +1 -1
  44. package/dist/translations/id.js +1 -1
  45. package/dist/translations/id.umd.js +1 -1
  46. package/dist/translations/it.js +1 -1
  47. package/dist/translations/it.umd.js +1 -1
  48. package/dist/translations/ja.js +1 -1
  49. package/dist/translations/ja.umd.js +1 -1
  50. package/dist/translations/ko.js +1 -1
  51. package/dist/translations/ko.umd.js +1 -1
  52. package/dist/translations/lt.js +1 -1
  53. package/dist/translations/lt.umd.js +1 -1
  54. package/dist/translations/lv.js +1 -1
  55. package/dist/translations/lv.umd.js +1 -1
  56. package/dist/translations/ms.js +1 -1
  57. package/dist/translations/ms.umd.js +1 -1
  58. package/dist/translations/nl.js +1 -1
  59. package/dist/translations/nl.umd.js +1 -1
  60. package/dist/translations/no.js +1 -1
  61. package/dist/translations/no.umd.js +1 -1
  62. package/dist/translations/pl.js +1 -1
  63. package/dist/translations/pl.umd.js +1 -1
  64. package/dist/translations/pt-br.js +1 -1
  65. package/dist/translations/pt-br.umd.js +1 -1
  66. package/dist/translations/pt.js +1 -1
  67. package/dist/translations/pt.umd.js +1 -1
  68. package/dist/translations/ro.js +1 -1
  69. package/dist/translations/ro.umd.js +1 -1
  70. package/dist/translations/ru.js +1 -1
  71. package/dist/translations/ru.umd.js +1 -1
  72. package/dist/translations/sk.js +1 -1
  73. package/dist/translations/sk.umd.js +1 -1
  74. package/dist/translations/sq.js +1 -1
  75. package/dist/translations/sq.umd.js +1 -1
  76. package/dist/translations/sr-latn.js +1 -1
  77. package/dist/translations/sr-latn.umd.js +1 -1
  78. package/dist/translations/sr.js +1 -1
  79. package/dist/translations/sr.umd.js +1 -1
  80. package/dist/translations/sv.js +1 -1
  81. package/dist/translations/sv.umd.js +1 -1
  82. package/dist/translations/th.js +1 -1
  83. package/dist/translations/th.umd.js +1 -1
  84. package/dist/translations/tk.js +1 -1
  85. package/dist/translations/tk.umd.js +1 -1
  86. package/dist/translations/tr.js +1 -1
  87. package/dist/translations/tr.umd.js +1 -1
  88. package/dist/translations/tt.js +1 -1
  89. package/dist/translations/tt.umd.js +1 -1
  90. package/dist/translations/uk.js +1 -1
  91. package/dist/translations/uk.umd.js +1 -1
  92. package/dist/translations/ur.js +1 -1
  93. package/dist/translations/ur.umd.js +1 -1
  94. package/dist/translations/vi.js +1 -1
  95. package/dist/translations/vi.umd.js +1 -1
  96. package/dist/translations/zh-cn.js +1 -1
  97. package/dist/translations/zh-cn.umd.js +1 -1
  98. package/dist/translations/zh.js +1 -1
  99. package/dist/translations/zh.umd.js +1 -1
  100. package/dist/ui/suggestioncontroller.d.ts +1 -1
  101. package/dist/ui/view/basesuggestionthreadview.d.ts +8 -2
  102. package/dist/ui/view/suggestionthreadview.d.ts +42 -137
  103. package/dist/ui/view/suggestionview.d.ts +194 -0
  104. package/package.json +10 -10
  105. package/src/commands/acceptsuggestioncommand.js +1 -1
  106. package/src/commands/discardsuggestioncommand.js +1 -1
  107. package/src/commands/executeonallsuggestionscommand.js +1 -1
  108. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  109. package/src/commands/trackchangescommand.js +1 -1
  110. package/src/index.d.ts +1 -0
  111. package/src/index.js +1 -1
  112. package/src/integrations/aiassistant.js +1 -1
  113. package/src/integrations/alignment.js +1 -1
  114. package/src/integrations/basicstyles.js +1 -1
  115. package/src/integrations/blockquote.js +1 -1
  116. package/src/integrations/casechange.js +1 -1
  117. package/src/integrations/ckbox.js +1 -1
  118. package/src/integrations/codeblock.js +1 -1
  119. package/src/integrations/comments.js +1 -1
  120. package/src/integrations/deletecommand.js +1 -1
  121. package/src/integrations/entercommand.js +1 -1
  122. package/src/integrations/findandreplace.js +1 -1
  123. package/src/integrations/font.js +1 -1
  124. package/src/integrations/formatpainter.js +1 -1
  125. package/src/integrations/heading.js +1 -1
  126. package/src/integrations/highlight.js +1 -1
  127. package/src/integrations/horizontalline.js +1 -1
  128. package/src/integrations/htmlembed.js +1 -1
  129. package/src/integrations/image.js +1 -1
  130. package/src/integrations/imagereplace.js +1 -1
  131. package/src/integrations/imagestyle.js +1 -1
  132. package/src/integrations/importword.js +1 -1
  133. package/src/integrations/indent.js +1 -1
  134. package/src/integrations/inputcommand.js +1 -1
  135. package/src/integrations/legacylist.js +1 -1
  136. package/src/integrations/legacylistproperties.js +1 -1
  137. package/src/integrations/link.js +1 -1
  138. package/src/integrations/list.js +1 -1
  139. package/src/integrations/listproperties.js +1 -1
  140. package/src/integrations/mediaembed.js +1 -1
  141. package/src/integrations/mention.js +1 -1
  142. package/src/integrations/mergefields.js +1 -1
  143. package/src/integrations/multilevellist.js +1 -1
  144. package/src/integrations/pagebreak.js +1 -1
  145. package/src/integrations/paragraph.js +1 -1
  146. package/src/integrations/removeformat.js +1 -1
  147. package/src/integrations/restrictededitingmode.js +1 -1
  148. package/src/integrations/shiftentercommand.js +1 -1
  149. package/src/integrations/standardeditingmode.js +1 -1
  150. package/src/integrations/style.js +1 -1
  151. package/src/integrations/table.js +1 -1
  152. package/src/integrations/tablecaption.js +1 -1
  153. package/src/integrations/tableclipboard.js +1 -1
  154. package/src/integrations/tablecolumnresize.js +1 -1
  155. package/src/integrations/tableheadings.js +1 -1
  156. package/src/integrations/tablemergesplit.js +1 -1
  157. package/src/integrations/tableofcontents.js +1 -1
  158. package/src/integrations/tableproperties.js +1 -1
  159. package/src/integrations/template.js +1 -1
  160. package/src/integrations/title.js +1 -1
  161. package/src/integrations/undo.js +1 -1
  162. package/src/integrations/utils.js +1 -1
  163. package/src/suggestion.js +2 -2
  164. package/src/suggestiondescriptionfactory.js +1 -1
  165. package/src/trackchanges.js +1 -1
  166. package/src/trackchangesconfig.d.ts +7 -0
  167. package/src/trackchangesdata.js +1 -1
  168. package/src/trackchangesediting.js +1 -1
  169. package/src/trackchangesui.js +1 -1
  170. package/src/ui/suggestioncontroller.d.ts +1 -1
  171. package/src/ui/suggestioncontroller.js +2 -2
  172. package/src/ui/view/basesuggestionthreadview.d.ts +8 -2
  173. package/src/ui/view/basesuggestionthreadview.js +1 -1
  174. package/src/ui/view/suggestionthreadview.d.ts +42 -137
  175. package/src/ui/view/suggestionthreadview.js +1 -1
  176. package/src/ui/view/suggestionview.d.ts +190 -0
  177. package/src/ui/view/suggestionview.js +23 -0
  178. package/src/utils/common-translations.js +1 -1
  179. package/src/utils/utils.js +1 -1
@@ -0,0 +1,190 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/ui/view/suggestionview
7
+ * @publicApi
8
+ */
9
+ import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
10
+ import { View, type TemplateDefinition, type FocusableView, ViewCollection, FocusCycler } from 'ckeditor5/src/ui.js';
11
+ import { LateFocusButtonView, UserView } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
+ import type Suggestion from '../../suggestion.js';
13
+ /**
14
+ * A view displaying a detailed information about the suggestion as well as controls to accept or discard it.
15
+ *
16
+ * This view can be replaced by other view by overwriting the
17
+ * {@link module:track-changes/trackchangesconfig~TrackChangesConfig#SuggestionView} configuration.
18
+ */
19
+ export default class SuggestionView extends View implements FocusableView {
20
+ /**
21
+ * A suggestion description explaining what has been changed. To be presented to the user.
22
+ *
23
+ * @observable
24
+ */
25
+ description: string;
26
+ /**
27
+ * A user view for the suggestion author.
28
+ */
29
+ userView: UserView;
30
+ /**
31
+ * A button view for the button that accepts the suggestion.
32
+ */
33
+ acceptButton: LateFocusButtonView;
34
+ /**
35
+ * A button view for the button that discards the suggestion.
36
+ */
37
+ discardButton: LateFocusButtonView;
38
+ /**
39
+ * A collection of focusable child views.
40
+ */
41
+ readonly focusables: ViewCollection<FocusableView>;
42
+ /**
43
+ * Tracks information about DOM focus in the suggestion.
44
+ */
45
+ readonly focusTracker: FocusTracker;
46
+ /**
47
+ * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
48
+ */
49
+ readonly keystrokes: KeystrokeHandler;
50
+ /**
51
+ * Helps cycling over focusable views in the suggestion.
52
+ */
53
+ readonly focusCycler: FocusCycler;
54
+ /**
55
+ * Suggestion creation date.
56
+ *
57
+ * @observable
58
+ */
59
+ authoredAt: Date | null;
60
+ constructor(locale: Locale, model: Suggestion, config: SuggestionConfig);
61
+ /**
62
+ * @inheritDoc
63
+ */
64
+ render(): void;
65
+ /**
66
+ * Returns a template definition that will be passed to {@link module:ui/view~View#setTemplate}.
67
+ *
68
+ * Overwrite this method if you want to set a custom template for the suggestion view.
69
+ *
70
+ * The template looks as follows:
71
+ *
72
+ * ```ts
73
+ * const bind = this.bindTemplate;
74
+ * const suggestionContentElements = [
75
+ * {
76
+ * tag: 'div',
77
+ *
78
+ * attributes: {
79
+ * class: [ 'ck-suggestion__info', 'ck-annotation__info' ]
80
+ * },
81
+ *
82
+ * children: [
83
+ * {
84
+ * tag: 'span',
85
+ *
86
+ * children: [
87
+ * {
88
+ * text: this.userView.name
89
+ * }
90
+ * ],
91
+ *
92
+ * attributes: {
93
+ * class: [ 'ck-suggestion__info-name', 'ck-annotation__info-name' ]
94
+ * }
95
+ * },
96
+ * {
97
+ * tag: 'time',
98
+ *
99
+ * attributes: {
100
+ * datetime: bind.to( 'authoredAt' ),
101
+ * class: [ 'ck-comment__info-time', 'ck-annotation__info-time' ]
102
+ * },
103
+ *
104
+ * children: [
105
+ * {
106
+ * text: bind.to( 'authoredAt', value => this._config.formatDateTime( value ) )
107
+ * }
108
+ * ]
109
+ * }
110
+ * ]
111
+ * },
112
+ * {
113
+ * tag: 'div',
114
+ *
115
+ * attributes: {
116
+ * class: [ 'ck-suggestion__actions', 'ck-annotation__actions' ]
117
+ * },
118
+ *
119
+ * children: [
120
+ * this.acceptButton,
121
+ * this.discardButton
122
+ * ]
123
+ * },
124
+ * {
125
+ * tag: 'div',
126
+ *
127
+ * attributes: {
128
+ * class: [ 'ck-annotation__content-wrapper' ]
129
+ * }
130
+ * }
131
+ * ];
132
+ *
133
+ * if ( this._model.isExternal ) {
134
+ * suggestionContentElements.push( {
135
+ * tag: 'div',
136
+ *
137
+ * attributes: {
138
+ * class: [ 'ck-comment__external' ]
139
+ * },
140
+ *
141
+ * children: [ {
142
+ * text: this.getExternalSuggestionNote()
143
+ * } ]
144
+ * } );
145
+ * }
146
+ *
147
+ * return {
148
+ * tag: 'div',
149
+ *
150
+ * attributes: {
151
+ * class: [
152
+ * 'ck-suggestion',
153
+ * 'ck-annotation'
154
+ * ],
155
+ * tabindex: -1
156
+ * },
157
+ *
158
+ * children: [
159
+ * this.userView,
160
+ * {
161
+ * tag: 'div',
162
+ *
163
+ * attributes: {
164
+ * class: [ 'ck-suggestion__main', 'ck-annotation__main' ],
165
+ * role: 'presentation'
166
+ * },
167
+ *
168
+ * children: suggestionContentElements
169
+ * }
170
+ * ]
171
+ * };
172
+ * ```
173
+ */
174
+ getTemplate(): TemplateDefinition;
175
+ /**
176
+ * @inheritDoc
177
+ */
178
+ focus(): void;
179
+ /**
180
+ * Gets the translated notification text which indicates that the author name comes from an external source.
181
+ */
182
+ getUserViewNotificationText(): string | null;
183
+ /**
184
+ * Gets the translated note which indicates that the suggestion comes from an external source.
185
+ */
186
+ getExternalSuggestionNote(): string;
187
+ }
188
+ export interface SuggestionConfig {
189
+ formatDateTime: (date: Date | string) => string;
190
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x4ba632=_0xa465;(function(_0x566678,_0x22b1df){const _0x4f8340=_0xa465,_0x2324cb=_0x566678();while(!![]){try{const _0x5a0860=-parseInt(_0x4f8340(0xcf))/0x1*(-parseInt(_0x4f8340(0x10a))/0x2)+parseInt(_0x4f8340(0x105))/0x3+-parseInt(_0x4f8340(0x103))/0x4+parseInt(_0x4f8340(0xe5))/0x5*(parseInt(_0x4f8340(0x11b))/0x6)+-parseInt(_0x4f8340(0xc8))/0x7+parseInt(_0x4f8340(0xdc))/0x8*(parseInt(_0x4f8340(0xc6))/0x9)+-parseInt(_0x4f8340(0x11a))/0xa*(parseInt(_0x4f8340(0xda))/0xb);if(_0x5a0860===_0x22b1df)break;else _0x2324cb['push'](_0x2324cb['shift']());}catch(_0x40dfd5){_0x2324cb['push'](_0x2324cb['shift']());}}}(_0x47c5,0xb7d0c));import{FocusTracker as _0x42503e,KeystrokeHandler as _0x3c4429}from'ckeditor5/src/utils.js';import{View as _0x5a1c16,ViewCollection as _0x4983b0,FocusCycler as _0x4bc3e0}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x3e6bca,UserView as _0x560283}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xa465(_0x1ef5e6,_0xbc22f){const _0x47c59c=_0x47c5();return _0xa465=function(_0xa465d5,_0x5e6e7f){_0xa465d5=_0xa465d5-0xc1;let _0x27d4f1=_0x47c59c[_0xa465d5];return _0x27d4f1;},_0xa465(_0x1ef5e6,_0xbc22f);}import{icons as _0x269171}from'ckeditor5/src/core.js';import{getTranslation as _0x3cbbc1}from'../../utils/common-translations.js';export default class ce extends _0x5a1c16{constructor(_0x1b8ac4,_0x1dbabe,_0x59491e){const _0x1f85e4=_0xa465;super(_0x1b8ac4),this[_0x1f85e4(0xd6)]=_0x1dbabe,this[_0x1f85e4(0xd0)]=_0x59491e,this[_0x1f85e4(0xfc)](_0x1f85e4(0xc1),''),this[_0x1f85e4(0x100)](_0x1f85e4(0xcb))['to'](_0x1dbabe),this[_0x1f85e4(0xd2)]=this[_0x1f85e4(0xd8)](_0x3cbbc1(_0x1b8ac4,_0x1f85e4(0x107)),_0x269171[_0x1f85e4(0x101)],_0x1f85e4(0xee),_0x1f85e4(0xf0),'sw'),this[_0x1f85e4(0xc5)]=this[_0x1f85e4(0xd8)](_0x3cbbc1(_0x1b8ac4,_0x1f85e4(0x110)),_0x269171[_0x1f85e4(0xc3)],_0x1f85e4(0x119),_0x1f85e4(0xff),'sw'),this[_0x1f85e4(0xf6)]=new _0x560283(_0x1b8ac4,_0x1dbabe[_0x1f85e4(0xc2)],this[_0x1f85e4(0xfe)]()),this[_0x1f85e4(0xf6)][_0x1f85e4(0xf3)]({'attributes':{'class':[_0x1f85e4(0xce),_0x1f85e4(0xe8)],'aria-hidden':!0x0}}),this[_0x1f85e4(0xe2)]=new _0x4983b0([this[_0x1f85e4(0xd2)],this[_0x1f85e4(0xc5)]]),this[_0x1f85e4(0xd5)]=new _0x42503e(),this[_0x1f85e4(0x116)]=new _0x3c4429(),this[_0x1f85e4(0xdd)]=new _0x4bc3e0({'focusables':this[_0x1f85e4(0xe2)],'focusTracker':this[_0x1f85e4(0xd5)],'keystrokeHandler':this[_0x1f85e4(0x116)],'actions':{'focusPrevious':_0x1f85e4(0x114),'focusNext':_0x1f85e4(0xde)},'keystrokeHandlerOptions':{'filter':_0x1b89f4=>_0x1b89f4[_0x1f85e4(0x113)]!==this[_0x1f85e4(0x10d)]}}),this[_0x1f85e4(0xe0)](this[_0x1f85e4(0xef)]());}[_0x4ba632(0xd4)](){const _0x1c387b=_0x4ba632;super[_0x1c387b(0xd4)]();const _0xad301e=this[_0x1c387b(0x10d)][_0x1c387b(0x10c)](_0x1c387b(0xdf));_0xad301e[_0x1c387b(0x118)]=this[_0x1c387b(0xc1)],this['on'](_0x1c387b(0xf2),(_0x3bc324,_0x52cbce,_0x527b86)=>{const _0x2bdc14=_0x1c387b;_0xad301e[_0x2bdc14(0x118)]=_0x527b86;}),this[_0x1c387b(0x10b)]();}[_0x4ba632(0xef)](){const _0x19755b=_0x4ba632,_0x55b9f0=this[_0x19755b(0xf4)],_0x50f620=[{'tag':_0x19755b(0xd3),'attributes':{'class':[_0x19755b(0xf7),_0x19755b(0xf9)]},'children':[{'tag':_0x19755b(0x102),'children':[{'text':this[_0x19755b(0xf6)][_0x19755b(0x112)]}],'attributes':{'class':[_0x19755b(0xed),_0x19755b(0xea)]}},{'tag':_0x19755b(0xd7),'attributes':{'datetime':_0x55b9f0['to'](_0x19755b(0xcb)),'class':[_0x19755b(0xc7),_0x19755b(0x106)]},'children':[{'text':_0x55b9f0['to'](_0x19755b(0xcb),_0x46c3fc=>this[_0x19755b(0xd0)][_0x19755b(0xe3)](_0x46c3fc))}]}]},{'tag':_0x19755b(0xd3),'attributes':{'class':[_0x19755b(0xd9),_0x19755b(0xe6)]},'children':[this[_0x19755b(0xd2)],this[_0x19755b(0xc5)]]},{'tag':_0x19755b(0xd3),'attributes':{'class':[_0x19755b(0xec)]}}];return this[_0x19755b(0xd6)][_0x19755b(0x117)]&&_0x50f620[_0x19755b(0x108)]({'tag':_0x19755b(0xd3),'attributes':{'class':[_0x19755b(0xf1)]},'children':[{'text':this[_0x19755b(0x11c)]()}]}),{'tag':_0x19755b(0xd3),'attributes':{'class':[_0x19755b(0xd1),_0x19755b(0xf8)],'tabindex':-0x1},'children':[this[_0x19755b(0xf6)],{'tag':_0x19755b(0xd3),'attributes':{'class':[_0x19755b(0xcc),_0x19755b(0x104)],'role':_0x19755b(0xe7)},'children':_0x50f620}]};}[_0x4ba632(0x109)](){const _0x1c423c=_0x4ba632;this[_0x1c423c(0x10d)][_0x1c423c(0x109)]();}[_0x4ba632(0xfe)](){const _0x31193e=_0x4ba632;return this[_0x31193e(0xd6)][_0x31193e(0x117)]?_0x31193e(0xe4)===this[_0x31193e(0xd6)][_0x31193e(0xfa)][_0x31193e(0xcd)][_0x31193e(0xf5)]?_0x3cbbc1(this[_0x31193e(0xe1)],_0x31193e(0x111),this[_0x31193e(0xd6)][_0x31193e(0xeb)][_0x31193e(0x112)]):_0x3cbbc1(this[_0x31193e(0xe1)],_0x31193e(0x10f),this[_0x31193e(0xd6)][_0x31193e(0xeb)][_0x31193e(0x112)]):null;}[_0x4ba632(0x11c)](){const _0x34b89e=_0x4ba632;return _0x34b89e(0xe4)===this[_0x34b89e(0xd6)][_0x34b89e(0xfa)][_0x34b89e(0xcd)][_0x34b89e(0xf5)]?_0x3cbbc1(this[_0x34b89e(0xe1)],_0x34b89e(0x10e)):_0x3cbbc1(this[_0x34b89e(0xe1)],_0x34b89e(0xfb));}[_0x4ba632(0xd8)](_0x51a94a,_0x3ca4d1,_0x2fc3ff,_0x36f78a,_0x4600a2){const _0xdd134d=_0x4ba632,_0x11712d=new _0x3e6bca(this[_0xdd134d(0xe1)]);return _0x11712d[_0xdd134d(0xfc)]({'label':_0x51a94a,'icon':_0x3ca4d1,'tooltip':!0x0,'tooltipPosition':_0x4600a2}),_0x11712d[_0xdd134d(0xf3)]({'attributes':{'class':_0x2fc3ff}}),_0x11712d['on'](_0xdd134d(0xc4),()=>{const _0x48063f=_0xdd134d;this[_0x48063f(0xca)](_0x36f78a,this[_0x48063f(0xd6)]['id']);}),_0x11712d;}[_0x4ba632(0x10b)](){const _0x537dad=_0x4ba632,_0x406e1a=this[_0x537dad(0x10d)];this[_0x537dad(0x116)][_0x537dad(0xdb)](_0x406e1a);for(const _0x532f79 of this[_0x537dad(0xe2)])this[_0x537dad(0xd5)][_0x537dad(0xe9)](_0x532f79[_0x537dad(0x10d)]),this[_0x537dad(0x116)][_0x537dad(0xdb)](_0x532f79[_0x537dad(0x10d)]);this[_0x537dad(0x116)][_0x537dad(0xfc)](_0x537dad(0x115),(_0x25c278,_0x46a45b)=>{const _0x57434d=_0x537dad;_0x406e1a===_0x25c278[_0x57434d(0x113)]&&(this[_0x57434d(0xdd)][_0x57434d(0xc9)](),_0x46a45b());}),this[_0x537dad(0x116)][_0x537dad(0xfc)](_0x537dad(0xfd),(_0x342a2a,_0x2b5f83)=>{const _0xbc727d=_0x537dad;_0x406e1a!==_0x342a2a[_0xbc727d(0x113)]&&(this[_0xbc727d(0x109)](),_0x2b5f83());});}}function _0x47c5(){const _0x1a92bf=['keystrokes','isExternal','innerHTML','ck-suggestion--discard','27870ZgEHEN','6yXojDJ','getExternalSuggestionNote','description','author','cancel','execute','discardButton','15480PkzxlG','ck-comment__info-time','1661982npRwCK','focusFirst','fire','authoredAt','ck-suggestion__main','@external','ck-suggestion__user','1109vqKWRy','_config','ck-suggestion','acceptButton','div','render','focusTracker','_model','time','_createButton','ck-suggestion__actions','6083EzAxEh','listenTo','3712sAEygF','focusCycler','tab','.ck-annotation__content-wrapper','setTemplate','locale','focusables','formatDateTime','importWord','1820015ktlWUY','ck-annotation__actions','presentation','ck-annotation__user','add','ck-annotation__info-name','creator','ck-annotation__content-wrapper','ck-suggestion__info-name','ck-suggestion--accept','getTemplate','acceptSuggestion','ck-comment__external','change:description','extendTemplate','bindTemplate','source','userView','ck-suggestion__info','ck-annotation','ck-annotation__info','attributes','EXTERNAL_SUGGESTION','set','esc','getUserViewNotificationText','discardSuggestion','bind','check','span','5514864wXNfDP','ck-annotation__main','4468389JydqUx','ck-annotation__info-time','Accept\x20suggestion','push','focus','2270PctzDU','_setupKeyboardNavigation','querySelector','element','EXTERNAL_IMPORT_WORD_SUGGESTION','EXTERNAL_AVATAR','Discard\x20suggestion','EXTERNAL_IMPORT_WORD_AVATAR','name','target','shift+tab','enter'];_0x47c5=function(){return _0x1a92bf;};return _0x47c5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5ef27e,_0x37193c,_0xfe366){const t=_0x5ef27e['t'];switch(_0x37193c){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0xfe366);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xfe366);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xfe366);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xfe366);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xfe366);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0xfe366);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xfe366);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xfe366);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xfe366);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xfe366);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xfe366);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xfe366);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xfe366);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xfe366);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xfe366);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xfe366);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xfe366);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xfe366);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xfe366);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xfe366);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xfe366);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xfe366);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xfe366);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0xfe366);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xfe366);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xfe366);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xfe366);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xfe366);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xfe366);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0xfe366);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xfe366);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xfe366);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xfe366);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xfe366);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xfe366);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xfe366);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0xfe366);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xfe366);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xfe366);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0xfe366);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xfe366);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0xfe366);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xfe366);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xfe366);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0xfe366);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xfe366);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xfe366);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xfe366);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0xfe366);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0xfe366);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0xfe366);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x37193c;}}
23
+ export function getTranslation(_0x34a56e,_0x1dfd7b,_0x1cd156){const t=_0x34a56e['t'];switch(_0x1dfd7b){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x1cd156);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1cd156);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1cd156);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1cd156);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1cd156);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x1cd156);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1cd156);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1cd156);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1cd156);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1cd156);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1cd156);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1cd156);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1cd156);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1cd156);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1cd156);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1cd156);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1cd156);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1cd156);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1cd156);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1cd156);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1cd156);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1cd156);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1cd156);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x1cd156);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1cd156);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1cd156);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1cd156);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1cd156);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1cd156);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x1cd156);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1cd156);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1cd156);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1cd156);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1cd156);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1cd156);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1cd156);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x1cd156);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1cd156);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1cd156);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x1cd156);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1cd156);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x1cd156);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1cd156);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1cd156);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x1cd156);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1cd156);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1cd156);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1cd156);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x1cd156);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x1cd156);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x1cd156);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1dfd7b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x32c171,_0x3a9217){const _0x1052c7=_0x2b77,_0x530c26=_0x32c171();while(!![]){try{const _0x3e2883=parseInt(_0x1052c7(0x20d))/0x1+parseInt(_0x1052c7(0x1e1))/0x2+-parseInt(_0x1052c7(0x207))/0x3+parseInt(_0x1052c7(0x20b))/0x4+-parseInt(_0x1052c7(0x1dd))/0x5+-parseInt(_0x1052c7(0x1fb))/0x6+parseInt(_0x1052c7(0x209))/0x7;if(_0x3e2883===_0x3a9217)break;else _0x530c26['push'](_0x530c26['shift']());}catch(_0x4c9121){_0x530c26['push'](_0x530c26['shift']());}}}(_0x56ca,0xd078a));function _0x56ca(){const _0x59ad54=['isCollapsed','\x20[color\x20','start','length','value','isObject','isMultiRange','replace','splice','span','\x22></span>','change','end','join','createPositionAfter','innerHTML','innerText','isTouching','push','isInContent','createElement','5106702gJGoIP','sort','createPositionBefore','<span\x20class=\x22ck-suggestion-type\x22>','\x22\x20title=\x22','deletion','createRange','map','execute','from','next','title','4564695sdNgYQ','add','12524568EeOJXt','isIntersecting','2755676PWRqwo','isArray','991292thjBsr','type','createPositionAt','1818800VBaxuA','color','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','content','241810iWRCyu','</span>','schema','getRanges','split'];_0x56ca=function(){return _0x59ad54;};return _0x56ca();}export function normalizeDescription(_0x5f5d28){const _0x25a480=_0x2b77;return Array[_0x25a480(0x20c)](_0x5f5d28)||(_0x5f5d28=[_0x5f5d28]),_0x5f5d28[_0x25a480(0x202)](_0x2f5d22=>{const _0x1553df=_0x25a480,_0x2e44d9=_0x2f5d22[_0x1553df(0x1e0)][_0x1553df(0x1ed)](/\*/g,''),_0x8c53af=_0x2f5d22[_0x1553df(0x1de)]?_0x1553df(0x1e7)+_0x2f5d22[_0x1553df(0x1de)][_0x1553df(0x1ea)]+']':'';return'['+_0x2f5d22[_0x1553df(0x20e)]+']\x20'+_0x2e44d9+_0x8c53af;})[_0x25a480(0x1f3)](';\x20');}export function renderDescription(_0x2db747,_0x139178){const _0x1bc193=_0x2b77;let _0x1bbb13='';return _0x1bbb13+=_0x2db747[_0x1bc193(0x1e5)]('*')[_0x1bc193(0x202)]((_0x5a113d,_0x4608c6)=>_0x4608c6%0x2!=0x0?_0x1bc193(0x1fe)+nn(_0x5a113d)+_0x1bc193(0x1e2):nn(_0x5a113d))[_0x1bc193(0x1f3)](''),_0x139178&&(_0x1bbb13+=_0x1bc193(0x1df)+_0x139178[_0x1bc193(0x1ea)]+_0x1bc193(0x1ff)+_0x139178[_0x1bc193(0x206)]+_0x1bc193(0x1f0)),_0x1bbb13;}function nn(_0x3e796d){const _0x55d80b=_0x2b77,_0xa5508=document[_0x55d80b(0x1fa)](_0x55d80b(0x1ef));return _0xa5508[_0x55d80b(0x1f6)]=_0x3e796d,_0xa5508[_0x55d80b(0x1f5)];}function _0x2b77(_0x1e8027,_0xa57df8){const _0x56ca87=_0x56ca();return _0x2b77=function(_0x2b7737,_0x2c4928){_0x2b7737=_0x2b7737-0x1dd;let _0xd8ce76=_0x56ca87[_0x2b7737];return _0xd8ce76;},_0x2b77(_0x1e8027,_0xa57df8);}export function sortSuggestions(_0x2c13c1){const _0x3287b4=_0x2b77;return _0x2c13c1[_0x3287b4(0x1fc)]((_0x55eb10,_0x1ebacb)=>_0x3287b4(0x200)==_0x55eb10[_0x3287b4(0x20e)]&&_0x3287b4(0x200)!=_0x1ebacb[_0x3287b4(0x20e)]?-0x1:_0x3287b4(0x200)!=_0x55eb10[_0x3287b4(0x20e)]&&_0x3287b4(0x200)==_0x1ebacb[_0x3287b4(0x20e)]?0x1:0x0);}export function getSelectedSuggestions(_0xf8c739,_0x2e5a0f){const _0x3c334d=_0x2b77,_0x4aedf7=Array[_0x3c334d(0x204)](_0xf8c739[_0x3c334d(0x1e4)]()),_0x4320fd=new Set();for(const _0x4743f9 of _0x2e5a0f)if(_0x4743f9[_0x3c334d(0x1f9)]){for(const _0x1f2f7d of _0x4aedf7)for(const _0x339b1d of _0x4743f9[_0x3c334d(0x1e4)]())(_0x1f2f7d[_0x3c334d(0x20a)](_0x339b1d)||_0xf8c739[_0x3c334d(0x1e6)]&&!_0x4743f9[_0x3c334d(0x1ec)]&&_0x4743f9[_0x3c334d(0x205)]&&_0x339b1d[_0x3c334d(0x1f2)][_0x3c334d(0x1f7)](_0x1f2f7d[_0x3c334d(0x1e8)]))&&_0x4320fd[_0x3c334d(0x208)](_0x4743f9);}return _0x4320fd;}export function getRangesOfBlockGroups(_0x4ebec5,_0x25bbad){const _0x1f68de=_0x2b77;let _0x4ab710,_0x118bde=0x0;const _0x198d37=[],_0x2c371e=_0x25bbad[_0x1f68de(0x1e3)];for(;_0x118bde<_0x4ebec5[_0x1f68de(0x1e9)];){const _0x3874da=_0x4ebec5[_0x118bde],_0x10023c=_0x4ebec5[_0x118bde+0x1];_0x4ab710||(_0x4ab710=_0x25bbad[_0x1f68de(0x1fd)](_0x3874da)),on(_0x25bbad,_0x3874da,_0x10023c)||(_0x198d37[_0x1f68de(0x1f8)](_0x25bbad[_0x1f68de(0x201)](_0x4ab710,_0x2c371e[_0x1f68de(0x1eb)](_0x3874da)?_0x25bbad[_0x1f68de(0x1f4)](_0x3874da):_0x25bbad[_0x1f68de(0x20f)](_0x3874da,_0x1f68de(0x1f2)))),_0x4ab710=null),_0x118bde++;}return _0x198d37;}function on(_0x5b3460,_0x519e1b,_0x5a35b5){const _0x91575e=_0x2b77;if(!_0x5a35b5)return!0x1;const _0x53244a=_0x5b3460[_0x91575e(0x1f4)](_0x519e1b),_0x31cd0c=_0x5b3460[_0x91575e(0x1fd)](_0x5a35b5);return _0x53244a[_0x91575e(0x1f7)](_0x31cd0c);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x148731,_0x20bbc5,_0x847717){const _0x3c6ca1=_0x2b77;for(;_0x847717[_0x3c6ca1(0x1e9)];){const _0x23cd3b=_0x847717[_0x3c6ca1(0x1ee)](0x0,0x64);_0x148731[_0x3c6ca1(0x1f1)](()=>{const _0x21adf5=_0x3c6ca1;for(const _0x3beae8 of _0x23cd3b)_0x3beae8[_0x21adf5(0x1f9)]&&_0x20bbc5[_0x21adf5(0x203)](_0x3beae8['id']);});}}
23
+ (function(_0x56795f,_0xd1eea4){const _0x3fe365=_0x123f,_0x13b453=_0x56795f();while(!![]){try{const _0x23d683=parseInt(_0x3fe365(0x71))/0x1*(-parseInt(_0x3fe365(0x74))/0x2)+parseInt(_0x3fe365(0x9a))/0x3*(-parseInt(_0x3fe365(0x9b))/0x4)+-parseInt(_0x3fe365(0x94))/0x5+parseInt(_0x3fe365(0x7c))/0x6+parseInt(_0x3fe365(0x8b))/0x7+-parseInt(_0x3fe365(0x9d))/0x8*(parseInt(_0x3fe365(0x6f))/0x9)+-parseInt(_0x3fe365(0x7d))/0xa*(-parseInt(_0x3fe365(0x8e))/0xb);if(_0x23d683===_0xd1eea4)break;else _0x13b453['push'](_0x13b453['shift']());}catch(_0x5bda10){_0x13b453['push'](_0x13b453['shift']());}}}(_0x8e27,0x61643));function _0x123f(_0x135b63,_0x12de9f){const _0x8e2749=_0x8e27();return _0x123f=function(_0x123fe9,_0x49daaa){_0x123fe9=_0x123fe9-0x6a;let _0x4b2b40=_0x8e2749[_0x123fe9];return _0x4b2b40;},_0x123f(_0x135b63,_0x12de9f);}export function normalizeDescription(_0x2cbf74){const _0x40116b=_0x123f;return Array[_0x40116b(0x98)](_0x2cbf74)||(_0x2cbf74=[_0x2cbf74]),_0x2cbf74[_0x40116b(0x7b)](_0x5f2952=>{const _0x4a5fe2=_0x40116b,_0x238abd=_0x5f2952[_0x4a5fe2(0x91)][_0x4a5fe2(0x8d)](/\*/g,''),_0x41bac9=_0x5f2952[_0x4a5fe2(0x8c)]?_0x4a5fe2(0x8a)+_0x5f2952[_0x4a5fe2(0x8c)][_0x4a5fe2(0x86)]+']':'';return'['+_0x5f2952[_0x4a5fe2(0x72)]+']\x20'+_0x238abd+_0x41bac9;})[_0x40116b(0x85)](';\x20');}export function renderDescription(_0x3c0bbe,_0x235768){const _0x4f148b=_0x123f;let _0x5b00a9='';return _0x5b00a9+=_0x3c0bbe[_0x4f148b(0x88)]('*')[_0x4f148b(0x7b)]((_0x4c571b,_0x598f5c)=>_0x598f5c%0x2!=0x0?_0x4f148b(0x6b)+nn(_0x4c571b)+_0x4f148b(0x77):nn(_0x4c571b))[_0x4f148b(0x85)](''),_0x235768&&(_0x5b00a9+=_0x4f148b(0x95)+_0x235768[_0x4f148b(0x86)]+_0x4f148b(0x96)+_0x235768[_0x4f148b(0x6a)]+_0x4f148b(0x7e)),_0x5b00a9;}function nn(_0x5a599e){const _0x29d5e1=_0x123f,_0x1527fd=document[_0x29d5e1(0x90)](_0x29d5e1(0x82));return _0x1527fd[_0x29d5e1(0x7f)]=_0x5a599e,_0x1527fd[_0x29d5e1(0x9f)];}export function sortSuggestions(_0x2d3f23){const _0x15301a=_0x123f;return _0x2d3f23[_0x15301a(0x9c)]((_0x2e7927,_0xb871b8)=>_0x15301a(0x84)==_0x2e7927[_0x15301a(0x72)]&&_0x15301a(0x84)!=_0xb871b8[_0x15301a(0x72)]?-0x1:_0x15301a(0x84)!=_0x2e7927[_0x15301a(0x72)]&&_0x15301a(0x84)==_0xb871b8[_0x15301a(0x72)]?0x1:0x0);}export function getSelectedSuggestions(_0x10d04c,_0x5bac87){const _0x5c2acb=_0x123f,_0x55fce8=Array[_0x5c2acb(0x79)](_0x10d04c[_0x5c2acb(0x87)]()),_0x1a0f17=new Set();for(const _0x46c48e of _0x5bac87)if(_0x46c48e[_0x5c2acb(0x99)]){for(const _0x15ca6b of _0x55fce8)for(const _0x37cbbc of _0x46c48e[_0x5c2acb(0x87)]())(_0x15ca6b[_0x5c2acb(0x6e)](_0x37cbbc)||_0x10d04c[_0x5c2acb(0x78)]&&!_0x46c48e[_0x5c2acb(0x80)]&&_0x46c48e[_0x5c2acb(0x89)]&&_0x37cbbc[_0x5c2acb(0x70)][_0x5c2acb(0x73)](_0x15ca6b[_0x5c2acb(0x8f)]))&&_0x1a0f17[_0x5c2acb(0x76)](_0x46c48e);}return _0x1a0f17;}export function getRangesOfBlockGroups(_0x439ed8,_0x141a35){const _0x18ae8e=_0x123f;let _0x162a1f,_0x33f773=0x0;const _0x2eab44=[],_0x291b6c=_0x141a35[_0x18ae8e(0x9e)];for(;_0x33f773<_0x439ed8[_0x18ae8e(0x6c)];){const _0x2a700a=_0x439ed8[_0x33f773],_0x16c878=_0x439ed8[_0x33f773+0x1];_0x162a1f||(_0x162a1f=_0x141a35[_0x18ae8e(0xa0)](_0x2a700a)),on(_0x141a35,_0x2a700a,_0x16c878)||(_0x2eab44[_0x18ae8e(0x92)](_0x141a35[_0x18ae8e(0x6d)](_0x162a1f,_0x291b6c[_0x18ae8e(0x75)](_0x2a700a)?_0x141a35[_0x18ae8e(0x7a)](_0x2a700a):_0x141a35[_0x18ae8e(0x93)](_0x2a700a,_0x18ae8e(0x70)))),_0x162a1f=null),_0x33f773++;}return _0x2eab44;}function _0x8e27(){const _0x5eabd2=['isArray','isInContent','1688046xwZpWd','4vePJQf','sort','2837152NhnaHi','schema','innerHTML','createPositionBefore','title','<span\x20class=\x22ck-suggestion-type\x22>','length','createRange','isIntersecting','9eAoIgP','end','5323fMcSai','type','isTouching','198XLCdbA','isObject','add','</span>','isCollapsed','from','createPositionAfter','map','4444422kWyHdz','10897030pRzBGx','\x22></span>','innerText','isMultiRange','splice','span','execute','deletion','join','value','getRanges','split','next','\x20[color\x20','3693795ttwvCy','color','replace','11QBZRgh','start','createElement','content','push','createPositionAt','2574535gNsLYQ','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','\x22\x20title=\x22','change'];_0x8e27=function(){return _0x5eabd2;};return _0x8e27();}function on(_0x2ee20d,_0x5d31eb,_0x2d2973){const _0x6ac167=_0x123f;if(!_0x2d2973)return!0x1;const _0x5ccac9=_0x2ee20d[_0x6ac167(0x7a)](_0x5d31eb),_0x37b5fc=_0x2ee20d[_0x6ac167(0xa0)](_0x2d2973);return _0x5ccac9[_0x6ac167(0x73)](_0x37b5fc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0xd82157,_0x4bb7c7,_0x3c5cc3){const _0xbcf104=_0x123f;for(;_0x3c5cc3[_0xbcf104(0x6c)];){const _0xb68a72=_0x3c5cc3[_0xbcf104(0x81)](0x0,0x64);_0xd82157[_0xbcf104(0x97)](()=>{const _0x551238=_0xbcf104;for(const _0x2d6165 of _0xb68a72)_0x2d6165[_0x551238(0x99)]&&_0x4bb7c7[_0x551238(0x83)](_0x2d6165['id']);});}}