@ckeditor/ckeditor5-track-changes 47.2.0-alpha.0 → 47.2.0-alpha.2
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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/ar.po +20 -20
- package/lang/translations/bg.po +8 -8
- package/lang/translations/bn.po +8 -8
- package/lang/translations/ca.po +8 -8
- package/lang/translations/cs.po +11 -11
- package/lang/translations/da.po +8 -8
- package/lang/translations/de.po +8 -8
- package/lang/translations/el.po +8 -8
- package/lang/translations/es.po +8 -8
- package/lang/translations/et.po +8 -8
- package/lang/translations/fi.po +8 -8
- package/lang/translations/fr.po +8 -8
- package/lang/translations/he.po +8 -8
- package/lang/translations/hi.po +8 -8
- package/lang/translations/hu.po +8 -8
- package/lang/translations/id.po +5 -5
- package/lang/translations/it.po +8 -8
- package/lang/translations/ja.po +5 -5
- package/lang/translations/ko.po +5 -5
- package/lang/translations/lt.po +11 -11
- package/lang/translations/lv.po +11 -11
- package/lang/translations/ms.po +5 -5
- package/lang/translations/nl.po +8 -8
- package/lang/translations/no.po +8 -8
- package/lang/translations/pl.po +11 -11
- package/lang/translations/pt-br.po +8 -8
- package/lang/translations/pt.po +8 -8
- package/lang/translations/ro.po +11 -11
- package/lang/translations/ru.po +11 -11
- package/lang/translations/sk.po +11 -11
- package/lang/translations/sr.po +11 -11
- package/lang/translations/sv.po +8 -8
- package/lang/translations/th.po +5 -5
- package/lang/translations/tr.po +8 -8
- package/lang/translations/uk.po +11 -11
- package/lang/translations/vi.po +5 -5
- package/lang/translations/zh-cn.po +5 -5
- package/lang/translations/zh.po +5 -5
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.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/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4990(_0x444b64,_0x8ccaa3){const _0x44bfe1=_0x44bf();return _0x4990=function(_0x499021,_0x13957a){_0x499021=_0x499021-0x18d;let _0xbec54=_0x44bfe1[_0x499021];return _0xbec54;},_0x4990(_0x444b64,_0x8ccaa3);}const _0x53cf61=_0x4990;(function(_0xd9f523,_0x5195db){const _0x7b1f36=_0x4990,_0x11c049=_0xd9f523();while(!![]){try{const _0x232d0e=parseInt(_0x7b1f36(0x19c))/0x1+parseInt(_0x7b1f36(0x18e))/0x2+parseInt(_0x7b1f36(0x1a3))/0x3*(-parseInt(_0x7b1f36(0x195))/0x4)+parseInt(_0x7b1f36(0x191))/0x5+-parseInt(_0x7b1f36(0x19d))/0x6*(parseInt(_0x7b1f36(0x19a))/0x7)+parseInt(_0x7b1f36(0x19b))/0x8*(parseInt(_0x7b1f36(0x190))/0x9)+-parseInt(_0x7b1f36(0x1a0))/0xa;if(_0x232d0e===_0x5195db)break;else _0x11c049['push'](_0x11c049['shift']());}catch(_0x17d807){_0x11c049['push'](_0x11c049['shift']());}}}(_0x44bf,0x27227));import{Plugin as _0x39371f}from'ckeditor5/src/core.js';import{Dialog as _0xba0f1}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1a06aa}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3c7888}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x44bf(){const _0x133f71=['573970LDNFKo','TrackChangesPreview','792qUeuzC','381490ugtYcp','isOfficialPlugin','editor','add','212bIsFxN','appendChild','isPremiumPlugin','trackChanges.preview.renderFunction','requires','119SnqbPj','21200LbJjro','218590vNhIZD','88914VSCsZr','previewFinalContent','pluginName','3930500CkOVzk','define','commands','555BtzYCI','config'];_0x44bf=function(){return _0x133f71;};return _0x44bf();}export class TrackChangesPreview extends _0x39371f{static get[_0x53cf61(0x199)](){return[_0x1a06aa,_0xba0f1];}static get[_0x53cf61(0x19f)](){const _0x1dda06=_0x53cf61;return _0x1dda06(0x18f);}static get[_0x53cf61(0x192)](){return!0x0;}static get[_0x53cf61(0x197)](){return!0x0;}constructor(_0x3cb256){const _0x20ac24=_0x53cf61;super(_0x3cb256),_0x3cb256[_0x20ac24(0x1a2)][_0x20ac24(0x194)](_0x20ac24(0x19e),new _0x3c7888(this[_0x20ac24(0x193)])),_0x3cb256[_0x20ac24(0x18d)][_0x20ac24(0x1a1)](_0x20ac24(0x198),(_0x1478d0,_0x57ace0)=>{const _0x276ad2=_0x20ac24;for(const _0x465c34 of _0x57ace0)_0x1478d0[_0x276ad2(0x196)](_0x465c34);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x22c289=_0x1b76;(function(_0x1b1abc,_0x2a8b49){const _0x2a028e=_0x1b76,_0x17cfc6=_0x1b1abc();while(!![]){try{const _0x5bc475=parseInt(_0x2a028e(0xb7))/0x1*(parseInt(_0x2a028e(0x83))/0x2)+-parseInt(_0x2a028e(0x86))/0x3*(parseInt(_0x2a028e(0xb2))/0x4)+parseInt(_0x2a028e(0x9a))/0x5*(parseInt(_0x2a028e(0x10e))/0x6)+parseInt(_0x2a028e(0xfc))/0x7+-parseInt(_0x2a028e(0xbd))/0x8+-parseInt(_0x2a028e(0xf3))/0x9*(-parseInt(_0x2a028e(0xbc))/0xa)+-parseInt(_0x2a028e(0x9d))/0xb;if(_0x5bc475===_0x2a8b49)break;else _0x17cfc6['push'](_0x17cfc6['shift']());}catch(_0x38fc90){_0x17cfc6['push'](_0x17cfc6['shift']());}}}(_0x250f,0xdc1e7));import{Plugin as _0x4948fa}from'ckeditor5/src/core.js';import{Collection as _0x5d38f8}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x5e2c46}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xac4a5d,createDropdown as _0x2130fb,ListSeparatorView as _0x137055,MenuBarMenuView as _0x482e7d,MenuBarMenuListView as _0x2602c5,MenuBarMenuListItemView as _0x23f1f3,MenuBarMenuListItemButtonView as _0x2608e8,SplitButtonView as _0x4a0cf7,UIModel as _0x58f5a2}from'ckeditor5/src/ui.js';import{Users as _0x5a5f10,getDateTimeFormatter as _0x101674,getAllMarkersDomElementsSorted as _0x1db2bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x367175}from'./trackchangesediting.js';function _0x1b76(_0x4c073e,_0x29e03b){const _0x250f8a=_0x250f();return _0x1b76=function(_0x1b76cb,_0x46b848){_0x1b76cb=_0x1b76cb-0x74;let _0x1b7c24=_0x250f8a[_0x1b76cb];return _0x1b7c24;},_0x1b76(_0x4c073e,_0x29e03b);}import{SuggestionController as _0x5141a3}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x10889a}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1af466}from'./ui/view/suggestionview.js';function _0x250f(){const _0x284ca1=['trackChangesLicenseKeyTrialLimit','source','_createToolbarButton','TrackChangesPreview','previewFinalContent','mainView','suggestionView','pluginName','CommentView','addSourceCollector','_refreshActiveMarkers','trackChangesLicenseKeyUsageLimit','size','editing','EditorAnnotations','locale','comments','reduce','discardAllSuggestions','getDescriptions','acceptButton','length','_showLicenseError','_addUIComponentsToFactory','remove','CommentsUI','menuitem','commands','comments.maxCommentsWhenCollapsed','buttonView','actionView','listenTo','_handleSuggestionControllerDelayed','execute','button','descriptionFactory','4CJwNXv','registerAnnotation','trackChanges','3PqVrtl','destroy','_disableComments','_createMenuBarMenu','getByInnerView','delete','invalid','getSuggestionForAnnotation','descriptionParts','define','model','view','isDirty','Accept\x20all\x20selected\x20suggestions','featureNotAllowed','menuBar:trackChanges','plugins','trackChanges.SuggestionThreadView','suggestionChanged','getAllAdjacentSuggestions','1165uoiPys','unbind','isMultiRange','6258219Epncxh','comments.maxThreadTotalWeight','TrackChanges','_destroyController','Annotations','head','filter','children','_bindAnnotationToEditors','getRanges','_licenseKeyCheckInterval','suggestion-','isPremiumPlugin','trackChangesLicenseKeyExpired','toMany','trackChangesLicenseKeyEvaluationLimit','add','expired','menuitemcheckbox','domainLimit','trackChangesLicenseKeyDomainLimit','4434812YXmIdn','createCommentThreadController','_initializeController','delegate','createAnnotationView','361116SOxdsp','Discard\x20all\x20selected\x20suggestions','commentThread','previous','TrackChangesEditing','380590MgPXqp','10224912lgavGU','refreshSelectedViews','menu','commentsListView','SuggestionView','comments.maxCommentCharsWhenCollapsed','values','_updateController','trackChangesLicenseKeyNotAllowed','clear','innerView','hasSuggestion','componentFactory','Preview\x20final\x20content','Discard\x20all\x20suggestions','_handleControllerBuffer','some','_unbindEditors','getSuggestion','from','config','change:previous','focus','addComment','_annotationViews','trackChangesLicenseKeyInvalid','licenseKey','_viewToController','items','acceptSelectedSuggestions','getFirstRange','getMarkerNames','isOn','discardSelectedSuggestions','getMarkers','isEnabled','trackChangesLicenseKeyValid','getAnnotationForSuggestion','arrowView','isOfficialPlugin','editor','comments.editorConfig','has','SuggestionThreadView','escape','panelView','push','activeMarkers','suggestionLoaded','usageLimit','change:activeAnnotations','init','suggestionUnloaded','_suggestionToController','396plmYbo','trackChanges.disableComments','requires','discardButton','trackChanges.SuggestionView','separator','isInContent','type','fire','3420774tcNEzq','Accept\x20all\x20suggestions','createAnnotation','get','bind','switchbutton','keys','set','trialLimit','getJoined','acceptAllSuggestions','TrackChangesUI','lowest','stopListening','addMany','commandName','value','CommentsRepository','25026Jtmzhz','evaluationLimit','Track\x20changes','activeAnnotations'];_0x250f=function(){return _0x284ca1;};return _0x250f();}import{getTranslation as _0x1fe08a}from'./utils/common-translations.js';export class TrackChangesUI extends _0x4948fa{[_0x22c289(0xd7)];[_0x22c289(0xa7)];[_0x22c289(0xf2)];[_0x22c289(0xd8)];[_0x22c289(0xd5)];[_0x22c289(0xcc)];[_0x22c289(0x88)];static get[_0x22c289(0xf5)](){const _0x288523=_0x22c289;return[_0x367175,_0x5a5f10,_0x288523(0x10d),_0x288523(0xa1),_0x288523(0x120)];}static get[_0x22c289(0x119)](){const _0x4205bc=_0x22c289;return _0x4205bc(0x107);}static get[_0x22c289(0xe4)](){return!0x0;}static get[_0x22c289(0xa9)](){return!0x0;}constructor(_0x5cb954){const _0x138a5a=_0x22c289;super(_0x5cb954),this[_0x138a5a(0xf2)]=new Map(),this[_0x138a5a(0xd8)]=new Map(),this[_0x138a5a(0xd5)]=new Map(),this[_0x138a5a(0xcc)]=new Map();const _0x1e5587=this[_0x138a5a(0xe5)][_0x138a5a(0xd1)];_0x1e5587[_0x138a5a(0x8f)](_0x138a5a(0x97),_0x10889a),_0x1e5587[_0x138a5a(0x8f)](_0x138a5a(0xf7),_0x1af466),_0x1e5587[_0x138a5a(0x8f)](_0x138a5a(0xf4),!0x1),this[_0x138a5a(0x88)]=_0x1e5587[_0x138a5a(0xff)](_0x138a5a(0xf4));}[_0x22c289(0x7f)](_0x28442f,_0x219d24){const _0x23ee6d=_0x22c289;0x0===this[_0x23ee6d(0xcc)][_0x23ee6d(0x11e)]&&setTimeout(()=>{const _0x1e9368=_0x23ee6d;for(const [_0x47508e,_0x573009]of this[_0x1e9368(0xcc)]){const _0x34379d=this[_0x1e9368(0xf2)][_0x1e9368(0xe7)](_0x47508e);_0x34379d||_0x573009?_0x34379d&&_0x573009&&this[_0x1e9368(0xa0)](_0x47508e):this[_0x1e9368(0xb4)](_0x47508e);}this[_0x1e9368(0xcc)][_0x1e9368(0xc6)](),this[_0x1e9368(0xe5)][_0x1e9368(0x96)][_0x1e9368(0xff)](_0x1e9368(0x120))[_0x1e9368(0xbe)](),this[_0x1e9368(0x11c)]();},0xa),this[_0x23ee6d(0xcc)][_0x23ee6d(0x103)](_0x28442f,_0x219d24);}[_0x22c289(0xf0)](){const _0x2b30f5=_0x22c289,_0x3f6485=this[_0x2b30f5(0xe5)],_0x48b7f6=_0x3f6485[_0x2b30f5(0x96)][_0x2b30f5(0xff)](_0x2b30f5(0xbb)),_0x3766ff=_0x3f6485[_0x2b30f5(0x96)][_0x2b30f5(0xff)](_0x2b30f5(0xa1)),_0x323404=_0x3f6485[_0x2b30f5(0x96)][_0x2b30f5(0xff)](_0x2b30f5(0x120)),_0x4c573c=_0x3f6485[_0x2b30f5(0x96)][_0x2b30f5(0xff)](_0x2b30f5(0x10d));this[_0x2b30f5(0x76)](),_0x323404[_0x2b30f5(0x11b)](()=>{const _0x5684bb=_0x2b30f5,_0xb644e2=[];for(const [_0x4d3ddc,_0x4d9de5]of Array[_0x5684bb(0xd0)](this[_0x5684bb(0xf2)])){const _0x14f77e=_0x4d3ddc[_0x5684bb(0x99)](),_0x147de1=[];for(const _0x22f1a6 of _0x14f77e){if(!_0x22f1a6[_0x5684bb(0xf9)])continue;if(_0x22f1a6[_0x5684bb(0x9c)]){_0x147de1[_0x5684bb(0xeb)](..._0x22f1a6[_0x5684bb(0xa6)]());continue;}const _0x3ebe9f=_0x22f1a6[_0x5684bb(0xdb)]();if(_0x147de1[_0x5684bb(0x74)]>0x0){const _0x5d39e1=_0x147de1[0x0][_0x5684bb(0x105)](_0x3ebe9f);if(_0x5d39e1){_0x147de1[0x0]=_0x5d39e1;continue;}}_0x147de1[_0x5684bb(0xeb)](_0x3ebe9f);}_0xb644e2[_0x5684bb(0xeb)]([_0x4d9de5[_0x5684bb(0x91)],_0x147de1]);}return _0xb644e2;}),this[_0x2b30f5(0x7e)](_0x48b7f6,_0x2b30f5(0xed),(_0x13b623,_0x143851)=>{const _0x32840e=_0x2b30f5;this[_0x32840e(0x7e)](_0x143851,_0x32840e(0xd2),(_0x2def7a,_0x5c66ad,_0x2ebe93,_0x2f94a2)=>{const _0x379737=_0x32840e;_0x143851[_0x379737(0xf9)]&&(null==_0x2ebe93?(this[_0x379737(0xc4)](_0x2f94a2[_0x379737(0xa2)]),this[_0x379737(0x7f)](_0x143851,!0x1)):(this[_0x379737(0xc4)](_0x2ebe93[_0x379737(0xa2)]),null==_0x2f94a2&&this[_0x379737(0x7f)](_0x143851,!0x0)));}),null!==_0x143851[_0x32840e(0xba)]?this[_0x32840e(0xc4)](_0x143851[_0x32840e(0xa2)]):this[_0x32840e(0x7f)](_0x143851,!0x1);}),this[_0x2b30f5(0x7e)](_0x48b7f6,_0x2b30f5(0xf1),(_0x3294bb,_0x3e12c6,_0x44e75f)=>{const _0x203126=_0x2b30f5;this[_0x203126(0x109)](_0x3e12c6,_0x203126(0xd2)),this[_0x203126(0xcc)][_0x203126(0x8b)](_0x3e12c6),this[_0x203126(0xf2)][_0x203126(0xe7)](_0x3e12c6)&&this[_0x203126(0xa0)](_0x3e12c6),_0x44e75f&&this[_0x203126(0xc4)](_0x44e75f[_0x203126(0xa2)]);}),this[_0x2b30f5(0x7e)](_0x48b7f6,_0x2b30f5(0x98),(_0x420e2d,_0x5853bb)=>{const _0x3fd5dc=_0x2b30f5;this[_0x3fd5dc(0xc4)](_0x5853bb);}),this[_0x2b30f5(0x7e)](_0x3766ff,_0x2b30f5(0xef),()=>{const _0x57fff2=_0x2b30f5;this[_0x57fff2(0x11c)]();}),this[_0x2b30f5(0x7e)](_0x4c573c,_0x2b30f5(0xd4),(_0x4617fc,{threadId:_0x4f0ef3,isFromAdapter:_0x462f73})=>{const _0x1900b2=_0x2b30f5;if(_0x462f73||!_0x48b7f6[_0x1900b2(0xc8)](_0x4f0ef3))return;const _0x5a5c81=_0x48b7f6[_0x1900b2(0xcf)](_0x4f0ef3);this[_0x1900b2(0xf2)][_0x1900b2(0xff)](_0x5a5c81)[_0x1900b2(0x91)][_0x1900b2(0xc0)][_0x1900b2(0xd3)](-0x1);},{'priority':_0x2b30f5(0x108)}),this[_0x2b30f5(0xd7)]=this[_0x2b30f5(0xe5)][_0x2b30f5(0xd1)][_0x2b30f5(0xff)](_0x2b30f5(0xd7));const _0x4a03ee=this[_0x2b30f5(0xe5)];this[_0x2b30f5(0xa7)]=setInterval(()=>{const _0x3ecf8a=_0x2b30f5;let _0x553973;for(const _0x4271cc in _0x4a03ee){const _0x2949a3=_0x4271cc,_0x390ebd=_0x4a03ee[_0x2949a3];if(_0x3ecf8a(0xe1)==_0x390ebd||_0x3ecf8a(0xd6)==_0x390ebd||_0x3ecf8a(0xaa)==_0x390ebd||_0x3ecf8a(0xb1)==_0x390ebd||_0x3ecf8a(0xc5)==_0x390ebd||_0x3ecf8a(0xac)==_0x390ebd||_0x3ecf8a(0x112)==_0x390ebd||_0x3ecf8a(0x11d)==_0x390ebd){delete _0x4a03ee[_0x2949a3],_0x553973=_0x390ebd,clearInterval(this[_0x3ecf8a(0xa7)]),this[_0x3ecf8a(0xa7)]=void 0x0;break;}}_0x3ecf8a(0xd6)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0x8c)),_0x3ecf8a(0xaa)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0xae)),_0x3ecf8a(0xb1)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0xb0)),_0x3ecf8a(0xc5)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0x94),_0x3ecf8a(0x9f)),_0x3ecf8a(0xac)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0x10f)),_0x3ecf8a(0x112)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0x104)),_0x3ecf8a(0x11d)==_0x553973&&_0x4a03ee[_0x3ecf8a(0x75)](_0x3ecf8a(0xee));},0x3e8);}[_0x22c289(0xe2)](_0x76c357){const _0xbfe76f=_0x22c289,_0x5b53a2=this[_0xbfe76f(0xf2)][_0xbfe76f(0xff)](_0x76c357);if(!_0x5b53a2)return null;return this[_0xbfe76f(0xe5)][_0xbfe76f(0x96)][_0xbfe76f(0xff)](_0xbfe76f(0xa1))[_0xbfe76f(0x8a)](_0x5b53a2[_0xbfe76f(0x91)])||null;}[_0x22c289(0x8d)](_0x47d484){const _0x5a6fcb=_0x22c289,_0xe126a5=this[_0x5a6fcb(0xd8)][_0x5a6fcb(0xff)](_0x47d484[_0x5a6fcb(0xc7)]);return _0xe126a5?_0xe126a5[_0x5a6fcb(0x90)]:null;}[_0x22c289(0x11c)](){const _0x52b405=_0x22c289,_0x45e84a=this[_0x52b405(0xe5)][_0x52b405(0x96)][_0x52b405(0xff)](_0x52b405(0xa1)),_0x3724b6=this[_0x52b405(0xe5)][_0x52b405(0x96)][_0x52b405(0xff)](_0x52b405(0xbb)),_0xa69150=Array[_0x52b405(0xd0)](_0x45e84a[_0x52b405(0x111)],_0x3d19f5=>_0x3d19f5[_0x52b405(0xc7)])[_0x52b405(0xa3)](_0x5ee4b0=>this[_0x52b405(0xd8)][_0x52b405(0xe7)](_0x5ee4b0)),_0x2b16f5=[];for(const _0x3729a2 of _0xa69150){const _0x221d91=this[_0x52b405(0xd8)][_0x52b405(0xff)](_0x3729a2)[_0x52b405(0x90)][_0x52b405(0x99)]();_0x2b16f5[_0x52b405(0xeb)](..._0x221d91[_0x52b405(0x123)]((_0x3bd61c,_0x4fec07)=>[..._0x3bd61c,..._0x4fec07[_0x52b405(0xdc)]()],[]));}_0x3724b6[_0x52b405(0xec)]=_0x2b16f5;}[_0x22c289(0x76)](){const _0x4758a4=_0x22c289,_0x2ca06b=this[_0x4758a4(0xe5)],_0x59ffb7=_0x2ca06b[_0x4758a4(0x121)],_0x12e255=_0x1fe08a(_0x59ffb7,_0x4758a4(0x110)),_0x5c9f5d=new _0x5d38f8([{'type':_0x4758a4(0x101),'model':new _0x58f5a2({'withText':!0x0,'isToggleable':!0x0,'label':_0x12e255,'commandName':_0x4758a4(0x85),'role':_0x4758a4(0xaf)})},{'type':_0x4758a4(0xf8)},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0xfd)),'commandName':_0x4758a4(0x106),'role':_0x4758a4(0x79)})},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0x93)),'commandName':_0x4758a4(0xda),'role':_0x4758a4(0x79)})},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0xcb)),'commandName':_0x4758a4(0x124),'role':_0x4758a4(0x79)})},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0xb8)),'commandName':_0x4758a4(0xde),'role':_0x4758a4(0x79)})}]);_0x2ca06b[_0x4758a4(0x96)][_0x4758a4(0xe7)](_0x4758a4(0x115))&&_0x5c9f5d[_0x4758a4(0x10a)]([{'type':_0x4758a4(0xf8)},{'type':_0x4758a4(0x81),'model':new _0x58f5a2({'withText':!0x0,'label':_0x1fe08a(_0x59ffb7,_0x4758a4(0xca)),'commandName':_0x4758a4(0x116),'role':_0x4758a4(0x79)})}]);for(const _0x4533c5 of _0x5c9f5d)if(ke(_0x4533c5)){const _0x34ea19=_0x2ca06b[_0x4758a4(0x7a)][_0x4758a4(0xff)](_0x4533c5[_0x4758a4(0x90)][_0x4758a4(0x10b)]);_0x4533c5[_0x4758a4(0x90)][_0x4758a4(0x100)](_0x4758a4(0xdd),_0x4758a4(0xe0))['to'](_0x34ea19,_0x4758a4(0x10c),_0x4758a4(0xe0));}_0x2ca06b['ui'][_0x4758a4(0xc9)][_0x4758a4(0xad)](_0x4758a4(0x85),_0x28549b=>this[_0x4758a4(0x114)](_0x28549b,_0x5c9f5d,_0x12e255)),_0x2ca06b['ui'][_0x4758a4(0xc9)][_0x4758a4(0xad)](_0x4758a4(0x95),_0x3bedbe=>this[_0x4758a4(0x89)](_0x3bedbe,_0x5c9f5d,_0x12e255));}[_0x22c289(0x114)](_0x51e4fd,_0x3b3ba6,_0x647080){const _0x2fa1f1=_0x22c289,_0x4af593=_0x2130fb(_0x51e4fd,_0x4a0cf7),_0x487aa7=this[_0x2fa1f1(0xe5)][_0x2fa1f1(0x7a)][_0x2fa1f1(0xff)](_0x2fa1f1(0x85));_0x4af593[_0x2fa1f1(0x7c)][_0x2fa1f1(0x103)]({'tooltip':_0x647080,'label':_0x647080,'icon':_0x5e2c46}),_0x4af593[_0x2fa1f1(0x7c)][_0x2fa1f1(0x100)](_0x2fa1f1(0xdd))['to'](_0x487aa7,_0x2fa1f1(0x10c)),_0x4af593[_0x2fa1f1(0x7c)]['on'](_0x2fa1f1(0x80),()=>{const _0x1fc5f7=_0x2fa1f1;_0x487aa7[_0x1fc5f7(0x80)](),this[_0x1fc5f7(0xe5)][_0x1fc5f7(0x11f)][_0x1fc5f7(0x91)][_0x1fc5f7(0xd3)]();}),_0xac4a5d(_0x4af593,_0x3b3ba6,{'role':_0x2fa1f1(0xbf)});const _0x3fd7a1=[];for(const _0x2ca9f0 of _0x3b3ba6)ke(_0x2ca9f0)&&_0x3fd7a1[_0x2fa1f1(0xeb)](this[_0x2fa1f1(0xe5)][_0x2fa1f1(0x7a)][_0x2fa1f1(0xff)](_0x2ca9f0[_0x2fa1f1(0x90)][_0x2fa1f1(0x10b)]));const _0x212581=_0x4af593[_0x2fa1f1(0x7c)];return _0x212581[_0x2fa1f1(0x7d)][_0x2fa1f1(0x9b)](_0x2fa1f1(0xe0)),_0x212581[_0x2fa1f1(0xe3)][_0x2fa1f1(0x9b)](_0x2fa1f1(0xe0)),_0x212581[_0x2fa1f1(0x7d)][_0x2fa1f1(0x100)](_0x2fa1f1(0xe0))['to'](_0x487aa7,_0x2fa1f1(0xe0)),_0x212581[_0x2fa1f1(0xe3)][_0x2fa1f1(0x100)](_0x2fa1f1(0xe0))[_0x2fa1f1(0xab)](_0x3fd7a1,_0x2fa1f1(0xe0),(..._0x9b1c55)=>_0x9b1c55[_0x2fa1f1(0xcd)](_0x2a6352=>_0x2a6352)),_0x4af593['on'](_0x2fa1f1(0x80),_0x4e7d6e=>{const _0xf5980e=_0x2fa1f1;this[_0xf5980e(0xe5)][_0xf5980e(0x80)](_0x4e7d6e[_0xf5980e(0x113)][_0xf5980e(0x10b)]),this[_0xf5980e(0xe5)][_0xf5980e(0x11f)][_0xf5980e(0x91)][_0xf5980e(0xd3)]();}),_0x4af593;}[_0x22c289(0x89)](_0x373c51,_0x1ac089,_0x23bb59){const _0x27359a=_0x22c289,_0x5a2e8e=new _0x482e7d(_0x373c51),_0x260da7=this[_0x27359a(0xe5)][_0x27359a(0x7a)][_0x27359a(0xff)](_0x27359a(0x85));_0x5a2e8e[_0x27359a(0x7c)][_0x27359a(0x103)]({'label':_0x23bb59,'icon':_0x5e2c46});const _0x2021f6=new _0x2602c5(_0x373c51);for(const _0x26983e of _0x1ac089){if(_0x27359a(0xf8)==_0x26983e[_0x27359a(0xfa)]){_0x2021f6[_0x27359a(0xd9)][_0x27359a(0xad)](new _0x137055(_0x373c51));continue;}const _0x2d9b86=new _0x23f1f3(_0x373c51,_0x5a2e8e),_0x1cb471=new _0x2608e8(_0x373c51),_0x33894e=_0x26983e[_0x27359a(0x90)];_0x1cb471[_0x27359a(0x100)](...Object[_0x27359a(0x102)](_0x33894e))['to'](_0x33894e),_0x1cb471[_0x27359a(0xb5)](_0x27359a(0x80))['to'](_0x5a2e8e),_0x1cb471['on'](_0x27359a(0x80),()=>{const _0x14f8f2=_0x27359a;this[_0x14f8f2(0xe5)][_0x14f8f2(0x80)](_0x33894e[_0x14f8f2(0x10b)]),this[_0x14f8f2(0xe5)][_0x14f8f2(0x11f)][_0x14f8f2(0x91)][_0x14f8f2(0xd3)]();}),_0x2d9b86[_0x27359a(0xa4)][_0x27359a(0xad)](_0x1cb471),_0x2021f6[_0x27359a(0xd9)][_0x27359a(0xad)](_0x2d9b86);}return _0x5a2e8e[_0x27359a(0x100)](_0x27359a(0xe0))['to'](_0x260da7,_0x27359a(0xe0)),_0x5a2e8e[_0x27359a(0xea)][_0x27359a(0xa4)][_0x27359a(0xad)](_0x2021f6),_0x5a2e8e;}[_0x22c289(0xb4)](_0x100dcd){const _0x117643=_0x22c289,_0x46682d=this[_0x117643(0xe5)],_0x3ddb7b=_0x46682d[_0x117643(0xd1)],_0x2de966=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0xa1)),_0x5a0c13=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0x10d)),_0x2669cb=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0x120)),_0x333624=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x5a5f10)['me'],_0x1e00f8=_0x3ddb7b[_0x117643(0xff)](_0x117643(0x85))[_0x117643(0xe8)],_0x146a90=_0x3ddb7b[_0x117643(0xff)](_0x117643(0x85))[_0x117643(0xc1)],{CommentsListView:_0x40de37,CommentThreadInputView:_0x1e99a0}=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0x78));let _0x582077,_0x4d42f9,_0x1cfe07;this[_0x117643(0xd5)][_0x117643(0xe7)](_0x100dcd['id'])?(_0x4d42f9=this[_0x117643(0xd5)][_0x117643(0xff)](_0x100dcd['id']),_0x582077=_0x4d42f9[_0x117643(0x117)]):(_0x582077=new _0x1e00f8(_0x46682d[_0x117643(0x121)],_0x100dcd,_0x333624,{'disableComments':this[_0x117643(0x88)],'editorConfig':{..._0x3ddb7b[_0x117643(0xff)](_0x117643(0xe6)),'licenseKey':_0x3ddb7b[_0x117643(0xff)](_0x117643(0xd7))},'maxCommentsWhenCollapsed':_0x3ddb7b[_0x117643(0xff)](_0x117643(0x7b)),'maxThreadTotalWeight':_0x3ddb7b[_0x117643(0xff)](_0x117643(0x9e)),'maxCommentCharsWhenCollapsed':_0x3ddb7b[_0x117643(0xff)](_0x117643(0xc2)),'formatDateTime':_0x101674(_0x3ddb7b[_0x117643(0xff)](_0x117643(0x121)),_0x46682d[_0x117643(0x121)]),'CommentView':_0x3ddb7b[_0x117643(0xff)](_0x117643(0x122))[_0x117643(0x11a)],'CommentsListView':_0x40de37,'CommentThreadInputView':_0x1e99a0,'SuggestionView':_0x146a90}),_0x582077[_0x117643(0x118)][_0x117643(0x126)]['on'](_0x117643(0x80),()=>{const _0x3fdd16=_0x117643;_0x46682d[_0x3fdd16(0x11f)][_0x3fdd16(0x91)][_0x3fdd16(0xd3)]();}),_0x582077[_0x117643(0x118)][_0x117643(0xf6)]['on'](_0x117643(0x80),()=>{const _0x401d2b=_0x117643;_0x46682d[_0x401d2b(0x11f)][_0x401d2b(0x91)][_0x401d2b(0xd3)]();}),_0x4d42f9=_0x2de966[_0x117643(0xb6)](this[_0x117643(0xe5)][_0x117643(0x121)],_0x582077),_0x4d42f9[_0x117643(0x100)](_0x117643(0x92))['to'](_0x582077,_0x117643(0x92)),_0x4d42f9[_0x117643(0x100)](_0x117643(0x74))['to'](_0x582077),_0x4d42f9[_0x117643(0x100)](_0x117643(0xfa))['to'](_0x582077,_0x117643(0xfa),_0x5da049=>_0x117643(0xa8)+_0x5da049),_0x582077['on'](_0x117643(0xe9),()=>{const _0x4c6ae7=_0x117643;_0x1cfe07[_0x4c6ae7(0xfb)](_0x4c6ae7(0xe9));}),this[_0x117643(0xd5)][_0x117643(0x103)](_0x100dcd['id'],_0x4d42f9));const _0x434dd2=_0x5a0c13[_0x117643(0xb3)](_0x100dcd[_0x117643(0xb9)],_0x582077),_0x274532=new _0x5141a3(_0x46682d,_0x100dcd,_0x582077,_0x434dd2),_0x2f2176=_0x100dcd[_0x117643(0x99)]()[_0x117643(0xa3)](_0x1d2268=>_0x1d2268[_0x117643(0xf9)]);_0x582077[_0x117643(0x8e)]=_0x46682d[_0x117643(0x96)][_0x117643(0xff)](_0x117643(0xbb))[_0x117643(0x82)][_0x117643(0x125)](_0x2f2176),this[_0x117643(0xf2)][_0x117643(0x103)](_0x100dcd,_0x274532),this[_0x117643(0xd8)][_0x117643(0x103)](_0x582077,_0x274532);const _0x2140d3=()=>{const _0xd00918=_0x117643,_0x2cefc4=[],_0x137f3e=_0x100dcd[_0xd00918(0x99)]()[_0xd00918(0xa3)](_0x4c718f=>_0x4c718f[_0xd00918(0xf9)]);for(const _0x3108cb of _0x137f3e)_0x2cefc4[_0xd00918(0xeb)](..._0x3108cb[_0xd00918(0xdf)]());return _0x1db2bf(_0x46682d[_0xd00918(0x11f)],_0x2cefc4);};_0x1cfe07=_0x2de966[_0x117643(0xfe)]({'view':_0x4d42f9,'target':_0x2140d3,'type':()=>_0x117643(0xa8)+_0x274532[_0x117643(0x91)][_0x117643(0xfa)],'isVisible':!!_0x2140d3()}),_0x5a0c13[_0x117643(0xa5)](_0x582077,_0x1cfe07),_0x2de966[_0x117643(0xad)](_0x1cfe07),_0x2669cb[_0x117643(0x84)](_0x1cfe07);}[_0x22c289(0xa0)](_0x2bfcb2){const _0x2a0ebc=_0x22c289,_0x33641f=this[_0x2a0ebc(0xe5)][_0x2a0ebc(0x96)][_0x2a0ebc(0xff)](_0x2a0ebc(0x10d)),_0x5caad0=this[_0x2a0ebc(0xe5)][_0x2a0ebc(0x96)][_0x2a0ebc(0xff)](_0x2a0ebc(0xa1)),_0x415a45=this[_0x2a0ebc(0xf2)][_0x2a0ebc(0xff)](_0x2bfcb2),_0x1e9105=_0x415a45[_0x2a0ebc(0x91)],_0x1e8ccd=_0x5caad0[_0x2a0ebc(0x8a)](_0x1e9105);_0x33641f[_0x2a0ebc(0xce)](_0x1e9105),_0x1e8ccd&&_0x5caad0[_0x2a0ebc(0x77)](_0x1e8ccd),this[_0x2a0ebc(0xf2)][_0x2a0ebc(0x8b)](_0x2bfcb2),this[_0x2a0ebc(0xd8)][_0x2a0ebc(0x8b)](_0x1e9105),_0x415a45[_0x2a0ebc(0x87)]();}[_0x22c289(0xc4)](_0xb81912){const _0x35db8a=_0x22c289;if(!_0xb81912[_0x35db8a(0xf9)]||!this[_0x35db8a(0xf2)][_0x35db8a(0xe7)](_0xb81912))return;const _0x2baa99=this[_0x35db8a(0xe5)][_0x35db8a(0x96)][_0x35db8a(0xff)](_0x35db8a(0xbb)),_0x465be0=this[_0x35db8a(0xf2)][_0x35db8a(0xff)](_0xb81912),_0x1dd3fd=_0xb81912[_0x35db8a(0x99)]();_0x465be0[_0x35db8a(0x91)][_0x35db8a(0x8e)]=_0x2baa99[_0x35db8a(0x82)][_0x35db8a(0x125)](_0x1dd3fd);}[_0x22c289(0x87)](){const _0x283c1e=_0x22c289;for(const _0x2d8d8a of this[_0x283c1e(0xf2)][_0x283c1e(0x102)]())this[_0x283c1e(0xa0)](_0x2d8d8a);for(const _0x1b7b8e of this[_0x283c1e(0xd5)][_0x283c1e(0xc3)]())_0x1b7b8e[_0x283c1e(0x117)][_0x283c1e(0x87)]();super[_0x283c1e(0x87)](),this[_0x283c1e(0xa7)]&&clearInterval(this[_0x283c1e(0xa7)]);}}function ke(_0x3c91bc){const _0x421a93=_0x22c289;return _0x421a93(0x90)in _0x3c91bc;}
|
|
23
|
+
const _0x264401=_0x26be;(function(_0x2b102d,_0x355885){const _0x46d442=_0x26be,_0x141e28=_0x2b102d();while(!![]){try{const _0x2c4d08=parseInt(_0x46d442(0x175))/0x1*(parseInt(_0x46d442(0x19a))/0x2)+parseInt(_0x46d442(0x1f9))/0x3+-parseInt(_0x46d442(0x190))/0x4*(parseInt(_0x46d442(0x183))/0x5)+-parseInt(_0x46d442(0x220))/0x6*(parseInt(_0x46d442(0x17e))/0x7)+parseInt(_0x46d442(0x1f1))/0x8*(parseInt(_0x46d442(0x21d))/0x9)+-parseInt(_0x46d442(0x20d))/0xa+-parseInt(_0x46d442(0x1fb))/0xb*(-parseInt(_0x46d442(0x19e))/0xc);if(_0x2c4d08===_0x355885)break;else _0x141e28['push'](_0x141e28['shift']());}catch(_0x3f4446){_0x141e28['push'](_0x141e28['shift']());}}}(_0x7da8,0x8161f));import{Plugin as _0x9e74e1}from'ckeditor5/src/core.js';import{Collection as _0x1399d8}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x16f73f}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3de829,createDropdown as _0x5c213c,ListSeparatorView as _0x51d9f5,MenuBarMenuView as _0x3fccaf,MenuBarMenuListView as _0x31d414,MenuBarMenuListItemView as _0x5c99c0,MenuBarMenuListItemButtonView as _0x1d8ec7,SplitButtonView as _0x447356,UIModel as _0x54f11b}from'ckeditor5/src/ui.js';import{Users as _0x1d08aa,getDateTimeFormatter as _0x1b813f,getAllMarkersDomElementsSorted as _0x569f85}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x496d56}from'./trackchangesediting.js';import{SuggestionController as _0x151847}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x2f3d35}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x4f7377}from'./ui/view/suggestionview.js';import{getTranslation as _0x5cd7a1}from'./utils/common-translations.js';function _0x7da8(){const _0x5927ad=['Preview\x20final\x20content','_licenseKeyCheckInterval','getAllAdjacentSuggestions','addSourceCollector','trackChanges.disableComments','_showLicenseError','_updateController','TrackChangesPreview','commentThread','switchbutton','some','trackChangesLicenseKeyTrialLimit','previous','CommentView','arrowView','_refreshActiveMarkers','trackChanges.SuggestionView','size','trackChangesLicenseKeyNotAllowed','getDescriptions','push','_initializeController','registerAnnotation','requires','hasSuggestion','suggestionChanged','destroy','trialLimit','domainLimit','856kqRSof','acceptSelectedSuggestions','Accept\x20all\x20selected\x20suggestions','model','trackChangesLicenseKeyEvaluationLimit','getJoined','evaluationLimit','getRanges','972690UJHEaa','descriptionFactory','1202421tmdoZF','change:activeAnnotations','discardButton','createAnnotation','change:previous','discardAllSuggestions','getMarkers','listenTo','trackChanges.SuggestionThreadView','panelView','get','commandName','lowest','suggestionView','activeMarkers','innerView','getFirstRange','getSuggestionForAnnotation','5960260CfYjTM','activeAnnotations','createAnnotationView','value','TrackChanges','menuBar:trackChanges','trackChanges','unbind','addComment','_destroyController','config','keys','focus','Track\x20changes','editor','_unbindEditors','20889VEUMWT','_disableComments','_createMenuBarMenu','138XTdxkF','CommentsRepository','licenseKey','comments.maxCommentCharsWhenCollapsed','comments.maxThreadTotalWeight','getByInnerView','separator','acceptAllSuggestions','_createToolbarButton','17055yAlZCC','bind','comments','comments.maxCommentsWhenCollapsed','descriptionParts','isPremiumPlugin','head','CommentsUI','remove','306376hLBXVC','TrackChangesEditing','addMany','usageLimit','createCommentThreadController','5mXFBaF','comments.editorConfig','suggestionUnloaded','_handleControllerBuffer','set','suggestionLoaded','from','getMarkerNames','type','previewFinalContent','view','mainView','acceptButton','1943312JbrjYK','getSuggestion','Discard\x20all\x20suggestions','trackChangesLicenseKeyDomainLimit','plugins','getAnnotationForSuggestion','add','EditorAnnotations','has','Annotations','22xiAeCT','values','fire','source','204biYgmT','featureNotAllowed','reduce','delegate','editing','toMany','execute','buttonView','componentFactory','length','isEnabled','items','trackChangesLicenseKeyInvalid','discardSelectedSuggestions','stopListening','init','isMultiRange','suggestion-','_handleSuggestionControllerDelayed','clear','filter','TrackChangesUI','button','SuggestionThreadView','trackChangesLicenseKeyValid','invalid','menuitemcheckbox','escape','isOn','commentsListView','_annotationViews','expired','delete','_bindAnnotationToEditors','isInContent','Discard\x20all\x20selected\x20suggestions','menuitem','isOfficialPlugin','SuggestionView','locale','_suggestionToController','trackChangesLicenseKeyUsageLimit','commands','menu','_addUIComponentsToFactory','_viewToController','define','refreshSelectedViews','actionView','isDirty','trackChangesLicenseKeyExpired','pluginName','children','Accept\x20all\x20suggestions'];_0x7da8=function(){return _0x5927ad;};return _0x7da8();}export class TrackChangesUI extends _0x9e74e1{[_0x264401(0x222)];[_0x264401(0x1d5)];[_0x264401(0x1c6)];[_0x264401(0x1cb)];[_0x264401(0x1bc)];[_0x264401(0x186)];[_0x264401(0x21e)];static get[_0x264401(0x1eb)](){const _0x2632ce=_0x264401;return[_0x496d56,_0x1d08aa,_0x2632ce(0x221),_0x2632ce(0x199),_0x2632ce(0x197)];}static get[_0x264401(0x1d1)](){const _0x4eb3be=_0x264401;return _0x4eb3be(0x1b3);}static get[_0x264401(0x1c3)](){return!0x0;}static get[_0x264401(0x17a)](){return!0x0;}constructor(_0x1d9472){const _0x4fcbe4=_0x264401;super(_0x1d9472),this[_0x4fcbe4(0x1c6)]=new Map(),this[_0x4fcbe4(0x1cb)]=new Map(),this[_0x4fcbe4(0x1bc)]=new Map(),this[_0x4fcbe4(0x186)]=new Map();const _0x831c9b=this[_0x4fcbe4(0x21b)][_0x4fcbe4(0x217)];_0x831c9b[_0x4fcbe4(0x1cc)](_0x4fcbe4(0x203),_0x2f3d35),_0x831c9b[_0x4fcbe4(0x1cc)](_0x4fcbe4(0x1e4),_0x4f7377),_0x831c9b[_0x4fcbe4(0x1cc)](_0x4fcbe4(0x1d8),!0x1),this[_0x4fcbe4(0x21e)]=_0x831c9b[_0x4fcbe4(0x205)](_0x4fcbe4(0x1d8));}[_0x264401(0x1b0)](_0x3428b9,_0x5e65ae){const _0x5361a3=_0x264401;0x0===this[_0x5361a3(0x186)][_0x5361a3(0x1e5)]&&setTimeout(()=>{const _0x3448b1=_0x5361a3;for(const [_0x2948ac,_0x1bbf9a]of this[_0x3448b1(0x186)]){const _0x39cd48=this[_0x3448b1(0x1c6)][_0x3448b1(0x198)](_0x2948ac);_0x39cd48||_0x1bbf9a?_0x39cd48&&_0x1bbf9a&&this[_0x3448b1(0x216)](_0x2948ac):this[_0x3448b1(0x1e9)](_0x2948ac);}this[_0x3448b1(0x186)][_0x3448b1(0x1b1)](),this[_0x3448b1(0x21b)][_0x3448b1(0x194)][_0x3448b1(0x205)](_0x3448b1(0x197))[_0x3448b1(0x1cd)](),this[_0x3448b1(0x1e3)]();},0xa),this[_0x5361a3(0x186)][_0x5361a3(0x187)](_0x3428b9,_0x5e65ae);}[_0x264401(0x1ad)](){const _0x356455=_0x264401,_0x56a698=this[_0x356455(0x21b)],_0x5cc958=_0x56a698[_0x356455(0x194)][_0x356455(0x205)](_0x356455(0x17f)),_0x37847f=_0x56a698[_0x356455(0x194)][_0x356455(0x205)](_0x356455(0x199)),_0x4e6fdc=_0x56a698[_0x356455(0x194)][_0x356455(0x205)](_0x356455(0x197)),_0x32faf9=_0x56a698[_0x356455(0x194)][_0x356455(0x205)](_0x356455(0x221));this[_0x356455(0x1ca)](),_0x4e6fdc[_0x356455(0x1d7)](()=>{const _0x27b6c9=_0x356455,_0x26febf=[];for(const [_0xbf5bb5,_0x2ca10f]of Array[_0x27b6c9(0x189)](this[_0x27b6c9(0x1c6)])){const _0x58388e=_0xbf5bb5[_0x27b6c9(0x1d6)](),_0x4391ab=[];for(const _0x363e4a of _0x58388e){if(!_0x363e4a[_0x27b6c9(0x1c0)])continue;if(_0x363e4a[_0x27b6c9(0x1ae)]){_0x4391ab[_0x27b6c9(0x1e8)](..._0x363e4a[_0x27b6c9(0x1f8)]());continue;}const _0xc3d634=_0x363e4a[_0x27b6c9(0x20b)]();if(_0x4391ab[_0x27b6c9(0x1a7)]>0x0){const _0x711f61=_0x4391ab[0x0][_0x27b6c9(0x1f6)](_0xc3d634);if(_0x711f61){_0x4391ab[0x0]=_0x711f61;continue;}}_0x4391ab[_0x27b6c9(0x1e8)](_0xc3d634);}_0x26febf[_0x27b6c9(0x1e8)]([_0x2ca10f[_0x27b6c9(0x18d)],_0x4391ab]);}return _0x26febf;}),this[_0x356455(0x202)](_0x5cc958,_0x356455(0x188),(_0x316d0a,_0xafb71b)=>{const _0x30d636=_0x356455;this[_0x30d636(0x202)](_0xafb71b,_0x30d636(0x1ff),(_0x15c5dd,_0x206a43,_0x20cc80,_0x5c8f05)=>{const _0x4be55c=_0x30d636;_0xafb71b[_0x4be55c(0x1c0)]&&(null==_0x20cc80?(this[_0x4be55c(0x1da)](_0x5c8f05[_0x4be55c(0x17b)]),this[_0x4be55c(0x1b0)](_0xafb71b,!0x1)):(this[_0x4be55c(0x1da)](_0x20cc80[_0x4be55c(0x17b)]),null==_0x5c8f05&&this[_0x4be55c(0x1b0)](_0xafb71b,!0x0)));}),null!==_0xafb71b[_0x30d636(0x1e0)]?this[_0x30d636(0x1da)](_0xafb71b[_0x30d636(0x17b)]):this[_0x30d636(0x1b0)](_0xafb71b,!0x1);}),this[_0x356455(0x202)](_0x5cc958,_0x356455(0x185),(_0x13fcdc,_0x19bab3,_0x1b89a7)=>{const _0x484fca=_0x356455;this[_0x484fca(0x1ac)](_0x19bab3,_0x484fca(0x1ff)),this[_0x484fca(0x186)][_0x484fca(0x1be)](_0x19bab3),this[_0x484fca(0x1c6)][_0x484fca(0x198)](_0x19bab3)&&this[_0x484fca(0x216)](_0x19bab3),_0x1b89a7&&this[_0x484fca(0x1da)](_0x1b89a7[_0x484fca(0x17b)]);}),this[_0x356455(0x202)](_0x5cc958,_0x356455(0x1ed),(_0x126d57,_0x2cbe1d)=>{const _0x236c5f=_0x356455;this[_0x236c5f(0x1da)](_0x2cbe1d);}),this[_0x356455(0x202)](_0x37847f,_0x356455(0x1fc),()=>{const _0x27c416=_0x356455;this[_0x27c416(0x1e3)]();}),this[_0x356455(0x202)](_0x32faf9,_0x356455(0x215),(_0x3a89eb,{threadId:_0x56c91d,isFromAdapter:_0x2be581})=>{const _0x31d608=_0x356455;if(_0x2be581||!_0x5cc958[_0x31d608(0x1ec)](_0x56c91d))return;const _0x50230f=_0x5cc958[_0x31d608(0x191)](_0x56c91d);this[_0x31d608(0x1c6)][_0x31d608(0x205)](_0x50230f)[_0x31d608(0x18d)][_0x31d608(0x1bb)][_0x31d608(0x219)](-0x1);},{'priority':_0x356455(0x207)}),this[_0x356455(0x222)]=this[_0x356455(0x21b)][_0x356455(0x217)][_0x356455(0x205)](_0x356455(0x222));const _0x3181fc=this[_0x356455(0x21b)];this[_0x356455(0x1d5)]=setInterval(()=>{const _0x350f91=_0x356455;let _0x93f4fa;for(const _0x16b38f in _0x3181fc){const _0x260735=_0x16b38f,_0x42f8fd=_0x3181fc[_0x260735];if(_0x350f91(0x1b6)==_0x42f8fd||_0x350f91(0x1aa)==_0x42f8fd||_0x350f91(0x1d0)==_0x42f8fd||_0x350f91(0x193)==_0x42f8fd||_0x350f91(0x1e6)==_0x42f8fd||_0x350f91(0x1f5)==_0x42f8fd||_0x350f91(0x1df)==_0x42f8fd||_0x350f91(0x1c7)==_0x42f8fd){delete _0x3181fc[_0x260735],_0x93f4fa=_0x42f8fd,clearInterval(this[_0x350f91(0x1d5)]),this[_0x350f91(0x1d5)]=void 0x0;break;}}_0x350f91(0x1aa)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1b7)),_0x350f91(0x1d0)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1bd)),_0x350f91(0x193)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1f0)),_0x350f91(0x1e6)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x19f),_0x350f91(0x211)),_0x350f91(0x1f5)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1f7)),_0x350f91(0x1df)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1ef)),_0x350f91(0x1c7)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x181));},0x3e8);}[_0x264401(0x195)](_0x9b0271){const _0x5cd257=_0x264401,_0x3bb618=this[_0x5cd257(0x1c6)][_0x5cd257(0x205)](_0x9b0271);if(!_0x3bb618)return null;return this[_0x5cd257(0x21b)][_0x5cd257(0x194)][_0x5cd257(0x205)](_0x5cd257(0x199))[_0x5cd257(0x171)](_0x3bb618[_0x5cd257(0x18d)])||null;}[_0x264401(0x20c)](_0x5df339){const _0x4987b8=_0x264401,_0xb2f82c=this[_0x4987b8(0x1cb)][_0x4987b8(0x205)](_0x5df339[_0x4987b8(0x20a)]);return _0xb2f82c?_0xb2f82c[_0x4987b8(0x1f4)]:null;}[_0x264401(0x1e3)](){const _0x39e70e=_0x264401,_0x22d39e=this[_0x39e70e(0x21b)][_0x39e70e(0x194)][_0x39e70e(0x205)](_0x39e70e(0x199)),_0x3ea54e=this[_0x39e70e(0x21b)][_0x39e70e(0x194)][_0x39e70e(0x205)](_0x39e70e(0x17f)),_0x560194=Array[_0x39e70e(0x189)](_0x22d39e[_0x39e70e(0x20e)],_0xcc7bb9=>_0xcc7bb9[_0x39e70e(0x20a)])[_0x39e70e(0x1b2)](_0x4d248b=>this[_0x39e70e(0x1cb)][_0x39e70e(0x198)](_0x4d248b)),_0x136288=[];for(const _0x39ebd0 of _0x560194){const _0x226146=this[_0x39e70e(0x1cb)][_0x39e70e(0x205)](_0x39ebd0)[_0x39e70e(0x1f4)][_0x39e70e(0x1d6)]();_0x136288[_0x39e70e(0x1e8)](..._0x226146[_0x39e70e(0x1a0)]((_0x451746,_0xc0da5f)=>[..._0x451746,..._0xc0da5f[_0x39e70e(0x18a)]()],[]));}_0x3ea54e[_0x39e70e(0x209)]=_0x136288;}[_0x264401(0x1ca)](){const _0x4ca7ee=_0x264401,_0x968670=this[_0x4ca7ee(0x21b)],_0x1ed838=_0x968670[_0x4ca7ee(0x1c5)],_0x342706=_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x21a)),_0x273382=new _0x1399d8([{'type':_0x4ca7ee(0x1dd),'model':new _0x54f11b({'withText':!0x0,'isToggleable':!0x0,'label':_0x342706,'commandName':_0x4ca7ee(0x213),'role':_0x4ca7ee(0x1b8)})},{'type':_0x4ca7ee(0x172)},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x1d3)),'commandName':_0x4ca7ee(0x173),'role':_0x4ca7ee(0x1c2)})},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x1f3)),'commandName':_0x4ca7ee(0x1f2),'role':_0x4ca7ee(0x1c2)})},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x192)),'commandName':_0x4ca7ee(0x200),'role':_0x4ca7ee(0x1c2)})},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x1c1)),'commandName':_0x4ca7ee(0x1ab),'role':_0x4ca7ee(0x1c2)})}]);_0x968670[_0x4ca7ee(0x194)][_0x4ca7ee(0x198)](_0x4ca7ee(0x1db))&&_0x273382[_0x4ca7ee(0x180)]([{'type':_0x4ca7ee(0x172)},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x1d4)),'commandName':_0x4ca7ee(0x18c),'role':_0x4ca7ee(0x1c2)})}]);for(const _0x149c75 of _0x273382)if(ke(_0x149c75)){const _0x16e41d=_0x968670[_0x4ca7ee(0x1c8)][_0x4ca7ee(0x205)](_0x149c75[_0x4ca7ee(0x1f4)][_0x4ca7ee(0x206)]);_0x149c75[_0x4ca7ee(0x1f4)][_0x4ca7ee(0x176)](_0x4ca7ee(0x1ba),_0x4ca7ee(0x1a8))['to'](_0x16e41d,_0x4ca7ee(0x210),_0x4ca7ee(0x1a8));}_0x968670['ui'][_0x4ca7ee(0x1a6)][_0x4ca7ee(0x196)](_0x4ca7ee(0x213),_0x1182a3=>this[_0x4ca7ee(0x174)](_0x1182a3,_0x273382,_0x342706)),_0x968670['ui'][_0x4ca7ee(0x1a6)][_0x4ca7ee(0x196)](_0x4ca7ee(0x212),_0x8b1a24=>this[_0x4ca7ee(0x21f)](_0x8b1a24,_0x273382,_0x342706));}[_0x264401(0x174)](_0x264c0f,_0x6074c4,_0x5334a2){const _0x51eee2=_0x264401,_0x26df11=_0x5c213c(_0x264c0f,_0x447356),_0x263ce0=this[_0x51eee2(0x21b)][_0x51eee2(0x1c8)][_0x51eee2(0x205)](_0x51eee2(0x213));_0x26df11[_0x51eee2(0x1a5)][_0x51eee2(0x187)]({'tooltip':_0x5334a2,'label':_0x5334a2,'icon':_0x16f73f}),_0x26df11[_0x51eee2(0x1a5)][_0x51eee2(0x176)](_0x51eee2(0x1ba))['to'](_0x263ce0,_0x51eee2(0x210)),_0x26df11[_0x51eee2(0x1a5)]['on'](_0x51eee2(0x1a4),()=>{const _0x234e83=_0x51eee2;_0x263ce0[_0x234e83(0x1a4)](),this[_0x234e83(0x21b)][_0x234e83(0x1a2)][_0x234e83(0x18d)][_0x234e83(0x219)]();}),_0x3de829(_0x26df11,_0x6074c4,{'role':_0x51eee2(0x1c9)});const _0x47d9f4=[];for(const _0x57c535 of _0x6074c4)ke(_0x57c535)&&_0x47d9f4[_0x51eee2(0x1e8)](this[_0x51eee2(0x21b)][_0x51eee2(0x1c8)][_0x51eee2(0x205)](_0x57c535[_0x51eee2(0x1f4)][_0x51eee2(0x206)]));const _0x2b179d=_0x26df11[_0x51eee2(0x1a5)];return _0x2b179d[_0x51eee2(0x1ce)][_0x51eee2(0x214)](_0x51eee2(0x1a8)),_0x2b179d[_0x51eee2(0x1e2)][_0x51eee2(0x214)](_0x51eee2(0x1a8)),_0x2b179d[_0x51eee2(0x1ce)][_0x51eee2(0x176)](_0x51eee2(0x1a8))['to'](_0x263ce0,_0x51eee2(0x1a8)),_0x2b179d[_0x51eee2(0x1e2)][_0x51eee2(0x176)](_0x51eee2(0x1a8))[_0x51eee2(0x1a3)](_0x47d9f4,_0x51eee2(0x1a8),(..._0x3631cf)=>_0x3631cf[_0x51eee2(0x1de)](_0x18269e=>_0x18269e)),_0x26df11['on'](_0x51eee2(0x1a4),_0x411a80=>{const _0x4b08b4=_0x51eee2;this[_0x4b08b4(0x21b)][_0x4b08b4(0x1a4)](_0x411a80[_0x4b08b4(0x19d)][_0x4b08b4(0x206)]),this[_0x4b08b4(0x21b)][_0x4b08b4(0x1a2)][_0x4b08b4(0x18d)][_0x4b08b4(0x219)]();}),_0x26df11;}[_0x264401(0x21f)](_0x374714,_0x36d90c,_0x366299){const _0x23f359=_0x264401,_0x4b38ec=new _0x3fccaf(_0x374714),_0x27b533=this[_0x23f359(0x21b)][_0x23f359(0x1c8)][_0x23f359(0x205)](_0x23f359(0x213));_0x4b38ec[_0x23f359(0x1a5)][_0x23f359(0x187)]({'label':_0x366299,'icon':_0x16f73f});const _0x142dbe=new _0x31d414(_0x374714);for(const _0x37f9a9 of _0x36d90c){if(_0x23f359(0x172)==_0x37f9a9[_0x23f359(0x18b)]){_0x142dbe[_0x23f359(0x1a9)][_0x23f359(0x196)](new _0x51d9f5(_0x374714));continue;}const _0x460279=new _0x5c99c0(_0x374714,_0x4b38ec),_0x443e71=new _0x1d8ec7(_0x374714),_0x3c3468=_0x37f9a9[_0x23f359(0x1f4)];_0x443e71[_0x23f359(0x176)](...Object[_0x23f359(0x218)](_0x3c3468))['to'](_0x3c3468),_0x443e71[_0x23f359(0x1a1)](_0x23f359(0x1a4))['to'](_0x4b38ec),_0x443e71['on'](_0x23f359(0x1a4),()=>{const _0x284bf3=_0x23f359;this[_0x284bf3(0x21b)][_0x284bf3(0x1a4)](_0x3c3468[_0x284bf3(0x206)]),this[_0x284bf3(0x21b)][_0x284bf3(0x1a2)][_0x284bf3(0x18d)][_0x284bf3(0x219)]();}),_0x460279[_0x23f359(0x1d2)][_0x23f359(0x196)](_0x443e71),_0x142dbe[_0x23f359(0x1a9)][_0x23f359(0x196)](_0x460279);}return _0x4b38ec[_0x23f359(0x176)](_0x23f359(0x1a8))['to'](_0x27b533,_0x23f359(0x1a8)),_0x4b38ec[_0x23f359(0x204)][_0x23f359(0x1d2)][_0x23f359(0x196)](_0x142dbe),_0x4b38ec;}[_0x264401(0x1e9)](_0x2b953b){const _0x215714=_0x264401,_0x3e3b52=this[_0x215714(0x21b)],_0x2331e2=_0x3e3b52[_0x215714(0x217)],_0x2be558=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x199)),_0x27a003=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x221)),_0x6788c3=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x197)),_0x98e91c=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x1d08aa)['me'],_0x36a59e=_0x2331e2[_0x215714(0x205)](_0x215714(0x213))[_0x215714(0x1b5)],_0x453816=_0x2331e2[_0x215714(0x205)](_0x215714(0x213))[_0x215714(0x1c4)],{CommentsListView:_0x5b1c87,CommentThreadInputView:_0x319e69}=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x17c));let _0xa91de5,_0x295808,_0x19bf84;this[_0x215714(0x1bc)][_0x215714(0x198)](_0x2b953b['id'])?(_0x295808=this[_0x215714(0x1bc)][_0x215714(0x205)](_0x2b953b['id']),_0xa91de5=_0x295808[_0x215714(0x18e)]):(_0xa91de5=new _0x36a59e(_0x3e3b52[_0x215714(0x1c5)],_0x2b953b,_0x98e91c,{'disableComments':this[_0x215714(0x21e)],'editorConfig':{..._0x2331e2[_0x215714(0x205)](_0x215714(0x184)),'licenseKey':_0x2331e2[_0x215714(0x205)](_0x215714(0x222))},'maxCommentsWhenCollapsed':_0x2331e2[_0x215714(0x205)](_0x215714(0x178)),'maxThreadTotalWeight':_0x2331e2[_0x215714(0x205)](_0x215714(0x170)),'maxCommentCharsWhenCollapsed':_0x2331e2[_0x215714(0x205)](_0x215714(0x16f)),'formatDateTime':_0x1b813f(_0x2331e2[_0x215714(0x205)](_0x215714(0x1c5)),_0x3e3b52[_0x215714(0x1c5)]),'CommentView':_0x2331e2[_0x215714(0x205)](_0x215714(0x177))[_0x215714(0x1e1)],'CommentsListView':_0x5b1c87,'CommentThreadInputView':_0x319e69,'SuggestionView':_0x453816}),_0xa91de5[_0x215714(0x208)][_0x215714(0x18f)]['on'](_0x215714(0x1a4),()=>{const _0x482541=_0x215714;_0x3e3b52[_0x482541(0x1a2)][_0x482541(0x18d)][_0x482541(0x219)]();}),_0xa91de5[_0x215714(0x208)][_0x215714(0x1fd)]['on'](_0x215714(0x1a4),()=>{const _0xa94e12=_0x215714;_0x3e3b52[_0xa94e12(0x1a2)][_0xa94e12(0x18d)][_0xa94e12(0x219)]();}),_0x295808=_0x2be558[_0x215714(0x20f)](this[_0x215714(0x21b)][_0x215714(0x1c5)],_0xa91de5),_0x295808[_0x215714(0x176)](_0x215714(0x1cf))['to'](_0xa91de5,_0x215714(0x1cf)),_0x295808[_0x215714(0x176)](_0x215714(0x1a7))['to'](_0xa91de5),_0x295808[_0x215714(0x176)](_0x215714(0x18b))['to'](_0xa91de5,_0x215714(0x18b),_0x4d0284=>_0x215714(0x1af)+_0x4d0284),_0xa91de5['on'](_0x215714(0x1b9),()=>{const _0x1d3be2=_0x215714;_0x19bf84[_0x1d3be2(0x19c)](_0x1d3be2(0x1b9));}),this[_0x215714(0x1bc)][_0x215714(0x187)](_0x2b953b['id'],_0x295808));const _0x3086f7=_0x27a003[_0x215714(0x182)](_0x2b953b[_0x215714(0x1dc)],_0xa91de5),_0xda9d5=new _0x151847(_0x3e3b52,_0x2b953b,_0xa91de5,_0x3086f7),_0x57aaf1=_0x2b953b[_0x215714(0x1d6)]()[_0x215714(0x1b2)](_0x49c906=>_0x49c906[_0x215714(0x1c0)]);_0xa91de5[_0x215714(0x179)]=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x17f))[_0x215714(0x1fa)][_0x215714(0x1e7)](_0x57aaf1),this[_0x215714(0x1c6)][_0x215714(0x187)](_0x2b953b,_0xda9d5),this[_0x215714(0x1cb)][_0x215714(0x187)](_0xa91de5,_0xda9d5);const _0x28c041=()=>{const _0x1d1b6a=_0x215714,_0xdb8ba7=[],_0x5b707f=_0x2b953b[_0x1d1b6a(0x1d6)]()[_0x1d1b6a(0x1b2)](_0x55b402=>_0x55b402[_0x1d1b6a(0x1c0)]);for(const _0x1090a5 of _0x5b707f)_0xdb8ba7[_0x1d1b6a(0x1e8)](..._0x1090a5[_0x1d1b6a(0x201)]());return _0x569f85(_0x3e3b52[_0x1d1b6a(0x1a2)],_0xdb8ba7);};_0x19bf84=_0x2be558[_0x215714(0x1fe)]({'view':_0x295808,'target':_0x28c041,'type':()=>_0x215714(0x1af)+_0xda9d5[_0x215714(0x18d)][_0x215714(0x18b)],'isVisible':!!_0x28c041()}),_0x27a003[_0x215714(0x1bf)](_0xa91de5,_0x19bf84),_0x2be558[_0x215714(0x196)](_0x19bf84),_0x6788c3[_0x215714(0x1ea)](_0x19bf84);}[_0x264401(0x216)](_0x1c4abc){const _0x48cce7=_0x264401,_0x3ddebe=this[_0x48cce7(0x21b)][_0x48cce7(0x194)][_0x48cce7(0x205)](_0x48cce7(0x221)),_0x1c1ad4=this[_0x48cce7(0x21b)][_0x48cce7(0x194)][_0x48cce7(0x205)](_0x48cce7(0x199)),_0x3180fa=this[_0x48cce7(0x1c6)][_0x48cce7(0x205)](_0x1c4abc),_0x3c6c95=_0x3180fa[_0x48cce7(0x18d)],_0x4825a2=_0x1c1ad4[_0x48cce7(0x171)](_0x3c6c95);_0x3ddebe[_0x48cce7(0x21c)](_0x3c6c95),_0x4825a2&&_0x1c1ad4[_0x48cce7(0x17d)](_0x4825a2),this[_0x48cce7(0x1c6)][_0x48cce7(0x1be)](_0x1c4abc),this[_0x48cce7(0x1cb)][_0x48cce7(0x1be)](_0x3c6c95),_0x3180fa[_0x48cce7(0x1ee)]();}[_0x264401(0x1da)](_0x186169){const _0x586695=_0x264401;if(!_0x186169[_0x586695(0x1c0)]||!this[_0x586695(0x1c6)][_0x586695(0x198)](_0x186169))return;const _0x20229e=this[_0x586695(0x21b)][_0x586695(0x194)][_0x586695(0x205)](_0x586695(0x17f)),_0x423aea=this[_0x586695(0x1c6)][_0x586695(0x205)](_0x186169),_0xdea407=_0x186169[_0x586695(0x1d6)]();_0x423aea[_0x586695(0x18d)][_0x586695(0x179)]=_0x20229e[_0x586695(0x1fa)][_0x586695(0x1e7)](_0xdea407);}[_0x264401(0x1ee)](){const _0x6ebb51=_0x264401;for(const _0x14c4db of this[_0x6ebb51(0x1c6)][_0x6ebb51(0x218)]())this[_0x6ebb51(0x216)](_0x14c4db);for(const _0x4db666 of this[_0x6ebb51(0x1bc)][_0x6ebb51(0x19b)]())_0x4db666[_0x6ebb51(0x18e)][_0x6ebb51(0x1ee)]();super[_0x6ebb51(0x1ee)](),this[_0x6ebb51(0x1d5)]&&clearInterval(this[_0x6ebb51(0x1d5)]);}}function _0x26be(_0x4d5e76,_0x1202fa){const _0x7da827=_0x7da8();return _0x26be=function(_0x26becb,_0x53408b){_0x26becb=_0x26becb-0x16f;let _0x476cfa=_0x7da827[_0x26becb];return _0x476cfa;},_0x26be(_0x4d5e76,_0x1202fa);}function ke(_0x27f2a5){const _0x39e799=_0x264401;return _0x39e799(0x1f4)in _0x27f2a5;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x56db95=_0x27d4;(function(_0x5b4265,_0x9ddd55){const _0x4dda01=_0x27d4,_0x3e0ad2=_0x5b4265();while(!![]){try{const _0x47f82a=parseInt(_0x4dda01(0x103))/0x1*(-parseInt(_0x4dda01(0x11a))/0x2)+parseInt(_0x4dda01(0x120))/0x3*(-parseInt(_0x4dda01(0x113))/0x4)+parseInt(_0x4dda01(0x115))/0x5+-parseInt(_0x4dda01(0x104))/0x6+parseInt(_0x4dda01(0xfe))/0x7*(-parseInt(_0x4dda01(0x110))/0x8)+-parseInt(_0x4dda01(0x109))/0x9+-parseInt(_0x4dda01(0x117))/0xa*(-parseInt(_0x4dda01(0x11b))/0xb);if(_0x47f82a===_0x9ddd55)break;else _0x3e0ad2['push'](_0x3e0ad2['shift']());}catch(_0x565ac9){_0x3e0ad2['push'](_0x3e0ad2['shift']());}}}(_0x3b54,0x3fa28));import{ObservableMixin as _0x23db39}from'ckeditor5/src/utils.js';import{getTranslation as _0x471677}from'../utils/common-translations.js';function _0x27d4(_0x3c9864,_0x14cc1b){const _0x3b54ed=_0x3b54();return _0x27d4=function(_0x27d41f,_0x57a964){_0x27d41f=_0x27d41f-0xf8;let _0x2caa84=_0x3b54ed[_0x27d41f];return _0x2caa84;},_0x27d4(_0x3c9864,_0x14cc1b);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x23db39(){[_0x56db95(0x108)];[_0x56db95(0x105)];[_0x56db95(0x101)];[_0x56db95(0x114)];[_0x56db95(0x100)];[_0x56db95(0x11d)];[_0x56db95(0xfb)];constructor(_0x133924,_0x5bc601,_0x5400e1,_0x577ed9){const _0x3e0b6a=_0x56db95;super(),this[_0x3e0b6a(0x108)]=_0x5bc601,this[_0x3e0b6a(0x105)]=_0x5400e1,this[_0x3e0b6a(0x101)]=_0x577ed9,this[_0x3e0b6a(0x114)]=_0x133924,this[_0x3e0b6a(0x100)]=_0x133924[_0x3e0b6a(0x107)][_0x3e0b6a(0x119)](_0x3e0b6a(0xfa)),this[_0x3e0b6a(0x11d)]=_0x133924[_0x3e0b6a(0x107)][_0x3e0b6a(0x119)](_0x3e0b6a(0x11c)),this[_0x3e0b6a(0x105)][_0x3e0b6a(0x122)](_0x3e0b6a(0x106))['to'](this[_0x3e0b6a(0x100)],this[_0x3e0b6a(0x11d)],(_0x458e3c,_0x3bc80e)=>_0x458e3c||_0x3bc80e),this[_0x3e0b6a(0x105)][_0x3e0b6a(0x122)](_0x3e0b6a(0x10c))['to'](this[_0x3e0b6a(0x100)],_0x3e0b6a(0x106),_0x4c3a78=>_0x4c3a78&&this[_0x3e0b6a(0x114)][_0x3e0b6a(0x108)][_0x3e0b6a(0xf8)](_0x5bc601[_0x3e0b6a(0xff)]())),this[_0x3e0b6a(0x105)][_0x3e0b6a(0x122)](_0x3e0b6a(0x10e))['to'](this[_0x3e0b6a(0x11d)],_0x3e0b6a(0x106),_0x328cb0=>_0x328cb0&&this[_0x3e0b6a(0x114)][_0x3e0b6a(0x108)][_0x3e0b6a(0xf8)](_0x5bc601[_0x3e0b6a(0xff)]())),this[_0x3e0b6a(0xfb)]=null,_0x5400e1[_0x3e0b6a(0x10a)]&&this[_0x3e0b6a(0x121)](),this[_0x3e0b6a(0xf9)](_0x5400e1,_0x3e0b6a(0xfa),()=>this[_0x3e0b6a(0xfa)]()),this[_0x3e0b6a(0xf9)](_0x5400e1,_0x3e0b6a(0x11c),()=>this[_0x3e0b6a(0x11c)]()),this[_0x3e0b6a(0xf9)](_0x5400e1,_0x3e0b6a(0x10f),()=>{const _0x3cfbff=_0x3e0b6a;_0x5400e1[_0x3cfbff(0x10a)]?this[_0x3cfbff(0x121)]():this[_0x3cfbff(0xfc)]();});}[_0x56db95(0xfa)](){const _0x43bcc6=_0x56db95;this[_0x43bcc6(0x100)][_0x43bcc6(0x11e)](this[_0x43bcc6(0x108)]['id']);}[_0x56db95(0x11c)](){const _0x1f8a4e=_0x56db95;this[_0x1f8a4e(0x11d)][_0x1f8a4e(0x11e)](this[_0x1f8a4e(0x108)]['id']);}[_0x56db95(0xfd)](){const _0x28acec=_0x56db95;this[_0x28acec(0x105)][_0x28acec(0x112)](_0x28acec(0x106)),this[_0x28acec(0x105)][_0x28acec(0x112)](_0x28acec(0x10c)),this[_0x28acec(0x105)][_0x28acec(0x112)](_0x28acec(0x10e)),this[_0x28acec(0x10b)](),this[_0x28acec(0x101)][_0x28acec(0xfd)](),this[_0x28acec(0xfb)]&&this[_0x28acec(0xfc)]();}[_0x56db95(0x121)](){const _0x21df82=_0x56db95,_0x1481aa=_0x471677(this[_0x21df82(0x114)][_0x21df82(0x111)],_0x21df82(0x10d));this[_0x21df82(0xfb)]=this[_0x21df82(0x114)][_0x21df82(0x11f)][_0x21df82(0x119)](_0x21df82(0x118))[_0x21df82(0x102)](_0x1481aa);}[_0x56db95(0xfc)](){const _0x513405=_0x56db95;null!==this[_0x513405(0xfb)]&&this[_0x513405(0x114)][_0x513405(0x11f)][_0x513405(0x119)](_0x513405(0x118))[_0x513405(0x116)](this[_0x513405(0xfb)]),this[_0x513405(0xfb)]=null;}}function _0x3b54(){const _0x4383a8=['PENDING_ACTION_SUGGESTION','canDiscard','change:isDirty','8knoxgO','locale','unbind','52woahkT','_editor','476080wwmqSU','remove','500ZaEfPE','PendingActions','get','481294SWZCKC','333190BDpltw','discardSuggestion','_discardCommand','execute','plugins','1545wOtKaP','_setPendingAction','bind','canEditAt','listenTo','acceptSuggestion','_pendingAction','_removePendingAction','destroy','282247unUwFA','getRanges','_acceptCommand','commentThreadController','add','2sWsaTj','2341392eSTjNb','view','isEnabled','commands','model','3874734lqSVXT','isDirty','stopListening','canAccept'];_0x3b54=function(){return _0x4383a8;};return _0x3b54();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x109ebc=_0xba41;(function(_0x30d749,_0x3f5ac5){const _0x40ef32=_0xba41,_0x46a5f2=_0x30d749();while(!![]){try{const _0x1062a3=-parseInt(_0x40ef32(0x182))/0x1+-parseInt(_0x40ef32(0x1a0))/0x2*(-parseInt(_0x40ef32(0x197))/0x3)+parseInt(_0x40ef32(0x193))/0x4*(parseInt(_0x40ef32(0x198))/0x5)+-parseInt(_0x40ef32(0x194))/0x6+-parseInt(_0x40ef32(0x16c))/0x7*(parseInt(_0x40ef32(0x19e))/0x8)+parseInt(_0x40ef32(0x16d))/0x9*(-parseInt(_0x40ef32(0x15f))/0xa)+parseInt(_0x40ef32(0x159))/0xb;if(_0x1062a3===_0x3f5ac5)break;else _0x46a5f2['push'](_0x46a5f2['shift']());}catch(_0xe90a09){_0x46a5f2['push'](_0x46a5f2['shift']());}}}(_0x3c3b,0x644b5));function _0x3c3b(){const _0x1415b7=['isEnabled','SUGGESTION_THREAD_DESCRIPTION','4777577bHoRWx','377667fWFzGj','commentThread','element','content','setData','shift+tab','hasDirtyComment','canDiscard','descriptionParts','_config','keystrokes','body','focus','value','text/html','focusables','SUGGESTION_THREAD_ARIA_LABEL','editorConfig','locale','focusCycler','_createCommentThreadInputView','272852RZjWJl','isDirty','assign','join','delegate','commentsListView','disabledSubmit','isActive','_model','CommentView','parseFromString','commentThreadInputView','destroy','render','target','fire','map','92crVqSM','4739544tnMiiz','showInput','submit','47154dvsaob','125915vHqLOB','addComment','isReadOnly','name','commentInputView','cancel','8wcGhex','length','18gdMrGe','removeComment','ariaLabel','24559898fABGyO','bind','textContent','tab','canAccept','author','190yHsQcg','set','editor','disableComments','formatDateTime','ariaDescriptionView','focusTracker','_localUser','_createCommentViews','authoredAt','updateComment'];_0x3c3b=function(){return _0x1415b7;};return _0x3c3b();}import{FocusCycler as _0x1f362b,View as _0x326203,ViewCollection as _0xb97975}from'ckeditor5/src/ui.js';function _0xba41(_0x438950,_0x41af44){const _0x3c3bbc=_0x3c3b();return _0xba41=function(_0xba41a5,_0x3d6426){_0xba41a5=_0xba41a5-0x158;let _0x4d463a=_0x3c3bbc[_0xba41a5];return _0x4d463a;},_0xba41(_0x438950,_0x41af44);}import{FocusTracker as _0x3388fe,KeystrokeHandler as _0x2dba0a}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x12422c,setupThreadKeyboardNavigation as _0x2e3616}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0xfa3195}from'../../utils/common-translations.js';import{renderDescription as _0xbc053e}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x326203{[_0x109ebc(0x187)];[_0x109ebc(0x18d)];[_0x109ebc(0x164)];[_0x109ebc(0x17c)];[_0x109ebc(0x165)];[_0x109ebc(0x177)];[_0x109ebc(0x180)];[_0x109ebc(0x18a)];[_0x109ebc(0x166)];[_0x109ebc(0x176)];constructor(_0x1a32c5,_0x28dd30,_0x49cea6,_0x8ac1dc){const _0x9463c6=_0x109ebc;super(_0x1a32c5),this[_0x9463c6(0x187)]=null,this[_0x9463c6(0x18d)]=null,this[_0x9463c6(0x164)]=new _0x12422c(_0x1a32c5,_0xfa3195(_0x1a32c5,_0x9463c6(0x16b))),this[_0x9463c6(0x160)](_0x9463c6(0x189),!0x1),this[_0x9463c6(0x160)](_0x9463c6(0x168),_0x28dd30[_0x9463c6(0x168)]),this[_0x9463c6(0x15a)](_0x9463c6(0x168))['to'](_0x28dd30),this[_0x9463c6(0x160)](_0x9463c6(0x175),[]),this[_0x9463c6(0x160)](_0x9463c6(0x183),!0x1),this[_0x9463c6(0x160)](_0x9463c6(0x16a),!0x1),this[_0x9463c6(0x160)](_0x9463c6(0x15d),!0x1),this[_0x9463c6(0x160)](_0x9463c6(0x174),!0x1),this[_0x9463c6(0x15a)](_0x9463c6(0x158))['to'](this,_0x9463c6(0x19f),_0x28dd30,_0x9463c6(0x168),this,_0x9463c6(0x175),(_0x1a9847,_0x2bd6aa,_0x5c3969)=>{const _0x332e4a=_0x9463c6,_0x49562b=_0x5c3969[_0x332e4a(0x192)](_0x227b70=>_0xbc053e(_0x227b70[_0x332e4a(0x170)]))[_0x332e4a(0x185)]('.\x20')+'.';return _0xfa3195(this[_0x332e4a(0x17f)],_0x332e4a(0x17d),[_0x1a9847-0x1,_0x28dd30[_0x332e4a(0x15e)][_0x332e4a(0x19b)],_0x2bd6aa?_0x8ac1dc[_0x332e4a(0x163)](_0x2bd6aa):'',new DOMParser()[_0x332e4a(0x18c)](_0x49562b,_0x332e4a(0x17b))[_0x332e4a(0x178)][_0x332e4a(0x15b)]]);}),this[_0x9463c6(0x17c)]=new _0xb97975(),this[_0x9463c6(0x165)]=new _0x3388fe(),this[_0x9463c6(0x177)]=new _0x2dba0a(),this[_0x9463c6(0x180)]=new _0x1f362b({'focusables':this[_0x9463c6(0x17c)],'focusTracker':this[_0x9463c6(0x165)],'keystrokeHandler':this[_0x9463c6(0x177)],'keystrokeHandlerOptions':{'filter':_0x5e13c3=>_0x5e13c3[_0x9463c6(0x190)]!==this[_0x9463c6(0x16f)]},'actions':{'focusPrevious':_0x9463c6(0x172),'focusNext':_0x9463c6(0x15c)}}),this[_0x9463c6(0x18a)]=_0x28dd30,this[_0x9463c6(0x166)]=_0x49cea6,this[_0x9463c6(0x176)]=_0x8ac1dc,_0x8ac1dc[_0x9463c6(0x162)]?this[_0x9463c6(0x160)](_0x9463c6(0x19f),0x1):this[_0x9463c6(0x167)]();}[_0x109ebc(0x18f)](){const _0x26c797=_0x109ebc;super[_0x26c797(0x18f)](),_0x2e3616(this,this[_0x26c797(0x17c)]);}[_0x109ebc(0x179)](){const _0x18acec=_0x109ebc;this[_0x18acec(0x16f)][_0x18acec(0x179)]();}[_0x109ebc(0x18e)](){const _0x28a489=_0x109ebc;this[_0x28a489(0x187)]&&this[_0x28a489(0x187)][_0x28a489(0x18e)](),this[_0x28a489(0x18d)]&&this[_0x28a489(0x18d)][_0x28a489(0x18e)](),super[_0x28a489(0x18e)]();}[_0x109ebc(0x167)](){const _0x3060d2=_0x109ebc,{CommentsListView:_0x1c8c90}=this[_0x3060d2(0x176)];this[_0x3060d2(0x187)]=new _0x1c8c90(this[_0x3060d2(0x17f)],this[_0x3060d2(0x18a)][_0x3060d2(0x16e)],Object[_0x3060d2(0x184)]({'CommentView':this[_0x3060d2(0x176)][_0x3060d2(0x18b)]},this[_0x3060d2(0x176)])),this[_0x3060d2(0x187)][_0x3060d2(0x186)](_0x3060d2(0x1a1))['to'](this),this[_0x3060d2(0x187)][_0x3060d2(0x186)](_0x3060d2(0x169))['to'](this),this[_0x3060d2(0x187)][_0x3060d2(0x15a)](_0x3060d2(0x189))['to'](this),this[_0x3060d2(0x160)](_0x3060d2(0x19f),this[_0x3060d2(0x187)][_0x3060d2(0x19f)]+0x1),this[_0x3060d2(0x15a)](_0x3060d2(0x19f))['to'](this[_0x3060d2(0x187)],_0x3060d2(0x19f),_0x40c48b=>_0x40c48b+0x1),this[_0x3060d2(0x18d)]=this[_0x3060d2(0x181)](),this['on'](_0x3060d2(0x1a1),()=>this[_0x3060d2(0x179)]()),this[_0x3060d2(0x15a)](_0x3060d2(0x183))['to'](this[_0x3060d2(0x187)],_0x3060d2(0x173),this[_0x3060d2(0x18d)][_0x3060d2(0x19c)],_0x3060d2(0x17a),(_0x3259d7,_0x545f56)=>_0x3259d7||!!_0x545f56);}[_0x109ebc(0x181)](){const _0x3d53f0=_0x109ebc,{CommentThreadInputView:_0x4facc0}=this[_0x3d53f0(0x176)],_0x44497d=new _0x4facc0(this[_0x3d53f0(0x17f)],this[_0x3d53f0(0x166)],this[_0x3d53f0(0x176)][_0x3d53f0(0x17e)]),_0x1a0d64=_0x44497d[_0x3d53f0(0x19c)];return _0x44497d[_0x3d53f0(0x15a)](_0x3d53f0(0x195))['to'](this,_0x3d53f0(0x189),this[_0x3d53f0(0x18a)][_0x3d53f0(0x16e)],_0x3d53f0(0x19a),_0x1a0d64,_0x3d53f0(0x17a),(_0x5cce3e,_0x5ed6e5,_0x40576b)=>!!_0x40576b||_0x5cce3e&&!_0x5ed6e5),_0x1a0d64['on'](_0x3d53f0(0x196),(_0x18093b,_0x4ba648)=>{const _0x45a098=_0x3d53f0;this[_0x45a098(0x191)](_0x45a098(0x199),_0x4ba648),_0x1a0d64[_0x45a098(0x161)][_0x45a098(0x171)]('');}),_0x1a0d64['on'](_0x3d53f0(0x19d),()=>this[_0x3d53f0(0x179)]()),_0x1a0d64[_0x3d53f0(0x15a)](_0x3d53f0(0x188))['to'](this[_0x3d53f0(0x18a)][_0x3d53f0(0x16e)],_0x3d53f0(0x19a)),_0x44497d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1692(){const _0x1f960a=['</p>','discardSuggestion','679FnaHOc','ck-suggestion-wrapper--active','focusables','ck-suggestion-wrapper','955448CYYxbr','render','type','ck-suggestion-','getTemplate','formatDateTime','1032AKsGsN','4461078bYJCAE','1104VrKnaA','author','_config','76271kTsDgX','commentThread','18EOZJvg','delegate','content','isActive','div','5725500YezEaU','commentThreadInputView','<p>','description','disableComments','isEnabled','listitem','6nOPtbM','SuggestionView','descriptionParts','8KIsKnP','commentsListView','push','set','bindTemplate','ck-rounded-corners','editorDestroyed','setTemplate','bind','add','_model','9763761icWUeC','color','acceptButton','5vqAUzG','canDiscard','ariaLabel','suggestionView','acceptSuggestion','ariaDescriptionView','ck-suggestion--disabled-comments','_descriptionElement','canAccept','editorReady','3318084DZKYSW','discardButton'];_0x1692=function(){return _0x1f960a;};return _0x1692();}const _0x1b4f28=_0x3df6;(function(_0x14d232,_0x3d74ad){const _0x2cbc9a=_0x3df6,_0x284035=_0x14d232();while(!![]){try{const _0x254cd6=parseInt(_0x2cbc9a(0x114))/0x1*(-parseInt(_0x2cbc9a(0x11e))/0x2)+-parseInt(_0x2cbc9a(0xf5))/0x3*(-parseInt(_0x2cbc9a(0x118))/0x4)+-parseInt(_0x2cbc9a(0x106))/0x5*(-parseInt(_0x2cbc9a(0x11f))/0x6)+-parseInt(_0x2cbc9a(0x103))/0x7*(-parseInt(_0x2cbc9a(0xf8))/0x8)+-parseInt(_0x2cbc9a(0x125))/0x9*(parseInt(_0x2cbc9a(0x12a))/0xa)+parseInt(_0x2cbc9a(0x110))/0xb+-parseInt(_0x2cbc9a(0x120))/0xc*(parseInt(_0x2cbc9a(0x123))/0xd);if(_0x254cd6===_0x3d74ad)break;else _0x284035['push'](_0x284035['shift']());}catch(_0x24e802){_0x284035['push'](_0x284035['shift']());}}}(_0x1692,0xd772c));import{BaseSuggestionThreadView as _0x33aadf}from'./basesuggestionthreadview.js';import{trimHtml as _0x19ba5a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3df6(_0x1bf32f,_0x401db1){const _0x169273=_0x1692();return _0x3df6=function(_0x3df6c1,_0x5c0fa6){_0x3df6c1=_0x3df6c1-0xf5;let _0x3b9e98=_0x169273[_0x3df6c1];return _0x3b9e98;},_0x3df6(_0x1bf32f,_0x401db1);}import{renderDescription as _0x12da65}from'../../utils/utils.js';export class SuggestionThreadView extends _0x33aadf{[_0x1b4f28(0x109)];[_0x1b4f28(0x10d)];constructor(_0x301fe0,_0xe68578,_0x47610b,_0x39015e){const _0x548788=_0x1b4f28;super(_0x301fe0,_0xe68578,_0x47610b,_0x39015e),this[_0x548788(0xfb)](_0x548788(0x11a),''),this[_0x548788(0x100)](_0x548788(0x11a))['to'](this,_0x548788(0xf7),_0x549104=>_0x549104&&_0x549104[0x0]?_0x549104[0x0][_0x548788(0x11a)]:''),this[_0x548788(0x100)](_0x548788(0x12d))['to'](this,_0x548788(0xf7),this,_0x548788(0x128),(_0x52ea4e,_0x55e059)=>{const _0x15ba83=_0x548788;let _0x118ab2='';for(const _0x4cb8cb of _0x52ea4e)_0x118ab2+=_0x15ba83(0x12c)+_0x12da65(_0x4cb8cb[_0x15ba83(0x127)],_0x4cb8cb[_0x15ba83(0x104)])+_0x15ba83(0x112);return _0x55e059?_0x118ab2:_0x19ba5a(_0x118ab2,{'limit':0x8c});}),this[_0x548788(0x10d)]=null,this[_0x548788(0x109)]=new _0x39015e[(_0x548788(0xf6))](_0x301fe0,_0xe68578,{'formatDateTime':_0x39015e[_0x548788(0x11d)]}),this[_0x548788(0x109)][_0x548788(0x100)](_0x548788(0x12d))['to'](this),this[_0x548788(0x109)][_0x548788(0x126)](_0x548788(0x10a),_0x548788(0x113))['to'](this),this[_0x548788(0x109)][_0x548788(0x105)][_0x548788(0x100)](_0x548788(0x12f))['to'](this,_0x548788(0x10e)),this[_0x548788(0x109)][_0x548788(0x111)][_0x548788(0x100)](_0x548788(0x12f))['to'](this,_0x548788(0x107)),this[_0x548788(0x116)][_0x548788(0x101)](this[_0x548788(0x109)]),this[_0x548788(0xf9)]&&this[_0x548788(0x116)][_0x548788(0x101)](this[_0x548788(0xf9)]),this[_0x548788(0x12b)]&&this[_0x548788(0x116)][_0x548788(0x101)](this[_0x548788(0x12b)]),this[_0x548788(0xff)](this[_0x548788(0x11c)]());}[_0x1b4f28(0x11c)](){const _0x2b4df0=_0x1b4f28,_0x5e7628=this[_0x2b4df0(0xfc)],_0x47d70c=[this[_0x2b4df0(0x109)]];return this[_0x2b4df0(0xf9)]&&_0x47d70c[_0x2b4df0(0xfa)](this[_0x2b4df0(0xf9)]),this[_0x2b4df0(0x12b)]&&_0x47d70c[_0x2b4df0(0xfa)](this[_0x2b4df0(0x12b)]),_0x47d70c[_0x2b4df0(0xfa)](this[_0x2b4df0(0x10b)]),{'tag':_0x2b4df0(0x129),'attributes':{'class':['ck',_0x2b4df0(0xfd),_0x2b4df0(0x117),_0x5e7628['if'](_0x2b4df0(0x128),_0x2b4df0(0x115)),_0x5e7628['to'](_0x2b4df0(0x11a),_0x4713ad=>_0x2b4df0(0x11b)+_0x4713ad),this[_0x2b4df0(0x122)][_0x2b4df0(0x12e)]&&_0x2b4df0(0x10c)],'data-suggestion-id':this[_0x2b4df0(0x102)]['id'],'data-thread-id':this[_0x2b4df0(0x102)][_0x2b4df0(0x124)]['id'],'data-author-id':this[_0x2b4df0(0x102)][_0x2b4df0(0x121)]['id'],'tabindex':0x0,'role':_0x2b4df0(0x130),'aria-label':_0x5e7628['to'](_0x2b4df0(0x108)),'aria-describedby':this[_0x2b4df0(0x10b)]['id']},'children':_0x47d70c};}[_0x1b4f28(0x119)](){const _0x3f3e2a=_0x1b4f28;super[_0x3f3e2a(0x119)](),this[_0x3f3e2a(0xf9)]&&(this[_0x3f3e2a(0xf9)][_0x3f3e2a(0x126)](_0x3f3e2a(0x10f))['to'](this),this[_0x3f3e2a(0xf9)][_0x3f3e2a(0x126)](_0x3f3e2a(0xfe))['to'](this)),this[_0x3f3e2a(0x12b)]&&(this[_0x3f3e2a(0x12b)][_0x3f3e2a(0x126)](_0x3f3e2a(0x10f))['to'](this),this[_0x3f3e2a(0x12b)][_0x3f3e2a(0x126)](_0x3f3e2a(0xfe))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x339c2d=_0x2cce;(function(_0x487bfb,_0x58d0c4){const _0x422507=_0x2cce,_0x45d909=_0x487bfb();while(!![]){try{const _0x5350a8=parseInt(_0x422507(0x17c))/0x1+-parseInt(_0x422507(0x18b))/0x2+parseInt(_0x422507(0x194))/0x3*(parseInt(_0x422507(0x172))/0x4)+parseInt(_0x422507(0x160))/0x5*(parseInt(_0x422507(0x171))/0x6)+-parseInt(_0x422507(0x175))/0x7*(-parseInt(_0x422507(0x174))/0x8)+parseInt(_0x422507(0x167))/0x9*(parseInt(_0x422507(0x177))/0xa)+parseInt(_0x422507(0x184))/0xb*(-parseInt(_0x422507(0x180))/0xc);if(_0x5350a8===_0x58d0c4)break;else _0x45d909['push'](_0x45d909['shift']());}catch(_0x42c5e1){_0x45d909['push'](_0x45d909['shift']());}}}(_0x11ab,0x9e43f));function _0x2cce(_0x27fba,_0x329adb){const _0x11ab39=_0x11ab();return _0x2cce=function(_0x2cce21,_0x5b6011){_0x2cce21=_0x2cce21-0x157;let _0x144e1a=_0x11ab39[_0x2cce21];return _0x144e1a;},_0x2cce(_0x27fba,_0x329adb);}import{FocusTracker as _0x454c48,KeystrokeHandler as _0x384ccd}from'ckeditor5/src/utils.js';import{View as _0x2bc29e,ViewCollection as _0x14904b,FocusCycler as _0xda7259}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x225fa7,UserView as _0x231dc0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x11ab(){const _0xf73e2b=['push','enter','ck-suggestion--accept','acceptButton','1603448LWNxaZ','EXTERNAL_SUGGESTION','@external','author','setTemplate','attributes','ck-suggestion__actions','discardSuggestion','authoredAt','3616989iwUrsZ','focusTracker','ck-annotation__user','shift+tab','set','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__actions','focus','add','name','ck-annotation__info-name','acceptSuggestion','getUserViewNotificationText','EXTERNAL_AVATAR','locale','time','ck-suggestion','ck-suggestion__info-name','innerHTML','ck-suggestion__user','focusCycler','getExternalSuggestionNote','getTemplate','importWord','isExternal','ck-annotation__main','_config','Discard\x20suggestion','.ck-annotation__content-wrapper','ck-comment__external','formatDateTime','ck-suggestion--discard','target','discardButton','tab','span','Accept\x20suggestion','fire','presentation','40nrYTsI','ck-suggestion__info','_setupKeyboardNavigation','source','listenTo','ck-annotation__info-time','bind','7511391TvBfrV','focusables','focusFirst','extendTemplate','_model','element','description','ck-suggestion__main','creator','esc','62184iyOkeU','4bHlthl','_createButton','8SgSQmf','5046181YgsWfF','div','10YEKIif','userView','render','keystrokes','bindTemplate','902600QfyisL','ck-annotation','ck-annotation__info','change:description','13780068NRZghS','querySelector','ck-annotation__content-wrapper','ck-comment__info-time','22IlodHE','EXTERNAL_IMPORT_WORD_AVATAR','execute'];_0x11ab=function(){return _0xf73e2b;};return _0x11ab();}import{IconCancel as _0x4b0379,IconCheck as _0x2c756c}from'ckeditor5/src/icons.js';import{getTranslation as _0x2edb20}from'../../utils/common-translations.js';export class SuggestionView extends _0x2bc29e{[_0x339c2d(0x178)];[_0x339c2d(0x18a)];[_0x339c2d(0x15a)];[_0x339c2d(0x168)];[_0x339c2d(0x195)];[_0x339c2d(0x17a)];[_0x339c2d(0x1a8)];[_0x339c2d(0x16b)];[_0x339c2d(0x1ae)];constructor(_0x276064,_0x518a86,_0x24e360){const _0x2a29dd=_0x339c2d;super(_0x276064),this[_0x2a29dd(0x16b)]=_0x518a86,this[_0x2a29dd(0x1ae)]=_0x24e360,this[_0x2a29dd(0x198)](_0x2a29dd(0x16d),''),this[_0x2a29dd(0x166)](_0x2a29dd(0x193))['to'](_0x518a86),this[_0x2a29dd(0x18a)]=this[_0x2a29dd(0x173)](_0x2edb20(_0x276064,_0x2a29dd(0x15d)),_0x2c756c,_0x2a29dd(0x189),_0x2a29dd(0x19f),'sw'),this[_0x2a29dd(0x15a)]=this[_0x2a29dd(0x173)](_0x2edb20(_0x276064,_0x2a29dd(0x1af)),_0x4b0379,_0x2a29dd(0x158),_0x2a29dd(0x192),'sw'),this[_0x2a29dd(0x178)]=new _0x231dc0(_0x276064,_0x518a86[_0x2a29dd(0x18e)],this[_0x2a29dd(0x1a0)]()),this[_0x2a29dd(0x178)][_0x2a29dd(0x16a)]({'attributes':{'class':[_0x2a29dd(0x1a7),_0x2a29dd(0x196)],'aria-hidden':!0x0}}),this[_0x2a29dd(0x168)]=new _0x14904b([this[_0x2a29dd(0x18a)],this[_0x2a29dd(0x15a)]]),this[_0x2a29dd(0x195)]=new _0x454c48(),this[_0x2a29dd(0x17a)]=new _0x384ccd(),this[_0x2a29dd(0x1a8)]=new _0xda7259({'focusables':this[_0x2a29dd(0x168)],'focusTracker':this[_0x2a29dd(0x195)],'keystrokeHandler':this[_0x2a29dd(0x17a)],'actions':{'focusPrevious':_0x2a29dd(0x197),'focusNext':_0x2a29dd(0x15b)},'keystrokeHandlerOptions':{'filter':_0x5df1a0=>_0x5df1a0[_0x2a29dd(0x159)]!==this[_0x2a29dd(0x16c)]}}),this[_0x2a29dd(0x18f)](this[_0x2a29dd(0x1aa)]());}[_0x339c2d(0x179)](){const _0x580547=_0x339c2d;super[_0x580547(0x179)]();const _0x51569b=this[_0x580547(0x16c)][_0x580547(0x181)](_0x580547(0x1b0));_0x51569b[_0x580547(0x1a6)]=this[_0x580547(0x16d)],this['on'](_0x580547(0x17f),(_0x3af35e,_0x505f4b,_0x3438e8)=>{const _0x894824=_0x580547;_0x51569b[_0x894824(0x1a6)]=_0x3438e8;}),this[_0x580547(0x162)]();}[_0x339c2d(0x1aa)](){const _0x222ebe=_0x339c2d,_0x5b2f8c=this[_0x222ebe(0x17b)],_0x5c7a75=[{'tag':_0x222ebe(0x176),'attributes':{'class':[_0x222ebe(0x161),_0x222ebe(0x17e)]},'children':[{'tag':_0x222ebe(0x15c),'children':[{'text':this[_0x222ebe(0x178)][_0x222ebe(0x19d)]}],'attributes':{'class':[_0x222ebe(0x1a5),_0x222ebe(0x19e)],'data-cke-tooltip-text':this[_0x222ebe(0x178)][_0x222ebe(0x19d)]}},{'tag':_0x222ebe(0x1a3),'attributes':{'datetime':_0x5b2f8c['to'](_0x222ebe(0x193)),'class':[_0x222ebe(0x183),_0x222ebe(0x165)]},'children':[{'text':_0x5b2f8c['to'](_0x222ebe(0x193),_0x115399=>this[_0x222ebe(0x1ae)][_0x222ebe(0x157)](_0x115399))}]}]},{'tag':_0x222ebe(0x176),'attributes':{'class':[_0x222ebe(0x191),_0x222ebe(0x19a)]},'children':[this[_0x222ebe(0x18a)],this[_0x222ebe(0x15a)]]},{'tag':_0x222ebe(0x176),'attributes':{'class':[_0x222ebe(0x182)]}}];return this[_0x222ebe(0x16b)][_0x222ebe(0x1ac)]&&_0x5c7a75[_0x222ebe(0x187)]({'tag':_0x222ebe(0x176),'attributes':{'class':[_0x222ebe(0x1b1)]},'children':[{'text':this[_0x222ebe(0x1a9)]()}]}),{'tag':_0x222ebe(0x176),'attributes':{'class':[_0x222ebe(0x1a4),_0x222ebe(0x17d)],'tabindex':-0x1},'children':[this[_0x222ebe(0x178)],{'tag':_0x222ebe(0x176),'attributes':{'class':[_0x222ebe(0x16e),_0x222ebe(0x1ad)],'role':_0x222ebe(0x15f)},'children':_0x5c7a75}]};}[_0x339c2d(0x19b)](){const _0x365671=_0x339c2d;this[_0x365671(0x16c)][_0x365671(0x19b)]();}[_0x339c2d(0x1a0)](){const _0x2b78c7=_0x339c2d;return this[_0x2b78c7(0x16b)][_0x2b78c7(0x1ac)]?_0x2b78c7(0x1ab)===this[_0x2b78c7(0x16b)][_0x2b78c7(0x190)][_0x2b78c7(0x18d)][_0x2b78c7(0x163)]?_0x2edb20(this[_0x2b78c7(0x1a2)],_0x2b78c7(0x185),this[_0x2b78c7(0x16b)][_0x2b78c7(0x16f)][_0x2b78c7(0x19d)]):_0x2edb20(this[_0x2b78c7(0x1a2)],_0x2b78c7(0x1a1),this[_0x2b78c7(0x16b)][_0x2b78c7(0x16f)][_0x2b78c7(0x19d)]):null;}[_0x339c2d(0x1a9)](){const _0x39a44b=_0x339c2d;return _0x39a44b(0x1ab)===this[_0x39a44b(0x16b)][_0x39a44b(0x190)][_0x39a44b(0x18d)][_0x39a44b(0x163)]?_0x2edb20(this[_0x39a44b(0x1a2)],_0x39a44b(0x199)):_0x2edb20(this[_0x39a44b(0x1a2)],_0x39a44b(0x18c));}[_0x339c2d(0x173)](_0x4eb546,_0x1c1f32,_0x17c126,_0x40dbcc,_0x528180){const _0x4d76da=_0x339c2d,_0x2658d7=new _0x225fa7(this[_0x4d76da(0x1a2)]);return _0x2658d7[_0x4d76da(0x198)]({'label':_0x4eb546,'icon':_0x1c1f32,'tooltip':!0x0,'tooltipPosition':_0x528180}),_0x2658d7[_0x4d76da(0x16a)]({'attributes':{'class':_0x17c126}}),_0x2658d7['on'](_0x4d76da(0x186),()=>{const _0x1faa87=_0x4d76da;this[_0x1faa87(0x15e)](_0x40dbcc,this[_0x1faa87(0x16b)]['id']);}),_0x2658d7;}[_0x339c2d(0x162)](){const _0x162969=_0x339c2d,_0x4eabe3=this[_0x162969(0x16c)];this[_0x162969(0x17a)][_0x162969(0x164)](_0x4eabe3);for(const _0xdef77e of this[_0x162969(0x168)])this[_0x162969(0x195)][_0x162969(0x19c)](_0xdef77e[_0x162969(0x16c)]),this[_0x162969(0x17a)][_0x162969(0x164)](_0xdef77e[_0x162969(0x16c)]);this[_0x162969(0x17a)][_0x162969(0x198)](_0x162969(0x188),(_0x42d88e,_0x5f44ed)=>{const _0x46b2d5=_0x162969;_0x4eabe3===_0x42d88e[_0x46b2d5(0x159)]&&(this[_0x46b2d5(0x1a8)][_0x46b2d5(0x169)](),_0x5f44ed());}),this[_0x162969(0x17a)][_0x162969(0x198)](_0x162969(0x170),(_0x4ddf6e,_0x44ee9e)=>{const _0x4a1694=_0x162969;_0x4eabe3!==_0x4ddf6e[_0x4a1694(0x159)]&&(this[_0x4a1694(0x19b)](),_0x44ee9e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12f3ef=_0x2af6;(function(_0x4b6297,_0x29ba23){const _0x42e202=_0x2af6,_0x59318d=_0x4b6297();while(!![]){try{const _0x4de18=parseInt(_0x42e202(0x133))/0x1+-parseInt(_0x42e202(0x129))/0x2+-parseInt(_0x42e202(0x12c))/0x3*(parseInt(_0x42e202(0x12b))/0x4)+-parseInt(_0x42e202(0x135))/0x5+-parseInt(_0x42e202(0x138))/0x6+parseInt(_0x42e202(0x131))/0x7+parseInt(_0x42e202(0x13a))/0x8;if(_0x4de18===_0x29ba23)break;else _0x59318d['push'](_0x59318d['shift']());}catch(_0x4c2f2b){_0x59318d['push'](_0x59318d['shift']());}}}(_0x44f8,0x6234d));function _0x44f8(){const _0x30aa35=['1240974uApTQb','render','1640UYphza','1671QSQiZr','\x20ck-track-changes-preview__root-container','setPreviewData','ck-track-changes-preview','options','2207548lIYdJE','focus','269226DWaXgH','createElement','3625975yVlVxK','innerHTML','setTemplate','4000362vYOkET','div','16467536NkwDoq','dialogRects','fire','setAttribute','previewDataReady','data-ck-root-name','height','style','content','push','classes','className','width','element','ck-reset'];_0x44f8=function(){return _0x30aa35;};return _0x44f8();}import{View as _0x2abd62}from'ckeditor5/src/ui.js';function _0x2af6(_0x4bb941,_0x1ba651){const _0x44f896=_0x44f8();return _0x2af6=function(_0x2af6e0,_0x23914c){_0x2af6e0=_0x2af6e0-0x128;let _0x493434=_0x44f896[_0x2af6e0];return _0x493434;},_0x2af6(_0x4bb941,_0x1ba651);}export class TrackChangesPreviewView extends _0x2abd62{[_0x12f3ef(0x130)];constructor(_0x117cd4,_0x59225b){const _0xa9155d=_0x12f3ef;super(_0x117cd4),this[_0xa9155d(0x130)]=_0x59225b,this[_0xa9155d(0x137)]({'tag':_0xa9155d(0x139),'attributes':{'class':['ck',_0xa9155d(0x128),_0xa9155d(0x12f)],'tabindex':-0x1}});}[_0x12f3ef(0x12a)](){const _0x12282f=_0x12f3ef;super[_0x12282f(0x12a)](),this[_0x12282f(0x147)][_0x12282f(0x141)][_0x12282f(0x146)]=this[_0x12282f(0x130)][_0x12282f(0x13b)][_0x12282f(0x146)]+'px',this[_0x12282f(0x147)][_0x12282f(0x141)][_0x12282f(0x140)]=this[_0x12282f(0x130)][_0x12282f(0x13b)][_0x12282f(0x140)]+'px';}[_0x12f3ef(0x12e)](_0x24e9dc,_0x57bc15){const _0x404a61=_0x12f3ef;if(!this[_0x404a61(0x147)])return;const _0x494fac=[];for(const [_0x1f62b3,_0x1723c1]of _0x24e9dc){const _0x3aa5a8=document[_0x404a61(0x134)](_0x404a61(0x139));_0x3aa5a8[_0x404a61(0x13d)](_0x404a61(0x13f),_0x1f62b3),_0x3aa5a8[_0x404a61(0x145)]=_0x1723c1[_0x404a61(0x144)]+_0x404a61(0x12d),_0x3aa5a8[_0x404a61(0x136)]=_0x1723c1[_0x404a61(0x142)],_0x494fac[_0x404a61(0x143)](_0x3aa5a8);}_0x57bc15(this[_0x404a61(0x147)],_0x494fac),this[_0x404a61(0x147)][_0x404a61(0x141)][_0x404a61(0x140)]='',this[_0x404a61(0x13c)](_0x404a61(0x13e));}[_0x12f3ef(0x132)](){const _0x3661cb=_0x12f3ef;this[_0x3661cb(0x147)][_0x3661cb(0x132)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4a3130,_0x2fecbc,_0x253c69){const _0x1f4c36=_0x4a3130['t'],t=_0x4a3130['t'];switch(_0x2fecbc){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x253c69);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x253c69);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x253c69);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x253c69);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x253c69);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',_0x253c69);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x253c69);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x253c69);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x253c69);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x253c69);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x253c69);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x253c69);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x253c69);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x253c69);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x253c69);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x253c69);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x253c69);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x253c69);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x253c69);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x253c69);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x253c69);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x253c69);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x253c69);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x253c69);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x253c69);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'},_0x253c69);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x253c69);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x253c69);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x253c69);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x253c69);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x253c69);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x253c69);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x253c69);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'},_0x253c69);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x253c69);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x253c69);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x253c69);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x253c69);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'},_0x253c69);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x253c69);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'},_0x253c69);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0x253c69);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x253c69);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'},_0x253c69);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x253c69);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'},_0x253c69);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x253c69);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x253c69);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x253c69);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x253c69);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x253c69);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'},_0x253c69);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x253c69);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 _0x1f4c36({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x253c69);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1f4c36({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x253c69);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x253c69);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'},_0x253c69);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'},_0x253c69);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'},_0x253c69);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2fecbc;}}
|
|
23
|
+
export function getTranslation(_0x3c1c4c,_0x4dc69f,_0x5ee076){const _0x275fc7=_0x3c1c4c['t'],t=_0x3c1c4c['t'];switch(_0x4dc69f){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x5ee076);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5ee076);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5ee076);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5ee076);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5ee076);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',_0x5ee076);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5ee076);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5ee076);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5ee076);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5ee076);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5ee076);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5ee076);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5ee076);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5ee076);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5ee076);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5ee076);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5ee076);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5ee076);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5ee076);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5ee076);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5ee076);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5ee076);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5ee076);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5ee076);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5ee076);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'},_0x5ee076);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5ee076);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5ee076);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5ee076);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5ee076);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5ee076);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5ee076);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5ee076);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5ee076);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5ee076);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5ee076);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'},_0x5ee076);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0x5ee076);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5ee076);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x5ee076);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x5ee076);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x5ee076);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5ee076);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 _0x275fc7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5ee076);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x275fc7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5ee076);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5ee076);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'},_0x5ee076);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'},_0x5ee076);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'},_0x5ee076);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4dc69f;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x587971,_0x21e44f){const _0x190cd5=_0x48c1,_0x10dbc1=_0x587971();while(!![]){try{const _0x36e467=-parseInt(_0x190cd5(0x88))/0x1*(-parseInt(_0x190cd5(0xa0))/0x2)+parseInt(_0x190cd5(0x91))/0x3+parseInt(_0x190cd5(0x7f))/0x4*(-parseInt(_0x190cd5(0x9b))/0x5)+parseInt(_0x190cd5(0xaa))/0x6+parseInt(_0x190cd5(0x7c))/0x7*(-parseInt(_0x190cd5(0x90))/0x8)+-parseInt(_0x190cd5(0x81))/0x9*(-parseInt(_0x190cd5(0xac))/0xa)+-parseInt(_0x190cd5(0x97))/0xb;if(_0x36e467===_0x21e44f)break;else _0x10dbc1['push'](_0x10dbc1['shift']());}catch(_0x4b6327){_0x10dbc1['push'](_0x10dbc1['shift']());}}}(_0xe7ca,0xe5942));function _0xe7ca(){const _0x612f7f=['<span\x20class=\x22ck-suggestion-type\x22>','isCollapsed','value','5XHJMPR','getRanges','deletion','createRange','createPositionAfter','230774nrIPDW','content','splice','type','attribute','innerText','isArray','\x22\x20title=\x22','sort','length','2853900sWccud','innerHTML','80ZnbKck','color','add','execute','createPositionBefore','start','join','isObject','1561WryLXV','isIntersecting','replace','3119428uqSEfF','isInContent','755127FtIAOy','title','end','span','map','next','from','1gCXber','split','createPositionAt','push','change','\x20[color\x20','</span>','schema','856BapMaV','2289585vPDzvd','isTouching','isMultiRange','\x22></span>','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createElement','3095224luLDbR'];_0xe7ca=function(){return _0x612f7f;};return _0xe7ca();}export function normalizeDescription(_0x117043){const _0x23f5c9=_0x48c1;return Array[_0x23f5c9(0xa6)](_0x117043)||(_0x117043=[_0x117043]),_0x117043[_0x23f5c9(0x85)](_0x5d593c=>{const _0x22158d=_0x23f5c9,_0x1727bf=_0x5d593c[_0x22158d(0xa1)][_0x22158d(0x7e)](/\*/g,''),_0x2d2c35=_0x5d593c[_0x22158d(0xad)]?_0x22158d(0x8d)+_0x5d593c[_0x22158d(0xad)][_0x22158d(0x9a)]+']':'';return'['+_0x5d593c[_0x22158d(0xa3)]+']\x20'+_0x1727bf+_0x2d2c35;})[_0x23f5c9(0x7a)](';\x20');}function _0x48c1(_0x1ed0b0,_0x2a2bcb){const _0xe7ca9b=_0xe7ca();return _0x48c1=function(_0x48c12d,_0x3c14ba){_0x48c12d=_0x48c12d-0x76;let _0x2df966=_0xe7ca9b[_0x48c12d];return _0x2df966;},_0x48c1(_0x1ed0b0,_0x2a2bcb);}export function renderDescription(_0x40863b,_0x1a5c95){const _0x34143f=_0x48c1;let _0x4b312e='';return _0x4b312e+=_0x40863b[_0x34143f(0x89)]('*')[_0x34143f(0x85)]((_0x308aa4,_0x5b3c08)=>_0x5b3c08%0x2!=0x0?_0x34143f(0x98)+rn(_0x308aa4)+_0x34143f(0x8e):rn(_0x308aa4))[_0x34143f(0x7a)](''),_0x1a5c95&&(_0x4b312e+=_0x34143f(0x95)+_0x1a5c95[_0x34143f(0x9a)]+_0x34143f(0xa7)+_0x1a5c95[_0x34143f(0x82)]+_0x34143f(0x94)),_0x4b312e;}function rn(_0x209c52){const _0x3a3119=_0x48c1,_0x32a35c=document[_0x3a3119(0x96)](_0x3a3119(0x84));return _0x32a35c[_0x3a3119(0xa5)]=_0x209c52,_0x32a35c[_0x3a3119(0xab)];}export function sortSuggestions(_0x45e7ac){const _0x4e15d1=_0x48c1;return _0x45e7ac[_0x4e15d1(0xa8)]((_0xf9eac,_0x25cccd)=>_0x4e15d1(0xa4)===_0xf9eac[_0x4e15d1(0xa3)]&&_0x4e15d1(0xa4)!==_0x25cccd[_0x4e15d1(0xa3)]?-0x1:_0x4e15d1(0xa4)!==_0xf9eac[_0x4e15d1(0xa3)]&&_0x4e15d1(0xa4)===_0x25cccd[_0x4e15d1(0xa3)]?0x1:_0x4e15d1(0x9d)==_0xf9eac[_0x4e15d1(0xa3)]&&_0x4e15d1(0x9d)!=_0x25cccd[_0x4e15d1(0xa3)]?-0x1:_0x4e15d1(0x9d)!=_0xf9eac[_0x4e15d1(0xa3)]&&_0x4e15d1(0x9d)==_0x25cccd[_0x4e15d1(0xa3)]?0x1:0x0);}export function getSelectedSuggestions(_0x4be627,_0x457987){const _0x12129e=_0x48c1,_0x212c92=Array[_0x12129e(0x87)](_0x4be627[_0x12129e(0x9c)]()),_0x42311f=new Set();for(const _0x3c084d of _0x457987)if(_0x3c084d[_0x12129e(0x80)]){for(const _0x1e3bbe of _0x212c92)for(const _0x10dc1f of _0x3c084d[_0x12129e(0x9c)]())(_0x1e3bbe[_0x12129e(0x7d)](_0x10dc1f)||_0x4be627[_0x12129e(0x99)]&&!_0x3c084d[_0x12129e(0x93)]&&_0x3c084d[_0x12129e(0x86)]&&_0x10dc1f[_0x12129e(0x83)][_0x12129e(0x92)](_0x1e3bbe[_0x12129e(0x79)]))&&_0x42311f[_0x12129e(0x76)](_0x3c084d);}return _0x42311f;}export function getRangesOfBlockGroups(_0x13bd52,_0x1c2bf3){const _0x43c61b=_0x48c1;let _0x958dba,_0x2546d9=0x0;const _0x50d0c5=[],_0x2f6219=_0x1c2bf3[_0x43c61b(0x8f)];for(;_0x2546d9<_0x13bd52[_0x43c61b(0xa9)];){const _0x805f68=_0x13bd52[_0x2546d9],_0x168c4a=_0x13bd52[_0x2546d9+0x1];_0x958dba||(_0x958dba=_0x1c2bf3[_0x43c61b(0x78)](_0x805f68)),cn(_0x1c2bf3,_0x805f68,_0x168c4a)||(_0x50d0c5[_0x43c61b(0x8b)](_0x1c2bf3[_0x43c61b(0x9e)](_0x958dba,_0x2f6219[_0x43c61b(0x7b)](_0x805f68)?_0x1c2bf3[_0x43c61b(0x9f)](_0x805f68):_0x1c2bf3[_0x43c61b(0x8a)](_0x805f68,_0x43c61b(0x83)))),_0x958dba=null),_0x2546d9++;}return _0x50d0c5;}function cn(_0x59e77a,_0x2b03f7,_0x49392e){const _0x2fa0b6=_0x48c1;if(!_0x49392e)return!0x1;const _0x40ff8e=_0x59e77a[_0x2fa0b6(0x9f)](_0x2b03f7),_0x1a8dca=_0x59e77a[_0x2fa0b6(0x78)](_0x49392e);return _0x40ff8e[_0x2fa0b6(0x92)](_0x1a8dca);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4424fa,_0x56e502,_0x4a636f){const _0x37eaee=_0x48c1;for(;_0x4a636f[_0x37eaee(0xa9)];){const _0x45a59b=_0x4a636f[_0x37eaee(0xa2)](0x0,0x64);_0x4424fa[_0x37eaee(0x8c)](()=>{const _0x142f75=_0x37eaee;for(const _0x1f9f23 of _0x45a59b)_0x1f9f23[_0x142f75(0x80)]&&_0x56e502[_0x142f75(0x77)](_0x1f9f23['id']);});}}
|