@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250901.0 → 0.0.0-nightly-20250903.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x19b6(){const _0x5dad8c=['add','3352560ZbwbBn','2220060drrcRO','10NeLrvv','TrackChangesPreview','873456lFFklm','1057750LcBSEJ','4TjEmyH','isOfficialPlugin','editor','trackChanges.preview.renderFunction','4327404WOwHWq','9924903tIXHqj','commands','define','config','requires','appendChild','35GpjxBn','pluginName','954182kgLGqD','previewFinalContent','isPremiumPlugin'];_0x19b6=function(){return _0x5dad8c;};return _0x19b6();}const _0x54ab46=_0x4ca2;(function(_0x55461d,_0x1b3b3c){const _0x105d66=_0x4ca2,_0x3b3cfe=_0x55461d();while(!![]){try{const _0x57a8f1=parseInt(_0x105d66(0xa6))/0x1+parseInt(_0x105d66(0xab))/0x2+-parseInt(_0x105d66(0xaa))/0x3+-parseInt(_0x105d66(0xb0))/0x4*(parseInt(_0x105d66(0xaf))/0x5)+parseInt(_0x105d66(0xb4))/0x6+parseInt(_0x105d66(0xbb))/0x7*(parseInt(_0x105d66(0xae))/0x8)+parseInt(_0x105d66(0xb5))/0x9*(-parseInt(_0x105d66(0xac))/0xa);if(_0x57a8f1===_0x1b3b3c)break;else _0x3b3cfe['push'](_0x3b3cfe['shift']());}catch(_0x550099){_0x3b3cfe['push'](_0x3b3cfe['shift']());}}}(_0x19b6,0xdb9bf));function _0x4ca2(_0x3a97b9,_0x556214){const _0x19b6f3=_0x19b6();return _0x4ca2=function(_0x4ca2d5,_0x378ea5){_0x4ca2d5=_0x4ca2d5-0xa6;let _0x226d7e=_0x19b6f3[_0x4ca2d5];return _0x226d7e;},_0x4ca2(_0x3a97b9,_0x556214);}import{Plugin as _0x2638b2}from'ckeditor5/src/core.js';import{Dialog as _0x4dace7}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x4bc6e1}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x2d4674}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x2638b2{static get[_0x54ab46(0xb9)](){return[_0x4bc6e1,_0x4dace7];}static get[_0x54ab46(0xbc)](){const _0x53d150=_0x54ab46;return _0x53d150(0xad);}static get[_0x54ab46(0xb1)](){return!0x0;}static get[_0x54ab46(0xa8)](){return!0x0;}constructor(_0x4679cd){const _0x26f0df=_0x54ab46;super(_0x4679cd),_0x4679cd[_0x26f0df(0xb6)][_0x26f0df(0xa9)](_0x26f0df(0xa7),new _0x2d4674(this[_0x26f0df(0xb2)])),_0x4679cd[_0x26f0df(0xb8)][_0x26f0df(0xb7)](_0x26f0df(0xb3),(_0x3af875,_0x1e3b2e)=>{const _0x44fdc9=_0x26f0df;for(const _0x3d3a37 of _0x1e3b2e)_0x3af875[_0x44fdc9(0xba)](_0x3d3a37);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x38d9cf=_0x5210;(function(_0x30fece,_0x40951c){const _0x29861e=_0x5210,_0x19ea43=_0x30fece();while(!![]){try{const _0x5a6e5b=parseInt(_0x29861e(0x24d))/0x1+-parseInt(_0x29861e(0x226))/0x2*(-parseInt(_0x29861e(0x239))/0x3)+-parseInt(_0x29861e(0x242))/0x4+parseInt(_0x29861e(0x23b))/0x5*(-parseInt(_0x29861e(0x21f))/0x6)+-parseInt(_0x29861e(0x217))/0x7*(-parseInt(_0x29861e(0x1c6))/0x8)+-parseInt(_0x29861e(0x263))/0x9+parseInt(_0x29861e(0x233))/0xa*(parseInt(_0x29861e(0x1f2))/0xb);if(_0x5a6e5b===_0x40951c)break;else _0x19ea43['push'](_0x19ea43['shift']());}catch(_0x47e97c){_0x19ea43['push'](_0x19ea43['shift']());}}}(_0x58b8,0x7a4fe));import{Plugin as _0x3978ac}from'ckeditor5/src/core.js';import{Collection as _0x3f9874}from'ckeditor5/src/utils.js';function _0x58b8(){const _0x37de0b=['1794EpUoGm','trackChanges','pluginName','define','Accept\x20all\x20suggestions','trackChangesLicenseKeyUsageLimit','_createToolbarButton','273886AhUcxF','isPremiumPlugin','focus','switchbutton','expired','execute','discardAllSuggestions','CommentsRepository','menu','_destroyController','source','menuBar:trackChanges','unbind','30FLfAQt','editor','has','getRanges','getDescriptions','remove','9njrkbT','change:activeAnnotations','1255BvqCTO','mainView','set','trialLimit','TrackChangesEditing','items','acceptAllSuggestions','1127728wMUrgq','invalid','from','hasSuggestion','getMarkerNames','addSourceCollector','requires','type','listenTo','featureNotAllowed','createCommentThreadController','317180jEwduc','keys','reduce','TrackChangesPreview','trackChangesLicenseKeyDomainLimit','isMultiRange','arrowView','add','_bindAnnotationToEditors','trackChanges.SuggestionView','_initializeController','refreshSelectedViews','isInContent','panelView','head','size','acceptSelectedSuggestions','Discard\x20all\x20selected\x20suggestions','destroy','buttonView','menuitemcheckbox','menuitem','3019311hGunij','escape','fire','trackChanges.disableComments','domainLimit','comments.editorConfig','view','locale','getJoined','activeMarkers','_annotationViews','length','getFirstRange','trackChangesLicenseKeyEvaluationLimit','getByInnerView','getAnnotationForSuggestion','comments.maxThreadTotalWeight','getAllAdjacentSuggestions','commands','TrackChangesUI','descriptionParts','get','16248WeUKfM','_viewToController','trackChanges.SuggestionThreadView','getSuggestionForAnnotation','bind','isEnabled','suggestion-','isOn','suggestionLoaded','acceptButton','isDirty','_suggestionToController','SuggestionView','activeAnnotations','comments.maxCommentsWhenCollapsed','filter','SuggestionThreadView','_refreshActiveMarkers','_updateController','Preview\x20final\x20content','addComment','discardButton','EditorAnnotations','CommentView','push','trackChangesLicenseKeyValid','trackChangesLicenseKeyTrialLimit','plugins','_unbindEditors','Track\x20changes','usageLimit','discardSelectedSuggestions','createAnnotation','suggestionChanged','editing','Annotations','suggestionView','values','children','value','previous','actionView','innerView','model','552332tsYvMe','commentThread','change:previous','some','Discard\x20all\x20suggestions','trackChangesLicenseKeyInvalid','trackChangesLicenseKeyExpired','stopListening','delete','evaluationLimit','previewFinalContent','config','addMany','delegate','comments','getMarkers','_addUIComponentsToFactory','_showLicenseError','clear','comments.maxCommentCharsWhenCollapsed','registerAnnotation','TrackChanges','Accept\x20all\x20selected\x20suggestions','init','_disableComments','_handleControllerBuffer','createAnnotationView','_licenseKeyCheckInterval','toMany','lowest','commentsListView','componentFactory','_createMenuBarMenu','CommentsUI','licenseKey','getSuggestion','descriptionFactory','1085TajBbc','button','_handleSuggestionControllerDelayed','trackChangesLicenseKeyNotAllowed','commandName','separator','isOfficialPlugin','suggestionUnloaded'];_0x58b8=function(){return _0x37de0b;};return _0x58b8();}import{IconTrackChanges as _0x2f79d5}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x53cb34,createDropdown as _0x2f93e0,ListSeparatorView as _0x4e1f4b,MenuBarMenuView as _0x33b41c,MenuBarMenuListView as _0x23c987,MenuBarMenuListItemView as _0x48554f,MenuBarMenuListItemButtonView as _0x2ce5b4,SplitButtonView as _0x11226e,UIModel as _0x440f6a}from'ckeditor5/src/ui.js';import{Users as _0xf640e3,getDateTimeFormatter as _0x142166,getAllMarkersDomElementsSorted as _0x3a9997}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5210(_0x2f2c32,_0x42ac40){const _0x58b87d=_0x58b8();return _0x5210=function(_0x5210bc,_0x54325b){_0x5210bc=_0x5210bc-0x1b4;let _0x446fbb=_0x58b87d[_0x5210bc];return _0x446fbb;},_0x5210(_0x2f2c32,_0x42ac40);}import{TrackChangesEditing as _0x151ba6}from'./trackchangesediting.js';import{SuggestionController as _0x27c77e}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x47fb50}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x242f6f}from'./ui/view/suggestionview.js';import{getTranslation as _0x1095bd}from'./utils/common-translations.js';export class TrackChangesUI extends _0x3978ac{[_0x38d9cf(0x214)];[_0x38d9cf(0x20d)];[_0x38d9cf(0x1d1)];[_0x38d9cf(0x1c7)];[_0x38d9cf(0x1ba)];[_0x38d9cf(0x20b)];[_0x38d9cf(0x20a)];static get[_0x38d9cf(0x248)](){const _0x4b6047=_0x38d9cf;return[_0x151ba6,_0xf640e3,_0x4b6047(0x22d),_0x4b6047(0x1e9),_0x4b6047(0x1dc)];}static get[_0x38d9cf(0x221)](){const _0x5cdc76=_0x38d9cf;return _0x5cdc76(0x1c3);}static get[_0x38d9cf(0x21d)](){return!0x0;}static get[_0x38d9cf(0x227)](){return!0x0;}constructor(_0x40c802){const _0x4dec45=_0x38d9cf;super(_0x40c802),this[_0x4dec45(0x1d1)]=new Map(),this[_0x4dec45(0x1c7)]=new Map(),this[_0x4dec45(0x1ba)]=new Map(),this[_0x4dec45(0x20b)]=new Map();const _0x2c263b=this[_0x4dec45(0x234)][_0x4dec45(0x1fd)];_0x2c263b[_0x4dec45(0x222)](_0x4dec45(0x1c8),_0x47fb50),_0x2c263b[_0x4dec45(0x222)](_0x4dec45(0x256),_0x242f6f),_0x2c263b[_0x4dec45(0x222)](_0x4dec45(0x266),!0x1),this[_0x4dec45(0x20a)]=_0x2c263b[_0x4dec45(0x1c5)](_0x4dec45(0x266));}[_0x38d9cf(0x219)](_0xe53151,_0x14ef4d){const _0x5a3582=_0x38d9cf;0x0===this[_0x5a3582(0x20b)][_0x5a3582(0x25c)]&&setTimeout(()=>{const _0x424c89=_0x5a3582;for(const [_0x126808,_0x3e09f2]of this[_0x424c89(0x20b)]){const _0x1b85df=this[_0x424c89(0x1d1)][_0x424c89(0x235)](_0x126808);_0x1b85df||_0x3e09f2?_0x1b85df&&_0x3e09f2&&this[_0x424c89(0x22f)](_0x126808):this[_0x424c89(0x257)](_0x126808);}this[_0x424c89(0x20b)][_0x424c89(0x204)](),this[_0x424c89(0x234)][_0x424c89(0x1e1)][_0x424c89(0x1c5)](_0x424c89(0x1dc))[_0x424c89(0x258)](),this[_0x424c89(0x1d7)]();},0xa),this[_0x5a3582(0x20b)][_0x5a3582(0x23d)](_0xe53151,_0x14ef4d);}[_0x38d9cf(0x209)](){const _0x176fef=_0x38d9cf,_0x4d367a=this[_0x176fef(0x234)],_0x4df62e=_0x4d367a[_0x176fef(0x1e1)][_0x176fef(0x1c5)](_0x176fef(0x23f)),_0x45137c=_0x4d367a[_0x176fef(0x1e1)][_0x176fef(0x1c5)](_0x176fef(0x1e9)),_0xacdb69=_0x4d367a[_0x176fef(0x1e1)][_0x176fef(0x1c5)](_0x176fef(0x1dc)),_0x482f78=_0x4d367a[_0x176fef(0x1e1)][_0x176fef(0x1c5)](_0x176fef(0x22d));this[_0x176fef(0x202)](),_0xacdb69[_0x176fef(0x247)](()=>{const _0xa549c2=_0x176fef,_0x341dc1=[];for(const [_0x3c0e94,_0x4a419b]of Array[_0xa549c2(0x244)](this[_0xa549c2(0x1d1)])){const _0xc88044=_0x3c0e94[_0xa549c2(0x1c1)](),_0x20f332=[];for(const _0x4a506e of _0xc88044){if(!_0x4a506e[_0xa549c2(0x259)])continue;if(_0x4a506e[_0xa549c2(0x252)]){_0x20f332[_0xa549c2(0x1de)](..._0x4a506e[_0xa549c2(0x236)]());continue;}const _0x11faca=_0x4a506e[_0xa549c2(0x1bc)]();if(_0x20f332[_0xa549c2(0x1bb)]>0x0){const _0x2c791a=_0x20f332[0x0][_0xa549c2(0x1b8)](_0x11faca);if(_0x2c791a){_0x20f332[0x0]=_0x2c791a;continue;}}_0x20f332[_0xa549c2(0x1de)](_0x11faca);}_0x341dc1[_0xa549c2(0x1de)]([_0x4a419b[_0xa549c2(0x1b6)],_0x20f332]);}return _0x341dc1;}),this[_0x176fef(0x24a)](_0x4df62e,_0x176fef(0x1ce),(_0x63f73c,_0x667767)=>{const _0x2ee99a=_0x176fef;this[_0x2ee99a(0x24a)](_0x667767,_0x2ee99a(0x1f4),(_0xef7d86,_0x14b544,_0x3a8cb9,_0x94578e)=>{const _0x1b0f96=_0x2ee99a;_0x667767[_0x1b0f96(0x259)]&&(null==_0x3a8cb9?(this[_0x1b0f96(0x1d8)](_0x94578e[_0x1b0f96(0x25b)]),this[_0x1b0f96(0x219)](_0x667767,!0x1)):(this[_0x1b0f96(0x1d8)](_0x3a8cb9[_0x1b0f96(0x25b)]),null==_0x94578e&&this[_0x1b0f96(0x219)](_0x667767,!0x0)));}),null!==_0x667767[_0x2ee99a(0x1ee)]?this[_0x2ee99a(0x1d8)](_0x667767[_0x2ee99a(0x25b)]):this[_0x2ee99a(0x219)](_0x667767,!0x1);}),this[_0x176fef(0x24a)](_0x4df62e,_0x176fef(0x21e),(_0x24d03d,_0xe1f8b3,_0x517b79)=>{const _0x2cfc70=_0x176fef;this[_0x2cfc70(0x1f9)](_0xe1f8b3,_0x2cfc70(0x1f4)),this[_0x2cfc70(0x20b)][_0x2cfc70(0x1fa)](_0xe1f8b3),this[_0x2cfc70(0x1d1)][_0x2cfc70(0x235)](_0xe1f8b3)&&this[_0x2cfc70(0x22f)](_0xe1f8b3),_0x517b79&&this[_0x2cfc70(0x1d8)](_0x517b79[_0x2cfc70(0x25b)]);}),this[_0x176fef(0x24a)](_0x4df62e,_0x176fef(0x1e7),(_0x44cd05,_0x50fa57)=>{const _0x2edd3c=_0x176fef;this[_0x2edd3c(0x1d8)](_0x50fa57);}),this[_0x176fef(0x24a)](_0x45137c,_0x176fef(0x23a),()=>{const _0x3a6a64=_0x176fef;this[_0x3a6a64(0x1d7)]();}),this[_0x176fef(0x24a)](_0x482f78,_0x176fef(0x1da),(_0x483595,{threadId:_0xb0bada,isFromAdapter:_0x47d5ce})=>{const _0x3e9f21=_0x176fef;if(_0x47d5ce||!_0x4df62e[_0x3e9f21(0x245)](_0xb0bada))return;const _0xbcb696=_0x4df62e[_0x3e9f21(0x215)](_0xb0bada);this[_0x3e9f21(0x1d1)][_0x3e9f21(0x1c5)](_0xbcb696)[_0x3e9f21(0x1b6)][_0x3e9f21(0x210)][_0x3e9f21(0x228)](-0x1);},{'priority':_0x176fef(0x20f)}),this[_0x176fef(0x214)]=this[_0x176fef(0x234)][_0x176fef(0x1fd)][_0x176fef(0x1c5)](_0x176fef(0x214));const _0x202fdd=this[_0x176fef(0x234)];this[_0x176fef(0x20d)]=setInterval(()=>{const _0x56c221=_0x176fef;let _0x3fb40b;for(const _0xe7ae4d in _0x202fdd){const _0x11bf29=_0xe7ae4d,_0x5a528c=_0x202fdd[_0x11bf29];if(_0x56c221(0x1df)==_0x5a528c||_0x56c221(0x1f7)==_0x5a528c||_0x56c221(0x1f8)==_0x5a528c||_0x56c221(0x251)==_0x5a528c||_0x56c221(0x21a)==_0x5a528c||_0x56c221(0x1bd)==_0x5a528c||_0x56c221(0x1e0)==_0x5a528c||_0x56c221(0x224)==_0x5a528c){delete _0x202fdd[_0x11bf29],_0x3fb40b=_0x5a528c,clearInterval(this[_0x56c221(0x20d)]),this[_0x56c221(0x20d)]=void 0x0;break;}}_0x56c221(0x1f7)==_0x3fb40b&&_0x202fdd[_0x56c221(0x203)](_0x56c221(0x243)),_0x56c221(0x1f8)==_0x3fb40b&&_0x202fdd[_0x56c221(0x203)](_0x56c221(0x22a)),_0x56c221(0x251)==_0x3fb40b&&_0x202fdd[_0x56c221(0x203)](_0x56c221(0x1b4)),_0x56c221(0x21a)==_0x3fb40b&&_0x202fdd[_0x56c221(0x203)](_0x56c221(0x24b),_0x56c221(0x207)),_0x56c221(0x1bd)==_0x3fb40b&&_0x202fdd[_0x56c221(0x203)](_0x56c221(0x1fb)),_0x56c221(0x1e0)==_0x3fb40b&&_0x202fdd[_0x56c221(0x203)](_0x56c221(0x23e)),_0x56c221(0x224)==_0x3fb40b&&_0x202fdd[_0x56c221(0x203)](_0x56c221(0x1e4));},0x3e8);}[_0x38d9cf(0x1bf)](_0x2a7211){const _0x28d575=_0x38d9cf,_0xddefed=this[_0x28d575(0x1d1)][_0x28d575(0x1c5)](_0x2a7211);if(!_0xddefed)return null;return this[_0x28d575(0x234)][_0x28d575(0x1e1)][_0x28d575(0x1c5)](_0x28d575(0x1e9))[_0x28d575(0x1be)](_0xddefed[_0x28d575(0x1b6)])||null;}[_0x38d9cf(0x1c9)](_0x26221c){const _0x50e938=_0x38d9cf,_0x2741a8=this[_0x50e938(0x1c7)][_0x50e938(0x1c5)](_0x26221c[_0x50e938(0x1f0)]);return _0x2741a8?_0x2741a8[_0x50e938(0x1f1)]:null;}[_0x38d9cf(0x1d7)](){const _0x5b8adb=_0x38d9cf,_0x2a1a14=this[_0x5b8adb(0x234)][_0x5b8adb(0x1e1)][_0x5b8adb(0x1c5)](_0x5b8adb(0x1e9)),_0x2fca5b=this[_0x5b8adb(0x234)][_0x5b8adb(0x1e1)][_0x5b8adb(0x1c5)](_0x5b8adb(0x23f)),_0x2d9b54=Array[_0x5b8adb(0x244)](_0x2a1a14[_0x5b8adb(0x1d3)],_0x169093=>_0x169093[_0x5b8adb(0x1f0)])[_0x5b8adb(0x1d5)](_0x2caf90=>this[_0x5b8adb(0x1c7)][_0x5b8adb(0x235)](_0x2caf90)),_0x336f6b=[];for(const _0x595b8e of _0x2d9b54){const _0x3bd6f2=this[_0x5b8adb(0x1c7)][_0x5b8adb(0x1c5)](_0x595b8e)[_0x5b8adb(0x1f1)][_0x5b8adb(0x1c1)]();_0x336f6b[_0x5b8adb(0x1de)](..._0x3bd6f2[_0x5b8adb(0x24f)]((_0x1649d2,_0xdcd4e5)=>[..._0x1649d2,..._0xdcd4e5[_0x5b8adb(0x246)]()],[]));}_0x2fca5b[_0x5b8adb(0x1b9)]=_0x336f6b;}[_0x38d9cf(0x202)](){const _0x384e0f=_0x38d9cf,_0x41d04e=this[_0x384e0f(0x234)],_0x25ceac=_0x41d04e[_0x384e0f(0x1b7)],_0x2d1439=_0x1095bd(_0x25ceac,_0x384e0f(0x1e3)),_0x4f1815=new _0x3f9874([{'type':_0x384e0f(0x229),'model':new _0x440f6a({'withText':!0x0,'isToggleable':!0x0,'label':_0x2d1439,'commandName':_0x384e0f(0x220),'role':_0x384e0f(0x261)})},{'type':_0x384e0f(0x21c)},{'type':_0x384e0f(0x218),'model':new _0x440f6a({'withText':!0x0,'label':_0x1095bd(_0x25ceac,_0x384e0f(0x223)),'commandName':_0x384e0f(0x241),'role':_0x384e0f(0x262)})},{'type':_0x384e0f(0x218),'model':new _0x440f6a({'withText':!0x0,'label':_0x1095bd(_0x25ceac,_0x384e0f(0x208)),'commandName':_0x384e0f(0x25d),'role':_0x384e0f(0x262)})},{'type':_0x384e0f(0x218),'model':new _0x440f6a({'withText':!0x0,'label':_0x1095bd(_0x25ceac,_0x384e0f(0x1f6)),'commandName':_0x384e0f(0x22c),'role':_0x384e0f(0x262)})},{'type':_0x384e0f(0x218),'model':new _0x440f6a({'withText':!0x0,'label':_0x1095bd(_0x25ceac,_0x384e0f(0x25e)),'commandName':_0x384e0f(0x1e5),'role':_0x384e0f(0x262)})}]);_0x41d04e[_0x384e0f(0x1e1)][_0x384e0f(0x235)](_0x384e0f(0x250))&&_0x4f1815[_0x384e0f(0x1fe)]([{'type':_0x384e0f(0x21c)},{'type':_0x384e0f(0x218),'model':new _0x440f6a({'withText':!0x0,'label':_0x1095bd(_0x25ceac,_0x384e0f(0x1d9)),'commandName':_0x384e0f(0x1fc),'role':_0x384e0f(0x262)})}]);for(const _0x3885ff of _0x4f1815)if(ke(_0x3885ff)){const _0x380712=_0x41d04e[_0x384e0f(0x1c2)][_0x384e0f(0x1c5)](_0x3885ff[_0x384e0f(0x1f1)][_0x384e0f(0x21b)]);_0x3885ff[_0x384e0f(0x1f1)][_0x384e0f(0x1ca)](_0x384e0f(0x1cd),_0x384e0f(0x1cb))['to'](_0x380712,_0x384e0f(0x1ed),_0x384e0f(0x1cb));}_0x41d04e['ui'][_0x384e0f(0x211)][_0x384e0f(0x254)](_0x384e0f(0x220),_0x353df1=>this[_0x384e0f(0x225)](_0x353df1,_0x4f1815,_0x2d1439)),_0x41d04e['ui'][_0x384e0f(0x211)][_0x384e0f(0x254)](_0x384e0f(0x231),_0x2c9671=>this[_0x384e0f(0x212)](_0x2c9671,_0x4f1815,_0x2d1439));}[_0x38d9cf(0x225)](_0x3a34fb,_0x32fd4d,_0x1d5377){const _0x1808be=_0x38d9cf,_0x50eee2=_0x2f93e0(_0x3a34fb,_0x11226e),_0x5f47e7=this[_0x1808be(0x234)][_0x1808be(0x1c2)][_0x1808be(0x1c5)](_0x1808be(0x220));_0x50eee2[_0x1808be(0x260)][_0x1808be(0x23d)]({'tooltip':_0x1d5377,'label':_0x1d5377,'icon':_0x2f79d5}),_0x50eee2[_0x1808be(0x260)][_0x1808be(0x1ca)](_0x1808be(0x1cd))['to'](_0x5f47e7,_0x1808be(0x1ed)),_0x50eee2[_0x1808be(0x260)]['on'](_0x1808be(0x22b),()=>{const _0x2f4a79=_0x1808be;_0x5f47e7[_0x2f4a79(0x22b)](),this[_0x2f4a79(0x234)][_0x2f4a79(0x1e8)][_0x2f4a79(0x1b6)][_0x2f4a79(0x228)]();}),_0x53cb34(_0x50eee2,_0x32fd4d,{'role':_0x1808be(0x22e)});const _0x5f226f=[];for(const _0x5a4c9d of _0x32fd4d)ke(_0x5a4c9d)&&_0x5f226f[_0x1808be(0x1de)](this[_0x1808be(0x234)][_0x1808be(0x1c2)][_0x1808be(0x1c5)](_0x5a4c9d[_0x1808be(0x1f1)][_0x1808be(0x21b)]));const _0x5f335a=_0x50eee2[_0x1808be(0x260)];return _0x5f335a[_0x1808be(0x1ef)][_0x1808be(0x232)](_0x1808be(0x1cb)),_0x5f335a[_0x1808be(0x253)][_0x1808be(0x232)](_0x1808be(0x1cb)),_0x5f335a[_0x1808be(0x1ef)][_0x1808be(0x1ca)](_0x1808be(0x1cb))['to'](_0x5f47e7,_0x1808be(0x1cb)),_0x5f335a[_0x1808be(0x253)][_0x1808be(0x1ca)](_0x1808be(0x1cb))[_0x1808be(0x20e)](_0x5f226f,_0x1808be(0x1cb),(..._0x1f8cce)=>_0x1f8cce[_0x1808be(0x1f5)](_0xf28808=>_0xf28808)),_0x50eee2['on'](_0x1808be(0x22b),_0x31924a=>{const _0x15518d=_0x1808be;this[_0x15518d(0x234)][_0x15518d(0x22b)](_0x31924a[_0x15518d(0x230)][_0x15518d(0x21b)]),this[_0x15518d(0x234)][_0x15518d(0x1e8)][_0x15518d(0x1b6)][_0x15518d(0x228)]();}),_0x50eee2;}[_0x38d9cf(0x212)](_0x15b2ad,_0x5abd65,_0x53bf28){const _0x6f73c5=_0x38d9cf,_0x5c0142=new _0x33b41c(_0x15b2ad),_0x1f4bac=this[_0x6f73c5(0x234)][_0x6f73c5(0x1c2)][_0x6f73c5(0x1c5)](_0x6f73c5(0x220));_0x5c0142[_0x6f73c5(0x260)][_0x6f73c5(0x23d)]({'label':_0x53bf28,'icon':_0x2f79d5});const _0x372ea8=new _0x23c987(_0x15b2ad);for(const _0x2ccf5a of _0x5abd65){if(_0x6f73c5(0x21c)==_0x2ccf5a[_0x6f73c5(0x249)]){_0x372ea8[_0x6f73c5(0x240)][_0x6f73c5(0x254)](new _0x4e1f4b(_0x15b2ad));continue;}const _0x4accb7=new _0x48554f(_0x15b2ad,_0x5c0142),_0x5bc32b=new _0x2ce5b4(_0x15b2ad),_0x45ec05=_0x2ccf5a[_0x6f73c5(0x1f1)];_0x5bc32b[_0x6f73c5(0x1ca)](...Object[_0x6f73c5(0x24e)](_0x45ec05))['to'](_0x45ec05),_0x5bc32b[_0x6f73c5(0x1ff)](_0x6f73c5(0x22b))['to'](_0x5c0142),_0x5bc32b['on'](_0x6f73c5(0x22b),()=>{const _0xd4cc24=_0x6f73c5;this[_0xd4cc24(0x234)][_0xd4cc24(0x22b)](_0x45ec05[_0xd4cc24(0x21b)]),this[_0xd4cc24(0x234)][_0xd4cc24(0x1e8)][_0xd4cc24(0x1b6)][_0xd4cc24(0x228)]();}),_0x4accb7[_0x6f73c5(0x1ec)][_0x6f73c5(0x254)](_0x5bc32b),_0x372ea8[_0x6f73c5(0x240)][_0x6f73c5(0x254)](_0x4accb7);}return _0x5c0142[_0x6f73c5(0x1ca)](_0x6f73c5(0x1cb))['to'](_0x1f4bac,_0x6f73c5(0x1cb)),_0x5c0142[_0x6f73c5(0x25a)][_0x6f73c5(0x1ec)][_0x6f73c5(0x254)](_0x372ea8),_0x5c0142;}[_0x38d9cf(0x257)](_0x4254e1){const _0x81db59=_0x38d9cf,_0x2b2e53=this[_0x81db59(0x234)],_0x30726f=_0x2b2e53[_0x81db59(0x1fd)],_0x5e268e=_0x2b2e53[_0x81db59(0x1e1)][_0x81db59(0x1c5)](_0x81db59(0x1e9)),_0x32388d=_0x2b2e53[_0x81db59(0x1e1)][_0x81db59(0x1c5)](_0x81db59(0x22d)),_0x549f5e=_0x2b2e53[_0x81db59(0x1e1)][_0x81db59(0x1c5)](_0x81db59(0x1dc)),_0x14c652=_0x2b2e53[_0x81db59(0x1e1)][_0x81db59(0x1c5)](_0xf640e3)['me'],_0x5c202a=_0x30726f[_0x81db59(0x1c5)](_0x81db59(0x220))[_0x81db59(0x1d6)],_0x415401=_0x30726f[_0x81db59(0x1c5)](_0x81db59(0x220))[_0x81db59(0x1d2)],{CommentsListView:_0x398dbe,CommentThreadInputView:_0x45fb87}=_0x2b2e53[_0x81db59(0x1e1)][_0x81db59(0x1c5)](_0x81db59(0x213));let _0x559b70,_0x3a34a9,_0x1e485d;this[_0x81db59(0x1ba)][_0x81db59(0x235)](_0x4254e1['id'])?(_0x3a34a9=this[_0x81db59(0x1ba)][_0x81db59(0x1c5)](_0x4254e1['id']),_0x559b70=_0x3a34a9[_0x81db59(0x23c)]):(_0x559b70=new _0x5c202a(_0x2b2e53[_0x81db59(0x1b7)],_0x4254e1,_0x14c652,{'disableComments':this[_0x81db59(0x20a)],'editorConfig':{..._0x30726f[_0x81db59(0x1c5)](_0x81db59(0x1b5)),'licenseKey':_0x30726f[_0x81db59(0x1c5)](_0x81db59(0x214))},'maxCommentsWhenCollapsed':_0x30726f[_0x81db59(0x1c5)](_0x81db59(0x1d4)),'maxThreadTotalWeight':_0x30726f[_0x81db59(0x1c5)](_0x81db59(0x1c0)),'maxCommentCharsWhenCollapsed':_0x30726f[_0x81db59(0x1c5)](_0x81db59(0x205)),'formatDateTime':_0x142166(_0x30726f[_0x81db59(0x1c5)](_0x81db59(0x1b7)),_0x2b2e53[_0x81db59(0x1b7)]),'CommentView':_0x30726f[_0x81db59(0x1c5)](_0x81db59(0x200))[_0x81db59(0x1dd)],'CommentsListView':_0x398dbe,'CommentThreadInputView':_0x45fb87,'SuggestionView':_0x415401}),_0x559b70[_0x81db59(0x1ea)][_0x81db59(0x1cf)]['on'](_0x81db59(0x22b),()=>{const _0x2ef9d0=_0x81db59;_0x2b2e53[_0x2ef9d0(0x1e8)][_0x2ef9d0(0x1b6)][_0x2ef9d0(0x228)]();}),_0x559b70[_0x81db59(0x1ea)][_0x81db59(0x1db)]['on'](_0x81db59(0x22b),()=>{const _0x148f8b=_0x81db59;_0x2b2e53[_0x148f8b(0x1e8)][_0x148f8b(0x1b6)][_0x148f8b(0x228)]();}),_0x3a34a9=_0x5e268e[_0x81db59(0x20c)](this[_0x81db59(0x234)][_0x81db59(0x1b7)],_0x559b70),_0x3a34a9[_0x81db59(0x1ca)](_0x81db59(0x1d0))['to'](_0x559b70,_0x81db59(0x1d0)),_0x3a34a9[_0x81db59(0x1ca)](_0x81db59(0x1bb))['to'](_0x559b70),_0x3a34a9[_0x81db59(0x1ca)](_0x81db59(0x249))['to'](_0x559b70,_0x81db59(0x249),_0x43d129=>_0x81db59(0x1cc)+_0x43d129),_0x559b70['on'](_0x81db59(0x264),()=>{const _0x233ca2=_0x81db59;_0x1e485d[_0x233ca2(0x265)](_0x233ca2(0x264));}),this[_0x81db59(0x1ba)][_0x81db59(0x23d)](_0x4254e1['id'],_0x3a34a9));const _0x10e819=_0x32388d[_0x81db59(0x24c)](_0x4254e1[_0x81db59(0x1f3)],_0x559b70),_0x57b5e2=new _0x27c77e(_0x2b2e53,_0x4254e1,_0x559b70,_0x10e819),_0x1c4bdf=_0x4254e1[_0x81db59(0x1c1)]()[_0x81db59(0x1d5)](_0x2e456d=>_0x2e456d[_0x81db59(0x259)]);_0x559b70[_0x81db59(0x1c4)]=_0x2b2e53[_0x81db59(0x1e1)][_0x81db59(0x1c5)](_0x81db59(0x23f))[_0x81db59(0x216)][_0x81db59(0x237)](_0x1c4bdf),this[_0x81db59(0x1d1)][_0x81db59(0x23d)](_0x4254e1,_0x57b5e2),this[_0x81db59(0x1c7)][_0x81db59(0x23d)](_0x559b70,_0x57b5e2);const _0x2b0d09=()=>{const _0x146d61=_0x81db59,_0x389aea=[],_0x42d349=_0x4254e1[_0x146d61(0x1c1)]()[_0x146d61(0x1d5)](_0x34d00a=>_0x34d00a[_0x146d61(0x259)]);for(const _0x34b12c of _0x42d349)_0x389aea[_0x146d61(0x1de)](..._0x34b12c[_0x146d61(0x201)]());return _0x3a9997(_0x2b2e53[_0x146d61(0x1e8)],_0x389aea);};_0x1e485d=_0x5e268e[_0x81db59(0x1e6)]({'view':_0x3a34a9,'target':_0x2b0d09,'type':()=>_0x81db59(0x1cc)+_0x57b5e2[_0x81db59(0x1b6)][_0x81db59(0x249)],'isVisible':!!_0x2b0d09()}),_0x32388d[_0x81db59(0x255)](_0x559b70,_0x1e485d),_0x5e268e[_0x81db59(0x254)](_0x1e485d),_0x549f5e[_0x81db59(0x206)](_0x1e485d);}[_0x38d9cf(0x22f)](_0x4c9eb2){const _0x8a9acf=_0x38d9cf,_0x1191c6=this[_0x8a9acf(0x234)][_0x8a9acf(0x1e1)][_0x8a9acf(0x1c5)](_0x8a9acf(0x22d)),_0x3b52f3=this[_0x8a9acf(0x234)][_0x8a9acf(0x1e1)][_0x8a9acf(0x1c5)](_0x8a9acf(0x1e9)),_0x2f37c1=this[_0x8a9acf(0x1d1)][_0x8a9acf(0x1c5)](_0x4c9eb2),_0x1a7d0e=_0x2f37c1[_0x8a9acf(0x1b6)],_0x130500=_0x3b52f3[_0x8a9acf(0x1be)](_0x1a7d0e);_0x1191c6[_0x8a9acf(0x1e2)](_0x1a7d0e),_0x130500&&_0x3b52f3[_0x8a9acf(0x238)](_0x130500),this[_0x8a9acf(0x1d1)][_0x8a9acf(0x1fa)](_0x4c9eb2),this[_0x8a9acf(0x1c7)][_0x8a9acf(0x1fa)](_0x1a7d0e),_0x2f37c1[_0x8a9acf(0x25f)]();}[_0x38d9cf(0x1d8)](_0x34c688){const _0x510007=_0x38d9cf;if(!_0x34c688[_0x510007(0x259)]||!this[_0x510007(0x1d1)][_0x510007(0x235)](_0x34c688))return;const _0x4a4f35=this[_0x510007(0x234)][_0x510007(0x1e1)][_0x510007(0x1c5)](_0x510007(0x23f)),_0x9744a3=this[_0x510007(0x1d1)][_0x510007(0x1c5)](_0x34c688),_0x549241=_0x34c688[_0x510007(0x1c1)]();_0x9744a3[_0x510007(0x1b6)][_0x510007(0x1c4)]=_0x4a4f35[_0x510007(0x216)][_0x510007(0x237)](_0x549241);}[_0x38d9cf(0x25f)](){const _0x9b27a4=_0x38d9cf;for(const _0x43e9ec of this[_0x9b27a4(0x1d1)][_0x9b27a4(0x24e)]())this[_0x9b27a4(0x22f)](_0x43e9ec);for(const _0x235f69 of this[_0x9b27a4(0x1ba)][_0x9b27a4(0x1eb)]())_0x235f69[_0x9b27a4(0x23c)][_0x9b27a4(0x25f)]();super[_0x9b27a4(0x25f)](),this[_0x9b27a4(0x20d)]&&clearInterval(this[_0x9b27a4(0x20d)]);}}function ke(_0x57f57e){const _0x4da9e4=_0x38d9cf;return _0x4da9e4(0x1f1)in _0x57f57e;}
|
|
23
|
+
const _0x1f3262=_0x2424;(function(_0x5a9ac6,_0x431177){const _0x690539=_0x2424,_0x39dc4b=_0x5a9ac6();while(!![]){try{const _0x5eb877=-parseInt(_0x690539(0x22d))/0x1+-parseInt(_0x690539(0x23b))/0x2*(parseInt(_0x690539(0x1b3))/0x3)+-parseInt(_0x690539(0x1d7))/0x4*(-parseInt(_0x690539(0x225))/0x5)+-parseInt(_0x690539(0x1b2))/0x6+-parseInt(_0x690539(0x1e6))/0x7+-parseInt(_0x690539(0x20a))/0x8*(parseInt(_0x690539(0x1d1))/0x9)+-parseInt(_0x690539(0x1c3))/0xa*(-parseInt(_0x690539(0x1b4))/0xb);if(_0x5eb877===_0x431177)break;else _0x39dc4b['push'](_0x39dc4b['shift']());}catch(_0xa6db07){_0x39dc4b['push'](_0x39dc4b['shift']());}}}(_0x530c,0x5afe3));import{Plugin as _0x5da2ee}from'ckeditor5/src/core.js';import{Collection as _0x52e784}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x17c5a6}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x509f3f,createDropdown as _0x315284,ListSeparatorView as _0x4fa605,MenuBarMenuView as _0x5c453a,MenuBarMenuListView as _0x121d08,MenuBarMenuListItemView as _0x60a2f3,MenuBarMenuListItemButtonView as _0x40633a,SplitButtonView as _0x5b88c1,UIModel as _0x15fc6a}from'ckeditor5/src/ui.js';function _0x2424(_0x1a473b,_0x41c997){const _0x530c0d=_0x530c();return _0x2424=function(_0x242457,_0x493509){_0x242457=_0x242457-0x189;let _0x5daa98=_0x530c0d[_0x242457];return _0x5daa98;},_0x2424(_0x1a473b,_0x41c997);}import{Users as _0x507b79,getDateTimeFormatter as _0x6506d1,getAllMarkersDomElementsSorted as _0x4387e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x508088}from'./trackchangesediting.js';import{SuggestionController as _0x5c1646}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0xd2ca21}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x4ca928}from'./ui/view/suggestionview.js';import{getTranslation as _0x56f3b7}from'./utils/common-translations.js';export class TrackChangesUI extends _0x5da2ee{[_0x1f3262(0x1da)];[_0x1f3262(0x21c)];[_0x1f3262(0x1a6)];[_0x1f3262(0x1dc)];[_0x1f3262(0x239)];[_0x1f3262(0x1cd)];[_0x1f3262(0x1ac)];static get[_0x1f3262(0x201)](){const _0x2ad7fc=_0x1f3262;return[_0x508088,_0x507b79,_0x2ad7fc(0x1cf),_0x2ad7fc(0x1b9),_0x2ad7fc(0x1bd)];}static get[_0x1f3262(0x18b)](){const _0x1b6899=_0x1f3262;return _0x1b6899(0x1f3);}static get[_0x1f3262(0x1d2)](){return!0x0;}static get[_0x1f3262(0x1bf)](){return!0x0;}constructor(_0x4a42f3){const _0x952f1b=_0x1f3262;super(_0x4a42f3),this[_0x952f1b(0x1a6)]=new Map(),this[_0x952f1b(0x1dc)]=new Map(),this[_0x952f1b(0x239)]=new Map(),this[_0x952f1b(0x1cd)]=new Map();const _0x50a54f=this[_0x952f1b(0x196)][_0x952f1b(0x1ed)];_0x50a54f[_0x952f1b(0x1c6)](_0x952f1b(0x1d9),_0xd2ca21),_0x50a54f[_0x952f1b(0x1c6)](_0x952f1b(0x1e8),_0x4ca928),_0x50a54f[_0x952f1b(0x1c6)](_0x952f1b(0x21f),!0x1),this[_0x952f1b(0x1ac)]=_0x50a54f[_0x952f1b(0x21d)](_0x952f1b(0x21f));}[_0x1f3262(0x1a5)](_0x3f7db8,_0x19ac6c){const _0x3091bf=_0x1f3262;0x0===this[_0x3091bf(0x1cd)][_0x3091bf(0x20b)]&&setTimeout(()=>{const _0x415469=_0x3091bf;for(const [_0x3c294b,_0x369f5a]of this[_0x415469(0x1cd)]){const _0x5bc555=this[_0x415469(0x1a6)][_0x415469(0x1f6)](_0x3c294b);_0x5bc555||_0x369f5a?_0x5bc555&&_0x369f5a&&this[_0x415469(0x1e2)](_0x3c294b):this[_0x415469(0x1eb)](_0x3c294b);}this[_0x415469(0x1cd)][_0x415469(0x19a)](),this[_0x415469(0x196)][_0x415469(0x221)][_0x415469(0x21d)](_0x415469(0x1bd))[_0x415469(0x1a0)](),this[_0x415469(0x1d4)]();},0xa),this[_0x3091bf(0x1cd)][_0x3091bf(0x19d)](_0x3f7db8,_0x19ac6c);}[_0x1f3262(0x1bc)](){const _0xc9a096=_0x1f3262,_0x47546e=this[_0xc9a096(0x196)],_0x3052c4=_0x47546e[_0xc9a096(0x221)][_0xc9a096(0x21d)](_0xc9a096(0x1af)),_0x505acd=_0x47546e[_0xc9a096(0x221)][_0xc9a096(0x21d)](_0xc9a096(0x1b9)),_0x1a22c8=_0x47546e[_0xc9a096(0x221)][_0xc9a096(0x21d)](_0xc9a096(0x1bd)),_0x2fad7b=_0x47546e[_0xc9a096(0x221)][_0xc9a096(0x21d)](_0xc9a096(0x1cf));this[_0xc9a096(0x195)](),_0x1a22c8[_0xc9a096(0x1db)](()=>{const _0x5e6636=_0xc9a096,_0x2b40f7=[];for(const [_0x42e805,_0x52ce47]of Array[_0x5e6636(0x189)](this[_0x5e6636(0x1a6)])){const _0x4edfdb=_0x42e805[_0x5e6636(0x204)](),_0x585da7=[];for(const _0x53e5ad of _0x4edfdb){if(!_0x53e5ad[_0x5e6636(0x19f)])continue;if(_0x53e5ad[_0x5e6636(0x1de)]){_0x585da7[_0x5e6636(0x1f8)](..._0x53e5ad[_0x5e6636(0x206)]());continue;}const _0x3dee32=_0x53e5ad[_0x5e6636(0x200)]();if(_0x585da7[_0x5e6636(0x1d8)]>0x0){const _0x1c2fcd=_0x585da7[0x0][_0x5e6636(0x1ce)](_0x3dee32);if(_0x1c2fcd){_0x585da7[0x0]=_0x1c2fcd;continue;}}_0x585da7[_0x5e6636(0x1f8)](_0x3dee32);}_0x2b40f7[_0x5e6636(0x1f8)]([_0x52ce47[_0x5e6636(0x230)],_0x585da7]);}return _0x2b40f7;}),this[_0xc9a096(0x1ec)](_0x3052c4,_0xc9a096(0x1e3),(_0x368b7e,_0x4436c2)=>{const _0x30ab37=_0xc9a096;this[_0x30ab37(0x1ec)](_0x4436c2,_0x30ab37(0x212),(_0x14128c,_0x477e19,_0x4d06ca,_0x584a43)=>{const _0x55d1b6=_0x30ab37;_0x4436c2[_0x55d1b6(0x19f)]&&(null==_0x4d06ca?(this[_0x55d1b6(0x1a2)](_0x584a43[_0x55d1b6(0x1d0)]),this[_0x55d1b6(0x1a5)](_0x4436c2,!0x1)):(this[_0x55d1b6(0x1a2)](_0x4d06ca[_0x55d1b6(0x1d0)]),null==_0x584a43&&this[_0x55d1b6(0x1a5)](_0x4436c2,!0x0)));}),null!==_0x4436c2[_0x30ab37(0x1e5)]?this[_0x30ab37(0x1a2)](_0x4436c2[_0x30ab37(0x1d0)]):this[_0x30ab37(0x1a5)](_0x4436c2,!0x1);}),this[_0xc9a096(0x1ec)](_0x3052c4,_0xc9a096(0x194),(_0x33b10b,_0x45556b,_0x25d4b5)=>{const _0x1e4dac=_0xc9a096;this[_0x1e4dac(0x1e9)](_0x45556b,_0x1e4dac(0x212)),this[_0x1e4dac(0x1cd)][_0x1e4dac(0x1b7)](_0x45556b),this[_0x1e4dac(0x1a6)][_0x1e4dac(0x1f6)](_0x45556b)&&this[_0x1e4dac(0x1e2)](_0x45556b),_0x25d4b5&&this[_0x1e4dac(0x1a2)](_0x25d4b5[_0x1e4dac(0x1d0)]);}),this[_0xc9a096(0x1ec)](_0x3052c4,_0xc9a096(0x19e),(_0x1af3d8,_0x16b36d)=>{const _0x4f741a=_0xc9a096;this[_0x4f741a(0x1a2)](_0x16b36d);}),this[_0xc9a096(0x1ec)](_0x505acd,_0xc9a096(0x1b5),()=>{const _0x3abf49=_0xc9a096;this[_0x3abf49(0x1d4)]();}),this[_0xc9a096(0x1ec)](_0x2fad7b,_0xc9a096(0x20c),(_0x4435a6,{threadId:_0x48d490,isFromAdapter:_0x5c7088})=>{const _0x216735=_0xc9a096;if(_0x5c7088||!_0x3052c4[_0x216735(0x237)](_0x48d490))return;const _0x307e81=_0x3052c4[_0x216735(0x1f1)](_0x48d490);this[_0x216735(0x1a6)][_0x216735(0x21d)](_0x307e81)[_0x216735(0x230)][_0x216735(0x22c)][_0x216735(0x1b0)](-0x1);},{'priority':_0xc9a096(0x1fe)}),this[_0xc9a096(0x1da)]=this[_0xc9a096(0x196)][_0xc9a096(0x1ed)][_0xc9a096(0x21d)](_0xc9a096(0x1da));const _0x4772fd=this[_0xc9a096(0x196)];this[_0xc9a096(0x21c)]=setInterval(()=>{const _0x5d5773=_0xc9a096;let _0x5b9d54;for(const _0x3f03bc in _0x4772fd){const _0x5347b9=_0x3f03bc,_0x19cfc3=_0x4772fd[_0x5347b9];if(_0x5d5773(0x1c8)==_0x19cfc3||_0x5d5773(0x236)==_0x19cfc3||_0x5d5773(0x18e)==_0x19cfc3||_0x5d5773(0x233)==_0x19cfc3||_0x5d5773(0x235)==_0x19cfc3||_0x5d5773(0x215)==_0x19cfc3||_0x5d5773(0x1ee)==_0x19cfc3||_0x5d5773(0x234)==_0x19cfc3){delete _0x4772fd[_0x5347b9],_0x5b9d54=_0x19cfc3,clearInterval(this[_0x5d5773(0x21c)]),this[_0x5d5773(0x21c)]=void 0x0;break;}}_0x5d5773(0x236)==_0x5b9d54&&_0x4772fd[_0x5d5773(0x1a1)](_0x5d5773(0x214)),_0x5d5773(0x18e)==_0x5b9d54&&_0x4772fd[_0x5d5773(0x1a1)](_0x5d5773(0x1e1)),_0x5d5773(0x233)==_0x5b9d54&&_0x4772fd[_0x5d5773(0x1a1)](_0x5d5773(0x1cb)),_0x5d5773(0x235)==_0x5b9d54&&_0x4772fd[_0x5d5773(0x1a1)](_0x5d5773(0x1be),_0x5d5773(0x1f5)),_0x5d5773(0x215)==_0x5b9d54&&_0x4772fd[_0x5d5773(0x1a1)](_0x5d5773(0x238)),_0x5d5773(0x1ee)==_0x5b9d54&&_0x4772fd[_0x5d5773(0x1a1)](_0x5d5773(0x1bb)),_0x5d5773(0x234)==_0x5b9d54&&_0x4772fd[_0x5d5773(0x1a1)](_0x5d5773(0x1c0));},0x3e8);}[_0x1f3262(0x1ff)](_0x46e80a){const _0x111714=_0x1f3262,_0x5bbd8e=this[_0x111714(0x1a6)][_0x111714(0x21d)](_0x46e80a);if(!_0x5bbd8e)return null;return this[_0x111714(0x196)][_0x111714(0x221)][_0x111714(0x21d)](_0x111714(0x1b9))[_0x111714(0x1c4)](_0x5bbd8e[_0x111714(0x230)])||null;}[_0x1f3262(0x210)](_0x49996a){const _0x42ec8e=_0x1f3262,_0x19414b=this[_0x42ec8e(0x1dc)][_0x42ec8e(0x21d)](_0x49996a[_0x42ec8e(0x1d3)]);return _0x19414b?_0x19414b[_0x42ec8e(0x1fa)]:null;}[_0x1f3262(0x1d4)](){const _0x3529c5=_0x1f3262,_0x10ca06=this[_0x3529c5(0x196)][_0x3529c5(0x221)][_0x3529c5(0x21d)](_0x3529c5(0x1b9)),_0xbf31dd=this[_0x3529c5(0x196)][_0x3529c5(0x221)][_0x3529c5(0x21d)](_0x3529c5(0x1af)),_0x343f65=Array[_0x3529c5(0x189)](_0x10ca06[_0x3529c5(0x1d5)],_0x27020c=>_0x27020c[_0x3529c5(0x1d3)])[_0x3529c5(0x18a)](_0x11135e=>this[_0x3529c5(0x1dc)][_0x3529c5(0x1f6)](_0x11135e)),_0x1c75f8=[];for(const _0x1f91af of _0x343f65){const _0x8508b3=this[_0x3529c5(0x1dc)][_0x3529c5(0x21d)](_0x1f91af)[_0x3529c5(0x1fa)][_0x3529c5(0x204)]();_0x1c75f8[_0x3529c5(0x1f8)](..._0x8508b3[_0x3529c5(0x1ca)]((_0xb59944,_0x1ae4b3)=>[..._0xb59944,..._0x1ae4b3[_0x3529c5(0x226)]()],[]));}_0xbf31dd[_0x3529c5(0x18c)]=_0x1c75f8;}[_0x1f3262(0x195)](){const _0x1e2792=_0x1f3262,_0x431ae2=this[_0x1e2792(0x196)],_0x3844bf=_0x431ae2[_0x1e2792(0x1a7)],_0x5b54d8=_0x56f3b7(_0x3844bf,_0x1e2792(0x1b1)),_0x5be600=new _0x52e784([{'type':_0x1e2792(0x1ae),'model':new _0x15fc6a({'withText':!0x0,'isToggleable':!0x0,'label':_0x5b54d8,'commandName':_0x1e2792(0x1ef),'role':_0x1e2792(0x199)})},{'type':_0x1e2792(0x213)},{'type':_0x1e2792(0x20d),'model':new _0x15fc6a({'withText':!0x0,'label':_0x56f3b7(_0x3844bf,_0x1e2792(0x211)),'commandName':_0x1e2792(0x21e),'role':_0x1e2792(0x217)})},{'type':_0x1e2792(0x20d),'model':new _0x15fc6a({'withText':!0x0,'label':_0x56f3b7(_0x3844bf,_0x1e2792(0x1c1)),'commandName':_0x1e2792(0x1dd),'role':_0x1e2792(0x217)})},{'type':_0x1e2792(0x20d),'model':new _0x15fc6a({'withText':!0x0,'label':_0x56f3b7(_0x3844bf,_0x1e2792(0x223)),'commandName':_0x1e2792(0x207),'role':_0x1e2792(0x217)})},{'type':_0x1e2792(0x20d),'model':new _0x15fc6a({'withText':!0x0,'label':_0x56f3b7(_0x3844bf,_0x1e2792(0x1ea)),'commandName':_0x1e2792(0x1c9),'role':_0x1e2792(0x217)})}]);_0x431ae2[_0x1e2792(0x221)][_0x1e2792(0x1f6)](_0x1e2792(0x20e))&&_0x5be600[_0x1e2792(0x20f)]([{'type':_0x1e2792(0x213)},{'type':_0x1e2792(0x20d),'model':new _0x15fc6a({'withText':!0x0,'label':_0x56f3b7(_0x3844bf,_0x1e2792(0x1e4)),'commandName':_0x1e2792(0x1e7),'role':_0x1e2792(0x217)})}]);for(const _0x4e355f of _0x5be600)if(ke(_0x4e355f)){const _0x54d7a4=_0x431ae2[_0x1e2792(0x218)][_0x1e2792(0x21d)](_0x4e355f[_0x1e2792(0x1fa)][_0x1e2792(0x1c7)]);_0x4e355f[_0x1e2792(0x1fa)][_0x1e2792(0x1ba)](_0x1e2792(0x1fd),_0x1e2792(0x1a9))['to'](_0x54d7a4,_0x1e2792(0x1ad),_0x1e2792(0x1a9));}_0x431ae2['ui'][_0x1e2792(0x228)][_0x1e2792(0x1f7)](_0x1e2792(0x1ef),_0x5039e0=>this[_0x1e2792(0x229)](_0x5039e0,_0x5be600,_0x5b54d8)),_0x431ae2['ui'][_0x1e2792(0x228)][_0x1e2792(0x1f7)](_0x1e2792(0x1c5),_0x476865=>this[_0x1e2792(0x209)](_0x476865,_0x5be600,_0x5b54d8));}[_0x1f3262(0x229)](_0x3b19a4,_0x39481c,_0x5d8031){const _0x1af2e9=_0x1f3262,_0x479823=_0x315284(_0x3b19a4,_0x5b88c1),_0x866a01=this[_0x1af2e9(0x196)][_0x1af2e9(0x218)][_0x1af2e9(0x21d)](_0x1af2e9(0x1ef));_0x479823[_0x1af2e9(0x220)][_0x1af2e9(0x19d)]({'tooltip':_0x5d8031,'label':_0x5d8031,'icon':_0x17c5a6}),_0x479823[_0x1af2e9(0x220)][_0x1af2e9(0x1ba)](_0x1af2e9(0x1fd))['to'](_0x866a01,_0x1af2e9(0x1ad)),_0x479823[_0x1af2e9(0x220)]['on'](_0x1af2e9(0x1b8),()=>{const _0xf715fd=_0x1af2e9;_0x866a01[_0xf715fd(0x1b8)](),this[_0xf715fd(0x196)][_0xf715fd(0x224)][_0xf715fd(0x230)][_0xf715fd(0x1b0)]();}),_0x509f3f(_0x479823,_0x39481c,{'role':_0x1af2e9(0x1f9)});const _0x5f7e87=[];for(const _0x11c33e of _0x39481c)ke(_0x11c33e)&&_0x5f7e87[_0x1af2e9(0x1f8)](this[_0x1af2e9(0x196)][_0x1af2e9(0x218)][_0x1af2e9(0x21d)](_0x11c33e[_0x1af2e9(0x1fa)][_0x1af2e9(0x1c7)]));const _0x2a0af9=_0x479823[_0x1af2e9(0x220)];return _0x2a0af9[_0x1af2e9(0x1cc)][_0x1af2e9(0x1e0)](_0x1af2e9(0x1a9)),_0x2a0af9[_0x1af2e9(0x22b)][_0x1af2e9(0x1e0)](_0x1af2e9(0x1a9)),_0x2a0af9[_0x1af2e9(0x1cc)][_0x1af2e9(0x1ba)](_0x1af2e9(0x1a9))['to'](_0x866a01,_0x1af2e9(0x1a9)),_0x2a0af9[_0x1af2e9(0x22b)][_0x1af2e9(0x1ba)](_0x1af2e9(0x1a9))[_0x1af2e9(0x219)](_0x5f7e87,_0x1af2e9(0x1a9),(..._0x33f2ea)=>_0x33f2ea[_0x1af2e9(0x22a)](_0x4b2d59=>_0x4b2d59)),_0x479823['on'](_0x1af2e9(0x1b8),_0x13783b=>{const _0x2856c5=_0x1af2e9;this[_0x2856c5(0x196)][_0x2856c5(0x1b8)](_0x13783b[_0x2856c5(0x1d6)][_0x2856c5(0x1c7)]),this[_0x2856c5(0x196)][_0x2856c5(0x224)][_0x2856c5(0x230)][_0x2856c5(0x1b0)]();}),_0x479823;}[_0x1f3262(0x209)](_0x2d9bb6,_0x3a8c53,_0xf1a4bd){const _0xc99d27=_0x1f3262,_0x473548=new _0x5c453a(_0x2d9bb6),_0x59a14f=this[_0xc99d27(0x196)][_0xc99d27(0x218)][_0xc99d27(0x21d)](_0xc99d27(0x1ef));_0x473548[_0xc99d27(0x220)][_0xc99d27(0x19d)]({'label':_0xf1a4bd,'icon':_0x17c5a6});const _0x45566b=new _0x121d08(_0x2d9bb6);for(const _0x7138e9 of _0x3a8c53){if(_0xc99d27(0x213)==_0x7138e9[_0xc99d27(0x1c2)]){_0x45566b[_0xc99d27(0x1a4)][_0xc99d27(0x1f7)](new _0x4fa605(_0x2d9bb6));continue;}const _0x156558=new _0x60a2f3(_0x2d9bb6,_0x473548),_0x2eda19=new _0x40633a(_0x2d9bb6),_0x535716=_0x7138e9[_0xc99d27(0x1fa)];_0x2eda19[_0xc99d27(0x1ba)](...Object[_0xc99d27(0x231)](_0x535716))['to'](_0x535716),_0x2eda19[_0xc99d27(0x191)](_0xc99d27(0x1b8))['to'](_0x473548),_0x2eda19['on'](_0xc99d27(0x1b8),()=>{const _0x135aec=_0xc99d27;this[_0x135aec(0x196)][_0x135aec(0x1b8)](_0x535716[_0x135aec(0x1c7)]),this[_0x135aec(0x196)][_0x135aec(0x224)][_0x135aec(0x230)][_0x135aec(0x1b0)]();}),_0x156558[_0xc99d27(0x23a)][_0xc99d27(0x1f7)](_0x2eda19),_0x45566b[_0xc99d27(0x1a4)][_0xc99d27(0x1f7)](_0x156558);}return _0x473548[_0xc99d27(0x1ba)](_0xc99d27(0x1a9))['to'](_0x59a14f,_0xc99d27(0x1a9)),_0x473548[_0xc99d27(0x198)][_0xc99d27(0x23a)][_0xc99d27(0x1f7)](_0x45566b),_0x473548;}[_0x1f3262(0x1eb)](_0x38f6f7){const _0x4ce9e7=_0x1f3262,_0x4d60a0=this[_0x4ce9e7(0x196)],_0x2ce188=_0x4d60a0[_0x4ce9e7(0x1ed)],_0x42a7b1=_0x4d60a0[_0x4ce9e7(0x221)][_0x4ce9e7(0x21d)](_0x4ce9e7(0x1b9)),_0x5195c1=_0x4d60a0[_0x4ce9e7(0x221)][_0x4ce9e7(0x21d)](_0x4ce9e7(0x1cf)),_0x2ad7cf=_0x4d60a0[_0x4ce9e7(0x221)][_0x4ce9e7(0x21d)](_0x4ce9e7(0x1bd)),_0x66d250=_0x4d60a0[_0x4ce9e7(0x221)][_0x4ce9e7(0x21d)](_0x507b79)['me'],_0xadd8ed=_0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x1ef))[_0x4ce9e7(0x18d)],_0x3f5fc2=_0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x1ef))[_0x4ce9e7(0x208)],{CommentsListView:_0x50c926,CommentThreadInputView:_0x43b10e}=_0x4d60a0[_0x4ce9e7(0x221)][_0x4ce9e7(0x21d)](_0x4ce9e7(0x19c));let _0x15371c,_0x5c4499,_0x1edaa4;this[_0x4ce9e7(0x239)][_0x4ce9e7(0x1f6)](_0x38f6f7['id'])?(_0x5c4499=this[_0x4ce9e7(0x239)][_0x4ce9e7(0x21d)](_0x38f6f7['id']),_0x15371c=_0x5c4499[_0x4ce9e7(0x1aa)]):(_0x15371c=new _0xadd8ed(_0x4d60a0[_0x4ce9e7(0x1a7)],_0x38f6f7,_0x66d250,{'disableComments':this[_0x4ce9e7(0x1ac)],'editorConfig':{..._0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x18f)),'licenseKey':_0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x1da))},'maxCommentsWhenCollapsed':_0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x232)),'maxThreadTotalWeight':_0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x22e)),'maxCommentCharsWhenCollapsed':_0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x227)),'formatDateTime':_0x6506d1(_0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x1a7)),_0x4d60a0[_0x4ce9e7(0x1a7)]),'CommentView':_0x2ce188[_0x4ce9e7(0x21d)](_0x4ce9e7(0x197))[_0x4ce9e7(0x21a)],'CommentsListView':_0x50c926,'CommentThreadInputView':_0x43b10e,'SuggestionView':_0x3f5fc2}),_0x15371c[_0x4ce9e7(0x1f2)][_0x4ce9e7(0x222)]['on'](_0x4ce9e7(0x1b8),()=>{const _0x4cf2d0=_0x4ce9e7;_0x4d60a0[_0x4cf2d0(0x224)][_0x4cf2d0(0x230)][_0x4cf2d0(0x1b0)]();}),_0x15371c[_0x4ce9e7(0x1f2)][_0x4ce9e7(0x1a3)]['on'](_0x4ce9e7(0x1b8),()=>{const _0xc6dc4f=_0x4ce9e7;_0x4d60a0[_0xc6dc4f(0x224)][_0xc6dc4f(0x230)][_0xc6dc4f(0x1b0)]();}),_0x5c4499=_0x42a7b1[_0x4ce9e7(0x202)](this[_0x4ce9e7(0x196)][_0x4ce9e7(0x1a7)],_0x15371c),_0x5c4499[_0x4ce9e7(0x1ba)](_0x4ce9e7(0x205))['to'](_0x15371c,_0x4ce9e7(0x205)),_0x5c4499[_0x4ce9e7(0x1ba)](_0x4ce9e7(0x1d8))['to'](_0x15371c),_0x5c4499[_0x4ce9e7(0x1ba)](_0x4ce9e7(0x1c2))['to'](_0x15371c,_0x4ce9e7(0x1c2),_0x48e753=>_0x4ce9e7(0x1fb)+_0x48e753),_0x15371c['on'](_0x4ce9e7(0x1df),()=>{const _0x37360f=_0x4ce9e7;_0x1edaa4[_0x37360f(0x19b)](_0x37360f(0x1df));}),this[_0x4ce9e7(0x239)][_0x4ce9e7(0x19d)](_0x38f6f7['id'],_0x5c4499));const _0x39fd19=_0x5195c1[_0x4ce9e7(0x1a8)](_0x38f6f7[_0x4ce9e7(0x216)],_0x15371c),_0x30c350=new _0x5c1646(_0x4d60a0,_0x38f6f7,_0x15371c,_0x39fd19),_0x4740b6=_0x38f6f7[_0x4ce9e7(0x204)]()[_0x4ce9e7(0x18a)](_0x518180=>_0x518180[_0x4ce9e7(0x19f)]);_0x15371c[_0x4ce9e7(0x21b)]=_0x4d60a0[_0x4ce9e7(0x221)][_0x4ce9e7(0x21d)](_0x4ce9e7(0x1af))[_0x4ce9e7(0x1b6)][_0x4ce9e7(0x1fc)](_0x4740b6),this[_0x4ce9e7(0x1a6)][_0x4ce9e7(0x19d)](_0x38f6f7,_0x30c350),this[_0x4ce9e7(0x1dc)][_0x4ce9e7(0x19d)](_0x15371c,_0x30c350);const _0x41951e=()=>{const _0x4c17fb=_0x4ce9e7,_0x55b947=[],_0x10c450=_0x38f6f7[_0x4c17fb(0x204)]()[_0x4c17fb(0x18a)](_0x3e9d91=>_0x3e9d91[_0x4c17fb(0x19f)]);for(const _0x1d77e2 of _0x10c450)_0x55b947[_0x4c17fb(0x1f8)](..._0x1d77e2[_0x4c17fb(0x190)]());return _0x4387e4(_0x4d60a0[_0x4c17fb(0x224)],_0x55b947);};_0x1edaa4=_0x42a7b1[_0x4ce9e7(0x1ab)]({'view':_0x5c4499,'target':_0x41951e,'type':()=>_0x4ce9e7(0x1fb)+_0x30c350[_0x4ce9e7(0x230)][_0x4ce9e7(0x1c2)],'isVisible':!!_0x41951e()}),_0x5195c1[_0x4ce9e7(0x22f)](_0x15371c,_0x1edaa4),_0x42a7b1[_0x4ce9e7(0x1f7)](_0x1edaa4),_0x2ad7cf[_0x4ce9e7(0x192)](_0x1edaa4);}[_0x1f3262(0x1e2)](_0x1ecb13){const _0x179780=_0x1f3262,_0x299115=this[_0x179780(0x196)][_0x179780(0x221)][_0x179780(0x21d)](_0x179780(0x1cf)),_0x5bd48d=this[_0x179780(0x196)][_0x179780(0x221)][_0x179780(0x21d)](_0x179780(0x1b9)),_0x1165a3=this[_0x179780(0x1a6)][_0x179780(0x21d)](_0x1ecb13),_0x1a113f=_0x1165a3[_0x179780(0x230)],_0x3c23d6=_0x5bd48d[_0x179780(0x1c4)](_0x1a113f);_0x299115[_0x179780(0x1f0)](_0x1a113f),_0x3c23d6&&_0x5bd48d[_0x179780(0x203)](_0x3c23d6),this[_0x179780(0x1a6)][_0x179780(0x1b7)](_0x1ecb13),this[_0x179780(0x1dc)][_0x179780(0x1b7)](_0x1a113f),_0x1165a3[_0x179780(0x1f4)]();}[_0x1f3262(0x1a2)](_0x443935){const _0x5a5032=_0x1f3262;if(!_0x443935[_0x5a5032(0x19f)]||!this[_0x5a5032(0x1a6)][_0x5a5032(0x1f6)](_0x443935))return;const _0xb9a2c=this[_0x5a5032(0x196)][_0x5a5032(0x221)][_0x5a5032(0x21d)](_0x5a5032(0x1af)),_0x454b8d=this[_0x5a5032(0x1a6)][_0x5a5032(0x21d)](_0x443935),_0x466905=_0x443935[_0x5a5032(0x204)]();_0x454b8d[_0x5a5032(0x230)][_0x5a5032(0x21b)]=_0xb9a2c[_0x5a5032(0x1b6)][_0x5a5032(0x1fc)](_0x466905);}[_0x1f3262(0x1f4)](){const _0x52819d=_0x1f3262;for(const _0x37a579 of this[_0x52819d(0x1a6)][_0x52819d(0x231)]())this[_0x52819d(0x1e2)](_0x37a579);for(const _0x145966 of this[_0x52819d(0x239)][_0x52819d(0x193)]())_0x145966[_0x52819d(0x1aa)][_0x52819d(0x1f4)]();super[_0x52819d(0x1f4)](),this[_0x52819d(0x21c)]&&clearInterval(this[_0x52819d(0x21c)]);}}function ke(_0x5574c6){const _0x5c7f7f=_0x1f3262;return _0x5c7f7f(0x1fa)in _0x5574c6;}function _0x530c(){const _0x1d7a98=['_licenseKeyCheckInterval','get','acceptAllSuggestions','trackChanges.disableComments','buttonView','plugins','acceptButton','Discard\x20all\x20suggestions','editing','15SmRaYK','getMarkerNames','comments.maxCommentCharsWhenCollapsed','componentFactory','_createToolbarButton','some','arrowView','commentsListView','625959tXJDmt','comments.maxThreadTotalWeight','_bindAnnotationToEditors','view','keys','comments.maxCommentsWhenCollapsed','trackChangesLicenseKeyDomainLimit','trackChangesLicenseKeyUsageLimit','trackChangesLicenseKeyNotAllowed','trackChangesLicenseKeyInvalid','hasSuggestion','evaluationLimit','_annotationViews','children','3590VjJjoN','from','filter','pluginName','activeMarkers','SuggestionThreadView','trackChangesLicenseKeyExpired','comments.editorConfig','getMarkers','delegate','registerAnnotation','values','suggestionUnloaded','_addUIComponentsToFactory','editor','comments','panelView','menuitemcheckbox','clear','fire','CommentsUI','set','suggestionChanged','isInContent','refreshSelectedViews','_showLicenseError','_updateController','discardButton','items','_handleSuggestionControllerDelayed','_suggestionToController','locale','createCommentThreadController','isEnabled','mainView','createAnnotation','_disableComments','value','switchbutton','TrackChangesEditing','focus','Track\x20changes','240450trLiKc','639SHWXyE','1661QqQhAF','change:activeAnnotations','descriptionFactory','delete','execute','Annotations','bind','trialLimit','init','EditorAnnotations','featureNotAllowed','isPremiumPlugin','usageLimit','Accept\x20all\x20selected\x20suggestions','type','149170WfRaQV','getByInnerView','menuBar:trackChanges','define','commandName','trackChangesLicenseKeyValid','discardSelectedSuggestions','reduce','domainLimit','actionView','_handleControllerBuffer','getJoined','CommentsRepository','head','85059vJETif','isOfficialPlugin','innerView','_refreshActiveMarkers','activeAnnotations','source','645884uqUqQb','length','trackChanges.SuggestionThreadView','licenseKey','addSourceCollector','_viewToController','acceptSelectedSuggestions','isMultiRange','escape','unbind','expired','_destroyController','suggestionLoaded','Preview\x20final\x20content','previous','4116539eAKkgo','previewFinalContent','trackChanges.SuggestionView','stopListening','Discard\x20all\x20selected\x20suggestions','_initializeController','listenTo','config','trackChangesLicenseKeyTrialLimit','trackChanges','_unbindEditors','getSuggestion','suggestionView','TrackChangesUI','destroy','TrackChanges','has','add','push','menu','model','suggestion-','getDescriptions','isOn','lowest','getAnnotationForSuggestion','getFirstRange','requires','createAnnotationView','remove','getAllAdjacentSuggestions','isDirty','getRanges','discardAllSuggestions','SuggestionView','_createMenuBarMenu','616qajuCL','size','addComment','button','TrackChangesPreview','addMany','getSuggestionForAnnotation','Accept\x20all\x20suggestions','change:previous','separator','invalid','trackChangesLicenseKeyEvaluationLimit','commentThread','menuitem','commands','toMany','CommentView','descriptionParts'];_0x530c=function(){return _0x1d7a98;};return _0x530c();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x14a8c1=_0x1421;function _0x1421(_0x13961a,_0x5ab647){const _0x51ea01=_0x51ea();return _0x1421=function(_0x142125,_0x4da99e){_0x142125=_0x142125-0x159;let _0x97457=_0x51ea01[_0x142125];return _0x97457;},_0x1421(_0x13961a,_0x5ab647);}(function(_0x3d4ffb,_0x21fb53){const _0x4a2cb9=_0x1421,_0x2be2e9=_0x3d4ffb();while(!![]){try{const _0xadceb3=parseInt(_0x4a2cb9(0x180))/0x1+-parseInt(_0x4a2cb9(0x17c))/0x2+-parseInt(_0x4a2cb9(0x175))/0x3+parseInt(_0x4a2cb9(0x170))/0x4*(-parseInt(_0x4a2cb9(0x174))/0x5)+parseInt(_0x4a2cb9(0x17a))/0x6+parseInt(_0x4a2cb9(0x17b))/0x7*(parseInt(_0x4a2cb9(0x173))/0x8)+-parseInt(_0x4a2cb9(0x16d))/0x9;if(_0xadceb3===_0x21fb53)break;else _0x2be2e9['push'](_0x2be2e9['shift']());}catch(_0x5454dd){_0x2be2e9['push'](_0x2be2e9['shift']());}}}(_0x51ea,0xe647b));import{ObservableMixin as _0x49ecfa}from'ckeditor5/src/utils.js';import{getTranslation as _0x21179c}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49ecfa(){[_0x14a8c1(0x15b)];[_0x14a8c1(0x167)];[_0x14a8c1(0x16a)];[_0x14a8c1(0x178)];[_0x14a8c1(0x160)];[_0x14a8c1(0x177)];[_0x14a8c1(0x169)];constructor(_0x161fb1,_0x24149f,_0x489953,_0x37bb45){const _0x2488ef=_0x14a8c1;super(),this[_0x2488ef(0x15b)]=_0x24149f,this[_0x2488ef(0x167)]=_0x489953,this[_0x2488ef(0x16a)]=_0x37bb45,this[_0x2488ef(0x178)]=_0x161fb1,this[_0x2488ef(0x160)]=_0x161fb1[_0x2488ef(0x16c)][_0x2488ef(0x159)](_0x2488ef(0x15f)),this[_0x2488ef(0x177)]=_0x161fb1[_0x2488ef(0x16c)][_0x2488ef(0x159)](_0x2488ef(0x17e)),this[_0x2488ef(0x167)][_0x2488ef(0x166)](_0x2488ef(0x15c))['to'](this[_0x2488ef(0x160)],this[_0x2488ef(0x177)],(_0x5e2773,_0x24eb70)=>_0x5e2773||_0x24eb70),this[_0x2488ef(0x167)][_0x2488ef(0x166)](_0x2488ef(0x168))['to'](this[_0x2488ef(0x160)],_0x2488ef(0x15c),_0x59335f=>_0x59335f&&this[_0x2488ef(0x178)][_0x2488ef(0x15b)][_0x2488ef(0x16e)](_0x24149f[_0x2488ef(0x172)]())),this[_0x2488ef(0x167)][_0x2488ef(0x166)](_0x2488ef(0x179))['to'](this[_0x2488ef(0x177)],_0x2488ef(0x15c),_0x2a54c6=>_0x2a54c6&&this[_0x2488ef(0x178)][_0x2488ef(0x15b)][_0x2488ef(0x16e)](_0x24149f[_0x2488ef(0x172)]())),this[_0x2488ef(0x169)]=null,_0x489953[_0x2488ef(0x164)]&&this[_0x2488ef(0x17d)](),this[_0x2488ef(0x17f)](_0x489953,_0x2488ef(0x15f),()=>this[_0x2488ef(0x15f)]()),this[_0x2488ef(0x17f)](_0x489953,_0x2488ef(0x17e),()=>this[_0x2488ef(0x17e)]()),this[_0x2488ef(0x17f)](_0x489953,_0x2488ef(0x165),()=>{const _0xe733a9=_0x2488ef;_0x489953[_0xe733a9(0x164)]?this[_0xe733a9(0x17d)]():this[_0xe733a9(0x15d)]();});}[_0x14a8c1(0x15f)](){const _0x36da8e=_0x14a8c1;this[_0x36da8e(0x160)][_0x36da8e(0x15a)](this[_0x36da8e(0x15b)]['id']);}[_0x14a8c1(0x17e)](){const _0x3eaef3=_0x14a8c1;this[_0x3eaef3(0x177)][_0x3eaef3(0x15a)](this[_0x3eaef3(0x15b)]['id']);}[_0x14a8c1(0x176)](){const _0x38a56c=_0x14a8c1;this[_0x38a56c(0x167)][_0x38a56c(0x171)](_0x38a56c(0x15c)),this[_0x38a56c(0x167)][_0x38a56c(0x171)](_0x38a56c(0x168)),this[_0x38a56c(0x167)][_0x38a56c(0x171)](_0x38a56c(0x179)),this[_0x38a56c(0x163)](),this[_0x38a56c(0x16a)][_0x38a56c(0x176)](),this[_0x38a56c(0x169)]&&this[_0x38a56c(0x15d)]();}[_0x14a8c1(0x17d)](){const _0xb737bf=_0x14a8c1,_0x4a75bf=_0x21179c(this[_0xb737bf(0x178)][_0xb737bf(0x15e)],_0xb737bf(0x162));this[_0xb737bf(0x169)]=this[_0xb737bf(0x178)][_0xb737bf(0x181)][_0xb737bf(0x159)](_0xb737bf(0x161))[_0xb737bf(0x16f)](_0x4a75bf);}[_0x14a8c1(0x15d)](){const _0x5e411c=_0x14a8c1;null!==this[_0x5e411c(0x169)]&&this[_0x5e411c(0x178)][_0x5e411c(0x181)][_0x5e411c(0x159)](_0x5e411c(0x161))[_0x5e411c(0x16b)](this[_0x5e411c(0x169)]),this[_0x5e411c(0x169)]=null;}}function _0x51ea(){const _0x579aa2=['bind','view','canAccept','_pendingAction','commentThreadController','remove','commands','14965848RKvpQe','canEditAt','add','36JZSELh','unbind','getRanges','2440frCUia','74805JEICOl','811047ZAAEpe','destroy','_discardCommand','_editor','canDiscard','8690358uVUtxr','24157uzAgEf','2392700cTzANc','_setPendingAction','discardSuggestion','listenTo','1706499BMpOqM','plugins','get','execute','model','isEnabled','_removePendingAction','locale','acceptSuggestion','_acceptCommand','PendingActions','PENDING_ACTION_SUGGESTION','stopListening','isDirty','change:isDirty'];_0x51ea=function(){return _0x579aa2;};return _0x51ea();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x567b(){const _0x31ecca=['name','keystrokes','15071ZmUBmr','addComment','disableComments','length','text/html','element','map','8YeNjem','_createCommentThreadInputView','SUGGESTION_THREAD_ARIA_LABEL','set','updateComment','CommentView','textContent','hasDirtyComment','2250KJrVEb','isDirty','SUGGESTION_THREAD_DESCRIPTION','author','value','cancel','formatDateTime','render','commentThread','join','tab','focus','disabledSubmit','focusTracker','locale','editor','63336YULRnn','commentThreadInputView','1235232herAfp','_config','shift+tab','_localUser','focusables','ariaDescriptionView','176541sKPLiL','delegate','assign','_model','79385PuIBfw','commentInputView','isActive','content','editorConfig','isEnabled','1144LfBQBh','canDiscard','bind','setData','focusCycler','168OCfToe','parseFromString','134431muayMt','ariaLabel','target','isReadOnly','fire','removeComment','descriptionParts','destroy','submit','authoredAt','showInput','18uEzlOV','9100PlueBc','_createCommentViews','body','canAccept','commentsListView'];_0x567b=function(){return _0x31ecca;};return _0x567b();}const _0x1c0341=_0x434c;function _0x434c(_0x19369e,_0x2d01b0){const _0x567b56=_0x567b();return _0x434c=function(_0x434ca0,_0x3e8927){_0x434ca0=_0x434ca0-0xaa;let _0xf477d6=_0x567b56[_0x434ca0];return _0xf477d6;},_0x434c(_0x19369e,_0x2d01b0);}(function(_0x217505,_0x376201){const _0x1e40e4=_0x434c,_0x382585=_0x217505();while(!![]){try{const _0x16046d=-parseInt(_0x1e40e4(0xb2))/0x1*(-parseInt(_0x1e40e4(0xca))/0x2)+-parseInt(_0x1e40e4(0xd2))/0x3+-parseInt(_0x1e40e4(0xcc))/0x4+parseInt(_0x1e40e4(0xd6))/0x5*(parseInt(_0x1e40e4(0xee))/0x6)+parseInt(_0x1e40e4(0xab))/0x7*(parseInt(_0x1e40e4(0xdc))/0x8)+-parseInt(_0x1e40e4(0xba))/0x9*(parseInt(_0x1e40e4(0xef))/0xa)+parseInt(_0x1e40e4(0xe3))/0xb*(parseInt(_0x1e40e4(0xe1))/0xc);if(_0x16046d===_0x376201)break;else _0x382585['push'](_0x382585['shift']());}catch(_0x373bc3){_0x382585['push'](_0x382585['shift']());}}}(_0x567b,0x2d1d9));import{FocusCycler as _0x1c1ee6,View as _0xf75308,ViewCollection as _0x2749a1}from'ckeditor5/src/ui.js';import{FocusTracker as _0xcc0222,KeystrokeHandler as _0x3ff3e1}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x154227,setupThreadKeyboardNavigation as _0x353793}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4e2c9b}from'../../utils/common-translations.js';import{renderDescription as _0x5e0c92}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0xf75308{[_0x1c0341(0xf3)];[_0x1c0341(0xcb)];[_0x1c0341(0xd1)];[_0x1c0341(0xd0)];[_0x1c0341(0xc7)];[_0x1c0341(0xaa)];[_0x1c0341(0xe0)];[_0x1c0341(0xd5)];[_0x1c0341(0xcf)];[_0x1c0341(0xcd)];constructor(_0x18dd82,_0x1d7797,_0x515c0b,_0x32aef4){const _0x49e5b2=_0x1c0341;super(_0x18dd82),this[_0x49e5b2(0xf3)]=null,this[_0x49e5b2(0xcb)]=null,this[_0x49e5b2(0xd1)]=new _0x154227(_0x18dd82,_0x4e2c9b(_0x18dd82,_0x49e5b2(0xbc))),this[_0x49e5b2(0xb5)](_0x49e5b2(0xd8),!0x1),this[_0x49e5b2(0xb5)](_0x49e5b2(0xec),_0x1d7797[_0x49e5b2(0xec)]),this[_0x49e5b2(0xde)](_0x49e5b2(0xec))['to'](_0x1d7797),this[_0x49e5b2(0xb5)](_0x49e5b2(0xe9),[]),this[_0x49e5b2(0xb5)](_0x49e5b2(0xbb),!0x1),this[_0x49e5b2(0xb5)](_0x49e5b2(0xdb),!0x1),this[_0x49e5b2(0xb5)](_0x49e5b2(0xf2),!0x1),this[_0x49e5b2(0xb5)](_0x49e5b2(0xdd),!0x1),this[_0x49e5b2(0xde)](_0x49e5b2(0xe4))['to'](this,_0x49e5b2(0xae),_0x1d7797,_0x49e5b2(0xec),this,_0x49e5b2(0xe9),(_0x2a0c7b,_0x46f5dd,_0x16ae78)=>{const _0x5d04f0=_0x49e5b2,_0x4d5085=_0x16ae78[_0x5d04f0(0xb1)](_0x440b30=>_0x5e0c92(_0x440b30[_0x5d04f0(0xd9)]))[_0x5d04f0(0xc3)]('.\x20')+'.';return _0x4e2c9b(this[_0x5d04f0(0xc8)],_0x5d04f0(0xb4),[_0x2a0c7b-0x1,_0x1d7797[_0x5d04f0(0xbd)][_0x5d04f0(0xf4)],_0x46f5dd?_0x32aef4[_0x5d04f0(0xc0)](_0x46f5dd):'',new DOMParser()[_0x5d04f0(0xe2)](_0x4d5085,_0x5d04f0(0xaf))[_0x5d04f0(0xf1)][_0x5d04f0(0xb8)]]);}),this[_0x49e5b2(0xd0)]=new _0x2749a1(),this[_0x49e5b2(0xc7)]=new _0xcc0222(),this[_0x49e5b2(0xaa)]=new _0x3ff3e1(),this[_0x49e5b2(0xe0)]=new _0x1c1ee6({'focusables':this[_0x49e5b2(0xd0)],'focusTracker':this[_0x49e5b2(0xc7)],'keystrokeHandler':this[_0x49e5b2(0xaa)],'keystrokeHandlerOptions':{'filter':_0x451726=>_0x451726[_0x49e5b2(0xe5)]!==this[_0x49e5b2(0xb0)]},'actions':{'focusPrevious':_0x49e5b2(0xce),'focusNext':_0x49e5b2(0xc4)}}),this[_0x49e5b2(0xd5)]=_0x1d7797,this[_0x49e5b2(0xcf)]=_0x515c0b,this[_0x49e5b2(0xcd)]=_0x32aef4,_0x32aef4[_0x49e5b2(0xad)]?this[_0x49e5b2(0xb5)](_0x49e5b2(0xae),0x1):this[_0x49e5b2(0xf0)]();}[_0x1c0341(0xc1)](){const _0x17a836=_0x1c0341;super[_0x17a836(0xc1)](),_0x353793(this,this[_0x17a836(0xd0)]);}[_0x1c0341(0xc5)](){const _0x38839d=_0x1c0341;this[_0x38839d(0xb0)][_0x38839d(0xc5)]();}[_0x1c0341(0xea)](){const _0x30e05a=_0x1c0341;this[_0x30e05a(0xf3)]&&this[_0x30e05a(0xf3)][_0x30e05a(0xea)](),this[_0x30e05a(0xcb)]&&this[_0x30e05a(0xcb)][_0x30e05a(0xea)](),super[_0x30e05a(0xea)]();}[_0x1c0341(0xf0)](){const _0x260b09=_0x1c0341,{CommentsListView:_0x290613}=this[_0x260b09(0xcd)];this[_0x260b09(0xf3)]=new _0x290613(this[_0x260b09(0xc8)],this[_0x260b09(0xd5)][_0x260b09(0xc2)],Object[_0x260b09(0xd4)]({'CommentView':this[_0x260b09(0xcd)][_0x260b09(0xb7)]},this[_0x260b09(0xcd)])),this[_0x260b09(0xf3)][_0x260b09(0xd3)](_0x260b09(0xe8))['to'](this),this[_0x260b09(0xf3)][_0x260b09(0xd3)](_0x260b09(0xb6))['to'](this),this[_0x260b09(0xf3)][_0x260b09(0xde)](_0x260b09(0xd8))['to'](this),this[_0x260b09(0xb5)](_0x260b09(0xae),this[_0x260b09(0xf3)][_0x260b09(0xae)]+0x1),this[_0x260b09(0xde)](_0x260b09(0xae))['to'](this[_0x260b09(0xf3)],_0x260b09(0xae),_0x15aeb1=>_0x15aeb1+0x1),this[_0x260b09(0xcb)]=this[_0x260b09(0xb3)](),this['on'](_0x260b09(0xe8),()=>this[_0x260b09(0xc5)]()),this[_0x260b09(0xde)](_0x260b09(0xbb))['to'](this[_0x260b09(0xf3)],_0x260b09(0xb9),this[_0x260b09(0xcb)][_0x260b09(0xd7)],_0x260b09(0xbe),(_0x52d00f,_0x560a7e)=>_0x52d00f||!!_0x560a7e);}[_0x1c0341(0xb3)](){const _0x30b1b7=_0x1c0341,{CommentThreadInputView:_0x39cdfd}=this[_0x30b1b7(0xcd)],_0x2b07ca=new _0x39cdfd(this[_0x30b1b7(0xc8)],this[_0x30b1b7(0xcf)],this[_0x30b1b7(0xcd)][_0x30b1b7(0xda)]),_0x3e84ec=_0x2b07ca[_0x30b1b7(0xd7)];return _0x2b07ca[_0x30b1b7(0xde)](_0x30b1b7(0xed))['to'](this,_0x30b1b7(0xd8),this[_0x30b1b7(0xd5)][_0x30b1b7(0xc2)],_0x30b1b7(0xe6),_0x3e84ec,_0x30b1b7(0xbe),(_0x465c95,_0x341138,_0x4c96ff)=>!!_0x4c96ff||_0x465c95&&!_0x341138),_0x3e84ec['on'](_0x30b1b7(0xeb),(_0x2c512a,_0x4dfc07)=>{const _0xc4adce=_0x30b1b7;this[_0xc4adce(0xe7)](_0xc4adce(0xac),_0x4dfc07),_0x3e84ec[_0xc4adce(0xc9)][_0xc4adce(0xdf)]('');}),_0x3e84ec['on'](_0x30b1b7(0xbf),()=>this[_0x30b1b7(0xc5)]()),_0x3e84ec[_0x30b1b7(0xde)](_0x30b1b7(0xc6))['to'](this[_0x30b1b7(0xd5)][_0x30b1b7(0xc2)],_0x30b1b7(0xe6)),_0x2b07ca;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x17ef82=_0x2c00;(function(_0x2f4860,_0x11b724){const _0x3ad412=_0x2c00,_0x5422e3=_0x2f4860();while(!![]){try{const _0x27d98d=parseInt(_0x3ad412(0xde))/0x1*(-parseInt(_0x3ad412(0xfc))/0x2)+-parseInt(_0x3ad412(0x104))/0x3+-parseInt(_0x3ad412(0xe5))/0x4*(parseInt(_0x3ad412(0xd9))/0x5)+parseInt(_0x3ad412(0x10c))/0x6+parseInt(_0x3ad412(0xf5))/0x7*(-parseInt(_0x3ad412(0x100))/0x8)+-parseInt(_0x3ad412(0xe2))/0x9*(parseInt(_0x3ad412(0xfe))/0xa)+parseInt(_0x3ad412(0xfa))/0xb;if(_0x27d98d===_0x11b724)break;else _0x5422e3['push'](_0x5422e3['shift']());}catch(_0x1ffe85){_0x5422e3['push'](_0x5422e3['shift']());}}}(_0x6de1,0x4ff52));import{BaseSuggestionThreadView as _0x508391}from'./basesuggestionthreadview.js';function _0x6de1(){const _0x335677=['ck-rounded-corners','<p>','focusables','acceptButton','5rIjMWd','SuggestionView','commentThreadInputView','ariaLabel','ck-suggestion-','35843LjuDZG','author','_descriptionElement','discardButton','27nXWPQu','_model','push','2278644ZnsZAz','type','commentThread','isActive','editorDestroyed','commentsListView','</p>','add','setTemplate','color','ck-suggestion-wrapper','acceptSuggestion','formatDateTime','listitem','canDiscard','ariaDescriptionView','231SQBBzf','isEnabled','bind','div','delegate','14121965hpRjXf','content','6wGgJvf','description','560380LquMmn','getTemplate','39472gcMvky','bindTemplate','_config','discardSuggestion','1027530TdfDau','descriptionParts','canAccept','ck-suggestion-wrapper--active','ck-suggestion--disabled-comments','set','disableComments','editorReady','2365962tOZTwJ','suggestionView','render'];_0x6de1=function(){return _0x335677;};return _0x6de1();}import{trimHtml as _0x3cf85c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2c00(_0x57f81a,_0x29573c){const _0x6de12d=_0x6de1();return _0x2c00=function(_0x2c00e1,_0x5235ab){_0x2c00e1=_0x2c00e1-0xd7;let _0x23cc94=_0x6de12d[_0x2c00e1];return _0x23cc94;},_0x2c00(_0x57f81a,_0x29573c);}import{renderDescription as _0xc78951}from'../../utils/utils.js';export class SuggestionThreadView extends _0x508391{[_0x17ef82(0x10d)];[_0x17ef82(0xe0)];constructor(_0x56f87d,_0x3065ad,_0x1581b9,_0x5772c5){const _0x2a8048=_0x17ef82;super(_0x56f87d,_0x3065ad,_0x1581b9,_0x5772c5),this[_0x2a8048(0x109)](_0x2a8048(0xe6),''),this[_0x2a8048(0xf7)](_0x2a8048(0xe6))['to'](this,_0x2a8048(0x105),_0x155771=>_0x155771&&_0x155771[0x0]?_0x155771[0x0][_0x2a8048(0xe6)]:''),this[_0x2a8048(0xf7)](_0x2a8048(0xfd))['to'](this,_0x2a8048(0x105),this,_0x2a8048(0xe8),(_0x52955a,_0x58b1c9)=>{const _0x5cebf3=_0x2a8048;let _0x575a96='';for(const _0x321cab of _0x52955a)_0x575a96+=_0x5cebf3(0x110)+_0xc78951(_0x321cab[_0x5cebf3(0xfb)],_0x321cab[_0x5cebf3(0xee)])+_0x5cebf3(0xeb);return _0x58b1c9?_0x575a96:_0x3cf85c(_0x575a96,{'limit':0x8c});}),this[_0x2a8048(0xe0)]=null,this[_0x2a8048(0x10d)]=new _0x5772c5[(_0x2a8048(0xda))](_0x56f87d,_0x3065ad,{'formatDateTime':_0x5772c5[_0x2a8048(0xf1)]}),this[_0x2a8048(0x10d)][_0x2a8048(0xf7)](_0x2a8048(0xfd))['to'](this),this[_0x2a8048(0x10d)][_0x2a8048(0xf9)](_0x2a8048(0xf0),_0x2a8048(0x103))['to'](this),this[_0x2a8048(0x10d)][_0x2a8048(0xd8)][_0x2a8048(0xf7)](_0x2a8048(0xf6))['to'](this,_0x2a8048(0x106)),this[_0x2a8048(0x10d)][_0x2a8048(0xe1)][_0x2a8048(0xf7)](_0x2a8048(0xf6))['to'](this,_0x2a8048(0xf3)),this[_0x2a8048(0xd7)][_0x2a8048(0xec)](this[_0x2a8048(0x10d)]),this[_0x2a8048(0xea)]&&this[_0x2a8048(0xd7)][_0x2a8048(0xec)](this[_0x2a8048(0xea)]),this[_0x2a8048(0xdb)]&&this[_0x2a8048(0xd7)][_0x2a8048(0xec)](this[_0x2a8048(0xdb)]),this[_0x2a8048(0xed)](this[_0x2a8048(0xff)]());}[_0x17ef82(0xff)](){const _0x21d91c=_0x17ef82,_0x1ce140=this[_0x21d91c(0x101)],_0x4a20ed=[this[_0x21d91c(0x10d)]];return this[_0x21d91c(0xea)]&&_0x4a20ed[_0x21d91c(0xe4)](this[_0x21d91c(0xea)]),this[_0x21d91c(0xdb)]&&_0x4a20ed[_0x21d91c(0xe4)](this[_0x21d91c(0xdb)]),_0x4a20ed[_0x21d91c(0xe4)](this[_0x21d91c(0xf4)]),{'tag':_0x21d91c(0xf8),'attributes':{'class':['ck',_0x21d91c(0x10f),_0x21d91c(0xef),_0x1ce140['if'](_0x21d91c(0xe8),_0x21d91c(0x107)),_0x1ce140['to'](_0x21d91c(0xe6),_0xe89e8e=>_0x21d91c(0xdd)+_0xe89e8e),this[_0x21d91c(0x102)][_0x21d91c(0x10a)]&&_0x21d91c(0x108)],'data-suggestion-id':this[_0x21d91c(0xe3)]['id'],'data-thread-id':this[_0x21d91c(0xe3)][_0x21d91c(0xe7)]['id'],'data-author-id':this[_0x21d91c(0xe3)][_0x21d91c(0xdf)]['id'],'tabindex':0x0,'role':_0x21d91c(0xf2),'aria-label':_0x1ce140['to'](_0x21d91c(0xdc)),'aria-describedby':this[_0x21d91c(0xf4)]['id']},'children':_0x4a20ed};}[_0x17ef82(0x10e)](){const _0xe8cb12=_0x17ef82;super[_0xe8cb12(0x10e)](),this[_0xe8cb12(0xea)]&&(this[_0xe8cb12(0xea)][_0xe8cb12(0xf9)](_0xe8cb12(0x10b))['to'](this),this[_0xe8cb12(0xea)][_0xe8cb12(0xf9)](_0xe8cb12(0xe9))['to'](this)),this[_0xe8cb12(0xdb)]&&(this[_0xe8cb12(0xdb)][_0xe8cb12(0xf9)](_0xe8cb12(0x10b))['to'](this),this[_0xe8cb12(0xdb)][_0xe8cb12(0xf9)](_0xe8cb12(0xe9))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50c0ca=_0x548c;(function(_0xd62c5d,_0x2e0e26){const _0x2acf3d=_0x548c,_0x4f74c6=_0xd62c5d();while(!![]){try{const _0x40df12=parseInt(_0x2acf3d(0x173))/0x1+parseInt(_0x2acf3d(0x17d))/0x2*(-parseInt(_0x2acf3d(0x175))/0x3)+-parseInt(_0x2acf3d(0x158))/0x4*(parseInt(_0x2acf3d(0x179))/0x5)+-parseInt(_0x2acf3d(0x13c))/0x6*(-parseInt(_0x2acf3d(0x15e))/0x7)+parseInt(_0x2acf3d(0x176))/0x8+-parseInt(_0x2acf3d(0x148))/0x9*(-parseInt(_0x2acf3d(0x13b))/0xa)+-parseInt(_0x2acf3d(0x15c))/0xb*(parseInt(_0x2acf3d(0x17f))/0xc);if(_0x40df12===_0x2e0e26)break;else _0x4f74c6['push'](_0x4f74c6['shift']());}catch(_0x1a6126){_0x4f74c6['push'](_0x4f74c6['shift']());}}}(_0x5526,0x2c007));function _0x5526(){const _0x3f2d12=['change:description','ck-annotation','shift+tab','discardButton','set','EXTERNAL_IMPORT_WORD_AVATAR','4rzMTFR','innerHTML','esc','focusables','748FrxRUQ','ck-suggestion--accept','7HBFVnG','_setupKeyboardNavigation','_config','ck-suggestion__info','ck-suggestion__main','description','_model','locale','ck-suggestion','render','EXTERNAL_AVATAR','bind','ck-annotation__info-name','Discard\x20suggestion','attributes','author','acceptButton','ck-suggestion__info-name','importWord','focusTracker','EXTERNAL_SUGGESTION','232672lIDBaG','ck-suggestion__actions','413679giSGwx','2310592xJBVqZ','Accept\x20suggestion','ck-comment__external','1148685VDDBbM','getExternalSuggestionNote','span','extendTemplate','2FRhlfw','add','70800TJlQXD','discardSuggestion','ck-annotation__info','push','presentation','ck-annotation__actions','ck-suggestion--discard','enter','element','tab','ck-comment__info-time','getTemplate','userView','target','EXTERNAL_IMPORT_WORD_SUGGESTION','focusFirst','acceptSuggestion','time','_createButton','keystrokes','bindTemplate','creator','.ck-annotation__content-wrapper','123650aaXLAq','636450FvoKlW','fire','ck-annotation__content-wrapper','source','focusCycler','focus','execute','ck-annotation__main','div','ck-suggestion__user','setTemplate','ck-annotation__user','234jOGMjg','formatDateTime','ck-annotation__info-time','isExternal','getUserViewNotificationText','authoredAt','querySelector','listenTo','name','@external'];_0x5526=function(){return _0x3f2d12;};return _0x5526();}import{FocusTracker as _0x5ccf91,KeystrokeHandler as _0x381264}from'ckeditor5/src/utils.js';function _0x548c(_0xd449b1,_0xe52b51){const _0x552625=_0x5526();return _0x548c=function(_0x548c52,_0x5021b1){_0x548c52=_0x548c52-0x126;let _0x5d6719=_0x552625[_0x548c52];return _0x5d6719;},_0x548c(_0xd449b1,_0xe52b51);}import{View as _0x39233a,ViewCollection as _0x3f1a91,FocusCycler as _0x393cff}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x10b719,UserView as _0x53084a}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x17917f,IconCheck as _0x117a71}from'ckeditor5/src/icons.js';import{getTranslation as _0x47bbea}from'../../utils/common-translations.js';export class SuggestionView extends _0x39233a{[_0x50c0ca(0x130)];[_0x50c0ca(0x16e)];[_0x50c0ca(0x155)];[_0x50c0ca(0x15b)];[_0x50c0ca(0x171)];[_0x50c0ca(0x137)];[_0x50c0ca(0x140)];[_0x50c0ca(0x164)];[_0x50c0ca(0x160)];constructor(_0x324fae,_0x29c905,_0x185925){const _0x35a3c1=_0x50c0ca;super(_0x324fae),this[_0x35a3c1(0x164)]=_0x29c905,this[_0x35a3c1(0x160)]=_0x185925,this[_0x35a3c1(0x156)](_0x35a3c1(0x163),''),this[_0x35a3c1(0x169)](_0x35a3c1(0x14d))['to'](_0x29c905),this[_0x35a3c1(0x16e)]=this[_0x35a3c1(0x136)](_0x47bbea(_0x324fae,_0x35a3c1(0x177)),_0x117a71,_0x35a3c1(0x15d),_0x35a3c1(0x134),'sw'),this[_0x35a3c1(0x155)]=this[_0x35a3c1(0x136)](_0x47bbea(_0x324fae,_0x35a3c1(0x16b)),_0x17917f,_0x35a3c1(0x12a),_0x35a3c1(0x180),'sw'),this[_0x35a3c1(0x130)]=new _0x53084a(_0x324fae,_0x29c905[_0x35a3c1(0x16d)],this[_0x35a3c1(0x14c)]()),this[_0x35a3c1(0x130)][_0x35a3c1(0x17c)]({'attributes':{'class':[_0x35a3c1(0x145),_0x35a3c1(0x147)],'aria-hidden':!0x0}}),this[_0x35a3c1(0x15b)]=new _0x3f1a91([this[_0x35a3c1(0x16e)],this[_0x35a3c1(0x155)]]),this[_0x35a3c1(0x171)]=new _0x5ccf91(),this[_0x35a3c1(0x137)]=new _0x381264(),this[_0x35a3c1(0x140)]=new _0x393cff({'focusables':this[_0x35a3c1(0x15b)],'focusTracker':this[_0x35a3c1(0x171)],'keystrokeHandler':this[_0x35a3c1(0x137)],'actions':{'focusPrevious':_0x35a3c1(0x154),'focusNext':_0x35a3c1(0x12d)},'keystrokeHandlerOptions':{'filter':_0x39ce58=>_0x39ce58[_0x35a3c1(0x131)]!==this[_0x35a3c1(0x12c)]}}),this[_0x35a3c1(0x146)](this[_0x35a3c1(0x12f)]());}[_0x50c0ca(0x167)](){const _0x40fef0=_0x50c0ca;super[_0x40fef0(0x167)]();const _0x138696=this[_0x40fef0(0x12c)][_0x40fef0(0x14e)](_0x40fef0(0x13a));_0x138696[_0x40fef0(0x159)]=this[_0x40fef0(0x163)],this['on'](_0x40fef0(0x152),(_0x2b55dd,_0x41494b,_0x6b960d)=>{const _0x5acd7d=_0x40fef0;_0x138696[_0x5acd7d(0x159)]=_0x6b960d;}),this[_0x40fef0(0x15f)]();}[_0x50c0ca(0x12f)](){const _0x2d72b2=_0x50c0ca,_0x207291=this[_0x2d72b2(0x138)],_0x47c501=[{'tag':_0x2d72b2(0x144),'attributes':{'class':[_0x2d72b2(0x161),_0x2d72b2(0x126)]},'children':[{'tag':_0x2d72b2(0x17b),'children':[{'text':this[_0x2d72b2(0x130)][_0x2d72b2(0x150)]}],'attributes':{'class':[_0x2d72b2(0x16f),_0x2d72b2(0x16a)],'data-cke-tooltip-text':this[_0x2d72b2(0x130)][_0x2d72b2(0x150)]}},{'tag':_0x2d72b2(0x135),'attributes':{'datetime':_0x207291['to'](_0x2d72b2(0x14d)),'class':[_0x2d72b2(0x12e),_0x2d72b2(0x14a)]},'children':[{'text':_0x207291['to'](_0x2d72b2(0x14d),_0xe98de2=>this[_0x2d72b2(0x160)][_0x2d72b2(0x149)](_0xe98de2))}]}]},{'tag':_0x2d72b2(0x144),'attributes':{'class':[_0x2d72b2(0x174),_0x2d72b2(0x129)]},'children':[this[_0x2d72b2(0x16e)],this[_0x2d72b2(0x155)]]},{'tag':_0x2d72b2(0x144),'attributes':{'class':[_0x2d72b2(0x13e)]}}];return this[_0x2d72b2(0x164)][_0x2d72b2(0x14b)]&&_0x47c501[_0x2d72b2(0x127)]({'tag':_0x2d72b2(0x144),'attributes':{'class':[_0x2d72b2(0x178)]},'children':[{'text':this[_0x2d72b2(0x17a)]()}]}),{'tag':_0x2d72b2(0x144),'attributes':{'class':[_0x2d72b2(0x166),_0x2d72b2(0x153)],'tabindex':-0x1},'children':[this[_0x2d72b2(0x130)],{'tag':_0x2d72b2(0x144),'attributes':{'class':[_0x2d72b2(0x162),_0x2d72b2(0x143)],'role':_0x2d72b2(0x128)},'children':_0x47c501}]};}[_0x50c0ca(0x141)](){const _0x19d529=_0x50c0ca;this[_0x19d529(0x12c)][_0x19d529(0x141)]();}[_0x50c0ca(0x14c)](){const _0x448cf6=_0x50c0ca;return this[_0x448cf6(0x164)][_0x448cf6(0x14b)]?_0x448cf6(0x170)===this[_0x448cf6(0x164)][_0x448cf6(0x16c)][_0x448cf6(0x151)][_0x448cf6(0x13f)]?_0x47bbea(this[_0x448cf6(0x165)],_0x448cf6(0x157),this[_0x448cf6(0x164)][_0x448cf6(0x139)][_0x448cf6(0x150)]):_0x47bbea(this[_0x448cf6(0x165)],_0x448cf6(0x168),this[_0x448cf6(0x164)][_0x448cf6(0x139)][_0x448cf6(0x150)]):null;}[_0x50c0ca(0x17a)](){const _0x20c01b=_0x50c0ca;return _0x20c01b(0x170)===this[_0x20c01b(0x164)][_0x20c01b(0x16c)][_0x20c01b(0x151)][_0x20c01b(0x13f)]?_0x47bbea(this[_0x20c01b(0x165)],_0x20c01b(0x132)):_0x47bbea(this[_0x20c01b(0x165)],_0x20c01b(0x172));}[_0x50c0ca(0x136)](_0x113ea7,_0x5eef01,_0x465690,_0xbb181a,_0x1c6371){const _0x1d9976=_0x50c0ca,_0x16e329=new _0x10b719(this[_0x1d9976(0x165)]);return _0x16e329[_0x1d9976(0x156)]({'label':_0x113ea7,'icon':_0x5eef01,'tooltip':!0x0,'tooltipPosition':_0x1c6371}),_0x16e329[_0x1d9976(0x17c)]({'attributes':{'class':_0x465690}}),_0x16e329['on'](_0x1d9976(0x142),()=>{const _0x4ac6a8=_0x1d9976;this[_0x4ac6a8(0x13d)](_0xbb181a,this[_0x4ac6a8(0x164)]['id']);}),_0x16e329;}[_0x50c0ca(0x15f)](){const _0x33e3fc=_0x50c0ca,_0x4484ed=this[_0x33e3fc(0x12c)];this[_0x33e3fc(0x137)][_0x33e3fc(0x14f)](_0x4484ed);for(const _0x1ee789 of this[_0x33e3fc(0x15b)])this[_0x33e3fc(0x171)][_0x33e3fc(0x17e)](_0x1ee789[_0x33e3fc(0x12c)]),this[_0x33e3fc(0x137)][_0x33e3fc(0x14f)](_0x1ee789[_0x33e3fc(0x12c)]);this[_0x33e3fc(0x137)][_0x33e3fc(0x156)](_0x33e3fc(0x12b),(_0x3de2c7,_0x28d227)=>{const _0x25cee8=_0x33e3fc;_0x4484ed===_0x3de2c7[_0x25cee8(0x131)]&&(this[_0x25cee8(0x140)][_0x25cee8(0x133)](),_0x28d227());}),this[_0x33e3fc(0x137)][_0x33e3fc(0x156)](_0x33e3fc(0x15a),(_0x50bcba,_0x1bfd1f)=>{const _0x2bb79e=_0x33e3fc;_0x4484ed!==_0x50bcba[_0x2bb79e(0x131)]&&(this[_0x2bb79e(0x141)](),_0x1bfd1f());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5bb1(){const _0x452829=['setPreviewData','options','5166WSanUb','2gBlNLC','732100wTjEKB','width','348275xJcwCg','4OeQWyp','content','745614SbsbDk','previewDataReady','div','ck-reset','height','fire','\x20ck-track-changes-preview__root-container','style','data-ck-root-name','384522LdeEJh','ck-track-changes-preview','16LetjeS','push','dialogRects','618TLjZHB','element','setAttribute','focus','1723843iGfCzf','className','createElement','render','innerHTML','355604BlYiqr','classes','setTemplate'];_0x5bb1=function(){return _0x452829;};return _0x5bb1();}const _0x3c7e06=_0x38f2;function _0x38f2(_0x104521,_0x3d25f8){const _0x5bb18c=_0x5bb1();return _0x38f2=function(_0x38f266,_0x556fa4){_0x38f266=_0x38f266-0x1c3;let _0x495dc9=_0x5bb18c[_0x38f266];return _0x495dc9;},_0x38f2(_0x104521,_0x3d25f8);}(function(_0x41a641,_0x27507e){const _0x38acb9=_0x38f2,_0x2f020f=_0x41a641();while(!![]){try{const _0x3be5e1=parseInt(_0x38acb9(0x1c4))/0x1*(parseInt(_0x38acb9(0x1e1))/0x2)+-parseInt(_0x38acb9(0x1d3))/0x3+parseInt(_0x38acb9(0x1c8))/0x4*(parseInt(_0x38acb9(0x1c7))/0x5)+-parseInt(_0x38acb9(0x1d8))/0x6*(-parseInt(_0x38acb9(0x1c3))/0x7)+-parseInt(_0x38acb9(0x1d5))/0x8*(parseInt(_0x38acb9(0x1ca))/0x9)+-parseInt(_0x38acb9(0x1c5))/0xa+parseInt(_0x38acb9(0x1dc))/0xb;if(_0x3be5e1===_0x27507e)break;else _0x2f020f['push'](_0x2f020f['shift']());}catch(_0x583f46){_0x2f020f['push'](_0x2f020f['shift']());}}}(_0x5bb1,0x4705e));import{View as _0x22e285}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x22e285{[_0x3c7e06(0x1e5)];constructor(_0x1b379e,_0x3ce431){const _0x2c936d=_0x3c7e06;super(_0x1b379e),this[_0x2c936d(0x1e5)]=_0x3ce431,this[_0x2c936d(0x1e3)]({'tag':_0x2c936d(0x1cc),'attributes':{'class':['ck',_0x2c936d(0x1cd),_0x2c936d(0x1d4)],'tabindex':-0x1}});}[_0x3c7e06(0x1df)](){const _0x33596d=_0x3c7e06;super[_0x33596d(0x1df)](),this[_0x33596d(0x1d9)][_0x33596d(0x1d1)][_0x33596d(0x1c6)]=this[_0x33596d(0x1e5)][_0x33596d(0x1d7)][_0x33596d(0x1c6)]+'px',this[_0x33596d(0x1d9)][_0x33596d(0x1d1)][_0x33596d(0x1ce)]=this[_0x33596d(0x1e5)][_0x33596d(0x1d7)][_0x33596d(0x1ce)]+'px';}[_0x3c7e06(0x1e4)](_0x43545d,_0x4a6b75){const _0x46a8d4=_0x3c7e06;if(!this[_0x46a8d4(0x1d9)])return;const _0x54fb3e=[];for(const [_0x5ada5b,_0x524fdc]of _0x43545d){const _0x2addc1=document[_0x46a8d4(0x1de)](_0x46a8d4(0x1cc));_0x2addc1[_0x46a8d4(0x1da)](_0x46a8d4(0x1d2),_0x5ada5b),_0x2addc1[_0x46a8d4(0x1dd)]=_0x524fdc[_0x46a8d4(0x1e2)]+_0x46a8d4(0x1d0),_0x2addc1[_0x46a8d4(0x1e0)]=_0x524fdc[_0x46a8d4(0x1c9)],_0x54fb3e[_0x46a8d4(0x1d6)](_0x2addc1);}_0x4a6b75(this[_0x46a8d4(0x1d9)],_0x54fb3e),this[_0x46a8d4(0x1d9)][_0x46a8d4(0x1d1)][_0x46a8d4(0x1ce)]='',this[_0x46a8d4(0x1cf)](_0x46a8d4(0x1cb));}[_0x3c7e06(0x1db)](){const _0x503ee3=_0x3c7e06;this[_0x503ee3(0x1d9)][_0x503ee3(0x1db)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x13a928,_0x54e2d8,_0x5e1bdf){const _0x4ab4f7=_0x13a928['t'],t=_0x13a928['t'];switch(_0x54e2d8){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',_0x5e1bdf);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5e1bdf);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5e1bdf);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5e1bdf);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5e1bdf);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',_0x5e1bdf);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5e1bdf);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',_0x5e1bdf);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5e1bdf);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5e1bdf);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5e1bdf);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5e1bdf);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5e1bdf);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5e1bdf);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5e1bdf);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5e1bdf);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5e1bdf);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5e1bdf);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5e1bdf);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5e1bdf);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5e1bdf);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5e1bdf);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5e1bdf);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5e1bdf);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5e1bdf);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'},_0x5e1bdf);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5e1bdf);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5e1bdf);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5e1bdf);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5e1bdf);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5e1bdf);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5e1bdf);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5e1bdf);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'},_0x5e1bdf);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5e1bdf);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5e1bdf);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5e1bdf);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5e1bdf);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'},_0x5e1bdf);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5e1bdf);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'},_0x5e1bdf);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'},_0x5e1bdf);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5e1bdf);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'},_0x5e1bdf);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5e1bdf);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'},_0x5e1bdf);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5e1bdf);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5e1bdf);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'},_0x5e1bdf);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5e1bdf);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 _0x4ab4f7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5e1bdf);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4ab4f7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5e1bdf);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5e1bdf);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'},_0x5e1bdf);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'},_0x5e1bdf);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'},_0x5e1bdf);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x54e2d8;}}
|
|
23
|
+
export function getTranslation(_0x490694,_0x2e12c5,_0x146115){const _0x1c5886=_0x490694['t'],t=_0x490694['t'];switch(_0x2e12c5){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',_0x146115);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x146115);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x146115);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x146115);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x146115);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',_0x146115);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x146115);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',_0x146115);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x146115);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x146115);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x146115);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x146115);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x146115);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x146115);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x146115);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x146115);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x146115);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x146115);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x146115);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x146115);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x146115);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x146115);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x146115);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x146115);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x146115);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'},_0x146115);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x146115);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x146115);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x146115);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x146115);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x146115);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x146115);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x146115);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'},_0x146115);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x146115);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x146115);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x146115);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x146115);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'},_0x146115);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x146115);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'},_0x146115);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'},_0x146115);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x146115);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'},_0x146115);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x146115);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'},_0x146115);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x146115);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x146115);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'},_0x146115);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x146115);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 _0x1c5886({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x146115);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1c5886({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x146115);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x146115);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'},_0x146115);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'},_0x146115);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'},_0x146115);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2e12c5;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x490821,_0x52f317){const _0x4bc14f=_0x57f4,_0x40f307=_0x490821();while(!![]){try{const _0x161837=-parseInt(_0x4bc14f(0x1fe))/0x1*(parseInt(_0x4bc14f(0x20c))/0x2)+parseInt(_0x4bc14f(0x215))/0x3*(parseInt(_0x4bc14f(0x20e))/0x4)+-parseInt(_0x4bc14f(0x20f))/0x5+-parseInt(_0x4bc14f(0x205))/0x6+-parseInt(_0x4bc14f(0x20d))/0x7+-parseInt(_0x4bc14f(0x1f6))/0x8+parseInt(_0x4bc14f(0x207))/0x9;if(_0x161837===_0x52f317)break;else _0x40f307['push'](_0x40f307['shift']());}catch(_0x4dc08c){_0x40f307['push'](_0x40f307['shift']());}}}(_0x1556,0x232ef));export function normalizeDescription(_0x45ef38){const _0xf311b0=_0x57f4;return Array[_0xf311b0(0x1fb)](_0x45ef38)||(_0x45ef38=[_0x45ef38]),_0x45ef38[_0xf311b0(0x1fa)](_0x41a540=>{const _0x23b43e=_0xf311b0,_0x92cc28=_0x41a540[_0x23b43e(0x21c)][_0x23b43e(0x21f)](/\*/g,''),_0x42437a=_0x41a540[_0x23b43e(0x21e)]?_0x23b43e(0x212)+_0x41a540[_0x23b43e(0x21e)][_0x23b43e(0x1fd)]+']':'';return'['+_0x41a540[_0x23b43e(0x217)]+']\x20'+_0x92cc28+_0x42437a;})[_0xf311b0(0x226)](';\x20');}export function renderDescription(_0x2d1cf6,_0xdce24b){const _0x8916e5=_0x57f4;let _0x5e6f56='';return _0x5e6f56+=_0x2d1cf6[_0x8916e5(0x1f1)]('*')[_0x8916e5(0x1fa)]((_0x2a2b83,_0xf5d892)=>_0xf5d892%0x2!=0x0?_0x8916e5(0x1f9)+Zt(_0x2a2b83)+_0x8916e5(0x222):Zt(_0x2a2b83))[_0x8916e5(0x226)](''),_0xdce24b&&(_0x5e6f56+=_0x8916e5(0x206)+_0xdce24b[_0x8916e5(0x1fd)]+_0x8916e5(0x202)+_0xdce24b[_0x8916e5(0x21b)]+_0x8916e5(0x225)),_0x5e6f56;}function Zt(_0x2b4cf7){const _0x54c5d9=_0x57f4,_0x11584a=document[_0x54c5d9(0x204)](_0x54c5d9(0x1f4));return _0x11584a[_0x54c5d9(0x224)]=_0x2b4cf7,_0x11584a[_0x54c5d9(0x211)];}export function sortSuggestions(_0xf8d3ac){const _0x2698e7=_0x57f4;return _0xf8d3ac[_0x2698e7(0x200)]((_0x572c2a,_0x2641ed)=>_0x2698e7(0x21a)===_0x572c2a[_0x2698e7(0x217)]&&_0x2698e7(0x21a)!==_0x2641ed[_0x2698e7(0x217)]?-0x1:_0x2698e7(0x21a)!==_0x572c2a[_0x2698e7(0x217)]&&_0x2698e7(0x21a)===_0x2641ed[_0x2698e7(0x217)]?0x1:_0x2698e7(0x1f7)==_0x572c2a[_0x2698e7(0x217)]&&_0x2698e7(0x1f7)!=_0x2641ed[_0x2698e7(0x217)]?-0x1:_0x2698e7(0x1f7)!=_0x572c2a[_0x2698e7(0x217)]&&_0x2698e7(0x1f7)==_0x2641ed[_0x2698e7(0x217)]?0x1:0x0);}export function getSelectedSuggestions(_0x3fdadf,_0x3bc056){const _0x1e7ec3=_0x57f4,_0x1f074a=Array[_0x1e7ec3(0x203)](_0x3fdadf[_0x1e7ec3(0x213)]()),_0x22b321=new Set();for(const _0x14693f of _0x3bc056)if(_0x14693f[_0x1e7ec3(0x208)]){for(const _0x5dd1e3 of _0x1f074a)for(const _0xb51aee of _0x14693f[_0x1e7ec3(0x213)]())(_0x5dd1e3[_0x1e7ec3(0x1f5)](_0xb51aee)||_0x3fdadf[_0x1e7ec3(0x221)]&&!_0x14693f[_0x1e7ec3(0x21d)]&&_0x14693f[_0x1e7ec3(0x218)]&&_0xb51aee[_0x1e7ec3(0x1f8)][_0x1e7ec3(0x1f3)](_0x5dd1e3[_0x1e7ec3(0x223)]))&&_0x22b321[_0x1e7ec3(0x1ff)](_0x14693f);}return _0x22b321;}function _0x1556(){const _0x5e6e5b=['5505714hPQWXE','isInContent','createPositionBefore','isObject','schema','186506ftCzrj','1792007SghbeE','4MxXyYO','1590SzSzFV','push','innerHTML','\x20[color\x20','getRanges','execute','99321FjEpaf','createPositionAt','type','next','createRange','attribute','title','content','isMultiRange','color','replace','length','isCollapsed','</span>','start','innerText','\x22></span>','join','split','splice','isTouching','span','isIntersecting','766176iuDsiu','deletion','end','<span\x20class=\x22ck-suggestion-type\x22>','map','isArray','createPositionAfter','value','1SzgDBL','add','sort','change','\x22\x20title=\x22','from','createElement','332388aeQvuU','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'];_0x1556=function(){return _0x5e6e5b;};return _0x1556();}export function getRangesOfBlockGroups(_0x4f8585,_0x5387c8){const _0x18fe67=_0x57f4;let _0x583104,_0x1cb1ba=0x0;const _0x2fbcef=[],_0x1eaa15=_0x5387c8[_0x18fe67(0x20b)];for(;_0x1cb1ba<_0x4f8585[_0x18fe67(0x220)];){const _0x9853ea=_0x4f8585[_0x1cb1ba],_0x608080=_0x4f8585[_0x1cb1ba+0x1];_0x583104||(_0x583104=_0x5387c8[_0x18fe67(0x209)](_0x9853ea)),tn(_0x5387c8,_0x9853ea,_0x608080)||(_0x2fbcef[_0x18fe67(0x210)](_0x5387c8[_0x18fe67(0x219)](_0x583104,_0x1eaa15[_0x18fe67(0x20a)](_0x9853ea)?_0x5387c8[_0x18fe67(0x1fc)](_0x9853ea):_0x5387c8[_0x18fe67(0x216)](_0x9853ea,_0x18fe67(0x1f8)))),_0x583104=null),_0x1cb1ba++;}return _0x2fbcef;}function _0x57f4(_0x98d99b,_0x2d747b){const _0x155648=_0x1556();return _0x57f4=function(_0x57f438,_0x2218f1){_0x57f438=_0x57f438-0x1f1;let _0xb29634=_0x155648[_0x57f438];return _0xb29634;},_0x57f4(_0x98d99b,_0x2d747b);}function tn(_0x33a125,_0x7f41d4,_0x496ea8){const _0x2c9e1d=_0x57f4;if(!_0x496ea8)return!0x1;const _0x4eca0b=_0x33a125[_0x2c9e1d(0x1fc)](_0x7f41d4),_0x1484f8=_0x33a125[_0x2c9e1d(0x209)](_0x496ea8);return _0x4eca0b[_0x2c9e1d(0x1f3)](_0x1484f8);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3b423f,_0x570c54,_0x40a01c){const _0x4dcf15=_0x57f4;for(;_0x40a01c[_0x4dcf15(0x220)];){const _0x3923af=_0x40a01c[_0x4dcf15(0x1f2)](0x0,0x64);_0x3b423f[_0x4dcf15(0x201)](()=>{const _0x3e7abc=_0x4dcf15;for(const _0x2a4e0d of _0x3923af)_0x2a4e0d[_0x3e7abc(0x208)]&&_0x570c54[_0x3e7abc(0x214)](_0x2a4e0d['id']);});}}
|