@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240528.0 → 0.0.0-nightly-20240529.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ae0aa=_0x163a;(function(_0x43c482,_0x195f1e){const _0x3c1e59=_0x163a,_0x14208c=_0x43c482();while(!![]){try{const _0x3d2b23=-parseInt(_0x3c1e59(0x244))/0x1*(parseInt(_0x3c1e59(0x1ef))/0x2)+-parseInt(_0x3c1e59(0x1f9))/0x3*(-parseInt(_0x3c1e59(0x253))/0x4)+parseInt(_0x3c1e59(0x22f))/0x5+-parseInt(_0x3c1e59(0x24b))/0x6*(parseInt(_0x3c1e59(0x25b))/0x7)+-parseInt(_0x3c1e59(0x26e))/0x8*(-parseInt(_0x3c1e59(0x25f))/0x9)+parseInt(_0x3c1e59(0x249))/0xa+parseInt(_0x3c1e59(0x226))/0xb*(-parseInt(_0x3c1e59(0x1fd))/0xc);if(_0x3d2b23===_0x195f1e)break;else _0x14208c['push'](_0x14208c['shift']());}catch(_0x6000aa){_0x14208c['push'](_0x14208c['shift']());}}}(_0x2d3c,0xb84e2));import{Plugin as _0x116d53}from'ckeditor5/src/core.js';import{Collection as _0x59df8f}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x567e1e,createDropdown as _0x4fc04e,ListSeparatorView as _0x4c972e,MenuBarMenuView as _0x39b28a,MenuBarMenuListView as _0x3e343f,MenuBarMenuListItemView as _0x51b79e,MenuBarMenuListItemButtonView as _0x5d89b9,SplitButtonView as _0x6bbe43,ViewModel as _0x141e5b}from'ckeditor5/src/ui.js';function _0x163a(_0x1c44ec,_0x1c2c6d){const _0x2d3c5a=_0x2d3c();return _0x163a=function(_0x163a69,_0x229756){_0x163a69=_0x163a69-0x1e5;let _0x5f8c0=_0x2d3c5a[_0x163a69];return _0x5f8c0;},_0x163a(_0x1c44ec,_0x1c2c6d);}import{Users as _0x2dc252,getDateTimeFormatter as _0x1005d7,getAllMarkersDomElementsSorted as _0x2d6041}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x60f419 from'./trackchangesediting.js';import _0x58a7b2 from'./ui/suggestioncontroller.js';function _0x2d3c(){const _0x4383b0=['comments.maxCommentsWhenCollapsed','EditorAnnotations','_handleControllerBuffer','15716HfBcEN','discardButton','comments.maxThreadTotalWeight','_disableComments','change:activeAnnotations','Accept\x20all\x20selected\x20suggestions','type','requires','15673fEhMcx','remove','registerAnnotation','destroy','693dWRVQj','hasSuggestion','button','Discard\x20all\x20suggestions','TrackChangesEditing','values','reduce','execute','acceptSelectedSuggestions','suggestion-','plugins','trackChanges','view','TrackChangesUI','discardSelectedSuggestions','32488fRvwLT','filter','unbind','discardAllSuggestions','children','Discard\x20all\x20selected\x20suggestions','acceptAllSuggestions','suggestionChanged','_unbindEditors','define','comments.maxCommentCharsWhenCollapsed','trackChanges.disableComments','refreshSelectedViews','_handleSuggestionControllerDelayed','commentThread','CommentsRepository','menu','CommentsUI','source','menuitemcheckbox','836172vFMWvX','separator','_annotationViews','menuBar:trackChanges','_bindAnnotationToEditors','model','comments.editorConfig','value','commands','switchbutton','633QZauWV','arrowView','mainView','editor','1718868SELCpZ','suggestionLoaded','getFirstRange','actionView','listenTo','_initializeController','innerView','activeMarkers','items','previous','from','clear','some','editing','set','descriptionFactory','getJoined','trackChanges.SuggestionThreadView','Track\x20changes','getAllAdjacentSuggestions','lowest','config','commandName','Annotations','buttonView','focus','get','acceptButton','isOn','_createToolbarButton','_viewToController','head','createCommentThreadController','delete','panelView','createAnnotation','getRanges','_destroyController','init','size','isMultiRange','22HyrKDq','CommentView','_suggestionToController','push','_createMenuBarMenu','getMarkers','bind','_refreshActiveMarkers','menuitem','4880630RHYIDw','_updateController','addComment','length','isDirty','componentFactory','delegate','getMarkerNames','suggestionUnloaded','locale','activeAnnotations','isInContent','isEnabled','keys','addSourceCollector','_addUIComponentsToFactory','SuggestionThreadView','change:previous','has','toMany','getDescriptions','3wDSQQd','getByInnerView','add','stopListening','pluginName','12502890DJlUDq','getSuggestion','2874QliMbZ','Accept\x20all\x20suggestions','comments','descriptionParts','createAnnotationView'];_0x2d3c=function(){return _0x4383b0;};return _0x2d3c();}import _0x47babf from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x2b90a1}from'./utils/common-translations.js';import _0xcf218a from'../theme/icons/track-changes.svg';export default class d extends _0x116d53{static get[_0x3ae0aa(0x25a)](){const _0x3e137c=_0x3ae0aa;return[_0x60f419,_0x2dc252,_0x3e137c(0x1ea),_0x3e137c(0x214),_0x3e137c(0x251)];}static get[_0x3ae0aa(0x248)](){const _0x58c317=_0x3ae0aa;return _0x58c317(0x26c);}constructor(_0x1f60d4){const _0x46d64a=_0x3ae0aa;super(_0x1f60d4),this[_0x46d64a(0x228)]=new Map(),this[_0x46d64a(0x21b)]=new Map(),this[_0x46d64a(0x1f1)]=new Map(),this[_0x46d64a(0x252)]=new Map();const _0x207c75=this[_0x46d64a(0x1fc)][_0x46d64a(0x212)];_0x207c75[_0x46d64a(0x277)](_0x46d64a(0x20e),_0x47babf),_0x207c75[_0x46d64a(0x277)](_0x46d64a(0x1e6),!0x1),this[_0x46d64a(0x256)]=_0x207c75[_0x46d64a(0x217)](_0x46d64a(0x1e6));}[_0x3ae0aa(0x1e8)](_0x4d2cd1,_0x1a7ce4){const _0x262141=_0x3ae0aa;0x0===this[_0x262141(0x252)][_0x262141(0x224)]&&setTimeout(()=>{const _0x118ec2=_0x262141;for(const [_0x512433,_0x3347cc]of this[_0x118ec2(0x252)]){const _0xc1342d=this[_0x118ec2(0x228)][_0x118ec2(0x241)](_0x512433);_0xc1342d||_0x3347cc?_0xc1342d&&_0x3347cc&&this[_0x118ec2(0x222)](_0x512433):this[_0x118ec2(0x202)](_0x512433);}this[_0x118ec2(0x252)][_0x118ec2(0x208)](),this[_0x118ec2(0x1fc)][_0x118ec2(0x269)][_0x118ec2(0x217)](_0x118ec2(0x251))[_0x118ec2(0x1e7)](),this[_0x118ec2(0x22d)]();},0xa),this[_0x262141(0x252)][_0x262141(0x20b)](_0x4d2cd1,_0x1a7ce4);}[_0x3ae0aa(0x223)](){const _0x1d2404=_0x3ae0aa,_0x40ebff=this[_0x1d2404(0x1fc)],_0x248f26=_0x40ebff[_0x1d2404(0x269)][_0x1d2404(0x217)](_0x1d2404(0x263)),_0x18c481=_0x40ebff[_0x1d2404(0x269)][_0x1d2404(0x217)](_0x1d2404(0x214)),_0x2bb1ec=_0x40ebff[_0x1d2404(0x269)][_0x1d2404(0x217)](_0x1d2404(0x251)),_0x1b51c6=_0x40ebff[_0x1d2404(0x269)][_0x1d2404(0x217)](_0x1d2404(0x1ea));this[_0x1d2404(0x23e)](),_0x2bb1ec[_0x1d2404(0x23d)](()=>{const _0x456d13=_0x1d2404,_0x4f449a=[];for(const [_0x22dad4,_0x155f4a]of Array[_0x456d13(0x207)](this[_0x456d13(0x228)])){const _0x3a8978=_0x22dad4[_0x456d13(0x210)](),_0x45985c=[];for(const _0x11b61a of _0x3a8978){if(!_0x11b61a[_0x456d13(0x23a)])continue;if(_0x11b61a[_0x456d13(0x225)]){_0x45985c[_0x456d13(0x229)](..._0x11b61a[_0x456d13(0x221)]());continue;}const _0x188350=_0x11b61a[_0x456d13(0x1ff)]();if(_0x45985c[_0x456d13(0x232)]>0x0){const _0x353481=_0x45985c[0x0][_0x456d13(0x20d)](_0x188350);if(_0x353481){_0x45985c[0x0]=_0x353481;continue;}}_0x45985c[_0x456d13(0x229)](_0x188350);}_0x4f449a[_0x456d13(0x229)]([_0x155f4a[_0x456d13(0x26b)],_0x45985c]);}return _0x4f449a;}),this[_0x1d2404(0x201)](_0x248f26,_0x1d2404(0x1fe),(_0xda166d,_0x2441cb)=>{const _0x31ddb2=_0x1d2404;this[_0x31ddb2(0x201)](_0x2441cb,_0x31ddb2(0x240),(_0x31707a,_0x4b819f,_0x590d2d,_0x48c39f)=>{const _0x6ea56a=_0x31ddb2;_0x2441cb[_0x6ea56a(0x23a)]&&(null==_0x590d2d?(this[_0x6ea56a(0x230)](_0x48c39f[_0x6ea56a(0x21c)]),this[_0x6ea56a(0x1e8)](_0x2441cb,!0x1)):(this[_0x6ea56a(0x230)](_0x590d2d[_0x6ea56a(0x21c)]),null==_0x48c39f&&this[_0x6ea56a(0x1e8)](_0x2441cb,!0x0)));}),null!==_0x2441cb[_0x31ddb2(0x206)]?this[_0x31ddb2(0x230)](_0x2441cb[_0x31ddb2(0x21c)]):this[_0x31ddb2(0x1e8)](_0x2441cb,!0x1);}),this[_0x1d2404(0x201)](_0x248f26,_0x1d2404(0x237),(_0x5ccd2f,_0x3388ba,_0x475dfd)=>{const _0x5c507f=_0x1d2404;this[_0x5c507f(0x247)](_0x3388ba,_0x5c507f(0x240)),this[_0x5c507f(0x252)][_0x5c507f(0x21e)](_0x3388ba),this[_0x5c507f(0x228)][_0x5c507f(0x241)](_0x3388ba)&&this[_0x5c507f(0x222)](_0x3388ba),_0x475dfd&&this[_0x5c507f(0x230)](_0x475dfd[_0x5c507f(0x21c)]);}),this[_0x1d2404(0x201)](_0x248f26,_0x1d2404(0x275),(_0x1750b4,_0x2c8ccb)=>{const _0x561b79=_0x1d2404;this[_0x561b79(0x230)](_0x2c8ccb);}),this[_0x1d2404(0x201)](_0x18c481,_0x1d2404(0x257),()=>{const _0xbf8b4a=_0x1d2404;this[_0xbf8b4a(0x22d)]();}),this[_0x1d2404(0x201)](_0x1b51c6,_0x1d2404(0x231),(_0x15ce47,{threadId:_0x4997f8,isFromAdapter:_0x4992b1})=>{const _0x57b02c=_0x1d2404;if(_0x4992b1||!_0x248f26[_0x57b02c(0x260)](_0x4997f8))return;const _0x25b27a=_0x248f26[_0x57b02c(0x24a)](_0x4997f8);this[_0x57b02c(0x228)][_0x57b02c(0x217)](_0x25b27a)[_0x57b02c(0x26b)][_0x57b02c(0x216)]();},{'priority':_0x1d2404(0x211)});}[_0x3ae0aa(0x22d)](){const _0x4d268f=_0x3ae0aa,_0x1d94bd=this[_0x4d268f(0x1fc)][_0x4d268f(0x269)][_0x4d268f(0x217)](_0x4d268f(0x214)),_0x3dceef=this[_0x4d268f(0x1fc)][_0x4d268f(0x269)][_0x4d268f(0x217)](_0x4d268f(0x263)),_0x2523d6=Array[_0x4d268f(0x207)](_0x1d94bd[_0x4d268f(0x239)],_0x386d41=>_0x386d41[_0x4d268f(0x203)])[_0x4d268f(0x26f)](_0x2e4425=>this[_0x4d268f(0x21b)][_0x4d268f(0x241)](_0x2e4425)),_0x205b57=[];for(const _0x504a42 of _0x2523d6){const _0x253059=this[_0x4d268f(0x21b)][_0x4d268f(0x217)](_0x504a42)[_0x4d268f(0x1f4)][_0x4d268f(0x210)]();_0x205b57[_0x4d268f(0x229)](..._0x253059[_0x4d268f(0x265)]((_0x548d6a,_0x35312d)=>[..._0x548d6a,..._0x35312d[_0x4d268f(0x236)]()],[]));}_0x3dceef[_0x4d268f(0x204)]=_0x205b57;}[_0x3ae0aa(0x23e)](){const _0x16538e=_0x3ae0aa,_0x394866=this[_0x16538e(0x1fc)],_0x5c87fe=_0x394866[_0x16538e(0x238)],_0x194708=_0x2b90a1(_0x5c87fe,_0x16538e(0x20f)),_0x45fbdf=new _0x59df8f([{'type':_0x16538e(0x1f8),'model':new _0x141e5b({'withText':!0x0,'label':_0x194708,'commandName':_0x16538e(0x26a),'role':_0x16538e(0x1ee)})},{'type':_0x16538e(0x1f0)},{'type':_0x16538e(0x261),'model':new _0x141e5b({'withText':!0x0,'label':_0x2b90a1(_0x5c87fe,_0x16538e(0x24c)),'commandName':_0x16538e(0x274),'role':_0x16538e(0x22e)})},{'type':_0x16538e(0x261),'model':new _0x141e5b({'withText':!0x0,'label':_0x2b90a1(_0x5c87fe,_0x16538e(0x258)),'commandName':_0x16538e(0x267),'role':_0x16538e(0x22e)})},{'type':_0x16538e(0x261),'model':new _0x141e5b({'withText':!0x0,'label':_0x2b90a1(_0x5c87fe,_0x16538e(0x262)),'commandName':_0x16538e(0x271),'role':_0x16538e(0x22e)})},{'type':_0x16538e(0x261),'model':new _0x141e5b({'withText':!0x0,'label':_0x2b90a1(_0x5c87fe,_0x16538e(0x273)),'commandName':_0x16538e(0x26d),'role':_0x16538e(0x22e)})}]);for(const _0x11f0f0 of _0x45fbdf)if(ae(_0x11f0f0)){const _0x28243d=_0x394866[_0x16538e(0x1f7)][_0x16538e(0x217)](_0x11f0f0[_0x16538e(0x1f4)][_0x16538e(0x213)]);_0x11f0f0[_0x16538e(0x1f4)][_0x16538e(0x22c)](_0x16538e(0x219),_0x16538e(0x23b))['to'](_0x28243d,_0x16538e(0x1f6),_0x16538e(0x23b));}_0x394866['ui'][_0x16538e(0x234)][_0x16538e(0x246)](_0x16538e(0x26a),_0x129601=>this[_0x16538e(0x21a)](_0x129601,_0x45fbdf,_0x194708)),_0x394866['ui'][_0x16538e(0x234)][_0x16538e(0x246)](_0x16538e(0x1f2),_0x3f3bc2=>this[_0x16538e(0x22a)](_0x3f3bc2,_0x45fbdf,_0x194708));}[_0x3ae0aa(0x21a)](_0x457c6d,_0x4944ef,_0xfa5833){const _0x22866d=_0x3ae0aa,_0x942dfd=_0x4fc04e(_0x457c6d,_0x6bbe43),_0x5d4b5e=this[_0x22866d(0x1fc)][_0x22866d(0x1f7)][_0x22866d(0x217)](_0x22866d(0x26a));_0x942dfd[_0x22866d(0x215)][_0x22866d(0x20b)]({'tooltip':_0xfa5833,'label':_0xfa5833,'icon':_0xcf218a}),_0x942dfd[_0x22866d(0x215)][_0x22866d(0x22c)](_0x22866d(0x219))['to'](_0x5d4b5e,_0x22866d(0x1f6)),_0x942dfd[_0x22866d(0x215)]['on'](_0x22866d(0x266),()=>{const _0x5923f6=_0x22866d;_0x5d4b5e[_0x5923f6(0x266)](),this[_0x5923f6(0x1fc)][_0x5923f6(0x20a)][_0x5923f6(0x26b)][_0x5923f6(0x216)]();}),_0x567e1e(_0x942dfd,_0x4944ef,{'role':_0x22866d(0x1eb)});const _0x1edb7e=[];for(const _0x2cef6f of _0x4944ef)ae(_0x2cef6f)&&_0x1edb7e[_0x22866d(0x229)](this[_0x22866d(0x1fc)][_0x22866d(0x1f7)][_0x22866d(0x217)](_0x2cef6f[_0x22866d(0x1f4)][_0x22866d(0x213)]));const _0x107bea=_0x942dfd[_0x22866d(0x215)];return _0x107bea[_0x22866d(0x200)][_0x22866d(0x270)](_0x22866d(0x23b)),_0x107bea[_0x22866d(0x1fa)][_0x22866d(0x270)](_0x22866d(0x23b)),_0x107bea[_0x22866d(0x200)][_0x22866d(0x22c)](_0x22866d(0x23b))['to'](_0x5d4b5e,_0x22866d(0x23b)),_0x107bea[_0x22866d(0x1fa)][_0x22866d(0x22c)](_0x22866d(0x23b))[_0x22866d(0x242)](_0x1edb7e,_0x22866d(0x23b),(..._0x4ef2d0)=>_0x4ef2d0[_0x22866d(0x209)](_0x1e15fd=>_0x1e15fd)),_0x942dfd['on'](_0x22866d(0x266),_0x4f6d02=>{const _0x560290=_0x22866d;this[_0x560290(0x1fc)][_0x560290(0x266)](_0x4f6d02[_0x560290(0x1ed)][_0x560290(0x213)]),this[_0x560290(0x1fc)][_0x560290(0x20a)][_0x560290(0x26b)][_0x560290(0x216)]();}),_0x942dfd;}[_0x3ae0aa(0x22a)](_0x127e8a,_0xe01e31,_0x2708a1){const _0x464439=_0x3ae0aa,_0x73488e=new _0x39b28a(_0x127e8a),_0x130ea5=this[_0x464439(0x1fc)][_0x464439(0x1f7)][_0x464439(0x217)](_0x464439(0x26a));_0x73488e[_0x464439(0x215)][_0x464439(0x20b)]({'label':_0x2708a1,'icon':_0xcf218a});const _0x141cc9=new _0x3e343f(_0x127e8a);for(const _0x442464 of _0xe01e31){if(_0x464439(0x1f0)==_0x442464[_0x464439(0x259)]){_0x141cc9[_0x464439(0x205)][_0x464439(0x246)](new _0x4c972e(_0x127e8a));continue;}const _0x90a23b=new _0x51b79e(_0x127e8a,_0x73488e),_0x3019a4=new _0x5d89b9(_0x127e8a),_0x28d29f=_0x442464[_0x464439(0x1f4)];_0x3019a4[_0x464439(0x22c)](...Object[_0x464439(0x23c)](_0x28d29f))['to'](_0x28d29f),_0x3019a4[_0x464439(0x235)](_0x464439(0x266))['to'](_0x73488e),_0x3019a4['on'](_0x464439(0x266),()=>{const _0x3b43de=_0x464439;this[_0x3b43de(0x1fc)][_0x3b43de(0x266)](_0x28d29f[_0x3b43de(0x213)]),this[_0x3b43de(0x1fc)][_0x3b43de(0x20a)][_0x3b43de(0x26b)][_0x3b43de(0x216)]();}),_0x90a23b[_0x464439(0x272)][_0x464439(0x246)](_0x3019a4),_0x141cc9[_0x464439(0x205)][_0x464439(0x246)](_0x90a23b);}return _0x73488e[_0x464439(0x22c)](_0x464439(0x23b))['to'](_0x130ea5,_0x464439(0x23b)),_0x73488e[_0x464439(0x21f)][_0x464439(0x272)][_0x464439(0x246)](_0x141cc9),_0x73488e;}[_0x3ae0aa(0x202)](_0x126dbf){const _0x2d4f81=_0x3ae0aa,_0x11714f=this[_0x2d4f81(0x1fc)],_0xd046c6=_0x11714f[_0x2d4f81(0x212)],_0x530861=_0x11714f[_0x2d4f81(0x269)][_0x2d4f81(0x217)](_0x2d4f81(0x214)),_0x1c1cb5=_0x11714f[_0x2d4f81(0x269)][_0x2d4f81(0x217)](_0x2d4f81(0x1ea)),_0x4ea17c=_0x11714f[_0x2d4f81(0x269)][_0x2d4f81(0x217)](_0x2d4f81(0x251)),_0xc42bbd=_0x11714f[_0x2d4f81(0x269)][_0x2d4f81(0x217)](_0x2dc252)['me'],_0x5d8215=_0xd046c6[_0x2d4f81(0x217)](_0x2d4f81(0x26a))[_0x2d4f81(0x23f)],{CommentsListView:_0x445bad,CommentThreadInputView:_0x3b04af}=_0x11714f[_0x2d4f81(0x269)][_0x2d4f81(0x217)](_0x2d4f81(0x1ec));let _0x18621c,_0x5eb66d;this[_0x2d4f81(0x1f1)][_0x2d4f81(0x241)](_0x126dbf['id'])?(_0x5eb66d=this[_0x2d4f81(0x1f1)][_0x2d4f81(0x217)](_0x126dbf['id']),_0x18621c=_0x5eb66d[_0x2d4f81(0x1fb)]):(_0x18621c=new _0x5d8215(_0x11714f[_0x2d4f81(0x238)],_0x126dbf,_0xc42bbd,{'disableComments':this[_0x2d4f81(0x256)],'editorConfig':_0xd046c6[_0x2d4f81(0x217)](_0x2d4f81(0x1f5)),'maxCommentsWhenCollapsed':_0xd046c6[_0x2d4f81(0x217)](_0x2d4f81(0x250)),'maxThreadTotalWeight':_0xd046c6[_0x2d4f81(0x217)](_0x2d4f81(0x255)),'maxCommentCharsWhenCollapsed':_0xd046c6[_0x2d4f81(0x217)](_0x2d4f81(0x1e5)),'formatDateTime':_0x1005d7(_0xd046c6[_0x2d4f81(0x217)](_0x2d4f81(0x238))),'CommentView':_0xd046c6[_0x2d4f81(0x217)](_0x2d4f81(0x24d))[_0x2d4f81(0x227)],'CommentsListView':_0x445bad,'CommentThreadInputView':_0x3b04af}),_0x18621c[_0x2d4f81(0x218)]['on'](_0x2d4f81(0x266),()=>{const _0x1b62d5=_0x2d4f81;_0x11714f[_0x1b62d5(0x20a)][_0x1b62d5(0x26b)][_0x1b62d5(0x216)]();}),_0x18621c[_0x2d4f81(0x254)]['on'](_0x2d4f81(0x266),()=>{const _0x216cf4=_0x2d4f81;_0x11714f[_0x216cf4(0x20a)][_0x216cf4(0x26b)][_0x216cf4(0x216)]();}),_0x5eb66d=_0x530861[_0x2d4f81(0x24f)](this[_0x2d4f81(0x1fc)][_0x2d4f81(0x238)],_0x18621c),_0x5eb66d[_0x2d4f81(0x22c)](_0x2d4f81(0x233))['to'](_0x18621c,_0x2d4f81(0x233)),_0x5eb66d[_0x2d4f81(0x22c)](_0x2d4f81(0x232))['to'](_0x18621c),_0x5eb66d[_0x2d4f81(0x22c)](_0x2d4f81(0x259))['to'](_0x18621c,_0x2d4f81(0x259),_0x990eb1=>_0x2d4f81(0x268)+_0x990eb1),this[_0x2d4f81(0x1f1)][_0x2d4f81(0x20b)](_0x126dbf['id'],_0x5eb66d));const _0x91c3e8=_0x1c1cb5[_0x2d4f81(0x21d)](_0x126dbf[_0x2d4f81(0x1e9)],_0x18621c),_0x599b2e=new _0x58a7b2(_0x11714f,_0x126dbf,_0x18621c,_0x91c3e8),_0x4f6795=_0x126dbf[_0x2d4f81(0x210)]()[_0x2d4f81(0x26f)](_0x2f4d98=>_0x2f4d98[_0x2d4f81(0x23a)]);_0x18621c[_0x2d4f81(0x24e)]=_0x11714f[_0x2d4f81(0x269)][_0x2d4f81(0x217)](_0x2d4f81(0x263))[_0x2d4f81(0x20c)][_0x2d4f81(0x243)](_0x4f6795),this[_0x2d4f81(0x228)][_0x2d4f81(0x20b)](_0x126dbf,_0x599b2e),this[_0x2d4f81(0x21b)][_0x2d4f81(0x20b)](_0x18621c,_0x599b2e);const _0x247638=_0x530861[_0x2d4f81(0x220)]({'view':_0x5eb66d,'target':()=>{const _0x4dee1c=_0x2d4f81,_0x108dc3=[],_0x4f8c96=_0x126dbf[_0x4dee1c(0x210)]()[_0x4dee1c(0x26f)](_0x3b0377=>_0x3b0377[_0x4dee1c(0x23a)]);for(const _0x5f3a85 of _0x4f8c96)_0x108dc3[_0x4dee1c(0x229)](..._0x5f3a85[_0x4dee1c(0x22b)]());return _0x2d6041(_0x11714f[_0x4dee1c(0x20a)],_0x108dc3);},'type':()=>_0x2d4f81(0x268)+_0x599b2e[_0x2d4f81(0x26b)][_0x2d4f81(0x259)]});_0x1c1cb5[_0x2d4f81(0x1f3)](_0x18621c,_0x247638),_0x530861[_0x2d4f81(0x246)](_0x247638),_0x4ea17c[_0x2d4f81(0x25d)](_0x247638);}[_0x3ae0aa(0x222)](_0x431d4c){const _0x9c1885=_0x3ae0aa,_0x53c37a=this[_0x9c1885(0x1fc)][_0x9c1885(0x269)][_0x9c1885(0x217)](_0x9c1885(0x1ea)),_0xec5743=this[_0x9c1885(0x1fc)][_0x9c1885(0x269)][_0x9c1885(0x217)](_0x9c1885(0x214)),_0x4d4b6c=this[_0x9c1885(0x228)][_0x9c1885(0x217)](_0x431d4c),_0x26f4eb=_0x4d4b6c[_0x9c1885(0x26b)],_0x5deef5=_0xec5743[_0x9c1885(0x245)](_0x26f4eb);_0x53c37a[_0x9c1885(0x276)](_0x26f4eb),_0x5deef5&&_0xec5743[_0x9c1885(0x25c)](_0x5deef5),this[_0x9c1885(0x228)][_0x9c1885(0x21e)](_0x431d4c),this[_0x9c1885(0x21b)][_0x9c1885(0x21e)](_0x26f4eb),_0x4d4b6c[_0x9c1885(0x25e)]();}[_0x3ae0aa(0x230)](_0x4fd11c){const _0x358bce=_0x3ae0aa;if(!_0x4fd11c[_0x358bce(0x23a)]||!this[_0x358bce(0x228)][_0x358bce(0x241)](_0x4fd11c))return;const _0xfae5fa=this[_0x358bce(0x1fc)][_0x358bce(0x269)][_0x358bce(0x217)](_0x358bce(0x263)),_0x4e562c=this[_0x358bce(0x228)][_0x358bce(0x217)](_0x4fd11c),_0x3d7125=_0x4fd11c[_0x358bce(0x210)]();_0x4e562c[_0x358bce(0x26b)][_0x358bce(0x24e)]=_0xfae5fa[_0x358bce(0x20c)][_0x358bce(0x243)](_0x3d7125);}[_0x3ae0aa(0x25e)](){const _0x450c6f=_0x3ae0aa;for(const _0x4428e1 of this[_0x450c6f(0x228)][_0x450c6f(0x23c)]())this[_0x450c6f(0x222)](_0x4428e1);for(const _0x1496ac of this[_0x450c6f(0x1f1)][_0x450c6f(0x264)]())_0x1496ac[_0x450c6f(0x1fb)][_0x450c6f(0x25e)]();super[_0x450c6f(0x25e)]();}}function ae(_0x5a9626){const _0x39750c=_0x3ae0aa;return _0x39750c(0x1f4)in _0x5a9626;}
|
|
23
|
+
const _0x256642=_0x1d81;(function(_0x52ee38,_0x3fbc93){const _0x42e019=_0x1d81,_0x4c05d8=_0x52ee38();while(!![]){try{const _0x28fe88=-parseInt(_0x42e019(0x1df))/0x1+-parseInt(_0x42e019(0x1b5))/0x2+parseInt(_0x42e019(0x1da))/0x3*(-parseInt(_0x42e019(0x1b7))/0x4)+parseInt(_0x42e019(0x1a5))/0x5+parseInt(_0x42e019(0x1d6))/0x6+parseInt(_0x42e019(0x19c))/0x7*(-parseInt(_0x42e019(0x1b3))/0x8)+parseInt(_0x42e019(0x1b1))/0x9*(parseInt(_0x42e019(0x195))/0xa);if(_0x28fe88===_0x3fbc93)break;else _0x4c05d8['push'](_0x4c05d8['shift']());}catch(_0x432ab0){_0x4c05d8['push'](_0x4c05d8['shift']());}}}(_0x47d1,0x9fb3f));import{Plugin as _0x5c8d0d}from'ckeditor5/src/core.js';import{Collection as _0x5f0b5d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x32f440,createDropdown as _0x51617a,ListSeparatorView as _0x18e871,MenuBarMenuView as _0x53344b,MenuBarMenuListView as _0x5498cf,MenuBarMenuListItemView as _0xcc5be0,MenuBarMenuListItemButtonView as _0x18e189,SplitButtonView as _0x280d4c,ViewModel as _0x40d971}from'ckeditor5/src/ui.js';function _0x1d81(_0x3608f0,_0x1e90dc){const _0x47d1bc=_0x47d1();return _0x1d81=function(_0x1d81f5,_0x2c012e){_0x1d81f5=_0x1d81f5-0x153;let _0x34a243=_0x47d1bc[_0x1d81f5];return _0x34a243;},_0x1d81(_0x3608f0,_0x1e90dc);}import{Users as _0x2fe17a,getDateTimeFormatter as _0x2cc8f1,getAllMarkersDomElementsSorted as _0x2cc06a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1fbf69 from'./trackchangesediting.js';function _0x47d1(){const _0x43eb76=['isInContent','actionView','Accept\x20all\x20selected\x20suggestions','isDirty','hasSuggestion','menuBar:trackChanges','plugins','5748471UCLoub','getMarkers','3856024DgzPAk','delegate','233512qMRnOf','_refreshActiveMarkers','446156FucvAb','editing','mainView','addSourceCollector','componentFactory','listenTo','Discard\x20all\x20suggestions','trackChanges.disableComments','head','suggestion-','remove','button','isMultiRange','activeAnnotations','length','push','has','suggestionUnloaded','add','isOn','some','activeMarkers','toMany','getDescriptions','pluginName','children','suggestionChanged','reduce','innerView','editor','value','2774052ryiIZu','Track\x20changes','from','descriptionParts','12nmILwm','panelView','focus','acceptSelectedSuggestions','locale','788467xEWUQy','keys','getJoined','size','model','comments','acceptButton','discardButton','getFirstRange','createAnnotationView','refreshSelectedViews','get','Annotations','delete','comments.maxThreadTotalWeight','_createToolbarButton','TrackChangesUI','getSuggestion','set','_unbindEditors','_updateController','TrackChangesEditing','execute','discardSelectedSuggestions','CommentView','_initializeController','registerAnnotation','buttonView','getAllAdjacentSuggestions','menuitemcheckbox','getRanges','Accept\x20all\x20suggestions','previous','_bindAnnotationToEditors','items','getMarkerNames','_annotationViews','menu','commands','createAnnotation','Discard\x20all\x20selected\x20suggestions','type','CommentsUI','bind','values','addComment','CommentsRepository','trackChanges.SuggestionThreadView','init','destroy','comments.maxCommentCharsWhenCollapsed','comments.editorConfig','define','_addUIComponentsToFactory','view','arrowView','suggestionLoaded','_createMenuBarMenu','stopListening','requires','_disableComments','change:activeAnnotations','source','_handleControllerBuffer','_viewToController','commentThread','_suggestionToController','filter','EditorAnnotations','change:previous','SuggestionThreadView','20rDlnhs','discardAllSuggestions','_destroyController','descriptionFactory','trackChanges','lowest','createCommentThreadController','7YUYtSc','isEnabled','switchbutton','getByInnerView','acceptAllSuggestions','comments.maxCommentsWhenCollapsed','config','commandName','menuitem','3738725akjBil','separator','unbind','_handleSuggestionControllerDelayed','clear'];_0x47d1=function(){return _0x43eb76;};return _0x47d1();}import _0x4a59e0 from'./ui/suggestioncontroller.js';import _0x19c99a from'./ui/view/suggestionthreadview.js';import{getTranslation as _0xb6ee60}from'./utils/common-translations.js';import _0x398a28 from'../theme/icons/track-changes.svg';export default class d extends _0x5c8d0d{static get[_0x256642(0x189)](){const _0x217ce3=_0x256642;return[_0x1fbf69,_0x2fe17a,_0x217ce3(0x17c),_0x217ce3(0x15a),_0x217ce3(0x192)];}static get[_0x256642(0x1cf)](){const _0x1f804a=_0x256642;return _0x1f804a(0x15e);}constructor(_0x152a70){const _0x50829e=_0x256642;super(_0x152a70),this[_0x50829e(0x190)]=new Map(),this[_0x50829e(0x18e)]=new Map(),this[_0x50829e(0x172)]=new Map(),this[_0x50829e(0x18d)]=new Map();const _0xf858ee=this[_0x50829e(0x1d4)][_0x50829e(0x1a2)];_0xf858ee[_0x50829e(0x182)](_0x50829e(0x17d),_0x19c99a),_0xf858ee[_0x50829e(0x182)](_0x50829e(0x1be),!0x1),this[_0x50829e(0x18a)]=_0xf858ee[_0x50829e(0x159)](_0x50829e(0x1be));}[_0x256642(0x1a8)](_0x18151b,_0x50e773){const _0x175344=_0x256642;0x0===this[_0x175344(0x18d)][_0x175344(0x1e2)]&&setTimeout(()=>{const _0x1ae456=_0x175344;for(const [_0x2e42e2,_0x15b87b]of this[_0x1ae456(0x18d)]){const _0x185ee7=this[_0x1ae456(0x190)][_0x1ae456(0x1c7)](_0x2e42e2);_0x185ee7||_0x15b87b?_0x185ee7&&_0x15b87b&&this[_0x1ae456(0x197)](_0x2e42e2):this[_0x1ae456(0x167)](_0x2e42e2);}this[_0x1ae456(0x18d)][_0x1ae456(0x1a9)](),this[_0x1ae456(0x1d4)][_0x1ae456(0x1b0)][_0x1ae456(0x159)](_0x1ae456(0x192))[_0x1ae456(0x158)](),this[_0x1ae456(0x1b6)]();},0xa),this[_0x175344(0x18d)][_0x175344(0x160)](_0x18151b,_0x50e773);}[_0x256642(0x17e)](){const _0x50fa13=_0x256642,_0x3c69bd=this[_0x50fa13(0x1d4)],_0x1786a4=_0x3c69bd[_0x50fa13(0x1b0)][_0x50fa13(0x159)](_0x50fa13(0x163)),_0x1183ba=_0x3c69bd[_0x50fa13(0x1b0)][_0x50fa13(0x159)](_0x50fa13(0x15a)),_0x4df0d5=_0x3c69bd[_0x50fa13(0x1b0)][_0x50fa13(0x159)](_0x50fa13(0x192)),_0x4e54ec=_0x3c69bd[_0x50fa13(0x1b0)][_0x50fa13(0x159)](_0x50fa13(0x17c));this[_0x50fa13(0x183)](),_0x4df0d5[_0x50fa13(0x1ba)](()=>{const _0x243b1f=_0x50fa13,_0xf1b578=[];for(const [_0x3e0c08,_0x2bc7e4]of Array[_0x243b1f(0x1d8)](this[_0x243b1f(0x190)])){const _0x151339=_0x3e0c08[_0x243b1f(0x16a)](),_0x5a1241=[];for(const _0x40408a of _0x151339){if(!_0x40408a[_0x243b1f(0x1aa)])continue;if(_0x40408a[_0x243b1f(0x1c3)]){_0x5a1241[_0x243b1f(0x1c6)](..._0x40408a[_0x243b1f(0x16c)]());continue;}const _0x25258=_0x40408a[_0x243b1f(0x156)]();if(_0x5a1241[_0x243b1f(0x1c5)]>0x0){const _0x19f516=_0x5a1241[0x0][_0x243b1f(0x1e1)](_0x25258);if(_0x19f516){_0x5a1241[0x0]=_0x19f516;continue;}}_0x5a1241[_0x243b1f(0x1c6)](_0x25258);}_0xf1b578[_0x243b1f(0x1c6)]([_0x2bc7e4[_0x243b1f(0x184)],_0x5a1241]);}return _0xf1b578;}),this[_0x50fa13(0x1bc)](_0x1786a4,_0x50fa13(0x186),(_0x20d689,_0x2dab32)=>{const _0x4e922f=_0x50fa13;this[_0x4e922f(0x1bc)](_0x2dab32,_0x4e922f(0x193),(_0x3cae49,_0x2cc5a5,_0x278af4,_0x577542)=>{const _0x20eb50=_0x4e922f;_0x2dab32[_0x20eb50(0x1aa)]&&(null==_0x278af4?(this[_0x20eb50(0x162)](_0x577542[_0x20eb50(0x1bf)]),this[_0x20eb50(0x1a8)](_0x2dab32,!0x1)):(this[_0x20eb50(0x162)](_0x278af4[_0x20eb50(0x1bf)]),null==_0x577542&&this[_0x20eb50(0x1a8)](_0x2dab32,!0x0)));}),null!==_0x2dab32[_0x4e922f(0x16e)]?this[_0x4e922f(0x162)](_0x2dab32[_0x4e922f(0x1bf)]):this[_0x4e922f(0x1a8)](_0x2dab32,!0x1);}),this[_0x50fa13(0x1bc)](_0x1786a4,_0x50fa13(0x1c8),(_0x249ef4,_0x482d13,_0x279ec4)=>{const _0x191283=_0x50fa13;this[_0x191283(0x188)](_0x482d13,_0x191283(0x193)),this[_0x191283(0x18d)][_0x191283(0x15b)](_0x482d13),this[_0x191283(0x190)][_0x191283(0x1c7)](_0x482d13)&&this[_0x191283(0x197)](_0x482d13),_0x279ec4&&this[_0x191283(0x162)](_0x279ec4[_0x191283(0x1bf)]);}),this[_0x50fa13(0x1bc)](_0x1786a4,_0x50fa13(0x1d1),(_0x4ce50e,_0x51165c)=>{const _0x1ba0cd=_0x50fa13;this[_0x1ba0cd(0x162)](_0x51165c);}),this[_0x50fa13(0x1bc)](_0x1183ba,_0x50fa13(0x18b),()=>{const _0x31af0d=_0x50fa13;this[_0x31af0d(0x1b6)]();}),this[_0x50fa13(0x1bc)](_0x4e54ec,_0x50fa13(0x17b),(_0x296574,{threadId:_0x38681c,isFromAdapter:_0x52b9a3})=>{const _0x27f447=_0x50fa13;if(_0x52b9a3||!_0x1786a4[_0x27f447(0x1ae)](_0x38681c))return;const _0x539d2f=_0x1786a4[_0x27f447(0x15f)](_0x38681c);this[_0x27f447(0x190)][_0x27f447(0x159)](_0x539d2f)[_0x27f447(0x184)][_0x27f447(0x1dc)]();},{'priority':_0x50fa13(0x19a)});}[_0x256642(0x1b6)](){const _0x21f762=_0x256642,_0x2e4fb6=this[_0x21f762(0x1d4)][_0x21f762(0x1b0)][_0x21f762(0x159)](_0x21f762(0x15a)),_0x1e0d27=this[_0x21f762(0x1d4)][_0x21f762(0x1b0)][_0x21f762(0x159)](_0x21f762(0x163)),_0x5eeef5=Array[_0x21f762(0x1d8)](_0x2e4fb6[_0x21f762(0x1c4)],_0x18dbe2=>_0x18dbe2[_0x21f762(0x1d3)])[_0x21f762(0x191)](_0x1443c6=>this[_0x21f762(0x18e)][_0x21f762(0x1c7)](_0x1443c6)),_0x9625d9=[];for(const _0x5e9e7d of _0x5eeef5){const _0x40ee7f=this[_0x21f762(0x18e)][_0x21f762(0x159)](_0x5e9e7d)[_0x21f762(0x1e3)][_0x21f762(0x16a)]();_0x9625d9[_0x21f762(0x1c6)](..._0x40ee7f[_0x21f762(0x1d2)]((_0x15890a,_0x2802f5)=>[..._0x15890a,..._0x2802f5[_0x21f762(0x171)]()],[]));}_0x1e0d27[_0x21f762(0x1cc)]=_0x9625d9;}[_0x256642(0x183)](){const _0x3b0f9a=_0x256642,_0x29ccb8=this[_0x3b0f9a(0x1d4)],_0x26d2eb=_0x29ccb8[_0x3b0f9a(0x1de)],_0x10d874=_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x1d7)),_0x53750c=new _0x5f0b5d([{'type':_0x3b0f9a(0x19e),'model':new _0x40d971({'withText':!0x0,'label':_0x10d874,'commandName':_0x3b0f9a(0x199),'role':_0x3b0f9a(0x16b)})},{'type':_0x3b0f9a(0x1a6)},{'type':_0x3b0f9a(0x1c2),'model':new _0x40d971({'withText':!0x0,'label':_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x16d)),'commandName':_0x3b0f9a(0x1a0),'role':_0x3b0f9a(0x1a4)})},{'type':_0x3b0f9a(0x1c2),'model':new _0x40d971({'withText':!0x0,'label':_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x1ac)),'commandName':_0x3b0f9a(0x1dd),'role':_0x3b0f9a(0x1a4)})},{'type':_0x3b0f9a(0x1c2),'model':new _0x40d971({'withText':!0x0,'label':_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x1bd)),'commandName':_0x3b0f9a(0x196),'role':_0x3b0f9a(0x1a4)})},{'type':_0x3b0f9a(0x1c2),'model':new _0x40d971({'withText':!0x0,'label':_0xb6ee60(_0x26d2eb,_0x3b0f9a(0x176)),'commandName':_0x3b0f9a(0x165),'role':_0x3b0f9a(0x1a4)})}]);for(const _0x453d95 of _0x53750c)if(ae(_0x453d95)){const _0x3106b4=_0x29ccb8[_0x3b0f9a(0x174)][_0x3b0f9a(0x159)](_0x453d95[_0x3b0f9a(0x1e3)][_0x3b0f9a(0x1a3)]);_0x453d95[_0x3b0f9a(0x1e3)][_0x3b0f9a(0x179)](_0x3b0f9a(0x1ca),_0x3b0f9a(0x19d))['to'](_0x3106b4,_0x3b0f9a(0x1d5),_0x3b0f9a(0x19d));}_0x29ccb8['ui'][_0x3b0f9a(0x1bb)][_0x3b0f9a(0x1c9)](_0x3b0f9a(0x199),_0x1ae77c=>this[_0x3b0f9a(0x15d)](_0x1ae77c,_0x53750c,_0x10d874)),_0x29ccb8['ui'][_0x3b0f9a(0x1bb)][_0x3b0f9a(0x1c9)](_0x3b0f9a(0x1af),_0x2129ac=>this[_0x3b0f9a(0x187)](_0x2129ac,_0x53750c,_0x10d874));}[_0x256642(0x15d)](_0x1cfafd,_0x517a71,_0x57f57f){const _0x446970=_0x256642,_0x4279e0=_0x51617a(_0x1cfafd,_0x280d4c),_0x409ba0=this[_0x446970(0x1d4)][_0x446970(0x174)][_0x446970(0x159)](_0x446970(0x199));_0x4279e0[_0x446970(0x169)][_0x446970(0x160)]({'tooltip':_0x57f57f,'label':_0x57f57f,'icon':_0x398a28}),_0x4279e0[_0x446970(0x169)][_0x446970(0x179)](_0x446970(0x1ca))['to'](_0x409ba0,_0x446970(0x1d5)),_0x4279e0[_0x446970(0x169)]['on'](_0x446970(0x164),()=>{const _0x18848f=_0x446970;_0x409ba0[_0x18848f(0x164)](),this[_0x18848f(0x1d4)][_0x18848f(0x1b8)][_0x18848f(0x184)][_0x18848f(0x1dc)]();}),_0x32f440(_0x4279e0,_0x517a71,{'role':_0x446970(0x173)});const _0x3f96de=[];for(const _0xff6aa8 of _0x517a71)ae(_0xff6aa8)&&_0x3f96de[_0x446970(0x1c6)](this[_0x446970(0x1d4)][_0x446970(0x174)][_0x446970(0x159)](_0xff6aa8[_0x446970(0x1e3)][_0x446970(0x1a3)]));const _0x6f884d=_0x4279e0[_0x446970(0x169)];return _0x6f884d[_0x446970(0x1ab)][_0x446970(0x1a7)](_0x446970(0x19d)),_0x6f884d[_0x446970(0x185)][_0x446970(0x1a7)](_0x446970(0x19d)),_0x6f884d[_0x446970(0x1ab)][_0x446970(0x179)](_0x446970(0x19d))['to'](_0x409ba0,_0x446970(0x19d)),_0x6f884d[_0x446970(0x185)][_0x446970(0x179)](_0x446970(0x19d))[_0x446970(0x1cd)](_0x3f96de,_0x446970(0x19d),(..._0x25292e)=>_0x25292e[_0x446970(0x1cb)](_0x4c1bcd=>_0x4c1bcd)),_0x4279e0['on'](_0x446970(0x164),_0x23e138=>{const _0x163367=_0x446970;this[_0x163367(0x1d4)][_0x163367(0x164)](_0x23e138[_0x163367(0x18c)][_0x163367(0x1a3)]),this[_0x163367(0x1d4)][_0x163367(0x1b8)][_0x163367(0x184)][_0x163367(0x1dc)]();}),_0x4279e0;}[_0x256642(0x187)](_0xf9e02a,_0x329550,_0x17a663){const _0x33cde6=_0x256642,_0xffd4e2=new _0x53344b(_0xf9e02a),_0x32f8d6=this[_0x33cde6(0x1d4)][_0x33cde6(0x174)][_0x33cde6(0x159)](_0x33cde6(0x199));_0xffd4e2[_0x33cde6(0x169)][_0x33cde6(0x160)]({'label':_0x17a663,'icon':_0x398a28});const _0x1cd263=new _0x5498cf(_0xf9e02a);for(const _0x2e8647 of _0x329550){if(_0x33cde6(0x1a6)==_0x2e8647[_0x33cde6(0x177)]){_0x1cd263[_0x33cde6(0x170)][_0x33cde6(0x1c9)](new _0x18e871(_0xf9e02a));continue;}const _0x3ae5d1=new _0xcc5be0(_0xf9e02a,_0xffd4e2),_0x48c949=new _0x18e189(_0xf9e02a),_0x29f995=_0x2e8647[_0x33cde6(0x1e3)];_0x48c949[_0x33cde6(0x179)](...Object[_0x33cde6(0x1e0)](_0x29f995))['to'](_0x29f995),_0x48c949[_0x33cde6(0x1b4)](_0x33cde6(0x164))['to'](_0xffd4e2),_0x48c949['on'](_0x33cde6(0x164),()=>{const _0x30d7bf=_0x33cde6;this[_0x30d7bf(0x1d4)][_0x30d7bf(0x164)](_0x29f995[_0x30d7bf(0x1a3)]),this[_0x30d7bf(0x1d4)][_0x30d7bf(0x1b8)][_0x30d7bf(0x184)][_0x30d7bf(0x1dc)]();}),_0x3ae5d1[_0x33cde6(0x1d0)][_0x33cde6(0x1c9)](_0x48c949),_0x1cd263[_0x33cde6(0x170)][_0x33cde6(0x1c9)](_0x3ae5d1);}return _0xffd4e2[_0x33cde6(0x179)](_0x33cde6(0x19d))['to'](_0x32f8d6,_0x33cde6(0x19d)),_0xffd4e2[_0x33cde6(0x1db)][_0x33cde6(0x1d0)][_0x33cde6(0x1c9)](_0x1cd263),_0xffd4e2;}[_0x256642(0x167)](_0x16bfc4){const _0x462232=_0x256642,_0x25cb4a=this[_0x462232(0x1d4)],_0xde6084=_0x25cb4a[_0x462232(0x1a2)],_0xe1d07e=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x15a)),_0xaa7e54=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x17c)),_0x4b05fa=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x192)),_0x2548bf=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x2fe17a)['me'],_0x7ec770=_0xde6084[_0x462232(0x159)](_0x462232(0x199))[_0x462232(0x194)],{CommentsListView:_0x5102c9,CommentThreadInputView:_0x34eac2}=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x178));let _0x3be21f,_0x1b259e;this[_0x462232(0x172)][_0x462232(0x1c7)](_0x16bfc4['id'])?(_0x1b259e=this[_0x462232(0x172)][_0x462232(0x159)](_0x16bfc4['id']),_0x3be21f=_0x1b259e[_0x462232(0x1b9)]):(_0x3be21f=new _0x7ec770(_0x25cb4a[_0x462232(0x1de)],_0x16bfc4,_0x2548bf,{'disableComments':this[_0x462232(0x18a)],'editorConfig':_0xde6084[_0x462232(0x159)](_0x462232(0x181)),'maxCommentsWhenCollapsed':_0xde6084[_0x462232(0x159)](_0x462232(0x1a1)),'maxThreadTotalWeight':_0xde6084[_0x462232(0x159)](_0x462232(0x15c)),'maxCommentCharsWhenCollapsed':_0xde6084[_0x462232(0x159)](_0x462232(0x180)),'formatDateTime':_0x2cc8f1(_0xde6084[_0x462232(0x159)](_0x462232(0x1de))),'CommentView':_0xde6084[_0x462232(0x159)](_0x462232(0x153))[_0x462232(0x166)],'CommentsListView':_0x5102c9,'CommentThreadInputView':_0x34eac2}),_0x3be21f[_0x462232(0x154)]['on'](_0x462232(0x164),()=>{const _0x5c26c5=_0x462232;_0x25cb4a[_0x5c26c5(0x1b8)][_0x5c26c5(0x184)][_0x5c26c5(0x1dc)]();}),_0x3be21f[_0x462232(0x155)]['on'](_0x462232(0x164),()=>{const _0x3e5c5e=_0x462232;_0x25cb4a[_0x3e5c5e(0x1b8)][_0x3e5c5e(0x184)][_0x3e5c5e(0x1dc)]();}),_0x1b259e=_0xe1d07e[_0x462232(0x157)](this[_0x462232(0x1d4)][_0x462232(0x1de)],_0x3be21f),_0x1b259e[_0x462232(0x179)](_0x462232(0x1ad))['to'](_0x3be21f,_0x462232(0x1ad)),_0x1b259e[_0x462232(0x179)](_0x462232(0x1c5))['to'](_0x3be21f),_0x1b259e[_0x462232(0x179)](_0x462232(0x177))['to'](_0x3be21f,_0x462232(0x177),_0x57c65a=>_0x462232(0x1c0)+_0x57c65a),this[_0x462232(0x172)][_0x462232(0x160)](_0x16bfc4['id'],_0x1b259e));const _0x5ce6c0=_0xaa7e54[_0x462232(0x19b)](_0x16bfc4[_0x462232(0x18f)],_0x3be21f),_0x48405d=new _0x4a59e0(_0x25cb4a,_0x16bfc4,_0x3be21f,_0x5ce6c0),_0x224f63=_0x16bfc4[_0x462232(0x16a)]()[_0x462232(0x191)](_0xc21658=>_0xc21658[_0x462232(0x1aa)]);_0x3be21f[_0x462232(0x1d9)]=_0x25cb4a[_0x462232(0x1b0)][_0x462232(0x159)](_0x462232(0x163))[_0x462232(0x198)][_0x462232(0x1ce)](_0x224f63),this[_0x462232(0x190)][_0x462232(0x160)](_0x16bfc4,_0x48405d),this[_0x462232(0x18e)][_0x462232(0x160)](_0x3be21f,_0x48405d);const _0x41b1d6=_0xe1d07e[_0x462232(0x175)]({'view':_0x1b259e,'target':()=>{const _0x4cc184=_0x462232,_0x366844=[],_0x1c1eca=_0x16bfc4[_0x4cc184(0x16a)]()[_0x4cc184(0x191)](_0x1551aa=>_0x1551aa[_0x4cc184(0x1aa)]);for(const _0x16d64f of _0x1c1eca)_0x366844[_0x4cc184(0x1c6)](..._0x16d64f[_0x4cc184(0x1b2)]());return _0x2cc06a(_0x25cb4a[_0x4cc184(0x1b8)],_0x366844);},'type':()=>_0x462232(0x1c0)+_0x48405d[_0x462232(0x184)][_0x462232(0x177)]});_0xaa7e54[_0x462232(0x16f)](_0x3be21f,_0x41b1d6),_0xe1d07e[_0x462232(0x1c9)](_0x41b1d6),_0x4b05fa[_0x462232(0x168)](_0x41b1d6);}[_0x256642(0x197)](_0x48669b){const _0x2102a1=_0x256642,_0x6a4d55=this[_0x2102a1(0x1d4)][_0x2102a1(0x1b0)][_0x2102a1(0x159)](_0x2102a1(0x17c)),_0x42ff5c=this[_0x2102a1(0x1d4)][_0x2102a1(0x1b0)][_0x2102a1(0x159)](_0x2102a1(0x15a)),_0xe8b539=this[_0x2102a1(0x190)][_0x2102a1(0x159)](_0x48669b),_0x58be7d=_0xe8b539[_0x2102a1(0x184)],_0x16b72d=_0x42ff5c[_0x2102a1(0x19f)](_0x58be7d);_0x6a4d55[_0x2102a1(0x161)](_0x58be7d),_0x16b72d&&_0x42ff5c[_0x2102a1(0x1c1)](_0x16b72d),this[_0x2102a1(0x190)][_0x2102a1(0x15b)](_0x48669b),this[_0x2102a1(0x18e)][_0x2102a1(0x15b)](_0x58be7d),_0xe8b539[_0x2102a1(0x17f)]();}[_0x256642(0x162)](_0x39d353){const _0x35b97b=_0x256642;if(!_0x39d353[_0x35b97b(0x1aa)]||!this[_0x35b97b(0x190)][_0x35b97b(0x1c7)](_0x39d353))return;const _0x4db55c=this[_0x35b97b(0x1d4)][_0x35b97b(0x1b0)][_0x35b97b(0x159)](_0x35b97b(0x163)),_0x4470b6=this[_0x35b97b(0x190)][_0x35b97b(0x159)](_0x39d353),_0x4f30c1=_0x39d353[_0x35b97b(0x16a)]();_0x4470b6[_0x35b97b(0x184)][_0x35b97b(0x1d9)]=_0x4db55c[_0x35b97b(0x198)][_0x35b97b(0x1ce)](_0x4f30c1);}[_0x256642(0x17f)](){const _0x5766d2=_0x256642;for(const _0x45632e of this[_0x5766d2(0x190)][_0x5766d2(0x1e0)]())this[_0x5766d2(0x197)](_0x45632e);for(const _0x21b9b2 of this[_0x5766d2(0x172)][_0x5766d2(0x17a)]())_0x21b9b2[_0x5766d2(0x1b9)][_0x5766d2(0x17f)]();super[_0x5766d2(0x17f)]();}}function ae(_0x2edc66){const _0x57f787=_0x256642;return _0x57f787(0x1e3)in _0x2edc66;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x55464d=_0x549b;(function(_0x5e876e,_0x5d198b){const _0x404d20=_0x549b,_0x40ab14=_0x5e876e();while(!![]){try{const _0x1a7cf3=-parseInt(_0x404d20(0xec))/0x1*(parseInt(_0x404d20(0xff))/0x2)+-parseInt(_0x404d20(0xd5))/0x3+-parseInt(_0x404d20(0xf4))/0x4*(parseInt(_0x404d20(0xe2))/0x5)+-parseInt(_0x404d20(0xf6))/0x6+-parseInt(_0x404d20(0xf2))/0x7*(parseInt(_0x404d20(0xdc))/0x8)+parseInt(_0x404d20(0xe0))/0x9*(parseInt(_0x404d20(0xef))/0xa)+parseInt(_0x404d20(0xeb))/0xb;if(_0x1a7cf3===_0x5d198b)break;else _0x40ab14['push'](_0x40ab14['shift']());}catch(_0x41f8fc){_0x40ab14['push'](_0x40ab14['shift']());}}}(_0x4919,0xeae75));import{ObservableMixin as _0x1d432e}from'ckeditor5/src/utils.js';import{getTranslation as _0x3a54bf}from'../utils/common-translations.js';function _0x4919(){const _0x3226ef=['unbind','6402230XMgKFc','_editor','locale','isDirty','stopListening','listenTo','change:isDirty','_acceptCommand','_setPendingAction','40364005lhMHGM','86993HJwaCw','canEditAt','PendingActions','648110RZhqsJ','_discardCommand','canDiscard','2147803lkOrhX','get','4PwEGyy','commands','3161880HUPEIe','discardSuggestion','add','execute','isEnabled','destroy','_removePendingAction','acceptSuggestion','commentThreadController','16MANfwg','2024469kkEEfS','PENDING_ACTION_SUGGESTION','_pendingAction','model','plugins','getRanges','bind','8dYUwJv','remove','view','canAccept','108XvSIfs'];_0x4919=function(){return _0x3226ef;};return _0x4919();}function _0x549b(_0x9f1069,_0x36bac2){const _0x49195b=_0x4919();return _0x549b=function(_0x549b84,_0x478b0d){_0x549b84=_0x549b84-0xd5;let _0x290722=_0x49195b[_0x549b84];return _0x290722;},_0x549b(_0x9f1069,_0x36bac2);}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d432e(){constructor(_0x3ad390,_0x41ab5e,_0x268641,_0x96fe8c){const _0x43c7b8=_0x549b;super(),this[_0x43c7b8(0xd8)]=_0x41ab5e,this[_0x43c7b8(0xde)]=_0x268641,this[_0x43c7b8(0xfe)]=_0x96fe8c,this[_0x43c7b8(0xe3)]=_0x3ad390,this[_0x43c7b8(0xe9)]=_0x3ad390[_0x43c7b8(0xf5)][_0x43c7b8(0xf3)](_0x43c7b8(0xfd)),this[_0x43c7b8(0xf0)]=_0x3ad390[_0x43c7b8(0xf5)][_0x43c7b8(0xf3)](_0x43c7b8(0xf7)),this[_0x43c7b8(0xde)][_0x43c7b8(0xdb)](_0x43c7b8(0xfa))['to'](this[_0x43c7b8(0xe9)],this[_0x43c7b8(0xf0)],(_0x4db081,_0x421e26)=>_0x4db081||_0x421e26),this[_0x43c7b8(0xde)][_0x43c7b8(0xdb)](_0x43c7b8(0xdf))['to'](this[_0x43c7b8(0xe9)],_0x43c7b8(0xfa),_0x5a670b=>_0x5a670b&&this[_0x43c7b8(0xe3)][_0x43c7b8(0xd8)][_0x43c7b8(0xed)](_0x41ab5e[_0x43c7b8(0xda)]())),this[_0x43c7b8(0xde)][_0x43c7b8(0xdb)](_0x43c7b8(0xf1))['to'](this[_0x43c7b8(0xf0)],_0x43c7b8(0xfa),_0x54e40c=>_0x54e40c&&this[_0x43c7b8(0xe3)][_0x43c7b8(0xd8)][_0x43c7b8(0xed)](_0x41ab5e[_0x43c7b8(0xda)]())),this[_0x43c7b8(0xd7)]=null,_0x268641[_0x43c7b8(0xe5)]&&this[_0x43c7b8(0xea)](),this[_0x43c7b8(0xe7)](_0x268641,_0x43c7b8(0xfd),()=>this[_0x43c7b8(0xfd)]()),this[_0x43c7b8(0xe7)](_0x268641,_0x43c7b8(0xf7),()=>this[_0x43c7b8(0xf7)]()),this[_0x43c7b8(0xe7)](_0x268641,_0x43c7b8(0xe8),()=>{const _0x15e9fa=_0x43c7b8;_0x268641[_0x15e9fa(0xe5)]?this[_0x15e9fa(0xea)]():this[_0x15e9fa(0xfc)]();});}[_0x55464d(0xfd)](){const _0x13f02a=_0x55464d;this[_0x13f02a(0xe9)][_0x13f02a(0xf9)](this[_0x13f02a(0xd8)]['id']);}[_0x55464d(0xf7)](){const _0x2cbd08=_0x55464d;this[_0x2cbd08(0xf0)][_0x2cbd08(0xf9)](this[_0x2cbd08(0xd8)]['id']);}[_0x55464d(0xfb)](){const _0x5c69b6=_0x55464d;this[_0x5c69b6(0xde)][_0x5c69b6(0xe1)](_0x5c69b6(0xfa)),this[_0x5c69b6(0xde)][_0x5c69b6(0xe1)](_0x5c69b6(0xdf)),this[_0x5c69b6(0xde)][_0x5c69b6(0xe1)](_0x5c69b6(0xf1)),this[_0x5c69b6(0xe6)](),this[_0x5c69b6(0xfe)][_0x5c69b6(0xfb)](),this[_0x5c69b6(0xd7)]&&this[_0x5c69b6(0xfc)]();}[_0x55464d(0xea)](){const _0x37d122=_0x55464d,_0x46ea39=_0x3a54bf(this[_0x37d122(0xe3)][_0x37d122(0xe4)],_0x37d122(0xd6));this[_0x37d122(0xd7)]=this[_0x37d122(0xe3)][_0x37d122(0xd9)][_0x37d122(0xf3)](_0x37d122(0xee))[_0x37d122(0xf8)](_0x46ea39);}[_0x55464d(0xfc)](){const _0x4c5240=_0x55464d;null!==this[_0x4c5240(0xd7)]&&this[_0x4c5240(0xe3)][_0x4c5240(0xd9)][_0x4c5240(0xf3)](_0x4c5240(0xee))[_0x4c5240(0xdd)](this[_0x4c5240(0xd7)]),this[_0x4c5240(0xd7)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1859(_0xe45c9d,_0x3d42f3){const _0x1e937f=_0x1e93();return _0x1859=function(_0x1859f1,_0x3f73da){_0x1859f1=_0x1859f1-0x1a3;let _0x496c84=_0x1e937f[_0x1859f1];return _0x496c84;},_0x1859(_0xe45c9d,_0x3d42f3);}function _0x1e93(){const _0x3ecb1a=['146792hxftXD','_createCommentViews','canDiscard','232992AAuZnD','commentThreadInputView','addComment','185XfNUzj','length','isReadOnly','isEnabled','element','isDirty','setData','removeComment','isActive','17896879JkrOle','value','890ThDDGc','disabledSubmit','authoredAt','focus','descriptionParts','assign','hasDirtyComment','_createCommentThreadInputView','cancel','submit','commentThread','disableComments','editor','editorConfig','100tKcACy','329YAwFwv','updateComment','291987GPmULL','4299RtSkLz','locale','commentsListView','1563279HEskuB','bind','showInput','CommentView','canAccept','146652dXYUGu','destroy','_localUser','set','_config','_model','commentInputView','delegate','fire'];_0x1e93=function(){return _0x3ecb1a;};return _0x1e93();}const _0x24a91a=_0x1859;(function(_0xb54f8e,_0x2672b8){const _0x55a6cd=_0x1859,_0x530152=_0xb54f8e();while(!![]){try{const _0x2d9c45=parseInt(_0x55a6cd(0x1c0))/0x1+-parseInt(_0x55a6cd(0x1ab))/0x2*(-parseInt(_0x55a6cd(0x1bd))/0x3)+parseInt(_0x55a6cd(0x1d1))/0x4+-parseInt(_0x55a6cd(0x1d4))/0x5*(-parseInt(_0x55a6cd(0x1c5))/0x6)+-parseInt(_0x55a6cd(0x1ba))/0x7*(parseInt(_0x55a6cd(0x1ce))/0x8)+-parseInt(_0x55a6cd(0x1bc))/0x9*(-parseInt(_0x55a6cd(0x1b9))/0xa)+-parseInt(_0x55a6cd(0x1a9))/0xb;if(_0x2d9c45===_0x2672b8)break;else _0x530152['push'](_0x530152['shift']());}catch(_0x37e5e0){_0x530152['push'](_0x530152['shift']());}}}(_0x1e93,0xf3ccc));import{View as _0x53f081}from'ckeditor5/src/ui.js';export default class es extends _0x53f081{constructor(_0x18a99c,_0x19a15f,_0xcf5ccc,_0x49f5b1){const _0x3faaab=_0x1859;super(_0x18a99c),this[_0x3faaab(0x1bf)]=null,this[_0x3faaab(0x1d2)]=null,this[_0x3faaab(0x1c8)](_0x3faaab(0x1a8),!0x1),this[_0x3faaab(0x1c8)](_0x3faaab(0x1ad),_0x19a15f[_0x3faaab(0x1ad)]),this[_0x3faaab(0x1c1)](_0x3faaab(0x1ad))['to'](_0x19a15f),this[_0x3faaab(0x1c8)](_0x3faaab(0x1af),[]),this[_0x3faaab(0x1c8)](_0x3faaab(0x1a5),!0x1),this[_0x3faaab(0x1c8)](_0x3faaab(0x1a3),!0x1),this[_0x3faaab(0x1c8)](_0x3faaab(0x1c4),!0x1),this[_0x3faaab(0x1c8)](_0x3faaab(0x1d0),!0x1),this[_0x3faaab(0x1ca)]=_0x19a15f,this[_0x3faaab(0x1c7)]=_0xcf5ccc,this[_0x3faaab(0x1c9)]=_0x49f5b1,_0x49f5b1[_0x3faaab(0x1b6)]?this[_0x3faaab(0x1c8)](_0x3faaab(0x1d5),0x1):this[_0x3faaab(0x1cf)]();}[_0x24a91a(0x1ae)](){const _0x370896=_0x24a91a;this[_0x370896(0x1a4)][_0x370896(0x1ae)]();}[_0x24a91a(0x1c6)](){const _0x3cc4bf=_0x24a91a;this[_0x3cc4bf(0x1bf)]&&this[_0x3cc4bf(0x1bf)][_0x3cc4bf(0x1c6)](),this[_0x3cc4bf(0x1d2)]&&this[_0x3cc4bf(0x1d2)][_0x3cc4bf(0x1c6)](),super[_0x3cc4bf(0x1c6)]();}[_0x24a91a(0x1cf)](){const _0x5c33d3=_0x24a91a,{CommentsListView:_0x46037f}=this[_0x5c33d3(0x1c9)];this[_0x5c33d3(0x1bf)]=new _0x46037f(this[_0x5c33d3(0x1be)],this[_0x5c33d3(0x1ca)][_0x5c33d3(0x1b5)],Object[_0x5c33d3(0x1b0)]({'CommentView':this[_0x5c33d3(0x1c9)][_0x5c33d3(0x1c3)]},this[_0x5c33d3(0x1c9)])),this[_0x5c33d3(0x1bf)][_0x5c33d3(0x1cc)](_0x5c33d3(0x1a7))['to'](this),this[_0x5c33d3(0x1bf)][_0x5c33d3(0x1cc)](_0x5c33d3(0x1bb))['to'](this),this[_0x5c33d3(0x1bf)][_0x5c33d3(0x1c1)](_0x5c33d3(0x1a8))['to'](this),this[_0x5c33d3(0x1c8)](_0x5c33d3(0x1d5),this[_0x5c33d3(0x1bf)][_0x5c33d3(0x1d5)]+0x1),this[_0x5c33d3(0x1c1)](_0x5c33d3(0x1d5))['to'](this[_0x5c33d3(0x1bf)],_0x5c33d3(0x1d5),_0x5c8e2a=>_0x5c8e2a+0x1),this[_0x5c33d3(0x1d2)]=this[_0x5c33d3(0x1b2)](),this['on'](_0x5c33d3(0x1a7),()=>this[_0x5c33d3(0x1ae)]()),this[_0x5c33d3(0x1c1)](_0x5c33d3(0x1a5))['to'](this[_0x5c33d3(0x1bf)],_0x5c33d3(0x1b1),this[_0x5c33d3(0x1d2)][_0x5c33d3(0x1cb)],_0x5c33d3(0x1aa),(_0x11af14,_0x5bdcc2)=>_0x11af14||!!_0x5bdcc2);}[_0x24a91a(0x1b2)](){const _0x785493=_0x24a91a,{CommentThreadInputView:_0x3f7b94}=this[_0x785493(0x1c9)],_0xf3367e=new _0x3f7b94(this[_0x785493(0x1be)],this[_0x785493(0x1c7)],this[_0x785493(0x1c9)][_0x785493(0x1b8)]),_0x5457c0=_0xf3367e[_0x785493(0x1cb)];return _0xf3367e[_0x785493(0x1c1)](_0x785493(0x1c2))['to'](this,_0x785493(0x1a8),this[_0x785493(0x1ca)][_0x785493(0x1b5)],_0x785493(0x1d6),_0x5457c0,_0x785493(0x1aa),(_0x2d84a9,_0x4c8fda,_0x42a59d)=>!!_0x42a59d||_0x2d84a9&&!_0x4c8fda),_0x5457c0['on'](_0x785493(0x1b4),(_0x47a1c3,_0x729de)=>{const _0x26e738=_0x785493;this[_0x26e738(0x1cd)](_0x26e738(0x1d3),_0x729de),_0x5457c0[_0x26e738(0x1b7)][_0x26e738(0x1a6)]('');}),_0x5457c0['on'](_0x785493(0x1b3),()=>this[_0x785493(0x1ae)]()),_0x5457c0[_0x785493(0x1c1)](_0x785493(0x1ac))['to'](this[_0x785493(0x1ca)][_0x785493(0x1b5)],_0x785493(0x1d6)),_0xf3367e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x444079=_0x2ec7;function _0xe0db(){const _0x1ce59c=['source','ck-suggestion__main','4650UjuKbX','385VrpiJG','ck-suggestion-','canDiscard','editorDestroyed','</span>','ck-comment__info-time','ck-suggestion__info-name','ck-suggestion__user','getUserViewNotificationText','ck-annotation__main','Accept\x20suggestion','querySelector','ck-annotation__user','1095572asjxEJ','div','acceptSuggestion','ck-suggestion--accept','element','locale','.ck-annotation__content-wrapper','join','content','authoredAt','_model','innerHTML','fire','EXTERNAL_AVATAR','<p>','ck-annotation__info-time','execute','discardSuggestion','commentThread','change:description','innerText','1hzpIhR','550642aItBFz','bind','@external','attributes','disableComments','canAccept','acceptButton','type','importWord','1303263szyzDw','formatDateTime','ck-suggestion__info','description','extendTemplate','author','name','\x22\x20title=\x22','EXTERNAL_SUGGESTION','ck-annotation__info','isEnabled','531344HpczjI','1197765jQjvMR','ck-annotation__content-wrapper','commentThreadInputView','creator','delegate','cancel','getTemplate','ck-suggestion-wrapper--active','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createElement','ck-comment__external','\x22></span>','span','render','title','check','ck-suggestion','discardButton','getExternalSuggestionNote','EXTERNAL_IMPORT_WORD_SUGGESTION','value','_config','map','isExternal','<span\x20class=\x22ck-suggestion-type\x22>','set','ck-suggestion-wrapper','Discard\x20suggestion','children','ck-suggestion--disabled-comments','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__actions','_descriptionElement','ck-suggestion__actions','push','ck-suggestion--discard','editorReady','</p>','bindTemplate','commentsListView','_createButton','ck-annotation','397584nJGczz','isActive','descriptionParts','time','color','split','userView','ck-annotation__info-name'];_0xe0db=function(){return _0x1ce59c;};return _0xe0db();}(function(_0x3ba2bf,_0x24b8d0){const _0x1853df=_0x2ec7,_0x2e3ead=_0x3ba2bf();while(!![]){try{const _0x1fcb13=-parseInt(_0x1853df(0xf5))/0x1*(-parseInt(_0x1853df(0xf6))/0x2)+parseInt(_0x1853df(0xc8))/0x3+-parseInt(_0x1853df(0xe0))/0x4+-parseInt(_0x1853df(0x10b))/0x5+-parseInt(_0x1853df(0xd2))/0x6*(-parseInt(_0x1853df(0xd3))/0x7)+parseInt(_0x1853df(0x10a))/0x8+parseInt(_0x1853df(0xff))/0x9;if(_0x1fcb13===_0x24b8d0)break;else _0x2e3ead['push'](_0x2e3ead['shift']());}catch(_0xf7f8fd){_0x2e3ead['push'](_0x2e3ead['shift']());}}}(_0xe0db,0x2431d));import{getTranslation as _0x31929a}from'../../utils/common-translations.js';import{default as _0x61902}from'./basesuggestionthreadview.js';function _0x2ec7(_0x2d5cc1,_0x495f4f){const _0xe0db7c=_0xe0db();return _0x2ec7=function(_0x2ec7c5,_0x1ba6f7){_0x2ec7c5=_0x2ec7c5-0xc4;let _0x51795f=_0xe0db7c[_0x2ec7c5];return _0x51795f;},_0x2ec7(_0x2d5cc1,_0x495f4f);}import{ButtonView as _0x8514c7}from'ckeditor5/src/ui.js';import{icons as _0x514d34}from'ckeditor5/src/core.js';import{trimHtml as _0x1e44ca,UserView as _0x277be6}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x61902{constructor(_0x23ec98,_0x515bd5,_0x40fee2,_0x4314fc){const _0x57cb82=_0x2ec7;super(_0x23ec98,_0x515bd5,_0x40fee2,_0x4314fc),this[_0x57cb82(0x124)](_0x57cb82(0xfd),''),this[_0x57cb82(0xf7)](_0x57cb82(0xfd))['to'](this,_0x57cb82(0xca),_0x20e29b=>_0x20e29b&&_0x20e29b[0x0]?_0x20e29b[0x0][_0x57cb82(0xfd)]:''),this[_0x57cb82(0xf7)](_0x57cb82(0x102))['to'](this,_0x57cb82(0xca),this,_0x57cb82(0xc9),(_0x1b90df,_0x38f8bc)=>{const _0xf10cdf=_0x57cb82;let _0x5e3a8d='';for(const _0x4f40ab of _0x1b90df)_0x5e3a8d+=_0xf10cdf(0xee)+ds(_0x4f40ab[_0xf10cdf(0xe8)],_0x4f40ab[_0xf10cdf(0xcc)])+_0xf10cdf(0x131);return _0x38f8bc?_0x5e3a8d:_0x1e44ca(_0x5e3a8d,{'limit':0x8c});}),this[_0x57cb82(0x12c)]=null,this[_0x57cb82(0xfc)]=this[_0x57cb82(0xc6)](_0x31929a(_0x23ec98,_0x57cb82(0xdd)),_0x514d34[_0x57cb82(0x11a)],_0x57cb82(0xe3),_0x57cb82(0xe2),'sw'),this[_0x57cb82(0xfc)][_0x57cb82(0xf7)](_0x57cb82(0x109))['to'](this,_0x57cb82(0xfb)),this[_0x57cb82(0x11c)]=this[_0x57cb82(0xc6)](_0x31929a(_0x23ec98,_0x57cb82(0x126)),_0x514d34[_0x57cb82(0x110)],_0x57cb82(0x12f),_0x57cb82(0xf1),'sw'),this[_0x57cb82(0x11c)][_0x57cb82(0xf7)](_0x57cb82(0x109))['to'](this,_0x57cb82(0xd5)),this[_0x57cb82(0xce)]=new _0x277be6(_0x23ec98,this[_0x57cb82(0xea)][_0x57cb82(0x104)],this[_0x57cb82(0xdb)]()),this[_0x57cb82(0xce)][_0x57cb82(0x103)]({'attributes':{'class':[_0x57cb82(0xda),_0x57cb82(0xdf)]}}),this[_0x57cb82(0x129)](this[_0x57cb82(0x111)]());}[_0x444079(0x111)](){const _0x62b8a4=_0x444079,_0x4daf40=this[_0x62b8a4(0xc4)],_0x38d5c5=[{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x101),_0x62b8a4(0x108)]},'children':[{'tag':_0x62b8a4(0x117),'children':[{'text':this[_0x62b8a4(0xce)][_0x62b8a4(0x105)]}],'attributes':{'class':[_0x62b8a4(0xd9),_0x62b8a4(0xcf)]}},{'tag':_0x62b8a4(0xcb),'attributes':{'datetime':_0x4daf40['to'](_0x62b8a4(0xe9)),'class':[_0x62b8a4(0xd8),_0x62b8a4(0xef)]},'children':[{'text':_0x4daf40['to'](_0x62b8a4(0xe9),_0x4ad470=>this[_0x62b8a4(0x120)][_0x62b8a4(0x100)](_0x4ad470))}]}]},{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x12d),_0x62b8a4(0x12b)]},'children':[this[_0x62b8a4(0xfc)],this[_0x62b8a4(0x11c)]]},{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x10c)]}}];this[_0x62b8a4(0xea)][_0x62b8a4(0x122)]&&_0x38d5c5[_0x62b8a4(0x12e)]({'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x115)]},'children':[{'text':this[_0x62b8a4(0x11d)]()}]});const _0x831462={'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x125),_0x4daf40['if'](_0x62b8a4(0xc9),_0x62b8a4(0x112)),_0x4daf40['to'](_0x62b8a4(0xfd),_0x4cc250=>_0x62b8a4(0xd4)+_0x4cc250),this[_0x62b8a4(0x120)][_0x62b8a4(0xfa)]&&_0x62b8a4(0x128)],'data-suggestion-id':this[_0x62b8a4(0xea)]['id'],'data-thread-id':this[_0x62b8a4(0xea)][_0x62b8a4(0xf2)]['id'],'data-author-id':this[_0x62b8a4(0xea)][_0x62b8a4(0x104)]['id'],'tabindex':-0x1},'children':[{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0x11b),_0x62b8a4(0xc7)]},'children':[this[_0x62b8a4(0xce)],{'tag':_0x62b8a4(0xe1),'attributes':{'class':[_0x62b8a4(0xd1),_0x62b8a4(0xdc)]},'children':_0x38d5c5}]}]};return this[_0x62b8a4(0xc5)]&&this[_0x62b8a4(0x10d)]&&(_0x831462[_0x62b8a4(0x127)][_0x62b8a4(0x12e)](this[_0x62b8a4(0xc5)],this[_0x62b8a4(0x10d)]),this[_0x62b8a4(0xc5)][_0x62b8a4(0x10f)](_0x62b8a4(0x130))['to'](this),this[_0x62b8a4(0xc5)][_0x62b8a4(0x10f)](_0x62b8a4(0xd6))['to'](this),this[_0x62b8a4(0x10d)][_0x62b8a4(0x10f)](_0x62b8a4(0x130))['to'](this),this[_0x62b8a4(0x10d)][_0x62b8a4(0x10f)](_0x62b8a4(0xd6))['to'](this)),_0x831462;}[_0x444079(0x118)](){const _0x4629c5=_0x444079;super[_0x4629c5(0x118)](),this[_0x4629c5(0x12c)]=this[_0x4629c5(0xe4)][_0x4629c5(0xde)](_0x4629c5(0xe6)),this[_0x4629c5(0x12c)][_0x4629c5(0xeb)]=this[_0x4629c5(0x102)],this['on'](_0x4629c5(0xf3),(_0x83b80c,_0x4038b9,_0x517f5d)=>{const _0x2bb113=_0x4629c5;this[_0x2bb113(0x12c)][_0x2bb113(0xeb)]=_0x517f5d;});}[_0x444079(0xc6)](_0x33fdfe,_0x542fb6,_0x2a8216,_0x23bcdd,_0x536767){const _0x11d9e4=_0x444079,_0x1aba09=new _0x8514c7(this[_0x11d9e4(0xe5)]);return _0x1aba09[_0x11d9e4(0x124)]({'label':_0x33fdfe,'icon':_0x542fb6,'tooltip':!0x0,'tooltipPosition':_0x536767}),_0x1aba09[_0x11d9e4(0x103)]({'attributes':{'class':_0x2a8216}}),_0x1aba09['on'](_0x11d9e4(0xf0),()=>{const _0x469f71=_0x11d9e4;this[_0x469f71(0xec)](_0x23bcdd,this[_0x469f71(0xea)]['id']);}),_0x1aba09;}[_0x444079(0x11d)](){const _0x452bb2=_0x444079;return _0x452bb2(0xfe)===this[_0x452bb2(0xea)][_0x452bb2(0xf9)][_0x452bb2(0xf8)][_0x452bb2(0xd0)]?_0x31929a(this[_0x452bb2(0xe5)],_0x452bb2(0x11e)):_0x31929a(this[_0x452bb2(0xe5)],_0x452bb2(0x107));}[_0x444079(0xdb)](){const _0x12fd4b=_0x444079;return this[_0x12fd4b(0xea)][_0x12fd4b(0x122)]?_0x12fd4b(0xfe)===this[_0x12fd4b(0xea)][_0x12fd4b(0xf9)][_0x12fd4b(0xf8)][_0x12fd4b(0xd0)]?_0x31929a(this[_0x12fd4b(0xe5)],_0x12fd4b(0x12a),this[_0x12fd4b(0xea)][_0x12fd4b(0x10e)][_0x12fd4b(0x105)]):_0x31929a(this[_0x12fd4b(0xe5)],_0x12fd4b(0xed),this[_0x12fd4b(0xea)][_0x12fd4b(0x10e)][_0x12fd4b(0x105)]):null;}}function ds(_0xaa56a1,_0x2a2844){const _0x65c98=_0x444079;let _0x22bffc='';return _0x22bffc+=_0xaa56a1[_0x65c98(0xcd)]('*')[_0x65c98(0x121)]((_0x1f74e9,_0x428888)=>_0x428888%0x2!=0x0?_0x65c98(0x123)+us(_0x1f74e9)+_0x65c98(0xd7):us(_0x1f74e9))[_0x65c98(0xe7)](''),_0x2a2844&&(_0x22bffc+=_0x65c98(0x113)+_0x2a2844[_0x65c98(0x11f)]+_0x65c98(0x106)+_0x2a2844[_0x65c98(0x119)]+_0x65c98(0x116)),_0x22bffc;}function us(_0x7b1333){const _0x45e3af=_0x444079,_0x1b2962=document[_0x45e3af(0x114)](_0x45e3af(0x117));return _0x1b2962[_0x45e3af(0xf4)]=_0x7b1333,_0x1b2962[_0x45e3af(0xeb)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x42334d,_0x278f67,_0x1611bc){const t=_0x42334d['t'];switch(_0x278f67){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',_0x1611bc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1611bc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1611bc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1611bc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1611bc);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',_0x1611bc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1611bc);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',_0x1611bc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1611bc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1611bc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1611bc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1611bc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1611bc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1611bc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1611bc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1611bc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1611bc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1611bc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1611bc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1611bc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1611bc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1611bc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1611bc);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'},_0x1611bc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1611bc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1611bc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1611bc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1611bc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1611bc);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'},_0x1611bc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1611bc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1611bc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1611bc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1611bc);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1611bc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1611bc);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'},_0x1611bc);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'},_0x1611bc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1611bc);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'},_0x1611bc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1611bc);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'},_0x1611bc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1611bc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1611bc);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'},_0x1611bc);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'},_0x1611bc);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 _0x278f67;}}
|
|
23
|
+
export function getTranslation(_0x5a901f,_0x2e6e2d,_0x4c2f0d){const t=_0x5a901f['t'];switch(_0x2e6e2d){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',_0x4c2f0d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4c2f0d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4c2f0d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4c2f0d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4c2f0d);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',_0x4c2f0d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4c2f0d);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',_0x4c2f0d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4c2f0d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4c2f0d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4c2f0d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4c2f0d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4c2f0d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4c2f0d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4c2f0d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4c2f0d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4c2f0d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4c2f0d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4c2f0d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4c2f0d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4c2f0d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4c2f0d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4c2f0d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4c2f0d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4c2f0d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4c2f0d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4c2f0d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4c2f0d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4c2f0d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4c2f0d);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x4c2f0d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4c2f0d);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'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4c2f0d);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'},_0x4c2f0d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4c2f0d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4c2f0d);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'},_0x4c2f0d);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'},_0x4c2f0d);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 _0x2e6e2d;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x566a39,_0x4ab189){const _0x4d060e=_0x2851,_0x3bf8c2=_0x566a39();while(!![]){try{const _0x2b6d1f=parseInt(_0x4d060e(0xe0))/0x1*(parseInt(_0x4d060e(0xde))/0x2)+parseInt(_0x4d060e(0xef))/0x3*(-parseInt(_0x4d060e(0xf8))/0x4)+-parseInt(_0x4d060e(0xea))/0x5+parseInt(_0x4d060e(0xfc))/0x6*(-parseInt(_0x4d060e(0xe2))/0x7)+-parseInt(_0x4d060e(0x102))/0x8+-parseInt(_0x4d060e(0xdf))/0x9+-parseInt(_0x4d060e(0xf6))/0xa*(-parseInt(_0x4d060e(0xff))/0xb);if(_0x2b6d1f===_0x4ab189)break;else _0x3bf8c2['push'](_0x3bf8c2['shift']());}catch(_0x3b11b1){_0x3bf8c2['push'](_0x3bf8c2['shift']());}}}(_0x30b7,0x3544f));export function normalizeDescription(_0x4f9c47){const _0x32e3fd=_0x2851;return Array[_0x32e3fd(0xfa)](_0x4f9c47)||(_0x4f9c47=[_0x4f9c47]),_0x4f9c47[_0x32e3fd(0xdc)](_0xa48937=>{const _0x47a694=_0x32e3fd,_0x40afb4=_0xa48937[_0x47a694(0xe1)][_0x47a694(0xfd)](/\*/g,''),_0x4f47c8=_0xa48937[_0x47a694(0xe6)]?_0x47a694(0xf3)+_0xa48937[_0x47a694(0xe6)][_0x47a694(0xf0)]+']':'';return'['+_0xa48937[_0x47a694(0xfe)]+']\x20'+_0x40afb4+_0x4f47c8;})[_0x32e3fd(0xe5)](';\x20');}function _0x2851(_0x5db8b3,_0x415286){const _0x30b7f7=_0x30b7();return _0x2851=function(_0x285154,_0x5357aa){_0x285154=_0x285154-0xdc;let _0x2eacb8=_0x30b7f7[_0x285154];return _0x2eacb8;},_0x2851(_0x5db8b3,_0x415286);}export function sortSuggestions(_0x520c3f){const _0x51ef1c=_0x2851;return _0x520c3f[_0x51ef1c(0xee)]((_0x2f68bc,_0x1ea4b5)=>_0x51ef1c(0xeb)==_0x2f68bc[_0x51ef1c(0xfe)]&&_0x51ef1c(0xeb)!=_0x1ea4b5[_0x51ef1c(0xfe)]?-0x1:_0x51ef1c(0xeb)!=_0x2f68bc[_0x51ef1c(0xfe)]&&_0x51ef1c(0xeb)==_0x1ea4b5[_0x51ef1c(0xfe)]?0x1:0x0);}export function getSelectedSuggestions(_0x472da3,_0xbe5eb6){const _0x5b37f4=_0x2851,_0x5c90bb=Array[_0x5b37f4(0x101)](_0x472da3[_0x5b37f4(0xe4)]()),_0x5489df=new Set();for(const _0x168dcf of _0xbe5eb6)if(_0x168dcf[_0x5b37f4(0xf1)]){for(const _0x1f4d04 of _0x5c90bb)for(const _0x42b7bc of _0x168dcf[_0x5b37f4(0xe4)]())(_0x1f4d04[_0x5b37f4(0xed)](_0x42b7bc)||_0x472da3[_0x5b37f4(0xdd)]&&!_0x168dcf[_0x5b37f4(0x107)]&&_0x168dcf[_0x5b37f4(0x103)]&&_0x42b7bc[_0x5b37f4(0x104)][_0x5b37f4(0xfb)](_0x1f4d04[_0x5b37f4(0x100)]))&&_0x5489df[_0x5b37f4(0xe9)](_0x168dcf);}return _0x5489df;}export function getRangesOfBlockGroups(_0x4130fa,_0x103685){const _0x51d56d=_0x2851;let _0x85e610,_0x5ab20f=0x0;const _0x423c79=[],_0x2c5ffb=_0x103685[_0x51d56d(0xf2)];for(;_0x5ab20f<_0x4130fa[_0x51d56d(0xe8)];){const _0x40a380=_0x4130fa[_0x5ab20f],_0xfed729=_0x4130fa[_0x5ab20f+0x1];_0x85e610||(_0x85e610=_0x103685[_0x51d56d(0xf9)](_0x40a380)),co(_0x103685,_0x40a380,_0xfed729)||(_0x423c79[_0x51d56d(0xe7)](_0x103685[_0x51d56d(0x106)](_0x85e610,_0x2c5ffb[_0x51d56d(0xe3)](_0x40a380)?_0x103685[_0x51d56d(0xf7)](_0x40a380):_0x103685[_0x51d56d(0xec)](_0x40a380,_0x51d56d(0x104)))),_0x85e610=null),_0x5ab20f++;}return _0x423c79;}function co(_0x16bc60,_0x573b43,_0x12d82a){const _0x57f799=_0x2851;if(!_0x12d82a)return!0x1;const _0x470ddd=_0x16bc60[_0x57f799(0xf7)](_0x573b43),_0x17a7e0=_0x16bc60[_0x57f799(0xf9)](_0x12d82a);return _0x470ddd[_0x57f799(0xfb)](_0x17a7e0);}function _0x30b7(){const _0x4c97e2=['next','end','change','createRange','isMultiRange','map','isCollapsed','8100xTOsvv','1491750jeyeNl','76mMOtlb','content','770yVaOTZ','isObject','getRanges','join','color','push','length','add','1257630AFUPFt','deletion','createPositionAt','isIntersecting','sort','336615wUCroJ','value','isInContent','schema','\x20[color\x20','execute','splice','3260Fywjnf','createPositionAfter','8zrhQtZ','createPositionBefore','isArray','isTouching','10758YYCFjr','replace','type','28237roKqtn','start','from','700280vJvxMg'];_0x30b7=function(){return _0x4c97e2;};return _0x30b7();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1332ad,_0x169c99,_0x571198){const _0x1c1bd0=_0x2851;for(;_0x571198[_0x1c1bd0(0xe8)];){const _0x1895a1=_0x571198[_0x1c1bd0(0xf5)](0x0,0x64);_0x1332ad[_0x1c1bd0(0x105)](()=>{const _0x1bd276=_0x1c1bd0;for(const _0x15dbb6 of _0x1895a1)_0x15dbb6[_0x1bd276(0xf1)]&&_0x169c99[_0x1bd276(0xf4)](_0x15dbb6['id']);});}}
|