@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250623.0 → 0.0.0-nightly-20250625.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.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.d.ts +10 -0
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ec9e5=_0x5ae2;(function(_0x5cf395,_0x314ff4){const _0x57d60d=_0x5ae2,_0x59c996=_0x5cf395();while(!![]){try{const _0x225c2b=parseInt(_0x57d60d(0xa5))/0x1*(parseInt(_0x57d60d(0x9e))/0x2)+-parseInt(_0x57d60d(0xab))/0x3+parseInt(_0x57d60d(0xac))/0x4*(-parseInt(_0x57d60d(0x9d))/0x5)+parseInt(_0x57d60d(0xa6))/0x6+parseInt(_0x57d60d(0xa3))/0x7+parseInt(_0x57d60d(0xa7))/0x8*(parseInt(_0x57d60d(0x98))/0x9)+-parseInt(_0x57d60d(0xaa))/0xa;if(_0x225c2b===_0x314ff4)break;else _0x59c996['push'](_0x59c996['shift']());}catch(_0x27b30a){_0x59c996['push'](_0x59c996['shift']());}}}(_0x4271,0x296ad));import{Plugin as _0x540b40}from'ckeditor5/src/core.js';import{Dialog as _0x1ca9d6}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x5876c2}from'./trackchangesdata.js';function _0x4271(){const _0x2ee511=['pluginName','previewFinalContent','1735034LfmBkM','TrackChangesPreview','3821SrnPsW','1237068LodrAG','266536PeJKdM','editor','add','2480410kFOFOR','741777ghyasJ','484MefsrM','isPremiumPlugin','isOfficialPlugin','27xIhcZW','commands','requires','appendChild','config','4415dkqFdG','114peVDJS','define','trackChanges.preview.renderFunction'];_0x4271=function(){return _0x2ee511;};return _0x4271();}function _0x5ae2(_0x4f163d,_0x839ae9){const _0x4271e9=_0x4271();return _0x5ae2=function(_0x5ae284,_0x226531){_0x5ae284=_0x5ae284-0x97;let _0x411308=_0x4271e9[_0x5ae284];return _0x411308;},_0x5ae2(_0x4f163d,_0x839ae9);}import{PreviewFinalContentCommand as _0x560dc4}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x540b40{static get[_0x3ec9e5(0x9a)](){return[_0x5876c2,_0x1ca9d6];}static get[_0x3ec9e5(0xa1)](){const _0x1ec007=_0x3ec9e5;return _0x1ec007(0xa4);}static get[_0x3ec9e5(0x97)](){return!0x0;}static get[_0x3ec9e5(0xad)](){return!0x0;}constructor(_0x3c6b3f){const _0x509119=_0x3ec9e5;super(_0x3c6b3f),_0x3c6b3f[_0x509119(0x99)][_0x509119(0xa9)](_0x509119(0xa2),new _0x560dc4(this[_0x509119(0xa8)])),_0x3c6b3f[_0x509119(0x9c)][_0x509119(0x9f)](_0x509119(0xa0),(_0x3d00aa,_0x2b5325)=>{const _0xa9cc71=_0x509119;for(const _0x30d3a1 of _0x2b5325)_0x3d00aa[_0xa9cc71(0x9b)](_0x30d3a1);});}}
|
package/src/trackchangesui.d.ts
CHANGED
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
10
|
+
import type { Annotation } from '@ckeditor/ckeditor5-comments';
|
|
10
11
|
import { TrackChangesEditing } from './trackchangesediting.js';
|
|
12
|
+
import { type Suggestion } from './suggestion.js';
|
|
11
13
|
/**
|
|
12
14
|
* Provides UI for track changes plugin.
|
|
13
15
|
*
|
|
@@ -39,6 +41,14 @@ export declare class TrackChangesUI extends Plugin {
|
|
|
39
41
|
* @inheritDoc
|
|
40
42
|
*/
|
|
41
43
|
init(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the annotation associated with the given suggestion.
|
|
46
|
+
*/
|
|
47
|
+
getAnnotationForSuggestion(suggestion: Suggestion): Annotation | null;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the suggestion associated with the given annotation.
|
|
50
|
+
*/
|
|
51
|
+
getSuggestionForAnnotation(annotation: Annotation): Suggestion | null;
|
|
42
52
|
/**
|
|
43
53
|
* @inheritDoc
|
|
44
54
|
*/
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4c11f6=_0x3be6;(function(_0x5969ae,_0x118dd6){const _0x3c02f7=_0x3be6,_0x3b1554=_0x5969ae();while(!![]){try{const _0x4ceedb=-parseInt(_0x3c02f7(0x161))/0x1+parseInt(_0x3c02f7(0x1a6))/0x2*(parseInt(_0x3c02f7(0x114))/0x3)+parseInt(_0x3c02f7(0x117))/0x4*(-parseInt(_0x3c02f7(0x122))/0x5)+-parseInt(_0x3c02f7(0x160))/0x6+parseInt(_0x3c02f7(0x135))/0x7*(parseInt(_0x3c02f7(0x112))/0x8)+-parseInt(_0x3c02f7(0x168))/0x9+parseInt(_0x3c02f7(0x10e))/0xa;if(_0x4ceedb===_0x118dd6)break;else _0x3b1554['push'](_0x3b1554['shift']());}catch(_0x3c764a){_0x3b1554['push'](_0x3b1554['shift']());}}}(_0x448c,0x6191b));import{Plugin as _0x31ca50}from'ckeditor5/src/core.js';import{Collection as _0x5c6d25}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x392722}from'ckeditor5/src/icons.js';function _0x448c(){const _0x2eda6f=['registerAnnotation','isOfficialPlugin','listenTo','_suggestionToController','_handleSuggestionControllerDelayed','createAnnotationView','children','isInContent','Preview\x20final\x20content','trackChangesLicenseKeyValid','_disableComments','comments.maxCommentsWhenCollapsed','mainView','model','commandName','acceptButton','4750296dSxDjn','115090XgPtzp','switchbutton','Discard\x20all\x20suggestions','isOn','_destroyController','TrackChanges','getDescriptions','6268959Zutgbt','expired','trackChanges.SuggestionView','suggestionChanged','suggestionUnloaded','TrackChangesEditing','activeMarkers','comments','_handleControllerBuffer','set','activeAnnotations','change:activeAnnotations','suggestion-','unbind','isDirty','licenseKey','_createToolbarButton','panelView','editor','escape','commentThread','add','isEnabled','trackChangesLicenseKeyNotAllowed','lowest','delegate','from','delete','getByInnerView','length','Annotations','trackChangesLicenseKeyInvalid','value','comments.editorConfig','clear','menu','button','has','trackChanges.SuggestionThreadView','invalid','remove','CommentsUI','acceptSelectedSuggestions','getMarkerNames','Accept\x20all\x20suggestions','_licenseKeyCheckInterval','getAllAdjacentSuggestions','discardSelectedSuggestions','getJoined','comments.maxCommentCharsWhenCollapsed','values','buttonView','CommentView','bind','discardAllSuggestions','featureNotAllowed','_annotationViews','addSourceCollector','source','_updateController','commands','comments.maxThreadTotalWeight','77708gcTRzY','trackChanges.disableComments','filter','descriptionFactory','isPremiumPlugin','fire','destroy','_unbindEditors','trackChangesLicenseKeyDomainLimit','TrackChangesPreview','plugins','size','_showLicenseError','Accept\x20all\x20selected\x20suggestions','pluginName','view','reduce','evaluationLimit','createAnnotation','usageLimit','_viewToController','some','change:previous','TrackChangesUI','24122690mtVjvd','SuggestionThreadView','componentFactory','innerView','564520GTYqsZ','previous','6UPDGzU','getRanges','stopListening','109236FWQhse','locale','acceptAllSuggestions','actionView','push','discardButton','suggestionLoaded','toMany','Discard\x20all\x20selected\x20suggestions','refreshSelectedViews','trialLimit','115hVUIpt','execute','isMultiRange','addComment','_bindAnnotationToEditors','trackChangesLicenseKeyUsageLimit','requires','define','menuitemcheckbox','items','init','addMany','arrowView','trackChangesLicenseKeyExpired','head','Track\x20changes','getSuggestion','editing','menuitem','14tBMQlX','menuBar:trackChanges','domainLimit','focus','separator','keys','previewFinalContent','_addUIComponentsToFactory','commentsListView','SuggestionView','type','config','_initializeController','_refreshActiveMarkers','getMarkers','descriptionParts','getFirstRange','EditorAnnotations','trackChangesLicenseKeyTrialLimit','trackChangesLicenseKeyEvaluationLimit','trackChanges','suggestionView','_createMenuBarMenu','CommentsRepository','createCommentThreadController','hasSuggestion','get'];_0x448c=function(){return _0x2eda6f;};return _0x448c();}import{addListToDropdown as _0x29fe65,createDropdown as _0x266956,ListSeparatorView as _0xc18827,MenuBarMenuView as _0x3fbd1,MenuBarMenuListView as _0x8784e9,MenuBarMenuListItemView as _0x367913,MenuBarMenuListItemButtonView as _0x59e740,SplitButtonView as _0x37cde9,UIModel as _0x3f338c}from'ckeditor5/src/ui.js';import{Users as _0x42b0ba,getDateTimeFormatter as _0x2e00b6,getAllMarkersDomElementsSorted as _0x159367}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x39ae3c}from'./trackchangesediting.js';import{SuggestionController as _0x53de58}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x1319b2}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x40dd68}from'./ui/view/suggestionview.js';function _0x3be6(_0x584794,_0x55fc74){const _0x448ceb=_0x448c();return _0x3be6=function(_0x3be625,_0xfaa060){_0x3be625=_0x3be625-0xf8;let _0x29c0f7=_0x448ceb[_0x3be625];return _0x29c0f7;},_0x3be6(_0x584794,_0x55fc74);}import{getTranslation as _0x5e6fcb}from'./utils/common-translations.js';export class TrackChangesUI extends _0x31ca50{[_0x4c11f6(0x177)];[_0x4c11f6(0x195)];[_0x4c11f6(0x153)];[_0x4c11f6(0x10a)];[_0x4c11f6(0x1a0)];[_0x4c11f6(0x170)];[_0x4c11f6(0x15a)];static get[_0x4c11f6(0x128)](){const _0x498a58=_0x4c11f6;return[_0x39ae3c,_0x42b0ba,_0x498a58(0x14c),_0x498a58(0x186),_0x498a58(0x146)];}static get[_0x4c11f6(0x104)](){const _0x2291d1=_0x4c11f6;return _0x2291d1(0x10d);}static get[_0x4c11f6(0x151)](){return!0x0;}static get[_0x4c11f6(0xfa)](){return!0x0;}constructor(_0x3d0dd0){const _0x346f95=_0x4c11f6;super(_0x3d0dd0),this[_0x346f95(0x153)]=new Map(),this[_0x346f95(0x10a)]=new Map(),this[_0x346f95(0x1a0)]=new Map(),this[_0x346f95(0x170)]=new Map();const _0x26c622=this[_0x346f95(0x17a)][_0x346f95(0x140)];_0x26c622[_0x346f95(0x129)](_0x346f95(0x18e),_0x1319b2),_0x26c622[_0x346f95(0x129)](_0x346f95(0x16a),_0x40dd68),_0x26c622[_0x346f95(0x129)](_0x346f95(0x1a7),!0x1),this[_0x346f95(0x15a)]=_0x26c622[_0x346f95(0x14f)](_0x346f95(0x1a7));}[_0x4c11f6(0x154)](_0x213d3a,_0x29f66f){const _0x190b43=_0x4c11f6;0x0===this[_0x190b43(0x170)][_0x190b43(0x101)]&&setTimeout(()=>{const _0x58d784=_0x190b43;for(const [_0x2085b5,_0x85400e]of this[_0x58d784(0x170)]){const _0x42d009=this[_0x58d784(0x153)][_0x58d784(0x18d)](_0x2085b5);_0x42d009||_0x85400e?_0x42d009&&_0x85400e&&this[_0x58d784(0x165)](_0x2085b5):this[_0x58d784(0x141)](_0x2085b5);}this[_0x58d784(0x170)][_0x58d784(0x18a)](),this[_0x58d784(0x17a)][_0x58d784(0x100)][_0x58d784(0x14f)](_0x58d784(0x146))[_0x58d784(0x120)](),this[_0x58d784(0x142)]();},0xa),this[_0x190b43(0x170)][_0x190b43(0x171)](_0x213d3a,_0x29f66f);}[_0x4c11f6(0x12c)](){const _0x4f36c1=_0x4c11f6,_0x5e502a=this[_0x4f36c1(0x17a)],_0x401e12=_0x5e502a[_0x4f36c1(0x100)][_0x4f36c1(0x14f)](_0x4f36c1(0x16d)),_0x188552=_0x5e502a[_0x4f36c1(0x100)][_0x4f36c1(0x14f)](_0x4f36c1(0x186)),_0x5a7d7d=_0x5e502a[_0x4f36c1(0x100)][_0x4f36c1(0x14f)](_0x4f36c1(0x146)),_0x169845=_0x5e502a[_0x4f36c1(0x100)][_0x4f36c1(0x14f)](_0x4f36c1(0x14c));this[_0x4f36c1(0x13c)](),_0x5a7d7d[_0x4f36c1(0x1a1)](()=>{const _0x2c9a99=_0x4f36c1,_0xfe21bf=[];for(const [_0x6607d2,_0x2f924e]of Array[_0x2c9a99(0x182)](this[_0x2c9a99(0x153)])){const _0x5705c5=_0x6607d2[_0x2c9a99(0x196)](),_0x2125ce=[];for(const _0x56fc35 of _0x5705c5){if(!_0x56fc35[_0x2c9a99(0x157)])continue;if(_0x56fc35[_0x2c9a99(0x124)]){_0x2125ce[_0x2c9a99(0x11b)](..._0x56fc35[_0x2c9a99(0x115)]());continue;}const _0x4a3ed0=_0x56fc35[_0x2c9a99(0x145)]();if(_0x2125ce[_0x2c9a99(0x185)]>0x0){const _0x119243=_0x2125ce[0x0][_0x2c9a99(0x198)](_0x4a3ed0);if(_0x119243){_0x2125ce[0x0]=_0x119243;continue;}}_0x2125ce[_0x2c9a99(0x11b)](_0x4a3ed0);}_0xfe21bf[_0x2c9a99(0x11b)]([_0x2f924e[_0x2c9a99(0x105)],_0x2125ce]);}return _0xfe21bf;}),this[_0x4f36c1(0x152)](_0x401e12,_0x4f36c1(0x11d),(_0x2737bb,_0x5e472b)=>{const _0x56ab3a=_0x4f36c1;this[_0x56ab3a(0x152)](_0x5e472b,_0x56ab3a(0x10c),(_0x290de6,_0x74f294,_0x23d8bd,_0x56b6b9)=>{const _0x586877=_0x56ab3a;_0x5e472b[_0x586877(0x157)]&&(null==_0x23d8bd?(this[_0x586877(0x1a3)](_0x56b6b9[_0x586877(0x130)]),this[_0x586877(0x154)](_0x5e472b,!0x1)):(this[_0x586877(0x1a3)](_0x23d8bd[_0x586877(0x130)]),null==_0x56b6b9&&this[_0x586877(0x154)](_0x5e472b,!0x0)));}),null!==_0x5e472b[_0x56ab3a(0x113)]?this[_0x56ab3a(0x1a3)](_0x5e472b[_0x56ab3a(0x130)]):this[_0x56ab3a(0x154)](_0x5e472b,!0x1);}),this[_0x4f36c1(0x152)](_0x401e12,_0x4f36c1(0x16c),(_0x14b787,_0x5447d8,_0x515596)=>{const _0x158741=_0x4f36c1;this[_0x158741(0x116)](_0x5447d8,_0x158741(0x10c)),this[_0x158741(0x170)][_0x158741(0x183)](_0x5447d8),this[_0x158741(0x153)][_0x158741(0x18d)](_0x5447d8)&&this[_0x158741(0x165)](_0x5447d8),_0x515596&&this[_0x158741(0x1a3)](_0x515596[_0x158741(0x130)]);}),this[_0x4f36c1(0x152)](_0x401e12,_0x4f36c1(0x16b),(_0x5cb39c,_0x495234)=>{const _0x4658bb=_0x4f36c1;this[_0x4658bb(0x1a3)](_0x495234);}),this[_0x4f36c1(0x152)](_0x188552,_0x4f36c1(0x173),()=>{const _0x122b6e=_0x4f36c1;this[_0x122b6e(0x142)]();}),this[_0x4f36c1(0x152)](_0x169845,_0x4f36c1(0x125),(_0x2639ed,{threadId:_0x55adde,isFromAdapter:_0x53f484})=>{const _0x347215=_0x4f36c1;if(_0x53f484||!_0x401e12[_0x347215(0x14e)](_0x55adde))return;const _0x5277c2=_0x401e12[_0x347215(0x132)](_0x55adde);this[_0x347215(0x153)][_0x347215(0x14f)](_0x5277c2)[_0x347215(0x105)][_0x347215(0x13d)][_0x347215(0x138)](-0x1);},{'priority':_0x4f36c1(0x180)}),this[_0x4f36c1(0x177)]=this[_0x4f36c1(0x17a)][_0x4f36c1(0x140)][_0x4f36c1(0x14f)](_0x4f36c1(0x177));const _0xe46dd3=this[_0x4f36c1(0x17a)];this[_0x4f36c1(0x195)]=setInterval(()=>{const _0x339e65=_0x4f36c1;let _0xa75fd5;for(const _0xdb44b9 in _0xe46dd3){const _0x1139a7=_0xdb44b9,_0x3c91f5=_0xe46dd3[_0x1139a7];if(_0x339e65(0x159)==_0x3c91f5||_0x339e65(0x187)==_0x3c91f5||_0x339e65(0x12f)==_0x3c91f5||_0x339e65(0xfe)==_0x3c91f5||_0x339e65(0x17f)==_0x3c91f5||_0x339e65(0x148)==_0x3c91f5||_0x339e65(0x147)==_0x3c91f5||_0x339e65(0x127)==_0x3c91f5){delete _0xe46dd3[_0x1139a7],_0xa75fd5=_0x3c91f5,clearInterval(this[_0x339e65(0x195)]),this[_0x339e65(0x195)]=void 0x0;break;}}_0x339e65(0x187)==_0xa75fd5&&_0xe46dd3[_0x339e65(0x102)](_0x339e65(0x18f)),_0x339e65(0x12f)==_0xa75fd5&&_0xe46dd3[_0x339e65(0x102)](_0x339e65(0x169)),_0x339e65(0xfe)==_0xa75fd5&&_0xe46dd3[_0x339e65(0x102)](_0x339e65(0x137)),_0x339e65(0x17f)==_0xa75fd5&&_0xe46dd3[_0x339e65(0x102)](_0x339e65(0x19f),_0x339e65(0x166)),_0x339e65(0x148)==_0xa75fd5&&_0xe46dd3[_0x339e65(0x102)](_0x339e65(0x107)),_0x339e65(0x147)==_0xa75fd5&&_0xe46dd3[_0x339e65(0x102)](_0x339e65(0x121)),_0x339e65(0x127)==_0xa75fd5&&_0xe46dd3[_0x339e65(0x102)](_0x339e65(0x109));},0x3e8);}[_0x4c11f6(0x142)](){const _0x6d4856=_0x4c11f6,_0x52bd7f=this[_0x6d4856(0x17a)][_0x6d4856(0x100)][_0x6d4856(0x14f)](_0x6d4856(0x186)),_0x1aa23b=this[_0x6d4856(0x17a)][_0x6d4856(0x100)][_0x6d4856(0x14f)](_0x6d4856(0x16d)),_0x4853df=Array[_0x6d4856(0x182)](_0x52bd7f[_0x6d4856(0x172)],_0x56c5aa=>_0x56c5aa[_0x6d4856(0x111)])[_0x6d4856(0xf8)](_0x55a86e=>this[_0x6d4856(0x10a)][_0x6d4856(0x18d)](_0x55a86e)),_0x2743be=[];for(const _0x538eaf of _0x4853df){const _0x3d84b9=this[_0x6d4856(0x10a)][_0x6d4856(0x14f)](_0x538eaf)[_0x6d4856(0x15d)][_0x6d4856(0x196)]();_0x2743be[_0x6d4856(0x11b)](..._0x3d84b9[_0x6d4856(0x106)]((_0x929723,_0x4f1bd2)=>[..._0x929723,..._0x4f1bd2[_0x6d4856(0x193)]()],[]));}_0x1aa23b[_0x6d4856(0x16e)]=_0x2743be;}[_0x4c11f6(0x13c)](){const _0x11fd5e=_0x4c11f6,_0x4f241d=this[_0x11fd5e(0x17a)],_0x4bb867=_0x4f241d[_0x11fd5e(0x118)],_0x3b0165=_0x5e6fcb(_0x4bb867,_0x11fd5e(0x131)),_0x4f08f5=new _0x5c6d25([{'type':_0x11fd5e(0x162),'model':new _0x3f338c({'withText':!0x0,'isToggleable':!0x0,'label':_0x3b0165,'commandName':_0x11fd5e(0x149),'role':_0x11fd5e(0x12a)})},{'type':_0x11fd5e(0x139)},{'type':_0x11fd5e(0x18c),'model':new _0x3f338c({'withText':!0x0,'label':_0x5e6fcb(_0x4bb867,_0x11fd5e(0x194)),'commandName':_0x11fd5e(0x119),'role':_0x11fd5e(0x134)})},{'type':_0x11fd5e(0x18c),'model':new _0x3f338c({'withText':!0x0,'label':_0x5e6fcb(_0x4bb867,_0x11fd5e(0x103)),'commandName':_0x11fd5e(0x192),'role':_0x11fd5e(0x134)})},{'type':_0x11fd5e(0x18c),'model':new _0x3f338c({'withText':!0x0,'label':_0x5e6fcb(_0x4bb867,_0x11fd5e(0x163)),'commandName':_0x11fd5e(0x19e),'role':_0x11fd5e(0x134)})},{'type':_0x11fd5e(0x18c),'model':new _0x3f338c({'withText':!0x0,'label':_0x5e6fcb(_0x4bb867,_0x11fd5e(0x11f)),'commandName':_0x11fd5e(0x197),'role':_0x11fd5e(0x134)})}]);_0x4f241d[_0x11fd5e(0x100)][_0x11fd5e(0x18d)](_0x11fd5e(0xff))&&_0x4f08f5[_0x11fd5e(0x12d)]([{'type':_0x11fd5e(0x139)},{'type':_0x11fd5e(0x18c),'model':new _0x3f338c({'withText':!0x0,'label':_0x5e6fcb(_0x4bb867,_0x11fd5e(0x158)),'commandName':_0x11fd5e(0x13b),'role':_0x11fd5e(0x134)})}]);for(const _0x2e9ad3 of _0x4f08f5)if(ke(_0x2e9ad3)){const _0x2583eb=_0x4f241d[_0x11fd5e(0x1a4)][_0x11fd5e(0x14f)](_0x2e9ad3[_0x11fd5e(0x15d)][_0x11fd5e(0x15e)]);_0x2e9ad3[_0x11fd5e(0x15d)][_0x11fd5e(0x19d)](_0x11fd5e(0x164),_0x11fd5e(0x17e))['to'](_0x2583eb,_0x11fd5e(0x188),_0x11fd5e(0x17e));}_0x4f241d['ui'][_0x11fd5e(0x110)][_0x11fd5e(0x17d)](_0x11fd5e(0x149),_0x487691=>this[_0x11fd5e(0x178)](_0x487691,_0x4f08f5,_0x3b0165)),_0x4f241d['ui'][_0x11fd5e(0x110)][_0x11fd5e(0x17d)](_0x11fd5e(0x136),_0x3f6bdc=>this[_0x11fd5e(0x14b)](_0x3f6bdc,_0x4f08f5,_0x3b0165));}[_0x4c11f6(0x178)](_0x35217f,_0x36d11a,_0x148f2d){const _0x4d2a1a=_0x4c11f6,_0x243e60=_0x266956(_0x35217f,_0x37cde9),_0x5c4ecf=this[_0x4d2a1a(0x17a)][_0x4d2a1a(0x1a4)][_0x4d2a1a(0x14f)](_0x4d2a1a(0x149));_0x243e60[_0x4d2a1a(0x19b)][_0x4d2a1a(0x171)]({'tooltip':_0x148f2d,'label':_0x148f2d,'icon':_0x392722}),_0x243e60[_0x4d2a1a(0x19b)][_0x4d2a1a(0x19d)](_0x4d2a1a(0x164))['to'](_0x5c4ecf,_0x4d2a1a(0x188)),_0x243e60[_0x4d2a1a(0x19b)]['on'](_0x4d2a1a(0x123),()=>{const _0x389036=_0x4d2a1a;_0x5c4ecf[_0x389036(0x123)](),this[_0x389036(0x17a)][_0x389036(0x133)][_0x389036(0x105)][_0x389036(0x138)]();}),_0x29fe65(_0x243e60,_0x36d11a,{'role':_0x4d2a1a(0x18b)});const _0x3f0850=[];for(const _0x4f8b5a of _0x36d11a)ke(_0x4f8b5a)&&_0x3f0850[_0x4d2a1a(0x11b)](this[_0x4d2a1a(0x17a)][_0x4d2a1a(0x1a4)][_0x4d2a1a(0x14f)](_0x4f8b5a[_0x4d2a1a(0x15d)][_0x4d2a1a(0x15e)]));const _0x1c80e7=_0x243e60[_0x4d2a1a(0x19b)];return _0x1c80e7[_0x4d2a1a(0x11a)][_0x4d2a1a(0x175)](_0x4d2a1a(0x17e)),_0x1c80e7[_0x4d2a1a(0x12e)][_0x4d2a1a(0x175)](_0x4d2a1a(0x17e)),_0x1c80e7[_0x4d2a1a(0x11a)][_0x4d2a1a(0x19d)](_0x4d2a1a(0x17e))['to'](_0x5c4ecf,_0x4d2a1a(0x17e)),_0x1c80e7[_0x4d2a1a(0x12e)][_0x4d2a1a(0x19d)](_0x4d2a1a(0x17e))[_0x4d2a1a(0x11e)](_0x3f0850,_0x4d2a1a(0x17e),(..._0xcdba7f)=>_0xcdba7f[_0x4d2a1a(0x10b)](_0x41e3cb=>_0x41e3cb)),_0x243e60['on'](_0x4d2a1a(0x123),_0x56ea69=>{const _0x4639f5=_0x4d2a1a;this[_0x4639f5(0x17a)][_0x4639f5(0x123)](_0x56ea69[_0x4639f5(0x1a2)][_0x4639f5(0x15e)]),this[_0x4639f5(0x17a)][_0x4639f5(0x133)][_0x4639f5(0x105)][_0x4639f5(0x138)]();}),_0x243e60;}[_0x4c11f6(0x14b)](_0x3362e8,_0x46efa7,_0x3133ef){const _0x5ab174=_0x4c11f6,_0x5d6468=new _0x3fbd1(_0x3362e8),_0x257b6b=this[_0x5ab174(0x17a)][_0x5ab174(0x1a4)][_0x5ab174(0x14f)](_0x5ab174(0x149));_0x5d6468[_0x5ab174(0x19b)][_0x5ab174(0x171)]({'label':_0x3133ef,'icon':_0x392722});const _0x46a176=new _0x8784e9(_0x3362e8);for(const _0x5497f3 of _0x46efa7){if(_0x5ab174(0x139)==_0x5497f3[_0x5ab174(0x13f)]){_0x46a176[_0x5ab174(0x12b)][_0x5ab174(0x17d)](new _0xc18827(_0x3362e8));continue;}const _0x35c36a=new _0x367913(_0x3362e8,_0x5d6468),_0x50c8c8=new _0x59e740(_0x3362e8),_0xd03587=_0x5497f3[_0x5ab174(0x15d)];_0x50c8c8[_0x5ab174(0x19d)](...Object[_0x5ab174(0x13a)](_0xd03587))['to'](_0xd03587),_0x50c8c8[_0x5ab174(0x181)](_0x5ab174(0x123))['to'](_0x5d6468),_0x50c8c8['on'](_0x5ab174(0x123),()=>{const _0x5a921f=_0x5ab174;this[_0x5a921f(0x17a)][_0x5a921f(0x123)](_0xd03587[_0x5a921f(0x15e)]),this[_0x5a921f(0x17a)][_0x5a921f(0x133)][_0x5a921f(0x105)][_0x5a921f(0x138)]();}),_0x35c36a[_0x5ab174(0x156)][_0x5ab174(0x17d)](_0x50c8c8),_0x46a176[_0x5ab174(0x12b)][_0x5ab174(0x17d)](_0x35c36a);}return _0x5d6468[_0x5ab174(0x19d)](_0x5ab174(0x17e))['to'](_0x257b6b,_0x5ab174(0x17e)),_0x5d6468[_0x5ab174(0x179)][_0x5ab174(0x156)][_0x5ab174(0x17d)](_0x46a176),_0x5d6468;}[_0x4c11f6(0x141)](_0x2cf1c1){const _0x52f576=_0x4c11f6,_0x47a008=this[_0x52f576(0x17a)],_0x2ed1f9=_0x47a008[_0x52f576(0x140)],_0x4333f2=_0x47a008[_0x52f576(0x100)][_0x52f576(0x14f)](_0x52f576(0x186)),_0x9d3e4a=_0x47a008[_0x52f576(0x100)][_0x52f576(0x14f)](_0x52f576(0x14c)),_0x33734f=_0x47a008[_0x52f576(0x100)][_0x52f576(0x14f)](_0x52f576(0x146)),_0x5971df=_0x47a008[_0x52f576(0x100)][_0x52f576(0x14f)](_0x42b0ba)['me'],_0x3c8f7b=_0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x149))[_0x52f576(0x10f)],_0x5c92db=_0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x149))[_0x52f576(0x13e)],{CommentsListView:_0xeecc1b,CommentThreadInputView:_0x25494d}=_0x47a008[_0x52f576(0x100)][_0x52f576(0x14f)](_0x52f576(0x191));let _0x596aab,_0x411bd7,_0x38386a;this[_0x52f576(0x1a0)][_0x52f576(0x18d)](_0x2cf1c1['id'])?(_0x411bd7=this[_0x52f576(0x1a0)][_0x52f576(0x14f)](_0x2cf1c1['id']),_0x596aab=_0x411bd7[_0x52f576(0x15c)]):(_0x596aab=new _0x3c8f7b(_0x47a008[_0x52f576(0x118)],_0x2cf1c1,_0x5971df,{'disableComments':this[_0x52f576(0x15a)],'editorConfig':{..._0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x189)),'licenseKey':_0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x177))},'maxCommentsWhenCollapsed':_0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x15b)),'maxThreadTotalWeight':_0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x1a5)),'maxCommentCharsWhenCollapsed':_0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x199)),'formatDateTime':_0x2e00b6(_0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x118)),_0x47a008[_0x52f576(0x118)]),'CommentView':_0x2ed1f9[_0x52f576(0x14f)](_0x52f576(0x16f))[_0x52f576(0x19c)],'CommentsListView':_0xeecc1b,'CommentThreadInputView':_0x25494d,'SuggestionView':_0x5c92db}),_0x596aab[_0x52f576(0x14a)][_0x52f576(0x15f)]['on'](_0x52f576(0x123),()=>{const _0x1d2fa8=_0x52f576;_0x47a008[_0x1d2fa8(0x133)][_0x1d2fa8(0x105)][_0x1d2fa8(0x138)]();}),_0x596aab[_0x52f576(0x14a)][_0x52f576(0x11c)]['on'](_0x52f576(0x123),()=>{const _0x597b00=_0x52f576;_0x47a008[_0x597b00(0x133)][_0x597b00(0x105)][_0x597b00(0x138)]();}),_0x411bd7=_0x4333f2[_0x52f576(0x155)](this[_0x52f576(0x17a)][_0x52f576(0x118)],_0x596aab),_0x411bd7[_0x52f576(0x19d)](_0x52f576(0x176))['to'](_0x596aab,_0x52f576(0x176)),_0x411bd7[_0x52f576(0x19d)](_0x52f576(0x185))['to'](_0x596aab),_0x411bd7[_0x52f576(0x19d)](_0x52f576(0x13f))['to'](_0x596aab,_0x52f576(0x13f),_0x591fe5=>_0x52f576(0x174)+_0x591fe5),_0x596aab['on'](_0x52f576(0x17b),()=>{const _0x495f89=_0x52f576;_0x38386a[_0x495f89(0xfb)](_0x495f89(0x17b));}),this[_0x52f576(0x1a0)][_0x52f576(0x171)](_0x2cf1c1['id'],_0x411bd7));const _0x29ebe5=_0x9d3e4a[_0x52f576(0x14d)](_0x2cf1c1[_0x52f576(0x17c)],_0x596aab),_0x4907d6=new _0x53de58(_0x47a008,_0x2cf1c1,_0x596aab,_0x29ebe5),_0x1268d4=_0x2cf1c1[_0x52f576(0x196)]()[_0x52f576(0xf8)](_0x34abb5=>_0x34abb5[_0x52f576(0x157)]);_0x596aab[_0x52f576(0x144)]=_0x47a008[_0x52f576(0x100)][_0x52f576(0x14f)](_0x52f576(0x16d))[_0x52f576(0xf9)][_0x52f576(0x167)](_0x1268d4),this[_0x52f576(0x153)][_0x52f576(0x171)](_0x2cf1c1,_0x4907d6),this[_0x52f576(0x10a)][_0x52f576(0x171)](_0x596aab,_0x4907d6),_0x38386a=_0x4333f2[_0x52f576(0x108)]({'view':_0x411bd7,'target':()=>{const _0x1492db=_0x52f576,_0x1d70cb=[],_0x27a53b=_0x2cf1c1[_0x1492db(0x196)]()[_0x1492db(0xf8)](_0x5b3159=>_0x5b3159[_0x1492db(0x157)]);for(const _0x90d099 of _0x27a53b)_0x1d70cb[_0x1492db(0x11b)](..._0x90d099[_0x1492db(0x143)]());return _0x159367(_0x47a008[_0x1492db(0x133)],_0x1d70cb);},'type':()=>_0x52f576(0x174)+_0x4907d6[_0x52f576(0x105)][_0x52f576(0x13f)]}),_0x9d3e4a[_0x52f576(0x126)](_0x596aab,_0x38386a),_0x4333f2[_0x52f576(0x17d)](_0x38386a),_0x33734f[_0x52f576(0x150)](_0x38386a);}[_0x4c11f6(0x165)](_0x50e86f){const _0x2b10a9=_0x4c11f6,_0x40f049=this[_0x2b10a9(0x17a)][_0x2b10a9(0x100)][_0x2b10a9(0x14f)](_0x2b10a9(0x14c)),_0x59c608=this[_0x2b10a9(0x17a)][_0x2b10a9(0x100)][_0x2b10a9(0x14f)](_0x2b10a9(0x186)),_0x2360bf=this[_0x2b10a9(0x153)][_0x2b10a9(0x14f)](_0x50e86f),_0x53b29c=_0x2360bf[_0x2b10a9(0x105)],_0x550ef2=_0x59c608[_0x2b10a9(0x184)](_0x53b29c);_0x40f049[_0x2b10a9(0xfd)](_0x53b29c),_0x550ef2&&_0x59c608[_0x2b10a9(0x190)](_0x550ef2),this[_0x2b10a9(0x153)][_0x2b10a9(0x183)](_0x50e86f),this[_0x2b10a9(0x10a)][_0x2b10a9(0x183)](_0x53b29c),_0x2360bf[_0x2b10a9(0xfc)]();}[_0x4c11f6(0x1a3)](_0x38eb1f){const _0x4c6c2b=_0x4c11f6;if(!_0x38eb1f[_0x4c6c2b(0x157)]||!this[_0x4c6c2b(0x153)][_0x4c6c2b(0x18d)](_0x38eb1f))return;const _0x302dae=this[_0x4c6c2b(0x17a)][_0x4c6c2b(0x100)][_0x4c6c2b(0x14f)](_0x4c6c2b(0x16d)),_0x5fd54f=this[_0x4c6c2b(0x153)][_0x4c6c2b(0x14f)](_0x38eb1f),_0x3284ce=_0x38eb1f[_0x4c6c2b(0x196)]();_0x5fd54f[_0x4c6c2b(0x105)][_0x4c6c2b(0x144)]=_0x302dae[_0x4c6c2b(0xf9)][_0x4c6c2b(0x167)](_0x3284ce);}[_0x4c11f6(0xfc)](){const _0x4a1888=_0x4c11f6;for(const _0x113a75 of this[_0x4a1888(0x153)][_0x4a1888(0x13a)]())this[_0x4a1888(0x165)](_0x113a75);for(const _0x713966 of this[_0x4a1888(0x1a0)][_0x4a1888(0x19a)]())_0x713966[_0x4a1888(0x15c)][_0x4a1888(0xfc)]();super[_0x4a1888(0xfc)](),this[_0x4a1888(0x195)]&&clearInterval(this[_0x4a1888(0x195)]);}}function ke(_0x4f11b6){const _0x49ce77=_0x4c11f6;return _0x49ce77(0x15d)in _0x4f11b6;}
|
|
23
|
+
const _0x456e02=_0x6391;(function(_0x3fb280,_0x2e6d0e){const _0xf69d12=_0x6391,_0x54dacb=_0x3fb280();while(!![]){try{const _0x2e7f85=parseInt(_0xf69d12(0x26b))/0x1*(parseInt(_0xf69d12(0x20b))/0x2)+parseInt(_0xf69d12(0x267))/0x3*(-parseInt(_0xf69d12(0x21b))/0x4)+-parseInt(_0xf69d12(0x1ef))/0x5*(-parseInt(_0xf69d12(0x229))/0x6)+-parseInt(_0xf69d12(0x223))/0x7*(parseInt(_0xf69d12(0x28d))/0x8)+-parseInt(_0xf69d12(0x206))/0x9*(parseInt(_0xf69d12(0x276))/0xa)+-parseInt(_0xf69d12(0x24d))/0xb+-parseInt(_0xf69d12(0x282))/0xc*(-parseInt(_0xf69d12(0x1f2))/0xd);if(_0x2e7f85===_0x2e6d0e)break;else _0x54dacb['push'](_0x54dacb['shift']());}catch(_0x39fd17){_0x54dacb['push'](_0x54dacb['shift']());}}}(_0x4c92,0xe9969));function _0x4c92(){const _0x420617=['arrowView','from','domainLimit','_bindAnnotationToEditors','getSuggestion','focus','editor','fire','CommentsRepository','_initializeController','comments.editorConfig','comments','trackChangesLicenseKeyExpired','comments.maxCommentsWhenCollapsed','trackChanges','menuitem','1349604YxFPtM','buttonView','_showLicenseError','suggestion-','commands','1642qDKFja','execute','Accept\x20all\x20suggestions','isInContent','getFirstRange','trackChangesLicenseKeyEvaluationLimit','change:activeAnnotations','commentThread','filter','locale','reduce','menu','define','push','source','escape','579068PwkQGp','acceptAllSuggestions','TrackChangesEditing','set','TrackChanges','addComment','Accept\x20all\x20selected\x20suggestions','length','1778eWiWIe','delete','_destroyController','CommentsUI','getByInnerView','_viewToController','2272194Hdepnd','featureNotAllowed','delegate','menuBar:trackChanges','isPremiumPlugin','commentsListView','children','SuggestionThreadView','values','destroy','_licenseKeyCheckInterval','trackChangesLicenseKeyInvalid','value','_addUIComponentsToFactory','requires','comments.maxCommentCharsWhenCollapsed','suggestionUnloaded','componentFactory','EditorAnnotations','_updateController','trackChanges.SuggestionView','SuggestionView','trackChangesLicenseKeyTrialLimit','button','trialLimit','addSourceCollector','isMultiRange','getMarkers','type','get','createCommentThreadController','view','items','getMarkerNames','Discard\x20all\x20suggestions','usageLimit','2286306rBDpNM','getAnnotationForSuggestion','isEnabled','activeMarkers','_annotationViews','isOfficialPlugin','stopListening','panelView','previewFinalContent','TrackChangesUI','change:previous','toMany','invalid','TrackChangesPreview','descriptionParts','previous','commandName','Track\x20changes','innerView','_handleControllerBuffer','getDescriptions','separator','suggestionLoaded','evaluationLimit','licenseKey','refreshSelectedViews','21qRNeET','trackChangesLicenseKeyValid','discardAllSuggestions','config','2185PySSRR','Annotations','comments.maxThreadTotalWeight','CommentView','init','hasSuggestion','mainView','isOn','actionView','trackChanges.SuggestionThreadView','remove','70zWoEKr','unbind','addMany','some','listenTo','_handleSuggestionControllerDelayed','trackChangesLicenseKeyNotAllowed','Preview\x20final\x20content','pluginName','lowest','createAnnotation','getJoined','24wpEyYT','_refreshActiveMarkers','model','size','_suggestionToController','isDirty','createAnnotationView','acceptSelectedSuggestions','plugins','expired','bind','24080eJfPcJ','editing','trackChangesLicenseKeyDomainLimit','menuitemcheckbox','getAllAdjacentSuggestions','clear','activeAnnotations','getSuggestionForAnnotation','add','_unbindEditors','_createMenuBarMenu','_createToolbarButton','head','suggestionChanged','acceptButton','registerAnnotation','has','_disableComments','keys','trackChangesLicenseKeyUsageLimit','getRanges','switchbutton','descriptionFactory','15TLLBWR','trackChanges.disableComments','discardButton','6904573NlmkqL','suggestionView','discardSelectedSuggestions','Discard\x20all\x20selected\x20suggestions'];_0x4c92=function(){return _0x420617;};return _0x4c92();}import{Plugin as _0x189407}from'ckeditor5/src/core.js';import{Collection as _0x339d5b}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x4ef19d}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xefbbf5,createDropdown as _0x4a5edc,ListSeparatorView as _0x36d0f6,MenuBarMenuView as _0x32d7f1,MenuBarMenuListView as _0x1635d9,MenuBarMenuListItemView as _0x4962b2,MenuBarMenuListItemButtonView as _0x2fb752,SplitButtonView as _0xa0a3c3,UIModel as _0x548221}from'ckeditor5/src/ui.js';import{Users as _0x1812e2,getDateTimeFormatter as _0x42efb7,getAllMarkersDomElementsSorted as _0x239b6e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x546f71}from'./trackchangesediting.js';import{SuggestionController as _0xb6b208}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x3f0448}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1cc70c}from'./ui/view/suggestionview.js';import{getTranslation as _0x3a973d}from'./utils/common-translations.js';function _0x6391(_0x275cff,_0x5401fe){const _0x4c92a4=_0x4c92();return _0x6391=function(_0x639136,_0x3476ea){_0x639136=_0x639136-0x1e9;let _0x49064c=_0x4c92a4[_0x639136];return _0x49064c;},_0x6391(_0x275cff,_0x5401fe);}export class TrackChangesUI extends _0x189407{[_0x456e02(0x265)];[_0x456e02(0x233)];[_0x456e02(0x286)];[_0x456e02(0x228)];[_0x456e02(0x251)];[_0x456e02(0x260)];[_0x456e02(0x1e9)];static get[_0x456e02(0x237)](){const _0x45b8b2=_0x456e02;return[_0x546f71,_0x1812e2,_0x45b8b2(0x1fe),_0x45b8b2(0x26c),_0x45b8b2(0x23b)];}static get[_0x456e02(0x27e)](){const _0x35bfe3=_0x456e02;return _0x35bfe3(0x256);}static get[_0x456e02(0x252)](){return!0x0;}static get[_0x456e02(0x22d)](){return!0x0;}constructor(_0xc134e8){const _0x15aabb=_0x456e02;super(_0xc134e8),this[_0x15aabb(0x286)]=new Map(),this[_0x15aabb(0x228)]=new Map(),this[_0x15aabb(0x251)]=new Map(),this[_0x15aabb(0x260)]=new Map();const _0x54088c=this[_0x15aabb(0x1fc)][_0x15aabb(0x26a)];_0x54088c[_0x15aabb(0x217)](_0x15aabb(0x274),_0x3f0448),_0x54088c[_0x15aabb(0x217)](_0x15aabb(0x23d),_0x1cc70c),_0x54088c[_0x15aabb(0x217)](_0x15aabb(0x1f0),!0x1),this[_0x15aabb(0x1e9)]=_0x54088c[_0x15aabb(0x246)](_0x15aabb(0x1f0));}[_0x456e02(0x27b)](_0x33d9c2,_0x4055b5){const _0x38eb04=_0x456e02;0x0===this[_0x38eb04(0x260)][_0x38eb04(0x285)]&&setTimeout(()=>{const _0x338962=_0x38eb04;for(const [_0x2bf6d8,_0x2eeb4c]of this[_0x338962(0x260)]){const _0x184b9c=this[_0x338962(0x286)][_0x338962(0x29d)](_0x2bf6d8);_0x184b9c||_0x2eeb4c?_0x184b9c&&_0x2eeb4c&&this[_0x338962(0x225)](_0x2bf6d8):this[_0x338962(0x1ff)](_0x2bf6d8);}this[_0x338962(0x260)][_0x338962(0x292)](),this[_0x338962(0x1fc)][_0x338962(0x28a)][_0x338962(0x246)](_0x338962(0x23b))[_0x338962(0x266)](),this[_0x338962(0x283)]();},0xa),this[_0x38eb04(0x260)][_0x38eb04(0x21e)](_0x33d9c2,_0x4055b5);}[_0x456e02(0x26f)](){const _0x9c526f=_0x456e02,_0x59dac2=this[_0x9c526f(0x1fc)],_0x47104c=_0x59dac2[_0x9c526f(0x28a)][_0x9c526f(0x246)](_0x9c526f(0x21d)),_0x5b544e=_0x59dac2[_0x9c526f(0x28a)][_0x9c526f(0x246)](_0x9c526f(0x26c)),_0x4bc024=_0x59dac2[_0x9c526f(0x28a)][_0x9c526f(0x246)](_0x9c526f(0x23b)),_0x26346c=_0x59dac2[_0x9c526f(0x28a)][_0x9c526f(0x246)](_0x9c526f(0x1fe));this[_0x9c526f(0x236)](),_0x4bc024[_0x9c526f(0x242)](()=>{const _0x10d32c=_0x9c526f,_0x277b80=[];for(const [_0x539390,_0x3df292]of Array[_0x10d32c(0x1f7)](this[_0x10d32c(0x286)])){const _0x183297=_0x539390[_0x10d32c(0x291)](),_0x1e6219=[];for(const _0x54fad0 of _0x183297){if(!_0x54fad0[_0x10d32c(0x20e)])continue;if(_0x54fad0[_0x10d32c(0x243)]){_0x1e6219[_0x10d32c(0x218)](..._0x54fad0[_0x10d32c(0x1ec)]());continue;}const _0xc217fd=_0x54fad0[_0x10d32c(0x20f)]();if(_0x1e6219[_0x10d32c(0x222)]>0x0){const _0x2cb509=_0x1e6219[0x0][_0x10d32c(0x281)](_0xc217fd);if(_0x2cb509){_0x1e6219[0x0]=_0x2cb509;continue;}}_0x1e6219[_0x10d32c(0x218)](_0xc217fd);}_0x277b80[_0x10d32c(0x218)]([_0x3df292[_0x10d32c(0x248)],_0x1e6219]);}return _0x277b80;}),this[_0x9c526f(0x27a)](_0x47104c,_0x9c526f(0x263),(_0x1e1422,_0x4ffe66)=>{const _0x176fe1=_0x9c526f;this[_0x176fe1(0x27a)](_0x4ffe66,_0x176fe1(0x257),(_0x4d3c68,_0x5e478a,_0x110b66,_0x5e97c0)=>{const _0x15eaa5=_0x176fe1;_0x4ffe66[_0x15eaa5(0x20e)]&&(null==_0x110b66?(this[_0x15eaa5(0x23c)](_0x5e97c0[_0x15eaa5(0x299)]),this[_0x15eaa5(0x27b)](_0x4ffe66,!0x1)):(this[_0x15eaa5(0x23c)](_0x110b66[_0x15eaa5(0x299)]),null==_0x5e97c0&&this[_0x15eaa5(0x27b)](_0x4ffe66,!0x0)));}),null!==_0x4ffe66[_0x176fe1(0x25c)]?this[_0x176fe1(0x23c)](_0x4ffe66[_0x176fe1(0x299)]):this[_0x176fe1(0x27b)](_0x4ffe66,!0x1);}),this[_0x9c526f(0x27a)](_0x47104c,_0x9c526f(0x239),(_0x3ee749,_0x187ff1,_0x276f07)=>{const _0x53dd8c=_0x9c526f;this[_0x53dd8c(0x253)](_0x187ff1,_0x53dd8c(0x257)),this[_0x53dd8c(0x260)][_0x53dd8c(0x224)](_0x187ff1),this[_0x53dd8c(0x286)][_0x53dd8c(0x29d)](_0x187ff1)&&this[_0x53dd8c(0x225)](_0x187ff1),_0x276f07&&this[_0x53dd8c(0x23c)](_0x276f07[_0x53dd8c(0x299)]);}),this[_0x9c526f(0x27a)](_0x47104c,_0x9c526f(0x29a),(_0x539b8d,_0x3ac66e)=>{const _0xd6526d=_0x9c526f;this[_0xd6526d(0x23c)](_0x3ac66e);}),this[_0x9c526f(0x27a)](_0x5b544e,_0x9c526f(0x211),()=>{const _0x29c93e=_0x9c526f;this[_0x29c93e(0x283)]();}),this[_0x9c526f(0x27a)](_0x26346c,_0x9c526f(0x220),(_0xd608b3,{threadId:_0x124ce6,isFromAdapter:_0x41c05e})=>{const _0x506748=_0x9c526f;if(_0x41c05e||!_0x47104c[_0x506748(0x270)](_0x124ce6))return;const _0x26dbe0=_0x47104c[_0x506748(0x1fa)](_0x124ce6);this[_0x506748(0x286)][_0x506748(0x246)](_0x26dbe0)[_0x506748(0x248)][_0x506748(0x22e)][_0x506748(0x1fb)](-0x1);},{'priority':_0x9c526f(0x27f)}),this[_0x9c526f(0x265)]=this[_0x9c526f(0x1fc)][_0x9c526f(0x26a)][_0x9c526f(0x246)](_0x9c526f(0x265));const _0x162b42=this[_0x9c526f(0x1fc)];this[_0x9c526f(0x233)]=setInterval(()=>{const _0x87896=_0x9c526f;let _0x452c47;for(const _0x294c0d in _0x162b42){const _0x1da37a=_0x294c0d,_0x550fa5=_0x162b42[_0x1da37a];if(_0x87896(0x268)==_0x550fa5||_0x87896(0x234)==_0x550fa5||_0x87896(0x202)==_0x550fa5||_0x87896(0x28f)==_0x550fa5||_0x87896(0x27c)==_0x550fa5||_0x87896(0x210)==_0x550fa5||_0x87896(0x23f)==_0x550fa5||_0x87896(0x1eb)==_0x550fa5){delete _0x162b42[_0x1da37a],_0x452c47=_0x550fa5,clearInterval(this[_0x87896(0x233)]),this[_0x87896(0x233)]=void 0x0;break;}}_0x87896(0x234)==_0x452c47&&_0x162b42[_0x87896(0x208)](_0x87896(0x259)),_0x87896(0x202)==_0x452c47&&_0x162b42[_0x87896(0x208)](_0x87896(0x28b)),_0x87896(0x28f)==_0x452c47&&_0x162b42[_0x87896(0x208)](_0x87896(0x1f8)),_0x87896(0x27c)==_0x452c47&&_0x162b42[_0x87896(0x208)](_0x87896(0x22a),_0x87896(0x21f)),_0x87896(0x210)==_0x452c47&&_0x162b42[_0x87896(0x208)](_0x87896(0x264)),_0x87896(0x23f)==_0x452c47&&_0x162b42[_0x87896(0x208)](_0x87896(0x241)),_0x87896(0x1eb)==_0x452c47&&_0x162b42[_0x87896(0x208)](_0x87896(0x24c));},0x3e8);}[_0x456e02(0x24e)](_0x44bb6a){const _0x303050=_0x456e02,_0x16e1d1=this[_0x303050(0x286)][_0x303050(0x246)](_0x44bb6a);if(!_0x16e1d1)return null;return this[_0x303050(0x1fc)][_0x303050(0x28a)][_0x303050(0x246)](_0x303050(0x26c))[_0x303050(0x227)](_0x16e1d1[_0x303050(0x248)])||null;}[_0x456e02(0x294)](_0x4c4f4b){const _0x417383=_0x456e02,_0x4d92f3=this[_0x417383(0x228)][_0x417383(0x246)](_0x4c4f4b[_0x417383(0x25f)]);return _0x4d92f3?_0x4d92f3[_0x417383(0x284)]:null;}[_0x456e02(0x283)](){const _0xd42d3f=_0x456e02,_0x424cc5=this[_0xd42d3f(0x1fc)][_0xd42d3f(0x28a)][_0xd42d3f(0x246)](_0xd42d3f(0x26c)),_0x61ec0d=this[_0xd42d3f(0x1fc)][_0xd42d3f(0x28a)][_0xd42d3f(0x246)](_0xd42d3f(0x21d)),_0x47dcbb=Array[_0xd42d3f(0x1f7)](_0x424cc5[_0xd42d3f(0x293)],_0x5b61a0=>_0x5b61a0[_0xd42d3f(0x25f)])[_0xd42d3f(0x213)](_0x5855c0=>this[_0xd42d3f(0x228)][_0xd42d3f(0x29d)](_0x5855c0)),_0xf3cab3=[];for(const _0x46643c of _0x47dcbb){const _0x1b436a=this[_0xd42d3f(0x228)][_0xd42d3f(0x246)](_0x46643c)[_0xd42d3f(0x284)][_0xd42d3f(0x291)]();_0xf3cab3[_0xd42d3f(0x218)](..._0x1b436a[_0xd42d3f(0x215)]((_0x290dbe,_0x296567)=>[..._0x290dbe,..._0x296567[_0xd42d3f(0x24a)]()],[]));}_0x61ec0d[_0xd42d3f(0x250)]=_0xf3cab3;}[_0x456e02(0x236)](){const _0x340115=_0x456e02,_0x2f19b3=this[_0x340115(0x1fc)],_0xa47e0a=_0x2f19b3[_0x340115(0x214)],_0x4c24be=_0x3a973d(_0xa47e0a,_0x340115(0x25e)),_0x11f79a=new _0x339d5b([{'type':_0x340115(0x1ed),'model':new _0x548221({'withText':!0x0,'isToggleable':!0x0,'label':_0x4c24be,'commandName':_0x340115(0x204),'role':_0x340115(0x290)})},{'type':_0x340115(0x262)},{'type':_0x340115(0x240),'model':new _0x548221({'withText':!0x0,'label':_0x3a973d(_0xa47e0a,_0x340115(0x20d)),'commandName':_0x340115(0x21c),'role':_0x340115(0x205)})},{'type':_0x340115(0x240),'model':new _0x548221({'withText':!0x0,'label':_0x3a973d(_0xa47e0a,_0x340115(0x221)),'commandName':_0x340115(0x289),'role':_0x340115(0x205)})},{'type':_0x340115(0x240),'model':new _0x548221({'withText':!0x0,'label':_0x3a973d(_0xa47e0a,_0x340115(0x24b)),'commandName':_0x340115(0x269),'role':_0x340115(0x205)})},{'type':_0x340115(0x240),'model':new _0x548221({'withText':!0x0,'label':_0x3a973d(_0xa47e0a,_0x340115(0x1f5)),'commandName':_0x340115(0x1f4),'role':_0x340115(0x205)})}]);_0x2f19b3[_0x340115(0x28a)][_0x340115(0x29d)](_0x340115(0x25a))&&_0x11f79a[_0x340115(0x278)]([{'type':_0x340115(0x262)},{'type':_0x340115(0x240),'model':new _0x548221({'withText':!0x0,'label':_0x3a973d(_0xa47e0a,_0x340115(0x27d)),'commandName':_0x340115(0x255),'role':_0x340115(0x205)})}]);for(const _0x2da569 of _0x11f79a)if(ke(_0x2da569)){const _0x4e603f=_0x2f19b3[_0x340115(0x20a)][_0x340115(0x246)](_0x2da569[_0x340115(0x284)][_0x340115(0x25d)]);_0x2da569[_0x340115(0x284)][_0x340115(0x28c)](_0x340115(0x272),_0x340115(0x24f))['to'](_0x4e603f,_0x340115(0x235),_0x340115(0x24f));}_0x2f19b3['ui'][_0x340115(0x23a)][_0x340115(0x295)](_0x340115(0x204),_0x349400=>this[_0x340115(0x298)](_0x349400,_0x11f79a,_0x4c24be)),_0x2f19b3['ui'][_0x340115(0x23a)][_0x340115(0x295)](_0x340115(0x22c),_0x22b48c=>this[_0x340115(0x297)](_0x22b48c,_0x11f79a,_0x4c24be));}[_0x456e02(0x298)](_0x544d78,_0xa01aef,_0x59865c){const _0x1f3727=_0x456e02,_0x97f954=_0x4a5edc(_0x544d78,_0xa0a3c3),_0x9a9055=this[_0x1f3727(0x1fc)][_0x1f3727(0x20a)][_0x1f3727(0x246)](_0x1f3727(0x204));_0x97f954[_0x1f3727(0x207)][_0x1f3727(0x21e)]({'tooltip':_0x59865c,'label':_0x59865c,'icon':_0x4ef19d}),_0x97f954[_0x1f3727(0x207)][_0x1f3727(0x28c)](_0x1f3727(0x272))['to'](_0x9a9055,_0x1f3727(0x235)),_0x97f954[_0x1f3727(0x207)]['on'](_0x1f3727(0x20c),()=>{const _0x1bc3e1=_0x1f3727;_0x9a9055[_0x1bc3e1(0x20c)](),this[_0x1bc3e1(0x1fc)][_0x1bc3e1(0x28e)][_0x1bc3e1(0x248)][_0x1bc3e1(0x1fb)]();}),_0xefbbf5(_0x97f954,_0xa01aef,{'role':_0x1f3727(0x216)});const _0x211276=[];for(const _0x1acc14 of _0xa01aef)ke(_0x1acc14)&&_0x211276[_0x1f3727(0x218)](this[_0x1f3727(0x1fc)][_0x1f3727(0x20a)][_0x1f3727(0x246)](_0x1acc14[_0x1f3727(0x284)][_0x1f3727(0x25d)]));const _0x314e20=_0x97f954[_0x1f3727(0x207)];return _0x314e20[_0x1f3727(0x273)][_0x1f3727(0x277)](_0x1f3727(0x24f)),_0x314e20[_0x1f3727(0x1f6)][_0x1f3727(0x277)](_0x1f3727(0x24f)),_0x314e20[_0x1f3727(0x273)][_0x1f3727(0x28c)](_0x1f3727(0x24f))['to'](_0x9a9055,_0x1f3727(0x24f)),_0x314e20[_0x1f3727(0x1f6)][_0x1f3727(0x28c)](_0x1f3727(0x24f))[_0x1f3727(0x258)](_0x211276,_0x1f3727(0x24f),(..._0x4ca206)=>_0x4ca206[_0x1f3727(0x279)](_0x45077a=>_0x45077a)),_0x97f954['on'](_0x1f3727(0x20c),_0x3d2105=>{const _0x537886=_0x1f3727;this[_0x537886(0x1fc)][_0x537886(0x20c)](_0x3d2105[_0x537886(0x219)][_0x537886(0x25d)]),this[_0x537886(0x1fc)][_0x537886(0x28e)][_0x537886(0x248)][_0x537886(0x1fb)]();}),_0x97f954;}[_0x456e02(0x297)](_0x52a1fd,_0x25885a,_0x54e27f){const _0x4a04d8=_0x456e02,_0x4958ec=new _0x32d7f1(_0x52a1fd),_0x133b7b=this[_0x4a04d8(0x1fc)][_0x4a04d8(0x20a)][_0x4a04d8(0x246)](_0x4a04d8(0x204));_0x4958ec[_0x4a04d8(0x207)][_0x4a04d8(0x21e)]({'label':_0x54e27f,'icon':_0x4ef19d});const _0x5d908d=new _0x1635d9(_0x52a1fd);for(const _0x2354e0 of _0x25885a){if(_0x4a04d8(0x262)==_0x2354e0[_0x4a04d8(0x245)]){_0x5d908d[_0x4a04d8(0x249)][_0x4a04d8(0x295)](new _0x36d0f6(_0x52a1fd));continue;}const _0xb630cd=new _0x4962b2(_0x52a1fd,_0x4958ec),_0x11749a=new _0x2fb752(_0x52a1fd),_0x23604b=_0x2354e0[_0x4a04d8(0x284)];_0x11749a[_0x4a04d8(0x28c)](...Object[_0x4a04d8(0x1ea)](_0x23604b))['to'](_0x23604b),_0x11749a[_0x4a04d8(0x22b)](_0x4a04d8(0x20c))['to'](_0x4958ec),_0x11749a['on'](_0x4a04d8(0x20c),()=>{const _0x261448=_0x4a04d8;this[_0x261448(0x1fc)][_0x261448(0x20c)](_0x23604b[_0x261448(0x25d)]),this[_0x261448(0x1fc)][_0x261448(0x28e)][_0x261448(0x248)][_0x261448(0x1fb)]();}),_0xb630cd[_0x4a04d8(0x22f)][_0x4a04d8(0x295)](_0x11749a),_0x5d908d[_0x4a04d8(0x249)][_0x4a04d8(0x295)](_0xb630cd);}return _0x4958ec[_0x4a04d8(0x28c)](_0x4a04d8(0x24f))['to'](_0x133b7b,_0x4a04d8(0x24f)),_0x4958ec[_0x4a04d8(0x254)][_0x4a04d8(0x22f)][_0x4a04d8(0x295)](_0x5d908d),_0x4958ec;}[_0x456e02(0x1ff)](_0x3a6bdc){const _0x31972b=_0x456e02,_0x400676=this[_0x31972b(0x1fc)],_0x2dd554=_0x400676[_0x31972b(0x26a)],_0x171be=_0x400676[_0x31972b(0x28a)][_0x31972b(0x246)](_0x31972b(0x26c)),_0x40f395=_0x400676[_0x31972b(0x28a)][_0x31972b(0x246)](_0x31972b(0x1fe)),_0x204d37=_0x400676[_0x31972b(0x28a)][_0x31972b(0x246)](_0x31972b(0x23b)),_0x24c55b=_0x400676[_0x31972b(0x28a)][_0x31972b(0x246)](_0x1812e2)['me'],_0x79ac3b=_0x2dd554[_0x31972b(0x246)](_0x31972b(0x204))[_0x31972b(0x230)],_0x4d0973=_0x2dd554[_0x31972b(0x246)](_0x31972b(0x204))[_0x31972b(0x23e)],{CommentsListView:_0x454bf0,CommentThreadInputView:_0x59b6f9}=_0x400676[_0x31972b(0x28a)][_0x31972b(0x246)](_0x31972b(0x226));let _0x3ffc0a,_0x4bfcb2,_0x331c19;this[_0x31972b(0x251)][_0x31972b(0x29d)](_0x3a6bdc['id'])?(_0x4bfcb2=this[_0x31972b(0x251)][_0x31972b(0x246)](_0x3a6bdc['id']),_0x3ffc0a=_0x4bfcb2[_0x31972b(0x271)]):(_0x3ffc0a=new _0x79ac3b(_0x400676[_0x31972b(0x214)],_0x3a6bdc,_0x24c55b,{'disableComments':this[_0x31972b(0x1e9)],'editorConfig':{..._0x2dd554[_0x31972b(0x246)](_0x31972b(0x200)),'licenseKey':_0x2dd554[_0x31972b(0x246)](_0x31972b(0x265))},'maxCommentsWhenCollapsed':_0x2dd554[_0x31972b(0x246)](_0x31972b(0x203)),'maxThreadTotalWeight':_0x2dd554[_0x31972b(0x246)](_0x31972b(0x26d)),'maxCommentCharsWhenCollapsed':_0x2dd554[_0x31972b(0x246)](_0x31972b(0x238)),'formatDateTime':_0x42efb7(_0x2dd554[_0x31972b(0x246)](_0x31972b(0x214)),_0x400676[_0x31972b(0x214)]),'CommentView':_0x2dd554[_0x31972b(0x246)](_0x31972b(0x201))[_0x31972b(0x26e)],'CommentsListView':_0x454bf0,'CommentThreadInputView':_0x59b6f9,'SuggestionView':_0x4d0973}),_0x3ffc0a[_0x31972b(0x1f3)][_0x31972b(0x29b)]['on'](_0x31972b(0x20c),()=>{const _0x26b7fb=_0x31972b;_0x400676[_0x26b7fb(0x28e)][_0x26b7fb(0x248)][_0x26b7fb(0x1fb)]();}),_0x3ffc0a[_0x31972b(0x1f3)][_0x31972b(0x1f1)]['on'](_0x31972b(0x20c),()=>{const _0x1a6d29=_0x31972b;_0x400676[_0x1a6d29(0x28e)][_0x1a6d29(0x248)][_0x1a6d29(0x1fb)]();}),_0x4bfcb2=_0x171be[_0x31972b(0x288)](this[_0x31972b(0x1fc)][_0x31972b(0x214)],_0x3ffc0a),_0x4bfcb2[_0x31972b(0x28c)](_0x31972b(0x287))['to'](_0x3ffc0a,_0x31972b(0x287)),_0x4bfcb2[_0x31972b(0x28c)](_0x31972b(0x222))['to'](_0x3ffc0a),_0x4bfcb2[_0x31972b(0x28c)](_0x31972b(0x245))['to'](_0x3ffc0a,_0x31972b(0x245),_0x345d9c=>_0x31972b(0x209)+_0x345d9c),_0x3ffc0a['on'](_0x31972b(0x21a),()=>{const _0x27c8dd=_0x31972b;_0x331c19[_0x27c8dd(0x1fd)](_0x27c8dd(0x21a));}),this[_0x31972b(0x251)][_0x31972b(0x21e)](_0x3a6bdc['id'],_0x4bfcb2));const _0x128f4a=_0x40f395[_0x31972b(0x247)](_0x3a6bdc[_0x31972b(0x212)],_0x3ffc0a),_0x110643=new _0xb6b208(_0x400676,_0x3a6bdc,_0x3ffc0a,_0x128f4a),_0x4438f6=_0x3a6bdc[_0x31972b(0x291)]()[_0x31972b(0x213)](_0x94c217=>_0x94c217[_0x31972b(0x20e)]);_0x3ffc0a[_0x31972b(0x25b)]=_0x400676[_0x31972b(0x28a)][_0x31972b(0x246)](_0x31972b(0x21d))[_0x31972b(0x1ee)][_0x31972b(0x261)](_0x4438f6),this[_0x31972b(0x286)][_0x31972b(0x21e)](_0x3a6bdc,_0x110643),this[_0x31972b(0x228)][_0x31972b(0x21e)](_0x3ffc0a,_0x110643),_0x331c19=_0x171be[_0x31972b(0x280)]({'view':_0x4bfcb2,'target':()=>{const _0x3f1ad2=_0x31972b,_0x5005db=[],_0x59dc43=_0x3a6bdc[_0x3f1ad2(0x291)]()[_0x3f1ad2(0x213)](_0x5a6836=>_0x5a6836[_0x3f1ad2(0x20e)]);for(const _0x5e8b84 of _0x59dc43)_0x5005db[_0x3f1ad2(0x218)](..._0x5e8b84[_0x3f1ad2(0x244)]());return _0x239b6e(_0x400676[_0x3f1ad2(0x28e)],_0x5005db);},'type':()=>_0x31972b(0x209)+_0x110643[_0x31972b(0x248)][_0x31972b(0x245)]}),_0x40f395[_0x31972b(0x1f9)](_0x3ffc0a,_0x331c19),_0x171be[_0x31972b(0x295)](_0x331c19),_0x204d37[_0x31972b(0x29c)](_0x331c19);}[_0x456e02(0x225)](_0x29029b){const _0x67dacc=_0x456e02,_0x349e74=this[_0x67dacc(0x1fc)][_0x67dacc(0x28a)][_0x67dacc(0x246)](_0x67dacc(0x1fe)),_0x3c8904=this[_0x67dacc(0x1fc)][_0x67dacc(0x28a)][_0x67dacc(0x246)](_0x67dacc(0x26c)),_0x1bebd8=this[_0x67dacc(0x286)][_0x67dacc(0x246)](_0x29029b),_0x5b11a9=_0x1bebd8[_0x67dacc(0x248)],_0x44f66d=_0x3c8904[_0x67dacc(0x227)](_0x5b11a9);_0x349e74[_0x67dacc(0x296)](_0x5b11a9),_0x44f66d&&_0x3c8904[_0x67dacc(0x275)](_0x44f66d),this[_0x67dacc(0x286)][_0x67dacc(0x224)](_0x29029b),this[_0x67dacc(0x228)][_0x67dacc(0x224)](_0x5b11a9),_0x1bebd8[_0x67dacc(0x232)]();}[_0x456e02(0x23c)](_0x440f06){const _0x63a9f=_0x456e02;if(!_0x440f06[_0x63a9f(0x20e)]||!this[_0x63a9f(0x286)][_0x63a9f(0x29d)](_0x440f06))return;const _0x40c28b=this[_0x63a9f(0x1fc)][_0x63a9f(0x28a)][_0x63a9f(0x246)](_0x63a9f(0x21d)),_0x56d0ed=this[_0x63a9f(0x286)][_0x63a9f(0x246)](_0x440f06),_0x2a8db5=_0x440f06[_0x63a9f(0x291)]();_0x56d0ed[_0x63a9f(0x248)][_0x63a9f(0x25b)]=_0x40c28b[_0x63a9f(0x1ee)][_0x63a9f(0x261)](_0x2a8db5);}[_0x456e02(0x232)](){const _0x1afe12=_0x456e02;for(const _0xc0ce76 of this[_0x1afe12(0x286)][_0x1afe12(0x1ea)]())this[_0x1afe12(0x225)](_0xc0ce76);for(const _0x18d9de of this[_0x1afe12(0x251)][_0x1afe12(0x231)]())_0x18d9de[_0x1afe12(0x271)][_0x1afe12(0x232)]();super[_0x1afe12(0x232)](),this[_0x1afe12(0x233)]&&clearInterval(this[_0x1afe12(0x233)]);}}function ke(_0x17dc6f){const _0x26ba7f=_0x456e02;return _0x26ba7f(0x284)in _0x17dc6f;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3a7669=_0x1150;function _0x1150(_0xa83790,_0x252fe6){const _0x77898c=_0x7789();return _0x1150=function(_0x1150d4,_0x132dda){_0x1150d4=_0x1150d4-0x6f;let _0x4696ee=_0x77898c[_0x1150d4];return _0x4696ee;},_0x1150(_0xa83790,_0x252fe6);}(function(_0x5a1047,_0xb78ac5){const _0x3861ea=_0x1150,_0x42a554=_0x5a1047();while(!![]){try{const _0x483c18=-parseInt(_0x3861ea(0x97))/0x1+-parseInt(_0x3861ea(0x91))/0x2*(-parseInt(_0x3861ea(0x74))/0x3)+-parseInt(_0x3861ea(0x89))/0x4*(-parseInt(_0x3861ea(0x84))/0x5)+parseInt(_0x3861ea(0x99))/0x6+parseInt(_0x3861ea(0x7c))/0x7*(-parseInt(_0x3861ea(0x70))/0x8)+-parseInt(_0x3861ea(0x80))/0x9+parseInt(_0x3861ea(0x75))/0xa*(parseInt(_0x3861ea(0x8e))/0xb);if(_0x483c18===_0xb78ac5)break;else _0x42a554['push'](_0x42a554['shift']());}catch(_0x67e11d){_0x42a554['push'](_0x42a554['shift']());}}}(_0x7789,0xa2da3));import{ObservableMixin as _0x362063}from'ckeditor5/src/utils.js';import{getTranslation as _0x292349}from'../utils/common-translations.js';function _0x7789(){const _0x52ace6=['listenTo','_editor','926518TXlzjT','_setPendingAction','4887270CBXJFw','getRanges','5885224kucPre','_discardCommand','canAccept','add','2223252swKVIJ','10XXFcTO','plugins','discardSuggestion','remove','PENDING_ACTION_SUGGESTION','PendingActions','model','7dnhjBi','isEnabled','canDiscard','isDirty','5966577UBfANW','_pendingAction','acceptSuggestion','commentThreadController','5DMDNJU','destroy','execute','canEditAt','locale','1253036lLmPWx','get','stopListening','bind','change:isDirty','12356069RtIoUM','_acceptCommand','commands','2QlKgnL','view','_removePendingAction','unbind'];_0x7789=function(){return _0x52ace6;};return _0x7789();}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x362063(){[_0x3a7669(0x7b)];[_0x3a7669(0x92)];[_0x3a7669(0x83)];[_0x3a7669(0x96)];[_0x3a7669(0x8f)];[_0x3a7669(0x71)];[_0x3a7669(0x81)];constructor(_0x553a77,_0x4edf1a,_0x12ec83,_0x3081cf){const _0x259c1d=_0x3a7669;super(),this[_0x259c1d(0x7b)]=_0x4edf1a,this[_0x259c1d(0x92)]=_0x12ec83,this[_0x259c1d(0x83)]=_0x3081cf,this[_0x259c1d(0x96)]=_0x553a77,this[_0x259c1d(0x8f)]=_0x553a77[_0x259c1d(0x90)][_0x259c1d(0x8a)](_0x259c1d(0x82)),this[_0x259c1d(0x71)]=_0x553a77[_0x259c1d(0x90)][_0x259c1d(0x8a)](_0x259c1d(0x77)),this[_0x259c1d(0x92)][_0x259c1d(0x8c)](_0x259c1d(0x7d))['to'](this[_0x259c1d(0x8f)],this[_0x259c1d(0x71)],(_0x45af74,_0x8c6dbc)=>_0x45af74||_0x8c6dbc),this[_0x259c1d(0x92)][_0x259c1d(0x8c)](_0x259c1d(0x72))['to'](this[_0x259c1d(0x8f)],_0x259c1d(0x7d),_0x2be870=>_0x2be870&&this[_0x259c1d(0x96)][_0x259c1d(0x7b)][_0x259c1d(0x87)](_0x4edf1a[_0x259c1d(0x6f)]())),this[_0x259c1d(0x92)][_0x259c1d(0x8c)](_0x259c1d(0x7e))['to'](this[_0x259c1d(0x71)],_0x259c1d(0x7d),_0x406578=>_0x406578&&this[_0x259c1d(0x96)][_0x259c1d(0x7b)][_0x259c1d(0x87)](_0x4edf1a[_0x259c1d(0x6f)]())),this[_0x259c1d(0x81)]=null,_0x12ec83[_0x259c1d(0x7f)]&&this[_0x259c1d(0x98)](),this[_0x259c1d(0x95)](_0x12ec83,_0x259c1d(0x82),()=>this[_0x259c1d(0x82)]()),this[_0x259c1d(0x95)](_0x12ec83,_0x259c1d(0x77),()=>this[_0x259c1d(0x77)]()),this[_0x259c1d(0x95)](_0x12ec83,_0x259c1d(0x8d),()=>{const _0x1943e6=_0x259c1d;_0x12ec83[_0x1943e6(0x7f)]?this[_0x1943e6(0x98)]():this[_0x1943e6(0x93)]();});}[_0x3a7669(0x82)](){const _0x50e782=_0x3a7669;this[_0x50e782(0x8f)][_0x50e782(0x86)](this[_0x50e782(0x7b)]['id']);}[_0x3a7669(0x77)](){const _0x2e57cb=_0x3a7669;this[_0x2e57cb(0x71)][_0x2e57cb(0x86)](this[_0x2e57cb(0x7b)]['id']);}[_0x3a7669(0x85)](){const _0x4e6351=_0x3a7669;this[_0x4e6351(0x92)][_0x4e6351(0x94)](_0x4e6351(0x7d)),this[_0x4e6351(0x92)][_0x4e6351(0x94)](_0x4e6351(0x72)),this[_0x4e6351(0x92)][_0x4e6351(0x94)](_0x4e6351(0x7e)),this[_0x4e6351(0x8b)](),this[_0x4e6351(0x83)][_0x4e6351(0x85)](),this[_0x4e6351(0x81)]&&this[_0x4e6351(0x93)]();}[_0x3a7669(0x98)](){const _0x128e2d=_0x3a7669,_0x435728=_0x292349(this[_0x128e2d(0x96)][_0x128e2d(0x88)],_0x128e2d(0x79));this[_0x128e2d(0x81)]=this[_0x128e2d(0x96)][_0x128e2d(0x76)][_0x128e2d(0x8a)](_0x128e2d(0x7a))[_0x128e2d(0x73)](_0x435728);}[_0x3a7669(0x93)](){const _0x312141=_0x3a7669;null!==this[_0x312141(0x81)]&&this[_0x312141(0x96)][_0x312141(0x76)][_0x312141(0x8a)](_0x312141(0x7a))[_0x312141(0x78)](this[_0x312141(0x81)]),this[_0x312141(0x81)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x40be8f=_0x215a;(function(_0x5dcb23,_0xb4a538){const _0x38c088=_0x215a,_0x5a14a4=_0x5dcb23();while(!![]){try{const _0x13103f=-parseInt(_0x38c088(0x1b9))/0x1+-parseInt(_0x38c088(0x1f0))/0x2*(-parseInt(_0x38c088(0x1c4))/0x3)+parseInt(_0x38c088(0x1bb))/0x4+-parseInt(_0x38c088(0x1db))/0x5*(parseInt(_0x38c088(0x1b1))/0x6)+-parseInt(_0x38c088(0x1e1))/0x7*(-parseInt(_0x38c088(0x1ed))/0x8)+parseInt(_0x38c088(0x1b8))/0x9*(parseInt(_0x38c088(0x1f4))/0xa)+parseInt(_0x38c088(0x1c1))/0xb;if(_0x13103f===_0xb4a538)break;else _0x5a14a4['push'](_0x5a14a4['shift']());}catch(_0x2fbc82){_0x5a14a4['push'](_0x5a14a4['shift']());}}}(_0x4f52,0x8dd4e));import{FocusCycler as _0x5abb79,View as _0x316666,ViewCollection as _0x535228}from'ckeditor5/src/ui.js';function _0x215a(_0x440758,_0x59e2d4){const _0x4f5277=_0x4f52();return _0x215a=function(_0x215a1b,_0x5d70d8){_0x215a1b=_0x215a1b-0x1ae;let _0x49dfba=_0x4f5277[_0x215a1b];return _0x49dfba;},_0x215a(_0x440758,_0x59e2d4);}import{FocusTracker as _0x11d449,KeystrokeHandler as _0x2da758}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x37b479,setupThreadKeyboardNavigation as _0x2feae3}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x144717}from'../../utils/common-translations.js';import{renderDescription as _0x4c2f88}from'../../utils/utils.js';function _0x4f52(){const _0x193bd1=['join','canAccept','addComment','ariaDescriptionView','isEnabled','value','1423989hTbLwh','1028357HoYoqm','shift+tab','2987864BUXnUT','descriptionParts','locale','disableComments','body','set','1639946xUxRoq','keystrokes','SUGGESTION_THREAD_DESCRIPTION','12sytBoh','focusCycler','textContent','author','showInput','focusables','destroy','isDirty','formatDateTime','SUGGESTION_THREAD_ARIA_LABEL','isActive','_model','fire','ariaLabel','updateComment','submit','disabledSubmit','assign','editorConfig','delegate','CommentView','_localUser','commentInputView','195595TvUlvC','commentThread','commentsListView','name','parseFromString','target','3655337ZExckr','hasDirtyComment','cancel','text/html','_createCommentViews','length','tab','focus','map','_createCommentThreadInputView','content','canDiscard','8tSqSNs','render','element','289378sfeRxS','setData','focusTracker','_config','20hYEsHV','removeComment','bind','commentThreadInputView','isReadOnly','authoredAt','editor','108qpzMPE'];_0x4f52=function(){return _0x193bd1;};return _0x4f52();}export class BaseSuggestionThreadView extends _0x316666{[_0x40be8f(0x1dd)];[_0x40be8f(0x1f7)];[_0x40be8f(0x1b5)];[_0x40be8f(0x1c9)];[_0x40be8f(0x1f2)];[_0x40be8f(0x1c2)];[_0x40be8f(0x1c5)];[_0x40be8f(0x1cf)];[_0x40be8f(0x1d9)];[_0x40be8f(0x1f3)];constructor(_0xa5a5c9,_0x2992a3,_0x863635,_0x39ccc2){const _0x5f03ff=_0x40be8f;super(_0xa5a5c9),this[_0x5f03ff(0x1dd)]=null,this[_0x5f03ff(0x1f7)]=null,this[_0x5f03ff(0x1b5)]=new _0x37b479(_0xa5a5c9,_0x144717(_0xa5a5c9,_0x5f03ff(0x1c3))),this[_0x5f03ff(0x1c0)](_0x5f03ff(0x1ce),!0x1),this[_0x5f03ff(0x1c0)](_0x5f03ff(0x1af),_0x2992a3[_0x5f03ff(0x1af)]),this[_0x5f03ff(0x1f6)](_0x5f03ff(0x1af))['to'](_0x2992a3),this[_0x5f03ff(0x1c0)](_0x5f03ff(0x1bc),[]),this[_0x5f03ff(0x1c0)](_0x5f03ff(0x1cb),!0x1),this[_0x5f03ff(0x1c0)](_0x5f03ff(0x1b6),!0x1),this[_0x5f03ff(0x1c0)](_0x5f03ff(0x1b3),!0x1),this[_0x5f03ff(0x1c0)](_0x5f03ff(0x1ec),!0x1),this[_0x5f03ff(0x1f6)](_0x5f03ff(0x1d1))['to'](this,_0x5f03ff(0x1e6),_0x2992a3,_0x5f03ff(0x1af),this,_0x5f03ff(0x1bc),(_0x131099,_0x23f7b2,_0x328f34)=>{const _0x1004fa=_0x5f03ff,_0x38f9a5=_0x328f34[_0x1004fa(0x1e9)](_0x2e26f9=>_0x4c2f88(_0x2e26f9[_0x1004fa(0x1eb)]))[_0x1004fa(0x1b2)]('.\x20')+'.';return _0x144717(this[_0x1004fa(0x1bd)],_0x1004fa(0x1cd),[_0x131099-0x1,_0x2992a3[_0x1004fa(0x1c7)][_0x1004fa(0x1de)],_0x23f7b2?_0x39ccc2[_0x1004fa(0x1cc)](_0x23f7b2):'',new DOMParser()[_0x1004fa(0x1df)](_0x38f9a5,_0x1004fa(0x1e4))[_0x1004fa(0x1bf)][_0x1004fa(0x1c6)]]);}),this[_0x5f03ff(0x1c9)]=new _0x535228(),this[_0x5f03ff(0x1f2)]=new _0x11d449(),this[_0x5f03ff(0x1c2)]=new _0x2da758(),this[_0x5f03ff(0x1c5)]=new _0x5abb79({'focusables':this[_0x5f03ff(0x1c9)],'focusTracker':this[_0x5f03ff(0x1f2)],'keystrokeHandler':this[_0x5f03ff(0x1c2)],'keystrokeHandlerOptions':{'filter':_0x10ceae=>_0x10ceae[_0x5f03ff(0x1e0)]!==this[_0x5f03ff(0x1ef)]},'actions':{'focusPrevious':_0x5f03ff(0x1ba),'focusNext':_0x5f03ff(0x1e7)}}),this[_0x5f03ff(0x1cf)]=_0x2992a3,this[_0x5f03ff(0x1d9)]=_0x863635,this[_0x5f03ff(0x1f3)]=_0x39ccc2,_0x39ccc2[_0x5f03ff(0x1be)]?this[_0x5f03ff(0x1c0)](_0x5f03ff(0x1e6),0x1):this[_0x5f03ff(0x1e5)]();}[_0x40be8f(0x1ee)](){const _0x5492fa=_0x40be8f;super[_0x5492fa(0x1ee)](),_0x2feae3(this,this[_0x5492fa(0x1c9)]);}[_0x40be8f(0x1e8)](){const _0x1ebcb3=_0x40be8f;this[_0x1ebcb3(0x1ef)][_0x1ebcb3(0x1e8)]();}[_0x40be8f(0x1ca)](){const _0x39551a=_0x40be8f;this[_0x39551a(0x1dd)]&&this[_0x39551a(0x1dd)][_0x39551a(0x1ca)](),this[_0x39551a(0x1f7)]&&this[_0x39551a(0x1f7)][_0x39551a(0x1ca)](),super[_0x39551a(0x1ca)]();}[_0x40be8f(0x1e5)](){const _0x4429d6=_0x40be8f,{CommentsListView:_0x2dc335}=this[_0x4429d6(0x1f3)];this[_0x4429d6(0x1dd)]=new _0x2dc335(this[_0x4429d6(0x1bd)],this[_0x4429d6(0x1cf)][_0x4429d6(0x1dc)],Object[_0x4429d6(0x1d5)]({'CommentView':this[_0x4429d6(0x1f3)][_0x4429d6(0x1d8)]},this[_0x4429d6(0x1f3)])),this[_0x4429d6(0x1dd)][_0x4429d6(0x1d7)](_0x4429d6(0x1f5))['to'](this),this[_0x4429d6(0x1dd)][_0x4429d6(0x1d7)](_0x4429d6(0x1d2))['to'](this),this[_0x4429d6(0x1dd)][_0x4429d6(0x1f6)](_0x4429d6(0x1ce))['to'](this),this[_0x4429d6(0x1c0)](_0x4429d6(0x1e6),this[_0x4429d6(0x1dd)][_0x4429d6(0x1e6)]+0x1),this[_0x4429d6(0x1f6)](_0x4429d6(0x1e6))['to'](this[_0x4429d6(0x1dd)],_0x4429d6(0x1e6),_0x19652e=>_0x19652e+0x1),this[_0x4429d6(0x1f7)]=this[_0x4429d6(0x1ea)](),this['on'](_0x4429d6(0x1f5),()=>this[_0x4429d6(0x1e8)]()),this[_0x4429d6(0x1f6)](_0x4429d6(0x1cb))['to'](this[_0x4429d6(0x1dd)],_0x4429d6(0x1e2),this[_0x4429d6(0x1f7)][_0x4429d6(0x1da)],_0x4429d6(0x1b7),(_0x3ac3ed,_0x47c4c3)=>_0x3ac3ed||!!_0x47c4c3);}[_0x40be8f(0x1ea)](){const _0x59df40=_0x40be8f,{CommentThreadInputView:_0x21d112}=this[_0x59df40(0x1f3)],_0x21b1dd=new _0x21d112(this[_0x59df40(0x1bd)],this[_0x59df40(0x1d9)],this[_0x59df40(0x1f3)][_0x59df40(0x1d6)]),_0x3bf3bb=_0x21b1dd[_0x59df40(0x1da)];return _0x21b1dd[_0x59df40(0x1f6)](_0x59df40(0x1c8))['to'](this,_0x59df40(0x1ce),this[_0x59df40(0x1cf)][_0x59df40(0x1dc)],_0x59df40(0x1ae),_0x3bf3bb,_0x59df40(0x1b7),(_0x540f15,_0x3997c2,_0x10d161)=>!!_0x10d161||_0x540f15&&!_0x3997c2),_0x3bf3bb['on'](_0x59df40(0x1d3),(_0x10a0f2,_0x36cff8)=>{const _0x457fc5=_0x59df40;this[_0x457fc5(0x1d0)](_0x457fc5(0x1b4),_0x36cff8),_0x3bf3bb[_0x457fc5(0x1b0)][_0x457fc5(0x1f1)]('');}),_0x3bf3bb['on'](_0x59df40(0x1e3),()=>this[_0x59df40(0x1e8)]()),_0x3bf3bb[_0x59df40(0x1f6)](_0x59df40(0x1d4))['to'](this[_0x59df40(0x1cf)][_0x59df40(0x1dc)],_0x59df40(0x1ae)),_0x21b1dd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4391(){const _0x49a13d=['div','disableComments','color','focusables','568870EOzLMN','11744PKVEbD','commentsListView','SuggestionView','291708FHuNqe','discardButton','setTemplate','render','_model','bind','isEnabled','descriptionParts','2035TRONKR','commentThreadInputView','commentThread','author','ck-suggestion--disabled-comments','formatDateTime','editorDestroyed','ck-suggestion-wrapper','19284kNZqIT','listitem','_descriptionElement','<p>','acceptButton','38863WBfmjd','ariaLabel','add','92790jJZolx','suggestionView','delegate','set','description','acceptSuggestion','ck-suggestion-','isActive','ck-rounded-corners','_config','editorReady','5204jKvbcM','378YMghWR','discardSuggestion','type','</p>','canDiscard','push','canAccept','getTemplate','bindTemplate','4680NoZlSf','content','ck-suggestion-wrapper--active','ariaDescriptionView','3141NfEyrA'];_0x4391=function(){return _0x49a13d;};return _0x4391();}const _0x121ad5=_0xab17;(function(_0x2e3b5e,_0xd70be4){const _0x3e0861=_0xab17,_0x237ef5=_0x2e3b5e();while(!![]){try{const _0x363d66=parseInt(_0x3e0861(0x138))/0x1+-parseInt(_0x3e0861(0x112))/0x2+parseInt(_0x3e0861(0x13c))/0x3+parseInt(_0x3e0861(0x125))/0x4*(-parseInt(_0x3e0861(0x144))/0x5)+parseInt(_0x3e0861(0x11a))/0x6*(-parseInt(_0x3e0861(0x126))/0x7)+-parseInt(_0x3e0861(0x139))/0x8*(parseInt(_0x3e0861(0x133))/0x9)+parseInt(_0x3e0861(0x12f))/0xa*(parseInt(_0x3e0861(0x117))/0xb);if(_0x363d66===_0xd70be4)break;else _0x237ef5['push'](_0x237ef5['shift']());}catch(_0x1adf3a){_0x237ef5['push'](_0x237ef5['shift']());}}}(_0x4391,0x69b3f));function _0xab17(_0x4d7351,_0x108414){const _0x439181=_0x4391();return _0xab17=function(_0xab173b,_0x2f72b9){_0xab173b=_0xab173b-0x10c;let _0x54405a=_0x439181[_0xab173b];return _0x54405a;},_0xab17(_0x4d7351,_0x108414);}import{BaseSuggestionThreadView as _0x7ffb6d}from'./basesuggestionthreadview.js';import{trimHtml as _0x296d07}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x3db72a}from'../../utils/utils.js';export class SuggestionThreadView extends _0x7ffb6d{[_0x121ad5(0x11b)];[_0x121ad5(0x114)];constructor(_0x2b4625,_0x14323f,_0x2c21f5,_0x1b0afe){const _0x581497=_0x121ad5;super(_0x2b4625,_0x14323f,_0x2c21f5,_0x1b0afe),this[_0x581497(0x11d)](_0x581497(0x128),''),this[_0x581497(0x141)](_0x581497(0x128))['to'](this,_0x581497(0x143),_0x5b113d=>_0x5b113d&&_0x5b113d[0x0]?_0x5b113d[0x0][_0x581497(0x128)]:''),this[_0x581497(0x141)](_0x581497(0x11e))['to'](this,_0x581497(0x143),this,_0x581497(0x121),(_0x4353b4,_0x2724be)=>{const _0x2c74ba=_0x581497;let _0xc65df9='';for(const _0x85af2e of _0x4353b4)_0xc65df9+=_0x2c74ba(0x115)+_0x3db72a(_0x85af2e[_0x2c74ba(0x130)],_0x85af2e[_0x2c74ba(0x136)])+_0x2c74ba(0x129);return _0x2724be?_0xc65df9:_0x296d07(_0xc65df9,{'limit':0x8c});}),this[_0x581497(0x114)]=null,this[_0x581497(0x11b)]=new _0x1b0afe[(_0x581497(0x13b))](_0x2b4625,_0x14323f,{'formatDateTime':_0x1b0afe[_0x581497(0x10f)]}),this[_0x581497(0x11b)][_0x581497(0x141)](_0x581497(0x11e))['to'](this),this[_0x581497(0x11b)][_0x581497(0x11c)](_0x581497(0x11f),_0x581497(0x127))['to'](this),this[_0x581497(0x11b)][_0x581497(0x116)][_0x581497(0x141)](_0x581497(0x142))['to'](this,_0x581497(0x12c)),this[_0x581497(0x11b)][_0x581497(0x13d)][_0x581497(0x141)](_0x581497(0x142))['to'](this,_0x581497(0x12a)),this[_0x581497(0x137)][_0x581497(0x119)](this[_0x581497(0x11b)]),this[_0x581497(0x13a)]&&this[_0x581497(0x137)][_0x581497(0x119)](this[_0x581497(0x13a)]),this[_0x581497(0x145)]&&this[_0x581497(0x137)][_0x581497(0x119)](this[_0x581497(0x145)]),this[_0x581497(0x13e)](this[_0x581497(0x12d)]());}[_0x121ad5(0x12d)](){const _0x33bec5=_0x121ad5,_0x5d4a72=this[_0x33bec5(0x12e)],_0x1b2793=[this[_0x33bec5(0x11b)]];return this[_0x33bec5(0x13a)]&&_0x1b2793[_0x33bec5(0x12b)](this[_0x33bec5(0x13a)]),this[_0x33bec5(0x145)]&&_0x1b2793[_0x33bec5(0x12b)](this[_0x33bec5(0x145)]),_0x1b2793[_0x33bec5(0x12b)](this[_0x33bec5(0x132)]),{'tag':_0x33bec5(0x134),'attributes':{'class':['ck',_0x33bec5(0x122),_0x33bec5(0x111),_0x5d4a72['if'](_0x33bec5(0x121),_0x33bec5(0x131)),_0x5d4a72['to'](_0x33bec5(0x128),_0x206a61=>_0x33bec5(0x120)+_0x206a61),this[_0x33bec5(0x123)][_0x33bec5(0x135)]&&_0x33bec5(0x10e)],'data-suggestion-id':this[_0x33bec5(0x140)]['id'],'data-thread-id':this[_0x33bec5(0x140)][_0x33bec5(0x10c)]['id'],'data-author-id':this[_0x33bec5(0x140)][_0x33bec5(0x10d)]['id'],'tabindex':0x0,'role':_0x33bec5(0x113),'aria-label':_0x5d4a72['to'](_0x33bec5(0x118)),'aria-describedby':this[_0x33bec5(0x132)]['id']},'children':_0x1b2793};}[_0x121ad5(0x13f)](){const _0x5e57ee=_0x121ad5;super[_0x5e57ee(0x13f)](),this[_0x5e57ee(0x13a)]&&(this[_0x5e57ee(0x13a)][_0x5e57ee(0x11c)](_0x5e57ee(0x124))['to'](this),this[_0x5e57ee(0x13a)][_0x5e57ee(0x11c)](_0x5e57ee(0x110))['to'](this)),this[_0x5e57ee(0x145)]&&(this[_0x5e57ee(0x145)][_0x5e57ee(0x11c)](_0x5e57ee(0x124))['to'](this),this[_0x5e57ee(0x145)][_0x5e57ee(0x11c)](_0x5e57ee(0x110))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x165d6c=_0x1813;(function(_0xaa9750,_0x508c84){const _0x25d63f=_0x1813,_0x544f42=_0xaa9750();while(!![]){try{const _0xcba695=-parseInt(_0x25d63f(0x204))/0x1*(-parseInt(_0x25d63f(0x20f))/0x2)+parseInt(_0x25d63f(0x20d))/0x3*(-parseInt(_0x25d63f(0x1f5))/0x4)+-parseInt(_0x25d63f(0x1fb))/0x5+parseInt(_0x25d63f(0x209))/0x6*(parseInt(_0x25d63f(0x22e))/0x7)+-parseInt(_0x25d63f(0x1e1))/0x8*(parseInt(_0x25d63f(0x1d8))/0x9)+-parseInt(_0x25d63f(0x1e0))/0xa+-parseInt(_0x25d63f(0x1eb))/0xb*(-parseInt(_0x25d63f(0x1ec))/0xc);if(_0xcba695===_0x508c84)break;else _0x544f42['push'](_0x544f42['shift']());}catch(_0x4bf37c){_0x544f42['push'](_0x544f42['shift']());}}}(_0x4c85,0xea676));import{FocusTracker as _0x3e065e,KeystrokeHandler as _0x2610f8}from'ckeditor5/src/utils.js';function _0x1813(_0x43f760,_0x5a949f){const _0x4c85be=_0x4c85();return _0x1813=function(_0x1813f4,_0x46eec3){_0x1813f4=_0x1813f4-0x1d8;let _0x30d5bb=_0x4c85be[_0x1813f4];return _0x30d5bb;},_0x1813(_0x43f760,_0x5a949f);}import{View as _0x1d177c,ViewCollection as _0xa7a9a0,FocusCycler as _0x2f1793}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x4f8c58,UserView as _0x15815d}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x3ae93b,IconCheck as _0x5e0078}from'ckeditor5/src/icons.js';import{getTranslation as _0x1393e2}from'../../utils/common-translations.js';function _0x4c85(){const _0x1e8d37=['867795eGPVJY','ck-comment__external','192ieKGuk','formatDateTime','element','bindTemplate','div','_setupKeyboardNavigation','enter','execute','target','ck-suggestion__info-name','fire','.ck-annotation__content-wrapper','ck-suggestion__user','ck-annotation__info-name','description','setTemplate','keystrokes','ck-annotation__user','discardButton','time','isExternal','ck-suggestion__main','ck-annotation__main','ck-annotation','getTemplate','ck-suggestion__info','ck-suggestion--discard','importWord','focusFirst','render','listenTo','413xyqLrQ','author','EXTERNAL_SUGGESTION','esc','ck-annotation__info','3513573vFIDkt','source','EXTERNAL_IMPORT_WORD_AVATAR','acceptSuggestion','push','focusTracker','tab','locale','10670690exSnuo','32YpBsXt','name','_model','EXTERNAL_AVATAR','ck-annotation__info-time','focusCycler','Discard\x20suggestion','focus','extendTemplate','ck-suggestion--accept','27057371ZJTgyB','24KMxqhv','innerHTML','acceptButton','userView','change:description','set','ck-comment__info-time','attributes','ck-suggestion__actions','16zGlxeM','_createButton','presentation','_config','discardSuggestion','querySelector','3432715xDMcXQ','shift+tab','@external','creator','Accept\x20suggestion','getUserViewNotificationText','focusables','add','ck-suggestion','5062ymfWzT','bind','ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__actions','2736ZyiIjV','span','authoredAt','getExternalSuggestionNote'];_0x4c85=function(){return _0x1e8d37;};return _0x4c85();}export class SuggestionView extends _0x1d177c{[_0x165d6c(0x1ef)];[_0x165d6c(0x1ee)];[_0x165d6c(0x221)];[_0x165d6c(0x201)];[_0x165d6c(0x1dd)];[_0x165d6c(0x21f)];[_0x165d6c(0x1e6)];[_0x165d6c(0x1e3)];[_0x165d6c(0x1f8)];constructor(_0x55693b,_0x59c748,_0x4ed018){const _0x309a9e=_0x165d6c;super(_0x55693b),this[_0x309a9e(0x1e3)]=_0x59c748,this[_0x309a9e(0x1f8)]=_0x4ed018,this[_0x309a9e(0x1f1)](_0x309a9e(0x21d),''),this[_0x309a9e(0x205)](_0x309a9e(0x20b))['to'](_0x59c748),this[_0x309a9e(0x1ee)]=this[_0x309a9e(0x1f6)](_0x1393e2(_0x55693b,_0x309a9e(0x1ff)),_0x5e0078,_0x309a9e(0x1ea),_0x309a9e(0x1db),'sw'),this[_0x309a9e(0x221)]=this[_0x309a9e(0x1f6)](_0x1393e2(_0x55693b,_0x309a9e(0x1e7)),_0x3ae93b,_0x309a9e(0x229),_0x309a9e(0x1f9),'sw'),this[_0x309a9e(0x1ef)]=new _0x15815d(_0x55693b,_0x59c748[_0x309a9e(0x22f)],this[_0x309a9e(0x200)]()),this[_0x309a9e(0x1ef)][_0x309a9e(0x1e9)]({'attributes':{'class':[_0x309a9e(0x21b),_0x309a9e(0x220)],'aria-hidden':!0x0}}),this[_0x309a9e(0x201)]=new _0xa7a9a0([this[_0x309a9e(0x1ee)],this[_0x309a9e(0x221)]]),this[_0x309a9e(0x1dd)]=new _0x3e065e(),this[_0x309a9e(0x21f)]=new _0x2610f8(),this[_0x309a9e(0x1e6)]=new _0x2f1793({'focusables':this[_0x309a9e(0x201)],'focusTracker':this[_0x309a9e(0x1dd)],'keystrokeHandler':this[_0x309a9e(0x21f)],'actions':{'focusPrevious':_0x309a9e(0x1fc),'focusNext':_0x309a9e(0x1de)},'keystrokeHandlerOptions':{'filter':_0x591f9e=>_0x591f9e[_0x309a9e(0x217)]!==this[_0x309a9e(0x211)]}}),this[_0x309a9e(0x21e)](this[_0x309a9e(0x227)]());}[_0x165d6c(0x22c)](){const _0xd6da4=_0x165d6c;super[_0xd6da4(0x22c)]();const _0x63383e=this[_0xd6da4(0x211)][_0xd6da4(0x1fa)](_0xd6da4(0x21a));_0x63383e[_0xd6da4(0x1ed)]=this[_0xd6da4(0x21d)],this['on'](_0xd6da4(0x1f0),(_0x1374a0,_0x210aea,_0x47a9b2)=>{const _0x12d3d8=_0xd6da4;_0x63383e[_0x12d3d8(0x1ed)]=_0x47a9b2;}),this[_0xd6da4(0x214)]();}[_0x165d6c(0x227)](){const _0x4014bd=_0x165d6c,_0x27acd3=this[_0x4014bd(0x212)],_0x46cd19=[{'tag':_0x4014bd(0x213),'attributes':{'class':[_0x4014bd(0x228),_0x4014bd(0x232)]},'children':[{'tag':_0x4014bd(0x20a),'children':[{'text':this[_0x4014bd(0x1ef)][_0x4014bd(0x1e2)]}],'attributes':{'class':[_0x4014bd(0x218),_0x4014bd(0x21c)],'data-cke-tooltip-text':this[_0x4014bd(0x1ef)][_0x4014bd(0x1e2)]}},{'tag':_0x4014bd(0x222),'attributes':{'datetime':_0x27acd3['to'](_0x4014bd(0x20b)),'class':[_0x4014bd(0x1f2),_0x4014bd(0x1e5)]},'children':[{'text':_0x27acd3['to'](_0x4014bd(0x20b),_0x1c2ac8=>this[_0x4014bd(0x1f8)][_0x4014bd(0x210)](_0x1c2ac8))}]}]},{'tag':_0x4014bd(0x213),'attributes':{'class':[_0x4014bd(0x1f4),_0x4014bd(0x208)]},'children':[this[_0x4014bd(0x1ee)],this[_0x4014bd(0x221)]]},{'tag':_0x4014bd(0x213),'attributes':{'class':[_0x4014bd(0x206)]}}];return this[_0x4014bd(0x1e3)][_0x4014bd(0x223)]&&_0x46cd19[_0x4014bd(0x1dc)]({'tag':_0x4014bd(0x213),'attributes':{'class':[_0x4014bd(0x20e)]},'children':[{'text':this[_0x4014bd(0x20c)]()}]}),{'tag':_0x4014bd(0x213),'attributes':{'class':[_0x4014bd(0x203),_0x4014bd(0x226)],'tabindex':-0x1},'children':[this[_0x4014bd(0x1ef)],{'tag':_0x4014bd(0x213),'attributes':{'class':[_0x4014bd(0x224),_0x4014bd(0x225)],'role':_0x4014bd(0x1f7)},'children':_0x46cd19}]};}[_0x165d6c(0x1e8)](){const _0x3174c9=_0x165d6c;this[_0x3174c9(0x211)][_0x3174c9(0x1e8)]();}[_0x165d6c(0x200)](){const _0x42cde6=_0x165d6c;return this[_0x42cde6(0x1e3)][_0x42cde6(0x223)]?_0x42cde6(0x22a)===this[_0x42cde6(0x1e3)][_0x42cde6(0x1f3)][_0x42cde6(0x1fd)][_0x42cde6(0x1d9)]?_0x1393e2(this[_0x42cde6(0x1df)],_0x42cde6(0x1da),this[_0x42cde6(0x1e3)][_0x42cde6(0x1fe)][_0x42cde6(0x1e2)]):_0x1393e2(this[_0x42cde6(0x1df)],_0x42cde6(0x1e4),this[_0x42cde6(0x1e3)][_0x42cde6(0x1fe)][_0x42cde6(0x1e2)]):null;}[_0x165d6c(0x20c)](){const _0x1afcdb=_0x165d6c;return _0x1afcdb(0x22a)===this[_0x1afcdb(0x1e3)][_0x1afcdb(0x1f3)][_0x1afcdb(0x1fd)][_0x1afcdb(0x1d9)]?_0x1393e2(this[_0x1afcdb(0x1df)],_0x1afcdb(0x207)):_0x1393e2(this[_0x1afcdb(0x1df)],_0x1afcdb(0x230));}[_0x165d6c(0x1f6)](_0x593c66,_0x5622fe,_0x54a376,_0x544c39,_0x284168){const _0x4d3bb2=_0x165d6c,_0xdaa9d4=new _0x4f8c58(this[_0x4d3bb2(0x1df)]);return _0xdaa9d4[_0x4d3bb2(0x1f1)]({'label':_0x593c66,'icon':_0x5622fe,'tooltip':!0x0,'tooltipPosition':_0x284168}),_0xdaa9d4[_0x4d3bb2(0x1e9)]({'attributes':{'class':_0x54a376}}),_0xdaa9d4['on'](_0x4d3bb2(0x216),()=>{const _0x108703=_0x4d3bb2;this[_0x108703(0x219)](_0x544c39,this[_0x108703(0x1e3)]['id']);}),_0xdaa9d4;}[_0x165d6c(0x214)](){const _0x37b306=_0x165d6c,_0x164ddb=this[_0x37b306(0x211)];this[_0x37b306(0x21f)][_0x37b306(0x22d)](_0x164ddb);for(const _0xf0a440 of this[_0x37b306(0x201)])this[_0x37b306(0x1dd)][_0x37b306(0x202)](_0xf0a440[_0x37b306(0x211)]),this[_0x37b306(0x21f)][_0x37b306(0x22d)](_0xf0a440[_0x37b306(0x211)]);this[_0x37b306(0x21f)][_0x37b306(0x1f1)](_0x37b306(0x215),(_0x236c39,_0xe6f2a1)=>{const _0x122e6b=_0x37b306;_0x164ddb===_0x236c39[_0x122e6b(0x217)]&&(this[_0x122e6b(0x1e6)][_0x122e6b(0x22b)](),_0xe6f2a1());}),this[_0x37b306(0x21f)][_0x37b306(0x1f1)](_0x37b306(0x231),(_0x2977ee,_0x40a340)=>{const _0x41df51=_0x37b306;_0x164ddb!==_0x2977ee[_0x41df51(0x217)]&&(this[_0x41df51(0x1e8)](),_0x40a340());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2df9b3=_0x11e3;(function(_0x3ffe4c,_0x535a83){const _0x2df7e8=_0x11e3,_0x48bb6e=_0x3ffe4c();while(!![]){try{const _0x1c5e4c=-parseInt(_0x2df7e8(0x20a))/0x1*(-parseInt(_0x2df7e8(0x1ef))/0x2)+-parseInt(_0x2df7e8(0x1ed))/0x3*(parseInt(_0x2df7e8(0x1f3))/0x4)+-parseInt(_0x2df7e8(0x208))/0x5*(-parseInt(_0x2df7e8(0x1e9))/0x6)+-parseInt(_0x2df7e8(0x1f8))/0x7+parseInt(_0x2df7e8(0x1eb))/0x8+-parseInt(_0x2df7e8(0x206))/0x9+parseInt(_0x2df7e8(0x1fe))/0xa;if(_0x1c5e4c===_0x535a83)break;else _0x48bb6e['push'](_0x48bb6e['shift']());}catch(_0x46fdd5){_0x48bb6e['push'](_0x48bb6e['shift']());}}}(_0x5331,0x957fc));function _0x11e3(_0x1c15cb,_0x24f90c){const _0x5331e2=_0x5331();return _0x11e3=function(_0x11e31d,_0x562434){_0x11e31d=_0x11e31d-0x1e9;let _0x572d17=_0x5331e2[_0x11e31d];return _0x572d17;},_0x11e3(_0x1c15cb,_0x24f90c);}import{View as _0x585903}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x585903{[_0x2df9b3(0x1ee)];constructor(_0x2bfff7,_0x3c71ad){const _0x3f198f=_0x2df9b3;super(_0x2bfff7),this[_0x3f198f(0x1ee)]=_0x3c71ad,this[_0x3f198f(0x1ff)]({'tag':_0x3f198f(0x1f4),'attributes':{'class':['ck',_0x3f198f(0x203),_0x3f198f(0x1f9)],'tabindex':-0x1}});}[_0x2df9b3(0x200)](){const _0x41efbe=_0x2df9b3;super[_0x41efbe(0x200)](),this[_0x41efbe(0x207)][_0x41efbe(0x1ec)][_0x41efbe(0x201)]=this[_0x41efbe(0x1ee)][_0x41efbe(0x1fc)][_0x41efbe(0x201)]+'px',this[_0x41efbe(0x207)][_0x41efbe(0x1ec)][_0x41efbe(0x1f7)]=this[_0x41efbe(0x1ee)][_0x41efbe(0x1fc)][_0x41efbe(0x1f7)]+'px';}[_0x2df9b3(0x1f0)](_0x1a597c,_0x37592e){const _0x39f3ef=_0x2df9b3;if(!this[_0x39f3ef(0x207)])return;const _0x51df16=[];for(const [_0x123ecd,_0x33666e]of _0x1a597c){const _0x395c4f=document[_0x39f3ef(0x205)](_0x39f3ef(0x1f4));_0x395c4f[_0x39f3ef(0x1ea)](_0x39f3ef(0x1f2),_0x123ecd),_0x395c4f[_0x39f3ef(0x1fb)]=_0x33666e[_0x39f3ef(0x1f1)]+_0x39f3ef(0x209),_0x395c4f[_0x39f3ef(0x1f6)]=_0x33666e[_0x39f3ef(0x1f5)],_0x51df16[_0x39f3ef(0x1fa)](_0x395c4f);}_0x37592e(this[_0x39f3ef(0x207)],_0x51df16),this[_0x39f3ef(0x207)][_0x39f3ef(0x1ec)][_0x39f3ef(0x1f7)]='',this[_0x39f3ef(0x1fd)](_0x39f3ef(0x204));}[_0x2df9b3(0x202)](){const _0x52e103=_0x2df9b3;this[_0x52e103(0x207)][_0x52e103(0x202)]();}}function _0x5331(){const _0x2d363e=['setPreviewData','classes','data-ck-root-name','33992cLqTmz','div','content','innerHTML','height','7848988lnZvpl','ck-track-changes-preview','push','className','dialogRects','fire','9838860CHCVgv','setTemplate','render','width','focus','ck-reset','previewDataReady','createElement','6838065dbJYiL','element','295595NpeCbY','\x20ck-track-changes-preview__root-container','31491xYzpHd','72kBQkct','setAttribute','6949000EcgQqX','style','291OaPWib','options','48oNAlEX'];_0x5331=function(){return _0x2d363e;};return _0x5331();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3b5ecd,_0x57e3e8,_0xbac9f3){const _0x2f9230=_0x3b5ecd['t'],t=_0x3b5ecd['t'];switch(_0x57e3e8){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0xbac9f3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xbac9f3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xbac9f3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xbac9f3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xbac9f3);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',_0xbac9f3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xbac9f3);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0xbac9f3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xbac9f3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xbac9f3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xbac9f3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xbac9f3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xbac9f3);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xbac9f3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xbac9f3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xbac9f3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xbac9f3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xbac9f3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xbac9f3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xbac9f3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xbac9f3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xbac9f3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xbac9f3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xbac9f3);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xbac9f3);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'},_0xbac9f3);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xbac9f3);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xbac9f3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xbac9f3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xbac9f3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xbac9f3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xbac9f3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xbac9f3);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'},_0xbac9f3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xbac9f3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xbac9f3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xbac9f3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xbac9f3);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'},_0xbac9f3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xbac9f3);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'},_0xbac9f3);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'},_0xbac9f3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xbac9f3);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'},_0xbac9f3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xbac9f3);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'},_0xbac9f3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xbac9f3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xbac9f3);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'},_0xbac9f3);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xbac9f3);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 _0x2f9230({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xbac9f3);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2f9230({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xbac9f3);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xbac9f3);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'},_0xbac9f3);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'},_0xbac9f3);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'},_0xbac9f3);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x57e3e8;}}
|
|
23
|
+
export function getTranslation(_0x15bf91,_0x382081,_0x91d7fc){const _0x3d813f=_0x15bf91['t'],t=_0x15bf91['t'];switch(_0x382081){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x91d7fc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x91d7fc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x91d7fc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x91d7fc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x91d7fc);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',_0x91d7fc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x91d7fc);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x91d7fc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x91d7fc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x91d7fc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x91d7fc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x91d7fc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x91d7fc);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x91d7fc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x91d7fc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x91d7fc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x91d7fc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x91d7fc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x91d7fc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x91d7fc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x91d7fc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x91d7fc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x91d7fc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x91d7fc);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x91d7fc);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'},_0x91d7fc);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x91d7fc);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x91d7fc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x91d7fc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x91d7fc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x91d7fc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x91d7fc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x91d7fc);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'},_0x91d7fc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x91d7fc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x91d7fc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x91d7fc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x91d7fc);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'},_0x91d7fc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x91d7fc);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'},_0x91d7fc);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'},_0x91d7fc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x91d7fc);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'},_0x91d7fc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x91d7fc);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'},_0x91d7fc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x91d7fc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x91d7fc);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'},_0x91d7fc);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x91d7fc);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 _0x3d813f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x91d7fc);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3d813f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x91d7fc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x91d7fc);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'},_0x91d7fc);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'},_0x91d7fc);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'},_0x91d7fc);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x382081;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x58f59a,_0x315f2e){const _0x4c80d3=_0x360a,_0x5d83e5=_0x58f59a();while(!![]){try{const _0x1762b6=parseInt(_0x4c80d3(0x1be))/0x1*(parseInt(_0x4c80d3(0x1e7))/0x2)+-parseInt(_0x4c80d3(0x1c5))/0x3*(parseInt(_0x4c80d3(0x1e4))/0x4)+-parseInt(_0x4c80d3(0x1dc))/0x5+-parseInt(_0x4c80d3(0x1db))/0x6+-parseInt(_0x4c80d3(0x1d3))/0x7*(parseInt(_0x4c80d3(0x1da))/0x8)+-parseInt(_0x4c80d3(0x1bd))/0x9+parseInt(_0x4c80d3(0x1bb))/0xa;if(_0x1762b6===_0x315f2e)break;else _0x5d83e5['push'](_0x5d83e5['shift']());}catch(_0x4c72d7){_0x5d83e5['push'](_0x5d83e5['shift']());}}}(_0x1ffe,0x4ae72));export function normalizeDescription(_0x1da7fe){const _0x18ec85=_0x360a;return Array[_0x18ec85(0x1dd)](_0x1da7fe)||(_0x1da7fe=[_0x1da7fe]),_0x1da7fe[_0x18ec85(0x1c9)](_0x1d7b83=>{const _0x4b0774=_0x18ec85,_0x55d69e=_0x1d7b83[_0x4b0774(0x1c0)][_0x4b0774(0x1b4)](/\*/g,''),_0x392264=_0x1d7b83[_0x4b0774(0x1d0)]?_0x4b0774(0x1e2)+_0x1d7b83[_0x4b0774(0x1d0)][_0x4b0774(0x1b3)]+']':'';return'['+_0x1d7b83[_0x4b0774(0x1bc)]+']\x20'+_0x55d69e+_0x392264;})[_0x18ec85(0x1ba)](';\x20');}export function renderDescription(_0x446422,_0x27814b){const _0x5dcfe1=_0x360a;let _0x1f3ca5='';return _0x1f3ca5+=_0x446422[_0x5dcfe1(0x1c4)]('*')[_0x5dcfe1(0x1c9)]((_0x4736f9,_0x3fcc74)=>_0x3fcc74%0x2!=0x0?_0x5dcfe1(0x1c8)+nn(_0x4736f9)+_0x5dcfe1(0x1d4):nn(_0x4736f9))[_0x5dcfe1(0x1ba)](''),_0x27814b&&(_0x1f3ca5+=_0x5dcfe1(0x1c6)+_0x27814b[_0x5dcfe1(0x1b3)]+_0x5dcfe1(0x1cc)+_0x27814b[_0x5dcfe1(0x1cb)]+_0x5dcfe1(0x1bf)),_0x1f3ca5;}function nn(_0x1910a6){const _0x2320ec=_0x360a,_0x4b442d=document[_0x2320ec(0x1b5)](_0x2320ec(0x1e0));return _0x4b442d[_0x2320ec(0x1d1)]=_0x1910a6,_0x4b442d[_0x2320ec(0x1b6)];}export function sortSuggestions(_0x33b68d){const _0x486b86=_0x360a;return _0x33b68d[_0x486b86(0x1b8)]((_0x49ed49,_0x4242bd)=>_0x486b86(0x1cd)==_0x49ed49[_0x486b86(0x1bc)]&&_0x486b86(0x1cd)!=_0x4242bd[_0x486b86(0x1bc)]?-0x1:_0x486b86(0x1cd)!=_0x49ed49[_0x486b86(0x1bc)]&&_0x486b86(0x1cd)==_0x4242bd[_0x486b86(0x1bc)]?0x1:0x0);}export function getSelectedSuggestions(_0xcb586c,_0x40624f){const _0x1e92ad=_0x360a,_0x4a267a=Array[_0x1e92ad(0x1b7)](_0xcb586c[_0x1e92ad(0x1ca)]()),_0x25540f=new Set();for(const _0x554827 of _0x40624f)if(_0x554827[_0x1e92ad(0x1b9)]){for(const _0x42107d of _0x4a267a)for(const _0x34b43d of _0x554827[_0x1e92ad(0x1ca)]())(_0x42107d[_0x1e92ad(0x1e8)](_0x34b43d)||_0xcb586c[_0x1e92ad(0x1d6)]&&!_0x554827[_0x1e92ad(0x1e6)]&&_0x554827[_0x1e92ad(0x1df)]&&_0x34b43d[_0x1e92ad(0x1d9)][_0x1e92ad(0x1d7)](_0x42107d[_0x1e92ad(0x1d8)]))&&_0x25540f[_0x1e92ad(0x1ce)](_0x554827);}return _0x25540f;}export function getRangesOfBlockGroups(_0xccc071,_0x4f960a){const _0x140da8=_0x360a;let _0x46fa81,_0x55c8a0=0x0;const _0x5c7811=[],_0x1405a9=_0x4f960a[_0x140da8(0x1cf)];for(;_0x55c8a0<_0xccc071[_0x140da8(0x1c2)];){const _0x3072f1=_0xccc071[_0x55c8a0],_0x1b1d0c=_0xccc071[_0x55c8a0+0x1];_0x46fa81||(_0x46fa81=_0x4f960a[_0x140da8(0x1c1)](_0x3072f1)),on(_0x4f960a,_0x3072f1,_0x1b1d0c)||(_0x5c7811[_0x140da8(0x1d2)](_0x4f960a[_0x140da8(0x1e1)](_0x46fa81,_0x1405a9[_0x140da8(0x1c7)](_0x3072f1)?_0x4f960a[_0x140da8(0x1e3)](_0x3072f1):_0x4f960a[_0x140da8(0x1de)](_0x3072f1,_0x140da8(0x1d9)))),_0x46fa81=null),_0x55c8a0++;}return _0x5c7811;}function on(_0x30079f,_0x5a1c65,_0x44ffd7){const _0x54fa6f=_0x360a;if(!_0x44ffd7)return!0x1;const _0x7c2eff=_0x30079f[_0x54fa6f(0x1e3)](_0x5a1c65),_0x80a5a2=_0x30079f[_0x54fa6f(0x1c1)](_0x44ffd7);return _0x7c2eff[_0x54fa6f(0x1d7)](_0x80a5a2);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x1ffe(){const _0xa1ba61=['join','14016350JrHhQg','type','3878595KzcZXn','262828vUARuz','\x22></span>','content','createPositionBefore','length','execute','split','9IfRdgX','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isObject','<span\x20class=\x22ck-suggestion-type\x22>','map','getRanges','title','\x22\x20title=\x22','deletion','add','schema','color','innerText','push','2165821VpGuEs','</span>','splice','isCollapsed','isTouching','start','end','8BzMHcs','135798AEPfUx','1307410nmMYOm','isArray','createPositionAt','next','span','createRange','\x20[color\x20','createPositionAfter','794688aMBCQY','change','isMultiRange','4UpBxeU','isIntersecting','value','replace','createElement','innerHTML','from','sort','isInContent'];_0x1ffe=function(){return _0xa1ba61;};return _0x1ffe();}function _0x360a(_0x16aebf,_0x2494e0){const _0x1ffe74=_0x1ffe();return _0x360a=function(_0x360ab4,_0x4d2531){_0x360ab4=_0x360ab4-0x1b3;let _0x5292ff=_0x1ffe74[_0x360ab4];return _0x5292ff;},_0x360a(_0x16aebf,_0x2494e0);}export function executeCommandForSuggestions(_0x13c518,_0x288024,_0x15096e){const _0x5991eb=_0x360a;for(;_0x15096e[_0x5991eb(0x1c2)];){const _0x239442=_0x15096e[_0x5991eb(0x1d5)](0x0,0x64);_0x13c518[_0x5991eb(0x1e5)](()=>{const _0x5723fc=_0x5991eb;for(const _0x34f41b of _0x239442)_0x34f41b[_0x5723fc(0x1b9)]&&_0x288024[_0x5723fc(0x1c3)](_0x34f41b['id']);});}}
|