@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240717.0 → 0.0.0-nightly-20240719.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/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.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x116f7b=_0x2719;(function(_0x434b74,_0x2bce63){const _0x37fd53=_0x2719,_0x285983=_0x434b74();while(!![]){try{const _0x23404e=-parseInt(_0x37fd53(0x16d))/0x1*(parseInt(_0x37fd53(0x1cb))/0x2)+-parseInt(_0x37fd53(0x1d6))/0x3+-parseInt(_0x37fd53(0x185))/0x4+parseInt(_0x37fd53(0x1ab))/0x5+-parseInt(_0x37fd53(0x1e2))/0x6+-parseInt(_0x37fd53(0x1a6))/0x7*(-parseInt(_0x37fd53(0x19a))/0x8)+parseInt(_0x37fd53(0x163))/0x9;if(_0x23404e===_0x2bce63)break;else _0x285983['push'](_0x285983['shift']());}catch(_0x404e1c){_0x285983['push'](_0x285983['shift']());}}}(_0x90c0,0x3b6ac));import{Plugin as _0x2e309d}from'ckeditor5/src/core.js';function _0x90c0(){const _0x38e85e=['change:previous','head','editor','actionView','commands','_viewToController','change:activeAnnotations','plugins','_handleSuggestionControllerDelayed','button','requires','refreshSelectedViews','commandName','8621289JTbNJg','menuitemcheckbox','acceptButton','focus','stopListening','remove','type','items','comments.maxCommentCharsWhenCollapsed','bind','1eYHwvl','_destroyController','createAnnotation','Accept\x20all\x20suggestions','getRanges','_suggestionToController','keys','TrackChangesUI','trackChanges.SuggestionThreadView','toMany','buttonView','suggestionChanged','isEnabled','comments.editorConfig','_updateController','discardAllSuggestions','menuBar:trackChanges','previous','getSuggestion','isMultiRange','CommentsUI','trackChanges','addComment','SuggestionThreadView','1076276rLRLCt','panelView','_handleControllerBuffer','lowest','trackChanges.disableComments','view','editing','_annotationViews','acceptAllSuggestions','_createToolbarButton','getAllAdjacentSuggestions','isDirty','getDescriptions','_bindAnnotationToEditors','_refreshActiveMarkers','descriptionFactory','arrowView','source','has','clear','createAnnotationView','584GPcJSM','comments','isOn','getMarkerNames','getByInnerView','CommentsRepository','length','Accept\x20all\x20selected\x20suggestions','mainView','some','switchbutton','destroy','29974grOQsl','size','set','descriptionParts','listenTo','123270BrwJyI','Discard\x20all\x20selected\x20suggestions','children','discardButton','addSourceCollector','unbind','reduce','_disableComments','delete','_unbindEditors','CommentView','filter','value','TrackChangesEditing','getMarkers','discardSelectedSuggestions','componentFactory','hasSuggestion','delegate','comments.maxThreadTotalWeight','init','_addUIComponentsToFactory','pluginName','config','menu','comments.maxCommentsWhenCollapsed','suggestionLoaded','registerAnnotation','isInContent','innerView','locale','execute','388210nioRhZ','get','Track\x20changes','_createMenuBarMenu','suggestion-','from','getFirstRange','menuitem','push','createCommentThreadController','Annotations','1350936xUmPIM','EditorAnnotations','add','model','acceptSelectedSuggestions','Discard\x20all\x20suggestions','suggestionUnloaded','_initializeController','commentThread','getJoined','activeMarkers','values','829818cBVmnI','define','activeAnnotations','separator'];_0x90c0=function(){return _0x38e85e;};return _0x90c0();}import{Collection as _0x4958bf}from'ckeditor5/src/utils.js';function _0x2719(_0x41eae3,_0x2353aa){const _0x90c05a=_0x90c0();return _0x2719=function(_0x2719cc,_0x353f85){_0x2719cc=_0x2719cc-0x15d;let _0x567fb5=_0x90c05a[_0x2719cc];return _0x567fb5;},_0x2719(_0x41eae3,_0x2353aa);}import{addListToDropdown as _0x234b59,createDropdown as _0x490f57,ListSeparatorView as _0x3cf276,MenuBarMenuView as _0x5c4fcd,MenuBarMenuListView as _0x11cb26,MenuBarMenuListItemView as _0xc11169,MenuBarMenuListItemButtonView as _0x24f8d4,SplitButtonView as _0xdc56f0,ViewModel as _0x15b623}from'ckeditor5/src/ui.js';import{Users as _0x3564f4,getDateTimeFormatter as _0x5205e2,getAllMarkersDomElementsSorted as _0x236c86}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x46cbe from'./trackchangesediting.js';import _0x482ce9 from'./ui/suggestioncontroller.js';import _0x14efa9 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0xe423f6}from'./utils/common-translations.js';import _0x3d8244 from'../theme/icons/track-changes.svg';export default class d extends _0x2e309d{static get[_0x116f7b(0x160)](){const _0x815604=_0x116f7b;return[_0x46cbe,_0x3564f4,_0x815604(0x19f),_0x815604(0x1d5),_0x815604(0x1d7)];}static get[_0x116f7b(0x1c1)](){const _0x2e75ff=_0x116f7b;return _0x2e75ff(0x174);}constructor(_0x36e033){const _0x3ad046=_0x116f7b;super(_0x36e033),this[_0x3ad046(0x172)]=new Map(),this[_0x3ad046(0x1eb)]=new Map(),this[_0x3ad046(0x18c)]=new Map(),this[_0x3ad046(0x187)]=new Map();const _0x134888=this[_0x3ad046(0x1e8)][_0x3ad046(0x1c2)];_0x134888[_0x3ad046(0x1e3)](_0x3ad046(0x175),_0x14efa9),_0x134888[_0x3ad046(0x1e3)](_0x3ad046(0x189),!0x1),this[_0x3ad046(0x1b2)]=_0x134888[_0x3ad046(0x1cc)](_0x3ad046(0x189));}[_0x116f7b(0x15e)](_0x366b0a,_0x17d27a){const _0x5b02ba=_0x116f7b;0x0===this[_0x5b02ba(0x187)][_0x5b02ba(0x1a7)]&&setTimeout(()=>{const _0x85611a=_0x5b02ba;for(const [_0x321369,_0x20bcd5]of this[_0x85611a(0x187)]){const _0x4c4cc5=this[_0x85611a(0x172)][_0x85611a(0x197)](_0x321369);_0x4c4cc5||_0x20bcd5?_0x4c4cc5&&_0x20bcd5&&this[_0x85611a(0x16e)](_0x321369):this[_0x85611a(0x1dd)](_0x321369);}this[_0x85611a(0x187)][_0x85611a(0x198)](),this[_0x85611a(0x1e8)][_0x85611a(0x15d)][_0x85611a(0x1cc)](_0x85611a(0x1d7))[_0x85611a(0x161)](),this[_0x85611a(0x193)]();},0xa),this[_0x5b02ba(0x187)][_0x5b02ba(0x1a8)](_0x366b0a,_0x17d27a);}[_0x116f7b(0x1bf)](){const _0x4215de=_0x116f7b,_0x438f1d=this[_0x4215de(0x1e8)],_0x3ad84a=_0x438f1d[_0x4215de(0x15d)][_0x4215de(0x1cc)](_0x4215de(0x1b8)),_0x1ec795=_0x438f1d[_0x4215de(0x15d)][_0x4215de(0x1cc)](_0x4215de(0x1d5)),_0x47d208=_0x438f1d[_0x4215de(0x15d)][_0x4215de(0x1cc)](_0x4215de(0x1d7)),_0x477154=_0x438f1d[_0x4215de(0x15d)][_0x4215de(0x1cc)](_0x4215de(0x19f));this[_0x4215de(0x1c0)](),_0x47d208[_0x4215de(0x1af)](()=>{const _0x19ff29=_0x4215de,_0x1c965f=[];for(const [_0x20c404,_0xe9fd18]of Array[_0x19ff29(0x1d0)](this[_0x19ff29(0x172)])){const _0x2b2ad8=_0x20c404[_0x19ff29(0x18f)](),_0x350ae7=[];for(const _0x2ca653 of _0x2b2ad8){if(!_0x2ca653[_0x19ff29(0x1c7)])continue;if(_0x2ca653[_0x19ff29(0x180)]){_0x350ae7[_0x19ff29(0x1d3)](..._0x2ca653[_0x19ff29(0x171)]());continue;}const _0x59bbc7=_0x2ca653[_0x19ff29(0x1d1)]();if(_0x350ae7[_0x19ff29(0x1a0)]>0x0){const _0x587570=_0x350ae7[0x0][_0x19ff29(0x1df)](_0x59bbc7);if(_0x587570){_0x350ae7[0x0]=_0x587570;continue;}}_0x350ae7[_0x19ff29(0x1d3)](_0x59bbc7);}_0x1c965f[_0x19ff29(0x1d3)]([_0xe9fd18[_0x19ff29(0x18a)],_0x350ae7]);}return _0x1c965f;}),this[_0x4215de(0x1aa)](_0x3ad84a,_0x4215de(0x1c5),(_0x197902,_0x4d88b2)=>{const _0x4909ed=_0x4215de;this[_0x4909ed(0x1aa)](_0x4d88b2,_0x4909ed(0x1e6),(_0x319fb9,_0x46169f,_0x5111aa,_0x55cc52)=>{const _0x40efa5=_0x4909ed;_0x4d88b2[_0x40efa5(0x1c7)]&&(null==_0x5111aa?(this[_0x40efa5(0x17b)](_0x55cc52[_0x40efa5(0x1e7)]),this[_0x40efa5(0x15e)](_0x4d88b2,!0x1)):(this[_0x40efa5(0x17b)](_0x5111aa[_0x40efa5(0x1e7)]),null==_0x55cc52&&this[_0x40efa5(0x15e)](_0x4d88b2,!0x0)));}),null!==_0x4d88b2[_0x4909ed(0x17e)]?this[_0x4909ed(0x17b)](_0x4d88b2[_0x4909ed(0x1e7)]):this[_0x4909ed(0x15e)](_0x4d88b2,!0x1);}),this[_0x4215de(0x1aa)](_0x3ad84a,_0x4215de(0x1dc),(_0x24f752,_0x98704f,_0x1db5e7)=>{const _0xce88d=_0x4215de;this[_0xce88d(0x167)](_0x98704f,_0xce88d(0x1e6)),this[_0xce88d(0x187)][_0xce88d(0x1b3)](_0x98704f),this[_0xce88d(0x172)][_0xce88d(0x197)](_0x98704f)&&this[_0xce88d(0x16e)](_0x98704f),_0x1db5e7&&this[_0xce88d(0x17b)](_0x1db5e7[_0xce88d(0x1e7)]);}),this[_0x4215de(0x1aa)](_0x3ad84a,_0x4215de(0x178),(_0x5163fe,_0x38b352)=>{const _0x1f3e4d=_0x4215de;this[_0x1f3e4d(0x17b)](_0x38b352);}),this[_0x4215de(0x1aa)](_0x1ec795,_0x4215de(0x1ec),()=>{const _0x3ad8bc=_0x4215de;this[_0x3ad8bc(0x193)]();}),this[_0x4215de(0x1aa)](_0x477154,_0x4215de(0x183),(_0x475955,{threadId:_0x4d5e1c,isFromAdapter:_0x378fe0})=>{const _0x512fae=_0x4215de;if(_0x378fe0||!_0x3ad84a[_0x512fae(0x1bc)](_0x4d5e1c))return;const _0x18ccb2=_0x3ad84a[_0x512fae(0x17f)](_0x4d5e1c);this[_0x512fae(0x172)][_0x512fae(0x1cc)](_0x18ccb2)[_0x512fae(0x18a)][_0x512fae(0x166)]();},{'priority':_0x4215de(0x188)});}[_0x116f7b(0x193)](){const _0x40f03f=_0x116f7b,_0x2f5db1=this[_0x40f03f(0x1e8)][_0x40f03f(0x15d)][_0x40f03f(0x1cc)](_0x40f03f(0x1d5)),_0x5132d5=this[_0x40f03f(0x1e8)][_0x40f03f(0x15d)][_0x40f03f(0x1cc)](_0x40f03f(0x1b8)),_0xb60448=Array[_0x40f03f(0x1d0)](_0x2f5db1[_0x40f03f(0x1e4)],_0x424271=>_0x424271[_0x40f03f(0x1c8)])[_0x40f03f(0x1b6)](_0x978b9f=>this[_0x40f03f(0x1eb)][_0x40f03f(0x197)](_0x978b9f)),_0x617d48=[];for(const _0x923c47 of _0xb60448){const _0x1e3220=this[_0x40f03f(0x1eb)][_0x40f03f(0x1cc)](_0x923c47)[_0x40f03f(0x1d9)][_0x40f03f(0x18f)]();_0x617d48[_0x40f03f(0x1d3)](..._0x1e3220[_0x40f03f(0x1b1)]((_0x54e345,_0x3b5951)=>[..._0x54e345,..._0x3b5951[_0x40f03f(0x19d)]()],[]));}_0x5132d5[_0x40f03f(0x1e0)]=_0x617d48;}[_0x116f7b(0x1c0)](){const _0x22e809=_0x116f7b,_0x2157b1=this[_0x22e809(0x1e8)],_0x4261d2=_0x2157b1[_0x22e809(0x1c9)],_0x89a143=_0xe423f6(_0x4261d2,_0x22e809(0x1cd)),_0x262b4d=new _0x4958bf([{'type':_0x22e809(0x1a4),'model':new _0x15b623({'withText':!0x0,'isToggleable':!0x0,'label':_0x89a143,'commandName':_0x22e809(0x182),'role':_0x22e809(0x164)})},{'type':_0x22e809(0x1e5)},{'type':_0x22e809(0x15f),'model':new _0x15b623({'withText':!0x0,'label':_0xe423f6(_0x4261d2,_0x22e809(0x170)),'commandName':_0x22e809(0x18d),'role':_0x22e809(0x1d2)})},{'type':_0x22e809(0x15f),'model':new _0x15b623({'withText':!0x0,'label':_0xe423f6(_0x4261d2,_0x22e809(0x1a1)),'commandName':_0x22e809(0x1da),'role':_0x22e809(0x1d2)})},{'type':_0x22e809(0x15f),'model':new _0x15b623({'withText':!0x0,'label':_0xe423f6(_0x4261d2,_0x22e809(0x1db)),'commandName':_0x22e809(0x17c),'role':_0x22e809(0x1d2)})},{'type':_0x22e809(0x15f),'model':new _0x15b623({'withText':!0x0,'label':_0xe423f6(_0x4261d2,_0x22e809(0x1ac)),'commandName':_0x22e809(0x1ba),'role':_0x22e809(0x1d2)})}]);for(const _0x4b39b2 of _0x262b4d)if(re(_0x4b39b2)){const _0xf02712=_0x2157b1[_0x22e809(0x1ea)][_0x22e809(0x1cc)](_0x4b39b2[_0x22e809(0x1d9)][_0x22e809(0x162)]);_0x4b39b2[_0x22e809(0x1d9)][_0x22e809(0x16c)](_0x22e809(0x19c),_0x22e809(0x179))['to'](_0xf02712,_0x22e809(0x1b7),_0x22e809(0x179));}_0x2157b1['ui'][_0x22e809(0x1bb)][_0x22e809(0x1d8)](_0x22e809(0x182),_0x402d3c=>this[_0x22e809(0x18e)](_0x402d3c,_0x262b4d,_0x89a143)),_0x2157b1['ui'][_0x22e809(0x1bb)][_0x22e809(0x1d8)](_0x22e809(0x17d),_0x1643e3=>this[_0x22e809(0x1ce)](_0x1643e3,_0x262b4d,_0x89a143));}[_0x116f7b(0x18e)](_0x6d07d1,_0x1850ca,_0xd1aa6){const _0x26dbb2=_0x116f7b,_0x51cb7e=_0x490f57(_0x6d07d1,_0xdc56f0),_0x26f0a7=this[_0x26dbb2(0x1e8)][_0x26dbb2(0x1ea)][_0x26dbb2(0x1cc)](_0x26dbb2(0x182));_0x51cb7e[_0x26dbb2(0x177)][_0x26dbb2(0x1a8)]({'tooltip':_0xd1aa6,'label':_0xd1aa6,'icon':_0x3d8244}),_0x51cb7e[_0x26dbb2(0x177)][_0x26dbb2(0x16c)](_0x26dbb2(0x19c))['to'](_0x26f0a7,_0x26dbb2(0x1b7)),_0x51cb7e[_0x26dbb2(0x177)]['on'](_0x26dbb2(0x1ca),()=>{const _0x2cbc1a=_0x26dbb2;_0x26f0a7[_0x2cbc1a(0x1ca)](),this[_0x2cbc1a(0x1e8)][_0x2cbc1a(0x18b)][_0x2cbc1a(0x18a)][_0x2cbc1a(0x166)]();}),_0x234b59(_0x51cb7e,_0x1850ca,{'role':_0x26dbb2(0x1c3)});const _0x13bbdc=[];for(const _0x3a2fc5 of _0x1850ca)re(_0x3a2fc5)&&_0x13bbdc[_0x26dbb2(0x1d3)](this[_0x26dbb2(0x1e8)][_0x26dbb2(0x1ea)][_0x26dbb2(0x1cc)](_0x3a2fc5[_0x26dbb2(0x1d9)][_0x26dbb2(0x162)]));const _0x325bd8=_0x51cb7e[_0x26dbb2(0x177)];return _0x325bd8[_0x26dbb2(0x1e9)][_0x26dbb2(0x1b0)](_0x26dbb2(0x179)),_0x325bd8[_0x26dbb2(0x195)][_0x26dbb2(0x1b0)](_0x26dbb2(0x179)),_0x325bd8[_0x26dbb2(0x1e9)][_0x26dbb2(0x16c)](_0x26dbb2(0x179))['to'](_0x26f0a7,_0x26dbb2(0x179)),_0x325bd8[_0x26dbb2(0x195)][_0x26dbb2(0x16c)](_0x26dbb2(0x179))[_0x26dbb2(0x176)](_0x13bbdc,_0x26dbb2(0x179),(..._0x52681d)=>_0x52681d[_0x26dbb2(0x1a3)](_0x109abe=>_0x109abe)),_0x51cb7e['on'](_0x26dbb2(0x1ca),_0x4743fd=>{const _0x5dcefa=_0x26dbb2;this[_0x5dcefa(0x1e8)][_0x5dcefa(0x1ca)](_0x4743fd[_0x5dcefa(0x196)][_0x5dcefa(0x162)]),this[_0x5dcefa(0x1e8)][_0x5dcefa(0x18b)][_0x5dcefa(0x18a)][_0x5dcefa(0x166)]();}),_0x51cb7e;}[_0x116f7b(0x1ce)](_0xb732bf,_0x47443f,_0x1da890){const _0x55a544=_0x116f7b,_0x6a2394=new _0x5c4fcd(_0xb732bf),_0x472595=this[_0x55a544(0x1e8)][_0x55a544(0x1ea)][_0x55a544(0x1cc)](_0x55a544(0x182));_0x6a2394[_0x55a544(0x177)][_0x55a544(0x1a8)]({'label':_0x1da890,'icon':_0x3d8244});const _0x53777e=new _0x11cb26(_0xb732bf);for(const _0x7aa341 of _0x47443f){if(_0x55a544(0x1e5)==_0x7aa341[_0x55a544(0x169)]){_0x53777e[_0x55a544(0x16a)][_0x55a544(0x1d8)](new _0x3cf276(_0xb732bf));continue;}const _0x5d262e=new _0xc11169(_0xb732bf,_0x6a2394),_0x17cf84=new _0x24f8d4(_0xb732bf),_0x59ee06=_0x7aa341[_0x55a544(0x1d9)];_0x17cf84[_0x55a544(0x16c)](...Object[_0x55a544(0x173)](_0x59ee06))['to'](_0x59ee06),_0x17cf84[_0x55a544(0x1bd)](_0x55a544(0x1ca))['to'](_0x6a2394),_0x17cf84['on'](_0x55a544(0x1ca),()=>{const _0x1fd83=_0x55a544;this[_0x1fd83(0x1e8)][_0x1fd83(0x1ca)](_0x59ee06[_0x1fd83(0x162)]),this[_0x1fd83(0x1e8)][_0x1fd83(0x18b)][_0x1fd83(0x18a)][_0x1fd83(0x166)]();}),_0x5d262e[_0x55a544(0x1ad)][_0x55a544(0x1d8)](_0x17cf84),_0x53777e[_0x55a544(0x16a)][_0x55a544(0x1d8)](_0x5d262e);}return _0x6a2394[_0x55a544(0x16c)](_0x55a544(0x179))['to'](_0x472595,_0x55a544(0x179)),_0x6a2394[_0x55a544(0x186)][_0x55a544(0x1ad)][_0x55a544(0x1d8)](_0x53777e),_0x6a2394;}[_0x116f7b(0x1dd)](_0x53e93b){const _0x39a91f=_0x116f7b,_0x1bf4d5=this[_0x39a91f(0x1e8)],_0x1597c9=_0x1bf4d5[_0x39a91f(0x1c2)],_0x5bb08b=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x1d5)),_0x34edc4=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x19f)),_0x31a7c3=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x1d7)),_0x4331a2=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x3564f4)['me'],_0x4951fb=_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x182))[_0x39a91f(0x184)],{CommentsListView:_0x1f0822,CommentThreadInputView:_0x1f762b}=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x181));let _0x55074d,_0x4e3eb6;this[_0x39a91f(0x18c)][_0x39a91f(0x197)](_0x53e93b['id'])?(_0x4e3eb6=this[_0x39a91f(0x18c)][_0x39a91f(0x1cc)](_0x53e93b['id']),_0x55074d=_0x4e3eb6[_0x39a91f(0x1a2)]):(_0x55074d=new _0x4951fb(_0x1bf4d5[_0x39a91f(0x1c9)],_0x53e93b,_0x4331a2,{'disableComments':this[_0x39a91f(0x1b2)],'editorConfig':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x17a)),'maxCommentsWhenCollapsed':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x1c4)),'maxThreadTotalWeight':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x1be)),'maxCommentCharsWhenCollapsed':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x16b)),'formatDateTime':_0x5205e2(_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x1c9))),'CommentView':_0x1597c9[_0x39a91f(0x1cc)](_0x39a91f(0x19b))[_0x39a91f(0x1b5)],'CommentsListView':_0x1f0822,'CommentThreadInputView':_0x1f762b}),_0x55074d[_0x39a91f(0x165)]['on'](_0x39a91f(0x1ca),()=>{const _0x5654c0=_0x39a91f;_0x1bf4d5[_0x5654c0(0x18b)][_0x5654c0(0x18a)][_0x5654c0(0x166)]();}),_0x55074d[_0x39a91f(0x1ae)]['on'](_0x39a91f(0x1ca),()=>{const _0x12c27b=_0x39a91f;_0x1bf4d5[_0x12c27b(0x18b)][_0x12c27b(0x18a)][_0x12c27b(0x166)]();}),_0x4e3eb6=_0x5bb08b[_0x39a91f(0x199)](this[_0x39a91f(0x1e8)][_0x39a91f(0x1c9)],_0x55074d),_0x4e3eb6[_0x39a91f(0x16c)](_0x39a91f(0x190))['to'](_0x55074d,_0x39a91f(0x190)),_0x4e3eb6[_0x39a91f(0x16c)](_0x39a91f(0x1a0))['to'](_0x55074d),_0x4e3eb6[_0x39a91f(0x16c)](_0x39a91f(0x169))['to'](_0x55074d,_0x39a91f(0x169),_0x4a765b=>_0x39a91f(0x1cf)+_0x4a765b),this[_0x39a91f(0x18c)][_0x39a91f(0x1a8)](_0x53e93b['id'],_0x4e3eb6));const _0x4eaadd=_0x34edc4[_0x39a91f(0x1d4)](_0x53e93b[_0x39a91f(0x1de)],_0x55074d),_0x2196c4=new _0x482ce9(_0x1bf4d5,_0x53e93b,_0x55074d,_0x4eaadd),_0x420f84=_0x53e93b[_0x39a91f(0x18f)]()[_0x39a91f(0x1b6)](_0x13aa66=>_0x13aa66[_0x39a91f(0x1c7)]);_0x55074d[_0x39a91f(0x1a9)]=_0x1bf4d5[_0x39a91f(0x15d)][_0x39a91f(0x1cc)](_0x39a91f(0x1b8))[_0x39a91f(0x194)][_0x39a91f(0x191)](_0x420f84),this[_0x39a91f(0x172)][_0x39a91f(0x1a8)](_0x53e93b,_0x2196c4),this[_0x39a91f(0x1eb)][_0x39a91f(0x1a8)](_0x55074d,_0x2196c4);const _0x298661=_0x5bb08b[_0x39a91f(0x16f)]({'view':_0x4e3eb6,'target':()=>{const _0x21e444=_0x39a91f,_0x2c4d4f=[],_0x5226fd=_0x53e93b[_0x21e444(0x18f)]()[_0x21e444(0x1b6)](_0x3b3376=>_0x3b3376[_0x21e444(0x1c7)]);for(const _0x1c7086 of _0x5226fd)_0x2c4d4f[_0x21e444(0x1d3)](..._0x1c7086[_0x21e444(0x1b9)]());return _0x236c86(_0x1bf4d5[_0x21e444(0x18b)],_0x2c4d4f);},'type':()=>_0x39a91f(0x1cf)+_0x2196c4[_0x39a91f(0x18a)][_0x39a91f(0x169)]});_0x34edc4[_0x39a91f(0x192)](_0x55074d,_0x298661),_0x5bb08b[_0x39a91f(0x1d8)](_0x298661),_0x31a7c3[_0x39a91f(0x1c6)](_0x298661);}[_0x116f7b(0x16e)](_0x38d796){const _0x25ced2=_0x116f7b,_0x5a514b=this[_0x25ced2(0x1e8)][_0x25ced2(0x15d)][_0x25ced2(0x1cc)](_0x25ced2(0x19f)),_0x2b84ce=this[_0x25ced2(0x1e8)][_0x25ced2(0x15d)][_0x25ced2(0x1cc)](_0x25ced2(0x1d5)),_0x3aae43=this[_0x25ced2(0x172)][_0x25ced2(0x1cc)](_0x38d796),_0xe6b747=_0x3aae43[_0x25ced2(0x18a)],_0x31128c=_0x2b84ce[_0x25ced2(0x19e)](_0xe6b747);_0x5a514b[_0x25ced2(0x1b4)](_0xe6b747),_0x31128c&&_0x2b84ce[_0x25ced2(0x168)](_0x31128c),this[_0x25ced2(0x172)][_0x25ced2(0x1b3)](_0x38d796),this[_0x25ced2(0x1eb)][_0x25ced2(0x1b3)](_0xe6b747),_0x3aae43[_0x25ced2(0x1a5)]();}[_0x116f7b(0x17b)](_0x2c24b7){const _0x3b6e51=_0x116f7b;if(!_0x2c24b7[_0x3b6e51(0x1c7)]||!this[_0x3b6e51(0x172)][_0x3b6e51(0x197)](_0x2c24b7))return;const _0x1be6f1=this[_0x3b6e51(0x1e8)][_0x3b6e51(0x15d)][_0x3b6e51(0x1cc)](_0x3b6e51(0x1b8)),_0x364bb3=this[_0x3b6e51(0x172)][_0x3b6e51(0x1cc)](_0x2c24b7),_0x3222d3=_0x2c24b7[_0x3b6e51(0x18f)]();_0x364bb3[_0x3b6e51(0x18a)][_0x3b6e51(0x1a9)]=_0x1be6f1[_0x3b6e51(0x194)][_0x3b6e51(0x191)](_0x3222d3);}[_0x116f7b(0x1a5)](){const _0xe96a18=_0x116f7b;for(const _0x36dbfb of this[_0xe96a18(0x172)][_0xe96a18(0x173)]())this[_0xe96a18(0x16e)](_0x36dbfb);for(const _0x270851 of this[_0xe96a18(0x18c)][_0xe96a18(0x1e1)]())_0x270851[_0xe96a18(0x1a2)][_0xe96a18(0x1a5)]();super[_0xe96a18(0x1a5)]();}}function re(_0x4f92a5){const _0x295715=_0x116f7b;return _0x295715(0x1d9)in _0x4f92a5;}
|
|
23
|
+
const _0x1d408b=_0x2864;(function(_0x38856b,_0x518b26){const _0x1e0ff2=_0x2864,_0x39caf5=_0x38856b();while(!![]){try{const _0x1d743d=-parseInt(_0x1e0ff2(0x1d6))/0x1+-parseInt(_0x1e0ff2(0x258))/0x2*(parseInt(_0x1e0ff2(0x256))/0x3)+-parseInt(_0x1e0ff2(0x24c))/0x4+-parseInt(_0x1e0ff2(0x22b))/0x5*(parseInt(_0x1e0ff2(0x202))/0x6)+-parseInt(_0x1e0ff2(0x244))/0x7*(-parseInt(_0x1e0ff2(0x1f8))/0x8)+-parseInt(_0x1e0ff2(0x212))/0x9*(parseInt(_0x1e0ff2(0x215))/0xa)+parseInt(_0x1e0ff2(0x1e2))/0xb;if(_0x1d743d===_0x518b26)break;else _0x39caf5['push'](_0x39caf5['shift']());}catch(_0x1c75b5){_0x39caf5['push'](_0x39caf5['shift']());}}}(_0x11e6,0xca6f3));function _0x2864(_0x2ae7a4,_0x3c5893){const _0x11e690=_0x11e6();return _0x2864=function(_0x286487,_0x29768e){_0x286487=_0x286487-0x1c7;let _0x5afd6a=_0x11e690[_0x286487];return _0x5afd6a;},_0x2864(_0x2ae7a4,_0x3c5893);}import{Plugin as _0x41eef0}from'ckeditor5/src/core.js';import{Collection as _0x43fc9e}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x45bd9f,createDropdown as _0x2ba201,ListSeparatorView as _0x589b20,MenuBarMenuView as _0x3d518a,MenuBarMenuListView as _0x3f0490,MenuBarMenuListItemView as _0xe3d49e,MenuBarMenuListItemButtonView as _0x4ffd7c,SplitButtonView as _0x120863,ViewModel as _0x2ef56d}from'ckeditor5/src/ui.js';import{Users as _0x348fb8,getDateTimeFormatter as _0x30b2d1,getAllMarkersDomElementsSorted as _0x1d84b2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x33c0d9 from'./trackchangesediting.js';import _0x136691 from'./ui/suggestioncontroller.js';function _0x11e6(){const _0x5848aa=['1710170zKRqES','change:activeAnnotations','values','createCommentThreadController','acceptSelectedSuggestions','mainView','descriptionParts','_bindAnnotationToEditors','discardAllSuggestions','source','Discard\x20all\x20selected\x20suggestions','editing','comments.maxCommentCharsWhenCollapsed','trackChanges','actionView','buttonView','_createToolbarButton','_updateController','lowest','switchbutton','Discard\x20all\x20suggestions','head','12700KyHdZp','filter','clear','stopListening','bind','requires','isDirty','addSourceCollector','comments.maxThreadTotalWeight','trackChanges.SuggestionThreadView','getFirstRange','activeMarkers','plugins','_suggestionToController','isInContent','acceptAllSuggestions','comments.editorConfig','destroy','getByInnerView','_handleControllerBuffer','delegate','trackChanges.disableComments','model','init','menuitem','56IGqPEY','discardSelectedSuggestions','pluginName','listenTo','focus','Accept\x20all\x20suggestions','children','separator','4959876KhVzXC','getJoined','toMany','size','discardButton','locale','suggestionLoaded','hasSuggestion','innerView','commands','99987ppyuTI','getAllAdjacentSuggestions','38VKoMck','menuitemcheckbox','type','button','getMarkerNames','TrackChangesUI','createAnnotation','activeAnnotations','_addUIComponentsToFactory','Accept\x20all\x20selected\x20suggestions','length','isOn','CommentsRepository','value','get','menu','1626338GCbHWB','_refreshActiveMarkers','delete','getSuggestion','define','menuBar:trackChanges','Track\x20changes','acceptButton','_handleSuggestionControllerDelayed','commandName','arrowView','addComment','63418542BqKPlk','componentFactory','config','EditorAnnotations','getMarkers','CommentView','items','some','suggestionChanged','from','previous','registerAnnotation','_initializeController','comments.maxCommentsWhenCollapsed','createAnnotationView','getDescriptions','_annotationViews','commentThread','_destroyController','remove','comments','_disableComments','939952NTbskU','CommentsUI','isMultiRange','push','SuggestionThreadView','unbind','_viewToController','_unbindEditors','TrackChangesEditing','descriptionFactory','3594fiiTjO','getRanges','suggestionUnloaded','set','isEnabled','change:previous','has','panelView','suggestion-','keys','view','Annotations','add','refreshSelectedViews','execute','editor','45LdYvIw','_createMenuBarMenu','reduce'];_0x11e6=function(){return _0x5848aa;};return _0x11e6();}import _0x24b528 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3c3406}from'./utils/common-translations.js';import _0x1eaf3b from'../theme/icons/track-changes.svg';export default class d extends _0x41eef0{static get[_0x1d408b(0x230)](){const _0x3efa4b=_0x1d408b;return[_0x33c0d9,_0x348fb8,_0x3efa4b(0x1d2),_0x3efa4b(0x20d),_0x3efa4b(0x1e5)];}static get[_0x1d408b(0x246)](){const _0x33476d=_0x1d408b;return _0x33476d(0x1cb);}constructor(_0x21ed49){const _0x5f2a6f=_0x1d408b;super(_0x21ed49),this[_0x5f2a6f(0x238)]=new Map(),this[_0x5f2a6f(0x1fe)]=new Map(),this[_0x5f2a6f(0x1f2)]=new Map(),this[_0x5f2a6f(0x23e)]=new Map();const _0x5b37f4=this[_0x5f2a6f(0x211)][_0x5f2a6f(0x1e4)];_0x5b37f4[_0x5f2a6f(0x1da)](_0x5f2a6f(0x234),_0x24b528),_0x5b37f4[_0x5f2a6f(0x1da)](_0x5f2a6f(0x240),!0x1),this[_0x5f2a6f(0x1f7)]=_0x5b37f4[_0x5f2a6f(0x1d4)](_0x5f2a6f(0x240));}[_0x1d408b(0x1de)](_0x316f85,_0x1706ea){const _0x465112=_0x1d408b;0x0===this[_0x465112(0x23e)][_0x465112(0x24f)]&&setTimeout(()=>{const _0x248fa0=_0x465112;for(const [_0x535428,_0x48be29]of this[_0x248fa0(0x23e)]){const _0x123b6a=this[_0x248fa0(0x238)][_0x248fa0(0x208)](_0x535428);_0x123b6a||_0x48be29?_0x123b6a&&_0x48be29&&this[_0x248fa0(0x1f4)](_0x535428):this[_0x248fa0(0x1ee)](_0x535428);}this[_0x248fa0(0x23e)][_0x248fa0(0x22d)](),this[_0x248fa0(0x211)][_0x248fa0(0x237)][_0x248fa0(0x1d4)](_0x248fa0(0x1e5))[_0x248fa0(0x20f)](),this[_0x248fa0(0x1d7)]();},0xa),this[_0x465112(0x23e)][_0x465112(0x205)](_0x316f85,_0x1706ea);}[_0x1d408b(0x242)](){const _0x3ab806=_0x1d408b,_0x3384ac=this[_0x3ab806(0x211)],_0x19c92c=_0x3384ac[_0x3ab806(0x237)][_0x3ab806(0x1d4)](_0x3ab806(0x200)),_0x53de01=_0x3384ac[_0x3ab806(0x237)][_0x3ab806(0x1d4)](_0x3ab806(0x20d)),_0x4ade96=_0x3384ac[_0x3ab806(0x237)][_0x3ab806(0x1d4)](_0x3ab806(0x1e5)),_0x208e49=_0x3384ac[_0x3ab806(0x237)][_0x3ab806(0x1d4)](_0x3ab806(0x1d2));this[_0x3ab806(0x1ce)](),_0x4ade96[_0x3ab806(0x232)](()=>{const _0x26eb05=_0x3ab806,_0x593128=[];for(const [_0x460609,_0x52b736]of Array[_0x26eb05(0x1eb)](this[_0x26eb05(0x238)])){const _0x224323=_0x460609[_0x26eb05(0x257)](),_0x59c084=[];for(const _0x552371 of _0x224323){if(!_0x552371[_0x26eb05(0x239)])continue;if(_0x552371[_0x26eb05(0x1fa)]){_0x59c084[_0x26eb05(0x1fb)](..._0x552371[_0x26eb05(0x203)]());continue;}const _0x129753=_0x552371[_0x26eb05(0x235)]();if(_0x59c084[_0x26eb05(0x1d0)]>0x0){const _0x20a1a4=_0x59c084[0x0][_0x26eb05(0x24d)](_0x129753);if(_0x20a1a4){_0x59c084[0x0]=_0x20a1a4;continue;}}_0x59c084[_0x26eb05(0x1fb)](_0x129753);}_0x593128[_0x26eb05(0x1fb)]([_0x52b736[_0x26eb05(0x20c)],_0x59c084]);}return _0x593128;}),this[_0x3ab806(0x247)](_0x19c92c,_0x3ab806(0x252),(_0x2d8cc5,_0x15a4ea)=>{const _0x5442c2=_0x3ab806;this[_0x5442c2(0x247)](_0x15a4ea,_0x5442c2(0x207),(_0x3b0137,_0x367d03,_0x23532c,_0x4c916a)=>{const _0x3536c9=_0x5442c2;_0x15a4ea[_0x3536c9(0x239)]&&(null==_0x23532c?(this[_0x3536c9(0x226)](_0x4c916a[_0x3536c9(0x22a)]),this[_0x3536c9(0x1de)](_0x15a4ea,!0x1)):(this[_0x3536c9(0x226)](_0x23532c[_0x3536c9(0x22a)]),null==_0x4c916a&&this[_0x3536c9(0x1de)](_0x15a4ea,!0x0)));}),null!==_0x15a4ea[_0x5442c2(0x1ec)]?this[_0x5442c2(0x226)](_0x15a4ea[_0x5442c2(0x22a)]):this[_0x5442c2(0x1de)](_0x15a4ea,!0x1);}),this[_0x3ab806(0x247)](_0x19c92c,_0x3ab806(0x204),(_0x1e377a,_0x4ddb55,_0x151436)=>{const _0x3102e3=_0x3ab806;this[_0x3102e3(0x22e)](_0x4ddb55,_0x3102e3(0x207)),this[_0x3102e3(0x23e)][_0x3102e3(0x1d8)](_0x4ddb55),this[_0x3102e3(0x238)][_0x3102e3(0x208)](_0x4ddb55)&&this[_0x3102e3(0x1f4)](_0x4ddb55),_0x151436&&this[_0x3102e3(0x226)](_0x151436[_0x3102e3(0x22a)]);}),this[_0x3ab806(0x247)](_0x19c92c,_0x3ab806(0x1ea),(_0x10739a,_0x235313)=>{const _0x452e15=_0x3ab806;this[_0x452e15(0x226)](_0x235313);}),this[_0x3ab806(0x247)](_0x53de01,_0x3ab806(0x216),()=>{const _0xe1e53a=_0x3ab806;this[_0xe1e53a(0x1d7)]();}),this[_0x3ab806(0x247)](_0x208e49,_0x3ab806(0x1e1),(_0x4bd56e,{threadId:_0x467f60,isFromAdapter:_0x5dd37})=>{const _0x147b96=_0x3ab806;if(_0x5dd37||!_0x19c92c[_0x147b96(0x253)](_0x467f60))return;const _0x4ac6d2=_0x19c92c[_0x147b96(0x1d9)](_0x467f60);this[_0x147b96(0x238)][_0x147b96(0x1d4)](_0x4ac6d2)[_0x147b96(0x20c)][_0x147b96(0x248)]();},{'priority':_0x3ab806(0x227)});}[_0x1d408b(0x1d7)](){const _0x201312=_0x1d408b,_0x209043=this[_0x201312(0x211)][_0x201312(0x237)][_0x201312(0x1d4)](_0x201312(0x20d)),_0x252ea5=this[_0x201312(0x211)][_0x201312(0x237)][_0x201312(0x1d4)](_0x201312(0x200)),_0x33567d=Array[_0x201312(0x1eb)](_0x209043[_0x201312(0x1cd)],_0x538db2=>_0x538db2[_0x201312(0x254)])[_0x201312(0x22c)](_0x1bb906=>this[_0x201312(0x1fe)][_0x201312(0x208)](_0x1bb906)),_0x36642d=[];for(const _0xd9e86 of _0x33567d){const _0x3a8ed8=this[_0x201312(0x1fe)][_0x201312(0x1d4)](_0xd9e86)[_0x201312(0x241)][_0x201312(0x257)]();_0x36642d[_0x201312(0x1fb)](..._0x3a8ed8[_0x201312(0x214)]((_0x35f42a,_0x2d698)=>[..._0x35f42a,..._0x2d698[_0x201312(0x1ca)]()],[]));}_0x252ea5[_0x201312(0x236)]=_0x36642d;}[_0x1d408b(0x1ce)](){const _0x44ca65=_0x1d408b,_0x143432=this[_0x44ca65(0x211)],_0x56ee96=_0x143432[_0x44ca65(0x251)],_0x1e1b84=_0x3c3406(_0x56ee96,_0x44ca65(0x1dc)),_0x52fa95=new _0x43fc9e([{'type':_0x44ca65(0x228),'model':new _0x2ef56d({'withText':!0x0,'isToggleable':!0x0,'label':_0x1e1b84,'commandName':_0x44ca65(0x222),'role':_0x44ca65(0x1c7)})},{'type':_0x44ca65(0x24b)},{'type':_0x44ca65(0x1c9),'model':new _0x2ef56d({'withText':!0x0,'label':_0x3c3406(_0x56ee96,_0x44ca65(0x249)),'commandName':_0x44ca65(0x23a),'role':_0x44ca65(0x243)})},{'type':_0x44ca65(0x1c9),'model':new _0x2ef56d({'withText':!0x0,'label':_0x3c3406(_0x56ee96,_0x44ca65(0x1cf)),'commandName':_0x44ca65(0x219),'role':_0x44ca65(0x243)})},{'type':_0x44ca65(0x1c9),'model':new _0x2ef56d({'withText':!0x0,'label':_0x3c3406(_0x56ee96,_0x44ca65(0x229)),'commandName':_0x44ca65(0x21d),'role':_0x44ca65(0x243)})},{'type':_0x44ca65(0x1c9),'model':new _0x2ef56d({'withText':!0x0,'label':_0x3c3406(_0x56ee96,_0x44ca65(0x21f)),'commandName':_0x44ca65(0x245),'role':_0x44ca65(0x243)})}]);for(const _0x56ca8e of _0x52fa95)if(re(_0x56ca8e)){const _0x504a22=_0x143432[_0x44ca65(0x255)][_0x44ca65(0x1d4)](_0x56ca8e[_0x44ca65(0x241)][_0x44ca65(0x1df)]);_0x56ca8e[_0x44ca65(0x241)][_0x44ca65(0x22f)](_0x44ca65(0x1d1),_0x44ca65(0x206))['to'](_0x504a22,_0x44ca65(0x1d3),_0x44ca65(0x206));}_0x143432['ui'][_0x44ca65(0x1e3)][_0x44ca65(0x20e)](_0x44ca65(0x222),_0x3d25ea=>this[_0x44ca65(0x225)](_0x3d25ea,_0x52fa95,_0x1e1b84)),_0x143432['ui'][_0x44ca65(0x1e3)][_0x44ca65(0x20e)](_0x44ca65(0x1db),_0x393f75=>this[_0x44ca65(0x213)](_0x393f75,_0x52fa95,_0x1e1b84));}[_0x1d408b(0x225)](_0xf9feb2,_0xeae8c0,_0x43b6f1){const _0x54649e=_0x1d408b,_0x3290b1=_0x2ba201(_0xf9feb2,_0x120863),_0x2d0726=this[_0x54649e(0x211)][_0x54649e(0x255)][_0x54649e(0x1d4)](_0x54649e(0x222));_0x3290b1[_0x54649e(0x224)][_0x54649e(0x205)]({'tooltip':_0x43b6f1,'label':_0x43b6f1,'icon':_0x1eaf3b}),_0x3290b1[_0x54649e(0x224)][_0x54649e(0x22f)](_0x54649e(0x1d1))['to'](_0x2d0726,_0x54649e(0x1d3)),_0x3290b1[_0x54649e(0x224)]['on'](_0x54649e(0x210),()=>{const _0x94ca97=_0x54649e;_0x2d0726[_0x94ca97(0x210)](),this[_0x94ca97(0x211)][_0x94ca97(0x220)][_0x94ca97(0x20c)][_0x94ca97(0x248)]();}),_0x45bd9f(_0x3290b1,_0xeae8c0,{'role':_0x54649e(0x1d5)});const _0x4173f9=[];for(const _0x3162f9 of _0xeae8c0)re(_0x3162f9)&&_0x4173f9[_0x54649e(0x1fb)](this[_0x54649e(0x211)][_0x54649e(0x255)][_0x54649e(0x1d4)](_0x3162f9[_0x54649e(0x241)][_0x54649e(0x1df)]));const _0xeb2f7e=_0x3290b1[_0x54649e(0x224)];return _0xeb2f7e[_0x54649e(0x223)][_0x54649e(0x1fd)](_0x54649e(0x206)),_0xeb2f7e[_0x54649e(0x1e0)][_0x54649e(0x1fd)](_0x54649e(0x206)),_0xeb2f7e[_0x54649e(0x223)][_0x54649e(0x22f)](_0x54649e(0x206))['to'](_0x2d0726,_0x54649e(0x206)),_0xeb2f7e[_0x54649e(0x1e0)][_0x54649e(0x22f)](_0x54649e(0x206))[_0x54649e(0x24e)](_0x4173f9,_0x54649e(0x206),(..._0x3cc3e1)=>_0x3cc3e1[_0x54649e(0x1e9)](_0x19488a=>_0x19488a)),_0x3290b1['on'](_0x54649e(0x210),_0x20e951=>{const _0x4d398a=_0x54649e;this[_0x4d398a(0x211)][_0x4d398a(0x210)](_0x20e951[_0x4d398a(0x21e)][_0x4d398a(0x1df)]),this[_0x4d398a(0x211)][_0x4d398a(0x220)][_0x4d398a(0x20c)][_0x4d398a(0x248)]();}),_0x3290b1;}[_0x1d408b(0x213)](_0x327c32,_0x5d964a,_0x1b5cf1){const _0x126a5b=_0x1d408b,_0x1581ea=new _0x3d518a(_0x327c32),_0x63a01f=this[_0x126a5b(0x211)][_0x126a5b(0x255)][_0x126a5b(0x1d4)](_0x126a5b(0x222));_0x1581ea[_0x126a5b(0x224)][_0x126a5b(0x205)]({'label':_0x1b5cf1,'icon':_0x1eaf3b});const _0x302dbe=new _0x3f0490(_0x327c32);for(const _0x1e93c5 of _0x5d964a){if(_0x126a5b(0x24b)==_0x1e93c5[_0x126a5b(0x1c8)]){_0x302dbe[_0x126a5b(0x1e8)][_0x126a5b(0x20e)](new _0x589b20(_0x327c32));continue;}const _0x33befb=new _0xe3d49e(_0x327c32,_0x1581ea),_0x368ab1=new _0x4ffd7c(_0x327c32),_0x3c6331=_0x1e93c5[_0x126a5b(0x241)];_0x368ab1[_0x126a5b(0x22f)](...Object[_0x126a5b(0x20b)](_0x3c6331))['to'](_0x3c6331),_0x368ab1[_0x126a5b(0x23f)](_0x126a5b(0x210))['to'](_0x1581ea),_0x368ab1['on'](_0x126a5b(0x210),()=>{const _0x535b5c=_0x126a5b;this[_0x535b5c(0x211)][_0x535b5c(0x210)](_0x3c6331[_0x535b5c(0x1df)]),this[_0x535b5c(0x211)][_0x535b5c(0x220)][_0x535b5c(0x20c)][_0x535b5c(0x248)]();}),_0x33befb[_0x126a5b(0x24a)][_0x126a5b(0x20e)](_0x368ab1),_0x302dbe[_0x126a5b(0x1e8)][_0x126a5b(0x20e)](_0x33befb);}return _0x1581ea[_0x126a5b(0x22f)](_0x126a5b(0x206))['to'](_0x63a01f,_0x126a5b(0x206)),_0x1581ea[_0x126a5b(0x209)][_0x126a5b(0x24a)][_0x126a5b(0x20e)](_0x302dbe),_0x1581ea;}[_0x1d408b(0x1ee)](_0x2cdce6){const _0x341cd4=_0x1d408b,_0x2eb3c1=this[_0x341cd4(0x211)],_0x2cb636=_0x2eb3c1[_0x341cd4(0x1e4)],_0x241742=_0x2eb3c1[_0x341cd4(0x237)][_0x341cd4(0x1d4)](_0x341cd4(0x20d)),_0x2d0b64=_0x2eb3c1[_0x341cd4(0x237)][_0x341cd4(0x1d4)](_0x341cd4(0x1d2)),_0x47bdfe=_0x2eb3c1[_0x341cd4(0x237)][_0x341cd4(0x1d4)](_0x341cd4(0x1e5)),_0x1ef673=_0x2eb3c1[_0x341cd4(0x237)][_0x341cd4(0x1d4)](_0x348fb8)['me'],_0x4b253a=_0x2cb636[_0x341cd4(0x1d4)](_0x341cd4(0x222))[_0x341cd4(0x1fc)],{CommentsListView:_0xe09b70,CommentThreadInputView:_0x549df1}=_0x2eb3c1[_0x341cd4(0x237)][_0x341cd4(0x1d4)](_0x341cd4(0x1f9));let _0x122adc,_0x42d389;this[_0x341cd4(0x1f2)][_0x341cd4(0x208)](_0x2cdce6['id'])?(_0x42d389=this[_0x341cd4(0x1f2)][_0x341cd4(0x1d4)](_0x2cdce6['id']),_0x122adc=_0x42d389[_0x341cd4(0x21a)]):(_0x122adc=new _0x4b253a(_0x2eb3c1[_0x341cd4(0x251)],_0x2cdce6,_0x1ef673,{'disableComments':this[_0x341cd4(0x1f7)],'editorConfig':_0x2cb636[_0x341cd4(0x1d4)](_0x341cd4(0x23b)),'maxCommentsWhenCollapsed':_0x2cb636[_0x341cd4(0x1d4)](_0x341cd4(0x1ef)),'maxThreadTotalWeight':_0x2cb636[_0x341cd4(0x1d4)](_0x341cd4(0x233)),'maxCommentCharsWhenCollapsed':_0x2cb636[_0x341cd4(0x1d4)](_0x341cd4(0x221)),'formatDateTime':_0x30b2d1(_0x2cb636[_0x341cd4(0x1d4)](_0x341cd4(0x251))),'CommentView':_0x2cb636[_0x341cd4(0x1d4)](_0x341cd4(0x1f6))[_0x341cd4(0x1e7)],'CommentsListView':_0xe09b70,'CommentThreadInputView':_0x549df1}),_0x122adc[_0x341cd4(0x1dd)]['on'](_0x341cd4(0x210),()=>{const _0x230304=_0x341cd4;_0x2eb3c1[_0x230304(0x220)][_0x230304(0x20c)][_0x230304(0x248)]();}),_0x122adc[_0x341cd4(0x250)]['on'](_0x341cd4(0x210),()=>{const _0x2806c9=_0x341cd4;_0x2eb3c1[_0x2806c9(0x220)][_0x2806c9(0x20c)][_0x2806c9(0x248)]();}),_0x42d389=_0x241742[_0x341cd4(0x1f0)](this[_0x341cd4(0x211)][_0x341cd4(0x251)],_0x122adc),_0x42d389[_0x341cd4(0x22f)](_0x341cd4(0x231))['to'](_0x122adc,_0x341cd4(0x231)),_0x42d389[_0x341cd4(0x22f)](_0x341cd4(0x1d0))['to'](_0x122adc),_0x42d389[_0x341cd4(0x22f)](_0x341cd4(0x1c8))['to'](_0x122adc,_0x341cd4(0x1c8),_0x12eca6=>_0x341cd4(0x20a)+_0x12eca6),this[_0x341cd4(0x1f2)][_0x341cd4(0x205)](_0x2cdce6['id'],_0x42d389));const _0x138bb6=_0x2d0b64[_0x341cd4(0x218)](_0x2cdce6[_0x341cd4(0x1f3)],_0x122adc),_0x53591d=new _0x136691(_0x2eb3c1,_0x2cdce6,_0x122adc,_0x138bb6),_0x3140fa=_0x2cdce6[_0x341cd4(0x257)]()[_0x341cd4(0x22c)](_0xa556be=>_0xa556be[_0x341cd4(0x239)]);_0x122adc[_0x341cd4(0x21b)]=_0x2eb3c1[_0x341cd4(0x237)][_0x341cd4(0x1d4)](_0x341cd4(0x200))[_0x341cd4(0x201)][_0x341cd4(0x1f1)](_0x3140fa),this[_0x341cd4(0x238)][_0x341cd4(0x205)](_0x2cdce6,_0x53591d),this[_0x341cd4(0x1fe)][_0x341cd4(0x205)](_0x122adc,_0x53591d);const _0x4091df=_0x241742[_0x341cd4(0x1cc)]({'view':_0x42d389,'target':()=>{const _0x5c440c=_0x341cd4,_0x5767f3=[],_0x361cab=_0x2cdce6[_0x5c440c(0x257)]()[_0x5c440c(0x22c)](_0x3a9d47=>_0x3a9d47[_0x5c440c(0x239)]);for(const _0x1e0483 of _0x361cab)_0x5767f3[_0x5c440c(0x1fb)](..._0x1e0483[_0x5c440c(0x1e6)]());return _0x1d84b2(_0x2eb3c1[_0x5c440c(0x220)],_0x5767f3);},'type':()=>_0x341cd4(0x20a)+_0x53591d[_0x341cd4(0x20c)][_0x341cd4(0x1c8)]});_0x2d0b64[_0x341cd4(0x21c)](_0x122adc,_0x4091df),_0x241742[_0x341cd4(0x20e)](_0x4091df),_0x47bdfe[_0x341cd4(0x1ed)](_0x4091df);}[_0x1d408b(0x1f4)](_0x5f54be){const _0x464f69=_0x1d408b,_0x5ee673=this[_0x464f69(0x211)][_0x464f69(0x237)][_0x464f69(0x1d4)](_0x464f69(0x1d2)),_0x43d32b=this[_0x464f69(0x211)][_0x464f69(0x237)][_0x464f69(0x1d4)](_0x464f69(0x20d)),_0x3fc8ce=this[_0x464f69(0x238)][_0x464f69(0x1d4)](_0x5f54be),_0x983e6e=_0x3fc8ce[_0x464f69(0x20c)],_0xc08cb3=_0x43d32b[_0x464f69(0x23d)](_0x983e6e);_0x5ee673[_0x464f69(0x1ff)](_0x983e6e),_0xc08cb3&&_0x43d32b[_0x464f69(0x1f5)](_0xc08cb3),this[_0x464f69(0x238)][_0x464f69(0x1d8)](_0x5f54be),this[_0x464f69(0x1fe)][_0x464f69(0x1d8)](_0x983e6e),_0x3fc8ce[_0x464f69(0x23c)]();}[_0x1d408b(0x226)](_0x74f809){const _0x2eee16=_0x1d408b;if(!_0x74f809[_0x2eee16(0x239)]||!this[_0x2eee16(0x238)][_0x2eee16(0x208)](_0x74f809))return;const _0x520b92=this[_0x2eee16(0x211)][_0x2eee16(0x237)][_0x2eee16(0x1d4)](_0x2eee16(0x200)),_0x19415e=this[_0x2eee16(0x238)][_0x2eee16(0x1d4)](_0x74f809),_0x4fdf3f=_0x74f809[_0x2eee16(0x257)]();_0x19415e[_0x2eee16(0x20c)][_0x2eee16(0x21b)]=_0x520b92[_0x2eee16(0x201)][_0x2eee16(0x1f1)](_0x4fdf3f);}[_0x1d408b(0x23c)](){const _0x3432c6=_0x1d408b;for(const _0x571519 of this[_0x3432c6(0x238)][_0x3432c6(0x20b)]())this[_0x3432c6(0x1f4)](_0x571519);for(const _0x5e680d of this[_0x3432c6(0x1f2)][_0x3432c6(0x217)]())_0x5e680d[_0x3432c6(0x21a)][_0x3432c6(0x23c)]();super[_0x3432c6(0x23c)]();}}function re(_0x51c05e){const _0x4c9ad8=_0x1d408b;return _0x4c9ad8(0x241)in _0x51c05e;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x261c53=_0x56b1;function _0x56b1(_0x78c27f,_0xd3ce14){const _0x5d6e60=_0x5d6e();return _0x56b1=function(_0x56b16c,_0x363939){_0x56b16c=_0x56b16c-0xe8;let _0x3e5cc9=_0x5d6e60[_0x56b16c];return _0x3e5cc9;},_0x56b1(_0x78c27f,_0xd3ce14);}(function(_0x2924db,_0x34a8fe){const _0x432a04=_0x56b1,_0x258cc4=_0x2924db();while(!![]){try{const _0x28e861=parseInt(_0x432a04(0xea))/0x1*(-parseInt(_0x432a04(0xfc))/0x2)+-parseInt(_0x432a04(0xff))/0x3*(parseInt(_0x432a04(0xf7))/0x4)+-parseInt(_0x432a04(0xf2))/0x5+-parseInt(_0x432a04(0x100))/0x6*(-parseInt(_0x432a04(0x103))/0x7)+-parseInt(_0x432a04(0x105))/0x8+-parseInt(_0x432a04(0x10d))/0x9*(-parseInt(_0x432a04(0x10a))/0xa)+parseInt(_0x432a04(0xec))/0xb;if(_0x28e861===_0x34a8fe)break;else _0x258cc4['push'](_0x258cc4['shift']());}catch(_0x3fd8a6){_0x258cc4['push'](_0x258cc4['shift']());}}}(_0x5d6e,0xefdfd));function _0x5d6e(){const _0x1ddcfd=['canDiscard','_setPendingAction','isEnabled','34ZAtBfG','locale','canAccept','3ptrWNQ','593448roMguq','_editor','getRanges','49ElIhyj','execute','15544304SYTayn','_removePendingAction','PENDING_ACTION_SUGGESTION','add','PendingActions','100aHKhzD','change:isDirty','canEditAt','160119zCrSgU','bind','acceptSuggestion','commands','listenTo','isDirty','plugins','remove','2923nXEzYQ','model','38816547OAgFaN','view','destroy','stopListening','commentThreadController','_pendingAction','3342790SyUqAI','get','unbind','discardSuggestion','_discardCommand','3020924eCgMnO','_acceptCommand'];_0x5d6e=function(){return _0x1ddcfd;};return _0x5d6e();}import{ObservableMixin as _0x3d9b96}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e73ed}from'../utils/common-translations.js';export default class ne extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3d9b96(){constructor(_0x55f984,_0x10e2ee,_0x4a4524,_0x5a5d6f){const _0x51d64a=_0x56b1;super(),this[_0x51d64a(0xeb)]=_0x10e2ee,this[_0x51d64a(0xed)]=_0x4a4524,this[_0x51d64a(0xf0)]=_0x5a5d6f,this[_0x51d64a(0x101)]=_0x55f984,this[_0x51d64a(0xf8)]=_0x55f984[_0x51d64a(0x110)][_0x51d64a(0xf3)](_0x51d64a(0x10f)),this[_0x51d64a(0xf6)]=_0x55f984[_0x51d64a(0x110)][_0x51d64a(0xf3)](_0x51d64a(0xf5)),this[_0x51d64a(0xed)][_0x51d64a(0x10e)](_0x51d64a(0xfb))['to'](this[_0x51d64a(0xf8)],this[_0x51d64a(0xf6)],(_0x591c9a,_0x126e5a)=>_0x591c9a||_0x126e5a),this[_0x51d64a(0xed)][_0x51d64a(0x10e)](_0x51d64a(0xfe))['to'](this[_0x51d64a(0xf8)],_0x51d64a(0xfb),_0x379b55=>_0x379b55&&this[_0x51d64a(0x101)][_0x51d64a(0xeb)][_0x51d64a(0x10c)](_0x10e2ee[_0x51d64a(0x102)]())),this[_0x51d64a(0xed)][_0x51d64a(0x10e)](_0x51d64a(0xf9))['to'](this[_0x51d64a(0xf6)],_0x51d64a(0xfb),_0x1413c7=>_0x1413c7&&this[_0x51d64a(0x101)][_0x51d64a(0xeb)][_0x51d64a(0x10c)](_0x10e2ee[_0x51d64a(0x102)]())),this[_0x51d64a(0xf1)]=null,_0x4a4524[_0x51d64a(0x112)]&&this[_0x51d64a(0xfa)](),this[_0x51d64a(0x111)](_0x4a4524,_0x51d64a(0x10f),()=>this[_0x51d64a(0x10f)]()),this[_0x51d64a(0x111)](_0x4a4524,_0x51d64a(0xf5),()=>this[_0x51d64a(0xf5)]()),this[_0x51d64a(0x111)](_0x4a4524,_0x51d64a(0x10b),()=>{const _0x45cb96=_0x51d64a;_0x4a4524[_0x45cb96(0x112)]?this[_0x45cb96(0xfa)]():this[_0x45cb96(0x106)]();});}[_0x261c53(0x10f)](){const _0x12f670=_0x261c53;this[_0x12f670(0xf8)][_0x12f670(0x104)](this[_0x12f670(0xeb)]['id']);}[_0x261c53(0xf5)](){const _0x550499=_0x261c53;this[_0x550499(0xf6)][_0x550499(0x104)](this[_0x550499(0xeb)]['id']);}[_0x261c53(0xee)](){const _0x4269a5=_0x261c53;this[_0x4269a5(0xed)][_0x4269a5(0xf4)](_0x4269a5(0xfb)),this[_0x4269a5(0xed)][_0x4269a5(0xf4)](_0x4269a5(0xfe)),this[_0x4269a5(0xed)][_0x4269a5(0xf4)](_0x4269a5(0xf9)),this[_0x4269a5(0xef)](),this[_0x4269a5(0xf0)][_0x4269a5(0xee)](),this[_0x4269a5(0xf1)]&&this[_0x4269a5(0x106)]();}[_0x261c53(0xfa)](){const _0x13b134=_0x261c53,_0x60eade=_0x4e73ed(this[_0x13b134(0x101)][_0x13b134(0xfd)],_0x13b134(0x107));this[_0x13b134(0xf1)]=this[_0x13b134(0x101)][_0x13b134(0xe8)][_0x13b134(0xf3)](_0x13b134(0x109))[_0x13b134(0x108)](_0x60eade);}[_0x261c53(0x106)](){const _0x4b106e=_0x261c53;null!==this[_0x4b106e(0xf1)]&&this[_0x4b106e(0x101)][_0x4b106e(0xe8)][_0x4b106e(0xf3)](_0x4b106e(0x109))[_0x4b106e(0xe9)](this[_0x4b106e(0xf1)]),this[_0x4b106e(0xf1)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x7499(){const _0x945b94=['hasDirtyComment','disableComments','isReadOnly','removeComment','value','assign','descriptionParts','_createCommentThreadInputView','isDirty','33750PHLTFr','commentsListView','5705oqqowZ','showInput','CommentView','updateComment','submit','_model','editorConfig','1056JdMKlv','3110WPWcyt','bind','element','editor','43074tLCXOu','1876560tfgRef','commentThreadInputView','commentInputView','isEnabled','addComment','5135824ZnckGh','10515XggHIY','_config','cancel','isActive','1608iCtxwr','_localUser','commentThread','100012oGoAyJ','41EXoYpc','delegate','canDiscard','authoredAt','canAccept','setData','length','destroy','3732AvzQCs','set','fire','_createCommentViews','locale','disabledSubmit','focus'];_0x7499=function(){return _0x945b94;};return _0x7499();}const _0x13efad=_0x5684;(function(_0x4c5e35,_0xeaa73c){const _0xb337b3=_0x5684,_0x278ee4=_0x4c5e35();while(!![]){try{const _0x49d490=-parseInt(_0xb337b3(0xa4))/0x1*(parseInt(_0xb337b3(0xca))/0x2)+-parseInt(_0xb337b3(0xcb))/0x3+parseInt(_0xb337b3(0xd0))/0x4+-parseInt(_0xb337b3(0xd1))/0x5*(parseInt(_0xb337b3(0xac))/0x6)+parseInt(_0xb337b3(0xbe))/0x7*(-parseInt(_0xb337b3(0xc5))/0x8)+parseInt(_0xb337b3(0xbc))/0x9*(parseInt(_0xb337b3(0xc6))/0xa)+parseInt(_0xb337b3(0xa3))/0xb*(parseInt(_0xb337b3(0xd5))/0xc);if(_0x49d490===_0xeaa73c)break;else _0x278ee4['push'](_0x278ee4['shift']());}catch(_0x379c83){_0x278ee4['push'](_0x278ee4['shift']());}}}(_0x7499,0xb5b9f));function _0x5684(_0x38d473,_0x1b40f1){const _0x7499e3=_0x7499();return _0x5684=function(_0x5684df,_0x1cd6e0){_0x5684df=_0x5684df-0xa2;let _0x44ce69=_0x7499e3[_0x5684df];return _0x44ce69;},_0x5684(_0x38d473,_0x1b40f1);}import{View as _0x17d9f8}from'ckeditor5/src/ui.js';export default class es extends _0x17d9f8{constructor(_0x46aed8,_0x1aaf6b,_0x510411,_0xb4409e){const _0x54dad2=_0x5684;super(_0x46aed8),this[_0x54dad2(0xbd)]=null,this[_0x54dad2(0xcc)]=null,this[_0x54dad2(0xad)](_0x54dad2(0xd4),!0x1),this[_0x54dad2(0xad)](_0x54dad2(0xa7),_0x1aaf6b[_0x54dad2(0xa7)]),this[_0x54dad2(0xc7)](_0x54dad2(0xa7))['to'](_0x1aaf6b),this[_0x54dad2(0xad)](_0x54dad2(0xb9),[]),this[_0x54dad2(0xad)](_0x54dad2(0xbb),!0x1),this[_0x54dad2(0xad)](_0x54dad2(0xce),!0x1),this[_0x54dad2(0xad)](_0x54dad2(0xa8),!0x1),this[_0x54dad2(0xad)](_0x54dad2(0xa6),!0x1),this[_0x54dad2(0xc3)]=_0x1aaf6b,this[_0x54dad2(0xd6)]=_0x510411,this[_0x54dad2(0xd2)]=_0xb4409e,_0xb4409e[_0x54dad2(0xb4)]?this[_0x54dad2(0xad)](_0x54dad2(0xaa),0x1):this[_0x54dad2(0xaf)]();}[_0x13efad(0xb2)](){const _0x4485f4=_0x13efad;this[_0x4485f4(0xc8)][_0x4485f4(0xb2)]();}[_0x13efad(0xab)](){const _0x54071b=_0x13efad;this[_0x54071b(0xbd)]&&this[_0x54071b(0xbd)][_0x54071b(0xab)](),this[_0x54071b(0xcc)]&&this[_0x54071b(0xcc)][_0x54071b(0xab)](),super[_0x54071b(0xab)]();}[_0x13efad(0xaf)](){const _0xa7544c=_0x13efad,{CommentsListView:_0x534c72}=this[_0xa7544c(0xd2)];this[_0xa7544c(0xbd)]=new _0x534c72(this[_0xa7544c(0xb0)],this[_0xa7544c(0xc3)][_0xa7544c(0xa2)],Object[_0xa7544c(0xb8)]({'CommentView':this[_0xa7544c(0xd2)][_0xa7544c(0xc0)]},this[_0xa7544c(0xd2)])),this[_0xa7544c(0xbd)][_0xa7544c(0xa5)](_0xa7544c(0xb6))['to'](this),this[_0xa7544c(0xbd)][_0xa7544c(0xa5)](_0xa7544c(0xc1))['to'](this),this[_0xa7544c(0xbd)][_0xa7544c(0xc7)](_0xa7544c(0xd4))['to'](this),this[_0xa7544c(0xad)](_0xa7544c(0xaa),this[_0xa7544c(0xbd)][_0xa7544c(0xaa)]+0x1),this[_0xa7544c(0xc7)](_0xa7544c(0xaa))['to'](this[_0xa7544c(0xbd)],_0xa7544c(0xaa),_0x10439c=>_0x10439c+0x1),this[_0xa7544c(0xcc)]=this[_0xa7544c(0xba)](),this['on'](_0xa7544c(0xb6),()=>this[_0xa7544c(0xb2)]()),this[_0xa7544c(0xc7)](_0xa7544c(0xbb))['to'](this[_0xa7544c(0xbd)],_0xa7544c(0xb3),this[_0xa7544c(0xcc)][_0xa7544c(0xcd)],_0xa7544c(0xb7),(_0x513c7b,_0x190b65)=>_0x513c7b||!!_0x190b65);}[_0x13efad(0xba)](){const _0x1a0582=_0x13efad,{CommentThreadInputView:_0x50998d}=this[_0x1a0582(0xd2)],_0x14ab8a=new _0x50998d(this[_0x1a0582(0xb0)],this[_0x1a0582(0xd6)],this[_0x1a0582(0xd2)][_0x1a0582(0xc4)]),_0x3de2ef=_0x14ab8a[_0x1a0582(0xcd)];return _0x14ab8a[_0x1a0582(0xc7)](_0x1a0582(0xbf))['to'](this,_0x1a0582(0xd4),this[_0x1a0582(0xc3)][_0x1a0582(0xa2)],_0x1a0582(0xb5),_0x3de2ef,_0x1a0582(0xb7),(_0x1ab2ef,_0x2e90d2,_0x5162e3)=>!!_0x5162e3||_0x1ab2ef&&!_0x2e90d2),_0x3de2ef['on'](_0x1a0582(0xc2),(_0x280664,_0x559193)=>{const _0x5e0898=_0x1a0582;this[_0x5e0898(0xae)](_0x5e0898(0xcf),_0x559193),_0x3de2ef[_0x5e0898(0xc9)][_0x5e0898(0xa9)]('');}),_0x3de2ef['on'](_0x1a0582(0xd3),()=>this[_0x1a0582(0xb2)]()),_0x3de2ef[_0x1a0582(0xc7)](_0x1a0582(0xb1))['to'](this[_0x1a0582(0xc3)][_0x1a0582(0xa2)],_0x1a0582(0xb5)),_0x14ab8a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47d590=_0x5925;(function(_0x322418,_0x4585ce){const _0x24e7e1=_0x5925,_0x4df60b=_0x322418();while(!![]){try{const _0x5bd08a=-parseInt(_0x24e7e1(0x14d))/0x1+-parseInt(_0x24e7e1(0x146))/0x2*(parseInt(_0x24e7e1(0x156))/0x3)+-parseInt(_0x24e7e1(0x158))/0x4+parseInt(_0x24e7e1(0x15c))/0x5*(-parseInt(_0x24e7e1(0x17d))/0x6)+parseInt(_0x24e7e1(0x152))/0x7*(-parseInt(_0x24e7e1(0x172))/0x8)+parseInt(_0x24e7e1(0x176))/0x9*(parseInt(_0x24e7e1(0x13d))/0xa)+-parseInt(_0x24e7e1(0x179))/0xb*(-parseInt(_0x24e7e1(0x17a))/0xc);if(_0x5bd08a===_0x4585ce)break;else _0x4df60b['push'](_0x4df60b['shift']());}catch(_0x8287bf){_0x4df60b['push'](_0x4df60b['shift']());}}}(_0x5a12,0x9c6ba));import{getTranslation as _0x545eeb}from'../../utils/common-translations.js';function _0x5a12(){const _0x498a30=['creator','discardSuggestion','authoredAt','innerText','span','ck-annotation__content-wrapper','discardButton','EXTERNAL_AVATAR','attributes','<span\x20class=\x22ck-suggestion-type\x22>','source','.ck-annotation__content-wrapper','</span>','16112bgLJli','formatDateTime','acceptSuggestion','ck-suggestion__user','27MRNkNC','getExternalSuggestionNote','EXTERNAL_IMPORT_WORD_AVATAR','9493bnzgmR','48864wYvUcm','EXTERNAL_SUGGESTION','bindTemplate','1482FEbKeF','extendTemplate','name','description','split','delegate','\x22\x20title=\x22','innerHTML','color','querySelector','ck-annotation__info-time','_model','isExternal','EXTERNAL_IMPORT_WORD_SUGGESTION','set','cancel','push','descriptionParts','\x22></span>','ck-annotation__main','<p>','commentThread','change:description','@external','execute','ck-annotation__user','getUserViewNotificationText','isActive','ck-suggestion__info-name','value','editorDestroyed','join','locale','isEnabled','ck-suggestion-','ck-suggestion__info','content','userView','canAccept','importWord','disableComments','Discard\x20suggestion','ck-suggestion--discard','ck-suggestion-wrapper','type','</p>','canDiscard','check','time','1227350eIvKeU','setTemplate','ck-suggestion-wrapper--active','children','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','render','element','commentThreadInputView','ck-annotation__actions','170NbjyTo','createElement','ck-annotation','editorReady','ck-annotation__info-name','ck-comment__external','commentsListView','764637gJswvn','bind','ck-suggestion--accept','_config','ck-comment__info-time','2002rBHbcp','ck-suggestion','ck-annotation__info','_descriptionElement','17016ARMnhO','ck-suggestion__main','3036580DivclK','div','ck-suggestion__actions','title','13355tUsiZe','author','Accept\x20suggestion','fire','_createButton','map','ck-suggestion--disabled-comments','getTemplate','acceptButton'];_0x5a12=function(){return _0x498a30;};return _0x5a12();}import{default as _0x698aa6}from'./basesuggestionthreadview.js';import{ButtonView as _0x3300f0}from'ckeditor5/src/ui.js';import{icons as _0x5e9bed}from'ckeditor5/src/core.js';import{trimHtml as _0x16e3a6,UserView as _0x2ccaf0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5925(_0x48de0c,_0x2e03c7){const _0x5a122a=_0x5a12();return _0x5925=function(_0x59256d,_0x47af11){_0x59256d=_0x59256d-0x124;let _0x5defed=_0x5a122a[_0x59256d];return _0x5defed;},_0x5925(_0x48de0c,_0x2e03c7);}export default class ie extends _0x698aa6{constructor(_0x6d5b87,_0x310f19,_0x18e603,_0x5021fb){const _0x3f2b06=_0x5925;super(_0x6d5b87,_0x310f19,_0x18e603,_0x5021fb),this[_0x3f2b06(0x18b)](_0x3f2b06(0x138),''),this[_0x3f2b06(0x14e)](_0x3f2b06(0x138))['to'](this,_0x3f2b06(0x18e),_0x1b67b8=>_0x1b67b8&&_0x1b67b8[0x0]?_0x1b67b8[0x0][_0x3f2b06(0x138)]:''),this[_0x3f2b06(0x14e)](_0x3f2b06(0x180))['to'](this,_0x3f2b06(0x18e),this,_0x3f2b06(0x127),(_0x166ded,_0x44c2a6)=>{const _0x1f45d4=_0x3f2b06;let _0x54055a='';for(const _0x3b131f of _0x166ded)_0x54055a+=_0x1f45d4(0x191)+ds(_0x3b131f[_0x1f45d4(0x130)],_0x3b131f[_0x1f45d4(0x185)])+_0x1f45d4(0x139);return _0x44c2a6?_0x54055a:_0x16e3a6(_0x54055a,{'limit':0x8c});}),this[_0x3f2b06(0x155)]=null,this[_0x3f2b06(0x164)]=this[_0x3f2b06(0x160)](_0x545eeb(_0x6d5b87,_0x3f2b06(0x15e)),_0x5e9bed[_0x3f2b06(0x13b)],_0x3f2b06(0x14f),_0x3f2b06(0x174),'sw'),this[_0x3f2b06(0x164)][_0x3f2b06(0x14e)](_0x3f2b06(0x12d))['to'](this,_0x3f2b06(0x132)),this[_0x3f2b06(0x16b)]=this[_0x3f2b06(0x160)](_0x545eeb(_0x6d5b87,_0x3f2b06(0x135)),_0x5e9bed[_0x3f2b06(0x18c)],_0x3f2b06(0x136),_0x3f2b06(0x166),'sw'),this[_0x3f2b06(0x16b)][_0x3f2b06(0x14e)](_0x3f2b06(0x12d))['to'](this,_0x3f2b06(0x13a)),this[_0x3f2b06(0x131)]=new _0x2ccaf0(_0x6d5b87,this[_0x3f2b06(0x188)][_0x3f2b06(0x15d)],this[_0x3f2b06(0x126)]()),this[_0x3f2b06(0x131)][_0x3f2b06(0x17e)]({'attributes':{'class':[_0x3f2b06(0x175),_0x3f2b06(0x125)]}}),this[_0x3f2b06(0x13e)](this[_0x3f2b06(0x163)]());}[_0x47d590(0x163)](){const _0x460536=_0x47d590,_0x5ccc04=this[_0x460536(0x17c)],_0x4799a2=[{'tag':_0x460536(0x159),'attributes':{'class':[_0x460536(0x12f),_0x460536(0x154)]},'children':[{'tag':_0x460536(0x169),'children':[{'text':this[_0x460536(0x131)][_0x460536(0x17f)]}],'attributes':{'class':[_0x460536(0x128),_0x460536(0x14a)]}},{'tag':_0x460536(0x13c),'attributes':{'datetime':_0x5ccc04['to'](_0x460536(0x167)),'class':[_0x460536(0x151),_0x460536(0x187)]},'children':[{'text':_0x5ccc04['to'](_0x460536(0x167),_0x3d2a1f=>this[_0x460536(0x150)][_0x460536(0x173)](_0x3d2a1f))}]}]},{'tag':_0x460536(0x159),'attributes':{'class':[_0x460536(0x15a),_0x460536(0x145)]},'children':[this[_0x460536(0x164)],this[_0x460536(0x16b)]]},{'tag':_0x460536(0x159),'attributes':{'class':[_0x460536(0x16a)]}}];this[_0x460536(0x188)][_0x460536(0x189)]&&_0x4799a2[_0x460536(0x18d)]({'tag':_0x460536(0x159),'attributes':{'class':[_0x460536(0x14b)]},'children':[{'text':this[_0x460536(0x177)]()}]});const _0x344f7c={'tag':_0x460536(0x159),'attributes':{'class':[_0x460536(0x137),_0x5ccc04['if'](_0x460536(0x127),_0x460536(0x13f)),_0x5ccc04['to'](_0x460536(0x138),_0x34b8b1=>_0x460536(0x12e)+_0x34b8b1),this[_0x460536(0x150)][_0x460536(0x134)]&&_0x460536(0x162)],'data-suggestion-id':this[_0x460536(0x188)]['id'],'data-thread-id':this[_0x460536(0x188)][_0x460536(0x192)]['id'],'data-author-id':this[_0x460536(0x188)][_0x460536(0x15d)]['id'],'tabindex':-0x1},'children':[{'tag':_0x460536(0x159),'attributes':{'class':[_0x460536(0x153),_0x460536(0x148)]},'children':[this[_0x460536(0x131)],{'tag':_0x460536(0x159),'attributes':{'class':[_0x460536(0x157),_0x460536(0x190)]},'children':_0x4799a2}]}]};return this[_0x460536(0x14c)]&&this[_0x460536(0x144)]&&(_0x344f7c[_0x460536(0x140)][_0x460536(0x18d)](this[_0x460536(0x14c)],this[_0x460536(0x144)]),this[_0x460536(0x14c)][_0x460536(0x182)](_0x460536(0x149))['to'](this),this[_0x460536(0x14c)][_0x460536(0x182)](_0x460536(0x12a))['to'](this),this[_0x460536(0x144)][_0x460536(0x182)](_0x460536(0x149))['to'](this),this[_0x460536(0x144)][_0x460536(0x182)](_0x460536(0x12a))['to'](this)),_0x344f7c;}[_0x47d590(0x142)](){const _0x4ae1fa=_0x47d590;super[_0x4ae1fa(0x142)](),this[_0x4ae1fa(0x155)]=this[_0x4ae1fa(0x143)][_0x4ae1fa(0x186)](_0x4ae1fa(0x170)),this[_0x4ae1fa(0x155)][_0x4ae1fa(0x184)]=this[_0x4ae1fa(0x180)],this['on'](_0x4ae1fa(0x193),(_0x3d4c2a,_0x50eb2c,_0x140dfd)=>{const _0x5d72d0=_0x4ae1fa;this[_0x5d72d0(0x155)][_0x5d72d0(0x184)]=_0x140dfd;});}[_0x47d590(0x160)](_0x52d27b,_0x23e2cd,_0x5b54c3,_0x2e6e1a,_0xe0809d){const _0x36488a=_0x47d590,_0x26a3a0=new _0x3300f0(this[_0x36488a(0x12c)]);return _0x26a3a0[_0x36488a(0x18b)]({'label':_0x52d27b,'icon':_0x23e2cd,'tooltip':!0x0,'tooltipPosition':_0xe0809d}),_0x26a3a0[_0x36488a(0x17e)]({'attributes':{'class':_0x5b54c3}}),_0x26a3a0['on'](_0x36488a(0x124),()=>{const _0x4d2384=_0x36488a;this[_0x4d2384(0x15f)](_0x2e6e1a,this[_0x4d2384(0x188)]['id']);}),_0x26a3a0;}[_0x47d590(0x177)](){const _0x324944=_0x47d590;return _0x324944(0x133)===this[_0x324944(0x188)][_0x324944(0x16d)][_0x324944(0x194)][_0x324944(0x16f)]?_0x545eeb(this[_0x324944(0x12c)],_0x324944(0x18a)):_0x545eeb(this[_0x324944(0x12c)],_0x324944(0x17b));}[_0x47d590(0x126)](){const _0x1d0adf=_0x47d590;return this[_0x1d0adf(0x188)][_0x1d0adf(0x189)]?_0x1d0adf(0x133)===this[_0x1d0adf(0x188)][_0x1d0adf(0x16d)][_0x1d0adf(0x194)][_0x1d0adf(0x16f)]?_0x545eeb(this[_0x1d0adf(0x12c)],_0x1d0adf(0x178),this[_0x1d0adf(0x188)][_0x1d0adf(0x165)][_0x1d0adf(0x17f)]):_0x545eeb(this[_0x1d0adf(0x12c)],_0x1d0adf(0x16c),this[_0x1d0adf(0x188)][_0x1d0adf(0x165)][_0x1d0adf(0x17f)]):null;}}function ds(_0x5d35ac,_0x5012b6){const _0x560b51=_0x47d590;let _0x374753='';return _0x374753+=_0x5d35ac[_0x560b51(0x181)]('*')[_0x560b51(0x161)]((_0x3c6eda,_0x5e1203)=>_0x5e1203%0x2!=0x0?_0x560b51(0x16e)+us(_0x3c6eda)+_0x560b51(0x171):us(_0x3c6eda))[_0x560b51(0x12b)](''),_0x5012b6&&(_0x374753+=_0x560b51(0x141)+_0x5012b6[_0x560b51(0x129)]+_0x560b51(0x183)+_0x5012b6[_0x560b51(0x15b)]+_0x560b51(0x18f)),_0x374753;}function us(_0x349e84){const _0x5d2e8d=_0x47d590,_0x4a277d=document[_0x5d2e8d(0x147)](_0x5d2e8d(0x169));return _0x4a277d[_0x5d2e8d(0x168)]=_0x349e84,_0x4a277d[_0x5d2e8d(0x184)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x458435,_0x4f1978,_0x509568){const t=_0x458435['t'];switch(_0x4f1978){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',_0x509568);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x509568);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x509568);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x509568);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x509568);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',_0x509568);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x509568);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',_0x509568);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x509568);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x509568);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x509568);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x509568);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x509568);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x509568);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x509568);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x509568);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x509568);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x509568);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x509568);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x509568);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x509568);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x509568);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x509568);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'},_0x509568);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x509568);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x509568);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x509568);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x509568);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x509568);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'},_0x509568);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x509568);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x509568);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x509568);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x509568);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'},_0x509568);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x509568);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'},_0x509568);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'},_0x509568);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x509568);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'},_0x509568);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x509568);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'},_0x509568);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x509568);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x509568);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'},_0x509568);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'},_0x509568);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'},_0x509568);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x4f1978;}}
|
|
23
|
+
export function getTranslation(_0x5a38d2,_0x1ae4dd,_0x137e6d){const t=_0x5a38d2['t'];switch(_0x1ae4dd){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',_0x137e6d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x137e6d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x137e6d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x137e6d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x137e6d);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',_0x137e6d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x137e6d);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',_0x137e6d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x137e6d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x137e6d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x137e6d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x137e6d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x137e6d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x137e6d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x137e6d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x137e6d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x137e6d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x137e6d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x137e6d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x137e6d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x137e6d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x137e6d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x137e6d);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'},_0x137e6d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x137e6d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x137e6d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x137e6d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x137e6d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x137e6d);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'},_0x137e6d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x137e6d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x137e6d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x137e6d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x137e6d);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'},_0x137e6d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x137e6d);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'},_0x137e6d);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'},_0x137e6d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x137e6d);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'},_0x137e6d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x137e6d);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'},_0x137e6d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x137e6d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x137e6d);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'},_0x137e6d);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'},_0x137e6d);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'},_0x137e6d);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x1ae4dd;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
(function(_0x362e3d,_0x8e73e0){const _0x481ff9=_0x4c42,_0x55c8d0=_0x362e3d();while(!![]){try{const _0x550664=-parseInt(_0x481ff9(0x113))/0x1*(-parseInt(_0x481ff9(0x109))/0x2)+parseInt(_0x481ff9(0xf7))/0x3+parseInt(_0x481ff9(0xe9))/0x4+parseInt(_0x481ff9(0xfd))/0x5+-parseInt(_0x481ff9(0x104))/0x6*(-parseInt(_0x481ff9(0xf8))/0x7)+-parseInt(_0x481ff9(0xe8))/0x8*(-parseInt(_0x481ff9(0xfe))/0x9)+-parseInt(_0x481ff9(0x107))/0xa*(parseInt(_0x481ff9(0x101))/0xb);if(_0x550664===_0x8e73e0)break;else _0x55c8d0['push'](_0x55c8d0['shift']());}catch(_0x524849){_0x55c8d0['push'](_0x55c8d0['shift']());}}}(_0x5dc1,0xca2ee));function _0x5dc1(){const _0x1c4635=['length','20KEDgAn','value','1456kSrene','add','push','isCollapsed','createRange','replace','isMultiRange','isObject','change','start','1567neQaye','176KeEkzG','5327808ebzVPr','isInContent','join','execute','splice','sort','next','content','createPositionAfter','isIntersecting','color','isTouching','\x20[color\x20','type','4263309ktYelk','28nGTaOm','isArray','deletion','schema','createPositionBefore','6301885HcwFOG','36333ZwfFAS','from','end','26128234nUhFOv','map','createPositionAt','503562KiLfNI','getRanges'];_0x5dc1=function(){return _0x1c4635;};return _0x5dc1();}export function normalizeDescription(_0x1ff936){const _0x921988=_0x4c42;return Array[_0x921988(0xf9)](_0x1ff936)||(_0x1ff936=[_0x1ff936]),_0x1ff936[_0x921988(0x102)](_0x4416c1=>{const _0x2ac20b=_0x921988,_0x30df68=_0x4416c1[_0x2ac20b(0xf0)][_0x2ac20b(0x10e)](/\*/g,''),_0x3ef6c3=_0x4416c1[_0x2ac20b(0xf3)]?_0x2ac20b(0xf5)+_0x4416c1[_0x2ac20b(0xf3)][_0x2ac20b(0x108)]+']':'';return'['+_0x4416c1[_0x2ac20b(0xf6)]+']\x20'+_0x30df68+_0x3ef6c3;})[_0x921988(0xeb)](';\x20');}function _0x4c42(_0x1ba316,_0x310233){const _0x5dc1a2=_0x5dc1();return _0x4c42=function(_0x4c421e,_0x298b5c){_0x4c421e=_0x4c421e-0xe8;let _0x224ec6=_0x5dc1a2[_0x4c421e];return _0x224ec6;},_0x4c42(_0x1ba316,_0x310233);}export function sortSuggestions(_0x451fea){const _0x5838e5=_0x4c42;return _0x451fea[_0x5838e5(0xee)]((_0x5461d2,_0x457186)=>_0x5838e5(0xfa)==_0x5461d2[_0x5838e5(0xf6)]&&_0x5838e5(0xfa)!=_0x457186[_0x5838e5(0xf6)]?-0x1:_0x5838e5(0xfa)!=_0x5461d2[_0x5838e5(0xf6)]&&_0x5838e5(0xfa)==_0x457186[_0x5838e5(0xf6)]?0x1:0x0);}export function getSelectedSuggestions(_0x2d07de,_0x255f0b){const _0x37efb1=_0x4c42,_0x43a23e=Array[_0x37efb1(0xff)](_0x2d07de[_0x37efb1(0x105)]()),_0x2bc8ec=new Set();for(const _0x21cf5a of _0x255f0b)if(_0x21cf5a[_0x37efb1(0xea)]){for(const _0x259b3f of _0x43a23e)for(const _0x3ae90f of _0x21cf5a[_0x37efb1(0x105)]())(_0x259b3f[_0x37efb1(0xf2)](_0x3ae90f)||_0x2d07de[_0x37efb1(0x10c)]&&!_0x21cf5a[_0x37efb1(0x10f)]&&_0x21cf5a[_0x37efb1(0xef)]&&_0x3ae90f[_0x37efb1(0x100)][_0x37efb1(0xf4)](_0x259b3f[_0x37efb1(0x112)]))&&_0x2bc8ec[_0x37efb1(0x10a)](_0x21cf5a);}return _0x2bc8ec;}export function getRangesOfBlockGroups(_0x479f2e,_0x5663b){const _0x4ff1fc=_0x4c42;let _0xec9441,_0x32d0c5=0x0;const _0x42503=[],_0x44e26b=_0x5663b[_0x4ff1fc(0xfb)];for(;_0x32d0c5<_0x479f2e[_0x4ff1fc(0x106)];){const _0x40569a=_0x479f2e[_0x32d0c5],_0x42a156=_0x479f2e[_0x32d0c5+0x1];_0xec9441||(_0xec9441=_0x5663b[_0x4ff1fc(0xfc)](_0x40569a)),co(_0x5663b,_0x40569a,_0x42a156)||(_0x42503[_0x4ff1fc(0x10b)](_0x5663b[_0x4ff1fc(0x10d)](_0xec9441,_0x44e26b[_0x4ff1fc(0x110)](_0x40569a)?_0x5663b[_0x4ff1fc(0xf1)](_0x40569a):_0x5663b[_0x4ff1fc(0x103)](_0x40569a,_0x4ff1fc(0x100)))),_0xec9441=null),_0x32d0c5++;}return _0x42503;}function co(_0x4bef82,_0x5730d5,_0x220604){const _0x5b458d=_0x4c42;if(!_0x220604)return!0x1;const _0x4e94f0=_0x4bef82[_0x5b458d(0xf1)](_0x5730d5),_0x3b3eec=_0x4bef82[_0x5b458d(0xfc)](_0x220604);return _0x4e94f0[_0x5b458d(0xf4)](_0x3b3eec);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x321002,_0x5e24e3,_0x1e246b){const _0x55719c=_0x4c42;for(;_0x1e246b[_0x55719c(0x106)];){const _0x17145d=_0x1e246b[_0x55719c(0xed)](0x0,0x64);_0x321002[_0x55719c(0x111)](()=>{const _0x30c967=_0x55719c;for(const _0x145bed of _0x17145d)_0x145bed[_0x30c967(0xea)]&&_0x5e24e3[_0x30c967(0xec)](_0x145bed['id']);});}}
|