@ckeditor/ckeditor5-track-changes 47.6.2 → 47.7.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +26 -26
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f9c4b=_0x2a96;(function(_0x42e99d,_0x3c3c3c){const _0x256cdb=_0x2a96,_0x22174b=_0x42e99d();while(!![]){try{const _0x302a88=-parseInt(_0x256cdb(0x12b))/0x1*(parseInt(_0x256cdb(0x12a))/0x2)+-parseInt(_0x256cdb(0x123))/0x3*(parseInt(_0x256cdb(0x128))/0x4)+-parseInt(_0x256cdb(0x116))/0x5+-parseInt(_0x256cdb(0x117))/0x6+parseInt(_0x256cdb(0x125))/0x7+-parseInt(_0x256cdb(0x11e))/0x8+parseInt(_0x256cdb(0x12c))/0x9*(parseInt(_0x256cdb(0x11b))/0xa);if(_0x302a88===_0x3c3c3c)break;else _0x22174b['push'](_0x22174b['shift']());}catch(_0x533228){_0x22174b['push'](_0x22174b['shift']());}}}(_0x5a81,0xe7aea));import{Plugin as _0x79580f}from'ckeditor5/src/core.js';function _0x2a96(_0x747fd8,_0x1c2a9e){const _0x5a8159=_0x5a81();return _0x2a96=function(_0x2a96c1,_0x27f0ee){_0x2a96c1=_0x2a96c1-0x116;let _0x391a3e=_0x5a8159[_0x2a96c1];return _0x391a3e;},_0x2a96(_0x747fd8,_0x1c2a9e);}function _0x5a81(){const _0x543810=['3746855aNGJvJ','9488226ipZyTB','commands','isOfficialPlugin','pluginName','10xrVmMh','define','add','4859952PeFBLc','config','previewFinalContent','appendChild','requires','27janHYU','editor','2001580ftuZJV','TrackChangesPreview','isPremiumPlugin','280412LzCwBx','trackChanges.preview.renderFunction','1599746jkJYoa','2QvTDHt','52487451JUWdUd'];_0x5a81=function(){return _0x543810;};return _0x5a81();}import{Dialog as _0x33124f}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x51fa97}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x46276d}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x79580f{static get[_0x2f9c4b(0x122)](){return[_0x51fa97,_0x33124f];}static get[_0x2f9c4b(0x11a)](){const _0x4f24a0=_0x2f9c4b;return _0x4f24a0(0x126);}static get[_0x2f9c4b(0x119)](){return!0x0;}static get[_0x2f9c4b(0x127)](){return!0x0;}constructor(_0x4ed1cf){const _0x39152e=_0x2f9c4b;super(_0x4ed1cf),_0x4ed1cf[_0x39152e(0x118)][_0x39152e(0x11d)](_0x39152e(0x120),new _0x46276d(this[_0x39152e(0x124)])),_0x4ed1cf[_0x39152e(0x11f)][_0x39152e(0x11c)](_0x39152e(0x129),(_0x556ce2,_0x280ad3)=>{const _0x345672=_0x39152e;for(const _0x26590f of _0x280ad3)_0x556ce2[_0x345672(0x121)](_0x26590f);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2ba607=_0x485e;(function(_0x173733,_0x29c144){const _0x1c1fa0=_0x485e,_0x30255d=_0x173733();while(!![]){try{const _0x552622=parseInt(_0x1c1fa0(0x1f1))/0x1*(parseInt(_0x1c1fa0(0x25f))/0x2)+parseInt(_0x1c1fa0(0x27b))/0x3*(-parseInt(_0x1c1fa0(0x1ea))/0x4)+parseInt(_0x1c1fa0(0x285))/0x5+-parseInt(_0x1c1fa0(0x238))/0x6+-parseInt(_0x1c1fa0(0x27a))/0x7*(parseInt(_0x1c1fa0(0x274))/0x8)+-parseInt(_0x1c1fa0(0x1e9))/0x9*(parseInt(_0x1c1fa0(0x205))/0xa)+-parseInt(_0x1c1fa0(0x271))/0xb*(-parseInt(_0x1c1fa0(0x293))/0xc);if(_0x552622===_0x29c144)break;else _0x30255d['push'](_0x30255d['shift']());}catch(_0x2580f0){_0x30255d['push'](_0x30255d['shift']());}}}(_0x3d35,0x847a4));import{Plugin as _0x5cf523}from'ckeditor5/src/core.js';import{Collection as _0x52e791}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x461d6c}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x43498c,createDropdown as _0x4fb547,ListSeparatorView as _0x173d21,MenuBarMenuView as _0x2dbdd6,MenuBarMenuListView as _0x2446db,MenuBarMenuListItemView as _0x208249,MenuBarMenuListItemButtonView as _0x62101f,SplitButtonView as _0x584228,UIModel as _0x8e4aca}from'ckeditor5/src/ui.js';import{Users as _0x4c74f1,getDateTimeFormatter as _0x756809,getAllMarkersDomElementsSorted as _0x250795}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x358a42}from'./trackchangesediting.js';function _0x485e(_0x1d4f1d,_0x8bb2b){const _0x3d35b7=_0x3d35();return _0x485e=function(_0x485e04,_0x36b246){_0x485e04=_0x485e04-0x1e7;let _0x8481b8=_0x3d35b7[_0x485e04];return _0x8481b8;},_0x485e(_0x1d4f1d,_0x8bb2b);}import{SuggestionController as _0x416d01}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x4e8e79}from'./ui/view/suggestionthreadview.js';function _0x3d35(){const _0x29921=['unbind','editor','menuitem','EditorAnnotations','evaluationLimit','button','Accept\x20all\x20suggestions','addComment','items','isOn','SuggestionThreadView','menuBar:trackChanges','getByInnerView','_annotationViews','getMarkerNames','innerView','getSuggestion','_createToolbarButton','2PLtMEG','createCommentThreadController','separator','usageLimit','comments','comments.maxThreadTotalWeight','define','licenseKey','comments.maxCommentsWhenCollapsed','children','Annotations','expired','bind','menu','activeAnnotations','getJoined','get','getRanges','11fkrthA','switchbutton','delete','4152hlsGUR','descriptionFactory','push','trackChangesLicenseKeyInvalid','suggestionChanged','discardSelectedSuggestions','1386MAUchG','3SSSbZA','commands','head','destroy','comments.editorConfig','Track\x20changes','discardAllSuggestions','addSourceCollector','_refreshActiveMarkers','isDirty','805225wZjLjy','domainLimit','getSuggestionForAnnotation','_licenseKeyCheckInterval','from','actionView','requires','SuggestionView','_bindAnnotationToEditors','trackChangesLicenseKeyUsageLimit','hasSuggestion','invalid','buttonView','init','20015772poYAdj','trackChanges','commentThread','TrackChangesEditing','addMany','isOfficialPlugin','Preview\x20final\x20content','trackChangesLicenseKeyNotAllowed','835956vntoyP','2495656ZWdgjY','suggestionUnloaded','suggestion-','CommentsUI','focus','view','trackChanges.disableComments','916488grlIck','escape','_createMenuBarMenu','_viewToController','set','trackChangesLicenseKeyDomainLimit','lowest','previous','value','acceptAllSuggestions','remove','TrackChanges','acceptSelectedSuggestions','mainView','isPremiumPlugin','commandName','Accept\x20all\x20selected\x20suggestions','_suggestionToController','getFirstRange','previewFinalContent','80jEUqOl','TrackChangesUI','suggestionView','some','discardButton','refreshSelectedViews','trackChanges.SuggestionThreadView','change:previous','Discard\x20all\x20suggestions','_showLicenseError','clear','trackChangesLicenseKeyExpired','change:activeAnnotations','isMultiRange','componentFactory','arrowView','pluginName','length','CommentsRepository','toMany','_initializeController','trackChangesLicenseKeyValid','createAnnotationView','reduce','source','filter','delegate','add','CommentView','isEnabled','getAnnotationForSuggestion','_destroyController','_updateController','suggestionLoaded','config','getDescriptions','createAnnotation','model','activeMarkers','trackChanges.SuggestionView','TrackChangesPreview','size','getMarkers','listenTo','registerAnnotation','getAllAdjacentSuggestions','comments.maxCommentCharsWhenCollapsed','panelView','values','acceptButton','_unbindEditors','4398828RasovX','descriptionParts','type','menuitemcheckbox','featureNotAllowed','locale','plugins','has','isInContent','_handleControllerBuffer','stopListening','Discard\x20all\x20selected\x20suggestions','commentsListView','trackChangesLicenseKeyEvaluationLimit','keys','_disableComments','_addUIComponentsToFactory','editing','fire','_handleSuggestionControllerDelayed','execute'];_0x3d35=function(){return _0x29921;};return _0x3d35();}import{SuggestionView as _0x41940b}from'./ui/view/suggestionview.js';import{getTranslation as _0x34f518}from'./utils/common-translations.js';export class TrackChangesUI extends _0x5cf523{[_0x2ba607(0x266)];[_0x2ba607(0x288)];[_0x2ba607(0x202)];[_0x2ba607(0x1f4)];[_0x2ba607(0x25a)];[_0x2ba607(0x241)];[_0x2ba607(0x247)];static get[_0x2ba607(0x28b)](){const _0x130ca3=_0x2ba607;return[_0x358a42,_0x4c74f1,_0x130ca3(0x217),_0x130ca3(0x269),_0x130ca3(0x250)];}static get[_0x2ba607(0x215)](){const _0x2194e9=_0x2ba607;return _0x2194e9(0x206);}static get[_0x2ba607(0x298)](){return!0x0;}static get[_0x2ba607(0x1ff)](){return!0x0;}constructor(_0x336bf3){const _0x4ad65a=_0x2ba607;super(_0x336bf3),this[_0x4ad65a(0x202)]=new Map(),this[_0x4ad65a(0x1f4)]=new Map(),this[_0x4ad65a(0x25a)]=new Map(),this[_0x4ad65a(0x241)]=new Map();const _0x2d630f=this[_0x4ad65a(0x24e)][_0x4ad65a(0x227)];_0x2d630f[_0x4ad65a(0x265)](_0x4ad65a(0x20b),_0x4e8e79),_0x2d630f[_0x4ad65a(0x265)](_0x4ad65a(0x22c),_0x41940b),_0x2d630f[_0x4ad65a(0x265)](_0x4ad65a(0x1f0),!0x1),this[_0x4ad65a(0x247)]=_0x2d630f[_0x4ad65a(0x26f)](_0x4ad65a(0x1f0));}[_0x2ba607(0x24b)](_0x232cdb,_0x1f92ab){const _0x51b15e=_0x2ba607;0x0===this[_0x51b15e(0x241)][_0x51b15e(0x22e)]&&setTimeout(()=>{const _0x2f1ed9=_0x51b15e;for(const [_0x15baff,_0x18a637]of this[_0x2f1ed9(0x241)]){const _0x4982eb=this[_0x2f1ed9(0x202)][_0x2f1ed9(0x23f)](_0x15baff);_0x4982eb||_0x18a637?_0x4982eb&&_0x18a637&&this[_0x2f1ed9(0x224)](_0x15baff):this[_0x2f1ed9(0x219)](_0x15baff);}this[_0x2f1ed9(0x241)][_0x2f1ed9(0x20f)](),this[_0x2f1ed9(0x24e)][_0x2f1ed9(0x23e)][_0x2f1ed9(0x26f)](_0x2f1ed9(0x250))[_0x2f1ed9(0x20a)](),this[_0x2f1ed9(0x283)]();},0xa),this[_0x51b15e(0x241)][_0x51b15e(0x1f5)](_0x232cdb,_0x1f92ab);}[_0x2ba607(0x292)](){const _0x1b1213=_0x2ba607,_0x58075a=this[_0x1b1213(0x24e)],_0x445555=_0x58075a[_0x1b1213(0x23e)][_0x1b1213(0x26f)](_0x1b1213(0x296)),_0x19b10d=_0x58075a[_0x1b1213(0x23e)][_0x1b1213(0x26f)](_0x1b1213(0x269)),_0x458006=_0x58075a[_0x1b1213(0x23e)][_0x1b1213(0x26f)](_0x1b1213(0x250)),_0x5ed04c=_0x58075a[_0x1b1213(0x23e)][_0x1b1213(0x26f)](_0x1b1213(0x217));this[_0x1b1213(0x248)](),_0x458006[_0x1b1213(0x282)](()=>{const _0x3ca223=_0x1b1213,_0x23c812=[];for(const [_0x38e177,_0x3d5688]of Array[_0x3ca223(0x289)](this[_0x3ca223(0x202)])){const _0x2e72e3=_0x38e177[_0x3ca223(0x232)](),_0x26c78b=[];for(const _0x4cffe6 of _0x2e72e3){if(!_0x4cffe6[_0x3ca223(0x240)])continue;if(_0x4cffe6[_0x3ca223(0x212)]){_0x26c78b[_0x3ca223(0x276)](..._0x4cffe6[_0x3ca223(0x270)]());continue;}const _0x3e4329=_0x4cffe6[_0x3ca223(0x203)]();if(_0x26c78b[_0x3ca223(0x216)]>0x0){const _0x573df4=_0x26c78b[0x0][_0x3ca223(0x26e)](_0x3e4329);if(_0x573df4){_0x26c78b[0x0]=_0x573df4;continue;}}_0x26c78b[_0x3ca223(0x276)](_0x3e4329);}_0x23c812[_0x3ca223(0x276)]([_0x3d5688[_0x3ca223(0x1ef)],_0x26c78b]);}return _0x23c812;}),this[_0x1b1213(0x230)](_0x445555,_0x1b1213(0x226),(_0x327c5a,_0xb90ea9)=>{const _0x2e779d=_0x1b1213;this[_0x2e779d(0x230)](_0xb90ea9,_0x2e779d(0x20c),(_0x327471,_0x1fd305,_0x46c7c0,_0x9f6558)=>{const _0x4f1736=_0x2e779d;_0xb90ea9[_0x4f1736(0x240)]&&(null==_0x46c7c0?(this[_0x4f1736(0x225)](_0x9f6558[_0x4f1736(0x27d)]),this[_0x4f1736(0x24b)](_0xb90ea9,!0x1)):(this[_0x4f1736(0x225)](_0x46c7c0[_0x4f1736(0x27d)]),null==_0x9f6558&&this[_0x4f1736(0x24b)](_0xb90ea9,!0x0)));}),null!==_0xb90ea9[_0x2e779d(0x1f8)]?this[_0x2e779d(0x225)](_0xb90ea9[_0x2e779d(0x27d)]):this[_0x2e779d(0x24b)](_0xb90ea9,!0x1);}),this[_0x1b1213(0x230)](_0x445555,_0x1b1213(0x1eb),(_0x1ec538,_0x79b16e,_0x2b3e1c)=>{const _0x1ba039=_0x1b1213;this[_0x1ba039(0x242)](_0x79b16e,_0x1ba039(0x20c)),this[_0x1ba039(0x241)][_0x1ba039(0x273)](_0x79b16e),this[_0x1ba039(0x202)][_0x1ba039(0x23f)](_0x79b16e)&&this[_0x1ba039(0x224)](_0x79b16e),_0x2b3e1c&&this[_0x1ba039(0x225)](_0x2b3e1c[_0x1ba039(0x27d)]);}),this[_0x1b1213(0x230)](_0x445555,_0x1b1213(0x278),(_0x1652f6,_0x498a10)=>{const _0x28a409=_0x1b1213;this[_0x28a409(0x225)](_0x498a10);}),this[_0x1b1213(0x230)](_0x19b10d,_0x1b1213(0x211),()=>{const _0xb99c0c=_0x1b1213;this[_0xb99c0c(0x283)]();}),this[_0x1b1213(0x230)](_0x5ed04c,_0x1b1213(0x254),(_0x3b2db5,{threadId:_0x2b9e1a,isFromAdapter:_0x19b3cb})=>{const _0x47f364=_0x1b1213;if(_0x19b3cb||!_0x445555[_0x47f364(0x28f)](_0x2b9e1a))return;const _0x7361e6=_0x445555[_0x47f364(0x25d)](_0x2b9e1a);this[_0x47f364(0x202)][_0x47f364(0x26f)](_0x7361e6)[_0x47f364(0x1ef)][_0x47f364(0x244)][_0x47f364(0x1ee)](-0x1);},{'priority':_0x1b1213(0x1f7)}),this[_0x1b1213(0x266)]=this[_0x1b1213(0x24e)][_0x1b1213(0x227)][_0x1b1213(0x26f)](_0x1b1213(0x266));const _0x476db=this[_0x1b1213(0x24e)];this[_0x1b1213(0x288)]=setInterval(()=>{const _0x4a6d3d=_0x1b1213;let _0x3a68e0;for(const _0x306ec3 in _0x476db){const _0x58d1ff=_0x306ec3,_0x290a17=_0x476db[_0x58d1ff];if(_0x4a6d3d(0x21a)==_0x290a17||_0x4a6d3d(0x277)==_0x290a17||_0x4a6d3d(0x210)==_0x290a17||_0x4a6d3d(0x1f6)==_0x290a17||_0x4a6d3d(0x1e8)==_0x290a17||_0x4a6d3d(0x245)==_0x290a17||_0x4a6d3d(0x28e)==_0x290a17){delete _0x476db[_0x58d1ff],_0x3a68e0=_0x290a17,clearInterval(this[_0x4a6d3d(0x288)]),this[_0x4a6d3d(0x288)]=void 0x0;break;}}_0x4a6d3d(0x277)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x290)),_0x4a6d3d(0x210)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x26a)),_0x4a6d3d(0x1f6)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x286)),_0x4a6d3d(0x1e8)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x23c),_0x4a6d3d(0x1fc)),_0x4a6d3d(0x245)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x251)),_0x4a6d3d(0x28e)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x262));},0x3e8);}[_0x2ba607(0x223)](_0x5bf84c){const _0x1428df=_0x2ba607,_0x5d5a10=this[_0x1428df(0x202)][_0x1428df(0x26f)](_0x5bf84c);if(!_0x5d5a10)return null;return this[_0x1428df(0x24e)][_0x1428df(0x23e)][_0x1428df(0x26f)](_0x1428df(0x269))[_0x1428df(0x259)](_0x5d5a10[_0x1428df(0x1ef)])||null;}[_0x2ba607(0x287)](_0x41d7a3){const _0x5d4416=_0x2ba607,_0xec8e1a=this[_0x5d4416(0x1f4)][_0x5d4416(0x26f)](_0x41d7a3[_0x5d4416(0x25c)]);return _0xec8e1a?_0xec8e1a[_0x5d4416(0x22a)]:null;}[_0x2ba607(0x283)](){const _0x480b98=_0x2ba607,_0x1ca8bf=this[_0x480b98(0x24e)][_0x480b98(0x23e)][_0x480b98(0x26f)](_0x480b98(0x269)),_0x537ec0=this[_0x480b98(0x24e)][_0x480b98(0x23e)][_0x480b98(0x26f)](_0x480b98(0x296)),_0x4b1322=Array[_0x480b98(0x289)](_0x1ca8bf[_0x480b98(0x26d)],_0x3a006d=>_0x3a006d[_0x480b98(0x25c)])[_0x480b98(0x21e)](_0xd18196=>this[_0x480b98(0x1f4)][_0x480b98(0x23f)](_0xd18196)),_0x191be5=[];for(const _0x32702f of _0x4b1322){const _0x24036b=this[_0x480b98(0x1f4)][_0x480b98(0x26f)](_0x32702f)[_0x480b98(0x22a)][_0x480b98(0x232)]();_0x191be5[_0x480b98(0x276)](..._0x24036b[_0x480b98(0x21c)]((_0x577a32,_0xde1ce6)=>[..._0x577a32,..._0xde1ce6[_0x480b98(0x25b)]()],[]));}_0x537ec0[_0x480b98(0x22b)]=_0x191be5;}[_0x2ba607(0x248)](){const _0x447be9=_0x2ba607,_0x315c65=this[_0x447be9(0x24e)],_0x10f2bf=_0x315c65[_0x447be9(0x23d)],_0x126894=_0x34f518(_0x10f2bf,_0x447be9(0x280)),_0xec8353=new _0x52e791([{'type':_0x447be9(0x272),'model':new _0x8e4aca({'withText':!0x0,'isToggleable':!0x0,'label':_0x126894,'commandName':_0x447be9(0x294),'role':_0x447be9(0x23b)})},{'type':_0x447be9(0x261)},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x253)),'commandName':_0x447be9(0x1fa),'role':_0x447be9(0x24f)})},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x201)),'commandName':_0x447be9(0x1fd),'role':_0x447be9(0x24f)})},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x20d)),'commandName':_0x447be9(0x281),'role':_0x447be9(0x24f)})},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x243)),'commandName':_0x447be9(0x279),'role':_0x447be9(0x24f)})}]);_0x315c65[_0x447be9(0x23e)][_0x447be9(0x23f)](_0x447be9(0x22d))&&_0xec8353[_0x447be9(0x297)]([{'type':_0x447be9(0x261)},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x1e7)),'commandName':_0x447be9(0x204),'role':_0x447be9(0x24f)})}]);for(const _0x2e4fef of _0xec8353)if(ke(_0x2e4fef)){const _0x5dcc40=_0x315c65[_0x447be9(0x27c)][_0x447be9(0x26f)](_0x2e4fef[_0x447be9(0x22a)][_0x447be9(0x200)]);_0x2e4fef[_0x447be9(0x22a)][_0x447be9(0x26b)](_0x447be9(0x256),_0x447be9(0x222))['to'](_0x5dcc40,_0x447be9(0x1f9),_0x447be9(0x222));}_0x315c65['ui'][_0x447be9(0x213)][_0x447be9(0x220)](_0x447be9(0x294),_0x3e292f=>this[_0x447be9(0x25e)](_0x3e292f,_0xec8353,_0x126894)),_0x315c65['ui'][_0x447be9(0x213)][_0x447be9(0x220)](_0x447be9(0x258),_0x171a14=>this[_0x447be9(0x1f3)](_0x171a14,_0xec8353,_0x126894));}[_0x2ba607(0x25e)](_0x476d4d,_0x3a489c,_0x18b033){const _0x3ea264=_0x2ba607,_0x268ee5=_0x4fb547(_0x476d4d,_0x584228),_0x506da5=this[_0x3ea264(0x24e)][_0x3ea264(0x27c)][_0x3ea264(0x26f)](_0x3ea264(0x294));_0x268ee5[_0x3ea264(0x291)][_0x3ea264(0x1f5)]({'tooltip':_0x18b033,'label':_0x18b033,'icon':_0x461d6c}),_0x268ee5[_0x3ea264(0x291)][_0x3ea264(0x26b)](_0x3ea264(0x256))['to'](_0x506da5,_0x3ea264(0x1f9)),_0x268ee5[_0x3ea264(0x291)]['on'](_0x3ea264(0x24c),()=>{const _0x26d26c=_0x3ea264;_0x506da5[_0x26d26c(0x24c)](),this[_0x26d26c(0x24e)][_0x26d26c(0x249)][_0x26d26c(0x1ef)][_0x26d26c(0x1ee)]();}),_0x43498c(_0x268ee5,_0x3a489c,{'role':_0x3ea264(0x26c)});const _0xf50a6b=[];for(const _0x5710b8 of _0x3a489c)ke(_0x5710b8)&&_0xf50a6b[_0x3ea264(0x276)](this[_0x3ea264(0x24e)][_0x3ea264(0x27c)][_0x3ea264(0x26f)](_0x5710b8[_0x3ea264(0x22a)][_0x3ea264(0x200)]));const _0x117817=_0x268ee5[_0x3ea264(0x291)];return _0x117817[_0x3ea264(0x28a)][_0x3ea264(0x24d)](_0x3ea264(0x222)),_0x117817[_0x3ea264(0x214)][_0x3ea264(0x24d)](_0x3ea264(0x222)),_0x117817[_0x3ea264(0x28a)][_0x3ea264(0x26b)](_0x3ea264(0x222))['to'](_0x506da5,_0x3ea264(0x222)),_0x117817[_0x3ea264(0x214)][_0x3ea264(0x26b)](_0x3ea264(0x222))[_0x3ea264(0x218)](_0xf50a6b,_0x3ea264(0x222),(..._0x2f4e07)=>_0x2f4e07[_0x3ea264(0x208)](_0x1761ac=>_0x1761ac)),_0x268ee5['on'](_0x3ea264(0x24c),_0xccbf43=>{const _0x32a214=_0x3ea264;this[_0x32a214(0x24e)][_0x32a214(0x24c)](_0xccbf43[_0x32a214(0x21d)][_0x32a214(0x200)]),this[_0x32a214(0x24e)][_0x32a214(0x249)][_0x32a214(0x1ef)][_0x32a214(0x1ee)]();}),_0x268ee5;}[_0x2ba607(0x1f3)](_0x21f0f9,_0xdbfc42,_0x11f891){const _0x43a7ca=_0x2ba607,_0x275ec1=new _0x2dbdd6(_0x21f0f9),_0x4d95d0=this[_0x43a7ca(0x24e)][_0x43a7ca(0x27c)][_0x43a7ca(0x26f)](_0x43a7ca(0x294));_0x275ec1[_0x43a7ca(0x291)][_0x43a7ca(0x1f5)]({'label':_0x11f891,'icon':_0x461d6c});const _0x1f7d93=new _0x2446db(_0x21f0f9);for(const _0x3c16ad of _0xdbfc42){if(_0x43a7ca(0x261)==_0x3c16ad[_0x43a7ca(0x23a)]){_0x1f7d93[_0x43a7ca(0x255)][_0x43a7ca(0x220)](new _0x173d21(_0x21f0f9));continue;}const _0x315c90=new _0x208249(_0x21f0f9,_0x275ec1),_0x41b159=new _0x62101f(_0x21f0f9),_0x1d0bb2=_0x3c16ad[_0x43a7ca(0x22a)];_0x41b159[_0x43a7ca(0x26b)](...Object[_0x43a7ca(0x246)](_0x1d0bb2))['to'](_0x1d0bb2),_0x41b159[_0x43a7ca(0x21f)](_0x43a7ca(0x24c))['to'](_0x275ec1),_0x41b159['on'](_0x43a7ca(0x24c),()=>{const _0x3fc44f=_0x43a7ca;this[_0x3fc44f(0x24e)][_0x3fc44f(0x24c)](_0x1d0bb2[_0x3fc44f(0x200)]),this[_0x3fc44f(0x24e)][_0x3fc44f(0x249)][_0x3fc44f(0x1ef)][_0x3fc44f(0x1ee)]();}),_0x315c90[_0x43a7ca(0x268)][_0x43a7ca(0x220)](_0x41b159),_0x1f7d93[_0x43a7ca(0x255)][_0x43a7ca(0x220)](_0x315c90);}return _0x275ec1[_0x43a7ca(0x26b)](_0x43a7ca(0x222))['to'](_0x4d95d0,_0x43a7ca(0x222)),_0x275ec1[_0x43a7ca(0x234)][_0x43a7ca(0x268)][_0x43a7ca(0x220)](_0x1f7d93),_0x275ec1;}[_0x2ba607(0x219)](_0x760570){const _0x10f2df=_0x2ba607,_0x20e316=this[_0x10f2df(0x24e)],_0x25a688=_0x20e316[_0x10f2df(0x227)],_0x3eec0c=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x269)),_0x255164=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x217)),_0x4ef787=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x250)),_0x53df3e=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x4c74f1)['me'],_0xc7ab93=_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x294))[_0x10f2df(0x257)],_0x295bfc=_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x294))[_0x10f2df(0x28c)],{CommentsListView:_0x1c46ba,CommentThreadInputView:_0x2f13bf}=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x1ed));let _0x2a8b0d,_0x543f7e,_0x294a00;this[_0x10f2df(0x25a)][_0x10f2df(0x23f)](_0x760570['id'])?(_0x543f7e=this[_0x10f2df(0x25a)][_0x10f2df(0x26f)](_0x760570['id']),_0x2a8b0d=_0x543f7e[_0x10f2df(0x1fe)]):(_0x2a8b0d=new _0xc7ab93(_0x20e316[_0x10f2df(0x23d)],_0x760570,_0x53df3e,{'disableComments':this[_0x10f2df(0x247)],'editorConfig':{..._0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x27f)),'licenseKey':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x266))},'maxCommentsWhenCollapsed':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x267)),'maxThreadTotalWeight':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x264)),'maxCommentCharsWhenCollapsed':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x233)),'formatDateTime':_0x756809(_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x23d)),_0x20e316[_0x10f2df(0x23d)]),'CommentView':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x263))[_0x10f2df(0x221)],'CommentsListView':_0x1c46ba,'CommentThreadInputView':_0x2f13bf,'SuggestionView':_0x295bfc}),_0x2a8b0d[_0x10f2df(0x207)][_0x10f2df(0x236)]['on'](_0x10f2df(0x24c),()=>{const _0x350b1f=_0x10f2df;_0x20e316[_0x350b1f(0x249)][_0x350b1f(0x1ef)][_0x350b1f(0x1ee)]();}),_0x2a8b0d[_0x10f2df(0x207)][_0x10f2df(0x209)]['on'](_0x10f2df(0x24c),()=>{const _0x29f49e=_0x10f2df;_0x20e316[_0x29f49e(0x249)][_0x29f49e(0x1ef)][_0x29f49e(0x1ee)]();}),_0x543f7e=_0x3eec0c[_0x10f2df(0x21b)](this[_0x10f2df(0x24e)][_0x10f2df(0x23d)],_0x2a8b0d),_0x543f7e[_0x10f2df(0x26b)](_0x10f2df(0x284))['to'](_0x2a8b0d,_0x10f2df(0x284)),_0x543f7e[_0x10f2df(0x26b)](_0x10f2df(0x216))['to'](_0x2a8b0d),_0x543f7e[_0x10f2df(0x26b)](_0x10f2df(0x23a))['to'](_0x2a8b0d,_0x10f2df(0x23a),_0x451432=>_0x10f2df(0x1ec)+_0x451432),_0x2a8b0d['on'](_0x10f2df(0x1f2),()=>{const _0x4982c5=_0x10f2df;_0x294a00[_0x4982c5(0x24a)](_0x4982c5(0x1f2));}),this[_0x10f2df(0x25a)][_0x10f2df(0x1f5)](_0x760570['id'],_0x543f7e));const _0x2fb3ea=_0x255164[_0x10f2df(0x260)](_0x760570[_0x10f2df(0x295)],_0x2a8b0d),_0x4c9f4d=new _0x416d01(_0x20e316,_0x760570,_0x2a8b0d,_0x2fb3ea),_0xb6e057=_0x760570[_0x10f2df(0x232)]()[_0x10f2df(0x21e)](_0x2087cd=>_0x2087cd[_0x10f2df(0x240)]);_0x2a8b0d[_0x10f2df(0x239)]=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x296))[_0x10f2df(0x275)][_0x10f2df(0x228)](_0xb6e057),this[_0x10f2df(0x202)][_0x10f2df(0x1f5)](_0x760570,_0x4c9f4d),this[_0x10f2df(0x1f4)][_0x10f2df(0x1f5)](_0x2a8b0d,_0x4c9f4d);const _0x3ebb74=()=>{const _0x1cca5d=_0x10f2df,_0xf843e0=[],_0x1fb41a=_0x760570[_0x1cca5d(0x232)]()[_0x1cca5d(0x21e)](_0x39e6de=>_0x39e6de[_0x1cca5d(0x240)]);for(const _0x5a95f7 of _0x1fb41a)_0xf843e0[_0x1cca5d(0x276)](..._0x5a95f7[_0x1cca5d(0x22f)]());return _0x250795(_0x20e316[_0x1cca5d(0x249)],_0xf843e0);};_0x294a00=_0x3eec0c[_0x10f2df(0x229)]({'view':_0x543f7e,'target':_0x3ebb74,'type':()=>_0x10f2df(0x1ec)+_0x4c9f4d[_0x10f2df(0x1ef)][_0x10f2df(0x23a)],'isVisible':!!_0x3ebb74()}),_0x255164[_0x10f2df(0x28d)](_0x2a8b0d,_0x294a00),_0x3eec0c[_0x10f2df(0x220)](_0x294a00),_0x4ef787[_0x10f2df(0x231)](_0x294a00);}[_0x2ba607(0x224)](_0x5a9e08){const _0x1716c9=_0x2ba607,_0x55dc15=this[_0x1716c9(0x24e)][_0x1716c9(0x23e)][_0x1716c9(0x26f)](_0x1716c9(0x217)),_0x14b4ea=this[_0x1716c9(0x24e)][_0x1716c9(0x23e)][_0x1716c9(0x26f)](_0x1716c9(0x269)),_0x86b134=this[_0x1716c9(0x202)][_0x1716c9(0x26f)](_0x5a9e08),_0x3e6f22=_0x86b134[_0x1716c9(0x1ef)],_0x42e0b9=_0x14b4ea[_0x1716c9(0x259)](_0x3e6f22);_0x55dc15[_0x1716c9(0x237)](_0x3e6f22),_0x42e0b9&&_0x14b4ea[_0x1716c9(0x1fb)](_0x42e0b9),this[_0x1716c9(0x202)][_0x1716c9(0x273)](_0x5a9e08),this[_0x1716c9(0x1f4)][_0x1716c9(0x273)](_0x3e6f22),_0x86b134[_0x1716c9(0x27e)]();}[_0x2ba607(0x225)](_0x52c9c9){const _0x333e68=_0x2ba607;if(!_0x52c9c9[_0x333e68(0x240)]||!this[_0x333e68(0x202)][_0x333e68(0x23f)](_0x52c9c9))return;const _0x5ccca7=this[_0x333e68(0x24e)][_0x333e68(0x23e)][_0x333e68(0x26f)](_0x333e68(0x296)),_0x4bf005=this[_0x333e68(0x202)][_0x333e68(0x26f)](_0x52c9c9),_0x1ebe8c=_0x52c9c9[_0x333e68(0x232)]();_0x4bf005[_0x333e68(0x1ef)][_0x333e68(0x239)]=_0x5ccca7[_0x333e68(0x275)][_0x333e68(0x228)](_0x1ebe8c);}[_0x2ba607(0x27e)](){const _0x45da97=_0x2ba607;for(const _0x431d65 of this[_0x45da97(0x202)][_0x45da97(0x246)]())this[_0x45da97(0x224)](_0x431d65);for(const _0x7868bd of this[_0x45da97(0x25a)][_0x45da97(0x235)]())_0x7868bd[_0x45da97(0x1fe)][_0x45da97(0x27e)]();super[_0x45da97(0x27e)](),this[_0x45da97(0x288)]&&clearInterval(this[_0x45da97(0x288)]);}}function ke(_0x24cf2f){const _0x47b650=_0x2ba607;return _0x47b650(0x22a)in _0x24cf2f;}
|
|
23
|
+
const _0x101db5=_0x4aa5;(function(_0x48f4d7,_0x50b576){const _0x2bfa38=_0x4aa5,_0x4b7303=_0x48f4d7();while(!![]){try{const _0x39e4c9=parseInt(_0x2bfa38(0x17d))/0x1+parseInt(_0x2bfa38(0x15a))/0x2*(-parseInt(_0x2bfa38(0x1b3))/0x3)+parseInt(_0x2bfa38(0x133))/0x4*(parseInt(_0x2bfa38(0x118))/0x5)+parseInt(_0x2bfa38(0x128))/0x6+parseInt(_0x2bfa38(0x125))/0x7*(parseInt(_0x2bfa38(0x192))/0x8)+parseInt(_0x2bfa38(0x132))/0x9+-parseInt(_0x2bfa38(0x10c))/0xa;if(_0x39e4c9===_0x50b576)break;else _0x4b7303['push'](_0x4b7303['shift']());}catch(_0x2fc004){_0x4b7303['push'](_0x4b7303['shift']());}}}(_0x3dc5,0x4b8bf));function _0x3dc5(){const _0xf30c57=['buttonView','usageLimit','items','children','keys','trackChanges.disableComments','discardSelectedSuggestions','isMultiRange','_annotationViews','Annotations','expired','isEnabled','trackChangesLicenseKeyEvaluationLimit','8lWyfkB','createAnnotation','commentsListView','switchbutton','featureNotAllowed','CommentsUI','acceptButton','comments','head','push','getRanges','delegate','TrackChangesEditing','_showLicenseError','suggestionUnloaded','button','change:activeAnnotations','stopListening','locale','menuBar:trackChanges','getJoined','set','acceptAllSuggestions','acceptSelectedSuggestions','isDirty','trackChangesLicenseKeyDomainLimit','listenTo','getSuggestion','previewFinalContent','discardButton','SuggestionThreadView','Discard\x20all\x20selected\x20suggestions','Track\x20changes','3yMUBpi','menu','suggestion-','length','reduce','fire','refreshSelectedViews','from','trackChangesLicenseKeyNotAllowed','15123230FJHSRm','_unbindEditors','addComment','get','CommentsRepository','clear','lowest','_createMenuBarMenu','hasSuggestion','createCommentThreadController','separator','source','5qtRzSH','plugins','comments.maxThreadTotalWeight','execute','editor','TrackChangesUI','value','innerView','Discard\x20all\x20suggestions','panelView','suggestionView','discardAllSuggestions','domainLimit','1420741AJxJHm','suggestionLoaded','menuitem','731868lchVrm','view','_licenseKeyCheckInterval','componentFactory','menuitemcheckbox','trackChanges','comments.maxCommentsWhenCollapsed','actionView','define','change:previous','4971933CqRCsk','2197564vAFFSR','licenseKey','getDescriptions','addMany','addSourceCollector','_createToolbarButton','unbind','trackChangesLicenseKeyExpired','_refreshActiveMarkers','getMarkerNames','editing','delete','getSuggestionForAnnotation','_disableComments','comments.maxCommentCharsWhenCollapsed','remove','isPremiumPlugin','requires','getFirstRange','invalid','filter','trackChangesLicenseKeyValid','size','TrackChanges','_addUIComponentsToFactory','SuggestionView','mainView','_suggestionToController','config','trackChangesLicenseKeyInvalid','commentThread','add','isOfficialPlugin','init','createAnnotationView','registerAnnotation','_viewToController','bind','trackChanges.SuggestionThreadView','146494YpySLC','escape','getAnnotationForSuggestion','commands','previous','descriptionFactory','values','descriptionParts','destroy','pluginName','TrackChangesPreview','evaluationLimit','activeMarkers','EditorAnnotations','comments.editorConfig','_handleControllerBuffer','_destroyController','getAllAdjacentSuggestions','_initializeController','_handleSuggestionControllerDelayed','some','has','activeAnnotations','trackChanges.SuggestionView','isInContent','getMarkers','type','focus','Preview\x20final\x20content','commandName','arrowView','isOn','model','_bindAnnotationToEditors','suggestionChanged','468240sVwASR','_updateController','Accept\x20all\x20suggestions','toMany','CommentView','trackChangesLicenseKeyUsageLimit','getByInnerView','Accept\x20all\x20selected\x20suggestions'];_0x3dc5=function(){return _0xf30c57;};return _0x3dc5();}import{Plugin as _0x263661}from'ckeditor5/src/core.js';import{Collection as _0x6029b3}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x4a878f}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4caf56,createDropdown as _0x2ba7cb,ListSeparatorView as _0x5d6020,MenuBarMenuView as _0x4df126,MenuBarMenuListView as _0x498499,MenuBarMenuListItemView as _0xcf692d,MenuBarMenuListItemButtonView as _0x2d3c37,SplitButtonView as _0x836b99,UIModel as _0xf57734}from'ckeditor5/src/ui.js';import{Users as _0x2749e3,getDateTimeFormatter as _0x1d824e,getAllMarkersDomElementsSorted as _0x15c91e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x3ab6b2}from'./trackchangesediting.js';import{SuggestionController as _0x4b119d}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x325249}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x4a87ad}from'./ui/view/suggestionview.js';import{getTranslation as _0x227612}from'./utils/common-translations.js';function _0x4aa5(_0x3b2f53,_0x37635c){const _0x3dc581=_0x3dc5();return _0x4aa5=function(_0x4aa54f,_0x4304f6){_0x4aa54f=_0x4aa54f-0x109;let _0xe88cd6=_0x3dc581[_0x4aa54f];return _0xe88cd6;},_0x4aa5(_0x3b2f53,_0x37635c);}export class TrackChangesUI extends _0x263661{[_0x101db5(0x134)];[_0x101db5(0x12a)];[_0x101db5(0x14e)];[_0x101db5(0x157)];[_0x101db5(0x18d)];[_0x101db5(0x169)];[_0x101db5(0x140)];static get[_0x101db5(0x144)](){const _0x5bb8cd=_0x101db5;return[_0x3ab6b2,_0x2749e3,_0x5bb8cd(0x110),_0x5bb8cd(0x18e),_0x5bb8cd(0x167)];}static get[_0x101db5(0x163)](){const _0x13df59=_0x101db5;return _0x13df59(0x11d);}static get[_0x101db5(0x153)](){return!0x0;}static get[_0x101db5(0x143)](){return!0x0;}constructor(_0x404637){const _0x2683ce=_0x101db5;super(_0x404637),this[_0x2683ce(0x14e)]=new Map(),this[_0x2683ce(0x157)]=new Map(),this[_0x2683ce(0x18d)]=new Map(),this[_0x2683ce(0x169)]=new Map();const _0x20643a=this[_0x2683ce(0x11c)][_0x2683ce(0x14f)];_0x20643a[_0x2683ce(0x130)](_0x2683ce(0x159),_0x325249),_0x20643a[_0x2683ce(0x130)](_0x2683ce(0x171),_0x4a87ad),_0x20643a[_0x2683ce(0x130)](_0x2683ce(0x18a),!0x1),this[_0x2683ce(0x140)]=_0x20643a[_0x2683ce(0x10f)](_0x2683ce(0x18a));}[_0x101db5(0x16d)](_0xb269d8,_0x136090){const _0x250347=_0x101db5;0x0===this[_0x250347(0x169)][_0x250347(0x149)]&&setTimeout(()=>{const _0x1e983b=_0x250347;for(const [_0x5cf3fb,_0x5bb53a]of this[_0x1e983b(0x169)]){const _0x19f1c2=this[_0x1e983b(0x14e)][_0x1e983b(0x16f)](_0x5cf3fb);_0x19f1c2||_0x5bb53a?_0x19f1c2&&_0x5bb53a&&this[_0x1e983b(0x16a)](_0x5cf3fb):this[_0x1e983b(0x16c)](_0x5cf3fb);}this[_0x1e983b(0x169)][_0x1e983b(0x111)](),this[_0x1e983b(0x11c)][_0x1e983b(0x119)][_0x1e983b(0x10f)](_0x1e983b(0x167))[_0x1e983b(0x109)](),this[_0x1e983b(0x13b)]();},0xa),this[_0x250347(0x169)][_0x250347(0x1a7)](_0xb269d8,_0x136090);}[_0x101db5(0x154)](){const _0x37d7f6=_0x101db5,_0x27db71=this[_0x37d7f6(0x11c)],_0x3ed8dc=_0x27db71[_0x37d7f6(0x119)][_0x37d7f6(0x10f)](_0x37d7f6(0x19e)),_0x571367=_0x27db71[_0x37d7f6(0x119)][_0x37d7f6(0x10f)](_0x37d7f6(0x18e)),_0x50a2ae=_0x27db71[_0x37d7f6(0x119)][_0x37d7f6(0x10f)](_0x37d7f6(0x167)),_0x510c9e=_0x27db71[_0x37d7f6(0x119)][_0x37d7f6(0x10f)](_0x37d7f6(0x110));this[_0x37d7f6(0x14b)](),_0x50a2ae[_0x37d7f6(0x137)](()=>{const _0x51817c=_0x37d7f6,_0x20b357=[];for(const [_0x429e7d,_0x26f237]of Array[_0x51817c(0x10a)](this[_0x51817c(0x14e)])){const _0x37f63a=_0x429e7d[_0x51817c(0x16b)](),_0x53d919=[];for(const _0x3db571 of _0x37f63a){if(!_0x3db571[_0x51817c(0x172)])continue;if(_0x3db571[_0x51817c(0x18c)]){_0x53d919[_0x51817c(0x19b)](..._0x3db571[_0x51817c(0x19c)]());continue;}const _0x55ed7b=_0x3db571[_0x51817c(0x145)]();if(_0x53d919[_0x51817c(0x1b6)]>0x0){const _0x7ad08a=_0x53d919[0x0][_0x51817c(0x1a6)](_0x55ed7b);if(_0x7ad08a){_0x53d919[0x0]=_0x7ad08a;continue;}}_0x53d919[_0x51817c(0x19b)](_0x55ed7b);}_0x20b357[_0x51817c(0x19b)]([_0x26f237[_0x51817c(0x129)],_0x53d919]);}return _0x20b357;}),this[_0x37d7f6(0x1ac)](_0x3ed8dc,_0x37d7f6(0x126),(_0x5b9031,_0x26161f)=>{const _0xc417ea=_0x37d7f6;this[_0xc417ea(0x1ac)](_0x26161f,_0xc417ea(0x131),(_0x20267b,_0x1642b7,_0x1345f7,_0x1a142c)=>{const _0x37ae6c=_0xc417ea;_0x26161f[_0x37ae6c(0x172)]&&(null==_0x1345f7?(this[_0x37ae6c(0x17e)](_0x1a142c[_0x37ae6c(0x19a)]),this[_0x37ae6c(0x16d)](_0x26161f,!0x1)):(this[_0x37ae6c(0x17e)](_0x1345f7[_0x37ae6c(0x19a)]),null==_0x1a142c&&this[_0x37ae6c(0x16d)](_0x26161f,!0x0)));}),null!==_0x26161f[_0xc417ea(0x15e)]?this[_0xc417ea(0x17e)](_0x26161f[_0xc417ea(0x19a)]):this[_0xc417ea(0x16d)](_0x26161f,!0x1);}),this[_0x37d7f6(0x1ac)](_0x3ed8dc,_0x37d7f6(0x1a0),(_0x468646,_0x33a363,_0x4be2d1)=>{const _0x3ff9c9=_0x37d7f6;this[_0x3ff9c9(0x1a3)](_0x33a363,_0x3ff9c9(0x131)),this[_0x3ff9c9(0x169)][_0x3ff9c9(0x13e)](_0x33a363),this[_0x3ff9c9(0x14e)][_0x3ff9c9(0x16f)](_0x33a363)&&this[_0x3ff9c9(0x16a)](_0x33a363),_0x4be2d1&&this[_0x3ff9c9(0x17e)](_0x4be2d1[_0x3ff9c9(0x19a)]);}),this[_0x37d7f6(0x1ac)](_0x3ed8dc,_0x37d7f6(0x17c),(_0x2baaef,_0x15195e)=>{const _0x73894b=_0x37d7f6;this[_0x73894b(0x17e)](_0x15195e);}),this[_0x37d7f6(0x1ac)](_0x571367,_0x37d7f6(0x1a2),()=>{const _0x509c99=_0x37d7f6;this[_0x509c99(0x13b)]();}),this[_0x37d7f6(0x1ac)](_0x510c9e,_0x37d7f6(0x10e),(_0x31842a,{threadId:_0x57f078,isFromAdapter:_0x2ad301})=>{const _0xf231cb=_0x37d7f6;if(_0x2ad301||!_0x3ed8dc[_0xf231cb(0x114)](_0x57f078))return;const _0x4702d8=_0x3ed8dc[_0xf231cb(0x1ad)](_0x57f078);this[_0xf231cb(0x14e)][_0xf231cb(0x10f)](_0x4702d8)[_0xf231cb(0x129)][_0xf231cb(0x194)][_0xf231cb(0x175)](-0x1);},{'priority':_0x37d7f6(0x112)}),this[_0x37d7f6(0x134)]=this[_0x37d7f6(0x11c)][_0x37d7f6(0x14f)][_0x37d7f6(0x10f)](_0x37d7f6(0x134));const _0xc7908c=this[_0x37d7f6(0x11c)];this[_0x37d7f6(0x12a)]=setInterval(()=>{const _0x174789=_0x37d7f6;let _0x1f7e92;for(const _0x271f70 in _0xc7908c){const _0x35db6b=_0x271f70,_0x10a389=_0xc7908c[_0x35db6b];if(_0x174789(0x148)==_0x10a389||_0x174789(0x150)==_0x10a389||_0x174789(0x13a)==_0x10a389||_0x174789(0x1ab)==_0x10a389||_0x174789(0x10b)==_0x10a389||_0x174789(0x191)==_0x10a389||_0x174789(0x182)==_0x10a389){delete _0xc7908c[_0x35db6b],_0x1f7e92=_0x10a389,clearInterval(this[_0x174789(0x12a)]),this[_0x174789(0x12a)]=void 0x0;break;}}_0x174789(0x150)==_0x1f7e92&&_0xc7908c[_0x174789(0x19f)](_0x174789(0x146)),_0x174789(0x13a)==_0x1f7e92&&_0xc7908c[_0x174789(0x19f)](_0x174789(0x18f)),_0x174789(0x1ab)==_0x1f7e92&&_0xc7908c[_0x174789(0x19f)](_0x174789(0x124)),_0x174789(0x10b)==_0x1f7e92&&_0xc7908c[_0x174789(0x19f)](_0x174789(0x196),_0x174789(0x14a)),_0x174789(0x191)==_0x1f7e92&&_0xc7908c[_0x174789(0x19f)](_0x174789(0x165)),_0x174789(0x182)==_0x1f7e92&&_0xc7908c[_0x174789(0x19f)](_0x174789(0x186));},0x3e8);}[_0x101db5(0x15c)](_0x4dc4b3){const _0x80a4af=_0x101db5,_0x50f6ed=this[_0x80a4af(0x14e)][_0x80a4af(0x10f)](_0x4dc4b3);if(!_0x50f6ed)return null;return this[_0x80a4af(0x11c)][_0x80a4af(0x119)][_0x80a4af(0x10f)](_0x80a4af(0x18e))[_0x80a4af(0x183)](_0x50f6ed[_0x80a4af(0x129)])||null;}[_0x101db5(0x13f)](_0x2a252d){const _0x38f758=_0x101db5,_0x4fca77=this[_0x38f758(0x157)][_0x38f758(0x10f)](_0x2a252d[_0x38f758(0x11f)]);return _0x4fca77?_0x4fca77[_0x38f758(0x17a)]:null;}[_0x101db5(0x13b)](){const _0x2ef12f=_0x101db5,_0x4baaaa=this[_0x2ef12f(0x11c)][_0x2ef12f(0x119)][_0x2ef12f(0x10f)](_0x2ef12f(0x18e)),_0x40aaf8=this[_0x2ef12f(0x11c)][_0x2ef12f(0x119)][_0x2ef12f(0x10f)](_0x2ef12f(0x19e)),_0x157de6=Array[_0x2ef12f(0x10a)](_0x4baaaa[_0x2ef12f(0x170)],_0x81bd59=>_0x81bd59[_0x2ef12f(0x11f)])[_0x2ef12f(0x147)](_0x1f2adf=>this[_0x2ef12f(0x157)][_0x2ef12f(0x16f)](_0x1f2adf)),_0x22cdfe=[];for(const _0x782609 of _0x157de6){const _0x1eabcb=this[_0x2ef12f(0x157)][_0x2ef12f(0x10f)](_0x782609)[_0x2ef12f(0x17a)][_0x2ef12f(0x16b)]();_0x22cdfe[_0x2ef12f(0x19b)](..._0x1eabcb[_0x2ef12f(0x1b7)]((_0x55befe,_0x182f66)=>[..._0x55befe,..._0x182f66[_0x2ef12f(0x13c)]()],[]));}_0x40aaf8[_0x2ef12f(0x166)]=_0x22cdfe;}[_0x101db5(0x14b)](){const _0x146147=_0x101db5,_0x3a7653=this[_0x146147(0x11c)],_0x1b0501=_0x3a7653[_0x146147(0x1a4)],_0x3c3918=_0x227612(_0x1b0501,_0x146147(0x1b2)),_0x2099b2=new _0x6029b3([{'type':_0x146147(0x195),'model':new _0xf57734({'withText':!0x0,'isToggleable':!0x0,'label':_0x3c3918,'commandName':_0x146147(0x12d),'role':_0x146147(0x12c)})},{'type':_0x146147(0x116)},{'type':_0x146147(0x1a1),'model':new _0xf57734({'withText':!0x0,'label':_0x227612(_0x1b0501,_0x146147(0x17f)),'commandName':_0x146147(0x1a8),'role':_0x146147(0x127)})},{'type':_0x146147(0x1a1),'model':new _0xf57734({'withText':!0x0,'label':_0x227612(_0x1b0501,_0x146147(0x184)),'commandName':_0x146147(0x1a9),'role':_0x146147(0x127)})},{'type':_0x146147(0x1a1),'model':new _0xf57734({'withText':!0x0,'label':_0x227612(_0x1b0501,_0x146147(0x120)),'commandName':_0x146147(0x123),'role':_0x146147(0x127)})},{'type':_0x146147(0x1a1),'model':new _0xf57734({'withText':!0x0,'label':_0x227612(_0x1b0501,_0x146147(0x1b1)),'commandName':_0x146147(0x18b),'role':_0x146147(0x127)})}]);_0x3a7653[_0x146147(0x119)][_0x146147(0x16f)](_0x146147(0x164))&&_0x2099b2[_0x146147(0x136)]([{'type':_0x146147(0x116)},{'type':_0x146147(0x1a1),'model':new _0xf57734({'withText':!0x0,'label':_0x227612(_0x1b0501,_0x146147(0x176)),'commandName':_0x146147(0x1ae),'role':_0x146147(0x127)})}]);for(const _0x27a42a of _0x2099b2)if(ke(_0x27a42a)){const _0x17200d=_0x3a7653[_0x146147(0x15d)][_0x146147(0x10f)](_0x27a42a[_0x146147(0x17a)][_0x146147(0x177)]);_0x27a42a[_0x146147(0x17a)][_0x146147(0x158)](_0x146147(0x179),_0x146147(0x190))['to'](_0x17200d,_0x146147(0x11e),_0x146147(0x190));}_0x3a7653['ui'][_0x146147(0x12b)][_0x146147(0x152)](_0x146147(0x12d),_0x1c32d6=>this[_0x146147(0x138)](_0x1c32d6,_0x2099b2,_0x3c3918)),_0x3a7653['ui'][_0x146147(0x12b)][_0x146147(0x152)](_0x146147(0x1a5),_0x32f02e=>this[_0x146147(0x113)](_0x32f02e,_0x2099b2,_0x3c3918));}[_0x101db5(0x138)](_0x54daa4,_0x263f80,_0x347699){const _0x5e9619=_0x101db5,_0x432408=_0x2ba7cb(_0x54daa4,_0x836b99),_0xa6c2a8=this[_0x5e9619(0x11c)][_0x5e9619(0x15d)][_0x5e9619(0x10f)](_0x5e9619(0x12d));_0x432408[_0x5e9619(0x185)][_0x5e9619(0x1a7)]({'tooltip':_0x347699,'label':_0x347699,'icon':_0x4a878f}),_0x432408[_0x5e9619(0x185)][_0x5e9619(0x158)](_0x5e9619(0x179))['to'](_0xa6c2a8,_0x5e9619(0x11e)),_0x432408[_0x5e9619(0x185)]['on'](_0x5e9619(0x11b),()=>{const _0x11f78a=_0x5e9619;_0xa6c2a8[_0x11f78a(0x11b)](),this[_0x11f78a(0x11c)][_0x11f78a(0x13d)][_0x11f78a(0x129)][_0x11f78a(0x175)]();}),_0x4caf56(_0x432408,_0x263f80,{'role':_0x5e9619(0x1b4)});const _0x3bace9=[];for(const _0x493e17 of _0x263f80)ke(_0x493e17)&&_0x3bace9[_0x5e9619(0x19b)](this[_0x5e9619(0x11c)][_0x5e9619(0x15d)][_0x5e9619(0x10f)](_0x493e17[_0x5e9619(0x17a)][_0x5e9619(0x177)]));const _0x246bc7=_0x432408[_0x5e9619(0x185)];return _0x246bc7[_0x5e9619(0x12f)][_0x5e9619(0x139)](_0x5e9619(0x190)),_0x246bc7[_0x5e9619(0x178)][_0x5e9619(0x139)](_0x5e9619(0x190)),_0x246bc7[_0x5e9619(0x12f)][_0x5e9619(0x158)](_0x5e9619(0x190))['to'](_0xa6c2a8,_0x5e9619(0x190)),_0x246bc7[_0x5e9619(0x178)][_0x5e9619(0x158)](_0x5e9619(0x190))[_0x5e9619(0x180)](_0x3bace9,_0x5e9619(0x190),(..._0x1a13a0)=>_0x1a13a0[_0x5e9619(0x16e)](_0x1a25c4=>_0x1a25c4)),_0x432408['on'](_0x5e9619(0x11b),_0x582643=>{const _0x44e01c=_0x5e9619;this[_0x44e01c(0x11c)][_0x44e01c(0x11b)](_0x582643[_0x44e01c(0x117)][_0x44e01c(0x177)]),this[_0x44e01c(0x11c)][_0x44e01c(0x13d)][_0x44e01c(0x129)][_0x44e01c(0x175)]();}),_0x432408;}[_0x101db5(0x113)](_0x2ef18e,_0xe23de,_0x411c7e){const _0x5b4608=_0x101db5,_0x926d7a=new _0x4df126(_0x2ef18e),_0x2dbfeb=this[_0x5b4608(0x11c)][_0x5b4608(0x15d)][_0x5b4608(0x10f)](_0x5b4608(0x12d));_0x926d7a[_0x5b4608(0x185)][_0x5b4608(0x1a7)]({'label':_0x411c7e,'icon':_0x4a878f});const _0x15ead7=new _0x498499(_0x2ef18e);for(const _0x972444 of _0xe23de){if(_0x5b4608(0x116)==_0x972444[_0x5b4608(0x174)]){_0x15ead7[_0x5b4608(0x187)][_0x5b4608(0x152)](new _0x5d6020(_0x2ef18e));continue;}const _0x2cb4b5=new _0xcf692d(_0x2ef18e,_0x926d7a),_0x39f524=new _0x2d3c37(_0x2ef18e),_0x2f2d44=_0x972444[_0x5b4608(0x17a)];_0x39f524[_0x5b4608(0x158)](...Object[_0x5b4608(0x189)](_0x2f2d44))['to'](_0x2f2d44),_0x39f524[_0x5b4608(0x19d)](_0x5b4608(0x11b))['to'](_0x926d7a),_0x39f524['on'](_0x5b4608(0x11b),()=>{const _0xb157bb=_0x5b4608;this[_0xb157bb(0x11c)][_0xb157bb(0x11b)](_0x2f2d44[_0xb157bb(0x177)]),this[_0xb157bb(0x11c)][_0xb157bb(0x13d)][_0xb157bb(0x129)][_0xb157bb(0x175)]();}),_0x2cb4b5[_0x5b4608(0x188)][_0x5b4608(0x152)](_0x39f524),_0x15ead7[_0x5b4608(0x187)][_0x5b4608(0x152)](_0x2cb4b5);}return _0x926d7a[_0x5b4608(0x158)](_0x5b4608(0x190))['to'](_0x2dbfeb,_0x5b4608(0x190)),_0x926d7a[_0x5b4608(0x121)][_0x5b4608(0x188)][_0x5b4608(0x152)](_0x15ead7),_0x926d7a;}[_0x101db5(0x16c)](_0x828ef7){const _0x3f24d7=_0x101db5,_0x1ad759=this[_0x3f24d7(0x11c)],_0x3a5af1=_0x1ad759[_0x3f24d7(0x14f)],_0x417fe8=_0x1ad759[_0x3f24d7(0x119)][_0x3f24d7(0x10f)](_0x3f24d7(0x18e)),_0x34df54=_0x1ad759[_0x3f24d7(0x119)][_0x3f24d7(0x10f)](_0x3f24d7(0x110)),_0x2aaa34=_0x1ad759[_0x3f24d7(0x119)][_0x3f24d7(0x10f)](_0x3f24d7(0x167)),_0x4f993b=_0x1ad759[_0x3f24d7(0x119)][_0x3f24d7(0x10f)](_0x2749e3)['me'],_0x2a50b2=_0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x12d))[_0x3f24d7(0x1b0)],_0x3e9252=_0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x12d))[_0x3f24d7(0x14c)],{CommentsListView:_0x9500ca,CommentThreadInputView:_0x1412f0}=_0x1ad759[_0x3f24d7(0x119)][_0x3f24d7(0x10f)](_0x3f24d7(0x197));let _0x4fc006,_0x1f3604,_0xde29fa;this[_0x3f24d7(0x18d)][_0x3f24d7(0x16f)](_0x828ef7['id'])?(_0x1f3604=this[_0x3f24d7(0x18d)][_0x3f24d7(0x10f)](_0x828ef7['id']),_0x4fc006=_0x1f3604[_0x3f24d7(0x14d)]):(_0x4fc006=new _0x2a50b2(_0x1ad759[_0x3f24d7(0x1a4)],_0x828ef7,_0x4f993b,{'disableComments':this[_0x3f24d7(0x140)],'editorConfig':{..._0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x168)),'licenseKey':_0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x134))},'maxCommentsWhenCollapsed':_0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x12e)),'maxThreadTotalWeight':_0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x11a)),'maxCommentCharsWhenCollapsed':_0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x141)),'formatDateTime':_0x1d824e(_0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x1a4)),_0x1ad759[_0x3f24d7(0x1a4)]),'CommentView':_0x3a5af1[_0x3f24d7(0x10f)](_0x3f24d7(0x199))[_0x3f24d7(0x181)],'CommentsListView':_0x9500ca,'CommentThreadInputView':_0x1412f0,'SuggestionView':_0x3e9252}),_0x4fc006[_0x3f24d7(0x122)][_0x3f24d7(0x198)]['on'](_0x3f24d7(0x11b),()=>{const _0x40ff0e=_0x3f24d7;_0x1ad759[_0x40ff0e(0x13d)][_0x40ff0e(0x129)][_0x40ff0e(0x175)]();}),_0x4fc006[_0x3f24d7(0x122)][_0x3f24d7(0x1af)]['on'](_0x3f24d7(0x11b),()=>{const _0x5c02e3=_0x3f24d7;_0x1ad759[_0x5c02e3(0x13d)][_0x5c02e3(0x129)][_0x5c02e3(0x175)]();}),_0x1f3604=_0x417fe8[_0x3f24d7(0x155)](this[_0x3f24d7(0x11c)][_0x3f24d7(0x1a4)],_0x4fc006),_0x1f3604[_0x3f24d7(0x158)](_0x3f24d7(0x1aa))['to'](_0x4fc006,_0x3f24d7(0x1aa)),_0x1f3604[_0x3f24d7(0x158)](_0x3f24d7(0x1b6))['to'](_0x4fc006),_0x1f3604[_0x3f24d7(0x158)](_0x3f24d7(0x174))['to'](_0x4fc006,_0x3f24d7(0x174),_0x20b415=>_0x3f24d7(0x1b5)+_0x20b415),_0x4fc006['on'](_0x3f24d7(0x15b),()=>{const _0x739a8c=_0x3f24d7;_0xde29fa[_0x739a8c(0x1b8)](_0x739a8c(0x15b));}),this[_0x3f24d7(0x18d)][_0x3f24d7(0x1a7)](_0x828ef7['id'],_0x1f3604));const _0x4a07f6=_0x34df54[_0x3f24d7(0x115)](_0x828ef7[_0x3f24d7(0x151)],_0x4fc006),_0x49c902=new _0x4b119d(_0x1ad759,_0x828ef7,_0x4fc006,_0x4a07f6),_0x2ceaa2=_0x828ef7[_0x3f24d7(0x16b)]()[_0x3f24d7(0x147)](_0x40c024=>_0x40c024[_0x3f24d7(0x172)]);_0x4fc006[_0x3f24d7(0x161)]=_0x1ad759[_0x3f24d7(0x119)][_0x3f24d7(0x10f)](_0x3f24d7(0x19e))[_0x3f24d7(0x15f)][_0x3f24d7(0x135)](_0x2ceaa2),this[_0x3f24d7(0x14e)][_0x3f24d7(0x1a7)](_0x828ef7,_0x49c902),this[_0x3f24d7(0x157)][_0x3f24d7(0x1a7)](_0x4fc006,_0x49c902);const _0x587e3e=()=>{const _0x211562=_0x3f24d7,_0x1ecf3d=[],_0x52f264=_0x828ef7[_0x211562(0x16b)]()[_0x211562(0x147)](_0x2427d4=>_0x2427d4[_0x211562(0x172)]);for(const _0x5a203e of _0x52f264)_0x1ecf3d[_0x211562(0x19b)](..._0x5a203e[_0x211562(0x173)]());return _0x15c91e(_0x1ad759[_0x211562(0x13d)],_0x1ecf3d);};_0xde29fa=_0x417fe8[_0x3f24d7(0x193)]({'view':_0x1f3604,'target':_0x587e3e,'type':()=>_0x3f24d7(0x1b5)+_0x49c902[_0x3f24d7(0x129)][_0x3f24d7(0x174)],'isVisible':!!_0x587e3e()}),_0x34df54[_0x3f24d7(0x17b)](_0x4fc006,_0xde29fa),_0x417fe8[_0x3f24d7(0x152)](_0xde29fa),_0x2aaa34[_0x3f24d7(0x156)](_0xde29fa);}[_0x101db5(0x16a)](_0x7a5e9c){const _0x1b2b84=_0x101db5,_0x2581be=this[_0x1b2b84(0x11c)][_0x1b2b84(0x119)][_0x1b2b84(0x10f)](_0x1b2b84(0x110)),_0x23f828=this[_0x1b2b84(0x11c)][_0x1b2b84(0x119)][_0x1b2b84(0x10f)](_0x1b2b84(0x18e)),_0x12897f=this[_0x1b2b84(0x14e)][_0x1b2b84(0x10f)](_0x7a5e9c),_0x57b7e4=_0x12897f[_0x1b2b84(0x129)],_0x4d8901=_0x23f828[_0x1b2b84(0x183)](_0x57b7e4);_0x2581be[_0x1b2b84(0x10d)](_0x57b7e4),_0x4d8901&&_0x23f828[_0x1b2b84(0x142)](_0x4d8901),this[_0x1b2b84(0x14e)][_0x1b2b84(0x13e)](_0x7a5e9c),this[_0x1b2b84(0x157)][_0x1b2b84(0x13e)](_0x57b7e4),_0x12897f[_0x1b2b84(0x162)]();}[_0x101db5(0x17e)](_0x2f9fb5){const _0x5b5fd7=_0x101db5;if(!_0x2f9fb5[_0x5b5fd7(0x172)]||!this[_0x5b5fd7(0x14e)][_0x5b5fd7(0x16f)](_0x2f9fb5))return;const _0x34276d=this[_0x5b5fd7(0x11c)][_0x5b5fd7(0x119)][_0x5b5fd7(0x10f)](_0x5b5fd7(0x19e)),_0x307a1=this[_0x5b5fd7(0x14e)][_0x5b5fd7(0x10f)](_0x2f9fb5),_0x242eed=_0x2f9fb5[_0x5b5fd7(0x16b)]();_0x307a1[_0x5b5fd7(0x129)][_0x5b5fd7(0x161)]=_0x34276d[_0x5b5fd7(0x15f)][_0x5b5fd7(0x135)](_0x242eed);}[_0x101db5(0x162)](){const _0x25af46=_0x101db5;for(const _0x23d08e of this[_0x25af46(0x14e)][_0x25af46(0x189)]())this[_0x25af46(0x16a)](_0x23d08e);for(const _0x31cff9 of this[_0x25af46(0x18d)][_0x25af46(0x160)]())_0x31cff9[_0x25af46(0x14d)][_0x25af46(0x162)]();super[_0x25af46(0x162)](),this[_0x25af46(0x12a)]&&clearInterval(this[_0x25af46(0x12a)]);}}function ke(_0x2089ac){const _0x4eed05=_0x101db5;return _0x4eed05(0x17a)in _0x2089ac;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x572baa=_0x3e4e;function _0x357a(){const _0x7ad424=['canDiscard','PENDING_ACTION_SUGGESTION','listenTo','827368gLnIKa','canEditAt','model','31312veODUo','discardSuggestion','canAccept','360rjNrzm','plugins','503195ICTNTK','unbind','_acceptCommand','getRanges','79038HcpqeL','locale','_editor','remove','6yIZHnW','6235040SHnLne','acceptSuggestion','destroy','_pendingAction','change:isDirty','execute','isEnabled','_discardCommand','34DQPbpa','75780fofVRk','commentThreadController','add','722736HNDSwK','_setPendingAction','_removePendingAction','PendingActions','commands','get','stopListening','view','bind','isDirty'];_0x357a=function(){return _0x7ad424;};return _0x357a();}(function(_0x1bc446,_0x535d11){const _0x257b0e=_0x3e4e,_0x3919f0=_0x1bc446();while(!![]){try{const _0x37de43=-parseInt(_0x257b0e(0x16e))/0x1+parseInt(_0x257b0e(0x15a))/0x2*(parseInt(_0x257b0e(0x15b))/0x3)+-parseInt(_0x257b0e(0x16b))/0x4+-parseInt(_0x257b0e(0x173))/0x5+parseInt(_0x257b0e(0x151))/0x6*(-parseInt(_0x257b0e(0x15e))/0x7)+parseInt(_0x257b0e(0x171))/0x8*(-parseInt(_0x257b0e(0x177))/0x9)+parseInt(_0x257b0e(0x152))/0xa;if(_0x37de43===_0x535d11)break;else _0x3919f0['push'](_0x3919f0['shift']());}catch(_0x45c8e2){_0x3919f0['push'](_0x3919f0['shift']());}}}(_0x357a,0x34a8d));import{ObservableMixin as _0x5ef2da}from'ckeditor5/src/utils.js';function _0x3e4e(_0x1631cc,_0x24121d){const _0x357aa4=_0x357a();return _0x3e4e=function(_0x3e4e5f,_0x26e6e5){_0x3e4e5f=_0x3e4e5f-0x14f;let _0x2b485a=_0x357aa4[_0x3e4e5f];return _0x2b485a;},_0x3e4e(_0x1631cc,_0x24121d);}import{getTranslation as _0x124319}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5ef2da(){[_0x572baa(0x16d)];[_0x572baa(0x165)];[_0x572baa(0x15c)];[_0x572baa(0x14f)];[_0x572baa(0x175)];[_0x572baa(0x159)];[_0x572baa(0x155)];constructor(_0x5ed819,_0x1ec6fc,_0x105c28,_0x2fabbc){const _0x4aae20=_0x572baa;super(),this[_0x4aae20(0x16d)]=_0x1ec6fc,this[_0x4aae20(0x165)]=_0x105c28,this[_0x4aae20(0x15c)]=_0x2fabbc,this[_0x4aae20(0x14f)]=_0x5ed819,this[_0x4aae20(0x175)]=_0x5ed819[_0x4aae20(0x162)][_0x4aae20(0x163)](_0x4aae20(0x153)),this[_0x4aae20(0x159)]=_0x5ed819[_0x4aae20(0x162)][_0x4aae20(0x163)](_0x4aae20(0x16f)),this[_0x4aae20(0x165)][_0x4aae20(0x166)](_0x4aae20(0x158))['to'](this[_0x4aae20(0x175)],this[_0x4aae20(0x159)],(_0x17b916,_0x311b69)=>_0x17b916||_0x311b69),this[_0x4aae20(0x165)][_0x4aae20(0x166)](_0x4aae20(0x170))['to'](this[_0x4aae20(0x175)],_0x4aae20(0x158),_0x2a312e=>_0x2a312e&&this[_0x4aae20(0x14f)][_0x4aae20(0x16d)][_0x4aae20(0x16c)](_0x1ec6fc[_0x4aae20(0x176)]())),this[_0x4aae20(0x165)][_0x4aae20(0x166)](_0x4aae20(0x168))['to'](this[_0x4aae20(0x159)],_0x4aae20(0x158),_0x36b086=>_0x36b086&&this[_0x4aae20(0x14f)][_0x4aae20(0x16d)][_0x4aae20(0x16c)](_0x1ec6fc[_0x4aae20(0x176)]())),this[_0x4aae20(0x155)]=null,_0x105c28[_0x4aae20(0x167)]&&this[_0x4aae20(0x15f)](),this[_0x4aae20(0x16a)](_0x105c28,_0x4aae20(0x153),()=>this[_0x4aae20(0x153)]()),this[_0x4aae20(0x16a)](_0x105c28,_0x4aae20(0x16f),()=>this[_0x4aae20(0x16f)]()),this[_0x4aae20(0x16a)](_0x105c28,_0x4aae20(0x156),()=>{const _0x2b2e82=_0x4aae20;_0x105c28[_0x2b2e82(0x167)]?this[_0x2b2e82(0x15f)]():this[_0x2b2e82(0x160)]();});}[_0x572baa(0x153)](){const _0x9a7f83=_0x572baa;this[_0x9a7f83(0x175)][_0x9a7f83(0x157)](this[_0x9a7f83(0x16d)]['id']);}[_0x572baa(0x16f)](){const _0x273523=_0x572baa;this[_0x273523(0x159)][_0x273523(0x157)](this[_0x273523(0x16d)]['id']);}[_0x572baa(0x154)](){const _0x262b66=_0x572baa;this[_0x262b66(0x165)][_0x262b66(0x174)](_0x262b66(0x158)),this[_0x262b66(0x165)][_0x262b66(0x174)](_0x262b66(0x170)),this[_0x262b66(0x165)][_0x262b66(0x174)](_0x262b66(0x168)),this[_0x262b66(0x164)](),this[_0x262b66(0x15c)][_0x262b66(0x154)](),this[_0x262b66(0x155)]&&this[_0x262b66(0x160)]();}[_0x572baa(0x15f)](){const _0x223aa2=_0x572baa,_0x2a6255=_0x124319(this[_0x223aa2(0x14f)][_0x223aa2(0x178)],_0x223aa2(0x169));this[_0x223aa2(0x155)]=this[_0x223aa2(0x14f)][_0x223aa2(0x172)][_0x223aa2(0x163)](_0x223aa2(0x161))[_0x223aa2(0x15d)](_0x2a6255);}[_0x572baa(0x160)](){const _0x4be058=_0x572baa;null!==this[_0x4be058(0x155)]&&this[_0x4be058(0x14f)][_0x4be058(0x172)][_0x4be058(0x163)](_0x4be058(0x161))[_0x4be058(0x150)](this[_0x4be058(0x155)]),this[_0x4be058(0x155)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x59d8(_0x65afee,_0x231b04){const _0x2c9975=_0x2c99();return _0x59d8=function(_0x59d801,_0x486b8f){_0x59d801=_0x59d801-0x67;let _0x808295=_0x2c9975[_0x59d801];return _0x808295;},_0x59d8(_0x65afee,_0x231b04);}const _0x25f4cb=_0x59d8;(function(_0x3fa865,_0x2094f6){const _0x302cfb=_0x59d8,_0x25ba28=_0x3fa865();while(!![]){try{const _0x4ee16d=-parseInt(_0x302cfb(0x74))/0x1+-parseInt(_0x302cfb(0x8f))/0x2+parseInt(_0x302cfb(0xad))/0x3+parseInt(_0x302cfb(0xa8))/0x4*(-parseInt(_0x302cfb(0x8c))/0x5)+-parseInt(_0x302cfb(0x71))/0x6*(parseInt(_0x302cfb(0x9b))/0x7)+parseInt(_0x302cfb(0xaf))/0x8*(parseInt(_0x302cfb(0x83))/0x9)+parseInt(_0x302cfb(0xa3))/0xa*(parseInt(_0x302cfb(0x81))/0xb);if(_0x4ee16d===_0x2094f6)break;else _0x25ba28['push'](_0x25ba28['shift']());}catch(_0x33f78f){_0x25ba28['push'](_0x25ba28['shift']());}}}(_0x2c99,0x1d269));import{FocusCycler as _0x4a6517,View as _0x4cd86d,ViewCollection as _0x1bde62}from'ckeditor5/src/ui.js';import{FocusTracker as _0x587f15,KeystrokeHandler as _0x58d1ec}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x8e28af,setupThreadKeyboardNavigation as _0x244698}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2c99(){const _0x4e04da=['destroy','51214bmuQNK','disableComments','editorConfig','fire','isEnabled','shift+tab','submit','CommentView','length','value','locale','bind','keystrokes','11FhQUoX','SUGGESTION_THREAD_DESCRIPTION','99wFfDyG','commentInputView','isDirty','removeComment','parseFromString','authoredAt','render','_createCommentThreadInputView','isReadOnly','5800qGmWVZ','focus','_model','261740xUaoKm','join','hasDirtyComment','descriptionParts','text/html','author','setData','focusables','_createCommentViews','canDiscard','_localUser','tab','188027bJeiGZ','commentsListView','SUGGESTION_THREAD_ARIA_LABEL','target','canAccept','focusCycler','_config','focusTracker','2524890rfiikM','body','isActive','editor','map','636mbYzQQ','addComment','disabledSubmit','name','assign','410400KETpqK','content','89816KCdiPS','delegate','textContent','commentThreadInputView','commentThread','ariaLabel','showInput','formatDateTime','cancel','set','updateComment','element','6QshtBV','ariaDescriptionView'];_0x2c99=function(){return _0x4e04da;};return _0x2c99();}import{getTranslation as _0x5e7315}from'../../utils/common-translations.js';import{renderDescription as _0x1e4a53}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x4cd86d{[_0x25f4cb(0x9c)];[_0x25f4cb(0x68)];[_0x25f4cb(0x72)];[_0x25f4cb(0x96)];[_0x25f4cb(0xa2)];[_0x25f4cb(0x80)];[_0x25f4cb(0xa0)];[_0x25f4cb(0x8e)];[_0x25f4cb(0x99)];[_0x25f4cb(0xa1)];constructor(_0x5b8cb0,_0x1fa4fd,_0x5ae1ec,_0x4e75fd){const _0x492283=_0x25f4cb;super(_0x5b8cb0),this[_0x492283(0x9c)]=null,this[_0x492283(0x68)]=null,this[_0x492283(0x72)]=new _0x8e28af(_0x5b8cb0,_0x5e7315(_0x5b8cb0,_0x492283(0x82))),this[_0x492283(0x6e)](_0x492283(0xa5),!0x1),this[_0x492283(0x6e)](_0x492283(0x88),_0x1fa4fd[_0x492283(0x88)]),this[_0x492283(0x7f)](_0x492283(0x88))['to'](_0x1fa4fd),this[_0x492283(0x6e)](_0x492283(0x92),[]),this[_0x492283(0x6e)](_0x492283(0x85),!0x1),this[_0x492283(0x6e)](_0x492283(0x78),!0x1),this[_0x492283(0x6e)](_0x492283(0x9f),!0x1),this[_0x492283(0x6e)](_0x492283(0x98),!0x1),this[_0x492283(0x7f)](_0x492283(0x6a))['to'](this,_0x492283(0x7c),_0x1fa4fd,_0x492283(0x88),this,_0x492283(0x92),(_0x4cdee2,_0x2d5c05,_0x2c0db5)=>{const _0x1bb46b=_0x492283,_0x1417c5=_0x2c0db5[_0x1bb46b(0xa7)](_0x150e21=>_0x1e4a53(_0x150e21[_0x1bb46b(0xae)]))[_0x1bb46b(0x90)]('.\x20')+'.';return _0x5e7315(this[_0x1bb46b(0x7e)],_0x1bb46b(0x9d),[_0x4cdee2-0x1,_0x1fa4fd[_0x1bb46b(0x94)][_0x1bb46b(0xab)],_0x2d5c05?_0x4e75fd[_0x1bb46b(0x6c)](_0x2d5c05):'',new DOMParser()[_0x1bb46b(0x87)](_0x1417c5,_0x1bb46b(0x93))[_0x1bb46b(0xa4)][_0x1bb46b(0x67)]]);}),this[_0x492283(0x96)]=new _0x1bde62(),this[_0x492283(0xa2)]=new _0x587f15(),this[_0x492283(0x80)]=new _0x58d1ec(),this[_0x492283(0xa0)]=new _0x4a6517({'focusables':this[_0x492283(0x96)],'focusTracker':this[_0x492283(0xa2)],'keystrokeHandler':this[_0x492283(0x80)],'keystrokeHandlerOptions':{'filter':_0x538b11=>_0x538b11[_0x492283(0x9e)]!==this[_0x492283(0x70)]},'actions':{'focusPrevious':_0x492283(0x79),'focusNext':_0x492283(0x9a)}}),this[_0x492283(0x8e)]=_0x1fa4fd,this[_0x492283(0x99)]=_0x5ae1ec,this[_0x492283(0xa1)]=_0x4e75fd,_0x4e75fd[_0x492283(0x75)]?this[_0x492283(0x6e)](_0x492283(0x7c),0x1):this[_0x492283(0x97)]();}[_0x25f4cb(0x89)](){const _0x82bf4c=_0x25f4cb;super[_0x82bf4c(0x89)](),_0x244698(this,this[_0x82bf4c(0x96)]);}[_0x25f4cb(0x8d)](){const _0x24f369=_0x25f4cb;this[_0x24f369(0x70)][_0x24f369(0x8d)]();}[_0x25f4cb(0x73)](){const _0x45d315=_0x25f4cb;this[_0x45d315(0x9c)]&&this[_0x45d315(0x9c)][_0x45d315(0x73)](),this[_0x45d315(0x68)]&&this[_0x45d315(0x68)][_0x45d315(0x73)](),super[_0x45d315(0x73)]();}[_0x25f4cb(0x97)](){const _0xf5d0a0=_0x25f4cb,{CommentsListView:_0x49bbd1}=this[_0xf5d0a0(0xa1)];this[_0xf5d0a0(0x9c)]=new _0x49bbd1(this[_0xf5d0a0(0x7e)],this[_0xf5d0a0(0x8e)][_0xf5d0a0(0x69)],Object[_0xf5d0a0(0xac)]({'CommentView':this[_0xf5d0a0(0xa1)][_0xf5d0a0(0x7b)]},this[_0xf5d0a0(0xa1)])),this[_0xf5d0a0(0x9c)][_0xf5d0a0(0xb0)](_0xf5d0a0(0x86))['to'](this),this[_0xf5d0a0(0x9c)][_0xf5d0a0(0xb0)](_0xf5d0a0(0x6f))['to'](this),this[_0xf5d0a0(0x9c)][_0xf5d0a0(0x7f)](_0xf5d0a0(0xa5))['to'](this),this[_0xf5d0a0(0x6e)](_0xf5d0a0(0x7c),this[_0xf5d0a0(0x9c)][_0xf5d0a0(0x7c)]+0x1),this[_0xf5d0a0(0x7f)](_0xf5d0a0(0x7c))['to'](this[_0xf5d0a0(0x9c)],_0xf5d0a0(0x7c),_0x502df1=>_0x502df1+0x1),this[_0xf5d0a0(0x68)]=this[_0xf5d0a0(0x8a)](),this['on'](_0xf5d0a0(0x86),()=>this[_0xf5d0a0(0x8d)]()),this[_0xf5d0a0(0x7f)](_0xf5d0a0(0x85))['to'](this[_0xf5d0a0(0x9c)],_0xf5d0a0(0x91),this[_0xf5d0a0(0x68)][_0xf5d0a0(0x84)],_0xf5d0a0(0x7d),(_0x3e02ea,_0x34adbe)=>_0x3e02ea||!!_0x34adbe);}[_0x25f4cb(0x8a)](){const _0x425c6d=_0x25f4cb,{CommentThreadInputView:_0x1453b3}=this[_0x425c6d(0xa1)],_0x26ccce=new _0x1453b3(this[_0x425c6d(0x7e)],this[_0x425c6d(0x99)],this[_0x425c6d(0xa1)][_0x425c6d(0x76)]),_0x56ede4=_0x26ccce[_0x425c6d(0x84)];return _0x26ccce[_0x425c6d(0x7f)](_0x425c6d(0x6b))['to'](this,_0x425c6d(0xa5),this[_0x425c6d(0x8e)][_0x425c6d(0x69)],_0x425c6d(0x8b),_0x56ede4,_0x425c6d(0x7d),(_0x5a0f67,_0x853ee2,_0x2bc93c)=>!!_0x2bc93c||_0x5a0f67&&!_0x853ee2),_0x56ede4['on'](_0x425c6d(0x7a),(_0x3a1327,_0xb7ba3f)=>{const _0x6dcfe1=_0x425c6d;this[_0x6dcfe1(0x77)](_0x6dcfe1(0xa9),_0xb7ba3f),_0x56ede4[_0x6dcfe1(0xa6)][_0x6dcfe1(0x95)]('');}),_0x56ede4['on'](_0x425c6d(0x6d),()=>this[_0x425c6d(0x8d)]()),_0x56ede4[_0x425c6d(0x7f)](_0x425c6d(0xaa))['to'](this[_0x425c6d(0x8e)][_0x425c6d(0x69)],_0x425c6d(0x8b)),_0x26ccce;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5d6d5d=_0x313a;(function(_0xafc71c,_0x378e93){const _0x2ff6c6=_0x313a,_0x76e13c=_0xafc71c();while(!![]){try{const _0x9c74bc=parseInt(_0x2ff6c6(0x131))/0x1*(parseInt(_0x2ff6c6(0x120))/0x2)+parseInt(_0x2ff6c6(0x108))/0x3*(parseInt(_0x2ff6c6(0x137))/0x4)+parseInt(_0x2ff6c6(0x132))/0x5+parseInt(_0x2ff6c6(0x12a))/0x6+parseInt(_0x2ff6c6(0x13d))/0x7*(parseInt(_0x2ff6c6(0x111))/0x8)+-parseInt(_0x2ff6c6(0x107))/0x9*(parseInt(_0x2ff6c6(0x125))/0xa)+-parseInt(_0x2ff6c6(0x110))/0xb*(parseInt(_0x2ff6c6(0x140))/0xc);if(_0x9c74bc===_0x378e93)break;else _0x76e13c['push'](_0x76e13c['shift']());}catch(_0x255f8f){_0x76e13c['push'](_0x76e13c['shift']());}}}(_0x1356,0xc016a));import{BaseSuggestionThreadView as _0x5bd9d6}from'./basesuggestionthreadview.js';function _0x1356(){const _0x1f8b50=['formatDateTime','ck-suggestion-','set','descriptionParts','delegate','push','ariaLabel','content','commentsListView','type','isEnabled','488374YXlwbX','SuggestionView','ck-suggestion-wrapper--active','render','description','6873130jCoCjh','canDiscard','getTemplate','_descriptionElement','</p>','2279928BQUfHn','ariaDescriptionView','discardButton','canAccept','acceptButton','_model','add','3UlHtTQ','7604145vaBbDF','editorReady','bind','acceptSuggestion','setTemplate','21916dRiqbV','div','ck-suggestion-wrapper','ck-suggestion--disabled-comments','commentThreadInputView','commentThread','42YUXkPT','author','discardSuggestion','86952AYawaf','disableComments','9xGczny','69BhXMQh','focusables','color','listitem','editorDestroyed','ck-rounded-corners','_config','<p>','3047JLXqnu','962472llPUbX','isActive','suggestionView','bindTemplate'];_0x1356=function(){return _0x1f8b50;};return _0x1356();}function _0x313a(_0x5ad748,_0x4e0097){const _0x13566e=_0x1356();return _0x313a=function(_0x313a35,_0x53cd62){_0x313a35=_0x313a35-0x107;let _0x2a7bc8=_0x13566e[_0x313a35];return _0x2a7bc8;},_0x313a(_0x5ad748,_0x4e0097);}import{trimHtml as _0x3023e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x3e3dd0}from'../../utils/utils.js';export class SuggestionThreadView extends _0x5bd9d6{[_0x5d6d5d(0x113)];[_0x5d6d5d(0x128)];constructor(_0x447cc4,_0x567352,_0x32f8f5,_0x47f9cb){const _0x39eb96=_0x5d6d5d;super(_0x447cc4,_0x567352,_0x32f8f5,_0x47f9cb),this[_0x39eb96(0x117)](_0x39eb96(0x11e),''),this[_0x39eb96(0x134)](_0x39eb96(0x11e))['to'](this,_0x39eb96(0x118),_0x1501af=>_0x1501af&&_0x1501af[0x0]?_0x1501af[0x0][_0x39eb96(0x11e)]:''),this[_0x39eb96(0x134)](_0x39eb96(0x124))['to'](this,_0x39eb96(0x118),this,_0x39eb96(0x112),(_0x2cb8a1,_0x506f19)=>{const _0x5aee3c=_0x39eb96;let _0x353078='';for(const _0x12cbe6 of _0x2cb8a1)_0x353078+=_0x5aee3c(0x10f)+_0x3e3dd0(_0x12cbe6[_0x5aee3c(0x11c)],_0x12cbe6[_0x5aee3c(0x10a)])+_0x5aee3c(0x129);return _0x506f19?_0x353078:_0x3023e4(_0x353078,{'limit':0x8c});}),this[_0x39eb96(0x128)]=null,this[_0x39eb96(0x113)]=new _0x47f9cb[(_0x39eb96(0x121))](_0x447cc4,_0x567352,{'formatDateTime':_0x47f9cb[_0x39eb96(0x115)]}),this[_0x39eb96(0x113)][_0x39eb96(0x134)](_0x39eb96(0x124))['to'](this),this[_0x39eb96(0x113)][_0x39eb96(0x119)](_0x39eb96(0x135),_0x39eb96(0x13f))['to'](this),this[_0x39eb96(0x113)][_0x39eb96(0x12e)][_0x39eb96(0x134)](_0x39eb96(0x11f))['to'](this,_0x39eb96(0x12d)),this[_0x39eb96(0x113)][_0x39eb96(0x12c)][_0x39eb96(0x134)](_0x39eb96(0x11f))['to'](this,_0x39eb96(0x126)),this[_0x39eb96(0x109)][_0x39eb96(0x130)](this[_0x39eb96(0x113)]),this[_0x39eb96(0x11d)]&&this[_0x39eb96(0x109)][_0x39eb96(0x130)](this[_0x39eb96(0x11d)]),this[_0x39eb96(0x13b)]&&this[_0x39eb96(0x109)][_0x39eb96(0x130)](this[_0x39eb96(0x13b)]),this[_0x39eb96(0x136)](this[_0x39eb96(0x127)]());}[_0x5d6d5d(0x127)](){const _0x5c94e4=_0x5d6d5d,_0x5c63d1=this[_0x5c94e4(0x114)],_0x732f3e=[this[_0x5c94e4(0x113)]];return this[_0x5c94e4(0x11d)]&&_0x732f3e[_0x5c94e4(0x11a)](this[_0x5c94e4(0x11d)]),this[_0x5c94e4(0x13b)]&&_0x732f3e[_0x5c94e4(0x11a)](this[_0x5c94e4(0x13b)]),_0x732f3e[_0x5c94e4(0x11a)](this[_0x5c94e4(0x12b)]),{'tag':_0x5c94e4(0x138),'attributes':{'class':['ck',_0x5c94e4(0x10d),_0x5c94e4(0x139),_0x5c63d1['if'](_0x5c94e4(0x112),_0x5c94e4(0x122)),_0x5c63d1['to'](_0x5c94e4(0x11e),_0x4845a3=>_0x5c94e4(0x116)+_0x4845a3),this[_0x5c94e4(0x10e)][_0x5c94e4(0x141)]&&_0x5c94e4(0x13a)],'data-suggestion-id':this[_0x5c94e4(0x12f)]['id'],'data-thread-id':this[_0x5c94e4(0x12f)][_0x5c94e4(0x13c)]['id'],'data-author-id':this[_0x5c94e4(0x12f)][_0x5c94e4(0x13e)]['id'],'tabindex':0x0,'role':_0x5c94e4(0x10b),'aria-label':_0x5c63d1['to'](_0x5c94e4(0x11b)),'aria-describedby':this[_0x5c94e4(0x12b)]['id']},'children':_0x732f3e};}[_0x5d6d5d(0x123)](){const _0x2389cf=_0x5d6d5d;super[_0x2389cf(0x123)](),this[_0x2389cf(0x11d)]&&(this[_0x2389cf(0x11d)][_0x2389cf(0x119)](_0x2389cf(0x133))['to'](this),this[_0x2389cf(0x11d)][_0x2389cf(0x119)](_0x2389cf(0x10c))['to'](this)),this[_0x2389cf(0x13b)]&&(this[_0x2389cf(0x13b)][_0x2389cf(0x119)](_0x2389cf(0x133))['to'](this),this[_0x2389cf(0x13b)][_0x2389cf(0x119)](_0x2389cf(0x10c))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x38fb(_0x2bcc0b,_0x2ea6b4){const _0x221f12=_0x221f();return _0x38fb=function(_0x38fb60,_0x4b169c){_0x38fb60=_0x38fb60-0x1c1;let _0x2a1a60=_0x221f12[_0x38fb60];return _0x2a1a60;},_0x38fb(_0x2bcc0b,_0x2ea6b4);}const _0x1d0277=_0x38fb;(function(_0x2410ec,_0x3ad9a0){const _0x2e3766=_0x38fb,_0xfaa365=_0x2410ec();while(!![]){try{const _0x3f4378=-parseInt(_0x2e3766(0x213))/0x1*(-parseInt(_0x2e3766(0x1dd))/0x2)+-parseInt(_0x2e3766(0x200))/0x3+-parseInt(_0x2e3766(0x1e0))/0x4*(-parseInt(_0x2e3766(0x1de))/0x5)+-parseInt(_0x2e3766(0x20d))/0x6*(parseInt(_0x2e3766(0x218))/0x7)+-parseInt(_0x2e3766(0x1ff))/0x8+parseInt(_0x2e3766(0x201))/0x9*(-parseInt(_0x2e3766(0x1ea))/0xa)+-parseInt(_0x2e3766(0x202))/0xb*(-parseInt(_0x2e3766(0x1fa))/0xc);if(_0x3f4378===_0x3ad9a0)break;else _0xfaa365['push'](_0xfaa365['shift']());}catch(_0x5130a1){_0xfaa365['push'](_0xfaa365['shift']());}}}(_0x221f,0x501ce));import{FocusTracker as _0x4ae602,KeystrokeHandler as _0x5f5bfd}from'ckeditor5/src/utils.js';import{View as _0xe35603,ViewCollection as _0x740c3b,FocusCycler as _0x59fc98}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x33442d,UserView as _0xe21be6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x221f(){const _0x1f910d=['enter','isExternal','keystrokes','discardButton','creator','discardSuggestion','esc','change:description','span','getExternalSuggestionNote','_setupKeyboardNavigation','EXTERNAL_SUGGESTION','bind','importWord','EXTERNAL_IMPORT_WORD_SUGGESTION','shift+tab','ck-suggestion--discard','authoredAt','772168CVjpNk','786610LCFmsO','ck-suggestion--accept','4cIQCUa','ck-suggestion__main','presentation','fire','ck-annotation__actions','source','ck-suggestion__user','setTemplate','Accept\x20suggestion','description','10MIsYet','EXTERNAL_IMPORT_WORD_AVATAR','focus','ck-annotation__info-time','ck-annotation__info','bindTemplate','target','EXTERNAL_AVATAR','div','ck-comment__external','getTemplate','focusCycler','.ck-annotation__content-wrapper','ck-suggestion__actions','formatDateTime','push','24fzhdKZ','element','author','userView','querySelector','151288FLnybt','1193232JSuhGn','2206422ptLTny','2932523vzYYMi','@external','time','set','acceptButton','tab','Discard\x20suggestion','getUserViewNotificationText','ck-comment__info-time','attributes','ck-annotation','519822eWPsWI','extendTemplate','ck-annotation__content-wrapper','listenTo','add','ck-annotation__main','1OwScdX','ck-annotation__user','_config','_model','acceptSuggestion','7ehfzsY','ck-suggestion__info','innerHTML','ck-suggestion__info-name','focusables','render','ck-annotation__info-name','name','execute','_createButton','ck-suggestion','focusFirst','locale','focusTracker'];_0x221f=function(){return _0x1f910d;};return _0x221f();}import{IconCancel as _0xc6eade,IconCheck as _0x4b816c}from'ckeditor5/src/icons.js';import{getTranslation as _0x584915}from'../../utils/common-translations.js';export class SuggestionView extends _0xe35603{[_0x1d0277(0x1fd)];[_0x1d0277(0x206)];[_0x1d0277(0x1ce)];[_0x1d0277(0x1c1)];[_0x1d0277(0x1ca)];[_0x1d0277(0x1cd)];[_0x1d0277(0x1f5)];[_0x1d0277(0x216)];[_0x1d0277(0x215)];constructor(_0x121721,_0xd09a23,_0x476f1a){const _0x503535=_0x1d0277;super(_0x121721),this[_0x503535(0x216)]=_0xd09a23,this[_0x503535(0x215)]=_0x476f1a,this[_0x503535(0x205)](_0x503535(0x1e9),''),this[_0x503535(0x1d7)](_0x503535(0x1dc))['to'](_0xd09a23),this[_0x503535(0x206)]=this[_0x503535(0x1c6)](_0x584915(_0x121721,_0x503535(0x1e8)),_0x4b816c,_0x503535(0x1df),_0x503535(0x217),'sw'),this[_0x503535(0x1ce)]=this[_0x503535(0x1c6)](_0x584915(_0x121721,_0x503535(0x208)),_0xc6eade,_0x503535(0x1db),_0x503535(0x1d0),'sw'),this[_0x503535(0x1fd)]=new _0xe21be6(_0x121721,_0xd09a23[_0x503535(0x1fc)],this[_0x503535(0x209)]()),this[_0x503535(0x1fd)][_0x503535(0x20e)]({'attributes':{'class':[_0x503535(0x1e6),_0x503535(0x214)],'aria-hidden':!0x0}}),this[_0x503535(0x1c1)]=new _0x740c3b([this[_0x503535(0x206)],this[_0x503535(0x1ce)]]),this[_0x503535(0x1ca)]=new _0x4ae602(),this[_0x503535(0x1cd)]=new _0x5f5bfd(),this[_0x503535(0x1f5)]=new _0x59fc98({'focusables':this[_0x503535(0x1c1)],'focusTracker':this[_0x503535(0x1ca)],'keystrokeHandler':this[_0x503535(0x1cd)],'actions':{'focusPrevious':_0x503535(0x1da),'focusNext':_0x503535(0x207)},'keystrokeHandlerOptions':{'filter':_0x39f434=>_0x39f434[_0x503535(0x1f0)]!==this[_0x503535(0x1fb)]}}),this[_0x503535(0x1e7)](this[_0x503535(0x1f4)]());}[_0x1d0277(0x1c2)](){const _0x37ee8e=_0x1d0277;super[_0x37ee8e(0x1c2)]();const _0x354589=this[_0x37ee8e(0x1fb)][_0x37ee8e(0x1fe)](_0x37ee8e(0x1f6));_0x354589[_0x37ee8e(0x21a)]=this[_0x37ee8e(0x1e9)],this['on'](_0x37ee8e(0x1d2),(_0x2cd7c6,_0x284fb1,_0x16ef98)=>{const _0x4ffeea=_0x37ee8e;_0x354589[_0x4ffeea(0x21a)]=_0x16ef98;}),this[_0x37ee8e(0x1d5)]();}[_0x1d0277(0x1f4)](){const _0x26f831=_0x1d0277,_0x40ea87=this[_0x26f831(0x1ef)],_0x34b1cc=[{'tag':_0x26f831(0x1f2),'attributes':{'class':[_0x26f831(0x219),_0x26f831(0x1ee)]},'children':[{'tag':_0x26f831(0x1d3),'children':[{'text':this[_0x26f831(0x1fd)][_0x26f831(0x1c4)]}],'attributes':{'class':[_0x26f831(0x21b),_0x26f831(0x1c3)],'data-cke-tooltip-text':this[_0x26f831(0x1fd)][_0x26f831(0x1c4)]}},{'tag':_0x26f831(0x204),'attributes':{'datetime':_0x40ea87['to'](_0x26f831(0x1dc)),'class':[_0x26f831(0x20a),_0x26f831(0x1ed)]},'children':[{'text':_0x40ea87['to'](_0x26f831(0x1dc),_0x3af776=>this[_0x26f831(0x215)][_0x26f831(0x1f8)](_0x3af776))}]}]},{'tag':_0x26f831(0x1f2),'attributes':{'class':[_0x26f831(0x1f7),_0x26f831(0x1e4)]},'children':[this[_0x26f831(0x206)],this[_0x26f831(0x1ce)]]},{'tag':_0x26f831(0x1f2),'attributes':{'class':[_0x26f831(0x20f)]}}];return this[_0x26f831(0x216)][_0x26f831(0x1cc)]&&_0x34b1cc[_0x26f831(0x1f9)]({'tag':_0x26f831(0x1f2),'attributes':{'class':[_0x26f831(0x1f3)]},'children':[{'text':this[_0x26f831(0x1d4)]()}]}),{'tag':_0x26f831(0x1f2),'attributes':{'class':[_0x26f831(0x1c7),_0x26f831(0x20c)],'tabindex':-0x1},'children':[this[_0x26f831(0x1fd)],{'tag':_0x26f831(0x1f2),'attributes':{'class':[_0x26f831(0x1e1),_0x26f831(0x212)],'role':_0x26f831(0x1e2)},'children':_0x34b1cc}]};}[_0x1d0277(0x1ec)](){const _0x447e91=_0x1d0277;this[_0x447e91(0x1fb)][_0x447e91(0x1ec)]();}[_0x1d0277(0x209)](){const _0x284c19=_0x1d0277;return this[_0x284c19(0x216)][_0x284c19(0x1cc)]?_0x284c19(0x1d8)===this[_0x284c19(0x216)][_0x284c19(0x20b)][_0x284c19(0x203)][_0x284c19(0x1e5)]?_0x584915(this[_0x284c19(0x1c9)],_0x284c19(0x1eb),this[_0x284c19(0x216)][_0x284c19(0x1cf)][_0x284c19(0x1c4)]):_0x584915(this[_0x284c19(0x1c9)],_0x284c19(0x1f1),this[_0x284c19(0x216)][_0x284c19(0x1cf)][_0x284c19(0x1c4)]):null;}[_0x1d0277(0x1d4)](){const _0xf5e8a4=_0x1d0277;return _0xf5e8a4(0x1d8)===this[_0xf5e8a4(0x216)][_0xf5e8a4(0x20b)][_0xf5e8a4(0x203)][_0xf5e8a4(0x1e5)]?_0x584915(this[_0xf5e8a4(0x1c9)],_0xf5e8a4(0x1d9)):_0x584915(this[_0xf5e8a4(0x1c9)],_0xf5e8a4(0x1d6));}[_0x1d0277(0x1c6)](_0x394e54,_0x2f5c5f,_0x2b9366,_0x4d5e1c,_0x2603f7){const _0x28ad39=_0x1d0277,_0x3705f2=new _0x33442d(this[_0x28ad39(0x1c9)]);return _0x3705f2[_0x28ad39(0x205)]({'label':_0x394e54,'icon':_0x2f5c5f,'tooltip':!0x0,'tooltipPosition':_0x2603f7}),_0x3705f2[_0x28ad39(0x20e)]({'attributes':{'class':_0x2b9366}}),_0x3705f2['on'](_0x28ad39(0x1c5),()=>{const _0x4f63af=_0x28ad39;this[_0x4f63af(0x1e3)](_0x4d5e1c,this[_0x4f63af(0x216)]['id']);}),_0x3705f2;}[_0x1d0277(0x1d5)](){const _0x524d59=_0x1d0277,_0x121533=this[_0x524d59(0x1fb)];this[_0x524d59(0x1cd)][_0x524d59(0x210)](_0x121533);for(const _0x404267 of this[_0x524d59(0x1c1)])this[_0x524d59(0x1ca)][_0x524d59(0x211)](_0x404267[_0x524d59(0x1fb)]),this[_0x524d59(0x1cd)][_0x524d59(0x210)](_0x404267[_0x524d59(0x1fb)]);this[_0x524d59(0x1cd)][_0x524d59(0x205)](_0x524d59(0x1cb),(_0x108e3c,_0xb02649)=>{const _0xca9b4d=_0x524d59;_0x121533===_0x108e3c[_0xca9b4d(0x1f0)]&&(this[_0xca9b4d(0x1f5)][_0xca9b4d(0x1c8)](),_0xb02649());}),this[_0x524d59(0x1cd)][_0x524d59(0x205)](_0x524d59(0x1d1),(_0x4ff676,_0x139dd9)=>{const _0x52b6fd=_0x524d59;_0x121533!==_0x4ff676[_0x52b6fd(0x1f0)]&&(this[_0x52b6fd(0x1ec)](),_0x139dd9());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b45dc=_0xa47e;(function(_0x59a780,_0x10c62b){const _0x39d204=_0xa47e,_0x716475=_0x59a780();while(!![]){try{const _0x52ccff=-parseInt(_0x39d204(0x12a))/0x1+-parseInt(_0x39d204(0x11c))/0x2*(-parseInt(_0x39d204(0x113))/0x3)+-parseInt(_0x39d204(0x12d))/0x4*(parseInt(_0x39d204(0x11a))/0x5)+-parseInt(_0x39d204(0x128))/0x6*(-parseInt(_0x39d204(0x111))/0x7)+-parseInt(_0x39d204(0x127))/0x8+parseInt(_0x39d204(0x116))/0x9*(-parseInt(_0x39d204(0x12c))/0xa)+parseInt(_0x39d204(0x12b))/0xb;if(_0x52ccff===_0x10c62b)break;else _0x716475['push'](_0x716475['shift']());}catch(_0x38f66d){_0x716475['push'](_0x716475['shift']());}}}(_0x4ad2,0x8d981));function _0xa47e(_0x9d2f4,_0x39e1eb){const _0x4ad286=_0x4ad2();return _0xa47e=function(_0xa47e6,_0x3f9538){_0xa47e6=_0xa47e6-0x10b;let _0x58eb79=_0x4ad286[_0xa47e6];return _0x58eb79;},_0xa47e(_0x9d2f4,_0x39e1eb);}import{View as _0x29f212}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x29f212{[_0x1b45dc(0x11f)];constructor(_0x3d5819,_0x4f2efa){const _0x4211a7=_0x1b45dc;super(_0x3d5819),this[_0x4211a7(0x11f)]=_0x4f2efa,this[_0x4211a7(0x126)]({'tag':_0x4211a7(0x115),'attributes':{'class':['ck',_0x4211a7(0x129),_0x4211a7(0x121)],'tabindex':-0x1}});}[_0x1b45dc(0x114)](){const _0x51a6ae=_0x1b45dc;super[_0x51a6ae(0x114)](),this[_0x51a6ae(0x11e)][_0x51a6ae(0x124)][_0x51a6ae(0x123)]=this[_0x51a6ae(0x11f)][_0x51a6ae(0x112)][_0x51a6ae(0x123)]+'px',this[_0x51a6ae(0x11e)][_0x51a6ae(0x124)][_0x51a6ae(0x120)]=this[_0x51a6ae(0x11f)][_0x51a6ae(0x112)][_0x51a6ae(0x120)]+'px';}[_0x1b45dc(0x119)](_0x258c24,_0x59bfa9){const _0xb6031c=_0x1b45dc;if(!this[_0xb6031c(0x11e)])return;const _0x37a6f7=[];for(const [_0x5f44f1,_0x21e332]of _0x258c24){const _0x159810=document[_0xb6031c(0x125)](_0xb6031c(0x115));_0x159810[_0xb6031c(0x10d)](_0xb6031c(0x10e),_0x5f44f1),_0x159810[_0xb6031c(0x118)]=_0x21e332[_0xb6031c(0x11b)]+_0xb6031c(0x110),_0x159810[_0xb6031c(0x117)]=_0x21e332[_0xb6031c(0x122)],_0x37a6f7[_0xb6031c(0x10c)](_0x159810);}_0x59bfa9(this[_0xb6031c(0x11e)],_0x37a6f7),this[_0xb6031c(0x11e)][_0xb6031c(0x124)][_0xb6031c(0x120)]='',this[_0xb6031c(0x11d)](_0xb6031c(0x10f));}[_0x1b45dc(0x10b)](){const _0x2ed6d2=_0x1b45dc;this[_0x2ed6d2(0x11e)][_0x2ed6d2(0x10b)]();}}function _0x4ad2(){const _0x29e830=['style','createElement','setTemplate','6462896ecsKSs','60PhcIlK','ck-reset','817399yRihBj','21234015bTYZZn','440uKtWlw','123292hYIJBN','focus','push','setAttribute','data-ck-root-name','previewDataReady','\x20ck-track-changes-preview__root-container','807107ThJuiB','dialogRects','369867EfXHWf','render','div','198531GsqgcX','innerHTML','className','setPreviewData','105EKrczb','classes','12jRcaDv','fire','element','options','height','ck-track-changes-preview','content','width'];_0x4ad2=function(){return _0x29e830;};return _0x4ad2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x20cb53,_0x38d649,_0x18955b){const _0x511132=_0x20cb53['t'],t=_0x20cb53['t'];switch(_0x38d649){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',_0x18955b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x18955b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x18955b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x18955b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x18955b);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',_0x18955b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x18955b);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',_0x18955b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x18955b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x18955b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x18955b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x18955b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x18955b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x18955b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x18955b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x18955b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x18955b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x18955b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x18955b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x18955b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x18955b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x18955b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x18955b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x18955b);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x18955b);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'},_0x18955b);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x18955b);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x18955b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x18955b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x18955b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x18955b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x18955b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x18955b);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'},_0x18955b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x18955b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x18955b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x18955b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x18955b);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x18955b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x18955b);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'},_0x18955b);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x18955b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x18955b);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'},_0x18955b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x18955b);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'},_0x18955b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x18955b);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x18955b);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x18955b);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x18955b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x18955b);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'},_0x18955b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x18955b);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 _0x511132({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x18955b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x511132({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x18955b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x18955b);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'},_0x18955b);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'},_0x18955b);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'},_0x18955b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x38d649;}}
|
|
23
|
+
export function getTranslation(_0x18aeb8,_0x4a60d8,_0x366c17){const _0x43bb68=_0x18aeb8['t'],t=_0x18aeb8['t'];switch(_0x4a60d8){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',_0x366c17);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x366c17);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x366c17);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x366c17);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x366c17);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',_0x366c17);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x366c17);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',_0x366c17);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x366c17);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x366c17);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x366c17);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x366c17);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x366c17);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x366c17);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x366c17);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x366c17);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x366c17);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x366c17);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x366c17);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x366c17);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x366c17);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x366c17);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x366c17);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x366c17);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x366c17);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'},_0x366c17);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x366c17);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x366c17);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x366c17);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x366c17);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x366c17);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x366c17);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x366c17);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'},_0x366c17);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x366c17);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x366c17);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x366c17);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x366c17);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x366c17);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x366c17);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'},_0x366c17);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x366c17);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x366c17);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'},_0x366c17);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x366c17);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'},_0x366c17);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x366c17);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x366c17);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x366c17);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x366c17);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x366c17);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'},_0x366c17);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x366c17);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 _0x43bb68({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x366c17);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x43bb68({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x366c17);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x366c17);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'},_0x366c17);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'},_0x366c17);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'},_0x366c17);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4a60d8;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5b83b8,_0x441a61){const _0x3d22f9=_0x176a,_0x3a315c=_0x5b83b8();while(!![]){try{const _0x8b5901=-parseInt(_0x3d22f9(0x1e5))/0x1*(-parseInt(_0x3d22f9(0x1e9))/0x2)+-parseInt(_0x3d22f9(0x1f8))/0x3*(-parseInt(_0x3d22f9(0x1e4))/0x4)+-parseInt(_0x3d22f9(0x1fe))/0x5+-parseInt(_0x3d22f9(0x1e2))/0x6+parseInt(_0x3d22f9(0x1fa))/0x7*(parseInt(_0x3d22f9(0x207))/0x8)+parseInt(_0x3d22f9(0x1e1))/0x9+-parseInt(_0x3d22f9(0x201))/0xa;if(_0x8b5901===_0x441a61)break;else _0x3a315c['push'](_0x3a315c['shift']());}catch(_0x315785){_0x3a315c['push'](_0x3a315c['shift']());}}}(_0x1886,0xb3087));export function normalizeDescription(_0x51ad19){const _0x1eeea6=_0x176a;return Array[_0x1eeea6(0x1f5)](_0x51ad19)||(_0x51ad19=[_0x51ad19]),_0x51ad19[_0x1eeea6(0x211)](_0x557a99=>{const _0x22e28c=_0x1eeea6,_0x1130d4=_0x557a99[_0x22e28c(0x206)][_0x22e28c(0x20f)](/\*/g,''),_0x38a48a=_0x557a99[_0x22e28c(0x1ef)]?_0x22e28c(0x1de)+_0x557a99[_0x22e28c(0x1ef)][_0x22e28c(0x1ff)]+']':'';return'['+_0x557a99[_0x22e28c(0x200)]+']\x20'+_0x1130d4+_0x38a48a;})[_0x1eeea6(0x210)](';\x20');}export function renderDescription(_0x454ceb,_0x41d06e){const _0x4b7b1f=_0x176a;let _0x532737='';return _0x532737+=_0x454ceb[_0x4b7b1f(0x204)]('*')[_0x4b7b1f(0x211)]((_0x4ccd1e,_0x4c0cf7)=>_0x4c0cf7%0x2!=0x0?_0x4b7b1f(0x202)+cn(_0x4ccd1e)+_0x4b7b1f(0x205):cn(_0x4ccd1e))[_0x4b7b1f(0x210)](''),_0x41d06e&&(_0x532737+=_0x4b7b1f(0x1f1)+_0x41d06e[_0x4b7b1f(0x1ff)]+_0x4b7b1f(0x1ec)+_0x41d06e[_0x4b7b1f(0x203)]+_0x4b7b1f(0x1df)),_0x532737;}function cn(_0x28a5bb){const _0x2ce718=_0x176a,_0x43dbf4=document[_0x2ce718(0x1f6)](_0x2ce718(0x208));return _0x43dbf4[_0x2ce718(0x1fc)]=_0x28a5bb,_0x43dbf4[_0x2ce718(0x1e8)];}export function sortSuggestions(_0x23771b){const _0x15050b=_0x176a;return _0x23771b[_0x15050b(0x20a)]((_0x49f662,_0x2ec230)=>_0x15050b(0x212)===_0x49f662[_0x15050b(0x200)]&&_0x15050b(0x212)!==_0x2ec230[_0x15050b(0x200)]?-0x1:_0x15050b(0x212)!==_0x49f662[_0x15050b(0x200)]&&_0x15050b(0x212)===_0x2ec230[_0x15050b(0x200)]?0x1:_0x15050b(0x1fd)==_0x49f662[_0x15050b(0x200)]&&_0x15050b(0x1fd)!=_0x2ec230[_0x15050b(0x200)]?-0x1:_0x15050b(0x1fd)!=_0x49f662[_0x15050b(0x200)]&&_0x15050b(0x1fd)==_0x2ec230[_0x15050b(0x200)]?0x1:0x0);}export function getSelectedSuggestions(_0x8060c2,_0x51e8d6){const _0x1a5251=_0x176a,_0x588fa6=Array[_0x1a5251(0x1f3)](_0x8060c2[_0x1a5251(0x1eb)]()),_0x402eca=new Set();for(const _0x4133bd of _0x51e8d6)if(_0x4133bd[_0x1a5251(0x20e)]){for(const _0x50fd0c of _0x588fa6)for(const _0x5a0aed of _0x4133bd[_0x1a5251(0x1eb)]())(_0x50fd0c[_0x1a5251(0x1f2)](_0x5a0aed)||_0x8060c2[_0x1a5251(0x1ee)]&&!_0x4133bd[_0x1a5251(0x1f9)]&&_0x4133bd[_0x1a5251(0x1ed)]&&_0x5a0aed[_0x1a5251(0x1f4)][_0x1a5251(0x1f7)](_0x50fd0c[_0x1a5251(0x20b)]))&&_0x402eca[_0x1a5251(0x1ea)](_0x4133bd);}return _0x402eca;}function _0x1886(){const _0x1c229d=['next','isCollapsed','color','createPositionAt','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isIntersecting','from','end','isArray','createElement','isTouching','769929yKwaMZ','isMultiRange','3035872mkzbMx','change','innerText','deletion','4684730jPQvvq','value','type','4273860NCujhC','<span\x20class=\x22ck-suggestion-type\x22>','title','split','</span>','content','8RidWej','span','execute','sort','start','push','schema','isInContent','replace','join','map','attribute','isObject','length','\x20[color\x20','\x22></span>','createRange','3459285BGloNV','7742142ZuvJwr','createPositionAfter','20rxlYMY','2flrBru','createPositionBefore','splice','innerHTML','1286732HbgeDv','add','getRanges','\x22\x20title=\x22'];_0x1886=function(){return _0x1c229d;};return _0x1886();}export function getRangesOfBlockGroups(_0x29e828,_0x28ee27){const _0x1cc88f=_0x176a;let _0x3fa20,_0x3e80a0=0x0;const _0x39e44d=[],_0x3325d8=_0x28ee27[_0x1cc88f(0x20d)];for(;_0x3e80a0<_0x29e828[_0x1cc88f(0x214)];){const _0x20f773=_0x29e828[_0x3e80a0],_0x294a1c=_0x29e828[_0x3e80a0+0x1];_0x3fa20||(_0x3fa20=_0x28ee27[_0x1cc88f(0x1e6)](_0x20f773)),un(_0x28ee27,_0x20f773,_0x294a1c)||(_0x39e44d[_0x1cc88f(0x20c)](_0x28ee27[_0x1cc88f(0x1e0)](_0x3fa20,_0x3325d8[_0x1cc88f(0x213)](_0x20f773)?_0x28ee27[_0x1cc88f(0x1e3)](_0x20f773):_0x28ee27[_0x1cc88f(0x1f0)](_0x20f773,_0x1cc88f(0x1f4)))),_0x3fa20=null),_0x3e80a0++;}return _0x39e44d;}function _0x176a(_0x552064,_0x51332f){const _0x1886f3=_0x1886();return _0x176a=function(_0x176a8d,_0x32baf3){_0x176a8d=_0x176a8d-0x1de;let _0x5ea430=_0x1886f3[_0x176a8d];return _0x5ea430;},_0x176a(_0x552064,_0x51332f);}function un(_0x2b989d,_0x35c9f4,_0xf90115){const _0x2b13a3=_0x176a;if(!_0xf90115)return!0x1;const _0x1f9c3f=_0x2b989d[_0x2b13a3(0x1e3)](_0x35c9f4),_0x393377=_0x2b989d[_0x2b13a3(0x1e6)](_0xf90115);return _0x1f9c3f[_0x2b13a3(0x1f7)](_0x393377);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x452c5b,_0x266da6,_0x562c0e){const _0x46d801=_0x176a;for(;_0x562c0e[_0x46d801(0x214)];){const _0x51e18d=_0x562c0e[_0x46d801(0x1e7)](0x0,0x64);_0x452c5b[_0x46d801(0x1fb)](()=>{const _0x4d85f0=_0x46d801;for(const _0x639abc of _0x51e18d)_0x639abc[_0x4d85f0(0x20e)]&&_0x266da6[_0x4d85f0(0x209)](_0x639abc['id']);});}}
|