@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240717.0 → 0.0.0-nightly-20240718.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 _0x1682af=_0x4917;(function(_0x12f4c9,_0x316c66){const _0x155a93=_0x4917,_0x93153e=_0x12f4c9();while(!![]){try{const _0x5689e0=-parseInt(_0x155a93(0x23c))/0x1+parseInt(_0x155a93(0x20d))/0x2*(parseInt(_0x155a93(0x1d1))/0x3)+-parseInt(_0x155a93(0x244))/0x4*(parseInt(_0x155a93(0x22e))/0x5)+-parseInt(_0x155a93(0x202))/0x6*(-parseInt(_0x155a93(0x236))/0x7)+-parseInt(_0x155a93(0x21f))/0x8*(-parseInt(_0x155a93(0x1e4))/0x9)+-parseInt(_0x155a93(0x1ed))/0xa*(parseInt(_0x155a93(0x1e7))/0xb)+-parseInt(_0x155a93(0x206))/0xc;if(_0x5689e0===_0x316c66)break;else _0x93153e['push'](_0x93153e['shift']());}catch(_0x1f7916){_0x93153e['push'](_0x93153e['shift']());}}}(_0x17ff,0xae642));import{Plugin as _0x36cf44}from'ckeditor5/src/core.js';import{Collection as _0x153a2c}from'ckeditor5/src/utils.js';import{addListToDropdown as _0xb87402,createDropdown as _0xa3024e,ListSeparatorView as _0x38d5c8,MenuBarMenuView as _0x392198,MenuBarMenuListView as _0x3aa544,MenuBarMenuListItemView as _0x32854f,MenuBarMenuListItemButtonView as _0x17501f,SplitButtonView as _0x4b15c3,ViewModel as _0xa1be23}from'ckeditor5/src/ui.js';function _0x17ff(){const _0x59f99f=['createAnnotation','acceptAllSuggestions','666CffxcR','registerAnnotation','buttonView','185218vFMeJs','isMultiRange','suggestion-','_handleControllerBuffer','discardAllSuggestions','editing','230TRSMqk','add','createCommentThreadController','_disableComments','delete','init','view','keys','addComment','suggestionUnloaded','push','execute','_bindAnnotationToEditors','menuitem','commands','addSourceCollector','focus','_updateController','pluginName','locale','_initializeController','138OkKeHy','hasSuggestion','comments.maxThreadTotalWeight','clear','13506216ezURGl','_refreshActiveMarkers','menuitemcheckbox','plugins','_handleSuggestionControllerDelayed','comments.maxCommentCharsWhenCollapsed','getByInnerView','2640214iJMHqY','Track\x20changes','editor','menu','suggestionChanged','discardButton','change:activeAnnotations','commandName','reduce','source','destroy','remove','getJoined','type','config','activeAnnotations','previous','value','133808SqipHu','listenTo','CommentsRepository','suggestionLoaded','filter','activeMarkers','items','getAllAdjacentSuggestions','acceptSelectedSuggestions','unbind','menuBar:trackChanges','createAnnotationView','acceptButton','innerView','refreshSelectedViews','1480PUXnrz','children','stopListening','actionView','set','lowest','button','trackChanges.disableComments','135513sJObFw','_suggestionToController','delegate','requires','CommentsUI','model','165342bUuigS','Discard\x20all\x20suggestions','_addUIComponentsToFactory','head','Annotations','_destroyController','Accept\x20all\x20selected\x20suggestions','comments.maxCommentsWhenCollapsed','8252KUJKee','CommentView','has','arrowView','comments.editorConfig','trackChanges.SuggestionThreadView','descriptionParts','switchbutton','isOn','Accept\x20all\x20suggestions','getMarkerNames','EditorAnnotations','trackChanges','_createMenuBarMenu','discardSelectedSuggestions','TrackChangesEditing','commentThread','getRanges','get','bind','toMany','values','getMarkers','from','mainView','SuggestionThreadView','isEnabled','isInContent','separator','getSuggestion','componentFactory','TrackChangesUI','3FkACQI','size','length','Discard\x20all\x20selected\x20suggestions','change:previous','_unbindEditors','descriptionFactory','some','getDescriptions','_createToolbarButton','_viewToController','isDirty','define','getFirstRange','_annotationViews','comments','panelView'];_0x17ff=function(){return _0x59f99f;};return _0x17ff();}import{Users as _0x1ccd00,getDateTimeFormatter as _0x395fe8,getAllMarkersDomElementsSorted as _0xf79273}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x41be85 from'./trackchangesediting.js';import _0x4d064c from'./ui/suggestioncontroller.js';import _0x32dc88 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x399dfc}from'./utils/common-translations.js';import _0x5735ba from'../theme/icons/track-changes.svg';function _0x4917(_0x1f5a14,_0x56a639){const _0x17ff13=_0x17ff();return _0x4917=function(_0x491750,_0x5d4f1c){_0x491750=_0x491750-0x1c0;let _0xdf7314=_0x17ff13[_0x491750];return _0xdf7314;},_0x4917(_0x1f5a14,_0x56a639);}export default class d extends _0x36cf44{static get[_0x1682af(0x239)](){const _0x24806e=_0x1682af;return[_0x41be85,_0x1ccd00,_0x24806e(0x221),_0x24806e(0x240),_0x24806e(0x24f)];}static get[_0x1682af(0x1ff)](){const _0x1d8add=_0x1682af;return _0x1d8add(0x1d0);}constructor(_0x4766c0){const _0x51505f=_0x1682af;super(_0x4766c0),this[_0x51505f(0x237)]=new Map(),this[_0x51505f(0x1db)]=new Map(),this[_0x51505f(0x1df)]=new Map(),this[_0x51505f(0x1ea)]=new Map();const _0x34f4b8=this[_0x51505f(0x20f)][_0x51505f(0x21b)];_0x34f4b8[_0x51505f(0x1dd)](_0x51505f(0x249),_0x32dc88),_0x34f4b8[_0x51505f(0x1dd)](_0x51505f(0x235),!0x1),this[_0x51505f(0x1f0)]=_0x34f4b8[_0x51505f(0x1c3)](_0x51505f(0x235));}[_0x1682af(0x20a)](_0x89aa09,_0x429d67){const _0x50e6f6=_0x1682af;0x0===this[_0x50e6f6(0x1ea)][_0x50e6f6(0x1d2)]&&setTimeout(()=>{const _0x270c25=_0x50e6f6;for(const [_0x263b8e,_0x22d44d]of this[_0x270c25(0x1ea)]){const _0x1c3b70=this[_0x270c25(0x237)][_0x270c25(0x246)](_0x263b8e);_0x1c3b70||_0x22d44d?_0x1c3b70&&_0x22d44d&&this[_0x270c25(0x241)](_0x263b8e):this[_0x270c25(0x201)](_0x263b8e);}this[_0x270c25(0x1ea)][_0x270c25(0x205)](),this[_0x270c25(0x20f)][_0x270c25(0x209)][_0x270c25(0x1c3)](_0x270c25(0x24f))[_0x270c25(0x22d)](),this[_0x270c25(0x207)]();},0xa),this[_0x50e6f6(0x1ea)][_0x50e6f6(0x232)](_0x89aa09,_0x429d67);}[_0x1682af(0x1f2)](){const _0x196db2=_0x1682af,_0x88439b=this[_0x196db2(0x20f)],_0x1fee39=_0x88439b[_0x196db2(0x209)][_0x196db2(0x1c3)](_0x196db2(0x1c0)),_0x1dfbb3=_0x88439b[_0x196db2(0x209)][_0x196db2(0x1c3)](_0x196db2(0x240)),_0x58a775=_0x88439b[_0x196db2(0x209)][_0x196db2(0x1c3)](_0x196db2(0x24f)),_0x3aa7e5=_0x88439b[_0x196db2(0x209)][_0x196db2(0x1c3)](_0x196db2(0x221));this[_0x196db2(0x23e)](),_0x58a775[_0x196db2(0x1fc)](()=>{const _0x7ac884=_0x196db2,_0x1d9526=[];for(const [_0x4ffffa,_0x4a4ac0]of Array[_0x7ac884(0x1c8)](this[_0x7ac884(0x237)])){const _0x2a1d39=_0x4ffffa[_0x7ac884(0x226)](),_0x5cd8eb=[];for(const _0x200495 of _0x2a1d39){if(!_0x200495[_0x7ac884(0x1cc)])continue;if(_0x200495[_0x7ac884(0x1e8)]){_0x5cd8eb[_0x7ac884(0x1f7)](..._0x200495[_0x7ac884(0x1c2)]());continue;}const _0x334cf7=_0x200495[_0x7ac884(0x1de)]();if(_0x5cd8eb[_0x7ac884(0x1d3)]>0x0){const _0x531bdf=_0x5cd8eb[0x0][_0x7ac884(0x219)](_0x334cf7);if(_0x531bdf){_0x5cd8eb[0x0]=_0x531bdf;continue;}}_0x5cd8eb[_0x7ac884(0x1f7)](_0x334cf7);}_0x1d9526[_0x7ac884(0x1f7)]([_0x4a4ac0[_0x7ac884(0x1f3)],_0x5cd8eb]);}return _0x1d9526;}),this[_0x196db2(0x220)](_0x1fee39,_0x196db2(0x222),(_0x243129,_0x1aa1a2)=>{const _0x3bbf50=_0x196db2;this[_0x3bbf50(0x220)](_0x1aa1a2,_0x3bbf50(0x1d5),(_0x2b7c29,_0x417965,_0x29fd3e,_0x3fc9a3)=>{const _0x2d2d1a=_0x3bbf50;_0x1aa1a2[_0x2d2d1a(0x1cc)]&&(null==_0x29fd3e?(this[_0x2d2d1a(0x1fe)](_0x3fc9a3[_0x2d2d1a(0x23f)]),this[_0x2d2d1a(0x20a)](_0x1aa1a2,!0x1)):(this[_0x2d2d1a(0x1fe)](_0x29fd3e[_0x2d2d1a(0x23f)]),null==_0x3fc9a3&&this[_0x2d2d1a(0x20a)](_0x1aa1a2,!0x0)));}),null!==_0x1aa1a2[_0x3bbf50(0x21d)]?this[_0x3bbf50(0x1fe)](_0x1aa1a2[_0x3bbf50(0x23f)]):this[_0x3bbf50(0x20a)](_0x1aa1a2,!0x1);}),this[_0x196db2(0x220)](_0x1fee39,_0x196db2(0x1f6),(_0x514340,_0x43e66d,_0x3a3b62)=>{const _0x10baa0=_0x196db2;this[_0x10baa0(0x230)](_0x43e66d,_0x10baa0(0x1d5)),this[_0x10baa0(0x1ea)][_0x10baa0(0x1f1)](_0x43e66d),this[_0x10baa0(0x237)][_0x10baa0(0x246)](_0x43e66d)&&this[_0x10baa0(0x241)](_0x43e66d),_0x3a3b62&&this[_0x10baa0(0x1fe)](_0x3a3b62[_0x10baa0(0x23f)]);}),this[_0x196db2(0x220)](_0x1fee39,_0x196db2(0x211),(_0x52743d,_0xf21fc5)=>{const _0x4626bc=_0x196db2;this[_0x4626bc(0x1fe)](_0xf21fc5);}),this[_0x196db2(0x220)](_0x1dfbb3,_0x196db2(0x213),()=>{const _0x2b58b7=_0x196db2;this[_0x2b58b7(0x207)]();}),this[_0x196db2(0x220)](_0x3aa7e5,_0x196db2(0x1f5),(_0x49169d,{threadId:_0x51ae86,isFromAdapter:_0x16aff7})=>{const _0x4996fa=_0x196db2;if(_0x16aff7||!_0x1fee39[_0x4996fa(0x203)](_0x51ae86))return;const _0x3a824c=_0x1fee39[_0x4996fa(0x1ce)](_0x51ae86);this[_0x4996fa(0x237)][_0x4996fa(0x1c3)](_0x3a824c)[_0x4996fa(0x1f3)][_0x4996fa(0x1fd)]();},{'priority':_0x196db2(0x233)});}[_0x1682af(0x207)](){const _0x112d81=_0x1682af,_0x39f26b=this[_0x112d81(0x20f)][_0x112d81(0x209)][_0x112d81(0x1c3)](_0x112d81(0x240)),_0x1d98eb=this[_0x112d81(0x20f)][_0x112d81(0x209)][_0x112d81(0x1c3)](_0x112d81(0x1c0)),_0x5194f5=Array[_0x112d81(0x1c8)](_0x39f26b[_0x112d81(0x21c)],_0x2dd1c9=>_0x2dd1c9[_0x112d81(0x22c)])[_0x112d81(0x223)](_0x3384ca=>this[_0x112d81(0x1db)][_0x112d81(0x246)](_0x3384ca)),_0x4e78fc=[];for(const _0x2511f5 of _0x5194f5){const _0x1ef92a=this[_0x112d81(0x1db)][_0x112d81(0x1c3)](_0x2511f5)[_0x112d81(0x23b)][_0x112d81(0x226)]();_0x4e78fc[_0x112d81(0x1f7)](..._0x1ef92a[_0x112d81(0x215)]((_0x24af26,_0xb5515e)=>[..._0x24af26,..._0xb5515e[_0x112d81(0x24e)]()],[]));}_0x1d98eb[_0x112d81(0x224)]=_0x4e78fc;}[_0x1682af(0x23e)](){const _0x6aeadc=_0x1682af,_0x1371fd=this[_0x6aeadc(0x20f)],_0x212bfa=_0x1371fd[_0x6aeadc(0x200)],_0x1caf9c=_0x399dfc(_0x212bfa,_0x6aeadc(0x20e)),_0x188cab=new _0x153a2c([{'type':_0x6aeadc(0x24b),'model':new _0xa1be23({'withText':!0x0,'isToggleable':!0x0,'label':_0x1caf9c,'commandName':_0x6aeadc(0x250),'role':_0x6aeadc(0x208)})},{'type':_0x6aeadc(0x1cd)},{'type':_0x6aeadc(0x234),'model':new _0xa1be23({'withText':!0x0,'label':_0x399dfc(_0x212bfa,_0x6aeadc(0x24d)),'commandName':_0x6aeadc(0x1e3),'role':_0x6aeadc(0x1fa)})},{'type':_0x6aeadc(0x234),'model':new _0xa1be23({'withText':!0x0,'label':_0x399dfc(_0x212bfa,_0x6aeadc(0x242)),'commandName':_0x6aeadc(0x227),'role':_0x6aeadc(0x1fa)})},{'type':_0x6aeadc(0x234),'model':new _0xa1be23({'withText':!0x0,'label':_0x399dfc(_0x212bfa,_0x6aeadc(0x23d)),'commandName':_0x6aeadc(0x1eb),'role':_0x6aeadc(0x1fa)})},{'type':_0x6aeadc(0x234),'model':new _0xa1be23({'withText':!0x0,'label':_0x399dfc(_0x212bfa,_0x6aeadc(0x1d4)),'commandName':_0x6aeadc(0x252),'role':_0x6aeadc(0x1fa)})}]);for(const _0x534ad6 of _0x188cab)if(re(_0x534ad6)){const _0x823e70=_0x1371fd[_0x6aeadc(0x1fb)][_0x6aeadc(0x1c3)](_0x534ad6[_0x6aeadc(0x23b)][_0x6aeadc(0x214)]);_0x534ad6[_0x6aeadc(0x23b)][_0x6aeadc(0x1c4)](_0x6aeadc(0x24c),_0x6aeadc(0x1cb))['to'](_0x823e70,_0x6aeadc(0x21e),_0x6aeadc(0x1cb));}_0x1371fd['ui'][_0x6aeadc(0x1cf)][_0x6aeadc(0x1ee)](_0x6aeadc(0x250),_0x5b4206=>this[_0x6aeadc(0x1da)](_0x5b4206,_0x188cab,_0x1caf9c)),_0x1371fd['ui'][_0x6aeadc(0x1cf)][_0x6aeadc(0x1ee)](_0x6aeadc(0x229),_0x5f1d78=>this[_0x6aeadc(0x251)](_0x5f1d78,_0x188cab,_0x1caf9c));}[_0x1682af(0x1da)](_0x29d86a,_0x5943a3,_0x48b464){const _0x28c0bc=_0x1682af,_0x8ee0e6=_0xa3024e(_0x29d86a,_0x4b15c3),_0x599d0d=this[_0x28c0bc(0x20f)][_0x28c0bc(0x1fb)][_0x28c0bc(0x1c3)](_0x28c0bc(0x250));_0x8ee0e6[_0x28c0bc(0x1e6)][_0x28c0bc(0x232)]({'tooltip':_0x48b464,'label':_0x48b464,'icon':_0x5735ba}),_0x8ee0e6[_0x28c0bc(0x1e6)][_0x28c0bc(0x1c4)](_0x28c0bc(0x24c))['to'](_0x599d0d,_0x28c0bc(0x21e)),_0x8ee0e6[_0x28c0bc(0x1e6)]['on'](_0x28c0bc(0x1f8),()=>{const _0x11e272=_0x28c0bc;_0x599d0d[_0x11e272(0x1f8)](),this[_0x11e272(0x20f)][_0x11e272(0x1ec)][_0x11e272(0x1f3)][_0x11e272(0x1fd)]();}),_0xb87402(_0x8ee0e6,_0x5943a3,{'role':_0x28c0bc(0x210)});const _0x74d02=[];for(const _0x4720cd of _0x5943a3)re(_0x4720cd)&&_0x74d02[_0x28c0bc(0x1f7)](this[_0x28c0bc(0x20f)][_0x28c0bc(0x1fb)][_0x28c0bc(0x1c3)](_0x4720cd[_0x28c0bc(0x23b)][_0x28c0bc(0x214)]));const _0x501327=_0x8ee0e6[_0x28c0bc(0x1e6)];return _0x501327[_0x28c0bc(0x231)][_0x28c0bc(0x228)](_0x28c0bc(0x1cb)),_0x501327[_0x28c0bc(0x247)][_0x28c0bc(0x228)](_0x28c0bc(0x1cb)),_0x501327[_0x28c0bc(0x231)][_0x28c0bc(0x1c4)](_0x28c0bc(0x1cb))['to'](_0x599d0d,_0x28c0bc(0x1cb)),_0x501327[_0x28c0bc(0x247)][_0x28c0bc(0x1c4)](_0x28c0bc(0x1cb))[_0x28c0bc(0x1c5)](_0x74d02,_0x28c0bc(0x1cb),(..._0x29e940)=>_0x29e940[_0x28c0bc(0x1d8)](_0x2c9f94=>_0x2c9f94)),_0x8ee0e6['on'](_0x28c0bc(0x1f8),_0xeaf7a0=>{const _0x248067=_0x28c0bc;this[_0x248067(0x20f)][_0x248067(0x1f8)](_0xeaf7a0[_0x248067(0x216)][_0x248067(0x214)]),this[_0x248067(0x20f)][_0x248067(0x1ec)][_0x248067(0x1f3)][_0x248067(0x1fd)]();}),_0x8ee0e6;}[_0x1682af(0x251)](_0xd594fb,_0x3b5b9d,_0x2fbd4a){const _0x575d76=_0x1682af,_0x4d374d=new _0x392198(_0xd594fb),_0x45e7fa=this[_0x575d76(0x20f)][_0x575d76(0x1fb)][_0x575d76(0x1c3)](_0x575d76(0x250));_0x4d374d[_0x575d76(0x1e6)][_0x575d76(0x232)]({'label':_0x2fbd4a,'icon':_0x5735ba});const _0x32d829=new _0x3aa544(_0xd594fb);for(const _0x47c2dd of _0x3b5b9d){if(_0x575d76(0x1cd)==_0x47c2dd[_0x575d76(0x21a)]){_0x32d829[_0x575d76(0x225)][_0x575d76(0x1ee)](new _0x38d5c8(_0xd594fb));continue;}const _0xaaab71=new _0x32854f(_0xd594fb,_0x4d374d),_0x3622a6=new _0x17501f(_0xd594fb),_0x3b2ffe=_0x47c2dd[_0x575d76(0x23b)];_0x3622a6[_0x575d76(0x1c4)](...Object[_0x575d76(0x1f4)](_0x3b2ffe))['to'](_0x3b2ffe),_0x3622a6[_0x575d76(0x238)](_0x575d76(0x1f8))['to'](_0x4d374d),_0x3622a6['on'](_0x575d76(0x1f8),()=>{const _0x464140=_0x575d76;this[_0x464140(0x20f)][_0x464140(0x1f8)](_0x3b2ffe[_0x464140(0x214)]),this[_0x464140(0x20f)][_0x464140(0x1ec)][_0x464140(0x1f3)][_0x464140(0x1fd)]();}),_0xaaab71[_0x575d76(0x22f)][_0x575d76(0x1ee)](_0x3622a6),_0x32d829[_0x575d76(0x225)][_0x575d76(0x1ee)](_0xaaab71);}return _0x4d374d[_0x575d76(0x1c4)](_0x575d76(0x1cb))['to'](_0x45e7fa,_0x575d76(0x1cb)),_0x4d374d[_0x575d76(0x1e1)][_0x575d76(0x22f)][_0x575d76(0x1ee)](_0x32d829),_0x4d374d;}[_0x1682af(0x201)](_0x1bcd8){const _0x1b476a=_0x1682af,_0x3a0e01=this[_0x1b476a(0x20f)],_0x3c9185=_0x3a0e01[_0x1b476a(0x21b)],_0x5882b3=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x240)),_0x2d1cbe=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x221)),_0x34b83e=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x24f)),_0x3e5288=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1ccd00)['me'],_0x566581=_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x250))[_0x1b476a(0x1ca)],{CommentsListView:_0x51e92f,CommentThreadInputView:_0xf8753c}=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x23a));let _0x13982d,_0x529035;this[_0x1b476a(0x1df)][_0x1b476a(0x246)](_0x1bcd8['id'])?(_0x529035=this[_0x1b476a(0x1df)][_0x1b476a(0x1c3)](_0x1bcd8['id']),_0x13982d=_0x529035[_0x1b476a(0x1c9)]):(_0x13982d=new _0x566581(_0x3a0e01[_0x1b476a(0x200)],_0x1bcd8,_0x3e5288,{'disableComments':this[_0x1b476a(0x1f0)],'editorConfig':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x248)),'maxCommentsWhenCollapsed':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x243)),'maxThreadTotalWeight':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x204)),'maxCommentCharsWhenCollapsed':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x20b)),'formatDateTime':_0x395fe8(_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x200))),'CommentView':_0x3c9185[_0x1b476a(0x1c3)](_0x1b476a(0x1e0))[_0x1b476a(0x245)],'CommentsListView':_0x51e92f,'CommentThreadInputView':_0xf8753c}),_0x13982d[_0x1b476a(0x22b)]['on'](_0x1b476a(0x1f8),()=>{const _0x47d7fd=_0x1b476a;_0x3a0e01[_0x47d7fd(0x1ec)][_0x47d7fd(0x1f3)][_0x47d7fd(0x1fd)]();}),_0x13982d[_0x1b476a(0x212)]['on'](_0x1b476a(0x1f8),()=>{const _0x36b658=_0x1b476a;_0x3a0e01[_0x36b658(0x1ec)][_0x36b658(0x1f3)][_0x36b658(0x1fd)]();}),_0x529035=_0x5882b3[_0x1b476a(0x22a)](this[_0x1b476a(0x20f)][_0x1b476a(0x200)],_0x13982d),_0x529035[_0x1b476a(0x1c4)](_0x1b476a(0x1dc))['to'](_0x13982d,_0x1b476a(0x1dc)),_0x529035[_0x1b476a(0x1c4)](_0x1b476a(0x1d3))['to'](_0x13982d),_0x529035[_0x1b476a(0x1c4)](_0x1b476a(0x21a))['to'](_0x13982d,_0x1b476a(0x21a),_0x2598ca=>_0x1b476a(0x1e9)+_0x2598ca),this[_0x1b476a(0x1df)][_0x1b476a(0x232)](_0x1bcd8['id'],_0x529035));const _0x56574b=_0x2d1cbe[_0x1b476a(0x1ef)](_0x1bcd8[_0x1b476a(0x1c1)],_0x13982d),_0x214d6d=new _0x4d064c(_0x3a0e01,_0x1bcd8,_0x13982d,_0x56574b),_0x4f82b9=_0x1bcd8[_0x1b476a(0x226)]()[_0x1b476a(0x223)](_0x1c76f7=>_0x1c76f7[_0x1b476a(0x1cc)]);_0x13982d[_0x1b476a(0x24a)]=_0x3a0e01[_0x1b476a(0x209)][_0x1b476a(0x1c3)](_0x1b476a(0x1c0))[_0x1b476a(0x1d7)][_0x1b476a(0x1d9)](_0x4f82b9),this[_0x1b476a(0x237)][_0x1b476a(0x232)](_0x1bcd8,_0x214d6d),this[_0x1b476a(0x1db)][_0x1b476a(0x232)](_0x13982d,_0x214d6d);const _0x21696f=_0x5882b3[_0x1b476a(0x1e2)]({'view':_0x529035,'target':()=>{const _0x377355=_0x1b476a,_0x2d8fd0=[],_0x33238a=_0x1bcd8[_0x377355(0x226)]()[_0x377355(0x223)](_0x132430=>_0x132430[_0x377355(0x1cc)]);for(const _0x1a9e7f of _0x33238a)_0x2d8fd0[_0x377355(0x1f7)](..._0x1a9e7f[_0x377355(0x1c7)]());return _0xf79273(_0x3a0e01[_0x377355(0x1ec)],_0x2d8fd0);},'type':()=>_0x1b476a(0x1e9)+_0x214d6d[_0x1b476a(0x1f3)][_0x1b476a(0x21a)]});_0x2d1cbe[_0x1b476a(0x1f9)](_0x13982d,_0x21696f),_0x5882b3[_0x1b476a(0x1ee)](_0x21696f),_0x34b83e[_0x1b476a(0x1e5)](_0x21696f);}[_0x1682af(0x241)](_0x1f1d44){const _0x507ed4=_0x1682af,_0x5e4286=this[_0x507ed4(0x20f)][_0x507ed4(0x209)][_0x507ed4(0x1c3)](_0x507ed4(0x221)),_0xc0d84b=this[_0x507ed4(0x20f)][_0x507ed4(0x209)][_0x507ed4(0x1c3)](_0x507ed4(0x240)),_0x2005f2=this[_0x507ed4(0x237)][_0x507ed4(0x1c3)](_0x1f1d44),_0x4ac550=_0x2005f2[_0x507ed4(0x1f3)],_0x2cc153=_0xc0d84b[_0x507ed4(0x20c)](_0x4ac550);_0x5e4286[_0x507ed4(0x1d6)](_0x4ac550),_0x2cc153&&_0xc0d84b[_0x507ed4(0x218)](_0x2cc153),this[_0x507ed4(0x237)][_0x507ed4(0x1f1)](_0x1f1d44),this[_0x507ed4(0x1db)][_0x507ed4(0x1f1)](_0x4ac550),_0x2005f2[_0x507ed4(0x217)]();}[_0x1682af(0x1fe)](_0x21cdd2){const _0x18139d=_0x1682af;if(!_0x21cdd2[_0x18139d(0x1cc)]||!this[_0x18139d(0x237)][_0x18139d(0x246)](_0x21cdd2))return;const _0x356c36=this[_0x18139d(0x20f)][_0x18139d(0x209)][_0x18139d(0x1c3)](_0x18139d(0x1c0)),_0x34b44b=this[_0x18139d(0x237)][_0x18139d(0x1c3)](_0x21cdd2),_0x530b6c=_0x21cdd2[_0x18139d(0x226)]();_0x34b44b[_0x18139d(0x1f3)][_0x18139d(0x24a)]=_0x356c36[_0x18139d(0x1d7)][_0x18139d(0x1d9)](_0x530b6c);}[_0x1682af(0x217)](){const _0x194dca=_0x1682af;for(const _0x1fa0dc of this[_0x194dca(0x237)][_0x194dca(0x1f4)]())this[_0x194dca(0x241)](_0x1fa0dc);for(const _0x28c4f8 of this[_0x194dca(0x1df)][_0x194dca(0x1c6)]())_0x28c4f8[_0x194dca(0x1c9)][_0x194dca(0x217)]();super[_0x194dca(0x217)]();}}function re(_0x1efc44){const _0x415a97=_0x1682af;return _0x415a97(0x23b)in _0x1efc44;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0xab63a0=_0x3c29;function _0x3c29(_0x5a811a,_0x2d4e7f){const _0x2954c8=_0x2954();return _0x3c29=function(_0x3c2997,_0x4444cc){_0x3c2997=_0x3c2997-0xcd;let _0x4d07d6=_0x2954c8[_0x3c2997];return _0x4d07d6;},_0x3c29(_0x5a811a,_0x2d4e7f);}(function(_0x211653,_0x4c3913){const _0x2ee48a=_0x3c29,_0x60266c=_0x211653();while(!![]){try{const _0x5d0f52=-parseInt(_0x2ee48a(0xe7))/0x1*(parseInt(_0x2ee48a(0xd0))/0x2)+parseInt(_0x2ee48a(0xf6))/0x3*(parseInt(_0x2ee48a(0xe6))/0x4)+-parseInt(_0x2ee48a(0xdf))/0x5+parseInt(_0x2ee48a(0xde))/0x6*(parseInt(_0x2ee48a(0xd3))/0x7)+-parseInt(_0x2ee48a(0xee))/0x8+-parseInt(_0x2ee48a(0xdb))/0x9*(parseInt(_0x2ee48a(0xf3))/0xa)+parseInt(_0x2ee48a(0xe8))/0xb;if(_0x5d0f52===_0x4c3913)break;else _0x60266c['push'](_0x60266c['shift']());}catch(_0x1522cc){_0x60266c['push'](_0x60266c['shift']());}}}(_0x2954,0xed8dc));import{ObservableMixin as _0x48e30f}from'ckeditor5/src/utils.js';import{getTranslation as _0x425535}from'../utils/common-translations.js';function _0x2954(){const _0xa24f9=['10oAAWlG','commands','PendingActions','12xkRynM','canEditAt','acceptSuggestion','_pendingAction','unbind','3791778mUXVmi','PENDING_ACTION_SUGGESTION','isDirty','17367DyRtlj','add','canDiscard','_acceptCommand','getRanges','_removePendingAction','discardSuggestion','remove','11475099GUbSIa','locale','bind','834wXjooG','8900030ivQMLW','execute','change:isDirty','_discardCommand','_setPendingAction','get','listenTo','1879564rHVyyr','1HhHXtY','60126814bYupFL','_editor','canAccept','view','commentThreadController','isEnabled','14132568PHySpj','model','plugins','stopListening','destroy'];_0x2954=function(){return _0xa24f9;};return _0x2954();}export default class ne extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x48e30f(){constructor(_0x335eda,_0x3c3f87,_0x5e460e,_0x1c8aab){const _0x286aa0=_0x3c29;super(),this[_0x286aa0(0xef)]=_0x3c3f87,this[_0x286aa0(0xeb)]=_0x5e460e,this[_0x286aa0(0xec)]=_0x1c8aab,this[_0x286aa0(0xe9)]=_0x335eda,this[_0x286aa0(0xd6)]=_0x335eda[_0x286aa0(0xf4)][_0x286aa0(0xe4)](_0x286aa0(0xcd)),this[_0x286aa0(0xe2)]=_0x335eda[_0x286aa0(0xf4)][_0x286aa0(0xe4)](_0x286aa0(0xd9)),this[_0x286aa0(0xeb)][_0x286aa0(0xdd)](_0x286aa0(0xed))['to'](this[_0x286aa0(0xd6)],this[_0x286aa0(0xe2)],(_0x377835,_0x46e805)=>_0x377835||_0x46e805),this[_0x286aa0(0xeb)][_0x286aa0(0xdd)](_0x286aa0(0xea))['to'](this[_0x286aa0(0xd6)],_0x286aa0(0xed),_0x4ba38a=>_0x4ba38a&&this[_0x286aa0(0xe9)][_0x286aa0(0xef)][_0x286aa0(0xf7)](_0x3c3f87[_0x286aa0(0xd7)]())),this[_0x286aa0(0xeb)][_0x286aa0(0xdd)](_0x286aa0(0xd5))['to'](this[_0x286aa0(0xe2)],_0x286aa0(0xed),_0x4a2b33=>_0x4a2b33&&this[_0x286aa0(0xe9)][_0x286aa0(0xef)][_0x286aa0(0xf7)](_0x3c3f87[_0x286aa0(0xd7)]())),this[_0x286aa0(0xce)]=null,_0x5e460e[_0x286aa0(0xd2)]&&this[_0x286aa0(0xe3)](),this[_0x286aa0(0xe5)](_0x5e460e,_0x286aa0(0xcd),()=>this[_0x286aa0(0xcd)]()),this[_0x286aa0(0xe5)](_0x5e460e,_0x286aa0(0xd9),()=>this[_0x286aa0(0xd9)]()),this[_0x286aa0(0xe5)](_0x5e460e,_0x286aa0(0xe1),()=>{const _0xc0a576=_0x286aa0;_0x5e460e[_0xc0a576(0xd2)]?this[_0xc0a576(0xe3)]():this[_0xc0a576(0xd8)]();});}[_0xab63a0(0xcd)](){const _0x3f408a=_0xab63a0;this[_0x3f408a(0xd6)][_0x3f408a(0xe0)](this[_0x3f408a(0xef)]['id']);}[_0xab63a0(0xd9)](){const _0x8d6555=_0xab63a0;this[_0x8d6555(0xe2)][_0x8d6555(0xe0)](this[_0x8d6555(0xef)]['id']);}[_0xab63a0(0xf2)](){const _0x2d7232=_0xab63a0;this[_0x2d7232(0xeb)][_0x2d7232(0xcf)](_0x2d7232(0xed)),this[_0x2d7232(0xeb)][_0x2d7232(0xcf)](_0x2d7232(0xea)),this[_0x2d7232(0xeb)][_0x2d7232(0xcf)](_0x2d7232(0xd5)),this[_0x2d7232(0xf1)](),this[_0x2d7232(0xec)][_0x2d7232(0xf2)](),this[_0x2d7232(0xce)]&&this[_0x2d7232(0xd8)]();}[_0xab63a0(0xe3)](){const _0x3975f1=_0xab63a0,_0x34e48e=_0x425535(this[_0x3975f1(0xe9)][_0x3975f1(0xdc)],_0x3975f1(0xd1));this[_0x3975f1(0xce)]=this[_0x3975f1(0xe9)][_0x3975f1(0xf0)][_0x3975f1(0xe4)](_0x3975f1(0xf5))[_0x3975f1(0xd4)](_0x34e48e);}[_0xab63a0(0xd8)](){const _0x10b7f5=_0xab63a0;null!==this[_0x10b7f5(0xce)]&&this[_0x10b7f5(0xe9)][_0x10b7f5(0xf0)][_0x10b7f5(0xe4)](_0x10b7f5(0xf5))[_0x10b7f5(0xda)](this[_0x10b7f5(0xce)]),this[_0x10b7f5(0xce)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dc2ad=_0x42f7;function _0x42f7(_0x25537a,_0x108eea){const _0x1cad05=_0x1cad();return _0x42f7=function(_0x42f7db,_0x4766a2){_0x42f7db=_0x42f7db-0x122;let _0x2b4787=_0x1cad05[_0x42f7db];return _0x2b4787;},_0x42f7(_0x25537a,_0x108eea);}(function(_0x4038e2,_0x188404){const _0x25dc94=_0x42f7,_0x296bdc=_0x4038e2();while(!![]){try{const _0x2dde3d=parseInt(_0x25dc94(0x152))/0x1*(parseInt(_0x25dc94(0x147))/0x2)+parseInt(_0x25dc94(0x126))/0x3*(-parseInt(_0x25dc94(0x139))/0x4)+-parseInt(_0x25dc94(0x155))/0x5*(-parseInt(_0x25dc94(0x12b))/0x6)+-parseInt(_0x25dc94(0x13a))/0x7+parseInt(_0x25dc94(0x14b))/0x8*(-parseInt(_0x25dc94(0x14d))/0x9)+-parseInt(_0x25dc94(0x133))/0xa+parseInt(_0x25dc94(0x13d))/0xb*(parseInt(_0x25dc94(0x122))/0xc);if(_0x2dde3d===_0x188404)break;else _0x296bdc['push'](_0x296bdc['shift']());}catch(_0x3803fd){_0x296bdc['push'](_0x296bdc['shift']());}}}(_0x1cad,0x5a667));import{View as _0x19ab24}from'ckeditor5/src/ui.js';function _0x1cad(){const _0x381c80=['commentInputView','11DIupZh','_model','isEnabled','655qgvkaE','cancel','12FSVHAY','_config','destroy','isDirty','3kZWFEq','fire','_createCommentThreadInputView','focus','assign','29478pCXFrt','set','isReadOnly','authoredAt','value','isActive','editor','disableComments','3791240IWPhCJ','_localUser','showInput','_createCommentViews','locale','canDiscard','1095240YGZcSE','717759GWtviC','delegate','CommentView','4356473CGalCt','addComment','commentThread','bind','canAccept','commentsListView','length','hasDirtyComment','setData','updateComment','23896DunKzy','commentThreadInputView','element','submit','40288mYOrZs','disabledSubmit','81GkQHHs','removeComment','descriptionParts','editorConfig'];_0x1cad=function(){return _0x381c80;};return _0x1cad();}export default class es extends _0x19ab24{constructor(_0x413913,_0x2ed7c1,_0x2051ee,_0xa83ab5){const _0x209288=_0x42f7;super(_0x413913),this[_0x209288(0x142)]=null,this[_0x209288(0x148)]=null,this[_0x209288(0x12c)](_0x209288(0x130),!0x1),this[_0x209288(0x12c)](_0x209288(0x12e),_0x2ed7c1[_0x209288(0x12e)]),this[_0x209288(0x140)](_0x209288(0x12e))['to'](_0x2ed7c1),this[_0x209288(0x12c)](_0x209288(0x14f),[]),this[_0x209288(0x12c)](_0x209288(0x125),!0x1),this[_0x209288(0x12c)](_0x209288(0x154),!0x1),this[_0x209288(0x12c)](_0x209288(0x141),!0x1),this[_0x209288(0x12c)](_0x209288(0x138),!0x1),this[_0x209288(0x153)]=_0x2ed7c1,this[_0x209288(0x134)]=_0x2051ee,this[_0x209288(0x123)]=_0xa83ab5,_0xa83ab5[_0x209288(0x132)]?this[_0x209288(0x12c)](_0x209288(0x143),0x1):this[_0x209288(0x136)]();}[_0x1dc2ad(0x129)](){const _0x35318c=_0x1dc2ad;this[_0x35318c(0x149)][_0x35318c(0x129)]();}[_0x1dc2ad(0x124)](){const _0x139501=_0x1dc2ad;this[_0x139501(0x142)]&&this[_0x139501(0x142)][_0x139501(0x124)](),this[_0x139501(0x148)]&&this[_0x139501(0x148)][_0x139501(0x124)](),super[_0x139501(0x124)]();}[_0x1dc2ad(0x136)](){const _0x335c11=_0x1dc2ad,{CommentsListView:_0x1c1995}=this[_0x335c11(0x123)];this[_0x335c11(0x142)]=new _0x1c1995(this[_0x335c11(0x137)],this[_0x335c11(0x153)][_0x335c11(0x13f)],Object[_0x335c11(0x12a)]({'CommentView':this[_0x335c11(0x123)][_0x335c11(0x13c)]},this[_0x335c11(0x123)])),this[_0x335c11(0x142)][_0x335c11(0x13b)](_0x335c11(0x14e))['to'](this),this[_0x335c11(0x142)][_0x335c11(0x13b)](_0x335c11(0x146))['to'](this),this[_0x335c11(0x142)][_0x335c11(0x140)](_0x335c11(0x130))['to'](this),this[_0x335c11(0x12c)](_0x335c11(0x143),this[_0x335c11(0x142)][_0x335c11(0x143)]+0x1),this[_0x335c11(0x140)](_0x335c11(0x143))['to'](this[_0x335c11(0x142)],_0x335c11(0x143),_0x9d485a=>_0x9d485a+0x1),this[_0x335c11(0x148)]=this[_0x335c11(0x128)](),this['on'](_0x335c11(0x14e),()=>this[_0x335c11(0x129)]()),this[_0x335c11(0x140)](_0x335c11(0x125))['to'](this[_0x335c11(0x142)],_0x335c11(0x144),this[_0x335c11(0x148)][_0x335c11(0x151)],_0x335c11(0x12f),(_0x2fe8cc,_0x9f3f1c)=>_0x2fe8cc||!!_0x9f3f1c);}[_0x1dc2ad(0x128)](){const _0x3c909d=_0x1dc2ad,{CommentThreadInputView:_0x1498d8}=this[_0x3c909d(0x123)],_0x520d84=new _0x1498d8(this[_0x3c909d(0x137)],this[_0x3c909d(0x134)],this[_0x3c909d(0x123)][_0x3c909d(0x150)]),_0x3c5d57=_0x520d84[_0x3c909d(0x151)];return _0x520d84[_0x3c909d(0x140)](_0x3c909d(0x135))['to'](this,_0x3c909d(0x130),this[_0x3c909d(0x153)][_0x3c909d(0x13f)],_0x3c909d(0x12d),_0x3c5d57,_0x3c909d(0x12f),(_0x3cc8e1,_0x20227a,_0x3cd802)=>!!_0x3cd802||_0x3cc8e1&&!_0x20227a),_0x3c5d57['on'](_0x3c909d(0x14a),(_0xd566ee,_0x19ee6f)=>{const _0x3f6e1a=_0x3c909d;this[_0x3f6e1a(0x127)](_0x3f6e1a(0x13e),_0x19ee6f),_0x3c5d57[_0x3f6e1a(0x131)][_0x3f6e1a(0x145)]('');}),_0x3c5d57['on'](_0x3c909d(0x156),()=>this[_0x3c909d(0x129)]()),_0x3c5d57[_0x3c909d(0x140)](_0x3c909d(0x14c))['to'](this[_0x3c909d(0x153)][_0x3c909d(0x13f)],_0x3c909d(0x12d)),_0x520d84;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x484b50=_0x2c16;(function(_0x44b9c5,_0x5e6798){const _0x4ec4e2=_0x2c16,_0x1c3ddf=_0x44b9c5();while(!![]){try{const _0x439d0f=parseInt(_0x4ec4e2(0xbd))/0x1*(parseInt(_0x4ec4e2(0xad))/0x2)+-parseInt(_0x4ec4e2(0xc7))/0x3*(parseInt(_0x4ec4e2(0xec))/0x4)+-parseInt(_0x4ec4e2(0xb8))/0x5+parseInt(_0x4ec4e2(0x9b))/0x6*(-parseInt(_0x4ec4e2(0xd4))/0x7)+-parseInt(_0x4ec4e2(0xe0))/0x8+-parseInt(_0x4ec4e2(0xcc))/0x9+parseInt(_0x4ec4e2(0xab))/0xa;if(_0x439d0f===_0x5e6798)break;else _0x1c3ddf['push'](_0x1c3ddf['shift']());}catch(_0x3eef07){_0x1c3ddf['push'](_0x1c3ddf['shift']());}}}(_0xd032,0x44dec));function _0xd032(){const _0x54acb6=['color','ck-annotation__actions','ck-annotation__info','ck-suggestion--accept','ck-suggestion--discard','ck-comment__info-time','ck-suggestion--disabled-comments','locale','EXTERNAL_IMPORT_WORD_AVATAR','map','4ceLugv','bind','ck-annotation__user','delegate','ck-suggestion__actions','isExternal','time','EXTERNAL_SUGGESTION','EXTERNAL_IMPORT_WORD_SUGGESTION','getUserViewNotificationText','source','\x22></span>','div','_model','innerText','ck-suggestion','ck-suggestion-wrapper','</p>','_createButton','ck-annotation__info-name','ck-suggestion__info','setTemplate','ck-suggestion__info-name','isEnabled','discardSuggestion','<span\x20class=\x22ck-suggestion-type\x22>','formatDateTime','createElement','descriptionParts','isActive','8040ddoZxa','extendTemplate','innerHTML','type','ck-suggestion__user','split','commentThread','<p>','getExternalSuggestionNote','.ck-annotation__content-wrapper','importWord','author','bindTemplate','canAccept','ck-annotation__info-time','value','10720870eyFUWL','push','2obyJyx','Discard\x20suggestion','check','EXTERNAL_AVATAR','@external','_descriptionElement','commentThreadInputView','\x22\x20title=\x22','querySelector','attributes','ck-annotation','1917790enLgqN','acceptButton','ck-suggestion-wrapper--active','getTemplate','authoredAt','198811wNILuZ','execute','render','set','ck-suggestion__main','join','editorDestroyed','_config','change:description','element','976434yroAwF','children','content','commentsListView','acceptSuggestion','1117242Zgfwrh','discardButton','disableComments','ck-annotation__main','</span>','ck-suggestion-','userView','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','126eohOFt','editorReady','name','title','ck-comment__external','Accept\x20suggestion','creator','ck-annotation__content-wrapper','cancel','fire','span','canDiscard','1052096DncUJA','description'];_0xd032=function(){return _0x54acb6;};return _0xd032();}import{getTranslation as _0x264066}from'../../utils/common-translations.js';import{default as _0x45beb2}from'./basesuggestionthreadview.js';import{ButtonView as _0x2182bd}from'ckeditor5/src/ui.js';import{icons as _0x3dadf9}from'ckeditor5/src/core.js';import{trimHtml as _0x2d3d30,UserView as _0x382cc6}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x45beb2{constructor(_0x1e3cc1,_0x8be5c5,_0x3b4579,_0x2cec96){const _0x40bcd0=_0x2c16;super(_0x1e3cc1,_0x8be5c5,_0x3b4579,_0x2cec96),this[_0x40bcd0(0xc0)](_0x40bcd0(0x9e),''),this[_0x40bcd0(0xed)](_0x40bcd0(0x9e))['to'](this,_0x40bcd0(0x99),_0x4b2597=>_0x4b2597&&_0x4b2597[0x0]?_0x4b2597[0x0][_0x40bcd0(0x9e)]:''),this[_0x40bcd0(0xed)](_0x40bcd0(0xe1))['to'](this,_0x40bcd0(0x99),this,_0x40bcd0(0x9a),(_0x4902a1,_0x50c6cd)=>{const _0x3d9bf6=_0x40bcd0;let _0x453f32='';for(const _0x1d0747 of _0x4902a1)_0x453f32+=_0x3d9bf6(0xa2)+ds(_0x1d0747[_0x3d9bf6(0xc9)],_0x1d0747[_0x3d9bf6(0xe2)])+_0x3d9bf6(0xfd);return _0x50c6cd?_0x453f32:_0x2d3d30(_0x453f32,{'limit':0x8c});}),this[_0x40bcd0(0xb2)]=null,this[_0x40bcd0(0xb9)]=this[_0x40bcd0(0xfe)](_0x264066(_0x1e3cc1,_0x40bcd0(0xd9)),_0x3dadf9[_0x40bcd0(0xaf)],_0x40bcd0(0xe5),_0x40bcd0(0xcb),'sw'),this[_0x40bcd0(0xb9)][_0x40bcd0(0xed)](_0x40bcd0(0x94))['to'](this,_0x40bcd0(0xa8)),this[_0x40bcd0(0xcd)]=this[_0x40bcd0(0xfe)](_0x264066(_0x1e3cc1,_0x40bcd0(0xae)),_0x3dadf9[_0x40bcd0(0xdc)],_0x40bcd0(0xe6),_0x40bcd0(0x95),'sw'),this[_0x40bcd0(0xcd)][_0x40bcd0(0xed)](_0x40bcd0(0x94))['to'](this,_0x40bcd0(0xdf)),this[_0x40bcd0(0xd2)]=new _0x382cc6(_0x1e3cc1,this[_0x40bcd0(0xf9)][_0x40bcd0(0xa6)],this[_0x40bcd0(0xf5)]()),this[_0x40bcd0(0xd2)][_0x40bcd0(0x9c)]({'attributes':{'class':[_0x40bcd0(0x9f),_0x40bcd0(0xee)]}}),this[_0x40bcd0(0x101)](this[_0x40bcd0(0xbb)]());}[_0x484b50(0xbb)](){const _0x261433=_0x484b50,_0x358dd9=this[_0x261433(0xa7)],_0x2f5f0c=[{'tag':_0x261433(0xf8),'attributes':{'class':[_0x261433(0x100),_0x261433(0xe4)]},'children':[{'tag':_0x261433(0xde),'children':[{'text':this[_0x261433(0xd2)][_0x261433(0xd6)]}],'attributes':{'class':[_0x261433(0x102),_0x261433(0xff)]}},{'tag':_0x261433(0xf2),'attributes':{'datetime':_0x358dd9['to'](_0x261433(0xbc)),'class':[_0x261433(0xe7),_0x261433(0xa9)]},'children':[{'text':_0x358dd9['to'](_0x261433(0xbc),_0x175393=>this[_0x261433(0xc4)][_0x261433(0x97)](_0x175393))}]}]},{'tag':_0x261433(0xf8),'attributes':{'class':[_0x261433(0xf0),_0x261433(0xe3)]},'children':[this[_0x261433(0xb9)],this[_0x261433(0xcd)]]},{'tag':_0x261433(0xf8),'attributes':{'class':[_0x261433(0xdb)]}}];this[_0x261433(0xf9)][_0x261433(0xf1)]&&_0x2f5f0c[_0x261433(0xac)]({'tag':_0x261433(0xf8),'attributes':{'class':[_0x261433(0xd8)]},'children':[{'text':this[_0x261433(0xa3)]()}]});const _0x2a3a54={'tag':_0x261433(0xf8),'attributes':{'class':[_0x261433(0xfc),_0x358dd9['if'](_0x261433(0x9a),_0x261433(0xba)),_0x358dd9['to'](_0x261433(0x9e),_0x547f4a=>_0x261433(0xd1)+_0x547f4a),this[_0x261433(0xc4)][_0x261433(0xce)]&&_0x261433(0xe8)],'data-suggestion-id':this[_0x261433(0xf9)]['id'],'data-thread-id':this[_0x261433(0xf9)][_0x261433(0xa1)]['id'],'data-author-id':this[_0x261433(0xf9)][_0x261433(0xa6)]['id'],'tabindex':-0x1},'children':[{'tag':_0x261433(0xf8),'attributes':{'class':[_0x261433(0xfb),_0x261433(0xb7)]},'children':[this[_0x261433(0xd2)],{'tag':_0x261433(0xf8),'attributes':{'class':[_0x261433(0xc1),_0x261433(0xcf)]},'children':_0x2f5f0c}]}]};return this[_0x261433(0xca)]&&this[_0x261433(0xb3)]&&(_0x2a3a54[_0x261433(0xc8)][_0x261433(0xac)](this[_0x261433(0xca)],this[_0x261433(0xb3)]),this[_0x261433(0xca)][_0x261433(0xef)](_0x261433(0xd5))['to'](this),this[_0x261433(0xca)][_0x261433(0xef)](_0x261433(0xc3))['to'](this),this[_0x261433(0xb3)][_0x261433(0xef)](_0x261433(0xd5))['to'](this),this[_0x261433(0xb3)][_0x261433(0xef)](_0x261433(0xc3))['to'](this)),_0x2a3a54;}[_0x484b50(0xbf)](){const _0xe211cf=_0x484b50;super[_0xe211cf(0xbf)](),this[_0xe211cf(0xb2)]=this[_0xe211cf(0xc6)][_0xe211cf(0xb5)](_0xe211cf(0xa4)),this[_0xe211cf(0xb2)][_0xe211cf(0x9d)]=this[_0xe211cf(0xe1)],this['on'](_0xe211cf(0xc5),(_0x320c28,_0x3e0de1,_0x23975f)=>{const _0x12e036=_0xe211cf;this[_0x12e036(0xb2)][_0x12e036(0x9d)]=_0x23975f;});}[_0x484b50(0xfe)](_0x3842e8,_0x347849,_0x41c8cc,_0x3efa4c,_0xb768a7){const _0x5daef3=_0x484b50,_0x91c67a=new _0x2182bd(this[_0x5daef3(0xe9)]);return _0x91c67a[_0x5daef3(0xc0)]({'label':_0x3842e8,'icon':_0x347849,'tooltip':!0x0,'tooltipPosition':_0xb768a7}),_0x91c67a[_0x5daef3(0x9c)]({'attributes':{'class':_0x41c8cc}}),_0x91c67a['on'](_0x5daef3(0xbe),()=>{const _0xa94d92=_0x5daef3;this[_0xa94d92(0xdd)](_0x3efa4c,this[_0xa94d92(0xf9)]['id']);}),_0x91c67a;}[_0x484b50(0xa3)](){const _0x17b86c=_0x484b50;return _0x17b86c(0xa5)===this[_0x17b86c(0xf9)][_0x17b86c(0xb6)][_0x17b86c(0xb1)][_0x17b86c(0xf6)]?_0x264066(this[_0x17b86c(0xe9)],_0x17b86c(0xf4)):_0x264066(this[_0x17b86c(0xe9)],_0x17b86c(0xf3));}[_0x484b50(0xf5)](){const _0x2a4d6a=_0x484b50;return this[_0x2a4d6a(0xf9)][_0x2a4d6a(0xf1)]?_0x2a4d6a(0xa5)===this[_0x2a4d6a(0xf9)][_0x2a4d6a(0xb6)][_0x2a4d6a(0xb1)][_0x2a4d6a(0xf6)]?_0x264066(this[_0x2a4d6a(0xe9)],_0x2a4d6a(0xea),this[_0x2a4d6a(0xf9)][_0x2a4d6a(0xda)][_0x2a4d6a(0xd6)]):_0x264066(this[_0x2a4d6a(0xe9)],_0x2a4d6a(0xb0),this[_0x2a4d6a(0xf9)][_0x2a4d6a(0xda)][_0x2a4d6a(0xd6)]):null;}}function ds(_0x5ef887,_0x4d25d0){const _0xc2f4d2=_0x484b50;let _0xfbff6c='';return _0xfbff6c+=_0x5ef887[_0xc2f4d2(0xa0)]('*')[_0xc2f4d2(0xeb)]((_0x471ee8,_0x2a8889)=>_0x2a8889%0x2!=0x0?_0xc2f4d2(0x96)+us(_0x471ee8)+_0xc2f4d2(0xd0):us(_0x471ee8))[_0xc2f4d2(0xc2)](''),_0x4d25d0&&(_0xfbff6c+=_0xc2f4d2(0xd3)+_0x4d25d0[_0xc2f4d2(0xaa)]+_0xc2f4d2(0xb4)+_0x4d25d0[_0xc2f4d2(0xd7)]+_0xc2f4d2(0xf7)),_0xfbff6c;}function _0x2c16(_0x183d9c,_0x97c3c5){const _0xd032a4=_0xd032();return _0x2c16=function(_0x2c1650,_0x2859c7){_0x2c1650=_0x2c1650-0x94;let _0x1cdb40=_0xd032a4[_0x2c1650];return _0x1cdb40;},_0x2c16(_0x183d9c,_0x97c3c5);}function us(_0x33a6f0){const _0x234772=_0x484b50,_0x286354=document[_0x234772(0x98)](_0x234772(0xde));return _0x286354[_0x234772(0xfa)]=_0x33a6f0,_0x286354[_0x234772(0x9d)];}
|
|
@@ -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(_0x5d5606,_0x351aea,_0x554f48){const t=_0x5d5606['t'];switch(_0x351aea){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',_0x554f48);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x554f48);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x554f48);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x554f48);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x554f48);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',_0x554f48);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x554f48);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',_0x554f48);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x554f48);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x554f48);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x554f48);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x554f48);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x554f48);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x554f48);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x554f48);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x554f48);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x554f48);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x554f48);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x554f48);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x554f48);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x554f48);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x554f48);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x554f48);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'},_0x554f48);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x554f48);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x554f48);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x554f48);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x554f48);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x554f48);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'},_0x554f48);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x554f48);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x554f48);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x554f48);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x554f48);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'},_0x554f48);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x554f48);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'},_0x554f48);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'},_0x554f48);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x554f48);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'},_0x554f48);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x554f48);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'},_0x554f48);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x554f48);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x554f48);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'},_0x554f48);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'},_0x554f48);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'},_0x554f48);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 _0x351aea;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3a4a(_0x39fd58,_0x23af6f){const _0x56fd48=_0x56fd();return _0x3a4a=function(_0x3a4ab1,_0xa5da93){_0x3a4ab1=_0x3a4ab1-0x174;let _0x285860=_0x56fd48[_0x3a4ab1];return _0x285860;},_0x3a4a(_0x39fd58,_0x23af6f);}(function(_0x57d639,_0x58fe39){const _0x3d5ee8=_0x3a4a,_0x479d26=_0x57d639();while(!![]){try{const _0x31c37a=-parseInt(_0x3d5ee8(0x19c))/0x1+-parseInt(_0x3d5ee8(0x19a))/0x2*(-parseInt(_0x3d5ee8(0x18a))/0x3)+-parseInt(_0x3d5ee8(0x175))/0x4*(parseInt(_0x3d5ee8(0x196))/0x5)+-parseInt(_0x3d5ee8(0x193))/0x6*(parseInt(_0x3d5ee8(0x18b))/0x7)+parseInt(_0x3d5ee8(0x178))/0x8*(-parseInt(_0x3d5ee8(0x192))/0x9)+parseInt(_0x3d5ee8(0x176))/0xa+parseInt(_0x3d5ee8(0x17f))/0xb*(parseInt(_0x3d5ee8(0x191))/0xc);if(_0x31c37a===_0x58fe39)break;else _0x479d26['push'](_0x479d26['shift']());}catch(_0x3f1a1b){_0x479d26['push'](_0x479d26['shift']());}}}(_0x56fd,0x26ad0));function _0x56fd(){const _0x35ffc8=['add','type','createPositionAfter','next','splice','isArray','getRanges','417LdVvta','797055EcCLJU','value','schema','map','createPositionAt','end','2756940MKnKWx','678177ovADDe','12enKYvs','createRange','sort','1090030uHElni','change','isMultiRange','isTouching','3534upLOzw','push','303759FjVbxE','deletion','isObject','\x20[color\x20','isIntersecting','start','4WupJqn','2781610zwwogx','isCollapsed','8XXpAYi','color','isInContent','content','length','execute','replace','22uOtroO','join','from','createPositionBefore'];_0x56fd=function(){return _0x35ffc8;};return _0x56fd();}export function normalizeDescription(_0x158b2f){const _0x329436=_0x3a4a;return Array[_0x329436(0x188)](_0x158b2f)||(_0x158b2f=[_0x158b2f]),_0x158b2f[_0x329436(0x18e)](_0x57d562=>{const _0x45bbb7=_0x329436,_0x3f36ee=_0x57d562[_0x45bbb7(0x17b)][_0x45bbb7(0x17e)](/\*/g,''),_0x14f64a=_0x57d562[_0x45bbb7(0x179)]?_0x45bbb7(0x19f)+_0x57d562[_0x45bbb7(0x179)][_0x45bbb7(0x18c)]+']':'';return'['+_0x57d562[_0x45bbb7(0x184)]+']\x20'+_0x3f36ee+_0x14f64a;})[_0x329436(0x180)](';\x20');}export function sortSuggestions(_0x5078fb){const _0x175aac=_0x3a4a;return _0x5078fb[_0x175aac(0x195)]((_0x134a7e,_0x18e676)=>_0x175aac(0x19d)==_0x134a7e[_0x175aac(0x184)]&&_0x175aac(0x19d)!=_0x18e676[_0x175aac(0x184)]?-0x1:_0x175aac(0x19d)!=_0x134a7e[_0x175aac(0x184)]&&_0x175aac(0x19d)==_0x18e676[_0x175aac(0x184)]?0x1:0x0);}export function getSelectedSuggestions(_0x3a5374,_0x3a51e1){const _0xd89873=_0x3a4a,_0x14c320=Array[_0xd89873(0x181)](_0x3a5374[_0xd89873(0x189)]()),_0x47a3d0=new Set();for(const _0x11313f of _0x3a51e1)if(_0x11313f[_0xd89873(0x17a)]){for(const _0x5fe049 of _0x14c320)for(const _0x1bf73f of _0x11313f[_0xd89873(0x189)]())(_0x5fe049[_0xd89873(0x1a0)](_0x1bf73f)||_0x3a5374[_0xd89873(0x177)]&&!_0x11313f[_0xd89873(0x198)]&&_0x11313f[_0xd89873(0x186)]&&_0x1bf73f[_0xd89873(0x190)][_0xd89873(0x199)](_0x5fe049[_0xd89873(0x174)]))&&_0x47a3d0[_0xd89873(0x183)](_0x11313f);}return _0x47a3d0;}export function getRangesOfBlockGroups(_0x5b1edc,_0x1a1021){const _0x4d8585=_0x3a4a;let _0x571d1b,_0x2f9bdd=0x0;const _0x3be052=[],_0x338ff8=_0x1a1021[_0x4d8585(0x18d)];for(;_0x2f9bdd<_0x5b1edc[_0x4d8585(0x17c)];){const _0x30486c=_0x5b1edc[_0x2f9bdd],_0x50f139=_0x5b1edc[_0x2f9bdd+0x1];_0x571d1b||(_0x571d1b=_0x1a1021[_0x4d8585(0x182)](_0x30486c)),co(_0x1a1021,_0x30486c,_0x50f139)||(_0x3be052[_0x4d8585(0x19b)](_0x1a1021[_0x4d8585(0x194)](_0x571d1b,_0x338ff8[_0x4d8585(0x19e)](_0x30486c)?_0x1a1021[_0x4d8585(0x185)](_0x30486c):_0x1a1021[_0x4d8585(0x18f)](_0x30486c,_0x4d8585(0x190)))),_0x571d1b=null),_0x2f9bdd++;}return _0x3be052;}function co(_0x4ff8df,_0xe75563,_0x47e8b4){const _0x51ae24=_0x3a4a;if(!_0x47e8b4)return!0x1;const _0x1482bd=_0x4ff8df[_0x51ae24(0x185)](_0xe75563),_0x56fef6=_0x4ff8df[_0x51ae24(0x182)](_0x47e8b4);return _0x1482bd[_0x51ae24(0x199)](_0x56fef6);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x176287,_0x2d11f6,_0xf304a4){const _0x2be08c=_0x3a4a;for(;_0xf304a4[_0x2be08c(0x17c)];){const _0x4b4206=_0xf304a4[_0x2be08c(0x187)](0x0,0x64);_0x176287[_0x2be08c(0x197)](()=>{const _0x1aff91=_0x2be08c;for(const _0x57d935 of _0x4b4206)_0x57d935[_0x1aff91(0x17a)]&&_0x2d11f6[_0x1aff91(0x17d)](_0x57d935['id']);});}}
|