@ckeditor/ckeditor5-track-changes 47.2.0-alpha.5 → 47.2.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/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
|
+
const _0x2c9790=_0x20f4;(function(_0x133493,_0x1ed897){const _0xf831b5=_0x20f4,_0x44ab94=_0x133493();while(!![]){try{const _0x33731f=parseInt(_0xf831b5(0x1a4))/0x1*(-parseInt(_0xf831b5(0x199))/0x2)+parseInt(_0xf831b5(0x19b))/0x3*(parseInt(_0xf831b5(0x1a0))/0x4)+parseInt(_0xf831b5(0x19a))/0x5+-parseInt(_0xf831b5(0x196))/0x6*(parseInt(_0xf831b5(0x194))/0x7)+parseInt(_0xf831b5(0x19f))/0x8*(-parseInt(_0xf831b5(0x18d))/0x9)+parseInt(_0xf831b5(0x1a6))/0xa*(parseInt(_0xf831b5(0x1a2))/0xb)+parseInt(_0xf831b5(0x19e))/0xc*(parseInt(_0xf831b5(0x18f))/0xd);if(_0x33731f===_0x1ed897)break;else _0x44ab94['push'](_0x44ab94['shift']());}catch(_0x40c1b8){_0x44ab94['push'](_0x44ab94['shift']());}}}(_0x37a3,0x52c3f));import{Plugin as _0x367c25}from'ckeditor5/src/core.js';function _0x20f4(_0x5c59b7,_0x49a261){const _0x37a33c=_0x37a3();return _0x20f4=function(_0x20f454,_0x4945d4){_0x20f454=_0x20f454-0x18d;let _0x507cfa=_0x37a33c[_0x20f454];return _0x507cfa;},_0x20f4(_0x5c59b7,_0x49a261);}import{Dialog as _0x291df5}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x5d56b3}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0xcf42cd}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x37a3(){const _0x2c3a21=['3013704mpfpNz','isPremiumPlugin','4885127lchbsY','editor','config','pluginName','trackChanges.preview.renderFunction','25067xXsAKg','appendChild','714LciWgu','commands','requires','2XMhjsm','660110VnXEoe','9459uiIzlA','TrackChangesPreview','previewFinalContent','24IJRfBs','16dMdMuB','276hGwFmN','isOfficialPlugin','171116MhokUw','add','304075zzdORM','define','410OVfvTy'];_0x37a3=function(){return _0x2c3a21;};return _0x37a3();}export class TrackChangesPreview extends _0x367c25{static get[_0x2c9790(0x198)](){return[_0x5d56b3,_0x291df5];}static get[_0x2c9790(0x192)](){const _0x58a066=_0x2c9790;return _0x58a066(0x19c);}static get[_0x2c9790(0x1a1)](){return!0x0;}static get[_0x2c9790(0x18e)](){return!0x0;}constructor(_0x409b3b){const _0x382e2c=_0x2c9790;super(_0x409b3b),_0x409b3b[_0x382e2c(0x197)][_0x382e2c(0x1a3)](_0x382e2c(0x19d),new _0xcf42cd(this[_0x382e2c(0x190)])),_0x409b3b[_0x382e2c(0x191)][_0x382e2c(0x1a5)](_0x382e2c(0x193),(_0x41df3f,_0x135a97)=>{const _0x56fee3=_0x382e2c;for(const _0x4eb5ae of _0x135a97)_0x41df3f[_0x56fee3(0x195)](_0x4eb5ae);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x54ec(){const _0x44e084=['children','change:activeAnnotations','refreshSelectedViews','commandName','componentFactory','_updateController','TrackChanges','Accept\x20all\x20selected\x20suggestions','_unbindEditors','stopListening','menuitemcheckbox','_createToolbarButton','reduce','menuBar:trackChanges','TrackChangesPreview','suggestionUnloaded','_suggestionToController','CommentsRepository','160zfVoWt','suggestionLoaded','trackChangesLicenseKeyInvalid','menu','acceptButton','_addUIComponentsToFactory','createAnnotationView','_createMenuBarMenu','EditorAnnotations','20671rIohYe','createAnnotation','trackChangesLicenseKeyValid','pluginName','has','focus','trackChanges.SuggestionThreadView','91NmaIlI','editing','isInContent','comments.maxThreadTotalWeight','Track\x20changes','source','hasSuggestion','commentsListView','separator','domainLimit','listenTo','SuggestionView','previous','comments.maxCommentCharsWhenCollapsed','descriptionFactory','getRanges','length','Discard\x20all\x20selected\x20suggestions','25tgOalm','trackChangesLicenseKeyTrialLimit','TrackChangesUI','getDescriptions','panelView','_viewToController','type','comments.maxCommentsWhenCollapsed','clear','_handleControllerBuffer','button','_bindAnnotationToEditors','suggestionChanged','delete','discardSelectedSuggestions','getAllAdjacentSuggestions','_handleSuggestionControllerDelayed','init','requires','SuggestionThreadView','discardButton','values','activeMarkers','head','buttonView','commands','actionView','comments.editorConfig','menuitem','comments','trackChanges','CommentView','size','featureNotAllowed','licenseKey','model','isOn','usageLimit','_initializeController','getFirstRange','trackChangesLicenseKeyEvaluationLimit','addMany','createCommentThreadController','destroy','filter','switchbutton','Annotations','fire','_showLicenseError','commentThread','CommentsUI','isPremiumPlugin','10163690jTHaSq','5eRmJKi','addComment','descriptionParts','getJoined','innerView','TrackChangesEditing','isOfficialPlugin','getByInnerView','getSuggestionForAnnotation','3RDADmf','suggestionView','getSuggestion','trackChangesLicenseKeyExpired','addSourceCollector','trackChanges.SuggestionView','11rwoHBi','suggestion-','acceptSelectedSuggestions','discardAllSuggestions','_disableComments','some','change:previous','lowest','define','isMultiRange','1714044wqGqJy','arrowView','trackChangesLicenseKeyNotAllowed','config','442838LoZvrH','from','editor','items','view','Preview\x20final\x20content','get','getMarkerNames','_refreshActiveMarkers','_annotationViews','add','toMany','bind','_licenseKeyCheckInterval','execute','registerAnnotation','previewFinalContent','push','isDirty','value','trackChanges.disableComments','isEnabled','trialLimit','invalid','remove','Accept\x20all\x20suggestions','acceptAllSuggestions','getMarkers','10005957kdHMgv','escape','trackChangesLicenseKeyUsageLimit','delegate','trackChangesLicenseKeyDomainLimit','set','keys','393798EeUYyF','unbind','getAnnotationForSuggestion','plugins','mainView','activeAnnotations','Discard\x20all\x20suggestions','_destroyController','expired','2151008pLaEwF','evaluationLimit','locale'];_0x54ec=function(){return _0x44e084;};return _0x54ec();}const _0x2b750c=_0x1718;function _0x1718(_0x129538,_0x33cc52){const _0x54ec1e=_0x54ec();return _0x1718=function(_0x171899,_0x511731){_0x171899=_0x171899-0x106;let _0x3a3a30=_0x54ec1e[_0x171899];return _0x3a3a30;},_0x1718(_0x129538,_0x33cc52);}(function(_0x5ec781,_0x2ada75){const _0x5c3127=_0x1718,_0x5ab055=_0x5ec781();while(!![]){try{const _0x3964ce=-parseInt(_0x5c3127(0x171))/0x1*(parseInt(_0x5c3127(0x18e))/0x2)+-parseInt(_0x5c3127(0x17a))/0x3*(-parseInt(_0x5c3127(0x1ba))/0x4)+parseInt(_0x5c3127(0x13c))/0x5*(parseInt(_0x5c3127(0x1b1))/0x6)+-parseInt(_0x5c3127(0x123))/0x7*(parseInt(_0x5c3127(0x11a))/0x8)+-parseInt(_0x5c3127(0x1aa))/0x9+-parseInt(_0x5c3127(0x170))/0xa*(-parseInt(_0x5c3127(0x180))/0xb)+-parseInt(_0x5c3127(0x18a))/0xc*(-parseInt(_0x5c3127(0x12a))/0xd);if(_0x3964ce===_0x2ada75)break;else _0x5ab055['push'](_0x5ab055['shift']());}catch(_0x12bd56){_0x5ab055['push'](_0x5ab055['shift']());}}}(_0x54ec,0x93839));import{Plugin as _0x364d49}from'ckeditor5/src/core.js';import{Collection as _0x1f3599}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x43f03b}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4dea21,createDropdown as _0x5c8542,ListSeparatorView as _0x4cdd95,MenuBarMenuView as _0x5ae61c,MenuBarMenuListView as _0x4b3e2a,MenuBarMenuListItemView as _0xe2ae4f,MenuBarMenuListItemButtonView as _0x4bfd8e,SplitButtonView as _0x4194df,UIModel as _0x2a8d12}from'ckeditor5/src/ui.js';import{Users as _0x566b6d,getDateTimeFormatter as _0x5a6fdd,getAllMarkersDomElementsSorted as _0x155528}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2df106}from'./trackchangesediting.js';import{SuggestionController as _0x19c96b}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x26b6b0}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x448cc7}from'./ui/view/suggestionview.js';import{getTranslation as _0x1efdb1}from'./utils/common-translations.js';export class TrackChangesUI extends _0x364d49{[_0x2b750c(0x15e)];[_0x2b750c(0x19b)];[_0x2b750c(0x118)];[_0x2b750c(0x141)];[_0x2b750c(0x197)];[_0x2b750c(0x145)];[_0x2b750c(0x184)];static get[_0x2b750c(0x14e)](){const _0x387197=_0x2b750c;return[_0x2df106,_0x566b6d,_0x387197(0x119),_0x387197(0x16a),_0x387197(0x122)];}static get[_0x2b750c(0x126)](){const _0x1bb9fc=_0x2b750c;return _0x1bb9fc(0x13e);}static get[_0x2b750c(0x177)](){return!0x0;}static get[_0x2b750c(0x16f)](){return!0x0;}constructor(_0x5f1f13){const _0x3ba7a0=_0x2b750c;super(_0x5f1f13),this[_0x3ba7a0(0x118)]=new Map(),this[_0x3ba7a0(0x141)]=new Map(),this[_0x3ba7a0(0x197)]=new Map(),this[_0x3ba7a0(0x145)]=new Map();const _0x3ec9d1=this[_0x3ba7a0(0x190)][_0x3ba7a0(0x18d)];_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x129),_0x26b6b0),_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x17f),_0x448cc7),_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x1a2),!0x1),this[_0x3ba7a0(0x184)]=_0x3ec9d1[_0x3ba7a0(0x194)](_0x3ba7a0(0x1a2));}[_0x2b750c(0x14c)](_0x188aa6,_0x5894a8){const _0x412b26=_0x2b750c;0x0===this[_0x412b26(0x145)][_0x412b26(0x15c)]&&setTimeout(()=>{const _0x14cc08=_0x412b26;for(const [_0x518e96,_0x3b2c89]of this[_0x14cc08(0x145)]){const _0xcda424=this[_0x14cc08(0x118)][_0x14cc08(0x127)](_0x518e96);_0xcda424||_0x3b2c89?_0xcda424&&_0x3b2c89&&this[_0x14cc08(0x1b8)](_0x518e96):this[_0x14cc08(0x162)](_0x518e96);}this[_0x14cc08(0x145)][_0x14cc08(0x144)](),this[_0x14cc08(0x190)][_0x14cc08(0x1b4)][_0x14cc08(0x194)](_0x14cc08(0x122))[_0x14cc08(0x10a)](),this[_0x14cc08(0x196)]();},0xa),this[_0x412b26(0x145)][_0x412b26(0x1af)](_0x188aa6,_0x5894a8);}[_0x2b750c(0x14d)](){const _0x5294fd=_0x2b750c,_0x55753e=this[_0x5294fd(0x190)],_0x3b7ba1=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x176)),_0x3a2e22=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x16a)),_0x332115=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x122)),_0xec92ba=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x119));this[_0x5294fd(0x11f)](),_0x332115[_0x5294fd(0x17e)](()=>{const _0x324d7a=_0x5294fd,_0x93bb1c=[];for(const [_0x1e5723,_0x4a4a44]of Array[_0x324d7a(0x18f)](this[_0x324d7a(0x118)])){const _0x411260=_0x1e5723[_0x324d7a(0x14b)](),_0x1fb69c=[];for(const _0x3904e9 of _0x411260){if(!_0x3904e9[_0x324d7a(0x12c)])continue;if(_0x3904e9[_0x324d7a(0x189)]){_0x1fb69c[_0x324d7a(0x19f)](..._0x3904e9[_0x324d7a(0x139)]());continue;}const _0x255d85=_0x3904e9[_0x324d7a(0x163)]();if(_0x1fb69c[_0x324d7a(0x13a)]>0x0){const _0x4ab28e=_0x1fb69c[0x0][_0x324d7a(0x174)](_0x255d85);if(_0x4ab28e){_0x1fb69c[0x0]=_0x4ab28e;continue;}}_0x1fb69c[_0x324d7a(0x19f)](_0x255d85);}_0x93bb1c[_0x324d7a(0x19f)]([_0x4a4a44[_0x324d7a(0x192)],_0x1fb69c]);}return _0x93bb1c;}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x11b),(_0x5469d9,_0x4b34e8)=>{const _0x4553d4=_0x5294fd;this[_0x4553d4(0x134)](_0x4b34e8,_0x4553d4(0x186),(_0x47d893,_0x3d3b40,_0x37b5fb,_0x2658ee)=>{const _0x55708c=_0x4553d4;_0x4b34e8[_0x55708c(0x12c)]&&(null==_0x37b5fb?(this[_0x55708c(0x10d)](_0x2658ee[_0x55708c(0x153)]),this[_0x55708c(0x14c)](_0x4b34e8,!0x1)):(this[_0x55708c(0x10d)](_0x37b5fb[_0x55708c(0x153)]),null==_0x2658ee&&this[_0x55708c(0x14c)](_0x4b34e8,!0x0)));}),null!==_0x4b34e8[_0x4553d4(0x136)]?this[_0x4553d4(0x10d)](_0x4b34e8[_0x4553d4(0x153)]):this[_0x4553d4(0x14c)](_0x4b34e8,!0x1);}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x117),(_0x3fe7cf,_0x1c0ee7,_0x1b065a)=>{const _0x47ba65=_0x5294fd;this[_0x47ba65(0x111)](_0x1c0ee7,_0x47ba65(0x186)),this[_0x47ba65(0x145)][_0x47ba65(0x149)](_0x1c0ee7),this[_0x47ba65(0x118)][_0x47ba65(0x127)](_0x1c0ee7)&&this[_0x47ba65(0x1b8)](_0x1c0ee7),_0x1b065a&&this[_0x47ba65(0x10d)](_0x1b065a[_0x47ba65(0x153)]);}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x148),(_0x230dfa,_0x24b333)=>{const _0x29edc9=_0x5294fd;this[_0x29edc9(0x10d)](_0x24b333);}),this[_0x5294fd(0x134)](_0x3a2e22,_0x5294fd(0x109),()=>{const _0x56857d=_0x5294fd;this[_0x56857d(0x196)]();}),this[_0x5294fd(0x134)](_0xec92ba,_0x5294fd(0x172),(_0x5b6675,{threadId:_0x3f5565,isFromAdapter:_0x174423})=>{const _0x30c66e=_0x5294fd;if(_0x174423||!_0x3b7ba1[_0x30c66e(0x130)](_0x3f5565))return;const _0x35aff2=_0x3b7ba1[_0x30c66e(0x17c)](_0x3f5565);this[_0x30c66e(0x118)][_0x30c66e(0x194)](_0x35aff2)[_0x30c66e(0x192)][_0x30c66e(0x131)][_0x30c66e(0x128)](-0x1);},{'priority':_0x5294fd(0x187)}),this[_0x5294fd(0x15e)]=this[_0x5294fd(0x190)][_0x5294fd(0x18d)][_0x5294fd(0x194)](_0x5294fd(0x15e));const _0x213c32=this[_0x5294fd(0x190)];this[_0x5294fd(0x19b)]=setInterval(()=>{const _0x1d3244=_0x5294fd;let _0x4854f5;for(const _0x47b711 in _0x213c32){const _0xbabd2f=_0x47b711,_0x463ad8=_0x213c32[_0xbabd2f];if(_0x1d3244(0x125)==_0x463ad8||_0x1d3244(0x11c)==_0x463ad8||_0x1d3244(0x17d)==_0x463ad8||_0x1d3244(0x1ae)==_0x463ad8||_0x1d3244(0x18c)==_0x463ad8||_0x1d3244(0x164)==_0x463ad8||_0x1d3244(0x13d)==_0x463ad8||_0x1d3244(0x1ac)==_0x463ad8){delete _0x213c32[_0xbabd2f],_0x4854f5=_0x463ad8,clearInterval(this[_0x1d3244(0x19b)]),this[_0x1d3244(0x19b)]=void 0x0;break;}}_0x1d3244(0x11c)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1a5)),_0x1d3244(0x17d)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1b9)),_0x1d3244(0x1ae)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x133)),_0x1d3244(0x18c)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x15d),_0x1d3244(0x10e)),_0x1d3244(0x164)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x106)),_0x1d3244(0x13d)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1a4)),_0x1d3244(0x1ac)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x161));},0x3e8);}[_0x2b750c(0x1b3)](_0x4feb4a){const _0x368bb3=_0x2b750c,_0x356a8f=this[_0x368bb3(0x118)][_0x368bb3(0x194)](_0x4feb4a);if(!_0x356a8f)return null;return this[_0x368bb3(0x190)][_0x368bb3(0x1b4)][_0x368bb3(0x194)](_0x368bb3(0x16a))[_0x368bb3(0x178)](_0x356a8f[_0x368bb3(0x192)])||null;}[_0x2b750c(0x179)](_0x4dc579){const _0x4268e2=_0x2b750c,_0x10a198=this[_0x4268e2(0x141)][_0x4268e2(0x194)](_0x4dc579[_0x4268e2(0x175)]);return _0x10a198?_0x10a198[_0x4268e2(0x15f)]:null;}[_0x2b750c(0x196)](){const _0x53c9f3=_0x2b750c,_0x45a183=this[_0x53c9f3(0x190)][_0x53c9f3(0x1b4)][_0x53c9f3(0x194)](_0x53c9f3(0x16a)),_0x4e49c7=this[_0x53c9f3(0x190)][_0x53c9f3(0x1b4)][_0x53c9f3(0x194)](_0x53c9f3(0x176)),_0x5d0222=Array[_0x53c9f3(0x18f)](_0x45a183[_0x53c9f3(0x1b6)],_0x1aea05=>_0x1aea05[_0x53c9f3(0x175)])[_0x53c9f3(0x168)](_0x48aa42=>this[_0x53c9f3(0x141)][_0x53c9f3(0x127)](_0x48aa42)),_0xfad73e=[];for(const _0x80ec4b of _0x5d0222){const _0x7b9fd2=this[_0x53c9f3(0x141)][_0x53c9f3(0x194)](_0x80ec4b)[_0x53c9f3(0x15f)][_0x53c9f3(0x14b)]();_0xfad73e[_0x53c9f3(0x19f)](..._0x7b9fd2[_0x53c9f3(0x114)]((_0x4b1672,_0x3cdbfd)=>[..._0x4b1672,..._0x3cdbfd[_0x53c9f3(0x195)]()],[]));}_0x4e49c7[_0x53c9f3(0x152)]=_0xfad73e;}[_0x2b750c(0x11f)](){const _0x2c25f7=_0x2b750c,_0x3cd73a=this[_0x2c25f7(0x190)],_0xd4737b=_0x3cd73a[_0x2c25f7(0x107)],_0x44d026=_0x1efdb1(_0xd4737b,_0x2c25f7(0x12e)),_0x576283=new _0x1f3599([{'type':_0x2c25f7(0x169),'model':new _0x2a8d12({'withText':!0x0,'isToggleable':!0x0,'label':_0x44d026,'commandName':_0x2c25f7(0x15a),'role':_0x2c25f7(0x112)})},{'type':_0x2c25f7(0x132)},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x1a7)),'commandName':_0x2c25f7(0x1a8),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x10f)),'commandName':_0x2c25f7(0x182),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x1b7)),'commandName':_0x2c25f7(0x183),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x13b)),'commandName':_0x2c25f7(0x14a),'role':_0x2c25f7(0x158)})}]);_0x3cd73a[_0x2c25f7(0x1b4)][_0x2c25f7(0x127)](_0x2c25f7(0x116))&&_0x576283[_0x2c25f7(0x165)]([{'type':_0x2c25f7(0x132)},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x193)),'commandName':_0x2c25f7(0x19e),'role':_0x2c25f7(0x158)})}]);for(const _0x2d6364 of _0x576283)if(ke(_0x2d6364)){const _0x801aba=_0x3cd73a[_0x2c25f7(0x155)][_0x2c25f7(0x194)](_0x2d6364[_0x2c25f7(0x15f)][_0x2c25f7(0x10b)]);_0x2d6364[_0x2c25f7(0x15f)][_0x2c25f7(0x19a)](_0x2c25f7(0x160),_0x2c25f7(0x1a3))['to'](_0x801aba,_0x2c25f7(0x1a1),_0x2c25f7(0x1a3));}_0x3cd73a['ui'][_0x2c25f7(0x10c)][_0x2c25f7(0x198)](_0x2c25f7(0x15a),_0x34788f=>this[_0x2c25f7(0x113)](_0x34788f,_0x576283,_0x44d026)),_0x3cd73a['ui'][_0x2c25f7(0x10c)][_0x2c25f7(0x198)](_0x2c25f7(0x115),_0x34ffd4=>this[_0x2c25f7(0x121)](_0x34ffd4,_0x576283,_0x44d026));}[_0x2b750c(0x113)](_0x28a114,_0x35ba5d,_0x28babf){const _0xe18ff9=_0x2b750c,_0x472e37=_0x5c8542(_0x28a114,_0x4194df),_0x4f7091=this[_0xe18ff9(0x190)][_0xe18ff9(0x155)][_0xe18ff9(0x194)](_0xe18ff9(0x15a));_0x472e37[_0xe18ff9(0x154)][_0xe18ff9(0x1af)]({'tooltip':_0x28babf,'label':_0x28babf,'icon':_0x43f03b}),_0x472e37[_0xe18ff9(0x154)][_0xe18ff9(0x19a)](_0xe18ff9(0x160))['to'](_0x4f7091,_0xe18ff9(0x1a1)),_0x472e37[_0xe18ff9(0x154)]['on'](_0xe18ff9(0x19c),()=>{const _0x2a0c68=_0xe18ff9;_0x4f7091[_0x2a0c68(0x19c)](),this[_0x2a0c68(0x190)][_0x2a0c68(0x12b)][_0x2a0c68(0x192)][_0x2a0c68(0x128)]();}),_0x4dea21(_0x472e37,_0x35ba5d,{'role':_0xe18ff9(0x11d)});const _0xdb73e0=[];for(const _0x45b8fa of _0x35ba5d)ke(_0x45b8fa)&&_0xdb73e0[_0xe18ff9(0x19f)](this[_0xe18ff9(0x190)][_0xe18ff9(0x155)][_0xe18ff9(0x194)](_0x45b8fa[_0xe18ff9(0x15f)][_0xe18ff9(0x10b)]));const _0x7aeafb=_0x472e37[_0xe18ff9(0x154)];return _0x7aeafb[_0xe18ff9(0x156)][_0xe18ff9(0x1b2)](_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x18b)][_0xe18ff9(0x1b2)](_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x156)][_0xe18ff9(0x19a)](_0xe18ff9(0x1a3))['to'](_0x4f7091,_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x18b)][_0xe18ff9(0x19a)](_0xe18ff9(0x1a3))[_0xe18ff9(0x199)](_0xdb73e0,_0xe18ff9(0x1a3),(..._0x1767c6)=>_0x1767c6[_0xe18ff9(0x185)](_0x320b16=>_0x320b16)),_0x472e37['on'](_0xe18ff9(0x19c),_0x489e59=>{const _0x558993=_0xe18ff9;this[_0x558993(0x190)][_0x558993(0x19c)](_0x489e59[_0x558993(0x12f)][_0x558993(0x10b)]),this[_0x558993(0x190)][_0x558993(0x12b)][_0x558993(0x192)][_0x558993(0x128)]();}),_0x472e37;}[_0x2b750c(0x121)](_0x2632c7,_0xbc03d6,_0x4a887c){const _0x5e6d56=_0x2b750c,_0x3f1121=new _0x5ae61c(_0x2632c7),_0x182259=this[_0x5e6d56(0x190)][_0x5e6d56(0x155)][_0x5e6d56(0x194)](_0x5e6d56(0x15a));_0x3f1121[_0x5e6d56(0x154)][_0x5e6d56(0x1af)]({'label':_0x4a887c,'icon':_0x43f03b});const _0x2ce6d0=new _0x4b3e2a(_0x2632c7);for(const _0x202334 of _0xbc03d6){if(_0x5e6d56(0x132)==_0x202334[_0x5e6d56(0x142)]){_0x2ce6d0[_0x5e6d56(0x191)][_0x5e6d56(0x198)](new _0x4cdd95(_0x2632c7));continue;}const _0x5ed2e1=new _0xe2ae4f(_0x2632c7,_0x3f1121),_0x560e29=new _0x4bfd8e(_0x2632c7),_0x583713=_0x202334[_0x5e6d56(0x15f)];_0x560e29[_0x5e6d56(0x19a)](...Object[_0x5e6d56(0x1b0)](_0x583713))['to'](_0x583713),_0x560e29[_0x5e6d56(0x1ad)](_0x5e6d56(0x19c))['to'](_0x3f1121),_0x560e29['on'](_0x5e6d56(0x19c),()=>{const _0x4e59ff=_0x5e6d56;this[_0x4e59ff(0x190)][_0x4e59ff(0x19c)](_0x583713[_0x4e59ff(0x10b)]),this[_0x4e59ff(0x190)][_0x4e59ff(0x12b)][_0x4e59ff(0x192)][_0x4e59ff(0x128)]();}),_0x5ed2e1[_0x5e6d56(0x108)][_0x5e6d56(0x198)](_0x560e29),_0x2ce6d0[_0x5e6d56(0x191)][_0x5e6d56(0x198)](_0x5ed2e1);}return _0x3f1121[_0x5e6d56(0x19a)](_0x5e6d56(0x1a3))['to'](_0x182259,_0x5e6d56(0x1a3)),_0x3f1121[_0x5e6d56(0x140)][_0x5e6d56(0x108)][_0x5e6d56(0x198)](_0x2ce6d0),_0x3f1121;}[_0x2b750c(0x162)](_0xeb0873){const _0x42abcf=_0x2b750c,_0x1c6017=this[_0x42abcf(0x190)],_0x44af5b=_0x1c6017[_0x42abcf(0x18d)],_0x45042e=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x16a)),_0x12bfef=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x119)),_0x3a17ab=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x122)),_0x33d514=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x566b6d)['me'],_0x458f5e=_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15a))[_0x42abcf(0x14f)],_0x1cc299=_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15a))[_0x42abcf(0x135)],{CommentsListView:_0x473393,CommentThreadInputView:_0x5a949b}=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x16e));let _0x4ad203,_0x444e77,_0x4f56ee;this[_0x42abcf(0x197)][_0x42abcf(0x127)](_0xeb0873['id'])?(_0x444e77=this[_0x42abcf(0x197)][_0x42abcf(0x194)](_0xeb0873['id']),_0x4ad203=_0x444e77[_0x42abcf(0x1b5)]):(_0x4ad203=new _0x458f5e(_0x1c6017[_0x42abcf(0x107)],_0xeb0873,_0x33d514,{'disableComments':this[_0x42abcf(0x184)],'editorConfig':{..._0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x157)),'licenseKey':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15e))},'maxCommentsWhenCollapsed':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x143)),'maxThreadTotalWeight':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x12d)),'maxCommentCharsWhenCollapsed':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x137)),'formatDateTime':_0x5a6fdd(_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x107)),_0x1c6017[_0x42abcf(0x107)]),'CommentView':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x159))[_0x42abcf(0x15b)],'CommentsListView':_0x473393,'CommentThreadInputView':_0x5a949b,'SuggestionView':_0x1cc299}),_0x4ad203[_0x42abcf(0x17b)][_0x42abcf(0x11e)]['on'](_0x42abcf(0x19c),()=>{const _0x2acba4=_0x42abcf;_0x1c6017[_0x2acba4(0x12b)][_0x2acba4(0x192)][_0x2acba4(0x128)]();}),_0x4ad203[_0x42abcf(0x17b)][_0x42abcf(0x150)]['on'](_0x42abcf(0x19c),()=>{const _0x17e97b=_0x42abcf;_0x1c6017[_0x17e97b(0x12b)][_0x17e97b(0x192)][_0x17e97b(0x128)]();}),_0x444e77=_0x45042e[_0x42abcf(0x120)](this[_0x42abcf(0x190)][_0x42abcf(0x107)],_0x4ad203),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x1a0))['to'](_0x4ad203,_0x42abcf(0x1a0)),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x13a))['to'](_0x4ad203),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x142))['to'](_0x4ad203,_0x42abcf(0x142),_0x38b625=>_0x42abcf(0x181)+_0x38b625),_0x4ad203['on'](_0x42abcf(0x1ab),()=>{const _0x338c5a=_0x42abcf;_0x4f56ee[_0x338c5a(0x16b)](_0x338c5a(0x1ab));}),this[_0x42abcf(0x197)][_0x42abcf(0x1af)](_0xeb0873['id'],_0x444e77));const _0x7d2af5=_0x12bfef[_0x42abcf(0x166)](_0xeb0873[_0x42abcf(0x16d)],_0x4ad203),_0x204ecb=new _0x19c96b(_0x1c6017,_0xeb0873,_0x4ad203,_0x7d2af5),_0x43d85c=_0xeb0873[_0x42abcf(0x14b)]()[_0x42abcf(0x168)](_0x3f6632=>_0x3f6632[_0x42abcf(0x12c)]);_0x4ad203[_0x42abcf(0x173)]=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x176))[_0x42abcf(0x138)][_0x42abcf(0x13f)](_0x43d85c),this[_0x42abcf(0x118)][_0x42abcf(0x1af)](_0xeb0873,_0x204ecb),this[_0x42abcf(0x141)][_0x42abcf(0x1af)](_0x4ad203,_0x204ecb);const _0x170860=()=>{const _0x328642=_0x42abcf,_0x27ddec=[],_0x304e77=_0xeb0873[_0x328642(0x14b)]()[_0x328642(0x168)](_0x1fb0b3=>_0x1fb0b3[_0x328642(0x12c)]);for(const _0x4c35c0 of _0x304e77)_0x27ddec[_0x328642(0x19f)](..._0x4c35c0[_0x328642(0x1a9)]());return _0x155528(_0x1c6017[_0x328642(0x12b)],_0x27ddec);};_0x4f56ee=_0x45042e[_0x42abcf(0x124)]({'view':_0x444e77,'target':_0x170860,'type':()=>_0x42abcf(0x181)+_0x204ecb[_0x42abcf(0x192)][_0x42abcf(0x142)],'isVisible':!!_0x170860()}),_0x12bfef[_0x42abcf(0x147)](_0x4ad203,_0x4f56ee),_0x45042e[_0x42abcf(0x198)](_0x4f56ee),_0x3a17ab[_0x42abcf(0x19d)](_0x4f56ee);}[_0x2b750c(0x1b8)](_0x4ba498){const _0x2a1713=_0x2b750c,_0x267ad4=this[_0x2a1713(0x190)][_0x2a1713(0x1b4)][_0x2a1713(0x194)](_0x2a1713(0x119)),_0x37400a=this[_0x2a1713(0x190)][_0x2a1713(0x1b4)][_0x2a1713(0x194)](_0x2a1713(0x16a)),_0x5aed3c=this[_0x2a1713(0x118)][_0x2a1713(0x194)](_0x4ba498),_0x2b3e3e=_0x5aed3c[_0x2a1713(0x192)],_0x22d916=_0x37400a[_0x2a1713(0x178)](_0x2b3e3e);_0x267ad4[_0x2a1713(0x110)](_0x2b3e3e),_0x22d916&&_0x37400a[_0x2a1713(0x1a6)](_0x22d916),this[_0x2a1713(0x118)][_0x2a1713(0x149)](_0x4ba498),this[_0x2a1713(0x141)][_0x2a1713(0x149)](_0x2b3e3e),_0x5aed3c[_0x2a1713(0x167)]();}[_0x2b750c(0x10d)](_0x255508){const _0x88408c=_0x2b750c;if(!_0x255508[_0x88408c(0x12c)]||!this[_0x88408c(0x118)][_0x88408c(0x127)](_0x255508))return;const _0x34f225=this[_0x88408c(0x190)][_0x88408c(0x1b4)][_0x88408c(0x194)](_0x88408c(0x176)),_0x39a399=this[_0x88408c(0x118)][_0x88408c(0x194)](_0x255508),_0x6e92cb=_0x255508[_0x88408c(0x14b)]();_0x39a399[_0x88408c(0x192)][_0x88408c(0x173)]=_0x34f225[_0x88408c(0x138)][_0x88408c(0x13f)](_0x6e92cb);}[_0x2b750c(0x167)](){const _0x5ef229=_0x2b750c;for(const _0x25cd49 of this[_0x5ef229(0x118)][_0x5ef229(0x1b0)]())this[_0x5ef229(0x1b8)](_0x25cd49);for(const _0x57682f of this[_0x5ef229(0x197)][_0x5ef229(0x151)]())_0x57682f[_0x5ef229(0x1b5)][_0x5ef229(0x167)]();super[_0x5ef229(0x167)](),this[_0x5ef229(0x19b)]&&clearInterval(this[_0x5ef229(0x19b)]);}}function ke(_0x2920ad){const _0xdd52b6=_0x2b750c;return _0xdd52b6(0x15f)in _0x2920ad;}
|
|
23
|
+
const _0x36b6e9=_0x38e5;(function(_0x1dfdc1,_0x1b51da){const _0x598198=_0x38e5,_0x418a02=_0x1dfdc1();while(!![]){try{const _0x5c5919=-parseInt(_0x598198(0x7a))/0x1*(-parseInt(_0x598198(0x113))/0x2)+-parseInt(_0x598198(0xad))/0x3*(parseInt(_0x598198(0x111))/0x4)+parseInt(_0x598198(0x105))/0x5*(parseInt(_0x598198(0xcb))/0x6)+-parseInt(_0x598198(0xc9))/0x7+-parseInt(_0x598198(0xd1))/0x8+parseInt(_0x598198(0xc1))/0x9+parseInt(_0x598198(0xea))/0xa;if(_0x5c5919===_0x1b51da)break;else _0x418a02['push'](_0x418a02['shift']());}catch(_0x269622){_0x418a02['push'](_0x418a02['shift']());}}}(_0x59f1,0x9c6f2));import{Plugin as _0x53e1af}from'ckeditor5/src/core.js';import{Collection as _0x1ce6aa}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x596af8}from'ckeditor5/src/icons.js';function _0x38e5(_0x30a90f,_0x5380f2){const _0x59f1dd=_0x59f1();return _0x38e5=function(_0x38e562,_0x461292){_0x38e562=_0x38e562-0x6f;let _0x16003e=_0x59f1dd[_0x38e562];return _0x16003e;},_0x38e5(_0x30a90f,_0x5380f2);}import{addListToDropdown as _0x1d3a9e,createDropdown as _0x5479cd,ListSeparatorView as _0x399663,MenuBarMenuView as _0x8c76a6,MenuBarMenuListView as _0x512eb8,MenuBarMenuListItemView as _0x256eeb,MenuBarMenuListItemButtonView as _0x5480cc,SplitButtonView as _0x3cf7c8,UIModel as _0x342d1b}from'ckeditor5/src/ui.js';import{Users as _0x477f75,getDateTimeFormatter as _0x115e6e,getAllMarkersDomElementsSorted as _0x45cdd0}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x58fd76}from'./trackchangesediting.js';import{SuggestionController as _0x9709e9}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x5b34bc}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x2b9ab0}from'./ui/view/suggestionview.js';import{getTranslation as _0x4847a0}from'./utils/common-translations.js';export class TrackChangesUI extends _0x53e1af{[_0x36b6e9(0xb2)];[_0x36b6e9(0x118)];[_0x36b6e9(0x116)];[_0x36b6e9(0xde)];[_0x36b6e9(0xa5)];[_0x36b6e9(0xe8)];[_0x36b6e9(0xc4)];static get[_0x36b6e9(0x8d)](){const _0x53e3c3=_0x36b6e9;return[_0x58fd76,_0x477f75,_0x53e3c3(0x109),_0x53e3c3(0x74),_0x53e3c3(0x94)];}static get[_0x36b6e9(0xd4)](){const _0x164c42=_0x36b6e9;return _0x164c42(0xa1);}static get[_0x36b6e9(0xa9)](){return!0x0;}static get[_0x36b6e9(0x86)](){return!0x0;}constructor(_0x46771c){const _0x461d93=_0x36b6e9;super(_0x46771c),this[_0x461d93(0x116)]=new Map(),this[_0x461d93(0xde)]=new Map(),this[_0x461d93(0xa5)]=new Map(),this[_0x461d93(0xe8)]=new Map();const _0x5703c6=this[_0x461d93(0x79)][_0x461d93(0x89)];_0x5703c6[_0x461d93(0xb9)](_0x461d93(0xf1),_0x5b34bc),_0x5703c6[_0x461d93(0xb9)](_0x461d93(0xfc),_0x2b9ab0),_0x5703c6[_0x461d93(0xb9)](_0x461d93(0x107),!0x1),this[_0x461d93(0xc4)]=_0x5703c6[_0x461d93(0xd7)](_0x461d93(0x107));}[_0x36b6e9(0x9c)](_0x3ca43d,_0x3ea305){const _0x45e7fd=_0x36b6e9;0x0===this[_0x45e7fd(0xe8)][_0x45e7fd(0x92)]&&setTimeout(()=>{const _0xcc6354=_0x45e7fd;for(const [_0x4023dd,_0x56c546]of this[_0xcc6354(0xe8)]){const _0x69879b=this[_0xcc6354(0x116)][_0xcc6354(0xbb)](_0x4023dd);_0x69879b||_0x56c546?_0x69879b&&_0x56c546&&this[_0xcc6354(0x88)](_0x4023dd):this[_0xcc6354(0x87)](_0x4023dd);}this[_0xcc6354(0xe8)][_0xcc6354(0x112)](),this[_0xcc6354(0x79)][_0xcc6354(0x77)][_0xcc6354(0xd7)](_0xcc6354(0x94))[_0xcc6354(0xcc)](),this[_0xcc6354(0x82)]();},0xa),this[_0x45e7fd(0xe8)][_0x45e7fd(0xeb)](_0x3ca43d,_0x3ea305);}[_0x36b6e9(0xfe)](){const _0x4e047d=_0x36b6e9,_0x4640ce=this[_0x4e047d(0x79)],_0x152f24=_0x4640ce[_0x4e047d(0x77)][_0x4e047d(0xd7)](_0x4e047d(0xc0)),_0x58373b=_0x4640ce[_0x4e047d(0x77)][_0x4e047d(0xd7)](_0x4e047d(0x74)),_0x5eafbc=_0x4640ce[_0x4e047d(0x77)][_0x4e047d(0xd7)](_0x4e047d(0x94)),_0x4a3744=_0x4640ce[_0x4e047d(0x77)][_0x4e047d(0xd7)](_0x4e047d(0x109));this[_0x4e047d(0x8c)](),_0x5eafbc[_0x4e047d(0x115)](()=>{const _0x2f527b=_0x4e047d,_0x5ade1e=[];for(const [_0x558b3b,_0x2ea592]of Array[_0x2f527b(0x11a)](this[_0x2f527b(0x116)])){const _0x2524b4=_0x558b3b[_0x2f527b(0x101)](),_0x562375=[];for(const _0x1861f6 of _0x2524b4){if(!_0x1861f6[_0x2f527b(0xe0)])continue;if(_0x1861f6[_0x2f527b(0x98)]){_0x562375[_0x2f527b(0xca)](..._0x1861f6[_0x2f527b(0xc2)]());continue;}const _0x37623b=_0x1861f6[_0x2f527b(0xf3)]();if(_0x562375[_0x2f527b(0xbd)]>0x0){const _0x2b8e3b=_0x562375[0x0][_0x2f527b(0xe1)](_0x37623b);if(_0x2b8e3b){_0x562375[0x0]=_0x2b8e3b;continue;}}_0x562375[_0x2f527b(0xca)](_0x37623b);}_0x5ade1e[_0x2f527b(0xca)]([_0x2ea592[_0x2f527b(0xd3)],_0x562375]);}return _0x5ade1e;}),this[_0x4e047d(0xec)](_0x152f24,_0x4e047d(0x10b),(_0x4f4194,_0x129448)=>{const _0x14577f=_0x4e047d;this[_0x14577f(0xec)](_0x129448,_0x14577f(0xe4),(_0x591dc9,_0x702e41,_0x52dc11,_0x1e626d)=>{const _0x30a5c5=_0x14577f;_0x129448[_0x30a5c5(0xe0)]&&(null==_0x52dc11?(this[_0x30a5c5(0xa8)](_0x1e626d[_0x30a5c5(0xa4)]),this[_0x30a5c5(0x9c)](_0x129448,!0x1)):(this[_0x30a5c5(0xa8)](_0x52dc11[_0x30a5c5(0xa4)]),null==_0x1e626d&&this[_0x30a5c5(0x9c)](_0x129448,!0x0)));}),null!==_0x129448[_0x14577f(0xbe)]?this[_0x14577f(0xa8)](_0x129448[_0x14577f(0xa4)]):this[_0x14577f(0x9c)](_0x129448,!0x1);}),this[_0x4e047d(0xec)](_0x152f24,_0x4e047d(0x7c),(_0x1180e8,_0x331f0c,_0x4e94aa)=>{const _0x15d129=_0x4e047d;this[_0x15d129(0xc7)](_0x331f0c,_0x15d129(0xe4)),this[_0x15d129(0xe8)][_0x15d129(0x7f)](_0x331f0c),this[_0x15d129(0x116)][_0x15d129(0xbb)](_0x331f0c)&&this[_0x15d129(0x88)](_0x331f0c),_0x4e94aa&&this[_0x15d129(0xa8)](_0x4e94aa[_0x15d129(0xa4)]);}),this[_0x4e047d(0xec)](_0x152f24,_0x4e047d(0x9d),(_0x278382,_0x248bab)=>{const _0x33068c=_0x4e047d;this[_0x33068c(0xa8)](_0x248bab);}),this[_0x4e047d(0xec)](_0x58373b,_0x4e047d(0x8f),()=>{const _0xa2e5a5=_0x4e047d;this[_0xa2e5a5(0x82)]();}),this[_0x4e047d(0xec)](_0x4a3744,_0x4e047d(0x11c),(_0x4cae5b,{threadId:_0x16e643,isFromAdapter:_0x36e62b})=>{const _0x421862=_0x4e047d;if(_0x36e62b||!_0x152f24[_0x421862(0x83)](_0x16e643))return;const _0x411743=_0x152f24[_0x421862(0xb5)](_0x16e643);this[_0x421862(0x116)][_0x421862(0xd7)](_0x411743)[_0x421862(0xd3)][_0x421862(0xaa)][_0x421862(0x10f)](-0x1);},{'priority':_0x4e047d(0x90)}),this[_0x4e047d(0xb2)]=this[_0x4e047d(0x79)][_0x4e047d(0x89)][_0x4e047d(0xd7)](_0x4e047d(0xb2));const _0xdb4c66=this[_0x4e047d(0x79)];this[_0x4e047d(0x118)]=setInterval(()=>{const _0x526ce0=_0x4e047d;let _0x502274;for(const _0x1ed6d1 in _0xdb4c66){const _0x59b5a6=_0x1ed6d1,_0x2af9df=_0xdb4c66[_0x59b5a6];if(_0x526ce0(0x8a)==_0x2af9df||_0x526ce0(0xa2)==_0x2af9df||_0x526ce0(0x10a)==_0x2af9df||_0x526ce0(0x103)==_0x2af9df||_0x526ce0(0xdb)==_0x2af9df||_0x526ce0(0xe9)==_0x2af9df||_0x526ce0(0xa6)==_0x2af9df||_0x526ce0(0x8e)==_0x2af9df){delete _0xdb4c66[_0x59b5a6],_0x502274=_0x2af9df,clearInterval(this[_0x526ce0(0x118)]),this[_0x526ce0(0x118)]=void 0x0;break;}}_0x526ce0(0xa2)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0xe3)),_0x526ce0(0x10a)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0x100)),_0x526ce0(0x103)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0x84)),_0x526ce0(0xdb)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0xc5),_0x526ce0(0xef)),_0x526ce0(0xe9)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0xe7)),_0x526ce0(0xa6)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0x9a)),_0x526ce0(0x8e)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0xd0));},0x3e8);}[_0x36b6e9(0xd6)](_0x3dd98){const _0x300a37=_0x36b6e9,_0x3c4112=this[_0x300a37(0x116)][_0x300a37(0xd7)](_0x3dd98);if(!_0x3c4112)return null;return this[_0x300a37(0x79)][_0x300a37(0x77)][_0x300a37(0xd7)](_0x300a37(0x74))[_0x300a37(0xf7)](_0x3c4112[_0x300a37(0xd3)])||null;}[_0x36b6e9(0xb4)](_0x5c1ddf){const _0xb6b46c=_0x36b6e9,_0x4d3ef0=this[_0xb6b46c(0xde)][_0xb6b46c(0xd7)](_0x5c1ddf[_0xb6b46c(0xc6)]);return _0x4d3ef0?_0x4d3ef0[_0xb6b46c(0x10d)]:null;}[_0x36b6e9(0x82)](){const _0x4a97f3=_0x36b6e9,_0x1882e4=this[_0x4a97f3(0x79)][_0x4a97f3(0x77)][_0x4a97f3(0xd7)](_0x4a97f3(0x74)),_0x6f766b=this[_0x4a97f3(0x79)][_0x4a97f3(0x77)][_0x4a97f3(0xd7)](_0x4a97f3(0xc0)),_0x212c7e=Array[_0x4a97f3(0x11a)](_0x1882e4[_0x4a97f3(0x8b)],_0xe144a4=>_0xe144a4[_0x4a97f3(0xc6)])[_0x4a97f3(0xd2)](_0x3970db=>this[_0x4a97f3(0xde)][_0x4a97f3(0xbb)](_0x3970db)),_0x51357a=[];for(const _0x49ab8e of _0x212c7e){const _0x562749=this[_0x4a97f3(0xde)][_0x4a97f3(0xd7)](_0x49ab8e)[_0x4a97f3(0x10d)][_0x4a97f3(0x101)]();_0x51357a[_0x4a97f3(0xca)](..._0x562749[_0x4a97f3(0x11b)]((_0x41c5b4,_0x13625f)=>[..._0x41c5b4,..._0x13625f[_0x4a97f3(0x11f)]()],[]));}_0x6f766b[_0x4a97f3(0xcf)]=_0x51357a;}[_0x36b6e9(0x8c)](){const _0x562081=_0x36b6e9,_0x475e24=this[_0x562081(0x79)],_0x5b9264=_0x475e24[_0x562081(0xff)],_0x391c04=_0x4847a0(_0x5b9264,_0x562081(0x95)),_0x149488=new _0x1ce6aa([{'type':_0x562081(0x75),'model':new _0x342d1b({'withText':!0x0,'isToggleable':!0x0,'label':_0x391c04,'commandName':_0x562081(0xd5),'role':_0x562081(0x104)})},{'type':_0x562081(0x102)},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0x93)),'commandName':_0x562081(0xaf),'role':_0x562081(0x9b)})},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0xf8)),'commandName':_0x562081(0xf4),'role':_0x562081(0x9b)})},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0xa3)),'commandName':_0x562081(0x106),'role':_0x562081(0x9b)})},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0xa0)),'commandName':_0x562081(0x97),'role':_0x562081(0x9b)})}]);_0x475e24[_0x562081(0x77)][_0x562081(0xbb)](_0x562081(0x7d))&&_0x149488[_0x562081(0xf0)]([{'type':_0x562081(0x102)},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0xdc)),'commandName':_0x562081(0xa7),'role':_0x562081(0x9b)})}]);for(const _0x26f345 of _0x149488)if(ke(_0x26f345)){const _0x53f3d2=_0x475e24[_0x562081(0xfa)][_0x562081(0xd7)](_0x26f345[_0x562081(0x10d)][_0x562081(0x7b)]);_0x26f345[_0x562081(0x10d)][_0x562081(0xb1)](_0x562081(0xbf),_0x562081(0x70))['to'](_0x53f3d2,_0x562081(0x81),_0x562081(0x70));}_0x475e24['ui'][_0x562081(0xbc)][_0x562081(0x9e)](_0x562081(0xd5),_0x37b79f=>this[_0x562081(0x117)](_0x37b79f,_0x149488,_0x391c04)),_0x475e24['ui'][_0x562081(0xbc)][_0x562081(0x9e)](_0x562081(0x10c),_0x5ef304=>this[_0x562081(0xda)](_0x5ef304,_0x149488,_0x391c04));}[_0x36b6e9(0x117)](_0x5f41a5,_0x231fd3,_0x4f3f81){const _0x37007a=_0x36b6e9,_0x2b4cfe=_0x5479cd(_0x5f41a5,_0x3cf7c8),_0x351b59=this[_0x37007a(0x79)][_0x37007a(0xfa)][_0x37007a(0xd7)](_0x37007a(0xd5));_0x2b4cfe[_0x37007a(0xfb)][_0x37007a(0xeb)]({'tooltip':_0x4f3f81,'label':_0x4f3f81,'icon':_0x596af8}),_0x2b4cfe[_0x37007a(0xfb)][_0x37007a(0xb1)](_0x37007a(0xbf))['to'](_0x351b59,_0x37007a(0x81)),_0x2b4cfe[_0x37007a(0xfb)]['on'](_0x37007a(0x11d),()=>{const _0x957783=_0x37007a;_0x351b59[_0x957783(0x11d)](),this[_0x957783(0x79)][_0x957783(0xe6)][_0x957783(0xd3)][_0x957783(0x10f)]();}),_0x1d3a9e(_0x2b4cfe,_0x231fd3,{'role':_0x37007a(0xe2)});const _0x2412bc=[];for(const _0x14bb2c of _0x231fd3)ke(_0x14bb2c)&&_0x2412bc[_0x37007a(0xca)](this[_0x37007a(0x79)][_0x37007a(0xfa)][_0x37007a(0xd7)](_0x14bb2c[_0x37007a(0x10d)][_0x37007a(0x7b)]));const _0x25a474=_0x2b4cfe[_0x37007a(0xfb)];return _0x25a474[_0x37007a(0xf5)][_0x37007a(0x110)](_0x37007a(0x70)),_0x25a474[_0x37007a(0xed)][_0x37007a(0x110)](_0x37007a(0x70)),_0x25a474[_0x37007a(0xf5)][_0x37007a(0xb1)](_0x37007a(0x70))['to'](_0x351b59,_0x37007a(0x70)),_0x25a474[_0x37007a(0xed)][_0x37007a(0xb1)](_0x37007a(0x70))[_0x37007a(0xc8)](_0x2412bc,_0x37007a(0x70),(..._0x2e7978)=>_0x2e7978[_0x37007a(0x7e)](_0xbc88de=>_0xbc88de)),_0x2b4cfe['on'](_0x37007a(0x11d),_0x488c8a=>{const _0x5c4712=_0x37007a;this[_0x5c4712(0x79)][_0x5c4712(0x11d)](_0x488c8a[_0x5c4712(0xb0)][_0x5c4712(0x7b)]),this[_0x5c4712(0x79)][_0x5c4712(0xe6)][_0x5c4712(0xd3)][_0x5c4712(0x10f)]();}),_0x2b4cfe;}[_0x36b6e9(0xda)](_0xd6df55,_0x5af465,_0x53c7a3){const _0x38e7e9=_0x36b6e9,_0x19bf33=new _0x8c76a6(_0xd6df55),_0x59eda9=this[_0x38e7e9(0x79)][_0x38e7e9(0xfa)][_0x38e7e9(0xd7)](_0x38e7e9(0xd5));_0x19bf33[_0x38e7e9(0xfb)][_0x38e7e9(0xeb)]({'label':_0x53c7a3,'icon':_0x596af8});const _0x113cfa=new _0x512eb8(_0xd6df55);for(const _0x644846 of _0x5af465){if(_0x38e7e9(0x102)==_0x644846[_0x38e7e9(0xe5)]){_0x113cfa[_0x38e7e9(0xb7)][_0x38e7e9(0x9e)](new _0x399663(_0xd6df55));continue;}const _0x193d56=new _0x256eeb(_0xd6df55,_0x19bf33),_0xee1bd6=new _0x5480cc(_0xd6df55),_0xe117a0=_0x644846[_0x38e7e9(0x10d)];_0xee1bd6[_0x38e7e9(0xb1)](...Object[_0x38e7e9(0x119)](_0xe117a0))['to'](_0xe117a0),_0xee1bd6[_0x38e7e9(0xae)](_0x38e7e9(0x11d))['to'](_0x19bf33),_0xee1bd6['on'](_0x38e7e9(0x11d),()=>{const _0x5f41d0=_0x38e7e9;this[_0x5f41d0(0x79)][_0x5f41d0(0x11d)](_0xe117a0[_0x5f41d0(0x7b)]),this[_0x5f41d0(0x79)][_0x5f41d0(0xe6)][_0x5f41d0(0xd3)][_0x5f41d0(0x10f)]();}),_0x193d56[_0x38e7e9(0x78)][_0x38e7e9(0x9e)](_0xee1bd6),_0x113cfa[_0x38e7e9(0xb7)][_0x38e7e9(0x9e)](_0x193d56);}return _0x19bf33[_0x38e7e9(0xb1)](_0x38e7e9(0x70))['to'](_0x59eda9,_0x38e7e9(0x70)),_0x19bf33[_0x38e7e9(0x108)][_0x38e7e9(0x78)][_0x38e7e9(0x9e)](_0x113cfa),_0x19bf33;}[_0x36b6e9(0x87)](_0x5e9486){const _0x3cf743=_0x36b6e9,_0x5f4476=this[_0x3cf743(0x79)],_0x550f33=_0x5f4476[_0x3cf743(0x89)],_0x22db89=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0x74)),_0x19399c=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0x109)),_0x3c9dd7=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0x94)),_0x234e10=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x477f75)['me'],_0x3424a6=_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xd5))[_0x3cf743(0xf9)],_0x319854=_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xd5))[_0x3cf743(0xf6)],{CommentsListView:_0x20f641,CommentThreadInputView:_0x38d7d5}=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0x114));let _0x48b07e,_0x35fbb2,_0x5bc5e4;this[_0x3cf743(0xa5)][_0x3cf743(0xbb)](_0x5e9486['id'])?(_0x35fbb2=this[_0x3cf743(0xa5)][_0x3cf743(0xd7)](_0x5e9486['id']),_0x48b07e=_0x35fbb2[_0x3cf743(0x99)]):(_0x48b07e=new _0x3424a6(_0x5f4476[_0x3cf743(0xff)],_0x5e9486,_0x234e10,{'disableComments':this[_0x3cf743(0xc4)],'editorConfig':{..._0x550f33[_0x3cf743(0xd7)](_0x3cf743(0x73)),'licenseKey':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xb2))},'maxCommentsWhenCollapsed':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xdf)),'maxThreadTotalWeight':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xce)),'maxCommentCharsWhenCollapsed':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xd8)),'formatDateTime':_0x115e6e(_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xff)),_0x5f4476[_0x3cf743(0xff)]),'CommentView':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0x85))[_0x3cf743(0xd9)],'CommentsListView':_0x20f641,'CommentThreadInputView':_0x38d7d5,'SuggestionView':_0x319854}),_0x48b07e[_0x3cf743(0x6f)][_0x3cf743(0xb6)]['on'](_0x3cf743(0x11d),()=>{const _0x53b514=_0x3cf743;_0x5f4476[_0x53b514(0xe6)][_0x53b514(0xd3)][_0x53b514(0x10f)]();}),_0x48b07e[_0x3cf743(0x6f)][_0x3cf743(0xf2)]['on'](_0x3cf743(0x11d),()=>{const _0x8cc0b3=_0x3cf743;_0x5f4476[_0x8cc0b3(0xe6)][_0x8cc0b3(0xd3)][_0x8cc0b3(0x10f)]();}),_0x35fbb2=_0x22db89[_0x3cf743(0xb3)](this[_0x3cf743(0x79)][_0x3cf743(0xff)],_0x48b07e),_0x35fbb2[_0x3cf743(0xb1)](_0x3cf743(0xcd))['to'](_0x48b07e,_0x3cf743(0xcd)),_0x35fbb2[_0x3cf743(0xb1)](_0x3cf743(0xbd))['to'](_0x48b07e),_0x35fbb2[_0x3cf743(0xb1)](_0x3cf743(0xe5))['to'](_0x48b07e,_0x3cf743(0xe5),_0x2c5974=>_0x3cf743(0xb8)+_0x2c5974),_0x48b07e['on'](_0x3cf743(0x72),()=>{const _0x16b720=_0x3cf743;_0x5bc5e4[_0x16b720(0xc3)](_0x16b720(0x72));}),this[_0x3cf743(0xa5)][_0x3cf743(0xeb)](_0x5e9486['id'],_0x35fbb2));const _0x5bc69b=_0x19399c[_0x3cf743(0x80)](_0x5e9486[_0x3cf743(0x96)],_0x48b07e),_0xbf7170=new _0x9709e9(_0x5f4476,_0x5e9486,_0x48b07e,_0x5bc69b),_0x867556=_0x5e9486[_0x3cf743(0x101)]()[_0x3cf743(0xd2)](_0x19828a=>_0x19828a[_0x3cf743(0xe0)]);_0x48b07e[_0x3cf743(0x10e)]=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0xc0))[_0x3cf743(0x11e)][_0x3cf743(0x76)](_0x867556),this[_0x3cf743(0x116)][_0x3cf743(0xeb)](_0x5e9486,_0xbf7170),this[_0x3cf743(0xde)][_0x3cf743(0xeb)](_0x48b07e,_0xbf7170);const _0x564a28=()=>{const _0x2724ef=_0x3cf743,_0x45ea3c=[],_0x4eab2f=_0x5e9486[_0x2724ef(0x101)]()[_0x2724ef(0xd2)](_0x427139=>_0x427139[_0x2724ef(0xe0)]);for(const _0x2daf11 of _0x4eab2f)_0x45ea3c[_0x2724ef(0xca)](..._0x2daf11[_0x2724ef(0x9f)]());return _0x45cdd0(_0x5f4476[_0x2724ef(0xe6)],_0x45ea3c);};_0x5bc5e4=_0x22db89[_0x3cf743(0x120)]({'view':_0x35fbb2,'target':_0x564a28,'type':()=>_0x3cf743(0xb8)+_0xbf7170[_0x3cf743(0xd3)][_0x3cf743(0xe5)],'isVisible':!!_0x564a28()}),_0x19399c[_0x3cf743(0x91)](_0x48b07e,_0x5bc5e4),_0x22db89[_0x3cf743(0x9e)](_0x5bc5e4),_0x3c9dd7[_0x3cf743(0xdd)](_0x5bc5e4);}[_0x36b6e9(0x88)](_0x46b536){const _0x712d61=_0x36b6e9,_0x27d308=this[_0x712d61(0x79)][_0x712d61(0x77)][_0x712d61(0xd7)](_0x712d61(0x109)),_0x2fbac0=this[_0x712d61(0x79)][_0x712d61(0x77)][_0x712d61(0xd7)](_0x712d61(0x74)),_0x4caeaa=this[_0x712d61(0x116)][_0x712d61(0xd7)](_0x46b536),_0x56d7a4=_0x4caeaa[_0x712d61(0xd3)],_0x3536e1=_0x2fbac0[_0x712d61(0xf7)](_0x56d7a4);_0x27d308[_0x712d61(0xfd)](_0x56d7a4),_0x3536e1&&_0x2fbac0[_0x712d61(0xba)](_0x3536e1),this[_0x712d61(0x116)][_0x712d61(0x7f)](_0x46b536),this[_0x712d61(0xde)][_0x712d61(0x7f)](_0x56d7a4),_0x4caeaa[_0x712d61(0x71)]();}[_0x36b6e9(0xa8)](_0x5d4687){const _0x1062ae=_0x36b6e9;if(!_0x5d4687[_0x1062ae(0xe0)]||!this[_0x1062ae(0x116)][_0x1062ae(0xbb)](_0x5d4687))return;const _0x310307=this[_0x1062ae(0x79)][_0x1062ae(0x77)][_0x1062ae(0xd7)](_0x1062ae(0xc0)),_0x20a74f=this[_0x1062ae(0x116)][_0x1062ae(0xd7)](_0x5d4687),_0x25f4a2=_0x5d4687[_0x1062ae(0x101)]();_0x20a74f[_0x1062ae(0xd3)][_0x1062ae(0x10e)]=_0x310307[_0x1062ae(0x11e)][_0x1062ae(0x76)](_0x25f4a2);}[_0x36b6e9(0x71)](){const _0x504ad3=_0x36b6e9;for(const _0x4dd8e4 of this[_0x504ad3(0x116)][_0x504ad3(0x119)]())this[_0x504ad3(0x88)](_0x4dd8e4);for(const _0xd80655 of this[_0x504ad3(0xa5)][_0x504ad3(0xee)]())_0xd80655[_0x504ad3(0x99)][_0x504ad3(0x71)]();super[_0x504ad3(0x71)](),this[_0x504ad3(0x118)]&&clearInterval(this[_0x504ad3(0x118)]);}}function _0x59f1(){const _0x179084=['TrackChangesUI','trackChangesLicenseKeyInvalid','Discard\x20all\x20suggestions','head','_annotationViews','trackChangesLicenseKeyTrialLimit','previewFinalContent','_updateController','isOfficialPlugin','commentsListView','_showLicenseError','button','618jscAFG','delegate','acceptAllSuggestions','source','bind','licenseKey','createAnnotationView','getSuggestionForAnnotation','getSuggestion','acceptButton','items','suggestion-','define','remove','has','componentFactory','length','previous','isOn','TrackChangesEditing','10514448GNgyqz','getRanges','fire','_disableComments','featureNotAllowed','innerView','stopListening','toMany','7693833teCAdX','push','408qALGGk','refreshSelectedViews','isDirty','comments.maxThreadTotalWeight','activeMarkers','usageLimit','6455952sOjQOk','filter','view','pluginName','trackChanges','getAnnotationForSuggestion','get','comments.maxCommentCharsWhenCollapsed','CommentView','_createMenuBarMenu','trackChangesLicenseKeyNotAllowed','Preview\x20final\x20content','registerAnnotation','_viewToController','comments.maxCommentsWhenCollapsed','isInContent','getJoined','menu','invalid','change:previous','type','editing','evaluationLimit','_handleControllerBuffer','trackChangesLicenseKeyEvaluationLimit','2782510qggVRP','set','listenTo','arrowView','values','TrackChanges','addMany','trackChanges.SuggestionThreadView','discardButton','getFirstRange','acceptSelectedSuggestions','actionView','SuggestionView','getByInnerView','Accept\x20all\x20selected\x20suggestions','SuggestionThreadView','commands','buttonView','trackChanges.SuggestionView','_unbindEditors','init','locale','expired','getAllAdjacentSuggestions','separator','trackChangesLicenseKeyDomainLimit','menuitemcheckbox','52470AJKNQJ','discardAllSuggestions','trackChanges.disableComments','panelView','CommentsRepository','trackChangesLicenseKeyExpired','suggestionLoaded','menuBar:trackChanges','model','descriptionParts','focus','unbind','10172qwplqX','clear','182122FYdgiF','CommentsUI','addSourceCollector','_suggestionToController','_createToolbarButton','_licenseKeyCheckInterval','keys','from','reduce','addComment','execute','descriptionFactory','getMarkerNames','createAnnotation','suggestionView','isEnabled','destroy','escape','comments.editorConfig','Annotations','switchbutton','getDescriptions','plugins','children','editor','10fviLKX','commandName','suggestionUnloaded','TrackChangesPreview','some','delete','createCommentThreadController','value','_refreshActiveMarkers','hasSuggestion','domainLimit','comments','isPremiumPlugin','_initializeController','_destroyController','config','trackChangesLicenseKeyValid','activeAnnotations','_addUIComponentsToFactory','requires','trackChangesLicenseKeyUsageLimit','change:activeAnnotations','lowest','_bindAnnotationToEditors','size','Accept\x20all\x20suggestions','EditorAnnotations','Track\x20changes','commentThread','discardSelectedSuggestions','isMultiRange','mainView','trialLimit','menuitem','_handleSuggestionControllerDelayed','suggestionChanged','add','getMarkers','Discard\x20all\x20selected\x20suggestions'];_0x59f1=function(){return _0x179084;};return _0x59f1();}function ke(_0x44ad60){const _0xa39e79=_0x36b6e9;return _0xa39e79(0x10d)in _0x44ad60;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x3e2d04=_0x5bd2;(function(_0x84a0ea,_0x5853b5){const _0x26de1c=_0x5bd2,_0x3cea60=_0x84a0ea();while(!![]){try{const _0x51d9e7=parseInt(_0x26de1c(0xc4))/0x1+parseInt(_0x26de1c(0xac))/0x2+parseInt(_0x26de1c(0xae))/0x3*(-parseInt(_0x26de1c(0xb1))/0x4)+parseInt(_0x26de1c(0xb0))/0x5+-parseInt(_0x26de1c(0x9e))/0x6*(parseInt(_0x26de1c(0xb4))/0x7)+-parseInt(_0x26de1c(0xb9))/0x8+parseInt(_0x26de1c(0xad))/0x9;if(_0x51d9e7===_0x5853b5)break;else _0x3cea60['push'](_0x3cea60['shift']());}catch(_0x2b3972){_0x3cea60['push'](_0x3cea60['shift']());}}}(_0x674f,0x97913));function _0x674f(){const _0xb12c2b=['remove','get','_discardCommand','_pendingAction','canAccept','discardSuggestion','add','acceptSuggestion','locale','plugins','stopListening','unbind','getRanges','986850NuQCLN','21448935uYAsoi','3036192uEAzBy','listenTo','1507235lhdPdu','4TZOwzu','canEditAt','PendingActions','85463iwreaD','commentThreadController','view','model','commands','7523576kSOYnK','_editor','PENDING_ACTION_SUGGESTION','destroy','isEnabled','bind','execute','_setPendingAction','_acceptCommand','_removePendingAction','isDirty','408590pgfAqt','change:isDirty','canDiscard','498WDYwKH'];_0x674f=function(){return _0xb12c2b;};return _0x674f();}import{ObservableMixin as _0x76d0f3}from'ckeditor5/src/utils.js';import{getTranslation as _0x944e56}from'../utils/common-translations.js';function _0x5bd2(_0x19e251,_0xf50819){const _0x674fe1=_0x674f();return _0x5bd2=function(_0x5bd22c,_0x3509fa){_0x5bd22c=_0x5bd22c-0x9e;let _0x1c13b6=_0x674fe1[_0x5bd22c];return _0x1c13b6;},_0x5bd2(_0x19e251,_0xf50819);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x76d0f3(){[_0x3e2d04(0xb7)];[_0x3e2d04(0xb6)];[_0x3e2d04(0xb5)];[_0x3e2d04(0xba)];[_0x3e2d04(0xc1)];[_0x3e2d04(0xa1)];[_0x3e2d04(0xa2)];constructor(_0x18082d,_0x28d75f,_0x20c64f,_0x1226f2){const _0x2be73c=_0x3e2d04;super(),this[_0x2be73c(0xb7)]=_0x28d75f,this[_0x2be73c(0xb6)]=_0x20c64f,this[_0x2be73c(0xb5)]=_0x1226f2,this[_0x2be73c(0xba)]=_0x18082d,this[_0x2be73c(0xc1)]=_0x18082d[_0x2be73c(0xb8)][_0x2be73c(0xa0)](_0x2be73c(0xa6)),this[_0x2be73c(0xa1)]=_0x18082d[_0x2be73c(0xb8)][_0x2be73c(0xa0)](_0x2be73c(0xa4)),this[_0x2be73c(0xb6)][_0x2be73c(0xbe)](_0x2be73c(0xbd))['to'](this[_0x2be73c(0xc1)],this[_0x2be73c(0xa1)],(_0x427401,_0x5d7105)=>_0x427401||_0x5d7105),this[_0x2be73c(0xb6)][_0x2be73c(0xbe)](_0x2be73c(0xa3))['to'](this[_0x2be73c(0xc1)],_0x2be73c(0xbd),_0x34adb2=>_0x34adb2&&this[_0x2be73c(0xba)][_0x2be73c(0xb7)][_0x2be73c(0xb2)](_0x28d75f[_0x2be73c(0xab)]())),this[_0x2be73c(0xb6)][_0x2be73c(0xbe)](_0x2be73c(0xc6))['to'](this[_0x2be73c(0xa1)],_0x2be73c(0xbd),_0x54ae64=>_0x54ae64&&this[_0x2be73c(0xba)][_0x2be73c(0xb7)][_0x2be73c(0xb2)](_0x28d75f[_0x2be73c(0xab)]())),this[_0x2be73c(0xa2)]=null,_0x20c64f[_0x2be73c(0xc3)]&&this[_0x2be73c(0xc0)](),this[_0x2be73c(0xaf)](_0x20c64f,_0x2be73c(0xa6),()=>this[_0x2be73c(0xa6)]()),this[_0x2be73c(0xaf)](_0x20c64f,_0x2be73c(0xa4),()=>this[_0x2be73c(0xa4)]()),this[_0x2be73c(0xaf)](_0x20c64f,_0x2be73c(0xc5),()=>{const _0x4291cc=_0x2be73c;_0x20c64f[_0x4291cc(0xc3)]?this[_0x4291cc(0xc0)]():this[_0x4291cc(0xc2)]();});}[_0x3e2d04(0xa6)](){const _0x1e5696=_0x3e2d04;this[_0x1e5696(0xc1)][_0x1e5696(0xbf)](this[_0x1e5696(0xb7)]['id']);}[_0x3e2d04(0xa4)](){const _0x511596=_0x3e2d04;this[_0x511596(0xa1)][_0x511596(0xbf)](this[_0x511596(0xb7)]['id']);}[_0x3e2d04(0xbc)](){const _0x28ebdc=_0x3e2d04;this[_0x28ebdc(0xb6)][_0x28ebdc(0xaa)](_0x28ebdc(0xbd)),this[_0x28ebdc(0xb6)][_0x28ebdc(0xaa)](_0x28ebdc(0xa3)),this[_0x28ebdc(0xb6)][_0x28ebdc(0xaa)](_0x28ebdc(0xc6)),this[_0x28ebdc(0xa9)](),this[_0x28ebdc(0xb5)][_0x28ebdc(0xbc)](),this[_0x28ebdc(0xa2)]&&this[_0x28ebdc(0xc2)]();}[_0x3e2d04(0xc0)](){const _0x4513b8=_0x3e2d04,_0x545668=_0x944e56(this[_0x4513b8(0xba)][_0x4513b8(0xa7)],_0x4513b8(0xbb));this[_0x4513b8(0xa2)]=this[_0x4513b8(0xba)][_0x4513b8(0xa8)][_0x4513b8(0xa0)](_0x4513b8(0xb3))[_0x4513b8(0xa5)](_0x545668);}[_0x3e2d04(0xc2)](){const _0x288774=_0x3e2d04;null!==this[_0x288774(0xa2)]&&this[_0x288774(0xba)][_0x288774(0xa8)][_0x288774(0xa0)](_0x288774(0xb3))[_0x288774(0x9f)](this[_0x288774(0xa2)]),this[_0x288774(0xa2)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cc2c8=_0x272e;(function(_0x2bad3a,_0x3c3fe1){const _0x1360b3=_0x272e,_0xd4efc1=_0x2bad3a();while(!![]){try{const _0x244f12=-parseInt(_0x1360b3(0x1f3))/0x1+-parseInt(_0x1360b3(0x1ed))/0x2*(-parseInt(_0x1360b3(0x215))/0x3)+-parseInt(_0x1360b3(0x205))/0x4*(-parseInt(_0x1360b3(0x20d))/0x5)+-parseInt(_0x1360b3(0x1d8))/0x6*(parseInt(_0x1360b3(0x1f4))/0x7)+parseInt(_0x1360b3(0x1f8))/0x8*(parseInt(_0x1360b3(0x213))/0x9)+parseInt(_0x1360b3(0x1d4))/0xa*(-parseInt(_0x1360b3(0x1ec))/0xb)+-parseInt(_0x1360b3(0x218))/0xc*(-parseInt(_0x1360b3(0x20b))/0xd);if(_0x244f12===_0x3c3fe1)break;else _0xd4efc1['push'](_0xd4efc1['shift']());}catch(_0x484bd7){_0xd4efc1['push'](_0xd4efc1['shift']());}}}(_0x3994,0x7e783));import{FocusCycler as _0x3ba2ca,View as _0x3469ec,ViewCollection as _0x19f334}from'ckeditor5/src/ui.js';function _0x272e(_0x3179fd,_0x1dca9b){const _0x399484=_0x3994();return _0x272e=function(_0x272eaa,_0x43ea54){_0x272eaa=_0x272eaa-0x1d3;let _0x2b5b23=_0x399484[_0x272eaa];return _0x2b5b23;},_0x272e(_0x3179fd,_0x1dca9b);}import{FocusTracker as _0x5d0f52,KeystrokeHandler as _0xa8065d}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x1e5de8,setupThreadKeyboardNavigation as _0x41e6fe}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x8f7968}from'../../utils/common-translations.js';function _0x3994(){const _0xb25bfb=['join','236590iTfNfc','element','name','canDiscard','1218534GHiIcX','isActive','SUGGESTION_THREAD_ARIA_LABEL','shift+tab','focusCycler','length','disableComments','commentInputView','content','editor','locale','target','hasDirtyComment','bind','render','_createCommentViews','author','cancel','_model','ariaDescriptionView','121OSRYrj','38nCiabo','isDirty','textContent','parseFromString','setData','isReadOnly','819093BmkUoq','35NaRQIZ','value','canAccept','_localUser','7528WHrppr','commentsListView','showInput','focusables','isEnabled','ariaLabel','keystrokes','submit','delegate','authoredAt','addComment','SUGGESTION_THREAD_DESCRIPTION','CommentView','36xQyiQm','descriptionParts','destroy','tab','fire','_createCommentThreadInputView','25134291BYdaVJ','commentThreadInputView','287465xLXXQM','editorConfig','formatDateTime','map','set','commentThread','1134yKcSHx','focus','6852qedGBZ','disabledSubmit','body','12NDpddF','updateComment','text/html','removeComment','_config','focusTracker','assign'];_0x3994=function(){return _0xb25bfb;};return _0x3994();}import{renderDescription as _0x4273ab}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x3469ec{[_0x4cc2c8(0x1f9)];[_0x4cc2c8(0x20c)];[_0x4cc2c8(0x1eb)];[_0x4cc2c8(0x1fb)];[_0x4cc2c8(0x21d)];[_0x4cc2c8(0x1fe)];[_0x4cc2c8(0x1dc)];[_0x4cc2c8(0x1ea)];[_0x4cc2c8(0x1f7)];[_0x4cc2c8(0x21c)];constructor(_0x2371e8,_0x3442da,_0x1e511e,_0x5618d7){const _0x323ac2=_0x4cc2c8;super(_0x2371e8),this[_0x323ac2(0x1f9)]=null,this[_0x323ac2(0x20c)]=null,this[_0x323ac2(0x1eb)]=new _0x1e5de8(_0x2371e8,_0x8f7968(_0x2371e8,_0x323ac2(0x203))),this[_0x323ac2(0x211)](_0x323ac2(0x1d9),!0x1),this[_0x323ac2(0x211)](_0x323ac2(0x201),_0x3442da[_0x323ac2(0x201)]),this[_0x323ac2(0x1e5)](_0x323ac2(0x201))['to'](_0x3442da),this[_0x323ac2(0x211)](_0x323ac2(0x206),[]),this[_0x323ac2(0x211)](_0x323ac2(0x1ee),!0x1),this[_0x323ac2(0x211)](_0x323ac2(0x1fc),!0x1),this[_0x323ac2(0x211)](_0x323ac2(0x1f6),!0x1),this[_0x323ac2(0x211)](_0x323ac2(0x1d7),!0x1),this[_0x323ac2(0x1e5)](_0x323ac2(0x1fd))['to'](this,_0x323ac2(0x1dd),_0x3442da,_0x323ac2(0x201),this,_0x323ac2(0x206),(_0x29b093,_0x491ddc,_0x4cc796)=>{const _0x5f0865=_0x323ac2,_0x2878d0=_0x4cc796[_0x5f0865(0x210)](_0x269316=>_0x4273ab(_0x269316[_0x5f0865(0x1e0)]))[_0x5f0865(0x1d3)]('.\x20')+'.';return _0x8f7968(this[_0x5f0865(0x1e2)],_0x5f0865(0x1da),[_0x29b093-0x1,_0x3442da[_0x5f0865(0x1e8)][_0x5f0865(0x1d6)],_0x491ddc?_0x5618d7[_0x5f0865(0x20f)](_0x491ddc):'',new DOMParser()[_0x5f0865(0x1f0)](_0x2878d0,_0x5f0865(0x21a))[_0x5f0865(0x217)][_0x5f0865(0x1ef)]]);}),this[_0x323ac2(0x1fb)]=new _0x19f334(),this[_0x323ac2(0x21d)]=new _0x5d0f52(),this[_0x323ac2(0x1fe)]=new _0xa8065d(),this[_0x323ac2(0x1dc)]=new _0x3ba2ca({'focusables':this[_0x323ac2(0x1fb)],'focusTracker':this[_0x323ac2(0x21d)],'keystrokeHandler':this[_0x323ac2(0x1fe)],'keystrokeHandlerOptions':{'filter':_0x26982e=>_0x26982e[_0x323ac2(0x1e3)]!==this[_0x323ac2(0x1d5)]},'actions':{'focusPrevious':_0x323ac2(0x1db),'focusNext':_0x323ac2(0x208)}}),this[_0x323ac2(0x1ea)]=_0x3442da,this[_0x323ac2(0x1f7)]=_0x1e511e,this[_0x323ac2(0x21c)]=_0x5618d7,_0x5618d7[_0x323ac2(0x1de)]?this[_0x323ac2(0x211)](_0x323ac2(0x1dd),0x1):this[_0x323ac2(0x1e7)]();}[_0x4cc2c8(0x1e6)](){const _0x14baa8=_0x4cc2c8;super[_0x14baa8(0x1e6)](),_0x41e6fe(this,this[_0x14baa8(0x1fb)]);}[_0x4cc2c8(0x214)](){const _0x6f9bfe=_0x4cc2c8;this[_0x6f9bfe(0x1d5)][_0x6f9bfe(0x214)]();}[_0x4cc2c8(0x207)](){const _0x582a16=_0x4cc2c8;this[_0x582a16(0x1f9)]&&this[_0x582a16(0x1f9)][_0x582a16(0x207)](),this[_0x582a16(0x20c)]&&this[_0x582a16(0x20c)][_0x582a16(0x207)](),super[_0x582a16(0x207)]();}[_0x4cc2c8(0x1e7)](){const _0x4d2bd2=_0x4cc2c8,{CommentsListView:_0x5976cd}=this[_0x4d2bd2(0x21c)];this[_0x4d2bd2(0x1f9)]=new _0x5976cd(this[_0x4d2bd2(0x1e2)],this[_0x4d2bd2(0x1ea)][_0x4d2bd2(0x212)],Object[_0x4d2bd2(0x21e)]({'CommentView':this[_0x4d2bd2(0x21c)][_0x4d2bd2(0x204)]},this[_0x4d2bd2(0x21c)])),this[_0x4d2bd2(0x1f9)][_0x4d2bd2(0x200)](_0x4d2bd2(0x21b))['to'](this),this[_0x4d2bd2(0x1f9)][_0x4d2bd2(0x200)](_0x4d2bd2(0x219))['to'](this),this[_0x4d2bd2(0x1f9)][_0x4d2bd2(0x1e5)](_0x4d2bd2(0x1d9))['to'](this),this[_0x4d2bd2(0x211)](_0x4d2bd2(0x1dd),this[_0x4d2bd2(0x1f9)][_0x4d2bd2(0x1dd)]+0x1),this[_0x4d2bd2(0x1e5)](_0x4d2bd2(0x1dd))['to'](this[_0x4d2bd2(0x1f9)],_0x4d2bd2(0x1dd),_0x58ca08=>_0x58ca08+0x1),this[_0x4d2bd2(0x20c)]=this[_0x4d2bd2(0x20a)](),this['on'](_0x4d2bd2(0x21b),()=>this[_0x4d2bd2(0x214)]()),this[_0x4d2bd2(0x1e5)](_0x4d2bd2(0x1ee))['to'](this[_0x4d2bd2(0x1f9)],_0x4d2bd2(0x1e4),this[_0x4d2bd2(0x20c)][_0x4d2bd2(0x1df)],_0x4d2bd2(0x1f5),(_0x3f7964,_0x5e3ea2)=>_0x3f7964||!!_0x5e3ea2);}[_0x4cc2c8(0x20a)](){const _0x27dcc2=_0x4cc2c8,{CommentThreadInputView:_0x8358af}=this[_0x27dcc2(0x21c)],_0xd3ea3b=new _0x8358af(this[_0x27dcc2(0x1e2)],this[_0x27dcc2(0x1f7)],this[_0x27dcc2(0x21c)][_0x27dcc2(0x20e)]),_0x1a972e=_0xd3ea3b[_0x27dcc2(0x1df)];return _0xd3ea3b[_0x27dcc2(0x1e5)](_0x27dcc2(0x1fa))['to'](this,_0x27dcc2(0x1d9),this[_0x27dcc2(0x1ea)][_0x27dcc2(0x212)],_0x27dcc2(0x1f2),_0x1a972e,_0x27dcc2(0x1f5),(_0x7ca709,_0x16cd7d,_0xa415fc)=>!!_0xa415fc||_0x7ca709&&!_0x16cd7d),_0x1a972e['on'](_0x27dcc2(0x1ff),(_0x1b5f58,_0x53351f)=>{const _0xdf3d00=_0x27dcc2;this[_0xdf3d00(0x209)](_0xdf3d00(0x202),_0x53351f),_0x1a972e[_0xdf3d00(0x1e1)][_0xdf3d00(0x1f1)]('');}),_0x1a972e['on'](_0x27dcc2(0x1e9),()=>this[_0x27dcc2(0x214)]()),_0x1a972e[_0x27dcc2(0x1e5)](_0x27dcc2(0x216))['to'](this[_0x27dcc2(0x1ea)][_0x27dcc2(0x212)],_0x27dcc2(0x1f2)),_0xd3ea3b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c0c69=_0xa29b;(function(_0x25a2dd,_0x3c9103){const _0x24da49=_0xa29b,_0x1bf17c=_0x25a2dd();while(!![]){try{const _0x199f11=parseInt(_0x24da49(0x16d))/0x1+parseInt(_0x24da49(0x159))/0x2+parseInt(_0x24da49(0x187))/0x3*(-parseInt(_0x24da49(0x182))/0x4)+parseInt(_0x24da49(0x181))/0x5+parseInt(_0x24da49(0x179))/0x6+parseInt(_0x24da49(0x15b))/0x7+-parseInt(_0x24da49(0x176))/0x8;if(_0x199f11===_0x3c9103)break;else _0x1bf17c['push'](_0x1bf17c['shift']());}catch(_0x2013bb){_0x1bf17c['push'](_0x1bf17c['shift']());}}}(_0x4b36,0xa1e64));import{BaseSuggestionThreadView as _0xb16055}from'./basesuggestionthreadview.js';function _0xa29b(_0x3c7833,_0x2b6527){const _0x4b363f=_0x4b36();return _0xa29b=function(_0xa29b92,_0x152d8f){_0xa29b92=_0xa29b92-0x151;let _0x1ac457=_0x4b363f[_0xa29b92];return _0x1ac457;},_0xa29b(_0x3c7833,_0x2b6527);}import{trimHtml as _0x5c8ed2}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x362b09}from'../../utils/utils.js';function _0x4b36(){const _0x5a5eb4=['bindTemplate','3761760ktkCkt','381044GKXvtb','type','editorReady','author','SuggestionView','3ssiaXt','description','<p>','ck-suggestion-wrapper','ck-rounded-corners','isEnabled','ck-suggestion-wrapper--active','descriptionParts','ariaDescriptionView','5740fmMrhK','formatDateTime','4272443AYaJUR','commentThread','set','push','setTemplate','</p>','discardSuggestion','canAccept','isActive','ck-suggestion--disabled-comments','content','bind','acceptSuggestion','canDiscard','listitem','focusables','suggestionView','editorDestroyed','960105bwkTjE','ariaLabel','color','_descriptionElement','ck-suggestion-','delegate','add','getTemplate','commentThreadInputView','20123248JsGPjC','disableComments','commentsListView','5688786QfIsDw','div','discardButton','render','_config','acceptButton','_model'];_0x4b36=function(){return _0x5a5eb4;};return _0x4b36();}export class SuggestionThreadView extends _0xb16055{[_0x1c0c69(0x16b)];[_0x1c0c69(0x170)];constructor(_0x3387fd,_0x4cb3ab,_0x32b997,_0x322477){const _0x2d54b3=_0x1c0c69;super(_0x3387fd,_0x4cb3ab,_0x32b997,_0x322477),this[_0x2d54b3(0x15d)](_0x2d54b3(0x183),''),this[_0x2d54b3(0x166)](_0x2d54b3(0x183))['to'](this,_0x2d54b3(0x157),_0x2d856a=>_0x2d856a&&_0x2d856a[0x0]?_0x2d856a[0x0][_0x2d54b3(0x183)]:''),this[_0x2d54b3(0x166)](_0x2d54b3(0x151))['to'](this,_0x2d54b3(0x157),this,_0x2d54b3(0x163),(_0x3bea32,_0x31dbaa)=>{const _0x12f6a3=_0x2d54b3;let _0x4b4377='';for(const _0x47c485 of _0x3bea32)_0x4b4377+=_0x12f6a3(0x152)+_0x362b09(_0x47c485[_0x12f6a3(0x165)],_0x47c485[_0x12f6a3(0x16f)])+_0x12f6a3(0x160);return _0x31dbaa?_0x4b4377:_0x5c8ed2(_0x4b4377,{'limit':0x8c});}),this[_0x2d54b3(0x170)]=null,this[_0x2d54b3(0x16b)]=new _0x322477[(_0x2d54b3(0x186))](_0x3387fd,_0x4cb3ab,{'formatDateTime':_0x322477[_0x2d54b3(0x15a)]}),this[_0x2d54b3(0x16b)][_0x2d54b3(0x166)](_0x2d54b3(0x151))['to'](this),this[_0x2d54b3(0x16b)][_0x2d54b3(0x172)](_0x2d54b3(0x167),_0x2d54b3(0x161))['to'](this),this[_0x2d54b3(0x16b)][_0x2d54b3(0x17e)][_0x2d54b3(0x166)](_0x2d54b3(0x155))['to'](this,_0x2d54b3(0x162)),this[_0x2d54b3(0x16b)][_0x2d54b3(0x17b)][_0x2d54b3(0x166)](_0x2d54b3(0x155))['to'](this,_0x2d54b3(0x168)),this[_0x2d54b3(0x16a)][_0x2d54b3(0x173)](this[_0x2d54b3(0x16b)]),this[_0x2d54b3(0x178)]&&this[_0x2d54b3(0x16a)][_0x2d54b3(0x173)](this[_0x2d54b3(0x178)]),this[_0x2d54b3(0x175)]&&this[_0x2d54b3(0x16a)][_0x2d54b3(0x173)](this[_0x2d54b3(0x175)]),this[_0x2d54b3(0x15f)](this[_0x2d54b3(0x174)]());}[_0x1c0c69(0x174)](){const _0x262714=_0x1c0c69,_0x586cfd=this[_0x262714(0x180)],_0x4480c4=[this[_0x262714(0x16b)]];return this[_0x262714(0x178)]&&_0x4480c4[_0x262714(0x15e)](this[_0x262714(0x178)]),this[_0x262714(0x175)]&&_0x4480c4[_0x262714(0x15e)](this[_0x262714(0x175)]),_0x4480c4[_0x262714(0x15e)](this[_0x262714(0x158)]),{'tag':_0x262714(0x17a),'attributes':{'class':['ck',_0x262714(0x154),_0x262714(0x153),_0x586cfd['if'](_0x262714(0x163),_0x262714(0x156)),_0x586cfd['to'](_0x262714(0x183),_0xf3ee51=>_0x262714(0x171)+_0xf3ee51),this[_0x262714(0x17d)][_0x262714(0x177)]&&_0x262714(0x164)],'data-suggestion-id':this[_0x262714(0x17f)]['id'],'data-thread-id':this[_0x262714(0x17f)][_0x262714(0x15c)]['id'],'data-author-id':this[_0x262714(0x17f)][_0x262714(0x185)]['id'],'tabindex':0x0,'role':_0x262714(0x169),'aria-label':_0x586cfd['to'](_0x262714(0x16e)),'aria-describedby':this[_0x262714(0x158)]['id']},'children':_0x4480c4};}[_0x1c0c69(0x17c)](){const _0x161a1a=_0x1c0c69;super[_0x161a1a(0x17c)](),this[_0x161a1a(0x178)]&&(this[_0x161a1a(0x178)][_0x161a1a(0x172)](_0x161a1a(0x184))['to'](this),this[_0x161a1a(0x178)][_0x161a1a(0x172)](_0x161a1a(0x16c))['to'](this)),this[_0x161a1a(0x175)]&&(this[_0x161a1a(0x175)][_0x161a1a(0x172)](_0x161a1a(0x184))['to'](this),this[_0x161a1a(0x175)][_0x161a1a(0x172)](_0x161a1a(0x16c))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19d9d4=_0x3516;(function(_0x3ef836,_0x1f49a6){const _0x2b7a8e=_0x3516,_0x4b7711=_0x3ef836();while(!![]){try{const _0x278ab0=-parseInt(_0x2b7a8e(0xae))/0x1*(-parseInt(_0x2b7a8e(0xcc))/0x2)+parseInt(_0x2b7a8e(0xbb))/0x3*(parseInt(_0x2b7a8e(0xde))/0x4)+-parseInt(_0x2b7a8e(0xd8))/0x5*(-parseInt(_0x2b7a8e(0xb9))/0x6)+-parseInt(_0x2b7a8e(0x9a))/0x7*(parseInt(_0x2b7a8e(0xb6))/0x8)+parseInt(_0x2b7a8e(0x9c))/0x9*(parseInt(_0x2b7a8e(0xd9))/0xa)+parseInt(_0x2b7a8e(0xb4))/0xb*(-parseInt(_0x2b7a8e(0x8b))/0xc)+parseInt(_0x2b7a8e(0xba))/0xd;if(_0x278ab0===_0x1f49a6)break;else _0x4b7711['push'](_0x4b7711['shift']());}catch(_0x2b67f1){_0x4b7711['push'](_0x4b7711['shift']());}}}(_0x35f4,0x40270));import{FocusTracker as _0x293cee,KeystrokeHandler as _0x24b5ee}from'ckeditor5/src/utils.js';function _0x3516(_0x260154,_0x19d24b){const _0x35f476=_0x35f4();return _0x3516=function(_0x3516c6,_0x2b7ecb){_0x3516c6=_0x3516c6-0x86;let _0x375813=_0x35f476[_0x3516c6];return _0x375813;},_0x3516(_0x260154,_0x19d24b);}import{View as _0x4fadc4,ViewCollection as _0x24cfb3,FocusCycler as _0x1e3a83}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x51507a,UserView as _0x45c615}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x37cc8b,IconCheck as _0x715f4}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d753e}from'../../utils/common-translations.js';export class SuggestionView extends _0x4fadc4{[_0x19d9d4(0xc2)];[_0x19d9d4(0x94)];[_0x19d9d4(0xaa)];[_0x19d9d4(0xa6)];[_0x19d9d4(0xa0)];[_0x19d9d4(0xb7)];[_0x19d9d4(0x92)];[_0x19d9d4(0x9b)];[_0x19d9d4(0xdc)];constructor(_0x507828,_0x394a75,_0x3715f9){const _0x2a764e=_0x19d9d4;super(_0x507828),this[_0x2a764e(0x9b)]=_0x394a75,this[_0x2a764e(0xdc)]=_0x3715f9,this[_0x2a764e(0xc0)](_0x2a764e(0xd1),''),this[_0x2a764e(0xd2)](_0x2a764e(0xc9))['to'](_0x394a75),this[_0x2a764e(0x94)]=this[_0x2a764e(0xd0)](_0x2d753e(_0x507828,_0x2a764e(0x89)),_0x715f4,_0x2a764e(0x91),_0x2a764e(0xc7),'sw'),this[_0x2a764e(0xaa)]=this[_0x2a764e(0xd0)](_0x2d753e(_0x507828,_0x2a764e(0xd5)),_0x37cc8b,_0x2a764e(0xa8),_0x2a764e(0x8a),'sw'),this[_0x2a764e(0xc2)]=new _0x45c615(_0x507828,_0x394a75[_0x2a764e(0xc8)],this[_0x2a764e(0xa1)]()),this[_0x2a764e(0xc2)][_0x2a764e(0xb8)]({'attributes':{'class':[_0x2a764e(0xaf),_0x2a764e(0xca)],'aria-hidden':!0x0}}),this[_0x2a764e(0xa6)]=new _0x24cfb3([this[_0x2a764e(0x94)],this[_0x2a764e(0xaa)]]),this[_0x2a764e(0xa0)]=new _0x293cee(),this[_0x2a764e(0xb7)]=new _0x24b5ee(),this[_0x2a764e(0x92)]=new _0x1e3a83({'focusables':this[_0x2a764e(0xa6)],'focusTracker':this[_0x2a764e(0xa0)],'keystrokeHandler':this[_0x2a764e(0xb7)],'actions':{'focusPrevious':_0x2a764e(0xcb),'focusNext':_0x2a764e(0x9e)},'keystrokeHandlerOptions':{'filter':_0x15f2ee=>_0x15f2ee[_0x2a764e(0xa4)]!==this[_0x2a764e(0xd7)]}}),this[_0x2a764e(0xa2)](this[_0x2a764e(0xc3)]());}[_0x19d9d4(0x95)](){const _0x3abd69=_0x19d9d4;super[_0x3abd69(0x95)]();const _0x556771=this[_0x3abd69(0xd7)][_0x3abd69(0x97)](_0x3abd69(0x99));_0x556771[_0x3abd69(0xac)]=this[_0x3abd69(0xd1)],this['on'](_0x3abd69(0x8c),(_0x7f053f,_0xf765dd,_0x50c406)=>{const _0x1e5f66=_0x3abd69;_0x556771[_0x1e5f66(0xac)]=_0x50c406;}),this[_0x3abd69(0xb5)]();}[_0x19d9d4(0xc3)](){const _0x13a5de=_0x19d9d4,_0x155c6e=this[_0x13a5de(0x93)],_0x5b1137=[{'tag':_0x13a5de(0xbf),'attributes':{'class':[_0x13a5de(0xa7),_0x13a5de(0xe0)]},'children':[{'tag':_0x13a5de(0x96),'children':[{'text':this[_0x13a5de(0xc2)][_0x13a5de(0xdf)]}],'attributes':{'class':[_0x13a5de(0xdd),_0x13a5de(0xad)],'data-cke-tooltip-text':this[_0x13a5de(0xc2)][_0x13a5de(0xdf)]}},{'tag':_0x13a5de(0x86),'attributes':{'datetime':_0x155c6e['to'](_0x13a5de(0xc9)),'class':[_0x13a5de(0xbd),_0x13a5de(0x88)]},'children':[{'text':_0x155c6e['to'](_0x13a5de(0xc9),_0x117043=>this[_0x13a5de(0xdc)][_0x13a5de(0x9f)](_0x117043))}]}]},{'tag':_0x13a5de(0xbf),'attributes':{'class':[_0x13a5de(0xd6),_0x13a5de(0xc4)]},'children':[this[_0x13a5de(0x94)],this[_0x13a5de(0xaa)]]},{'tag':_0x13a5de(0xbf),'attributes':{'class':[_0x13a5de(0x87)]}}];return this[_0x13a5de(0x9b)][_0x13a5de(0xb3)]&&_0x5b1137[_0x13a5de(0xa3)]({'tag':_0x13a5de(0xbf),'attributes':{'class':[_0x13a5de(0x90)]},'children':[{'text':this[_0x13a5de(0xc1)]()}]}),{'tag':_0x13a5de(0xbf),'attributes':{'class':[_0x13a5de(0xd3),_0x13a5de(0xda)],'tabindex':-0x1},'children':[this[_0x13a5de(0xc2)],{'tag':_0x13a5de(0xbf),'attributes':{'class':[_0x13a5de(0x8d),_0x13a5de(0xbe)],'role':_0x13a5de(0xcf)},'children':_0x5b1137}]};}[_0x19d9d4(0xc5)](){const _0x2cb2c4=_0x19d9d4;this[_0x2cb2c4(0xd7)][_0x2cb2c4(0xc5)]();}[_0x19d9d4(0xa1)](){const _0xd5c260=_0x19d9d4;return this[_0xd5c260(0x9b)][_0xd5c260(0xb3)]?_0xd5c260(0xd4)===this[_0xd5c260(0x9b)][_0xd5c260(0xdb)][_0xd5c260(0xc6)][_0xd5c260(0xcd)]?_0x2d753e(this[_0xd5c260(0x98)],_0xd5c260(0xa9),this[_0xd5c260(0x9b)][_0xd5c260(0xb0)][_0xd5c260(0xdf)]):_0x2d753e(this[_0xd5c260(0x98)],_0xd5c260(0xb2),this[_0xd5c260(0x9b)][_0xd5c260(0xb0)][_0xd5c260(0xdf)]):null;}[_0x19d9d4(0xc1)](){const _0x4a9514=_0x19d9d4;return _0x4a9514(0xd4)===this[_0x4a9514(0x9b)][_0x4a9514(0xdb)][_0x4a9514(0xc6)][_0x4a9514(0xcd)]?_0x2d753e(this[_0x4a9514(0x98)],_0x4a9514(0x8f)):_0x2d753e(this[_0x4a9514(0x98)],_0x4a9514(0x9d));}[_0x19d9d4(0xd0)](_0x480549,_0x281bc7,_0x183a00,_0x7e359f,_0x5a81b8){const _0x1118af=_0x19d9d4,_0x428d0d=new _0x51507a(this[_0x1118af(0x98)]);return _0x428d0d[_0x1118af(0xc0)]({'label':_0x480549,'icon':_0x281bc7,'tooltip':!0x0,'tooltipPosition':_0x5a81b8}),_0x428d0d[_0x1118af(0xb8)]({'attributes':{'class':_0x183a00}}),_0x428d0d['on'](_0x1118af(0x8e),()=>{const _0x3154b8=_0x1118af;this[_0x3154b8(0xb1)](_0x7e359f,this[_0x3154b8(0x9b)]['id']);}),_0x428d0d;}[_0x19d9d4(0xb5)](){const _0x24f0f8=_0x19d9d4,_0x5514ad=this[_0x24f0f8(0xd7)];this[_0x24f0f8(0xb7)][_0x24f0f8(0xbc)](_0x5514ad);for(const _0x596e6c of this[_0x24f0f8(0xa6)])this[_0x24f0f8(0xa0)][_0x24f0f8(0xab)](_0x596e6c[_0x24f0f8(0xd7)]),this[_0x24f0f8(0xb7)][_0x24f0f8(0xbc)](_0x596e6c[_0x24f0f8(0xd7)]);this[_0x24f0f8(0xb7)][_0x24f0f8(0xc0)](_0x24f0f8(0xce),(_0x493274,_0x49388f)=>{const _0x59273e=_0x24f0f8;_0x5514ad===_0x493274[_0x59273e(0xa4)]&&(this[_0x59273e(0x92)][_0x59273e(0xe1)](),_0x49388f());}),this[_0x24f0f8(0xb7)][_0x24f0f8(0xc0)](_0x24f0f8(0xa5),(_0x289b47,_0x1b7ff5)=>{const _0x5aa0b0=_0x24f0f8;_0x5514ad!==_0x289b47[_0x5aa0b0(0xa4)]&&(this[_0x5aa0b0(0xc5)](),_0x1b7ff5());});}}function _0x35f4(){const _0x159742=['authoredAt','ck-annotation__user','shift+tab','2ETdrOH','source','enter','presentation','_createButton','description','bind','ck-suggestion','importWord','Discard\x20suggestion','ck-suggestion__actions','element','5krDakT','2120EweMzc','ck-annotation','attributes','_config','ck-suggestion__info-name','23440GgRPtj','name','ck-annotation__info','focusFirst','time','ck-annotation__content-wrapper','ck-annotation__info-time','Accept\x20suggestion','discardSuggestion','446076GcvTvm','change:description','ck-suggestion__main','execute','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-comment__external','ck-suggestion--accept','focusCycler','bindTemplate','acceptButton','render','span','querySelector','locale','.ck-annotation__content-wrapper','886858FgvyCk','_model','11727SIVSiJ','EXTERNAL_SUGGESTION','tab','formatDateTime','focusTracker','getUserViewNotificationText','setTemplate','push','target','esc','focusables','ck-suggestion__info','ck-suggestion--discard','EXTERNAL_IMPORT_WORD_AVATAR','discardButton','add','innerHTML','ck-annotation__info-name','108959UMuzjA','ck-suggestion__user','creator','fire','EXTERNAL_AVATAR','isExternal','88COZPCz','_setupKeyboardNavigation','16HBvFXL','keystrokes','extendTemplate','155658KfapBY','1955486dFKmuA','129NjZYbu','listenTo','ck-comment__info-time','ck-annotation__main','div','set','getExternalSuggestionNote','userView','getTemplate','ck-annotation__actions','focus','@external','acceptSuggestion','author'];_0x35f4=function(){return _0x159742;};return _0x35f4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x43990d=_0x5970;function _0x5970(_0x26e953,_0x3abd08){const _0xca789=_0xca78();return _0x5970=function(_0x597003,_0x1206de){_0x597003=_0x597003-0x1d9;let _0x45d1b1=_0xca789[_0x597003];return _0x45d1b1;},_0x5970(_0x26e953,_0x3abd08);}(function(_0x488fd4,_0x338733){const _0xe8bbf6=_0x5970,_0x2b446e=_0x488fd4();while(!![]){try{const _0x17d8f3=-parseInt(_0xe8bbf6(0x1f6))/0x1+parseInt(_0xe8bbf6(0x1f2))/0x2*(parseInt(_0xe8bbf6(0x1e8))/0x3)+parseInt(_0xe8bbf6(0x1e4))/0x4*(parseInt(_0xe8bbf6(0x1e0))/0x5)+-parseInt(_0xe8bbf6(0x1db))/0x6*(parseInt(_0xe8bbf6(0x1f5))/0x7)+parseInt(_0xe8bbf6(0x1ec))/0x8*(-parseInt(_0xe8bbf6(0x1fb))/0x9)+-parseInt(_0xe8bbf6(0x1ed))/0xa+parseInt(_0xe8bbf6(0x1f9))/0xb*(parseInt(_0xe8bbf6(0x1ef))/0xc);if(_0x17d8f3===_0x338733)break;else _0x2b446e['push'](_0x2b446e['shift']());}catch(_0x2640f4){_0x2b446e['push'](_0x2b446e['shift']());}}}(_0xca78,0x771e0));function _0xca78(){const _0x1be4d7=['className','push','previewDataReady','4630984sUcLvL','3185180qOoxTg','style','84WzSgVi','dialogRects','ck-reset','1320322obDrQI','ck-track-changes-preview','div','343PPuTfN','577571wfQXzx','setTemplate','classes','2261633iNunTc','height','9twKiWA','render','focus','options','89592jQQrys','fire','element','width','\x20ck-track-changes-preview__root-container','120ARQkjn','setAttribute','data-ck-root-name','createElement','99192aykICC','content','setPreviewData','innerHTML','3IKwxqr'];_0xca78=function(){return _0x1be4d7;};return _0xca78();}import{View as _0x57f006}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x57f006{[_0x43990d(0x1da)];constructor(_0x51f08d,_0x5a37ce){const _0x4bb230=_0x43990d;super(_0x51f08d),this[_0x4bb230(0x1da)]=_0x5a37ce,this[_0x4bb230(0x1f7)]({'tag':_0x4bb230(0x1f4),'attributes':{'class':['ck',_0x4bb230(0x1f1),_0x4bb230(0x1f3)],'tabindex':-0x1}});}[_0x43990d(0x1fc)](){const _0x1638da=_0x43990d;super[_0x1638da(0x1fc)](),this[_0x1638da(0x1dd)][_0x1638da(0x1ee)][_0x1638da(0x1de)]=this[_0x1638da(0x1da)][_0x1638da(0x1f0)][_0x1638da(0x1de)]+'px',this[_0x1638da(0x1dd)][_0x1638da(0x1ee)][_0x1638da(0x1fa)]=this[_0x1638da(0x1da)][_0x1638da(0x1f0)][_0x1638da(0x1fa)]+'px';}[_0x43990d(0x1e6)](_0x316be2,_0x1aaeec){const _0x2bfcd7=_0x43990d;if(!this[_0x2bfcd7(0x1dd)])return;const _0x73672e=[];for(const [_0x392ab1,_0x2bac81]of _0x316be2){const _0x57de7c=document[_0x2bfcd7(0x1e3)](_0x2bfcd7(0x1f4));_0x57de7c[_0x2bfcd7(0x1e1)](_0x2bfcd7(0x1e2),_0x392ab1),_0x57de7c[_0x2bfcd7(0x1e9)]=_0x2bac81[_0x2bfcd7(0x1f8)]+_0x2bfcd7(0x1df),_0x57de7c[_0x2bfcd7(0x1e7)]=_0x2bac81[_0x2bfcd7(0x1e5)],_0x73672e[_0x2bfcd7(0x1ea)](_0x57de7c);}_0x1aaeec(this[_0x2bfcd7(0x1dd)],_0x73672e),this[_0x2bfcd7(0x1dd)][_0x2bfcd7(0x1ee)][_0x2bfcd7(0x1fa)]='',this[_0x2bfcd7(0x1dc)](_0x2bfcd7(0x1eb));}[_0x43990d(0x1d9)](){const _0xc116d8=_0x43990d;this[_0xc116d8(0x1dd)][_0xc116d8(0x1d9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x383742,_0x534f8c,_0x56e90b){const _0x1f130f=_0x383742['t'],t=_0x383742['t'];switch(_0x534f8c){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',_0x56e90b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x56e90b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x56e90b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x56e90b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x56e90b);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',_0x56e90b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x56e90b);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',_0x56e90b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x56e90b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x56e90b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x56e90b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x56e90b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x56e90b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x56e90b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x56e90b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x56e90b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x56e90b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x56e90b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x56e90b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x56e90b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x56e90b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x56e90b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x56e90b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x56e90b);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x56e90b);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'},_0x56e90b);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x56e90b);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x56e90b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x56e90b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x56e90b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x56e90b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x56e90b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x56e90b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x56e90b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x56e90b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x56e90b);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'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x56e90b);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x56e90b);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x56e90b);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x56e90b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x56e90b);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 _0x1f130f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x56e90b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1f130f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x56e90b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x56e90b);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'},_0x56e90b);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'},_0x56e90b);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'},_0x56e90b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x534f8c;}}
|
|
23
|
+
export function getTranslation(_0x12dbbb,_0x11977d,_0x113098){const _0x2aa1e6=_0x12dbbb['t'],t=_0x12dbbb['t'];switch(_0x11977d){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',_0x113098);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x113098);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x113098);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x113098);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x113098);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',_0x113098);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x113098);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',_0x113098);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x113098);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x113098);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x113098);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x113098);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x113098);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x113098);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x113098);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x113098);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x113098);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x113098);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x113098);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x113098);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x113098);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x113098);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x113098);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x113098);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x113098);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'},_0x113098);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x113098);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x113098);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x113098);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x113098);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x113098);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x113098);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x113098);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'},_0x113098);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x113098);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x113098);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x113098);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x113098);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'},_0x113098);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x113098);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'},_0x113098);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'},_0x113098);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x113098);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'},_0x113098);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x113098);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'},_0x113098);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x113098);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x113098);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x113098);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x113098);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x113098);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'},_0x113098);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x113098);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 _0x2aa1e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x113098);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2aa1e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x113098);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x113098);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'},_0x113098);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'},_0x113098);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'},_0x113098);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x11977d;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2613b6,_0x311a7c){const _0x471871=_0x4a7b,_0x29fe07=_0x2613b6();while(!![]){try{const _0x11da5f=-parseInt(_0x471871(0x151))/0x1*(parseInt(_0x471871(0x150))/0x2)+-parseInt(_0x471871(0x158))/0x3+parseInt(_0x471871(0x17e))/0x4+parseInt(_0x471871(0x179))/0x5*(-parseInt(_0x471871(0x15d))/0x6)+parseInt(_0x471871(0x153))/0x7+-parseInt(_0x471871(0x174))/0x8*(-parseInt(_0x471871(0x17d))/0x9)+parseInt(_0x471871(0x14d))/0xa*(parseInt(_0x471871(0x154))/0xb);if(_0x11da5f===_0x311a7c)break;else _0x29fe07['push'](_0x29fe07['shift']());}catch(_0xf537ac){_0x29fe07['push'](_0x29fe07['shift']());}}}(_0x523c,0xf4088));export function normalizeDescription(_0x52222f){const _0x44f0a5=_0x4a7b;return Array[_0x44f0a5(0x16b)](_0x52222f)||(_0x52222f=[_0x52222f]),_0x52222f[_0x44f0a5(0x156)](_0x47fafd=>{const _0x11f3b9=_0x44f0a5,_0x53853d=_0x47fafd[_0x11f3b9(0x177)][_0x11f3b9(0x14a)](/\*/g,''),_0x30880c=_0x47fafd[_0x11f3b9(0x16f)]?_0x11f3b9(0x173)+_0x47fafd[_0x11f3b9(0x16f)][_0x11f3b9(0x164)]+']':'';return'['+_0x47fafd[_0x11f3b9(0x15e)]+']\x20'+_0x53853d+_0x30880c;})[_0x44f0a5(0x178)](';\x20');}function _0x523c(){const _0x171b97=['sort','isTouching','replace','span','end','118390Mfxioy','createPositionBefore','isCollapsed','2RZkGfn','680149yfLkOM','attribute','1942311pbPDKA','2497msOuEF','\x22\x20title=\x22','map','change','5348910YpNcPP','from','split','deletion','\x22></span>','12WWlGus','type','isMultiRange','push','createPositionAfter','isInContent','add','value','splice','getRanges','createRange','innerHTML','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionAt','isArray','isIntersecting','length','innerText','color','<span\x20class=\x22ck-suggestion-type\x22>','</span>','start','\x20[color\x20','8NeBxDW','createElement','execute','content','join','4389245yTRSHX','isObject','next','title','6249357japezN','6236312hANQUv','schema'];_0x523c=function(){return _0x171b97;};return _0x523c();}export function renderDescription(_0x2c55e4,_0x15207e){const _0xc159a=_0x4a7b;let _0x4125a3='';return _0x4125a3+=_0x2c55e4[_0xc159a(0x15a)]('*')[_0xc159a(0x156)]((_0x74c795,_0x1c7a30)=>_0x1c7a30%0x2!=0x0?_0xc159a(0x170)+rn(_0x74c795)+_0xc159a(0x171):rn(_0x74c795))[_0xc159a(0x178)](''),_0x15207e&&(_0x4125a3+=_0xc159a(0x169)+_0x15207e[_0xc159a(0x164)]+_0xc159a(0x155)+_0x15207e[_0xc159a(0x17c)]+_0xc159a(0x15c)),_0x4125a3;}function rn(_0x32a2d7){const _0x5d21d3=_0x4a7b,_0x7eff0d=document[_0x5d21d3(0x175)](_0x5d21d3(0x14b));return _0x7eff0d[_0x5d21d3(0x16e)]=_0x32a2d7,_0x7eff0d[_0x5d21d3(0x168)];}export function sortSuggestions(_0x13e199){const _0xc454dd=_0x4a7b;return _0x13e199[_0xc454dd(0x148)]((_0x15ba0c,_0x5c168d)=>_0xc454dd(0x152)===_0x15ba0c[_0xc454dd(0x15e)]&&_0xc454dd(0x152)!==_0x5c168d[_0xc454dd(0x15e)]?-0x1:_0xc454dd(0x152)!==_0x15ba0c[_0xc454dd(0x15e)]&&_0xc454dd(0x152)===_0x5c168d[_0xc454dd(0x15e)]?0x1:_0xc454dd(0x15b)==_0x15ba0c[_0xc454dd(0x15e)]&&_0xc454dd(0x15b)!=_0x5c168d[_0xc454dd(0x15e)]?-0x1:_0xc454dd(0x15b)!=_0x15ba0c[_0xc454dd(0x15e)]&&_0xc454dd(0x15b)==_0x5c168d[_0xc454dd(0x15e)]?0x1:0x0);}export function getSelectedSuggestions(_0x44d30e,_0x2a6708){const _0x326a11=_0x4a7b,_0x1fcb9f=Array[_0x326a11(0x159)](_0x44d30e[_0x326a11(0x166)]()),_0x2f72a7=new Set();for(const _0x4d24dd of _0x2a6708)if(_0x4d24dd[_0x326a11(0x162)]){for(const _0x4f69b5 of _0x1fcb9f)for(const _0x4e96a4 of _0x4d24dd[_0x326a11(0x166)]())(_0x4f69b5[_0x326a11(0x16c)](_0x4e96a4)||_0x44d30e[_0x326a11(0x14f)]&&!_0x4d24dd[_0x326a11(0x15f)]&&_0x4d24dd[_0x326a11(0x17b)]&&_0x4e96a4[_0x326a11(0x14c)][_0x326a11(0x149)](_0x4f69b5[_0x326a11(0x172)]))&&_0x2f72a7[_0x326a11(0x163)](_0x4d24dd);}return _0x2f72a7;}function _0x4a7b(_0x59df3d,_0x4f4b2e){const _0x523c26=_0x523c();return _0x4a7b=function(_0x4a7b45,_0x5ddffe){_0x4a7b45=_0x4a7b45-0x148;let _0x499a27=_0x523c26[_0x4a7b45];return _0x499a27;},_0x4a7b(_0x59df3d,_0x4f4b2e);}export function getRangesOfBlockGroups(_0x5ac660,_0x2a62c3){const _0x53e427=_0x4a7b;let _0x54910d,_0x537a06=0x0;const _0x309dda=[],_0x38bfd9=_0x2a62c3[_0x53e427(0x17f)];for(;_0x537a06<_0x5ac660[_0x53e427(0x16d)];){const _0x12d39a=_0x5ac660[_0x537a06],_0x1decdb=_0x5ac660[_0x537a06+0x1];_0x54910d||(_0x54910d=_0x2a62c3[_0x53e427(0x14e)](_0x12d39a)),cn(_0x2a62c3,_0x12d39a,_0x1decdb)||(_0x309dda[_0x53e427(0x160)](_0x2a62c3[_0x53e427(0x167)](_0x54910d,_0x38bfd9[_0x53e427(0x17a)](_0x12d39a)?_0x2a62c3[_0x53e427(0x161)](_0x12d39a):_0x2a62c3[_0x53e427(0x16a)](_0x12d39a,_0x53e427(0x14c)))),_0x54910d=null),_0x537a06++;}return _0x309dda;}function cn(_0x4be1d3,_0x5c702e,_0xa89380){const _0x1a5c56=_0x4a7b;if(!_0xa89380)return!0x1;const _0xf31d78=_0x4be1d3[_0x1a5c56(0x161)](_0x5c702e),_0x139b07=_0x4be1d3[_0x1a5c56(0x14e)](_0xa89380);return _0xf31d78[_0x1a5c56(0x149)](_0x139b07);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x19ca92,_0x2275cc,_0x3cf79f){const _0x56cf16=_0x4a7b;for(;_0x3cf79f[_0x56cf16(0x16d)];){const _0x4fb2d5=_0x3cf79f[_0x56cf16(0x165)](0x0,0x64);_0x19ca92[_0x56cf16(0x157)](()=>{const _0x44e9f4=_0x56cf16;for(const _0x453b1d of _0x4fb2d5)_0x453b1d[_0x44e9f4(0x162)]&&_0x2275cc[_0x44e9f4(0x176)](_0x453b1d['id']);});}}
|