@ckeditor/ckeditor5-track-changes 41.4.1 → 41.4.2
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 +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x290f5f=_0x51a6;(function(_0x2d45fc,_0x4aee70){const _0x53e24e=_0x51a6,_0x5c15f9=_0x2d45fc();while(!![]){try{const _0x4c890d=-parseInt(_0x53e24e(0x16c))/0x1+-parseInt(_0x53e24e(0x17d))/0x2+parseInt(_0x53e24e(0x190))/0x3*(parseInt(_0x53e24e(0x11f))/0x4)+-parseInt(_0x53e24e(0x163))/0x5*(-parseInt(_0x53e24e(0x14d))/0x6)+-parseInt(_0x53e24e(0x143))/0x7*(parseInt(_0x53e24e(0x154))/0x8)+-parseInt(_0x53e24e(0x114))/0x9+-parseInt(_0x53e24e(0x18f))/0xa*(-parseInt(_0x53e24e(0x148))/0xb);if(_0x4c890d===_0x4aee70)break;else _0x5c15f9['push'](_0x5c15f9['shift']());}catch(_0x356cf6){_0x5c15f9['push'](_0x5c15f9['shift']());}}}(_0x244d,0xb9e71));import{Plugin as _0x33ed9c}from'ckeditor5/src/core.js';import{Collection as _0x5a1238}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x35e49b,createDropdown as _0x1f0ff6,ListSeparatorView as _0x59b4b7,MenuBarMenuView as _0x5e3682,MenuBarMenuListView as _0x1470c0,MenuBarMenuListItemView as _0x347d8e,MenuBarMenuListItemButtonView as _0x2d2afb,SplitButtonView as _0x374f80,ViewModel as _0x43ebc3}from'ckeditor5/src/ui.js';import{Users as _0x4177eb,getDateTimeFormatter as _0x26162c,getAllMarkersDomElementsSorted as _0x54a1ce}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xb711a7 from'./trackchangesediting.js';function _0x51a6(_0x51cb2f,_0xace8d6){const _0x244d91=_0x244d();return _0x51a6=function(_0x51a66d,_0x263641){_0x51a66d=_0x51a66d-0x106;let _0xec90cb=_0x244d91[_0x51a66d];return _0xec90cb;},_0x51a6(_0x51cb2f,_0xace8d6);}import _0x2a0369 from'./ui/suggestioncontroller.js';function _0x244d(){const _0x4139c5=['discardSelectedSuggestions','hasSuggestion','getFirstRange','isDirty','editor','Discard\x20all\x20selected\x20suggestions','_refreshActiveMarkers','value','getByInnerView','suggestionLoaded','listenTo','refreshSelectedViews','trackChanges.disableComments','items','SuggestionThreadView','head','stopListening','Annotations','descriptionParts','locale','plugins','button','config','Accept\x20all\x20selected\x20suggestions','770DMBYVu','commandName','actionView','getDescriptions','buttonView','11iRnlVG','clear','keys','from','createAnnotation','1578fIRSro','Discard\x20all\x20suggestions','_disableComments','addComment','isOn','init','innerView','40216JNhzMc','toMany','_createToolbarButton','addSourceCollector','getSuggestion','menu','componentFactory','focus','separator','values','delete','acceptButton','createAnnotationView','change:activeAnnotations','suggestion-','1315jhMcuH','getMarkers','CommentView','_annotationViews','getRanges','bind','Track\x20changes','createCommentThreadController','descriptionFactory','907440xspdNK','length','model','acceptSelectedSuggestions','_addUIComponentsToFactory','getMarkerNames','panelView','comments.maxThreadTotalWeight','comments.editorConfig','previous','_initializeController','_unbindEditors','type','children','discardButton','menuitemcheckbox','suggestionUnloaded','2850038wBVhXf','has','acceptAllSuggestions','filter','_handleControllerBuffer','execute','menuitem','isInContent','lowest','comments','Accept\x20all\x20suggestions','change:previous','menuBar:trackChanges','TrackChangesEditing','CommentsRepository','reduce','isMultiRange','getJoined','35493340NZfhwL','2123256qnkzyV','activeMarkers','activeAnnotations','EditorAnnotations','registerAnnotation','add','requires','_destroyController','commentThread','_suggestionToController','mainView','pluginName','discardAllSuggestions','comments.maxCommentsWhenCollapsed','trackChanges','some','switchbutton','set','commands','unbind','source','isEnabled','12484089HtDYjQ','editing','CommentsUI','_createMenuBarMenu','delegate','suggestionChanged','_viewToController','_handleSuggestionControllerDelayed','push','remove','define','8TsTAIc','_updateController','size','comments.maxCommentCharsWhenCollapsed','TrackChangesUI','view','get','arrowView','destroy','trackChanges.SuggestionThreadView','_bindAnnotationToEditors','getAllAdjacentSuggestions'];_0x244d=function(){return _0x4139c5;};return _0x244d();}import _0xe3f982 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x4a09e3}from'./utils/common-translations.js';import _0x4a4aaf from'../theme/icons/track-changes.svg';export default class d extends _0x33ed9c{static get[_0x290f5f(0x196)](){const _0x201436=_0x290f5f;return[_0xb711a7,_0x4177eb,_0x201436(0x18b),_0x201436(0x13c),_0x201436(0x193)];}static get[_0x290f5f(0x109)](){const _0x301d23=_0x290f5f;return _0x301d23(0x123);}constructor(_0x4e641d){const _0x2ef5bb=_0x290f5f;super(_0x4e641d),this[_0x2ef5bb(0x107)]=new Map(),this[_0x2ef5bb(0x11a)]=new Map(),this[_0x2ef5bb(0x166)]=new Map(),this[_0x2ef5bb(0x181)]=new Map();const _0x5bdca7=this[_0x2ef5bb(0x12f)][_0x2ef5bb(0x141)];_0x5bdca7[_0x2ef5bb(0x11e)](_0x2ef5bb(0x128),_0xe3f982),_0x5bdca7[_0x2ef5bb(0x11e)](_0x2ef5bb(0x137),!0x1),this[_0x2ef5bb(0x14f)]=_0x5bdca7[_0x2ef5bb(0x125)](_0x2ef5bb(0x137));}[_0x290f5f(0x11b)](_0x15a23e,_0x15d21b){const _0x3b359c=_0x290f5f;0x0===this[_0x3b359c(0x181)][_0x3b359c(0x121)]&&setTimeout(()=>{const _0x643b8f=_0x3b359c;for(const [_0x330324,_0xebcee8]of this[_0x643b8f(0x181)]){const _0x450d3c=this[_0x643b8f(0x107)][_0x643b8f(0x17e)](_0x330324);_0x450d3c||_0xebcee8?_0x450d3c&&_0xebcee8&&this[_0x643b8f(0x197)](_0x330324):this[_0x643b8f(0x176)](_0x330324);}this[_0x643b8f(0x181)][_0x643b8f(0x149)](),this[_0x643b8f(0x12f)][_0x643b8f(0x13f)][_0x643b8f(0x125)](_0x643b8f(0x193))[_0x643b8f(0x136)](),this[_0x643b8f(0x131)]();},0xa),this[_0x3b359c(0x181)][_0x3b359c(0x10f)](_0x15a23e,_0x15d21b);}[_0x290f5f(0x152)](){const _0x404e66=_0x290f5f,_0xbbc540=this[_0x404e66(0x12f)],_0x508a88=_0xbbc540[_0x404e66(0x13f)][_0x404e66(0x125)](_0x404e66(0x18a)),_0x485f65=_0xbbc540[_0x404e66(0x13f)][_0x404e66(0x125)](_0x404e66(0x13c)),_0xf25240=_0xbbc540[_0x404e66(0x13f)][_0x404e66(0x125)](_0x404e66(0x193)),_0x6b44b5=_0xbbc540[_0x404e66(0x13f)][_0x404e66(0x125)](_0x404e66(0x18b));this[_0x404e66(0x170)](),_0xf25240[_0x404e66(0x157)](()=>{const _0x5bd1fe=_0x404e66,_0x908f55=[];for(const [_0x2daddf,_0xaf2e1]of Array[_0x5bd1fe(0x14b)](this[_0x5bd1fe(0x107)])){const _0x3ec0c4=_0x2daddf[_0x5bd1fe(0x12a)](),_0x1138ac=[];for(const _0x55de8d of _0x3ec0c4){if(!_0x55de8d[_0x5bd1fe(0x184)])continue;if(_0x55de8d[_0x5bd1fe(0x18d)]){_0x1138ac[_0x5bd1fe(0x11c)](..._0x55de8d[_0x5bd1fe(0x167)]());continue;}const _0x5c5215=_0x55de8d[_0x5bd1fe(0x12d)]();if(_0x1138ac[_0x5bd1fe(0x16d)]>0x0){const _0x2169f2=_0x1138ac[0x0][_0x5bd1fe(0x18e)](_0x5c5215);if(_0x2169f2){_0x1138ac[0x0]=_0x2169f2;continue;}}_0x1138ac[_0x5bd1fe(0x11c)](_0x5c5215);}_0x908f55[_0x5bd1fe(0x11c)]([_0xaf2e1[_0x5bd1fe(0x124)],_0x1138ac]);}return _0x908f55;}),this[_0x404e66(0x135)](_0x508a88,_0x404e66(0x134),(_0x381a00,_0x174afb)=>{const _0x440f8e=_0x404e66;this[_0x440f8e(0x135)](_0x174afb,_0x440f8e(0x188),(_0x2e5703,_0x2c582e,_0x27365f,_0x121769)=>{const _0x17affd=_0x440f8e;_0x174afb[_0x17affd(0x184)]&&(null==_0x27365f?(this[_0x17affd(0x120)](_0x121769[_0x17affd(0x13a)]),this[_0x17affd(0x11b)](_0x174afb,!0x1)):(this[_0x17affd(0x120)](_0x27365f[_0x17affd(0x13a)]),null==_0x121769&&this[_0x17affd(0x11b)](_0x174afb,!0x0)));}),null!==_0x174afb[_0x440f8e(0x175)]?this[_0x440f8e(0x120)](_0x174afb[_0x440f8e(0x13a)]):this[_0x440f8e(0x11b)](_0x174afb,!0x1);}),this[_0x404e66(0x135)](_0x508a88,_0x404e66(0x17c),(_0x50e15c,_0x10d012,_0x432584)=>{const _0x4f0897=_0x404e66;this[_0x4f0897(0x13b)](_0x10d012,_0x4f0897(0x188)),this[_0x4f0897(0x181)][_0x4f0897(0x15e)](_0x10d012),this[_0x4f0897(0x107)][_0x4f0897(0x17e)](_0x10d012)&&this[_0x4f0897(0x197)](_0x10d012),_0x432584&&this[_0x4f0897(0x120)](_0x432584[_0x4f0897(0x13a)]);}),this[_0x404e66(0x135)](_0x508a88,_0x404e66(0x119),(_0x378f09,_0x47d446)=>{const _0x15afd9=_0x404e66;this[_0x15afd9(0x120)](_0x47d446);}),this[_0x404e66(0x135)](_0x485f65,_0x404e66(0x161),()=>{const _0x1c3d95=_0x404e66;this[_0x1c3d95(0x131)]();}),this[_0x404e66(0x135)](_0x6b44b5,_0x404e66(0x150),(_0x56c68a,{threadId:_0x2286f1,isFromAdapter:_0x1a8770})=>{const _0x2a3caf=_0x404e66;if(_0x1a8770||!_0x508a88[_0x2a3caf(0x12c)](_0x2286f1))return;const _0x59deaf=_0x508a88[_0x2a3caf(0x158)](_0x2286f1);this[_0x2a3caf(0x107)][_0x2a3caf(0x125)](_0x59deaf)[_0x2a3caf(0x124)][_0x2a3caf(0x15b)]();},{'priority':_0x404e66(0x185)});}[_0x290f5f(0x131)](){const _0x56910b=_0x290f5f,_0x5e0ea5=this[_0x56910b(0x12f)][_0x56910b(0x13f)][_0x56910b(0x125)](_0x56910b(0x13c)),_0x23fda1=this[_0x56910b(0x12f)][_0x56910b(0x13f)][_0x56910b(0x125)](_0x56910b(0x18a)),_0x394336=Array[_0x56910b(0x14b)](_0x5e0ea5[_0x56910b(0x192)],_0x1c4e90=>_0x1c4e90[_0x56910b(0x153)])[_0x56910b(0x180)](_0x520ba7=>this[_0x56910b(0x11a)][_0x56910b(0x17e)](_0x520ba7)),_0xa92a90=[];for(const _0x30f508 of _0x394336){const _0xb5ef4=this[_0x56910b(0x11a)][_0x56910b(0x125)](_0x30f508)[_0x56910b(0x16e)][_0x56910b(0x12a)]();_0xa92a90[_0x56910b(0x11c)](..._0xb5ef4[_0x56910b(0x18c)]((_0x391dfd,_0x16eed6)=>[..._0x391dfd,..._0x16eed6[_0x56910b(0x171)]()],[]));}_0x23fda1[_0x56910b(0x191)]=_0xa92a90;}[_0x290f5f(0x170)](){const _0x2fac51=_0x290f5f,_0x333ae2=this[_0x2fac51(0x12f)],_0x1833fa=_0x333ae2[_0x2fac51(0x13e)],_0x24c307=_0x4a09e3(_0x1833fa,_0x2fac51(0x169)),_0x727d9a=new _0x5a1238([{'type':_0x2fac51(0x10e),'model':new _0x43ebc3({'withText':!0x0,'label':_0x24c307,'commandName':_0x2fac51(0x10c),'role':_0x2fac51(0x17b)})},{'type':_0x2fac51(0x15c)},{'type':_0x2fac51(0x140),'model':new _0x43ebc3({'withText':!0x0,'label':_0x4a09e3(_0x1833fa,_0x2fac51(0x187)),'commandName':_0x2fac51(0x17f),'role':_0x2fac51(0x183)})},{'type':_0x2fac51(0x140),'model':new _0x43ebc3({'withText':!0x0,'label':_0x4a09e3(_0x1833fa,_0x2fac51(0x142)),'commandName':_0x2fac51(0x16f),'role':_0x2fac51(0x183)})},{'type':_0x2fac51(0x140),'model':new _0x43ebc3({'withText':!0x0,'label':_0x4a09e3(_0x1833fa,_0x2fac51(0x14e)),'commandName':_0x2fac51(0x10a),'role':_0x2fac51(0x183)})},{'type':_0x2fac51(0x140),'model':new _0x43ebc3({'withText':!0x0,'label':_0x4a09e3(_0x1833fa,_0x2fac51(0x130)),'commandName':_0x2fac51(0x12b),'role':_0x2fac51(0x183)})}]);for(const _0x14dd18 of _0x727d9a)if(ae(_0x14dd18)){const _0x44cf30=_0x333ae2[_0x2fac51(0x110)][_0x2fac51(0x125)](_0x14dd18[_0x2fac51(0x16e)][_0x2fac51(0x144)]);_0x14dd18[_0x2fac51(0x16e)][_0x2fac51(0x168)](_0x2fac51(0x151),_0x2fac51(0x113))['to'](_0x44cf30,_0x2fac51(0x132),_0x2fac51(0x113));}_0x333ae2['ui'][_0x2fac51(0x15a)][_0x2fac51(0x195)](_0x2fac51(0x10c),_0x34d996=>this[_0x2fac51(0x156)](_0x34d996,_0x727d9a,_0x24c307)),_0x333ae2['ui'][_0x2fac51(0x15a)][_0x2fac51(0x195)](_0x2fac51(0x189),_0x1da147=>this[_0x2fac51(0x117)](_0x1da147,_0x727d9a,_0x24c307));}[_0x290f5f(0x156)](_0x5bd30f,_0x257c56,_0x53caab){const _0x2843a3=_0x290f5f,_0x31c56a=_0x1f0ff6(_0x5bd30f,_0x374f80),_0x5daf4d=this[_0x2843a3(0x12f)][_0x2843a3(0x110)][_0x2843a3(0x125)](_0x2843a3(0x10c));_0x31c56a[_0x2843a3(0x147)][_0x2843a3(0x10f)]({'tooltip':_0x53caab,'label':_0x53caab,'icon':_0x4a4aaf}),_0x31c56a[_0x2843a3(0x147)][_0x2843a3(0x168)](_0x2843a3(0x151))['to'](_0x5daf4d,_0x2843a3(0x132)),_0x31c56a[_0x2843a3(0x147)]['on'](_0x2843a3(0x182),()=>{const _0x597f8d=_0x2843a3;_0x5daf4d[_0x597f8d(0x182)](),this[_0x597f8d(0x12f)][_0x597f8d(0x115)][_0x597f8d(0x124)][_0x597f8d(0x15b)]();}),_0x35e49b(_0x31c56a,_0x257c56,{'role':_0x2843a3(0x159)});const _0x17e9bd=[];for(const _0x166993 of _0x257c56)ae(_0x166993)&&_0x17e9bd[_0x2843a3(0x11c)](this[_0x2843a3(0x12f)][_0x2843a3(0x110)][_0x2843a3(0x125)](_0x166993[_0x2843a3(0x16e)][_0x2843a3(0x144)]));const _0x4992fc=_0x31c56a[_0x2843a3(0x147)];return _0x4992fc[_0x2843a3(0x145)][_0x2843a3(0x111)](_0x2843a3(0x113)),_0x4992fc[_0x2843a3(0x126)][_0x2843a3(0x111)](_0x2843a3(0x113)),_0x4992fc[_0x2843a3(0x145)][_0x2843a3(0x168)](_0x2843a3(0x113))['to'](_0x5daf4d,_0x2843a3(0x113)),_0x4992fc[_0x2843a3(0x126)][_0x2843a3(0x168)](_0x2843a3(0x113))[_0x2843a3(0x155)](_0x17e9bd,_0x2843a3(0x113),(..._0x57a5ba)=>_0x57a5ba[_0x2843a3(0x10d)](_0x1f9c68=>_0x1f9c68)),_0x31c56a['on'](_0x2843a3(0x182),_0x142b9c=>{const _0x5d1b18=_0x2843a3;this[_0x5d1b18(0x12f)][_0x5d1b18(0x182)](_0x142b9c[_0x5d1b18(0x112)][_0x5d1b18(0x144)]),this[_0x5d1b18(0x12f)][_0x5d1b18(0x115)][_0x5d1b18(0x124)][_0x5d1b18(0x15b)]();}),_0x31c56a;}[_0x290f5f(0x117)](_0x4ad7f5,_0x1ec665,_0x2d1462){const _0x5677c8=_0x290f5f,_0x22a923=new _0x5e3682(_0x4ad7f5),_0x4bb325=this[_0x5677c8(0x12f)][_0x5677c8(0x110)][_0x5677c8(0x125)](_0x5677c8(0x10c));_0x22a923[_0x5677c8(0x147)][_0x5677c8(0x10f)]({'label':_0x2d1462,'icon':_0x4a4aaf});const _0x20c908=new _0x1470c0(_0x4ad7f5);for(const _0x283300 of _0x1ec665){if(_0x5677c8(0x15c)==_0x283300[_0x5677c8(0x178)]){_0x20c908[_0x5677c8(0x138)][_0x5677c8(0x195)](new _0x59b4b7(_0x4ad7f5));continue;}const _0x377467=new _0x347d8e(_0x4ad7f5,_0x22a923),_0x2296e5=new _0x2d2afb(_0x4ad7f5),_0x51f9e3=_0x283300[_0x5677c8(0x16e)];_0x2296e5[_0x5677c8(0x168)](...Object[_0x5677c8(0x14a)](_0x51f9e3))['to'](_0x51f9e3),_0x2296e5[_0x5677c8(0x118)](_0x5677c8(0x182))['to'](_0x22a923),_0x2296e5['on'](_0x5677c8(0x182),()=>{const _0x275531=_0x5677c8;this[_0x275531(0x12f)][_0x275531(0x182)](_0x51f9e3[_0x275531(0x144)]),this[_0x275531(0x12f)][_0x275531(0x115)][_0x275531(0x124)][_0x275531(0x15b)]();}),_0x377467[_0x5677c8(0x179)][_0x5677c8(0x195)](_0x2296e5),_0x20c908[_0x5677c8(0x138)][_0x5677c8(0x195)](_0x377467);}return _0x22a923[_0x5677c8(0x168)](_0x5677c8(0x113))['to'](_0x4bb325,_0x5677c8(0x113)),_0x22a923[_0x5677c8(0x172)][_0x5677c8(0x179)][_0x5677c8(0x195)](_0x20c908),_0x22a923;}[_0x290f5f(0x176)](_0x2f5dbf){const _0x1d243a=_0x290f5f,_0x4abaab=this[_0x1d243a(0x12f)],_0x3c38db=_0x4abaab[_0x1d243a(0x141)],_0x3f9b65=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x13c)),_0x5ccf80=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x18b)),_0xb9b42a=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x193)),_0x4664a8=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x4177eb)['me'],_0x4ad581=_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x10c))[_0x1d243a(0x139)],{CommentsListView:_0x12f5e4,CommentThreadInputView:_0x31c8cb}=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x116));let _0x66dde2,_0x5d93b7;this[_0x1d243a(0x166)][_0x1d243a(0x17e)](_0x2f5dbf['id'])?(_0x5d93b7=this[_0x1d243a(0x166)][_0x1d243a(0x125)](_0x2f5dbf['id']),_0x66dde2=_0x5d93b7[_0x1d243a(0x108)]):(_0x66dde2=new _0x4ad581(_0x4abaab[_0x1d243a(0x13e)],_0x2f5dbf,_0x4664a8,{'disableComments':this[_0x1d243a(0x14f)],'editorConfig':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x174)),'maxCommentsWhenCollapsed':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x10b)),'maxThreadTotalWeight':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x173)),'maxCommentCharsWhenCollapsed':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x122)),'formatDateTime':_0x26162c(_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x13e))),'CommentView':_0x3c38db[_0x1d243a(0x125)](_0x1d243a(0x186))[_0x1d243a(0x165)],'CommentsListView':_0x12f5e4,'CommentThreadInputView':_0x31c8cb}),_0x66dde2[_0x1d243a(0x15f)]['on'](_0x1d243a(0x182),()=>{const _0x4a3e04=_0x1d243a;_0x4abaab[_0x4a3e04(0x115)][_0x4a3e04(0x124)][_0x4a3e04(0x15b)]();}),_0x66dde2[_0x1d243a(0x17a)]['on'](_0x1d243a(0x182),()=>{const _0x226533=_0x1d243a;_0x4abaab[_0x226533(0x115)][_0x226533(0x124)][_0x226533(0x15b)]();}),_0x5d93b7=_0x3f9b65[_0x1d243a(0x160)](this[_0x1d243a(0x12f)][_0x1d243a(0x13e)],_0x66dde2),_0x5d93b7[_0x1d243a(0x168)](_0x1d243a(0x12e))['to'](_0x66dde2,_0x1d243a(0x12e)),_0x5d93b7[_0x1d243a(0x168)](_0x1d243a(0x16d))['to'](_0x66dde2),_0x5d93b7[_0x1d243a(0x168)](_0x1d243a(0x178))['to'](_0x66dde2,_0x1d243a(0x178),_0x1a11ce=>_0x1d243a(0x162)+_0x1a11ce),this[_0x1d243a(0x166)][_0x1d243a(0x10f)](_0x2f5dbf['id'],_0x5d93b7));const _0x3d02b6=_0x5ccf80[_0x1d243a(0x16a)](_0x2f5dbf[_0x1d243a(0x106)],_0x66dde2),_0x51222b=new _0x2a0369(_0x4abaab,_0x2f5dbf,_0x66dde2,_0x3d02b6),_0x4cc892=_0x2f5dbf[_0x1d243a(0x12a)]()[_0x1d243a(0x180)](_0x828544=>_0x828544[_0x1d243a(0x184)]);_0x66dde2[_0x1d243a(0x13d)]=_0x4abaab[_0x1d243a(0x13f)][_0x1d243a(0x125)](_0x1d243a(0x18a))[_0x1d243a(0x16b)][_0x1d243a(0x146)](_0x4cc892),this[_0x1d243a(0x107)][_0x1d243a(0x10f)](_0x2f5dbf,_0x51222b),this[_0x1d243a(0x11a)][_0x1d243a(0x10f)](_0x66dde2,_0x51222b);const _0x562662=_0x3f9b65[_0x1d243a(0x14c)]({'view':_0x5d93b7,'target':()=>{const _0x42a9f3=_0x1d243a,_0x378b2f=[],_0x4684d1=_0x2f5dbf[_0x42a9f3(0x12a)]()[_0x42a9f3(0x180)](_0xe4991d=>_0xe4991d[_0x42a9f3(0x184)]);for(const _0x876167 of _0x4684d1)_0x378b2f[_0x42a9f3(0x11c)](..._0x876167[_0x42a9f3(0x164)]());return _0x54a1ce(_0x4abaab[_0x42a9f3(0x115)],_0x378b2f);},'type':()=>_0x1d243a(0x162)+_0x51222b[_0x1d243a(0x124)][_0x1d243a(0x178)]});_0x5ccf80[_0x1d243a(0x129)](_0x66dde2,_0x562662),_0x3f9b65[_0x1d243a(0x195)](_0x562662),_0xb9b42a[_0x1d243a(0x194)](_0x562662);}[_0x290f5f(0x197)](_0x495995){const _0x365b68=_0x290f5f,_0x50c5c5=this[_0x365b68(0x12f)][_0x365b68(0x13f)][_0x365b68(0x125)](_0x365b68(0x18b)),_0x4fe371=this[_0x365b68(0x12f)][_0x365b68(0x13f)][_0x365b68(0x125)](_0x365b68(0x13c)),_0x870b77=this[_0x365b68(0x107)][_0x365b68(0x125)](_0x495995),_0x587f05=_0x870b77[_0x365b68(0x124)],_0x29e7ad=_0x4fe371[_0x365b68(0x133)](_0x587f05);_0x50c5c5[_0x365b68(0x177)](_0x587f05),_0x29e7ad&&_0x4fe371[_0x365b68(0x11d)](_0x29e7ad),this[_0x365b68(0x107)][_0x365b68(0x15e)](_0x495995),this[_0x365b68(0x11a)][_0x365b68(0x15e)](_0x587f05),_0x870b77[_0x365b68(0x127)]();}[_0x290f5f(0x120)](_0x8b2596){const _0x274b5b=_0x290f5f;if(!_0x8b2596[_0x274b5b(0x184)]||!this[_0x274b5b(0x107)][_0x274b5b(0x17e)](_0x8b2596))return;const _0x38f216=this[_0x274b5b(0x12f)][_0x274b5b(0x13f)][_0x274b5b(0x125)](_0x274b5b(0x18a)),_0x40643f=this[_0x274b5b(0x107)][_0x274b5b(0x125)](_0x8b2596),_0x1ff762=_0x8b2596[_0x274b5b(0x12a)]();_0x40643f[_0x274b5b(0x124)][_0x274b5b(0x13d)]=_0x38f216[_0x274b5b(0x16b)][_0x274b5b(0x146)](_0x1ff762);}[_0x290f5f(0x127)](){const _0x6ceb3d=_0x290f5f;for(const _0x2b0ed4 of this[_0x6ceb3d(0x107)][_0x6ceb3d(0x14a)]())this[_0x6ceb3d(0x197)](_0x2b0ed4);for(const _0x3a450b of this[_0x6ceb3d(0x166)][_0x6ceb3d(0x15d)]())_0x3a450b[_0x6ceb3d(0x108)][_0x6ceb3d(0x127)]();super[_0x6ceb3d(0x127)]();}}function ae(_0x580e87){const _0x3b07e9=_0x290f5f;return _0x3b07e9(0x16e)in _0x580e87;}
|
|
23
|
+
const _0x24fd51=_0x5a6b;(function(_0x1d9d49,_0x172803){const _0x284d07=_0x5a6b,_0x67ac27=_0x1d9d49();while(!![]){try{const _0x544d73=parseInt(_0x284d07(0x110))/0x1+parseInt(_0x284d07(0x147))/0x2+parseInt(_0x284d07(0x141))/0x3+parseInt(_0x284d07(0xf9))/0x4*(parseInt(_0x284d07(0x12b))/0x5)+-parseInt(_0x284d07(0x153))/0x6*(parseInt(_0x284d07(0x135))/0x7)+parseInt(_0x284d07(0x117))/0x8*(parseInt(_0x284d07(0x106))/0x9)+-parseInt(_0x284d07(0x162))/0xa;if(_0x544d73===_0x172803)break;else _0x67ac27['push'](_0x67ac27['shift']());}catch(_0x32fb6b){_0x67ac27['push'](_0x67ac27['shift']());}}}(_0x4002,0x41cef));import{Plugin as _0x80b002}from'ckeditor5/src/core.js';import{Collection as _0x2567da}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1fed0a,createDropdown as _0x52c79e,ListSeparatorView as _0x51eaaf,MenuBarMenuView as _0x288381,MenuBarMenuListView as _0x32a495,MenuBarMenuListItemView as _0x435738,MenuBarMenuListItemButtonView as _0x2ef808,SplitButtonView as _0x57616c,ViewModel as _0x30245f}from'ckeditor5/src/ui.js';function _0x5a6b(_0x19885e,_0x56f81a){const _0x4002c5=_0x4002();return _0x5a6b=function(_0x5a6b3a,_0x1ffd6c){_0x5a6b3a=_0x5a6b3a-0xdf;let _0x4ba90f=_0x4002c5[_0x5a6b3a];return _0x4ba90f;},_0x5a6b(_0x19885e,_0x56f81a);}import{Users as _0x439bbb,getDateTimeFormatter as _0x285a33,getAllMarkersDomElementsSorted as _0x7ebfce}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4002(){const _0xdc7121=['locale','_bindAnnotationToEditors','createAnnotationView','SuggestionThreadView','children','actionView','291063rivsVM','addSourceCollector','componentFactory','commands','editor','arrowView','change:activeAnnotations','8JYrCkF','CommentsRepository','comments.editorConfig','view','innerView','bind','comments.maxCommentCharsWhenCollapsed','discardButton','trackChanges.disableComments','CommentView','comments.maxCommentsWhenCollapsed','getFirstRange','addComment','change:previous','keys','has','menuitem','comments','get','source','20yFUsos','define','model','from','_destroyController','toMany','unbind','_unbindEditors','suggestionChanged','activeAnnotations','195461FMaIcm','activeMarkers','plugins','getAllAdjacentSuggestions','_refreshActiveMarkers','Annotations','filter','registerAnnotation','Track\x20changes','length','separator','getRanges','676323RfGdxq','getMarkers','EditorAnnotations','head','createAnnotation','_initializeController','17142KKwCTA','switchbutton','_suggestionToController','push','isOn','focus','createCommentThreadController','stopListening','suggestionUnloaded','items','Discard\x20all\x20suggestions','refreshSelectedViews','102mxOkTc','destroy','pluginName','isMultiRange','getDescriptions','getMarkerNames','_createToolbarButton','value','getByInnerView','suggestionLoaded','_annotationViews','commentThread','Accept\x20all\x20suggestions','isEnabled','isInContent','4093030fikIHg','acceptButton','comments.maxThreadTotalWeight','buttonView','requires','lowest','menu','reduce','acceptSelectedSuggestions','descriptionParts','TrackChangesEditing','size','isDirty','Discard\x20all\x20selected\x20suggestions','values','delete','hasSuggestion','editing','descriptionFactory','_updateController','_createMenuBarMenu','init','mainView','some','delegate','Accept\x20all\x20selected\x20suggestions','getSuggestion','getJoined','menuBar:trackChanges','button','execute','_disableComments','_addUIComponentsToFactory','listenTo','menuitemcheckbox','acceptAllSuggestions','panelView','discardAllSuggestions','TrackChangesUI','_handleControllerBuffer','357908DxWBWo','trackChanges','remove','clear','discardSelectedSuggestions','commandName','suggestion-','previous','add','trackChanges.SuggestionThreadView','type','CommentsUI','set','2435058etSSrU','_viewToController','_handleSuggestionControllerDelayed','config'];_0x4002=function(){return _0xdc7121;};return _0x4002();}import _0x31cfea from'./trackchangesediting.js';import _0x248945 from'./ui/suggestioncontroller.js';import _0x485b8b from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x2c9065}from'./utils/common-translations.js';import _0x3bf923 from'../theme/icons/track-changes.svg';export default class d extends _0x80b002{static get[_0x24fd51(0x166)](){const _0x3fce42=_0x24fd51;return[_0x31cfea,_0x439bbb,_0x3fce42(0x118),_0x3fce42(0x13a),_0x3fce42(0x143)];}static get[_0x24fd51(0x155)](){const _0x42a978=_0x24fd51;return _0x42a978(0xf7);}constructor(_0x2d822e){const _0x59abc6=_0x24fd51;super(_0x2d822e),this[_0x59abc6(0x149)]=new Map(),this[_0x59abc6(0x107)]=new Map(),this[_0x59abc6(0x15d)]=new Map(),this[_0x59abc6(0xf8)]=new Map();const _0x4bf6a2=this[_0x59abc6(0x114)][_0x59abc6(0x109)];_0x4bf6a2[_0x59abc6(0x12c)](_0x59abc6(0x102),_0x485b8b),_0x4bf6a2[_0x59abc6(0x12c)](_0x59abc6(0x11f),!0x1),this[_0x59abc6(0xf0)]=_0x4bf6a2[_0x59abc6(0x129)](_0x59abc6(0x11f));}[_0x24fd51(0x108)](_0x10fb50,_0x31b65f){const _0x46615e=_0x24fd51;0x0===this[_0x46615e(0xf8)][_0x46615e(0x16d)]&&setTimeout(()=>{const _0xd0b83a=_0x46615e;for(const [_0x329490,_0x26e67c]of this[_0xd0b83a(0xf8)]){const _0x29ba02=this[_0xd0b83a(0x149)][_0xd0b83a(0x126)](_0x329490);_0x29ba02||_0x26e67c?_0x29ba02&&_0x26e67c&&this[_0xd0b83a(0x12f)](_0x329490):this[_0xd0b83a(0x146)](_0x329490);}this[_0xd0b83a(0xf8)][_0xd0b83a(0xfc)](),this[_0xd0b83a(0x114)][_0xd0b83a(0x137)][_0xd0b83a(0x129)](_0xd0b83a(0x143))[_0xd0b83a(0x152)](),this[_0xd0b83a(0x139)]();},0xa),this[_0x46615e(0xf8)][_0x46615e(0x105)](_0x10fb50,_0x31b65f);}[_0x24fd51(0xe6)](){const _0x3b9358=_0x24fd51,_0x3b170b=this[_0x3b9358(0x114)],_0x38bb80=_0x3b170b[_0x3b9358(0x137)][_0x3b9358(0x129)](_0x3b9358(0x16c)),_0x257a0b=_0x3b170b[_0x3b9358(0x137)][_0x3b9358(0x129)](_0x3b9358(0x13a)),_0x28a91a=_0x3b170b[_0x3b9358(0x137)][_0x3b9358(0x129)](_0x3b9358(0x143)),_0x68ee8d=_0x3b170b[_0x3b9358(0x137)][_0x3b9358(0x129)](_0x3b9358(0x118));this[_0x3b9358(0xf1)](),_0x28a91a[_0x3b9358(0x111)](()=>{const _0x1d2161=_0x3b9358,_0x4d9370=[];for(const [_0x5bbffb,_0x47eac4]of Array[_0x1d2161(0x12e)](this[_0x1d2161(0x149)])){const _0x24c4bf=_0x5bbffb[_0x1d2161(0x138)](),_0xe62bc5=[];for(const _0x2ac7e7 of _0x24c4bf){if(!_0x2ac7e7[_0x1d2161(0x161)])continue;if(_0x2ac7e7[_0x1d2161(0x156)]){_0xe62bc5[_0x1d2161(0x14a)](..._0x2ac7e7[_0x1d2161(0x140)]());continue;}const _0x3bc1f5=_0x2ac7e7[_0x1d2161(0x122)]();if(_0xe62bc5[_0x1d2161(0x13e)]>0x0){const _0x53c21c=_0xe62bc5[0x0][_0x1d2161(0xec)](_0x3bc1f5);if(_0x53c21c){_0xe62bc5[0x0]=_0x53c21c;continue;}}_0xe62bc5[_0x1d2161(0x14a)](_0x3bc1f5);}_0x4d9370[_0x1d2161(0x14a)]([_0x47eac4[_0x1d2161(0x11a)],_0xe62bc5]);}return _0x4d9370;}),this[_0x3b9358(0xf2)](_0x38bb80,_0x3b9358(0x15c),(_0xc26834,_0x4ef8f7)=>{const _0xe7e71e=_0x3b9358;this[_0xe7e71e(0xf2)](_0x4ef8f7,_0xe7e71e(0x124),(_0x5aff6a,_0x1239a4,_0x59ce4e,_0x30910e)=>{const _0x30406c=_0xe7e71e;_0x4ef8f7[_0x30406c(0x161)]&&(null==_0x59ce4e?(this[_0x30406c(0xe4)](_0x30910e[_0x30406c(0x144)]),this[_0x30406c(0x108)](_0x4ef8f7,!0x1)):(this[_0x30406c(0xe4)](_0x59ce4e[_0x30406c(0x144)]),null==_0x30910e&&this[_0x30406c(0x108)](_0x4ef8f7,!0x0)));}),null!==_0x4ef8f7[_0xe7e71e(0x100)]?this[_0xe7e71e(0xe4)](_0x4ef8f7[_0xe7e71e(0x144)]):this[_0xe7e71e(0x108)](_0x4ef8f7,!0x1);}),this[_0x3b9358(0xf2)](_0x38bb80,_0x3b9358(0x14f),(_0x80e033,_0x458751,_0x3ba3bd)=>{const _0x8e5a18=_0x3b9358;this[_0x8e5a18(0x14e)](_0x458751,_0x8e5a18(0x124)),this[_0x8e5a18(0xf8)][_0x8e5a18(0xe0)](_0x458751),this[_0x8e5a18(0x149)][_0x8e5a18(0x126)](_0x458751)&&this[_0x8e5a18(0x12f)](_0x458751),_0x3ba3bd&&this[_0x8e5a18(0xe4)](_0x3ba3bd[_0x8e5a18(0x144)]);}),this[_0x3b9358(0xf2)](_0x38bb80,_0x3b9358(0x133),(_0x234dc3,_0x376b32)=>{const _0x531604=_0x3b9358;this[_0x531604(0xe4)](_0x376b32);}),this[_0x3b9358(0xf2)](_0x257a0b,_0x3b9358(0x116),()=>{const _0x110b68=_0x3b9358;this[_0x110b68(0x139)]();}),this[_0x3b9358(0xf2)](_0x68ee8d,_0x3b9358(0x123),(_0x21f134,{threadId:_0x1b6e84,isFromAdapter:_0x12bbe4})=>{const _0x103d47=_0x3b9358;if(_0x12bbe4||!_0x38bb80[_0x103d47(0xe1)](_0x1b6e84))return;const _0xc5223=_0x38bb80[_0x103d47(0xeb)](_0x1b6e84);this[_0x103d47(0x149)][_0x103d47(0x129)](_0xc5223)[_0x103d47(0x11a)][_0x103d47(0x14c)]();},{'priority':_0x3b9358(0x167)});}[_0x24fd51(0x139)](){const _0x58f50c=_0x24fd51,_0x181f90=this[_0x58f50c(0x114)][_0x58f50c(0x137)][_0x58f50c(0x129)](_0x58f50c(0x13a)),_0x2ceabf=this[_0x58f50c(0x114)][_0x58f50c(0x137)][_0x58f50c(0x129)](_0x58f50c(0x16c)),_0x4ac6d1=Array[_0x58f50c(0x12e)](_0x181f90[_0x58f50c(0x134)],_0xa3e595=>_0xa3e595[_0x58f50c(0x11b)])[_0x58f50c(0x13b)](_0x463b96=>this[_0x58f50c(0x107)][_0x58f50c(0x126)](_0x463b96)),_0x123b83=[];for(const _0x39d522 of _0x4ac6d1){const _0x20eb2e=this[_0x58f50c(0x107)][_0x58f50c(0x129)](_0x39d522)[_0x58f50c(0x12d)][_0x58f50c(0x138)]();_0x123b83[_0x58f50c(0x14a)](..._0x20eb2e[_0x58f50c(0x169)]((_0x5ca047,_0x5402a7)=>[..._0x5ca047,..._0x5402a7[_0x58f50c(0x158)]()],[]));}_0x2ceabf[_0x58f50c(0x136)]=_0x123b83;}[_0x24fd51(0xf1)](){const _0x23a427=_0x24fd51,_0x1e31e6=this[_0x23a427(0x114)],_0x24cfe2=_0x1e31e6[_0x23a427(0x10a)],_0x3354ce=_0x2c9065(_0x24cfe2,_0x23a427(0x13d)),_0x1519ed=new _0x2567da([{'type':_0x23a427(0x148),'model':new _0x30245f({'withText':!0x0,'label':_0x3354ce,'commandName':_0x23a427(0xfa),'role':_0x23a427(0xf3)})},{'type':_0x23a427(0x13f)},{'type':_0x23a427(0xee),'model':new _0x30245f({'withText':!0x0,'label':_0x2c9065(_0x24cfe2,_0x23a427(0x15f)),'commandName':_0x23a427(0xf4),'role':_0x23a427(0x127)})},{'type':_0x23a427(0xee),'model':new _0x30245f({'withText':!0x0,'label':_0x2c9065(_0x24cfe2,_0x23a427(0xea)),'commandName':_0x23a427(0x16a),'role':_0x23a427(0x127)})},{'type':_0x23a427(0xee),'model':new _0x30245f({'withText':!0x0,'label':_0x2c9065(_0x24cfe2,_0x23a427(0x151)),'commandName':_0x23a427(0xf6),'role':_0x23a427(0x127)})},{'type':_0x23a427(0xee),'model':new _0x30245f({'withText':!0x0,'label':_0x2c9065(_0x24cfe2,_0x23a427(0x16f)),'commandName':_0x23a427(0xfd),'role':_0x23a427(0x127)})}]);for(const _0x53c816 of _0x1519ed)if(ae(_0x53c816)){const _0x1d2389=_0x1e31e6[_0x23a427(0x113)][_0x23a427(0x129)](_0x53c816[_0x23a427(0x12d)][_0x23a427(0xfe)]);_0x53c816[_0x23a427(0x12d)][_0x23a427(0x11c)](_0x23a427(0x14b),_0x23a427(0x160))['to'](_0x1d2389,_0x23a427(0x15a),_0x23a427(0x160));}_0x1e31e6['ui'][_0x23a427(0x112)][_0x23a427(0x101)](_0x23a427(0xfa),_0x126a47=>this[_0x23a427(0x159)](_0x126a47,_0x1519ed,_0x3354ce)),_0x1e31e6['ui'][_0x23a427(0x112)][_0x23a427(0x101)](_0x23a427(0xed),_0x3f7969=>this[_0x23a427(0xe5)](_0x3f7969,_0x1519ed,_0x3354ce));}[_0x24fd51(0x159)](_0x5ab2f0,_0x3b08c1,_0x3a9152){const _0x28f66b=_0x24fd51,_0x3d7856=_0x52c79e(_0x5ab2f0,_0x57616c),_0x37bcdc=this[_0x28f66b(0x114)][_0x28f66b(0x113)][_0x28f66b(0x129)](_0x28f66b(0xfa));_0x3d7856[_0x28f66b(0x165)][_0x28f66b(0x105)]({'tooltip':_0x3a9152,'label':_0x3a9152,'icon':_0x3bf923}),_0x3d7856[_0x28f66b(0x165)][_0x28f66b(0x11c)](_0x28f66b(0x14b))['to'](_0x37bcdc,_0x28f66b(0x15a)),_0x3d7856[_0x28f66b(0x165)]['on'](_0x28f66b(0xef),()=>{const _0x54b9c8=_0x28f66b;_0x37bcdc[_0x54b9c8(0xef)](),this[_0x54b9c8(0x114)][_0x54b9c8(0xe2)][_0x54b9c8(0x11a)][_0x54b9c8(0x14c)]();}),_0x1fed0a(_0x3d7856,_0x3b08c1,{'role':_0x28f66b(0x168)});const _0x2f5492=[];for(const _0x13f4ca of _0x3b08c1)ae(_0x13f4ca)&&_0x2f5492[_0x28f66b(0x14a)](this[_0x28f66b(0x114)][_0x28f66b(0x113)][_0x28f66b(0x129)](_0x13f4ca[_0x28f66b(0x12d)][_0x28f66b(0xfe)]));const _0xb9e87=_0x3d7856[_0x28f66b(0x165)];return _0xb9e87[_0x28f66b(0x10f)][_0x28f66b(0x131)](_0x28f66b(0x160)),_0xb9e87[_0x28f66b(0x115)][_0x28f66b(0x131)](_0x28f66b(0x160)),_0xb9e87[_0x28f66b(0x10f)][_0x28f66b(0x11c)](_0x28f66b(0x160))['to'](_0x37bcdc,_0x28f66b(0x160)),_0xb9e87[_0x28f66b(0x115)][_0x28f66b(0x11c)](_0x28f66b(0x160))[_0x28f66b(0x130)](_0x2f5492,_0x28f66b(0x160),(..._0x7cda2a)=>_0x7cda2a[_0x28f66b(0xe8)](_0x3ea279=>_0x3ea279)),_0x3d7856['on'](_0x28f66b(0xef),_0xb69c14=>{const _0x5aea8e=_0x28f66b;this[_0x5aea8e(0x114)][_0x5aea8e(0xef)](_0xb69c14[_0x5aea8e(0x12a)][_0x5aea8e(0xfe)]),this[_0x5aea8e(0x114)][_0x5aea8e(0xe2)][_0x5aea8e(0x11a)][_0x5aea8e(0x14c)]();}),_0x3d7856;}[_0x24fd51(0xe5)](_0x5b746b,_0x14d9d2,_0x254084){const _0x94963f=_0x24fd51,_0x2e9f7e=new _0x288381(_0x5b746b),_0x5e229a=this[_0x94963f(0x114)][_0x94963f(0x113)][_0x94963f(0x129)](_0x94963f(0xfa));_0x2e9f7e[_0x94963f(0x165)][_0x94963f(0x105)]({'label':_0x254084,'icon':_0x3bf923});const _0x3697f6=new _0x32a495(_0x5b746b);for(const _0x3ec2ea of _0x14d9d2){if(_0x94963f(0x13f)==_0x3ec2ea[_0x94963f(0x103)]){_0x3697f6[_0x94963f(0x150)][_0x94963f(0x101)](new _0x51eaaf(_0x5b746b));continue;}const _0x782334=new _0x435738(_0x5b746b,_0x2e9f7e),_0x5ccdb6=new _0x2ef808(_0x5b746b),_0x779644=_0x3ec2ea[_0x94963f(0x12d)];_0x5ccdb6[_0x94963f(0x11c)](...Object[_0x94963f(0x125)](_0x779644))['to'](_0x779644),_0x5ccdb6[_0x94963f(0xe9)](_0x94963f(0xef))['to'](_0x2e9f7e),_0x5ccdb6['on'](_0x94963f(0xef),()=>{const _0x5d67f3=_0x94963f;this[_0x5d67f3(0x114)][_0x5d67f3(0xef)](_0x779644[_0x5d67f3(0xfe)]),this[_0x5d67f3(0x114)][_0x5d67f3(0xe2)][_0x5d67f3(0x11a)][_0x5d67f3(0x14c)]();}),_0x782334[_0x94963f(0x10e)][_0x94963f(0x101)](_0x5ccdb6),_0x3697f6[_0x94963f(0x150)][_0x94963f(0x101)](_0x782334);}return _0x2e9f7e[_0x94963f(0x11c)](_0x94963f(0x160))['to'](_0x5e229a,_0x94963f(0x160)),_0x2e9f7e[_0x94963f(0xf5)][_0x94963f(0x10e)][_0x94963f(0x101)](_0x3697f6),_0x2e9f7e;}[_0x24fd51(0x146)](_0x352d4d){const _0x56e5b8=_0x24fd51,_0x22d41f=this[_0x56e5b8(0x114)],_0x405108=_0x22d41f[_0x56e5b8(0x109)],_0xb2455f=_0x22d41f[_0x56e5b8(0x137)][_0x56e5b8(0x129)](_0x56e5b8(0x13a)),_0x5a132c=_0x22d41f[_0x56e5b8(0x137)][_0x56e5b8(0x129)](_0x56e5b8(0x118)),_0x4c6d09=_0x22d41f[_0x56e5b8(0x137)][_0x56e5b8(0x129)](_0x56e5b8(0x143)),_0x23bfc4=_0x22d41f[_0x56e5b8(0x137)][_0x56e5b8(0x129)](_0x439bbb)['me'],_0x5e6ff1=_0x405108[_0x56e5b8(0x129)](_0x56e5b8(0xfa))[_0x56e5b8(0x10d)],{CommentsListView:_0x4cb13,CommentThreadInputView:_0x262aad}=_0x22d41f[_0x56e5b8(0x137)][_0x56e5b8(0x129)](_0x56e5b8(0x104));let _0x1b76f8,_0x2c5742;this[_0x56e5b8(0x15d)][_0x56e5b8(0x126)](_0x352d4d['id'])?(_0x2c5742=this[_0x56e5b8(0x15d)][_0x56e5b8(0x129)](_0x352d4d['id']),_0x1b76f8=_0x2c5742[_0x56e5b8(0xe7)]):(_0x1b76f8=new _0x5e6ff1(_0x22d41f[_0x56e5b8(0x10a)],_0x352d4d,_0x23bfc4,{'disableComments':this[_0x56e5b8(0xf0)],'editorConfig':_0x405108[_0x56e5b8(0x129)](_0x56e5b8(0x119)),'maxCommentsWhenCollapsed':_0x405108[_0x56e5b8(0x129)](_0x56e5b8(0x121)),'maxThreadTotalWeight':_0x405108[_0x56e5b8(0x129)](_0x56e5b8(0x164)),'maxCommentCharsWhenCollapsed':_0x405108[_0x56e5b8(0x129)](_0x56e5b8(0x11d)),'formatDateTime':_0x285a33(_0x405108[_0x56e5b8(0x129)](_0x56e5b8(0x10a))),'CommentView':_0x405108[_0x56e5b8(0x129)](_0x56e5b8(0x128))[_0x56e5b8(0x120)],'CommentsListView':_0x4cb13,'CommentThreadInputView':_0x262aad}),_0x1b76f8[_0x56e5b8(0x163)]['on'](_0x56e5b8(0xef),()=>{const _0x2e2409=_0x56e5b8;_0x22d41f[_0x2e2409(0xe2)][_0x2e2409(0x11a)][_0x2e2409(0x14c)]();}),_0x1b76f8[_0x56e5b8(0x11e)]['on'](_0x56e5b8(0xef),()=>{const _0x5e3cfa=_0x56e5b8;_0x22d41f[_0x5e3cfa(0xe2)][_0x5e3cfa(0x11a)][_0x5e3cfa(0x14c)]();}),_0x2c5742=_0xb2455f[_0x56e5b8(0x10c)](this[_0x56e5b8(0x114)][_0x56e5b8(0x10a)],_0x1b76f8),_0x2c5742[_0x56e5b8(0x11c)](_0x56e5b8(0x16e))['to'](_0x1b76f8,_0x56e5b8(0x16e)),_0x2c5742[_0x56e5b8(0x11c)](_0x56e5b8(0x13e))['to'](_0x1b76f8),_0x2c5742[_0x56e5b8(0x11c)](_0x56e5b8(0x103))['to'](_0x1b76f8,_0x56e5b8(0x103),_0x3c3235=>_0x56e5b8(0xff)+_0x3c3235),this[_0x56e5b8(0x15d)][_0x56e5b8(0x105)](_0x352d4d['id'],_0x2c5742));const _0x212762=_0x5a132c[_0x56e5b8(0x14d)](_0x352d4d[_0x56e5b8(0x15e)],_0x1b76f8),_0xf2c710=new _0x248945(_0x22d41f,_0x352d4d,_0x1b76f8,_0x212762),_0x2b1766=_0x352d4d[_0x56e5b8(0x138)]()[_0x56e5b8(0x13b)](_0x5b98a8=>_0x5b98a8[_0x56e5b8(0x161)]);_0x1b76f8[_0x56e5b8(0x16b)]=_0x22d41f[_0x56e5b8(0x137)][_0x56e5b8(0x129)](_0x56e5b8(0x16c))[_0x56e5b8(0xe3)][_0x56e5b8(0x157)](_0x2b1766),this[_0x56e5b8(0x149)][_0x56e5b8(0x105)](_0x352d4d,_0xf2c710),this[_0x56e5b8(0x107)][_0x56e5b8(0x105)](_0x1b76f8,_0xf2c710);const _0x11c9d2=_0xb2455f[_0x56e5b8(0x145)]({'view':_0x2c5742,'target':()=>{const _0x3f316f=_0x56e5b8,_0x5e3898=[],_0x3f3e4e=_0x352d4d[_0x3f316f(0x138)]()[_0x3f316f(0x13b)](_0x493aec=>_0x493aec[_0x3f316f(0x161)]);for(const _0x28807f of _0x3f3e4e)_0x5e3898[_0x3f316f(0x14a)](..._0x28807f[_0x3f316f(0x142)]());return _0x7ebfce(_0x22d41f[_0x3f316f(0xe2)],_0x5e3898);},'type':()=>_0x56e5b8(0xff)+_0xf2c710[_0x56e5b8(0x11a)][_0x56e5b8(0x103)]});_0x5a132c[_0x56e5b8(0x10b)](_0x1b76f8,_0x11c9d2),_0xb2455f[_0x56e5b8(0x101)](_0x11c9d2),_0x4c6d09[_0x56e5b8(0x13c)](_0x11c9d2);}[_0x24fd51(0x12f)](_0x20c0c3){const _0x515227=_0x24fd51,_0x15bf54=this[_0x515227(0x114)][_0x515227(0x137)][_0x515227(0x129)](_0x515227(0x118)),_0xa5758a=this[_0x515227(0x114)][_0x515227(0x137)][_0x515227(0x129)](_0x515227(0x13a)),_0x331373=this[_0x515227(0x149)][_0x515227(0x129)](_0x20c0c3),_0x48fb2f=_0x331373[_0x515227(0x11a)],_0x120b4d=_0xa5758a[_0x515227(0x15b)](_0x48fb2f);_0x15bf54[_0x515227(0x132)](_0x48fb2f),_0x120b4d&&_0xa5758a[_0x515227(0xfb)](_0x120b4d),this[_0x515227(0x149)][_0x515227(0xe0)](_0x20c0c3),this[_0x515227(0x107)][_0x515227(0xe0)](_0x48fb2f),_0x331373[_0x515227(0x154)]();}[_0x24fd51(0xe4)](_0x42fa3f){const _0x28cc20=_0x24fd51;if(!_0x42fa3f[_0x28cc20(0x161)]||!this[_0x28cc20(0x149)][_0x28cc20(0x126)](_0x42fa3f))return;const _0x5322c2=this[_0x28cc20(0x114)][_0x28cc20(0x137)][_0x28cc20(0x129)](_0x28cc20(0x16c)),_0x58ec68=this[_0x28cc20(0x149)][_0x28cc20(0x129)](_0x42fa3f),_0x2a8724=_0x42fa3f[_0x28cc20(0x138)]();_0x58ec68[_0x28cc20(0x11a)][_0x28cc20(0x16b)]=_0x5322c2[_0x28cc20(0xe3)][_0x28cc20(0x157)](_0x2a8724);}[_0x24fd51(0x154)](){const _0x30cbd3=_0x24fd51;for(const _0x6902f0 of this[_0x30cbd3(0x149)][_0x30cbd3(0x125)]())this[_0x30cbd3(0x12f)](_0x6902f0);for(const _0x548168 of this[_0x30cbd3(0x15d)][_0x30cbd3(0xdf)]())_0x548168[_0x30cbd3(0xe7)][_0x30cbd3(0x154)]();super[_0x30cbd3(0x154)]();}}function ae(_0x37048e){const _0x2fbe05=_0x24fd51;return _0x2fbe05(0x12d)in _0x37048e;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x433c(_0x11419e,_0x36ed8a){const _0x3c66a3=_0x3c66();return _0x433c=function(_0x433c4d,_0x66d0fb){_0x433c4d=_0x433c4d-0x123;let _0x45276c=_0x3c66a3[_0x433c4d];return _0x45276c;},_0x433c(_0x11419e,_0x36ed8a);}const _0x1f03e8=_0x433c;function _0x3c66(){const _0x16d91b=['getRanges','acceptSuggestion','remove','destroy','_discardCommand','3310796qWbNGF','canDiscard','change:isDirty','add','bind','isEnabled','120itnTZg','isDirty','854500PvSZaL','13509SMnLQO','canAccept','162otVpmo','listenTo','locale','PENDING_ACTION_SUGGESTION','plugins','_acceptCommand','4906744jKfWDg','commentThreadController','PendingActions','_removePendingAction','execute','4182AQfVpc','_editor','get','model','unbind','canEditAt','30902xVARpw','_setPendingAction','stopListening','9310imLEgw','view','discardSuggestion','5078031eEmGoF','commands','_pendingAction'];_0x3c66=function(){return _0x16d91b;};return _0x3c66();}(function(_0x2ffa33,_0x23fc6a){const _0x4b0263=_0x433c,_0x22195f=_0x2ffa33();while(!![]){try{const _0x3ac76a=parseInt(_0x4b0263(0x14c))/0x1+parseInt(_0x4b0263(0x136))/0x2*(-parseInt(_0x4b0263(0x125))/0x3)+-parseInt(_0x4b0263(0x144))/0x4+parseInt(_0x4b0263(0x14a))/0x5*(-parseInt(_0x4b0263(0x130))/0x6)+-parseInt(_0x4b0263(0x13c))/0x7+parseInt(_0x4b0263(0x12b))/0x8+parseInt(_0x4b0263(0x123))/0x9*(parseInt(_0x4b0263(0x139))/0xa);if(_0x3ac76a===_0x23fc6a)break;else _0x22195f['push'](_0x22195f['shift']());}catch(_0x251029){_0x22195f['push'](_0x22195f['shift']());}}}(_0x3c66,0x70904));import{ObservableMixin as _0x127f38}from'ckeditor5/src/utils.js';import{getTranslation as _0x297f08}from'../utils/common-translations.js';export default class oe extends _0x127f38(){constructor(_0xf03ef7,_0x4f23da,_0x235093,_0xe0ff0c){const _0x4f1f6f=_0x433c;super(),this[_0x4f1f6f(0x133)]=_0x4f23da,this[_0x4f1f6f(0x13a)]=_0x235093,this[_0x4f1f6f(0x12c)]=_0xe0ff0c,this[_0x4f1f6f(0x131)]=_0xf03ef7,this[_0x4f1f6f(0x12a)]=_0xf03ef7[_0x4f1f6f(0x13d)][_0x4f1f6f(0x132)](_0x4f1f6f(0x140)),this[_0x4f1f6f(0x143)]=_0xf03ef7[_0x4f1f6f(0x13d)][_0x4f1f6f(0x132)](_0x4f1f6f(0x13b)),this[_0x4f1f6f(0x13a)][_0x4f1f6f(0x148)](_0x4f1f6f(0x149))['to'](this[_0x4f1f6f(0x12a)],this[_0x4f1f6f(0x143)],(_0x3a62ef,_0x470a07)=>_0x3a62ef||_0x470a07),this[_0x4f1f6f(0x13a)][_0x4f1f6f(0x148)](_0x4f1f6f(0x124))['to'](this[_0x4f1f6f(0x12a)],_0x4f1f6f(0x149),_0x291e63=>_0x291e63&&this[_0x4f1f6f(0x131)][_0x4f1f6f(0x133)][_0x4f1f6f(0x135)](_0x4f23da[_0x4f1f6f(0x13f)]())),this[_0x4f1f6f(0x13a)][_0x4f1f6f(0x148)](_0x4f1f6f(0x145))['to'](this[_0x4f1f6f(0x143)],_0x4f1f6f(0x149),_0x5bf2d5=>_0x5bf2d5&&this[_0x4f1f6f(0x131)][_0x4f1f6f(0x133)][_0x4f1f6f(0x135)](_0x4f23da[_0x4f1f6f(0x13f)]())),this[_0x4f1f6f(0x13e)]=null,_0x235093[_0x4f1f6f(0x14b)]&&this[_0x4f1f6f(0x137)](),this[_0x4f1f6f(0x126)](_0x235093,_0x4f1f6f(0x140),()=>this[_0x4f1f6f(0x140)]()),this[_0x4f1f6f(0x126)](_0x235093,_0x4f1f6f(0x13b),()=>this[_0x4f1f6f(0x13b)]()),this[_0x4f1f6f(0x126)](_0x235093,_0x4f1f6f(0x146),()=>{const _0x2a361a=_0x4f1f6f;_0x235093[_0x2a361a(0x14b)]?this[_0x2a361a(0x137)]():this[_0x2a361a(0x12e)]();});}[_0x1f03e8(0x140)](){const _0x42af29=_0x1f03e8;this[_0x42af29(0x12a)][_0x42af29(0x12f)](this[_0x42af29(0x133)]['id']);}[_0x1f03e8(0x13b)](){const _0x15bcd4=_0x1f03e8;this[_0x15bcd4(0x143)][_0x15bcd4(0x12f)](this[_0x15bcd4(0x133)]['id']);}[_0x1f03e8(0x142)](){const _0x4eb229=_0x1f03e8;this[_0x4eb229(0x13a)][_0x4eb229(0x134)](_0x4eb229(0x149)),this[_0x4eb229(0x13a)][_0x4eb229(0x134)](_0x4eb229(0x124)),this[_0x4eb229(0x13a)][_0x4eb229(0x134)](_0x4eb229(0x145)),this[_0x4eb229(0x138)](),this[_0x4eb229(0x12c)][_0x4eb229(0x142)](),this[_0x4eb229(0x13e)]&&this[_0x4eb229(0x12e)]();}[_0x1f03e8(0x137)](){const _0x26b072=_0x1f03e8,_0x45bbb3=_0x297f08(this[_0x26b072(0x131)][_0x26b072(0x127)],_0x26b072(0x128));this[_0x26b072(0x13e)]=this[_0x26b072(0x131)][_0x26b072(0x129)][_0x26b072(0x132)](_0x26b072(0x12d))[_0x26b072(0x147)](_0x45bbb3);}[_0x1f03e8(0x12e)](){const _0xb3e875=_0x1f03e8;null!==this[_0xb3e875(0x13e)]&&this[_0xb3e875(0x131)][_0xb3e875(0x129)][_0xb3e875(0x132)](_0xb3e875(0x12d))[_0xb3e875(0x141)](this[_0xb3e875(0x13e)]),this[_0xb3e875(0x13e)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26448e=_0x5e30;function _0x5e30(_0x487762,_0x2fe9b4){const _0x389880=_0x3898();return _0x5e30=function(_0x5e3017,_0x3a2f9c){_0x5e3017=_0x5e3017-0xca;let _0xbf8fbb=_0x389880[_0x5e3017];return _0xbf8fbb;},_0x5e30(_0x487762,_0x2fe9b4);}function _0x3898(){const _0x3f55e0=['2500SXAhOn','disableComments','removeComment','bind','commentInputView','commentThreadInputView','authoredAt','length','editor','submit','_config','disabledSubmit','91116XUeQOO','2076oBEpIG','CommentView','3144ywQtUo','updateComment','_model','1262330xDZaYE','showInput','locale','10905312cCPsmV','520551eAjSFc','99HZSDSU','isActive','value','canAccept','focus','element','canDiscard','addComment','26362sHFpVX','setData','descriptionParts','destroy','assign','isEnabled','delegate','set','fire','commentsListView','_createCommentViews','hasDirtyComment','_localUser','cancel','isReadOnly','commentThread','19MzGHow','editorConfig','isDirty','_createCommentThreadInputView','4067220GUqhuL'];_0x3898=function(){return _0x3f55e0;};return _0x3898();}(function(_0x4bca95,_0x4ca881){const _0x277d49=_0x5e30,_0x53ad4a=_0x4bca95();while(!![]){try{const _0x654c48=-parseInt(_0x277d49(0xdf))/0x1*(-parseInt(_0x277d49(0xf0))/0x2)+parseInt(_0x277d49(0xf3))/0x3*(parseInt(_0x277d49(0xe4))/0x4)+parseInt(_0x277d49(0xe3))/0x5+-parseInt(_0x277d49(0xf1))/0x6*(parseInt(_0x277d49(0xcf))/0x7)+-parseInt(_0x277d49(0xf9))/0x8+-parseInt(_0x277d49(0xfa))/0x9+-parseInt(_0x277d49(0xf6))/0xa*(-parseInt(_0x277d49(0xfb))/0xb);if(_0x654c48===_0x4ca881)break;else _0x53ad4a['push'](_0x53ad4a['shift']());}catch(_0x2f8e5f){_0x53ad4a['push'](_0x53ad4a['shift']());}}}(_0x3898,0xb6278));import{View as _0x15c1ad}from'ckeditor5/src/ui.js';export default class es extends _0x15c1ad{constructor(_0x4b355a,_0x14f50d,_0x343285,_0x36efd0){const _0x24e815=_0x5e30;super(_0x4b355a),this[_0x24e815(0xd8)]=null,this[_0x24e815(0xe9)]=null,this[_0x24e815(0xd6)](_0x24e815(0xfc),!0x1),this[_0x24e815(0xd6)](_0x24e815(0xea),_0x14f50d[_0x24e815(0xea)]),this[_0x24e815(0xe7)](_0x24e815(0xea))['to'](_0x14f50d),this[_0x24e815(0xd6)](_0x24e815(0xd1),[]),this[_0x24e815(0xd6)](_0x24e815(0xe1),!0x1),this[_0x24e815(0xd6)](_0x24e815(0xd4),!0x1),this[_0x24e815(0xd6)](_0x24e815(0xca),!0x1),this[_0x24e815(0xd6)](_0x24e815(0xcd),!0x1),this[_0x24e815(0xf5)]=_0x14f50d,this[_0x24e815(0xdb)]=_0x343285,this[_0x24e815(0xee)]=_0x36efd0,_0x36efd0[_0x24e815(0xe5)]?this[_0x24e815(0xd6)](_0x24e815(0xeb),0x1):this[_0x24e815(0xd9)]();}[_0x26448e(0xcb)](){const _0x7fb448=_0x26448e;this[_0x7fb448(0xcc)][_0x7fb448(0xcb)]();}[_0x26448e(0xd2)](){const _0x3db9de=_0x26448e;this[_0x3db9de(0xd8)]&&this[_0x3db9de(0xd8)][_0x3db9de(0xd2)](),this[_0x3db9de(0xe9)]&&this[_0x3db9de(0xe9)][_0x3db9de(0xd2)](),super[_0x3db9de(0xd2)]();}[_0x26448e(0xd9)](){const _0x4d4f51=_0x26448e,{CommentsListView:_0x292f2b}=this[_0x4d4f51(0xee)];this[_0x4d4f51(0xd8)]=new _0x292f2b(this[_0x4d4f51(0xf8)],this[_0x4d4f51(0xf5)][_0x4d4f51(0xde)],Object[_0x4d4f51(0xd3)]({'CommentView':this[_0x4d4f51(0xee)][_0x4d4f51(0xf2)]},this[_0x4d4f51(0xee)])),this[_0x4d4f51(0xd8)][_0x4d4f51(0xd5)](_0x4d4f51(0xe6))['to'](this),this[_0x4d4f51(0xd8)][_0x4d4f51(0xd5)](_0x4d4f51(0xf4))['to'](this),this[_0x4d4f51(0xd8)][_0x4d4f51(0xe7)](_0x4d4f51(0xfc))['to'](this),this[_0x4d4f51(0xd6)](_0x4d4f51(0xeb),this[_0x4d4f51(0xd8)][_0x4d4f51(0xeb)]+0x1),this[_0x4d4f51(0xe7)](_0x4d4f51(0xeb))['to'](this[_0x4d4f51(0xd8)],_0x4d4f51(0xeb),_0x5d1287=>_0x5d1287+0x1),this[_0x4d4f51(0xe9)]=this[_0x4d4f51(0xe2)](),this['on'](_0x4d4f51(0xe6),()=>this[_0x4d4f51(0xcb)]()),this[_0x4d4f51(0xe7)](_0x4d4f51(0xe1))['to'](this[_0x4d4f51(0xd8)],_0x4d4f51(0xda),this[_0x4d4f51(0xe9)][_0x4d4f51(0xe8)],_0x4d4f51(0xfd),(_0x372356,_0x1ce881)=>_0x372356||!!_0x1ce881);}[_0x26448e(0xe2)](){const _0x48232c=_0x26448e,{CommentThreadInputView:_0x595aea}=this[_0x48232c(0xee)],_0x47ba06=new _0x595aea(this[_0x48232c(0xf8)],this[_0x48232c(0xdb)],this[_0x48232c(0xee)][_0x48232c(0xe0)]),_0x5800de=_0x47ba06[_0x48232c(0xe8)];return _0x47ba06[_0x48232c(0xe7)](_0x48232c(0xf7))['to'](this,_0x48232c(0xfc),this[_0x48232c(0xf5)][_0x48232c(0xde)],_0x48232c(0xdd),_0x5800de,_0x48232c(0xfd),(_0x1e04fb,_0xf26a2,_0x361b81)=>!!_0x361b81||_0x1e04fb&&!_0xf26a2),_0x5800de['on'](_0x48232c(0xed),(_0x1521b5,_0x49ea6b)=>{const _0x30eca7=_0x48232c;this[_0x30eca7(0xd7)](_0x30eca7(0xce),_0x49ea6b),_0x5800de[_0x30eca7(0xec)][_0x30eca7(0xd0)]('');}),_0x5800de['on'](_0x48232c(0xdc),()=>this[_0x48232c(0xcb)]()),_0x5800de[_0x48232c(0xe7)](_0x48232c(0xef))['to'](this[_0x48232c(0xf5)][_0x48232c(0xde)],_0x48232c(0xdd)),_0x47ba06;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2b67(_0x38454b,_0x51b122){const _0x5320d5=_0x5320();return _0x2b67=function(_0x2b6703,_0x3e080d){_0x2b6703=_0x2b6703-0x1e5;let _0x397fd1=_0x5320d5[_0x2b6703];return _0x397fd1;},_0x2b67(_0x38454b,_0x51b122);}const _0xaeee6a=_0x2b67;(function(_0x1b7d8f,_0x28681c){const _0x4b7695=_0x2b67,_0x311c4a=_0x1b7d8f();while(!![]){try{const _0x5d5fdc=parseInt(_0x4b7695(0x20a))/0x1*(-parseInt(_0x4b7695(0x213))/0x2)+-parseInt(_0x4b7695(0x214))/0x3+-parseInt(_0x4b7695(0x209))/0x4*(parseInt(_0x4b7695(0x22c))/0x5)+parseInt(_0x4b7695(0x1f5))/0x6*(-parseInt(_0x4b7695(0x229))/0x7)+parseInt(_0x4b7695(0x243))/0x8+parseInt(_0x4b7695(0x201))/0x9+parseInt(_0x4b7695(0x23f))/0xa;if(_0x5d5fdc===_0x28681c)break;else _0x311c4a['push'](_0x311c4a['shift']());}catch(_0xdb34b7){_0x311c4a['push'](_0x311c4a['shift']());}}}(_0x5320,0x387f1));import{getTranslation as _0x1fd9ec}from'../../utils/common-translations.js';import{default as _0x11b1c1}from'./basesuggestionthreadview.js';function _0x5320(){const _0x57c917=['ck-suggestion-wrapper--active','element','disableComments','ck-annotation__content-wrapper','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','locale','editorReady','ck-annotation__user','delegate','_config','ck-suggestion__main','ck-annotation','ck-suggestion-wrapper','ck-suggestion--accept','color','span','canDiscard','author','227658SIqztz','cancel','getExternalSuggestionNote','_model','innerText','bindTemplate','ck-annotation__info-time','@external','</p>','set','<span\x20class=\x22ck-suggestion-type\x22>','.ck-annotation__content-wrapper','2003607YwOZUT','<p>','fire','ck-comment__info-time','type','check','Accept\x20suggestion','ck-suggestion','229708ZTNNQg','226089CFGZLm','join','push','content','commentsListView','EXTERNAL_AVATAR','discardSuggestion','extendTemplate','map','2qcjPiO','823167cMQgzI','ck-comment__external','acceptButton','importWord','getTemplate','ck-suggestion__user','children','change:description','ck-annotation__info','</span>','authoredAt','commentThreadInputView','split','div','source','EXTERNAL_IMPORT_WORD_AVATAR','\x22></span>','querySelector','getUserViewNotificationText','time','canAccept','14UhVqMr','setTemplate','isExternal','15lRfOpz','attributes','name','_createButton','EXTERNAL_SUGGESTION','bind','render','ck-suggestion__info-name','Discard\x20suggestion','title','ck-suggestion__info','isEnabled','formatDateTime','editorDestroyed','acceptSuggestion','ck-annotation__main','createElement','innerHTML','\x22\x20title=\x22','6865410XqqUbY','discardButton','commentThread','ck-suggestion__actions','567120PEKxTg','ck-suggestion-','ck-annotation__info-name','userView','creator','descriptionParts','isActive','ck-suggestion--disabled-comments','execute','description','value','ck-suggestion--discard','ck-annotation__actions','EXTERNAL_IMPORT_WORD_SUGGESTION','_descriptionElement'];_0x5320=function(){return _0x57c917;};return _0x5320();}import{ButtonView as _0x585611}from'ckeditor5/src/ui.js';import{icons as _0x847613}from'ckeditor5/src/core.js';import{trimHtml as _0x55baef,UserView as _0x1b2b5e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x11b1c1{constructor(_0x25c4eb,_0x35f994,_0x42fc41,_0x5cb65d){const _0x436230=_0x2b67;super(_0x25c4eb,_0x35f994,_0x42fc41,_0x5cb65d),this[_0x436230(0x1fe)](_0x436230(0x205),''),this[_0x436230(0x231)](_0x436230(0x205))['to'](this,_0x436230(0x248),_0x12406c=>_0x12406c&&_0x12406c[0x0]?_0x12406c[0x0][_0x436230(0x205)]:''),this[_0x436230(0x231)](_0x436230(0x24c))['to'](this,_0x436230(0x248),this,_0x436230(0x249),(_0x55f9ad,_0x50e365)=>{const _0x26e67a=_0x436230;let _0x42c021='';for(const _0x47a132 of _0x55f9ad)_0x42c021+=_0x26e67a(0x202)+ds(_0x47a132[_0x26e67a(0x20d)],_0x47a132[_0x26e67a(0x1f1)])+_0x26e67a(0x1fd);return _0x50e365?_0x42c021:_0x55baef(_0x42c021,{'limit':0x8c});}),this[_0x436230(0x251)]=null,this[_0x436230(0x216)]=this[_0x436230(0x22f)](_0x1fd9ec(_0x25c4eb,_0x436230(0x207)),_0x847613[_0x436230(0x206)],_0x436230(0x1f0),_0x436230(0x23a),'sw'),this[_0x436230(0x216)][_0x436230(0x231)](_0x436230(0x237))['to'](this,_0x436230(0x228)),this[_0x436230(0x240)]=this[_0x436230(0x22f)](_0x1fd9ec(_0x25c4eb,_0x436230(0x234)),_0x847613[_0x436230(0x1f6)],_0x436230(0x24e),_0x436230(0x210),'sw'),this[_0x436230(0x240)][_0x436230(0x231)](_0x436230(0x237))['to'](this,_0x436230(0x1f3)),this[_0x436230(0x246)]=new _0x1b2b5e(_0x25c4eb,this[_0x436230(0x1f8)][_0x436230(0x1f4)],this[_0x436230(0x226)]()),this[_0x436230(0x246)][_0x436230(0x211)]({'attributes':{'class':[_0x436230(0x219),_0x436230(0x1ea)]}}),this[_0x436230(0x22a)](this[_0x436230(0x218)]());}[_0xaeee6a(0x218)](){const _0x5b096a=_0xaeee6a,_0x6dfb2b=this[_0x5b096a(0x1fa)],_0x351e39=[{'tag':_0x5b096a(0x221),'attributes':{'class':[_0x5b096a(0x236),_0x5b096a(0x21c)]},'children':[{'tag':_0x5b096a(0x1f2),'children':[{'text':this[_0x5b096a(0x246)][_0x5b096a(0x22e)]}],'attributes':{'class':[_0x5b096a(0x233),_0x5b096a(0x245)]}},{'tag':_0x5b096a(0x227),'attributes':{'datetime':_0x6dfb2b['to'](_0x5b096a(0x21e)),'class':[_0x5b096a(0x204),_0x5b096a(0x1fb)]},'children':[{'text':_0x6dfb2b['to'](_0x5b096a(0x21e),_0x4c0716=>this[_0x5b096a(0x1ec)][_0x5b096a(0x238)](_0x4c0716))}]}]},{'tag':_0x5b096a(0x221),'attributes':{'class':[_0x5b096a(0x242),_0x5b096a(0x24f)]},'children':[this[_0x5b096a(0x216)],this[_0x5b096a(0x240)]]},{'tag':_0x5b096a(0x221),'attributes':{'class':[_0x5b096a(0x1e6)]}}];this[_0x5b096a(0x1f8)][_0x5b096a(0x22b)]&&_0x351e39[_0x5b096a(0x20c)]({'tag':_0x5b096a(0x221),'attributes':{'class':[_0x5b096a(0x215)]},'children':[{'text':this[_0x5b096a(0x1f7)]()}]});const _0x114433={'tag':_0x5b096a(0x221),'attributes':{'class':[_0x5b096a(0x1ef),_0x6dfb2b['if'](_0x5b096a(0x249),_0x5b096a(0x252)),_0x6dfb2b['to'](_0x5b096a(0x205),_0xf5916e=>_0x5b096a(0x244)+_0xf5916e),this[_0x5b096a(0x1ec)][_0x5b096a(0x1e5)]&&_0x5b096a(0x24a)],'data-suggestion-id':this[_0x5b096a(0x1f8)]['id'],'data-thread-id':this[_0x5b096a(0x1f8)][_0x5b096a(0x241)]['id'],'data-author-id':this[_0x5b096a(0x1f8)][_0x5b096a(0x1f4)]['id'],'tabindex':-0x1},'children':[{'tag':_0x5b096a(0x221),'attributes':{'class':[_0x5b096a(0x208),_0x5b096a(0x1ee)]},'children':[this[_0x5b096a(0x246)],{'tag':_0x5b096a(0x221),'attributes':{'class':[_0x5b096a(0x1ed),_0x5b096a(0x23b)]},'children':_0x351e39}]}]};return this[_0x5b096a(0x20e)]&&this[_0x5b096a(0x21f)]&&(_0x114433[_0x5b096a(0x21a)][_0x5b096a(0x20c)](this[_0x5b096a(0x20e)],this[_0x5b096a(0x21f)]),this[_0x5b096a(0x20e)][_0x5b096a(0x1eb)](_0x5b096a(0x1e9))['to'](this),this[_0x5b096a(0x20e)][_0x5b096a(0x1eb)](_0x5b096a(0x239))['to'](this),this[_0x5b096a(0x21f)][_0x5b096a(0x1eb)](_0x5b096a(0x1e9))['to'](this),this[_0x5b096a(0x21f)][_0x5b096a(0x1eb)](_0x5b096a(0x239))['to'](this)),_0x114433;}[_0xaeee6a(0x232)](){const _0x101e03=_0xaeee6a;super[_0x101e03(0x232)](),this[_0x101e03(0x251)]=this[_0x101e03(0x253)][_0x101e03(0x225)](_0x101e03(0x200)),this[_0x101e03(0x251)][_0x101e03(0x23d)]=this[_0x101e03(0x24c)],this['on'](_0x101e03(0x21b),(_0x1d993f,_0x5a0786,_0x117769)=>{const _0x12f409=_0x101e03;this[_0x12f409(0x251)][_0x12f409(0x23d)]=_0x117769;});}[_0xaeee6a(0x22f)](_0x14f13e,_0x122d7f,_0x56d5a0,_0xb85179,_0x2ad421){const _0x558f09=_0xaeee6a,_0x48f68d=new _0x585611(this[_0x558f09(0x1e8)]);return _0x48f68d[_0x558f09(0x1fe)]({'label':_0x14f13e,'icon':_0x122d7f,'tooltip':!0x0,'tooltipPosition':_0x2ad421}),_0x48f68d[_0x558f09(0x211)]({'attributes':{'class':_0x56d5a0}}),_0x48f68d['on'](_0x558f09(0x24b),()=>{const _0x70ff26=_0x558f09;this[_0x70ff26(0x203)](_0xb85179,this[_0x70ff26(0x1f8)]['id']);}),_0x48f68d;}[_0xaeee6a(0x1f7)](){const _0x5249d6=_0xaeee6a;return _0x5249d6(0x217)===this[_0x5249d6(0x1f8)][_0x5249d6(0x22d)][_0x5249d6(0x1fc)][_0x5249d6(0x222)]?_0x1fd9ec(this[_0x5249d6(0x1e8)],_0x5249d6(0x250)):_0x1fd9ec(this[_0x5249d6(0x1e8)],_0x5249d6(0x230));}[_0xaeee6a(0x226)](){const _0x651379=_0xaeee6a;return this[_0x651379(0x1f8)][_0x651379(0x22b)]?_0x651379(0x217)===this[_0x651379(0x1f8)][_0x651379(0x22d)][_0x651379(0x1fc)][_0x651379(0x222)]?_0x1fd9ec(this[_0x651379(0x1e8)],_0x651379(0x223),this[_0x651379(0x1f8)][_0x651379(0x247)][_0x651379(0x22e)]):_0x1fd9ec(this[_0x651379(0x1e8)],_0x651379(0x20f),this[_0x651379(0x1f8)][_0x651379(0x247)][_0x651379(0x22e)]):null;}}function ds(_0x14e6b6,_0x4fee5a){const _0xfa4b48=_0xaeee6a;let _0x4ec83c='';return _0x4ec83c+=_0x14e6b6[_0xfa4b48(0x220)]('*')[_0xfa4b48(0x212)]((_0x5b387c,_0x1cf681)=>_0x1cf681%0x2!=0x0?_0xfa4b48(0x1ff)+us(_0x5b387c)+_0xfa4b48(0x21d):us(_0x5b387c))[_0xfa4b48(0x20b)](''),_0x4fee5a&&(_0x4ec83c+=_0xfa4b48(0x1e7)+_0x4fee5a[_0xfa4b48(0x24d)]+_0xfa4b48(0x23e)+_0x4fee5a[_0xfa4b48(0x235)]+_0xfa4b48(0x224)),_0x4ec83c;}function us(_0x381199){const _0x1c8242=_0xaeee6a,_0x209a8c=document[_0x1c8242(0x23c)](_0x1c8242(0x1f2));return _0x209a8c[_0x1c8242(0x1f9)]=_0x381199,_0x209a8c[_0x1c8242(0x23d)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x301768,_0x3bdec3,_0x2f9d89){const t=_0x301768['t'];switch(_0x3bdec3){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',_0x2f9d89);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2f9d89);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2f9d89);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2f9d89);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2f9d89);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',_0x2f9d89);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2f9d89);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',_0x2f9d89);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2f9d89);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2f9d89);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2f9d89);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2f9d89);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2f9d89);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2f9d89);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2f9d89);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2f9d89);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2f9d89);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2f9d89);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2f9d89);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2f9d89);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2f9d89);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2f9d89);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2f9d89);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2f9d89);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2f9d89);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2f9d89);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2f9d89);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2f9d89);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2f9d89);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2f9d89);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'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2f9d89);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'},_0x2f9d89);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2f9d89);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2f9d89);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2f9d89);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'},_0x2f9d89);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 _0x3bdec3;}}
|
|
23
|
+
export function getTranslation(_0x4b0254,_0x213c4b,_0x4f2cb2){const t=_0x4b0254['t'];switch(_0x213c4b){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',_0x4f2cb2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4f2cb2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4f2cb2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4f2cb2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4f2cb2);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',_0x4f2cb2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4f2cb2);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',_0x4f2cb2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4f2cb2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4f2cb2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4f2cb2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4f2cb2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4f2cb2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4f2cb2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4f2cb2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4f2cb2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4f2cb2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4f2cb2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4f2cb2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4f2cb2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4f2cb2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4f2cb2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4f2cb2);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'},_0x4f2cb2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4f2cb2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4f2cb2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4f2cb2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4f2cb2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4f2cb2);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'},_0x4f2cb2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4f2cb2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4f2cb2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4f2cb2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4f2cb2);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'},_0x4f2cb2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4f2cb2);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'},_0x4f2cb2);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'},_0x4f2cb2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4f2cb2);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'},_0x4f2cb2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4f2cb2);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'},_0x4f2cb2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4f2cb2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4f2cb2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4f2cb2);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'},_0x4f2cb2);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 _0x213c4b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1c005a,_0x4f9f60){const _0x46a0be=_0x1d8c,_0x1eaf40=_0x1c005a();while(!![]){try{const _0x2cf0ba=-parseInt(_0x46a0be(0x1e1))/0x1+parseInt(_0x46a0be(0x1cc))/0x2+parseInt(_0x46a0be(0x1cf))/0x3*(parseInt(_0x46a0be(0x1df))/0x4)+parseInt(_0x46a0be(0x1ce))/0x5*(parseInt(_0x46a0be(0x1d5))/0x6)+parseInt(_0x46a0be(0x1c3))/0x7*(parseInt(_0x46a0be(0x1e4))/0x8)+parseInt(_0x46a0be(0x1d2))/0x9*(-parseInt(_0x46a0be(0x1c9))/0xa)+parseInt(_0x46a0be(0x1d4))/0xb;if(_0x2cf0ba===_0x4f9f60)break;else _0x1eaf40['push'](_0x1eaf40['shift']());}catch(_0x400e52){_0x1eaf40['push'](_0x1eaf40['shift']());}}}(_0x5cfa,0xeb775));export function normalizeDescription(_0x294c81){const _0x510f14=_0x1d8c;return Array[_0x510f14(0x1cd)](_0x294c81)||(_0x294c81=[_0x294c81]),_0x294c81[_0x510f14(0x1c6)](_0x5640d8=>{const _0x20c7ee=_0x510f14,_0x16ba8a=_0x5640d8[_0x20c7ee(0x1d0)][_0x20c7ee(0x1c4)](/\*/g,''),_0x3f330b=_0x5640d8[_0x20c7ee(0x1ca)]?_0x20c7ee(0x1bd)+_0x5640d8[_0x20c7ee(0x1ca)][_0x20c7ee(0x1c7)]+']':'';return'['+_0x5640d8[_0x20c7ee(0x1d9)]+']\x20'+_0x16ba8a+_0x3f330b;})[_0x510f14(0x1e0)](';\x20');}export function sortSuggestions(_0x27376f){const _0x58f5d1=_0x1d8c;return _0x27376f[_0x58f5d1(0x1bf)]((_0x232292,_0x44b55f)=>_0x58f5d1(0x1dc)==_0x232292[_0x58f5d1(0x1d9)]&&_0x58f5d1(0x1dc)!=_0x44b55f[_0x58f5d1(0x1d9)]?-0x1:_0x58f5d1(0x1dc)!=_0x232292[_0x58f5d1(0x1d9)]&&_0x58f5d1(0x1dc)==_0x44b55f[_0x58f5d1(0x1d9)]?0x1:0x0);}export function getSelectedSuggestions(_0x4ab570,_0x2d7327){const _0xbc81cf=_0x1d8c,_0x198241=Array[_0xbc81cf(0x1dd)](_0x4ab570[_0xbc81cf(0x1d7)]()),_0x3b0987=new Set();for(const _0x33830b of _0x2d7327)if(_0x33830b[_0xbc81cf(0x1d6)]){for(const _0x1ec922 of _0x198241)for(const _0x31cca7 of _0x33830b[_0xbc81cf(0x1d7)]())(_0x1ec922[_0xbc81cf(0x1d8)](_0x31cca7)||_0x4ab570[_0xbc81cf(0x1c5)]&&!_0x33830b[_0xbc81cf(0x1ba)]&&_0x33830b[_0xbc81cf(0x1c1)]&&_0x31cca7[_0xbc81cf(0x1b9)][_0xbc81cf(0x1db)](_0x1ec922[_0xbc81cf(0x1c2)]))&&_0x3b0987[_0xbc81cf(0x1d1)](_0x33830b);}return _0x3b0987;}function _0x1d8c(_0x1f1ef3,_0x4dd40b){const _0x5cfa12=_0x5cfa();return _0x1d8c=function(_0x1d8ca9,_0xdfb724){_0x1d8ca9=_0x1d8ca9-0x1b9;let _0x5a8774=_0x5cfa12[_0x1d8ca9];return _0x5a8774;},_0x1d8c(_0x1f1ef3,_0x4dd40b);}export function getRangesOfBlockGroups(_0x37e5e5,_0x523bc3){const _0x7781aa=_0x1d8c;let _0x4d200d,_0x3d4251=0x0;const _0x5eb0ea=[],_0x2e472c=_0x523bc3[_0x7781aa(0x1d3)];for(;_0x3d4251<_0x37e5e5[_0x7781aa(0x1be)];){const _0x2d0a40=_0x37e5e5[_0x3d4251],_0xf233b5=_0x37e5e5[_0x3d4251+0x1];_0x4d200d||(_0x4d200d=_0x523bc3[_0x7781aa(0x1e3)](_0x2d0a40)),co(_0x523bc3,_0x2d0a40,_0xf233b5)||(_0x5eb0ea[_0x7781aa(0x1de)](_0x523bc3[_0x7781aa(0x1c8)](_0x4d200d,_0x2e472c[_0x7781aa(0x1da)](_0x2d0a40)?_0x523bc3[_0x7781aa(0x1c0)](_0x2d0a40):_0x523bc3[_0x7781aa(0x1bb)](_0x2d0a40,_0x7781aa(0x1b9)))),_0x4d200d=null),_0x3d4251++;}return _0x5eb0ea;}function _0x5cfa(){const _0x80e5e4=['isMultiRange','createPositionAt','execute','\x20[color\x20','length','sort','createPositionAfter','next','start','4232697DdkYbu','replace','isCollapsed','map','value','createRange','60MPEbKX','color','splice','1601134iGxuia','isArray','15rWGsmT','177YcAZZR','content','add','2663217cOeasL','schema','322135isqDst','1805538BKfvGW','isInContent','getRanges','isIntersecting','type','isObject','isTouching','deletion','from','push','25556zaygin','join','1183638OrCXxz','change','createPositionBefore','24DGdqLP','end'];_0x5cfa=function(){return _0x80e5e4;};return _0x5cfa();}function co(_0x314804,_0x3dd2bd,_0x3ecfbd){const _0x438987=_0x1d8c;if(!_0x3ecfbd)return!0x1;const _0x540bb3=_0x314804[_0x438987(0x1c0)](_0x3dd2bd),_0x419b8a=_0x314804[_0x438987(0x1e3)](_0x3ecfbd);return _0x540bb3[_0x438987(0x1db)](_0x419b8a);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x30279f,_0x183eb6,_0x2ee47b){const _0x1636ff=_0x1d8c;for(;_0x2ee47b[_0x1636ff(0x1be)];){const _0x28018e=_0x2ee47b[_0x1636ff(0x1cb)](0x0,0x64);_0x30279f[_0x1636ff(0x1e2)](()=>{const _0x2a9958=_0x1636ff;for(const _0x328880 of _0x28018e)_0x328880[_0x2a9958(0x1d6)]&&_0x183eb6[_0x2a9958(0x1bc)](_0x328880['id']);});}}
|