@ckeditor/ckeditor5-track-changes 47.2.0-alpha.2 → 47.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x578ccd=_0x5c59;(function(_0x9dbb44,_0x5993fb){const _0x507133=_0x5c59,_0x4ebb6e=_0x9dbb44();while(!![]){try{const _0x394a7b=parseInt(_0x507133(0xa8))/0x1+parseInt(_0x507133(0xa6))/0x2+parseInt(_0x507133(0xb5))/0x3*(-parseInt(_0x507133(0xb3))/0x4)+-parseInt(_0x507133(0xa9))/0x5+parseInt(_0x507133(0xa5))/0x6+parseInt(_0x507133(0xa3))/0x7+parseInt(_0x507133(0xb7))/0x8*(-parseInt(_0x507133(0xab))/0x9);if(_0x394a7b===_0x5993fb)break;else _0x4ebb6e['push'](_0x4ebb6e['shift']());}catch(_0x1b2bf2){_0x4ebb6e['push'](_0x4ebb6e['shift']());}}}(_0x247c,0x7b8d7));function _0x5c59(_0x18680c,_0x2c5775){const _0x247caf=_0x247c();return _0x5c59=function(_0x5c597f,_0x3b467d){_0x5c597f=_0x5c597f-0xa2;let _0x522e6e=_0x247caf[_0x5c597f];return _0x522e6e;},_0x5c59(_0x18680c,_0x2c5775);}import{Plugin as _0x23c918}from'ckeditor5/src/core.js';import{Dialog as _0x259d33}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x57ca4b}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x2051da}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x23c918{static get[_0x578ccd(0xaa)](){return[_0x57ca4b,_0x259d33];}static get[_0x578ccd(0xaf)](){const _0xfb711d=_0x578ccd;return _0xfb711d(0xae);}static get[_0x578ccd(0xb6)](){return!0x0;}static get[_0x578ccd(0xb0)](){return!0x0;}constructor(_0x2a2aac){const _0x2cd5fa=_0x578ccd;super(_0x2a2aac),_0x2a2aac[_0x2cd5fa(0xb4)][_0x2cd5fa(0xa4)](_0x2cd5fa(0xb2),new _0x2051da(this[_0x2cd5fa(0xac)])),_0x2a2aac[_0x2cd5fa(0xa7)][_0x2cd5fa(0xad)](_0x2cd5fa(0xb1),(_0x2f2e4e,_0xd0f6ec)=>{const _0x547ec2=_0x2cd5fa;for(const _0x44db01 of _0xd0f6ec)_0x2f2e4e[_0x547ec2(0xa2)](_0x44db01);});}}function _0x247c(){const _0x3fe091=['config','995237zEHqlg','2512475XOcmMZ','requires','9hPOtyO','editor','define','TrackChangesPreview','pluginName','isPremiumPlugin','trackChanges.preview.renderFunction','previewFinalContent','36fpyCNm','commands','194556wCKcdK','isOfficialPlugin','8166328mRWkLF','appendChild','2399719hFHrgc','add','2053014CLGORq','1865604VnhyuP'];_0x247c=function(){return _0x3fe091;};return _0x247c();}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x264401=_0x26be;(function(_0x2b102d,_0x355885){const _0x46d442=_0x26be,_0x141e28=_0x2b102d();while(!![]){try{const _0x2c4d08=parseInt(_0x46d442(0x175))/0x1*(parseInt(_0x46d442(0x19a))/0x2)+parseInt(_0x46d442(0x1f9))/0x3+-parseInt(_0x46d442(0x190))/0x4*(parseInt(_0x46d442(0x183))/0x5)+-parseInt(_0x46d442(0x220))/0x6*(parseInt(_0x46d442(0x17e))/0x7)+parseInt(_0x46d442(0x1f1))/0x8*(parseInt(_0x46d442(0x21d))/0x9)+-parseInt(_0x46d442(0x20d))/0xa+-parseInt(_0x46d442(0x1fb))/0xb*(-parseInt(_0x46d442(0x19e))/0xc);if(_0x2c4d08===_0x355885)break;else _0x141e28['push'](_0x141e28['shift']());}catch(_0x3f4446){_0x141e28['push'](_0x141e28['shift']());}}}(_0x7da8,0x8161f));import{Plugin as _0x9e74e1}from'ckeditor5/src/core.js';import{Collection as _0x1399d8}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x16f73f}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3de829,createDropdown as _0x5c213c,ListSeparatorView as _0x51d9f5,MenuBarMenuView as _0x3fccaf,MenuBarMenuListView as _0x31d414,MenuBarMenuListItemView as _0x5c99c0,MenuBarMenuListItemButtonView as _0x1d8ec7,SplitButtonView as _0x447356,UIModel as _0x54f11b}from'ckeditor5/src/ui.js';import{Users as _0x1d08aa,getDateTimeFormatter as _0x1b813f,getAllMarkersDomElementsSorted as _0x569f85}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x496d56}from'./trackchangesediting.js';import{SuggestionController as _0x151847}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x2f3d35}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x4f7377}from'./ui/view/suggestionview.js';import{getTranslation as _0x5cd7a1}from'./utils/common-translations.js';function _0x7da8(){const _0x5927ad=['Preview\x20final\x20content','_licenseKeyCheckInterval','getAllAdjacentSuggestions','addSourceCollector','trackChanges.disableComments','_showLicenseError','_updateController','TrackChangesPreview','commentThread','switchbutton','some','trackChangesLicenseKeyTrialLimit','previous','CommentView','arrowView','_refreshActiveMarkers','trackChanges.SuggestionView','size','trackChangesLicenseKeyNotAllowed','getDescriptions','push','_initializeController','registerAnnotation','requires','hasSuggestion','suggestionChanged','destroy','trialLimit','domainLimit','856kqRSof','acceptSelectedSuggestions','Accept\x20all\x20selected\x20suggestions','model','trackChangesLicenseKeyEvaluationLimit','getJoined','evaluationLimit','getRanges','972690UJHEaa','descriptionFactory','1202421tmdoZF','change:activeAnnotations','discardButton','createAnnotation','change:previous','discardAllSuggestions','getMarkers','listenTo','trackChanges.SuggestionThreadView','panelView','get','commandName','lowest','suggestionView','activeMarkers','innerView','getFirstRange','getSuggestionForAnnotation','5960260CfYjTM','activeAnnotations','createAnnotationView','value','TrackChanges','menuBar:trackChanges','trackChanges','unbind','addComment','_destroyController','config','keys','focus','Track\x20changes','editor','_unbindEditors','20889VEUMWT','_disableComments','_createMenuBarMenu','138XTdxkF','CommentsRepository','licenseKey','comments.maxCommentCharsWhenCollapsed','comments.maxThreadTotalWeight','getByInnerView','separator','acceptAllSuggestions','_createToolbarButton','17055yAlZCC','bind','comments','comments.maxCommentsWhenCollapsed','descriptionParts','isPremiumPlugin','head','CommentsUI','remove','306376hLBXVC','TrackChangesEditing','addMany','usageLimit','createCommentThreadController','5mXFBaF','comments.editorConfig','suggestionUnloaded','_handleControllerBuffer','set','suggestionLoaded','from','getMarkerNames','type','previewFinalContent','view','mainView','acceptButton','1943312JbrjYK','getSuggestion','Discard\x20all\x20suggestions','trackChangesLicenseKeyDomainLimit','plugins','getAnnotationForSuggestion','add','EditorAnnotations','has','Annotations','22xiAeCT','values','fire','source','204biYgmT','featureNotAllowed','reduce','delegate','editing','toMany','execute','buttonView','componentFactory','length','isEnabled','items','trackChangesLicenseKeyInvalid','discardSelectedSuggestions','stopListening','init','isMultiRange','suggestion-','_handleSuggestionControllerDelayed','clear','filter','TrackChangesUI','button','SuggestionThreadView','trackChangesLicenseKeyValid','invalid','menuitemcheckbox','escape','isOn','commentsListView','_annotationViews','expired','delete','_bindAnnotationToEditors','isInContent','Discard\x20all\x20selected\x20suggestions','menuitem','isOfficialPlugin','SuggestionView','locale','_suggestionToController','trackChangesLicenseKeyUsageLimit','commands','menu','_addUIComponentsToFactory','_viewToController','define','refreshSelectedViews','actionView','isDirty','trackChangesLicenseKeyExpired','pluginName','children','Accept\x20all\x20suggestions'];_0x7da8=function(){return _0x5927ad;};return _0x7da8();}export class TrackChangesUI extends _0x9e74e1{[_0x264401(0x222)];[_0x264401(0x1d5)];[_0x264401(0x1c6)];[_0x264401(0x1cb)];[_0x264401(0x1bc)];[_0x264401(0x186)];[_0x264401(0x21e)];static get[_0x264401(0x1eb)](){const _0x2632ce=_0x264401;return[_0x496d56,_0x1d08aa,_0x2632ce(0x221),_0x2632ce(0x199),_0x2632ce(0x197)];}static get[_0x264401(0x1d1)](){const _0x4eb3be=_0x264401;return _0x4eb3be(0x1b3);}static get[_0x264401(0x1c3)](){return!0x0;}static get[_0x264401(0x17a)](){return!0x0;}constructor(_0x1d9472){const _0x4fcbe4=_0x264401;super(_0x1d9472),this[_0x4fcbe4(0x1c6)]=new Map(),this[_0x4fcbe4(0x1cb)]=new Map(),this[_0x4fcbe4(0x1bc)]=new Map(),this[_0x4fcbe4(0x186)]=new Map();const _0x831c9b=this[_0x4fcbe4(0x21b)][_0x4fcbe4(0x217)];_0x831c9b[_0x4fcbe4(0x1cc)](_0x4fcbe4(0x203),_0x2f3d35),_0x831c9b[_0x4fcbe4(0x1cc)](_0x4fcbe4(0x1e4),_0x4f7377),_0x831c9b[_0x4fcbe4(0x1cc)](_0x4fcbe4(0x1d8),!0x1),this[_0x4fcbe4(0x21e)]=_0x831c9b[_0x4fcbe4(0x205)](_0x4fcbe4(0x1d8));}[_0x264401(0x1b0)](_0x3428b9,_0x5e65ae){const _0x5361a3=_0x264401;0x0===this[_0x5361a3(0x186)][_0x5361a3(0x1e5)]&&setTimeout(()=>{const _0x3448b1=_0x5361a3;for(const [_0x2948ac,_0x1bbf9a]of this[_0x3448b1(0x186)]){const _0x39cd48=this[_0x3448b1(0x1c6)][_0x3448b1(0x198)](_0x2948ac);_0x39cd48||_0x1bbf9a?_0x39cd48&&_0x1bbf9a&&this[_0x3448b1(0x216)](_0x2948ac):this[_0x3448b1(0x1e9)](_0x2948ac);}this[_0x3448b1(0x186)][_0x3448b1(0x1b1)](),this[_0x3448b1(0x21b)][_0x3448b1(0x194)][_0x3448b1(0x205)](_0x3448b1(0x197))[_0x3448b1(0x1cd)](),this[_0x3448b1(0x1e3)]();},0xa),this[_0x5361a3(0x186)][_0x5361a3(0x187)](_0x3428b9,_0x5e65ae);}[_0x264401(0x1ad)](){const _0x356455=_0x264401,_0x56a698=this[_0x356455(0x21b)],_0x5cc958=_0x56a698[_0x356455(0x194)][_0x356455(0x205)](_0x356455(0x17f)),_0x37847f=_0x56a698[_0x356455(0x194)][_0x356455(0x205)](_0x356455(0x199)),_0x4e6fdc=_0x56a698[_0x356455(0x194)][_0x356455(0x205)](_0x356455(0x197)),_0x32faf9=_0x56a698[_0x356455(0x194)][_0x356455(0x205)](_0x356455(0x221));this[_0x356455(0x1ca)](),_0x4e6fdc[_0x356455(0x1d7)](()=>{const _0x27b6c9=_0x356455,_0x26febf=[];for(const [_0xbf5bb5,_0x2ca10f]of Array[_0x27b6c9(0x189)](this[_0x27b6c9(0x1c6)])){const _0x58388e=_0xbf5bb5[_0x27b6c9(0x1d6)](),_0x4391ab=[];for(const _0x363e4a of _0x58388e){if(!_0x363e4a[_0x27b6c9(0x1c0)])continue;if(_0x363e4a[_0x27b6c9(0x1ae)]){_0x4391ab[_0x27b6c9(0x1e8)](..._0x363e4a[_0x27b6c9(0x1f8)]());continue;}const _0xc3d634=_0x363e4a[_0x27b6c9(0x20b)]();if(_0x4391ab[_0x27b6c9(0x1a7)]>0x0){const _0x711f61=_0x4391ab[0x0][_0x27b6c9(0x1f6)](_0xc3d634);if(_0x711f61){_0x4391ab[0x0]=_0x711f61;continue;}}_0x4391ab[_0x27b6c9(0x1e8)](_0xc3d634);}_0x26febf[_0x27b6c9(0x1e8)]([_0x2ca10f[_0x27b6c9(0x18d)],_0x4391ab]);}return _0x26febf;}),this[_0x356455(0x202)](_0x5cc958,_0x356455(0x188),(_0x316d0a,_0xafb71b)=>{const _0x30d636=_0x356455;this[_0x30d636(0x202)](_0xafb71b,_0x30d636(0x1ff),(_0x15c5dd,_0x206a43,_0x20cc80,_0x5c8f05)=>{const _0x4be55c=_0x30d636;_0xafb71b[_0x4be55c(0x1c0)]&&(null==_0x20cc80?(this[_0x4be55c(0x1da)](_0x5c8f05[_0x4be55c(0x17b)]),this[_0x4be55c(0x1b0)](_0xafb71b,!0x1)):(this[_0x4be55c(0x1da)](_0x20cc80[_0x4be55c(0x17b)]),null==_0x5c8f05&&this[_0x4be55c(0x1b0)](_0xafb71b,!0x0)));}),null!==_0xafb71b[_0x30d636(0x1e0)]?this[_0x30d636(0x1da)](_0xafb71b[_0x30d636(0x17b)]):this[_0x30d636(0x1b0)](_0xafb71b,!0x1);}),this[_0x356455(0x202)](_0x5cc958,_0x356455(0x185),(_0x13fcdc,_0x19bab3,_0x1b89a7)=>{const _0x484fca=_0x356455;this[_0x484fca(0x1ac)](_0x19bab3,_0x484fca(0x1ff)),this[_0x484fca(0x186)][_0x484fca(0x1be)](_0x19bab3),this[_0x484fca(0x1c6)][_0x484fca(0x198)](_0x19bab3)&&this[_0x484fca(0x216)](_0x19bab3),_0x1b89a7&&this[_0x484fca(0x1da)](_0x1b89a7[_0x484fca(0x17b)]);}),this[_0x356455(0x202)](_0x5cc958,_0x356455(0x1ed),(_0x126d57,_0x2cbe1d)=>{const _0x236c5f=_0x356455;this[_0x236c5f(0x1da)](_0x2cbe1d);}),this[_0x356455(0x202)](_0x37847f,_0x356455(0x1fc),()=>{const _0x27c416=_0x356455;this[_0x27c416(0x1e3)]();}),this[_0x356455(0x202)](_0x32faf9,_0x356455(0x215),(_0x3a89eb,{threadId:_0x56c91d,isFromAdapter:_0x2be581})=>{const _0x31d608=_0x356455;if(_0x2be581||!_0x5cc958[_0x31d608(0x1ec)](_0x56c91d))return;const _0x50230f=_0x5cc958[_0x31d608(0x191)](_0x56c91d);this[_0x31d608(0x1c6)][_0x31d608(0x205)](_0x50230f)[_0x31d608(0x18d)][_0x31d608(0x1bb)][_0x31d608(0x219)](-0x1);},{'priority':_0x356455(0x207)}),this[_0x356455(0x222)]=this[_0x356455(0x21b)][_0x356455(0x217)][_0x356455(0x205)](_0x356455(0x222));const _0x3181fc=this[_0x356455(0x21b)];this[_0x356455(0x1d5)]=setInterval(()=>{const _0x350f91=_0x356455;let _0x93f4fa;for(const _0x16b38f in _0x3181fc){const _0x260735=_0x16b38f,_0x42f8fd=_0x3181fc[_0x260735];if(_0x350f91(0x1b6)==_0x42f8fd||_0x350f91(0x1aa)==_0x42f8fd||_0x350f91(0x1d0)==_0x42f8fd||_0x350f91(0x193)==_0x42f8fd||_0x350f91(0x1e6)==_0x42f8fd||_0x350f91(0x1f5)==_0x42f8fd||_0x350f91(0x1df)==_0x42f8fd||_0x350f91(0x1c7)==_0x42f8fd){delete _0x3181fc[_0x260735],_0x93f4fa=_0x42f8fd,clearInterval(this[_0x350f91(0x1d5)]),this[_0x350f91(0x1d5)]=void 0x0;break;}}_0x350f91(0x1aa)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1b7)),_0x350f91(0x1d0)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1bd)),_0x350f91(0x193)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1f0)),_0x350f91(0x1e6)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x19f),_0x350f91(0x211)),_0x350f91(0x1f5)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1f7)),_0x350f91(0x1df)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x1ef)),_0x350f91(0x1c7)==_0x93f4fa&&_0x3181fc[_0x350f91(0x1d9)](_0x350f91(0x181));},0x3e8);}[_0x264401(0x195)](_0x9b0271){const _0x5cd257=_0x264401,_0x3bb618=this[_0x5cd257(0x1c6)][_0x5cd257(0x205)](_0x9b0271);if(!_0x3bb618)return null;return this[_0x5cd257(0x21b)][_0x5cd257(0x194)][_0x5cd257(0x205)](_0x5cd257(0x199))[_0x5cd257(0x171)](_0x3bb618[_0x5cd257(0x18d)])||null;}[_0x264401(0x20c)](_0x5df339){const _0x4987b8=_0x264401,_0xb2f82c=this[_0x4987b8(0x1cb)][_0x4987b8(0x205)](_0x5df339[_0x4987b8(0x20a)]);return _0xb2f82c?_0xb2f82c[_0x4987b8(0x1f4)]:null;}[_0x264401(0x1e3)](){const _0x39e70e=_0x264401,_0x22d39e=this[_0x39e70e(0x21b)][_0x39e70e(0x194)][_0x39e70e(0x205)](_0x39e70e(0x199)),_0x3ea54e=this[_0x39e70e(0x21b)][_0x39e70e(0x194)][_0x39e70e(0x205)](_0x39e70e(0x17f)),_0x560194=Array[_0x39e70e(0x189)](_0x22d39e[_0x39e70e(0x20e)],_0xcc7bb9=>_0xcc7bb9[_0x39e70e(0x20a)])[_0x39e70e(0x1b2)](_0x4d248b=>this[_0x39e70e(0x1cb)][_0x39e70e(0x198)](_0x4d248b)),_0x136288=[];for(const _0x39ebd0 of _0x560194){const _0x226146=this[_0x39e70e(0x1cb)][_0x39e70e(0x205)](_0x39ebd0)[_0x39e70e(0x1f4)][_0x39e70e(0x1d6)]();_0x136288[_0x39e70e(0x1e8)](..._0x226146[_0x39e70e(0x1a0)]((_0x451746,_0xc0da5f)=>[..._0x451746,..._0xc0da5f[_0x39e70e(0x18a)]()],[]));}_0x3ea54e[_0x39e70e(0x209)]=_0x136288;}[_0x264401(0x1ca)](){const _0x4ca7ee=_0x264401,_0x968670=this[_0x4ca7ee(0x21b)],_0x1ed838=_0x968670[_0x4ca7ee(0x1c5)],_0x342706=_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x21a)),_0x273382=new _0x1399d8([{'type':_0x4ca7ee(0x1dd),'model':new _0x54f11b({'withText':!0x0,'isToggleable':!0x0,'label':_0x342706,'commandName':_0x4ca7ee(0x213),'role':_0x4ca7ee(0x1b8)})},{'type':_0x4ca7ee(0x172)},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x1d3)),'commandName':_0x4ca7ee(0x173),'role':_0x4ca7ee(0x1c2)})},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x1f3)),'commandName':_0x4ca7ee(0x1f2),'role':_0x4ca7ee(0x1c2)})},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x192)),'commandName':_0x4ca7ee(0x200),'role':_0x4ca7ee(0x1c2)})},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x1c1)),'commandName':_0x4ca7ee(0x1ab),'role':_0x4ca7ee(0x1c2)})}]);_0x968670[_0x4ca7ee(0x194)][_0x4ca7ee(0x198)](_0x4ca7ee(0x1db))&&_0x273382[_0x4ca7ee(0x180)]([{'type':_0x4ca7ee(0x172)},{'type':_0x4ca7ee(0x1b4),'model':new _0x54f11b({'withText':!0x0,'label':_0x5cd7a1(_0x1ed838,_0x4ca7ee(0x1d4)),'commandName':_0x4ca7ee(0x18c),'role':_0x4ca7ee(0x1c2)})}]);for(const _0x149c75 of _0x273382)if(ke(_0x149c75)){const _0x16e41d=_0x968670[_0x4ca7ee(0x1c8)][_0x4ca7ee(0x205)](_0x149c75[_0x4ca7ee(0x1f4)][_0x4ca7ee(0x206)]);_0x149c75[_0x4ca7ee(0x1f4)][_0x4ca7ee(0x176)](_0x4ca7ee(0x1ba),_0x4ca7ee(0x1a8))['to'](_0x16e41d,_0x4ca7ee(0x210),_0x4ca7ee(0x1a8));}_0x968670['ui'][_0x4ca7ee(0x1a6)][_0x4ca7ee(0x196)](_0x4ca7ee(0x213),_0x1182a3=>this[_0x4ca7ee(0x174)](_0x1182a3,_0x273382,_0x342706)),_0x968670['ui'][_0x4ca7ee(0x1a6)][_0x4ca7ee(0x196)](_0x4ca7ee(0x212),_0x8b1a24=>this[_0x4ca7ee(0x21f)](_0x8b1a24,_0x273382,_0x342706));}[_0x264401(0x174)](_0x264c0f,_0x6074c4,_0x5334a2){const _0x51eee2=_0x264401,_0x26df11=_0x5c213c(_0x264c0f,_0x447356),_0x263ce0=this[_0x51eee2(0x21b)][_0x51eee2(0x1c8)][_0x51eee2(0x205)](_0x51eee2(0x213));_0x26df11[_0x51eee2(0x1a5)][_0x51eee2(0x187)]({'tooltip':_0x5334a2,'label':_0x5334a2,'icon':_0x16f73f}),_0x26df11[_0x51eee2(0x1a5)][_0x51eee2(0x176)](_0x51eee2(0x1ba))['to'](_0x263ce0,_0x51eee2(0x210)),_0x26df11[_0x51eee2(0x1a5)]['on'](_0x51eee2(0x1a4),()=>{const _0x234e83=_0x51eee2;_0x263ce0[_0x234e83(0x1a4)](),this[_0x234e83(0x21b)][_0x234e83(0x1a2)][_0x234e83(0x18d)][_0x234e83(0x219)]();}),_0x3de829(_0x26df11,_0x6074c4,{'role':_0x51eee2(0x1c9)});const _0x47d9f4=[];for(const _0x57c535 of _0x6074c4)ke(_0x57c535)&&_0x47d9f4[_0x51eee2(0x1e8)](this[_0x51eee2(0x21b)][_0x51eee2(0x1c8)][_0x51eee2(0x205)](_0x57c535[_0x51eee2(0x1f4)][_0x51eee2(0x206)]));const _0x2b179d=_0x26df11[_0x51eee2(0x1a5)];return _0x2b179d[_0x51eee2(0x1ce)][_0x51eee2(0x214)](_0x51eee2(0x1a8)),_0x2b179d[_0x51eee2(0x1e2)][_0x51eee2(0x214)](_0x51eee2(0x1a8)),_0x2b179d[_0x51eee2(0x1ce)][_0x51eee2(0x176)](_0x51eee2(0x1a8))['to'](_0x263ce0,_0x51eee2(0x1a8)),_0x2b179d[_0x51eee2(0x1e2)][_0x51eee2(0x176)](_0x51eee2(0x1a8))[_0x51eee2(0x1a3)](_0x47d9f4,_0x51eee2(0x1a8),(..._0x3631cf)=>_0x3631cf[_0x51eee2(0x1de)](_0x18269e=>_0x18269e)),_0x26df11['on'](_0x51eee2(0x1a4),_0x411a80=>{const _0x4b08b4=_0x51eee2;this[_0x4b08b4(0x21b)][_0x4b08b4(0x1a4)](_0x411a80[_0x4b08b4(0x19d)][_0x4b08b4(0x206)]),this[_0x4b08b4(0x21b)][_0x4b08b4(0x1a2)][_0x4b08b4(0x18d)][_0x4b08b4(0x219)]();}),_0x26df11;}[_0x264401(0x21f)](_0x374714,_0x36d90c,_0x366299){const _0x23f359=_0x264401,_0x4b38ec=new _0x3fccaf(_0x374714),_0x27b533=this[_0x23f359(0x21b)][_0x23f359(0x1c8)][_0x23f359(0x205)](_0x23f359(0x213));_0x4b38ec[_0x23f359(0x1a5)][_0x23f359(0x187)]({'label':_0x366299,'icon':_0x16f73f});const _0x142dbe=new _0x31d414(_0x374714);for(const _0x37f9a9 of _0x36d90c){if(_0x23f359(0x172)==_0x37f9a9[_0x23f359(0x18b)]){_0x142dbe[_0x23f359(0x1a9)][_0x23f359(0x196)](new _0x51d9f5(_0x374714));continue;}const _0x460279=new _0x5c99c0(_0x374714,_0x4b38ec),_0x443e71=new _0x1d8ec7(_0x374714),_0x3c3468=_0x37f9a9[_0x23f359(0x1f4)];_0x443e71[_0x23f359(0x176)](...Object[_0x23f359(0x218)](_0x3c3468))['to'](_0x3c3468),_0x443e71[_0x23f359(0x1a1)](_0x23f359(0x1a4))['to'](_0x4b38ec),_0x443e71['on'](_0x23f359(0x1a4),()=>{const _0x284bf3=_0x23f359;this[_0x284bf3(0x21b)][_0x284bf3(0x1a4)](_0x3c3468[_0x284bf3(0x206)]),this[_0x284bf3(0x21b)][_0x284bf3(0x1a2)][_0x284bf3(0x18d)][_0x284bf3(0x219)]();}),_0x460279[_0x23f359(0x1d2)][_0x23f359(0x196)](_0x443e71),_0x142dbe[_0x23f359(0x1a9)][_0x23f359(0x196)](_0x460279);}return _0x4b38ec[_0x23f359(0x176)](_0x23f359(0x1a8))['to'](_0x27b533,_0x23f359(0x1a8)),_0x4b38ec[_0x23f359(0x204)][_0x23f359(0x1d2)][_0x23f359(0x196)](_0x142dbe),_0x4b38ec;}[_0x264401(0x1e9)](_0x2b953b){const _0x215714=_0x264401,_0x3e3b52=this[_0x215714(0x21b)],_0x2331e2=_0x3e3b52[_0x215714(0x217)],_0x2be558=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x199)),_0x27a003=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x221)),_0x6788c3=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x197)),_0x98e91c=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x1d08aa)['me'],_0x36a59e=_0x2331e2[_0x215714(0x205)](_0x215714(0x213))[_0x215714(0x1b5)],_0x453816=_0x2331e2[_0x215714(0x205)](_0x215714(0x213))[_0x215714(0x1c4)],{CommentsListView:_0x5b1c87,CommentThreadInputView:_0x319e69}=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x17c));let _0xa91de5,_0x295808,_0x19bf84;this[_0x215714(0x1bc)][_0x215714(0x198)](_0x2b953b['id'])?(_0x295808=this[_0x215714(0x1bc)][_0x215714(0x205)](_0x2b953b['id']),_0xa91de5=_0x295808[_0x215714(0x18e)]):(_0xa91de5=new _0x36a59e(_0x3e3b52[_0x215714(0x1c5)],_0x2b953b,_0x98e91c,{'disableComments':this[_0x215714(0x21e)],'editorConfig':{..._0x2331e2[_0x215714(0x205)](_0x215714(0x184)),'licenseKey':_0x2331e2[_0x215714(0x205)](_0x215714(0x222))},'maxCommentsWhenCollapsed':_0x2331e2[_0x215714(0x205)](_0x215714(0x178)),'maxThreadTotalWeight':_0x2331e2[_0x215714(0x205)](_0x215714(0x170)),'maxCommentCharsWhenCollapsed':_0x2331e2[_0x215714(0x205)](_0x215714(0x16f)),'formatDateTime':_0x1b813f(_0x2331e2[_0x215714(0x205)](_0x215714(0x1c5)),_0x3e3b52[_0x215714(0x1c5)]),'CommentView':_0x2331e2[_0x215714(0x205)](_0x215714(0x177))[_0x215714(0x1e1)],'CommentsListView':_0x5b1c87,'CommentThreadInputView':_0x319e69,'SuggestionView':_0x453816}),_0xa91de5[_0x215714(0x208)][_0x215714(0x18f)]['on'](_0x215714(0x1a4),()=>{const _0x482541=_0x215714;_0x3e3b52[_0x482541(0x1a2)][_0x482541(0x18d)][_0x482541(0x219)]();}),_0xa91de5[_0x215714(0x208)][_0x215714(0x1fd)]['on'](_0x215714(0x1a4),()=>{const _0xa94e12=_0x215714;_0x3e3b52[_0xa94e12(0x1a2)][_0xa94e12(0x18d)][_0xa94e12(0x219)]();}),_0x295808=_0x2be558[_0x215714(0x20f)](this[_0x215714(0x21b)][_0x215714(0x1c5)],_0xa91de5),_0x295808[_0x215714(0x176)](_0x215714(0x1cf))['to'](_0xa91de5,_0x215714(0x1cf)),_0x295808[_0x215714(0x176)](_0x215714(0x1a7))['to'](_0xa91de5),_0x295808[_0x215714(0x176)](_0x215714(0x18b))['to'](_0xa91de5,_0x215714(0x18b),_0x4d0284=>_0x215714(0x1af)+_0x4d0284),_0xa91de5['on'](_0x215714(0x1b9),()=>{const _0x1d3be2=_0x215714;_0x19bf84[_0x1d3be2(0x19c)](_0x1d3be2(0x1b9));}),this[_0x215714(0x1bc)][_0x215714(0x187)](_0x2b953b['id'],_0x295808));const _0x3086f7=_0x27a003[_0x215714(0x182)](_0x2b953b[_0x215714(0x1dc)],_0xa91de5),_0xda9d5=new _0x151847(_0x3e3b52,_0x2b953b,_0xa91de5,_0x3086f7),_0x57aaf1=_0x2b953b[_0x215714(0x1d6)]()[_0x215714(0x1b2)](_0x49c906=>_0x49c906[_0x215714(0x1c0)]);_0xa91de5[_0x215714(0x179)]=_0x3e3b52[_0x215714(0x194)][_0x215714(0x205)](_0x215714(0x17f))[_0x215714(0x1fa)][_0x215714(0x1e7)](_0x57aaf1),this[_0x215714(0x1c6)][_0x215714(0x187)](_0x2b953b,_0xda9d5),this[_0x215714(0x1cb)][_0x215714(0x187)](_0xa91de5,_0xda9d5);const _0x28c041=()=>{const _0x1d1b6a=_0x215714,_0xdb8ba7=[],_0x5b707f=_0x2b953b[_0x1d1b6a(0x1d6)]()[_0x1d1b6a(0x1b2)](_0x55b402=>_0x55b402[_0x1d1b6a(0x1c0)]);for(const _0x1090a5 of _0x5b707f)_0xdb8ba7[_0x1d1b6a(0x1e8)](..._0x1090a5[_0x1d1b6a(0x201)]());return _0x569f85(_0x3e3b52[_0x1d1b6a(0x1a2)],_0xdb8ba7);};_0x19bf84=_0x2be558[_0x215714(0x1fe)]({'view':_0x295808,'target':_0x28c041,'type':()=>_0x215714(0x1af)+_0xda9d5[_0x215714(0x18d)][_0x215714(0x18b)],'isVisible':!!_0x28c041()}),_0x27a003[_0x215714(0x1bf)](_0xa91de5,_0x19bf84),_0x2be558[_0x215714(0x196)](_0x19bf84),_0x6788c3[_0x215714(0x1ea)](_0x19bf84);}[_0x264401(0x216)](_0x1c4abc){const _0x48cce7=_0x264401,_0x3ddebe=this[_0x48cce7(0x21b)][_0x48cce7(0x194)][_0x48cce7(0x205)](_0x48cce7(0x221)),_0x1c1ad4=this[_0x48cce7(0x21b)][_0x48cce7(0x194)][_0x48cce7(0x205)](_0x48cce7(0x199)),_0x3180fa=this[_0x48cce7(0x1c6)][_0x48cce7(0x205)](_0x1c4abc),_0x3c6c95=_0x3180fa[_0x48cce7(0x18d)],_0x4825a2=_0x1c1ad4[_0x48cce7(0x171)](_0x3c6c95);_0x3ddebe[_0x48cce7(0x21c)](_0x3c6c95),_0x4825a2&&_0x1c1ad4[_0x48cce7(0x17d)](_0x4825a2),this[_0x48cce7(0x1c6)][_0x48cce7(0x1be)](_0x1c4abc),this[_0x48cce7(0x1cb)][_0x48cce7(0x1be)](_0x3c6c95),_0x3180fa[_0x48cce7(0x1ee)]();}[_0x264401(0x1da)](_0x186169){const _0x586695=_0x264401;if(!_0x186169[_0x586695(0x1c0)]||!this[_0x586695(0x1c6)][_0x586695(0x198)](_0x186169))return;const _0x20229e=this[_0x586695(0x21b)][_0x586695(0x194)][_0x586695(0x205)](_0x586695(0x17f)),_0x423aea=this[_0x586695(0x1c6)][_0x586695(0x205)](_0x186169),_0xdea407=_0x186169[_0x586695(0x1d6)]();_0x423aea[_0x586695(0x18d)][_0x586695(0x179)]=_0x20229e[_0x586695(0x1fa)][_0x586695(0x1e7)](_0xdea407);}[_0x264401(0x1ee)](){const _0x6ebb51=_0x264401;for(const _0x14c4db of this[_0x6ebb51(0x1c6)][_0x6ebb51(0x218)]())this[_0x6ebb51(0x216)](_0x14c4db);for(const _0x4db666 of this[_0x6ebb51(0x1bc)][_0x6ebb51(0x19b)]())_0x4db666[_0x6ebb51(0x18e)][_0x6ebb51(0x1ee)]();super[_0x6ebb51(0x1ee)](),this[_0x6ebb51(0x1d5)]&&clearInterval(this[_0x6ebb51(0x1d5)]);}}function _0x26be(_0x4d5e76,_0x1202fa){const _0x7da827=_0x7da8();return _0x26be=function(_0x26becb,_0x53408b){_0x26becb=_0x26becb-0x16f;let _0x476cfa=_0x7da827[_0x26becb];return _0x476cfa;},_0x26be(_0x4d5e76,_0x1202fa);}function ke(_0x27f2a5){const _0x39e799=_0x264401;return _0x39e799(0x1f4)in _0x27f2a5;}
|
|
23
|
+
function _0x54ec(){const _0x44e084=['children','change:activeAnnotations','refreshSelectedViews','commandName','componentFactory','_updateController','TrackChanges','Accept\x20all\x20selected\x20suggestions','_unbindEditors','stopListening','menuitemcheckbox','_createToolbarButton','reduce','menuBar:trackChanges','TrackChangesPreview','suggestionUnloaded','_suggestionToController','CommentsRepository','160zfVoWt','suggestionLoaded','trackChangesLicenseKeyInvalid','menu','acceptButton','_addUIComponentsToFactory','createAnnotationView','_createMenuBarMenu','EditorAnnotations','20671rIohYe','createAnnotation','trackChangesLicenseKeyValid','pluginName','has','focus','trackChanges.SuggestionThreadView','91NmaIlI','editing','isInContent','comments.maxThreadTotalWeight','Track\x20changes','source','hasSuggestion','commentsListView','separator','domainLimit','listenTo','SuggestionView','previous','comments.maxCommentCharsWhenCollapsed','descriptionFactory','getRanges','length','Discard\x20all\x20selected\x20suggestions','25tgOalm','trackChangesLicenseKeyTrialLimit','TrackChangesUI','getDescriptions','panelView','_viewToController','type','comments.maxCommentsWhenCollapsed','clear','_handleControllerBuffer','button','_bindAnnotationToEditors','suggestionChanged','delete','discardSelectedSuggestions','getAllAdjacentSuggestions','_handleSuggestionControllerDelayed','init','requires','SuggestionThreadView','discardButton','values','activeMarkers','head','buttonView','commands','actionView','comments.editorConfig','menuitem','comments','trackChanges','CommentView','size','featureNotAllowed','licenseKey','model','isOn','usageLimit','_initializeController','getFirstRange','trackChangesLicenseKeyEvaluationLimit','addMany','createCommentThreadController','destroy','filter','switchbutton','Annotations','fire','_showLicenseError','commentThread','CommentsUI','isPremiumPlugin','10163690jTHaSq','5eRmJKi','addComment','descriptionParts','getJoined','innerView','TrackChangesEditing','isOfficialPlugin','getByInnerView','getSuggestionForAnnotation','3RDADmf','suggestionView','getSuggestion','trackChangesLicenseKeyExpired','addSourceCollector','trackChanges.SuggestionView','11rwoHBi','suggestion-','acceptSelectedSuggestions','discardAllSuggestions','_disableComments','some','change:previous','lowest','define','isMultiRange','1714044wqGqJy','arrowView','trackChangesLicenseKeyNotAllowed','config','442838LoZvrH','from','editor','items','view','Preview\x20final\x20content','get','getMarkerNames','_refreshActiveMarkers','_annotationViews','add','toMany','bind','_licenseKeyCheckInterval','execute','registerAnnotation','previewFinalContent','push','isDirty','value','trackChanges.disableComments','isEnabled','trialLimit','invalid','remove','Accept\x20all\x20suggestions','acceptAllSuggestions','getMarkers','10005957kdHMgv','escape','trackChangesLicenseKeyUsageLimit','delegate','trackChangesLicenseKeyDomainLimit','set','keys','393798EeUYyF','unbind','getAnnotationForSuggestion','plugins','mainView','activeAnnotations','Discard\x20all\x20suggestions','_destroyController','expired','2151008pLaEwF','evaluationLimit','locale'];_0x54ec=function(){return _0x44e084;};return _0x54ec();}const _0x2b750c=_0x1718;function _0x1718(_0x129538,_0x33cc52){const _0x54ec1e=_0x54ec();return _0x1718=function(_0x171899,_0x511731){_0x171899=_0x171899-0x106;let _0x3a3a30=_0x54ec1e[_0x171899];return _0x3a3a30;},_0x1718(_0x129538,_0x33cc52);}(function(_0x5ec781,_0x2ada75){const _0x5c3127=_0x1718,_0x5ab055=_0x5ec781();while(!![]){try{const _0x3964ce=-parseInt(_0x5c3127(0x171))/0x1*(parseInt(_0x5c3127(0x18e))/0x2)+-parseInt(_0x5c3127(0x17a))/0x3*(-parseInt(_0x5c3127(0x1ba))/0x4)+parseInt(_0x5c3127(0x13c))/0x5*(parseInt(_0x5c3127(0x1b1))/0x6)+-parseInt(_0x5c3127(0x123))/0x7*(parseInt(_0x5c3127(0x11a))/0x8)+-parseInt(_0x5c3127(0x1aa))/0x9+-parseInt(_0x5c3127(0x170))/0xa*(-parseInt(_0x5c3127(0x180))/0xb)+-parseInt(_0x5c3127(0x18a))/0xc*(-parseInt(_0x5c3127(0x12a))/0xd);if(_0x3964ce===_0x2ada75)break;else _0x5ab055['push'](_0x5ab055['shift']());}catch(_0x12bd56){_0x5ab055['push'](_0x5ab055['shift']());}}}(_0x54ec,0x93839));import{Plugin as _0x364d49}from'ckeditor5/src/core.js';import{Collection as _0x1f3599}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x43f03b}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4dea21,createDropdown as _0x5c8542,ListSeparatorView as _0x4cdd95,MenuBarMenuView as _0x5ae61c,MenuBarMenuListView as _0x4b3e2a,MenuBarMenuListItemView as _0xe2ae4f,MenuBarMenuListItemButtonView as _0x4bfd8e,SplitButtonView as _0x4194df,UIModel as _0x2a8d12}from'ckeditor5/src/ui.js';import{Users as _0x566b6d,getDateTimeFormatter as _0x5a6fdd,getAllMarkersDomElementsSorted as _0x155528}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2df106}from'./trackchangesediting.js';import{SuggestionController as _0x19c96b}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x26b6b0}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x448cc7}from'./ui/view/suggestionview.js';import{getTranslation as _0x1efdb1}from'./utils/common-translations.js';export class TrackChangesUI extends _0x364d49{[_0x2b750c(0x15e)];[_0x2b750c(0x19b)];[_0x2b750c(0x118)];[_0x2b750c(0x141)];[_0x2b750c(0x197)];[_0x2b750c(0x145)];[_0x2b750c(0x184)];static get[_0x2b750c(0x14e)](){const _0x387197=_0x2b750c;return[_0x2df106,_0x566b6d,_0x387197(0x119),_0x387197(0x16a),_0x387197(0x122)];}static get[_0x2b750c(0x126)](){const _0x1bb9fc=_0x2b750c;return _0x1bb9fc(0x13e);}static get[_0x2b750c(0x177)](){return!0x0;}static get[_0x2b750c(0x16f)](){return!0x0;}constructor(_0x5f1f13){const _0x3ba7a0=_0x2b750c;super(_0x5f1f13),this[_0x3ba7a0(0x118)]=new Map(),this[_0x3ba7a0(0x141)]=new Map(),this[_0x3ba7a0(0x197)]=new Map(),this[_0x3ba7a0(0x145)]=new Map();const _0x3ec9d1=this[_0x3ba7a0(0x190)][_0x3ba7a0(0x18d)];_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x129),_0x26b6b0),_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x17f),_0x448cc7),_0x3ec9d1[_0x3ba7a0(0x188)](_0x3ba7a0(0x1a2),!0x1),this[_0x3ba7a0(0x184)]=_0x3ec9d1[_0x3ba7a0(0x194)](_0x3ba7a0(0x1a2));}[_0x2b750c(0x14c)](_0x188aa6,_0x5894a8){const _0x412b26=_0x2b750c;0x0===this[_0x412b26(0x145)][_0x412b26(0x15c)]&&setTimeout(()=>{const _0x14cc08=_0x412b26;for(const [_0x518e96,_0x3b2c89]of this[_0x14cc08(0x145)]){const _0xcda424=this[_0x14cc08(0x118)][_0x14cc08(0x127)](_0x518e96);_0xcda424||_0x3b2c89?_0xcda424&&_0x3b2c89&&this[_0x14cc08(0x1b8)](_0x518e96):this[_0x14cc08(0x162)](_0x518e96);}this[_0x14cc08(0x145)][_0x14cc08(0x144)](),this[_0x14cc08(0x190)][_0x14cc08(0x1b4)][_0x14cc08(0x194)](_0x14cc08(0x122))[_0x14cc08(0x10a)](),this[_0x14cc08(0x196)]();},0xa),this[_0x412b26(0x145)][_0x412b26(0x1af)](_0x188aa6,_0x5894a8);}[_0x2b750c(0x14d)](){const _0x5294fd=_0x2b750c,_0x55753e=this[_0x5294fd(0x190)],_0x3b7ba1=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x176)),_0x3a2e22=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x16a)),_0x332115=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x122)),_0xec92ba=_0x55753e[_0x5294fd(0x1b4)][_0x5294fd(0x194)](_0x5294fd(0x119));this[_0x5294fd(0x11f)](),_0x332115[_0x5294fd(0x17e)](()=>{const _0x324d7a=_0x5294fd,_0x93bb1c=[];for(const [_0x1e5723,_0x4a4a44]of Array[_0x324d7a(0x18f)](this[_0x324d7a(0x118)])){const _0x411260=_0x1e5723[_0x324d7a(0x14b)](),_0x1fb69c=[];for(const _0x3904e9 of _0x411260){if(!_0x3904e9[_0x324d7a(0x12c)])continue;if(_0x3904e9[_0x324d7a(0x189)]){_0x1fb69c[_0x324d7a(0x19f)](..._0x3904e9[_0x324d7a(0x139)]());continue;}const _0x255d85=_0x3904e9[_0x324d7a(0x163)]();if(_0x1fb69c[_0x324d7a(0x13a)]>0x0){const _0x4ab28e=_0x1fb69c[0x0][_0x324d7a(0x174)](_0x255d85);if(_0x4ab28e){_0x1fb69c[0x0]=_0x4ab28e;continue;}}_0x1fb69c[_0x324d7a(0x19f)](_0x255d85);}_0x93bb1c[_0x324d7a(0x19f)]([_0x4a4a44[_0x324d7a(0x192)],_0x1fb69c]);}return _0x93bb1c;}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x11b),(_0x5469d9,_0x4b34e8)=>{const _0x4553d4=_0x5294fd;this[_0x4553d4(0x134)](_0x4b34e8,_0x4553d4(0x186),(_0x47d893,_0x3d3b40,_0x37b5fb,_0x2658ee)=>{const _0x55708c=_0x4553d4;_0x4b34e8[_0x55708c(0x12c)]&&(null==_0x37b5fb?(this[_0x55708c(0x10d)](_0x2658ee[_0x55708c(0x153)]),this[_0x55708c(0x14c)](_0x4b34e8,!0x1)):(this[_0x55708c(0x10d)](_0x37b5fb[_0x55708c(0x153)]),null==_0x2658ee&&this[_0x55708c(0x14c)](_0x4b34e8,!0x0)));}),null!==_0x4b34e8[_0x4553d4(0x136)]?this[_0x4553d4(0x10d)](_0x4b34e8[_0x4553d4(0x153)]):this[_0x4553d4(0x14c)](_0x4b34e8,!0x1);}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x117),(_0x3fe7cf,_0x1c0ee7,_0x1b065a)=>{const _0x47ba65=_0x5294fd;this[_0x47ba65(0x111)](_0x1c0ee7,_0x47ba65(0x186)),this[_0x47ba65(0x145)][_0x47ba65(0x149)](_0x1c0ee7),this[_0x47ba65(0x118)][_0x47ba65(0x127)](_0x1c0ee7)&&this[_0x47ba65(0x1b8)](_0x1c0ee7),_0x1b065a&&this[_0x47ba65(0x10d)](_0x1b065a[_0x47ba65(0x153)]);}),this[_0x5294fd(0x134)](_0x3b7ba1,_0x5294fd(0x148),(_0x230dfa,_0x24b333)=>{const _0x29edc9=_0x5294fd;this[_0x29edc9(0x10d)](_0x24b333);}),this[_0x5294fd(0x134)](_0x3a2e22,_0x5294fd(0x109),()=>{const _0x56857d=_0x5294fd;this[_0x56857d(0x196)]();}),this[_0x5294fd(0x134)](_0xec92ba,_0x5294fd(0x172),(_0x5b6675,{threadId:_0x3f5565,isFromAdapter:_0x174423})=>{const _0x30c66e=_0x5294fd;if(_0x174423||!_0x3b7ba1[_0x30c66e(0x130)](_0x3f5565))return;const _0x35aff2=_0x3b7ba1[_0x30c66e(0x17c)](_0x3f5565);this[_0x30c66e(0x118)][_0x30c66e(0x194)](_0x35aff2)[_0x30c66e(0x192)][_0x30c66e(0x131)][_0x30c66e(0x128)](-0x1);},{'priority':_0x5294fd(0x187)}),this[_0x5294fd(0x15e)]=this[_0x5294fd(0x190)][_0x5294fd(0x18d)][_0x5294fd(0x194)](_0x5294fd(0x15e));const _0x213c32=this[_0x5294fd(0x190)];this[_0x5294fd(0x19b)]=setInterval(()=>{const _0x1d3244=_0x5294fd;let _0x4854f5;for(const _0x47b711 in _0x213c32){const _0xbabd2f=_0x47b711,_0x463ad8=_0x213c32[_0xbabd2f];if(_0x1d3244(0x125)==_0x463ad8||_0x1d3244(0x11c)==_0x463ad8||_0x1d3244(0x17d)==_0x463ad8||_0x1d3244(0x1ae)==_0x463ad8||_0x1d3244(0x18c)==_0x463ad8||_0x1d3244(0x164)==_0x463ad8||_0x1d3244(0x13d)==_0x463ad8||_0x1d3244(0x1ac)==_0x463ad8){delete _0x213c32[_0xbabd2f],_0x4854f5=_0x463ad8,clearInterval(this[_0x1d3244(0x19b)]),this[_0x1d3244(0x19b)]=void 0x0;break;}}_0x1d3244(0x11c)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1a5)),_0x1d3244(0x17d)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1b9)),_0x1d3244(0x1ae)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x133)),_0x1d3244(0x18c)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x15d),_0x1d3244(0x10e)),_0x1d3244(0x164)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x106)),_0x1d3244(0x13d)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x1a4)),_0x1d3244(0x1ac)==_0x4854f5&&_0x213c32[_0x1d3244(0x16c)](_0x1d3244(0x161));},0x3e8);}[_0x2b750c(0x1b3)](_0x4feb4a){const _0x368bb3=_0x2b750c,_0x356a8f=this[_0x368bb3(0x118)][_0x368bb3(0x194)](_0x4feb4a);if(!_0x356a8f)return null;return this[_0x368bb3(0x190)][_0x368bb3(0x1b4)][_0x368bb3(0x194)](_0x368bb3(0x16a))[_0x368bb3(0x178)](_0x356a8f[_0x368bb3(0x192)])||null;}[_0x2b750c(0x179)](_0x4dc579){const _0x4268e2=_0x2b750c,_0x10a198=this[_0x4268e2(0x141)][_0x4268e2(0x194)](_0x4dc579[_0x4268e2(0x175)]);return _0x10a198?_0x10a198[_0x4268e2(0x15f)]:null;}[_0x2b750c(0x196)](){const _0x53c9f3=_0x2b750c,_0x45a183=this[_0x53c9f3(0x190)][_0x53c9f3(0x1b4)][_0x53c9f3(0x194)](_0x53c9f3(0x16a)),_0x4e49c7=this[_0x53c9f3(0x190)][_0x53c9f3(0x1b4)][_0x53c9f3(0x194)](_0x53c9f3(0x176)),_0x5d0222=Array[_0x53c9f3(0x18f)](_0x45a183[_0x53c9f3(0x1b6)],_0x1aea05=>_0x1aea05[_0x53c9f3(0x175)])[_0x53c9f3(0x168)](_0x48aa42=>this[_0x53c9f3(0x141)][_0x53c9f3(0x127)](_0x48aa42)),_0xfad73e=[];for(const _0x80ec4b of _0x5d0222){const _0x7b9fd2=this[_0x53c9f3(0x141)][_0x53c9f3(0x194)](_0x80ec4b)[_0x53c9f3(0x15f)][_0x53c9f3(0x14b)]();_0xfad73e[_0x53c9f3(0x19f)](..._0x7b9fd2[_0x53c9f3(0x114)]((_0x4b1672,_0x3cdbfd)=>[..._0x4b1672,..._0x3cdbfd[_0x53c9f3(0x195)]()],[]));}_0x4e49c7[_0x53c9f3(0x152)]=_0xfad73e;}[_0x2b750c(0x11f)](){const _0x2c25f7=_0x2b750c,_0x3cd73a=this[_0x2c25f7(0x190)],_0xd4737b=_0x3cd73a[_0x2c25f7(0x107)],_0x44d026=_0x1efdb1(_0xd4737b,_0x2c25f7(0x12e)),_0x576283=new _0x1f3599([{'type':_0x2c25f7(0x169),'model':new _0x2a8d12({'withText':!0x0,'isToggleable':!0x0,'label':_0x44d026,'commandName':_0x2c25f7(0x15a),'role':_0x2c25f7(0x112)})},{'type':_0x2c25f7(0x132)},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x1a7)),'commandName':_0x2c25f7(0x1a8),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x10f)),'commandName':_0x2c25f7(0x182),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x1b7)),'commandName':_0x2c25f7(0x183),'role':_0x2c25f7(0x158)})},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x13b)),'commandName':_0x2c25f7(0x14a),'role':_0x2c25f7(0x158)})}]);_0x3cd73a[_0x2c25f7(0x1b4)][_0x2c25f7(0x127)](_0x2c25f7(0x116))&&_0x576283[_0x2c25f7(0x165)]([{'type':_0x2c25f7(0x132)},{'type':_0x2c25f7(0x146),'model':new _0x2a8d12({'withText':!0x0,'label':_0x1efdb1(_0xd4737b,_0x2c25f7(0x193)),'commandName':_0x2c25f7(0x19e),'role':_0x2c25f7(0x158)})}]);for(const _0x2d6364 of _0x576283)if(ke(_0x2d6364)){const _0x801aba=_0x3cd73a[_0x2c25f7(0x155)][_0x2c25f7(0x194)](_0x2d6364[_0x2c25f7(0x15f)][_0x2c25f7(0x10b)]);_0x2d6364[_0x2c25f7(0x15f)][_0x2c25f7(0x19a)](_0x2c25f7(0x160),_0x2c25f7(0x1a3))['to'](_0x801aba,_0x2c25f7(0x1a1),_0x2c25f7(0x1a3));}_0x3cd73a['ui'][_0x2c25f7(0x10c)][_0x2c25f7(0x198)](_0x2c25f7(0x15a),_0x34788f=>this[_0x2c25f7(0x113)](_0x34788f,_0x576283,_0x44d026)),_0x3cd73a['ui'][_0x2c25f7(0x10c)][_0x2c25f7(0x198)](_0x2c25f7(0x115),_0x34ffd4=>this[_0x2c25f7(0x121)](_0x34ffd4,_0x576283,_0x44d026));}[_0x2b750c(0x113)](_0x28a114,_0x35ba5d,_0x28babf){const _0xe18ff9=_0x2b750c,_0x472e37=_0x5c8542(_0x28a114,_0x4194df),_0x4f7091=this[_0xe18ff9(0x190)][_0xe18ff9(0x155)][_0xe18ff9(0x194)](_0xe18ff9(0x15a));_0x472e37[_0xe18ff9(0x154)][_0xe18ff9(0x1af)]({'tooltip':_0x28babf,'label':_0x28babf,'icon':_0x43f03b}),_0x472e37[_0xe18ff9(0x154)][_0xe18ff9(0x19a)](_0xe18ff9(0x160))['to'](_0x4f7091,_0xe18ff9(0x1a1)),_0x472e37[_0xe18ff9(0x154)]['on'](_0xe18ff9(0x19c),()=>{const _0x2a0c68=_0xe18ff9;_0x4f7091[_0x2a0c68(0x19c)](),this[_0x2a0c68(0x190)][_0x2a0c68(0x12b)][_0x2a0c68(0x192)][_0x2a0c68(0x128)]();}),_0x4dea21(_0x472e37,_0x35ba5d,{'role':_0xe18ff9(0x11d)});const _0xdb73e0=[];for(const _0x45b8fa of _0x35ba5d)ke(_0x45b8fa)&&_0xdb73e0[_0xe18ff9(0x19f)](this[_0xe18ff9(0x190)][_0xe18ff9(0x155)][_0xe18ff9(0x194)](_0x45b8fa[_0xe18ff9(0x15f)][_0xe18ff9(0x10b)]));const _0x7aeafb=_0x472e37[_0xe18ff9(0x154)];return _0x7aeafb[_0xe18ff9(0x156)][_0xe18ff9(0x1b2)](_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x18b)][_0xe18ff9(0x1b2)](_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x156)][_0xe18ff9(0x19a)](_0xe18ff9(0x1a3))['to'](_0x4f7091,_0xe18ff9(0x1a3)),_0x7aeafb[_0xe18ff9(0x18b)][_0xe18ff9(0x19a)](_0xe18ff9(0x1a3))[_0xe18ff9(0x199)](_0xdb73e0,_0xe18ff9(0x1a3),(..._0x1767c6)=>_0x1767c6[_0xe18ff9(0x185)](_0x320b16=>_0x320b16)),_0x472e37['on'](_0xe18ff9(0x19c),_0x489e59=>{const _0x558993=_0xe18ff9;this[_0x558993(0x190)][_0x558993(0x19c)](_0x489e59[_0x558993(0x12f)][_0x558993(0x10b)]),this[_0x558993(0x190)][_0x558993(0x12b)][_0x558993(0x192)][_0x558993(0x128)]();}),_0x472e37;}[_0x2b750c(0x121)](_0x2632c7,_0xbc03d6,_0x4a887c){const _0x5e6d56=_0x2b750c,_0x3f1121=new _0x5ae61c(_0x2632c7),_0x182259=this[_0x5e6d56(0x190)][_0x5e6d56(0x155)][_0x5e6d56(0x194)](_0x5e6d56(0x15a));_0x3f1121[_0x5e6d56(0x154)][_0x5e6d56(0x1af)]({'label':_0x4a887c,'icon':_0x43f03b});const _0x2ce6d0=new _0x4b3e2a(_0x2632c7);for(const _0x202334 of _0xbc03d6){if(_0x5e6d56(0x132)==_0x202334[_0x5e6d56(0x142)]){_0x2ce6d0[_0x5e6d56(0x191)][_0x5e6d56(0x198)](new _0x4cdd95(_0x2632c7));continue;}const _0x5ed2e1=new _0xe2ae4f(_0x2632c7,_0x3f1121),_0x560e29=new _0x4bfd8e(_0x2632c7),_0x583713=_0x202334[_0x5e6d56(0x15f)];_0x560e29[_0x5e6d56(0x19a)](...Object[_0x5e6d56(0x1b0)](_0x583713))['to'](_0x583713),_0x560e29[_0x5e6d56(0x1ad)](_0x5e6d56(0x19c))['to'](_0x3f1121),_0x560e29['on'](_0x5e6d56(0x19c),()=>{const _0x4e59ff=_0x5e6d56;this[_0x4e59ff(0x190)][_0x4e59ff(0x19c)](_0x583713[_0x4e59ff(0x10b)]),this[_0x4e59ff(0x190)][_0x4e59ff(0x12b)][_0x4e59ff(0x192)][_0x4e59ff(0x128)]();}),_0x5ed2e1[_0x5e6d56(0x108)][_0x5e6d56(0x198)](_0x560e29),_0x2ce6d0[_0x5e6d56(0x191)][_0x5e6d56(0x198)](_0x5ed2e1);}return _0x3f1121[_0x5e6d56(0x19a)](_0x5e6d56(0x1a3))['to'](_0x182259,_0x5e6d56(0x1a3)),_0x3f1121[_0x5e6d56(0x140)][_0x5e6d56(0x108)][_0x5e6d56(0x198)](_0x2ce6d0),_0x3f1121;}[_0x2b750c(0x162)](_0xeb0873){const _0x42abcf=_0x2b750c,_0x1c6017=this[_0x42abcf(0x190)],_0x44af5b=_0x1c6017[_0x42abcf(0x18d)],_0x45042e=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x16a)),_0x12bfef=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x119)),_0x3a17ab=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x122)),_0x33d514=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x566b6d)['me'],_0x458f5e=_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15a))[_0x42abcf(0x14f)],_0x1cc299=_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15a))[_0x42abcf(0x135)],{CommentsListView:_0x473393,CommentThreadInputView:_0x5a949b}=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x16e));let _0x4ad203,_0x444e77,_0x4f56ee;this[_0x42abcf(0x197)][_0x42abcf(0x127)](_0xeb0873['id'])?(_0x444e77=this[_0x42abcf(0x197)][_0x42abcf(0x194)](_0xeb0873['id']),_0x4ad203=_0x444e77[_0x42abcf(0x1b5)]):(_0x4ad203=new _0x458f5e(_0x1c6017[_0x42abcf(0x107)],_0xeb0873,_0x33d514,{'disableComments':this[_0x42abcf(0x184)],'editorConfig':{..._0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x157)),'licenseKey':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x15e))},'maxCommentsWhenCollapsed':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x143)),'maxThreadTotalWeight':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x12d)),'maxCommentCharsWhenCollapsed':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x137)),'formatDateTime':_0x5a6fdd(_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x107)),_0x1c6017[_0x42abcf(0x107)]),'CommentView':_0x44af5b[_0x42abcf(0x194)](_0x42abcf(0x159))[_0x42abcf(0x15b)],'CommentsListView':_0x473393,'CommentThreadInputView':_0x5a949b,'SuggestionView':_0x1cc299}),_0x4ad203[_0x42abcf(0x17b)][_0x42abcf(0x11e)]['on'](_0x42abcf(0x19c),()=>{const _0x2acba4=_0x42abcf;_0x1c6017[_0x2acba4(0x12b)][_0x2acba4(0x192)][_0x2acba4(0x128)]();}),_0x4ad203[_0x42abcf(0x17b)][_0x42abcf(0x150)]['on'](_0x42abcf(0x19c),()=>{const _0x17e97b=_0x42abcf;_0x1c6017[_0x17e97b(0x12b)][_0x17e97b(0x192)][_0x17e97b(0x128)]();}),_0x444e77=_0x45042e[_0x42abcf(0x120)](this[_0x42abcf(0x190)][_0x42abcf(0x107)],_0x4ad203),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x1a0))['to'](_0x4ad203,_0x42abcf(0x1a0)),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x13a))['to'](_0x4ad203),_0x444e77[_0x42abcf(0x19a)](_0x42abcf(0x142))['to'](_0x4ad203,_0x42abcf(0x142),_0x38b625=>_0x42abcf(0x181)+_0x38b625),_0x4ad203['on'](_0x42abcf(0x1ab),()=>{const _0x338c5a=_0x42abcf;_0x4f56ee[_0x338c5a(0x16b)](_0x338c5a(0x1ab));}),this[_0x42abcf(0x197)][_0x42abcf(0x1af)](_0xeb0873['id'],_0x444e77));const _0x7d2af5=_0x12bfef[_0x42abcf(0x166)](_0xeb0873[_0x42abcf(0x16d)],_0x4ad203),_0x204ecb=new _0x19c96b(_0x1c6017,_0xeb0873,_0x4ad203,_0x7d2af5),_0x43d85c=_0xeb0873[_0x42abcf(0x14b)]()[_0x42abcf(0x168)](_0x3f6632=>_0x3f6632[_0x42abcf(0x12c)]);_0x4ad203[_0x42abcf(0x173)]=_0x1c6017[_0x42abcf(0x1b4)][_0x42abcf(0x194)](_0x42abcf(0x176))[_0x42abcf(0x138)][_0x42abcf(0x13f)](_0x43d85c),this[_0x42abcf(0x118)][_0x42abcf(0x1af)](_0xeb0873,_0x204ecb),this[_0x42abcf(0x141)][_0x42abcf(0x1af)](_0x4ad203,_0x204ecb);const _0x170860=()=>{const _0x328642=_0x42abcf,_0x27ddec=[],_0x304e77=_0xeb0873[_0x328642(0x14b)]()[_0x328642(0x168)](_0x1fb0b3=>_0x1fb0b3[_0x328642(0x12c)]);for(const _0x4c35c0 of _0x304e77)_0x27ddec[_0x328642(0x19f)](..._0x4c35c0[_0x328642(0x1a9)]());return _0x155528(_0x1c6017[_0x328642(0x12b)],_0x27ddec);};_0x4f56ee=_0x45042e[_0x42abcf(0x124)]({'view':_0x444e77,'target':_0x170860,'type':()=>_0x42abcf(0x181)+_0x204ecb[_0x42abcf(0x192)][_0x42abcf(0x142)],'isVisible':!!_0x170860()}),_0x12bfef[_0x42abcf(0x147)](_0x4ad203,_0x4f56ee),_0x45042e[_0x42abcf(0x198)](_0x4f56ee),_0x3a17ab[_0x42abcf(0x19d)](_0x4f56ee);}[_0x2b750c(0x1b8)](_0x4ba498){const _0x2a1713=_0x2b750c,_0x267ad4=this[_0x2a1713(0x190)][_0x2a1713(0x1b4)][_0x2a1713(0x194)](_0x2a1713(0x119)),_0x37400a=this[_0x2a1713(0x190)][_0x2a1713(0x1b4)][_0x2a1713(0x194)](_0x2a1713(0x16a)),_0x5aed3c=this[_0x2a1713(0x118)][_0x2a1713(0x194)](_0x4ba498),_0x2b3e3e=_0x5aed3c[_0x2a1713(0x192)],_0x22d916=_0x37400a[_0x2a1713(0x178)](_0x2b3e3e);_0x267ad4[_0x2a1713(0x110)](_0x2b3e3e),_0x22d916&&_0x37400a[_0x2a1713(0x1a6)](_0x22d916),this[_0x2a1713(0x118)][_0x2a1713(0x149)](_0x4ba498),this[_0x2a1713(0x141)][_0x2a1713(0x149)](_0x2b3e3e),_0x5aed3c[_0x2a1713(0x167)]();}[_0x2b750c(0x10d)](_0x255508){const _0x88408c=_0x2b750c;if(!_0x255508[_0x88408c(0x12c)]||!this[_0x88408c(0x118)][_0x88408c(0x127)](_0x255508))return;const _0x34f225=this[_0x88408c(0x190)][_0x88408c(0x1b4)][_0x88408c(0x194)](_0x88408c(0x176)),_0x39a399=this[_0x88408c(0x118)][_0x88408c(0x194)](_0x255508),_0x6e92cb=_0x255508[_0x88408c(0x14b)]();_0x39a399[_0x88408c(0x192)][_0x88408c(0x173)]=_0x34f225[_0x88408c(0x138)][_0x88408c(0x13f)](_0x6e92cb);}[_0x2b750c(0x167)](){const _0x5ef229=_0x2b750c;for(const _0x25cd49 of this[_0x5ef229(0x118)][_0x5ef229(0x1b0)]())this[_0x5ef229(0x1b8)](_0x25cd49);for(const _0x57682f of this[_0x5ef229(0x197)][_0x5ef229(0x151)]())_0x57682f[_0x5ef229(0x1b5)][_0x5ef229(0x167)]();super[_0x5ef229(0x167)](),this[_0x5ef229(0x19b)]&&clearInterval(this[_0x5ef229(0x19b)]);}}function ke(_0x2920ad){const _0xdd52b6=_0x2b750c;return _0xdd52b6(0x15f)in _0x2920ad;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1cf4(){const _0x3d668d=['isDirty','16KbJRCR','1072749lHBTUY','1559887zTezap','acceptSuggestion','5695254naCXPt','PendingActions','discardSuggestion','unbind','listenTo','_removePendingAction','plugins','canAccept','commentThreadController','_discardCommand','locale','getRanges','960wFaXHk','_pendingAction','commands','destroy','view','stopListening','_editor','20XwnOoi','235PveMld','PENDING_ACTION_SUGGESTION','82038ERruqc','add','remove','_setPendingAction','canEditAt','202698djgJth','get','bind','2033014wnWxyk','canDiscard','_acceptCommand','change:isDirty','execute','model','isEnabled','1944019ePxnIV'];_0x1cf4=function(){return _0x3d668d;};return _0x1cf4();}function _0x1db4(_0x224e1b,_0x5bcec9){const _0x1cf4b3=_0x1cf4();return _0x1db4=function(_0x1db469,_0x1c174f){_0x1db469=_0x1db469-0x94;let _0x4c56f0=_0x1cf4b3[_0x1db469];return _0x4c56f0;},_0x1db4(_0x224e1b,_0x5bcec9);}const _0x2e0d75=_0x1db4;(function(_0x2e28db,_0x36d17e){const _0x3a34fb=_0x1db4,_0x341857=_0x2e28db();while(!![]){try{const _0x5cdc51=parseInt(_0x3a34fb(0xb7))/0x1+-parseInt(_0x3a34fb(0xac))/0x2+-parseInt(_0x3a34fb(0xb6))/0x3*(parseInt(_0x3a34fb(0xa1))/0x4)+-parseInt(_0x3a34fb(0xa2))/0x5*(-parseInt(_0x3a34fb(0xa9))/0x6)+parseInt(_0x3a34fb(0xb3))/0x7*(parseInt(_0x3a34fb(0xb5))/0x8)+-parseInt(_0x3a34fb(0xb9))/0x9+parseInt(_0x3a34fb(0x9a))/0xa*(parseInt(_0x3a34fb(0xa4))/0xb);if(_0x5cdc51===_0x36d17e)break;else _0x341857['push'](_0x341857['shift']());}catch(_0x51707e){_0x341857['push'](_0x341857['shift']());}}}(_0x1cf4,0xefb66));import{ObservableMixin as _0x5e41eb}from'ckeditor5/src/utils.js';import{getTranslation as _0x4964a3}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5e41eb(){[_0x2e0d75(0xb1)];[_0x2e0d75(0x9e)];[_0x2e0d75(0x96)];[_0x2e0d75(0xa0)];[_0x2e0d75(0xae)];[_0x2e0d75(0x97)];[_0x2e0d75(0x9b)];constructor(_0x3873a8,_0x7a736b,_0x3814af,_0x568597){const _0x2525a1=_0x2e0d75;super(),this[_0x2525a1(0xb1)]=_0x7a736b,this[_0x2525a1(0x9e)]=_0x3814af,this[_0x2525a1(0x96)]=_0x568597,this[_0x2525a1(0xa0)]=_0x3873a8,this[_0x2525a1(0xae)]=_0x3873a8[_0x2525a1(0x9c)][_0x2525a1(0xaa)](_0x2525a1(0xb8)),this[_0x2525a1(0x97)]=_0x3873a8[_0x2525a1(0x9c)][_0x2525a1(0xaa)](_0x2525a1(0xbb)),this[_0x2525a1(0x9e)][_0x2525a1(0xab)](_0x2525a1(0xb2))['to'](this[_0x2525a1(0xae)],this[_0x2525a1(0x97)],(_0x1795e0,_0x2583da)=>_0x1795e0||_0x2583da),this[_0x2525a1(0x9e)][_0x2525a1(0xab)](_0x2525a1(0x95))['to'](this[_0x2525a1(0xae)],_0x2525a1(0xb2),_0xe7f793=>_0xe7f793&&this[_0x2525a1(0xa0)][_0x2525a1(0xb1)][_0x2525a1(0xa8)](_0x7a736b[_0x2525a1(0x99)]())),this[_0x2525a1(0x9e)][_0x2525a1(0xab)](_0x2525a1(0xad))['to'](this[_0x2525a1(0x97)],_0x2525a1(0xb2),_0xca3a4a=>_0xca3a4a&&this[_0x2525a1(0xa0)][_0x2525a1(0xb1)][_0x2525a1(0xa8)](_0x7a736b[_0x2525a1(0x99)]())),this[_0x2525a1(0x9b)]=null,_0x3814af[_0x2525a1(0xb4)]&&this[_0x2525a1(0xa7)](),this[_0x2525a1(0xbd)](_0x3814af,_0x2525a1(0xb8),()=>this[_0x2525a1(0xb8)]()),this[_0x2525a1(0xbd)](_0x3814af,_0x2525a1(0xbb),()=>this[_0x2525a1(0xbb)]()),this[_0x2525a1(0xbd)](_0x3814af,_0x2525a1(0xaf),()=>{const _0x324406=_0x2525a1;_0x3814af[_0x324406(0xb4)]?this[_0x324406(0xa7)]():this[_0x324406(0xbe)]();});}[_0x2e0d75(0xb8)](){const _0x10faef=_0x2e0d75;this[_0x10faef(0xae)][_0x10faef(0xb0)](this[_0x10faef(0xb1)]['id']);}[_0x2e0d75(0xbb)](){const _0x584e25=_0x2e0d75;this[_0x584e25(0x97)][_0x584e25(0xb0)](this[_0x584e25(0xb1)]['id']);}[_0x2e0d75(0x9d)](){const _0x3d5511=_0x2e0d75;this[_0x3d5511(0x9e)][_0x3d5511(0xbc)](_0x3d5511(0xb2)),this[_0x3d5511(0x9e)][_0x3d5511(0xbc)](_0x3d5511(0x95)),this[_0x3d5511(0x9e)][_0x3d5511(0xbc)](_0x3d5511(0xad)),this[_0x3d5511(0x9f)](),this[_0x3d5511(0x96)][_0x3d5511(0x9d)](),this[_0x3d5511(0x9b)]&&this[_0x3d5511(0xbe)]();}[_0x2e0d75(0xa7)](){const _0x10b99e=_0x2e0d75,_0x86a2a=_0x4964a3(this[_0x10b99e(0xa0)][_0x10b99e(0x98)],_0x10b99e(0xa3));this[_0x10b99e(0x9b)]=this[_0x10b99e(0xa0)][_0x10b99e(0x94)][_0x10b99e(0xaa)](_0x10b99e(0xba))[_0x10b99e(0xa5)](_0x86a2a);}[_0x2e0d75(0xbe)](){const _0x524b92=_0x2e0d75;null!==this[_0x524b92(0x9b)]&&this[_0x524b92(0xa0)][_0x524b92(0x94)][_0x524b92(0xaa)](_0x524b92(0xba))[_0x524b92(0xa6)](this[_0x524b92(0x9b)]),this[_0x524b92(0x9b)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39026f=_0x259f;(function(_0x1b4352,_0x2c1460){const _0x4dc49c=_0x259f,_0x2c16ee=_0x1b4352();while(!![]){try{const _0x5f05f5=parseInt(_0x4dc49c(0x1ea))/0x1*(parseInt(_0x4dc49c(0x203))/0x2)+parseInt(_0x4dc49c(0x215))/0x3*(parseInt(_0x4dc49c(0x218))/0x4)+-parseInt(_0x4dc49c(0x20c))/0x5*(-parseInt(_0x4dc49c(0x1eb))/0x6)+parseInt(_0x4dc49c(0x209))/0x7*(-parseInt(_0x4dc49c(0x1f2))/0x8)+parseInt(_0x4dc49c(0x22c))/0x9*(-parseInt(_0x4dc49c(0x1f4))/0xa)+parseInt(_0x4dc49c(0x210))/0xb*(-parseInt(_0x4dc49c(0x1f7))/0xc)+parseInt(_0x4dc49c(0x1f3))/0xd;if(_0x5f05f5===_0x2c1460)break;else _0x2c16ee['push'](_0x2c16ee['shift']());}catch(_0x434b04){_0x2c16ee['push'](_0x2c16ee['shift']());}}}(_0x42ec,0xab2d8));import{FocusCycler as _0xdd60e7,View as _0x524a41,ViewCollection as _0x48c931}from'ckeditor5/src/ui.js';import{FocusTracker as _0x138025,KeystrokeHandler as _0xd0d270}from'ckeditor5/src/utils.js';function _0x259f(_0x36c641,_0x2e6b4f){const _0x42ecf6=_0x42ec();return _0x259f=function(_0x259f24,_0x49c711){_0x259f24=_0x259f24-0x1e7;let _0x1e49bf=_0x42ecf6[_0x259f24];return _0x1e49bf;},_0x259f(_0x36c641,_0x2e6b4f);}function _0x42ec(){const _0x56f634=['descriptionParts','ariaLabel','12192JLcdcl','18510882qtcgmx','123790BXVOPO','addComment','canDiscard','204UoCJSU','_config','authoredAt','render','isDirty','delegate','_model','SUGGESTION_THREAD_DESCRIPTION','element','destroy','disabledSubmit','assign','1174Hchupd','author','keystrokes','parseFromString','formatDateTime','text/html','4137pAtYwS','focusables','removeComment','3789675yEavvl','focus','_createCommentThreadInputView','isReadOnly','77451BsOgAw','CommentView','commentThread','target','cancel','3TMBMbe','textContent','focusTracker','913440EMHePW','canAccept','disableComments','name','showInput','content','submit','updateComment','fire','bind','hasDirtyComment','setData','editorConfig','map','shift+tab','commentInputView','set','isEnabled','body','commentsListView','531DlSyaj','value','_createCommentViews','join','isActive','length','commentThreadInputView','focusCycler','SUGGESTION_THREAD_ARIA_LABEL','locale','71oexrMd','6kxamsr','editor','tab','_localUser','ariaDescriptionView'];_0x42ec=function(){return _0x56f634;};return _0x42ec();}import{AriaDescriptionView as _0x3d4956,setupThreadKeyboardNavigation as _0x532614}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4e5a34}from'../../utils/common-translations.js';import{renderDescription as _0x1fb64a}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x524a41{[_0x39026f(0x22b)];[_0x39026f(0x232)];[_0x39026f(0x1ef)];[_0x39026f(0x20a)];[_0x39026f(0x217)];[_0x39026f(0x205)];[_0x39026f(0x1e7)];[_0x39026f(0x1fd)];[_0x39026f(0x1ee)];[_0x39026f(0x1f8)];constructor(_0x1543b4,_0x1b67f5,_0x13fe31,_0x4e4549){const _0x4777d8=_0x39026f;super(_0x1543b4),this[_0x4777d8(0x22b)]=null,this[_0x4777d8(0x232)]=null,this[_0x4777d8(0x1ef)]=new _0x3d4956(_0x1543b4,_0x4e5a34(_0x1543b4,_0x4777d8(0x1fe))),this[_0x4777d8(0x228)](_0x4777d8(0x230),!0x1),this[_0x4777d8(0x228)](_0x4777d8(0x1f9),_0x1b67f5[_0x4777d8(0x1f9)]),this[_0x4777d8(0x221)](_0x4777d8(0x1f9))['to'](_0x1b67f5),this[_0x4777d8(0x228)](_0x4777d8(0x1f0),[]),this[_0x4777d8(0x228)](_0x4777d8(0x1fb),!0x1),this[_0x4777d8(0x228)](_0x4777d8(0x229),!0x1),this[_0x4777d8(0x228)](_0x4777d8(0x219),!0x1),this[_0x4777d8(0x228)](_0x4777d8(0x1f6),!0x1),this[_0x4777d8(0x221)](_0x4777d8(0x1f1))['to'](this,_0x4777d8(0x231),_0x1b67f5,_0x4777d8(0x1f9),this,_0x4777d8(0x1f0),(_0x1525ba,_0x43f814,_0x2d20ff)=>{const _0x4cdd04=_0x4777d8,_0x5ee320=_0x2d20ff[_0x4cdd04(0x225)](_0x4b0d7a=>_0x1fb64a(_0x4b0d7a[_0x4cdd04(0x21d)]))[_0x4cdd04(0x22f)]('.\x20')+'.';return _0x4e5a34(this[_0x4cdd04(0x1e9)],_0x4cdd04(0x1e8),[_0x1525ba-0x1,_0x1b67f5[_0x4cdd04(0x204)][_0x4cdd04(0x21b)],_0x43f814?_0x4e4549[_0x4cdd04(0x207)](_0x43f814):'',new DOMParser()[_0x4cdd04(0x206)](_0x5ee320,_0x4cdd04(0x208))[_0x4cdd04(0x22a)][_0x4cdd04(0x216)]]);}),this[_0x4777d8(0x20a)]=new _0x48c931(),this[_0x4777d8(0x217)]=new _0x138025(),this[_0x4777d8(0x205)]=new _0xd0d270(),this[_0x4777d8(0x1e7)]=new _0xdd60e7({'focusables':this[_0x4777d8(0x20a)],'focusTracker':this[_0x4777d8(0x217)],'keystrokeHandler':this[_0x4777d8(0x205)],'keystrokeHandlerOptions':{'filter':_0x4cc079=>_0x4cc079[_0x4777d8(0x213)]!==this[_0x4777d8(0x1ff)]},'actions':{'focusPrevious':_0x4777d8(0x226),'focusNext':_0x4777d8(0x1ed)}}),this[_0x4777d8(0x1fd)]=_0x1b67f5,this[_0x4777d8(0x1ee)]=_0x13fe31,this[_0x4777d8(0x1f8)]=_0x4e4549,_0x4e4549[_0x4777d8(0x21a)]?this[_0x4777d8(0x228)](_0x4777d8(0x231),0x1):this[_0x4777d8(0x22e)]();}[_0x39026f(0x1fa)](){const _0x3c101b=_0x39026f;super[_0x3c101b(0x1fa)](),_0x532614(this,this[_0x3c101b(0x20a)]);}[_0x39026f(0x20d)](){const _0x46f372=_0x39026f;this[_0x46f372(0x1ff)][_0x46f372(0x20d)]();}[_0x39026f(0x200)](){const _0x2d9d10=_0x39026f;this[_0x2d9d10(0x22b)]&&this[_0x2d9d10(0x22b)][_0x2d9d10(0x200)](),this[_0x2d9d10(0x232)]&&this[_0x2d9d10(0x232)][_0x2d9d10(0x200)](),super[_0x2d9d10(0x200)]();}[_0x39026f(0x22e)](){const _0x5f1b61=_0x39026f,{CommentsListView:_0x449404}=this[_0x5f1b61(0x1f8)];this[_0x5f1b61(0x22b)]=new _0x449404(this[_0x5f1b61(0x1e9)],this[_0x5f1b61(0x1fd)][_0x5f1b61(0x212)],Object[_0x5f1b61(0x202)]({'CommentView':this[_0x5f1b61(0x1f8)][_0x5f1b61(0x211)]},this[_0x5f1b61(0x1f8)])),this[_0x5f1b61(0x22b)][_0x5f1b61(0x1fc)](_0x5f1b61(0x20b))['to'](this),this[_0x5f1b61(0x22b)][_0x5f1b61(0x1fc)](_0x5f1b61(0x21f))['to'](this),this[_0x5f1b61(0x22b)][_0x5f1b61(0x221)](_0x5f1b61(0x230))['to'](this),this[_0x5f1b61(0x228)](_0x5f1b61(0x231),this[_0x5f1b61(0x22b)][_0x5f1b61(0x231)]+0x1),this[_0x5f1b61(0x221)](_0x5f1b61(0x231))['to'](this[_0x5f1b61(0x22b)],_0x5f1b61(0x231),_0x1622ce=>_0x1622ce+0x1),this[_0x5f1b61(0x232)]=this[_0x5f1b61(0x20e)](),this['on'](_0x5f1b61(0x20b),()=>this[_0x5f1b61(0x20d)]()),this[_0x5f1b61(0x221)](_0x5f1b61(0x1fb))['to'](this[_0x5f1b61(0x22b)],_0x5f1b61(0x222),this[_0x5f1b61(0x232)][_0x5f1b61(0x227)],_0x5f1b61(0x22d),(_0x3f8d6e,_0x3cdfbe)=>_0x3f8d6e||!!_0x3cdfbe);}[_0x39026f(0x20e)](){const _0x30408a=_0x39026f,{CommentThreadInputView:_0x484f40}=this[_0x30408a(0x1f8)],_0x450656=new _0x484f40(this[_0x30408a(0x1e9)],this[_0x30408a(0x1ee)],this[_0x30408a(0x1f8)][_0x30408a(0x224)]),_0x345869=_0x450656[_0x30408a(0x227)];return _0x450656[_0x30408a(0x221)](_0x30408a(0x21c))['to'](this,_0x30408a(0x230),this[_0x30408a(0x1fd)][_0x30408a(0x212)],_0x30408a(0x20f),_0x345869,_0x30408a(0x22d),(_0x840593,_0x43695f,_0x26dff2)=>!!_0x26dff2||_0x840593&&!_0x43695f),_0x345869['on'](_0x30408a(0x21e),(_0x5cdc7a,_0x4431bd)=>{const _0x1ba2ec=_0x30408a;this[_0x1ba2ec(0x220)](_0x1ba2ec(0x1f5),_0x4431bd),_0x345869[_0x1ba2ec(0x1ec)][_0x1ba2ec(0x223)]('');}),_0x345869['on'](_0x30408a(0x214),()=>this[_0x30408a(0x20d)]()),_0x345869[_0x30408a(0x221)](_0x30408a(0x201))['to'](this[_0x30408a(0x1fd)][_0x30408a(0x212)],_0x30408a(0x20f)),_0x450656;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2910ab=_0x26ac;(function(_0xf4874,_0x4af726){const _0xb38f01=_0x26ac,_0x33a8f5=_0xf4874();while(!![]){try{const _0x3fe16e=parseInt(_0xb38f01(0x16d))/0x1*(-parseInt(_0xb38f01(0x193))/0x2)+-parseInt(_0xb38f01(0x178))/0x3*(parseInt(_0xb38f01(0x19a))/0x4)+parseInt(_0xb38f01(0x184))/0x5*(parseInt(_0xb38f01(0x168))/0x6)+parseInt(_0xb38f01(0x173))/0x7*(parseInt(_0xb38f01(0x164))/0x8)+parseInt(_0xb38f01(0x19e))/0x9*(-parseInt(_0xb38f01(0x16a))/0xa)+parseInt(_0xb38f01(0x19b))/0xb+parseInt(_0xb38f01(0x171))/0xc*(parseInt(_0xb38f01(0x175))/0xd);if(_0x3fe16e===_0x4af726)break;else _0x33a8f5['push'](_0x33a8f5['shift']());}catch(_0x111b95){_0x33a8f5['push'](_0x33a8f5['shift']());}}}(_0x573e,0xe6c1f));function _0x573e(){const _0x27e6e5=['disableComments','type','ck-suggestion-','isActive','getTemplate','bind','discardButton','editorDestroyed','description','1640VEHGzb','acceptButton','bindTemplate','_descriptionElement','ck-suggestion-wrapper','SuggestionView','ck-rounded-corners','content','canDiscard','discardSuggestion','author','_model','focusables','render','editorReady','1004vRtveN','setTemplate','delegate','commentsListView','color','ck-suggestion-wrapper--active','ck-suggestion--disabled-comments','12yDrrgE','12179640ZqRwIt','canAccept','commentThreadInputView','144kNeAgA','div','7296cyNBLH','ariaDescriptionView','_config','ariaLabel','21072cidnOS','<p>','993670yVZpDn','isEnabled','suggestionView','2598KYEofz','formatDateTime','listitem','</p>','11758404rNCuCs','add','609UWOgdf','descriptionParts','26ZFGpnM','commentThread','set','459003ANbwnC','acceptSuggestion','push'];_0x573e=function(){return _0x27e6e5;};return _0x573e();}import{BaseSuggestionThreadView as _0x3c091c}from'./basesuggestionthreadview.js';import{trimHtml as _0x12f87c}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0xf9baf4}from'../../utils/utils.js';function _0x26ac(_0x10363e,_0x2cbaf9){const _0x573e42=_0x573e();return _0x26ac=function(_0x26acc1,_0x524d86){_0x26acc1=_0x26acc1-0x163;let _0x5c0a24=_0x573e42[_0x26acc1];return _0x5c0a24;},_0x26ac(_0x10363e,_0x2cbaf9);}export class SuggestionThreadView extends _0x3c091c{[_0x2910ab(0x16c)];[_0x2910ab(0x187)];constructor(_0x24774c,_0x3d273b,_0x15190d,_0x538c5a){const _0x5e5971=_0x2910ab;super(_0x24774c,_0x3d273b,_0x15190d,_0x538c5a),this[_0x5e5971(0x177)](_0x5e5971(0x17c),''),this[_0x5e5971(0x180)](_0x5e5971(0x17c))['to'](this,_0x5e5971(0x174),_0x3da11f=>_0x3da11f&&_0x3da11f[0x0]?_0x3da11f[0x0][_0x5e5971(0x17c)]:''),this[_0x5e5971(0x180)](_0x5e5971(0x183))['to'](this,_0x5e5971(0x174),this,_0x5e5971(0x17e),(_0x410023,_0xe743a5)=>{const _0x2b2c4b=_0x5e5971;let _0x39bbe7='';for(const _0x58d222 of _0x410023)_0x39bbe7+=_0x2b2c4b(0x169)+_0xf9baf4(_0x58d222[_0x2b2c4b(0x18b)],_0x58d222[_0x2b2c4b(0x197)])+_0x2b2c4b(0x170);return _0xe743a5?_0x39bbe7:_0x12f87c(_0x39bbe7,{'limit':0x8c});}),this[_0x5e5971(0x187)]=null,this[_0x5e5971(0x16c)]=new _0x538c5a[(_0x5e5971(0x189))](_0x24774c,_0x3d273b,{'formatDateTime':_0x538c5a[_0x5e5971(0x16e)]}),this[_0x5e5971(0x16c)][_0x5e5971(0x180)](_0x5e5971(0x183))['to'](this),this[_0x5e5971(0x16c)][_0x5e5971(0x195)](_0x5e5971(0x179),_0x5e5971(0x18d))['to'](this),this[_0x5e5971(0x16c)][_0x5e5971(0x185)][_0x5e5971(0x180)](_0x5e5971(0x16b))['to'](this,_0x5e5971(0x19c)),this[_0x5e5971(0x16c)][_0x5e5971(0x181)][_0x5e5971(0x180)](_0x5e5971(0x16b))['to'](this,_0x5e5971(0x18c)),this[_0x5e5971(0x190)][_0x5e5971(0x172)](this[_0x5e5971(0x16c)]),this[_0x5e5971(0x196)]&&this[_0x5e5971(0x190)][_0x5e5971(0x172)](this[_0x5e5971(0x196)]),this[_0x5e5971(0x19d)]&&this[_0x5e5971(0x190)][_0x5e5971(0x172)](this[_0x5e5971(0x19d)]),this[_0x5e5971(0x194)](this[_0x5e5971(0x17f)]());}[_0x2910ab(0x17f)](){const _0x5a6ffc=_0x2910ab,_0x2ad046=this[_0x5a6ffc(0x186)],_0x3d0eb4=[this[_0x5a6ffc(0x16c)]];return this[_0x5a6ffc(0x196)]&&_0x3d0eb4[_0x5a6ffc(0x17a)](this[_0x5a6ffc(0x196)]),this[_0x5a6ffc(0x19d)]&&_0x3d0eb4[_0x5a6ffc(0x17a)](this[_0x5a6ffc(0x19d)]),_0x3d0eb4[_0x5a6ffc(0x17a)](this[_0x5a6ffc(0x165)]),{'tag':_0x5a6ffc(0x163),'attributes':{'class':['ck',_0x5a6ffc(0x18a),_0x5a6ffc(0x188),_0x2ad046['if'](_0x5a6ffc(0x17e),_0x5a6ffc(0x198)),_0x2ad046['to'](_0x5a6ffc(0x17c),_0x4b1905=>_0x5a6ffc(0x17d)+_0x4b1905),this[_0x5a6ffc(0x166)][_0x5a6ffc(0x17b)]&&_0x5a6ffc(0x199)],'data-suggestion-id':this[_0x5a6ffc(0x18f)]['id'],'data-thread-id':this[_0x5a6ffc(0x18f)][_0x5a6ffc(0x176)]['id'],'data-author-id':this[_0x5a6ffc(0x18f)][_0x5a6ffc(0x18e)]['id'],'tabindex':0x0,'role':_0x5a6ffc(0x16f),'aria-label':_0x2ad046['to'](_0x5a6ffc(0x167)),'aria-describedby':this[_0x5a6ffc(0x165)]['id']},'children':_0x3d0eb4};}[_0x2910ab(0x191)](){const _0x56bba5=_0x2910ab;super[_0x56bba5(0x191)](),this[_0x56bba5(0x196)]&&(this[_0x56bba5(0x196)][_0x56bba5(0x195)](_0x56bba5(0x192))['to'](this),this[_0x56bba5(0x196)][_0x56bba5(0x195)](_0x56bba5(0x182))['to'](this)),this[_0x56bba5(0x19d)]&&(this[_0x56bba5(0x19d)][_0x56bba5(0x195)](_0x56bba5(0x192))['to'](this),this[_0x56bba5(0x19d)][_0x56bba5(0x195)](_0x56bba5(0x182))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5aba96=_0xa97f;function _0xa97f(_0xc1f1ea,_0x3bf394){const _0x13a645=_0x13a6();return _0xa97f=function(_0xa97f26,_0x2c3499){_0xa97f26=_0xa97f26-0xce;let _0x720146=_0x13a645[_0xa97f26];return _0x720146;},_0xa97f(_0xc1f1ea,_0x3bf394);}function _0x13a6(){const _0x3e479b=['push','formatDateTime','acceptButton','importWord','time','Accept\x20suggestion','render','ck-annotation__main','author','locale','focusFirst','div','set','target','ck-suggestion__main','discardButton','authoredAt','Discard\x20suggestion','.ck-annotation__content-wrapper','12882890SfOndz','ck-annotation__user','change:description','bindTemplate','userView','110418loyewH','ck-suggestion__info','execute','shift+tab','ck-suggestion__user','description','ck-suggestion--discard','EXTERNAL_AVATAR','EXTERNAL_SUGGESTION','discardSuggestion','ck-suggestion__actions','source','1563372YWcshA','listenTo','focus','ck-comment__info-time','4OFJHeG','_model','focusCycler','ck-annotation__info','acceptSuggestion','ck-suggestion__info-name','setTemplate','name','ck-suggestion--accept','ck-annotation__actions','6770583LaLyxI','EXTERNAL_IMPORT_WORD_AVATAR','1534385QIPLgW','ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_SUGGESTION','querySelector','creator','focusTracker','ck-annotation','1226813IMWDVG','getUserViewNotificationText','ck-annotation__info-name','extendTemplate','ck-suggestion','add','tab','_setupKeyboardNavigation','3932892icfDqC','attributes','isExternal','fire','innerHTML','getExternalSuggestionNote','presentation','ck-annotation__info-time','bind','_config','span','enter','ck-comment__external','1oCUeoz','keystrokes','focusables','getTemplate','8NARTTM','element','_createButton','esc','@external'];_0x13a6=function(){return _0x3e479b;};return _0x13a6();}(function(_0x5991f6,_0x27abb1){const _0x13b27d=_0xa97f,_0x2784b9=_0x5991f6();while(!![]){try{const _0x1b27b9=-parseInt(_0x13b27d(0xe4))/0x1*(parseInt(_0x13b27d(0x111))/0x2)+-parseInt(_0x13b27d(0x105))/0x3+parseInt(_0x13b27d(0x115))/0x4*(parseInt(_0x13b27d(0x121))/0x5)+parseInt(_0x13b27d(0xd7))/0x6+parseInt(_0x13b27d(0xcf))/0x7*(-parseInt(_0x13b27d(0xe8))/0x8)+-parseInt(_0x13b27d(0x11f))/0x9+parseInt(_0x13b27d(0x100))/0xa;if(_0x1b27b9===_0x27abb1)break;else _0x2784b9['push'](_0x2784b9['shift']());}catch(_0x519d77){_0x2784b9['push'](_0x2784b9['shift']());}}}(_0x13a6,0x7b322));import{FocusTracker as _0xe4dfb1,KeystrokeHandler as _0x224c75}from'ckeditor5/src/utils.js';import{View as _0x4e57d0,ViewCollection as _0x452aaf,FocusCycler as _0x14a216}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xf2c6a6,UserView as _0x59ac60}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x1f1b5c,IconCheck as _0xe06696}from'ckeditor5/src/icons.js';import{getTranslation as _0x570406}from'../../utils/common-translations.js';export class SuggestionView extends _0x4e57d0{[_0x5aba96(0x104)];[_0x5aba96(0xef)];[_0x5aba96(0xfc)];[_0x5aba96(0xe6)];[_0x5aba96(0x126)];[_0x5aba96(0xe5)];[_0x5aba96(0x117)];[_0x5aba96(0x116)];[_0x5aba96(0xe0)];constructor(_0x2bea89,_0x576605,_0xa907db){const _0x5a158a=_0x5aba96;super(_0x2bea89),this[_0x5a158a(0x116)]=_0x576605,this[_0x5a158a(0xe0)]=_0xa907db,this[_0x5a158a(0xf9)](_0x5a158a(0x10a),''),this[_0x5a158a(0xdf)](_0x5a158a(0xfd))['to'](_0x576605),this[_0x5a158a(0xef)]=this[_0x5a158a(0xea)](_0x570406(_0x2bea89,_0x5a158a(0xf2)),_0xe06696,_0x5a158a(0x11d),_0x5a158a(0x119),'sw'),this[_0x5a158a(0xfc)]=this[_0x5a158a(0xea)](_0x570406(_0x2bea89,_0x5a158a(0xfe)),_0x1f1b5c,_0x5a158a(0x10b),_0x5a158a(0x10e),'sw'),this[_0x5a158a(0x104)]=new _0x59ac60(_0x2bea89,_0x576605[_0x5a158a(0xf5)],this[_0x5a158a(0xd0)]()),this[_0x5a158a(0x104)][_0x5a158a(0xd2)]({'attributes':{'class':[_0x5a158a(0x109),_0x5a158a(0x101)],'aria-hidden':!0x0}}),this[_0x5a158a(0xe6)]=new _0x452aaf([this[_0x5a158a(0xef)],this[_0x5a158a(0xfc)]]),this[_0x5a158a(0x126)]=new _0xe4dfb1(),this[_0x5a158a(0xe5)]=new _0x224c75(),this[_0x5a158a(0x117)]=new _0x14a216({'focusables':this[_0x5a158a(0xe6)],'focusTracker':this[_0x5a158a(0x126)],'keystrokeHandler':this[_0x5a158a(0xe5)],'actions':{'focusPrevious':_0x5a158a(0x108),'focusNext':_0x5a158a(0xd5)},'keystrokeHandlerOptions':{'filter':_0x2f52a7=>_0x2f52a7[_0x5a158a(0xfa)]!==this[_0x5a158a(0xe9)]}}),this[_0x5a158a(0x11b)](this[_0x5a158a(0xe7)]());}[_0x5aba96(0xf3)](){const _0x19b570=_0x5aba96;super[_0x19b570(0xf3)]();const _0x38eda2=this[_0x19b570(0xe9)][_0x19b570(0x124)](_0x19b570(0xff));_0x38eda2[_0x19b570(0xdb)]=this[_0x19b570(0x10a)],this['on'](_0x19b570(0x102),(_0x2f6c4d,_0x1e5c2c,_0x47e9eb)=>{const _0x4c5aca=_0x19b570;_0x38eda2[_0x4c5aca(0xdb)]=_0x47e9eb;}),this[_0x19b570(0xd6)]();}[_0x5aba96(0xe7)](){const _0x123385=_0x5aba96,_0x5d952e=this[_0x123385(0x103)],_0x1361fa=[{'tag':_0x123385(0xf8),'attributes':{'class':[_0x123385(0x106),_0x123385(0x118)]},'children':[{'tag':_0x123385(0xe1),'children':[{'text':this[_0x123385(0x104)][_0x123385(0x11c)]}],'attributes':{'class':[_0x123385(0x11a),_0x123385(0xd1)],'data-cke-tooltip-text':this[_0x123385(0x104)][_0x123385(0x11c)]}},{'tag':_0x123385(0xf1),'attributes':{'datetime':_0x5d952e['to'](_0x123385(0xfd)),'class':[_0x123385(0x114),_0x123385(0xde)]},'children':[{'text':_0x5d952e['to'](_0x123385(0xfd),_0x250a25=>this[_0x123385(0xe0)][_0x123385(0xee)](_0x250a25))}]}]},{'tag':_0x123385(0xf8),'attributes':{'class':[_0x123385(0x10f),_0x123385(0x11e)]},'children':[this[_0x123385(0xef)],this[_0x123385(0xfc)]]},{'tag':_0x123385(0xf8),'attributes':{'class':[_0x123385(0x122)]}}];return this[_0x123385(0x116)][_0x123385(0xd9)]&&_0x1361fa[_0x123385(0xed)]({'tag':_0x123385(0xf8),'attributes':{'class':[_0x123385(0xe3)]},'children':[{'text':this[_0x123385(0xdc)]()}]}),{'tag':_0x123385(0xf8),'attributes':{'class':[_0x123385(0xd3),_0x123385(0xce)],'tabindex':-0x1},'children':[this[_0x123385(0x104)],{'tag':_0x123385(0xf8),'attributes':{'class':[_0x123385(0xfb),_0x123385(0xf4)],'role':_0x123385(0xdd)},'children':_0x1361fa}]};}[_0x5aba96(0x113)](){const _0x4480e7=_0x5aba96;this[_0x4480e7(0xe9)][_0x4480e7(0x113)]();}[_0x5aba96(0xd0)](){const _0x4a9056=_0x5aba96;return this[_0x4a9056(0x116)][_0x4a9056(0xd9)]?_0x4a9056(0xf0)===this[_0x4a9056(0x116)][_0x4a9056(0xd8)][_0x4a9056(0xec)][_0x4a9056(0x110)]?_0x570406(this[_0x4a9056(0xf6)],_0x4a9056(0x120),this[_0x4a9056(0x116)][_0x4a9056(0x125)][_0x4a9056(0x11c)]):_0x570406(this[_0x4a9056(0xf6)],_0x4a9056(0x10c),this[_0x4a9056(0x116)][_0x4a9056(0x125)][_0x4a9056(0x11c)]):null;}[_0x5aba96(0xdc)](){const _0xa1c003=_0x5aba96;return _0xa1c003(0xf0)===this[_0xa1c003(0x116)][_0xa1c003(0xd8)][_0xa1c003(0xec)][_0xa1c003(0x110)]?_0x570406(this[_0xa1c003(0xf6)],_0xa1c003(0x123)):_0x570406(this[_0xa1c003(0xf6)],_0xa1c003(0x10d));}[_0x5aba96(0xea)](_0x2ae9a3,_0x3937dd,_0xc028f,_0x3c73c8,_0x470995){const _0x29e3ab=_0x5aba96,_0x330509=new _0xf2c6a6(this[_0x29e3ab(0xf6)]);return _0x330509[_0x29e3ab(0xf9)]({'label':_0x2ae9a3,'icon':_0x3937dd,'tooltip':!0x0,'tooltipPosition':_0x470995}),_0x330509[_0x29e3ab(0xd2)]({'attributes':{'class':_0xc028f}}),_0x330509['on'](_0x29e3ab(0x107),()=>{const _0x4a9e5b=_0x29e3ab;this[_0x4a9e5b(0xda)](_0x3c73c8,this[_0x4a9e5b(0x116)]['id']);}),_0x330509;}[_0x5aba96(0xd6)](){const _0x415386=_0x5aba96,_0x422ccb=this[_0x415386(0xe9)];this[_0x415386(0xe5)][_0x415386(0x112)](_0x422ccb);for(const _0x2a9063 of this[_0x415386(0xe6)])this[_0x415386(0x126)][_0x415386(0xd4)](_0x2a9063[_0x415386(0xe9)]),this[_0x415386(0xe5)][_0x415386(0x112)](_0x2a9063[_0x415386(0xe9)]);this[_0x415386(0xe5)][_0x415386(0xf9)](_0x415386(0xe2),(_0x4b6009,_0x4eb68d)=>{const _0x444d4b=_0x415386;_0x422ccb===_0x4b6009[_0x444d4b(0xfa)]&&(this[_0x444d4b(0x117)][_0x444d4b(0xf7)](),_0x4eb68d());}),this[_0x415386(0xe5)][_0x415386(0xf9)](_0x415386(0xeb),(_0x381106,_0x368d79)=>{const _0x2690da=_0x415386;_0x422ccb!==_0x381106[_0x2690da(0xfa)]&&(this[_0x2690da(0x113)](),_0x368d79());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1fa4(_0x32b9eb,_0x50f6f3){const _0x5678f5=_0x5678();return _0x1fa4=function(_0x1fa4af,_0xacbefe){_0x1fa4af=_0x1fa4af-0xd3;let _0x3f3961=_0x5678f5[_0x1fa4af];return _0x3f3961;},_0x1fa4(_0x32b9eb,_0x50f6f3);}const _0x525703=_0x1fa4;(function(_0x43d710,_0x3c6b60){const _0xa28d6d=_0x1fa4,_0xc53703=_0x43d710();while(!![]){try{const _0x36f13d=-parseInt(_0xa28d6d(0xda))/0x1+-parseInt(_0xa28d6d(0xdd))/0x2+parseInt(_0xa28d6d(0xe1))/0x3*(-parseInt(_0xa28d6d(0xd5))/0x4)+-parseInt(_0xa28d6d(0xec))/0x5*(-parseInt(_0xa28d6d(0xf3))/0x6)+parseInt(_0xa28d6d(0xd7))/0x7+-parseInt(_0xa28d6d(0xe7))/0x8+parseInt(_0xa28d6d(0xe6))/0x9;if(_0x36f13d===_0x3c6b60)break;else _0xc53703['push'](_0xc53703['shift']());}catch(_0xca2a7d){_0xc53703['push'](_0xc53703['shift']());}}}(_0x5678,0x1cc98));import{View as _0x20654b}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x20654b{[_0x525703(0xe2)];constructor(_0x297c61,_0x155dda){const _0x64e4df=_0x525703;super(_0x297c61),this[_0x64e4df(0xe2)]=_0x155dda,this[_0x64e4df(0xee)]({'tag':_0x64e4df(0xef),'attributes':{'class':['ck',_0x64e4df(0xd3),_0x64e4df(0xe4)],'tabindex':-0x1}});}[_0x525703(0xf2)](){const _0xc5860f=_0x525703;super[_0xc5860f(0xf2)](),this[_0xc5860f(0xe9)][_0xc5860f(0xdc)][_0xc5860f(0xd8)]=this[_0xc5860f(0xe2)][_0xc5860f(0xf1)][_0xc5860f(0xd8)]+'px',this[_0xc5860f(0xe9)][_0xc5860f(0xdc)][_0xc5860f(0xdb)]=this[_0xc5860f(0xe2)][_0xc5860f(0xf1)][_0xc5860f(0xdb)]+'px';}[_0x525703(0xd4)](_0x55ced2,_0x4c3b43){const _0x1f81e6=_0x525703;if(!this[_0x1f81e6(0xe9)])return;const _0x4436fe=[];for(const [_0x43acf9,_0x1af676]of _0x55ced2){const _0x42b235=document[_0x1f81e6(0xe5)](_0x1f81e6(0xef));_0x42b235[_0x1f81e6(0xe0)](_0x1f81e6(0xde),_0x43acf9),_0x42b235[_0x1f81e6(0xf0)]=_0x1af676[_0x1f81e6(0xd9)]+_0x1f81e6(0xe3),_0x42b235[_0x1f81e6(0xea)]=_0x1af676[_0x1f81e6(0xeb)],_0x4436fe[_0x1f81e6(0xe8)](_0x42b235);}_0x4c3b43(this[_0x1f81e6(0xe9)],_0x4436fe),this[_0x1f81e6(0xe9)][_0x1f81e6(0xdc)][_0x1f81e6(0xdb)]='',this[_0x1f81e6(0xdf)](_0x1f81e6(0xed));}[_0x525703(0xd6)](){const _0x25d513=_0x525703;this[_0x25d513(0xe9)][_0x25d513(0xd6)]();}}function _0x5678(){const _0x203d7c=['dialogRects','render','438HYoNJM','ck-reset','setPreviewData','40gyGNvR','focus','1188796VNXsvi','width','classes','224561oNKUvt','height','style','91498KPISCB','data-ck-root-name','fire','setAttribute','51951APcdxN','options','\x20ck-track-changes-preview__root-container','ck-track-changes-preview','createElement','2878605CtdaIl','1127440IllVGp','push','element','innerHTML','content','14565HyCnbn','previewDataReady','setTemplate','div','className'];_0x5678=function(){return _0x203d7c;};return _0x5678();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3c1c4c,_0x4dc69f,_0x5ee076){const _0x275fc7=_0x3c1c4c['t'],t=_0x3c1c4c['t'];switch(_0x4dc69f){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',_0x5ee076);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5ee076);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5ee076);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5ee076);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5ee076);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',_0x5ee076);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5ee076);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',_0x5ee076);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5ee076);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5ee076);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5ee076);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5ee076);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5ee076);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5ee076);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5ee076);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5ee076);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5ee076);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5ee076);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5ee076);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5ee076);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5ee076);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5ee076);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5ee076);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5ee076);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5ee076);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'},_0x5ee076);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5ee076);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5ee076);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5ee076);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5ee076);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5ee076);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5ee076);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5ee076);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5ee076);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5ee076);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5ee076);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'},_0x5ee076);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5ee076);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5ee076);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x5ee076);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x5ee076);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x5ee076);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5ee076);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'},_0x5ee076);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5ee076);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 _0x275fc7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5ee076);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x275fc7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5ee076);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5ee076);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'},_0x5ee076);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'},_0x5ee076);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'},_0x5ee076);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4dc69f;}}
|
|
23
|
+
export function getTranslation(_0x383742,_0x534f8c,_0x56e90b){const _0x1f130f=_0x383742['t'],t=_0x383742['t'];switch(_0x534f8c){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',_0x56e90b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x56e90b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x56e90b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x56e90b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x56e90b);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',_0x56e90b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x56e90b);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',_0x56e90b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x56e90b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x56e90b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x56e90b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x56e90b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x56e90b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x56e90b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x56e90b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x56e90b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x56e90b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x56e90b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x56e90b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x56e90b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x56e90b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x56e90b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x56e90b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x56e90b);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x56e90b);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'},_0x56e90b);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x56e90b);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x56e90b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x56e90b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x56e90b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x56e90b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x56e90b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x56e90b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x56e90b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x56e90b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x56e90b);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'},_0x56e90b);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x56e90b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x56e90b);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x56e90b);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x56e90b);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x56e90b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x56e90b);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'},_0x56e90b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x56e90b);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 _0x1f130f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x56e90b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1f130f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x56e90b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x56e90b);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'},_0x56e90b);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'},_0x56e90b);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'},_0x56e90b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x534f8c;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x17c5f6,_0x448191){const _0x529d1f=_0x49b9,_0x517cb7=_0x17c5f6();while(!![]){try{const _0x3b3275=-parseInt(_0x529d1f(0x17a))/0x1+parseInt(_0x529d1f(0x186))/0x2+parseInt(_0x529d1f(0x1a8))/0x3+parseInt(_0x529d1f(0x19d))/0x4+-parseInt(_0x529d1f(0x17c))/0x5+-parseInt(_0x529d1f(0x179))/0x6+parseInt(_0x529d1f(0x190))/0x7*(-parseInt(_0x529d1f(0x189))/0x8);if(_0x3b3275===_0x448191)break;else _0x517cb7['push'](_0x517cb7['shift']());}catch(_0x9f9f27){_0x517cb7['push'](_0x517cb7['shift']());}}}(_0x5da9,0x9bab8));export function normalizeDescription(_0x345871){const _0x12f376=_0x49b9;return Array[_0x12f376(0x174)](_0x345871)||(_0x345871=[_0x345871]),_0x345871[_0x12f376(0x18c)](_0x242cdc=>{const _0x404be4=_0x12f376,_0x16f40c=_0x242cdc[_0x404be4(0x18a)][_0x404be4(0x19b)](/\*/g,''),_0x3ad084=_0x242cdc[_0x404be4(0x1a1)]?_0x404be4(0x19f)+_0x242cdc[_0x404be4(0x1a1)][_0x404be4(0x185)]+']':'';return'['+_0x242cdc[_0x404be4(0x192)]+']\x20'+_0x16f40c+_0x3ad084;})[_0x12f376(0x198)](';\x20');}export function renderDescription(_0x530fda,_0xf30997){const _0x39a869=_0x49b9;let _0x29320b='';return _0x29320b+=_0x530fda[_0x39a869(0x1a4)]('*')[_0x39a869(0x18c)]((_0x185286,_0x9e3cc3)=>_0x9e3cc3%0x2!=0x0?_0x39a869(0x196)+rn(_0x185286)+_0x39a869(0x184):rn(_0x185286))[_0x39a869(0x198)](''),_0xf30997&&(_0x29320b+=_0x39a869(0x195)+_0xf30997[_0x39a869(0x185)]+_0x39a869(0x19a)+_0xf30997[_0x39a869(0x19c)]+_0x39a869(0x1a2)),_0x29320b;}function rn(_0x3cf8fc){const _0x465db2=_0x49b9,_0x52f759=document[_0x465db2(0x176)](_0x465db2(0x199));return _0x52f759[_0x465db2(0x19e)]=_0x3cf8fc,_0x52f759[_0x465db2(0x1a3)];}export function sortSuggestions(_0x121c33){const _0x17df69=_0x49b9;return _0x121c33[_0x17df69(0x17e)]((_0x51b7b7,_0x59f17b)=>_0x17df69(0x18f)===_0x51b7b7[_0x17df69(0x192)]&&_0x17df69(0x18f)!==_0x59f17b[_0x17df69(0x192)]?-0x1:_0x17df69(0x18f)!==_0x51b7b7[_0x17df69(0x192)]&&_0x17df69(0x18f)===_0x59f17b[_0x17df69(0x192)]?0x1:_0x17df69(0x18e)==_0x51b7b7[_0x17df69(0x192)]&&_0x17df69(0x18e)!=_0x59f17b[_0x17df69(0x192)]?-0x1:_0x17df69(0x18e)!=_0x51b7b7[_0x17df69(0x192)]&&_0x17df69(0x18e)==_0x59f17b[_0x17df69(0x192)]?0x1:0x0);}function _0x5da9(){const _0x3cde13=['from','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','<span\x20class=\x22ck-suggestion-type\x22>','isIntersecting','join','span','\x22\x20title=\x22','replace','title','3215280dzuYUg','innerText','\x20[color\x20','end','color','\x22></span>','innerHTML','split','add','isCollapsed','isMultiRange','2039061ciOxlj','isArray','length','createElement','createPositionAfter','getRanges','679128ZvUWIr','39629yIQBWn','isInContent','896225aVhbAH','start','sort','isTouching','next','createPositionBefore','createRange','isObject','</span>','value','2330202syhAyt','schema','change','56XijAgY','content','push','map','createPositionAt','deletion','attribute','1678922NIKbsK','splice','type','execute'];_0x5da9=function(){return _0x3cde13;};return _0x5da9();}export function getSelectedSuggestions(_0x1853b8,_0x161e68){const _0x27e14a=_0x49b9,_0x51ace7=Array[_0x27e14a(0x194)](_0x1853b8[_0x27e14a(0x178)]()),_0x1392e=new Set();for(const _0x1403e3 of _0x161e68)if(_0x1403e3[_0x27e14a(0x17b)]){for(const _0xa699da of _0x51ace7)for(const _0x45b519 of _0x1403e3[_0x27e14a(0x178)]())(_0xa699da[_0x27e14a(0x197)](_0x45b519)||_0x1853b8[_0x27e14a(0x1a6)]&&!_0x1403e3[_0x27e14a(0x1a7)]&&_0x1403e3[_0x27e14a(0x180)]&&_0x45b519[_0x27e14a(0x1a0)][_0x27e14a(0x17f)](_0xa699da[_0x27e14a(0x17d)]))&&_0x1392e[_0x27e14a(0x1a5)](_0x1403e3);}return _0x1392e;}export function getRangesOfBlockGroups(_0x27cb9b,_0x4cda2a){const _0x222bbd=_0x49b9;let _0x458e73,_0x164195=0x0;const _0x30a430=[],_0x46bc1a=_0x4cda2a[_0x222bbd(0x187)];for(;_0x164195<_0x27cb9b[_0x222bbd(0x175)];){const _0x382086=_0x27cb9b[_0x164195],_0x4ec8c0=_0x27cb9b[_0x164195+0x1];_0x458e73||(_0x458e73=_0x4cda2a[_0x222bbd(0x181)](_0x382086)),cn(_0x4cda2a,_0x382086,_0x4ec8c0)||(_0x30a430[_0x222bbd(0x18b)](_0x4cda2a[_0x222bbd(0x182)](_0x458e73,_0x46bc1a[_0x222bbd(0x183)](_0x382086)?_0x4cda2a[_0x222bbd(0x177)](_0x382086):_0x4cda2a[_0x222bbd(0x18d)](_0x382086,_0x222bbd(0x1a0)))),_0x458e73=null),_0x164195++;}return _0x30a430;}function cn(_0x96f05a,_0x3cc1bc,_0x13766b){const _0x1926f4=_0x49b9;if(!_0x13766b)return!0x1;const _0x4a09af=_0x96f05a[_0x1926f4(0x177)](_0x3cc1bc),_0x3d83cf=_0x96f05a[_0x1926f4(0x181)](_0x13766b);return _0x4a09af[_0x1926f4(0x17f)](_0x3d83cf);}function _0x49b9(_0x325224,_0x38791d){const _0x5da9e5=_0x5da9();return _0x49b9=function(_0x49b91f,_0x5a6e45){_0x49b91f=_0x49b91f-0x174;let _0x53e850=_0x5da9e5[_0x49b91f];return _0x53e850;},_0x49b9(_0x325224,_0x38791d);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x44e7eb,_0x3d4a92,_0x272337){const _0x4c9a26=_0x49b9;for(;_0x272337[_0x4c9a26(0x175)];){const _0x1f00d2=_0x272337[_0x4c9a26(0x191)](0x0,0x64);_0x44e7eb[_0x4c9a26(0x188)](()=>{const _0x453dea=_0x4c9a26;for(const _0x188527 of _0x1f00d2)_0x188527[_0x453dea(0x17b)]&&_0x3d4a92[_0x453dea(0x193)](_0x188527['id']);});}}
|