@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240417.0 → 0.0.0-nightly-20240418.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/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 _0x45410d=_0x72c9;(function(_0x77acde,_0x500895){const _0x4a2bc0=_0x72c9,_0x1f70ea=_0x77acde();while(!![]){try{const _0x2fd3f0=-parseInt(_0x4a2bc0(0x12c))/0x1*(-parseInt(_0x4a2bc0(0xf7))/0x2)+parseInt(_0x4a2bc0(0xf8))/0x3*(parseInt(_0x4a2bc0(0xc5))/0x4)+parseInt(_0x4a2bc0(0x128))/0x5*(parseInt(_0x4a2bc0(0x130))/0x6)+parseInt(_0x4a2bc0(0xe7))/0x7+parseInt(_0x4a2bc0(0xfc))/0x8+-parseInt(_0x4a2bc0(0x10b))/0x9*(parseInt(_0x4a2bc0(0xe8))/0xa)+-parseInt(_0x4a2bc0(0xe6))/0xb;if(_0x2fd3f0===_0x500895)break;else _0x1f70ea['push'](_0x1f70ea['shift']());}catch(_0x4c8f02){_0x1f70ea['push'](_0x1f70ea['shift']());}}}(_0x2a31,0xbc5b0));import{Plugin as _0x1aeace}from'ckeditor5/src/core.js';function _0x72c9(_0x42aeee,_0x26fb58){const _0x2a31a3=_0x2a31();return _0x72c9=function(_0x72c90,_0x3962e9){_0x72c90=_0x72c90-0xae;let _0x59cf5b=_0x2a31a3[_0x72c90];return _0x59cf5b;},_0x72c9(_0x42aeee,_0x26fb58);}import{Collection as _0x368fb2}from'ckeditor5/src/utils.js';function _0x2a31(){const _0x5ba49a=['delegate','delete','trackChanges','add','discardAllSuggestions','suggestion-','some','value','destroy','actionView','12npHHYp','isInContent','bind','mainView','change:activeAnnotations','filter','set','clear','head','_refreshActiveMarkers','TrackChangesUI','hasSuggestion','isOn','from','_createToolbarButton','commandName','values','addComment','model','toMany','comments.maxCommentsWhenCollapsed','isMultiRange','registerAnnotation','panelView','define','descriptionParts','TrackChangesEditing','_descriptionFactory','view','button','stopListening','menuBar:trackChanges','getSuggestion','15084146AnbHch','3213889JnBTEc','10ThnECf','locale','lowest','config','getJoined','editor','execute','comments.maxThreadTotalWeight','trackChanges.SuggestionThreadView','init','acceptAllSuggestions','suggestionChanged','Track\x20changes','acceptButton','Annotations','4954ZLAJrD','172359VEMXFP','size','keys','isEnabled','9242216NfvizV','Accept\x20all\x20suggestions','children','refreshSelectedViews','requires','previous','acceptSelectedSuggestions','_suggestionToController','commands','SuggestionThreadView','has','Discard\x20all\x20selected\x20suggestions','comments.maxCommentCharsWhenCollapsed','items','isDirty','5117571YNbRxQ','getRanges','pluginName','commentThread','suggestionLoaded','activeMarkers','comments.editorConfig','createAnnotation','componentFactory','comments','activeAnnotations','type','push','editing','getFirstRange','_handleSuggestionControllerDelayed','getMarkers','switchbutton','CommentsUI','suggestionUnloaded','addSourceCollector','discardSelectedSuggestions','trackChanges.disableComments','remove','_viewToController','arrowView','createCommentThreadController','unbind','_addUIComponentsToFactory','32775vboXjO','length','Discard\x20all\x20suggestions','CommentView','368peOqVo','getMarkerNames','buttonView','_updateController','12LWMBEK','separator','_disableComments','CommentsRepository','_handleControllerBuffer','_initializeController','_bindAnnotationToEditors','EditorAnnotations','_unbindEditors','get','reduce','createAnnotationView','getDescriptions','source','_destroyController','change:previous','Accept\x20all\x20selected\x20suggestions','discardButton','_annotationViews','focus','getAllAdjacentSuggestions','getByInnerView','plugins','_createMenuBarMenu','listenTo','innerView'];_0x2a31=function(){return _0x5ba49a;};return _0x2a31();}import{addListToDropdown as _0xd58ee5,createDropdown as _0x381f8b,ListSeparatorView as _0xb88ee5,MenuBarMenuView as _0x3d5eb7,MenuBarMenuListView as _0x4bb289,MenuBarMenuListItemView as _0x11b74a,MenuBarMenuListItemButtonView as _0x22df03,SplitButtonView as _0x7cd823,ViewModel as _0x43e0b3}from'ckeditor5/src/ui.js';import{Users as _0x418f58,getDateTimeFormatter as _0x1f93e9,getAllMarkersDomElementsSorted as _0x1e09b6}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x14d33d from'./trackchangesediting.js';import _0x1a90e3 from'./ui/suggestioncontroller.js';import _0x51ab10 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x48ecb9}from'./utils/common-translations.js';import _0x461dd0 from'../theme/icons/track-changes.svg';export default class d extends _0x1aeace{static get[_0x45410d(0x100)](){const _0x312dae=_0x45410d;return[_0x14d33d,_0x418f58,_0x312dae(0x133),_0x312dae(0xf6),_0x312dae(0x137)];}static get[_0x45410d(0x10d)](){const _0x53ecc4=_0x45410d;return _0x53ecc4(0xcf);}constructor(_0x59b286){const _0x3b57b9=_0x45410d;super(_0x59b286),this[_0x3b57b9(0x103)]=new Map(),this[_0x3b57b9(0x123)]=new Map(),this[_0x3b57b9(0xb3)]=new Map(),this[_0x3b57b9(0x134)]=new Map();const _0x55e43c=this[_0x3b57b9(0xed)][_0x3b57b9(0xeb)];_0x55e43c[_0x3b57b9(0xdd)](_0x3b57b9(0xf0),_0x51ab10),_0x55e43c[_0x3b57b9(0xdd)](_0x3b57b9(0x121),!0x1),this[_0x3b57b9(0x132)]=_0x55e43c[_0x3b57b9(0x139)](_0x3b57b9(0x121));}[_0x45410d(0x11a)](_0x4aae08,_0x1e819c){const _0x12b811=_0x45410d;0x0===this[_0x12b811(0x134)][_0x12b811(0xf9)]&&setTimeout(()=>{const _0x209aad=_0x12b811;for(const [_0xe69b2a,_0x3134f5]of this[_0x209aad(0x134)]){const _0x477cbb=this[_0x209aad(0x103)][_0x209aad(0x106)](_0xe69b2a);_0x477cbb||_0x3134f5?_0x477cbb&&_0x3134f5&&this[_0x209aad(0xaf)](_0xe69b2a):this[_0x209aad(0x135)](_0xe69b2a);}this[_0x209aad(0x134)][_0x209aad(0xcc)](),this[_0x209aad(0xed)][_0x209aad(0xb7)][_0x209aad(0x139)](_0x209aad(0x137))[_0x209aad(0xff)](),this[_0x209aad(0xce)]();},0xa),this[_0x12b811(0x134)][_0x12b811(0xcb)](_0x4aae08,_0x1e819c);}[_0x45410d(0xf1)](){const _0x262bf3=_0x45410d,_0x2f03c5=this[_0x262bf3(0xed)],_0x3ca539=_0x2f03c5[_0x262bf3(0xb7)][_0x262bf3(0x139)](_0x262bf3(0xdf)),_0xa64fd0=_0x2f03c5[_0x262bf3(0xb7)][_0x262bf3(0x139)](_0x262bf3(0xf6)),_0x1fa22=_0x2f03c5[_0x262bf3(0xb7)][_0x262bf3(0x139)](_0x262bf3(0x137)),_0x3a39f2=_0x2f03c5[_0x262bf3(0xb7)][_0x262bf3(0x139)](_0x262bf3(0x133));this[_0x262bf3(0x127)](),_0x1fa22[_0x262bf3(0x11f)](()=>{const _0x1ee453=_0x262bf3,_0x57b3de=[];for(const [_0x274c1b,_0x289954]of Array[_0x1ee453(0xd2)](this[_0x1ee453(0x103)])){const _0x9739d0=_0x274c1b[_0x1ee453(0xb5)](),_0xa2c744=[];for(const _0x46248c of _0x9739d0){if(!_0x46248c[_0x1ee453(0xc6)])continue;if(_0x46248c[_0x1ee453(0xda)]){_0xa2c744[_0x1ee453(0x117)](..._0x46248c[_0x1ee453(0x10c)]());continue;}const _0x2f31da=_0x46248c[_0x1ee453(0x119)]();if(_0xa2c744[_0x1ee453(0x129)]>0x0){const _0x444562=_0xa2c744[0x0][_0x1ee453(0xec)](_0x2f31da);if(_0x444562){_0xa2c744[0x0]=_0x444562;continue;}}_0xa2c744[_0x1ee453(0x117)](_0x2f31da);}_0x57b3de[_0x1ee453(0x117)]([_0x289954[_0x1ee453(0xe1)],_0xa2c744]);}return _0x57b3de;}),this[_0x262bf3(0xb9)](_0x3ca539,_0x262bf3(0x10f),(_0x476fe7,_0x2c31ae)=>{const _0x17f776=_0x262bf3;this[_0x17f776(0xb9)](_0x2c31ae,_0x17f776(0xb0),(_0x54c21a,_0x4353e6,_0xc4d7ab,_0xd5dceb)=>{const _0x4ebb0b=_0x17f776;_0x2c31ae[_0x4ebb0b(0xc6)]&&(null==_0xc4d7ab?(this[_0x4ebb0b(0x12f)](_0xd5dceb[_0x4ebb0b(0xcd)]),this[_0x4ebb0b(0x11a)](_0x2c31ae,!0x1)):(this[_0x4ebb0b(0x12f)](_0xc4d7ab[_0x4ebb0b(0xcd)]),null==_0xd5dceb&&this[_0x4ebb0b(0x11a)](_0x2c31ae,!0x0)));}),null!==_0x2c31ae[_0x17f776(0x101)]?this[_0x17f776(0x12f)](_0x2c31ae[_0x17f776(0xcd)]):this[_0x17f776(0x11a)](_0x2c31ae,!0x1);}),this[_0x262bf3(0xb9)](_0x3ca539,_0x262bf3(0x11e),(_0x5bf4fd,_0x5e94b4,_0x1af424)=>{const _0x75a0d8=_0x262bf3;this[_0x75a0d8(0xe3)](_0x5e94b4,_0x75a0d8(0xb0)),this[_0x75a0d8(0x134)][_0x75a0d8(0xbc)](_0x5e94b4),this[_0x75a0d8(0x103)][_0x75a0d8(0x106)](_0x5e94b4)&&this[_0x75a0d8(0xaf)](_0x5e94b4),_0x1af424&&this[_0x75a0d8(0x12f)](_0x1af424[_0x75a0d8(0xcd)]);}),this[_0x262bf3(0xb9)](_0x3ca539,_0x262bf3(0xf3),(_0x178bdf,_0x5c33c6)=>{const _0x3c1277=_0x262bf3;this[_0x3c1277(0x12f)](_0x5c33c6);}),this[_0x262bf3(0xb9)](_0xa64fd0,_0x262bf3(0xc9),()=>{const _0x5123ef=_0x262bf3;this[_0x5123ef(0xce)]();}),this[_0x262bf3(0xb9)](_0x3a39f2,_0x262bf3(0xd6),(_0x3e5b73,{threadId:_0x260b49,isFromAdapter:_0x4d9bff})=>{const _0x242383=_0x262bf3;if(_0x4d9bff||!_0x3ca539[_0x242383(0xd0)](_0x260b49))return;const _0x524242=_0x3ca539[_0x242383(0xe5)](_0x260b49);this[_0x242383(0x103)][_0x242383(0x139)](_0x524242)[_0x242383(0xe1)][_0x242383(0xb4)]();},{'priority':_0x262bf3(0xea)});}[_0x45410d(0xce)](){const _0x5588f6=_0x45410d,_0x366c53=this[_0x5588f6(0xed)][_0x5588f6(0xb7)][_0x5588f6(0x139)](_0x5588f6(0xf6)),_0x2739cf=this[_0x5588f6(0xed)][_0x5588f6(0xb7)][_0x5588f6(0x139)](_0x5588f6(0xdf)),_0xf0eb0e=Array[_0x5588f6(0xd2)](_0x366c53[_0x5588f6(0x115)],_0x5cf483=>_0x5cf483[_0x5588f6(0xba)])[_0x5588f6(0xca)](_0x3bf7e7=>this[_0x5588f6(0x123)][_0x5588f6(0x106)](_0x3bf7e7)),_0x5bb473=[];for(const _0x117893 of _0xf0eb0e){const _0x23900a=this[_0x5588f6(0x123)][_0x5588f6(0x139)](_0x117893)[_0x5588f6(0xd7)][_0x5588f6(0xb5)]();_0x5bb473[_0x5588f6(0x117)](..._0x23900a[_0x5588f6(0x13a)]((_0x5d32e0,_0x1f6559)=>[..._0x5d32e0,..._0x1f6559[_0x5588f6(0x12d)]()],[]));}_0x2739cf[_0x5588f6(0x110)]=_0x5bb473;}[_0x45410d(0x127)](){const _0x2c1b09=_0x45410d,_0x2b56d0=this[_0x2c1b09(0xed)],_0x49fcb8=_0x2b56d0[_0x2c1b09(0xe9)],_0x198dd0=_0x48ecb9(_0x49fcb8,_0x2c1b09(0xf4)),_0x55650a=new _0x368fb2([{'type':_0x2c1b09(0x11c),'model':new _0x43e0b3({'withText':!0x0,'label':_0x198dd0,'commandName':_0x2c1b09(0xbd)})},{'type':_0x2c1b09(0x131)},{'type':_0x2c1b09(0xe2),'model':new _0x43e0b3({'withText':!0x0,'label':_0x48ecb9(_0x49fcb8,_0x2c1b09(0xfd)),'commandName':_0x2c1b09(0xf2)})},{'type':_0x2c1b09(0xe2),'model':new _0x43e0b3({'withText':!0x0,'label':_0x48ecb9(_0x49fcb8,_0x2c1b09(0xb1)),'commandName':_0x2c1b09(0x102)})},{'type':_0x2c1b09(0xe2),'model':new _0x43e0b3({'withText':!0x0,'label':_0x48ecb9(_0x49fcb8,_0x2c1b09(0x12a)),'commandName':_0x2c1b09(0xbf)})},{'type':_0x2c1b09(0xe2),'model':new _0x43e0b3({'withText':!0x0,'label':_0x48ecb9(_0x49fcb8,_0x2c1b09(0x107)),'commandName':_0x2c1b09(0x120)})}]);for(const _0x1a9204 of _0x55650a)if(ae(_0x1a9204)){const _0x5a9eaa=_0x2b56d0[_0x2c1b09(0x104)][_0x2c1b09(0x139)](_0x1a9204[_0x2c1b09(0xd7)][_0x2c1b09(0xd4)]);_0x1a9204[_0x2c1b09(0xd7)][_0x2c1b09(0xc7)](_0x2c1b09(0xd1),_0x2c1b09(0xfb))['to'](_0x5a9eaa,_0x2c1b09(0xc2),_0x2c1b09(0xfb));}_0x2b56d0['ui'][_0x2c1b09(0x113)][_0x2c1b09(0xbe)](_0x2c1b09(0xbd),_0x35999f=>this[_0x2c1b09(0xd3)](_0x35999f,_0x55650a,_0x198dd0)),_0x2b56d0['ui'][_0x2c1b09(0x113)][_0x2c1b09(0xbe)](_0x2c1b09(0xe4),_0x2ea8be=>this[_0x2c1b09(0xb8)](_0x2ea8be,_0x55650a,_0x198dd0));}[_0x45410d(0xd3)](_0x287850,_0x304465,_0x1a497c){const _0x2cc142=_0x45410d,_0x1dd708=_0x381f8b(_0x287850,_0x7cd823),_0x57edaa=this[_0x2cc142(0xed)][_0x2cc142(0x104)][_0x2cc142(0x139)](_0x2cc142(0xbd));_0x1dd708[_0x2cc142(0x12e)][_0x2cc142(0xcb)]({'tooltip':_0x1a497c,'label':_0x1a497c,'icon':_0x461dd0}),_0x1dd708[_0x2cc142(0x12e)][_0x2cc142(0xc7)](_0x2cc142(0xd1))['to'](_0x57edaa,_0x2cc142(0xc2)),_0x1dd708[_0x2cc142(0x12e)]['on'](_0x2cc142(0xee),()=>{const _0x4b953d=_0x2cc142;_0x57edaa[_0x4b953d(0xee)](),this[_0x4b953d(0xed)][_0x4b953d(0x118)][_0x4b953d(0xe1)][_0x4b953d(0xb4)]();}),_0xd58ee5(_0x1dd708,_0x304465);const _0x1027ca=[];for(const _0x26c095 of _0x304465)ae(_0x26c095)&&_0x1027ca[_0x2cc142(0x117)](this[_0x2cc142(0xed)][_0x2cc142(0x104)][_0x2cc142(0x139)](_0x26c095[_0x2cc142(0xd7)][_0x2cc142(0xd4)]));const _0x4f5d36=_0x1dd708[_0x2cc142(0x12e)];return _0x4f5d36[_0x2cc142(0xc4)][_0x2cc142(0x126)](_0x2cc142(0xfb)),_0x4f5d36[_0x2cc142(0x124)][_0x2cc142(0x126)](_0x2cc142(0xfb)),_0x4f5d36[_0x2cc142(0xc4)][_0x2cc142(0xc7)](_0x2cc142(0xfb))['to'](_0x57edaa,_0x2cc142(0xfb)),_0x4f5d36[_0x2cc142(0x124)][_0x2cc142(0xc7)](_0x2cc142(0xfb))[_0x2cc142(0xd8)](_0x1027ca,_0x2cc142(0xfb),(..._0x2faba1)=>_0x2faba1[_0x2cc142(0xc1)](_0x289179=>_0x289179)),_0x1dd708['on'](_0x2cc142(0xee),_0x3bf0d7=>{const _0x29af2d=_0x2cc142;this[_0x29af2d(0xed)][_0x29af2d(0xee)](_0x3bf0d7[_0x29af2d(0xae)][_0x29af2d(0xd4)]),this[_0x29af2d(0xed)][_0x29af2d(0x118)][_0x29af2d(0xe1)][_0x29af2d(0xb4)]();}),_0x1dd708;}[_0x45410d(0xb8)](_0x404769,_0x206794,_0x19b060){const _0x1dca7c=_0x45410d,_0x4363c6=new _0x3d5eb7(_0x404769),_0x1deeaa=this[_0x1dca7c(0xed)][_0x1dca7c(0x104)][_0x1dca7c(0x139)](_0x1dca7c(0xbd));_0x4363c6[_0x1dca7c(0x12e)][_0x1dca7c(0xcb)]({'label':_0x19b060,'icon':_0x461dd0});const _0x378a77=new _0x4bb289(_0x404769);for(const _0x55e916 of _0x206794){if(_0x1dca7c(0x131)==_0x55e916[_0x1dca7c(0x116)]){_0x378a77[_0x1dca7c(0x109)][_0x1dca7c(0xbe)](new _0xb88ee5(_0x404769));continue;}const _0x39f20a=new _0x11b74a(_0x404769,_0x4363c6),_0x532fac=new _0x22df03(_0x404769),_0x56a01a=_0x55e916[_0x1dca7c(0xd7)];_0x532fac[_0x1dca7c(0xc7)](...Object[_0x1dca7c(0xfa)](_0x56a01a))['to'](_0x56a01a),_0x532fac[_0x1dca7c(0xbb)](_0x1dca7c(0xee))['to'](_0x4363c6),_0x532fac['on'](_0x1dca7c(0xee),()=>{const _0x562a59=_0x1dca7c;this[_0x562a59(0xed)][_0x562a59(0xee)](_0x56a01a[_0x562a59(0xd4)]),this[_0x562a59(0xed)][_0x562a59(0x118)][_0x562a59(0xe1)][_0x562a59(0xb4)]();}),_0x39f20a[_0x1dca7c(0xfe)][_0x1dca7c(0xbe)](_0x532fac),_0x378a77[_0x1dca7c(0x109)][_0x1dca7c(0xbe)](_0x39f20a);}return _0x4363c6[_0x1dca7c(0xc7)](_0x1dca7c(0xfb))['to'](_0x1deeaa,_0x1dca7c(0xfb)),_0x4363c6[_0x1dca7c(0xdc)][_0x1dca7c(0xfe)][_0x1dca7c(0xbe)](_0x378a77),_0x4363c6;}[_0x45410d(0x135)](_0x5b003e){const _0x1e31e3=_0x45410d,_0x2fbff2=this[_0x1e31e3(0xed)],_0x106a52=_0x2fbff2[_0x1e31e3(0xeb)],_0x418cb6=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0xf6)),_0x436899=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0x133)),_0x33b406=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0x137)),_0x33c931=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x418f58)['me'],_0x16374f=_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0xbd))[_0x1e31e3(0x105)],{CommentsListView:_0x23e6ff,CommentThreadInputView:_0x50d1b2}=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0x11d));let _0x1fb0f7,_0x5a4524;this[_0x1e31e3(0xb3)][_0x1e31e3(0x106)](_0x5b003e['id'])?(_0x5a4524=this[_0x1e31e3(0xb3)][_0x1e31e3(0x139)](_0x5b003e['id']),_0x1fb0f7=_0x5a4524[_0x1e31e3(0xc8)]):(_0x1fb0f7=new _0x16374f(_0x2fbff2[_0x1e31e3(0xe9)],_0x5b003e,_0x33c931,{'disableComments':this[_0x1e31e3(0x132)],'editorConfig':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0x111)),'maxCommentsWhenCollapsed':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0xd9)),'maxThreadTotalWeight':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0xef)),'maxCommentCharsWhenCollapsed':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0x108)),'formatDateTime':_0x1f93e9(_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0xe9))),'CommentView':_0x106a52[_0x1e31e3(0x139)](_0x1e31e3(0x114))[_0x1e31e3(0x12b)],'CommentsListView':_0x23e6ff,'CommentThreadInputView':_0x50d1b2}),_0x1fb0f7[_0x1e31e3(0xf5)]['on'](_0x1e31e3(0xee),()=>{const _0x286a53=_0x1e31e3;_0x2fbff2[_0x286a53(0x118)][_0x286a53(0xe1)][_0x286a53(0xb4)]();}),_0x1fb0f7[_0x1e31e3(0xb2)]['on'](_0x1e31e3(0xee),()=>{const _0x4fdebd=_0x1e31e3;_0x2fbff2[_0x4fdebd(0x118)][_0x4fdebd(0xe1)][_0x4fdebd(0xb4)]();}),_0x5a4524=_0x418cb6[_0x1e31e3(0x13b)](this[_0x1e31e3(0xed)][_0x1e31e3(0xe9)],_0x1fb0f7),_0x5a4524[_0x1e31e3(0xc7)](_0x1e31e3(0x10a))['to'](_0x1fb0f7,_0x1e31e3(0x10a)),_0x5a4524[_0x1e31e3(0xc7)](_0x1e31e3(0x129))['to'](_0x1fb0f7),_0x5a4524[_0x1e31e3(0xc7)](_0x1e31e3(0x116))['to'](_0x1fb0f7,_0x1e31e3(0x116),_0x571a8d=>_0x1e31e3(0xc0)+_0x571a8d),this[_0x1e31e3(0xb3)][_0x1e31e3(0xcb)](_0x5b003e['id'],_0x5a4524));const _0x220700=_0x436899[_0x1e31e3(0x125)](_0x5b003e[_0x1e31e3(0x10e)],_0x1fb0f7),_0xca2d2=new _0x1a90e3(_0x2fbff2,_0x5b003e,_0x1fb0f7,_0x220700),_0x2bc206=_0x5b003e[_0x1e31e3(0xb5)]()[_0x1e31e3(0xca)](_0x3a1441=>_0x3a1441[_0x1e31e3(0xc6)]);_0x1fb0f7[_0x1e31e3(0xde)]=_0x2fbff2[_0x1e31e3(0xb7)][_0x1e31e3(0x139)](_0x1e31e3(0xdf))[_0x1e31e3(0xe0)][_0x1e31e3(0x13c)](_0x2bc206),this[_0x1e31e3(0x103)][_0x1e31e3(0xcb)](_0x5b003e,_0xca2d2),this[_0x1e31e3(0x123)][_0x1e31e3(0xcb)](_0x1fb0f7,_0xca2d2);const _0x43522f=_0x418cb6[_0x1e31e3(0x112)]({'view':_0x5a4524,'target':()=>{const _0x50ec4d=_0x1e31e3,_0xd85a0d=[],_0x10277a=_0x5b003e[_0x50ec4d(0xb5)]()[_0x50ec4d(0xca)](_0x226ece=>_0x226ece[_0x50ec4d(0xc6)]);for(const _0x16c9e8 of _0x10277a)_0xd85a0d[_0x50ec4d(0x117)](..._0x16c9e8[_0x50ec4d(0x11b)]());return _0x1e09b6(_0x2fbff2[_0x50ec4d(0x118)],_0xd85a0d);},'type':()=>_0x1e31e3(0xc0)+_0xca2d2[_0x1e31e3(0xe1)][_0x1e31e3(0x116)]});_0x436899[_0x1e31e3(0x136)](_0x1fb0f7,_0x43522f),_0x418cb6[_0x1e31e3(0xbe)](_0x43522f),_0x33b406[_0x1e31e3(0xdb)](_0x43522f);}[_0x45410d(0xaf)](_0x2da77a){const _0x79f802=_0x45410d,_0x5601d8=this[_0x79f802(0xed)][_0x79f802(0xb7)][_0x79f802(0x139)](_0x79f802(0x133)),_0x34853a=this[_0x79f802(0xed)][_0x79f802(0xb7)][_0x79f802(0x139)](_0x79f802(0xf6)),_0x58a170=this[_0x79f802(0x103)][_0x79f802(0x139)](_0x2da77a),_0x455986=_0x58a170[_0x79f802(0xe1)],_0x5d65cc=_0x34853a[_0x79f802(0xb6)](_0x455986);_0x5601d8[_0x79f802(0x138)](_0x455986),_0x5d65cc&&_0x34853a[_0x79f802(0x122)](_0x5d65cc),this[_0x79f802(0x103)][_0x79f802(0xbc)](_0x2da77a),this[_0x79f802(0x123)][_0x79f802(0xbc)](_0x455986),_0x58a170[_0x79f802(0xc3)]();}[_0x45410d(0x12f)](_0x27abbd){const _0x316615=_0x45410d;if(!_0x27abbd[_0x316615(0xc6)]||!this[_0x316615(0x103)][_0x316615(0x106)](_0x27abbd))return;const _0x413a63=this[_0x316615(0xed)][_0x316615(0xb7)][_0x316615(0x139)](_0x316615(0xdf)),_0x3269c7=this[_0x316615(0x103)][_0x316615(0x139)](_0x27abbd),_0xd4a3ea=_0x27abbd[_0x316615(0xb5)]();_0x3269c7[_0x316615(0xe1)][_0x316615(0xde)]=_0x413a63[_0x316615(0xe0)][_0x316615(0x13c)](_0xd4a3ea);}[_0x45410d(0xc3)](){const _0x2ee489=_0x45410d;for(const _0x22b988 of this[_0x2ee489(0x103)][_0x2ee489(0xfa)]())this[_0x2ee489(0xaf)](_0x22b988);for(const _0x38cdd1 of this[_0x2ee489(0xb3)][_0x2ee489(0xd5)]())_0x38cdd1[_0x2ee489(0xc8)][_0x2ee489(0xc3)]();super[_0x2ee489(0xc3)]();}}function ae(_0x3c7a11){const _0x472773=_0x45410d;return _0x472773(0xd7)in _0x3c7a11;}
|
|
23
|
+
const _0x179d13=_0x464c;(function(_0x519ee8,_0x480d29){const _0x1606ca=_0x464c,_0x3c73a8=_0x519ee8();while(!![]){try{const _0x3fd7d7=parseInt(_0x1606ca(0x10c))/0x1*(-parseInt(_0x1606ca(0xf5))/0x2)+parseInt(_0x1606ca(0x125))/0x3*(parseInt(_0x1606ca(0xf6))/0x4)+parseInt(_0x1606ca(0xe5))/0x5+-parseInt(_0x1606ca(0xec))/0x6+parseInt(_0x1606ca(0x113))/0x7+parseInt(_0x1606ca(0xb6))/0x8*(parseInt(_0x1606ca(0xba))/0x9)+parseInt(_0x1606ca(0x12e))/0xa;if(_0x3fd7d7===_0x480d29)break;else _0x3c73a8['push'](_0x3c73a8['shift']());}catch(_0x1d84e2){_0x3c73a8['push'](_0x3c73a8['shift']());}}}(_0x4e09,0x6d48e));import{Plugin as _0x25797a}from'ckeditor5/src/core.js';function _0x4e09(){const _0x3ce136=['comments','listenTo','actionView','init','_createMenuBarMenu','_suggestionToController','activeMarkers','source','75453hvHnFV','registerAnnotation','getRanges','isInContent','comments.maxThreadTotalWeight','trackChanges','trackChanges.disableComments','commentThread','editor','1324000pAMqBs','execute','Annotations','from','length','add','suggestionChanged','unbind','lowest','separator','_viewToController','comments.maxCommentsWhenCollapsed','activeAnnotations','createAnnotation','requires','getMarkers','_initializeController','trackChanges.SuggestionThreadView','value','_annotationViews','commandName','focus','8vNvZmU','_bindAnnotationToEditors','Discard\x20all\x20selected\x20suggestions','pluginName','2992788jNNhDU','CommentView','discardButton','items','CommentsUI','isOn','componentFactory','createCommentThreadController','_createToolbarButton','getAllAdjacentSuggestions','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','editing','define','acceptButton','isEnabled','arrowView','refreshSelectedViews','push','locale','mainView','remove','config','getJoined','_unbindEditors','button','delegate','bind','destroy','filter','buttonView','view','suggestion-','children','values','comments.editorConfig','head','has','TrackChangesUI','panelView','reduce','previous','getMarkerNames','329995hmxLya','acceptAllSuggestions','toMany','discardAllSuggestions','Accept\x20all\x20selected\x20suggestions','discardSelectedSuggestions','suggestionLoaded','5314152gQMkQZ','_handleSuggestionControllerDelayed','switchbutton','_addUIComponentsToFactory','set','createAnnotationView','SuggestionThreadView','addSourceCollector','_disableComments','2tiuRBe','92PCaqdz','_descriptionFactory','change:activeAnnotations','some','isMultiRange','CommentsRepository','model','EditorAnnotations','descriptionParts','type','size','acceptSelectedSuggestions','menuBar:trackChanges','innerView','TrackChangesEditing','getFirstRange','stopListening','Discard\x20all\x20suggestions','suggestionUnloaded','_handleControllerBuffer','getSuggestion','getDescriptions','215531uXGxGc','_destroyController','Accept\x20all\x20suggestions','getByInnerView','_updateController','delete','Track\x20changes','3076143WfzJDR','change:previous','isDirty','clear','keys','plugins','get','addComment','commands','hasSuggestion'];_0x4e09=function(){return _0x3ce136;};return _0x4e09();}import{Collection as _0x316588}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5d8b45,createDropdown as _0x42c495,ListSeparatorView as _0x4f274f,MenuBarMenuView as _0xf3bfc3,MenuBarMenuListView as _0x49e309,MenuBarMenuListItemView as _0x23cdc9,MenuBarMenuListItemButtonView as _0x2fe25d,SplitButtonView as _0x3b142a,ViewModel as _0xd247e3}from'ckeditor5/src/ui.js';function _0x464c(_0x36e829,_0x33864d){const _0x4e09b1=_0x4e09();return _0x464c=function(_0x464c52,_0x4d678a){_0x464c52=_0x464c52-0xa5;let _0x2790ca=_0x4e09b1[_0x464c52];return _0x2790ca;},_0x464c(_0x36e829,_0x33864d);}import{Users as _0x3aed53,getDateTimeFormatter as _0x3e8435,getAllMarkersDomElementsSorted as _0x2052c5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x568191 from'./trackchangesediting.js';import _0x34a3d4 from'./ui/suggestioncontroller.js';import _0x39419e from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5b0999}from'./utils/common-translations.js';import _0x348f48 from'../theme/icons/track-changes.svg';export default class d extends _0x25797a{static get[_0x179d13(0xae)](){const _0x312cb7=_0x179d13;return[_0x568191,_0x3aed53,_0x312cb7(0xfb),_0x312cb7(0x130),_0x312cb7(0xfd)];}static get[_0x179d13(0xb9)](){const _0x5aa9fd=_0x179d13;return _0x5aa9fd(0xe0);}constructor(_0x290109){const _0x25470f=_0x179d13;super(_0x290109),this[_0x25470f(0x122)]=new Map(),this[_0x25470f(0xaa)]=new Map(),this[_0x25470f(0xb3)]=new Map(),this[_0x25470f(0x109)]=new Map();const _0x491ae2=this[_0x25470f(0x12d)][_0x25470f(0xd0)];_0x491ae2[_0x25470f(0xc7)](_0x25470f(0xb1),_0x39419e),_0x491ae2[_0x25470f(0xc7)](_0x25470f(0x12b),!0x1),this[_0x25470f(0xf4)]=_0x491ae2[_0x25470f(0x119)](_0x25470f(0x12b));}[_0x179d13(0xed)](_0x2efb6c,_0x15d494){const _0x22d0d2=_0x179d13;0x0===this[_0x22d0d2(0x109)][_0x22d0d2(0x100)]&&setTimeout(()=>{const _0x171f3f=_0x22d0d2;for(const [_0x147869,_0x41aef9]of this[_0x171f3f(0x109)]){const _0x98ec96=this[_0x171f3f(0x122)][_0x171f3f(0xdf)](_0x147869);_0x98ec96||_0x41aef9?_0x98ec96&&_0x41aef9&&this[_0x171f3f(0x10d)](_0x147869):this[_0x171f3f(0xb0)](_0x147869);}this[_0x171f3f(0x109)][_0x171f3f(0x116)](),this[_0x171f3f(0x12d)][_0x171f3f(0x118)][_0x171f3f(0x119)](_0x171f3f(0xfd))[_0x171f3f(0xcb)](),this[_0x171f3f(0xc4)]();},0xa),this[_0x22d0d2(0x109)][_0x22d0d2(0xf0)](_0x2efb6c,_0x15d494);}[_0x179d13(0x120)](){const _0x2758f3=_0x179d13,_0x302d17=this[_0x2758f3(0x12d)],_0x3b8210=_0x302d17[_0x2758f3(0x118)][_0x2758f3(0x119)](_0x2758f3(0x104)),_0x15b36a=_0x302d17[_0x2758f3(0x118)][_0x2758f3(0x119)](_0x2758f3(0x130)),_0x3a0e33=_0x302d17[_0x2758f3(0x118)][_0x2758f3(0x119)](_0x2758f3(0xfd)),_0x4466d4=_0x302d17[_0x2758f3(0x118)][_0x2758f3(0x119)](_0x2758f3(0xfb));this[_0x2758f3(0xef)](),_0x3a0e33[_0x2758f3(0xf3)](()=>{const _0x1921d7=_0x2758f3,_0x4627e1=[];for(const [_0x45836c,_0x40d119]of Array[_0x1921d7(0x131)](this[_0x1921d7(0x122)])){const _0x22bde9=_0x45836c[_0x1921d7(0xc3)](),_0x21f4e0=[];for(const _0x2fa403 of _0x22bde9){if(!_0x2fa403[_0x1921d7(0x128)])continue;if(_0x2fa403[_0x1921d7(0xfa)]){_0x21f4e0[_0x1921d7(0xcc)](..._0x2fa403[_0x1921d7(0x127)]());continue;}const _0x54fba2=_0x2fa403[_0x1921d7(0x105)]();if(_0x21f4e0[_0x1921d7(0x132)]>0x0){const _0x472eea=_0x21f4e0[0x0][_0x1921d7(0xd1)](_0x54fba2);if(_0x472eea){_0x21f4e0[0x0]=_0x472eea;continue;}}_0x21f4e0[_0x1921d7(0xcc)](_0x54fba2);}_0x4627e1[_0x1921d7(0xcc)]([_0x40d119[_0x1921d7(0xd9)],_0x21f4e0]);}return _0x4627e1;}),this[_0x2758f3(0x11e)](_0x3b8210,_0x2758f3(0xeb),(_0xc5a8ef,_0x2dddf6)=>{const _0x428991=_0x2758f3;this[_0x428991(0x11e)](_0x2dddf6,_0x428991(0x114),(_0x3143e2,_0x3539db,_0x3e27c1,_0x3b248a)=>{const _0x25b431=_0x428991;_0x2dddf6[_0x25b431(0x128)]&&(null==_0x3e27c1?(this[_0x25b431(0x110)](_0x3b248a[_0x25b431(0xde)]),this[_0x25b431(0xed)](_0x2dddf6,!0x1)):(this[_0x25b431(0x110)](_0x3e27c1[_0x25b431(0xde)]),null==_0x3b248a&&this[_0x25b431(0xed)](_0x2dddf6,!0x0)));}),null!==_0x2dddf6[_0x428991(0xe3)]?this[_0x428991(0x110)](_0x2dddf6[_0x428991(0xde)]):this[_0x428991(0xed)](_0x2dddf6,!0x1);}),this[_0x2758f3(0x11e)](_0x3b8210,_0x2758f3(0x108),(_0x41bfe2,_0x3b3619,_0x516589)=>{const _0x3f95f2=_0x2758f3;this[_0x3f95f2(0x106)](_0x3b3619,_0x3f95f2(0x114)),this[_0x3f95f2(0x109)][_0x3f95f2(0x111)](_0x3b3619),this[_0x3f95f2(0x122)][_0x3f95f2(0xdf)](_0x3b3619)&&this[_0x3f95f2(0x10d)](_0x3b3619),_0x516589&&this[_0x3f95f2(0x110)](_0x516589[_0x3f95f2(0xde)]);}),this[_0x2758f3(0x11e)](_0x3b8210,_0x2758f3(0xa6),(_0xa72100,_0x98de8d)=>{const _0x1d2208=_0x2758f3;this[_0x1d2208(0x110)](_0x98de8d);}),this[_0x2758f3(0x11e)](_0x15b36a,_0x2758f3(0xf8),()=>{const _0x456f54=_0x2758f3;this[_0x456f54(0xc4)]();}),this[_0x2758f3(0x11e)](_0x4466d4,_0x2758f3(0x11a),(_0x18bc58,{threadId:_0x947d5e,isFromAdapter:_0x3f0751})=>{const _0x68a414=_0x2758f3;if(_0x3f0751||!_0x3b8210[_0x68a414(0x11c)](_0x947d5e))return;const _0x2a24a4=_0x3b8210[_0x68a414(0x10a)](_0x947d5e);this[_0x68a414(0x122)][_0x68a414(0x119)](_0x2a24a4)[_0x68a414(0xd9)][_0x68a414(0xb5)]();},{'priority':_0x2758f3(0xa8)});}[_0x179d13(0xc4)](){const _0x361b8a=_0x179d13,_0x57789b=this[_0x361b8a(0x12d)][_0x361b8a(0x118)][_0x361b8a(0x119)](_0x361b8a(0x130)),_0x45d8cd=this[_0x361b8a(0x12d)][_0x361b8a(0x118)][_0x361b8a(0x119)](_0x361b8a(0x104)),_0x3fe651=Array[_0x361b8a(0x131)](_0x57789b[_0x361b8a(0xac)],_0x366343=>_0x366343[_0x361b8a(0x103)])[_0x361b8a(0xd7)](_0x3c406c=>this[_0x361b8a(0xaa)][_0x361b8a(0xdf)](_0x3c406c)),_0x2e8a5e=[];for(const _0x1e7ee7 of _0x3fe651){const _0x184ce1=this[_0x361b8a(0xaa)][_0x361b8a(0x119)](_0x1e7ee7)[_0x361b8a(0xfc)][_0x361b8a(0xc3)]();_0x2e8a5e[_0x361b8a(0xcc)](..._0x184ce1[_0x361b8a(0xe2)]((_0x27881f,_0x247e7e)=>[..._0x27881f,..._0x247e7e[_0x361b8a(0xe4)]()],[]));}_0x45d8cd[_0x361b8a(0x123)]=_0x2e8a5e;}[_0x179d13(0xef)](){const _0x163cba=_0x179d13,_0x2eb63b=this[_0x163cba(0x12d)],_0x47c6de=_0x2eb63b[_0x163cba(0xcd)],_0x4112e8=_0x5b0999(_0x47c6de,_0x163cba(0x112)),_0x22cd63=new _0x316588([{'type':_0x163cba(0xee),'model':new _0xd247e3({'withText':!0x0,'label':_0x4112e8,'commandName':_0x163cba(0x12a)})},{'type':_0x163cba(0xa9)},{'type':_0x163cba(0xd3),'model':new _0xd247e3({'withText':!0x0,'label':_0x5b0999(_0x47c6de,_0x163cba(0x10e)),'commandName':_0x163cba(0xe6)})},{'type':_0x163cba(0xd3),'model':new _0xd247e3({'withText':!0x0,'label':_0x5b0999(_0x47c6de,_0x163cba(0xe9)),'commandName':_0x163cba(0x101)})},{'type':_0x163cba(0xd3),'model':new _0xd247e3({'withText':!0x0,'label':_0x5b0999(_0x47c6de,_0x163cba(0x107)),'commandName':_0x163cba(0xe8)})},{'type':_0x163cba(0xd3),'model':new _0xd247e3({'withText':!0x0,'label':_0x5b0999(_0x47c6de,_0x163cba(0xb8)),'commandName':_0x163cba(0xea)})}]);for(const _0x37b4d8 of _0x22cd63)if(ae(_0x37b4d8)){const _0x1b9d79=_0x2eb63b[_0x163cba(0x11b)][_0x163cba(0x119)](_0x37b4d8[_0x163cba(0xfc)][_0x163cba(0xb4)]);_0x37b4d8[_0x163cba(0xfc)][_0x163cba(0xd5)](_0x163cba(0xbf),_0x163cba(0xc9))['to'](_0x1b9d79,_0x163cba(0xb2),_0x163cba(0xc9));}_0x2eb63b['ui'][_0x163cba(0xc0)][_0x163cba(0xa5)](_0x163cba(0x12a),_0x16d1f1=>this[_0x163cba(0xc2)](_0x16d1f1,_0x22cd63,_0x4112e8)),_0x2eb63b['ui'][_0x163cba(0xc0)][_0x163cba(0xa5)](_0x163cba(0x102),_0x213fa0=>this[_0x163cba(0x121)](_0x213fa0,_0x22cd63,_0x4112e8));}[_0x179d13(0xc2)](_0x46d2a7,_0x599a61,_0x5ad118){const _0x544901=_0x179d13,_0x64864e=_0x42c495(_0x46d2a7,_0x3b142a),_0x293828=this[_0x544901(0x12d)][_0x544901(0x11b)][_0x544901(0x119)](_0x544901(0x12a));_0x64864e[_0x544901(0xd8)][_0x544901(0xf0)]({'tooltip':_0x5ad118,'label':_0x5ad118,'icon':_0x348f48}),_0x64864e[_0x544901(0xd8)][_0x544901(0xd5)](_0x544901(0xbf))['to'](_0x293828,_0x544901(0xb2)),_0x64864e[_0x544901(0xd8)]['on'](_0x544901(0x12f),()=>{const _0x4be3f5=_0x544901;_0x293828[_0x4be3f5(0x12f)](),this[_0x4be3f5(0x12d)][_0x4be3f5(0xc6)][_0x4be3f5(0xd9)][_0x4be3f5(0xb5)]();}),_0x5d8b45(_0x64864e,_0x599a61);const _0x2b8491=[];for(const _0x373c86 of _0x599a61)ae(_0x373c86)&&_0x2b8491[_0x544901(0xcc)](this[_0x544901(0x12d)][_0x544901(0x11b)][_0x544901(0x119)](_0x373c86[_0x544901(0xfc)][_0x544901(0xb4)]));const _0x262db5=_0x64864e[_0x544901(0xd8)];return _0x262db5[_0x544901(0x11f)][_0x544901(0xa7)](_0x544901(0xc9)),_0x262db5[_0x544901(0xca)][_0x544901(0xa7)](_0x544901(0xc9)),_0x262db5[_0x544901(0x11f)][_0x544901(0xd5)](_0x544901(0xc9))['to'](_0x293828,_0x544901(0xc9)),_0x262db5[_0x544901(0xca)][_0x544901(0xd5)](_0x544901(0xc9))[_0x544901(0xe7)](_0x2b8491,_0x544901(0xc9),(..._0x3fd2e9)=>_0x3fd2e9[_0x544901(0xf9)](_0x4870b1=>_0x4870b1)),_0x64864e['on'](_0x544901(0x12f),_0x12bed5=>{const _0x450415=_0x544901;this[_0x450415(0x12d)][_0x450415(0x12f)](_0x12bed5[_0x450415(0x124)][_0x450415(0xb4)]),this[_0x450415(0x12d)][_0x450415(0xc6)][_0x450415(0xd9)][_0x450415(0xb5)]();}),_0x64864e;}[_0x179d13(0x121)](_0x40f599,_0x3a03a9,_0x3a1254){const _0x2e0694=_0x179d13,_0x7e26fc=new _0xf3bfc3(_0x40f599),_0x492e2d=this[_0x2e0694(0x12d)][_0x2e0694(0x11b)][_0x2e0694(0x119)](_0x2e0694(0x12a));_0x7e26fc[_0x2e0694(0xd8)][_0x2e0694(0xf0)]({'label':_0x3a1254,'icon':_0x348f48});const _0x3b8468=new _0x49e309(_0x40f599);for(const _0x5492a3 of _0x3a03a9){if(_0x2e0694(0xa9)==_0x5492a3[_0x2e0694(0xff)]){_0x3b8468[_0x2e0694(0xbd)][_0x2e0694(0xa5)](new _0x4f274f(_0x40f599));continue;}const _0x1a74b6=new _0x23cdc9(_0x40f599,_0x7e26fc),_0x57ab05=new _0x2fe25d(_0x40f599),_0x3cf8a1=_0x5492a3[_0x2e0694(0xfc)];_0x57ab05[_0x2e0694(0xd5)](...Object[_0x2e0694(0x117)](_0x3cf8a1))['to'](_0x3cf8a1),_0x57ab05[_0x2e0694(0xd4)](_0x2e0694(0x12f))['to'](_0x7e26fc),_0x57ab05['on'](_0x2e0694(0x12f),()=>{const _0x123c51=_0x2e0694;this[_0x123c51(0x12d)][_0x123c51(0x12f)](_0x3cf8a1[_0x123c51(0xb4)]),this[_0x123c51(0x12d)][_0x123c51(0xc6)][_0x123c51(0xd9)][_0x123c51(0xb5)]();}),_0x1a74b6[_0x2e0694(0xdb)][_0x2e0694(0xa5)](_0x57ab05),_0x3b8468[_0x2e0694(0xbd)][_0x2e0694(0xa5)](_0x1a74b6);}return _0x7e26fc[_0x2e0694(0xd5)](_0x2e0694(0xc9))['to'](_0x492e2d,_0x2e0694(0xc9)),_0x7e26fc[_0x2e0694(0xe1)][_0x2e0694(0xdb)][_0x2e0694(0xa5)](_0x3b8468),_0x7e26fc;}[_0x179d13(0xb0)](_0x4c5d06){const _0x31533d=_0x179d13,_0x3b333a=this[_0x31533d(0x12d)],_0x5924cc=_0x3b333a[_0x31533d(0xd0)],_0x544e1f=_0x3b333a[_0x31533d(0x118)][_0x31533d(0x119)](_0x31533d(0x130)),_0x195fce=_0x3b333a[_0x31533d(0x118)][_0x31533d(0x119)](_0x31533d(0xfb)),_0x583975=_0x3b333a[_0x31533d(0x118)][_0x31533d(0x119)](_0x31533d(0xfd)),_0x5b83c2=_0x3b333a[_0x31533d(0x118)][_0x31533d(0x119)](_0x3aed53)['me'],_0x397525=_0x5924cc[_0x31533d(0x119)](_0x31533d(0x12a))[_0x31533d(0xf2)],{CommentsListView:_0x28bf16,CommentThreadInputView:_0x498a47}=_0x3b333a[_0x31533d(0x118)][_0x31533d(0x119)](_0x31533d(0xbe));let _0x312a38,_0x13803f;this[_0x31533d(0xb3)][_0x31533d(0xdf)](_0x4c5d06['id'])?(_0x13803f=this[_0x31533d(0xb3)][_0x31533d(0x119)](_0x4c5d06['id']),_0x312a38=_0x13803f[_0x31533d(0xce)]):(_0x312a38=new _0x397525(_0x3b333a[_0x31533d(0xcd)],_0x4c5d06,_0x5b83c2,{'disableComments':this[_0x31533d(0xf4)],'editorConfig':_0x5924cc[_0x31533d(0x119)](_0x31533d(0xdd)),'maxCommentsWhenCollapsed':_0x5924cc[_0x31533d(0x119)](_0x31533d(0xab)),'maxThreadTotalWeight':_0x5924cc[_0x31533d(0x119)](_0x31533d(0x129)),'maxCommentCharsWhenCollapsed':_0x5924cc[_0x31533d(0x119)](_0x31533d(0xc5)),'formatDateTime':_0x3e8435(_0x5924cc[_0x31533d(0x119)](_0x31533d(0xcd))),'CommentView':_0x5924cc[_0x31533d(0x119)](_0x31533d(0x11d))[_0x31533d(0xbb)],'CommentsListView':_0x28bf16,'CommentThreadInputView':_0x498a47}),_0x312a38[_0x31533d(0xc8)]['on'](_0x31533d(0x12f),()=>{const _0x455bea=_0x31533d;_0x3b333a[_0x455bea(0xc6)][_0x455bea(0xd9)][_0x455bea(0xb5)]();}),_0x312a38[_0x31533d(0xbc)]['on'](_0x31533d(0x12f),()=>{const _0x50cf58=_0x31533d;_0x3b333a[_0x50cf58(0xc6)][_0x50cf58(0xd9)][_0x50cf58(0xb5)]();}),_0x13803f=_0x544e1f[_0x31533d(0xf1)](this[_0x31533d(0x12d)][_0x31533d(0xcd)],_0x312a38),_0x13803f[_0x31533d(0xd5)](_0x31533d(0x115))['to'](_0x312a38,_0x31533d(0x115)),_0x13803f[_0x31533d(0xd5)](_0x31533d(0x132))['to'](_0x312a38),_0x13803f[_0x31533d(0xd5)](_0x31533d(0xff))['to'](_0x312a38,_0x31533d(0xff),_0x317284=>_0x31533d(0xda)+_0x317284),this[_0x31533d(0xb3)][_0x31533d(0xf0)](_0x4c5d06['id'],_0x13803f));const _0x2065c8=_0x195fce[_0x31533d(0xc1)](_0x4c5d06[_0x31533d(0x12c)],_0x312a38),_0x5f565f=new _0x34a3d4(_0x3b333a,_0x4c5d06,_0x312a38,_0x2065c8),_0x1ab9fd=_0x4c5d06[_0x31533d(0xc3)]()[_0x31533d(0xd7)](_0x2a879d=>_0x2a879d[_0x31533d(0x128)]);_0x312a38[_0x31533d(0xfe)]=_0x3b333a[_0x31533d(0x118)][_0x31533d(0x119)](_0x31533d(0x104))[_0x31533d(0xf7)][_0x31533d(0x10b)](_0x1ab9fd),this[_0x31533d(0x122)][_0x31533d(0xf0)](_0x4c5d06,_0x5f565f),this[_0x31533d(0xaa)][_0x31533d(0xf0)](_0x312a38,_0x5f565f);const _0x204e50=_0x544e1f[_0x31533d(0xad)]({'view':_0x13803f,'target':()=>{const _0x29c9ca=_0x31533d,_0xda3b7c=[],_0x3aa4b5=_0x4c5d06[_0x29c9ca(0xc3)]()[_0x29c9ca(0xd7)](_0x343bb1=>_0x343bb1[_0x29c9ca(0x128)]);for(const _0x5306ff of _0x3aa4b5)_0xda3b7c[_0x29c9ca(0xcc)](..._0x5306ff[_0x29c9ca(0xaf)]());return _0x2052c5(_0x3b333a[_0x29c9ca(0xc6)],_0xda3b7c);},'type':()=>_0x31533d(0xda)+_0x5f565f[_0x31533d(0xd9)][_0x31533d(0xff)]});_0x195fce[_0x31533d(0xb7)](_0x312a38,_0x204e50),_0x544e1f[_0x31533d(0xa5)](_0x204e50),_0x583975[_0x31533d(0x126)](_0x204e50);}[_0x179d13(0x10d)](_0x205a89){const _0x390c8e=_0x179d13,_0xdfced3=this[_0x390c8e(0x12d)][_0x390c8e(0x118)][_0x390c8e(0x119)](_0x390c8e(0xfb)),_0x15895=this[_0x390c8e(0x12d)][_0x390c8e(0x118)][_0x390c8e(0x119)](_0x390c8e(0x130)),_0xa93833=this[_0x390c8e(0x122)][_0x390c8e(0x119)](_0x205a89),_0x4990f8=_0xa93833[_0x390c8e(0xd9)],_0x38eb76=_0x15895[_0x390c8e(0x10f)](_0x4990f8);_0xdfced3[_0x390c8e(0xd2)](_0x4990f8),_0x38eb76&&_0x15895[_0x390c8e(0xcf)](_0x38eb76),this[_0x390c8e(0x122)][_0x390c8e(0x111)](_0x205a89),this[_0x390c8e(0xaa)][_0x390c8e(0x111)](_0x4990f8),_0xa93833[_0x390c8e(0xd6)]();}[_0x179d13(0x110)](_0x32e77d){const _0x12be3f=_0x179d13;if(!_0x32e77d[_0x12be3f(0x128)]||!this[_0x12be3f(0x122)][_0x12be3f(0xdf)](_0x32e77d))return;const _0x1a6bb9=this[_0x12be3f(0x12d)][_0x12be3f(0x118)][_0x12be3f(0x119)](_0x12be3f(0x104)),_0x18e4e7=this[_0x12be3f(0x122)][_0x12be3f(0x119)](_0x32e77d),_0x2260f8=_0x32e77d[_0x12be3f(0xc3)]();_0x18e4e7[_0x12be3f(0xd9)][_0x12be3f(0xfe)]=_0x1a6bb9[_0x12be3f(0xf7)][_0x12be3f(0x10b)](_0x2260f8);}[_0x179d13(0xd6)](){const _0xf893c2=_0x179d13;for(const _0x4e94ea of this[_0xf893c2(0x122)][_0xf893c2(0x117)]())this[_0xf893c2(0x10d)](_0x4e94ea);for(const _0x51f424 of this[_0xf893c2(0xb3)][_0xf893c2(0xdc)]())_0x51f424[_0xf893c2(0xce)][_0xf893c2(0xd6)]();super[_0xf893c2(0xd6)]();}}function ae(_0x42782d){const _0x47aa5d=_0x179d13;return _0x47aa5d(0xfc)in _0x42782d;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1983(_0x2fb9a3,_0xa02d92){const _0x3bbbbd=_0x3bbb();return _0x1983=function(_0x198383,_0x2cd8c0){_0x198383=_0x198383-0xec;let _0x2af787=_0x3bbbbd[_0x198383];return _0x2af787;},_0x1983(_0x2fb9a3,_0xa02d92);}const _0x499517=_0x1983;(function(_0x40b214,_0x263744){const _0x24b341=_0x1983,_0x169800=_0x40b214();while(!![]){try{const _0x55e36e=-parseInt(_0x24b341(0x100))/0x1+parseInt(_0x24b341(0xf0))/0x2*(parseInt(_0x24b341(0xf1))/0x3)+-parseInt(_0x24b341(0x112))/0x4*(-parseInt(_0x24b341(0x110))/0x5)+parseInt(_0x24b341(0x114))/0x6*(parseInt(_0x24b341(0xf2))/0x7)+parseInt(_0x24b341(0xff))/0x8*(parseInt(_0x24b341(0x117))/0x9)+-parseInt(_0x24b341(0xf4))/0xa*(parseInt(_0x24b341(0xfa))/0xb)+-parseInt(_0x24b341(0xef))/0xc;if(_0x55e36e===_0x263744)break;else _0x169800['push'](_0x169800['shift']());}catch(_0x558a9d){_0x169800['push'](_0x169800['shift']());}}}(_0x3bbb,0x2c525));function _0x3bbb(){const _0x53cf14=['1339646YzGAUP','_removePendingAction','get','isDirty','change:isDirty','40PGJmFA','112318HguHed','bind','acceptSuggestion','_setPendingAction','PENDING_ACTION_SUGGESTION','view','_pendingAction','discardSuggestion','remove','getRanges','_editor','stopListening','_discardCommand','PendingActions','unbind','commands','15OjnEJR','isEnabled','11548LLisNg','add','113718SjLxEn','canEditAt','listenTo','329094wRumCq','commentThreadController','canAccept','execute','3368088IGYvuD','17194fpqmdW','93dmeXri','133CuPQgn','canDiscard','20BgOalW','_acceptCommand','destroy','plugins','model','locale'];_0x3bbb=function(){return _0x53cf14;};return _0x3bbb();}import{ObservableMixin as _0xc074a3}from'ckeditor5/src/utils.js';import{getTranslation as _0x58d9b1}from'../utils/common-translations.js';export default class oe extends _0xc074a3(){constructor(_0xa2a1bb,_0x2fc748,_0x362b02,_0x37c0bf){const _0x301d10=_0x1983;super(),this[_0x301d10(0xf8)]=_0x2fc748,this[_0x301d10(0x105)]=_0x362b02,this[_0x301d10(0xec)]=_0x37c0bf,this[_0x301d10(0x10a)]=_0xa2a1bb,this[_0x301d10(0xf5)]=_0xa2a1bb[_0x301d10(0x10f)][_0x301d10(0xfc)](_0x301d10(0x102)),this[_0x301d10(0x10c)]=_0xa2a1bb[_0x301d10(0x10f)][_0x301d10(0xfc)](_0x301d10(0x107)),this[_0x301d10(0x105)][_0x301d10(0x101)](_0x301d10(0x111))['to'](this[_0x301d10(0xf5)],this[_0x301d10(0x10c)],(_0x43fa04,_0x219835)=>_0x43fa04||_0x219835),this[_0x301d10(0x105)][_0x301d10(0x101)](_0x301d10(0xed))['to'](this[_0x301d10(0xf5)],_0x301d10(0x111),_0x17d200=>_0x17d200&&this[_0x301d10(0x10a)][_0x301d10(0xf8)][_0x301d10(0x115)](_0x2fc748[_0x301d10(0x109)]())),this[_0x301d10(0x105)][_0x301d10(0x101)](_0x301d10(0xf3))['to'](this[_0x301d10(0x10c)],_0x301d10(0x111),_0x1aa182=>_0x1aa182&&this[_0x301d10(0x10a)][_0x301d10(0xf8)][_0x301d10(0x115)](_0x2fc748[_0x301d10(0x109)]())),this[_0x301d10(0x106)]=null,_0x362b02[_0x301d10(0xfd)]&&this[_0x301d10(0x103)](),this[_0x301d10(0x116)](_0x362b02,_0x301d10(0x102),()=>this[_0x301d10(0x102)]()),this[_0x301d10(0x116)](_0x362b02,_0x301d10(0x107),()=>this[_0x301d10(0x107)]()),this[_0x301d10(0x116)](_0x362b02,_0x301d10(0xfe),()=>{const _0x572460=_0x301d10;_0x362b02[_0x572460(0xfd)]?this[_0x572460(0x103)]():this[_0x572460(0xfb)]();});}[_0x499517(0x102)](){const _0x540a0d=_0x499517;this[_0x540a0d(0xf5)][_0x540a0d(0xee)](this[_0x540a0d(0xf8)]['id']);}[_0x499517(0x107)](){const _0x1244ad=_0x499517;this[_0x1244ad(0x10c)][_0x1244ad(0xee)](this[_0x1244ad(0xf8)]['id']);}[_0x499517(0xf6)](){const _0x26abf1=_0x499517;this[_0x26abf1(0x105)][_0x26abf1(0x10e)](_0x26abf1(0x111)),this[_0x26abf1(0x105)][_0x26abf1(0x10e)](_0x26abf1(0xed)),this[_0x26abf1(0x105)][_0x26abf1(0x10e)](_0x26abf1(0xf3)),this[_0x26abf1(0x10b)](),this[_0x26abf1(0xec)][_0x26abf1(0xf6)](),this[_0x26abf1(0x106)]&&this[_0x26abf1(0xfb)]();}[_0x499517(0x103)](){const _0x371762=_0x499517,_0x27b6e0=_0x58d9b1(this[_0x371762(0x10a)][_0x371762(0xf9)],_0x371762(0x104));this[_0x371762(0x106)]=this[_0x371762(0x10a)][_0x371762(0xf7)][_0x371762(0xfc)](_0x371762(0x10d))[_0x371762(0x113)](_0x27b6e0);}[_0x499517(0xfb)](){const _0x38225f=_0x499517;null!==this[_0x38225f(0x106)]&&this[_0x38225f(0x10a)][_0x38225f(0xf7)][_0x38225f(0xfc)](_0x38225f(0x10d))[_0x38225f(0x108)](this[_0x38225f(0x106)]),this[_0x38225f(0x106)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2be96e=_0x1fa2;function _0x6176(){const _0x298ca0=['commentThreadInputView','editor','setData','bind','commentsListView','destroy','element','value','234LQDBNM','546440aqZzzV','_createCommentThreadInputView','focus','_config','addComment','_createCommentViews','updateComment','isEnabled','1016GkgOdq','removeComment','assign','cancel','52446FoUgVo','149862yUzjLO','3066khQzyL','_localUser','_model','showInput','disabledSubmit','submit','canDiscard','commentThread','disableComments','1797696MmVVKI','length','CommentView','fire','canAccept','set','isReadOnly','authoredAt','isActive','locale','descriptionParts','1071150akwqAL','hasDirtyComment','commentInputView','delegate','isDirty','37azdjKe','editorConfig'];_0x6176=function(){return _0x298ca0;};return _0x6176();}(function(_0x4a1440,_0x527228){const _0x2d2743=_0x1fa2,_0xd1e561=_0x4a1440();while(!![]){try{const _0x4d5de5=parseInt(_0x2d2743(0xd9))/0x1*(parseInt(_0x2d2743(0xb1))/0x2)+-parseInt(_0x2d2743(0xbf))/0x3+parseInt(_0x2d2743(0xb2))/0x4+-parseInt(_0x2d2743(0xd4))/0x5+-parseInt(_0x2d2743(0xbe))/0x6+-parseInt(_0x2d2743(0xc0))/0x7*(-parseInt(_0x2d2743(0xba))/0x8)+parseInt(_0x2d2743(0xc9))/0x9;if(_0x4d5de5===_0x527228)break;else _0xd1e561['push'](_0xd1e561['shift']());}catch(_0xdf00e2){_0xd1e561['push'](_0xd1e561['shift']());}}}(_0x6176,0x1e1f8));function _0x1fa2(_0x1b84c2,_0xc37929){const _0x61764c=_0x6176();return _0x1fa2=function(_0x1fa2e9,_0x3d0f5c){_0x1fa2e9=_0x1fa2e9-0xaa;let _0x288d36=_0x61764c[_0x1fa2e9];return _0x288d36;},_0x1fa2(_0x1b84c2,_0xc37929);}import{View as _0x2df6d1}from'ckeditor5/src/ui.js';export default class es extends _0x2df6d1{constructor(_0x10e5b2,_0x935c97,_0x813a83,_0x1110f3){const _0x26ba22=_0x1fa2;super(_0x10e5b2),this[_0x26ba22(0xad)]=null,this[_0x26ba22(0xdb)]=null,this[_0x26ba22(0xce)](_0x26ba22(0xd1),!0x1),this[_0x26ba22(0xce)](_0x26ba22(0xd0),_0x935c97[_0x26ba22(0xd0)]),this[_0x26ba22(0xac)](_0x26ba22(0xd0))['to'](_0x935c97),this[_0x26ba22(0xce)](_0x26ba22(0xd3),[]),this[_0x26ba22(0xce)](_0x26ba22(0xd8),!0x1),this[_0x26ba22(0xce)](_0x26ba22(0xb9),!0x1),this[_0x26ba22(0xce)](_0x26ba22(0xcd),!0x1),this[_0x26ba22(0xce)](_0x26ba22(0xc6),!0x1),this[_0x26ba22(0xc2)]=_0x935c97,this[_0x26ba22(0xc1)]=_0x813a83,this[_0x26ba22(0xb5)]=_0x1110f3,_0x1110f3[_0x26ba22(0xc8)]?this[_0x26ba22(0xce)](_0x26ba22(0xca),0x1):this[_0x26ba22(0xb7)]();}[_0x2be96e(0xb4)](){const _0x3d878e=_0x2be96e;this[_0x3d878e(0xaf)][_0x3d878e(0xb4)]();}[_0x2be96e(0xae)](){const _0x17dac2=_0x2be96e;this[_0x17dac2(0xad)]&&this[_0x17dac2(0xad)][_0x17dac2(0xae)](),this[_0x17dac2(0xdb)]&&this[_0x17dac2(0xdb)][_0x17dac2(0xae)](),super[_0x17dac2(0xae)]();}[_0x2be96e(0xb7)](){const _0x55ab5e=_0x2be96e,{CommentsListView:_0x4a12d7}=this[_0x55ab5e(0xb5)];this[_0x55ab5e(0xad)]=new _0x4a12d7(this[_0x55ab5e(0xd2)],this[_0x55ab5e(0xc2)][_0x55ab5e(0xc7)],Object[_0x55ab5e(0xbc)]({'CommentView':this[_0x55ab5e(0xb5)][_0x55ab5e(0xcb)]},this[_0x55ab5e(0xb5)])),this[_0x55ab5e(0xad)][_0x55ab5e(0xd7)](_0x55ab5e(0xbb))['to'](this),this[_0x55ab5e(0xad)][_0x55ab5e(0xd7)](_0x55ab5e(0xb8))['to'](this),this[_0x55ab5e(0xad)][_0x55ab5e(0xac)](_0x55ab5e(0xd1))['to'](this),this[_0x55ab5e(0xce)](_0x55ab5e(0xca),this[_0x55ab5e(0xad)][_0x55ab5e(0xca)]+0x1),this[_0x55ab5e(0xac)](_0x55ab5e(0xca))['to'](this[_0x55ab5e(0xad)],_0x55ab5e(0xca),_0xa10c61=>_0xa10c61+0x1),this[_0x55ab5e(0xdb)]=this[_0x55ab5e(0xb3)](),this['on'](_0x55ab5e(0xbb),()=>this[_0x55ab5e(0xb4)]()),this[_0x55ab5e(0xac)](_0x55ab5e(0xd8))['to'](this[_0x55ab5e(0xad)],_0x55ab5e(0xd5),this[_0x55ab5e(0xdb)][_0x55ab5e(0xd6)],_0x55ab5e(0xb0),(_0x498eed,_0x3e897c)=>_0x498eed||!!_0x3e897c);}[_0x2be96e(0xb3)](){const _0x35b3c3=_0x2be96e,{CommentThreadInputView:_0x6406b0}=this[_0x35b3c3(0xb5)],_0x5ad71e=new _0x6406b0(this[_0x35b3c3(0xd2)],this[_0x35b3c3(0xc1)],this[_0x35b3c3(0xb5)][_0x35b3c3(0xda)]),_0x420271=_0x5ad71e[_0x35b3c3(0xd6)];return _0x5ad71e[_0x35b3c3(0xac)](_0x35b3c3(0xc3))['to'](this,_0x35b3c3(0xd1),this[_0x35b3c3(0xc2)][_0x35b3c3(0xc7)],_0x35b3c3(0xcf),_0x420271,_0x35b3c3(0xb0),(_0x40dc64,_0x150904,_0x3da5bb)=>!!_0x3da5bb||_0x40dc64&&!_0x150904),_0x420271['on'](_0x35b3c3(0xc5),(_0x304181,_0x4f3b30)=>{const _0x1affd7=_0x35b3c3;this[_0x1affd7(0xcc)](_0x1affd7(0xb6),_0x4f3b30),_0x420271[_0x1affd7(0xaa)][_0x1affd7(0xab)]('');}),_0x420271['on'](_0x35b3c3(0xbd),()=>this[_0x35b3c3(0xb4)]()),_0x420271[_0x35b3c3(0xac)](_0x35b3c3(0xc4))['to'](this[_0x35b3c3(0xc2)][_0x35b3c3(0xc7)],_0x35b3c3(0xcf)),_0x5ad71e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bdc42=_0x33e1;(function(_0xe6b24d,_0x161029){const _0x62330d=_0x33e1,_0xeb9ff5=_0xe6b24d();while(!![]){try{const _0x3ae0fb=-parseInt(_0x62330d(0x149))/0x1*(parseInt(_0x62330d(0x131))/0x2)+-parseInt(_0x62330d(0x19a))/0x3*(-parseInt(_0x62330d(0x153))/0x4)+parseInt(_0x62330d(0x186))/0x5+-parseInt(_0x62330d(0x170))/0x6+parseInt(_0x62330d(0x13e))/0x7*(-parseInt(_0x62330d(0x15c))/0x8)+parseInt(_0x62330d(0x14c))/0x9*(-parseInt(_0x62330d(0x151))/0xa)+parseInt(_0x62330d(0x14d))/0xb;if(_0x3ae0fb===_0x161029)break;else _0xeb9ff5['push'](_0xeb9ff5['shift']());}catch(_0x33004f){_0xeb9ff5['push'](_0xeb9ff5['shift']());}}}(_0x2b27,0x730d7));function _0x2b27(){const _0x3807d3=['execute','commentThread','2nhGPjy','change:description','time','getExternalSuggestionNote','ck-annotation__actions','importWord','ck-suggestion-wrapper--active','canAccept','creator','ck-suggestion__main','ck-annotation__user','bind','fire','98YXsqcj','Discard\x20suggestion','ck-annotation__main','type','disableComments','push','acceptButton','ck-suggestion','ck-annotation__info','ck-suggestion__info-name','discardButton','109338ENXFhi','split','element','5076yEJzld','12946032CUERiu','isEnabled','name','source','16260jlbXFH','commentsListView','1677748PFlodB','EXTERNAL_AVATAR','div','author','\x22></span>','content','ck-annotation__info-name','_model','\x22\x20title=\x22','139816xScnTk','isActive','userView','authoredAt','EXTERNAL_IMPORT_WORD_SUGGESTION','Accept\x20suggestion','ck-suggestion__info','innerHTML','attributes','cancel','_createButton','description','EXTERNAL_SUGGESTION','render','title','createElement','color','</p>','getUserViewNotificationText','ck-annotation__info-time','4145298mywAWG','querySelector','locale','editorDestroyed','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','<p>','_descriptionElement','ck-suggestion--disabled-comments','ck-annotation','setTemplate','check','descriptionParts','formatDateTime','ck-comment__external','span','acceptSuggestion','delegate','isExternal','join','canDiscard','.ck-annotation__content-wrapper','@external','4184345emWnxn','EXTERNAL_IMPORT_WORD_AVATAR','_config','ck-annotation__content-wrapper','ck-suggestion--discard','ck-suggestion-wrapper','children','set','innerText','extendTemplate','getTemplate','commentThreadInputView','ck-comment__info-time','map','ck-suggestion--accept','editorReady','discardSuggestion','ck-suggestion__user','</span>','bindTemplate','3pXtCcY','value','ck-suggestion__actions','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-'];_0x2b27=function(){return _0x3807d3;};return _0x2b27();}import{getTranslation as _0x38d1ec}from'../../utils/common-translations.js';function _0x33e1(_0x42bc4a,_0x24dfbd){const _0x2b275c=_0x2b27();return _0x33e1=function(_0x33e154,_0x4e0411){_0x33e154=_0x33e154-0x130;let _0x39979e=_0x2b275c[_0x33e154];return _0x39979e;},_0x33e1(_0x42bc4a,_0x24dfbd);}import{default as _0x5cc57d}from'./basesuggestionthreadview.js';import{ButtonView as _0x5b4366}from'ckeditor5/src/ui.js';import{icons as _0x283e40}from'ckeditor5/src/core.js';import{trimHtml as _0x11ed40,UserView as _0x30558d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x5cc57d{constructor(_0x46cc29,_0x2acfc2,_0x2266e9,_0x23a961){const _0x1b5b0a=_0x33e1;super(_0x46cc29,_0x2acfc2,_0x2266e9,_0x23a961),this[_0x1b5b0a(0x18d)](_0x1b5b0a(0x141),''),this[_0x1b5b0a(0x13c)](_0x1b5b0a(0x141))['to'](this,_0x1b5b0a(0x17b),_0x67c5cc=>_0x67c5cc&&_0x67c5cc[0x0]?_0x67c5cc[0x0][_0x1b5b0a(0x141)]:''),this[_0x1b5b0a(0x13c)](_0x1b5b0a(0x167))['to'](this,_0x1b5b0a(0x17b),this,_0x1b5b0a(0x15d),(_0x561a8a,_0x5cbb8a)=>{const _0x1ac863=_0x1b5b0a;let _0x1408e9='';for(const _0xc1c81a of _0x561a8a)_0x1408e9+=_0x1ac863(0x175)+ds(_0xc1c81a[_0x1ac863(0x158)],_0xc1c81a[_0x1ac863(0x16c)])+_0x1ac863(0x16d);return _0x5cbb8a?_0x1408e9:_0x11ed40(_0x1408e9,{'limit':0x8c});}),this[_0x1b5b0a(0x176)]=null,this[_0x1b5b0a(0x144)]=this[_0x1b5b0a(0x166)](_0x38d1ec(_0x46cc29,_0x1b5b0a(0x161)),_0x283e40[_0x1b5b0a(0x17a)],_0x1b5b0a(0x194),_0x1b5b0a(0x17f),'sw'),this[_0x1b5b0a(0x144)][_0x1b5b0a(0x13c)](_0x1b5b0a(0x14e))['to'](this,_0x1b5b0a(0x138)),this[_0x1b5b0a(0x148)]=this[_0x1b5b0a(0x166)](_0x38d1ec(_0x46cc29,_0x1b5b0a(0x13f)),_0x283e40[_0x1b5b0a(0x165)],_0x1b5b0a(0x18a),_0x1b5b0a(0x196),'sw'),this[_0x1b5b0a(0x148)][_0x1b5b0a(0x13c)](_0x1b5b0a(0x14e))['to'](this,_0x1b5b0a(0x183)),this[_0x1b5b0a(0x15e)]=new _0x30558d(_0x46cc29,this[_0x1b5b0a(0x15a)][_0x1b5b0a(0x156)],this[_0x1b5b0a(0x16e)]()),this[_0x1b5b0a(0x15e)][_0x1b5b0a(0x18f)]({'attributes':{'class':[_0x1b5b0a(0x197),_0x1b5b0a(0x13b)]}}),this[_0x1b5b0a(0x179)](this[_0x1b5b0a(0x190)]());}[_0x5bdc42(0x190)](){const _0x519b4d=_0x5bdc42,_0x18123=this[_0x519b4d(0x199)],_0x1a9d50=[{'tag':_0x519b4d(0x155),'attributes':{'class':[_0x519b4d(0x162),_0x519b4d(0x146)]},'children':[{'tag':_0x519b4d(0x17e),'children':[{'text':this[_0x519b4d(0x15e)][_0x519b4d(0x14f)]}],'attributes':{'class':[_0x519b4d(0x147),_0x519b4d(0x159)]}},{'tag':_0x519b4d(0x133),'attributes':{'datetime':_0x18123['to'](_0x519b4d(0x15f)),'class':[_0x519b4d(0x192),_0x519b4d(0x16f)]},'children':[{'text':_0x18123['to'](_0x519b4d(0x15f),_0x2369c0=>this[_0x519b4d(0x188)][_0x519b4d(0x17c)](_0x2369c0))}]}]},{'tag':_0x519b4d(0x155),'attributes':{'class':[_0x519b4d(0x19c),_0x519b4d(0x135)]},'children':[this[_0x519b4d(0x144)],this[_0x519b4d(0x148)]]},{'tag':_0x519b4d(0x155),'attributes':{'class':[_0x519b4d(0x189)]}}];this[_0x519b4d(0x15a)][_0x519b4d(0x181)]&&_0x1a9d50[_0x519b4d(0x143)]({'tag':_0x519b4d(0x155),'attributes':{'class':[_0x519b4d(0x17d)]},'children':[{'text':this[_0x519b4d(0x134)]()}]});const _0x1603f4={'tag':_0x519b4d(0x155),'attributes':{'class':[_0x519b4d(0x18b),_0x18123['if'](_0x519b4d(0x15d),_0x519b4d(0x137)),_0x18123['to'](_0x519b4d(0x141),_0x3f6dcb=>_0x519b4d(0x19e)+_0x3f6dcb),this[_0x519b4d(0x188)][_0x519b4d(0x142)]&&_0x519b4d(0x177)],'data-suggestion-id':this[_0x519b4d(0x15a)]['id'],'data-thread-id':this[_0x519b4d(0x15a)][_0x519b4d(0x130)]['id'],'data-author-id':this[_0x519b4d(0x15a)][_0x519b4d(0x156)]['id'],'tabindex':-0x1},'children':[{'tag':_0x519b4d(0x155),'attributes':{'class':[_0x519b4d(0x145),_0x519b4d(0x178)]},'children':[this[_0x519b4d(0x15e)],{'tag':_0x519b4d(0x155),'attributes':{'class':[_0x519b4d(0x13a),_0x519b4d(0x140)]},'children':_0x1a9d50}]}]};return this[_0x519b4d(0x152)]&&this[_0x519b4d(0x191)]&&(_0x1603f4[_0x519b4d(0x18c)][_0x519b4d(0x143)](this[_0x519b4d(0x152)],this[_0x519b4d(0x191)]),this[_0x519b4d(0x152)][_0x519b4d(0x180)](_0x519b4d(0x195))['to'](this),this[_0x519b4d(0x152)][_0x519b4d(0x180)](_0x519b4d(0x173))['to'](this),this[_0x519b4d(0x191)][_0x519b4d(0x180)](_0x519b4d(0x195))['to'](this),this[_0x519b4d(0x191)][_0x519b4d(0x180)](_0x519b4d(0x173))['to'](this)),_0x1603f4;}[_0x5bdc42(0x169)](){const _0x1ee0da=_0x5bdc42;super[_0x1ee0da(0x169)](),this[_0x1ee0da(0x176)]=this[_0x1ee0da(0x14b)][_0x1ee0da(0x171)](_0x1ee0da(0x184)),this[_0x1ee0da(0x176)][_0x1ee0da(0x163)]=this[_0x1ee0da(0x167)],this['on'](_0x1ee0da(0x132),(_0x4c87f0,_0x8a300c,_0x4a6b2f)=>{const _0x25af17=_0x1ee0da;this[_0x25af17(0x176)][_0x25af17(0x163)]=_0x4a6b2f;});}[_0x5bdc42(0x166)](_0x1d086e,_0x244520,_0x1c2cba,_0x34b868,_0x45505b){const _0x5dc2c8=_0x5bdc42,_0x2cd9e5=new _0x5b4366(this[_0x5dc2c8(0x172)]);return _0x2cd9e5[_0x5dc2c8(0x18d)]({'label':_0x1d086e,'icon':_0x244520,'tooltip':!0x0,'tooltipPosition':_0x45505b}),_0x2cd9e5[_0x5dc2c8(0x18f)]({'attributes':{'class':_0x1c2cba}}),_0x2cd9e5['on'](_0x5dc2c8(0x19f),()=>{const _0x36f64a=_0x5dc2c8;this[_0x36f64a(0x13d)](_0x34b868,this[_0x36f64a(0x15a)]['id']);}),_0x2cd9e5;}[_0x5bdc42(0x134)](){const _0x1186b6=_0x5bdc42;return _0x1186b6(0x136)===this[_0x1186b6(0x15a)][_0x1186b6(0x164)][_0x1186b6(0x185)][_0x1186b6(0x150)]?_0x38d1ec(this[_0x1186b6(0x172)],_0x1186b6(0x160)):_0x38d1ec(this[_0x1186b6(0x172)],_0x1186b6(0x168));}[_0x5bdc42(0x16e)](){const _0x7ca19b=_0x5bdc42;return this[_0x7ca19b(0x15a)][_0x7ca19b(0x181)]?_0x7ca19b(0x136)===this[_0x7ca19b(0x15a)][_0x7ca19b(0x164)][_0x7ca19b(0x185)][_0x7ca19b(0x150)]?_0x38d1ec(this[_0x7ca19b(0x172)],_0x7ca19b(0x187),this[_0x7ca19b(0x15a)][_0x7ca19b(0x139)][_0x7ca19b(0x14f)]):_0x38d1ec(this[_0x7ca19b(0x172)],_0x7ca19b(0x154),this[_0x7ca19b(0x15a)][_0x7ca19b(0x139)][_0x7ca19b(0x14f)]):null;}}function ds(_0x272245,_0x13345e){const _0xd05449=_0x5bdc42;let _0x280c13='';return _0x280c13+=_0x272245[_0xd05449(0x14a)]('*')[_0xd05449(0x193)]((_0x36a02f,_0x2101bc)=>_0x2101bc%0x2!=0x0?_0xd05449(0x19d)+us(_0x36a02f)+_0xd05449(0x198):us(_0x36a02f))[_0xd05449(0x182)](''),_0x13345e&&(_0x280c13+=_0xd05449(0x174)+_0x13345e[_0xd05449(0x19b)]+_0xd05449(0x15b)+_0x13345e[_0xd05449(0x16a)]+_0xd05449(0x157)),_0x280c13;}function us(_0x1c05f6){const _0xa3b8b3=_0x5bdc42,_0x5552c2=document[_0xa3b8b3(0x16b)](_0xa3b8b3(0x17e));return _0x5552c2[_0xa3b8b3(0x18e)]=_0x1c05f6,_0x5552c2[_0xa3b8b3(0x163)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x11adb8,_0x2afeae,_0x1714b4){const t=_0x11adb8['t'];switch(_0x2afeae){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',_0x1714b4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1714b4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1714b4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1714b4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1714b4);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',_0x1714b4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1714b4);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',_0x1714b4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1714b4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1714b4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1714b4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1714b4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1714b4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1714b4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1714b4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1714b4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1714b4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1714b4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1714b4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1714b4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1714b4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1714b4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1714b4);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'},_0x1714b4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1714b4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1714b4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1714b4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1714b4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1714b4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1714b4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1714b4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1714b4);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'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1714b4);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'},_0x1714b4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1714b4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1714b4);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'},_0x1714b4);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'},_0x1714b4);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 _0x2afeae;}}
|
|
23
|
+
export function getTranslation(_0x2d43e9,_0x408204,_0x298563){const t=_0x2d43e9['t'];switch(_0x408204){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',_0x298563);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x298563);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x298563);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x298563);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x298563);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',_0x298563);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x298563);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',_0x298563);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x298563);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x298563);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x298563);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x298563);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x298563);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x298563);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x298563);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x298563);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x298563);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x298563);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x298563);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x298563);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x298563);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x298563);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x298563);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'},_0x298563);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x298563);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x298563);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x298563);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x298563);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x298563);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'},_0x298563);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x298563);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x298563);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x298563);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x298563);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'},_0x298563);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x298563);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'},_0x298563);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'},_0x298563);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x298563);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'},_0x298563);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x298563);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'},_0x298563);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x298563);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x298563);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'},_0x298563);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'},_0x298563);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 _0x408204;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x553689,_0x55f1b0){const _0x584767=_0x1891,_0x156217=_0x553689();while(!![]){try{const _0x43a988=parseInt(_0x584767(0x17b))/0x1+parseInt(_0x584767(0x181))/0x2+parseInt(_0x584767(0x177))/0x3+parseInt(_0x584767(0x16a))/0x4*(parseInt(_0x584767(0x17e))/0x5)+parseInt(_0x584767(0x15a))/0x6+-parseInt(_0x584767(0x16f))/0x7+-parseInt(_0x584767(0x17a))/0x8;if(_0x43a988===_0x55f1b0)break;else _0x156217['push'](_0x156217['shift']());}catch(_0x1819ed){_0x156217['push'](_0x156217['shift']());}}}(_0x93c8,0x461fe));export function normalizeDescription(_0x1061a2){const _0x4099fc=_0x1891;return Array[_0x4099fc(0x15b)](_0x1061a2)||(_0x1061a2=[_0x1061a2]),_0x1061a2[_0x4099fc(0x159)](_0x301b2c=>{const _0x2c0851=_0x4099fc,_0x29adae=_0x301b2c[_0x2c0851(0x162)][_0x2c0851(0x169)](/\*/g,''),_0x818e3c=_0x301b2c[_0x2c0851(0x176)]?_0x2c0851(0x15e)+_0x301b2c[_0x2c0851(0x176)][_0x2c0851(0x160)]+']':'';return'['+_0x301b2c[_0x2c0851(0x17c)]+']\x20'+_0x29adae+_0x818e3c;})[_0x4099fc(0x15c)](';\x20');}export function sortSuggestions(_0x1edd4c){const _0xf70677=_0x1891;return _0x1edd4c[_0xf70677(0x15f)]((_0x4fbe17,_0x3ddb13)=>_0xf70677(0x180)==_0x4fbe17[_0xf70677(0x17c)]&&_0xf70677(0x180)!=_0x3ddb13[_0xf70677(0x17c)]?-0x1:_0xf70677(0x180)!=_0x4fbe17[_0xf70677(0x17c)]&&_0xf70677(0x180)==_0x3ddb13[_0xf70677(0x17c)]?0x1:0x0);}function _0x1891(_0x543244,_0x5e97be){const _0x93c868=_0x93c8();return _0x1891=function(_0x18919e,_0x417b57){_0x18919e=_0x18919e-0x159;let _0x42c98f=_0x93c868[_0x18919e];return _0x42c98f;},_0x1891(_0x543244,_0x5e97be);}function _0x93c8(){const _0x47c7d0=['2562240QAfLmm','isArray','join','getRanges','\x20[color\x20','sort','value','add','content','length','execute','isIntersecting','next','start','isCollapsed','replace','24DicEym','createPositionBefore','end','from','isMultiRange','232323ITDVYB','push','splice','createPositionAfter','isTouching','change','createRange','color','1712436ISQhtc','schema','createPositionAt','11409736GiKJWg','284413WNjJDo','type','isObject','265690hKDCgS','isInContent','deletion','291086tThXPr','map'];_0x93c8=function(){return _0x47c7d0;};return _0x93c8();}export function getSelectedSuggestions(_0x32a876,_0x478efc){const _0x33a272=_0x1891,_0x5438a2=Array[_0x33a272(0x16d)](_0x32a876[_0x33a272(0x15d)]()),_0x43b65d=new Set();for(const _0x435141 of _0x478efc)if(_0x435141[_0x33a272(0x17f)]){for(const _0x4a0178 of _0x5438a2)for(const _0x873c0d of _0x435141[_0x33a272(0x15d)]())(_0x4a0178[_0x33a272(0x165)](_0x873c0d)||_0x32a876[_0x33a272(0x168)]&&!_0x435141[_0x33a272(0x16e)]&&_0x435141[_0x33a272(0x166)]&&_0x873c0d[_0x33a272(0x16c)][_0x33a272(0x173)](_0x4a0178[_0x33a272(0x167)]))&&_0x43b65d[_0x33a272(0x161)](_0x435141);}return _0x43b65d;}export function getRangesOfBlockGroups(_0x38561c,_0x1ac640){const _0x16f326=_0x1891;let _0x281d64,_0x16681f=0x0;const _0x37135c=[],_0x2a6473=_0x1ac640[_0x16f326(0x178)];for(;_0x16681f<_0x38561c[_0x16f326(0x163)];){const _0x49075a=_0x38561c[_0x16681f],_0x4b6127=_0x38561c[_0x16681f+0x1];_0x281d64||(_0x281d64=_0x1ac640[_0x16f326(0x16b)](_0x49075a)),co(_0x1ac640,_0x49075a,_0x4b6127)||(_0x37135c[_0x16f326(0x170)](_0x1ac640[_0x16f326(0x175)](_0x281d64,_0x2a6473[_0x16f326(0x17d)](_0x49075a)?_0x1ac640[_0x16f326(0x172)](_0x49075a):_0x1ac640[_0x16f326(0x179)](_0x49075a,_0x16f326(0x16c)))),_0x281d64=null),_0x16681f++;}return _0x37135c;}function co(_0x1f6621,_0x25f4ae,_0x7497e8){const _0x3f6f2e=_0x1891;if(!_0x7497e8)return!0x1;const _0x2db403=_0x1f6621[_0x3f6f2e(0x172)](_0x25f4ae),_0x106734=_0x1f6621[_0x3f6f2e(0x16b)](_0x7497e8);return _0x2db403[_0x3f6f2e(0x173)](_0x106734);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x222e4a,_0xf64509,_0x595f2a){const _0x2136a1=_0x1891;for(;_0x595f2a[_0x2136a1(0x163)];){const _0x1ca246=_0x595f2a[_0x2136a1(0x171)](0x0,0x64);_0x222e4a[_0x2136a1(0x174)](()=>{const _0x160f5e=_0x2136a1;for(const _0x341e9a of _0x1ca246)_0x341e9a[_0x160f5e(0x17f)]&&_0xf64509[_0x160f5e(0x164)](_0x341e9a['id']);});}}
|