@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240708.0 → 0.0.0-nightly-20240710.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1794e3=_0x12db;function _0x12db(_0x56ee5e,_0x57a582){const _0x2e5e91=_0x2e5e();return _0x12db=function(_0x12dbf8,_0x5ad2b8){_0x12dbf8=_0x12dbf8-0xee;let _0x445094=_0x2e5e91[_0x12dbf8];return _0x445094;},_0x12db(_0x56ee5e,_0x57a582);}function _0x2e5e(){const _0x40b183=['2671944gYIdKN','createAnnotationView','5iSDuPQ','getMarkers','switchbutton','acceptAllSuggestions','TrackChangesUI','requires','getMarkerNames','trackChanges','menuBar:trackChanges','Accept\x20all\x20selected\x20suggestions','locale','Discard\x20all\x20suggestions','comments','isMultiRange','comments.maxCommentsWhenCollapsed','getDescriptions','destroy','getFirstRange','_refreshActiveMarkers','keys','Annotations','createAnnotation','menuitemcheckbox','459649CLjZOI','activeAnnotations','editor','head','discardSelectedSuggestions','from','values','bind','_destroyController','discardButton','refreshSelectedViews','toMany','commandName','config','arrowView','init','suggestionChanged','previous','_addUIComponentsToFactory','createCommentThreadController','change:previous','CommentsUI','stopListening','reduce','actionView','view','buttonView','menu','source','_handleControllerBuffer','isEnabled','acceptSelectedSuggestions','commentThread','_annotationViews','innerView','activeMarkers','change:activeAnnotations','set','commands','SuggestionThreadView','addComment','length','trackChanges.SuggestionThreadView','panelView','Accept\x20all\x20suggestions','1237220WaVatC','_updateController','discardAllSuggestions','getSuggestion','lowest','descriptionFactory','19449522TSTRer','menuitem','model','listenTo','descriptionParts','561267MUBTbn','editing','type','trackChanges.disableComments','369687WSVTfC','comments.maxCommentCharsWhenCollapsed','size','getRanges','suggestionLoaded','EditorAnnotations','getAllAdjacentSuggestions','push','mainView','getByInnerView','TrackChangesEditing','remove','children','separator','_createMenuBarMenu','hasSuggestion','8uJHInw','filter','delete','pluginName','Track\x20changes','componentFactory','CommentView','Discard\x20all\x20selected\x20suggestions','addSourceCollector','button','add','_createToolbarButton','_viewToController','plugins','suggestionUnloaded','acceptButton','_unbindEditors','_suggestionToController','isOn','isDirty','clear','comments.maxThreadTotalWeight','831618GKVunB','isInContent','get','suggestion-','CommentsRepository','delegate','_handleSuggestionControllerDelayed','items','some','comments.editorConfig','define','getJoined','execute','focus','registerAnnotation','_disableComments','has','_bindAnnotationToEditors','unbind','value','_initializeController'];_0x2e5e=function(){return _0x40b183;};return _0x2e5e();}(function(_0x370055,_0x253831){const _0x3c9bdb=_0x12db,_0x2e4a62=_0x370055();while(!![]){try{const _0x3c32df=-parseInt(_0x3c9bdb(0xff))/0x1+-parseInt(_0x3c9bdb(0x161))/0x2+-parseInt(_0x3c9bdb(0x13b))/0x3+parseInt(_0x3c9bdb(0x12c))/0x4*(-parseInt(_0x3c9bdb(0x178))/0x5)+-parseInt(_0x3c9bdb(0x176))/0x6+-parseInt(_0x3c9bdb(0x137))/0x7+parseInt(_0x3c9bdb(0x14b))/0x8*(parseInt(_0x3c9bdb(0x132))/0x9);if(_0x3c32df===_0x253831)break;else _0x2e4a62['push'](_0x2e4a62['shift']());}catch(_0x2ec246){_0x2e4a62['push'](_0x2e4a62['shift']());}}}(_0x2e5e,0x4ff89));import{Plugin as _0x142452}from'ckeditor5/src/core.js';import{Collection as _0xf55c7f}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x278471,createDropdown as _0x4f3685,ListSeparatorView as _0x5465e5,MenuBarMenuView as _0xa2b581,MenuBarMenuListView as _0x54835a,MenuBarMenuListItemView as _0x16549b,MenuBarMenuListItemButtonView as _0x284649,SplitButtonView as _0x2c04d3,ViewModel as _0x41831c}from'ckeditor5/src/ui.js';import{Users as _0xb380b8,getDateTimeFormatter as _0x1472d8,getAllMarkersDomElementsSorted as _0x1f1e5f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3bcf57 from'./trackchangesediting.js';import _0x3d402a from'./ui/suggestioncontroller.js';import _0x3923a3 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x56e09d}from'./utils/common-translations.js';import _0x5b8536 from'../theme/icons/track-changes.svg';export default class d extends _0x142452{static get[_0x1794e3(0x17d)](){const _0x469e8f=_0x1794e3;return[_0x3bcf57,_0xb380b8,_0x469e8f(0x165),_0x469e8f(0xfc),_0x469e8f(0x140)];}static get[_0x1794e3(0x14e)](){const _0xf457dc=_0x1794e3;return _0xf457dc(0x17c);}constructor(_0x43bc78){const _0x4372b1=_0x1794e3;super(_0x43bc78),this[_0x4372b1(0x15c)]=new Map(),this[_0x4372b1(0x157)]=new Map(),this[_0x4372b1(0x120)]=new Map(),this[_0x4372b1(0x11c)]=new Map();const _0x39733f=this[_0x4372b1(0x101)][_0x4372b1(0x10c)];_0x39733f[_0x4372b1(0x16b)](_0x4372b1(0x129),_0x3923a3),_0x39733f[_0x4372b1(0x16b)](_0x4372b1(0x13a),!0x1),this[_0x4372b1(0x170)]=_0x39733f[_0x4372b1(0x163)](_0x4372b1(0x13a));}[_0x1794e3(0x167)](_0x2ed6b3,_0x9a6049){const _0x4c19c7=_0x1794e3;0x0===this[_0x4c19c7(0x11c)][_0x4c19c7(0x13d)]&&setTimeout(()=>{const _0x18bc99=_0x4c19c7;for(const [_0x5b96e0,_0x57ce0b]of this[_0x18bc99(0x11c)]){const _0x594fc0=this[_0x18bc99(0x15c)][_0x18bc99(0x171)](_0x5b96e0);_0x594fc0||_0x57ce0b?_0x594fc0&&_0x57ce0b&&this[_0x18bc99(0x107)](_0x5b96e0):this[_0x18bc99(0x175)](_0x5b96e0);}this[_0x18bc99(0x11c)][_0x18bc99(0x15f)](),this[_0x18bc99(0x101)][_0x18bc99(0x158)][_0x18bc99(0x163)](_0x18bc99(0x140))[_0x18bc99(0x109)](),this[_0x18bc99(0xfa)]();},0xa),this[_0x4c19c7(0x11c)][_0x4c19c7(0x124)](_0x2ed6b3,_0x9a6049);}[_0x1794e3(0x10e)](){const _0x32c3bf=_0x1794e3,_0x2931da=this[_0x32c3bf(0x101)],_0x5e4730=_0x2931da[_0x32c3bf(0x158)][_0x32c3bf(0x163)](_0x32c3bf(0x145)),_0x230699=_0x2931da[_0x32c3bf(0x158)][_0x32c3bf(0x163)](_0x32c3bf(0xfc)),_0x1f8746=_0x2931da[_0x32c3bf(0x158)][_0x32c3bf(0x163)](_0x32c3bf(0x140)),_0x4afd3e=_0x2931da[_0x32c3bf(0x158)][_0x32c3bf(0x163)](_0x32c3bf(0x165));this[_0x32c3bf(0x111)](),_0x1f8746[_0x32c3bf(0x153)](()=>{const _0x3823a7=_0x32c3bf,_0x962331=[];for(const [_0x329599,_0x2cee49]of Array[_0x3823a7(0x104)](this[_0x3823a7(0x15c)])){const _0x2a3dc6=_0x329599[_0x3823a7(0x141)](),_0xa2d8a7=[];for(const _0x4e3d24 of _0x2a3dc6){if(!_0x4e3d24[_0x3823a7(0x162)])continue;if(_0x4e3d24[_0x3823a7(0xf5)]){_0xa2d8a7[_0x3823a7(0x142)](..._0x4e3d24[_0x3823a7(0x13e)]());continue;}const _0x1e43f3=_0x4e3d24[_0x3823a7(0xf9)]();if(_0xa2d8a7[_0x3823a7(0x128)]>0x0){const _0x4fc50a=_0xa2d8a7[0x0][_0x3823a7(0x16c)](_0x1e43f3);if(_0x4fc50a){_0xa2d8a7[0x0]=_0x4fc50a;continue;}}_0xa2d8a7[_0x3823a7(0x142)](_0x1e43f3);}_0x962331[_0x3823a7(0x142)]([_0x2cee49[_0x3823a7(0x118)],_0xa2d8a7]);}return _0x962331;}),this[_0x32c3bf(0x135)](_0x5e4730,_0x32c3bf(0x13f),(_0x55a2a5,_0x5730da)=>{const _0x5ad8c9=_0x32c3bf;this[_0x5ad8c9(0x135)](_0x5730da,_0x5ad8c9(0x113),(_0x422540,_0x4a25a7,_0xe44c4e,_0x437456)=>{const _0x406b27=_0x5ad8c9;_0x5730da[_0x406b27(0x162)]&&(null==_0xe44c4e?(this[_0x406b27(0x12d)](_0x437456[_0x406b27(0x102)]),this[_0x406b27(0x167)](_0x5730da,!0x1)):(this[_0x406b27(0x12d)](_0xe44c4e[_0x406b27(0x102)]),null==_0x437456&&this[_0x406b27(0x167)](_0x5730da,!0x0)));}),null!==_0x5730da[_0x5ad8c9(0x110)]?this[_0x5ad8c9(0x12d)](_0x5730da[_0x5ad8c9(0x102)]):this[_0x5ad8c9(0x167)](_0x5730da,!0x1);}),this[_0x32c3bf(0x135)](_0x5e4730,_0x32c3bf(0x159),(_0x3b701c,_0x5739d9,_0x29c6a7)=>{const _0x3e7192=_0x32c3bf;this[_0x3e7192(0x115)](_0x5739d9,_0x3e7192(0x113)),this[_0x3e7192(0x11c)][_0x3e7192(0x14d)](_0x5739d9),this[_0x3e7192(0x15c)][_0x3e7192(0x171)](_0x5739d9)&&this[_0x3e7192(0x107)](_0x5739d9),_0x29c6a7&&this[_0x3e7192(0x12d)](_0x29c6a7[_0x3e7192(0x102)]);}),this[_0x32c3bf(0x135)](_0x5e4730,_0x32c3bf(0x10f),(_0x2e186e,_0x3614ae)=>{const _0xb38f32=_0x32c3bf;this[_0xb38f32(0x12d)](_0x3614ae);}),this[_0x32c3bf(0x135)](_0x230699,_0x32c3bf(0x123),()=>{const _0x7b8039=_0x32c3bf;this[_0x7b8039(0xfa)]();}),this[_0x32c3bf(0x135)](_0x4afd3e,_0x32c3bf(0x127),(_0x4307d0,{threadId:_0x4741f5,isFromAdapter:_0x27f90c})=>{const _0x113d74=_0x32c3bf;if(_0x27f90c||!_0x5e4730[_0x113d74(0x14a)](_0x4741f5))return;const _0x488fe3=_0x5e4730[_0x113d74(0x12f)](_0x4741f5);this[_0x113d74(0x15c)][_0x113d74(0x163)](_0x488fe3)[_0x113d74(0x118)][_0x113d74(0x16e)]();},{'priority':_0x32c3bf(0x130)});}[_0x1794e3(0xfa)](){const _0x3afde4=_0x1794e3,_0x11fbbf=this[_0x3afde4(0x101)][_0x3afde4(0x158)][_0x3afde4(0x163)](_0x3afde4(0xfc)),_0x3bfe31=this[_0x3afde4(0x101)][_0x3afde4(0x158)][_0x3afde4(0x163)](_0x3afde4(0x145)),_0x4d1bcc=Array[_0x3afde4(0x104)](_0x11fbbf[_0x3afde4(0x100)],_0x1474c3=>_0x1474c3[_0x3afde4(0x121)])[_0x3afde4(0x14c)](_0x113742=>this[_0x3afde4(0x157)][_0x3afde4(0x171)](_0x113742)),_0x37b037=[];for(const _0x5214b1 of _0x4d1bcc){const _0xff304f=this[_0x3afde4(0x157)][_0x3afde4(0x163)](_0x5214b1)[_0x3afde4(0x134)][_0x3afde4(0x141)]();_0x37b037[_0x3afde4(0x142)](..._0xff304f[_0x3afde4(0x116)]((_0xc393b9,_0x32c78e)=>[..._0xc393b9,..._0x32c78e[_0x3afde4(0xee)]()],[]));}_0x3bfe31[_0x3afde4(0x122)]=_0x37b037;}[_0x1794e3(0x111)](){const _0x12788c=_0x1794e3,_0x4c3218=this[_0x12788c(0x101)],_0x50349c=_0x4c3218[_0x12788c(0xf2)],_0x3dc22f=_0x56e09d(_0x50349c,_0x12788c(0x14f)),_0x1af313=new _0xf55c7f([{'type':_0x12788c(0x17a),'model':new _0x41831c({'withText':!0x0,'isToggleable':!0x0,'label':_0x3dc22f,'commandName':_0x12788c(0xef),'role':_0x12788c(0xfe)})},{'type':_0x12788c(0x148)},{'type':_0x12788c(0x154),'model':new _0x41831c({'withText':!0x0,'label':_0x56e09d(_0x50349c,_0x12788c(0x12b)),'commandName':_0x12788c(0x17b),'role':_0x12788c(0x133)})},{'type':_0x12788c(0x154),'model':new _0x41831c({'withText':!0x0,'label':_0x56e09d(_0x50349c,_0x12788c(0xf1)),'commandName':_0x12788c(0x11e),'role':_0x12788c(0x133)})},{'type':_0x12788c(0x154),'model':new _0x41831c({'withText':!0x0,'label':_0x56e09d(_0x50349c,_0x12788c(0xf3)),'commandName':_0x12788c(0x12e),'role':_0x12788c(0x133)})},{'type':_0x12788c(0x154),'model':new _0x41831c({'withText':!0x0,'label':_0x56e09d(_0x50349c,_0x12788c(0x152)),'commandName':_0x12788c(0x103),'role':_0x12788c(0x133)})}]);for(const _0x2e9ac4 of _0x1af313)if(ae(_0x2e9ac4)){const _0x1c902a=_0x4c3218[_0x12788c(0x125)][_0x12788c(0x163)](_0x2e9ac4[_0x12788c(0x134)][_0x12788c(0x10b)]);_0x2e9ac4[_0x12788c(0x134)][_0x12788c(0x106)](_0x12788c(0x15d),_0x12788c(0x11d))['to'](_0x1c902a,_0x12788c(0x174),_0x12788c(0x11d));}_0x4c3218['ui'][_0x12788c(0x150)][_0x12788c(0x155)](_0x12788c(0xef),_0x59e59d=>this[_0x12788c(0x156)](_0x59e59d,_0x1af313,_0x3dc22f)),_0x4c3218['ui'][_0x12788c(0x150)][_0x12788c(0x155)](_0x12788c(0xf0),_0x28fc41=>this[_0x12788c(0x149)](_0x28fc41,_0x1af313,_0x3dc22f));}[_0x1794e3(0x156)](_0x2a1fd2,_0x5b10c0,_0x177967){const _0x58e8a3=_0x1794e3,_0x6c5b53=_0x4f3685(_0x2a1fd2,_0x2c04d3),_0x28be6c=this[_0x58e8a3(0x101)][_0x58e8a3(0x125)][_0x58e8a3(0x163)](_0x58e8a3(0xef));_0x6c5b53[_0x58e8a3(0x119)][_0x58e8a3(0x124)]({'tooltip':_0x177967,'label':_0x177967,'icon':_0x5b8536}),_0x6c5b53[_0x58e8a3(0x119)][_0x58e8a3(0x106)](_0x58e8a3(0x15d))['to'](_0x28be6c,_0x58e8a3(0x174)),_0x6c5b53[_0x58e8a3(0x119)]['on'](_0x58e8a3(0x16d),()=>{const _0x1f1f39=_0x58e8a3;_0x28be6c[_0x1f1f39(0x16d)](),this[_0x1f1f39(0x101)][_0x1f1f39(0x138)][_0x1f1f39(0x118)][_0x1f1f39(0x16e)]();}),_0x278471(_0x6c5b53,_0x5b10c0,{'role':_0x58e8a3(0x11a)});const _0x18d2d7=[];for(const _0x390b76 of _0x5b10c0)ae(_0x390b76)&&_0x18d2d7[_0x58e8a3(0x142)](this[_0x58e8a3(0x101)][_0x58e8a3(0x125)][_0x58e8a3(0x163)](_0x390b76[_0x58e8a3(0x134)][_0x58e8a3(0x10b)]));const _0x391020=_0x6c5b53[_0x58e8a3(0x119)];return _0x391020[_0x58e8a3(0x117)][_0x58e8a3(0x173)](_0x58e8a3(0x11d)),_0x391020[_0x58e8a3(0x10d)][_0x58e8a3(0x173)](_0x58e8a3(0x11d)),_0x391020[_0x58e8a3(0x117)][_0x58e8a3(0x106)](_0x58e8a3(0x11d))['to'](_0x28be6c,_0x58e8a3(0x11d)),_0x391020[_0x58e8a3(0x10d)][_0x58e8a3(0x106)](_0x58e8a3(0x11d))[_0x58e8a3(0x10a)](_0x18d2d7,_0x58e8a3(0x11d),(..._0x5ca1a5)=>_0x5ca1a5[_0x58e8a3(0x169)](_0x2aec19=>_0x2aec19)),_0x6c5b53['on'](_0x58e8a3(0x16d),_0x25928d=>{const _0x2422b2=_0x58e8a3;this[_0x2422b2(0x101)][_0x2422b2(0x16d)](_0x25928d[_0x2422b2(0x11b)][_0x2422b2(0x10b)]),this[_0x2422b2(0x101)][_0x2422b2(0x138)][_0x2422b2(0x118)][_0x2422b2(0x16e)]();}),_0x6c5b53;}[_0x1794e3(0x149)](_0x553ecc,_0x5e7096,_0x299b7e){const _0x575152=_0x1794e3,_0x26b654=new _0xa2b581(_0x553ecc),_0x1dd2d0=this[_0x575152(0x101)][_0x575152(0x125)][_0x575152(0x163)](_0x575152(0xef));_0x26b654[_0x575152(0x119)][_0x575152(0x124)]({'label':_0x299b7e,'icon':_0x5b8536});const _0x5cf726=new _0x54835a(_0x553ecc);for(const _0x4bbf77 of _0x5e7096){if(_0x575152(0x148)==_0x4bbf77[_0x575152(0x139)]){_0x5cf726[_0x575152(0x168)][_0x575152(0x155)](new _0x5465e5(_0x553ecc));continue;}const _0x28860e=new _0x16549b(_0x553ecc,_0x26b654),_0x4b8487=new _0x284649(_0x553ecc),_0x14285a=_0x4bbf77[_0x575152(0x134)];_0x4b8487[_0x575152(0x106)](...Object[_0x575152(0xfb)](_0x14285a))['to'](_0x14285a),_0x4b8487[_0x575152(0x166)](_0x575152(0x16d))['to'](_0x26b654),_0x4b8487['on'](_0x575152(0x16d),()=>{const _0x551221=_0x575152;this[_0x551221(0x101)][_0x551221(0x16d)](_0x14285a[_0x551221(0x10b)]),this[_0x551221(0x101)][_0x551221(0x138)][_0x551221(0x118)][_0x551221(0x16e)]();}),_0x28860e[_0x575152(0x147)][_0x575152(0x155)](_0x4b8487),_0x5cf726[_0x575152(0x168)][_0x575152(0x155)](_0x28860e);}return _0x26b654[_0x575152(0x106)](_0x575152(0x11d))['to'](_0x1dd2d0,_0x575152(0x11d)),_0x26b654[_0x575152(0x12a)][_0x575152(0x147)][_0x575152(0x155)](_0x5cf726),_0x26b654;}[_0x1794e3(0x175)](_0x4585bd){const _0x369620=_0x1794e3,_0x162839=this[_0x369620(0x101)],_0x1376b5=_0x162839[_0x369620(0x10c)],_0x203a30=_0x162839[_0x369620(0x158)][_0x369620(0x163)](_0x369620(0xfc)),_0x19feea=_0x162839[_0x369620(0x158)][_0x369620(0x163)](_0x369620(0x165)),_0x4b9073=_0x162839[_0x369620(0x158)][_0x369620(0x163)](_0x369620(0x140)),_0x4c547b=_0x162839[_0x369620(0x158)][_0x369620(0x163)](_0xb380b8)['me'],_0x3e8071=_0x1376b5[_0x369620(0x163)](_0x369620(0xef))[_0x369620(0x126)],{CommentsListView:_0x230e9c,CommentThreadInputView:_0x4c90b5}=_0x162839[_0x369620(0x158)][_0x369620(0x163)](_0x369620(0x114));let _0x407e4e,_0x984bf5;this[_0x369620(0x120)][_0x369620(0x171)](_0x4585bd['id'])?(_0x984bf5=this[_0x369620(0x120)][_0x369620(0x163)](_0x4585bd['id']),_0x407e4e=_0x984bf5[_0x369620(0x143)]):(_0x407e4e=new _0x3e8071(_0x162839[_0x369620(0xf2)],_0x4585bd,_0x4c547b,{'disableComments':this[_0x369620(0x170)],'editorConfig':_0x1376b5[_0x369620(0x163)](_0x369620(0x16a)),'maxCommentsWhenCollapsed':_0x1376b5[_0x369620(0x163)](_0x369620(0xf6)),'maxThreadTotalWeight':_0x1376b5[_0x369620(0x163)](_0x369620(0x160)),'maxCommentCharsWhenCollapsed':_0x1376b5[_0x369620(0x163)](_0x369620(0x13c)),'formatDateTime':_0x1472d8(_0x1376b5[_0x369620(0x163)](_0x369620(0xf2))),'CommentView':_0x1376b5[_0x369620(0x163)](_0x369620(0xf4))[_0x369620(0x151)],'CommentsListView':_0x230e9c,'CommentThreadInputView':_0x4c90b5}),_0x407e4e[_0x369620(0x15a)]['on'](_0x369620(0x16d),()=>{const _0x4c696d=_0x369620;_0x162839[_0x4c696d(0x138)][_0x4c696d(0x118)][_0x4c696d(0x16e)]();}),_0x407e4e[_0x369620(0x108)]['on'](_0x369620(0x16d),()=>{const _0x1227e9=_0x369620;_0x162839[_0x1227e9(0x138)][_0x1227e9(0x118)][_0x1227e9(0x16e)]();}),_0x984bf5=_0x203a30[_0x369620(0x177)](this[_0x369620(0x101)][_0x369620(0xf2)],_0x407e4e),_0x984bf5[_0x369620(0x106)](_0x369620(0x15e))['to'](_0x407e4e,_0x369620(0x15e)),_0x984bf5[_0x369620(0x106)](_0x369620(0x128))['to'](_0x407e4e),_0x984bf5[_0x369620(0x106)](_0x369620(0x139))['to'](_0x407e4e,_0x369620(0x139),_0x44b8de=>_0x369620(0x164)+_0x44b8de),this[_0x369620(0x120)][_0x369620(0x124)](_0x4585bd['id'],_0x984bf5));const _0x5a7d47=_0x19feea[_0x369620(0x112)](_0x4585bd[_0x369620(0x11f)],_0x407e4e),_0xd8ed49=new _0x3d402a(_0x162839,_0x4585bd,_0x407e4e,_0x5a7d47),_0x164e33=_0x4585bd[_0x369620(0x141)]()[_0x369620(0x14c)](_0x408fd1=>_0x408fd1[_0x369620(0x162)]);_0x407e4e[_0x369620(0x136)]=_0x162839[_0x369620(0x158)][_0x369620(0x163)](_0x369620(0x145))[_0x369620(0x131)][_0x369620(0xf7)](_0x164e33),this[_0x369620(0x15c)][_0x369620(0x124)](_0x4585bd,_0xd8ed49),this[_0x369620(0x157)][_0x369620(0x124)](_0x407e4e,_0xd8ed49);const _0x48c423=_0x203a30[_0x369620(0xfd)]({'view':_0x984bf5,'target':()=>{const _0x227123=_0x369620,_0x1ca278=[],_0x451bbb=_0x4585bd[_0x227123(0x141)]()[_0x227123(0x14c)](_0xa6094e=>_0xa6094e[_0x227123(0x162)]);for(const _0x424d58 of _0x451bbb)_0x1ca278[_0x227123(0x142)](..._0x424d58[_0x227123(0x179)]());return _0x1f1e5f(_0x162839[_0x227123(0x138)],_0x1ca278);},'type':()=>_0x369620(0x164)+_0xd8ed49[_0x369620(0x118)][_0x369620(0x139)]});_0x19feea[_0x369620(0x172)](_0x407e4e,_0x48c423),_0x203a30[_0x369620(0x155)](_0x48c423),_0x4b9073[_0x369620(0x16f)](_0x48c423);}[_0x1794e3(0x107)](_0x18554c){const _0x33cba2=_0x1794e3,_0x4c71b7=this[_0x33cba2(0x101)][_0x33cba2(0x158)][_0x33cba2(0x163)](_0x33cba2(0x165)),_0x42d925=this[_0x33cba2(0x101)][_0x33cba2(0x158)][_0x33cba2(0x163)](_0x33cba2(0xfc)),_0x27311c=this[_0x33cba2(0x15c)][_0x33cba2(0x163)](_0x18554c),_0x381c47=_0x27311c[_0x33cba2(0x118)],_0x1851cc=_0x42d925[_0x33cba2(0x144)](_0x381c47);_0x4c71b7[_0x33cba2(0x15b)](_0x381c47),_0x1851cc&&_0x42d925[_0x33cba2(0x146)](_0x1851cc),this[_0x33cba2(0x15c)][_0x33cba2(0x14d)](_0x18554c),this[_0x33cba2(0x157)][_0x33cba2(0x14d)](_0x381c47),_0x27311c[_0x33cba2(0xf8)]();}[_0x1794e3(0x12d)](_0x23d177){const _0x1efde0=_0x1794e3;if(!_0x23d177[_0x1efde0(0x162)]||!this[_0x1efde0(0x15c)][_0x1efde0(0x171)](_0x23d177))return;const _0x5eb1bc=this[_0x1efde0(0x101)][_0x1efde0(0x158)][_0x1efde0(0x163)](_0x1efde0(0x145)),_0x253d20=this[_0x1efde0(0x15c)][_0x1efde0(0x163)](_0x23d177),_0x527d07=_0x23d177[_0x1efde0(0x141)]();_0x253d20[_0x1efde0(0x118)][_0x1efde0(0x136)]=_0x5eb1bc[_0x1efde0(0x131)][_0x1efde0(0xf7)](_0x527d07);}[_0x1794e3(0xf8)](){const _0x5d045f=_0x1794e3;for(const _0x1c2d1a of this[_0x5d045f(0x15c)][_0x5d045f(0xfb)]())this[_0x5d045f(0x107)](_0x1c2d1a);for(const _0x167c69 of this[_0x5d045f(0x120)][_0x5d045f(0x105)]())_0x167c69[_0x5d045f(0x143)][_0x5d045f(0xf8)]();super[_0x5d045f(0xf8)]();}}function ae(_0x2c59b8){const _0x568401=_0x1794e3;return _0x568401(0x134)in _0x2c59b8;}
|
|
23
|
+
const _0x168d9b=_0x3558;(function(_0xe3fcdc,_0x3f8a99){const _0x21b734=_0x3558,_0x24e9fc=_0xe3fcdc();while(!![]){try{const _0x277826=-parseInt(_0x21b734(0x10c))/0x1*(-parseInt(_0x21b734(0x177))/0x2)+-parseInt(_0x21b734(0x175))/0x3*(parseInt(_0x21b734(0xed))/0x4)+parseInt(_0x21b734(0xfd))/0x5+parseInt(_0x21b734(0x173))/0x6+-parseInt(_0x21b734(0x129))/0x7+parseInt(_0x21b734(0x163))/0x8+parseInt(_0x21b734(0xec))/0x9*(-parseInt(_0x21b734(0x14e))/0xa);if(_0x277826===_0x3f8a99)break;else _0x24e9fc['push'](_0x24e9fc['shift']());}catch(_0x395556){_0x24e9fc['push'](_0x24e9fc['shift']());}}}(_0x484c,0x7f47f));function _0x3558(_0x2c86ec,_0xe22ca8){const _0x484c53=_0x484c();return _0x3558=function(_0x35583c,_0x42ee05){_0x35583c=_0x35583c-0xe7;let _0x102342=_0x484c53[_0x35583c];return _0x102342;},_0x3558(_0x2c86ec,_0xe22ca8);}import{Plugin as _0x478a5d}from'ckeditor5/src/core.js';import{Collection as _0x192724}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x13727a,createDropdown as _0x5c8c34,ListSeparatorView as _0x4f688f,MenuBarMenuView as _0xeb271f,MenuBarMenuListView as _0x4140aa,MenuBarMenuListItemView as _0x201de5,MenuBarMenuListItemButtonView as _0x22eaee,SplitButtonView as _0xb2bf2b,ViewModel as _0x5144d9}from'ckeditor5/src/ui.js';import{Users as _0x198a0c,getDateTimeFormatter as _0x582bfe,getAllMarkersDomElementsSorted as _0x570817}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x484c(){const _0x5023f1=['getAllAdjacentSuggestions','_destroyController','button','unbind','trackChanges.disableComments','has','getSuggestion','add','3524915oTTKmQ','TrackChangesEditing','_createMenuBarMenu','delegate','head','isOn','_refreshActiveMarkers','_suggestionToController','stopListening','innerView','descriptionFactory','focus','activeAnnotations','getRanges','toMany','423007QdJsQd','reduce','get','createCommentThreadController','commands','requires','_handleSuggestionControllerDelayed','_bindAnnotationToEditors','Track\x20changes','createAnnotationView','editing','EditorAnnotations','editor','pluginName','trackChanges','comments.maxThreadTotalWeight','getMarkerNames','from','registerAnnotation','destroy','change:previous','Discard\x20all\x20selected\x20suggestions','addComment','change:activeAnnotations','actionView','value','comments.editorConfig','isMultiRange','Accept\x20all\x20suggestions','5259345qddtfy','acceptAllSuggestions','arrowView','source','commentThread','isEnabled','_disableComments','getMarkers','acceptButton','SuggestionThreadView','discardAllSuggestions','suggestionUnloaded','children','menuitemcheckbox','_unbindEditors','comments.maxCommentsWhenCollapsed','CommentView','_updateController','suggestionLoaded','CommentsRepository','buttonView','_initializeController','TrackChangesUI','menuitem','delete','items','hasSuggestion','lowest','define','comments.maxCommentCharsWhenCollapsed','getByInnerView','mainView','plugins','switchbutton','componentFactory','init','suggestionChanged','1302450ZfSLmQ','panelView','keys','isInContent','previous','Annotations','activeMarkers','view','execute','createAnnotation','listenTo','trackChanges.SuggestionThreadView','filter','bind','some','remove','refreshSelectedViews','size','CommentsUI','_addUIComponentsToFactory','commandName','6914168XvETUu','menu','push','suggestion-','length','discardSelectedSuggestions','getDescriptions','getJoined','clear','_annotationViews','values','_createToolbarButton','discardButton','set','getFirstRange','separator','4929990OoSKJj','type','10347EWwOjH','_handleControllerBuffer','2kXeAnK','comments','descriptionParts','locale','model','addSourceCollector','81iYgAAZ','428vKJxvT','config','menuBar:trackChanges','_viewToController','Accept\x20all\x20selected\x20suggestions','Discard\x20all\x20suggestions','acceptSelectedSuggestions','isDirty'];_0x484c=function(){return _0x5023f1;};return _0x484c();}import _0x2725db from'./trackchangesediting.js';import _0x470eb7 from'./ui/suggestioncontroller.js';import _0x3cf349 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x38017c}from'./utils/common-translations.js';import _0x270bc6 from'../theme/icons/track-changes.svg';export default class d extends _0x478a5d{static get[_0x168d9b(0x111)](){const _0x77637e=_0x168d9b;return[_0x2725db,_0x198a0c,_0x77637e(0x13c),_0x77637e(0x153),_0x77637e(0x117)];}static get[_0x168d9b(0x119)](){const _0x41ef8a=_0x168d9b;return _0x41ef8a(0x13f);}constructor(_0x41b521){const _0x2b04bc=_0x168d9b;super(_0x41b521),this[_0x2b04bc(0x104)]=new Map(),this[_0x2b04bc(0xf0)]=new Map(),this[_0x2b04bc(0x16c)]=new Map(),this[_0x2b04bc(0x176)]=new Map();const _0x332ef3=this[_0x2b04bc(0x118)][_0x2b04bc(0xee)];_0x332ef3[_0x2b04bc(0x145)](_0x2b04bc(0x159),_0x3cf349),_0x332ef3[_0x2b04bc(0x145)](_0x2b04bc(0xf9),!0x1),this[_0x2b04bc(0x12f)]=_0x332ef3[_0x2b04bc(0x10e)](_0x2b04bc(0xf9));}[_0x168d9b(0x112)](_0x4f22ff,_0xef5ba5){const _0x589e20=_0x168d9b;0x0===this[_0x589e20(0x176)][_0x589e20(0x15f)]&&setTimeout(()=>{const _0x1348df=_0x589e20;for(const [_0xdc44ef,_0x5c02e3]of this[_0x1348df(0x176)]){const _0x255cdc=this[_0x1348df(0x104)][_0x1348df(0xfa)](_0xdc44ef);_0x255cdc||_0x5c02e3?_0x255cdc&&_0x5c02e3&&this[_0x1348df(0xf6)](_0xdc44ef):this[_0x1348df(0x13e)](_0xdc44ef);}this[_0x1348df(0x176)][_0x1348df(0x16b)](),this[_0x1348df(0x118)][_0x1348df(0x149)][_0x1348df(0x10e)](_0x1348df(0x117))[_0x1348df(0x15e)](),this[_0x1348df(0x103)]();},0xa),this[_0x589e20(0x176)][_0x589e20(0x170)](_0x4f22ff,_0xef5ba5);}[_0x168d9b(0x14c)](){const _0x98bb3f=_0x168d9b,_0x26ef32=this[_0x98bb3f(0x118)],_0x41a2fa=_0x26ef32[_0x98bb3f(0x149)][_0x98bb3f(0x10e)](_0x98bb3f(0xfe)),_0xaa9a75=_0x26ef32[_0x98bb3f(0x149)][_0x98bb3f(0x10e)](_0x98bb3f(0x153)),_0x55b9eb=_0x26ef32[_0x98bb3f(0x149)][_0x98bb3f(0x10e)](_0x98bb3f(0x117)),_0x3ee36f=_0x26ef32[_0x98bb3f(0x149)][_0x98bb3f(0x10e)](_0x98bb3f(0x13c));this[_0x98bb3f(0x161)](),_0x55b9eb[_0x98bb3f(0xeb)](()=>{const _0x2134ba=_0x98bb3f,_0x44d917=[];for(const [_0xee78b3,_0x483bde]of Array[_0x2134ba(0x11d)](this[_0x2134ba(0x104)])){const _0x115c19=_0xee78b3[_0x2134ba(0xf5)](),_0x1d86d3=[];for(const _0x320f8f of _0x115c19){if(!_0x320f8f[_0x2134ba(0x151)])continue;if(_0x320f8f[_0x2134ba(0x127)]){_0x1d86d3[_0x2134ba(0x165)](..._0x320f8f[_0x2134ba(0x10a)]());continue;}const _0x43a943=_0x320f8f[_0x2134ba(0x171)]();if(_0x1d86d3[_0x2134ba(0x167)]>0x0){const _0x394ff6=_0x1d86d3[0x0][_0x2134ba(0x16a)](_0x43a943);if(_0x394ff6){_0x1d86d3[0x0]=_0x394ff6;continue;}}_0x1d86d3[_0x2134ba(0x165)](_0x43a943);}_0x44d917[_0x2134ba(0x165)]([_0x483bde[_0x2134ba(0x155)],_0x1d86d3]);}return _0x44d917;}),this[_0x98bb3f(0x158)](_0x41a2fa,_0x98bb3f(0x13b),(_0x50b5e3,_0x43e5f9)=>{const _0x255e6b=_0x98bb3f;this[_0x255e6b(0x158)](_0x43e5f9,_0x255e6b(0x120),(_0x58c8dc,_0x54ab9d,_0x4fab4b,_0x460eca)=>{const _0x100e19=_0x255e6b;_0x43e5f9[_0x100e19(0x151)]&&(null==_0x4fab4b?(this[_0x100e19(0x13a)](_0x460eca[_0x100e19(0x101)]),this[_0x100e19(0x112)](_0x43e5f9,!0x1)):(this[_0x100e19(0x13a)](_0x4fab4b[_0x100e19(0x101)]),null==_0x460eca&&this[_0x100e19(0x112)](_0x43e5f9,!0x0)));}),null!==_0x43e5f9[_0x255e6b(0x152)]?this[_0x255e6b(0x13a)](_0x43e5f9[_0x255e6b(0x101)]):this[_0x255e6b(0x112)](_0x43e5f9,!0x1);}),this[_0x98bb3f(0x158)](_0x41a2fa,_0x98bb3f(0x134),(_0xc8b0fa,_0x79adb9,_0x45fe43)=>{const _0x37e31c=_0x98bb3f;this[_0x37e31c(0x105)](_0x79adb9,_0x37e31c(0x120)),this[_0x37e31c(0x176)][_0x37e31c(0x141)](_0x79adb9),this[_0x37e31c(0x104)][_0x37e31c(0xfa)](_0x79adb9)&&this[_0x37e31c(0xf6)](_0x79adb9),_0x45fe43&&this[_0x37e31c(0x13a)](_0x45fe43[_0x37e31c(0x101)]);}),this[_0x98bb3f(0x158)](_0x41a2fa,_0x98bb3f(0x14d),(_0x4c0d6a,_0x5c56cd)=>{const _0x47f98f=_0x98bb3f;this[_0x47f98f(0x13a)](_0x5c56cd);}),this[_0x98bb3f(0x158)](_0xaa9a75,_0x98bb3f(0x123),()=>{const _0x24481e=_0x98bb3f;this[_0x24481e(0x103)]();}),this[_0x98bb3f(0x158)](_0x3ee36f,_0x98bb3f(0x122),(_0x147a11,{threadId:_0x1be157,isFromAdapter:_0x5d2d46})=>{const _0x2e5fe5=_0x98bb3f;if(_0x5d2d46||!_0x41a2fa[_0x2e5fe5(0x143)](_0x1be157))return;const _0x5b7471=_0x41a2fa[_0x2e5fe5(0xfb)](_0x1be157);this[_0x2e5fe5(0x104)][_0x2e5fe5(0x10e)](_0x5b7471)[_0x2e5fe5(0x155)][_0x2e5fe5(0x108)]();},{'priority':_0x98bb3f(0x144)});}[_0x168d9b(0x103)](){const _0x53e90b=_0x168d9b,_0x40c05e=this[_0x53e90b(0x118)][_0x53e90b(0x149)][_0x53e90b(0x10e)](_0x53e90b(0x153)),_0x473fbc=this[_0x53e90b(0x118)][_0x53e90b(0x149)][_0x53e90b(0x10e)](_0x53e90b(0xfe)),_0x5e6a90=Array[_0x53e90b(0x11d)](_0x40c05e[_0x53e90b(0x109)],_0x215d7c=>_0x215d7c[_0x53e90b(0x106)])[_0x53e90b(0x15a)](_0x2d1de2=>this[_0x53e90b(0xf0)][_0x53e90b(0xfa)](_0x2d1de2)),_0x1ed5fa=[];for(const _0xd531d0 of _0x5e6a90){const _0x177c53=this[_0x53e90b(0xf0)][_0x53e90b(0x10e)](_0xd531d0)[_0x53e90b(0xea)][_0x53e90b(0xf5)]();_0x1ed5fa[_0x53e90b(0x165)](..._0x177c53[_0x53e90b(0x10d)]((_0x5d9bac,_0x183bb5)=>[..._0x5d9bac,..._0x183bb5[_0x53e90b(0x11c)]()],[]));}_0x473fbc[_0x53e90b(0x154)]=_0x1ed5fa;}[_0x168d9b(0x161)](){const _0x306f88=_0x168d9b,_0x3d4772=this[_0x306f88(0x118)],_0x31ad69=_0x3d4772[_0x306f88(0xe9)],_0x4994ae=_0x38017c(_0x31ad69,_0x306f88(0x114)),_0x1e91b1=new _0x192724([{'type':_0x306f88(0x14a),'model':new _0x5144d9({'withText':!0x0,'isToggleable':!0x0,'label':_0x4994ae,'commandName':_0x306f88(0x11a),'role':_0x306f88(0x136)})},{'type':_0x306f88(0x172)},{'type':_0x306f88(0xf7),'model':new _0x5144d9({'withText':!0x0,'label':_0x38017c(_0x31ad69,_0x306f88(0x128)),'commandName':_0x306f88(0x12a),'role':_0x306f88(0x140)})},{'type':_0x306f88(0xf7),'model':new _0x5144d9({'withText':!0x0,'label':_0x38017c(_0x31ad69,_0x306f88(0xf1)),'commandName':_0x306f88(0xf3),'role':_0x306f88(0x140)})},{'type':_0x306f88(0xf7),'model':new _0x5144d9({'withText':!0x0,'label':_0x38017c(_0x31ad69,_0x306f88(0xf2)),'commandName':_0x306f88(0x133),'role':_0x306f88(0x140)})},{'type':_0x306f88(0xf7),'model':new _0x5144d9({'withText':!0x0,'label':_0x38017c(_0x31ad69,_0x306f88(0x121)),'commandName':_0x306f88(0x168),'role':_0x306f88(0x140)})}]);for(const _0xba29d4 of _0x1e91b1)if(ae(_0xba29d4)){const _0x11c3cb=_0x3d4772[_0x306f88(0x110)][_0x306f88(0x10e)](_0xba29d4[_0x306f88(0xea)][_0x306f88(0x162)]);_0xba29d4[_0x306f88(0xea)][_0x306f88(0x15b)](_0x306f88(0x102),_0x306f88(0x12e))['to'](_0x11c3cb,_0x306f88(0x125),_0x306f88(0x12e));}_0x3d4772['ui'][_0x306f88(0x14b)][_0x306f88(0xfc)](_0x306f88(0x11a),_0x404589=>this[_0x306f88(0x16e)](_0x404589,_0x1e91b1,_0x4994ae)),_0x3d4772['ui'][_0x306f88(0x14b)][_0x306f88(0xfc)](_0x306f88(0xef),_0x15d25a=>this[_0x306f88(0xff)](_0x15d25a,_0x1e91b1,_0x4994ae));}[_0x168d9b(0x16e)](_0x56471c,_0x396a0a,_0x4a6ad6){const _0x827c26=_0x168d9b,_0x45149d=_0x5c8c34(_0x56471c,_0xb2bf2b),_0x15f1cd=this[_0x827c26(0x118)][_0x827c26(0x110)][_0x827c26(0x10e)](_0x827c26(0x11a));_0x45149d[_0x827c26(0x13d)][_0x827c26(0x170)]({'tooltip':_0x4a6ad6,'label':_0x4a6ad6,'icon':_0x270bc6}),_0x45149d[_0x827c26(0x13d)][_0x827c26(0x15b)](_0x827c26(0x102))['to'](_0x15f1cd,_0x827c26(0x125)),_0x45149d[_0x827c26(0x13d)]['on'](_0x827c26(0x156),()=>{const _0x392e07=_0x827c26;_0x15f1cd[_0x392e07(0x156)](),this[_0x392e07(0x118)][_0x392e07(0x116)][_0x392e07(0x155)][_0x392e07(0x108)]();}),_0x13727a(_0x45149d,_0x396a0a,{'role':_0x827c26(0x164)});const _0x13ebde=[];for(const _0x1e36dc of _0x396a0a)ae(_0x1e36dc)&&_0x13ebde[_0x827c26(0x165)](this[_0x827c26(0x118)][_0x827c26(0x110)][_0x827c26(0x10e)](_0x1e36dc[_0x827c26(0xea)][_0x827c26(0x162)]));const _0x4d5429=_0x45149d[_0x827c26(0x13d)];return _0x4d5429[_0x827c26(0x124)][_0x827c26(0xf8)](_0x827c26(0x12e)),_0x4d5429[_0x827c26(0x12b)][_0x827c26(0xf8)](_0x827c26(0x12e)),_0x4d5429[_0x827c26(0x124)][_0x827c26(0x15b)](_0x827c26(0x12e))['to'](_0x15f1cd,_0x827c26(0x12e)),_0x4d5429[_0x827c26(0x12b)][_0x827c26(0x15b)](_0x827c26(0x12e))[_0x827c26(0x10b)](_0x13ebde,_0x827c26(0x12e),(..._0x181c67)=>_0x181c67[_0x827c26(0x15c)](_0x1928f3=>_0x1928f3)),_0x45149d['on'](_0x827c26(0x156),_0x4657fd=>{const _0x425461=_0x827c26;this[_0x425461(0x118)][_0x425461(0x156)](_0x4657fd[_0x425461(0x12c)][_0x425461(0x162)]),this[_0x425461(0x118)][_0x425461(0x116)][_0x425461(0x155)][_0x425461(0x108)]();}),_0x45149d;}[_0x168d9b(0xff)](_0x3d128e,_0x511fc8,_0x457cb7){const _0x24e3a7=_0x168d9b,_0x874b30=new _0xeb271f(_0x3d128e),_0x2ce27c=this[_0x24e3a7(0x118)][_0x24e3a7(0x110)][_0x24e3a7(0x10e)](_0x24e3a7(0x11a));_0x874b30[_0x24e3a7(0x13d)][_0x24e3a7(0x170)]({'label':_0x457cb7,'icon':_0x270bc6});const _0x411364=new _0x4140aa(_0x3d128e);for(const _0x13ef65 of _0x511fc8){if(_0x24e3a7(0x172)==_0x13ef65[_0x24e3a7(0x174)]){_0x411364[_0x24e3a7(0x142)][_0x24e3a7(0xfc)](new _0x4f688f(_0x3d128e));continue;}const _0x256d33=new _0x201de5(_0x3d128e,_0x874b30),_0x218244=new _0x22eaee(_0x3d128e),_0x40295a=_0x13ef65[_0x24e3a7(0xea)];_0x218244[_0x24e3a7(0x15b)](...Object[_0x24e3a7(0x150)](_0x40295a))['to'](_0x40295a),_0x218244[_0x24e3a7(0x100)](_0x24e3a7(0x156))['to'](_0x874b30),_0x218244['on'](_0x24e3a7(0x156),()=>{const _0xfd943d=_0x24e3a7;this[_0xfd943d(0x118)][_0xfd943d(0x156)](_0x40295a[_0xfd943d(0x162)]),this[_0xfd943d(0x118)][_0xfd943d(0x116)][_0xfd943d(0x155)][_0xfd943d(0x108)]();}),_0x256d33[_0x24e3a7(0x135)][_0x24e3a7(0xfc)](_0x218244),_0x411364[_0x24e3a7(0x142)][_0x24e3a7(0xfc)](_0x256d33);}return _0x874b30[_0x24e3a7(0x15b)](_0x24e3a7(0x12e))['to'](_0x2ce27c,_0x24e3a7(0x12e)),_0x874b30[_0x24e3a7(0x14f)][_0x24e3a7(0x135)][_0x24e3a7(0xfc)](_0x411364),_0x874b30;}[_0x168d9b(0x13e)](_0x3e4c81){const _0x25e354=_0x168d9b,_0xbc86a3=this[_0x25e354(0x118)],_0x3254bb=_0xbc86a3[_0x25e354(0xee)],_0x17b89b=_0xbc86a3[_0x25e354(0x149)][_0x25e354(0x10e)](_0x25e354(0x153)),_0x10903c=_0xbc86a3[_0x25e354(0x149)][_0x25e354(0x10e)](_0x25e354(0x13c)),_0x287797=_0xbc86a3[_0x25e354(0x149)][_0x25e354(0x10e)](_0x25e354(0x117)),_0x358de3=_0xbc86a3[_0x25e354(0x149)][_0x25e354(0x10e)](_0x198a0c)['me'],_0x5da028=_0x3254bb[_0x25e354(0x10e)](_0x25e354(0x11a))[_0x25e354(0x132)],{CommentsListView:_0x373fd9,CommentThreadInputView:_0x33eaf4}=_0xbc86a3[_0x25e354(0x149)][_0x25e354(0x10e)](_0x25e354(0x160));let _0x2c46a2,_0x1e536b;this[_0x25e354(0x16c)][_0x25e354(0xfa)](_0x3e4c81['id'])?(_0x1e536b=this[_0x25e354(0x16c)][_0x25e354(0x10e)](_0x3e4c81['id']),_0x2c46a2=_0x1e536b[_0x25e354(0x148)]):(_0x2c46a2=new _0x5da028(_0xbc86a3[_0x25e354(0xe9)],_0x3e4c81,_0x358de3,{'disableComments':this[_0x25e354(0x12f)],'editorConfig':_0x3254bb[_0x25e354(0x10e)](_0x25e354(0x126)),'maxCommentsWhenCollapsed':_0x3254bb[_0x25e354(0x10e)](_0x25e354(0x138)),'maxThreadTotalWeight':_0x3254bb[_0x25e354(0x10e)](_0x25e354(0x11b)),'maxCommentCharsWhenCollapsed':_0x3254bb[_0x25e354(0x10e)](_0x25e354(0x146)),'formatDateTime':_0x582bfe(_0x3254bb[_0x25e354(0x10e)](_0x25e354(0xe9))),'CommentView':_0x3254bb[_0x25e354(0x10e)](_0x25e354(0xe7))[_0x25e354(0x139)],'CommentsListView':_0x373fd9,'CommentThreadInputView':_0x33eaf4}),_0x2c46a2[_0x25e354(0x131)]['on'](_0x25e354(0x156),()=>{const _0x37e531=_0x25e354;_0xbc86a3[_0x37e531(0x116)][_0x37e531(0x155)][_0x37e531(0x108)]();}),_0x2c46a2[_0x25e354(0x16f)]['on'](_0x25e354(0x156),()=>{const _0x5110fb=_0x25e354;_0xbc86a3[_0x5110fb(0x116)][_0x5110fb(0x155)][_0x5110fb(0x108)]();}),_0x1e536b=_0x17b89b[_0x25e354(0x115)](this[_0x25e354(0x118)][_0x25e354(0xe9)],_0x2c46a2),_0x1e536b[_0x25e354(0x15b)](_0x25e354(0xf4))['to'](_0x2c46a2,_0x25e354(0xf4)),_0x1e536b[_0x25e354(0x15b)](_0x25e354(0x167))['to'](_0x2c46a2),_0x1e536b[_0x25e354(0x15b)](_0x25e354(0x174))['to'](_0x2c46a2,_0x25e354(0x174),_0xf54376=>_0x25e354(0x166)+_0xf54376),this[_0x25e354(0x16c)][_0x25e354(0x170)](_0x3e4c81['id'],_0x1e536b));const _0x31365b=_0x10903c[_0x25e354(0x10f)](_0x3e4c81[_0x25e354(0x12d)],_0x2c46a2),_0xdaa597=new _0x470eb7(_0xbc86a3,_0x3e4c81,_0x2c46a2,_0x31365b),_0x268497=_0x3e4c81[_0x25e354(0xf5)]()[_0x25e354(0x15a)](_0x345ed7=>_0x345ed7[_0x25e354(0x151)]);_0x2c46a2[_0x25e354(0xe8)]=_0xbc86a3[_0x25e354(0x149)][_0x25e354(0x10e)](_0x25e354(0xfe))[_0x25e354(0x107)][_0x25e354(0x169)](_0x268497),this[_0x25e354(0x104)][_0x25e354(0x170)](_0x3e4c81,_0xdaa597),this[_0x25e354(0xf0)][_0x25e354(0x170)](_0x2c46a2,_0xdaa597);const _0xc39189=_0x17b89b[_0x25e354(0x157)]({'view':_0x1e536b,'target':()=>{const _0x5e9b97=_0x25e354,_0x4232bf=[],_0x2ecb66=_0x3e4c81[_0x5e9b97(0xf5)]()[_0x5e9b97(0x15a)](_0x24c522=>_0x24c522[_0x5e9b97(0x151)]);for(const _0x13e7a9 of _0x2ecb66)_0x4232bf[_0x5e9b97(0x165)](..._0x13e7a9[_0x5e9b97(0x130)]());return _0x570817(_0xbc86a3[_0x5e9b97(0x116)],_0x4232bf);},'type':()=>_0x25e354(0x166)+_0xdaa597[_0x25e354(0x155)][_0x25e354(0x174)]});_0x10903c[_0x25e354(0x113)](_0x2c46a2,_0xc39189),_0x17b89b[_0x25e354(0xfc)](_0xc39189),_0x287797[_0x25e354(0x11e)](_0xc39189);}[_0x168d9b(0xf6)](_0x13027f){const _0x9eb9a3=_0x168d9b,_0x403893=this[_0x9eb9a3(0x118)][_0x9eb9a3(0x149)][_0x9eb9a3(0x10e)](_0x9eb9a3(0x13c)),_0x4ff188=this[_0x9eb9a3(0x118)][_0x9eb9a3(0x149)][_0x9eb9a3(0x10e)](_0x9eb9a3(0x153)),_0x3fb463=this[_0x9eb9a3(0x104)][_0x9eb9a3(0x10e)](_0x13027f),_0x10b458=_0x3fb463[_0x9eb9a3(0x155)],_0x8cec14=_0x4ff188[_0x9eb9a3(0x147)](_0x10b458);_0x403893[_0x9eb9a3(0x137)](_0x10b458),_0x8cec14&&_0x4ff188[_0x9eb9a3(0x15d)](_0x8cec14),this[_0x9eb9a3(0x104)][_0x9eb9a3(0x141)](_0x13027f),this[_0x9eb9a3(0xf0)][_0x9eb9a3(0x141)](_0x10b458),_0x3fb463[_0x9eb9a3(0x11f)]();}[_0x168d9b(0x13a)](_0x5c4f09){const _0x13cf43=_0x168d9b;if(!_0x5c4f09[_0x13cf43(0x151)]||!this[_0x13cf43(0x104)][_0x13cf43(0xfa)](_0x5c4f09))return;const _0x2ee06a=this[_0x13cf43(0x118)][_0x13cf43(0x149)][_0x13cf43(0x10e)](_0x13cf43(0xfe)),_0x36f584=this[_0x13cf43(0x104)][_0x13cf43(0x10e)](_0x5c4f09),_0x2e2f3c=_0x5c4f09[_0x13cf43(0xf5)]();_0x36f584[_0x13cf43(0x155)][_0x13cf43(0xe8)]=_0x2ee06a[_0x13cf43(0x107)][_0x13cf43(0x169)](_0x2e2f3c);}[_0x168d9b(0x11f)](){const _0x3fad2a=_0x168d9b;for(const _0x1687fc of this[_0x3fad2a(0x104)][_0x3fad2a(0x150)]())this[_0x3fad2a(0xf6)](_0x1687fc);for(const _0x14505b of this[_0x3fad2a(0x16c)][_0x3fad2a(0x16d)]())_0x14505b[_0x3fad2a(0x148)][_0x3fad2a(0x11f)]();super[_0x3fad2a(0x11f)]();}}function ae(_0x13e481){const _0x16ab47=_0x168d9b;return _0x16ab47(0xea)in _0x13e481;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x2d5551=_0x4d18;(function(_0x24b518,_0x11757d){const _0x311dbf=_0x4d18,_0x39de8f=_0x24b518();while(!![]){try{const _0x53d846=parseInt(_0x311dbf(0x15f))/0x1+-parseInt(_0x311dbf(0x148))/0x2+-parseInt(_0x311dbf(0x15e))/0x3*(parseInt(_0x311dbf(0x150))/0x4)+-parseInt(_0x311dbf(0x160))/0x5+-parseInt(_0x311dbf(0x146))/0x6+-parseInt(_0x311dbf(0x157))/0x7*(parseInt(_0x311dbf(0x168))/0x8)+parseInt(_0x311dbf(0x161))/0x9;if(_0x53d846===_0x11757d)break;else _0x39de8f['push'](_0x39de8f['shift']());}catch(_0x5310aa){_0x39de8f['push'](_0x39de8f['shift']());}}}(_0x168e,0xcb028));import{ObservableMixin as _0x5abd1c}from'ckeditor5/src/utils.js';import{getTranslation as _0xfae547}from'../utils/common-translations.js';function _0x4d18(_0x1d0801,_0x56ecb4){const _0x168efb=_0x168e();return _0x4d18=function(_0x4d181c,_0x21881d){_0x4d181c=_0x4d181c-0x143;let _0x100550=_0x168efb[_0x4d181c];return _0x100550;},_0x4d18(_0x1d0801,_0x56ecb4);}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5abd1c(){constructor(_0x21e102,_0x188fdf,_0x1654c0,_0x6e6ca4){const _0x56a890=_0x4d18;super(),this[_0x56a890(0x167)]=_0x188fdf,this[_0x56a890(0x147)]=_0x1654c0,this[_0x56a890(0x14e)]=_0x6e6ca4,this[_0x56a890(0x164)]=_0x21e102,this[_0x56a890(0x14f)]=_0x21e102[_0x56a890(0x153)][_0x56a890(0x14a)](_0x56a890(0x162)),this[_0x56a890(0x14d)]=_0x21e102[_0x56a890(0x153)][_0x56a890(0x14a)](_0x56a890(0x166)),this[_0x56a890(0x147)][_0x56a890(0x151)](_0x56a890(0x155))['to'](this[_0x56a890(0x14f)],this[_0x56a890(0x14d)],(_0x26df1b,_0x154bd7)=>_0x26df1b||_0x154bd7),this[_0x56a890(0x147)][_0x56a890(0x151)](_0x56a890(0x14b))['to'](this[_0x56a890(0x14f)],_0x56a890(0x155),_0x10ac74=>_0x10ac74&&this[_0x56a890(0x164)][_0x56a890(0x167)][_0x56a890(0x15a)](_0x188fdf[_0x56a890(0x16b)]())),this[_0x56a890(0x147)][_0x56a890(0x151)](_0x56a890(0x158))['to'](this[_0x56a890(0x14d)],_0x56a890(0x155),_0x1279b7=>_0x1279b7&&this[_0x56a890(0x164)][_0x56a890(0x167)][_0x56a890(0x15a)](_0x188fdf[_0x56a890(0x16b)]())),this[_0x56a890(0x145)]=null,_0x1654c0[_0x56a890(0x152)]&&this[_0x56a890(0x154)](),this[_0x56a890(0x144)](_0x1654c0,_0x56a890(0x162),()=>this[_0x56a890(0x162)]()),this[_0x56a890(0x144)](_0x1654c0,_0x56a890(0x166),()=>this[_0x56a890(0x166)]()),this[_0x56a890(0x144)](_0x1654c0,_0x56a890(0x169),()=>{const _0x746d2c=_0x56a890;_0x1654c0[_0x746d2c(0x152)]?this[_0x746d2c(0x154)]():this[_0x746d2c(0x15b)]();});}[_0x2d5551(0x162)](){const _0x22d1f0=_0x2d5551;this[_0x22d1f0(0x14f)][_0x22d1f0(0x165)](this[_0x22d1f0(0x167)]['id']);}[_0x2d5551(0x166)](){const _0x5abe69=_0x2d5551;this[_0x5abe69(0x14d)][_0x5abe69(0x165)](this[_0x5abe69(0x167)]['id']);}[_0x2d5551(0x156)](){const _0x16c304=_0x2d5551;this[_0x16c304(0x147)][_0x16c304(0x15d)](_0x16c304(0x155)),this[_0x16c304(0x147)][_0x16c304(0x15d)](_0x16c304(0x14b)),this[_0x16c304(0x147)][_0x16c304(0x15d)](_0x16c304(0x158)),this[_0x16c304(0x16a)](),this[_0x16c304(0x14e)][_0x16c304(0x156)](),this[_0x16c304(0x145)]&&this[_0x16c304(0x15b)]();}[_0x2d5551(0x154)](){const _0xe4b2ab=_0x2d5551,_0x4c48a2=_0xfae547(this[_0xe4b2ab(0x164)][_0xe4b2ab(0x149)],_0xe4b2ab(0x159));this[_0xe4b2ab(0x145)]=this[_0xe4b2ab(0x164)][_0xe4b2ab(0x143)][_0xe4b2ab(0x14a)](_0xe4b2ab(0x14c))[_0xe4b2ab(0x163)](_0x4c48a2);}[_0x2d5551(0x15b)](){const _0xf1984d=_0x2d5551;null!==this[_0xf1984d(0x145)]&&this[_0xf1984d(0x164)][_0xf1984d(0x143)][_0xf1984d(0x14a)](_0xf1984d(0x14c))[_0xf1984d(0x15c)](this[_0xf1984d(0x145)]),this[_0xf1984d(0x145)]=null;}}function _0x168e(){const _0x155786=['commentThreadController','_acceptCommand','8644kMdtvI','bind','isDirty','commands','_setPendingAction','isEnabled','destroy','1813623BCakbS','canDiscard','PENDING_ACTION_SUGGESTION','canEditAt','_removePendingAction','remove','unbind','1857HGXjpV','35534gpURJw','3406675nihizr','43069068emdKcV','acceptSuggestion','add','_editor','execute','discardSuggestion','model','40ekxkDV','change:isDirty','stopListening','getRanges','plugins','listenTo','_pendingAction','2076114lgDyjK','view','658000UcXcoc','locale','get','canAccept','PendingActions','_discardCommand'];_0x168e=function(){return _0x155786;};return _0x168e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x506684=_0x2646;(function(_0xfedab6,_0x5655d1){const _0x2fe384=_0x2646,_0x4f1ea9=_0xfedab6();while(!![]){try{const _0x118ca8=-parseInt(_0x2fe384(0x84))/0x1*(-parseInt(_0x2fe384(0xad))/0x2)+-parseInt(_0x2fe384(0x88))/0x3*(parseInt(_0x2fe384(0x91))/0x4)+parseInt(_0x2fe384(0x99))/0x5*(-parseInt(_0x2fe384(0xa2))/0x6)+parseInt(_0x2fe384(0xb0))/0x7+parseInt(_0x2fe384(0x8f))/0x8*(-parseInt(_0x2fe384(0x9d))/0x9)+-parseInt(_0x2fe384(0x96))/0xa+parseInt(_0x2fe384(0x86))/0xb;if(_0x118ca8===_0x5655d1)break;else _0x4f1ea9['push'](_0x4f1ea9['shift']());}catch(_0x31d953){_0x4f1ea9['push'](_0x4f1ea9['shift']());}}}(_0x4ce7,0xecae4));function _0x2646(_0x32df3e,_0x187e29){const _0x4ce70e=_0x4ce7();return _0x2646=function(_0x2646d9,_0x1696e8){_0x2646d9=_0x2646d9-0x7e;let _0x304b19=_0x4ce70e[_0x2646d9];return _0x304b19;},_0x2646(_0x32df3e,_0x187e29);}import{View as _0xaf5623}from'ckeditor5/src/ui.js';export default class es extends _0xaf5623{constructor(_0x1f8689,_0x1451c8,_0x297c18,_0x5b2a05){const _0x43f485=_0x2646;super(_0x1f8689),this[_0x43f485(0x7f)]=null,this[_0x43f485(0xa3)]=null,this[_0x43f485(0x8b)](_0x43f485(0x8e),!0x1),this[_0x43f485(0x8b)](_0x43f485(0x7e),_0x1451c8[_0x43f485(0x7e)]),this[_0x43f485(0xaa)](_0x43f485(0x7e))['to'](_0x1451c8),this[_0x43f485(0x8b)](_0x43f485(0x85),[]),this[_0x43f485(0x8b)](_0x43f485(0xa8),!0x1),this[_0x43f485(0x8b)](_0x43f485(0xa4),!0x1),this[_0x43f485(0x8b)](_0x43f485(0x8c),!0x1),this[_0x43f485(0x8b)](_0x43f485(0xa6),!0x1),this[_0x43f485(0x97)]=_0x1451c8,this[_0x43f485(0x9e)]=_0x297c18,this[_0x43f485(0x8a)]=_0x5b2a05,_0x5b2a05[_0x43f485(0x80)]?this[_0x43f485(0x8b)](_0x43f485(0x92),0x1):this[_0x43f485(0xab)]();}[_0x506684(0xb1)](){const _0x1754ab=_0x506684;this[_0x1754ab(0x9f)][_0x1754ab(0xb1)]();}[_0x506684(0xa0)](){const _0x18af61=_0x506684;this[_0x18af61(0x7f)]&&this[_0x18af61(0x7f)][_0x18af61(0xa0)](),this[_0x18af61(0xa3)]&&this[_0x18af61(0xa3)][_0x18af61(0xa0)](),super[_0x18af61(0xa0)]();}[_0x506684(0xab)](){const _0x50e487=_0x506684,{CommentsListView:_0x55c3ef}=this[_0x50e487(0x8a)];this[_0x50e487(0x7f)]=new _0x55c3ef(this[_0x50e487(0x9b)],this[_0x50e487(0x97)][_0x50e487(0xa1)],Object[_0x50e487(0x90)]({'CommentView':this[_0x50e487(0x8a)][_0x50e487(0x95)]},this[_0x50e487(0x8a)])),this[_0x50e487(0x7f)][_0x50e487(0xaf)](_0x50e487(0xa5))['to'](this),this[_0x50e487(0x7f)][_0x50e487(0xaf)](_0x50e487(0x93))['to'](this),this[_0x50e487(0x7f)][_0x50e487(0xaa)](_0x50e487(0x8e))['to'](this),this[_0x50e487(0x8b)](_0x50e487(0x92),this[_0x50e487(0x7f)][_0x50e487(0x92)]+0x1),this[_0x50e487(0xaa)](_0x50e487(0x92))['to'](this[_0x50e487(0x7f)],_0x50e487(0x92),_0x44c64e=>_0x44c64e+0x1),this[_0x50e487(0xa3)]=this[_0x50e487(0xac)](),this['on'](_0x50e487(0xa5),()=>this[_0x50e487(0xb1)]()),this[_0x50e487(0xaa)](_0x50e487(0xa8))['to'](this[_0x50e487(0x7f)],_0x50e487(0x98),this[_0x50e487(0xa3)][_0x50e487(0x81)],_0x50e487(0xae),(_0x45accb,_0x3f68a4)=>_0x45accb||!!_0x3f68a4);}[_0x506684(0xac)](){const _0x2ed957=_0x506684,{CommentThreadInputView:_0x206c90}=this[_0x2ed957(0x8a)],_0x460878=new _0x206c90(this[_0x2ed957(0x9b)],this[_0x2ed957(0x9e)],this[_0x2ed957(0x8a)][_0x2ed957(0x94)]),_0xb5b670=_0x460878[_0x2ed957(0x81)];return _0x460878[_0x2ed957(0xaa)](_0x2ed957(0x8d))['to'](this,_0x2ed957(0x8e),this[_0x2ed957(0x97)][_0x2ed957(0xa1)],_0x2ed957(0xa7),_0xb5b670,_0x2ed957(0xae),(_0xc54fcd,_0x179f0e,_0x87c0e)=>!!_0x87c0e||_0xc54fcd&&!_0x179f0e),_0xb5b670['on'](_0x2ed957(0x9a),(_0x101428,_0x55842c)=>{const _0xb836c3=_0x2ed957;this[_0xb836c3(0x83)](_0xb836c3(0x82),_0x55842c),_0xb5b670[_0xb836c3(0x87)][_0xb836c3(0xa9)]('');}),_0xb5b670['on'](_0x2ed957(0x9c),()=>this[_0x2ed957(0xb1)]()),_0xb5b670[_0x2ed957(0xaa)](_0x2ed957(0x89))['to'](this[_0x2ed957(0x97)][_0x2ed957(0xa1)],_0x2ed957(0xa7)),_0x460878;}}function _0x4ce7(){const _0x60e1a2=['editorConfig','CommentView','4323100JWmLcp','_model','hasDirtyComment','1895kOtSyP','submit','locale','cancel','6444EYZMWE','_localUser','element','destroy','commentThread','19164ZqvoOO','commentThreadInputView','isEnabled','removeComment','canDiscard','isReadOnly','isDirty','setData','bind','_createCommentViews','_createCommentThreadInputView','22QuBOaa','value','delegate','12206208NdUZFR','focus','authoredAt','commentsListView','disableComments','commentInputView','addComment','fire','36927fzbIKw','descriptionParts','22155276zqoVoR','editor','154779NXkaqs','disabledSubmit','_config','set','canAccept','showInput','isActive','14456AThQMh','assign','20UoIJWQ','length','updateComment'];_0x4ce7=function(){return _0x60e1a2;};return _0x4ce7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c29ec=_0x1d46;(function(_0x22e90f,_0x1958df){const _0x3f3478=_0x1d46,_0x273fcf=_0x22e90f();while(!![]){try{const _0x3970b4=parseInt(_0x3f3478(0x1d1))/0x1+-parseInt(_0x3f3478(0x181))/0x2+parseInt(_0x3f3478(0x16b))/0x3*(parseInt(_0x3f3478(0x1cb))/0x4)+parseInt(_0x3f3478(0x1b5))/0x5+-parseInt(_0x3f3478(0x1ce))/0x6+-parseInt(_0x3f3478(0x17b))/0x7*(parseInt(_0x3f3478(0x1aa))/0x8)+parseInt(_0x3f3478(0x1a5))/0x9;if(_0x3970b4===_0x1958df)break;else _0x273fcf['push'](_0x273fcf['shift']());}catch(_0x55dbd0){_0x273fcf['push'](_0x273fcf['shift']());}}}(_0x3f52,0x556ca));import{getTranslation as _0x1668a7}from'../../utils/common-translations.js';import{default as _0x313c4e}from'./basesuggestionthreadview.js';import{ButtonView as _0x2f3c0e}from'ckeditor5/src/ui.js';import{icons as _0x4ba310}from'ckeditor5/src/core.js';function _0x3f52(){const _0x25c0b2=['value','commentThread','fire','userView','cancel','</p>','innerHTML','canAccept','EXTERNAL_IMPORT_WORD_SUGGESTION','source','<p>','discardButton','querySelector','div','_createButton','EXTERNAL_AVATAR','editorDestroyed','delegate','isActive','author','ck-comment__external','formatDateTime','ck-annotation__info-name','title','ck-annotation__main','1931274mmqQxn','discardSuggestion','ck-annotation__info-time','ck-suggestion__main','bind','5187672Bwefln','split','element','\x22\x20title=\x22','acceptSuggestion','descriptionParts','name','time','type','ck-suggestion--discard','ck-suggestion__info-name','3111080giOyYA','ck-suggestion--disabled-comments','getExternalSuggestionNote','render','creator','_model','children','getTemplate','importWord','canDiscard','bindTemplate','Discard\x20suggestion','authoredAt','ck-suggestion-wrapper--active','\x22></span>','ck-annotation__info','ck-suggestion','disableComments','ck-suggestion-wrapper','content','join','color','4CpIACn','EXTERNAL_SUGGESTION','setTemplate','3649776Ozfvot','createElement','ck-annotation__content-wrapper','625312NyaxzE','set','locale','ck-suggestion__info','ck-suggestion--accept','extendTemplate','isEnabled','map','1186992NlZLJK','attributes','description','push','innerText','ck-suggestion__user','.ck-annotation__content-wrapper','getUserViewNotificationText','</span>','acceptButton','ck-comment__info-time','ck-annotation__user','span','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','execute','@external','7iMQBmM','ck-annotation__actions','_config','ck-annotation','_descriptionElement','commentThreadInputView','502250TBqzGd','ck-suggestion-','check','editorReady','commentsListView','EXTERNAL_IMPORT_WORD_AVATAR','change:description','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion__actions','isExternal','Accept\x20suggestion'];_0x3f52=function(){return _0x25c0b2;};return _0x3f52();}import{trimHtml as _0x11a029,UserView as _0xa922a8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1d46(_0x5b0349,_0x4335a2){const _0x3f5289=_0x3f52();return _0x1d46=function(_0x1d4661,_0x5ab72e){_0x1d4661=_0x1d4661-0x168;let _0x45cc3f=_0x3f5289[_0x1d4661];return _0x45cc3f;},_0x1d46(_0x5b0349,_0x4335a2);}export default class ne extends _0x313c4e{constructor(_0x8ee17b,_0x1e0606,_0x55c4d1,_0x501af1){const _0x4f3803=_0x1d46;super(_0x8ee17b,_0x1e0606,_0x55c4d1,_0x501af1),this[_0x4f3803(0x1d2)](_0x4f3803(0x1b2),''),this[_0x4f3803(0x1a9)](_0x4f3803(0x1b2))['to'](this,_0x4f3803(0x1af),_0x441b40=>_0x441b40&&_0x441b40[0x0]?_0x441b40[0x0][_0x4f3803(0x1b2)]:''),this[_0x4f3803(0x1a9)](_0x4f3803(0x16d))['to'](this,_0x4f3803(0x1af),this,_0x4f3803(0x19e),(_0x5d696a,_0x15e11e)=>{const _0x4c4144=_0x4f3803;let _0x4d7164='';for(const _0x322970 of _0x5d696a)_0x4d7164+=_0x4c4144(0x196)+ds(_0x322970[_0x4c4144(0x1c8)],_0x322970[_0x4c4144(0x1ca)])+_0x4c4144(0x191);return _0x15e11e?_0x4d7164:_0x11a029(_0x4d7164,{'limit':0x8c});}),this[_0x4f3803(0x17f)]=null,this[_0x4f3803(0x174)]=this[_0x4f3803(0x19a)](_0x1668a7(_0x8ee17b,_0x4f3803(0x18b)),_0x4ba310[_0x4f3803(0x183)],_0x4f3803(0x1d5),_0x4f3803(0x1ae),'sw'),this[_0x4f3803(0x174)][_0x4f3803(0x1a9)](_0x4f3803(0x169))['to'](this,_0x4f3803(0x193)),this[_0x4f3803(0x197)]=this[_0x4f3803(0x19a)](_0x1668a7(_0x8ee17b,_0x4f3803(0x1c0)),_0x4ba310[_0x4f3803(0x190)],_0x4f3803(0x1b3),_0x4f3803(0x1a6),'sw'),this[_0x4f3803(0x197)][_0x4f3803(0x1a9)](_0x4f3803(0x169))['to'](this,_0x4f3803(0x1be)),this[_0x4f3803(0x18f)]=new _0xa922a8(_0x8ee17b,this[_0x4f3803(0x1ba)][_0x4f3803(0x19f)],this[_0x4f3803(0x172)]()),this[_0x4f3803(0x18f)][_0x4f3803(0x168)]({'attributes':{'class':[_0x4f3803(0x170),_0x4f3803(0x176)]}}),this[_0x4f3803(0x1cd)](this[_0x4f3803(0x1bc)]());}[_0x4c29ec(0x1bc)](){const _0x21a20c=_0x4c29ec,_0x519ff7=this[_0x21a20c(0x1bf)],_0x3be8cc=[{'tag':_0x21a20c(0x199),'attributes':{'class':[_0x21a20c(0x1d4),_0x21a20c(0x1c4)]},'children':[{'tag':_0x21a20c(0x177),'children':[{'text':this[_0x21a20c(0x18f)][_0x21a20c(0x1b0)]}],'attributes':{'class':[_0x21a20c(0x1b4),_0x21a20c(0x1a2)]}},{'tag':_0x21a20c(0x1b1),'attributes':{'datetime':_0x519ff7['to'](_0x21a20c(0x1c1)),'class':[_0x21a20c(0x175),_0x21a20c(0x1a7)]},'children':[{'text':_0x519ff7['to'](_0x21a20c(0x1c1),_0x29298e=>this[_0x21a20c(0x17d)][_0x21a20c(0x1a1)](_0x29298e))}]}]},{'tag':_0x21a20c(0x199),'attributes':{'class':[_0x21a20c(0x189),_0x21a20c(0x17c)]},'children':[this[_0x21a20c(0x174)],this[_0x21a20c(0x197)]]},{'tag':_0x21a20c(0x199),'attributes':{'class':[_0x21a20c(0x1d0)]}}];this[_0x21a20c(0x1ba)][_0x21a20c(0x18a)]&&_0x3be8cc[_0x21a20c(0x16e)]({'tag':_0x21a20c(0x199),'attributes':{'class':[_0x21a20c(0x1a0)]},'children':[{'text':this[_0x21a20c(0x1b7)]()}]});const _0x4975a9={'tag':_0x21a20c(0x199),'attributes':{'class':[_0x21a20c(0x1c7),_0x519ff7['if'](_0x21a20c(0x19e),_0x21a20c(0x1c2)),_0x519ff7['to'](_0x21a20c(0x1b2),_0x5cc509=>_0x21a20c(0x182)+_0x5cc509),this[_0x21a20c(0x17d)][_0x21a20c(0x1c6)]&&_0x21a20c(0x1b6)],'data-suggestion-id':this[_0x21a20c(0x1ba)]['id'],'data-thread-id':this[_0x21a20c(0x1ba)][_0x21a20c(0x18d)]['id'],'data-author-id':this[_0x21a20c(0x1ba)][_0x21a20c(0x19f)]['id'],'tabindex':-0x1},'children':[{'tag':_0x21a20c(0x199),'attributes':{'class':[_0x21a20c(0x1c5),_0x21a20c(0x17e)]},'children':[this[_0x21a20c(0x18f)],{'tag':_0x21a20c(0x199),'attributes':{'class':[_0x21a20c(0x1a8),_0x21a20c(0x1a4)]},'children':_0x3be8cc}]}]};return this[_0x21a20c(0x185)]&&this[_0x21a20c(0x180)]&&(_0x4975a9[_0x21a20c(0x1bb)][_0x21a20c(0x16e)](this[_0x21a20c(0x185)],this[_0x21a20c(0x180)]),this[_0x21a20c(0x185)][_0x21a20c(0x19d)](_0x21a20c(0x184))['to'](this),this[_0x21a20c(0x185)][_0x21a20c(0x19d)](_0x21a20c(0x19c))['to'](this),this[_0x21a20c(0x180)][_0x21a20c(0x19d)](_0x21a20c(0x184))['to'](this),this[_0x21a20c(0x180)][_0x21a20c(0x19d)](_0x21a20c(0x19c))['to'](this)),_0x4975a9;}[_0x4c29ec(0x1b8)](){const _0x25da60=_0x4c29ec;super[_0x25da60(0x1b8)](),this[_0x25da60(0x17f)]=this[_0x25da60(0x1ac)][_0x25da60(0x198)](_0x25da60(0x171)),this[_0x25da60(0x17f)][_0x25da60(0x192)]=this[_0x25da60(0x16d)],this['on'](_0x25da60(0x187),(_0x4af234,_0x261702,_0x492da8)=>{const _0xa4baa7=_0x25da60;this[_0xa4baa7(0x17f)][_0xa4baa7(0x192)]=_0x492da8;});}[_0x4c29ec(0x19a)](_0x217627,_0x268681,_0x793a07,_0x5916c7,_0x3d8065){const _0x360344=_0x4c29ec,_0x530ce2=new _0x2f3c0e(this[_0x360344(0x1d3)]);return _0x530ce2[_0x360344(0x1d2)]({'label':_0x217627,'icon':_0x268681,'tooltip':!0x0,'tooltipPosition':_0x3d8065}),_0x530ce2[_0x360344(0x168)]({'attributes':{'class':_0x793a07}}),_0x530ce2['on'](_0x360344(0x179),()=>{const _0x4d1871=_0x360344;this[_0x4d1871(0x18e)](_0x5916c7,this[_0x4d1871(0x1ba)]['id']);}),_0x530ce2;}[_0x4c29ec(0x1b7)](){const _0x553b8c=_0x4c29ec;return _0x553b8c(0x1bd)===this[_0x553b8c(0x1ba)][_0x553b8c(0x16c)][_0x553b8c(0x17a)][_0x553b8c(0x195)]?_0x1668a7(this[_0x553b8c(0x1d3)],_0x553b8c(0x194)):_0x1668a7(this[_0x553b8c(0x1d3)],_0x553b8c(0x1cc));}[_0x4c29ec(0x172)](){const _0x260f31=_0x4c29ec;return this[_0x260f31(0x1ba)][_0x260f31(0x18a)]?_0x260f31(0x1bd)===this[_0x260f31(0x1ba)][_0x260f31(0x16c)][_0x260f31(0x17a)][_0x260f31(0x195)]?_0x1668a7(this[_0x260f31(0x1d3)],_0x260f31(0x186),this[_0x260f31(0x1ba)][_0x260f31(0x1b9)][_0x260f31(0x1b0)]):_0x1668a7(this[_0x260f31(0x1d3)],_0x260f31(0x19b),this[_0x260f31(0x1ba)][_0x260f31(0x1b9)][_0x260f31(0x1b0)]):null;}}function ds(_0x31dea4,_0x2d6156){const _0x542874=_0x4c29ec;let _0x5cc746='';return _0x5cc746+=_0x31dea4[_0x542874(0x1ab)]('*')[_0x542874(0x16a)]((_0x38a5cb,_0x1c90c2)=>_0x1c90c2%0x2!=0x0?_0x542874(0x188)+us(_0x38a5cb)+_0x542874(0x173):us(_0x38a5cb))[_0x542874(0x1c9)](''),_0x2d6156&&(_0x5cc746+=_0x542874(0x178)+_0x2d6156[_0x542874(0x18c)]+_0x542874(0x1ad)+_0x2d6156[_0x542874(0x1a3)]+_0x542874(0x1c3)),_0x5cc746;}function us(_0x1e4165){const _0x4edde7=_0x4c29ec,_0x5caaf2=document[_0x4edde7(0x1cf)](_0x4edde7(0x177));return _0x5caaf2[_0x4edde7(0x16f)]=_0x1e4165,_0x5caaf2[_0x4edde7(0x192)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1d4f3d,_0x343225,_0x6f7f8e){const t=_0x1d4f3d['t'];switch(_0x343225){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',_0x6f7f8e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x6f7f8e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x6f7f8e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x6f7f8e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x6f7f8e);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',_0x6f7f8e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x6f7f8e);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',_0x6f7f8e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x6f7f8e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x6f7f8e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x6f7f8e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x6f7f8e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x6f7f8e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x6f7f8e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x6f7f8e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x6f7f8e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x6f7f8e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x6f7f8e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x6f7f8e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x6f7f8e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x6f7f8e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x6f7f8e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x6f7f8e);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'},_0x6f7f8e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x6f7f8e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x6f7f8e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x6f7f8e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x6f7f8e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x6f7f8e);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'},_0x6f7f8e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x6f7f8e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x6f7f8e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x6f7f8e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x6f7f8e);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'},_0x6f7f8e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x6f7f8e);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'},_0x6f7f8e);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'},_0x6f7f8e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x6f7f8e);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'},_0x6f7f8e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x6f7f8e);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'},_0x6f7f8e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x6f7f8e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x6f7f8e);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'},_0x6f7f8e);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'},_0x6f7f8e);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 _0x343225;}}
|
|
23
|
+
export function getTranslation(_0x1bdf75,_0x3cd05a,_0x41dd33){const t=_0x1bdf75['t'];switch(_0x3cd05a){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',_0x41dd33);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x41dd33);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x41dd33);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x41dd33);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x41dd33);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',_0x41dd33);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x41dd33);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',_0x41dd33);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x41dd33);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x41dd33);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x41dd33);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x41dd33);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x41dd33);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x41dd33);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x41dd33);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x41dd33);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x41dd33);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x41dd33);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x41dd33);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x41dd33);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x41dd33);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x41dd33);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x41dd33);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'},_0x41dd33);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x41dd33);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x41dd33);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x41dd33);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x41dd33);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x41dd33);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'},_0x41dd33);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x41dd33);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x41dd33);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x41dd33);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x41dd33);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'},_0x41dd33);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x41dd33);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'},_0x41dd33);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'},_0x41dd33);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x41dd33);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'},_0x41dd33);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x41dd33);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'},_0x41dd33);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x41dd33);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x41dd33);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'},_0x41dd33);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'},_0x41dd33);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 _0x3cd05a;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x46aeaa,_0x39157a){const _0x1d2976=_0xadcb,_0x5d172e=_0x46aeaa();while(!![]){try{const _0x31c4a7=-parseInt(_0x1d2976(0xd6))/0x1+-parseInt(_0x1d2976(0xb9))/0x2+-parseInt(_0x1d2976(0xc9))/0x3+parseInt(_0x1d2976(0xc6))/0x4*(parseInt(_0x1d2976(0xd4))/0x5)+-parseInt(_0x1d2976(0xcf))/0x6+parseInt(_0x1d2976(0xc5))/0x7*(parseInt(_0x1d2976(0xdf))/0x8)+parseInt(_0x1d2976(0xbc))/0x9;if(_0x31c4a7===_0x39157a)break;else _0x5d172e['push'](_0x5d172e['shift']());}catch(_0xdf7d35){_0x5d172e['push'](_0x5d172e['shift']());}}}(_0x1ac3,0xf04cc));export function normalizeDescription(_0x4cca1d){const _0x308b15=_0xadcb;return Array[_0x308b15(0xdc)](_0x4cca1d)||(_0x4cca1d=[_0x4cca1d]),_0x4cca1d[_0x308b15(0xc3)](_0x19ef42=>{const _0x31e7bd=_0x308b15,_0x4f93a2=_0x19ef42[_0x31e7bd(0xc1)][_0x31e7bd(0xde)](/\*/g,''),_0x85253b=_0x19ef42[_0x31e7bd(0xcc)]?_0x31e7bd(0xd1)+_0x19ef42[_0x31e7bd(0xcc)][_0x31e7bd(0xe1)]+']':'';return'['+_0x19ef42[_0x31e7bd(0xb8)]+']\x20'+_0x4f93a2+_0x85253b;})[_0x308b15(0xbe)](';\x20');}function _0xadcb(_0x5887f,_0x4b3846){const _0x1ac39e=_0x1ac3();return _0xadcb=function(_0xadcb98,_0x31d205){_0xadcb98=_0xadcb98-0xb8;let _0x51a959=_0x1ac39e[_0xadcb98];return _0x51a959;},_0xadcb(_0x5887f,_0x4b3846);}function _0x1ac3(){const _0x2d8c45=['schema','42299199NogsCB','end','join','push','isCollapsed','content','splice','map','add','1673NCOqpC','2298572FGSCBq','sort','from','1995387fEzQRC','createPositionBefore','isObject','color','isInContent','isTouching','3644988Tretyc','getRanges','\x20[color\x20','length','isMultiRange','5fUZGZd','createPositionAfter','1594335ALgvjZ','execute','start','deletion','next','createRange','isArray','isIntersecting','replace','17112OKAecT','change','value','type','3869090KnJSIx','createPositionAt'];_0x1ac3=function(){return _0x2d8c45;};return _0x1ac3();}export function sortSuggestions(_0x11c667){const _0x388a97=_0xadcb;return _0x11c667[_0x388a97(0xc7)]((_0x267655,_0x3ede0e)=>_0x388a97(0xd9)==_0x267655[_0x388a97(0xb8)]&&_0x388a97(0xd9)!=_0x3ede0e[_0x388a97(0xb8)]?-0x1:_0x388a97(0xd9)!=_0x267655[_0x388a97(0xb8)]&&_0x388a97(0xd9)==_0x3ede0e[_0x388a97(0xb8)]?0x1:0x0);}export function getSelectedSuggestions(_0xd7ea0f,_0x254483){const _0x11dd41=_0xadcb,_0x166114=Array[_0x11dd41(0xc8)](_0xd7ea0f[_0x11dd41(0xd0)]()),_0x10f817=new Set();for(const _0x269de1 of _0x254483)if(_0x269de1[_0x11dd41(0xcd)]){for(const _0x2fb02d of _0x166114)for(const _0x28098d of _0x269de1[_0x11dd41(0xd0)]())(_0x2fb02d[_0x11dd41(0xdd)](_0x28098d)||_0xd7ea0f[_0x11dd41(0xc0)]&&!_0x269de1[_0x11dd41(0xd3)]&&_0x269de1[_0x11dd41(0xda)]&&_0x28098d[_0x11dd41(0xbd)][_0x11dd41(0xce)](_0x2fb02d[_0x11dd41(0xd8)]))&&_0x10f817[_0x11dd41(0xc4)](_0x269de1);}return _0x10f817;}export function getRangesOfBlockGroups(_0x48b975,_0x3640ef){const _0x4c9a43=_0xadcb;let _0x402a39,_0x424467=0x0;const _0x201571=[],_0x2d0e27=_0x3640ef[_0x4c9a43(0xbb)];for(;_0x424467<_0x48b975[_0x4c9a43(0xd2)];){const _0x570088=_0x48b975[_0x424467],_0x3e2c1c=_0x48b975[_0x424467+0x1];_0x402a39||(_0x402a39=_0x3640ef[_0x4c9a43(0xca)](_0x570088)),co(_0x3640ef,_0x570088,_0x3e2c1c)||(_0x201571[_0x4c9a43(0xbf)](_0x3640ef[_0x4c9a43(0xdb)](_0x402a39,_0x2d0e27[_0x4c9a43(0xcb)](_0x570088)?_0x3640ef[_0x4c9a43(0xd5)](_0x570088):_0x3640ef[_0x4c9a43(0xba)](_0x570088,_0x4c9a43(0xbd)))),_0x402a39=null),_0x424467++;}return _0x201571;}function co(_0x50095e,_0xe3732d,_0x3e3497){const _0x4803b7=_0xadcb;if(!_0x3e3497)return!0x1;const _0x522775=_0x50095e[_0x4803b7(0xd5)](_0xe3732d),_0x1687b1=_0x50095e[_0x4803b7(0xca)](_0x3e3497);return _0x522775[_0x4803b7(0xce)](_0x1687b1);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5ee507,_0x23e7ba,_0x1907ab){const _0x153028=_0xadcb;for(;_0x1907ab[_0x153028(0xd2)];){const _0x226068=_0x1907ab[_0x153028(0xc2)](0x0,0x64);_0x5ee507[_0x153028(0xe0)](()=>{const _0x5d231e=_0x153028;for(const _0x18f300 of _0x226068)_0x18f300[_0x5d231e(0xcd)]&&_0x23e7ba[_0x5d231e(0xd7)](_0x18f300['id']);});}}
|