@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240509.0 → 0.0.0-nightly-20240511.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x263d14=_0x2db3;(function(_0x38af45,_0x3227cb){const _0x377bad=_0x2db3,_0x2ff97f=_0x38af45();while(!![]){try{const _0xa0c7fd=-parseInt(_0x377bad(0x155))/0x1+parseInt(_0x377bad(0x1a5))/0x2*(-parseInt(_0x377bad(0x141))/0x3)+-parseInt(_0x377bad(0x15d))/0x4*(parseInt(_0x377bad(0x12b))/0x5)+parseInt(_0x377bad(0x142))/0x6*(parseInt(_0x377bad(0x147))/0x7)+parseInt(_0x377bad(0x167))/0x8+-parseInt(_0x377bad(0x1ad))/0x9*(parseInt(_0x377bad(0x1b7))/0xa)+parseInt(_0x377bad(0x1b3))/0xb*(parseInt(_0x377bad(0x129))/0xc);if(_0xa0c7fd===_0x3227cb)break;else _0x2ff97f['push'](_0x2ff97f['shift']());}catch(_0x4678da){_0x2ff97f['push'](_0x2ff97f['shift']());}}}(_0x60b7,0x9d274));import{Plugin as _0x314d61}from'ckeditor5/src/core.js';function _0x60b7(){const _0x5989e3=['isEnabled','discardAllSuggestions','menu','values','length','previous','557037oyRjCc','Accept\x20all\x20selected\x20suggestions','Annotations','isDirty','isMultiRange','delete','trackChanges.disableComments','unbind','686328efrWMw','comments.maxThreadTotalWeight','isInContent','delegate','switchbutton','buttonView','getJoined','button','menuitem','comments.maxCommentCharsWhenCollapsed','10284744HaoBoA','componentFactory','size','activeMarkers','_handleSuggestionControllerDelayed','refreshSelectedViews','init','destroy','createCommentThreadController','push','lowest','items','TrackChangesEditing','config','getAllAdjacentSuggestions','view','define','Discard\x20all\x20selected\x20suggestions','children','_unbindEditors','_createMenuBarMenu','trackChanges','createAnnotation','_updateController','EditorAnnotations','comments','trackChanges.SuggestionThreadView','suggestion-','descriptionParts','pluginName','descriptionFactory','plugins','hasSuggestion','set','model','comments.maxCommentsWhenCollapsed','getByInnerView','focus','suggestionLoaded','commands','commentThread','_viewToController','_refreshActiveMarkers','clear','bind','getDescriptions','CommentsRepository','source','arrowView','innerView','keys','menuBar:trackChanges','_bindAnnotationToEditors','getRanges','editing','execute','_suggestionToController','suggestionChanged','addComment','panelView','getMarkerNames','has','34TuBWFc','Track\x20changes','add','suggestionUnloaded','SuggestionThreadView','TrackChangesUI','mainView','getSuggestion','27288NkIQJl','activeAnnotations','_disableComments','requires','change:activeAnnotations','discardSelectedSuggestions','4785UlTzFf','head','addSourceCollector','change:previous','1380FBoQpU','_destroyController','_addUIComponentsToFactory','from','CommentView','29964TjwOGD','Discard\x20all\x20suggestions','10tPWwgy','isOn','locale','actionView','createAnnotationView','editor','registerAnnotation','type','filter','some','discardButton','CommentsUI','stopListening','menuitemcheckbox','_createToolbarButton','_annotationViews','getFirstRange','comments.editorConfig','toMany','_initializeController','separator','commandName','195927CCFvns','4204692wwVBmn','Accept\x20all\x20suggestions','_handleControllerBuffer','value','acceptAllSuggestions','7fSLkQS','remove','listenTo','acceptSelectedSuggestions','reduce','get','acceptButton','getMarkers'];_0x60b7=function(){return _0x5989e3;};return _0x60b7();}import{Collection as _0x39ab3d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x16395f,createDropdown as _0x514c8f,ListSeparatorView as _0xff62a0,MenuBarMenuView as _0x4f1f04,MenuBarMenuListView as _0xb3f9cc,MenuBarMenuListItemView as _0x72ac65,MenuBarMenuListItemButtonView as _0x14fd1f,SplitButtonView as _0x437c89,ViewModel as _0x22ec33}from'ckeditor5/src/ui.js';import{Users as _0x2fec95,getDateTimeFormatter as _0x4ad8c8,getAllMarkersDomElementsSorted as _0x41967a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5581c2 from'./trackchangesediting.js';import _0x299cc2 from'./ui/suggestioncontroller.js';import _0x1fa8d0 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1da48c}from'./utils/common-translations.js';import _0x561514 from'../theme/icons/track-changes.svg';export default class d extends _0x314d61{static get[_0x263d14(0x1b0)](){const _0x44a339=_0x263d14;return[_0x5581c2,_0x2fec95,_0x44a339(0x195),_0x44a339(0x157),_0x44a339(0x17f)];}static get[_0x263d14(0x184)](){const _0x467b60=_0x263d14;return _0x467b60(0x1aa);}constructor(_0x32ec9a){const _0x2ff816=_0x263d14;super(_0x32ec9a),this[_0x2ff816(0x19f)]=new Map(),this[_0x2ff816(0x190)]=new Map(),this[_0x2ff816(0x13a)]=new Map(),this[_0x2ff816(0x144)]=new Map();const _0x5446ab=this[_0x2ff816(0x130)][_0x2ff816(0x174)];_0x5446ab[_0x2ff816(0x177)](_0x2ff816(0x181),_0x1fa8d0),_0x5446ab[_0x2ff816(0x177)](_0x2ff816(0x15b),!0x1),this[_0x2ff816(0x1af)]=_0x5446ab[_0x2ff816(0x14c)](_0x2ff816(0x15b));}[_0x263d14(0x16b)](_0x1506ef,_0x453f7e){const _0x3f4df4=_0x263d14;0x0===this[_0x3f4df4(0x144)][_0x3f4df4(0x169)]&&setTimeout(()=>{const _0x52517d=_0x3f4df4;for(const [_0x205d3e,_0x48279b]of this[_0x52517d(0x144)]){const _0x3ed6d5=this[_0x52517d(0x19f)][_0x52517d(0x1a4)](_0x205d3e);_0x3ed6d5||_0x48279b?_0x3ed6d5&&_0x48279b&&this[_0x52517d(0x1b8)](_0x205d3e):this[_0x52517d(0x13e)](_0x205d3e);}this[_0x52517d(0x144)][_0x52517d(0x192)](),this[_0x52517d(0x130)][_0x52517d(0x186)][_0x52517d(0x14c)](_0x52517d(0x17f))[_0x52517d(0x16c)](),this[_0x52517d(0x191)]();},0xa),this[_0x3f4df4(0x144)][_0x3f4df4(0x188)](_0x1506ef,_0x453f7e);}[_0x263d14(0x16d)](){const _0x4a2908=_0x263d14,_0x3c0ed2=this[_0x4a2908(0x130)],_0x169734=_0x3c0ed2[_0x4a2908(0x186)][_0x4a2908(0x14c)](_0x4a2908(0x173)),_0x40d2cd=_0x3c0ed2[_0x4a2908(0x186)][_0x4a2908(0x14c)](_0x4a2908(0x157)),_0x2be40b=_0x3c0ed2[_0x4a2908(0x186)][_0x4a2908(0x14c)](_0x4a2908(0x17f)),_0x4c52ac=_0x3c0ed2[_0x4a2908(0x186)][_0x4a2908(0x14c)](_0x4a2908(0x195));this[_0x4a2908(0x1b9)](),_0x2be40b[_0x4a2908(0x1b5)](()=>{const _0x3b7c14=_0x4a2908,_0x46f10a=[];for(const [_0x513cff,_0x3c7804]of Array[_0x3b7c14(0x127)](this[_0x3b7c14(0x19f)])){const _0x4c49f9=_0x513cff[_0x3b7c14(0x175)](),_0x3f91a2=[];for(const _0x53741c of _0x4c49f9){if(!_0x53741c[_0x3b7c14(0x15f)])continue;if(_0x53741c[_0x3b7c14(0x159)]){_0x3f91a2[_0x3b7c14(0x170)](..._0x53741c[_0x3b7c14(0x19c)]());continue;}const _0x5da0b1=_0x53741c[_0x3b7c14(0x13b)]();if(_0x3f91a2[_0x3b7c14(0x153)]>0x0){const _0xe1e094=_0x3f91a2[0x0][_0x3b7c14(0x163)](_0x5da0b1);if(_0xe1e094){_0x3f91a2[0x0]=_0xe1e094;continue;}}_0x3f91a2[_0x3b7c14(0x170)](_0x5da0b1);}_0x46f10a[_0x3b7c14(0x170)]([_0x3c7804[_0x3b7c14(0x176)],_0x3f91a2]);}return _0x46f10a;}),this[_0x4a2908(0x149)](_0x169734,_0x4a2908(0x18d),(_0x148173,_0x39d85d)=>{const _0x2265a9=_0x4a2908;this[_0x2265a9(0x149)](_0x39d85d,_0x2265a9(0x1b6),(_0x35d275,_0x3cb15d,_0x49796a,_0x4ef53d)=>{const _0x5892c0=_0x2265a9;_0x39d85d[_0x5892c0(0x15f)]&&(null==_0x49796a?(this[_0x5892c0(0x17e)](_0x4ef53d[_0x5892c0(0x1b4)]),this[_0x5892c0(0x16b)](_0x39d85d,!0x1)):(this[_0x5892c0(0x17e)](_0x49796a[_0x5892c0(0x1b4)]),null==_0x4ef53d&&this[_0x5892c0(0x16b)](_0x39d85d,!0x0)));}),null!==_0x39d85d[_0x2265a9(0x154)]?this[_0x2265a9(0x17e)](_0x39d85d[_0x2265a9(0x1b4)]):this[_0x2265a9(0x16b)](_0x39d85d,!0x1);}),this[_0x4a2908(0x149)](_0x169734,_0x4a2908(0x1a8),(_0x5836df,_0x566921,_0x6b07c0)=>{const _0x43b2de=_0x4a2908;this[_0x43b2de(0x137)](_0x566921,_0x43b2de(0x1b6)),this[_0x43b2de(0x144)][_0x43b2de(0x15a)](_0x566921),this[_0x43b2de(0x19f)][_0x43b2de(0x1a4)](_0x566921)&&this[_0x43b2de(0x1b8)](_0x566921),_0x6b07c0&&this[_0x43b2de(0x17e)](_0x6b07c0[_0x43b2de(0x1b4)]);}),this[_0x4a2908(0x149)](_0x169734,_0x4a2908(0x1a0),(_0x469158,_0x58ec54)=>{const _0x228c38=_0x4a2908;this[_0x228c38(0x17e)](_0x58ec54);}),this[_0x4a2908(0x149)](_0x40d2cd,_0x4a2908(0x1b1),()=>{const _0x1b2f7f=_0x4a2908;this[_0x1b2f7f(0x191)]();}),this[_0x4a2908(0x149)](_0x4c52ac,_0x4a2908(0x1a1),(_0x1fc2ed,{threadId:_0x130f08,isFromAdapter:_0xbd2424})=>{const _0x466988=_0x4a2908;if(_0xbd2424||!_0x169734[_0x466988(0x187)](_0x130f08))return;const _0x3b24f7=_0x169734[_0x466988(0x1ac)](_0x130f08);this[_0x466988(0x19f)][_0x466988(0x14c)](_0x3b24f7)[_0x466988(0x176)][_0x466988(0x18c)]();},{'priority':_0x4a2908(0x171)});}[_0x263d14(0x191)](){const _0x2e6cee=_0x263d14,_0x3a5c06=this[_0x2e6cee(0x130)][_0x2e6cee(0x186)][_0x2e6cee(0x14c)](_0x2e6cee(0x157)),_0x2a5dd4=this[_0x2e6cee(0x130)][_0x2e6cee(0x186)][_0x2e6cee(0x14c)](_0x2e6cee(0x173)),_0x2c9f3a=Array[_0x2e6cee(0x127)](_0x3a5c06[_0x2e6cee(0x1ae)],_0x42b4e3=>_0x42b4e3[_0x2e6cee(0x198)])[_0x2e6cee(0x133)](_0x4b0452=>this[_0x2e6cee(0x190)][_0x2e6cee(0x1a4)](_0x4b0452)),_0x37215d=[];for(const _0x1eca78 of _0x2c9f3a){const _0x4e5b4c=this[_0x2e6cee(0x190)][_0x2e6cee(0x14c)](_0x1eca78)[_0x2e6cee(0x189)][_0x2e6cee(0x175)]();_0x37215d[_0x2e6cee(0x170)](..._0x4e5b4c[_0x2e6cee(0x14b)]((_0x551fb5,_0x4ba6ad)=>[..._0x551fb5,..._0x4ba6ad[_0x2e6cee(0x1a3)]()],[]));}_0x2a5dd4[_0x2e6cee(0x16a)]=_0x37215d;}[_0x263d14(0x1b9)](){const _0x287413=_0x263d14,_0x453cfe=this[_0x287413(0x130)],_0x3780f7=_0x453cfe[_0x287413(0x12d)],_0x434c9d=_0x1da48c(_0x3780f7,_0x287413(0x1a6)),_0x3ba7e9=new _0x39ab3d([{'type':_0x287413(0x161),'model':new _0x22ec33({'withText':!0x0,'label':_0x434c9d,'commandName':_0x287413(0x17c),'role':_0x287413(0x138)})},{'type':_0x287413(0x13f)},{'type':_0x287413(0x164),'model':new _0x22ec33({'withText':!0x0,'label':_0x1da48c(_0x3780f7,_0x287413(0x143)),'commandName':_0x287413(0x146),'role':_0x287413(0x165)})},{'type':_0x287413(0x164),'model':new _0x22ec33({'withText':!0x0,'label':_0x1da48c(_0x3780f7,_0x287413(0x156)),'commandName':_0x287413(0x14a),'role':_0x287413(0x165)})},{'type':_0x287413(0x164),'model':new _0x22ec33({'withText':!0x0,'label':_0x1da48c(_0x3780f7,_0x287413(0x12a)),'commandName':_0x287413(0x150),'role':_0x287413(0x165)})},{'type':_0x287413(0x164),'model':new _0x22ec33({'withText':!0x0,'label':_0x1da48c(_0x3780f7,_0x287413(0x178)),'commandName':_0x287413(0x1b2),'role':_0x287413(0x165)})}]);for(const _0x5d0cba of _0x3ba7e9)if(ae(_0x5d0cba)){const _0x103f51=_0x453cfe[_0x287413(0x18e)][_0x287413(0x14c)](_0x5d0cba[_0x287413(0x189)][_0x287413(0x140)]);_0x5d0cba[_0x287413(0x189)][_0x287413(0x193)](_0x287413(0x12c),_0x287413(0x14f))['to'](_0x103f51,_0x287413(0x145),_0x287413(0x14f));}_0x453cfe['ui'][_0x287413(0x168)][_0x287413(0x1a7)](_0x287413(0x17c),_0xe56378=>this[_0x287413(0x139)](_0xe56378,_0x3ba7e9,_0x434c9d)),_0x453cfe['ui'][_0x287413(0x168)][_0x287413(0x1a7)](_0x287413(0x19a),_0xe3bf6d=>this[_0x287413(0x17b)](_0xe3bf6d,_0x3ba7e9,_0x434c9d));}[_0x263d14(0x139)](_0x4f0c1c,_0x3a5a30,_0x584f5e){const _0x35c006=_0x263d14,_0x1623c5=_0x514c8f(_0x4f0c1c,_0x437c89),_0x3815f9=this[_0x35c006(0x130)][_0x35c006(0x18e)][_0x35c006(0x14c)](_0x35c006(0x17c));_0x1623c5[_0x35c006(0x162)][_0x35c006(0x188)]({'tooltip':_0x584f5e,'label':_0x584f5e,'icon':_0x561514}),_0x1623c5[_0x35c006(0x162)][_0x35c006(0x193)](_0x35c006(0x12c))['to'](_0x3815f9,_0x35c006(0x145)),_0x1623c5[_0x35c006(0x162)]['on'](_0x35c006(0x19e),()=>{const _0xf3d8b6=_0x35c006;_0x3815f9[_0xf3d8b6(0x19e)](),this[_0xf3d8b6(0x130)][_0xf3d8b6(0x19d)][_0xf3d8b6(0x176)][_0xf3d8b6(0x18c)]();}),_0x16395f(_0x1623c5,_0x3a5a30,{'role':_0x35c006(0x151)});const _0x3d4bb1=[];for(const _0x730c27 of _0x3a5a30)ae(_0x730c27)&&_0x3d4bb1[_0x35c006(0x170)](this[_0x35c006(0x130)][_0x35c006(0x18e)][_0x35c006(0x14c)](_0x730c27[_0x35c006(0x189)][_0x35c006(0x140)]));const _0x1354a9=_0x1623c5[_0x35c006(0x162)];return _0x1354a9[_0x35c006(0x12e)][_0x35c006(0x15c)](_0x35c006(0x14f)),_0x1354a9[_0x35c006(0x197)][_0x35c006(0x15c)](_0x35c006(0x14f)),_0x1354a9[_0x35c006(0x12e)][_0x35c006(0x193)](_0x35c006(0x14f))['to'](_0x3815f9,_0x35c006(0x14f)),_0x1354a9[_0x35c006(0x197)][_0x35c006(0x193)](_0x35c006(0x14f))[_0x35c006(0x13d)](_0x3d4bb1,_0x35c006(0x14f),(..._0x4e646d)=>_0x4e646d[_0x35c006(0x134)](_0x343a2c=>_0x343a2c)),_0x1623c5['on'](_0x35c006(0x19e),_0x2e0f60=>{const _0x5938b3=_0x35c006;this[_0x5938b3(0x130)][_0x5938b3(0x19e)](_0x2e0f60[_0x5938b3(0x196)][_0x5938b3(0x140)]),this[_0x5938b3(0x130)][_0x5938b3(0x19d)][_0x5938b3(0x176)][_0x5938b3(0x18c)]();}),_0x1623c5;}[_0x263d14(0x17b)](_0x203374,_0x37681a,_0xff1d11){const _0x1861fb=_0x263d14,_0x2d2d44=new _0x4f1f04(_0x203374),_0x1375ca=this[_0x1861fb(0x130)][_0x1861fb(0x18e)][_0x1861fb(0x14c)](_0x1861fb(0x17c));_0x2d2d44[_0x1861fb(0x162)][_0x1861fb(0x188)]({'label':_0xff1d11,'icon':_0x561514});const _0x5cbe85=new _0xb3f9cc(_0x203374);for(const _0x463241 of _0x37681a){if(_0x1861fb(0x13f)==_0x463241[_0x1861fb(0x132)]){_0x5cbe85[_0x1861fb(0x172)][_0x1861fb(0x1a7)](new _0xff62a0(_0x203374));continue;}const _0x2618ca=new _0x72ac65(_0x203374,_0x2d2d44),_0x1f01e0=new _0x14fd1f(_0x203374),_0x2fbce5=_0x463241[_0x1861fb(0x189)];_0x1f01e0[_0x1861fb(0x193)](...Object[_0x1861fb(0x199)](_0x2fbce5))['to'](_0x2fbce5),_0x1f01e0[_0x1861fb(0x160)](_0x1861fb(0x19e))['to'](_0x2d2d44),_0x1f01e0['on'](_0x1861fb(0x19e),()=>{const _0x109d79=_0x1861fb;this[_0x109d79(0x130)][_0x109d79(0x19e)](_0x2fbce5[_0x109d79(0x140)]),this[_0x109d79(0x130)][_0x109d79(0x19d)][_0x109d79(0x176)][_0x109d79(0x18c)]();}),_0x2618ca[_0x1861fb(0x179)][_0x1861fb(0x1a7)](_0x1f01e0),_0x5cbe85[_0x1861fb(0x172)][_0x1861fb(0x1a7)](_0x2618ca);}return _0x2d2d44[_0x1861fb(0x193)](_0x1861fb(0x14f))['to'](_0x1375ca,_0x1861fb(0x14f)),_0x2d2d44[_0x1861fb(0x1a2)][_0x1861fb(0x179)][_0x1861fb(0x1a7)](_0x5cbe85),_0x2d2d44;}[_0x263d14(0x13e)](_0x1c9b4d){const _0x45e8e2=_0x263d14,_0x51ae62=this[_0x45e8e2(0x130)],_0x532afc=_0x51ae62[_0x45e8e2(0x174)],_0x449520=_0x51ae62[_0x45e8e2(0x186)][_0x45e8e2(0x14c)](_0x45e8e2(0x157)),_0x3c86e2=_0x51ae62[_0x45e8e2(0x186)][_0x45e8e2(0x14c)](_0x45e8e2(0x195)),_0x4279e7=_0x51ae62[_0x45e8e2(0x186)][_0x45e8e2(0x14c)](_0x45e8e2(0x17f)),_0x2d4878=_0x51ae62[_0x45e8e2(0x186)][_0x45e8e2(0x14c)](_0x2fec95)['me'],_0x559fae=_0x532afc[_0x45e8e2(0x14c)](_0x45e8e2(0x17c))[_0x45e8e2(0x1a9)],{CommentsListView:_0x32c6d5,CommentThreadInputView:_0x4b545a}=_0x51ae62[_0x45e8e2(0x186)][_0x45e8e2(0x14c)](_0x45e8e2(0x136));let _0x6d9924,_0x3d5c17;this[_0x45e8e2(0x13a)][_0x45e8e2(0x1a4)](_0x1c9b4d['id'])?(_0x3d5c17=this[_0x45e8e2(0x13a)][_0x45e8e2(0x14c)](_0x1c9b4d['id']),_0x6d9924=_0x3d5c17[_0x45e8e2(0x1ab)]):(_0x6d9924=new _0x559fae(_0x51ae62[_0x45e8e2(0x12d)],_0x1c9b4d,_0x2d4878,{'disableComments':this[_0x45e8e2(0x1af)],'editorConfig':_0x532afc[_0x45e8e2(0x14c)](_0x45e8e2(0x13c)),'maxCommentsWhenCollapsed':_0x532afc[_0x45e8e2(0x14c)](_0x45e8e2(0x18a)),'maxThreadTotalWeight':_0x532afc[_0x45e8e2(0x14c)](_0x45e8e2(0x15e)),'maxCommentCharsWhenCollapsed':_0x532afc[_0x45e8e2(0x14c)](_0x45e8e2(0x166)),'formatDateTime':_0x4ad8c8(_0x532afc[_0x45e8e2(0x14c)](_0x45e8e2(0x12d))),'CommentView':_0x532afc[_0x45e8e2(0x14c)](_0x45e8e2(0x180))[_0x45e8e2(0x128)],'CommentsListView':_0x32c6d5,'CommentThreadInputView':_0x4b545a}),_0x6d9924[_0x45e8e2(0x14d)]['on'](_0x45e8e2(0x19e),()=>{const _0x34033d=_0x45e8e2;_0x51ae62[_0x34033d(0x19d)][_0x34033d(0x176)][_0x34033d(0x18c)]();}),_0x6d9924[_0x45e8e2(0x135)]['on'](_0x45e8e2(0x19e),()=>{const _0x34fb8f=_0x45e8e2;_0x51ae62[_0x34fb8f(0x19d)][_0x34fb8f(0x176)][_0x34fb8f(0x18c)]();}),_0x3d5c17=_0x449520[_0x45e8e2(0x12f)](this[_0x45e8e2(0x130)][_0x45e8e2(0x12d)],_0x6d9924),_0x3d5c17[_0x45e8e2(0x193)](_0x45e8e2(0x158))['to'](_0x6d9924,_0x45e8e2(0x158)),_0x3d5c17[_0x45e8e2(0x193)](_0x45e8e2(0x153))['to'](_0x6d9924),_0x3d5c17[_0x45e8e2(0x193)](_0x45e8e2(0x132))['to'](_0x6d9924,_0x45e8e2(0x132),_0x26b499=>_0x45e8e2(0x182)+_0x26b499),this[_0x45e8e2(0x13a)][_0x45e8e2(0x188)](_0x1c9b4d['id'],_0x3d5c17));const _0x4863af=_0x3c86e2[_0x45e8e2(0x16f)](_0x1c9b4d[_0x45e8e2(0x18f)],_0x6d9924),_0x432b43=new _0x299cc2(_0x51ae62,_0x1c9b4d,_0x6d9924,_0x4863af),_0x11dc93=_0x1c9b4d[_0x45e8e2(0x175)]()[_0x45e8e2(0x133)](_0x37a47f=>_0x37a47f[_0x45e8e2(0x15f)]);_0x6d9924[_0x45e8e2(0x183)]=_0x51ae62[_0x45e8e2(0x186)][_0x45e8e2(0x14c)](_0x45e8e2(0x173))[_0x45e8e2(0x185)][_0x45e8e2(0x194)](_0x11dc93),this[_0x45e8e2(0x19f)][_0x45e8e2(0x188)](_0x1c9b4d,_0x432b43),this[_0x45e8e2(0x190)][_0x45e8e2(0x188)](_0x6d9924,_0x432b43);const _0x71219e=_0x449520[_0x45e8e2(0x17d)]({'view':_0x3d5c17,'target':()=>{const _0x2b9615=_0x45e8e2,_0x302e62=[],_0x1ab582=_0x1c9b4d[_0x2b9615(0x175)]()[_0x2b9615(0x133)](_0xa5176e=>_0xa5176e[_0x2b9615(0x15f)]);for(const _0x43b66b of _0x1ab582)_0x302e62[_0x2b9615(0x170)](..._0x43b66b[_0x2b9615(0x14e)]());return _0x41967a(_0x51ae62[_0x2b9615(0x19d)],_0x302e62);},'type':()=>_0x45e8e2(0x182)+_0x432b43[_0x45e8e2(0x176)][_0x45e8e2(0x132)]});_0x3c86e2[_0x45e8e2(0x19b)](_0x6d9924,_0x71219e),_0x449520[_0x45e8e2(0x1a7)](_0x71219e),_0x4279e7[_0x45e8e2(0x131)](_0x71219e);}[_0x263d14(0x1b8)](_0x52ef2f){const _0x11906a=_0x263d14,_0x228298=this[_0x11906a(0x130)][_0x11906a(0x186)][_0x11906a(0x14c)](_0x11906a(0x195)),_0x52c525=this[_0x11906a(0x130)][_0x11906a(0x186)][_0x11906a(0x14c)](_0x11906a(0x157)),_0xf14cfc=this[_0x11906a(0x19f)][_0x11906a(0x14c)](_0x52ef2f),_0xcb35cf=_0xf14cfc[_0x11906a(0x176)],_0x33ad17=_0x52c525[_0x11906a(0x18b)](_0xcb35cf);_0x228298[_0x11906a(0x17a)](_0xcb35cf),_0x33ad17&&_0x52c525[_0x11906a(0x148)](_0x33ad17),this[_0x11906a(0x19f)][_0x11906a(0x15a)](_0x52ef2f),this[_0x11906a(0x190)][_0x11906a(0x15a)](_0xcb35cf),_0xf14cfc[_0x11906a(0x16e)]();}[_0x263d14(0x17e)](_0x15149a){const _0x395e8a=_0x263d14;if(!_0x15149a[_0x395e8a(0x15f)]||!this[_0x395e8a(0x19f)][_0x395e8a(0x1a4)](_0x15149a))return;const _0x11a01a=this[_0x395e8a(0x130)][_0x395e8a(0x186)][_0x395e8a(0x14c)](_0x395e8a(0x173)),_0x204f2d=this[_0x395e8a(0x19f)][_0x395e8a(0x14c)](_0x15149a),_0xa72596=_0x15149a[_0x395e8a(0x175)]();_0x204f2d[_0x395e8a(0x176)][_0x395e8a(0x183)]=_0x11a01a[_0x395e8a(0x185)][_0x395e8a(0x194)](_0xa72596);}[_0x263d14(0x16e)](){const _0x1b88dd=_0x263d14;for(const _0x49617b of this[_0x1b88dd(0x19f)][_0x1b88dd(0x199)]())this[_0x1b88dd(0x1b8)](_0x49617b);for(const _0x2f074d of this[_0x1b88dd(0x13a)][_0x1b88dd(0x152)]())_0x2f074d[_0x1b88dd(0x1ab)][_0x1b88dd(0x16e)]();super[_0x1b88dd(0x16e)]();}}function _0x2db3(_0xc55c5e,_0x37a530){const _0x60b77a=_0x60b7();return _0x2db3=function(_0x2db318,_0x5b6b75){_0x2db318=_0x2db318-0x127;let _0xf03c90=_0x60b77a[_0x2db318];return _0xf03c90;},_0x2db3(_0xc55c5e,_0x37a530);}function ae(_0x4b1bb0){const _0x503133=_0x263d14;return _0x503133(0x189)in _0x4b1bb0;}
|
|
23
|
+
const _0x31a8ee=_0xffde;(function(_0x55f021,_0x47917d){const _0x24a79b=_0xffde,_0x5acf23=_0x55f021();while(!![]){try{const _0xba14d5=-parseInt(_0x24a79b(0xe1))/0x1+-parseInt(_0x24a79b(0xc6))/0x2*(-parseInt(_0x24a79b(0x129))/0x3)+-parseInt(_0x24a79b(0xac))/0x4*(-parseInt(_0x24a79b(0x12b))/0x5)+-parseInt(_0x24a79b(0xed))/0x6*(-parseInt(_0x24a79b(0xd8))/0x7)+-parseInt(_0x24a79b(0xeb))/0x8*(parseInt(_0x24a79b(0xc4))/0x9)+parseInt(_0x24a79b(0x11f))/0xa+parseInt(_0x24a79b(0xbb))/0xb*(-parseInt(_0x24a79b(0xea))/0xc);if(_0xba14d5===_0x47917d)break;else _0x5acf23['push'](_0x5acf23['shift']());}catch(_0x31f0aa){_0x5acf23['push'](_0x5acf23['shift']());}}}(_0x5086,0x62c6f));import{Plugin as _0x4c7605}from'ckeditor5/src/core.js';import{Collection as _0x427ba4}from'ckeditor5/src/utils.js';function _0x5086(){const _0x377078=['remove','keys','menuitemcheckbox','commentThread','_unbindEditors','children','TrackChangesUI','panelView','change:previous','11BdgQtk','destroy','createAnnotationView','SuggestionThreadView','getRanges','previous','length','_createToolbarButton','discardButton','2938050DVocyv','getSuggestion','100Ptgqzm','refreshSelectedViews','set','getAllAdjacentSuggestions','getMarkers','suggestionChanged','define','CommentView','descriptionParts','createCommentThreadController','some','hasSuggestion','discardAllSuggestions','EditorAnnotations','innerView','acceptButton','toMany','init','142597mWAvOD','_annotationViews','mainView','requires','arrowView','_refreshActiveMarkers','view','createAnnotation','registerAnnotation','376020fxmQPC','isEnabled','getDescriptions','Discard\x20all\x20selected\x20suggestions','_updateController','comments.editorConfig','getJoined','comments.maxCommentsWhenCollapsed','reduce','7705476BoIqye','8hzUQzO','componentFactory','222ZscEpv','suggestion-','_handleSuggestionControllerDelayed','add','TrackChangesEditing','suggestionLoaded','_initializeController','_bindAnnotationToEditors','addSourceCollector','descriptionFactory','Discard\x20all\x20suggestions','execute','from','menuBar:trackChanges','Accept\x20all\x20suggestions','discardSelectedSuggestions','clear','suggestionUnloaded','values','delete','getMarkerNames','_viewToController','CommentsRepository','switchbutton','comments.maxCommentCharsWhenCollapsed','delegate','acceptAllSuggestions','items','source','actionView','commands','stopListening','Annotations','menu','commandName','button','type','pluginName','_suggestionToController','model','focus','change:activeAnnotations','menuitem','buttonView','locale','separator','filter','Track\x20changes','lowest','comments.maxThreadTotalWeight','1559030ndADTC','get','acceptSelectedSuggestions','unbind','config','CommentsUI','_createMenuBarMenu','_handleControllerBuffer','trackChanges.disableComments','bind','43215TNdQiE','isMultiRange','5xoKkXo','Accept\x20all\x20selected\x20suggestions','_destroyController','activeAnnotations','editor','head','getFirstRange','listenTo','value','getByInnerView','has','_addUIComponentsToFactory','activeMarkers','plugins','isDirty','isInContent','push','isOn','size','trackChanges.SuggestionThreadView','477216qccjXM','_disableComments','addComment','trackChanges','editing','comments'];_0x5086=function(){return _0x377078;};return _0x5086();}import{addListToDropdown as _0x206fb8,createDropdown as _0x212601,ListSeparatorView as _0x416ce5,MenuBarMenuView as _0x1885a6,MenuBarMenuListView as _0x8abba,MenuBarMenuListItemView as _0x5c86aa,MenuBarMenuListItemButtonView as _0x149bdb,SplitButtonView as _0x244589,ViewModel as _0xc2669f}from'ckeditor5/src/ui.js';import{Users as _0x34eaae,getDateTimeFormatter as _0x676d2b,getAllMarkersDomElementsSorted as _0x22a9a2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x222d5c from'./trackchangesediting.js';function _0xffde(_0x1f8592,_0x591f18){const _0x5086bc=_0x5086();return _0xffde=function(_0xffdee9,_0x369dd6){_0xffdee9=_0xffdee9-0xa8;let _0x4953af=_0x5086bc[_0xffdee9];return _0x4953af;},_0xffde(_0x1f8592,_0x591f18);}import _0x68b165 from'./ui/suggestioncontroller.js';import _0x164528 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5a32a4}from'./utils/common-translations.js';import _0x76b6cd from'../theme/icons/track-changes.svg';export default class d extends _0x4c7605{static get[_0x31a8ee(0xdb)](){const _0x3fa3ef=_0x31a8ee;return[_0x222d5c,_0x34eaae,_0x3fa3ef(0x103),_0x3fa3ef(0x10d),_0x3fa3ef(0xd3)];}static get[_0x31a8ee(0x112)](){const _0x5206aa=_0x31a8ee;return _0x5206aa(0xb8);}constructor(_0x438966){const _0x22cc84=_0x31a8ee;super(_0x438966),this[_0x22cc84(0x113)]=new Map(),this[_0x22cc84(0x102)]=new Map(),this[_0x22cc84(0xd9)]=new Map(),this[_0x22cc84(0x126)]=new Map();const _0x203476=this[_0x22cc84(0x12f)][_0x22cc84(0x123)];_0x203476[_0x22cc84(0xcc)](_0x22cc84(0xab),_0x164528),_0x203476[_0x22cc84(0xcc)](_0x22cc84(0x127),!0x1),this[_0x22cc84(0xad)]=_0x203476[_0x22cc84(0x120)](_0x22cc84(0x127));}[_0x31a8ee(0xef)](_0x7c0bfe,_0x421808){const _0x6f5421=_0x31a8ee;0x0===this[_0x6f5421(0x126)][_0x6f5421(0xaa)]&&setTimeout(()=>{const _0x151854=_0x6f5421;for(const [_0x3c6dfb,_0x34e5a9]of this[_0x151854(0x126)]){const _0x4f9711=this[_0x151854(0x113)][_0x151854(0x135)](_0x3c6dfb);_0x4f9711||_0x34e5a9?_0x4f9711&&_0x34e5a9&&this[_0x151854(0x12d)](_0x3c6dfb):this[_0x151854(0xf3)](_0x3c6dfb);}this[_0x151854(0x126)][_0x151854(0xfd)](),this[_0x151854(0x12f)][_0x151854(0x138)][_0x151854(0x120)](_0x151854(0xd3))[_0x151854(0xc7)](),this[_0x151854(0xdd)]();},0xa),this[_0x6f5421(0x126)][_0x6f5421(0xc8)](_0x7c0bfe,_0x421808);}[_0x31a8ee(0xd7)](){const _0x1b00d1=_0x31a8ee,_0x263118=this[_0x1b00d1(0x12f)],_0x2a5df9=_0x263118[_0x1b00d1(0x138)][_0x1b00d1(0x120)](_0x1b00d1(0xf1)),_0x45af28=_0x263118[_0x1b00d1(0x138)][_0x1b00d1(0x120)](_0x1b00d1(0x10d)),_0x1a710b=_0x263118[_0x1b00d1(0x138)][_0x1b00d1(0x120)](_0x1b00d1(0xd3)),_0x4672cb=_0x263118[_0x1b00d1(0x138)][_0x1b00d1(0x120)](_0x1b00d1(0x103));this[_0x1b00d1(0x136)](),_0x1a710b[_0x1b00d1(0xf5)](()=>{const _0x10252c=_0x1b00d1,_0x5597d9=[];for(const [_0x6c0a0a,_0x448095]of Array[_0x10252c(0xf9)](this[_0x10252c(0x113)])){const _0x23eec9=_0x6c0a0a[_0x10252c(0xc9)](),_0x49e0ae=[];for(const _0x17205e of _0x23eec9){if(!_0x17205e[_0x10252c(0x13a)])continue;if(_0x17205e[_0x10252c(0x12a)]){_0x49e0ae[_0x10252c(0xa8)](..._0x17205e[_0x10252c(0xbf)]());continue;}const _0x4f831e=_0x17205e[_0x10252c(0x131)]();if(_0x49e0ae[_0x10252c(0xc1)]>0x0){const _0x5aeb45=_0x49e0ae[0x0][_0x10252c(0xe7)](_0x4f831e);if(_0x5aeb45){_0x49e0ae[0x0]=_0x5aeb45;continue;}}_0x49e0ae[_0x10252c(0xa8)](_0x4f831e);}_0x5597d9[_0x10252c(0xa8)]([_0x448095[_0x10252c(0xde)],_0x49e0ae]);}return _0x5597d9;}),this[_0x1b00d1(0x132)](_0x2a5df9,_0x1b00d1(0xf2),(_0x43818e,_0x58460b)=>{const _0x2d39d5=_0x1b00d1;this[_0x2d39d5(0x132)](_0x58460b,_0x2d39d5(0xba),(_0x9c942d,_0x395252,_0x39258a,_0x139963)=>{const _0xc14dbc=_0x2d39d5;_0x58460b[_0xc14dbc(0x13a)]&&(null==_0x39258a?(this[_0xc14dbc(0xe5)](_0x139963[_0xc14dbc(0x130)]),this[_0xc14dbc(0xef)](_0x58460b,!0x1)):(this[_0xc14dbc(0xe5)](_0x39258a[_0xc14dbc(0x130)]),null==_0x139963&&this[_0xc14dbc(0xef)](_0x58460b,!0x0)));}),null!==_0x58460b[_0x2d39d5(0xc0)]?this[_0x2d39d5(0xe5)](_0x58460b[_0x2d39d5(0x130)]):this[_0x2d39d5(0xef)](_0x58460b,!0x1);}),this[_0x1b00d1(0x132)](_0x2a5df9,_0x1b00d1(0xfe),(_0x50d94e,_0x94f609,_0x3c1150)=>{const _0x399876=_0x1b00d1;this[_0x399876(0x10c)](_0x94f609,_0x399876(0xba)),this[_0x399876(0x126)][_0x399876(0x100)](_0x94f609),this[_0x399876(0x113)][_0x399876(0x135)](_0x94f609)&&this[_0x399876(0x12d)](_0x94f609),_0x3c1150&&this[_0x399876(0xe5)](_0x3c1150[_0x399876(0x130)]);}),this[_0x1b00d1(0x132)](_0x2a5df9,_0x1b00d1(0xcb),(_0x366b39,_0x2dc821)=>{const _0x5ccbad=_0x1b00d1;this[_0x5ccbad(0xe5)](_0x2dc821);}),this[_0x1b00d1(0x132)](_0x45af28,_0x1b00d1(0x116),()=>{const _0x4cb083=_0x1b00d1;this[_0x4cb083(0xdd)]();}),this[_0x1b00d1(0x132)](_0x4672cb,_0x1b00d1(0xae),(_0xd35dbc,{threadId:_0x5a85da,isFromAdapter:_0x3f1e02})=>{const _0x287f30=_0x1b00d1;if(_0x3f1e02||!_0x2a5df9[_0x287f30(0xd1)](_0x5a85da))return;const _0x1e7a7c=_0x2a5df9[_0x287f30(0xc5)](_0x5a85da);this[_0x287f30(0x113)][_0x287f30(0x120)](_0x1e7a7c)[_0x287f30(0xde)][_0x287f30(0x115)]();},{'priority':_0x1b00d1(0x11d)});}[_0x31a8ee(0xdd)](){const _0x4db8fb=_0x31a8ee,_0x5b6e5d=this[_0x4db8fb(0x12f)][_0x4db8fb(0x138)][_0x4db8fb(0x120)](_0x4db8fb(0x10d)),_0x3f4c39=this[_0x4db8fb(0x12f)][_0x4db8fb(0x138)][_0x4db8fb(0x120)](_0x4db8fb(0xf1)),_0x18c6f=Array[_0x4db8fb(0xf9)](_0x5b6e5d[_0x4db8fb(0x12e)],_0x143f22=>_0x143f22[_0x4db8fb(0xd4)])[_0x4db8fb(0x11b)](_0x460387=>this[_0x4db8fb(0x102)][_0x4db8fb(0x135)](_0x460387)),_0x1335e8=[];for(const _0x2ba641 of _0x18c6f){const _0x212186=this[_0x4db8fb(0x102)][_0x4db8fb(0x120)](_0x2ba641)[_0x4db8fb(0x114)][_0x4db8fb(0xc9)]();_0x1335e8[_0x4db8fb(0xa8)](..._0x212186[_0x4db8fb(0xe9)]((_0x1b2306,_0x272162)=>[..._0x1b2306,..._0x272162[_0x4db8fb(0x101)]()],[]));}_0x3f4c39[_0x4db8fb(0x137)]=_0x1335e8;}[_0x31a8ee(0x136)](){const _0x486b63=_0x31a8ee,_0x51736c=this[_0x486b63(0x12f)],_0x284fc2=_0x51736c[_0x486b63(0x119)],_0x3356ca=_0x5a32a4(_0x284fc2,_0x486b63(0x11c)),_0xfd21ad=new _0x427ba4([{'type':_0x486b63(0x104),'model':new _0xc2669f({'withText':!0x0,'label':_0x3356ca,'commandName':_0x486b63(0xaf),'role':_0x486b63(0xb4)})},{'type':_0x486b63(0x11a)},{'type':_0x486b63(0x110),'model':new _0xc2669f({'withText':!0x0,'label':_0x5a32a4(_0x284fc2,_0x486b63(0xfb)),'commandName':_0x486b63(0x107),'role':_0x486b63(0x117)})},{'type':_0x486b63(0x110),'model':new _0xc2669f({'withText':!0x0,'label':_0x5a32a4(_0x284fc2,_0x486b63(0x12c)),'commandName':_0x486b63(0x121),'role':_0x486b63(0x117)})},{'type':_0x486b63(0x110),'model':new _0xc2669f({'withText':!0x0,'label':_0x5a32a4(_0x284fc2,_0x486b63(0xf7)),'commandName':_0x486b63(0xd2),'role':_0x486b63(0x117)})},{'type':_0x486b63(0x110),'model':new _0xc2669f({'withText':!0x0,'label':_0x5a32a4(_0x284fc2,_0x486b63(0xe4)),'commandName':_0x486b63(0xfc),'role':_0x486b63(0x117)})}]);for(const _0x16cda4 of _0xfd21ad)if(ae(_0x16cda4)){const _0x1f72f0=_0x51736c[_0x486b63(0x10b)][_0x486b63(0x120)](_0x16cda4[_0x486b63(0x114)][_0x486b63(0x10f)]);_0x16cda4[_0x486b63(0x114)][_0x486b63(0x128)](_0x486b63(0xa9),_0x486b63(0xe2))['to'](_0x1f72f0,_0x486b63(0x133),_0x486b63(0xe2));}_0x51736c['ui'][_0x486b63(0xec)][_0x486b63(0xf0)](_0x486b63(0xaf),_0x4c4833=>this[_0x486b63(0xc2)](_0x4c4833,_0xfd21ad,_0x3356ca)),_0x51736c['ui'][_0x486b63(0xec)][_0x486b63(0xf0)](_0x486b63(0xfa),_0x218ba8=>this[_0x486b63(0x125)](_0x218ba8,_0xfd21ad,_0x3356ca));}[_0x31a8ee(0xc2)](_0x2870d5,_0x6a40ba,_0x2e9765){const _0x1faf5c=_0x31a8ee,_0x5eff67=_0x212601(_0x2870d5,_0x244589),_0x12f8df=this[_0x1faf5c(0x12f)][_0x1faf5c(0x10b)][_0x1faf5c(0x120)](_0x1faf5c(0xaf));_0x5eff67[_0x1faf5c(0x118)][_0x1faf5c(0xc8)]({'tooltip':_0x2e9765,'label':_0x2e9765,'icon':_0x76b6cd}),_0x5eff67[_0x1faf5c(0x118)][_0x1faf5c(0x128)](_0x1faf5c(0xa9))['to'](_0x12f8df,_0x1faf5c(0x133)),_0x5eff67[_0x1faf5c(0x118)]['on'](_0x1faf5c(0xf8),()=>{const _0x5d5bf7=_0x1faf5c;_0x12f8df[_0x5d5bf7(0xf8)](),this[_0x5d5bf7(0x12f)][_0x5d5bf7(0xb0)][_0x5d5bf7(0xde)][_0x5d5bf7(0x115)]();}),_0x206fb8(_0x5eff67,_0x6a40ba,{'role':_0x1faf5c(0x10e)});const _0x165bd8=[];for(const _0x395bb of _0x6a40ba)ae(_0x395bb)&&_0x165bd8[_0x1faf5c(0xa8)](this[_0x1faf5c(0x12f)][_0x1faf5c(0x10b)][_0x1faf5c(0x120)](_0x395bb[_0x1faf5c(0x114)][_0x1faf5c(0x10f)]));const _0x97a4f5=_0x5eff67[_0x1faf5c(0x118)];return _0x97a4f5[_0x1faf5c(0x10a)][_0x1faf5c(0x122)](_0x1faf5c(0xe2)),_0x97a4f5[_0x1faf5c(0xdc)][_0x1faf5c(0x122)](_0x1faf5c(0xe2)),_0x97a4f5[_0x1faf5c(0x10a)][_0x1faf5c(0x128)](_0x1faf5c(0xe2))['to'](_0x12f8df,_0x1faf5c(0xe2)),_0x97a4f5[_0x1faf5c(0xdc)][_0x1faf5c(0x128)](_0x1faf5c(0xe2))[_0x1faf5c(0xd6)](_0x165bd8,_0x1faf5c(0xe2),(..._0x1e2aa4)=>_0x1e2aa4[_0x1faf5c(0xd0)](_0xbef425=>_0xbef425)),_0x5eff67['on'](_0x1faf5c(0xf8),_0x100f24=>{const _0x4ee5c9=_0x1faf5c;this[_0x4ee5c9(0x12f)][_0x4ee5c9(0xf8)](_0x100f24[_0x4ee5c9(0x109)][_0x4ee5c9(0x10f)]),this[_0x4ee5c9(0x12f)][_0x4ee5c9(0xb0)][_0x4ee5c9(0xde)][_0x4ee5c9(0x115)]();}),_0x5eff67;}[_0x31a8ee(0x125)](_0x597eec,_0x46b94e,_0x1cef50){const _0x1b2805=_0x31a8ee,_0x5a219f=new _0x1885a6(_0x597eec),_0x3c7d46=this[_0x1b2805(0x12f)][_0x1b2805(0x10b)][_0x1b2805(0x120)](_0x1b2805(0xaf));_0x5a219f[_0x1b2805(0x118)][_0x1b2805(0xc8)]({'label':_0x1cef50,'icon':_0x76b6cd});const _0x59b634=new _0x8abba(_0x597eec);for(const _0x3ed396 of _0x46b94e){if(_0x1b2805(0x11a)==_0x3ed396[_0x1b2805(0x111)]){_0x59b634[_0x1b2805(0x108)][_0x1b2805(0xf0)](new _0x416ce5(_0x597eec));continue;}const _0x423f9b=new _0x5c86aa(_0x597eec,_0x5a219f),_0x46a3fb=new _0x149bdb(_0x597eec),_0x2fa1d4=_0x3ed396[_0x1b2805(0x114)];_0x46a3fb[_0x1b2805(0x128)](...Object[_0x1b2805(0xb3)](_0x2fa1d4))['to'](_0x2fa1d4),_0x46a3fb[_0x1b2805(0x106)](_0x1b2805(0xf8))['to'](_0x5a219f),_0x46a3fb['on'](_0x1b2805(0xf8),()=>{const _0x498f34=_0x1b2805;this[_0x498f34(0x12f)][_0x498f34(0xf8)](_0x2fa1d4[_0x498f34(0x10f)]),this[_0x498f34(0x12f)][_0x498f34(0xb0)][_0x498f34(0xde)][_0x498f34(0x115)]();}),_0x423f9b[_0x1b2805(0xb7)][_0x1b2805(0xf0)](_0x46a3fb),_0x59b634[_0x1b2805(0x108)][_0x1b2805(0xf0)](_0x423f9b);}return _0x5a219f[_0x1b2805(0x128)](_0x1b2805(0xe2))['to'](_0x3c7d46,_0x1b2805(0xe2)),_0x5a219f[_0x1b2805(0xb9)][_0x1b2805(0xb7)][_0x1b2805(0xf0)](_0x59b634),_0x5a219f;}[_0x31a8ee(0xf3)](_0x1af058){const _0x53283a=_0x31a8ee,_0x252b24=this[_0x53283a(0x12f)],_0x2c7d4a=_0x252b24[_0x53283a(0x123)],_0x16a3ba=_0x252b24[_0x53283a(0x138)][_0x53283a(0x120)](_0x53283a(0x10d)),_0x30e5a0=_0x252b24[_0x53283a(0x138)][_0x53283a(0x120)](_0x53283a(0x103)),_0x43a51c=_0x252b24[_0x53283a(0x138)][_0x53283a(0x120)](_0x53283a(0xd3)),_0xde2551=_0x252b24[_0x53283a(0x138)][_0x53283a(0x120)](_0x34eaae)['me'],_0xc27127=_0x2c7d4a[_0x53283a(0x120)](_0x53283a(0xaf))[_0x53283a(0xbe)],{CommentsListView:_0x399709,CommentThreadInputView:_0x4b72db}=_0x252b24[_0x53283a(0x138)][_0x53283a(0x120)](_0x53283a(0x124));let _0x4714e1,_0x167e06;this[_0x53283a(0xd9)][_0x53283a(0x135)](_0x1af058['id'])?(_0x167e06=this[_0x53283a(0xd9)][_0x53283a(0x120)](_0x1af058['id']),_0x4714e1=_0x167e06[_0x53283a(0xda)]):(_0x4714e1=new _0xc27127(_0x252b24[_0x53283a(0x119)],_0x1af058,_0xde2551,{'disableComments':this[_0x53283a(0xad)],'editorConfig':_0x2c7d4a[_0x53283a(0x120)](_0x53283a(0xe6)),'maxCommentsWhenCollapsed':_0x2c7d4a[_0x53283a(0x120)](_0x53283a(0xe8)),'maxThreadTotalWeight':_0x2c7d4a[_0x53283a(0x120)](_0x53283a(0x11e)),'maxCommentCharsWhenCollapsed':_0x2c7d4a[_0x53283a(0x120)](_0x53283a(0x105)),'formatDateTime':_0x676d2b(_0x2c7d4a[_0x53283a(0x120)](_0x53283a(0x119))),'CommentView':_0x2c7d4a[_0x53283a(0x120)](_0x53283a(0xb1))[_0x53283a(0xcd)],'CommentsListView':_0x399709,'CommentThreadInputView':_0x4b72db}),_0x4714e1[_0x53283a(0xd5)]['on'](_0x53283a(0xf8),()=>{const _0x1f0e34=_0x53283a;_0x252b24[_0x1f0e34(0xb0)][_0x1f0e34(0xde)][_0x1f0e34(0x115)]();}),_0x4714e1[_0x53283a(0xc3)]['on'](_0x53283a(0xf8),()=>{const _0x5745bb=_0x53283a;_0x252b24[_0x5745bb(0xb0)][_0x5745bb(0xde)][_0x5745bb(0x115)]();}),_0x167e06=_0x16a3ba[_0x53283a(0xbd)](this[_0x53283a(0x12f)][_0x53283a(0x119)],_0x4714e1),_0x167e06[_0x53283a(0x128)](_0x53283a(0x139))['to'](_0x4714e1,_0x53283a(0x139)),_0x167e06[_0x53283a(0x128)](_0x53283a(0xc1))['to'](_0x4714e1),_0x167e06[_0x53283a(0x128)](_0x53283a(0x111))['to'](_0x4714e1,_0x53283a(0x111),_0x27b7de=>_0x53283a(0xee)+_0x27b7de),this[_0x53283a(0xd9)][_0x53283a(0xc8)](_0x1af058['id'],_0x167e06));const _0x3a47c4=_0x30e5a0[_0x53283a(0xcf)](_0x1af058[_0x53283a(0xb5)],_0x4714e1),_0x3f0089=new _0x68b165(_0x252b24,_0x1af058,_0x4714e1,_0x3a47c4),_0x38bef8=_0x1af058[_0x53283a(0xc9)]()[_0x53283a(0x11b)](_0x1e8539=>_0x1e8539[_0x53283a(0x13a)]);_0x4714e1[_0x53283a(0xce)]=_0x252b24[_0x53283a(0x138)][_0x53283a(0x120)](_0x53283a(0xf1))[_0x53283a(0xf6)][_0x53283a(0xe3)](_0x38bef8),this[_0x53283a(0x113)][_0x53283a(0xc8)](_0x1af058,_0x3f0089),this[_0x53283a(0x102)][_0x53283a(0xc8)](_0x4714e1,_0x3f0089);const _0x2a4410=_0x16a3ba[_0x53283a(0xdf)]({'view':_0x167e06,'target':()=>{const _0xc2e5a2=_0x53283a,_0x56466a=[],_0x5ea6fa=_0x1af058[_0xc2e5a2(0xc9)]()[_0xc2e5a2(0x11b)](_0x53597b=>_0x53597b[_0xc2e5a2(0x13a)]);for(const _0x57e8a3 of _0x5ea6fa)_0x56466a[_0xc2e5a2(0xa8)](..._0x57e8a3[_0xc2e5a2(0xca)]());return _0x22a9a2(_0x252b24[_0xc2e5a2(0xb0)],_0x56466a);},'type':()=>_0x53283a(0xee)+_0x3f0089[_0x53283a(0xde)][_0x53283a(0x111)]});_0x30e5a0[_0x53283a(0xf4)](_0x4714e1,_0x2a4410),_0x16a3ba[_0x53283a(0xf0)](_0x2a4410),_0x43a51c[_0x53283a(0xe0)](_0x2a4410);}[_0x31a8ee(0x12d)](_0x124e2c){const _0xa407c=_0x31a8ee,_0x9f4677=this[_0xa407c(0x12f)][_0xa407c(0x138)][_0xa407c(0x120)](_0xa407c(0x103)),_0x5b456c=this[_0xa407c(0x12f)][_0xa407c(0x138)][_0xa407c(0x120)](_0xa407c(0x10d)),_0x166eb6=this[_0xa407c(0x113)][_0xa407c(0x120)](_0x124e2c),_0x46ffdd=_0x166eb6[_0xa407c(0xde)],_0x3b6654=_0x5b456c[_0xa407c(0x134)](_0x46ffdd);_0x9f4677[_0xa407c(0xb6)](_0x46ffdd),_0x3b6654&&_0x5b456c[_0xa407c(0xb2)](_0x3b6654),this[_0xa407c(0x113)][_0xa407c(0x100)](_0x124e2c),this[_0xa407c(0x102)][_0xa407c(0x100)](_0x46ffdd),_0x166eb6[_0xa407c(0xbc)]();}[_0x31a8ee(0xe5)](_0x376e89){const _0x112a59=_0x31a8ee;if(!_0x376e89[_0x112a59(0x13a)]||!this[_0x112a59(0x113)][_0x112a59(0x135)](_0x376e89))return;const _0x5ed8c0=this[_0x112a59(0x12f)][_0x112a59(0x138)][_0x112a59(0x120)](_0x112a59(0xf1)),_0x53b0bd=this[_0x112a59(0x113)][_0x112a59(0x120)](_0x376e89),_0x27dd96=_0x376e89[_0x112a59(0xc9)]();_0x53b0bd[_0x112a59(0xde)][_0x112a59(0xce)]=_0x5ed8c0[_0x112a59(0xf6)][_0x112a59(0xe3)](_0x27dd96);}[_0x31a8ee(0xbc)](){const _0x5418c7=_0x31a8ee;for(const _0x324a1f of this[_0x5418c7(0x113)][_0x5418c7(0xb3)]())this[_0x5418c7(0x12d)](_0x324a1f);for(const _0xaa892 of this[_0x5418c7(0xd9)][_0x5418c7(0xff)]())_0xaa892[_0x5418c7(0xda)][_0x5418c7(0xbc)]();super[_0x5418c7(0xbc)]();}}function ae(_0x420499){const _0x4f3afd=_0x31a8ee;return _0x4f3afd(0x114)in _0x420499;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2bebd6=_0x5bde;(function(_0x2cde55,_0x1d63bd){const _0x5121f7=_0x5bde,_0x20c30f=_0x2cde55();while(!![]){try{const _0x1fa949=parseInt(_0x5121f7(0x90))/0x1*(-parseInt(_0x5121f7(0x7d))/0x2)+-parseInt(_0x5121f7(0x8c))/0x3*(parseInt(_0x5121f7(0x88))/0x4)+parseInt(_0x5121f7(0x8d))/0x5+parseInt(_0x5121f7(0x98))/0x6*(-parseInt(_0x5121f7(0x94))/0x7)+-parseInt(_0x5121f7(0xa3))/0x8*(-parseInt(_0x5121f7(0x9e))/0x9)+parseInt(_0x5121f7(0x7f))/0xa*(-parseInt(_0x5121f7(0x9c))/0xb)+parseInt(_0x5121f7(0x91))/0xc;if(_0x1fa949===_0x1d63bd)break;else _0x20c30f['push'](_0x20c30f['shift']());}catch(_0x38756a){_0x20c30f['push'](_0x20c30f['shift']());}}}(_0x46f7,0x43f5a));function _0x46f7(){const _0x2ec01e=['9036VlubId','plugins','_acceptCommand','discardSuggestion','3810697ZYAIHi','commentThreadController','2224197SRaSQG','change:isDirty','PENDING_ACTION_SUGGESTION','remove','view','8nUVGdA','isDirty','destroy','canDiscard','_setPendingAction','stopListening','343712bmjrIO','canAccept','10qAolWu','commands','locale','acceptSuggestion','listenTo','_discardCommand','PendingActions','_removePendingAction','_editor','16OJPyCP','unbind','execute','add','59244KJkGEl','1235335LZZYew','_pendingAction','model','2LMnNkq','12151476DxEWDm','getRanges','bind','2135cvXMRB','canEditAt','get','isEnabled'];_0x46f7=function(){return _0x2ec01e;};return _0x46f7();}import{ObservableMixin as _0x3690da}from'ckeditor5/src/utils.js';import{getTranslation as _0x4cc939}from'../utils/common-translations.js';function _0x5bde(_0x46bf45,_0x467fb4){const _0x46f72b=_0x46f7();return _0x5bde=function(_0x5bde2c,_0x12bd60){_0x5bde2c=_0x5bde2c-0x7d;let _0x516770=_0x46f72b[_0x5bde2c];return _0x516770;},_0x5bde(_0x46bf45,_0x467fb4);}export default class oe extends _0x3690da(){constructor(_0x3e3d85,_0x329818,_0x19c21e,_0x46c312){const _0x131bc1=_0x5bde;super(),this[_0x131bc1(0x8f)]=_0x329818,this[_0x131bc1(0xa2)]=_0x19c21e,this[_0x131bc1(0x9d)]=_0x46c312,this[_0x131bc1(0x87)]=_0x3e3d85,this[_0x131bc1(0x9a)]=_0x3e3d85[_0x131bc1(0x80)][_0x131bc1(0x96)](_0x131bc1(0x82)),this[_0x131bc1(0x84)]=_0x3e3d85[_0x131bc1(0x80)][_0x131bc1(0x96)](_0x131bc1(0x9b)),this[_0x131bc1(0xa2)][_0x131bc1(0x93)](_0x131bc1(0x97))['to'](this[_0x131bc1(0x9a)],this[_0x131bc1(0x84)],(_0x4a45b0,_0x4df0e2)=>_0x4a45b0||_0x4df0e2),this[_0x131bc1(0xa2)][_0x131bc1(0x93)](_0x131bc1(0x7e))['to'](this[_0x131bc1(0x9a)],_0x131bc1(0x97),_0x51fe6f=>_0x51fe6f&&this[_0x131bc1(0x87)][_0x131bc1(0x8f)][_0x131bc1(0x95)](_0x329818[_0x131bc1(0x92)]())),this[_0x131bc1(0xa2)][_0x131bc1(0x93)](_0x131bc1(0xa6))['to'](this[_0x131bc1(0x84)],_0x131bc1(0x97),_0x30a9a7=>_0x30a9a7&&this[_0x131bc1(0x87)][_0x131bc1(0x8f)][_0x131bc1(0x95)](_0x329818[_0x131bc1(0x92)]())),this[_0x131bc1(0x8e)]=null,_0x19c21e[_0x131bc1(0xa4)]&&this[_0x131bc1(0xa7)](),this[_0x131bc1(0x83)](_0x19c21e,_0x131bc1(0x82),()=>this[_0x131bc1(0x82)]()),this[_0x131bc1(0x83)](_0x19c21e,_0x131bc1(0x9b),()=>this[_0x131bc1(0x9b)]()),this[_0x131bc1(0x83)](_0x19c21e,_0x131bc1(0x9f),()=>{const _0x375180=_0x131bc1;_0x19c21e[_0x375180(0xa4)]?this[_0x375180(0xa7)]():this[_0x375180(0x86)]();});}[_0x2bebd6(0x82)](){const _0x5489e8=_0x2bebd6;this[_0x5489e8(0x9a)][_0x5489e8(0x8a)](this[_0x5489e8(0x8f)]['id']);}[_0x2bebd6(0x9b)](){const _0x3c6e44=_0x2bebd6;this[_0x3c6e44(0x84)][_0x3c6e44(0x8a)](this[_0x3c6e44(0x8f)]['id']);}[_0x2bebd6(0xa5)](){const _0x29e307=_0x2bebd6;this[_0x29e307(0xa2)][_0x29e307(0x89)](_0x29e307(0x97)),this[_0x29e307(0xa2)][_0x29e307(0x89)](_0x29e307(0x7e)),this[_0x29e307(0xa2)][_0x29e307(0x89)](_0x29e307(0xa6)),this[_0x29e307(0xa8)](),this[_0x29e307(0x9d)][_0x29e307(0xa5)](),this[_0x29e307(0x8e)]&&this[_0x29e307(0x86)]();}[_0x2bebd6(0xa7)](){const _0x4c9526=_0x2bebd6,_0xeff9fd=_0x4cc939(this[_0x4c9526(0x87)][_0x4c9526(0x81)],_0x4c9526(0xa0));this[_0x4c9526(0x8e)]=this[_0x4c9526(0x87)][_0x4c9526(0x99)][_0x4c9526(0x96)](_0x4c9526(0x85))[_0x4c9526(0x8b)](_0xeff9fd);}[_0x2bebd6(0x86)](){const _0xc9af1e=_0x2bebd6;null!==this[_0xc9af1e(0x8e)]&&this[_0xc9af1e(0x87)][_0xc9af1e(0x99)][_0xc9af1e(0x96)](_0xc9af1e(0x85))[_0xc9af1e(0xa1)](this[_0xc9af1e(0x8e)]),this[_0xc9af1e(0x8e)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x539602=_0x1059;(function(_0x3fd85d,_0x4a935a){const _0x27b588=_0x1059,_0xc50ddf=_0x3fd85d();while(!![]){try{const _0x40c5a1=parseInt(_0x27b588(0xf9))/0x1*(parseInt(_0x27b588(0xe2))/0x2)+parseInt(_0x27b588(0xe8))/0x3+-parseInt(_0x27b588(0xe0))/0x4*(-parseInt(_0x27b588(0x10f))/0x5)+parseInt(_0x27b588(0xf8))/0x6*(-parseInt(_0x27b588(0x105))/0x7)+parseInt(_0x27b588(0xde))/0x8*(-parseInt(_0x27b588(0xdd))/0x9)+-parseInt(_0x27b588(0xf4))/0xa+parseInt(_0x27b588(0xe5))/0xb;if(_0x40c5a1===_0x4a935a)break;else _0xc50ddf['push'](_0xc50ddf['shift']());}catch(_0xe20398){_0xc50ddf['push'](_0xc50ddf['shift']());}}}(_0x5a33,0x1fe65));function _0x1059(_0x33f39b,_0x356210){const _0x5a33b4=_0x5a33();return _0x1059=function(_0x105966,_0x3aed3c){_0x105966=_0x105966-0xdd;let _0xfe917a=_0x5a33b4[_0x105966];return _0xfe917a;},_0x1059(_0x33f39b,_0x356210);}import{View as _0x587c6f}from'ckeditor5/src/ui.js';function _0x5a33(){const _0xb267b3=['descriptionParts','isDirty','commentInputView','_createCommentThreadInputView','length','disabledSubmit','_model','updateComment','2609040ayuscD','addComment','commentThread','focus','12wgeVnh','19NMSxYR','isReadOnly','fire','commentsListView','element','submit','delegate','_localUser','set','canDiscard','assign','isActive','440314LyHGtZ','_createCommentViews','disableComments','editor','isEnabled','cancel','setData','_config','locale','value','2970gmtgPA','bind','17811hmwDve','136hPklsM','CommentView','1104bdgaGD','destroy','1886XbmVSR','removeComment','canAccept','1632873tZcHEw','showInput','hasDirtyComment','662124wjueUw','authoredAt','commentThreadInputView','editorConfig'];_0x5a33=function(){return _0xb267b3;};return _0x5a33();}export default class es extends _0x587c6f{constructor(_0x51e582,_0x169785,_0x27da50,_0x56ebdf){const _0x24f49b=_0x1059;super(_0x51e582),this[_0x24f49b(0xfc)]=null,this[_0x24f49b(0xea)]=null,this[_0x24f49b(0x101)](_0x24f49b(0x104),!0x1),this[_0x24f49b(0x101)](_0x24f49b(0xe9),_0x169785[_0x24f49b(0xe9)]),this[_0x24f49b(0x110)](_0x24f49b(0xe9))['to'](_0x169785),this[_0x24f49b(0x101)](_0x24f49b(0xec),[]),this[_0x24f49b(0x101)](_0x24f49b(0xed),!0x1),this[_0x24f49b(0x101)](_0x24f49b(0x109),!0x1),this[_0x24f49b(0x101)](_0x24f49b(0xe4),!0x1),this[_0x24f49b(0x101)](_0x24f49b(0x102),!0x1),this[_0x24f49b(0xf2)]=_0x169785,this[_0x24f49b(0x100)]=_0x27da50,this[_0x24f49b(0x10c)]=_0x56ebdf,_0x56ebdf[_0x24f49b(0x107)]?this[_0x24f49b(0x101)](_0x24f49b(0xf0),0x1):this[_0x24f49b(0x106)]();}[_0x539602(0xf7)](){const _0x41d232=_0x539602;this[_0x41d232(0xfd)][_0x41d232(0xf7)]();}[_0x539602(0xe1)](){const _0x4346e7=_0x539602;this[_0x4346e7(0xfc)]&&this[_0x4346e7(0xfc)][_0x4346e7(0xe1)](),this[_0x4346e7(0xea)]&&this[_0x4346e7(0xea)][_0x4346e7(0xe1)](),super[_0x4346e7(0xe1)]();}[_0x539602(0x106)](){const _0x4f6b87=_0x539602,{CommentsListView:_0x2c4d0d}=this[_0x4f6b87(0x10c)];this[_0x4f6b87(0xfc)]=new _0x2c4d0d(this[_0x4f6b87(0x10d)],this[_0x4f6b87(0xf2)][_0x4f6b87(0xf6)],Object[_0x4f6b87(0x103)]({'CommentView':this[_0x4f6b87(0x10c)][_0x4f6b87(0xdf)]},this[_0x4f6b87(0x10c)])),this[_0x4f6b87(0xfc)][_0x4f6b87(0xff)](_0x4f6b87(0xe3))['to'](this),this[_0x4f6b87(0xfc)][_0x4f6b87(0xff)](_0x4f6b87(0xf3))['to'](this),this[_0x4f6b87(0xfc)][_0x4f6b87(0x110)](_0x4f6b87(0x104))['to'](this),this[_0x4f6b87(0x101)](_0x4f6b87(0xf0),this[_0x4f6b87(0xfc)][_0x4f6b87(0xf0)]+0x1),this[_0x4f6b87(0x110)](_0x4f6b87(0xf0))['to'](this[_0x4f6b87(0xfc)],_0x4f6b87(0xf0),_0x36251b=>_0x36251b+0x1),this[_0x4f6b87(0xea)]=this[_0x4f6b87(0xef)](),this['on'](_0x4f6b87(0xe3),()=>this[_0x4f6b87(0xf7)]()),this[_0x4f6b87(0x110)](_0x4f6b87(0xed))['to'](this[_0x4f6b87(0xfc)],_0x4f6b87(0xe7),this[_0x4f6b87(0xea)][_0x4f6b87(0xee)],_0x4f6b87(0x10e),(_0x2e2101,_0x5299e3)=>_0x2e2101||!!_0x5299e3);}[_0x539602(0xef)](){const _0x563b43=_0x539602,{CommentThreadInputView:_0x316cfb}=this[_0x563b43(0x10c)],_0x32f4f7=new _0x316cfb(this[_0x563b43(0x10d)],this[_0x563b43(0x100)],this[_0x563b43(0x10c)][_0x563b43(0xeb)]),_0x20dcd3=_0x32f4f7[_0x563b43(0xee)];return _0x32f4f7[_0x563b43(0x110)](_0x563b43(0xe6))['to'](this,_0x563b43(0x104),this[_0x563b43(0xf2)][_0x563b43(0xf6)],_0x563b43(0xfa),_0x20dcd3,_0x563b43(0x10e),(_0x4bd388,_0x52739c,_0x1a8ae4)=>!!_0x1a8ae4||_0x4bd388&&!_0x52739c),_0x20dcd3['on'](_0x563b43(0xfe),(_0x292e79,_0x541fbe)=>{const _0x3f1d46=_0x563b43;this[_0x3f1d46(0xfb)](_0x3f1d46(0xf5),_0x541fbe),_0x20dcd3[_0x3f1d46(0x108)][_0x3f1d46(0x10b)]('');}),_0x20dcd3['on'](_0x563b43(0x10a),()=>this[_0x563b43(0xf7)]()),_0x20dcd3[_0x563b43(0x110)](_0x563b43(0xf1))['to'](this[_0x563b43(0xf2)][_0x563b43(0xf6)],_0x563b43(0xfa)),_0x32f4f7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42cb24=_0x560b;(function(_0x523724,_0x2ac10f){const _0x52c0a5=_0x560b,_0x8e9174=_0x523724();while(!![]){try{const _0xece35e=-parseInt(_0x52c0a5(0x248))/0x1*(-parseInt(_0x52c0a5(0x225))/0x2)+parseInt(_0x52c0a5(0x206))/0x3+-parseInt(_0x52c0a5(0x230))/0x4*(-parseInt(_0x52c0a5(0x236))/0x5)+-parseInt(_0x52c0a5(0x23a))/0x6*(-parseInt(_0x52c0a5(0x20d))/0x7)+-parseInt(_0x52c0a5(0x24a))/0x8+-parseInt(_0x52c0a5(0x22b))/0x9*(-parseInt(_0x52c0a5(0x21a))/0xa)+-parseInt(_0x52c0a5(0x1f6))/0xb;if(_0xece35e===_0x2ac10f)break;else _0x8e9174['push'](_0x8e9174['shift']());}catch(_0x573951){_0x8e9174['push'](_0x8e9174['shift']());}}}(_0x39ce,0xb4b9e));import{getTranslation as _0x2c239f}from'../../utils/common-translations.js';import{default as _0x2b368d}from'./basesuggestionthreadview.js';import{ButtonView as _0x3c90de}from'ckeditor5/src/ui.js';import{icons as _0x3e729e}from'ckeditor5/src/core.js';function _0x560b(_0x5014ef,_0x4a0f4b){const _0x39ce85=_0x39ce();return _0x560b=function(_0x560b48,_0x46b27d){_0x560b48=_0x560b48-0x1e4;let _0xd61e36=_0x39ce85[_0x560b48];return _0xd61e36;},_0x560b(_0x5014ef,_0x4a0f4b);}import{trimHtml as _0x2aecc8,UserView as _0x5c53c9}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x2b368d{constructor(_0x6754ec,_0x523685,_0x34ef8d,_0x4a4cba){const _0x37adf4=_0x560b;super(_0x6754ec,_0x523685,_0x34ef8d,_0x4a4cba),this[_0x37adf4(0x22d)](_0x37adf4(0x22f),''),this[_0x37adf4(0x217)](_0x37adf4(0x22f))['to'](this,_0x37adf4(0x249),_0x5a9c2e=>_0x5a9c2e&&_0x5a9c2e[0x0]?_0x5a9c2e[0x0][_0x37adf4(0x22f)]:''),this[_0x37adf4(0x217)](_0x37adf4(0x24d))['to'](this,_0x37adf4(0x249),this,_0x37adf4(0x1fa),(_0x21a204,_0x2ad2d5)=>{const _0x179423=_0x37adf4;let _0x1d0e74='';for(const _0xe93b65 of _0x21a204)_0x1d0e74+=_0x179423(0x1ea)+ds(_0xe93b65[_0x179423(0x22c)],_0xe93b65[_0x179423(0x22e)])+_0x179423(0x214);return _0x2ad2d5?_0x1d0e74:_0x2aecc8(_0x1d0e74,{'limit':0x8c});}),this[_0x37adf4(0x1ef)]=null,this[_0x37adf4(0x24f)]=this[_0x37adf4(0x220)](_0x2c239f(_0x6754ec,_0x37adf4(0x21f)),_0x3e729e[_0x37adf4(0x224)],_0x37adf4(0x251),_0x37adf4(0x223),'sw'),this[_0x37adf4(0x24f)][_0x37adf4(0x217)](_0x37adf4(0x20c))['to'](this,_0x37adf4(0x23e)),this[_0x37adf4(0x221)]=this[_0x37adf4(0x220)](_0x2c239f(_0x6754ec,_0x37adf4(0x23f)),_0x3e729e[_0x37adf4(0x1f1)],_0x37adf4(0x1e9),_0x37adf4(0x24c),'sw'),this[_0x37adf4(0x221)][_0x37adf4(0x217)](_0x37adf4(0x20c))['to'](this,_0x37adf4(0x1e7)),this[_0x37adf4(0x227)]=new _0x5c53c9(_0x6754ec,this[_0x37adf4(0x207)][_0x37adf4(0x252)],this[_0x37adf4(0x235)]()),this[_0x37adf4(0x227)][_0x37adf4(0x1f5)]({'attributes':{'class':[_0x37adf4(0x23d),_0x37adf4(0x23b)]}}),this[_0x37adf4(0x200)](this[_0x37adf4(0x21e)]());}[_0x42cb24(0x21e)](){const _0x13c2bb=_0x42cb24,_0x10889d=this[_0x13c2bb(0x23c)],_0x2dbbc0=[{'tag':_0x13c2bb(0x1e6),'attributes':{'class':[_0x13c2bb(0x218),_0x13c2bb(0x210)]},'children':[{'tag':_0x13c2bb(0x241),'children':[{'text':this[_0x13c2bb(0x227)][_0x13c2bb(0x1f9)]}],'attributes':{'class':[_0x13c2bb(0x250),_0x13c2bb(0x213)]}},{'tag':_0x13c2bb(0x1eb),'attributes':{'datetime':_0x10889d['to'](_0x13c2bb(0x234)),'class':[_0x13c2bb(0x204),_0x13c2bb(0x1ed)]},'children':[{'text':_0x10889d['to'](_0x13c2bb(0x234),_0x52b24=>this[_0x13c2bb(0x243)][_0x13c2bb(0x209)](_0x52b24))}]}]},{'tag':_0x13c2bb(0x1e6),'attributes':{'class':[_0x13c2bb(0x1ff),_0x13c2bb(0x201)]},'children':[this[_0x13c2bb(0x24f)],this[_0x13c2bb(0x221)]]},{'tag':_0x13c2bb(0x1e6),'attributes':{'class':[_0x13c2bb(0x1fb)]}}];this[_0x13c2bb(0x207)][_0x13c2bb(0x1f8)]&&_0x2dbbc0[_0x13c2bb(0x20a)]({'tag':_0x13c2bb(0x1e6),'attributes':{'class':[_0x13c2bb(0x1f0)]},'children':[{'text':this[_0x13c2bb(0x21d)]()}]});const _0x377e80={'tag':_0x13c2bb(0x1e6),'attributes':{'class':[_0x13c2bb(0x242),_0x10889d['if'](_0x13c2bb(0x1fa),_0x13c2bb(0x237)),_0x10889d['to'](_0x13c2bb(0x22f),_0x470881=>_0x13c2bb(0x1fd)+_0x470881),this[_0x13c2bb(0x243)][_0x13c2bb(0x1f2)]&&_0x13c2bb(0x211)],'data-suggestion-id':this[_0x13c2bb(0x207)]['id'],'data-thread-id':this[_0x13c2bb(0x207)][_0x13c2bb(0x1fe)]['id'],'data-author-id':this[_0x13c2bb(0x207)][_0x13c2bb(0x252)]['id'],'tabindex':-0x1},'children':[{'tag':_0x13c2bb(0x1e6),'attributes':{'class':[_0x13c2bb(0x229),_0x13c2bb(0x231)]},'children':[this[_0x13c2bb(0x227)],{'tag':_0x13c2bb(0x1e6),'attributes':{'class':[_0x13c2bb(0x240),_0x13c2bb(0x22a)]},'children':_0x2dbbc0}]}]};return this[_0x13c2bb(0x226)]&&this[_0x13c2bb(0x247)]&&(_0x377e80[_0x13c2bb(0x239)][_0x13c2bb(0x20a)](this[_0x13c2bb(0x226)],this[_0x13c2bb(0x247)]),this[_0x13c2bb(0x226)][_0x13c2bb(0x21c)](_0x13c2bb(0x1e8))['to'](this),this[_0x13c2bb(0x226)][_0x13c2bb(0x21c)](_0x13c2bb(0x245))['to'](this),this[_0x13c2bb(0x247)][_0x13c2bb(0x21c)](_0x13c2bb(0x1e8))['to'](this),this[_0x13c2bb(0x247)][_0x13c2bb(0x21c)](_0x13c2bb(0x245))['to'](this)),_0x377e80;}[_0x42cb24(0x1e4)](){const _0x313429=_0x42cb24;super[_0x313429(0x1e4)](),this[_0x313429(0x1ef)]=this[_0x313429(0x24b)][_0x313429(0x1f7)](_0x313429(0x1f4)),this[_0x313429(0x1ef)][_0x313429(0x208)]=this[_0x313429(0x24d)],this['on'](_0x313429(0x233),(_0x2919ce,_0x4f5d33,_0x99c92e)=>{const _0x4b8aa7=_0x313429;this[_0x4b8aa7(0x1ef)][_0x4b8aa7(0x208)]=_0x99c92e;});}[_0x42cb24(0x220)](_0x153cac,_0x25c39f,_0xcb9cd6,_0x204a62,_0x2031f8){const _0x48cf88=_0x42cb24,_0x4b9a34=new _0x3c90de(this[_0x48cf88(0x205)]);return _0x4b9a34[_0x48cf88(0x22d)]({'label':_0x153cac,'icon':_0x25c39f,'tooltip':!0x0,'tooltipPosition':_0x2031f8}),_0x4b9a34[_0x48cf88(0x1f5)]({'attributes':{'class':_0xcb9cd6}}),_0x4b9a34['on'](_0x48cf88(0x203),()=>{const _0x241b18=_0x48cf88;this[_0x241b18(0x20e)](_0x204a62,this[_0x241b18(0x207)]['id']);}),_0x4b9a34;}[_0x42cb24(0x21d)](){const _0x4d7b6b=_0x42cb24;return _0x4d7b6b(0x20f)===this[_0x4d7b6b(0x207)][_0x4d7b6b(0x1ec)][_0x4d7b6b(0x1ee)][_0x4d7b6b(0x24e)]?_0x2c239f(this[_0x4d7b6b(0x205)],_0x4d7b6b(0x244)):_0x2c239f(this[_0x4d7b6b(0x205)],_0x4d7b6b(0x238));}[_0x42cb24(0x235)](){const _0x400f29=_0x42cb24;return this[_0x400f29(0x207)][_0x400f29(0x1f8)]?_0x400f29(0x20f)===this[_0x400f29(0x207)][_0x400f29(0x1ec)][_0x400f29(0x1ee)][_0x400f29(0x24e)]?_0x2c239f(this[_0x400f29(0x205)],_0x400f29(0x228),this[_0x400f29(0x207)][_0x400f29(0x20b)][_0x400f29(0x1f9)]):_0x2c239f(this[_0x400f29(0x205)],_0x400f29(0x253),this[_0x400f29(0x207)][_0x400f29(0x20b)][_0x400f29(0x1f9)]):null;}}function _0x39ce(){const _0x54414d=['acceptButton','ck-suggestion__info-name','ck-suggestion--accept','author','EXTERNAL_AVATAR','render','value','div','canDiscard','editorReady','ck-suggestion--discard','<p>','time','attributes','ck-annotation__info-time','@external','_descriptionElement','ck-comment__external','cancel','disableComments','createElement','.ck-annotation__content-wrapper','extendTemplate','12376034SuJTfT','querySelector','isExternal','name','isActive','ck-annotation__content-wrapper','</span>','ck-suggestion-','commentThread','ck-suggestion__actions','setTemplate','ck-annotation__actions','\x22></span>','execute','ck-comment__info-time','locale','3049824TGjbDM','_model','innerHTML','formatDateTime','push','creator','isEnabled','205261sThsoA','fire','importWord','ck-annotation__info','ck-suggestion--disabled-comments','map','ck-annotation__info-name','</p>','\x22\x20title=\x22','join','bind','ck-suggestion__info','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','684210bjFgGC','innerText','delegate','getExternalSuggestionNote','getTemplate','Accept\x20suggestion','_createButton','discardButton','<span\x20class=\x22ck-suggestion-type\x22>','acceptSuggestion','check','2152gUAIST','commentsListView','userView','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion','ck-annotation__main','27bLSkiQ','content','set','color','type','180nAuzdW','ck-annotation','split','change:description','authoredAt','getUserViewNotificationText','75435SrNHBm','ck-suggestion-wrapper--active','EXTERNAL_SUGGESTION','children','150vIttbb','ck-annotation__user','bindTemplate','ck-suggestion__user','canAccept','Discard\x20suggestion','ck-suggestion__main','span','ck-suggestion-wrapper','_config','EXTERNAL_IMPORT_WORD_SUGGESTION','editorDestroyed','title','commentThreadInputView','261Lrsoja','descriptionParts','8394792KAxPdF','element','discardSuggestion','description','source'];_0x39ce=function(){return _0x54414d;};return _0x39ce();}function ds(_0x43c070,_0x4f31fe){const _0x480e2a=_0x42cb24;let _0x1657a7='';return _0x1657a7+=_0x43c070[_0x480e2a(0x232)]('*')[_0x480e2a(0x212)]((_0x5e432a,_0x2cf3dd)=>_0x2cf3dd%0x2!=0x0?_0x480e2a(0x222)+us(_0x5e432a)+_0x480e2a(0x1fc):us(_0x5e432a))[_0x480e2a(0x216)](''),_0x4f31fe&&(_0x1657a7+=_0x480e2a(0x219)+_0x4f31fe[_0x480e2a(0x1e5)]+_0x480e2a(0x215)+_0x4f31fe[_0x480e2a(0x246)]+_0x480e2a(0x202)),_0x1657a7;}function us(_0x2913d3){const _0x194272=_0x42cb24,_0x3ef94d=document[_0x194272(0x1f3)](_0x194272(0x241));return _0x3ef94d[_0x194272(0x21b)]=_0x2913d3,_0x3ef94d[_0x194272(0x208)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x231bbf,_0x254e22,_0x2abfa4){const t=_0x231bbf['t'];switch(_0x254e22){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',_0x2abfa4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2abfa4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2abfa4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2abfa4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2abfa4);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',_0x2abfa4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2abfa4);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',_0x2abfa4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2abfa4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2abfa4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2abfa4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2abfa4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2abfa4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2abfa4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2abfa4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2abfa4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2abfa4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2abfa4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2abfa4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2abfa4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2abfa4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2abfa4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2abfa4);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'},_0x2abfa4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2abfa4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2abfa4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2abfa4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2abfa4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2abfa4);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'},_0x2abfa4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2abfa4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2abfa4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2abfa4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2abfa4);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'},_0x2abfa4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2abfa4);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'},_0x2abfa4);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'},_0x2abfa4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2abfa4);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'},_0x2abfa4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2abfa4);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'},_0x2abfa4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2abfa4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2abfa4);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'},_0x2abfa4);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'},_0x2abfa4);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 _0x254e22;}}
|
|
23
|
+
export function getTranslation(_0x4e593a,_0x3772c2,_0xc7a310){const t=_0x4e593a['t'];switch(_0x3772c2){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',_0xc7a310);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xc7a310);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xc7a310);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xc7a310);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xc7a310);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',_0xc7a310);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xc7a310);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',_0xc7a310);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xc7a310);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xc7a310);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xc7a310);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xc7a310);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xc7a310);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xc7a310);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xc7a310);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xc7a310);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xc7a310);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xc7a310);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xc7a310);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xc7a310);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xc7a310);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xc7a310);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xc7a310);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'},_0xc7a310);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xc7a310);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xc7a310);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xc7a310);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xc7a310);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xc7a310);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'},_0xc7a310);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xc7a310);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xc7a310);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xc7a310);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xc7a310);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'},_0xc7a310);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xc7a310);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'},_0xc7a310);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'},_0xc7a310);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xc7a310);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'},_0xc7a310);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xc7a310);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'},_0xc7a310);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xc7a310);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xc7a310);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'},_0xc7a310);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'},_0xc7a310);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 _0x3772c2;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2d7668,_0x403bec){const _0x45b504=_0x28da,_0x1e8635=_0x2d7668();while(!![]){try{const _0x2647dd=-parseInt(_0x45b504(0xa1))/0x1*(parseInt(_0x45b504(0x87))/0x2)+parseInt(_0x45b504(0x84))/0x3+parseInt(_0x45b504(0xa0))/0x4+-parseInt(_0x45b504(0xa3))/0x5*(-parseInt(_0x45b504(0x8f))/0x6)+parseInt(_0x45b504(0x96))/0x7+parseInt(_0x45b504(0x9a))/0x8+-parseInt(_0x45b504(0xa4))/0x9*(parseInt(_0x45b504(0x98))/0xa);if(_0x2647dd===_0x403bec)break;else _0x1e8635['push'](_0x1e8635['shift']());}catch(_0x27b09e){_0x1e8635['push'](_0x1e8635['shift']());}}}(_0x103c,0xa9ea5));export function normalizeDescription(_0x2bdc94){const _0x39ae6d=_0x28da;return Array[_0x39ae6d(0x95)](_0x2bdc94)||(_0x2bdc94=[_0x2bdc94]),_0x2bdc94[_0x39ae6d(0xa2)](_0x55b581=>{const _0x51b5cc=_0x39ae6d,_0x3013bc=_0x55b581[_0x51b5cc(0x99)][_0x51b5cc(0x97)](/\*/g,''),_0x1c8498=_0x55b581[_0x51b5cc(0x94)]?_0x51b5cc(0x85)+_0x55b581[_0x51b5cc(0x94)][_0x51b5cc(0x89)]+']':'';return'['+_0x55b581[_0x51b5cc(0x82)]+']\x20'+_0x3013bc+_0x1c8498;})[_0x39ae6d(0x92)](';\x20');}export function sortSuggestions(_0x5762d8){const _0x2899d4=_0x28da;return _0x5762d8[_0x2899d4(0x9b)]((_0x45c68f,_0x1c32f5)=>_0x2899d4(0x7e)==_0x45c68f[_0x2899d4(0x82)]&&_0x2899d4(0x7e)!=_0x1c32f5[_0x2899d4(0x82)]?-0x1:_0x2899d4(0x7e)!=_0x45c68f[_0x2899d4(0x82)]&&_0x2899d4(0x7e)==_0x1c32f5[_0x2899d4(0x82)]?0x1:0x0);}export function getSelectedSuggestions(_0x4056ba,_0x287557){const _0x5bae11=_0x28da,_0x15a98f=Array[_0x5bae11(0x8d)](_0x4056ba[_0x5bae11(0x80)]()),_0x5e092f=new Set();for(const _0x136e95 of _0x287557)if(_0x136e95[_0x5bae11(0xa6)]){for(const _0x18ad53 of _0x15a98f)for(const _0x270ab2 of _0x136e95[_0x5bae11(0x80)]())(_0x18ad53[_0x5bae11(0x83)](_0x270ab2)||_0x4056ba[_0x5bae11(0x8e)]&&!_0x136e95[_0x5bae11(0x7d)]&&_0x136e95[_0x5bae11(0x90)]&&_0x270ab2[_0x5bae11(0x9f)][_0x5bae11(0x7f)](_0x18ad53[_0x5bae11(0x9e)]))&&_0x5e092f[_0x5bae11(0x8b)](_0x136e95);}return _0x5e092f;}export function getRangesOfBlockGroups(_0x5ce37c,_0x1eb5cf){const _0x3dff54=_0x28da;let _0x41f070,_0x4d60c3=0x0;const _0x241909=[],_0x5cd54f=_0x1eb5cf[_0x3dff54(0x91)];for(;_0x4d60c3<_0x5ce37c[_0x3dff54(0x93)];){const _0x1c3130=_0x5ce37c[_0x4d60c3],_0x46d4c2=_0x5ce37c[_0x4d60c3+0x1];_0x41f070||(_0x41f070=_0x1eb5cf[_0x3dff54(0x81)](_0x1c3130)),co(_0x1eb5cf,_0x1c3130,_0x46d4c2)||(_0x241909[_0x3dff54(0xa7)](_0x1eb5cf[_0x3dff54(0x9c)](_0x41f070,_0x5cd54f[_0x3dff54(0x9d)](_0x1c3130)?_0x1eb5cf[_0x3dff54(0x88)](_0x1c3130):_0x1eb5cf[_0x3dff54(0x8c)](_0x1c3130,_0x3dff54(0x9f)))),_0x41f070=null),_0x4d60c3++;}return _0x241909;}function co(_0x63034,_0x42f8ad,_0x5700a1){const _0x241aad=_0x28da;if(!_0x5700a1)return!0x1;const _0x5811e7=_0x63034[_0x241aad(0x88)](_0x42f8ad),_0x138195=_0x63034[_0x241aad(0x81)](_0x5700a1);return _0x5811e7[_0x241aad(0x7f)](_0x138195);}function _0x28da(_0x186aed,_0x40cf86){const _0x103cc8=_0x103c();return _0x28da=function(_0x28daf1,_0x144c5f){_0x28daf1=_0x28daf1-0x7d;let _0x3c129b=_0x103cc8[_0x28daf1];return _0x3c129b;},_0x28da(_0x186aed,_0x40cf86);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x103c(){const _0x4f0a6d=['getRanges','createPositionBefore','type','isIntersecting','2133783HLYYKD','\x20[color\x20','change','2pzVKgM','createPositionAfter','value','splice','add','createPositionAt','from','isCollapsed','5585838xlrHny','next','schema','join','length','color','isArray','3398794ULGTBF','replace','160PDhtvZ','content','10212496BGQDwM','sort','createRange','isObject','start','end','136680wGTwqx','1255559YtwQhM','map','5WvwXXW','836424CvrPqU','execute','isInContent','push','isMultiRange','deletion','isTouching'];_0x103c=function(){return _0x4f0a6d;};return _0x103c();}export function executeCommandForSuggestions(_0x4b54b8,_0x4a8d2c,_0x27fdbc){const _0x5a6a28=_0x28da;for(;_0x27fdbc[_0x5a6a28(0x93)];){const _0x27410b=_0x27fdbc[_0x5a6a28(0x8a)](0x0,0x64);_0x4b54b8[_0x5a6a28(0x86)](()=>{const _0x4d8a7c=_0x5a6a28;for(const _0x474882 of _0x27410b)_0x474882[_0x4d8a7c(0xa6)]&&_0x4a8d2c[_0x4d8a7c(0xa5)](_0x474882['id']);});}}
|