@ckeditor/ckeditor5-track-changes 47.7.1 → 47.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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
|
-
|
|
23
|
+
const _0x18a8c9=_0x9096;(function(_0x49d8e8,_0x4494fb){const _0x7363de=_0x9096,_0x34f860=_0x49d8e8();while(!![]){try{const _0x4bef50=parseInt(_0x7363de(0x157))/0x1*(parseInt(_0x7363de(0x153))/0x2)+-parseInt(_0x7363de(0x15d))/0x3*(parseInt(_0x7363de(0x163))/0x4)+-parseInt(_0x7363de(0x15c))/0x5+-parseInt(_0x7363de(0x160))/0x6*(parseInt(_0x7363de(0x155))/0x7)+-parseInt(_0x7363de(0x15a))/0x8+-parseInt(_0x7363de(0x152))/0x9+-parseInt(_0x7363de(0x15f))/0xa*(-parseInt(_0x7363de(0x15e))/0xb);if(_0x4bef50===_0x4494fb)break;else _0x34f860['push'](_0x34f860['shift']());}catch(_0x4ac779){_0x34f860['push'](_0x34f860['shift']());}}}(_0x40d5,0x88657));function _0x40d5(){const _0x50c9b4=['TrackChangesPreview','20GbTwuK','add','trackChanges.preview.renderFunction','8355744LhSZpT','isPremiumPlugin','4513705ezGtwL','573633NZVMbh','13852135GvLeyv','30PBYZyY','6oBAgxT','config','editor','12uvTSWo','isOfficialPlugin','requires','commands','appendChild','define','pluginName','4293603ZkKNKu','2630aEOLvU','previewFinalContent','1732969IVsmul'];_0x40d5=function(){return _0x50c9b4;};return _0x40d5();}import{Plugin as _0x19ec55}from'ckeditor5/src/core.js';function _0x9096(_0x44e4a7,_0x3d4345){const _0x40d5af=_0x40d5();return _0x9096=function(_0x9096a,_0x468635){_0x9096a=_0x9096a-0x14f;let _0x58d00b=_0x40d5af[_0x9096a];return _0x58d00b;},_0x9096(_0x44e4a7,_0x3d4345);}import{Dialog as _0x2a12be}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x4db779}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x45dbca}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x19ec55{static get[_0x18a8c9(0x165)](){return[_0x4db779,_0x2a12be];}static get[_0x18a8c9(0x151)](){const _0x22c179=_0x18a8c9;return _0x22c179(0x156);}static get[_0x18a8c9(0x164)](){return!0x0;}static get[_0x18a8c9(0x15b)](){return!0x0;}constructor(_0x95072d){const _0x4c6579=_0x18a8c9;super(_0x95072d),_0x95072d[_0x4c6579(0x166)][_0x4c6579(0x158)](_0x4c6579(0x154),new _0x45dbca(this[_0x4c6579(0x162)])),_0x95072d[_0x4c6579(0x161)][_0x4c6579(0x150)](_0x4c6579(0x159),(_0x2014ae,_0x90e7d6)=>{const _0x3186fb=_0x4c6579;for(const _0x489fdc of _0x90e7d6)_0x2014ae[_0x3186fb(0x14f)](_0x489fdc);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34fcc4=_0x1a44;(function(_0x2e4b0e,_0x19aec8){const _0x32241d=_0x1a44,_0x3df1fe=_0x2e4b0e();while(!![]){try{const _0x347a3b=parseInt(_0x32241d(0x126))/0x1*(-parseInt(_0x32241d(0x132))/0x2)+-parseInt(_0x32241d(0x11f))/0x3+parseInt(_0x32241d(0x105))/0x4+-parseInt(_0x32241d(0x13c))/0x5+-parseInt(_0x32241d(0x137))/0x6*(parseInt(_0x32241d(0xdd))/0x7)+-parseInt(_0x32241d(0x103))/0x8*(-parseInt(_0x32241d(0x134))/0x9)+parseInt(_0x32241d(0x155))/0xa*(parseInt(_0x32241d(0x124))/0xb);if(_0x347a3b===_0x19aec8)break;else _0x3df1fe['push'](_0x3df1fe['shift']());}catch(_0x533bf7){_0x3df1fe['push'](_0x3df1fe['shift']());}}}(_0x4dfc,0xd2750));function _0x1a44(_0x2e9725,_0x41dda3){const _0x4dfcbe=_0x4dfc();return _0x1a44=function(_0x1a4455,_0x1da40e){_0x1a4455=_0x1a4455-0xbf;let _0x2b91b5=_0x4dfcbe[_0x1a4455];return _0x2b91b5;},_0x1a44(_0x2e9725,_0x41dda3);}import{Plugin as _0x1cba11}from'ckeditor5/src/core.js';import{Collection as _0x42cc01}from'ckeditor5/src/utils.js';function _0x4dfc(){const _0xbb9aea=['SuggestionThreadView','trackChangesLicenseKeyUsageLimit','descriptionParts','_refreshActiveMarkers','31280570TYzPZG','remove','suggestionView','comments.maxCommentCharsWhenCollapsed','init','commentThread','Track\x20changes','requires','change:previous','discardSelectedSuggestions','push','menuitemcheckbox','trackChanges.disableComments','isDirty','keys','_addUIComponentsToFactory','define','usageLimit','menuitem','createAnnotationView','value','stopListening','trackChangesLicenseKeyEvaluationLimit','filter','source','_unbindEditors','getSuggestion','addComment','createCommentThreadController','acceptSelectedSuggestions','refreshSelectedViews','_updateController','acceptButton','acceptAllSuggestions','suggestionChanged','delegate','TrackChanges','Discard\x20all\x20selected\x20suggestions','comments.maxCommentsWhenCollapsed','expired','some','locale','trackChanges.SuggestionView','getMarkerNames','getSuggestionForAnnotation','addSourceCollector','trackChanges.SuggestionThreadView','getRanges','lowest','activeMarkers','Annotations','suggestionLoaded','getFirstRange','isOfficialPlugin','TrackChangesPreview','discardButton','trackChangesLicenseKeyNotAllowed','15372gOdgZI','previous','view','TrackChangesEditing','CommentsUI','change:activeAnnotations','commentsListView','switchbutton','_handleSuggestionControllerDelayed','model','EditorAnnotations','TrackChangesUI','activeAnnotations','_viewToController','bind','arrowView','_handleControllerBuffer','isPremiumPlugin','suggestionUnloaded','panelView','suggestion-','commandName','getDescriptions','licenseKey','hasSuggestion','values','editor','type','descriptionFactory','config','button','mainView','_createToolbarButton','from','_disableComments','registerAnnotation','isEnabled','buttonView','6869216FobJzI','listenTo','2100600uRdqIY','trackChangesLicenseKeyValid','evaluationLimit','actionView','set','getByInnerView','discardAllSuggestions','getAnnotationForSuggestion','execute','isMultiRange','unbind','_createMenuBarMenu','createAnnotation','innerView','trackChangesLicenseKeyDomainLimit','has','SuggestionView','fire','Accept\x20all\x20selected\x20suggestions','_showLicenseError','add','trackChangesLicenseKeyExpired','focus','invalid','comments.maxThreadTotalWeight','comments.editorConfig','3288045DFWtgU','clear','getAllAdjacentSuggestions','length','plugins','11EeyWnd','featureNotAllowed','2ziZDmu','comments','toMany','items','domainLimit','getJoined','editing','Discard\x20all\x20suggestions','Accept\x20all\x20suggestions','commands','_destroyController','menuBar:trackChanges','1320756infdTg','_initializeController','18ZDezyj','escape','head','1290txkEXu','destroy','isOn','_licenseKeyCheckInterval','previewFinalContent','8097840nJqVuA','_suggestionToController','separator','get','Preview\x20final\x20content','_annotationViews','menu','addMany','componentFactory','size','reduce','getMarkers','_bindAnnotationToEditors','pluginName','trackChanges','CommentView','children','delete','CommentsRepository','isInContent','trackChangesLicenseKeyInvalid'];_0x4dfc=function(){return _0xbb9aea;};return _0x4dfc();}import{IconTrackChanges as _0x2fcc89}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3191bf,createDropdown as _0x5ba388,ListSeparatorView as _0x46b83c,MenuBarMenuView as _0x1bfbc5,MenuBarMenuListView as _0x382537,MenuBarMenuListItemView as _0x382bc8,MenuBarMenuListItemButtonView as _0x20c111,SplitButtonView as _0x439209,UIModel as _0x3e60ba}from'ckeditor5/src/ui.js';import{Users as _0x3efe97,getDateTimeFormatter as _0x158866,getAllMarkersDomElementsSorted as _0x27a5fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x59497d}from'./trackchangesediting.js';import{SuggestionController as _0x15ca94}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x480dea}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x44025f}from'./ui/view/suggestionview.js';import{getTranslation as _0x39a184}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1cba11{[_0x34fcc4(0xf4)];[_0x34fcc4(0x13a)];[_0x34fcc4(0x13d)];[_0x34fcc4(0xea)];[_0x34fcc4(0x141)];[_0x34fcc4(0xed)];[_0x34fcc4(0xff)];static get[_0x34fcc4(0x15c)](){const _0x549b9c=_0x34fcc4;return[_0x59497d,_0x3efe97,_0x549b9c(0x14e),_0x549b9c(0xd6),_0x549b9c(0xe7)];}static get[_0x34fcc4(0x149)](){const _0x2a63e4=_0x34fcc4;return _0x2a63e4(0xe8);}static get[_0x34fcc4(0xd9)](){return!0x0;}static get[_0x34fcc4(0xee)](){return!0x0;}constructor(_0x29ad9a){const _0x49774e=_0x34fcc4;super(_0x29ad9a),this[_0x49774e(0x13d)]=new Map(),this[_0x49774e(0xea)]=new Map(),this[_0x49774e(0x141)]=new Map(),this[_0x49774e(0xed)]=new Map();const _0x35c916=this[_0x49774e(0xf7)][_0x49774e(0xfa)];_0x35c916[_0x49774e(0x165)](_0x49774e(0xd2),_0x480dea),_0x35c916[_0x49774e(0x165)](_0x49774e(0xce),_0x44025f),_0x35c916[_0x49774e(0x165)](_0x49774e(0x161),!0x1),this[_0x49774e(0xff)]=_0x35c916[_0x49774e(0x13f)](_0x49774e(0x161));}[_0x34fcc4(0xe5)](_0x4c202e,_0x395317){const _0x387fe5=_0x34fcc4;0x0===this[_0x387fe5(0xed)][_0x387fe5(0x145)]&&setTimeout(()=>{const _0x3d404b=_0x387fe5;for(const [_0x38c1d0,_0x3c9f11]of this[_0x3d404b(0xed)]){const _0x416d9c=this[_0x3d404b(0x13d)][_0x3d404b(0x114)](_0x38c1d0);_0x416d9c||_0x3c9f11?_0x416d9c&&_0x3c9f11&&this[_0x3d404b(0x130)](_0x38c1d0):this[_0x3d404b(0x133)](_0x38c1d0);}this[_0x3d404b(0xed)][_0x3d404b(0x120)](),this[_0x3d404b(0xf7)][_0x3d404b(0x123)][_0x3d404b(0x13f)](_0x3d404b(0xe7))[_0x3d404b(0xc2)](),this[_0x3d404b(0x154)]();},0xa),this[_0x387fe5(0xed)][_0x387fe5(0x109)](_0x4c202e,_0x395317);}[_0x34fcc4(0x159)](){const _0x261d2f=_0x34fcc4,_0x31d011=this[_0x261d2f(0xf7)],_0x591c55=_0x31d011[_0x261d2f(0x123)][_0x261d2f(0x13f)](_0x261d2f(0xe0)),_0xb0f4=_0x31d011[_0x261d2f(0x123)][_0x261d2f(0x13f)](_0x261d2f(0xd6)),_0x20b0b4=_0x31d011[_0x261d2f(0x123)][_0x261d2f(0x13f)](_0x261d2f(0xe7)),_0x1f2382=_0x31d011[_0x261d2f(0x123)][_0x261d2f(0x13f)](_0x261d2f(0x14e));this[_0x261d2f(0x164)](),_0x20b0b4[_0x261d2f(0xd1)](()=>{const _0x2ddf7b=_0x261d2f,_0x143bb8=[];for(const [_0x208a6f,_0x26f9ce]of Array[_0x2ddf7b(0xfe)](this[_0x2ddf7b(0x13d)])){const _0x3252f1=_0x208a6f[_0x2ddf7b(0x121)](),_0x69beb2=[];for(const _0x5a33dd of _0x3252f1){if(!_0x5a33dd[_0x2ddf7b(0x14f)])continue;if(_0x5a33dd[_0x2ddf7b(0x10e)]){_0x69beb2[_0x2ddf7b(0x15f)](..._0x5a33dd[_0x2ddf7b(0xd3)]());continue;}const _0x172fbc=_0x5a33dd[_0x2ddf7b(0xd8)]();if(_0x69beb2[_0x2ddf7b(0x122)]>0x0){const _0x35f8bf=_0x69beb2[0x0][_0x2ddf7b(0x12b)](_0x172fbc);if(_0x35f8bf){_0x69beb2[0x0]=_0x35f8bf;continue;}}_0x69beb2[_0x2ddf7b(0x15f)](_0x172fbc);}_0x143bb8[_0x2ddf7b(0x15f)]([_0x26f9ce[_0x2ddf7b(0xdf)],_0x69beb2]);}return _0x143bb8;}),this[_0x261d2f(0x104)](_0x591c55,_0x261d2f(0xd7),(_0xe90910,_0x581b1f)=>{const _0x408c0e=_0x261d2f;this[_0x408c0e(0x104)](_0x581b1f,_0x408c0e(0x15d),(_0x32af49,_0x4ea6b8,_0x503477,_0x23bc8d)=>{const _0x2a7185=_0x408c0e;_0x581b1f[_0x2a7185(0x14f)]&&(null==_0x503477?(this[_0x2a7185(0xc3)](_0x23bc8d[_0x2a7185(0x136)]),this[_0x2a7185(0xe5)](_0x581b1f,!0x1)):(this[_0x2a7185(0xc3)](_0x503477[_0x2a7185(0x136)]),null==_0x23bc8d&&this[_0x2a7185(0xe5)](_0x581b1f,!0x0)));}),null!==_0x581b1f[_0x408c0e(0xde)]?this[_0x408c0e(0xc3)](_0x581b1f[_0x408c0e(0x136)]):this[_0x408c0e(0xe5)](_0x581b1f,!0x1);}),this[_0x261d2f(0x104)](_0x591c55,_0x261d2f(0xef),(_0x48e311,_0x5e04e3,_0x4a93f9)=>{const _0xfb7343=_0x261d2f;this[_0xfb7343(0x16a)](_0x5e04e3,_0xfb7343(0x15d)),this[_0xfb7343(0xed)][_0xfb7343(0x14d)](_0x5e04e3),this[_0xfb7343(0x13d)][_0xfb7343(0x114)](_0x5e04e3)&&this[_0xfb7343(0x130)](_0x5e04e3),_0x4a93f9&&this[_0xfb7343(0xc3)](_0x4a93f9[_0xfb7343(0x136)]);}),this[_0x261d2f(0x104)](_0x591c55,_0x261d2f(0xc6),(_0x391c89,_0x25d00c)=>{const _0x50a331=_0x261d2f;this[_0x50a331(0xc3)](_0x25d00c);}),this[_0x261d2f(0x104)](_0xb0f4,_0x261d2f(0xe2),()=>{const _0x5a63c7=_0x261d2f;this[_0x5a63c7(0x154)]();}),this[_0x261d2f(0x104)](_0x1f2382,_0x261d2f(0xbf),(_0x439728,{threadId:_0x916cec,isFromAdapter:_0x411cd9})=>{const _0x5e102b=_0x261d2f;if(_0x411cd9||!_0x591c55[_0x5e102b(0xf5)](_0x916cec))return;const _0x84f096=_0x591c55[_0x5e102b(0x16f)](_0x916cec);this[_0x5e102b(0x13d)][_0x5e102b(0x13f)](_0x84f096)[_0x5e102b(0xdf)][_0x5e102b(0xe3)][_0x5e102b(0x11b)](-0x1);},{'priority':_0x261d2f(0xd4)}),this[_0x261d2f(0xf4)]=this[_0x261d2f(0xf7)][_0x261d2f(0xfa)][_0x261d2f(0x13f)](_0x261d2f(0xf4));const _0x3f0922=this[_0x261d2f(0xf7)];this[_0x261d2f(0x13a)]=setInterval(()=>{const _0x5774ed=_0x261d2f;let _0x412fca;for(const _0x569459 in _0x3f0922){const _0x38173b=_0x569459,_0x3fa9f3=_0x3f0922[_0x38173b];if(_0x5774ed(0x106)==_0x3fa9f3||_0x5774ed(0x150)==_0x3fa9f3||_0x5774ed(0x11a)==_0x3fa9f3||_0x5774ed(0x113)==_0x3fa9f3||_0x5774ed(0xdc)==_0x3fa9f3||_0x5774ed(0x16b)==_0x3fa9f3||_0x5774ed(0x152)==_0x3fa9f3){delete _0x3f0922[_0x38173b],_0x412fca=_0x3fa9f3,clearInterval(this[_0x5774ed(0x13a)]),this[_0x5774ed(0x13a)]=void 0x0;break;}}_0x5774ed(0x150)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x11c)),_0x5774ed(0x11a)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0xcb)),_0x5774ed(0x113)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x12a)),_0x5774ed(0xdc)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x125),_0x5774ed(0xc8)),_0x5774ed(0x16b)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x107)),_0x5774ed(0x152)==_0x412fca&&_0x3f0922[_0x5774ed(0x118)](_0x5774ed(0x166));},0x3e8);}[_0x34fcc4(0x10c)](_0x3ae20d){const _0x4e1ceb=_0x34fcc4,_0x2f6d1c=this[_0x4e1ceb(0x13d)][_0x4e1ceb(0x13f)](_0x3ae20d);if(!_0x2f6d1c)return null;return this[_0x4e1ceb(0xf7)][_0x4e1ceb(0x123)][_0x4e1ceb(0x13f)](_0x4e1ceb(0xd6))[_0x4e1ceb(0x10a)](_0x2f6d1c[_0x4e1ceb(0xdf)])||null;}[_0x34fcc4(0xd0)](_0x344126){const _0x16c6f3=_0x34fcc4,_0x32f77d=this[_0x16c6f3(0xea)][_0x16c6f3(0x13f)](_0x344126[_0x16c6f3(0x112)]);return _0x32f77d?_0x32f77d[_0x16c6f3(0xe6)]:null;}[_0x34fcc4(0x154)](){const _0xfae6a1=_0x34fcc4,_0x1ab3e0=this[_0xfae6a1(0xf7)][_0xfae6a1(0x123)][_0xfae6a1(0x13f)](_0xfae6a1(0xd6)),_0x5487ff=this[_0xfae6a1(0xf7)][_0xfae6a1(0x123)][_0xfae6a1(0x13f)](_0xfae6a1(0xe0)),_0x124137=Array[_0xfae6a1(0xfe)](_0x1ab3e0[_0xfae6a1(0xe9)],_0x84b4e6=>_0x84b4e6[_0xfae6a1(0x112)])[_0xfae6a1(0x16c)](_0x4fabe1=>this[_0xfae6a1(0xea)][_0xfae6a1(0x114)](_0x4fabe1)),_0x512214=[];for(const _0x553955 of _0x124137){const _0x14a5aa=this[_0xfae6a1(0xea)][_0xfae6a1(0x13f)](_0x553955)[_0xfae6a1(0xe6)][_0xfae6a1(0x121)]();_0x512214[_0xfae6a1(0x15f)](..._0x14a5aa[_0xfae6a1(0x146)]((_0x286b10,_0x59441e)=>[..._0x286b10,..._0x59441e[_0xfae6a1(0xcf)]()],[]));}_0x5487ff[_0xfae6a1(0xd5)]=_0x512214;}[_0x34fcc4(0x164)](){const _0x2b6019=_0x34fcc4,_0x3a77af=this[_0x2b6019(0xf7)],_0x48103b=_0x3a77af[_0x2b6019(0xcd)],_0x454817=_0x39a184(_0x48103b,_0x2b6019(0x15b)),_0x3e13d8=new _0x42cc01([{'type':_0x2b6019(0xe4),'model':new _0x3e60ba({'withText':!0x0,'isToggleable':!0x0,'label':_0x454817,'commandName':_0x2b6019(0x14a),'role':_0x2b6019(0x160)})},{'type':_0x2b6019(0x13e)},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0x12e)),'commandName':_0x2b6019(0xc5),'role':_0x2b6019(0x167)})},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0x117)),'commandName':_0x2b6019(0xc1),'role':_0x2b6019(0x167)})},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0x12d)),'commandName':_0x2b6019(0x10b),'role':_0x2b6019(0x167)})},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0xc9)),'commandName':_0x2b6019(0x15e),'role':_0x2b6019(0x167)})}]);_0x3a77af[_0x2b6019(0x123)][_0x2b6019(0x114)](_0x2b6019(0xda))&&_0x3e13d8[_0x2b6019(0x143)]([{'type':_0x2b6019(0x13e)},{'type':_0x2b6019(0xfb),'model':new _0x3e60ba({'withText':!0x0,'label':_0x39a184(_0x48103b,_0x2b6019(0x140)),'commandName':_0x2b6019(0x13b),'role':_0x2b6019(0x167)})}]);for(const _0x5b9e87 of _0x3e13d8)if(ke(_0x5b9e87)){const _0x2ad3ad=_0x3a77af[_0x2b6019(0x12f)][_0x2b6019(0x13f)](_0x5b9e87[_0x2b6019(0xe6)][_0x2b6019(0xf2)]);_0x5b9e87[_0x2b6019(0xe6)][_0x2b6019(0xeb)](_0x2b6019(0x139),_0x2b6019(0x101))['to'](_0x2ad3ad,_0x2b6019(0x169),_0x2b6019(0x101));}_0x3a77af['ui'][_0x2b6019(0x144)][_0x2b6019(0x119)](_0x2b6019(0x14a),_0xad1fd1=>this[_0x2b6019(0xfd)](_0xad1fd1,_0x3e13d8,_0x454817)),_0x3a77af['ui'][_0x2b6019(0x144)][_0x2b6019(0x119)](_0x2b6019(0x131),_0x246d64=>this[_0x2b6019(0x110)](_0x246d64,_0x3e13d8,_0x454817));}[_0x34fcc4(0xfd)](_0x59afb4,_0xe9fb9d,_0x5204f6){const _0x531d1f=_0x34fcc4,_0x486be8=_0x5ba388(_0x59afb4,_0x439209),_0xfaba7b=this[_0x531d1f(0xf7)][_0x531d1f(0x12f)][_0x531d1f(0x13f)](_0x531d1f(0x14a));_0x486be8[_0x531d1f(0x102)][_0x531d1f(0x109)]({'tooltip':_0x5204f6,'label':_0x5204f6,'icon':_0x2fcc89}),_0x486be8[_0x531d1f(0x102)][_0x531d1f(0xeb)](_0x531d1f(0x139))['to'](_0xfaba7b,_0x531d1f(0x169)),_0x486be8[_0x531d1f(0x102)]['on'](_0x531d1f(0x10d),()=>{const _0x5525a1=_0x531d1f;_0xfaba7b[_0x5525a1(0x10d)](),this[_0x5525a1(0xf7)][_0x5525a1(0x12c)][_0x5525a1(0xdf)][_0x5525a1(0x11b)]();}),_0x3191bf(_0x486be8,_0xe9fb9d,{'role':_0x531d1f(0x142)});const _0x2b835d=[];for(const _0x48061e of _0xe9fb9d)ke(_0x48061e)&&_0x2b835d[_0x531d1f(0x15f)](this[_0x531d1f(0xf7)][_0x531d1f(0x12f)][_0x531d1f(0x13f)](_0x48061e[_0x531d1f(0xe6)][_0x531d1f(0xf2)]));const _0x4de9b5=_0x486be8[_0x531d1f(0x102)];return _0x4de9b5[_0x531d1f(0x108)][_0x531d1f(0x10f)](_0x531d1f(0x101)),_0x4de9b5[_0x531d1f(0xec)][_0x531d1f(0x10f)](_0x531d1f(0x101)),_0x4de9b5[_0x531d1f(0x108)][_0x531d1f(0xeb)](_0x531d1f(0x101))['to'](_0xfaba7b,_0x531d1f(0x101)),_0x4de9b5[_0x531d1f(0xec)][_0x531d1f(0xeb)](_0x531d1f(0x101))[_0x531d1f(0x128)](_0x2b835d,_0x531d1f(0x101),(..._0x20cee5)=>_0x20cee5[_0x531d1f(0xcc)](_0x483d9f=>_0x483d9f)),_0x486be8['on'](_0x531d1f(0x10d),_0x23fac8=>{const _0x41644c=_0x531d1f;this[_0x41644c(0xf7)][_0x41644c(0x10d)](_0x23fac8[_0x41644c(0x16d)][_0x41644c(0xf2)]),this[_0x41644c(0xf7)][_0x41644c(0x12c)][_0x41644c(0xdf)][_0x41644c(0x11b)]();}),_0x486be8;}[_0x34fcc4(0x110)](_0x306a7e,_0x4c742f,_0x18b0f5){const _0x236a9d=_0x34fcc4,_0xc8b940=new _0x1bfbc5(_0x306a7e),_0x198084=this[_0x236a9d(0xf7)][_0x236a9d(0x12f)][_0x236a9d(0x13f)](_0x236a9d(0x14a));_0xc8b940[_0x236a9d(0x102)][_0x236a9d(0x109)]({'label':_0x18b0f5,'icon':_0x2fcc89});const _0x5882b5=new _0x382537(_0x306a7e);for(const _0x49c03b of _0x4c742f){if(_0x236a9d(0x13e)==_0x49c03b[_0x236a9d(0xf8)]){_0x5882b5[_0x236a9d(0x129)][_0x236a9d(0x119)](new _0x46b83c(_0x306a7e));continue;}const _0x43d40a=new _0x382bc8(_0x306a7e,_0xc8b940),_0xae5aad=new _0x20c111(_0x306a7e),_0x50208e=_0x49c03b[_0x236a9d(0xe6)];_0xae5aad[_0x236a9d(0xeb)](...Object[_0x236a9d(0x163)](_0x50208e))['to'](_0x50208e),_0xae5aad[_0x236a9d(0xc7)](_0x236a9d(0x10d))['to'](_0xc8b940),_0xae5aad['on'](_0x236a9d(0x10d),()=>{const _0x5233ec=_0x236a9d;this[_0x5233ec(0xf7)][_0x5233ec(0x10d)](_0x50208e[_0x5233ec(0xf2)]),this[_0x5233ec(0xf7)][_0x5233ec(0x12c)][_0x5233ec(0xdf)][_0x5233ec(0x11b)]();}),_0x43d40a[_0x236a9d(0x14c)][_0x236a9d(0x119)](_0xae5aad),_0x5882b5[_0x236a9d(0x129)][_0x236a9d(0x119)](_0x43d40a);}return _0xc8b940[_0x236a9d(0xeb)](_0x236a9d(0x101))['to'](_0x198084,_0x236a9d(0x101)),_0xc8b940[_0x236a9d(0xf0)][_0x236a9d(0x14c)][_0x236a9d(0x119)](_0x5882b5),_0xc8b940;}[_0x34fcc4(0x133)](_0x54bafd){const _0x415fb2=_0x34fcc4,_0x5e04c2=this[_0x415fb2(0xf7)],_0x28d4cc=_0x5e04c2[_0x415fb2(0xfa)],_0x2fa39c=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0xd6)),_0x125c97=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0x14e)),_0x4dd753=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0xe7)),_0x80d7de=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x3efe97)['me'],_0x3c0691=_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x14a))[_0x415fb2(0x151)],_0xb56072=_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x14a))[_0x415fb2(0x115)],{CommentsListView:_0x100271,CommentThreadInputView:_0x1f87d3}=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0xe1));let _0x56d651,_0x2a6551,_0x3f05a8;this[_0x415fb2(0x141)][_0x415fb2(0x114)](_0x54bafd['id'])?(_0x2a6551=this[_0x415fb2(0x141)][_0x415fb2(0x13f)](_0x54bafd['id']),_0x56d651=_0x2a6551[_0x415fb2(0xfc)]):(_0x56d651=new _0x3c0691(_0x5e04c2[_0x415fb2(0xcd)],_0x54bafd,_0x80d7de,{'disableComments':this[_0x415fb2(0xff)],'editorConfig':{..._0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x11e)),'licenseKey':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0xf4))},'maxCommentsWhenCollapsed':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0xca)),'maxThreadTotalWeight':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x11d)),'maxCommentCharsWhenCollapsed':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x158)),'formatDateTime':_0x158866(_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0xcd)),_0x5e04c2[_0x415fb2(0xcd)]),'CommentView':_0x28d4cc[_0x415fb2(0x13f)](_0x415fb2(0x127))[_0x415fb2(0x14b)],'CommentsListView':_0x100271,'CommentThreadInputView':_0x1f87d3,'SuggestionView':_0xb56072}),_0x56d651[_0x415fb2(0x157)][_0x415fb2(0xc4)]['on'](_0x415fb2(0x10d),()=>{const _0x130274=_0x415fb2;_0x5e04c2[_0x130274(0x12c)][_0x130274(0xdf)][_0x130274(0x11b)]();}),_0x56d651[_0x415fb2(0x157)][_0x415fb2(0xdb)]['on'](_0x415fb2(0x10d),()=>{const _0x12dd83=_0x415fb2;_0x5e04c2[_0x12dd83(0x12c)][_0x12dd83(0xdf)][_0x12dd83(0x11b)]();}),_0x2a6551=_0x2fa39c[_0x415fb2(0x168)](this[_0x415fb2(0xf7)][_0x415fb2(0xcd)],_0x56d651),_0x2a6551[_0x415fb2(0xeb)](_0x415fb2(0x162))['to'](_0x56d651,_0x415fb2(0x162)),_0x2a6551[_0x415fb2(0xeb)](_0x415fb2(0x122))['to'](_0x56d651),_0x2a6551[_0x415fb2(0xeb)](_0x415fb2(0xf8))['to'](_0x56d651,_0x415fb2(0xf8),_0xa1eee3=>_0x415fb2(0xf1)+_0xa1eee3),_0x56d651['on'](_0x415fb2(0x135),()=>{const _0x301903=_0x415fb2;_0x3f05a8[_0x301903(0x116)](_0x301903(0x135));}),this[_0x415fb2(0x141)][_0x415fb2(0x109)](_0x54bafd['id'],_0x2a6551));const _0x4e9c33=_0x125c97[_0x415fb2(0xc0)](_0x54bafd[_0x415fb2(0x15a)],_0x56d651),_0x4713e5=new _0x15ca94(_0x5e04c2,_0x54bafd,_0x56d651,_0x4e9c33),_0x402c82=_0x54bafd[_0x415fb2(0x121)]()[_0x415fb2(0x16c)](_0x2ddfd1=>_0x2ddfd1[_0x415fb2(0x14f)]);_0x56d651[_0x415fb2(0x153)]=_0x5e04c2[_0x415fb2(0x123)][_0x415fb2(0x13f)](_0x415fb2(0xe0))[_0x415fb2(0xf9)][_0x415fb2(0xf3)](_0x402c82),this[_0x415fb2(0x13d)][_0x415fb2(0x109)](_0x54bafd,_0x4713e5),this[_0x415fb2(0xea)][_0x415fb2(0x109)](_0x56d651,_0x4713e5);const _0x2077c5=()=>{const _0x38dbef=_0x415fb2,_0xbbf3f7=[],_0x2c034d=_0x54bafd[_0x38dbef(0x121)]()[_0x38dbef(0x16c)](_0x468355=>_0x468355[_0x38dbef(0x14f)]);for(const _0x3a0b69 of _0x2c034d)_0xbbf3f7[_0x38dbef(0x15f)](..._0x3a0b69[_0x38dbef(0x147)]());return _0x27a5fd(_0x5e04c2[_0x38dbef(0x12c)],_0xbbf3f7);};_0x3f05a8=_0x2fa39c[_0x415fb2(0x111)]({'view':_0x2a6551,'target':_0x2077c5,'type':()=>_0x415fb2(0xf1)+_0x4713e5[_0x415fb2(0xdf)][_0x415fb2(0xf8)],'isVisible':!!_0x2077c5()}),_0x125c97[_0x415fb2(0x148)](_0x56d651,_0x3f05a8),_0x2fa39c[_0x415fb2(0x119)](_0x3f05a8),_0x4dd753[_0x415fb2(0x100)](_0x3f05a8);}[_0x34fcc4(0x130)](_0x2fcada){const _0x869b38=_0x34fcc4,_0x31fb30=this[_0x869b38(0xf7)][_0x869b38(0x123)][_0x869b38(0x13f)](_0x869b38(0x14e)),_0xe2f411=this[_0x869b38(0xf7)][_0x869b38(0x123)][_0x869b38(0x13f)](_0x869b38(0xd6)),_0x3079c4=this[_0x869b38(0x13d)][_0x869b38(0x13f)](_0x2fcada),_0x4f451c=_0x3079c4[_0x869b38(0xdf)],_0x4c3dcf=_0xe2f411[_0x869b38(0x10a)](_0x4f451c);_0x31fb30[_0x869b38(0x16e)](_0x4f451c),_0x4c3dcf&&_0xe2f411[_0x869b38(0x156)](_0x4c3dcf),this[_0x869b38(0x13d)][_0x869b38(0x14d)](_0x2fcada),this[_0x869b38(0xea)][_0x869b38(0x14d)](_0x4f451c),_0x3079c4[_0x869b38(0x138)]();}[_0x34fcc4(0xc3)](_0x62ec77){const _0x30c772=_0x34fcc4;if(!_0x62ec77[_0x30c772(0x14f)]||!this[_0x30c772(0x13d)][_0x30c772(0x114)](_0x62ec77))return;const _0x55a877=this[_0x30c772(0xf7)][_0x30c772(0x123)][_0x30c772(0x13f)](_0x30c772(0xe0)),_0x425e3e=this[_0x30c772(0x13d)][_0x30c772(0x13f)](_0x62ec77),_0x3d2379=_0x62ec77[_0x30c772(0x121)]();_0x425e3e[_0x30c772(0xdf)][_0x30c772(0x153)]=_0x55a877[_0x30c772(0xf9)][_0x30c772(0xf3)](_0x3d2379);}[_0x34fcc4(0x138)](){const _0x2f4e83=_0x34fcc4;for(const _0x4ce7fd of this[_0x2f4e83(0x13d)][_0x2f4e83(0x163)]())this[_0x2f4e83(0x130)](_0x4ce7fd);for(const _0x5528ec of this[_0x2f4e83(0x141)][_0x2f4e83(0xf6)]())_0x5528ec[_0x2f4e83(0xfc)][_0x2f4e83(0x138)]();super[_0x2f4e83(0x138)](),this[_0x2f4e83(0x13a)]&&clearInterval(this[_0x2f4e83(0x13a)]);}}function ke(_0x396598){const _0xaf7de7=_0x34fcc4;return _0xaf7de7(0xe6)in _0x396598;}
|
|
23
|
+
const _0x55959a=_0x52fc;function _0x5eed(){const _0x2f8bf5=['trackChangesLicenseKeyInvalid','lowest','362130qjtGBO','isOfficialPlugin','acceptButton','trackChangesLicenseKeyEvaluationLimit','commandName','button','menuitem','pluginName','locale','discardButton','acceptAllSuggestions','CommentView','createCommentThreadController','toMany','getByInnerView','acceptSelectedSuggestions','Accept\x20all\x20suggestions','previewFinalContent','getMarkerNames','12775yZomLH','Annotations','107936WFQXCb','addComment','refreshSelectedViews','trackChangesLicenseKeyNotAllowed','focus','385356RMThhf','_licenseKeyCheckInterval','push','suggestionUnloaded','actionView','commentsListView','get','getAnnotationForSuggestion','change:previous','_annotationViews','_handleSuggestionControllerDelayed','Discard\x20all\x20suggestions','usageLimit','menuBar:trackChanges','has','564ajqvnK','trackChanges.SuggestionView','source','separator','Discard\x20all\x20selected\x20suggestions','CommentsRepository','innerView','values','size','domainLimit','_initializeController','trackChanges','_updateController','delete','set','isInContent','trackChangesLicenseKeyExpired','2rmuksB','addMany','children','filter','keys','commentThread','licenseKey','Accept\x20all\x20selected\x20suggestions','destroy','TrackChangesPreview','listenTo','_unbindEditors','descriptionParts','comments.maxThreadTotalWeight','clear','getMarkers','addSourceCollector','config','hasSuggestion','_destroyController','activeAnnotations','_createMenuBarMenu','some','comments','1043553WlvdlN','trackChanges.disableComments','remove','plugins','getJoined','delegate','previous','activeMarkers','SuggestionThreadView','panelView','items','menuitemcheckbox','5524302aVAxqe','TrackChanges','execute','_handleControllerBuffer','reduce','view','featureNotAllowed','trackChangesLicenseKeyUsageLimit','542245cUrVor','isPremiumPlugin','createAnnotation','suggestion-','isMultiRange','TrackChangesUI','TrackChangesEditing','add','CommentsUI','mainView','SuggestionView','_showLicenseError','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','Preview\x20final\x20content','discardSelectedSuggestions','380vgSbFC','comments.editorConfig','init','comments.maxCommentsWhenCollapsed','EditorAnnotations','switchbutton','change:activeAnnotations','_suggestionToController','trackChangesLicenseKeyDomainLimit','invalid','stopListening','componentFactory','getAllAdjacentSuggestions','head','getFirstRange','_disableComments','fire','menu','escape','unbind','editor','getSuggestion','trackChangesLicenseKeyValid','getSuggestionForAnnotation','value','suggestionView','_createToolbarButton','getDescriptions','getRanges','expired','_addUIComponentsToFactory','buttonView','arrowView','_viewToController','descriptionFactory','define','requires','discardAllSuggestions','suggestionChanged','type','commands','_bindAnnotationToEditors','suggestionLoaded','model','length','isOn','Track\x20changes','trackChanges.SuggestionThreadView','from','isDirty','36OUssln','editing','isEnabled','registerAnnotation','bind','evaluationLimit','createAnnotationView'];_0x5eed=function(){return _0x2f8bf5;};return _0x5eed();}(function(_0x28b2c0,_0x559e73){const _0x32fe96=_0x52fc,_0x230484=_0x28b2c0();while(!![]){try{const _0x1916b1=parseInt(_0x32fe96(0x102))/0x1*(-parseInt(_0x32fe96(0x193))/0x2)+parseInt(_0x32fe96(0x11a))/0x3+parseInt(_0x32fe96(0xf1))/0x4*(-parseInt(_0x32fe96(0x18c))/0x5)+-parseInt(_0x32fe96(0x179))/0x6+-parseInt(_0x32fe96(0x126))/0x7+-parseInt(_0x32fe96(0x18e))/0x8*(parseInt(_0x32fe96(0x170))/0x9)+parseInt(_0x32fe96(0x13e))/0xa*(parseInt(_0x32fe96(0x12e))/0xb);if(_0x1916b1===_0x559e73)break;else _0x230484['push'](_0x230484['shift']());}catch(_0x21cb30){_0x230484['push'](_0x230484['shift']());}}}(_0x5eed,0x8ba25));import{Plugin as _0x287255}from'ckeditor5/src/core.js';import{Collection as _0x1921f4}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x13fece}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1b0f08,createDropdown as _0xab2a17,ListSeparatorView as _0x4631aa,MenuBarMenuView as _0x3d2921,MenuBarMenuListView as _0x5eee77,MenuBarMenuListItemView as _0x105c72,MenuBarMenuListItemButtonView as _0x49b23b,SplitButtonView as _0x2a7515,UIModel as _0x23d8cb}from'ckeditor5/src/ui.js';import{Users as _0x555e62,getDateTimeFormatter as _0x335755,getAllMarkersDomElementsSorted as _0x2086eb}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5524fb}from'./trackchangesediting.js';import{SuggestionController as _0x421613}from'./ui/suggestioncontroller.js';function _0x52fc(_0x17e723,_0x55e400){const _0x5eede7=_0x5eed();return _0x52fc=function(_0x52fca4,_0x1fa3e6){_0x52fca4=_0x52fca4-0xe8;let _0x1e83e2=_0x5eede7[_0x52fca4];return _0x1e83e2;},_0x52fc(_0x17e723,_0x55e400);}import{SuggestionThreadView as _0x1a7b3a}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0xdf7303}from'./ui/view/suggestionview.js';import{getTranslation as _0x480642}from'./utils/common-translations.js';export class TrackChangesUI extends _0x287255{[_0x55959a(0x108)];[_0x55959a(0x194)];[_0x55959a(0x145)];[_0x55959a(0x15f)];[_0x55959a(0xeb)];[_0x55959a(0x129)];[_0x55959a(0x14d)];static get[_0x55959a(0x162)](){const _0x2d43ad=_0x55959a;return[_0x5524fb,_0x555e62,_0x2d43ad(0xf6),_0x2d43ad(0x18d),_0x2d43ad(0x142)];}static get[_0x55959a(0x180)](){const _0x275c18=_0x55959a;return _0x275c18(0x133);}static get[_0x55959a(0x17a)](){return!0x0;}static get[_0x55959a(0x12f)](){return!0x0;}constructor(_0x48e99a){const _0x5e9967=_0x55959a;super(_0x48e99a),this[_0x5e9967(0x145)]=new Map(),this[_0x5e9967(0x15f)]=new Map(),this[_0x5e9967(0xeb)]=new Map(),this[_0x5e9967(0x129)]=new Map();const _0x1587f8=this[_0x5e9967(0x152)][_0x5e9967(0x113)];_0x1587f8[_0x5e9967(0x161)](_0x5e9967(0x16d),_0x1a7b3a),_0x1587f8[_0x5e9967(0x161)](_0x5e9967(0xf2),_0xdf7303),_0x1587f8[_0x5e9967(0x161)](_0x5e9967(0x11b),!0x1),this[_0x5e9967(0x14d)]=_0x1587f8[_0x5e9967(0xe8)](_0x5e9967(0x11b));}[_0x55959a(0xec)](_0x44e8c6,_0x2573f2){const _0x590a92=_0x55959a;0x0===this[_0x590a92(0x129)][_0x590a92(0xf9)]&&setTimeout(()=>{const _0x3c0534=_0x590a92;for(const [_0xe8621e,_0x19b234]of this[_0x3c0534(0x129)]){const _0x54e940=this[_0x3c0534(0x145)][_0x3c0534(0xf0)](_0xe8621e);_0x54e940||_0x19b234?_0x54e940&&_0x19b234&&this[_0x3c0534(0x115)](_0xe8621e):this[_0x3c0534(0xfb)](_0xe8621e);}this[_0x3c0534(0x129)][_0x3c0534(0x110)](),this[_0x3c0534(0x152)][_0x3c0534(0x11d)][_0x3c0534(0xe8)](_0x3c0534(0x142))[_0x3c0534(0x190)](),this[_0x3c0534(0x13a)]();},0xa),this[_0x590a92(0x129)][_0x590a92(0xff)](_0x44e8c6,_0x2573f2);}[_0x55959a(0x140)](){const _0x169d20=_0x55959a,_0x585723=this[_0x169d20(0x152)],_0x2b76fe=_0x585723[_0x169d20(0x11d)][_0x169d20(0xe8)](_0x169d20(0x134)),_0x408312=_0x585723[_0x169d20(0x11d)][_0x169d20(0xe8)](_0x169d20(0x18d)),_0x487f5a=_0x585723[_0x169d20(0x11d)][_0x169d20(0xe8)](_0x169d20(0x142)),_0x20886a=_0x585723[_0x169d20(0x11d)][_0x169d20(0xe8)](_0x169d20(0xf6));this[_0x169d20(0x15c)](),_0x487f5a[_0x169d20(0x112)](()=>{const _0x59f3a1=_0x169d20,_0x33fa5f=[];for(const [_0x1b1fd4,_0x426e22]of Array[_0x59f3a1(0x16e)](this[_0x59f3a1(0x145)])){const _0x5adeec=_0x1b1fd4[_0x59f3a1(0x14a)](),_0x586c5c=[];for(const _0x143415 of _0x5adeec){if(!_0x143415[_0x59f3a1(0x100)])continue;if(_0x143415[_0x59f3a1(0x132)]){_0x586c5c[_0x59f3a1(0x195)](..._0x143415[_0x59f3a1(0x15a)]());continue;}const _0x3a492a=_0x143415[_0x59f3a1(0x14c)]();if(_0x586c5c[_0x59f3a1(0x16a)]>0x0){const _0x1e756e=_0x586c5c[0x0][_0x59f3a1(0x11e)](_0x3a492a);if(_0x1e756e){_0x586c5c[0x0]=_0x1e756e;continue;}}_0x586c5c[_0x59f3a1(0x195)](_0x3a492a);}_0x33fa5f[_0x59f3a1(0x195)]([_0x426e22[_0x59f3a1(0x12b)],_0x586c5c]);}return _0x33fa5f;}),this[_0x169d20(0x10c)](_0x2b76fe,_0x169d20(0x168),(_0x3c0159,_0x10ef40)=>{const _0x9cddf3=_0x169d20;this[_0x9cddf3(0x10c)](_0x10ef40,_0x9cddf3(0xea),(_0x1432cb,_0x348819,_0x47db13,_0x48ca66)=>{const _0x4c5bd4=_0x9cddf3;_0x10ef40[_0x4c5bd4(0x100)]&&(null==_0x47db13?(this[_0x4c5bd4(0xfd)](_0x48ca66[_0x4c5bd4(0x14b)]),this[_0x4c5bd4(0xec)](_0x10ef40,!0x1)):(this[_0x4c5bd4(0xfd)](_0x47db13[_0x4c5bd4(0x14b)]),null==_0x48ca66&&this[_0x4c5bd4(0xec)](_0x10ef40,!0x0)));}),null!==_0x10ef40[_0x9cddf3(0x120)]?this[_0x9cddf3(0xfd)](_0x10ef40[_0x9cddf3(0x14b)]):this[_0x9cddf3(0xec)](_0x10ef40,!0x1);}),this[_0x169d20(0x10c)](_0x2b76fe,_0x169d20(0x196),(_0x30bd18,_0x6c5861,_0x1695e4)=>{const _0x3ace6d=_0x169d20;this[_0x3ace6d(0x148)](_0x6c5861,_0x3ace6d(0xea)),this[_0x3ace6d(0x129)][_0x3ace6d(0xfe)](_0x6c5861),this[_0x3ace6d(0x145)][_0x3ace6d(0xf0)](_0x6c5861)&&this[_0x3ace6d(0x115)](_0x6c5861),_0x1695e4&&this[_0x3ace6d(0xfd)](_0x1695e4[_0x3ace6d(0x14b)]);}),this[_0x169d20(0x10c)](_0x2b76fe,_0x169d20(0x164),(_0xc9eca,_0xc7c9d2)=>{const _0x519101=_0x169d20;this[_0x519101(0xfd)](_0xc7c9d2);}),this[_0x169d20(0x10c)](_0x408312,_0x169d20(0x144),()=>{const _0x2bb78b=_0x169d20;this[_0x2bb78b(0x13a)]();}),this[_0x169d20(0x10c)](_0x20886a,_0x169d20(0x18f),(_0x2088f5,{threadId:_0x1c3043,isFromAdapter:_0x100fa0})=>{const _0x5adc3c=_0x169d20;if(_0x100fa0||!_0x2b76fe[_0x5adc3c(0x114)](_0x1c3043))return;const _0x5c037e=_0x2b76fe[_0x5adc3c(0x153)](_0x1c3043);this[_0x5adc3c(0x145)][_0x5adc3c(0xe8)](_0x5c037e)[_0x5adc3c(0x12b)][_0x5adc3c(0x198)][_0x5adc3c(0x192)](-0x1);},{'priority':_0x169d20(0x178)}),this[_0x169d20(0x108)]=this[_0x169d20(0x152)][_0x169d20(0x113)][_0x169d20(0xe8)](_0x169d20(0x108));const _0x2e1cd9=this[_0x169d20(0x152)];this[_0x169d20(0x194)]=setInterval(()=>{const _0x582834=_0x169d20;let _0x21df87;for(const _0x3f308a in _0x2e1cd9){const _0x437c71=_0x3f308a,_0xa03ed9=_0x2e1cd9[_0x437c71];if(_0x582834(0x154)==_0xa03ed9||_0x582834(0x177)==_0xa03ed9||_0x582834(0x101)==_0xa03ed9||_0x582834(0x146)==_0xa03ed9||_0x582834(0x191)==_0xa03ed9||_0x582834(0x17c)==_0xa03ed9||_0x582834(0x12d)==_0xa03ed9){delete _0x2e1cd9[_0x437c71],_0x21df87=_0xa03ed9,clearInterval(this[_0x582834(0x194)]),this[_0x582834(0x194)]=void 0x0;break;}}_0x582834(0x177)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0x147)),_0x582834(0x101)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0x15b)),_0x582834(0x146)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0xfa)),_0x582834(0x191)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0x12c),_0x582834(0x127)),_0x582834(0x17c)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0x175)),_0x582834(0x12d)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0xee));},0x3e8);}[_0x55959a(0xe9)](_0xb8c337){const _0x3e5cf4=_0x55959a,_0x40dc96=this[_0x3e5cf4(0x145)][_0x3e5cf4(0xe8)](_0xb8c337);if(!_0x40dc96)return null;return this[_0x3e5cf4(0x152)][_0x3e5cf4(0x11d)][_0x3e5cf4(0xe8)](_0x3e5cf4(0x18d))[_0x3e5cf4(0x187)](_0x40dc96[_0x3e5cf4(0x12b)])||null;}[_0x55959a(0x155)](_0x312058){const _0x48e0b4=_0x55959a,_0x2f803d=this[_0x48e0b4(0x15f)][_0x48e0b4(0xe8)](_0x312058[_0x48e0b4(0xf7)]);return _0x2f803d?_0x2f803d[_0x48e0b4(0x169)]:null;}[_0x55959a(0x13a)](){const _0x10ca9a=_0x55959a,_0x450eff=this[_0x10ca9a(0x152)][_0x10ca9a(0x11d)][_0x10ca9a(0xe8)](_0x10ca9a(0x18d)),_0x39eeb3=this[_0x10ca9a(0x152)][_0x10ca9a(0x11d)][_0x10ca9a(0xe8)](_0x10ca9a(0x134)),_0x2c0005=Array[_0x10ca9a(0x16e)](_0x450eff[_0x10ca9a(0x116)],_0x52184e=>_0x52184e[_0x10ca9a(0xf7)])[_0x10ca9a(0x105)](_0xa0cc53=>this[_0x10ca9a(0x15f)][_0x10ca9a(0xf0)](_0xa0cc53)),_0x464ff9=[];for(const _0x7c0525 of _0x2c0005){const _0x46ff80=this[_0x10ca9a(0x15f)][_0x10ca9a(0xe8)](_0x7c0525)[_0x10ca9a(0x169)][_0x10ca9a(0x14a)]();_0x464ff9[_0x10ca9a(0x195)](..._0x46ff80[_0x10ca9a(0x12a)]((_0x50e6d9,_0x38352b)=>[..._0x50e6d9,..._0x38352b[_0x10ca9a(0x18b)]()],[]));}_0x39eeb3[_0x10ca9a(0x121)]=_0x464ff9;}[_0x55959a(0x15c)](){const _0x440947=_0x55959a,_0x3241bb=this[_0x440947(0x152)],_0x322be3=_0x3241bb[_0x440947(0x181)],_0x1b6d3c=_0x480642(_0x322be3,_0x440947(0x16c)),_0x3a35d7=new _0x1921f4([{'type':_0x440947(0x143),'model':new _0x23d8cb({'withText':!0x0,'isToggleable':!0x0,'label':_0x1b6d3c,'commandName':_0x440947(0xfc),'role':_0x440947(0x125)})},{'type':_0x440947(0xf4)},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0x189)),'commandName':_0x440947(0x183),'role':_0x440947(0x17f)})},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0x109)),'commandName':_0x440947(0x188),'role':_0x440947(0x17f)})},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0xed)),'commandName':_0x440947(0x163),'role':_0x440947(0x17f)})},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0xf5)),'commandName':_0x440947(0x13d),'role':_0x440947(0x17f)})}]);_0x3241bb[_0x440947(0x11d)][_0x440947(0xf0)](_0x440947(0x10b))&&_0x3a35d7[_0x440947(0x103)]([{'type':_0x440947(0xf4)},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0x13c)),'commandName':_0x440947(0x18a),'role':_0x440947(0x17f)})}]);for(const _0x4f000b of _0x3a35d7)if(ke(_0x4f000b)){const _0x15e55d=_0x3241bb[_0x440947(0x166)][_0x440947(0xe8)](_0x4f000b[_0x440947(0x169)][_0x440947(0x17d)]);_0x4f000b[_0x440947(0x169)][_0x440947(0x174)](_0x440947(0x16b),_0x440947(0x172))['to'](_0x15e55d,_0x440947(0x156),_0x440947(0x172));}_0x3241bb['ui'][_0x440947(0x149)][_0x440947(0x135)](_0x440947(0xfc),_0x3be0a1=>this[_0x440947(0x158)](_0x3be0a1,_0x3a35d7,_0x1b6d3c)),_0x3241bb['ui'][_0x440947(0x149)][_0x440947(0x135)](_0x440947(0xef),_0x4c64df=>this[_0x440947(0x117)](_0x4c64df,_0x3a35d7,_0x1b6d3c));}[_0x55959a(0x158)](_0x3afea7,_0x2cff2d,_0x4bfb78){const _0x54fe6f=_0x55959a,_0x4c6c6f=_0xab2a17(_0x3afea7,_0x2a7515),_0x405407=this[_0x54fe6f(0x152)][_0x54fe6f(0x166)][_0x54fe6f(0xe8)](_0x54fe6f(0xfc));_0x4c6c6f[_0x54fe6f(0x15d)][_0x54fe6f(0xff)]({'tooltip':_0x4bfb78,'label':_0x4bfb78,'icon':_0x13fece}),_0x4c6c6f[_0x54fe6f(0x15d)][_0x54fe6f(0x174)](_0x54fe6f(0x16b))['to'](_0x405407,_0x54fe6f(0x156)),_0x4c6c6f[_0x54fe6f(0x15d)]['on'](_0x54fe6f(0x128),()=>{const _0x5bdac8=_0x54fe6f;_0x405407[_0x5bdac8(0x128)](),this[_0x5bdac8(0x152)][_0x5bdac8(0x171)][_0x5bdac8(0x12b)][_0x5bdac8(0x192)]();}),_0x1b0f08(_0x4c6c6f,_0x2cff2d,{'role':_0x54fe6f(0x14f)});const _0x2c956b=[];for(const _0x41d89a of _0x2cff2d)ke(_0x41d89a)&&_0x2c956b[_0x54fe6f(0x195)](this[_0x54fe6f(0x152)][_0x54fe6f(0x166)][_0x54fe6f(0xe8)](_0x41d89a[_0x54fe6f(0x169)][_0x54fe6f(0x17d)]));const _0x2bbe65=_0x4c6c6f[_0x54fe6f(0x15d)];return _0x2bbe65[_0x54fe6f(0x197)][_0x54fe6f(0x151)](_0x54fe6f(0x172)),_0x2bbe65[_0x54fe6f(0x15e)][_0x54fe6f(0x151)](_0x54fe6f(0x172)),_0x2bbe65[_0x54fe6f(0x197)][_0x54fe6f(0x174)](_0x54fe6f(0x172))['to'](_0x405407,_0x54fe6f(0x172)),_0x2bbe65[_0x54fe6f(0x15e)][_0x54fe6f(0x174)](_0x54fe6f(0x172))[_0x54fe6f(0x186)](_0x2c956b,_0x54fe6f(0x172),(..._0xe528e1)=>_0xe528e1[_0x54fe6f(0x118)](_0x4d0145=>_0x4d0145)),_0x4c6c6f['on'](_0x54fe6f(0x128),_0x3b22c9=>{const _0x432465=_0x54fe6f;this[_0x432465(0x152)][_0x432465(0x128)](_0x3b22c9[_0x432465(0xf3)][_0x432465(0x17d)]),this[_0x432465(0x152)][_0x432465(0x171)][_0x432465(0x12b)][_0x432465(0x192)]();}),_0x4c6c6f;}[_0x55959a(0x117)](_0x3af576,_0x2884b2,_0x1c1b47){const _0x3247ea=_0x55959a,_0x951d51=new _0x3d2921(_0x3af576),_0x24b021=this[_0x3247ea(0x152)][_0x3247ea(0x166)][_0x3247ea(0xe8)](_0x3247ea(0xfc));_0x951d51[_0x3247ea(0x15d)][_0x3247ea(0xff)]({'label':_0x1c1b47,'icon':_0x13fece});const _0x5d0aff=new _0x5eee77(_0x3af576);for(const _0x512839 of _0x2884b2){if(_0x3247ea(0xf4)==_0x512839[_0x3247ea(0x165)]){_0x5d0aff[_0x3247ea(0x124)][_0x3247ea(0x135)](new _0x4631aa(_0x3af576));continue;}const _0x3dcbb3=new _0x105c72(_0x3af576,_0x951d51),_0x3fab5d=new _0x49b23b(_0x3af576),_0x27e0b8=_0x512839[_0x3247ea(0x169)];_0x3fab5d[_0x3247ea(0x174)](...Object[_0x3247ea(0x106)](_0x27e0b8))['to'](_0x27e0b8),_0x3fab5d[_0x3247ea(0x11f)](_0x3247ea(0x128))['to'](_0x951d51),_0x3fab5d['on'](_0x3247ea(0x128),()=>{const _0x2bb8ef=_0x3247ea;this[_0x2bb8ef(0x152)][_0x2bb8ef(0x128)](_0x27e0b8[_0x2bb8ef(0x17d)]),this[_0x2bb8ef(0x152)][_0x2bb8ef(0x171)][_0x2bb8ef(0x12b)][_0x2bb8ef(0x192)]();}),_0x3dcbb3[_0x3247ea(0x104)][_0x3247ea(0x135)](_0x3fab5d),_0x5d0aff[_0x3247ea(0x124)][_0x3247ea(0x135)](_0x3dcbb3);}return _0x951d51[_0x3247ea(0x174)](_0x3247ea(0x172))['to'](_0x24b021,_0x3247ea(0x172)),_0x951d51[_0x3247ea(0x123)][_0x3247ea(0x104)][_0x3247ea(0x135)](_0x5d0aff),_0x951d51;}[_0x55959a(0xfb)](_0x275a98){const _0xc81f92=_0x55959a,_0x2d7cce=this[_0xc81f92(0x152)],_0x5be8bd=_0x2d7cce[_0xc81f92(0x113)],_0x22a39d=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0x18d)),_0x455ae9=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0xf6)),_0x1579e1=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0x142)),_0x276c7b=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0x555e62)['me'],_0x37d2e4=_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0xfc))[_0xc81f92(0x122)],_0x30e080=_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0xfc))[_0xc81f92(0x138)],{CommentsListView:_0x4f2e7b,CommentThreadInputView:_0x2a9507}=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0x136));let _0x3c65b9,_0x55e68a,_0x47d0c8;this[_0xc81f92(0xeb)][_0xc81f92(0xf0)](_0x275a98['id'])?(_0x55e68a=this[_0xc81f92(0xeb)][_0xc81f92(0xe8)](_0x275a98['id']),_0x3c65b9=_0x55e68a[_0xc81f92(0x137)]):(_0x3c65b9=new _0x37d2e4(_0x2d7cce[_0xc81f92(0x181)],_0x275a98,_0x276c7b,{'disableComments':this[_0xc81f92(0x14d)],'editorConfig':{..._0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x13f)),'licenseKey':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x108))},'maxCommentsWhenCollapsed':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x141)),'maxThreadTotalWeight':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x10f)),'maxCommentCharsWhenCollapsed':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x13b)),'formatDateTime':_0x335755(_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x181)),_0x2d7cce[_0xc81f92(0x181)]),'CommentView':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x119))[_0xc81f92(0x184)],'CommentsListView':_0x4f2e7b,'CommentThreadInputView':_0x2a9507,'SuggestionView':_0x30e080}),_0x3c65b9[_0xc81f92(0x157)][_0xc81f92(0x17b)]['on'](_0xc81f92(0x128),()=>{const _0x5c66a2=_0xc81f92;_0x2d7cce[_0x5c66a2(0x171)][_0x5c66a2(0x12b)][_0x5c66a2(0x192)]();}),_0x3c65b9[_0xc81f92(0x157)][_0xc81f92(0x182)]['on'](_0xc81f92(0x128),()=>{const _0xba3190=_0xc81f92;_0x2d7cce[_0xba3190(0x171)][_0xba3190(0x12b)][_0xba3190(0x192)]();}),_0x55e68a=_0x22a39d[_0xc81f92(0x176)](this[_0xc81f92(0x152)][_0xc81f92(0x181)],_0x3c65b9),_0x55e68a[_0xc81f92(0x174)](_0xc81f92(0x16f))['to'](_0x3c65b9,_0xc81f92(0x16f)),_0x55e68a[_0xc81f92(0x174)](_0xc81f92(0x16a))['to'](_0x3c65b9),_0x55e68a[_0xc81f92(0x174)](_0xc81f92(0x165))['to'](_0x3c65b9,_0xc81f92(0x165),_0x31fc76=>_0xc81f92(0x131)+_0x31fc76),_0x3c65b9['on'](_0xc81f92(0x150),()=>{const _0x29ee7f=_0xc81f92;_0x47d0c8[_0x29ee7f(0x14e)](_0x29ee7f(0x150));}),this[_0xc81f92(0xeb)][_0xc81f92(0xff)](_0x275a98['id'],_0x55e68a));const _0x1b3aa2=_0x455ae9[_0xc81f92(0x185)](_0x275a98[_0xc81f92(0x107)],_0x3c65b9),_0x1554e5=new _0x421613(_0x2d7cce,_0x275a98,_0x3c65b9,_0x1b3aa2),_0x3c715d=_0x275a98[_0xc81f92(0x14a)]()[_0xc81f92(0x105)](_0x3fee42=>_0x3fee42[_0xc81f92(0x100)]);_0x3c65b9[_0xc81f92(0x10e)]=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0x134))[_0xc81f92(0x160)][_0xc81f92(0x159)](_0x3c715d),this[_0xc81f92(0x145)][_0xc81f92(0xff)](_0x275a98,_0x1554e5),this[_0xc81f92(0x15f)][_0xc81f92(0xff)](_0x3c65b9,_0x1554e5);const _0x331f3f=()=>{const _0x363695=_0xc81f92,_0x11aa31=[],_0x3f36b1=_0x275a98[_0x363695(0x14a)]()[_0x363695(0x105)](_0x4c166a=>_0x4c166a[_0x363695(0x100)]);for(const _0x473159 of _0x3f36b1)_0x11aa31[_0x363695(0x195)](..._0x473159[_0x363695(0x111)]());return _0x2086eb(_0x2d7cce[_0x363695(0x171)],_0x11aa31);};_0x47d0c8=_0x22a39d[_0xc81f92(0x130)]({'view':_0x55e68a,'target':_0x331f3f,'type':()=>_0xc81f92(0x131)+_0x1554e5[_0xc81f92(0x12b)][_0xc81f92(0x165)],'isVisible':!!_0x331f3f()}),_0x455ae9[_0xc81f92(0x167)](_0x3c65b9,_0x47d0c8),_0x22a39d[_0xc81f92(0x135)](_0x47d0c8),_0x1579e1[_0xc81f92(0x173)](_0x47d0c8);}[_0x55959a(0x115)](_0x256941){const _0x13085b=_0x55959a,_0x293d88=this[_0x13085b(0x152)][_0x13085b(0x11d)][_0x13085b(0xe8)](_0x13085b(0xf6)),_0x3b3c88=this[_0x13085b(0x152)][_0x13085b(0x11d)][_0x13085b(0xe8)](_0x13085b(0x18d)),_0x2b697d=this[_0x13085b(0x145)][_0x13085b(0xe8)](_0x256941),_0x29a2cd=_0x2b697d[_0x13085b(0x12b)],_0x201f2c=_0x3b3c88[_0x13085b(0x187)](_0x29a2cd);_0x293d88[_0x13085b(0x10d)](_0x29a2cd),_0x201f2c&&_0x3b3c88[_0x13085b(0x11c)](_0x201f2c),this[_0x13085b(0x145)][_0x13085b(0xfe)](_0x256941),this[_0x13085b(0x15f)][_0x13085b(0xfe)](_0x29a2cd),_0x2b697d[_0x13085b(0x10a)]();}[_0x55959a(0xfd)](_0x3bdbb9){const _0xf0099=_0x55959a;if(!_0x3bdbb9[_0xf0099(0x100)]||!this[_0xf0099(0x145)][_0xf0099(0xf0)](_0x3bdbb9))return;const _0x4a0a2b=this[_0xf0099(0x152)][_0xf0099(0x11d)][_0xf0099(0xe8)](_0xf0099(0x134)),_0x35655c=this[_0xf0099(0x145)][_0xf0099(0xe8)](_0x3bdbb9),_0x53fd8c=_0x3bdbb9[_0xf0099(0x14a)]();_0x35655c[_0xf0099(0x12b)][_0xf0099(0x10e)]=_0x4a0a2b[_0xf0099(0x160)][_0xf0099(0x159)](_0x53fd8c);}[_0x55959a(0x10a)](){const _0x28030d=_0x55959a;for(const _0x2c694b of this[_0x28030d(0x145)][_0x28030d(0x106)]())this[_0x28030d(0x115)](_0x2c694b);for(const _0x50a3dd of this[_0x28030d(0xeb)][_0x28030d(0xf8)]())_0x50a3dd[_0x28030d(0x137)][_0x28030d(0x10a)]();super[_0x28030d(0x10a)](),this[_0x28030d(0x194)]&&clearInterval(this[_0x28030d(0x194)]);}}function ke(_0x44ab2e){const _0x21f22f=_0x55959a;return _0x21f22f(0x169)in _0x44ab2e;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x716803=_0x6e1b;(function(_0x9f2cde,_0x513bd0){const _0x351f5a=_0x6e1b,_0x13400b=_0x9f2cde();while(!![]){try{const _0x410270=parseInt(_0x351f5a(0x128))/0x1*(-parseInt(_0x351f5a(0x12b))/0x2)+-parseInt(_0x351f5a(0x141))/0x3*(-parseInt(_0x351f5a(0x13f))/0x4)+-parseInt(_0x351f5a(0x131))/0x5+parseInt(_0x351f5a(0x11e))/0x6*(-parseInt(_0x351f5a(0x12a))/0x7)+parseInt(_0x351f5a(0x144))/0x8+parseInt(_0x351f5a(0x11c))/0x9+-parseInt(_0x351f5a(0x134))/0xa;if(_0x410270===_0x513bd0)break;else _0x13400b['push'](_0x13400b['shift']());}catch(_0x8aac67){_0x13400b['push'](_0x13400b['shift']());}}}(_0x187f,0x7477d));import{ObservableMixin as _0x13064e}from'ckeditor5/src/utils.js';import{getTranslation as _0xf3552b}from'../utils/common-translations.js';function _0x6e1b(_0x31763b,_0x382609){const _0x187fe2=_0x187f();return _0x6e1b=function(_0x6e1b8,_0x3919e8){_0x6e1b8=_0x6e1b8-0x11c;let _0x308882=_0x187fe2[_0x6e1b8];return _0x308882;},_0x6e1b(_0x31763b,_0x382609);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x13064e(){[_0x716803(0x139)];[_0x716803(0x140)];[_0x716803(0x129)];[_0x716803(0x135)];[_0x716803(0x12f)];[_0x716803(0x127)];[_0x716803(0x138)];constructor(_0x3761df,_0xb8f217,_0x4ed4b7,_0x388b33){const _0x20c193=_0x716803;super(),this[_0x20c193(0x139)]=_0xb8f217,this[_0x20c193(0x140)]=_0x4ed4b7,this[_0x20c193(0x129)]=_0x388b33,this[_0x20c193(0x135)]=_0x3761df,this[_0x20c193(0x12f)]=_0x3761df[_0x20c193(0x123)][_0x20c193(0x12c)](_0x20c193(0x13a)),this[_0x20c193(0x127)]=_0x3761df[_0x20c193(0x123)][_0x20c193(0x12c)](_0x20c193(0x13b)),this[_0x20c193(0x140)][_0x20c193(0x13d)](_0x20c193(0x130))['to'](this[_0x20c193(0x12f)],this[_0x20c193(0x127)],(_0x2be74a,_0x33fb1a)=>_0x2be74a||_0x33fb1a),this[_0x20c193(0x140)][_0x20c193(0x13d)](_0x20c193(0x122))['to'](this[_0x20c193(0x12f)],_0x20c193(0x130),_0x19feb4=>_0x19feb4&&this[_0x20c193(0x135)][_0x20c193(0x139)][_0x20c193(0x133)](_0xb8f217[_0x20c193(0x13c)]())),this[_0x20c193(0x140)][_0x20c193(0x13d)](_0x20c193(0x121))['to'](this[_0x20c193(0x127)],_0x20c193(0x130),_0x204d03=>_0x204d03&&this[_0x20c193(0x135)][_0x20c193(0x139)][_0x20c193(0x133)](_0xb8f217[_0x20c193(0x13c)]())),this[_0x20c193(0x138)]=null,_0x4ed4b7[_0x20c193(0x126)]&&this[_0x20c193(0x125)](),this[_0x20c193(0x13e)](_0x4ed4b7,_0x20c193(0x13a),()=>this[_0x20c193(0x13a)]()),this[_0x20c193(0x13e)](_0x4ed4b7,_0x20c193(0x13b),()=>this[_0x20c193(0x13b)]()),this[_0x20c193(0x13e)](_0x4ed4b7,_0x20c193(0x142),()=>{const _0x20ec16=_0x20c193;_0x4ed4b7[_0x20ec16(0x126)]?this[_0x20ec16(0x125)]():this[_0x20ec16(0x11f)]();});}[_0x716803(0x13a)](){const _0x5129f4=_0x716803;this[_0x5129f4(0x12f)][_0x5129f4(0x137)](this[_0x5129f4(0x139)]['id']);}[_0x716803(0x13b)](){const _0xc7bc1c=_0x716803;this[_0xc7bc1c(0x127)][_0xc7bc1c(0x137)](this[_0xc7bc1c(0x139)]['id']);}[_0x716803(0x143)](){const _0x57277f=_0x716803;this[_0x57277f(0x140)][_0x57277f(0x124)](_0x57277f(0x130)),this[_0x57277f(0x140)][_0x57277f(0x124)](_0x57277f(0x122)),this[_0x57277f(0x140)][_0x57277f(0x124)](_0x57277f(0x121)),this[_0x57277f(0x11d)](),this[_0x57277f(0x129)][_0x57277f(0x143)](),this[_0x57277f(0x138)]&&this[_0x57277f(0x11f)]();}[_0x716803(0x125)](){const _0x261bdb=_0x716803,_0xe85977=_0xf3552b(this[_0x261bdb(0x135)][_0x261bdb(0x12d)],_0x261bdb(0x132));this[_0x261bdb(0x138)]=this[_0x261bdb(0x135)][_0x261bdb(0x145)][_0x261bdb(0x12c)](_0x261bdb(0x136))[_0x261bdb(0x12e)](_0xe85977);}[_0x716803(0x11f)](){const _0x378e65=_0x716803;null!==this[_0x378e65(0x138)]&&this[_0x378e65(0x135)][_0x378e65(0x145)][_0x378e65(0x12c)](_0x378e65(0x136))[_0x378e65(0x120)](this[_0x378e65(0x138)]),this[_0x378e65(0x138)]=null;}}function _0x187f(){const _0x2e8ee3=['2ecctrn','get','locale','add','_acceptCommand','isEnabled','547180XzDOon','PENDING_ACTION_SUGGESTION','canEditAt','5330480hXdISV','_editor','PendingActions','execute','_pendingAction','model','acceptSuggestion','discardSuggestion','getRanges','bind','listenTo','660936LvbCVm','view','6ObdEKS','change:isDirty','destroy','1381120TieMRZ','plugins','8510859jKibzU','stopListening','1826802xksEof','_removePendingAction','remove','canDiscard','canAccept','commands','unbind','_setPendingAction','isDirty','_discardCommand','24755MnmbMR','commentThreadController','7pWcvpk'];_0x187f=function(){return _0x2e8ee3;};return _0x187f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bcc83=_0x3824;function _0x3824(_0xbf5a04,_0x2d4848){const _0x105413=_0x1054();return _0x3824=function(_0x3824a7,_0x19ab94){_0x3824a7=_0x3824a7-0x71;let _0x334c44=_0x105413[_0x3824a7];return _0x334c44;},_0x3824(_0xbf5a04,_0x2d4848);}(function(_0x454ced,_0x1d9d30){const _0x2f4c71=_0x3824,_0xfdff7a=_0x454ced();while(!![]){try{const _0x109743=-parseInt(_0x2f4c71(0xa5))/0x1*(parseInt(_0x2f4c71(0x91))/0x2)+-parseInt(_0x2f4c71(0x79))/0x3*(-parseInt(_0x2f4c71(0x95))/0x4)+-parseInt(_0x2f4c71(0x89))/0x5+parseInt(_0x2f4c71(0xa8))/0x6+-parseInt(_0x2f4c71(0x9c))/0x7*(-parseInt(_0x2f4c71(0xac))/0x8)+parseInt(_0x2f4c71(0x73))/0x9+-parseInt(_0x2f4c71(0x75))/0xa*(-parseInt(_0x2f4c71(0xb4))/0xb);if(_0x109743===_0x1d9d30)break;else _0xfdff7a['push'](_0xfdff7a['shift']());}catch(_0x3f18d5){_0xfdff7a['push'](_0xfdff7a['shift']());}}}(_0x1054,0xc3376));import{FocusCycler as _0x28ccc8,View as _0x1eb769,ViewCollection as _0x598285}from'ckeditor5/src/ui.js';function _0x1054(){const _0x38c5f0=['ariaLabel','focusables','SUGGESTION_THREAD_DESCRIPTION','SUGGESTION_THREAD_ARIA_LABEL','721649VdGDcm','formatDateTime','commentsListView','8641362hTKJyN','author','canDiscard','destroy','14696KzAPVQ','tab','editorConfig','commentThread','addComment','focusTracker','isActive','setData','129833eEfRkl','join','bind','name','content','fire','render','commentThreadInputView','hasDirtyComment','1889946FlRgAW','cancel','530cFrePY','authoredAt','body','disableComments','15603KOvqgE','shift+tab','value','_config','editor','updateComment','locale','assign','_createCommentViews','showInput','_localUser','descriptionParts','delegate','element','ariaDescriptionView','removeComment','4508310byVQBC','disabledSubmit','isEnabled','keystrokes','length','isDirty','textContent','submit','4UVcbTu','target','canAccept','CommentView','120fMDhlx','set','text/html','_createCommentThreadInputView','parseFromString','focusCycler','focus','2716mKIWRJ','map','commentInputView','_model','isReadOnly'];_0x1054=function(){return _0x38c5f0;};return _0x1054();}import{FocusTracker as _0x20ae3d,KeystrokeHandler as _0x4550a8}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x428317,setupThreadKeyboardNavigation as _0x4687eb}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x24549d}from'../../utils/common-translations.js';import{renderDescription as _0x174c3e}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x1eb769{[_0x3bcc83(0xa7)];[_0x3bcc83(0x71)];[_0x3bcc83(0x87)];[_0x3bcc83(0xa2)];[_0x3bcc83(0xb1)];[_0x3bcc83(0x8c)];[_0x3bcc83(0x9a)];[_0x3bcc83(0x9f)];[_0x3bcc83(0x83)];[_0x3bcc83(0x7c)];constructor(_0x12781e,_0x2f3309,_0x1d0abc,_0x596923){const _0x3c62c0=_0x3bcc83;super(_0x12781e),this[_0x3c62c0(0xa7)]=null,this[_0x3c62c0(0x71)]=null,this[_0x3c62c0(0x87)]=new _0x428317(_0x12781e,_0x24549d(_0x12781e,_0x3c62c0(0xa3))),this[_0x3c62c0(0x96)](_0x3c62c0(0xb2),!0x1),this[_0x3c62c0(0x96)](_0x3c62c0(0x76),_0x2f3309[_0x3c62c0(0x76)]),this[_0x3c62c0(0xb6)](_0x3c62c0(0x76))['to'](_0x2f3309),this[_0x3c62c0(0x96)](_0x3c62c0(0x84),[]),this[_0x3c62c0(0x96)](_0x3c62c0(0x8e),!0x1),this[_0x3c62c0(0x96)](_0x3c62c0(0x8b),!0x1),this[_0x3c62c0(0x96)](_0x3c62c0(0x93),!0x1),this[_0x3c62c0(0x96)](_0x3c62c0(0xaa),!0x1),this[_0x3c62c0(0xb6)](_0x3c62c0(0xa1))['to'](this,_0x3c62c0(0x8d),_0x2f3309,_0x3c62c0(0x76),this,_0x3c62c0(0x84),(_0x5fa079,_0x14fa91,_0x283e11)=>{const _0x5a18f2=_0x3c62c0,_0xadcb14=_0x283e11[_0x5a18f2(0x9d)](_0x59ad6f=>_0x174c3e(_0x59ad6f[_0x5a18f2(0xb8)]))[_0x5a18f2(0xb5)]('.\x20')+'.';return _0x24549d(this[_0x5a18f2(0x7f)],_0x5a18f2(0xa4),[_0x5fa079-0x1,_0x2f3309[_0x5a18f2(0xa9)][_0x5a18f2(0xb7)],_0x14fa91?_0x596923[_0x5a18f2(0xa6)](_0x14fa91):'',new DOMParser()[_0x5a18f2(0x99)](_0xadcb14,_0x5a18f2(0x97))[_0x5a18f2(0x77)][_0x5a18f2(0x8f)]]);}),this[_0x3c62c0(0xa2)]=new _0x598285(),this[_0x3c62c0(0xb1)]=new _0x20ae3d(),this[_0x3c62c0(0x8c)]=new _0x4550a8(),this[_0x3c62c0(0x9a)]=new _0x28ccc8({'focusables':this[_0x3c62c0(0xa2)],'focusTracker':this[_0x3c62c0(0xb1)],'keystrokeHandler':this[_0x3c62c0(0x8c)],'keystrokeHandlerOptions':{'filter':_0x13c621=>_0x13c621[_0x3c62c0(0x92)]!==this[_0x3c62c0(0x86)]},'actions':{'focusPrevious':_0x3c62c0(0x7a),'focusNext':_0x3c62c0(0xad)}}),this[_0x3c62c0(0x9f)]=_0x2f3309,this[_0x3c62c0(0x83)]=_0x1d0abc,this[_0x3c62c0(0x7c)]=_0x596923,_0x596923[_0x3c62c0(0x78)]?this[_0x3c62c0(0x96)](_0x3c62c0(0x8d),0x1):this[_0x3c62c0(0x81)]();}[_0x3bcc83(0xba)](){const _0x230ed8=_0x3bcc83;super[_0x230ed8(0xba)](),_0x4687eb(this,this[_0x230ed8(0xa2)]);}[_0x3bcc83(0x9b)](){const _0x525d89=_0x3bcc83;this[_0x525d89(0x86)][_0x525d89(0x9b)]();}[_0x3bcc83(0xab)](){const _0x516e78=_0x3bcc83;this[_0x516e78(0xa7)]&&this[_0x516e78(0xa7)][_0x516e78(0xab)](),this[_0x516e78(0x71)]&&this[_0x516e78(0x71)][_0x516e78(0xab)](),super[_0x516e78(0xab)]();}[_0x3bcc83(0x81)](){const _0x2bfbf1=_0x3bcc83,{CommentsListView:_0x3e21e9}=this[_0x2bfbf1(0x7c)];this[_0x2bfbf1(0xa7)]=new _0x3e21e9(this[_0x2bfbf1(0x7f)],this[_0x2bfbf1(0x9f)][_0x2bfbf1(0xaf)],Object[_0x2bfbf1(0x80)]({'CommentView':this[_0x2bfbf1(0x7c)][_0x2bfbf1(0x94)]},this[_0x2bfbf1(0x7c)])),this[_0x2bfbf1(0xa7)][_0x2bfbf1(0x85)](_0x2bfbf1(0x88))['to'](this),this[_0x2bfbf1(0xa7)][_0x2bfbf1(0x85)](_0x2bfbf1(0x7e))['to'](this),this[_0x2bfbf1(0xa7)][_0x2bfbf1(0xb6)](_0x2bfbf1(0xb2))['to'](this),this[_0x2bfbf1(0x96)](_0x2bfbf1(0x8d),this[_0x2bfbf1(0xa7)][_0x2bfbf1(0x8d)]+0x1),this[_0x2bfbf1(0xb6)](_0x2bfbf1(0x8d))['to'](this[_0x2bfbf1(0xa7)],_0x2bfbf1(0x8d),_0x2703b2=>_0x2703b2+0x1),this[_0x2bfbf1(0x71)]=this[_0x2bfbf1(0x98)](),this['on'](_0x2bfbf1(0x88),()=>this[_0x2bfbf1(0x9b)]()),this[_0x2bfbf1(0xb6)](_0x2bfbf1(0x8e))['to'](this[_0x2bfbf1(0xa7)],_0x2bfbf1(0x72),this[_0x2bfbf1(0x71)][_0x2bfbf1(0x9e)],_0x2bfbf1(0x7b),(_0x389d8e,_0x506a52)=>_0x389d8e||!!_0x506a52);}[_0x3bcc83(0x98)](){const _0x4e2a0d=_0x3bcc83,{CommentThreadInputView:_0x373648}=this[_0x4e2a0d(0x7c)],_0x3f237d=new _0x373648(this[_0x4e2a0d(0x7f)],this[_0x4e2a0d(0x83)],this[_0x4e2a0d(0x7c)][_0x4e2a0d(0xae)]),_0x509e8a=_0x3f237d[_0x4e2a0d(0x9e)];return _0x3f237d[_0x4e2a0d(0xb6)](_0x4e2a0d(0x82))['to'](this,_0x4e2a0d(0xb2),this[_0x4e2a0d(0x9f)][_0x4e2a0d(0xaf)],_0x4e2a0d(0xa0),_0x509e8a,_0x4e2a0d(0x7b),(_0x1d8c08,_0x9c360b,_0x5d140c)=>!!_0x5d140c||_0x1d8c08&&!_0x9c360b),_0x509e8a['on'](_0x4e2a0d(0x90),(_0x4a55a3,_0x1318e5)=>{const _0x3cb28e=_0x4e2a0d;this[_0x3cb28e(0xb9)](_0x3cb28e(0xb0),_0x1318e5),_0x509e8a[_0x3cb28e(0x7d)][_0x3cb28e(0xb3)]('');}),_0x509e8a['on'](_0x4e2a0d(0x74),()=>this[_0x4e2a0d(0x9b)]()),_0x509e8a[_0x4e2a0d(0xb6)](_0x4e2a0d(0x8a))['to'](this[_0x4e2a0d(0x9f)][_0x4e2a0d(0xaf)],_0x4e2a0d(0xa0)),_0x3f237d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x140457=_0x16d0;(function(_0x412b13,_0x4f6897){const _0x47e177=_0x16d0,_0x1e281d=_0x412b13();while(!![]){try{const _0x3a49c3=-parseInt(_0x47e177(0x1d2))/0x1+parseInt(_0x47e177(0x1d1))/0x2+-parseInt(_0x47e177(0x1bb))/0x3*(parseInt(_0x47e177(0x1dd))/0x4)+-parseInt(_0x47e177(0x1e4))/0x5*(-parseInt(_0x47e177(0x1ce))/0x6)+parseInt(_0x47e177(0x1bf))/0x7+-parseInt(_0x47e177(0x1e3))/0x8+parseInt(_0x47e177(0x1c8))/0x9;if(_0x3a49c3===_0x4f6897)break;else _0x1e281d['push'](_0x1e281d['shift']());}catch(_0x3cbb74){_0x1e281d['push'](_0x1e281d['shift']());}}}(_0x5203,0x1deea));import{BaseSuggestionThreadView as _0x139283}from'./basesuggestionthreadview.js';import{trimHtml as _0x42d8aa}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x16d0(_0xda7d6c,_0x55fb3d){const _0x5203d2=_0x5203();return _0x16d0=function(_0x16d0af,_0x3b912b){_0x16d0af=_0x16d0af-0x1b2;let _0x3740e8=_0x5203d2[_0x16d0af];return _0x3740e8;},_0x16d0(_0xda7d6c,_0x55fb3d);}function _0x5203(){const _0x26d882=['push','ariaDescriptionView','commentThreadInputView','ck-suggestion--disabled-comments','formatDateTime','focusables','165188DYKQDb','discardSuggestion','render','acceptSuggestion','setTemplate','descriptionParts','251256woaHBV','50335xHVZEG','set','_descriptionElement','ariaLabel','suggestionView','div','ck-rounded-corners','color','canAccept','_model','editorReady','editorDestroyed','disableComments','getTemplate','isActive','12IDMbbD','delegate','add','bind','453439LJOoDG','commentsListView','discardButton','<p>','type','_config','ck-suggestion-','author','ck-suggestion-wrapper--active','2726145CJKuMp','isEnabled','ck-suggestion-wrapper','acceptButton','bindTemplate','content','12SJrCgl','canDiscard','description','341064uDBjnC','239151WWGzDr','commentThread','SuggestionView','listitem','</p>'];_0x5203=function(){return _0x26d882;};return _0x5203();}import{renderDescription as _0x4095c8}from'../../utils/utils.js';export class SuggestionThreadView extends _0x139283{[_0x140457(0x1e8)];[_0x140457(0x1e6)];constructor(_0x332579,_0x46b225,_0x25ed3c,_0x483006){const _0x444edc=_0x140457;super(_0x332579,_0x46b225,_0x25ed3c,_0x483006),this[_0x444edc(0x1e5)](_0x444edc(0x1c3),''),this[_0x444edc(0x1be)](_0x444edc(0x1c3))['to'](this,_0x444edc(0x1e2),_0x405c23=>_0x405c23&&_0x405c23[0x0]?_0x405c23[0x0][_0x444edc(0x1c3)]:''),this[_0x444edc(0x1be)](_0x444edc(0x1d0))['to'](this,_0x444edc(0x1e2),this,_0x444edc(0x1ba),(_0xe45766,_0x13eb01)=>{const _0xc1caf6=_0x444edc;let _0x1feb4b='';for(const _0x4dd115 of _0xe45766)_0x1feb4b+=_0xc1caf6(0x1c2)+_0x4095c8(_0x4dd115[_0xc1caf6(0x1cd)],_0x4dd115[_0xc1caf6(0x1b3)])+_0xc1caf6(0x1d6);return _0x13eb01?_0x1feb4b:_0x42d8aa(_0x1feb4b,{'limit':0x8c});}),this[_0x444edc(0x1e6)]=null,this[_0x444edc(0x1e8)]=new _0x483006[(_0x444edc(0x1d4))](_0x332579,_0x46b225,{'formatDateTime':_0x483006[_0x444edc(0x1db)]}),this[_0x444edc(0x1e8)][_0x444edc(0x1be)](_0x444edc(0x1d0))['to'](this),this[_0x444edc(0x1e8)][_0x444edc(0x1bc)](_0x444edc(0x1e0),_0x444edc(0x1de))['to'](this),this[_0x444edc(0x1e8)][_0x444edc(0x1cb)][_0x444edc(0x1be)](_0x444edc(0x1c9))['to'](this,_0x444edc(0x1b4)),this[_0x444edc(0x1e8)][_0x444edc(0x1c1)][_0x444edc(0x1be)](_0x444edc(0x1c9))['to'](this,_0x444edc(0x1cf)),this[_0x444edc(0x1dc)][_0x444edc(0x1bd)](this[_0x444edc(0x1e8)]),this[_0x444edc(0x1c0)]&&this[_0x444edc(0x1dc)][_0x444edc(0x1bd)](this[_0x444edc(0x1c0)]),this[_0x444edc(0x1d9)]&&this[_0x444edc(0x1dc)][_0x444edc(0x1bd)](this[_0x444edc(0x1d9)]),this[_0x444edc(0x1e1)](this[_0x444edc(0x1b9)]());}[_0x140457(0x1b9)](){const _0x348b81=_0x140457,_0x53dfce=this[_0x348b81(0x1cc)],_0x504f9c=[this[_0x348b81(0x1e8)]];return this[_0x348b81(0x1c0)]&&_0x504f9c[_0x348b81(0x1d7)](this[_0x348b81(0x1c0)]),this[_0x348b81(0x1d9)]&&_0x504f9c[_0x348b81(0x1d7)](this[_0x348b81(0x1d9)]),_0x504f9c[_0x348b81(0x1d7)](this[_0x348b81(0x1d8)]),{'tag':_0x348b81(0x1e9),'attributes':{'class':['ck',_0x348b81(0x1b2),_0x348b81(0x1ca),_0x53dfce['if'](_0x348b81(0x1ba),_0x348b81(0x1c7)),_0x53dfce['to'](_0x348b81(0x1c3),_0x191fdc=>_0x348b81(0x1c5)+_0x191fdc),this[_0x348b81(0x1c4)][_0x348b81(0x1b8)]&&_0x348b81(0x1da)],'data-suggestion-id':this[_0x348b81(0x1b5)]['id'],'data-thread-id':this[_0x348b81(0x1b5)][_0x348b81(0x1d3)]['id'],'data-author-id':this[_0x348b81(0x1b5)][_0x348b81(0x1c6)]['id'],'tabindex':0x0,'role':_0x348b81(0x1d5),'aria-label':_0x53dfce['to'](_0x348b81(0x1e7)),'aria-describedby':this[_0x348b81(0x1d8)]['id']},'children':_0x504f9c};}[_0x140457(0x1df)](){const _0x2806c9=_0x140457;super[_0x2806c9(0x1df)](),this[_0x2806c9(0x1c0)]&&(this[_0x2806c9(0x1c0)][_0x2806c9(0x1bc)](_0x2806c9(0x1b6))['to'](this),this[_0x2806c9(0x1c0)][_0x2806c9(0x1bc)](_0x2806c9(0x1b7))['to'](this)),this[_0x2806c9(0x1d9)]&&(this[_0x2806c9(0x1d9)][_0x2806c9(0x1bc)](_0x2806c9(0x1b6))['to'](this),this[_0x2806c9(0x1d9)][_0x2806c9(0x1bc)](_0x2806c9(0x1b7))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x444dd1=_0x1e11;(function(_0x4bdcf0,_0x4f50ea){const _0x1245fd=_0x1e11,_0x1e37b5=_0x4bdcf0();while(!![]){try{const _0x478b9e=parseInt(_0x1245fd(0xd5))/0x1*(parseInt(_0x1245fd(0x116))/0x2)+-parseInt(_0x1245fd(0xde))/0x3*(parseInt(_0x1245fd(0x108))/0x4)+parseInt(_0x1245fd(0xce))/0x5+-parseInt(_0x1245fd(0xc5))/0x6+parseInt(_0x1245fd(0xf2))/0x7+-parseInt(_0x1245fd(0x114))/0x8+-parseInt(_0x1245fd(0xe7))/0x9*(-parseInt(_0x1245fd(0xfb))/0xa);if(_0x478b9e===_0x4f50ea)break;else _0x1e37b5['push'](_0x1e37b5['shift']());}catch(_0x4fa291){_0x1e37b5['push'](_0x1e37b5['shift']());}}}(_0x30b9,0xdac17));import{FocusTracker as _0x35363c,KeystrokeHandler as _0x56d6c1}from'ckeditor5/src/utils.js';import{View as _0xf83977,ViewCollection as _0x5663e9,FocusCycler as _0x4e238f}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x22e468,UserView as _0x260a26}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1e11(_0x6142a0,_0x185592){const _0x30b938=_0x30b9();return _0x1e11=function(_0x1e11d8,_0x3b1b20){_0x1e11d8=_0x1e11d8-0xc5;let _0x51935a=_0x30b938[_0x1e11d8];return _0x51935a;},_0x1e11(_0x6142a0,_0x185592);}import{IconCancel as _0x4a6b07,IconCheck as _0x5c3a70}from'ckeditor5/src/icons.js';import{getTranslation as _0x3940fc}from'../../utils/common-translations.js';export class SuggestionView extends _0xf83977{[_0x444dd1(0x11a)];[_0x444dd1(0xf7)];[_0x444dd1(0x10f)];[_0x444dd1(0xdf)];[_0x444dd1(0xf4)];[_0x444dd1(0x107)];[_0x444dd1(0xdd)];[_0x444dd1(0xe6)];[_0x444dd1(0xd1)];constructor(_0x1dff4b,_0x10b679,_0x47a4c5){const _0x3c3e4c=_0x444dd1;super(_0x1dff4b),this[_0x3c3e4c(0xe6)]=_0x10b679,this[_0x3c3e4c(0xd1)]=_0x47a4c5,this[_0x3c3e4c(0x106)](_0x3c3e4c(0x10a),''),this[_0x3c3e4c(0xd0)](_0x3c3e4c(0x118))['to'](_0x10b679),this[_0x3c3e4c(0xf7)]=this[_0x3c3e4c(0x10d)](_0x3940fc(_0x1dff4b,_0x3c3e4c(0x10c)),_0x5c3a70,_0x3c3e4c(0xef),_0x3c3e4c(0x115),'sw'),this[_0x3c3e4c(0x10f)]=this[_0x3c3e4c(0x10d)](_0x3940fc(_0x1dff4b,_0x3c3e4c(0xe2)),_0x4a6b07,_0x3c3e4c(0x10e),_0x3c3e4c(0x11c),'sw'),this[_0x3c3e4c(0x11a)]=new _0x260a26(_0x1dff4b,_0x10b679[_0x3c3e4c(0xea)],this[_0x3c3e4c(0xf0)]()),this[_0x3c3e4c(0x11a)][_0x3c3e4c(0x102)]({'attributes':{'class':[_0x3c3e4c(0xf8),_0x3c3e4c(0xcf)],'aria-hidden':!0x0}}),this[_0x3c3e4c(0xdf)]=new _0x5663e9([this[_0x3c3e4c(0xf7)],this[_0x3c3e4c(0x10f)]]),this[_0x3c3e4c(0xf4)]=new _0x35363c(),this[_0x3c3e4c(0x107)]=new _0x56d6c1(),this[_0x3c3e4c(0xdd)]=new _0x4e238f({'focusables':this[_0x3c3e4c(0xdf)],'focusTracker':this[_0x3c3e4c(0xf4)],'keystrokeHandler':this[_0x3c3e4c(0x107)],'actions':{'focusPrevious':_0x3c3e4c(0xd7),'focusNext':_0x3c3e4c(0xc6)},'keystrokeHandlerOptions':{'filter':_0x808213=>_0x808213[_0x3c3e4c(0xff)]!==this[_0x3c3e4c(0xe4)]}}),this[_0x3c3e4c(0xfa)](this[_0x3c3e4c(0xfd)]());}[_0x444dd1(0xfe)](){const _0x1fce4d=_0x444dd1;super[_0x1fce4d(0xfe)]();const _0x4f0df6=this[_0x1fce4d(0xe4)][_0x1fce4d(0xdb)](_0x1fce4d(0xe0));_0x4f0df6[_0x1fce4d(0xf9)]=this[_0x1fce4d(0x10a)],this['on'](_0x1fce4d(0xeb),(_0x402f6c,_0x5c8dd1,_0x45e08c)=>{const _0x5b9adc=_0x1fce4d;_0x4f0df6[_0x5b9adc(0xf9)]=_0x45e08c;}),this[_0x1fce4d(0xd9)]();}[_0x444dd1(0xfd)](){const _0x15de29=_0x444dd1,_0xb4bd7e=this[_0x15de29(0x104)],_0x4e1f6c=[{'tag':_0x15de29(0xd8),'attributes':{'class':[_0x15de29(0xc9),_0x15de29(0x111)]},'children':[{'tag':_0x15de29(0x11b),'children':[{'text':this[_0x15de29(0x11a)][_0x15de29(0xdc)]}],'attributes':{'class':[_0x15de29(0x109),_0x15de29(0xc7)],'data-cke-tooltip-text':this[_0x15de29(0x11a)][_0x15de29(0xdc)]}},{'tag':_0x15de29(0xcc),'attributes':{'datetime':_0xb4bd7e['to'](_0x15de29(0x118)),'class':[_0x15de29(0xe3),_0x15de29(0xd6)]},'children':[{'text':_0xb4bd7e['to'](_0x15de29(0x118),_0x45f95c=>this[_0x15de29(0xd1)][_0x15de29(0x113)](_0x45f95c))}]}]},{'tag':_0x15de29(0xd8),'attributes':{'class':[_0x15de29(0xec),_0x15de29(0x101)]},'children':[this[_0x15de29(0xf7)],this[_0x15de29(0x10f)]]},{'tag':_0x15de29(0xd8),'attributes':{'class':[_0x15de29(0x110)]}}];return this[_0x15de29(0xe6)][_0x15de29(0x10b)]&&_0x4e1f6c[_0x15de29(0x112)]({'tag':_0x15de29(0xd8),'attributes':{'class':[_0x15de29(0xd4)]},'children':[{'text':this[_0x15de29(0x119)]()}]}),{'tag':_0x15de29(0xd8),'attributes':{'class':[_0x15de29(0xc8),_0x15de29(0xcb)],'tabindex':-0x1},'children':[this[_0x15de29(0x11a)],{'tag':_0x15de29(0xd8),'attributes':{'class':[_0x15de29(0xf6),_0x15de29(0x105)],'role':_0x15de29(0x103)},'children':_0x4e1f6c}]};}[_0x444dd1(0x117)](){const _0xe3c945=_0x444dd1;this[_0xe3c945(0xe4)][_0xe3c945(0x117)]();}[_0x444dd1(0xf0)](){const _0x3f9f18=_0x444dd1;return this[_0x3f9f18(0xe6)][_0x3f9f18(0x10b)]?_0x3f9f18(0xfc)===this[_0x3f9f18(0xe6)][_0x3f9f18(0xcd)][_0x3f9f18(0xca)][_0x3f9f18(0xda)]?_0x3940fc(this[_0x3f9f18(0xf5)],_0x3f9f18(0xf3),this[_0x3f9f18(0xe6)][_0x3f9f18(0xe8)][_0x3f9f18(0xdc)]):_0x3940fc(this[_0x3f9f18(0xf5)],_0x3f9f18(0xed),this[_0x3f9f18(0xe6)][_0x3f9f18(0xe8)][_0x3f9f18(0xdc)]):null;}[_0x444dd1(0x119)](){const _0x1c50f5=_0x444dd1;return _0x1c50f5(0xfc)===this[_0x1c50f5(0xe6)][_0x1c50f5(0xcd)][_0x1c50f5(0xca)][_0x1c50f5(0xda)]?_0x3940fc(this[_0x1c50f5(0xf5)],_0x1c50f5(0xe5)):_0x3940fc(this[_0x1c50f5(0xf5)],_0x1c50f5(0x100));}[_0x444dd1(0x10d)](_0x2de02c,_0x3ff54a,_0x89262c,_0x34071f,_0x1fcdb9){const _0x241db7=_0x444dd1,_0x1d67f0=new _0x22e468(this[_0x241db7(0xf5)]);return _0x1d67f0[_0x241db7(0x106)]({'label':_0x2de02c,'icon':_0x3ff54a,'tooltip':!0x0,'tooltipPosition':_0x1fcdb9}),_0x1d67f0[_0x241db7(0x102)]({'attributes':{'class':_0x89262c}}),_0x1d67f0['on'](_0x241db7(0xe9),()=>{const _0x59752e=_0x241db7;this[_0x59752e(0xee)](_0x34071f,this[_0x59752e(0xe6)]['id']);}),_0x1d67f0;}[_0x444dd1(0xd9)](){const _0x40ad7c=_0x444dd1,_0x519df6=this[_0x40ad7c(0xe4)];this[_0x40ad7c(0x107)][_0x40ad7c(0xd2)](_0x519df6);for(const _0x4a489f of this[_0x40ad7c(0xdf)])this[_0x40ad7c(0xf4)][_0x40ad7c(0xe1)](_0x4a489f[_0x40ad7c(0xe4)]),this[_0x40ad7c(0x107)][_0x40ad7c(0xd2)](_0x4a489f[_0x40ad7c(0xe4)]);this[_0x40ad7c(0x107)][_0x40ad7c(0x106)](_0x40ad7c(0x11d),(_0x77c7aa,_0x4a09b7)=>{const _0x39cb2a=_0x40ad7c;_0x519df6===_0x77c7aa[_0x39cb2a(0xff)]&&(this[_0x39cb2a(0xdd)][_0x39cb2a(0xf1)](),_0x4a09b7());}),this[_0x40ad7c(0x107)][_0x40ad7c(0x106)](_0x40ad7c(0xd3),(_0x196ace,_0x658532)=>{const _0x40c35d=_0x40ad7c;_0x519df6!==_0x196ace[_0x40c35d(0xff)]&&(this[_0x40c35d(0x117)](),_0x658532());});}}function _0x30b9(){const _0x586fec=['_createButton','ck-suggestion--discard','discardButton','ck-annotation__content-wrapper','ck-annotation__info','push','formatDateTime','10432960vjSzkZ','acceptSuggestion','4192LhJZDX','focus','authoredAt','getExternalSuggestionNote','userView','span','discardSuggestion','enter','739290TlvQqT','tab','ck-annotation__info-name','ck-suggestion','ck-suggestion__info','@external','ck-annotation','time','attributes','193340bOKhPb','ck-annotation__user','bind','_config','listenTo','esc','ck-comment__external','9zpXyqq','ck-annotation__info-time','shift+tab','div','_setupKeyboardNavigation','source','querySelector','name','focusCycler','465dxOpOi','focusables','.ck-annotation__content-wrapper','add','Discard\x20suggestion','ck-comment__info-time','element','EXTERNAL_IMPORT_WORD_SUGGESTION','_model','27107181llWDhK','creator','execute','author','change:description','ck-suggestion__actions','EXTERNAL_AVATAR','fire','ck-suggestion--accept','getUserViewNotificationText','focusFirst','2610034Dguagx','EXTERNAL_IMPORT_WORD_AVATAR','focusTracker','locale','ck-suggestion__main','acceptButton','ck-suggestion__user','innerHTML','setTemplate','10rmCgTW','importWord','getTemplate','render','target','EXTERNAL_SUGGESTION','ck-annotation__actions','extendTemplate','presentation','bindTemplate','ck-annotation__main','set','keystrokes','28876YbBsLo','ck-suggestion__info-name','description','isExternal','Accept\x20suggestion'];_0x30b9=function(){return _0x586fec;};return _0x30b9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45e67b=_0x1ce8;function _0x1ce8(_0x535427,_0x2d90f6){const _0x5c9247=_0x5c92();return _0x1ce8=function(_0x1ce8a8,_0x137688){_0x1ce8a8=_0x1ce8a8-0x17a;let _0x5c2c8c=_0x5c9247[_0x1ce8a8];return _0x5c2c8c;},_0x1ce8(_0x535427,_0x2d90f6);}(function(_0x1f4106,_0x5628f0){const _0x92601=_0x1ce8,_0x47e1d7=_0x1f4106();while(!![]){try{const _0xafb46e=-parseInt(_0x92601(0x184))/0x1*(parseInt(_0x92601(0x17f))/0x2)+-parseInt(_0x92601(0x188))/0x3*(parseInt(_0x92601(0x19c))/0x4)+-parseInt(_0x92601(0x19a))/0x5+-parseInt(_0x92601(0x197))/0x6*(parseInt(_0x92601(0x19b))/0x7)+-parseInt(_0x92601(0x190))/0x8+parseInt(_0x92601(0x198))/0x9*(-parseInt(_0x92601(0x187))/0xa)+-parseInt(_0x92601(0x17e))/0xb*(-parseInt(_0x92601(0x17a))/0xc);if(_0xafb46e===_0x5628f0)break;else _0x47e1d7['push'](_0x47e1d7['shift']());}catch(_0x41a86f){_0x47e1d7['push'](_0x47e1d7['shift']());}}}(_0x5c92,0x8091f));import{View as _0x513dc3}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x513dc3{[_0x45e67b(0x180)];constructor(_0x507378,_0x43216b){const _0x1fec99=_0x45e67b;super(_0x507378),this[_0x1fec99(0x180)]=_0x43216b,this[_0x1fec99(0x18d)]({'tag':_0x1fec99(0x191),'attributes':{'class':['ck',_0x1fec99(0x18a),_0x1fec99(0x186)],'tabindex':-0x1}});}[_0x45e67b(0x18f)](){const _0xd72f39=_0x45e67b;super[_0xd72f39(0x18f)](),this[_0xd72f39(0x196)][_0xd72f39(0x18c)][_0xd72f39(0x199)]=this[_0xd72f39(0x180)][_0xd72f39(0x192)][_0xd72f39(0x199)]+'px',this[_0xd72f39(0x196)][_0xd72f39(0x18c)][_0xd72f39(0x183)]=this[_0xd72f39(0x180)][_0xd72f39(0x192)][_0xd72f39(0x183)]+'px';}[_0x45e67b(0x195)](_0xcec3cd,_0x51a7ef){const _0x3b7112=_0x45e67b;if(!this[_0x3b7112(0x196)])return;const _0x333aa5=[];for(const [_0xb79029,_0x172865]of _0xcec3cd){const _0x341b8c=document[_0x3b7112(0x185)](_0x3b7112(0x191));_0x341b8c[_0x3b7112(0x181)](_0x3b7112(0x19d),_0xb79029),_0x341b8c[_0x3b7112(0x182)]=_0x172865[_0x3b7112(0x193)]+_0x3b7112(0x17d),_0x341b8c[_0x3b7112(0x17c)]=_0x172865[_0x3b7112(0x18b)],_0x333aa5[_0x3b7112(0x17b)](_0x341b8c);}_0x51a7ef(this[_0x3b7112(0x196)],_0x333aa5),this[_0x3b7112(0x196)][_0x3b7112(0x18c)][_0x3b7112(0x183)]='',this[_0x3b7112(0x194)](_0x3b7112(0x189));}[_0x45e67b(0x18e)](){const _0x30c516=_0x45e67b;this[_0x30c516(0x196)][_0x30c516(0x18e)]();}}function _0x5c92(){const _0x5962e9=['createElement','ck-track-changes-preview','27470DLCMhI','92553rIthVq','previewDataReady','ck-reset','content','style','setTemplate','focus','render','6754568nvXmRs','div','dialogRects','classes','fire','setPreviewData','element','18BKZaQv','1719MFmNUq','width','4528685RXqhLe','2292535MDJNyX','104KtVPXK','data-ck-root-name','456LEabTR','push','innerHTML','\x20ck-track-changes-preview__root-container','1375572PTTouC','1834YUWhOf','options','setAttribute','className','height','181AcesOV'];_0x5c92=function(){return _0x5962e9;};return _0x5c92();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5b9665,_0x276d02,_0x146ac6){const _0x18d45c=_0x5b9665['t'],t=_0x5b9665['t'];switch(_0x276d02){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',_0x146ac6);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x146ac6);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x146ac6);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x146ac6);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x146ac6);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',_0x146ac6);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x146ac6);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',_0x146ac6);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x146ac6);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x146ac6);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x146ac6);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x146ac6);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x146ac6);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x146ac6);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x146ac6);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x146ac6);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x146ac6);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x146ac6);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x146ac6);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x146ac6);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x146ac6);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x146ac6);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x146ac6);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x146ac6);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x146ac6);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'},_0x146ac6);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x146ac6);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x146ac6);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x146ac6);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x146ac6);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x146ac6);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x146ac6);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x146ac6);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x146ac6);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x146ac6);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x146ac6);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'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x146ac6);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x146ac6);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x146ac6);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x146ac6);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x146ac6);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'},_0x146ac6);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x146ac6);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 _0x18d45c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x146ac6);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x18d45c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x146ac6);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x146ac6);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'},_0x146ac6);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'},_0x146ac6);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'},_0x146ac6);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x276d02;}}
|
|
23
|
+
export function getTranslation(_0x3e202a,_0x1fb8cb,_0x2b93c4){const _0x3171e8=_0x3e202a['t'],t=_0x3e202a['t'];switch(_0x1fb8cb){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',_0x2b93c4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2b93c4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2b93c4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2b93c4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2b93c4);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',_0x2b93c4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2b93c4);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',_0x2b93c4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2b93c4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2b93c4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2b93c4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2b93c4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2b93c4);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2b93c4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2b93c4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2b93c4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2b93c4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2b93c4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2b93c4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2b93c4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2b93c4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2b93c4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2b93c4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2b93c4);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2b93c4);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2b93c4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2b93c4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2b93c4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2b93c4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2b93c4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2b93c4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2b93c4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2b93c4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2b93c4);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'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2b93c4);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x2b93c4);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x2b93c4);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x2b93c4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2b93c4);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 _0x3171e8({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2b93c4);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3171e8({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2b93c4);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2b93c4);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'},_0x2b93c4);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'},_0x2b93c4);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'},_0x2b93c4);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1fb8cb;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5f123a,_0x21c7f0){const _0x348b06=_0x4a07,_0x539e78=_0x5f123a();while(!![]){try{const _0x1710ef=parseInt(_0x348b06(0x1a8))/0x1*(-parseInt(_0x348b06(0x1a6))/0x2)+-parseInt(_0x348b06(0x18f))/0x3+parseInt(_0x348b06(0x186))/0x4*(parseInt(_0x348b06(0x1ac))/0x5)+-parseInt(_0x348b06(0x194))/0x6*(-parseInt(_0x348b06(0x196))/0x7)+parseInt(_0x348b06(0x1af))/0x8*(parseInt(_0x348b06(0x188))/0x9)+-parseInt(_0x348b06(0x19a))/0xa*(parseInt(_0x348b06(0x19e))/0xb)+parseInt(_0x348b06(0x1ab))/0xc*(parseInt(_0x348b06(0x18a))/0xd);if(_0x1710ef===_0x21c7f0)break;else _0x539e78['push'](_0x539e78['shift']());}catch(_0x309781){_0x539e78['push'](_0x539e78['shift']());}}}(_0x1389,0xd6324));export function normalizeDescription(_0x50fa32){const _0x1b4e70=_0x4a07;return Array[_0x1b4e70(0x18e)](_0x50fa32)||(_0x50fa32=[_0x50fa32]),_0x50fa32[_0x1b4e70(0x190)](_0x4539e2=>{const _0x809a36=_0x1b4e70,_0x391092=_0x4539e2[_0x809a36(0x179)][_0x809a36(0x1aa)](/\*/g,''),_0xd69171=_0x4539e2[_0x809a36(0x1ad)]?_0x809a36(0x1a3)+_0x4539e2[_0x809a36(0x1ad)][_0x809a36(0x199)]+']':'';return'['+_0x4539e2[_0x809a36(0x182)]+']\x20'+_0x391092+_0xd69171;})[_0x1b4e70(0x197)](';\x20');}export function renderDescription(_0x309a0d,_0x92e8bd){const _0x5f5766=_0x4a07;let _0x4e62f8='';return _0x4e62f8+=_0x309a0d[_0x5f5766(0x1a1)]('*')[_0x5f5766(0x190)]((_0x102234,_0x232e60)=>_0x232e60%0x2!=0x0?_0x5f5766(0x1a5)+on(_0x102234)+_0x5f5766(0x183):on(_0x102234))[_0x5f5766(0x197)](''),_0x92e8bd&&(_0x4e62f8+=_0x5f5766(0x177)+_0x92e8bd[_0x5f5766(0x199)]+_0x5f5766(0x189)+_0x92e8bd[_0x5f5766(0x18b)]+_0x5f5766(0x19d)),_0x4e62f8;}function on(_0x26d388){const _0x2ec8e0=_0x4a07,_0x51612a=document[_0x2ec8e0(0x1ae)](_0x2ec8e0(0x18c));return _0x51612a[_0x2ec8e0(0x198)]=_0x26d388,_0x51612a[_0x2ec8e0(0x1a7)];}export function sortSuggestions(_0x4decf2){const _0x5c44ee=_0x4a07;return _0x4decf2[_0x5c44ee(0x18d)]((_0x4f6d28,_0x4a7806)=>_0x5c44ee(0x1a2)===_0x4f6d28[_0x5c44ee(0x182)]&&_0x5c44ee(0x1a2)!==_0x4a7806[_0x5c44ee(0x182)]?-0x1:_0x5c44ee(0x1a2)!==_0x4f6d28[_0x5c44ee(0x182)]&&_0x5c44ee(0x1a2)===_0x4a7806[_0x5c44ee(0x182)]?0x1:_0x5c44ee(0x181)==_0x4f6d28[_0x5c44ee(0x182)]&&_0x5c44ee(0x181)!=_0x4a7806[_0x5c44ee(0x182)]?-0x1:_0x5c44ee(0x181)!=_0x4f6d28[_0x5c44ee(0x182)]&&_0x5c44ee(0x181)==_0x4a7806[_0x5c44ee(0x182)]?0x1:0x0);}function _0x1389(){const _0x234612=['136JAbzpf','start','5457708CsnHle','\x22\x20title=\x22','13TWhXSq','title','span','sort','isArray','236874YvjGqJ','map','execute','isCollapsed','createPositionAfter','24tbgiJs','change','1264914QUfhyF','join','innerText','value','2319570tFPMXf','getRanges','createPositionBefore','\x22></span>','44ybbXTd','push','schema','split','attribute','\x20[color\x20','isObject','<span\x20class=\x22ck-suggestion-type\x22>','459012uTchUP','innerHTML','5FBKbfT','from','replace','4167816XhNVNK','110105elXDqY','color','createElement','16IbcgVz','isMultiRange','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isInContent','content','add','isIntersecting','isTouching','createRange','splice','createPositionAt','next','deletion','type','</span>','length','end'];_0x1389=function(){return _0x234612;};return _0x1389();}export function getSelectedSuggestions(_0x38fab5,_0x3cd6c2){const _0x2020c7=_0x4a07,_0x27f49c=Array[_0x2020c7(0x1a9)](_0x38fab5[_0x2020c7(0x19b)]()),_0x53f7e2=new Set();for(const _0x118982 of _0x3cd6c2)if(_0x118982[_0x2020c7(0x178)]){for(const _0x31c291 of _0x27f49c)for(const _0x16076a of _0x118982[_0x2020c7(0x19b)]())(_0x31c291[_0x2020c7(0x17b)](_0x16076a)||_0x38fab5[_0x2020c7(0x192)]&&!_0x118982[_0x2020c7(0x176)]&&_0x118982[_0x2020c7(0x180)]&&_0x16076a[_0x2020c7(0x185)][_0x2020c7(0x17c)](_0x31c291[_0x2020c7(0x187)]))&&_0x53f7e2[_0x2020c7(0x17a)](_0x118982);}return _0x53f7e2;}export function getRangesOfBlockGroups(_0x36aaf5,_0x45adbc){const _0x3c95f3=_0x4a07;let _0x146912,_0x3b88a4=0x0;const _0x44fbaf=[],_0x111c6c=_0x45adbc[_0x3c95f3(0x1a0)];for(;_0x3b88a4<_0x36aaf5[_0x3c95f3(0x184)];){const _0x48f0c=_0x36aaf5[_0x3b88a4],_0x57a3b3=_0x36aaf5[_0x3b88a4+0x1];_0x146912||(_0x146912=_0x45adbc[_0x3c95f3(0x19c)](_0x48f0c)),rn(_0x45adbc,_0x48f0c,_0x57a3b3)||(_0x44fbaf[_0x3c95f3(0x19f)](_0x45adbc[_0x3c95f3(0x17d)](_0x146912,_0x111c6c[_0x3c95f3(0x1a4)](_0x48f0c)?_0x45adbc[_0x3c95f3(0x193)](_0x48f0c):_0x45adbc[_0x3c95f3(0x17f)](_0x48f0c,_0x3c95f3(0x185)))),_0x146912=null),_0x3b88a4++;}return _0x44fbaf;}function rn(_0x59691f,_0x5882aa,_0x3ab0e8){const _0x2ef2c9=_0x4a07;if(!_0x3ab0e8)return!0x1;const _0x183385=_0x59691f[_0x2ef2c9(0x193)](_0x5882aa),_0x4e982d=_0x59691f[_0x2ef2c9(0x19c)](_0x3ab0e8);return _0x183385[_0x2ef2c9(0x17c)](_0x4e982d);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x4a07(_0x3441a4,_0x17819a){const _0x13895a=_0x1389();return _0x4a07=function(_0x4a07be,_0x1d1cf9){_0x4a07be=_0x4a07be-0x176;let _0x101fb4=_0x13895a[_0x4a07be];return _0x101fb4;},_0x4a07(_0x3441a4,_0x17819a);}export function executeCommandForSuggestions(_0x29fa7c,_0x23150b,_0x35e91b){const _0x483a22=_0x4a07;for(;_0x35e91b[_0x483a22(0x184)];){const _0x5d7fd9=_0x35e91b[_0x483a22(0x17e)](0x0,0x64);_0x29fa7c[_0x483a22(0x195)](()=>{const _0x44e5a7=_0x483a22;for(const _0x566919 of _0x5d7fd9)_0x566919[_0x44e5a7(0x178)]&&_0x23150b[_0x44e5a7(0x191)](_0x566919['id']);});}}
|