@ckeditor/ckeditor5-track-changes 41.3.0 → 41.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/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 +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4800b4=_0x24b3;(function(_0x294422,_0x48e218){const _0x3e4eee=_0x24b3,_0x509a4a=_0x294422();while(!![]){try{const _0x396a41=parseInt(_0x3e4eee(0xc3))/0x1+-parseInt(_0x3e4eee(0xd7))/0x2+-parseInt(_0x3e4eee(0x94))/0x3+-parseInt(_0x3e4eee(0x95))/0x4*(parseInt(_0x3e4eee(0xf5))/0x5)+-parseInt(_0x3e4eee(0xd0))/0x6+-parseInt(_0x3e4eee(0x9e))/0x7*(parseInt(_0x3e4eee(0x92))/0x8)+-parseInt(_0x3e4eee(0xa9))/0x9*(-parseInt(_0x3e4eee(0xe1))/0xa);if(_0x396a41===_0x48e218)break;else _0x509a4a['push'](_0x509a4a['shift']());}catch(_0x38a1c9){_0x509a4a['push'](_0x509a4a['shift']());}}}(_0x560c,0xd3331));import{Plugin as _0x1339ff}from'ckeditor5/src/core.js';import{Collection as _0x25608f}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2d9da6,createDropdown as _0x9ed616,ListSeparatorView as _0x1d9172,MenuBarMenuView as _0xa90177,MenuBarMenuListView as _0x34f9dc,MenuBarMenuListItemView as _0x5c25c1,MenuBarMenuListItemButtonView as _0x72b9a7,SplitButtonView as _0x36986c,ViewModel as _0x3e9b9c}from'ckeditor5/src/ui.js';import{Users as _0x3e53d7,getDateTimeFormatter as _0x5656d8,getAllMarkersDomElementsSorted as _0x4b27a4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x24b3(_0x5ab8c8,_0x5c4239){const _0x560cb3=_0x560c();return _0x24b3=function(_0x24b33f,_0x2d9926){_0x24b33f=_0x24b33f-0x8d;let _0x3f0837=_0x560cb3[_0x24b33f];return _0x3f0837;},_0x24b3(_0x5ab8c8,_0x5c4239);}import _0x48d0e2 from'./trackchangesediting.js';import _0x2e8e6d from'./ui/suggestioncontroller.js';import _0x81d81f from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3127d1}from'./utils/common-translations.js';function _0x560c(){const _0x28298d=['button','isInContent','Discard\x20all\x20selected\x20suggestions','componentFactory','mainView','keys','commentThread','values','view','suggestionUnloaded','createAnnotationView','previous','bind','filter','model','has','CommentsUI','1165659TSGWpL','execute','createCommentThreadController','getMarkers','getByInnerView','CommentView','length','discardAllSuggestions','_createToolbarButton','type','Track\x20changes','children','separator','8007930MJEVAb','hasSuggestion','_disableComments','remove','actionView','trackChanges.SuggestionThreadView','SuggestionThreadView','785934rnMvKE','value','suggestionLoaded','lowest','switchbutton','from','reduce','set','innerView','size','44023310gbhTTJ','editing','comments.maxCommentsWhenCollapsed','add','getFirstRange','change:activeAnnotations','source','_annotationViews','items','comments','plugins','comments.editorConfig','_destroyController','addSourceCollector','_bindAnnotationToEditors','descriptionParts','getJoined','trackChanges','Accept\x20all\x20selected\x20suggestions','TrackChangesUI','5vIfuLf','isMultiRange','discardButton','head','acceptAllSuggestions','_viewToController','push','suggestion-','isDirty','_addUIComponentsToFactory','Accept\x20all\x20suggestions','_createMenuBarMenu','getDescriptions','createAnnotation','comments.maxCommentCharsWhenCollapsed','Discard\x20all\x20suggestions','_handleSuggestionControllerDelayed','getSuggestion','getAllAdjacentSuggestions','EditorAnnotations','change:previous','getMarkerNames','_handleControllerBuffer','clear','menuBar:trackChanges','discardSelectedSuggestions','requires','activeMarkers','stopListening','_initializeController','Annotations','TrackChangesEditing','_suggestionToController','suggestionChanged','editor','CommentsRepository','isOn','acceptButton','config','commands','getRanges','toMany','buttonView','3035704uQVIbg','registerAnnotation','1192575QLsOSK','4239672GpFlwN','delete','addComment','unbind','panelView','trackChanges.disableComments','focus','define','_refreshActiveMarkers','28pSvXmR','init','isEnabled','delegate','commandName','listenTo','get','comments.maxThreadTotalWeight','_unbindEditors','some','refreshSelectedViews','9GdGQFj','arrowView','destroy','locale','activeAnnotations','acceptSelectedSuggestions','_updateController','pluginName','_descriptionFactory'];_0x560c=function(){return _0x28298d;};return _0x560c();}import _0x4ce8d2 from'../theme/icons/track-changes.svg';export default class d extends _0x1339ff{static get[_0x4800b4(0x10f)](){const _0x1c44d4=_0x4800b4;return[_0x48d0e2,_0x3e53d7,_0x1c44d4(0x118),_0x1c44d4(0x113),_0x1c44d4(0x108)];}static get[_0x4800b4(0xb0)](){const _0x3684de=_0x4800b4;return _0x3684de(0xf4);}constructor(_0x48b523){const _0x392107=_0x4800b4;super(_0x48b523),this[_0x392107(0x115)]=new Map(),this[_0x392107(0xfa)]=new Map(),this[_0x392107(0xe8)]=new Map(),this[_0x392107(0x10b)]=new Map();const _0x54c957=this[_0x392107(0x117)][_0x392107(0x8d)];_0x54c957[_0x392107(0x9c)](_0x392107(0xd5),_0x81d81f),_0x54c957[_0x392107(0x9c)](_0x392107(0x9a),!0x1),this[_0x392107(0xd2)]=_0x54c957[_0x392107(0xa4)](_0x392107(0x9a));}[_0x4800b4(0x105)](_0x4429e2,_0x119d93){const _0x2d70cd=_0x4800b4;0x0===this[_0x2d70cd(0x10b)][_0x2d70cd(0xe0)]&&setTimeout(()=>{const _0x4975f2=_0x2d70cd;for(const [_0x2af12e,_0x33ba0e]of this[_0x4975f2(0x10b)]){const _0xe35ea4=this[_0x4975f2(0x115)][_0x4975f2(0xc1)](_0x2af12e);_0xe35ea4||_0x33ba0e?_0xe35ea4&&_0x33ba0e&&this[_0x4975f2(0xed)](_0x2af12e):this[_0x4975f2(0x112)](_0x2af12e);}this[_0x4975f2(0x10b)][_0x4975f2(0x10c)](),this[_0x4975f2(0x117)][_0x4975f2(0xeb)][_0x4975f2(0xa4)](_0x4975f2(0x108))[_0x4975f2(0xa8)](),this[_0x4975f2(0x9d)]();},0xa),this[_0x2d70cd(0x10b)][_0x2d70cd(0xde)](_0x4429e2,_0x119d93);}[_0x4800b4(0x9f)](){const _0x1b395e=_0x4800b4,_0x5f4074=this[_0x1b395e(0x117)],_0x577e5d=_0x5f4074[_0x1b395e(0xeb)][_0x1b395e(0xa4)](_0x1b395e(0x114)),_0x537a94=_0x5f4074[_0x1b395e(0xeb)][_0x1b395e(0xa4)](_0x1b395e(0x113)),_0x5b5bbb=_0x5f4074[_0x1b395e(0xeb)][_0x1b395e(0xa4)](_0x1b395e(0x108)),_0x432405=_0x5f4074[_0x1b395e(0xeb)][_0x1b395e(0xa4)](_0x1b395e(0x118));this[_0x1b395e(0xfe)](),_0x5b5bbb[_0x1b395e(0xee)](()=>{const _0x3cc03=_0x1b395e,_0x4c0f6c=[];for(const [_0x21832e,_0x2e91f5]of Array[_0x3cc03(0xdc)](this[_0x3cc03(0x115)])){const _0x34c2c5=_0x21832e[_0x3cc03(0x107)](),_0x4465b0=[];for(const _0x2f7a8c of _0x34c2c5){if(!_0x2f7a8c[_0x3cc03(0xb3)])continue;if(_0x2f7a8c[_0x3cc03(0xf6)]){_0x4465b0[_0x3cc03(0xfb)](..._0x2f7a8c[_0x3cc03(0x8f)]());continue;}const _0x51795e=_0x2f7a8c[_0x3cc03(0xe5)]();if(_0x4465b0[_0x3cc03(0xc9)]>0x0){const _0x523944=_0x4465b0[0x0][_0x3cc03(0xf1)](_0x51795e);if(_0x523944){_0x4465b0[0x0]=_0x523944;continue;}}_0x4465b0[_0x3cc03(0xfb)](_0x51795e);}_0x4c0f6c[_0x3cc03(0xfb)]([_0x2e91f5[_0x3cc03(0xba)],_0x4465b0]);}return _0x4c0f6c;}),this[_0x1b395e(0xa3)](_0x577e5d,_0x1b395e(0xd9),(_0x4ea697,_0x1effeb)=>{const _0x42144b=_0x1b395e;this[_0x42144b(0xa3)](_0x1effeb,_0x42144b(0x109),(_0x1eff23,_0x2871af,_0x57ac0d,_0x5bcb34)=>{const _0x596423=_0x42144b;_0x1effeb[_0x596423(0xb3)]&&(null==_0x57ac0d?(this[_0x596423(0xaf)](_0x5bcb34[_0x596423(0xf8)]),this[_0x596423(0x105)](_0x1effeb,!0x1)):(this[_0x596423(0xaf)](_0x57ac0d[_0x596423(0xf8)]),null==_0x5bcb34&&this[_0x596423(0x105)](_0x1effeb,!0x0)));}),null!==_0x1effeb[_0x42144b(0xbd)]?this[_0x42144b(0xaf)](_0x1effeb[_0x42144b(0xf8)]):this[_0x42144b(0x105)](_0x1effeb,!0x1);}),this[_0x1b395e(0xa3)](_0x577e5d,_0x1b395e(0xbb),(_0x56cfa7,_0x341e0b,_0x26934b)=>{const _0x4bdb69=_0x1b395e;this[_0x4bdb69(0x111)](_0x341e0b,_0x4bdb69(0x109)),this[_0x4bdb69(0x10b)][_0x4bdb69(0x96)](_0x341e0b),this[_0x4bdb69(0x115)][_0x4bdb69(0xc1)](_0x341e0b)&&this[_0x4bdb69(0xed)](_0x341e0b),_0x26934b&&this[_0x4bdb69(0xaf)](_0x26934b[_0x4bdb69(0xf8)]);}),this[_0x1b395e(0xa3)](_0x577e5d,_0x1b395e(0x116),(_0xd79c26,_0x438e3f)=>{const _0x507f9c=_0x1b395e;this[_0x507f9c(0xaf)](_0x438e3f);}),this[_0x1b395e(0xa3)](_0x537a94,_0x1b395e(0xe6),()=>{const _0x37d44f=_0x1b395e;this[_0x37d44f(0x9d)]();}),this[_0x1b395e(0xa3)](_0x432405,_0x1b395e(0x97),(_0x40dd8b,{threadId:_0xe30d94,isFromAdapter:_0x44d8ed})=>{const _0x19868b=_0x1b395e;if(_0x44d8ed||!_0x577e5d[_0x19868b(0xd1)](_0xe30d94))return;const _0x1fa45e=_0x577e5d[_0x19868b(0x106)](_0xe30d94);this[_0x19868b(0x115)][_0x19868b(0xa4)](_0x1fa45e)[_0x19868b(0xba)][_0x19868b(0x9b)]();},{'priority':_0x1b395e(0xda)});}[_0x4800b4(0x9d)](){const _0x570048=_0x4800b4,_0x5dc2d2=this[_0x570048(0x117)][_0x570048(0xeb)][_0x570048(0xa4)](_0x570048(0x113)),_0x26df31=this[_0x570048(0x117)][_0x570048(0xeb)][_0x570048(0xa4)](_0x570048(0x114)),_0x5121ca=Array[_0x570048(0xdc)](_0x5dc2d2[_0x570048(0xad)],_0x49eaac=>_0x49eaac[_0x570048(0xdf)])[_0x570048(0xbf)](_0x242ca5=>this[_0x570048(0xfa)][_0x570048(0xc1)](_0x242ca5)),_0x44d9b1=[];for(const _0x22617b of _0x5121ca){const _0x1d75f4=this[_0x570048(0xfa)][_0x570048(0xa4)](_0x22617b)[_0x570048(0xc0)][_0x570048(0x107)]();_0x44d9b1[_0x570048(0xfb)](..._0x1d75f4[_0x570048(0xdd)]((_0x58d3f9,_0x5fa069)=>[..._0x58d3f9,..._0x5fa069[_0x570048(0x10a)]()],[]));}_0x26df31[_0x570048(0x110)]=_0x44d9b1;}[_0x4800b4(0xfe)](){const _0x2ea0ab=_0x4800b4,_0x2d482f=this[_0x2ea0ab(0x117)],_0x2944ab=_0x2d482f[_0x2ea0ab(0xac)],_0x450e4b=_0x3127d1(_0x2944ab,_0x2ea0ab(0xcd)),_0x388004=new _0x25608f([{'type':_0x2ea0ab(0xdb),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x450e4b,'commandName':_0x2ea0ab(0xf2)})},{'type':_0x2ea0ab(0xcf)},{'type':_0x2ea0ab(0xb2),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x3127d1(_0x2944ab,_0x2ea0ab(0xff)),'commandName':_0x2ea0ab(0xf9)})},{'type':_0x2ea0ab(0xb2),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x3127d1(_0x2944ab,_0x2ea0ab(0xf3)),'commandName':_0x2ea0ab(0xae)})},{'type':_0x2ea0ab(0xb2),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x3127d1(_0x2944ab,_0x2ea0ab(0x104)),'commandName':_0x2ea0ab(0xca)})},{'type':_0x2ea0ab(0xb2),'model':new _0x3e9b9c({'withText':!0x0,'label':_0x3127d1(_0x2944ab,_0x2ea0ab(0xb4)),'commandName':_0x2ea0ab(0x10e)})}]);for(const _0xc599e3 of _0x388004)if(ae(_0xc599e3)){const _0x481bac=_0x2d482f[_0x2ea0ab(0x8e)][_0x2ea0ab(0xa4)](_0xc599e3[_0x2ea0ab(0xc0)][_0x2ea0ab(0xa2)]);_0xc599e3[_0x2ea0ab(0xc0)][_0x2ea0ab(0xbe)](_0x2ea0ab(0x119),_0x2ea0ab(0xa0))['to'](_0x481bac,_0x2ea0ab(0xd8),_0x2ea0ab(0xa0));}_0x2d482f['ui'][_0x2ea0ab(0xb5)][_0x2ea0ab(0xe4)](_0x2ea0ab(0xf2),_0x47c153=>this[_0x2ea0ab(0xcb)](_0x47c153,_0x388004,_0x450e4b)),_0x2d482f['ui'][_0x2ea0ab(0xb5)][_0x2ea0ab(0xe4)](_0x2ea0ab(0x10d),_0x537747=>this[_0x2ea0ab(0x100)](_0x537747,_0x388004,_0x450e4b));}[_0x4800b4(0xcb)](_0x10c004,_0x352130,_0x5e7029){const _0x239fd7=_0x4800b4,_0x320962=_0x9ed616(_0x10c004,_0x36986c),_0x248c40=this[_0x239fd7(0x117)][_0x239fd7(0x8e)][_0x239fd7(0xa4)](_0x239fd7(0xf2));_0x320962[_0x239fd7(0x91)][_0x239fd7(0xde)]({'tooltip':_0x5e7029,'label':_0x5e7029,'icon':_0x4ce8d2}),_0x320962[_0x239fd7(0x91)][_0x239fd7(0xbe)](_0x239fd7(0x119))['to'](_0x248c40,_0x239fd7(0xd8)),_0x320962[_0x239fd7(0x91)]['on'](_0x239fd7(0xc4),()=>{const _0x414098=_0x239fd7;_0x248c40[_0x414098(0xc4)](),this[_0x414098(0x117)][_0x414098(0xe2)][_0x414098(0xba)][_0x414098(0x9b)]();}),_0x2d9da6(_0x320962,_0x352130);const _0x11f333=[];for(const _0x843592 of _0x352130)ae(_0x843592)&&_0x11f333[_0x239fd7(0xfb)](this[_0x239fd7(0x117)][_0x239fd7(0x8e)][_0x239fd7(0xa4)](_0x843592[_0x239fd7(0xc0)][_0x239fd7(0xa2)]));const _0x4b40f1=_0x320962[_0x239fd7(0x91)];return _0x4b40f1[_0x239fd7(0xd4)][_0x239fd7(0x98)](_0x239fd7(0xa0)),_0x4b40f1[_0x239fd7(0xaa)][_0x239fd7(0x98)](_0x239fd7(0xa0)),_0x4b40f1[_0x239fd7(0xd4)][_0x239fd7(0xbe)](_0x239fd7(0xa0))['to'](_0x248c40,_0x239fd7(0xa0)),_0x4b40f1[_0x239fd7(0xaa)][_0x239fd7(0xbe)](_0x239fd7(0xa0))[_0x239fd7(0x90)](_0x11f333,_0x239fd7(0xa0),(..._0x846cb1)=>_0x846cb1[_0x239fd7(0xa7)](_0x4a2a1b=>_0x4a2a1b)),_0x320962['on'](_0x239fd7(0xc4),_0x323232=>{const _0x5f3d5f=_0x239fd7;this[_0x5f3d5f(0x117)][_0x5f3d5f(0xc4)](_0x323232[_0x5f3d5f(0xe7)][_0x5f3d5f(0xa2)]),this[_0x5f3d5f(0x117)][_0x5f3d5f(0xe2)][_0x5f3d5f(0xba)][_0x5f3d5f(0x9b)]();}),_0x320962;}[_0x4800b4(0x100)](_0x396b1a,_0x46ef03,_0x772b61){const _0x4473fc=_0x4800b4,_0x4d727e=new _0xa90177(_0x396b1a),_0x114300=this[_0x4473fc(0x117)][_0x4473fc(0x8e)][_0x4473fc(0xa4)](_0x4473fc(0xf2));_0x4d727e[_0x4473fc(0x91)][_0x4473fc(0xde)]({'label':_0x772b61,'icon':_0x4ce8d2});const _0x4081b=new _0x34f9dc(_0x396b1a);for(const _0x2e98c1 of _0x46ef03){if(_0x4473fc(0xcf)==_0x2e98c1[_0x4473fc(0xcc)]){_0x4081b[_0x4473fc(0xe9)][_0x4473fc(0xe4)](new _0x1d9172(_0x396b1a));continue;}const _0x3a9b56=new _0x5c25c1(_0x396b1a,_0x4d727e),_0xd9940c=new _0x72b9a7(_0x396b1a),_0x377f20=_0x2e98c1[_0x4473fc(0xc0)];_0xd9940c[_0x4473fc(0xbe)](...Object[_0x4473fc(0xb7)](_0x377f20))['to'](_0x377f20),_0xd9940c[_0x4473fc(0xa1)](_0x4473fc(0xc4))['to'](_0x4d727e),_0xd9940c['on'](_0x4473fc(0xc4),()=>{const _0x579a3e=_0x4473fc;this[_0x579a3e(0x117)][_0x579a3e(0xc4)](_0x377f20[_0x579a3e(0xa2)]),this[_0x579a3e(0x117)][_0x579a3e(0xe2)][_0x579a3e(0xba)][_0x579a3e(0x9b)]();}),_0x3a9b56[_0x4473fc(0xce)][_0x4473fc(0xe4)](_0xd9940c),_0x4081b[_0x4473fc(0xe9)][_0x4473fc(0xe4)](_0x3a9b56);}return _0x4d727e[_0x4473fc(0xbe)](_0x4473fc(0xa0))['to'](_0x114300,_0x4473fc(0xa0)),_0x4d727e[_0x4473fc(0x99)][_0x4473fc(0xce)][_0x4473fc(0xe4)](_0x4081b),_0x4d727e;}[_0x4800b4(0x112)](_0x1937a8){const _0x47066c=_0x4800b4,_0x43e551=this[_0x47066c(0x117)],_0x18fc42=_0x43e551[_0x47066c(0x8d)],_0x1ddebb=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0x113)),_0x441ac0=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0x118)),_0xa2447c=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0x108)),_0x574b41=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x3e53d7)['me'],_0x5a2aa8=_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xf2))[_0x47066c(0xd6)],{CommentsListView:_0x2a9f0d,CommentThreadInputView:_0x1adad8}=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0xc2));let _0x3d987b,_0x33fd03;this[_0x47066c(0xe8)][_0x47066c(0xc1)](_0x1937a8['id'])?(_0x33fd03=this[_0x47066c(0xe8)][_0x47066c(0xa4)](_0x1937a8['id']),_0x3d987b=_0x33fd03[_0x47066c(0xb6)]):(_0x3d987b=new _0x5a2aa8(_0x43e551[_0x47066c(0xac)],_0x1937a8,_0x574b41,{'disableComments':this[_0x47066c(0xd2)],'editorConfig':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xec)),'maxCommentsWhenCollapsed':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xe3)),'maxThreadTotalWeight':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xa5)),'maxCommentCharsWhenCollapsed':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0x103)),'formatDateTime':_0x5656d8(_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xac))),'CommentView':_0x18fc42[_0x47066c(0xa4)](_0x47066c(0xea))[_0x47066c(0xc8)],'CommentsListView':_0x2a9f0d,'CommentThreadInputView':_0x1adad8}),_0x3d987b[_0x47066c(0x11a)]['on'](_0x47066c(0xc4),()=>{const _0x2edc1a=_0x47066c;_0x43e551[_0x2edc1a(0xe2)][_0x2edc1a(0xba)][_0x2edc1a(0x9b)]();}),_0x3d987b[_0x47066c(0xf7)]['on'](_0x47066c(0xc4),()=>{const _0x114d1a=_0x47066c;_0x43e551[_0x114d1a(0xe2)][_0x114d1a(0xba)][_0x114d1a(0x9b)]();}),_0x33fd03=_0x1ddebb[_0x47066c(0xbc)](this[_0x47066c(0x117)][_0x47066c(0xac)],_0x3d987b),_0x33fd03[_0x47066c(0xbe)](_0x47066c(0xfd))['to'](_0x3d987b,_0x47066c(0xfd)),_0x33fd03[_0x47066c(0xbe)](_0x47066c(0xc9))['to'](_0x3d987b),_0x33fd03[_0x47066c(0xbe)](_0x47066c(0xcc))['to'](_0x3d987b,_0x47066c(0xcc),_0xd5d448=>_0x47066c(0xfc)+_0xd5d448),this[_0x47066c(0xe8)][_0x47066c(0xde)](_0x1937a8['id'],_0x33fd03));const _0x2af737=_0x441ac0[_0x47066c(0xc5)](_0x1937a8[_0x47066c(0xb8)],_0x3d987b),_0x2761fe=new _0x2e8e6d(_0x43e551,_0x1937a8,_0x3d987b,_0x2af737),_0x29c9df=_0x1937a8[_0x47066c(0x107)]()[_0x47066c(0xbf)](_0x1e6163=>_0x1e6163[_0x47066c(0xb3)]);_0x3d987b[_0x47066c(0xf0)]=_0x43e551[_0x47066c(0xeb)][_0x47066c(0xa4)](_0x47066c(0x114))[_0x47066c(0xb1)][_0x47066c(0x101)](_0x29c9df),this[_0x47066c(0x115)][_0x47066c(0xde)](_0x1937a8,_0x2761fe),this[_0x47066c(0xfa)][_0x47066c(0xde)](_0x3d987b,_0x2761fe);const _0x5dea73=_0x1ddebb[_0x47066c(0x102)]({'view':_0x33fd03,'target':()=>{const _0x28f3f4=_0x47066c,_0x15ef84=[],_0x346b9d=_0x1937a8[_0x28f3f4(0x107)]()[_0x28f3f4(0xbf)](_0x4017eb=>_0x4017eb[_0x28f3f4(0xb3)]);for(const _0x5620d2 of _0x346b9d)_0x15ef84[_0x28f3f4(0xfb)](..._0x5620d2[_0x28f3f4(0xc6)]());return _0x4b27a4(_0x43e551[_0x28f3f4(0xe2)],_0x15ef84);},'type':()=>_0x47066c(0xfc)+_0x2761fe[_0x47066c(0xba)][_0x47066c(0xcc)]});_0x441ac0[_0x47066c(0xef)](_0x3d987b,_0x5dea73),_0x1ddebb[_0x47066c(0xe4)](_0x5dea73),_0xa2447c[_0x47066c(0x93)](_0x5dea73);}[_0x4800b4(0xed)](_0x2538c0){const _0x52d612=_0x4800b4,_0xc820f2=this[_0x52d612(0x117)][_0x52d612(0xeb)][_0x52d612(0xa4)](_0x52d612(0x118)),_0x15742c=this[_0x52d612(0x117)][_0x52d612(0xeb)][_0x52d612(0xa4)](_0x52d612(0x113)),_0x15aa01=this[_0x52d612(0x115)][_0x52d612(0xa4)](_0x2538c0),_0x14c5cf=_0x15aa01[_0x52d612(0xba)],_0x4fc687=_0x15742c[_0x52d612(0xc7)](_0x14c5cf);_0xc820f2[_0x52d612(0xa6)](_0x14c5cf),_0x4fc687&&_0x15742c[_0x52d612(0xd3)](_0x4fc687),this[_0x52d612(0x115)][_0x52d612(0x96)](_0x2538c0),this[_0x52d612(0xfa)][_0x52d612(0x96)](_0x14c5cf),_0x15aa01[_0x52d612(0xab)]();}[_0x4800b4(0xaf)](_0x30c27c){const _0x34c825=_0x4800b4;if(!_0x30c27c[_0x34c825(0xb3)]||!this[_0x34c825(0x115)][_0x34c825(0xc1)](_0x30c27c))return;const _0x33bc68=this[_0x34c825(0x117)][_0x34c825(0xeb)][_0x34c825(0xa4)](_0x34c825(0x114)),_0x26d9b1=this[_0x34c825(0x115)][_0x34c825(0xa4)](_0x30c27c),_0x168b02=_0x30c27c[_0x34c825(0x107)]();_0x26d9b1[_0x34c825(0xba)][_0x34c825(0xf0)]=_0x33bc68[_0x34c825(0xb1)][_0x34c825(0x101)](_0x168b02);}[_0x4800b4(0xab)](){const _0x2c0b88=_0x4800b4;for(const _0x4a688c of this[_0x2c0b88(0x115)][_0x2c0b88(0xb7)]())this[_0x2c0b88(0xed)](_0x4a688c);for(const _0x1f92fd of this[_0x2c0b88(0xe8)][_0x2c0b88(0xb9)]())_0x1f92fd[_0x2c0b88(0xb6)][_0x2c0b88(0xab)]();super[_0x2c0b88(0xab)]();}}function ae(_0x56ced3){const _0x3b400e=_0x4800b4;return _0x3b400e(0xc0)in _0x56ced3;}
|
|
23
|
+
const _0x5716ad=_0x8d3e;(function(_0x528d10,_0x4c3a22){const _0x3b0bc6=_0x8d3e,_0x4594ec=_0x528d10();while(!![]){try{const _0x6ce260=parseInt(_0x3b0bc6(0x124))/0x1+-parseInt(_0x3b0bc6(0xc1))/0x2*(parseInt(_0x3b0bc6(0xec))/0x3)+-parseInt(_0x3b0bc6(0xfb))/0x4*(-parseInt(_0x3b0bc6(0x129))/0x5)+-parseInt(_0x3b0bc6(0xd7))/0x6*(parseInt(_0x3b0bc6(0xd5))/0x7)+-parseInt(_0x3b0bc6(0x11d))/0x8+-parseInt(_0x3b0bc6(0xb4))/0x9*(parseInt(_0x3b0bc6(0x12c))/0xa)+-parseInt(_0x3b0bc6(0xbf))/0xb*(-parseInt(_0x3b0bc6(0xde))/0xc);if(_0x6ce260===_0x4c3a22)break;else _0x4594ec['push'](_0x4594ec['shift']());}catch(_0x242f33){_0x4594ec['push'](_0x4594ec['shift']());}}}(_0x580a,0xb247b));import{Plugin as _0x2235bd}from'ckeditor5/src/core.js';import{Collection as _0x337f46}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3ebd17,createDropdown as _0x4d7408,ListSeparatorView as _0x476df4,MenuBarMenuView as _0x2cdd7a,MenuBarMenuListView as _0x3ede21,MenuBarMenuListItemView as _0x3fe1ec,MenuBarMenuListItemButtonView as _0x1ec023,SplitButtonView as _0xfc2215,ViewModel as _0xb24bcd}from'ckeditor5/src/ui.js';import{Users as _0x1911db,getDateTimeFormatter as _0x310dbf,getAllMarkersDomElementsSorted as _0x3f3ade}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x10a03e from'./trackchangesediting.js';import _0xc4613 from'./ui/suggestioncontroller.js';import _0x4bf010 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x41c0fb}from'./utils/common-translations.js';function _0x580a(){const _0x2ef085=['type','switchbutton','_unbindEditors','_createMenuBarMenu','reduce','buttonView','addComment','22cmFWHi','_destroyController','230zUdcta','delete','descriptionParts','refreshSelectedViews','children','discardSelectedSuggestions','Annotations','requires','commandName','discardAllSuggestions','getByInnerView','destroy','add','_disableComments','remove','toMany','activeMarkers','createAnnotation','activeAnnotations','getDescriptions','140aNvdKb','isMultiRange','238866ptEcJw','comments.editorConfig','change:previous','Discard\x20all\x20suggestions','arrowView','bind','from','12324348GffMjp','getMarkerNames','actionView','value','stopListening','acceptAllSuggestions','filter','plugins','getJoined','unbind','getSuggestion','locale','CommentsRepository','editing','31389RMiwPG','keys','get','has','button','componentFactory','change:activeAnnotations','registerAnnotation','editor','getRanges','set','_initializeController','_handleSuggestionControllerDelayed','values','commands','4900xXNwBf','comments.maxThreadTotalWeight','acceptButton','TrackChangesUI','_addUIComponentsToFactory','_handleControllerBuffer','focus','clear','_descriptionFactory','suggestion-','TrackChangesEditing','SuggestionThreadView','config','_viewToController','Accept\x20all\x20selected\x20suggestions','trackChanges.SuggestionThreadView','lowest','listenTo','execute','menuBar:trackChanges','getMarkers','items','discardButton','push','_updateController','suggestionLoaded','previous','isInContent','commentThread','pluginName','hasSuggestion','isOn','some','suggestionUnloaded','8450480wbrgjp','EditorAnnotations','getAllAdjacentSuggestions','createAnnotationView','_suggestionToController','separator','comments.maxCommentsWhenCollapsed','625266sQAnvn','comments.maxCommentCharsWhenCollapsed','CommentView','define','Accept\x20all\x20suggestions','4630BqyZDe','length','_bindAnnotationToEditors','140ucKNqS','acceptSelectedSuggestions','getFirstRange','view','isDirty','_annotationViews','CommentsUI','panelView','model','innerView','size','source','init','head','trackChanges','Track\x20changes','delegate','mainView','trackChanges.disableComments','_createToolbarButton','createCommentThreadController','isEnabled','suggestionChanged','comments','17784CLWyPj','_refreshActiveMarkers','Discard\x20all\x20selected\x20suggestions','addSourceCollector'];_0x580a=function(){return _0x2ef085;};return _0x580a();}import _0x3b789c from'../theme/icons/track-changes.svg';function _0x8d3e(_0x33d855,_0x507ae1){const _0x580a62=_0x580a();return _0x8d3e=function(_0x8d3ee8,_0x3e6259){_0x8d3ee8=_0x8d3ee8-0xb2;let _0x5c3e56=_0x580a62[_0x8d3ee8];return _0x5c3e56;},_0x8d3e(_0x33d855,_0x507ae1);}export default class d extends _0x2235bd{static get[_0x5716ad(0xc8)](){const _0x4af12a=_0x5716ad;return[_0x10a03e,_0x1911db,_0x4af12a(0xea),_0x4af12a(0xc7),_0x4af12a(0x11e)];}static get[_0x5716ad(0x118)](){const _0x271b06=_0x5716ad;return _0x271b06(0xfe);}constructor(_0x2895a3){const _0x29489e=_0x5716ad;super(_0x2895a3),this[_0x29489e(0x121)]=new Map(),this[_0x29489e(0x108)]=new Map(),this[_0x29489e(0x131)]=new Map(),this[_0x29489e(0x100)]=new Map();const _0x4b37e8=this[_0x29489e(0xf4)][_0x29489e(0x107)];_0x4b37e8[_0x29489e(0x127)](_0x29489e(0x10a),_0x4bf010),_0x4b37e8[_0x29489e(0x127)](_0x29489e(0x13e),!0x1),this[_0x29489e(0xce)]=_0x4b37e8[_0x29489e(0xee)](_0x29489e(0x13e));}[_0x5716ad(0xf8)](_0xc1d73d,_0x219815){const _0x5ab952=_0x5716ad;0x0===this[_0x5ab952(0x100)][_0x5ab952(0x136)]&&setTimeout(()=>{const _0x3ba110=_0x5ab952;for(const [_0x113f60,_0x2fcb48]of this[_0x3ba110(0x100)]){const _0x5d201e=this[_0x3ba110(0x121)][_0x3ba110(0xef)](_0x113f60);_0x5d201e||_0x2fcb48?_0x5d201e&&_0x2fcb48&&this[_0x3ba110(0xc0)](_0x113f60):this[_0x3ba110(0xf7)](_0x113f60);}this[_0x3ba110(0x100)][_0x3ba110(0x102)](),this[_0x3ba110(0xf4)][_0x3ba110(0xe5)][_0x3ba110(0xee)](_0x3ba110(0x11e))[_0x3ba110(0xc4)](),this[_0x3ba110(0xb5)]();},0xa),this[_0x5ab952(0x100)][_0x5ab952(0xf6)](_0xc1d73d,_0x219815);}[_0x5716ad(0x138)](){const _0x15e8b7=_0x5716ad,_0x158279=this[_0x15e8b7(0xf4)],_0x4e48f7=_0x158279[_0x15e8b7(0xe5)][_0x15e8b7(0xee)](_0x15e8b7(0x105)),_0x2b2210=_0x158279[_0x15e8b7(0xe5)][_0x15e8b7(0xee)](_0x15e8b7(0xc7)),_0x52f483=_0x158279[_0x15e8b7(0xe5)][_0x15e8b7(0xee)](_0x15e8b7(0x11e)),_0x4edf25=_0x158279[_0x15e8b7(0xe5)][_0x15e8b7(0xee)](_0x15e8b7(0xea));this[_0x15e8b7(0xff)](),_0x52f483[_0x15e8b7(0xb7)](()=>{const _0x383ccb=_0x15e8b7,_0x1bbe6e=[];for(const [_0x2d6f99,_0x2468ae]of Array[_0x383ccb(0xdd)](this[_0x383ccb(0x121)])){const _0x1b2a6a=_0x2d6f99[_0x383ccb(0x11f)](),_0xbc6c4b=[];for(const _0x520fe2 of _0x1b2a6a){if(!_0x520fe2[_0x383ccb(0x116)])continue;if(_0x520fe2[_0x383ccb(0xd6)]){_0xbc6c4b[_0x383ccb(0x112)](..._0x520fe2[_0x383ccb(0xf5)]());continue;}const _0x2c88ac=_0x520fe2[_0x383ccb(0x12e)]();if(_0xbc6c4b[_0x383ccb(0x12a)]>0x0){const _0x5e81d2=_0xbc6c4b[0x0][_0x383ccb(0xe6)](_0x2c88ac);if(_0x5e81d2){_0xbc6c4b[0x0]=_0x5e81d2;continue;}}_0xbc6c4b[_0x383ccb(0x112)](_0x2c88ac);}_0x1bbe6e[_0x383ccb(0x112)]([_0x2468ae[_0x383ccb(0x12f)],_0xbc6c4b]);}return _0x1bbe6e;}),this[_0x15e8b7(0x10c)](_0x4e48f7,_0x15e8b7(0x114),(_0x5bf46b,_0x8c1b8a)=>{const _0x4a4c1b=_0x15e8b7;this[_0x4a4c1b(0x10c)](_0x8c1b8a,_0x4a4c1b(0xd9),(_0x4acc7e,_0x174ecd,_0x1108f2,_0x38b68e)=>{const _0x1f71cf=_0x4a4c1b;_0x8c1b8a[_0x1f71cf(0x116)]&&(null==_0x1108f2?(this[_0x1f71cf(0x113)](_0x38b68e[_0x1f71cf(0x139)]),this[_0x1f71cf(0xf8)](_0x8c1b8a,!0x1)):(this[_0x1f71cf(0x113)](_0x1108f2[_0x1f71cf(0x139)]),null==_0x38b68e&&this[_0x1f71cf(0xf8)](_0x8c1b8a,!0x0)));}),null!==_0x8c1b8a[_0x4a4c1b(0x115)]?this[_0x4a4c1b(0x113)](_0x8c1b8a[_0x4a4c1b(0x139)]):this[_0x4a4c1b(0xf8)](_0x8c1b8a,!0x1);}),this[_0x15e8b7(0x10c)](_0x4e48f7,_0x15e8b7(0x11c),(_0x5489de,_0x26d686,_0x6a9946)=>{const _0x5b3d71=_0x15e8b7;this[_0x5b3d71(0xe2)](_0x26d686,_0x5b3d71(0xd9)),this[_0x5b3d71(0x100)][_0x5b3d71(0xc2)](_0x26d686),this[_0x5b3d71(0x121)][_0x5b3d71(0xef)](_0x26d686)&&this[_0x5b3d71(0xc0)](_0x26d686),_0x6a9946&&this[_0x5b3d71(0x113)](_0x6a9946[_0x5b3d71(0x139)]);}),this[_0x15e8b7(0x10c)](_0x4e48f7,_0x15e8b7(0xb2),(_0x514736,_0x312df3)=>{const _0x4b6a7c=_0x15e8b7;this[_0x4b6a7c(0x113)](_0x312df3);}),this[_0x15e8b7(0x10c)](_0x2b2210,_0x15e8b7(0xf2),()=>{const _0x4d8c07=_0x15e8b7;this[_0x4d8c07(0xb5)]();}),this[_0x15e8b7(0x10c)](_0x4edf25,_0x15e8b7(0xbe),(_0xca3205,{threadId:_0x7b1ad5,isFromAdapter:_0x16fc42})=>{const _0x29a6ab=_0x15e8b7;if(_0x16fc42||!_0x4e48f7[_0x29a6ab(0x119)](_0x7b1ad5))return;const _0x32d135=_0x4e48f7[_0x29a6ab(0xe8)](_0x7b1ad5);this[_0x29a6ab(0x121)][_0x29a6ab(0xee)](_0x32d135)[_0x29a6ab(0x12f)][_0x29a6ab(0x101)]();},{'priority':_0x15e8b7(0x10b)});}[_0x5716ad(0xb5)](){const _0x434644=_0x5716ad,_0x2b7cff=this[_0x434644(0xf4)][_0x434644(0xe5)][_0x434644(0xee)](_0x434644(0xc7)),_0x5680aa=this[_0x434644(0xf4)][_0x434644(0xe5)][_0x434644(0xee)](_0x434644(0x105)),_0x5e255f=Array[_0x434644(0xdd)](_0x2b7cff[_0x434644(0xd3)],_0x324e94=>_0x324e94[_0x434644(0x135)])[_0x434644(0xe4)](_0x3afc04=>this[_0x434644(0x108)][_0x434644(0xef)](_0x3afc04)),_0x14f2c8=[];for(const _0x63b2e6 of _0x5e255f){const _0x9630d0=this[_0x434644(0x108)][_0x434644(0xee)](_0x63b2e6)[_0x434644(0x134)][_0x434644(0x11f)]();_0x14f2c8[_0x434644(0x112)](..._0x9630d0[_0x434644(0xbc)]((_0x4bec6c,_0x24e3df)=>[..._0x4bec6c,..._0x24e3df[_0x434644(0xdf)]()],[]));}_0x5680aa[_0x434644(0xd1)]=_0x14f2c8;}[_0x5716ad(0xff)](){const _0x4f9b1f=_0x5716ad,_0xbb3182=this[_0x4f9b1f(0xf4)],_0x454868=_0xbb3182[_0x4f9b1f(0xe9)],_0x147e0f=_0x41c0fb(_0x454868,_0x4f9b1f(0x13b)),_0x372a76=new _0x337f46([{'type':_0x4f9b1f(0xb9),'model':new _0xb24bcd({'withText':!0x0,'label':_0x147e0f,'commandName':_0x4f9b1f(0x13a)})},{'type':_0x4f9b1f(0x122)},{'type':_0x4f9b1f(0xf0),'model':new _0xb24bcd({'withText':!0x0,'label':_0x41c0fb(_0x454868,_0x4f9b1f(0x128)),'commandName':_0x4f9b1f(0xe3)})},{'type':_0x4f9b1f(0xf0),'model':new _0xb24bcd({'withText':!0x0,'label':_0x41c0fb(_0x454868,_0x4f9b1f(0x109)),'commandName':_0x4f9b1f(0x12d)})},{'type':_0x4f9b1f(0xf0),'model':new _0xb24bcd({'withText':!0x0,'label':_0x41c0fb(_0x454868,_0x4f9b1f(0xda)),'commandName':_0x4f9b1f(0xca)})},{'type':_0x4f9b1f(0xf0),'model':new _0xb24bcd({'withText':!0x0,'label':_0x41c0fb(_0x454868,_0x4f9b1f(0xb6)),'commandName':_0x4f9b1f(0xc6)})}]);for(const _0x270587 of _0x372a76)if(ae(_0x270587)){const _0x141595=_0xbb3182[_0x4f9b1f(0xfa)][_0x4f9b1f(0xee)](_0x270587[_0x4f9b1f(0x134)][_0x4f9b1f(0xc9)]);_0x270587[_0x4f9b1f(0x134)][_0x4f9b1f(0xdc)](_0x4f9b1f(0x11a),_0x4f9b1f(0x141))['to'](_0x141595,_0x4f9b1f(0xe1),_0x4f9b1f(0x141));}_0xbb3182['ui'][_0x4f9b1f(0xf1)][_0x4f9b1f(0xcd)](_0x4f9b1f(0x13a),_0x438813=>this[_0x4f9b1f(0x13f)](_0x438813,_0x372a76,_0x147e0f)),_0xbb3182['ui'][_0x4f9b1f(0xf1)][_0x4f9b1f(0xcd)](_0x4f9b1f(0x10e),_0x47d8f8=>this[_0x4f9b1f(0xbb)](_0x47d8f8,_0x372a76,_0x147e0f));}[_0x5716ad(0x13f)](_0x138ca6,_0x3f5950,_0x5f45ed){const _0x167ea3=_0x5716ad,_0x26d380=_0x4d7408(_0x138ca6,_0xfc2215),_0x480475=this[_0x167ea3(0xf4)][_0x167ea3(0xfa)][_0x167ea3(0xee)](_0x167ea3(0x13a));_0x26d380[_0x167ea3(0xbd)][_0x167ea3(0xf6)]({'tooltip':_0x5f45ed,'label':_0x5f45ed,'icon':_0x3b789c}),_0x26d380[_0x167ea3(0xbd)][_0x167ea3(0xdc)](_0x167ea3(0x11a))['to'](_0x480475,_0x167ea3(0xe1)),_0x26d380[_0x167ea3(0xbd)]['on'](_0x167ea3(0x10d),()=>{const _0x1a3901=_0x167ea3;_0x480475[_0x1a3901(0x10d)](),this[_0x1a3901(0xf4)][_0x1a3901(0xeb)][_0x1a3901(0x12f)][_0x1a3901(0x101)]();}),_0x3ebd17(_0x26d380,_0x3f5950);const _0xf272ad=[];for(const _0x7a87eb of _0x3f5950)ae(_0x7a87eb)&&_0xf272ad[_0x167ea3(0x112)](this[_0x167ea3(0xf4)][_0x167ea3(0xfa)][_0x167ea3(0xee)](_0x7a87eb[_0x167ea3(0x134)][_0x167ea3(0xc9)]));const _0x34d8fc=_0x26d380[_0x167ea3(0xbd)];return _0x34d8fc[_0x167ea3(0xe0)][_0x167ea3(0xe7)](_0x167ea3(0x141)),_0x34d8fc[_0x167ea3(0xdb)][_0x167ea3(0xe7)](_0x167ea3(0x141)),_0x34d8fc[_0x167ea3(0xe0)][_0x167ea3(0xdc)](_0x167ea3(0x141))['to'](_0x480475,_0x167ea3(0x141)),_0x34d8fc[_0x167ea3(0xdb)][_0x167ea3(0xdc)](_0x167ea3(0x141))[_0x167ea3(0xd0)](_0xf272ad,_0x167ea3(0x141),(..._0x30b255)=>_0x30b255[_0x167ea3(0x11b)](_0x293579=>_0x293579)),_0x26d380['on'](_0x167ea3(0x10d),_0x4458e3=>{const _0x3836c3=_0x167ea3;this[_0x3836c3(0xf4)][_0x3836c3(0x10d)](_0x4458e3[_0x3836c3(0x137)][_0x3836c3(0xc9)]),this[_0x3836c3(0xf4)][_0x3836c3(0xeb)][_0x3836c3(0x12f)][_0x3836c3(0x101)]();}),_0x26d380;}[_0x5716ad(0xbb)](_0x8dd039,_0x82398f,_0x1ec18c){const _0x1128b2=_0x5716ad,_0x19cb22=new _0x2cdd7a(_0x8dd039),_0x5d2875=this[_0x1128b2(0xf4)][_0x1128b2(0xfa)][_0x1128b2(0xee)](_0x1128b2(0x13a));_0x19cb22[_0x1128b2(0xbd)][_0x1128b2(0xf6)]({'label':_0x1ec18c,'icon':_0x3b789c});const _0x168a9d=new _0x3ede21(_0x8dd039);for(const _0xdb01d1 of _0x82398f){if(_0x1128b2(0x122)==_0xdb01d1[_0x1128b2(0xb8)]){_0x168a9d[_0x1128b2(0x110)][_0x1128b2(0xcd)](new _0x476df4(_0x8dd039));continue;}const _0x16f4ce=new _0x3fe1ec(_0x8dd039,_0x19cb22),_0x5617c4=new _0x1ec023(_0x8dd039),_0x2679c5=_0xdb01d1[_0x1128b2(0x134)];_0x5617c4[_0x1128b2(0xdc)](...Object[_0x1128b2(0xed)](_0x2679c5))['to'](_0x2679c5),_0x5617c4[_0x1128b2(0x13c)](_0x1128b2(0x10d))['to'](_0x19cb22),_0x5617c4['on'](_0x1128b2(0x10d),()=>{const _0x57695a=_0x1128b2;this[_0x57695a(0xf4)][_0x57695a(0x10d)](_0x2679c5[_0x57695a(0xc9)]),this[_0x57695a(0xf4)][_0x57695a(0xeb)][_0x57695a(0x12f)][_0x57695a(0x101)]();}),_0x16f4ce[_0x1128b2(0xc5)][_0x1128b2(0xcd)](_0x5617c4),_0x168a9d[_0x1128b2(0x110)][_0x1128b2(0xcd)](_0x16f4ce);}return _0x19cb22[_0x1128b2(0xdc)](_0x1128b2(0x141))['to'](_0x5d2875,_0x1128b2(0x141)),_0x19cb22[_0x1128b2(0x133)][_0x1128b2(0xc5)][_0x1128b2(0xcd)](_0x168a9d),_0x19cb22;}[_0x5716ad(0xf7)](_0x30c386){const _0x1f1be9=_0x5716ad,_0xaecb10=this[_0x1f1be9(0xf4)],_0x1caf4d=_0xaecb10[_0x1f1be9(0x107)],_0x5e7cfd=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0xc7)),_0x5bcf20=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0xea)),_0x204cbf=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0x11e)),_0x4110f9=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1911db)['me'],_0x539b87=_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0x13a))[_0x1f1be9(0x106)],{CommentsListView:_0x5361e7,CommentThreadInputView:_0x57adfb}=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0x132));let _0x3fa511,_0x501b0b;this[_0x1f1be9(0x131)][_0x1f1be9(0xef)](_0x30c386['id'])?(_0x501b0b=this[_0x1f1be9(0x131)][_0x1f1be9(0xee)](_0x30c386['id']),_0x3fa511=_0x501b0b[_0x1f1be9(0x13d)]):(_0x3fa511=new _0x539b87(_0xaecb10[_0x1f1be9(0xe9)],_0x30c386,_0x4110f9,{'disableComments':this[_0x1f1be9(0xce)],'editorConfig':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0xd8)),'maxCommentsWhenCollapsed':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0x123)),'maxThreadTotalWeight':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0xfc)),'maxCommentCharsWhenCollapsed':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0x125)),'formatDateTime':_0x310dbf(_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0xe9))),'CommentView':_0x1caf4d[_0x1f1be9(0xee)](_0x1f1be9(0xb3))[_0x1f1be9(0x126)],'CommentsListView':_0x5361e7,'CommentThreadInputView':_0x57adfb}),_0x3fa511[_0x1f1be9(0xfd)]['on'](_0x1f1be9(0x10d),()=>{const _0x10f90f=_0x1f1be9;_0xaecb10[_0x10f90f(0xeb)][_0x10f90f(0x12f)][_0x10f90f(0x101)]();}),_0x3fa511[_0x1f1be9(0x111)]['on'](_0x1f1be9(0x10d),()=>{const _0x29e1c2=_0x1f1be9;_0xaecb10[_0x29e1c2(0xeb)][_0x29e1c2(0x12f)][_0x29e1c2(0x101)]();}),_0x501b0b=_0x5e7cfd[_0x1f1be9(0x120)](this[_0x1f1be9(0xf4)][_0x1f1be9(0xe9)],_0x3fa511),_0x501b0b[_0x1f1be9(0xdc)](_0x1f1be9(0x130))['to'](_0x3fa511,_0x1f1be9(0x130)),_0x501b0b[_0x1f1be9(0xdc)](_0x1f1be9(0x12a))['to'](_0x3fa511),_0x501b0b[_0x1f1be9(0xdc)](_0x1f1be9(0xb8))['to'](_0x3fa511,_0x1f1be9(0xb8),_0x5714fd=>_0x1f1be9(0x104)+_0x5714fd),this[_0x1f1be9(0x131)][_0x1f1be9(0xf6)](_0x30c386['id'],_0x501b0b));const _0x27f70d=_0x5bcf20[_0x1f1be9(0x140)](_0x30c386[_0x1f1be9(0x117)],_0x3fa511),_0x563215=new _0xc4613(_0xaecb10,_0x30c386,_0x3fa511,_0x27f70d),_0x2c8cef=_0x30c386[_0x1f1be9(0x11f)]()[_0x1f1be9(0xe4)](_0x34a658=>_0x34a658[_0x1f1be9(0x116)]);_0x3fa511[_0x1f1be9(0xc3)]=_0xaecb10[_0x1f1be9(0xe5)][_0x1f1be9(0xee)](_0x1f1be9(0x105))[_0x1f1be9(0x103)][_0x1f1be9(0xd4)](_0x2c8cef),this[_0x1f1be9(0x121)][_0x1f1be9(0xf6)](_0x30c386,_0x563215),this[_0x1f1be9(0x108)][_0x1f1be9(0xf6)](_0x3fa511,_0x563215);const _0x1549f4=_0x5e7cfd[_0x1f1be9(0xd2)]({'view':_0x501b0b,'target':()=>{const _0x5ad9c1=_0x1f1be9,_0x2098cd=[],_0x3cfe8d=_0x30c386[_0x5ad9c1(0x11f)]()[_0x5ad9c1(0xe4)](_0x17f80e=>_0x17f80e[_0x5ad9c1(0x116)]);for(const _0x541d62 of _0x3cfe8d)_0x2098cd[_0x5ad9c1(0x112)](..._0x541d62[_0x5ad9c1(0x10f)]());return _0x3f3ade(_0xaecb10[_0x5ad9c1(0xeb)],_0x2098cd);},'type':()=>_0x1f1be9(0x104)+_0x563215[_0x1f1be9(0x12f)][_0x1f1be9(0xb8)]});_0x5bcf20[_0x1f1be9(0x12b)](_0x3fa511,_0x1549f4),_0x5e7cfd[_0x1f1be9(0xcd)](_0x1549f4),_0x204cbf[_0x1f1be9(0xf3)](_0x1549f4);}[_0x5716ad(0xc0)](_0x37f134){const _0x15470f=_0x5716ad,_0x1505b1=this[_0x15470f(0xf4)][_0x15470f(0xe5)][_0x15470f(0xee)](_0x15470f(0xea)),_0x48f355=this[_0x15470f(0xf4)][_0x15470f(0xe5)][_0x15470f(0xee)](_0x15470f(0xc7)),_0x2da57c=this[_0x15470f(0x121)][_0x15470f(0xee)](_0x37f134),_0x1ec6df=_0x2da57c[_0x15470f(0x12f)],_0x420cd8=_0x48f355[_0x15470f(0xcb)](_0x1ec6df);_0x1505b1[_0x15470f(0xba)](_0x1ec6df),_0x420cd8&&_0x48f355[_0x15470f(0xcf)](_0x420cd8),this[_0x15470f(0x121)][_0x15470f(0xc2)](_0x37f134),this[_0x15470f(0x108)][_0x15470f(0xc2)](_0x1ec6df),_0x2da57c[_0x15470f(0xcc)]();}[_0x5716ad(0x113)](_0x107cf2){const _0x2bcfd8=_0x5716ad;if(!_0x107cf2[_0x2bcfd8(0x116)]||!this[_0x2bcfd8(0x121)][_0x2bcfd8(0xef)](_0x107cf2))return;const _0x3e0fc5=this[_0x2bcfd8(0xf4)][_0x2bcfd8(0xe5)][_0x2bcfd8(0xee)](_0x2bcfd8(0x105)),_0x5e3824=this[_0x2bcfd8(0x121)][_0x2bcfd8(0xee)](_0x107cf2),_0x2b216c=_0x107cf2[_0x2bcfd8(0x11f)]();_0x5e3824[_0x2bcfd8(0x12f)][_0x2bcfd8(0xc3)]=_0x3e0fc5[_0x2bcfd8(0x103)][_0x2bcfd8(0xd4)](_0x2b216c);}[_0x5716ad(0xcc)](){const _0x106108=_0x5716ad;for(const _0x2864e7 of this[_0x106108(0x121)][_0x106108(0xed)]())this[_0x106108(0xc0)](_0x2864e7);for(const _0x4d601e of this[_0x106108(0x131)][_0x106108(0xf9)]())_0x4d601e[_0x106108(0x13d)][_0x106108(0xcc)]();super[_0x106108(0xcc)]();}}function ae(_0x2a8218){const _0xe626a=_0x5716ad;return _0xe626a(0x134)in _0x2a8218;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19147c=_0x1f38;function _0x1f38(_0x34882f,_0xb60af3){const _0x5f49e4=_0x5f49();return _0x1f38=function(_0x1f38ed,_0x17555d){_0x1f38ed=_0x1f38ed-0x1a5;let _0x4745aa=_0x5f49e4[_0x1f38ed];return _0x4745aa;},_0x1f38(_0x34882f,_0xb60af3);}(function(_0x13e3f0,_0x4b377d){const _0x1e5f02=_0x1f38,_0x2bba6a=_0x13e3f0();while(!![]){try{const _0x48a6cc=-parseInt(_0x1e5f02(0x1b3))/0x1*(parseInt(_0x1e5f02(0x1b1))/0x2)+parseInt(_0x1e5f02(0x1bf))/0x3+-parseInt(_0x1e5f02(0x1ba))/0x4*(-parseInt(_0x1e5f02(0x1c0))/0x5)+-parseInt(_0x1e5f02(0x1c6))/0x6+-parseInt(_0x1e5f02(0x1bd))/0x7+parseInt(_0x1e5f02(0x1ad))/0x8+parseInt(_0x1e5f02(0x1b7))/0x9*(parseInt(_0x1e5f02(0x1cb))/0xa);if(_0x48a6cc===_0x4b377d)break;else _0x2bba6a['push'](_0x2bba6a['shift']());}catch(_0x39592e){_0x2bba6a['push'](_0x2bba6a['shift']());}}}(_0x5f49,0x7741f));function _0x5f49(){const _0x32db16=['canEditAt','commentThreadController','58eKqmpX','_setPendingAction','25405lEqKrD','getRanges','get','PendingActions','18214182kLRsOk','_pendingAction','isEnabled','300836wQbgEn','discardSuggestion','locale','3937444cKwUOy','_acceptCommand','174282sVIPhe','5PDQKEg','acceptSuggestion','destroy','commands','plugins','_discardCommand','5077602VzttXj','change:isDirty','PENDING_ACTION_SUGGESTION','canDiscard','model','10pHOLpz','stopListening','bind','_removePendingAction','add','remove','_editor','isDirty','unbind','listenTo','canAccept','view','3815056KFCSRx','execute'];_0x5f49=function(){return _0x32db16;};return _0x5f49();}import{ObservableMixin as _0x31280a}from'ckeditor5/src/utils.js';import{getTranslation as _0x39660a}from'../utils/common-translations.js';export default class oe extends _0x31280a(){constructor(_0x18f998,_0x4eb4e1,_0x4b901a,_0x23f26f){const _0x4e0d4a=_0x1f38;super(),this[_0x4e0d4a(0x1ca)]=_0x4eb4e1,this[_0x4e0d4a(0x1ac)]=_0x4b901a,this[_0x4e0d4a(0x1b0)]=_0x23f26f,this[_0x4e0d4a(0x1a7)]=_0x18f998,this[_0x4e0d4a(0x1be)]=_0x18f998[_0x4e0d4a(0x1c3)][_0x4e0d4a(0x1b5)](_0x4e0d4a(0x1c1)),this[_0x4e0d4a(0x1c5)]=_0x18f998[_0x4e0d4a(0x1c3)][_0x4e0d4a(0x1b5)](_0x4e0d4a(0x1bb)),this[_0x4e0d4a(0x1ac)][_0x4e0d4a(0x1cd)](_0x4e0d4a(0x1b9))['to'](this[_0x4e0d4a(0x1be)],this[_0x4e0d4a(0x1c5)],(_0x3dbc22,_0x3d605c)=>_0x3dbc22||_0x3d605c),this[_0x4e0d4a(0x1ac)][_0x4e0d4a(0x1cd)](_0x4e0d4a(0x1ab))['to'](this[_0x4e0d4a(0x1be)],_0x4e0d4a(0x1b9),_0x3489ec=>_0x3489ec&&this[_0x4e0d4a(0x1a7)][_0x4e0d4a(0x1ca)][_0x4e0d4a(0x1af)](_0x4eb4e1[_0x4e0d4a(0x1b4)]())),this[_0x4e0d4a(0x1ac)][_0x4e0d4a(0x1cd)](_0x4e0d4a(0x1c9))['to'](this[_0x4e0d4a(0x1c5)],_0x4e0d4a(0x1b9),_0x4e121b=>_0x4e121b&&this[_0x4e0d4a(0x1a7)][_0x4e0d4a(0x1ca)][_0x4e0d4a(0x1af)](_0x4eb4e1[_0x4e0d4a(0x1b4)]())),this[_0x4e0d4a(0x1b8)]=null,_0x4b901a[_0x4e0d4a(0x1a8)]&&this[_0x4e0d4a(0x1b2)](),this[_0x4e0d4a(0x1aa)](_0x4b901a,_0x4e0d4a(0x1c1),()=>this[_0x4e0d4a(0x1c1)]()),this[_0x4e0d4a(0x1aa)](_0x4b901a,_0x4e0d4a(0x1bb),()=>this[_0x4e0d4a(0x1bb)]()),this[_0x4e0d4a(0x1aa)](_0x4b901a,_0x4e0d4a(0x1c7),()=>{const _0x947d7f=_0x4e0d4a;_0x4b901a[_0x947d7f(0x1a8)]?this[_0x947d7f(0x1b2)]():this[_0x947d7f(0x1ce)]();});}[_0x19147c(0x1c1)](){const _0x3cab96=_0x19147c;this[_0x3cab96(0x1be)][_0x3cab96(0x1ae)](this[_0x3cab96(0x1ca)]['id']);}[_0x19147c(0x1bb)](){const _0x23638d=_0x19147c;this[_0x23638d(0x1c5)][_0x23638d(0x1ae)](this[_0x23638d(0x1ca)]['id']);}[_0x19147c(0x1c2)](){const _0x105d01=_0x19147c;this[_0x105d01(0x1ac)][_0x105d01(0x1a9)](_0x105d01(0x1b9)),this[_0x105d01(0x1ac)][_0x105d01(0x1a9)](_0x105d01(0x1ab)),this[_0x105d01(0x1ac)][_0x105d01(0x1a9)](_0x105d01(0x1c9)),this[_0x105d01(0x1cc)](),this[_0x105d01(0x1b0)][_0x105d01(0x1c2)](),this[_0x105d01(0x1b8)]&&this[_0x105d01(0x1ce)]();}[_0x19147c(0x1b2)](){const _0x3ba749=_0x19147c,_0x3b11aa=_0x39660a(this[_0x3ba749(0x1a7)][_0x3ba749(0x1bc)],_0x3ba749(0x1c8));this[_0x3ba749(0x1b8)]=this[_0x3ba749(0x1a7)][_0x3ba749(0x1c4)][_0x3ba749(0x1b5)](_0x3ba749(0x1b6))[_0x3ba749(0x1a5)](_0x3b11aa);}[_0x19147c(0x1ce)](){const _0x57f439=_0x19147c;null!==this[_0x57f439(0x1b8)]&&this[_0x57f439(0x1a7)][_0x57f439(0x1c4)][_0x57f439(0x1b5)](_0x57f439(0x1b6))[_0x57f439(0x1a6)](this[_0x57f439(0x1b8)]),this[_0x57f439(0x1b8)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xc855(_0x5f4008,_0x1a2930){const _0xb85686=_0xb856();return _0xc855=function(_0xc85560,_0x4bde60){_0xc85560=_0xc85560-0x1b5;let _0x29cea9=_0xb85686[_0xc85560];return _0x29cea9;},_0xc855(_0x5f4008,_0x1a2930);}const _0x46b4a6=_0xc855;(function(_0x3d6cab,_0x1ed939){const _0x519c39=_0xc855,_0x3f4d5a=_0x3d6cab();while(!![]){try{const _0x1d4f95=-parseInt(_0x519c39(0x1d9))/0x1*(parseInt(_0x519c39(0x1db))/0x2)+-parseInt(_0x519c39(0x1d8))/0x3+parseInt(_0x519c39(0x1c9))/0x4*(-parseInt(_0x519c39(0x1d7))/0x5)+parseInt(_0x519c39(0x1c7))/0x6+parseInt(_0x519c39(0x1e7))/0x7*(-parseInt(_0x519c39(0x1bb))/0x8)+-parseInt(_0x519c39(0x1e1))/0x9+parseInt(_0x519c39(0x1e3))/0xa*(parseInt(_0x519c39(0x1cd))/0xb);if(_0x1d4f95===_0x1ed939)break;else _0x3f4d5a['push'](_0x3f4d5a['shift']());}catch(_0x2fb835){_0x3f4d5a['push'](_0x3f4d5a['shift']());}}}(_0xb856,0x7aef0));import{View as _0x399b86}from'ckeditor5/src/ui.js';function _0xb856(){const _0x53fb9a=['bind','fire','4024773aMUhnG','assign','1819190dnVDom','length','destroy','_createCommentViews','977963gWUbAi','commentThreadInputView','editor','addComment','hasDirtyComment','element','commentThread','updateComment','8mhWgmO','showInput','locale','setData','set','commentsListView','isDirty','isEnabled','authoredAt','CommentView','canDiscard','isReadOnly','4416132frjGKR','removeComment','2384888ZMVZmf','value','submit','editorConfig','121CqmVzq','disabledSubmit','delegate','commentInputView','_localUser','focus','_createCommentThreadInputView','disableComments','cancel','_config','5IBFVRx','2657046wwowLK','5xIwzZt','descriptionParts','65914IHHDEW','_model','isActive','canAccept'];_0xb856=function(){return _0x53fb9a;};return _0xb856();}export default class es extends _0x399b86{constructor(_0xb636c4,_0x2e0e2f,_0x10004b,_0x36ca74){const _0x20198f=_0xc855;super(_0xb636c4),this[_0x20198f(0x1c0)]=null,this[_0x20198f(0x1e8)]=null,this[_0x20198f(0x1bf)](_0x20198f(0x1dd),!0x1),this[_0x20198f(0x1bf)](_0x20198f(0x1c3),_0x2e0e2f[_0x20198f(0x1c3)]),this[_0x20198f(0x1df)](_0x20198f(0x1c3))['to'](_0x2e0e2f),this[_0x20198f(0x1bf)](_0x20198f(0x1da),[]),this[_0x20198f(0x1bf)](_0x20198f(0x1c1),!0x1),this[_0x20198f(0x1bf)](_0x20198f(0x1c2),!0x1),this[_0x20198f(0x1bf)](_0x20198f(0x1de),!0x1),this[_0x20198f(0x1bf)](_0x20198f(0x1c5),!0x1),this[_0x20198f(0x1dc)]=_0x2e0e2f,this[_0x20198f(0x1d1)]=_0x10004b,this[_0x20198f(0x1d6)]=_0x36ca74,_0x36ca74[_0x20198f(0x1d4)]?this[_0x20198f(0x1bf)](_0x20198f(0x1e4),0x1):this[_0x20198f(0x1e6)]();}[_0x46b4a6(0x1d2)](){const _0x259c37=_0x46b4a6;this[_0x259c37(0x1b8)][_0x259c37(0x1d2)]();}[_0x46b4a6(0x1e5)](){const _0x4a6538=_0x46b4a6;this[_0x4a6538(0x1c0)]&&this[_0x4a6538(0x1c0)][_0x4a6538(0x1e5)](),this[_0x4a6538(0x1e8)]&&this[_0x4a6538(0x1e8)][_0x4a6538(0x1e5)](),super[_0x4a6538(0x1e5)]();}[_0x46b4a6(0x1e6)](){const _0x29d89a=_0x46b4a6,{CommentsListView:_0x3ed5d9}=this[_0x29d89a(0x1d6)];this[_0x29d89a(0x1c0)]=new _0x3ed5d9(this[_0x29d89a(0x1bd)],this[_0x29d89a(0x1dc)][_0x29d89a(0x1b9)],Object[_0x29d89a(0x1e2)]({'CommentView':this[_0x29d89a(0x1d6)][_0x29d89a(0x1c4)]},this[_0x29d89a(0x1d6)])),this[_0x29d89a(0x1c0)][_0x29d89a(0x1cf)](_0x29d89a(0x1c8))['to'](this),this[_0x29d89a(0x1c0)][_0x29d89a(0x1cf)](_0x29d89a(0x1ba))['to'](this),this[_0x29d89a(0x1c0)][_0x29d89a(0x1df)](_0x29d89a(0x1dd))['to'](this),this[_0x29d89a(0x1bf)](_0x29d89a(0x1e4),this[_0x29d89a(0x1c0)][_0x29d89a(0x1e4)]+0x1),this[_0x29d89a(0x1df)](_0x29d89a(0x1e4))['to'](this[_0x29d89a(0x1c0)],_0x29d89a(0x1e4),_0x3c2ca5=>_0x3c2ca5+0x1),this[_0x29d89a(0x1e8)]=this[_0x29d89a(0x1d3)](),this['on'](_0x29d89a(0x1c8),()=>this[_0x29d89a(0x1d2)]()),this[_0x29d89a(0x1df)](_0x29d89a(0x1c1))['to'](this[_0x29d89a(0x1c0)],_0x29d89a(0x1b7),this[_0x29d89a(0x1e8)][_0x29d89a(0x1d0)],_0x29d89a(0x1ca),(_0x3f68ec,_0x280fa8)=>_0x3f68ec||!!_0x280fa8);}[_0x46b4a6(0x1d3)](){const _0x312e6e=_0x46b4a6,{CommentThreadInputView:_0x3b2f9d}=this[_0x312e6e(0x1d6)],_0x3a7742=new _0x3b2f9d(this[_0x312e6e(0x1bd)],this[_0x312e6e(0x1d1)],this[_0x312e6e(0x1d6)][_0x312e6e(0x1cc)]),_0x389b6b=_0x3a7742[_0x312e6e(0x1d0)];return _0x3a7742[_0x312e6e(0x1df)](_0x312e6e(0x1bc))['to'](this,_0x312e6e(0x1dd),this[_0x312e6e(0x1dc)][_0x312e6e(0x1b9)],_0x312e6e(0x1c6),_0x389b6b,_0x312e6e(0x1ca),(_0x2d2f87,_0xf95128,_0x2db26a)=>!!_0x2db26a||_0x2d2f87&&!_0xf95128),_0x389b6b['on'](_0x312e6e(0x1cb),(_0x48e5d7,_0x43f24f)=>{const _0x36ab8e=_0x312e6e;this[_0x36ab8e(0x1e0)](_0x36ab8e(0x1b6),_0x43f24f),_0x389b6b[_0x36ab8e(0x1b5)][_0x36ab8e(0x1be)]('');}),_0x389b6b['on'](_0x312e6e(0x1d5),()=>this[_0x312e6e(0x1d2)]()),_0x389b6b[_0x312e6e(0x1df)](_0x312e6e(0x1ce))['to'](this[_0x312e6e(0x1dc)][_0x312e6e(0x1b9)],_0x312e6e(0x1c6)),_0x3a7742;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x554463=_0x3f2c;(function(_0x4d9e41,_0x5381bc){const _0x27caf2=_0x3f2c,_0x548ca4=_0x4d9e41();while(!![]){try{const _0x2fa6f7=parseInt(_0x27caf2(0x202))/0x1*(-parseInt(_0x27caf2(0x1b9))/0x2)+parseInt(_0x27caf2(0x1af))/0x3+parseInt(_0x27caf2(0x214))/0x4+-parseInt(_0x27caf2(0x209))/0x5*(-parseInt(_0x27caf2(0x1d3))/0x6)+parseInt(_0x27caf2(0x1ca))/0x7+-parseInt(_0x27caf2(0x1e9))/0x8+parseInt(_0x27caf2(0x1f6))/0x9;if(_0x2fa6f7===_0x5381bc)break;else _0x548ca4['push'](_0x548ca4['shift']());}catch(_0x5cd24b){_0x548ca4['push'](_0x548ca4['shift']());}}}(_0x35fd,0x42597));import{getTranslation as _0x8d36b}from'../../utils/common-translations.js';function _0x3f2c(_0x225c34,_0xd34e65){const _0x35fdea=_0x35fd();return _0x3f2c=function(_0x3f2c15,_0x5b73f4){_0x3f2c15=_0x3f2c15-0x1ae;let _0x4d39b5=_0x35fdea[_0x3f2c15];return _0x4d39b5;},_0x3f2c(_0x225c34,_0xd34e65);}import{default as _0x1a5423}from'./basesuggestionthreadview.js';function _0x35fd(){const _0x1e2901=['div','ck-suggestion__actions','title','join','ck-annotation__user','bindTemplate','acceptSuggestion','author','</p>','26882VkPfwT','execute','commentThread','createElement','ck-annotation__info','EXTERNAL_AVATAR','ck-suggestion--discard','<span\x20class=\x22ck-suggestion-type\x22>','creator','\x22\x20title=\x22','content','_descriptionElement','_createButton','ck-annotation__info-name','render','canDiscard','\x22></span>','698768tvBNNE','Accept\x20suggestion','innerText','getUserViewNotificationText','push','@external','ck-suggestion','time','userView','6fhUJSg','color','discardSuggestion','source','description','setTemplate','formatDateTime','ck-suggestion-wrapper','<p>','map','.ck-annotation__content-wrapper','importWord','ck-suggestion-wrapper--active','EXTERNAL_IMPORT_WORD_SUGGESTION','split','check','delegate','ck-suggestion__main','discardButton','descriptionParts','ck-comment__info-time','isExternal','4267904ccgUbw','locale','value','ck-suggestion__info-name','EXTERNAL_IMPORT_WORD_AVATAR','extendTemplate','commentThreadInputView','ck-annotation__main','editorReady','ck-comment__external','ck-annotation','innerHTML','editorDestroyed','4058928Jbtmgy','name','_model','_config','ck-annotation__info-time','authoredAt','cancel','fire','getTemplate','ck-annotation__actions','attributes','EXTERNAL_SUGGESTION','19nSqIdT','span','acceptButton','change:description','Discard\x20suggestion','querySelector','ck-suggestion--accept','307435wmXVIu','type','ck-annotation__content-wrapper','children','ck-suggestion__user','set','isActive','isEnabled','ck-suggestion__info','</span>','element','1731136XXjrLj','disableComments','ck-suggestion--disabled-comments','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','commentsListView','ck-suggestion-','canAccept','getExternalSuggestionNote','bind','46641VaBlgr'];_0x35fd=function(){return _0x1e2901;};return _0x35fd();}import{ButtonView as _0xdf2c88}from'ckeditor5/src/ui.js';import{icons as _0x1a8540}from'ckeditor5/src/core.js';import{trimHtml as _0x7a14b9,UserView as _0x563b5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x1a5423{constructor(_0x3c1f18,_0x3ca318,_0x4b5e47,_0x4adef1){const _0x52f7b0=_0x3f2c;super(_0x3c1f18,_0x3ca318,_0x4b5e47,_0x4adef1),this[_0x52f7b0(0x20e)](_0x52f7b0(0x20a),''),this[_0x52f7b0(0x1ae)](_0x52f7b0(0x20a))['to'](this,_0x52f7b0(0x1e6),_0x5edfb8=>_0x5edfb8&&_0x5edfb8[0x0]?_0x5edfb8[0x0][_0x52f7b0(0x20a)]:''),this[_0x52f7b0(0x1ae)](_0x52f7b0(0x1d7))['to'](this,_0x52f7b0(0x1e6),this,_0x52f7b0(0x20f),(_0x32ecec,_0x3451ae)=>{const _0x4082d8=_0x52f7b0;let _0x5cf2b5='';for(const _0x2fa934 of _0x32ecec)_0x5cf2b5+=_0x4082d8(0x1db)+ds(_0x2fa934[_0x4082d8(0x1c3)],_0x2fa934[_0x4082d8(0x1d4)])+_0x4082d8(0x1b8);return _0x3451ae?_0x5cf2b5:_0x7a14b9(_0x5cf2b5,{'limit':0x8c});}),this[_0x52f7b0(0x1c4)]=null,this[_0x52f7b0(0x204)]=this[_0x52f7b0(0x1c5)](_0x8d36b(_0x3c1f18,_0x52f7b0(0x1cb)),_0x1a8540[_0x52f7b0(0x1e2)],_0x52f7b0(0x208),_0x52f7b0(0x1b6),'sw'),this[_0x52f7b0(0x204)][_0x52f7b0(0x1ae)](_0x52f7b0(0x210))['to'](this,_0x52f7b0(0x21a)),this[_0x52f7b0(0x1e5)]=this[_0x52f7b0(0x1c5)](_0x8d36b(_0x3c1f18,_0x52f7b0(0x206)),_0x1a8540[_0x52f7b0(0x1fc)],_0x52f7b0(0x1bf),_0x52f7b0(0x1d5),'sw'),this[_0x52f7b0(0x1e5)][_0x52f7b0(0x1ae)](_0x52f7b0(0x210))['to'](this,_0x52f7b0(0x1c8)),this[_0x52f7b0(0x1d2)]=new _0x563b5(_0x3c1f18,this[_0x52f7b0(0x1f8)][_0x52f7b0(0x1b7)],this[_0x52f7b0(0x1cd)]()),this[_0x52f7b0(0x1d2)][_0x52f7b0(0x1ee)]({'attributes':{'class':[_0x52f7b0(0x20d),_0x52f7b0(0x1b4)]}}),this[_0x52f7b0(0x1d8)](this[_0x52f7b0(0x1fe)]());}[_0x554463(0x1fe)](){const _0x108cc0=_0x554463,_0x473bbb=this[_0x108cc0(0x1b5)],_0x16cc99=[{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x211),_0x108cc0(0x1bd)]},'children':[{'tag':_0x108cc0(0x203),'children':[{'text':this[_0x108cc0(0x1d2)][_0x108cc0(0x1f7)]}],'attributes':{'class':[_0x108cc0(0x1ec),_0x108cc0(0x1c6)]}},{'tag':_0x108cc0(0x1d1),'attributes':{'datetime':_0x473bbb['to'](_0x108cc0(0x1fb)),'class':[_0x108cc0(0x1e7),_0x108cc0(0x1fa)]},'children':[{'text':_0x473bbb['to'](_0x108cc0(0x1fb),_0x53e024=>this[_0x108cc0(0x1f9)][_0x108cc0(0x1d9)](_0x53e024))}]}]},{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1b1),_0x108cc0(0x1ff)]},'children':[this[_0x108cc0(0x204)],this[_0x108cc0(0x1e5)]]},{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x20b)]}}];this[_0x108cc0(0x1f8)][_0x108cc0(0x1e8)]&&_0x16cc99[_0x108cc0(0x1ce)]({'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1f2)]},'children':[{'text':this[_0x108cc0(0x21b)]()}]});const _0x1b026e={'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1da),_0x473bbb['if'](_0x108cc0(0x20f),_0x108cc0(0x1df)),_0x473bbb['to'](_0x108cc0(0x20a),_0x1f9e94=>_0x108cc0(0x219)+_0x1f9e94),this[_0x108cc0(0x1f9)][_0x108cc0(0x215)]&&_0x108cc0(0x216)],'data-suggestion-id':this[_0x108cc0(0x1f8)]['id'],'data-thread-id':this[_0x108cc0(0x1f8)][_0x108cc0(0x1bb)]['id'],'data-author-id':this[_0x108cc0(0x1f8)][_0x108cc0(0x1b7)]['id'],'tabindex':-0x1},'children':[{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1d0),_0x108cc0(0x1f3)]},'children':[this[_0x108cc0(0x1d2)],{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1e4),_0x108cc0(0x1f0)]},'children':_0x16cc99}]}]};return this[_0x108cc0(0x218)]&&this[_0x108cc0(0x1ef)]&&(_0x1b026e[_0x108cc0(0x20c)][_0x108cc0(0x1ce)](this[_0x108cc0(0x218)],this[_0x108cc0(0x1ef)]),this[_0x108cc0(0x218)][_0x108cc0(0x1e3)](_0x108cc0(0x1f1))['to'](this),this[_0x108cc0(0x218)][_0x108cc0(0x1e3)](_0x108cc0(0x1f5))['to'](this),this[_0x108cc0(0x1ef)][_0x108cc0(0x1e3)](_0x108cc0(0x1f1))['to'](this),this[_0x108cc0(0x1ef)][_0x108cc0(0x1e3)](_0x108cc0(0x1f5))['to'](this)),_0x1b026e;}[_0x554463(0x1c7)](){const _0xf67a63=_0x554463;super[_0xf67a63(0x1c7)](),this[_0xf67a63(0x1c4)]=this[_0xf67a63(0x213)][_0xf67a63(0x207)](_0xf67a63(0x1dd)),this[_0xf67a63(0x1c4)][_0xf67a63(0x1f4)]=this[_0xf67a63(0x1d7)],this['on'](_0xf67a63(0x205),(_0x313f69,_0x125b67,_0x51b001)=>{const _0x5630bd=_0xf67a63;this[_0x5630bd(0x1c4)][_0x5630bd(0x1f4)]=_0x51b001;});}[_0x554463(0x1c5)](_0x5076ba,_0x75ee3a,_0x3164a5,_0x99d68b,_0x35c8bf){const _0x29e2ef=_0x554463,_0x432cd3=new _0xdf2c88(this[_0x29e2ef(0x1ea)]);return _0x432cd3[_0x29e2ef(0x20e)]({'label':_0x5076ba,'icon':_0x75ee3a,'tooltip':!0x0,'tooltipPosition':_0x35c8bf}),_0x432cd3[_0x29e2ef(0x1ee)]({'attributes':{'class':_0x3164a5}}),_0x432cd3['on'](_0x29e2ef(0x1ba),()=>{const _0x564cc0=_0x29e2ef;this[_0x564cc0(0x1fd)](_0x99d68b,this[_0x564cc0(0x1f8)]['id']);}),_0x432cd3;}[_0x554463(0x21b)](){const _0x1f8ca9=_0x554463;return _0x1f8ca9(0x1de)===this[_0x1f8ca9(0x1f8)][_0x1f8ca9(0x200)][_0x1f8ca9(0x1cf)][_0x1f8ca9(0x1d6)]?_0x8d36b(this[_0x1f8ca9(0x1ea)],_0x1f8ca9(0x1e0)):_0x8d36b(this[_0x1f8ca9(0x1ea)],_0x1f8ca9(0x201));}[_0x554463(0x1cd)](){const _0x1204ce=_0x554463;return this[_0x1204ce(0x1f8)][_0x1204ce(0x1e8)]?_0x1204ce(0x1de)===this[_0x1204ce(0x1f8)][_0x1204ce(0x200)][_0x1204ce(0x1cf)][_0x1204ce(0x1d6)]?_0x8d36b(this[_0x1204ce(0x1ea)],_0x1204ce(0x1ed),this[_0x1204ce(0x1f8)][_0x1204ce(0x1c1)][_0x1204ce(0x1f7)]):_0x8d36b(this[_0x1204ce(0x1ea)],_0x1204ce(0x1be),this[_0x1204ce(0x1f8)][_0x1204ce(0x1c1)][_0x1204ce(0x1f7)]):null;}}function ds(_0x537447,_0x4f8feb){const _0x3aab25=_0x554463;let _0xea700b='';return _0xea700b+=_0x537447[_0x3aab25(0x1e1)]('*')[_0x3aab25(0x1dc)]((_0x268cfa,_0x3435b0)=>_0x3435b0%0x2!=0x0?_0x3aab25(0x1c0)+us(_0x268cfa)+_0x3aab25(0x212):us(_0x268cfa))[_0x3aab25(0x1b3)](''),_0x4f8feb&&(_0xea700b+=_0x3aab25(0x217)+_0x4f8feb[_0x3aab25(0x1eb)]+_0x3aab25(0x1c2)+_0x4f8feb[_0x3aab25(0x1b2)]+_0x3aab25(0x1c9)),_0xea700b;}function us(_0x3af782){const _0x414503=_0x554463,_0x260a51=document[_0x414503(0x1bc)](_0x414503(0x203));return _0x260a51[_0x414503(0x1cc)]=_0x3af782,_0x260a51[_0x414503(0x1f4)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x52e03b,_0x2b2b9a,_0x32fb67){const t=_0x52e03b['t'];switch(_0x2b2b9a){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x32fb67);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x32fb67);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x32fb67);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x32fb67);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x32fb67);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x32fb67);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x32fb67);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x32fb67);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x32fb67);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x32fb67);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x32fb67);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x32fb67);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x32fb67);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x32fb67);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x32fb67);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x32fb67);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x32fb67);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x32fb67);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x32fb67);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x32fb67);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x32fb67);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x32fb67);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x32fb67);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x32fb67);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x32fb67);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x32fb67);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x32fb67);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x32fb67);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x32fb67);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x32fb67);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x32fb67);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x32fb67);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x32fb67);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x32fb67);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x32fb67);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x32fb67);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x32fb67);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x32fb67);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x32fb67);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x32fb67);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x32fb67);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x32fb67);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x32fb67);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x32fb67);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x32fb67);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x32fb67);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x2b2b9a;}}
|
|
23
|
+
export function getTranslation(_0x5aa70c,_0x1cfcd6,_0x53f7aa){const t=_0x5aa70c['t'];switch(_0x1cfcd6){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',_0x53f7aa);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x53f7aa);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x53f7aa);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x53f7aa);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x53f7aa);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',_0x53f7aa);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x53f7aa);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',_0x53f7aa);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x53f7aa);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x53f7aa);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x53f7aa);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x53f7aa);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x53f7aa);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x53f7aa);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x53f7aa);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x53f7aa);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x53f7aa);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x53f7aa);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x53f7aa);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x53f7aa);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x53f7aa);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x53f7aa);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x53f7aa);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x53f7aa);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x53f7aa);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x53f7aa);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x53f7aa);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x53f7aa);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x53f7aa);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x53f7aa);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'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x53f7aa);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'},_0x53f7aa);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x53f7aa);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x53f7aa);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'},_0x53f7aa);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'},_0x53f7aa);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 _0x1cfcd6;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3b16(){const _0x306b51=['createRange','createPositionBefore','4811980bVzijC','value','6ZeVhBo','splice','sort','next','push','374633UMKUgm','content','add','map','isIntersecting','replace','type','isArray','join','isTouching','start','end','43062aRPyTx','from','3572272zzZADI','isCollapsed','478194HsnaCS','deletion','change','isObject','schema','1184560WbCgQN','\x20[color\x20','isInContent','color','isMultiRange','9MrcYGh','length','60HooYyX','createPositionAt','56IfrKOY','165080rrMukV','getRanges','createPositionAfter','execute'];_0x3b16=function(){return _0x306b51;};return _0x3b16();}(function(_0x4f9054,_0x32b76a){const _0x5e05c2=_0x14c4,_0x4baa7d=_0x4f9054();while(!![]){try{const _0x359e73=parseInt(_0x5e05c2(0xd9))/0x1+-parseInt(_0x5e05c2(0xde))/0x2+-parseInt(_0x5e05c2(0xf0))/0x3*(-parseInt(_0x5e05c2(0xe8))/0x4)+parseInt(_0x5e05c2(0xe5))/0x5*(-parseInt(_0x5e05c2(0xd5))/0x6)+parseInt(_0x5e05c2(0xf5))/0x7*(-parseInt(_0x5e05c2(0xe7))/0x8)+parseInt(_0x5e05c2(0xe3))/0x9*(parseInt(_0x5e05c2(0xee))/0xa)+parseInt(_0x5e05c2(0xd7))/0xb;if(_0x359e73===_0x32b76a)break;else _0x4baa7d['push'](_0x4baa7d['shift']());}catch(_0x135e7c){_0x4baa7d['push'](_0x4baa7d['shift']());}}}(_0x3b16,0x4c92f));function _0x14c4(_0x250532,_0x4a694f){const _0x3b16c2=_0x3b16();return _0x14c4=function(_0x14c4e8,_0x4010ad){_0x14c4e8=_0x14c4e8-0xd5;let _0x1e1d40=_0x3b16c2[_0x14c4e8];return _0x1e1d40;},_0x14c4(_0x250532,_0x4a694f);}export function normalizeDescription(_0x3c5c57){const _0x12e43d=_0x14c4;return Array[_0x12e43d(0xfc)](_0x3c5c57)||(_0x3c5c57=[_0x3c5c57]),_0x3c5c57[_0x12e43d(0xf8)](_0x1400b7=>{const _0x581ccb=_0x12e43d,_0x486cae=_0x1400b7[_0x581ccb(0xf6)][_0x581ccb(0xfa)](/\*/g,''),_0x4183ea=_0x1400b7[_0x581ccb(0xe1)]?_0x581ccb(0xdf)+_0x1400b7[_0x581ccb(0xe1)][_0x581ccb(0xef)]+']':'';return'['+_0x1400b7[_0x581ccb(0xfb)]+']\x20'+_0x486cae+_0x4183ea;})[_0x12e43d(0xfd)](';\x20');}export function sortSuggestions(_0x5b6a0a){const _0x2631fd=_0x14c4;return _0x5b6a0a[_0x2631fd(0xf2)]((_0x313068,_0x12db6d)=>_0x2631fd(0xda)==_0x313068[_0x2631fd(0xfb)]&&_0x2631fd(0xda)!=_0x12db6d[_0x2631fd(0xfb)]?-0x1:_0x2631fd(0xda)!=_0x313068[_0x2631fd(0xfb)]&&_0x2631fd(0xda)==_0x12db6d[_0x2631fd(0xfb)]?0x1:0x0);}export function getSelectedSuggestions(_0xb72522,_0x300418){const _0x3f4ed1=_0x14c4,_0x35c96d=Array[_0x3f4ed1(0xd6)](_0xb72522[_0x3f4ed1(0xe9)]()),_0x2a0633=new Set();for(const _0x5b731c of _0x300418)if(_0x5b731c[_0x3f4ed1(0xe0)]){for(const _0x203e5b of _0x35c96d)for(const _0xfcf001 of _0x5b731c[_0x3f4ed1(0xe9)]())(_0x203e5b[_0x3f4ed1(0xf9)](_0xfcf001)||_0xb72522[_0x3f4ed1(0xd8)]&&!_0x5b731c[_0x3f4ed1(0xe2)]&&_0x5b731c[_0x3f4ed1(0xf3)]&&_0xfcf001[_0x3f4ed1(0x100)][_0x3f4ed1(0xfe)](_0x203e5b[_0x3f4ed1(0xff)]))&&_0x2a0633[_0x3f4ed1(0xf7)](_0x5b731c);}return _0x2a0633;}export function getRangesOfBlockGroups(_0x2cf73b,_0x2b6064){const _0x1592c4=_0x14c4;let _0x19177c,_0x42b62c=0x0;const _0x559afa=[],_0x4befdf=_0x2b6064[_0x1592c4(0xdd)];for(;_0x42b62c<_0x2cf73b[_0x1592c4(0xe4)];){const _0x27c5cd=_0x2cf73b[_0x42b62c],_0x15b145=_0x2cf73b[_0x42b62c+0x1];_0x19177c||(_0x19177c=_0x2b6064[_0x1592c4(0xed)](_0x27c5cd)),co(_0x2b6064,_0x27c5cd,_0x15b145)||(_0x559afa[_0x1592c4(0xf4)](_0x2b6064[_0x1592c4(0xec)](_0x19177c,_0x4befdf[_0x1592c4(0xdc)](_0x27c5cd)?_0x2b6064[_0x1592c4(0xea)](_0x27c5cd):_0x2b6064[_0x1592c4(0xe6)](_0x27c5cd,_0x1592c4(0x100)))),_0x19177c=null),_0x42b62c++;}return _0x559afa;}function co(_0x56240d,_0x5d398d,_0x10b217){const _0x3f2013=_0x14c4;if(!_0x10b217)return!0x1;const _0x1b7eff=_0x56240d[_0x3f2013(0xea)](_0x5d398d),_0x52aacc=_0x56240d[_0x3f2013(0xed)](_0x10b217);return _0x1b7eff[_0x3f2013(0xfe)](_0x52aacc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x412f26,_0x152762,_0x4ad986){const _0x2093af=_0x14c4;for(;_0x4ad986[_0x2093af(0xe4)];){const _0x97d3a2=_0x4ad986[_0x2093af(0xf1)](0x0,0x64);_0x412f26[_0x2093af(0xdb)](()=>{const _0xf3a269=_0x2093af;for(const _0x22436d of _0x97d3a2)_0x22436d[_0xf3a269(0xe0)]&&_0x152762[_0xf3a269(0xeb)](_0x22436d['id']);});}}
|