@ckeditor/ckeditor5-track-changes 42.0.0-alpha.9 → 42.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/ar.po +42 -42
- package/lang/translations/cs.po +21 -21
- package/lang/translations/da.po +8 -8
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +8 -8
- package/lang/translations/et.po +16 -16
- package/lang/translations/fr.po +4 -4
- package/lang/translations/hi.po +3 -3
- package/lang/translations/hr.po +2 -2
- package/lang/translations/hu.po +18 -18
- package/lang/translations/lt.po +53 -53
- package/lang/translations/lv.po +36 -36
- package/lang/translations/nl.po +3 -3
- package/lang/translations/no.po +18 -18
- package/lang/translations/pl.po +7 -7
- package/lang/translations/pt.po +32 -32
- package/lang/translations/ro.po +37 -37
- package/lang/translations/ru.po +54 -54
- package/lang/translations/sk.po +3 -3
- package/lang/translations/sr.po +34 -34
- package/lang/translations/sv.po +17 -17
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +3 -3
- package/lang/translations/uk.po +54 -54
- package/lang/translations/zh-cn.po +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49b3c2=_0x4efa;(function(_0x3a0bda,_0x3fd90b){const _0x3d8c3e=_0x4efa,_0x540cbb=_0x3a0bda();while(!![]){try{const _0x25a5b8=parseInt(_0x3d8c3e(0xc1))/0x1+-parseInt(_0x3d8c3e(0x100))/0x2*(-parseInt(_0x3d8c3e(0xee))/0x3)+-parseInt(_0x3d8c3e(0x80))/0x4+parseInt(_0x3d8c3e(0xd5))/0x5*(-parseInt(_0x3d8c3e(0xe9))/0x6)+parseInt(_0x3d8c3e(0xe7))/0x7+parseInt(_0x3d8c3e(0xcf))/0x8*(-parseInt(_0x3d8c3e(0x94))/0x9)+parseInt(_0x3d8c3e(0x9d))/0xa*(-parseInt(_0x3d8c3e(0xca))/0xb);if(_0x25a5b8===_0x3fd90b)break;else _0x540cbb['push'](_0x540cbb['shift']());}catch(_0x44e42a){_0x540cbb['push'](_0x540cbb['shift']());}}}(_0x258d,0x7736d));import{Plugin as _0x3286d6}from'ckeditor5/src/core.js';import{Collection as _0x1b97cc}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x23cf22,createDropdown as _0x4df323,ListSeparatorView as _0x4af5ac,MenuBarMenuView as _0xa24f54,MenuBarMenuListView as _0x35dfca,MenuBarMenuListItemView as _0x486678,MenuBarMenuListItemButtonView as _0x64da75,SplitButtonView as _0xa4717f,ViewModel as _0x182973}from'ckeditor5/src/ui.js';function _0x258d(){const _0x3c555c=['comments.maxCommentCharsWhenCollapsed','Annotations','focus','_unbindEditors','suggestionUnloaded','pluginName','_annotationViews','push','button','requires','EditorAnnotations','4417056dChBBs','_viewToController','change:activeAnnotations','switchbutton','init','suggestion-','Accept\x20all\x20suggestions','clear','descriptionParts','17410bWKqNy','config','stopListening','_addUIComponentsToFactory','listenTo','createCommentThreadController','toMany','define','activeAnnotations','comments','delete','createAnnotationView','getSuggestion','trackChanges','addSourceCollector','lowest','reduce','_createToolbarButton','comments.editorConfig','_initializeController','delegate','menuitem','_updateController','CommentView','discardAllSuggestions','hasSuggestion','getMarkerNames','suggestionChanged','acceptAllSuggestions','CommentsRepository','some','isMultiRange','commands','trackChanges.disableComments','panelView','trackChanges.SuggestionThreadView','742735pOAJOq','menuitemcheckbox','registerAnnotation','acceptButton','suggestionLoaded','_suggestionToController','getJoined','remove','getDescriptions','1243xIvEps','keys','addComment','componentFactory','isEnabled','8fZatMb','TrackChangesUI','getMarkers','plugins','Discard\x20all\x20selected\x20suggestions','source','5sTOBHM','Accept\x20all\x20selected\x20suggestions','acceptSelectedSuggestions','innerView','getAllAdjacentSuggestions','getRanges','isDirty','buttonView','Track\x20changes','activeMarkers','size','menu','descriptionFactory','previous','_handleControllerBuffer','view','get','set','3075814ueUARQ','bind','3897174RrjigC','_handleSuggestionControllerDelayed','values','mainView','discardButton','31695TOySNh','_disableComments','editor','has','createAnnotation','arrowView','_destroyController','filter','CommentsUI','isInContent','items','isOn','from','getFirstRange','unbind','type','children','_createMenuBarMenu','158TUoTjc','discardSelectedSuggestions','execute','editing','head','value','refreshSelectedViews','menuBar:trackChanges','length','SuggestionThreadView','change:previous','getByInnerView','commandName','locale','TrackChangesEditing','separator','_bindAnnotationToEditors','_refreshActiveMarkers','765700XAZNOX','add','actionView','model','comments.maxCommentsWhenCollapsed','Discard\x20all\x20suggestions','commentThread','destroy','comments.maxThreadTotalWeight'];_0x258d=function(){return _0x3c555c;};return _0x258d();}import{Users as _0x2922b4,getDateTimeFormatter as _0x38b329,getAllMarkersDomElementsSorted as _0xe4fd21}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x18005b from'./trackchangesediting.js';import _0x1f11c7 from'./ui/suggestioncontroller.js';import _0x3b91b3 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1b73e9}from'./utils/common-translations.js';import _0x3e4a52 from'../theme/icons/track-changes.svg';function _0x4efa(_0x2fd948,_0x10f215){const _0x258d8f=_0x258d();return _0x4efa=function(_0x4efae4,_0x4b4f82){_0x4efae4=_0x4efae4-0x75;let _0x273239=_0x258d8f[_0x4efae4];return _0x273239;},_0x4efa(_0x2fd948,_0x10f215);}export default class d extends _0x3286d6{static get[_0x49b3c2(0x92)](){const _0x33efdf=_0x49b3c2;return[_0x18005b,_0x2922b4,_0x33efdf(0xba),_0x33efdf(0x8a),_0x33efdf(0x93)];}static get[_0x49b3c2(0x8e)](){const _0x1886ad=_0x49b3c2;return _0x1886ad(0xd0);}constructor(_0x4ee0a2){const _0x3849ed=_0x49b3c2;super(_0x4ee0a2),this[_0x3849ed(0xc6)]=new Map(),this[_0x3849ed(0x95)]=new Map(),this[_0x3849ed(0x8f)]=new Map(),this[_0x3849ed(0xe3)]=new Map();const _0x4f6176=this[_0x3849ed(0xf0)][_0x3849ed(0x9e)];_0x4f6176[_0x3849ed(0xa4)](_0x3849ed(0xc0),_0x3b91b3),_0x4f6176[_0x3849ed(0xa4)](_0x3849ed(0xbe),!0x1),this[_0x3849ed(0xef)]=_0x4f6176[_0x3849ed(0xe5)](_0x3849ed(0xbe));}[_0x49b3c2(0xea)](_0x1dbb1a,_0x1c65d7){const _0x3928c3=_0x49b3c2;0x0===this[_0x3928c3(0xe3)][_0x3928c3(0xdf)]&&setTimeout(()=>{const _0x2641fc=_0x3928c3;for(const [_0x2f06fe,_0x4bfdb0]of this[_0x2641fc(0xe3)]){const _0x20069b=this[_0x2641fc(0xc6)][_0x2641fc(0xf1)](_0x2f06fe);_0x20069b||_0x4bfdb0?_0x20069b&&_0x4bfdb0&&this[_0x2641fc(0xf4)](_0x2f06fe):this[_0x2641fc(0xb0)](_0x2f06fe);}this[_0x2641fc(0xe3)][_0x2641fc(0x9b)](),this[_0x2641fc(0xf0)][_0x2641fc(0xd2)][_0x2641fc(0xe5)](_0x2641fc(0x93))[_0x2641fc(0x106)](),this[_0x2641fc(0x7f)]();},0xa),this[_0x3928c3(0xe3)][_0x3928c3(0xe6)](_0x1dbb1a,_0x1c65d7);}[_0x49b3c2(0x98)](){const _0x428ead=_0x49b3c2,_0x2744c4=this[_0x428ead(0xf0)],_0x545f23=_0x2744c4[_0x428ead(0xd2)][_0x428ead(0xe5)](_0x428ead(0x7c)),_0x46fe45=_0x2744c4[_0x428ead(0xd2)][_0x428ead(0xe5)](_0x428ead(0x8a)),_0x21e3c4=_0x2744c4[_0x428ead(0xd2)][_0x428ead(0xe5)](_0x428ead(0x93)),_0x5ead7e=_0x2744c4[_0x428ead(0xd2)][_0x428ead(0xe5)](_0x428ead(0xba));this[_0x428ead(0xa0)](),_0x21e3c4[_0x428ead(0xab)](()=>{const _0x3a9c40=_0x428ead,_0x195539=[];for(const [_0x234a62,_0x399120]of Array[_0x3a9c40(0xfa)](this[_0x3a9c40(0xc6)])){const _0x1636ff=_0x234a62[_0x3a9c40(0xd9)](),_0x11f71d=[];for(const _0x549a04 of _0x1636ff){if(!_0x549a04[_0x3a9c40(0xf7)])continue;if(_0x549a04[_0x3a9c40(0xbc)]){_0x11f71d[_0x3a9c40(0x90)](..._0x549a04[_0x3a9c40(0xda)]());continue;}const _0x11e6cc=_0x549a04[_0x3a9c40(0xfb)]();if(_0x11f71d[_0x3a9c40(0x76)]>0x0){const _0x26d97d=_0x11f71d[0x0][_0x3a9c40(0xc7)](_0x11e6cc);if(_0x26d97d){_0x11f71d[0x0]=_0x26d97d;continue;}}_0x11f71d[_0x3a9c40(0x90)](_0x11e6cc);}_0x195539[_0x3a9c40(0x90)]([_0x399120[_0x3a9c40(0xe4)],_0x11f71d]);}return _0x195539;}),this[_0x428ead(0xa1)](_0x545f23,_0x428ead(0xc5),(_0x52553f,_0x50c170)=>{const _0x40bbee=_0x428ead;this[_0x40bbee(0xa1)](_0x50c170,_0x40bbee(0x78),(_0x359972,_0x9023cf,_0x504643,_0x3f967f)=>{const _0x53bf18=_0x40bbee;_0x50c170[_0x53bf18(0xf7)]&&(null==_0x504643?(this[_0x53bf18(0xb3)](_0x3f967f[_0x53bf18(0x104)]),this[_0x53bf18(0xea)](_0x50c170,!0x1)):(this[_0x53bf18(0xb3)](_0x504643[_0x53bf18(0x104)]),null==_0x3f967f&&this[_0x53bf18(0xea)](_0x50c170,!0x0)));}),null!==_0x50c170[_0x40bbee(0xe2)]?this[_0x40bbee(0xb3)](_0x50c170[_0x40bbee(0x104)]):this[_0x40bbee(0xea)](_0x50c170,!0x1);}),this[_0x428ead(0xa1)](_0x545f23,_0x428ead(0x8d),(_0x39f789,_0x12967c,_0x29d330)=>{const _0x10a100=_0x428ead;this[_0x10a100(0x9f)](_0x12967c,_0x10a100(0x78)),this[_0x10a100(0xe3)][_0x10a100(0xa7)](_0x12967c),this[_0x10a100(0xc6)][_0x10a100(0xf1)](_0x12967c)&&this[_0x10a100(0xf4)](_0x12967c),_0x29d330&&this[_0x10a100(0xb3)](_0x29d330[_0x10a100(0x104)]);}),this[_0x428ead(0xa1)](_0x545f23,_0x428ead(0xb8),(_0x54fadb,_0x48fa34)=>{const _0x5e8521=_0x428ead;this[_0x5e8521(0xb3)](_0x48fa34);}),this[_0x428ead(0xa1)](_0x46fe45,_0x428ead(0x96),()=>{const _0x5329d5=_0x428ead;this[_0x5329d5(0x7f)]();}),this[_0x428ead(0xa1)](_0x5ead7e,_0x428ead(0xcc),(_0x3783d7,{threadId:_0x1517ac,isFromAdapter:_0xe11123})=>{const _0x195d80=_0x428ead;if(_0xe11123||!_0x545f23[_0x195d80(0xb6)](_0x1517ac))return;const _0x322a7f=_0x545f23[_0x195d80(0xa9)](_0x1517ac);this[_0x195d80(0xc6)][_0x195d80(0xe5)](_0x322a7f)[_0x195d80(0xe4)][_0x195d80(0x8b)]();},{'priority':_0x428ead(0xac)});}[_0x49b3c2(0x7f)](){const _0x1c4189=_0x49b3c2,_0x1e797=this[_0x1c4189(0xf0)][_0x1c4189(0xd2)][_0x1c4189(0xe5)](_0x1c4189(0x8a)),_0x41779f=this[_0x1c4189(0xf0)][_0x1c4189(0xd2)][_0x1c4189(0xe5)](_0x1c4189(0x7c)),_0x260217=Array[_0x1c4189(0xfa)](_0x1e797[_0x1c4189(0xa5)],_0x4aded0=>_0x4aded0[_0x1c4189(0xd8)])[_0x1c4189(0xf5)](_0x277a8e=>this[_0x1c4189(0x95)][_0x1c4189(0xf1)](_0x277a8e)),_0x41b9d4=[];for(const _0x55d28a of _0x260217){const _0x12e32b=this[_0x1c4189(0x95)][_0x1c4189(0xe5)](_0x55d28a)[_0x1c4189(0x83)][_0x1c4189(0xd9)]();_0x41b9d4[_0x1c4189(0x90)](..._0x12e32b[_0x1c4189(0xad)]((_0x3fcd75,_0x3ddf56)=>[..._0x3fcd75,..._0x3ddf56[_0x1c4189(0xb7)]()],[]));}_0x41779f[_0x1c4189(0xde)]=_0x41b9d4;}[_0x49b3c2(0xa0)](){const _0x4cc626=_0x49b3c2,_0x543d37=this[_0x4cc626(0xf0)],_0x44e1b6=_0x543d37[_0x4cc626(0x7b)],_0x1e7280=_0x1b73e9(_0x44e1b6,_0x4cc626(0xdd)),_0x26db82=new _0x1b97cc([{'type':_0x4cc626(0x97),'model':new _0x182973({'withText':!0x0,'label':_0x1e7280,'commandName':_0x4cc626(0xaa),'role':_0x4cc626(0xc2)})},{'type':_0x4cc626(0x7d)},{'type':_0x4cc626(0x91),'model':new _0x182973({'withText':!0x0,'label':_0x1b73e9(_0x44e1b6,_0x4cc626(0x9a)),'commandName':_0x4cc626(0xb9),'role':_0x4cc626(0xb2)})},{'type':_0x4cc626(0x91),'model':new _0x182973({'withText':!0x0,'label':_0x1b73e9(_0x44e1b6,_0x4cc626(0xd6)),'commandName':_0x4cc626(0xd7),'role':_0x4cc626(0xb2)})},{'type':_0x4cc626(0x91),'model':new _0x182973({'withText':!0x0,'label':_0x1b73e9(_0x44e1b6,_0x4cc626(0x85)),'commandName':_0x4cc626(0xb5),'role':_0x4cc626(0xb2)})},{'type':_0x4cc626(0x91),'model':new _0x182973({'withText':!0x0,'label':_0x1b73e9(_0x44e1b6,_0x4cc626(0xd3)),'commandName':_0x4cc626(0x101),'role':_0x4cc626(0xb2)})}]);for(const _0x2d78e9 of _0x26db82)if(ae(_0x2d78e9)){const _0x433995=_0x543d37[_0x4cc626(0xbd)][_0x4cc626(0xe5)](_0x2d78e9[_0x4cc626(0x83)][_0x4cc626(0x7a)]);_0x2d78e9[_0x4cc626(0x83)][_0x4cc626(0xe8)](_0x4cc626(0xf9),_0x4cc626(0xce))['to'](_0x433995,_0x4cc626(0x105),_0x4cc626(0xce));}_0x543d37['ui'][_0x4cc626(0xcd)][_0x4cc626(0x81)](_0x4cc626(0xaa),_0x3fbda3=>this[_0x4cc626(0xae)](_0x3fbda3,_0x26db82,_0x1e7280)),_0x543d37['ui'][_0x4cc626(0xcd)][_0x4cc626(0x81)](_0x4cc626(0x75),_0x2aa0d5=>this[_0x4cc626(0xff)](_0x2aa0d5,_0x26db82,_0x1e7280));}[_0x49b3c2(0xae)](_0x2c6eb9,_0x331e84,_0x22f53f){const _0x15ac6f=_0x49b3c2,_0x51c2b7=_0x4df323(_0x2c6eb9,_0xa4717f),_0xc11acb=this[_0x15ac6f(0xf0)][_0x15ac6f(0xbd)][_0x15ac6f(0xe5)](_0x15ac6f(0xaa));_0x51c2b7[_0x15ac6f(0xdc)][_0x15ac6f(0xe6)]({'tooltip':_0x22f53f,'label':_0x22f53f,'icon':_0x3e4a52}),_0x51c2b7[_0x15ac6f(0xdc)][_0x15ac6f(0xe8)](_0x15ac6f(0xf9))['to'](_0xc11acb,_0x15ac6f(0x105)),_0x51c2b7[_0x15ac6f(0xdc)]['on'](_0x15ac6f(0x102),()=>{const _0x4d39a2=_0x15ac6f;_0xc11acb[_0x4d39a2(0x102)](),this[_0x4d39a2(0xf0)][_0x4d39a2(0x103)][_0x4d39a2(0xe4)][_0x4d39a2(0x8b)]();}),_0x23cf22(_0x51c2b7,_0x331e84,{'role':_0x15ac6f(0xe0)});const _0x1f85f0=[];for(const _0x257ad5 of _0x331e84)ae(_0x257ad5)&&_0x1f85f0[_0x15ac6f(0x90)](this[_0x15ac6f(0xf0)][_0x15ac6f(0xbd)][_0x15ac6f(0xe5)](_0x257ad5[_0x15ac6f(0x83)][_0x15ac6f(0x7a)]));const _0x2cfc15=_0x51c2b7[_0x15ac6f(0xdc)];return _0x2cfc15[_0x15ac6f(0x82)][_0x15ac6f(0xfc)](_0x15ac6f(0xce)),_0x2cfc15[_0x15ac6f(0xf3)][_0x15ac6f(0xfc)](_0x15ac6f(0xce)),_0x2cfc15[_0x15ac6f(0x82)][_0x15ac6f(0xe8)](_0x15ac6f(0xce))['to'](_0xc11acb,_0x15ac6f(0xce)),_0x2cfc15[_0x15ac6f(0xf3)][_0x15ac6f(0xe8)](_0x15ac6f(0xce))[_0x15ac6f(0xa3)](_0x1f85f0,_0x15ac6f(0xce),(..._0x4b66a2)=>_0x4b66a2[_0x15ac6f(0xbb)](_0x3684de=>_0x3684de)),_0x51c2b7['on'](_0x15ac6f(0x102),_0x1ee6ba=>{const _0x1cac0b=_0x15ac6f;this[_0x1cac0b(0xf0)][_0x1cac0b(0x102)](_0x1ee6ba[_0x1cac0b(0xd4)][_0x1cac0b(0x7a)]),this[_0x1cac0b(0xf0)][_0x1cac0b(0x103)][_0x1cac0b(0xe4)][_0x1cac0b(0x8b)]();}),_0x51c2b7;}[_0x49b3c2(0xff)](_0x285499,_0x22522f,_0x59dcf4){const _0x17d825=_0x49b3c2,_0x5612d4=new _0xa24f54(_0x285499),_0x3ebc9a=this[_0x17d825(0xf0)][_0x17d825(0xbd)][_0x17d825(0xe5)](_0x17d825(0xaa));_0x5612d4[_0x17d825(0xdc)][_0x17d825(0xe6)]({'label':_0x59dcf4,'icon':_0x3e4a52});const _0xb08c72=new _0x35dfca(_0x285499);for(const _0x1dbae9 of _0x22522f){if(_0x17d825(0x7d)==_0x1dbae9[_0x17d825(0xfd)]){_0xb08c72[_0x17d825(0xf8)][_0x17d825(0x81)](new _0x4af5ac(_0x285499));continue;}const _0x251a37=new _0x486678(_0x285499,_0x5612d4),_0x5ea196=new _0x64da75(_0x285499),_0x2f8596=_0x1dbae9[_0x17d825(0x83)];_0x5ea196[_0x17d825(0xe8)](...Object[_0x17d825(0xcb)](_0x2f8596))['to'](_0x2f8596),_0x5ea196[_0x17d825(0xb1)](_0x17d825(0x102))['to'](_0x5612d4),_0x5ea196['on'](_0x17d825(0x102),()=>{const _0x34b6f5=_0x17d825;this[_0x34b6f5(0xf0)][_0x34b6f5(0x102)](_0x2f8596[_0x34b6f5(0x7a)]),this[_0x34b6f5(0xf0)][_0x34b6f5(0x103)][_0x34b6f5(0xe4)][_0x34b6f5(0x8b)]();}),_0x251a37[_0x17d825(0xfe)][_0x17d825(0x81)](_0x5ea196),_0xb08c72[_0x17d825(0xf8)][_0x17d825(0x81)](_0x251a37);}return _0x5612d4[_0x17d825(0xe8)](_0x17d825(0xce))['to'](_0x3ebc9a,_0x17d825(0xce)),_0x5612d4[_0x17d825(0xbf)][_0x17d825(0xfe)][_0x17d825(0x81)](_0xb08c72),_0x5612d4;}[_0x49b3c2(0xb0)](_0x17d041){const _0xc6bec7=_0x49b3c2,_0x54da6a=this[_0xc6bec7(0xf0)],_0x5e807b=_0x54da6a[_0xc6bec7(0x9e)],_0x420de8=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0x8a)),_0x598137=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0xba)),_0x1e8f5d=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0x93)),_0xe9c03b=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0x2922b4)['me'],_0x1cd674=_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0xaa))[_0xc6bec7(0x77)],{CommentsListView:_0x573ffc,CommentThreadInputView:_0x1ed767}=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0xf6));let _0x5423a9,_0x29a920;this[_0xc6bec7(0x8f)][_0xc6bec7(0xf1)](_0x17d041['id'])?(_0x29a920=this[_0xc6bec7(0x8f)][_0xc6bec7(0xe5)](_0x17d041['id']),_0x5423a9=_0x29a920[_0xc6bec7(0xec)]):(_0x5423a9=new _0x1cd674(_0x54da6a[_0xc6bec7(0x7b)],_0x17d041,_0xe9c03b,{'disableComments':this[_0xc6bec7(0xef)],'editorConfig':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0xaf)),'maxCommentsWhenCollapsed':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0x84)),'maxThreadTotalWeight':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0x88)),'maxCommentCharsWhenCollapsed':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0x89)),'formatDateTime':_0x38b329(_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0x7b))),'CommentView':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0xa6))[_0xc6bec7(0xb4)],'CommentsListView':_0x573ffc,'CommentThreadInputView':_0x1ed767}),_0x5423a9[_0xc6bec7(0xc4)]['on'](_0xc6bec7(0x102),()=>{const _0x4662e9=_0xc6bec7;_0x54da6a[_0x4662e9(0x103)][_0x4662e9(0xe4)][_0x4662e9(0x8b)]();}),_0x5423a9[_0xc6bec7(0xed)]['on'](_0xc6bec7(0x102),()=>{const _0x54b218=_0xc6bec7;_0x54da6a[_0x54b218(0x103)][_0x54b218(0xe4)][_0x54b218(0x8b)]();}),_0x29a920=_0x420de8[_0xc6bec7(0xa8)](this[_0xc6bec7(0xf0)][_0xc6bec7(0x7b)],_0x5423a9),_0x29a920[_0xc6bec7(0xe8)](_0xc6bec7(0xdb))['to'](_0x5423a9,_0xc6bec7(0xdb)),_0x29a920[_0xc6bec7(0xe8)](_0xc6bec7(0x76))['to'](_0x5423a9),_0x29a920[_0xc6bec7(0xe8)](_0xc6bec7(0xfd))['to'](_0x5423a9,_0xc6bec7(0xfd),_0x3a460b=>_0xc6bec7(0x99)+_0x3a460b),this[_0xc6bec7(0x8f)][_0xc6bec7(0xe6)](_0x17d041['id'],_0x29a920));const _0x218768=_0x598137[_0xc6bec7(0xa2)](_0x17d041[_0xc6bec7(0x86)],_0x5423a9),_0x247d56=new _0x1f11c7(_0x54da6a,_0x17d041,_0x5423a9,_0x218768),_0x546d64=_0x17d041[_0xc6bec7(0xd9)]()[_0xc6bec7(0xf5)](_0x425004=>_0x425004[_0xc6bec7(0xf7)]);_0x5423a9[_0xc6bec7(0x9c)]=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0x7c))[_0xc6bec7(0xe1)][_0xc6bec7(0xc9)](_0x546d64),this[_0xc6bec7(0xc6)][_0xc6bec7(0xe6)](_0x17d041,_0x247d56),this[_0xc6bec7(0x95)][_0xc6bec7(0xe6)](_0x5423a9,_0x247d56);const _0x1880e0=_0x420de8[_0xc6bec7(0xf2)]({'view':_0x29a920,'target':()=>{const _0x163472=_0xc6bec7,_0xcc5e57=[],_0x420edc=_0x17d041[_0x163472(0xd9)]()[_0x163472(0xf5)](_0x3a4f88=>_0x3a4f88[_0x163472(0xf7)]);for(const _0x472d67 of _0x420edc)_0xcc5e57[_0x163472(0x90)](..._0x472d67[_0x163472(0xd1)]());return _0xe4fd21(_0x54da6a[_0x163472(0x103)],_0xcc5e57);},'type':()=>_0xc6bec7(0x99)+_0x247d56[_0xc6bec7(0xe4)][_0xc6bec7(0xfd)]});_0x598137[_0xc6bec7(0x7e)](_0x5423a9,_0x1880e0),_0x420de8[_0xc6bec7(0x81)](_0x1880e0),_0x1e8f5d[_0xc6bec7(0xc3)](_0x1880e0);}[_0x49b3c2(0xf4)](_0x33ee33){const _0x51788c=_0x49b3c2,_0x560d30=this[_0x51788c(0xf0)][_0x51788c(0xd2)][_0x51788c(0xe5)](_0x51788c(0xba)),_0x31f19e=this[_0x51788c(0xf0)][_0x51788c(0xd2)][_0x51788c(0xe5)](_0x51788c(0x8a)),_0x2ebf7d=this[_0x51788c(0xc6)][_0x51788c(0xe5)](_0x33ee33),_0x15948c=_0x2ebf7d[_0x51788c(0xe4)],_0x57a2e5=_0x31f19e[_0x51788c(0x79)](_0x15948c);_0x560d30[_0x51788c(0x8c)](_0x15948c),_0x57a2e5&&_0x31f19e[_0x51788c(0xc8)](_0x57a2e5),this[_0x51788c(0xc6)][_0x51788c(0xa7)](_0x33ee33),this[_0x51788c(0x95)][_0x51788c(0xa7)](_0x15948c),_0x2ebf7d[_0x51788c(0x87)]();}[_0x49b3c2(0xb3)](_0x11b650){const _0x83ce73=_0x49b3c2;if(!_0x11b650[_0x83ce73(0xf7)]||!this[_0x83ce73(0xc6)][_0x83ce73(0xf1)](_0x11b650))return;const _0x3a7ada=this[_0x83ce73(0xf0)][_0x83ce73(0xd2)][_0x83ce73(0xe5)](_0x83ce73(0x7c)),_0x2bd644=this[_0x83ce73(0xc6)][_0x83ce73(0xe5)](_0x11b650),_0x59c076=_0x11b650[_0x83ce73(0xd9)]();_0x2bd644[_0x83ce73(0xe4)][_0x83ce73(0x9c)]=_0x3a7ada[_0x83ce73(0xe1)][_0x83ce73(0xc9)](_0x59c076);}[_0x49b3c2(0x87)](){const _0x34ecee=_0x49b3c2;for(const _0x15a643 of this[_0x34ecee(0xc6)][_0x34ecee(0xcb)]())this[_0x34ecee(0xf4)](_0x15a643);for(const _0xa3b879 of this[_0x34ecee(0x8f)][_0x34ecee(0xeb)]())_0xa3b879[_0x34ecee(0xec)][_0x34ecee(0x87)]();super[_0x34ecee(0x87)]();}}function ae(_0xa8d07f){const _0x3e4cff=_0x49b3c2;return _0x3e4cff(0x83)in _0xa8d07f;}
|
|
23
|
+
const _0x34eebb=_0x4236;(function(_0x32013d,_0x366087){const _0x5ab206=_0x4236,_0x33ad8d=_0x32013d();while(!![]){try{const _0x4cbafe=-parseInt(_0x5ab206(0x11f))/0x1+parseInt(_0x5ab206(0x16e))/0x2*(-parseInt(_0x5ab206(0x163))/0x3)+parseInt(_0x5ab206(0x170))/0x4+parseInt(_0x5ab206(0x125))/0x5*(parseInt(_0x5ab206(0x13a))/0x6)+-parseInt(_0x5ab206(0x152))/0x7+-parseInt(_0x5ab206(0xe3))/0x8+parseInt(_0x5ab206(0x167))/0x9;if(_0x4cbafe===_0x366087)break;else _0x33ad8d['push'](_0x33ad8d['shift']());}catch(_0x2d6c08){_0x33ad8d['push'](_0x33ad8d['shift']());}}}(_0x1f6f,0x18f2b));import{Plugin as _0x1cce68}from'ckeditor5/src/core.js';import{Collection as _0x292e43}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x50a60f,createDropdown as _0x126432,ListSeparatorView as _0x4bc40c,MenuBarMenuView as _0xe541d0,MenuBarMenuListView as _0x1826bf,MenuBarMenuListItemView as _0x42224d,MenuBarMenuListItemButtonView as _0x5ef4f0,SplitButtonView as _0x5ee315,ViewModel as _0x4f2fbd}from'ckeditor5/src/ui.js';function _0x1f6f(){const _0x14d2de=['children','_annotationViews','getAllAdjacentSuggestions','has','hasSuggestion','from','previous','componentFactory','_destroyController','arrowView','head','separator','_createToolbarButton','_suggestionToController','change:activeAnnotations','change:previous','pluginName','suggestionChanged','define','discardButton','Discard\x20all\x20selected\x20suggestions','items','Accept\x20all\x20selected\x20suggestions','isOn','type','menuBar:trackChanges','suggestionUnloaded','menuitemcheckbox','createAnnotationView','delete','createAnnotation','config','refreshSelectedViews','comments.maxThreadTotalWeight','acceptSelectedSuggestions','requires','activeMarkers','_createMenuBarMenu','delegate','bind','discardSelectedSuggestions','comments','toMany','70139gZnfNj','acceptAllSuggestions','discardAllSuggestions','comments.editorConfig','CommentView','getFirstRange','4555rvOXzg','Accept\x20all\x20suggestions','mainView','createCommentThreadController','value','source','isMultiRange','clear','getMarkers','reduce','_handleSuggestionControllerDelayed','locale','init','getRanges','keys','_handleControllerBuffer','comments.maxCommentCharsWhenCollapsed','EditorAnnotations','activeAnnotations','trackChanges','size','138pQGubv','button','isDirty','destroy','Discard\x20all\x20suggestions','Annotations','Track\x20changes','getMarkerNames','comments.maxCommentsWhenCollapsed','SuggestionThreadView','_refreshActiveMarkers','getDescriptions','CommentsUI','panelView','isInContent','commands','_initializeController','buttonView','get','switchbutton','listenTo','suggestionLoaded','set','stopListening','697802SMjCAa','length','innerView','getByInnerView','_bindAnnotationToEditors','editing','_disableComments','addSourceCollector','view','execute','filter','suggestion-','editor','registerAnnotation','some','CommentsRepository','push','3maeIAS','trackChanges.SuggestionThreadView','acceptButton','getSuggestion','4033665JFaDuV','_unbindEditors','remove','model','menu','_updateController','actionView','224170oXkfat','_addUIComponentsToFactory','2132iLqzPV','unbind','TrackChangesUI','684592iEArNb','add','lowest','descriptionFactory','trackChanges.disableComments','TrackChangesEditing','plugins','getJoined','commentThread','commandName','focus','descriptionParts','addComment','_viewToController','isEnabled','menuitem','values'];_0x1f6f=function(){return _0x14d2de;};return _0x1f6f();}import{Users as _0x566e82,getDateTimeFormatter as _0x3ed67e,getAllMarkersDomElementsSorted as _0xd50980}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4b0ae4 from'./trackchangesediting.js';function _0x4236(_0x54d322,_0xd85f4){const _0x1f6f55=_0x1f6f();return _0x4236=function(_0x42361c,_0x2b908f){_0x42361c=_0x42361c-0xe3;let _0x563221=_0x1f6f55[_0x42361c];return _0x563221;},_0x4236(_0x54d322,_0xd85f4);}import _0x1d4c14 from'./ui/suggestioncontroller.js';import _0x26715c from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x541cd2}from'./utils/common-translations.js';import _0x2d3d6d from'../theme/icons/track-changes.svg';export default class d extends _0x1cce68{static get[_0x34eebb(0x117)](){const _0x3975d0=_0x34eebb;return[_0x4b0ae4,_0x566e82,_0x3975d0(0x161),_0x3975d0(0x13f),_0x3975d0(0x136)];}static get[_0x34eebb(0x104)](){const _0x456532=_0x34eebb;return _0x456532(0x172);}constructor(_0x157134){const _0x30e670=_0x34eebb;super(_0x157134),this[_0x30e670(0x101)]=new Map(),this[_0x30e670(0xf0)]=new Map(),this[_0x30e670(0xf5)]=new Map(),this[_0x30e670(0x134)]=new Map();const _0x27b2e6=this[_0x30e670(0x15e)][_0x30e670(0x113)];_0x27b2e6[_0x30e670(0x106)](_0x30e670(0x164),_0x26715c),_0x27b2e6[_0x30e670(0x106)](_0x30e670(0xe7),!0x1),this[_0x30e670(0x158)]=_0x27b2e6[_0x30e670(0x14c)](_0x30e670(0xe7));}[_0x34eebb(0x12f)](_0xf7fc6b,_0x307615){const _0x47b091=_0x34eebb;0x0===this[_0x47b091(0x134)][_0x47b091(0x139)]&&setTimeout(()=>{const _0x226d12=_0x47b091;for(const [_0xf01cbb,_0xd68eb4]of this[_0x226d12(0x134)]){const _0x2f6a3b=this[_0x226d12(0x101)][_0x226d12(0xf7)](_0xf01cbb);_0x2f6a3b||_0xd68eb4?_0x2f6a3b&&_0xd68eb4&&this[_0x226d12(0xfc)](_0xf01cbb):this[_0x226d12(0x14a)](_0xf01cbb);}this[_0x226d12(0x134)][_0x226d12(0x12c)](),this[_0x226d12(0x15e)][_0x226d12(0xe9)][_0x226d12(0x14c)](_0x226d12(0x136))[_0x226d12(0x114)](),this[_0x226d12(0x144)]();},0xa),this[_0x47b091(0x134)][_0x47b091(0x150)](_0xf7fc6b,_0x307615);}[_0x34eebb(0x131)](){const _0x3bbb3a=_0x34eebb,_0x1540c4=this[_0x3bbb3a(0x15e)],_0x58ce34=_0x1540c4[_0x3bbb3a(0xe9)][_0x3bbb3a(0x14c)](_0x3bbb3a(0xe8)),_0x399f98=_0x1540c4[_0x3bbb3a(0xe9)][_0x3bbb3a(0x14c)](_0x3bbb3a(0x13f)),_0xfc811f=_0x1540c4[_0x3bbb3a(0xe9)][_0x3bbb3a(0x14c)](_0x3bbb3a(0x136)),_0x97d5f8=_0x1540c4[_0x3bbb3a(0xe9)][_0x3bbb3a(0x14c)](_0x3bbb3a(0x161));this[_0x3bbb3a(0x16f)](),_0xfc811f[_0x3bbb3a(0x159)](()=>{const _0x4e146f=_0x3bbb3a,_0xf4678e=[];for(const [_0x3b3973,_0x309f6a]of Array[_0x4e146f(0xf9)](this[_0x4e146f(0x101)])){const _0x4593c4=_0x3b3973[_0x4e146f(0xf6)](),_0x1966fa=[];for(const _0xbdd7b6 of _0x4593c4){if(!_0xbdd7b6[_0x4e146f(0x148)])continue;if(_0xbdd7b6[_0x4e146f(0x12b)]){_0x1966fa[_0x4e146f(0x162)](..._0xbdd7b6[_0x4e146f(0x132)]());continue;}const _0x309536=_0xbdd7b6[_0x4e146f(0x124)]();if(_0x1966fa[_0x4e146f(0x153)]>0x0){const _0x4cfe47=_0x1966fa[0x0][_0x4e146f(0xea)](_0x309536);if(_0x4cfe47){_0x1966fa[0x0]=_0x4cfe47;continue;}}_0x1966fa[_0x4e146f(0x162)](_0x309536);}_0xf4678e[_0x4e146f(0x162)]([_0x309f6a[_0x4e146f(0x15a)],_0x1966fa]);}return _0xf4678e;}),this[_0x3bbb3a(0x14e)](_0x58ce34,_0x3bbb3a(0x14f),(_0x20cbe0,_0x519953)=>{const _0x27dc32=_0x3bbb3a;this[_0x27dc32(0x14e)](_0x519953,_0x27dc32(0x103),(_0x3268db,_0x19cb51,_0x481a80,_0x5c4c60)=>{const _0x3d0e59=_0x27dc32;_0x519953[_0x3d0e59(0x148)]&&(null==_0x481a80?(this[_0x3d0e59(0x16c)](_0x5c4c60[_0x3d0e59(0xfe)]),this[_0x3d0e59(0x12f)](_0x519953,!0x1)):(this[_0x3d0e59(0x16c)](_0x481a80[_0x3d0e59(0xfe)]),null==_0x5c4c60&&this[_0x3d0e59(0x12f)](_0x519953,!0x0)));}),null!==_0x519953[_0x27dc32(0xfa)]?this[_0x27dc32(0x16c)](_0x519953[_0x27dc32(0xfe)]):this[_0x27dc32(0x12f)](_0x519953,!0x1);}),this[_0x3bbb3a(0x14e)](_0x58ce34,_0x3bbb3a(0x10e),(_0x431ac3,_0x4f444c,_0x5624da)=>{const _0x28e0f0=_0x3bbb3a;this[_0x28e0f0(0x151)](_0x4f444c,_0x28e0f0(0x103)),this[_0x28e0f0(0x134)][_0x28e0f0(0x111)](_0x4f444c),this[_0x28e0f0(0x101)][_0x28e0f0(0xf7)](_0x4f444c)&&this[_0x28e0f0(0xfc)](_0x4f444c),_0x5624da&&this[_0x28e0f0(0x16c)](_0x5624da[_0x28e0f0(0xfe)]);}),this[_0x3bbb3a(0x14e)](_0x58ce34,_0x3bbb3a(0x105),(_0x4d1d2e,_0x3e1d25)=>{const _0x16ed2c=_0x3bbb3a;this[_0x16ed2c(0x16c)](_0x3e1d25);}),this[_0x3bbb3a(0x14e)](_0x399f98,_0x3bbb3a(0x102),()=>{const _0x2e9338=_0x3bbb3a;this[_0x2e9338(0x144)]();}),this[_0x3bbb3a(0x14e)](_0x97d5f8,_0x3bbb3a(0xef),(_0x140592,{threadId:_0x303a1d,isFromAdapter:_0x1abb33})=>{const _0x3a34a4=_0x3bbb3a;if(_0x1abb33||!_0x58ce34[_0x3a34a4(0xf8)](_0x303a1d))return;const _0x366503=_0x58ce34[_0x3a34a4(0x166)](_0x303a1d);this[_0x3a34a4(0x101)][_0x3a34a4(0x14c)](_0x366503)[_0x3a34a4(0x15a)][_0x3a34a4(0xed)]();},{'priority':_0x3bbb3a(0xe5)});}[_0x34eebb(0x144)](){const _0x26208d=_0x34eebb,_0x1941a0=this[_0x26208d(0x15e)][_0x26208d(0xe9)][_0x26208d(0x14c)](_0x26208d(0x13f)),_0x433bec=this[_0x26208d(0x15e)][_0x26208d(0xe9)][_0x26208d(0x14c)](_0x26208d(0xe8)),_0x206783=Array[_0x26208d(0xf9)](_0x1941a0[_0x26208d(0x137)],_0x19fec9=>_0x19fec9[_0x26208d(0x154)])[_0x26208d(0x15c)](_0x1c79e1=>this[_0x26208d(0xf0)][_0x26208d(0xf7)](_0x1c79e1)),_0x301a98=[];for(const _0x16821b of _0x206783){const _0x306b74=this[_0x26208d(0xf0)][_0x26208d(0x14c)](_0x16821b)[_0x26208d(0x16a)][_0x26208d(0xf6)]();_0x301a98[_0x26208d(0x162)](..._0x306b74[_0x26208d(0x12e)]((_0x45fa9b,_0x564c3c)=>[..._0x45fa9b,..._0x564c3c[_0x26208d(0x141)]()],[]));}_0x433bec[_0x26208d(0x118)]=_0x301a98;}[_0x34eebb(0x16f)](){const _0x473e50=_0x34eebb,_0x4a2669=this[_0x473e50(0x15e)],_0x1d3bd6=_0x4a2669[_0x473e50(0x130)],_0x3a2f14=_0x541cd2(_0x1d3bd6,_0x473e50(0x140)),_0x156e33=new _0x292e43([{'type':_0x473e50(0x14d),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x3a2f14,'commandName':_0x473e50(0x138),'role':_0x473e50(0x10f)})},{'type':_0x473e50(0xff)},{'type':_0x473e50(0x13b),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x541cd2(_0x1d3bd6,_0x473e50(0x126)),'commandName':_0x473e50(0x120),'role':_0x473e50(0xf2)})},{'type':_0x473e50(0x13b),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x541cd2(_0x1d3bd6,_0x473e50(0x10a)),'commandName':_0x473e50(0x116),'role':_0x473e50(0xf2)})},{'type':_0x473e50(0x13b),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x541cd2(_0x1d3bd6,_0x473e50(0x13e)),'commandName':_0x473e50(0x121),'role':_0x473e50(0xf2)})},{'type':_0x473e50(0x13b),'model':new _0x4f2fbd({'withText':!0x0,'label':_0x541cd2(_0x1d3bd6,_0x473e50(0x108)),'commandName':_0x473e50(0x11c),'role':_0x473e50(0xf2)})}]);for(const _0x222570 of _0x156e33)if(ae(_0x222570)){const _0x255087=_0x4a2669[_0x473e50(0x149)][_0x473e50(0x14c)](_0x222570[_0x473e50(0x16a)][_0x473e50(0xec)]);_0x222570[_0x473e50(0x16a)][_0x473e50(0x11b)](_0x473e50(0x10b),_0x473e50(0xf1))['to'](_0x255087,_0x473e50(0x129),_0x473e50(0xf1));}_0x4a2669['ui'][_0x473e50(0xfb)][_0x473e50(0xe4)](_0x473e50(0x138),_0x297cd4=>this[_0x473e50(0x100)](_0x297cd4,_0x156e33,_0x3a2f14)),_0x4a2669['ui'][_0x473e50(0xfb)][_0x473e50(0xe4)](_0x473e50(0x10d),_0x84141a=>this[_0x473e50(0x119)](_0x84141a,_0x156e33,_0x3a2f14));}[_0x34eebb(0x100)](_0x37c56a,_0xe73a71,_0x55f0a5){const _0x41919d=_0x34eebb,_0x525f1e=_0x126432(_0x37c56a,_0x5ee315),_0x5789cc=this[_0x41919d(0x15e)][_0x41919d(0x149)][_0x41919d(0x14c)](_0x41919d(0x138));_0x525f1e[_0x41919d(0x14b)][_0x41919d(0x150)]({'tooltip':_0x55f0a5,'label':_0x55f0a5,'icon':_0x2d3d6d}),_0x525f1e[_0x41919d(0x14b)][_0x41919d(0x11b)](_0x41919d(0x10b))['to'](_0x5789cc,_0x41919d(0x129)),_0x525f1e[_0x41919d(0x14b)]['on'](_0x41919d(0x15b),()=>{const _0x4ba61c=_0x41919d;_0x5789cc[_0x4ba61c(0x15b)](),this[_0x4ba61c(0x15e)][_0x4ba61c(0x157)][_0x4ba61c(0x15a)][_0x4ba61c(0xed)]();}),_0x50a60f(_0x525f1e,_0xe73a71,{'role':_0x41919d(0x16b)});const _0xc3b46b=[];for(const _0x2317fe of _0xe73a71)ae(_0x2317fe)&&_0xc3b46b[_0x41919d(0x162)](this[_0x41919d(0x15e)][_0x41919d(0x149)][_0x41919d(0x14c)](_0x2317fe[_0x41919d(0x16a)][_0x41919d(0xec)]));const _0x5d2409=_0x525f1e[_0x41919d(0x14b)];return _0x5d2409[_0x41919d(0x16d)][_0x41919d(0x171)](_0x41919d(0xf1)),_0x5d2409[_0x41919d(0xfd)][_0x41919d(0x171)](_0x41919d(0xf1)),_0x5d2409[_0x41919d(0x16d)][_0x41919d(0x11b)](_0x41919d(0xf1))['to'](_0x5789cc,_0x41919d(0xf1)),_0x5d2409[_0x41919d(0xfd)][_0x41919d(0x11b)](_0x41919d(0xf1))[_0x41919d(0x11e)](_0xc3b46b,_0x41919d(0xf1),(..._0x8ce755)=>_0x8ce755[_0x41919d(0x160)](_0x46d326=>_0x46d326)),_0x525f1e['on'](_0x41919d(0x15b),_0x1f0df3=>{const _0x17d697=_0x41919d;this[_0x17d697(0x15e)][_0x17d697(0x15b)](_0x1f0df3[_0x17d697(0x12a)][_0x17d697(0xec)]),this[_0x17d697(0x15e)][_0x17d697(0x157)][_0x17d697(0x15a)][_0x17d697(0xed)]();}),_0x525f1e;}[_0x34eebb(0x119)](_0x5cd454,_0x4ec5a0,_0x452a9d){const _0xa19a45=_0x34eebb,_0x565871=new _0xe541d0(_0x5cd454),_0x34744a=this[_0xa19a45(0x15e)][_0xa19a45(0x149)][_0xa19a45(0x14c)](_0xa19a45(0x138));_0x565871[_0xa19a45(0x14b)][_0xa19a45(0x150)]({'label':_0x452a9d,'icon':_0x2d3d6d});const _0x36757d=new _0x1826bf(_0x5cd454);for(const _0x291677 of _0x4ec5a0){if(_0xa19a45(0xff)==_0x291677[_0xa19a45(0x10c)]){_0x36757d[_0xa19a45(0x109)][_0xa19a45(0xe4)](new _0x4bc40c(_0x5cd454));continue;}const _0x34c781=new _0x42224d(_0x5cd454,_0x565871),_0x3eb741=new _0x5ef4f0(_0x5cd454),_0x5d2539=_0x291677[_0xa19a45(0x16a)];_0x3eb741[_0xa19a45(0x11b)](...Object[_0xa19a45(0x133)](_0x5d2539))['to'](_0x5d2539),_0x3eb741[_0xa19a45(0x11a)](_0xa19a45(0x15b))['to'](_0x565871),_0x3eb741['on'](_0xa19a45(0x15b),()=>{const _0x52a498=_0xa19a45;this[_0x52a498(0x15e)][_0x52a498(0x15b)](_0x5d2539[_0x52a498(0xec)]),this[_0x52a498(0x15e)][_0x52a498(0x157)][_0x52a498(0x15a)][_0x52a498(0xed)]();}),_0x34c781[_0xa19a45(0xf4)][_0xa19a45(0xe4)](_0x3eb741),_0x36757d[_0xa19a45(0x109)][_0xa19a45(0xe4)](_0x34c781);}return _0x565871[_0xa19a45(0x11b)](_0xa19a45(0xf1))['to'](_0x34744a,_0xa19a45(0xf1)),_0x565871[_0xa19a45(0x147)][_0xa19a45(0xf4)][_0xa19a45(0xe4)](_0x36757d),_0x565871;}[_0x34eebb(0x14a)](_0x1b47e9){const _0x3ff0d2=_0x34eebb,_0x12bb39=this[_0x3ff0d2(0x15e)],_0x434d1c=_0x12bb39[_0x3ff0d2(0x113)],_0x5287c7=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0x13f)),_0x843a33=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0x161)),_0x270958=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0x136)),_0x272b8d=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x566e82)['me'],_0xf4c359=_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x138))[_0x3ff0d2(0x143)],{CommentsListView:_0x108bd6,CommentThreadInputView:_0x30d825}=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0x146));let _0x5c1727,_0x589d3b;this[_0x3ff0d2(0xf5)][_0x3ff0d2(0xf7)](_0x1b47e9['id'])?(_0x589d3b=this[_0x3ff0d2(0xf5)][_0x3ff0d2(0x14c)](_0x1b47e9['id']),_0x5c1727=_0x589d3b[_0x3ff0d2(0x127)]):(_0x5c1727=new _0xf4c359(_0x12bb39[_0x3ff0d2(0x130)],_0x1b47e9,_0x272b8d,{'disableComments':this[_0x3ff0d2(0x158)],'editorConfig':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x122)),'maxCommentsWhenCollapsed':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x142)),'maxThreadTotalWeight':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x115)),'maxCommentCharsWhenCollapsed':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x135)),'formatDateTime':_0x3ed67e(_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x130))),'CommentView':_0x434d1c[_0x3ff0d2(0x14c)](_0x3ff0d2(0x11d))[_0x3ff0d2(0x123)],'CommentsListView':_0x108bd6,'CommentThreadInputView':_0x30d825}),_0x5c1727[_0x3ff0d2(0x165)]['on'](_0x3ff0d2(0x15b),()=>{const _0x531e71=_0x3ff0d2;_0x12bb39[_0x531e71(0x157)][_0x531e71(0x15a)][_0x531e71(0xed)]();}),_0x5c1727[_0x3ff0d2(0x107)]['on'](_0x3ff0d2(0x15b),()=>{const _0x58e97f=_0x3ff0d2;_0x12bb39[_0x58e97f(0x157)][_0x58e97f(0x15a)][_0x58e97f(0xed)]();}),_0x589d3b=_0x5287c7[_0x3ff0d2(0x110)](this[_0x3ff0d2(0x15e)][_0x3ff0d2(0x130)],_0x5c1727),_0x589d3b[_0x3ff0d2(0x11b)](_0x3ff0d2(0x13c))['to'](_0x5c1727,_0x3ff0d2(0x13c)),_0x589d3b[_0x3ff0d2(0x11b)](_0x3ff0d2(0x153))['to'](_0x5c1727),_0x589d3b[_0x3ff0d2(0x11b)](_0x3ff0d2(0x10c))['to'](_0x5c1727,_0x3ff0d2(0x10c),_0x7ce14f=>_0x3ff0d2(0x15d)+_0x7ce14f),this[_0x3ff0d2(0xf5)][_0x3ff0d2(0x150)](_0x1b47e9['id'],_0x589d3b));const _0x1e74cf=_0x843a33[_0x3ff0d2(0x128)](_0x1b47e9[_0x3ff0d2(0xeb)],_0x5c1727),_0x3b2fd6=new _0x1d4c14(_0x12bb39,_0x1b47e9,_0x5c1727,_0x1e74cf),_0x5f55cf=_0x1b47e9[_0x3ff0d2(0xf6)]()[_0x3ff0d2(0x15c)](_0xe094c8=>_0xe094c8[_0x3ff0d2(0x148)]);_0x5c1727[_0x3ff0d2(0xee)]=_0x12bb39[_0x3ff0d2(0xe9)][_0x3ff0d2(0x14c)](_0x3ff0d2(0xe8))[_0x3ff0d2(0xe6)][_0x3ff0d2(0x145)](_0x5f55cf),this[_0x3ff0d2(0x101)][_0x3ff0d2(0x150)](_0x1b47e9,_0x3b2fd6),this[_0x3ff0d2(0xf0)][_0x3ff0d2(0x150)](_0x5c1727,_0x3b2fd6);const _0x4a65ac=_0x5287c7[_0x3ff0d2(0x112)]({'view':_0x589d3b,'target':()=>{const _0x3e8caa=_0x3ff0d2,_0x257ed7=[],_0x25eb9b=_0x1b47e9[_0x3e8caa(0xf6)]()[_0x3e8caa(0x15c)](_0x2a24c3=>_0x2a24c3[_0x3e8caa(0x148)]);for(const _0x3f1d76 of _0x25eb9b)_0x257ed7[_0x3e8caa(0x162)](..._0x3f1d76[_0x3e8caa(0x12d)]());return _0xd50980(_0x12bb39[_0x3e8caa(0x157)],_0x257ed7);},'type':()=>_0x3ff0d2(0x15d)+_0x3b2fd6[_0x3ff0d2(0x15a)][_0x3ff0d2(0x10c)]});_0x843a33[_0x3ff0d2(0x156)](_0x5c1727,_0x4a65ac),_0x5287c7[_0x3ff0d2(0xe4)](_0x4a65ac),_0x270958[_0x3ff0d2(0x15f)](_0x4a65ac);}[_0x34eebb(0xfc)](_0x491719){const _0x1b9057=_0x34eebb,_0x554257=this[_0x1b9057(0x15e)][_0x1b9057(0xe9)][_0x1b9057(0x14c)](_0x1b9057(0x161)),_0x478c88=this[_0x1b9057(0x15e)][_0x1b9057(0xe9)][_0x1b9057(0x14c)](_0x1b9057(0x13f)),_0x5079db=this[_0x1b9057(0x101)][_0x1b9057(0x14c)](_0x491719),_0x44514a=_0x5079db[_0x1b9057(0x15a)],_0x4029f1=_0x478c88[_0x1b9057(0x155)](_0x44514a);_0x554257[_0x1b9057(0x168)](_0x44514a),_0x4029f1&&_0x478c88[_0x1b9057(0x169)](_0x4029f1),this[_0x1b9057(0x101)][_0x1b9057(0x111)](_0x491719),this[_0x1b9057(0xf0)][_0x1b9057(0x111)](_0x44514a),_0x5079db[_0x1b9057(0x13d)]();}[_0x34eebb(0x16c)](_0x33313f){const _0x3aae94=_0x34eebb;if(!_0x33313f[_0x3aae94(0x148)]||!this[_0x3aae94(0x101)][_0x3aae94(0xf7)](_0x33313f))return;const _0x2fae37=this[_0x3aae94(0x15e)][_0x3aae94(0xe9)][_0x3aae94(0x14c)](_0x3aae94(0xe8)),_0x156d64=this[_0x3aae94(0x101)][_0x3aae94(0x14c)](_0x33313f),_0x324e5d=_0x33313f[_0x3aae94(0xf6)]();_0x156d64[_0x3aae94(0x15a)][_0x3aae94(0xee)]=_0x2fae37[_0x3aae94(0xe6)][_0x3aae94(0x145)](_0x324e5d);}[_0x34eebb(0x13d)](){const _0x401e35=_0x34eebb;for(const _0xb3557e of this[_0x401e35(0x101)][_0x401e35(0x133)]())this[_0x401e35(0xfc)](_0xb3557e);for(const _0x446be9 of this[_0x401e35(0xf5)][_0x401e35(0xf3)]())_0x446be9[_0x401e35(0x127)][_0x401e35(0x13d)]();super[_0x401e35(0x13d)]();}}function ae(_0x1157b9){const _0x5c9591=_0x34eebb;return _0x5c9591(0x16a)in _0x1157b9;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x3911b9=_0x529d;(function(_0x1551be,_0x55b725){const _0x9e3ca7=_0x529d,_0x4ea723=_0x1551be();while(!![]){try{const _0xd1d9fc=parseInt(_0x9e3ca7(0x155))/0x1+-parseInt(_0x9e3ca7(0x139))/0x2+parseInt(_0x9e3ca7(0x15a))/0x3*(parseInt(_0x9e3ca7(0x149))/0x4)+parseInt(_0x9e3ca7(0x14d))/0x5+parseInt(_0x9e3ca7(0x151))/0x6*(-parseInt(_0x9e3ca7(0x15b))/0x7)+parseInt(_0x9e3ca7(0x153))/0x8+-parseInt(_0x9e3ca7(0x143))/0x9;if(_0xd1d9fc===_0x55b725)break;else _0x4ea723['push'](_0x4ea723['shift']());}catch(_0x4babdb){_0x4ea723['push'](_0x4ea723['shift']());}}}(_0x42a5,0x66d27));import{ObservableMixin as _0x537674}from'ckeditor5/src/utils.js';function _0x529d(_0xd92176,_0x3e9d31){const _0x42a5f4=_0x42a5();return _0x529d=function(_0x529dc7,_0x4b5364){_0x529dc7=_0x529dc7-0x139;let _0x116db8=_0x42a5f4[_0x529dc7];return _0x116db8;},_0x529d(_0xd92176,_0x3e9d31);}function _0x42a5(){const _0x2b7fb6=['isDirty','acceptSuggestion','PendingActions','execute','discardSuggestion','unbind','476030WRYsKI','destroy','bind','_pendingAction','listenTo','remove','_editor','canDiscard','stopListening','_removePendingAction','2604402AILIfg','plugins','PENDING_ACTION_SUGGESTION','commands','isEnabled','get','3326828SNBzNg','_setPendingAction','getRanges','view','1637010wvTSpe','_discardCommand','model','_acceptCommand','12mEovEf','commentThreadController','2631704foavHc','add','1654akIxCP','canAccept','canEditAt','locale','change:isDirty','3akKTAz','1894109blpQIC'];_0x42a5=function(){return _0x2b7fb6;};return _0x42a5();}import{getTranslation as _0x4e804e}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x537674(){constructor(_0x15bc76,_0x314804,_0xb3f840,_0xc3e720){const _0x1e8a11=_0x529d;super(),this[_0x1e8a11(0x14f)]=_0x314804,this[_0x1e8a11(0x14c)]=_0xb3f840,this[_0x1e8a11(0x152)]=_0xc3e720,this[_0x1e8a11(0x13f)]=_0x15bc76,this[_0x1e8a11(0x150)]=_0x15bc76[_0x1e8a11(0x146)][_0x1e8a11(0x148)](_0x1e8a11(0x15d)),this[_0x1e8a11(0x14e)]=_0x15bc76[_0x1e8a11(0x146)][_0x1e8a11(0x148)](_0x1e8a11(0x160)),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x147))['to'](this[_0x1e8a11(0x150)],this[_0x1e8a11(0x14e)],(_0xad1c14,_0x4fd64a)=>_0xad1c14||_0x4fd64a),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x156))['to'](this[_0x1e8a11(0x150)],_0x1e8a11(0x147),_0x1f84e9=>_0x1f84e9&&this[_0x1e8a11(0x13f)][_0x1e8a11(0x14f)][_0x1e8a11(0x157)](_0x314804[_0x1e8a11(0x14b)]())),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x140))['to'](this[_0x1e8a11(0x14e)],_0x1e8a11(0x147),_0x489d73=>_0x489d73&&this[_0x1e8a11(0x13f)][_0x1e8a11(0x14f)][_0x1e8a11(0x157)](_0x314804[_0x1e8a11(0x14b)]())),this[_0x1e8a11(0x13c)]=null,_0xb3f840[_0x1e8a11(0x15c)]&&this[_0x1e8a11(0x14a)](),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x15d),()=>this[_0x1e8a11(0x15d)]()),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x160),()=>this[_0x1e8a11(0x160)]()),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x159),()=>{const _0x3ade41=_0x1e8a11;_0xb3f840[_0x3ade41(0x15c)]?this[_0x3ade41(0x14a)]():this[_0x3ade41(0x142)]();});}[_0x3911b9(0x15d)](){const _0x1f2799=_0x3911b9;this[_0x1f2799(0x150)][_0x1f2799(0x15f)](this[_0x1f2799(0x14f)]['id']);}[_0x3911b9(0x160)](){const _0x48ad33=_0x3911b9;this[_0x48ad33(0x14e)][_0x48ad33(0x15f)](this[_0x48ad33(0x14f)]['id']);}[_0x3911b9(0x13a)](){const _0x24991f=_0x3911b9;this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x147)),this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x156)),this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x140)),this[_0x24991f(0x141)](),this[_0x24991f(0x152)][_0x24991f(0x13a)](),this[_0x24991f(0x13c)]&&this[_0x24991f(0x142)]();}[_0x3911b9(0x14a)](){const _0x48da69=_0x3911b9,_0x17a64e=_0x4e804e(this[_0x48da69(0x13f)][_0x48da69(0x158)],_0x48da69(0x145));this[_0x48da69(0x13c)]=this[_0x48da69(0x13f)][_0x48da69(0x144)][_0x48da69(0x148)](_0x48da69(0x15e))[_0x48da69(0x154)](_0x17a64e);}[_0x3911b9(0x142)](){const _0x3b2e4c=_0x3911b9;null!==this[_0x3b2e4c(0x13c)]&&this[_0x3b2e4c(0x13f)][_0x3b2e4c(0x144)][_0x3b2e4c(0x148)](_0x3b2e4c(0x15e))[_0x3b2e4c(0x13e)](this[_0x3b2e4c(0x13c)]),this[_0x3b2e4c(0x13c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2d28(){const _0x4de8f4=['_localUser','setData','_config','delegate','fire','bind','assign','627567khgkFd','10HPVscF','length','canAccept','removeComment','editor','showInput','locale','473728Djlakh','commentThread','1097810YSQxRH','8gzQZuy','addComment','focus','385828Yonmuf','descriptionParts','isActive','commentInputView','isDirty','canDiscard','CommentView','55818heNUrW','cancel','disableComments','45bTTGMT','disabledSubmit','submit','updateComment','isReadOnly','element','isEnabled','commentsListView','hasDirtyComment','editorConfig','_model','_createCommentThreadInputView','_createCommentViews','authoredAt','471156LaaVnE','set','19939601FQBLXb','commentThreadInputView','destroy','value','1056EGgreV'];_0x2d28=function(){return _0x4de8f4;};return _0x2d28();}const _0x35c4f1=_0x1e9f;(function(_0x17ed80,_0x478819){const _0x527de1=_0x1e9f,_0x117d80=_0x17ed80();while(!![]){try{const _0x47dd8e=-parseInt(_0x527de1(0xf0))/0x1+-parseInt(_0x527de1(0xf3))/0x2*(parseInt(_0x527de1(0xe8))/0x3)+-parseInt(_0x527de1(0xf6))/0x4*(-parseInt(_0x527de1(0xcc))/0x5)+parseInt(_0x527de1(0xda))/0x6+-parseInt(_0x527de1(0xf2))/0x7+parseInt(_0x527de1(0xe0))/0x8*(-parseInt(_0x527de1(0xc9))/0x9)+parseInt(_0x527de1(0xe9))/0xa*(parseInt(_0x527de1(0xdc))/0xb);if(_0x47dd8e===_0x478819)break;else _0x117d80['push'](_0x117d80['shift']());}catch(_0x52673e){_0x117d80['push'](_0x117d80['shift']());}}}(_0x2d28,0x73908));import{View as _0x2a4d3f}from'ckeditor5/src/ui.js';function _0x1e9f(_0x5e7054,_0x40e1c8){const _0x2d2886=_0x2d28();return _0x1e9f=function(_0x1e9f94,_0x24c8c2){_0x1e9f94=_0x1e9f94-0xc7;let _0x323443=_0x2d2886[_0x1e9f94];return _0x323443;},_0x1e9f(_0x5e7054,_0x40e1c8);}export default class es extends _0x2a4d3f{constructor(_0x3f7192,_0x38c37,_0x181f8,_0xcdee0c){const _0x4de206=_0x1e9f;super(_0x3f7192),this[_0x4de206(0xd3)]=null,this[_0x4de206(0xdd)]=null,this[_0x4de206(0xdb)](_0x4de206(0xf8),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xd9),_0x38c37[_0x4de206(0xd9)]),this[_0x4de206(0xe6)](_0x4de206(0xd9))['to'](_0x38c37),this[_0x4de206(0xdb)](_0x4de206(0xf7),[]),this[_0x4de206(0xdb)](_0x4de206(0xfa),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xd2),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xeb),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xc7),!0x1),this[_0x4de206(0xd6)]=_0x38c37,this[_0x4de206(0xe1)]=_0x181f8,this[_0x4de206(0xe3)]=_0xcdee0c,_0xcdee0c[_0x4de206(0xcb)]?this[_0x4de206(0xdb)](_0x4de206(0xea),0x1):this[_0x4de206(0xd8)]();}[_0x35c4f1(0xf5)](){const _0x5cda61=_0x35c4f1;this[_0x5cda61(0xd1)][_0x5cda61(0xf5)]();}[_0x35c4f1(0xde)](){const _0x41b22d=_0x35c4f1;this[_0x41b22d(0xd3)]&&this[_0x41b22d(0xd3)][_0x41b22d(0xde)](),this[_0x41b22d(0xdd)]&&this[_0x41b22d(0xdd)][_0x41b22d(0xde)](),super[_0x41b22d(0xde)]();}[_0x35c4f1(0xd8)](){const _0x3179cf=_0x35c4f1,{CommentsListView:_0x1f51f2}=this[_0x3179cf(0xe3)];this[_0x3179cf(0xd3)]=new _0x1f51f2(this[_0x3179cf(0xef)],this[_0x3179cf(0xd6)][_0x3179cf(0xf1)],Object[_0x3179cf(0xe7)]({'CommentView':this[_0x3179cf(0xe3)][_0x3179cf(0xc8)]},this[_0x3179cf(0xe3)])),this[_0x3179cf(0xd3)][_0x3179cf(0xe4)](_0x3179cf(0xec))['to'](this),this[_0x3179cf(0xd3)][_0x3179cf(0xe4)](_0x3179cf(0xcf))['to'](this),this[_0x3179cf(0xd3)][_0x3179cf(0xe6)](_0x3179cf(0xf8))['to'](this),this[_0x3179cf(0xdb)](_0x3179cf(0xea),this[_0x3179cf(0xd3)][_0x3179cf(0xea)]+0x1),this[_0x3179cf(0xe6)](_0x3179cf(0xea))['to'](this[_0x3179cf(0xd3)],_0x3179cf(0xea),_0x40397d=>_0x40397d+0x1),this[_0x3179cf(0xdd)]=this[_0x3179cf(0xd7)](),this['on'](_0x3179cf(0xec),()=>this[_0x3179cf(0xf5)]()),this[_0x3179cf(0xe6)](_0x3179cf(0xfa))['to'](this[_0x3179cf(0xd3)],_0x3179cf(0xd4),this[_0x3179cf(0xdd)][_0x3179cf(0xf9)],_0x3179cf(0xdf),(_0x44dbae,_0x1ba96b)=>_0x44dbae||!!_0x1ba96b);}[_0x35c4f1(0xd7)](){const _0xcb71bd=_0x35c4f1,{CommentThreadInputView:_0x5ea907}=this[_0xcb71bd(0xe3)],_0x16584a=new _0x5ea907(this[_0xcb71bd(0xef)],this[_0xcb71bd(0xe1)],this[_0xcb71bd(0xe3)][_0xcb71bd(0xd5)]),_0x79396d=_0x16584a[_0xcb71bd(0xf9)];return _0x16584a[_0xcb71bd(0xe6)](_0xcb71bd(0xee))['to'](this,_0xcb71bd(0xf8),this[_0xcb71bd(0xd6)][_0xcb71bd(0xf1)],_0xcb71bd(0xd0),_0x79396d,_0xcb71bd(0xdf),(_0x166abc,_0x1dd9f6,_0x130638)=>!!_0x130638||_0x166abc&&!_0x1dd9f6),_0x79396d['on'](_0xcb71bd(0xce),(_0x3b7f36,_0x4bca65)=>{const _0x392ccb=_0xcb71bd;this[_0x392ccb(0xe5)](_0x392ccb(0xf4),_0x4bca65),_0x79396d[_0x392ccb(0xed)][_0x392ccb(0xe2)]('');}),_0x79396d['on'](_0xcb71bd(0xca),()=>this[_0xcb71bd(0xf5)]()),_0x79396d[_0xcb71bd(0xe6)](_0xcb71bd(0xcd))['to'](this[_0xcb71bd(0xd6)][_0xcb71bd(0xf1)],_0xcb71bd(0xd0)),_0x16584a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53fe65=_0x4032;(function(_0x4af3d8,_0x5546d4){const _0x3c75fc=_0x4032,_0x5daff1=_0x4af3d8();while(!![]){try{const _0x1f7bfa=-parseInt(_0x3c75fc(0xe7))/0x1+-parseInt(_0x3c75fc(0x94))/0x2*(-parseInt(_0x3c75fc(0x8e))/0x3)+-parseInt(_0x3c75fc(0xe3))/0x4*(parseInt(_0x3c75fc(0xc4))/0x5)+-parseInt(_0x3c75fc(0xce))/0x6+parseInt(_0x3c75fc(0x80))/0x7+-parseInt(_0x3c75fc(0xcb))/0x8*(parseInt(_0x3c75fc(0xd1))/0x9)+-parseInt(_0x3c75fc(0x99))/0xa*(-parseInt(_0x3c75fc(0xd0))/0xb);if(_0x1f7bfa===_0x5546d4)break;else _0x5daff1['push'](_0x5daff1['shift']());}catch(_0x2248d1){_0x5daff1['push'](_0x5daff1['shift']());}}}(_0x4e39,0xf1079));import{getTranslation as _0x5858e9}from'../../utils/common-translations.js';import{default as _0x404085}from'./basesuggestionthreadview.js';import{ButtonView as _0x578ff3}from'ckeditor5/src/ui.js';import{icons as _0x34d708}from'ckeditor5/src/core.js';import{trimHtml as _0x1aa859,UserView as _0x140703}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4032(_0x42c9f9,_0x387b94){const _0x4e3905=_0x4e39();return _0x4032=function(_0x4032b2,_0x415700){_0x4032b2=_0x4032b2-0x79;let _0x2fc086=_0x4e3905[_0x4032b2];return _0x2fc086;},_0x4032(_0x42c9f9,_0x387b94);}export default class ne extends _0x404085{constructor(_0x39c7ce,_0xcbc679,_0x2a67ff,_0x3e428b){const _0x2c923c=_0x4032;super(_0x39c7ce,_0xcbc679,_0x2a67ff,_0x3e428b),this[_0x2c923c(0x9d)](_0x2c923c(0xd4),''),this[_0x2c923c(0xaf)](_0x2c923c(0xd4))['to'](this,_0x2c923c(0xcf),_0x1849ed=>_0x1849ed&&_0x1849ed[0x0]?_0x1849ed[0x0][_0x2c923c(0xd4)]:''),this[_0x2c923c(0xaf)](_0x2c923c(0xb8))['to'](this,_0x2c923c(0xcf),this,_0x2c923c(0xd6),(_0x62b981,_0x58fdf0)=>{const _0x448084=_0x2c923c;let _0x38af60='';for(const _0x4341cf of _0x62b981)_0x38af60+=_0x448084(0xae)+ds(_0x4341cf[_0x448084(0x9a)],_0x4341cf[_0x448084(0x91)])+_0x448084(0xe6);return _0x58fdf0?_0x38af60:_0x1aa859(_0x38af60,{'limit':0x8c});}),this[_0x2c923c(0xb4)]=null,this[_0x2c923c(0xe2)]=this[_0x2c923c(0x8b)](_0x5858e9(_0x39c7ce,_0x2c923c(0x86)),_0x34d708[_0x2c923c(0xcd)],_0x2c923c(0xbb),_0x2c923c(0x81),'sw'),this[_0x2c923c(0xe2)][_0x2c923c(0xaf)](_0x2c923c(0xc9))['to'](this,_0x2c923c(0xad)),this[_0x2c923c(0xac)]=this[_0x2c923c(0x8b)](_0x5858e9(_0x39c7ce,_0x2c923c(0xd3)),_0x34d708[_0x2c923c(0x7d)],_0x2c923c(0x9e),_0x2c923c(0x8c),'sw'),this[_0x2c923c(0xac)][_0x2c923c(0xaf)](_0x2c923c(0xc9))['to'](this,_0x2c923c(0x9f)),this[_0x2c923c(0xa4)]=new _0x140703(_0x39c7ce,this[_0x2c923c(0x7c)][_0x2c923c(0xca)],this[_0x2c923c(0x87)]()),this[_0x2c923c(0xa4)][_0x2c923c(0xa6)]({'attributes':{'class':[_0x2c923c(0xb1),_0x2c923c(0xda)]}}),this[_0x2c923c(0x85)](this[_0x2c923c(0xd2)]());}[_0x53fe65(0xd2)](){const _0x349705=_0x53fe65,_0x365f3c=this[_0x349705(0x8f)],_0x573bd6=[{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0x82),_0x349705(0xb0)]},'children':[{'tag':_0x349705(0xbf),'children':[{'text':this[_0x349705(0xa4)][_0x349705(0xd7)]}],'attributes':{'class':[_0x349705(0xe1),_0x349705(0xa9)]}},{'tag':_0x349705(0xcc),'attributes':{'datetime':_0x365f3c['to'](_0x349705(0x9b)),'class':[_0x349705(0x93),_0x349705(0xd8)]},'children':[{'text':_0x365f3c['to'](_0x349705(0x9b),_0x866e79=>this[_0x349705(0xb5)][_0x349705(0x9c)](_0x866e79))}]}]},{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xdd),_0x349705(0x7a)]},'children':[this[_0x349705(0xe2)],this[_0x349705(0xac)]]},{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xe0)]}}];this[_0x349705(0x7c)][_0x349705(0x89)]&&_0x573bd6[_0x349705(0xc8)]({'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xb6)]},'children':[{'text':this[_0x349705(0x7b)]()}]});const _0x4233b7={'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xbe),_0x365f3c['if'](_0x349705(0xd6),_0x349705(0x96)),_0x365f3c['to'](_0x349705(0xd4),_0x183a8d=>_0x349705(0xb7)+_0x183a8d),this[_0x349705(0xb5)][_0x349705(0xc0)]&&_0x349705(0x92)],'data-suggestion-id':this[_0x349705(0x7c)]['id'],'data-thread-id':this[_0x349705(0x7c)][_0x349705(0xa0)]['id'],'data-author-id':this[_0x349705(0x7c)][_0x349705(0xca)]['id'],'tabindex':-0x1},'children':[{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xb3),_0x349705(0x7e)]},'children':[this[_0x349705(0xa4)],{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0x8d),_0x349705(0xba)]},'children':_0x573bd6}]}]};return this[_0x349705(0x95)]&&this[_0x349705(0xc5)]&&(_0x4233b7[_0x349705(0xa1)][_0x349705(0xc8)](this[_0x349705(0x95)],this[_0x349705(0xc5)]),this[_0x349705(0x95)][_0x349705(0xc7)](_0x349705(0xb9))['to'](this),this[_0x349705(0x95)][_0x349705(0xc7)](_0x349705(0xdc))['to'](this),this[_0x349705(0xc5)][_0x349705(0xc7)](_0x349705(0xb9))['to'](this),this[_0x349705(0xc5)][_0x349705(0xc7)](_0x349705(0xdc))['to'](this)),_0x4233b7;}[_0x53fe65(0x98)](){const _0xe62856=_0x53fe65;super[_0xe62856(0x98)](),this[_0xe62856(0xb4)]=this[_0xe62856(0xdf)][_0xe62856(0xde)](_0xe62856(0xa2)),this[_0xe62856(0xb4)][_0xe62856(0x84)]=this[_0xe62856(0xb8)],this['on'](_0xe62856(0x8a),(_0x3b96da,_0x48bced,_0x3dbbe9)=>{const _0x5be1c3=_0xe62856;this[_0x5be1c3(0xb4)][_0x5be1c3(0x84)]=_0x3dbbe9;});}[_0x53fe65(0x8b)](_0x2d801d,_0x28b005,_0x34c2a8,_0x2b6e72,_0x2571d0){const _0x36bd7d=_0x53fe65,_0x436969=new _0x578ff3(this[_0x36bd7d(0xa5)]);return _0x436969[_0x36bd7d(0x9d)]({'label':_0x2d801d,'icon':_0x28b005,'tooltip':!0x0,'tooltipPosition':_0x2571d0}),_0x436969[_0x36bd7d(0xa6)]({'attributes':{'class':_0x34c2a8}}),_0x436969['on'](_0x36bd7d(0x90),()=>{const _0x479cfe=_0x36bd7d;this[_0x479cfe(0x7f)](_0x2b6e72,this[_0x479cfe(0x7c)]['id']);}),_0x436969;}[_0x53fe65(0x7b)](){const _0x2aef7f=_0x53fe65;return _0x2aef7f(0xc6)===this[_0x2aef7f(0x7c)][_0x2aef7f(0xab)][_0x2aef7f(0xe4)][_0x2aef7f(0xdb)]?_0x5858e9(this[_0x2aef7f(0xa5)],_0x2aef7f(0xe5)):_0x5858e9(this[_0x2aef7f(0xa5)],_0x2aef7f(0x97));}[_0x53fe65(0x87)](){const _0x9a8f0a=_0x53fe65;return this[_0x9a8f0a(0x7c)][_0x9a8f0a(0x89)]?_0x9a8f0a(0xc6)===this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xab)][_0x9a8f0a(0xe4)][_0x9a8f0a(0xdb)]?_0x5858e9(this[_0x9a8f0a(0xa5)],_0x9a8f0a(0xa8),this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xd5)][_0x9a8f0a(0xd7)]):_0x5858e9(this[_0x9a8f0a(0xa5)],_0x9a8f0a(0xc1),this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xd5)][_0x9a8f0a(0xd7)]):null;}}function ds(_0x1c7ffd,_0x434088){const _0x3df64c=_0x53fe65;let _0x7c201f='';return _0x7c201f+=_0x1c7ffd[_0x3df64c(0xa3)]('*')[_0x3df64c(0xbc)]((_0x1165b9,_0x54e014)=>_0x54e014%0x2!=0x0?_0x3df64c(0xc2)+us(_0x1165b9)+_0x3df64c(0xbd):us(_0x1165b9))[_0x3df64c(0xc3)](''),_0x434088&&(_0x7c201f+=_0x3df64c(0x83)+_0x434088[_0x3df64c(0xa7)]+_0x3df64c(0x88)+_0x434088[_0x3df64c(0x79)]+_0x3df64c(0xd9)),_0x7c201f;}function us(_0x167d34){const _0x67da9c=_0x53fe65,_0x38c0a5=document[_0x67da9c(0xaa)](_0x67da9c(0xbf));return _0x38c0a5[_0x67da9c(0xe8)]=_0x167d34,_0x38c0a5[_0x67da9c(0x84)];}function _0x4e39(){const _0x22f88d=['bindTemplate','execute','color','ck-suggestion--disabled-comments','ck-comment__info-time','387434zIMLcf','commentsListView','ck-suggestion-wrapper--active','EXTERNAL_SUGGESTION','render','14330ZxpRIG','content','authoredAt','formatDateTime','set','ck-suggestion--discard','canDiscard','commentThread','children','.ck-annotation__content-wrapper','split','userView','locale','extendTemplate','value','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info-name','createElement','attributes','discardButton','canAccept','<p>','bind','ck-annotation__info','ck-suggestion__user','div','ck-suggestion','_descriptionElement','_config','ck-comment__external','ck-suggestion-','description','editorReady','ck-annotation__main','ck-suggestion--accept','map','</span>','ck-suggestion-wrapper','span','disableComments','EXTERNAL_AVATAR','<span\x20class=\x22ck-suggestion-type\x22>','join','713350JFwhLU','commentThreadInputView','importWord','delegate','push','isEnabled','author','120xKSLrg','time','check','10651698DpEQop','descriptionParts','34507AuGnYI','593937LKjfld','getTemplate','Discard\x20suggestion','type','creator','isActive','name','ck-annotation__info-time','\x22></span>','ck-annotation__user','source','editorDestroyed','ck-suggestion__actions','querySelector','element','ck-annotation__content-wrapper','ck-suggestion__info-name','acceptButton','4PCZcdY','@external','EXTERNAL_IMPORT_WORD_SUGGESTION','</p>','1791931uXHUjg','innerText','title','ck-annotation__actions','getExternalSuggestionNote','_model','cancel','ck-annotation','fire','5629967RhJgEZ','acceptSuggestion','ck-suggestion__info','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','innerHTML','setTemplate','Accept\x20suggestion','getUserViewNotificationText','\x22\x20title=\x22','isExternal','change:description','_createButton','discardSuggestion','ck-suggestion__main','6jzAXRj'];_0x4e39=function(){return _0x22f88d;};return _0x4e39();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x435953,_0x1e728f,_0x3330af){const t=_0x435953['t'];switch(_0x1e728f){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',_0x3330af);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3330af);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3330af);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3330af);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3330af);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',_0x3330af);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3330af);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',_0x3330af);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3330af);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3330af);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3330af);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3330af);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3330af);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3330af);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3330af);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3330af);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3330af);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3330af);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3330af);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3330af);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3330af);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3330af);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3330af);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'},_0x3330af);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3330af);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3330af);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3330af);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3330af);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3330af);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'},_0x3330af);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3330af);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3330af);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3330af);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3330af);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'},_0x3330af);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3330af);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'},_0x3330af);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'},_0x3330af);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3330af);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'},_0x3330af);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3330af);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'},_0x3330af);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3330af);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3330af);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'},_0x3330af);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'},_0x3330af);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 _0x1e728f;}}
|
|
23
|
+
export function getTranslation(_0x2f8885,_0x4abcf1,_0xc3e794){const t=_0x2f8885['t'];switch(_0x4abcf1){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',_0xc3e794);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xc3e794);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xc3e794);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xc3e794);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xc3e794);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',_0xc3e794);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xc3e794);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',_0xc3e794);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xc3e794);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xc3e794);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xc3e794);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xc3e794);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xc3e794);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xc3e794);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xc3e794);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xc3e794);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xc3e794);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xc3e794);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xc3e794);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xc3e794);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xc3e794);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xc3e794);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xc3e794);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'},_0xc3e794);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xc3e794);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xc3e794);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xc3e794);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xc3e794);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xc3e794);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xc3e794);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xc3e794);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xc3e794);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'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xc3e794);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xc3e794);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'},_0xc3e794);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'},_0xc3e794);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 _0x4abcf1;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3de78c,_0x5931bb){const _0x183722=_0x56e4,_0x945ba7=_0x3de78c();while(!![]){try{const _0x28c96c=parseInt(_0x183722(0x1cc))/0x1+-parseInt(_0x183722(0x1b7))/0x2*(parseInt(_0x183722(0x1c7))/0x3)+-parseInt(_0x183722(0x1ab))/0x4*(-parseInt(_0x183722(0x1c1))/0x5)+parseInt(_0x183722(0x1b5))/0x6*(-parseInt(_0x183722(0x1a6))/0x7)+-parseInt(_0x183722(0x1cf))/0x8+-parseInt(_0x183722(0x1a7))/0x9+-parseInt(_0x183722(0x1ac))/0xa*(-parseInt(_0x183722(0x1bf))/0xb);if(_0x28c96c===_0x5931bb)break;else _0x945ba7['push'](_0x945ba7['shift']());}catch(_0x40a2c0){_0x945ba7['push'](_0x945ba7['shift']());}}}(_0x1095,0x256d3));export function normalizeDescription(_0x57d1d2){const _0x3f0519=_0x56e4;return Array[_0x3f0519(0x1ca)](_0x57d1d2)||(_0x57d1d2=[_0x57d1d2]),_0x57d1d2[_0x3f0519(0x1c3)](_0x2e33a6=>{const _0x392f74=_0x3f0519,_0x5b69ac=_0x2e33a6[_0x392f74(0x1bd)][_0x392f74(0x1d0)](/\*/g,''),_0xaf733f=_0x2e33a6[_0x392f74(0x1b1)]?_0x392f74(0x1ad)+_0x2e33a6[_0x392f74(0x1b1)][_0x392f74(0x1b6)]+']':'';return'['+_0x2e33a6[_0x392f74(0x1b2)]+']\x20'+_0x5b69ac+_0xaf733f;})[_0x3f0519(0x1c2)](';\x20');}export function sortSuggestions(_0x52d22d){const _0x32c790=_0x56e4;return _0x52d22d[_0x32c790(0x1a5)]((_0x5e0bfe,_0xe01a17)=>_0x32c790(0x1cb)==_0x5e0bfe[_0x32c790(0x1b2)]&&_0x32c790(0x1cb)!=_0xe01a17[_0x32c790(0x1b2)]?-0x1:_0x32c790(0x1cb)!=_0x5e0bfe[_0x32c790(0x1b2)]&&_0x32c790(0x1cb)==_0xe01a17[_0x32c790(0x1b2)]?0x1:0x0);}function _0x56e4(_0x4c5986,_0x555258){const _0x1095a7=_0x1095();return _0x56e4=function(_0x56e4f0,_0x3227a6){_0x56e4f0=_0x56e4f0-0x1a5;let _0x404250=_0x1095a7[_0x56e4f0];return _0x404250;},_0x56e4(_0x4c5986,_0x555258);}export function getSelectedSuggestions(_0x21a1f3,_0x30cc79){const _0x1b5dc0=_0x56e4,_0x48f2f9=Array[_0x1b5dc0(0x1bc)](_0x21a1f3[_0x1b5dc0(0x1b9)]()),_0x52e0b4=new Set();for(const _0x1dea99 of _0x30cc79)if(_0x1dea99[_0x1b5dc0(0x1c5)]){for(const _0x34cb20 of _0x48f2f9)for(const _0x264966 of _0x1dea99[_0x1b5dc0(0x1b9)]())(_0x34cb20[_0x1b5dc0(0x1b3)](_0x264966)||_0x21a1f3[_0x1b5dc0(0x1b8)]&&!_0x1dea99[_0x1b5dc0(0x1ce)]&&_0x1dea99[_0x1b5dc0(0x1a8)]&&_0x264966[_0x1b5dc0(0x1af)][_0x1b5dc0(0x1c4)](_0x34cb20[_0x1b5dc0(0x1b4)]))&&_0x52e0b4[_0x1b5dc0(0x1ba)](_0x1dea99);}return _0x52e0b4;}export function getRangesOfBlockGroups(_0x3493e1,_0x3d6aa){const _0xf9570=_0x56e4;let _0x4de8f1,_0x5aa73a=0x0;const _0x24e08b=[],_0x345a7e=_0x3d6aa[_0xf9570(0x1c9)];for(;_0x5aa73a<_0x3493e1[_0xf9570(0x1b0)];){const _0x1e958f=_0x3493e1[_0x5aa73a],_0x5eb58e=_0x3493e1[_0x5aa73a+0x1];_0x4de8f1||(_0x4de8f1=_0x3d6aa[_0xf9570(0x1ae)](_0x1e958f)),co(_0x3d6aa,_0x1e958f,_0x5eb58e)||(_0x24e08b[_0xf9570(0x1c6)](_0x3d6aa[_0xf9570(0x1c0)](_0x4de8f1,_0x345a7e[_0xf9570(0x1c8)](_0x1e958f)?_0x3d6aa[_0xf9570(0x1bb)](_0x1e958f):_0x3d6aa[_0xf9570(0x1a9)](_0x1e958f,_0xf9570(0x1af)))),_0x4de8f1=null),_0x5aa73a++;}return _0x24e08b;}function co(_0x4a6def,_0x3df0a2,_0x10e9fb){const _0x4ee586=_0x56e4;if(!_0x10e9fb)return!0x1;const _0x2eac83=_0x4a6def[_0x4ee586(0x1bb)](_0x3df0a2),_0x190113=_0x4a6def[_0x4ee586(0x1ae)](_0x10e9fb);return _0x2eac83[_0x4ee586(0x1c4)](_0x190113);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x1095(){const _0x485603=['isInContent','push','25962llDOck','isObject','schema','isArray','deletion','196988mRuYZf','change','isMultiRange','56816dnJTZJ','replace','sort','1033732lxjGfr','2010726lINglN','next','createPositionAt','splice','26652vwplAJ','710DScucl','\x20[color\x20','createPositionBefore','end','length','color','type','isIntersecting','start','6wmGeBj','value','22qlistB','isCollapsed','getRanges','add','createPositionAfter','from','content','execute','60379FEbqYr','createRange','30mTCMZM','join','map','isTouching'];_0x1095=function(){return _0x485603;};return _0x1095();}export function executeCommandForSuggestions(_0x24847b,_0x1462f7,_0x2afb8a){const _0x5eed81=_0x56e4;for(;_0x2afb8a[_0x5eed81(0x1b0)];){const _0x2c1935=_0x2afb8a[_0x5eed81(0x1aa)](0x0,0x64);_0x24847b[_0x5eed81(0x1cd)](()=>{const _0x11e269=_0x5eed81;for(const _0x4a6588 of _0x2c1935)_0x4a6588[_0x11e269(0x1c5)]&&_0x1462f7[_0x11e269(0x1be)](_0x4a6588['id']);});}}
|