@ckeditor/ckeditor5-track-changes 47.0.0-alpha.5 → 47.0.0-alpha.6
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.d.ts +17 -0
- package/src/integrations/ai.js +23 -0
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +2 -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 _0xcb9106=_0x193c;(function(_0x1738bf,_0x24628e){const _0x100976=_0x193c,_0x42d223=_0x1738bf();while(!![]){try{const _0x5b0390=parseInt(_0x100976(0x1d7))/0x1+-parseInt(_0x100976(0x1c6))/0x2+-parseInt(_0x100976(0x1c5))/0x3*(parseInt(_0x100976(0x1c7))/0x4)+-parseInt(_0x100976(0x1d1))/0x5*(-parseInt(_0x100976(0x1cc))/0x6)+parseInt(_0x100976(0x1c8))/0x7+parseInt(_0x100976(0x1d0))/0x8+parseInt(_0x100976(0x1d3))/0x9*(-parseInt(_0x100976(0x1cd))/0xa);if(_0x5b0390===_0x24628e)break;else _0x42d223['push'](_0x42d223['shift']());}catch(_0x4cb3c3){_0x42d223['push'](_0x42d223['shift']());}}}(_0x28ef,0xd0b48));import{Plugin as _0x4008df}from'ckeditor5/src/core.js';import{Dialog as _0x1b6514}from'ckeditor5/src/ui.js';function _0x28ef(){const _0x64ef81=['11236015XUcQuT','commands','editor','isPremiumPlugin','66jPOhfn','60WAjJLa','trackChanges.preview.renderFunction','appendChild','3405016nHmIRm','615205eTqOMO','previewFinalContent','3127122gzVnTS','pluginName','define','requires','1429746GEKQOj','TrackChangesPreview','add','config','isOfficialPlugin','4755468JtBEzP','578418AwKaOq','4CSrkun'];_0x28ef=function(){return _0x64ef81;};return _0x28ef();}import{TrackChangesData as _0xbdf18}from'./trackchangesdata.js';function _0x193c(_0x441162,_0xceb076){const _0x28ef1c=_0x28ef();return _0x193c=function(_0x193c71,_0xd54441){_0x193c71=_0x193c71-0x1c2;let _0x2b3e31=_0x28ef1c[_0x193c71];return _0x2b3e31;},_0x193c(_0x441162,_0xceb076);}import{PreviewFinalContentCommand as _0x13f03d}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x4008df{static get[_0xcb9106(0x1d6)](){return[_0xbdf18,_0x1b6514];}static get[_0xcb9106(0x1d4)](){const _0xba3740=_0xcb9106;return _0xba3740(0x1d8);}static get[_0xcb9106(0x1c4)](){return!0x0;}static get[_0xcb9106(0x1cb)](){return!0x0;}constructor(_0x4846ab){const _0x58be92=_0xcb9106;super(_0x4846ab),_0x4846ab[_0x58be92(0x1c9)][_0x58be92(0x1c2)](_0x58be92(0x1d2),new _0x13f03d(this[_0x58be92(0x1ca)])),_0x4846ab[_0x58be92(0x1c3)][_0x58be92(0x1d5)](_0x58be92(0x1ce),(_0x1dc0c7,_0x25a63c)=>{const _0x4c07fb=_0x58be92;for(const _0x2e84d0 of _0x25a63c)_0x1dc0c7[_0x4c07fb(0x1cf)](_0x2e84d0);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xba6c71=_0xb52f;(function(_0x4103b6,_0xf1193c){const _0x3761a3=_0xb52f,_0x546215=_0x4103b6();while(!![]){try{const _0x2d73ee=-parseInt(_0x3761a3(0x195))/0x1*(parseInt(_0x3761a3(0x114))/0x2)+parseInt(_0x3761a3(0x14a))/0x3*(parseInt(_0x3761a3(0x19b))/0x4)+-parseInt(_0x3761a3(0x124))/0x5*(parseInt(_0x3761a3(0x1a9))/0x6)+-parseInt(_0x3761a3(0x12f))/0x7+-parseInt(_0x3761a3(0x1b1))/0x8*(parseInt(_0x3761a3(0x14e))/0x9)+parseInt(_0x3761a3(0x16d))/0xa*(parseInt(_0x3761a3(0x1bf))/0xb)+parseInt(_0x3761a3(0x118))/0xc;if(_0x2d73ee===_0xf1193c)break;else _0x546215['push'](_0x546215['shift']());}catch(_0x5342b4){_0x546215['push'](_0x546215['shift']());}}}(_0x3af8,0x4c176));import{Plugin as _0x179fa8}from'ckeditor5/src/core.js';import{Collection as _0x4f0165}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x22db61}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xb5264a,createDropdown as _0x172fe0,ListSeparatorView as _0x48a010,MenuBarMenuView as _0x22ba76,MenuBarMenuListView as _0x372c13,MenuBarMenuListItemView as _0x175c78,MenuBarMenuListItemButtonView as _0x1b57c1,SplitButtonView as _0xa41d52,UIModel as _0x47fb8b}from'ckeditor5/src/ui.js';function _0xb52f(_0x114355,_0x4ce4b1){const _0x3af893=_0x3af8();return _0xb52f=function(_0xb52f33,_0x466f88){_0xb52f33=_0xb52f33-0x10c;let _0x5202cc=_0x3af893[_0xb52f33];return _0x5202cc;},_0xb52f(_0x114355,_0x4ce4b1);}function _0x3af8(){const _0x50349f=['switchbutton','activeAnnotations','isEnabled','trackChangesLicenseKeyNotAllowed','featureNotAllowed','listenTo','suggestion-','_addUIComponentsToFactory','TrackChangesUI','addComment','getByInnerView','_showLicenseError','getMarkerNames','40rgFqpB','acceptSelectedSuggestions','get','getMarkers','editor','menu','descriptionFactory','componentFactory','stopListening','button','Accept\x20all\x20selected\x20suggestions','_annotationViews','descriptionParts','_destroyController','acceptAllSuggestions','menuitemcheckbox','domainLimit','execute','menuBar:trackChanges','_handleControllerBuffer','view','discardAllSuggestions','menuitem','change:activeAnnotations','trackChangesLicenseKeyTrialLimit','comments.maxCommentsWhenCollapsed','_bindAnnotationToEditors','add','commands','change:previous','editing','isMultiRange','usageLimit','previewFinalContent','model','getSuggestionForAnnotation','delegate','trackChangesLicenseKeyInvalid','size','trackChangesLicenseKeyUsageLimit','511327mqRsKe','values','children','_updateController','CommentsUI','_viewToController','722504BnMMSs','Accept\x20all\x20suggestions','innerView','discardButton','TrackChangesEditing','_initializeController','delete','trackChanges','Preview\x20final\x20content','suggestionChanged','SuggestionThreadView','refreshSelectedViews','value','length','18VJtAGj','_disableComments','define','escape','comments.maxThreadTotalWeight','requires','addSourceCollector','Discard\x20all\x20selected\x20suggestions','56lNbiwf','isInContent','lowest','from','acceptButton','trialLimit','fire','commandName','_createMenuBarMenu','discardSelectedSuggestions','Annotations','previous','activeMarkers','mainView','209110gQWotZ','createAnnotation','buttonView','hasSuggestion','evaluationLimit','_suggestionToController','addMany','trackChangesLicenseKeyEvaluationLimit','suggestionView','2iDiRST','_unbindEditors','separator','commentThread','19477632iJOnpC','remove','source','toMany','comments.editorConfig','TrackChanges','registerAnnotation','type','getDescriptions','head','actionView','getRanges','894265OYkYSy','trackChangesLicenseKeyValid','EditorAnnotations','reduce','unbind','suggestionLoaded','isOfficialPlugin','trackChangesLicenseKeyDomainLimit','commentsListView','items','trackChanges.SuggestionThreadView','3875830YTNxkJ','_refreshActiveMarkers','expired','getAllAdjacentSuggestions','SuggestionView','suggestionUnloaded','getAnnotationForSuggestion','some','isDirty','pluginName','CommentView','Track\x20changes','getJoined','trackChanges.disableComments','keys','plugins','CommentsRepository','has','set','focus','_licenseKeyCheckInterval','invalid','isPremiumPlugin','destroy','isOn','clear','panelView','6BuTMpZ','comments','init','licenseKey','189234lQXjJi','config','TrackChangesPreview','createAnnotationView','comments.maxCommentCharsWhenCollapsed','createCommentThreadController','push','_createToolbarButton','trackChanges.SuggestionView','Discard\x20all\x20suggestions','getFirstRange','filter','locale','_handleSuggestionControllerDelayed','arrowView','getSuggestion','trackChangesLicenseKeyExpired','bind'];_0x3af8=function(){return _0x50349f;};return _0x3af8();}import{Users as _0x261991,getDateTimeFormatter as _0x18bfb0,getAllMarkersDomElementsSorted as _0x2d421f}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x164a10}from'./trackchangesediting.js';import{SuggestionController as _0x2109de}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x480abf}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x432250}from'./ui/view/suggestionview.js';import{getTranslation as _0x3ab1bf}from'./utils/common-translations.js';export class TrackChangesUI extends _0x179fa8{[_0xba6c71(0x14d)];[_0xba6c71(0x143)];[_0xba6c71(0x110)];[_0xba6c71(0x19a)];[_0xba6c71(0x178)];[_0xba6c71(0x180)];[_0xba6c71(0x1aa)];static get[_0xba6c71(0x1ae)](){const _0x15801a=_0xba6c71;return[_0x164a10,_0x261991,_0x15801a(0x13f),_0x15801a(0x1bb),_0x15801a(0x126)];}static get[_0xba6c71(0x138)](){const _0x25ee38=_0xba6c71;return _0x25ee38(0x168);}static get[_0xba6c71(0x12a)](){return!0x0;}static get[_0xba6c71(0x145)](){return!0x0;}constructor(_0x34231d){const _0x39499d=_0xba6c71;super(_0x34231d),this[_0x39499d(0x110)]=new Map(),this[_0x39499d(0x19a)]=new Map(),this[_0x39499d(0x178)]=new Map(),this[_0x39499d(0x180)]=new Map();const _0x13b3ea=this[_0x39499d(0x171)][_0x39499d(0x14f)];_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x12e),_0x480abf),_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x156),_0x432250),_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x13c),!0x1),this[_0x39499d(0x1aa)]=_0x13b3ea[_0x39499d(0x16f)](_0x39499d(0x13c));}[_0xba6c71(0x15b)](_0x4c55f5,_0x57528a){const _0x18534c=_0xba6c71;0x0===this[_0x18534c(0x180)][_0x18534c(0x193)]&&setTimeout(()=>{const _0x4cc94d=_0x18534c;for(const [_0x33c5d8,_0x29f8a0]of this[_0x4cc94d(0x180)]){const _0x314e96=this[_0x4cc94d(0x110)][_0x4cc94d(0x140)](_0x33c5d8);_0x314e96||_0x29f8a0?_0x314e96&&_0x29f8a0&&this[_0x4cc94d(0x17a)](_0x33c5d8):this[_0x4cc94d(0x1a0)](_0x33c5d8);}this[_0x4cc94d(0x180)][_0x4cc94d(0x148)](),this[_0x4cc94d(0x171)][_0x4cc94d(0x13e)][_0x4cc94d(0x16f)](_0x4cc94d(0x126))[_0x4cc94d(0x1a6)](),this[_0x4cc94d(0x130)]();},0xa),this[_0x18534c(0x180)][_0x18534c(0x141)](_0x4c55f5,_0x57528a);}[_0xba6c71(0x14c)](){const _0x3c17bf=_0xba6c71,_0x4e1812=this[_0x3c17bf(0x171)],_0x218ad1=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x19f)),_0x3400b4=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x1bb)),_0x4ba595=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x126)),_0x38e894=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x13f));this[_0x3c17bf(0x167)](),_0x4ba595[_0x3c17bf(0x1af)](()=>{const _0x343d5a=_0x3c17bf,_0x4ef2eb=[];for(const [_0x175f4b,_0x450a15]of Array[_0x343d5a(0x1b4)](this[_0x343d5a(0x110)])){const _0x3e174b=_0x175f4b[_0x343d5a(0x132)](),_0x17d061=[];for(const _0x2685ea of _0x3e174b){if(!_0x2685ea[_0x343d5a(0x1b2)])continue;if(_0x2685ea[_0x343d5a(0x18c)]){_0x17d061[_0x343d5a(0x154)](..._0x2685ea[_0x343d5a(0x123)]());continue;}const _0x4bcc14=_0x2685ea[_0x343d5a(0x158)]();if(_0x17d061[_0x343d5a(0x1a8)]>0x0){const _0x2d6a8d=_0x17d061[0x0][_0x343d5a(0x13b)](_0x4bcc14);if(_0x2d6a8d){_0x17d061[0x0]=_0x2d6a8d;continue;}}_0x17d061[_0x343d5a(0x154)](_0x4bcc14);}_0x4ef2eb[_0x343d5a(0x154)]([_0x450a15[_0x343d5a(0x181)],_0x17d061]);}return _0x4ef2eb;}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x129),(_0x4a949,_0x2b0e1f)=>{const _0xb03332=_0x3c17bf;this[_0xb03332(0x165)](_0x2b0e1f,_0xb03332(0x18a),(_0xb37377,_0x54ca82,_0x42b236,_0x5ac650)=>{const _0x2ad1e6=_0xb03332;_0x2b0e1f[_0x2ad1e6(0x1b2)]&&(null==_0x42b236?(this[_0x2ad1e6(0x198)](_0x5ac650[_0x2ad1e6(0x121)]),this[_0x2ad1e6(0x15b)](_0x2b0e1f,!0x1)):(this[_0x2ad1e6(0x198)](_0x42b236[_0x2ad1e6(0x121)]),null==_0x5ac650&&this[_0x2ad1e6(0x15b)](_0x2b0e1f,!0x0)));}),null!==_0x2b0e1f[_0xb03332(0x1bc)]?this[_0xb03332(0x198)](_0x2b0e1f[_0xb03332(0x121)]):this[_0xb03332(0x15b)](_0x2b0e1f,!0x1);}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x134),(_0x503b33,_0x2eab83,_0x388bc7)=>{const _0x3100f5=_0x3c17bf;this[_0x3100f5(0x175)](_0x2eab83,_0x3100f5(0x18a)),this[_0x3100f5(0x180)][_0x3100f5(0x1a1)](_0x2eab83),this[_0x3100f5(0x110)][_0x3100f5(0x140)](_0x2eab83)&&this[_0x3100f5(0x17a)](_0x2eab83),_0x388bc7&&this[_0x3100f5(0x198)](_0x388bc7[_0x3100f5(0x121)]);}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x1a4),(_0x481c4c,_0x64c98b)=>{const _0x2fe414=_0x3c17bf;this[_0x2fe414(0x198)](_0x64c98b);}),this[_0x3c17bf(0x165)](_0x3400b4,_0x3c17bf(0x184),()=>{const _0x1e1fdb=_0x3c17bf;this[_0x1e1fdb(0x130)]();}),this[_0x3c17bf(0x165)](_0x38e894,_0x3c17bf(0x169),(_0xbf097f,{threadId:_0x34b0dd,isFromAdapter:_0x44fcec})=>{const _0x1f23d4=_0x3c17bf;if(_0x44fcec||!_0x218ad1[_0x1f23d4(0x10e)](_0x34b0dd))return;const _0x5a626a=_0x218ad1[_0x1f23d4(0x15d)](_0x34b0dd);this[_0x1f23d4(0x110)][_0x1f23d4(0x16f)](_0x5a626a)[_0x1f23d4(0x181)][_0x1f23d4(0x12c)][_0x1f23d4(0x142)](-0x1);},{'priority':_0x3c17bf(0x1b3)}),this[_0x3c17bf(0x14d)]=this[_0x3c17bf(0x171)][_0x3c17bf(0x14f)][_0x3c17bf(0x16f)](_0x3c17bf(0x14d));const _0x284b04=this[_0x3c17bf(0x171)];this[_0x3c17bf(0x143)]=setInterval(()=>{const _0x38f361=_0x3c17bf;let _0x2e65d9;for(const _0x3e1be8 in _0x284b04){const _0x2b6d18=_0x3e1be8,_0x4e3761=_0x284b04[_0x2b6d18];if(_0x38f361(0x125)==_0x4e3761||_0x38f361(0x192)==_0x4e3761||_0x38f361(0x15e)==_0x4e3761||_0x38f361(0x12b)==_0x4e3761||_0x38f361(0x163)==_0x4e3761||_0x38f361(0x112)==_0x4e3761||_0x38f361(0x185)==_0x4e3761||_0x38f361(0x194)==_0x4e3761){delete _0x284b04[_0x2b6d18],_0x2e65d9=_0x4e3761,clearInterval(this[_0x38f361(0x143)]),this[_0x38f361(0x143)]=void 0x0;break;}}_0x38f361(0x192)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x144)),_0x38f361(0x15e)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x131)),_0x38f361(0x12b)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x17d)),_0x38f361(0x163)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x164),_0x38f361(0x11d)),_0x38f361(0x112)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x10f)),_0x38f361(0x185)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x1b6)),_0x38f361(0x194)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x18d));},0x3e8);}[_0xba6c71(0x135)](_0x569610){const _0x5a96ec=_0xba6c71,_0x44932c=this[_0x5a96ec(0x110)][_0x5a96ec(0x16f)](_0x569610);if(!_0x44932c)return null;return this[_0x5a96ec(0x171)][_0x5a96ec(0x13e)][_0x5a96ec(0x16f)](_0x5a96ec(0x1bb))[_0x5a96ec(0x16a)](_0x44932c[_0x5a96ec(0x181)])||null;}[_0xba6c71(0x190)](_0x3cd020){const _0x5236e4=_0xba6c71,_0x364b5b=this[_0x5236e4(0x19a)][_0x5236e4(0x16f)](_0x3cd020[_0x5236e4(0x19d)]);return _0x364b5b?_0x364b5b[_0x5236e4(0x18f)]:null;}[_0xba6c71(0x130)](){const _0x2c3111=_0xba6c71,_0x170562=this[_0x2c3111(0x171)][_0x2c3111(0x13e)][_0x2c3111(0x16f)](_0x2c3111(0x1bb)),_0x36d89f=this[_0x2c3111(0x171)][_0x2c3111(0x13e)][_0x2c3111(0x16f)](_0x2c3111(0x19f)),_0x5541a8=Array[_0x2c3111(0x1b4)](_0x170562[_0x2c3111(0x161)],_0x3f0344=>_0x3f0344[_0x2c3111(0x19d)])[_0x2c3111(0x159)](_0x4d32d3=>this[_0x2c3111(0x19a)][_0x2c3111(0x140)](_0x4d32d3)),_0x29637b=[];for(const _0x1f2b55 of _0x5541a8){const _0x54eee6=this[_0x2c3111(0x19a)][_0x2c3111(0x16f)](_0x1f2b55)[_0x2c3111(0x18f)][_0x2c3111(0x132)]();_0x29637b[_0x2c3111(0x154)](..._0x54eee6[_0x2c3111(0x127)]((_0x243479,_0x113fb8)=>[..._0x243479,..._0x113fb8[_0x2c3111(0x16c)]()],[]));}_0x36d89f[_0x2c3111(0x1bd)]=_0x29637b;}[_0xba6c71(0x167)](){const _0x5c80f7=_0xba6c71,_0x48ecdd=this[_0x5c80f7(0x171)],_0x1621b8=_0x48ecdd[_0x5c80f7(0x15a)],_0x162123=_0x3ab1bf(_0x1621b8,_0x5c80f7(0x13a)),_0x1de6fe=new _0x4f0165([{'type':_0x5c80f7(0x160),'model':new _0x47fb8b({'withText':!0x0,'isToggleable':!0x0,'label':_0x162123,'commandName':_0x5c80f7(0x1a2),'role':_0x5c80f7(0x17c)})},{'type':_0x5c80f7(0x116)},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x19c)),'commandName':_0x5c80f7(0x17b),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x177)),'commandName':_0x5c80f7(0x16e),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x157)),'commandName':_0x5c80f7(0x182),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x1b0)),'commandName':_0x5c80f7(0x1ba),'role':_0x5c80f7(0x183)})}]);_0x48ecdd[_0x5c80f7(0x13e)][_0x5c80f7(0x140)](_0x5c80f7(0x150))&&_0x1de6fe[_0x5c80f7(0x111)]([{'type':_0x5c80f7(0x116)},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x1a3)),'commandName':_0x5c80f7(0x18e),'role':_0x5c80f7(0x183)})}]);for(const _0x59ff61 of _0x1de6fe)if(ve(_0x59ff61)){const _0xceafce=_0x48ecdd[_0x5c80f7(0x189)][_0x5c80f7(0x16f)](_0x59ff61[_0x5c80f7(0x18f)][_0x5c80f7(0x1b8)]);_0x59ff61[_0x5c80f7(0x18f)][_0x5c80f7(0x15f)](_0x5c80f7(0x147),_0x5c80f7(0x162))['to'](_0xceafce,_0x5c80f7(0x1a7),_0x5c80f7(0x162));}_0x48ecdd['ui'][_0x5c80f7(0x174)][_0x5c80f7(0x188)](_0x5c80f7(0x1a2),_0x410d5f=>this[_0x5c80f7(0x155)](_0x410d5f,_0x1de6fe,_0x162123)),_0x48ecdd['ui'][_0x5c80f7(0x174)][_0x5c80f7(0x188)](_0x5c80f7(0x17f),_0xbea852=>this[_0x5c80f7(0x1b9)](_0xbea852,_0x1de6fe,_0x162123));}[_0xba6c71(0x155)](_0x2f77fd,_0x582f43,_0x33ac0a){const _0x4b26bc=_0xba6c71,_0x3ab490=_0x172fe0(_0x2f77fd,_0xa41d52),_0x17a6eb=this[_0x4b26bc(0x171)][_0x4b26bc(0x189)][_0x4b26bc(0x16f)](_0x4b26bc(0x1a2));_0x3ab490[_0x4b26bc(0x10d)][_0x4b26bc(0x141)]({'tooltip':_0x33ac0a,'label':_0x33ac0a,'icon':_0x22db61}),_0x3ab490[_0x4b26bc(0x10d)][_0x4b26bc(0x15f)](_0x4b26bc(0x147))['to'](_0x17a6eb,_0x4b26bc(0x1a7)),_0x3ab490[_0x4b26bc(0x10d)]['on'](_0x4b26bc(0x17e),()=>{const _0x14fae4=_0x4b26bc;_0x17a6eb[_0x14fae4(0x17e)](),this[_0x14fae4(0x171)][_0x14fae4(0x18b)][_0x14fae4(0x181)][_0x14fae4(0x142)]();}),_0xb5264a(_0x3ab490,_0x582f43,{'role':_0x4b26bc(0x172)});const _0x450f47=[];for(const _0x165c55 of _0x582f43)ve(_0x165c55)&&_0x450f47[_0x4b26bc(0x154)](this[_0x4b26bc(0x171)][_0x4b26bc(0x189)][_0x4b26bc(0x16f)](_0x165c55[_0x4b26bc(0x18f)][_0x4b26bc(0x1b8)]));const _0x596a07=_0x3ab490[_0x4b26bc(0x10d)];return _0x596a07[_0x4b26bc(0x122)][_0x4b26bc(0x128)](_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x15c)][_0x4b26bc(0x128)](_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x122)][_0x4b26bc(0x15f)](_0x4b26bc(0x162))['to'](_0x17a6eb,_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x15c)][_0x4b26bc(0x15f)](_0x4b26bc(0x162))[_0x4b26bc(0x11b)](_0x450f47,_0x4b26bc(0x162),(..._0x5b21ce)=>_0x5b21ce[_0x4b26bc(0x136)](_0x1352bc=>_0x1352bc)),_0x3ab490['on'](_0x4b26bc(0x17e),_0x137874=>{const _0x5d562c=_0x4b26bc;this[_0x5d562c(0x171)][_0x5d562c(0x17e)](_0x137874[_0x5d562c(0x11a)][_0x5d562c(0x1b8)]),this[_0x5d562c(0x171)][_0x5d562c(0x18b)][_0x5d562c(0x181)][_0x5d562c(0x142)]();}),_0x3ab490;}[_0xba6c71(0x1b9)](_0x660a99,_0x44d36a,_0x30fb15){const _0x4fd33f=_0xba6c71,_0x5e4a74=new _0x22ba76(_0x660a99),_0x3f0122=this[_0x4fd33f(0x171)][_0x4fd33f(0x189)][_0x4fd33f(0x16f)](_0x4fd33f(0x1a2));_0x5e4a74[_0x4fd33f(0x10d)][_0x4fd33f(0x141)]({'label':_0x30fb15,'icon':_0x22db61});const _0x52b1e8=new _0x372c13(_0x660a99);for(const _0x3315a0 of _0x44d36a){if(_0x4fd33f(0x116)==_0x3315a0[_0x4fd33f(0x11f)]){_0x52b1e8[_0x4fd33f(0x12d)][_0x4fd33f(0x188)](new _0x48a010(_0x660a99));continue;}const _0x13b439=new _0x175c78(_0x660a99,_0x5e4a74),_0x4c4b13=new _0x1b57c1(_0x660a99),_0x5a4646=_0x3315a0[_0x4fd33f(0x18f)];_0x4c4b13[_0x4fd33f(0x15f)](...Object[_0x4fd33f(0x13d)](_0x5a4646))['to'](_0x5a4646),_0x4c4b13[_0x4fd33f(0x191)](_0x4fd33f(0x17e))['to'](_0x5e4a74),_0x4c4b13['on'](_0x4fd33f(0x17e),()=>{const _0x4b2e20=_0x4fd33f;this[_0x4b2e20(0x171)][_0x4b2e20(0x17e)](_0x5a4646[_0x4b2e20(0x1b8)]),this[_0x4b2e20(0x171)][_0x4b2e20(0x18b)][_0x4b2e20(0x181)][_0x4b2e20(0x142)]();}),_0x13b439[_0x4fd33f(0x197)][_0x4fd33f(0x188)](_0x4c4b13),_0x52b1e8[_0x4fd33f(0x12d)][_0x4fd33f(0x188)](_0x13b439);}return _0x5e4a74[_0x4fd33f(0x15f)](_0x4fd33f(0x162))['to'](_0x3f0122,_0x4fd33f(0x162)),_0x5e4a74[_0x4fd33f(0x149)][_0x4fd33f(0x197)][_0x4fd33f(0x188)](_0x52b1e8),_0x5e4a74;}[_0xba6c71(0x1a0)](_0x4e49f5){const _0xd7312e=_0xba6c71,_0x5bee0c=this[_0xd7312e(0x171)],_0x7fc152=_0x5bee0c[_0xd7312e(0x14f)],_0xcd452c=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x1bb)),_0x2e0d58=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x13f)),_0x2cb476=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x126)),_0x2dd5ad=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0x261991)['me'],_0x47eb5d=_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1a2))[_0xd7312e(0x1a5)],_0x386c1b=_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1a2))[_0xd7312e(0x133)],{CommentsListView:_0x9f3acf,CommentThreadInputView:_0x5e259f}=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x199));let _0x590856,_0x1f9b19,_0x5a4336;this[_0xd7312e(0x178)][_0xd7312e(0x140)](_0x4e49f5['id'])?(_0x1f9b19=this[_0xd7312e(0x178)][_0xd7312e(0x16f)](_0x4e49f5['id']),_0x590856=_0x1f9b19[_0xd7312e(0x1be)]):(_0x590856=new _0x47eb5d(_0x5bee0c[_0xd7312e(0x15a)],_0x4e49f5,_0x2dd5ad,{'disableComments':this[_0xd7312e(0x1aa)],'editorConfig':{..._0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x11c)),'licenseKey':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x14d))},'maxCommentsWhenCollapsed':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x186)),'maxThreadTotalWeight':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1ad)),'maxCommentCharsWhenCollapsed':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x152)),'formatDateTime':_0x18bfb0(_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x15a)),_0x5bee0c[_0xd7312e(0x15a)]),'CommentView':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x14b))[_0xd7312e(0x139)],'CommentsListView':_0x9f3acf,'CommentThreadInputView':_0x5e259f,'SuggestionView':_0x386c1b}),_0x590856[_0xd7312e(0x113)][_0xd7312e(0x1b5)]['on'](_0xd7312e(0x17e),()=>{const _0x2b53d1=_0xd7312e;_0x5bee0c[_0x2b53d1(0x18b)][_0x2b53d1(0x181)][_0x2b53d1(0x142)]();}),_0x590856[_0xd7312e(0x113)][_0xd7312e(0x19e)]['on'](_0xd7312e(0x17e),()=>{const _0x54b27c=_0xd7312e;_0x5bee0c[_0x54b27c(0x18b)][_0x54b27c(0x181)][_0x54b27c(0x142)]();}),_0x1f9b19=_0xcd452c[_0xd7312e(0x151)](this[_0xd7312e(0x171)][_0xd7312e(0x15a)],_0x590856),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x137))['to'](_0x590856,_0xd7312e(0x137)),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x1a8))['to'](_0x590856),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x11f))['to'](_0x590856,_0xd7312e(0x11f),_0x20d03a=>_0xd7312e(0x166)+_0x20d03a),_0x590856['on'](_0xd7312e(0x1ac),()=>{const _0x14b04a=_0xd7312e;_0x5a4336[_0x14b04a(0x1b7)](_0x14b04a(0x1ac));}),this[_0xd7312e(0x178)][_0xd7312e(0x141)](_0x4e49f5['id'],_0x1f9b19));const _0x577cd5=_0x2e0d58[_0xd7312e(0x153)](_0x4e49f5[_0xd7312e(0x117)],_0x590856),_0xb0951d=new _0x2109de(_0x5bee0c,_0x4e49f5,_0x590856,_0x577cd5),_0x588901=_0x4e49f5[_0xd7312e(0x132)]()[_0xd7312e(0x159)](_0x595b96=>_0x595b96[_0xd7312e(0x1b2)]);_0x590856[_0xd7312e(0x179)]=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x19f))[_0xd7312e(0x173)][_0xd7312e(0x120)](_0x588901),this[_0xd7312e(0x110)][_0xd7312e(0x141)](_0x4e49f5,_0xb0951d),this[_0xd7312e(0x19a)][_0xd7312e(0x141)](_0x590856,_0xb0951d);const _0x3f1def=()=>{const _0x3face7=_0xd7312e,_0x5bdded=[],_0x5b82e9=_0x4e49f5[_0x3face7(0x132)]()[_0x3face7(0x159)](_0x4156ec=>_0x4156ec[_0x3face7(0x1b2)]);for(const _0x350bf0 of _0x5b82e9)_0x5bdded[_0x3face7(0x154)](..._0x350bf0[_0x3face7(0x170)]());return _0x2d421f(_0x5bee0c[_0x3face7(0x18b)],_0x5bdded);};_0x5a4336=_0xcd452c[_0xd7312e(0x10c)]({'view':_0x1f9b19,'target':_0x3f1def,'type':()=>_0xd7312e(0x166)+_0xb0951d[_0xd7312e(0x181)][_0xd7312e(0x11f)],'isVisible':!!_0x3f1def()}),_0x2e0d58[_0xd7312e(0x187)](_0x590856,_0x5a4336),_0xcd452c[_0xd7312e(0x188)](_0x5a4336),_0x2cb476[_0xd7312e(0x11e)](_0x5a4336);}[_0xba6c71(0x17a)](_0x481d86){const _0x24f9ac=_0xba6c71,_0x17de28=this[_0x24f9ac(0x171)][_0x24f9ac(0x13e)][_0x24f9ac(0x16f)](_0x24f9ac(0x13f)),_0xfb4e7=this[_0x24f9ac(0x171)][_0x24f9ac(0x13e)][_0x24f9ac(0x16f)](_0x24f9ac(0x1bb)),_0x280aa7=this[_0x24f9ac(0x110)][_0x24f9ac(0x16f)](_0x481d86),_0x2a7952=_0x280aa7[_0x24f9ac(0x181)],_0x48204d=_0xfb4e7[_0x24f9ac(0x16a)](_0x2a7952);_0x17de28[_0x24f9ac(0x115)](_0x2a7952),_0x48204d&&_0xfb4e7[_0x24f9ac(0x119)](_0x48204d),this[_0x24f9ac(0x110)][_0x24f9ac(0x1a1)](_0x481d86),this[_0x24f9ac(0x19a)][_0x24f9ac(0x1a1)](_0x2a7952),_0x280aa7[_0x24f9ac(0x146)]();}[_0xba6c71(0x198)](_0x313d8d){const _0x399f1=_0xba6c71;if(!_0x313d8d[_0x399f1(0x1b2)]||!this[_0x399f1(0x110)][_0x399f1(0x140)](_0x313d8d))return;const _0x2899dc=this[_0x399f1(0x171)][_0x399f1(0x13e)][_0x399f1(0x16f)](_0x399f1(0x19f)),_0x5e4b44=this[_0x399f1(0x110)][_0x399f1(0x16f)](_0x313d8d),_0x1b8491=_0x313d8d[_0x399f1(0x132)]();_0x5e4b44[_0x399f1(0x181)][_0x399f1(0x179)]=_0x2899dc[_0x399f1(0x173)][_0x399f1(0x120)](_0x1b8491);}[_0xba6c71(0x146)](){const _0x5dc431=_0xba6c71;for(const _0x5088f2 of this[_0x5dc431(0x110)][_0x5dc431(0x13d)]())this[_0x5dc431(0x17a)](_0x5088f2);for(const _0x54988d of this[_0x5dc431(0x178)][_0x5dc431(0x196)]())_0x54988d[_0x5dc431(0x1be)][_0x5dc431(0x146)]();super[_0x5dc431(0x146)](),this[_0x5dc431(0x143)]&&clearInterval(this[_0x5dc431(0x143)]);}}function ve(_0x19070b){const _0x3f0329=_0xba6c71;return _0x3f0329(0x18f)in _0x19070b;}
|
|
23
|
+
const _0x249c0f=_0x153a;(function(_0x58912a,_0x5da3c9){const _0x38807f=_0x153a,_0x3268e8=_0x58912a();while(!![]){try{const _0x332664=parseInt(_0x38807f(0x1d9))/0x1+-parseInt(_0x38807f(0x1e5))/0x2*(-parseInt(_0x38807f(0x16f))/0x3)+-parseInt(_0x38807f(0x18f))/0x4*(-parseInt(_0x38807f(0x163))/0x5)+-parseInt(_0x38807f(0x1a9))/0x6*(parseInt(_0x38807f(0x15f))/0x7)+parseInt(_0x38807f(0x1b0))/0x8*(parseInt(_0x38807f(0x14f))/0x9)+-parseInt(_0x38807f(0x175))/0xa+-parseInt(_0x38807f(0x1c4))/0xb*(parseInt(_0x38807f(0x1c8))/0xc);if(_0x332664===_0x5da3c9)break;else _0x3268e8['push'](_0x3268e8['shift']());}catch(_0x1e48e3){_0x3268e8['push'](_0x3268e8['shift']());}}}(_0x3e80,0x259b3));import{Plugin as _0x231005}from'ckeditor5/src/core.js';import{Collection as _0x528d48}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x376649}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x70b774,createDropdown as _0x5e68dd,ListSeparatorView as _0x4ea0fd,MenuBarMenuView as _0x44e66c,MenuBarMenuListView as _0x3ca3ad,MenuBarMenuListItemView as _0x2b13d1,MenuBarMenuListItemButtonView as _0x2af1d0,SplitButtonView as _0x1d4ee7,UIModel as _0x37a6f1}from'ckeditor5/src/ui.js';import{Users as _0x23f0e7,getDateTimeFormatter as _0x159ee8,getAllMarkersDomElementsSorted as _0x75170e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2185f5}from'./trackchangesediting.js';import{SuggestionController as _0x42e13e}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x14da72}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1ade7f}from'./ui/view/suggestionview.js';function _0x153a(_0x4e016e,_0x2f48ad){const _0x3e80f1=_0x3e80();return _0x153a=function(_0x153a15,_0x136f56){_0x153a15=_0x153a15-0x13f;let _0x2d5dc4=_0x3e80f1[_0x153a15];return _0x2d5dc4;},_0x153a(_0x4e016e,_0x2f48ad);}import{getTranslation as _0x16343e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x231005{[_0x249c0f(0x140)];[_0x249c0f(0x196)];[_0x249c0f(0x18b)];[_0x249c0f(0x1d7)];[_0x249c0f(0x1d1)];[_0x249c0f(0x1e9)];[_0x249c0f(0x162)];static get[_0x249c0f(0x1b5)](){const _0x3d74f9=_0x249c0f;return[_0x2185f5,_0x23f0e7,_0x3d74f9(0x16d),_0x3d74f9(0x1b3),_0x3d74f9(0x1f0)];}static get[_0x249c0f(0x1a0)](){const _0x5d44c3=_0x249c0f;return _0x5d44c3(0x13f);}static get[_0x249c0f(0x151)](){return!0x0;}static get[_0x249c0f(0x1b7)](){return!0x0;}constructor(_0x2fc573){const _0x24e6c0=_0x249c0f;super(_0x2fc573),this[_0x24e6c0(0x18b)]=new Map(),this[_0x24e6c0(0x1d7)]=new Map(),this[_0x24e6c0(0x1d1)]=new Map(),this[_0x24e6c0(0x1e9)]=new Map();const _0x39986c=this[_0x24e6c0(0x1d5)][_0x24e6c0(0x1e2)];_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x174),_0x14da72),_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x152),_0x1ade7f),_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x1d6),!0x1),this[_0x24e6c0(0x162)]=_0x39986c[_0x24e6c0(0x1dd)](_0x24e6c0(0x1d6));}[_0x249c0f(0x180)](_0x5b1577,_0x1b6d13){const _0x33340b=_0x249c0f;0x0===this[_0x33340b(0x1e9)][_0x33340b(0x189)]&&setTimeout(()=>{const _0x25b956=_0x33340b;for(const [_0x25ddba,_0x3deeb8]of this[_0x25b956(0x1e9)]){const _0x5e34c9=this[_0x25b956(0x18b)][_0x25b956(0x198)](_0x25ddba);_0x5e34c9||_0x3deeb8?_0x5e34c9&&_0x3deeb8&&this[_0x25b956(0x17b)](_0x25ddba):this[_0x25b956(0x1e8)](_0x25ddba);}this[_0x25b956(0x1e9)][_0x25b956(0x1e4)](),this[_0x25b956(0x1d5)][_0x25b956(0x17d)][_0x25b956(0x1dd)](_0x25b956(0x1f0))[_0x25b956(0x156)](),this[_0x25b956(0x17a)]();},0xa),this[_0x33340b(0x1e9)][_0x33340b(0x165)](_0x5b1577,_0x1b6d13);}[_0x249c0f(0x164)](){const _0x44bb52=_0x249c0f,_0x2d0f21=this[_0x44bb52(0x1d5)],_0x4199a4=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1e7)),_0x42a4f5=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1b3)),_0x24eee2=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1f0)),_0x92dc32=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x16d));this[_0x44bb52(0x1ba)](),_0x24eee2[_0x44bb52(0x1aa)](()=>{const _0x4dfa26=_0x44bb52,_0x52ba36=[];for(const [_0x1862cc,_0x49373a]of Array[_0x4dfa26(0x1ce)](this[_0x4dfa26(0x18b)])){const _0x4b99ea=_0x1862cc[_0x4dfa26(0x16a)](),_0xa55e1b=[];for(const _0x2a1129 of _0x4b99ea){if(!_0x2a1129[_0x4dfa26(0x168)])continue;if(_0x2a1129[_0x4dfa26(0x150)]){_0xa55e1b[_0x4dfa26(0x15d)](..._0x2a1129[_0x4dfa26(0x1bb)]());continue;}const _0x485150=_0x2a1129[_0x4dfa26(0x17f)]();if(_0xa55e1b[_0x4dfa26(0x1cd)]>0x0){const _0x102496=_0xa55e1b[0x0][_0x4dfa26(0x1cc)](_0x485150);if(_0x102496){_0xa55e1b[0x0]=_0x102496;continue;}}_0xa55e1b[_0x4dfa26(0x15d)](_0x485150);}_0x52ba36[_0x4dfa26(0x15d)]([_0x49373a[_0x4dfa26(0x170)],_0xa55e1b]);}return _0x52ba36;}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x19e),(_0x3bf21d,_0x5642ba)=>{const _0x5dd6d7=_0x44bb52;this[_0x5dd6d7(0x148)](_0x5642ba,_0x5dd6d7(0x1e3),(_0x5db2c0,_0x582c51,_0x28b73d,_0x317e36)=>{const _0x2fa6fc=_0x5dd6d7;_0x5642ba[_0x2fa6fc(0x168)]&&(null==_0x28b73d?(this[_0x2fa6fc(0x14d)](_0x317e36[_0x2fa6fc(0x1c2)]),this[_0x2fa6fc(0x180)](_0x5642ba,!0x1)):(this[_0x2fa6fc(0x14d)](_0x28b73d[_0x2fa6fc(0x1c2)]),null==_0x317e36&&this[_0x2fa6fc(0x180)](_0x5642ba,!0x0)));}),null!==_0x5642ba[_0x5dd6d7(0x1a8)]?this[_0x5dd6d7(0x14d)](_0x5642ba[_0x5dd6d7(0x1c2)]):this[_0x5dd6d7(0x180)](_0x5642ba,!0x1);}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x1cf),(_0xded311,_0x447a3b,_0x4a8ca3)=>{const _0x2f8338=_0x44bb52;this[_0x2f8338(0x176)](_0x447a3b,_0x2f8338(0x1e3)),this[_0x2f8338(0x1e9)][_0x2f8338(0x192)](_0x447a3b),this[_0x2f8338(0x18b)][_0x2f8338(0x198)](_0x447a3b)&&this[_0x2f8338(0x17b)](_0x447a3b),_0x4a8ca3&&this[_0x2f8338(0x14d)](_0x4a8ca3[_0x2f8338(0x1c2)]);}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x15a),(_0x2d6707,_0x268af1)=>{const _0x1367b1=_0x44bb52;this[_0x1367b1(0x14d)](_0x268af1);}),this[_0x44bb52(0x148)](_0x42a4f5,_0x44bb52(0x181),()=>{const _0x3d6d73=_0x44bb52;this[_0x3d6d73(0x17a)]();}),this[_0x44bb52(0x148)](_0x92dc32,_0x44bb52(0x167),(_0x1153c7,{threadId:_0x5470fb,isFromAdapter:_0x4fa6fe})=>{const _0xe46869=_0x44bb52;if(_0x4fa6fe||!_0x4199a4[_0xe46869(0x146)](_0x5470fb))return;const _0x416c8b=_0x4199a4[_0xe46869(0x145)](_0x5470fb);this[_0xe46869(0x18b)][_0xe46869(0x1dd)](_0x416c8b)[_0xe46869(0x170)][_0xe46869(0x1ed)][_0xe46869(0x142)](-0x1);},{'priority':_0x44bb52(0x1a4)}),this[_0x44bb52(0x140)]=this[_0x44bb52(0x1d5)][_0x44bb52(0x1e2)][_0x44bb52(0x1dd)](_0x44bb52(0x140));const _0x376d08=this[_0x44bb52(0x1d5)];this[_0x44bb52(0x196)]=setInterval(()=>{const _0x4deedb=_0x44bb52;let _0xca5a55;for(const _0x17b2cc in _0x376d08){const _0x1921cd=_0x17b2cc,_0x2c78e8=_0x376d08[_0x1921cd];if(_0x4deedb(0x194)==_0x2c78e8||_0x4deedb(0x1d8)==_0x2c78e8||_0x4deedb(0x1cb)==_0x2c78e8||_0x4deedb(0x1bf)==_0x2c78e8||_0x4deedb(0x1ee)==_0x2c78e8||_0x4deedb(0x173)==_0x2c78e8||_0x4deedb(0x1b6)==_0x2c78e8||_0x4deedb(0x199)==_0x2c78e8){delete _0x376d08[_0x1921cd],_0xca5a55=_0x2c78e8,clearInterval(this[_0x4deedb(0x196)]),this[_0x4deedb(0x196)]=void 0x0;break;}}_0x4deedb(0x1d8)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1be)),_0x4deedb(0x1cb)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1a2)),_0x4deedb(0x1bf)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1c7)),_0x4deedb(0x1ee)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x160),_0x4deedb(0x18e)),_0x4deedb(0x173)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x147)),_0x4deedb(0x1b6)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x191)),_0x4deedb(0x199)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x184));},0x3e8);}[_0x249c0f(0x1ae)](_0x4f4464){const _0x57bca5=_0x249c0f,_0x27ab8b=this[_0x57bca5(0x18b)][_0x57bca5(0x1dd)](_0x4f4464);if(!_0x27ab8b)return null;return this[_0x57bca5(0x1d5)][_0x57bca5(0x17d)][_0x57bca5(0x1dd)](_0x57bca5(0x1b3))[_0x57bca5(0x1de)](_0x27ab8b[_0x57bca5(0x170)])||null;}[_0x249c0f(0x141)](_0x439351){const _0x23ce4e=_0x249c0f,_0x3b606b=this[_0x23ce4e(0x1d7)][_0x23ce4e(0x1dd)](_0x439351[_0x23ce4e(0x19d)]);return _0x3b606b?_0x3b606b[_0x23ce4e(0x1ec)]:null;}[_0x249c0f(0x17a)](){const _0x263811=_0x249c0f,_0x49d215=this[_0x263811(0x1d5)][_0x263811(0x17d)][_0x263811(0x1dd)](_0x263811(0x1b3)),_0x1a848f=this[_0x263811(0x1d5)][_0x263811(0x17d)][_0x263811(0x1dd)](_0x263811(0x1e7)),_0x188708=Array[_0x263811(0x1ce)](_0x49d215[_0x263811(0x177)],_0x49ee21=>_0x49ee21[_0x263811(0x19d)])[_0x263811(0x16c)](_0x2f9e04=>this[_0x263811(0x1d7)][_0x263811(0x198)](_0x2f9e04)),_0x505a5a=[];for(const _0x3ab4e4 of _0x188708){const _0x47980f=this[_0x263811(0x1d7)][_0x263811(0x1dd)](_0x3ab4e4)[_0x263811(0x1ec)][_0x263811(0x16a)]();_0x505a5a[_0x263811(0x15d)](..._0x47980f[_0x263811(0x1ad)]((_0x1fcbb8,_0x2aa8b9)=>[..._0x1fcbb8,..._0x2aa8b9[_0x263811(0x1c3)]()],[]));}_0x1a848f[_0x263811(0x15e)]=_0x505a5a;}[_0x249c0f(0x1ba)](){const _0x270f8e=_0x249c0f,_0x19d48b=this[_0x270f8e(0x1d5)],_0x508e94=_0x19d48b[_0x270f8e(0x1ef)],_0x29e515=_0x16343e(_0x508e94,_0x270f8e(0x1c5)),_0x5822c9=new _0x528d48([{'type':_0x270f8e(0x1d0),'model':new _0x37a6f1({'withText':!0x0,'isToggleable':!0x0,'label':_0x29e515,'commandName':_0x270f8e(0x1c1),'role':_0x270f8e(0x1c0)})},{'type':_0x270f8e(0x187)},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x18d)),'commandName':_0x270f8e(0x19b),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x1e1)),'commandName':_0x270f8e(0x178),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x1b4)),'commandName':_0x270f8e(0x1d3),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x16b)),'commandName':_0x270f8e(0x155),'role':_0x270f8e(0x1df)})}]);_0x19d48b[_0x270f8e(0x17d)][_0x270f8e(0x198)](_0x270f8e(0x1ea))&&_0x5822c9[_0x270f8e(0x158)]([{'type':_0x270f8e(0x187)},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x14c)),'commandName':_0x270f8e(0x1b9),'role':_0x270f8e(0x1df)})}]);for(const _0x5a738e of _0x5822c9)if(xe(_0x5a738e)){const _0x22807a=_0x19d48b[_0x270f8e(0x1d2)][_0x270f8e(0x1dd)](_0x5a738e[_0x270f8e(0x1ec)][_0x270f8e(0x1c9)]);_0x5a738e[_0x270f8e(0x1ec)][_0x270f8e(0x17c)](_0x270f8e(0x1b2),_0x270f8e(0x172))['to'](_0x22807a,_0x270f8e(0x157),_0x270f8e(0x172));}_0x19d48b['ui'][_0x270f8e(0x15b)][_0x270f8e(0x1db)](_0x270f8e(0x1c1),_0x26180f=>this[_0x270f8e(0x183)](_0x26180f,_0x5822c9,_0x29e515)),_0x19d48b['ui'][_0x270f8e(0x15b)][_0x270f8e(0x1db)](_0x270f8e(0x1e6),_0x42e8ec=>this[_0x270f8e(0x1a5)](_0x42e8ec,_0x5822c9,_0x29e515));}[_0x249c0f(0x183)](_0x5cdbcc,_0x259761,_0x1aae1a){const _0x5c1a60=_0x249c0f,_0x4d1ec2=_0x5e68dd(_0x5cdbcc,_0x1d4ee7),_0x51eaee=this[_0x5c1a60(0x1d5)][_0x5c1a60(0x1d2)][_0x5c1a60(0x1dd)](_0x5c1a60(0x1c1));_0x4d1ec2[_0x5c1a60(0x1bd)][_0x5c1a60(0x165)]({'tooltip':_0x1aae1a,'label':_0x1aae1a,'icon':_0x376649}),_0x4d1ec2[_0x5c1a60(0x1bd)][_0x5c1a60(0x17c)](_0x5c1a60(0x1b2))['to'](_0x51eaee,_0x5c1a60(0x157)),_0x4d1ec2[_0x5c1a60(0x1bd)]['on'](_0x5c1a60(0x153),()=>{const _0x449c5a=_0x5c1a60;_0x51eaee[_0x449c5a(0x153)](),this[_0x449c5a(0x1d5)][_0x449c5a(0x182)][_0x449c5a(0x170)][_0x449c5a(0x142)]();}),_0x70b774(_0x4d1ec2,_0x259761,{'role':_0x5c1a60(0x1ac)});const _0x465081=[];for(const _0x4f88cf of _0x259761)xe(_0x4f88cf)&&_0x465081[_0x5c1a60(0x15d)](this[_0x5c1a60(0x1d5)][_0x5c1a60(0x1d2)][_0x5c1a60(0x1dd)](_0x4f88cf[_0x5c1a60(0x1ec)][_0x5c1a60(0x1c9)]));const _0x55320e=_0x4d1ec2[_0x5c1a60(0x1bd)];return _0x55320e[_0x5c1a60(0x16e)][_0x5c1a60(0x1e0)](_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x18a)][_0x5c1a60(0x1e0)](_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x16e)][_0x5c1a60(0x17c)](_0x5c1a60(0x172))['to'](_0x51eaee,_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x18a)][_0x5c1a60(0x17c)](_0x5c1a60(0x172))[_0x5c1a60(0x19c)](_0x465081,_0x5c1a60(0x172),(..._0x46f8f7)=>_0x46f8f7[_0x5c1a60(0x154)](_0x3aa964=>_0x3aa964)),_0x4d1ec2['on'](_0x5c1a60(0x153),_0x1d7f98=>{const _0x34a971=_0x5c1a60;this[_0x34a971(0x1d5)][_0x34a971(0x153)](_0x1d7f98[_0x34a971(0x19a)][_0x34a971(0x1c9)]),this[_0x34a971(0x1d5)][_0x34a971(0x182)][_0x34a971(0x170)][_0x34a971(0x142)]();}),_0x4d1ec2;}[_0x249c0f(0x1a5)](_0x482666,_0x4fefe0,_0x313a6f){const _0x3adf35=_0x249c0f,_0x1d6da0=new _0x44e66c(_0x482666),_0x513abc=this[_0x3adf35(0x1d5)][_0x3adf35(0x1d2)][_0x3adf35(0x1dd)](_0x3adf35(0x1c1));_0x1d6da0[_0x3adf35(0x1bd)][_0x3adf35(0x165)]({'label':_0x313a6f,'icon':_0x376649});const _0x32f7fb=new _0x3ca3ad(_0x482666);for(const _0x263441 of _0x4fefe0){if(_0x3adf35(0x187)==_0x263441[_0x3adf35(0x1c6)]){_0x32f7fb[_0x3adf35(0x197)][_0x3adf35(0x1db)](new _0x4ea0fd(_0x482666));continue;}const _0xbbb08c=new _0x2b13d1(_0x482666,_0x1d6da0),_0x368ead=new _0x2af1d0(_0x482666),_0x4b4714=_0x263441[_0x3adf35(0x1ec)];_0x368ead[_0x3adf35(0x17c)](...Object[_0x3adf35(0x18c)](_0x4b4714))['to'](_0x4b4714),_0x368ead[_0x3adf35(0x169)](_0x3adf35(0x153))['to'](_0x1d6da0),_0x368ead['on'](_0x3adf35(0x153),()=>{const _0x2f3741=_0x3adf35;this[_0x2f3741(0x1d5)][_0x2f3741(0x153)](_0x4b4714[_0x2f3741(0x1c9)]),this[_0x2f3741(0x1d5)][_0x2f3741(0x182)][_0x2f3741(0x170)][_0x2f3741(0x142)]();}),_0xbbb08c[_0x3adf35(0x143)][_0x3adf35(0x1db)](_0x368ead),_0x32f7fb[_0x3adf35(0x197)][_0x3adf35(0x1db)](_0xbbb08c);}return _0x1d6da0[_0x3adf35(0x17c)](_0x3adf35(0x172))['to'](_0x513abc,_0x3adf35(0x172)),_0x1d6da0[_0x3adf35(0x1b8)][_0x3adf35(0x143)][_0x3adf35(0x1db)](_0x32f7fb),_0x1d6da0;}[_0x249c0f(0x1e8)](_0x471e4a){const _0x1ee21b=_0x249c0f,_0x33afa4=this[_0x1ee21b(0x1d5)],_0x408f78=_0x33afa4[_0x1ee21b(0x1e2)],_0x218186=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1b3)),_0x2dc748=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x16d)),_0x14a3f0=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1f0)),_0x39f049=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x23f0e7)['me'],_0x1fa71e=_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1c1))[_0x1ee21b(0x144)],_0x3f92b7=_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1c1))[_0x1ee21b(0x161)],{CommentsListView:_0x1c2fb1,CommentThreadInputView:_0x51669c}=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1a1));let _0x5caa3e,_0x1fa24f,_0x3861b9;this[_0x1ee21b(0x1d1)][_0x1ee21b(0x198)](_0x471e4a['id'])?(_0x1fa24f=this[_0x1ee21b(0x1d1)][_0x1ee21b(0x1dd)](_0x471e4a['id']),_0x5caa3e=_0x1fa24f[_0x1ee21b(0x1ab)]):(_0x5caa3e=new _0x1fa71e(_0x33afa4[_0x1ee21b(0x1ef)],_0x471e4a,_0x39f049,{'disableComments':this[_0x1ee21b(0x162)],'editorConfig':{..._0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1f1)),'licenseKey':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x140))},'maxCommentsWhenCollapsed':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1af)),'maxThreadTotalWeight':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1da)),'maxCommentCharsWhenCollapsed':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x149)),'formatDateTime':_0x159ee8(_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1ef)),_0x33afa4[_0x1ee21b(0x1ef)]),'CommentView':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x171))[_0x1ee21b(0x17e)],'CommentsListView':_0x1c2fb1,'CommentThreadInputView':_0x51669c,'SuggestionView':_0x3f92b7}),_0x5caa3e[_0x1ee21b(0x14e)][_0x1ee21b(0x1f2)]['on'](_0x1ee21b(0x153),()=>{const _0x433404=_0x1ee21b;_0x33afa4[_0x433404(0x182)][_0x433404(0x170)][_0x433404(0x142)]();}),_0x5caa3e[_0x1ee21b(0x14e)][_0x1ee21b(0x166)]['on'](_0x1ee21b(0x153),()=>{const _0x403052=_0x1ee21b;_0x33afa4[_0x403052(0x182)][_0x403052(0x170)][_0x403052(0x142)]();}),_0x1fa24f=_0x218186[_0x1ee21b(0x188)](this[_0x1ee21b(0x1d5)][_0x1ee21b(0x1ef)],_0x5caa3e),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x190))['to'](_0x5caa3e,_0x1ee21b(0x190)),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x1cd))['to'](_0x5caa3e),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x1c6))['to'](_0x5caa3e,_0x1ee21b(0x1c6),_0x5ab20b=>_0x1ee21b(0x14a)+_0x5ab20b),_0x5caa3e['on'](_0x1ee21b(0x1bc),()=>{const _0x4ec252=_0x1ee21b;_0x3861b9[_0x4ec252(0x1eb)](_0x4ec252(0x1bc));}),this[_0x1ee21b(0x1d1)][_0x1ee21b(0x165)](_0x471e4a['id'],_0x1fa24f));const _0x2e4ccc=_0x2dc748[_0x1ee21b(0x1ca)](_0x471e4a[_0x1ee21b(0x1a6)],_0x5caa3e),_0x4d5648=new _0x42e13e(_0x33afa4,_0x471e4a,_0x5caa3e,_0x2e4ccc),_0x1283e=_0x471e4a[_0x1ee21b(0x16a)]()[_0x1ee21b(0x16c)](_0x1efee6=>_0x1efee6[_0x1ee21b(0x168)]);_0x5caa3e[_0x1ee21b(0x185)]=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1e7))[_0x1ee21b(0x1d4)][_0x1ee21b(0x14b)](_0x1283e),this[_0x1ee21b(0x18b)][_0x1ee21b(0x165)](_0x471e4a,_0x4d5648),this[_0x1ee21b(0x1d7)][_0x1ee21b(0x165)](_0x5caa3e,_0x4d5648);const _0x3da4f2=()=>{const _0x10fa1f=_0x1ee21b,_0x7012d5=[],_0x59fccc=_0x471e4a[_0x10fa1f(0x16a)]()[_0x10fa1f(0x16c)](_0x2f56c8=>_0x2f56c8[_0x10fa1f(0x168)]);for(const _0xc9fc3 of _0x59fccc)_0x7012d5[_0x10fa1f(0x15d)](..._0xc9fc3[_0x10fa1f(0x193)]());return _0x75170e(_0x33afa4[_0x10fa1f(0x182)],_0x7012d5);};_0x3861b9=_0x218186[_0x1ee21b(0x1a3)]({'view':_0x1fa24f,'target':_0x3da4f2,'type':()=>_0x1ee21b(0x14a)+_0x4d5648[_0x1ee21b(0x170)][_0x1ee21b(0x1c6)],'isVisible':!!_0x3da4f2()}),_0x2dc748[_0x1ee21b(0x186)](_0x5caa3e,_0x3861b9),_0x218186[_0x1ee21b(0x1db)](_0x3861b9),_0x14a3f0[_0x1ee21b(0x19f)](_0x3861b9);}[_0x249c0f(0x17b)](_0x41d6da){const _0x22f560=_0x249c0f,_0xead9e2=this[_0x22f560(0x1d5)][_0x22f560(0x17d)][_0x22f560(0x1dd)](_0x22f560(0x16d)),_0x1b1b8a=this[_0x22f560(0x1d5)][_0x22f560(0x17d)][_0x22f560(0x1dd)](_0x22f560(0x1b3)),_0x3f06fd=this[_0x22f560(0x18b)][_0x22f560(0x1dd)](_0x41d6da),_0x4c4cc1=_0x3f06fd[_0x22f560(0x170)],_0x11466b=_0x1b1b8a[_0x22f560(0x1de)](_0x4c4cc1);_0xead9e2[_0x22f560(0x179)](_0x4c4cc1),_0x11466b&&_0x1b1b8a[_0x22f560(0x1b1)](_0x11466b),this[_0x22f560(0x18b)][_0x22f560(0x192)](_0x41d6da),this[_0x22f560(0x1d7)][_0x22f560(0x192)](_0x4c4cc1),_0x3f06fd[_0x22f560(0x159)]();}[_0x249c0f(0x14d)](_0x2c9139){const _0x44668f=_0x249c0f;if(!_0x2c9139[_0x44668f(0x168)]||!this[_0x44668f(0x18b)][_0x44668f(0x198)](_0x2c9139))return;const _0x365b25=this[_0x44668f(0x1d5)][_0x44668f(0x17d)][_0x44668f(0x1dd)](_0x44668f(0x1e7)),_0x5d634b=this[_0x44668f(0x18b)][_0x44668f(0x1dd)](_0x2c9139),_0x434068=_0x2c9139[_0x44668f(0x16a)]();_0x5d634b[_0x44668f(0x170)][_0x44668f(0x185)]=_0x365b25[_0x44668f(0x1d4)][_0x44668f(0x14b)](_0x434068);}[_0x249c0f(0x159)](){const _0x5bb72e=_0x249c0f;for(const _0x41b934 of this[_0x5bb72e(0x18b)][_0x5bb72e(0x18c)]())this[_0x5bb72e(0x17b)](_0x41b934);for(const _0x56b322 of this[_0x5bb72e(0x1d1)][_0x5bb72e(0x195)]())_0x56b322[_0x5bb72e(0x1ab)][_0x5bb72e(0x159)]();super[_0x5bb72e(0x159)](),this[_0x5bb72e(0x196)]&&clearInterval(this[_0x5bb72e(0x196)]);}}function xe(_0x35a736){const _0xe077a8=_0x249c0f;return _0xe077a8(0x1ec)in _0x35a736;}function _0x3e80(){const _0x5053a4=['trackChangesLicenseKeyValid','values','_licenseKeyCheckInterval','items','has','trackChangesLicenseKeyUsageLimit','source','acceptAllSuggestions','toMany','innerView','suggestionLoaded','registerAnnotation','pluginName','CommentsUI','expired','createAnnotation','lowest','_createMenuBarMenu','commentThread','button','previous','138KNrHnv','addSourceCollector','mainView','menu','reduce','getAnnotationForSuggestion','comments.maxCommentsWhenCollapsed','64DtKZPC','remove','isOn','Annotations','Discard\x20all\x20suggestions','requires','trackChangesLicenseKeyTrialLimit','isPremiumPlugin','panelView','previewFinalContent','_addUIComponentsToFactory','getRanges','escape','buttonView','invalid','trackChangesLicenseKeyDomainLimit','menuitemcheckbox','trackChanges','head','getMarkerNames','11VKKAva','Track\x20changes','type','domainLimit','687888pwmMlz','commandName','createCommentThreadController','trackChangesLicenseKeyExpired','getJoined','length','from','suggestionUnloaded','switchbutton','_annotationViews','commands','discardAllSuggestions','descriptionFactory','editor','trackChanges.disableComments','_viewToController','trackChangesLicenseKeyInvalid','21308DryAyn','comments.maxThreadTotalWeight','add','define','get','getByInnerView','menuitem','unbind','Accept\x20all\x20selected\x20suggestions','config','change:previous','clear','4gVCRjH','menuBar:trackChanges','TrackChangesEditing','_initializeController','_handleControllerBuffer','TrackChangesPreview','fire','model','commentsListView','trackChangesLicenseKeyNotAllowed','locale','EditorAnnotations','comments.editorConfig','acceptButton','TrackChangesUI','licenseKey','getSuggestionForAnnotation','focus','children','SuggestionThreadView','getSuggestion','hasSuggestion','evaluationLimit','listenTo','comments.maxCommentCharsWhenCollapsed','suggestion-','getDescriptions','Preview\x20final\x20content','_updateController','suggestionView','248841zrgzJo','isMultiRange','isOfficialPlugin','trackChanges.SuggestionView','execute','some','discardSelectedSuggestions','refreshSelectedViews','value','addMany','destroy','suggestionChanged','componentFactory','_showLicenseError','push','activeMarkers','64568OeNzSU','featureNotAllowed','SuggestionView','_disableComments','5tfGPmS','init','set','discardButton','addComment','isInContent','delegate','getAllAdjacentSuggestions','Discard\x20all\x20selected\x20suggestions','filter','CommentsRepository','actionView','303057ZpKbRN','view','comments','isEnabled','trackChangesLicenseKeyEvaluationLimit','trackChanges.SuggestionThreadView','439420ceLwwS','stopListening','activeAnnotations','acceptSelectedSuggestions','_unbindEditors','_refreshActiveMarkers','_destroyController','bind','plugins','CommentView','getFirstRange','_handleSuggestionControllerDelayed','change:activeAnnotations','editing','_createToolbarButton','usageLimit','descriptionParts','_bindAnnotationToEditors','separator','createAnnotationView','size','arrowView','_suggestionToController','keys','Accept\x20all\x20suggestions','TrackChanges','91660vXpprN','isDirty','trialLimit','delete','getMarkers'];_0x3e80=function(){return _0x5053a4;};return _0x3e80();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3fc381=_0x4969;(function(_0x251db0,_0x288ac5){const _0x40ef04=_0x4969,_0x383c6f=_0x251db0();while(!![]){try{const _0x44c31e=parseInt(_0x40ef04(0xcd))/0x1*(parseInt(_0x40ef04(0xb4))/0x2)+parseInt(_0x40ef04(0xd6))/0x3*(-parseInt(_0x40ef04(0xd1))/0x4)+-parseInt(_0x40ef04(0xc1))/0x5+-parseInt(_0x40ef04(0xcc))/0x6*(-parseInt(_0x40ef04(0xbb))/0x7)+-parseInt(_0x40ef04(0xba))/0x8+-parseInt(_0x40ef04(0xd8))/0x9+parseInt(_0x40ef04(0xc9))/0xa*(parseInt(_0x40ef04(0xdc))/0xb);if(_0x44c31e===_0x288ac5)break;else _0x383c6f['push'](_0x383c6f['shift']());}catch(_0x1221da){_0x383c6f['push'](_0x383c6f['shift']());}}}(_0x2d9d,0x5dafe));function _0x2d9d(){const _0x3abd21=['canAccept','4278159FhxJxl','_pendingAction','isEnabled','commentThreadController','462154tOykNF','commands','add','952dYvMNl','listenTo','_discardCommand','isDirty','_removePendingAction','execute','1083600mmKzhY','5288934TPnYjv','_editor','discardSuggestion','_setPendingAction','stopListening','unbind','1523175dlcsiC','remove','canDiscard','acceptSuggestion','PendingActions','change:isDirty','bind','locale','100MQOTRG','model','plugins','6mRbQRZ','829eNKFMo','PENDING_ACTION_SUGGESTION','getRanges','get','96vjkjTp','canEditAt','destroy','_acceptCommand','view','33891MDOZgP'];_0x2d9d=function(){return _0x3abd21;};return _0x2d9d();}import{ObservableMixin as _0x20eac9}from'ckeditor5/src/utils.js';function _0x4969(_0x56326d,_0x3275e3){const _0x2d9d54=_0x2d9d();return _0x4969=function(_0x4969d6,_0x4c0e90){_0x4969d6=_0x4969d6-0xb2;let _0x3fe203=_0x2d9d54[_0x4969d6];return _0x3fe203;},_0x4969(_0x56326d,_0x3275e3);}import{getTranslation as _0x34c347}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20eac9(){[_0x3fc381(0xca)];[_0x3fc381(0xd5)];[_0x3fc381(0xdb)];[_0x3fc381(0xbc)];[_0x3fc381(0xd4)];[_0x3fc381(0xb6)];[_0x3fc381(0xd9)];constructor(_0x274cf1,_0x2426ca,_0x4c3c4f,_0x7042fd){const _0x3b22b7=_0x3fc381;super(),this[_0x3b22b7(0xca)]=_0x2426ca,this[_0x3b22b7(0xd5)]=_0x4c3c4f,this[_0x3b22b7(0xdb)]=_0x7042fd,this[_0x3b22b7(0xbc)]=_0x274cf1,this[_0x3b22b7(0xd4)]=_0x274cf1[_0x3b22b7(0xb2)][_0x3b22b7(0xd0)](_0x3b22b7(0xc4)),this[_0x3b22b7(0xb6)]=_0x274cf1[_0x3b22b7(0xb2)][_0x3b22b7(0xd0)](_0x3b22b7(0xbd)),this[_0x3b22b7(0xd5)][_0x3b22b7(0xc7)](_0x3b22b7(0xda))['to'](this[_0x3b22b7(0xd4)],this[_0x3b22b7(0xb6)],(_0x3b9737,_0x599678)=>_0x3b9737||_0x599678),this[_0x3b22b7(0xd5)][_0x3b22b7(0xc7)](_0x3b22b7(0xd7))['to'](this[_0x3b22b7(0xd4)],_0x3b22b7(0xda),_0x544b39=>_0x544b39&&this[_0x3b22b7(0xbc)][_0x3b22b7(0xca)][_0x3b22b7(0xd2)](_0x2426ca[_0x3b22b7(0xcf)]())),this[_0x3b22b7(0xd5)][_0x3b22b7(0xc7)](_0x3b22b7(0xc3))['to'](this[_0x3b22b7(0xb6)],_0x3b22b7(0xda),_0x357cf1=>_0x357cf1&&this[_0x3b22b7(0xbc)][_0x3b22b7(0xca)][_0x3b22b7(0xd2)](_0x2426ca[_0x3b22b7(0xcf)]())),this[_0x3b22b7(0xd9)]=null,_0x4c3c4f[_0x3b22b7(0xb7)]&&this[_0x3b22b7(0xbe)](),this[_0x3b22b7(0xb5)](_0x4c3c4f,_0x3b22b7(0xc4),()=>this[_0x3b22b7(0xc4)]()),this[_0x3b22b7(0xb5)](_0x4c3c4f,_0x3b22b7(0xbd),()=>this[_0x3b22b7(0xbd)]()),this[_0x3b22b7(0xb5)](_0x4c3c4f,_0x3b22b7(0xc6),()=>{const _0x159f40=_0x3b22b7;_0x4c3c4f[_0x159f40(0xb7)]?this[_0x159f40(0xbe)]():this[_0x159f40(0xb8)]();});}[_0x3fc381(0xc4)](){const _0x2adb23=_0x3fc381;this[_0x2adb23(0xd4)][_0x2adb23(0xb9)](this[_0x2adb23(0xca)]['id']);}[_0x3fc381(0xbd)](){const _0x5a13cb=_0x3fc381;this[_0x5a13cb(0xb6)][_0x5a13cb(0xb9)](this[_0x5a13cb(0xca)]['id']);}[_0x3fc381(0xd3)](){const _0x155940=_0x3fc381;this[_0x155940(0xd5)][_0x155940(0xc0)](_0x155940(0xda)),this[_0x155940(0xd5)][_0x155940(0xc0)](_0x155940(0xd7)),this[_0x155940(0xd5)][_0x155940(0xc0)](_0x155940(0xc3)),this[_0x155940(0xbf)](),this[_0x155940(0xdb)][_0x155940(0xd3)](),this[_0x155940(0xd9)]&&this[_0x155940(0xb8)]();}[_0x3fc381(0xbe)](){const _0x3045ec=_0x3fc381,_0x30c259=_0x34c347(this[_0x3045ec(0xbc)][_0x3045ec(0xc8)],_0x3045ec(0xce));this[_0x3045ec(0xd9)]=this[_0x3045ec(0xbc)][_0x3045ec(0xcb)][_0x3045ec(0xd0)](_0x3045ec(0xc5))[_0x3045ec(0xb3)](_0x30c259);}[_0x3fc381(0xb8)](){const _0x31dbcd=_0x3fc381;null!==this[_0x31dbcd(0xd9)]&&this[_0x31dbcd(0xbc)][_0x31dbcd(0xcb)][_0x31dbcd(0xd0)](_0x31dbcd(0xc5))[_0x31dbcd(0xc2)](this[_0x31dbcd(0xd9)]),this[_0x31dbcd(0xd9)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d2435=_0x24aa;(function(_0x97f5e4,_0x36e3e8){const _0x2ef5b2=_0x24aa,_0x15db51=_0x97f5e4();while(!![]){try{const _0xd4bfcd=parseInt(_0x2ef5b2(0x174))/0x1+-parseInt(_0x2ef5b2(0x1a2))/0x2*(parseInt(_0x2ef5b2(0x17f))/0x3)+parseInt(_0x2ef5b2(0x1b8))/0x4*(parseInt(_0x2ef5b2(0x1ae))/0x5)+-parseInt(_0x2ef5b2(0x193))/0x6+parseInt(_0x2ef5b2(0x1b1))/0x7*(-parseInt(_0x2ef5b2(0x17a))/0x8)+parseInt(_0x2ef5b2(0x1b2))/0x9+parseInt(_0x2ef5b2(0x17e))/0xa;if(_0xd4bfcd===_0x36e3e8)break;else _0x15db51['push'](_0x15db51['shift']());}catch(_0x15c4e9){_0x15db51['push'](_0x15db51['shift']());}}}(_0x1c3b,0x7800c));function _0x1c3b(){const _0x229db0=['SUGGESTION_THREAD_DESCRIPTION','content','locale','718428NAzQQG','_model','fire','body','CommentView','120746YlscrK','tab','formatDateTime','parseFromString','delegate','cancel','8hhlQSO','commentInputView','keystrokes','commentThreadInputView','15748280vqYKUH','114JuTBJW','textContent','focusTracker','value','length','authoredAt','isDirty','SUGGESTION_THREAD_ARIA_LABEL','bind','canAccept','_createCommentViews','ariaLabel','_localUser','_config','descriptionParts','author','focusCycler','submit','setData','join','3440130LoXHnE','disableComments','focusables','isReadOnly','shift+tab','commentsListView','disabledSubmit','element','editorConfig','hasDirtyComment','isEnabled','updateComment','commentThread','removeComment','ariaDescriptionView','26592Atznfi','isActive','_createCommentThreadInputView','focus','render','destroy','text/html','name','addComment','assign','canDiscard','editor','15VkjjgH','showInput','map','4973143HrVXdN','415701ENAXxP','set','target'];_0x1c3b=function(){return _0x229db0;};return _0x1c3b();}import{FocusCycler as _0x126f16,View as _0x581d2d,ViewCollection as _0x41e7a4}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5f3664,KeystrokeHandler as _0xea3734}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x8e8cdc,setupThreadKeyboardNavigation as _0x2c07bd}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x49e85f}from'../../utils/common-translations.js';import{renderDescription as _0x2b6cfa}from'../../utils/utils.js';function _0x24aa(_0x50cb1d,_0x139a41){const _0x1c3b3e=_0x1c3b();return _0x24aa=function(_0x24aa32,_0x4c4b6e){_0x24aa32=_0x24aa32-0x174;let _0x52df76=_0x1c3b3e[_0x24aa32];return _0x52df76;},_0x24aa(_0x50cb1d,_0x139a41);}export class BaseSuggestionThreadView extends _0x581d2d{[_0x3d2435(0x198)];[_0x3d2435(0x17d)];[_0x3d2435(0x1a1)];[_0x3d2435(0x195)];[_0x3d2435(0x181)];[_0x3d2435(0x17c)];[_0x3d2435(0x18f)];[_0x3d2435(0x1b9)];[_0x3d2435(0x18b)];[_0x3d2435(0x18c)];constructor(_0xd3d9e4,_0x417c91,_0x478d1e,_0x58e286){const _0x3d7e18=_0x3d2435;super(_0xd3d9e4),this[_0x3d7e18(0x198)]=null,this[_0x3d7e18(0x17d)]=null,this[_0x3d7e18(0x1a1)]=new _0x8e8cdc(_0xd3d9e4,_0x49e85f(_0xd3d9e4,_0x3d7e18(0x1b5))),this[_0x3d7e18(0x1b3)](_0x3d7e18(0x1a3),!0x1),this[_0x3d7e18(0x1b3)](_0x3d7e18(0x184),_0x417c91[_0x3d7e18(0x184)]),this[_0x3d7e18(0x187)](_0x3d7e18(0x184))['to'](_0x417c91),this[_0x3d7e18(0x1b3)](_0x3d7e18(0x18d),[]),this[_0x3d7e18(0x1b3)](_0x3d7e18(0x185),!0x1),this[_0x3d7e18(0x1b3)](_0x3d7e18(0x19d),!0x1),this[_0x3d7e18(0x1b3)](_0x3d7e18(0x188),!0x1),this[_0x3d7e18(0x1b3)](_0x3d7e18(0x1ac),!0x1),this[_0x3d7e18(0x187)](_0x3d7e18(0x18a))['to'](this,_0x3d7e18(0x183),_0x417c91,_0x3d7e18(0x184),this,_0x3d7e18(0x18d),(_0x23dcd1,_0xb4c4d6,_0x3409d6)=>{const _0x4a7e11=_0x3d7e18,_0x20500d=_0x3409d6[_0x4a7e11(0x1b0)](_0x37c99c=>_0x2b6cfa(_0x37c99c[_0x4a7e11(0x1b6)]))[_0x4a7e11(0x192)]('.\x20')+'.';return _0x49e85f(this[_0x4a7e11(0x1b7)],_0x4a7e11(0x186),[_0x23dcd1-0x1,_0x417c91[_0x4a7e11(0x18e)][_0x4a7e11(0x1a9)],_0xb4c4d6?_0x58e286[_0x4a7e11(0x176)](_0xb4c4d6):'',new DOMParser()[_0x4a7e11(0x177)](_0x20500d,_0x4a7e11(0x1a8))[_0x4a7e11(0x1bb)][_0x4a7e11(0x180)]]);}),this[_0x3d7e18(0x195)]=new _0x41e7a4(),this[_0x3d7e18(0x181)]=new _0x5f3664(),this[_0x3d7e18(0x17c)]=new _0xea3734(),this[_0x3d7e18(0x18f)]=new _0x126f16({'focusables':this[_0x3d7e18(0x195)],'focusTracker':this[_0x3d7e18(0x181)],'keystrokeHandler':this[_0x3d7e18(0x17c)],'keystrokeHandlerOptions':{'filter':_0x47d595=>_0x47d595[_0x3d7e18(0x1b4)]!==this[_0x3d7e18(0x19a)]},'actions':{'focusPrevious':_0x3d7e18(0x197),'focusNext':_0x3d7e18(0x175)}}),this[_0x3d7e18(0x1b9)]=_0x417c91,this[_0x3d7e18(0x18b)]=_0x478d1e,this[_0x3d7e18(0x18c)]=_0x58e286,_0x58e286[_0x3d7e18(0x194)]?this[_0x3d7e18(0x1b3)](_0x3d7e18(0x183),0x1):this[_0x3d7e18(0x189)]();}[_0x3d2435(0x1a6)](){const _0x2bd9ea=_0x3d2435;super[_0x2bd9ea(0x1a6)](),_0x2c07bd(this,this[_0x2bd9ea(0x195)]);}[_0x3d2435(0x1a5)](){const _0x201735=_0x3d2435;this[_0x201735(0x19a)][_0x201735(0x1a5)]();}[_0x3d2435(0x1a7)](){const _0x3d48fc=_0x3d2435;this[_0x3d48fc(0x198)]&&this[_0x3d48fc(0x198)][_0x3d48fc(0x1a7)](),this[_0x3d48fc(0x17d)]&&this[_0x3d48fc(0x17d)][_0x3d48fc(0x1a7)](),super[_0x3d48fc(0x1a7)]();}[_0x3d2435(0x189)](){const _0x4d08af=_0x3d2435,{CommentsListView:_0x45201e}=this[_0x4d08af(0x18c)];this[_0x4d08af(0x198)]=new _0x45201e(this[_0x4d08af(0x1b7)],this[_0x4d08af(0x1b9)][_0x4d08af(0x19f)],Object[_0x4d08af(0x1ab)]({'CommentView':this[_0x4d08af(0x18c)][_0x4d08af(0x1bc)]},this[_0x4d08af(0x18c)])),this[_0x4d08af(0x198)][_0x4d08af(0x178)](_0x4d08af(0x1a0))['to'](this),this[_0x4d08af(0x198)][_0x4d08af(0x178)](_0x4d08af(0x19e))['to'](this),this[_0x4d08af(0x198)][_0x4d08af(0x187)](_0x4d08af(0x1a3))['to'](this),this[_0x4d08af(0x1b3)](_0x4d08af(0x183),this[_0x4d08af(0x198)][_0x4d08af(0x183)]+0x1),this[_0x4d08af(0x187)](_0x4d08af(0x183))['to'](this[_0x4d08af(0x198)],_0x4d08af(0x183),_0x13fcfa=>_0x13fcfa+0x1),this[_0x4d08af(0x17d)]=this[_0x4d08af(0x1a4)](),this['on'](_0x4d08af(0x1a0),()=>this[_0x4d08af(0x1a5)]()),this[_0x4d08af(0x187)](_0x4d08af(0x185))['to'](this[_0x4d08af(0x198)],_0x4d08af(0x19c),this[_0x4d08af(0x17d)][_0x4d08af(0x17b)],_0x4d08af(0x182),(_0x5e93a7,_0x44c2e8)=>_0x5e93a7||!!_0x44c2e8);}[_0x3d2435(0x1a4)](){const _0x437c7a=_0x3d2435,{CommentThreadInputView:_0x1f39ca}=this[_0x437c7a(0x18c)],_0x28bfde=new _0x1f39ca(this[_0x437c7a(0x1b7)],this[_0x437c7a(0x18b)],this[_0x437c7a(0x18c)][_0x437c7a(0x19b)]),_0x35ad9d=_0x28bfde[_0x437c7a(0x17b)];return _0x28bfde[_0x437c7a(0x187)](_0x437c7a(0x1af))['to'](this,_0x437c7a(0x1a3),this[_0x437c7a(0x1b9)][_0x437c7a(0x19f)],_0x437c7a(0x196),_0x35ad9d,_0x437c7a(0x182),(_0x152dec,_0x29886d,_0x503ddf)=>!!_0x503ddf||_0x152dec&&!_0x29886d),_0x35ad9d['on'](_0x437c7a(0x190),(_0x247941,_0x584ac5)=>{const _0x15b340=_0x437c7a;this[_0x15b340(0x1ba)](_0x15b340(0x1aa),_0x584ac5),_0x35ad9d[_0x15b340(0x1ad)][_0x15b340(0x191)]('');}),_0x35ad9d['on'](_0x437c7a(0x179),()=>this[_0x437c7a(0x1a5)]()),_0x35ad9d[_0x437c7a(0x187)](_0x437c7a(0x199))['to'](this[_0x437c7a(0x1b9)][_0x437c7a(0x19f)],_0x437c7a(0x196)),_0x28bfde;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x320546=_0x1ef4;(function(_0x47a97a,_0x1cc5a9){const _0x5c2959=_0x1ef4,_0x8a55d3=_0x47a97a();while(!![]){try{const _0x18e8b3=-parseInt(_0x5c2959(0x145))/0x1*(-parseInt(_0x5c2959(0x16e))/0x2)+-parseInt(_0x5c2959(0x172))/0x3*(parseInt(_0x5c2959(0x16d))/0x4)+parseInt(_0x5c2959(0x149))/0x5*(parseInt(_0x5c2959(0x150))/0x6)+parseInt(_0x5c2959(0x167))/0x7*(-parseInt(_0x5c2959(0x168))/0x8)+-parseInt(_0x5c2959(0x146))/0x9+-parseInt(_0x5c2959(0x16f))/0xa*(parseInt(_0x5c2959(0x170))/0xb)+parseInt(_0x5c2959(0x169))/0xc*(parseInt(_0x5c2959(0x165))/0xd);if(_0x18e8b3===_0x1cc5a9)break;else _0x8a55d3['push'](_0x8a55d3['shift']());}catch(_0x420f0a){_0x8a55d3['push'](_0x8a55d3['shift']());}}}(_0x2237,0x9d97a));import{BaseSuggestionThreadView as _0x5eefc9}from'./basesuggestionthreadview.js';function _0x1ef4(_0x175090,_0x28c774){const _0x22376d=_0x2237();return _0x1ef4=function(_0x1ef4d1,_0x8ff5dc){_0x1ef4d1=_0x1ef4d1-0x145;let _0x5c5484=_0x22376d[_0x1ef4d1];return _0x5c5484;},_0x1ef4(_0x175090,_0x28c774);}function _0x2237(){const _0x211a94=['isEnabled','ariaLabel','formatDateTime','getTemplate','add','_model','listitem','author','editorDestroyed','acceptSuggestion','bind','acceptButton','commentsListView','color','content','push','bindTemplate','71240jBueum','ck-suggestion--disabled-comments','14rUkngD','474888BJeCqH','5316epDQJn','<p>','commentThreadInputView','discardSuggestion','322692wUtLpB','63346mzFXAB','180qwpPYv','780043tkqwXC','disableComments','9oHBrii','ck-rounded-corners','</p>','commentThread','focusables','ck-suggestion-','render','editorReady','_descriptionElement','discardButton','descriptionParts','_config','canAccept','ck-suggestion-wrapper--active','type','14ThGeef','9847350fsqMWd','description','ck-suggestion-wrapper','2335NynbYZ','div','setTemplate','isActive','delegate','SuggestionView','set','6498foCNPy','suggestionView','ariaDescriptionView','canDiscard'];_0x2237=function(){return _0x211a94;};return _0x2237();}import{trimHtml as _0x451fac}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x4161ef}from'../../utils/utils.js';export class SuggestionThreadView extends _0x5eefc9{[_0x320546(0x151)];[_0x320546(0x17a)];constructor(_0x182bb5,_0x5a1cec,_0x518238,_0x5ce97f){const _0x2bc78f=_0x320546;super(_0x182bb5,_0x5a1cec,_0x518238,_0x5ce97f),this[_0x2bc78f(0x14f)](_0x2bc78f(0x180),''),this[_0x2bc78f(0x15e)](_0x2bc78f(0x180))['to'](this,_0x2bc78f(0x17c),_0x15797c=>_0x15797c&&_0x15797c[0x0]?_0x15797c[0x0][_0x2bc78f(0x180)]:''),this[_0x2bc78f(0x15e)](_0x2bc78f(0x147))['to'](this,_0x2bc78f(0x17c),this,_0x2bc78f(0x14c),(_0x355bd2,_0x5de56e)=>{const _0x576c0f=_0x2bc78f;let _0x3b5973='';for(const _0x4d4e8f of _0x355bd2)_0x3b5973+=_0x576c0f(0x16a)+_0x4161ef(_0x4d4e8f[_0x576c0f(0x162)],_0x4d4e8f[_0x576c0f(0x161)])+_0x576c0f(0x174);return _0x5de56e?_0x3b5973:_0x451fac(_0x3b5973,{'limit':0x8c});}),this[_0x2bc78f(0x17a)]=null,this[_0x2bc78f(0x151)]=new _0x5ce97f[(_0x2bc78f(0x14e))](_0x182bb5,_0x5a1cec,{'formatDateTime':_0x5ce97f[_0x2bc78f(0x156)]}),this[_0x2bc78f(0x151)][_0x2bc78f(0x15e)](_0x2bc78f(0x147))['to'](this),this[_0x2bc78f(0x151)][_0x2bc78f(0x14d)](_0x2bc78f(0x15d),_0x2bc78f(0x16c))['to'](this),this[_0x2bc78f(0x151)][_0x2bc78f(0x15f)][_0x2bc78f(0x15e)](_0x2bc78f(0x154))['to'](this,_0x2bc78f(0x17e)),this[_0x2bc78f(0x151)][_0x2bc78f(0x17b)][_0x2bc78f(0x15e)](_0x2bc78f(0x154))['to'](this,_0x2bc78f(0x153)),this[_0x2bc78f(0x176)][_0x2bc78f(0x158)](this[_0x2bc78f(0x151)]),this[_0x2bc78f(0x160)]&&this[_0x2bc78f(0x176)][_0x2bc78f(0x158)](this[_0x2bc78f(0x160)]),this[_0x2bc78f(0x16b)]&&this[_0x2bc78f(0x176)][_0x2bc78f(0x158)](this[_0x2bc78f(0x16b)]),this[_0x2bc78f(0x14b)](this[_0x2bc78f(0x157)]());}[_0x320546(0x157)](){const _0x21e835=_0x320546,_0x96ba3=this[_0x21e835(0x164)],_0x31616a=[this[_0x21e835(0x151)]];return this[_0x21e835(0x160)]&&_0x31616a[_0x21e835(0x163)](this[_0x21e835(0x160)]),this[_0x21e835(0x16b)]&&_0x31616a[_0x21e835(0x163)](this[_0x21e835(0x16b)]),_0x31616a[_0x21e835(0x163)](this[_0x21e835(0x152)]),{'tag':_0x21e835(0x14a),'attributes':{'class':['ck',_0x21e835(0x173),_0x21e835(0x148),_0x96ba3['if'](_0x21e835(0x14c),_0x21e835(0x17f)),_0x96ba3['to'](_0x21e835(0x180),_0xfe2409=>_0x21e835(0x177)+_0xfe2409),this[_0x21e835(0x17d)][_0x21e835(0x171)]&&_0x21e835(0x166)],'data-suggestion-id':this[_0x21e835(0x159)]['id'],'data-thread-id':this[_0x21e835(0x159)][_0x21e835(0x175)]['id'],'data-author-id':this[_0x21e835(0x159)][_0x21e835(0x15b)]['id'],'tabindex':0x0,'role':_0x21e835(0x15a),'aria-label':_0x96ba3['to'](_0x21e835(0x155)),'aria-describedby':this[_0x21e835(0x152)]['id']},'children':_0x31616a};}[_0x320546(0x178)](){const _0x1abeb0=_0x320546;super[_0x1abeb0(0x178)](),this[_0x1abeb0(0x160)]&&(this[_0x1abeb0(0x160)][_0x1abeb0(0x14d)](_0x1abeb0(0x179))['to'](this),this[_0x1abeb0(0x160)][_0x1abeb0(0x14d)](_0x1abeb0(0x15c))['to'](this)),this[_0x1abeb0(0x16b)]&&(this[_0x1abeb0(0x16b)][_0x1abeb0(0x14d)](_0x1abeb0(0x179))['to'](this),this[_0x1abeb0(0x16b)][_0x1abeb0(0x14d)](_0x1abeb0(0x15c))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x515f(_0x2ccbc2,_0x55493b){const _0x38196a=_0x3819();return _0x515f=function(_0x515f8a,_0x5e8086){_0x515f8a=_0x515f8a-0x17b;let _0x36c628=_0x38196a[_0x515f8a];return _0x36c628;},_0x515f(_0x2ccbc2,_0x55493b);}const _0x509e07=_0x515f;(function(_0x307b22,_0x2b0886){const _0x4136d1=_0x515f,_0x3f9f12=_0x307b22();while(!![]){try{const _0x13d6bd=parseInt(_0x4136d1(0x17b))/0x1+parseInt(_0x4136d1(0x190))/0x2*(-parseInt(_0x4136d1(0x1c1))/0x3)+-parseInt(_0x4136d1(0x1be))/0x4+parseInt(_0x4136d1(0x1b4))/0x5*(-parseInt(_0x4136d1(0x1ae))/0x6)+parseInt(_0x4136d1(0x1bd))/0x7*(-parseInt(_0x4136d1(0x19a))/0x8)+parseInt(_0x4136d1(0x185))/0x9*(-parseInt(_0x4136d1(0x1ba))/0xa)+-parseInt(_0x4136d1(0x18e))/0xb*(-parseInt(_0x4136d1(0x18f))/0xc);if(_0x13d6bd===_0x2b0886)break;else _0x3f9f12['push'](_0x3f9f12['shift']());}catch(_0x5581be){_0x3f9f12['push'](_0x3f9f12['shift']());}}}(_0x3819,0xbd890));function _0x3819(){const _0x245b9e=['ck-suggestion__actions','execute','bind','keystrokes','ck-annotation__actions','ck-suggestion__main','locale','time','1464721apyEMM','fire','discardButton','div','change:description','EXTERNAL_IMPORT_WORD_AVATAR','creator','discardSuggestion','esc','ck-comment__info-time','306uXMxDr','importWord','target','element','focusTracker','presentation','extendTemplate','Discard\x20suggestion','ck-annotation__info-name','44xjwnos','9868212ffgARi','6438WpRswk','_model','set','_config','querySelector','ck-annotation__content-wrapper','focus','EXTERNAL_AVATAR','innerHTML','ck-suggestion__info','300088pgvIgx','ck-annotation__user','getTemplate','ck-annotation__info-time','@external','authoredAt','_createButton','name','render','ck-suggestion__info-name','EXTERNAL_SUGGESTION','description','acceptButton','focusFirst','isExternal','ck-suggestion--accept','shift+tab','.ck-annotation__content-wrapper','attributes','tab','114SmsIgI','bindTemplate','userView','ck-suggestion--discard','getExternalSuggestionNote','ck-suggestion','230975NBRAjq','add','enter','push','listenTo','setTemplate','325140GtukpV','ck-suggestion__user','author','49hMSrox','5138360PuoKrO','ck-comment__external','span','417KuXTxS','Accept\x20suggestion','ck-annotation__main','focusables','ck-annotation','getUserViewNotificationText','source','EXTERNAL_IMPORT_WORD_SUGGESTION','focusCycler','_setupKeyboardNavigation','acceptSuggestion','formatDateTime','ck-annotation__info'];_0x3819=function(){return _0x245b9e;};return _0x3819();}import{FocusTracker as _0x1e1755,KeystrokeHandler as _0x24b206}from'ckeditor5/src/utils.js';import{View as _0x17c159,ViewCollection as _0x1bd966,FocusCycler as _0x5b1f51}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x28e40c,UserView as _0x67a0dc}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x187e2a,IconCheck as _0x3e5d63}from'ckeditor5/src/icons.js';import{getTranslation as _0x2cf9d8}from'../../utils/common-translations.js';export class SuggestionView extends _0x17c159{[_0x509e07(0x1b0)];[_0x509e07(0x1a6)];[_0x509e07(0x17d)];[_0x509e07(0x1c4)];[_0x509e07(0x189)];[_0x509e07(0x1d1)];[_0x509e07(0x1c9)];[_0x509e07(0x191)];[_0x509e07(0x193)];constructor(_0x31dbbd,_0x1b51ae,_0x55b6ba){const _0x1e9ba1=_0x509e07;super(_0x31dbbd),this[_0x1e9ba1(0x191)]=_0x1b51ae,this[_0x1e9ba1(0x193)]=_0x55b6ba,this[_0x1e9ba1(0x192)](_0x1e9ba1(0x1a5),''),this[_0x1e9ba1(0x1d0)](_0x1e9ba1(0x19f))['to'](_0x1b51ae),this[_0x1e9ba1(0x1a6)]=this[_0x1e9ba1(0x1a0)](_0x2cf9d8(_0x31dbbd,_0x1e9ba1(0x1c2)),_0x3e5d63,_0x1e9ba1(0x1a9),_0x1e9ba1(0x1cb),'sw'),this[_0x1e9ba1(0x17d)]=this[_0x1e9ba1(0x1a0)](_0x2cf9d8(_0x31dbbd,_0x1e9ba1(0x18c)),_0x187e2a,_0x1e9ba1(0x1b1),_0x1e9ba1(0x182),'sw'),this[_0x1e9ba1(0x1b0)]=new _0x67a0dc(_0x31dbbd,_0x1b51ae[_0x1e9ba1(0x1bc)],this[_0x1e9ba1(0x1c6)]()),this[_0x1e9ba1(0x1b0)][_0x1e9ba1(0x18b)]({'attributes':{'class':[_0x1e9ba1(0x1bb),_0x1e9ba1(0x19b)],'aria-hidden':!0x0}}),this[_0x1e9ba1(0x1c4)]=new _0x1bd966([this[_0x1e9ba1(0x1a6)],this[_0x1e9ba1(0x17d)]]),this[_0x1e9ba1(0x189)]=new _0x1e1755(),this[_0x1e9ba1(0x1d1)]=new _0x24b206(),this[_0x1e9ba1(0x1c9)]=new _0x5b1f51({'focusables':this[_0x1e9ba1(0x1c4)],'focusTracker':this[_0x1e9ba1(0x189)],'keystrokeHandler':this[_0x1e9ba1(0x1d1)],'actions':{'focusPrevious':_0x1e9ba1(0x1aa),'focusNext':_0x1e9ba1(0x1ad)},'keystrokeHandlerOptions':{'filter':_0x140d9d=>_0x140d9d[_0x1e9ba1(0x187)]!==this[_0x1e9ba1(0x188)]}}),this[_0x1e9ba1(0x1b9)](this[_0x1e9ba1(0x19c)]());}[_0x509e07(0x1a2)](){const _0x5ae038=_0x509e07;super[_0x5ae038(0x1a2)]();const _0x408253=this[_0x5ae038(0x188)][_0x5ae038(0x194)](_0x5ae038(0x1ab));_0x408253[_0x5ae038(0x198)]=this[_0x5ae038(0x1a5)],this['on'](_0x5ae038(0x17f),(_0x498869,_0x1dd12e,_0x7a8059)=>{const _0x4e6061=_0x5ae038;_0x408253[_0x4e6061(0x198)]=_0x7a8059;}),this[_0x5ae038(0x1ca)]();}[_0x509e07(0x19c)](){const _0x2b7a3a=_0x509e07,_0x41fce9=this[_0x2b7a3a(0x1af)],_0x882517=[{'tag':_0x2b7a3a(0x17e),'attributes':{'class':[_0x2b7a3a(0x199),_0x2b7a3a(0x1cd)]},'children':[{'tag':_0x2b7a3a(0x1c0),'children':[{'text':this[_0x2b7a3a(0x1b0)][_0x2b7a3a(0x1a1)]}],'attributes':{'class':[_0x2b7a3a(0x1a3),_0x2b7a3a(0x18d)],'data-cke-tooltip-text':this[_0x2b7a3a(0x1b0)][_0x2b7a3a(0x1a1)]}},{'tag':_0x2b7a3a(0x1d5),'attributes':{'datetime':_0x41fce9['to'](_0x2b7a3a(0x19f)),'class':[_0x2b7a3a(0x184),_0x2b7a3a(0x19d)]},'children':[{'text':_0x41fce9['to'](_0x2b7a3a(0x19f),_0x4ce0df=>this[_0x2b7a3a(0x193)][_0x2b7a3a(0x1cc)](_0x4ce0df))}]}]},{'tag':_0x2b7a3a(0x17e),'attributes':{'class':[_0x2b7a3a(0x1ce),_0x2b7a3a(0x1d2)]},'children':[this[_0x2b7a3a(0x1a6)],this[_0x2b7a3a(0x17d)]]},{'tag':_0x2b7a3a(0x17e),'attributes':{'class':[_0x2b7a3a(0x195)]}}];return this[_0x2b7a3a(0x191)][_0x2b7a3a(0x1a8)]&&_0x882517[_0x2b7a3a(0x1b7)]({'tag':_0x2b7a3a(0x17e),'attributes':{'class':[_0x2b7a3a(0x1bf)]},'children':[{'text':this[_0x2b7a3a(0x1b2)]()}]}),{'tag':_0x2b7a3a(0x17e),'attributes':{'class':[_0x2b7a3a(0x1b3),_0x2b7a3a(0x1c5)],'tabindex':-0x1},'children':[this[_0x2b7a3a(0x1b0)],{'tag':_0x2b7a3a(0x17e),'attributes':{'class':[_0x2b7a3a(0x1d3),_0x2b7a3a(0x1c3)],'role':_0x2b7a3a(0x18a)},'children':_0x882517}]};}[_0x509e07(0x196)](){const _0x36b3ac=_0x509e07;this[_0x36b3ac(0x188)][_0x36b3ac(0x196)]();}[_0x509e07(0x1c6)](){const _0x268b57=_0x509e07;return this[_0x268b57(0x191)][_0x268b57(0x1a8)]?_0x268b57(0x186)===this[_0x268b57(0x191)][_0x268b57(0x1ac)][_0x268b57(0x19e)][_0x268b57(0x1c7)]?_0x2cf9d8(this[_0x268b57(0x1d4)],_0x268b57(0x180),this[_0x268b57(0x191)][_0x268b57(0x181)][_0x268b57(0x1a1)]):_0x2cf9d8(this[_0x268b57(0x1d4)],_0x268b57(0x197),this[_0x268b57(0x191)][_0x268b57(0x181)][_0x268b57(0x1a1)]):null;}[_0x509e07(0x1b2)](){const _0x2413ec=_0x509e07;return _0x2413ec(0x186)===this[_0x2413ec(0x191)][_0x2413ec(0x1ac)][_0x2413ec(0x19e)][_0x2413ec(0x1c7)]?_0x2cf9d8(this[_0x2413ec(0x1d4)],_0x2413ec(0x1c8)):_0x2cf9d8(this[_0x2413ec(0x1d4)],_0x2413ec(0x1a4));}[_0x509e07(0x1a0)](_0x26ef0e,_0x5446a4,_0x65322f,_0x27f9ff,_0x4598c7){const _0x555367=_0x509e07,_0x255810=new _0x28e40c(this[_0x555367(0x1d4)]);return _0x255810[_0x555367(0x192)]({'label':_0x26ef0e,'icon':_0x5446a4,'tooltip':!0x0,'tooltipPosition':_0x4598c7}),_0x255810[_0x555367(0x18b)]({'attributes':{'class':_0x65322f}}),_0x255810['on'](_0x555367(0x1cf),()=>{const _0x21f3d9=_0x555367;this[_0x21f3d9(0x17c)](_0x27f9ff,this[_0x21f3d9(0x191)]['id']);}),_0x255810;}[_0x509e07(0x1ca)](){const _0x5d2cf4=_0x509e07,_0x5d7729=this[_0x5d2cf4(0x188)];this[_0x5d2cf4(0x1d1)][_0x5d2cf4(0x1b8)](_0x5d7729);for(const _0x414792 of this[_0x5d2cf4(0x1c4)])this[_0x5d2cf4(0x189)][_0x5d2cf4(0x1b5)](_0x414792[_0x5d2cf4(0x188)]),this[_0x5d2cf4(0x1d1)][_0x5d2cf4(0x1b8)](_0x414792[_0x5d2cf4(0x188)]);this[_0x5d2cf4(0x1d1)][_0x5d2cf4(0x192)](_0x5d2cf4(0x1b6),(_0x43ba4e,_0x19f674)=>{const _0x419047=_0x5d2cf4;_0x5d7729===_0x43ba4e[_0x419047(0x187)]&&(this[_0x419047(0x1c9)][_0x419047(0x1a7)](),_0x19f674());}),this[_0x5d2cf4(0x1d1)][_0x5d2cf4(0x192)](_0x5d2cf4(0x183),(_0x7c1746,_0x2128c9)=>{const _0x5f470e=_0x5d2cf4;_0x5d7729!==_0x7c1746[_0x5f470e(0x187)]&&(this[_0x5f470e(0x196)](),_0x2128c9());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a8210=_0x2307;function _0x5884(){const _0xea8420=['ck-reset','76513RRQmuc','2293304IjKpdQ','160032glWOaj','className','options','div','11890116nICSWh','render','1955144RnpUoR','data-ck-root-name','width','setPreviewData','createElement','ck-track-changes-preview','height','content','1417916GrSMLy','previewDataReady','fire','style','push','focus','3SbbIAt','innerHTML','\x20ck-track-changes-preview__root-container','element','145yVyYoF','setTemplate','setAttribute','dialogRects','classes','3655687DKOBnK'];_0x5884=function(){return _0xea8420;};return _0x5884();}(function(_0x2a5bb4,_0x19a9f2){const _0xfaf4d3=_0x2307,_0x4c90a9=_0x2a5bb4();while(!![]){try{const _0x24f104=-parseInt(_0xfaf4d3(0x16f))/0x1+-parseInt(_0xfaf4d3(0x177))/0x2+-parseInt(_0xfaf4d3(0x164))/0x3*(-parseInt(_0xfaf4d3(0x15e))/0x4)+-parseInt(_0xfaf4d3(0x168))/0x5*(parseInt(_0xfaf4d3(0x171))/0x6)+parseInt(_0xfaf4d3(0x16d))/0x7+parseInt(_0xfaf4d3(0x170))/0x8+parseInt(_0xfaf4d3(0x175))/0x9;if(_0x24f104===_0x19a9f2)break;else _0x4c90a9['push'](_0x4c90a9['shift']());}catch(_0x2065ef){_0x4c90a9['push'](_0x4c90a9['shift']());}}}(_0x5884,0xa0626));import{View as _0x35003d}from'ckeditor5/src/ui.js';function _0x2307(_0x59a5ab,_0x50a853){const _0x588493=_0x5884();return _0x2307=function(_0x23077c,_0x2691bd){_0x23077c=_0x23077c-0x15d;let _0x2f503f=_0x588493[_0x23077c];return _0x2f503f;},_0x2307(_0x59a5ab,_0x50a853);}export class TrackChangesPreviewView extends _0x35003d{[_0x5a8210(0x173)];constructor(_0x3cd71d,_0x5772ea){const _0x3e523a=_0x5a8210;super(_0x3cd71d),this[_0x3e523a(0x173)]=_0x5772ea,this[_0x3e523a(0x169)]({'tag':_0x3e523a(0x174),'attributes':{'class':['ck',_0x3e523a(0x16e),_0x3e523a(0x17c)],'tabindex':-0x1}});}[_0x5a8210(0x176)](){const _0x4ab590=_0x5a8210;super[_0x4ab590(0x176)](),this[_0x4ab590(0x167)][_0x4ab590(0x161)][_0x4ab590(0x179)]=this[_0x4ab590(0x173)][_0x4ab590(0x16b)][_0x4ab590(0x179)]+'px',this[_0x4ab590(0x167)][_0x4ab590(0x161)][_0x4ab590(0x17d)]=this[_0x4ab590(0x173)][_0x4ab590(0x16b)][_0x4ab590(0x17d)]+'px';}[_0x5a8210(0x17a)](_0x3b31d8,_0x343f4b){const _0x17b04e=_0x5a8210;if(!this[_0x17b04e(0x167)])return;const _0x31bf8b=[];for(const [_0x4cc230,_0x25f2e4]of _0x3b31d8){const _0x263799=document[_0x17b04e(0x17b)](_0x17b04e(0x174));_0x263799[_0x17b04e(0x16a)](_0x17b04e(0x178),_0x4cc230),_0x263799[_0x17b04e(0x172)]=_0x25f2e4[_0x17b04e(0x16c)]+_0x17b04e(0x166),_0x263799[_0x17b04e(0x165)]=_0x25f2e4[_0x17b04e(0x15d)],_0x31bf8b[_0x17b04e(0x162)](_0x263799);}_0x343f4b(this[_0x17b04e(0x167)],_0x31bf8b),this[_0x17b04e(0x167)][_0x17b04e(0x161)][_0x17b04e(0x17d)]='',this[_0x17b04e(0x160)](_0x17b04e(0x15f));}[_0x5a8210(0x163)](){const _0x1c94a4=_0x5a8210;this[_0x1c94a4(0x167)][_0x1c94a4(0x163)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x51213a,_0x53f731,_0x312db7){const _0x28c8b6=_0x51213a['t'],t=_0x51213a['t'];switch(_0x53f731){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',_0x312db7);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x312db7);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x312db7);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x312db7);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x312db7);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',_0x312db7);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x312db7);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',_0x312db7);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x312db7);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x312db7);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x312db7);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x312db7);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x312db7);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x312db7);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x312db7);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x312db7);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x312db7);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x312db7);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x312db7);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x312db7);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x312db7);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x312db7);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x312db7);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x312db7);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x312db7);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'},_0x312db7);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x312db7);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x312db7);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x312db7);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x312db7);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x312db7);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x312db7);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x312db7);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'},_0x312db7);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x312db7);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x312db7);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x312db7);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x312db7);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'},_0x312db7);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x312db7);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'},_0x312db7);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'},_0x312db7);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x312db7);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'},_0x312db7);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x312db7);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'},_0x312db7);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x312db7);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x312db7);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'},_0x312db7);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x312db7);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 _0x28c8b6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x312db7);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x28c8b6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x312db7);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x312db7);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'},_0x312db7);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'},_0x312db7);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'},_0x312db7);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x53f731;}}
|
|
23
|
+
export function getTranslation(_0x350779,_0x112199,_0x4a1256){const _0x18ccb3=_0x350779['t'],t=_0x350779['t'];switch(_0x112199){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',_0x4a1256);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4a1256);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4a1256);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4a1256);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4a1256);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',_0x4a1256);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4a1256);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',_0x4a1256);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4a1256);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4a1256);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4a1256);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4a1256);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4a1256);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4a1256);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4a1256);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4a1256);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4a1256);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4a1256);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4a1256);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4a1256);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4a1256);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4a1256);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4a1256);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4a1256);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x4a1256);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'},_0x4a1256);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x4a1256);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x4a1256);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4a1256);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4a1256);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4a1256);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4a1256);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4a1256);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4a1256);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4a1256);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4a1256);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'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4a1256);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4a1256);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 _0x18ccb3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4a1256);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x18ccb3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4a1256);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4a1256);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'},_0x4a1256);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'},_0x4a1256);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'},_0x4a1256);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x112199;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ebb9d,_0x3bdd8a){const _0x2b4792=_0x4890,_0xd4db=_0x1ebb9d();while(!![]){try{const _0x52d84c=-parseInt(_0x2b4792(0x181))/0x1+parseInt(_0x2b4792(0x19e))/0x2+parseInt(_0x2b4792(0x17d))/0x3+parseInt(_0x2b4792(0x187))/0x4+parseInt(_0x2b4792(0x196))/0x5*(-parseInt(_0x2b4792(0x186))/0x6)+parseInt(_0x2b4792(0x199))/0x7+parseInt(_0x2b4792(0x173))/0x8*(-parseInt(_0x2b4792(0x174))/0x9);if(_0x52d84c===_0x3bdd8a)break;else _0xd4db['push'](_0xd4db['shift']());}catch(_0x1fb303){_0xd4db['push'](_0xd4db['shift']());}}}(_0x150e,0xb9163));export function normalizeDescription(_0x45c1ba){const _0xe137c3=_0x4890;return Array[_0xe137c3(0x195)](_0x45c1ba)||(_0x45c1ba=[_0x45c1ba]),_0x45c1ba[_0xe137c3(0x18d)](_0x2e84c9=>{const _0x1c3d84=_0xe137c3,_0x59b020=_0x2e84c9[_0x1c3d84(0x16b)][_0x1c3d84(0x198)](/\*/g,''),_0x40bb0b=_0x2e84c9[_0x1c3d84(0x190)]?_0x1c3d84(0x18c)+_0x2e84c9[_0x1c3d84(0x190)][_0x1c3d84(0x197)]+']':'';return'['+_0x2e84c9[_0x1c3d84(0x16e)]+']\x20'+_0x59b020+_0x40bb0b;})[_0xe137c3(0x188)](';\x20');}export function renderDescription(_0x47f24b,_0x214521){const _0x500a3a=_0x4890;let _0x13df05='';return _0x13df05+=_0x47f24b[_0x500a3a(0x180)]('*')[_0x500a3a(0x18d)]((_0x140aa8,_0x1baa47)=>_0x1baa47%0x2!=0x0?_0x500a3a(0x183)+tn(_0x140aa8)+_0x500a3a(0x1a0):tn(_0x140aa8))[_0x500a3a(0x188)](''),_0x214521&&(_0x13df05+=_0x500a3a(0x172)+_0x214521[_0x500a3a(0x197)]+_0x500a3a(0x193)+_0x214521[_0x500a3a(0x189)]+_0x500a3a(0x19c)),_0x13df05;}function tn(_0x3b7e27){const _0x3cffd3=_0x4890,_0x172d1b=document[_0x3cffd3(0x18f)](_0x3cffd3(0x17a));return _0x172d1b[_0x3cffd3(0x178)]=_0x3b7e27,_0x172d1b[_0x3cffd3(0x184)];}export function sortSuggestions(_0x1ddf76){const _0x3d285b=_0x4890;return _0x1ddf76[_0x3d285b(0x175)]((_0x336e18,_0x3ed4b5)=>_0x3d285b(0x176)===_0x336e18[_0x3d285b(0x16e)]&&_0x3d285b(0x176)!==_0x3ed4b5[_0x3d285b(0x16e)]?-0x1:_0x3d285b(0x176)!==_0x336e18[_0x3d285b(0x16e)]&&_0x3d285b(0x176)===_0x3ed4b5[_0x3d285b(0x16e)]?0x1:_0x3d285b(0x179)==_0x336e18[_0x3d285b(0x16e)]&&_0x3d285b(0x179)!=_0x3ed4b5[_0x3d285b(0x16e)]?-0x1:_0x3d285b(0x179)!=_0x336e18[_0x3d285b(0x16e)]&&_0x3d285b(0x179)==_0x3ed4b5[_0x3d285b(0x16e)]?0x1:0x0);}export function getSelectedSuggestions(_0x1b2eb1,_0x195433){const _0x57ed26=_0x4890,_0x59f81f=Array[_0x57ed26(0x19d)](_0x1b2eb1[_0x57ed26(0x191)]()),_0x17fcf3=new Set();for(const _0x30edb2 of _0x195433)if(_0x30edb2[_0x57ed26(0x192)]){for(const _0x117d07 of _0x59f81f)for(const _0x8ca649 of _0x30edb2[_0x57ed26(0x191)]())(_0x117d07[_0x57ed26(0x18e)](_0x8ca649)||_0x1b2eb1[_0x57ed26(0x194)]&&!_0x30edb2[_0x57ed26(0x17f)]&&_0x30edb2[_0x57ed26(0x170)]&&_0x8ca649[_0x57ed26(0x177)][_0x57ed26(0x16f)](_0x117d07[_0x57ed26(0x17c)]))&&_0x17fcf3[_0x57ed26(0x18a)](_0x30edb2);}return _0x17fcf3;}function _0x4890(_0x4f5cd8,_0x187264){const _0x150e42=_0x150e();return _0x4890=function(_0x4890f9,_0x5f0d88){_0x4890f9=_0x4890f9-0x16b;let _0x5c5cd1=_0x150e42[_0x4890f9];return _0x5c5cd1;},_0x4890(_0x4f5cd8,_0x187264);}export function getRangesOfBlockGroups(_0x46e00d,_0x5a4f6d){const _0x5c4a8e=_0x4890;let _0x18a0f0,_0x5c0c8f=0x0;const _0x14de8d=[],_0x3db340=_0x5a4f6d[_0x5c4a8e(0x182)];for(;_0x5c0c8f<_0x46e00d[_0x5c4a8e(0x19b)];){const _0x4d7d7b=_0x46e00d[_0x5c0c8f],_0x9e3a0b=_0x46e00d[_0x5c0c8f+0x1];_0x18a0f0||(_0x18a0f0=_0x5a4f6d[_0x5c4a8e(0x16c)](_0x4d7d7b)),nn(_0x5a4f6d,_0x4d7d7b,_0x9e3a0b)||(_0x14de8d[_0x5c4a8e(0x17b)](_0x5a4f6d[_0x5c4a8e(0x18b)](_0x18a0f0,_0x3db340[_0x5c4a8e(0x185)](_0x4d7d7b)?_0x5a4f6d[_0x5c4a8e(0x16d)](_0x4d7d7b):_0x5a4f6d[_0x5c4a8e(0x19a)](_0x4d7d7b,_0x5c4a8e(0x177)))),_0x18a0f0=null),_0x5c0c8f++;}return _0x14de8d;}function _0x150e(){const _0x2a48f9=['createRange','\x20[color\x20','map','isIntersecting','createElement','color','getRanges','isInContent','\x22\x20title=\x22','isCollapsed','isArray','5RMkeIk','value','replace','4938906VBYxCc','createPositionAt','length','\x22></span>','from','1764078FIzrBi','change','</span>','content','createPositionBefore','createPositionAfter','type','isTouching','next','splice','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','1912NVmgak','21375hXrSsr','sort','attribute','end','innerText','deletion','span','push','start','3922872NgOniX','execute','isMultiRange','split','1508000UheyMd','schema','<span\x20class=\x22ck-suggestion-type\x22>','innerHTML','isObject','5238258dbVrlo','3246248BcFxsE','join','title','add'];_0x150e=function(){return _0x2a48f9;};return _0x150e();}function nn(_0x4e427b,_0x5ab4de,_0x2f5058){const _0x592d7d=_0x4890;if(!_0x2f5058)return!0x1;const _0x5d36f7=_0x4e427b[_0x592d7d(0x16d)](_0x5ab4de),_0x58443f=_0x4e427b[_0x592d7d(0x16c)](_0x2f5058);return _0x5d36f7[_0x592d7d(0x16f)](_0x58443f);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x366d60,_0x32c8d1,_0x57fdbd){const _0xb3cd78=_0x4890;for(;_0x57fdbd[_0xb3cd78(0x19b)];){const _0x575363=_0x57fdbd[_0xb3cd78(0x171)](0x0,0x64);_0x366d60[_0xb3cd78(0x19f)](()=>{const _0x526481=_0xb3cd78;for(const _0x27067c of _0x575363)_0x27067c[_0x526481(0x192)]&&_0x32c8d1[_0x526481(0x17e)](_0x27067c['id']);});}}
|