@ckeditor/ckeditor5-track-changes 47.0.0-alpha.1 → 47.0.0-alpha.3
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
|
+
const _0x241747=_0xd943;function _0x4908(){const _0x19ea4f=['commands','144xMDaiV','previewFinalContent','editor','680952pkIlQU','define','isOfficialPlugin','appendChild','isPremiumPlugin','pluginName','requires','config','1459584THCyXx','881346oQBLUJ','4eJuFHa','473776jvGteU','748689AupALm','5aXjdTF','8694370jlSDxN','1372674cvnvkm','trackChanges.preview.renderFunction','TrackChangesPreview','add'];_0x4908=function(){return _0x19ea4f;};return _0x4908();}(function(_0x238a1e,_0x4d9494){const _0x592d46=_0xd943,_0x18aecb=_0x238a1e();while(!![]){try{const _0x8ab17d=-parseInt(_0x592d46(0xd3))/0x1+parseInt(_0x592d46(0xc7))/0x2+parseInt(_0x592d46(0xd6))/0x3*(-parseInt(_0x592d46(0xd1))/0x4)+-parseInt(_0x592d46(0xd4))/0x5*(parseInt(_0x592d46(0xd0))/0x6)+-parseInt(_0x592d46(0xcf))/0x7+parseInt(_0x592d46(0xd2))/0x8*(parseInt(_0x592d46(0xc4))/0x9)+parseInt(_0x592d46(0xd5))/0xa;if(_0x8ab17d===_0x4d9494)break;else _0x18aecb['push'](_0x18aecb['shift']());}catch(_0x442c27){_0x18aecb['push'](_0x18aecb['shift']());}}}(_0x4908,0x91767));import{Plugin as _0xa30768}from'ckeditor5/src/core.js';function _0xd943(_0x5e7446,_0x1394d0){const _0x49085e=_0x4908();return _0xd943=function(_0xd9435e,_0x21d1c5){_0xd9435e=_0xd9435e-0xc4;let _0x16a2f2=_0x49085e[_0xd9435e];return _0x16a2f2;},_0xd943(_0x5e7446,_0x1394d0);}import{Dialog as _0x91c289}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1a584d}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3494c4}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0xa30768{static get[_0x241747(0xcd)](){return[_0x1a584d,_0x91c289];}static get[_0x241747(0xcc)](){const _0x4f0d0c=_0x241747;return _0x4f0d0c(0xd8);}static get[_0x241747(0xc9)](){return!0x0;}static get[_0x241747(0xcb)](){return!0x0;}constructor(_0xdbc472){const _0x2ccf47=_0x241747;super(_0xdbc472),_0xdbc472[_0x2ccf47(0xda)][_0x2ccf47(0xd9)](_0x2ccf47(0xc5),new _0x3494c4(this[_0x2ccf47(0xc6)])),_0xdbc472[_0x2ccf47(0xce)][_0x2ccf47(0xc8)](_0x2ccf47(0xd7),(_0x1ce7d1,_0x2138ea)=>{const _0x1c62a1=_0x2ccf47;for(const _0xec4159 of _0x2138ea)_0x1ce7d1[_0x1c62a1(0xca)](_0xec4159);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x757e2a=_0x421d;(function(_0x28bff0,_0x54505d){const _0x5f543d=_0x421d,_0x462458=_0x28bff0();while(!![]){try{const _0x10b2f2=parseInt(_0x5f543d(0xd9))/0x1+-parseInt(_0x5f543d(0xea))/0x2*(parseInt(_0x5f543d(0xda))/0x3)+-parseInt(_0x5f543d(0xf7))/0x4*(-parseInt(_0x5f543d(0xe4))/0x5)+parseInt(_0x5f543d(0xbc))/0x6+parseInt(_0x5f543d(0x8e))/0x7+-parseInt(_0x5f543d(0xcb))/0x8*(parseInt(_0x5f543d(0x138))/0x9)+parseInt(_0x5f543d(0xc9))/0xa*(-parseInt(_0x5f543d(0x12f))/0xb);if(_0x10b2f2===_0x54505d)break;else _0x462458['push'](_0x462458['shift']());}catch(_0x40826a){_0x462458['push'](_0x462458['shift']());}}}(_0xd037,0x478a8));import{Plugin as _0x128b52}from'ckeditor5/src/core.js';function _0x421d(_0x5b8ef3,_0x3b316c){const _0xd0370a=_0xd037();return _0x421d=function(_0x421db3,_0x185a71){_0x421db3=_0x421db3-0x8c;let _0x4a7ef3=_0xd0370a[_0x421db3];return _0x4a7ef3;},_0x421d(_0x5b8ef3,_0x3b316c);}import{Collection as _0x323b9c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2a9740}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1968f5,createDropdown as _0x310998,ListSeparatorView as _0x1ea638,MenuBarMenuView as _0x3f03f9,MenuBarMenuListView as _0x57d623,MenuBarMenuListItemView as _0x542150,MenuBarMenuListItemButtonView as _0x225954,SplitButtonView as _0x510d82,UIModel as _0x80015d}from'ckeditor5/src/ui.js';import{Users as _0x118f33,getDateTimeFormatter as _0x1d1e31,getAllMarkersDomElementsSorted as _0x3a79b2}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1084ea}from'./trackchangesediting.js';import{SuggestionController as _0x579d29}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x2bcb91}from'./ui/view/suggestionthreadview.js';function _0xd037(){const _0x33f604=['separator','_licenseKeyCheckInterval','getFirstRange','filter','isMultiRange','discardButton','createAnnotationView','Discard\x20all\x20selected\x20suggestions','refreshSelectedViews','domainLimit','trackChangesLicenseKeyNotAllowed','menuitem','innerView','init','fire','Preview\x20final\x20content','suggestion-','trackChangesLicenseKeyUsageLimit','comments.maxCommentsWhenCollapsed','_createMenuBarMenu','commands','keys','129118cxxosG','TrackChangesUI','unbind','comments','mainView','view','invalid','getSuggestion','values','45aSYIlV','EditorAnnotations','TrackChanges','commentThread','children','isPremiumPlugin','suggestionLoaded','previous','commentsListView','561533mdvLLk','acceptButton','lowest','acceptSelectedSuggestions','arrowView','toMany','comments.maxThreadTotalWeight','menu','addSourceCollector','trackChangesLicenseKeyDomainLimit','CommentsUI','hasSuggestion','discardSelectedSuggestions','suggestionChanged','bind','suggestionUnloaded','execute','componentFactory','change:previous','descriptionFactory','previewFinalContent','_handleSuggestionControllerDelayed','_addUIComponentsToFactory','featureNotAllowed','discardAllSuggestions','editing','createCommentThreadController','_initializeController','acceptAllSuggestions','change:activeAnnotations','focus','_refreshActiveMarkers','evaluationLimit','buttonView','Annotations','has','escape','TrackChangesEditing','isInContent','getMarkerNames','_suggestionToController','head','_handleControllerBuffer','trackChanges','requires','registerAnnotation','2361000vpXrXI','delegate','trackChangesLicenseKeyTrialLimit','isDirty','SuggestionThreadView','actionView','plugins','_bindAnnotationToEditors','Track\x20changes','comments.editorConfig','reduce','set','config','610stJHVY','Discard\x20all\x20suggestions','333296gPpSqI','clear','CommentView','Accept\x20all\x20selected\x20suggestions','_updateController','isOn','pluginName','_viewToController','add','addMany','_showLicenseError','switchbutton','some','commandName','515584yRfWhR','2919xvrjfr','get','stopListening','trialLimit','getAnnotationForSuggestion','_unbindEditors','isEnabled','locale','SuggestionView','type','381155VHazDY','trackChanges.disableComments','comments.maxCommentCharsWhenCollapsed','getByInnerView','define','usageLimit','158xriOlJ','suggestionView','getMarkers','panelView','trackChanges.SuggestionThreadView','push','getJoined','value','_annotationViews','createAnnotation','Accept\x20all\x20suggestions','_disableComments','_createToolbarButton','16mKDrOQ','trackChanges.SuggestionView','length','source','expired','listenTo','getDescriptions','delete','CommentsRepository','items','trackChangesLicenseKeyExpired','remove','model','destroy','activeMarkers','licenseKey','activeAnnotations','TrackChangesPreview','menuBar:trackChanges','getRanges','trackChangesLicenseKeyEvaluationLimit','addComment','isOfficialPlugin','descriptionParts','menuitemcheckbox','button','_destroyController','size','getSuggestionForAnnotation','trackChangesLicenseKeyValid','trackChangesLicenseKeyInvalid','from','getAllAdjacentSuggestions','editor'];_0xd037=function(){return _0x33f604;};return _0xd037();}import{SuggestionView as _0x433b95}from'./ui/view/suggestionview.js';import{getTranslation as _0x4405ca}from'./utils/common-translations.js';export class TrackChangesUI extends _0x128b52{[_0x757e2a(0x106)];[_0x757e2a(0x11a)];[_0x757e2a(0xb6)];[_0x757e2a(0xd2)];[_0x757e2a(0xf2)];[_0x757e2a(0xb8)];[_0x757e2a(0xf5)];static get[_0x757e2a(0xba)](){const _0xfbef41=_0x757e2a;return[_0x1084ea,_0x118f33,_0xfbef41(0xff),_0xfbef41(0xb0),_0xfbef41(0x139)];}static get[_0x757e2a(0xd1)](){const _0xee30e8=_0x757e2a;return _0xee30e8(0x130);}static get[_0x757e2a(0x10d)](){return!0x0;}static get[_0x757e2a(0x13d)](){return!0x0;}constructor(_0x2cc98c){const _0x39e89a=_0x757e2a;super(_0x2cc98c),this[_0x39e89a(0xb6)]=new Map(),this[_0x39e89a(0xd2)]=new Map(),this[_0x39e89a(0xf2)]=new Map(),this[_0x39e89a(0xb8)]=new Map();const _0x4655b4=this[_0x39e89a(0x118)][_0x39e89a(0xc8)];_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xee),_0x2bcb91),_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xf8),_0x433b95),_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xe5),!0x1),this[_0x39e89a(0xf5)]=_0x4655b4[_0x39e89a(0xdb)](_0x39e89a(0xe5));}[_0x757e2a(0xa3)](_0x4a0660,_0x2eee77){const _0x513545=_0x757e2a;0x0===this[_0x513545(0xb8)][_0x513545(0x112)]&&setTimeout(()=>{const _0x4b3b1e=_0x513545;for(const [_0x4ce748,_0xfa7a0d]of this[_0x4b3b1e(0xb8)]){const _0x30c226=this[_0x4b3b1e(0xb6)][_0x4b3b1e(0xb1)](_0x4ce748);_0x30c226||_0xfa7a0d?_0x30c226&&_0xfa7a0d&&this[_0x4b3b1e(0x111)](_0x4ce748):this[_0x4b3b1e(0xa9)](_0x4ce748);}this[_0x4b3b1e(0xb8)][_0x4b3b1e(0xcc)](),this[_0x4b3b1e(0x118)][_0x4b3b1e(0xc2)][_0x4b3b1e(0xdb)](_0x4b3b1e(0x139))[_0x4b3b1e(0x121)](),this[_0x4b3b1e(0xad)]();},0xa),this[_0x513545(0xb8)][_0x513545(0xc7)](_0x4a0660,_0x2eee77);}[_0x757e2a(0x126)](){const _0x18f33a=_0x757e2a,_0x1de1d0=this[_0x18f33a(0x118)],_0x5e123f=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xb3)),_0x132745=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xb0)),_0xfec4b5=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0x139)),_0x4d0194=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xff));this[_0x18f33a(0xa4)](),_0xfec4b5[_0x18f33a(0x96)](()=>{const _0x421b80=_0x18f33a,_0x5d22b6=[];for(const [_0x5c1188,_0x384abf]of Array[_0x421b80(0x116)](this[_0x421b80(0xb6)])){const _0x15c8b2=_0x5c1188[_0x421b80(0x117)](),_0x1a6e8a=[];for(const _0x6cab1c of _0x15c8b2){if(!_0x6cab1c[_0x421b80(0xb4)])continue;if(_0x6cab1c[_0x421b80(0x11d)]){_0x1a6e8a[_0x421b80(0xef)](..._0x6cab1c[_0x421b80(0x10a)]());continue;}const _0x2d2d1f=_0x6cab1c[_0x421b80(0x11b)]();if(_0x1a6e8a[_0x421b80(0xf9)]>0x0){const _0xdc1851=_0x1a6e8a[0x0][_0x421b80(0xf0)](_0x2d2d1f);if(_0xdc1851){_0x1a6e8a[0x0]=_0xdc1851;continue;}}_0x1a6e8a[_0x421b80(0xef)](_0x2d2d1f);}_0x5d22b6[_0x421b80(0xef)]([_0x384abf[_0x421b80(0x134)],_0x1a6e8a]);}return _0x5d22b6;}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x13e),(_0x309ab1,_0x8da375)=>{const _0x134e9a=_0x18f33a;this[_0x134e9a(0xfc)](_0x8da375,_0x134e9a(0xa0),(_0x527591,_0x3ff4ad,_0x4ff26c,_0x210151)=>{const _0x1b6045=_0x134e9a;_0x8da375[_0x1b6045(0xb4)]&&(null==_0x4ff26c?(this[_0x1b6045(0xcf)](_0x210151[_0x1b6045(0xb7)]),this[_0x1b6045(0xa3)](_0x8da375,!0x1)):(this[_0x1b6045(0xcf)](_0x4ff26c[_0x1b6045(0xb7)]),null==_0x210151&&this[_0x1b6045(0xa3)](_0x8da375,!0x0)));}),null!==_0x8da375[_0x134e9a(0x8c)]?this[_0x134e9a(0xcf)](_0x8da375[_0x134e9a(0xb7)]):this[_0x134e9a(0xa3)](_0x8da375,!0x1);}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x9d),(_0x38d3c4,_0x46da64,_0x11a304)=>{const _0x40d593=_0x18f33a;this[_0x40d593(0xdc)](_0x46da64,_0x40d593(0xa0)),this[_0x40d593(0xb8)][_0x40d593(0xfe)](_0x46da64),this[_0x40d593(0xb6)][_0x40d593(0xb1)](_0x46da64)&&this[_0x40d593(0x111)](_0x46da64),_0x11a304&&this[_0x40d593(0xcf)](_0x11a304[_0x40d593(0xb7)]);}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x9b),(_0x4562cc,_0x154fa5)=>{const _0x376b5a=_0x18f33a;this[_0x376b5a(0xcf)](_0x154fa5);}),this[_0x18f33a(0xfc)](_0x132745,_0x18f33a(0xab),()=>{const _0x4d7a58=_0x18f33a;this[_0x4d7a58(0xad)]();}),this[_0x18f33a(0xfc)](_0x4d0194,_0x18f33a(0x10c),(_0x3815a4,{threadId:_0x76e8bd,isFromAdapter:_0x5f4aa2})=>{const _0x2c8986=_0x18f33a;if(_0x5f4aa2||!_0x5e123f[_0x2c8986(0x99)](_0x76e8bd))return;const _0x390631=_0x5e123f[_0x2c8986(0x136)](_0x76e8bd);this[_0x2c8986(0xb6)][_0x2c8986(0xdb)](_0x390631)[_0x2c8986(0x134)][_0x2c8986(0x8d)][_0x2c8986(0xac)](-0x1);},{'priority':_0x18f33a(0x90)}),this[_0x18f33a(0x106)]=this[_0x18f33a(0x118)][_0x18f33a(0xc8)][_0x18f33a(0xdb)](_0x18f33a(0x106));const _0x370a30=this[_0x18f33a(0x118)];this[_0x18f33a(0x11a)]=setInterval(()=>{const _0x2bf5e6=_0x18f33a;let _0x5c3ede;for(const _0x2dba8f in _0x370a30){const _0x483590=_0x2dba8f,_0x456df7=_0x370a30[_0x483590];if(_0x2bf5e6(0x114)==_0x456df7||_0x2bf5e6(0x115)==_0x456df7||_0x2bf5e6(0x101)==_0x456df7||_0x2bf5e6(0x97)==_0x456df7||_0x2bf5e6(0x123)==_0x456df7||_0x2bf5e6(0x10b)==_0x456df7||_0x2bf5e6(0xbe)==_0x456df7||_0x2bf5e6(0x12a)==_0x456df7){delete _0x370a30[_0x483590],_0x5c3ede=_0x456df7,clearInterval(this[_0x2bf5e6(0x11a)]),this[_0x2bf5e6(0x11a)]=void 0x0;break;}}_0x2bf5e6(0x115)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0x135)),_0x2bf5e6(0x101)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xfb)),_0x2bf5e6(0x97)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0x122)),_0x2bf5e6(0x123)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xa5),_0x2bf5e6(0x13a)),_0x2bf5e6(0x10b)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xae)),_0x2bf5e6(0xbe)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xdd)),_0x2bf5e6(0x12a)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xe9));},0x3e8);}[_0x757e2a(0xde)](_0x2de06a){const _0x5e600e=_0x757e2a,_0x206215=this[_0x5e600e(0xb6)][_0x5e600e(0xdb)](_0x2de06a);if(!_0x206215)return null;return this[_0x5e600e(0x118)][_0x5e600e(0xc2)][_0x5e600e(0xdb)](_0x5e600e(0xb0))[_0x5e600e(0xe7)](_0x206215[_0x5e600e(0x134)])||null;}[_0x757e2a(0x113)](_0x38b91e){const _0xa2516f=_0x757e2a,_0x3e2a0c=this[_0xa2516f(0xd2)][_0xa2516f(0xdb)](_0x38b91e[_0xa2516f(0x125)]);return _0x3e2a0c?_0x3e2a0c[_0xa2516f(0x103)]:null;}[_0x757e2a(0xad)](){const _0x2d5b19=_0x757e2a,_0x2ee900=this[_0x2d5b19(0x118)][_0x2d5b19(0xc2)][_0x2d5b19(0xdb)](_0x2d5b19(0xb0)),_0x19c240=this[_0x2d5b19(0x118)][_0x2d5b19(0xc2)][_0x2d5b19(0xdb)](_0x2d5b19(0xb3)),_0x1f9773=Array[_0x2d5b19(0x116)](_0x2ee900[_0x2d5b19(0x107)],_0x43575f=>_0x43575f[_0x2d5b19(0x125)])[_0x2d5b19(0x11c)](_0x840d85=>this[_0x2d5b19(0xd2)][_0x2d5b19(0xb1)](_0x840d85)),_0x40d10c=[];for(const _0x24ca0e of _0x1f9773){const _0x2d0b9d=this[_0x2d5b19(0xd2)][_0x2d5b19(0xdb)](_0x24ca0e)[_0x2d5b19(0x103)][_0x2d5b19(0x117)]();_0x40d10c[_0x2d5b19(0xef)](..._0x2d0b9d[_0x2d5b19(0xc6)]((_0x52997c,_0x5c8bbd)=>[..._0x52997c,..._0x5c8bbd[_0x2d5b19(0xb5)]()],[]));}_0x19c240[_0x2d5b19(0x105)]=_0x40d10c;}[_0x757e2a(0xa4)](){const _0x2ab974=_0x757e2a,_0x14a4da=this[_0x2ab974(0x118)],_0x51313c=_0x14a4da[_0x2ab974(0xe1)],_0x2af7e1=_0x4405ca(_0x51313c,_0x2ab974(0xc4)),_0x2adb87=new _0x323b9c([{'type':_0x2ab974(0xd6),'model':new _0x80015d({'withText':!0x0,'isToggleable':!0x0,'label':_0x2af7e1,'commandName':_0x2ab974(0xb9),'role':_0x2ab974(0x10f)})},{'type':_0x2ab974(0x119)},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xf4)),'commandName':_0x2ab974(0xaa),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xce)),'commandName':_0x2ab974(0x91),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xca)),'commandName':_0x2ab974(0xa6),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0x120)),'commandName':_0x2ab974(0x9a),'role':_0x2ab974(0x124)})}]);_0x14a4da[_0x2ab974(0xc2)][_0x2ab974(0xb1)](_0x2ab974(0x108))&&_0x2adb87[_0x2ab974(0xd4)]([{'type':_0x2ab974(0x119)},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0x128)),'commandName':_0x2ab974(0xa2),'role':_0x2ab974(0x124)})}]);for(const _0x23a8c7 of _0x2adb87)if(ve(_0x23a8c7)){const _0x3ae68a=_0x14a4da[_0x2ab974(0x12d)][_0x2ab974(0xdb)](_0x23a8c7[_0x2ab974(0x103)][_0x2ab974(0xd8)]);_0x23a8c7[_0x2ab974(0x103)][_0x2ab974(0x9c)](_0x2ab974(0xd0),_0x2ab974(0xe0))['to'](_0x3ae68a,_0x2ab974(0xf1),_0x2ab974(0xe0));}_0x14a4da['ui'][_0x2ab974(0x9f)][_0x2ab974(0xd3)](_0x2ab974(0xb9),_0x33002b=>this[_0x2ab974(0xf6)](_0x33002b,_0x2adb87,_0x2af7e1)),_0x14a4da['ui'][_0x2ab974(0x9f)][_0x2ab974(0xd3)](_0x2ab974(0x109),_0x573cfa=>this[_0x2ab974(0x12c)](_0x573cfa,_0x2adb87,_0x2af7e1));}[_0x757e2a(0xf6)](_0xf54c85,_0x3a5012,_0x509934){const _0x10bd38=_0x757e2a,_0x141a82=_0x310998(_0xf54c85,_0x510d82),_0x5d3185=this[_0x10bd38(0x118)][_0x10bd38(0x12d)][_0x10bd38(0xdb)](_0x10bd38(0xb9));_0x141a82[_0x10bd38(0xaf)][_0x10bd38(0xc7)]({'tooltip':_0x509934,'label':_0x509934,'icon':_0x2a9740}),_0x141a82[_0x10bd38(0xaf)][_0x10bd38(0x9c)](_0x10bd38(0xd0))['to'](_0x5d3185,_0x10bd38(0xf1)),_0x141a82[_0x10bd38(0xaf)]['on'](_0x10bd38(0x9e),()=>{const _0x19464a=_0x10bd38;_0x5d3185[_0x19464a(0x9e)](),this[_0x19464a(0x118)][_0x19464a(0xa7)][_0x19464a(0x134)][_0x19464a(0xac)]();}),_0x1968f5(_0x141a82,_0x3a5012,{'role':_0x10bd38(0x95)});const _0x47d8fa=[];for(const _0x4807bb of _0x3a5012)ve(_0x4807bb)&&_0x47d8fa[_0x10bd38(0xef)](this[_0x10bd38(0x118)][_0x10bd38(0x12d)][_0x10bd38(0xdb)](_0x4807bb[_0x10bd38(0x103)][_0x10bd38(0xd8)]));const _0x5b2a51=_0x141a82[_0x10bd38(0xaf)];return _0x5b2a51[_0x10bd38(0xc1)][_0x10bd38(0x131)](_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0x92)][_0x10bd38(0x131)](_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0xc1)][_0x10bd38(0x9c)](_0x10bd38(0xe0))['to'](_0x5d3185,_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0x92)][_0x10bd38(0x9c)](_0x10bd38(0xe0))[_0x10bd38(0x93)](_0x47d8fa,_0x10bd38(0xe0),(..._0x2a79a4)=>_0x2a79a4[_0x10bd38(0xd7)](_0x2f3ed7=>_0x2f3ed7)),_0x141a82['on'](_0x10bd38(0x9e),_0xcd5c47=>{const _0x182bd5=_0x10bd38;this[_0x182bd5(0x118)][_0x182bd5(0x9e)](_0xcd5c47[_0x182bd5(0xfa)][_0x182bd5(0xd8)]),this[_0x182bd5(0x118)][_0x182bd5(0xa7)][_0x182bd5(0x134)][_0x182bd5(0xac)]();}),_0x141a82;}[_0x757e2a(0x12c)](_0x45232a,_0x3a3a49,_0x24c534){const _0x4bacf6=_0x757e2a,_0x2d700d=new _0x3f03f9(_0x45232a),_0x2fbaaf=this[_0x4bacf6(0x118)][_0x4bacf6(0x12d)][_0x4bacf6(0xdb)](_0x4bacf6(0xb9));_0x2d700d[_0x4bacf6(0xaf)][_0x4bacf6(0xc7)]({'label':_0x24c534,'icon':_0x2a9740});const _0x4bd819=new _0x57d623(_0x45232a);for(const _0xc7c278 of _0x3a3a49){if(_0x4bacf6(0x119)==_0xc7c278[_0x4bacf6(0xe3)]){_0x4bd819[_0x4bacf6(0x100)][_0x4bacf6(0xd3)](new _0x1ea638(_0x45232a));continue;}const _0x5cebc6=new _0x542150(_0x45232a,_0x2d700d),_0x4e0e72=new _0x225954(_0x45232a),_0x4fc469=_0xc7c278[_0x4bacf6(0x103)];_0x4e0e72[_0x4bacf6(0x9c)](...Object[_0x4bacf6(0x12e)](_0x4fc469))['to'](_0x4fc469),_0x4e0e72[_0x4bacf6(0xbd)](_0x4bacf6(0x9e))['to'](_0x2d700d),_0x4e0e72['on'](_0x4bacf6(0x9e),()=>{const _0x183af8=_0x4bacf6;this[_0x183af8(0x118)][_0x183af8(0x9e)](_0x4fc469[_0x183af8(0xd8)]),this[_0x183af8(0x118)][_0x183af8(0xa7)][_0x183af8(0x134)][_0x183af8(0xac)]();}),_0x5cebc6[_0x4bacf6(0x13c)][_0x4bacf6(0xd3)](_0x4e0e72),_0x4bd819[_0x4bacf6(0x100)][_0x4bacf6(0xd3)](_0x5cebc6);}return _0x2d700d[_0x4bacf6(0x9c)](_0x4bacf6(0xe0))['to'](_0x2fbaaf,_0x4bacf6(0xe0)),_0x2d700d[_0x4bacf6(0xed)][_0x4bacf6(0x13c)][_0x4bacf6(0xd3)](_0x4bd819),_0x2d700d;}[_0x757e2a(0xa9)](_0x12932e){const _0x4bbf04=_0x757e2a,_0xd7f53f=this[_0x4bbf04(0x118)],_0x3febd1=_0xd7f53f[_0x4bbf04(0xc8)],_0x4687d5=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xb0)),_0x58eb28=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xff)),_0x11c6e2=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0x139)),_0x42e685=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x118f33)['me'],_0x42acef=_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xb9))[_0x4bbf04(0xc0)],_0x410a68=_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xb9))[_0x4bbf04(0xe2)],{CommentsListView:_0x5cb00b,CommentThreadInputView:_0x3aa30c}=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0x98));let _0x13bf74,_0x9080fd,_0x180903;this[_0x4bbf04(0xf2)][_0x4bbf04(0xb1)](_0x12932e['id'])?(_0x9080fd=this[_0x4bbf04(0xf2)][_0x4bbf04(0xdb)](_0x12932e['id']),_0x13bf74=_0x9080fd[_0x4bbf04(0x133)]):(_0x13bf74=new _0x42acef(_0xd7f53f[_0x4bbf04(0xe1)],_0x12932e,_0x42e685,{'disableComments':this[_0x4bbf04(0xf5)],'editorConfig':{..._0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xc5)),'licenseKey':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x106))},'maxCommentsWhenCollapsed':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x12b)),'maxThreadTotalWeight':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x94)),'maxCommentCharsWhenCollapsed':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xe6)),'formatDateTime':_0x1d1e31(_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xe1)),_0xd7f53f[_0x4bbf04(0xe1)]),'CommentView':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x132))[_0x4bbf04(0xcd)],'CommentsListView':_0x5cb00b,'CommentThreadInputView':_0x3aa30c,'SuggestionView':_0x410a68}),_0x13bf74[_0x4bbf04(0xeb)][_0x4bbf04(0x8f)]['on'](_0x4bbf04(0x9e),()=>{const _0x2683c5=_0x4bbf04;_0xd7f53f[_0x2683c5(0xa7)][_0x2683c5(0x134)][_0x2683c5(0xac)]();}),_0x13bf74[_0x4bbf04(0xeb)][_0x4bbf04(0x11e)]['on'](_0x4bbf04(0x9e),()=>{const _0x2fe602=_0x4bbf04;_0xd7f53f[_0x2fe602(0xa7)][_0x2fe602(0x134)][_0x2fe602(0xac)]();}),_0x9080fd=_0x4687d5[_0x4bbf04(0x11f)](this[_0x4bbf04(0x118)][_0x4bbf04(0xe1)],_0x13bf74),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xbf))['to'](_0x13bf74,_0x4bbf04(0xbf)),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xf9))['to'](_0x13bf74),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xe3))['to'](_0x13bf74,_0x4bbf04(0xe3),_0x328ec7=>_0x4bbf04(0x129)+_0x328ec7),_0x13bf74['on'](_0x4bbf04(0xb2),()=>{const _0x22348d=_0x4bbf04;_0x180903[_0x22348d(0x127)](_0x22348d(0xb2));}),this[_0x4bbf04(0xf2)][_0x4bbf04(0xc7)](_0x12932e['id'],_0x9080fd));const _0x434bbf=_0x58eb28[_0x4bbf04(0xa8)](_0x12932e[_0x4bbf04(0x13b)],_0x13bf74),_0x4b21db=new _0x579d29(_0xd7f53f,_0x12932e,_0x13bf74,_0x434bbf),_0x80b286=_0x12932e[_0x4bbf04(0x117)]()[_0x4bbf04(0x11c)](_0x4aa45f=>_0x4aa45f[_0x4bbf04(0xb4)]);_0x13bf74[_0x4bbf04(0x10e)]=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xb3))[_0x4bbf04(0xa1)][_0x4bbf04(0xfd)](_0x80b286),this[_0x4bbf04(0xb6)][_0x4bbf04(0xc7)](_0x12932e,_0x4b21db),this[_0x4bbf04(0xd2)][_0x4bbf04(0xc7)](_0x13bf74,_0x4b21db);const _0x3a80f9=()=>{const _0x3b34ca=_0x4bbf04,_0x2a87ec=[],_0x45c2f1=_0x12932e[_0x3b34ca(0x117)]()[_0x3b34ca(0x11c)](_0x25ca22=>_0x25ca22[_0x3b34ca(0xb4)]);for(const _0x75dbf9 of _0x45c2f1)_0x2a87ec[_0x3b34ca(0xef)](..._0x75dbf9[_0x3b34ca(0xec)]());return _0x3a79b2(_0xd7f53f[_0x3b34ca(0xa7)],_0x2a87ec);};_0x180903=_0x4687d5[_0x4bbf04(0xf3)]({'view':_0x9080fd,'target':_0x3a80f9,'type':()=>_0x4bbf04(0x129)+_0x4b21db[_0x4bbf04(0x134)][_0x4bbf04(0xe3)],'isVisible':!!_0x3a80f9()}),_0x58eb28[_0x4bbf04(0xc3)](_0x13bf74,_0x180903),_0x4687d5[_0x4bbf04(0xd3)](_0x180903),_0x11c6e2[_0x4bbf04(0xbb)](_0x180903);}[_0x757e2a(0x111)](_0x2a19a7){const _0x436570=_0x757e2a,_0x310351=this[_0x436570(0x118)][_0x436570(0xc2)][_0x436570(0xdb)](_0x436570(0xff)),_0x59efe3=this[_0x436570(0x118)][_0x436570(0xc2)][_0x436570(0xdb)](_0x436570(0xb0)),_0x4e1db9=this[_0x436570(0xb6)][_0x436570(0xdb)](_0x2a19a7),_0x93b7cb=_0x4e1db9[_0x436570(0x134)],_0x51735a=_0x59efe3[_0x436570(0xe7)](_0x93b7cb);_0x310351[_0x436570(0xdf)](_0x93b7cb),_0x51735a&&_0x59efe3[_0x436570(0x102)](_0x51735a),this[_0x436570(0xb6)][_0x436570(0xfe)](_0x2a19a7),this[_0x436570(0xd2)][_0x436570(0xfe)](_0x93b7cb),_0x4e1db9[_0x436570(0x104)]();}[_0x757e2a(0xcf)](_0x5ed254){const _0x2c16ba=_0x757e2a;if(!_0x5ed254[_0x2c16ba(0xb4)]||!this[_0x2c16ba(0xb6)][_0x2c16ba(0xb1)](_0x5ed254))return;const _0xf437a9=this[_0x2c16ba(0x118)][_0x2c16ba(0xc2)][_0x2c16ba(0xdb)](_0x2c16ba(0xb3)),_0x162bc9=this[_0x2c16ba(0xb6)][_0x2c16ba(0xdb)](_0x5ed254),_0x1b142e=_0x5ed254[_0x2c16ba(0x117)]();_0x162bc9[_0x2c16ba(0x134)][_0x2c16ba(0x10e)]=_0xf437a9[_0x2c16ba(0xa1)][_0x2c16ba(0xfd)](_0x1b142e);}[_0x757e2a(0x104)](){const _0x53dbea=_0x757e2a;for(const _0x2f5add of this[_0x53dbea(0xb6)][_0x53dbea(0x12e)]())this[_0x53dbea(0x111)](_0x2f5add);for(const _0x109b34 of this[_0x53dbea(0xf2)][_0x53dbea(0x137)]())_0x109b34[_0x53dbea(0x133)][_0x53dbea(0x104)]();super[_0x53dbea(0x104)](),this[_0x53dbea(0x11a)]&&clearInterval(this[_0x53dbea(0x11a)]);}}function ve(_0x3ae2fc){const _0x1aa49e=_0x757e2a;return _0x1aa49e(0x103)in _0x3ae2fc;}
|
|
23
|
+
const _0x40afc0=_0xdb8d;(function(_0x53ec3d,_0x154d72){const _0x4faf7d=_0xdb8d,_0x295156=_0x53ec3d();while(!![]){try{const _0x555efc=parseInt(_0x4faf7d(0x12f))/0x1*(-parseInt(_0x4faf7d(0x1b4))/0x2)+-parseInt(_0x4faf7d(0x1dc))/0x3*(-parseInt(_0x4faf7d(0x164))/0x4)+-parseInt(_0x4faf7d(0x18d))/0x5*(parseInt(_0x4faf7d(0x167))/0x6)+parseInt(_0x4faf7d(0x1cb))/0x7*(parseInt(_0x4faf7d(0x1cc))/0x8)+parseInt(_0x4faf7d(0x193))/0x9+parseInt(_0x4faf7d(0x196))/0xa*(parseInt(_0x4faf7d(0x14e))/0xb)+-parseInt(_0x4faf7d(0x1a6))/0xc*(parseInt(_0x4faf7d(0x1b5))/0xd);if(_0x555efc===_0x154d72)break;else _0x295156['push'](_0x295156['shift']());}catch(_0x324118){_0x295156['push'](_0x295156['shift']());}}}(_0x581f,0x9479f));import{Plugin as _0x1de772}from'ckeditor5/src/core.js';import{Collection as _0x16ea79}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x196a17}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x361a19,createDropdown as _0xb7438a,ListSeparatorView as _0x35f4bb,MenuBarMenuView as _0x2b0faa,MenuBarMenuListView as _0x213031,MenuBarMenuListItemView as _0x4cb6f7,MenuBarMenuListItemButtonView as _0xba0734,SplitButtonView as _0x3f0bca,UIModel as _0x321c6f}from'ckeditor5/src/ui.js';import{Users as _0xc172f3,getDateTimeFormatter as _0x411b90,getAllMarkersDomElementsSorted as _0x261175}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5e0fe7}from'./trackchangesediting.js';import{SuggestionController as _0x30e1b8}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x63ff7f}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x43b16e}from'./ui/view/suggestionview.js';import{getTranslation as _0x401de4}from'./utils/common-translations.js';function _0xdb8d(_0x1d42b5,_0x4e899e){const _0x581f6f=_0x581f();return _0xdb8d=function(_0xdb8d26,_0x50ed6a){_0xdb8d26=_0xdb8d26-0x12b;let _0xadf205=_0x581f6f[_0xdb8d26];return _0xadf205;},_0xdb8d(_0x1d42b5,_0x4e899e);}export class TrackChangesUI extends _0x1de772{[_0x40afc0(0x195)];[_0x40afc0(0x152)];[_0x40afc0(0x1a0)];[_0x40afc0(0x144)];[_0x40afc0(0x134)];[_0x40afc0(0x1a7)];[_0x40afc0(0x1d2)];static get[_0x40afc0(0x1ca)](){const _0x12031f=_0x40afc0;return[_0x5e0fe7,_0xc172f3,_0x12031f(0x179),_0x12031f(0x1c0),_0x12031f(0x171)];}static get[_0x40afc0(0x149)](){const _0x4b4da2=_0x40afc0;return _0x4b4da2(0x1db);}static get[_0x40afc0(0x155)](){return!0x0;}static get[_0x40afc0(0x1d4)](){return!0x0;}constructor(_0x285c38){const _0x1e90d6=_0x40afc0;super(_0x285c38),this[_0x1e90d6(0x1a0)]=new Map(),this[_0x1e90d6(0x144)]=new Map(),this[_0x1e90d6(0x134)]=new Map(),this[_0x1e90d6(0x1a7)]=new Map();const _0xdd9608=this[_0x1e90d6(0x1ce)][_0x1e90d6(0x1c2)];_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x175),_0x63ff7f),_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x145),_0x43b16e),_0xdd9608[_0x1e90d6(0x13d)](_0x1e90d6(0x16b),!0x1),this[_0x1e90d6(0x1d2)]=_0xdd9608[_0x1e90d6(0x13c)](_0x1e90d6(0x16b));}[_0x40afc0(0x1c9)](_0x3c3ecf,_0x3ca12d){const _0x330975=_0x40afc0;0x0===this[_0x330975(0x1a7)][_0x330975(0x136)]&&setTimeout(()=>{const _0x11fb14=_0x330975;for(const [_0x139402,_0x224e4e]of this[_0x11fb14(0x1a7)]){const _0x3dd4ef=this[_0x11fb14(0x1a0)][_0x11fb14(0x1c7)](_0x139402);_0x3dd4ef||_0x224e4e?_0x3dd4ef&&_0x224e4e&&this[_0x11fb14(0x138)](_0x139402):this[_0x11fb14(0x1be)](_0x139402);}this[_0x11fb14(0x1a7)][_0x11fb14(0x1cf)](),this[_0x11fb14(0x1ce)][_0x11fb14(0x1af)][_0x11fb14(0x13c)](_0x11fb14(0x171))[_0x11fb14(0x16f)](),this[_0x11fb14(0x157)]();},0xa),this[_0x330975(0x1a7)][_0x330975(0x1a9)](_0x3c3ecf,_0x3ca12d);}[_0x40afc0(0x16d)](){const _0x43df2a=_0x40afc0,_0x5da2d8=this[_0x43df2a(0x1ce)],_0x5c3a0a=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x13a)),_0x22efa8=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x1c0)),_0x20fd7d=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x171)),_0x32c5fb=_0x5da2d8[_0x43df2a(0x1af)][_0x43df2a(0x13c)](_0x43df2a(0x179));this[_0x43df2a(0x198)](),_0x20fd7d[_0x43df2a(0x1b1)](()=>{const _0x5a6cb6=_0x43df2a,_0x59cc0c=[];for(const [_0x1b5e8b,_0x1e77de]of Array[_0x5a6cb6(0x17d)](this[_0x5a6cb6(0x1a0)])){const _0xf8ef1c=_0x1b5e8b[_0x5a6cb6(0x1a5)](),_0x4a5472=[];for(const _0x5be534 of _0xf8ef1c){if(!_0x5be534[_0x5a6cb6(0x182)])continue;if(_0x5be534[_0x5a6cb6(0x197)]){_0x4a5472[_0x5a6cb6(0x14d)](..._0x5be534[_0x5a6cb6(0x13e)]());continue;}const _0x225cb1=_0x5be534[_0x5a6cb6(0x187)]();if(_0x4a5472[_0x5a6cb6(0x12e)]>0x0){const _0x39a34e=_0x4a5472[0x0][_0x5a6cb6(0x17f)](_0x225cb1);if(_0x39a34e){_0x4a5472[0x0]=_0x39a34e;continue;}}_0x4a5472[_0x5a6cb6(0x14d)](_0x225cb1);}_0x59cc0c[_0x5a6cb6(0x14d)]([_0x1e77de[_0x5a6cb6(0x12d)],_0x4a5472]);}return _0x59cc0c;}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x1b8),(_0x6183a8,_0x4b2435)=>{const _0x4ec302=_0x43df2a;this[_0x4ec302(0x191)](_0x4b2435,_0x4ec302(0x181),(_0x2b7293,_0x137712,_0x1f1e15,_0x4d944e)=>{const _0x19dd05=_0x4ec302;_0x4b2435[_0x19dd05(0x182)]&&(null==_0x1f1e15?(this[_0x19dd05(0x1d0)](_0x4d944e[_0x19dd05(0x192)]),this[_0x19dd05(0x1c9)](_0x4b2435,!0x1)):(this[_0x19dd05(0x1d0)](_0x1f1e15[_0x19dd05(0x192)]),null==_0x4d944e&&this[_0x19dd05(0x1c9)](_0x4b2435,!0x0)));}),null!==_0x4b2435[_0x4ec302(0x15f)]?this[_0x4ec302(0x1d0)](_0x4b2435[_0x4ec302(0x192)]):this[_0x4ec302(0x1c9)](_0x4b2435,!0x1);}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x140),(_0x367f79,_0x2d0e5c,_0x8a2f5b)=>{const _0xa98e1d=_0x43df2a;this[_0xa98e1d(0x159)](_0x2d0e5c,_0xa98e1d(0x181)),this[_0xa98e1d(0x1a7)][_0xa98e1d(0x163)](_0x2d0e5c),this[_0xa98e1d(0x1a0)][_0xa98e1d(0x1c7)](_0x2d0e5c)&&this[_0xa98e1d(0x138)](_0x2d0e5c),_0x8a2f5b&&this[_0xa98e1d(0x1d0)](_0x8a2f5b[_0xa98e1d(0x192)]);}),this[_0x43df2a(0x191)](_0x5c3a0a,_0x43df2a(0x178),(_0x3fd42e,_0x24a19d)=>{const _0x55756b=_0x43df2a;this[_0x55756b(0x1d0)](_0x24a19d);}),this[_0x43df2a(0x191)](_0x22efa8,_0x43df2a(0x199),()=>{const _0x2a030d=_0x43df2a;this[_0x2a030d(0x157)]();}),this[_0x43df2a(0x191)](_0x32c5fb,_0x43df2a(0x189),(_0x51e051,{threadId:_0x7decf4,isFromAdapter:_0x4caa72})=>{const _0x1b568d=_0x43df2a;if(_0x4caa72||!_0x5c3a0a[_0x1b568d(0x1d7)](_0x7decf4))return;const _0x1d29c8=_0x5c3a0a[_0x1b568d(0x165)](_0x7decf4);this[_0x1b568d(0x1a0)][_0x1b568d(0x13c)](_0x1d29c8)[_0x1b568d(0x12d)][_0x1b568d(0x176)][_0x1b568d(0x18f)](-0x1);},{'priority':_0x43df2a(0x15b)}),this[_0x43df2a(0x195)]=this[_0x43df2a(0x1ce)][_0x43df2a(0x1c2)][_0x43df2a(0x13c)](_0x43df2a(0x195));const _0x525201=this[_0x43df2a(0x1ce)];this[_0x43df2a(0x152)]=setInterval(()=>{const _0x801c71=_0x43df2a;let _0xbd818d;for(const _0x1a5ac8 in _0x525201){const _0x31cea1=_0x1a5ac8,_0x45314c=_0x525201[_0x31cea1];if(_0x801c71(0x1bc)==_0x45314c||_0x801c71(0x130)==_0x45314c||_0x801c71(0x1cd)==_0x45314c||_0x801c71(0x172)==_0x45314c||_0x801c71(0x19c)==_0x45314c||_0x801c71(0x1b9)==_0x45314c||_0x801c71(0x1b3)==_0x45314c||_0x801c71(0x1c5)==_0x45314c){delete _0x525201[_0x31cea1],_0xbd818d=_0x45314c,clearInterval(this[_0x801c71(0x152)]),this[_0x801c71(0x152)]=void 0x0;break;}}_0x801c71(0x130)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x14f)),_0x801c71(0x1cd)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x137)),_0x801c71(0x172)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x1c1)),_0x801c71(0x19c)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x131),_0x801c71(0x1bb)),_0x801c71(0x1b9)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x133)),_0x801c71(0x1b3)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x19f)),_0x801c71(0x1c5)==_0xbd818d&&_0x525201[_0x801c71(0x14b)](_0x801c71(0x19b));},0x3e8);}[_0x40afc0(0x1d5)](_0x487394){const _0x2378ab=_0x40afc0,_0x284abd=this[_0x2378ab(0x1a0)][_0x2378ab(0x13c)](_0x487394);if(!_0x284abd)return null;return this[_0x2378ab(0x1ce)][_0x2378ab(0x1af)][_0x2378ab(0x13c)](_0x2378ab(0x1c0))[_0x2378ab(0x143)](_0x284abd[_0x2378ab(0x12d)])||null;}[_0x40afc0(0x132)](_0x7495be){const _0xe1a436=_0x40afc0,_0x393d27=this[_0xe1a436(0x144)][_0xe1a436(0x13c)](_0x7495be[_0xe1a436(0x194)]);return _0x393d27?_0x393d27[_0xe1a436(0x14a)]:null;}[_0x40afc0(0x157)](){const _0x575530=_0x40afc0,_0x86152a=this[_0x575530(0x1ce)][_0x575530(0x1af)][_0x575530(0x13c)](_0x575530(0x1c0)),_0x14eb26=this[_0x575530(0x1ce)][_0x575530(0x1af)][_0x575530(0x13c)](_0x575530(0x13a)),_0x628181=Array[_0x575530(0x17d)](_0x86152a[_0x575530(0x15a)],_0x19f771=>_0x19f771[_0x575530(0x194)])[_0x575530(0x12c)](_0x26c78f=>this[_0x575530(0x144)][_0x575530(0x1c7)](_0x26c78f)),_0x2f1b40=[];for(const _0x310b8b of _0x628181){const _0x4dddd7=this[_0x575530(0x144)][_0x575530(0x13c)](_0x310b8b)[_0x575530(0x14a)][_0x575530(0x1a5)]();_0x2f1b40[_0x575530(0x14d)](..._0x4dddd7[_0x575530(0x14c)]((_0x5e1477,_0x4bc352)=>[..._0x5e1477,..._0x4bc352[_0x575530(0x17c)]()],[]));}_0x14eb26[_0x575530(0x173)]=_0x2f1b40;}[_0x40afc0(0x198)](){const _0xb84e3b=_0x40afc0,_0x3f0cac=this[_0xb84e3b(0x1ce)],_0x3f6a72=_0x3f0cac[_0xb84e3b(0x161)],_0x461565=_0x401de4(_0x3f6a72,_0xb84e3b(0x1c4)),_0xd35f4e=new _0x16ea79([{'type':_0xb84e3b(0x190),'model':new _0x321c6f({'withText':!0x0,'isToggleable':!0x0,'label':_0x461565,'commandName':_0xb84e3b(0x1da),'role':_0xb84e3b(0x180)})},{'type':_0xb84e3b(0x154)},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x19d)),'commandName':_0xb84e3b(0x168),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x13b)),'commandName':_0xb84e3b(0x147),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x1d6)),'commandName':_0xb84e3b(0x1de),'role':_0xb84e3b(0x1c6)})},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x1ac)),'commandName':_0xb84e3b(0x15d),'role':_0xb84e3b(0x1c6)})}]);_0x3f0cac[_0xb84e3b(0x1af)][_0xb84e3b(0x1c7)](_0xb84e3b(0x170))&&_0xd35f4e[_0xb84e3b(0x160)]([{'type':_0xb84e3b(0x154)},{'type':_0xb84e3b(0x1a4),'model':new _0x321c6f({'withText':!0x0,'label':_0x401de4(_0x3f6a72,_0xb84e3b(0x166)),'commandName':_0xb84e3b(0x1ba),'role':_0xb84e3b(0x1c6)})}]);for(const _0x33f498 of _0xd35f4e)if(ve(_0x33f498)){const _0x29f976=_0x3f0cac[_0xb84e3b(0x18c)][_0xb84e3b(0x13c)](_0x33f498[_0xb84e3b(0x14a)][_0xb84e3b(0x15c)]);_0x33f498[_0xb84e3b(0x14a)][_0xb84e3b(0x158)](_0xb84e3b(0x18e),_0xb84e3b(0x17e))['to'](_0x29f976,_0xb84e3b(0x1bd),_0xb84e3b(0x17e));}_0x3f0cac['ui'][_0xb84e3b(0x148)][_0xb84e3b(0x1d9)](_0xb84e3b(0x1da),_0x2d1441=>this[_0xb84e3b(0x18b)](_0x2d1441,_0xd35f4e,_0x461565)),_0x3f0cac['ui'][_0xb84e3b(0x148)][_0xb84e3b(0x1d9)](_0xb84e3b(0x1b2),_0x2da568=>this[_0xb84e3b(0x174)](_0x2da568,_0xd35f4e,_0x461565));}[_0x40afc0(0x18b)](_0x169347,_0x53af46,_0x596a0a){const _0x1e247f=_0x40afc0,_0x1d3305=_0xb7438a(_0x169347,_0x3f0bca),_0x33c6ca=this[_0x1e247f(0x1ce)][_0x1e247f(0x18c)][_0x1e247f(0x13c)](_0x1e247f(0x1da));_0x1d3305[_0x1e247f(0x183)][_0x1e247f(0x1a9)]({'tooltip':_0x596a0a,'label':_0x596a0a,'icon':_0x196a17}),_0x1d3305[_0x1e247f(0x183)][_0x1e247f(0x158)](_0x1e247f(0x18e))['to'](_0x33c6ca,_0x1e247f(0x1bd)),_0x1d3305[_0x1e247f(0x183)]['on'](_0x1e247f(0x1b0),()=>{const _0x33aa93=_0x1e247f;_0x33c6ca[_0x33aa93(0x1b0)](),this[_0x33aa93(0x1ce)][_0x33aa93(0x188)][_0x33aa93(0x12d)][_0x33aa93(0x18f)]();}),_0x361a19(_0x1d3305,_0x53af46,{'role':_0x1e247f(0x184)});const _0x2f911e=[];for(const _0x3ba653 of _0x53af46)ve(_0x3ba653)&&_0x2f911e[_0x1e247f(0x14d)](this[_0x1e247f(0x1ce)][_0x1e247f(0x18c)][_0x1e247f(0x13c)](_0x3ba653[_0x1e247f(0x14a)][_0x1e247f(0x15c)]));const _0x5df2d1=_0x1d3305[_0x1e247f(0x183)];return _0x5df2d1[_0x1e247f(0x1aa)][_0x1e247f(0x16e)](_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x19a)][_0x1e247f(0x16e)](_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x1aa)][_0x1e247f(0x158)](_0x1e247f(0x17e))['to'](_0x33c6ca,_0x1e247f(0x17e)),_0x5df2d1[_0x1e247f(0x19a)][_0x1e247f(0x158)](_0x1e247f(0x17e))[_0x1e247f(0x146)](_0x2f911e,_0x1e247f(0x17e),(..._0x23e79f)=>_0x23e79f[_0x1e247f(0x150)](_0x482024=>_0x482024)),_0x1d3305['on'](_0x1e247f(0x1b0),_0x167036=>{const _0x5c8346=_0x1e247f;this[_0x5c8346(0x1ce)][_0x5c8346(0x1b0)](_0x167036[_0x5c8346(0x177)][_0x5c8346(0x15c)]),this[_0x5c8346(0x1ce)][_0x5c8346(0x188)][_0x5c8346(0x12d)][_0x5c8346(0x18f)]();}),_0x1d3305;}[_0x40afc0(0x174)](_0x32cdf8,_0x171546,_0x5c7d59){const _0x57025b=_0x40afc0,_0x47f1fb=new _0x2b0faa(_0x32cdf8),_0x3fae57=this[_0x57025b(0x1ce)][_0x57025b(0x18c)][_0x57025b(0x13c)](_0x57025b(0x1da));_0x47f1fb[_0x57025b(0x183)][_0x57025b(0x1a9)]({'label':_0x5c7d59,'icon':_0x196a17});const _0x33d039=new _0x213031(_0x32cdf8);for(const _0x8a5eaf of _0x171546){if(_0x57025b(0x154)==_0x8a5eaf[_0x57025b(0x19e)]){_0x33d039[_0x57025b(0x15e)][_0x57025b(0x1d9)](new _0x35f4bb(_0x32cdf8));continue;}const _0x5a3b9f=new _0x4cb6f7(_0x32cdf8,_0x47f1fb),_0x1986bb=new _0xba0734(_0x32cdf8),_0x27d957=_0x8a5eaf[_0x57025b(0x14a)];_0x1986bb[_0x57025b(0x158)](...Object[_0x57025b(0x1c3)](_0x27d957))['to'](_0x27d957),_0x1986bb[_0x57025b(0x1ad)](_0x57025b(0x1b0))['to'](_0x47f1fb),_0x1986bb['on'](_0x57025b(0x1b0),()=>{const _0x36204b=_0x57025b;this[_0x36204b(0x1ce)][_0x36204b(0x1b0)](_0x27d957[_0x36204b(0x15c)]),this[_0x36204b(0x1ce)][_0x36204b(0x188)][_0x36204b(0x12d)][_0x36204b(0x18f)]();}),_0x5a3b9f[_0x57025b(0x1a8)][_0x57025b(0x1d9)](_0x1986bb),_0x33d039[_0x57025b(0x15e)][_0x57025b(0x1d9)](_0x5a3b9f);}return _0x47f1fb[_0x57025b(0x158)](_0x57025b(0x17e))['to'](_0x3fae57,_0x57025b(0x17e)),_0x47f1fb[_0x57025b(0x151)][_0x57025b(0x1a8)][_0x57025b(0x1d9)](_0x33d039),_0x47f1fb;}[_0x40afc0(0x1be)](_0x319ce4){const _0x7c54c4=_0x40afc0,_0x3a5950=this[_0x7c54c4(0x1ce)],_0x2bc5a3=_0x3a5950[_0x7c54c4(0x1c2)],_0xfb35d7=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x1c0)),_0x53edde=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x179)),_0x2d5b78=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x171)),_0x25891b=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0xc172f3)['me'],_0x31d084=_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1da))[_0x7c54c4(0x139)],_0x511426=_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1da))[_0x7c54c4(0x1b7)],{CommentsListView:_0x4236d5,CommentThreadInputView:_0x5eeec7}=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x169));let _0x5ac0ec,_0xd4a37c,_0x8935f6;this[_0x7c54c4(0x134)][_0x7c54c4(0x1c7)](_0x319ce4['id'])?(_0xd4a37c=this[_0x7c54c4(0x134)][_0x7c54c4(0x13c)](_0x319ce4['id']),_0x5ac0ec=_0xd4a37c[_0x7c54c4(0x16a)]):(_0x5ac0ec=new _0x31d084(_0x3a5950[_0x7c54c4(0x161)],_0x319ce4,_0x25891b,{'disableComments':this[_0x7c54c4(0x1d2)],'editorConfig':{..._0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x153)),'licenseKey':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x195))},'maxCommentsWhenCollapsed':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x162)),'maxThreadTotalWeight':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x17b)),'maxCommentCharsWhenCollapsed':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x1b6)),'formatDateTime':_0x411b90(_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x161)),_0x3a5950[_0x7c54c4(0x161)]),'CommentView':_0x2bc5a3[_0x7c54c4(0x13c)](_0x7c54c4(0x17a))[_0x7c54c4(0x1d3)],'CommentsListView':_0x4236d5,'CommentThreadInputView':_0x5eeec7,'SuggestionView':_0x511426}),_0x5ac0ec[_0x7c54c4(0x16c)][_0x7c54c4(0x186)]['on'](_0x7c54c4(0x1b0),()=>{const _0x586fa7=_0x7c54c4;_0x3a5950[_0x586fa7(0x188)][_0x586fa7(0x12d)][_0x586fa7(0x18f)]();}),_0x5ac0ec[_0x7c54c4(0x16c)][_0x7c54c4(0x1d8)]['on'](_0x7c54c4(0x1b0),()=>{const _0x4f333a=_0x7c54c4;_0x3a5950[_0x4f333a(0x188)][_0x4f333a(0x12d)][_0x4f333a(0x18f)]();}),_0xd4a37c=_0xfb35d7[_0x7c54c4(0x142)](this[_0x7c54c4(0x1ce)][_0x7c54c4(0x161)],_0x5ac0ec),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x1a1))['to'](_0x5ac0ec,_0x7c54c4(0x1a1)),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x12e))['to'](_0x5ac0ec),_0xd4a37c[_0x7c54c4(0x158)](_0x7c54c4(0x19e))['to'](_0x5ac0ec,_0x7c54c4(0x19e),_0x387fed=>_0x7c54c4(0x1a2)+_0x387fed),_0x5ac0ec['on'](_0x7c54c4(0x1ab),()=>{const _0x1fe4cb=_0x7c54c4;_0x8935f6[_0x1fe4cb(0x1c8)](_0x1fe4cb(0x1ab));}),this[_0x7c54c4(0x134)][_0x7c54c4(0x1a9)](_0x319ce4['id'],_0xd4a37c));const _0x45bfb7=_0x53edde[_0x7c54c4(0x18a)](_0x319ce4[_0x7c54c4(0x1d1)],_0x5ac0ec),_0x191bc7=new _0x30e1b8(_0x3a5950,_0x319ce4,_0x5ac0ec,_0x45bfb7),_0x202977=_0x319ce4[_0x7c54c4(0x1a5)]()[_0x7c54c4(0x12c)](_0x404e83=>_0x404e83[_0x7c54c4(0x182)]);_0x5ac0ec[_0x7c54c4(0x1df)]=_0x3a5950[_0x7c54c4(0x1af)][_0x7c54c4(0x13c)](_0x7c54c4(0x13a))[_0x7c54c4(0x1dd)][_0x7c54c4(0x135)](_0x202977),this[_0x7c54c4(0x1a0)][_0x7c54c4(0x1a9)](_0x319ce4,_0x191bc7),this[_0x7c54c4(0x144)][_0x7c54c4(0x1a9)](_0x5ac0ec,_0x191bc7);const _0x4fd35a=()=>{const _0x4256e3=_0x7c54c4,_0x42f46c=[],_0xa571cd=_0x319ce4[_0x4256e3(0x1a5)]()[_0x4256e3(0x12c)](_0x28db99=>_0x28db99[_0x4256e3(0x182)]);for(const _0x237782 of _0xa571cd)_0x42f46c[_0x4256e3(0x14d)](..._0x237782[_0x4256e3(0x141)]());return _0x261175(_0x3a5950[_0x4256e3(0x188)],_0x42f46c);};_0x8935f6=_0xfb35d7[_0x7c54c4(0x1ae)]({'view':_0xd4a37c,'target':_0x4fd35a,'type':()=>_0x7c54c4(0x1a2)+_0x191bc7[_0x7c54c4(0x12d)][_0x7c54c4(0x19e)],'isVisible':!!_0x4fd35a()}),_0x53edde[_0x7c54c4(0x1a3)](_0x5ac0ec,_0x8935f6),_0xfb35d7[_0x7c54c4(0x1d9)](_0x8935f6),_0x2d5b78[_0x7c54c4(0x1bf)](_0x8935f6);}[_0x40afc0(0x138)](_0xb96b50){const _0x422a73=_0x40afc0,_0x1db6f0=this[_0x422a73(0x1ce)][_0x422a73(0x1af)][_0x422a73(0x13c)](_0x422a73(0x179)),_0x5a5b78=this[_0x422a73(0x1ce)][_0x422a73(0x1af)][_0x422a73(0x13c)](_0x422a73(0x1c0)),_0x58db59=this[_0x422a73(0x1a0)][_0x422a73(0x13c)](_0xb96b50),_0x39e96d=_0x58db59[_0x422a73(0x12d)],_0x26f22d=_0x5a5b78[_0x422a73(0x143)](_0x39e96d);_0x1db6f0[_0x422a73(0x185)](_0x39e96d),_0x26f22d&&_0x5a5b78[_0x422a73(0x156)](_0x26f22d),this[_0x422a73(0x1a0)][_0x422a73(0x163)](_0xb96b50),this[_0x422a73(0x144)][_0x422a73(0x163)](_0x39e96d),_0x58db59[_0x422a73(0x13f)]();}[_0x40afc0(0x1d0)](_0x17ce0f){const _0x4d25e5=_0x40afc0;if(!_0x17ce0f[_0x4d25e5(0x182)]||!this[_0x4d25e5(0x1a0)][_0x4d25e5(0x1c7)](_0x17ce0f))return;const _0x41e2ea=this[_0x4d25e5(0x1ce)][_0x4d25e5(0x1af)][_0x4d25e5(0x13c)](_0x4d25e5(0x13a)),_0x16c3d8=this[_0x4d25e5(0x1a0)][_0x4d25e5(0x13c)](_0x17ce0f),_0x47b378=_0x17ce0f[_0x4d25e5(0x1a5)]();_0x16c3d8[_0x4d25e5(0x12d)][_0x4d25e5(0x1df)]=_0x41e2ea[_0x4d25e5(0x1dd)][_0x4d25e5(0x135)](_0x47b378);}[_0x40afc0(0x13f)](){const _0x376246=_0x40afc0;for(const _0x5c9105 of this[_0x376246(0x1a0)][_0x376246(0x1c3)]())this[_0x376246(0x138)](_0x5c9105);for(const _0x25dff7 of this[_0x376246(0x134)][_0x376246(0x12b)]())_0x25dff7[_0x376246(0x16a)][_0x376246(0x13f)]();super[_0x376246(0x13f)](),this[_0x376246(0x152)]&&clearInterval(this[_0x376246(0x152)]);}}function _0x581f(){const _0x950c5e=['Annotations','domainLimit','config','keys','Track\x20changes','trackChangesLicenseKeyUsageLimit','menuitem','has','fire','_handleSuggestionControllerDelayed','requires','42lLccCj','979024GMTsUJ','trackChangesLicenseKeyExpired','editor','clear','_updateController','commentThread','_disableComments','CommentView','isPremiumPlugin','getAnnotationForSuggestion','Discard\x20all\x20suggestions','hasSuggestion','discardButton','add','trackChanges','TrackChangesUI','42oJGxFm','descriptionFactory','discardAllSuggestions','descriptionParts','values','filter','view','length','5jbUtny','trackChangesLicenseKeyInvalid','featureNotAllowed','getSuggestionForAnnotation','evaluationLimit','_annotationViews','getDescriptions','size','expired','_destroyController','SuggestionThreadView','TrackChangesEditing','Accept\x20all\x20selected\x20suggestions','get','define','getRanges','destroy','suggestionUnloaded','getMarkers','createAnnotationView','getByInnerView','_viewToController','trackChanges.SuggestionView','toMany','acceptSelectedSuggestions','componentFactory','pluginName','model','_showLicenseError','reduce','push','730411JlMqDU','invalid','some','panelView','_licenseKeyCheckInterval','comments.editorConfig','separator','isOfficialPlugin','remove','_refreshActiveMarkers','bind','stopListening','activeAnnotations','lowest','commandName','discardSelectedSuggestions','items','previous','addMany','locale','comments.maxCommentsWhenCollapsed','delete','289724iJNjyU','getSuggestion','Preview\x20final\x20content','1793556SGPcYf','acceptAllSuggestions','CommentsUI','mainView','trackChanges.disableComments','suggestionView','init','unbind','refreshSelectedViews','TrackChangesPreview','EditorAnnotations','trackChangesLicenseKeyDomainLimit','activeMarkers','_createMenuBarMenu','trackChanges.SuggestionThreadView','commentsListView','source','suggestionChanged','CommentsRepository','comments','comments.maxThreadTotalWeight','getMarkerNames','from','isEnabled','getJoined','menuitemcheckbox','change:previous','isInContent','buttonView','menu','_unbindEditors','acceptButton','getFirstRange','editing','addComment','createCommentThreadController','_createToolbarButton','commands','20vHmUiT','isOn','focus','switchbutton','listenTo','head','3515121cRStxS','innerView','licenseKey','40TmOGnE','isMultiRange','_addUIComponentsToFactory','change:activeAnnotations','arrowView','usageLimit','trackChangesLicenseKeyNotAllowed','Accept\x20all\x20suggestions','type','trialLimit','_suggestionToController','isDirty','suggestion-','_bindAnnotationToEditors','button','getAllAdjacentSuggestions','117732phmZWx','_handleControllerBuffer','children','set','actionView','escape','Discard\x20all\x20selected\x20suggestions','delegate','createAnnotation','plugins','execute','addSourceCollector','menuBar:trackChanges','trackChangesLicenseKeyTrialLimit','16554PGBtNY','741lgcTMd','comments.maxCommentCharsWhenCollapsed','SuggestionView','suggestionLoaded','trackChangesLicenseKeyEvaluationLimit','previewFinalContent','TrackChanges','trackChangesLicenseKeyValid','value','_initializeController','registerAnnotation'];_0x581f=function(){return _0x950c5e;};return _0x581f();}function ve(_0x19dbc7){const _0x3b5585=_0x40afc0;return _0x3b5585(0x14a)in _0x19dbc7;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3ab8c3=_0x30ef;function _0x21c3(){const _0x2eea9e=['change:isDirty','locale','3229008QvClGI','918764UOWRPn','39bBZMCe','448244PHokfn','2355230jsXJVQ','commentThreadController','unbind','listenTo','model','20VOMmtG','canAccept','remove','acceptSuggestion','stopListening','15114iBSrnj','getRanges','isEnabled','discardSuggestion','_setPendingAction','44507jbGnIo','PendingActions','_editor','22iVtHxY','destroy','3oCLrim','_removePendingAction','889dAhACC','view','isDirty','commands','get','add','PENDING_ACTION_SUGGESTION','_acceptCommand','bind','plugins','execute','_pendingAction','canEditAt','656BORPQv','50310PBxfer','_discardCommand','canDiscard'];_0x21c3=function(){return _0x2eea9e;};return _0x21c3();}(function(_0x59d56b,_0x137780){const _0x40bbfa=_0x30ef,_0x4382ac=_0x59d56b();while(!![]){try{const _0x4b3f7e=-parseInt(_0x40bbfa(0x72))/0x1*(-parseInt(_0x40bbfa(0x75))/0x2)+parseInt(_0x40bbfa(0x77))/0x3*(-parseInt(_0x40bbfa(0x8f))/0x4)+parseInt(_0x40bbfa(0x90))/0x5+-parseInt(_0x40bbfa(0x6d))/0x6*(parseInt(_0x40bbfa(0x79))/0x7)+-parseInt(_0x40bbfa(0x86))/0x8*(-parseInt(_0x40bbfa(0x87))/0x9)+-parseInt(_0x40bbfa(0x95))/0xa*(-parseInt(_0x40bbfa(0x8d))/0xb)+parseInt(_0x40bbfa(0x8c))/0xc*(-parseInt(_0x40bbfa(0x8e))/0xd);if(_0x4b3f7e===_0x137780)break;else _0x4382ac['push'](_0x4382ac['shift']());}catch(_0x1dba86){_0x4382ac['push'](_0x4382ac['shift']());}}}(_0x21c3,0x54ac9));import{ObservableMixin as _0x343941}from'ckeditor5/src/utils.js';function _0x30ef(_0x547914,_0x53a22a){const _0x21c370=_0x21c3();return _0x30ef=function(_0x30ef67,_0x22c1b8){_0x30ef67=_0x30ef67-0x6c;let _0x3f6563=_0x21c370[_0x30ef67];return _0x3f6563;},_0x30ef(_0x547914,_0x53a22a);}import{getTranslation as _0x4b0e81}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x343941(){[_0x3ab8c3(0x94)];[_0x3ab8c3(0x7a)];[_0x3ab8c3(0x91)];[_0x3ab8c3(0x74)];[_0x3ab8c3(0x80)];[_0x3ab8c3(0x88)];[_0x3ab8c3(0x84)];constructor(_0x5b5450,_0x181066,_0x1a7c94,_0x534872){const _0x7d9f97=_0x3ab8c3;super(),this[_0x7d9f97(0x94)]=_0x181066,this[_0x7d9f97(0x7a)]=_0x1a7c94,this[_0x7d9f97(0x91)]=_0x534872,this[_0x7d9f97(0x74)]=_0x5b5450,this[_0x7d9f97(0x80)]=_0x5b5450[_0x7d9f97(0x7c)][_0x7d9f97(0x7d)](_0x7d9f97(0x98)),this[_0x7d9f97(0x88)]=_0x5b5450[_0x7d9f97(0x7c)][_0x7d9f97(0x7d)](_0x7d9f97(0x70)),this[_0x7d9f97(0x7a)][_0x7d9f97(0x81)](_0x7d9f97(0x6f))['to'](this[_0x7d9f97(0x80)],this[_0x7d9f97(0x88)],(_0x56ad4c,_0xc10472)=>_0x56ad4c||_0xc10472),this[_0x7d9f97(0x7a)][_0x7d9f97(0x81)](_0x7d9f97(0x96))['to'](this[_0x7d9f97(0x80)],_0x7d9f97(0x6f),_0x4dd296=>_0x4dd296&&this[_0x7d9f97(0x74)][_0x7d9f97(0x94)][_0x7d9f97(0x85)](_0x181066[_0x7d9f97(0x6e)]())),this[_0x7d9f97(0x7a)][_0x7d9f97(0x81)](_0x7d9f97(0x89))['to'](this[_0x7d9f97(0x88)],_0x7d9f97(0x6f),_0x112f14=>_0x112f14&&this[_0x7d9f97(0x74)][_0x7d9f97(0x94)][_0x7d9f97(0x85)](_0x181066[_0x7d9f97(0x6e)]())),this[_0x7d9f97(0x84)]=null,_0x1a7c94[_0x7d9f97(0x7b)]&&this[_0x7d9f97(0x71)](),this[_0x7d9f97(0x93)](_0x1a7c94,_0x7d9f97(0x98),()=>this[_0x7d9f97(0x98)]()),this[_0x7d9f97(0x93)](_0x1a7c94,_0x7d9f97(0x70),()=>this[_0x7d9f97(0x70)]()),this[_0x7d9f97(0x93)](_0x1a7c94,_0x7d9f97(0x8a),()=>{const _0x50a8df=_0x7d9f97;_0x1a7c94[_0x50a8df(0x7b)]?this[_0x50a8df(0x71)]():this[_0x50a8df(0x78)]();});}[_0x3ab8c3(0x98)](){const _0x410057=_0x3ab8c3;this[_0x410057(0x80)][_0x410057(0x83)](this[_0x410057(0x94)]['id']);}[_0x3ab8c3(0x70)](){const _0x427415=_0x3ab8c3;this[_0x427415(0x88)][_0x427415(0x83)](this[_0x427415(0x94)]['id']);}[_0x3ab8c3(0x76)](){const _0x2ce4af=_0x3ab8c3;this[_0x2ce4af(0x7a)][_0x2ce4af(0x92)](_0x2ce4af(0x6f)),this[_0x2ce4af(0x7a)][_0x2ce4af(0x92)](_0x2ce4af(0x96)),this[_0x2ce4af(0x7a)][_0x2ce4af(0x92)](_0x2ce4af(0x89)),this[_0x2ce4af(0x6c)](),this[_0x2ce4af(0x91)][_0x2ce4af(0x76)](),this[_0x2ce4af(0x84)]&&this[_0x2ce4af(0x78)]();}[_0x3ab8c3(0x71)](){const _0xd61dfe=_0x3ab8c3,_0x1d5154=_0x4b0e81(this[_0xd61dfe(0x74)][_0xd61dfe(0x8b)],_0xd61dfe(0x7f));this[_0xd61dfe(0x84)]=this[_0xd61dfe(0x74)][_0xd61dfe(0x82)][_0xd61dfe(0x7d)](_0xd61dfe(0x73))[_0xd61dfe(0x7e)](_0x1d5154);}[_0x3ab8c3(0x78)](){const _0x46dada=_0x3ab8c3;null!==this[_0x46dada(0x84)]&&this[_0x46dada(0x74)][_0x46dada(0x82)][_0x46dada(0x7d)](_0x46dada(0x73))[_0x46dada(0x97)](this[_0x46dada(0x84)]),this[_0x46dada(0x84)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3daa6c=_0x2e8d;(function(_0xe98d8d,_0x2f6d0f){const _0x55da0c=_0x2e8d,_0x97ef79=_0xe98d8d();while(!![]){try{const _0x13612b=parseInt(_0x55da0c(0x16a))/0x1*(-parseInt(_0x55da0c(0x19b))/0x2)+parseInt(_0x55da0c(0x1a9))/0x3+-parseInt(_0x55da0c(0x16f))/0x4*(-parseInt(_0x55da0c(0x1af))/0x5)+parseInt(_0x55da0c(0x1ae))/0x6*(parseInt(_0x55da0c(0x1a4))/0x7)+parseInt(_0x55da0c(0x1a5))/0x8*(parseInt(_0x55da0c(0x191))/0x9)+parseInt(_0x55da0c(0x179))/0xa+parseInt(_0x55da0c(0x18b))/0xb*(-parseInt(_0x55da0c(0x1ad))/0xc);if(_0x13612b===_0x2f6d0f)break;else _0x97ef79['push'](_0x97ef79['shift']());}catch(_0x3d36ff){_0x97ef79['push'](_0x97ef79['shift']());}}}(_0x54a3,0x265e3));function _0x54a3(){const _0x1d2e85=['map','canAccept','name','_localUser','text/html','2538130FZhhnA','disableComments','hasDirtyComment','descriptionParts','tab','destroy','commentsListView','submit','CommentView','_createCommentThreadInputView','cancel','addComment','delegate','length','SUGGESTION_THREAD_DESCRIPTION','isEnabled','setData','focus','3135077qKQQoi','element','isReadOnly','focusCycler','fire','removeComment','90THSKxH','target','ariaLabel','canDiscard','shift+tab','updateComment','body','commentThreadInputView','_model','locale','2aPvaLQ','set','commentThread','content','bind','editorConfig','render','editor','keystrokes','1771364TiQJOW','74592cCzNmk','author','_createCommentViews','disabledSubmit','108573zarffV','showInput','isDirty','join','12SMSbJk','6WyDjDc','335NFsTEb','commentInputView','focusables','isActive','_config','SUGGESTION_THREAD_ARIA_LABEL','262541CrQvNO','authoredAt','textContent','focusTracker','formatDateTime','4084eeLeWq','value','parseFromString','assign','ariaDescriptionView'];_0x54a3=function(){return _0x1d2e85;};return _0x54a3();}import{FocusCycler as _0x24f1ec,View as _0x2da05a,ViewCollection as _0x104f06}from'ckeditor5/src/ui.js';import{FocusTracker as _0x21e562,KeystrokeHandler as _0x294e1b}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3d2876,setupThreadKeyboardNavigation as _0x455519}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2e8d(_0x1e0196,_0x25e05f){const _0x54a3f4=_0x54a3();return _0x2e8d=function(_0x2e8d01,_0xadab9e){_0x2e8d01=_0x2e8d01-0x169;let _0x3e90e0=_0x54a3f4[_0x2e8d01];return _0x3e90e0;},_0x2e8d(_0x1e0196,_0x25e05f);}import{getTranslation as _0x508124}from'../../utils/common-translations.js';import{renderDescription as _0x7f3cec}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x2da05a{[_0x3daa6c(0x17f)];[_0x3daa6c(0x198)];[_0x3daa6c(0x173)];[_0x3daa6c(0x1b1)];[_0x3daa6c(0x16d)];[_0x3daa6c(0x1a3)];[_0x3daa6c(0x18e)];[_0x3daa6c(0x199)];[_0x3daa6c(0x177)];[_0x3daa6c(0x1b3)];constructor(_0x1ad14c,_0x7c370c,_0x460f05,_0x55dc8c){const _0x46879a=_0x3daa6c;super(_0x1ad14c),this[_0x46879a(0x17f)]=null,this[_0x46879a(0x198)]=null,this[_0x46879a(0x173)]=new _0x3d2876(_0x1ad14c,_0x508124(_0x1ad14c,_0x46879a(0x187))),this[_0x46879a(0x19c)](_0x46879a(0x1b2),!0x1),this[_0x46879a(0x19c)](_0x46879a(0x16b),_0x7c370c[_0x46879a(0x16b)]),this[_0x46879a(0x19f)](_0x46879a(0x16b))['to'](_0x7c370c),this[_0x46879a(0x19c)](_0x46879a(0x17c),[]),this[_0x46879a(0x19c)](_0x46879a(0x1ab),!0x1),this[_0x46879a(0x19c)](_0x46879a(0x188),!0x1),this[_0x46879a(0x19c)](_0x46879a(0x175),!0x1),this[_0x46879a(0x19c)](_0x46879a(0x194),!0x1),this[_0x46879a(0x19f)](_0x46879a(0x193))['to'](this,_0x46879a(0x186),_0x7c370c,_0x46879a(0x16b),this,_0x46879a(0x17c),(_0x1f6911,_0x441007,_0x407705)=>{const _0x3786da=_0x46879a,_0x32ac13=_0x407705[_0x3786da(0x174)](_0x3b3e1e=>_0x7f3cec(_0x3b3e1e[_0x3786da(0x19e)]))[_0x3786da(0x1ac)]('.\x20')+'.';return _0x508124(this[_0x3786da(0x19a)],_0x3786da(0x169),[_0x1f6911-0x1,_0x7c370c[_0x3786da(0x1a6)][_0x3786da(0x176)],_0x441007?_0x55dc8c[_0x3786da(0x16e)](_0x441007):'',new DOMParser()[_0x3786da(0x171)](_0x32ac13,_0x3786da(0x178))[_0x3786da(0x197)][_0x3786da(0x16c)]]);}),this[_0x46879a(0x1b1)]=new _0x104f06(),this[_0x46879a(0x16d)]=new _0x21e562(),this[_0x46879a(0x1a3)]=new _0x294e1b(),this[_0x46879a(0x18e)]=new _0x24f1ec({'focusables':this[_0x46879a(0x1b1)],'focusTracker':this[_0x46879a(0x16d)],'keystrokeHandler':this[_0x46879a(0x1a3)],'keystrokeHandlerOptions':{'filter':_0x1a452c=>_0x1a452c[_0x46879a(0x192)]!==this[_0x46879a(0x18c)]},'actions':{'focusPrevious':_0x46879a(0x195),'focusNext':_0x46879a(0x17d)}}),this[_0x46879a(0x199)]=_0x7c370c,this[_0x46879a(0x177)]=_0x460f05,this[_0x46879a(0x1b3)]=_0x55dc8c,_0x55dc8c[_0x46879a(0x17a)]?this[_0x46879a(0x19c)](_0x46879a(0x186),0x1):this[_0x46879a(0x1a7)]();}[_0x3daa6c(0x1a1)](){const _0x48c667=_0x3daa6c;super[_0x48c667(0x1a1)](),_0x455519(this,this[_0x48c667(0x1b1)]);}[_0x3daa6c(0x18a)](){const _0x4ccf1e=_0x3daa6c;this[_0x4ccf1e(0x18c)][_0x4ccf1e(0x18a)]();}[_0x3daa6c(0x17e)](){const _0x26d65a=_0x3daa6c;this[_0x26d65a(0x17f)]&&this[_0x26d65a(0x17f)][_0x26d65a(0x17e)](),this[_0x26d65a(0x198)]&&this[_0x26d65a(0x198)][_0x26d65a(0x17e)](),super[_0x26d65a(0x17e)]();}[_0x3daa6c(0x1a7)](){const _0x4db5bf=_0x3daa6c,{CommentsListView:_0x53d288}=this[_0x4db5bf(0x1b3)];this[_0x4db5bf(0x17f)]=new _0x53d288(this[_0x4db5bf(0x19a)],this[_0x4db5bf(0x199)][_0x4db5bf(0x19d)],Object[_0x4db5bf(0x172)]({'CommentView':this[_0x4db5bf(0x1b3)][_0x4db5bf(0x181)]},this[_0x4db5bf(0x1b3)])),this[_0x4db5bf(0x17f)][_0x4db5bf(0x185)](_0x4db5bf(0x190))['to'](this),this[_0x4db5bf(0x17f)][_0x4db5bf(0x185)](_0x4db5bf(0x196))['to'](this),this[_0x4db5bf(0x17f)][_0x4db5bf(0x19f)](_0x4db5bf(0x1b2))['to'](this),this[_0x4db5bf(0x19c)](_0x4db5bf(0x186),this[_0x4db5bf(0x17f)][_0x4db5bf(0x186)]+0x1),this[_0x4db5bf(0x19f)](_0x4db5bf(0x186))['to'](this[_0x4db5bf(0x17f)],_0x4db5bf(0x186),_0xea9f1f=>_0xea9f1f+0x1),this[_0x4db5bf(0x198)]=this[_0x4db5bf(0x182)](),this['on'](_0x4db5bf(0x190),()=>this[_0x4db5bf(0x18a)]()),this[_0x4db5bf(0x19f)](_0x4db5bf(0x1ab))['to'](this[_0x4db5bf(0x17f)],_0x4db5bf(0x17b),this[_0x4db5bf(0x198)][_0x4db5bf(0x1b0)],_0x4db5bf(0x170),(_0x1914ee,_0x5d00cb)=>_0x1914ee||!!_0x5d00cb);}[_0x3daa6c(0x182)](){const _0x2ab46a=_0x3daa6c,{CommentThreadInputView:_0x3186eb}=this[_0x2ab46a(0x1b3)],_0x413881=new _0x3186eb(this[_0x2ab46a(0x19a)],this[_0x2ab46a(0x177)],this[_0x2ab46a(0x1b3)][_0x2ab46a(0x1a0)]),_0x37386f=_0x413881[_0x2ab46a(0x1b0)];return _0x413881[_0x2ab46a(0x19f)](_0x2ab46a(0x1aa))['to'](this,_0x2ab46a(0x1b2),this[_0x2ab46a(0x199)][_0x2ab46a(0x19d)],_0x2ab46a(0x18d),_0x37386f,_0x2ab46a(0x170),(_0x20425f,_0x3b7b72,_0x2b62c7)=>!!_0x2b62c7||_0x20425f&&!_0x3b7b72),_0x37386f['on'](_0x2ab46a(0x180),(_0x5d090f,_0x2ef757)=>{const _0x156623=_0x2ab46a;this[_0x156623(0x18f)](_0x156623(0x184),_0x2ef757),_0x37386f[_0x156623(0x1a2)][_0x156623(0x189)]('');}),_0x37386f['on'](_0x2ab46a(0x183),()=>this[_0x2ab46a(0x18a)]()),_0x37386f[_0x2ab46a(0x19f)](_0x2ab46a(0x1a8))['to'](this[_0x2ab46a(0x199)][_0x2ab46a(0x19d)],_0x2ab46a(0x18d)),_0x413881;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe9b63e=_0x5c14;(function(_0x3043f4,_0x253204){const _0x18ad30=_0x5c14,_0x4aedee=_0x3043f4();while(!![]){try{const _0x5aa63b=parseInt(_0x18ad30(0x19c))/0x1+parseInt(_0x18ad30(0x1ab))/0x2+parseInt(_0x18ad30(0x183))/0x3+parseInt(_0x18ad30(0x17f))/0x4+parseInt(_0x18ad30(0x18f))/0x5*(-parseInt(_0x18ad30(0x1ae))/0x6)+-parseInt(_0x18ad30(0x180))/0x7+-parseInt(_0x18ad30(0x195))/0x8;if(_0x5aa63b===_0x253204)break;else _0x4aedee['push'](_0x4aedee['shift']());}catch(_0x48a994){_0x4aedee['push'](_0x4aedee['shift']());}}}(_0x373f,0x4b8cc));function _0x373f(){const _0xa28de6=['831614CICpTb','descriptionParts','color','541005RKMjpy','commentThread','delegate','div','getTemplate','_descriptionElement','acceptButton','setTemplate','render','canDiscard','description','discardSuggestion','55tthIZI','focusables','_config','add','</p>','ck-suggestion-wrapper','4811488dyYYNu','bindTemplate','formatDateTime','ck-rounded-corners','discardButton','_model','author','593559AxGOeR','ariaLabel','ariaDescriptionView','editorDestroyed','bind','disableComments','type','isActive','commentThreadInputView','<p>','ck-suggestion--disabled-comments','suggestionView','set','acceptSuggestion','ck-suggestion-wrapper--active','930766ionKcC','editorReady','content','267684NPffZN','isEnabled','commentsListView','listitem','canAccept','SuggestionView','ck-suggestion-','push','1124668kNknKJ'];_0x373f=function(){return _0xa28de6;};return _0x373f();}function _0x5c14(_0x3abef9,_0x3bdc1c){const _0x373f4d=_0x373f();return _0x5c14=function(_0x5c143c,_0x5542f2){_0x5c143c=_0x5c143c-0x17d;let _0x18fd06=_0x373f4d[_0x5c143c];return _0x18fd06;},_0x5c14(_0x3abef9,_0x3bdc1c);}import{BaseSuggestionThreadView as _0x12b85a}from'./basesuggestionthreadview.js';import{trimHtml as _0xab8b8}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x4db2f7}from'../../utils/utils.js';export class SuggestionThreadView extends _0x12b85a{[_0xe9b63e(0x1a7)];[_0xe9b63e(0x188)];constructor(_0x3cf2b3,_0x5cfe76,_0x290909,_0x496e5b){const _0x4c7fa6=_0xe9b63e;super(_0x3cf2b3,_0x5cfe76,_0x290909,_0x496e5b),this[_0x4c7fa6(0x1a8)](_0x4c7fa6(0x1a2),''),this[_0x4c7fa6(0x1a0)](_0x4c7fa6(0x1a2))['to'](this,_0x4c7fa6(0x181),_0x1ddf2f=>_0x1ddf2f&&_0x1ddf2f[0x0]?_0x1ddf2f[0x0][_0x4c7fa6(0x1a2)]:''),this[_0x4c7fa6(0x1a0)](_0x4c7fa6(0x18d))['to'](this,_0x4c7fa6(0x181),this,_0x4c7fa6(0x1a3),(_0x51695f,_0x114d1a)=>{const _0x5727d7=_0x4c7fa6;let _0x2cf69='';for(const _0x41b96b of _0x51695f)_0x2cf69+=_0x5727d7(0x1a5)+_0x4db2f7(_0x41b96b[_0x5727d7(0x1ad)],_0x41b96b[_0x5727d7(0x182)])+_0x5727d7(0x193);return _0x114d1a?_0x2cf69:_0xab8b8(_0x2cf69,{'limit':0x8c});}),this[_0x4c7fa6(0x188)]=null,this[_0x4c7fa6(0x1a7)]=new _0x496e5b[(_0x4c7fa6(0x1b3))](_0x3cf2b3,_0x5cfe76,{'formatDateTime':_0x496e5b[_0x4c7fa6(0x197)]}),this[_0x4c7fa6(0x1a7)][_0x4c7fa6(0x1a0)](_0x4c7fa6(0x18d))['to'](this),this[_0x4c7fa6(0x1a7)][_0x4c7fa6(0x185)](_0x4c7fa6(0x1a9),_0x4c7fa6(0x18e))['to'](this),this[_0x4c7fa6(0x1a7)][_0x4c7fa6(0x189)][_0x4c7fa6(0x1a0)](_0x4c7fa6(0x1af))['to'](this,_0x4c7fa6(0x1b2)),this[_0x4c7fa6(0x1a7)][_0x4c7fa6(0x199)][_0x4c7fa6(0x1a0)](_0x4c7fa6(0x1af))['to'](this,_0x4c7fa6(0x18c)),this[_0x4c7fa6(0x190)][_0x4c7fa6(0x192)](this[_0x4c7fa6(0x1a7)]),this[_0x4c7fa6(0x1b0)]&&this[_0x4c7fa6(0x190)][_0x4c7fa6(0x192)](this[_0x4c7fa6(0x1b0)]),this[_0x4c7fa6(0x1a4)]&&this[_0x4c7fa6(0x190)][_0x4c7fa6(0x192)](this[_0x4c7fa6(0x1a4)]),this[_0x4c7fa6(0x18a)](this[_0x4c7fa6(0x187)]());}[_0xe9b63e(0x187)](){const _0x225737=_0xe9b63e,_0x595e95=this[_0x225737(0x196)],_0x5eda72=[this[_0x225737(0x1a7)]];return this[_0x225737(0x1b0)]&&_0x5eda72[_0x225737(0x17e)](this[_0x225737(0x1b0)]),this[_0x225737(0x1a4)]&&_0x5eda72[_0x225737(0x17e)](this[_0x225737(0x1a4)]),_0x5eda72[_0x225737(0x17e)](this[_0x225737(0x19e)]),{'tag':_0x225737(0x186),'attributes':{'class':['ck',_0x225737(0x198),_0x225737(0x194),_0x595e95['if'](_0x225737(0x1a3),_0x225737(0x1aa)),_0x595e95['to'](_0x225737(0x1a2),_0x4c4941=>_0x225737(0x17d)+_0x4c4941),this[_0x225737(0x191)][_0x225737(0x1a1)]&&_0x225737(0x1a6)],'data-suggestion-id':this[_0x225737(0x19a)]['id'],'data-thread-id':this[_0x225737(0x19a)][_0x225737(0x184)]['id'],'data-author-id':this[_0x225737(0x19a)][_0x225737(0x19b)]['id'],'tabindex':0x0,'role':_0x225737(0x1b1),'aria-label':_0x595e95['to'](_0x225737(0x19d)),'aria-describedby':this[_0x225737(0x19e)]['id']},'children':_0x5eda72};}[_0xe9b63e(0x18b)](){const _0x229807=_0xe9b63e;super[_0x229807(0x18b)](),this[_0x229807(0x1b0)]&&(this[_0x229807(0x1b0)][_0x229807(0x185)](_0x229807(0x1ac))['to'](this),this[_0x229807(0x1b0)][_0x229807(0x185)](_0x229807(0x19f))['to'](this)),this[_0x229807(0x1a4)]&&(this[_0x229807(0x1a4)][_0x229807(0x185)](_0x229807(0x1ac))['to'](this),this[_0x229807(0x1a4)][_0x229807(0x185)](_0x229807(0x19f))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51bc70=_0x342e;(function(_0x52b1ed,_0x2e8957){const _0x2aad37=_0x342e,_0x357bef=_0x52b1ed();while(!![]){try{const _0x49d19c=-parseInt(_0x2aad37(0xf8))/0x1*(parseInt(_0x2aad37(0x108))/0x2)+parseInt(_0x2aad37(0xff))/0x3+-parseInt(_0x2aad37(0xf9))/0x4+-parseInt(_0x2aad37(0x124))/0x5*(parseInt(_0x2aad37(0x122))/0x6)+-parseInt(_0x2aad37(0x11a))/0x7+parseInt(_0x2aad37(0xf4))/0x8*(-parseInt(_0x2aad37(0xfd))/0x9)+parseInt(_0x2aad37(0x128))/0xa*(parseInt(_0x2aad37(0x106))/0xb);if(_0x49d19c===_0x2e8957)break;else _0x357bef['push'](_0x357bef['shift']());}catch(_0x1158a9){_0x357bef['push'](_0x357bef['shift']());}}}(_0x3a5c,0x95c8f));function _0x3a5c(){const _0x2beb28=['ck-annotation__info-time','focusTracker','EXTERNAL_IMPORT_WORD_SUGGESTION','getExternalSuggestionNote','EXTERNAL_IMPORT_WORD_AVATAR','add','target','discardSuggestion','discardButton','focusables','creator','userView','source','fire','.ck-annotation__content-wrapper','ck-comment__external','authoredAt','ck-comment__info-time','acceptButton','ck-annotation__actions','getTemplate','setTemplate','listenTo','attributes','bindTemplate','keystrokes','focusFirst','set','enter','ck-annotation','execute','_setupKeyboardNavigation','description','_createButton','esc','time','9017584WXYDbj','innerHTML','ck-annotation__user','acceptSuggestion','2983vAFViO','2914068bwywPx','element','shift+tab','ck-suggestion__actions','9oZcTTl','@external','733425MLfEgw','tab','ck-suggestion__info','extendTemplate','bind','_model','ck-annotation__info','102520hCkjwM','push','8wmXcWW','_config','locale','focus','EXTERNAL_SUGGESTION','ck-annotation__content-wrapper','EXTERNAL_AVATAR','querySelector','render','ck-suggestion__main','change:description','author','formatDateTime','focusCycler','ck-suggestion--discard','presentation','getUserViewNotificationText','ck-annotation__info-name','882917siPwNi','span','isExternal','ck-suggestion__info-name','div','ck-suggestion--accept','importWord','ck-annotation__main','12tnqBaj','name','477145VXbqUV','ck-suggestion','ck-suggestion__user','Discard\x20suggestion','2740NyolEI','Accept\x20suggestion'];_0x3a5c=function(){return _0x2beb28;};return _0x3a5c();}function _0x342e(_0x3c6c59,_0x6323d5){const _0x3a5ccd=_0x3a5c();return _0x342e=function(_0x342edb,_0x4c7a6f){_0x342edb=_0x342edb-0xec;let _0x12a894=_0x3a5ccd[_0x342edb];return _0x12a894;},_0x342e(_0x3c6c59,_0x6323d5);}import{FocusTracker as _0x19a5a3,KeystrokeHandler as _0x1fda4d}from'ckeditor5/src/utils.js';import{View as _0x5b9337,ViewCollection as _0x4f457b,FocusCycler as _0x4d7bb7}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xd0b3e6,UserView as _0x538df3}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x5b2d16,IconCheck as _0x512722}from'ckeditor5/src/icons.js';import{getTranslation as _0x3b8e0f}from'../../utils/common-translations.js';export class SuggestionView extends _0x5b9337{[_0x51bc70(0x135)];[_0x51bc70(0x13c)];[_0x51bc70(0x132)];[_0x51bc70(0x133)];[_0x51bc70(0x12b)];[_0x51bc70(0x143)];[_0x51bc70(0x115)];[_0x51bc70(0x104)];[_0x51bc70(0x109)];constructor(_0x29e119,_0x34014b,_0x2120ef){const _0x37bc89=_0x51bc70;super(_0x29e119),this[_0x37bc89(0x104)]=_0x34014b,this[_0x37bc89(0x109)]=_0x2120ef,this[_0x37bc89(0x145)](_0x37bc89(0xf0),''),this[_0x37bc89(0x103)](_0x37bc89(0x13a))['to'](_0x34014b),this[_0x37bc89(0x13c)]=this[_0x37bc89(0xf1)](_0x3b8e0f(_0x29e119,_0x37bc89(0x129)),_0x512722,_0x37bc89(0x11f),_0x37bc89(0xf7),'sw'),this[_0x37bc89(0x132)]=this[_0x37bc89(0xf1)](_0x3b8e0f(_0x29e119,_0x37bc89(0x127)),_0x5b2d16,_0x37bc89(0x116),_0x37bc89(0x131),'sw'),this[_0x37bc89(0x135)]=new _0x538df3(_0x29e119,_0x34014b[_0x37bc89(0x113)],this[_0x37bc89(0x118)]()),this[_0x37bc89(0x135)][_0x37bc89(0x102)]({'attributes':{'class':[_0x37bc89(0x126),_0x37bc89(0xf6)],'aria-hidden':!0x0}}),this[_0x37bc89(0x133)]=new _0x4f457b([this[_0x37bc89(0x13c)],this[_0x37bc89(0x132)]]),this[_0x37bc89(0x12b)]=new _0x19a5a3(),this[_0x37bc89(0x143)]=new _0x1fda4d(),this[_0x37bc89(0x115)]=new _0x4d7bb7({'focusables':this[_0x37bc89(0x133)],'focusTracker':this[_0x37bc89(0x12b)],'keystrokeHandler':this[_0x37bc89(0x143)],'actions':{'focusPrevious':_0x37bc89(0xfb),'focusNext':_0x37bc89(0x100)},'keystrokeHandlerOptions':{'filter':_0x2de82a=>_0x2de82a[_0x37bc89(0x130)]!==this[_0x37bc89(0xfa)]}}),this[_0x37bc89(0x13f)](this[_0x37bc89(0x13e)]());}[_0x51bc70(0x110)](){const _0x2b37ef=_0x51bc70;super[_0x2b37ef(0x110)]();const _0x26a7b1=this[_0x2b37ef(0xfa)][_0x2b37ef(0x10f)](_0x2b37ef(0x138));_0x26a7b1[_0x2b37ef(0xf5)]=this[_0x2b37ef(0xf0)],this['on'](_0x2b37ef(0x112),(_0x28493d,_0x38faa8,_0x3beb59)=>{const _0x38a9d9=_0x2b37ef;_0x26a7b1[_0x38a9d9(0xf5)]=_0x3beb59;}),this[_0x2b37ef(0xef)]();}[_0x51bc70(0x13e)](){const _0x6ef4c0=_0x51bc70,_0x22316d=this[_0x6ef4c0(0x142)],_0x215611=[{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x101),_0x6ef4c0(0x105)]},'children':[{'tag':_0x6ef4c0(0x11b),'children':[{'text':this[_0x6ef4c0(0x135)][_0x6ef4c0(0x123)]}],'attributes':{'class':[_0x6ef4c0(0x11d),_0x6ef4c0(0x119)],'data-cke-tooltip-text':this[_0x6ef4c0(0x135)][_0x6ef4c0(0x123)]}},{'tag':_0x6ef4c0(0xf3),'attributes':{'datetime':_0x22316d['to'](_0x6ef4c0(0x13a)),'class':[_0x6ef4c0(0x13b),_0x6ef4c0(0x12a)]},'children':[{'text':_0x22316d['to'](_0x6ef4c0(0x13a),_0x3cd7d4=>this[_0x6ef4c0(0x109)][_0x6ef4c0(0x114)](_0x3cd7d4))}]}]},{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0xfc),_0x6ef4c0(0x13d)]},'children':[this[_0x6ef4c0(0x13c)],this[_0x6ef4c0(0x132)]]},{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x10d)]}}];return this[_0x6ef4c0(0x104)][_0x6ef4c0(0x11c)]&&_0x215611[_0x6ef4c0(0x107)]({'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x139)]},'children':[{'text':this[_0x6ef4c0(0x12d)]()}]}),{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x125),_0x6ef4c0(0xed)],'tabindex':-0x1},'children':[this[_0x6ef4c0(0x135)],{'tag':_0x6ef4c0(0x11e),'attributes':{'class':[_0x6ef4c0(0x111),_0x6ef4c0(0x121)],'role':_0x6ef4c0(0x117)},'children':_0x215611}]};}[_0x51bc70(0x10b)](){const _0x141795=_0x51bc70;this[_0x141795(0xfa)][_0x141795(0x10b)]();}[_0x51bc70(0x118)](){const _0x33c8c9=_0x51bc70;return this[_0x33c8c9(0x104)][_0x33c8c9(0x11c)]?_0x33c8c9(0x120)===this[_0x33c8c9(0x104)][_0x33c8c9(0x141)][_0x33c8c9(0xfe)][_0x33c8c9(0x136)]?_0x3b8e0f(this[_0x33c8c9(0x10a)],_0x33c8c9(0x12e),this[_0x33c8c9(0x104)][_0x33c8c9(0x134)][_0x33c8c9(0x123)]):_0x3b8e0f(this[_0x33c8c9(0x10a)],_0x33c8c9(0x10e),this[_0x33c8c9(0x104)][_0x33c8c9(0x134)][_0x33c8c9(0x123)]):null;}[_0x51bc70(0x12d)](){const _0x317f4a=_0x51bc70;return _0x317f4a(0x120)===this[_0x317f4a(0x104)][_0x317f4a(0x141)][_0x317f4a(0xfe)][_0x317f4a(0x136)]?_0x3b8e0f(this[_0x317f4a(0x10a)],_0x317f4a(0x12c)):_0x3b8e0f(this[_0x317f4a(0x10a)],_0x317f4a(0x10c));}[_0x51bc70(0xf1)](_0x496ebf,_0x55ba55,_0x730f32,_0x3ffe33,_0xba5275){const _0x5a1fe3=_0x51bc70,_0x2abffa=new _0xd0b3e6(this[_0x5a1fe3(0x10a)]);return _0x2abffa[_0x5a1fe3(0x145)]({'label':_0x496ebf,'icon':_0x55ba55,'tooltip':!0x0,'tooltipPosition':_0xba5275}),_0x2abffa[_0x5a1fe3(0x102)]({'attributes':{'class':_0x730f32}}),_0x2abffa['on'](_0x5a1fe3(0xee),()=>{const _0x44150b=_0x5a1fe3;this[_0x44150b(0x137)](_0x3ffe33,this[_0x44150b(0x104)]['id']);}),_0x2abffa;}[_0x51bc70(0xef)](){const _0x41c8b4=_0x51bc70,_0x2c6eb8=this[_0x41c8b4(0xfa)];this[_0x41c8b4(0x143)][_0x41c8b4(0x140)](_0x2c6eb8);for(const _0xae303e of this[_0x41c8b4(0x133)])this[_0x41c8b4(0x12b)][_0x41c8b4(0x12f)](_0xae303e[_0x41c8b4(0xfa)]),this[_0x41c8b4(0x143)][_0x41c8b4(0x140)](_0xae303e[_0x41c8b4(0xfa)]);this[_0x41c8b4(0x143)][_0x41c8b4(0x145)](_0x41c8b4(0xec),(_0x55ac5b,_0x3b3f28)=>{const _0x33876e=_0x41c8b4;_0x2c6eb8===_0x55ac5b[_0x33876e(0x130)]&&(this[_0x33876e(0x115)][_0x33876e(0x144)](),_0x3b3f28());}),this[_0x41c8b4(0x143)][_0x41c8b4(0x145)](_0x41c8b4(0xf2),(_0xda2aaa,_0x3ac17c)=>{const _0x32d134=_0x41c8b4;_0x2c6eb8!==_0xda2aaa[_0x32d134(0x130)]&&(this[_0x32d134(0x10b)](),_0x3ac17c());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x82ca(_0x4224d5,_0x24e0c1){const _0x1129c7=_0x1129();return _0x82ca=function(_0x82ca22,_0x92bb30){_0x82ca22=_0x82ca22-0x196;let _0x363ae9=_0x1129c7[_0x82ca22];return _0x363ae9;},_0x82ca(_0x4224d5,_0x24e0c1);}const _0x491269=_0x82ca;function _0x1129(){const _0x4fffa2=['dialogRects','previewDataReady','options','18TsYIgD','content','push','className','33ySBBXl','setTemplate','255562ebSxgv','9512kBbjPc','data-ck-root-name','createElement','4333CwaYmg','setPreviewData','\x20ck-track-changes-preview__root-container','div','classes','3895596NnnPWH','render','366820pkqdSU','1964770ZWFikR','element','ck-reset','ck-track-changes-preview','width','fire','innerHTML','style','height','setAttribute','11680974dlpBZF','focus','584775GRKoPG'];_0x1129=function(){return _0x4fffa2;};return _0x1129();}(function(_0x1f31ab,_0x6bd9af){const _0x389488=_0x82ca,_0x58abda=_0x1f31ab();while(!![]){try{const _0x4aaa96=parseInt(_0x389488(0x198))/0x1+parseInt(_0x389488(0x1a2))/0x2*(-parseInt(_0x389488(0x1a0))/0x3)+parseInt(_0x389488(0x1ab))/0x4+-parseInt(_0x389488(0x1ad))/0x5*(-parseInt(_0x389488(0x19c))/0x6)+parseInt(_0x389488(0x1a6))/0x7*(-parseInt(_0x389488(0x1a3))/0x8)+parseInt(_0x389488(0x196))/0x9+-parseInt(_0x389488(0x1ae))/0xa;if(_0x4aaa96===_0x6bd9af)break;else _0x58abda['push'](_0x58abda['shift']());}catch(_0x54e97f){_0x58abda['push'](_0x58abda['shift']());}}}(_0x1129,0xb4521));import{View as _0x337359}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x337359{[_0x491269(0x19b)];constructor(_0x2f8d09,_0x4d5642){const _0x5c5f1a=_0x491269;super(_0x2f8d09),this[_0x5c5f1a(0x19b)]=_0x4d5642,this[_0x5c5f1a(0x1a1)]({'tag':_0x5c5f1a(0x1a9),'attributes':{'class':['ck',_0x5c5f1a(0x1b0),_0x5c5f1a(0x1b1)],'tabindex':-0x1}});}[_0x491269(0x1ac)](){const _0x441e51=_0x491269;super[_0x441e51(0x1ac)](),this[_0x441e51(0x1af)][_0x441e51(0x1b5)][_0x441e51(0x1b2)]=this[_0x441e51(0x19b)][_0x441e51(0x199)][_0x441e51(0x1b2)]+'px',this[_0x441e51(0x1af)][_0x441e51(0x1b5)][_0x441e51(0x1b6)]=this[_0x441e51(0x19b)][_0x441e51(0x199)][_0x441e51(0x1b6)]+'px';}[_0x491269(0x1a7)](_0xb0448c,_0x5d0498){const _0x10f5c7=_0x491269;if(!this[_0x10f5c7(0x1af)])return;const _0x421ed9=[];for(const [_0x31224d,_0x23ee0f]of _0xb0448c){const _0x1af948=document[_0x10f5c7(0x1a5)](_0x10f5c7(0x1a9));_0x1af948[_0x10f5c7(0x1b7)](_0x10f5c7(0x1a4),_0x31224d),_0x1af948[_0x10f5c7(0x19f)]=_0x23ee0f[_0x10f5c7(0x1aa)]+_0x10f5c7(0x1a8),_0x1af948[_0x10f5c7(0x1b4)]=_0x23ee0f[_0x10f5c7(0x19d)],_0x421ed9[_0x10f5c7(0x19e)](_0x1af948);}_0x5d0498(this[_0x10f5c7(0x1af)],_0x421ed9),this[_0x10f5c7(0x1af)][_0x10f5c7(0x1b5)][_0x10f5c7(0x1b6)]='',this[_0x10f5c7(0x1b3)](_0x10f5c7(0x19a));}[_0x491269(0x197)](){const _0x116a85=_0x491269;this[_0x116a85(0x1af)][_0x116a85(0x197)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3e813f,_0x432286,_0x46b9ce){const _0x29c0b7=_0x3e813f['t'],t=_0x3e813f['t'];switch(_0x432286){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',_0x46b9ce);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x46b9ce);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x46b9ce);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x46b9ce);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x46b9ce);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',_0x46b9ce);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x46b9ce);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',_0x46b9ce);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x46b9ce);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x46b9ce);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x46b9ce);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x46b9ce);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x46b9ce);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x46b9ce);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x46b9ce);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x46b9ce);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x46b9ce);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x46b9ce);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x46b9ce);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x46b9ce);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x46b9ce);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x46b9ce);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x46b9ce);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x46b9ce);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x46b9ce);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x46b9ce);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x46b9ce);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x46b9ce);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x46b9ce);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x46b9ce);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x46b9ce);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x46b9ce);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x46b9ce);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x46b9ce);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'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x46b9ce);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x46b9ce);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 _0x29c0b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x46b9ce);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x29c0b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x46b9ce);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x46b9ce);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'},_0x46b9ce);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'},_0x46b9ce);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'},_0x46b9ce);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x432286;}}
|
|
23
|
+
export function getTranslation(_0x38b429,_0x262aee,_0x48743a){const _0x4011b7=_0x38b429['t'],t=_0x38b429['t'];switch(_0x262aee){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x48743a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x48743a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x48743a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x48743a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x48743a);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x48743a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x48743a);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x48743a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x48743a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x48743a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x48743a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x48743a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x48743a);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x48743a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x48743a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x48743a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x48743a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x48743a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x48743a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x48743a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x48743a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x48743a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x48743a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x48743a);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x48743a);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x48743a);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x48743a);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x48743a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x48743a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x48743a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x48743a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x48743a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x48743a);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x48743a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x48743a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x48743a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x48743a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x48743a);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x48743a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x48743a);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x48743a);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x48743a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x48743a);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x48743a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x48743a);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x48743a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x48743a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x48743a);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x48743a);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x48743a);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x4011b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x48743a);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4011b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x48743a);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x48743a);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x48743a);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x48743a);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x48743a);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x262aee;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x505e(_0x45ae4d,_0xebb37d){const _0x32672f=_0x3267();return _0x505e=function(_0x505ec6,_0x35184d){_0x505ec6=_0x505ec6-0x1d3;let _0x31189d=_0x32672f[_0x505ec6];return _0x31189d;},_0x505e(_0x45ae4d,_0xebb37d);}(function(_0x36971f,_0x4e96f8){const _0x30d06a=_0x505e,_0x16def4=_0x36971f();while(!![]){try{const _0x33a65d=-parseInt(_0x30d06a(0x1eb))/0x1*(-parseInt(_0x30d06a(0x1e4))/0x2)+parseInt(_0x30d06a(0x1dc))/0x3*(parseInt(_0x30d06a(0x1e1))/0x4)+parseInt(_0x30d06a(0x207))/0x5*(-parseInt(_0x30d06a(0x1e5))/0x6)+parseInt(_0x30d06a(0x1fe))/0x7+parseInt(_0x30d06a(0x1fc))/0x8*(parseInt(_0x30d06a(0x203))/0x9)+parseInt(_0x30d06a(0x1ec))/0xa*(-parseInt(_0x30d06a(0x1fa))/0xb)+-parseInt(_0x30d06a(0x1df))/0xc;if(_0x33a65d===_0x4e96f8)break;else _0x16def4['push'](_0x16def4['shift']());}catch(_0x1c9e46){_0x16def4['push'](_0x16def4['shift']());}}}(_0x3267,0xd674b));export function normalizeDescription(_0x8bf9d7){const _0x44b836=_0x505e;return Array[_0x44b836(0x1db)](_0x8bf9d7)||(_0x8bf9d7=[_0x8bf9d7]),_0x8bf9d7[_0x44b836(0x1ee)](_0x1d67ed=>{const _0x77ace6=_0x44b836,_0x2b7d80=_0x1d67ed[_0x77ace6(0x1f9)][_0x77ace6(0x1ea)](/\*/g,''),_0x4f8737=_0x1d67ed[_0x77ace6(0x1f1)]?_0x77ace6(0x1ed)+_0x1d67ed[_0x77ace6(0x1f1)][_0x77ace6(0x20b)]+']':'';return'['+_0x1d67ed[_0x77ace6(0x1f7)]+']\x20'+_0x2b7d80+_0x4f8737;})[_0x44b836(0x1e9)](';\x20');}function _0x3267(){const _0x123583=['innerHTML','isMultiRange','createPositionAfter','next','schema','isInContent','isArray','53922HaNMCN','\x22\x20title=\x22','isCollapsed','12598776JpEbfH','push','12QmxQHD','execute','<span\x20class=\x22ck-suggestion-type\x22>','2419790ikGvqn','4225158lwDqoZ','isIntersecting','\x22></span>','createRange','join','replace','1pmuzak','10gZcqDe','\x20[color\x20','map','title','createElement','color','createPositionAt','isTouching','sort','splice','attribute','type','</span>','content','8894908YDCLIr','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','10572728xnSlmt','isObject','5990054sQOsHY','deletion','add','innerText','start','9mqvxuv','split','from','createPositionBefore','5DcbqTi','length','span','end','value','getRanges','change'];_0x3267=function(){return _0x123583;};return _0x3267();}export function renderDescription(_0x44325b,_0x21bc38){const _0x5eb147=_0x505e;let _0x3eadb4='';return _0x3eadb4+=_0x44325b[_0x5eb147(0x204)]('*')[_0x5eb147(0x1ee)]((_0x3caf50,_0x3e3639)=>_0x3e3639%0x2!=0x0?_0x5eb147(0x1e3)+tn(_0x3caf50)+_0x5eb147(0x1f8):tn(_0x3caf50))[_0x5eb147(0x1e9)](''),_0x21bc38&&(_0x3eadb4+=_0x5eb147(0x1fb)+_0x21bc38[_0x5eb147(0x20b)]+_0x5eb147(0x1dd)+_0x21bc38[_0x5eb147(0x1ef)]+_0x5eb147(0x1e7)),_0x3eadb4;}function tn(_0x25050c){const _0x2ca491=_0x505e,_0x3c0a85=document[_0x2ca491(0x1f0)](_0x2ca491(0x209));return _0x3c0a85[_0x2ca491(0x201)]=_0x25050c,_0x3c0a85[_0x2ca491(0x1d5)];}export function sortSuggestions(_0x5d21c5){const _0x41148f=_0x505e;return _0x5d21c5[_0x41148f(0x1f4)]((_0x2e0fd6,_0x5d9f55)=>_0x41148f(0x1f6)===_0x2e0fd6[_0x41148f(0x1f7)]&&_0x41148f(0x1f6)!==_0x5d9f55[_0x41148f(0x1f7)]?-0x1:_0x41148f(0x1f6)!==_0x2e0fd6[_0x41148f(0x1f7)]&&_0x41148f(0x1f6)===_0x5d9f55[_0x41148f(0x1f7)]?0x1:_0x41148f(0x1ff)==_0x2e0fd6[_0x41148f(0x1f7)]&&_0x41148f(0x1ff)!=_0x5d9f55[_0x41148f(0x1f7)]?-0x1:_0x41148f(0x1ff)!=_0x2e0fd6[_0x41148f(0x1f7)]&&_0x41148f(0x1ff)==_0x5d9f55[_0x41148f(0x1f7)]?0x1:0x0);}export function getSelectedSuggestions(_0x22f612,_0x1fbda0){const _0x109c9e=_0x505e,_0x35afde=Array[_0x109c9e(0x205)](_0x22f612[_0x109c9e(0x1d3)]()),_0x41ac46=new Set();for(const _0x40ee29 of _0x1fbda0)if(_0x40ee29[_0x109c9e(0x1da)]){for(const _0x380475 of _0x35afde)for(const _0x4d455b of _0x40ee29[_0x109c9e(0x1d3)]())(_0x380475[_0x109c9e(0x1e6)](_0x4d455b)||_0x22f612[_0x109c9e(0x1de)]&&!_0x40ee29[_0x109c9e(0x1d6)]&&_0x40ee29[_0x109c9e(0x1d8)]&&_0x4d455b[_0x109c9e(0x20a)][_0x109c9e(0x1f3)](_0x380475[_0x109c9e(0x202)]))&&_0x41ac46[_0x109c9e(0x200)](_0x40ee29);}return _0x41ac46;}export function getRangesOfBlockGroups(_0x20845d,_0xcc06da){const _0x565437=_0x505e;let _0x54fbf7,_0x3a25be=0x0;const _0x1da454=[],_0x22e6a7=_0xcc06da[_0x565437(0x1d9)];for(;_0x3a25be<_0x20845d[_0x565437(0x208)];){const _0x5ac9b1=_0x20845d[_0x3a25be],_0x313cde=_0x20845d[_0x3a25be+0x1];_0x54fbf7||(_0x54fbf7=_0xcc06da[_0x565437(0x206)](_0x5ac9b1)),nn(_0xcc06da,_0x5ac9b1,_0x313cde)||(_0x1da454[_0x565437(0x1e0)](_0xcc06da[_0x565437(0x1e8)](_0x54fbf7,_0x22e6a7[_0x565437(0x1fd)](_0x5ac9b1)?_0xcc06da[_0x565437(0x1d7)](_0x5ac9b1):_0xcc06da[_0x565437(0x1f2)](_0x5ac9b1,_0x565437(0x20a)))),_0x54fbf7=null),_0x3a25be++;}return _0x1da454;}function nn(_0x40f490,_0x2c6595,_0x51daf9){const _0x50a26a=_0x505e;if(!_0x51daf9)return!0x1;const _0x5e2c73=_0x40f490[_0x50a26a(0x1d7)](_0x2c6595),_0x520c66=_0x40f490[_0x50a26a(0x206)](_0x51daf9);return _0x5e2c73[_0x50a26a(0x1f3)](_0x520c66);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x168a8b,_0x440bd9,_0x540fcb){const _0x4acde5=_0x505e;for(;_0x540fcb[_0x4acde5(0x208)];){const _0x43637c=_0x540fcb[_0x4acde5(0x1f5)](0x0,0x64);_0x168a8b[_0x4acde5(0x1d4)](()=>{const _0x20745d=_0x4acde5;for(const _0x1925cb of _0x43637c)_0x1925cb[_0x20745d(0x1da)]&&_0x440bd9[_0x20745d(0x1e2)](_0x1925cb['id']);});}}
|