@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240625.0 → 0.0.0-nightly-20240627.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/ar.po +42 -42
- package/lang/translations/cs.po +21 -21
- package/lang/translations/da.po +8 -8
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +8 -8
- package/lang/translations/et.po +16 -16
- package/lang/translations/fr.po +4 -4
- package/lang/translations/hi.po +3 -3
- package/lang/translations/hr.po +2 -2
- package/lang/translations/hu.po +18 -18
- package/lang/translations/lt.po +53 -53
- package/lang/translations/lv.po +36 -36
- package/lang/translations/nl.po +3 -3
- package/lang/translations/no.po +18 -18
- package/lang/translations/pl.po +7 -7
- package/lang/translations/pt.po +32 -32
- package/lang/translations/ro.po +37 -37
- package/lang/translations/ru.po +54 -54
- package/lang/translations/sk.po +3 -3
- package/lang/translations/sr.po +34 -34
- package/lang/translations/sv.po +17 -17
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +3 -3
- package/lang/translations/uk.po +54 -54
- package/lang/translations/zh-cn.po +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3f7b(){const _0x2bbeaf=['TrackChangesUI','_annotationViews','_destroyController','lowest','getJoined','registerAnnotation','isDirty','discardButton','comments.maxThreadTotalWeight','18sGKaLy','comments.editorConfig','1199345UaJmGz','editing','execute','plugins','actionView','stopListening','type','5hyNEbq','delete','Annotations','keys','_updateController','size','acceptAllSuggestions','getMarkerNames','_handleSuggestionControllerDelayed','298696cYZgac','_refreshActiveMarkers','_suggestionToController','view','731214XwCCZi','activeMarkers','EditorAnnotations','menu','isOn','trackChanges.disableComments','SuggestionThreadView','Discard\x20all\x20selected\x20suggestions','descriptionFactory','delegate','getByInnerView','comments.maxCommentCharsWhenCollapsed','CommentView','get','arrowView','addSourceCollector','from','suggestionUnloaded','reduce','mainView','Discard\x20all\x20suggestions','switchbutton','locale','filter','comments.maxCommentsWhenCollapsed','button','getRanges','commandName','getSuggestion','menuitem','menuBar:trackChanges','CommentsRepository','_viewToController','discardAllSuggestions','createCommentThreadController','activeAnnotations','suggestion-','listenTo','Track\x20changes','add','_createToolbarButton','separator','menuitemcheckbox','children','requires','149598MoiGyS','destroy','CommentsUI','hasSuggestion','_bindAnnotationToEditors','227402dGIpgA','toMany','_handleControllerBuffer','innerView','clear','refreshSelectedViews','change:activeAnnotations','discardSelectedSuggestions','panelView','_disableComments','has','suggestionChanged','set','descriptionParts','bind','length','createAnnotation','remove','_initializeController','trackChanges','Accept\x20all\x20suggestions','commentThread','isEnabled','acceptButton','value','buttonView','push','config','getMarkers','220440shwwTC','init','model','isMultiRange','trackChanges.SuggestionThreadView','focus','define','_unbindEditors','previous','some','suggestionLoaded','551312uUbuwC','change:previous','source','isInContent','pluginName','createAnnotationView','Accept\x20all\x20selected\x20suggestions','componentFactory','_createMenuBarMenu','_addUIComponentsToFactory','commands','head','comments','unbind','acceptSelectedSuggestions','editor','items','TrackChangesEditing','getFirstRange','values','getDescriptions','addComment','getAllAdjacentSuggestions'];_0x3f7b=function(){return _0x2bbeaf;};return _0x3f7b();}const _0x7971eb=_0x3862;(function(_0x676355,_0x5e3414){const _0x5d61c8=_0x3862,_0x41ee9f=_0x676355();while(!![]){try{const _0x565299=parseInt(_0x5d61c8(0x189))/0x1+-parseInt(_0x5d61c8(0x18e))/0x2+parseInt(_0x5d61c8(0x1ab))/0x3+parseInt(_0x5d61c8(0x126))/0x4+-parseInt(_0x5d61c8(0x14f))/0x5*(-parseInt(_0x5d61c8(0x15c))/0x6)+-parseInt(_0x5d61c8(0x148))/0x7+parseInt(_0x5d61c8(0x158))/0x8*(-parseInt(_0x5d61c8(0x146))/0x9);if(_0x565299===_0x5e3414)break;else _0x41ee9f['push'](_0x41ee9f['shift']());}catch(_0x52bab8){_0x41ee9f['push'](_0x41ee9f['shift']());}}}(_0x3f7b,0x1e0b9));import{Plugin as _0x55dbf3}from'ckeditor5/src/core.js';function _0x3862(_0x57964a,_0x382531){const _0x3f7b46=_0x3f7b();return _0x3862=function(_0x3862e0,_0x46dc5e){_0x3862e0=_0x3862e0-0x125;let _0xa43cee=_0x3f7b46[_0x3862e0];return _0xa43cee;},_0x3862(_0x57964a,_0x382531);}import{Collection as _0x256e81}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x514612,createDropdown as _0x303e86,ListSeparatorView as _0x479d23,MenuBarMenuView as _0x25b729,MenuBarMenuListView as _0x2ef346,MenuBarMenuListItemView as _0x2cd69a,MenuBarMenuListItemButtonView as _0x441c24,SplitButtonView as _0x1fa444,ViewModel as _0x30f4ba}from'ckeditor5/src/ui.js';import{Users as _0xeb5567,getDateTimeFormatter as _0x5c127e,getAllMarkersDomElementsSorted as _0x38b42e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xb94a6 from'./trackchangesediting.js';import _0x10a28b from'./ui/suggestioncontroller.js';import _0x3e2bc7 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x32282f}from'./utils/common-translations.js';import _0x172f4b from'../theme/icons/track-changes.svg';export default class d extends _0x55dbf3{static get[_0x7971eb(0x188)](){const _0x4bdd91=_0x7971eb;return[_0xb94a6,_0xeb5567,_0x4bdd91(0x17b),_0x4bdd91(0x151),_0x4bdd91(0x15e)];}static get[_0x7971eb(0x12a)](){const _0x3d3cdb=_0x7971eb;return _0x3d3cdb(0x13d);}constructor(_0x26a98c){const _0x3c7ae7=_0x7971eb;super(_0x26a98c),this[_0x3c7ae7(0x15a)]=new Map(),this[_0x3c7ae7(0x17c)]=new Map(),this[_0x3c7ae7(0x13e)]=new Map(),this[_0x3c7ae7(0x190)]=new Map();const _0x3043dc=this[_0x3c7ae7(0x135)][_0x3c7ae7(0x1a9)];_0x3043dc[_0x3c7ae7(0x1b1)](_0x3c7ae7(0x1af),_0x3e2bc7),_0x3043dc[_0x3c7ae7(0x1b1)](_0x3c7ae7(0x161),!0x1),this[_0x3c7ae7(0x197)]=_0x3043dc[_0x3c7ae7(0x169)](_0x3c7ae7(0x161));}[_0x7971eb(0x157)](_0x569d23,_0x3cd56f){const _0x5a2dcc=_0x7971eb;0x0===this[_0x5a2dcc(0x190)][_0x5a2dcc(0x154)]&&setTimeout(()=>{const _0x47e4a9=_0x5a2dcc;for(const [_0x1d6e5f,_0x23d3e4]of this[_0x47e4a9(0x190)]){const _0x1a5f6c=this[_0x47e4a9(0x15a)][_0x47e4a9(0x198)](_0x1d6e5f);_0x1a5f6c||_0x23d3e4?_0x1a5f6c&&_0x23d3e4&&this[_0x47e4a9(0x13f)](_0x1d6e5f):this[_0x47e4a9(0x1a0)](_0x1d6e5f);}this[_0x47e4a9(0x190)][_0x47e4a9(0x192)](),this[_0x47e4a9(0x135)][_0x47e4a9(0x14b)][_0x47e4a9(0x169)](_0x47e4a9(0x15e))[_0x47e4a9(0x193)](),this[_0x47e4a9(0x159)]();},0xa),this[_0x5a2dcc(0x190)][_0x5a2dcc(0x19a)](_0x569d23,_0x3cd56f);}[_0x7971eb(0x1ac)](){const _0x1bfeea=_0x7971eb,_0x103917=this[_0x1bfeea(0x135)],_0x582894=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x137)),_0x4673e1=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x151)),_0x2e4d1b=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x15e)),_0x5bbd7b=_0x103917[_0x1bfeea(0x14b)][_0x1bfeea(0x169)](_0x1bfeea(0x17b));this[_0x1bfeea(0x12f)](),_0x2e4d1b[_0x1bfeea(0x16b)](()=>{const _0x26ded6=_0x1bfeea,_0x4e3293=[];for(const [_0x4296aa,_0x9f8db4]of Array[_0x26ded6(0x16c)](this[_0x26ded6(0x15a)])){const _0x4985d4=_0x4296aa[_0x26ded6(0x13c)](),_0x48f58c=[];for(const _0x2f995e of _0x4985d4){if(!_0x2f995e[_0x26ded6(0x129)])continue;if(_0x2f995e[_0x26ded6(0x1ae)]){_0x48f58c[_0x26ded6(0x1a8)](..._0x2f995e[_0x26ded6(0x176)]());continue;}const _0x1a5693=_0x2f995e[_0x26ded6(0x138)]();if(_0x48f58c[_0x26ded6(0x19d)]>0x0){const _0x2cba50=_0x48f58c[0x0][_0x26ded6(0x141)](_0x1a5693);if(_0x2cba50){_0x48f58c[0x0]=_0x2cba50;continue;}}_0x48f58c[_0x26ded6(0x1a8)](_0x1a5693);}_0x4e3293[_0x26ded6(0x1a8)]([_0x9f8db4[_0x26ded6(0x15b)],_0x48f58c]);}return _0x4e3293;}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x125),(_0xa9331,_0xa19fc)=>{const _0x180dc6=_0x1bfeea;this[_0x180dc6(0x181)](_0xa19fc,_0x180dc6(0x127),(_0x552dfe,_0x39a22e,_0x3c82dd,_0x13847f)=>{const _0x549e17=_0x180dc6;_0xa19fc[_0x549e17(0x129)]&&(null==_0x3c82dd?(this[_0x549e17(0x153)](_0x13847f[_0x549e17(0x131)]),this[_0x549e17(0x157)](_0xa19fc,!0x1)):(this[_0x549e17(0x153)](_0x3c82dd[_0x549e17(0x131)]),null==_0x13847f&&this[_0x549e17(0x157)](_0xa19fc,!0x0)));}),null!==_0xa19fc[_0x180dc6(0x1b3)]?this[_0x180dc6(0x153)](_0xa19fc[_0x180dc6(0x131)]):this[_0x180dc6(0x157)](_0xa19fc,!0x1);}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x16d),(_0x561b93,_0x54e91d,_0x514495)=>{const _0x324ed6=_0x1bfeea;this[_0x324ed6(0x14d)](_0x54e91d,_0x324ed6(0x127)),this[_0x324ed6(0x190)][_0x324ed6(0x150)](_0x54e91d),this[_0x324ed6(0x15a)][_0x324ed6(0x198)](_0x54e91d)&&this[_0x324ed6(0x13f)](_0x54e91d),_0x514495&&this[_0x324ed6(0x153)](_0x514495[_0x324ed6(0x131)]);}),this[_0x1bfeea(0x181)](_0x582894,_0x1bfeea(0x199),(_0x425136,_0xa2bbc6)=>{const _0x3c87de=_0x1bfeea;this[_0x3c87de(0x153)](_0xa2bbc6);}),this[_0x1bfeea(0x181)](_0x4673e1,_0x1bfeea(0x194),()=>{const _0x1cb666=_0x1bfeea;this[_0x1cb666(0x159)]();}),this[_0x1bfeea(0x181)](_0x5bbd7b,_0x1bfeea(0x13b),(_0x1236f5,{threadId:_0x2462d6,isFromAdapter:_0x2ce3ef})=>{const _0x50f51e=_0x1bfeea;if(_0x2ce3ef||!_0x582894[_0x50f51e(0x18c)](_0x2462d6))return;const _0x17d662=_0x582894[_0x50f51e(0x178)](_0x2462d6);this[_0x50f51e(0x15a)][_0x50f51e(0x169)](_0x17d662)[_0x50f51e(0x15b)][_0x50f51e(0x1b0)]();},{'priority':_0x1bfeea(0x140)});}[_0x7971eb(0x159)](){const _0x509f67=_0x7971eb,_0x5d9701=this[_0x509f67(0x135)][_0x509f67(0x14b)][_0x509f67(0x169)](_0x509f67(0x151)),_0x1f5480=this[_0x509f67(0x135)][_0x509f67(0x14b)][_0x509f67(0x169)](_0x509f67(0x137)),_0x3b2450=Array[_0x509f67(0x16c)](_0x5d9701[_0x509f67(0x17f)],_0x49cf78=>_0x49cf78[_0x509f67(0x191)])[_0x509f67(0x173)](_0x27e044=>this[_0x509f67(0x17c)][_0x509f67(0x198)](_0x27e044)),_0x3fce00=[];for(const _0x1df190 of _0x3b2450){const _0x3c4a7e=this[_0x509f67(0x17c)][_0x509f67(0x169)](_0x1df190)[_0x509f67(0x1ad)][_0x509f67(0x13c)]();_0x3fce00[_0x509f67(0x1a8)](..._0x3c4a7e[_0x509f67(0x16e)]((_0x3b3453,_0x3c6597)=>[..._0x3b3453,..._0x3c6597[_0x509f67(0x156)]()],[]));}_0x1f5480[_0x509f67(0x15d)]=_0x3fce00;}[_0x7971eb(0x12f)](){const _0x274932=_0x7971eb,_0x224a04=this[_0x274932(0x135)],_0x58f442=_0x224a04[_0x274932(0x172)],_0x20bb46=_0x32282f(_0x58f442,_0x274932(0x182)),_0xe10829=new _0x256e81([{'type':_0x274932(0x171),'model':new _0x30f4ba({'withText':!0x0,'label':_0x20bb46,'commandName':_0x274932(0x1a1),'role':_0x274932(0x186)})},{'type':_0x274932(0x185)},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x1a2)),'commandName':_0x274932(0x155),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x12c)),'commandName':_0x274932(0x134),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x170)),'commandName':_0x274932(0x17d),'role':_0x274932(0x179)})},{'type':_0x274932(0x175),'model':new _0x30f4ba({'withText':!0x0,'label':_0x32282f(_0x58f442,_0x274932(0x163)),'commandName':_0x274932(0x195),'role':_0x274932(0x179)})}]);for(const _0x553e89 of _0xe10829)if(ae(_0x553e89)){const _0x9d875d=_0x224a04[_0x274932(0x130)][_0x274932(0x169)](_0x553e89[_0x274932(0x1ad)][_0x274932(0x177)]);_0x553e89[_0x274932(0x1ad)][_0x274932(0x19c)](_0x274932(0x160),_0x274932(0x1a4))['to'](_0x9d875d,_0x274932(0x1a6),_0x274932(0x1a4));}_0x224a04['ui'][_0x274932(0x12d)][_0x274932(0x183)](_0x274932(0x1a1),_0x333db3=>this[_0x274932(0x184)](_0x333db3,_0xe10829,_0x20bb46)),_0x224a04['ui'][_0x274932(0x12d)][_0x274932(0x183)](_0x274932(0x17a),_0x427efc=>this[_0x274932(0x12e)](_0x427efc,_0xe10829,_0x20bb46));}[_0x7971eb(0x184)](_0x5a1043,_0x252b38,_0x1a1ba1){const _0x4db4d5=_0x7971eb,_0xf5b258=_0x303e86(_0x5a1043,_0x1fa444),_0x29a9d0=this[_0x4db4d5(0x135)][_0x4db4d5(0x130)][_0x4db4d5(0x169)](_0x4db4d5(0x1a1));_0xf5b258[_0x4db4d5(0x1a7)][_0x4db4d5(0x19a)]({'tooltip':_0x1a1ba1,'label':_0x1a1ba1,'icon':_0x172f4b}),_0xf5b258[_0x4db4d5(0x1a7)][_0x4db4d5(0x19c)](_0x4db4d5(0x160))['to'](_0x29a9d0,_0x4db4d5(0x1a6)),_0xf5b258[_0x4db4d5(0x1a7)]['on'](_0x4db4d5(0x14a),()=>{const _0x2c332f=_0x4db4d5;_0x29a9d0[_0x2c332f(0x14a)](),this[_0x2c332f(0x135)][_0x2c332f(0x149)][_0x2c332f(0x15b)][_0x2c332f(0x1b0)]();}),_0x514612(_0xf5b258,_0x252b38,{'role':_0x4db4d5(0x15f)});const _0x1993b6=[];for(const _0x174fb4 of _0x252b38)ae(_0x174fb4)&&_0x1993b6[_0x4db4d5(0x1a8)](this[_0x4db4d5(0x135)][_0x4db4d5(0x130)][_0x4db4d5(0x169)](_0x174fb4[_0x4db4d5(0x1ad)][_0x4db4d5(0x177)]));const _0x4be09c=_0xf5b258[_0x4db4d5(0x1a7)];return _0x4be09c[_0x4db4d5(0x14c)][_0x4db4d5(0x133)](_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x16a)][_0x4db4d5(0x133)](_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x14c)][_0x4db4d5(0x19c)](_0x4db4d5(0x1a4))['to'](_0x29a9d0,_0x4db4d5(0x1a4)),_0x4be09c[_0x4db4d5(0x16a)][_0x4db4d5(0x19c)](_0x4db4d5(0x1a4))[_0x4db4d5(0x18f)](_0x1993b6,_0x4db4d5(0x1a4),(..._0x1f0287)=>_0x1f0287[_0x4db4d5(0x1b4)](_0x1d5064=>_0x1d5064)),_0xf5b258['on'](_0x4db4d5(0x14a),_0x3aadfd=>{const _0xbd45c=_0x4db4d5;this[_0xbd45c(0x135)][_0xbd45c(0x14a)](_0x3aadfd[_0xbd45c(0x128)][_0xbd45c(0x177)]),this[_0xbd45c(0x135)][_0xbd45c(0x149)][_0xbd45c(0x15b)][_0xbd45c(0x1b0)]();}),_0xf5b258;}[_0x7971eb(0x12e)](_0x33819d,_0x210275,_0x2ddd1e){const _0x42d793=_0x7971eb,_0x1d22da=new _0x25b729(_0x33819d),_0xbdd473=this[_0x42d793(0x135)][_0x42d793(0x130)][_0x42d793(0x169)](_0x42d793(0x1a1));_0x1d22da[_0x42d793(0x1a7)][_0x42d793(0x19a)]({'label':_0x2ddd1e,'icon':_0x172f4b});const _0x289a4a=new _0x2ef346(_0x33819d);for(const _0x37992c of _0x210275){if(_0x42d793(0x185)==_0x37992c[_0x42d793(0x14e)]){_0x289a4a[_0x42d793(0x136)][_0x42d793(0x183)](new _0x479d23(_0x33819d));continue;}const _0x1b9d8b=new _0x2cd69a(_0x33819d,_0x1d22da),_0x20cb2c=new _0x441c24(_0x33819d),_0x5e87fd=_0x37992c[_0x42d793(0x1ad)];_0x20cb2c[_0x42d793(0x19c)](...Object[_0x42d793(0x152)](_0x5e87fd))['to'](_0x5e87fd),_0x20cb2c[_0x42d793(0x165)](_0x42d793(0x14a))['to'](_0x1d22da),_0x20cb2c['on'](_0x42d793(0x14a),()=>{const _0x2a12c8=_0x42d793;this[_0x2a12c8(0x135)][_0x2a12c8(0x14a)](_0x5e87fd[_0x2a12c8(0x177)]),this[_0x2a12c8(0x135)][_0x2a12c8(0x149)][_0x2a12c8(0x15b)][_0x2a12c8(0x1b0)]();}),_0x1b9d8b[_0x42d793(0x187)][_0x42d793(0x183)](_0x20cb2c),_0x289a4a[_0x42d793(0x136)][_0x42d793(0x183)](_0x1b9d8b);}return _0x1d22da[_0x42d793(0x19c)](_0x42d793(0x1a4))['to'](_0xbdd473,_0x42d793(0x1a4)),_0x1d22da[_0x42d793(0x196)][_0x42d793(0x187)][_0x42d793(0x183)](_0x289a4a),_0x1d22da;}[_0x7971eb(0x1a0)](_0x56909f){const _0x4494d8=_0x7971eb,_0x181972=this[_0x4494d8(0x135)],_0x14b56f=_0x181972[_0x4494d8(0x1a9)],_0x53f131=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x151)),_0x2ca852=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x17b)),_0x23344c=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x15e)),_0x2d248a=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0xeb5567)['me'],_0x23b66e=_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x1a1))[_0x4494d8(0x162)],{CommentsListView:_0x3b2b37,CommentThreadInputView:_0x1a1a45}=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x18b));let _0x5c3e09,_0xd76dd9;this[_0x4494d8(0x13e)][_0x4494d8(0x198)](_0x56909f['id'])?(_0xd76dd9=this[_0x4494d8(0x13e)][_0x4494d8(0x169)](_0x56909f['id']),_0x5c3e09=_0xd76dd9[_0x4494d8(0x16f)]):(_0x5c3e09=new _0x23b66e(_0x181972[_0x4494d8(0x172)],_0x56909f,_0x2d248a,{'disableComments':this[_0x4494d8(0x197)],'editorConfig':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x147)),'maxCommentsWhenCollapsed':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x174)),'maxThreadTotalWeight':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x145)),'maxCommentCharsWhenCollapsed':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x167)),'formatDateTime':_0x5c127e(_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x172))),'CommentView':_0x14b56f[_0x4494d8(0x169)](_0x4494d8(0x132))[_0x4494d8(0x168)],'CommentsListView':_0x3b2b37,'CommentThreadInputView':_0x1a1a45}),_0x5c3e09[_0x4494d8(0x1a5)]['on'](_0x4494d8(0x14a),()=>{const _0x58084c=_0x4494d8;_0x181972[_0x58084c(0x149)][_0x58084c(0x15b)][_0x58084c(0x1b0)]();}),_0x5c3e09[_0x4494d8(0x144)]['on'](_0x4494d8(0x14a),()=>{const _0xc90225=_0x4494d8;_0x181972[_0xc90225(0x149)][_0xc90225(0x15b)][_0xc90225(0x1b0)]();}),_0xd76dd9=_0x53f131[_0x4494d8(0x12b)](this[_0x4494d8(0x135)][_0x4494d8(0x172)],_0x5c3e09),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x143))['to'](_0x5c3e09,_0x4494d8(0x143)),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x19d))['to'](_0x5c3e09),_0xd76dd9[_0x4494d8(0x19c)](_0x4494d8(0x14e))['to'](_0x5c3e09,_0x4494d8(0x14e),_0x338900=>_0x4494d8(0x180)+_0x338900),this[_0x4494d8(0x13e)][_0x4494d8(0x19a)](_0x56909f['id'],_0xd76dd9));const _0x4aeeeb=_0x2ca852[_0x4494d8(0x17e)](_0x56909f[_0x4494d8(0x1a3)],_0x5c3e09),_0xa37a5c=new _0x10a28b(_0x181972,_0x56909f,_0x5c3e09,_0x4aeeeb),_0x1940d9=_0x56909f[_0x4494d8(0x13c)]()[_0x4494d8(0x173)](_0x5c8104=>_0x5c8104[_0x4494d8(0x129)]);_0x5c3e09[_0x4494d8(0x19b)]=_0x181972[_0x4494d8(0x14b)][_0x4494d8(0x169)](_0x4494d8(0x137))[_0x4494d8(0x164)][_0x4494d8(0x13a)](_0x1940d9),this[_0x4494d8(0x15a)][_0x4494d8(0x19a)](_0x56909f,_0xa37a5c),this[_0x4494d8(0x17c)][_0x4494d8(0x19a)](_0x5c3e09,_0xa37a5c);const _0x554e82=_0x53f131[_0x4494d8(0x19e)]({'view':_0xd76dd9,'target':()=>{const _0x1ac13e=_0x4494d8,_0x5a0729=[],_0x3ea925=_0x56909f[_0x1ac13e(0x13c)]()[_0x1ac13e(0x173)](_0x4c66f9=>_0x4c66f9[_0x1ac13e(0x129)]);for(const _0x1440df of _0x3ea925)_0x5a0729[_0x1ac13e(0x1a8)](..._0x1440df[_0x1ac13e(0x1aa)]());return _0x38b42e(_0x181972[_0x1ac13e(0x149)],_0x5a0729);},'type':()=>_0x4494d8(0x180)+_0xa37a5c[_0x4494d8(0x15b)][_0x4494d8(0x14e)]});_0x2ca852[_0x4494d8(0x18d)](_0x5c3e09,_0x554e82),_0x53f131[_0x4494d8(0x183)](_0x554e82),_0x23344c[_0x4494d8(0x142)](_0x554e82);}[_0x7971eb(0x13f)](_0x4e47f0){const _0x1cb4b8=_0x7971eb,_0x29f094=this[_0x1cb4b8(0x135)][_0x1cb4b8(0x14b)][_0x1cb4b8(0x169)](_0x1cb4b8(0x17b)),_0x13743a=this[_0x1cb4b8(0x135)][_0x1cb4b8(0x14b)][_0x1cb4b8(0x169)](_0x1cb4b8(0x151)),_0x18a3dc=this[_0x1cb4b8(0x15a)][_0x1cb4b8(0x169)](_0x4e47f0),_0x1c5467=_0x18a3dc[_0x1cb4b8(0x15b)],_0x3ca5cf=_0x13743a[_0x1cb4b8(0x166)](_0x1c5467);_0x29f094[_0x1cb4b8(0x1b2)](_0x1c5467),_0x3ca5cf&&_0x13743a[_0x1cb4b8(0x19f)](_0x3ca5cf),this[_0x1cb4b8(0x15a)][_0x1cb4b8(0x150)](_0x4e47f0),this[_0x1cb4b8(0x17c)][_0x1cb4b8(0x150)](_0x1c5467),_0x18a3dc[_0x1cb4b8(0x18a)]();}[_0x7971eb(0x153)](_0x2ea6e1){const _0x25c95e=_0x7971eb;if(!_0x2ea6e1[_0x25c95e(0x129)]||!this[_0x25c95e(0x15a)][_0x25c95e(0x198)](_0x2ea6e1))return;const _0x11e405=this[_0x25c95e(0x135)][_0x25c95e(0x14b)][_0x25c95e(0x169)](_0x25c95e(0x137)),_0x11e3f=this[_0x25c95e(0x15a)][_0x25c95e(0x169)](_0x2ea6e1),_0x30722e=_0x2ea6e1[_0x25c95e(0x13c)]();_0x11e3f[_0x25c95e(0x15b)][_0x25c95e(0x19b)]=_0x11e405[_0x25c95e(0x164)][_0x25c95e(0x13a)](_0x30722e);}[_0x7971eb(0x18a)](){const _0x41de71=_0x7971eb;for(const _0x36fbdd of this[_0x41de71(0x15a)][_0x41de71(0x152)]())this[_0x41de71(0x13f)](_0x36fbdd);for(const _0x1c9420 of this[_0x41de71(0x13e)][_0x41de71(0x139)]())_0x1c9420[_0x41de71(0x16f)][_0x41de71(0x18a)]();super[_0x41de71(0x18a)]();}}function ae(_0x27624e){const _0x57299b=_0x7971eb;return _0x57299b(0x1ad)in _0x27624e;}
|
|
23
|
+
const _0x157ec2=_0x28f1;(function(_0x1344b9,_0x51a26c){const _0x2e1d2a=_0x28f1,_0x120b62=_0x1344b9();while(!![]){try{const _0x5a1cb8=parseInt(_0x2e1d2a(0x1c8))/0x1+-parseInt(_0x2e1d2a(0x1c7))/0x2+-parseInt(_0x2e1d2a(0x1e5))/0x3+-parseInt(_0x2e1d2a(0x1b6))/0x4+-parseInt(_0x2e1d2a(0x1d2))/0x5*(-parseInt(_0x2e1d2a(0x18d))/0x6)+parseInt(_0x2e1d2a(0x174))/0x7+parseInt(_0x2e1d2a(0x168))/0x8;if(_0x5a1cb8===_0x51a26c)break;else _0x120b62['push'](_0x120b62['shift']());}catch(_0x3c7460){_0x120b62['push'](_0x120b62['shift']());}}}(_0x4662,0x1ce19));import{Plugin as _0x4d05a7}from'ckeditor5/src/core.js';function _0x28f1(_0x15ca00,_0x40e64f){const _0x466299=_0x4662();return _0x28f1=function(_0x28f179,_0x4ddb89){_0x28f179=_0x28f179-0x15f;let _0x3ee680=_0x466299[_0x28f179];return _0x3ee680;},_0x28f1(_0x15ca00,_0x40e64f);}import{Collection as _0xa2fae4}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2b9b6f,createDropdown as _0x586741,ListSeparatorView as _0x596241,MenuBarMenuView as _0x373ff1,MenuBarMenuListView as _0x5752dd,MenuBarMenuListItemView as _0x40ea8c,MenuBarMenuListItemButtonView as _0x382623,SplitButtonView as _0x31827d,ViewModel as _0x4c0ec8}from'ckeditor5/src/ui.js';import{Users as _0x450532,getDateTimeFormatter as _0x4964f9,getAllMarkersDomElementsSorted as _0x244dae}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2d5c4b from'./trackchangesediting.js';function _0x4662(){const _0x214ba6=['comments.maxCommentsWhenCollapsed','config','reduce','getJoined','Annotations','listenTo','689187rWzbiw','_destroyController','plugins','isOn','editor','type','_createToolbarButton','bind','menuBar:trackChanges','panelView','_refreshActiveMarkers','getFirstRange','addSourceCollector','CommentsRepository','remove','activeMarkers','previous','length','383312tXuPbH','acceptSelectedSuggestions','componentFactory','getByInnerView','push','refreshSelectedViews','buttonView','menu','mainView','head','source','getMarkerNames','713153GzNcKD','unbind','change:previous','comments','Accept\x20all\x20selected\x20suggestions','items','acceptButton','discardSelectedSuggestions','filter','innerView','comments.maxCommentCharsWhenCollapsed','children','_suggestionToController','isEnabled','addComment','destroy','keys','button','commandName','createAnnotationView','discardAllSuggestions','change:activeAnnotations','get','_viewToController','delegate','134574wgfXgv','trackChanges.SuggestionThreadView','Accept\x20all\x20suggestions','descriptionParts','editing','define','getDescriptions','CommentsUI','size','activeAnnotations','value','some','Discard\x20all\x20selected\x20suggestions','getMarkers','isMultiRange','delete','pluginName','getRanges','commands','suggestionChanged','has','comments.maxThreadTotalWeight','trackChanges','_handleControllerBuffer','execute','switchbutton','menuitemcheckbox','lowest','_handleSuggestionControllerDelayed','hasSuggestion','_addUIComponentsToFactory','_bindAnnotationToEditors','commentThread','stopListening','_initializeController','suggestionUnloaded','SuggestionThreadView','_updateController','comments.editorConfig','getSuggestion','getAllAdjacentSuggestions','806168eUuKGG','menuitem','set','add','descriptionFactory','_unbindEditors','actionView','discardButton','acceptAllSuggestions','separator','init','requires','_annotationViews','isDirty','EditorAnnotations','clear','values','37484CGZBRb','216656mjVQNK','suggestion-','isInContent','from','TrackChangesUI','model','_disableComments','createCommentThreadController','suggestionLoaded','focus','45gMTwiu','toMany','Discard\x20all\x20suggestions','_createMenuBarMenu','locale','createAnnotation','registerAnnotation','view','Track\x20changes','TrackChangesEditing','CommentView','trackChanges.disableComments','arrowView'];_0x4662=function(){return _0x214ba6;};return _0x4662();}import _0x32750a from'./ui/suggestioncontroller.js';import _0x1c624d from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x596eb9}from'./utils/common-translations.js';import _0x1a2416 from'../theme/icons/track-changes.svg';export default class d extends _0x4d05a7{static get[_0x157ec2(0x1c1)](){const _0x1f6bd1=_0x157ec2;return[_0x2d5c4b,_0x450532,_0x1f6bd1(0x163),_0x1f6bd1(0x1e3),_0x1f6bd1(0x1c4)];}static get[_0x157ec2(0x19d)](){const _0x4e7f71=_0x157ec2;return _0x4e7f71(0x1cc);}constructor(_0xc34aa5){const _0x17c021=_0x157ec2;super(_0xc34aa5),this[_0x17c021(0x180)]=new Map(),this[_0x17c021(0x18b)]=new Map(),this[_0x17c021(0x1c2)]=new Map(),this[_0x17c021(0x1a4)]=new Map();const _0x1fdab4=this[_0x17c021(0x1e9)][_0x17c021(0x1e0)];_0x1fdab4[_0x17c021(0x192)](_0x17c021(0x18e),_0x1c624d),_0x1fdab4[_0x17c021(0x192)](_0x17c021(0x1dd),!0x1),this[_0x17c021(0x1ce)]=_0x1fdab4[_0x17c021(0x18a)](_0x17c021(0x1dd));}[_0x157ec2(0x1a9)](_0x341232,_0x118718){const _0x261e52=_0x157ec2;0x0===this[_0x261e52(0x1a4)][_0x261e52(0x195)]&&setTimeout(()=>{const _0x4a521d=_0x261e52;for(const [_0x4f598a,_0x420001]of this[_0x4a521d(0x1a4)]){const _0x1c5bc3=this[_0x4a521d(0x180)][_0x4a521d(0x1a1)](_0x4f598a);_0x1c5bc3||_0x420001?_0x1c5bc3&&_0x420001&&this[_0x4a521d(0x1e6)](_0x4f598a):this[_0x4a521d(0x1af)](_0x4f598a);}this[_0x4a521d(0x1a4)][_0x4a521d(0x1c5)](),this[_0x4a521d(0x1e9)][_0x4a521d(0x1e7)][_0x4a521d(0x18a)](_0x4a521d(0x1c4))[_0x4a521d(0x16d)](),this[_0x4a521d(0x160)]();},0xa),this[_0x261e52(0x1a4)][_0x261e52(0x1b8)](_0x341232,_0x118718);}[_0x157ec2(0x1c0)](){const _0x56df1d=_0x157ec2,_0x5e6c26=this[_0x56df1d(0x1e9)],_0x351cf2=_0x5e6c26[_0x56df1d(0x1e7)][_0x56df1d(0x18a)](_0x56df1d(0x1db)),_0x2904eb=_0x5e6c26[_0x56df1d(0x1e7)][_0x56df1d(0x18a)](_0x56df1d(0x1e3)),_0x18c4fd=_0x5e6c26[_0x56df1d(0x1e7)][_0x56df1d(0x18a)](_0x56df1d(0x1c4)),_0x2622e7=_0x5e6c26[_0x56df1d(0x1e7)][_0x56df1d(0x18a)](_0x56df1d(0x163));this[_0x56df1d(0x1ab)](),_0x18c4fd[_0x56df1d(0x162)](()=>{const _0x27d756=_0x56df1d,_0x3a007a=[];for(const [_0x150bb9,_0x5182e4]of Array[_0x27d756(0x1cb)](this[_0x27d756(0x180)])){const _0x19e805=_0x150bb9[_0x27d756(0x1b5)](),_0x450f11=[];for(const _0x8e1043 of _0x19e805){if(!_0x8e1043[_0x27d756(0x1ca)])continue;if(_0x8e1043[_0x27d756(0x19b)]){_0x450f11[_0x27d756(0x16c)](..._0x8e1043[_0x27d756(0x19e)]());continue;}const _0x28ca04=_0x8e1043[_0x27d756(0x161)]();if(_0x450f11[_0x27d756(0x167)]>0x0){const _0x1487a5=_0x450f11[0x0][_0x27d756(0x1e2)](_0x28ca04);if(_0x1487a5){_0x450f11[0x0]=_0x1487a5;continue;}}_0x450f11[_0x27d756(0x16c)](_0x28ca04);}_0x3a007a[_0x27d756(0x16c)]([_0x5182e4[_0x27d756(0x1d9)],_0x450f11]);}return _0x3a007a;}),this[_0x56df1d(0x1e4)](_0x351cf2,_0x56df1d(0x1d0),(_0x4e77dd,_0x3f2c32)=>{const _0x5311c6=_0x56df1d;this[_0x5311c6(0x1e4)](_0x3f2c32,_0x5311c6(0x176),(_0x1b6d83,_0x25d909,_0x28cc5b,_0x154689)=>{const _0x38795b=_0x5311c6;_0x3f2c32[_0x38795b(0x1ca)]&&(null==_0x28cc5b?(this[_0x38795b(0x1b2)](_0x154689[_0x38795b(0x171)]),this[_0x38795b(0x1a9)](_0x3f2c32,!0x1)):(this[_0x38795b(0x1b2)](_0x28cc5b[_0x38795b(0x171)]),null==_0x154689&&this[_0x38795b(0x1a9)](_0x3f2c32,!0x0)));}),null!==_0x3f2c32[_0x5311c6(0x166)]?this[_0x5311c6(0x1b2)](_0x3f2c32[_0x5311c6(0x171)]):this[_0x5311c6(0x1a9)](_0x3f2c32,!0x1);}),this[_0x56df1d(0x1e4)](_0x351cf2,_0x56df1d(0x1b0),(_0x524369,_0x29d0a6,_0x25ff56)=>{const _0x54d98b=_0x56df1d;this[_0x54d98b(0x1ae)](_0x29d0a6,_0x54d98b(0x176)),this[_0x54d98b(0x1a4)][_0x54d98b(0x19c)](_0x29d0a6),this[_0x54d98b(0x180)][_0x54d98b(0x1a1)](_0x29d0a6)&&this[_0x54d98b(0x1e6)](_0x29d0a6),_0x25ff56&&this[_0x54d98b(0x1b2)](_0x25ff56[_0x54d98b(0x171)]);}),this[_0x56df1d(0x1e4)](_0x351cf2,_0x56df1d(0x1a0),(_0x39a10b,_0x5daf73)=>{const _0x402eef=_0x56df1d;this[_0x402eef(0x1b2)](_0x5daf73);}),this[_0x56df1d(0x1e4)](_0x2904eb,_0x56df1d(0x189),()=>{const _0x200d7d=_0x56df1d;this[_0x200d7d(0x160)]();}),this[_0x56df1d(0x1e4)](_0x2622e7,_0x56df1d(0x182),(_0x3dd62a,{threadId:_0x440ba5,isFromAdapter:_0x500e96})=>{const _0x3abe81=_0x56df1d;if(_0x500e96||!_0x351cf2[_0x3abe81(0x1aa)](_0x440ba5))return;const _0xfe1ab1=_0x351cf2[_0x3abe81(0x1b4)](_0x440ba5);this[_0x3abe81(0x180)][_0x3abe81(0x18a)](_0xfe1ab1)[_0x3abe81(0x1d9)][_0x3abe81(0x1d1)]();},{'priority':_0x56df1d(0x1a8)});}[_0x157ec2(0x160)](){const _0x358ff9=_0x157ec2,_0x10d984=this[_0x358ff9(0x1e9)][_0x358ff9(0x1e7)][_0x358ff9(0x18a)](_0x358ff9(0x1e3)),_0x585570=this[_0x358ff9(0x1e9)][_0x358ff9(0x1e7)][_0x358ff9(0x18a)](_0x358ff9(0x1db)),_0x39a551=Array[_0x358ff9(0x1cb)](_0x10d984[_0x358ff9(0x196)],_0x3b59af=>_0x3b59af[_0x358ff9(0x17d)])[_0x358ff9(0x17c)](_0xf456ee=>this[_0x358ff9(0x18b)][_0x358ff9(0x1a1)](_0xf456ee)),_0xa6072e=[];for(const _0x3d63e6 of _0x39a551){const _0x4cc436=this[_0x358ff9(0x18b)][_0x358ff9(0x18a)](_0x3d63e6)[_0x358ff9(0x1cd)][_0x358ff9(0x1b5)]();_0xa6072e[_0x358ff9(0x16c)](..._0x4cc436[_0x358ff9(0x1e1)]((_0x11d1bd,_0x4fbaaa)=>[..._0x11d1bd,..._0x4fbaaa[_0x358ff9(0x173)]()],[]));}_0x585570[_0x358ff9(0x165)]=_0xa6072e;}[_0x157ec2(0x1ab)](){const _0x2d88b3=_0x157ec2,_0x185cdf=this[_0x2d88b3(0x1e9)],_0x57597b=_0x185cdf[_0x2d88b3(0x1d6)],_0x2326f7=_0x596eb9(_0x57597b,_0x2d88b3(0x1da)),_0x368f16=new _0xa2fae4([{'type':_0x2d88b3(0x1a6),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x2326f7,'commandName':_0x2d88b3(0x1a3),'role':_0x2d88b3(0x1a7)})},{'type':_0x2d88b3(0x1bf)},{'type':_0x2d88b3(0x185),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x596eb9(_0x57597b,_0x2d88b3(0x18f)),'commandName':_0x2d88b3(0x1be),'role':_0x2d88b3(0x1b7)})},{'type':_0x2d88b3(0x185),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x596eb9(_0x57597b,_0x2d88b3(0x178)),'commandName':_0x2d88b3(0x169),'role':_0x2d88b3(0x1b7)})},{'type':_0x2d88b3(0x185),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x596eb9(_0x57597b,_0x2d88b3(0x1d4)),'commandName':_0x2d88b3(0x188),'role':_0x2d88b3(0x1b7)})},{'type':_0x2d88b3(0x185),'model':new _0x4c0ec8({'withText':!0x0,'label':_0x596eb9(_0x57597b,_0x2d88b3(0x199)),'commandName':_0x2d88b3(0x17b),'role':_0x2d88b3(0x1b7)})}]);for(const _0x3e16f1 of _0x368f16)if(ae(_0x3e16f1)){const _0x5ae61c=_0x185cdf[_0x2d88b3(0x19f)][_0x2d88b3(0x18a)](_0x3e16f1[_0x2d88b3(0x1cd)][_0x2d88b3(0x186)]);_0x3e16f1[_0x2d88b3(0x1cd)][_0x2d88b3(0x1ec)](_0x2d88b3(0x1e8),_0x2d88b3(0x181))['to'](_0x5ae61c,_0x2d88b3(0x197),_0x2d88b3(0x181));}_0x185cdf['ui'][_0x2d88b3(0x16a)][_0x2d88b3(0x1b9)](_0x2d88b3(0x1a3),_0x534ade=>this[_0x2d88b3(0x1eb)](_0x534ade,_0x368f16,_0x2326f7)),_0x185cdf['ui'][_0x2d88b3(0x16a)][_0x2d88b3(0x1b9)](_0x2d88b3(0x1ed),_0x16490d=>this[_0x2d88b3(0x1d5)](_0x16490d,_0x368f16,_0x2326f7));}[_0x157ec2(0x1eb)](_0x39be41,_0x4a9949,_0x10d3c4){const _0x1438a8=_0x157ec2,_0x968511=_0x586741(_0x39be41,_0x31827d),_0x4cc425=this[_0x1438a8(0x1e9)][_0x1438a8(0x19f)][_0x1438a8(0x18a)](_0x1438a8(0x1a3));_0x968511[_0x1438a8(0x16e)][_0x1438a8(0x1b8)]({'tooltip':_0x10d3c4,'label':_0x10d3c4,'icon':_0x1a2416}),_0x968511[_0x1438a8(0x16e)][_0x1438a8(0x1ec)](_0x1438a8(0x1e8))['to'](_0x4cc425,_0x1438a8(0x197)),_0x968511[_0x1438a8(0x16e)]['on'](_0x1438a8(0x1a5),()=>{const _0x17bbd0=_0x1438a8;_0x4cc425[_0x17bbd0(0x1a5)](),this[_0x17bbd0(0x1e9)][_0x17bbd0(0x191)][_0x17bbd0(0x1d9)][_0x17bbd0(0x1d1)]();}),_0x2b9b6f(_0x968511,_0x4a9949,{'role':_0x1438a8(0x16f)});const _0x4b2110=[];for(const _0x33ab93 of _0x4a9949)ae(_0x33ab93)&&_0x4b2110[_0x1438a8(0x16c)](this[_0x1438a8(0x1e9)][_0x1438a8(0x19f)][_0x1438a8(0x18a)](_0x33ab93[_0x1438a8(0x1cd)][_0x1438a8(0x186)]));const _0xa82482=_0x968511[_0x1438a8(0x16e)];return _0xa82482[_0x1438a8(0x1bc)][_0x1438a8(0x175)](_0x1438a8(0x181)),_0xa82482[_0x1438a8(0x1de)][_0x1438a8(0x175)](_0x1438a8(0x181)),_0xa82482[_0x1438a8(0x1bc)][_0x1438a8(0x1ec)](_0x1438a8(0x181))['to'](_0x4cc425,_0x1438a8(0x181)),_0xa82482[_0x1438a8(0x1de)][_0x1438a8(0x1ec)](_0x1438a8(0x181))[_0x1438a8(0x1d3)](_0x4b2110,_0x1438a8(0x181),(..._0x40d36b)=>_0x40d36b[_0x1438a8(0x198)](_0x1ad8ba=>_0x1ad8ba)),_0x968511['on'](_0x1438a8(0x1a5),_0x133f43=>{const _0x42a26a=_0x1438a8;this[_0x42a26a(0x1e9)][_0x42a26a(0x1a5)](_0x133f43[_0x42a26a(0x172)][_0x42a26a(0x186)]),this[_0x42a26a(0x1e9)][_0x42a26a(0x191)][_0x42a26a(0x1d9)][_0x42a26a(0x1d1)]();}),_0x968511;}[_0x157ec2(0x1d5)](_0x3b8d87,_0x1de984,_0x1e6baf){const _0x2eb38f=_0x157ec2,_0x25acf1=new _0x373ff1(_0x3b8d87),_0x7e75cf=this[_0x2eb38f(0x1e9)][_0x2eb38f(0x19f)][_0x2eb38f(0x18a)](_0x2eb38f(0x1a3));_0x25acf1[_0x2eb38f(0x16e)][_0x2eb38f(0x1b8)]({'label':_0x1e6baf,'icon':_0x1a2416});const _0x3c3120=new _0x5752dd(_0x3b8d87);for(const _0x1664a7 of _0x1de984){if(_0x2eb38f(0x1bf)==_0x1664a7[_0x2eb38f(0x1ea)]){_0x3c3120[_0x2eb38f(0x179)][_0x2eb38f(0x1b9)](new _0x596241(_0x3b8d87));continue;}const _0x5d6bd7=new _0x40ea8c(_0x3b8d87,_0x25acf1),_0x78144d=new _0x382623(_0x3b8d87),_0x19f136=_0x1664a7[_0x2eb38f(0x1cd)];_0x78144d[_0x2eb38f(0x1ec)](...Object[_0x2eb38f(0x184)](_0x19f136))['to'](_0x19f136),_0x78144d[_0x2eb38f(0x18c)](_0x2eb38f(0x1a5))['to'](_0x25acf1),_0x78144d['on'](_0x2eb38f(0x1a5),()=>{const _0x29af78=_0x2eb38f;this[_0x29af78(0x1e9)][_0x29af78(0x1a5)](_0x19f136[_0x29af78(0x186)]),this[_0x29af78(0x1e9)][_0x29af78(0x191)][_0x29af78(0x1d9)][_0x29af78(0x1d1)]();}),_0x5d6bd7[_0x2eb38f(0x17f)][_0x2eb38f(0x1b9)](_0x78144d),_0x3c3120[_0x2eb38f(0x179)][_0x2eb38f(0x1b9)](_0x5d6bd7);}return _0x25acf1[_0x2eb38f(0x1ec)](_0x2eb38f(0x181))['to'](_0x7e75cf,_0x2eb38f(0x181)),_0x25acf1[_0x2eb38f(0x15f)][_0x2eb38f(0x17f)][_0x2eb38f(0x1b9)](_0x3c3120),_0x25acf1;}[_0x157ec2(0x1af)](_0x55b053){const _0x129782=_0x157ec2,_0x66350e=this[_0x129782(0x1e9)],_0x270cfc=_0x66350e[_0x129782(0x1e0)],_0x4d87ed=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x1e3)),_0x238e6b=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x163)),_0x3ae84f=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x1c4)),_0x531373=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x450532)['me'],_0x3ff9df=_0x270cfc[_0x129782(0x18a)](_0x129782(0x1a3))[_0x129782(0x1b1)],{CommentsListView:_0x116e41,CommentThreadInputView:_0x4a415e}=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x194));let _0x4aaf58,_0x16dd98;this[_0x129782(0x1c2)][_0x129782(0x1a1)](_0x55b053['id'])?(_0x16dd98=this[_0x129782(0x1c2)][_0x129782(0x18a)](_0x55b053['id']),_0x4aaf58=_0x16dd98[_0x129782(0x170)]):(_0x4aaf58=new _0x3ff9df(_0x66350e[_0x129782(0x1d6)],_0x55b053,_0x531373,{'disableComments':this[_0x129782(0x1ce)],'editorConfig':_0x270cfc[_0x129782(0x18a)](_0x129782(0x1b3)),'maxCommentsWhenCollapsed':_0x270cfc[_0x129782(0x18a)](_0x129782(0x1df)),'maxThreadTotalWeight':_0x270cfc[_0x129782(0x18a)](_0x129782(0x1a2)),'maxCommentCharsWhenCollapsed':_0x270cfc[_0x129782(0x18a)](_0x129782(0x17e)),'formatDateTime':_0x4964f9(_0x270cfc[_0x129782(0x18a)](_0x129782(0x1d6))),'CommentView':_0x270cfc[_0x129782(0x18a)](_0x129782(0x177))[_0x129782(0x1dc)],'CommentsListView':_0x116e41,'CommentThreadInputView':_0x4a415e}),_0x4aaf58[_0x129782(0x17a)]['on'](_0x129782(0x1a5),()=>{const _0x114daa=_0x129782;_0x66350e[_0x114daa(0x191)][_0x114daa(0x1d9)][_0x114daa(0x1d1)]();}),_0x4aaf58[_0x129782(0x1bd)]['on'](_0x129782(0x1a5),()=>{const _0x1ea6ab=_0x129782;_0x66350e[_0x1ea6ab(0x191)][_0x1ea6ab(0x1d9)][_0x1ea6ab(0x1d1)]();}),_0x16dd98=_0x4d87ed[_0x129782(0x187)](this[_0x129782(0x1e9)][_0x129782(0x1d6)],_0x4aaf58),_0x16dd98[_0x129782(0x1ec)](_0x129782(0x1c3))['to'](_0x4aaf58,_0x129782(0x1c3)),_0x16dd98[_0x129782(0x1ec)](_0x129782(0x167))['to'](_0x4aaf58),_0x16dd98[_0x129782(0x1ec)](_0x129782(0x1ea))['to'](_0x4aaf58,_0x129782(0x1ea),_0x598003=>_0x129782(0x1c9)+_0x598003),this[_0x129782(0x1c2)][_0x129782(0x1b8)](_0x55b053['id'],_0x16dd98));const _0x45ecd8=_0x238e6b[_0x129782(0x1cf)](_0x55b053[_0x129782(0x1ad)],_0x4aaf58),_0x4f9ec7=new _0x32750a(_0x66350e,_0x55b053,_0x4aaf58,_0x45ecd8),_0x417e2e=_0x55b053[_0x129782(0x1b5)]()[_0x129782(0x17c)](_0x25044e=>_0x25044e[_0x129782(0x1ca)]);_0x4aaf58[_0x129782(0x190)]=_0x66350e[_0x129782(0x1e7)][_0x129782(0x18a)](_0x129782(0x1db))[_0x129782(0x1ba)][_0x129782(0x193)](_0x417e2e),this[_0x129782(0x180)][_0x129782(0x1b8)](_0x55b053,_0x4f9ec7),this[_0x129782(0x18b)][_0x129782(0x1b8)](_0x4aaf58,_0x4f9ec7);const _0x33113a=_0x4d87ed[_0x129782(0x1d7)]({'view':_0x16dd98,'target':()=>{const _0x39baa6=_0x129782,_0x39a083=[],_0x15e5cf=_0x55b053[_0x39baa6(0x1b5)]()[_0x39baa6(0x17c)](_0x423489=>_0x423489[_0x39baa6(0x1ca)]);for(const _0xe5aa23 of _0x15e5cf)_0x39a083[_0x39baa6(0x16c)](..._0xe5aa23[_0x39baa6(0x19a)]());return _0x244dae(_0x66350e[_0x39baa6(0x191)],_0x39a083);},'type':()=>_0x129782(0x1c9)+_0x4f9ec7[_0x129782(0x1d9)][_0x129782(0x1ea)]});_0x238e6b[_0x129782(0x1ac)](_0x4aaf58,_0x33113a),_0x4d87ed[_0x129782(0x1b9)](_0x33113a),_0x3ae84f[_0x129782(0x1d8)](_0x33113a);}[_0x157ec2(0x1e6)](_0x4a593d){const _0x1ae0a7=_0x157ec2,_0x1d4b76=this[_0x1ae0a7(0x1e9)][_0x1ae0a7(0x1e7)][_0x1ae0a7(0x18a)](_0x1ae0a7(0x163)),_0x3289f8=this[_0x1ae0a7(0x1e9)][_0x1ae0a7(0x1e7)][_0x1ae0a7(0x18a)](_0x1ae0a7(0x1e3)),_0x21af62=this[_0x1ae0a7(0x180)][_0x1ae0a7(0x18a)](_0x4a593d),_0x56ace8=_0x21af62[_0x1ae0a7(0x1d9)],_0x49f348=_0x3289f8[_0x1ae0a7(0x16b)](_0x56ace8);_0x1d4b76[_0x1ae0a7(0x1bb)](_0x56ace8),_0x49f348&&_0x3289f8[_0x1ae0a7(0x164)](_0x49f348),this[_0x1ae0a7(0x180)][_0x1ae0a7(0x19c)](_0x4a593d),this[_0x1ae0a7(0x18b)][_0x1ae0a7(0x19c)](_0x56ace8),_0x21af62[_0x1ae0a7(0x183)]();}[_0x157ec2(0x1b2)](_0x235b42){const _0x5a7fbf=_0x157ec2;if(!_0x235b42[_0x5a7fbf(0x1ca)]||!this[_0x5a7fbf(0x180)][_0x5a7fbf(0x1a1)](_0x235b42))return;const _0x1fd19a=this[_0x5a7fbf(0x1e9)][_0x5a7fbf(0x1e7)][_0x5a7fbf(0x18a)](_0x5a7fbf(0x1db)),_0x57fba7=this[_0x5a7fbf(0x180)][_0x5a7fbf(0x18a)](_0x235b42),_0x596067=_0x235b42[_0x5a7fbf(0x1b5)]();_0x57fba7[_0x5a7fbf(0x1d9)][_0x5a7fbf(0x190)]=_0x1fd19a[_0x5a7fbf(0x1ba)][_0x5a7fbf(0x193)](_0x596067);}[_0x157ec2(0x183)](){const _0x1ce442=_0x157ec2;for(const _0x1ea162 of this[_0x1ce442(0x180)][_0x1ce442(0x184)]())this[_0x1ce442(0x1e6)](_0x1ea162);for(const _0x191f66 of this[_0x1ce442(0x1c2)][_0x1ce442(0x1c6)]())_0x191f66[_0x1ce442(0x170)][_0x1ce442(0x183)]();super[_0x1ce442(0x183)]();}}function ae(_0x9cb464){const _0x2576c6=_0x157ec2;return _0x2576c6(0x1cd)in _0x9cb464;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x5a0e5d=_0x4139;function _0x4139(_0x34f6cc,_0x58078e){const _0x1873b7=_0x1873();return _0x4139=function(_0x4139ed,_0x2f4a0a){_0x4139ed=_0x4139ed-0xeb;let _0x277e6c=_0x1873b7[_0x4139ed];return _0x277e6c;},_0x4139(_0x34f6cc,_0x58078e);}(function(_0x46a4ed,_0x41d3bc){const _0x3b02f0=_0x4139,_0x577b2d=_0x46a4ed();while(!![]){try{const _0x4c5d4a=parseInt(_0x3b02f0(0xec))/0x1*(-parseInt(_0x3b02f0(0xeb))/0x2)+-parseInt(_0x3b02f0(0xf5))/0x3*(-parseInt(_0x3b02f0(0x10f))/0x4)+parseInt(_0x3b02f0(0xf1))/0x5+-parseInt(_0x3b02f0(0x102))/0x6*(-parseInt(_0x3b02f0(0xfb))/0x7)+parseInt(_0x3b02f0(0xfc))/0x8+-parseInt(_0x3b02f0(0xff))/0x9+-parseInt(_0x3b02f0(0xfa))/0xa;if(_0x4c5d4a===_0x41d3bc)break;else _0x577b2d['push'](_0x577b2d['shift']());}catch(_0x592ed1){_0x577b2d['push'](_0x577b2d['shift']());}}}(_0x1873,0xe5e07));import{ObservableMixin as _0x19a1aa}from'ckeditor5/src/utils.js';import{getTranslation as _0x4c4c44}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x19a1aa(){constructor(_0x3a0d69,_0x563eaf,_0x3efc8f,_0x7537ee){const _0x22538c=_0x4139;super(),this[_0x22538c(0xf4)]=_0x563eaf,this[_0x22538c(0xf6)]=_0x3efc8f,this[_0x22538c(0x103)]=_0x7537ee,this[_0x22538c(0xf0)]=_0x3a0d69,this[_0x22538c(0x10c)]=_0x3a0d69[_0x22538c(0x107)][_0x22538c(0x100)](_0x22538c(0xf3)),this[_0x22538c(0x110)]=_0x3a0d69[_0x22538c(0x107)][_0x22538c(0x100)](_0x22538c(0x10a)),this[_0x22538c(0xf6)][_0x22538c(0x10d)](_0x22538c(0x111))['to'](this[_0x22538c(0x10c)],this[_0x22538c(0x110)],(_0x39ba14,_0x32df32)=>_0x39ba14||_0x32df32),this[_0x22538c(0xf6)][_0x22538c(0x10d)](_0x22538c(0x113))['to'](this[_0x22538c(0x10c)],_0x22538c(0x111),_0x538559=>_0x538559&&this[_0x22538c(0xf0)][_0x22538c(0xf4)][_0x22538c(0x109)](_0x563eaf[_0x22538c(0xf8)]())),this[_0x22538c(0xf6)][_0x22538c(0x10d)](_0x22538c(0xef))['to'](this[_0x22538c(0x110)],_0x22538c(0x111),_0x5b8c4f=>_0x5b8c4f&&this[_0x22538c(0xf0)][_0x22538c(0xf4)][_0x22538c(0x109)](_0x563eaf[_0x22538c(0xf8)]())),this[_0x22538c(0xf7)]=null,_0x3efc8f[_0x22538c(0x10b)]&&this[_0x22538c(0x10e)](),this[_0x22538c(0x106)](_0x3efc8f,_0x22538c(0xf3),()=>this[_0x22538c(0xf3)]()),this[_0x22538c(0x106)](_0x3efc8f,_0x22538c(0x10a),()=>this[_0x22538c(0x10a)]()),this[_0x22538c(0x106)](_0x3efc8f,_0x22538c(0xf9),()=>{const _0x56422a=_0x22538c;_0x3efc8f[_0x56422a(0x10b)]?this[_0x56422a(0x10e)]():this[_0x56422a(0x108)]();});}[_0x5a0e5d(0xf3)](){const _0x40b64d=_0x5a0e5d;this[_0x40b64d(0x10c)][_0x40b64d(0xfe)](this[_0x40b64d(0xf4)]['id']);}[_0x5a0e5d(0x10a)](){const _0x1eac26=_0x5a0e5d;this[_0x1eac26(0x110)][_0x1eac26(0xfe)](this[_0x1eac26(0xf4)]['id']);}[_0x5a0e5d(0x105)](){const _0x1bc669=_0x5a0e5d;this[_0x1bc669(0xf6)][_0x1bc669(0xed)](_0x1bc669(0x111)),this[_0x1bc669(0xf6)][_0x1bc669(0xed)](_0x1bc669(0x113)),this[_0x1bc669(0xf6)][_0x1bc669(0xed)](_0x1bc669(0xef)),this[_0x1bc669(0x101)](),this[_0x1bc669(0x103)][_0x1bc669(0x105)](),this[_0x1bc669(0xf7)]&&this[_0x1bc669(0x108)]();}[_0x5a0e5d(0x10e)](){const _0x3215d7=_0x5a0e5d,_0x4af40a=_0x4c4c44(this[_0x3215d7(0xf0)][_0x3215d7(0xee)],_0x3215d7(0xfd));this[_0x3215d7(0xf7)]=this[_0x3215d7(0xf0)][_0x3215d7(0x104)][_0x3215d7(0x100)](_0x3215d7(0x114))[_0x3215d7(0xf2)](_0x4af40a);}[_0x5a0e5d(0x108)](){const _0x5056a5=_0x5a0e5d;null!==this[_0x5056a5(0xf7)]&&this[_0x5056a5(0xf0)][_0x5056a5(0x104)][_0x5056a5(0x100)](_0x5056a5(0x114))[_0x5056a5(0x112)](this[_0x5056a5(0xf7)]),this[_0x5056a5(0xf7)]=null;}}function _0x1873(){const _0x1d8f0e=['_editor','844535esqCxw','add','acceptSuggestion','model','3pjKujJ','view','_pendingAction','getRanges','change:isDirty','17833050QzMBai','11849159lQonKZ','5469952RVXbPZ','PENDING_ACTION_SUGGESTION','execute','7019145ixkZiI','get','stopListening','6bcBQHV','commentThreadController','plugins','destroy','listenTo','commands','_removePendingAction','canEditAt','discardSuggestion','isDirty','_acceptCommand','bind','_setPendingAction','6905564MQSoEs','_discardCommand','isEnabled','remove','canAccept','PendingActions','1533988MKJVVf','1iOzfaH','unbind','locale','canDiscard'];_0x1873=function(){return _0x1d8f0e;};return _0x1873();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x375bb6=_0x3f39;(function(_0x1f3700,_0x7b47ed){const _0xe793b1=_0x3f39,_0x45be8b=_0x1f3700();while(!![]){try{const _0x1a1a89=-parseInt(_0xe793b1(0x1d4))/0x1+parseInt(_0xe793b1(0x1e2))/0x2+-parseInt(_0xe793b1(0x1bd))/0x3*(-parseInt(_0xe793b1(0x1c3))/0x4)+-parseInt(_0xe793b1(0x1df))/0x5+-parseInt(_0xe793b1(0x1d6))/0x6+-parseInt(_0xe793b1(0x1bf))/0x7+parseInt(_0xe793b1(0x1d9))/0x8;if(_0x1a1a89===_0x7b47ed)break;else _0x45be8b['push'](_0x45be8b['shift']());}catch(_0x505759){_0x45be8b['push'](_0x45be8b['shift']());}}}(_0x20fc,0xb35cb));function _0x20fc(){const _0x2cde23=['commentThreadInputView','cancel','commentInputView','editor','576311pGuAvM','_createCommentViews','3573384TzAFEk','length','commentThread','16512848EDMZVV','disabledSubmit','hasDirtyComment','isActive','removeComment','submit','5116190OWPTSp','locale','isReadOnly','2449966LwOlEu','updateComment','destroy','descriptionParts','value','disableComments','element','_localUser','addComment','CommentView','set','bind','482031YyMvbS','showInput','3639902UcVPjA','canDiscard','fire','focus','4lKQEzS','isDirty','isEnabled','assign','_model','_createCommentThreadInputView','authoredAt','setData','delegate','editorConfig','_config','canAccept','commentsListView'];_0x20fc=function(){return _0x2cde23;};return _0x20fc();}function _0x3f39(_0x21d377,_0x15af50){const _0x20fc83=_0x20fc();return _0x3f39=function(_0x3f39e7,_0xe3f6a7){_0x3f39e7=_0x3f39e7-0x1b3;let _0x52da1b=_0x20fc83[_0x3f39e7];return _0x52da1b;},_0x3f39(_0x21d377,_0x15af50);}import{View as _0x4a865c}from'ckeditor5/src/ui.js';export default class es extends _0x4a865c{constructor(_0x14bcd4,_0x52ba77,_0x50822a,_0x14ed5d){const _0x3088d2=_0x3f39;super(_0x14bcd4),this[_0x3088d2(0x1cf)]=null,this[_0x3088d2(0x1d0)]=null,this[_0x3088d2(0x1bb)](_0x3088d2(0x1dc),!0x1),this[_0x3088d2(0x1bb)](_0x3088d2(0x1c9),_0x52ba77[_0x3088d2(0x1c9)]),this[_0x3088d2(0x1bc)](_0x3088d2(0x1c9))['to'](_0x52ba77),this[_0x3088d2(0x1bb)](_0x3088d2(0x1b4),[]),this[_0x3088d2(0x1bb)](_0x3088d2(0x1c4),!0x1),this[_0x3088d2(0x1bb)](_0x3088d2(0x1c5),!0x1),this[_0x3088d2(0x1bb)](_0x3088d2(0x1ce),!0x1),this[_0x3088d2(0x1bb)](_0x3088d2(0x1c0),!0x1),this[_0x3088d2(0x1c7)]=_0x52ba77,this[_0x3088d2(0x1b8)]=_0x50822a,this[_0x3088d2(0x1cd)]=_0x14ed5d,_0x14ed5d[_0x3088d2(0x1b6)]?this[_0x3088d2(0x1bb)](_0x3088d2(0x1d7),0x1):this[_0x3088d2(0x1d5)]();}[_0x375bb6(0x1c2)](){const _0x251329=_0x375bb6;this[_0x251329(0x1b7)][_0x251329(0x1c2)]();}[_0x375bb6(0x1b3)](){const _0x4c1904=_0x375bb6;this[_0x4c1904(0x1cf)]&&this[_0x4c1904(0x1cf)][_0x4c1904(0x1b3)](),this[_0x4c1904(0x1d0)]&&this[_0x4c1904(0x1d0)][_0x4c1904(0x1b3)](),super[_0x4c1904(0x1b3)]();}[_0x375bb6(0x1d5)](){const _0x1468eb=_0x375bb6,{CommentsListView:_0x57d0f6}=this[_0x1468eb(0x1cd)];this[_0x1468eb(0x1cf)]=new _0x57d0f6(this[_0x1468eb(0x1e0)],this[_0x1468eb(0x1c7)][_0x1468eb(0x1d8)],Object[_0x1468eb(0x1c6)]({'CommentView':this[_0x1468eb(0x1cd)][_0x1468eb(0x1ba)]},this[_0x1468eb(0x1cd)])),this[_0x1468eb(0x1cf)][_0x1468eb(0x1cb)](_0x1468eb(0x1dd))['to'](this),this[_0x1468eb(0x1cf)][_0x1468eb(0x1cb)](_0x1468eb(0x1e3))['to'](this),this[_0x1468eb(0x1cf)][_0x1468eb(0x1bc)](_0x1468eb(0x1dc))['to'](this),this[_0x1468eb(0x1bb)](_0x1468eb(0x1d7),this[_0x1468eb(0x1cf)][_0x1468eb(0x1d7)]+0x1),this[_0x1468eb(0x1bc)](_0x1468eb(0x1d7))['to'](this[_0x1468eb(0x1cf)],_0x1468eb(0x1d7),_0x3ab3c3=>_0x3ab3c3+0x1),this[_0x1468eb(0x1d0)]=this[_0x1468eb(0x1c8)](),this['on'](_0x1468eb(0x1dd),()=>this[_0x1468eb(0x1c2)]()),this[_0x1468eb(0x1bc)](_0x1468eb(0x1c4))['to'](this[_0x1468eb(0x1cf)],_0x1468eb(0x1db),this[_0x1468eb(0x1d0)][_0x1468eb(0x1d2)],_0x1468eb(0x1b5),(_0x7f226f,_0x1f1e05)=>_0x7f226f||!!_0x1f1e05);}[_0x375bb6(0x1c8)](){const _0x10d8d8=_0x375bb6,{CommentThreadInputView:_0x432b18}=this[_0x10d8d8(0x1cd)],_0x5311a0=new _0x432b18(this[_0x10d8d8(0x1e0)],this[_0x10d8d8(0x1b8)],this[_0x10d8d8(0x1cd)][_0x10d8d8(0x1cc)]),_0x32c458=_0x5311a0[_0x10d8d8(0x1d2)];return _0x5311a0[_0x10d8d8(0x1bc)](_0x10d8d8(0x1be))['to'](this,_0x10d8d8(0x1dc),this[_0x10d8d8(0x1c7)][_0x10d8d8(0x1d8)],_0x10d8d8(0x1e1),_0x32c458,_0x10d8d8(0x1b5),(_0x146978,_0x10f98b,_0x2aefa5)=>!!_0x2aefa5||_0x146978&&!_0x10f98b),_0x32c458['on'](_0x10d8d8(0x1de),(_0x1b1e5f,_0x52e1e1)=>{const _0x58b723=_0x10d8d8;this[_0x58b723(0x1c1)](_0x58b723(0x1b9),_0x52e1e1),_0x32c458[_0x58b723(0x1d3)][_0x58b723(0x1ca)]('');}),_0x32c458['on'](_0x10d8d8(0x1d1),()=>this[_0x10d8d8(0x1c2)]()),_0x32c458[_0x10d8d8(0x1bc)](_0x10d8d8(0x1da))['to'](this[_0x10d8d8(0x1c7)][_0x10d8d8(0x1d8)],_0x10d8d8(0x1e1)),_0x5311a0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x489f23=_0x5da0;(function(_0x169e23,_0xcae55d){const _0x405c3f=_0x5da0,_0x5c5da3=_0x169e23();while(!![]){try{const _0x4275d8=-parseInt(_0x405c3f(0x186))/0x1+-parseInt(_0x405c3f(0x152))/0x2+parseInt(_0x405c3f(0x167))/0x3+parseInt(_0x405c3f(0x19c))/0x4*(parseInt(_0x405c3f(0x1ab))/0x5)+-parseInt(_0x405c3f(0x17c))/0x6*(-parseInt(_0x405c3f(0x1a7))/0x7)+parseInt(_0x405c3f(0x147))/0x8+parseInt(_0x405c3f(0x178))/0x9*(-parseInt(_0x405c3f(0x1ac))/0xa);if(_0x4275d8===_0xcae55d)break;else _0x5c5da3['push'](_0x5c5da3['shift']());}catch(_0x23ac17){_0x5c5da3['push'](_0x5c5da3['shift']());}}}(_0x1be4,0x1d6c9));import{getTranslation as _0x2e2b06}from'../../utils/common-translations.js';function _0x1be4(){const _0x438661=['authoredAt','.ck-annotation__content-wrapper','attributes','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','descriptionParts','discardSuggestion','formatDateTime','commentsListView','author','166355pAmchJ','span','ck-annotation__info-time','isExternal','ck-comment__external','render','ck-annotation__actions','bind','canDiscard','element','EXTERNAL_IMPORT_WORD_SUGGESTION','getUserViewNotificationText','_descriptionElement','ck-annotation__content-wrapper','ck-suggestion__main','extendTemplate','ck-annotation__info-name','ck-suggestion--accept','set','check','getExternalSuggestionNote','cancel','78652ceZdKI','commentThread','_createButton','Discard\x20suggestion','delegate','innerHTML','Accept\x20suggestion','isEnabled','<p>','description','ck-suggestion','7KyYdWr','children','</p>','editorReady','25oejkJJ','970hAUzaB','ck-suggestion__info-name','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-wrapper--active','isActive','EXTERNAL_SUGGESTION','getTemplate','fire','ck-annotation__user','source','24488FFbwWY','bindTemplate','ck-suggestion--disabled-comments','setTemplate','ck-annotation__info','_model','change:description','creator','ck-suggestion-','innerText','div','18418aPFRFP','name','importWord','acceptButton','join','ck-suggestion-wrapper','EXTERNAL_AVATAR','createElement','color','type','_config','time','commentThreadInputView','editorDestroyed','canAccept','EXTERNAL_IMPORT_WORD_AVATAR','title','ck-suggestion__actions','discardButton','querySelector','ck-suggestion--discard','643569yTqGqW','ck-suggestion__info','\x22\x20title=\x22','ck-annotation','</span>','split','userView','\x22></span>','ck-suggestion__user','disableComments','ck-annotation__main','push','content','@external','locale','acceptSuggestion','ck-comment__info-time','10377qQqiTC','execute','value','map','552162UAZesy'];_0x1be4=function(){return _0x438661;};return _0x1be4();}import{default as _0x1a5591}from'./basesuggestionthreadview.js';function _0x5da0(_0x4073fb,_0x16546b){const _0x1be4fb=_0x1be4();return _0x5da0=function(_0x5da0ea,_0x45cf52){_0x5da0ea=_0x5da0ea-0x142;let _0x1ab171=_0x1be4fb[_0x5da0ea];return _0x1ab171;},_0x5da0(_0x4073fb,_0x16546b);}import{ButtonView as _0x239b9f}from'ckeditor5/src/ui.js';import{icons as _0x565d36}from'ckeditor5/src/core.js';import{trimHtml as _0x5aa97a,UserView as _0x4afee2}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x1a5591{constructor(_0x375abc,_0x2fa613,_0x1484d5,_0x4905dc){const _0x50f153=_0x5da0;super(_0x375abc,_0x2fa613,_0x1484d5,_0x4905dc),this[_0x50f153(0x198)](_0x50f153(0x15b),''),this[_0x50f153(0x18d)](_0x50f153(0x15b))['to'](this,_0x50f153(0x181),_0x4e3dba=>_0x4e3dba&&_0x4e3dba[0x0]?_0x4e3dba[0x0][_0x50f153(0x15b)]:''),this[_0x50f153(0x18d)](_0x50f153(0x1a5))['to'](this,_0x50f153(0x181),this,_0x50f153(0x1b0),(_0x3ac257,_0x302ba4)=>{const _0x30c6ce=_0x50f153;let _0x34adc3='';for(const _0x945b40 of _0x3ac257)_0x34adc3+=_0x30c6ce(0x1a4)+ds(_0x945b40[_0x30c6ce(0x173)],_0x945b40[_0x30c6ce(0x15a)])+_0x30c6ce(0x1a9);return _0x302ba4?_0x34adc3:_0x5aa97a(_0x34adc3,{'limit':0x8c});}),this[_0x50f153(0x192)]=null,this[_0x50f153(0x155)]=this[_0x50f153(0x19e)](_0x2e2b06(_0x375abc,_0x50f153(0x1a2)),_0x565d36[_0x50f153(0x199)],_0x50f153(0x197),_0x50f153(0x176),'sw'),this[_0x50f153(0x155)][_0x50f153(0x18d)](_0x50f153(0x1a3))['to'](this,_0x50f153(0x160)),this[_0x50f153(0x164)]=this[_0x50f153(0x19e)](_0x2e2b06(_0x375abc,_0x50f153(0x19f)),_0x565d36[_0x50f153(0x19b)],_0x50f153(0x166),_0x50f153(0x182),'sw'),this[_0x50f153(0x164)][_0x50f153(0x18d)](_0x50f153(0x1a3))['to'](this,_0x50f153(0x18e)),this[_0x50f153(0x16d)]=new _0x4afee2(_0x375abc,this[_0x50f153(0x14c)][_0x50f153(0x185)],this[_0x50f153(0x191)]()),this[_0x50f153(0x16d)][_0x50f153(0x195)]({'attributes':{'class':[_0x50f153(0x16f),_0x50f153(0x145)]}}),this[_0x50f153(0x14a)](this[_0x50f153(0x143)]());}[_0x489f23(0x143)](){const _0x52c22f=_0x489f23,_0x186ce5=this[_0x52c22f(0x148)],_0x54a697=[{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x168),_0x52c22f(0x14b)]},'children':[{'tag':_0x52c22f(0x187),'children':[{'text':this[_0x52c22f(0x16d)][_0x52c22f(0x153)]}],'attributes':{'class':[_0x52c22f(0x1ad),_0x52c22f(0x196)]}},{'tag':_0x52c22f(0x15d),'attributes':{'datetime':_0x186ce5['to'](_0x52c22f(0x17d)),'class':[_0x52c22f(0x177),_0x52c22f(0x188)]},'children':[{'text':_0x186ce5['to'](_0x52c22f(0x17d),_0x5ccb29=>this[_0x52c22f(0x15c)][_0x52c22f(0x183)](_0x5ccb29))}]}]},{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x163),_0x52c22f(0x18c)]},'children':[this[_0x52c22f(0x155)],this[_0x52c22f(0x164)]]},{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x193)]}}];this[_0x52c22f(0x14c)][_0x52c22f(0x189)]&&_0x54a697[_0x52c22f(0x172)]({'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x18a)]},'children':[{'text':this[_0x52c22f(0x19a)]()}]});const _0x2075ec={'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x157),_0x186ce5['if'](_0x52c22f(0x1b0),_0x52c22f(0x1af)),_0x186ce5['to'](_0x52c22f(0x15b),_0x206694=>_0x52c22f(0x14f)+_0x206694),this[_0x52c22f(0x15c)][_0x52c22f(0x170)]&&_0x52c22f(0x149)],'data-suggestion-id':this[_0x52c22f(0x14c)]['id'],'data-thread-id':this[_0x52c22f(0x14c)][_0x52c22f(0x19d)]['id'],'data-author-id':this[_0x52c22f(0x14c)][_0x52c22f(0x185)]['id'],'tabindex':-0x1},'children':[{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x1a6),_0x52c22f(0x16a)]},'children':[this[_0x52c22f(0x16d)],{'tag':_0x52c22f(0x151),'attributes':{'class':[_0x52c22f(0x194),_0x52c22f(0x171)]},'children':_0x54a697}]}]};return this[_0x52c22f(0x184)]&&this[_0x52c22f(0x15e)]&&(_0x2075ec[_0x52c22f(0x1a8)][_0x52c22f(0x172)](this[_0x52c22f(0x184)],this[_0x52c22f(0x15e)]),this[_0x52c22f(0x184)][_0x52c22f(0x1a0)](_0x52c22f(0x1aa))['to'](this),this[_0x52c22f(0x184)][_0x52c22f(0x1a0)](_0x52c22f(0x15f))['to'](this),this[_0x52c22f(0x15e)][_0x52c22f(0x1a0)](_0x52c22f(0x1aa))['to'](this),this[_0x52c22f(0x15e)][_0x52c22f(0x1a0)](_0x52c22f(0x15f))['to'](this)),_0x2075ec;}[_0x489f23(0x18b)](){const _0x1383b6=_0x489f23;super[_0x1383b6(0x18b)](),this[_0x1383b6(0x192)]=this[_0x1383b6(0x18f)][_0x1383b6(0x165)](_0x1383b6(0x17e)),this[_0x1383b6(0x192)][_0x1383b6(0x1a1)]=this[_0x1383b6(0x1a5)],this['on'](_0x1383b6(0x14d),(_0x5611d3,_0x3ca6d0,_0x4381cb)=>{const _0x210b2a=_0x1383b6;this[_0x210b2a(0x192)][_0x210b2a(0x1a1)]=_0x4381cb;});}[_0x489f23(0x19e)](_0x2e10aa,_0x159463,_0x54affd,_0xd22537,_0x5ba0be){const _0x21d14e=_0x489f23,_0xbe29e8=new _0x239b9f(this[_0x21d14e(0x175)]);return _0xbe29e8[_0x21d14e(0x198)]({'label':_0x2e10aa,'icon':_0x159463,'tooltip':!0x0,'tooltipPosition':_0x5ba0be}),_0xbe29e8[_0x21d14e(0x195)]({'attributes':{'class':_0x54affd}}),_0xbe29e8['on'](_0x21d14e(0x179),()=>{const _0x2a7b85=_0x21d14e;this[_0x2a7b85(0x144)](_0xd22537,this[_0x2a7b85(0x14c)]['id']);}),_0xbe29e8;}[_0x489f23(0x19a)](){const _0x561ec2=_0x489f23;return _0x561ec2(0x154)===this[_0x561ec2(0x14c)][_0x561ec2(0x17f)][_0x561ec2(0x174)][_0x561ec2(0x146)]?_0x2e2b06(this[_0x561ec2(0x175)],_0x561ec2(0x190)):_0x2e2b06(this[_0x561ec2(0x175)],_0x561ec2(0x142));}[_0x489f23(0x191)](){const _0x3e1671=_0x489f23;return this[_0x3e1671(0x14c)][_0x3e1671(0x189)]?_0x3e1671(0x154)===this[_0x3e1671(0x14c)][_0x3e1671(0x17f)][_0x3e1671(0x174)][_0x3e1671(0x146)]?_0x2e2b06(this[_0x3e1671(0x175)],_0x3e1671(0x161),this[_0x3e1671(0x14c)][_0x3e1671(0x14e)][_0x3e1671(0x153)]):_0x2e2b06(this[_0x3e1671(0x175)],_0x3e1671(0x158),this[_0x3e1671(0x14c)][_0x3e1671(0x14e)][_0x3e1671(0x153)]):null;}}function ds(_0x450135,_0x76d11e){const _0x55a828=_0x489f23;let _0x305b44='';return _0x305b44+=_0x450135[_0x55a828(0x16c)]('*')[_0x55a828(0x17b)]((_0x14ef49,_0x1cbabe)=>_0x1cbabe%0x2!=0x0?_0x55a828(0x1ae)+us(_0x14ef49)+_0x55a828(0x16b):us(_0x14ef49))[_0x55a828(0x156)](''),_0x76d11e&&(_0x305b44+=_0x55a828(0x180)+_0x76d11e[_0x55a828(0x17a)]+_0x55a828(0x169)+_0x76d11e[_0x55a828(0x162)]+_0x55a828(0x16e)),_0x305b44;}function us(_0x408913){const _0x5b1fe5=_0x489f23,_0x2dc3cd=document[_0x5b1fe5(0x159)](_0x5b1fe5(0x187));return _0x2dc3cd[_0x5b1fe5(0x150)]=_0x408913,_0x2dc3cd[_0x5b1fe5(0x1a1)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x57ee1d,_0x495de1,_0x5528d2){const t=_0x57ee1d['t'];switch(_0x495de1){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',_0x5528d2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5528d2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5528d2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5528d2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5528d2);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',_0x5528d2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5528d2);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',_0x5528d2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5528d2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5528d2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5528d2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5528d2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5528d2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5528d2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5528d2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5528d2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5528d2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5528d2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5528d2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5528d2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5528d2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5528d2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5528d2);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'},_0x5528d2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5528d2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5528d2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5528d2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5528d2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5528d2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5528d2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5528d2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5528d2);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'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5528d2);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'},_0x5528d2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5528d2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5528d2);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'},_0x5528d2);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'},_0x5528d2);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 _0x495de1;}}
|
|
23
|
+
export function getTranslation(_0x4db20d,_0x41d67f,_0x16b93d){const t=_0x4db20d['t'];switch(_0x41d67f){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',_0x16b93d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x16b93d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x16b93d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x16b93d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x16b93d);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',_0x16b93d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x16b93d);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',_0x16b93d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x16b93d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x16b93d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x16b93d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x16b93d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x16b93d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x16b93d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x16b93d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x16b93d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x16b93d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x16b93d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x16b93d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x16b93d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x16b93d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x16b93d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x16b93d);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'},_0x16b93d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x16b93d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x16b93d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x16b93d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x16b93d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x16b93d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x16b93d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x16b93d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x16b93d);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'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x16b93d);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'},_0x16b93d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x16b93d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x16b93d);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'},_0x16b93d);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'},_0x16b93d);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 _0x41d67f;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2809fb,_0x3aab7a){const _0xf8b77a=_0x3ddd,_0x7865e2=_0x2809fb();while(!![]){try{const _0x285ae5=parseInt(_0xf8b77a(0xdd))/0x1*(-parseInt(_0xf8b77a(0xec))/0x2)+parseInt(_0xf8b77a(0xf8))/0x3+-parseInt(_0xf8b77a(0xe7))/0x4*(-parseInt(_0xf8b77a(0xdf))/0x5)+-parseInt(_0xf8b77a(0xee))/0x6+-parseInt(_0xf8b77a(0xdc))/0x7+parseInt(_0xf8b77a(0x102))/0x8+-parseInt(_0xf8b77a(0xf1))/0x9;if(_0x285ae5===_0x3aab7a)break;else _0x7865e2['push'](_0x7865e2['shift']());}catch(_0x2e3de2){_0x7865e2['push'](_0x7865e2['shift']());}}}(_0x4c51,0xbb3f0));export function normalizeDescription(_0x36ab2b){const _0x59cf33=_0x3ddd;return Array[_0x59cf33(0xdb)](_0x36ab2b)||(_0x36ab2b=[_0x36ab2b]),_0x36ab2b[_0x59cf33(0xe8)](_0x459e2c=>{const _0x300f00=_0x59cf33,_0x3840e7=_0x459e2c[_0x300f00(0xe1)][_0x300f00(0xe3)](/\*/g,''),_0x247f17=_0x459e2c[_0x300f00(0xef)]?_0x300f00(0x101)+_0x459e2c[_0x300f00(0xef)][_0x300f00(0xed)]+']':'';return'['+_0x459e2c[_0x300f00(0xf7)]+']\x20'+_0x3840e7+_0x247f17;})[_0x59cf33(0xf4)](';\x20');}function _0x3ddd(_0x187ff2,_0xc02610){const _0x4c51fa=_0x4c51();return _0x3ddd=function(_0x3ddd34,_0x40730d){_0x3ddd34=_0x3ddd34-0xda;let _0xcbbd18=_0x4c51fa[_0x3ddd34];return _0xcbbd18;},_0x3ddd(_0x187ff2,_0xc02610);}export function sortSuggestions(_0x42a4e5){const _0x18888e=_0x3ddd;return _0x42a4e5[_0x18888e(0xeb)]((_0x4e1741,_0x5e6237)=>_0x18888e(0xe6)==_0x4e1741[_0x18888e(0xf7)]&&_0x18888e(0xe6)!=_0x5e6237[_0x18888e(0xf7)]?-0x1:_0x18888e(0xe6)!=_0x4e1741[_0x18888e(0xf7)]&&_0x18888e(0xe6)==_0x5e6237[_0x18888e(0xf7)]?0x1:0x0);}function _0x4c51(){const _0x2609d4=['execute','createRange','isMultiRange','createPositionAt','\x20[color\x20','9387712tnBLew','createPositionAfter','isIntersecting','isArray','3474415RAfxFz','31UJTUdb','isInContent','15bmgshh','next','content','isCollapsed','replace','getRanges','add','deletion','762148ptbeUN','map','isTouching','push','sort','32610PjINOC','value','2502894kdorxT','color','isObject','1139877YfSxVM','change','start','join','schema','from','type','1702461JqqDUO','createPositionBefore','end','splice','length'];_0x4c51=function(){return _0x2609d4;};return _0x4c51();}export function getSelectedSuggestions(_0x49d0b2,_0x648b91){const _0x5903c5=_0x3ddd,_0x47b8dc=Array[_0x5903c5(0xf6)](_0x49d0b2[_0x5903c5(0xe4)]()),_0x33344a=new Set();for(const _0x9bf6db of _0x648b91)if(_0x9bf6db[_0x5903c5(0xde)]){for(const _0x129012 of _0x47b8dc)for(const _0x1fa806 of _0x9bf6db[_0x5903c5(0xe4)]())(_0x129012[_0x5903c5(0xda)](_0x1fa806)||_0x49d0b2[_0x5903c5(0xe2)]&&!_0x9bf6db[_0x5903c5(0xff)]&&_0x9bf6db[_0x5903c5(0xe0)]&&_0x1fa806[_0x5903c5(0xfa)][_0x5903c5(0xe9)](_0x129012[_0x5903c5(0xf3)]))&&_0x33344a[_0x5903c5(0xe5)](_0x9bf6db);}return _0x33344a;}export function getRangesOfBlockGroups(_0x1cbe08,_0x23569f){const _0xcb67c7=_0x3ddd;let _0x99f512,_0x51acc1=0x0;const _0x4b6feb=[],_0x5acfd3=_0x23569f[_0xcb67c7(0xf5)];for(;_0x51acc1<_0x1cbe08[_0xcb67c7(0xfc)];){const _0x16c873=_0x1cbe08[_0x51acc1],_0x1a2528=_0x1cbe08[_0x51acc1+0x1];_0x99f512||(_0x99f512=_0x23569f[_0xcb67c7(0xf9)](_0x16c873)),co(_0x23569f,_0x16c873,_0x1a2528)||(_0x4b6feb[_0xcb67c7(0xea)](_0x23569f[_0xcb67c7(0xfe)](_0x99f512,_0x5acfd3[_0xcb67c7(0xf0)](_0x16c873)?_0x23569f[_0xcb67c7(0x103)](_0x16c873):_0x23569f[_0xcb67c7(0x100)](_0x16c873,_0xcb67c7(0xfa)))),_0x99f512=null),_0x51acc1++;}return _0x4b6feb;}function co(_0x2670d8,_0x5a9c18,_0x537836){const _0x436401=_0x3ddd;if(!_0x537836)return!0x1;const _0x503c1f=_0x2670d8[_0x436401(0x103)](_0x5a9c18),_0x4c59f5=_0x2670d8[_0x436401(0xf9)](_0x537836);return _0x503c1f[_0x436401(0xe9)](_0x4c59f5);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x24b61c,_0x434a62,_0x13e8df){const _0x119d51=_0x3ddd;for(;_0x13e8df[_0x119d51(0xfc)];){const _0x58f191=_0x13e8df[_0x119d51(0xfb)](0x0,0x64);_0x24b61c[_0x119d51(0xf2)](()=>{const _0x5644b3=_0x119d51;for(const _0x4fb9cf of _0x58f191)_0x4fb9cf[_0x5644b3(0xde)]&&_0x434a62[_0x5644b3(0xfd)](_0x4fb9cf['id']);});}}
|