@ckeditor/ckeditor5-track-changes 47.0.0-alpha.2 → 47.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/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
|
-
function
|
|
23
|
+
const _0x241747=_0xd943;function _0x4908(){const _0x19ea4f=['commands','144xMDaiV','previewFinalContent','editor','680952pkIlQU','define','isOfficialPlugin','appendChild','isPremiumPlugin','pluginName','requires','config','1459584THCyXx','881346oQBLUJ','4eJuFHa','473776jvGteU','748689AupALm','5aXjdTF','8694370jlSDxN','1372674cvnvkm','trackChanges.preview.renderFunction','TrackChangesPreview','add'];_0x4908=function(){return _0x19ea4f;};return _0x4908();}(function(_0x238a1e,_0x4d9494){const _0x592d46=_0xd943,_0x18aecb=_0x238a1e();while(!![]){try{const _0x8ab17d=-parseInt(_0x592d46(0xd3))/0x1+parseInt(_0x592d46(0xc7))/0x2+parseInt(_0x592d46(0xd6))/0x3*(-parseInt(_0x592d46(0xd1))/0x4)+-parseInt(_0x592d46(0xd4))/0x5*(parseInt(_0x592d46(0xd0))/0x6)+-parseInt(_0x592d46(0xcf))/0x7+parseInt(_0x592d46(0xd2))/0x8*(parseInt(_0x592d46(0xc4))/0x9)+parseInt(_0x592d46(0xd5))/0xa;if(_0x8ab17d===_0x4d9494)break;else _0x18aecb['push'](_0x18aecb['shift']());}catch(_0x442c27){_0x18aecb['push'](_0x18aecb['shift']());}}}(_0x4908,0x91767));import{Plugin as _0xa30768}from'ckeditor5/src/core.js';function _0xd943(_0x5e7446,_0x1394d0){const _0x49085e=_0x4908();return _0xd943=function(_0xd9435e,_0x21d1c5){_0xd9435e=_0xd9435e-0xc4;let _0x16a2f2=_0x49085e[_0xd9435e];return _0x16a2f2;},_0xd943(_0x5e7446,_0x1394d0);}import{Dialog as _0x91c289}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1a584d}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3494c4}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0xa30768{static get[_0x241747(0xcd)](){return[_0x1a584d,_0x91c289];}static get[_0x241747(0xcc)](){const _0x4f0d0c=_0x241747;return _0x4f0d0c(0xd8);}static get[_0x241747(0xc9)](){return!0x0;}static get[_0x241747(0xcb)](){return!0x0;}constructor(_0xdbc472){const _0x2ccf47=_0x241747;super(_0xdbc472),_0xdbc472[_0x2ccf47(0xda)][_0x2ccf47(0xd9)](_0x2ccf47(0xc5),new _0x3494c4(this[_0x2ccf47(0xc6)])),_0xdbc472[_0x2ccf47(0xce)][_0x2ccf47(0xc8)](_0x2ccf47(0xd7),(_0x1ce7d1,_0x2138ea)=>{const _0x1c62a1=_0x2ccf47;for(const _0xec4159 of _0x2138ea)_0x1ce7d1[_0x1c62a1(0xca)](_0xec4159);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x527299=_0x1241;(function(_0xaffe40,_0x19006f){const _0x35a171=_0x1241,_0x1f5b4e=_0xaffe40();while(!![]){try{const _0x1d3087=-parseInt(_0x35a171(0x12c))/0x1*(parseInt(_0x35a171(0xb0))/0x2)+parseInt(_0x35a171(0x11d))/0x3+-parseInt(_0x35a171(0x102))/0x4+parseInt(_0x35a171(0xd9))/0x5+parseInt(_0x35a171(0xec))/0x6*(parseInt(_0x35a171(0xea))/0x7)+parseInt(_0x35a171(0x9f))/0x8+parseInt(_0x35a171(0x13a))/0x9*(-parseInt(_0x35a171(0x100))/0xa);if(_0x1d3087===_0x19006f)break;else _0x1f5b4e['push'](_0x1f5b4e['shift']());}catch(_0x460710){_0x1f5b4e['push'](_0x1f5b4e['shift']());}}}(_0x3173,0xe03db));import{Plugin as _0xe1782}from'ckeditor5/src/core.js';import{Collection as _0x4b453c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2b844a}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5b4a45,createDropdown as _0x111ffa,ListSeparatorView as _0x40b86c,MenuBarMenuView as _0x4b1645,MenuBarMenuListView as _0x47be23,MenuBarMenuListItemView as _0x299b30,MenuBarMenuListItemButtonView as _0x429723,SplitButtonView as _0x24f42f,UIModel as _0x504b5d}from'ckeditor5/src/ui.js';import{Users as _0x1c0cfa,getDateTimeFormatter as _0x757ea7,getAllMarkersDomElementsSorted as _0x813617}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x542817}from'./trackchangesediting.js';function _0x3173(){const _0x20429d=['addComment','button','167KPkSON','featureNotAllowed','init','_showLicenseError','createAnnotationView','_updateController','SuggestionThreadView','bind','EditorAnnotations','source','getMarkerNames','editor','trackChangesLicenseKeyTrialLimit','clear','68868vKQzZn','config','_licenseKeyCheckInterval','focus','TrackChangesEditing','descriptionFactory','previewFinalContent','isEnabled','suggestion-','Discard\x20all\x20suggestions','remove','destroy','define','view','isOfficialPlugin','trackChanges','isPremiumPlugin','discardAllSuggestions','_annotationViews','_suggestionToController','model','previous','Accept\x20all\x20suggestions','14594176LxJgyz','SuggestionView','trackChangesLicenseKeyDomainLimit','actionView','Track\x20changes','commentThread','trackChangesLicenseKeyNotAllowed','value','comments.maxCommentsWhenCollapsed','buttonView','CommentView','plugins','isMultiRange','suggestionLoaded','invalid','expired','trackChangesLicenseKeyEvaluationLimit','14918slGxzN','getByInnerView','evaluationLimit','arrowView','filter','_refreshActiveMarkers','panelView','keys','push','TrackChanges','_createToolbarButton','descriptionParts','_disableComments','addMany','switchbutton','acceptButton','refreshSelectedViews','getFirstRange','values','addSourceCollector','getRanges','getAnnotationForSuggestion','menuitem','_bindAnnotationToEditors','suggestionView','locale','_unbindEditors','trackChangesLicenseKeyValid','menuBar:trackChanges','comments.editorConfig','trackChanges.SuggestionThreadView','suggestionChanged','set','add','discardSelectedSuggestions','toMany','stopListening','CommentsUI','from','head','licenseKey','7485660ygwOeH','unbind','getSuggestion','getJoined','menu','has','comments.maxThreadTotalWeight','usageLimit','Annotations','domainLimit','createAnnotation','type','trackChanges.disableComments','TrackChangesPreview','escape','children','some','7MEhQJl','fire','375852TvkrnE','commands','change:previous','registerAnnotation','Discard\x20all\x20selected\x20suggestions','get','reduce','menuitemcheckbox','_initializeController','discardButton','hasSuggestion','_handleSuggestionControllerDelayed','getDescriptions','isDirty','createCommentThreadController','_destroyController','activeMarkers','trialLimit','mainView','getMarkers','1580IjNRUp','TrackChangesUI','1461140zJwMqz','activeAnnotations','Accept\x20all\x20selected\x20suggestions','isOn','commentsListView','requires','lowest','comments','delete','_createMenuBarMenu','length','trackChangesLicenseKeyExpired','trackChangesLicenseKeyUsageLimit','getAllAdjacentSuggestions','pluginName','separator','suggestionUnloaded','commandName','getSuggestionForAnnotation','innerView','change:activeAnnotations','listenTo','delegate','Preview\x20final\x20content','isInContent','acceptAllSuggestions','CommentsRepository','1063197jyIboh','_viewToController','trackChangesLicenseKeyInvalid','execute','editing','items','acceptSelectedSuggestions','_handleControllerBuffer','comments.maxCommentCharsWhenCollapsed','componentFactory','size','trackChanges.SuggestionView','_addUIComponentsToFactory'];_0x3173=function(){return _0x20429d;};return _0x3173();}function _0x1241(_0x43c08f,_0x1e69e1){const _0x317315=_0x3173();return _0x1241=function(_0x1241e6,_0x4fbe20){_0x1241e6=_0x1241e6-0x94;let _0x491a36=_0x317315[_0x1241e6];return _0x491a36;},_0x1241(_0x43c08f,_0x1e69e1);}import{SuggestionController as _0x45adc3}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x4dbf92}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x23145d}from'./ui/view/suggestionview.js';import{getTranslation as _0x253285}from'./utils/common-translations.js';export class TrackChangesUI extends _0xe1782{[_0x527299(0xd8)];[_0x527299(0x13c)];[_0x527299(0x9b)];[_0x527299(0x11e)];[_0x527299(0x9a)];[_0x527299(0x124)];[_0x527299(0xbc)];static get[_0x527299(0x107)](){const _0x4ab053=_0x527299;return[_0x542817,_0x1c0cfa,_0x4ab053(0x11c),_0x4ab053(0xe1),_0x4ab053(0x134)];}static get[_0x527299(0x110)](){const _0xba1e6=_0x527299;return _0xba1e6(0x101);}static get[_0x527299(0x96)](){return!0x0;}static get[_0x527299(0x98)](){return!0x0;}constructor(_0xeb821c){const _0x56119c=_0x527299;super(_0xeb821c),this[_0x56119c(0x9b)]=new Map(),this[_0x56119c(0x11e)]=new Map(),this[_0x56119c(0x9a)]=new Map(),this[_0x56119c(0x124)]=new Map();const _0x542ddd=this[_0x56119c(0x137)][_0x56119c(0x13b)];_0x542ddd[_0x56119c(0x94)](_0x56119c(0xce),_0x4dbf92),_0x542ddd[_0x56119c(0x94)](_0x56119c(0x128),_0x23145d),_0x542ddd[_0x56119c(0x94)](_0x56119c(0xe5),!0x1),this[_0x56119c(0xbc)]=_0x542ddd[_0x56119c(0xf1)](_0x56119c(0xe5));}[_0x527299(0xf7)](_0x90905f,_0x5e9912){const _0x4999ae=_0x527299;0x0===this[_0x4999ae(0x124)][_0x4999ae(0x127)]&&setTimeout(()=>{const _0x4f3e24=_0x4999ae;for(const [_0x313324,_0x5b4efe]of this[_0x4f3e24(0x124)]){const _0x53c6a3=this[_0x4f3e24(0x9b)][_0x4f3e24(0xde)](_0x313324);_0x53c6a3||_0x5b4efe?_0x53c6a3&&_0x5b4efe&&this[_0x4f3e24(0xfb)](_0x313324):this[_0x4f3e24(0xf4)](_0x313324);}this[_0x4f3e24(0x124)][_0x4f3e24(0x139)](),this[_0x4f3e24(0x137)][_0x4f3e24(0xaa)][_0x4f3e24(0xf1)](_0x4f3e24(0x134))[_0x4f3e24(0xc0)](),this[_0x4f3e24(0xb5)]();},0xa),this[_0x4999ae(0x124)][_0x4999ae(0xd0)](_0x90905f,_0x5e9912);}[_0x527299(0x12e)](){const _0x581ef8=_0x527299,_0x1c03f3=this[_0x581ef8(0x137)],_0x12dbdf=_0x1c03f3[_0x581ef8(0xaa)][_0x581ef8(0xf1)](_0x581ef8(0x13e)),_0x274e62=_0x1c03f3[_0x581ef8(0xaa)][_0x581ef8(0xf1)](_0x581ef8(0xe1)),_0x22c00a=_0x1c03f3[_0x581ef8(0xaa)][_0x581ef8(0xf1)](_0x581ef8(0x134)),_0x54bced=_0x1c03f3[_0x581ef8(0xaa)][_0x581ef8(0xf1)](_0x581ef8(0x11c));this[_0x581ef8(0x129)](),_0x22c00a[_0x581ef8(0xc3)](()=>{const _0x37b0c6=_0x581ef8,_0xa75e2e=[];for(const [_0x13a585,_0x1485bd]of Array[_0x37b0c6(0xd6)](this[_0x37b0c6(0x9b)])){const _0x40aff8=_0x13a585[_0x37b0c6(0x10f)](),_0x484c19=[];for(const _0x48c0df of _0x40aff8){if(!_0x48c0df[_0x37b0c6(0x11a)])continue;if(_0x48c0df[_0x37b0c6(0xab)]){_0x484c19[_0x37b0c6(0xb8)](..._0x48c0df[_0x37b0c6(0xc4)]());continue;}const _0x240266=_0x48c0df[_0x37b0c6(0xc1)]();if(_0x484c19[_0x37b0c6(0x10c)]>0x0){const _0x3b726d=_0x484c19[0x0][_0x37b0c6(0xdc)](_0x240266);if(_0x3b726d){_0x484c19[0x0]=_0x3b726d;continue;}}_0x484c19[_0x37b0c6(0xb8)](_0x240266);}_0xa75e2e[_0x37b0c6(0xb8)]([_0x1485bd[_0x37b0c6(0x95)],_0x484c19]);}return _0xa75e2e;}),this[_0x581ef8(0x117)](_0x12dbdf,_0x581ef8(0xac),(_0x39d873,_0x592846)=>{const _0x2513f6=_0x581ef8;this[_0x2513f6(0x117)](_0x592846,_0x2513f6(0xee),(_0x1ed6b6,_0x59b162,_0x5d82bf,_0x4c1bf5)=>{const _0x2a1fdb=_0x2513f6;_0x592846[_0x2a1fdb(0x11a)]&&(null==_0x5d82bf?(this[_0x2a1fdb(0x131)](_0x4c1bf5[_0x2a1fdb(0xd7)]),this[_0x2a1fdb(0xf7)](_0x592846,!0x1)):(this[_0x2a1fdb(0x131)](_0x5d82bf[_0x2a1fdb(0xd7)]),null==_0x4c1bf5&&this[_0x2a1fdb(0xf7)](_0x592846,!0x0)));}),null!==_0x592846[_0x2513f6(0x9d)]?this[_0x2513f6(0x131)](_0x592846[_0x2513f6(0xd7)]):this[_0x2513f6(0xf7)](_0x592846,!0x1);}),this[_0x581ef8(0x117)](_0x12dbdf,_0x581ef8(0x112),(_0x15c17b,_0x353eaa,_0x57aa25)=>{const _0x19b578=_0x581ef8;this[_0x19b578(0xd4)](_0x353eaa,_0x19b578(0xee)),this[_0x19b578(0x124)][_0x19b578(0x10a)](_0x353eaa),this[_0x19b578(0x9b)][_0x19b578(0xde)](_0x353eaa)&&this[_0x19b578(0xfb)](_0x353eaa),_0x57aa25&&this[_0x19b578(0x131)](_0x57aa25[_0x19b578(0xd7)]);}),this[_0x581ef8(0x117)](_0x12dbdf,_0x581ef8(0xcf),(_0x3e905,_0x5d1a8f)=>{const _0x5c1fe6=_0x581ef8;this[_0x5c1fe6(0x131)](_0x5d1a8f);}),this[_0x581ef8(0x117)](_0x274e62,_0x581ef8(0x116),()=>{const _0xdc14ed=_0x581ef8;this[_0xdc14ed(0xb5)]();}),this[_0x581ef8(0x117)](_0x54bced,_0x581ef8(0x12a),(_0x4c5695,{threadId:_0x1467d7,isFromAdapter:_0x14f655})=>{const _0x2c211a=_0x581ef8;if(_0x14f655||!_0x12dbdf[_0x2c211a(0xf6)](_0x1467d7))return;const _0x55c238=_0x12dbdf[_0x2c211a(0xdb)](_0x1467d7);this[_0x2c211a(0x9b)][_0x2c211a(0xf1)](_0x55c238)[_0x2c211a(0x95)][_0x2c211a(0x106)][_0x2c211a(0x13d)](-0x1);},{'priority':_0x581ef8(0x108)}),this[_0x581ef8(0xd8)]=this[_0x581ef8(0x137)][_0x581ef8(0x13b)][_0x581ef8(0xf1)](_0x581ef8(0xd8));const _0x2f6c83=this[_0x581ef8(0x137)];this[_0x581ef8(0x13c)]=setInterval(()=>{const _0x4fd100=_0x581ef8;let _0x10440f;for(const _0x12df5a in _0x2f6c83){const _0x490916=_0x12df5a,_0x241652=_0x2f6c83[_0x490916];if(_0x4fd100(0xcb)==_0x241652||_0x4fd100(0x11f)==_0x241652||_0x4fd100(0x10d)==_0x241652||_0x4fd100(0xa1)==_0x241652||_0x4fd100(0xa5)==_0x241652||_0x4fd100(0xaf)==_0x241652||_0x4fd100(0x138)==_0x241652||_0x4fd100(0x10e)==_0x241652){delete _0x2f6c83[_0x490916],_0x10440f=_0x241652,clearInterval(this[_0x4fd100(0x13c)]),this[_0x4fd100(0x13c)]=void 0x0;break;}}_0x4fd100(0x11f)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xad)),_0x4fd100(0x10d)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xae)),_0x4fd100(0xa1)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xe2)),_0x4fd100(0xa5)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0x12d),_0x4fd100(0xb9)),_0x4fd100(0xaf)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xb2)),_0x4fd100(0x138)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xfd)),_0x4fd100(0x10e)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xe0));},0x3e8);}[_0x527299(0xc5)](_0x220db7){const _0x577674=_0x527299,_0x4f56de=this[_0x577674(0x9b)][_0x577674(0xf1)](_0x220db7);if(!_0x4f56de)return null;return this[_0x577674(0x137)][_0x577674(0xaa)][_0x577674(0xf1)](_0x577674(0xe1))[_0x577674(0xb1)](_0x4f56de[_0x577674(0x95)])||null;}[_0x527299(0x114)](_0x530160){const _0x3ef622=_0x527299,_0xd935a=this[_0x3ef622(0x11e)][_0x3ef622(0xf1)](_0x530160[_0x3ef622(0x115)]);return _0xd935a?_0xd935a[_0x3ef622(0x9c)]:null;}[_0x527299(0xb5)](){const _0x42c7dc=_0x527299,_0x3d5e0d=this[_0x42c7dc(0x137)][_0x42c7dc(0xaa)][_0x42c7dc(0xf1)](_0x42c7dc(0xe1)),_0x15f439=this[_0x42c7dc(0x137)][_0x42c7dc(0xaa)][_0x42c7dc(0xf1)](_0x42c7dc(0x13e)),_0x4a4549=Array[_0x42c7dc(0xd6)](_0x3d5e0d[_0x42c7dc(0x103)],_0x31491c=>_0x31491c[_0x42c7dc(0x115)])[_0x42c7dc(0xb4)](_0x25249b=>this[_0x42c7dc(0x11e)][_0x42c7dc(0xde)](_0x25249b)),_0x5bb4af=[];for(const _0x1e5987 of _0x4a4549){const _0x57263a=this[_0x42c7dc(0x11e)][_0x42c7dc(0xf1)](_0x1e5987)[_0x42c7dc(0x9c)][_0x42c7dc(0x10f)]();_0x5bb4af[_0x42c7dc(0xb8)](..._0x57263a[_0x42c7dc(0xf2)]((_0x281e48,_0x212d92)=>[..._0x281e48,..._0x212d92[_0x42c7dc(0x136)]()],[]));}_0x15f439[_0x42c7dc(0xfc)]=_0x5bb4af;}[_0x527299(0x129)](){const _0xa77a2d=_0x527299,_0x533932=this[_0xa77a2d(0x137)],_0x3a80db=_0x533932[_0xa77a2d(0xc9)],_0x135981=_0x253285(_0x3a80db,_0xa77a2d(0xa3)),_0x11e6e4=new _0x4b453c([{'type':_0xa77a2d(0xbe),'model':new _0x504b5d({'withText':!0x0,'isToggleable':!0x0,'label':_0x135981,'commandName':_0xa77a2d(0x97),'role':_0xa77a2d(0xf3)})},{'type':_0xa77a2d(0x111)},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0x9e)),'commandName':_0xa77a2d(0x11b),'role':_0xa77a2d(0xc6)})},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0x104)),'commandName':_0xa77a2d(0x123),'role':_0xa77a2d(0xc6)})},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0x143)),'commandName':_0xa77a2d(0x99),'role':_0xa77a2d(0xc6)})},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0xf0)),'commandName':_0xa77a2d(0xd2),'role':_0xa77a2d(0xc6)})}]);_0x533932[_0xa77a2d(0xaa)][_0xa77a2d(0xde)](_0xa77a2d(0xe6))&&_0x11e6e4[_0xa77a2d(0xbd)]([{'type':_0xa77a2d(0x111)},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0x119)),'commandName':_0xa77a2d(0x140),'role':_0xa77a2d(0xc6)})}]);for(const _0x47b8b0 of _0x11e6e4)if(ve(_0x47b8b0)){const _0x5512f6=_0x533932[_0xa77a2d(0xed)][_0xa77a2d(0xf1)](_0x47b8b0[_0xa77a2d(0x9c)][_0xa77a2d(0x113)]);_0x47b8b0[_0xa77a2d(0x9c)][_0xa77a2d(0x133)](_0xa77a2d(0x105),_0xa77a2d(0x141))['to'](_0x5512f6,_0xa77a2d(0xa6),_0xa77a2d(0x141));}_0x533932['ui'][_0xa77a2d(0x126)][_0xa77a2d(0xd1)](_0xa77a2d(0x97),_0x2c2fb1=>this[_0xa77a2d(0xba)](_0x2c2fb1,_0x11e6e4,_0x135981)),_0x533932['ui'][_0xa77a2d(0x126)][_0xa77a2d(0xd1)](_0xa77a2d(0xcc),_0x1a5ff6=>this[_0xa77a2d(0x10b)](_0x1a5ff6,_0x11e6e4,_0x135981));}[_0x527299(0xba)](_0x3d6d75,_0x5921c5,_0x2e45a2){const _0x162c24=_0x527299,_0x2a273d=_0x111ffa(_0x3d6d75,_0x24f42f),_0x13df92=this[_0x162c24(0x137)][_0x162c24(0xed)][_0x162c24(0xf1)](_0x162c24(0x97));_0x2a273d[_0x162c24(0xa8)][_0x162c24(0xd0)]({'tooltip':_0x2e45a2,'label':_0x2e45a2,'icon':_0x2b844a}),_0x2a273d[_0x162c24(0xa8)][_0x162c24(0x133)](_0x162c24(0x105))['to'](_0x13df92,_0x162c24(0xa6)),_0x2a273d[_0x162c24(0xa8)]['on'](_0x162c24(0x120),()=>{const _0x5247af=_0x162c24;_0x13df92[_0x5247af(0x120)](),this[_0x5247af(0x137)][_0x5247af(0x121)][_0x5247af(0x95)][_0x5247af(0x13d)]();}),_0x5b4a45(_0x2a273d,_0x5921c5,{'role':_0x162c24(0xdd)});const _0x29a998=[];for(const _0x948f1f of _0x5921c5)ve(_0x948f1f)&&_0x29a998[_0x162c24(0xb8)](this[_0x162c24(0x137)][_0x162c24(0xed)][_0x162c24(0xf1)](_0x948f1f[_0x162c24(0x9c)][_0x162c24(0x113)]));const _0xf12fc3=_0x2a273d[_0x162c24(0xa8)];return _0xf12fc3[_0x162c24(0xa2)][_0x162c24(0xda)](_0x162c24(0x141)),_0xf12fc3[_0x162c24(0xb3)][_0x162c24(0xda)](_0x162c24(0x141)),_0xf12fc3[_0x162c24(0xa2)][_0x162c24(0x133)](_0x162c24(0x141))['to'](_0x13df92,_0x162c24(0x141)),_0xf12fc3[_0x162c24(0xb3)][_0x162c24(0x133)](_0x162c24(0x141))[_0x162c24(0xd3)](_0x29a998,_0x162c24(0x141),(..._0x147f26)=>_0x147f26[_0x162c24(0xe9)](_0x201cca=>_0x201cca)),_0x2a273d['on'](_0x162c24(0x120),_0x55d792=>{const _0x8d020d=_0x162c24;this[_0x8d020d(0x137)][_0x8d020d(0x120)](_0x55d792[_0x8d020d(0x135)][_0x8d020d(0x113)]),this[_0x8d020d(0x137)][_0x8d020d(0x121)][_0x8d020d(0x95)][_0x8d020d(0x13d)]();}),_0x2a273d;}[_0x527299(0x10b)](_0x3f1f4e,_0x1fd52d,_0x573e28){const _0x179f2d=_0x527299,_0x4ddf66=new _0x4b1645(_0x3f1f4e),_0xeb124c=this[_0x179f2d(0x137)][_0x179f2d(0xed)][_0x179f2d(0xf1)](_0x179f2d(0x97));_0x4ddf66[_0x179f2d(0xa8)][_0x179f2d(0xd0)]({'label':_0x573e28,'icon':_0x2b844a});const _0x1ae086=new _0x47be23(_0x3f1f4e);for(const _0x272183 of _0x1fd52d){if(_0x179f2d(0x111)==_0x272183[_0x179f2d(0xe4)]){_0x1ae086[_0x179f2d(0x122)][_0x179f2d(0xd1)](new _0x40b86c(_0x3f1f4e));continue;}const _0x4a2335=new _0x299b30(_0x3f1f4e,_0x4ddf66),_0x40e8c4=new _0x429723(_0x3f1f4e),_0x291ad9=_0x272183[_0x179f2d(0x9c)];_0x40e8c4[_0x179f2d(0x133)](...Object[_0x179f2d(0xb7)](_0x291ad9))['to'](_0x291ad9),_0x40e8c4[_0x179f2d(0x118)](_0x179f2d(0x120))['to'](_0x4ddf66),_0x40e8c4['on'](_0x179f2d(0x120),()=>{const _0x14805d=_0x179f2d;this[_0x14805d(0x137)][_0x14805d(0x120)](_0x291ad9[_0x14805d(0x113)]),this[_0x14805d(0x137)][_0x14805d(0x121)][_0x14805d(0x95)][_0x14805d(0x13d)]();}),_0x4a2335[_0x179f2d(0xe8)][_0x179f2d(0xd1)](_0x40e8c4),_0x1ae086[_0x179f2d(0x122)][_0x179f2d(0xd1)](_0x4a2335);}return _0x4ddf66[_0x179f2d(0x133)](_0x179f2d(0x141))['to'](_0xeb124c,_0x179f2d(0x141)),_0x4ddf66[_0x179f2d(0xb6)][_0x179f2d(0xe8)][_0x179f2d(0xd1)](_0x1ae086),_0x4ddf66;}[_0x527299(0xf4)](_0x39ca99){const _0x40e83f=_0x527299,_0x4a8c8d=this[_0x40e83f(0x137)],_0x525b3e=_0x4a8c8d[_0x40e83f(0x13b)],_0x11a6ea=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0xe1)),_0x373459=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0x11c)),_0x781006=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0x134)),_0x451724=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x1c0cfa)['me'],_0x83fad2=_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0x97))[_0x40e83f(0x132)],_0x2402bf=_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0x97))[_0x40e83f(0xa0)],{CommentsListView:_0x48465e,CommentThreadInputView:_0x321d77}=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0xd5));let _0x5379a8,_0x3d8f0d,_0x3a3e74;this[_0x40e83f(0x9a)][_0x40e83f(0xde)](_0x39ca99['id'])?(_0x3d8f0d=this[_0x40e83f(0x9a)][_0x40e83f(0xf1)](_0x39ca99['id']),_0x5379a8=_0x3d8f0d[_0x40e83f(0xfe)]):(_0x5379a8=new _0x83fad2(_0x4a8c8d[_0x40e83f(0xc9)],_0x39ca99,_0x451724,{'disableComments':this[_0x40e83f(0xbc)],'editorConfig':{..._0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xcd)),'licenseKey':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xd8))},'maxCommentsWhenCollapsed':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xa7)),'maxThreadTotalWeight':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xdf)),'maxCommentCharsWhenCollapsed':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0x125)),'formatDateTime':_0x757ea7(_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xc9)),_0x4a8c8d[_0x40e83f(0xc9)]),'CommentView':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0x109))[_0x40e83f(0xa9)],'CommentsListView':_0x48465e,'CommentThreadInputView':_0x321d77,'SuggestionView':_0x2402bf}),_0x5379a8[_0x40e83f(0xc8)][_0x40e83f(0xbf)]['on'](_0x40e83f(0x120),()=>{const _0x5a005b=_0x40e83f;_0x4a8c8d[_0x5a005b(0x121)][_0x5a005b(0x95)][_0x5a005b(0x13d)]();}),_0x5379a8[_0x40e83f(0xc8)][_0x40e83f(0xf5)]['on'](_0x40e83f(0x120),()=>{const _0x45dd64=_0x40e83f;_0x4a8c8d[_0x45dd64(0x121)][_0x45dd64(0x95)][_0x45dd64(0x13d)]();}),_0x3d8f0d=_0x11a6ea[_0x40e83f(0x130)](this[_0x40e83f(0x137)][_0x40e83f(0xc9)],_0x5379a8),_0x3d8f0d[_0x40e83f(0x133)](_0x40e83f(0xf9))['to'](_0x5379a8,_0x40e83f(0xf9)),_0x3d8f0d[_0x40e83f(0x133)](_0x40e83f(0x10c))['to'](_0x5379a8),_0x3d8f0d[_0x40e83f(0x133)](_0x40e83f(0xe4))['to'](_0x5379a8,_0x40e83f(0xe4),_0x56b802=>_0x40e83f(0x142)+_0x56b802),_0x5379a8['on'](_0x40e83f(0xe7),()=>{const _0x158ef2=_0x40e83f;_0x3a3e74[_0x158ef2(0xeb)](_0x158ef2(0xe7));}),this[_0x40e83f(0x9a)][_0x40e83f(0xd0)](_0x39ca99['id'],_0x3d8f0d));const _0x495988=_0x373459[_0x40e83f(0xfa)](_0x39ca99[_0x40e83f(0xa4)],_0x5379a8),_0x18e4aa=new _0x45adc3(_0x4a8c8d,_0x39ca99,_0x5379a8,_0x495988),_0x5bae04=_0x39ca99[_0x40e83f(0x10f)]()[_0x40e83f(0xb4)](_0x43fb48=>_0x43fb48[_0x40e83f(0x11a)]);_0x5379a8[_0x40e83f(0xbb)]=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0x13e))[_0x40e83f(0x13f)][_0x40e83f(0xf8)](_0x5bae04),this[_0x40e83f(0x9b)][_0x40e83f(0xd0)](_0x39ca99,_0x18e4aa),this[_0x40e83f(0x11e)][_0x40e83f(0xd0)](_0x5379a8,_0x18e4aa);const _0x5014fc=()=>{const _0x59ac64=_0x40e83f,_0xc1d110=[],_0xe464a3=_0x39ca99[_0x59ac64(0x10f)]()[_0x59ac64(0xb4)](_0x3d31ee=>_0x3d31ee[_0x59ac64(0x11a)]);for(const _0x46a42f of _0xe464a3)_0xc1d110[_0x59ac64(0xb8)](..._0x46a42f[_0x59ac64(0xff)]());return _0x813617(_0x4a8c8d[_0x59ac64(0x121)],_0xc1d110);};_0x3a3e74=_0x11a6ea[_0x40e83f(0xe3)]({'view':_0x3d8f0d,'target':_0x5014fc,'type':()=>_0x40e83f(0x142)+_0x18e4aa[_0x40e83f(0x95)][_0x40e83f(0xe4)],'isVisible':!!_0x5014fc()}),_0x373459[_0x40e83f(0xc7)](_0x5379a8,_0x3a3e74),_0x11a6ea[_0x40e83f(0xd1)](_0x3a3e74),_0x781006[_0x40e83f(0xef)](_0x3a3e74);}[_0x527299(0xfb)](_0x4aece2){const _0x5965f0=_0x527299,_0x1a5e41=this[_0x5965f0(0x137)][_0x5965f0(0xaa)][_0x5965f0(0xf1)](_0x5965f0(0x11c)),_0x51df2e=this[_0x5965f0(0x137)][_0x5965f0(0xaa)][_0x5965f0(0xf1)](_0x5965f0(0xe1)),_0x15c361=this[_0x5965f0(0x9b)][_0x5965f0(0xf1)](_0x4aece2),_0x3bcd7b=_0x15c361[_0x5965f0(0x95)],_0x27c5c0=_0x51df2e[_0x5965f0(0xb1)](_0x3bcd7b);_0x1a5e41[_0x5965f0(0xca)](_0x3bcd7b),_0x27c5c0&&_0x51df2e[_0x5965f0(0x144)](_0x27c5c0),this[_0x5965f0(0x9b)][_0x5965f0(0x10a)](_0x4aece2),this[_0x5965f0(0x11e)][_0x5965f0(0x10a)](_0x3bcd7b),_0x15c361[_0x5965f0(0x145)]();}[_0x527299(0x131)](_0x77e914){const _0x3c521b=_0x527299;if(!_0x77e914[_0x3c521b(0x11a)]||!this[_0x3c521b(0x9b)][_0x3c521b(0xde)](_0x77e914))return;const _0x4cedeb=this[_0x3c521b(0x137)][_0x3c521b(0xaa)][_0x3c521b(0xf1)](_0x3c521b(0x13e)),_0x324f72=this[_0x3c521b(0x9b)][_0x3c521b(0xf1)](_0x77e914),_0x4c95c1=_0x77e914[_0x3c521b(0x10f)]();_0x324f72[_0x3c521b(0x95)][_0x3c521b(0xbb)]=_0x4cedeb[_0x3c521b(0x13f)][_0x3c521b(0xf8)](_0x4c95c1);}[_0x527299(0x145)](){const _0x38640f=_0x527299;for(const _0x291dda of this[_0x38640f(0x9b)][_0x38640f(0xb7)]())this[_0x38640f(0xfb)](_0x291dda);for(const _0x594df6 of this[_0x38640f(0x9a)][_0x38640f(0xc2)]())_0x594df6[_0x38640f(0xfe)][_0x38640f(0x145)]();super[_0x38640f(0x145)](),this[_0x38640f(0x13c)]&&clearInterval(this[_0x38640f(0x13c)]);}}function ve(_0x3aad63){const _0x15a1cb=_0x527299;return _0x15a1cb(0x9c)in _0x3aad63;}
|
|
23
|
+
const _0x40afc0=_0xdb8d;(function(_0x53ec3d,_0x154d72){const _0x4faf7d=_0xdb8d,_0x295156=_0x53ec3d();while(!![]){try{const _0x555efc=parseInt(_0x4faf7d(0x12f))/0x1*(-parseInt(_0x4faf7d(0x1b4))/0x2)+-parseInt(_0x4faf7d(0x1dc))/0x3*(-parseInt(_0x4faf7d(0x164))/0x4)+-parseInt(_0x4faf7d(0x18d))/0x5*(parseInt(_0x4faf7d(0x167))/0x6)+parseInt(_0x4faf7d(0x1cb))/0x7*(parseInt(_0x4faf7d(0x1cc))/0x8)+parseInt(_0x4faf7d(0x193))/0x9+parseInt(_0x4faf7d(0x196))/0xa*(parseInt(_0x4faf7d(0x14e))/0xb)+-parseInt(_0x4faf7d(0x1a6))/0xc*(parseInt(_0x4faf7d(0x1b5))/0xd);if(_0x555efc===_0x154d72)break;else _0x295156['push'](_0x295156['shift']());}catch(_0x324118){_0x295156['push'](_0x295156['shift']());}}}(_0x581f,0x9479f));import{Plugin as _0x1de772}from'ckeditor5/src/core.js';import{Collection as _0x16ea79}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x196a17}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x361a19,createDropdown as _0xb7438a,ListSeparatorView as _0x35f4bb,MenuBarMenuView as _0x2b0faa,MenuBarMenuListView as _0x213031,MenuBarMenuListItemView as _0x4cb6f7,MenuBarMenuListItemButtonView as _0xba0734,SplitButtonView as _0x3f0bca,UIModel as _0x321c6f}from'ckeditor5/src/ui.js';import{Users as _0xc172f3,getDateTimeFormatter as _0x411b90,getAllMarkersDomElementsSorted as _0x261175}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5e0fe7}from'./trackchangesediting.js';import{SuggestionController as _0x30e1b8}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x63ff7f}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x43b16e}from'./ui/view/suggestionview.js';import{getTranslation as _0x401de4}from'./utils/common-translations.js';function _0xdb8d(_0x1d42b5,_0x4e899e){const _0x581f6f=_0x581f();return _0xdb8d=function(_0xdb8d26,_0x50ed6a){_0xdb8d26=_0xdb8d26-0x12b;let _0xadf205=_0x581f6f[_0xdb8d26];return _0xadf205;},_0xdb8d(_0x1d42b5,_0x4e899e);}export class TrackChangesUI extends _0x1de772{[_0x40afc0(0x195)];[_0x40afc0(0x152)];[_0x40afc0(0x1a0)];[_0x40afc0(0x144)];[_0x40afc0(0x134)];[_0x40afc0(0x1a7)];[_0x40afc0(0x1d2)];static get[_0x40afc0(0x1ca)](){const _0x12031f=_0x40afc0;return[_0x5e0fe7,_0xc172f3,_0x12031f(0x179),_0x12031f(0x1c0),_0x12031f(0x171)];}static get[_0x40afc0(0x149)](){const _0x4b4da2=_0x40afc0;return _0x4b4da2(0x1db);}static get[_0x40afc0(0x155)](){return!0x0;}static get[_0x40afc0(0x1d4)](){return!0x0;}constructor(_0x285c38){const _0x1e90d6=_0x40afc0;super(_0x285c38),this[_0x1e90d6(0x1a0)]=new Map(),this[_0x1e90d6(0x144)]=new Map(),this[_0x1e90d6(0x134)]=new Map(),this[_0x1e90d6(0x1a7)]=new Map();const _0xdd9608=this[_0x1e90d6(0x1ce)][_0x1e90d6(0x1c2)];_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x175),_0x63ff7f),_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x145),_0x43b16e),_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x16b),!0x1),this[_0x1e90d6(0x1d2)]=_0xdd9608[_0x1e90d6(0x13c)](_0x1e90d6(0x16b));}[_0x40afc0(0x1c9)](_0x3c3ecf,_0x3ca12d){const _0x330975=_0x40afc0;0x0===this[_0x330975(0x1a7)][_0x330975(0x136)]&&setTimeout(()=>{const _0x11fb14=_0x330975;for(const [_0x139402,_0x224e4e]of this[_0x11fb14(0x1a7)]){const _0x3dd4ef=this[_0x11fb14(0x1a0)][_0x11fb14(0x1c7)](_0x139402);_0x3dd4ef||_0x224e4e?_0x3dd4ef&&_0x224e4e&&this[_0x11fb14(0x138)](_0x139402):this[_0x11fb14(0x1be)](_0x139402);}this[_0x11fb14(0x1a7)][_0x11fb14(0x1cf)](),this[_0x11fb14(0x1ce)][_0x11fb14(0x1af)][_0x11fb14(0x13c)](_0x11fb14(0x171))[_0x11fb14(0x16f)](),this[_0x11fb14(0x157)]();},0xa),this[_0x330975(0x1a7)][_0x330975(0x1a9)](_0x3c3ecf,_0x3ca12d);}[_0x40afc0(0x16d)](){const _0x43df2a=_0x40afc0,_0x5da2d8=this[_0x43df2a(0x1ce)],_0x5c3a0a=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x13a)),_0x22efa8=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x1c0)),_0x20fd7d=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x171)),_0x32c5fb=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x179));this[_0x43df2a(0x198)](),_0x20fd7d[_0x43df2a(0x1b1)](()=>{const _0x5a6cb6=_0x43df2a,_0x59cc0c=[];for(const [_0x1b5e8b,_0x1e77de]of Array[_0x5a6cb6(0x17d)](this[_0x5a6cb6(0x1a0)])){const _0xf8ef1c=_0x1b5e8b[_0x5a6cb6(0x1a5)](),_0x4a5472=[];for(const _0x5be534 of _0xf8ef1c){if(!_0x5be534[_0x5a6cb6(0x182)])continue;if(_0x5be534[_0x5a6cb6(0x197)]){_0x4a5472[_0x5a6cb6(0x14d)](..._0x5be534[_0x5a6cb6(0x13e)]());continue;}const _0x225cb1=_0x5be534[_0x5a6cb6(0x187)]();if(_0x4a5472[_0x5a6cb6(0x12e)]>0x0){const _0x39a34e=_0x4a5472[0x0][_0x5a6cb6(0x17f)](_0x225cb1);if(_0x39a34e){_0x4a5472[0x0]=_0x39a34e;continue;}}_0x4a5472[_0x5a6cb6(0x14d)](_0x225cb1);}_0x59cc0c[_0x5a6cb6(0x14d)]([_0x1e77de[_0x5a6cb6(0x12d)],_0x4a5472]);}return _0x59cc0c;}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x1b8),(_0x6183a8,_0x4b2435)=>{const _0x4ec302=_0x43df2a;this[_0x4ec302(0x191)](_0x4b2435,_0x4ec302(0x181),(_0x2b7293,_0x137712,_0x1f1e15,_0x4d944e)=>{const _0x19dd05=_0x4ec302;_0x4b2435[_0x19dd05(0x182)]&&(null==_0x1f1e15?(this[_0x19dd05(0x1d0)](_0x4d944e[_0x19dd05(0x192)]),this[_0x19dd05(0x1c9)](_0x4b2435,!0x1)):(this[_0x19dd05(0x1d0)](_0x1f1e15[_0x19dd05(0x192)]),null==_0x4d944e&&this[_0x19dd05(0x1c9)](_0x4b2435,!0x0)));}),null!==_0x4b2435[_0x4ec302(0x15f)]?this[_0x4ec302(0x1d0)](_0x4b2435[_0x4ec302(0x192)]):this[_0x4ec302(0x1c9)](_0x4b2435,!0x1);}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x140),(_0x367f79,_0x2d0e5c,_0x8a2f5b)=>{const _0xa98e1d=_0x43df2a;this[_0xa98e1d(0x159)](_0x2d0e5c,_0xa98e1d(0x181)),this[_0xa98e1d(0x1a7)][_0xa98e1d(0x163)](_0x2d0e5c),this[_0xa98e1d(0x1a0)][_0xa98e1d(0x1c7)](_0x2d0e5c)&&this[_0xa98e1d(0x138)](_0x2d0e5c),_0x8a2f5b&&this[_0xa98e1d(0x1d0)](_0x8a2f5b[_0xa98e1d(0x192)]);}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x178),(_0x3fd42e,_0x24a19d)=>{const _0x55756b=_0x43df2a;this[_0x55756b(0x1d0)](_0x24a19d);}),this[_0x43df2a(0x191)](_0x22efa8,_0x43df2a(0x199),()=>{const _0x2a030d=_0x43df2a;this[_0x2a030d(0x157)]();}),this[_0x43df2a(0x191)](_0x32c5fb,_0x43df2a(0x189),(_0x51e051,{threadId:_0x7decf4,isFromAdapter:_0x4caa72})=>{const _0x1b568d=_0x43df2a;if(_0x4caa72||!_0x5c3a0a[_0x1b568d(0x1d7)](_0x7decf4))return;const _0x1d29c8=_0x5c3a0a[_0x1b568d(0x165)](_0x7decf4);this[_0x1b568d(0x1a0)][_0x1b568d(0x13c)](_0x1d29c8)[_0x1b568d(0x12d)][_0x1b568d(0x176)][_0x1b568d(0x18f)](-0x1);},{'priority':_0x43df2a(0x15b)}),this[_0x43df2a(0x195)]=this[_0x43df2a(0x1ce)][_0x43df2a(0x1c2)][_0x43df2a(0x13c)](_0x43df2a(0x195));const _0x525201=this[_0x43df2a(0x1ce)];this[_0x43df2a(0x152)]=setInterval(()=>{const _0x801c71=_0x43df2a;let _0xbd818d;for(const _0x1a5ac8 in _0x525201){const _0x31cea1=_0x1a5ac8,_0x45314c=_0x525201[_0x31cea1];if(_0x801c71(0x1bc)==_0x45314c||_0x801c71(0x130)==_0x45314c||_0x801c71(0x1cd)==_0x45314c||_0x801c71(0x172)==_0x45314c||_0x801c71(0x19c)==_0x45314c||_0x801c71(0x1b9)==_0x45314c||_0x801c71(0x1b3)==_0x45314c||_0x801c71(0x1c5)==_0x45314c){delete _0x525201[_0x31cea1],_0xbd818d=_0x45314c,clearInterval(this[_0x801c71(0x152)]),this[_0x801c71(0x152)]=void 0x0;break;}}_0x801c71(0x130)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x14f)),_0x801c71(0x1cd)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x137)),_0x801c71(0x172)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x1c1)),_0x801c71(0x19c)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x131),_0x801c71(0x1bb)),_0x801c71(0x1b9)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x133)),_0x801c71(0x1b3)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x19f)),_0x801c71(0x1c5)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x19b));},0x3e8);}[_0x40afc0(0x1d5)](_0x487394){const _0x2378ab=_0x40afc0,_0x284abd=this[_0x2378ab(0x1a0)][_0x2378ab(0x13c)](_0x487394);if(!_0x284abd)return null;return this[_0x2378ab(0x1ce)][_0x2378ab(0x1af)][_0x2378ab(0x13c)](_0x2378ab(0x1c0))[_0x2378ab(0x143)](_0x284abd[_0x2378ab(0x12d)])||null;}[_0x40afc0(0x132)](_0x7495be){const _0xe1a436=_0x40afc0,_0x393d27=this[_0xe1a436(0x144)][_0xe1a436(0x13c)](_0x7495be[_0xe1a436(0x194)]);return _0x393d27?_0x393d27[_0xe1a436(0x14a)]:null;}[_0x40afc0(0x157)](){const _0x575530=_0x40afc0,_0x86152a=this[_0x575530(0x1ce)][_0x575530(0x1af)][_0x575530(0x13c)](_0x575530(0x1c0)),_0x14eb26=this[_0x575530(0x1ce)][_0x575530(0x1af)][_0x575530(0x13c)](_0x575530(0x13a)),_0x628181=Array[_0x575530(0x17d)](_0x86152a[_0x575530(0x15a)],_0x19f771=>_0x19f771[_0x575530(0x194)])[_0x575530(0x12c)](_0x26c78f=>this[_0x575530(0x144)][_0x575530(0x1c7)](_0x26c78f)),_0x2f1b40=[];for(const _0x310b8b of _0x628181){const _0x4dddd7=this[_0x575530(0x144)][_0x575530(0x13c)](_0x310b8b)[_0x575530(0x14a)][_0x575530(0x1a5)]();_0x2f1b40[_0x575530(0x14d)](..._0x4dddd7[_0x575530(0x14c)]((_0x5e1477,_0x4bc352)=>[..._0x5e1477,..._0x4bc352[_0x575530(0x17c)]()],[]));}_0x14eb26[_0x575530(0x173)]=_0x2f1b40;}[_0x40afc0(0x198)](){const _0xb84e3b=_0x40afc0,_0x3f0cac=this[_0xb84e3b(0x1ce)],_0x3f6a72=_0x3f0cac[_0xb84e3b(0x161)],_0x461565=_0x401de4(_0x3f6a72,_0xb84e3b(0x1c4)),_0xd35f4e=new _0x16ea79([{'type':_0xb84e3b(0x190),'model':new _0x321c6f({'withText':!0x0,'isToggleable':!0x0,'label':_0x461565,'commandName':_0xb84e3b(0x1da),'role':_0xb84e3b(0x180)})},{'type':_0xb84e3b(0x154)},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x19d)),'commandName':_0xb84e3b(0x168),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x13b)),'commandName':_0xb84e3b(0x147),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x1d6)),'commandName':_0xb84e3b(0x1de),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x1ac)),'commandName':_0xb84e3b(0x15d),'role':_0xb84e3b(0x1c6)})}]);_0x3f0cac[_0xb84e3b(0x1af)][_0xb84e3b(0x1c7)](_0xb84e3b(0x170))&&_0xd35f4e[_0xb84e3b(0x160)]([{'type':_0xb84e3b(0x154)},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x166)),'commandName':_0xb84e3b(0x1ba),'role':_0xb84e3b(0x1c6)})}]);for(const _0x33f498 of _0xd35f4e)if(ve(_0x33f498)){const _0x29f976=_0x3f0cac[_0xb84e3b(0x18c)][_0xb84e3b(0x13c)](_0x33f498[_0xb84e3b(0x14a)][_0xb84e3b(0x15c)]);_0x33f498[_0xb84e3b(0x14a)][_0xb84e3b(0x158)](_0xb84e3b(0x18e),_0xb84e3b(0x17e))['to'](_0x29f976,_0xb84e3b(0x1bd),_0xb84e3b(0x17e));}_0x3f0cac['ui'][_0xb84e3b(0x148)][_0xb84e3b(0x1d9)](_0xb84e3b(0x1da),_0x2d1441=>this[_0xb84e3b(0x18b)](_0x2d1441,_0xd35f4e,_0x461565)),_0x3f0cac['ui'][_0xb84e3b(0x148)][_0xb84e3b(0x1d9)](_0xb84e3b(0x1b2),_0x2da568=>this[_0xb84e3b(0x174)](_0x2da568,_0xd35f4e,_0x461565));}[_0x40afc0(0x18b)](_0x169347,_0x53af46,_0x596a0a){const _0x1e247f=_0x40afc0,_0x1d3305=_0xb7438a(_0x169347,_0x3f0bca),_0x33c6ca=this[_0x1e247f(0x1ce)][_0x1e247f(0x18c)][_0x1e247f(0x13c)](_0x1e247f(0x1da));_0x1d3305[_0x1e247f(0x183)][_0x1e247f(0x1a9)]({'tooltip':_0x596a0a,'label':_0x596a0a,'icon':_0x196a17}),_0x1d3305[_0x1e247f(0x183)][_0x1e247f(0x158)](_0x1e247f(0x18e))['to'](_0x33c6ca,_0x1e247f(0x1bd)),_0x1d3305[_0x1e247f(0x183)]['on'](_0x1e247f(0x1b0),()=>{const _0x33aa93=_0x1e247f;_0x33c6ca[_0x33aa93(0x1b0)](),this[_0x33aa93(0x1ce)][_0x33aa93(0x188)][_0x33aa93(0x12d)][_0x33aa93(0x18f)]();}),_0x361a19(_0x1d3305,_0x53af46,{'role':_0x1e247f(0x184)});const _0x2f911e=[];for(const _0x3ba653 of _0x53af46)ve(_0x3ba653)&&_0x2f911e[_0x1e247f(0x14d)](this[_0x1e247f(0x1ce)][_0x1e247f(0x18c)][_0x1e247f(0x13c)](_0x3ba653[_0x1e247f(0x14a)][_0x1e247f(0x15c)]));const _0x5df2d1=_0x1d3305[_0x1e247f(0x183)];return _0x5df2d1[_0x1e247f(0x1aa)][_0x1e247f(0x16e)](_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x19a)][_0x1e247f(0x16e)](_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x1aa)][_0x1e247f(0x158)](_0x1e247f(0x17e))['to'](_0x33c6ca,_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x19a)][_0x1e247f(0x158)](_0x1e247f(0x17e))[_0x1e247f(0x146)](_0x2f911e,_0x1e247f(0x17e),(..._0x23e79f)=>_0x23e79f[_0x1e247f(0x150)](_0x482024=>_0x482024)),_0x1d3305['on'](_0x1e247f(0x1b0),_0x167036=>{const _0x5c8346=_0x1e247f;this[_0x5c8346(0x1ce)][_0x5c8346(0x1b0)](_0x167036[_0x5c8346(0x177)][_0x5c8346(0x15c)]),this[_0x5c8346(0x1ce)][_0x5c8346(0x188)][_0x5c8346(0x12d)][_0x5c8346(0x18f)]();}),_0x1d3305;}[_0x40afc0(0x174)](_0x32cdf8,_0x171546,_0x5c7d59){const _0x57025b=_0x40afc0,_0x47f1fb=new _0x2b0faa(_0x32cdf8),_0x3fae57=this[_0x57025b(0x1ce)][_0x57025b(0x18c)][_0x57025b(0x13c)](_0x57025b(0x1da));_0x47f1fb[_0x57025b(0x183)][_0x57025b(0x1a9)]({'label':_0x5c7d59,'icon':_0x196a17});const _0x33d039=new _0x213031(_0x32cdf8);for(const _0x8a5eaf of _0x171546){if(_0x57025b(0x154)==_0x8a5eaf[_0x57025b(0x19e)]){_0x33d039[_0x57025b(0x15e)][_0x57025b(0x1d9)](new _0x35f4bb(_0x32cdf8));continue;}const _0x5a3b9f=new _0x4cb6f7(_0x32cdf8,_0x47f1fb),_0x1986bb=new _0xba0734(_0x32cdf8),_0x27d957=_0x8a5eaf[_0x57025b(0x14a)];_0x1986bb[_0x57025b(0x158)](...Object[_0x57025b(0x1c3)](_0x27d957))['to'](_0x27d957),_0x1986bb[_0x57025b(0x1ad)](_0x57025b(0x1b0))['to'](_0x47f1fb),_0x1986bb['on'](_0x57025b(0x1b0),()=>{const _0x36204b=_0x57025b;this[_0x36204b(0x1ce)][_0x36204b(0x1b0)](_0x27d957[_0x36204b(0x15c)]),this[_0x36204b(0x1ce)][_0x36204b(0x188)][_0x36204b(0x12d)][_0x36204b(0x18f)]();}),_0x5a3b9f[_0x57025b(0x1a8)][_0x57025b(0x1d9)](_0x1986bb),_0x33d039[_0x57025b(0x15e)][_0x57025b(0x1d9)](_0x5a3b9f);}return _0x47f1fb[_0x57025b(0x158)](_0x57025b(0x17e))['to'](_0x3fae57,_0x57025b(0x17e)),_0x47f1fb[_0x57025b(0x151)][_0x57025b(0x1a8)][_0x57025b(0x1d9)](_0x33d039),_0x47f1fb;}[_0x40afc0(0x1be)](_0x319ce4){const _0x7c54c4=_0x40afc0,_0x3a5950=this[_0x7c54c4(0x1ce)],_0x2bc5a3=_0x3a5950[_0x7c54c4(0x1c2)],_0xfb35d7=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x1c0)),_0x53edde=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x179)),_0x2d5b78=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x171)),_0x25891b=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0xc172f3)['me'],_0x31d084=_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1da))[_0x7c54c4(0x139)],_0x511426=_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1da))[_0x7c54c4(0x1b7)],{CommentsListView:_0x4236d5,CommentThreadInputView:_0x5eeec7}=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x169));let _0x5ac0ec,_0xd4a37c,_0x8935f6;this[_0x7c54c4(0x134)][_0x7c54c4(0x1c7)](_0x319ce4['id'])?(_0xd4a37c=this[_0x7c54c4(0x134)][_0x7c54c4(0x13c)](_0x319ce4['id']),_0x5ac0ec=_0xd4a37c[_0x7c54c4(0x16a)]):(_0x5ac0ec=new _0x31d084(_0x3a5950[_0x7c54c4(0x161)],_0x319ce4,_0x25891b,{'disableComments':this[_0x7c54c4(0x1d2)],'editorConfig':{..._0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x153)),'licenseKey':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x195))},'maxCommentsWhenCollapsed':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x162)),'maxThreadTotalWeight':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x17b)),'maxCommentCharsWhenCollapsed':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1b6)),'formatDateTime':_0x411b90(_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x161)),_0x3a5950[_0x7c54c4(0x161)]),'CommentView':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x17a))[_0x7c54c4(0x1d3)],'CommentsListView':_0x4236d5,'CommentThreadInputView':_0x5eeec7,'SuggestionView':_0x511426}),_0x5ac0ec[_0x7c54c4(0x16c)][_0x7c54c4(0x186)]['on'](_0x7c54c4(0x1b0),()=>{const _0x586fa7=_0x7c54c4;_0x3a5950[_0x586fa7(0x188)][_0x586fa7(0x12d)][_0x586fa7(0x18f)]();}),_0x5ac0ec[_0x7c54c4(0x16c)][_0x7c54c4(0x1d8)]['on'](_0x7c54c4(0x1b0),()=>{const _0x4f333a=_0x7c54c4;_0x3a5950[_0x4f333a(0x188)][_0x4f333a(0x12d)][_0x4f333a(0x18f)]();}),_0xd4a37c=_0xfb35d7[_0x7c54c4(0x142)](this[_0x7c54c4(0x1ce)][_0x7c54c4(0x161)],_0x5ac0ec),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x1a1))['to'](_0x5ac0ec,_0x7c54c4(0x1a1)),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x12e))['to'](_0x5ac0ec),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x19e))['to'](_0x5ac0ec,_0x7c54c4(0x19e),_0x387fed=>_0x7c54c4(0x1a2)+_0x387fed),_0x5ac0ec['on'](_0x7c54c4(0x1ab),()=>{const _0x1fe4cb=_0x7c54c4;_0x8935f6[_0x1fe4cb(0x1c8)](_0x1fe4cb(0x1ab));}),this[_0x7c54c4(0x134)][_0x7c54c4(0x1a9)](_0x319ce4['id'],_0xd4a37c));const _0x45bfb7=_0x53edde[_0x7c54c4(0x18a)](_0x319ce4[_0x7c54c4(0x1d1)],_0x5ac0ec),_0x191bc7=new _0x30e1b8(_0x3a5950,_0x319ce4,_0x5ac0ec,_0x45bfb7),_0x202977=_0x319ce4[_0x7c54c4(0x1a5)]()[_0x7c54c4(0x12c)](_0x404e83=>_0x404e83[_0x7c54c4(0x182)]);_0x5ac0ec[_0x7c54c4(0x1df)]=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x13a))[_0x7c54c4(0x1dd)][_0x7c54c4(0x135)](_0x202977),this[_0x7c54c4(0x1a0)][_0x7c54c4(0x1a9)](_0x319ce4,_0x191bc7),this[_0x7c54c4(0x144)][_0x7c54c4(0x1a9)](_0x5ac0ec,_0x191bc7);const _0x4fd35a=()=>{const _0x4256e3=_0x7c54c4,_0x42f46c=[],_0xa571cd=_0x319ce4[_0x4256e3(0x1a5)]()[_0x4256e3(0x12c)](_0x28db99=>_0x28db99[_0x4256e3(0x182)]);for(const _0x237782 of _0xa571cd)_0x42f46c[_0x4256e3(0x14d)](..._0x237782[_0x4256e3(0x141)]());return _0x261175(_0x3a5950[_0x4256e3(0x188)],_0x42f46c);};_0x8935f6=_0xfb35d7[_0x7c54c4(0x1ae)]({'view':_0xd4a37c,'target':_0x4fd35a,'type':()=>_0x7c54c4(0x1a2)+_0x191bc7[_0x7c54c4(0x12d)][_0x7c54c4(0x19e)],'isVisible':!!_0x4fd35a()}),_0x53edde[_0x7c54c4(0x1a3)](_0x5ac0ec,_0x8935f6),_0xfb35d7[_0x7c54c4(0x1d9)](_0x8935f6),_0x2d5b78[_0x7c54c4(0x1bf)](_0x8935f6);}[_0x40afc0(0x138)](_0xb96b50){const _0x422a73=_0x40afc0,_0x1db6f0=this[_0x422a73(0x1ce)][_0x422a73(0x1af)][_0x422a73(0x13c)](_0x422a73(0x179)),_0x5a5b78=this[_0x422a73(0x1ce)][_0x422a73(0x1af)][_0x422a73(0x13c)](_0x422a73(0x1c0)),_0x58db59=this[_0x422a73(0x1a0)][_0x422a73(0x13c)](_0xb96b50),_0x39e96d=_0x58db59[_0x422a73(0x12d)],_0x26f22d=_0x5a5b78[_0x422a73(0x143)](_0x39e96d);_0x1db6f0[_0x422a73(0x185)](_0x39e96d),_0x26f22d&&_0x5a5b78[_0x422a73(0x156)](_0x26f22d),this[_0x422a73(0x1a0)][_0x422a73(0x163)](_0xb96b50),this[_0x422a73(0x144)][_0x422a73(0x163)](_0x39e96d),_0x58db59[_0x422a73(0x13f)]();}[_0x40afc0(0x1d0)](_0x17ce0f){const _0x4d25e5=_0x40afc0;if(!_0x17ce0f[_0x4d25e5(0x182)]||!this[_0x4d25e5(0x1a0)][_0x4d25e5(0x1c7)](_0x17ce0f))return;const _0x41e2ea=this[_0x4d25e5(0x1ce)][_0x4d25e5(0x1af)][_0x4d25e5(0x13c)](_0x4d25e5(0x13a)),_0x16c3d8=this[_0x4d25e5(0x1a0)][_0x4d25e5(0x13c)](_0x17ce0f),_0x47b378=_0x17ce0f[_0x4d25e5(0x1a5)]();_0x16c3d8[_0x4d25e5(0x12d)][_0x4d25e5(0x1df)]=_0x41e2ea[_0x4d25e5(0x1dd)][_0x4d25e5(0x135)](_0x47b378);}[_0x40afc0(0x13f)](){const _0x376246=_0x40afc0;for(const _0x5c9105 of this[_0x376246(0x1a0)][_0x376246(0x1c3)]())this[_0x376246(0x138)](_0x5c9105);for(const _0x25dff7 of this[_0x376246(0x134)][_0x376246(0x12b)]())_0x25dff7[_0x376246(0x16a)][_0x376246(0x13f)]();super[_0x376246(0x13f)](),this[_0x376246(0x152)]&&clearInterval(this[_0x376246(0x152)]);}}function _0x581f(){const _0x950c5e=['Annotations','domainLimit','config','keys','Track\x20changes','trackChangesLicenseKeyUsageLimit','menuitem','has','fire','_handleSuggestionControllerDelayed','requires','42lLccCj','979024GMTsUJ','trackChangesLicenseKeyExpired','editor','clear','_updateController','commentThread','_disableComments','CommentView','isPremiumPlugin','getAnnotationForSuggestion','Discard\x20all\x20suggestions','hasSuggestion','discardButton','add','trackChanges','TrackChangesUI','42oJGxFm','descriptionFactory','discardAllSuggestions','descriptionParts','values','filter','view','length','5jbUtny','trackChangesLicenseKeyInvalid','featureNotAllowed','getSuggestionForAnnotation','evaluationLimit','_annotationViews','getDescriptions','size','expired','_destroyController','SuggestionThreadView','TrackChangesEditing','Accept\x20all\x20selected\x20suggestions','get','define','getRanges','destroy','suggestionUnloaded','getMarkers','createAnnotationView','getByInnerView','_viewToController','trackChanges.SuggestionView','toMany','acceptSelectedSuggestions','componentFactory','pluginName','model','_showLicenseError','reduce','push','730411JlMqDU','invalid','some','panelView','_licenseKeyCheckInterval','comments.editorConfig','separator','isOfficialPlugin','remove','_refreshActiveMarkers','bind','stopListening','activeAnnotations','lowest','commandName','discardSelectedSuggestions','items','previous','addMany','locale','comments.maxCommentsWhenCollapsed','delete','289724iJNjyU','getSuggestion','Preview\x20final\x20content','1793556SGPcYf','acceptAllSuggestions','CommentsUI','mainView','trackChanges.disableComments','suggestionView','init','unbind','refreshSelectedViews','TrackChangesPreview','EditorAnnotations','trackChangesLicenseKeyDomainLimit','activeMarkers','_createMenuBarMenu','trackChanges.SuggestionThreadView','commentsListView','source','suggestionChanged','CommentsRepository','comments','comments.maxThreadTotalWeight','getMarkerNames','from','isEnabled','getJoined','menuitemcheckbox','change:previous','isInContent','buttonView','menu','_unbindEditors','acceptButton','getFirstRange','editing','addComment','createCommentThreadController','_createToolbarButton','commands','20vHmUiT','isOn','focus','switchbutton','listenTo','head','3515121cRStxS','innerView','licenseKey','40TmOGnE','isMultiRange','_addUIComponentsToFactory','change:activeAnnotations','arrowView','usageLimit','trackChangesLicenseKeyNotAllowed','Accept\x20all\x20suggestions','type','trialLimit','_suggestionToController','isDirty','suggestion-','_bindAnnotationToEditors','button','getAllAdjacentSuggestions','117732phmZWx','_handleControllerBuffer','children','set','actionView','escape','Discard\x20all\x20selected\x20suggestions','delegate','createAnnotation','plugins','execute','addSourceCollector','menuBar:trackChanges','trackChangesLicenseKeyTrialLimit','16554PGBtNY','741lgcTMd','comments.maxCommentCharsWhenCollapsed','SuggestionView','suggestionLoaded','trackChangesLicenseKeyEvaluationLimit','previewFinalContent','TrackChanges','trackChangesLicenseKeyValid','value','_initializeController','registerAnnotation'];_0x581f=function(){return _0x950c5e;};return _0x581f();}function ve(_0x19dbc7){const _0x3b5585=_0x40afc0;return _0x3b5585(0x14a)in _0x19dbc7;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3ab8c3=_0x30ef;function _0x21c3(){const _0x2eea9e=['change:isDirty','locale','3229008QvClGI','918764UOWRPn','39bBZMCe','448244PHokfn','2355230jsXJVQ','commentThreadController','unbind','listenTo','model','20VOMmtG','canAccept','remove','acceptSuggestion','stopListening','15114iBSrnj','getRanges','isEnabled','discardSuggestion','_setPendingAction','44507jbGnIo','PendingActions','_editor','22iVtHxY','destroy','3oCLrim','_removePendingAction','889dAhACC','view','isDirty','commands','get','add','PENDING_ACTION_SUGGESTION','_acceptCommand','bind','plugins','execute','_pendingAction','canEditAt','656BORPQv','50310PBxfer','_discardCommand','canDiscard'];_0x21c3=function(){return _0x2eea9e;};return _0x21c3();}(function(_0x59d56b,_0x137780){const _0x40bbfa=_0x30ef,_0x4382ac=_0x59d56b();while(!![]){try{const _0x4b3f7e=-parseInt(_0x40bbfa(0x72))/0x1*(-parseInt(_0x40bbfa(0x75))/0x2)+parseInt(_0x40bbfa(0x77))/0x3*(-parseInt(_0x40bbfa(0x8f))/0x4)+parseInt(_0x40bbfa(0x90))/0x5+-parseInt(_0x40bbfa(0x6d))/0x6*(parseInt(_0x40bbfa(0x79))/0x7)+-parseInt(_0x40bbfa(0x86))/0x8*(-parseInt(_0x40bbfa(0x87))/0x9)+-parseInt(_0x40bbfa(0x95))/0xa*(-parseInt(_0x40bbfa(0x8d))/0xb)+parseInt(_0x40bbfa(0x8c))/0xc*(-parseInt(_0x40bbfa(0x8e))/0xd);if(_0x4b3f7e===_0x137780)break;else _0x4382ac['push'](_0x4382ac['shift']());}catch(_0x1dba86){_0x4382ac['push'](_0x4382ac['shift']());}}}(_0x21c3,0x54ac9));import{ObservableMixin as _0x343941}from'ckeditor5/src/utils.js';function _0x30ef(_0x547914,_0x53a22a){const _0x21c370=_0x21c3();return _0x30ef=function(_0x30ef67,_0x22c1b8){_0x30ef67=_0x30ef67-0x6c;let _0x3f6563=_0x21c370[_0x30ef67];return _0x3f6563;},_0x30ef(_0x547914,_0x53a22a);}import{getTranslation as _0x4b0e81}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x343941(){[_0x3ab8c3(0x94)];[_0x3ab8c3(0x7a)];[_0x3ab8c3(0x91)];[_0x3ab8c3(0x74)];[_0x3ab8c3(0x80)];[_0x3ab8c3(0x88)];[_0x3ab8c3(0x84)];constructor(_0x5b5450,_0x181066,_0x1a7c94,_0x534872){const _0x7d9f97=_0x3ab8c3;super(),this[_0x7d9f97(0x94)]=_0x181066,this[_0x7d9f97(0x7a)]=_0x1a7c94,this[_0x7d9f97(0x91)]=_0x534872,this[_0x7d9f97(0x74)]=_0x5b5450,this[_0x7d9f97(0x80)]=_0x5b5450[_0x7d9f97(0x7c)][_0x7d9f97(0x7d)](_0x7d9f97(0x98)),this[_0x7d9f97(0x88)]=_0x5b5450[_0x7d9f97(0x7c)][_0x7d9f97(0x7d)](_0x7d9f97(0x70)),this[_0x7d9f97(0x7a)][_0x7d9f97(0x81)](_0x7d9f97(0x6f))['to'](this[_0x7d9f97(0x80)],this[_0x7d9f97(0x88)],(_0x56ad4c,_0xc10472)=>_0x56ad4c||_0xc10472),this[_0x7d9f97(0x7a)][_0x7d9f97(0x81)](_0x7d9f97(0x96))['to'](this[_0x7d9f97(0x80)],_0x7d9f97(0x6f),_0x4dd296=>_0x4dd296&&this[_0x7d9f97(0x74)][_0x7d9f97(0x94)][_0x7d9f97(0x85)](_0x181066[_0x7d9f97(0x6e)]())),this[_0x7d9f97(0x7a)][_0x7d9f97(0x81)](_0x7d9f97(0x89))['to'](this[_0x7d9f97(0x88)],_0x7d9f97(0x6f),_0x112f14=>_0x112f14&&this[_0x7d9f97(0x74)][_0x7d9f97(0x94)][_0x7d9f97(0x85)](_0x181066[_0x7d9f97(0x6e)]())),this[_0x7d9f97(0x84)]=null,_0x1a7c94[_0x7d9f97(0x7b)]&&this[_0x7d9f97(0x71)](),this[_0x7d9f97(0x93)](_0x1a7c94,_0x7d9f97(0x98),()=>this[_0x7d9f97(0x98)]()),this[_0x7d9f97(0x93)](_0x1a7c94,_0x7d9f97(0x70),()=>this[_0x7d9f97(0x70)]()),this[_0x7d9f97(0x93)](_0x1a7c94,_0x7d9f97(0x8a),()=>{const _0x50a8df=_0x7d9f97;_0x1a7c94[_0x50a8df(0x7b)]?this[_0x50a8df(0x71)]():this[_0x50a8df(0x78)]();});}[_0x3ab8c3(0x98)](){const _0x410057=_0x3ab8c3;this[_0x410057(0x80)][_0x410057(0x83)](this[_0x410057(0x94)]['id']);}[_0x3ab8c3(0x70)](){const _0x427415=_0x3ab8c3;this[_0x427415(0x88)][_0x427415(0x83)](this[_0x427415(0x94)]['id']);}[_0x3ab8c3(0x76)](){const _0x2ce4af=_0x3ab8c3;this[_0x2ce4af(0x7a)][_0x2ce4af(0x92)](_0x2ce4af(0x6f)),this[_0x2ce4af(0x7a)][_0x2ce4af(0x92)](_0x2ce4af(0x96)),this[_0x2ce4af(0x7a)][_0x2ce4af(0x92)](_0x2ce4af(0x89)),this[_0x2ce4af(0x6c)](),this[_0x2ce4af(0x91)][_0x2ce4af(0x76)](),this[_0x2ce4af(0x84)]&&this[_0x2ce4af(0x78)]();}[_0x3ab8c3(0x71)](){const _0xd61dfe=_0x3ab8c3,_0x1d5154=_0x4b0e81(this[_0xd61dfe(0x74)][_0xd61dfe(0x8b)],_0xd61dfe(0x7f));this[_0xd61dfe(0x84)]=this[_0xd61dfe(0x74)][_0xd61dfe(0x82)][_0xd61dfe(0x7d)](_0xd61dfe(0x73))[_0xd61dfe(0x7e)](_0x1d5154);}[_0x3ab8c3(0x78)](){const _0x46dada=_0x3ab8c3;null!==this[_0x46dada(0x84)]&&this[_0x46dada(0x74)][_0x46dada(0x82)][_0x46dada(0x7d)](_0x46dada(0x73))[_0x46dada(0x97)](this[_0x46dada(0x84)]),this[_0x46dada(0x84)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3daa6c=_0x2e8d;(function(_0xe98d8d,_0x2f6d0f){const _0x55da0c=_0x2e8d,_0x97ef79=_0xe98d8d();while(!![]){try{const _0x13612b=parseInt(_0x55da0c(0x16a))/0x1*(-parseInt(_0x55da0c(0x19b))/0x2)+parseInt(_0x55da0c(0x1a9))/0x3+-parseInt(_0x55da0c(0x16f))/0x4*(-parseInt(_0x55da0c(0x1af))/0x5)+parseInt(_0x55da0c(0x1ae))/0x6*(parseInt(_0x55da0c(0x1a4))/0x7)+parseInt(_0x55da0c(0x1a5))/0x8*(parseInt(_0x55da0c(0x191))/0x9)+parseInt(_0x55da0c(0x179))/0xa+parseInt(_0x55da0c(0x18b))/0xb*(-parseInt(_0x55da0c(0x1ad))/0xc);if(_0x13612b===_0x2f6d0f)break;else _0x97ef79['push'](_0x97ef79['shift']());}catch(_0x3d36ff){_0x97ef79['push'](_0x97ef79['shift']());}}}(_0x54a3,0x265e3));function _0x54a3(){const _0x1d2e85=['map','canAccept','name','_localUser','text/html','2538130FZhhnA','disableComments','hasDirtyComment','descriptionParts','tab','destroy','commentsListView','submit','CommentView','_createCommentThreadInputView','cancel','addComment','delegate','length','SUGGESTION_THREAD_DESCRIPTION','isEnabled','setData','focus','3135077qKQQoi','element','isReadOnly','focusCycler','fire','removeComment','90THSKxH','target','ariaLabel','canDiscard','shift+tab','updateComment','body','commentThreadInputView','_model','locale','2aPvaLQ','set','commentThread','content','bind','editorConfig','render','editor','keystrokes','1771364TiQJOW','74592cCzNmk','author','_createCommentViews','disabledSubmit','108573zarffV','showInput','isDirty','join','12SMSbJk','6WyDjDc','335NFsTEb','commentInputView','focusables','isActive','_config','SUGGESTION_THREAD_ARIA_LABEL','262541CrQvNO','authoredAt','textContent','focusTracker','formatDateTime','4084eeLeWq','value','parseFromString','assign','ariaDescriptionView'];_0x54a3=function(){return _0x1d2e85;};return _0x54a3();}import{FocusCycler as _0x24f1ec,View as _0x2da05a,ViewCollection as _0x104f06}from'ckeditor5/src/ui.js';import{FocusTracker as _0x21e562,KeystrokeHandler as _0x294e1b}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3d2876,setupThreadKeyboardNavigation as _0x455519}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2e8d(_0x1e0196,_0x25e05f){const _0x54a3f4=_0x54a3();return _0x2e8d=function(_0x2e8d01,_0xadab9e){_0x2e8d01=_0x2e8d01-0x169;let _0x3e90e0=_0x54a3f4[_0x2e8d01];return _0x3e90e0;},_0x2e8d(_0x1e0196,_0x25e05f);}import{getTranslation as _0x508124}from'../../utils/common-translations.js';import{renderDescription as _0x7f3cec}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x2da05a{[_0x3daa6c(0x17f)];[_0x3daa6c(0x198)];[_0x3daa6c(0x173)];[_0x3daa6c(0x1b1)];[_0x3daa6c(0x16d)];[_0x3daa6c(0x1a3)];[_0x3daa6c(0x18e)];[_0x3daa6c(0x199)];[_0x3daa6c(0x177)];[_0x3daa6c(0x1b3)];constructor(_0x1ad14c,_0x7c370c,_0x460f05,_0x55dc8c){const _0x46879a=_0x3daa6c;super(_0x1ad14c),this[_0x46879a(0x17f)]=null,this[_0x46879a(0x198)]=null,this[_0x46879a(0x173)]=new _0x3d2876(_0x1ad14c,_0x508124(_0x1ad14c,_0x46879a(0x187))),this[_0x46879a(0x19c)](_0x46879a(0x1b2),!0x1),this[_0x46879a(0x19c)](_0x46879a(0x16b),_0x7c370c[_0x46879a(0x16b)]),this[_0x46879a(0x19f)](_0x46879a(0x16b))['to'](_0x7c370c),this[_0x46879a(0x19c)](_0x46879a(0x17c),[]),this[_0x46879a(0x19c)](_0x46879a(0x1ab),!0x1),this[_0x46879a(0x19c)](_0x46879a(0x188),!0x1),this[_0x46879a(0x19c)](_0x46879a(0x175),!0x1),this[_0x46879a(0x19c)](_0x46879a(0x194),!0x1),this[_0x46879a(0x19f)](_0x46879a(0x193))['to'](this,_0x46879a(0x186),_0x7c370c,_0x46879a(0x16b),this,_0x46879a(0x17c),(_0x1f6911,_0x441007,_0x407705)=>{const _0x3786da=_0x46879a,_0x32ac13=_0x407705[_0x3786da(0x174)](_0x3b3e1e=>_0x7f3cec(_0x3b3e1e[_0x3786da(0x19e)]))[_0x3786da(0x1ac)]('.\x20')+'.';return _0x508124(this[_0x3786da(0x19a)],_0x3786da(0x169),[_0x1f6911-0x1,_0x7c370c[_0x3786da(0x1a6)][_0x3786da(0x176)],_0x441007?_0x55dc8c[_0x3786da(0x16e)](_0x441007):'',new DOMParser()[_0x3786da(0x171)](_0x32ac13,_0x3786da(0x178))[_0x3786da(0x197)][_0x3786da(0x16c)]]);}),this[_0x46879a(0x1b1)]=new _0x104f06(),this[_0x46879a(0x16d)]=new _0x21e562(),this[_0x46879a(0x1a3)]=new _0x294e1b(),this[_0x46879a(0x18e)]=new _0x24f1ec({'focusables':this[_0x46879a(0x1b1)],'focusTracker':this[_0x46879a(0x16d)],'keystrokeHandler':this[_0x46879a(0x1a3)],'keystrokeHandlerOptions':{'filter':_0x1a452c=>_0x1a452c[_0x46879a(0x192)]!==this[_0x46879a(0x18c)]},'actions':{'focusPrevious':_0x46879a(0x195),'focusNext':_0x46879a(0x17d)}}),this[_0x46879a(0x199)]=_0x7c370c,this[_0x46879a(0x177)]=_0x460f05,this[_0x46879a(0x1b3)]=_0x55dc8c,_0x55dc8c[_0x46879a(0x17a)]?this[_0x46879a(0x19c)](_0x46879a(0x186),0x1):this[_0x46879a(0x1a7)]();}[_0x3daa6c(0x1a1)](){const _0x48c667=_0x3daa6c;super[_0x48c667(0x1a1)](),_0x455519(this,this[_0x48c667(0x1b1)]);}[_0x3daa6c(0x18a)](){const _0x4ccf1e=_0x3daa6c;this[_0x4ccf1e(0x18c)][_0x4ccf1e(0x18a)]();}[_0x3daa6c(0x17e)](){const _0x26d65a=_0x3daa6c;this[_0x26d65a(0x17f)]&&this[_0x26d65a(0x17f)][_0x26d65a(0x17e)](),this[_0x26d65a(0x198)]&&this[_0x26d65a(0x198)][_0x26d65a(0x17e)](),super[_0x26d65a(0x17e)]();}[_0x3daa6c(0x1a7)](){const _0x4db5bf=_0x3daa6c,{CommentsListView:_0x53d288}=this[_0x4db5bf(0x1b3)];this[_0x4db5bf(0x17f)]=new _0x53d288(this[_0x4db5bf(0x19a)],this[_0x4db5bf(0x199)][_0x4db5bf(0x19d)],Object[_0x4db5bf(0x172)]({'CommentView':this[_0x4db5bf(0x1b3)][_0x4db5bf(0x181)]},this[_0x4db5bf(0x1b3)])),this[_0x4db5bf(0x17f)][_0x4db5bf(0x185)](_0x4db5bf(0x190))['to'](this),this[_0x4db5bf(0x17f)][_0x4db5bf(0x185)](_0x4db5bf(0x196))['to'](this),this[_0x4db5bf(0x17f)][_0x4db5bf(0x19f)](_0x4db5bf(0x1b2))['to'](this),this[_0x4db5bf(0x19c)](_0x4db5bf(0x186),this[_0x4db5bf(0x17f)][_0x4db5bf(0x186)]+0x1),this[_0x4db5bf(0x19f)](_0x4db5bf(0x186))['to'](this[_0x4db5bf(0x17f)],_0x4db5bf(0x186),_0xea9f1f=>_0xea9f1f+0x1),this[_0x4db5bf(0x198)]=this[_0x4db5bf(0x182)](),this['on'](_0x4db5bf(0x190),()=>this[_0x4db5bf(0x18a)]()),this[_0x4db5bf(0x19f)](_0x4db5bf(0x1ab))['to'](this[_0x4db5bf(0x17f)],_0x4db5bf(0x17b),this[_0x4db5bf(0x198)][_0x4db5bf(0x1b0)],_0x4db5bf(0x170),(_0x1914ee,_0x5d00cb)=>_0x1914ee||!!_0x5d00cb);}[_0x3daa6c(0x182)](){const _0x2ab46a=_0x3daa6c,{CommentThreadInputView:_0x3186eb}=this[_0x2ab46a(0x1b3)],_0x413881=new _0x3186eb(this[_0x2ab46a(0x19a)],this[_0x2ab46a(0x177)],this[_0x2ab46a(0x1b3)][_0x2ab46a(0x1a0)]),_0x37386f=_0x413881[_0x2ab46a(0x1b0)];return _0x413881[_0x2ab46a(0x19f)](_0x2ab46a(0x1aa))['to'](this,_0x2ab46a(0x1b2),this[_0x2ab46a(0x199)][_0x2ab46a(0x19d)],_0x2ab46a(0x18d),_0x37386f,_0x2ab46a(0x170),(_0x20425f,_0x3b7b72,_0x2b62c7)=>!!_0x2b62c7||_0x20425f&&!_0x3b7b72),_0x37386f['on'](_0x2ab46a(0x180),(_0x5d090f,_0x2ef757)=>{const _0x156623=_0x2ab46a;this[_0x156623(0x18f)](_0x156623(0x184),_0x2ef757),_0x37386f[_0x156623(0x1a2)][_0x156623(0x189)]('');}),_0x37386f['on'](_0x2ab46a(0x183),()=>this[_0x2ab46a(0x18a)]()),_0x37386f[_0x2ab46a(0x19f)](_0x2ab46a(0x1a8))['to'](this[_0x2ab46a(0x199)][_0x2ab46a(0x19d)],_0x2ab46a(0x18d)),_0x413881;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe9b63e=_0x5c14;(function(_0x3043f4,_0x253204){const _0x18ad30=_0x5c14,_0x4aedee=_0x3043f4();while(!![]){try{const _0x5aa63b=parseInt(_0x18ad30(0x19c))/0x1+parseInt(_0x18ad30(0x1ab))/0x2+parseInt(_0x18ad30(0x183))/0x3+parseInt(_0x18ad30(0x17f))/0x4+parseInt(_0x18ad30(0x18f))/0x5*(-parseInt(_0x18ad30(0x1ae))/0x6)+-parseInt(_0x18ad30(0x180))/0x7+-parseInt(_0x18ad30(0x195))/0x8;if(_0x5aa63b===_0x253204)break;else _0x4aedee['push'](_0x4aedee['shift']());}catch(_0x48a994){_0x4aedee['push'](_0x4aedee['shift']());}}}(_0x373f,0x4b8cc));function _0x373f(){const _0xa28de6=['831614CICpTb','descriptionParts','color','541005RKMjpy','commentThread','delegate','div','getTemplate','_descriptionElement','acceptButton','setTemplate','render','canDiscard','description','discardSuggestion','55tthIZI','focusables','_config','add','</p>','ck-suggestion-wrapper','4811488dyYYNu','bindTemplate','formatDateTime','ck-rounded-corners','discardButton','_model','author','593559AxGOeR','ariaLabel','ariaDescriptionView','editorDestroyed','bind','disableComments','type','isActive','commentThreadInputView','<p>','ck-suggestion--disabled-comments','suggestionView','set','acceptSuggestion','ck-suggestion-wrapper--active','930766ionKcC','editorReady','content','267684NPffZN','isEnabled','commentsListView','listitem','canAccept','SuggestionView','ck-suggestion-','push','1124668kNknKJ'];_0x373f=function(){return _0xa28de6;};return _0x373f();}function _0x5c14(_0x3abef9,_0x3bdc1c){const _0x373f4d=_0x373f();return _0x5c14=function(_0x5c143c,_0x5542f2){_0x5c143c=_0x5c143c-0x17d;let _0x18fd06=_0x373f4d[_0x5c143c];return _0x18fd06;},_0x5c14(_0x3abef9,_0x3bdc1c);}import{BaseSuggestionThreadView as _0x12b85a}from'./basesuggestionthreadview.js';import{trimHtml as _0xab8b8}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x4db2f7}from'../../utils/utils.js';export class SuggestionThreadView extends _0x12b85a{[_0xe9b63e(0x1a7)];[_0xe9b63e(0x188)];constructor(_0x3cf2b3,_0x5cfe76,_0x290909,_0x496e5b){const _0x4c7fa6=_0xe9b63e;super(_0x3cf2b3,_0x5cfe76,_0x290909,_0x496e5b),this[_0x4c7fa6(0x1a8)](_0x4c7fa6(0x1a2),''),this[_0x4c7fa6(0x1a0)](_0x4c7fa6(0x1a2))['to'](this,_0x4c7fa6(0x181),_0x1ddf2f=>_0x1ddf2f&&_0x1ddf2f[0x0]?_0x1ddf2f[0x0][_0x4c7fa6(0x1a2)]:''),this[_0x4c7fa6(0x1a0)](_0x4c7fa6(0x18d))['to'](this,_0x4c7fa6(0x181),this,_0x4c7fa6(0x1a3),(_0x51695f,_0x114d1a)=>{const _0x5727d7=_0x4c7fa6;let _0x2cf69='';for(const _0x41b96b of _0x51695f)_0x2cf69+=_0x5727d7(0x1a5)+_0x4db2f7(_0x41b96b[_0x5727d7(0x1ad)],_0x41b96b[_0x5727d7(0x182)])+_0x5727d7(0x193);return _0x114d1a?_0x2cf69:_0xab8b8(_0x2cf69,{'limit':0x8c});}),this[_0x4c7fa6(0x188)]=null,this[_0x4c7fa6(0x1a7)]=new _0x496e5b[(_0x4c7fa6(0x1b3))](_0x3cf2b3,_0x5cfe76,{'formatDateTime':_0x496e5b[_0x4c7fa6(0x197)]}),this[_0x4c7fa6(0x1a7)][_0x4c7fa6(0x1a0)](_0x4c7fa6(0x18d))['to'](this),this[_0x4c7fa6(0x1a7)][_0x4c7fa6(0x185)](_0x4c7fa6(0x1a9),_0x4c7fa6(0x18e))['to'](this),this[_0x4c7fa6(0x1a7)][_0x4c7fa6(0x189)][_0x4c7fa6(0x1a0)](_0x4c7fa6(0x1af))['to'](this,_0x4c7fa6(0x1b2)),this[_0x4c7fa6(0x1a7)][_0x4c7fa6(0x199)][_0x4c7fa6(0x1a0)](_0x4c7fa6(0x1af))['to'](this,_0x4c7fa6(0x18c)),this[_0x4c7fa6(0x190)][_0x4c7fa6(0x192)](this[_0x4c7fa6(0x1a7)]),this[_0x4c7fa6(0x1b0)]&&this[_0x4c7fa6(0x190)][_0x4c7fa6(0x192)](this[_0x4c7fa6(0x1b0)]),this[_0x4c7fa6(0x1a4)]&&this[_0x4c7fa6(0x190)][_0x4c7fa6(0x192)](this[_0x4c7fa6(0x1a4)]),this[_0x4c7fa6(0x18a)](this[_0x4c7fa6(0x187)]());}[_0xe9b63e(0x187)](){const _0x225737=_0xe9b63e,_0x595e95=this[_0x225737(0x196)],_0x5eda72=[this[_0x225737(0x1a7)]];return this[_0x225737(0x1b0)]&&_0x5eda72[_0x225737(0x17e)](this[_0x225737(0x1b0)]),this[_0x225737(0x1a4)]&&_0x5eda72[_0x225737(0x17e)](this[_0x225737(0x1a4)]),_0x5eda72[_0x225737(0x17e)](this[_0x225737(0x19e)]),{'tag':_0x225737(0x186),'attributes':{'class':['ck',_0x225737(0x198),_0x225737(0x194),_0x595e95['if'](_0x225737(0x1a3),_0x225737(0x1aa)),_0x595e95['to'](_0x225737(0x1a2),_0x4c4941=>_0x225737(0x17d)+_0x4c4941),this[_0x225737(0x191)][_0x225737(0x1a1)]&&_0x225737(0x1a6)],'data-suggestion-id':this[_0x225737(0x19a)]['id'],'data-thread-id':this[_0x225737(0x19a)][_0x225737(0x184)]['id'],'data-author-id':this[_0x225737(0x19a)][_0x225737(0x19b)]['id'],'tabindex':0x0,'role':_0x225737(0x1b1),'aria-label':_0x595e95['to'](_0x225737(0x19d)),'aria-describedby':this[_0x225737(0x19e)]['id']},'children':_0x5eda72};}[_0xe9b63e(0x18b)](){const _0x229807=_0xe9b63e;super[_0x229807(0x18b)](),this[_0x229807(0x1b0)]&&(this[_0x229807(0x1b0)][_0x229807(0x185)](_0x229807(0x1ac))['to'](this),this[_0x229807(0x1b0)][_0x229807(0x185)](_0x229807(0x19f))['to'](this)),this[_0x229807(0x1a4)]&&(this[_0x229807(0x1a4)][_0x229807(0x185)](_0x229807(0x1ac))['to'](this),this[_0x229807(0x1a4)][_0x229807(0x185)](_0x229807(0x19f))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51bc70=_0x342e;(function(_0x52b1ed,_0x2e8957){const _0x2aad37=_0x342e,_0x357bef=_0x52b1ed();while(!![]){try{const _0x49d19c=-parseInt(_0x2aad37(0xf8))/0x1*(parseInt(_0x2aad37(0x108))/0x2)+parseInt(_0x2aad37(0xff))/0x3+-parseInt(_0x2aad37(0xf9))/0x4+-parseInt(_0x2aad37(0x124))/0x5*(parseInt(_0x2aad37(0x122))/0x6)+-parseInt(_0x2aad37(0x11a))/0x7+parseInt(_0x2aad37(0xf4))/0x8*(-parseInt(_0x2aad37(0xfd))/0x9)+parseInt(_0x2aad37(0x128))/0xa*(parseInt(_0x2aad37(0x106))/0xb);if(_0x49d19c===_0x2e8957)break;else _0x357bef['push'](_0x357bef['shift']());}catch(_0x1158a9){_0x357bef['push'](_0x357bef['shift']());}}}(_0x3a5c,0x95c8f));function _0x3a5c(){const _0x2beb28=['ck-annotation__info-time','focusTracker','EXTERNAL_IMPORT_WORD_SUGGESTION','getExternalSuggestionNote','EXTERNAL_IMPORT_WORD_AVATAR','add','target','discardSuggestion','discardButton','focusables','creator','userView','source','fire','.ck-annotation__content-wrapper','ck-comment__external','authoredAt','ck-comment__info-time','acceptButton','ck-annotation__actions','getTemplate','setTemplate','listenTo','attributes','bindTemplate','keystrokes','focusFirst','set','enter','ck-annotation','execute','_setupKeyboardNavigation','description','_createButton','esc','time','9017584WXYDbj','innerHTML','ck-annotation__user','acceptSuggestion','2983vAFViO','2914068bwywPx','element','shift+tab','ck-suggestion__actions','9oZcTTl','@external','733425MLfEgw','tab','ck-suggestion__info','extendTemplate','bind','_model','ck-annotation__info','102520hCkjwM','push','8wmXcWW','_config','locale','focus','EXTERNAL_SUGGESTION','ck-annotation__content-wrapper','EXTERNAL_AVATAR','querySelector','render','ck-suggestion__main','change:description','author','formatDateTime','focusCycler','ck-suggestion--discard','presentation','getUserViewNotificationText','ck-annotation__info-name','882917siPwNi','span','isExternal','ck-suggestion__info-name','div','ck-suggestion--accept','importWord','ck-annotation__main','12tnqBaj','name','477145VXbqUV','ck-suggestion','ck-suggestion__user','Discard\x20suggestion','2740NyolEI','Accept\x20suggestion'];_0x3a5c=function(){return _0x2beb28;};return _0x3a5c();}function _0x342e(_0x3c6c59,_0x6323d5){const _0x3a5ccd=_0x3a5c();return _0x342e=function(_0x342edb,_0x4c7a6f){_0x342edb=_0x342edb-0xec;let _0x12a894=_0x3a5ccd[_0x342edb];return _0x12a894;},_0x342e(_0x3c6c59,_0x6323d5);}import{FocusTracker as _0x19a5a3,KeystrokeHandler as _0x1fda4d}from'ckeditor5/src/utils.js';import{View as _0x5b9337,ViewCollection as _0x4f457b,FocusCycler as _0x4d7bb7}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xd0b3e6,UserView as _0x538df3}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x5b2d16,IconCheck as _0x512722}from'ckeditor5/src/icons.js';import{getTranslation as _0x3b8e0f}from'../../utils/common-translations.js';export class SuggestionView extends _0x5b9337{[_0x51bc70(0x135)];[_0x51bc70(0x13c)];[_0x51bc70(0x132)];[_0x51bc70(0x133)];[_0x51bc70(0x12b)];[_0x51bc70(0x143)];[_0x51bc70(0x115)];[_0x51bc70(0x104)];[_0x51bc70(0x109)];constructor(_0x29e119,_0x34014b,_0x2120ef){const _0x37bc89=_0x51bc70;super(_0x29e119),this[_0x37bc89(0x104)]=_0x34014b,this[_0x37bc89(0x109)]=_0x2120ef,this[_0x37bc89(0x145)](_0x37bc89(0xf0),''),this[_0x37bc89(0x103)](_0x37bc89(0x13a))['to'](_0x34014b),this[_0x37bc89(0x13c)]=this[_0x37bc89(0xf1)](_0x3b8e0f(_0x29e119,_0x37bc89(0x129)),_0x512722,_0x37bc89(0x11f),_0x37bc89(0xf7),'sw'),this[_0x37bc89(0x132)]=this[_0x37bc89(0xf1)](_0x3b8e0f(_0x29e119,_0x37bc89(0x127)),_0x5b2d16,_0x37bc89(0x116),_0x37bc89(0x131),'sw'),this[_0x37bc89(0x135)]=new _0x538df3(_0x29e119,_0x34014b[_0x37bc89(0x113)],this[_0x37bc89(0x118)]()),this[_0x37bc89(0x135)][_0x37bc89(0x102)]({'attributes':{'class':[_0x37bc89(0x126),_0x37bc89(0xf6)],'aria-hidden':!0x0}}),this[_0x37bc89(0x133)]=new _0x4f457b([this[_0x37bc89(0x13c)],this[_0x37bc89(0x132)]]),this[_0x37bc89(0x12b)]=new _0x19a5a3(),this[_0x37bc89(0x143)]=new _0x1fda4d(),this[_0x37bc89(0x115)]=new _0x4d7bb7({'focusables':this[_0x37bc89(0x133)],'focusTracker':this[_0x37bc89(0x12b)],'keystrokeHandler':this[_0x37bc89(0x143)],'actions':{'focusPrevious':_0x37bc89(0xfb),'focusNext':_0x37bc89(0x100)},'keystrokeHandlerOptions':{'filter':_0x2de82a=>_0x2de82a[_0x37bc89(0x130)]!==this[_0x37bc89(0xfa)]}}),this[_0x37bc89(0x13f)](this[_0x37bc89(0x13e)]());}[_0x51bc70(0x110)](){const _0x2b37ef=_0x51bc70;super[_0x2b37ef(0x110)]();const _0x26a7b1=this[_0x2b37ef(0xfa)][_0x2b37ef(0x10f)](_0x2b37ef(0x138));_0x26a7b1[_0x2b37ef(0xf5)]=this[_0x2b37ef(0xf0)],this['on'](_0x2b37ef(0x112),(_0x28493d,_0x38faa8,_0x3beb59)=>{const _0x38a9d9=_0x2b37ef;_0x26a7b1[_0x38a9d9(0xf5)]=_0x3beb59;}),this[_0x2b37ef(0xef)]();}[_0x51bc70(0x13e)](){const _0x6ef4c0=_0x51bc70,_0x22316d=this[_0x6ef4c0(0x142)],_0x215611=[{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x101),_0x6ef4c0(0x105)]},'children':[{'tag':_0x6ef4c0(0x11b),'children':[{'text':this[_0x6ef4c0(0x135)][_0x6ef4c0(0x123)]}],'attributes':{'class':[_0x6ef4c0(0x11d),_0x6ef4c0(0x119)],'data-cke-tooltip-text':this[_0x6ef4c0(0x135)][_0x6ef4c0(0x123)]}},{'tag':_0x6ef4c0(0xf3),'attributes':{'datetime':_0x22316d['to'](_0x6ef4c0(0x13a)),'class':[_0x6ef4c0(0x13b),_0x6ef4c0(0x12a)]},'children':[{'text':_0x22316d['to'](_0x6ef4c0(0x13a),_0x3cd7d4=>this[_0x6ef4c0(0x109)][_0x6ef4c0(0x114)](_0x3cd7d4))}]}]},{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0xfc),_0x6ef4c0(0x13d)]},'children':[this[_0x6ef4c0(0x13c)],this[_0x6ef4c0(0x132)]]},{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x10d)]}}];return this[_0x6ef4c0(0x104)][_0x6ef4c0(0x11c)]&&_0x215611[_0x6ef4c0(0x107)]({'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x139)]},'children':[{'text':this[_0x6ef4c0(0x12d)]()}]}),{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x125),_0x6ef4c0(0xed)],'tabindex':-0x1},'children':[this[_0x6ef4c0(0x135)],{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x111),_0x6ef4c0(0x121)],'role':_0x6ef4c0(0x117)},'children':_0x215611}]};}[_0x51bc70(0x10b)](){const _0x141795=_0x51bc70;this[_0x141795(0xfa)][_0x141795(0x10b)]();}[_0x51bc70(0x118)](){const _0x33c8c9=_0x51bc70;return this[_0x33c8c9(0x104)][_0x33c8c9(0x11c)]?_0x33c8c9(0x120)===this[_0x33c8c9(0x104)][_0x33c8c9(0x141)][_0x33c8c9(0xfe)][_0x33c8c9(0x136)]?_0x3b8e0f(this[_0x33c8c9(0x10a)],_0x33c8c9(0x12e),this[_0x33c8c9(0x104)][_0x33c8c9(0x134)][_0x33c8c9(0x123)]):_0x3b8e0f(this[_0x33c8c9(0x10a)],_0x33c8c9(0x10e),this[_0x33c8c9(0x104)][_0x33c8c9(0x134)][_0x33c8c9(0x123)]):null;}[_0x51bc70(0x12d)](){const _0x317f4a=_0x51bc70;return _0x317f4a(0x120)===this[_0x317f4a(0x104)][_0x317f4a(0x141)][_0x317f4a(0xfe)][_0x317f4a(0x136)]?_0x3b8e0f(this[_0x317f4a(0x10a)],_0x317f4a(0x12c)):_0x3b8e0f(this[_0x317f4a(0x10a)],_0x317f4a(0x10c));}[_0x51bc70(0xf1)](_0x496ebf,_0x55ba55,_0x730f32,_0x3ffe33,_0xba5275){const _0x5a1fe3=_0x51bc70,_0x2abffa=new _0xd0b3e6(this[_0x5a1fe3(0x10a)]);return _0x2abffa[_0x5a1fe3(0x145)]({'label':_0x496ebf,'icon':_0x55ba55,'tooltip':!0x0,'tooltipPosition':_0xba5275}),_0x2abffa[_0x5a1fe3(0x102)]({'attributes':{'class':_0x730f32}}),_0x2abffa['on'](_0x5a1fe3(0xee),()=>{const _0x44150b=_0x5a1fe3;this[_0x44150b(0x137)](_0x3ffe33,this[_0x44150b(0x104)]['id']);}),_0x2abffa;}[_0x51bc70(0xef)](){const _0x41c8b4=_0x51bc70,_0x2c6eb8=this[_0x41c8b4(0xfa)];this[_0x41c8b4(0x143)][_0x41c8b4(0x140)](_0x2c6eb8);for(const _0xae303e of this[_0x41c8b4(0x133)])this[_0x41c8b4(0x12b)][_0x41c8b4(0x12f)](_0xae303e[_0x41c8b4(0xfa)]),this[_0x41c8b4(0x143)][_0x41c8b4(0x140)](_0xae303e[_0x41c8b4(0xfa)]);this[_0x41c8b4(0x143)][_0x41c8b4(0x145)](_0x41c8b4(0xec),(_0x55ac5b,_0x3b3f28)=>{const _0x33876e=_0x41c8b4;_0x2c6eb8===_0x55ac5b[_0x33876e(0x130)]&&(this[_0x33876e(0x115)][_0x33876e(0x144)](),_0x3b3f28());}),this[_0x41c8b4(0x143)][_0x41c8b4(0x145)](_0x41c8b4(0xf2),(_0xda2aaa,_0x3ac17c)=>{const _0x32d134=_0x41c8b4;_0x2c6eb8!==_0xda2aaa[_0x32d134(0x130)]&&(this[_0x32d134(0x10b)](),_0x3ac17c());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x82ca(_0x4224d5,_0x24e0c1){const _0x1129c7=_0x1129();return _0x82ca=function(_0x82ca22,_0x92bb30){_0x82ca22=_0x82ca22-0x196;let _0x363ae9=_0x1129c7[_0x82ca22];return _0x363ae9;},_0x82ca(_0x4224d5,_0x24e0c1);}const _0x491269=_0x82ca;function _0x1129(){const _0x4fffa2=['dialogRects','previewDataReady','options','18TsYIgD','content','push','className','33ySBBXl','setTemplate','255562ebSxgv','9512kBbjPc','data-ck-root-name','createElement','4333CwaYmg','setPreviewData','\x20ck-track-changes-preview__root-container','div','classes','3895596NnnPWH','render','366820pkqdSU','1964770ZWFikR','element','ck-reset','ck-track-changes-preview','width','fire','innerHTML','style','height','setAttribute','11680974dlpBZF','focus','584775GRKoPG'];_0x1129=function(){return _0x4fffa2;};return _0x1129();}(function(_0x1f31ab,_0x6bd9af){const _0x389488=_0x82ca,_0x58abda=_0x1f31ab();while(!![]){try{const _0x4aaa96=parseInt(_0x389488(0x198))/0x1+parseInt(_0x389488(0x1a2))/0x2*(-parseInt(_0x389488(0x1a0))/0x3)+parseInt(_0x389488(0x1ab))/0x4+-parseInt(_0x389488(0x1ad))/0x5*(-parseInt(_0x389488(0x19c))/0x6)+parseInt(_0x389488(0x1a6))/0x7*(-parseInt(_0x389488(0x1a3))/0x8)+parseInt(_0x389488(0x196))/0x9+-parseInt(_0x389488(0x1ae))/0xa;if(_0x4aaa96===_0x6bd9af)break;else _0x58abda['push'](_0x58abda['shift']());}catch(_0x54e97f){_0x58abda['push'](_0x58abda['shift']());}}}(_0x1129,0xb4521));import{View as _0x337359}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x337359{[_0x491269(0x19b)];constructor(_0x2f8d09,_0x4d5642){const _0x5c5f1a=_0x491269;super(_0x2f8d09),this[_0x5c5f1a(0x19b)]=_0x4d5642,this[_0x5c5f1a(0x1a1)]({'tag':_0x5c5f1a(0x1a9),'attributes':{'class':['ck',_0x5c5f1a(0x1b0),_0x5c5f1a(0x1b1)],'tabindex':-0x1}});}[_0x491269(0x1ac)](){const _0x441e51=_0x491269;super[_0x441e51(0x1ac)](),this[_0x441e51(0x1af)][_0x441e51(0x1b5)][_0x441e51(0x1b2)]=this[_0x441e51(0x19b)][_0x441e51(0x199)][_0x441e51(0x1b2)]+'px',this[_0x441e51(0x1af)][_0x441e51(0x1b5)][_0x441e51(0x1b6)]=this[_0x441e51(0x19b)][_0x441e51(0x199)][_0x441e51(0x1b6)]+'px';}[_0x491269(0x1a7)](_0xb0448c,_0x5d0498){const _0x10f5c7=_0x491269;if(!this[_0x10f5c7(0x1af)])return;const _0x421ed9=[];for(const [_0x31224d,_0x23ee0f]of _0xb0448c){const _0x1af948=document[_0x10f5c7(0x1a5)](_0x10f5c7(0x1a9));_0x1af948[_0x10f5c7(0x1b7)](_0x10f5c7(0x1a4),_0x31224d),_0x1af948[_0x10f5c7(0x19f)]=_0x23ee0f[_0x10f5c7(0x1aa)]+_0x10f5c7(0x1a8),_0x1af948[_0x10f5c7(0x1b4)]=_0x23ee0f[_0x10f5c7(0x19d)],_0x421ed9[_0x10f5c7(0x19e)](_0x1af948);}_0x5d0498(this[_0x10f5c7(0x1af)],_0x421ed9),this[_0x10f5c7(0x1af)][_0x10f5c7(0x1b5)][_0x10f5c7(0x1b6)]='',this[_0x10f5c7(0x1b3)](_0x10f5c7(0x19a));}[_0x491269(0x197)](){const _0x116a85=_0x491269;this[_0x116a85(0x1af)][_0x116a85(0x197)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x34733e,_0x50266e,_0x1acb92){const _0x4ba40a=_0x34733e['t'],t=_0x34733e['t'];switch(_0x50266e){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',_0x1acb92);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1acb92);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1acb92);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1acb92);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1acb92);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',_0x1acb92);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1acb92);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',_0x1acb92);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1acb92);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1acb92);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1acb92);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1acb92);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1acb92);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1acb92);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1acb92);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1acb92);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1acb92);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1acb92);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1acb92);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1acb92);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1acb92);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1acb92);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1acb92);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1acb92);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1acb92);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'},_0x1acb92);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1acb92);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1acb92);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1acb92);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1acb92);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1acb92);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1acb92);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1acb92);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1acb92);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1acb92);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1acb92);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'},_0x1acb92);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'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'},_0x1acb92);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1acb92);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1acb92);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 _0x4ba40a({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1acb92);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4ba40a({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1acb92);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1acb92);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'},_0x1acb92);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'},_0x1acb92);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'},_0x1acb92);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x50266e;}}
|
|
23
|
+
export function getTranslation(_0x38b429,_0x262aee,_0x48743a){const _0x4011b7=_0x38b429['t'],t=_0x38b429['t'];switch(_0x262aee){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',_0x48743a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x48743a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x48743a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x48743a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x48743a);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',_0x48743a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x48743a);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',_0x48743a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x48743a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x48743a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x48743a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x48743a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x48743a);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x48743a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x48743a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x48743a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x48743a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x48743a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x48743a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x48743a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x48743a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x48743a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x48743a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x48743a);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x48743a);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'},_0x48743a);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x48743a);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x48743a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x48743a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x48743a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x48743a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x48743a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x48743a);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'},_0x48743a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x48743a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x48743a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x48743a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x48743a);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'},_0x48743a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x48743a);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'},_0x48743a);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'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'},_0x48743a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x48743a);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'},_0x48743a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x48743a);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'},_0x48743a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x48743a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x48743a);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'},_0x48743a);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x48743a);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 _0x4011b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x48743a);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4011b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x48743a);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x48743a);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'},_0x48743a);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'},_0x48743a);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'},_0x48743a);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x262aee;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x505e(_0x45ae4d,_0xebb37d){const _0x32672f=_0x3267();return _0x505e=function(_0x505ec6,_0x35184d){_0x505ec6=_0x505ec6-0x1d3;let _0x31189d=_0x32672f[_0x505ec6];return _0x31189d;},_0x505e(_0x45ae4d,_0xebb37d);}(function(_0x36971f,_0x4e96f8){const _0x30d06a=_0x505e,_0x16def4=_0x36971f();while(!![]){try{const _0x33a65d=-parseInt(_0x30d06a(0x1eb))/0x1*(-parseInt(_0x30d06a(0x1e4))/0x2)+parseInt(_0x30d06a(0x1dc))/0x3*(parseInt(_0x30d06a(0x1e1))/0x4)+parseInt(_0x30d06a(0x207))/0x5*(-parseInt(_0x30d06a(0x1e5))/0x6)+parseInt(_0x30d06a(0x1fe))/0x7+parseInt(_0x30d06a(0x1fc))/0x8*(parseInt(_0x30d06a(0x203))/0x9)+parseInt(_0x30d06a(0x1ec))/0xa*(-parseInt(_0x30d06a(0x1fa))/0xb)+-parseInt(_0x30d06a(0x1df))/0xc;if(_0x33a65d===_0x4e96f8)break;else _0x16def4['push'](_0x16def4['shift']());}catch(_0x1c9e46){_0x16def4['push'](_0x16def4['shift']());}}}(_0x3267,0xd674b));export function normalizeDescription(_0x8bf9d7){const _0x44b836=_0x505e;return Array[_0x44b836(0x1db)](_0x8bf9d7)||(_0x8bf9d7=[_0x8bf9d7]),_0x8bf9d7[_0x44b836(0x1ee)](_0x1d67ed=>{const _0x77ace6=_0x44b836,_0x2b7d80=_0x1d67ed[_0x77ace6(0x1f9)][_0x77ace6(0x1ea)](/\*/g,''),_0x4f8737=_0x1d67ed[_0x77ace6(0x1f1)]?_0x77ace6(0x1ed)+_0x1d67ed[_0x77ace6(0x1f1)][_0x77ace6(0x20b)]+']':'';return'['+_0x1d67ed[_0x77ace6(0x1f7)]+']\x20'+_0x2b7d80+_0x4f8737;})[_0x44b836(0x1e9)](';\x20');}function _0x3267(){const _0x123583=['innerHTML','isMultiRange','createPositionAfter','next','schema','isInContent','isArray','53922HaNMCN','\x22\x20title=\x22','isCollapsed','12598776JpEbfH','push','12QmxQHD','execute','<span\x20class=\x22ck-suggestion-type\x22>','2419790ikGvqn','4225158lwDqoZ','isIntersecting','\x22></span>','createRange','join','replace','1pmuzak','10gZcqDe','\x20[color\x20','map','title','createElement','color','createPositionAt','isTouching','sort','splice','attribute','type','</span>','content','8894908YDCLIr','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','10572728xnSlmt','isObject','5990054sQOsHY','deletion','add','innerText','start','9mqvxuv','split','from','createPositionBefore','5DcbqTi','length','span','end','value','getRanges','change'];_0x3267=function(){return _0x123583;};return _0x3267();}export function renderDescription(_0x44325b,_0x21bc38){const _0x5eb147=_0x505e;let _0x3eadb4='';return _0x3eadb4+=_0x44325b[_0x5eb147(0x204)]('*')[_0x5eb147(0x1ee)]((_0x3caf50,_0x3e3639)=>_0x3e3639%0x2!=0x0?_0x5eb147(0x1e3)+tn(_0x3caf50)+_0x5eb147(0x1f8):tn(_0x3caf50))[_0x5eb147(0x1e9)](''),_0x21bc38&&(_0x3eadb4+=_0x5eb147(0x1fb)+_0x21bc38[_0x5eb147(0x20b)]+_0x5eb147(0x1dd)+_0x21bc38[_0x5eb147(0x1ef)]+_0x5eb147(0x1e7)),_0x3eadb4;}function tn(_0x25050c){const _0x2ca491=_0x505e,_0x3c0a85=document[_0x2ca491(0x1f0)](_0x2ca491(0x209));return _0x3c0a85[_0x2ca491(0x201)]=_0x25050c,_0x3c0a85[_0x2ca491(0x1d5)];}export function sortSuggestions(_0x5d21c5){const _0x41148f=_0x505e;return _0x5d21c5[_0x41148f(0x1f4)]((_0x2e0fd6,_0x5d9f55)=>_0x41148f(0x1f6)===_0x2e0fd6[_0x41148f(0x1f7)]&&_0x41148f(0x1f6)!==_0x5d9f55[_0x41148f(0x1f7)]?-0x1:_0x41148f(0x1f6)!==_0x2e0fd6[_0x41148f(0x1f7)]&&_0x41148f(0x1f6)===_0x5d9f55[_0x41148f(0x1f7)]?0x1:_0x41148f(0x1ff)==_0x2e0fd6[_0x41148f(0x1f7)]&&_0x41148f(0x1ff)!=_0x5d9f55[_0x41148f(0x1f7)]?-0x1:_0x41148f(0x1ff)!=_0x2e0fd6[_0x41148f(0x1f7)]&&_0x41148f(0x1ff)==_0x5d9f55[_0x41148f(0x1f7)]?0x1:0x0);}export function getSelectedSuggestions(_0x22f612,_0x1fbda0){const _0x109c9e=_0x505e,_0x35afde=Array[_0x109c9e(0x205)](_0x22f612[_0x109c9e(0x1d3)]()),_0x41ac46=new Set();for(const _0x40ee29 of _0x1fbda0)if(_0x40ee29[_0x109c9e(0x1da)]){for(const _0x380475 of _0x35afde)for(const _0x4d455b of _0x40ee29[_0x109c9e(0x1d3)]())(_0x380475[_0x109c9e(0x1e6)](_0x4d455b)||_0x22f612[_0x109c9e(0x1de)]&&!_0x40ee29[_0x109c9e(0x1d6)]&&_0x40ee29[_0x109c9e(0x1d8)]&&_0x4d455b[_0x109c9e(0x20a)][_0x109c9e(0x1f3)](_0x380475[_0x109c9e(0x202)]))&&_0x41ac46[_0x109c9e(0x200)](_0x40ee29);}return _0x41ac46;}export function getRangesOfBlockGroups(_0x20845d,_0xcc06da){const _0x565437=_0x505e;let _0x54fbf7,_0x3a25be=0x0;const _0x1da454=[],_0x22e6a7=_0xcc06da[_0x565437(0x1d9)];for(;_0x3a25be<_0x20845d[_0x565437(0x208)];){const _0x5ac9b1=_0x20845d[_0x3a25be],_0x313cde=_0x20845d[_0x3a25be+0x1];_0x54fbf7||(_0x54fbf7=_0xcc06da[_0x565437(0x206)](_0x5ac9b1)),nn(_0xcc06da,_0x5ac9b1,_0x313cde)||(_0x1da454[_0x565437(0x1e0)](_0xcc06da[_0x565437(0x1e8)](_0x54fbf7,_0x22e6a7[_0x565437(0x1fd)](_0x5ac9b1)?_0xcc06da[_0x565437(0x1d7)](_0x5ac9b1):_0xcc06da[_0x565437(0x1f2)](_0x5ac9b1,_0x565437(0x20a)))),_0x54fbf7=null),_0x3a25be++;}return _0x1da454;}function nn(_0x40f490,_0x2c6595,_0x51daf9){const _0x50a26a=_0x505e;if(!_0x51daf9)return!0x1;const _0x5e2c73=_0x40f490[_0x50a26a(0x1d7)](_0x2c6595),_0x520c66=_0x40f490[_0x50a26a(0x206)](_0x51daf9);return _0x5e2c73[_0x50a26a(0x1f3)](_0x520c66);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x168a8b,_0x440bd9,_0x540fcb){const _0x4acde5=_0x505e;for(;_0x540fcb[_0x4acde5(0x208)];){const _0x43637c=_0x540fcb[_0x4acde5(0x1f5)](0x0,0x64);_0x168a8b[_0x4acde5(0x1d4)](()=>{const _0x20745d=_0x4acde5;for(const _0x1925cb of _0x43637c)_0x1925cb[_0x20745d(0x1da)]&&_0x440bd9[_0x20745d(0x1e2)](_0x1925cb['id']);});}}
|