@ckeditor/ckeditor5-track-changes 47.6.0-alpha.5 → 47.6.0-alpha.7
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 +26 -26
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1da880=_0x5e47;(function(_0x58df9a,_0x1837f4){const _0x35efeb=_0x5e47,_0x192791=_0x58df9a();while(!![]){try{const _0x43efe7=-parseInt(_0x35efeb(0x13b))/0x1*(parseInt(_0x35efeb(0x13d))/0x2)+parseInt(_0x35efeb(0x14b))/0x3+-parseInt(_0x35efeb(0x14d))/0x4*(parseInt(_0x35efeb(0x14e))/0x5)+-parseInt(_0x35efeb(0x150))/0x6*(-parseInt(_0x35efeb(0x140))/0x7)+parseInt(_0x35efeb(0x13c))/0x8+parseInt(_0x35efeb(0x148))/0x9+-parseInt(_0x35efeb(0x144))/0xa*(parseInt(_0x35efeb(0x146))/0xb);if(_0x43efe7===_0x1837f4)break;else _0x192791['push'](_0x192791['shift']());}catch(_0x5ea7e2){_0x192791['push'](_0x192791['shift']());}}}(_0x236c,0x9e6dc));import{Plugin as _0x11d7a3}from'ckeditor5/src/core.js';function _0x236c(){const _0x1214e6=['isPremiumPlugin','TrackChangesPreview','2127912zRPvIq','define','5008936iVeEVm','5ZTCnJo','requires','30BoCZmC','appendChild','isOfficialPlugin','35lTSJew','7042384fTfxYk','11476qPKGNT','add','commands','744891chQlxE','pluginName','trackChanges.preview.renderFunction','config','7690UCQPJj','editor','7557iVGjHR','previewFinalContent','4577616tmpwXQ'];_0x236c=function(){return _0x1214e6;};return _0x236c();}import{Dialog as _0x27d971}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x49af7d}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x1dd34a}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x5e47(_0x39979d,_0x2c0af7){const _0x236c8c=_0x236c();return _0x5e47=function(_0x5e4734,_0x31958d){_0x5e4734=_0x5e4734-0x13b;let _0xdaf231=_0x236c8c[_0x5e4734];return _0xdaf231;},_0x5e47(_0x39979d,_0x2c0af7);}export class TrackChangesPreview extends _0x11d7a3{static get[_0x1da880(0x14f)](){return[_0x49af7d,_0x27d971];}static get[_0x1da880(0x141)](){const _0x1eddfe=_0x1da880;return _0x1eddfe(0x14a);}static get[_0x1da880(0x152)](){return!0x0;}static get[_0x1da880(0x149)](){return!0x0;}constructor(_0xf7e6f9){const _0x101d1b=_0x1da880;super(_0xf7e6f9),_0xf7e6f9[_0x101d1b(0x13f)][_0x101d1b(0x13e)](_0x101d1b(0x147),new _0x1dd34a(this[_0x101d1b(0x145)])),_0xf7e6f9[_0x101d1b(0x143)][_0x101d1b(0x14c)](_0x101d1b(0x142),(_0x162706,_0x3e4d04)=>{const _0xfbf386=_0x101d1b;for(const _0x738d6f of _0x3e4d04)_0x162706[_0xfbf386(0x151)](_0x738d6f);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x493e06=_0x31a5;(function(_0x4d9b40,_0x19a34f){const _0x2c5ed1=_0x31a5,_0x44e003=_0x4d9b40();while(!![]){try{const _0x5926cc=parseInt(_0x2c5ed1(0x14d))/0x1+-parseInt(_0x2c5ed1(0xef))/0x2+-parseInt(_0x2c5ed1(0x14c))/0x3*(parseInt(_0x2c5ed1(0xe2))/0x4)+parseInt(_0x2c5ed1(0xeb))/0x5+-parseInt(_0x2c5ed1(0xc4))/0x6*(-parseInt(_0x2c5ed1(0x106))/0x7)+-parseInt(_0x2c5ed1(0xdb))/0x8*(parseInt(_0x2c5ed1(0xc5))/0x9)+-parseInt(_0x2c5ed1(0xb8))/0xa*(-parseInt(_0x2c5ed1(0x152))/0xb);if(_0x5926cc===_0x19a34f)break;else _0x44e003['push'](_0x44e003['shift']());}catch(_0x2c20d3){_0x44e003['push'](_0x44e003['shift']());}}}(_0x1c5a,0xca77e));import{Plugin as _0x303b03}from'ckeditor5/src/core.js';import{Collection as _0x4caf72}from'ckeditor5/src/utils.js';function _0x31a5(_0x393697,_0xd291c){const _0x1c5a8d=_0x1c5a();return _0x31a5=function(_0x31a577,_0x249429){_0x31a577=_0x31a577-0xb7;let _0x24dc1e=_0x1c5a8d[_0x31a577];return _0x24dc1e;},_0x31a5(_0x393697,_0xd291c);}import{IconTrackChanges as _0x656ca3}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3e9279,createDropdown as _0x76ab2b,ListSeparatorView as _0x338e72,MenuBarMenuView as _0x400a28,MenuBarMenuListView as _0x23d535,MenuBarMenuListItemView as _0x4d8233,MenuBarMenuListItemButtonView as _0x5b8242,SplitButtonView as _0xd964c1,UIModel as _0x126dd5}from'ckeditor5/src/ui.js';import{Users as _0x254cf4,getDateTimeFormatter as _0x269918,getAllMarkersDomElementsSorted as _0xa65e34}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x46146b}from'./trackchangesediting.js';import{SuggestionController as _0x47785c}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x304cd4}from'./ui/view/suggestionthreadview.js';function _0x1c5a(){const _0x2f93e9=['getMarkers','stopListening','suggestionChanged','7ySFJEl','set','pluginName','_licenseKeyCheckInterval','descriptionFactory','actionView','CommentsRepository','CommentView','source','TrackChangesUI','buttonView','_initializeController','Discard\x20all\x20selected\x20suggestions','SuggestionThreadView','invalid','push','comments.maxCommentCharsWhenCollapsed','getJoined','config','registerAnnotation','trackChangesLicenseKeyDomainLimit','acceptButton','items','getByInnerView','activeAnnotations','Preview\x20final\x20content','editor','escape','Accept\x20all\x20selected\x20suggestions','toMany','isInContent','type','innerView','listenTo','filter','isEnabled','acceptSelectedSuggestions','TrackChanges','_unbindEditors','createAnnotation','model','isMultiRange','evaluationLimit','comments.maxCommentsWhenCollapsed','define','isDirty','_createMenuBarMenu','getAnnotationForSuggestion','discardAllSuggestions','addComment','menuitem','getMarkerNames','EditorAnnotations','execute','reduce','descriptionParts','menu','discardSelectedSuggestions','panelView','mainView','trackChanges.SuggestionView','editing','isOfficialPlugin','commentThread','keys','locale','licenseKey','bind','children','trackChangesLicenseKeyExpired','921wTeBkV','1232658PhKuCz','discardButton','lowest','trackChangesLicenseKeyValid','Accept\x20all\x20suggestions','21378203qwFVOc','_handleControllerBuffer','init','getFirstRange','trackChanges.disableComments','requires','commands','hasSuggestion','menuitemcheckbox','_viewToController','trackChanges','acceptAllSuggestions','isPremiumPlugin','getDescriptions','TrackChangesEditing','trackChanges.SuggestionThreadView','createAnnotationView','values','delegate','featureNotAllowed','destroy','length','CommentsUI','10qNpqsE','trackChangesLicenseKeyInvalid','head','get','createCommentThreadController','separator','some','suggestionUnloaded','previewFinalContent','comments.editorConfig','view','value','49638cbeBHv','11559789apIHzy','remove','_disableComments','comments.maxThreadTotalWeight','_updateController','_destroyController','_addUIComponentsToFactory','getSuggestion','has','switchbutton','_annotationViews','menuBar:trackChanges','suggestionLoaded','expired','getRanges','size','plugins','_createToolbarButton','refreshSelectedViews','focus','trackChangesLicenseKeyUsageLimit','previous','8SPjyDv','delete','commandName','Track\x20changes','Discard\x20all\x20suggestions','clear','getAllAdjacentSuggestions','13796zxnsUt','_suggestionToController','getSuggestionForAnnotation','add','TrackChangesPreview','isOn','usageLimit','SuggestionView','trackChangesLicenseKeyNotAllowed','3231545YyIQAV','arrowView','addMany','button','1316278pLRmkf','change:previous','domainLimit','comments','fire','from','_showLicenseError','addSourceCollector','unbind','componentFactory','trackChangesLicenseKeyEvaluationLimit','activeMarkers','suggestion-','suggestionView','commentsListView','change:activeAnnotations','_handleSuggestionControllerDelayed','_refreshActiveMarkers','Annotations','_bindAnnotationToEditors'];_0x1c5a=function(){return _0x2f93e9;};return _0x1c5a();}import{SuggestionView as _0x1bc556}from'./ui/view/suggestionview.js';import{getTranslation as _0x1f279b}from'./utils/common-translations.js';export class TrackChangesUI extends _0x303b03{[_0x493e06(0x148)];[_0x493e06(0x109)];[_0x493e06(0xe3)];[_0x493e06(0x15b)];[_0x493e06(0xcf)];[_0x493e06(0x153)];[_0x493e06(0xc7)];static get[_0x493e06(0x157)](){const _0x1d959b=_0x493e06;return[_0x46146b,_0x254cf4,_0x1d959b(0x10c),_0x1d959b(0x101),_0x1d959b(0x13a)];}static get[_0x493e06(0x108)](){const _0x1614d9=_0x493e06;return _0x1614d9(0x10f);}static get[_0x493e06(0x144)](){return!0x0;}static get[_0x493e06(0x15e)](){return!0x0;}constructor(_0x470754){const _0x477a0b=_0x493e06;super(_0x470754),this[_0x477a0b(0xe3)]=new Map(),this[_0x477a0b(0x15b)]=new Map(),this[_0x477a0b(0xcf)]=new Map(),this[_0x477a0b(0x153)]=new Map();const _0x18ed7a=this[_0x477a0b(0x120)][_0x477a0b(0x118)];_0x18ed7a[_0x477a0b(0x132)](_0x477a0b(0x161),_0x304cd4),_0x18ed7a[_0x477a0b(0x132)](_0x477a0b(0x142),_0x1bc556),_0x18ed7a[_0x477a0b(0x132)](_0x477a0b(0x156),!0x1),this[_0x477a0b(0xc7)]=_0x18ed7a[_0x477a0b(0xbb)](_0x477a0b(0x156));}[_0x493e06(0xff)](_0x59d7e4,_0x530a90){const _0x59b10e=_0x493e06;0x0===this[_0x59b10e(0x153)][_0x59b10e(0xd4)]&&setTimeout(()=>{const _0x4e8c42=_0x59b10e;for(const [_0x4130d8,_0x2ac279]of this[_0x4e8c42(0x153)]){const _0x2c88bb=this[_0x4e8c42(0xe3)][_0x4e8c42(0xcd)](_0x4130d8);_0x2c88bb||_0x2ac279?_0x2c88bb&&_0x2ac279&&this[_0x4e8c42(0xca)](_0x4130d8):this[_0x4e8c42(0x111)](_0x4130d8);}this[_0x4e8c42(0x153)][_0x4e8c42(0xe0)](),this[_0x4e8c42(0x120)][_0x4e8c42(0xd5)][_0x4e8c42(0xbb)](_0x4e8c42(0x13a))[_0x4e8c42(0xd7)](),this[_0x4e8c42(0x100)]();},0xa),this[_0x59b10e(0x153)][_0x59b10e(0x107)](_0x59d7e4,_0x530a90);}[_0x493e06(0x154)](){const _0x29b040=_0x493e06,_0x939141=this[_0x29b040(0x120)],_0x5eac77=_0x939141[_0x29b040(0xd5)][_0x29b040(0xbb)](_0x29b040(0x160)),_0x1e2a61=_0x939141[_0x29b040(0xd5)][_0x29b040(0xbb)](_0x29b040(0x101)),_0x3ee3ff=_0x939141[_0x29b040(0xd5)][_0x29b040(0xbb)](_0x29b040(0x13a)),_0x11599a=_0x939141[_0x29b040(0xd5)][_0x29b040(0xbb)](_0x29b040(0x10c));this[_0x29b040(0xcb)](),_0x3ee3ff[_0x29b040(0xf6)](()=>{const _0x29395c=_0x29b040,_0x3d5c73=[];for(const [_0x38d5bf,_0x2b9b5f]of Array[_0x29395c(0xf4)](this[_0x29395c(0xe3)])){const _0x134a45=_0x38d5bf[_0x29395c(0xe1)](),_0x409fda=[];for(const _0x50d9b9 of _0x134a45){if(!_0x50d9b9[_0x29395c(0x124)])continue;if(_0x50d9b9[_0x29395c(0x12f)]){_0x409fda[_0x29395c(0x115)](..._0x50d9b9[_0x29395c(0xd3)]());continue;}const _0x41cb1e=_0x50d9b9[_0x29395c(0x155)]();if(_0x409fda[_0x29395c(0x167)]>0x0){const _0x4fed73=_0x409fda[0x0][_0x29395c(0x117)](_0x41cb1e);if(_0x4fed73){_0x409fda[0x0]=_0x4fed73;continue;}}_0x409fda[_0x29395c(0x115)](_0x41cb1e);}_0x3d5c73[_0x29395c(0x115)]([_0x2b9b5f[_0x29395c(0xc2)],_0x409fda]);}return _0x3d5c73;}),this[_0x29b040(0x127)](_0x5eac77,_0x29b040(0xd1),(_0x3be389,_0x5d9458)=>{const _0x41e489=_0x29b040;this[_0x41e489(0x127)](_0x5d9458,_0x41e489(0xf0),(_0x54ad5a,_0x1e082c,_0xe3b987,_0x3f21e9)=>{const _0x3baa1f=_0x41e489;_0x5d9458[_0x3baa1f(0x124)]&&(null==_0xe3b987?(this[_0x3baa1f(0xc9)](_0x3f21e9[_0x3baa1f(0xba)]),this[_0x3baa1f(0xff)](_0x5d9458,!0x1)):(this[_0x3baa1f(0xc9)](_0xe3b987[_0x3baa1f(0xba)]),null==_0x3f21e9&&this[_0x3baa1f(0xff)](_0x5d9458,!0x0)));}),null!==_0x5d9458[_0x41e489(0xda)]?this[_0x41e489(0xc9)](_0x5d9458[_0x41e489(0xba)]):this[_0x41e489(0xff)](_0x5d9458,!0x1);}),this[_0x29b040(0x127)](_0x5eac77,_0x29b040(0xbf),(_0x2cc03f,_0x4dae1c,_0x4be920)=>{const _0x569ac1=_0x29b040;this[_0x569ac1(0x104)](_0x4dae1c,_0x569ac1(0xf0)),this[_0x569ac1(0x153)][_0x569ac1(0xdc)](_0x4dae1c),this[_0x569ac1(0xe3)][_0x569ac1(0xcd)](_0x4dae1c)&&this[_0x569ac1(0xca)](_0x4dae1c),_0x4be920&&this[_0x569ac1(0xc9)](_0x4be920[_0x569ac1(0xba)]);}),this[_0x29b040(0x127)](_0x5eac77,_0x29b040(0x105),(_0xa2ea15,_0x3a786c)=>{const _0x5caf57=_0x29b040;this[_0x5caf57(0xc9)](_0x3a786c);}),this[_0x29b040(0x127)](_0x1e2a61,_0x29b040(0xfe),()=>{const _0x3275d3=_0x29b040;this[_0x3275d3(0x100)]();}),this[_0x29b040(0x127)](_0x11599a,_0x29b040(0x137),(_0x5589ce,{threadId:_0x34918d,isFromAdapter:_0x30c837})=>{const _0x5be5db=_0x29b040;if(_0x30c837||!_0x5eac77[_0x5be5db(0x159)](_0x34918d))return;const _0x527e78=_0x5eac77[_0x5be5db(0xcc)](_0x34918d);this[_0x5be5db(0xe3)][_0x5be5db(0xbb)](_0x527e78)[_0x5be5db(0xc2)][_0x5be5db(0xfd)][_0x5be5db(0xd8)](-0x1);},{'priority':_0x29b040(0x14f)}),this[_0x29b040(0x148)]=this[_0x29b040(0x120)][_0x29b040(0x118)][_0x29b040(0xbb)](_0x29b040(0x148));const _0xfa6c4b=this[_0x29b040(0x120)];this[_0x29b040(0x109)]=setInterval(()=>{const _0x15bd69=_0x29b040;let _0x5650e1;for(const _0xb6c693 in _0xfa6c4b){const _0x410e48=_0xb6c693,_0x24de67=_0xfa6c4b[_0x410e48];if(_0x15bd69(0x150)==_0x24de67||_0x15bd69(0xb9)==_0x24de67||_0x15bd69(0x14b)==_0x24de67||_0x15bd69(0x11a)==_0x24de67||_0x15bd69(0xea)==_0x24de67||_0x15bd69(0xf9)==_0x24de67||_0x15bd69(0xd9)==_0x24de67){delete _0xfa6c4b[_0x410e48],_0x5650e1=_0x24de67,clearInterval(this[_0x15bd69(0x109)]),this[_0x15bd69(0x109)]=void 0x0;break;}}_0x15bd69(0xb9)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0x114)),_0x15bd69(0x14b)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0xd2)),_0x15bd69(0x11a)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0xf1)),_0x15bd69(0xea)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0x165),_0x15bd69(0x12b)),_0x15bd69(0xf9)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0x130)),_0x15bd69(0xd9)==_0x5650e1&&_0xfa6c4b[_0x15bd69(0xf5)](_0x15bd69(0xe8));},0x3e8);}[_0x493e06(0x135)](_0x56c578){const _0x445630=_0x493e06,_0x83943b=this[_0x445630(0xe3)][_0x445630(0xbb)](_0x56c578);if(!_0x83943b)return null;return this[_0x445630(0x120)][_0x445630(0xd5)][_0x445630(0xbb)](_0x445630(0x101))[_0x445630(0x11d)](_0x83943b[_0x445630(0xc2)])||null;}[_0x493e06(0xe4)](_0xc14b63){const _0x53bde3=_0x493e06,_0x1565c8=this[_0x53bde3(0x15b)][_0x53bde3(0xbb)](_0xc14b63[_0x53bde3(0x126)]);return _0x1565c8?_0x1565c8[_0x53bde3(0x12e)]:null;}[_0x493e06(0x100)](){const _0x329b76=_0x493e06,_0x42d3dd=this[_0x329b76(0x120)][_0x329b76(0xd5)][_0x329b76(0xbb)](_0x329b76(0x101)),_0x13d5ff=this[_0x329b76(0x120)][_0x329b76(0xd5)][_0x329b76(0xbb)](_0x329b76(0x160)),_0x226842=Array[_0x329b76(0xf4)](_0x42d3dd[_0x329b76(0x11e)],_0x4dfda8=>_0x4dfda8[_0x329b76(0x126)])[_0x329b76(0x128)](_0x26371a=>this[_0x329b76(0x15b)][_0x329b76(0xcd)](_0x26371a)),_0x28d520=[];for(const _0x4532f8 of _0x226842){const _0x2505f4=this[_0x329b76(0x15b)][_0x329b76(0xbb)](_0x4532f8)[_0x329b76(0x12e)][_0x329b76(0xe1)]();_0x28d520[_0x329b76(0x115)](..._0x2505f4[_0x329b76(0x13c)]((_0x5058b2,_0x3a55d3)=>[..._0x5058b2,..._0x3a55d3[_0x329b76(0x139)]()],[]));}_0x13d5ff[_0x329b76(0xfa)]=_0x28d520;}[_0x493e06(0xcb)](){const _0x2c47e0=_0x493e06,_0x3dab79=this[_0x2c47e0(0x120)],_0x2cc242=_0x3dab79[_0x2c47e0(0x147)],_0x1c5bba=_0x1f279b(_0x2cc242,_0x2c47e0(0xde)),_0x2d0ebb=new _0x4caf72([{'type':_0x2c47e0(0xce),'model':new _0x126dd5({'withText':!0x0,'isToggleable':!0x0,'label':_0x1c5bba,'commandName':_0x2c47e0(0x15c),'role':_0x2c47e0(0x15a)})},{'type':_0x2c47e0(0xbd)},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0x151)),'commandName':_0x2c47e0(0x15d),'role':_0x2c47e0(0x138)})},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0x122)),'commandName':_0x2c47e0(0x12a),'role':_0x2c47e0(0x138)})},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0xdf)),'commandName':_0x2c47e0(0x136),'role':_0x2c47e0(0x138)})},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0x112)),'commandName':_0x2c47e0(0x13f),'role':_0x2c47e0(0x138)})}]);_0x3dab79[_0x2c47e0(0xd5)][_0x2c47e0(0xcd)](_0x2c47e0(0xe6))&&_0x2d0ebb[_0x2c47e0(0xed)]([{'type':_0x2c47e0(0xbd)},{'type':_0x2c47e0(0xee),'model':new _0x126dd5({'withText':!0x0,'label':_0x1f279b(_0x2cc242,_0x2c47e0(0x11f)),'commandName':_0x2c47e0(0xc0),'role':_0x2c47e0(0x138)})}]);for(const _0x3351c3 of _0x2d0ebb)if(ke(_0x3351c3)){const _0x31c261=_0x3dab79[_0x2c47e0(0x158)][_0x2c47e0(0xbb)](_0x3351c3[_0x2c47e0(0x12e)][_0x2c47e0(0xdd)]);_0x3351c3[_0x2c47e0(0x12e)][_0x2c47e0(0x149)](_0x2c47e0(0xe7),_0x2c47e0(0x129))['to'](_0x31c261,_0x2c47e0(0xc3),_0x2c47e0(0x129));}_0x3dab79['ui'][_0x2c47e0(0xf8)][_0x2c47e0(0xe5)](_0x2c47e0(0x15c),_0x1ce0f6=>this[_0x2c47e0(0xd6)](_0x1ce0f6,_0x2d0ebb,_0x1c5bba)),_0x3dab79['ui'][_0x2c47e0(0xf8)][_0x2c47e0(0xe5)](_0x2c47e0(0xd0),_0x2c621b=>this[_0x2c47e0(0x134)](_0x2c621b,_0x2d0ebb,_0x1c5bba));}[_0x493e06(0xd6)](_0x209d50,_0x490c7b,_0x4221c8){const _0xfe540e=_0x493e06,_0xd36b50=_0x76ab2b(_0x209d50,_0xd964c1),_0x2576c6=this[_0xfe540e(0x120)][_0xfe540e(0x158)][_0xfe540e(0xbb)](_0xfe540e(0x15c));_0xd36b50[_0xfe540e(0x110)][_0xfe540e(0x107)]({'tooltip':_0x4221c8,'label':_0x4221c8,'icon':_0x656ca3}),_0xd36b50[_0xfe540e(0x110)][_0xfe540e(0x149)](_0xfe540e(0xe7))['to'](_0x2576c6,_0xfe540e(0xc3)),_0xd36b50[_0xfe540e(0x110)]['on'](_0xfe540e(0x13b),()=>{const _0x5751af=_0xfe540e;_0x2576c6[_0x5751af(0x13b)](),this[_0x5751af(0x120)][_0x5751af(0x143)][_0x5751af(0xc2)][_0x5751af(0xd8)]();}),_0x3e9279(_0xd36b50,_0x490c7b,{'role':_0xfe540e(0x13e)});const _0x2ba0c5=[];for(const _0x2132b8 of _0x490c7b)ke(_0x2132b8)&&_0x2ba0c5[_0xfe540e(0x115)](this[_0xfe540e(0x120)][_0xfe540e(0x158)][_0xfe540e(0xbb)](_0x2132b8[_0xfe540e(0x12e)][_0xfe540e(0xdd)]));const _0xe06681=_0xd36b50[_0xfe540e(0x110)];return _0xe06681[_0xfe540e(0x10b)][_0xfe540e(0xf7)](_0xfe540e(0x129)),_0xe06681[_0xfe540e(0xec)][_0xfe540e(0xf7)](_0xfe540e(0x129)),_0xe06681[_0xfe540e(0x10b)][_0xfe540e(0x149)](_0xfe540e(0x129))['to'](_0x2576c6,_0xfe540e(0x129)),_0xe06681[_0xfe540e(0xec)][_0xfe540e(0x149)](_0xfe540e(0x129))[_0xfe540e(0x123)](_0x2ba0c5,_0xfe540e(0x129),(..._0x36d351)=>_0x36d351[_0xfe540e(0xbe)](_0xbb090b=>_0xbb090b)),_0xd36b50['on'](_0xfe540e(0x13b),_0x208ac5=>{const _0x2c8bd2=_0xfe540e;this[_0x2c8bd2(0x120)][_0x2c8bd2(0x13b)](_0x208ac5[_0x2c8bd2(0x10e)][_0x2c8bd2(0xdd)]),this[_0x2c8bd2(0x120)][_0x2c8bd2(0x143)][_0x2c8bd2(0xc2)][_0x2c8bd2(0xd8)]();}),_0xd36b50;}[_0x493e06(0x134)](_0x137f6f,_0xc2a0b1,_0x5354fd){const _0x333b66=_0x493e06,_0x495a83=new _0x400a28(_0x137f6f),_0x52f089=this[_0x333b66(0x120)][_0x333b66(0x158)][_0x333b66(0xbb)](_0x333b66(0x15c));_0x495a83[_0x333b66(0x110)][_0x333b66(0x107)]({'label':_0x5354fd,'icon':_0x656ca3});const _0x960e50=new _0x23d535(_0x137f6f);for(const _0x64829d of _0xc2a0b1){if(_0x333b66(0xbd)==_0x64829d[_0x333b66(0x125)]){_0x960e50[_0x333b66(0x11c)][_0x333b66(0xe5)](new _0x338e72(_0x137f6f));continue;}const _0x1e56a8=new _0x4d8233(_0x137f6f,_0x495a83),_0x5f55f0=new _0x5b8242(_0x137f6f),_0x391afc=_0x64829d[_0x333b66(0x12e)];_0x5f55f0[_0x333b66(0x149)](...Object[_0x333b66(0x146)](_0x391afc))['to'](_0x391afc),_0x5f55f0[_0x333b66(0x164)](_0x333b66(0x13b))['to'](_0x495a83),_0x5f55f0['on'](_0x333b66(0x13b),()=>{const _0x3fa134=_0x333b66;this[_0x3fa134(0x120)][_0x3fa134(0x13b)](_0x391afc[_0x3fa134(0xdd)]),this[_0x3fa134(0x120)][_0x3fa134(0x143)][_0x3fa134(0xc2)][_0x3fa134(0xd8)]();}),_0x1e56a8[_0x333b66(0x14a)][_0x333b66(0xe5)](_0x5f55f0),_0x960e50[_0x333b66(0x11c)][_0x333b66(0xe5)](_0x1e56a8);}return _0x495a83[_0x333b66(0x149)](_0x333b66(0x129))['to'](_0x52f089,_0x333b66(0x129)),_0x495a83[_0x333b66(0x140)][_0x333b66(0x14a)][_0x333b66(0xe5)](_0x960e50),_0x495a83;}[_0x493e06(0x111)](_0x299e52){const _0x152f9e=_0x493e06,_0x4a51af=this[_0x152f9e(0x120)],_0x1f8421=_0x4a51af[_0x152f9e(0x118)],_0x10c3b2=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0x101)),_0x45252f=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0x10c)),_0x33336c=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0x13a)),_0x4a8c80=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x254cf4)['me'],_0x295aaf=_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x15c))[_0x152f9e(0x113)],_0x131a45=_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x15c))[_0x152f9e(0xe9)],{CommentsListView:_0x6318a9,CommentThreadInputView:_0x2b56de}=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0xb7));let _0x22b22d,_0x27d8a6,_0x4bf26b;this[_0x152f9e(0xcf)][_0x152f9e(0xcd)](_0x299e52['id'])?(_0x27d8a6=this[_0x152f9e(0xcf)][_0x152f9e(0xbb)](_0x299e52['id']),_0x22b22d=_0x27d8a6[_0x152f9e(0x141)]):(_0x22b22d=new _0x295aaf(_0x4a51af[_0x152f9e(0x147)],_0x299e52,_0x4a8c80,{'disableComments':this[_0x152f9e(0xc7)],'editorConfig':{..._0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0xc1)),'licenseKey':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x148))},'maxCommentsWhenCollapsed':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x131)),'maxThreadTotalWeight':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0xc8)),'maxCommentCharsWhenCollapsed':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x116)),'formatDateTime':_0x269918(_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0x147)),_0x4a51af[_0x152f9e(0x147)]),'CommentView':_0x1f8421[_0x152f9e(0xbb)](_0x152f9e(0xf2))[_0x152f9e(0x10d)],'CommentsListView':_0x6318a9,'CommentThreadInputView':_0x2b56de,'SuggestionView':_0x131a45}),_0x22b22d[_0x152f9e(0xfc)][_0x152f9e(0x11b)]['on'](_0x152f9e(0x13b),()=>{const _0x366278=_0x152f9e;_0x4a51af[_0x366278(0x143)][_0x366278(0xc2)][_0x366278(0xd8)]();}),_0x22b22d[_0x152f9e(0xfc)][_0x152f9e(0x14e)]['on'](_0x152f9e(0x13b),()=>{const _0x126342=_0x152f9e;_0x4a51af[_0x126342(0x143)][_0x126342(0xc2)][_0x126342(0xd8)]();}),_0x27d8a6=_0x10c3b2[_0x152f9e(0x162)](this[_0x152f9e(0x120)][_0x152f9e(0x147)],_0x22b22d),_0x27d8a6[_0x152f9e(0x149)](_0x152f9e(0x133))['to'](_0x22b22d,_0x152f9e(0x133)),_0x27d8a6[_0x152f9e(0x149)](_0x152f9e(0x167))['to'](_0x22b22d),_0x27d8a6[_0x152f9e(0x149)](_0x152f9e(0x125))['to'](_0x22b22d,_0x152f9e(0x125),_0x653ac2=>_0x152f9e(0xfb)+_0x653ac2),_0x22b22d['on'](_0x152f9e(0x121),()=>{const _0x33530a=_0x152f9e;_0x4bf26b[_0x33530a(0xf3)](_0x33530a(0x121));}),this[_0x152f9e(0xcf)][_0x152f9e(0x107)](_0x299e52['id'],_0x27d8a6));const _0x557e5f=_0x45252f[_0x152f9e(0xbc)](_0x299e52[_0x152f9e(0x145)],_0x22b22d),_0x47b03c=new _0x47785c(_0x4a51af,_0x299e52,_0x22b22d,_0x557e5f),_0x49af32=_0x299e52[_0x152f9e(0xe1)]()[_0x152f9e(0x128)](_0x2c8e4a=>_0x2c8e4a[_0x152f9e(0x124)]);_0x22b22d[_0x152f9e(0x13d)]=_0x4a51af[_0x152f9e(0xd5)][_0x152f9e(0xbb)](_0x152f9e(0x160))[_0x152f9e(0x10a)][_0x152f9e(0x15f)](_0x49af32),this[_0x152f9e(0xe3)][_0x152f9e(0x107)](_0x299e52,_0x47b03c),this[_0x152f9e(0x15b)][_0x152f9e(0x107)](_0x22b22d,_0x47b03c);const _0x3a70a7=()=>{const _0x3483de=_0x152f9e,_0xf615ae=[],_0x262e74=_0x299e52[_0x3483de(0xe1)]()[_0x3483de(0x128)](_0x2d480a=>_0x2d480a[_0x3483de(0x124)]);for(const _0x3953a3 of _0x262e74)_0xf615ae[_0x3483de(0x115)](..._0x3953a3[_0x3483de(0x103)]());return _0xa65e34(_0x4a51af[_0x3483de(0x143)],_0xf615ae);};_0x4bf26b=_0x10c3b2[_0x152f9e(0x12d)]({'view':_0x27d8a6,'target':_0x3a70a7,'type':()=>_0x152f9e(0xfb)+_0x47b03c[_0x152f9e(0xc2)][_0x152f9e(0x125)],'isVisible':!!_0x3a70a7()}),_0x45252f[_0x152f9e(0x102)](_0x22b22d,_0x4bf26b),_0x10c3b2[_0x152f9e(0xe5)](_0x4bf26b),_0x33336c[_0x152f9e(0x119)](_0x4bf26b);}[_0x493e06(0xca)](_0x2ca654){const _0x49b44d=_0x493e06,_0x440e1d=this[_0x49b44d(0x120)][_0x49b44d(0xd5)][_0x49b44d(0xbb)](_0x49b44d(0x10c)),_0x4bfdc2=this[_0x49b44d(0x120)][_0x49b44d(0xd5)][_0x49b44d(0xbb)](_0x49b44d(0x101)),_0x124f35=this[_0x49b44d(0xe3)][_0x49b44d(0xbb)](_0x2ca654),_0x2cbb08=_0x124f35[_0x49b44d(0xc2)],_0x3c0a6d=_0x4bfdc2[_0x49b44d(0x11d)](_0x2cbb08);_0x440e1d[_0x49b44d(0x12c)](_0x2cbb08),_0x3c0a6d&&_0x4bfdc2[_0x49b44d(0xc6)](_0x3c0a6d),this[_0x49b44d(0xe3)][_0x49b44d(0xdc)](_0x2ca654),this[_0x49b44d(0x15b)][_0x49b44d(0xdc)](_0x2cbb08),_0x124f35[_0x49b44d(0x166)]();}[_0x493e06(0xc9)](_0x5ec795){const _0xff2e53=_0x493e06;if(!_0x5ec795[_0xff2e53(0x124)]||!this[_0xff2e53(0xe3)][_0xff2e53(0xcd)](_0x5ec795))return;const _0x4f2b6b=this[_0xff2e53(0x120)][_0xff2e53(0xd5)][_0xff2e53(0xbb)](_0xff2e53(0x160)),_0x11bf8d=this[_0xff2e53(0xe3)][_0xff2e53(0xbb)](_0x5ec795),_0x285c2e=_0x5ec795[_0xff2e53(0xe1)]();_0x11bf8d[_0xff2e53(0xc2)][_0xff2e53(0x13d)]=_0x4f2b6b[_0xff2e53(0x10a)][_0xff2e53(0x15f)](_0x285c2e);}[_0x493e06(0x166)](){const _0x2010c8=_0x493e06;for(const _0x575176 of this[_0x2010c8(0xe3)][_0x2010c8(0x146)]())this[_0x2010c8(0xca)](_0x575176);for(const _0x9666cc of this[_0x2010c8(0xcf)][_0x2010c8(0x163)]())_0x9666cc[_0x2010c8(0x141)][_0x2010c8(0x166)]();super[_0x2010c8(0x166)](),this[_0x2010c8(0x109)]&&clearInterval(this[_0x2010c8(0x109)]);}}function ke(_0x18398c){const _0x2c468b=_0x493e06;return _0x2c468b(0x12e)in _0x18398c;}
|
|
23
|
+
const _0x4bfee8=_0x43e9;(function(_0x598d29,_0xafff99){const _0x29afdb=_0x43e9,_0x447fb7=_0x598d29();while(!![]){try{const _0x294546=-parseInt(_0x29afdb(0x1cd))/0x1*(parseInt(_0x29afdb(0x146))/0x2)+parseInt(_0x29afdb(0x16a))/0x3+-parseInt(_0x29afdb(0x150))/0x4*(-parseInt(_0x29afdb(0x185))/0x5)+parseInt(_0x29afdb(0x1c8))/0x6+parseInt(_0x29afdb(0x157))/0x7*(parseInt(_0x29afdb(0x13c))/0x8)+-parseInt(_0x29afdb(0x161))/0x9+-parseInt(_0x29afdb(0x1a6))/0xa;if(_0x294546===_0xafff99)break;else _0x447fb7['push'](_0x447fb7['shift']());}catch(_0x27296a){_0x447fb7['push'](_0x447fb7['shift']());}}}(_0x1590,0x28825));import{Plugin as _0x1a5bae}from'ckeditor5/src/core.js';function _0x1590(){const _0x3ae29b=['283208aOfmbh','set','licenseKey','clear','trackChangesLicenseKeyUsageLimit','isInContent','focus','2084663cxibQZ','getSuggestion','createCommentThreadController','source','isPremiumPlugin','trackChanges.disableComments','comments','switchbutton','_updateController','comments.maxCommentsWhenCollapsed','1458279SJvLvt','_handleSuggestionControllerDelayed','previewFinalContent','CommentsRepository','bind','Accept\x20all\x20suggestions','hasSuggestion','some','getAnnotationForSuggestion','813207KOGzGB','suggestionLoaded','add','model','trackChangesLicenseKeyNotAllowed','commands','Accept\x20all\x20selected\x20suggestions','isMultiRange','expired','EditorAnnotations','items','plugins','evaluationLimit','escape','discardButton','remove','suggestionView','_viewToController','createAnnotationView','menu','has','panelView','delete','_addUIComponentsToFactory','_bindAnnotationToEditors','stopListening','suggestion-','15sEcLAg','SuggestionThreadView','domainLimit','Discard\x20all\x20suggestions','trackChanges','_showLicenseError','length','isEnabled','discardAllSuggestions','invalid','addComment','acceptAllSuggestions','CommentView','toMany','featureNotAllowed','createAnnotation','mainView','TrackChangesUI','_annotationViews','head','define','comments.maxCommentCharsWhenCollapsed','getMarkerNames','menuitemcheckbox','suggestionUnloaded','discardSelectedSuggestions','_disableComments','descriptionFactory','actionView','view','registerAnnotation','acceptSelectedSuggestions','commentThread','3713180qEonYX','trackChangesLicenseKeyInvalid','_refreshActiveMarkers','getDescriptions','Track\x20changes','TrackChanges','keys','config','pluginName','suggestionChanged','refreshSelectedViews','values','filter','Annotations','activeAnnotations','delegate','componentFactory','getSuggestionForAnnotation','commandName','requires','button','change:activeAnnotations','innerView','addMany','CommentsUI','isOfficialPlugin','push','editor','arrowView','menuBar:trackChanges','listenTo','_createToolbarButton','trackChangesLicenseKeyExpired','isOn','279084AjNMhm','previous','trackChanges.SuggestionView','type','_suggestionToController','127qRFbiR','getMarkers','comments.editorConfig','value','init','buttonView','getFirstRange','get','_createMenuBarMenu','activeMarkers','size','trackChangesLicenseKeyValid','getJoined','_licenseKeyCheckInterval','getRanges','_initializeController','SuggestionView','unbind','locale','_destroyController','descriptionParts','getAllAdjacentSuggestions','change:previous','separator','comments.maxThreadTotalWeight','lowest','destroy','Preview\x20final\x20content','trackChangesLicenseKeyDomainLimit','_unbindEditors','menuitem','8AReoDw','trackChanges.SuggestionThreadView','trackChangesLicenseKeyEvaluationLimit','getByInnerView','acceptButton','TrackChangesEditing','usageLimit','addSourceCollector','from','Discard\x20all\x20selected\x20suggestions','2024MngWDD','children','editing','reduce','TrackChangesPreview','isDirty','execute','fire','_handleControllerBuffer','commentsListView'];_0x1590=function(){return _0x3ae29b;};return _0x1590();}import{Collection as _0xa4e6cd}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x103f2c}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x893d26,createDropdown as _0x60f381,ListSeparatorView as _0x1e791a,MenuBarMenuView as _0x1f6e8a,MenuBarMenuListView as _0x291f54,MenuBarMenuListItemView as _0x340361,MenuBarMenuListItemButtonView as _0x51136a,SplitButtonView as _0x17df29,UIModel as _0x4d4384}from'ckeditor5/src/ui.js';import{Users as _0xa5c73c,getDateTimeFormatter as _0x367be5,getAllMarkersDomElementsSorted as _0xcd5808}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x4d74bc}from'./trackchangesediting.js';import{SuggestionController as _0x44932d}from'./ui/suggestioncontroller.js';function _0x43e9(_0x1fc117,_0x19677d){const _0x15902f=_0x1590();return _0x43e9=function(_0x43e9a4,_0x4cf383){_0x43e9a4=_0x43e9a4-0x13a;let _0x56f613=_0x15902f[_0x43e9a4];return _0x56f613;},_0x43e9(_0x1fc117,_0x19677d);}import{SuggestionThreadView as _0x5b705f}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x4b7b3c}from'./ui/view/suggestionview.js';import{getTranslation as _0x278b0e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1a5bae{[_0x4bfee8(0x152)];[_0x4bfee8(0x1da)];[_0x4bfee8(0x1cc)];[_0x4bfee8(0x17b)];[_0x4bfee8(0x197)];[_0x4bfee8(0x14e)];[_0x4bfee8(0x19f)];static get[_0x4bfee8(0x1b9)](){const _0x4027d9=_0x4bfee8;return[_0x4d74bc,_0xa5c73c,_0x4027d9(0x164),_0x4027d9(0x1b3),_0x4027d9(0x173)];}static get[_0x4bfee8(0x1ae)](){const _0x2788d2=_0x4bfee8;return _0x2788d2(0x196);}static get[_0x4bfee8(0x1bf)](){return!0x0;}static get[_0x4bfee8(0x15b)](){return!0x0;}constructor(_0x4e539d){const _0x31a176=_0x4bfee8;super(_0x4e539d),this[_0x31a176(0x1cc)]=new Map(),this[_0x31a176(0x17b)]=new Map(),this[_0x31a176(0x197)]=new Map(),this[_0x31a176(0x14e)]=new Map();const _0x1a40ca=this[_0x31a176(0x1c1)][_0x31a176(0x1ad)];_0x1a40ca[_0x31a176(0x199)](_0x31a176(0x13d),_0x5b705f),_0x1a40ca[_0x31a176(0x199)](_0x31a176(0x1ca),_0x4b7b3c),_0x1a40ca[_0x31a176(0x199)](_0x31a176(0x15c),!0x1),this[_0x31a176(0x19f)]=_0x1a40ca[_0x31a176(0x1d4)](_0x31a176(0x15c));}[_0x4bfee8(0x162)](_0x53d118,_0x104a03){const _0x1e5b7c=_0x4bfee8;0x0===this[_0x1e5b7c(0x14e)][_0x1e5b7c(0x1d7)]&&setTimeout(()=>{const _0x50e2ba=_0x1e5b7c;for(const [_0x5e1257,_0x223211]of this[_0x50e2ba(0x14e)]){const _0x317ed8=this[_0x50e2ba(0x1cc)][_0x50e2ba(0x17e)](_0x5e1257);_0x317ed8||_0x223211?_0x317ed8&&_0x223211&&this[_0x50e2ba(0x1e0)](_0x5e1257):this[_0x50e2ba(0x1dc)](_0x5e1257);}this[_0x50e2ba(0x14e)][_0x50e2ba(0x153)](),this[_0x50e2ba(0x1c1)][_0x50e2ba(0x175)][_0x50e2ba(0x1d4)](_0x50e2ba(0x173))[_0x50e2ba(0x1b0)](),this[_0x50e2ba(0x1a8)]();},0xa),this[_0x1e5b7c(0x14e)][_0x1e5b7c(0x151)](_0x53d118,_0x104a03);}[_0x4bfee8(0x1d1)](){const _0x4207a1=_0x4bfee8,_0x475b42=this[_0x4207a1(0x1c1)],_0x5ab7ec=_0x475b42[_0x4207a1(0x175)][_0x4207a1(0x1d4)](_0x4207a1(0x141)),_0x5d6620=_0x475b42[_0x4207a1(0x175)][_0x4207a1(0x1d4)](_0x4207a1(0x1b3)),_0x183b7f=_0x475b42[_0x4207a1(0x175)][_0x4207a1(0x1d4)](_0x4207a1(0x173)),_0x375347=_0x475b42[_0x4207a1(0x175)][_0x4207a1(0x1d4)](_0x4207a1(0x164));this[_0x4207a1(0x181)](),_0x183b7f[_0x4207a1(0x143)](()=>{const _0x1abba3=_0x4207a1,_0x45894e=[];for(const [_0x59b1c6,_0x5d4b18]of Array[_0x1abba3(0x144)](this[_0x1abba3(0x1cc)])){const _0x3a865e=_0x59b1c6[_0x1abba3(0x1e2)](),_0x2cf962=[];for(const _0x2c897d of _0x3a865e){if(!_0x2c897d[_0x1abba3(0x155)])continue;if(_0x2c897d[_0x1abba3(0x171)]){_0x2cf962[_0x1abba3(0x1c0)](..._0x2c897d[_0x1abba3(0x1db)]());continue;}const _0x51b1eb=_0x2c897d[_0x1abba3(0x1d3)]();if(_0x2cf962[_0x1abba3(0x18b)]>0x0){const _0x28f1ba=_0x2cf962[0x0][_0x1abba3(0x1d9)](_0x51b1eb);if(_0x28f1ba){_0x2cf962[0x0]=_0x28f1ba;continue;}}_0x2cf962[_0x1abba3(0x1c0)](_0x51b1eb);}_0x45894e[_0x1abba3(0x1c0)]([_0x5d4b18[_0x1abba3(0x1a2)],_0x2cf962]);}return _0x45894e;}),this[_0x4207a1(0x1c4)](_0x5ab7ec,_0x4207a1(0x16b),(_0x5cb05b,_0x56fd5b)=>{const _0xcbae29=_0x4207a1;this[_0xcbae29(0x1c4)](_0x56fd5b,_0xcbae29(0x1e3),(_0x3579b4,_0x2fcb0e,_0xddaba8,_0x2ec26a)=>{const _0x36130d=_0xcbae29;_0x56fd5b[_0x36130d(0x155)]&&(null==_0xddaba8?(this[_0x36130d(0x15f)](_0x2ec26a[_0x36130d(0x198)]),this[_0x36130d(0x162)](_0x56fd5b,!0x1)):(this[_0x36130d(0x15f)](_0xddaba8[_0x36130d(0x198)]),null==_0x2ec26a&&this[_0x36130d(0x162)](_0x56fd5b,!0x0)));}),null!==_0x56fd5b[_0xcbae29(0x1c9)]?this[_0xcbae29(0x15f)](_0x56fd5b[_0xcbae29(0x198)]):this[_0xcbae29(0x162)](_0x56fd5b,!0x1);}),this[_0x4207a1(0x1c4)](_0x5ab7ec,_0x4207a1(0x19d),(_0x1a43e5,_0x42ef19,_0x5ac4f7)=>{const _0x25a052=_0x4207a1;this[_0x25a052(0x183)](_0x42ef19,_0x25a052(0x1e3)),this[_0x25a052(0x14e)][_0x25a052(0x180)](_0x42ef19),this[_0x25a052(0x1cc)][_0x25a052(0x17e)](_0x42ef19)&&this[_0x25a052(0x1e0)](_0x42ef19),_0x5ac4f7&&this[_0x25a052(0x15f)](_0x5ac4f7[_0x25a052(0x198)]);}),this[_0x4207a1(0x1c4)](_0x5ab7ec,_0x4207a1(0x1af),(_0xc10bbe,_0x24fc77)=>{const _0x21ff5a=_0x4207a1;this[_0x21ff5a(0x15f)](_0x24fc77);}),this[_0x4207a1(0x1c4)](_0x5d6620,_0x4207a1(0x1bb),()=>{const _0x386376=_0x4207a1;this[_0x386376(0x1a8)]();}),this[_0x4207a1(0x1c4)](_0x375347,_0x4207a1(0x18f),(_0x1dac47,{threadId:_0xd308c3,isFromAdapter:_0x29d63c})=>{const _0x383a27=_0x4207a1;if(_0x29d63c||!_0x5ab7ec[_0x383a27(0x167)](_0xd308c3))return;const _0x59f19d=_0x5ab7ec[_0x383a27(0x158)](_0xd308c3);this[_0x383a27(0x1cc)][_0x383a27(0x1d4)](_0x59f19d)[_0x383a27(0x1a2)][_0x383a27(0x14f)][_0x383a27(0x156)](-0x1);},{'priority':_0x4207a1(0x1e6)}),this[_0x4207a1(0x152)]=this[_0x4207a1(0x1c1)][_0x4207a1(0x1ad)][_0x4207a1(0x1d4)](_0x4207a1(0x152));const _0x266a4d=this[_0x4207a1(0x1c1)];this[_0x4207a1(0x1da)]=setInterval(()=>{const _0x2af3cd=_0x4207a1;let _0x59ef1e;for(const _0x16ea42 in _0x266a4d){const _0x41ba46=_0x16ea42,_0x4ca4f4=_0x266a4d[_0x41ba46];if(_0x2af3cd(0x1d8)==_0x4ca4f4||_0x2af3cd(0x1a7)==_0x4ca4f4||_0x2af3cd(0x1c6)==_0x4ca4f4||_0x2af3cd(0x1e9)==_0x4ca4f4||_0x2af3cd(0x16e)==_0x4ca4f4||_0x2af3cd(0x13e)==_0x4ca4f4||_0x2af3cd(0x154)==_0x4ca4f4){delete _0x266a4d[_0x41ba46],_0x59ef1e=_0x4ca4f4,clearInterval(this[_0x2af3cd(0x1da)]),this[_0x2af3cd(0x1da)]=void 0x0;break;}}_0x2af3cd(0x1a7)==_0x59ef1e&&_0x266a4d[_0x2af3cd(0x18a)](_0x2af3cd(0x18e)),_0x2af3cd(0x1c6)==_0x59ef1e&&_0x266a4d[_0x2af3cd(0x18a)](_0x2af3cd(0x172)),_0x2af3cd(0x1e9)==_0x59ef1e&&_0x266a4d[_0x2af3cd(0x18a)](_0x2af3cd(0x187)),_0x2af3cd(0x16e)==_0x59ef1e&&_0x266a4d[_0x2af3cd(0x18a)](_0x2af3cd(0x193),_0x2af3cd(0x1ab)),_0x2af3cd(0x13e)==_0x59ef1e&&_0x266a4d[_0x2af3cd(0x18a)](_0x2af3cd(0x176)),_0x2af3cd(0x154)==_0x59ef1e&&_0x266a4d[_0x2af3cd(0x18a)](_0x2af3cd(0x142));},0x3e8);}[_0x4bfee8(0x169)](_0x2b0b21){const _0x186308=_0x4bfee8,_0x6e44c1=this[_0x186308(0x1cc)][_0x186308(0x1d4)](_0x2b0b21);if(!_0x6e44c1)return null;return this[_0x186308(0x1c1)][_0x186308(0x175)][_0x186308(0x1d4)](_0x186308(0x1b3))[_0x186308(0x13f)](_0x6e44c1[_0x186308(0x1a2)])||null;}[_0x4bfee8(0x1b7)](_0x54ae38){const _0xea0a01=_0x4bfee8,_0xb59003=this[_0xea0a01(0x17b)][_0xea0a01(0x1d4)](_0x54ae38[_0xea0a01(0x1bc)]);return _0xb59003?_0xb59003[_0xea0a01(0x16d)]:null;}[_0x4bfee8(0x1a8)](){const _0x57e172=_0x4bfee8,_0x4ed1d5=this[_0x57e172(0x1c1)][_0x57e172(0x175)][_0x57e172(0x1d4)](_0x57e172(0x1b3)),_0x1a8fb0=this[_0x57e172(0x1c1)][_0x57e172(0x175)][_0x57e172(0x1d4)](_0x57e172(0x141)),_0xd9f071=Array[_0x57e172(0x144)](_0x4ed1d5[_0x57e172(0x1b4)],_0x5169aa=>_0x5169aa[_0x57e172(0x1bc)])[_0x57e172(0x1b2)](_0x231cd2=>this[_0x57e172(0x17b)][_0x57e172(0x17e)](_0x231cd2)),_0x2531e4=[];for(const _0x5a8f82 of _0xd9f071){const _0x34f0f0=this[_0x57e172(0x17b)][_0x57e172(0x1d4)](_0x5a8f82)[_0x57e172(0x16d)][_0x57e172(0x1e2)]();_0x2531e4[_0x57e172(0x1c0)](..._0x34f0f0[_0x57e172(0x149)]((_0x1af25b,_0x10447f)=>[..._0x1af25b,..._0x10447f[_0x57e172(0x19b)]()],[]));}_0x1a8fb0[_0x57e172(0x1d6)]=_0x2531e4;}[_0x4bfee8(0x181)](){const _0x423e9e=_0x4bfee8,_0x4092f5=this[_0x423e9e(0x1c1)],_0x488df5=_0x4092f5[_0x423e9e(0x1df)],_0xa05bea=_0x278b0e(_0x488df5,_0x423e9e(0x1aa)),_0x17f261=new _0xa4e6cd([{'type':_0x423e9e(0x15e),'model':new _0x4d4384({'withText':!0x0,'isToggleable':!0x0,'label':_0xa05bea,'commandName':_0x423e9e(0x189),'role':_0x423e9e(0x19c)})},{'type':_0x423e9e(0x1e4)},{'type':_0x423e9e(0x1ba),'model':new _0x4d4384({'withText':!0x0,'label':_0x278b0e(_0x488df5,_0x423e9e(0x166)),'commandName':_0x423e9e(0x190),'role':_0x423e9e(0x13b)})},{'type':_0x423e9e(0x1ba),'model':new _0x4d4384({'withText':!0x0,'label':_0x278b0e(_0x488df5,_0x423e9e(0x170)),'commandName':_0x423e9e(0x1a4),'role':_0x423e9e(0x13b)})},{'type':_0x423e9e(0x1ba),'model':new _0x4d4384({'withText':!0x0,'label':_0x278b0e(_0x488df5,_0x423e9e(0x188)),'commandName':_0x423e9e(0x18d),'role':_0x423e9e(0x13b)})},{'type':_0x423e9e(0x1ba),'model':new _0x4d4384({'withText':!0x0,'label':_0x278b0e(_0x488df5,_0x423e9e(0x145)),'commandName':_0x423e9e(0x19e),'role':_0x423e9e(0x13b)})}]);_0x4092f5[_0x423e9e(0x175)][_0x423e9e(0x17e)](_0x423e9e(0x14a))&&_0x17f261[_0x423e9e(0x1bd)]([{'type':_0x423e9e(0x1e4)},{'type':_0x423e9e(0x1ba),'model':new _0x4d4384({'withText':!0x0,'label':_0x278b0e(_0x488df5,_0x423e9e(0x1e8)),'commandName':_0x423e9e(0x163),'role':_0x423e9e(0x13b)})}]);for(const _0x305c2f of _0x17f261)if(ke(_0x305c2f)){const _0x192d8a=_0x4092f5[_0x423e9e(0x16f)][_0x423e9e(0x1d4)](_0x305c2f[_0x423e9e(0x16d)][_0x423e9e(0x1b8)]);_0x305c2f[_0x423e9e(0x16d)][_0x423e9e(0x165)](_0x423e9e(0x1c7),_0x423e9e(0x18c))['to'](_0x192d8a,_0x423e9e(0x1d0),_0x423e9e(0x18c));}_0x4092f5['ui'][_0x423e9e(0x1b6)][_0x423e9e(0x16c)](_0x423e9e(0x189),_0x302936=>this[_0x423e9e(0x1c5)](_0x302936,_0x17f261,_0xa05bea)),_0x4092f5['ui'][_0x423e9e(0x1b6)][_0x423e9e(0x16c)](_0x423e9e(0x1c3),_0x243205=>this[_0x423e9e(0x1d5)](_0x243205,_0x17f261,_0xa05bea));}[_0x4bfee8(0x1c5)](_0x4493b8,_0x1ca4cd,_0x3af401){const _0x234e09=_0x4bfee8,_0x2643cd=_0x60f381(_0x4493b8,_0x17df29),_0x1239cc=this[_0x234e09(0x1c1)][_0x234e09(0x16f)][_0x234e09(0x1d4)](_0x234e09(0x189));_0x2643cd[_0x234e09(0x1d2)][_0x234e09(0x151)]({'tooltip':_0x3af401,'label':_0x3af401,'icon':_0x103f2c}),_0x2643cd[_0x234e09(0x1d2)][_0x234e09(0x165)](_0x234e09(0x1c7))['to'](_0x1239cc,_0x234e09(0x1d0)),_0x2643cd[_0x234e09(0x1d2)]['on'](_0x234e09(0x14c),()=>{const _0x32e639=_0x234e09;_0x1239cc[_0x32e639(0x14c)](),this[_0x32e639(0x1c1)][_0x32e639(0x148)][_0x32e639(0x1a2)][_0x32e639(0x156)]();}),_0x893d26(_0x2643cd,_0x1ca4cd,{'role':_0x234e09(0x17d)});const _0xa15942=[];for(const _0x7a9e2 of _0x1ca4cd)ke(_0x7a9e2)&&_0xa15942[_0x234e09(0x1c0)](this[_0x234e09(0x1c1)][_0x234e09(0x16f)][_0x234e09(0x1d4)](_0x7a9e2[_0x234e09(0x16d)][_0x234e09(0x1b8)]));const _0x5495b4=_0x2643cd[_0x234e09(0x1d2)];return _0x5495b4[_0x234e09(0x1a1)][_0x234e09(0x1de)](_0x234e09(0x18c)),_0x5495b4[_0x234e09(0x1c2)][_0x234e09(0x1de)](_0x234e09(0x18c)),_0x5495b4[_0x234e09(0x1a1)][_0x234e09(0x165)](_0x234e09(0x18c))['to'](_0x1239cc,_0x234e09(0x18c)),_0x5495b4[_0x234e09(0x1c2)][_0x234e09(0x165)](_0x234e09(0x18c))[_0x234e09(0x192)](_0xa15942,_0x234e09(0x18c),(..._0x3a8b6e)=>_0x3a8b6e[_0x234e09(0x168)](_0x2a9b05=>_0x2a9b05)),_0x2643cd['on'](_0x234e09(0x14c),_0xd25a33=>{const _0x1c66aa=_0x234e09;this[_0x1c66aa(0x1c1)][_0x1c66aa(0x14c)](_0xd25a33[_0x1c66aa(0x15a)][_0x1c66aa(0x1b8)]),this[_0x1c66aa(0x1c1)][_0x1c66aa(0x148)][_0x1c66aa(0x1a2)][_0x1c66aa(0x156)]();}),_0x2643cd;}[_0x4bfee8(0x1d5)](_0x46124b,_0x18f5ee,_0x3c8eeb){const _0x110ac5=_0x4bfee8,_0x432e4b=new _0x1f6e8a(_0x46124b),_0x35840c=this[_0x110ac5(0x1c1)][_0x110ac5(0x16f)][_0x110ac5(0x1d4)](_0x110ac5(0x189));_0x432e4b[_0x110ac5(0x1d2)][_0x110ac5(0x151)]({'label':_0x3c8eeb,'icon':_0x103f2c});const _0x2ebbe2=new _0x291f54(_0x46124b);for(const _0x4f3ea9 of _0x18f5ee){if(_0x110ac5(0x1e4)==_0x4f3ea9[_0x110ac5(0x1cb)]){_0x2ebbe2[_0x110ac5(0x174)][_0x110ac5(0x16c)](new _0x1e791a(_0x46124b));continue;}const _0x16a378=new _0x340361(_0x46124b,_0x432e4b),_0x550b00=new _0x51136a(_0x46124b),_0x245e00=_0x4f3ea9[_0x110ac5(0x16d)];_0x550b00[_0x110ac5(0x165)](...Object[_0x110ac5(0x1ac)](_0x245e00))['to'](_0x245e00),_0x550b00[_0x110ac5(0x1b5)](_0x110ac5(0x14c))['to'](_0x432e4b),_0x550b00['on'](_0x110ac5(0x14c),()=>{const _0x40e8f7=_0x110ac5;this[_0x40e8f7(0x1c1)][_0x40e8f7(0x14c)](_0x245e00[_0x40e8f7(0x1b8)]),this[_0x40e8f7(0x1c1)][_0x40e8f7(0x148)][_0x40e8f7(0x1a2)][_0x40e8f7(0x156)]();}),_0x16a378[_0x110ac5(0x147)][_0x110ac5(0x16c)](_0x550b00),_0x2ebbe2[_0x110ac5(0x174)][_0x110ac5(0x16c)](_0x16a378);}return _0x432e4b[_0x110ac5(0x165)](_0x110ac5(0x18c))['to'](_0x35840c,_0x110ac5(0x18c)),_0x432e4b[_0x110ac5(0x17f)][_0x110ac5(0x147)][_0x110ac5(0x16c)](_0x2ebbe2),_0x432e4b;}[_0x4bfee8(0x1dc)](_0x239012){const _0x347e31=_0x4bfee8,_0x5a7636=this[_0x347e31(0x1c1)],_0x5d4aa1=_0x5a7636[_0x347e31(0x1ad)],_0x1908b1=_0x5a7636[_0x347e31(0x175)][_0x347e31(0x1d4)](_0x347e31(0x1b3)),_0x3e6a29=_0x5a7636[_0x347e31(0x175)][_0x347e31(0x1d4)](_0x347e31(0x164)),_0x4d6021=_0x5a7636[_0x347e31(0x175)][_0x347e31(0x1d4)](_0x347e31(0x173)),_0x5b396e=_0x5a7636[_0x347e31(0x175)][_0x347e31(0x1d4)](_0xa5c73c)['me'],_0x636136=_0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x189))[_0x347e31(0x186)],_0x27c5eb=_0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x189))[_0x347e31(0x1dd)],{CommentsListView:_0x1e4c74,CommentThreadInputView:_0x273e0c}=_0x5a7636[_0x347e31(0x175)][_0x347e31(0x1d4)](_0x347e31(0x1be));let _0x12f63b,_0x1d46d0,_0x246039;this[_0x347e31(0x197)][_0x347e31(0x17e)](_0x239012['id'])?(_0x1d46d0=this[_0x347e31(0x197)][_0x347e31(0x1d4)](_0x239012['id']),_0x12f63b=_0x1d46d0[_0x347e31(0x195)]):(_0x12f63b=new _0x636136(_0x5a7636[_0x347e31(0x1df)],_0x239012,_0x5b396e,{'disableComments':this[_0x347e31(0x19f)],'editorConfig':{..._0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x1cf)),'licenseKey':_0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x152))},'maxCommentsWhenCollapsed':_0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x160)),'maxThreadTotalWeight':_0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x1e5)),'maxCommentCharsWhenCollapsed':_0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x19a)),'formatDateTime':_0x367be5(_0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x1df)),_0x5a7636[_0x347e31(0x1df)]),'CommentView':_0x5d4aa1[_0x347e31(0x1d4)](_0x347e31(0x15d))[_0x347e31(0x191)],'CommentsListView':_0x1e4c74,'CommentThreadInputView':_0x273e0c,'SuggestionView':_0x27c5eb}),_0x12f63b[_0x347e31(0x17a)][_0x347e31(0x140)]['on'](_0x347e31(0x14c),()=>{const _0x229fd7=_0x347e31;_0x5a7636[_0x229fd7(0x148)][_0x229fd7(0x1a2)][_0x229fd7(0x156)]();}),_0x12f63b[_0x347e31(0x17a)][_0x347e31(0x178)]['on'](_0x347e31(0x14c),()=>{const _0x3eab31=_0x347e31;_0x5a7636[_0x3eab31(0x148)][_0x3eab31(0x1a2)][_0x3eab31(0x156)]();}),_0x1d46d0=_0x1908b1[_0x347e31(0x17c)](this[_0x347e31(0x1c1)][_0x347e31(0x1df)],_0x12f63b),_0x1d46d0[_0x347e31(0x165)](_0x347e31(0x14b))['to'](_0x12f63b,_0x347e31(0x14b)),_0x1d46d0[_0x347e31(0x165)](_0x347e31(0x18b))['to'](_0x12f63b),_0x1d46d0[_0x347e31(0x165)](_0x347e31(0x1cb))['to'](_0x12f63b,_0x347e31(0x1cb),_0x1d88ad=>_0x347e31(0x184)+_0x1d88ad),_0x12f63b['on'](_0x347e31(0x177),()=>{const _0x4e6f85=_0x347e31;_0x246039[_0x4e6f85(0x14d)](_0x4e6f85(0x177));}),this[_0x347e31(0x197)][_0x347e31(0x151)](_0x239012['id'],_0x1d46d0));const _0x431cc4=_0x3e6a29[_0x347e31(0x159)](_0x239012[_0x347e31(0x1a5)],_0x12f63b),_0xc86f34=new _0x44932d(_0x5a7636,_0x239012,_0x12f63b,_0x431cc4),_0x4b9c5a=_0x239012[_0x347e31(0x1e2)]()[_0x347e31(0x1b2)](_0xd55d1b=>_0xd55d1b[_0x347e31(0x155)]);_0x12f63b[_0x347e31(0x1e1)]=_0x5a7636[_0x347e31(0x175)][_0x347e31(0x1d4)](_0x347e31(0x141))[_0x347e31(0x1a0)][_0x347e31(0x1a9)](_0x4b9c5a),this[_0x347e31(0x1cc)][_0x347e31(0x151)](_0x239012,_0xc86f34),this[_0x347e31(0x17b)][_0x347e31(0x151)](_0x12f63b,_0xc86f34);const _0x3bfd22=()=>{const _0x1b9cdd=_0x347e31,_0x55cdb6=[],_0x45066f=_0x239012[_0x1b9cdd(0x1e2)]()[_0x1b9cdd(0x1b2)](_0x302632=>_0x302632[_0x1b9cdd(0x155)]);for(const _0x3fbbca of _0x45066f)_0x55cdb6[_0x1b9cdd(0x1c0)](..._0x3fbbca[_0x1b9cdd(0x1ce)]());return _0xcd5808(_0x5a7636[_0x1b9cdd(0x148)],_0x55cdb6);};_0x246039=_0x1908b1[_0x347e31(0x194)]({'view':_0x1d46d0,'target':_0x3bfd22,'type':()=>_0x347e31(0x184)+_0xc86f34[_0x347e31(0x1a2)][_0x347e31(0x1cb)],'isVisible':!!_0x3bfd22()}),_0x3e6a29[_0x347e31(0x182)](_0x12f63b,_0x246039),_0x1908b1[_0x347e31(0x16c)](_0x246039),_0x4d6021[_0x347e31(0x1a3)](_0x246039);}[_0x4bfee8(0x1e0)](_0x39bbec){const _0x2bc750=_0x4bfee8,_0x34170b=this[_0x2bc750(0x1c1)][_0x2bc750(0x175)][_0x2bc750(0x1d4)](_0x2bc750(0x164)),_0x2491cd=this[_0x2bc750(0x1c1)][_0x2bc750(0x175)][_0x2bc750(0x1d4)](_0x2bc750(0x1b3)),_0x5d38db=this[_0x2bc750(0x1cc)][_0x2bc750(0x1d4)](_0x39bbec),_0x5cec99=_0x5d38db[_0x2bc750(0x1a2)],_0x4d0b00=_0x2491cd[_0x2bc750(0x13f)](_0x5cec99);_0x34170b[_0x2bc750(0x13a)](_0x5cec99),_0x4d0b00&&_0x2491cd[_0x2bc750(0x179)](_0x4d0b00),this[_0x2bc750(0x1cc)][_0x2bc750(0x180)](_0x39bbec),this[_0x2bc750(0x17b)][_0x2bc750(0x180)](_0x5cec99),_0x5d38db[_0x2bc750(0x1e7)]();}[_0x4bfee8(0x15f)](_0x19019a){const _0x20d3a2=_0x4bfee8;if(!_0x19019a[_0x20d3a2(0x155)]||!this[_0x20d3a2(0x1cc)][_0x20d3a2(0x17e)](_0x19019a))return;const _0x108a2f=this[_0x20d3a2(0x1c1)][_0x20d3a2(0x175)][_0x20d3a2(0x1d4)](_0x20d3a2(0x141)),_0x1ff689=this[_0x20d3a2(0x1cc)][_0x20d3a2(0x1d4)](_0x19019a),_0x23c30c=_0x19019a[_0x20d3a2(0x1e2)]();_0x1ff689[_0x20d3a2(0x1a2)][_0x20d3a2(0x1e1)]=_0x108a2f[_0x20d3a2(0x1a0)][_0x20d3a2(0x1a9)](_0x23c30c);}[_0x4bfee8(0x1e7)](){const _0x145999=_0x4bfee8;for(const _0x4e308a of this[_0x145999(0x1cc)][_0x145999(0x1ac)]())this[_0x145999(0x1e0)](_0x4e308a);for(const _0x4b6a58 of this[_0x145999(0x197)][_0x145999(0x1b1)]())_0x4b6a58[_0x145999(0x195)][_0x145999(0x1e7)]();super[_0x145999(0x1e7)](),this[_0x145999(0x1da)]&&clearInterval(this[_0x145999(0x1da)]);}}function ke(_0x3a79a3){const _0x3c59c1=_0x4bfee8;return _0x3c59c1(0x16d)in _0x3a79a3;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x2267(_0x53e633,_0x5e9ffc){const _0x4964d0=_0x4964();return _0x2267=function(_0x226743,_0xabbc9c){_0x226743=_0x226743-0x139;let _0x24a86a=_0x4964d0[_0x226743];return _0x24a86a;},_0x2267(_0x53e633,_0x5e9ffc);}function _0x4964(){const _0x34d3e5=['2827DxVLGq','listenTo','discardSuggestion','888470HBEewr','commentThreadController','PendingActions','view','1348326DfNXcl','_acceptCommand','isDirty','228825xsixvc','72DdFdcD','canEditAt','locale','24nsmSpD','remove','canDiscard','72TkzaJd','_pendingAction','plugins','_setPendingAction','commands','model','destroy','187586OexbET','unbind','acceptSuggestion','stopListening','isEnabled','execute','bind','36820rHwbei','279105RTtIfZ','add','get','209718UnGmwO','_discardCommand','getRanges','change:isDirty','_editor','_removePendingAction','canAccept','PENDING_ACTION_SUGGESTION'];_0x4964=function(){return _0x34d3e5;};return _0x4964();}const _0x30201e=_0x2267;(function(_0xad2140,_0x29fed7){const _0x2e7d5d=_0x2267,_0x372793=_0xad2140();while(!![]){try{const _0x5aec39=-parseInt(_0x2e7d5d(0x141))/0x1+parseInt(_0x2e7d5d(0x13e))/0x2+parseInt(_0x2e7d5d(0x157))/0x3*(-parseInt(_0x2e7d5d(0x145))/0x4)+-parseInt(_0x2e7d5d(0x13a))/0x5+-parseInt(_0x2e7d5d(0x148))/0x6*(parseInt(_0x2e7d5d(0x14f))/0x7)+parseInt(_0x2e7d5d(0x142))/0x8*(parseInt(_0x2e7d5d(0x15a))/0x9)+parseInt(_0x2e7d5d(0x156))/0xa*(parseInt(_0x2e7d5d(0x162))/0xb);if(_0x5aec39===_0x29fed7)break;else _0x372793['push'](_0x372793['shift']());}catch(_0x3e4209){_0x372793['push'](_0x372793['shift']());}}}(_0x4964,0x84c6a));import{ObservableMixin as _0xa03a99}from'ckeditor5/src/utils.js';import{getTranslation as _0x2020ef}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xa03a99(){[_0x30201e(0x14d)];[_0x30201e(0x13d)];[_0x30201e(0x13b)];[_0x30201e(0x15e)];[_0x30201e(0x13f)];[_0x30201e(0x15b)];[_0x30201e(0x149)];constructor(_0x5072a3,_0x35dd9a,_0x46166b,_0x4187b2){const _0x474711=_0x30201e;super(),this[_0x474711(0x14d)]=_0x35dd9a,this[_0x474711(0x13d)]=_0x46166b,this[_0x474711(0x13b)]=_0x4187b2,this[_0x474711(0x15e)]=_0x5072a3,this[_0x474711(0x13f)]=_0x5072a3[_0x474711(0x14c)][_0x474711(0x159)](_0x474711(0x151)),this[_0x474711(0x15b)]=_0x5072a3[_0x474711(0x14c)][_0x474711(0x159)](_0x474711(0x139)),this[_0x474711(0x13d)][_0x474711(0x155)](_0x474711(0x153))['to'](this[_0x474711(0x13f)],this[_0x474711(0x15b)],(_0x3d4d81,_0x253841)=>_0x3d4d81||_0x253841),this[_0x474711(0x13d)][_0x474711(0x155)](_0x474711(0x160))['to'](this[_0x474711(0x13f)],_0x474711(0x153),_0x50da1a=>_0x50da1a&&this[_0x474711(0x15e)][_0x474711(0x14d)][_0x474711(0x143)](_0x35dd9a[_0x474711(0x15c)]())),this[_0x474711(0x13d)][_0x474711(0x155)](_0x474711(0x147))['to'](this[_0x474711(0x15b)],_0x474711(0x153),_0x3c2fd3=>_0x3c2fd3&&this[_0x474711(0x15e)][_0x474711(0x14d)][_0x474711(0x143)](_0x35dd9a[_0x474711(0x15c)]())),this[_0x474711(0x149)]=null,_0x46166b[_0x474711(0x140)]&&this[_0x474711(0x14b)](),this[_0x474711(0x163)](_0x46166b,_0x474711(0x151),()=>this[_0x474711(0x151)]()),this[_0x474711(0x163)](_0x46166b,_0x474711(0x139),()=>this[_0x474711(0x139)]()),this[_0x474711(0x163)](_0x46166b,_0x474711(0x15d),()=>{const _0x4954e3=_0x474711;_0x46166b[_0x4954e3(0x140)]?this[_0x4954e3(0x14b)]():this[_0x4954e3(0x15f)]();});}[_0x30201e(0x151)](){const _0x11d377=_0x30201e;this[_0x11d377(0x13f)][_0x11d377(0x154)](this[_0x11d377(0x14d)]['id']);}[_0x30201e(0x139)](){const _0x1c1d4b=_0x30201e;this[_0x1c1d4b(0x15b)][_0x1c1d4b(0x154)](this[_0x1c1d4b(0x14d)]['id']);}[_0x30201e(0x14e)](){const _0x147eba=_0x30201e;this[_0x147eba(0x13d)][_0x147eba(0x150)](_0x147eba(0x153)),this[_0x147eba(0x13d)][_0x147eba(0x150)](_0x147eba(0x160)),this[_0x147eba(0x13d)][_0x147eba(0x150)](_0x147eba(0x147)),this[_0x147eba(0x152)](),this[_0x147eba(0x13b)][_0x147eba(0x14e)](),this[_0x147eba(0x149)]&&this[_0x147eba(0x15f)]();}[_0x30201e(0x14b)](){const _0x448033=_0x30201e,_0x141ba2=_0x2020ef(this[_0x448033(0x15e)][_0x448033(0x144)],_0x448033(0x161));this[_0x448033(0x149)]=this[_0x448033(0x15e)][_0x448033(0x14a)][_0x448033(0x159)](_0x448033(0x13c))[_0x448033(0x158)](_0x141ba2);}[_0x30201e(0x15f)](){const _0x580d88=_0x30201e;null!==this[_0x580d88(0x149)]&&this[_0x580d88(0x15e)][_0x580d88(0x14a)][_0x580d88(0x159)](_0x580d88(0x13c))[_0x580d88(0x146)](this[_0x580d88(0x149)]),this[_0x580d88(0x149)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x22c4(){const _0x12f901=['_model','setData','canDiscard','showInput','editor','descriptionParts','isReadOnly','text/html','1418439opHZGy','destroy','render','3466812PbYuQB','authoredAt','tab','length','_createCommentViews','focusCycler','cancel','locale','element','commentThread','54508nnEUcp','focus','target','delegate','disableComments','fire','content','1KzJtDk','name','focusTracker','isActive','map','join','addComment','CommentView','body','updateComment','canAccept','_localUser','ariaDescriptionView','commentThreadInputView','commentInputView','_createCommentThreadInputView','author','ariaLabel','submit','bind','assign','554306rZowco','15wgtYnU','7740816XUhZNE','focusables','isDirty','SUGGESTION_THREAD_ARIA_LABEL','removeComment','formatDateTime','set','10716948mNSNgi','commentsListView','5544868WiCstt','value','keystrokes','shift+tab','isEnabled','hasDirtyComment','parseFromString','editorConfig','SUGGESTION_THREAD_DESCRIPTION','textContent','_config','disabledSubmit'];_0x22c4=function(){return _0x12f901;};return _0x22c4();}const _0x48ad2c=_0xbb21;function _0xbb21(_0x14474c,_0x29acd2){const _0x22c41e=_0x22c4();return _0xbb21=function(_0xbb2178,_0x10a243){_0xbb2178=_0xbb2178-0x195;let _0x484c4a=_0x22c41e[_0xbb2178];return _0x484c4a;},_0xbb21(_0x14474c,_0x29acd2);}(function(_0x2b6ea6,_0xa7c830){const _0x156af8=_0xbb21,_0x4abb59=_0x2b6ea6();while(!![]){try{const _0x386047=parseInt(_0x156af8(0x1c3))/0x1*(-parseInt(_0x156af8(0x1d8))/0x2)+parseInt(_0x156af8(0x1af))/0x3+parseInt(_0x156af8(0x1bc))/0x4*(-parseInt(_0x156af8(0x1d9))/0x5)+-parseInt(_0x156af8(0x1b2))/0x6+parseInt(_0x156af8(0x19b))/0x7+-parseInt(_0x156af8(0x1da))/0x8+parseInt(_0x156af8(0x199))/0x9;if(_0x386047===_0xa7c830)break;else _0x4abb59['push'](_0x4abb59['shift']());}catch(_0x28a386){_0x4abb59['push'](_0x4abb59['shift']());}}}(_0x22c4,0x9098f));import{FocusCycler as _0x2c8864,View as _0xb4bc1a,ViewCollection as _0x23df73}from'ckeditor5/src/ui.js';import{FocusTracker as _0x326de7,KeystrokeHandler as _0x5cbf69}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x10d09e,setupThreadKeyboardNavigation as _0x2f82fe}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x2cbb2f}from'../../utils/common-translations.js';import{renderDescription as _0x4c0c99}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0xb4bc1a{[_0x48ad2c(0x19a)];[_0x48ad2c(0x1d0)];[_0x48ad2c(0x1cf)];[_0x48ad2c(0x1db)];[_0x48ad2c(0x1c5)];[_0x48ad2c(0x19d)];[_0x48ad2c(0x1b7)];[_0x48ad2c(0x1a7)];[_0x48ad2c(0x1ce)];[_0x48ad2c(0x1a5)];constructor(_0x39be04,_0x87c76d,_0x2bb7ff,_0x1a639d){const _0x5c1037=_0x48ad2c;super(_0x39be04),this[_0x5c1037(0x19a)]=null,this[_0x5c1037(0x1d0)]=null,this[_0x5c1037(0x1cf)]=new _0x10d09e(_0x39be04,_0x2cbb2f(_0x39be04,_0x5c1037(0x1a3))),this[_0x5c1037(0x198)](_0x5c1037(0x1c6),!0x1),this[_0x5c1037(0x198)](_0x5c1037(0x1b3),_0x87c76d[_0x5c1037(0x1b3)]),this[_0x5c1037(0x1d6)](_0x5c1037(0x1b3))['to'](_0x87c76d),this[_0x5c1037(0x198)](_0x5c1037(0x1ac),[]),this[_0x5c1037(0x198)](_0x5c1037(0x1dc),!0x1),this[_0x5c1037(0x198)](_0x5c1037(0x19f),!0x1),this[_0x5c1037(0x198)](_0x5c1037(0x1cd),!0x1),this[_0x5c1037(0x198)](_0x5c1037(0x1a9),!0x1),this[_0x5c1037(0x1d6)](_0x5c1037(0x1d4))['to'](this,_0x5c1037(0x1b5),_0x87c76d,_0x5c1037(0x1b3),this,_0x5c1037(0x1ac),(_0x586144,_0x5b6958,_0x313bd2)=>{const _0x17e3a6=_0x5c1037,_0x2092f5=_0x313bd2[_0x17e3a6(0x1c7)](_0x290ad9=>_0x4c0c99(_0x290ad9[_0x17e3a6(0x1c2)]))[_0x17e3a6(0x1c8)]('.\x20')+'.';return _0x2cbb2f(this[_0x17e3a6(0x1b9)],_0x17e3a6(0x195),[_0x586144-0x1,_0x87c76d[_0x17e3a6(0x1d3)][_0x17e3a6(0x1c4)],_0x5b6958?_0x1a639d[_0x17e3a6(0x197)](_0x5b6958):'',new DOMParser()[_0x17e3a6(0x1a1)](_0x2092f5,_0x17e3a6(0x1ae))[_0x17e3a6(0x1cb)][_0x17e3a6(0x1a4)]]);}),this[_0x5c1037(0x1db)]=new _0x23df73(),this[_0x5c1037(0x1c5)]=new _0x326de7(),this[_0x5c1037(0x19d)]=new _0x5cbf69(),this[_0x5c1037(0x1b7)]=new _0x2c8864({'focusables':this[_0x5c1037(0x1db)],'focusTracker':this[_0x5c1037(0x1c5)],'keystrokeHandler':this[_0x5c1037(0x19d)],'keystrokeHandlerOptions':{'filter':_0x383b7a=>_0x383b7a[_0x5c1037(0x1be)]!==this[_0x5c1037(0x1ba)]},'actions':{'focusPrevious':_0x5c1037(0x19e),'focusNext':_0x5c1037(0x1b4)}}),this[_0x5c1037(0x1a7)]=_0x87c76d,this[_0x5c1037(0x1ce)]=_0x2bb7ff,this[_0x5c1037(0x1a5)]=_0x1a639d,_0x1a639d[_0x5c1037(0x1c0)]?this[_0x5c1037(0x198)](_0x5c1037(0x1b5),0x1):this[_0x5c1037(0x1b6)]();}[_0x48ad2c(0x1b1)](){const _0xc55475=_0x48ad2c;super[_0xc55475(0x1b1)](),_0x2f82fe(this,this[_0xc55475(0x1db)]);}[_0x48ad2c(0x1bd)](){const _0x57f110=_0x48ad2c;this[_0x57f110(0x1ba)][_0x57f110(0x1bd)]();}[_0x48ad2c(0x1b0)](){const _0x14e909=_0x48ad2c;this[_0x14e909(0x19a)]&&this[_0x14e909(0x19a)][_0x14e909(0x1b0)](),this[_0x14e909(0x1d0)]&&this[_0x14e909(0x1d0)][_0x14e909(0x1b0)](),super[_0x14e909(0x1b0)]();}[_0x48ad2c(0x1b6)](){const _0x6140a0=_0x48ad2c,{CommentsListView:_0x3a1247}=this[_0x6140a0(0x1a5)];this[_0x6140a0(0x19a)]=new _0x3a1247(this[_0x6140a0(0x1b9)],this[_0x6140a0(0x1a7)][_0x6140a0(0x1bb)],Object[_0x6140a0(0x1d7)]({'CommentView':this[_0x6140a0(0x1a5)][_0x6140a0(0x1ca)]},this[_0x6140a0(0x1a5)])),this[_0x6140a0(0x19a)][_0x6140a0(0x1bf)](_0x6140a0(0x196))['to'](this),this[_0x6140a0(0x19a)][_0x6140a0(0x1bf)](_0x6140a0(0x1cc))['to'](this),this[_0x6140a0(0x19a)][_0x6140a0(0x1d6)](_0x6140a0(0x1c6))['to'](this),this[_0x6140a0(0x198)](_0x6140a0(0x1b5),this[_0x6140a0(0x19a)][_0x6140a0(0x1b5)]+0x1),this[_0x6140a0(0x1d6)](_0x6140a0(0x1b5))['to'](this[_0x6140a0(0x19a)],_0x6140a0(0x1b5),_0x12e2ef=>_0x12e2ef+0x1),this[_0x6140a0(0x1d0)]=this[_0x6140a0(0x1d2)](),this['on'](_0x6140a0(0x196),()=>this[_0x6140a0(0x1bd)]()),this[_0x6140a0(0x1d6)](_0x6140a0(0x1dc))['to'](this[_0x6140a0(0x19a)],_0x6140a0(0x1a0),this[_0x6140a0(0x1d0)][_0x6140a0(0x1d1)],_0x6140a0(0x19c),(_0x5f0c7c,_0x3206ea)=>_0x5f0c7c||!!_0x3206ea);}[_0x48ad2c(0x1d2)](){const _0x4c76dd=_0x48ad2c,{CommentThreadInputView:_0x4fb7f3}=this[_0x4c76dd(0x1a5)],_0xe1d780=new _0x4fb7f3(this[_0x4c76dd(0x1b9)],this[_0x4c76dd(0x1ce)],this[_0x4c76dd(0x1a5)][_0x4c76dd(0x1a2)]),_0x3315e2=_0xe1d780[_0x4c76dd(0x1d1)];return _0xe1d780[_0x4c76dd(0x1d6)](_0x4c76dd(0x1aa))['to'](this,_0x4c76dd(0x1c6),this[_0x4c76dd(0x1a7)][_0x4c76dd(0x1bb)],_0x4c76dd(0x1ad),_0x3315e2,_0x4c76dd(0x19c),(_0x29462d,_0x42dbc4,_0x1a5cbd)=>!!_0x1a5cbd||_0x29462d&&!_0x42dbc4),_0x3315e2['on'](_0x4c76dd(0x1d5),(_0x6e0eea,_0x58e3b2)=>{const _0xfb7f25=_0x4c76dd;this[_0xfb7f25(0x1c1)](_0xfb7f25(0x1c9),_0x58e3b2),_0x3315e2[_0xfb7f25(0x1ab)][_0xfb7f25(0x1a8)]('');}),_0x3315e2['on'](_0x4c76dd(0x1b8),()=>this[_0x4c76dd(0x1bd)]()),_0x3315e2[_0x4c76dd(0x1d6)](_0x4c76dd(0x1a6))['to'](this[_0x4c76dd(0x1a7)][_0x4c76dd(0x1bb)],_0x4c76dd(0x1ad)),_0xe1d780;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x36f2(){const _0x44a5b0=['discardButton','acceptButton','isActive','ck-rounded-corners','819018YjiLHq','ariaDescriptionView','isEnabled','focusables','canDiscard','ck-suggestion-wrapper','render','_config','</p>','acceptSuggestion','ck-suggestion-','discardSuggestion','descriptionParts','editorDestroyed','disableComments','suggestionView','delegate','commentThreadInputView','add','20sKnmkb','<p>','content','commentThread','ck-suggestion--disabled-comments','ck-suggestion-wrapper--active','setTemplate','ariaLabel','set','editorReady','_descriptionElement','877875DRpeys','author','getTemplate','bindTemplate','div','_model','8300MykWOx','formatDateTime','listitem','SuggestionView','1073829RTXLLm','canAccept','description','48SxZhtM','type','bind','494963qZvTID','616779oTMJvN','2156yZFcNt','commentsListView','push','2202936pEzAOV','color'];_0x36f2=function(){return _0x44a5b0;};return _0x36f2();}function _0x546c(_0x37582e,_0x132d7c){const _0x36f274=_0x36f2();return _0x546c=function(_0x546c43,_0x1d4e42){_0x546c43=_0x546c43-0xf9;let _0x4b5aa9=_0x36f274[_0x546c43];return _0x4b5aa9;},_0x546c(_0x37582e,_0x132d7c);}const _0x6457c7=_0x546c;(function(_0x2a60e3,_0x35c869){const _0x335da2=_0x546c,_0x24e7db=_0x2a60e3();while(!![]){try{const _0x10e98f=parseInt(_0x335da2(0x113))/0x1+parseInt(_0x335da2(0x124))/0x2+parseInt(_0x335da2(0x109))/0x3+parseInt(_0x335da2(0x11b))/0x4*(-parseInt(_0x335da2(0x10f))/0x5)+-parseInt(_0x335da2(0x116))/0x6*(parseInt(_0x335da2(0x119))/0x7)+parseInt(_0x335da2(0x11e))/0x8+parseInt(_0x335da2(0x11a))/0x9*(parseInt(_0x335da2(0xfe))/0xa);if(_0x10e98f===_0x35c869)break;else _0x24e7db['push'](_0x24e7db['shift']());}catch(_0x1dda0b){_0x24e7db['push'](_0x24e7db['shift']());}}}(_0x36f2,0xb1bac));import{BaseSuggestionThreadView as _0x4aae27}from'./basesuggestionthreadview.js';import{trimHtml as _0x3e6f5e}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x3fd9dd}from'../../utils/utils.js';export class SuggestionThreadView extends _0x4aae27{[_0x6457c7(0xfa)];[_0x6457c7(0x108)];constructor(_0x4427a8,_0x1e7336,_0x142196,_0x2db10f){const _0x1b0e6=_0x6457c7;super(_0x4427a8,_0x1e7336,_0x142196,_0x2db10f),this[_0x1b0e6(0x106)](_0x1b0e6(0x117),''),this[_0x1b0e6(0x118)](_0x1b0e6(0x117))['to'](this,_0x1b0e6(0x130),_0x1f607b=>_0x1f607b&&_0x1f607b[0x0]?_0x1f607b[0x0][_0x1b0e6(0x117)]:''),this[_0x1b0e6(0x118)](_0x1b0e6(0x115))['to'](this,_0x1b0e6(0x130),this,_0x1b0e6(0x122),(_0x39ead2,_0x3f78fa)=>{const _0x40476d=_0x1b0e6;let _0x57c76d='';for(const _0x16ec3b of _0x39ead2)_0x57c76d+=_0x40476d(0xff)+_0x3fd9dd(_0x16ec3b[_0x40476d(0x100)],_0x16ec3b[_0x40476d(0x11f)])+_0x40476d(0x12c);return _0x3f78fa?_0x57c76d:_0x3e6f5e(_0x57c76d,{'limit':0x8c});}),this[_0x1b0e6(0x108)]=null,this[_0x1b0e6(0xfa)]=new _0x2db10f[(_0x1b0e6(0x112))](_0x4427a8,_0x1e7336,{'formatDateTime':_0x2db10f[_0x1b0e6(0x110)]}),this[_0x1b0e6(0xfa)][_0x1b0e6(0x118)](_0x1b0e6(0x115))['to'](this),this[_0x1b0e6(0xfa)][_0x1b0e6(0xfb)](_0x1b0e6(0x12d),_0x1b0e6(0x12f))['to'](this),this[_0x1b0e6(0xfa)][_0x1b0e6(0x121)][_0x1b0e6(0x118)](_0x1b0e6(0x126))['to'](this,_0x1b0e6(0x114)),this[_0x1b0e6(0xfa)][_0x1b0e6(0x120)][_0x1b0e6(0x118)](_0x1b0e6(0x126))['to'](this,_0x1b0e6(0x128)),this[_0x1b0e6(0x127)][_0x1b0e6(0xfd)](this[_0x1b0e6(0xfa)]),this[_0x1b0e6(0x11c)]&&this[_0x1b0e6(0x127)][_0x1b0e6(0xfd)](this[_0x1b0e6(0x11c)]),this[_0x1b0e6(0xfc)]&&this[_0x1b0e6(0x127)][_0x1b0e6(0xfd)](this[_0x1b0e6(0xfc)]),this[_0x1b0e6(0x104)](this[_0x1b0e6(0x10b)]());}[_0x6457c7(0x10b)](){const _0xb312a2=_0x6457c7,_0x1e2e30=this[_0xb312a2(0x10c)],_0xa695b1=[this[_0xb312a2(0xfa)]];return this[_0xb312a2(0x11c)]&&_0xa695b1[_0xb312a2(0x11d)](this[_0xb312a2(0x11c)]),this[_0xb312a2(0xfc)]&&_0xa695b1[_0xb312a2(0x11d)](this[_0xb312a2(0xfc)]),_0xa695b1[_0xb312a2(0x11d)](this[_0xb312a2(0x125)]),{'tag':_0xb312a2(0x10d),'attributes':{'class':['ck',_0xb312a2(0x123),_0xb312a2(0x129),_0x1e2e30['if'](_0xb312a2(0x122),_0xb312a2(0x103)),_0x1e2e30['to'](_0xb312a2(0x117),_0x43e47b=>_0xb312a2(0x12e)+_0x43e47b),this[_0xb312a2(0x12b)][_0xb312a2(0xf9)]&&_0xb312a2(0x102)],'data-suggestion-id':this[_0xb312a2(0x10e)]['id'],'data-thread-id':this[_0xb312a2(0x10e)][_0xb312a2(0x101)]['id'],'data-author-id':this[_0xb312a2(0x10e)][_0xb312a2(0x10a)]['id'],'tabindex':0x0,'role':_0xb312a2(0x111),'aria-label':_0x1e2e30['to'](_0xb312a2(0x105)),'aria-describedby':this[_0xb312a2(0x125)]['id']},'children':_0xa695b1};}[_0x6457c7(0x12a)](){const _0x4bc979=_0x6457c7;super[_0x4bc979(0x12a)](),this[_0x4bc979(0x11c)]&&(this[_0x4bc979(0x11c)][_0x4bc979(0xfb)](_0x4bc979(0x107))['to'](this),this[_0x4bc979(0x11c)][_0x4bc979(0xfb)](_0x4bc979(0x131))['to'](this)),this[_0x4bc979(0xfc)]&&(this[_0x4bc979(0xfc)][_0x4bc979(0xfb)](_0x4bc979(0x107))['to'](this),this[_0x4bc979(0xfc)][_0x4bc979(0xfb)](_0x4bc979(0x131))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x129d5e=_0x5eb1;(function(_0x4a038e,_0x538b14){const _0x431882=_0x5eb1,_0x48ee35=_0x4a038e();while(!![]){try{const _0x4ddb5f=-parseInt(_0x431882(0x1b9))/0x1+-parseInt(_0x431882(0x19d))/0x2*(-parseInt(_0x431882(0x17f))/0x3)+-parseInt(_0x431882(0x190))/0x4*(parseInt(_0x431882(0x1bf))/0x5)+-parseInt(_0x431882(0x1af))/0x6+parseInt(_0x431882(0x1c1))/0x7+-parseInt(_0x431882(0x17d))/0x8+-parseInt(_0x431882(0x19f))/0x9*(-parseInt(_0x431882(0x1c6))/0xa);if(_0x4ddb5f===_0x538b14)break;else _0x48ee35['push'](_0x48ee35['shift']());}catch(_0x4a45c2){_0x48ee35['push'](_0x48ee35['shift']());}}}(_0x3495,0x9dbdc));import{FocusTracker as _0x2710af,KeystrokeHandler as _0x43e6cb}from'ckeditor5/src/utils.js';import{View as _0x214f3e,ViewCollection as _0x595b49,FocusCycler as _0x542e06}from'ckeditor5/src/ui.js';function _0x5eb1(_0xb1746b,_0x571135){const _0x3495b6=_0x3495();return _0x5eb1=function(_0x5eb154,_0x41899b){_0x5eb154=_0x5eb154-0x170;let _0x1c042d=_0x3495b6[_0x5eb154];return _0x1c042d;},_0x5eb1(_0xb1746b,_0x571135);}function _0x3495(){const _0x332b73=['ck-comment__info-time','name','_setupKeyboardNavigation','ck-suggestion__actions','bindTemplate','ck-annotation__content-wrapper','3028040cHzRoR','execute','75591CtyqFv','setTemplate','tab','ck-suggestion','Accept\x20suggestion','getUserViewNotificationText','div','locale','_config','set','attributes','fire','element','extendTemplate','presentation','_createButton','importWord','442324weRtcD','ck-annotation','ck-annotation__user','acceptSuggestion','ck-suggestion--discard','listenTo','change:description','esc','userView','ck-annotation__actions','ck-suggestion__main','author','span','8pVXrhi','.ck-annotation__content-wrapper','9zbbUKO','getTemplate','push','discardSuggestion','add','focus','acceptButton','ck-suggestion__info-name','source','formatDateTime','Discard\x20suggestion','ck-suggestion--accept','target','isExternal','description','focusCycler','5058036WumirZ','authoredAt','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__user','render','ck-annotation__info-time','creator','ck-annotation__info','focusTracker','enter','807384bjSWqn','ck-annotation__info-name','ck-annotation__main','ck-suggestion__info','focusFirst','shift+tab','35HJivWK','focusables','5317123KxeZcW','querySelector','bind','EXTERNAL_AVATAR','_model','25886930yCcbgQ','keystrokes','getExternalSuggestionNote','ck-comment__external','innerHTML','time','EXTERNAL_IMPORT_WORD_SUGGESTION','@external','discardButton','EXTERNAL_SUGGESTION'];_0x3495=function(){return _0x332b73;};return _0x3495();}import{LateFocusButtonView as _0x32fd50,UserView as _0x3ba153}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x43abec,IconCheck as _0x4e0c4d}from'ckeditor5/src/icons.js';import{getTranslation as _0x4f9fe1}from'../../utils/common-translations.js';export class SuggestionView extends _0x214f3e{[_0x129d5e(0x198)];[_0x129d5e(0x1a5)];[_0x129d5e(0x175)];[_0x129d5e(0x1c0)];[_0x129d5e(0x1b7)];[_0x129d5e(0x1c7)];[_0x129d5e(0x1ae)];[_0x129d5e(0x1c5)];[_0x129d5e(0x187)];constructor(_0x1d57d1,_0x2eaaf0,_0x17d2a2){const _0x1fec95=_0x129d5e;super(_0x1d57d1),this[_0x1fec95(0x1c5)]=_0x2eaaf0,this[_0x1fec95(0x187)]=_0x17d2a2,this[_0x1fec95(0x188)](_0x1fec95(0x1ad),''),this[_0x1fec95(0x1c3)](_0x1fec95(0x1b0))['to'](_0x2eaaf0),this[_0x1fec95(0x1a5)]=this[_0x1fec95(0x18e)](_0x4f9fe1(_0x1d57d1,_0x1fec95(0x183)),_0x4e0c4d,_0x1fec95(0x1aa),_0x1fec95(0x193),'sw'),this[_0x1fec95(0x175)]=this[_0x1fec95(0x18e)](_0x4f9fe1(_0x1d57d1,_0x1fec95(0x1a9)),_0x43abec,_0x1fec95(0x194),_0x1fec95(0x1a2),'sw'),this[_0x1fec95(0x198)]=new _0x3ba153(_0x1d57d1,_0x2eaaf0[_0x1fec95(0x19b)],this[_0x1fec95(0x184)]()),this[_0x1fec95(0x198)][_0x1fec95(0x18c)]({'attributes':{'class':[_0x1fec95(0x1b2),_0x1fec95(0x192)],'aria-hidden':!0x0}}),this[_0x1fec95(0x1c0)]=new _0x595b49([this[_0x1fec95(0x1a5)],this[_0x1fec95(0x175)]]),this[_0x1fec95(0x1b7)]=new _0x2710af(),this[_0x1fec95(0x1c7)]=new _0x43e6cb(),this[_0x1fec95(0x1ae)]=new _0x542e06({'focusables':this[_0x1fec95(0x1c0)],'focusTracker':this[_0x1fec95(0x1b7)],'keystrokeHandler':this[_0x1fec95(0x1c7)],'actions':{'focusPrevious':_0x1fec95(0x1be),'focusNext':_0x1fec95(0x181)},'keystrokeHandlerOptions':{'filter':_0x179249=>_0x179249[_0x1fec95(0x1ab)]!==this[_0x1fec95(0x18b)]}}),this[_0x1fec95(0x180)](this[_0x1fec95(0x1a0)]());}[_0x129d5e(0x1b3)](){const _0x37053c=_0x129d5e;super[_0x37053c(0x1b3)]();const _0x149b66=this[_0x37053c(0x18b)][_0x37053c(0x1c2)](_0x37053c(0x19e));_0x149b66[_0x37053c(0x171)]=this[_0x37053c(0x1ad)],this['on'](_0x37053c(0x196),(_0x5ae87d,_0x2f9742,_0x2e0d82)=>{const _0x430969=_0x37053c;_0x149b66[_0x430969(0x171)]=_0x2e0d82;}),this[_0x37053c(0x179)]();}[_0x129d5e(0x1a0)](){const _0x3799d1=_0x129d5e,_0x196408=this[_0x3799d1(0x17b)],_0x5d87f0=[{'tag':_0x3799d1(0x185),'attributes':{'class':[_0x3799d1(0x1bc),_0x3799d1(0x1b6)]},'children':[{'tag':_0x3799d1(0x19c),'children':[{'text':this[_0x3799d1(0x198)][_0x3799d1(0x178)]}],'attributes':{'class':[_0x3799d1(0x1a6),_0x3799d1(0x1ba)],'data-cke-tooltip-text':this[_0x3799d1(0x198)][_0x3799d1(0x178)]}},{'tag':_0x3799d1(0x172),'attributes':{'datetime':_0x196408['to'](_0x3799d1(0x1b0)),'class':[_0x3799d1(0x177),_0x3799d1(0x1b4)]},'children':[{'text':_0x196408['to'](_0x3799d1(0x1b0),_0x16844b=>this[_0x3799d1(0x187)][_0x3799d1(0x1a8)](_0x16844b))}]}]},{'tag':_0x3799d1(0x185),'attributes':{'class':[_0x3799d1(0x17a),_0x3799d1(0x199)]},'children':[this[_0x3799d1(0x1a5)],this[_0x3799d1(0x175)]]},{'tag':_0x3799d1(0x185),'attributes':{'class':[_0x3799d1(0x17c)]}}];return this[_0x3799d1(0x1c5)][_0x3799d1(0x1ac)]&&_0x5d87f0[_0x3799d1(0x1a1)]({'tag':_0x3799d1(0x185),'attributes':{'class':[_0x3799d1(0x170)]},'children':[{'text':this[_0x3799d1(0x1c8)]()}]}),{'tag':_0x3799d1(0x185),'attributes':{'class':[_0x3799d1(0x182),_0x3799d1(0x191)],'tabindex':-0x1},'children':[this[_0x3799d1(0x198)],{'tag':_0x3799d1(0x185),'attributes':{'class':[_0x3799d1(0x19a),_0x3799d1(0x1bb)],'role':_0x3799d1(0x18d)},'children':_0x5d87f0}]};}[_0x129d5e(0x1a4)](){const _0x1aa872=_0x129d5e;this[_0x1aa872(0x18b)][_0x1aa872(0x1a4)]();}[_0x129d5e(0x184)](){const _0x508338=_0x129d5e;return this[_0x508338(0x1c5)][_0x508338(0x1ac)]?_0x508338(0x18f)===this[_0x508338(0x1c5)][_0x508338(0x189)][_0x508338(0x174)][_0x508338(0x1a7)]?_0x4f9fe1(this[_0x508338(0x186)],_0x508338(0x1b1),this[_0x508338(0x1c5)][_0x508338(0x1b5)][_0x508338(0x178)]):_0x4f9fe1(this[_0x508338(0x186)],_0x508338(0x1c4),this[_0x508338(0x1c5)][_0x508338(0x1b5)][_0x508338(0x178)]):null;}[_0x129d5e(0x1c8)](){const _0x29e9e2=_0x129d5e;return _0x29e9e2(0x18f)===this[_0x29e9e2(0x1c5)][_0x29e9e2(0x189)][_0x29e9e2(0x174)][_0x29e9e2(0x1a7)]?_0x4f9fe1(this[_0x29e9e2(0x186)],_0x29e9e2(0x173)):_0x4f9fe1(this[_0x29e9e2(0x186)],_0x29e9e2(0x176));}[_0x129d5e(0x18e)](_0x8100e,_0xf309ee,_0x143ac1,_0x5a603b,_0x46f44e){const _0x4bc0ee=_0x129d5e,_0x410eca=new _0x32fd50(this[_0x4bc0ee(0x186)]);return _0x410eca[_0x4bc0ee(0x188)]({'label':_0x8100e,'icon':_0xf309ee,'tooltip':!0x0,'tooltipPosition':_0x46f44e}),_0x410eca[_0x4bc0ee(0x18c)]({'attributes':{'class':_0x143ac1}}),_0x410eca['on'](_0x4bc0ee(0x17e),()=>{const _0x587119=_0x4bc0ee;this[_0x587119(0x18a)](_0x5a603b,this[_0x587119(0x1c5)]['id']);}),_0x410eca;}[_0x129d5e(0x179)](){const _0x574aa5=_0x129d5e,_0x22e95e=this[_0x574aa5(0x18b)];this[_0x574aa5(0x1c7)][_0x574aa5(0x195)](_0x22e95e);for(const _0xfaa04b of this[_0x574aa5(0x1c0)])this[_0x574aa5(0x1b7)][_0x574aa5(0x1a3)](_0xfaa04b[_0x574aa5(0x18b)]),this[_0x574aa5(0x1c7)][_0x574aa5(0x195)](_0xfaa04b[_0x574aa5(0x18b)]);this[_0x574aa5(0x1c7)][_0x574aa5(0x188)](_0x574aa5(0x1b8),(_0x47f555,_0x3e6a53)=>{const _0x247471=_0x574aa5;_0x22e95e===_0x47f555[_0x247471(0x1ab)]&&(this[_0x247471(0x1ae)][_0x247471(0x1bd)](),_0x3e6a53());}),this[_0x574aa5(0x1c7)][_0x574aa5(0x188)](_0x574aa5(0x197),(_0x2463ad,_0x4a6e7e)=>{const _0x21ad8f=_0x574aa5;_0x22e95e!==_0x2463ad[_0x21ad8f(0x1ab)]&&(this[_0x21ad8f(0x1a4)](),_0x4a6e7e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x54fe(){const _0x22f3cd=['setAttribute','ck-track-changes-preview','push','6qoUmNc','previewDataReady','focus','50PqvNvF','14489PvmeqM','2156555LvbeDq','width','setPreviewData','data-ck-root-name','fire','height','12gMxXhx','2102000NDcfJT','\x20ck-track-changes-preview__root-container','10590415JFbGwK','3683057ZxFsxA','content','createElement','element','div','4CrPmZG','ck-reset','dialogRects','className','9xpjZvo','render','options','style','363882BEKZyj','classes','innerHTML','2253256KJrrwe','setTemplate'];_0x54fe=function(){return _0x22f3cd;};return _0x54fe();}function _0x4fdf(_0x50b979,_0x356b7d){const _0x54fe2e=_0x54fe();return _0x4fdf=function(_0x4fdf44,_0x3c622d){_0x4fdf44=_0x4fdf44-0xa1;let _0x4f4071=_0x54fe2e[_0x4fdf44];return _0x4f4071;},_0x4fdf(_0x50b979,_0x356b7d);}const _0x921c01=_0x4fdf;(function(_0x2957d,_0x13fa8e){const _0x8b60e8=_0x4fdf,_0x1dbba5=_0x2957d();while(!![]){try{const _0x318c52=parseInt(_0x8b60e8(0xc0))/0x1*(-parseInt(_0x8b60e8(0xbf))/0x2)+-parseInt(_0x8b60e8(0xb4))/0x3*(-parseInt(_0x8b60e8(0xac))/0x4)+-parseInt(_0x8b60e8(0xc1))/0x5+-parseInt(_0x8b60e8(0xbc))/0x6*(-parseInt(_0x8b60e8(0xa7))/0x7)+parseInt(_0x8b60e8(0xb7))/0x8*(-parseInt(_0x8b60e8(0xb0))/0x9)+-parseInt(_0x8b60e8(0xa4))/0xa+-parseInt(_0x8b60e8(0xa6))/0xb*(-parseInt(_0x8b60e8(0xa3))/0xc);if(_0x318c52===_0x13fa8e)break;else _0x1dbba5['push'](_0x1dbba5['shift']());}catch(_0x361b98){_0x1dbba5['push'](_0x1dbba5['shift']());}}}(_0x54fe,0x4f4d1));import{View as _0x56ef79}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x56ef79{[_0x921c01(0xb2)];constructor(_0x31b754,_0x397b90){const _0x45cbd6=_0x921c01;super(_0x31b754),this[_0x45cbd6(0xb2)]=_0x397b90,this[_0x45cbd6(0xb8)]({'tag':_0x45cbd6(0xab),'attributes':{'class':['ck',_0x45cbd6(0xad),_0x45cbd6(0xba)],'tabindex':-0x1}});}[_0x921c01(0xb1)](){const _0x3d61aa=_0x921c01;super[_0x3d61aa(0xb1)](),this[_0x3d61aa(0xaa)][_0x3d61aa(0xb3)][_0x3d61aa(0xc2)]=this[_0x3d61aa(0xb2)][_0x3d61aa(0xae)][_0x3d61aa(0xc2)]+'px',this[_0x3d61aa(0xaa)][_0x3d61aa(0xb3)][_0x3d61aa(0xa2)]=this[_0x3d61aa(0xb2)][_0x3d61aa(0xae)][_0x3d61aa(0xa2)]+'px';}[_0x921c01(0xc3)](_0x37e1b6,_0x1973c5){const _0x493baa=_0x921c01;if(!this[_0x493baa(0xaa)])return;const _0x4901ae=[];for(const [_0x2d99e3,_0x2ab51f]of _0x37e1b6){const _0x269fd3=document[_0x493baa(0xa9)](_0x493baa(0xab));_0x269fd3[_0x493baa(0xb9)](_0x493baa(0xc4),_0x2d99e3),_0x269fd3[_0x493baa(0xaf)]=_0x2ab51f[_0x493baa(0xb5)]+_0x493baa(0xa5),_0x269fd3[_0x493baa(0xb6)]=_0x2ab51f[_0x493baa(0xa8)],_0x4901ae[_0x493baa(0xbb)](_0x269fd3);}_0x1973c5(this[_0x493baa(0xaa)],_0x4901ae),this[_0x493baa(0xaa)][_0x493baa(0xb3)][_0x493baa(0xa2)]='',this[_0x493baa(0xa1)](_0x493baa(0xbd));}[_0x921c01(0xbe)](){const _0x288515=_0x921c01;this[_0x288515(0xaa)][_0x288515(0xbe)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xadf98b,_0x13bc37,_0x194ade){const _0x2ba3a9=_0xadf98b['t'],t=_0xadf98b['t'];switch(_0x13bc37){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',_0x194ade);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x194ade);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x194ade);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x194ade);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x194ade);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',_0x194ade);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x194ade);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',_0x194ade);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x194ade);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x194ade);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x194ade);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x194ade);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x194ade);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x194ade);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x194ade);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x194ade);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x194ade);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x194ade);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x194ade);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x194ade);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x194ade);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x194ade);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x194ade);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x194ade);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x194ade);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'},_0x194ade);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x194ade);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x194ade);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x194ade);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x194ade);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x194ade);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x194ade);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x194ade);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'},_0x194ade);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x194ade);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x194ade);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x194ade);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x194ade);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x194ade);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x194ade);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'},_0x194ade);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x194ade);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x194ade);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'},_0x194ade);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x194ade);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'},_0x194ade);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x194ade);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x194ade);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x194ade);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x194ade);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x194ade);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'},_0x194ade);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x194ade);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 _0x2ba3a9({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x194ade);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2ba3a9({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x194ade);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x194ade);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'},_0x194ade);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'},_0x194ade);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'},_0x194ade);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x13bc37;}}
|
|
23
|
+
export function getTranslation(_0x4f2f91,_0x56be27,_0x3b0842){const _0x364228=_0x4f2f91['t'],t=_0x4f2f91['t'];switch(_0x56be27){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',_0x3b0842);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3b0842);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3b0842);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3b0842);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3b0842);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',_0x3b0842);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3b0842);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',_0x3b0842);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3b0842);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3b0842);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3b0842);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3b0842);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3b0842);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3b0842);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3b0842);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3b0842);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3b0842);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3b0842);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3b0842);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3b0842);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3b0842);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3b0842);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3b0842);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3b0842);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3b0842);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'},_0x3b0842);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3b0842);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3b0842);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3b0842);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3b0842);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3b0842);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3b0842);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3b0842);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'},_0x3b0842);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3b0842);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3b0842);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3b0842);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3b0842);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x3b0842);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3b0842);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'},_0x3b0842);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3b0842);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3b0842);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'},_0x3b0842);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3b0842);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'},_0x3b0842);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3b0842);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3b0842);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3b0842);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3b0842);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3b0842);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'},_0x3b0842);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3b0842);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 _0x364228({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3b0842);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x364228({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3b0842);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3b0842);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'},_0x3b0842);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'},_0x3b0842);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'},_0x3b0842);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x56be27;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1f0c48,_0x4c7764){const _0xb4357a=_0x35d2,_0x31fc25=_0x1f0c48();while(!![]){try{const _0x2b9b1d=-parseInt(_0xb4357a(0xea))/0x1*(-parseInt(_0xb4357a(0xc3))/0x2)+parseInt(_0xb4357a(0xb6))/0x3+-parseInt(_0xb4357a(0xdb))/0x4*(-parseInt(_0xb4357a(0xca))/0x5)+parseInt(_0xb4357a(0xe4))/0x6*(-parseInt(_0xb4357a(0xe6))/0x7)+-parseInt(_0xb4357a(0xd6))/0x8+-parseInt(_0xb4357a(0xe7))/0x9*(parseInt(_0xb4357a(0xbb))/0xa)+-parseInt(_0xb4357a(0xd0))/0xb*(parseInt(_0xb4357a(0xdf))/0xc);if(_0x2b9b1d===_0x4c7764)break;else _0x31fc25['push'](_0x31fc25['shift']());}catch(_0x4b68a8){_0x31fc25['push'](_0x31fc25['shift']());}}}(_0x23c7,0x66bfd));export function normalizeDescription(_0x328b9c){const _0x2c6ca1=_0x35d2;return Array[_0x2c6ca1(0xd8)](_0x328b9c)||(_0x328b9c=[_0x328b9c]),_0x328b9c[_0x2c6ca1(0xce)](_0x12bf9d=>{const _0x32f4cc=_0x2c6ca1,_0x279638=_0x12bf9d[_0x32f4cc(0xd9)][_0x32f4cc(0xda)](/\*/g,''),_0x30cf1b=_0x12bf9d[_0x32f4cc(0xd5)]?_0x32f4cc(0xe1)+_0x12bf9d[_0x32f4cc(0xd5)][_0x32f4cc(0xdd)]+']':'';return'['+_0x12bf9d[_0x32f4cc(0xe8)]+']\x20'+_0x279638+_0x30cf1b;})[_0x2c6ca1(0xd7)](';\x20');}export function renderDescription(_0x316104,_0xb6f4c9){const _0x25d746=_0x35d2;let _0x2d360c='';return _0x2d360c+=_0x316104[_0x25d746(0xbf)]('*')[_0x25d746(0xce)]((_0x166be2,_0x4f0883)=>_0x4f0883%0x2!=0x0?_0x25d746(0xd3)+rn(_0x166be2)+_0x25d746(0xb8):rn(_0x166be2))[_0x25d746(0xd7)](''),_0xb6f4c9&&(_0x2d360c+=_0x25d746(0xe0)+_0xb6f4c9[_0x25d746(0xdd)]+_0x25d746(0xe5)+_0xb6f4c9[_0x25d746(0xc0)]+_0x25d746(0xc7)),_0x2d360c;}function _0x35d2(_0x5d3e11,_0x3667cb){const _0x23c715=_0x23c7();return _0x35d2=function(_0x35d23f,_0x5d7720){_0x35d23f=_0x35d23f-0xb4;let _0x4b5dd2=_0x23c715[_0x35d23f];return _0x4b5dd2;},_0x35d2(_0x5d3e11,_0x3667cb);}function rn(_0x48905d){const _0x182efa=_0x35d2,_0x369238=document[_0x182efa(0xb5)](_0x182efa(0xcb));return _0x369238[_0x182efa(0xcc)]=_0x48905d,_0x369238[_0x182efa(0xbc)];}export function sortSuggestions(_0x1eef37){const _0x2588f3=_0x35d2;return _0x1eef37[_0x2588f3(0xc6)]((_0x330dac,_0x4deb6a)=>_0x2588f3(0xd1)===_0x330dac[_0x2588f3(0xe8)]&&_0x2588f3(0xd1)!==_0x4deb6a[_0x2588f3(0xe8)]?-0x1:_0x2588f3(0xd1)!==_0x330dac[_0x2588f3(0xe8)]&&_0x2588f3(0xd1)===_0x4deb6a[_0x2588f3(0xe8)]?0x1:_0x2588f3(0xb4)==_0x330dac[_0x2588f3(0xe8)]&&_0x2588f3(0xb4)!=_0x4deb6a[_0x2588f3(0xe8)]?-0x1:_0x2588f3(0xb4)!=_0x330dac[_0x2588f3(0xe8)]&&_0x2588f3(0xb4)==_0x4deb6a[_0x2588f3(0xe8)]?0x1:0x0);}export function getSelectedSuggestions(_0xee0756,_0x320ade){const _0x1e0f5f=_0x35d2,_0x3ba60f=Array[_0x1e0f5f(0xde)](_0xee0756[_0x1e0f5f(0xcf)]()),_0x4b934a=new Set();for(const _0x21d555 of _0x320ade)if(_0x21d555[_0x1e0f5f(0xe2)]){for(const _0xeb6572 of _0x3ba60f)for(const _0x1afab4 of _0x21d555[_0x1e0f5f(0xcf)]())(_0xeb6572[_0x1e0f5f(0xc9)](_0x1afab4)||_0xee0756[_0x1e0f5f(0xd4)]&&!_0x21d555[_0x1e0f5f(0xb7)]&&_0x21d555[_0x1e0f5f(0xe9)]&&_0x1afab4[_0x1e0f5f(0xc4)][_0x1e0f5f(0xc2)](_0xeb6572[_0x1e0f5f(0xec)]))&&_0x4b934a[_0x1e0f5f(0xc1)](_0x21d555);}return _0x4b934a;}export function getRangesOfBlockGroups(_0x4a2b61,_0x1d72db){const _0x294dff=_0x35d2;let _0x182137,_0x2a0cc2=0x0;const _0x33812d=[],_0x20a1a2=_0x1d72db[_0x294dff(0xcd)];for(;_0x2a0cc2<_0x4a2b61[_0x294dff(0xe3)];){const _0x2881dc=_0x4a2b61[_0x2a0cc2],_0x3be726=_0x4a2b61[_0x2a0cc2+0x1];_0x182137||(_0x182137=_0x1d72db[_0x294dff(0xbd)](_0x2881dc)),cn(_0x1d72db,_0x2881dc,_0x3be726)||(_0x33812d[_0x294dff(0xbe)](_0x1d72db[_0x294dff(0xb9)](_0x182137,_0x20a1a2[_0x294dff(0xd2)](_0x2881dc)?_0x1d72db[_0x294dff(0xeb)](_0x2881dc):_0x1d72db[_0x294dff(0xc8)](_0x2881dc,_0x294dff(0xc4)))),_0x182137=null),_0x2a0cc2++;}return _0x33812d;}function _0x23c7(){const _0x4a7b9b=['\x22\x20title=\x22','462763sDkRox','3857859OqPtAa','type','next','680539xxHBDY','createPositionAfter','start','deletion','createElement','1270812QVhVRB','isMultiRange','</span>','createRange','change','10cYCRbl','innerHTML','createPositionBefore','push','split','title','add','isTouching','2flEgtF','end','splice','sort','\x22></span>','createPositionAt','isIntersecting','434235eKkVhT','span','innerText','schema','map','getRanges','25278gBpNUM','attribute','isObject','<span\x20class=\x22ck-suggestion-type\x22>','isCollapsed','color','1985032eCEhce','join','isArray','content','replace','28TUsFFq','execute','value','from','792xmeTpP','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','\x20[color\x20','isInContent','length','42KQCqTF'];_0x23c7=function(){return _0x4a7b9b;};return _0x23c7();}function cn(_0x4004c6,_0x2ec9a0,_0x566324){const _0xd9857d=_0x35d2;if(!_0x566324)return!0x1;const _0x23df00=_0x4004c6[_0xd9857d(0xeb)](_0x2ec9a0),_0x5554c3=_0x4004c6[_0xd9857d(0xbd)](_0x566324);return _0x23df00[_0xd9857d(0xc2)](_0x5554c3);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2cd583,_0x498288,_0x278fda){const _0x487c69=_0x35d2;for(;_0x278fda[_0x487c69(0xe3)];){const _0x4349d6=_0x278fda[_0x487c69(0xc5)](0x0,0x64);_0x2cd583[_0x487c69(0xba)](()=>{const _0xc26a5b=_0x487c69;for(const _0x34312a of _0x4349d6)_0x34312a[_0xc26a5b(0xe2)]&&_0x498288[_0xc26a5b(0xdc)](_0x34312a['id']);});}}
|