@ckeditor/ckeditor5-track-changes 47.1.0-alpha.1 → 47.1.0-alpha.2
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/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/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
|
+
const _0x8352c3=_0x3909;(function(_0x34c9b9,_0x1d7003){const _0x3180c8=_0x3909,_0x2416de=_0x34c9b9();while(!![]){try{const _0x48d72e=-parseInt(_0x3180c8(0x1b9))/0x1+-parseInt(_0x3180c8(0x1b3))/0x2+parseInt(_0x3180c8(0x1af))/0x3*(parseInt(_0x3180c8(0x1b7))/0x4)+-parseInt(_0x3180c8(0x1b1))/0x5*(parseInt(_0x3180c8(0x1aa))/0x6)+parseInt(_0x3180c8(0x1bc))/0x7*(-parseInt(_0x3180c8(0x1be))/0x8)+-parseInt(_0x3180c8(0x1bf))/0x9+parseInt(_0x3180c8(0x1a9))/0xa;if(_0x48d72e===_0x1d7003)break;else _0x2416de['push'](_0x2416de['shift']());}catch(_0x239c78){_0x2416de['push'](_0x2416de['shift']());}}}(_0x433f,0xedeb8));function _0x3909(_0x1953d4,_0x1d1700){const _0x433fed=_0x433f();return _0x3909=function(_0x39091a,_0x17f6af){_0x39091a=_0x39091a-0x1a9;let _0x38e39d=_0x433fed[_0x39091a];return _0x38e39d;},_0x3909(_0x1953d4,_0x1d1700);}import{Plugin as _0x20e7c3}from'ckeditor5/src/core.js';import{Dialog as _0x38465e}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x2c9bbc}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x2997ea}from'./commands/previewfinalcontentcommand.js';function _0x433f(){const _0x58854e=['5807304eaZexR','40684590BVScwc','4434TOWkzS','requires','appendChild','editor','TrackChangesPreview','7983AAwfgm','add','12180hBdUFZ','isOfficialPlugin','862212TwnLeV','config','define','pluginName','292eMLlnl','commands','216181ANFklJ','isPremiumPlugin','trackChanges.preview.renderFunction','35hTAcxy','previewFinalContent','312712AlXRrv'];_0x433f=function(){return _0x58854e;};return _0x433f();}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x20e7c3{static get[_0x8352c3(0x1ab)](){return[_0x2c9bbc,_0x38465e];}static get[_0x8352c3(0x1b6)](){const _0x34d7d4=_0x8352c3;return _0x34d7d4(0x1ae);}static get[_0x8352c3(0x1b2)](){return!0x0;}static get[_0x8352c3(0x1ba)](){return!0x0;}constructor(_0x8ab250){const _0xc25acb=_0x8352c3;super(_0x8ab250),_0x8ab250[_0xc25acb(0x1b8)][_0xc25acb(0x1b0)](_0xc25acb(0x1bd),new _0x2997ea(this[_0xc25acb(0x1ad)])),_0x8ab250[_0xc25acb(0x1b4)][_0xc25acb(0x1b5)](_0xc25acb(0x1bb),(_0x2aa009,_0x1ad5ab)=>{const _0x1f330d=_0xc25acb;for(const _0x181c67 of _0x1ad5ab)_0x2aa009[_0x1f330d(0x1ac)](_0x181c67);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52ecf6=_0xf4dd;(function(_0x1ac719,_0x58c46c){const _0x4ef393=_0xf4dd,_0x4f42e2=_0x1ac719();while(!![]){try{const _0x53787b=parseInt(_0x4ef393(0x1f5))/0x1*(parseInt(_0x4ef393(0x1f1))/0x2)+-parseInt(_0x4ef393(0x1fd))/0x3*(parseInt(_0x4ef393(0x1b6))/0x4)+-parseInt(_0x4ef393(0x1cd))/0x5+-parseInt(_0x4ef393(0x1d2))/0x6+parseInt(_0x4ef393(0x258))/0x7+-parseInt(_0x4ef393(0x1e3))/0x8*(parseInt(_0x4ef393(0x1b8))/0x9)+parseInt(_0x4ef393(0x1e8))/0xa;if(_0x53787b===_0x58c46c)break;else _0x4f42e2['push'](_0x4f42e2['shift']());}catch(_0xdaa957){_0x4f42e2['push'](_0x4f42e2['shift']());}}}(_0xf6dd,0xeba4d));import{Plugin as _0x1d32de}from'ckeditor5/src/core.js';function _0xf6dd(){const _0x414efa=['trackChangesLicenseKeyInvalid','button','Annotations','_handleSuggestionControllerDelayed','listenTo','trackChangesLicenseKeyValid','locale','_destroyController','createAnnotation','execute','_disableComments','suggestion-','comments.maxCommentCharsWhenCollapsed','descriptionFactory','unbind','focus','reduce','_refreshActiveMarkers','trackChangesLicenseKeyDomainLimit','trialLimit','values','trackChangesLicenseKeyEvaluationLimit','discardSelectedSuggestions','_annotationViews','Track\x20changes','_createToolbarButton','isPremiumPlugin','Preview\x20final\x20content','_updateController','trackChangesLicenseKeyExpired','length','TrackChangesUI','suggestionUnloaded','createCommentThreadController','_handleControllerBuffer','getDescriptions','source','licenseKey','from','trackChanges','has','change:activeAnnotations','Discard\x20all\x20selected\x20suggestions','set','getAnnotationForSuggestion','type','comments.editorConfig','getRanges','acceptAllSuggestions','destroy','clear','descriptionParts','discardButton','isDirty','trackChangesLicenseKeyTrialLimit','acceptSelectedSuggestions','_addUIComponentsToFactory','activeMarkers','trackChangesLicenseKeyNotAllowed','TrackChangesEditing','domainLimit','buttonView','trackChanges.disableComments','SuggestionThreadView','expired','filter','hasSuggestion','mainView','getFirstRange','addComment','usageLimit','_viewToController','_licenseKeyCheckInterval','commandName','toMany','featureNotAllowed','comments','config','add','delegate','isInContent','isMultiRange','TrackChanges','bind','fire','_unbindEditors','5960290lWnjrA','children','registerAnnotation','getMarkers','comments.maxCommentsWhenCollapsed','menuBar:trackChanges','get','getSuggestionForAnnotation','separator','addMany','isOfficialPlugin','trackChanges.SuggestionView','_suggestionToController','isEnabled','invalid','discardAllSuggestions','48kVAoSc','Accept\x20all\x20suggestions','18ozKwQt','menuitem','requires','pluginName','suggestionView','getSuggestion','previewFinalContent','menuitemcheckbox','escape','init','menu','getJoined','CommentsRepository','remove','trackChanges.SuggestionThreadView','size','_bindAnnotationToEditors','EditorAnnotations','change:previous','refreshSelectedViews','push','2050395PYzKER','isOn','suggestionChanged','activeAnnotations','stopListening','1868304sOHhjo','view','trackChangesLicenseKeyUsageLimit','_initializeController','comments.maxThreadTotalWeight','model','_showLicenseError','lowest','actionView','switchbutton','evaluationLimit','commands','panelView','CommentView','acceptButton','CommentsUI','value','6210968faScpv','_createMenuBarMenu','delete','addSourceCollector','getAllAdjacentSuggestions','14055900jVYClw','some','SuggestionView','suggestionLoaded','plugins','componentFactory','innerView','createAnnotationView','Discard\x20all\x20suggestions','64474EaWSjB','head','getByInnerView','define','38uxpWEQ','getMarkerNames','keys','Accept\x20all\x20selected\x20suggestions','editor','previous','commentThread','TrackChangesPreview','60666xzqbKb','commentsListView','editing','arrowView','items'];_0xf6dd=function(){return _0x414efa;};return _0xf6dd();}import{Collection as _0x1c2c34}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x13d8d1}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x31a27b,createDropdown as _0x50f33f,ListSeparatorView as _0x6f591e,MenuBarMenuView as _0x5c277d,MenuBarMenuListView as _0x1b5d2c,MenuBarMenuListItemView as _0xd78a18,MenuBarMenuListItemButtonView as _0x44323c,SplitButtonView as _0x3f0d90,UIModel as _0x5bbf53}from'ckeditor5/src/ui.js';import{Users as _0x5e9e7b,getDateTimeFormatter as _0x892fdc,getAllMarkersDomElementsSorted as _0x43622c}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x996351}from'./trackchangesediting.js';import{SuggestionController as _0x2ab27e}from'./ui/suggestioncontroller.js';function _0xf4dd(_0x2376db,_0x46544d){const _0xf6ddab=_0xf6dd();return _0xf4dd=function(_0xf4dd8b,_0x119dac){_0xf4dd8b=_0xf4dd8b-0x1a7;let _0x56a69e=_0xf6ddab[_0xf4dd8b];return _0x56a69e;},_0xf4dd(_0x2376db,_0x46544d);}import{SuggestionThreadView as _0x94738a}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x2d69b0}from'./ui/view/suggestionview.js';import{getTranslation as _0x7903ac}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1d32de{[_0x52ecf6(0x227)];[_0x52ecf6(0x24a)];[_0x52ecf6(0x1b2)];[_0x52ecf6(0x249)];[_0x52ecf6(0x219)];[_0x52ecf6(0x224)];[_0x52ecf6(0x20c)];static get[_0x52ecf6(0x1ba)](){const _0x434369=_0x52ecf6;return[_0x996351,_0x5e9e7b,_0x434369(0x1c4),_0x434369(0x204),_0x434369(0x1c9)];}static get[_0x52ecf6(0x1bb)](){const _0x27efe0=_0x52ecf6;return _0x27efe0(0x221);}static get[_0x52ecf6(0x1b0)](){return!0x0;}static get[_0x52ecf6(0x21c)](){return!0x0;}constructor(_0x469891){const _0x1baf5d=_0x52ecf6;super(_0x469891),this[_0x1baf5d(0x1b2)]=new Map(),this[_0x1baf5d(0x249)]=new Map(),this[_0x1baf5d(0x219)]=new Map(),this[_0x1baf5d(0x224)]=new Map();const _0x50d13d=this[_0x1baf5d(0x1f9)][_0x1baf5d(0x24f)];_0x50d13d[_0x1baf5d(0x1f4)](_0x1baf5d(0x1c6),_0x94738a),_0x50d13d[_0x1baf5d(0x1f4)](_0x1baf5d(0x1b1),_0x2d69b0),_0x50d13d[_0x1baf5d(0x1f4)](_0x1baf5d(0x240),!0x1),this[_0x1baf5d(0x20c)]=_0x50d13d[_0x1baf5d(0x1ac)](_0x1baf5d(0x240));}[_0x52ecf6(0x205)](_0x30bf3a,_0x126376){const _0x1b3e49=_0x52ecf6;0x0===this[_0x1b3e49(0x224)][_0x1b3e49(0x1c7)]&&setTimeout(()=>{const _0x29af33=_0x1b3e49;for(const [_0x4fc9c1,_0x261636]of this[_0x29af33(0x224)]){const _0x2c5c51=this[_0x29af33(0x1b2)][_0x29af33(0x22a)](_0x4fc9c1);_0x2c5c51||_0x261636?_0x2c5c51&&_0x261636&&this[_0x29af33(0x209)](_0x4fc9c1):this[_0x29af33(0x1d5)](_0x4fc9c1);}this[_0x29af33(0x224)][_0x29af33(0x234)](),this[_0x29af33(0x1f9)][_0x29af33(0x1ec)][_0x29af33(0x1ac)](_0x29af33(0x1c9))[_0x29af33(0x1cb)](),this[_0x29af33(0x213)]();},0xa),this[_0x1b3e49(0x224)][_0x1b3e49(0x22d)](_0x30bf3a,_0x126376);}[_0x52ecf6(0x1c1)](){const _0x396369=_0x52ecf6,_0x5a0118=this[_0x396369(0x1f9)],_0xc3b1ee=_0x5a0118[_0x396369(0x1ec)][_0x396369(0x1ac)](_0x396369(0x23d)),_0x5ba450=_0x5a0118[_0x396369(0x1ec)][_0x396369(0x1ac)](_0x396369(0x204)),_0x4c789c=_0x5a0118[_0x396369(0x1ec)][_0x396369(0x1ac)](_0x396369(0x1c9)),_0xca97a8=_0x5a0118[_0x396369(0x1ec)][_0x396369(0x1ac)](_0x396369(0x1c4));this[_0x396369(0x23a)](),_0x4c789c[_0x396369(0x1e6)](()=>{const _0x1d7041=_0x396369,_0x176bb3=[];for(const [_0x29fdae,_0x1f6adf]of Array[_0x1d7041(0x228)](this[_0x1d7041(0x1b2)])){const _0x3d97e0=_0x29fdae[_0x1d7041(0x1e7)](),_0x14d6a8=[];for(const _0x195c26 of _0x3d97e0){if(!_0x195c26[_0x1d7041(0x252)])continue;if(_0x195c26[_0x1d7041(0x253)]){_0x14d6a8[_0x1d7041(0x1cc)](..._0x195c26[_0x1d7041(0x231)]());continue;}const _0x4de82c=_0x195c26[_0x1d7041(0x246)]();if(_0x14d6a8[_0x1d7041(0x220)]>0x0){const _0x351d28=_0x14d6a8[0x0][_0x1d7041(0x1c3)](_0x4de82c);if(_0x351d28){_0x14d6a8[0x0]=_0x351d28;continue;}}_0x14d6a8[_0x1d7041(0x1cc)](_0x4de82c);}_0x176bb3[_0x1d7041(0x1cc)]([_0x1f6adf[_0x1d7041(0x1d3)],_0x14d6a8]);}return _0x176bb3;}),this[_0x396369(0x206)](_0xc3b1ee,_0x396369(0x1eb),(_0x373b4d,_0x2e38fb)=>{const _0x53e583=_0x396369;this[_0x53e583(0x206)](_0x2e38fb,_0x53e583(0x1ca),(_0xff45f7,_0x5b5570,_0x5640d5,_0x2d4ad2)=>{const _0x33580c=_0x53e583;_0x2e38fb[_0x33580c(0x252)]&&(null==_0x5640d5?(this[_0x33580c(0x21e)](_0x2d4ad2[_0x33580c(0x1f2)]),this[_0x33580c(0x205)](_0x2e38fb,!0x1)):(this[_0x33580c(0x21e)](_0x5640d5[_0x33580c(0x1f2)]),null==_0x2d4ad2&&this[_0x33580c(0x205)](_0x2e38fb,!0x0)));}),null!==_0x2e38fb[_0x53e583(0x1fa)]?this[_0x53e583(0x21e)](_0x2e38fb[_0x53e583(0x1f2)]):this[_0x53e583(0x205)](_0x2e38fb,!0x1);}),this[_0x396369(0x206)](_0xc3b1ee,_0x396369(0x222),(_0xb8c0e5,_0x102649,_0x2fd34f)=>{const _0x22a676=_0x396369;this[_0x22a676(0x1d1)](_0x102649,_0x22a676(0x1ca)),this[_0x22a676(0x224)][_0x22a676(0x1e5)](_0x102649),this[_0x22a676(0x1b2)][_0x22a676(0x22a)](_0x102649)&&this[_0x22a676(0x209)](_0x102649),_0x2fd34f&&this[_0x22a676(0x21e)](_0x2fd34f[_0x22a676(0x1f2)]);}),this[_0x396369(0x206)](_0xc3b1ee,_0x396369(0x1cf),(_0x3173f9,_0x24476e)=>{const _0x4550bb=_0x396369;this[_0x4550bb(0x21e)](_0x24476e);}),this[_0x396369(0x206)](_0x5ba450,_0x396369(0x22b),()=>{const _0x18fcff=_0x396369;this[_0x18fcff(0x213)]();}),this[_0x396369(0x206)](_0xca97a8,_0x396369(0x247),(_0xca793e,{threadId:_0x195028,isFromAdapter:_0x23610b})=>{const _0x56f891=_0x396369;if(_0x23610b||!_0xc3b1ee[_0x56f891(0x244)](_0x195028))return;const _0x38a2bc=_0xc3b1ee[_0x56f891(0x1bd)](_0x195028);this[_0x56f891(0x1b2)][_0x56f891(0x1ac)](_0x38a2bc)[_0x56f891(0x1d3)][_0x56f891(0x1fe)][_0x56f891(0x211)](-0x1);},{'priority':_0x396369(0x1d9)}),this[_0x396369(0x227)]=this[_0x396369(0x1f9)][_0x396369(0x24f)][_0x396369(0x1ac)](_0x396369(0x227));const _0x858546=this[_0x396369(0x1f9)];this[_0x396369(0x24a)]=setInterval(()=>{const _0x1fb3e3=_0x396369;let _0x1c522a;for(const _0x4477f5 in _0x858546){const _0x698234=_0x4477f5,_0x49bf55=_0x858546[_0x698234];if(_0x1fb3e3(0x207)==_0x49bf55||_0x1fb3e3(0x202)==_0x49bf55||_0x1fb3e3(0x21f)==_0x49bf55||_0x1fb3e3(0x214)==_0x49bf55||_0x1fb3e3(0x23c)==_0x49bf55||_0x1fb3e3(0x217)==_0x49bf55||_0x1fb3e3(0x238)==_0x49bf55||_0x1fb3e3(0x1d4)==_0x49bf55){delete _0x858546[_0x698234],_0x1c522a=_0x49bf55,clearInterval(this[_0x1fb3e3(0x24a)]),this[_0x1fb3e3(0x24a)]=void 0x0;break;}}_0x1fb3e3(0x202)==_0x1c522a&&_0x858546[_0x1fb3e3(0x1d8)](_0x1fb3e3(0x1b4)),_0x1fb3e3(0x21f)==_0x1c522a&&_0x858546[_0x1fb3e3(0x1d8)](_0x1fb3e3(0x242)),_0x1fb3e3(0x214)==_0x1c522a&&_0x858546[_0x1fb3e3(0x1d8)](_0x1fb3e3(0x23e)),_0x1fb3e3(0x23c)==_0x1c522a&&_0x858546[_0x1fb3e3(0x1d8)](_0x1fb3e3(0x24d),_0x1fb3e3(0x254)),_0x1fb3e3(0x217)==_0x1c522a&&_0x858546[_0x1fb3e3(0x1d8)](_0x1fb3e3(0x1dc)),_0x1fb3e3(0x238)==_0x1c522a&&_0x858546[_0x1fb3e3(0x1d8)](_0x1fb3e3(0x215)),_0x1fb3e3(0x1d4)==_0x1c522a&&_0x858546[_0x1fb3e3(0x1d8)](_0x1fb3e3(0x248));},0x3e8);}[_0x52ecf6(0x22e)](_0x4ab97f){const _0x482c46=_0x52ecf6,_0x25b748=this[_0x482c46(0x1b2)][_0x482c46(0x1ac)](_0x4ab97f);if(!_0x25b748)return null;return this[_0x482c46(0x1f9)][_0x482c46(0x1ec)][_0x482c46(0x1ac)](_0x482c46(0x204))[_0x482c46(0x1f3)](_0x25b748[_0x482c46(0x1d3)])||null;}[_0x52ecf6(0x1ad)](_0x17f40c){const _0x5500c3=_0x52ecf6,_0x37559c=this[_0x5500c3(0x249)][_0x5500c3(0x1ac)](_0x17f40c[_0x5500c3(0x1ee)]);return _0x37559c?_0x37559c[_0x5500c3(0x1d7)]:null;}[_0x52ecf6(0x213)](){const _0x29a62c=_0x52ecf6,_0x597a6b=this[_0x29a62c(0x1f9)][_0x29a62c(0x1ec)][_0x29a62c(0x1ac)](_0x29a62c(0x204)),_0x167547=this[_0x29a62c(0x1f9)][_0x29a62c(0x1ec)][_0x29a62c(0x1ac)](_0x29a62c(0x23d)),_0x277d01=Array[_0x29a62c(0x228)](_0x597a6b[_0x29a62c(0x1d0)],_0x4e4bb8=>_0x4e4bb8[_0x29a62c(0x1ee)])[_0x29a62c(0x243)](_0x2ade26=>this[_0x29a62c(0x249)][_0x29a62c(0x22a)](_0x2ade26)),_0xcdbb15=[];for(const _0x3422bd of _0x277d01){const _0x5beb36=this[_0x29a62c(0x249)][_0x29a62c(0x1ac)](_0x3422bd)[_0x29a62c(0x1d7)][_0x29a62c(0x1e7)]();_0xcdbb15[_0x29a62c(0x1cc)](..._0x5beb36[_0x29a62c(0x212)]((_0x2b7f88,_0x41434c)=>[..._0x2b7f88,..._0x41434c[_0x29a62c(0x1f6)]()],[]));}_0x167547[_0x29a62c(0x23b)]=_0xcdbb15;}[_0x52ecf6(0x23a)](){const _0x5acaee=_0x52ecf6,_0x1f5b08=this[_0x5acaee(0x1f9)],_0x69a66e=_0x1f5b08[_0x5acaee(0x208)],_0x2b813e=_0x7903ac(_0x69a66e,_0x5acaee(0x21a)),_0x5cf31c=new _0x1c2c34([{'type':_0x5acaee(0x1db),'model':new _0x5bbf53({'withText':!0x0,'isToggleable':!0x0,'label':_0x2b813e,'commandName':_0x5acaee(0x229),'role':_0x5acaee(0x1bf)})},{'type':_0x5acaee(0x1ae)},{'type':_0x5acaee(0x203),'model':new _0x5bbf53({'withText':!0x0,'label':_0x7903ac(_0x69a66e,_0x5acaee(0x1b7)),'commandName':_0x5acaee(0x232),'role':_0x5acaee(0x1b9)})},{'type':_0x5acaee(0x203),'model':new _0x5bbf53({'withText':!0x0,'label':_0x7903ac(_0x69a66e,_0x5acaee(0x1f8)),'commandName':_0x5acaee(0x239),'role':_0x5acaee(0x1b9)})},{'type':_0x5acaee(0x203),'model':new _0x5bbf53({'withText':!0x0,'label':_0x7903ac(_0x69a66e,_0x5acaee(0x1f0)),'commandName':_0x5acaee(0x1b5),'role':_0x5acaee(0x1b9)})},{'type':_0x5acaee(0x203),'model':new _0x5bbf53({'withText':!0x0,'label':_0x7903ac(_0x69a66e,_0x5acaee(0x22c)),'commandName':_0x5acaee(0x218),'role':_0x5acaee(0x1b9)})}]);_0x1f5b08[_0x5acaee(0x1ec)][_0x5acaee(0x22a)](_0x5acaee(0x1fc))&&_0x5cf31c[_0x5acaee(0x1af)]([{'type':_0x5acaee(0x1ae)},{'type':_0x5acaee(0x203),'model':new _0x5bbf53({'withText':!0x0,'label':_0x7903ac(_0x69a66e,_0x5acaee(0x21d)),'commandName':_0x5acaee(0x1be),'role':_0x5acaee(0x1b9)})}]);for(const _0x5a343a of _0x5cf31c)if(Ee(_0x5a343a)){const _0x48068a=_0x1f5b08[_0x5acaee(0x1dd)][_0x5acaee(0x1ac)](_0x5a343a[_0x5acaee(0x1d7)][_0x5acaee(0x24b)]);_0x5a343a[_0x5acaee(0x1d7)][_0x5acaee(0x255)](_0x5acaee(0x1ce),_0x5acaee(0x1b3))['to'](_0x48068a,_0x5acaee(0x1e2),_0x5acaee(0x1b3));}_0x1f5b08['ui'][_0x5acaee(0x1ed)][_0x5acaee(0x250)](_0x5acaee(0x229),_0x44f76d=>this[_0x5acaee(0x21b)](_0x44f76d,_0x5cf31c,_0x2b813e)),_0x1f5b08['ui'][_0x5acaee(0x1ed)][_0x5acaee(0x250)](_0x5acaee(0x1ab),_0x923a26=>this[_0x5acaee(0x1e4)](_0x923a26,_0x5cf31c,_0x2b813e));}[_0x52ecf6(0x21b)](_0x28fd1a,_0xea6753,_0x461bd9){const _0x2972ea=_0x52ecf6,_0x5a5c5d=_0x50f33f(_0x28fd1a,_0x3f0d90),_0x1dd38f=this[_0x2972ea(0x1f9)][_0x2972ea(0x1dd)][_0x2972ea(0x1ac)](_0x2972ea(0x229));_0x5a5c5d[_0x2972ea(0x23f)][_0x2972ea(0x22d)]({'tooltip':_0x461bd9,'label':_0x461bd9,'icon':_0x13d8d1}),_0x5a5c5d[_0x2972ea(0x23f)][_0x2972ea(0x255)](_0x2972ea(0x1ce))['to'](_0x1dd38f,_0x2972ea(0x1e2)),_0x5a5c5d[_0x2972ea(0x23f)]['on'](_0x2972ea(0x20b),()=>{const _0x3273b5=_0x2972ea;_0x1dd38f[_0x3273b5(0x20b)](),this[_0x3273b5(0x1f9)][_0x3273b5(0x1ff)][_0x3273b5(0x1d3)][_0x3273b5(0x211)]();}),_0x31a27b(_0x5a5c5d,_0xea6753,{'role':_0x2972ea(0x1c2)});const _0x4f8943=[];for(const _0x1a5c8c of _0xea6753)Ee(_0x1a5c8c)&&_0x4f8943[_0x2972ea(0x1cc)](this[_0x2972ea(0x1f9)][_0x2972ea(0x1dd)][_0x2972ea(0x1ac)](_0x1a5c8c[_0x2972ea(0x1d7)][_0x2972ea(0x24b)]));const _0x2986cc=_0x5a5c5d[_0x2972ea(0x23f)];return _0x2986cc[_0x2972ea(0x1da)][_0x2972ea(0x210)](_0x2972ea(0x1b3)),_0x2986cc[_0x2972ea(0x200)][_0x2972ea(0x210)](_0x2972ea(0x1b3)),_0x2986cc[_0x2972ea(0x1da)][_0x2972ea(0x255)](_0x2972ea(0x1b3))['to'](_0x1dd38f,_0x2972ea(0x1b3)),_0x2986cc[_0x2972ea(0x200)][_0x2972ea(0x255)](_0x2972ea(0x1b3))[_0x2972ea(0x24c)](_0x4f8943,_0x2972ea(0x1b3),(..._0x22cabb)=>_0x22cabb[_0x2972ea(0x1e9)](_0x175aa8=>_0x175aa8)),_0x5a5c5d['on'](_0x2972ea(0x20b),_0x493400=>{const _0x4479bc=_0x2972ea;this[_0x4479bc(0x1f9)][_0x4479bc(0x20b)](_0x493400[_0x4479bc(0x226)][_0x4479bc(0x24b)]),this[_0x4479bc(0x1f9)][_0x4479bc(0x1ff)][_0x4479bc(0x1d3)][_0x4479bc(0x211)]();}),_0x5a5c5d;}[_0x52ecf6(0x1e4)](_0x14bc09,_0x209beb,_0x26dd27){const _0x34c199=_0x52ecf6,_0x5bb702=new _0x5c277d(_0x14bc09),_0x35c0ee=this[_0x34c199(0x1f9)][_0x34c199(0x1dd)][_0x34c199(0x1ac)](_0x34c199(0x229));_0x5bb702[_0x34c199(0x23f)][_0x34c199(0x22d)]({'label':_0x26dd27,'icon':_0x13d8d1});const _0x4d9409=new _0x1b5d2c(_0x14bc09);for(const _0x21d31d of _0x209beb){if(_0x34c199(0x1ae)==_0x21d31d[_0x34c199(0x22f)]){_0x4d9409[_0x34c199(0x201)][_0x34c199(0x250)](new _0x6f591e(_0x14bc09));continue;}const _0x3563da=new _0xd78a18(_0x14bc09,_0x5bb702),_0x2085a6=new _0x44323c(_0x14bc09),_0x536f8d=_0x21d31d[_0x34c199(0x1d7)];_0x2085a6[_0x34c199(0x255)](...Object[_0x34c199(0x1f7)](_0x536f8d))['to'](_0x536f8d),_0x2085a6[_0x34c199(0x251)](_0x34c199(0x20b))['to'](_0x5bb702),_0x2085a6['on'](_0x34c199(0x20b),()=>{const _0x465e37=_0x34c199;this[_0x465e37(0x1f9)][_0x465e37(0x20b)](_0x536f8d[_0x465e37(0x24b)]),this[_0x465e37(0x1f9)][_0x465e37(0x1ff)][_0x465e37(0x1d3)][_0x465e37(0x211)]();}),_0x3563da[_0x34c199(0x1a7)][_0x34c199(0x250)](_0x2085a6),_0x4d9409[_0x34c199(0x201)][_0x34c199(0x250)](_0x3563da);}return _0x5bb702[_0x34c199(0x255)](_0x34c199(0x1b3))['to'](_0x35c0ee,_0x34c199(0x1b3)),_0x5bb702[_0x34c199(0x1de)][_0x34c199(0x1a7)][_0x34c199(0x250)](_0x4d9409),_0x5bb702;}[_0x52ecf6(0x1d5)](_0x1cc3dc){const _0xb1c7d4=_0x52ecf6,_0x4c8962=this[_0xb1c7d4(0x1f9)],_0xad5d5=_0x4c8962[_0xb1c7d4(0x24f)],_0xbb4983=_0x4c8962[_0xb1c7d4(0x1ec)][_0xb1c7d4(0x1ac)](_0xb1c7d4(0x204)),_0x51f68d=_0x4c8962[_0xb1c7d4(0x1ec)][_0xb1c7d4(0x1ac)](_0xb1c7d4(0x1c4)),_0x867e20=_0x4c8962[_0xb1c7d4(0x1ec)][_0xb1c7d4(0x1ac)](_0xb1c7d4(0x1c9)),_0x3bd5b5=_0x4c8962[_0xb1c7d4(0x1ec)][_0xb1c7d4(0x1ac)](_0x5e9e7b)['me'],_0x33e895=_0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x229))[_0xb1c7d4(0x241)],_0x3c7158=_0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x229))[_0xb1c7d4(0x1ea)],{CommentsListView:_0x2a1828,CommentThreadInputView:_0x31c9a6}=_0x4c8962[_0xb1c7d4(0x1ec)][_0xb1c7d4(0x1ac)](_0xb1c7d4(0x1e1));let _0x176258,_0x5bad6,_0x58463e;this[_0xb1c7d4(0x219)][_0xb1c7d4(0x22a)](_0x1cc3dc['id'])?(_0x5bad6=this[_0xb1c7d4(0x219)][_0xb1c7d4(0x1ac)](_0x1cc3dc['id']),_0x176258=_0x5bad6[_0xb1c7d4(0x245)]):(_0x176258=new _0x33e895(_0x4c8962[_0xb1c7d4(0x208)],_0x1cc3dc,_0x3bd5b5,{'disableComments':this[_0xb1c7d4(0x20c)],'editorConfig':{..._0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x230)),'licenseKey':_0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x227))},'maxCommentsWhenCollapsed':_0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x1aa)),'maxThreadTotalWeight':_0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x1d6)),'maxCommentCharsWhenCollapsed':_0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x20e)),'formatDateTime':_0x892fdc(_0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x208)),_0x4c8962[_0xb1c7d4(0x208)]),'CommentView':_0xad5d5[_0xb1c7d4(0x1ac)](_0xb1c7d4(0x24e))[_0xb1c7d4(0x1df)],'CommentsListView':_0x2a1828,'CommentThreadInputView':_0x31c9a6,'SuggestionView':_0x3c7158}),_0x176258[_0xb1c7d4(0x1bc)][_0xb1c7d4(0x1e0)]['on'](_0xb1c7d4(0x20b),()=>{const _0x43de7f=_0xb1c7d4;_0x4c8962[_0x43de7f(0x1ff)][_0x43de7f(0x1d3)][_0x43de7f(0x211)]();}),_0x176258[_0xb1c7d4(0x1bc)][_0xb1c7d4(0x236)]['on'](_0xb1c7d4(0x20b),()=>{const _0x162a16=_0xb1c7d4;_0x4c8962[_0x162a16(0x1ff)][_0x162a16(0x1d3)][_0x162a16(0x211)]();}),_0x5bad6=_0xbb4983[_0xb1c7d4(0x1ef)](this[_0xb1c7d4(0x1f9)][_0xb1c7d4(0x208)],_0x176258),_0x5bad6[_0xb1c7d4(0x255)](_0xb1c7d4(0x237))['to'](_0x176258,_0xb1c7d4(0x237)),_0x5bad6[_0xb1c7d4(0x255)](_0xb1c7d4(0x220))['to'](_0x176258),_0x5bad6[_0xb1c7d4(0x255)](_0xb1c7d4(0x22f))['to'](_0x176258,_0xb1c7d4(0x22f),_0x557165=>_0xb1c7d4(0x20d)+_0x557165),_0x176258['on'](_0xb1c7d4(0x1c0),()=>{const _0x1885c8=_0xb1c7d4;_0x58463e[_0x1885c8(0x256)](_0x1885c8(0x1c0));}),this[_0xb1c7d4(0x219)][_0xb1c7d4(0x22d)](_0x1cc3dc['id'],_0x5bad6));const _0xcf19a4=_0x51f68d[_0xb1c7d4(0x223)](_0x1cc3dc[_0xb1c7d4(0x1fb)],_0x176258),_0x5403b2=new _0x2ab27e(_0x4c8962,_0x1cc3dc,_0x176258,_0xcf19a4),_0x3e84dc=_0x1cc3dc[_0xb1c7d4(0x1e7)]()[_0xb1c7d4(0x243)](_0x4961bb=>_0x4961bb[_0xb1c7d4(0x252)]);_0x176258[_0xb1c7d4(0x235)]=_0x4c8962[_0xb1c7d4(0x1ec)][_0xb1c7d4(0x1ac)](_0xb1c7d4(0x23d))[_0xb1c7d4(0x20f)][_0xb1c7d4(0x225)](_0x3e84dc),this[_0xb1c7d4(0x1b2)][_0xb1c7d4(0x22d)](_0x1cc3dc,_0x5403b2),this[_0xb1c7d4(0x249)][_0xb1c7d4(0x22d)](_0x176258,_0x5403b2);const _0x48edcb=()=>{const _0x45de50=_0xb1c7d4,_0x5d314a=[],_0xe5e7f9=_0x1cc3dc[_0x45de50(0x1e7)]()[_0x45de50(0x243)](_0x581857=>_0x581857[_0x45de50(0x252)]);for(const _0x211b3f of _0xe5e7f9)_0x5d314a[_0x45de50(0x1cc)](..._0x211b3f[_0x45de50(0x1a9)]());return _0x43622c(_0x4c8962[_0x45de50(0x1ff)],_0x5d314a);};_0x58463e=_0xbb4983[_0xb1c7d4(0x20a)]({'view':_0x5bad6,'target':_0x48edcb,'type':()=>_0xb1c7d4(0x20d)+_0x5403b2[_0xb1c7d4(0x1d3)][_0xb1c7d4(0x22f)],'isVisible':!!_0x48edcb()}),_0x51f68d[_0xb1c7d4(0x1c8)](_0x176258,_0x58463e),_0xbb4983[_0xb1c7d4(0x250)](_0x58463e),_0x867e20[_0xb1c7d4(0x1a8)](_0x58463e);}[_0x52ecf6(0x209)](_0x2bf044){const _0x3071cc=_0x52ecf6,_0x37d3b9=this[_0x3071cc(0x1f9)][_0x3071cc(0x1ec)][_0x3071cc(0x1ac)](_0x3071cc(0x1c4)),_0x2ac9c9=this[_0x3071cc(0x1f9)][_0x3071cc(0x1ec)][_0x3071cc(0x1ac)](_0x3071cc(0x204)),_0x14d05f=this[_0x3071cc(0x1b2)][_0x3071cc(0x1ac)](_0x2bf044),_0x3045f2=_0x14d05f[_0x3071cc(0x1d3)],_0x807de7=_0x2ac9c9[_0x3071cc(0x1f3)](_0x3045f2);_0x37d3b9[_0x3071cc(0x257)](_0x3045f2),_0x807de7&&_0x2ac9c9[_0x3071cc(0x1c5)](_0x807de7),this[_0x3071cc(0x1b2)][_0x3071cc(0x1e5)](_0x2bf044),this[_0x3071cc(0x249)][_0x3071cc(0x1e5)](_0x3045f2),_0x14d05f[_0x3071cc(0x233)]();}[_0x52ecf6(0x21e)](_0xe576f9){const _0x1d93e3=_0x52ecf6;if(!_0xe576f9[_0x1d93e3(0x252)]||!this[_0x1d93e3(0x1b2)][_0x1d93e3(0x22a)](_0xe576f9))return;const _0x2842cd=this[_0x1d93e3(0x1f9)][_0x1d93e3(0x1ec)][_0x1d93e3(0x1ac)](_0x1d93e3(0x23d)),_0x25ea5d=this[_0x1d93e3(0x1b2)][_0x1d93e3(0x1ac)](_0xe576f9),_0x38696f=_0xe576f9[_0x1d93e3(0x1e7)]();_0x25ea5d[_0x1d93e3(0x1d3)][_0x1d93e3(0x235)]=_0x2842cd[_0x1d93e3(0x20f)][_0x1d93e3(0x225)](_0x38696f);}[_0x52ecf6(0x233)](){const _0x417a4b=_0x52ecf6;for(const _0x4f015e of this[_0x417a4b(0x1b2)][_0x417a4b(0x1f7)]())this[_0x417a4b(0x209)](_0x4f015e);for(const _0x3ddc26 of this[_0x417a4b(0x219)][_0x417a4b(0x216)]())_0x3ddc26[_0x417a4b(0x245)][_0x417a4b(0x233)]();super[_0x417a4b(0x233)](),this[_0x417a4b(0x24a)]&&clearInterval(this[_0x417a4b(0x24a)]);}}function Ee(_0x240429){const _0x24e985=_0x52ecf6;return _0x24e985(0x1d7)in _0x240429;}
|
|
23
|
+
const _0x15ee74=_0x1300;(function(_0x125eb8,_0x485f24){const _0xcbfab0=_0x1300,_0x6d943b=_0x125eb8();while(!![]){try{const _0x1aa017=-parseInt(_0xcbfab0(0x15b))/0x1*(-parseInt(_0xcbfab0(0xf9))/0x2)+parseInt(_0xcbfab0(0xe4))/0x3+parseInt(_0xcbfab0(0x13d))/0x4*(-parseInt(_0xcbfab0(0x102))/0x5)+parseInt(_0xcbfab0(0xef))/0x6*(-parseInt(_0xcbfab0(0x149))/0x7)+-parseInt(_0xcbfab0(0x12e))/0x8*(-parseInt(_0xcbfab0(0xdb))/0x9)+-parseInt(_0xcbfab0(0x16d))/0xa*(-parseInt(_0xcbfab0(0x137))/0xb)+-parseInt(_0xcbfab0(0x14b))/0xc;if(_0x1aa017===_0x485f24)break;else _0x6d943b['push'](_0x6d943b['shift']());}catch(_0x3fd20e){_0x6d943b['push'](_0x6d943b['shift']());}}}(_0x20b1,0x57608));import{Plugin as _0x20de31}from'ckeditor5/src/core.js';import{Collection as _0x738f55}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x25ed75}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3040f8,createDropdown as _0xb80432,ListSeparatorView as _0x89dbea,MenuBarMenuView as _0xf3ef80,MenuBarMenuListView as _0x2c6ce7,MenuBarMenuListItemView as _0x4e7f74,MenuBarMenuListItemButtonView as _0x6ce363,SplitButtonView as _0x5cc220,UIModel as _0x54cf4b}from'ckeditor5/src/ui.js';import{Users as _0x38e233,getDateTimeFormatter as _0x581a3c,getAllMarkersDomElementsSorted as _0x5b1437}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x20b1(){const _0x3033f3=['getMarkers','previous','hasSuggestion','has','editor','_refreshActiveMarkers','isMultiRange','getDescriptions','Preview\x20final\x20content','expired','define','trackChanges.SuggestionThreadView','_destroyController','domainLimit','suggestionView','toMany','delete','_createMenuBarMenu','some','menuBar:trackChanges','createAnnotationView','trackChanges.SuggestionView','view','trackChangesLicenseKeyValid','value','commentThread','listenTo','usageLimit','focus','acceptAllSuggestions','acceptButton','_showLicenseError','54GZwsQd','type','evaluationLimit','change:activeAnnotations','_handleSuggestionControllerDelayed','stopListening','reduce','comments.editorConfig','arrowView','1460352tqSauw','refreshSelectedViews','get','trackChangesLicenseKeyEvaluationLimit','comments.maxThreadTotalWeight','locale','commands','descriptionParts','TrackChangesPreview','isPremiumPlugin','suggestionChanged','978sLlsZR','requires','isInContent','SuggestionView','getJoined','TrackChangesEditing','getRanges','getFirstRange','change:previous','values','46226kmjYgW','suggestionLoaded','menuitem','Discard\x20all\x20selected\x20suggestions','isOfficialPlugin','children','getAllAdjacentSuggestions','EditorAnnotations','trackChangesLicenseKeyTrialLimit','612115amwshG','from','trackChangesLicenseKeyDomainLimit','Accept\x20all\x20suggestions','registerAnnotation','getAnnotationForSuggestion','invalid','trackChangesLicenseKeyNotAllowed','componentFactory','_createToolbarButton','comments','licenseKey','mainView','trialLimit','menu','_updateController','panelView','getSuggestion','destroy','buttonView','keys','head','comments.maxCommentsWhenCollapsed','items','_handleControllerBuffer','_unbindEditors','suggestion-','discardButton','execute','isDirty','CommentsRepository','isOn','actionView','trackChangesLicenseKeyUsageLimit','createAnnotation','separator','discardAllSuggestions','_initializeController','source','CommentsUI','CommentView','size','menuitemcheckbox','TrackChangesUI','663536XqNhRE','push','_annotationViews','createCommentThreadController','plugins','innerView','switchbutton','trackChangesLicenseKeyExpired','suggestionUnloaded','3509ItOkxK','config','commandName','descriptionFactory','remove','_viewToController','12OJnZqw','editing','isEnabled','acceptSelectedSuggestions','activeAnnotations','trackChangesLicenseKeyInvalid','clear','add','trackChanges.disableComments','model','TrackChanges','SuggestionThreadView','22316nmIZPs','_disableComments','5868888IXpHUQ','button','Annotations','Accept\x20all\x20selected\x20suggestions','addSourceCollector','getSuggestionForAnnotation','getByInnerView','pluginName','discardSelectedSuggestions','length','_bindAnnotationToEditors','lowest','previewFinalContent','_addUIComponentsToFactory','delegate','unbind','25NTDCrc','addComment','Discard\x20all\x20suggestions','init','getMarkerNames','escape','activeMarkers','featureNotAllowed','addMany','_licenseKeyCheckInterval','_suggestionToController','filter','commentsListView','bind','fire','trackChanges','comments.maxCommentCharsWhenCollapsed','Track\x20changes','5380jOpeOE','set'];_0x20b1=function(){return _0x3033f3;};return _0x20b1();}import{TrackChangesEditing as _0x21f63b}from'./trackchangesediting.js';import{SuggestionController as _0xa09ac3}from'./ui/suggestioncontroller.js';function _0x1300(_0x321322,_0x47c635){const _0x20b16f=_0x20b1();return _0x1300=function(_0x1300c3,_0x52b0f6){_0x1300c3=_0x1300c3-0xca;let _0x14b203=_0x20b16f[_0x1300c3];return _0x14b203;},_0x1300(_0x321322,_0x47c635);}import{SuggestionThreadView as _0x15cd65}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x23f202}from'./ui/view/suggestionview.js';import{getTranslation as _0x3accb2}from'./utils/common-translations.js';export class TrackChangesUI extends _0x20de31{[_0x15ee74(0x10d)];[_0x15ee74(0x164)];[_0x15ee74(0x165)];[_0x15ee74(0x13c)];[_0x15ee74(0x130)];[_0x15ee74(0x11a)];[_0x15ee74(0x14a)];static get[_0x15ee74(0xf0)](){const _0xc8d0aa=_0x15ee74;return[_0x21f63b,_0x38e233,_0xc8d0aa(0x120),_0xc8d0aa(0x14d),_0xc8d0aa(0x100)];}static get[_0x15ee74(0x152)](){const _0x342232=_0x15ee74;return _0x342232(0x12d);}static get[_0x15ee74(0xfd)](){return!0x0;}static get[_0x15ee74(0xed)](){return!0x0;}constructor(_0x15a4f5){const _0x3c0ec5=_0x15ee74;super(_0x15a4f5),this[_0x3c0ec5(0x165)]=new Map(),this[_0x3c0ec5(0x13c)]=new Map(),this[_0x3c0ec5(0x130)]=new Map(),this[_0x3c0ec5(0x11a)]=new Map();const _0x4dfee8=this[_0x3c0ec5(0x173)][_0x3c0ec5(0x138)];_0x4dfee8[_0x3c0ec5(0x179)](_0x3c0ec5(0x17a),_0x15cd65),_0x4dfee8[_0x3c0ec5(0x179)](_0x3c0ec5(0xd0),_0x23f202),_0x4dfee8[_0x3c0ec5(0x179)](_0x3c0ec5(0x145),!0x1),this[_0x3c0ec5(0x14a)]=_0x4dfee8[_0x3c0ec5(0xe6)](_0x3c0ec5(0x145));}[_0x15ee74(0xdf)](_0x348781,_0x32be26){const _0x35830d=_0x15ee74;0x0===this[_0x35830d(0x11a)][_0x35830d(0x12b)]&&setTimeout(()=>{const _0x564f00=_0x35830d;for(const [_0x56e775,_0x4fa7a4]of this[_0x564f00(0x11a)]){const _0x4697d6=this[_0x564f00(0x165)][_0x564f00(0x172)](_0x56e775);_0x4697d6||_0x4fa7a4?_0x4697d6&&_0x4fa7a4&&this[_0x564f00(0x17b)](_0x56e775):this[_0x564f00(0x127)](_0x56e775);}this[_0x564f00(0x11a)][_0x564f00(0x143)](),this[_0x564f00(0x173)][_0x564f00(0x132)][_0x564f00(0xe6)](_0x564f00(0x100))[_0x564f00(0xe5)](),this[_0x564f00(0x174)]();},0xa),this[_0x35830d(0x11a)][_0x35830d(0x16e)](_0x348781,_0x32be26);}[_0x15ee74(0x15e)](){const _0x7c6de0=_0x15ee74,_0x596039=this[_0x7c6de0(0x173)],_0x69f4c3=_0x596039[_0x7c6de0(0x132)][_0x7c6de0(0xe6)](_0x7c6de0(0xf4)),_0x579ba1=_0x596039[_0x7c6de0(0x132)][_0x7c6de0(0xe6)](_0x7c6de0(0x14d)),_0x2b3155=_0x596039[_0x7c6de0(0x132)][_0x7c6de0(0xe6)](_0x7c6de0(0x100)),_0x93d05d=_0x596039[_0x7c6de0(0x132)][_0x7c6de0(0xe6)](_0x7c6de0(0x120));this[_0x7c6de0(0x158)](),_0x2b3155[_0x7c6de0(0x14f)](()=>{const _0x5ba56f=_0x7c6de0,_0x437b60=[];for(const [_0x2e7f13,_0x5ab838]of Array[_0x5ba56f(0x103)](this[_0x5ba56f(0x165)])){const _0x5e5668=_0x2e7f13[_0x5ba56f(0xff)](),_0x16d1bc=[];for(const _0x5534e8 of _0x5e5668){if(!_0x5534e8[_0x5ba56f(0xf1)])continue;if(_0x5534e8[_0x5ba56f(0x175)]){_0x16d1bc[_0x5ba56f(0x12f)](..._0x5534e8[_0x5ba56f(0xf5)]());continue;}const _0x3dff5=_0x5534e8[_0x5ba56f(0xf6)]();if(_0x16d1bc[_0x5ba56f(0x154)]>0x0){const _0x55a3b1=_0x16d1bc[0x0][_0x5ba56f(0xf3)](_0x3dff5);if(_0x55a3b1){_0x16d1bc[0x0]=_0x55a3b1;continue;}}_0x16d1bc[_0x5ba56f(0x12f)](_0x3dff5);}_0x437b60[_0x5ba56f(0x12f)]([_0x5ab838[_0x5ba56f(0xd1)],_0x16d1bc]);}return _0x437b60;}),this[_0x7c6de0(0xd5)](_0x69f4c3,_0x7c6de0(0xfa),(_0xda9d61,_0x124474)=>{const _0x3c83c7=_0x7c6de0;this[_0x3c83c7(0xd5)](_0x124474,_0x3c83c7(0xf7),(_0x5776a9,_0x285dcb,_0x18d0cd,_0x225354)=>{const _0x4c9f66=_0x3c83c7;_0x124474[_0x4c9f66(0xf1)]&&(null==_0x18d0cd?(this[_0x4c9f66(0x111)](_0x225354[_0x4c9f66(0x117)]),this[_0x4c9f66(0xdf)](_0x124474,!0x1)):(this[_0x4c9f66(0x111)](_0x18d0cd[_0x4c9f66(0x117)]),null==_0x225354&&this[_0x4c9f66(0xdf)](_0x124474,!0x0)));}),null!==_0x124474[_0x3c83c7(0x170)]?this[_0x3c83c7(0x111)](_0x124474[_0x3c83c7(0x117)]):this[_0x3c83c7(0xdf)](_0x124474,!0x1);}),this[_0x7c6de0(0xd5)](_0x69f4c3,_0x7c6de0(0x136),(_0x322740,_0x133fc5,_0x24a933)=>{const _0xcf2d2c=_0x7c6de0;this[_0xcf2d2c(0xe0)](_0x133fc5,_0xcf2d2c(0xf7)),this[_0xcf2d2c(0x11a)][_0xcf2d2c(0xcb)](_0x133fc5),this[_0xcf2d2c(0x165)][_0xcf2d2c(0x172)](_0x133fc5)&&this[_0xcf2d2c(0x17b)](_0x133fc5),_0x24a933&&this[_0xcf2d2c(0x111)](_0x24a933[_0xcf2d2c(0x117)]);}),this[_0x7c6de0(0xd5)](_0x69f4c3,_0x7c6de0(0xee),(_0x11f697,_0x341e14)=>{const _0x33c329=_0x7c6de0;this[_0x33c329(0x111)](_0x341e14);}),this[_0x7c6de0(0xd5)](_0x579ba1,_0x7c6de0(0xde),()=>{const _0x2787b3=_0x7c6de0;this[_0x2787b3(0x174)]();}),this[_0x7c6de0(0xd5)](_0x93d05d,_0x7c6de0(0x15c),(_0x31636c,{threadId:_0x2738ee,isFromAdapter:_0x374b9e})=>{const _0x36bda3=_0x7c6de0;if(_0x374b9e||!_0x69f4c3[_0x36bda3(0x171)](_0x2738ee))return;const _0x57ee39=_0x69f4c3[_0x36bda3(0x113)](_0x2738ee);this[_0x36bda3(0x165)][_0x36bda3(0xe6)](_0x57ee39)[_0x36bda3(0xd1)][_0x36bda3(0x167)][_0x36bda3(0xd7)](-0x1);},{'priority':_0x7c6de0(0x156)}),this[_0x7c6de0(0x10d)]=this[_0x7c6de0(0x173)][_0x7c6de0(0x138)][_0x7c6de0(0xe6)](_0x7c6de0(0x10d));const _0x56e021=this[_0x7c6de0(0x173)];this[_0x7c6de0(0x164)]=setInterval(()=>{const _0x43059c=_0x7c6de0;let _0x3b62dc;for(const _0x1b7068 in _0x56e021){const _0x274785=_0x1b7068,_0x208b15=_0x56e021[_0x274785];if(_0x43059c(0xd2)==_0x208b15||_0x43059c(0x142)==_0x208b15||_0x43059c(0x135)==_0x208b15||_0x43059c(0x104)==_0x208b15||_0x43059c(0x109)==_0x208b15||_0x43059c(0xe7)==_0x208b15||_0x43059c(0x101)==_0x208b15||_0x43059c(0x123)==_0x208b15){delete _0x56e021[_0x274785],_0x3b62dc=_0x208b15,clearInterval(this[_0x43059c(0x164)]),this[_0x43059c(0x164)]=void 0x0;break;}}_0x43059c(0x142)==_0x3b62dc&&_0x56e021[_0x43059c(0xda)](_0x43059c(0x108)),_0x43059c(0x135)==_0x3b62dc&&_0x56e021[_0x43059c(0xda)](_0x43059c(0x178)),_0x43059c(0x104)==_0x3b62dc&&_0x56e021[_0x43059c(0xda)](_0x43059c(0x17c)),_0x43059c(0x109)==_0x3b62dc&&_0x56e021[_0x43059c(0xda)](_0x43059c(0x162),_0x43059c(0x147)),_0x43059c(0xe7)==_0x3b62dc&&_0x56e021[_0x43059c(0xda)](_0x43059c(0xdd)),_0x43059c(0x101)==_0x3b62dc&&_0x56e021[_0x43059c(0xda)](_0x43059c(0x10f)),_0x43059c(0x123)==_0x3b62dc&&_0x56e021[_0x43059c(0xda)](_0x43059c(0xd6));},0x3e8);}[_0x15ee74(0x107)](_0x533f3b){const _0x10eb6b=_0x15ee74,_0x76335a=this[_0x10eb6b(0x165)][_0x10eb6b(0xe6)](_0x533f3b);if(!_0x76335a)return null;return this[_0x10eb6b(0x173)][_0x10eb6b(0x132)][_0x10eb6b(0xe6)](_0x10eb6b(0x14d))[_0x10eb6b(0x151)](_0x76335a[_0x10eb6b(0xd1)])||null;}[_0x15ee74(0x150)](_0xe8e658){const _0x332b0e=_0x15ee74,_0x2d1e19=this[_0x332b0e(0x13c)][_0x332b0e(0xe6)](_0xe8e658[_0x332b0e(0x133)]);return _0x2d1e19?_0x2d1e19[_0x332b0e(0x146)]:null;}[_0x15ee74(0x174)](){const _0x296c56=_0x15ee74,_0x17f494=this[_0x296c56(0x173)][_0x296c56(0x132)][_0x296c56(0xe6)](_0x296c56(0x14d)),_0x3865f4=this[_0x296c56(0x173)][_0x296c56(0x132)][_0x296c56(0xe6)](_0x296c56(0xf4)),_0x19248d=Array[_0x296c56(0x103)](_0x17f494[_0x296c56(0x141)],_0x4c966f=>_0x4c966f[_0x296c56(0x133)])[_0x296c56(0x166)](_0x3ce727=>this[_0x296c56(0x13c)][_0x296c56(0x172)](_0x3ce727)),_0x27acac=[];for(const _0x4f8e68 of _0x19248d){const _0x2023a8=this[_0x296c56(0x13c)][_0x296c56(0xe6)](_0x4f8e68)[_0x296c56(0x146)][_0x296c56(0xff)]();_0x27acac[_0x296c56(0x12f)](..._0x2023a8[_0x296c56(0xe1)]((_0x3666e9,_0x326b7d)=>[..._0x3666e9,..._0x326b7d[_0x296c56(0x15f)]()],[]));}_0x3865f4[_0x296c56(0x161)]=_0x27acac;}[_0x15ee74(0x158)](){const _0x2ecb67=_0x15ee74,_0x4839c3=this[_0x2ecb67(0x173)],_0x5f4ebb=_0x4839c3[_0x2ecb67(0xe9)],_0x4e19a1=_0x3accb2(_0x5f4ebb,_0x2ecb67(0x16c)),_0x3c54e8=new _0x738f55([{'type':_0x2ecb67(0x134),'model':new _0x54cf4b({'withText':!0x0,'isToggleable':!0x0,'label':_0x4e19a1,'commandName':_0x2ecb67(0x16a),'role':_0x2ecb67(0x12c)})},{'type':_0x2ecb67(0x125)},{'type':_0x2ecb67(0x14c),'model':new _0x54cf4b({'withText':!0x0,'label':_0x3accb2(_0x5f4ebb,_0x2ecb67(0x105)),'commandName':_0x2ecb67(0xd8),'role':_0x2ecb67(0xfb)})},{'type':_0x2ecb67(0x14c),'model':new _0x54cf4b({'withText':!0x0,'label':_0x3accb2(_0x5f4ebb,_0x2ecb67(0x14e)),'commandName':_0x2ecb67(0x140),'role':_0x2ecb67(0xfb)})},{'type':_0x2ecb67(0x14c),'model':new _0x54cf4b({'withText':!0x0,'label':_0x3accb2(_0x5f4ebb,_0x2ecb67(0x15d)),'commandName':_0x2ecb67(0x126),'role':_0x2ecb67(0xfb)})},{'type':_0x2ecb67(0x14c),'model':new _0x54cf4b({'withText':!0x0,'label':_0x3accb2(_0x5f4ebb,_0x2ecb67(0xfc)),'commandName':_0x2ecb67(0x153),'role':_0x2ecb67(0xfb)})}]);_0x4839c3[_0x2ecb67(0x132)][_0x2ecb67(0x172)](_0x2ecb67(0xec))&&_0x3c54e8[_0x2ecb67(0x163)]([{'type':_0x2ecb67(0x125)},{'type':_0x2ecb67(0x14c),'model':new _0x54cf4b({'withText':!0x0,'label':_0x3accb2(_0x5f4ebb,_0x2ecb67(0x177)),'commandName':_0x2ecb67(0x157),'role':_0x2ecb67(0xfb)})}]);for(const _0x4294c8 of _0x3c54e8)if(Ee(_0x4294c8)){const _0xf1d147=_0x4839c3[_0x2ecb67(0xea)][_0x2ecb67(0xe6)](_0x4294c8[_0x2ecb67(0x146)][_0x2ecb67(0x139)]);_0x4294c8[_0x2ecb67(0x146)][_0x2ecb67(0x168)](_0x2ecb67(0x121),_0x2ecb67(0x13f))['to'](_0xf1d147,_0x2ecb67(0xd3),_0x2ecb67(0x13f));}_0x4839c3['ui'][_0x2ecb67(0x10a)][_0x2ecb67(0x144)](_0x2ecb67(0x16a),_0x3fcc09=>this[_0x2ecb67(0x10b)](_0x3fcc09,_0x3c54e8,_0x4e19a1)),_0x4839c3['ui'][_0x2ecb67(0x10a)][_0x2ecb67(0x144)](_0x2ecb67(0xce),_0x5b0f10=>this[_0x2ecb67(0xcc)](_0x5b0f10,_0x3c54e8,_0x4e19a1));}[_0x15ee74(0x10b)](_0x4a012d,_0x1cc420,_0x3acaa3){const _0x1f6e60=_0x15ee74,_0x3e588c=_0xb80432(_0x4a012d,_0x5cc220),_0x4e6d65=this[_0x1f6e60(0x173)][_0x1f6e60(0xea)][_0x1f6e60(0xe6)](_0x1f6e60(0x16a));_0x3e588c[_0x1f6e60(0x115)][_0x1f6e60(0x16e)]({'tooltip':_0x3acaa3,'label':_0x3acaa3,'icon':_0x25ed75}),_0x3e588c[_0x1f6e60(0x115)][_0x1f6e60(0x168)](_0x1f6e60(0x121))['to'](_0x4e6d65,_0x1f6e60(0xd3)),_0x3e588c[_0x1f6e60(0x115)]['on'](_0x1f6e60(0x11e),()=>{const _0x159aee=_0x1f6e60;_0x4e6d65[_0x159aee(0x11e)](),this[_0x159aee(0x173)][_0x159aee(0x13e)][_0x159aee(0xd1)][_0x159aee(0xd7)]();}),_0x3040f8(_0x3e588c,_0x1cc420,{'role':_0x1f6e60(0x110)});const _0x241ecb=[];for(const _0x35bd70 of _0x1cc420)Ee(_0x35bd70)&&_0x241ecb[_0x1f6e60(0x12f)](this[_0x1f6e60(0x173)][_0x1f6e60(0xea)][_0x1f6e60(0xe6)](_0x35bd70[_0x1f6e60(0x146)][_0x1f6e60(0x139)]));const _0x1175c6=_0x3e588c[_0x1f6e60(0x115)];return _0x1175c6[_0x1f6e60(0x122)][_0x1f6e60(0x15a)](_0x1f6e60(0x13f)),_0x1175c6[_0x1f6e60(0xe3)][_0x1f6e60(0x15a)](_0x1f6e60(0x13f)),_0x1175c6[_0x1f6e60(0x122)][_0x1f6e60(0x168)](_0x1f6e60(0x13f))['to'](_0x4e6d65,_0x1f6e60(0x13f)),_0x1175c6[_0x1f6e60(0xe3)][_0x1f6e60(0x168)](_0x1f6e60(0x13f))[_0x1f6e60(0xca)](_0x241ecb,_0x1f6e60(0x13f),(..._0x9c2131)=>_0x9c2131[_0x1f6e60(0xcd)](_0x4f28a0=>_0x4f28a0)),_0x3e588c['on'](_0x1f6e60(0x11e),_0x23e153=>{const _0x45d03a=_0x1f6e60;this[_0x45d03a(0x173)][_0x45d03a(0x11e)](_0x23e153[_0x45d03a(0x128)][_0x45d03a(0x139)]),this[_0x45d03a(0x173)][_0x45d03a(0x13e)][_0x45d03a(0xd1)][_0x45d03a(0xd7)]();}),_0x3e588c;}[_0x15ee74(0xcc)](_0x52a064,_0x148778,_0x430121){const _0x3eca68=_0x15ee74,_0x632c49=new _0xf3ef80(_0x52a064),_0x3970d2=this[_0x3eca68(0x173)][_0x3eca68(0xea)][_0x3eca68(0xe6)](_0x3eca68(0x16a));_0x632c49[_0x3eca68(0x115)][_0x3eca68(0x16e)]({'label':_0x430121,'icon':_0x25ed75});const _0x306656=new _0x2c6ce7(_0x52a064);for(const _0x52c293 of _0x148778){if(_0x3eca68(0x125)==_0x52c293[_0x3eca68(0xdc)]){_0x306656[_0x3eca68(0x119)][_0x3eca68(0x144)](new _0x89dbea(_0x52a064));continue;}const _0x4890cb=new _0x4e7f74(_0x52a064,_0x632c49),_0x5c3cbf=new _0x6ce363(_0x52a064),_0x46e37d=_0x52c293[_0x3eca68(0x146)];_0x5c3cbf[_0x3eca68(0x168)](...Object[_0x3eca68(0x116)](_0x46e37d))['to'](_0x46e37d),_0x5c3cbf[_0x3eca68(0x159)](_0x3eca68(0x11e))['to'](_0x632c49),_0x5c3cbf['on'](_0x3eca68(0x11e),()=>{const _0x15705d=_0x3eca68;this[_0x15705d(0x173)][_0x15705d(0x11e)](_0x46e37d[_0x15705d(0x139)]),this[_0x15705d(0x173)][_0x15705d(0x13e)][_0x15705d(0xd1)][_0x15705d(0xd7)]();}),_0x4890cb[_0x3eca68(0xfe)][_0x3eca68(0x144)](_0x5c3cbf),_0x306656[_0x3eca68(0x119)][_0x3eca68(0x144)](_0x4890cb);}return _0x632c49[_0x3eca68(0x168)](_0x3eca68(0x13f))['to'](_0x3970d2,_0x3eca68(0x13f)),_0x632c49[_0x3eca68(0x112)][_0x3eca68(0xfe)][_0x3eca68(0x144)](_0x306656),_0x632c49;}[_0x15ee74(0x127)](_0x41cdff){const _0xca138d=_0x15ee74,_0x183dc6=this[_0xca138d(0x173)],_0x4ee084=_0x183dc6[_0xca138d(0x138)],_0x3a5867=_0x183dc6[_0xca138d(0x132)][_0xca138d(0xe6)](_0xca138d(0x14d)),_0x322a61=_0x183dc6[_0xca138d(0x132)][_0xca138d(0xe6)](_0xca138d(0x120)),_0x289c4c=_0x183dc6[_0xca138d(0x132)][_0xca138d(0xe6)](_0xca138d(0x100)),_0x37a19c=_0x183dc6[_0xca138d(0x132)][_0xca138d(0xe6)](_0x38e233)['me'],_0xe30f38=_0x4ee084[_0xca138d(0xe6)](_0xca138d(0x16a))[_0xca138d(0x148)],_0x478c64=_0x4ee084[_0xca138d(0xe6)](_0xca138d(0x16a))[_0xca138d(0xf2)],{CommentsListView:_0x3ff84a,CommentThreadInputView:_0x449d6f}=_0x183dc6[_0xca138d(0x132)][_0xca138d(0xe6)](_0xca138d(0x129));let _0x2caab1,_0x241252,_0x291c88;this[_0xca138d(0x130)][_0xca138d(0x172)](_0x41cdff['id'])?(_0x241252=this[_0xca138d(0x130)][_0xca138d(0xe6)](_0x41cdff['id']),_0x2caab1=_0x241252[_0xca138d(0x10e)]):(_0x2caab1=new _0xe30f38(_0x183dc6[_0xca138d(0xe9)],_0x41cdff,_0x37a19c,{'disableComments':this[_0xca138d(0x14a)],'editorConfig':{..._0x4ee084[_0xca138d(0xe6)](_0xca138d(0xe2)),'licenseKey':_0x4ee084[_0xca138d(0xe6)](_0xca138d(0x10d))},'maxCommentsWhenCollapsed':_0x4ee084[_0xca138d(0xe6)](_0xca138d(0x118)),'maxThreadTotalWeight':_0x4ee084[_0xca138d(0xe6)](_0xca138d(0xe8)),'maxCommentCharsWhenCollapsed':_0x4ee084[_0xca138d(0xe6)](_0xca138d(0x16b)),'formatDateTime':_0x581a3c(_0x4ee084[_0xca138d(0xe6)](_0xca138d(0xe9)),_0x183dc6[_0xca138d(0xe9)]),'CommentView':_0x4ee084[_0xca138d(0xe6)](_0xca138d(0x10c))[_0xca138d(0x12a)],'CommentsListView':_0x3ff84a,'CommentThreadInputView':_0x449d6f,'SuggestionView':_0x478c64}),_0x2caab1[_0xca138d(0x17d)][_0xca138d(0xd9)]['on'](_0xca138d(0x11e),()=>{const _0x11f470=_0xca138d;_0x183dc6[_0x11f470(0x13e)][_0x11f470(0xd1)][_0x11f470(0xd7)]();}),_0x2caab1[_0xca138d(0x17d)][_0xca138d(0x11d)]['on'](_0xca138d(0x11e),()=>{const _0x3ba0d7=_0xca138d;_0x183dc6[_0x3ba0d7(0x13e)][_0x3ba0d7(0xd1)][_0x3ba0d7(0xd7)]();}),_0x241252=_0x3a5867[_0xca138d(0xcf)](this[_0xca138d(0x173)][_0xca138d(0xe9)],_0x2caab1),_0x241252[_0xca138d(0x168)](_0xca138d(0x11f))['to'](_0x2caab1,_0xca138d(0x11f)),_0x241252[_0xca138d(0x168)](_0xca138d(0x154))['to'](_0x2caab1),_0x241252[_0xca138d(0x168)](_0xca138d(0xdc))['to'](_0x2caab1,_0xca138d(0xdc),_0x42058d=>_0xca138d(0x11c)+_0x42058d),_0x2caab1['on'](_0xca138d(0x160),()=>{const _0x13919e=_0xca138d;_0x291c88[_0x13919e(0x169)](_0x13919e(0x160));}),this[_0xca138d(0x130)][_0xca138d(0x16e)](_0x41cdff['id'],_0x241252));const _0x5c7281=_0x322a61[_0xca138d(0x131)](_0x41cdff[_0xca138d(0xd4)],_0x2caab1),_0x2c06a8=new _0xa09ac3(_0x183dc6,_0x41cdff,_0x2caab1,_0x5c7281),_0x44aa0=_0x41cdff[_0xca138d(0xff)]()[_0xca138d(0x166)](_0x10f050=>_0x10f050[_0xca138d(0xf1)]);_0x2caab1[_0xca138d(0xeb)]=_0x183dc6[_0xca138d(0x132)][_0xca138d(0xe6)](_0xca138d(0xf4))[_0xca138d(0x13a)][_0xca138d(0x176)](_0x44aa0),this[_0xca138d(0x165)][_0xca138d(0x16e)](_0x41cdff,_0x2c06a8),this[_0xca138d(0x13c)][_0xca138d(0x16e)](_0x2caab1,_0x2c06a8);const _0x14be38=()=>{const _0x431e84=_0xca138d,_0x1cc192=[],_0xd2cb62=_0x41cdff[_0x431e84(0xff)]()[_0x431e84(0x166)](_0xd771c0=>_0xd771c0[_0x431e84(0xf1)]);for(const _0x1d22d9 of _0xd2cb62)_0x1cc192[_0x431e84(0x12f)](..._0x1d22d9[_0x431e84(0x16f)]());return _0x5b1437(_0x183dc6[_0x431e84(0x13e)],_0x1cc192);};_0x291c88=_0x3a5867[_0xca138d(0x124)]({'view':_0x241252,'target':_0x14be38,'type':()=>_0xca138d(0x11c)+_0x2c06a8[_0xca138d(0xd1)][_0xca138d(0xdc)],'isVisible':!!_0x14be38()}),_0x322a61[_0xca138d(0x155)](_0x2caab1,_0x291c88),_0x3a5867[_0xca138d(0x144)](_0x291c88),_0x289c4c[_0xca138d(0x106)](_0x291c88);}[_0x15ee74(0x17b)](_0x1bcaba){const _0x5f191a=_0x15ee74,_0x1d582b=this[_0x5f191a(0x173)][_0x5f191a(0x132)][_0x5f191a(0xe6)](_0x5f191a(0x120)),_0x2f59b2=this[_0x5f191a(0x173)][_0x5f191a(0x132)][_0x5f191a(0xe6)](_0x5f191a(0x14d)),_0x22a2e1=this[_0x5f191a(0x165)][_0x5f191a(0xe6)](_0x1bcaba),_0x5ef520=_0x22a2e1[_0x5f191a(0xd1)],_0x1c4445=_0x2f59b2[_0x5f191a(0x151)](_0x5ef520);_0x1d582b[_0x5f191a(0x11b)](_0x5ef520),_0x1c4445&&_0x2f59b2[_0x5f191a(0x13b)](_0x1c4445),this[_0x5f191a(0x165)][_0x5f191a(0xcb)](_0x1bcaba),this[_0x5f191a(0x13c)][_0x5f191a(0xcb)](_0x5ef520),_0x22a2e1[_0x5f191a(0x114)]();}[_0x15ee74(0x111)](_0x205528){const _0x38c9f8=_0x15ee74;if(!_0x205528[_0x38c9f8(0xf1)]||!this[_0x38c9f8(0x165)][_0x38c9f8(0x172)](_0x205528))return;const _0x3c3cb4=this[_0x38c9f8(0x173)][_0x38c9f8(0x132)][_0x38c9f8(0xe6)](_0x38c9f8(0xf4)),_0x4a0ba5=this[_0x38c9f8(0x165)][_0x38c9f8(0xe6)](_0x205528),_0x19ef39=_0x205528[_0x38c9f8(0xff)]();_0x4a0ba5[_0x38c9f8(0xd1)][_0x38c9f8(0xeb)]=_0x3c3cb4[_0x38c9f8(0x13a)][_0x38c9f8(0x176)](_0x19ef39);}[_0x15ee74(0x114)](){const _0x356aba=_0x15ee74;for(const _0x5481e8 of this[_0x356aba(0x165)][_0x356aba(0x116)]())this[_0x356aba(0x17b)](_0x5481e8);for(const _0xdf75c7 of this[_0x356aba(0x130)][_0x356aba(0xf8)]())_0xdf75c7[_0x356aba(0x10e)][_0x356aba(0x114)]();super[_0x356aba(0x114)](),this[_0x356aba(0x164)]&&clearInterval(this[_0x356aba(0x164)]);}}function Ee(_0x3799fb){const _0x40b98f=_0x15ee74;return _0x40b98f(0x146)in _0x3799fb;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5763d2=_0x25c0;(function(_0x270418,_0x4b8538){const _0x1a7f7d=_0x25c0,_0x2250d8=_0x270418();while(!![]){try{const _0x5e18b3=-parseInt(_0x1a7f7d(0x12b))/0x1*(-parseInt(_0x1a7f7d(0x121))/0x2)+-parseInt(_0x1a7f7d(0x13d))/0x3*(-parseInt(_0x1a7f7d(0x135))/0x4)+parseInt(_0x1a7f7d(0x133))/0x5+-parseInt(_0x1a7f7d(0x13f))/0x6+-parseInt(_0x1a7f7d(0x11d))/0x7+parseInt(_0x1a7f7d(0x12e))/0x8+-parseInt(_0x1a7f7d(0x11b))/0x9*(parseInt(_0x1a7f7d(0x12a))/0xa);if(_0x5e18b3===_0x4b8538)break;else _0x2250d8['push'](_0x2250d8['shift']());}catch(_0x214437){_0x2250d8['push'](_0x2250d8['shift']());}}}(_0x6392,0x1fa3d));import{ObservableMixin as _0x45332e}from'ckeditor5/src/utils.js';function _0x25c0(_0x542cea,_0x4ca141){const _0x6392c4=_0x6392();return _0x25c0=function(_0x25c0f6,_0x5041ef){_0x25c0f6=_0x25c0f6-0x11a;let _0x52c892=_0x6392c4[_0x25c0f6];return _0x52c892;},_0x25c0(_0x542cea,_0x4ca141);}import{getTranslation as _0x2816a1}from'../utils/common-translations.js';function _0x6392(){const _0x3ed0ca=['PENDING_ACTION_SUGGESTION','324820NHnQUC','stopListening','unbind','commentThreadController','add','locale','canEditAt','getRanges','3jYRIBQ','commands','143988VjotbO','execute','canDiscard','isDirty','_setPendingAction','bind','9OrcErE','_pendingAction','122773gaXgTD','plugins','acceptSuggestion','change:isDirty','156242GVatpL','_editor','isEnabled','_removePendingAction','_acceptCommand','_discardCommand','listenTo','view','destroy','3513620ChJmId','1RGctei','discardSuggestion','remove','1032056Cndqfs','canAccept','model','get','PendingActions','1170815SMIIbZ'];_0x6392=function(){return _0x3ed0ca;};return _0x6392();}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x45332e(){[_0x5763d2(0x130)];[_0x5763d2(0x128)];[_0x5763d2(0x138)];[_0x5763d2(0x122)];[_0x5763d2(0x125)];[_0x5763d2(0x126)];[_0x5763d2(0x11c)];constructor(_0x53b1bc,_0x5947fb,_0x3e21f6,_0x599535){const _0x46319b=_0x5763d2;super(),this[_0x46319b(0x130)]=_0x5947fb,this[_0x46319b(0x128)]=_0x3e21f6,this[_0x46319b(0x138)]=_0x599535,this[_0x46319b(0x122)]=_0x53b1bc,this[_0x46319b(0x125)]=_0x53b1bc[_0x46319b(0x13e)][_0x46319b(0x131)](_0x46319b(0x11f)),this[_0x46319b(0x126)]=_0x53b1bc[_0x46319b(0x13e)][_0x46319b(0x131)](_0x46319b(0x12c)),this[_0x46319b(0x128)][_0x46319b(0x11a)](_0x46319b(0x123))['to'](this[_0x46319b(0x125)],this[_0x46319b(0x126)],(_0x58ed9f,_0x1125da)=>_0x58ed9f||_0x1125da),this[_0x46319b(0x128)][_0x46319b(0x11a)](_0x46319b(0x12f))['to'](this[_0x46319b(0x125)],_0x46319b(0x123),_0x51038f=>_0x51038f&&this[_0x46319b(0x122)][_0x46319b(0x130)][_0x46319b(0x13b)](_0x5947fb[_0x46319b(0x13c)]())),this[_0x46319b(0x128)][_0x46319b(0x11a)](_0x46319b(0x141))['to'](this[_0x46319b(0x126)],_0x46319b(0x123),_0xbb4906=>_0xbb4906&&this[_0x46319b(0x122)][_0x46319b(0x130)][_0x46319b(0x13b)](_0x5947fb[_0x46319b(0x13c)]())),this[_0x46319b(0x11c)]=null,_0x3e21f6[_0x46319b(0x142)]&&this[_0x46319b(0x143)](),this[_0x46319b(0x127)](_0x3e21f6,_0x46319b(0x11f),()=>this[_0x46319b(0x11f)]()),this[_0x46319b(0x127)](_0x3e21f6,_0x46319b(0x12c),()=>this[_0x46319b(0x12c)]()),this[_0x46319b(0x127)](_0x3e21f6,_0x46319b(0x120),()=>{const _0x1fe575=_0x46319b;_0x3e21f6[_0x1fe575(0x142)]?this[_0x1fe575(0x143)]():this[_0x1fe575(0x124)]();});}[_0x5763d2(0x11f)](){const _0x51a563=_0x5763d2;this[_0x51a563(0x125)][_0x51a563(0x140)](this[_0x51a563(0x130)]['id']);}[_0x5763d2(0x12c)](){const _0x558785=_0x5763d2;this[_0x558785(0x126)][_0x558785(0x140)](this[_0x558785(0x130)]['id']);}[_0x5763d2(0x129)](){const _0x5af0b8=_0x5763d2;this[_0x5af0b8(0x128)][_0x5af0b8(0x137)](_0x5af0b8(0x123)),this[_0x5af0b8(0x128)][_0x5af0b8(0x137)](_0x5af0b8(0x12f)),this[_0x5af0b8(0x128)][_0x5af0b8(0x137)](_0x5af0b8(0x141)),this[_0x5af0b8(0x136)](),this[_0x5af0b8(0x138)][_0x5af0b8(0x129)](),this[_0x5af0b8(0x11c)]&&this[_0x5af0b8(0x124)]();}[_0x5763d2(0x143)](){const _0x350e5f=_0x5763d2,_0x25f130=_0x2816a1(this[_0x350e5f(0x122)][_0x350e5f(0x13a)],_0x350e5f(0x134));this[_0x350e5f(0x11c)]=this[_0x350e5f(0x122)][_0x350e5f(0x11e)][_0x350e5f(0x131)](_0x350e5f(0x132))[_0x350e5f(0x139)](_0x25f130);}[_0x5763d2(0x124)](){const _0x336ba5=_0x5763d2;null!==this[_0x336ba5(0x11c)]&&this[_0x336ba5(0x122)][_0x336ba5(0x11e)][_0x336ba5(0x131)](_0x336ba5(0x132))[_0x336ba5(0x12d)](this[_0x336ba5(0x11c)]),this[_0x336ba5(0x11c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59a7b7=_0x548f;function _0x548f(_0x3a0984,_0x5db9ca){const _0x163e47=_0x163e();return _0x548f=function(_0x548f0e,_0x595c8c){_0x548f0e=_0x548f0e-0xc2;let _0x315840=_0x163e47[_0x548f0e];return _0x315840;},_0x548f(_0x3a0984,_0x5db9ca);}(function(_0x48a1f5,_0x586472){const _0x529da6=_0x548f,_0x2da752=_0x48a1f5();while(!![]){try{const _0x5e7820=parseInt(_0x529da6(0xc3))/0x1+-parseInt(_0x529da6(0xde))/0x2*(parseInt(_0x529da6(0xc7))/0x3)+parseInt(_0x529da6(0xd5))/0x4+-parseInt(_0x529da6(0xe3))/0x5+parseInt(_0x529da6(0x106))/0x6+-parseInt(_0x529da6(0xcf))/0x7+parseInt(_0x529da6(0xe0))/0x8*(parseInt(_0x529da6(0xef))/0x9);if(_0x5e7820===_0x586472)break;else _0x2da752['push'](_0x2da752['shift']());}catch(_0x37b5ab){_0x2da752['push'](_0x2da752['shift']());}}}(_0x163e,0xd25b9));import{FocusCycler as _0x1b543e,View as _0x277701,ViewCollection as _0x5eff37}from'ckeditor5/src/ui.js';import{FocusTracker as _0x52b7a4,KeystrokeHandler as _0xc0b58}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x1be089,setupThreadKeyboardNavigation as _0x5dec25}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x163e(){const _0x35fc98=['name','addComment','setData','isReadOnly','SUGGESTION_THREAD_ARIA_LABEL','2124324xacBhQ','CommentView','commentInputView','editorConfig','_config','showInput','delegate','_createCommentViews','isDirty','target','authoredAt','tab','focusables','canDiscard','length','_model','formatDateTime','cancel','bind','focusCycler','map','content','focusTracker','2097822RpQzAg','destroy','canAccept','author','keystrokes','504503mEhsSK','submit','element','editor','741QTAGda','commentThread','updateComment','join','textContent','descriptionParts','commentsListView','ariaDescriptionView','3744937KvRJzN','disabledSubmit','removeComment','_createCommentThreadInputView','fire','render','4074956OuIweH','shift+tab','isEnabled','body','text/html','parseFromString','disableComments','commentThreadInputView','locale','4306mXhErE','SUGGESTION_THREAD_DESCRIPTION','56iETEOg','hasDirtyComment','assign','7983620mmiyHn','_localUser','value','focus','ariaLabel','isActive','set'];_0x163e=function(){return _0x35fc98;};return _0x163e();}import{getTranslation as _0x606081}from'../../utils/common-translations.js';import{renderDescription as _0x4a2706}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x277701{[_0x59a7b7(0xcd)];[_0x59a7b7(0xdc)];[_0x59a7b7(0xce)];[_0x59a7b7(0xfb)];[_0x59a7b7(0x105)];[_0x59a7b7(0xc2)];[_0x59a7b7(0x102)];[_0x59a7b7(0xfe)];[_0x59a7b7(0xe4)];[_0x59a7b7(0xf3)];constructor(_0x271778,_0x32d314,_0x2f6527,_0x47c739){const _0x4836c5=_0x59a7b7;super(_0x271778),this[_0x4836c5(0xcd)]=null,this[_0x4836c5(0xdc)]=null,this[_0x4836c5(0xce)]=new _0x1be089(_0x271778,_0x606081(_0x271778,_0x4836c5(0xdf))),this[_0x4836c5(0xe9)](_0x4836c5(0xe8),!0x1),this[_0x4836c5(0xe9)](_0x4836c5(0xf9),_0x32d314[_0x4836c5(0xf9)]),this[_0x4836c5(0x101)](_0x4836c5(0xf9))['to'](_0x32d314),this[_0x4836c5(0xe9)](_0x4836c5(0xcc),[]),this[_0x4836c5(0xe9)](_0x4836c5(0xf7),!0x1),this[_0x4836c5(0xe9)](_0x4836c5(0xd7),!0x1),this[_0x4836c5(0xe9)](_0x4836c5(0x108),!0x1),this[_0x4836c5(0xe9)](_0x4836c5(0xfc),!0x1),this[_0x4836c5(0x101)](_0x4836c5(0xe7))['to'](this,_0x4836c5(0xfd),_0x32d314,_0x4836c5(0xf9),this,_0x4836c5(0xcc),(_0x4cecd4,_0x3f3b3e,_0x882b94)=>{const _0x38a12d=_0x4836c5,_0x2eb86e=_0x882b94[_0x38a12d(0x103)](_0x5ab69e=>_0x4a2706(_0x5ab69e[_0x38a12d(0x104)]))[_0x38a12d(0xca)]('.\x20')+'.';return _0x606081(this[_0x38a12d(0xdd)],_0x38a12d(0xee),[_0x4cecd4-0x1,_0x32d314[_0x38a12d(0x109)][_0x38a12d(0xea)],_0x3f3b3e?_0x47c739[_0x38a12d(0xff)](_0x3f3b3e):'',new DOMParser()[_0x38a12d(0xda)](_0x2eb86e,_0x38a12d(0xd9))[_0x38a12d(0xd8)][_0x38a12d(0xcb)]]);}),this[_0x4836c5(0xfb)]=new _0x5eff37(),this[_0x4836c5(0x105)]=new _0x52b7a4(),this[_0x4836c5(0xc2)]=new _0xc0b58(),this[_0x4836c5(0x102)]=new _0x1b543e({'focusables':this[_0x4836c5(0xfb)],'focusTracker':this[_0x4836c5(0x105)],'keystrokeHandler':this[_0x4836c5(0xc2)],'keystrokeHandlerOptions':{'filter':_0x4ce29b=>_0x4ce29b[_0x4836c5(0xf8)]!==this[_0x4836c5(0xc5)]},'actions':{'focusPrevious':_0x4836c5(0xd6),'focusNext':_0x4836c5(0xfa)}}),this[_0x4836c5(0xfe)]=_0x32d314,this[_0x4836c5(0xe4)]=_0x2f6527,this[_0x4836c5(0xf3)]=_0x47c739,_0x47c739[_0x4836c5(0xdb)]?this[_0x4836c5(0xe9)](_0x4836c5(0xfd),0x1):this[_0x4836c5(0xf6)]();}[_0x59a7b7(0xd4)](){const _0x545385=_0x59a7b7;super[_0x545385(0xd4)](),_0x5dec25(this,this[_0x545385(0xfb)]);}[_0x59a7b7(0xe6)](){const _0x4ae0b3=_0x59a7b7;this[_0x4ae0b3(0xc5)][_0x4ae0b3(0xe6)]();}[_0x59a7b7(0x107)](){const _0x2890d8=_0x59a7b7;this[_0x2890d8(0xcd)]&&this[_0x2890d8(0xcd)][_0x2890d8(0x107)](),this[_0x2890d8(0xdc)]&&this[_0x2890d8(0xdc)][_0x2890d8(0x107)](),super[_0x2890d8(0x107)]();}[_0x59a7b7(0xf6)](){const _0x182199=_0x59a7b7,{CommentsListView:_0x2f5876}=this[_0x182199(0xf3)];this[_0x182199(0xcd)]=new _0x2f5876(this[_0x182199(0xdd)],this[_0x182199(0xfe)][_0x182199(0xc8)],Object[_0x182199(0xe2)]({'CommentView':this[_0x182199(0xf3)][_0x182199(0xf0)]},this[_0x182199(0xf3)])),this[_0x182199(0xcd)][_0x182199(0xf5)](_0x182199(0xd1))['to'](this),this[_0x182199(0xcd)][_0x182199(0xf5)](_0x182199(0xc9))['to'](this),this[_0x182199(0xcd)][_0x182199(0x101)](_0x182199(0xe8))['to'](this),this[_0x182199(0xe9)](_0x182199(0xfd),this[_0x182199(0xcd)][_0x182199(0xfd)]+0x1),this[_0x182199(0x101)](_0x182199(0xfd))['to'](this[_0x182199(0xcd)],_0x182199(0xfd),_0x5a2a9b=>_0x5a2a9b+0x1),this[_0x182199(0xdc)]=this[_0x182199(0xd2)](),this['on'](_0x182199(0xd1),()=>this[_0x182199(0xe6)]()),this[_0x182199(0x101)](_0x182199(0xf7))['to'](this[_0x182199(0xcd)],_0x182199(0xe1),this[_0x182199(0xdc)][_0x182199(0xf1)],_0x182199(0xe5),(_0x1c23fe,_0x498959)=>_0x1c23fe||!!_0x498959);}[_0x59a7b7(0xd2)](){const _0x482e1f=_0x59a7b7,{CommentThreadInputView:_0x48ef54}=this[_0x482e1f(0xf3)],_0x465bbe=new _0x48ef54(this[_0x482e1f(0xdd)],this[_0x482e1f(0xe4)],this[_0x482e1f(0xf3)][_0x482e1f(0xf2)]),_0x3c7581=_0x465bbe[_0x482e1f(0xf1)];return _0x465bbe[_0x482e1f(0x101)](_0x482e1f(0xf4))['to'](this,_0x482e1f(0xe8),this[_0x482e1f(0xfe)][_0x482e1f(0xc8)],_0x482e1f(0xed),_0x3c7581,_0x482e1f(0xe5),(_0x40df07,_0x2d05bf,_0x145f97)=>!!_0x145f97||_0x40df07&&!_0x2d05bf),_0x3c7581['on'](_0x482e1f(0xc4),(_0x4700c2,_0x26238d)=>{const _0x3f4e23=_0x482e1f;this[_0x3f4e23(0xd3)](_0x3f4e23(0xeb),_0x26238d),_0x3c7581[_0x3f4e23(0xc6)][_0x3f4e23(0xec)]('');}),_0x3c7581['on'](_0x482e1f(0x100),()=>this[_0x482e1f(0xe6)]()),_0x3c7581[_0x482e1f(0x101)](_0x482e1f(0xd0))['to'](this[_0x482e1f(0xfe)][_0x482e1f(0xc8)],_0x482e1f(0xed)),_0x465bbe;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x177bb2=_0x117d;function _0x117d(_0x53d68d,_0x453c4f){const _0x2d7fe9=_0x2d7f();return _0x117d=function(_0x117d6e,_0x2fc4d5){_0x117d6e=_0x117d6e-0x12b;let _0x17d1a3=_0x2d7fe9[_0x117d6e];return _0x17d1a3;},_0x117d(_0x53d68d,_0x453c4f);}(function(_0xf60141,_0x7488c){const _0x6dc5df=_0x117d,_0x1c15e5=_0xf60141();while(!![]){try{const _0x7974d2=parseInt(_0x6dc5df(0x15f))/0x1+parseInt(_0x6dc5df(0x151))/0x2+parseInt(_0x6dc5df(0x12d))/0x3*(parseInt(_0x6dc5df(0x138))/0x4)+-parseInt(_0x6dc5df(0x158))/0x5+-parseInt(_0x6dc5df(0x161))/0x6+-parseInt(_0x6dc5df(0x150))/0x7*(parseInt(_0x6dc5df(0x139))/0x8)+parseInt(_0x6dc5df(0x14f))/0x9*(parseInt(_0x6dc5df(0x159))/0xa);if(_0x7974d2===_0x7488c)break;else _0x1c15e5['push'](_0x1c15e5['shift']());}catch(_0x25e86e){_0x1c15e5['push'](_0x1c15e5['shift']());}}}(_0x2d7f,0x72f21));import{BaseSuggestionThreadView as _0x10833b}from'./basesuggestionthreadview.js';import{trimHtml as _0xd21f68}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2d7f(){const _0x2beb51=['commentThreadInputView','canAccept','focusables','author','setTemplate','color','div','render','<p>','suggestionView','4EYpbiY','88EpvreY','set','acceptButton','isEnabled','description','canDiscard','descriptionParts','_config','ck-rounded-corners','ck-suggestion-wrapper','delegate','listitem','SuggestionView','bind','getTemplate','isActive','ck-suggestion-wrapper--active','_model','type','push','acceptSuggestion','ariaDescriptionView','14546079PVhBNa','594419prMmWm','1460576WxDgYz','ariaLabel','</p>','content','commentsListView','add','bindTemplate','3535880KmJyJY','10OrewOt','discardSuggestion','discardButton','editorDestroyed','_descriptionElement','disableComments','540479WZJlEK','ck-suggestion--disabled-comments','4790490ykKIHp','ck-suggestion-','formatDateTime','commentThread','editorReady','70491xMMRyE'];_0x2d7f=function(){return _0x2beb51;};return _0x2d7f();}import{renderDescription as _0x2d36ee}from'../../utils/utils.js';export class SuggestionThreadView extends _0x10833b{[_0x177bb2(0x137)];[_0x177bb2(0x15d)];constructor(_0x32ce4b,_0x947de9,_0x7e8dc5,_0x312b09){const _0x5b6023=_0x177bb2;super(_0x32ce4b,_0x947de9,_0x7e8dc5,_0x312b09),this[_0x5b6023(0x13a)](_0x5b6023(0x14b),''),this[_0x5b6023(0x146)](_0x5b6023(0x14b))['to'](this,_0x5b6023(0x13f),_0x519d96=>_0x519d96&&_0x519d96[0x0]?_0x519d96[0x0][_0x5b6023(0x14b)]:''),this[_0x5b6023(0x146)](_0x5b6023(0x13d))['to'](this,_0x5b6023(0x13f),this,_0x5b6023(0x148),(_0x292ef0,_0x3443f6)=>{const _0x27a231=_0x5b6023;let _0x1922a9='';for(const _0x4d163a of _0x292ef0)_0x1922a9+=_0x27a231(0x136)+_0x2d36ee(_0x4d163a[_0x27a231(0x154)],_0x4d163a[_0x27a231(0x133)])+_0x27a231(0x153);return _0x3443f6?_0x1922a9:_0xd21f68(_0x1922a9,{'limit':0x8c});}),this[_0x5b6023(0x15d)]=null,this[_0x5b6023(0x137)]=new _0x312b09[(_0x5b6023(0x145))](_0x32ce4b,_0x947de9,{'formatDateTime':_0x312b09[_0x5b6023(0x163)]}),this[_0x5b6023(0x137)][_0x5b6023(0x146)](_0x5b6023(0x13d))['to'](this),this[_0x5b6023(0x137)][_0x5b6023(0x143)](_0x5b6023(0x14d),_0x5b6023(0x15a))['to'](this),this[_0x5b6023(0x137)][_0x5b6023(0x13b)][_0x5b6023(0x146)](_0x5b6023(0x13c))['to'](this,_0x5b6023(0x12f)),this[_0x5b6023(0x137)][_0x5b6023(0x15b)][_0x5b6023(0x146)](_0x5b6023(0x13c))['to'](this,_0x5b6023(0x13e)),this[_0x5b6023(0x130)][_0x5b6023(0x156)](this[_0x5b6023(0x137)]),this[_0x5b6023(0x155)]&&this[_0x5b6023(0x130)][_0x5b6023(0x156)](this[_0x5b6023(0x155)]),this[_0x5b6023(0x12e)]&&this[_0x5b6023(0x130)][_0x5b6023(0x156)](this[_0x5b6023(0x12e)]),this[_0x5b6023(0x132)](this[_0x5b6023(0x147)]());}[_0x177bb2(0x147)](){const _0x48515f=_0x177bb2,_0x2f1396=this[_0x48515f(0x157)],_0x4c660f=[this[_0x48515f(0x137)]];return this[_0x48515f(0x155)]&&_0x4c660f[_0x48515f(0x14c)](this[_0x48515f(0x155)]),this[_0x48515f(0x12e)]&&_0x4c660f[_0x48515f(0x14c)](this[_0x48515f(0x12e)]),_0x4c660f[_0x48515f(0x14c)](this[_0x48515f(0x14e)]),{'tag':_0x48515f(0x134),'attributes':{'class':['ck',_0x48515f(0x141),_0x48515f(0x142),_0x2f1396['if'](_0x48515f(0x148),_0x48515f(0x149)),_0x2f1396['to'](_0x48515f(0x14b),_0xd9081a=>_0x48515f(0x162)+_0xd9081a),this[_0x48515f(0x140)][_0x48515f(0x15e)]&&_0x48515f(0x160)],'data-suggestion-id':this[_0x48515f(0x14a)]['id'],'data-thread-id':this[_0x48515f(0x14a)][_0x48515f(0x12b)]['id'],'data-author-id':this[_0x48515f(0x14a)][_0x48515f(0x131)]['id'],'tabindex':0x0,'role':_0x48515f(0x144),'aria-label':_0x2f1396['to'](_0x48515f(0x152)),'aria-describedby':this[_0x48515f(0x14e)]['id']},'children':_0x4c660f};}[_0x177bb2(0x135)](){const _0x38f301=_0x177bb2;super[_0x38f301(0x135)](),this[_0x38f301(0x155)]&&(this[_0x38f301(0x155)][_0x38f301(0x143)](_0x38f301(0x12c))['to'](this),this[_0x38f301(0x155)][_0x38f301(0x143)](_0x38f301(0x15c))['to'](this)),this[_0x38f301(0x12e)]&&(this[_0x38f301(0x12e)][_0x38f301(0x143)](_0x38f301(0x12c))['to'](this),this[_0x38f301(0x12e)][_0x38f301(0x143)](_0x38f301(0x15c))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e34ac=_0x404a;(function(_0x3ebb38,_0x528740){const _0x2d04e2=_0x404a,_0x310de2=_0x3ebb38();while(!![]){try{const _0x532cfb=parseInt(_0x2d04e2(0x1ac))/0x1+-parseInt(_0x2d04e2(0x18a))/0x2*(parseInt(_0x2d04e2(0x1b7))/0x3)+-parseInt(_0x2d04e2(0x19f))/0x4+parseInt(_0x2d04e2(0x19b))/0x5*(parseInt(_0x2d04e2(0x1a5))/0x6)+parseInt(_0x2d04e2(0x1a1))/0x7*(parseInt(_0x2d04e2(0x163))/0x8)+parseInt(_0x2d04e2(0x1b4))/0x9+-parseInt(_0x2d04e2(0x194))/0xa*(parseInt(_0x2d04e2(0x196))/0xb);if(_0x532cfb===_0x528740)break;else _0x310de2['push'](_0x310de2['shift']());}catch(_0x2c12a7){_0x310de2['push'](_0x310de2['shift']());}}}(_0x4017,0xa088e));import{FocusTracker as _0x9e6552,KeystrokeHandler as _0x3dd813}from'ckeditor5/src/utils.js';import{View as _0x291ae2,ViewCollection as _0xbd884e,FocusCycler as _0x53baaa}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x47f034,UserView as _0x1a22e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x3c8adc,IconCheck as _0x29f1a8}from'ckeditor5/src/icons.js';import{getTranslation as _0x56d7f6}from'../../utils/common-translations.js';function _0x404a(_0x5830ad,_0x31a304){const _0x40178f=_0x4017();return _0x404a=function(_0x404ac0,_0x5d42a0){_0x404ac0=_0x404ac0-0x161;let _0x4b2165=_0x40178f[_0x404ac0];return _0x4b2165;},_0x404a(_0x5830ad,_0x31a304);}export class SuggestionView extends _0x291ae2{[_0x5e34ac(0x189)];[_0x5e34ac(0x190)];[_0x5e34ac(0x19d)];[_0x5e34ac(0x179)];[_0x5e34ac(0x1a7)];[_0x5e34ac(0x16f)];[_0x5e34ac(0x193)];[_0x5e34ac(0x181)];[_0x5e34ac(0x186)];constructor(_0x35efca,_0x164ca3,_0x5a80c8){const _0x588b4b=_0x5e34ac;super(_0x35efca),this[_0x588b4b(0x181)]=_0x164ca3,this[_0x588b4b(0x186)]=_0x5a80c8,this[_0x588b4b(0x16e)](_0x588b4b(0x162),''),this[_0x588b4b(0x1a2)](_0x588b4b(0x16d))['to'](_0x164ca3),this[_0x588b4b(0x190)]=this[_0x588b4b(0x19a)](_0x56d7f6(_0x35efca,_0x588b4b(0x1b1)),_0x29f1a8,_0x588b4b(0x187),_0x588b4b(0x171),'sw'),this[_0x588b4b(0x19d)]=this[_0x588b4b(0x19a)](_0x56d7f6(_0x35efca,_0x588b4b(0x199)),_0x3c8adc,_0x588b4b(0x188),_0x588b4b(0x17b),'sw'),this[_0x588b4b(0x189)]=new _0x1a22e4(_0x35efca,_0x164ca3[_0x588b4b(0x1a6)],this[_0x588b4b(0x191)]()),this[_0x588b4b(0x189)][_0x588b4b(0x1af)]({'attributes':{'class':[_0x588b4b(0x18e),_0x588b4b(0x182)],'aria-hidden':!0x0}}),this[_0x588b4b(0x179)]=new _0xbd884e([this[_0x588b4b(0x190)],this[_0x588b4b(0x19d)]]),this[_0x588b4b(0x1a7)]=new _0x9e6552(),this[_0x588b4b(0x16f)]=new _0x3dd813(),this[_0x588b4b(0x193)]=new _0x53baaa({'focusables':this[_0x588b4b(0x179)],'focusTracker':this[_0x588b4b(0x1a7)],'keystrokeHandler':this[_0x588b4b(0x16f)],'actions':{'focusPrevious':_0x588b4b(0x168),'focusNext':_0x588b4b(0x1b8)},'keystrokeHandlerOptions':{'filter':_0x9b970c=>_0x9b970c[_0x588b4b(0x192)]!==this[_0x588b4b(0x183)]}}),this[_0x588b4b(0x1b2)](this[_0x588b4b(0x169)]());}[_0x5e34ac(0x185)](){const _0x604957=_0x5e34ac;super[_0x604957(0x185)]();const _0x278f8d=this[_0x604957(0x183)][_0x604957(0x1a0)](_0x604957(0x18c));_0x278f8d[_0x604957(0x17d)]=this[_0x604957(0x162)],this['on'](_0x604957(0x175),(_0x1392a4,_0x53a951,_0x3ce830)=>{const _0x8ce8b6=_0x604957;_0x278f8d[_0x8ce8b6(0x17d)]=_0x3ce830;}),this[_0x604957(0x1ad)]();}[_0x5e34ac(0x169)](){const _0x4f1967=_0x5e34ac,_0x1f4b9f=this[_0x4f1967(0x17c)],_0x2e4e15=[{'tag':_0x4f1967(0x18d),'attributes':{'class':[_0x4f1967(0x161),_0x4f1967(0x165)]},'children':[{'tag':_0x4f1967(0x19c),'children':[{'text':this[_0x4f1967(0x189)][_0x4f1967(0x1a8)]}],'attributes':{'class':[_0x4f1967(0x180),_0x4f1967(0x173)],'data-cke-tooltip-text':this[_0x4f1967(0x189)][_0x4f1967(0x1a8)]}},{'tag':_0x4f1967(0x167),'attributes':{'datetime':_0x1f4b9f['to'](_0x4f1967(0x16d)),'class':[_0x4f1967(0x1a9),_0x4f1967(0x166)]},'children':[{'text':_0x1f4b9f['to'](_0x4f1967(0x16d),_0x4a8aaa=>this[_0x4f1967(0x186)][_0x4f1967(0x177)](_0x4a8aaa))}]}]},{'tag':_0x4f1967(0x18d),'attributes':{'class':[_0x4f1967(0x1b9),_0x4f1967(0x1ae)]},'children':[this[_0x4f1967(0x190)],this[_0x4f1967(0x19d)]]},{'tag':_0x4f1967(0x18d),'attributes':{'class':[_0x4f1967(0x178)]}}];return this[_0x4f1967(0x181)][_0x4f1967(0x17f)]&&_0x2e4e15[_0x4f1967(0x164)]({'tag':_0x4f1967(0x18d),'attributes':{'class':[_0x4f1967(0x18f)]},'children':[{'text':this[_0x4f1967(0x1a3)]()}]}),{'tag':_0x4f1967(0x18d),'attributes':{'class':[_0x4f1967(0x176),_0x4f1967(0x174)],'tabindex':-0x1},'children':[this[_0x4f1967(0x189)],{'tag':_0x4f1967(0x18d),'attributes':{'class':[_0x4f1967(0x198),_0x4f1967(0x1b6)],'role':_0x4f1967(0x1ba)},'children':_0x2e4e15}]};}[_0x5e34ac(0x16a)](){const _0x386c1f=_0x5e34ac;this[_0x386c1f(0x183)][_0x386c1f(0x16a)]();}[_0x5e34ac(0x191)](){const _0x283a9c=_0x5e34ac;return this[_0x283a9c(0x181)][_0x283a9c(0x17f)]?_0x283a9c(0x1b5)===this[_0x283a9c(0x181)][_0x283a9c(0x17a)][_0x283a9c(0x16b)][_0x283a9c(0x1a4)]?_0x56d7f6(this[_0x283a9c(0x1b0)],_0x283a9c(0x16c),this[_0x283a9c(0x181)][_0x283a9c(0x19e)][_0x283a9c(0x1a8)]):_0x56d7f6(this[_0x283a9c(0x1b0)],_0x283a9c(0x197),this[_0x283a9c(0x181)][_0x283a9c(0x19e)][_0x283a9c(0x1a8)]):null;}[_0x5e34ac(0x1a3)](){const _0x105c91=_0x5e34ac;return _0x105c91(0x1b5)===this[_0x105c91(0x181)][_0x105c91(0x17a)][_0x105c91(0x16b)][_0x105c91(0x1a4)]?_0x56d7f6(this[_0x105c91(0x1b0)],_0x105c91(0x170)):_0x56d7f6(this[_0x105c91(0x1b0)],_0x105c91(0x184));}[_0x5e34ac(0x19a)](_0x5f5c2e,_0x49932e,_0x2bdd98,_0x252ab3,_0x3e5abf){const _0x506a85=_0x5e34ac,_0x51f227=new _0x47f034(this[_0x506a85(0x1b0)]);return _0x51f227[_0x506a85(0x16e)]({'label':_0x5f5c2e,'icon':_0x49932e,'tooltip':!0x0,'tooltipPosition':_0x3e5abf}),_0x51f227[_0x506a85(0x1af)]({'attributes':{'class':_0x2bdd98}}),_0x51f227['on'](_0x506a85(0x18b),()=>{const _0xae7b18=_0x506a85;this[_0xae7b18(0x172)](_0x252ab3,this[_0xae7b18(0x181)]['id']);}),_0x51f227;}[_0x5e34ac(0x1ad)](){const _0x1408cd=_0x5e34ac,_0x49f71c=this[_0x1408cd(0x183)];this[_0x1408cd(0x16f)][_0x1408cd(0x1b3)](_0x49f71c);for(const _0x46df65 of this[_0x1408cd(0x179)])this[_0x1408cd(0x1a7)][_0x1408cd(0x1ab)](_0x46df65[_0x1408cd(0x183)]),this[_0x1408cd(0x16f)][_0x1408cd(0x1b3)](_0x46df65[_0x1408cd(0x183)]);this[_0x1408cd(0x16f)][_0x1408cd(0x16e)](_0x1408cd(0x1aa),(_0x4348ce,_0x5208a1)=>{const _0x25f96d=_0x1408cd;_0x49f71c===_0x4348ce[_0x25f96d(0x192)]&&(this[_0x25f96d(0x193)][_0x25f96d(0x195)](),_0x5208a1());}),this[_0x1408cd(0x16f)][_0x1408cd(0x16e)](_0x1408cd(0x17e),(_0x46fffa,_0x1a9c89)=>{const _0x463573=_0x1408cd;_0x49f71c!==_0x46fffa[_0x463573(0x192)]&&(this[_0x463573(0x16a)](),_0x1a9c89());});}}function _0x4017(){const _0x30f688=['ck-annotation','change:description','ck-suggestion','formatDateTime','ck-annotation__content-wrapper','focusables','attributes','discardSuggestion','bindTemplate','innerHTML','esc','isExternal','ck-suggestion__info-name','_model','ck-annotation__user','element','EXTERNAL_SUGGESTION','render','_config','ck-suggestion--accept','ck-suggestion--discard','userView','78rbqzdO','execute','.ck-annotation__content-wrapper','div','ck-suggestion__user','ck-comment__external','acceptButton','getUserViewNotificationText','target','focusCycler','30990QKOufb','focusFirst','2761FPPyCy','EXTERNAL_AVATAR','ck-suggestion__main','Discard\x20suggestion','_createButton','2564235ClwfRF','span','discardButton','creator','3673320aAbNRk','querySelector','1174327rUWxWH','bind','getExternalSuggestionNote','source','12jhxxPV','author','focusTracker','name','ck-comment__info-time','enter','add','505973AwOwzh','_setupKeyboardNavigation','ck-annotation__actions','extendTemplate','locale','Accept\x20suggestion','setTemplate','listenTo','5894280wFIwnA','importWord','ck-annotation__main','25857OisFxr','tab','ck-suggestion__actions','presentation','ck-suggestion__info','description','24trgFvc','push','ck-annotation__info','ck-annotation__info-time','time','shift+tab','getTemplate','focus','@external','EXTERNAL_IMPORT_WORD_AVATAR','authoredAt','set','keystrokes','EXTERNAL_IMPORT_WORD_SUGGESTION','acceptSuggestion','fire','ck-annotation__info-name'];_0x4017=function(){return _0x30f688;};return _0x4017();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2859ec=_0xe4fd;(function(_0x42b6b7,_0xbde799){const _0x3a3b55=_0xe4fd,_0x2c493e=_0x42b6b7();while(!![]){try{const _0x39a396=parseInt(_0x3a3b55(0xb0))/0x1*(parseInt(_0x3a3b55(0xa3))/0x2)+-parseInt(_0x3a3b55(0xaf))/0x3*(parseInt(_0x3a3b55(0xad))/0x4)+-parseInt(_0x3a3b55(0x9e))/0x5*(-parseInt(_0x3a3b55(0x95))/0x6)+parseInt(_0x3a3b55(0x9c))/0x7+-parseInt(_0x3a3b55(0x91))/0x8*(parseInt(_0x3a3b55(0x94))/0x9)+-parseInt(_0x3a3b55(0x9d))/0xa+parseInt(_0x3a3b55(0x98))/0xb*(-parseInt(_0x3a3b55(0x93))/0xc);if(_0x39a396===_0xbde799)break;else _0x2c493e['push'](_0x2c493e['shift']());}catch(_0x4de475){_0x2c493e['push'](_0x2c493e['shift']());}}}(_0x58d7,0xbbd30));import{View as _0x4d0f86}from'ckeditor5/src/ui.js';function _0xe4fd(_0x88438d,_0x4c97ba){const _0x58d785=_0x58d7();return _0xe4fd=function(_0xe4fdf3,_0x29822a){_0xe4fdf3=_0xe4fdf3-0x8f;let _0x36b511=_0x58d785[_0xe4fdf3];return _0x36b511;},_0xe4fd(_0x88438d,_0x4c97ba);}function _0x58d7(){const _0x14c51b=['6Aswpqy','142343RHQYrb','setAttribute','dialogRects','\x20ck-track-changes-preview__root-container','setPreviewData','1032BpikVA','style','12DJfLat','45QsOhRu','30rsfTTd','ck-reset','classes','1766171eKwFwx','createElement','push','className','7059444rhdAmB','4854270kEOkDA','1096685fHJlft','div','height','data-ck-root-name','innerHTML','4dwftWs','width','setTemplate','options','fire','render','element','ck-track-changes-preview','content','previewDataReady','1947804nvHcpM','focus'];_0x58d7=function(){return _0x14c51b;};return _0x58d7();}export class TrackChangesPreviewView extends _0x4d0f86{[_0x2859ec(0xa6)];constructor(_0x19e398,_0x478893){const _0x924d2f=_0x2859ec;super(_0x19e398),this[_0x924d2f(0xa6)]=_0x478893,this[_0x924d2f(0xa5)]({'tag':_0x924d2f(0x9f),'attributes':{'class':['ck',_0x924d2f(0x96),_0x924d2f(0xaa)],'tabindex':-0x1}});}[_0x2859ec(0xa8)](){const _0x15a214=_0x2859ec;super[_0x15a214(0xa8)](),this[_0x15a214(0xa9)][_0x15a214(0x92)][_0x15a214(0xa4)]=this[_0x15a214(0xa6)][_0x15a214(0xb2)][_0x15a214(0xa4)]+'px',this[_0x15a214(0xa9)][_0x15a214(0x92)][_0x15a214(0xa0)]=this[_0x15a214(0xa6)][_0x15a214(0xb2)][_0x15a214(0xa0)]+'px';}[_0x2859ec(0x90)](_0x4158aa,_0x3f5423){const _0x345d09=_0x2859ec;if(!this[_0x345d09(0xa9)])return;const _0x21bd63=[];for(const [_0x5f5cc7,_0x996d7c]of _0x4158aa){const _0xc58043=document[_0x345d09(0x99)](_0x345d09(0x9f));_0xc58043[_0x345d09(0xb1)](_0x345d09(0xa1),_0x5f5cc7),_0xc58043[_0x345d09(0x9b)]=_0x996d7c[_0x345d09(0x97)]+_0x345d09(0x8f),_0xc58043[_0x345d09(0xa2)]=_0x996d7c[_0x345d09(0xab)],_0x21bd63[_0x345d09(0x9a)](_0xc58043);}_0x3f5423(this[_0x345d09(0xa9)],_0x21bd63),this[_0x345d09(0xa9)][_0x345d09(0x92)][_0x345d09(0xa0)]='',this[_0x345d09(0xa7)](_0x345d09(0xac));}[_0x2859ec(0xae)](){const _0x7023a0=_0x2859ec;this[_0x7023a0(0xa9)][_0x7023a0(0xae)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x6222a1,_0x592115,_0x4fe694){const _0x329a74=_0x6222a1['t'],t=_0x6222a1['t'];switch(_0x592115){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',_0x4fe694);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4fe694);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4fe694);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4fe694);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4fe694);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',_0x4fe694);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4fe694);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',_0x4fe694);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4fe694);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4fe694);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4fe694);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4fe694);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4fe694);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4fe694);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4fe694);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4fe694);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4fe694);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4fe694);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4fe694);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4fe694);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4fe694);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4fe694);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4fe694);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4fe694);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x4fe694);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'},_0x4fe694);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x4fe694);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x4fe694);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4fe694);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4fe694);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4fe694);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4fe694);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4fe694);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'},_0x4fe694);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4fe694);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4fe694);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4fe694);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4fe694);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'},_0x4fe694);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4fe694);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'},_0x4fe694);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'},_0x4fe694);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4fe694);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'},_0x4fe694);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4fe694);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'},_0x4fe694);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4fe694);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4fe694);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'},_0x4fe694);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4fe694);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 _0x329a74({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4fe694);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x329a74({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4fe694);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4fe694);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'},_0x4fe694);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'},_0x4fe694);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'},_0x4fe694);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x592115;}}
|
|
23
|
+
export function getTranslation(_0x1f3b63,_0x357ca9,_0x5950f0){const _0x30f761=_0x1f3b63['t'],t=_0x1f3b63['t'];switch(_0x357ca9){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',_0x5950f0);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5950f0);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5950f0);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5950f0);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5950f0);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',_0x5950f0);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5950f0);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',_0x5950f0);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5950f0);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5950f0);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5950f0);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5950f0);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5950f0);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5950f0);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5950f0);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5950f0);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5950f0);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5950f0);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5950f0);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5950f0);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5950f0);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5950f0);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5950f0);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5950f0);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5950f0);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'},_0x5950f0);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5950f0);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5950f0);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5950f0);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5950f0);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5950f0);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5950f0);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5950f0);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'},_0x5950f0);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5950f0);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5950f0);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5950f0);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5950f0);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'},_0x5950f0);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5950f0);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'},_0x5950f0);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'},_0x5950f0);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5950f0);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'},_0x5950f0);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5950f0);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'},_0x5950f0);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5950f0);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5950f0);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'},_0x5950f0);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5950f0);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 _0x30f761({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5950f0);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x30f761({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5950f0);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5950f0);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'},_0x5950f0);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'},_0x5950f0);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'},_0x5950f0);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x357ca9;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x229548,_0x1e64f3){const _0x26de00=_0x282a,_0x50b829=_0x229548();while(!![]){try{const _0x28cdf7=parseInt(_0x26de00(0xa4))/0x1+-parseInt(_0x26de00(0xcc))/0x2+parseInt(_0x26de00(0xc6))/0x3*(parseInt(_0x26de00(0xc4))/0x4)+parseInt(_0x26de00(0x9d))/0x5*(parseInt(_0x26de00(0xa5))/0x6)+-parseInt(_0x26de00(0xcf))/0x7*(parseInt(_0x26de00(0xbb))/0x8)+-parseInt(_0x26de00(0xb1))/0x9+parseInt(_0x26de00(0xb6))/0xa;if(_0x28cdf7===_0x1e64f3)break;else _0x50b829['push'](_0x50b829['shift']());}catch(_0x2de7f3){_0x50b829['push'](_0x50b829['shift']());}}}(_0x1039,0xc45a2));function _0x1039(){const _0x2fcf3d=['getRanges','8JypDPw','type','162933fyknTd','isIntersecting','execute','color','\x20[color\x20','attribute','1280186NihlDn','createRange','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','10267810PaOumt','content','\x22\x20title=\x22','map','isArray','295gXherv','title','next','end','add','</span>','isMultiRange','221918JpnEXO','130998PpfTFU','isInContent','createPositionAt','isObject','isCollapsed','\x22></span>','innerHTML','createPositionAfter','deletion','span','createPositionBefore','change','1723707QbdJoV','length','from','value','replace','14840170chUWgl','innerText','splice','createElement','schema','8PVwLJB','join','isTouching','<span\x20class=\x22ck-suggestion-type\x22>','push','start','split','sort'];_0x1039=function(){return _0x2fcf3d;};return _0x1039();}export function normalizeDescription(_0x1c22e9){const _0x283a9a=_0x282a;return Array[_0x283a9a(0x9c)](_0x1c22e9)||(_0x1c22e9=[_0x1c22e9]),_0x1c22e9[_0x283a9a(0x9b)](_0x2afc7e=>{const _0x5c1034=_0x283a9a,_0x422923=_0x2afc7e[_0x5c1034(0xd0)][_0x5c1034(0xb5)](/\*/g,''),_0xf15c92=_0x2afc7e[_0x5c1034(0xc9)]?_0x5c1034(0xca)+_0x2afc7e[_0x5c1034(0xc9)][_0x5c1034(0xb4)]+']':'';return'['+_0x2afc7e[_0x5c1034(0xc5)]+']\x20'+_0x422923+_0xf15c92;})[_0x283a9a(0xbc)](';\x20');}export function renderDescription(_0x40928a,_0x455743){const _0x3974c1=_0x282a;let _0x41c1a8='';return _0x41c1a8+=_0x40928a[_0x3974c1(0xc1)]('*')[_0x3974c1(0x9b)]((_0x32543a,_0x15e075)=>_0x15e075%0x2!=0x0?_0x3974c1(0xbe)+tn(_0x32543a)+_0x3974c1(0xa2):tn(_0x32543a))[_0x3974c1(0xbc)](''),_0x455743&&(_0x41c1a8+=_0x3974c1(0xce)+_0x455743[_0x3974c1(0xb4)]+_0x3974c1(0xd1)+_0x455743[_0x3974c1(0x9e)]+_0x3974c1(0xaa)),_0x41c1a8;}function tn(_0x149c91){const _0x209a49=_0x282a,_0x3bd410=document[_0x209a49(0xb9)](_0x209a49(0xae));return _0x3bd410[_0x209a49(0xb7)]=_0x149c91,_0x3bd410[_0x209a49(0xab)];}export function sortSuggestions(_0x58be5a){const _0x3b3d5b=_0x282a;return _0x58be5a[_0x3b3d5b(0xc2)]((_0x4f9070,_0x5be3f4)=>_0x3b3d5b(0xcb)===_0x4f9070[_0x3b3d5b(0xc5)]&&_0x3b3d5b(0xcb)!==_0x5be3f4[_0x3b3d5b(0xc5)]?-0x1:_0x3b3d5b(0xcb)!==_0x4f9070[_0x3b3d5b(0xc5)]&&_0x3b3d5b(0xcb)===_0x5be3f4[_0x3b3d5b(0xc5)]?0x1:_0x3b3d5b(0xad)==_0x4f9070[_0x3b3d5b(0xc5)]&&_0x3b3d5b(0xad)!=_0x5be3f4[_0x3b3d5b(0xc5)]?-0x1:_0x3b3d5b(0xad)!=_0x4f9070[_0x3b3d5b(0xc5)]&&_0x3b3d5b(0xad)==_0x5be3f4[_0x3b3d5b(0xc5)]?0x1:0x0);}export function getSelectedSuggestions(_0x24ed16,_0x33cb73){const _0x3bb163=_0x282a,_0x29b015=Array[_0x3bb163(0xb3)](_0x24ed16[_0x3bb163(0xc3)]()),_0x43bafe=new Set();for(const _0x3aa54e of _0x33cb73)if(_0x3aa54e[_0x3bb163(0xa6)]){for(const _0x1e1f71 of _0x29b015)for(const _0x12c7f3 of _0x3aa54e[_0x3bb163(0xc3)]())(_0x1e1f71[_0x3bb163(0xc7)](_0x12c7f3)||_0x24ed16[_0x3bb163(0xa9)]&&!_0x3aa54e[_0x3bb163(0xa3)]&&_0x3aa54e[_0x3bb163(0x9f)]&&_0x12c7f3[_0x3bb163(0xa0)][_0x3bb163(0xbd)](_0x1e1f71[_0x3bb163(0xc0)]))&&_0x43bafe[_0x3bb163(0xa1)](_0x3aa54e);}return _0x43bafe;}export function getRangesOfBlockGroups(_0x316324,_0x1567b7){const _0x4e7134=_0x282a;let _0x3d082d,_0x580a2c=0x0;const _0x472179=[],_0x486ea9=_0x1567b7[_0x4e7134(0xba)];for(;_0x580a2c<_0x316324[_0x4e7134(0xb2)];){const _0x4d1e3f=_0x316324[_0x580a2c],_0x2dc5f9=_0x316324[_0x580a2c+0x1];_0x3d082d||(_0x3d082d=_0x1567b7[_0x4e7134(0xaf)](_0x4d1e3f)),nn(_0x1567b7,_0x4d1e3f,_0x2dc5f9)||(_0x472179[_0x4e7134(0xbf)](_0x1567b7[_0x4e7134(0xcd)](_0x3d082d,_0x486ea9[_0x4e7134(0xa8)](_0x4d1e3f)?_0x1567b7[_0x4e7134(0xac)](_0x4d1e3f):_0x1567b7[_0x4e7134(0xa7)](_0x4d1e3f,_0x4e7134(0xa0)))),_0x3d082d=null),_0x580a2c++;}return _0x472179;}function _0x282a(_0x48109a,_0x38b1e1){const _0x103902=_0x1039();return _0x282a=function(_0x282a96,_0x1999e8){_0x282a96=_0x282a96-0x9b;let _0x32e2de=_0x103902[_0x282a96];return _0x32e2de;},_0x282a(_0x48109a,_0x38b1e1);}function nn(_0xb5e571,_0x4bf2cb,_0x2996e3){const _0x541c12=_0x282a;if(!_0x2996e3)return!0x1;const _0x3fc1fb=_0xb5e571[_0x541c12(0xac)](_0x4bf2cb),_0x385d82=_0xb5e571[_0x541c12(0xaf)](_0x2996e3);return _0x3fc1fb[_0x541c12(0xbd)](_0x385d82);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2e2fbe,_0x58095b,_0x3fecb9){const _0x2e0aa9=_0x282a;for(;_0x3fecb9[_0x2e0aa9(0xb2)];){const _0x1d0448=_0x3fecb9[_0x2e0aa9(0xb8)](0x0,0x64);_0x2e2fbe[_0x2e0aa9(0xb0)](()=>{const _0x409dac=_0x2e0aa9;for(const _0x37619f of _0x1d0448)_0x37619f[_0x409dac(0xa6)]&&_0x58095b[_0x409dac(0xc8)](_0x37619f['id']);});}}
|