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

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
+ function _0x51ef(){const _0x322b43=['tab','render','querySelector','acceptButton','EXTERNAL_IMPORT_WORD_AVATAR','fire','ck-suggestion--accept','ck-suggestion__user','shift+tab','authoredAt','setTemplate','bindTemplate','check','esc','cancel','locale','add','ck-annotation__content-wrapper','getUserViewNotificationText','focusTracker','31149MYYcWM','getExternalSuggestionNote','_createButton','3849PRJJLA','description','getTemplate','EXTERNAL_SUGGESTION','164791HIUUpe','keystrokes','acceptSuggestion','div','author','discardButton','1028712EJrcEc','Accept\x20suggestion','ck-annotation__main','Discard\x20suggestion','EXTERNAL_IMPORT_WORD_SUGGESTION','enter','.ck-annotation__content-wrapper','isExternal','listenTo','678178MYcgMC','set','change:description','2jPRtUg','ck-comment__info-time','_config','element','ck-annotation__info-name','ck-annotation__info','extendTemplate','ck-annotation__info-time','focusCycler','execute','attributes','span','userView','ck-suggestion--discard','source','focusables','_setupKeyboardNavigation','_model','focusFirst','ck-annotation','1056CGwNin','EXTERNAL_AVATAR','2885407KIhEkt','name','creator','ck-suggestion__main','target','ck-annotation__actions','ck-suggestion__info-name','formatDateTime','time','innerHTML','@external','focus','bind','ck-suggestion','discardSuggestion','push','ck-suggestion__info','importWord','ck-comment__external','4406982rJtbIh','ck-suggestion__actions','5UygJhM','750IMWlgN','ck-annotation__user','presentation','48CqJqbB'];_0x51ef=function(){return _0x322b43;};return _0x51ef();}const _0x349193=_0xc779;(function(_0x44a0a6,_0x4a8e84){const _0x232f3e=_0xc779,_0x225b42=_0x44a0a6();while(!![]){try{const _0x14d21d=parseInt(_0x232f3e(0x11b))/0x1*(parseInt(_0x232f3e(0x118))/0x2)+parseInt(_0x232f3e(0x105))/0x3*(-parseInt(_0x232f3e(0x12f))/0x4)+parseInt(_0x232f3e(0x146))/0x5*(-parseInt(_0x232f3e(0x144))/0x6)+parseInt(_0x232f3e(0x131))/0x7+parseInt(_0x232f3e(0x10f))/0x8+parseInt(_0x232f3e(0x102))/0x9*(parseInt(_0x232f3e(0x147))/0xa)+-parseInt(_0x232f3e(0x109))/0xb*(-parseInt(_0x232f3e(0x14a))/0xc);if(_0x14d21d===_0x4a8e84)break;else _0x225b42['push'](_0x225b42['shift']());}catch(_0x16dd80){_0x225b42['push'](_0x225b42['shift']());}}}(_0x51ef,0x7196a));import{FocusTracker as _0x54f258,KeystrokeHandler as _0x2b7f3f}from'ckeditor5/src/utils.js';import{View as _0x345e36,ViewCollection as _0x39478e,FocusCycler as _0x348a60}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x6aca0d,UserView as _0x2710d4}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x30cc0f}from'ckeditor5/src/core.js';function _0xc779(_0x49e46c,_0x1fb5e8){const _0x51ef67=_0x51ef();return _0xc779=function(_0xc779bf,_0x4fac2a){_0xc779bf=_0xc779bf-0xfb;let _0x4d02cd=_0x51ef67[_0xc779bf];return _0x4d02cd;},_0xc779(_0x49e46c,_0x1fb5e8);}import{getTranslation as _0x1c4819}from'../../utils/common-translations.js';export default class ce extends _0x345e36{constructor(_0x557f32,_0x1cb7c4,_0x5413f8){const _0x89fadf=_0xc779;super(_0x557f32),this[_0x89fadf(0x12c)]=_0x1cb7c4,this[_0x89fadf(0x11d)]=_0x5413f8,this[_0x89fadf(0x119)](_0x89fadf(0x106),''),this[_0x89fadf(0x13d)](_0x89fadf(0x154))['to'](_0x1cb7c4),this[_0x89fadf(0x14e)]=this[_0x89fadf(0x104)](_0x1c4819(_0x557f32,_0x89fadf(0x110)),_0x30cc0f[_0x89fadf(0x157)],_0x89fadf(0x151),_0x89fadf(0x10b),'sw'),this[_0x89fadf(0x10e)]=this[_0x89fadf(0x104)](_0x1c4819(_0x557f32,_0x89fadf(0x112)),_0x30cc0f[_0x89fadf(0xfc)],_0x89fadf(0x128),_0x89fadf(0x13f),'sw'),this[_0x89fadf(0x127)]=new _0x2710d4(_0x557f32,_0x1cb7c4[_0x89fadf(0x10d)],this[_0x89fadf(0x100)]()),this[_0x89fadf(0x127)][_0x89fadf(0x121)]({'attributes':{'class':[_0x89fadf(0x152),_0x89fadf(0x148)],'aria-hidden':!0x0}}),this[_0x89fadf(0x12a)]=new _0x39478e([this[_0x89fadf(0x14e)],this[_0x89fadf(0x10e)]]),this[_0x89fadf(0x101)]=new _0x54f258(),this[_0x89fadf(0x10a)]=new _0x2b7f3f(),this[_0x89fadf(0x123)]=new _0x348a60({'focusables':this[_0x89fadf(0x12a)],'focusTracker':this[_0x89fadf(0x101)],'keystrokeHandler':this[_0x89fadf(0x10a)],'actions':{'focusPrevious':_0x89fadf(0x153),'focusNext':_0x89fadf(0x14b)},'keystrokeHandlerOptions':{'filter':_0xa811e4=>_0xa811e4[_0x89fadf(0x135)]!==this[_0x89fadf(0x11e)]}}),this[_0x89fadf(0x155)](this[_0x89fadf(0x107)]());}[_0x349193(0x14c)](){const _0x2a88ff=_0x349193;super[_0x2a88ff(0x14c)]();const _0x6c924f=this[_0x2a88ff(0x11e)][_0x2a88ff(0x14d)](_0x2a88ff(0x115));_0x6c924f[_0x2a88ff(0x13a)]=this[_0x2a88ff(0x106)],this['on'](_0x2a88ff(0x11a),(_0x299eda,_0x1125b9,_0xc9c53b)=>{const _0x255c3a=_0x2a88ff;_0x6c924f[_0x255c3a(0x13a)]=_0xc9c53b;}),this[_0x2a88ff(0x12b)]();}[_0x349193(0x107)](){const _0x1669e4=_0x349193,_0x24c977=this[_0x1669e4(0x156)],_0x22b27f=[{'tag':_0x1669e4(0x10c),'attributes':{'class':[_0x1669e4(0x141),_0x1669e4(0x120)]},'children':[{'tag':_0x1669e4(0x126),'children':[{'text':this[_0x1669e4(0x127)][_0x1669e4(0x132)]}],'attributes':{'class':[_0x1669e4(0x137),_0x1669e4(0x11f)]}},{'tag':_0x1669e4(0x139),'attributes':{'datetime':_0x24c977['to'](_0x1669e4(0x154)),'class':[_0x1669e4(0x11c),_0x1669e4(0x122)]},'children':[{'text':_0x24c977['to'](_0x1669e4(0x154),_0x16eff7=>this[_0x1669e4(0x11d)][_0x1669e4(0x138)](_0x16eff7))}]}]},{'tag':_0x1669e4(0x10c),'attributes':{'class':[_0x1669e4(0x145),_0x1669e4(0x136)]},'children':[this[_0x1669e4(0x14e)],this[_0x1669e4(0x10e)]]},{'tag':_0x1669e4(0x10c),'attributes':{'class':[_0x1669e4(0xff)]}}];return this[_0x1669e4(0x12c)][_0x1669e4(0x116)]&&_0x22b27f[_0x1669e4(0x140)]({'tag':_0x1669e4(0x10c),'attributes':{'class':[_0x1669e4(0x143)]},'children':[{'text':this[_0x1669e4(0x103)]()}]}),{'tag':_0x1669e4(0x10c),'attributes':{'class':[_0x1669e4(0x13e),_0x1669e4(0x12e)],'tabindex':-0x1},'children':[this[_0x1669e4(0x127)],{'tag':_0x1669e4(0x10c),'attributes':{'class':[_0x1669e4(0x134),_0x1669e4(0x111)],'role':_0x1669e4(0x149)},'children':_0x22b27f}]};}[_0x349193(0x13c)](){const _0x4c02d8=_0x349193;this[_0x4c02d8(0x11e)][_0x4c02d8(0x13c)]();}[_0x349193(0x100)](){const _0x38c907=_0x349193;return this[_0x38c907(0x12c)][_0x38c907(0x116)]?_0x38c907(0x142)===this[_0x38c907(0x12c)][_0x38c907(0x125)][_0x38c907(0x13b)][_0x38c907(0x129)]?_0x1c4819(this[_0x38c907(0xfd)],_0x38c907(0x14f),this[_0x38c907(0x12c)][_0x38c907(0x133)][_0x38c907(0x132)]):_0x1c4819(this[_0x38c907(0xfd)],_0x38c907(0x130),this[_0x38c907(0x12c)][_0x38c907(0x133)][_0x38c907(0x132)]):null;}[_0x349193(0x103)](){const _0x511997=_0x349193;return _0x511997(0x142)===this[_0x511997(0x12c)][_0x511997(0x125)][_0x511997(0x13b)][_0x511997(0x129)]?_0x1c4819(this[_0x511997(0xfd)],_0x511997(0x113)):_0x1c4819(this[_0x511997(0xfd)],_0x511997(0x108));}[_0x349193(0x104)](_0x39ce22,_0xe6e022,_0x512c0f,_0x743947,_0x4476a7){const _0x188f8c=_0x349193,_0xc045c5=new _0x6aca0d(this[_0x188f8c(0xfd)]);return _0xc045c5[_0x188f8c(0x119)]({'label':_0x39ce22,'icon':_0xe6e022,'tooltip':!0x0,'tooltipPosition':_0x4476a7}),_0xc045c5[_0x188f8c(0x121)]({'attributes':{'class':_0x512c0f}}),_0xc045c5['on'](_0x188f8c(0x124),()=>{const _0x451937=_0x188f8c;this[_0x451937(0x150)](_0x743947,this[_0x451937(0x12c)]['id']);}),_0xc045c5;}[_0x349193(0x12b)](){const _0x6a738c=_0x349193,_0x460a32=this[_0x6a738c(0x11e)];this[_0x6a738c(0x10a)][_0x6a738c(0x117)](_0x460a32);for(const _0x13569f of this[_0x6a738c(0x12a)])this[_0x6a738c(0x101)][_0x6a738c(0xfe)](_0x13569f[_0x6a738c(0x11e)]),this[_0x6a738c(0x10a)][_0x6a738c(0x117)](_0x13569f[_0x6a738c(0x11e)]);this[_0x6a738c(0x10a)][_0x6a738c(0x119)](_0x6a738c(0x114),(_0x4eb28f,_0x5832de)=>{const _0x501e34=_0x6a738c;_0x460a32===_0x4eb28f[_0x501e34(0x135)]&&(this[_0x501e34(0x123)][_0x501e34(0x12d)](),_0x5832de());}),this[_0x6a738c(0x10a)][_0x6a738c(0x119)](_0x6a738c(0xfb),(_0x3dd13d,_0x41d487)=>{const _0x19a647=_0x6a738c;_0x460a32!==_0x3dd13d[_0x19a647(0x135)]&&(this[_0x19a647(0x13c)](),_0x41d487());});}}
@@ -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(_0x265cfd,_0x34cffb,_0x2cc2e0){const t=_0x265cfd['t'];switch(_0x34cffb){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',_0x2cc2e0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2cc2e0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2cc2e0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2cc2e0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2cc2e0);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',_0x2cc2e0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2cc2e0);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',_0x2cc2e0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2cc2e0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2cc2e0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2cc2e0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2cc2e0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2cc2e0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2cc2e0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2cc2e0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2cc2e0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2cc2e0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2cc2e0);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2cc2e0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2cc2e0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2cc2e0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2cc2e0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2cc2e0);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'},_0x2cc2e0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2cc2e0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2cc2e0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2cc2e0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2cc2e0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2cc2e0);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'},_0x2cc2e0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2cc2e0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2cc2e0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2cc2e0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2cc2e0);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'},_0x2cc2e0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2cc2e0);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'},_0x2cc2e0);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'},_0x2cc2e0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2cc2e0);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'},_0x2cc2e0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2cc2e0);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'},_0x2cc2e0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2cc2e0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2cc2e0);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'},_0x2cc2e0);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'},_0x2cc2e0);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'},_0x2cc2e0);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2cc2e0);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'},_0x2cc2e0);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'},_0x2cc2e0);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'},_0x2cc2e0);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x34cffb;}}
@@ -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 _0x32b2(_0x176532,_0x3e8e83){const _0x3e6b59=_0x3e6b();return _0x32b2=function(_0x32b273,_0x18bedc){_0x32b273=_0x32b273-0xb3;let _0x50333c=_0x3e6b59[_0x32b273];return _0x50333c;},_0x32b2(_0x176532,_0x3e8e83);}(function(_0x59233c,_0x3c3449){const _0x4ac804=_0x32b2,_0x4e62b7=_0x59233c();while(!![]){try{const _0x266997=parseInt(_0x4ac804(0xc2))/0x1*(-parseInt(_0x4ac804(0xe6))/0x2)+parseInt(_0x4ac804(0xb6))/0x3*(-parseInt(_0x4ac804(0xe0))/0x4)+parseInt(_0x4ac804(0xd0))/0x5+parseInt(_0x4ac804(0xd7))/0x6*(-parseInt(_0x4ac804(0xc7))/0x7)+-parseInt(_0x4ac804(0xd9))/0x8*(parseInt(_0x4ac804(0xd2))/0x9)+parseInt(_0x4ac804(0xd8))/0xa+parseInt(_0x4ac804(0xc3))/0xb*(-parseInt(_0x4ac804(0xd1))/0xc);if(_0x266997===_0x3c3449)break;else _0x4e62b7['push'](_0x4e62b7['shift']());}catch(_0x362ac5){_0x4e62b7['push'](_0x4e62b7['shift']());}}}(_0x3e6b,0xb7e9b));export function normalizeDescription(_0x5b28d4){const _0x2e8246=_0x32b2;return Array[_0x2e8246(0xe2)](_0x5b28d4)||(_0x5b28d4=[_0x5b28d4]),_0x5b28d4[_0x2e8246(0xc5)](_0x3b8369=>{const _0x482eec=_0x2e8246,_0x179b30=_0x3b8369[_0x482eec(0xb5)][_0x482eec(0xdf)](/\*/g,''),_0x324f8e=_0x3b8369[_0x482eec(0xdb)]?_0x482eec(0xea)+_0x3b8369[_0x482eec(0xdb)][_0x482eec(0xb7)]+']':'';return'['+_0x3b8369[_0x482eec(0xd6)]+']\x20'+_0x179b30+_0x324f8e;})[_0x2e8246(0xc0)](';\x20');}export function renderDescription(_0x528153,_0x2c3175){const _0x239b08=_0x32b2;let _0x469bcc='';return _0x469bcc+=_0x528153[_0x239b08(0xd3)]('*')[_0x239b08(0xc5)]((_0x3922ef,_0x4c811e)=>_0x4c811e%0x2!=0x0?_0x239b08(0xc9)+nn(_0x3922ef)+_0x239b08(0xb9):nn(_0x3922ef))[_0x239b08(0xc0)](''),_0x2c3175&&(_0x469bcc+=_0x239b08(0xe3)+_0x2c3175[_0x239b08(0xb7)]+_0x239b08(0xcf)+_0x2c3175[_0x239b08(0xe4)]+_0x239b08(0xb8)),_0x469bcc;}function nn(_0x1ae7bb){const _0x4f9cb8=_0x32b2,_0x3cad70=document[_0x4f9cb8(0xde)](_0x4f9cb8(0xb3));return _0x3cad70[_0x4f9cb8(0xbc)]=_0x1ae7bb,_0x3cad70[_0x4f9cb8(0xc1)];}export function sortSuggestions(_0x1c2a2f){const _0x21d23b=_0x32b2;return _0x1c2a2f[_0x21d23b(0xd5)]((_0x321d13,_0x4f3fc2)=>_0x21d23b(0xba)==_0x321d13[_0x21d23b(0xd6)]&&_0x21d23b(0xba)!=_0x4f3fc2[_0x21d23b(0xd6)]?-0x1:_0x21d23b(0xba)!=_0x321d13[_0x21d23b(0xd6)]&&_0x21d23b(0xba)==_0x4f3fc2[_0x21d23b(0xd6)]?0x1:0x0);}export function getSelectedSuggestions(_0x1c91d6,_0x16d56c){const _0x5b73f3=_0x32b2,_0x5d2ba9=Array[_0x5b73f3(0xdd)](_0x1c91d6[_0x5b73f3(0xe8)]()),_0x195de5=new Set();for(const _0x411d58 of _0x16d56c)if(_0x411d58[_0x5b73f3(0xc4)]){for(const _0x2b4731 of _0x5d2ba9)for(const _0x326c57 of _0x411d58[_0x5b73f3(0xe8)]())(_0x2b4731[_0x5b73f3(0xcc)](_0x326c57)||_0x1c91d6[_0x5b73f3(0xbf)]&&!_0x411d58[_0x5b73f3(0xda)]&&_0x411d58[_0x5b73f3(0xb4)]&&_0x326c57[_0x5b73f3(0xbe)][_0x5b73f3(0xd4)](_0x2b4731[_0x5b73f3(0xe1)]))&&_0x195de5[_0x5b73f3(0xcb)](_0x411d58);}return _0x195de5;}export function getRangesOfBlockGroups(_0x507ef5,_0x33ebc8){const _0x619a5a=_0x32b2;let _0x1b5ea9,_0x3751f3=0x0;const _0x4e85aa=[],_0x488d6d=_0x33ebc8[_0x619a5a(0xbb)];for(;_0x3751f3<_0x507ef5[_0x619a5a(0xca)];){const _0x3b9621=_0x507ef5[_0x3751f3],_0x48b092=_0x507ef5[_0x3751f3+0x1];_0x1b5ea9||(_0x1b5ea9=_0x33ebc8[_0x619a5a(0xc6)](_0x3b9621)),on(_0x33ebc8,_0x3b9621,_0x48b092)||(_0x4e85aa[_0x619a5a(0xbd)](_0x33ebc8[_0x619a5a(0xe7)](_0x1b5ea9,_0x488d6d[_0x619a5a(0xdc)](_0x3b9621)?_0x33ebc8[_0x619a5a(0xce)](_0x3b9621):_0x33ebc8[_0x619a5a(0xc8)](_0x3b9621,_0x619a5a(0xbe)))),_0x1b5ea9=null),_0x3751f3++;}return _0x4e85aa;}function on(_0x2c8a2f,_0x36ccc3,_0x4b723e){const _0x359197=_0x32b2;if(!_0x4b723e)return!0x1;const _0x233dbc=_0x2c8a2f[_0x359197(0xce)](_0x36ccc3),_0x1a42ea=_0x2c8a2f[_0x359197(0xc6)](_0x4b723e);return _0x233dbc[_0x359197(0xd4)](_0x1a42ea);}function _0x3e6b(){const _0x27e694=['deletion','schema','innerText','push','end','isCollapsed','join','innerHTML','685963GTBPpa','1903EhYLyo','isInContent','map','createPositionBefore','21dMFuxY','createPositionAt','<span\x20class=\x22ck-suggestion-type\x22>','length','add','isIntersecting','execute','createPositionAfter','\x22\x20title=\x22','7020100opCvwH','53136WZSnxu','12609HoPNNj','split','isTouching','sort','type','267012kqXhAf','14098300QHnOPg','2144nvVYNa','isMultiRange','color','isObject','from','createElement','replace','4GBNacl','start','isArray','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','title','splice','2bQlIre','createRange','getRanges','change','\x20[color\x20','span','next','content','298686MOhTlW','value','\x22></span>','</span>'];_0x3e6b=function(){return _0x27e694;};return _0x3e6b();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3a22c7,_0xe74fa,_0x48a7a9){const _0x390999=_0x32b2;for(;_0x48a7a9[_0x390999(0xca)];){const _0x453e58=_0x48a7a9[_0x390999(0xe5)](0x0,0x64);_0x3a22c7[_0x390999(0xe9)](()=>{const _0x218160=_0x390999;for(const _0x291232 of _0x453e58)_0x291232[_0x218160(0xc4)]&&_0xe74fa[_0x218160(0xcd)](_0x291232['id']);});}}