@ckeditor/ckeditor5-track-changes 41.3.0 → 41.4.0-alpha.0
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-content.css +4 -0
- package/dist/index-editor.css +4 -0
- package/dist/index.css +4 -0
- package/dist/index.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +44 -0
- package/dist/types/commands/acceptsuggestioncommand.d.ts +28 -0
- package/dist/types/commands/discardsuggestioncommand.d.ts +28 -0
- package/dist/types/commands/executeonallsuggestionscommand.d.ts +28 -0
- package/dist/types/commands/executeonselectedsuggestionscommand.d.ts +28 -0
- package/dist/types/commands/trackchangescommand.d.ts +30 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/integrations/aiassistant.d.ts +21 -0
- package/dist/types/integrations/alignment.d.ts +21 -0
- package/dist/types/integrations/basicstyles.d.ts +21 -0
- package/dist/types/integrations/blockquote.d.ts +21 -0
- package/dist/types/integrations/casechange.d.ts +21 -0
- package/dist/types/integrations/ckbox.d.ts +21 -0
- package/dist/types/integrations/codeblock.d.ts +21 -0
- package/dist/types/integrations/comments.d.ts +18 -0
- package/dist/types/integrations/deletecommand.d.ts +21 -0
- package/dist/types/integrations/entercommand.d.ts +20 -0
- package/dist/types/integrations/findandreplace.d.ts +25 -0
- package/dist/types/integrations/font.d.ts +21 -0
- package/dist/types/integrations/formatpainter.d.ts +21 -0
- package/dist/types/integrations/heading.d.ts +21 -0
- package/dist/types/integrations/highlight.d.ts +21 -0
- package/dist/types/integrations/horizontalline.d.ts +21 -0
- package/dist/types/integrations/htmlembed.d.ts +21 -0
- package/dist/types/integrations/image.d.ts +21 -0
- package/dist/types/integrations/imagereplace.d.ts +21 -0
- package/dist/types/integrations/imagestyle.d.ts +21 -0
- package/dist/types/integrations/importword.d.ts +22 -0
- package/dist/types/integrations/indent.d.ts +21 -0
- package/dist/types/integrations/inputcommand.d.ts +20 -0
- package/dist/types/integrations/legacylist.d.ts +21 -0
- package/dist/types/integrations/legacylistproperties.d.ts +33 -0
- package/dist/types/integrations/link.d.ts +21 -0
- package/dist/types/integrations/list.d.ts +21 -0
- package/dist/types/integrations/listproperties.d.ts +24 -0
- package/dist/types/integrations/mediaembed.d.ts +21 -0
- package/dist/types/integrations/mention.d.ts +21 -0
- package/dist/types/integrations/multilevellist.d.ts +28 -0
- package/dist/types/integrations/pagebreak.d.ts +21 -0
- package/dist/types/integrations/paragraph.d.ts +21 -0
- package/dist/types/integrations/removeformat.d.ts +21 -0
- package/dist/types/integrations/restrictededitingmode.d.ts +21 -0
- package/dist/types/integrations/shiftentercommand.d.ts +20 -0
- package/dist/types/integrations/standardeditingmode.d.ts +21 -0
- package/dist/types/integrations/style.d.ts +21 -0
- package/dist/types/integrations/table.d.ts +46 -0
- package/dist/types/integrations/tablecaption.d.ts +26 -0
- package/dist/types/integrations/tableclipboard.d.ts +23 -0
- package/dist/types/integrations/tablecolumnresize.d.ts +30 -0
- package/dist/types/integrations/tableheadings.d.ts +26 -0
- package/dist/types/integrations/tablemergesplit.d.ts +26 -0
- package/dist/types/integrations/tableofcontents.d.ts +21 -0
- package/dist/types/integrations/tableproperties.d.ts +31 -0
- package/dist/types/integrations/template.d.ts +21 -0
- package/dist/types/integrations/title.d.ts +21 -0
- package/dist/types/integrations/undo.d.ts +21 -0
- package/dist/types/integrations/utils.d.ts +25 -0
- package/dist/types/suggestion.d.ts +295 -0
- package/dist/types/suggestiondescriptionfactory.d.ts +187 -0
- package/dist/types/trackchanges.d.ts +184 -0
- package/dist/types/trackchangesconfig.d.ts +82 -0
- package/dist/types/trackchangesdata.d.ts +45 -0
- package/dist/types/trackchangesediting.d.ts +530 -0
- package/dist/types/trackchangesui.d.ts +42 -0
- package/dist/types/ui/suggestioncontroller.d.ts +41 -0
- package/dist/types/ui/view/basesuggestionthreadview.d.ts +174 -0
- package/dist/types/ui/view/suggestionthreadview.d.ts +186 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/utils.d.ts +34 -0
- package/package.json +4 -3
- 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/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/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/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/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/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/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 +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.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/utils.js +1 -1
- package/src/suggestion.js +1 -1
- 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/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4800b4=_0x24b3;(function(_0x294422,_0x48e218){const _0x3e4eee=_0x24b3,_0x509a4a=_0x294422();while(!![]){try{const _0x396a41=parseInt(_0x3e4eee(0xc3))/0x1+-parseInt(_0x3e4eee(0xd7))/0x2+-parseInt(_0x3e4eee(0x94))/0x3+-parseInt(_0x3e4eee(0x95))/0x4*(parseInt(_0x3e4eee(0xf5))/0x5)+-parseInt(_0x3e4eee(0xd0))/0x6+-parseInt(_0x3e4eee(0x9e))/0x7*(parseInt(_0x3e4eee(0x92))/0x8)+-parseInt(_0x3e4eee(0xa9))/0x9*(-parseInt(_0x3e4eee(0xe1))/0xa);if(_0x396a41===_0x48e218)break;else _0x509a4a['push'](_0x509a4a['shift']());}catch(_0x38a1c9){_0x509a4a['push'](_0x509a4a['shift']());}}}(_0x560c,0xd3331));import{Plugin as _0x1339ff}from'ckeditor5/src/core.js';import{Collection as _0x25608f}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2d9da6,createDropdown as _0x9ed616,ListSeparatorView as _0x1d9172,MenuBarMenuView as _0xa90177,MenuBarMenuListView as _0x34f9dc,MenuBarMenuListItemView as _0x5c25c1,MenuBarMenuListItemButtonView as _0x72b9a7,SplitButtonView as _0x36986c,ViewModel as _0x3e9b9c}from'ckeditor5/src/ui.js';import{Users as _0x3e53d7,getDateTimeFormatter as _0x5656d8,getAllMarkersDomElementsSorted as _0x4b27a4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x24b3(_0x5ab8c8,_0x5c4239){const _0x560cb3=_0x560c();return _0x24b3=function(_0x24b33f,_0x2d9926){_0x24b33f=_0x24b33f-0x8d;let _0x3f0837=_0x560cb3[_0x24b33f];return _0x3f0837;},_0x24b3(_0x5ab8c8,_0x5c4239);}import _0x48d0e2 from'./trackchangesediting.js';import _0x2e8e6d from'./ui/suggestioncontroller.js';import _0x81d81f from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3127d1}from'./utils/common-translations.js';function _0x560c(){const _0x28298d=['button','isInContent','Discard\x20all\x20selected\x20suggestions','componentFactory','mainView','keys','commentThread','values','view','suggestionUnloaded','createAnnotationView','previous','bind','filter','model','has','CommentsUI','1165659TSGWpL','execute','createCommentThreadController','getMarkers','getByInnerView','CommentView','length','discardAllSuggestions','_createToolbarButton','type','Track\x20changes','children','separator','8007930MJEVAb','hasSuggestion','_disableComments','remove','actionView','trackChanges.SuggestionThreadView','SuggestionThreadView','785934rnMvKE','value','suggestionLoaded','lowest','switchbutton','from','reduce','set','innerView','size','44023310gbhTTJ','editing','comments.maxCommentsWhenCollapsed','add','getFirstRange','change:activeAnnotations','source','_annotationViews','items','comments','plugins','comments.editorConfig','_destroyController','addSourceCollector','_bindAnnotationToEditors','descriptionParts','getJoined','trackChanges','Accept\x20all\x20selected\x20suggestions','TrackChangesUI','5vIfuLf','isMultiRange','discardButton','head','acceptAllSuggestions','_viewToController','push','suggestion-','isDirty','_addUIComponentsToFactory','Accept\x20all\x20suggestions','_createMenuBarMenu','getDescriptions','createAnnotation','comments.maxCommentCharsWhenCollapsed','Discard\x20all\x20suggestions','_handleSuggestionControllerDelayed','getSuggestion','getAllAdjacentSuggestions','EditorAnnotations','change:previous','getMarkerNames','_handleControllerBuffer','clear','menuBar:trackChanges','discardSelectedSuggestions','requires','activeMarkers','stopListening','_initializeController','Annotations','TrackChangesEditing','_suggestionToController','suggestionChanged','editor','CommentsRepository','isOn','acceptButton','config','commands','getRanges','toMany','buttonView','3035704uQVIbg','registerAnnotation','1192575QLsOSK','4239672GpFlwN','delete','addComment','unbind','panelView','trackChanges.disableComments','focus','define','_refreshActiveMarkers','28pSvXmR','init','isEnabled','delegate','commandName','listenTo','get','comments.maxThreadTotalWeight','_unbindEditors','some','refreshSelectedViews','9GdGQFj','arrowView','destroy','locale','activeAnnotations','acceptSelectedSuggestions','_updateController','pluginName','_descriptionFactory'];_0x560c=function(){return _0x28298d;};return _0x560c();}import _0x4ce8d2 from'../theme/icons/track-changes.svg';export default class d extends _0x1339ff{static get[_0x4800b4(0x10f)](){const _0x1c44d4=_0x4800b4;return[_0x48d0e2,_0x3e53d7,_0x1c44d4(0x118),_0x1c44d4(0x113),_0x1c44d4(0x108)];}static get[_0x4800b4(0xb0)](){const _0x3684de=_0x4800b4;return _0x3684de(0xf4);}constructor(_0x48b523){const _0x392107=_0x4800b4;super(_0x48b523),this[_0x392107(0x115)]=new Map(),this[_0x392107(0xfa)]=new Map(),this[_0x392107(0xe8)]=new Map(),this[_0x392107(0x10b)]=new Map();const _0x54c957=this[_0x392107(0x117)][_0x392107(0x8d)];_0x54c957[_0x392107(0x9c)](_0x392107(0xd5),_0x81d81f),_0x54c957[_0x392107(0x9c)](_0x392107(0x9a),!0x1),this[_0x392107(0xd2)]=_0x54c957[_0x392107(0xa4)](_0x392107(0x9a));}[_0x4800b4(0x105)](_0x4429e2,_0x119d93){const _0x2d70cd=_0x4800b4;0x0===this[_0x2d70cd(0x10b)][_0x2d70cd(0xe0)]&&setTimeout(()=>{const _0x4975f2=_0x2d70cd;for(const [_0x2af12e,_0x33ba0e]of this[_0x4975f2(0x10b)]){const _0xe35ea4=this[_0x4975f2(0x115)][_0x4975f2(0xc1)](_0x2af12e);_0xe35ea4||_0x33ba0e?_0xe35ea4&&_0x33ba0e&&this[_0x4975f2(0xed)](_0x2af12e):this[_0x4975f2(0x112)](_0x2af12e);}this[_0x4975f2(0x10b)][_0x4975f2(0x10c)](),this[_0x4975f2(0x117)][_0x4975f2(0xeb)][_0x4975f2(0xa4)](_0x4975f2(0x108))[_0x4975f2(0xa8)](),this[_0x4975f2(0x9d)]();},0xa),this[_0x2d70cd(0x10b)][_0x2d70cd(0xde)](_0x4429e2,_0x119d93);}[_0x4800b4(0x9f)](){const _0x1b395e=_0x4800b4,_0x5f4074=this[_0x1b395e(0x117)],_0x577e5d=_0x5f4074[_0x1b395e(0xeb)][_0x1b395e(0xa4)](_0x1b395e(0x114)),_0x537a94=_0x5f4074[_0x1b395e(0xeb)][_0x1b395e(0xa4)](_0x1b395e(0x113)),_0x5b5bbb=_0x5f4074[_0x1b395e(0xeb)][_0x1b395e(0xa4)](_0x1b395e(0x108)),_0x432405=_0x5f4074[_0x1b395e(0xeb)][_0x1b395e(0xa4)](_0x1b395e(0x118));this[_0x1b395e(0xfe)](),_0x5b5bbb[_0x1b395e(0xee)](()=>{const _0x3cc03=_0x1b395e,_0x4c0f6c=[];for(const [_0x21832e,_0x2e91f5]of Array[_0x3cc03(0xdc)](this[_0x3cc03(0x115)])){const _0x34c2c5=_0x21832e[_0x3cc03(0x107)](),_0x4465b0=[];for(const _0x2f7a8c of _0x34c2c5){if(!_0x2f7a8c[_0x3cc03(0xb3)])continue;if(_0x2f7a8c[_0x3cc03(0xf6)]){_0x4465b0[_0x3cc03(0xfb)](..._0x2f7a8c[_0x3cc03(0x8f)]());continue;}const _0x51795e=_0x2f7a8c[_0x3cc03(0xe5)]();if(_0x4465b0[_0x3cc03(0xc9)]>0x0){const _0x523944=_0x4465b0[0x0][_0x3cc03(0xf1)](_0x51795e);if(_0x523944){_0x4465b0[0x0]=_0x523944;continue;}}_0x4465b0[_0x3cc03(0xfb)](_0x51795e);}_0x4c0f6c[_0x3cc03(0xfb)]([_0x2e91f5[_0x3cc03(0xba)],_0x4465b0]);}return _0x4c0f6c;}),this[_0x1b395e(0xa3)](_0x577e5d,_0x1b395e(0xd9),(_0x4ea697,_0x1effeb)=>{const _0x42144b=_0x1b395e;this[_0x42144b(0xa3)](_0x1effeb,_0x42144b(0x109),(_0x1eff23,_0x2871af,_0x57ac0d,_0x5bcb34)=>{const _0x596423=_0x42144b;_0x1effeb[_0x596423(0xb3)]&&(null==_0x57ac0d?(this[_0x596423(0xaf)](_0x5bcb34[_0x596423(0xf8)]),this[_0x596423(0x105)](_0x1effeb,!0x1)):(this[_0x596423(0xaf)](_0x57ac0d[_0x596423(0xf8)]),null==_0x5bcb34&&this[_0x596423(0x105)](_0x1effeb,!0x0)));}),null!==_0x1effeb[_0x42144b(0xbd)]?this[_0x42144b(0xaf)](_0x1effeb[_0x42144b(0xf8)]):this[_0x42144b(0x105)](_0x1effeb,!0x1);}),this[_0x1b395e(0xa3)](_0x577e5d,_0x1b395e(0xbb),(_0x56cfa7,_0x341e0b,_0x26934b)=>{const _0x4bdb69=_0x1b395e;this[_0x4bdb69(0x111)](_0x341e0b,_0x4bdb69(0x109)),this[_0x4bdb69(0x10b)][_0x4bdb69(0x96)](_0x341e0b),this[_0x4bdb69(0x115)][_0x4bdb69(0xc1)](_0x341e0b)&&this[_0x4bdb69(0xed)](_0x341e0b),_0x26934b&&this[_0x4bdb69(0xaf)](_0x26934b[_0x4bdb69(0xf8)]);}),this[_0x1b395e(0xa3)](_0x577e5d,_0x1b395e(0x116),(_0xd79c26,_0x438e3f)=>{const _0x507f9c=_0x1b395e;this[_0x507f9c(0xaf)](_0x438e3f);}),this[_0x1b395e(0xa3)](_0x537a94,_0x1b395e(0xe6),()=>{const _0x37d44f=_0x1b395e;this[_0x37d44f(0x9d)]();}),this[_0x1b395e(0xa3)](_0x432405,_0x1b395e(0x97),(_0x40dd8b,{threadId:_0xe30d94,isFromAdapter:_0x44d8ed})=>{const _0x19868b=_0x1b395e;if(_0x44d8ed||!_0x577e5d[_0x19868b(0xd1)](_0xe30d94))return;const _0x1fa45e=_0x577e5d[_0x19868b(0x106)](_0xe30d94);this[_0x19868b(0x115)][_0x19868b(0xa4)](_0x1fa45e)[_0x19868b(0xba)][_0x19868b(0x9b)]();},{'priority':_0x1b395e(0xda)});}[_0x4800b4(0x9d)](){const _0x570048=_0x4800b4,_0x5dc2d2=this[_0x570048(0x117)][_0x570048(0xeb)][_0x570048(0xa4)](_0x570048(0x113)),_0x26df31=this[_0x570048(0x117)][_0x570048(0xeb)][_0x570048(0xa4)](_0x570048(0x114)),_0x5121ca=Array[_0x570048(0xdc)](_0x5dc2d2[_0x570048(0xad)],_0x49eaac=>_0x49eaac[_0x570048(0xdf)])[_0x570048(0xbf)](_0x242ca5=>this[_0x570048(0xfa)][_0x570048(0xc1)](_0x242ca5)),_0x44d9b1=[];for(const _0x22617b of _0x5121ca){const _0x1d75f4=this[_0x570048(0xfa)][_0x570048(0xa4)](_0x22617b)[_0x570048(0xc0)][_0x570048(0x107)]();_0x44d9b1[_0x570048(0xfb)](..._0x1d75f4[_0x570048(0xdd)]((_0x58d3f9,_0x5fa069)=>[..._0x58d3f9,..._0x5fa069[_0x570048(0x10a)]()],[]));}_0x26df31[_0x570048(0x110)]=_0x44d9b1;}[_0x4800b4(0xfe)](){const _0x2ea0ab=_0x4800b4,_0x2d482f=this[_0x2ea0ab(0x117)],_0x2944ab=_0x2d482f[_0x2ea0ab(0xac)],_0x450e4b=_0x3127d1(_0x2944ab,_0x2ea0ab(0xcd)),_0x388004=new _0x25608f([{'type':_0x2ea0ab(0xdb),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x450e4b,'commandName':_0x2ea0ab(0xf2)})},{'type':_0x2ea0ab(0xcf)},{'type':_0x2ea0ab(0xb2),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x3127d1(_0x2944ab,_0x2ea0ab(0xff)),'commandName':_0x2ea0ab(0xf9)})},{'type':_0x2ea0ab(0xb2),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x3127d1(_0x2944ab,_0x2ea0ab(0xf3)),'commandName':_0x2ea0ab(0xae)})},{'type':_0x2ea0ab(0xb2),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x3127d1(_0x2944ab,_0x2ea0ab(0x104)),'commandName':_0x2ea0ab(0xca)})},{'type':_0x2ea0ab(0xb2),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x3127d1(_0x2944ab,_0x2ea0ab(0xb4)),'commandName':_0x2ea0ab(0x10e)})}]);for(const _0xc599e3 of _0x388004)if(ae(_0xc599e3)){const _0x481bac=_0x2d482f[_0x2ea0ab(0x8e)][_0x2ea0ab(0xa4)](_0xc599e3[_0x2ea0ab(0xc0)][_0x2ea0ab(0xa2)]);_0xc599e3[_0x2ea0ab(0xc0)][_0x2ea0ab(0xbe)](_0x2ea0ab(0x119),_0x2ea0ab(0xa0))['to'](_0x481bac,_0x2ea0ab(0xd8),_0x2ea0ab(0xa0));}_0x2d482f['ui'][_0x2ea0ab(0xb5)][_0x2ea0ab(0xe4)](_0x2ea0ab(0xf2),_0x47c153=>this[_0x2ea0ab(0xcb)](_0x47c153,_0x388004,_0x450e4b)),_0x2d482f['ui'][_0x2ea0ab(0xb5)][_0x2ea0ab(0xe4)](_0x2ea0ab(0x10d),_0x537747=>this[_0x2ea0ab(0x100)](_0x537747,_0x388004,_0x450e4b));}[_0x4800b4(0xcb)](_0x10c004,_0x352130,_0x5e7029){const _0x239fd7=_0x4800b4,_0x320962=_0x9ed616(_0x10c004,_0x36986c),_0x248c40=this[_0x239fd7(0x117)][_0x239fd7(0x8e)][_0x239fd7(0xa4)](_0x239fd7(0xf2));_0x320962[_0x239fd7(0x91)][_0x239fd7(0xde)]({'tooltip':_0x5e7029,'label':_0x5e7029,'icon':_0x4ce8d2}),_0x320962[_0x239fd7(0x91)][_0x239fd7(0xbe)](_0x239fd7(0x119))['to'](_0x248c40,_0x239fd7(0xd8)),_0x320962[_0x239fd7(0x91)]['on'](_0x239fd7(0xc4),()=>{const _0x414098=_0x239fd7;_0x248c40[_0x414098(0xc4)](),this[_0x414098(0x117)][_0x414098(0xe2)][_0x414098(0xba)][_0x414098(0x9b)]();}),_0x2d9da6(_0x320962,_0x352130);const _0x11f333=[];for(const _0x843592 of _0x352130)ae(_0x843592)&&_0x11f333[_0x239fd7(0xfb)](this[_0x239fd7(0x117)][_0x239fd7(0x8e)][_0x239fd7(0xa4)](_0x843592[_0x239fd7(0xc0)][_0x239fd7(0xa2)]));const _0x4b40f1=_0x320962[_0x239fd7(0x91)];return _0x4b40f1[_0x239fd7(0xd4)][_0x239fd7(0x98)](_0x239fd7(0xa0)),_0x4b40f1[_0x239fd7(0xaa)][_0x239fd7(0x98)](_0x239fd7(0xa0)),_0x4b40f1[_0x239fd7(0xd4)][_0x239fd7(0xbe)](_0x239fd7(0xa0))['to'](_0x248c40,_0x239fd7(0xa0)),_0x4b40f1[_0x239fd7(0xaa)][_0x239fd7(0xbe)](_0x239fd7(0xa0))[_0x239fd7(0x90)](_0x11f333,_0x239fd7(0xa0),(..._0x846cb1)=>_0x846cb1[_0x239fd7(0xa7)](_0x4a2a1b=>_0x4a2a1b)),_0x320962['on'](_0x239fd7(0xc4),_0x323232=>{const _0x5f3d5f=_0x239fd7;this[_0x5f3d5f(0x117)][_0x5f3d5f(0xc4)](_0x323232[_0x5f3d5f(0xe7)][_0x5f3d5f(0xa2)]),this[_0x5f3d5f(0x117)][_0x5f3d5f(0xe2)][_0x5f3d5f(0xba)][_0x5f3d5f(0x9b)]();}),_0x320962;}[_0x4800b4(0x100)](_0x396b1a,_0x46ef03,_0x772b61){const _0x4473fc=_0x4800b4,_0x4d727e=new _0xa90177(_0x396b1a),_0x114300=this[_0x4473fc(0x117)][_0x4473fc(0x8e)][_0x4473fc(0xa4)](_0x4473fc(0xf2));_0x4d727e[_0x4473fc(0x91)][_0x4473fc(0xde)]({'label':_0x772b61,'icon':_0x4ce8d2});const _0x4081b=new _0x34f9dc(_0x396b1a);for(const _0x2e98c1 of _0x46ef03){if(_0x4473fc(0xcf)==_0x2e98c1[_0x4473fc(0xcc)]){_0x4081b[_0x4473fc(0xe9)][_0x4473fc(0xe4)](new _0x1d9172(_0x396b1a));continue;}const _0x3a9b56=new _0x5c25c1(_0x396b1a,_0x4d727e),_0xd9940c=new _0x72b9a7(_0x396b1a),_0x377f20=_0x2e98c1[_0x4473fc(0xc0)];_0xd9940c[_0x4473fc(0xbe)](...Object[_0x4473fc(0xb7)](_0x377f20))['to'](_0x377f20),_0xd9940c[_0x4473fc(0xa1)](_0x4473fc(0xc4))['to'](_0x4d727e),_0xd9940c['on'](_0x4473fc(0xc4),()=>{const _0x579a3e=_0x4473fc;this[_0x579a3e(0x117)][_0x579a3e(0xc4)](_0x377f20[_0x579a3e(0xa2)]),this[_0x579a3e(0x117)][_0x579a3e(0xe2)][_0x579a3e(0xba)][_0x579a3e(0x9b)]();}),_0x3a9b56[_0x4473fc(0xce)][_0x4473fc(0xe4)](_0xd9940c),_0x4081b[_0x4473fc(0xe9)][_0x4473fc(0xe4)](_0x3a9b56);}return _0x4d727e[_0x4473fc(0xbe)](_0x4473fc(0xa0))['to'](_0x114300,_0x4473fc(0xa0)),_0x4d727e[_0x4473fc(0x99)][_0x4473fc(0xce)][_0x4473fc(0xe4)](_0x4081b),_0x4d727e;}[_0x4800b4(0x112)](_0x1937a8){const _0x47066c=_0x4800b4,_0x43e551=this[_0x47066c(0x117)],_0x18fc42=_0x43e551[_0x47066c(0x8d)],_0x1ddebb=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0x113)),_0x441ac0=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0x118)),_0xa2447c=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0x108)),_0x574b41=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x3e53d7)['me'],_0x5a2aa8=_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xf2))[_0x47066c(0xd6)],{CommentsListView:_0x2a9f0d,CommentThreadInputView:_0x1adad8}=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0xc2));let _0x3d987b,_0x33fd03;this[_0x47066c(0xe8)][_0x47066c(0xc1)](_0x1937a8['id'])?(_0x33fd03=this[_0x47066c(0xe8)][_0x47066c(0xa4)](_0x1937a8['id']),_0x3d987b=_0x33fd03[_0x47066c(0xb6)]):(_0x3d987b=new _0x5a2aa8(_0x43e551[_0x47066c(0xac)],_0x1937a8,_0x574b41,{'disableComments':this[_0x47066c(0xd2)],'editorConfig':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xec)),'maxCommentsWhenCollapsed':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xe3)),'maxThreadTotalWeight':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xa5)),'maxCommentCharsWhenCollapsed':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0x103)),'formatDateTime':_0x5656d8(_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xac))),'CommentView':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xea))[_0x47066c(0xc8)],'CommentsListView':_0x2a9f0d,'CommentThreadInputView':_0x1adad8}),_0x3d987b[_0x47066c(0x11a)]['on'](_0x47066c(0xc4),()=>{const _0x2edc1a=_0x47066c;_0x43e551[_0x2edc1a(0xe2)][_0x2edc1a(0xba)][_0x2edc1a(0x9b)]();}),_0x3d987b[_0x47066c(0xf7)]['on'](_0x47066c(0xc4),()=>{const _0x114d1a=_0x47066c;_0x43e551[_0x114d1a(0xe2)][_0x114d1a(0xba)][_0x114d1a(0x9b)]();}),_0x33fd03=_0x1ddebb[_0x47066c(0xbc)](this[_0x47066c(0x117)][_0x47066c(0xac)],_0x3d987b),_0x33fd03[_0x47066c(0xbe)](_0x47066c(0xfd))['to'](_0x3d987b,_0x47066c(0xfd)),_0x33fd03[_0x47066c(0xbe)](_0x47066c(0xc9))['to'](_0x3d987b),_0x33fd03[_0x47066c(0xbe)](_0x47066c(0xcc))['to'](_0x3d987b,_0x47066c(0xcc),_0xd5d448=>_0x47066c(0xfc)+_0xd5d448),this[_0x47066c(0xe8)][_0x47066c(0xde)](_0x1937a8['id'],_0x33fd03));const _0x2af737=_0x441ac0[_0x47066c(0xc5)](_0x1937a8[_0x47066c(0xb8)],_0x3d987b),_0x2761fe=new _0x2e8e6d(_0x43e551,_0x1937a8,_0x3d987b,_0x2af737),_0x29c9df=_0x1937a8[_0x47066c(0x107)]()[_0x47066c(0xbf)](_0x1e6163=>_0x1e6163[_0x47066c(0xb3)]);_0x3d987b[_0x47066c(0xf0)]=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0x114))[_0x47066c(0xb1)][_0x47066c(0x101)](_0x29c9df),this[_0x47066c(0x115)][_0x47066c(0xde)](_0x1937a8,_0x2761fe),this[_0x47066c(0xfa)][_0x47066c(0xde)](_0x3d987b,_0x2761fe);const _0x5dea73=_0x1ddebb[_0x47066c(0x102)]({'view':_0x33fd03,'target':()=>{const _0x28f3f4=_0x47066c,_0x15ef84=[],_0x346b9d=_0x1937a8[_0x28f3f4(0x107)]()[_0x28f3f4(0xbf)](_0x4017eb=>_0x4017eb[_0x28f3f4(0xb3)]);for(const _0x5620d2 of _0x346b9d)_0x15ef84[_0x28f3f4(0xfb)](..._0x5620d2[_0x28f3f4(0xc6)]());return _0x4b27a4(_0x43e551[_0x28f3f4(0xe2)],_0x15ef84);},'type':()=>_0x47066c(0xfc)+_0x2761fe[_0x47066c(0xba)][_0x47066c(0xcc)]});_0x441ac0[_0x47066c(0xef)](_0x3d987b,_0x5dea73),_0x1ddebb[_0x47066c(0xe4)](_0x5dea73),_0xa2447c[_0x47066c(0x93)](_0x5dea73);}[_0x4800b4(0xed)](_0x2538c0){const _0x52d612=_0x4800b4,_0xc820f2=this[_0x52d612(0x117)][_0x52d612(0xeb)][_0x52d612(0xa4)](_0x52d612(0x118)),_0x15742c=this[_0x52d612(0x117)][_0x52d612(0xeb)][_0x52d612(0xa4)](_0x52d612(0x113)),_0x15aa01=this[_0x52d612(0x115)][_0x52d612(0xa4)](_0x2538c0),_0x14c5cf=_0x15aa01[_0x52d612(0xba)],_0x4fc687=_0x15742c[_0x52d612(0xc7)](_0x14c5cf);_0xc820f2[_0x52d612(0xa6)](_0x14c5cf),_0x4fc687&&_0x15742c[_0x52d612(0xd3)](_0x4fc687),this[_0x52d612(0x115)][_0x52d612(0x96)](_0x2538c0),this[_0x52d612(0xfa)][_0x52d612(0x96)](_0x14c5cf),_0x15aa01[_0x52d612(0xab)]();}[_0x4800b4(0xaf)](_0x30c27c){const _0x34c825=_0x4800b4;if(!_0x30c27c[_0x34c825(0xb3)]||!this[_0x34c825(0x115)][_0x34c825(0xc1)](_0x30c27c))return;const _0x33bc68=this[_0x34c825(0x117)][_0x34c825(0xeb)][_0x34c825(0xa4)](_0x34c825(0x114)),_0x26d9b1=this[_0x34c825(0x115)][_0x34c825(0xa4)](_0x30c27c),_0x168b02=_0x30c27c[_0x34c825(0x107)]();_0x26d9b1[_0x34c825(0xba)][_0x34c825(0xf0)]=_0x33bc68[_0x34c825(0xb1)][_0x34c825(0x101)](_0x168b02);}[_0x4800b4(0xab)](){const _0x2c0b88=_0x4800b4;for(const _0x4a688c of this[_0x2c0b88(0x115)][_0x2c0b88(0xb7)]())this[_0x2c0b88(0xed)](_0x4a688c);for(const _0x1f92fd of this[_0x2c0b88(0xe8)][_0x2c0b88(0xb9)]())_0x1f92fd[_0x2c0b88(0xb6)][_0x2c0b88(0xab)]();super[_0x2c0b88(0xab)]();}}function ae(_0x56ced3){const _0x3b400e=_0x4800b4;return _0x3b400e(0xc0)in _0x56ced3;}
|
|
23
|
+
const _0x5d5c92=_0x8edd;(function(_0x14ed97,_0x23e870){const _0x1bc7f7=_0x8edd,_0x146d03=_0x14ed97();while(!![]){try{const _0x12777c=-parseInt(_0x1bc7f7(0x113))/0x1*(-parseInt(_0x1bc7f7(0xee))/0x2)+parseInt(_0x1bc7f7(0xb2))/0x3*(parseInt(_0x1bc7f7(0xcf))/0x4)+-parseInt(_0x1bc7f7(0x13c))/0x5+-parseInt(_0x1bc7f7(0x12f))/0x6*(-parseInt(_0x1bc7f7(0xe0))/0x7)+parseInt(_0x1bc7f7(0xed))/0x8+-parseInt(_0x1bc7f7(0x104))/0x9*(parseInt(_0x1bc7f7(0x106))/0xa)+-parseInt(_0x1bc7f7(0xcd))/0xb*(parseInt(_0x1bc7f7(0xe6))/0xc);if(_0x12777c===_0x23e870)break;else _0x146d03['push'](_0x146d03['shift']());}catch(_0xc4930e){_0x146d03['push'](_0x146d03['shift']());}}}(_0x2af2,0x75735));import{Plugin as _0x18e689}from'ckeditor5/src/core.js';import{Collection as _0x4acd7e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x749ff5,createDropdown as _0x36390a,ListSeparatorView as _0x3e8249,MenuBarMenuView as _0x24548f,MenuBarMenuListView as _0x78337,MenuBarMenuListItemView as _0x37fbcb,MenuBarMenuListItemButtonView as _0x45cbe9,SplitButtonView as _0x327ced,ViewModel as _0x1d65bf}from'ckeditor5/src/ui.js';function _0x2af2(){const _0x3bf3a2=['plugins','CommentView','_unbindEditors','toMany','_destroyController','suggestionLoaded','refreshSelectedViews','_suggestionToController','getFirstRange','head','comments.maxCommentsWhenCollapsed','some','_initializeController','Discard\x20all\x20selected\x20suggestions','_handleControllerBuffer','_addUIComponentsToFactory','Discard\x20all\x20suggestions','children','suggestion-','keys','CommentsUI','suggestionUnloaded','TrackChangesEditing','comments','define','25582337ZuQmfw','_createMenuBarMenu','2829016AswYWB','componentFactory','isInContent','activeAnnotations','activeMarkers','_handleSuggestionControllerDelayed','from','_annotationViews','TrackChangesUI','_descriptionFactory','reduce','focus','getAllAdjacentSuggestions','isDirty','Annotations','SuggestionThreadView','mainView','147cpBOMN','size','createAnnotationView','previous','bind','commentThread','12nATvis','discardButton','EditorAnnotations','actionView','comments.maxCommentCharsWhenCollapsed','innerView','hasSuggestion','7602416DlLFMO','3488WYmykw','commands','view','getSuggestion','_createToolbarButton','filter','editor','acceptAllSuggestions','Track\x20changes','pluginName','execute','separator','value','add','requires','set','items','commandName','_refreshActiveMarkers','stopListening','_viewToController','has','1224oobczH','getMarkers','6610hHfuxp','Accept\x20all\x20suggestions','change:previous','panelView','discardSelectedSuggestions','get','menuBar:trackChanges','trackChanges.SuggestionThreadView','button','push','unbind','trackChanges.disableComments','clear','283twcTZM','delegate','_bindAnnotationToEditors','delete','destroy','locale','acceptButton','CommentsRepository','model','switchbutton','registerAnnotation','remove','buttonView','trackChanges','comments.maxThreadTotalWeight','addComment','length','change:activeAnnotations','addSourceCollector','createCommentThreadController','suggestionChanged','isOn','getJoined','Accept\x20all\x20selected\x20suggestions','discardAllSuggestions','init','isEnabled','createAnnotation','243678ILutYd','acceptSelectedSuggestions','isMultiRange','type','arrowView','listenTo','descriptionParts','values','getByInnerView','config','getDescriptions','editing','_disableComments','536705gGQnmi','_updateController','source','getRanges','comments.editorConfig','getMarkerNames','3qrYQBY','lowest'];_0x2af2=function(){return _0x3bf3a2;};return _0x2af2();}import{Users as _0x4c596c,getDateTimeFormatter as _0x13acbe,getAllMarkersDomElementsSorted as _0x4d738b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x160395 from'./trackchangesediting.js';function _0x8edd(_0x53511d,_0x4ca246){const _0x2af2f0=_0x2af2();return _0x8edd=function(_0x8edd98,_0x5f4b14){_0x8edd98=_0x8edd98-0xad;let _0x17635a=_0x2af2f0[_0x8edd98];return _0x17635a;},_0x8edd(_0x53511d,_0x4ca246);}import _0x4f8f21 from'./ui/suggestioncontroller.js';import _0x2ca290 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x381112}from'./utils/common-translations.js';import _0x4634cb from'../theme/icons/track-changes.svg';export default class d extends _0x18e689{static get[_0x5d5c92(0xfc)](){const _0x59c5e3=_0x5d5c92;return[_0x160395,_0x4c596c,_0x59c5e3(0x11a),_0x59c5e3(0xdd),_0x59c5e3(0xe8)];}static get[_0x5d5c92(0xf7)](){const _0x338fc0=_0x5d5c92;return _0x338fc0(0xd7);}constructor(_0xe0d6b5){const _0x41319d=_0x5d5c92;super(_0xe0d6b5),this[_0x41319d(0xbb)]=new Map(),this[_0x41319d(0x102)]=new Map(),this[_0x41319d(0xd6)]=new Map(),this[_0x41319d(0xc2)]=new Map();const _0x3987ac=this[_0x41319d(0xf4)][_0x41319d(0x138)];_0x3987ac[_0x41319d(0xcc)](_0x41319d(0x10d),_0x2ca290),_0x3987ac[_0x41319d(0xcc)](_0x41319d(0x111),!0x1),this[_0x41319d(0x13b)]=_0x3987ac[_0x41319d(0x10b)](_0x41319d(0x111));}[_0x5d5c92(0xd4)](_0x92559d,_0x408ffe){const _0x47c772=_0x5d5c92;0x0===this[_0x47c772(0xc2)][_0x47c772(0xe1)]&&setTimeout(()=>{const _0x56fc36=_0x47c772;for(const [_0x254d72,_0x32965c]of this[_0x56fc36(0xc2)]){const _0x549934=this[_0x56fc36(0xbb)][_0x56fc36(0x103)](_0x254d72);_0x549934||_0x32965c?_0x549934&&_0x32965c&&this[_0x56fc36(0xb8)](_0x254d72):this[_0x56fc36(0xc0)](_0x254d72);}this[_0x56fc36(0xc2)][_0x56fc36(0x112)](),this[_0x56fc36(0xf4)][_0x56fc36(0xb4)][_0x56fc36(0x10b)](_0x56fc36(0xe8))[_0x56fc36(0xba)](),this[_0x56fc36(0x100)]();},0xa),this[_0x47c772(0xc2)][_0x47c772(0xfd)](_0x92559d,_0x408ffe);}[_0x5d5c92(0x12c)](){const _0x6d6f9b=_0x5d5c92,_0x1f8cd2=this[_0x6d6f9b(0xf4)],_0x3b3e88=_0x1f8cd2[_0x6d6f9b(0xb4)][_0x6d6f9b(0x10b)](_0x6d6f9b(0xca)),_0x33d059=_0x1f8cd2[_0x6d6f9b(0xb4)][_0x6d6f9b(0x10b)](_0x6d6f9b(0xdd)),_0x13b866=_0x1f8cd2[_0x6d6f9b(0xb4)][_0x6d6f9b(0x10b)](_0x6d6f9b(0xe8)),_0x262e35=_0x1f8cd2[_0x6d6f9b(0xb4)][_0x6d6f9b(0x10b)](_0x6d6f9b(0x11a));this[_0x6d6f9b(0xc3)](),_0x13b866[_0x6d6f9b(0x125)](()=>{const _0x239e7a=_0x6d6f9b,_0x2014a7=[];for(const [_0x590c3a,_0x179e42]of Array[_0x239e7a(0xd5)](this[_0x239e7a(0xbb)])){const _0x5c7565=_0x590c3a[_0x239e7a(0xdb)](),_0x222bdd=[];for(const _0x56b54f of _0x5c7565){if(!_0x56b54f[_0x239e7a(0xd1)])continue;if(_0x56b54f[_0x239e7a(0x131)]){_0x222bdd[_0x239e7a(0x10f)](..._0x56b54f[_0x239e7a(0xaf)]());continue;}const _0x5d8fe3=_0x56b54f[_0x239e7a(0xbc)]();if(_0x222bdd[_0x239e7a(0x123)]>0x0){const _0x57ec7a=_0x222bdd[0x0][_0x239e7a(0x129)](_0x5d8fe3);if(_0x57ec7a){_0x222bdd[0x0]=_0x57ec7a;continue;}}_0x222bdd[_0x239e7a(0x10f)](_0x5d8fe3);}_0x2014a7[_0x239e7a(0x10f)]([_0x179e42[_0x239e7a(0xf0)],_0x222bdd]);}return _0x2014a7;}),this[_0x6d6f9b(0x134)](_0x3b3e88,_0x6d6f9b(0xb9),(_0x292c6d,_0x36982c)=>{const _0x4ab3e8=_0x6d6f9b;this[_0x4ab3e8(0x134)](_0x36982c,_0x4ab3e8(0x108),(_0xc9eeec,_0x5a60ad,_0x386163,_0x21d737)=>{const _0x2f4547=_0x4ab3e8;_0x36982c[_0x2f4547(0xd1)]&&(null==_0x386163?(this[_0x2f4547(0xad)](_0x21d737[_0x2f4547(0xbd)]),this[_0x2f4547(0xd4)](_0x36982c,!0x1)):(this[_0x2f4547(0xad)](_0x386163[_0x2f4547(0xbd)]),null==_0x21d737&&this[_0x2f4547(0xd4)](_0x36982c,!0x0)));}),null!==_0x36982c[_0x4ab3e8(0xe3)]?this[_0x4ab3e8(0xad)](_0x36982c[_0x4ab3e8(0xbd)]):this[_0x4ab3e8(0xd4)](_0x36982c,!0x1);}),this[_0x6d6f9b(0x134)](_0x3b3e88,_0x6d6f9b(0xc9),(_0x438795,_0x436e46,_0x521836)=>{const _0x173280=_0x6d6f9b;this[_0x173280(0x101)](_0x436e46,_0x173280(0x108)),this[_0x173280(0xc2)][_0x173280(0x116)](_0x436e46),this[_0x173280(0xbb)][_0x173280(0x103)](_0x436e46)&&this[_0x173280(0xb8)](_0x436e46),_0x521836&&this[_0x173280(0xad)](_0x521836[_0x173280(0xbd)]);}),this[_0x6d6f9b(0x134)](_0x3b3e88,_0x6d6f9b(0x127),(_0xa6f0e9,_0x3784c4)=>{const _0x1a3789=_0x6d6f9b;this[_0x1a3789(0xad)](_0x3784c4);}),this[_0x6d6f9b(0x134)](_0x33d059,_0x6d6f9b(0x124),()=>{const _0x3c6b47=_0x6d6f9b;this[_0x3c6b47(0x100)]();}),this[_0x6d6f9b(0x134)](_0x262e35,_0x6d6f9b(0x122),(_0x302957,{threadId:_0x339c9d,isFromAdapter:_0x5714f1})=>{const _0x2d5619=_0x6d6f9b;if(_0x5714f1||!_0x3b3e88[_0x2d5619(0xec)](_0x339c9d))return;const _0x3891bf=_0x3b3e88[_0x2d5619(0xf1)](_0x339c9d);this[_0x2d5619(0xbb)][_0x2d5619(0x10b)](_0x3891bf)[_0x2d5619(0xf0)][_0x2d5619(0xda)]();},{'priority':_0x6d6f9b(0xb3)});}[_0x5d5c92(0x100)](){const _0x5978bb=_0x5d5c92,_0x126faa=this[_0x5978bb(0xf4)][_0x5978bb(0xb4)][_0x5978bb(0x10b)](_0x5978bb(0xdd)),_0x112df1=this[_0x5978bb(0xf4)][_0x5978bb(0xb4)][_0x5978bb(0x10b)](_0x5978bb(0xca)),_0x38da0e=Array[_0x5978bb(0xd5)](_0x126faa[_0x5978bb(0xd2)],_0x57dea1=>_0x57dea1[_0x5978bb(0xeb)])[_0x5978bb(0xf3)](_0x3527dc=>this[_0x5978bb(0x102)][_0x5978bb(0x103)](_0x3527dc)),_0x3e1106=[];for(const _0x109551 of _0x38da0e){const _0x150e92=this[_0x5978bb(0x102)][_0x5978bb(0x10b)](_0x109551)[_0x5978bb(0x11b)][_0x5978bb(0xdb)]();_0x3e1106[_0x5978bb(0x10f)](..._0x150e92[_0x5978bb(0xd9)]((_0x3802a1,_0x294bb4)=>[..._0x3802a1,..._0x294bb4[_0x5978bb(0xb1)]()],[]));}_0x112df1[_0x5978bb(0xd3)]=_0x3e1106;}[_0x5d5c92(0xc3)](){const _0x27e918=_0x5d5c92,_0x14a9a3=this[_0x27e918(0xf4)],_0x4d35a8=_0x14a9a3[_0x27e918(0x118)],_0x2c28f9=_0x381112(_0x4d35a8,_0x27e918(0xf6)),_0x10f0aa=new _0x4acd7e([{'type':_0x27e918(0x11c),'model':new _0x1d65bf({'withText':!0x0,'label':_0x2c28f9,'commandName':_0x27e918(0x120)})},{'type':_0x27e918(0xf9)},{'type':_0x27e918(0x10e),'model':new _0x1d65bf({'withText':!0x0,'label':_0x381112(_0x4d35a8,_0x27e918(0x107)),'commandName':_0x27e918(0xf5)})},{'type':_0x27e918(0x10e),'model':new _0x1d65bf({'withText':!0x0,'label':_0x381112(_0x4d35a8,_0x27e918(0x12a)),'commandName':_0x27e918(0x130)})},{'type':_0x27e918(0x10e),'model':new _0x1d65bf({'withText':!0x0,'label':_0x381112(_0x4d35a8,_0x27e918(0xc4)),'commandName':_0x27e918(0x12b)})},{'type':_0x27e918(0x10e),'model':new _0x1d65bf({'withText':!0x0,'label':_0x381112(_0x4d35a8,_0x27e918(0xc1)),'commandName':_0x27e918(0x10a)})}]);for(const _0x1198b5 of _0x10f0aa)if(ae(_0x1198b5)){const _0x40aa5b=_0x14a9a3[_0x27e918(0xef)][_0x27e918(0x10b)](_0x1198b5[_0x27e918(0x11b)][_0x27e918(0xff)]);_0x1198b5[_0x27e918(0x11b)][_0x27e918(0xe4)](_0x27e918(0x128),_0x27e918(0x12d))['to'](_0x40aa5b,_0x27e918(0xfa),_0x27e918(0x12d));}_0x14a9a3['ui'][_0x27e918(0xd0)][_0x27e918(0xfb)](_0x27e918(0x120),_0x1ca80b=>this[_0x27e918(0xf2)](_0x1ca80b,_0x10f0aa,_0x2c28f9)),_0x14a9a3['ui'][_0x27e918(0xd0)][_0x27e918(0xfb)](_0x27e918(0x10c),_0x457fa9=>this[_0x27e918(0xce)](_0x457fa9,_0x10f0aa,_0x2c28f9));}[_0x5d5c92(0xf2)](_0x562fcd,_0x5980fa,_0x4b562c){const _0x205408=_0x5d5c92,_0xe99038=_0x36390a(_0x562fcd,_0x327ced),_0xb7fbac=this[_0x205408(0xf4)][_0x205408(0xef)][_0x205408(0x10b)](_0x205408(0x120));_0xe99038[_0x205408(0x11f)][_0x205408(0xfd)]({'tooltip':_0x4b562c,'label':_0x4b562c,'icon':_0x4634cb}),_0xe99038[_0x205408(0x11f)][_0x205408(0xe4)](_0x205408(0x128))['to'](_0xb7fbac,_0x205408(0xfa)),_0xe99038[_0x205408(0x11f)]['on'](_0x205408(0xf8),()=>{const _0x4e9382=_0x205408;_0xb7fbac[_0x4e9382(0xf8)](),this[_0x4e9382(0xf4)][_0x4e9382(0x13a)][_0x4e9382(0xf0)][_0x4e9382(0xda)]();}),_0x749ff5(_0xe99038,_0x5980fa);const _0x2a3a0e=[];for(const _0x5cf721 of _0x5980fa)ae(_0x5cf721)&&_0x2a3a0e[_0x205408(0x10f)](this[_0x205408(0xf4)][_0x205408(0xef)][_0x205408(0x10b)](_0x5cf721[_0x205408(0x11b)][_0x205408(0xff)]));const _0x1c93fe=_0xe99038[_0x205408(0x11f)];return _0x1c93fe[_0x205408(0xe9)][_0x205408(0x110)](_0x205408(0x12d)),_0x1c93fe[_0x205408(0x133)][_0x205408(0x110)](_0x205408(0x12d)),_0x1c93fe[_0x205408(0xe9)][_0x205408(0xe4)](_0x205408(0x12d))['to'](_0xb7fbac,_0x205408(0x12d)),_0x1c93fe[_0x205408(0x133)][_0x205408(0xe4)](_0x205408(0x12d))[_0x205408(0xb7)](_0x2a3a0e,_0x205408(0x12d),(..._0x212c42)=>_0x212c42[_0x205408(0xbf)](_0x245399=>_0x245399)),_0xe99038['on'](_0x205408(0xf8),_0x4c5409=>{const _0x5c4174=_0x205408;this[_0x5c4174(0xf4)][_0x5c4174(0xf8)](_0x4c5409[_0x5c4174(0xae)][_0x5c4174(0xff)]),this[_0x5c4174(0xf4)][_0x5c4174(0x13a)][_0x5c4174(0xf0)][_0x5c4174(0xda)]();}),_0xe99038;}[_0x5d5c92(0xce)](_0x787093,_0x1c5316,_0x28088c){const _0xc052f9=_0x5d5c92,_0x32c1b0=new _0x24548f(_0x787093),_0x3bef98=this[_0xc052f9(0xf4)][_0xc052f9(0xef)][_0xc052f9(0x10b)](_0xc052f9(0x120));_0x32c1b0[_0xc052f9(0x11f)][_0xc052f9(0xfd)]({'label':_0x28088c,'icon':_0x4634cb});const _0x531aa0=new _0x78337(_0x787093);for(const _0x508856 of _0x1c5316){if(_0xc052f9(0xf9)==_0x508856[_0xc052f9(0x132)]){_0x531aa0[_0xc052f9(0xfe)][_0xc052f9(0xfb)](new _0x3e8249(_0x787093));continue;}const _0x509bb7=new _0x37fbcb(_0x787093,_0x32c1b0),_0x109069=new _0x45cbe9(_0x787093),_0x2456ad=_0x508856[_0xc052f9(0x11b)];_0x109069[_0xc052f9(0xe4)](...Object[_0xc052f9(0xc7)](_0x2456ad))['to'](_0x2456ad),_0x109069[_0xc052f9(0x114)](_0xc052f9(0xf8))['to'](_0x32c1b0),_0x109069['on'](_0xc052f9(0xf8),()=>{const _0x37858d=_0xc052f9;this[_0x37858d(0xf4)][_0x37858d(0xf8)](_0x2456ad[_0x37858d(0xff)]),this[_0x37858d(0xf4)][_0x37858d(0x13a)][_0x37858d(0xf0)][_0x37858d(0xda)]();}),_0x509bb7[_0xc052f9(0xc5)][_0xc052f9(0xfb)](_0x109069),_0x531aa0[_0xc052f9(0xfe)][_0xc052f9(0xfb)](_0x509bb7);}return _0x32c1b0[_0xc052f9(0xe4)](_0xc052f9(0x12d))['to'](_0x3bef98,_0xc052f9(0x12d)),_0x32c1b0[_0xc052f9(0x109)][_0xc052f9(0xc5)][_0xc052f9(0xfb)](_0x531aa0),_0x32c1b0;}[_0x5d5c92(0xc0)](_0x31f862){const _0x5688a3=_0x5d5c92,_0x47d5e0=this[_0x5688a3(0xf4)],_0x3f2f83=_0x47d5e0[_0x5688a3(0x138)],_0x3866d6=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0xdd)),_0x53582f=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0x11a)),_0x55c3ae=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0xe8)),_0x2326fd=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x4c596c)['me'],_0x9f4946=_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0x120))[_0x5688a3(0xde)],{CommentsListView:_0x1b7c5e,CommentThreadInputView:_0x5aafce}=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0xc8));let _0xc4335,_0x3b9077;this[_0x5688a3(0xd6)][_0x5688a3(0x103)](_0x31f862['id'])?(_0x3b9077=this[_0x5688a3(0xd6)][_0x5688a3(0x10b)](_0x31f862['id']),_0xc4335=_0x3b9077[_0x5688a3(0xdf)]):(_0xc4335=new _0x9f4946(_0x47d5e0[_0x5688a3(0x118)],_0x31f862,_0x2326fd,{'disableComments':this[_0x5688a3(0x13b)],'editorConfig':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0xb0)),'maxCommentsWhenCollapsed':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0xbe)),'maxThreadTotalWeight':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0x121)),'maxCommentCharsWhenCollapsed':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0xea)),'formatDateTime':_0x13acbe(_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0x118))),'CommentView':_0x3f2f83[_0x5688a3(0x10b)](_0x5688a3(0xcb))[_0x5688a3(0xb5)],'CommentsListView':_0x1b7c5e,'CommentThreadInputView':_0x5aafce}),_0xc4335[_0x5688a3(0x119)]['on'](_0x5688a3(0xf8),()=>{const _0x4455bb=_0x5688a3;_0x47d5e0[_0x4455bb(0x13a)][_0x4455bb(0xf0)][_0x4455bb(0xda)]();}),_0xc4335[_0x5688a3(0xe7)]['on'](_0x5688a3(0xf8),()=>{const _0x1d3c0b=_0x5688a3;_0x47d5e0[_0x1d3c0b(0x13a)][_0x1d3c0b(0xf0)][_0x1d3c0b(0xda)]();}),_0x3b9077=_0x3866d6[_0x5688a3(0xe2)](this[_0x5688a3(0xf4)][_0x5688a3(0x118)],_0xc4335),_0x3b9077[_0x5688a3(0xe4)](_0x5688a3(0xdc))['to'](_0xc4335,_0x5688a3(0xdc)),_0x3b9077[_0x5688a3(0xe4)](_0x5688a3(0x123))['to'](_0xc4335),_0x3b9077[_0x5688a3(0xe4)](_0x5688a3(0x132))['to'](_0xc4335,_0x5688a3(0x132),_0x53886c=>_0x5688a3(0xc6)+_0x53886c),this[_0x5688a3(0xd6)][_0x5688a3(0xfd)](_0x31f862['id'],_0x3b9077));const _0x5ef4ac=_0x53582f[_0x5688a3(0x126)](_0x31f862[_0x5688a3(0xe5)],_0xc4335),_0x1fae5d=new _0x4f8f21(_0x47d5e0,_0x31f862,_0xc4335,_0x5ef4ac),_0x38f5a2=_0x31f862[_0x5688a3(0xdb)]()[_0x5688a3(0xf3)](_0xf04eb8=>_0xf04eb8[_0x5688a3(0xd1)]);_0xc4335[_0x5688a3(0x135)]=_0x47d5e0[_0x5688a3(0xb4)][_0x5688a3(0x10b)](_0x5688a3(0xca))[_0x5688a3(0xd8)][_0x5688a3(0x139)](_0x38f5a2),this[_0x5688a3(0xbb)][_0x5688a3(0xfd)](_0x31f862,_0x1fae5d),this[_0x5688a3(0x102)][_0x5688a3(0xfd)](_0xc4335,_0x1fae5d);const _0x2805ba=_0x3866d6[_0x5688a3(0x12e)]({'view':_0x3b9077,'target':()=>{const _0x3cbe56=_0x5688a3,_0xeb26d1=[],_0x2ccfa9=_0x31f862[_0x3cbe56(0xdb)]()[_0x3cbe56(0xf3)](_0x277b4b=>_0x277b4b[_0x3cbe56(0xd1)]);for(const _0xd755f5 of _0x2ccfa9)_0xeb26d1[_0x3cbe56(0x10f)](..._0xd755f5[_0x3cbe56(0x105)]());return _0x4d738b(_0x47d5e0[_0x3cbe56(0x13a)],_0xeb26d1);},'type':()=>_0x5688a3(0xc6)+_0x1fae5d[_0x5688a3(0xf0)][_0x5688a3(0x132)]});_0x53582f[_0x5688a3(0x115)](_0xc4335,_0x2805ba),_0x3866d6[_0x5688a3(0xfb)](_0x2805ba),_0x55c3ae[_0x5688a3(0x11d)](_0x2805ba);}[_0x5d5c92(0xb8)](_0x240674){const _0x480e36=_0x5d5c92,_0x30fbb3=this[_0x480e36(0xf4)][_0x480e36(0xb4)][_0x480e36(0x10b)](_0x480e36(0x11a)),_0x454d4a=this[_0x480e36(0xf4)][_0x480e36(0xb4)][_0x480e36(0x10b)](_0x480e36(0xdd)),_0xb7c013=this[_0x480e36(0xbb)][_0x480e36(0x10b)](_0x240674),_0x1f3bee=_0xb7c013[_0x480e36(0xf0)],_0x406d26=_0x454d4a[_0x480e36(0x137)](_0x1f3bee);_0x30fbb3[_0x480e36(0xb6)](_0x1f3bee),_0x406d26&&_0x454d4a[_0x480e36(0x11e)](_0x406d26),this[_0x480e36(0xbb)][_0x480e36(0x116)](_0x240674),this[_0x480e36(0x102)][_0x480e36(0x116)](_0x1f3bee),_0xb7c013[_0x480e36(0x117)]();}[_0x5d5c92(0xad)](_0x2030be){const _0x166d98=_0x5d5c92;if(!_0x2030be[_0x166d98(0xd1)]||!this[_0x166d98(0xbb)][_0x166d98(0x103)](_0x2030be))return;const _0xdae6ba=this[_0x166d98(0xf4)][_0x166d98(0xb4)][_0x166d98(0x10b)](_0x166d98(0xca)),_0x5118fa=this[_0x166d98(0xbb)][_0x166d98(0x10b)](_0x2030be),_0x5ed2d2=_0x2030be[_0x166d98(0xdb)]();_0x5118fa[_0x166d98(0xf0)][_0x166d98(0x135)]=_0xdae6ba[_0x166d98(0xd8)][_0x166d98(0x139)](_0x5ed2d2);}[_0x5d5c92(0x117)](){const _0x52c80f=_0x5d5c92;for(const _0x353de6 of this[_0x52c80f(0xbb)][_0x52c80f(0xc7)]())this[_0x52c80f(0xb8)](_0x353de6);for(const _0x12eea9 of this[_0x52c80f(0xd6)][_0x52c80f(0x136)]())_0x12eea9[_0x52c80f(0xdf)][_0x52c80f(0x117)]();super[_0x52c80f(0x117)]();}}function ae(_0x28fc30){const _0xf312d7=_0x5d5c92;return _0xf312d7(0x11b)in _0x28fc30;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1695f0=_0x440e;(function(_0x392551,_0x2d04bb){const _0x46fb82=_0x440e,_0x5216f6=_0x392551();while(!![]){try{const _0x543dcb=-parseInt(_0x46fb82(0x1d7))/0x1+parseInt(_0x46fb82(0x1c2))/0x2*(parseInt(_0x46fb82(0x1be))/0x3)+parseInt(_0x46fb82(0x1d4))/0x4*(parseInt(_0x46fb82(0x1d6))/0x5)+parseInt(_0x46fb82(0x1d3))/0x6+parseInt(_0x46fb82(0x1d1))/0x7*(-parseInt(_0x46fb82(0x1c1))/0x8)+parseInt(_0x46fb82(0x1d8))/0x9*(-parseInt(_0x46fb82(0x1b7))/0xa)+parseInt(_0x46fb82(0x1ba))/0xb*(parseInt(_0x46fb82(0x1bb))/0xc);if(_0x543dcb===_0x2d04bb)break;else _0x5216f6['push'](_0x5216f6['shift']());}catch(_0x4ec9a9){_0x5216f6['push'](_0x5216f6['shift']());}}}(_0x2ba8,0x3f8ae));import{ObservableMixin as _0x3a4b89}from'ckeditor5/src/utils.js';function _0x440e(_0x1a9175,_0xc13ad5){const _0x2ba850=_0x2ba8();return _0x440e=function(_0x440e6a,_0x4af012){_0x440e6a=_0x440e6a-0x1b2;let _0x5a52cb=_0x2ba850[_0x440e6a];return _0x5a52cb;},_0x440e(_0x1a9175,_0xc13ad5);}import{getTranslation as _0x1820db}from'../utils/common-translations.js';export default class oe extends _0x3a4b89(){constructor(_0x59b32f,_0x449ed1,_0xdbe33a,_0x19312a){const _0x2e5865=_0x440e;super(),this[_0x2e5865(0x1c3)]=_0x449ed1,this[_0x2e5865(0x1b9)]=_0xdbe33a,this[_0x2e5865(0x1c5)]=_0x19312a,this[_0x2e5865(0x1d2)]=_0x59b32f,this[_0x2e5865(0x1b4)]=_0x59b32f[_0x2e5865(0x1d5)][_0x2e5865(0x1dc)](_0x2e5865(0x1cc)),this[_0x2e5865(0x1b5)]=_0x59b32f[_0x2e5865(0x1d5)][_0x2e5865(0x1dc)](_0x2e5865(0x1bc)),this[_0x2e5865(0x1b9)][_0x2e5865(0x1c0)](_0x2e5865(0x1cf))['to'](this[_0x2e5865(0x1b4)],this[_0x2e5865(0x1b5)],(_0x3c3865,_0x1f9d2b)=>_0x3c3865||_0x1f9d2b),this[_0x2e5865(0x1b9)][_0x2e5865(0x1c0)](_0x2e5865(0x1cb))['to'](this[_0x2e5865(0x1b4)],_0x2e5865(0x1cf),_0x1b0d16=>_0x1b0d16&&this[_0x2e5865(0x1d2)][_0x2e5865(0x1c3)][_0x2e5865(0x1ce)](_0x449ed1[_0x2e5865(0x1c9)]())),this[_0x2e5865(0x1b9)][_0x2e5865(0x1c0)](_0x2e5865(0x1b2))['to'](this[_0x2e5865(0x1b5)],_0x2e5865(0x1cf),_0xdc6eac=>_0xdc6eac&&this[_0x2e5865(0x1d2)][_0x2e5865(0x1c3)][_0x2e5865(0x1ce)](_0x449ed1[_0x2e5865(0x1c9)]())),this[_0x2e5865(0x1c4)]=null,_0xdbe33a[_0x2e5865(0x1d0)]&&this[_0x2e5865(0x1bf)](),this[_0x2e5865(0x1b3)](_0xdbe33a,_0x2e5865(0x1cc),()=>this[_0x2e5865(0x1cc)]()),this[_0x2e5865(0x1b3)](_0xdbe33a,_0x2e5865(0x1bc),()=>this[_0x2e5865(0x1bc)]()),this[_0x2e5865(0x1b3)](_0xdbe33a,_0x2e5865(0x1db),()=>{const _0x324f35=_0x2e5865;_0xdbe33a[_0x324f35(0x1d0)]?this[_0x324f35(0x1bf)]():this[_0x324f35(0x1c8)]();});}[_0x1695f0(0x1cc)](){const _0x1cf51d=_0x1695f0;this[_0x1cf51d(0x1b4)][_0x1cf51d(0x1d9)](this[_0x1cf51d(0x1c3)]['id']);}[_0x1695f0(0x1bc)](){const _0x1d827d=_0x1695f0;this[_0x1d827d(0x1b5)][_0x1d827d(0x1d9)](this[_0x1d827d(0x1c3)]['id']);}[_0x1695f0(0x1da)](){const _0x46a82d=_0x1695f0;this[_0x46a82d(0x1b9)][_0x46a82d(0x1c6)](_0x46a82d(0x1cf)),this[_0x46a82d(0x1b9)][_0x46a82d(0x1c6)](_0x46a82d(0x1cb)),this[_0x46a82d(0x1b9)][_0x46a82d(0x1c6)](_0x46a82d(0x1b2)),this[_0x46a82d(0x1c7)](),this[_0x46a82d(0x1c5)][_0x46a82d(0x1da)](),this[_0x46a82d(0x1c4)]&&this[_0x46a82d(0x1c8)]();}[_0x1695f0(0x1bf)](){const _0x29b3fb=_0x1695f0,_0x5773aa=_0x1820db(this[_0x29b3fb(0x1d2)][_0x29b3fb(0x1b6)],_0x29b3fb(0x1bd));this[_0x29b3fb(0x1c4)]=this[_0x29b3fb(0x1d2)][_0x29b3fb(0x1dd)][_0x29b3fb(0x1dc)](_0x29b3fb(0x1b8))[_0x29b3fb(0x1ca)](_0x5773aa);}[_0x1695f0(0x1c8)](){const _0x57fdd6=_0x1695f0;null!==this[_0x57fdd6(0x1c4)]&&this[_0x57fdd6(0x1d2)][_0x57fdd6(0x1dd)][_0x57fdd6(0x1dc)](_0x57fdd6(0x1b8))[_0x57fdd6(0x1cd)](this[_0x57fdd6(0x1c4)]),this[_0x57fdd6(0x1c4)]=null;}}function _0x2ba8(){const _0x5f2aa6=['get','plugins','canDiscard','listenTo','_acceptCommand','_discardCommand','locale','10uqFplc','PendingActions','view','88POeGVn','190152sDXqDC','discardSuggestion','PENDING_ACTION_SUGGESTION','43737STaGHT','_setPendingAction','bind','16824naesKE','16eFcCfz','model','_pendingAction','commentThreadController','unbind','stopListening','_removePendingAction','getRanges','add','canAccept','acceptSuggestion','remove','canEditAt','isEnabled','isDirty','329pdYQMP','_editor','2479272vZpagW','16660ultUac','commands','35xBmMEp','312679krtsvh','125793fCsOTX','execute','destroy','change:isDirty'];_0x2ba8=function(){return _0x5f2aa6;};return _0x2ba8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x240090=_0x1bcc;function _0x27ad(){const _0x5a9b8c=['descriptionParts','12cBWWWb','removeComment','commentThread','fire','editor','_createCommentThreadInputView','disableComments','locale','addComment','CommentView','commentThreadInputView','value','19458NEvWpV','_model','authoredAt','405882qVYQYo','3154030zaxByf','cancel','canAccept','destroy','setData','74535qgmDot','element','editorConfig','isEnabled','commentInputView','7pouNGR','bind','submit','isActive','assign','isReadOnly','309728RpNraK','655804XNqWAL','497399xgeNtU','disabledSubmit','updateComment','_config','hasDirtyComment','focus','set','3pfNFzO','showInput','_localUser','canDiscard','delegate','_createCommentViews','commentsListView','isDirty','length'];_0x27ad=function(){return _0x5a9b8c;};return _0x27ad();}(function(_0x5b20c3,_0x4f5d56){const _0x5c2915=_0x1bcc,_0x34f841=_0x5b20c3();while(!![]){try{const _0x11e0ef=-parseInt(_0x5c2915(0x215))/0x1*(parseInt(_0x5c2915(0x207))/0x2)+-parseInt(_0x5c2915(0x224))/0x3*(parseInt(_0x5c2915(0x21c))/0x4)+-parseInt(_0x5c2915(0x210))/0x5*(-parseInt(_0x5c2915(0x1fb))/0x6)+-parseInt(_0x5c2915(0x21d))/0x7+parseInt(_0x5c2915(0x21b))/0x8+parseInt(_0x5c2915(0x20a))/0x9+parseInt(_0x5c2915(0x20b))/0xa;if(_0x11e0ef===_0x4f5d56)break;else _0x34f841['push'](_0x34f841['shift']());}catch(_0x51c17a){_0x34f841['push'](_0x34f841['shift']());}}}(_0x27ad,0x1ebe0));import{View as _0x23e51c}from'ckeditor5/src/ui.js';function _0x1bcc(_0x1c29e5,_0x5f1055){const _0x27addc=_0x27ad();return _0x1bcc=function(_0x1bccd2,_0xc54064){_0x1bccd2=_0x1bccd2-0x1f3;let _0x1e3cba=_0x27addc[_0x1bccd2];return _0x1e3cba;},_0x1bcc(_0x1c29e5,_0x5f1055);}export default class es extends _0x23e51c{constructor(_0x10fcdb,_0x3fa40d,_0x54d155,_0x2bca97){const _0x34f79a=_0x1bcc;super(_0x10fcdb),this[_0x34f79a(0x1f7)]=null,this[_0x34f79a(0x205)]=null,this[_0x34f79a(0x223)](_0x34f79a(0x218),!0x1),this[_0x34f79a(0x223)](_0x34f79a(0x209),_0x3fa40d[_0x34f79a(0x209)]),this[_0x34f79a(0x216)](_0x34f79a(0x209))['to'](_0x3fa40d),this[_0x34f79a(0x223)](_0x34f79a(0x1fa),[]),this[_0x34f79a(0x223)](_0x34f79a(0x1f8),!0x1),this[_0x34f79a(0x223)](_0x34f79a(0x213),!0x1),this[_0x34f79a(0x223)](_0x34f79a(0x20d),!0x1),this[_0x34f79a(0x223)](_0x34f79a(0x1f4),!0x1),this[_0x34f79a(0x208)]=_0x3fa40d,this[_0x34f79a(0x1f3)]=_0x54d155,this[_0x34f79a(0x220)]=_0x2bca97,_0x2bca97[_0x34f79a(0x201)]?this[_0x34f79a(0x223)](_0x34f79a(0x1f9),0x1):this[_0x34f79a(0x1f6)]();}[_0x240090(0x222)](){const _0x26883b=_0x240090;this[_0x26883b(0x211)][_0x26883b(0x222)]();}[_0x240090(0x20e)](){const _0x376838=_0x240090;this[_0x376838(0x1f7)]&&this[_0x376838(0x1f7)][_0x376838(0x20e)](),this[_0x376838(0x205)]&&this[_0x376838(0x205)][_0x376838(0x20e)](),super[_0x376838(0x20e)]();}[_0x240090(0x1f6)](){const _0x5f2c40=_0x240090,{CommentsListView:_0x2b91f8}=this[_0x5f2c40(0x220)];this[_0x5f2c40(0x1f7)]=new _0x2b91f8(this[_0x5f2c40(0x202)],this[_0x5f2c40(0x208)][_0x5f2c40(0x1fd)],Object[_0x5f2c40(0x219)]({'CommentView':this[_0x5f2c40(0x220)][_0x5f2c40(0x204)]},this[_0x5f2c40(0x220)])),this[_0x5f2c40(0x1f7)][_0x5f2c40(0x1f5)](_0x5f2c40(0x1fc))['to'](this),this[_0x5f2c40(0x1f7)][_0x5f2c40(0x1f5)](_0x5f2c40(0x21f))['to'](this),this[_0x5f2c40(0x1f7)][_0x5f2c40(0x216)](_0x5f2c40(0x218))['to'](this),this[_0x5f2c40(0x223)](_0x5f2c40(0x1f9),this[_0x5f2c40(0x1f7)][_0x5f2c40(0x1f9)]+0x1),this[_0x5f2c40(0x216)](_0x5f2c40(0x1f9))['to'](this[_0x5f2c40(0x1f7)],_0x5f2c40(0x1f9),_0x2d2f48=>_0x2d2f48+0x1),this[_0x5f2c40(0x205)]=this[_0x5f2c40(0x200)](),this['on'](_0x5f2c40(0x1fc),()=>this[_0x5f2c40(0x222)]()),this[_0x5f2c40(0x216)](_0x5f2c40(0x1f8))['to'](this[_0x5f2c40(0x1f7)],_0x5f2c40(0x221),this[_0x5f2c40(0x205)][_0x5f2c40(0x214)],_0x5f2c40(0x206),(_0x49d4ae,_0x3c70b9)=>_0x49d4ae||!!_0x3c70b9);}[_0x240090(0x200)](){const _0x4cfcf3=_0x240090,{CommentThreadInputView:_0x30d0f4}=this[_0x4cfcf3(0x220)],_0x48d2dc=new _0x30d0f4(this[_0x4cfcf3(0x202)],this[_0x4cfcf3(0x1f3)],this[_0x4cfcf3(0x220)][_0x4cfcf3(0x212)]),_0x17f640=_0x48d2dc[_0x4cfcf3(0x214)];return _0x48d2dc[_0x4cfcf3(0x216)](_0x4cfcf3(0x225))['to'](this,_0x4cfcf3(0x218),this[_0x4cfcf3(0x208)][_0x4cfcf3(0x1fd)],_0x4cfcf3(0x21a),_0x17f640,_0x4cfcf3(0x206),(_0x5dd76b,_0x332b96,_0x4ae93e)=>!!_0x4ae93e||_0x5dd76b&&!_0x332b96),_0x17f640['on'](_0x4cfcf3(0x217),(_0x3fe277,_0x37359d)=>{const _0x2736b0=_0x4cfcf3;this[_0x2736b0(0x1fe)](_0x2736b0(0x203),_0x37359d),_0x17f640[_0x2736b0(0x1ff)][_0x2736b0(0x20f)]('');}),_0x17f640['on'](_0x4cfcf3(0x20c),()=>this[_0x4cfcf3(0x222)]()),_0x17f640[_0x4cfcf3(0x216)](_0x4cfcf3(0x21e))['to'](this[_0x4cfcf3(0x208)][_0x4cfcf3(0x1fd)],_0x4cfcf3(0x21a)),_0x48d2dc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40158e=_0x289c;(function(_0x39ce10,_0x5c0baa){const _0x579a13=_0x289c,_0x1191ae=_0x39ce10();while(!![]){try{const _0x4ad6aa=parseInt(_0x579a13(0x1e6))/0x1+parseInt(_0x579a13(0x1e9))/0x2+-parseInt(_0x579a13(0x213))/0x3+-parseInt(_0x579a13(0x23b))/0x4+-parseInt(_0x579a13(0x242))/0x5+-parseInt(_0x579a13(0x1fd))/0x6+parseInt(_0x579a13(0x23e))/0x7;if(_0x4ad6aa===_0x5c0baa)break;else _0x1191ae['push'](_0x1191ae['shift']());}catch(_0x27a253){_0x1191ae['push'](_0x1191ae['shift']());}}}(_0x5771,0xa0555));import{getTranslation as _0x3ff833}from'../../utils/common-translations.js';import{default as _0x466469}from'./basesuggestionthreadview.js';import{ButtonView as _0xe630f}from'ckeditor5/src/ui.js';import{icons as _0xcb5da9}from'ckeditor5/src/core.js';import{trimHtml as _0x2c4e1a,UserView as _0x39eaca}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x466469{constructor(_0x1bcacf,_0x459913,_0xf104a4,_0x58606a){const _0x169fb7=_0x289c;super(_0x1bcacf,_0x459913,_0xf104a4,_0x58606a),this[_0x169fb7(0x20d)](_0x169fb7(0x246),''),this[_0x169fb7(0x231)](_0x169fb7(0x246))['to'](this,_0x169fb7(0x1ea),_0x16284b=>_0x16284b&&_0x16284b[0x0]?_0x16284b[0x0][_0x169fb7(0x246)]:''),this[_0x169fb7(0x231)](_0x169fb7(0x247))['to'](this,_0x169fb7(0x1ea),this,_0x169fb7(0x1f3),(_0x3dd033,_0xcd59c8)=>{const _0x37224a=_0x169fb7;let _0x19a236='';for(const _0x291513 of _0x3dd033)_0x19a236+=_0x37224a(0x22e)+ds(_0x291513[_0x37224a(0x211)],_0x291513[_0x37224a(0x209)])+_0x37224a(0x216);return _0xcd59c8?_0x19a236:_0x2c4e1a(_0x19a236,{'limit':0x8c});}),this[_0x169fb7(0x23a)]=null,this[_0x169fb7(0x21e)]=this[_0x169fb7(0x1f0)](_0x3ff833(_0x1bcacf,_0x169fb7(0x230)),_0xcb5da9[_0x169fb7(0x1ed)],_0x169fb7(0x1f9),_0x169fb7(0x245),'sw'),this[_0x169fb7(0x21e)][_0x169fb7(0x231)](_0x169fb7(0x1e3))['to'](this,_0x169fb7(0x1ef)),this[_0x169fb7(0x217)]=this[_0x169fb7(0x1f0)](_0x3ff833(_0x1bcacf,_0x169fb7(0x225)),_0xcb5da9[_0x169fb7(0x22a)],_0x169fb7(0x1e5),_0x169fb7(0x207),'sw'),this[_0x169fb7(0x217)][_0x169fb7(0x231)](_0x169fb7(0x1e3))['to'](this,_0x169fb7(0x1ff)),this[_0x169fb7(0x22d)]=new _0x39eaca(_0x1bcacf,this[_0x169fb7(0x23d)][_0x169fb7(0x24d)],this[_0x169fb7(0x239)]()),this[_0x169fb7(0x22d)][_0x169fb7(0x1ee)]({'attributes':{'class':[_0x169fb7(0x1f1),_0x169fb7(0x24b)]}}),this[_0x169fb7(0x205)](this[_0x169fb7(0x244)]());}[_0x40158e(0x244)](){const _0x40a0cb=_0x40158e,_0x4a43b1=this[_0x40a0cb(0x214)],_0x3f17c8=[{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x1fb),_0x40a0cb(0x21c)]},'children':[{'tag':_0x40a0cb(0x23f),'children':[{'text':this[_0x40a0cb(0x22d)][_0x40a0cb(0x20e)]}],'attributes':{'class':[_0x40a0cb(0x219),_0x40a0cb(0x1f4)]}},{'tag':_0x40a0cb(0x21d),'attributes':{'datetime':_0x4a43b1['to'](_0x40a0cb(0x21a)),'class':[_0x40a0cb(0x222),_0x40a0cb(0x203)]},'children':[{'text':_0x4a43b1['to'](_0x40a0cb(0x21a),_0x168bd8=>this[_0x40a0cb(0x1fc)][_0x40a0cb(0x235)](_0x168bd8))}]}]},{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x1e7),_0x40a0cb(0x1f2)]},'children':[this[_0x40a0cb(0x21e)],this[_0x40a0cb(0x217)]]},{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x1fe)]}}];this[_0x40a0cb(0x23d)][_0x40a0cb(0x200)]&&_0x3f17c8[_0x40a0cb(0x236)]({'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x227)]},'children':[{'text':this[_0x40a0cb(0x220)]()}]});const _0x4bf6d6={'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x204),_0x4a43b1['if'](_0x40a0cb(0x1f3),_0x40a0cb(0x24a)),_0x4a43b1['to'](_0x40a0cb(0x246),_0x402410=>_0x40a0cb(0x20b)+_0x402410),this[_0x40a0cb(0x1fc)][_0x40a0cb(0x241)]&&_0x40a0cb(0x201)],'data-suggestion-id':this[_0x40a0cb(0x23d)]['id'],'data-thread-id':this[_0x40a0cb(0x23d)][_0x40a0cb(0x210)]['id'],'data-author-id':this[_0x40a0cb(0x23d)][_0x40a0cb(0x24d)]['id'],'tabindex':-0x1},'children':[{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x20f),_0x40a0cb(0x1e4)]},'children':[this[_0x40a0cb(0x22d)],{'tag':_0x40a0cb(0x1f7),'attributes':{'class':[_0x40a0cb(0x21f),_0x40a0cb(0x21b)]},'children':_0x3f17c8}]}]};return this[_0x40a0cb(0x215)]&&this[_0x40a0cb(0x1e8)]&&(_0x4bf6d6[_0x40a0cb(0x1eb)][_0x40a0cb(0x236)](this[_0x40a0cb(0x215)],this[_0x40a0cb(0x1e8)]),this[_0x40a0cb(0x215)][_0x40a0cb(0x221)](_0x40a0cb(0x248))['to'](this),this[_0x40a0cb(0x215)][_0x40a0cb(0x221)](_0x40a0cb(0x240))['to'](this),this[_0x40a0cb(0x1e8)][_0x40a0cb(0x221)](_0x40a0cb(0x248))['to'](this),this[_0x40a0cb(0x1e8)][_0x40a0cb(0x221)](_0x40a0cb(0x240))['to'](this)),_0x4bf6d6;}[_0x40158e(0x232)](){const _0xda5503=_0x40158e;super[_0xda5503(0x232)](),this[_0xda5503(0x23a)]=this[_0xda5503(0x22b)][_0xda5503(0x202)](_0xda5503(0x23c)),this[_0xda5503(0x23a)][_0xda5503(0x212)]=this[_0xda5503(0x247)],this['on'](_0xda5503(0x1f6),(_0x305dc9,_0xcca9a8,_0x359b3e)=>{const _0x921299=_0xda5503;this[_0x921299(0x23a)][_0x921299(0x212)]=_0x359b3e;});}[_0x40158e(0x1f0)](_0x98a79f,_0x505de4,_0x50433e,_0x38a193,_0x2a273b){const _0x1739c9=_0x40158e,_0x2bbc1e=new _0xe630f(this[_0x1739c9(0x1f5)]);return _0x2bbc1e[_0x1739c9(0x20d)]({'label':_0x98a79f,'icon':_0x505de4,'tooltip':!0x0,'tooltipPosition':_0x2a273b}),_0x2bbc1e[_0x1739c9(0x1ee)]({'attributes':{'class':_0x50433e}}),_0x2bbc1e['on'](_0x1739c9(0x237),()=>{const _0x33c115=_0x1739c9;this[_0x33c115(0x208)](_0x38a193,this[_0x33c115(0x23d)]['id']);}),_0x2bbc1e;}[_0x40158e(0x220)](){const _0x5650d4=_0x40158e;return _0x5650d4(0x206)===this[_0x5650d4(0x23d)][_0x5650d4(0x22c)][_0x5650d4(0x223)][_0x5650d4(0x20c)]?_0x3ff833(this[_0x5650d4(0x1f5)],_0x5650d4(0x243)):_0x3ff833(this[_0x5650d4(0x1f5)],_0x5650d4(0x238));}[_0x40158e(0x239)](){const _0x35c962=_0x40158e;return this[_0x35c962(0x23d)][_0x35c962(0x200)]?_0x35c962(0x206)===this[_0x35c962(0x23d)][_0x35c962(0x22c)][_0x35c962(0x223)][_0x35c962(0x20c)]?_0x3ff833(this[_0x35c962(0x1f5)],_0x35c962(0x218),this[_0x35c962(0x23d)][_0x35c962(0x20a)][_0x35c962(0x20e)]):_0x3ff833(this[_0x35c962(0x1f5)],_0x35c962(0x1e2),this[_0x35c962(0x23d)][_0x35c962(0x20a)][_0x35c962(0x20e)]):null;}}function _0x289c(_0x1192c7,_0xacd4e){const _0x5771f1=_0x5771();return _0x289c=function(_0x289ca5,_0x418e7a){_0x289ca5=_0x289ca5-0x1e2;let _0x2cca87=_0x5771f1[_0x289ca5];return _0x2cca87;},_0x289c(_0x1192c7,_0xacd4e);}function _0x5771(){const _0x47141b=['EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__info-name','authoredAt','ck-annotation__main','ck-annotation__info','time','acceptButton','ck-suggestion__main','getExternalSuggestionNote','delegate','ck-comment__info-time','@external','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','Discard\x20suggestion','join','ck-comment__external','</span>','value','cancel','element','attributes','userView','<p>','split','Accept\x20suggestion','bind','render','createElement','\x22></span>','formatDateTime','push','execute','EXTERNAL_SUGGESTION','getUserViewNotificationText','_descriptionElement','744364tsStsY','.ck-annotation__content-wrapper','_model','5702480hLOwtA','span','editorDestroyed','disableComments','859120HGWstT','EXTERNAL_IMPORT_WORD_SUGGESTION','getTemplate','acceptSuggestion','type','description','editorReady','innerText','ck-suggestion-wrapper--active','ck-annotation__user','\x22\x20title=\x22','author','EXTERNAL_AVATAR','isEnabled','ck-annotation','ck-suggestion--discard','820882ffZydb','ck-suggestion__actions','commentThreadInputView','1233756BSpXLO','descriptionParts','children','map','check','extendTemplate','canAccept','_createButton','ck-suggestion__user','ck-annotation__actions','isActive','ck-annotation__info-name','locale','change:description','div','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion--accept','title','ck-suggestion__info','_config','1032540viUGgn','ck-annotation__content-wrapper','canDiscard','isExternal','ck-suggestion--disabled-comments','querySelector','ck-annotation__info-time','ck-suggestion-wrapper','setTemplate','importWord','discardSuggestion','fire','color','creator','ck-suggestion-','source','set','name','ck-suggestion','commentThread','content','innerHTML','3197010SzTPTd','bindTemplate','commentsListView','</p>','discardButton'];_0x5771=function(){return _0x47141b;};return _0x5771();}function ds(_0x2d11b8,_0x6ce4c){const _0x15c260=_0x40158e;let _0x3f2ed7='';return _0x3f2ed7+=_0x2d11b8[_0x15c260(0x22f)]('*')[_0x15c260(0x1ec)]((_0x306f34,_0x3c3991)=>_0x3c3991%0x2!=0x0?_0x15c260(0x1f8)+us(_0x306f34)+_0x15c260(0x228):us(_0x306f34))[_0x15c260(0x226)](''),_0x6ce4c&&(_0x3f2ed7+=_0x15c260(0x224)+_0x6ce4c[_0x15c260(0x229)]+_0x15c260(0x24c)+_0x6ce4c[_0x15c260(0x1fa)]+_0x15c260(0x234)),_0x3f2ed7;}function us(_0x5a0e70){const _0xda73fd=_0x40158e,_0x3b1d21=document[_0xda73fd(0x233)](_0xda73fd(0x23f));return _0x3b1d21[_0xda73fd(0x249)]=_0x5a0e70,_0x3b1d21[_0xda73fd(0x212)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x52e03b,_0x2b2b9a,_0x32fb67){const t=_0x52e03b['t'];switch(_0x2b2b9a){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'*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',_0x32fb67);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x32fb67);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x32fb67);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x32fb67);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x32fb67);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',_0x32fb67);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x32fb67);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x32fb67);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x32fb67);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x32fb67);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x32fb67);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x32fb67);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x32fb67);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x32fb67);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x32fb67);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x32fb67);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x32fb67);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x32fb67);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x32fb67);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x32fb67);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x32fb67);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x32fb67);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x32fb67);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'},_0x32fb67);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x32fb67);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x32fb67);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x32fb67);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x32fb67);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x32fb67);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'},_0x32fb67);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x32fb67);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x32fb67);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x32fb67);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x32fb67);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x32fb67);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x32fb67);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'},_0x32fb67);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'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'},_0x32fb67);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x32fb67);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'},_0x32fb67);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x32fb67);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'},_0x32fb67);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x32fb67);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x32fb67);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});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 t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x32fb67);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x32fb67);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x2b2b9a;}}
|
|
23
|
+
export function getTranslation(_0x1f21e8,_0x49bcfe,_0x314e48){const t=_0x1f21e8['t'];switch(_0x49bcfe){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'*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',_0x314e48);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x314e48);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x314e48);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x314e48);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x314e48);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',_0x314e48);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x314e48);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x314e48);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x314e48);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x314e48);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x314e48);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x314e48);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x314e48);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x314e48);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x314e48);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x314e48);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x314e48);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x314e48);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x314e48);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x314e48);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x314e48);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x314e48);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x314e48);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'},_0x314e48);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x314e48);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x314e48);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x314e48);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x314e48);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x314e48);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'},_0x314e48);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x314e48);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x314e48);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x314e48);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x314e48);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x314e48);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x314e48);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'},_0x314e48);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'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'},_0x314e48);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x314e48);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'},_0x314e48);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x314e48);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'},_0x314e48);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x314e48);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x314e48);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});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 t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x314e48);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x314e48);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x49bcfe;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x36e8a7,_0x545058){const _0x2c9838=_0x5035,_0x55a0c3=_0x36e8a7();while(!![]){try{const _0x2dfb9b=-parseInt(_0x2c9838(0xc1))/0x1+-parseInt(_0x2c9838(0xbb))/0x2+parseInt(_0x2c9838(0xc6))/0x3+-parseInt(_0x2c9838(0xcc))/0x4*(parseInt(_0x2c9838(0xd7))/0x5)+-parseInt(_0x2c9838(0xbf))/0x6+-parseInt(_0x2c9838(0xdf))/0x7*(-parseInt(_0x2c9838(0xc0))/0x8)+parseInt(_0x2c9838(0xbc))/0x9*(parseInt(_0x2c9838(0xd5))/0xa);if(_0x2dfb9b===_0x545058)break;else _0x55a0c3['push'](_0x55a0c3['shift']());}catch(_0x120f99){_0x55a0c3['push'](_0x55a0c3['shift']());}}}(_0x18c9,0x93a19));export function normalizeDescription(_0x4707d1){const _0x2b167d=_0x5035;return Array[_0x2b167d(0xe0)](_0x4707d1)||(_0x4707d1=[_0x4707d1]),_0x4707d1[_0x2b167d(0xd2)](_0x583c49=>{const _0x20bc8d=_0x2b167d,_0x41eee9=_0x583c49[_0x20bc8d(0xe2)][_0x20bc8d(0xc7)](/\*/g,''),_0x17f75c=_0x583c49[_0x20bc8d(0xd8)]?_0x20bc8d(0xd4)+_0x583c49[_0x20bc8d(0xd8)][_0x20bc8d(0xca)]+']':'';return'['+_0x583c49[_0x20bc8d(0xe4)]+']\x20'+_0x41eee9+_0x17f75c;})[_0x2b167d(0xe3)](';\x20');}function _0x18c9(){const _0x43bc17=['\x20[color\x20','63970ngfeEl','length','40SQBlzm','color','splice','add','execute','schema','isTouching','createPositionBefore','63cNmeWM','isArray','change','content','join','type','from','1006204CVJNmw','1143bpHsrq','createRange','isCollapsed','3392412WKzECz','474184Rjtgbu','634702LTCPxH','createPositionAt','next','isInContent','isMultiRange','3320169KRsZjo','replace','end','sort','value','push','72348sBQuWz','isIntersecting','start','createPositionAfter','deletion','getRanges','map','isObject'];_0x18c9=function(){return _0x43bc17;};return _0x18c9();}export function sortSuggestions(_0x31674b){const _0x4e8e76=_0x5035;return _0x31674b[_0x4e8e76(0xc9)]((_0x130c9e,_0x5bb8f6)=>_0x4e8e76(0xd0)==_0x130c9e[_0x4e8e76(0xe4)]&&_0x4e8e76(0xd0)!=_0x5bb8f6[_0x4e8e76(0xe4)]?-0x1:_0x4e8e76(0xd0)!=_0x130c9e[_0x4e8e76(0xe4)]&&_0x4e8e76(0xd0)==_0x5bb8f6[_0x4e8e76(0xe4)]?0x1:0x0);}export function getSelectedSuggestions(_0x4caedb,_0x1229b1){const _0x58eaa5=_0x5035,_0x3b069b=Array[_0x58eaa5(0xba)](_0x4caedb[_0x58eaa5(0xd1)]()),_0x4e6efc=new Set();for(const _0x4e0788 of _0x1229b1)if(_0x4e0788[_0x58eaa5(0xc4)]){for(const _0x5b28fc of _0x3b069b)for(const _0x2043fa of _0x4e0788[_0x58eaa5(0xd1)]())(_0x5b28fc[_0x58eaa5(0xcd)](_0x2043fa)||_0x4caedb[_0x58eaa5(0xbe)]&&!_0x4e0788[_0x58eaa5(0xc5)]&&_0x4e0788[_0x58eaa5(0xc3)]&&_0x2043fa[_0x58eaa5(0xc8)][_0x58eaa5(0xdd)](_0x5b28fc[_0x58eaa5(0xce)]))&&_0x4e6efc[_0x58eaa5(0xda)](_0x4e0788);}return _0x4e6efc;}export function getRangesOfBlockGroups(_0x5c77c6,_0x141b46){const _0x5459b3=_0x5035;let _0x1a585b,_0x7c8585=0x0;const _0x58fbf5=[],_0x4bef32=_0x141b46[_0x5459b3(0xdc)];for(;_0x7c8585<_0x5c77c6[_0x5459b3(0xd6)];){const _0x1da7c2=_0x5c77c6[_0x7c8585],_0x7c29d5=_0x5c77c6[_0x7c8585+0x1];_0x1a585b||(_0x1a585b=_0x141b46[_0x5459b3(0xde)](_0x1da7c2)),oo(_0x141b46,_0x1da7c2,_0x7c29d5)||(_0x58fbf5[_0x5459b3(0xcb)](_0x141b46[_0x5459b3(0xbd)](_0x1a585b,_0x4bef32[_0x5459b3(0xd3)](_0x1da7c2)?_0x141b46[_0x5459b3(0xcf)](_0x1da7c2):_0x141b46[_0x5459b3(0xc2)](_0x1da7c2,_0x5459b3(0xc8)))),_0x1a585b=null),_0x7c8585++;}return _0x58fbf5;}function oo(_0x173c14,_0x21c906,_0x290703){const _0x443eef=_0x5035;if(!_0x290703)return!0x1;const _0x32e189=_0x173c14[_0x443eef(0xcf)](_0x21c906),_0x2e11c3=_0x173c14[_0x443eef(0xde)](_0x290703);return _0x32e189[_0x443eef(0xdd)](_0x2e11c3);}function _0x5035(_0x5dc108,_0x4f73ff){const _0x18c998=_0x18c9();return _0x5035=function(_0x50358d,_0x2e4f75){_0x50358d=_0x50358d-0xba;let _0x1a7128=_0x18c998[_0x50358d];return _0x1a7128;},_0x5035(_0x5dc108,_0x4f73ff);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x452124,_0x53e963,_0x3618ec){const _0xc4a97b=_0x5035;for(;_0x3618ec[_0xc4a97b(0xd6)];){const _0x38f181=_0x3618ec[_0xc4a97b(0xd9)](0x0,0x64);_0x452124[_0xc4a97b(0xe1)](()=>{const _0x26eb17=_0xc4a97b;for(const _0xb3047d of _0x38f181)_0xb3047d[_0x26eb17(0xc4)]&&_0x53e963[_0x26eb17(0xdb)](_0xb3047d['id']);});}}
|