@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250107.0 → 0.0.0-nightly-20250109.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/ckeditor5-metadata.json +11 -0
- package/dist/index-content.css +1 -0
- package/dist/index-editor.css +9 -0
- package/dist/index.css +18 -0
- package/dist/index.js +3 -3
- 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/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/lang/contexts.json +2 -0
- package/package.json +12 -10
- package/src/augmentation.d.ts +3 -1
- 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/trackchangescommand.js +1 -1
- package/src/commands/viewfinaldocumentcommand.d.ts +26 -0
- package/src/commands/viewfinaldocumentcommand.js +23 -0
- package/src/index.d.ts +2 -0
- 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/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/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 +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.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/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +22 -0
- package/src/trackchangesdata.d.ts +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.d.ts +31 -0
- package/src/trackchangespreview.js +23 -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.d.ts +48 -0
- package/src/ui/view/trackchangespreviewview.js +23 -0
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
- package/theme/trackchangespreview.css +18 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/trackchangespreview
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
11
|
+
import TrackChangesData from './trackchangesdata.js';
|
|
12
|
+
import '../theme/trackchangespreview.css';
|
|
13
|
+
/**
|
|
14
|
+
* Plugin allowing to preview the final document where all the suggestions are accepted.
|
|
15
|
+
*/
|
|
16
|
+
export default class TrackChangesPreview extends Plugin {
|
|
17
|
+
static get requires(): readonly [typeof TrackChangesData, typeof Dialog];
|
|
18
|
+
static get pluginName(): "TrackChangesPreview";
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get isOfficialPlugin(): true;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isPremiumPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
constructor(editor: Editor);
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x40455b=_0x1576;(function(_0x3d9926,_0x298c1a){const _0x53e699=_0x1576,_0x57a55f=_0x3d9926();while(!![]){try{const _0x314b5e=parseInt(_0x53e699(0x142))/0x1+parseInt(_0x53e699(0x140))/0x2+-parseInt(_0x53e699(0x144))/0x3*(-parseInt(_0x53e699(0x148))/0x4)+parseInt(_0x53e699(0x14a))/0x5*(-parseInt(_0x53e699(0x149))/0x6)+-parseInt(_0x53e699(0x141))/0x7+parseInt(_0x53e699(0x13c))/0x8*(-parseInt(_0x53e699(0x13a))/0x9)+parseInt(_0x53e699(0x138))/0xa*(parseInt(_0x53e699(0x143))/0xb);if(_0x314b5e===_0x298c1a)break;else _0x57a55f['push'](_0x57a55f['shift']());}catch(_0xc37fa6){_0x57a55f['push'](_0x57a55f['shift']());}}}(_0x3b38,0x20dbf));import{Plugin as _0x26a11c}from'ckeditor5/src/core.js';import{Dialog as _0x2dd4ac}from'ckeditor5/src/ui.js';import _0x9bcdc5 from'./trackchangesdata.js';import _0x1fd81d from'./commands/viewfinaldocumentcommand.js';function _0x1576(_0x4507b6,_0x5ea7f4){const _0x3b3869=_0x3b38();return _0x1576=function(_0x157628,_0x302108){_0x157628=_0x157628-0x134;let _0x530265=_0x3b3869[_0x157628];return _0x530265;},_0x1576(_0x4507b6,_0x5ea7f4);}function _0x3b38(){const _0x300727=['trackChanges.preview.renderFunction','408YPOjMS','define','viewFinalDocument','commands','474094uCkdFG','1695477UezGWT','142269OIRpMx','451WGVqsr','606yWtLJC','editor','TrackChangesPreview','config','672qPyFBc','258PWKXKT','21485VPhxxN','add','requires','pluginName','isPremiumPlugin','appendChild','91940SXPmja','isOfficialPlugin','40347inGHMj'];_0x3b38=function(){return _0x300727;};return _0x3b38();}import'../theme/trackchangespreview.css';export default class te extends _0x26a11c{static get[_0x40455b(0x134)](){return[_0x9bcdc5,_0x2dd4ac];}static get[_0x40455b(0x135)](){const _0x400a33=_0x40455b;return _0x400a33(0x146);}static get[_0x40455b(0x139)](){return!0x0;}static get[_0x40455b(0x136)](){return!0x0;}constructor(_0x14eda8){const _0x3ed6d4=_0x40455b;super(_0x14eda8),_0x14eda8[_0x3ed6d4(0x13f)][_0x3ed6d4(0x14b)](_0x3ed6d4(0x13e),new _0x1fd81d(this[_0x3ed6d4(0x145)])),_0x14eda8[_0x3ed6d4(0x147)][_0x3ed6d4(0x13d)](_0x3ed6d4(0x13b),(_0x3e6fc7,_0x2110d9)=>{const _0x39058d=_0x3ed6d4;for(const _0xbbb5a7 of _0x2110d9)_0x3e6fc7[_0x39058d(0x137)](_0xbbb5a7);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1498d1=_0x5dbc;(function(_0x178c63,_0xa97294){const _0x3a5545=_0x5dbc,_0x19758c=_0x178c63();while(!![]){try{const _0x39eac8=parseInt(_0x3a5545(0x243))/0x1+parseInt(_0x3a5545(0x215))/0x2*(-parseInt(_0x3a5545(0x262))/0x3)+parseInt(_0x3a5545(0x20d))/0x4+-parseInt(_0x3a5545(0x1ff))/0x5+parseInt(_0x3a5545(0x202))/0x6*(parseInt(_0x3a5545(0x1c8))/0x7)+parseInt(_0x3a5545(0x247))/0x8+-parseInt(_0x3a5545(0x210))/0x9;if(_0x39eac8===_0xa97294)break;else _0x19758c['push'](_0x19758c['shift']());}catch(_0x1e492d){_0x19758c['push'](_0x19758c['shift']());}}}(_0x13c1,0x5c422));import{Plugin as _0x4fca7f}from'ckeditor5/src/core.js';import{Collection as _0x797e46}from'ckeditor5/src/utils.js';import{addListToDropdown as _0xe5c770,createDropdown as _0x446966,ListSeparatorView as _0x491f94,MenuBarMenuView as _0x24474f,MenuBarMenuListView as _0x55f444,MenuBarMenuListItemView as _0x38d453,MenuBarMenuListItemButtonView as _0x5c4835,SplitButtonView as _0x3777f4,ViewModel as _0x33bfbb}from'ckeditor5/src/ui.js';import{Users as _0x936bd6,getDateTimeFormatter as _0x4363f,getAllMarkersDomElementsSorted as _0x457e71}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x13c1(){const _0x556540=['menuitem','expired','source','reduce','145838Cjkshw','createAnnotation','componentFactory','discardSelectedSuggestions','792344crYPZM','define','panelView','discardButton','commands','getJoined','length','_annotationViews','trackChangesLicenseKeyDevelopmentLimit','_createMenuBarMenu','keys','editor','suggestionView','fire','Track\x20changes','separator','requires','comments.maxThreadTotalWeight','buttonView','has','trialLimit','TrackChangesEditing','suggestion-','_handleControllerBuffer','activeMarkers','registerAnnotation','hasSuggestion','3KzVwNA','suggestionUnloaded','some','add','_updateController','stopListening','change:activeAnnotations','Discard\x20all\x20suggestions','escape','Discard\x20all\x20selected\x20suggestions','get','trackChanges','acceptSelectedSuggestions','_handleSuggestionControllerDelayed','descriptionFactory','isEnabled','_unbindEditors','_showLicenseError','evaluationLimit','21caybTt','execute','_disableComments','set','TrackChanges','_bindAnnotationToEditors','_suggestionToController','trackChanges.disableComments','refreshSelectedViews','descriptionParts','destroy','CommentView','CommentsRepository','trackChangesLicenseKeyTrialLimit','actionView','comments.editorConfig','getAllAdjacentSuggestions','Accept\x20all\x20suggestions','commandName','plugins','menuBar:trackChanges','trackChangesLicenseKeyInvalid','menu','isPremiumPlugin','children','size','view','_viewToController','mainView','getByInnerView','invalid','values','_addUIComponentsToFactory','_initializeController','remove','getDescriptions','_licenseKeyCheckInterval','EditorAnnotations','_destroyController','locale','delegate','featureNotAllowed','addSourceCollector','isInContent','getFirstRange','value','listenTo','innerView','trackChangesLicenseKeyExpired','from','Annotations','trackChangesLicenseKeyValid','unbind','TrackChangesUI','getMarkerNames','1496625MiFaYF','focus','trackChanges.SuggestionThreadView','482640qiRNMt','discardAllSuggestions','suggestionLoaded','commentsListView','createAnnotationView','_refreshActiveMarkers','_createToolbarButton','isDirty','menuitemcheckbox','trackChangesLicenseKeyEvaluationLimit','toMany','1909508aDlwjU','SuggestionThreadView','domainLimit','1664118ASJeMP','commentThread','init','SuggestionView','push','202922NJMYjh','acceptAllSuggestions','bind','type','Accept\x20all\x20selected\x20suggestions','head','items','editing','suggestionChanged','model','trackChanges.SuggestionView','developmentLimit','addComment','isOfficialPlugin','switchbutton','pluginName','isOn','createCommentThreadController','isMultiRange','change:previous','previous','getRanges','comments','getSuggestion','getMarkers','config','activeAnnotations','usageLimit','arrowView','CommentsUI','button','trackChangesLicenseKeyUsageLimit','clear','filter','delete','comments.maxCommentCharsWhenCollapsed','lowest','acceptButton','trackChangesLicenseKeyDomainLimit','trackChangesLicenseKeyNotAllowed','comments.maxCommentsWhenCollapsed','licenseKey'];_0x13c1=function(){return _0x556540;};return _0x13c1();}import _0x1e456c from'./trackchangesediting.js';import _0x5c1789 from'./ui/suggestioncontroller.js';import _0x1248ff from'./ui/view/suggestionthreadview.js';function _0x5dbc(_0x4089b2,_0x112cc1){const _0x13c169=_0x13c1();return _0x5dbc=function(_0x5dbc03,_0x3e4b0c){_0x5dbc03=_0x5dbc03-0x1bb;let _0x2049fe=_0x13c169[_0x5dbc03];return _0x2049fe;},_0x5dbc(_0x4089b2,_0x112cc1);}import _0x48c065 from'./ui/view/suggestionview.js';import{getTranslation as _0x424b2d}from'./utils/common-translations.js';import _0x2a4083 from'../theme/icons/track-changes.svg';export default class d extends _0x4fca7f{static get[_0x1498d1(0x257)](){const _0x350ed5=_0x1498d1;return[_0x1e456c,_0x936bd6,_0x350ed5(0x1d4),_0x350ed5(0x1fa),_0x350ed5(0x1ed)];}static get[_0x1498d1(0x224)](){const _0x207456=_0x1498d1;return _0x207456(0x1fd);}static get[_0x1498d1(0x222)](){return!0x0;}static get[_0x1498d1(0x1df)](){return!0x0;}constructor(_0x22149c){const _0x1fb47d=_0x1498d1;super(_0x22149c),this[_0x1fb47d(0x1ce)]=new Map(),this[_0x1fb47d(0x1e3)]=new Map(),this[_0x1fb47d(0x24e)]=new Map(),this[_0x1fb47d(0x25e)]=new Map();const _0x1393e3=this[_0x1fb47d(0x252)][_0x1fb47d(0x22e)];_0x1393e3[_0x1fb47d(0x248)](_0x1fb47d(0x201),_0x1248ff),_0x1393e3[_0x1fb47d(0x248)](_0x1fb47d(0x21f),_0x48c065),_0x1393e3[_0x1fb47d(0x248)](_0x1fb47d(0x1cf),!0x1),this[_0x1fb47d(0x1ca)]=_0x1393e3[_0x1fb47d(0x1bf)](_0x1fb47d(0x1cf));}[_0x1498d1(0x1c2)](_0x9407ca,_0x44c8a5){const _0x26bfd9=_0x1498d1;0x0===this[_0x26bfd9(0x25e)][_0x26bfd9(0x1e1)]&&setTimeout(()=>{const _0x170b92=_0x26bfd9;for(const [_0x538280,_0x52e6a2]of this[_0x170b92(0x25e)]){const _0x5554a9=this[_0x170b92(0x1ce)][_0x170b92(0x25a)](_0x538280);_0x5554a9||_0x52e6a2?_0x5554a9&&_0x52e6a2&&this[_0x170b92(0x1ee)](_0x538280):this[_0x170b92(0x1e9)](_0x538280);}this[_0x170b92(0x25e)][_0x170b92(0x235)](),this[_0x170b92(0x252)][_0x170b92(0x1db)][_0x170b92(0x1bf)](_0x170b92(0x1ed))[_0x170b92(0x1d0)](),this[_0x170b92(0x207)]();},0xa),this[_0x26bfd9(0x25e)][_0x26bfd9(0x1cb)](_0x9407ca,_0x44c8a5);}[_0x1498d1(0x212)](){const _0xec87cb=_0x1498d1,_0x201adc=this[_0xec87cb(0x252)],_0x5318d0=_0x201adc[_0xec87cb(0x1db)][_0xec87cb(0x1bf)](_0xec87cb(0x25c)),_0x15dd34=_0x201adc[_0xec87cb(0x1db)][_0xec87cb(0x1bf)](_0xec87cb(0x1fa)),_0x3e8464=_0x201adc[_0xec87cb(0x1db)][_0xec87cb(0x1bf)](_0xec87cb(0x1ed)),_0x249571=_0x201adc[_0xec87cb(0x1db)][_0xec87cb(0x1bf)](_0xec87cb(0x1d4));this[_0xec87cb(0x1e8)](),_0x3e8464[_0xec87cb(0x1f2)](()=>{const _0xe7cf24=_0xec87cb,_0x3f3482=[];for(const [_0x35eec6,_0x4d9367]of Array[_0xe7cf24(0x1f9)](this[_0xe7cf24(0x1ce)])){const _0x4baaef=_0x35eec6[_0xe7cf24(0x1d8)](),_0x263506=[];for(const _0x14bf7f of _0x4baaef){if(!_0x14bf7f[_0xe7cf24(0x1f3)])continue;if(_0x14bf7f[_0xe7cf24(0x227)]){_0x263506[_0xe7cf24(0x214)](..._0x14bf7f[_0xe7cf24(0x22a)]());continue;}const _0x587e29=_0x14bf7f[_0xe7cf24(0x1f4)]();if(_0x263506[_0xe7cf24(0x24d)]>0x0){const _0x2c2e81=_0x263506[0x0][_0xe7cf24(0x24c)](_0x587e29);if(_0x2c2e81){_0x263506[0x0]=_0x2c2e81;continue;}}_0x263506[_0xe7cf24(0x214)](_0x587e29);}_0x3f3482[_0xe7cf24(0x214)]([_0x4d9367[_0xe7cf24(0x1e2)],_0x263506]);}return _0x3f3482;}),this[_0xec87cb(0x1f6)](_0x5318d0,_0xec87cb(0x204),(_0x45d229,_0x2b9f04)=>{const _0x295e8c=_0xec87cb;this[_0x295e8c(0x1f6)](_0x2b9f04,_0x295e8c(0x228),(_0x53b543,_0x2d9335,_0x542aca,_0x3ceba1)=>{const _0x25bea3=_0x295e8c;_0x2b9f04[_0x25bea3(0x1f3)]&&(null==_0x542aca?(this[_0x25bea3(0x266)](_0x3ceba1[_0x25bea3(0x21a)]),this[_0x25bea3(0x1c2)](_0x2b9f04,!0x1)):(this[_0x25bea3(0x266)](_0x542aca[_0x25bea3(0x21a)]),null==_0x3ceba1&&this[_0x25bea3(0x1c2)](_0x2b9f04,!0x0)));}),null!==_0x2b9f04[_0x295e8c(0x229)]?this[_0x295e8c(0x266)](_0x2b9f04[_0x295e8c(0x21a)]):this[_0x295e8c(0x1c2)](_0x2b9f04,!0x1);}),this[_0xec87cb(0x1f6)](_0x5318d0,_0xec87cb(0x263),(_0x2e33aa,_0x3308b3,_0x227a30)=>{const _0xa8158d=_0xec87cb;this[_0xa8158d(0x267)](_0x3308b3,_0xa8158d(0x228)),this[_0xa8158d(0x25e)][_0xa8158d(0x237)](_0x3308b3),this[_0xa8158d(0x1ce)][_0xa8158d(0x25a)](_0x3308b3)&&this[_0xa8158d(0x1ee)](_0x3308b3),_0x227a30&&this[_0xa8158d(0x266)](_0x227a30[_0xa8158d(0x21a)]);}),this[_0xec87cb(0x1f6)](_0x5318d0,_0xec87cb(0x21d),(_0x1a4603,_0x365779)=>{const _0x53001a=_0xec87cb;this[_0x53001a(0x266)](_0x365779);}),this[_0xec87cb(0x1f6)](_0x15dd34,_0xec87cb(0x1bb),()=>{const _0x6d1938=_0xec87cb;this[_0x6d1938(0x207)]();}),this[_0xec87cb(0x1f6)](_0x249571,_0xec87cb(0x221),(_0x5e38d7,{threadId:_0x49ae50,isFromAdapter:_0x316f88})=>{const _0xab71e0=_0xec87cb;if(_0x316f88||!_0x5318d0[_0xab71e0(0x261)](_0x49ae50))return;const _0x57fc35=_0x5318d0[_0xab71e0(0x22c)](_0x49ae50);this[_0xab71e0(0x1ce)][_0xab71e0(0x1bf)](_0x57fc35)[_0xab71e0(0x1e2)][_0xab71e0(0x205)][_0xab71e0(0x200)](-0x1);},{'priority':_0xec87cb(0x239)}),this[_0xec87cb(0x23e)]=this[_0xec87cb(0x252)][_0xec87cb(0x22e)][_0xec87cb(0x1bf)](_0xec87cb(0x23e));const _0x355d5e=this[_0xec87cb(0x252)];this[_0xec87cb(0x1ec)]=setInterval(()=>{const _0x1b9655=_0xec87cb;let _0x17de53;for(const _0x5d485f in _0x355d5e){const _0x4688e0=_0x5d485f,_0x6a9ee5=_0x355d5e[_0x4688e0];if(_0x1b9655(0x1fb)==_0x6a9ee5||_0x1b9655(0x1dd)==_0x6a9ee5||_0x1b9655(0x1f8)==_0x6a9ee5||_0x1b9655(0x23b)==_0x6a9ee5||_0x1b9655(0x23c)==_0x6a9ee5||_0x1b9655(0x20b)==_0x6a9ee5||_0x1b9655(0x1d5)==_0x6a9ee5||_0x1b9655(0x24f)==_0x6a9ee5||_0x1b9655(0x234)==_0x6a9ee5){delete _0x355d5e[_0x4688e0],_0x17de53=_0x6a9ee5,clearInterval(this[_0x1b9655(0x1ec)]),this[_0x1b9655(0x1ec)]=void 0x0;break;}}_0x1b9655(0x1dd)==_0x17de53&&_0x355d5e[_0x1b9655(0x1c6)](_0x1b9655(0x1e6)),_0x1b9655(0x1f8)==_0x17de53&&_0x355d5e[_0x1b9655(0x1c6)](_0x1b9655(0x240)),_0x1b9655(0x23b)==_0x17de53&&_0x355d5e[_0x1b9655(0x1c6)](_0x1b9655(0x20f)),_0x1b9655(0x23c)==_0x17de53&&_0x355d5e[_0x1b9655(0x1c6)](_0x1b9655(0x1f1),_0x1b9655(0x1cc)),_0x1b9655(0x20b)==_0x17de53&&_0x355d5e[_0x1b9655(0x1c6)](_0x1b9655(0x1c7)),_0x1b9655(0x1d5)==_0x17de53&&_0x355d5e[_0x1b9655(0x1c6)](_0x1b9655(0x25b)),_0x1b9655(0x24f)==_0x17de53&&_0x355d5e[_0x1b9655(0x1c6)](_0x1b9655(0x220)),_0x1b9655(0x234)==_0x17de53&&_0x355d5e[_0x1b9655(0x1c6)](_0x1b9655(0x230));},0x3e8);}[_0x1498d1(0x207)](){const _0x236fbe=_0x1498d1,_0x53e7a8=this[_0x236fbe(0x252)][_0x236fbe(0x1db)][_0x236fbe(0x1bf)](_0x236fbe(0x1fa)),_0x263fd7=this[_0x236fbe(0x252)][_0x236fbe(0x1db)][_0x236fbe(0x1bf)](_0x236fbe(0x25c)),_0x426bb4=Array[_0x236fbe(0x1f9)](_0x53e7a8[_0x236fbe(0x22f)],_0xa45326=>_0xa45326[_0x236fbe(0x1f7)])[_0x236fbe(0x236)](_0x1b44c1=>this[_0x236fbe(0x1e3)][_0x236fbe(0x25a)](_0x1b44c1)),_0x65d51b=[];for(const _0x268753 of _0x426bb4){const _0x2b22a2=this[_0x236fbe(0x1e3)][_0x236fbe(0x1bf)](_0x268753)[_0x236fbe(0x21e)][_0x236fbe(0x1d8)]();_0x65d51b[_0x236fbe(0x214)](..._0x2b22a2[_0x236fbe(0x242)]((_0x224d0c,_0x403654)=>[..._0x224d0c,..._0x403654[_0x236fbe(0x1fe)]()],[]));}_0x263fd7[_0x236fbe(0x25f)]=_0x65d51b;}[_0x1498d1(0x1e8)](){const _0x4b1492=_0x1498d1,_0x598fc7=this[_0x4b1492(0x252)],_0x427b32=_0x598fc7[_0x4b1492(0x1ef)],_0x29eb0c=_0x424b2d(_0x427b32,_0x4b1492(0x255)),_0x251d2d=new _0x797e46([{'type':_0x4b1492(0x223),'model':new _0x33bfbb({'withText':!0x0,'isToggleable':!0x0,'label':_0x29eb0c,'commandName':_0x4b1492(0x1c0),'role':_0x4b1492(0x20a)})},{'type':_0x4b1492(0x256)},{'type':_0x4b1492(0x233),'model':new _0x33bfbb({'withText':!0x0,'label':_0x424b2d(_0x427b32,_0x4b1492(0x1d9)),'commandName':_0x4b1492(0x216),'role':_0x4b1492(0x23f)})},{'type':_0x4b1492(0x233),'model':new _0x33bfbb({'withText':!0x0,'label':_0x424b2d(_0x427b32,_0x4b1492(0x219)),'commandName':_0x4b1492(0x1c1),'role':_0x4b1492(0x23f)})},{'type':_0x4b1492(0x233),'model':new _0x33bfbb({'withText':!0x0,'label':_0x424b2d(_0x427b32,_0x4b1492(0x1bc)),'commandName':_0x4b1492(0x203),'role':_0x4b1492(0x23f)})},{'type':_0x4b1492(0x233),'model':new _0x33bfbb({'withText':!0x0,'label':_0x424b2d(_0x427b32,_0x4b1492(0x1be)),'commandName':_0x4b1492(0x246),'role':_0x4b1492(0x23f)})}]);for(const _0x46865c of _0x251d2d)if(pe(_0x46865c)){const _0x97447c=_0x598fc7[_0x4b1492(0x24b)][_0x4b1492(0x1bf)](_0x46865c[_0x4b1492(0x21e)][_0x4b1492(0x1da)]);_0x46865c[_0x4b1492(0x21e)][_0x4b1492(0x217)](_0x4b1492(0x225),_0x4b1492(0x1c4))['to'](_0x97447c,_0x4b1492(0x1f5),_0x4b1492(0x1c4));}_0x598fc7['ui'][_0x4b1492(0x245)][_0x4b1492(0x265)](_0x4b1492(0x1c0),_0x5105dd=>this[_0x4b1492(0x208)](_0x5105dd,_0x251d2d,_0x29eb0c)),_0x598fc7['ui'][_0x4b1492(0x245)][_0x4b1492(0x265)](_0x4b1492(0x1dc),_0x26e326=>this[_0x4b1492(0x250)](_0x26e326,_0x251d2d,_0x29eb0c));}[_0x1498d1(0x208)](_0x17bfd8,_0x10511,_0x3bc623){const _0x54c27e=_0x1498d1,_0x4c8f93=_0x446966(_0x17bfd8,_0x3777f4),_0x432537=this[_0x54c27e(0x252)][_0x54c27e(0x24b)][_0x54c27e(0x1bf)](_0x54c27e(0x1c0));_0x4c8f93[_0x54c27e(0x259)][_0x54c27e(0x1cb)]({'tooltip':_0x3bc623,'label':_0x3bc623,'icon':_0x2a4083}),_0x4c8f93[_0x54c27e(0x259)][_0x54c27e(0x217)](_0x54c27e(0x225))['to'](_0x432537,_0x54c27e(0x1f5)),_0x4c8f93[_0x54c27e(0x259)]['on'](_0x54c27e(0x1c9),()=>{const _0x1039d2=_0x54c27e;_0x432537[_0x1039d2(0x1c9)](),this[_0x1039d2(0x252)][_0x1039d2(0x21c)][_0x1039d2(0x1e2)][_0x1039d2(0x200)]();}),_0xe5c770(_0x4c8f93,_0x10511,{'role':_0x54c27e(0x1de)});const _0x343a1e=[];for(const _0x4096ff of _0x10511)pe(_0x4096ff)&&_0x343a1e[_0x54c27e(0x214)](this[_0x54c27e(0x252)][_0x54c27e(0x24b)][_0x54c27e(0x1bf)](_0x4096ff[_0x54c27e(0x21e)][_0x54c27e(0x1da)]));const _0x590de4=_0x4c8f93[_0x54c27e(0x259)];return _0x590de4[_0x54c27e(0x1d6)][_0x54c27e(0x1fc)](_0x54c27e(0x1c4)),_0x590de4[_0x54c27e(0x231)][_0x54c27e(0x1fc)](_0x54c27e(0x1c4)),_0x590de4[_0x54c27e(0x1d6)][_0x54c27e(0x217)](_0x54c27e(0x1c4))['to'](_0x432537,_0x54c27e(0x1c4)),_0x590de4[_0x54c27e(0x231)][_0x54c27e(0x217)](_0x54c27e(0x1c4))[_0x54c27e(0x20c)](_0x343a1e,_0x54c27e(0x1c4),(..._0x253917)=>_0x253917[_0x54c27e(0x264)](_0x2b6fe0=>_0x2b6fe0)),_0x4c8f93['on'](_0x54c27e(0x1c9),_0x2cbfd5=>{const _0x57a970=_0x54c27e;this[_0x57a970(0x252)][_0x57a970(0x1c9)](_0x2cbfd5[_0x57a970(0x241)][_0x57a970(0x1da)]),this[_0x57a970(0x252)][_0x57a970(0x21c)][_0x57a970(0x1e2)][_0x57a970(0x200)]();}),_0x4c8f93;}[_0x1498d1(0x250)](_0x111c61,_0x190d67,_0x45274c){const _0x36eff0=_0x1498d1,_0x5a2ac9=new _0x24474f(_0x111c61),_0xe0d393=this[_0x36eff0(0x252)][_0x36eff0(0x24b)][_0x36eff0(0x1bf)](_0x36eff0(0x1c0));_0x5a2ac9[_0x36eff0(0x259)][_0x36eff0(0x1cb)]({'label':_0x45274c,'icon':_0x2a4083});const _0x1deaf3=new _0x55f444(_0x111c61);for(const _0x31ac96 of _0x190d67){if(_0x36eff0(0x256)==_0x31ac96[_0x36eff0(0x218)]){_0x1deaf3[_0x36eff0(0x21b)][_0x36eff0(0x265)](new _0x491f94(_0x111c61));continue;}const _0x278ab8=new _0x38d453(_0x111c61,_0x5a2ac9),_0x3ae4ba=new _0x5c4835(_0x111c61),_0x3e18ad=_0x31ac96[_0x36eff0(0x21e)];_0x3ae4ba[_0x36eff0(0x217)](...Object[_0x36eff0(0x251)](_0x3e18ad))['to'](_0x3e18ad),_0x3ae4ba[_0x36eff0(0x1f0)](_0x36eff0(0x1c9))['to'](_0x5a2ac9),_0x3ae4ba['on'](_0x36eff0(0x1c9),()=>{const _0x2d5279=_0x36eff0;this[_0x2d5279(0x252)][_0x2d5279(0x1c9)](_0x3e18ad[_0x2d5279(0x1da)]),this[_0x2d5279(0x252)][_0x2d5279(0x21c)][_0x2d5279(0x1e2)][_0x2d5279(0x200)]();}),_0x278ab8[_0x36eff0(0x1e0)][_0x36eff0(0x265)](_0x3ae4ba),_0x1deaf3[_0x36eff0(0x21b)][_0x36eff0(0x265)](_0x278ab8);}return _0x5a2ac9[_0x36eff0(0x217)](_0x36eff0(0x1c4))['to'](_0xe0d393,_0x36eff0(0x1c4)),_0x5a2ac9[_0x36eff0(0x249)][_0x36eff0(0x1e0)][_0x36eff0(0x265)](_0x1deaf3),_0x5a2ac9;}[_0x1498d1(0x1e9)](_0x2f639a){const _0x46752f=_0x1498d1,_0x265334=this[_0x46752f(0x252)],_0x13cb4b=_0x265334[_0x46752f(0x22e)],_0x992001=_0x265334[_0x46752f(0x1db)][_0x46752f(0x1bf)](_0x46752f(0x1fa)),_0x150bd2=_0x265334[_0x46752f(0x1db)][_0x46752f(0x1bf)](_0x46752f(0x1d4)),_0x1d8b8d=_0x265334[_0x46752f(0x1db)][_0x46752f(0x1bf)](_0x46752f(0x1ed)),_0x4071c2=_0x265334[_0x46752f(0x1db)][_0x46752f(0x1bf)](_0x936bd6)['me'],_0xe01b2=_0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x1c0))[_0x46752f(0x20e)],_0x1d413f=_0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x1c0))[_0x46752f(0x213)],{CommentsListView:_0x1e85e5,CommentThreadInputView:_0x16f283}=_0x265334[_0x46752f(0x1db)][_0x46752f(0x1bf)](_0x46752f(0x232));let _0x2d7fb7,_0x212ed7,_0xdefe2d;this[_0x46752f(0x24e)][_0x46752f(0x25a)](_0x2f639a['id'])?(_0x212ed7=this[_0x46752f(0x24e)][_0x46752f(0x1bf)](_0x2f639a['id']),_0x2d7fb7=_0x212ed7[_0x46752f(0x1e4)]):(_0x2d7fb7=new _0xe01b2(_0x265334[_0x46752f(0x1ef)],_0x2f639a,_0x4071c2,{'disableComments':this[_0x46752f(0x1ca)],'editorConfig':{..._0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x1d7)),'licenseKey':_0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x23e))},'maxCommentsWhenCollapsed':_0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x23d)),'maxThreadTotalWeight':_0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x258)),'maxCommentCharsWhenCollapsed':_0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x238)),'formatDateTime':_0x4363f(_0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x1ef))),'CommentView':_0x13cb4b[_0x46752f(0x1bf)](_0x46752f(0x22b))[_0x46752f(0x1d3)],'CommentsListView':_0x1e85e5,'CommentThreadInputView':_0x16f283,'SuggestionView':_0x1d413f}),_0x2d7fb7[_0x46752f(0x253)][_0x46752f(0x23a)]['on'](_0x46752f(0x1c9),()=>{const _0x20eef6=_0x46752f;_0x265334[_0x20eef6(0x21c)][_0x20eef6(0x1e2)][_0x20eef6(0x200)]();}),_0x2d7fb7[_0x46752f(0x253)][_0x46752f(0x24a)]['on'](_0x46752f(0x1c9),()=>{const _0x5b33d7=_0x46752f;_0x265334[_0x5b33d7(0x21c)][_0x5b33d7(0x1e2)][_0x5b33d7(0x200)]();}),_0x212ed7=_0x992001[_0x46752f(0x206)](this[_0x46752f(0x252)][_0x46752f(0x1ef)],_0x2d7fb7),_0x212ed7[_0x46752f(0x217)](_0x46752f(0x209))['to'](_0x2d7fb7,_0x46752f(0x209)),_0x212ed7[_0x46752f(0x217)](_0x46752f(0x24d))['to'](_0x2d7fb7),_0x212ed7[_0x46752f(0x217)](_0x46752f(0x218))['to'](_0x2d7fb7,_0x46752f(0x218),_0x472538=>_0x46752f(0x25d)+_0x472538),_0x2d7fb7['on'](_0x46752f(0x1bd),()=>{const _0x35fabd=_0x46752f;_0xdefe2d[_0x35fabd(0x254)](_0x35fabd(0x1bd));}),this[_0x46752f(0x24e)][_0x46752f(0x1cb)](_0x2f639a['id'],_0x212ed7));const _0x1e4429=_0x150bd2[_0x46752f(0x226)](_0x2f639a[_0x46752f(0x211)],_0x2d7fb7),_0x22846e=new _0x5c1789(_0x265334,_0x2f639a,_0x2d7fb7,_0x1e4429),_0x330dd4=_0x2f639a[_0x46752f(0x1d8)]()[_0x46752f(0x236)](_0x1ef6b3=>_0x1ef6b3[_0x46752f(0x1f3)]);_0x2d7fb7[_0x46752f(0x1d1)]=_0x265334[_0x46752f(0x1db)][_0x46752f(0x1bf)](_0x46752f(0x25c))[_0x46752f(0x1c3)][_0x46752f(0x1eb)](_0x330dd4),this[_0x46752f(0x1ce)][_0x46752f(0x1cb)](_0x2f639a,_0x22846e),this[_0x46752f(0x1e3)][_0x46752f(0x1cb)](_0x2d7fb7,_0x22846e),_0xdefe2d=_0x992001[_0x46752f(0x244)]({'view':_0x212ed7,'target':()=>{const _0x439790=_0x46752f,_0x2aed2b=[],_0x3d1cfb=_0x2f639a[_0x439790(0x1d8)]()[_0x439790(0x236)](_0x2263cb=>_0x2263cb[_0x439790(0x1f3)]);for(const _0xb74482 of _0x3d1cfb)_0x2aed2b[_0x439790(0x214)](..._0xb74482[_0x439790(0x22d)]());return _0x457e71(_0x265334[_0x439790(0x21c)],_0x2aed2b);},'type':()=>_0x46752f(0x25d)+_0x22846e[_0x46752f(0x1e2)][_0x46752f(0x218)]}),_0x150bd2[_0x46752f(0x1cd)](_0x2d7fb7,_0xdefe2d),_0x992001[_0x46752f(0x265)](_0xdefe2d),_0x1d8b8d[_0x46752f(0x260)](_0xdefe2d);}[_0x1498d1(0x1ee)](_0x361e46){const _0x7462a6=_0x1498d1,_0x4d6785=this[_0x7462a6(0x252)][_0x7462a6(0x1db)][_0x7462a6(0x1bf)](_0x7462a6(0x1d4)),_0xa49269=this[_0x7462a6(0x252)][_0x7462a6(0x1db)][_0x7462a6(0x1bf)](_0x7462a6(0x1fa)),_0x89c48=this[_0x7462a6(0x1ce)][_0x7462a6(0x1bf)](_0x361e46),_0x14dcd1=_0x89c48[_0x7462a6(0x1e2)],_0x3f3d9f=_0xa49269[_0x7462a6(0x1e5)](_0x14dcd1);_0x4d6785[_0x7462a6(0x1c5)](_0x14dcd1),_0x3f3d9f&&_0xa49269[_0x7462a6(0x1ea)](_0x3f3d9f),this[_0x7462a6(0x1ce)][_0x7462a6(0x237)](_0x361e46),this[_0x7462a6(0x1e3)][_0x7462a6(0x237)](_0x14dcd1),_0x89c48[_0x7462a6(0x1d2)]();}[_0x1498d1(0x266)](_0x4bdbf2){const _0x59aa03=_0x1498d1;if(!_0x4bdbf2[_0x59aa03(0x1f3)]||!this[_0x59aa03(0x1ce)][_0x59aa03(0x25a)](_0x4bdbf2))return;const _0x1decf1=this[_0x59aa03(0x252)][_0x59aa03(0x1db)][_0x59aa03(0x1bf)](_0x59aa03(0x25c)),_0x1f5ba4=this[_0x59aa03(0x1ce)][_0x59aa03(0x1bf)](_0x4bdbf2),_0x16908b=_0x4bdbf2[_0x59aa03(0x1d8)]();_0x1f5ba4[_0x59aa03(0x1e2)][_0x59aa03(0x1d1)]=_0x1decf1[_0x59aa03(0x1c3)][_0x59aa03(0x1eb)](_0x16908b);}[_0x1498d1(0x1d2)](){const _0x450b6b=_0x1498d1;for(const _0x2814fb of this[_0x450b6b(0x1ce)][_0x450b6b(0x251)]())this[_0x450b6b(0x1ee)](_0x2814fb);for(const _0x2994e6 of this[_0x450b6b(0x24e)][_0x450b6b(0x1e7)]())_0x2994e6[_0x450b6b(0x1e4)][_0x450b6b(0x1d2)]();super[_0x450b6b(0x1d2)](),this[_0x450b6b(0x1ec)]&&clearInterval(this[_0x450b6b(0x1ec)]);}}function pe(_0x5230de){const _0xfa8859=_0x1498d1;return _0xfa8859(0x21e)in _0x5230de;}
|
|
23
|
+
const _0xca9459=_0x21d5;(function(_0x56342e,_0x242e79){const _0x234c6f=_0x21d5,_0x4ec844=_0x56342e();while(!![]){try{const _0x106728=-parseInt(_0x234c6f(0x203))/0x1*(parseInt(_0x234c6f(0x20d))/0x2)+-parseInt(_0x234c6f(0x273))/0x3*(-parseInt(_0x234c6f(0x1ee))/0x4)+-parseInt(_0x234c6f(0x25c))/0x5+parseInt(_0x234c6f(0x1e6))/0x6+-parseInt(_0x234c6f(0x254))/0x7*(-parseInt(_0x234c6f(0x253))/0x8)+-parseInt(_0x234c6f(0x274))/0x9+parseInt(_0x234c6f(0x233))/0xa;if(_0x106728===_0x242e79)break;else _0x4ec844['push'](_0x4ec844['shift']());}catch(_0x428037){_0x4ec844['push'](_0x4ec844['shift']());}}}(_0x824b,0xa27ca));function _0x824b(){const _0x19b0b8=['Accept\x20all\x20suggestions','menuBar:trackChanges','trackChanges.SuggestionThreadView','invalid','menuitem','_viewToController','TrackChangesEditing','innerView','trackChanges.SuggestionView','isDirty','acceptButton','commandName','getMarkers','bind','trackChangesLicenseKeyUsageLimit','4419dkFAnx','3896766usvlcO','_addUIComponentsToFactory','_handleControllerBuffer','trackChangesLicenseKeyDevelopmentLimit','_suggestionToController','actionView','Track\x20changes','stopListening','delete','lowest','set','comments','hasSuggestion','Accept\x20all\x20selected\x20suggestions','EditorAnnotations','mainView','acceptSelectedSuggestions','trackChangesLicenseKeyExpired','_createToolbarButton','remove','trackChangesLicenseKeyEvaluationLimit','descriptionFactory','panelView','Discard\x20all\x20selected\x20suggestions','_unbindEditors','value','CommentsRepository','trackChangesLicenseKeyInvalid','unbind','source','config','_bindAnnotationToEditors','children','createCommentThreadController','toMany','isOn','962634tPojqe','activeMarkers','_handleSuggestionControllerDelayed','type','isInContent','define','discardButton','trackChanges','236HrUTLK','clear','getSuggestion','suggestionView','componentFactory','view','isMultiRange','View\x20final\x20document','licenseKey','isPremiumPlugin','usageLimit','viewFinalDocument','fire','addSourceCollector','getMarkerNames','model','pluginName','previous','commands','isEnabled','expired','6HFrYTs','discardAllSuggestions','push','button','_disableComments','delegate','developmentLimit','from','locale','trackChangesLicenseKeyTrialLimit','365164XbaOft','createAnnotationView','menu','comments.maxThreadTotalWeight','init','size','isOfficialPlugin','get','getAllAdjacentSuggestions','suggestionUnloaded','commentsListView','plugins','Annotations','listenTo','suggestionChanged','getDescriptions','change:previous','trackChangesLicenseKeyDomainLimit','Discard\x20all\x20suggestions','SuggestionThreadView','suggestion-','TrackChangesPreview','reduce','menuitemcheckbox','requires','add','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','length','CommentsUI','discardSelectedSuggestions','addMany','registerAnnotation','descriptionParts','buttonView','editor','createAnnotation','escape','27912550eSLEMI','separator','values','focus','trackChanges.disableComments','CommentView','head','some','_showLicenseError','evaluationLimit','TrackChangesUI','acceptAllSuggestions','items','trackChangesLicenseKeyNotAllowed','TrackChanges','execute','refreshSelectedViews','getRanges','comments.editorConfig','addComment','_licenseKeyCheckInterval','getFirstRange','getByInnerView','arrowView','activeAnnotations','featureNotAllowed','trialLimit','switchbutton','editing','_destroyController','change:activeAnnotations','commentThread','3064tYpxUn','5726ZipCjc','getJoined','has','destroy','_updateController','_initializeController','trackChangesLicenseKeyValid','_createMenuBarMenu','5789415duawBc','filter','_annotationViews','suggestionLoaded','keys','comments.maxCommentsWhenCollapsed','domainLimit','SuggestionView'];_0x824b=function(){return _0x19b0b8;};return _0x824b();}import{Plugin as _0x32e3c9}from'ckeditor5/src/core.js';import{Collection as _0x230301}from'ckeditor5/src/utils.js';import{addListToDropdown as _0xcedea0,createDropdown as _0x45b956,ListSeparatorView as _0x5e5c77,MenuBarMenuView as _0x3d08e5,MenuBarMenuListView as _0x6d3381,MenuBarMenuListItemView as _0x2eb5c0,MenuBarMenuListItemButtonView as _0x1aa7f0,SplitButtonView as _0x88412a,ViewModel as _0xf217c3}from'ckeditor5/src/ui.js';function _0x21d5(_0x400c05,_0x159bf8){const _0x824b86=_0x824b();return _0x21d5=function(_0x21d50d,_0xb22d77){_0x21d50d=_0x21d50d-0x1ce;let _0x22c144=_0x824b86[_0x21d50d];return _0x22c144;},_0x21d5(_0x400c05,_0x159bf8);}import{Users as _0x403d2d,getDateTimeFormatter as _0xacb214,getAllMarkersDomElementsSorted as _0x5b24f5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x379c15 from'./trackchangesediting.js';import _0x57c61d from'./ui/suggestioncontroller.js';import _0x3ce89b from'./ui/view/suggestionthreadview.js';import _0x505bf5 from'./ui/view/suggestionview.js';import{getTranslation as _0x3a4f00}from'./utils/common-translations.js';import _0x43c2fe from'../theme/icons/track-changes.svg';export default class d extends _0x32e3c9{static get[_0xca9459(0x225)](){const _0x33f31d=_0xca9459;return[_0x379c15,_0x403d2d,_0x33f31d(0x1dc),_0x33f31d(0x219),_0x33f31d(0x1d0)];}static get[_0xca9459(0x1fe)](){const _0x72b48b=_0xca9459;return _0x72b48b(0x23d);}static get[_0xca9459(0x213)](){return!0x0;}static get[_0xca9459(0x1f7)](){return!0x0;}constructor(_0x533cf7){const _0x4d4c78=_0xca9459;super(_0x533cf7),this[_0x4d4c78(0x278)]=new Map(),this[_0x4d4c78(0x269)]=new Map(),this[_0x4d4c78(0x25e)]=new Map(),this[_0x4d4c78(0x276)]=new Map();const _0x5c53b7=this[_0x4d4c78(0x230)][_0x4d4c78(0x1e0)];_0x5c53b7[_0x4d4c78(0x1eb)](_0x4d4c78(0x266),_0x3ce89b),_0x5c53b7[_0x4d4c78(0x1eb)](_0x4d4c78(0x26c),_0x505bf5),_0x5c53b7[_0x4d4c78(0x1eb)](_0x4d4c78(0x237),!0x1),this[_0x4d4c78(0x207)]=_0x5c53b7[_0x4d4c78(0x214)](_0x4d4c78(0x237));}[_0xca9459(0x1e8)](_0xe105d2,_0x182eae){const _0x116861=_0xca9459;0x0===this[_0x116861(0x276)][_0x116861(0x212)]&&setTimeout(()=>{const _0x2399e6=_0x116861;for(const [_0x5c49c9,_0x4f8e67]of this[_0x2399e6(0x276)]){const _0x1616a8=this[_0x2399e6(0x278)][_0x2399e6(0x256)](_0x5c49c9);_0x1616a8||_0x4f8e67?_0x1616a8&&_0x4f8e67&&this[_0x2399e6(0x250)](_0x5c49c9):this[_0x2399e6(0x259)](_0x5c49c9);}this[_0x2399e6(0x276)][_0x2399e6(0x1ef)](),this[_0x2399e6(0x230)][_0x2399e6(0x218)][_0x2399e6(0x214)](_0x2399e6(0x1d0))[_0x2399e6(0x243)](),this[_0x2399e6(0x227)]();},0xa),this[_0x116861(0x276)][_0x116861(0x27e)](_0xe105d2,_0x182eae);}[_0xca9459(0x211)](){const _0x102642=_0xca9459,_0x1ad65f=this[_0x102642(0x230)],_0x247207=_0x1ad65f[_0x102642(0x218)][_0x102642(0x214)](_0x102642(0x26a)),_0x1b2aac=_0x1ad65f[_0x102642(0x218)][_0x102642(0x214)](_0x102642(0x219)),_0x3ff7cf=_0x1ad65f[_0x102642(0x218)][_0x102642(0x214)](_0x102642(0x1d0)),_0x1447e3=_0x1ad65f[_0x102642(0x218)][_0x102642(0x214)](_0x102642(0x1dc));this[_0x102642(0x275)](),_0x3ff7cf[_0x102642(0x1fb)](()=>{const _0x51b010=_0x102642,_0xf18058=[];for(const [_0x394f0e,_0x16cc3c]of Array[_0x51b010(0x20a)](this[_0x51b010(0x278)])){const _0x2f0e72=_0x394f0e[_0x51b010(0x215)](),_0x369d6c=[];for(const _0x544424 of _0x2f0e72){if(!_0x544424[_0x51b010(0x1ea)])continue;if(_0x544424[_0x51b010(0x1f4)]){_0x369d6c[_0x51b010(0x205)](..._0x544424[_0x51b010(0x244)]());continue;}const _0x3fe050=_0x544424[_0x51b010(0x248)]();if(_0x369d6c[_0x51b010(0x229)]>0x0){const _0x50e351=_0x369d6c[0x0][_0x51b010(0x255)](_0x3fe050);if(_0x50e351){_0x369d6c[0x0]=_0x50e351;continue;}}_0x369d6c[_0x51b010(0x205)](_0x3fe050);}_0xf18058[_0x51b010(0x205)]([_0x16cc3c[_0x51b010(0x1f3)],_0x369d6c]);}return _0xf18058;}),this[_0x102642(0x21a)](_0x247207,_0x102642(0x25f),(_0x4dd2c5,_0x13622e)=>{const _0x51262b=_0x102642;this[_0x51262b(0x21a)](_0x13622e,_0x51262b(0x21d),(_0x237ff7,_0x335902,_0xad7427,_0x16a974)=>{const _0x243768=_0x51262b;_0x13622e[_0x243768(0x1ea)]&&(null==_0xad7427?(this[_0x243768(0x258)](_0x16a974[_0x243768(0x239)]),this[_0x243768(0x1e8)](_0x13622e,!0x1)):(this[_0x243768(0x258)](_0xad7427[_0x243768(0x239)]),null==_0x16a974&&this[_0x243768(0x1e8)](_0x13622e,!0x0)));}),null!==_0x13622e[_0x51262b(0x1ff)]?this[_0x51262b(0x258)](_0x13622e[_0x51262b(0x239)]):this[_0x51262b(0x1e8)](_0x13622e,!0x1);}),this[_0x102642(0x21a)](_0x247207,_0x102642(0x216),(_0x29159a,_0x2289c3,_0x350c25)=>{const _0x5e5daa=_0x102642;this[_0x5e5daa(0x27b)](_0x2289c3,_0x5e5daa(0x21d)),this[_0x5e5daa(0x276)][_0x5e5daa(0x27c)](_0x2289c3),this[_0x5e5daa(0x278)][_0x5e5daa(0x256)](_0x2289c3)&&this[_0x5e5daa(0x250)](_0x2289c3),_0x350c25&&this[_0x5e5daa(0x258)](_0x350c25[_0x5e5daa(0x239)]);}),this[_0x102642(0x21a)](_0x247207,_0x102642(0x21b),(_0x5f4cff,_0x2c02e0)=>{const _0x353ad5=_0x102642;this[_0x353ad5(0x258)](_0x2c02e0);}),this[_0x102642(0x21a)](_0x1b2aac,_0x102642(0x251),()=>{const _0x2bac50=_0x102642;this[_0x2bac50(0x227)]();}),this[_0x102642(0x21a)](_0x1447e3,_0x102642(0x246),(_0x4a5dfc,{threadId:_0x2e2950,isFromAdapter:_0x2491d8})=>{const _0x5befed=_0x102642;if(_0x2491d8||!_0x247207[_0x5befed(0x1ce)](_0x2e2950))return;const _0x4a31bc=_0x247207[_0x5befed(0x1f0)](_0x2e2950);this[_0x5befed(0x278)][_0x5befed(0x214)](_0x4a31bc)[_0x5befed(0x1f3)][_0x5befed(0x217)][_0x5befed(0x236)](-0x1);},{'priority':_0x102642(0x27d)}),this[_0x102642(0x1f6)]=this[_0x102642(0x230)][_0x102642(0x1e0)][_0x102642(0x214)](_0x102642(0x1f6));const _0x329040=this[_0x102642(0x230)];this[_0x102642(0x247)]=setInterval(()=>{const _0x97d956=_0x102642;let _0x6f8a9c;for(const _0x2b2ed9 in _0x329040){const _0x2def88=_0x2b2ed9,_0x38d688=_0x329040[_0x2def88];if(_0x97d956(0x25a)==_0x38d688||_0x97d956(0x1dd)==_0x38d688||_0x97d956(0x1d3)==_0x38d688||_0x97d956(0x21e)==_0x38d688||_0x97d956(0x240)==_0x38d688||_0x97d956(0x1d6)==_0x38d688||_0x97d956(0x20c)==_0x38d688||_0x97d956(0x277)==_0x38d688||_0x97d956(0x272)==_0x38d688){delete _0x329040[_0x2def88],_0x6f8a9c=_0x38d688,clearInterval(this[_0x97d956(0x247)]),this[_0x97d956(0x247)]=void 0x0;break;}}_0x97d956(0x1dd)==_0x6f8a9c&&_0x329040[_0x97d956(0x23b)](_0x97d956(0x267)),_0x97d956(0x1d3)==_0x6f8a9c&&_0x329040[_0x97d956(0x23b)](_0x97d956(0x202)),_0x97d956(0x21e)==_0x6f8a9c&&_0x329040[_0x97d956(0x23b)](_0x97d956(0x262)),_0x97d956(0x240)==_0x6f8a9c&&_0x329040[_0x97d956(0x23b)](_0x97d956(0x24c),_0x97d956(0x241)),_0x97d956(0x1d6)==_0x6f8a9c&&_0x329040[_0x97d956(0x23b)](_0x97d956(0x23c)),_0x97d956(0x20c)==_0x6f8a9c&&_0x329040[_0x97d956(0x23b)](_0x97d956(0x24d)),_0x97d956(0x277)==_0x6f8a9c&&_0x329040[_0x97d956(0x23b)](_0x97d956(0x209)),_0x97d956(0x272)==_0x6f8a9c&&_0x329040[_0x97d956(0x23b)](_0x97d956(0x1f8));},0x3e8);}[_0xca9459(0x227)](){const _0x351ece=_0xca9459,_0x55b0a0=this[_0x351ece(0x230)][_0x351ece(0x218)][_0x351ece(0x214)](_0x351ece(0x219)),_0x481fa8=this[_0x351ece(0x230)][_0x351ece(0x218)][_0x351ece(0x214)](_0x351ece(0x26a)),_0x4ac9ea=Array[_0x351ece(0x20a)](_0x55b0a0[_0x351ece(0x24b)],_0x2f9264=>_0x2f9264[_0x351ece(0x26b)])[_0x351ece(0x25d)](_0x4e910b=>this[_0x351ece(0x269)][_0x351ece(0x256)](_0x4e910b)),_0x2a7a4f=[];for(const _0x5ac510 of _0x4ac9ea){const _0x24e4fe=this[_0x351ece(0x269)][_0x351ece(0x214)](_0x5ac510)[_0x351ece(0x1fd)][_0x351ece(0x215)]();_0x2a7a4f[_0x351ece(0x205)](..._0x24e4fe[_0x351ece(0x223)]((_0x432a5e,_0x140cfc)=>[..._0x432a5e,..._0x140cfc[_0x351ece(0x1fc)]()],[]));}_0x481fa8[_0x351ece(0x1e7)]=_0x2a7a4f;}[_0xca9459(0x275)](){const _0x12ef69=_0xca9459,_0x14f289=this[_0x12ef69(0x230)],_0x5871c0=_0x14f289[_0x12ef69(0x20b)],_0x58576b=_0x3a4f00(_0x5871c0,_0x12ef69(0x27a)),_0x159dd4=new _0x230301([{'type':_0x12ef69(0x24e),'model':new _0xf217c3({'withText':!0x0,'isToggleable':!0x0,'label':_0x58576b,'commandName':_0x12ef69(0x1ed),'role':_0x12ef69(0x224)})},{'type':_0x12ef69(0x234)},{'type':_0x12ef69(0x206),'model':new _0xf217c3({'withText':!0x0,'label':_0x3a4f00(_0x5871c0,_0x12ef69(0x264)),'commandName':_0x12ef69(0x23e),'role':_0x12ef69(0x268)})},{'type':_0x12ef69(0x206),'model':new _0xf217c3({'withText':!0x0,'label':_0x3a4f00(_0x5871c0,_0x12ef69(0x1cf)),'commandName':_0x12ef69(0x1d2),'role':_0x12ef69(0x268)})},{'type':_0x12ef69(0x206),'model':new _0xf217c3({'withText':!0x0,'label':_0x3a4f00(_0x5871c0,_0x12ef69(0x21f)),'commandName':_0x12ef69(0x204),'role':_0x12ef69(0x268)})},{'type':_0x12ef69(0x206),'model':new _0xf217c3({'withText':!0x0,'label':_0x3a4f00(_0x5871c0,_0x12ef69(0x1d9)),'commandName':_0x12ef69(0x22b),'role':_0x12ef69(0x268)})}]);_0x14f289[_0x12ef69(0x218)][_0x12ef69(0x256)](_0x12ef69(0x222))&&_0x159dd4[_0x12ef69(0x22c)]([{'type':_0x12ef69(0x234)},{'type':_0x12ef69(0x206),'model':new _0xf217c3({'withText':!0x0,'label':_0x3a4f00(_0x5871c0,_0x12ef69(0x1f5)),'commandName':_0x12ef69(0x1f9),'role':_0x12ef69(0x268)})}]);for(const _0x3cd764 of _0x159dd4)if(we(_0x3cd764)){const _0x75519c=_0x14f289[_0x12ef69(0x200)][_0x12ef69(0x214)](_0x3cd764[_0x12ef69(0x1fd)][_0x12ef69(0x26f)]);_0x3cd764[_0x12ef69(0x1fd)][_0x12ef69(0x271)](_0x12ef69(0x1e5),_0x12ef69(0x201))['to'](_0x75519c,_0x12ef69(0x1db),_0x12ef69(0x201));}_0x14f289['ui'][_0x12ef69(0x1f2)][_0x12ef69(0x226)](_0x12ef69(0x1ed),_0x49cd8e=>this[_0x12ef69(0x1d4)](_0x49cd8e,_0x159dd4,_0x58576b)),_0x14f289['ui'][_0x12ef69(0x1f2)][_0x12ef69(0x226)](_0x12ef69(0x265),_0x48718f=>this[_0x12ef69(0x25b)](_0x48718f,_0x159dd4,_0x58576b));}[_0xca9459(0x1d4)](_0x4ddfc4,_0x3817fe,_0x21536c){const _0xd1bdb0=_0xca9459,_0x38a09c=_0x45b956(_0x4ddfc4,_0x88412a),_0x4dbe66=this[_0xd1bdb0(0x230)][_0xd1bdb0(0x200)][_0xd1bdb0(0x214)](_0xd1bdb0(0x1ed));_0x38a09c[_0xd1bdb0(0x22f)][_0xd1bdb0(0x27e)]({'tooltip':_0x21536c,'label':_0x21536c,'icon':_0x43c2fe}),_0x38a09c[_0xd1bdb0(0x22f)][_0xd1bdb0(0x271)](_0xd1bdb0(0x1e5))['to'](_0x4dbe66,_0xd1bdb0(0x1db)),_0x38a09c[_0xd1bdb0(0x22f)]['on'](_0xd1bdb0(0x242),()=>{const _0x1a6563=_0xd1bdb0;_0x4dbe66[_0x1a6563(0x242)](),this[_0x1a6563(0x230)][_0x1a6563(0x24f)][_0x1a6563(0x1f3)][_0x1a6563(0x236)]();}),_0xcedea0(_0x38a09c,_0x3817fe,{'role':_0xd1bdb0(0x20f)});const _0x4d9274=[];for(const _0x135e9c of _0x3817fe)we(_0x135e9c)&&_0x4d9274[_0xd1bdb0(0x205)](this[_0xd1bdb0(0x230)][_0xd1bdb0(0x200)][_0xd1bdb0(0x214)](_0x135e9c[_0xd1bdb0(0x1fd)][_0xd1bdb0(0x26f)]));const _0x1f4cc9=_0x38a09c[_0xd1bdb0(0x22f)];return _0x1f4cc9[_0xd1bdb0(0x279)][_0xd1bdb0(0x1de)](_0xd1bdb0(0x201)),_0x1f4cc9[_0xd1bdb0(0x24a)][_0xd1bdb0(0x1de)](_0xd1bdb0(0x201)),_0x1f4cc9[_0xd1bdb0(0x279)][_0xd1bdb0(0x271)](_0xd1bdb0(0x201))['to'](_0x4dbe66,_0xd1bdb0(0x201)),_0x1f4cc9[_0xd1bdb0(0x24a)][_0xd1bdb0(0x271)](_0xd1bdb0(0x201))[_0xd1bdb0(0x1e4)](_0x4d9274,_0xd1bdb0(0x201),(..._0x3ec0db)=>_0x3ec0db[_0xd1bdb0(0x23a)](_0x4fccf6=>_0x4fccf6)),_0x38a09c['on'](_0xd1bdb0(0x242),_0x16ee91=>{const _0x67f8d8=_0xd1bdb0;this[_0x67f8d8(0x230)][_0x67f8d8(0x242)](_0x16ee91[_0x67f8d8(0x1df)][_0x67f8d8(0x26f)]),this[_0x67f8d8(0x230)][_0x67f8d8(0x24f)][_0x67f8d8(0x1f3)][_0x67f8d8(0x236)]();}),_0x38a09c;}[_0xca9459(0x25b)](_0x10a0c1,_0x11d2dc,_0x2a09fc){const _0x41516b=_0xca9459,_0x151834=new _0x3d08e5(_0x10a0c1),_0x5da81e=this[_0x41516b(0x230)][_0x41516b(0x200)][_0x41516b(0x214)](_0x41516b(0x1ed));_0x151834[_0x41516b(0x22f)][_0x41516b(0x27e)]({'label':_0x2a09fc,'icon':_0x43c2fe});const _0x109a47=new _0x6d3381(_0x10a0c1);for(const _0x252881 of _0x11d2dc){if(_0x41516b(0x234)==_0x252881[_0x41516b(0x1e9)]){_0x109a47[_0x41516b(0x23f)][_0x41516b(0x226)](new _0x5e5c77(_0x10a0c1));continue;}const _0x9f5d0c=new _0x2eb5c0(_0x10a0c1,_0x151834),_0x513512=new _0x1aa7f0(_0x10a0c1),_0x27fd41=_0x252881[_0x41516b(0x1fd)];_0x513512[_0x41516b(0x271)](...Object[_0x41516b(0x260)](_0x27fd41))['to'](_0x27fd41),_0x513512[_0x41516b(0x208)](_0x41516b(0x242))['to'](_0x151834),_0x513512['on'](_0x41516b(0x242),()=>{const _0x4f1fd7=_0x41516b;this[_0x4f1fd7(0x230)][_0x4f1fd7(0x242)](_0x27fd41[_0x4f1fd7(0x26f)]),this[_0x4f1fd7(0x230)][_0x4f1fd7(0x24f)][_0x4f1fd7(0x1f3)][_0x4f1fd7(0x236)]();}),_0x9f5d0c[_0x41516b(0x1e2)][_0x41516b(0x226)](_0x513512),_0x109a47[_0x41516b(0x23f)][_0x41516b(0x226)](_0x9f5d0c);}return _0x151834[_0x41516b(0x271)](_0x41516b(0x201))['to'](_0x5da81e,_0x41516b(0x201)),_0x151834[_0x41516b(0x1d8)][_0x41516b(0x1e2)][_0x41516b(0x226)](_0x109a47),_0x151834;}[_0xca9459(0x259)](_0x910da6){const _0x3c0288=_0xca9459,_0x53f9b5=this[_0x3c0288(0x230)],_0x3deceb=_0x53f9b5[_0x3c0288(0x1e0)],_0x4839be=_0x53f9b5[_0x3c0288(0x218)][_0x3c0288(0x214)](_0x3c0288(0x219)),_0x3f57b0=_0x53f9b5[_0x3c0288(0x218)][_0x3c0288(0x214)](_0x3c0288(0x1dc)),_0xbc0b44=_0x53f9b5[_0x3c0288(0x218)][_0x3c0288(0x214)](_0x3c0288(0x1d0)),_0x3c0e07=_0x53f9b5[_0x3c0288(0x218)][_0x3c0288(0x214)](_0x403d2d)['me'],_0xbdf6a3=_0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x1ed))[_0x3c0288(0x220)],_0x2c9689=_0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x1ed))[_0x3c0288(0x263)],{CommentsListView:_0x5521b5,CommentThreadInputView:_0x6fc79b}=_0x53f9b5[_0x3c0288(0x218)][_0x3c0288(0x214)](_0x3c0288(0x22a));let _0x2ab2e2,_0x32fcf5,_0x3aed73;this[_0x3c0288(0x25e)][_0x3c0288(0x256)](_0x910da6['id'])?(_0x32fcf5=this[_0x3c0288(0x25e)][_0x3c0288(0x214)](_0x910da6['id']),_0x2ab2e2=_0x32fcf5[_0x3c0288(0x1d1)]):(_0x2ab2e2=new _0xbdf6a3(_0x53f9b5[_0x3c0288(0x20b)],_0x910da6,_0x3c0e07,{'disableComments':this[_0x3c0288(0x207)],'editorConfig':{..._0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x245)),'licenseKey':_0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x1f6))},'maxCommentsWhenCollapsed':_0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x261)),'maxThreadTotalWeight':_0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x210)),'maxCommentCharsWhenCollapsed':_0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x228)),'formatDateTime':_0xacb214(_0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x20b))),'CommentView':_0x3deceb[_0x3c0288(0x214)](_0x3c0288(0x27f))[_0x3c0288(0x238)],'CommentsListView':_0x5521b5,'CommentThreadInputView':_0x6fc79b,'SuggestionView':_0x2c9689}),_0x2ab2e2[_0x3c0288(0x1f1)][_0x3c0288(0x26e)]['on'](_0x3c0288(0x242),()=>{const _0x2e6af5=_0x3c0288;_0x53f9b5[_0x2e6af5(0x24f)][_0x2e6af5(0x1f3)][_0x2e6af5(0x236)]();}),_0x2ab2e2[_0x3c0288(0x1f1)][_0x3c0288(0x1ec)]['on'](_0x3c0288(0x242),()=>{const _0x45e68d=_0x3c0288;_0x53f9b5[_0x45e68d(0x24f)][_0x45e68d(0x1f3)][_0x45e68d(0x236)]();}),_0x32fcf5=_0x4839be[_0x3c0288(0x20e)](this[_0x3c0288(0x230)][_0x3c0288(0x20b)],_0x2ab2e2),_0x32fcf5[_0x3c0288(0x271)](_0x3c0288(0x26d))['to'](_0x2ab2e2,_0x3c0288(0x26d)),_0x32fcf5[_0x3c0288(0x271)](_0x3c0288(0x229))['to'](_0x2ab2e2),_0x32fcf5[_0x3c0288(0x271)](_0x3c0288(0x1e9))['to'](_0x2ab2e2,_0x3c0288(0x1e9),_0x482b58=>_0x3c0288(0x221)+_0x482b58),_0x2ab2e2['on'](_0x3c0288(0x232),()=>{const _0x18c4f2=_0x3c0288;_0x3aed73[_0x18c4f2(0x1fa)](_0x18c4f2(0x232));}),this[_0x3c0288(0x25e)][_0x3c0288(0x27e)](_0x910da6['id'],_0x32fcf5));const _0x175eb1=_0x3f57b0[_0x3c0288(0x1e3)](_0x910da6[_0x3c0288(0x252)],_0x2ab2e2),_0x2c48cf=new _0x57c61d(_0x53f9b5,_0x910da6,_0x2ab2e2,_0x175eb1),_0x2f1fa3=_0x910da6[_0x3c0288(0x215)]()[_0x3c0288(0x25d)](_0x21209b=>_0x21209b[_0x3c0288(0x1ea)]);_0x2ab2e2[_0x3c0288(0x22e)]=_0x53f9b5[_0x3c0288(0x218)][_0x3c0288(0x214)](_0x3c0288(0x26a))[_0x3c0288(0x1d7)][_0x3c0288(0x21c)](_0x2f1fa3),this[_0x3c0288(0x278)][_0x3c0288(0x27e)](_0x910da6,_0x2c48cf),this[_0x3c0288(0x269)][_0x3c0288(0x27e)](_0x2ab2e2,_0x2c48cf),_0x3aed73=_0x4839be[_0x3c0288(0x231)]({'view':_0x32fcf5,'target':()=>{const _0x177270=_0x3c0288,_0x42476d=[],_0x4deb89=_0x910da6[_0x177270(0x215)]()[_0x177270(0x25d)](_0x5e5b2c=>_0x5e5b2c[_0x177270(0x1ea)]);for(const _0x3b7487 of _0x4deb89)_0x42476d[_0x177270(0x205)](..._0x3b7487[_0x177270(0x270)]());return _0x5b24f5(_0x53f9b5[_0x177270(0x24f)],_0x42476d);},'type':()=>_0x3c0288(0x221)+_0x2c48cf[_0x3c0288(0x1f3)][_0x3c0288(0x1e9)]}),_0x3f57b0[_0x3c0288(0x1e1)](_0x2ab2e2,_0x3aed73),_0x4839be[_0x3c0288(0x226)](_0x3aed73),_0xbc0b44[_0x3c0288(0x22d)](_0x3aed73);}[_0xca9459(0x250)](_0x22a9c4){const _0x1e48e3=_0xca9459,_0x2515f2=this[_0x1e48e3(0x230)][_0x1e48e3(0x218)][_0x1e48e3(0x214)](_0x1e48e3(0x1dc)),_0x476130=this[_0x1e48e3(0x230)][_0x1e48e3(0x218)][_0x1e48e3(0x214)](_0x1e48e3(0x219)),_0x173bd2=this[_0x1e48e3(0x278)][_0x1e48e3(0x214)](_0x22a9c4),_0x4f1215=_0x173bd2[_0x1e48e3(0x1f3)],_0xea5547=_0x476130[_0x1e48e3(0x249)](_0x4f1215);_0x2515f2[_0x1e48e3(0x1da)](_0x4f1215),_0xea5547&&_0x476130[_0x1e48e3(0x1d5)](_0xea5547),this[_0x1e48e3(0x278)][_0x1e48e3(0x27c)](_0x22a9c4),this[_0x1e48e3(0x269)][_0x1e48e3(0x27c)](_0x4f1215),_0x173bd2[_0x1e48e3(0x257)]();}[_0xca9459(0x258)](_0x3b61af){const _0x4d52c7=_0xca9459;if(!_0x3b61af[_0x4d52c7(0x1ea)]||!this[_0x4d52c7(0x278)][_0x4d52c7(0x256)](_0x3b61af))return;const _0x36a76b=this[_0x4d52c7(0x230)][_0x4d52c7(0x218)][_0x4d52c7(0x214)](_0x4d52c7(0x26a)),_0x46dfb9=this[_0x4d52c7(0x278)][_0x4d52c7(0x214)](_0x3b61af),_0x235f8a=_0x3b61af[_0x4d52c7(0x215)]();_0x46dfb9[_0x4d52c7(0x1f3)][_0x4d52c7(0x22e)]=_0x36a76b[_0x4d52c7(0x1d7)][_0x4d52c7(0x21c)](_0x235f8a);}[_0xca9459(0x257)](){const _0x2a2854=_0xca9459;for(const _0x23f043 of this[_0x2a2854(0x278)][_0x2a2854(0x260)]())this[_0x2a2854(0x250)](_0x23f043);for(const _0x318570 of this[_0x2a2854(0x25e)][_0x2a2854(0x235)]())_0x318570[_0x2a2854(0x1d1)][_0x2a2854(0x257)]();super[_0x2a2854(0x257)](),this[_0x2a2854(0x247)]&&clearInterval(this[_0x2a2854(0x247)]);}}function we(_0xccc846){const _0x3cee32=_0xca9459;return _0x3cee32(0x1fd)in _0xccc846;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4a829d=_0x5b57;function _0x2414(){const _0x3b00fb=['remove','_discardCommand','acceptSuggestion','destroy','isDirty','24zvQins','isEnabled','_pendingAction','_setPendingAction','_acceptCommand','change:isDirty','_editor','PENDING_ACTION_SUGGESTION','model','7314321RklRqL','212452LWJYQO','view','9779824pRDPvA','listenTo','77035AWRwnD','PendingActions','getRanges','1665FKNcdp','discardSuggestion','plugins','stopListening','commands','canEditAt','add','execute','_removePendingAction','commentThreadController','canDiscard','837558AtGhQB','locale','unbind','8132NatyUT','bind','get','16JhxSMK','canAccept','133750iyYSwF'];_0x2414=function(){return _0x3b00fb;};return _0x2414();}(function(_0x4a84a6,_0x5e5ef2){const _0x106bb3=_0x5b57,_0x453151=_0x4a84a6();while(!![]){try{const _0x230e82=parseInt(_0x106bb3(0x19f))/0x1*(parseInt(_0x106bb3(0x1a2))/0x2)+parseInt(_0x106bb3(0x1aa))/0x3*(parseInt(_0x106bb3(0x18a))/0x4)+parseInt(_0x106bb3(0x18e))/0x5+parseInt(_0x106bb3(0x19c))/0x6+-parseInt(_0x106bb3(0x189))/0x7+-parseInt(_0x106bb3(0x18c))/0x8+-parseInt(_0x106bb3(0x191))/0x9*(-parseInt(_0x106bb3(0x1a4))/0xa);if(_0x230e82===_0x5e5ef2)break;else _0x453151['push'](_0x453151['shift']());}catch(_0x271b07){_0x453151['push'](_0x453151['shift']());}}}(_0x2414,0xcfff2));function _0x5b57(_0x48fb8d,_0x1cf849){const _0x241443=_0x2414();return _0x5b57=function(_0x5b57a6,_0x2fb639){_0x5b57a6=_0x5b57a6-0x183;let _0x3544c1=_0x241443[_0x5b57a6];return _0x3544c1;},_0x5b57(_0x48fb8d,_0x1cf849);}import{ObservableMixin as _0x33e26c}from'ckeditor5/src/utils.js';import{getTranslation as _0x81dd49}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x33e26c(){constructor(_0x49acb5,_0x5960d8,_0x3b4686,_0x475487){const _0x2874ba=_0x5b57;super(),this[_0x2874ba(0x188)]=_0x5960d8,this[_0x2874ba(0x18b)]=_0x3b4686,this[_0x2874ba(0x19a)]=_0x475487,this[_0x2874ba(0x186)]=_0x49acb5,this[_0x2874ba(0x184)]=_0x49acb5[_0x2874ba(0x195)][_0x2874ba(0x1a1)](_0x2874ba(0x1a7)),this[_0x2874ba(0x1a6)]=_0x49acb5[_0x2874ba(0x195)][_0x2874ba(0x1a1)](_0x2874ba(0x192)),this[_0x2874ba(0x18b)][_0x2874ba(0x1a0)](_0x2874ba(0x1ab))['to'](this[_0x2874ba(0x184)],this[_0x2874ba(0x1a6)],(_0x36162f,_0x2ecc08)=>_0x36162f||_0x2ecc08),this[_0x2874ba(0x18b)][_0x2874ba(0x1a0)](_0x2874ba(0x1a3))['to'](this[_0x2874ba(0x184)],_0x2874ba(0x1ab),_0x3b3728=>_0x3b3728&&this[_0x2874ba(0x186)][_0x2874ba(0x188)][_0x2874ba(0x196)](_0x5960d8[_0x2874ba(0x190)]())),this[_0x2874ba(0x18b)][_0x2874ba(0x1a0)](_0x2874ba(0x19b))['to'](this[_0x2874ba(0x1a6)],_0x2874ba(0x1ab),_0x3f1c45=>_0x3f1c45&&this[_0x2874ba(0x186)][_0x2874ba(0x188)][_0x2874ba(0x196)](_0x5960d8[_0x2874ba(0x190)]())),this[_0x2874ba(0x1ac)]=null,_0x3b4686[_0x2874ba(0x1a9)]&&this[_0x2874ba(0x183)](),this[_0x2874ba(0x18d)](_0x3b4686,_0x2874ba(0x1a7),()=>this[_0x2874ba(0x1a7)]()),this[_0x2874ba(0x18d)](_0x3b4686,_0x2874ba(0x192),()=>this[_0x2874ba(0x192)]()),this[_0x2874ba(0x18d)](_0x3b4686,_0x2874ba(0x185),()=>{const _0xeee1ee=_0x2874ba;_0x3b4686[_0xeee1ee(0x1a9)]?this[_0xeee1ee(0x183)]():this[_0xeee1ee(0x199)]();});}[_0x4a829d(0x1a7)](){const _0x3cf6a0=_0x4a829d;this[_0x3cf6a0(0x184)][_0x3cf6a0(0x198)](this[_0x3cf6a0(0x188)]['id']);}[_0x4a829d(0x192)](){const _0x558d94=_0x4a829d;this[_0x558d94(0x1a6)][_0x558d94(0x198)](this[_0x558d94(0x188)]['id']);}[_0x4a829d(0x1a8)](){const _0x257667=_0x4a829d;this[_0x257667(0x18b)][_0x257667(0x19e)](_0x257667(0x1ab)),this[_0x257667(0x18b)][_0x257667(0x19e)](_0x257667(0x1a3)),this[_0x257667(0x18b)][_0x257667(0x19e)](_0x257667(0x19b)),this[_0x257667(0x194)](),this[_0x257667(0x19a)][_0x257667(0x1a8)](),this[_0x257667(0x1ac)]&&this[_0x257667(0x199)]();}[_0x4a829d(0x183)](){const _0x3a7542=_0x4a829d,_0x101b8d=_0x81dd49(this[_0x3a7542(0x186)][_0x3a7542(0x19d)],_0x3a7542(0x187));this[_0x3a7542(0x1ac)]=this[_0x3a7542(0x186)][_0x3a7542(0x193)][_0x3a7542(0x1a1)](_0x3a7542(0x18f))[_0x3a7542(0x197)](_0x101b8d);}[_0x4a829d(0x199)](){const _0x54a08f=_0x4a829d;null!==this[_0x54a08f(0x1ac)]&&this[_0x54a08f(0x186)][_0x54a08f(0x193)][_0x54a08f(0x1a1)](_0x54a08f(0x18f))[_0x54a08f(0x1a5)](this[_0x54a08f(0x1ac)]),this[_0x54a08f(0x1ac)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa9b7d2=_0x5ef2;(function(_0x49a455,_0x290a08){const _0x425300=_0x5ef2,_0x520c6f=_0x49a455();while(!![]){try{const _0x4f1f43=-parseInt(_0x425300(0x20b))/0x1+-parseInt(_0x425300(0x227))/0x2+parseInt(_0x425300(0x1fd))/0x3*(-parseInt(_0x425300(0x20e))/0x4)+parseInt(_0x425300(0x22d))/0x5*(parseInt(_0x425300(0x21c))/0x6)+-parseInt(_0x425300(0x217))/0x7+parseInt(_0x425300(0x219))/0x8+parseInt(_0x425300(0x224))/0x9;if(_0x4f1f43===_0x290a08)break;else _0x520c6f['push'](_0x520c6f['shift']());}catch(_0x5ed84a){_0x520c6f['push'](_0x520c6f['shift']());}}}(_0x4046,0x5ddc9));function _0x5ef2(_0xc1569e,_0x52a62d){const _0x4046df=_0x4046();return _0x5ef2=function(_0x5ef2ba,_0x581b1c){_0x5ef2ba=_0x5ef2ba-0x1f1;let _0x5b211f=_0x4046df[_0x5ef2ba];return _0x5b211f;},_0x5ef2(_0xc1569e,_0x52a62d);}import{FocusCycler as _0x2daf1e,View as _0x4fdc19,ViewCollection as _0x508b5e}from'ckeditor5/src/ui.js';function _0x4046(){const _0x10033e=['canDiscard','isEnabled','hasDirtyComment','disabledSubmit','map','locale','authoredAt','CommentView','text/html','focus','15fvEBRn','submit','ariaLabel','focusables','body','_createCommentViews','showInput','content','cancel','commentInputView','commentsListView','assign','commentThread','setData','267995hjZLnf','SUGGESTION_THREAD_ARIA_LABEL','_createCommentThreadInputView','156124TPzAYF','canAccept','name','value','formatDateTime','destroy','ariaDescriptionView','disableComments','isDirty','2548595UlRIsp','updateComment','4024392tMIguQ','render','_config','9594dLvGSz','bind','isActive','tab','target','focusTracker','parseFromString','keystrokes','12033720zWeTUc','descriptionParts','fire','1531902wuigea','isReadOnly','editorConfig','set','editor','textContent','430vcJELP','addComment','focusCycler','_model','element','length','removeComment','author','SUGGESTION_THREAD_DESCRIPTION','shift+tab','_localUser','join','delegate','commentThreadInputView'];_0x4046=function(){return _0x10033e;};return _0x4046();}import{FocusTracker as _0x3e711f,KeystrokeHandler as _0x3a8d7f}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x355364,setupThreadKeyboardNavigation as _0x4a9196}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x349d32}from'../../utils/common-translations.js';import{renderDescription as _0x5513e5}from'../../utils/utils.js';export default class as extends _0x4fdc19{constructor(_0x5a09ae,_0x165ad6,_0x1e2e58,_0x76e310){const _0x51c68a=_0x5ef2;super(_0x5a09ae),this[_0x51c68a(0x207)]=null,this[_0x51c68a(0x1f2)]=null,this[_0x51c68a(0x214)]=new _0x355364(_0x5a09ae,_0x349d32(_0x5a09ae,_0x51c68a(0x235))),this[_0x51c68a(0x22a)](_0x51c68a(0x21e),!0x1),this[_0x51c68a(0x22a)](_0x51c68a(0x1f9),_0x165ad6[_0x51c68a(0x1f9)]),this[_0x51c68a(0x21d)](_0x51c68a(0x1f9))['to'](_0x165ad6),this[_0x51c68a(0x22a)](_0x51c68a(0x225),[]),this[_0x51c68a(0x22a)](_0x51c68a(0x216),!0x1),this[_0x51c68a(0x22a)](_0x51c68a(0x1f4),!0x1),this[_0x51c68a(0x22a)](_0x51c68a(0x20f),!0x1),this[_0x51c68a(0x22a)](_0x51c68a(0x1f3),!0x1),this[_0x51c68a(0x21d)](_0x51c68a(0x1ff))['to'](this,_0x51c68a(0x232),_0x165ad6,_0x51c68a(0x1f9),this,_0x51c68a(0x225),(_0x2d6631,_0x5988ad,_0x3788ad)=>{const _0xc9fd=_0x51c68a,_0x35bcf1=_0x3788ad[_0xc9fd(0x1f7)](_0xb8edb5=>_0x5513e5(_0xb8edb5[_0xc9fd(0x204)]))[_0xc9fd(0x238)]('.\x20')+'.';return _0x349d32(this[_0xc9fd(0x1f8)],_0xc9fd(0x20c),[_0x2d6631-0x1,_0x165ad6[_0xc9fd(0x234)][_0xc9fd(0x210)],_0x5988ad?_0x76e310[_0xc9fd(0x212)](_0x5988ad):'',new DOMParser()[_0xc9fd(0x222)](_0x35bcf1,_0xc9fd(0x1fb))[_0xc9fd(0x201)][_0xc9fd(0x22c)]]);}),this[_0x51c68a(0x200)]=new _0x508b5e(),this[_0x51c68a(0x221)]=new _0x3e711f(),this[_0x51c68a(0x223)]=new _0x3a8d7f(),this[_0x51c68a(0x22f)]=new _0x2daf1e({'focusables':this[_0x51c68a(0x200)],'focusTracker':this[_0x51c68a(0x221)],'keystrokeHandler':this[_0x51c68a(0x223)],'keystrokeHandlerOptions':{'filter':_0xd1f26c=>_0xd1f26c[_0x51c68a(0x220)]!==this[_0x51c68a(0x231)]},'actions':{'focusPrevious':_0x51c68a(0x236),'focusNext':_0x51c68a(0x21f)}}),this[_0x51c68a(0x230)]=_0x165ad6,this[_0x51c68a(0x237)]=_0x1e2e58,this[_0x51c68a(0x21b)]=_0x76e310,_0x76e310[_0x51c68a(0x215)]?this[_0x51c68a(0x22a)](_0x51c68a(0x232),0x1):this[_0x51c68a(0x202)]();}[_0xa9b7d2(0x21a)](){const _0x178c7b=_0xa9b7d2;super[_0x178c7b(0x21a)](),_0x4a9196(this,this[_0x178c7b(0x200)]);}[_0xa9b7d2(0x1fc)](){const _0x2a9b71=_0xa9b7d2;this[_0x2a9b71(0x231)][_0x2a9b71(0x1fc)]();}[_0xa9b7d2(0x213)](){const _0x167047=_0xa9b7d2;this[_0x167047(0x207)]&&this[_0x167047(0x207)][_0x167047(0x213)](),this[_0x167047(0x1f2)]&&this[_0x167047(0x1f2)][_0x167047(0x213)](),super[_0x167047(0x213)]();}[_0xa9b7d2(0x202)](){const _0x527e6e=_0xa9b7d2,{CommentsListView:_0x999e2b}=this[_0x527e6e(0x21b)];this[_0x527e6e(0x207)]=new _0x999e2b(this[_0x527e6e(0x1f8)],this[_0x527e6e(0x230)][_0x527e6e(0x209)],Object[_0x527e6e(0x208)]({'CommentView':this[_0x527e6e(0x21b)][_0x527e6e(0x1fa)]},this[_0x527e6e(0x21b)])),this[_0x527e6e(0x207)][_0x527e6e(0x1f1)](_0x527e6e(0x233))['to'](this),this[_0x527e6e(0x207)][_0x527e6e(0x1f1)](_0x527e6e(0x218))['to'](this),this[_0x527e6e(0x207)][_0x527e6e(0x21d)](_0x527e6e(0x21e))['to'](this),this[_0x527e6e(0x22a)](_0x527e6e(0x232),this[_0x527e6e(0x207)][_0x527e6e(0x232)]+0x1),this[_0x527e6e(0x21d)](_0x527e6e(0x232))['to'](this[_0x527e6e(0x207)],_0x527e6e(0x232),_0xaa5ba1=>_0xaa5ba1+0x1),this[_0x527e6e(0x1f2)]=this[_0x527e6e(0x20d)](),this['on'](_0x527e6e(0x233),()=>this[_0x527e6e(0x1fc)]()),this[_0x527e6e(0x21d)](_0x527e6e(0x216))['to'](this[_0x527e6e(0x207)],_0x527e6e(0x1f5),this[_0x527e6e(0x1f2)][_0x527e6e(0x206)],_0x527e6e(0x211),(_0x1f724e,_0x24bd04)=>_0x1f724e||!!_0x24bd04);}[_0xa9b7d2(0x20d)](){const _0x34f775=_0xa9b7d2,{CommentThreadInputView:_0x27973d}=this[_0x34f775(0x21b)],_0x4739a8=new _0x27973d(this[_0x34f775(0x1f8)],this[_0x34f775(0x237)],this[_0x34f775(0x21b)][_0x34f775(0x229)]),_0x3b5868=_0x4739a8[_0x34f775(0x206)];return _0x4739a8[_0x34f775(0x21d)](_0x34f775(0x203))['to'](this,_0x34f775(0x21e),this[_0x34f775(0x230)][_0x34f775(0x209)],_0x34f775(0x228),_0x3b5868,_0x34f775(0x211),(_0x3bdbd9,_0x307923,_0x3a916d)=>!!_0x3a916d||_0x3bdbd9&&!_0x307923),_0x3b5868['on'](_0x34f775(0x1fe),(_0x59fc0f,_0x22fa91)=>{const _0x3b62dc=_0x34f775;this[_0x3b62dc(0x226)](_0x3b62dc(0x22e),_0x22fa91),_0x3b5868[_0x3b62dc(0x22b)][_0x3b62dc(0x20a)]('');}),_0x3b5868['on'](_0x34f775(0x205),()=>this[_0x34f775(0x1fc)]()),_0x3b5868[_0x34f775(0x21d)](_0x34f775(0x1f6))['to'](this[_0x34f775(0x230)][_0x34f775(0x209)],_0x34f775(0x228)),_0x4739a8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x7608(_0x46ed90,_0x4a446e){const _0x38052d=_0x3805();return _0x7608=function(_0x7608b8,_0x13bbaf){_0x7608b8=_0x7608b8-0xa9;let _0xb70142=_0x38052d[_0x7608b8];return _0xb70142;},_0x7608(_0x46ed90,_0x4a446e);}const _0x25e8f6=_0x7608;(function(_0x445028,_0x5be487){const _0x6e3da2=_0x7608,_0x2eddae=_0x445028();while(!![]){try{const _0x4f105c=-parseInt(_0x6e3da2(0xda))/0x1*(parseInt(_0x6e3da2(0xae))/0x2)+-parseInt(_0x6e3da2(0xbd))/0x3*(parseInt(_0x6e3da2(0xb9))/0x4)+-parseInt(_0x6e3da2(0xd7))/0x5+parseInt(_0x6e3da2(0xcb))/0x6+parseInt(_0x6e3da2(0xdc))/0x7*(parseInt(_0x6e3da2(0xd0))/0x8)+-parseInt(_0x6e3da2(0xc3))/0x9*(-parseInt(_0x6e3da2(0xd6))/0xa)+-parseInt(_0x6e3da2(0xcf))/0xb*(-parseInt(_0x6e3da2(0xdf))/0xc);if(_0x4f105c===_0x5be487)break;else _0x2eddae['push'](_0x2eddae['shift']());}catch(_0x252097){_0x2eddae['push'](_0x2eddae['shift']());}}}(_0x3805,0xdf0ea));import{default as _0xca707f}from'./basesuggestionthreadview.js';function _0x3805(){const _0xdef494=['type','6HEwRzY','ck-suggestion--disabled-comments','acceptButton','ck-suggestion-','push','isActive','57249kzknVQ','</p>','set','ariaLabel','_model','suggestionView','content','ck-rounded-corners','8107104RhMgeE','author','editorReady','formatDateTime','55RKCnWz','138920XeztZf','canDiscard','bind','commentThread','commentThreadInputView','focusables','1490nHbjVE','4687090wVtVyi','div','getTemplate','1JcdMgZ','isEnabled','315kfprug','ck-suggestion-wrapper--active','setTemplate','1145412HgBHsF','discardButton','<p>','ck-suggestion-wrapper','ariaDescriptionView','commentsListView','discardSuggestion','render','delegate','disableComments','3203182sdjrHL','description','bindTemplate','listitem','color','_config','SuggestionView','_descriptionElement','add','descriptionParts','canAccept','210004Vlcyjh','acceptSuggestion','editorDestroyed'];_0x3805=function(){return _0xdef494;};return _0x3805();}import{trimHtml as _0x3aca85}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x55b66a}from'../../utils/utils.js';export default class pe extends _0xca707f{constructor(_0x239dc8,_0xb9895b,_0x5b801f,_0x288bc0){const _0x12a2d3=_0x7608;super(_0x239dc8,_0xb9895b,_0x5b801f,_0x288bc0),this[_0x12a2d3(0xc5)](_0x12a2d3(0xbc),''),this[_0x12a2d3(0xd2)](_0x12a2d3(0xbc))['to'](this,_0x12a2d3(0xb7),_0x239f2c=>_0x239f2c&&_0x239f2c[0x0]?_0x239f2c[0x0][_0x12a2d3(0xbc)]:''),this[_0x12a2d3(0xd2)](_0x12a2d3(0xaf))['to'](this,_0x12a2d3(0xb7),this,_0x12a2d3(0xc2),(_0x210421,_0x1b8f0f)=>{const _0x42b0b9=_0x12a2d3;let _0x3ff99e='';for(const _0x55def2 of _0x210421)_0x3ff99e+=_0x42b0b9(0xe1)+_0x55b66a(_0x55def2[_0x42b0b9(0xc9)],_0x55def2[_0x42b0b9(0xb2)])+_0x42b0b9(0xc4);return _0x1b8f0f?_0x3ff99e:_0x3aca85(_0x3ff99e,{'limit':0x8c});}),this[_0x12a2d3(0xb5)]=null,this[_0x12a2d3(0xc8)]=new _0x288bc0[(_0x12a2d3(0xb4))](_0x239dc8,_0xb9895b,{'formatDateTime':_0x288bc0[_0x12a2d3(0xce)]}),this[_0x12a2d3(0xc8)][_0x12a2d3(0xd2)](_0x12a2d3(0xaf))['to'](this),this[_0x12a2d3(0xc8)][_0x12a2d3(0xac)](_0x12a2d3(0xba),_0x12a2d3(0xaa))['to'](this),this[_0x12a2d3(0xc8)][_0x12a2d3(0xbf)][_0x12a2d3(0xd2)](_0x12a2d3(0xdb))['to'](this,_0x12a2d3(0xb8)),this[_0x12a2d3(0xc8)][_0x12a2d3(0xe0)][_0x12a2d3(0xd2)](_0x12a2d3(0xdb))['to'](this,_0x12a2d3(0xd1)),this[_0x12a2d3(0xd5)][_0x12a2d3(0xb6)](this[_0x12a2d3(0xc8)]),this[_0x12a2d3(0xa9)]&&this[_0x12a2d3(0xd5)][_0x12a2d3(0xb6)](this[_0x12a2d3(0xa9)]),this[_0x12a2d3(0xd4)]&&this[_0x12a2d3(0xd5)][_0x12a2d3(0xb6)](this[_0x12a2d3(0xd4)]),this[_0x12a2d3(0xde)](this[_0x12a2d3(0xd9)]());}[_0x25e8f6(0xd9)](){const _0x56e49e=_0x25e8f6,_0x282842=this[_0x56e49e(0xb0)],_0x141e9a=[this[_0x56e49e(0xc8)]];return this[_0x56e49e(0xa9)]&&_0x141e9a[_0x56e49e(0xc1)](this[_0x56e49e(0xa9)]),this[_0x56e49e(0xd4)]&&_0x141e9a[_0x56e49e(0xc1)](this[_0x56e49e(0xd4)]),_0x141e9a[_0x56e49e(0xc1)](this[_0x56e49e(0xe3)]),{'tag':_0x56e49e(0xd8),'attributes':{'class':['ck',_0x56e49e(0xca),_0x56e49e(0xe2),_0x282842['if'](_0x56e49e(0xc2),_0x56e49e(0xdd)),_0x282842['to'](_0x56e49e(0xbc),_0x1e5ef6=>_0x56e49e(0xc0)+_0x1e5ef6),this[_0x56e49e(0xb3)][_0x56e49e(0xad)]&&_0x56e49e(0xbe)],'data-suggestion-id':this[_0x56e49e(0xc7)]['id'],'data-thread-id':this[_0x56e49e(0xc7)][_0x56e49e(0xd3)]['id'],'data-author-id':this[_0x56e49e(0xc7)][_0x56e49e(0xcc)]['id'],'tabindex':0x0,'role':_0x56e49e(0xb1),'aria-label':_0x282842['to'](_0x56e49e(0xc6)),'aria-describedby':this[_0x56e49e(0xe3)]['id']},'children':_0x141e9a};}[_0x25e8f6(0xab)](){const _0x316f1b=_0x25e8f6;super[_0x316f1b(0xab)](),this[_0x316f1b(0xa9)]&&(this[_0x316f1b(0xa9)][_0x316f1b(0xac)](_0x316f1b(0xcd))['to'](this),this[_0x316f1b(0xa9)][_0x316f1b(0xac)](_0x316f1b(0xbb))['to'](this)),this[_0x316f1b(0xd4)]&&(this[_0x316f1b(0xd4)][_0x316f1b(0xac)](_0x316f1b(0xcd))['to'](this),this[_0x316f1b(0xd4)][_0x316f1b(0xac)](_0x316f1b(0xbb))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e9340=_0xda6b;(function(_0x13f813,_0x51946f){const _0xc4c806=_0xda6b,_0x1204b6=_0x13f813();while(!![]){try{const _0x2ee0aa=parseInt(_0xc4c806(0x131))/0x1+parseInt(_0xc4c806(0x144))/0x2*(-parseInt(_0xc4c806(0x17f))/0x3)+parseInt(_0xc4c806(0x17e))/0x4+-parseInt(_0xc4c806(0x17a))/0x5*(parseInt(_0xc4c806(0x159))/0x6)+-parseInt(_0xc4c806(0x12b))/0x7+parseInt(_0xc4c806(0x15e))/0x8+parseInt(_0xc4c806(0x14e))/0x9;if(_0x2ee0aa===_0x51946f)break;else _0x1204b6['push'](_0x1204b6['shift']());}catch(_0x50cfa9){_0x1204b6['push'](_0x1204b6['shift']());}}}(_0x22a7,0xb8277));function _0x22a7(){const _0x26749d=['EXTERNAL_IMPORT_WORD_SUGGESTION','isExternal','esc','locale','getTemplate','add','ck-suggestion__info-name','_config','27900InPMMG','extendTemplate','focusTracker','querySelector','ck-suggestion__main','cancel','change:description','ck-comment__external','set','ck-annotation__actions','10804086QzMRIW','ck-suggestion--discard','source','innerHTML','description','focus','ck-annotation__content-wrapper','target','ck-annotation__info-name','Accept\x20suggestion','span','1194twxcbi','creator','ck-annotation__user','keystrokes','_setupKeyboardNavigation','4913472rVjjTF','ck-annotation__main','ck-annotation','_createButton','acceptSuggestion','ck-suggestion__info','tab','EXTERNAL_SUGGESTION','bind','fire','focusCycler','authoredAt','userView','@external','discardButton','focusFirst','EXTERNAL_AVATAR','.ck-annotation__content-wrapper','discardSuggestion','getExternalSuggestionNote','name','ck-suggestion__user','listenTo','bindTemplate','importWord','time','check','ck-suggestion','8605HhDXxl','render','ck-annotation__info-time','element','4538684eJAMpI','303cypcSf','formatDateTime','focusables','shift+tab','Discard\x20suggestion','presentation','8531320XhDTxo','author','div','ck-comment__info-time','EXTERNAL_IMPORT_WORD_AVATAR','execute','775175sWUXzD','acceptButton','_model','push','ck-suggestion__actions','getUserViewNotificationText','setTemplate','attributes','ck-suggestion--accept','ck-annotation__info','enter'];_0x22a7=function(){return _0x26749d;};return _0x22a7();}import{FocusTracker as _0x4f1b9c,KeystrokeHandler as _0xaf6969}from'ckeditor5/src/utils.js';import{View as _0x15b4ec,ViewCollection as _0x307d7e,FocusCycler as _0x22452b}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x39f8a5,UserView as _0x9787a0}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x416d8b}from'ckeditor5/src/core.js';function _0xda6b(_0x3b5601,_0x7c2460){const _0x22a781=_0x22a7();return _0xda6b=function(_0xda6b39,_0x3aa653){_0xda6b39=_0xda6b39-0x12a;let _0x11bfc5=_0x22a781[_0xda6b39];return _0x11bfc5;},_0xda6b(_0x3b5601,_0x7c2460);}import{getTranslation as _0x14f186}from'../../utils/common-translations.js';export default class fe extends _0x15b4ec{constructor(_0x1a7898,_0x56ed56,_0x3e6263){const _0x13685e=_0xda6b;super(_0x1a7898),this[_0x13685e(0x133)]=_0x56ed56,this[_0x13685e(0x143)]=_0x3e6263,this[_0x13685e(0x14c)](_0x13685e(0x152),''),this[_0x13685e(0x166)](_0x13685e(0x169))['to'](_0x56ed56),this[_0x13685e(0x132)]=this[_0x13685e(0x161)](_0x14f186(_0x1a7898,_0x13685e(0x157)),_0x416d8b[_0x13685e(0x178)],_0x13685e(0x139),_0x13685e(0x162),'sw'),this[_0x13685e(0x16c)]=this[_0x13685e(0x161)](_0x14f186(_0x1a7898,_0x13685e(0x183)),_0x416d8b[_0x13685e(0x149)],_0x13685e(0x14f),_0x13685e(0x170),'sw'),this[_0x13685e(0x16a)]=new _0x9787a0(_0x1a7898,_0x56ed56[_0x13685e(0x12c)],this[_0x13685e(0x136)]()),this[_0x13685e(0x16a)][_0x13685e(0x145)]({'attributes':{'class':[_0x13685e(0x173),_0x13685e(0x15b)],'aria-hidden':!0x0}}),this[_0x13685e(0x181)]=new _0x307d7e([this[_0x13685e(0x132)],this[_0x13685e(0x16c)]]),this[_0x13685e(0x146)]=new _0x4f1b9c(),this[_0x13685e(0x15c)]=new _0xaf6969(),this[_0x13685e(0x168)]=new _0x22452b({'focusables':this[_0x13685e(0x181)],'focusTracker':this[_0x13685e(0x146)],'keystrokeHandler':this[_0x13685e(0x15c)],'actions':{'focusPrevious':_0x13685e(0x182),'focusNext':_0x13685e(0x164)},'keystrokeHandlerOptions':{'filter':_0x12db4c=>_0x12db4c[_0x13685e(0x155)]!==this[_0x13685e(0x17d)]}}),this[_0x13685e(0x137)](this[_0x13685e(0x140)]());}[_0x2e9340(0x17b)](){const _0x5315b6=_0x2e9340;super[_0x5315b6(0x17b)]();const _0xf3c665=this[_0x5315b6(0x17d)][_0x5315b6(0x147)](_0x5315b6(0x16f));_0xf3c665[_0x5315b6(0x151)]=this[_0x5315b6(0x152)],this['on'](_0x5315b6(0x14a),(_0x2be7bf,_0x4ebbef,_0x4bb8e9)=>{const _0x4b7475=_0x5315b6;_0xf3c665[_0x4b7475(0x151)]=_0x4bb8e9;}),this[_0x5315b6(0x15d)]();}[_0x2e9340(0x140)](){const _0x26894a=_0x2e9340,_0x2315d6=this[_0x26894a(0x175)],_0x4acae2=[{'tag':_0x26894a(0x12d),'attributes':{'class':[_0x26894a(0x163),_0x26894a(0x13a)]},'children':[{'tag':_0x26894a(0x158),'children':[{'text':this[_0x26894a(0x16a)][_0x26894a(0x172)]}],'attributes':{'class':[_0x26894a(0x142),_0x26894a(0x156)],'data-cke-tooltip-text':this[_0x26894a(0x16a)][_0x26894a(0x172)]}},{'tag':_0x26894a(0x177),'attributes':{'datetime':_0x2315d6['to'](_0x26894a(0x169)),'class':[_0x26894a(0x12e),_0x26894a(0x17c)]},'children':[{'text':_0x2315d6['to'](_0x26894a(0x169),_0x13eea6=>this[_0x26894a(0x143)][_0x26894a(0x180)](_0x13eea6))}]}]},{'tag':_0x26894a(0x12d),'attributes':{'class':[_0x26894a(0x135),_0x26894a(0x14d)]},'children':[this[_0x26894a(0x132)],this[_0x26894a(0x16c)]]},{'tag':_0x26894a(0x12d),'attributes':{'class':[_0x26894a(0x154)]}}];return this[_0x26894a(0x133)][_0x26894a(0x13d)]&&_0x4acae2[_0x26894a(0x134)]({'tag':_0x26894a(0x12d),'attributes':{'class':[_0x26894a(0x14b)]},'children':[{'text':this[_0x26894a(0x171)]()}]}),{'tag':_0x26894a(0x12d),'attributes':{'class':[_0x26894a(0x179),_0x26894a(0x160)],'tabindex':-0x1},'children':[this[_0x26894a(0x16a)],{'tag':_0x26894a(0x12d),'attributes':{'class':[_0x26894a(0x148),_0x26894a(0x15f)],'role':_0x26894a(0x12a)},'children':_0x4acae2}]};}[_0x2e9340(0x153)](){const _0x23f112=_0x2e9340;this[_0x23f112(0x17d)][_0x23f112(0x153)]();}[_0x2e9340(0x136)](){const _0x2dbcd3=_0x2e9340;return this[_0x2dbcd3(0x133)][_0x2dbcd3(0x13d)]?_0x2dbcd3(0x176)===this[_0x2dbcd3(0x133)][_0x2dbcd3(0x138)][_0x2dbcd3(0x16b)][_0x2dbcd3(0x150)]?_0x14f186(this[_0x2dbcd3(0x13f)],_0x2dbcd3(0x12f),this[_0x2dbcd3(0x133)][_0x2dbcd3(0x15a)][_0x2dbcd3(0x172)]):_0x14f186(this[_0x2dbcd3(0x13f)],_0x2dbcd3(0x16e),this[_0x2dbcd3(0x133)][_0x2dbcd3(0x15a)][_0x2dbcd3(0x172)]):null;}[_0x2e9340(0x171)](){const _0x5df920=_0x2e9340;return _0x5df920(0x176)===this[_0x5df920(0x133)][_0x5df920(0x138)][_0x5df920(0x16b)][_0x5df920(0x150)]?_0x14f186(this[_0x5df920(0x13f)],_0x5df920(0x13c)):_0x14f186(this[_0x5df920(0x13f)],_0x5df920(0x165));}[_0x2e9340(0x161)](_0x2ef7c1,_0x47e8a7,_0x102a4c,_0x4e3141,_0x3db213){const _0x213bc7=_0x2e9340,_0x5b9979=new _0x39f8a5(this[_0x213bc7(0x13f)]);return _0x5b9979[_0x213bc7(0x14c)]({'label':_0x2ef7c1,'icon':_0x47e8a7,'tooltip':!0x0,'tooltipPosition':_0x3db213}),_0x5b9979[_0x213bc7(0x145)]({'attributes':{'class':_0x102a4c}}),_0x5b9979['on'](_0x213bc7(0x130),()=>{const _0x519ece=_0x213bc7;this[_0x519ece(0x167)](_0x4e3141,this[_0x519ece(0x133)]['id']);}),_0x5b9979;}[_0x2e9340(0x15d)](){const _0x2d7559=_0x2e9340,_0xd6279d=this[_0x2d7559(0x17d)];this[_0x2d7559(0x15c)][_0x2d7559(0x174)](_0xd6279d);for(const _0x3de26a of this[_0x2d7559(0x181)])this[_0x2d7559(0x146)][_0x2d7559(0x141)](_0x3de26a[_0x2d7559(0x17d)]),this[_0x2d7559(0x15c)][_0x2d7559(0x174)](_0x3de26a[_0x2d7559(0x17d)]);this[_0x2d7559(0x15c)][_0x2d7559(0x14c)](_0x2d7559(0x13b),(_0x33a548,_0x1b9dc1)=>{const _0x1a9633=_0x2d7559;_0xd6279d===_0x33a548[_0x1a9633(0x155)]&&(this[_0x1a9633(0x168)][_0x1a9633(0x16d)](),_0x1b9dc1());}),this[_0x2d7559(0x15c)][_0x2d7559(0x14c)](_0x2d7559(0x13e),(_0x59fd0f,_0x5627f8)=>{const _0x11f633=_0x2d7559;_0xd6279d!==_0x59fd0f[_0x11f633(0x155)]&&(this[_0x11f633(0x153)](),_0x5627f8());});}}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module track-changes/ui/view/trackchangespreviewview
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
11
|
+
/**
|
|
12
|
+
* The view that displays the preview of the final document where all the suggestions are accepted.
|
|
13
|
+
*/
|
|
14
|
+
export default class TrackChangesPreviewView extends View {
|
|
15
|
+
/**
|
|
16
|
+
* The options for the preview dialog.
|
|
17
|
+
*/
|
|
18
|
+
options: {
|
|
19
|
+
dialogRects: {
|
|
20
|
+
width: number;
|
|
21
|
+
height: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
constructor(locale: Locale, options: {
|
|
28
|
+
dialogRects: {
|
|
29
|
+
width: number;
|
|
30
|
+
height: number;
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* @inheritDoc
|
|
35
|
+
*/
|
|
36
|
+
render(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the data to be displayed in the preview.
|
|
39
|
+
*/
|
|
40
|
+
setPreviewData(data: Array<[string, {
|
|
41
|
+
classes: string;
|
|
42
|
+
content: string;
|
|
43
|
+
}]>, callback: (container: HTMLElement, elements: Array<HTMLElement>) => void): void;
|
|
44
|
+
/**
|
|
45
|
+
* @inheritDoc
|
|
46
|
+
*/
|
|
47
|
+
focus(): void;
|
|
48
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x3bbdc4=_0x12ac;function _0x4aa3(){const _0x54e170=['1917955pAiuqK','element','setPreviewData','11ytBvao','classes','2TbUaVP','setAttribute','\x20ck-track-changes-preview__root-container','style','21581fluOGH','5385860ypPfue','707254ZqbGoU','ck-track-changes-preview','2388OSfEvD','innerHTML','dialogRects','className','data-ck-root-name','317556IkLBOr','content','createElement','div','320OOZwjj','width','5364444lFonKc','previewDataReady','fire','focus','push','height','options','setTemplate','1808463QFoIDl','render'];_0x4aa3=function(){return _0x54e170;};return _0x4aa3();}(function(_0x4500f3,_0x272b01){const _0x8807c4=_0x12ac,_0x2abb4b=_0x4500f3();while(!![]){try{const _0x5de041=parseInt(_0x8807c4(0x16a))/0x1+parseInt(_0x8807c4(0x186))/0x2*(parseInt(_0x8807c4(0x17f))/0x3)+-parseInt(_0x8807c4(0x177))/0x4+parseInt(_0x8807c4(0x181))/0x5+-parseInt(_0x8807c4(0x16c))/0x6*(-parseInt(_0x8807c4(0x168))/0x7)+parseInt(_0x8807c4(0x175))/0x8*(-parseInt(_0x8807c4(0x171))/0x9)+-parseInt(_0x8807c4(0x169))/0xa*(-parseInt(_0x8807c4(0x184))/0xb);if(_0x5de041===_0x272b01)break;else _0x2abb4b['push'](_0x2abb4b['shift']());}catch(_0x28fcb5){_0x2abb4b['push'](_0x2abb4b['shift']());}}}(_0x4aa3,0xac8ff));import{View as _0x24c204}from'ckeditor5/src/ui.js';function _0x12ac(_0x9765cb,_0x541d68){const _0x4aa323=_0x4aa3();return _0x12ac=function(_0x12ac5a,_0x32a126){_0x12ac5a=_0x12ac5a-0x165;let _0x162e95=_0x4aa323[_0x12ac5a];return _0x162e95;},_0x12ac(_0x9765cb,_0x541d68);}export default class je extends _0x24c204{constructor(_0x141851,_0x538836){const _0x4c599a=_0x12ac;super(_0x141851),this[_0x4c599a(0x17d)]=_0x538836,this[_0x4c599a(0x17e)]({'tag':_0x4c599a(0x174),'attributes':{'class':['ck',_0x4c599a(0x16b)],'tabindex':-0x1}});}[_0x3bbdc4(0x180)](){const _0x52034=_0x3bbdc4;super[_0x52034(0x180)](),this[_0x52034(0x182)][_0x52034(0x167)][_0x52034(0x176)]=this[_0x52034(0x17d)][_0x52034(0x16e)][_0x52034(0x176)]+'px',this[_0x52034(0x182)][_0x52034(0x167)][_0x52034(0x17c)]=this[_0x52034(0x17d)][_0x52034(0x16e)][_0x52034(0x17c)]+'px';}[_0x3bbdc4(0x183)](_0x450da7,_0x31f7a9){const _0x3239d1=_0x3bbdc4;if(!this[_0x3239d1(0x182)])return;const _0x8c55d4=[];for(const [_0xeb66e5,_0x1ce0e5]of _0x450da7){const _0x2d9c47=document[_0x3239d1(0x173)](_0x3239d1(0x174));_0x2d9c47[_0x3239d1(0x165)](_0x3239d1(0x170),_0xeb66e5),_0x2d9c47[_0x3239d1(0x16f)]=_0x1ce0e5[_0x3239d1(0x185)]+_0x3239d1(0x166),_0x2d9c47[_0x3239d1(0x16d)]=_0x1ce0e5[_0x3239d1(0x172)],_0x8c55d4[_0x3239d1(0x17b)](_0x2d9c47);}_0x31f7a9(this[_0x3239d1(0x182)],_0x8c55d4),this[_0x3239d1(0x179)](_0x3239d1(0x178));}[_0x3bbdc4(0x17a)](){const _0x1d085b=_0x3bbdc4;this[_0x1d085b(0x182)][_0x1d085b(0x17a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x2c720b,_0x52e2db,_0x5ce89){const _0x1caf57=_0x2c720b['t'],t=_0x2c720b['t'];switch(_0x52e2db){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x5ce89);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5ce89);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5ce89);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5ce89);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5ce89);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',_0x5ce89);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5ce89);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5ce89);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5ce89);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5ce89);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5ce89);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5ce89);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5ce89);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5ce89);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5ce89);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5ce89);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5ce89);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5ce89);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5ce89);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5ce89);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5ce89);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5ce89);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5ce89);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5ce89);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'},_0x5ce89);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5ce89);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5ce89);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5ce89);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5ce89);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5ce89);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'},_0x5ce89);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5ce89);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5ce89);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5ce89);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5ce89);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'},_0x5ce89);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5ce89);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'},_0x5ce89);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'},_0x5ce89);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5ce89);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'},_0x5ce89);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5ce89);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'},_0x5ce89);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5ce89);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5ce89);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'},_0x5ce89);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5ce89);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 _0x1caf57({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5ce89);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1caf57({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5ce89);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5ce89);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'},_0x5ce89);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'},_0x5ce89);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'},_0x5ce89);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x52e2db;}}
|
|
23
|
+
export function getTranslation(_0x26ea23,_0x2d3227,_0x4d0480){const _0x276b24=_0x26ea23['t'],t=_0x26ea23['t'];switch(_0x2d3227){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'View\x20final\x20document':return t('View\x20final\x20document');case'Final\x20document\x20preview':return t('Final\x20document\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',_0x4d0480);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4d0480);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4d0480);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4d0480);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4d0480);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',_0x4d0480);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4d0480);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4d0480);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4d0480);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4d0480);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4d0480);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4d0480);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4d0480);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4d0480);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4d0480);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4d0480);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4d0480);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4d0480);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4d0480);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4d0480);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4d0480);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4d0480);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4d0480);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4d0480);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'},_0x4d0480);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4d0480);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4d0480);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4d0480);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4d0480);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4d0480);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'},_0x4d0480);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4d0480);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4d0480);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4d0480);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4d0480);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'},_0x4d0480);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4d0480);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'},_0x4d0480);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'},_0x4d0480);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4d0480);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'},_0x4d0480);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4d0480);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'},_0x4d0480);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4d0480);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4d0480);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'},_0x4d0480);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4d0480);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 _0x276b24({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4d0480);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x276b24({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4d0480);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4d0480);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'},_0x4d0480);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'},_0x4d0480);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'},_0x4d0480);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2d3227;}}
|