@ckeditor/ckeditor5-track-changes 46.0.0-alpha.8 → 46.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x115a(){const _0x5c8cc9=['editor','isOfficialPlugin','previewFinalContent','appendChild','3474984lSurdT','297664SNqnIL','isPremiumPlugin','define','commands','6qctnXE','10pmBhZc','add','7793335jPNYrz','TrackChangesPreview','3440708YSLUrC','20840121AtLUap','1689620AdUbYf','config','2230286pyfNaq','315FgIqoj','pluginName','trackChanges.preview.renderFunction','requires'];_0x115a=function(){return _0x5c8cc9;};return _0x115a();}const _0x21eb5b=_0x2363;function _0x2363(_0x14dadb,_0x449950){const _0x115ad6=_0x115a();return _0x2363=function(_0x23631a,_0x31c50b){_0x23631a=_0x23631a-0xc7;let _0x1f388e=_0x115ad6[_0x23631a];return _0x1f388e;},_0x2363(_0x14dadb,_0x449950);}(function(_0x12ceed,_0x49b47f){const _0x5e1dd1=_0x2363,_0x2c4099=_0x12ceed();while(!![]){try{const _0x2ac1d9=parseInt(_0x5e1dd1(0xc7))/0x1+parseInt(_0x5e1dd1(0xc9))/0x2+parseInt(_0x5e1dd1(0xd2))/0x3+-parseInt(_0x5e1dd1(0xdc))/0x4+-parseInt(_0x5e1dd1(0xda))/0x5*(parseInt(_0x5e1dd1(0xd7))/0x6)+parseInt(_0x5e1dd1(0xca))/0x7*(parseInt(_0x5e1dd1(0xd3))/0x8)+-parseInt(_0x5e1dd1(0xdd))/0x9*(parseInt(_0x5e1dd1(0xd8))/0xa);if(_0x2ac1d9===_0x49b47f)break;else _0x2c4099['push'](_0x2c4099['shift']());}catch(_0x1ee9ea){_0x2c4099['push'](_0x2c4099['shift']());}}}(_0x115a,0xdc77e));import{Plugin as _0x830a20}from'ckeditor5/src/core.js';import{Dialog as _0xfe7347}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x60c554}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x45cf4c}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x830a20{static get[_0x21eb5b(0xcd)](){return[_0x60c554,_0xfe7347];}static get[_0x21eb5b(0xcb)](){const _0x359d88=_0x21eb5b;return _0x359d88(0xdb);}static get[_0x21eb5b(0xcf)](){return!0x0;}static get[_0x21eb5b(0xd4)](){return!0x0;}constructor(_0x3e77b2){const _0x17dfa3=_0x21eb5b;super(_0x3e77b2),_0x3e77b2[_0x17dfa3(0xd6)][_0x17dfa3(0xd9)](_0x17dfa3(0xd0),new _0x45cf4c(this[_0x17dfa3(0xce)])),_0x3e77b2[_0x17dfa3(0xc8)][_0x17dfa3(0xd5)](_0x17dfa3(0xcc),(_0x1b85ed,_0x387189)=>{const _0x453553=_0x17dfa3;for(const _0x1bea7b of _0x387189)_0x1b85ed[_0x453553(0xd1)](_0x1bea7b);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x361769=_0x4fc8;function _0x63d3(){const _0x3bd9e1=['getMarkers','getAnnotationForSuggestion','acceptAllSuggestions','value','434tQnfhq','Preview\x20final\x20content','getJoined','commentThread','_updateController','suggestion-','suggestionUnloaded','componentFactory','has','filter','getSuggestionForAnnotation','28078831ZDdSyh','view','locale','delegate','separator','trackChangesLicenseKeyDomainLimit','comments.maxCommentCharsWhenCollapsed','comments.maxCommentsWhenCollapsed','toMany','trackChangesLicenseKeyNotAllowed','menuBar:trackChanges','SuggestionView','values','descriptionParts','_createToolbarButton','_destroyController','comments','_suggestionToController','descriptionFactory','hasSuggestion','previous','children','comments.editorConfig','getDescriptions','lowest','requires','from','discardSelectedSuggestions','isPremiumPlugin','expired','suggestionChanged','TrackChangesPreview','bind','acceptSelectedSuggestions','Discard\x20all\x20selected\x20suggestions','trackChangesLicenseKeyValid','unbind','previewFinalContent','TrackChangesEditing','9615400ZyDpnI','invalid','4166365svTvVu','isInContent','1329018hOweBv','isEnabled','addMany','comments.maxThreadTotalWeight','focus','addComment','listenTo','clear','source','isOfficialPlugin','mainView','editor','fire','add','commandName','_licenseKeyCheckInterval','refreshSelectedViews','arrowView','isOn','set','getByInnerView','trackChanges.SuggestionView','Track\x20changes','TrackChanges','evaluationLimit','reduce','trackChangesLicenseKeyInvalid','_initializeController','trackChanges.disableComments','trialLimit','Discard\x20all\x20suggestions','init','usageLimit','items','licenseKey','getFirstRange','actionView','size','commands','suggestionLoaded','createAnnotationView','define','some','_unbindEditors','plugins','trackChanges.SuggestionThreadView','change:activeAnnotations','getRanges','stopListening','trackChangesLicenseKeyTrialLimit','discardAllSuggestions','isDirty','_annotationViews','push','discardButton','CommentsUI','_disableComments','button','_viewToController','menu','destroy','4OkLCXX','Accept\x20all\x20selected\x20suggestions','getSuggestion','buttonView','addSourceCollector','featureNotAllowed','editing','type','_createMenuBarMenu','menuitem','suggestionView','_handleSuggestionControllerDelayed','_showLicenseError','head','get','CommentsRepository','pluginName','execute','escape','_bindAnnotationToEditors','_addUIComponentsToFactory','isMultiRange','change:previous','getAllAdjacentSuggestions','CommentView','config','commentsListView','Accept\x20all\x20suggestions','trackChanges','createAnnotation','8wQMcce','trackChangesLicenseKeyEvaluationLimit','createCommentThreadController','activeAnnotations','Annotations','acceptButton','TrackChangesUI','158618hQWVev','EditorAnnotations','length','_refreshActiveMarkers','model','106602PgNYdc','menuitemcheckbox','switchbutton','registerAnnotation','getMarkerNames','SuggestionThreadView','trackChangesLicenseKeyExpired','keys','trackChangesLicenseKeyUsageLimit','innerView','domainLimit','remove','24YdmyPF','panelView','2979162aVVubc','_handleControllerBuffer','delete','activeMarkers'];_0x63d3=function(){return _0x3bd9e1;};return _0x63d3();}(function(_0x346efa,_0x396368){const _0x525a18=_0x4fc8,_0x3b29e3=_0x346efa();while(!![]){try{const _0x5d9d6f=parseInt(_0x525a18(0xdd))/0x1*(parseInt(_0x525a18(0xe4))/0x2)+-parseInt(_0x525a18(0x135))/0x3+-parseInt(_0x525a18(0x172))/0x4*(parseInt(_0x525a18(0x133))/0x5)+parseInt(_0x525a18(0xe9))/0x6*(-parseInt(_0x525a18(0xff))/0x7)+parseInt(_0x525a18(0xf5))/0x8*(parseInt(_0x525a18(0xf7))/0x9)+-parseInt(_0x525a18(0x131))/0xa+parseInt(_0x525a18(0x10a))/0xb;if(_0x5d9d6f===_0x396368)break;else _0x3b29e3['push'](_0x3b29e3['shift']());}catch(_0x3164db){_0x3b29e3['push'](_0x3b29e3['shift']());}}}(_0x63d3,0xcd446));import{Plugin as _0x5f2fbf}from'ckeditor5/src/core.js';import{Collection as _0x2cd45d}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x45e2b9}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x78e64f,createDropdown as _0x113729,ListSeparatorView as _0x3b3852,MenuBarMenuView as _0x217b63,MenuBarMenuListView as _0x198ade,MenuBarMenuListItemView as _0x425bf9,MenuBarMenuListItemButtonView as _0x3057e4,SplitButtonView as _0x5b02df,UIModel as _0x5f0db6}from'ckeditor5/src/ui.js';function _0x4fc8(_0x1b2373,_0x1d10a3){const _0x63d39e=_0x63d3();return _0x4fc8=function(_0x4fc838,_0x4d6c78){_0x4fc838=_0x4fc838-0xd3;let _0x50252b=_0x63d39e[_0x4fc838];return _0x50252b;},_0x4fc8(_0x1b2373,_0x1d10a3);}import{Users as _0x24af0f,getDateTimeFormatter as _0x23a3ca,getAllMarkersDomElementsSorted as _0x137a97}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x49e03f}from'./trackchangesediting.js';import{SuggestionController as _0x5380bf}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x5bea6c}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1d740c}from'./ui/view/suggestionview.js';import{getTranslation as _0x2aab1d}from'./utils/common-translations.js';export class TrackChangesUI extends _0x5f2fbf{[_0x361769(0x157)];[_0x361769(0x144)];[_0x361769(0x11b)];[_0x361769(0x16f)];[_0x361769(0x169)];[_0x361769(0xf8)];[_0x361769(0x16d)];static get[_0x361769(0x123)](){const _0x5866dd=_0x361769;return[_0x49e03f,_0x24af0f,_0x5866dd(0x181),_0x5866dd(0xe1),_0x5866dd(0xe5)];}static get[_0x361769(0x182)](){const _0x42e5fd=_0x361769;return _0x42e5fd(0xe3);}static get[_0x361769(0x13e)](){return!0x0;}static get[_0x361769(0x126)](){return!0x0;}constructor(_0x4b4c30){const _0x1970cd=_0x361769;super(_0x4b4c30),this[_0x1970cd(0x11b)]=new Map(),this[_0x1970cd(0x16f)]=new Map(),this[_0x1970cd(0x169)]=new Map(),this[_0x1970cd(0xf8)]=new Map();const _0x3a3ed6=this[_0x1970cd(0x140)][_0x1970cd(0xd8)];_0x3a3ed6[_0x1970cd(0x15e)](_0x1970cd(0x162),_0x5bea6c),_0x3a3ed6[_0x1970cd(0x15e)](_0x1970cd(0x14a),_0x1d740c),_0x3a3ed6[_0x1970cd(0x15e)](_0x1970cd(0x151),!0x1),this[_0x1970cd(0x16d)]=_0x3a3ed6[_0x1970cd(0x180)](_0x1970cd(0x151));}[_0x361769(0x17d)](_0xd68eb6,_0xc37844){const _0x1f6169=_0x361769;0x0===this[_0x1f6169(0xf8)][_0x1f6169(0x15a)]&&setTimeout(()=>{const _0x5a10f7=_0x1f6169;for(const [_0x5da836,_0x145c65]of this[_0x5a10f7(0xf8)]){const _0xd9ebc2=this[_0x5a10f7(0x11b)][_0x5a10f7(0x107)](_0x5da836);_0xd9ebc2||_0x145c65?_0xd9ebc2&&_0x145c65&&this[_0x5a10f7(0x119)](_0x5da836):this[_0x5a10f7(0x150)](_0x5da836);}this[_0x5a10f7(0xf8)][_0x5a10f7(0x13c)](),this[_0x5a10f7(0x140)][_0x5a10f7(0x161)][_0x5a10f7(0x180)](_0x5a10f7(0xe5))[_0x5a10f7(0x145)](),this[_0x5a10f7(0xe7)]();},0xa),this[_0x1f6169(0xf8)][_0x1f6169(0x148)](_0xd68eb6,_0xc37844);}[_0x361769(0x154)](){const _0x5c1baa=_0x361769,_0x4acfa6=this[_0x5c1baa(0x140)],_0x455f9a=_0x4acfa6[_0x5c1baa(0x161)][_0x5c1baa(0x180)](_0x5c1baa(0x130)),_0x31d153=_0x4acfa6[_0x5c1baa(0x161)][_0x5c1baa(0x180)](_0x5c1baa(0xe1)),_0x344eea=_0x4acfa6[_0x5c1baa(0x161)][_0x5c1baa(0x180)](_0x5c1baa(0xe5)),_0x1c30a1=_0x4acfa6[_0x5c1baa(0x161)][_0x5c1baa(0x180)](_0x5c1baa(0x181));this[_0x5c1baa(0xd3)](),_0x344eea[_0x5c1baa(0x176)](()=>{const _0x265ff0=_0x5c1baa,_0x400d00=[];for(const [_0x562552,_0x3b5c0e]of Array[_0x265ff0(0x124)](this[_0x265ff0(0x11b)])){const _0x42b64f=_0x562552[_0x265ff0(0xd6)](),_0x70685=[];for(const _0x147845 of _0x42b64f){if(!_0x147845[_0x265ff0(0x134)])continue;if(_0x147845[_0x265ff0(0xd4)]){_0x70685[_0x265ff0(0x16a)](..._0x147845[_0x265ff0(0x164)]());continue;}const _0x50d6da=_0x147845[_0x265ff0(0x158)]();if(_0x70685[_0x265ff0(0xe6)]>0x0){const _0x5d1d2d=_0x70685[0x0][_0x265ff0(0x101)](_0x50d6da);if(_0x5d1d2d){_0x70685[0x0]=_0x5d1d2d;continue;}}_0x70685[_0x265ff0(0x16a)](_0x50d6da);}_0x400d00[_0x265ff0(0x16a)]([_0x3b5c0e[_0x265ff0(0x10b)],_0x70685]);}return _0x400d00;}),this[_0x5c1baa(0x13b)](_0x455f9a,_0x5c1baa(0x15c),(_0x1c002b,_0x2ba4c9)=>{const _0x130cea=_0x5c1baa;this[_0x130cea(0x13b)](_0x2ba4c9,_0x130cea(0xd5),(_0x5e7d95,_0x4e7a07,_0x1c309f,_0x31b987)=>{const _0x2e67eb=_0x130cea;_0x2ba4c9[_0x2e67eb(0x134)]&&(null==_0x1c309f?(this[_0x2e67eb(0x103)](_0x31b987[_0x2e67eb(0x17f)]),this[_0x2e67eb(0x17d)](_0x2ba4c9,!0x1)):(this[_0x2e67eb(0x103)](_0x1c309f[_0x2e67eb(0x17f)]),null==_0x31b987&&this[_0x2e67eb(0x17d)](_0x2ba4c9,!0x0)));}),null!==_0x2ba4c9[_0x130cea(0x11e)]?this[_0x130cea(0x103)](_0x2ba4c9[_0x130cea(0x17f)]):this[_0x130cea(0x17d)](_0x2ba4c9,!0x1);}),this[_0x5c1baa(0x13b)](_0x455f9a,_0x5c1baa(0x105),(_0x4b816f,_0x3e459e,_0x20c384)=>{const _0x3629cd=_0x5c1baa;this[_0x3629cd(0x165)](_0x3e459e,_0x3629cd(0xd5)),this[_0x3629cd(0xf8)][_0x3629cd(0xf9)](_0x3e459e),this[_0x3629cd(0x11b)][_0x3629cd(0x107)](_0x3e459e)&&this[_0x3629cd(0x119)](_0x3e459e),_0x20c384&&this[_0x3629cd(0x103)](_0x20c384[_0x3629cd(0x17f)]);}),this[_0x5c1baa(0x13b)](_0x455f9a,_0x5c1baa(0x128),(_0x2c1813,_0x432ed9)=>{const _0x36d81e=_0x5c1baa;this[_0x36d81e(0x103)](_0x432ed9);}),this[_0x5c1baa(0x13b)](_0x31d153,_0x5c1baa(0x163),()=>{const _0x1247f4=_0x5c1baa;this[_0x1247f4(0xe7)]();}),this[_0x5c1baa(0x13b)](_0x1c30a1,_0x5c1baa(0x13a),(_0x553e59,{threadId:_0x129a53,isFromAdapter:_0x3a8828})=>{const _0x52c5a9=_0x5c1baa;if(_0x3a8828||!_0x455f9a[_0x52c5a9(0x11d)](_0x129a53))return;const _0x1cf95c=_0x455f9a[_0x52c5a9(0x174)](_0x129a53);this[_0x52c5a9(0x11b)][_0x52c5a9(0x180)](_0x1cf95c)[_0x52c5a9(0x10b)][_0x52c5a9(0xd9)][_0x52c5a9(0x139)](-0x1);},{'priority':_0x5c1baa(0x122)}),this[_0x5c1baa(0x157)]=this[_0x5c1baa(0x140)][_0x5c1baa(0xd8)][_0x5c1baa(0x180)](_0x5c1baa(0x157));const _0x50638d=this[_0x5c1baa(0x140)];this[_0x5c1baa(0x144)]=setInterval(()=>{const _0x19b5e5=_0x5c1baa;let _0x1749ad;for(const _0x1a77c3 in _0x50638d){const _0x4abc6b=_0x1a77c3,_0x506417=_0x50638d[_0x4abc6b];if(_0x19b5e5(0x12d)==_0x506417||_0x19b5e5(0x14f)==_0x506417||_0x19b5e5(0xef)==_0x506417||_0x19b5e5(0x10f)==_0x506417||_0x19b5e5(0x113)==_0x506417||_0x19b5e5(0xde)==_0x506417||_0x19b5e5(0x166)==_0x506417||_0x19b5e5(0xf1)==_0x506417){delete _0x50638d[_0x4abc6b],_0x1749ad=_0x506417,clearInterval(this[_0x19b5e5(0x144)]),this[_0x19b5e5(0x144)]=void 0x0;break;}}_0x19b5e5(0x14f)==_0x1749ad&&_0x50638d[_0x19b5e5(0x17e)](_0x19b5e5(0x132)),_0x19b5e5(0xef)==_0x1749ad&&_0x50638d[_0x19b5e5(0x17e)](_0x19b5e5(0x127)),_0x19b5e5(0x10f)==_0x1749ad&&_0x50638d[_0x19b5e5(0x17e)](_0x19b5e5(0xf3)),_0x19b5e5(0x113)==_0x1749ad&&_0x50638d[_0x19b5e5(0x17e)](_0x19b5e5(0x177),_0x19b5e5(0x14c)),_0x19b5e5(0xde)==_0x1749ad&&_0x50638d[_0x19b5e5(0x17e)](_0x19b5e5(0x14d)),_0x19b5e5(0x166)==_0x1749ad&&_0x50638d[_0x19b5e5(0x17e)](_0x19b5e5(0x152)),_0x19b5e5(0xf1)==_0x1749ad&&_0x50638d[_0x19b5e5(0x17e)](_0x19b5e5(0x155));},0x3e8);}[_0x361769(0xfc)](_0x39da68){const _0x4fcf02=_0x361769,_0x29f072=this[_0x4fcf02(0x11b)][_0x4fcf02(0x180)](_0x39da68);if(!_0x29f072)return null;return this[_0x4fcf02(0x140)][_0x4fcf02(0x161)][_0x4fcf02(0x180)](_0x4fcf02(0xe1))[_0x4fcf02(0x149)](_0x29f072[_0x4fcf02(0x10b)])||null;}[_0x361769(0x109)](_0xb118bb){const _0xbea97b=_0x361769,_0x373166=this[_0xbea97b(0x16f)][_0xbea97b(0x180)](_0xb118bb[_0xbea97b(0xf2)]);return _0x373166?_0x373166[_0xbea97b(0xe8)]:null;}[_0x361769(0xe7)](){const _0x3d7a6f=_0x361769,_0x166c10=this[_0x3d7a6f(0x140)][_0x3d7a6f(0x161)][_0x3d7a6f(0x180)](_0x3d7a6f(0xe1)),_0x366b6a=this[_0x3d7a6f(0x140)][_0x3d7a6f(0x161)][_0x3d7a6f(0x180)](_0x3d7a6f(0x130)),_0x2b79b7=Array[_0x3d7a6f(0x124)](_0x166c10[_0x3d7a6f(0xe0)],_0x570686=>_0x570686[_0x3d7a6f(0xf2)])[_0x3d7a6f(0x108)](_0xdfe3a8=>this[_0x3d7a6f(0x16f)][_0x3d7a6f(0x107)](_0xdfe3a8)),_0x27e53c=[];for(const _0x24bc47 of _0x2b79b7){const _0x4b8e63=this[_0x3d7a6f(0x16f)][_0x3d7a6f(0x180)](_0x24bc47)[_0x3d7a6f(0xe8)][_0x3d7a6f(0xd6)]();_0x27e53c[_0x3d7a6f(0x16a)](..._0x4b8e63[_0x3d7a6f(0x14e)]((_0x5768b8,_0x18877d)=>[..._0x5768b8,..._0x18877d[_0x3d7a6f(0xed)]()],[]));}_0x366b6a[_0x3d7a6f(0xfa)]=_0x27e53c;}[_0x361769(0xd3)](){const _0x16a7fd=_0x361769,_0x37baf2=this[_0x16a7fd(0x140)],_0x51b229=_0x37baf2[_0x16a7fd(0x10c)],_0x54fb14=_0x2aab1d(_0x51b229,_0x16a7fd(0x14b)),_0x3268d5=new _0x2cd45d([{'type':_0x16a7fd(0xeb),'model':new _0x5f0db6({'withText':!0x0,'isToggleable':!0x0,'label':_0x54fb14,'commandName':_0x16a7fd(0xdb),'role':_0x16a7fd(0xea)})},{'type':_0x16a7fd(0x10e)},{'type':_0x16a7fd(0x16e),'model':new _0x5f0db6({'withText':!0x0,'label':_0x2aab1d(_0x51b229,_0x16a7fd(0xda)),'commandName':_0x16a7fd(0xfd),'role':_0x16a7fd(0x17b)})},{'type':_0x16a7fd(0x16e),'model':new _0x5f0db6({'withText':!0x0,'label':_0x2aab1d(_0x51b229,_0x16a7fd(0x173)),'commandName':_0x16a7fd(0x12b),'role':_0x16a7fd(0x17b)})},{'type':_0x16a7fd(0x16e),'model':new _0x5f0db6({'withText':!0x0,'label':_0x2aab1d(_0x51b229,_0x16a7fd(0x153)),'commandName':_0x16a7fd(0x167),'role':_0x16a7fd(0x17b)})},{'type':_0x16a7fd(0x16e),'model':new _0x5f0db6({'withText':!0x0,'label':_0x2aab1d(_0x51b229,_0x16a7fd(0x12c)),'commandName':_0x16a7fd(0x125),'role':_0x16a7fd(0x17b)})}]);_0x37baf2[_0x16a7fd(0x161)][_0x16a7fd(0x107)](_0x16a7fd(0x129))&&_0x3268d5[_0x16a7fd(0x137)]([{'type':_0x16a7fd(0x10e)},{'type':_0x16a7fd(0x16e),'model':new _0x5f0db6({'withText':!0x0,'label':_0x2aab1d(_0x51b229,_0x16a7fd(0x100)),'commandName':_0x16a7fd(0x12f),'role':_0x16a7fd(0x17b)})}]);for(const _0xf0f32c of _0x3268d5)if(ke(_0xf0f32c)){const _0x2835d6=_0x37baf2[_0x16a7fd(0x15b)][_0x16a7fd(0x180)](_0xf0f32c[_0x16a7fd(0xe8)][_0x16a7fd(0x143)]);_0xf0f32c[_0x16a7fd(0xe8)][_0x16a7fd(0x12a)](_0x16a7fd(0x147),_0x16a7fd(0x136))['to'](_0x2835d6,_0x16a7fd(0xfe),_0x16a7fd(0x136));}_0x37baf2['ui'][_0x16a7fd(0x106)][_0x16a7fd(0x142)](_0x16a7fd(0xdb),_0x406c69=>this[_0x16a7fd(0x118)](_0x406c69,_0x3268d5,_0x54fb14)),_0x37baf2['ui'][_0x16a7fd(0x106)][_0x16a7fd(0x142)](_0x16a7fd(0x114),_0x4b6703=>this[_0x16a7fd(0x17a)](_0x4b6703,_0x3268d5,_0x54fb14));}[_0x361769(0x118)](_0x40b635,_0x149554,_0x5d99a6){const _0x407848=_0x361769,_0x3fe96e=_0x113729(_0x40b635,_0x5b02df),_0x5d226e=this[_0x407848(0x140)][_0x407848(0x15b)][_0x407848(0x180)](_0x407848(0xdb));_0x3fe96e[_0x407848(0x175)][_0x407848(0x148)]({'tooltip':_0x5d99a6,'label':_0x5d99a6,'icon':_0x45e2b9}),_0x3fe96e[_0x407848(0x175)][_0x407848(0x12a)](_0x407848(0x147))['to'](_0x5d226e,_0x407848(0xfe)),_0x3fe96e[_0x407848(0x175)]['on'](_0x407848(0x183),()=>{const _0x3a5acd=_0x407848;_0x5d226e[_0x3a5acd(0x183)](),this[_0x3a5acd(0x140)][_0x3a5acd(0x178)][_0x3a5acd(0x10b)][_0x3a5acd(0x139)]();}),_0x78e64f(_0x3fe96e,_0x149554,{'role':_0x407848(0x170)});const _0x558fa1=[];for(const _0x17055f of _0x149554)ke(_0x17055f)&&_0x558fa1[_0x407848(0x16a)](this[_0x407848(0x140)][_0x407848(0x15b)][_0x407848(0x180)](_0x17055f[_0x407848(0xe8)][_0x407848(0x143)]));const _0x5c88fc=_0x3fe96e[_0x407848(0x175)];return _0x5c88fc[_0x407848(0x159)][_0x407848(0x12e)](_0x407848(0x136)),_0x5c88fc[_0x407848(0x146)][_0x407848(0x12e)](_0x407848(0x136)),_0x5c88fc[_0x407848(0x159)][_0x407848(0x12a)](_0x407848(0x136))['to'](_0x5d226e,_0x407848(0x136)),_0x5c88fc[_0x407848(0x146)][_0x407848(0x12a)](_0x407848(0x136))[_0x407848(0x112)](_0x558fa1,_0x407848(0x136),(..._0x26638b)=>_0x26638b[_0x407848(0x15f)](_0x5230aa=>_0x5230aa)),_0x3fe96e['on'](_0x407848(0x183),_0x12c2c6=>{const _0x10605c=_0x407848;this[_0x10605c(0x140)][_0x10605c(0x183)](_0x12c2c6[_0x10605c(0x13d)][_0x10605c(0x143)]),this[_0x10605c(0x140)][_0x10605c(0x178)][_0x10605c(0x10b)][_0x10605c(0x139)]();}),_0x3fe96e;}[_0x361769(0x17a)](_0x574442,_0x110407,_0x3c3345){const _0x179dd2=_0x361769,_0xe7e052=new _0x217b63(_0x574442),_0x49b7c6=this[_0x179dd2(0x140)][_0x179dd2(0x15b)][_0x179dd2(0x180)](_0x179dd2(0xdb));_0xe7e052[_0x179dd2(0x175)][_0x179dd2(0x148)]({'label':_0x3c3345,'icon':_0x45e2b9});const _0x1ab360=new _0x198ade(_0x574442);for(const _0x2f3725 of _0x110407){if(_0x179dd2(0x10e)==_0x2f3725[_0x179dd2(0x179)]){_0x1ab360[_0x179dd2(0x156)][_0x179dd2(0x142)](new _0x3b3852(_0x574442));continue;}const _0x176a8f=new _0x425bf9(_0x574442,_0xe7e052),_0x188fa0=new _0x3057e4(_0x574442),_0x273412=_0x2f3725[_0x179dd2(0xe8)];_0x188fa0[_0x179dd2(0x12a)](...Object[_0x179dd2(0xf0)](_0x273412))['to'](_0x273412),_0x188fa0[_0x179dd2(0x10d)](_0x179dd2(0x183))['to'](_0xe7e052),_0x188fa0['on'](_0x179dd2(0x183),()=>{const _0x12fead=_0x179dd2;this[_0x12fead(0x140)][_0x12fead(0x183)](_0x273412[_0x12fead(0x143)]),this[_0x12fead(0x140)][_0x12fead(0x178)][_0x12fead(0x10b)][_0x12fead(0x139)]();}),_0x176a8f[_0x179dd2(0x11f)][_0x179dd2(0x142)](_0x188fa0),_0x1ab360[_0x179dd2(0x156)][_0x179dd2(0x142)](_0x176a8f);}return _0xe7e052[_0x179dd2(0x12a)](_0x179dd2(0x136))['to'](_0x49b7c6,_0x179dd2(0x136)),_0xe7e052[_0x179dd2(0xf6)][_0x179dd2(0x11f)][_0x179dd2(0x142)](_0x1ab360),_0xe7e052;}[_0x361769(0x150)](_0x14338d){const _0x28b530=_0x361769,_0x3fb9f2=this[_0x28b530(0x140)],_0x1a4aae=_0x3fb9f2[_0x28b530(0xd8)],_0x4957be=_0x3fb9f2[_0x28b530(0x161)][_0x28b530(0x180)](_0x28b530(0xe1)),_0x341397=_0x3fb9f2[_0x28b530(0x161)][_0x28b530(0x180)](_0x28b530(0x181)),_0x11e9d7=_0x3fb9f2[_0x28b530(0x161)][_0x28b530(0x180)](_0x28b530(0xe5)),_0x15e834=_0x3fb9f2[_0x28b530(0x161)][_0x28b530(0x180)](_0x24af0f)['me'],_0x656560=_0x1a4aae[_0x28b530(0x180)](_0x28b530(0xdb))[_0x28b530(0xee)],_0x294ec7=_0x1a4aae[_0x28b530(0x180)](_0x28b530(0xdb))[_0x28b530(0x115)],{CommentsListView:_0x15ef13,CommentThreadInputView:_0x254f33}=_0x3fb9f2[_0x28b530(0x161)][_0x28b530(0x180)](_0x28b530(0x16c));let _0x364a93,_0x47ca37,_0x48b899;this[_0x28b530(0x169)][_0x28b530(0x107)](_0x14338d['id'])?(_0x47ca37=this[_0x28b530(0x169)][_0x28b530(0x180)](_0x14338d['id']),_0x364a93=_0x47ca37[_0x28b530(0x13f)]):(_0x364a93=new _0x656560(_0x3fb9f2[_0x28b530(0x10c)],_0x14338d,_0x15e834,{'disableComments':this[_0x28b530(0x16d)],'editorConfig':{..._0x1a4aae[_0x28b530(0x180)](_0x28b530(0x120)),'licenseKey':_0x1a4aae[_0x28b530(0x180)](_0x28b530(0x157))},'maxCommentsWhenCollapsed':_0x1a4aae[_0x28b530(0x180)](_0x28b530(0x111)),'maxThreadTotalWeight':_0x1a4aae[_0x28b530(0x180)](_0x28b530(0x138)),'maxCommentCharsWhenCollapsed':_0x1a4aae[_0x28b530(0x180)](_0x28b530(0x110)),'formatDateTime':_0x23a3ca(_0x1a4aae[_0x28b530(0x180)](_0x28b530(0x10c)),_0x3fb9f2[_0x28b530(0x10c)]),'CommentView':_0x1a4aae[_0x28b530(0x180)](_0x28b530(0x11a))[_0x28b530(0xd7)],'CommentsListView':_0x15ef13,'CommentThreadInputView':_0x254f33,'SuggestionView':_0x294ec7}),_0x364a93[_0x28b530(0x17c)][_0x28b530(0xe2)]['on'](_0x28b530(0x183),()=>{const _0x31d793=_0x28b530;_0x3fb9f2[_0x31d793(0x178)][_0x31d793(0x10b)][_0x31d793(0x139)]();}),_0x364a93[_0x28b530(0x17c)][_0x28b530(0x16b)]['on'](_0x28b530(0x183),()=>{const _0x2cda4e=_0x28b530;_0x3fb9f2[_0x2cda4e(0x178)][_0x2cda4e(0x10b)][_0x2cda4e(0x139)]();}),_0x47ca37=_0x4957be[_0x28b530(0x15d)](this[_0x28b530(0x140)][_0x28b530(0x10c)],_0x364a93),_0x47ca37[_0x28b530(0x12a)](_0x28b530(0x168))['to'](_0x364a93,_0x28b530(0x168)),_0x47ca37[_0x28b530(0x12a)](_0x28b530(0xe6))['to'](_0x364a93),_0x47ca37[_0x28b530(0x12a)](_0x28b530(0x179))['to'](_0x364a93,_0x28b530(0x179),_0xf58a11=>_0x28b530(0x104)+_0xf58a11),_0x364a93['on'](_0x28b530(0x184),()=>{const _0x22ad12=_0x28b530;_0x48b899[_0x22ad12(0x141)](_0x22ad12(0x184));}),this[_0x28b530(0x169)][_0x28b530(0x148)](_0x14338d['id'],_0x47ca37));const _0x315785=_0x341397[_0x28b530(0xdf)](_0x14338d[_0x28b530(0x102)],_0x364a93),_0x5e84e9=new _0x5380bf(_0x3fb9f2,_0x14338d,_0x364a93,_0x315785),_0x542ea1=_0x14338d[_0x28b530(0xd6)]()[_0x28b530(0x108)](_0x1c7e58=>_0x1c7e58[_0x28b530(0x134)]);_0x364a93[_0x28b530(0x117)]=_0x3fb9f2[_0x28b530(0x161)][_0x28b530(0x180)](_0x28b530(0x130))[_0x28b530(0x11c)][_0x28b530(0x121)](_0x542ea1),this[_0x28b530(0x11b)][_0x28b530(0x148)](_0x14338d,_0x5e84e9),this[_0x28b530(0x16f)][_0x28b530(0x148)](_0x364a93,_0x5e84e9),_0x48b899=_0x4957be[_0x28b530(0xdc)]({'view':_0x47ca37,'target':()=>{const _0x3edf7b=_0x28b530,_0x5eb7aa=[],_0xe58f9d=_0x14338d[_0x3edf7b(0xd6)]()[_0x3edf7b(0x108)](_0x3e9caa=>_0x3e9caa[_0x3edf7b(0x134)]);for(const _0x18f344 of _0xe58f9d)_0x5eb7aa[_0x3edf7b(0x16a)](..._0x18f344[_0x3edf7b(0xfb)]());return _0x137a97(_0x3fb9f2[_0x3edf7b(0x178)],_0x5eb7aa);},'type':()=>_0x28b530(0x104)+_0x5e84e9[_0x28b530(0x10b)][_0x28b530(0x179)]}),_0x341397[_0x28b530(0x185)](_0x364a93,_0x48b899),_0x4957be[_0x28b530(0x142)](_0x48b899),_0x11e9d7[_0x28b530(0xec)](_0x48b899);}[_0x361769(0x119)](_0x24af09){const _0x2005aa=_0x361769,_0x3345d3=this[_0x2005aa(0x140)][_0x2005aa(0x161)][_0x2005aa(0x180)](_0x2005aa(0x181)),_0x3af006=this[_0x2005aa(0x140)][_0x2005aa(0x161)][_0x2005aa(0x180)](_0x2005aa(0xe1)),_0x19f6fa=this[_0x2005aa(0x11b)][_0x2005aa(0x180)](_0x24af09),_0x58d5b7=_0x19f6fa[_0x2005aa(0x10b)],_0x322c8a=_0x3af006[_0x2005aa(0x149)](_0x58d5b7);_0x3345d3[_0x2005aa(0x160)](_0x58d5b7),_0x322c8a&&_0x3af006[_0x2005aa(0xf4)](_0x322c8a),this[_0x2005aa(0x11b)][_0x2005aa(0xf9)](_0x24af09),this[_0x2005aa(0x16f)][_0x2005aa(0xf9)](_0x58d5b7),_0x19f6fa[_0x2005aa(0x171)]();}[_0x361769(0x103)](_0x5f15ed){const _0xf68177=_0x361769;if(!_0x5f15ed[_0xf68177(0x134)]||!this[_0xf68177(0x11b)][_0xf68177(0x107)](_0x5f15ed))return;const _0x47cd0c=this[_0xf68177(0x140)][_0xf68177(0x161)][_0xf68177(0x180)](_0xf68177(0x130)),_0x7b40aa=this[_0xf68177(0x11b)][_0xf68177(0x180)](_0x5f15ed),_0x1fe2c1=_0x5f15ed[_0xf68177(0xd6)]();_0x7b40aa[_0xf68177(0x10b)][_0xf68177(0x117)]=_0x47cd0c[_0xf68177(0x11c)][_0xf68177(0x121)](_0x1fe2c1);}[_0x361769(0x171)](){const _0x1d71ad=_0x361769;for(const _0x34b44f of this[_0x1d71ad(0x11b)][_0x1d71ad(0xf0)]())this[_0x1d71ad(0x119)](_0x34b44f);for(const _0x43c688 of this[_0x1d71ad(0x169)][_0x1d71ad(0x116)]())_0x43c688[_0x1d71ad(0x13f)][_0x1d71ad(0x171)]();super[_0x1d71ad(0x171)](),this[_0x1d71ad(0x144)]&&clearInterval(this[_0x1d71ad(0x144)]);}}function ke(_0x1de9d0){const _0x56ee73=_0x361769;return _0x56ee73(0xe8)in _0x1de9d0;}
|
|
23
|
+
const _0x24208e=_0x3f61;(function(_0x1b0183,_0x36aac4){const _0x442bf6=_0x3f61,_0x39c9a6=_0x1b0183();while(!![]){try{const _0x4c063a=-parseInt(_0x442bf6(0x12f))/0x1*(parseInt(_0x442bf6(0x107))/0x2)+parseInt(_0x442bf6(0xc9))/0x3+-parseInt(_0x442bf6(0x81))/0x4+parseInt(_0x442bf6(0xe0))/0x5*(parseInt(_0x442bf6(0xb0))/0x6)+-parseInt(_0x442bf6(0xeb))/0x7*(parseInt(_0x442bf6(0xcb))/0x8)+parseInt(_0x442bf6(0x91))/0x9+parseInt(_0x442bf6(0xa6))/0xa;if(_0x4c063a===_0x36aac4)break;else _0x39c9a6['push'](_0x39c9a6['shift']());}catch(_0x3c08f4){_0x39c9a6['push'](_0x39c9a6['shift']());}}}(_0x2a48,0xe22fb));import{Plugin as _0x2f3f64}from'ckeditor5/src/core.js';import{Collection as _0x330153}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x27361b}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x25d4ac,createDropdown as _0x20c4d6,ListSeparatorView as _0x589882,MenuBarMenuView as _0x45492f,MenuBarMenuListView as _0xe00313,MenuBarMenuListItemView as _0x48a648,MenuBarMenuListItemButtonView as _0x5240f6,SplitButtonView as _0x2262ae,UIModel as _0x27603b}from'ckeditor5/src/ui.js';function _0x2a48(){const _0x351c0d=['Discard\x20all\x20suggestions','Accept\x20all\x20selected\x20suggestions','acceptSelectedSuggestions','_createToolbarButton','TrackChanges','_disableComments','isEnabled','getJoined','commands','suggestionView','14195844aDsjHJ','children','suggestion-','trackChangesLicenseKeyValid','_addUIComponentsToFactory','discardSelectedSuggestions','filter','getMarkers','add','activeMarkers','bind','isOfficialPlugin','createAnnotation','mainView','suggestionChanged','innerView','delete','_showLicenseError','head','featureNotAllowed','getFirstRange','1784890PiGpzb','switchbutton','lowest','commentsListView','has','values','trackChangesLicenseKeyNotAllowed','_updateController','createCommentThreadController','CommentsRepository','470958bOVCyX','define','locale','commandName','_handleSuggestionControllerDelayed','_bindAnnotationToEditors','comments.maxCommentCharsWhenCollapsed','clear','editing','some','discardButton','licenseKey','get','size','comments.maxCommentsWhenCollapsed','addSourceCollector','activeAnnotations','commentThread','value','getAllAdjacentSuggestions','_createMenuBarMenu','getByInnerView','CommentView','trackChanges','Preview\x20final\x20content','922194JzpWPW','trackChanges.disableComments','1685144syAFpt','refreshSelectedViews','addMany','trackChanges.SuggestionView','push','panelView','createAnnotationView','model','domainLimit','trackChangesLicenseKeyEvaluationLimit','componentFactory','isPremiumPlugin','isOn','addComment','_handleControllerBuffer','TrackChangesUI','SuggestionView','listenTo','TrackChangesEditing','editor','previous','50LyOaWd','focus','_unbindEditors','stopListening','CommentsUI','destroy','trackChangesLicenseKeyTrialLimit','isInContent','trackChangesLicenseKeyUsageLimit','keys','comments.maxThreadTotalWeight','14EBXllr','trialLimit','set','hasSuggestion','suggestionLoaded','init','change:previous','type','remove','trackChangesLicenseKeyInvalid','discardAllSuggestions','_destroyController','config','getSuggestion','trackChangesLicenseKeyDomainLimit','menuBar:trackChanges','_annotationViews','button','escape','TrackChangesPreview','toMany','fire','actionView','previewFinalContent','EditorAnnotations','evaluationLimit','comments','invalid','2GinsYG','suggestionUnloaded','separator','delegate','pluginName','unbind','Accept\x20all\x20suggestions','_licenseKeyCheckInterval','source','view','menuitem','Discard\x20all\x20selected\x20suggestions','_initializeController','getMarkerNames','arrowView','Track\x20changes','items','isDirty','getAnnotationForSuggestion','trackChangesLicenseKeyExpired','descriptionParts','trackChanges.SuggestionThreadView','comments.editorConfig','requires','menu','SuggestionThreadView','acceptAllSuggestions','from','Annotations','acceptButton','plugins','menuitemcheckbox','usageLimit','getSuggestionForAnnotation','_viewToController','reduce','expired','buttonView','descriptionFactory','_refreshActiveMarkers','1413664PcjDmd','getDescriptions','_suggestionToController','isMultiRange','346896uEMrKm','change:activeAnnotations','registerAnnotation','getRanges','execute','length'];_0x2a48=function(){return _0x351c0d;};return _0x2a48();}import{Users as _0x333e76,getDateTimeFormatter as _0x490225,getAllMarkersDomElementsSorted as _0x1aadad}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1f971f}from'./trackchangesediting.js';import{SuggestionController as _0x24dedd}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x37c125}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x9f3b7a}from'./ui/view/suggestionview.js';import{getTranslation as _0x24cdd4}from'./utils/common-translations.js';function _0x3f61(_0x257d7b,_0x51120d){const _0x2a48d8=_0x2a48();return _0x3f61=function(_0x3f61ae,_0x33915b){_0x3f61ae=_0x3f61ae-0x80;let _0x310676=_0x2a48d8[_0x3f61ae];return _0x310676;},_0x3f61(_0x257d7b,_0x51120d);}export class TrackChangesUI extends _0x2f3f64{[_0x24208e(0xbb)];[_0x24208e(0x10e)];[_0x24208e(0x131)];[_0x24208e(0x129)];[_0x24208e(0xfb)];[_0x24208e(0xd9)];[_0x24208e(0x8c)];static get[_0x24208e(0x11e)](){const _0x51e85e=_0x24208e;return[_0x1f971f,_0x333e76,_0x51e85e(0xaf),_0x51e85e(0x123),_0x51e85e(0x103)];}static get[_0x24208e(0x10b)](){const _0x2d10d2=_0x24208e;return _0x2d10d2(0xda);}static get[_0x24208e(0x9c)](){return!0x0;}static get[_0x24208e(0xd6)](){return!0x0;}constructor(_0x4cd2b7){const _0x182b2c=_0x24208e;super(_0x4cd2b7),this[_0x182b2c(0x131)]=new Map(),this[_0x182b2c(0x129)]=new Map(),this[_0x182b2c(0xfb)]=new Map(),this[_0x182b2c(0xd9)]=new Map();const _0xc6c136=this[_0x182b2c(0xde)][_0x182b2c(0xf7)];_0xc6c136[_0x182b2c(0xb1)](_0x182b2c(0x11c),_0x37c125),_0xc6c136[_0x182b2c(0xb1)](_0x182b2c(0xce),_0x9f3b7a),_0xc6c136[_0x182b2c(0xb1)](_0x182b2c(0xca),!0x1),this[_0x182b2c(0x8c)]=_0xc6c136[_0x182b2c(0xbc)](_0x182b2c(0xca));}[_0x24208e(0xb4)](_0x19f0f6,_0x5a457f){const _0x3c7dab=_0x24208e;0x0===this[_0x3c7dab(0xd9)][_0x3c7dab(0xbd)]&&setTimeout(()=>{const _0x58cf57=_0x3c7dab;for(const [_0xc69843,_0x2c0f66]of this[_0x58cf57(0xd9)]){const _0x4b0865=this[_0x58cf57(0x131)][_0x58cf57(0xaa)](_0xc69843);_0x4b0865||_0x2c0f66?_0x4b0865&&_0x2c0f66&&this[_0x58cf57(0xf6)](_0xc69843):this[_0x58cf57(0x113)](_0xc69843);}this[_0x58cf57(0xd9)][_0x58cf57(0xb7)](),this[_0x58cf57(0xde)][_0x58cf57(0x125)][_0x58cf57(0xbc)](_0x58cf57(0x103))[_0x58cf57(0xcc)](),this[_0x58cf57(0x12e)]();},0xa),this[_0x3c7dab(0xd9)][_0x3c7dab(0xed)](_0x19f0f6,_0x5a457f);}[_0x24208e(0xf0)](){const _0x1834bd=_0x24208e,_0x5921b4=this[_0x1834bd(0xde)],_0x38cfe7=_0x5921b4[_0x1834bd(0x125)][_0x1834bd(0xbc)](_0x1834bd(0xdd)),_0xeeed82=_0x5921b4[_0x1834bd(0x125)][_0x1834bd(0xbc)](_0x1834bd(0x123)),_0x317d46=_0x5921b4[_0x1834bd(0x125)][_0x1834bd(0xbc)](_0x1834bd(0x103)),_0x323b56=_0x5921b4[_0x1834bd(0x125)][_0x1834bd(0xbc)](_0x1834bd(0xaf));this[_0x1834bd(0x95)](),_0x317d46[_0x1834bd(0xbf)](()=>{const _0xdb75c1=_0x1834bd,_0x574dfc=[];for(const [_0x121764,_0x13581d]of Array[_0xdb75c1(0x122)](this[_0xdb75c1(0x131)])){const _0x3d6cba=_0x121764[_0xdb75c1(0xc3)](),_0xb4d109=[];for(const _0xb5356 of _0x3d6cba){if(!_0xb5356[_0xdb75c1(0xe7)])continue;if(_0xb5356[_0xdb75c1(0x80)]){_0xb4d109[_0xdb75c1(0xcf)](..._0xb5356[_0xdb75c1(0x84)]());continue;}const _0x51cb65=_0xb5356[_0xdb75c1(0xa5)]();if(_0xb4d109[_0xdb75c1(0x86)]>0x0){const _0x530398=_0xb4d109[0x0][_0xdb75c1(0x8e)](_0x51cb65);if(_0x530398){_0xb4d109[0x0]=_0x530398;continue;}}_0xb4d109[_0xdb75c1(0xcf)](_0x51cb65);}_0x574dfc[_0xdb75c1(0xcf)]([_0x13581d[_0xdb75c1(0x110)],_0xb4d109]);}return _0x574dfc;}),this[_0x1834bd(0xdc)](_0x38cfe7,_0x1834bd(0xef),(_0x1bfbaf,_0x438cec)=>{const _0x1a6ff5=_0x1834bd;this[_0x1a6ff5(0xdc)](_0x438cec,_0x1a6ff5(0xf1),(_0x1caaee,_0x1a3298,_0x387a69,_0x4d94d8)=>{const _0xff2931=_0x1a6ff5;_0x438cec[_0xff2931(0xe7)]&&(null==_0x387a69?(this[_0xff2931(0xad)](_0x4d94d8[_0xff2931(0xa3)]),this[_0xff2931(0xb4)](_0x438cec,!0x1)):(this[_0xff2931(0xad)](_0x387a69[_0xff2931(0xa3)]),null==_0x4d94d8&&this[_0xff2931(0xb4)](_0x438cec,!0x0)));}),null!==_0x438cec[_0x1a6ff5(0xdf)]?this[_0x1a6ff5(0xad)](_0x438cec[_0x1a6ff5(0xa3)]):this[_0x1a6ff5(0xb4)](_0x438cec,!0x1);}),this[_0x1834bd(0xdc)](_0x38cfe7,_0x1834bd(0x108),(_0x12d3f5,_0x292462,_0x2f3493)=>{const _0x537bee=_0x1834bd;this[_0x537bee(0xe3)](_0x292462,_0x537bee(0xf1)),this[_0x537bee(0xd9)][_0x537bee(0xa1)](_0x292462),this[_0x537bee(0x131)][_0x537bee(0xaa)](_0x292462)&&this[_0x537bee(0xf6)](_0x292462),_0x2f3493&&this[_0x537bee(0xad)](_0x2f3493[_0x537bee(0xa3)]);}),this[_0x1834bd(0xdc)](_0x38cfe7,_0x1834bd(0x9f),(_0x19bfab,_0x57e391)=>{const _0x406106=_0x1834bd;this[_0x406106(0xad)](_0x57e391);}),this[_0x1834bd(0xdc)](_0xeeed82,_0x1834bd(0x82),()=>{const _0x7b8028=_0x1834bd;this[_0x7b8028(0x12e)]();}),this[_0x1834bd(0xdc)](_0x323b56,_0x1834bd(0xd8),(_0x39f0dd,{threadId:_0x493e71,isFromAdapter:_0x4f703})=>{const _0x3278b2=_0x1834bd;if(_0x4f703||!_0x38cfe7[_0x3278b2(0xee)](_0x493e71))return;const _0x3e93b2=_0x38cfe7[_0x3278b2(0xf8)](_0x493e71);this[_0x3278b2(0x131)][_0x3278b2(0xbc)](_0x3e93b2)[_0x3278b2(0x110)][_0x3278b2(0xa9)][_0x3278b2(0xe1)](-0x1);},{'priority':_0x1834bd(0xa8)}),this[_0x1834bd(0xbb)]=this[_0x1834bd(0xde)][_0x1834bd(0xf7)][_0x1834bd(0xbc)](_0x1834bd(0xbb));const _0x320b06=this[_0x1834bd(0xde)];this[_0x1834bd(0x10e)]=setInterval(()=>{const _0x83ebea=_0x1834bd;let _0x55b625;for(const _0x4fbc84 in _0x320b06){const _0x942828=_0x4fbc84,_0x172a9e=_0x320b06[_0x942828];if(_0x83ebea(0x94)==_0x172a9e||_0x83ebea(0xf4)==_0x172a9e||_0x83ebea(0x11a)==_0x172a9e||_0x83ebea(0xf9)==_0x172a9e||_0x83ebea(0xac)==_0x172a9e||_0x83ebea(0xd4)==_0x172a9e||_0x83ebea(0xe6)==_0x172a9e||_0x83ebea(0xe8)==_0x172a9e){delete _0x320b06[_0x942828],_0x55b625=_0x172a9e,clearInterval(this[_0x83ebea(0x10e)]),this[_0x83ebea(0x10e)]=void 0x0;break;}}_0x83ebea(0xf4)==_0x55b625&&_0x320b06[_0x83ebea(0xa2)](_0x83ebea(0x106)),_0x83ebea(0x11a)==_0x55b625&&_0x320b06[_0x83ebea(0xa2)](_0x83ebea(0x12b)),_0x83ebea(0xf9)==_0x55b625&&_0x320b06[_0x83ebea(0xa2)](_0x83ebea(0xd3)),_0x83ebea(0xac)==_0x55b625&&_0x320b06[_0x83ebea(0xa2)](_0x83ebea(0xa4),_0x83ebea(0x8b)),_0x83ebea(0xd4)==_0x55b625&&_0x320b06[_0x83ebea(0xa2)](_0x83ebea(0x104)),_0x83ebea(0xe6)==_0x55b625&&_0x320b06[_0x83ebea(0xa2)](_0x83ebea(0xec)),_0x83ebea(0xe8)==_0x55b625&&_0x320b06[_0x83ebea(0xa2)](_0x83ebea(0x127));},0x3e8);}[_0x24208e(0x119)](_0x40d69f){const _0x484b25=_0x24208e,_0x3e20ad=this[_0x484b25(0x131)][_0x484b25(0xbc)](_0x40d69f);if(!_0x3e20ad)return null;return this[_0x484b25(0xde)][_0x484b25(0x125)][_0x484b25(0xbc)](_0x484b25(0x123))[_0x484b25(0xc5)](_0x3e20ad[_0x484b25(0x110)])||null;}[_0x24208e(0x128)](_0x2e8049){const _0x31057c=_0x24208e,_0x375f5f=this[_0x31057c(0x129)][_0x31057c(0xbc)](_0x2e8049[_0x31057c(0xa0)]);return _0x375f5f?_0x375f5f[_0x31057c(0xd2)]:null;}[_0x24208e(0x12e)](){const _0x59a456=_0x24208e,_0x4e4554=this[_0x59a456(0xde)][_0x59a456(0x125)][_0x59a456(0xbc)](_0x59a456(0x123)),_0x190171=this[_0x59a456(0xde)][_0x59a456(0x125)][_0x59a456(0xbc)](_0x59a456(0xdd)),_0x5adb25=Array[_0x59a456(0x122)](_0x4e4554[_0x59a456(0xc0)],_0x4f39df=>_0x4f39df[_0x59a456(0xa0)])[_0x59a456(0x97)](_0x140965=>this[_0x59a456(0x129)][_0x59a456(0xaa)](_0x140965)),_0x50e699=[];for(const _0xd81f63 of _0x5adb25){const _0x485e28=this[_0x59a456(0x129)][_0x59a456(0xbc)](_0xd81f63)[_0x59a456(0xd2)][_0x59a456(0xc3)]();_0x50e699[_0x59a456(0xcf)](..._0x485e28[_0x59a456(0x12a)]((_0x3a9d15,_0x268346)=>[..._0x3a9d15,..._0x268346[_0x59a456(0x114)]()],[]));}_0x190171[_0x59a456(0x9a)]=_0x50e699;}[_0x24208e(0x95)](){const _0x2a9362=_0x24208e,_0x440b80=this[_0x2a9362(0xde)],_0x5dc12f=_0x440b80[_0x2a9362(0xb2)],_0x479d49=_0x24cdd4(_0x5dc12f,_0x2a9362(0x116)),_0x572e84=new _0x330153([{'type':_0x2a9362(0xa7),'model':new _0x27603b({'withText':!0x0,'isToggleable':!0x0,'label':_0x479d49,'commandName':_0x2a9362(0xc7),'role':_0x2a9362(0x126)})},{'type':_0x2a9362(0x109)},{'type':_0x2a9362(0xfc),'model':new _0x27603b({'withText':!0x0,'label':_0x24cdd4(_0x5dc12f,_0x2a9362(0x10d)),'commandName':_0x2a9362(0x121),'role':_0x2a9362(0x111)})},{'type':_0x2a9362(0xfc),'model':new _0x27603b({'withText':!0x0,'label':_0x24cdd4(_0x5dc12f,_0x2a9362(0x88)),'commandName':_0x2a9362(0x89),'role':_0x2a9362(0x111)})},{'type':_0x2a9362(0xfc),'model':new _0x27603b({'withText':!0x0,'label':_0x24cdd4(_0x5dc12f,_0x2a9362(0x87)),'commandName':_0x2a9362(0xf5),'role':_0x2a9362(0x111)})},{'type':_0x2a9362(0xfc),'model':new _0x27603b({'withText':!0x0,'label':_0x24cdd4(_0x5dc12f,_0x2a9362(0x112)),'commandName':_0x2a9362(0x96),'role':_0x2a9362(0x111)})}]);_0x440b80[_0x2a9362(0x125)][_0x2a9362(0xaa)](_0x2a9362(0xfe))&&_0x572e84[_0x2a9362(0xcd)]([{'type':_0x2a9362(0x109)},{'type':_0x2a9362(0xfc),'model':new _0x27603b({'withText':!0x0,'label':_0x24cdd4(_0x5dc12f,_0x2a9362(0xc8)),'commandName':_0x2a9362(0x102),'role':_0x2a9362(0x111)})}]);for(const _0xbfbd3e of _0x572e84)if(ke(_0xbfbd3e)){const _0x9a4a19=_0x440b80[_0x2a9362(0x8f)][_0x2a9362(0xbc)](_0xbfbd3e[_0x2a9362(0xd2)][_0x2a9362(0xb3)]);_0xbfbd3e[_0x2a9362(0xd2)][_0x2a9362(0x9b)](_0x2a9362(0xd7),_0x2a9362(0x8d))['to'](_0x9a4a19,_0x2a9362(0xc2),_0x2a9362(0x8d));}_0x440b80['ui'][_0x2a9362(0xd5)][_0x2a9362(0x99)](_0x2a9362(0xc7),_0xfee260=>this[_0x2a9362(0x8a)](_0xfee260,_0x572e84,_0x479d49)),_0x440b80['ui'][_0x2a9362(0xd5)][_0x2a9362(0x99)](_0x2a9362(0xfa),_0x3dd783=>this[_0x2a9362(0xc4)](_0x3dd783,_0x572e84,_0x479d49));}[_0x24208e(0x8a)](_0x5287e9,_0x30149b,_0x3a7b67){const _0x773a0d=_0x24208e,_0x432e79=_0x20c4d6(_0x5287e9,_0x2262ae),_0x2a50cc=this[_0x773a0d(0xde)][_0x773a0d(0x8f)][_0x773a0d(0xbc)](_0x773a0d(0xc7));_0x432e79[_0x773a0d(0x12c)][_0x773a0d(0xed)]({'tooltip':_0x3a7b67,'label':_0x3a7b67,'icon':_0x27361b}),_0x432e79[_0x773a0d(0x12c)][_0x773a0d(0x9b)](_0x773a0d(0xd7))['to'](_0x2a50cc,_0x773a0d(0xc2)),_0x432e79[_0x773a0d(0x12c)]['on'](_0x773a0d(0x85),()=>{const _0x557345=_0x773a0d;_0x2a50cc[_0x557345(0x85)](),this[_0x557345(0xde)][_0x557345(0xb8)][_0x557345(0x110)][_0x557345(0xe1)]();}),_0x25d4ac(_0x432e79,_0x30149b,{'role':_0x773a0d(0x11f)});const _0x40868b=[];for(const _0x102793 of _0x30149b)ke(_0x102793)&&_0x40868b[_0x773a0d(0xcf)](this[_0x773a0d(0xde)][_0x773a0d(0x8f)][_0x773a0d(0xbc)](_0x102793[_0x773a0d(0xd2)][_0x773a0d(0xb3)]));const _0x4e7a1b=_0x432e79[_0x773a0d(0x12c)];return _0x4e7a1b[_0x773a0d(0x101)][_0x773a0d(0x10c)](_0x773a0d(0x8d)),_0x4e7a1b[_0x773a0d(0x115)][_0x773a0d(0x10c)](_0x773a0d(0x8d)),_0x4e7a1b[_0x773a0d(0x101)][_0x773a0d(0x9b)](_0x773a0d(0x8d))['to'](_0x2a50cc,_0x773a0d(0x8d)),_0x4e7a1b[_0x773a0d(0x115)][_0x773a0d(0x9b)](_0x773a0d(0x8d))[_0x773a0d(0xff)](_0x40868b,_0x773a0d(0x8d),(..._0x33077d)=>_0x33077d[_0x773a0d(0xb9)](_0x555c40=>_0x555c40)),_0x432e79['on'](_0x773a0d(0x85),_0x55cb3f=>{const _0x3779d2=_0x773a0d;this[_0x3779d2(0xde)][_0x3779d2(0x85)](_0x55cb3f[_0x3779d2(0x10f)][_0x3779d2(0xb3)]),this[_0x3779d2(0xde)][_0x3779d2(0xb8)][_0x3779d2(0x110)][_0x3779d2(0xe1)]();}),_0x432e79;}[_0x24208e(0xc4)](_0x11ea11,_0x1e0b5a,_0x242356){const _0x158a24=_0x24208e,_0x254d98=new _0x45492f(_0x11ea11),_0x298773=this[_0x158a24(0xde)][_0x158a24(0x8f)][_0x158a24(0xbc)](_0x158a24(0xc7));_0x254d98[_0x158a24(0x12c)][_0x158a24(0xed)]({'label':_0x242356,'icon':_0x27361b});const _0x2732e5=new _0xe00313(_0x11ea11);for(const _0x4b7614 of _0x1e0b5a){if(_0x158a24(0x109)==_0x4b7614[_0x158a24(0xf2)]){_0x2732e5[_0x158a24(0x117)][_0x158a24(0x99)](new _0x589882(_0x11ea11));continue;}const _0x196257=new _0x48a648(_0x11ea11,_0x254d98),_0x392ea0=new _0x5240f6(_0x11ea11),_0x5125c8=_0x4b7614[_0x158a24(0xd2)];_0x392ea0[_0x158a24(0x9b)](...Object[_0x158a24(0xe9)](_0x5125c8))['to'](_0x5125c8),_0x392ea0[_0x158a24(0x10a)](_0x158a24(0x85))['to'](_0x254d98),_0x392ea0['on'](_0x158a24(0x85),()=>{const _0x26942c=_0x158a24;this[_0x26942c(0xde)][_0x26942c(0x85)](_0x5125c8[_0x26942c(0xb3)]),this[_0x26942c(0xde)][_0x26942c(0xb8)][_0x26942c(0x110)][_0x26942c(0xe1)]();}),_0x196257[_0x158a24(0x92)][_0x158a24(0x99)](_0x392ea0),_0x2732e5[_0x158a24(0x117)][_0x158a24(0x99)](_0x196257);}return _0x254d98[_0x158a24(0x9b)](_0x158a24(0x8d))['to'](_0x298773,_0x158a24(0x8d)),_0x254d98[_0x158a24(0xd0)][_0x158a24(0x92)][_0x158a24(0x99)](_0x2732e5),_0x254d98;}[_0x24208e(0x113)](_0x5b1279){const _0x4d4f56=_0x24208e,_0x340780=this[_0x4d4f56(0xde)],_0xbfe7e6=_0x340780[_0x4d4f56(0xf7)],_0x2b4825=_0x340780[_0x4d4f56(0x125)][_0x4d4f56(0xbc)](_0x4d4f56(0x123)),_0x25bb7f=_0x340780[_0x4d4f56(0x125)][_0x4d4f56(0xbc)](_0x4d4f56(0xaf)),_0x43ce24=_0x340780[_0x4d4f56(0x125)][_0x4d4f56(0xbc)](_0x4d4f56(0x103)),_0x156930=_0x340780[_0x4d4f56(0x125)][_0x4d4f56(0xbc)](_0x333e76)['me'],_0xca0234=_0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0xc7))[_0x4d4f56(0x120)],_0x52e8b5=_0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0xc7))[_0x4d4f56(0xdb)],{CommentsListView:_0x563d1b,CommentThreadInputView:_0x17d5d2}=_0x340780[_0x4d4f56(0x125)][_0x4d4f56(0xbc)](_0x4d4f56(0xe4));let _0x31ffce,_0x5db264,_0x2e3ee7;this[_0x4d4f56(0xfb)][_0x4d4f56(0xaa)](_0x5b1279['id'])?(_0x5db264=this[_0x4d4f56(0xfb)][_0x4d4f56(0xbc)](_0x5b1279['id']),_0x31ffce=_0x5db264[_0x4d4f56(0x9e)]):(_0x31ffce=new _0xca0234(_0x340780[_0x4d4f56(0xb2)],_0x5b1279,_0x156930,{'disableComments':this[_0x4d4f56(0x8c)],'editorConfig':{..._0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0x11d)),'licenseKey':_0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0xbb))},'maxCommentsWhenCollapsed':_0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0xbe)),'maxThreadTotalWeight':_0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0xea)),'maxCommentCharsWhenCollapsed':_0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0xb6)),'formatDateTime':_0x490225(_0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0xb2)),_0x340780[_0x4d4f56(0xb2)]),'CommentView':_0xbfe7e6[_0x4d4f56(0xbc)](_0x4d4f56(0x105))[_0x4d4f56(0xc6)],'CommentsListView':_0x563d1b,'CommentThreadInputView':_0x17d5d2,'SuggestionView':_0x52e8b5}),_0x31ffce[_0x4d4f56(0x90)][_0x4d4f56(0x124)]['on'](_0x4d4f56(0x85),()=>{const _0x5c327b=_0x4d4f56;_0x340780[_0x5c327b(0xb8)][_0x5c327b(0x110)][_0x5c327b(0xe1)]();}),_0x31ffce[_0x4d4f56(0x90)][_0x4d4f56(0xba)]['on'](_0x4d4f56(0x85),()=>{const _0x1784d4=_0x4d4f56;_0x340780[_0x1784d4(0xb8)][_0x1784d4(0x110)][_0x1784d4(0xe1)]();}),_0x5db264=_0x2b4825[_0x4d4f56(0xd1)](this[_0x4d4f56(0xde)][_0x4d4f56(0xb2)],_0x31ffce),_0x5db264[_0x4d4f56(0x9b)](_0x4d4f56(0x118))['to'](_0x31ffce,_0x4d4f56(0x118)),_0x5db264[_0x4d4f56(0x9b)](_0x4d4f56(0x86))['to'](_0x31ffce),_0x5db264[_0x4d4f56(0x9b)](_0x4d4f56(0xf2))['to'](_0x31ffce,_0x4d4f56(0xf2),_0x4429db=>_0x4d4f56(0x93)+_0x4429db),_0x31ffce['on'](_0x4d4f56(0xfd),()=>{const _0x2c78d4=_0x4d4f56;_0x2e3ee7[_0x2c78d4(0x100)](_0x2c78d4(0xfd));}),this[_0x4d4f56(0xfb)][_0x4d4f56(0xed)](_0x5b1279['id'],_0x5db264));const _0x2bd9ae=_0x25bb7f[_0x4d4f56(0xae)](_0x5b1279[_0x4d4f56(0xc1)],_0x31ffce),_0x2485be=new _0x24dedd(_0x340780,_0x5b1279,_0x31ffce,_0x2bd9ae),_0x4c8ff7=_0x5b1279[_0x4d4f56(0xc3)]()[_0x4d4f56(0x97)](_0x165bbe=>_0x165bbe[_0x4d4f56(0xe7)]);_0x31ffce[_0x4d4f56(0x11b)]=_0x340780[_0x4d4f56(0x125)][_0x4d4f56(0xbc)](_0x4d4f56(0xdd))[_0x4d4f56(0x12d)][_0x4d4f56(0x130)](_0x4c8ff7),this[_0x4d4f56(0x131)][_0x4d4f56(0xed)](_0x5b1279,_0x2485be),this[_0x4d4f56(0x129)][_0x4d4f56(0xed)](_0x31ffce,_0x2485be),_0x2e3ee7=_0x2b4825[_0x4d4f56(0x9d)]({'view':_0x5db264,'target':()=>{const _0x55beb3=_0x4d4f56,_0x5438f3=[],_0x217904=_0x5b1279[_0x55beb3(0xc3)]()[_0x55beb3(0x97)](_0x5f1e76=>_0x5f1e76[_0x55beb3(0xe7)]);for(const _0x3447a9 of _0x217904)_0x5438f3[_0x55beb3(0xcf)](..._0x3447a9[_0x55beb3(0x98)]());return _0x1aadad(_0x340780[_0x55beb3(0xb8)],_0x5438f3);},'type':()=>_0x4d4f56(0x93)+_0x2485be[_0x4d4f56(0x110)][_0x4d4f56(0xf2)]}),_0x25bb7f[_0x4d4f56(0xb5)](_0x31ffce,_0x2e3ee7),_0x2b4825[_0x4d4f56(0x99)](_0x2e3ee7),_0x43ce24[_0x4d4f56(0x83)](_0x2e3ee7);}[_0x24208e(0xf6)](_0x261055){const _0xcf7835=_0x24208e,_0x59ad18=this[_0xcf7835(0xde)][_0xcf7835(0x125)][_0xcf7835(0xbc)](_0xcf7835(0xaf)),_0x44936a=this[_0xcf7835(0xde)][_0xcf7835(0x125)][_0xcf7835(0xbc)](_0xcf7835(0x123)),_0x528d4d=this[_0xcf7835(0x131)][_0xcf7835(0xbc)](_0x261055),_0x5d3857=_0x528d4d[_0xcf7835(0x110)],_0x381682=_0x44936a[_0xcf7835(0xc5)](_0x5d3857);_0x59ad18[_0xcf7835(0xe2)](_0x5d3857),_0x381682&&_0x44936a[_0xcf7835(0xf3)](_0x381682),this[_0xcf7835(0x131)][_0xcf7835(0xa1)](_0x261055),this[_0xcf7835(0x129)][_0xcf7835(0xa1)](_0x5d3857),_0x528d4d[_0xcf7835(0xe5)]();}[_0x24208e(0xad)](_0x3ccbde){const _0x5eec75=_0x24208e;if(!_0x3ccbde[_0x5eec75(0xe7)]||!this[_0x5eec75(0x131)][_0x5eec75(0xaa)](_0x3ccbde))return;const _0x3e0061=this[_0x5eec75(0xde)][_0x5eec75(0x125)][_0x5eec75(0xbc)](_0x5eec75(0xdd)),_0x1d2968=this[_0x5eec75(0x131)][_0x5eec75(0xbc)](_0x3ccbde),_0x349558=_0x3ccbde[_0x5eec75(0xc3)]();_0x1d2968[_0x5eec75(0x110)][_0x5eec75(0x11b)]=_0x3e0061[_0x5eec75(0x12d)][_0x5eec75(0x130)](_0x349558);}[_0x24208e(0xe5)](){const _0x1b107b=_0x24208e;for(const _0x209f1d of this[_0x1b107b(0x131)][_0x1b107b(0xe9)]())this[_0x1b107b(0xf6)](_0x209f1d);for(const _0x5d02c2 of this[_0x1b107b(0xfb)][_0x1b107b(0xab)]())_0x5d02c2[_0x1b107b(0x9e)][_0x1b107b(0xe5)]();super[_0x1b107b(0xe5)](),this[_0x1b107b(0x10e)]&&clearInterval(this[_0x1b107b(0x10e)]);}}function ke(_0x58e0fe){const _0x5e2d3a=_0x24208e;return _0x5e2d3a(0xd2)in _0x58e0fe;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1a83ec=_0x8a48;function _0x4e0b(){const _0x2b147c=['_removePendingAction','_pendingAction','1315839HvlJVe','isEnabled','canDiscard','model','canAccept','discardSuggestion','104geiNtm','859990DmWqlw','destroy','view','get','canEditAt','isDirty','stopListening','_editor','729018CtKULz','_setPendingAction','PENDING_ACTION_SUGGESTION','commentThreadController','392781PPnILB','_acceptCommand','locale','listenTo','commands','24WEbNcm','add','PendingActions','bind','execute','change:isDirty','acceptSuggestion','1622530DEYOGs','getRanges','remove','_discardCommand','unbind','557501bEaUlv','443572qXFSmC','plugins'];_0x4e0b=function(){return _0x2b147c;};return _0x4e0b();}function _0x8a48(_0xe19a20,_0x2c9b49){const _0x4e0bc0=_0x4e0b();return _0x8a48=function(_0x8a485d,_0x2bd039){_0x8a485d=_0x8a485d-0x1ad;let _0x52d84b=_0x4e0bc0[_0x8a485d];return _0x52d84b;},_0x8a48(_0xe19a20,_0x2c9b49);}(function(_0x48ce51,_0x373a51){const _0x117709=_0x8a48,_0xff85fb=_0x48ce51();while(!![]){try{const _0x5167ed=-parseInt(_0x117709(0x1bf))/0x1+parseInt(_0x117709(0x1ba))/0x2+parseInt(_0x117709(0x1ae))/0x3+parseInt(_0x117709(0x1c0))/0x4+-parseInt(_0x117709(0x1cb))/0x5*(parseInt(_0x117709(0x1b3))/0x6)+-parseInt(_0x117709(0x1c4))/0x7+parseInt(_0x117709(0x1ca))/0x8*(parseInt(_0x117709(0x1d3))/0x9);if(_0x5167ed===_0x373a51)break;else _0xff85fb['push'](_0xff85fb['shift']());}catch(_0x1ce608){_0xff85fb['push'](_0xff85fb['shift']());}}}(_0x4e0b,0xa4381));import{ObservableMixin as _0x3e2f05}from'ckeditor5/src/utils.js';import{getTranslation as _0x132839}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3e2f05(){[_0x1a83ec(0x1c7)];[_0x1a83ec(0x1cd)];[_0x1a83ec(0x1ad)];[_0x1a83ec(0x1d2)];[_0x1a83ec(0x1af)];[_0x1a83ec(0x1bd)];[_0x1a83ec(0x1c3)];constructor(_0x1b4b06,_0x5e6b7,_0x1c6f67,_0x50873c){const _0x4e51bd=_0x1a83ec;super(),this[_0x4e51bd(0x1c7)]=_0x5e6b7,this[_0x4e51bd(0x1cd)]=_0x1c6f67,this[_0x4e51bd(0x1ad)]=_0x50873c,this[_0x4e51bd(0x1d2)]=_0x1b4b06,this[_0x4e51bd(0x1af)]=_0x1b4b06[_0x4e51bd(0x1b2)][_0x4e51bd(0x1ce)](_0x4e51bd(0x1b9)),this[_0x4e51bd(0x1bd)]=_0x1b4b06[_0x4e51bd(0x1b2)][_0x4e51bd(0x1ce)](_0x4e51bd(0x1c9)),this[_0x4e51bd(0x1cd)][_0x4e51bd(0x1b6)](_0x4e51bd(0x1c5))['to'](this[_0x4e51bd(0x1af)],this[_0x4e51bd(0x1bd)],(_0x397ab6,_0x23424c)=>_0x397ab6||_0x23424c),this[_0x4e51bd(0x1cd)][_0x4e51bd(0x1b6)](_0x4e51bd(0x1c8))['to'](this[_0x4e51bd(0x1af)],_0x4e51bd(0x1c5),_0xf35e82=>_0xf35e82&&this[_0x4e51bd(0x1d2)][_0x4e51bd(0x1c7)][_0x4e51bd(0x1cf)](_0x5e6b7[_0x4e51bd(0x1bb)]())),this[_0x4e51bd(0x1cd)][_0x4e51bd(0x1b6)](_0x4e51bd(0x1c6))['to'](this[_0x4e51bd(0x1bd)],_0x4e51bd(0x1c5),_0xf00eda=>_0xf00eda&&this[_0x4e51bd(0x1d2)][_0x4e51bd(0x1c7)][_0x4e51bd(0x1cf)](_0x5e6b7[_0x4e51bd(0x1bb)]())),this[_0x4e51bd(0x1c3)]=null,_0x1c6f67[_0x4e51bd(0x1d0)]&&this[_0x4e51bd(0x1d4)](),this[_0x4e51bd(0x1b1)](_0x1c6f67,_0x4e51bd(0x1b9),()=>this[_0x4e51bd(0x1b9)]()),this[_0x4e51bd(0x1b1)](_0x1c6f67,_0x4e51bd(0x1c9),()=>this[_0x4e51bd(0x1c9)]()),this[_0x4e51bd(0x1b1)](_0x1c6f67,_0x4e51bd(0x1b8),()=>{const _0x21e020=_0x4e51bd;_0x1c6f67[_0x21e020(0x1d0)]?this[_0x21e020(0x1d4)]():this[_0x21e020(0x1c2)]();});}[_0x1a83ec(0x1b9)](){const _0x1b8d21=_0x1a83ec;this[_0x1b8d21(0x1af)][_0x1b8d21(0x1b7)](this[_0x1b8d21(0x1c7)]['id']);}[_0x1a83ec(0x1c9)](){const _0x2b84ce=_0x1a83ec;this[_0x2b84ce(0x1bd)][_0x2b84ce(0x1b7)](this[_0x2b84ce(0x1c7)]['id']);}[_0x1a83ec(0x1cc)](){const _0x197807=_0x1a83ec;this[_0x197807(0x1cd)][_0x197807(0x1be)](_0x197807(0x1c5)),this[_0x197807(0x1cd)][_0x197807(0x1be)](_0x197807(0x1c8)),this[_0x197807(0x1cd)][_0x197807(0x1be)](_0x197807(0x1c6)),this[_0x197807(0x1d1)](),this[_0x197807(0x1ad)][_0x197807(0x1cc)](),this[_0x197807(0x1c3)]&&this[_0x197807(0x1c2)]();}[_0x1a83ec(0x1d4)](){const _0x1afde3=_0x1a83ec,_0x3f8b79=_0x132839(this[_0x1afde3(0x1d2)][_0x1afde3(0x1b0)],_0x1afde3(0x1d5));this[_0x1afde3(0x1c3)]=this[_0x1afde3(0x1d2)][_0x1afde3(0x1c1)][_0x1afde3(0x1ce)](_0x1afde3(0x1b5))[_0x1afde3(0x1b4)](_0x3f8b79);}[_0x1a83ec(0x1c2)](){const _0x3a0916=_0x1a83ec;null!==this[_0x3a0916(0x1c3)]&&this[_0x3a0916(0x1d2)][_0x3a0916(0x1c1)][_0x3a0916(0x1ce)](_0x3a0916(0x1b5))[_0x3a0916(0x1bc)](this[_0x3a0916(0x1c3)]),this[_0x3a0916(0x1c3)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d49f8=_0x39d4;(function(_0x452736,_0x526b34){const _0x467850=_0x39d4,_0x29055b=_0x452736();while(!![]){try{const _0x41b455=parseInt(_0x467850(0x14e))/0x1+-parseInt(_0x467850(0x15f))/0x2+parseInt(_0x467850(0x152))/0x3+parseInt(_0x467850(0x15c))/0x4*(-parseInt(_0x467850(0x170))/0x5)+parseInt(_0x467850(0x177))/0x6+-parseInt(_0x467850(0x182))/0x7+parseInt(_0x467850(0x164))/0x8;if(_0x41b455===_0x526b34)break;else _0x29055b['push'](_0x29055b['shift']());}catch(_0x51bfec){_0x29055b['push'](_0x29055b['shift']());}}}(_0x5c93,0x9c08b));import{FocusCycler as _0x3bc6db,View as _0x50f256,ViewCollection as _0x1d3973}from'ckeditor5/src/ui.js';import{FocusTracker as _0x50213a,KeystrokeHandler as _0x5ba2be}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x1f9fec,setupThreadKeyboardNavigation as _0x1b5411}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5c93(){const _0x101cf6=['isEnabled','1341185hPdKsP','editorConfig','locale','canDiscard','ariaDescriptionView','length','commentInputView','1959402OCoftc','textContent','body','value','focus','formatDateTime','render','assign','addComment','isActive','commentThread','6219794cEvVAP','keystrokes','_createCommentThreadInputView','isReadOnly','disabledSubmit','commentsListView','editor','isDirty','updateComment','focusCycler','setData','hasDirtyComment','_config','removeComment','set','canAccept','shift+tab','destroy','map','1055043dybTgW','focusables','commentThreadInputView','SUGGESTION_THREAD_ARIA_LABEL','3222642TGXfHv','target','text/html','tab','parseFromString','delegate','showInput','focusTracker','submit','_model','4WPNjpY','join','element','1705410totJYV','_localUser','ariaLabel','name','author','1542200hPKrBZ','SUGGESTION_THREAD_DESCRIPTION','authoredAt','CommentView','disableComments','descriptionParts','bind','_createCommentViews','cancel','fire','content'];_0x5c93=function(){return _0x101cf6;};return _0x5c93();}function _0x39d4(_0x16e8dd,_0x9d80bf){const _0x5c9357=_0x5c93();return _0x39d4=function(_0x39d410,_0x37d4e7){_0x39d410=_0x39d410-0x149;let _0x3ca9f9=_0x5c9357[_0x39d410];return _0x3ca9f9;},_0x39d4(_0x16e8dd,_0x9d80bf);}import{getTranslation as _0x448fc4}from'../../utils/common-translations.js';import{renderDescription as _0xe7fcf9}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x50f256{[_0x5d49f8(0x187)];[_0x5d49f8(0x150)];[_0x5d49f8(0x174)];[_0x5d49f8(0x14f)];[_0x5d49f8(0x159)];[_0x5d49f8(0x183)];[_0x5d49f8(0x18b)];[_0x5d49f8(0x15b)];[_0x5d49f8(0x160)];[_0x5d49f8(0x18e)];constructor(_0x5c1a2e,_0x42a9b7,_0x37e074,_0x3c8952){const _0x3346ad=_0x5d49f8;super(_0x5c1a2e),this[_0x3346ad(0x187)]=null,this[_0x3346ad(0x150)]=null,this[_0x3346ad(0x174)]=new _0x1f9fec(_0x5c1a2e,_0x448fc4(_0x5c1a2e,_0x3346ad(0x165))),this[_0x3346ad(0x149)](_0x3346ad(0x180),!0x1),this[_0x3346ad(0x149)](_0x3346ad(0x166),_0x42a9b7[_0x3346ad(0x166)]),this[_0x3346ad(0x16a)](_0x3346ad(0x166))['to'](_0x42a9b7),this[_0x3346ad(0x149)](_0x3346ad(0x169),[]),this[_0x3346ad(0x149)](_0x3346ad(0x189),!0x1),this[_0x3346ad(0x149)](_0x3346ad(0x16f),!0x1),this[_0x3346ad(0x149)](_0x3346ad(0x14a),!0x1),this[_0x3346ad(0x149)](_0x3346ad(0x173),!0x1),this[_0x3346ad(0x16a)](_0x3346ad(0x161))['to'](this,_0x3346ad(0x175),_0x42a9b7,_0x3346ad(0x166),this,_0x3346ad(0x169),(_0x1f96cc,_0x1d23e0,_0x3307ed)=>{const _0x5c5c47=_0x3346ad,_0x242029=_0x3307ed[_0x5c5c47(0x14d)](_0x4176df=>_0xe7fcf9(_0x4176df[_0x5c5c47(0x16e)]))[_0x5c5c47(0x15d)]('.\x20')+'.';return _0x448fc4(this[_0x5c5c47(0x172)],_0x5c5c47(0x151),[_0x1f96cc-0x1,_0x42a9b7[_0x5c5c47(0x163)][_0x5c5c47(0x162)],_0x1d23e0?_0x3c8952[_0x5c5c47(0x17c)](_0x1d23e0):'',new DOMParser()[_0x5c5c47(0x156)](_0x242029,_0x5c5c47(0x154))[_0x5c5c47(0x179)][_0x5c5c47(0x178)]]);}),this[_0x3346ad(0x14f)]=new _0x1d3973(),this[_0x3346ad(0x159)]=new _0x50213a(),this[_0x3346ad(0x183)]=new _0x5ba2be(),this[_0x3346ad(0x18b)]=new _0x3bc6db({'focusables':this[_0x3346ad(0x14f)],'focusTracker':this[_0x3346ad(0x159)],'keystrokeHandler':this[_0x3346ad(0x183)],'keystrokeHandlerOptions':{'filter':_0x1ac2a3=>_0x1ac2a3[_0x3346ad(0x153)]!==this[_0x3346ad(0x15e)]},'actions':{'focusPrevious':_0x3346ad(0x14b),'focusNext':_0x3346ad(0x155)}}),this[_0x3346ad(0x15b)]=_0x42a9b7,this[_0x3346ad(0x160)]=_0x37e074,this[_0x3346ad(0x18e)]=_0x3c8952,_0x3c8952[_0x3346ad(0x168)]?this[_0x3346ad(0x149)](_0x3346ad(0x175),0x1):this[_0x3346ad(0x16b)]();}[_0x5d49f8(0x17d)](){const _0x1662a7=_0x5d49f8;super[_0x1662a7(0x17d)](),_0x1b5411(this,this[_0x1662a7(0x14f)]);}[_0x5d49f8(0x17b)](){const _0x2d4dc2=_0x5d49f8;this[_0x2d4dc2(0x15e)][_0x2d4dc2(0x17b)]();}[_0x5d49f8(0x14c)](){const _0x5c7fce=_0x5d49f8;this[_0x5c7fce(0x187)]&&this[_0x5c7fce(0x187)][_0x5c7fce(0x14c)](),this[_0x5c7fce(0x150)]&&this[_0x5c7fce(0x150)][_0x5c7fce(0x14c)](),super[_0x5c7fce(0x14c)]();}[_0x5d49f8(0x16b)](){const _0x8fde18=_0x5d49f8,{CommentsListView:_0x16367b}=this[_0x8fde18(0x18e)];this[_0x8fde18(0x187)]=new _0x16367b(this[_0x8fde18(0x172)],this[_0x8fde18(0x15b)][_0x8fde18(0x181)],Object[_0x8fde18(0x17e)]({'CommentView':this[_0x8fde18(0x18e)][_0x8fde18(0x167)]},this[_0x8fde18(0x18e)])),this[_0x8fde18(0x187)][_0x8fde18(0x157)](_0x8fde18(0x18f))['to'](this),this[_0x8fde18(0x187)][_0x8fde18(0x157)](_0x8fde18(0x18a))['to'](this),this[_0x8fde18(0x187)][_0x8fde18(0x16a)](_0x8fde18(0x180))['to'](this),this[_0x8fde18(0x149)](_0x8fde18(0x175),this[_0x8fde18(0x187)][_0x8fde18(0x175)]+0x1),this[_0x8fde18(0x16a)](_0x8fde18(0x175))['to'](this[_0x8fde18(0x187)],_0x8fde18(0x175),_0x4f8ca5=>_0x4f8ca5+0x1),this[_0x8fde18(0x150)]=this[_0x8fde18(0x184)](),this['on'](_0x8fde18(0x18f),()=>this[_0x8fde18(0x17b)]()),this[_0x8fde18(0x16a)](_0x8fde18(0x189))['to'](this[_0x8fde18(0x187)],_0x8fde18(0x18d),this[_0x8fde18(0x150)][_0x8fde18(0x176)],_0x8fde18(0x17a),(_0x20fe57,_0x1a8a5a)=>_0x20fe57||!!_0x1a8a5a);}[_0x5d49f8(0x184)](){const _0x1fdf8f=_0x5d49f8,{CommentThreadInputView:_0x472a5f}=this[_0x1fdf8f(0x18e)],_0x4d81e0=new _0x472a5f(this[_0x1fdf8f(0x172)],this[_0x1fdf8f(0x160)],this[_0x1fdf8f(0x18e)][_0x1fdf8f(0x171)]),_0x4925b4=_0x4d81e0[_0x1fdf8f(0x176)];return _0x4d81e0[_0x1fdf8f(0x16a)](_0x1fdf8f(0x158))['to'](this,_0x1fdf8f(0x180),this[_0x1fdf8f(0x15b)][_0x1fdf8f(0x181)],_0x1fdf8f(0x185),_0x4925b4,_0x1fdf8f(0x17a),(_0x117a34,_0x49c8bc,_0x30ce80)=>!!_0x30ce80||_0x117a34&&!_0x49c8bc),_0x4925b4['on'](_0x1fdf8f(0x15a),(_0x2f44e0,_0x4218dc)=>{const _0x328f47=_0x1fdf8f;this[_0x328f47(0x16d)](_0x328f47(0x17f),_0x4218dc),_0x4925b4[_0x328f47(0x188)][_0x328f47(0x18c)]('');}),_0x4925b4['on'](_0x1fdf8f(0x16c),()=>this[_0x1fdf8f(0x17b)]()),_0x4925b4[_0x1fdf8f(0x16a)](_0x1fdf8f(0x186))['to'](this[_0x1fdf8f(0x15b)][_0x1fdf8f(0x181)],_0x1fdf8f(0x185)),_0x4d81e0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x42fde8=_0x9605;(function(_0x20acae,_0x4f8249){const _0x2208a8=_0x9605,_0x181224=_0x20acae();while(!![]){try{const _0x4b5541=parseInt(_0x2208a8(0x1b1))/0x1+parseInt(_0x2208a8(0x1cd))/0x2*(parseInt(_0x2208a8(0x1dd))/0x3)+-parseInt(_0x2208a8(0x1e9))/0x4*(parseInt(_0x2208a8(0x1c4))/0x5)+parseInt(_0x2208a8(0x1b2))/0x6*(-parseInt(_0x2208a8(0x1bf))/0x7)+-parseInt(_0x2208a8(0x1c5))/0x8*(parseInt(_0x2208a8(0x1dc))/0x9)+-parseInt(_0x2208a8(0x1cf))/0xa+parseInt(_0x2208a8(0x1df))/0xb;if(_0x4b5541===_0x4f8249)break;else _0x181224['push'](_0x181224['shift']());}catch(_0x44bcf2){_0x181224['push'](_0x181224['shift']());}}}(_0x4be7,0xe87bc));import{BaseSuggestionThreadView as _0x1654c3}from'./basesuggestionthreadview.js';import{trimHtml as _0x4cd4fe}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x457316}from'../../utils/utils.js';function _0x9605(_0x4d8e03,_0x3b76e3){const _0x4be7ef=_0x4be7();return _0x9605=function(_0x9605a8,_0x23d272){_0x9605a8=_0x9605a8-0x1b0;let _0x32a4fc=_0x4be7ef[_0x9605a8];return _0x32a4fc;},_0x9605(_0x4d8e03,_0x3b76e3);}export class SuggestionThreadView extends _0x1654c3{[_0x42fde8(0x1b0)];[_0x42fde8(0x1b5)];constructor(_0x32b88f,_0x4c71d1,_0x17fed4,_0x562a1c){const _0xf5f259=_0x42fde8;super(_0x32b88f,_0x4c71d1,_0x17fed4,_0x562a1c),this[_0xf5f259(0x1e2)](_0xf5f259(0x1d1),''),this[_0xf5f259(0x1d6)](_0xf5f259(0x1d1))['to'](this,_0xf5f259(0x1cb),_0x13bf58=>_0x13bf58&&_0x13bf58[0x0]?_0x13bf58[0x0][_0xf5f259(0x1d1)]:''),this[_0xf5f259(0x1d6)](_0xf5f259(0x1ce))['to'](this,_0xf5f259(0x1cb),this,_0xf5f259(0x1b7),(_0x2f6666,_0x4e9e80)=>{const _0x19d7be=_0xf5f259;let _0x5b2c75='';for(const _0xf08c0c of _0x2f6666)_0x5b2c75+=_0x19d7be(0x1ca)+_0x457316(_0xf08c0c[_0x19d7be(0x1b3)],_0xf08c0c[_0x19d7be(0x1b8)])+_0x19d7be(0x1c9);return _0x4e9e80?_0x5b2c75:_0x4cd4fe(_0x5b2c75,{'limit':0x8c});}),this[_0xf5f259(0x1b5)]=null,this[_0xf5f259(0x1b0)]=new _0x562a1c[(_0xf5f259(0x1c2))](_0x32b88f,_0x4c71d1,{'formatDateTime':_0x562a1c[_0xf5f259(0x1bc)]}),this[_0xf5f259(0x1b0)][_0xf5f259(0x1d6)](_0xf5f259(0x1ce))['to'](this),this[_0xf5f259(0x1b0)][_0xf5f259(0x1e6)](_0xf5f259(0x1e7),_0xf5f259(0x1e4))['to'](this),this[_0xf5f259(0x1b0)][_0xf5f259(0x1c7)][_0xf5f259(0x1d6)](_0xf5f259(0x1bd))['to'](this,_0xf5f259(0x1d5)),this[_0xf5f259(0x1b0)][_0xf5f259(0x1d0)][_0xf5f259(0x1d6)](_0xf5f259(0x1bd))['to'](this,_0xf5f259(0x1d2)),this[_0xf5f259(0x1d9)][_0xf5f259(0x1cc)](this[_0xf5f259(0x1b0)]),this[_0xf5f259(0x1db)]&&this[_0xf5f259(0x1d9)][_0xf5f259(0x1cc)](this[_0xf5f259(0x1db)]),this[_0xf5f259(0x1e1)]&&this[_0xf5f259(0x1d9)][_0xf5f259(0x1cc)](this[_0xf5f259(0x1e1)]),this[_0xf5f259(0x1e3)](this[_0xf5f259(0x1b6)]());}[_0x42fde8(0x1b6)](){const _0x124ec1=_0x42fde8,_0x6fd1a2=this[_0x124ec1(0x1de)],_0x331c00=[this[_0x124ec1(0x1b0)]];return this[_0x124ec1(0x1db)]&&_0x331c00[_0x124ec1(0x1c6)](this[_0x124ec1(0x1db)]),this[_0x124ec1(0x1e1)]&&_0x331c00[_0x124ec1(0x1c6)](this[_0x124ec1(0x1e1)]),_0x331c00[_0x124ec1(0x1c6)](this[_0x124ec1(0x1ba)]),{'tag':_0x124ec1(0x1e8),'attributes':{'class':['ck',_0x124ec1(0x1da),_0x124ec1(0x1bb),_0x6fd1a2['if'](_0x124ec1(0x1b7),_0x124ec1(0x1b9)),_0x6fd1a2['to'](_0x124ec1(0x1d1),_0x1ba265=>_0x124ec1(0x1c0)+_0x1ba265),this[_0x124ec1(0x1be)][_0x124ec1(0x1b4)]&&_0x124ec1(0x1e0)],'data-suggestion-id':this[_0x124ec1(0x1d7)]['id'],'data-thread-id':this[_0x124ec1(0x1d7)][_0x124ec1(0x1d8)]['id'],'data-author-id':this[_0x124ec1(0x1d7)][_0x124ec1(0x1c8)]['id'],'tabindex':0x0,'role':_0x124ec1(0x1d3),'aria-label':_0x6fd1a2['to'](_0x124ec1(0x1d4)),'aria-describedby':this[_0x124ec1(0x1ba)]['id']},'children':_0x331c00};}[_0x42fde8(0x1e5)](){const _0x10be42=_0x42fde8;super[_0x10be42(0x1e5)](),this[_0x10be42(0x1db)]&&(this[_0x10be42(0x1db)][_0x10be42(0x1e6)](_0x10be42(0x1c3))['to'](this),this[_0x10be42(0x1db)][_0x10be42(0x1e6)](_0x10be42(0x1c1))['to'](this)),this[_0x10be42(0x1e1)]&&(this[_0x10be42(0x1e1)][_0x10be42(0x1e6)](_0x10be42(0x1c3))['to'](this),this[_0x10be42(0x1e1)][_0x10be42(0x1e6)](_0x10be42(0x1c1))['to'](this));}}function _0x4be7(){const _0x211945=['getTemplate','isActive','color','ck-suggestion-wrapper--active','ariaDescriptionView','ck-suggestion-wrapper','formatDateTime','isEnabled','_config','58709UhJZSb','ck-suggestion-','editorDestroyed','SuggestionView','editorReady','15UzNeZx','465848svnIEI','push','acceptButton','author','</p>','<p>','descriptionParts','add','18ptqiXr','description','9201970WYFYHo','discardButton','type','canDiscard','listitem','ariaLabel','canAccept','bind','_model','commentThread','focusables','ck-rounded-corners','commentsListView','261djljCR','476664nYBwtI','bindTemplate','50344239bzgcwb','ck-suggestion--disabled-comments','commentThreadInputView','set','setTemplate','discardSuggestion','render','delegate','acceptSuggestion','div','1067316SfPHNf','suggestionView','124551khuHyu','1266BRDeWs','content','disableComments','_descriptionElement'];_0x4be7=function(){return _0x211945;};return _0x4be7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23eb00=_0x4089;(function(_0x1c2a59,_0x30c736){const _0xf60a0=_0x4089,_0x309443=_0x1c2a59();while(!![]){try{const _0x48d848=-parseInt(_0xf60a0(0x109))/0x1+parseInt(_0xf60a0(0x119))/0x2+-parseInt(_0xf60a0(0x103))/0x3*(-parseInt(_0xf60a0(0x10e))/0x4)+-parseInt(_0xf60a0(0xea))/0x5*(parseInt(_0xf60a0(0xf7))/0x6)+parseInt(_0xf60a0(0x11a))/0x7+-parseInt(_0xf60a0(0xe8))/0x8*(-parseInt(_0xf60a0(0x118))/0x9)+-parseInt(_0xf60a0(0xe0))/0xa*(parseInt(_0xf60a0(0xe5))/0xb);if(_0x48d848===_0x30c736)break;else _0x309443['push'](_0x309443['shift']());}catch(_0x509dea){_0x309443['push'](_0x309443['shift']());}}}(_0x4ca6,0xe7abc));import{FocusTracker as _0x3279ca,KeystrokeHandler as _0x180201}from'ckeditor5/src/utils.js';import{View as _0x36f5f3,ViewCollection as _0x515255,FocusCycler as _0x19f7f9}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x450d57,UserView as _0x3603eb}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x2a4da9,IconCheck as _0xff049a}from'ckeditor5/src/icons.js';function _0x4089(_0x40eb91,_0x3e1ead){const _0x4ca67b=_0x4ca6();return _0x4089=function(_0x408923,_0x45fa3d){_0x408923=_0x408923-0xcc;let _0x2b7cab=_0x4ca67b[_0x408923];return _0x2b7cab;},_0x4089(_0x40eb91,_0x3e1ead);}import{getTranslation as _0x2b6899}from'../../utils/common-translations.js';function _0x4ca6(){const _0x3aaa2d=['attributes','ck-annotation__info','execute','discardButton','formatDateTime','ck-comment__info-time','acceptButton','bindTemplate','Discard\x20suggestion','11187NYijrC','3352800lvXqWn','8125915iUdyhi','EXTERNAL_SUGGESTION','target','fire','extendTemplate','ck-suggestion__user','focusables','EXTERNAL_IMPORT_WORD_SUGGESTION','keystrokes','description','author','ck-annotation__info-name','push','innerHTML','authoredAt','ck-suggestion__main','time','getTemplate','ck-annotation__content-wrapper','focusFirst','userView','change:description','ck-annotation__user','shift+tab','focusCycler','tab','add','span','source','ck-annotation__main','getUserViewNotificationText','getExternalSuggestionNote','548510BGRxTF','ck-suggestion','ck-annotation__info-time','enter','ck-suggestion--accept','154qnkWBx','render','ck-annotation','88zVJbQf','Accept\x20suggestion','5WALnWp','discardSuggestion','listenTo','element','name','.ck-annotation__content-wrapper','creator','ck-suggestion__actions','_config','EXTERNAL_AVATAR','ck-comment__external','bind','querySelector','8562066QJhakr','presentation','div','focus','ck-suggestion__info-name','ck-suggestion__info','setTemplate','importWord','EXTERNAL_IMPORT_WORD_AVATAR','_setupKeyboardNavigation','_model','locale','67458JveHui','esc','set','focusTracker','ck-suggestion--discard','_createButton','1416005AJoHeC','@external','ck-annotation__actions','isExternal','acceptSuggestion','304qsFoZx'];_0x4ca6=function(){return _0x3aaa2d;};return _0x4ca6();}export class SuggestionView extends _0x36f5f3{[_0x23eb00(0xd4)];[_0x23eb00(0x115)];[_0x23eb00(0x112)];[_0x23eb00(0x120)];[_0x23eb00(0x106)];[_0x23eb00(0x122)];[_0x23eb00(0xd8)];[_0x23eb00(0x101)];[_0x23eb00(0xf2)];constructor(_0xa5663d,_0x216768,_0x5d313d){const _0x1a2c6c=_0x23eb00;super(_0xa5663d),this[_0x1a2c6c(0x101)]=_0x216768,this[_0x1a2c6c(0xf2)]=_0x5d313d,this[_0x1a2c6c(0x105)](_0x1a2c6c(0x123),''),this[_0x1a2c6c(0xf5)](_0x1a2c6c(0xce))['to'](_0x216768),this[_0x1a2c6c(0x115)]=this[_0x1a2c6c(0x108)](_0x2b6899(_0xa5663d,_0x1a2c6c(0xe9)),_0xff049a,_0x1a2c6c(0xe4),_0x1a2c6c(0x10d),'sw'),this[_0x1a2c6c(0x112)]=this[_0x1a2c6c(0x108)](_0x2b6899(_0xa5663d,_0x1a2c6c(0x117)),_0x2a4da9,_0x1a2c6c(0x107),_0x1a2c6c(0xeb),'sw'),this[_0x1a2c6c(0xd4)]=new _0x3603eb(_0xa5663d,_0x216768[_0x1a2c6c(0x124)],this[_0x1a2c6c(0xde)]()),this[_0x1a2c6c(0xd4)][_0x1a2c6c(0x11e)]({'attributes':{'class':[_0x1a2c6c(0x11f),_0x1a2c6c(0xd6)],'aria-hidden':!0x0}}),this[_0x1a2c6c(0x120)]=new _0x515255([this[_0x1a2c6c(0x115)],this[_0x1a2c6c(0x112)]]),this[_0x1a2c6c(0x106)]=new _0x3279ca(),this[_0x1a2c6c(0x122)]=new _0x180201(),this[_0x1a2c6c(0xd8)]=new _0x19f7f9({'focusables':this[_0x1a2c6c(0x120)],'focusTracker':this[_0x1a2c6c(0x106)],'keystrokeHandler':this[_0x1a2c6c(0x122)],'actions':{'focusPrevious':_0x1a2c6c(0xd7),'focusNext':_0x1a2c6c(0xd9)},'keystrokeHandlerOptions':{'filter':_0xe321f0=>_0xe321f0[_0x1a2c6c(0x11c)]!==this[_0x1a2c6c(0xed)]}}),this[_0x1a2c6c(0xfd)](this[_0x1a2c6c(0xd1)]());}[_0x23eb00(0xe6)](){const _0x212466=_0x23eb00;super[_0x212466(0xe6)]();const _0x296c08=this[_0x212466(0xed)][_0x212466(0xf6)](_0x212466(0xef));_0x296c08[_0x212466(0xcd)]=this[_0x212466(0x123)],this['on'](_0x212466(0xd5),(_0x1623a6,_0x4743a0,_0x599742)=>{const _0x54933e=_0x212466;_0x296c08[_0x54933e(0xcd)]=_0x599742;}),this[_0x212466(0x100)]();}[_0x23eb00(0xd1)](){const _0xf264e8=_0x23eb00,_0x1fe6e0=this[_0xf264e8(0x116)],_0x444db4=[{'tag':_0xf264e8(0xf9),'attributes':{'class':[_0xf264e8(0xfc),_0xf264e8(0x110)]},'children':[{'tag':_0xf264e8(0xdb),'children':[{'text':this[_0xf264e8(0xd4)][_0xf264e8(0xee)]}],'attributes':{'class':[_0xf264e8(0xfb),_0xf264e8(0x125)],'data-cke-tooltip-text':this[_0xf264e8(0xd4)][_0xf264e8(0xee)]}},{'tag':_0xf264e8(0xd0),'attributes':{'datetime':_0x1fe6e0['to'](_0xf264e8(0xce)),'class':[_0xf264e8(0x114),_0xf264e8(0xe2)]},'children':[{'text':_0x1fe6e0['to'](_0xf264e8(0xce),_0x1cb44f=>this[_0xf264e8(0xf2)][_0xf264e8(0x113)](_0x1cb44f))}]}]},{'tag':_0xf264e8(0xf9),'attributes':{'class':[_0xf264e8(0xf1),_0xf264e8(0x10b)]},'children':[this[_0xf264e8(0x115)],this[_0xf264e8(0x112)]]},{'tag':_0xf264e8(0xf9),'attributes':{'class':[_0xf264e8(0xd2)]}}];return this[_0xf264e8(0x101)][_0xf264e8(0x10c)]&&_0x444db4[_0xf264e8(0xcc)]({'tag':_0xf264e8(0xf9),'attributes':{'class':[_0xf264e8(0xf4)]},'children':[{'text':this[_0xf264e8(0xdf)]()}]}),{'tag':_0xf264e8(0xf9),'attributes':{'class':[_0xf264e8(0xe1),_0xf264e8(0xe7)],'tabindex':-0x1},'children':[this[_0xf264e8(0xd4)],{'tag':_0xf264e8(0xf9),'attributes':{'class':[_0xf264e8(0xcf),_0xf264e8(0xdd)],'role':_0xf264e8(0xf8)},'children':_0x444db4}]};}[_0x23eb00(0xfa)](){const _0x1b1e50=_0x23eb00;this[_0x1b1e50(0xed)][_0x1b1e50(0xfa)]();}[_0x23eb00(0xde)](){const _0x2c6b08=_0x23eb00;return this[_0x2c6b08(0x101)][_0x2c6b08(0x10c)]?_0x2c6b08(0xfe)===this[_0x2c6b08(0x101)][_0x2c6b08(0x10f)][_0x2c6b08(0x10a)][_0x2c6b08(0xdc)]?_0x2b6899(this[_0x2c6b08(0x102)],_0x2c6b08(0xff),this[_0x2c6b08(0x101)][_0x2c6b08(0xf0)][_0x2c6b08(0xee)]):_0x2b6899(this[_0x2c6b08(0x102)],_0x2c6b08(0xf3),this[_0x2c6b08(0x101)][_0x2c6b08(0xf0)][_0x2c6b08(0xee)]):null;}[_0x23eb00(0xdf)](){const _0x223db1=_0x23eb00;return _0x223db1(0xfe)===this[_0x223db1(0x101)][_0x223db1(0x10f)][_0x223db1(0x10a)][_0x223db1(0xdc)]?_0x2b6899(this[_0x223db1(0x102)],_0x223db1(0x121)):_0x2b6899(this[_0x223db1(0x102)],_0x223db1(0x11b));}[_0x23eb00(0x108)](_0x30ec78,_0xc3fa2e,_0x32f204,_0x28598a,_0x8792cc){const _0x27cc98=_0x23eb00,_0x4afae5=new _0x450d57(this[_0x27cc98(0x102)]);return _0x4afae5[_0x27cc98(0x105)]({'label':_0x30ec78,'icon':_0xc3fa2e,'tooltip':!0x0,'tooltipPosition':_0x8792cc}),_0x4afae5[_0x27cc98(0x11e)]({'attributes':{'class':_0x32f204}}),_0x4afae5['on'](_0x27cc98(0x111),()=>{const _0x4437d5=_0x27cc98;this[_0x4437d5(0x11d)](_0x28598a,this[_0x4437d5(0x101)]['id']);}),_0x4afae5;}[_0x23eb00(0x100)](){const _0x44bd0b=_0x23eb00,_0x5468cc=this[_0x44bd0b(0xed)];this[_0x44bd0b(0x122)][_0x44bd0b(0xec)](_0x5468cc);for(const _0x824eb7 of this[_0x44bd0b(0x120)])this[_0x44bd0b(0x106)][_0x44bd0b(0xda)](_0x824eb7[_0x44bd0b(0xed)]),this[_0x44bd0b(0x122)][_0x44bd0b(0xec)](_0x824eb7[_0x44bd0b(0xed)]);this[_0x44bd0b(0x122)][_0x44bd0b(0x105)](_0x44bd0b(0xe3),(_0x5de223,_0x287a9d)=>{const _0x26b25e=_0x44bd0b;_0x5468cc===_0x5de223[_0x26b25e(0x11c)]&&(this[_0x26b25e(0xd8)][_0x26b25e(0xd3)](),_0x287a9d());}),this[_0x44bd0b(0x122)][_0x44bd0b(0x105)](_0x44bd0b(0x104),(_0x1b581e,_0x4e68c1)=>{const _0x46c0ce=_0x44bd0b;_0x5468cc!==_0x1b581e[_0x46c0ce(0x11c)]&&(this[_0x46c0ce(0xfa)](),_0x4e68c1());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5f47d4=_0x3dec;function _0x3dec(_0x41e9da,_0x372c8c){const _0x22c38b=_0x22c3();return _0x3dec=function(_0x3decfc,_0x58ec1d){_0x3decfc=_0x3decfc-0x71;let _0x42ddee=_0x22c38b[_0x3decfc];return _0x42ddee;},_0x3dec(_0x41e9da,_0x372c8c);}(function(_0x24a185,_0x412bfc){const _0x1755ff=_0x3dec,_0x2f8016=_0x24a185();while(!![]){try{const _0x311407=-parseInt(_0x1755ff(0x87))/0x1*(-parseInt(_0x1755ff(0x7f))/0x2)+-parseInt(_0x1755ff(0x82))/0x3+-parseInt(_0x1755ff(0x77))/0x4*(parseInt(_0x1755ff(0x93))/0x5)+parseInt(_0x1755ff(0x86))/0x6*(parseInt(_0x1755ff(0x94))/0x7)+-parseInt(_0x1755ff(0x8c))/0x8*(-parseInt(_0x1755ff(0x88))/0x9)+parseInt(_0x1755ff(0x7d))/0xa*(parseInt(_0x1755ff(0x89))/0xb)+-parseInt(_0x1755ff(0x7a))/0xc;if(_0x311407===_0x412bfc)break;else _0x2f8016['push'](_0x2f8016['shift']());}catch(_0x492233){_0x2f8016['push'](_0x2f8016['shift']());}}}(_0x22c3,0x521aa));import{View as _0x499f69}from'ckeditor5/src/ui.js';function _0x22c3(){const _0xfd2775=['classes','className','style','innerHTML','setTemplate','data-ck-root-name','2531515xdOIJl','4928hKzbPu','dialogRects','content','createElement','setPreviewData','height','render','4nhkFkx','focus','setAttribute','4347420UkNCZT','previewDataReady','width','896810TESzjo','\x20ck-track-changes-preview__root-container','38hRvgUz','div','fire','341013hBlKdp','push','ck-track-changes-preview','ck-reset','1926QAGtwr','30953oMBSRb','45lcCiNW','11rHxhJi','element','options','663656QVmKHr'];_0x22c3=function(){return _0xfd2775;};return _0x22c3();}export class TrackChangesPreviewView extends _0x499f69{[_0x5f47d4(0x8b)];constructor(_0x5dce8d,_0x147570){const _0x31fe82=_0x5f47d4;super(_0x5dce8d),this[_0x31fe82(0x8b)]=_0x147570,this[_0x31fe82(0x91)]({'tag':_0x31fe82(0x80),'attributes':{'class':['ck',_0x31fe82(0x85),_0x31fe82(0x84)],'tabindex':-0x1}});}[_0x5f47d4(0x76)](){const _0x1cddc7=_0x5f47d4;super[_0x1cddc7(0x76)](),this[_0x1cddc7(0x8a)][_0x1cddc7(0x8f)][_0x1cddc7(0x7c)]=this[_0x1cddc7(0x8b)][_0x1cddc7(0x71)][_0x1cddc7(0x7c)]+'px',this[_0x1cddc7(0x8a)][_0x1cddc7(0x8f)][_0x1cddc7(0x75)]=this[_0x1cddc7(0x8b)][_0x1cddc7(0x71)][_0x1cddc7(0x75)]+'px';}[_0x5f47d4(0x74)](_0x642d70,_0x520638){const _0x1fc3d8=_0x5f47d4;if(!this[_0x1fc3d8(0x8a)])return;const _0x1fe013=[];for(const [_0x2f40af,_0x3edcf3]of _0x642d70){const _0x39293d=document[_0x1fc3d8(0x73)](_0x1fc3d8(0x80));_0x39293d[_0x1fc3d8(0x79)](_0x1fc3d8(0x92),_0x2f40af),_0x39293d[_0x1fc3d8(0x8e)]=_0x3edcf3[_0x1fc3d8(0x8d)]+_0x1fc3d8(0x7e),_0x39293d[_0x1fc3d8(0x90)]=_0x3edcf3[_0x1fc3d8(0x72)],_0x1fe013[_0x1fc3d8(0x83)](_0x39293d);}_0x520638(this[_0x1fc3d8(0x8a)],_0x1fe013),this[_0x1fc3d8(0x8a)][_0x1fc3d8(0x8f)][_0x1fc3d8(0x75)]='',this[_0x1fc3d8(0x81)](_0x1fc3d8(0x7b));}[_0x5f47d4(0x78)](){const _0x5ac614=_0x5f47d4;this[_0x5ac614(0x8a)][_0x5ac614(0x78)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3badb7,_0x5050e7,_0x5ce279){const _0x4993aa=_0x3badb7['t'],t=_0x3badb7['t'];switch(_0x5050e7){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',_0x5ce279);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5ce279);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5ce279);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5ce279);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5ce279);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',_0x5ce279);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5ce279);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',_0x5ce279);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5ce279);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5ce279);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5ce279);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5ce279);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5ce279);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5ce279);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5ce279);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5ce279);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5ce279);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5ce279);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5ce279);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5ce279);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5ce279);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5ce279);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5ce279);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5ce279);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5ce279);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'},_0x5ce279);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5ce279);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5ce279);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5ce279);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5ce279);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5ce279);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5ce279);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5ce279);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'},_0x5ce279);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5ce279);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5ce279);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5ce279);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5ce279);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5ce279);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5ce279);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'},_0x5ce279);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5ce279);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5ce279);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'},_0x5ce279);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5ce279);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'},_0x5ce279);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5ce279);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5ce279);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'},_0x5ce279);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5ce279);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 _0x4993aa({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5ce279);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4993aa({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5ce279);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5ce279);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'},_0x5ce279);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'},_0x5ce279);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'},_0x5ce279);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5050e7;}}
|
|
23
|
+
export function getTranslation(_0x1ea975,_0x5f57cb,_0x341993){const _0x36e368=_0x1ea975['t'],t=_0x1ea975['t'];switch(_0x5f57cb){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',_0x341993);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x341993);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x341993);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x341993);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x341993);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',_0x341993);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x341993);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',_0x341993);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x341993);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x341993);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x341993);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x341993);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x341993);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x341993);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x341993);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x341993);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x341993);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x341993);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x341993);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x341993);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x341993);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x341993);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x341993);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x341993);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x341993);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'},_0x341993);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x341993);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x341993);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x341993);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x341993);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x341993);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x341993);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x341993);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'},_0x341993);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x341993);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x341993);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x341993);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x341993);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x341993);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x341993);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'},_0x341993);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x341993);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x341993);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'},_0x341993);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x341993);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'},_0x341993);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x341993);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x341993);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'},_0x341993);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x341993);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 _0x36e368({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x341993);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x36e368({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x341993);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x341993);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'},_0x341993);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'},_0x341993);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'},_0x341993);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5f57cb;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5a07e1,_0x3f805f){const _0x29c215=_0x41b7,_0x60668=_0x5a07e1();while(!![]){try{const _0x204219=-parseInt(_0x29c215(0x122))/0x1+-parseInt(_0x29c215(0x132))/0x2*(-parseInt(_0x29c215(0x135))/0x3)+parseInt(_0x29c215(0x139))/0x4*(parseInt(_0x29c215(0x13b))/0x5)+-parseInt(_0x29c215(0x131))/0x6*(parseInt(_0x29c215(0x130))/0x7)+-parseInt(_0x29c215(0x14e))/0x8*(parseInt(_0x29c215(0x155))/0x9)+parseInt(_0x29c215(0x13d))/0xa+parseInt(_0x29c215(0x11f))/0xb*(parseInt(_0x29c215(0x123))/0xc);if(_0x204219===_0x3f805f)break;else _0x60668['push'](_0x60668['shift']());}catch(_0x443c4c){_0x60668['push'](_0x60668['shift']());}}}(_0x1ad2,0x87b7b));export function normalizeDescription(_0x106029){const _0x86ec6e=_0x41b7;return Array[_0x86ec6e(0x134)](_0x106029)||(_0x106029=[_0x106029]),_0x106029[_0x86ec6e(0x13c)](_0x2e87f2=>{const _0x488c28=_0x86ec6e,_0x56a1d2=_0x2e87f2[_0x488c28(0x129)][_0x488c28(0x148)](/\*/g,''),_0x302f49=_0x2e87f2[_0x488c28(0x11d)]?_0x488c28(0x14f)+_0x2e87f2[_0x488c28(0x11d)][_0x488c28(0x13e)]+']':'';return'['+_0x2e87f2[_0x488c28(0x121)]+']\x20'+_0x56a1d2+_0x302f49;})[_0x86ec6e(0x12f)](';\x20');}export function renderDescription(_0x1fe575,_0x37cdd4){const _0x3eea2f=_0x41b7;let _0xbe101='';return _0xbe101+=_0x1fe575[_0x3eea2f(0x154)]('*')[_0x3eea2f(0x13c)]((_0x94706b,_0xd63fb8)=>_0xd63fb8%0x2!=0x0?_0x3eea2f(0x126)+Yt(_0x94706b)+_0x3eea2f(0x12c):Yt(_0x94706b))[_0x3eea2f(0x12f)](''),_0x37cdd4&&(_0xbe101+=_0x3eea2f(0x14d)+_0x37cdd4[_0x3eea2f(0x13e)]+_0x3eea2f(0x14a)+_0x37cdd4[_0x3eea2f(0x125)]+_0x3eea2f(0x12d)),_0xbe101;}function _0x41b7(_0x5970cf,_0xadee40){const _0x1ad200=_0x1ad2();return _0x41b7=function(_0x41b7f1,_0x2f0451){_0x41b7f1=_0x41b7f1-0x11d;let _0x4988c0=_0x1ad200[_0x41b7f1];return _0x4988c0;},_0x41b7(_0x5970cf,_0xadee40);}function Yt(_0xd9dc9){const _0x350c0c=_0x41b7,_0x50c408=document[_0x350c0c(0x151)](_0x350c0c(0x144));return _0x50c408[_0x350c0c(0x152)]=_0xd9dc9,_0x50c408[_0x350c0c(0x153)];}export function sortSuggestions(_0x315f7b){const _0x442208=_0x41b7;return _0x315f7b[_0x442208(0x150)]((_0x4da352,_0x518551)=>_0x442208(0x124)===_0x4da352[_0x442208(0x121)]&&_0x442208(0x124)!==_0x518551[_0x442208(0x121)]?-0x1:_0x442208(0x124)!==_0x4da352[_0x442208(0x121)]&&_0x442208(0x124)===_0x518551[_0x442208(0x121)]?0x1:_0x442208(0x137)==_0x4da352[_0x442208(0x121)]&&_0x442208(0x137)!=_0x518551[_0x442208(0x121)]?-0x1:_0x442208(0x137)!=_0x4da352[_0x442208(0x121)]&&_0x442208(0x137)==_0x518551[_0x442208(0x121)]?0x1:0x0);}export function getSelectedSuggestions(_0x565d73,_0x72bf94){const _0x4ee283=_0x41b7,_0x45119b=Array[_0x4ee283(0x127)](_0x565d73[_0x4ee283(0x128)]()),_0x285d06=new Set();for(const _0x1547ce of _0x72bf94)if(_0x1547ce[_0x4ee283(0x142)]){for(const _0x3aa410 of _0x45119b)for(const _0x257049 of _0x1547ce[_0x4ee283(0x128)]())(_0x3aa410[_0x4ee283(0x13a)](_0x257049)||_0x565d73[_0x4ee283(0x143)]&&!_0x1547ce[_0x4ee283(0x149)]&&_0x1547ce[_0x4ee283(0x120)]&&_0x257049[_0x4ee283(0x140)][_0x4ee283(0x14b)](_0x3aa410[_0x4ee283(0x11e)]))&&_0x285d06[_0x4ee283(0x147)](_0x1547ce);}return _0x285d06;}export function getRangesOfBlockGroups(_0x5a49d9,_0x18cdd4){const _0x594df2=_0x41b7;let _0x29b256,_0x3c4a5d=0x0;const _0x3b9e12=[],_0x56d110=_0x18cdd4[_0x594df2(0x141)];for(;_0x3c4a5d<_0x5a49d9[_0x594df2(0x146)];){const _0x25c846=_0x5a49d9[_0x3c4a5d],_0x52804e=_0x5a49d9[_0x3c4a5d+0x1];_0x29b256||(_0x29b256=_0x18cdd4[_0x594df2(0x133)](_0x25c846)),Zt(_0x18cdd4,_0x25c846,_0x52804e)||(_0x3b9e12[_0x594df2(0x12a)](_0x18cdd4[_0x594df2(0x12b)](_0x29b256,_0x56d110[_0x594df2(0x12e)](_0x25c846)?_0x18cdd4[_0x594df2(0x14c)](_0x25c846):_0x18cdd4[_0x594df2(0x13f)](_0x25c846,_0x594df2(0x140)))),_0x29b256=null),_0x3c4a5d++;}return _0x3b9e12;}function _0x1ad2(){const _0x3b5c07=['createRange','</span>','\x22></span>','isObject','join','120015SLduCC','6GEZtSI','348wEWKsJ','createPositionBefore','isArray','11961gqTyrY','splice','deletion','execute','4cmVFNi','isIntersecting','2189045rHiSch','map','5495390gJFphP','value','createPositionAt','end','schema','isInContent','isCollapsed','span','change','length','add','replace','isMultiRange','\x22\x20title=\x22','isTouching','createPositionAfter','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','904jkXoEc','\x20[color\x20','sort','createElement','innerText','innerHTML','split','67365ypFiyX','color','start','1287ALwqPG','next','type','798214omnYqh','54972oWORvg','attribute','title','<span\x20class=\x22ck-suggestion-type\x22>','from','getRanges','content','push'];_0x1ad2=function(){return _0x3b5c07;};return _0x1ad2();}function Zt(_0x28c2e2,_0x5540f4,_0x4ee8c9){const _0x5d46db=_0x41b7;if(!_0x4ee8c9)return!0x1;const _0x3b8192=_0x28c2e2[_0x5d46db(0x14c)](_0x5540f4),_0x53ac46=_0x28c2e2[_0x5d46db(0x133)](_0x4ee8c9);return _0x3b8192[_0x5d46db(0x14b)](_0x53ac46);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x553de2,_0x4f574c,_0x3dd14){const _0x1f8377=_0x41b7;for(;_0x3dd14[_0x1f8377(0x146)];){const _0x41681=_0x3dd14[_0x1f8377(0x136)](0x0,0x64);_0x553de2[_0x1f8377(0x145)](()=>{const _0x1f8430=_0x1f8377;for(const _0xeae6ef of _0x41681)_0xeae6ef[_0x1f8430(0x142)]&&_0x4f574c[_0x1f8430(0x138)](_0xeae6ef['id']);});}}
|