@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20241016.0 → 0.0.0-nightly-20241018.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/integrations/tableproperties.d.ts +8 -0
- package/dist/trackchanges.d.ts +8 -0
- package/dist/trackchangesdata.d.ts +8 -0
- package/dist/trackchangesediting.d.ts +8 -0
- package/dist/trackchangesui.d.ts +8 -0
- 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 +10 -10
- 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/mergefields.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.d.ts +8 -0
- 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.d.ts +8 -0
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.d.ts +8 -0
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +8 -0
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.d.ts +8 -0
- 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/ui/view/suggestionview.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 _0x10d19a=_0x2e70;function _0x3c53(){const _0x4a75ed=['_annotationViews','fire','type','_unbindEditors','CommentsUI','933894ZZZmqM','remove','_createMenuBarMenu','488988pqbzgC','Discard\x20all\x20suggestions','menuitem','init','previous','clear','_destroyController','comments.editorConfig','_bindAnnotationToEditors','isEnabled','100yCXrSM','panelView','head','menu','trackChanges','trackChanges.disableComments','4522920XLnMWL','getDescriptions','isOn','suggestion-','descriptionFactory','19089HBxygJ','commentsListView','commentThread','createAnnotationView','trackChanges.SuggestionView','comments.maxCommentCharsWhenCollapsed','commandName','from','some','focus','activeMarkers','SuggestionThreadView','SuggestionView','values','descriptionParts','addSourceCollector','_handleControllerBuffer','getAllAdjacentSuggestions','hasSuggestion','registerAnnotation','discardAllSuggestions','suggestionChanged','add','delegate','_refreshActiveMarkers','model','430sTvwSN','toMany','editor','requires','createAnnotation','_handleSuggestionControllerDelayed','CommentView','2nuhswn','length','items','activeAnnotations','componentFactory','_createToolbarButton','commands','destroy','comments.maxThreadTotalWeight','TrackChangesEditing','escape','source','getByInnerView','children','suggestionView','trackChanges.SuggestionThreadView','getMarkerNames','5488384oYcVUY','reduce','menuitemcheckbox','actionView','suggestionLoaded','set','isDirty','getRanges','execute','mainView','isMultiRange','bind','locale','_disableComments','Accept\x20all\x20suggestions','separator','getJoined','push','Discard\x20all\x20selected\x20suggestions','editing','pluginName','plugins','define','TrackChangesUI','getMarkers','delete','comments.maxCommentsWhenCollapsed','button','9192awMdZx','CommentsRepository','143390fOJzqv','lowest','_updateController','change:activeAnnotations','filter','buttonView','_viewToController','Accept\x20all\x20selected\x20suggestions','_suggestionToController','_initializeController','innerView','change:previous','EditorAnnotations','config','acceptAllSuggestions','addComment','arrowView','get','refreshSelectedViews','acceptButton','isInContent','Annotations','has','comments','discardButton','_addUIComponentsToFactory','unbind','createCommentThreadController','size','menuBar:trackChanges','6DTvVTf','stopListening','acceptSelectedSuggestions','keys','value','view','getFirstRange','getSuggestion','discardSelectedSuggestions','switchbutton','suggestionUnloaded','Track\x20changes','listenTo'];_0x3c53=function(){return _0x4a75ed;};return _0x3c53();}(function(_0x4bbda4,_0xa7bc9e){const _0x39b08c=_0x2e70,_0x119350=_0x4bbda4();while(!![]){try{const _0x3bcd65=-parseInt(_0x39b08c(0x13a))/0x1*(parseInt(_0x39b08c(0x10b))/0x2)+-parseInt(_0x39b08c(0xd2))/0x3+-parseInt(_0x39b08c(0x138))/0x4*(-parseInt(_0x39b08c(0x104))/0x5)+-parseInt(_0x39b08c(0xc0))/0x6*(parseInt(_0x39b08c(0xea))/0x7)+parseInt(_0x39b08c(0xe5))/0x8+-parseInt(_0x39b08c(0xd5))/0x9*(-parseInt(_0x39b08c(0xdf))/0xa)+-parseInt(_0x39b08c(0x11c))/0xb;if(_0x3bcd65===_0xa7bc9e)break;else _0x119350['push'](_0x119350['shift']());}catch(_0x10b043){_0x119350['push'](_0x119350['shift']());}}}(_0x3c53,0x55702));import{Plugin as _0x7e4035}from'ckeditor5/src/core.js';import{Collection as _0x39b8c3}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x124b5e,createDropdown as _0x5604e7,ListSeparatorView as _0xf99e71,MenuBarMenuView as _0x2cfe13,MenuBarMenuListView as _0x5c9018,MenuBarMenuListItemView as _0x5ba33a,MenuBarMenuListItemButtonView as _0x3e7a06,SplitButtonView as _0x2ba346,ViewModel as _0x1c4ac9}from'ckeditor5/src/ui.js';import{Users as _0x10ca33,getDateTimeFormatter as _0x43d5c5,getAllMarkersDomElementsSorted as _0x2eecaf}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x20e9f9 from'./trackchangesediting.js';import _0x1b006f from'./ui/suggestioncontroller.js';import _0x3dbf2d from'./ui/view/suggestionthreadview.js';import _0x4d8f42 from'./ui/view/suggestionview.js';import{getTranslation as _0x5ed7aa}from'./utils/common-translations.js';import _0xd8129f from'../theme/icons/track-changes.svg';export default class d extends _0x7e4035{static get[_0x10d19a(0x107)](){const _0x2dd9b9=_0x10d19a;return[_0x20e9f9,_0x10ca33,_0x2dd9b9(0x139),_0x2dd9b9(0xb7),_0x2dd9b9(0x146)];}static get[_0x10d19a(0x130)](){const _0x42a8c5=_0x10d19a;return _0x42a8c5(0x133);}constructor(_0x52b63e){const _0x319bc7=_0x10d19a;super(_0x52b63e),this[_0x319bc7(0x142)]=new Map(),this[_0x319bc7(0x140)]=new Map(),this[_0x319bc7(0xcd)]=new Map(),this[_0x319bc7(0xfa)]=new Map();const _0x30a6b2=this[_0x319bc7(0x106)][_0x319bc7(0x147)];_0x30a6b2[_0x319bc7(0x132)](_0x319bc7(0x11a),_0x3dbf2d),_0x30a6b2[_0x319bc7(0x132)](_0x319bc7(0xee),_0x4d8f42),_0x30a6b2[_0x319bc7(0x132)](_0x319bc7(0xe4),!0x1),this[_0x319bc7(0x129)]=_0x30a6b2[_0x319bc7(0x14b)](_0x319bc7(0xe4));}[_0x10d19a(0x109)](_0x3afcda,_0x282565){const _0x32a456=_0x10d19a;0x0===this[_0x32a456(0xfa)][_0x32a456(0xbe)]&&setTimeout(()=>{const _0x167b67=_0x32a456;for(const [_0x41ad63,_0x122471]of this[_0x167b67(0xfa)]){const _0x2d144a=this[_0x167b67(0x142)][_0x167b67(0xb8)](_0x41ad63);_0x2d144a||_0x122471?_0x2d144a&&_0x122471&&this[_0x167b67(0xdb)](_0x41ad63):this[_0x167b67(0x143)](_0x41ad63);}this[_0x167b67(0xfa)][_0x167b67(0xda)](),this[_0x167b67(0x106)][_0x167b67(0x131)][_0x167b67(0x14b)](_0x167b67(0x146))[_0x167b67(0xb4)](),this[_0x167b67(0x102)]();},0xa),this[_0x32a456(0xfa)][_0x32a456(0x121)](_0x3afcda,_0x282565);}[_0x10d19a(0xd8)](){const _0x8dd8db=_0x10d19a,_0x442387=this[_0x8dd8db(0x106)],_0x43b65d=_0x442387[_0x8dd8db(0x131)][_0x8dd8db(0x14b)](_0x8dd8db(0x114)),_0x4b9816=_0x442387[_0x8dd8db(0x131)][_0x8dd8db(0x14b)](_0x8dd8db(0xb7)),_0x2d6dda=_0x442387[_0x8dd8db(0x131)][_0x8dd8db(0x14b)](_0x8dd8db(0x146)),_0x1fcad5=_0x442387[_0x8dd8db(0x131)][_0x8dd8db(0x14b)](_0x8dd8db(0x139));this[_0x8dd8db(0xbb)](),_0x2d6dda[_0x8dd8db(0xf9)](()=>{const _0x332585=_0x8dd8db,_0x269b21=[];for(const [_0x5c2a62,_0x529ad6]of Array[_0x332585(0xf1)](this[_0x332585(0x142)])){const _0x483a36=_0x5c2a62[_0x332585(0xfb)](),_0x378c2d=[];for(const _0x2df4c3 of _0x483a36){if(!_0x2df4c3[_0x332585(0xb6)])continue;if(_0x2df4c3[_0x332585(0x126)]){_0x378c2d[_0x332585(0x12d)](..._0x2df4c3[_0x332585(0x123)]());continue;}const _0x157131=_0x2df4c3[_0x332585(0xc6)]();if(_0x378c2d[_0x332585(0x10c)]>0x0){const _0x5d2f2e=_0x378c2d[0x0][_0x332585(0x12c)](_0x157131);if(_0x5d2f2e){_0x378c2d[0x0]=_0x5d2f2e;continue;}}_0x378c2d[_0x332585(0x12d)](_0x157131);}_0x269b21[_0x332585(0x12d)]([_0x529ad6[_0x332585(0xc5)],_0x378c2d]);}return _0x269b21;}),this[_0x8dd8db(0xcc)](_0x43b65d,_0x8dd8db(0x120),(_0x1799b5,_0x5ef371)=>{const _0x135322=_0x8dd8db;this[_0x135322(0xcc)](_0x5ef371,_0x135322(0x145),(_0x470d0b,_0x4b3c80,_0x5a29e8,_0x48a5fb)=>{const _0x3bd807=_0x135322;_0x5ef371[_0x3bd807(0xb6)]&&(null==_0x5a29e8?(this[_0x3bd807(0x13c)](_0x48a5fb[_0x3bd807(0xe1)]),this[_0x3bd807(0x109)](_0x5ef371,!0x1)):(this[_0x3bd807(0x13c)](_0x5a29e8[_0x3bd807(0xe1)]),null==_0x48a5fb&&this[_0x3bd807(0x109)](_0x5ef371,!0x0)));}),null!==_0x5ef371[_0x135322(0xd9)]?this[_0x135322(0x13c)](_0x5ef371[_0x135322(0xe1)]):this[_0x135322(0x109)](_0x5ef371,!0x1);}),this[_0x8dd8db(0xcc)](_0x43b65d,_0x8dd8db(0xca),(_0x2ce15e,_0x1fc10a,_0x313b18)=>{const _0x46e008=_0x8dd8db;this[_0x46e008(0xc1)](_0x1fc10a,_0x46e008(0x145)),this[_0x46e008(0xfa)][_0x46e008(0x135)](_0x1fc10a),this[_0x46e008(0x142)][_0x46e008(0xb8)](_0x1fc10a)&&this[_0x46e008(0xdb)](_0x1fc10a),_0x313b18&&this[_0x46e008(0x13c)](_0x313b18[_0x46e008(0xe1)]);}),this[_0x8dd8db(0xcc)](_0x43b65d,_0x8dd8db(0xff),(_0x3f8409,_0x452dc0)=>{const _0x429146=_0x8dd8db;this[_0x429146(0x13c)](_0x452dc0);}),this[_0x8dd8db(0xcc)](_0x4b9816,_0x8dd8db(0x13d),()=>{const _0x2f95f1=_0x8dd8db;this[_0x2f95f1(0x102)]();}),this[_0x8dd8db(0xcc)](_0x1fcad5,_0x8dd8db(0x149),(_0x841291,{threadId:_0x239d57,isFromAdapter:_0x2d4e15})=>{const _0x28d8dd=_0x8dd8db;if(_0x2d4e15||!_0x43b65d[_0x28d8dd(0xfc)](_0x239d57))return;const _0xf8cdd8=_0x43b65d[_0x28d8dd(0xc7)](_0x239d57);this[_0x28d8dd(0x142)][_0x28d8dd(0x14b)](_0xf8cdd8)[_0x28d8dd(0xc5)][_0x28d8dd(0xeb)][_0x28d8dd(0xf3)](-0x1);},{'priority':_0x8dd8db(0x13b)});}[_0x10d19a(0x102)](){const _0x3cffd1=_0x10d19a,_0x16150f=this[_0x3cffd1(0x106)][_0x3cffd1(0x131)][_0x3cffd1(0x14b)](_0x3cffd1(0xb7)),_0x8dc590=this[_0x3cffd1(0x106)][_0x3cffd1(0x131)][_0x3cffd1(0x14b)](_0x3cffd1(0x114)),_0x38c7a3=Array[_0x3cffd1(0xf1)](_0x16150f[_0x3cffd1(0x10e)],_0x2c9d3=>_0x2c9d3[_0x3cffd1(0x144)])[_0x3cffd1(0x13e)](_0x31ab0c=>this[_0x3cffd1(0x140)][_0x3cffd1(0xb8)](_0x31ab0c)),_0x2976df=[];for(const _0x209bc4 of _0x38c7a3){const _0x498134=this[_0x3cffd1(0x140)][_0x3cffd1(0x14b)](_0x209bc4)[_0x3cffd1(0x103)][_0x3cffd1(0xfb)]();_0x2976df[_0x3cffd1(0x12d)](..._0x498134[_0x3cffd1(0x11d)]((_0x11bbd7,_0x49082e)=>[..._0x11bbd7,..._0x49082e[_0x3cffd1(0x11b)]()],[]));}_0x8dc590[_0x3cffd1(0xf4)]=_0x2976df;}[_0x10d19a(0xbb)](){const _0x400fdc=_0x10d19a,_0x4e09ed=this[_0x400fdc(0x106)],_0x2ec806=_0x4e09ed[_0x400fdc(0x128)],_0x208cc8=_0x5ed7aa(_0x2ec806,_0x400fdc(0xcb)),_0x4d0b1c=new _0x39b8c3([{'type':_0x400fdc(0xc9),'model':new _0x1c4ac9({'withText':!0x0,'isToggleable':!0x0,'label':_0x208cc8,'commandName':_0x400fdc(0xe3),'role':_0x400fdc(0x11e)})},{'type':_0x400fdc(0x12b)},{'type':_0x400fdc(0x137),'model':new _0x1c4ac9({'withText':!0x0,'label':_0x5ed7aa(_0x2ec806,_0x400fdc(0x12a)),'commandName':_0x400fdc(0x148),'role':_0x400fdc(0xd7)})},{'type':_0x400fdc(0x137),'model':new _0x1c4ac9({'withText':!0x0,'label':_0x5ed7aa(_0x2ec806,_0x400fdc(0x141)),'commandName':_0x400fdc(0xc2),'role':_0x400fdc(0xd7)})},{'type':_0x400fdc(0x137),'model':new _0x1c4ac9({'withText':!0x0,'label':_0x5ed7aa(_0x2ec806,_0x400fdc(0xd6)),'commandName':_0x400fdc(0xfe),'role':_0x400fdc(0xd7)})},{'type':_0x400fdc(0x137),'model':new _0x1c4ac9({'withText':!0x0,'label':_0x5ed7aa(_0x2ec806,_0x400fdc(0x12e)),'commandName':_0x400fdc(0xc8),'role':_0x400fdc(0xd7)})}]);for(const _0x4b6c58 of _0x4d0b1c)if(me(_0x4b6c58)){const _0x380e6c=_0x4e09ed[_0x400fdc(0x111)][_0x400fdc(0x14b)](_0x4b6c58[_0x400fdc(0x103)][_0x400fdc(0xf0)]);_0x4b6c58[_0x400fdc(0x103)][_0x400fdc(0x127)](_0x400fdc(0xe7),_0x400fdc(0xde))['to'](_0x380e6c,_0x400fdc(0xc4),_0x400fdc(0xde));}_0x4e09ed['ui'][_0x400fdc(0x10f)][_0x400fdc(0x100)](_0x400fdc(0xe3),_0x1f91e8=>this[_0x400fdc(0x110)](_0x1f91e8,_0x4d0b1c,_0x208cc8)),_0x4e09ed['ui'][_0x400fdc(0x10f)][_0x400fdc(0x100)](_0x400fdc(0xbf),_0x20497c=>this[_0x400fdc(0xd4)](_0x20497c,_0x4d0b1c,_0x208cc8));}[_0x10d19a(0x110)](_0x59ef4f,_0x304f71,_0x33b868){const _0xd8b8b8=_0x10d19a,_0x3440cd=_0x5604e7(_0x59ef4f,_0x2ba346),_0x427278=this[_0xd8b8b8(0x106)][_0xd8b8b8(0x111)][_0xd8b8b8(0x14b)](_0xd8b8b8(0xe3));_0x3440cd[_0xd8b8b8(0x13f)][_0xd8b8b8(0x121)]({'tooltip':_0x33b868,'label':_0x33b868,'icon':_0xd8129f}),_0x3440cd[_0xd8b8b8(0x13f)][_0xd8b8b8(0x127)](_0xd8b8b8(0xe7))['to'](_0x427278,_0xd8b8b8(0xc4)),_0x3440cd[_0xd8b8b8(0x13f)]['on'](_0xd8b8b8(0x124),()=>{const _0x237ee3=_0xd8b8b8;_0x427278[_0x237ee3(0x124)](),this[_0x237ee3(0x106)][_0x237ee3(0x12f)][_0x237ee3(0xc5)][_0x237ee3(0xf3)]();}),_0x124b5e(_0x3440cd,_0x304f71,{'role':_0xd8b8b8(0xe2)});const _0x236f24=[];for(const _0x33b18e of _0x304f71)me(_0x33b18e)&&_0x236f24[_0xd8b8b8(0x12d)](this[_0xd8b8b8(0x106)][_0xd8b8b8(0x111)][_0xd8b8b8(0x14b)](_0x33b18e[_0xd8b8b8(0x103)][_0xd8b8b8(0xf0)]));const _0x137c55=_0x3440cd[_0xd8b8b8(0x13f)];return _0x137c55[_0xd8b8b8(0x11f)][_0xd8b8b8(0xbc)](_0xd8b8b8(0xde)),_0x137c55[_0xd8b8b8(0x14a)][_0xd8b8b8(0xbc)](_0xd8b8b8(0xde)),_0x137c55[_0xd8b8b8(0x11f)][_0xd8b8b8(0x127)](_0xd8b8b8(0xde))['to'](_0x427278,_0xd8b8b8(0xde)),_0x137c55[_0xd8b8b8(0x14a)][_0xd8b8b8(0x127)](_0xd8b8b8(0xde))[_0xd8b8b8(0x105)](_0x236f24,_0xd8b8b8(0xde),(..._0x4fadbc)=>_0x4fadbc[_0xd8b8b8(0xf2)](_0x395532=>_0x395532)),_0x3440cd['on'](_0xd8b8b8(0x124),_0x4e6aab=>{const _0x69e0cc=_0xd8b8b8;this[_0x69e0cc(0x106)][_0x69e0cc(0x124)](_0x4e6aab[_0x69e0cc(0x116)][_0x69e0cc(0xf0)]),this[_0x69e0cc(0x106)][_0x69e0cc(0x12f)][_0x69e0cc(0xc5)][_0x69e0cc(0xf3)]();}),_0x3440cd;}[_0x10d19a(0xd4)](_0x453518,_0x18a126,_0x384769){const _0x232215=_0x10d19a,_0x128c39=new _0x2cfe13(_0x453518),_0x43241b=this[_0x232215(0x106)][_0x232215(0x111)][_0x232215(0x14b)](_0x232215(0xe3));_0x128c39[_0x232215(0x13f)][_0x232215(0x121)]({'label':_0x384769,'icon':_0xd8129f});const _0x4a1a33=new _0x5c9018(_0x453518);for(const _0x3c0401 of _0x18a126){if(_0x232215(0x12b)==_0x3c0401[_0x232215(0xcf)]){_0x4a1a33[_0x232215(0x10d)][_0x232215(0x100)](new _0xf99e71(_0x453518));continue;}const _0x510a12=new _0x5ba33a(_0x453518,_0x128c39),_0x488576=new _0x3e7a06(_0x453518),_0x5e0e30=_0x3c0401[_0x232215(0x103)];_0x488576[_0x232215(0x127)](...Object[_0x232215(0xc3)](_0x5e0e30))['to'](_0x5e0e30),_0x488576[_0x232215(0x101)](_0x232215(0x124))['to'](_0x128c39),_0x488576['on'](_0x232215(0x124),()=>{const _0x4f8ee2=_0x232215;this[_0x4f8ee2(0x106)][_0x4f8ee2(0x124)](_0x5e0e30[_0x4f8ee2(0xf0)]),this[_0x4f8ee2(0x106)][_0x4f8ee2(0x12f)][_0x4f8ee2(0xc5)][_0x4f8ee2(0xf3)]();}),_0x510a12[_0x232215(0x118)][_0x232215(0x100)](_0x488576),_0x4a1a33[_0x232215(0x10d)][_0x232215(0x100)](_0x510a12);}return _0x128c39[_0x232215(0x127)](_0x232215(0xde))['to'](_0x43241b,_0x232215(0xde)),_0x128c39[_0x232215(0xe0)][_0x232215(0x118)][_0x232215(0x100)](_0x4a1a33),_0x128c39;}[_0x10d19a(0x143)](_0x5ecfb8){const _0x2efb6b=_0x10d19a,_0x440836=this[_0x2efb6b(0x106)],_0x15af55=_0x440836[_0x2efb6b(0x147)],_0x372840=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0xb7)),_0x3785a8=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0x139)),_0x5b4cf7=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0x146)),_0x5788b7=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x10ca33)['me'],_0x3f2177=_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xe3))[_0x2efb6b(0xf5)],_0x56154f=_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xe3))[_0x2efb6b(0xf6)],{CommentsListView:_0x4d8376,CommentThreadInputView:_0x11c8ac}=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0xd1));let _0x254320,_0x2e7952,_0x363748;this[_0x2efb6b(0xcd)][_0x2efb6b(0xb8)](_0x5ecfb8['id'])?(_0x2e7952=this[_0x2efb6b(0xcd)][_0x2efb6b(0x14b)](_0x5ecfb8['id']),_0x254320=_0x2e7952[_0x2efb6b(0x125)]):(_0x254320=new _0x3f2177(_0x440836[_0x2efb6b(0x128)],_0x5ecfb8,_0x5788b7,{'disableComments':this[_0x2efb6b(0x129)],'editorConfig':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xdc)),'maxCommentsWhenCollapsed':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0x136)),'maxThreadTotalWeight':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0x113)),'maxCommentCharsWhenCollapsed':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xef)),'formatDateTime':_0x43d5c5(_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0x128))),'CommentView':_0x15af55[_0x2efb6b(0x14b)](_0x2efb6b(0xb9))[_0x2efb6b(0x10a)],'CommentsListView':_0x4d8376,'CommentThreadInputView':_0x11c8ac,'SuggestionView':_0x56154f}),_0x254320[_0x2efb6b(0x119)][_0x2efb6b(0xb5)]['on'](_0x2efb6b(0x124),()=>{const _0x243ad2=_0x2efb6b;_0x440836[_0x243ad2(0x12f)][_0x243ad2(0xc5)][_0x243ad2(0xf3)]();}),_0x254320[_0x2efb6b(0x119)][_0x2efb6b(0xba)]['on'](_0x2efb6b(0x124),()=>{const _0x3ac134=_0x2efb6b;_0x440836[_0x3ac134(0x12f)][_0x3ac134(0xc5)][_0x3ac134(0xf3)]();}),_0x2e7952=_0x372840[_0x2efb6b(0xed)](this[_0x2efb6b(0x106)][_0x2efb6b(0x128)],_0x254320),_0x2e7952[_0x2efb6b(0x127)](_0x2efb6b(0x122))['to'](_0x254320,_0x2efb6b(0x122)),_0x2e7952[_0x2efb6b(0x127)](_0x2efb6b(0x10c))['to'](_0x254320),_0x2e7952[_0x2efb6b(0x127)](_0x2efb6b(0xcf))['to'](_0x254320,_0x2efb6b(0xcf),_0x3b1da5=>_0x2efb6b(0xe8)+_0x3b1da5),_0x254320['on'](_0x2efb6b(0x115),()=>{const _0x1e0988=_0x2efb6b;_0x363748[_0x1e0988(0xce)](_0x1e0988(0x115));}),this[_0x2efb6b(0xcd)][_0x2efb6b(0x121)](_0x5ecfb8['id'],_0x2e7952));const _0x5808dd=_0x3785a8[_0x2efb6b(0xbd)](_0x5ecfb8[_0x2efb6b(0xec)],_0x254320),_0x193d61=new _0x1b006f(_0x440836,_0x5ecfb8,_0x254320,_0x5808dd),_0x336341=_0x5ecfb8[_0x2efb6b(0xfb)]()[_0x2efb6b(0x13e)](_0x2c685e=>_0x2c685e[_0x2efb6b(0xb6)]);_0x254320[_0x2efb6b(0xf8)]=_0x440836[_0x2efb6b(0x131)][_0x2efb6b(0x14b)](_0x2efb6b(0x114))[_0x2efb6b(0xe9)][_0x2efb6b(0xe6)](_0x336341),this[_0x2efb6b(0x142)][_0x2efb6b(0x121)](_0x5ecfb8,_0x193d61),this[_0x2efb6b(0x140)][_0x2efb6b(0x121)](_0x254320,_0x193d61),_0x363748=_0x372840[_0x2efb6b(0x108)]({'view':_0x2e7952,'target':()=>{const _0x4bdd0f=_0x2efb6b,_0x523e97=[],_0x1d19b0=_0x5ecfb8[_0x4bdd0f(0xfb)]()[_0x4bdd0f(0x13e)](_0x4b7ecd=>_0x4b7ecd[_0x4bdd0f(0xb6)]);for(const _0x462a3c of _0x1d19b0)_0x523e97[_0x4bdd0f(0x12d)](..._0x462a3c[_0x4bdd0f(0x134)]());return _0x2eecaf(_0x440836[_0x4bdd0f(0x12f)],_0x523e97);},'type':()=>_0x2efb6b(0xe8)+_0x193d61[_0x2efb6b(0xc5)][_0x2efb6b(0xcf)]}),_0x3785a8[_0x2efb6b(0xdd)](_0x254320,_0x363748),_0x372840[_0x2efb6b(0x100)](_0x363748),_0x5b4cf7[_0x2efb6b(0xfd)](_0x363748);}[_0x10d19a(0xdb)](_0x2ff8c4){const _0x46077c=_0x10d19a,_0x5231a3=this[_0x46077c(0x106)][_0x46077c(0x131)][_0x46077c(0x14b)](_0x46077c(0x139)),_0x14cfe6=this[_0x46077c(0x106)][_0x46077c(0x131)][_0x46077c(0x14b)](_0x46077c(0xb7)),_0x1f5880=this[_0x46077c(0x142)][_0x46077c(0x14b)](_0x2ff8c4),_0x254682=_0x1f5880[_0x46077c(0xc5)],_0x574c62=_0x14cfe6[_0x46077c(0x117)](_0x254682);_0x5231a3[_0x46077c(0xd0)](_0x254682),_0x574c62&&_0x14cfe6[_0x46077c(0xd3)](_0x574c62),this[_0x46077c(0x142)][_0x46077c(0x135)](_0x2ff8c4),this[_0x46077c(0x140)][_0x46077c(0x135)](_0x254682),_0x1f5880[_0x46077c(0x112)]();}[_0x10d19a(0x13c)](_0x8a60e1){const _0x1dd34c=_0x10d19a;if(!_0x8a60e1[_0x1dd34c(0xb6)]||!this[_0x1dd34c(0x142)][_0x1dd34c(0xb8)](_0x8a60e1))return;const _0x2474c1=this[_0x1dd34c(0x106)][_0x1dd34c(0x131)][_0x1dd34c(0x14b)](_0x1dd34c(0x114)),_0xfcab7b=this[_0x1dd34c(0x142)][_0x1dd34c(0x14b)](_0x8a60e1),_0x49c63d=_0x8a60e1[_0x1dd34c(0xfb)]();_0xfcab7b[_0x1dd34c(0xc5)][_0x1dd34c(0xf8)]=_0x2474c1[_0x1dd34c(0xe9)][_0x1dd34c(0xe6)](_0x49c63d);}[_0x10d19a(0x112)](){const _0x2772e6=_0x10d19a;for(const _0x75260b of this[_0x2772e6(0x142)][_0x2772e6(0xc3)]())this[_0x2772e6(0xdb)](_0x75260b);for(const _0x30286b of this[_0x2772e6(0xcd)][_0x2772e6(0xf7)]())_0x30286b[_0x2772e6(0x125)][_0x2772e6(0x112)]();super[_0x2772e6(0x112)]();}}function _0x2e70(_0x191051,_0x4c0ce1){const _0x3c53f2=_0x3c53();return _0x2e70=function(_0x2e7057,_0x56cac5){_0x2e7057=_0x2e7057-0xb4;let _0x287bf8=_0x3c53f2[_0x2e7057];return _0x287bf8;},_0x2e70(_0x191051,_0x4c0ce1);}function me(_0x4b4894){const _0x22b8c4=_0x10d19a;return _0x22b8c4(0x103)in _0x4b4894;}
|
|
23
|
+
const _0x3dbdce=_0x16b8;(function(_0x43180b,_0x491b4e){const _0x4b1ae9=_0x16b8,_0x406c71=_0x43180b();while(!![]){try{const _0x2733fe=parseInt(_0x4b1ae9(0x207))/0x1+-parseInt(_0x4b1ae9(0x1e7))/0x2*(-parseInt(_0x4b1ae9(0x220))/0x3)+parseInt(_0x4b1ae9(0x233))/0x4+-parseInt(_0x4b1ae9(0x1e4))/0x5+parseInt(_0x4b1ae9(0x20a))/0x6+-parseInt(_0x4b1ae9(0x25e))/0x7+-parseInt(_0x4b1ae9(0x213))/0x8;if(_0x2733fe===_0x491b4e)break;else _0x406c71['push'](_0x406c71['shift']());}catch(_0x18cd57){_0x406c71['push'](_0x406c71['shift']());}}}(_0x2fc8,0x5f360));import{Plugin as _0x2fc985}from'ckeditor5/src/core.js';import{Collection as _0x349798}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5c467d,createDropdown as _0x1ac3ca,ListSeparatorView as _0x4804d4,MenuBarMenuView as _0x20c518,MenuBarMenuListView as _0x52f3f4,MenuBarMenuListItemView as _0x1d95a4,MenuBarMenuListItemButtonView as _0x27cba1,SplitButtonView as _0x5cf589,ViewModel as _0x39e306}from'ckeditor5/src/ui.js';function _0x2fc8(){const _0x5eacb5=['reduce','_handleSuggestionControllerDelayed','button','items','from','338758qthJIr','_unbindEditors','isMultiRange','view','_suggestionToController','createAnnotation','acceptAllSuggestions','isDirty','activeMarkers','trackChanges.disableComments','clear','acceptButton','suggestionView','length','commands','_destroyController','previous','Discard\x20all\x20suggestions','getJoined','remove','separator','getAllAdjacentSuggestions','lowest','has','model','listenTo','comments.maxThreadTotalWeight','add','actionView','2429515bBXGDt','addComment','children','46kIOytY','discardSelectedSuggestions','locale','_updateController','_refreshActiveMarkers','init','escape','registerAnnotation','comments.editorConfig','trackChanges.SuggestionThreadView','suggestionUnloaded','toMany','descriptionFactory','componentFactory','Track\x20changes','buttonView','commandName','head','delegate','switchbutton','type','_annotationViews','commentsListView','destroy','menuitemcheckbox','source','mainView','activeAnnotations','requires','focus','stopListening','config','730924SaSJmw','isInContent','delete','4312656NAJTnV','getFirstRange','getByInnerView','refreshSelectedViews','_initializeController','CommentsUI','comments.maxCommentCharsWhenCollapsed','discardButton','_createMenuBarMenu','15480200LneCSm','filter','_handleControllerBuffer','change:activeAnnotations','suggestionChanged','comments.maxCommentsWhenCollapsed','fire','Accept\x20all\x20suggestions','Discard\x20all\x20selected\x20suggestions','TrackChangesUI','acceptSelectedSuggestions','get','change:previous','86349TcrGMc','trackChanges.SuggestionView','Annotations','CommentView','values','editing','innerView','_bindAnnotationToEditors','SuggestionView','Accept\x20all\x20selected\x20suggestions','hasSuggestion','size','execute','menuitem','unbind','isPremiumPlugin','getMarkers','keys','_addUIComponentsToFactory','2990388JUSQDs','panelView','value','set','define','editor','discardAllSuggestions','getRanges','CommentsRepository','_createToolbarButton','isOfficialPlugin','EditorAnnotations','suggestion-','plugins','menuBar:trackChanges','some','isEnabled','trackChanges','isOn','getMarkerNames','SuggestionThreadView','_viewToController','bind','comments','menu','createAnnotationView','addSourceCollector','getSuggestion','push','TrackChangesEditing','arrowView','createCommentThreadController','commentThread','pluginName','suggestionLoaded','getDescriptions','descriptionParts','_disableComments'];_0x2fc8=function(){return _0x5eacb5;};return _0x2fc8();}import{Users as _0x62b7b4,getDateTimeFormatter as _0x5e17eb,getAllMarkersDomElementsSorted as _0x51aae4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x581349 from'./trackchangesediting.js';import _0x344e8d from'./ui/suggestioncontroller.js';function _0x16b8(_0x1a8df9,_0x4edba1){const _0x2fc827=_0x2fc8();return _0x16b8=function(_0x16b8e6,_0x34702c){_0x16b8e6=_0x16b8e6-0x1d7;let _0x45e980=_0x2fc827[_0x16b8e6];return _0x45e980;},_0x16b8(_0x1a8df9,_0x4edba1);}import _0x20b04d from'./ui/view/suggestionthreadview.js';import _0x51006c from'./ui/view/suggestionview.js';import{getTranslation as _0x3f05db}from'./utils/common-translations.js';import _0xabb883 from'../theme/icons/track-changes.svg';export default class d extends _0x2fc985{static get[_0x3dbdce(0x203)](){const _0x241d05=_0x3dbdce;return[_0x581349,_0x62b7b4,_0x241d05(0x23b),_0x241d05(0x222),_0x241d05(0x23e)];}static get[_0x3dbdce(0x254)](){const _0x499790=_0x3dbdce;return _0x499790(0x21c);}static get[_0x3dbdce(0x23d)](){return!0x0;}static get[_0x3dbdce(0x22f)](){return!0x0;}constructor(_0x1e416b){const _0x374441=_0x3dbdce;super(_0x1e416b),this[_0x374441(0x262)]=new Map(),this[_0x374441(0x248)]=new Map(),this[_0x374441(0x1fc)]=new Map(),this[_0x374441(0x215)]=new Map();const _0xf049bb=this[_0x374441(0x238)][_0x374441(0x206)];_0xf049bb[_0x374441(0x237)](_0x374441(0x1f0),_0x20b04d),_0xf049bb[_0x374441(0x237)](_0x374441(0x221),_0x51006c),_0xf049bb[_0x374441(0x237)](_0x374441(0x267),!0x1),this[_0x374441(0x258)]=_0xf049bb[_0x374441(0x21e)](_0x374441(0x267));}[_0x3dbdce(0x25a)](_0x41e1b5,_0x4ed168){const _0x4867a9=_0x3dbdce;0x0===this[_0x4867a9(0x215)][_0x4867a9(0x22b)]&&setTimeout(()=>{const _0x20e8f7=_0x4867a9;for(const [_0x4a8479,_0x30b8e1]of this[_0x20e8f7(0x215)]){const _0xf7f3e7=this[_0x20e8f7(0x262)][_0x20e8f7(0x1de)](_0x4a8479);_0xf7f3e7||_0x30b8e1?_0xf7f3e7&&_0x30b8e1&&this[_0x20e8f7(0x26d)](_0x4a8479):this[_0x20e8f7(0x20e)](_0x4a8479);}this[_0x20e8f7(0x215)][_0x20e8f7(0x268)](),this[_0x20e8f7(0x238)][_0x20e8f7(0x240)][_0x20e8f7(0x21e)](_0x20e8f7(0x23e))[_0x20e8f7(0x20d)](),this[_0x20e8f7(0x1eb)]();},0xa),this[_0x4867a9(0x215)][_0x4867a9(0x236)](_0x41e1b5,_0x4ed168);}[_0x3dbdce(0x1ec)](){const _0xa3b5a7=_0x3dbdce,_0x42e4a4=this[_0xa3b5a7(0x238)],_0x433a32=_0x42e4a4[_0xa3b5a7(0x240)][_0xa3b5a7(0x21e)](_0xa3b5a7(0x250)),_0x199e37=_0x42e4a4[_0xa3b5a7(0x240)][_0xa3b5a7(0x21e)](_0xa3b5a7(0x222)),_0x143f97=_0x42e4a4[_0xa3b5a7(0x240)][_0xa3b5a7(0x21e)](_0xa3b5a7(0x23e)),_0x2dcfc5=_0x42e4a4[_0xa3b5a7(0x240)][_0xa3b5a7(0x21e)](_0xa3b5a7(0x23b));this[_0xa3b5a7(0x232)](),_0x143f97[_0xa3b5a7(0x24d)](()=>{const _0x27c363=_0xa3b5a7,_0x4541f7=[];for(const [_0x43bf69,_0x2923ba]of Array[_0x27c363(0x25d)](this[_0x27c363(0x262)])){const _0x19a871=_0x43bf69[_0x27c363(0x1dc)](),_0xffc7ee=[];for(const _0x36697d of _0x19a871){if(!_0x36697d[_0x27c363(0x208)])continue;if(_0x36697d[_0x27c363(0x260)]){_0xffc7ee[_0x27c363(0x24f)](..._0x36697d[_0x27c363(0x23a)]());continue;}const _0x3c80e3=_0x36697d[_0x27c363(0x20b)]();if(_0xffc7ee[_0x27c363(0x26b)]>0x0){const _0x1f4de5=_0xffc7ee[0x0][_0x27c363(0x1d9)](_0x3c80e3);if(_0x1f4de5){_0xffc7ee[0x0]=_0x1f4de5;continue;}}_0xffc7ee[_0x27c363(0x24f)](_0x3c80e3);}_0x4541f7[_0x27c363(0x24f)]([_0x2923ba[_0x27c363(0x261)],_0xffc7ee]);}return _0x4541f7;}),this[_0xa3b5a7(0x1e0)](_0x433a32,_0xa3b5a7(0x255),(_0x3ecad5,_0x131acd)=>{const _0x151f4e=_0xa3b5a7;this[_0x151f4e(0x1e0)](_0x131acd,_0x151f4e(0x21f),(_0x479b9f,_0x21be19,_0x4fb9dd,_0x536d4f)=>{const _0x40f340=_0x151f4e;_0x131acd[_0x40f340(0x208)]&&(null==_0x4fb9dd?(this[_0x40f340(0x1ea)](_0x536d4f[_0x40f340(0x1f8)]),this[_0x40f340(0x25a)](_0x131acd,!0x1)):(this[_0x40f340(0x1ea)](_0x4fb9dd[_0x40f340(0x1f8)]),null==_0x536d4f&&this[_0x40f340(0x25a)](_0x131acd,!0x0)));}),null!==_0x131acd[_0x151f4e(0x1d7)]?this[_0x151f4e(0x1ea)](_0x131acd[_0x151f4e(0x1f8)]):this[_0x151f4e(0x25a)](_0x131acd,!0x1);}),this[_0xa3b5a7(0x1e0)](_0x433a32,_0xa3b5a7(0x1f1),(_0x44a5c4,_0x236a1c,_0x4b4fe7)=>{const _0x4ae5d1=_0xa3b5a7;this[_0x4ae5d1(0x205)](_0x236a1c,_0x4ae5d1(0x21f)),this[_0x4ae5d1(0x215)][_0x4ae5d1(0x209)](_0x236a1c),this[_0x4ae5d1(0x262)][_0x4ae5d1(0x1de)](_0x236a1c)&&this[_0x4ae5d1(0x26d)](_0x236a1c),_0x4b4fe7&&this[_0x4ae5d1(0x1ea)](_0x4b4fe7[_0x4ae5d1(0x1f8)]);}),this[_0xa3b5a7(0x1e0)](_0x433a32,_0xa3b5a7(0x217),(_0x427a4e,_0x3e5b65)=>{const _0xb37d01=_0xa3b5a7;this[_0xb37d01(0x1ea)](_0x3e5b65);}),this[_0xa3b5a7(0x1e0)](_0x199e37,_0xa3b5a7(0x216),()=>{const _0x4874b6=_0xa3b5a7;this[_0x4874b6(0x1eb)]();}),this[_0xa3b5a7(0x1e0)](_0x2dcfc5,_0xa3b5a7(0x1e5),(_0x30c516,{threadId:_0x3e2efc,isFromAdapter:_0x445ff6})=>{const _0x157f01=_0xa3b5a7;if(_0x445ff6||!_0x433a32[_0x157f01(0x22a)](_0x3e2efc))return;const _0x5c2518=_0x433a32[_0x157f01(0x24e)](_0x3e2efc);this[_0x157f01(0x262)][_0x157f01(0x21e)](_0x5c2518)[_0x157f01(0x261)][_0x157f01(0x1fd)][_0x157f01(0x204)](-0x1);},{'priority':_0xa3b5a7(0x1dd)});}[_0x3dbdce(0x1eb)](){const _0x52fc1b=_0x3dbdce,_0x37418c=this[_0x52fc1b(0x238)][_0x52fc1b(0x240)][_0x52fc1b(0x21e)](_0x52fc1b(0x222)),_0x4ca8bb=this[_0x52fc1b(0x238)][_0x52fc1b(0x240)][_0x52fc1b(0x21e)](_0x52fc1b(0x250)),_0x3cfb26=Array[_0x52fc1b(0x25d)](_0x37418c[_0x52fc1b(0x202)],_0x4ffa01=>_0x4ffa01[_0x52fc1b(0x226)])[_0x52fc1b(0x214)](_0x4df686=>this[_0x52fc1b(0x248)][_0x52fc1b(0x1de)](_0x4df686)),_0x1376fb=[];for(const _0x31f6fe of _0x3cfb26){const _0x4decd1=this[_0x52fc1b(0x248)][_0x52fc1b(0x21e)](_0x31f6fe)[_0x52fc1b(0x1df)][_0x52fc1b(0x1dc)]();_0x1376fb[_0x52fc1b(0x24f)](..._0x4decd1[_0x52fc1b(0x259)]((_0x427d7a,_0x48cfc8)=>[..._0x427d7a,..._0x48cfc8[_0x52fc1b(0x246)]()],[]));}_0x4ca8bb[_0x52fc1b(0x266)]=_0x1376fb;}[_0x3dbdce(0x232)](){const _0x1db7b4=_0x3dbdce,_0xf296fb=this[_0x1db7b4(0x238)],_0x3f7929=_0xf296fb[_0x1db7b4(0x1e9)],_0x145092=_0x3f05db(_0x3f7929,_0x1db7b4(0x1f5)),_0x35e7ab=new _0x349798([{'type':_0x1db7b4(0x1fa),'model':new _0x39e306({'withText':!0x0,'isToggleable':!0x0,'label':_0x145092,'commandName':_0x1db7b4(0x244),'role':_0x1db7b4(0x1ff)})},{'type':_0x1db7b4(0x1db)},{'type':_0x1db7b4(0x25b),'model':new _0x39e306({'withText':!0x0,'label':_0x3f05db(_0x3f7929,_0x1db7b4(0x21a)),'commandName':_0x1db7b4(0x264),'role':_0x1db7b4(0x22d)})},{'type':_0x1db7b4(0x25b),'model':new _0x39e306({'withText':!0x0,'label':_0x3f05db(_0x3f7929,_0x1db7b4(0x229)),'commandName':_0x1db7b4(0x21d),'role':_0x1db7b4(0x22d)})},{'type':_0x1db7b4(0x25b),'model':new _0x39e306({'withText':!0x0,'label':_0x3f05db(_0x3f7929,_0x1db7b4(0x1d8)),'commandName':_0x1db7b4(0x239),'role':_0x1db7b4(0x22d)})},{'type':_0x1db7b4(0x25b),'model':new _0x39e306({'withText':!0x0,'label':_0x3f05db(_0x3f7929,_0x1db7b4(0x21b)),'commandName':_0x1db7b4(0x1e8),'role':_0x1db7b4(0x22d)})}]);for(const _0x3d8d21 of _0x35e7ab)if(me(_0x3d8d21)){const _0x1c2f89=_0xf296fb[_0x1db7b4(0x26c)][_0x1db7b4(0x21e)](_0x3d8d21[_0x1db7b4(0x1df)][_0x1db7b4(0x1f7)]);_0x3d8d21[_0x1db7b4(0x1df)][_0x1db7b4(0x249)](_0x1db7b4(0x245),_0x1db7b4(0x243))['to'](_0x1c2f89,_0x1db7b4(0x235),_0x1db7b4(0x243));}_0xf296fb['ui'][_0x1db7b4(0x1f4)][_0x1db7b4(0x1e2)](_0x1db7b4(0x244),_0x21703a=>this[_0x1db7b4(0x23c)](_0x21703a,_0x35e7ab,_0x145092)),_0xf296fb['ui'][_0x1db7b4(0x1f4)][_0x1db7b4(0x1e2)](_0x1db7b4(0x241),_0x2f4407=>this[_0x1db7b4(0x212)](_0x2f4407,_0x35e7ab,_0x145092));}[_0x3dbdce(0x23c)](_0x240389,_0x43771f,_0x103441){const _0x310361=_0x3dbdce,_0x8bfcf9=_0x1ac3ca(_0x240389,_0x5cf589),_0x474dac=this[_0x310361(0x238)][_0x310361(0x26c)][_0x310361(0x21e)](_0x310361(0x244));_0x8bfcf9[_0x310361(0x1f6)][_0x310361(0x236)]({'tooltip':_0x103441,'label':_0x103441,'icon':_0xabb883}),_0x8bfcf9[_0x310361(0x1f6)][_0x310361(0x249)](_0x310361(0x245))['to'](_0x474dac,_0x310361(0x235)),_0x8bfcf9[_0x310361(0x1f6)]['on'](_0x310361(0x22c),()=>{const _0x12d6ae=_0x310361;_0x474dac[_0x12d6ae(0x22c)](),this[_0x12d6ae(0x238)][_0x12d6ae(0x225)][_0x12d6ae(0x261)][_0x12d6ae(0x204)]();}),_0x5c467d(_0x8bfcf9,_0x43771f,{'role':_0x310361(0x24b)});const _0x504070=[];for(const _0x5528de of _0x43771f)me(_0x5528de)&&_0x504070[_0x310361(0x24f)](this[_0x310361(0x238)][_0x310361(0x26c)][_0x310361(0x21e)](_0x5528de[_0x310361(0x1df)][_0x310361(0x1f7)]));const _0x2fe16f=_0x8bfcf9[_0x310361(0x1f6)];return _0x2fe16f[_0x310361(0x1e3)][_0x310361(0x22e)](_0x310361(0x243)),_0x2fe16f[_0x310361(0x251)][_0x310361(0x22e)](_0x310361(0x243)),_0x2fe16f[_0x310361(0x1e3)][_0x310361(0x249)](_0x310361(0x243))['to'](_0x474dac,_0x310361(0x243)),_0x2fe16f[_0x310361(0x251)][_0x310361(0x249)](_0x310361(0x243))[_0x310361(0x1f2)](_0x504070,_0x310361(0x243),(..._0x132359)=>_0x132359[_0x310361(0x242)](_0x37adfc=>_0x37adfc)),_0x8bfcf9['on'](_0x310361(0x22c),_0x546149=>{const _0x3bf9c8=_0x310361;this[_0x3bf9c8(0x238)][_0x3bf9c8(0x22c)](_0x546149[_0x3bf9c8(0x200)][_0x3bf9c8(0x1f7)]),this[_0x3bf9c8(0x238)][_0x3bf9c8(0x225)][_0x3bf9c8(0x261)][_0x3bf9c8(0x204)]();}),_0x8bfcf9;}[_0x3dbdce(0x212)](_0x286e3f,_0x14ba13,_0x534e4f){const _0x2e9157=_0x3dbdce,_0x4f4690=new _0x20c518(_0x286e3f),_0x36ec03=this[_0x2e9157(0x238)][_0x2e9157(0x26c)][_0x2e9157(0x21e)](_0x2e9157(0x244));_0x4f4690[_0x2e9157(0x1f6)][_0x2e9157(0x236)]({'label':_0x534e4f,'icon':_0xabb883});const _0x5d3adf=new _0x52f3f4(_0x286e3f);for(const _0x2f976 of _0x14ba13){if(_0x2e9157(0x1db)==_0x2f976[_0x2e9157(0x1fb)]){_0x5d3adf[_0x2e9157(0x25c)][_0x2e9157(0x1e2)](new _0x4804d4(_0x286e3f));continue;}const _0x12824f=new _0x1d95a4(_0x286e3f,_0x4f4690),_0x3cd68b=new _0x27cba1(_0x286e3f),_0x7a3556=_0x2f976[_0x2e9157(0x1df)];_0x3cd68b[_0x2e9157(0x249)](...Object[_0x2e9157(0x231)](_0x7a3556))['to'](_0x7a3556),_0x3cd68b[_0x2e9157(0x1f9)](_0x2e9157(0x22c))['to'](_0x4f4690),_0x3cd68b['on'](_0x2e9157(0x22c),()=>{const _0x1de7ff=_0x2e9157;this[_0x1de7ff(0x238)][_0x1de7ff(0x22c)](_0x7a3556[_0x1de7ff(0x1f7)]),this[_0x1de7ff(0x238)][_0x1de7ff(0x225)][_0x1de7ff(0x261)][_0x1de7ff(0x204)]();}),_0x12824f[_0x2e9157(0x1e6)][_0x2e9157(0x1e2)](_0x3cd68b),_0x5d3adf[_0x2e9157(0x25c)][_0x2e9157(0x1e2)](_0x12824f);}return _0x4f4690[_0x2e9157(0x249)](_0x2e9157(0x243))['to'](_0x36ec03,_0x2e9157(0x243)),_0x4f4690[_0x2e9157(0x234)][_0x2e9157(0x1e6)][_0x2e9157(0x1e2)](_0x5d3adf),_0x4f4690;}[_0x3dbdce(0x20e)](_0x58563b){const _0x514f91=_0x3dbdce,_0x5310b0=this[_0x514f91(0x238)],_0x42d322=_0x5310b0[_0x514f91(0x206)],_0x26b1f7=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x222)),_0x1d21fa=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x23b)),_0x2de0bb=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x23e)),_0x1942cc=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x62b7b4)['me'],_0x316f17=_0x42d322[_0x514f91(0x21e)](_0x514f91(0x244))[_0x514f91(0x247)],_0x5581d5=_0x42d322[_0x514f91(0x21e)](_0x514f91(0x244))[_0x514f91(0x228)],{CommentsListView:_0x146ab6,CommentThreadInputView:_0xa04b7e}=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x20f));let _0x78d511,_0x3e645c,_0x2cac4c;this[_0x514f91(0x1fc)][_0x514f91(0x1de)](_0x58563b['id'])?(_0x3e645c=this[_0x514f91(0x1fc)][_0x514f91(0x21e)](_0x58563b['id']),_0x78d511=_0x3e645c[_0x514f91(0x201)]):(_0x78d511=new _0x316f17(_0x5310b0[_0x514f91(0x1e9)],_0x58563b,_0x1942cc,{'disableComments':this[_0x514f91(0x258)],'editorConfig':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x1ef)),'maxCommentsWhenCollapsed':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x218)),'maxThreadTotalWeight':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x1e1)),'maxCommentCharsWhenCollapsed':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x210)),'formatDateTime':_0x5e17eb(_0x42d322[_0x514f91(0x21e)](_0x514f91(0x1e9))),'CommentView':_0x42d322[_0x514f91(0x21e)](_0x514f91(0x24a))[_0x514f91(0x223)],'CommentsListView':_0x146ab6,'CommentThreadInputView':_0xa04b7e,'SuggestionView':_0x5581d5}),_0x78d511[_0x514f91(0x26a)][_0x514f91(0x269)]['on'](_0x514f91(0x22c),()=>{const _0x244492=_0x514f91;_0x5310b0[_0x244492(0x225)][_0x244492(0x261)][_0x244492(0x204)]();}),_0x78d511[_0x514f91(0x26a)][_0x514f91(0x211)]['on'](_0x514f91(0x22c),()=>{const _0x4a8b7a=_0x514f91;_0x5310b0[_0x4a8b7a(0x225)][_0x4a8b7a(0x261)][_0x4a8b7a(0x204)]();}),_0x3e645c=_0x26b1f7[_0x514f91(0x24c)](this[_0x514f91(0x238)][_0x514f91(0x1e9)],_0x78d511),_0x3e645c[_0x514f91(0x249)](_0x514f91(0x265))['to'](_0x78d511,_0x514f91(0x265)),_0x3e645c[_0x514f91(0x249)](_0x514f91(0x26b))['to'](_0x78d511),_0x3e645c[_0x514f91(0x249)](_0x514f91(0x1fb))['to'](_0x78d511,_0x514f91(0x1fb),_0x5bd2f3=>_0x514f91(0x23f)+_0x5bd2f3),_0x78d511['on'](_0x514f91(0x1ed),()=>{const _0x45389a=_0x514f91;_0x2cac4c[_0x45389a(0x219)](_0x45389a(0x1ed));}),this[_0x514f91(0x1fc)][_0x514f91(0x236)](_0x58563b['id'],_0x3e645c));const _0x16e55e=_0x1d21fa[_0x514f91(0x252)](_0x58563b[_0x514f91(0x253)],_0x78d511),_0x49f417=new _0x344e8d(_0x5310b0,_0x58563b,_0x78d511,_0x16e55e),_0x44cbd2=_0x58563b[_0x514f91(0x1dc)]()[_0x514f91(0x214)](_0x3d6534=>_0x3d6534[_0x514f91(0x208)]);_0x78d511[_0x514f91(0x257)]=_0x5310b0[_0x514f91(0x240)][_0x514f91(0x21e)](_0x514f91(0x250))[_0x514f91(0x1f3)][_0x514f91(0x256)](_0x44cbd2),this[_0x514f91(0x262)][_0x514f91(0x236)](_0x58563b,_0x49f417),this[_0x514f91(0x248)][_0x514f91(0x236)](_0x78d511,_0x49f417),_0x2cac4c=_0x26b1f7[_0x514f91(0x263)]({'view':_0x3e645c,'target':()=>{const _0x1252a8=_0x514f91,_0x2bfc12=[],_0x35c8c7=_0x58563b[_0x1252a8(0x1dc)]()[_0x1252a8(0x214)](_0x2fe278=>_0x2fe278[_0x1252a8(0x208)]);for(const _0xeb624b of _0x35c8c7)_0x2bfc12[_0x1252a8(0x24f)](..._0xeb624b[_0x1252a8(0x230)]());return _0x51aae4(_0x5310b0[_0x1252a8(0x225)],_0x2bfc12);},'type':()=>_0x514f91(0x23f)+_0x49f417[_0x514f91(0x261)][_0x514f91(0x1fb)]}),_0x1d21fa[_0x514f91(0x227)](_0x78d511,_0x2cac4c),_0x26b1f7[_0x514f91(0x1e2)](_0x2cac4c),_0x2de0bb[_0x514f91(0x1ee)](_0x2cac4c);}[_0x3dbdce(0x26d)](_0x532d70){const _0x41ed05=_0x3dbdce,_0x37c583=this[_0x41ed05(0x238)][_0x41ed05(0x240)][_0x41ed05(0x21e)](_0x41ed05(0x23b)),_0x5c9135=this[_0x41ed05(0x238)][_0x41ed05(0x240)][_0x41ed05(0x21e)](_0x41ed05(0x222)),_0x584185=this[_0x41ed05(0x262)][_0x41ed05(0x21e)](_0x532d70),_0x56175d=_0x584185[_0x41ed05(0x261)],_0x470327=_0x5c9135[_0x41ed05(0x20c)](_0x56175d);_0x37c583[_0x41ed05(0x25f)](_0x56175d),_0x470327&&_0x5c9135[_0x41ed05(0x1da)](_0x470327),this[_0x41ed05(0x262)][_0x41ed05(0x209)](_0x532d70),this[_0x41ed05(0x248)][_0x41ed05(0x209)](_0x56175d),_0x584185[_0x41ed05(0x1fe)]();}[_0x3dbdce(0x1ea)](_0xc686de){const _0x17f2d5=_0x3dbdce;if(!_0xc686de[_0x17f2d5(0x208)]||!this[_0x17f2d5(0x262)][_0x17f2d5(0x1de)](_0xc686de))return;const _0x484b4c=this[_0x17f2d5(0x238)][_0x17f2d5(0x240)][_0x17f2d5(0x21e)](_0x17f2d5(0x250)),_0x3a4faa=this[_0x17f2d5(0x262)][_0x17f2d5(0x21e)](_0xc686de),_0x385b99=_0xc686de[_0x17f2d5(0x1dc)]();_0x3a4faa[_0x17f2d5(0x261)][_0x17f2d5(0x257)]=_0x484b4c[_0x17f2d5(0x1f3)][_0x17f2d5(0x256)](_0x385b99);}[_0x3dbdce(0x1fe)](){const _0x303099=_0x3dbdce;for(const _0x35985b of this[_0x303099(0x262)][_0x303099(0x231)]())this[_0x303099(0x26d)](_0x35985b);for(const _0x382e0e of this[_0x303099(0x1fc)][_0x303099(0x224)]())_0x382e0e[_0x303099(0x201)][_0x303099(0x1fe)]();super[_0x303099(0x1fe)]();}}function me(_0x1a65ee){const _0x4198f9=_0x3dbdce;return _0x4198f9(0x1df)in _0x1a65ee;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x36ec71=_0x14d2;(function(_0x49bbc0,_0x32016d){const _0x5a53ee=_0x14d2,_0xd2d7fe=_0x49bbc0();while(!![]){try{const _0x4ac7cf=parseInt(_0x5a53ee(0x1ec))/0x1+-parseInt(_0x5a53ee(0x1fb))/0x2*(parseInt(_0x5a53ee(0x1db))/0x3)+-parseInt(_0x5a53ee(0x1f1))/0x4+parseInt(_0x5a53ee(0x1d3))/0x5*(parseInt(_0x5a53ee(0x1e0))/0x6)+-parseInt(_0x5a53ee(0x1f5))/0x7+-parseInt(_0x5a53ee(0x1dd))/0x8+-parseInt(_0x5a53ee(0x1d7))/0x9*(-parseInt(_0x5a53ee(0x1ed))/0xa);if(_0x4ac7cf===_0x32016d)break;else _0xd2d7fe['push'](_0xd2d7fe['shift']());}catch(_0x20b062){_0xd2d7fe['push'](_0xd2d7fe['shift']());}}}(_0x54f5,0xb13a4));import{ObservableMixin as _0x4a1ff5}from'ckeditor5/src/utils.js';import{getTranslation as _0x175e6d}from'../utils/common-translations.js';function _0x54f5(){const _0x2560be=['unbind','878408omuqmt','PendingActions','canEditAt','_acceptCommand','8827679uVNocW','view','locale','add','canDiscard','canAccept','12SswGRR','_discardCommand','1483810WfnmIP','plugins','model','execute','26415PEdeZl','_setPendingAction','_editor','bind','460767ukKllI','isDirty','5413984JhgULe','commentThreadController','stopListening','6gCbsoc','change:isDirty','_pendingAction','isEnabled','acceptSuggestion','getRanges','discardSuggestion','_removePendingAction','commands','destroy','get','PENDING_ACTION_SUGGESTION','681738XdJfDD','9630CDEYSm','remove','listenTo'];_0x54f5=function(){return _0x2560be;};return _0x54f5();}function _0x14d2(_0x17358f,_0x588bd7){const _0x54f598=_0x54f5();return _0x14d2=function(_0x14d294,_0x7060d4){_0x14d294=_0x14d294-0x1d3;let _0x34ad10=_0x54f598[_0x14d294];return _0x34ad10;},_0x14d2(_0x17358f,_0x588bd7);}export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a1ff5(){constructor(_0x502776,_0x36419d,_0x255461,_0x231607){const _0x2110c5=_0x14d2;super(),this[_0x2110c5(0x1d5)]=_0x36419d,this[_0x2110c5(0x1f6)]=_0x255461,this[_0x2110c5(0x1de)]=_0x231607,this[_0x2110c5(0x1d9)]=_0x502776,this[_0x2110c5(0x1f4)]=_0x502776[_0x2110c5(0x1e8)][_0x2110c5(0x1ea)](_0x2110c5(0x1e4)),this[_0x2110c5(0x1fc)]=_0x502776[_0x2110c5(0x1e8)][_0x2110c5(0x1ea)](_0x2110c5(0x1e6)),this[_0x2110c5(0x1f6)][_0x2110c5(0x1da)](_0x2110c5(0x1e3))['to'](this[_0x2110c5(0x1f4)],this[_0x2110c5(0x1fc)],(_0x4223c5,_0x4d8369)=>_0x4223c5||_0x4d8369),this[_0x2110c5(0x1f6)][_0x2110c5(0x1da)](_0x2110c5(0x1fa))['to'](this[_0x2110c5(0x1f4)],_0x2110c5(0x1e3),_0x287904=>_0x287904&&this[_0x2110c5(0x1d9)][_0x2110c5(0x1d5)][_0x2110c5(0x1f3)](_0x36419d[_0x2110c5(0x1e5)]())),this[_0x2110c5(0x1f6)][_0x2110c5(0x1da)](_0x2110c5(0x1f9))['to'](this[_0x2110c5(0x1fc)],_0x2110c5(0x1e3),_0x4986a1=>_0x4986a1&&this[_0x2110c5(0x1d9)][_0x2110c5(0x1d5)][_0x2110c5(0x1f3)](_0x36419d[_0x2110c5(0x1e5)]())),this[_0x2110c5(0x1e2)]=null,_0x255461[_0x2110c5(0x1dc)]&&this[_0x2110c5(0x1d8)](),this[_0x2110c5(0x1ef)](_0x255461,_0x2110c5(0x1e4),()=>this[_0x2110c5(0x1e4)]()),this[_0x2110c5(0x1ef)](_0x255461,_0x2110c5(0x1e6),()=>this[_0x2110c5(0x1e6)]()),this[_0x2110c5(0x1ef)](_0x255461,_0x2110c5(0x1e1),()=>{const _0x3c2b1b=_0x2110c5;_0x255461[_0x3c2b1b(0x1dc)]?this[_0x3c2b1b(0x1d8)]():this[_0x3c2b1b(0x1e7)]();});}[_0x36ec71(0x1e4)](){const _0x211806=_0x36ec71;this[_0x211806(0x1f4)][_0x211806(0x1d6)](this[_0x211806(0x1d5)]['id']);}[_0x36ec71(0x1e6)](){const _0x2b8ab4=_0x36ec71;this[_0x2b8ab4(0x1fc)][_0x2b8ab4(0x1d6)](this[_0x2b8ab4(0x1d5)]['id']);}[_0x36ec71(0x1e9)](){const _0xbc667a=_0x36ec71;this[_0xbc667a(0x1f6)][_0xbc667a(0x1f0)](_0xbc667a(0x1e3)),this[_0xbc667a(0x1f6)][_0xbc667a(0x1f0)](_0xbc667a(0x1fa)),this[_0xbc667a(0x1f6)][_0xbc667a(0x1f0)](_0xbc667a(0x1f9)),this[_0xbc667a(0x1df)](),this[_0xbc667a(0x1de)][_0xbc667a(0x1e9)](),this[_0xbc667a(0x1e2)]&&this[_0xbc667a(0x1e7)]();}[_0x36ec71(0x1d8)](){const _0x35d353=_0x36ec71,_0x41a293=_0x175e6d(this[_0x35d353(0x1d9)][_0x35d353(0x1f7)],_0x35d353(0x1eb));this[_0x35d353(0x1e2)]=this[_0x35d353(0x1d9)][_0x35d353(0x1d4)][_0x35d353(0x1ea)](_0x35d353(0x1f2))[_0x35d353(0x1f8)](_0x41a293);}[_0x36ec71(0x1e7)](){const _0x212f93=_0x36ec71;null!==this[_0x212f93(0x1e2)]&&this[_0x212f93(0x1d9)][_0x212f93(0x1d4)][_0x212f93(0x1ea)](_0x212f93(0x1f2))[_0x212f93(0x1ee)](this[_0x212f93(0x1e2)]),this[_0x212f93(0x1e2)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5c0463=_0xd762;(function(_0x10c0a4,_0x1d9e07){const _0x2a9b52=_0xd762,_0x1bea9c=_0x10c0a4();while(!![]){try{const _0x257e39=-parseInt(_0x2a9b52(0x165))/0x1+parseInt(_0x2a9b52(0x181))/0x2+-parseInt(_0x2a9b52(0x168))/0x3+parseInt(_0x2a9b52(0x18f))/0x4*(-parseInt(_0x2a9b52(0x18b))/0x5)+parseInt(_0x2a9b52(0x169))/0x6+parseInt(_0x2a9b52(0x177))/0x7+parseInt(_0x2a9b52(0x19a))/0x8;if(_0x257e39===_0x1d9e07)break;else _0x1bea9c['push'](_0x1bea9c['shift']());}catch(_0x2a1d4d){_0x1bea9c['push'](_0x1bea9c['shift']());}}}(_0xae47,0xbb332));import{FocusCycler as _0x5f18f4,View as _0x262bb2,ViewCollection as _0x1fabc4}from'ckeditor5/src/ui.js';function _0xd762(_0x4a9a77,_0x16e7be){const _0xae472a=_0xae47();return _0xd762=function(_0xd7621e,_0x3bd93f){_0xd7621e=_0xd7621e-0x154;let _0xd8cce0=_0xae472a[_0xd7621e];return _0xd8cce0;},_0xd762(_0x4a9a77,_0x16e7be);}import{FocusTracker as _0x17f1e1,KeystrokeHandler as _0x4ec4be}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0xdfcfce,setupThreadKeyboardNavigation as _0x2d7535}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x8261e5}from'../../utils/common-translations.js';import{renderDescription as _0x44f3d2}from'../../utils/utils.js';function _0xae47(){const _0x37ef47=['render','authoredAt','body','focus','isDirty','_config','descriptionParts','701270rBjvPd','showInput','setData','map','16cypVjK','isActive','hasDirtyComment','bind','author','focusTracker','canAccept','target','_createCommentThreadInputView','tab','parseFromString','10479440OOmZUT','disabledSubmit','editor','_localUser','focusables','locale','isEnabled','delegate','fire','shift+tab','editorConfig','ariaDescriptionView','_model','content','focusCycler','commentsListView','name','isReadOnly','618898VMQuaE','length','value','2875086vIBFye','5085768SJBXKU','destroy','commentThreadInputView','element','join','set','canDiscard','SUGGESTION_THREAD_DESCRIPTION','ariaLabel','formatDateTime','submit','disableComments','keystrokes','CommentView','2191126WRPHiV','cancel','SUGGESTION_THREAD_ARIA_LABEL','commentThread','_createCommentViews','updateComment','textContent','removeComment','text/html','addComment','868940tfWOni','assign','commentInputView'];_0xae47=function(){return _0x37ef47;};return _0xae47();}export default class us extends _0x262bb2{constructor(_0x38e5da,_0x167111,_0x93bb39,_0x50eeb2){const _0x302df5=_0xd762;super(_0x38e5da),this[_0x302df5(0x162)]=null,this[_0x302df5(0x16b)]=null,this[_0x302df5(0x15e)]=new _0xdfcfce(_0x38e5da,_0x8261e5(_0x38e5da,_0x302df5(0x170))),this[_0x302df5(0x16e)](_0x302df5(0x190),!0x1),this[_0x302df5(0x16e)](_0x302df5(0x185),_0x167111[_0x302df5(0x185)]),this[_0x302df5(0x192)](_0x302df5(0x185))['to'](_0x167111),this[_0x302df5(0x16e)](_0x302df5(0x18a),[]),this[_0x302df5(0x16e)](_0x302df5(0x188),!0x1),this[_0x302df5(0x16e)](_0x302df5(0x159),!0x1),this[_0x302df5(0x16e)](_0x302df5(0x195),!0x1),this[_0x302df5(0x16e)](_0x302df5(0x16f),!0x1),this[_0x302df5(0x192)](_0x302df5(0x171))['to'](this,_0x302df5(0x166),_0x167111,_0x302df5(0x185),this,_0x302df5(0x18a),(_0x49cc9c,_0x5c1986,_0x2eda6e)=>{const _0x2bfb45=_0x302df5,_0x579472=_0x2eda6e[_0x2bfb45(0x18e)](_0x4d6102=>_0x44f3d2(_0x4d6102[_0x2bfb45(0x160)]))[_0x2bfb45(0x16d)]('.\x20')+'.';return _0x8261e5(this[_0x2bfb45(0x158)],_0x2bfb45(0x179),[_0x49cc9c-0x1,_0x167111[_0x2bfb45(0x193)][_0x2bfb45(0x163)],_0x5c1986?_0x50eeb2[_0x2bfb45(0x172)](_0x5c1986):'',new DOMParser()[_0x2bfb45(0x199)](_0x579472,_0x2bfb45(0x17f))[_0x2bfb45(0x186)][_0x2bfb45(0x17d)]]);}),this[_0x302df5(0x157)]=new _0x1fabc4(),this[_0x302df5(0x194)]=new _0x17f1e1(),this[_0x302df5(0x175)]=new _0x4ec4be(),this[_0x302df5(0x161)]=new _0x5f18f4({'focusables':this[_0x302df5(0x157)],'focusTracker':this[_0x302df5(0x194)],'keystrokeHandler':this[_0x302df5(0x175)],'keystrokeHandlerOptions':{'filter':_0x58a791=>_0x58a791[_0x302df5(0x196)]!==this[_0x302df5(0x16c)]},'actions':{'focusPrevious':_0x302df5(0x15c),'focusNext':_0x302df5(0x198)}}),this[_0x302df5(0x15f)]=_0x167111,this[_0x302df5(0x156)]=_0x93bb39,this[_0x302df5(0x189)]=_0x50eeb2,_0x50eeb2[_0x302df5(0x174)]?this[_0x302df5(0x16e)](_0x302df5(0x166),0x1):this[_0x302df5(0x17b)]();}[_0x5c0463(0x184)](){const _0x5368a1=_0x5c0463;super[_0x5368a1(0x184)](),_0x2d7535(this,this[_0x5368a1(0x157)]);}[_0x5c0463(0x187)](){const _0x21e040=_0x5c0463;this[_0x21e040(0x16c)][_0x21e040(0x187)]();}[_0x5c0463(0x16a)](){const _0x51ead3=_0x5c0463;this[_0x51ead3(0x162)]&&this[_0x51ead3(0x162)][_0x51ead3(0x16a)](),this[_0x51ead3(0x16b)]&&this[_0x51ead3(0x16b)][_0x51ead3(0x16a)](),super[_0x51ead3(0x16a)]();}[_0x5c0463(0x17b)](){const _0x12d448=_0x5c0463,{CommentsListView:_0x149a32}=this[_0x12d448(0x189)];this[_0x12d448(0x162)]=new _0x149a32(this[_0x12d448(0x158)],this[_0x12d448(0x15f)][_0x12d448(0x17a)],Object[_0x12d448(0x182)]({'CommentView':this[_0x12d448(0x189)][_0x12d448(0x176)]},this[_0x12d448(0x189)])),this[_0x12d448(0x162)][_0x12d448(0x15a)](_0x12d448(0x17e))['to'](this),this[_0x12d448(0x162)][_0x12d448(0x15a)](_0x12d448(0x17c))['to'](this),this[_0x12d448(0x162)][_0x12d448(0x192)](_0x12d448(0x190))['to'](this),this[_0x12d448(0x16e)](_0x12d448(0x166),this[_0x12d448(0x162)][_0x12d448(0x166)]+0x1),this[_0x12d448(0x192)](_0x12d448(0x166))['to'](this[_0x12d448(0x162)],_0x12d448(0x166),_0x4bc4ad=>_0x4bc4ad+0x1),this[_0x12d448(0x16b)]=this[_0x12d448(0x197)](),this['on'](_0x12d448(0x17e),()=>this[_0x12d448(0x187)]()),this[_0x12d448(0x192)](_0x12d448(0x188))['to'](this[_0x12d448(0x162)],_0x12d448(0x191),this[_0x12d448(0x16b)][_0x12d448(0x183)],_0x12d448(0x167),(_0x112a63,_0x2ba78d)=>_0x112a63||!!_0x2ba78d);}[_0x5c0463(0x197)](){const _0x18dfa0=_0x5c0463,{CommentThreadInputView:_0x373dc3}=this[_0x18dfa0(0x189)],_0xb11b3d=new _0x373dc3(this[_0x18dfa0(0x158)],this[_0x18dfa0(0x156)],this[_0x18dfa0(0x189)][_0x18dfa0(0x15d)]),_0x1d9b95=_0xb11b3d[_0x18dfa0(0x183)];return _0xb11b3d[_0x18dfa0(0x192)](_0x18dfa0(0x18c))['to'](this,_0x18dfa0(0x190),this[_0x18dfa0(0x15f)][_0x18dfa0(0x17a)],_0x18dfa0(0x164),_0x1d9b95,_0x18dfa0(0x167),(_0x566cdb,_0x259761,_0x5b81be)=>!!_0x5b81be||_0x566cdb&&!_0x259761),_0x1d9b95['on'](_0x18dfa0(0x173),(_0x397e0d,_0x10b9cf)=>{const _0x1224c2=_0x18dfa0;this[_0x1224c2(0x15b)](_0x1224c2(0x180),_0x10b9cf),_0x1d9b95[_0x1224c2(0x155)][_0x1224c2(0x18d)]('');}),_0x1d9b95['on'](_0x18dfa0(0x178),()=>this[_0x18dfa0(0x187)]()),_0x1d9b95[_0x18dfa0(0x192)](_0x18dfa0(0x154))['to'](this[_0x18dfa0(0x15f)][_0x18dfa0(0x17a)],_0x18dfa0(0x164)),_0xb11b3d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4883(_0x4516b3,_0x24c322){const _0x1dd30e=_0x1dd3();return _0x4883=function(_0x488375,_0x471b2a){_0x488375=_0x488375-0x7d;let _0x255c11=_0x1dd30e[_0x488375];return _0x255c11;},_0x4883(_0x4516b3,_0x24c322);}const _0xb07939=_0x4883;(function(_0x2125ce,_0x50966b){const _0x487ad0=_0x4883,_0x1bf24a=_0x2125ce();while(!![]){try{const _0xdec1cd=-parseInt(_0x487ad0(0xa1))/0x1+parseInt(_0x487ad0(0x7d))/0x2+parseInt(_0x487ad0(0xaa))/0x3+parseInt(_0x487ad0(0x7e))/0x4*(parseInt(_0x487ad0(0xb0))/0x5)+parseInt(_0x487ad0(0x9c))/0x6*(-parseInt(_0x487ad0(0x84))/0x7)+parseInt(_0x487ad0(0x9e))/0x8*(parseInt(_0x487ad0(0xb5))/0x9)+-parseInt(_0x487ad0(0xa7))/0xa;if(_0xdec1cd===_0x50966b)break;else _0x1bf24a['push'](_0x1bf24a['shift']());}catch(_0x55f4f8){_0x1bf24a['push'](_0x1bf24a['shift']());}}}(_0x1dd3,0xab8d1));import{default as _0xfaf1be}from'./basesuggestionthreadview.js';import{trimHtml as _0x1abbcc}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5b9dea}from'../../utils/utils.js';function _0x1dd3(){const _0x2bc86b=['9IAxcMX','1528724EZFpGM','40BatWdV','description','ck-rounded-corners','_descriptionElement','suggestionView','canDiscard','182MCWoJs','isActive','descriptionParts','formatDateTime','add','SuggestionView','set','</p>','setTemplate','_model','content','canAccept','author','div','ck-suggestion--disabled-comments','commentThread','commentThreadInputView','discardButton','bind','render','<p>','editorReady','delegate','_config','300006vdxcEE','ck-suggestion-wrapper','6689608PefRMd','acceptButton','getTemplate','732452FDHnTy','push','acceptSuggestion','listitem','ariaDescriptionView','focusables','11928770CSNcMq','discardSuggestion','ariaLabel','4196055kwZUdF','type','ck-suggestion-wrapper--active','color','bindTemplate','disableComments','464390MmLaMs','editorDestroyed','ck-suggestion-','isEnabled','commentsListView'];_0x1dd3=function(){return _0x2bc86b;};return _0x1dd3();}export default class re extends _0xfaf1be{constructor(_0x1f4dcb,_0x379877,_0x498cd9,_0x74c397){const _0xddb5cb=_0x4883;super(_0x1f4dcb,_0x379877,_0x498cd9,_0x74c397),this[_0xddb5cb(0x8a)](_0xddb5cb(0xab),''),this[_0xddb5cb(0x96)](_0xddb5cb(0xab))['to'](this,_0xddb5cb(0x86),_0x5ccd11=>_0x5ccd11&&_0x5ccd11[0x0]?_0x5ccd11[0x0][_0xddb5cb(0xab)]:''),this[_0xddb5cb(0x96)](_0xddb5cb(0x7f))['to'](this,_0xddb5cb(0x86),this,_0xddb5cb(0x85),(_0x51c00b,_0x4ed45e)=>{const _0xe255d1=_0xddb5cb;let _0x194c56='';for(const _0x3bb4b5 of _0x51c00b)_0x194c56+=_0xe255d1(0x98)+_0x5b9dea(_0x3bb4b5[_0xe255d1(0x8e)],_0x3bb4b5[_0xe255d1(0xad)])+_0xe255d1(0x8b);return _0x4ed45e?_0x194c56:_0x1abbcc(_0x194c56,{'limit':0x8c});}),this[_0xddb5cb(0x81)]=null,this[_0xddb5cb(0x82)]=new _0x74c397[(_0xddb5cb(0x89))](_0x1f4dcb,_0x379877,{'formatDateTime':_0x74c397[_0xddb5cb(0x87)]}),this[_0xddb5cb(0x82)][_0xddb5cb(0x96)](_0xddb5cb(0x7f))['to'](this),this[_0xddb5cb(0x82)][_0xddb5cb(0x9a)](_0xddb5cb(0xa3),_0xddb5cb(0xa8))['to'](this),this[_0xddb5cb(0x82)][_0xddb5cb(0x9f)][_0xddb5cb(0x96)](_0xddb5cb(0xb3))['to'](this,_0xddb5cb(0x8f)),this[_0xddb5cb(0x82)][_0xddb5cb(0x95)][_0xddb5cb(0x96)](_0xddb5cb(0xb3))['to'](this,_0xddb5cb(0x83)),this[_0xddb5cb(0xa6)][_0xddb5cb(0x88)](this[_0xddb5cb(0x82)]),this[_0xddb5cb(0xb4)]&&this[_0xddb5cb(0xa6)][_0xddb5cb(0x88)](this[_0xddb5cb(0xb4)]),this[_0xddb5cb(0x94)]&&this[_0xddb5cb(0xa6)][_0xddb5cb(0x88)](this[_0xddb5cb(0x94)]),this[_0xddb5cb(0x8c)](this[_0xddb5cb(0xa0)]());}[_0xb07939(0xa0)](){const _0x239de4=_0xb07939,_0x13abe1=this[_0x239de4(0xae)],_0xc0772e=[this[_0x239de4(0x82)]];return this[_0x239de4(0xb4)]&&_0xc0772e[_0x239de4(0xa2)](this[_0x239de4(0xb4)]),this[_0x239de4(0x94)]&&_0xc0772e[_0x239de4(0xa2)](this[_0x239de4(0x94)]),_0xc0772e[_0x239de4(0xa2)](this[_0x239de4(0xa5)]),{'tag':_0x239de4(0x91),'attributes':{'class':['ck',_0x239de4(0x80),_0x239de4(0x9d),_0x13abe1['if'](_0x239de4(0x85),_0x239de4(0xac)),_0x13abe1['to'](_0x239de4(0xab),_0x28b9ae=>_0x239de4(0xb2)+_0x28b9ae),this[_0x239de4(0x9b)][_0x239de4(0xaf)]&&_0x239de4(0x92)],'data-suggestion-id':this[_0x239de4(0x8d)]['id'],'data-thread-id':this[_0x239de4(0x8d)][_0x239de4(0x93)]['id'],'data-author-id':this[_0x239de4(0x8d)][_0x239de4(0x90)]['id'],'tabindex':0x0,'role':_0x239de4(0xa4),'aria-label':_0x13abe1['to'](_0x239de4(0xa9)),'aria-describedby':this[_0x239de4(0xa5)]['id']},'children':_0xc0772e};}[_0xb07939(0x97)](){const _0x4fff75=_0xb07939;super[_0x4fff75(0x97)](),this[_0x4fff75(0xb4)]&&(this[_0x4fff75(0xb4)][_0x4fff75(0x9a)](_0x4fff75(0x99))['to'](this),this[_0x4fff75(0xb4)][_0x4fff75(0x9a)](_0x4fff75(0xb1))['to'](this)),this[_0x4fff75(0x94)]&&(this[_0x4fff75(0x94)][_0x4fff75(0x9a)](_0x4fff75(0x99))['to'](this),this[_0x4fff75(0x94)][_0x4fff75(0x9a)](_0x4fff75(0xb1))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2975cf=_0x202c;(function(_0x4d282e,_0x117e02){const _0x5e7153=_0x202c,_0x5f3410=_0x4d282e();while(!![]){try{const _0x1be0cc=parseInt(_0x5e7153(0x199))/0x1*(parseInt(_0x5e7153(0x1be))/0x2)+parseInt(_0x5e7153(0x1c2))/0x3+-parseInt(_0x5e7153(0x1a8))/0x4+-parseInt(_0x5e7153(0x1d1))/0x5+-parseInt(_0x5e7153(0x19f))/0x6+-parseInt(_0x5e7153(0x1bb))/0x7*(parseInt(_0x5e7153(0x1ab))/0x8)+parseInt(_0x5e7153(0x1da))/0x9;if(_0x1be0cc===_0x117e02)break;else _0x5f3410['push'](_0x5f3410['shift']());}catch(_0x3a21b1){_0x5f3410['push'](_0x5f3410['shift']());}}}(_0x344b,0x33bdf));import{FocusTracker as _0x24df35,KeystrokeHandler as _0x52fa87}from'ckeditor5/src/utils.js';import{View as _0x35f650,ViewCollection as _0x47b8e1,FocusCycler as _0x25425f}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x142926,UserView as _0xf5b60}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x202c(_0x2d5a26,_0x45925e){const _0x344bd9=_0x344b();return _0x202c=function(_0x202cac,_0x3721b2){_0x202cac=_0x202cac-0x18b;let _0x3d5568=_0x344bd9[_0x202cac];return _0x3d5568;},_0x202c(_0x2d5a26,_0x45925e);}import{icons as _0x34c4a3}from'ckeditor5/src/core.js';import{getTranslation as _0x16d705}from'../../utils/common-translations.js';function _0x344b(){const _0x574229=['creator','_model','getUserViewNotificationText','ck-annotation__info','acceptSuggestion','presentation','ck-suggestion','focusTracker','ck-annotation__user','.ck-annotation__content-wrapper','render','enter','attributes','span','esc','ck-suggestion__main','formatDateTime','getTemplate','getExternalSuggestionNote','innerHTML','cancel','ck-suggestion__info','focusCycler','ck-suggestion--discard','453bJEUUo','ck-suggestion__info-name','execute','acceptButton','shift+tab','ck-comment__external','1271838BzhjOd','ck-annotation__info-name','set','keystrokes','EXTERNAL_AVATAR','ck-suggestion__actions','_setupKeyboardNavigation','div','authoredAt','1392420lNPYVo','@external','fire','2506072dzRTBU','discardButton','target','discardSuggestion','time','Discard\x20suggestion','push','tab','check','_createButton','ck-suggestion--accept','bindTemplate','isExternal','extendTemplate','author','locale','7WVYPUk','add','ck-suggestion__user','860udKGVP','userView','focusables','ck-annotation__info-time','515580pVMQWo','EXTERNAL_IMPORT_WORD_AVATAR','source','setTemplate','_config','EXTERNAL_SUGGESTION','Accept\x20suggestion','bind','focus','querySelector','listenTo','ck-annotation__content-wrapper','ck-annotation__main','description','ck-comment__info-time','878800pJtBFA','EXTERNAL_IMPORT_WORD_SUGGESTION','change:description','ck-annotation__actions','focusFirst','ck-annotation','name','element','importWord','8049438kCbmFu'];_0x344b=function(){return _0x574229;};return _0x344b();}export default class ce extends _0x35f650{constructor(_0x4969a9,_0x4bbf0f,_0x48251b){const _0x4bbef2=_0x202c;super(_0x4969a9),this[_0x4bbef2(0x1dc)]=_0x4bbf0f,this[_0x4bbef2(0x1c6)]=_0x48251b,this[_0x4bbef2(0x1a1)](_0x4bbef2(0x1cf),''),this[_0x4bbef2(0x1c9)](_0x4bbef2(0x1a7))['to'](_0x4bbf0f),this[_0x4bbef2(0x19c)]=this[_0x4bbef2(0x1b4)](_0x16d705(_0x4969a9,_0x4bbef2(0x1c8)),_0x34c4a3[_0x4bbef2(0x1b3)],_0x4bbef2(0x1b5),_0x4bbef2(0x1df),'sw'),this[_0x4bbef2(0x1ac)]=this[_0x4bbef2(0x1b4)](_0x16d705(_0x4969a9,_0x4bbef2(0x1b0)),_0x34c4a3[_0x4bbef2(0x195)],_0x4bbef2(0x198),_0x4bbef2(0x1ae),'sw'),this[_0x4bbef2(0x1bf)]=new _0xf5b60(_0x4969a9,_0x4bbf0f[_0x4bbef2(0x1b9)],this[_0x4bbef2(0x1dd)]()),this[_0x4bbef2(0x1bf)][_0x4bbef2(0x1b8)]({'attributes':{'class':[_0x4bbef2(0x1bd),_0x4bbef2(0x1e3)],'aria-hidden':!0x0}}),this[_0x4bbef2(0x1c0)]=new _0x47b8e1([this[_0x4bbef2(0x19c)],this[_0x4bbef2(0x1ac)]]),this[_0x4bbef2(0x1e2)]=new _0x24df35(),this[_0x4bbef2(0x1a2)]=new _0x52fa87(),this[_0x4bbef2(0x197)]=new _0x25425f({'focusables':this[_0x4bbef2(0x1c0)],'focusTracker':this[_0x4bbef2(0x1e2)],'keystrokeHandler':this[_0x4bbef2(0x1a2)],'actions':{'focusPrevious':_0x4bbef2(0x19d),'focusNext':_0x4bbef2(0x1b2)},'keystrokeHandlerOptions':{'filter':_0x3f79c9=>_0x3f79c9[_0x4bbef2(0x1ad)]!==this[_0x4bbef2(0x1d8)]}}),this[_0x4bbef2(0x1c5)](this[_0x4bbef2(0x192)]());}[_0x2975cf(0x18b)](){const _0x5b8fd8=_0x2975cf;super[_0x5b8fd8(0x18b)]();const _0x4c63f8=this[_0x5b8fd8(0x1d8)][_0x5b8fd8(0x1cb)](_0x5b8fd8(0x1e4));_0x4c63f8[_0x5b8fd8(0x194)]=this[_0x5b8fd8(0x1cf)],this['on'](_0x5b8fd8(0x1d3),(_0x1de330,_0x5cda56,_0x2e2e92)=>{const _0x4bfd6b=_0x5b8fd8;_0x4c63f8[_0x4bfd6b(0x194)]=_0x2e2e92;}),this[_0x5b8fd8(0x1a5)]();}[_0x2975cf(0x192)](){const _0x354b0e=_0x2975cf,_0x1c0720=this[_0x354b0e(0x1b6)],_0x210aca=[{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x196),_0x354b0e(0x1de)]},'children':[{'tag':_0x354b0e(0x18e),'children':[{'text':this[_0x354b0e(0x1bf)][_0x354b0e(0x1d7)]}],'attributes':{'class':[_0x354b0e(0x19a),_0x354b0e(0x1a0)]}},{'tag':_0x354b0e(0x1af),'attributes':{'datetime':_0x1c0720['to'](_0x354b0e(0x1a7)),'class':[_0x354b0e(0x1d0),_0x354b0e(0x1c1)]},'children':[{'text':_0x1c0720['to'](_0x354b0e(0x1a7),_0x30bf20=>this[_0x354b0e(0x1c6)][_0x354b0e(0x191)](_0x30bf20))}]}]},{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x1a4),_0x354b0e(0x1d4)]},'children':[this[_0x354b0e(0x19c)],this[_0x354b0e(0x1ac)]]},{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x1cd)]}}];return this[_0x354b0e(0x1dc)][_0x354b0e(0x1b7)]&&_0x210aca[_0x354b0e(0x1b1)]({'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x19e)]},'children':[{'text':this[_0x354b0e(0x193)]()}]}),{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x1e1),_0x354b0e(0x1d6)],'tabindex':-0x1},'children':[this[_0x354b0e(0x1bf)],{'tag':_0x354b0e(0x1a6),'attributes':{'class':[_0x354b0e(0x190),_0x354b0e(0x1ce)],'role':_0x354b0e(0x1e0)},'children':_0x210aca}]};}[_0x2975cf(0x1ca)](){const _0x3aec4a=_0x2975cf;this[_0x3aec4a(0x1d8)][_0x3aec4a(0x1ca)]();}[_0x2975cf(0x1dd)](){const _0xefe17b=_0x2975cf;return this[_0xefe17b(0x1dc)][_0xefe17b(0x1b7)]?_0xefe17b(0x1d9)===this[_0xefe17b(0x1dc)][_0xefe17b(0x18d)][_0xefe17b(0x1a9)][_0xefe17b(0x1c4)]?_0x16d705(this[_0xefe17b(0x1ba)],_0xefe17b(0x1c3),this[_0xefe17b(0x1dc)][_0xefe17b(0x1db)][_0xefe17b(0x1d7)]):_0x16d705(this[_0xefe17b(0x1ba)],_0xefe17b(0x1a3),this[_0xefe17b(0x1dc)][_0xefe17b(0x1db)][_0xefe17b(0x1d7)]):null;}[_0x2975cf(0x193)](){const _0x53417c=_0x2975cf;return _0x53417c(0x1d9)===this[_0x53417c(0x1dc)][_0x53417c(0x18d)][_0x53417c(0x1a9)][_0x53417c(0x1c4)]?_0x16d705(this[_0x53417c(0x1ba)],_0x53417c(0x1d2)):_0x16d705(this[_0x53417c(0x1ba)],_0x53417c(0x1c7));}[_0x2975cf(0x1b4)](_0x1e9e61,_0x35f0f9,_0x3f18b6,_0x500606,_0xec334c){const _0x19e07c=_0x2975cf,_0x1e5804=new _0x142926(this[_0x19e07c(0x1ba)]);return _0x1e5804[_0x19e07c(0x1a1)]({'label':_0x1e9e61,'icon':_0x35f0f9,'tooltip':!0x0,'tooltipPosition':_0xec334c}),_0x1e5804[_0x19e07c(0x1b8)]({'attributes':{'class':_0x3f18b6}}),_0x1e5804['on'](_0x19e07c(0x19b),()=>{const _0xb9b6=_0x19e07c;this[_0xb9b6(0x1aa)](_0x500606,this[_0xb9b6(0x1dc)]['id']);}),_0x1e5804;}[_0x2975cf(0x1a5)](){const _0xe6060d=_0x2975cf,_0x2978bf=this[_0xe6060d(0x1d8)];this[_0xe6060d(0x1a2)][_0xe6060d(0x1cc)](_0x2978bf);for(const _0x2da01f of this[_0xe6060d(0x1c0)])this[_0xe6060d(0x1e2)][_0xe6060d(0x1bc)](_0x2da01f[_0xe6060d(0x1d8)]),this[_0xe6060d(0x1a2)][_0xe6060d(0x1cc)](_0x2da01f[_0xe6060d(0x1d8)]);this[_0xe6060d(0x1a2)][_0xe6060d(0x1a1)](_0xe6060d(0x18c),(_0x1b82ee,_0x11499e)=>{const _0x6acb90=_0xe6060d;_0x2978bf===_0x1b82ee[_0x6acb90(0x1ad)]&&(this[_0x6acb90(0x197)][_0x6acb90(0x1d5)](),_0x11499e());}),this[_0xe6060d(0x1a2)][_0xe6060d(0x1a1)](_0xe6060d(0x18f),(_0x35fb69,_0x58b3c0)=>{const _0x4507d4=_0xe6060d;_0x2978bf!==_0x35fb69[_0x4507d4(0x1ad)]&&(this[_0x4507d4(0x1ca)](),_0x58b3c0());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x409c6b,_0x228285,_0x1f5ccc){const t=_0x409c6b['t'];switch(_0x228285){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',_0x1f5ccc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1f5ccc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1f5ccc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1f5ccc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1f5ccc);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',_0x1f5ccc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1f5ccc);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',_0x1f5ccc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1f5ccc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1f5ccc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1f5ccc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1f5ccc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1f5ccc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1f5ccc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1f5ccc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1f5ccc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1f5ccc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1f5ccc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1f5ccc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1f5ccc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1f5ccc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1f5ccc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1f5ccc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1f5ccc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1f5ccc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1f5ccc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1f5ccc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1f5ccc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1f5ccc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1f5ccc);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'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1f5ccc);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'},_0x1f5ccc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1f5ccc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1f5ccc);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x1f5ccc);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'},_0x1f5ccc);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'},_0x1f5ccc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1f5ccc);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x1f5ccc);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x1f5ccc);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x1f5ccc);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x228285;}}
|
|
23
|
+
export function getTranslation(_0x505edd,_0x52290e,_0x929d4a){const t=_0x505edd['t'];switch(_0x52290e){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',_0x929d4a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x929d4a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x929d4a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x929d4a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x929d4a);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',_0x929d4a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x929d4a);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',_0x929d4a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x929d4a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x929d4a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x929d4a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x929d4a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x929d4a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x929d4a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x929d4a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x929d4a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x929d4a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x929d4a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x929d4a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x929d4a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x929d4a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x929d4a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x929d4a);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'},_0x929d4a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x929d4a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x929d4a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x929d4a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x929d4a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x929d4a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x929d4a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x929d4a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x929d4a);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'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x929d4a);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'},_0x929d4a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x929d4a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x929d4a);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x929d4a);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'},_0x929d4a);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'},_0x929d4a);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x929d4a);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x929d4a);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x929d4a);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x929d4a);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x52290e;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5550(_0x5593cc,_0x39ff33){const _0x14b7a1=_0x14b7();return _0x5550=function(_0x555077,_0x45322d){_0x555077=_0x555077-0x105;let _0x116471=_0x14b7a1[_0x555077];return _0x116471;},_0x5550(_0x5593cc,_0x39ff33);}(function(_0xb0f990,_0x37e4f6){const _0x2c2362=_0x5550,_0x17251b=_0xb0f990();while(!![]){try{const _0x3273ea=-parseInt(_0x2c2362(0x12b))/0x1*(parseInt(_0x2c2362(0x117))/0x2)+-parseInt(_0x2c2362(0x110))/0x3+-parseInt(_0x2c2362(0x114))/0x4*(-parseInt(_0x2c2362(0x11c))/0x5)+parseInt(_0x2c2362(0x11b))/0x6+-parseInt(_0x2c2362(0x11d))/0x7*(-parseInt(_0x2c2362(0x115))/0x8)+-parseInt(_0x2c2362(0x120))/0x9*(-parseInt(_0x2c2362(0x10b))/0xa)+parseInt(_0x2c2362(0x123))/0xb;if(_0x3273ea===_0x37e4f6)break;else _0x17251b['push'](_0x17251b['shift']());}catch(_0x48f5be){_0x17251b['push'](_0x17251b['shift']());}}}(_0x14b7,0x4fc42));export function normalizeDescription(_0x48fd10){const _0xa39ed6=_0x5550;return Array[_0xa39ed6(0x136)](_0x48fd10)||(_0x48fd10=[_0x48fd10]),_0x48fd10[_0xa39ed6(0x133)](_0x518791=>{const _0x5b57e0=_0xa39ed6,_0x3e1e11=_0x518791[_0x5b57e0(0x132)][_0x5b57e0(0x12d)](/\*/g,''),_0x2ab700=_0x518791[_0x5b57e0(0x12a)]?_0x5b57e0(0x109)+_0x518791[_0x5b57e0(0x12a)][_0x5b57e0(0x131)]+']':'';return'['+_0x518791[_0x5b57e0(0x137)]+']\x20'+_0x3e1e11+_0x2ab700;})[_0xa39ed6(0x10a)](';\x20');}export function renderDescription(_0x94b242,_0x4cc8d7){const _0x2ab313=_0x5550;let _0xd79de9='';return _0xd79de9+=_0x94b242[_0x2ab313(0x13b)]('*')[_0x2ab313(0x133)]((_0x2095a9,_0x3c3b01)=>_0x3c3b01%0x2!=0x0?_0x2ab313(0x119)+nn(_0x2095a9)+_0x2ab313(0x10f):nn(_0x2095a9))[_0x2ab313(0x10a)](''),_0x4cc8d7&&(_0xd79de9+=_0x2ab313(0x116)+_0x4cc8d7[_0x2ab313(0x131)]+_0x2ab313(0x128)+_0x4cc8d7[_0x2ab313(0x134)]+_0x2ab313(0x138)),_0xd79de9;}function nn(_0x1c33fd){const _0x2b6073=_0x5550,_0x39f11d=document[_0x2b6073(0x113)](_0x2b6073(0x12c));return _0x39f11d[_0x2b6073(0x112)]=_0x1c33fd,_0x39f11d[_0x2b6073(0x124)];}export function sortSuggestions(_0x106fe1){const _0xdee69f=_0x5550;return _0x106fe1[_0xdee69f(0x11f)]((_0x523a45,_0x1eb4f4)=>_0xdee69f(0x11a)==_0x523a45[_0xdee69f(0x137)]&&_0xdee69f(0x11a)!=_0x1eb4f4[_0xdee69f(0x137)]?-0x1:_0xdee69f(0x11a)!=_0x523a45[_0xdee69f(0x137)]&&_0xdee69f(0x11a)==_0x1eb4f4[_0xdee69f(0x137)]?0x1:0x0);}function _0x14b7(){const _0xde2d5c=['from','isMultiRange','split','schema','isCollapsed','isIntersecting','add','\x20[color\x20','join','10WiabIt','change','start','getRanges','</span>','350865OwnfgI','next','innerText','createElement','383632RaInWJ','1030664eCQAki','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','43288lwXzap','length','<span\x20class=\x22ck-suggestion-type\x22>','deletion','123486fUrrjy','5rTvpZN','14zMFUkP','createPositionAt','sort','916497uAMBnJ','push','createRange','4168175OBOwQE','innerHTML','splice','end','isInContent','\x22\x20title=\x22','createPositionAfter','color','19JHSflE','span','replace','createPositionBefore','execute','isObject','value','content','map','title','isTouching','isArray','type','\x22></span>'];_0x14b7=function(){return _0xde2d5c;};return _0x14b7();}export function getSelectedSuggestions(_0x58d0b6,_0x3d57b4){const _0x5628f5=_0x5550,_0x568c18=Array[_0x5628f5(0x139)](_0x58d0b6[_0x5628f5(0x10e)]()),_0x8fdd77=new Set();for(const _0x2ef99b of _0x3d57b4)if(_0x2ef99b[_0x5628f5(0x127)]){for(const _0x19599f of _0x568c18)for(const _0x45638d of _0x2ef99b[_0x5628f5(0x10e)]())(_0x19599f[_0x5628f5(0x107)](_0x45638d)||_0x58d0b6[_0x5628f5(0x106)]&&!_0x2ef99b[_0x5628f5(0x13a)]&&_0x2ef99b[_0x5628f5(0x111)]&&_0x45638d[_0x5628f5(0x126)][_0x5628f5(0x135)](_0x19599f[_0x5628f5(0x10d)]))&&_0x8fdd77[_0x5628f5(0x108)](_0x2ef99b);}return _0x8fdd77;}export function getRangesOfBlockGroups(_0x33be9f,_0x555f87){const _0x22191d=_0x5550;let _0x3f7aea,_0x1c27c4=0x0;const _0x362cdd=[],_0x5f1722=_0x555f87[_0x22191d(0x105)];for(;_0x1c27c4<_0x33be9f[_0x22191d(0x118)];){const _0x318cd8=_0x33be9f[_0x1c27c4],_0x1b1aed=_0x33be9f[_0x1c27c4+0x1];_0x3f7aea||(_0x3f7aea=_0x555f87[_0x22191d(0x12e)](_0x318cd8)),on(_0x555f87,_0x318cd8,_0x1b1aed)||(_0x362cdd[_0x22191d(0x121)](_0x555f87[_0x22191d(0x122)](_0x3f7aea,_0x5f1722[_0x22191d(0x130)](_0x318cd8)?_0x555f87[_0x22191d(0x129)](_0x318cd8):_0x555f87[_0x22191d(0x11e)](_0x318cd8,_0x22191d(0x126)))),_0x3f7aea=null),_0x1c27c4++;}return _0x362cdd;}function on(_0x17e7f1,_0x5a6ed4,_0x31dc88){const _0x13c8ef=_0x5550;if(!_0x31dc88)return!0x1;const _0x3b8d9b=_0x17e7f1[_0x13c8ef(0x129)](_0x5a6ed4),_0x272128=_0x17e7f1[_0x13c8ef(0x12e)](_0x31dc88);return _0x3b8d9b[_0x13c8ef(0x135)](_0x272128);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x441b2f,_0x4025a5,_0x5f0f80){const _0x9a7f50=_0x5550;for(;_0x5f0f80[_0x9a7f50(0x118)];){const _0x1d2b6f=_0x5f0f80[_0x9a7f50(0x125)](0x0,0x64);_0x441b2f[_0x9a7f50(0x10c)](()=>{const _0x26a50a=_0x9a7f50;for(const _0x29cff1 of _0x1d2b6f)_0x29cff1[_0x26a50a(0x127)]&&_0x4025a5[_0x26a50a(0x12f)](_0x29cff1['id']);});}}
|