@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240712.0 → 0.0.0-nightly-20240713.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.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -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 +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/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
|
-
function _0x4a12(){const _0x471bb8=['unbind','commandName','isInContent','119NyiFBs','some','from','menuitem','commands','getRanges','Discard\x20all\x20selected\x20suggestions','switchbutton','reduce','comments.editorConfig','3764889ZOXRtS','SuggestionThreadView','editing','type','change:activeAnnotations','Accept\x20all\x20selected\x20suggestions','menu','Annotations','CommentsRepository','children','lowest','_unbindEditors','has','_bindAnnotationToEditors','getByInnerView','trackChanges','keys','discardButton','getMarkerNames','add','_createToolbarButton','3736iRVcyN','_viewToController','getMarkers','previous','EditorAnnotations','push','1232559RZQngz','createCommentThreadController','buttonView','getJoined','comments','items','delete','_annotationViews','config','Accept\x20all\x20suggestions','descriptionParts','TrackChangesUI','pluginName','_refreshActiveMarkers','button','menuBar:trackChanges','editor','getFirstRange','value','18fhwjBk','860008FkBoNl','suggestionChanged','destroy','head','descriptionFactory','mainView','panelView','_updateController','refreshSelectedViews','getDescriptions','view','innerView','arrowView','acceptButton','trackChanges.SuggestionThreadView','Discard\x20all\x20suggestions','isEnabled','remove','listenTo','suggestionLoaded','model','values','acceptAllSuggestions','separator','createAnnotation','activeMarkers','CommentView','comments.maxCommentsWhenCollapsed','813425SfNfhd','_initializeController','_handleSuggestionControllerDelayed','filter','comments.maxCommentCharsWhenCollapsed','trackChanges.disableComments','activeAnnotations','isMultiRange','acceptSelectedSuggestions','discardSelectedSuggestions','TrackChangesEditing','init','requires','addComment','focus','getSuggestion','_destroyController','get','isOn','stopListening','_handleControllerBuffer','_disableComments','905AcSuJd','componentFactory','discardAllSuggestions','bind','registerAnnotation','toMany','define','comments.maxThreadTotalWeight','plugins','10wUkFWg','510phHdtT','suggestionUnloaded','delegate','16523166gkgYMJ','actionView','addSourceCollector','execute','getAllAdjacentSuggestions','clear','change:previous','_suggestionToController','hasSuggestion','suggestion-','size','Track\x20changes','source','createAnnotationView','CommentsUI','set','isDirty','commentThread','_addUIComponentsToFactory','locale','length','menuitemcheckbox','_createMenuBarMenu'];_0x4a12=function(){return _0x471bb8;};return _0x4a12();}const _0x177b9c=_0x43ec;(function(_0x4ac904,_0x39237a){const _0x554b37=_0x43ec,_0x180185=_0x4ac904();while(!![]){try{const _0x367f10=parseInt(_0x554b37(0x21f))/0x1*(parseInt(_0x554b37(0x229))/0x2)+parseInt(_0x554b37(0x1d9))/0x3+parseInt(_0x554b37(0x1ed))/0x4+parseInt(_0x554b37(0x209))/0x5*(parseInt(_0x554b37(0x1ec))/0x6)+-parseInt(_0x554b37(0x1b4))/0x7*(-parseInt(_0x554b37(0x1d3))/0x8)+parseInt(_0x554b37(0x1be))/0x9*(parseInt(_0x554b37(0x228))/0xa)+-parseInt(_0x554b37(0x22c))/0xb;if(_0x367f10===_0x39237a)break;else _0x180185['push'](_0x180185['shift']());}catch(_0x561a82){_0x180185['push'](_0x180185['shift']());}}}(_0x4a12,0x41a27));import{Plugin as _0x3a452f}from'ckeditor5/src/core.js';import{Collection as _0xe08846}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5c4ddc,createDropdown as _0x3dbdcf,ListSeparatorView as _0x3550d4,MenuBarMenuView as _0x25eac0,MenuBarMenuListView as _0x4ca190,MenuBarMenuListItemView as _0x2a7b1c,MenuBarMenuListItemButtonView as _0x37f6aa,SplitButtonView as _0x1f5591,ViewModel as _0x3f8c3c}from'ckeditor5/src/ui.js';import{Users as _0x3e9e16,getDateTimeFormatter as _0x29801a,getAllMarkersDomElementsSorted as _0x541303}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x11abd1 from'./trackchangesediting.js';function _0x43ec(_0x553b49,_0x36fc27){const _0x4a123c=_0x4a12();return _0x43ec=function(_0x43ec57,_0x13474c){_0x43ec57=_0x43ec57-0x1b3;let _0x231d2c=_0x4a123c[_0x43ec57];return _0x231d2c;},_0x43ec(_0x553b49,_0x36fc27);}import _0x501ce5 from'./ui/suggestioncontroller.js';import _0x4616c7 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1674d3}from'./utils/common-translations.js';import _0x2bcd4c from'../theme/icons/track-changes.svg';export default class d extends _0x3a452f{static get[_0x177b9c(0x215)](){const _0x3fff1e=_0x177b9c;return[_0x11abd1,_0x3e9e16,_0x3fff1e(0x1c6),_0x3fff1e(0x1c5),_0x3fff1e(0x1d7)];}static get[_0x177b9c(0x1e5)](){const _0x6ca1f1=_0x177b9c;return _0x6ca1f1(0x1e4);}constructor(_0x145b84){const _0x2e514b=_0x177b9c;super(_0x145b84),this[_0x2e514b(0x233)]=new Map(),this[_0x2e514b(0x1d4)]=new Map(),this[_0x2e514b(0x1e0)]=new Map(),this[_0x2e514b(0x21d)]=new Map();const _0x42a8ad=this[_0x2e514b(0x1e9)][_0x2e514b(0x1e1)];_0x42a8ad[_0x2e514b(0x225)](_0x2e514b(0x1fb),_0x4616c7),_0x42a8ad[_0x2e514b(0x225)](_0x2e514b(0x20e),!0x1),this[_0x2e514b(0x21e)]=_0x42a8ad[_0x2e514b(0x21a)](_0x2e514b(0x20e));}[_0x177b9c(0x20b)](_0x5a61ec,_0xb74f1f){const _0x2cc06b=_0x177b9c;0x0===this[_0x2cc06b(0x21d)][_0x2cc06b(0x236)]&&setTimeout(()=>{const _0x561cd4=_0x2cc06b;for(const [_0x26f9f1,_0x5674dc]of this[_0x561cd4(0x21d)]){const _0x249b74=this[_0x561cd4(0x233)][_0x561cd4(0x1ca)](_0x26f9f1);_0x249b74||_0x5674dc?_0x249b74&&_0x5674dc&&this[_0x561cd4(0x219)](_0x26f9f1):this[_0x561cd4(0x20a)](_0x26f9f1);}this[_0x561cd4(0x21d)][_0x561cd4(0x231)](),this[_0x561cd4(0x1e9)][_0x561cd4(0x227)][_0x561cd4(0x21a)](_0x561cd4(0x1d7))[_0x561cd4(0x1f5)](),this[_0x561cd4(0x1e6)]();},0xa),this[_0x2cc06b(0x21d)][_0x2cc06b(0x23b)](_0x5a61ec,_0xb74f1f);}[_0x177b9c(0x214)](){const _0x422630=_0x177b9c,_0x1d302f=this[_0x422630(0x1e9)],_0x178099=_0x1d302f[_0x422630(0x227)][_0x422630(0x21a)](_0x422630(0x213)),_0x5763b4=_0x1d302f[_0x422630(0x227)][_0x422630(0x21a)](_0x422630(0x1c5)),_0x48d071=_0x1d302f[_0x422630(0x227)][_0x422630(0x21a)](_0x422630(0x1d7)),_0x4a8738=_0x1d302f[_0x422630(0x227)][_0x422630(0x21a)](_0x422630(0x1c6));this[_0x422630(0x23e)](),_0x48d071[_0x422630(0x22e)](()=>{const _0xf0941b=_0x422630,_0x35e2c7=[];for(const [_0x3c73a8,_0x4ff5f3]of Array[_0xf0941b(0x1b6)](this[_0xf0941b(0x233)])){const _0x1429cc=_0x3c73a8[_0xf0941b(0x230)](),_0xe86573=[];for(const _0x2a4307 of _0x1429cc){if(!_0x2a4307[_0xf0941b(0x1b3)])continue;if(_0x2a4307[_0xf0941b(0x210)]){_0xe86573[_0xf0941b(0x1d8)](..._0x2a4307[_0xf0941b(0x1b9)]());continue;}const _0x2bd121=_0x2a4307[_0xf0941b(0x1ea)]();if(_0xe86573[_0xf0941b(0x240)]>0x0){const _0x5c249e=_0xe86573[0x0][_0xf0941b(0x1dc)](_0x2bd121);if(_0x5c249e){_0xe86573[0x0]=_0x5c249e;continue;}}_0xe86573[_0xf0941b(0x1d8)](_0x2bd121);}_0x35e2c7[_0xf0941b(0x1d8)]([_0x4ff5f3[_0xf0941b(0x1f7)],_0xe86573]);}return _0x35e2c7;}),this[_0x422630(0x1ff)](_0x178099,_0x422630(0x200),(_0x5ce7ff,_0x2fe500)=>{const _0x3ba4ec=_0x422630;this[_0x3ba4ec(0x1ff)](_0x2fe500,_0x3ba4ec(0x232),(_0xe1c872,_0x2094d2,_0x28c29c,_0x44cdff)=>{const _0x131d5a=_0x3ba4ec;_0x2fe500[_0x131d5a(0x1b3)]&&(null==_0x28c29c?(this[_0x131d5a(0x1f4)](_0x44cdff[_0x131d5a(0x1f0)]),this[_0x131d5a(0x20b)](_0x2fe500,!0x1)):(this[_0x131d5a(0x1f4)](_0x28c29c[_0x131d5a(0x1f0)]),null==_0x44cdff&&this[_0x131d5a(0x20b)](_0x2fe500,!0x0)));}),null!==_0x2fe500[_0x3ba4ec(0x1d6)]?this[_0x3ba4ec(0x1f4)](_0x2fe500[_0x3ba4ec(0x1f0)]):this[_0x3ba4ec(0x20b)](_0x2fe500,!0x1);}),this[_0x422630(0x1ff)](_0x178099,_0x422630(0x22a),(_0x59ff27,_0x2bc30d,_0x50ca3c)=>{const _0x270d92=_0x422630;this[_0x270d92(0x21c)](_0x2bc30d,_0x270d92(0x232)),this[_0x270d92(0x21d)][_0x270d92(0x1df)](_0x2bc30d),this[_0x270d92(0x233)][_0x270d92(0x1ca)](_0x2bc30d)&&this[_0x270d92(0x219)](_0x2bc30d),_0x50ca3c&&this[_0x270d92(0x1f4)](_0x50ca3c[_0x270d92(0x1f0)]);}),this[_0x422630(0x1ff)](_0x178099,_0x422630(0x1ee),(_0x28acd4,_0x4d113f)=>{const _0x502d11=_0x422630;this[_0x502d11(0x1f4)](_0x4d113f);}),this[_0x422630(0x1ff)](_0x5763b4,_0x422630(0x1c2),()=>{const _0x5b9cb5=_0x422630;this[_0x5b9cb5(0x1e6)]();}),this[_0x422630(0x1ff)](_0x4a8738,_0x422630(0x216),(_0x1eda1e,{threadId:_0x3d5216,isFromAdapter:_0x4f0afa})=>{const _0x516b55=_0x422630;if(_0x4f0afa||!_0x178099[_0x516b55(0x234)](_0x3d5216))return;const _0xe5be55=_0x178099[_0x516b55(0x218)](_0x3d5216);this[_0x516b55(0x233)][_0x516b55(0x21a)](_0xe5be55)[_0x516b55(0x1f7)][_0x516b55(0x217)]();},{'priority':_0x422630(0x1c8)});}[_0x177b9c(0x1e6)](){const _0x1608b9=_0x177b9c,_0x23b602=this[_0x1608b9(0x1e9)][_0x1608b9(0x227)][_0x1608b9(0x21a)](_0x1608b9(0x1c5)),_0x25ca26=this[_0x1608b9(0x1e9)][_0x1608b9(0x227)][_0x1608b9(0x21a)](_0x1608b9(0x213)),_0x36b9b7=Array[_0x1608b9(0x1b6)](_0x23b602[_0x1608b9(0x20f)],_0xc0b5a5=>_0xc0b5a5[_0x1608b9(0x1f8)])[_0x1608b9(0x20c)](_0x439068=>this[_0x1608b9(0x1d4)][_0x1608b9(0x1ca)](_0x439068)),_0x10e029=[];for(const _0x3183b1 of _0x36b9b7){const _0x1187f2=this[_0x1608b9(0x1d4)][_0x1608b9(0x21a)](_0x3183b1)[_0x1608b9(0x201)][_0x1608b9(0x230)]();_0x10e029[_0x1608b9(0x1d8)](..._0x1187f2[_0x1608b9(0x1bc)]((_0x353361,_0x48807e)=>[..._0x353361,..._0x48807e[_0x1608b9(0x1d0)]()],[]));}_0x25ca26[_0x1608b9(0x206)]=_0x10e029;}[_0x177b9c(0x23e)](){const _0x5d62ba=_0x177b9c,_0x42886c=this[_0x5d62ba(0x1e9)],_0x5d60f7=_0x42886c[_0x5d62ba(0x23f)],_0x50d6a4=_0x1674d3(_0x5d60f7,_0x5d62ba(0x237)),_0x17df50=new _0xe08846([{'type':_0x5d62ba(0x1bb),'model':new _0x3f8c3c({'withText':!0x0,'isToggleable':!0x0,'label':_0x50d6a4,'commandName':_0x5d62ba(0x1cd),'role':_0x5d62ba(0x241)})},{'type':_0x5d62ba(0x204)},{'type':_0x5d62ba(0x1e7),'model':new _0x3f8c3c({'withText':!0x0,'label':_0x1674d3(_0x5d60f7,_0x5d62ba(0x1e2)),'commandName':_0x5d62ba(0x203),'role':_0x5d62ba(0x1b7)})},{'type':_0x5d62ba(0x1e7),'model':new _0x3f8c3c({'withText':!0x0,'label':_0x1674d3(_0x5d60f7,_0x5d62ba(0x1c3)),'commandName':_0x5d62ba(0x211),'role':_0x5d62ba(0x1b7)})},{'type':_0x5d62ba(0x1e7),'model':new _0x3f8c3c({'withText':!0x0,'label':_0x1674d3(_0x5d60f7,_0x5d62ba(0x1fc)),'commandName':_0x5d62ba(0x221),'role':_0x5d62ba(0x1b7)})},{'type':_0x5d62ba(0x1e7),'model':new _0x3f8c3c({'withText':!0x0,'label':_0x1674d3(_0x5d60f7,_0x5d62ba(0x1ba)),'commandName':_0x5d62ba(0x212),'role':_0x5d62ba(0x1b7)})}]);for(const _0x24a7f7 of _0x17df50)if(ae(_0x24a7f7)){const _0x137eed=_0x42886c[_0x5d62ba(0x1b8)][_0x5d62ba(0x21a)](_0x24a7f7[_0x5d62ba(0x201)][_0x5d62ba(0x244)]);_0x24a7f7[_0x5d62ba(0x201)][_0x5d62ba(0x222)](_0x5d62ba(0x21b),_0x5d62ba(0x1fd))['to'](_0x137eed,_0x5d62ba(0x1eb),_0x5d62ba(0x1fd));}_0x42886c['ui'][_0x5d62ba(0x220)][_0x5d62ba(0x1d1)](_0x5d62ba(0x1cd),_0x3f6f98=>this[_0x5d62ba(0x1d2)](_0x3f6f98,_0x17df50,_0x50d6a4)),_0x42886c['ui'][_0x5d62ba(0x220)][_0x5d62ba(0x1d1)](_0x5d62ba(0x1e8),_0x4c3c88=>this[_0x5d62ba(0x242)](_0x4c3c88,_0x17df50,_0x50d6a4));}[_0x177b9c(0x1d2)](_0x212809,_0x18ad63,_0x3ee37e){const _0x5802e5=_0x177b9c,_0x1df0be=_0x3dbdcf(_0x212809,_0x1f5591),_0x25032f=this[_0x5802e5(0x1e9)][_0x5802e5(0x1b8)][_0x5802e5(0x21a)](_0x5802e5(0x1cd));_0x1df0be[_0x5802e5(0x1db)][_0x5802e5(0x23b)]({'tooltip':_0x3ee37e,'label':_0x3ee37e,'icon':_0x2bcd4c}),_0x1df0be[_0x5802e5(0x1db)][_0x5802e5(0x222)](_0x5802e5(0x21b))['to'](_0x25032f,_0x5802e5(0x1eb)),_0x1df0be[_0x5802e5(0x1db)]['on'](_0x5802e5(0x22f),()=>{const _0x543f2d=_0x5802e5;_0x25032f[_0x543f2d(0x22f)](),this[_0x543f2d(0x1e9)][_0x543f2d(0x1c0)][_0x543f2d(0x1f7)][_0x543f2d(0x217)]();}),_0x5c4ddc(_0x1df0be,_0x18ad63,{'role':_0x5802e5(0x1c4)});const _0x3f661b=[];for(const _0x91d2f7 of _0x18ad63)ae(_0x91d2f7)&&_0x3f661b[_0x5802e5(0x1d8)](this[_0x5802e5(0x1e9)][_0x5802e5(0x1b8)][_0x5802e5(0x21a)](_0x91d2f7[_0x5802e5(0x201)][_0x5802e5(0x244)]));const _0x5a7ff3=_0x1df0be[_0x5802e5(0x1db)];return _0x5a7ff3[_0x5802e5(0x22d)][_0x5802e5(0x243)](_0x5802e5(0x1fd)),_0x5a7ff3[_0x5802e5(0x1f9)][_0x5802e5(0x243)](_0x5802e5(0x1fd)),_0x5a7ff3[_0x5802e5(0x22d)][_0x5802e5(0x222)](_0x5802e5(0x1fd))['to'](_0x25032f,_0x5802e5(0x1fd)),_0x5a7ff3[_0x5802e5(0x1f9)][_0x5802e5(0x222)](_0x5802e5(0x1fd))[_0x5802e5(0x224)](_0x3f661b,_0x5802e5(0x1fd),(..._0x4e5cb3)=>_0x4e5cb3[_0x5802e5(0x1b5)](_0x2feb24=>_0x2feb24)),_0x1df0be['on'](_0x5802e5(0x22f),_0x443db0=>{const _0x1f6851=_0x5802e5;this[_0x1f6851(0x1e9)][_0x1f6851(0x22f)](_0x443db0[_0x1f6851(0x238)][_0x1f6851(0x244)]),this[_0x1f6851(0x1e9)][_0x1f6851(0x1c0)][_0x1f6851(0x1f7)][_0x1f6851(0x217)]();}),_0x1df0be;}[_0x177b9c(0x242)](_0x2ee10e,_0x412b77,_0x19fec4){const _0x4978ea=_0x177b9c,_0x5b7cf2=new _0x25eac0(_0x2ee10e),_0x493d72=this[_0x4978ea(0x1e9)][_0x4978ea(0x1b8)][_0x4978ea(0x21a)](_0x4978ea(0x1cd));_0x5b7cf2[_0x4978ea(0x1db)][_0x4978ea(0x23b)]({'label':_0x19fec4,'icon':_0x2bcd4c});const _0x5872bd=new _0x4ca190(_0x2ee10e);for(const _0x1595c5 of _0x412b77){if(_0x4978ea(0x204)==_0x1595c5[_0x4978ea(0x1c1)]){_0x5872bd[_0x4978ea(0x1de)][_0x4978ea(0x1d1)](new _0x3550d4(_0x2ee10e));continue;}const _0xa5a972=new _0x2a7b1c(_0x2ee10e,_0x5b7cf2),_0x1b58ad=new _0x37f6aa(_0x2ee10e),_0x37fbcc=_0x1595c5[_0x4978ea(0x201)];_0x1b58ad[_0x4978ea(0x222)](...Object[_0x4978ea(0x1ce)](_0x37fbcc))['to'](_0x37fbcc),_0x1b58ad[_0x4978ea(0x22b)](_0x4978ea(0x22f))['to'](_0x5b7cf2),_0x1b58ad['on'](_0x4978ea(0x22f),()=>{const _0x36946e=_0x4978ea;this[_0x36946e(0x1e9)][_0x36946e(0x22f)](_0x37fbcc[_0x36946e(0x244)]),this[_0x36946e(0x1e9)][_0x36946e(0x1c0)][_0x36946e(0x1f7)][_0x36946e(0x217)]();}),_0xa5a972[_0x4978ea(0x1c7)][_0x4978ea(0x1d1)](_0x1b58ad),_0x5872bd[_0x4978ea(0x1de)][_0x4978ea(0x1d1)](_0xa5a972);}return _0x5b7cf2[_0x4978ea(0x222)](_0x4978ea(0x1fd))['to'](_0x493d72,_0x4978ea(0x1fd)),_0x5b7cf2[_0x4978ea(0x1f3)][_0x4978ea(0x1c7)][_0x4978ea(0x1d1)](_0x5872bd),_0x5b7cf2;}[_0x177b9c(0x20a)](_0x4137bb){const _0x1b2265=_0x177b9c,_0x3b12db=this[_0x1b2265(0x1e9)],_0x537e36=_0x3b12db[_0x1b2265(0x1e1)],_0x26b8b1=_0x3b12db[_0x1b2265(0x227)][_0x1b2265(0x21a)](_0x1b2265(0x1c5)),_0x223ca2=_0x3b12db[_0x1b2265(0x227)][_0x1b2265(0x21a)](_0x1b2265(0x1c6)),_0x1e2960=_0x3b12db[_0x1b2265(0x227)][_0x1b2265(0x21a)](_0x1b2265(0x1d7)),_0x33108a=_0x3b12db[_0x1b2265(0x227)][_0x1b2265(0x21a)](_0x3e9e16)['me'],_0x3269be=_0x537e36[_0x1b2265(0x21a)](_0x1b2265(0x1cd))[_0x1b2265(0x1bf)],{CommentsListView:_0x5ef7d7,CommentThreadInputView:_0x191215}=_0x3b12db[_0x1b2265(0x227)][_0x1b2265(0x21a)](_0x1b2265(0x23a));let _0x43b92b,_0x844cca;this[_0x1b2265(0x1e0)][_0x1b2265(0x1ca)](_0x4137bb['id'])?(_0x844cca=this[_0x1b2265(0x1e0)][_0x1b2265(0x21a)](_0x4137bb['id']),_0x43b92b=_0x844cca[_0x1b2265(0x1f2)]):(_0x43b92b=new _0x3269be(_0x3b12db[_0x1b2265(0x23f)],_0x4137bb,_0x33108a,{'disableComments':this[_0x1b2265(0x21e)],'editorConfig':_0x537e36[_0x1b2265(0x21a)](_0x1b2265(0x1bd)),'maxCommentsWhenCollapsed':_0x537e36[_0x1b2265(0x21a)](_0x1b2265(0x208)),'maxThreadTotalWeight':_0x537e36[_0x1b2265(0x21a)](_0x1b2265(0x226)),'maxCommentCharsWhenCollapsed':_0x537e36[_0x1b2265(0x21a)](_0x1b2265(0x20d)),'formatDateTime':_0x29801a(_0x537e36[_0x1b2265(0x21a)](_0x1b2265(0x23f))),'CommentView':_0x537e36[_0x1b2265(0x21a)](_0x1b2265(0x1dd))[_0x1b2265(0x207)],'CommentsListView':_0x5ef7d7,'CommentThreadInputView':_0x191215}),_0x43b92b[_0x1b2265(0x1fa)]['on'](_0x1b2265(0x22f),()=>{const _0x1c7aeb=_0x1b2265;_0x3b12db[_0x1c7aeb(0x1c0)][_0x1c7aeb(0x1f7)][_0x1c7aeb(0x217)]();}),_0x43b92b[_0x1b2265(0x1cf)]['on'](_0x1b2265(0x22f),()=>{const _0x24f26a=_0x1b2265;_0x3b12db[_0x24f26a(0x1c0)][_0x24f26a(0x1f7)][_0x24f26a(0x217)]();}),_0x844cca=_0x26b8b1[_0x1b2265(0x239)](this[_0x1b2265(0x1e9)][_0x1b2265(0x23f)],_0x43b92b),_0x844cca[_0x1b2265(0x222)](_0x1b2265(0x23c))['to'](_0x43b92b,_0x1b2265(0x23c)),_0x844cca[_0x1b2265(0x222)](_0x1b2265(0x240))['to'](_0x43b92b),_0x844cca[_0x1b2265(0x222)](_0x1b2265(0x1c1))['to'](_0x43b92b,_0x1b2265(0x1c1),_0x58cf2f=>_0x1b2265(0x235)+_0x58cf2f),this[_0x1b2265(0x1e0)][_0x1b2265(0x23b)](_0x4137bb['id'],_0x844cca));const _0x41f7a5=_0x223ca2[_0x1b2265(0x1da)](_0x4137bb[_0x1b2265(0x23d)],_0x43b92b),_0x2c2c0e=new _0x501ce5(_0x3b12db,_0x4137bb,_0x43b92b,_0x41f7a5),_0x7acf5f=_0x4137bb[_0x1b2265(0x230)]()[_0x1b2265(0x20c)](_0x415d58=>_0x415d58[_0x1b2265(0x1b3)]);_0x43b92b[_0x1b2265(0x1e3)]=_0x3b12db[_0x1b2265(0x227)][_0x1b2265(0x21a)](_0x1b2265(0x213))[_0x1b2265(0x1f1)][_0x1b2265(0x1f6)](_0x7acf5f),this[_0x1b2265(0x233)][_0x1b2265(0x23b)](_0x4137bb,_0x2c2c0e),this[_0x1b2265(0x1d4)][_0x1b2265(0x23b)](_0x43b92b,_0x2c2c0e);const _0x395fbf=_0x26b8b1[_0x1b2265(0x205)]({'view':_0x844cca,'target':()=>{const _0x5d6cd4=_0x1b2265,_0x2fa8f6=[],_0x1dea22=_0x4137bb[_0x5d6cd4(0x230)]()[_0x5d6cd4(0x20c)](_0x168ae1=>_0x168ae1[_0x5d6cd4(0x1b3)]);for(const _0x294211 of _0x1dea22)_0x2fa8f6[_0x5d6cd4(0x1d8)](..._0x294211[_0x5d6cd4(0x1d5)]());return _0x541303(_0x3b12db[_0x5d6cd4(0x1c0)],_0x2fa8f6);},'type':()=>_0x1b2265(0x235)+_0x2c2c0e[_0x1b2265(0x1f7)][_0x1b2265(0x1c1)]});_0x223ca2[_0x1b2265(0x1cb)](_0x43b92b,_0x395fbf),_0x26b8b1[_0x1b2265(0x1d1)](_0x395fbf),_0x1e2960[_0x1b2265(0x223)](_0x395fbf);}[_0x177b9c(0x219)](_0x321fb0){const _0x15bbd2=_0x177b9c,_0x58a91c=this[_0x15bbd2(0x1e9)][_0x15bbd2(0x227)][_0x15bbd2(0x21a)](_0x15bbd2(0x1c6)),_0x3ca2ff=this[_0x15bbd2(0x1e9)][_0x15bbd2(0x227)][_0x15bbd2(0x21a)](_0x15bbd2(0x1c5)),_0x44b43d=this[_0x15bbd2(0x233)][_0x15bbd2(0x21a)](_0x321fb0),_0x5068d2=_0x44b43d[_0x15bbd2(0x1f7)],_0x209212=_0x3ca2ff[_0x15bbd2(0x1cc)](_0x5068d2);_0x58a91c[_0x15bbd2(0x1c9)](_0x5068d2),_0x209212&&_0x3ca2ff[_0x15bbd2(0x1fe)](_0x209212),this[_0x15bbd2(0x233)][_0x15bbd2(0x1df)](_0x321fb0),this[_0x15bbd2(0x1d4)][_0x15bbd2(0x1df)](_0x5068d2),_0x44b43d[_0x15bbd2(0x1ef)]();}[_0x177b9c(0x1f4)](_0x387474){const _0x1b0489=_0x177b9c;if(!_0x387474[_0x1b0489(0x1b3)]||!this[_0x1b0489(0x233)][_0x1b0489(0x1ca)](_0x387474))return;const _0xaa48ad=this[_0x1b0489(0x1e9)][_0x1b0489(0x227)][_0x1b0489(0x21a)](_0x1b0489(0x213)),_0x1dcd17=this[_0x1b0489(0x233)][_0x1b0489(0x21a)](_0x387474),_0x3a3052=_0x387474[_0x1b0489(0x230)]();_0x1dcd17[_0x1b0489(0x1f7)][_0x1b0489(0x1e3)]=_0xaa48ad[_0x1b0489(0x1f1)][_0x1b0489(0x1f6)](_0x3a3052);}[_0x177b9c(0x1ef)](){const _0x1e1cc9=_0x177b9c;for(const _0xd990e1 of this[_0x1e1cc9(0x233)][_0x1e1cc9(0x1ce)]())this[_0x1e1cc9(0x219)](_0xd990e1);for(const _0x783eb4 of this[_0x1e1cc9(0x1e0)][_0x1e1cc9(0x202)]())_0x783eb4[_0x1e1cc9(0x1f2)][_0x1e1cc9(0x1ef)]();super[_0x1e1cc9(0x1ef)]();}}function ae(_0x6fc4cb){const _0x596795=_0x177b9c;return _0x596795(0x201)in _0x6fc4cb;}
|
|
23
|
+
const _0x3a72fd=_0xcf89;function _0x34c1(){const _0x42c1d5=['comments.editorConfig','define','actionView','registerAnnotation','componentFactory','_suggestionToController','head','6602995qksTEH','descriptionParts','menuBar:trackChanges','isDirty','value','menu','acceptButton','unbind','addSourceCollector','276AfvFcI','trackChanges','source','activeMarkers','27Wyxloy','mainView','get','suggestionChanged','switchbutton','isMultiRange','editor','createAnnotation','commandName','children','innerView','_disableComments','TrackChangesEditing','pluginName','getDescriptions','destroy','137627JootJR','Accept\x20all\x20selected\x20suggestions','type','from','getByInnerView','isInContent','1814661nWcnbH','3016040avrqhr','set','commentThread','toMany','getAllAdjacentSuggestions','focus','acceptAllSuggestions','_refreshActiveMarkers','separator','has','editing','CommentView','add','_initializeController','acceptSelectedSuggestions','remove','Discard\x20all\x20suggestions','commands','EditorAnnotations','_destroyController','lowest','init','_createToolbarButton','_handleControllerBuffer','stopListening','size','_handleSuggestionControllerDelayed','10981610oWfiuy','listenTo','discardButton','Discard\x20all\x20selected\x20suggestions','items','view','_createMenuBarMenu','locale','comments','createAnnotationView','Track\x20changes','length','refreshSelectedViews','_updateController','values','hasSuggestion','getSuggestion','arrowView','delete','_bindAnnotationToEditors','getRanges','getFirstRange','8nQEQpr','model','config','panelView','CommentsUI','createCommentThreadController','addComment','bind','menuitem','descriptionFactory','comments.maxCommentCharsWhenCollapsed','execute','menuitemcheckbox','suggestionUnloaded','plugins','change:activeAnnotations','getJoined','12764856nrSzIx','_viewToController','discardAllSuggestions','comments.maxThreadTotalWeight','button','11cGhBJl','delegate','keys','Annotations','_annotationViews','_unbindEditors','reduce','SuggestionThreadView','requires','comments.maxCommentsWhenCollapsed','buttonView','trackChanges.SuggestionThreadView','trackChanges.disableComments','discardSelectedSuggestions','CommentsRepository','activeAnnotations','isOn','clear','_addUIComponentsToFactory','filter','some','getMarkers','push','previous','suggestion-','TrackChangesUI','Accept\x20all\x20suggestions','16BIJlaq','suggestionLoaded','getMarkerNames','change:previous','isEnabled','47123vFESTw'];_0x34c1=function(){return _0x42c1d5;};return _0x34c1();}(function(_0x565d79,_0x2242b8){const _0x578a4b=_0xcf89,_0x255954=_0x565d79();while(!![]){try{const _0x136147=-parseInt(_0x578a4b(0xf5))/0x1*(-parseInt(_0x578a4b(0xf0))/0x2)+-parseInt(_0x578a4b(0x8d))/0x3*(-parseInt(_0x578a4b(0xbf))/0x4)+parseInt(_0x578a4b(0xfd))/0x5+parseInt(_0x578a4b(0x106))/0x6*(-parseInt(_0x578a4b(0x11a))/0x7)+parseInt(_0x578a4b(0x8e))/0x8*(-parseInt(_0x578a4b(0x10a))/0x9)+-parseInt(_0x578a4b(0xa9))/0xa*(-parseInt(_0x578a4b(0xd5))/0xb)+-parseInt(_0x578a4b(0xd0))/0xc;if(_0x136147===_0x2242b8)break;else _0x255954['push'](_0x255954['shift']());}catch(_0x5f4878){_0x255954['push'](_0x255954['shift']());}}}(_0x34c1,0xdd477));import{Plugin as _0x1cdbc4}from'ckeditor5/src/core.js';import{Collection as _0x27625e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x28c371,createDropdown as _0x221d45,ListSeparatorView as _0x46a27d,MenuBarMenuView as _0x5aac88,MenuBarMenuListView as _0x332f69,MenuBarMenuListItemView as _0x447ed4,MenuBarMenuListItemButtonView as _0x327976,SplitButtonView as _0x303f6b,ViewModel as _0xd200b6}from'ckeditor5/src/ui.js';import{Users as _0x168b20,getDateTimeFormatter as _0x49e7ba,getAllMarkersDomElementsSorted as _0x6006d4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x161f12 from'./trackchangesediting.js';import _0x416039 from'./ui/suggestioncontroller.js';function _0xcf89(_0x1d4d78,_0x43329e){const _0x34c1dc=_0x34c1();return _0xcf89=function(_0xcf896,_0x4b4a4b){_0xcf896=_0xcf896-0x8c;let _0x19782d=_0x34c1dc[_0xcf896];return _0x19782d;},_0xcf89(_0x1d4d78,_0x43329e);}import _0x1e51e6 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x298eaa}from'./utils/common-translations.js';import _0x544bf6 from'../theme/icons/track-changes.svg';export default class d extends _0x1cdbc4{static get[_0x3a72fd(0xdd)](){const _0x964dc0=_0x3a72fd;return[_0x161f12,_0x168b20,_0x964dc0(0xe3),_0x964dc0(0xd8),_0x964dc0(0xa0)];}static get[_0x3a72fd(0x117)](){const _0x5a1964=_0x3a72fd;return _0x5a1964(0xee);}constructor(_0x4e0e85){const _0x486d6a=_0x3a72fd;super(_0x4e0e85),this[_0x486d6a(0xfb)]=new Map(),this[_0x486d6a(0xd1)]=new Map(),this[_0x486d6a(0xd9)]=new Map(),this[_0x486d6a(0xa5)]=new Map();const _0x3345fc=this[_0x486d6a(0x110)][_0x486d6a(0xc1)];_0x3345fc[_0x486d6a(0xf7)](_0x486d6a(0xe0),_0x1e51e6),_0x3345fc[_0x486d6a(0xf7)](_0x486d6a(0xe1),!0x1),this[_0x486d6a(0x115)]=_0x3345fc[_0x486d6a(0x10c)](_0x486d6a(0xe1));}[_0x3a72fd(0xa8)](_0x1a150c,_0x47c13c){const _0x528bb9=_0x3a72fd;0x0===this[_0x528bb9(0xa5)][_0x528bb9(0xa7)]&&setTimeout(()=>{const _0x46b53e=_0x528bb9;for(const [_0x4f9159,_0x31b882]of this[_0x46b53e(0xa5)]){const _0xcbe7a5=this[_0x46b53e(0xfb)][_0x46b53e(0x97)](_0x4f9159);_0xcbe7a5||_0x31b882?_0xcbe7a5&&_0x31b882&&this[_0x46b53e(0xa1)](_0x4f9159):this[_0x46b53e(0x9b)](_0x4f9159);}this[_0x46b53e(0xa5)][_0x46b53e(0xe6)](),this[_0x46b53e(0x110)][_0x46b53e(0xcd)][_0x46b53e(0x10c)](_0x46b53e(0xa0))[_0x46b53e(0xb5)](),this[_0x46b53e(0x95)]();},0xa),this[_0x528bb9(0xa5)][_0x528bb9(0x8f)](_0x1a150c,_0x47c13c);}[_0x3a72fd(0xa3)](){const _0x5da4ce=_0x3a72fd,_0x5a25d5=this[_0x5da4ce(0x110)],_0x4c3751=_0x5a25d5[_0x5da4ce(0xcd)][_0x5da4ce(0x10c)](_0x5da4ce(0x116)),_0x4f96b2=_0x5a25d5[_0x5da4ce(0xcd)][_0x5da4ce(0x10c)](_0x5da4ce(0xd8)),_0x18ceb3=_0x5a25d5[_0x5da4ce(0xcd)][_0x5da4ce(0x10c)](_0x5da4ce(0xa0)),_0x5d0733=_0x5a25d5[_0x5da4ce(0xcd)][_0x5da4ce(0x10c)](_0x5da4ce(0xe3));this[_0x5da4ce(0xe7)](),_0x18ceb3[_0x5da4ce(0x105)](()=>{const _0x589534=_0x5da4ce,_0x374a4b=[];for(const [_0x1ba6a9,_0x311732]of Array[_0x589534(0x11d)](this[_0x589534(0xfb)])){const _0xe12d37=_0x1ba6a9[_0x589534(0x92)](),_0x5d19fc=[];for(const _0x7678a of _0xe12d37){if(!_0x7678a[_0x589534(0x8c)])continue;if(_0x7678a[_0x589534(0x10f)]){_0x5d19fc[_0x589534(0xeb)](..._0x7678a[_0x589534(0xbd)]());continue;}const _0x13d1f7=_0x7678a[_0x589534(0xbe)]();if(_0x5d19fc[_0x589534(0xb4)]>0x0){const _0x4dba58=_0x5d19fc[0x0][_0x589534(0xcf)](_0x13d1f7);if(_0x4dba58){_0x5d19fc[0x0]=_0x4dba58;continue;}}_0x5d19fc[_0x589534(0xeb)](_0x13d1f7);}_0x374a4b[_0x589534(0xeb)]([_0x311732[_0x589534(0xae)],_0x5d19fc]);}return _0x374a4b;}),this[_0x5da4ce(0xaa)](_0x4c3751,_0x5da4ce(0xf1),(_0x4d12b5,_0x250f6e)=>{const _0x149f42=_0x5da4ce;this[_0x149f42(0xaa)](_0x250f6e,_0x149f42(0xf3),(_0x91d31a,_0x3b7760,_0x106151,_0x1566c9)=>{const _0x2173c9=_0x149f42;_0x250f6e[_0x2173c9(0x8c)]&&(null==_0x106151?(this[_0x2173c9(0xb6)](_0x1566c9[_0x2173c9(0xfc)]),this[_0x2173c9(0xa8)](_0x250f6e,!0x1)):(this[_0x2173c9(0xb6)](_0x106151[_0x2173c9(0xfc)]),null==_0x1566c9&&this[_0x2173c9(0xa8)](_0x250f6e,!0x0)));}),null!==_0x250f6e[_0x149f42(0xec)]?this[_0x149f42(0xb6)](_0x250f6e[_0x149f42(0xfc)]):this[_0x149f42(0xa8)](_0x250f6e,!0x1);}),this[_0x5da4ce(0xaa)](_0x4c3751,_0x5da4ce(0xcc),(_0x181215,_0x567cf7,_0x16d681)=>{const _0x59ae3d=_0x5da4ce;this[_0x59ae3d(0xa6)](_0x567cf7,_0x59ae3d(0xf3)),this[_0x59ae3d(0xa5)][_0x59ae3d(0xbb)](_0x567cf7),this[_0x59ae3d(0xfb)][_0x59ae3d(0x97)](_0x567cf7)&&this[_0x59ae3d(0xa1)](_0x567cf7),_0x16d681&&this[_0x59ae3d(0xb6)](_0x16d681[_0x59ae3d(0xfc)]);}),this[_0x5da4ce(0xaa)](_0x4c3751,_0x5da4ce(0x10d),(_0x341bdc,_0x58b9f0)=>{const _0x192151=_0x5da4ce;this[_0x192151(0xb6)](_0x58b9f0);}),this[_0x5da4ce(0xaa)](_0x4f96b2,_0x5da4ce(0xce),()=>{const _0x4d5bc7=_0x5da4ce;this[_0x4d5bc7(0x95)]();}),this[_0x5da4ce(0xaa)](_0x5d0733,_0x5da4ce(0xc5),(_0xdf3606,{threadId:_0x5374e3,isFromAdapter:_0x22be2c})=>{const _0x2782ae=_0x5da4ce;if(_0x22be2c||!_0x4c3751[_0x2782ae(0xb8)](_0x5374e3))return;const _0x117ada=_0x4c3751[_0x2782ae(0xb9)](_0x5374e3);this[_0x2782ae(0xfb)][_0x2782ae(0x10c)](_0x117ada)[_0x2782ae(0xae)][_0x2782ae(0x93)]();},{'priority':_0x5da4ce(0xa2)});}[_0x3a72fd(0x95)](){const _0x361763=_0x3a72fd,_0x77d996=this[_0x361763(0x110)][_0x361763(0xcd)][_0x361763(0x10c)](_0x361763(0xd8)),_0x32e216=this[_0x361763(0x110)][_0x361763(0xcd)][_0x361763(0x10c)](_0x361763(0x116)),_0x28d238=Array[_0x361763(0x11d)](_0x77d996[_0x361763(0xe4)],_0x3806f1=>_0x3806f1[_0x361763(0x114)])[_0x361763(0xe8)](_0x2d682e=>this[_0x361763(0xd1)][_0x361763(0x97)](_0x2d682e)),_0x3faf4a=[];for(const _0x36b983 of _0x28d238){const _0x2abab3=this[_0x361763(0xd1)][_0x361763(0x10c)](_0x36b983)[_0x361763(0xc0)][_0x361763(0x92)]();_0x3faf4a[_0x361763(0xeb)](..._0x2abab3[_0x361763(0xdb)]((_0x47f82a,_0x1cb1bc)=>[..._0x47f82a,..._0x1cb1bc[_0x361763(0xf2)]()],[]));}_0x32e216[_0x361763(0x109)]=_0x3faf4a;}[_0x3a72fd(0xe7)](){const _0x2ea85d=_0x3a72fd,_0x362f0b=this[_0x2ea85d(0x110)],_0x5b1f5d=_0x362f0b[_0x2ea85d(0xb0)],_0x456e82=_0x298eaa(_0x5b1f5d,_0x2ea85d(0xb3)),_0x4a31ef=new _0x27625e([{'type':_0x2ea85d(0x10e),'model':new _0xd200b6({'withText':!0x0,'isToggleable':!0x0,'label':_0x456e82,'commandName':_0x2ea85d(0x107),'role':_0x2ea85d(0xcb)})},{'type':_0x2ea85d(0x96)},{'type':_0x2ea85d(0xd4),'model':new _0xd200b6({'withText':!0x0,'label':_0x298eaa(_0x5b1f5d,_0x2ea85d(0xef)),'commandName':_0x2ea85d(0x94),'role':_0x2ea85d(0xc7)})},{'type':_0x2ea85d(0xd4),'model':new _0xd200b6({'withText':!0x0,'label':_0x298eaa(_0x5b1f5d,_0x2ea85d(0x11b)),'commandName':_0x2ea85d(0x9c),'role':_0x2ea85d(0xc7)})},{'type':_0x2ea85d(0xd4),'model':new _0xd200b6({'withText':!0x0,'label':_0x298eaa(_0x5b1f5d,_0x2ea85d(0x9e)),'commandName':_0x2ea85d(0xd2),'role':_0x2ea85d(0xc7)})},{'type':_0x2ea85d(0xd4),'model':new _0xd200b6({'withText':!0x0,'label':_0x298eaa(_0x5b1f5d,_0x2ea85d(0xac)),'commandName':_0x2ea85d(0xe2),'role':_0x2ea85d(0xc7)})}]);for(const _0x56d476 of _0x4a31ef)if(ae(_0x56d476)){const _0x123102=_0x362f0b[_0x2ea85d(0x9f)][_0x2ea85d(0x10c)](_0x56d476[_0x2ea85d(0xc0)][_0x2ea85d(0x112)]);_0x56d476[_0x2ea85d(0xc0)][_0x2ea85d(0xc6)](_0x2ea85d(0xe5),_0x2ea85d(0xf4))['to'](_0x123102,_0x2ea85d(0x101),_0x2ea85d(0xf4));}_0x362f0b['ui'][_0x2ea85d(0xfa)][_0x2ea85d(0x9a)](_0x2ea85d(0x107),_0x5c3a36=>this[_0x2ea85d(0xa4)](_0x5c3a36,_0x4a31ef,_0x456e82)),_0x362f0b['ui'][_0x2ea85d(0xfa)][_0x2ea85d(0x9a)](_0x2ea85d(0xff),_0x4ba50f=>this[_0x2ea85d(0xaf)](_0x4ba50f,_0x4a31ef,_0x456e82));}[_0x3a72fd(0xa4)](_0x488312,_0x17a838,_0x5af873){const _0x4f3093=_0x3a72fd,_0x217bb7=_0x221d45(_0x488312,_0x303f6b),_0x474dea=this[_0x4f3093(0x110)][_0x4f3093(0x9f)][_0x4f3093(0x10c)](_0x4f3093(0x107));_0x217bb7[_0x4f3093(0xdf)][_0x4f3093(0x8f)]({'tooltip':_0x5af873,'label':_0x5af873,'icon':_0x544bf6}),_0x217bb7[_0x4f3093(0xdf)][_0x4f3093(0xc6)](_0x4f3093(0xe5))['to'](_0x474dea,_0x4f3093(0x101)),_0x217bb7[_0x4f3093(0xdf)]['on'](_0x4f3093(0xca),()=>{const _0x123023=_0x4f3093;_0x474dea[_0x123023(0xca)](),this[_0x123023(0x110)][_0x123023(0x98)][_0x123023(0xae)][_0x123023(0x93)]();}),_0x28c371(_0x217bb7,_0x17a838,{'role':_0x4f3093(0x102)});const _0x2fc080=[];for(const _0x4716a2 of _0x17a838)ae(_0x4716a2)&&_0x2fc080[_0x4f3093(0xeb)](this[_0x4f3093(0x110)][_0x4f3093(0x9f)][_0x4f3093(0x10c)](_0x4716a2[_0x4f3093(0xc0)][_0x4f3093(0x112)]));const _0x579a43=_0x217bb7[_0x4f3093(0xdf)];return _0x579a43[_0x4f3093(0xf8)][_0x4f3093(0x104)](_0x4f3093(0xf4)),_0x579a43[_0x4f3093(0xba)][_0x4f3093(0x104)](_0x4f3093(0xf4)),_0x579a43[_0x4f3093(0xf8)][_0x4f3093(0xc6)](_0x4f3093(0xf4))['to'](_0x474dea,_0x4f3093(0xf4)),_0x579a43[_0x4f3093(0xba)][_0x4f3093(0xc6)](_0x4f3093(0xf4))[_0x4f3093(0x91)](_0x2fc080,_0x4f3093(0xf4),(..._0x310f52)=>_0x310f52[_0x4f3093(0xe9)](_0x18eb17=>_0x18eb17)),_0x217bb7['on'](_0x4f3093(0xca),_0x2067a3=>{const _0x4b3c49=_0x4f3093;this[_0x4b3c49(0x110)][_0x4b3c49(0xca)](_0x2067a3[_0x4b3c49(0x108)][_0x4b3c49(0x112)]),this[_0x4b3c49(0x110)][_0x4b3c49(0x98)][_0x4b3c49(0xae)][_0x4b3c49(0x93)]();}),_0x217bb7;}[_0x3a72fd(0xaf)](_0x38ad64,_0x2bb271,_0x151072){const _0xa1bbc9=_0x3a72fd,_0x19dda3=new _0x5aac88(_0x38ad64),_0x678f8c=this[_0xa1bbc9(0x110)][_0xa1bbc9(0x9f)][_0xa1bbc9(0x10c)](_0xa1bbc9(0x107));_0x19dda3[_0xa1bbc9(0xdf)][_0xa1bbc9(0x8f)]({'label':_0x151072,'icon':_0x544bf6});const _0x35379a=new _0x332f69(_0x38ad64);for(const _0x41cdb7 of _0x2bb271){if(_0xa1bbc9(0x96)==_0x41cdb7[_0xa1bbc9(0x11c)]){_0x35379a[_0xa1bbc9(0xad)][_0xa1bbc9(0x9a)](new _0x46a27d(_0x38ad64));continue;}const _0x295582=new _0x447ed4(_0x38ad64,_0x19dda3),_0x581352=new _0x327976(_0x38ad64),_0xd7518c=_0x41cdb7[_0xa1bbc9(0xc0)];_0x581352[_0xa1bbc9(0xc6)](...Object[_0xa1bbc9(0xd7)](_0xd7518c))['to'](_0xd7518c),_0x581352[_0xa1bbc9(0xd6)](_0xa1bbc9(0xca))['to'](_0x19dda3),_0x581352['on'](_0xa1bbc9(0xca),()=>{const _0x112e19=_0xa1bbc9;this[_0x112e19(0x110)][_0x112e19(0xca)](_0xd7518c[_0x112e19(0x112)]),this[_0x112e19(0x110)][_0x112e19(0x98)][_0x112e19(0xae)][_0x112e19(0x93)]();}),_0x295582[_0xa1bbc9(0x113)][_0xa1bbc9(0x9a)](_0x581352),_0x35379a[_0xa1bbc9(0xad)][_0xa1bbc9(0x9a)](_0x295582);}return _0x19dda3[_0xa1bbc9(0xc6)](_0xa1bbc9(0xf4))['to'](_0x678f8c,_0xa1bbc9(0xf4)),_0x19dda3[_0xa1bbc9(0xc2)][_0xa1bbc9(0x113)][_0xa1bbc9(0x9a)](_0x35379a),_0x19dda3;}[_0x3a72fd(0x9b)](_0xb518f7){const _0xa910ad=_0x3a72fd,_0x4d215d=this[_0xa910ad(0x110)],_0x48e233=_0x4d215d[_0xa910ad(0xc1)],_0x3d57c3=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0xd8)),_0x59948b=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0xe3)),_0x1b3a35=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0xa0)),_0x58b5c3=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0x168b20)['me'],_0x1a5cec=_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0x107))[_0xa910ad(0xdc)],{CommentsListView:_0x1f1f99,CommentThreadInputView:_0x2d9762}=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0xc3));let _0x2bef89,_0x91eb68;this[_0xa910ad(0xd9)][_0xa910ad(0x97)](_0xb518f7['id'])?(_0x91eb68=this[_0xa910ad(0xd9)][_0xa910ad(0x10c)](_0xb518f7['id']),_0x2bef89=_0x91eb68[_0xa910ad(0x10b)]):(_0x2bef89=new _0x1a5cec(_0x4d215d[_0xa910ad(0xb0)],_0xb518f7,_0x58b5c3,{'disableComments':this[_0xa910ad(0x115)],'editorConfig':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xf6)),'maxCommentsWhenCollapsed':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xde)),'maxThreadTotalWeight':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xd3)),'maxCommentCharsWhenCollapsed':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xc9)),'formatDateTime':_0x49e7ba(_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xb0))),'CommentView':_0x48e233[_0xa910ad(0x10c)](_0xa910ad(0xb1))[_0xa910ad(0x99)],'CommentsListView':_0x1f1f99,'CommentThreadInputView':_0x2d9762}),_0x2bef89[_0xa910ad(0x103)]['on'](_0xa910ad(0xca),()=>{const _0x6f4c3c=_0xa910ad;_0x4d215d[_0x6f4c3c(0x98)][_0x6f4c3c(0xae)][_0x6f4c3c(0x93)]();}),_0x2bef89[_0xa910ad(0xab)]['on'](_0xa910ad(0xca),()=>{const _0x4c5553=_0xa910ad;_0x4d215d[_0x4c5553(0x98)][_0x4c5553(0xae)][_0x4c5553(0x93)]();}),_0x91eb68=_0x3d57c3[_0xa910ad(0xb2)](this[_0xa910ad(0x110)][_0xa910ad(0xb0)],_0x2bef89),_0x91eb68[_0xa910ad(0xc6)](_0xa910ad(0x100))['to'](_0x2bef89,_0xa910ad(0x100)),_0x91eb68[_0xa910ad(0xc6)](_0xa910ad(0xb4))['to'](_0x2bef89),_0x91eb68[_0xa910ad(0xc6)](_0xa910ad(0x11c))['to'](_0x2bef89,_0xa910ad(0x11c),_0x5096df=>_0xa910ad(0xed)+_0x5096df),this[_0xa910ad(0xd9)][_0xa910ad(0x8f)](_0xb518f7['id'],_0x91eb68));const _0x290cd2=_0x59948b[_0xa910ad(0xc4)](_0xb518f7[_0xa910ad(0x90)],_0x2bef89),_0x170ba9=new _0x416039(_0x4d215d,_0xb518f7,_0x2bef89,_0x290cd2),_0x4476d5=_0xb518f7[_0xa910ad(0x92)]()[_0xa910ad(0xe8)](_0x1e76f8=>_0x1e76f8[_0xa910ad(0x8c)]);_0x2bef89[_0xa910ad(0xfe)]=_0x4d215d[_0xa910ad(0xcd)][_0xa910ad(0x10c)](_0xa910ad(0x116))[_0xa910ad(0xc8)][_0xa910ad(0x118)](_0x4476d5),this[_0xa910ad(0xfb)][_0xa910ad(0x8f)](_0xb518f7,_0x170ba9),this[_0xa910ad(0xd1)][_0xa910ad(0x8f)](_0x2bef89,_0x170ba9);const _0x248b08=_0x3d57c3[_0xa910ad(0x111)]({'view':_0x91eb68,'target':()=>{const _0x2bc38e=_0xa910ad,_0x5c5c66=[],_0x5f3457=_0xb518f7[_0x2bc38e(0x92)]()[_0x2bc38e(0xe8)](_0x188f13=>_0x188f13[_0x2bc38e(0x8c)]);for(const _0x379a64 of _0x5f3457)_0x5c5c66[_0x2bc38e(0xeb)](..._0x379a64[_0x2bc38e(0xea)]());return _0x6006d4(_0x4d215d[_0x2bc38e(0x98)],_0x5c5c66);},'type':()=>_0xa910ad(0xed)+_0x170ba9[_0xa910ad(0xae)][_0xa910ad(0x11c)]});_0x59948b[_0xa910ad(0xbc)](_0x2bef89,_0x248b08),_0x3d57c3[_0xa910ad(0x9a)](_0x248b08),_0x1b3a35[_0xa910ad(0xf9)](_0x248b08);}[_0x3a72fd(0xa1)](_0x30958d){const _0x22642b=_0x3a72fd,_0x17760b=this[_0x22642b(0x110)][_0x22642b(0xcd)][_0x22642b(0x10c)](_0x22642b(0xe3)),_0x473501=this[_0x22642b(0x110)][_0x22642b(0xcd)][_0x22642b(0x10c)](_0x22642b(0xd8)),_0x4f5a0b=this[_0x22642b(0xfb)][_0x22642b(0x10c)](_0x30958d),_0x43ba4b=_0x4f5a0b[_0x22642b(0xae)],_0x2d81ee=_0x473501[_0x22642b(0x11e)](_0x43ba4b);_0x17760b[_0x22642b(0xda)](_0x43ba4b),_0x2d81ee&&_0x473501[_0x22642b(0x9d)](_0x2d81ee),this[_0x22642b(0xfb)][_0x22642b(0xbb)](_0x30958d),this[_0x22642b(0xd1)][_0x22642b(0xbb)](_0x43ba4b),_0x4f5a0b[_0x22642b(0x119)]();}[_0x3a72fd(0xb6)](_0x2c2ac8){const _0x7191f4=_0x3a72fd;if(!_0x2c2ac8[_0x7191f4(0x8c)]||!this[_0x7191f4(0xfb)][_0x7191f4(0x97)](_0x2c2ac8))return;const _0x3a25b9=this[_0x7191f4(0x110)][_0x7191f4(0xcd)][_0x7191f4(0x10c)](_0x7191f4(0x116)),_0x589905=this[_0x7191f4(0xfb)][_0x7191f4(0x10c)](_0x2c2ac8),_0x215a85=_0x2c2ac8[_0x7191f4(0x92)]();_0x589905[_0x7191f4(0xae)][_0x7191f4(0xfe)]=_0x3a25b9[_0x7191f4(0xc8)][_0x7191f4(0x118)](_0x215a85);}[_0x3a72fd(0x119)](){const _0x2a4ac5=_0x3a72fd;for(const _0x1976e9 of this[_0x2a4ac5(0xfb)][_0x2a4ac5(0xd7)]())this[_0x2a4ac5(0xa1)](_0x1976e9);for(const _0x54877a of this[_0x2a4ac5(0xd9)][_0x2a4ac5(0xb7)]())_0x54877a[_0x2a4ac5(0x10b)][_0x2a4ac5(0x119)]();super[_0x2a4ac5(0x119)]();}}function ae(_0x1cf64f){const _0x445e85=_0x3a72fd;return _0x445e85(0xc0)in _0x1cf64f;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x125d(){const _0x19cffa=['canEditAt','11140SDPIdB','plugins','unbind','getRanges','locale','listenTo','commentThreadController','acceptSuggestion','18351RyORTS','isEnabled','model','destroy','_pendingAction','_setPendingAction','626084xINhFW','_acceptCommand','discardSuggestion','8086568XkAKBs','_editor','7xxTcsQ','execute','424089qNJAGY','881688KsyoAM','add','isDirty','view','PendingActions','commands','canAccept','_removePendingAction','stopListening','get','10zvFVlP','change:isDirty','bind','canDiscard','880197ugcXjo','remove','PENDING_ACTION_SUGGESTION','3122048NdLmcr','_discardCommand'];_0x125d=function(){return _0x19cffa;};return _0x125d();}const _0x59fa3c=_0x5a77;(function(_0x3d9b60,_0xc0ea5a){const _0x2cf553=_0x5a77,_0x4ecc68=_0x3d9b60();while(!![]){try{const _0x404b70=parseInt(_0x2cf553(0x159))/0x1+-parseInt(_0x2cf553(0x15c))/0x2+-parseInt(_0x2cf553(0x14a))/0x3+parseInt(_0x2cf553(0x143))/0x4*(parseInt(_0x2cf553(0x155))/0x5)+parseInt(_0x2cf553(0x14b))/0x6*(parseInt(_0x2cf553(0x148))/0x7)+-parseInt(_0x2cf553(0x146))/0x8+-parseInt(_0x2cf553(0x167))/0x9*(-parseInt(_0x2cf553(0x15f))/0xa);if(_0x404b70===_0xc0ea5a)break;else _0x4ecc68['push'](_0x4ecc68['shift']());}catch(_0x424fc1){_0x4ecc68['push'](_0x4ecc68['shift']());}}}(_0x125d,0xdb579));import{ObservableMixin as _0x5ce44f}from'ckeditor5/src/utils.js';function _0x5a77(_0x7502cc,_0x401c4b){const _0x125dd6=_0x125d();return _0x5a77=function(_0x5a775b,_0x2b5dbb){_0x5a775b=_0x5a775b-0x13e;let _0x5eedb6=_0x125dd6[_0x5a775b];return _0x5eedb6;},_0x5a77(_0x7502cc,_0x401c4b);}import{getTranslation as _0x4156f3}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5ce44f(){constructor(_0x46e7f3,_0x407f9e,_0x4332c0,_0x38c3ab){const _0x9d6e89=_0x5a77;super(),this[_0x9d6e89(0x13f)]=_0x407f9e,this[_0x9d6e89(0x14e)]=_0x4332c0,this[_0x9d6e89(0x165)]=_0x38c3ab,this[_0x9d6e89(0x147)]=_0x46e7f3,this[_0x9d6e89(0x144)]=_0x46e7f3[_0x9d6e89(0x150)][_0x9d6e89(0x154)](_0x9d6e89(0x166)),this[_0x9d6e89(0x15d)]=_0x46e7f3[_0x9d6e89(0x150)][_0x9d6e89(0x154)](_0x9d6e89(0x145)),this[_0x9d6e89(0x14e)][_0x9d6e89(0x157)](_0x9d6e89(0x13e))['to'](this[_0x9d6e89(0x144)],this[_0x9d6e89(0x15d)],(_0xd502f6,_0x3232c9)=>_0xd502f6||_0x3232c9),this[_0x9d6e89(0x14e)][_0x9d6e89(0x157)](_0x9d6e89(0x151))['to'](this[_0x9d6e89(0x144)],_0x9d6e89(0x13e),_0x2936ac=>_0x2936ac&&this[_0x9d6e89(0x147)][_0x9d6e89(0x13f)][_0x9d6e89(0x15e)](_0x407f9e[_0x9d6e89(0x162)]())),this[_0x9d6e89(0x14e)][_0x9d6e89(0x157)](_0x9d6e89(0x158))['to'](this[_0x9d6e89(0x15d)],_0x9d6e89(0x13e),_0x28b4a1=>_0x28b4a1&&this[_0x9d6e89(0x147)][_0x9d6e89(0x13f)][_0x9d6e89(0x15e)](_0x407f9e[_0x9d6e89(0x162)]())),this[_0x9d6e89(0x141)]=null,_0x4332c0[_0x9d6e89(0x14d)]&&this[_0x9d6e89(0x142)](),this[_0x9d6e89(0x164)](_0x4332c0,_0x9d6e89(0x166),()=>this[_0x9d6e89(0x166)]()),this[_0x9d6e89(0x164)](_0x4332c0,_0x9d6e89(0x145),()=>this[_0x9d6e89(0x145)]()),this[_0x9d6e89(0x164)](_0x4332c0,_0x9d6e89(0x156),()=>{const _0x9c44f5=_0x9d6e89;_0x4332c0[_0x9c44f5(0x14d)]?this[_0x9c44f5(0x142)]():this[_0x9c44f5(0x152)]();});}[_0x59fa3c(0x166)](){const _0x250a8f=_0x59fa3c;this[_0x250a8f(0x144)][_0x250a8f(0x149)](this[_0x250a8f(0x13f)]['id']);}[_0x59fa3c(0x145)](){const _0x47a5a2=_0x59fa3c;this[_0x47a5a2(0x15d)][_0x47a5a2(0x149)](this[_0x47a5a2(0x13f)]['id']);}[_0x59fa3c(0x140)](){const _0x547db3=_0x59fa3c;this[_0x547db3(0x14e)][_0x547db3(0x161)](_0x547db3(0x13e)),this[_0x547db3(0x14e)][_0x547db3(0x161)](_0x547db3(0x151)),this[_0x547db3(0x14e)][_0x547db3(0x161)](_0x547db3(0x158)),this[_0x547db3(0x153)](),this[_0x547db3(0x165)][_0x547db3(0x140)](),this[_0x547db3(0x141)]&&this[_0x547db3(0x152)]();}[_0x59fa3c(0x142)](){const _0x424ea4=_0x59fa3c,_0xd17cb7=_0x4156f3(this[_0x424ea4(0x147)][_0x424ea4(0x163)],_0x424ea4(0x15b));this[_0x424ea4(0x141)]=this[_0x424ea4(0x147)][_0x424ea4(0x160)][_0x424ea4(0x154)](_0x424ea4(0x14f))[_0x424ea4(0x14c)](_0xd17cb7);}[_0x59fa3c(0x152)](){const _0x459a0c=_0x59fa3c;null!==this[_0x459a0c(0x141)]&&this[_0x459a0c(0x147)][_0x459a0c(0x160)][_0x459a0c(0x154)](_0x459a0c(0x14f))[_0x459a0c(0x15a)](this[_0x459a0c(0x141)]),this[_0x459a0c(0x141)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x494c41=_0x2a3d;(function(_0xafe9e6,_0x5220e9){const _0x22aec4=_0x2a3d,_0x2bacee=_0xafe9e6();while(!![]){try{const _0x17633e=-parseInt(_0x22aec4(0xac))/0x1+-parseInt(_0x22aec4(0xaa))/0x2*(parseInt(_0x22aec4(0xbb))/0x3)+-parseInt(_0x22aec4(0xc5))/0x4*(parseInt(_0x22aec4(0xd7))/0x5)+-parseInt(_0x22aec4(0xb7))/0x6*(parseInt(_0x22aec4(0xb1))/0x7)+parseInt(_0x22aec4(0xc8))/0x8+parseInt(_0x22aec4(0xbf))/0x9*(-parseInt(_0x22aec4(0xcd))/0xa)+parseInt(_0x22aec4(0xd8))/0xb*(parseInt(_0x22aec4(0xc4))/0xc);if(_0x17633e===_0x5220e9)break;else _0x2bacee['push'](_0x2bacee['shift']());}catch(_0x194e44){_0x2bacee['push'](_0x2bacee['shift']());}}}(_0x2c39,0xa9473));function _0x2c39(){const _0x40e594=['value','authoredAt','descriptionParts','658763adVzTC','fire','disabledSubmit','set','isDirty','_localUser','60MBFFIb','editor','focus','_createCommentThreadInputView','108897XJAVvQ','removeComment','bind','addComment','18bYIYcz','locale','isReadOnly','commentInputView','isEnabled','29616MvUBkW','35884fuKlvG','updateComment','delegate','8529624lfWgqG','destroy','_createCommentViews','hasDirtyComment','_config','2776590mtXUrD','submit','length','CommentView','cancel','assign','isActive','showInput','setData','canAccept','70YxRUTc','11759XrtudC','element','_model','disableComments','canDiscard','editorConfig','commentsListView','10TmTQkz','commentThreadInputView','1207635dYHswy','commentThread'];_0x2c39=function(){return _0x40e594;};return _0x2c39();}import{View as _0x49655c}from'ckeditor5/src/ui.js';function _0x2a3d(_0x4ae146,_0x3511b3){const _0x2c39d7=_0x2c39();return _0x2a3d=function(_0x2a3d1e,_0x2c423b){_0x2a3d1e=_0x2a3d1e-0xa4;let _0x4f658e=_0x2c39d7[_0x2a3d1e];return _0x4f658e;},_0x2a3d(_0x4ae146,_0x3511b3);}export default class es extends _0x49655c{constructor(_0x4eb8f3,_0x23aa88,_0x1061e2,_0x4bb4fb){const _0xb93b34=_0x2a3d;super(_0x4eb8f3),this[_0xb93b34(0xa9)]=null,this[_0xb93b34(0xab)]=null,this[_0xb93b34(0xb4)](_0xb93b34(0xd3),!0x1),this[_0xb93b34(0xb4)](_0xb93b34(0xaf),_0x23aa88[_0xb93b34(0xaf)]),this[_0xb93b34(0xbd)](_0xb93b34(0xaf))['to'](_0x23aa88),this[_0xb93b34(0xb4)](_0xb93b34(0xb0),[]),this[_0xb93b34(0xb4)](_0xb93b34(0xb5),!0x1),this[_0xb93b34(0xb4)](_0xb93b34(0xc3),!0x1),this[_0xb93b34(0xb4)](_0xb93b34(0xd6),!0x1),this[_0xb93b34(0xb4)](_0xb93b34(0xa7),!0x1),this[_0xb93b34(0xa5)]=_0x23aa88,this[_0xb93b34(0xb6)]=_0x1061e2,this[_0xb93b34(0xcc)]=_0x4bb4fb,_0x4bb4fb[_0xb93b34(0xa6)]?this[_0xb93b34(0xb4)](_0xb93b34(0xcf),0x1):this[_0xb93b34(0xca)]();}[_0x494c41(0xb9)](){const _0x515b9d=_0x494c41;this[_0x515b9d(0xa4)][_0x515b9d(0xb9)]();}[_0x494c41(0xc9)](){const _0xba6b13=_0x494c41;this[_0xba6b13(0xa9)]&&this[_0xba6b13(0xa9)][_0xba6b13(0xc9)](),this[_0xba6b13(0xab)]&&this[_0xba6b13(0xab)][_0xba6b13(0xc9)](),super[_0xba6b13(0xc9)]();}[_0x494c41(0xca)](){const _0x3648da=_0x494c41,{CommentsListView:_0x2d1303}=this[_0x3648da(0xcc)];this[_0x3648da(0xa9)]=new _0x2d1303(this[_0x3648da(0xc0)],this[_0x3648da(0xa5)][_0x3648da(0xad)],Object[_0x3648da(0xd2)]({'CommentView':this[_0x3648da(0xcc)][_0x3648da(0xd0)]},this[_0x3648da(0xcc)])),this[_0x3648da(0xa9)][_0x3648da(0xc7)](_0x3648da(0xbc))['to'](this),this[_0x3648da(0xa9)][_0x3648da(0xc7)](_0x3648da(0xc6))['to'](this),this[_0x3648da(0xa9)][_0x3648da(0xbd)](_0x3648da(0xd3))['to'](this),this[_0x3648da(0xb4)](_0x3648da(0xcf),this[_0x3648da(0xa9)][_0x3648da(0xcf)]+0x1),this[_0x3648da(0xbd)](_0x3648da(0xcf))['to'](this[_0x3648da(0xa9)],_0x3648da(0xcf),_0x3b746b=>_0x3b746b+0x1),this[_0x3648da(0xab)]=this[_0x3648da(0xba)](),this['on'](_0x3648da(0xbc),()=>this[_0x3648da(0xb9)]()),this[_0x3648da(0xbd)](_0x3648da(0xb5))['to'](this[_0x3648da(0xa9)],_0x3648da(0xcb),this[_0x3648da(0xab)][_0x3648da(0xc2)],_0x3648da(0xae),(_0x5295c2,_0x44dd95)=>_0x5295c2||!!_0x44dd95);}[_0x494c41(0xba)](){const _0x3b41c5=_0x494c41,{CommentThreadInputView:_0x1d3843}=this[_0x3b41c5(0xcc)],_0x1b4444=new _0x1d3843(this[_0x3b41c5(0xc0)],this[_0x3b41c5(0xb6)],this[_0x3b41c5(0xcc)][_0x3b41c5(0xa8)]),_0x2662aa=_0x1b4444[_0x3b41c5(0xc2)];return _0x1b4444[_0x3b41c5(0xbd)](_0x3b41c5(0xd4))['to'](this,_0x3b41c5(0xd3),this[_0x3b41c5(0xa5)][_0x3b41c5(0xad)],_0x3b41c5(0xc1),_0x2662aa,_0x3b41c5(0xae),(_0x11c02d,_0x34321f,_0x5a3775)=>!!_0x5a3775||_0x11c02d&&!_0x34321f),_0x2662aa['on'](_0x3b41c5(0xce),(_0x5d130f,_0x41ceb5)=>{const _0x4669cb=_0x3b41c5;this[_0x4669cb(0xb2)](_0x4669cb(0xbe),_0x41ceb5),_0x2662aa[_0x4669cb(0xb8)][_0x4669cb(0xd5)]('');}),_0x2662aa['on'](_0x3b41c5(0xd1),()=>this[_0x3b41c5(0xb9)]()),_0x2662aa[_0x3b41c5(0xbd)](_0x3b41c5(0xb3))['to'](this[_0x3b41c5(0xa5)][_0x3b41c5(0xad)],_0x3b41c5(0xc1)),_0x1b4444;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3eda(_0x3f8e92,_0x5c251e){const _0x1de5bb=_0x1de5();return _0x3eda=function(_0x3eda86,_0x1fdffa){_0x3eda86=_0x3eda86-0x14e;let _0x38b537=_0x1de5bb[_0x3eda86];return _0x38b537;},_0x3eda(_0x3f8e92,_0x5c251e);}const _0x302d04=_0x3eda;(function(_0x3acdba,_0x4d7213){const _0x4c63a6=_0x3eda,_0x528d7e=_0x3acdba();while(!![]){try{const _0x435f15=-parseInt(_0x4c63a6(0x166))/0x1*(-parseInt(_0x4c63a6(0x190))/0x2)+-parseInt(_0x4c63a6(0x167))/0x3+parseInt(_0x4c63a6(0x1ae))/0x4+-parseInt(_0x4c63a6(0x1b7))/0x5+-parseInt(_0x4c63a6(0x1ba))/0x6*(-parseInt(_0x4c63a6(0x186))/0x7)+-parseInt(_0x4c63a6(0x172))/0x8*(parseInt(_0x4c63a6(0x18f))/0x9)+parseInt(_0x4c63a6(0x1a2))/0xa;if(_0x435f15===_0x4d7213)break;else _0x528d7e['push'](_0x528d7e['shift']());}catch(_0x190d05){_0x528d7e['push'](_0x528d7e['shift']());}}}(_0x1de5,0xef18f));import{getTranslation as _0xea0b6c}from'../../utils/common-translations.js';import{default as _0x25adff}from'./basesuggestionthreadview.js';import{ButtonView as _0x57f6e4}from'ckeditor5/src/ui.js';import{icons as _0x8a2711}from'ckeditor5/src/core.js';import{trimHtml as _0x207053,UserView as _0x2ba785}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1de5(){const _0x282509=['.ck-annotation__content-wrapper','ck-suggestion-wrapper','change:description','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','@external','commentThread','cancel','join','77rEEEtN','description','formatDateTime','ck-suggestion','time','EXTERNAL_SUGGESTION','Discard\x20suggestion','ck-suggestion__info-name','_descriptionElement','6537222RdwxsU','136966ljWiLq','ck-suggestion-wrapper--active','EXTERNAL_AVATAR','ck-comment__external','value','EXTERNAL_IMPORT_WORD_SUGGESTION','editorReady','\x22\x20title=\x22','ck-annotation__info','<p>','editorDestroyed','split','\x22></span>','ck-annotation__content-wrapper','ck-suggestion__main','ck-suggestion--discard','discardButton','bind','18714200MIDemb','isExternal','ck-annotation__actions','setTemplate','_model','render','ck-comment__info-time','color','EXTERNAL_IMPORT_WORD_AVATAR','locale','check','ck-suggestion__user','1650452cEdNdY','authoredAt','_config','discardSuggestion','ck-annotation__info-name','map','span','ck-suggestion--disabled-comments','canDiscard','7182845WYnvcL','_createButton','importWord','905484rdKxPZ','ck-annotation','Accept\x20suggestion','title','source','isEnabled','bindTemplate','acceptSuggestion','children','acceptButton','querySelector','getExternalSuggestionNote','ck-suggestion__actions','fire','disableComments','ck-suggestion--accept','ck-annotation__info-time','<span\x20class=\x22ck-suggestion-type\x22>','canAccept','commentThreadInputView','ck-suggestion__info','descriptionParts','type','getUserViewNotificationText','ck-suggestion-','extendTemplate','name','7rjgiqe','3843594JZPqki','userView','set','push','author','innerText','div','ck-annotation__user','getTemplate','ck-annotation__main','attributes','8RrSvJM','delegate','</p>','createElement','innerHTML','creator','isActive','element','content','execute','</span>','commentsListView'];_0x1de5=function(){return _0x282509;};return _0x1de5();}export default class ne extends _0x25adff{constructor(_0x441d9b,_0x1fdba9,_0x222b34,_0xd89af6){const _0x5b4529=_0x3eda;super(_0x441d9b,_0x1fdba9,_0x222b34,_0xd89af6),this[_0x5b4529(0x169)](_0x5b4529(0x161),''),this[_0x5b4529(0x1a1)](_0x5b4529(0x161))['to'](this,_0x5b4529(0x160),_0x20355e=>_0x20355e&&_0x20355e[0x0]?_0x20355e[0x0][_0x5b4529(0x161)]:''),this[_0x5b4529(0x1a1)](_0x5b4529(0x187))['to'](this,_0x5b4529(0x160),this,_0x5b4529(0x178),(_0x270bad,_0xb37d55)=>{const _0x47aca0=_0x5b4529;let _0x5a1691='';for(const _0x1b8220 of _0x270bad)_0x5a1691+=_0x47aca0(0x199)+ds(_0x1b8220[_0x47aca0(0x17a)],_0x1b8220[_0x47aca0(0x1a9)])+_0x47aca0(0x174);return _0xb37d55?_0x5a1691:_0x207053(_0x5a1691,{'limit':0x8c});}),this[_0x5b4529(0x18e)]=null,this[_0x5b4529(0x154)]=this[_0x5b4529(0x1b8)](_0xea0b6c(_0x441d9b,_0x5b4529(0x1bc)),_0x8a2711[_0x5b4529(0x1ac)],_0x5b4529(0x15a),_0x5b4529(0x152),'sw'),this[_0x5b4529(0x154)][_0x5b4529(0x1a1)](_0x5b4529(0x150))['to'](this,_0x5b4529(0x15d)),this[_0x5b4529(0x1a0)]=this[_0x5b4529(0x1b8)](_0xea0b6c(_0x441d9b,_0x5b4529(0x18c)),_0x8a2711[_0x5b4529(0x184)],_0x5b4529(0x19f),_0x5b4529(0x1b1),'sw'),this[_0x5b4529(0x1a0)][_0x5b4529(0x1a1)](_0x5b4529(0x150))['to'](this,_0x5b4529(0x1b6)),this[_0x5b4529(0x168)]=new _0x2ba785(_0x441d9b,this[_0x5b4529(0x1a6)][_0x5b4529(0x16b)],this[_0x5b4529(0x162)]()),this[_0x5b4529(0x168)][_0x5b4529(0x164)]({'attributes':{'class':[_0x5b4529(0x1ad),_0x5b4529(0x16e)]}}),this[_0x5b4529(0x1a5)](this[_0x5b4529(0x16f)]());}[_0x302d04(0x16f)](){const _0x573769=_0x302d04,_0x3acd1a=this[_0x573769(0x151)],_0x29048d=[{'tag':_0x573769(0x16d),'attributes':{'class':[_0x573769(0x15f),_0x573769(0x198)]},'children':[{'tag':_0x573769(0x1b4),'children':[{'text':this[_0x573769(0x168)][_0x573769(0x165)]}],'attributes':{'class':[_0x573769(0x18d),_0x573769(0x1b2)]}},{'tag':_0x573769(0x18a),'attributes':{'datetime':_0x3acd1a['to'](_0x573769(0x1af)),'class':[_0x573769(0x1a8),_0x573769(0x15b)]},'children':[{'text':_0x3acd1a['to'](_0x573769(0x1af),_0x5a454d=>this[_0x573769(0x1b0)][_0x573769(0x188)](_0x5a454d))}]}]},{'tag':_0x573769(0x16d),'attributes':{'class':[_0x573769(0x157),_0x573769(0x1a4)]},'children':[this[_0x573769(0x154)],this[_0x573769(0x1a0)]]},{'tag':_0x573769(0x16d),'attributes':{'class':[_0x573769(0x19d)]}}];this[_0x573769(0x1a6)][_0x573769(0x1a3)]&&_0x29048d[_0x573769(0x16a)]({'tag':_0x573769(0x16d),'attributes':{'class':[_0x573769(0x193)]},'children':[{'text':this[_0x573769(0x156)]()}]});const _0x4d3527={'tag':_0x573769(0x16d),'attributes':{'class':[_0x573769(0x17f),_0x3acd1a['if'](_0x573769(0x178),_0x573769(0x191)),_0x3acd1a['to'](_0x573769(0x161),_0x5cd562=>_0x573769(0x163)+_0x5cd562),this[_0x573769(0x1b0)][_0x573769(0x159)]&&_0x573769(0x1b5)],'data-suggestion-id':this[_0x573769(0x1a6)]['id'],'data-thread-id':this[_0x573769(0x1a6)][_0x573769(0x183)]['id'],'data-author-id':this[_0x573769(0x1a6)][_0x573769(0x16b)]['id'],'tabindex':-0x1},'children':[{'tag':_0x573769(0x16d),'attributes':{'class':[_0x573769(0x189),_0x573769(0x1bb)]},'children':[this[_0x573769(0x168)],{'tag':_0x573769(0x16d),'attributes':{'class':[_0x573769(0x19e),_0x573769(0x170)]},'children':_0x29048d}]}]};return this[_0x573769(0x17d)]&&this[_0x573769(0x15e)]&&(_0x4d3527[_0x573769(0x153)][_0x573769(0x16a)](this[_0x573769(0x17d)],this[_0x573769(0x15e)]),this[_0x573769(0x17d)][_0x573769(0x173)](_0x573769(0x196))['to'](this),this[_0x573769(0x17d)][_0x573769(0x173)](_0x573769(0x19a))['to'](this),this[_0x573769(0x15e)][_0x573769(0x173)](_0x573769(0x196))['to'](this),this[_0x573769(0x15e)][_0x573769(0x173)](_0x573769(0x19a))['to'](this)),_0x4d3527;}[_0x302d04(0x1a7)](){const _0x28615d=_0x302d04;super[_0x28615d(0x1a7)](),this[_0x28615d(0x18e)]=this[_0x28615d(0x179)][_0x28615d(0x155)](_0x28615d(0x17e)),this[_0x28615d(0x18e)][_0x28615d(0x176)]=this[_0x28615d(0x187)],this['on'](_0x28615d(0x180),(_0x56aad7,_0x303c09,_0x5e6fed)=>{const _0x38a2a3=_0x28615d;this[_0x38a2a3(0x18e)][_0x38a2a3(0x176)]=_0x5e6fed;});}[_0x302d04(0x1b8)](_0x2d2671,_0x273d1a,_0x5a2ff9,_0x30c6ab,_0x32862f){const _0x42dcac=_0x302d04,_0x1fc6af=new _0x57f6e4(this[_0x42dcac(0x1ab)]);return _0x1fc6af[_0x42dcac(0x169)]({'label':_0x2d2671,'icon':_0x273d1a,'tooltip':!0x0,'tooltipPosition':_0x32862f}),_0x1fc6af[_0x42dcac(0x164)]({'attributes':{'class':_0x5a2ff9}}),_0x1fc6af['on'](_0x42dcac(0x17b),()=>{const _0x59970b=_0x42dcac;this[_0x59970b(0x158)](_0x30c6ab,this[_0x59970b(0x1a6)]['id']);}),_0x1fc6af;}[_0x302d04(0x156)](){const _0x156dae=_0x302d04;return _0x156dae(0x1b9)===this[_0x156dae(0x1a6)][_0x156dae(0x171)][_0x156dae(0x182)][_0x156dae(0x14f)]?_0xea0b6c(this[_0x156dae(0x1ab)],_0x156dae(0x195)):_0xea0b6c(this[_0x156dae(0x1ab)],_0x156dae(0x18b));}[_0x302d04(0x162)](){const _0x3510db=_0x302d04;return this[_0x3510db(0x1a6)][_0x3510db(0x1a3)]?_0x3510db(0x1b9)===this[_0x3510db(0x1a6)][_0x3510db(0x171)][_0x3510db(0x182)][_0x3510db(0x14f)]?_0xea0b6c(this[_0x3510db(0x1ab)],_0x3510db(0x1aa),this[_0x3510db(0x1a6)][_0x3510db(0x177)][_0x3510db(0x165)]):_0xea0b6c(this[_0x3510db(0x1ab)],_0x3510db(0x192),this[_0x3510db(0x1a6)][_0x3510db(0x177)][_0x3510db(0x165)]):null;}}function ds(_0x119a14,_0x35fb75){const _0x6bd17d=_0x302d04;let _0x41fa26='';return _0x41fa26+=_0x119a14[_0x6bd17d(0x19b)]('*')[_0x6bd17d(0x1b3)]((_0x1523ce,_0x21d0b5)=>_0x21d0b5%0x2!=0x0?_0x6bd17d(0x15c)+us(_0x1523ce)+_0x6bd17d(0x17c):us(_0x1523ce))[_0x6bd17d(0x185)](''),_0x35fb75&&(_0x41fa26+=_0x6bd17d(0x181)+_0x35fb75[_0x6bd17d(0x194)]+_0x6bd17d(0x197)+_0x35fb75[_0x6bd17d(0x14e)]+_0x6bd17d(0x19c)),_0x41fa26;}function us(_0x26c19a){const _0x6da6fc=_0x302d04,_0x3e0a82=document[_0x6da6fc(0x175)](_0x6da6fc(0x1b4));return _0x3e0a82[_0x6da6fc(0x16c)]=_0x26c19a,_0x3e0a82[_0x6da6fc(0x176)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4824ca,_0x167ad8,_0x5bb17a){const t=_0x4824ca['t'];switch(_0x167ad8){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',_0x5bb17a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5bb17a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5bb17a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5bb17a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5bb17a);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',_0x5bb17a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5bb17a);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',_0x5bb17a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5bb17a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5bb17a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5bb17a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5bb17a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5bb17a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5bb17a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5bb17a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5bb17a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5bb17a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5bb17a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5bb17a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5bb17a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5bb17a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5bb17a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5bb17a);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'},_0x5bb17a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5bb17a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5bb17a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5bb17a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5bb17a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5bb17a);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'},_0x5bb17a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5bb17a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5bb17a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5bb17a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5bb17a);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5bb17a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5bb17a);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'},_0x5bb17a);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'},_0x5bb17a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5bb17a);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'},_0x5bb17a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5bb17a);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'},_0x5bb17a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5bb17a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5bb17a);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'},_0x5bb17a);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'},_0x5bb17a);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 _0x167ad8;}}
|
|
23
|
+
export function getTranslation(_0x47dac8,_0x50ce5a,_0x3af98f){const t=_0x47dac8['t'];switch(_0x50ce5a){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',_0x3af98f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3af98f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3af98f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3af98f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3af98f);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',_0x3af98f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3af98f);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',_0x3af98f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3af98f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3af98f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3af98f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3af98f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3af98f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3af98f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3af98f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3af98f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3af98f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3af98f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3af98f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3af98f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3af98f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3af98f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3af98f);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'},_0x3af98f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3af98f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3af98f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3af98f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3af98f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3af98f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3af98f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3af98f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3af98f);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x3af98f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3af98f);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'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3af98f);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'},_0x3af98f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3af98f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3af98f);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'},_0x3af98f);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'},_0x3af98f);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 _0x50ce5a;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5020d3,_0x287677){const _0x5d6bc9=_0x50bc,_0x249408=_0x5020d3();while(!![]){try{const _0x368566=-parseInt(_0x5d6bc9(0x1cd))/0x1+parseInt(_0x5d6bc9(0x1ce))/0x2*(-parseInt(_0x5d6bc9(0x1a8))/0x3)+parseInt(_0x5d6bc9(0x1d0))/0x4*(parseInt(_0x5d6bc9(0x1b6))/0x5)+parseInt(_0x5d6bc9(0x1c2))/0x6+parseInt(_0x5d6bc9(0x1a6))/0x7+parseInt(_0x5d6bc9(0x1be))/0x8+-parseInt(_0x5d6bc9(0x1c4))/0x9*(parseInt(_0x5d6bc9(0x1c0))/0xa);if(_0x368566===_0x287677)break;else _0x249408['push'](_0x249408['shift']());}catch(_0x5076ec){_0x249408['push'](_0x249408['shift']());}}}(_0x1cf0,0x8d3c7));export function normalizeDescription(_0x2c38b4){const _0xdda7bf=_0x50bc;return Array[_0xdda7bf(0x1b3)](_0x2c38b4)||(_0x2c38b4=[_0x2c38b4]),_0x2c38b4[_0xdda7bf(0x1c6)](_0xd2f5dc=>{const _0x2ad660=_0xdda7bf,_0x4109b4=_0xd2f5dc[_0x2ad660(0x1b1)][_0x2ad660(0x1ca)](/\*/g,''),_0x2c1bdf=_0xd2f5dc[_0x2ad660(0x1a9)]?_0x2ad660(0x1c1)+_0xd2f5dc[_0x2ad660(0x1a9)][_0x2ad660(0x1b7)]+']':'';return'['+_0xd2f5dc[_0x2ad660(0x1aa)]+']\x20'+_0x4109b4+_0x2c1bdf;})[_0xdda7bf(0x1cb)](';\x20');}export function sortSuggestions(_0x4c448e){const _0x4931cf=_0x50bc;return _0x4c448e[_0x4931cf(0x1bd)]((_0x33c151,_0x53bfeb)=>_0x4931cf(0x1c8)==_0x33c151[_0x4931cf(0x1aa)]&&_0x4931cf(0x1c8)!=_0x53bfeb[_0x4931cf(0x1aa)]?-0x1:_0x4931cf(0x1c8)!=_0x33c151[_0x4931cf(0x1aa)]&&_0x4931cf(0x1c8)==_0x53bfeb[_0x4931cf(0x1aa)]?0x1:0x0);}export function getSelectedSuggestions(_0x1eb928,_0x1a5548){const _0x225aac=_0x50bc,_0x352832=Array[_0x225aac(0x1a7)](_0x1eb928[_0x225aac(0x1b4)]()),_0x4ab0bf=new Set();for(const _0x206248 of _0x1a5548)if(_0x206248[_0x225aac(0x1b0)]){for(const _0x4235a6 of _0x352832)for(const _0x122baf of _0x206248[_0x225aac(0x1b4)]())(_0x4235a6[_0x225aac(0x1b8)](_0x122baf)||_0x1eb928[_0x225aac(0x1c7)]&&!_0x206248[_0x225aac(0x1b5)]&&_0x206248[_0x225aac(0x1b2)]&&_0x122baf[_0x225aac(0x1bc)][_0x225aac(0x1cc)](_0x4235a6[_0x225aac(0x1af)]))&&_0x4ab0bf[_0x225aac(0x1ae)](_0x206248);}return _0x4ab0bf;}function _0x50bc(_0x5bc902,_0x2de38d){const _0x1cf079=_0x1cf0();return _0x50bc=function(_0x50bc35,_0x4345c0){_0x50bc35=_0x50bc35-0x1a6;let _0x50b154=_0x1cf079[_0x50bc35];return _0x50b154;},_0x50bc(_0x5bc902,_0x2de38d);}export function getRangesOfBlockGroups(_0x3d48ba,_0x4a4891){const _0x5a2b17=_0x50bc;let _0x5bedd3,_0x2ebb87=0x0;const _0x3a80b7=[],_0x2e1bef=_0x4a4891[_0x5a2b17(0x1ba)];for(;_0x2ebb87<_0x3d48ba[_0x5a2b17(0x1cf)];){const _0x2b027f=_0x3d48ba[_0x2ebb87],_0x2f9db8=_0x3d48ba[_0x2ebb87+0x1];_0x5bedd3||(_0x5bedd3=_0x4a4891[_0x5a2b17(0x1c9)](_0x2b027f)),co(_0x4a4891,_0x2b027f,_0x2f9db8)||(_0x3a80b7[_0x5a2b17(0x1b9)](_0x4a4891[_0x5a2b17(0x1ad)](_0x5bedd3,_0x2e1bef[_0x5a2b17(0x1bf)](_0x2b027f)?_0x4a4891[_0x5a2b17(0x1c3)](_0x2b027f):_0x4a4891[_0x5a2b17(0x1bb)](_0x2b027f,_0x5a2b17(0x1bc)))),_0x5bedd3=null),_0x2ebb87++;}return _0x3a80b7;}function co(_0x2624f1,_0x34731e,_0x573d50){const _0x2ef07b=_0x50bc;if(!_0x573d50)return!0x1;const _0x1e56a9=_0x2624f1[_0x2ef07b(0x1c3)](_0x34731e),_0x5a2971=_0x2624f1[_0x2ef07b(0x1c9)](_0x573d50);return _0x1e56a9[_0x2ef07b(0x1cc)](_0x5a2971);}function _0x1cf0(){const _0x22b6ad=['68ZvbKjF','length','4oLoBaX','6646647rVXVER','from','88047iSzEWy','color','type','change','splice','createRange','add','start','isInContent','content','next','isArray','getRanges','isMultiRange','3202675IDVNBP','value','isIntersecting','push','schema','createPositionAt','end','sort','2058760qILKow','isObject','23390QYtJIN','\x20[color\x20','1788714dbUTQy','createPositionAfter','1413ZvEZrf','execute','map','isCollapsed','deletion','createPositionBefore','replace','join','isTouching','201928cPoSCF'];_0x1cf0=function(){return _0x22b6ad;};return _0x1cf0();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x11165f,_0x17609b,_0xe8e3b3){const _0x10b824=_0x50bc;for(;_0xe8e3b3[_0x10b824(0x1cf)];){const _0x1318bf=_0xe8e3b3[_0x10b824(0x1ac)](0x0,0x64);_0x11165f[_0x10b824(0x1ab)](()=>{const _0x25ce12=_0x10b824;for(const _0x1af26b of _0x1318bf)_0x1af26b[_0x25ce12(0x1b0)]&&_0x17609b[_0x25ce12(0x1c5)](_0x1af26b['id']);});}}
|