@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240701.0 → 0.0.0-nightly-20240703.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf2e84c=_0x372b;function _0x372b(_0x56f44b,_0x45830a){const _0x30c03c=_0x30c0();return _0x372b=function(_0x372b99,_0x5d696f){_0x372b99=_0x372b99-0x140;let _0x580920=_0x30c03c[_0x372b99];return _0x580920;},_0x372b(_0x56f44b,_0x45830a);}(function(_0x4a1687,_0x14964c){const _0x212a3c=_0x372b,_0xcba3b3=_0x4a1687();while(!![]){try{const _0x3cdcff=parseInt(_0x212a3c(0x1a9))/0x1*(parseInt(_0x212a3c(0x1d0))/0x2)+-parseInt(_0x212a3c(0x146))/0x3+parseInt(_0x212a3c(0x1b9))/0x4*(-parseInt(_0x212a3c(0x151))/0x5)+parseInt(_0x212a3c(0x1a8))/0x6+-parseInt(_0x212a3c(0x1c4))/0x7*(parseInt(_0x212a3c(0x1b2))/0x8)+-parseInt(_0x212a3c(0x1a3))/0x9+-parseInt(_0x212a3c(0x14a))/0xa*(-parseInt(_0x212a3c(0x19f))/0xb);if(_0x3cdcff===_0x14964c)break;else _0xcba3b3['push'](_0xcba3b3['shift']());}catch(_0x197c32){_0xcba3b3['push'](_0xcba3b3['shift']());}}}(_0x30c0,0xc703b));import{Plugin as _0x4a541c}from'ckeditor5/src/core.js';import{Collection as _0x390d6d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x56fffa,createDropdown as _0x529c44,ListSeparatorView as _0x608eb,MenuBarMenuView as _0x1aebbe,MenuBarMenuListView as _0x2aa736,MenuBarMenuListItemView as _0x587e46,MenuBarMenuListItemButtonView as _0x5a84dd,SplitButtonView as _0x5ff2df,ViewModel as _0x1b53d8}from'ckeditor5/src/ui.js';import{Users as _0x2bb3b1,getDateTimeFormatter as _0x42616c,getAllMarkersDomElementsSorted as _0xcbb5f5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x24e6b4 from'./trackchangesediting.js';import _0x18dbd3 from'./ui/suggestioncontroller.js';import _0x47066e from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x338614}from'./utils/common-translations.js';function _0x30c0(){const _0x3097ac=['CommentsRepository','hasSuggestion','discardButton','576030HpvrXM','push','discardAllSuggestions','TrackChangesUI','destroy','buttonView','_updateController','_refreshActiveMarkers','change:previous','trackChanges','getDescriptions','registerAnnotation','4BVPKDe','_addUIComponentsToFactory','execute','addSourceCollector','editor','isInContent','CommentsUI','lowest','2193417sJcnHP','Accept\x20all\x20selected\x20suggestions','suggestionUnloaded','componentFactory','2561070tysTrs','has','view','isMultiRange','commentThread','Accept\x20all\x20suggestions','getMarkers','21010VBUFGK','keys','getAllAdjacentSuggestions','_annotationViews','getJoined','bind','getSuggestion','isOn','isDirty','addComment','source','locale','_createToolbarButton','suggestion-','items','comments.maxCommentCharsWhenCollapsed','TrackChangesEditing','change:activeAnnotations','reduce','switchbutton','trackChanges.disableComments','editing','delete','filter','type','SuggestionThreadView','init','_bindAnnotationToEditors','from','requires','model','value','Annotations','commands','comments','acceptAllSuggestions','size','_destroyController','menu','comments.maxThreadTotalWeight','Discard\x20all\x20selected\x20suggestions','panelView','length','pluginName','acceptSelectedSuggestions','_disableComments','stopListening','getMarkerNames','children','_unbindEditors','refreshSelectedViews','menuBar:trackChanges','menuitemcheckbox','arrowView','set','descriptionFactory','Discard\x20all\x20suggestions','suggestionLoaded','createCommentThreadController','activeAnnotations','head','createAnnotation','previous','getByInnerView','_handleSuggestionControllerDelayed','values','getRanges','define','_createMenuBarMenu','mainView','commandName','unbind','CommentView','button','menuitem','comments.maxCommentsWhenCollapsed','remove','clear','55MkYiUZ','config','some','activeMarkers','5677713MOYFTe','toMany','suggestionChanged','add','trackChanges.SuggestionThreadView','838392kLUIUD','496453RRbWoQ','plugins','EditorAnnotations','separator','_suggestionToController','isEnabled','discardSelectedSuggestions','actionView','innerView','16JtBkue','createAnnotationView','get','listenTo','acceptButton','_handleControllerBuffer','focus','68nDEJzE','delegate','_viewToController','_initializeController','getFirstRange','comments.editorConfig','Track\x20changes','descriptionParts'];_0x30c0=function(){return _0x3097ac;};return _0x30c0();}import _0x16e8d0 from'../theme/icons/track-changes.svg';export default class d extends _0x4a541c{static get[_0xf2e84c(0x16e)](){const _0x296595=_0xf2e84c;return[_0x24e6b4,_0x2bb3b1,_0x296595(0x1c1),_0x296595(0x171),_0x296595(0x1ab)];}static get[_0xf2e84c(0x17c)](){const _0x11a7b8=_0xf2e84c;return _0x11a7b8(0x1c7);}constructor(_0x53aa58){const _0x2439d5=_0xf2e84c;super(_0x53aa58),this[_0x2439d5(0x1ad)]=new Map(),this[_0x2439d5(0x1bb)]=new Map(),this[_0x2439d5(0x154)]=new Map(),this[_0x2439d5(0x1b7)]=new Map();const _0x596be7=this[_0x2439d5(0x142)][_0x2439d5(0x1a0)];_0x596be7[_0x2439d5(0x194)](_0x2439d5(0x1a7),_0x47066e),_0x596be7[_0x2439d5(0x194)](_0x2439d5(0x165),!0x1),this[_0x2439d5(0x17e)]=_0x596be7[_0x2439d5(0x1b4)](_0x2439d5(0x165));}[_0xf2e84c(0x191)](_0x101c15,_0xa6e669){const _0x10b41b=_0xf2e84c;0x0===this[_0x10b41b(0x1b7)][_0x10b41b(0x175)]&&setTimeout(()=>{const _0x379ee6=_0x10b41b;for(const [_0x170cb4,_0x25fff2]of this[_0x379ee6(0x1b7)]){const _0x1a5d1a=this[_0x379ee6(0x1ad)][_0x379ee6(0x14b)](_0x170cb4);_0x1a5d1a||_0x25fff2?_0x1a5d1a&&_0x25fff2&&this[_0x379ee6(0x176)](_0x170cb4):this[_0x379ee6(0x1bc)](_0x170cb4);}this[_0x379ee6(0x1b7)][_0x379ee6(0x19e)](),this[_0x379ee6(0x142)][_0x379ee6(0x1aa)][_0x379ee6(0x1b4)](_0x379ee6(0x1ab))[_0x379ee6(0x183)](),this[_0x379ee6(0x1cb)]();},0xa),this[_0x10b41b(0x1b7)][_0x10b41b(0x187)](_0x101c15,_0xa6e669);}[_0xf2e84c(0x16b)](){const _0x3d51ae=_0xf2e84c,_0xb69b58=this[_0x3d51ae(0x142)],_0x32a1ec=_0xb69b58[_0x3d51ae(0x1aa)][_0x3d51ae(0x1b4)](_0x3d51ae(0x161)),_0x2b7939=_0xb69b58[_0x3d51ae(0x1aa)][_0x3d51ae(0x1b4)](_0x3d51ae(0x171)),_0x1967bf=_0xb69b58[_0x3d51ae(0x1aa)][_0x3d51ae(0x1b4)](_0x3d51ae(0x1ab)),_0x885599=_0xb69b58[_0x3d51ae(0x1aa)][_0x3d51ae(0x1b4)](_0x3d51ae(0x1c1));this[_0x3d51ae(0x1d1)](),_0x1967bf[_0x3d51ae(0x141)](()=>{const _0x1de0e3=_0x3d51ae,_0x4dcbf3=[];for(const [_0x44c18b,_0x59f762]of Array[_0x1de0e3(0x16d)](this[_0x1de0e3(0x1ad)])){const _0x38c3ca=_0x44c18b[_0x1de0e3(0x153)](),_0x5b8204=[];for(const _0x7875b0 of _0x38c3ca){if(!_0x7875b0[_0x1de0e3(0x143)])continue;if(_0x7875b0[_0x1de0e3(0x14d)]){_0x5b8204[_0x1de0e3(0x1c5)](..._0x7875b0[_0x1de0e3(0x193)]());continue;}const _0xf9071c=_0x7875b0[_0x1de0e3(0x1bd)]();if(_0x5b8204[_0x1de0e3(0x17b)]>0x0){const _0x31e6c5=_0x5b8204[0x0][_0x1de0e3(0x155)](_0xf9071c);if(_0x31e6c5){_0x5b8204[0x0]=_0x31e6c5;continue;}}_0x5b8204[_0x1de0e3(0x1c5)](_0xf9071c);}_0x4dcbf3[_0x1de0e3(0x1c5)]([_0x59f762[_0x1de0e3(0x14c)],_0x5b8204]);}return _0x4dcbf3;}),this[_0x3d51ae(0x1b5)](_0x32a1ec,_0x3d51ae(0x18a),(_0x55babc,_0x135ecd)=>{const _0x312735=_0x3d51ae;this[_0x312735(0x1b5)](_0x135ecd,_0x312735(0x1cc),(_0x2e52db,_0x10c23e,_0x45bc3f,_0x2219a3)=>{const _0x502a8c=_0x312735;_0x135ecd[_0x502a8c(0x143)]&&(null==_0x45bc3f?(this[_0x502a8c(0x1ca)](_0x2219a3[_0x502a8c(0x18d)]),this[_0x502a8c(0x191)](_0x135ecd,!0x1)):(this[_0x502a8c(0x1ca)](_0x45bc3f[_0x502a8c(0x18d)]),null==_0x2219a3&&this[_0x502a8c(0x191)](_0x135ecd,!0x0)));}),null!==_0x135ecd[_0x312735(0x18f)]?this[_0x312735(0x1ca)](_0x135ecd[_0x312735(0x18d)]):this[_0x312735(0x191)](_0x135ecd,!0x1);}),this[_0x3d51ae(0x1b5)](_0x32a1ec,_0x3d51ae(0x148),(_0x2c57d6,_0x374860,_0x110fcc)=>{const _0x17c2c2=_0x3d51ae;this[_0x17c2c2(0x17f)](_0x374860,_0x17c2c2(0x1cc)),this[_0x17c2c2(0x1b7)][_0x17c2c2(0x167)](_0x374860),this[_0x17c2c2(0x1ad)][_0x17c2c2(0x14b)](_0x374860)&&this[_0x17c2c2(0x176)](_0x374860),_0x110fcc&&this[_0x17c2c2(0x1ca)](_0x110fcc[_0x17c2c2(0x18d)]);}),this[_0x3d51ae(0x1b5)](_0x32a1ec,_0x3d51ae(0x1a5),(_0x5b6f5f,_0x23361d)=>{const _0x2ab50e=_0x3d51ae;this[_0x2ab50e(0x1ca)](_0x23361d);}),this[_0x3d51ae(0x1b5)](_0x2b7939,_0x3d51ae(0x162),()=>{const _0x3249a2=_0x3d51ae;this[_0x3249a2(0x1cb)]();}),this[_0x3d51ae(0x1b5)](_0x885599,_0x3d51ae(0x15a),(_0x23103c,{threadId:_0x418bf7,isFromAdapter:_0x55d13d})=>{const _0x4bef63=_0x3d51ae;if(_0x55d13d||!_0x32a1ec[_0x4bef63(0x1c2)](_0x418bf7))return;const _0x4cfb0f=_0x32a1ec[_0x4bef63(0x157)](_0x418bf7);this[_0x4bef63(0x1ad)][_0x4bef63(0x1b4)](_0x4cfb0f)[_0x4bef63(0x14c)][_0x4bef63(0x1b8)]();},{'priority':_0x3d51ae(0x145)});}[_0xf2e84c(0x1cb)](){const _0x1e23b5=_0xf2e84c,_0x2e7b06=this[_0x1e23b5(0x142)][_0x1e23b5(0x1aa)][_0x1e23b5(0x1b4)](_0x1e23b5(0x171)),_0x4e93d9=this[_0x1e23b5(0x142)][_0x1e23b5(0x1aa)][_0x1e23b5(0x1b4)](_0x1e23b5(0x161)),_0x11a5cd=Array[_0x1e23b5(0x16d)](_0x2e7b06[_0x1e23b5(0x18c)],_0x19c674=>_0x19c674[_0x1e23b5(0x1b1)])[_0x1e23b5(0x168)](_0x8e1154=>this[_0x1e23b5(0x1bb)][_0x1e23b5(0x14b)](_0x8e1154)),_0x4901de=[];for(const _0x115c92 of _0x11a5cd){const _0xd313a9=this[_0x1e23b5(0x1bb)][_0x1e23b5(0x1b4)](_0x115c92)[_0x1e23b5(0x16f)][_0x1e23b5(0x153)]();_0x4901de[_0x1e23b5(0x1c5)](..._0xd313a9[_0x1e23b5(0x163)]((_0x41fd2b,_0x12ae60)=>[..._0x41fd2b,..._0x12ae60[_0x1e23b5(0x180)]()],[]));}_0x4e93d9[_0x1e23b5(0x1a2)]=_0x4901de;}[_0xf2e84c(0x1d1)](){const _0x2152cf=_0xf2e84c,_0x1a7a1f=this[_0x2152cf(0x142)],_0x3952d8=_0x1a7a1f[_0x2152cf(0x15c)],_0x3dbbab=_0x338614(_0x3952d8,_0x2152cf(0x1bf)),_0x5425e8=new _0x390d6d([{'type':_0x2152cf(0x164),'model':new _0x1b53d8({'withText':!0x0,'isToggleable':!0x0,'label':_0x3dbbab,'commandName':_0x2152cf(0x1cd),'role':_0x2152cf(0x185)})},{'type':_0x2152cf(0x1ac)},{'type':_0x2152cf(0x19a),'model':new _0x1b53d8({'withText':!0x0,'label':_0x338614(_0x3952d8,_0x2152cf(0x14f)),'commandName':_0x2152cf(0x174),'role':_0x2152cf(0x19b)})},{'type':_0x2152cf(0x19a),'model':new _0x1b53d8({'withText':!0x0,'label':_0x338614(_0x3952d8,_0x2152cf(0x147)),'commandName':_0x2152cf(0x17d),'role':_0x2152cf(0x19b)})},{'type':_0x2152cf(0x19a),'model':new _0x1b53d8({'withText':!0x0,'label':_0x338614(_0x3952d8,_0x2152cf(0x189)),'commandName':_0x2152cf(0x1c6),'role':_0x2152cf(0x19b)})},{'type':_0x2152cf(0x19a),'model':new _0x1b53d8({'withText':!0x0,'label':_0x338614(_0x3952d8,_0x2152cf(0x179)),'commandName':_0x2152cf(0x1af),'role':_0x2152cf(0x19b)})}]);for(const _0x179cf4 of _0x5425e8)if(ae(_0x179cf4)){const _0x6ec26=_0x1a7a1f[_0x2152cf(0x172)][_0x2152cf(0x1b4)](_0x179cf4[_0x2152cf(0x16f)][_0x2152cf(0x197)]);_0x179cf4[_0x2152cf(0x16f)][_0x2152cf(0x156)](_0x2152cf(0x158),_0x2152cf(0x1ae))['to'](_0x6ec26,_0x2152cf(0x170),_0x2152cf(0x1ae));}_0x1a7a1f['ui'][_0x2152cf(0x149)][_0x2152cf(0x1a6)](_0x2152cf(0x1cd),_0xfaa640=>this[_0x2152cf(0x15d)](_0xfaa640,_0x5425e8,_0x3dbbab)),_0x1a7a1f['ui'][_0x2152cf(0x149)][_0x2152cf(0x1a6)](_0x2152cf(0x184),_0x52a8fd=>this[_0x2152cf(0x195)](_0x52a8fd,_0x5425e8,_0x3dbbab));}[_0xf2e84c(0x15d)](_0xb81e26,_0x1b1bca,_0xb5d340){const _0x416af6=_0xf2e84c,_0x57c036=_0x529c44(_0xb81e26,_0x5ff2df),_0x39f294=this[_0x416af6(0x142)][_0x416af6(0x172)][_0x416af6(0x1b4)](_0x416af6(0x1cd));_0x57c036[_0x416af6(0x1c9)][_0x416af6(0x187)]({'tooltip':_0xb5d340,'label':_0xb5d340,'icon':_0x16e8d0}),_0x57c036[_0x416af6(0x1c9)][_0x416af6(0x156)](_0x416af6(0x158))['to'](_0x39f294,_0x416af6(0x170)),_0x57c036[_0x416af6(0x1c9)]['on'](_0x416af6(0x140),()=>{const _0x12595d=_0x416af6;_0x39f294[_0x12595d(0x140)](),this[_0x12595d(0x142)][_0x12595d(0x166)][_0x12595d(0x14c)][_0x12595d(0x1b8)]();}),_0x56fffa(_0x57c036,_0x1b1bca,{'role':_0x416af6(0x177)});const _0x14db14=[];for(const _0x25183a of _0x1b1bca)ae(_0x25183a)&&_0x14db14[_0x416af6(0x1c5)](this[_0x416af6(0x142)][_0x416af6(0x172)][_0x416af6(0x1b4)](_0x25183a[_0x416af6(0x16f)][_0x416af6(0x197)]));const _0xf957e5=_0x57c036[_0x416af6(0x1c9)];return _0xf957e5[_0x416af6(0x1b0)][_0x416af6(0x198)](_0x416af6(0x1ae)),_0xf957e5[_0x416af6(0x186)][_0x416af6(0x198)](_0x416af6(0x1ae)),_0xf957e5[_0x416af6(0x1b0)][_0x416af6(0x156)](_0x416af6(0x1ae))['to'](_0x39f294,_0x416af6(0x1ae)),_0xf957e5[_0x416af6(0x186)][_0x416af6(0x156)](_0x416af6(0x1ae))[_0x416af6(0x1a4)](_0x14db14,_0x416af6(0x1ae),(..._0x46c7cc)=>_0x46c7cc[_0x416af6(0x1a1)](_0x25d342=>_0x25d342)),_0x57c036['on'](_0x416af6(0x140),_0x558869=>{const _0x19cad1=_0x416af6;this[_0x19cad1(0x142)][_0x19cad1(0x140)](_0x558869[_0x19cad1(0x15b)][_0x19cad1(0x197)]),this[_0x19cad1(0x142)][_0x19cad1(0x166)][_0x19cad1(0x14c)][_0x19cad1(0x1b8)]();}),_0x57c036;}[_0xf2e84c(0x195)](_0x32f721,_0x2279ec,_0xa39dd4){const _0x504af3=_0xf2e84c,_0x2f91b2=new _0x1aebbe(_0x32f721),_0x2b4a7b=this[_0x504af3(0x142)][_0x504af3(0x172)][_0x504af3(0x1b4)](_0x504af3(0x1cd));_0x2f91b2[_0x504af3(0x1c9)][_0x504af3(0x187)]({'label':_0xa39dd4,'icon':_0x16e8d0});const _0xcd096f=new _0x2aa736(_0x32f721);for(const _0x382e7a of _0x2279ec){if(_0x504af3(0x1ac)==_0x382e7a[_0x504af3(0x169)]){_0xcd096f[_0x504af3(0x15f)][_0x504af3(0x1a6)](new _0x608eb(_0x32f721));continue;}const _0x1b2500=new _0x587e46(_0x32f721,_0x2f91b2),_0x12a41a=new _0x5a84dd(_0x32f721),_0x28617d=_0x382e7a[_0x504af3(0x16f)];_0x12a41a[_0x504af3(0x156)](...Object[_0x504af3(0x152)](_0x28617d))['to'](_0x28617d),_0x12a41a[_0x504af3(0x1ba)](_0x504af3(0x140))['to'](_0x2f91b2),_0x12a41a['on'](_0x504af3(0x140),()=>{const _0x3671c3=_0x504af3;this[_0x3671c3(0x142)][_0x3671c3(0x140)](_0x28617d[_0x3671c3(0x197)]),this[_0x3671c3(0x142)][_0x3671c3(0x166)][_0x3671c3(0x14c)][_0x3671c3(0x1b8)]();}),_0x1b2500[_0x504af3(0x181)][_0x504af3(0x1a6)](_0x12a41a),_0xcd096f[_0x504af3(0x15f)][_0x504af3(0x1a6)](_0x1b2500);}return _0x2f91b2[_0x504af3(0x156)](_0x504af3(0x1ae))['to'](_0x2b4a7b,_0x504af3(0x1ae)),_0x2f91b2[_0x504af3(0x17a)][_0x504af3(0x181)][_0x504af3(0x1a6)](_0xcd096f),_0x2f91b2;}[_0xf2e84c(0x1bc)](_0x40aaf9){const _0x198495=_0xf2e84c,_0x4c5d1d=this[_0x198495(0x142)],_0x2cf6b1=_0x4c5d1d[_0x198495(0x1a0)],_0x30d4f3=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x171)),_0x5f3310=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x1c1)),_0x55451d=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x1ab)),_0x18a6dd=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x2bb3b1)['me'],_0x2c4169=_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x1cd))[_0x198495(0x16a)],{CommentsListView:_0x4c2e19,CommentThreadInputView:_0x12786c}=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x144));let _0x14fd8c,_0x27b2ad;this[_0x198495(0x154)][_0x198495(0x14b)](_0x40aaf9['id'])?(_0x27b2ad=this[_0x198495(0x154)][_0x198495(0x1b4)](_0x40aaf9['id']),_0x14fd8c=_0x27b2ad[_0x198495(0x196)]):(_0x14fd8c=new _0x2c4169(_0x4c5d1d[_0x198495(0x15c)],_0x40aaf9,_0x18a6dd,{'disableComments':this[_0x198495(0x17e)],'editorConfig':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x1be)),'maxCommentsWhenCollapsed':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x19c)),'maxThreadTotalWeight':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x178)),'maxCommentCharsWhenCollapsed':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x160)),'formatDateTime':_0x42616c(_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x15c))),'CommentView':_0x2cf6b1[_0x198495(0x1b4)](_0x198495(0x173))[_0x198495(0x199)],'CommentsListView':_0x4c2e19,'CommentThreadInputView':_0x12786c}),_0x14fd8c[_0x198495(0x1b6)]['on'](_0x198495(0x140),()=>{const _0x17ffda=_0x198495;_0x4c5d1d[_0x17ffda(0x166)][_0x17ffda(0x14c)][_0x17ffda(0x1b8)]();}),_0x14fd8c[_0x198495(0x1c3)]['on'](_0x198495(0x140),()=>{const _0x7b8ede=_0x198495;_0x4c5d1d[_0x7b8ede(0x166)][_0x7b8ede(0x14c)][_0x7b8ede(0x1b8)]();}),_0x27b2ad=_0x30d4f3[_0x198495(0x1b3)](this[_0x198495(0x142)][_0x198495(0x15c)],_0x14fd8c),_0x27b2ad[_0x198495(0x156)](_0x198495(0x159))['to'](_0x14fd8c,_0x198495(0x159)),_0x27b2ad[_0x198495(0x156)](_0x198495(0x17b))['to'](_0x14fd8c),_0x27b2ad[_0x198495(0x156)](_0x198495(0x169))['to'](_0x14fd8c,_0x198495(0x169),_0x40c672=>_0x198495(0x15e)+_0x40c672),this[_0x198495(0x154)][_0x198495(0x187)](_0x40aaf9['id'],_0x27b2ad));const _0x51d02c=_0x5f3310[_0x198495(0x18b)](_0x40aaf9[_0x198495(0x14e)],_0x14fd8c),_0xe72790=new _0x18dbd3(_0x4c5d1d,_0x40aaf9,_0x14fd8c,_0x51d02c),_0x3d5274=_0x40aaf9[_0x198495(0x153)]()[_0x198495(0x168)](_0x36b15f=>_0x36b15f[_0x198495(0x143)]);_0x14fd8c[_0x198495(0x1c0)]=_0x4c5d1d[_0x198495(0x1aa)][_0x198495(0x1b4)](_0x198495(0x161))[_0x198495(0x188)][_0x198495(0x1ce)](_0x3d5274),this[_0x198495(0x1ad)][_0x198495(0x187)](_0x40aaf9,_0xe72790),this[_0x198495(0x1bb)][_0x198495(0x187)](_0x14fd8c,_0xe72790);const _0x147539=_0x30d4f3[_0x198495(0x18e)]({'view':_0x27b2ad,'target':()=>{const _0x48b812=_0x198495,_0x27de2b=[],_0x1bd2bf=_0x40aaf9[_0x48b812(0x153)]()[_0x48b812(0x168)](_0x229c80=>_0x229c80[_0x48b812(0x143)]);for(const _0x386183 of _0x1bd2bf)_0x27de2b[_0x48b812(0x1c5)](..._0x386183[_0x48b812(0x150)]());return _0xcbb5f5(_0x4c5d1d[_0x48b812(0x166)],_0x27de2b);},'type':()=>_0x198495(0x15e)+_0xe72790[_0x198495(0x14c)][_0x198495(0x169)]});_0x5f3310[_0x198495(0x16c)](_0x14fd8c,_0x147539),_0x30d4f3[_0x198495(0x1a6)](_0x147539),_0x55451d[_0x198495(0x1cf)](_0x147539);}[_0xf2e84c(0x176)](_0x369195){const _0x9ebf04=_0xf2e84c,_0x46dda1=this[_0x9ebf04(0x142)][_0x9ebf04(0x1aa)][_0x9ebf04(0x1b4)](_0x9ebf04(0x1c1)),_0x4e9534=this[_0x9ebf04(0x142)][_0x9ebf04(0x1aa)][_0x9ebf04(0x1b4)](_0x9ebf04(0x171)),_0x5584a6=this[_0x9ebf04(0x1ad)][_0x9ebf04(0x1b4)](_0x369195),_0xa84cad=_0x5584a6[_0x9ebf04(0x14c)],_0x22a94f=_0x4e9534[_0x9ebf04(0x190)](_0xa84cad);_0x46dda1[_0x9ebf04(0x182)](_0xa84cad),_0x22a94f&&_0x4e9534[_0x9ebf04(0x19d)](_0x22a94f),this[_0x9ebf04(0x1ad)][_0x9ebf04(0x167)](_0x369195),this[_0x9ebf04(0x1bb)][_0x9ebf04(0x167)](_0xa84cad),_0x5584a6[_0x9ebf04(0x1c8)]();}[_0xf2e84c(0x1ca)](_0x5c0f47){const _0x567068=_0xf2e84c;if(!_0x5c0f47[_0x567068(0x143)]||!this[_0x567068(0x1ad)][_0x567068(0x14b)](_0x5c0f47))return;const _0x1231e6=this[_0x567068(0x142)][_0x567068(0x1aa)][_0x567068(0x1b4)](_0x567068(0x161)),_0x3c8391=this[_0x567068(0x1ad)][_0x567068(0x1b4)](_0x5c0f47),_0x4494c5=_0x5c0f47[_0x567068(0x153)]();_0x3c8391[_0x567068(0x14c)][_0x567068(0x1c0)]=_0x1231e6[_0x567068(0x188)][_0x567068(0x1ce)](_0x4494c5);}[_0xf2e84c(0x1c8)](){const _0x2fc8f9=_0xf2e84c;for(const _0x2cacc6 of this[_0x2fc8f9(0x1ad)][_0x2fc8f9(0x152)]())this[_0x2fc8f9(0x176)](_0x2cacc6);for(const _0x2eaffb of this[_0x2fc8f9(0x154)][_0x2fc8f9(0x192)]())_0x2eaffb[_0x2fc8f9(0x196)][_0x2fc8f9(0x1c8)]();super[_0x2fc8f9(0x1c8)]();}}function ae(_0x2a5cfe){const _0x5beff2=_0xf2e84c;return _0x5beff2(0x16f)in _0x2a5cfe;}
|
|
23
|
+
const _0x88c1c3=_0x4b50;(function(_0x2ec99d,_0x3fe55b){const _0x581f10=_0x4b50,_0x5a88d0=_0x2ec99d();while(!![]){try{const _0x9a09fb=-parseInt(_0x581f10(0x1ee))/0x1+-parseInt(_0x581f10(0x216))/0x2+parseInt(_0x581f10(0x1ef))/0x3*(parseInt(_0x581f10(0x256))/0x4)+parseInt(_0x581f10(0x214))/0x5*(parseInt(_0x581f10(0x229))/0x6)+parseInt(_0x581f10(0x27a))/0x7*(-parseInt(_0x581f10(0x23e))/0x8)+parseInt(_0x581f10(0x25a))/0x9+parseInt(_0x581f10(0x26b))/0xa*(parseInt(_0x581f10(0x276))/0xb);if(_0x9a09fb===_0x3fe55b)break;else _0x5a88d0['push'](_0x5a88d0['shift']());}catch(_0x378682){_0x5a88d0['push'](_0x5a88d0['shift']());}}}(_0x3661,0x8bb9a));import{Plugin as _0xf16794}from'ckeditor5/src/core.js';import{Collection as _0x2e0bc2}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x4c6957,createDropdown as _0x1e5c18,ListSeparatorView as _0x218f3f,MenuBarMenuView as _0x29898b,MenuBarMenuListView as _0x373ef4,MenuBarMenuListItemView as _0x5b8b6d,MenuBarMenuListItemButtonView as _0x2becd6,SplitButtonView as _0x3a30af,ViewModel as _0x40c192}from'ckeditor5/src/ui.js';function _0x3661(){const _0x5b76f8=['TrackChangesUI','componentFactory','Accept\x20all\x20suggestions','Discard\x20all\x20suggestions','init','createAnnotation','CommentView','plugins','suggestionUnloaded','refreshSelectedViews','descriptionParts','separator','listenTo','change:activeAnnotations','reduce','acceptSelectedSuggestions','some','_suggestionToController','editor','comments.editorConfig','filter','set','100975ISsicc','discardSelectedSuggestions','1923526lEFGRZ','_createToolbarButton','from','addComment','switchbutton','stopListening','suggestionLoaded','isEnabled','mainView','destroy','getDescriptions','_unbindEditors','Track\x20changes','suggestion-','commands','_viewToController','_createMenuBarMenu','comments.maxCommentCharsWhenCollapsed','commandName','168WLQHuP','lowest','createCommentThreadController','define','CommentsUI','getSuggestion','trackChanges','toMany','_updateController','_bindAnnotationToEditors','type','Discard\x20all\x20selected\x20suggestions','comments.maxThreadTotalWeight','button','menuBar:trackChanges','push','registerAnnotation','head','unbind','_addUIComponentsToFactory','buttonView','200siFUQW','requires','Accept\x20all\x20selected\x20suggestions','SuggestionThreadView','addSourceCollector','arrowView','Annotations','locale','_handleSuggestionControllerDelayed','get','model','panelView','_refreshActiveMarkers','isDirty','acceptAllSuggestions','getMarkerNames','bind','activeMarkers','length','activeAnnotations','delegate','comments','getRanges','suggestionChanged','4CoLeBn','items','size','menuitemcheckbox','2251044UJRvFQ','trackChanges.SuggestionThreadView','discardAllSuggestions','clear','delete','value','actionView','config','CommentsRepository','add','discardButton','getByInnerView','children','values','getJoined','hasSuggestion','pluginName','20974000oVytpk','_annotationViews','isInContent','trackChanges.disableComments','acceptButton','_destroyController','previous','EditorAnnotations','view','keys','getMarkers','11hUwuEP','menu','createAnnotationView','menuitem','259126lAcEKE','change:previous','_initializeController','_disableComments','isOn','commentThread','793780aPoVjP','1020993xtACTw','has','_handleControllerBuffer','focus','execute','innerView','source','getAllAdjacentSuggestions','getFirstRange','remove','isMultiRange','TrackChangesEditing','comments.maxCommentsWhenCollapsed','descriptionFactory','editing'];_0x3661=function(){return _0x5b76f8;};return _0x3661();}import{Users as _0xbfa12a,getDateTimeFormatter as _0x19bf50,getAllMarkersDomElementsSorted as _0x21c012}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5c86b2 from'./trackchangesediting.js';import _0x1401c6 from'./ui/suggestioncontroller.js';function _0x4b50(_0xe79227,_0x459a0c){const _0x3661ee=_0x3661();return _0x4b50=function(_0x4b5095,_0x4e99d8){_0x4b5095=_0x4b5095-0x1ec;let _0x1f3785=_0x3661ee[_0x4b5095];return _0x1f3785;},_0x4b50(_0xe79227,_0x459a0c);}import _0x1508a0 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5964ce}from'./utils/common-translations.js';import _0x188f67 from'../theme/icons/track-changes.svg';export default class d extends _0xf16794{static get[_0x88c1c3(0x23f)](){const _0x1ffd72=_0x88c1c3;return[_0x5c86b2,_0xbfa12a,_0x1ffd72(0x262),_0x1ffd72(0x244),_0x1ffd72(0x272)];}static get[_0x88c1c3(0x26a)](){const _0x27d197=_0x88c1c3;return _0x27d197(0x1fe);}constructor(_0xd0f220){const _0x538826=_0x88c1c3;super(_0xd0f220),this[_0x538826(0x20f)]=new Map(),this[_0x538826(0x225)]=new Map(),this[_0x538826(0x26c)]=new Map(),this[_0x538826(0x1f1)]=new Map();const _0x294fab=this[_0x538826(0x210)][_0x538826(0x261)];_0x294fab[_0x538826(0x22c)](_0x538826(0x25b),_0x1508a0),_0x294fab[_0x538826(0x22c)](_0x538826(0x26e),!0x1),this[_0x538826(0x27d)]=_0x294fab[_0x538826(0x247)](_0x538826(0x26e));}[_0x88c1c3(0x246)](_0x239bfb,_0xc9bdb4){const _0x5bac68=_0x88c1c3;0x0===this[_0x5bac68(0x1f1)][_0x5bac68(0x258)]&&setTimeout(()=>{const _0x22919a=_0x5bac68;for(const [_0x2a712e,_0x590238]of this[_0x22919a(0x1f1)]){const _0x330a21=this[_0x22919a(0x20f)][_0x22919a(0x1f0)](_0x2a712e);_0x330a21||_0x590238?_0x330a21&&_0x590238&&this[_0x22919a(0x270)](_0x2a712e):this[_0x22919a(0x27c)](_0x2a712e);}this[_0x22919a(0x1f1)][_0x22919a(0x25d)](),this[_0x22919a(0x210)][_0x22919a(0x205)][_0x22919a(0x247)](_0x22919a(0x272))[_0x22919a(0x207)](),this[_0x22919a(0x24a)]();},0xa),this[_0x5bac68(0x1f1)][_0x5bac68(0x213)](_0x239bfb,_0xc9bdb4);}[_0x88c1c3(0x202)](){const _0x9fceda=_0x88c1c3,_0x444f96=this[_0x9fceda(0x210)],_0x42100f=_0x444f96[_0x9fceda(0x205)][_0x9fceda(0x247)](_0x9fceda(0x1fa)),_0x424c87=_0x444f96[_0x9fceda(0x205)][_0x9fceda(0x247)](_0x9fceda(0x244)),_0x46c5dc=_0x444f96[_0x9fceda(0x205)][_0x9fceda(0x247)](_0x9fceda(0x272)),_0x2fe4b9=_0x444f96[_0x9fceda(0x205)][_0x9fceda(0x247)](_0x9fceda(0x262));this[_0x9fceda(0x23c)](),_0x46c5dc[_0x9fceda(0x242)](()=>{const _0x560082=_0x9fceda,_0x5ed771=[];for(const [_0x42be5e,_0xb38637]of Array[_0x560082(0x218)](this[_0x560082(0x20f)])){const _0x206246=_0x42be5e[_0x560082(0x1f6)](),_0x22f900=[];for(const _0xdfae1b of _0x206246){if(!_0xdfae1b[_0x560082(0x26d)])continue;if(_0xdfae1b[_0x560082(0x1f9)]){_0x22f900[_0x560082(0x238)](..._0xdfae1b[_0x560082(0x254)]());continue;}const _0x5167a0=_0xdfae1b[_0x560082(0x1f7)]();if(_0x22f900[_0x560082(0x250)]>0x0){const _0x18c2df=_0x22f900[0x0][_0x560082(0x268)](_0x5167a0);if(_0x18c2df){_0x22f900[0x0]=_0x18c2df;continue;}}_0x22f900[_0x560082(0x238)](_0x5167a0);}_0x5ed771[_0x560082(0x238)]([_0xb38637[_0x560082(0x273)],_0x22f900]);}return _0x5ed771;}),this[_0x9fceda(0x20a)](_0x42100f,_0x9fceda(0x21c),(_0x4f9d6a,_0x2f5031)=>{const _0x341254=_0x9fceda;this[_0x341254(0x20a)](_0x2f5031,_0x341254(0x27b),(_0x5cb808,_0xa56f9e,_0x40c891,_0x427b15)=>{const _0x3a731f=_0x341254;_0x2f5031[_0x3a731f(0x26d)]&&(null==_0x40c891?(this[_0x3a731f(0x231)](_0x427b15[_0x3a731f(0x23a)]),this[_0x3a731f(0x246)](_0x2f5031,!0x1)):(this[_0x3a731f(0x231)](_0x40c891[_0x3a731f(0x23a)]),null==_0x427b15&&this[_0x3a731f(0x246)](_0x2f5031,!0x0)));}),null!==_0x2f5031[_0x341254(0x271)]?this[_0x341254(0x231)](_0x2f5031[_0x341254(0x23a)]):this[_0x341254(0x246)](_0x2f5031,!0x1);}),this[_0x9fceda(0x20a)](_0x42100f,_0x9fceda(0x206),(_0x1e92ac,_0x30f4f9,_0x421bc9)=>{const _0x43b9d2=_0x9fceda;this[_0x43b9d2(0x21b)](_0x30f4f9,_0x43b9d2(0x27b)),this[_0x43b9d2(0x1f1)][_0x43b9d2(0x25e)](_0x30f4f9),this[_0x43b9d2(0x20f)][_0x43b9d2(0x1f0)](_0x30f4f9)&&this[_0x43b9d2(0x270)](_0x30f4f9),_0x421bc9&&this[_0x43b9d2(0x231)](_0x421bc9[_0x43b9d2(0x23a)]);}),this[_0x9fceda(0x20a)](_0x42100f,_0x9fceda(0x255),(_0x1ecbb3,_0x36656a)=>{const _0x23fba8=_0x9fceda;this[_0x23fba8(0x231)](_0x36656a);}),this[_0x9fceda(0x20a)](_0x424c87,_0x9fceda(0x20b),()=>{const _0x443c5d=_0x9fceda;this[_0x443c5d(0x24a)]();}),this[_0x9fceda(0x20a)](_0x2fe4b9,_0x9fceda(0x219),(_0x340634,{threadId:_0x563189,isFromAdapter:_0x31de9e})=>{const _0x289ae2=_0x9fceda;if(_0x31de9e||!_0x42100f[_0x289ae2(0x269)](_0x563189))return;const _0x357094=_0x42100f[_0x289ae2(0x22e)](_0x563189);this[_0x289ae2(0x20f)][_0x289ae2(0x247)](_0x357094)[_0x289ae2(0x273)][_0x289ae2(0x1f2)]();},{'priority':_0x9fceda(0x22a)});}[_0x88c1c3(0x24a)](){const _0x1d78b2=_0x88c1c3,_0x192de8=this[_0x1d78b2(0x210)][_0x1d78b2(0x205)][_0x1d78b2(0x247)](_0x1d78b2(0x244)),_0x402a28=this[_0x1d78b2(0x210)][_0x1d78b2(0x205)][_0x1d78b2(0x247)](_0x1d78b2(0x1fa)),_0x17e233=Array[_0x1d78b2(0x218)](_0x192de8[_0x1d78b2(0x251)],_0x3ef76e=>_0x3ef76e[_0x1d78b2(0x1f4)])[_0x1d78b2(0x212)](_0x12b007=>this[_0x1d78b2(0x225)][_0x1d78b2(0x1f0)](_0x12b007)),_0x3c77d9=[];for(const _0x3241de of _0x17e233){const _0x574950=this[_0x1d78b2(0x225)][_0x1d78b2(0x247)](_0x3241de)[_0x1d78b2(0x248)][_0x1d78b2(0x1f6)]();_0x3c77d9[_0x1d78b2(0x238)](..._0x574950[_0x1d78b2(0x20c)]((_0x23f5b2,_0x47222d)=>[..._0x23f5b2,..._0x47222d[_0x1d78b2(0x24d)]()],[]));}_0x402a28[_0x1d78b2(0x24f)]=_0x3c77d9;}[_0x88c1c3(0x23c)](){const _0x25d3dd=_0x88c1c3,_0x840224=this[_0x25d3dd(0x210)],_0x1b0a71=_0x840224[_0x25d3dd(0x245)],_0x19b4fe=_0x5964ce(_0x1b0a71,_0x25d3dd(0x222)),_0xaa11ae=new _0x2e0bc2([{'type':_0x25d3dd(0x21a),'model':new _0x40c192({'withText':!0x0,'isToggleable':!0x0,'label':_0x19b4fe,'commandName':_0x25d3dd(0x22f),'role':_0x25d3dd(0x259)})},{'type':_0x25d3dd(0x209)},{'type':_0x25d3dd(0x236),'model':new _0x40c192({'withText':!0x0,'label':_0x5964ce(_0x1b0a71,_0x25d3dd(0x200)),'commandName':_0x25d3dd(0x24c),'role':_0x25d3dd(0x279)})},{'type':_0x25d3dd(0x236),'model':new _0x40c192({'withText':!0x0,'label':_0x5964ce(_0x1b0a71,_0x25d3dd(0x240)),'commandName':_0x25d3dd(0x20d),'role':_0x25d3dd(0x279)})},{'type':_0x25d3dd(0x236),'model':new _0x40c192({'withText':!0x0,'label':_0x5964ce(_0x1b0a71,_0x25d3dd(0x201)),'commandName':_0x25d3dd(0x25c),'role':_0x25d3dd(0x279)})},{'type':_0x25d3dd(0x236),'model':new _0x40c192({'withText':!0x0,'label':_0x5964ce(_0x1b0a71,_0x25d3dd(0x234)),'commandName':_0x25d3dd(0x215),'role':_0x25d3dd(0x279)})}]);for(const _0x463c0b of _0xaa11ae)if(ae(_0x463c0b)){const _0x5a40f9=_0x840224[_0x25d3dd(0x224)][_0x25d3dd(0x247)](_0x463c0b[_0x25d3dd(0x248)][_0x25d3dd(0x228)]);_0x463c0b[_0x25d3dd(0x248)][_0x25d3dd(0x24e)](_0x25d3dd(0x1ec),_0x25d3dd(0x21d))['to'](_0x5a40f9,_0x25d3dd(0x25f),_0x25d3dd(0x21d));}_0x840224['ui'][_0x25d3dd(0x1ff)][_0x25d3dd(0x263)](_0x25d3dd(0x22f),_0x1d958a=>this[_0x25d3dd(0x217)](_0x1d958a,_0xaa11ae,_0x19b4fe)),_0x840224['ui'][_0x25d3dd(0x1ff)][_0x25d3dd(0x263)](_0x25d3dd(0x237),_0x2e9f41=>this[_0x25d3dd(0x226)](_0x2e9f41,_0xaa11ae,_0x19b4fe));}[_0x88c1c3(0x217)](_0x43ca06,_0x26bcc9,_0x28a315){const _0x98e1a9=_0x88c1c3,_0x465e99=_0x1e5c18(_0x43ca06,_0x3a30af),_0x2424df=this[_0x98e1a9(0x210)][_0x98e1a9(0x224)][_0x98e1a9(0x247)](_0x98e1a9(0x22f));_0x465e99[_0x98e1a9(0x23d)][_0x98e1a9(0x213)]({'tooltip':_0x28a315,'label':_0x28a315,'icon':_0x188f67}),_0x465e99[_0x98e1a9(0x23d)][_0x98e1a9(0x24e)](_0x98e1a9(0x1ec))['to'](_0x2424df,_0x98e1a9(0x25f)),_0x465e99[_0x98e1a9(0x23d)]['on'](_0x98e1a9(0x1f3),()=>{const _0x5929b4=_0x98e1a9;_0x2424df[_0x5929b4(0x1f3)](),this[_0x5929b4(0x210)][_0x5929b4(0x1fd)][_0x5929b4(0x273)][_0x5929b4(0x1f2)]();}),_0x4c6957(_0x465e99,_0x26bcc9,{'role':_0x98e1a9(0x277)});const _0x8452c8=[];for(const _0x249f6a of _0x26bcc9)ae(_0x249f6a)&&_0x8452c8[_0x98e1a9(0x238)](this[_0x98e1a9(0x210)][_0x98e1a9(0x224)][_0x98e1a9(0x247)](_0x249f6a[_0x98e1a9(0x248)][_0x98e1a9(0x228)]));const _0x2d2875=_0x465e99[_0x98e1a9(0x23d)];return _0x2d2875[_0x98e1a9(0x260)][_0x98e1a9(0x23b)](_0x98e1a9(0x21d)),_0x2d2875[_0x98e1a9(0x243)][_0x98e1a9(0x23b)](_0x98e1a9(0x21d)),_0x2d2875[_0x98e1a9(0x260)][_0x98e1a9(0x24e)](_0x98e1a9(0x21d))['to'](_0x2424df,_0x98e1a9(0x21d)),_0x2d2875[_0x98e1a9(0x243)][_0x98e1a9(0x24e)](_0x98e1a9(0x21d))[_0x98e1a9(0x230)](_0x8452c8,_0x98e1a9(0x21d),(..._0x232dab)=>_0x232dab[_0x98e1a9(0x20e)](_0x315318=>_0x315318)),_0x465e99['on'](_0x98e1a9(0x1f3),_0xdc0af2=>{const _0xe643c6=_0x98e1a9;this[_0xe643c6(0x210)][_0xe643c6(0x1f3)](_0xdc0af2[_0xe643c6(0x1f5)][_0xe643c6(0x228)]),this[_0xe643c6(0x210)][_0xe643c6(0x1fd)][_0xe643c6(0x273)][_0xe643c6(0x1f2)]();}),_0x465e99;}[_0x88c1c3(0x226)](_0x12612b,_0x324cf3,_0x5a0568){const _0x466403=_0x88c1c3,_0x22c5a5=new _0x29898b(_0x12612b),_0x4a682f=this[_0x466403(0x210)][_0x466403(0x224)][_0x466403(0x247)](_0x466403(0x22f));_0x22c5a5[_0x466403(0x23d)][_0x466403(0x213)]({'label':_0x5a0568,'icon':_0x188f67});const _0x4a051b=new _0x373ef4(_0x12612b);for(const _0x21cfae of _0x324cf3){if(_0x466403(0x209)==_0x21cfae[_0x466403(0x233)]){_0x4a051b[_0x466403(0x257)][_0x466403(0x263)](new _0x218f3f(_0x12612b));continue;}const _0x1a2a23=new _0x5b8b6d(_0x12612b,_0x22c5a5),_0x2be050=new _0x2becd6(_0x12612b),_0xbad524=_0x21cfae[_0x466403(0x248)];_0x2be050[_0x466403(0x24e)](...Object[_0x466403(0x274)](_0xbad524))['to'](_0xbad524),_0x2be050[_0x466403(0x252)](_0x466403(0x1f3))['to'](_0x22c5a5),_0x2be050['on'](_0x466403(0x1f3),()=>{const _0x4a5235=_0x466403;this[_0x4a5235(0x210)][_0x4a5235(0x1f3)](_0xbad524[_0x4a5235(0x228)]),this[_0x4a5235(0x210)][_0x4a5235(0x1fd)][_0x4a5235(0x273)][_0x4a5235(0x1f2)]();}),_0x1a2a23[_0x466403(0x266)][_0x466403(0x263)](_0x2be050),_0x4a051b[_0x466403(0x257)][_0x466403(0x263)](_0x1a2a23);}return _0x22c5a5[_0x466403(0x24e)](_0x466403(0x21d))['to'](_0x4a682f,_0x466403(0x21d)),_0x22c5a5[_0x466403(0x249)][_0x466403(0x266)][_0x466403(0x263)](_0x4a051b),_0x22c5a5;}[_0x88c1c3(0x27c)](_0x1f78a0){const _0x54fa13=_0x88c1c3,_0x1fd069=this[_0x54fa13(0x210)],_0x4d6bc4=_0x1fd069[_0x54fa13(0x261)],_0x46bd0a=_0x1fd069[_0x54fa13(0x205)][_0x54fa13(0x247)](_0x54fa13(0x244)),_0x49b88d=_0x1fd069[_0x54fa13(0x205)][_0x54fa13(0x247)](_0x54fa13(0x262)),_0x5c5513=_0x1fd069[_0x54fa13(0x205)][_0x54fa13(0x247)](_0x54fa13(0x272)),_0x5c7048=_0x1fd069[_0x54fa13(0x205)][_0x54fa13(0x247)](_0xbfa12a)['me'],_0x440543=_0x4d6bc4[_0x54fa13(0x247)](_0x54fa13(0x22f))[_0x54fa13(0x241)],{CommentsListView:_0x5ab2fd,CommentThreadInputView:_0x42011b}=_0x1fd069[_0x54fa13(0x205)][_0x54fa13(0x247)](_0x54fa13(0x22d));let _0x3b67c4,_0x12ed90;this[_0x54fa13(0x26c)][_0x54fa13(0x1f0)](_0x1f78a0['id'])?(_0x12ed90=this[_0x54fa13(0x26c)][_0x54fa13(0x247)](_0x1f78a0['id']),_0x3b67c4=_0x12ed90[_0x54fa13(0x21e)]):(_0x3b67c4=new _0x440543(_0x1fd069[_0x54fa13(0x245)],_0x1f78a0,_0x5c7048,{'disableComments':this[_0x54fa13(0x27d)],'editorConfig':_0x4d6bc4[_0x54fa13(0x247)](_0x54fa13(0x211)),'maxCommentsWhenCollapsed':_0x4d6bc4[_0x54fa13(0x247)](_0x54fa13(0x1fb)),'maxThreadTotalWeight':_0x4d6bc4[_0x54fa13(0x247)](_0x54fa13(0x235)),'maxCommentCharsWhenCollapsed':_0x4d6bc4[_0x54fa13(0x247)](_0x54fa13(0x227)),'formatDateTime':_0x19bf50(_0x4d6bc4[_0x54fa13(0x247)](_0x54fa13(0x245))),'CommentView':_0x4d6bc4[_0x54fa13(0x247)](_0x54fa13(0x253))[_0x54fa13(0x204)],'CommentsListView':_0x5ab2fd,'CommentThreadInputView':_0x42011b}),_0x3b67c4[_0x54fa13(0x26f)]['on'](_0x54fa13(0x1f3),()=>{const _0x57560f=_0x54fa13;_0x1fd069[_0x57560f(0x1fd)][_0x57560f(0x273)][_0x57560f(0x1f2)]();}),_0x3b67c4[_0x54fa13(0x264)]['on'](_0x54fa13(0x1f3),()=>{const _0x430dba=_0x54fa13;_0x1fd069[_0x430dba(0x1fd)][_0x430dba(0x273)][_0x430dba(0x1f2)]();}),_0x12ed90=_0x46bd0a[_0x54fa13(0x278)](this[_0x54fa13(0x210)][_0x54fa13(0x245)],_0x3b67c4),_0x12ed90[_0x54fa13(0x24e)](_0x54fa13(0x24b))['to'](_0x3b67c4,_0x54fa13(0x24b)),_0x12ed90[_0x54fa13(0x24e)](_0x54fa13(0x250))['to'](_0x3b67c4),_0x12ed90[_0x54fa13(0x24e)](_0x54fa13(0x233))['to'](_0x3b67c4,_0x54fa13(0x233),_0x3091e1=>_0x54fa13(0x223)+_0x3091e1),this[_0x54fa13(0x26c)][_0x54fa13(0x213)](_0x1f78a0['id'],_0x12ed90));const _0x394936=_0x49b88d[_0x54fa13(0x22b)](_0x1f78a0[_0x54fa13(0x1ed)],_0x3b67c4),_0x313122=new _0x1401c6(_0x1fd069,_0x1f78a0,_0x3b67c4,_0x394936),_0x47cb5f=_0x1f78a0[_0x54fa13(0x1f6)]()[_0x54fa13(0x212)](_0x585ec2=>_0x585ec2[_0x54fa13(0x26d)]);_0x3b67c4[_0x54fa13(0x208)]=_0x1fd069[_0x54fa13(0x205)][_0x54fa13(0x247)](_0x54fa13(0x1fa))[_0x54fa13(0x1fc)][_0x54fa13(0x220)](_0x47cb5f),this[_0x54fa13(0x20f)][_0x54fa13(0x213)](_0x1f78a0,_0x313122),this[_0x54fa13(0x225)][_0x54fa13(0x213)](_0x3b67c4,_0x313122);const _0x50854f=_0x46bd0a[_0x54fa13(0x203)]({'view':_0x12ed90,'target':()=>{const _0x376d02=_0x54fa13,_0x537e26=[],_0xb2e8c7=_0x1f78a0[_0x376d02(0x1f6)]()[_0x376d02(0x212)](_0x233b59=>_0x233b59[_0x376d02(0x26d)]);for(const _0x1f3775 of _0xb2e8c7)_0x537e26[_0x376d02(0x238)](..._0x1f3775[_0x376d02(0x275)]());return _0x21c012(_0x1fd069[_0x376d02(0x1fd)],_0x537e26);},'type':()=>_0x54fa13(0x223)+_0x313122[_0x54fa13(0x273)][_0x54fa13(0x233)]});_0x49b88d[_0x54fa13(0x232)](_0x3b67c4,_0x50854f),_0x46bd0a[_0x54fa13(0x263)](_0x50854f),_0x5c5513[_0x54fa13(0x239)](_0x50854f);}[_0x88c1c3(0x270)](_0x22a78b){const _0x155ff8=_0x88c1c3,_0x5011a2=this[_0x155ff8(0x210)][_0x155ff8(0x205)][_0x155ff8(0x247)](_0x155ff8(0x262)),_0x2bdc3e=this[_0x155ff8(0x210)][_0x155ff8(0x205)][_0x155ff8(0x247)](_0x155ff8(0x244)),_0x29cb4b=this[_0x155ff8(0x20f)][_0x155ff8(0x247)](_0x22a78b),_0xe94ee6=_0x29cb4b[_0x155ff8(0x273)],_0x52c12c=_0x2bdc3e[_0x155ff8(0x265)](_0xe94ee6);_0x5011a2[_0x155ff8(0x221)](_0xe94ee6),_0x52c12c&&_0x2bdc3e[_0x155ff8(0x1f8)](_0x52c12c),this[_0x155ff8(0x20f)][_0x155ff8(0x25e)](_0x22a78b),this[_0x155ff8(0x225)][_0x155ff8(0x25e)](_0xe94ee6),_0x29cb4b[_0x155ff8(0x21f)]();}[_0x88c1c3(0x231)](_0xc756ac){const _0x46ed0f=_0x88c1c3;if(!_0xc756ac[_0x46ed0f(0x26d)]||!this[_0x46ed0f(0x20f)][_0x46ed0f(0x1f0)](_0xc756ac))return;const _0x15891a=this[_0x46ed0f(0x210)][_0x46ed0f(0x205)][_0x46ed0f(0x247)](_0x46ed0f(0x1fa)),_0x3eef9e=this[_0x46ed0f(0x20f)][_0x46ed0f(0x247)](_0xc756ac),_0x417cf0=_0xc756ac[_0x46ed0f(0x1f6)]();_0x3eef9e[_0x46ed0f(0x273)][_0x46ed0f(0x208)]=_0x15891a[_0x46ed0f(0x1fc)][_0x46ed0f(0x220)](_0x417cf0);}[_0x88c1c3(0x21f)](){const _0xf2a2b8=_0x88c1c3;for(const _0x5bf6db of this[_0xf2a2b8(0x20f)][_0xf2a2b8(0x274)]())this[_0xf2a2b8(0x270)](_0x5bf6db);for(const _0x59c828 of this[_0xf2a2b8(0x26c)][_0xf2a2b8(0x267)]())_0x59c828[_0xf2a2b8(0x21e)][_0xf2a2b8(0x21f)]();super[_0xf2a2b8(0x21f)]();}}function ae(_0x32a847){const _0x13eeab=_0x88c1c3;return _0x13eeab(0x248)in _0x32a847;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x148ded=_0x3588;(function(_0x3588f1,_0x54e436){const _0x44cac0=_0x3588,_0x3025ff=_0x3588f1();while(!![]){try{const _0x3b0912=parseInt(_0x44cac0(0x205))/0x1+-parseInt(_0x44cac0(0x1f1))/0x2*(parseInt(_0x44cac0(0x215))/0x3)+-parseInt(_0x44cac0(0x1fe))/0x4+-parseInt(_0x44cac0(0x1f2))/0x5+-parseInt(_0x44cac0(0x201))/0x6+parseInt(_0x44cac0(0x218))/0x7*(parseInt(_0x44cac0(0x20d))/0x8)+parseInt(_0x44cac0(0x1f8))/0x9*(parseInt(_0x44cac0(0x207))/0xa);if(_0x3b0912===_0x54e436)break;else _0x3025ff['push'](_0x3025ff['shift']());}catch(_0x24d3eb){_0x3025ff['push'](_0x3025ff['shift']());}}}(_0xd3d4,0x612ab));function _0xd3d4(){const _0x48f211=['getRanges','canDiscard','3815670qyoYQO','_discardCommand','add','view','41072tJvIFF','bind','10OlBpEq','canAccept','_pendingAction','locale','change:isDirty','isDirty','3502216HFRqYK','commands','listenTo','_acceptCommand','discardSuggestion','remove','PendingActions','commentThreadController','410166ZzhsvM','_removePendingAction','plugins','7IbNSHG','_editor','destroy','2FozTnB','2371190oGEONm','unbind','_setPendingAction','stopListening','execute','PENDING_ACTION_SUGGESTION','13530843EhiDCj','model','canEditAt','isEnabled','acceptSuggestion','get','1349504iFVBGt'];_0xd3d4=function(){return _0x48f211;};return _0xd3d4();}import{ObservableMixin as _0x42f819}from'ckeditor5/src/utils.js';import{getTranslation as _0x492b39}from'../utils/common-translations.js';function _0x3588(_0x1e5761,_0x3a1bf5){const _0xd3d4d6=_0xd3d4();return _0x3588=function(_0x358805,_0x457625){_0x358805=_0x358805-0x1f1;let _0x50ea26=_0xd3d4d6[_0x358805];return _0x50ea26;},_0x3588(_0x1e5761,_0x3a1bf5);}export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x42f819(){constructor(_0xf92afe,_0x702f6,_0x2258c1,_0x41527c){const _0x1756a9=_0x3588;super(),this[_0x1756a9(0x1f9)]=_0x702f6,this[_0x1756a9(0x204)]=_0x2258c1,this[_0x1756a9(0x214)]=_0x41527c,this[_0x1756a9(0x219)]=_0xf92afe,this[_0x1756a9(0x210)]=_0xf92afe[_0x1756a9(0x20e)][_0x1756a9(0x1fd)](_0x1756a9(0x1fc)),this[_0x1756a9(0x202)]=_0xf92afe[_0x1756a9(0x20e)][_0x1756a9(0x1fd)](_0x1756a9(0x211)),this[_0x1756a9(0x204)][_0x1756a9(0x206)](_0x1756a9(0x1fb))['to'](this[_0x1756a9(0x210)],this[_0x1756a9(0x202)],(_0x2aa716,_0x192a97)=>_0x2aa716||_0x192a97),this[_0x1756a9(0x204)][_0x1756a9(0x206)](_0x1756a9(0x208))['to'](this[_0x1756a9(0x210)],_0x1756a9(0x1fb),_0x3794f7=>_0x3794f7&&this[_0x1756a9(0x219)][_0x1756a9(0x1f9)][_0x1756a9(0x1fa)](_0x702f6[_0x1756a9(0x1ff)]())),this[_0x1756a9(0x204)][_0x1756a9(0x206)](_0x1756a9(0x200))['to'](this[_0x1756a9(0x202)],_0x1756a9(0x1fb),_0x2a103d=>_0x2a103d&&this[_0x1756a9(0x219)][_0x1756a9(0x1f9)][_0x1756a9(0x1fa)](_0x702f6[_0x1756a9(0x1ff)]())),this[_0x1756a9(0x209)]=null,_0x2258c1[_0x1756a9(0x20c)]&&this[_0x1756a9(0x1f4)](),this[_0x1756a9(0x20f)](_0x2258c1,_0x1756a9(0x1fc),()=>this[_0x1756a9(0x1fc)]()),this[_0x1756a9(0x20f)](_0x2258c1,_0x1756a9(0x211),()=>this[_0x1756a9(0x211)]()),this[_0x1756a9(0x20f)](_0x2258c1,_0x1756a9(0x20b),()=>{const _0x815057=_0x1756a9;_0x2258c1[_0x815057(0x20c)]?this[_0x815057(0x1f4)]():this[_0x815057(0x216)]();});}[_0x148ded(0x1fc)](){const _0x165b2d=_0x148ded;this[_0x165b2d(0x210)][_0x165b2d(0x1f6)](this[_0x165b2d(0x1f9)]['id']);}[_0x148ded(0x211)](){const _0x5f1664=_0x148ded;this[_0x5f1664(0x202)][_0x5f1664(0x1f6)](this[_0x5f1664(0x1f9)]['id']);}[_0x148ded(0x21a)](){const _0x4c5234=_0x148ded;this[_0x4c5234(0x204)][_0x4c5234(0x1f3)](_0x4c5234(0x1fb)),this[_0x4c5234(0x204)][_0x4c5234(0x1f3)](_0x4c5234(0x208)),this[_0x4c5234(0x204)][_0x4c5234(0x1f3)](_0x4c5234(0x200)),this[_0x4c5234(0x1f5)](),this[_0x4c5234(0x214)][_0x4c5234(0x21a)](),this[_0x4c5234(0x209)]&&this[_0x4c5234(0x216)]();}[_0x148ded(0x1f4)](){const _0x5994c2=_0x148ded,_0x45655a=_0x492b39(this[_0x5994c2(0x219)][_0x5994c2(0x20a)],_0x5994c2(0x1f7));this[_0x5994c2(0x209)]=this[_0x5994c2(0x219)][_0x5994c2(0x217)][_0x5994c2(0x1fd)](_0x5994c2(0x213))[_0x5994c2(0x203)](_0x45655a);}[_0x148ded(0x216)](){const _0x2b193b=_0x148ded;null!==this[_0x2b193b(0x209)]&&this[_0x2b193b(0x219)][_0x2b193b(0x217)][_0x2b193b(0x1fd)](_0x2b193b(0x213))[_0x2b193b(0x212)](this[_0x2b193b(0x209)]),this[_0x2b193b(0x209)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fb293=_0x299e;(function(_0x5dd9fd,_0x8fffe){const _0x38d7c6=_0x299e,_0x6c9bcf=_0x5dd9fd();while(!![]){try{const _0x1008f6=parseInt(_0x38d7c6(0x132))/0x1*(parseInt(_0x38d7c6(0x13a))/0x2)+parseInt(_0x38d7c6(0x136))/0x3+parseInt(_0x38d7c6(0x125))/0x4+-parseInt(_0x38d7c6(0x12b))/0x5*(parseInt(_0x38d7c6(0x109))/0x6)+parseInt(_0x38d7c6(0x138))/0x7+-parseInt(_0x38d7c6(0x139))/0x8*(parseInt(_0x38d7c6(0x128))/0x9)+-parseInt(_0x38d7c6(0x12d))/0xa*(parseInt(_0x38d7c6(0x12c))/0xb);if(_0x1008f6===_0x8fffe)break;else _0x6c9bcf['push'](_0x6c9bcf['shift']());}catch(_0x16b21b){_0x6c9bcf['push'](_0x6c9bcf['shift']());}}}(_0x10bf,0x88076));import{View as _0x90fc56}from'ckeditor5/src/ui.js';function _0x10bf(){const _0x480729=['locale','assign','addComment','editor','CommentView','focus','isReadOnly','removeComment','fire','_createCommentThreadInputView','element','descriptionParts','destroy','commentThreadInputView','isActive','submit','_createCommentViews','commentThread','authoredAt','cancel','_localUser','delegate','length','commentInputView','2655008XiyApb','canDiscard','_config','3546648FIBxrT','set','commentsListView','607175TwphtH','10120429SQzUib','10KLJYcx','disableComments','isDirty','isEnabled','setData','3PeBVFU','editorConfig','_model','bind','1022460IvRnSo','hasDirtyComment','6041658nyDuuY','8gEsJHj','164326QFDfxb','showInput','value','12gvtnrf','canAccept','disabledSubmit','updateComment'];_0x10bf=function(){return _0x480729;};return _0x10bf();}function _0x299e(_0x288c51,_0x255dab){const _0x10bf19=_0x10bf();return _0x299e=function(_0x299e5b,_0x214562){_0x299e5b=_0x299e5b-0x108;let _0x1eaaeb=_0x10bf19[_0x299e5b];return _0x1eaaeb;},_0x299e(_0x288c51,_0x255dab);}export default class es extends _0x90fc56{constructor(_0x19ddb2,_0x2e33ad,_0x280f6f,_0x2be4a1){const _0x188bf9=_0x299e;super(_0x19ddb2),this[_0x188bf9(0x12a)]=null,this[_0x188bf9(0x11a)]=null,this[_0x188bf9(0x129)](_0x188bf9(0x11b),!0x1),this[_0x188bf9(0x129)](_0x188bf9(0x11f),_0x2e33ad[_0x188bf9(0x11f)]),this[_0x188bf9(0x135)](_0x188bf9(0x11f))['to'](_0x2e33ad),this[_0x188bf9(0x129)](_0x188bf9(0x118),[]),this[_0x188bf9(0x129)](_0x188bf9(0x12f),!0x1),this[_0x188bf9(0x129)](_0x188bf9(0x130),!0x1),this[_0x188bf9(0x129)](_0x188bf9(0x10a),!0x1),this[_0x188bf9(0x129)](_0x188bf9(0x126),!0x1),this[_0x188bf9(0x134)]=_0x2e33ad,this[_0x188bf9(0x121)]=_0x280f6f,this[_0x188bf9(0x127)]=_0x2be4a1,_0x2be4a1[_0x188bf9(0x12e)]?this[_0x188bf9(0x129)](_0x188bf9(0x123),0x1):this[_0x188bf9(0x11d)]();}[_0x3fb293(0x112)](){const _0x240239=_0x3fb293;this[_0x240239(0x117)][_0x240239(0x112)]();}[_0x3fb293(0x119)](){const _0x36660f=_0x3fb293;this[_0x36660f(0x12a)]&&this[_0x36660f(0x12a)][_0x36660f(0x119)](),this[_0x36660f(0x11a)]&&this[_0x36660f(0x11a)][_0x36660f(0x119)](),super[_0x36660f(0x119)]();}[_0x3fb293(0x11d)](){const _0x42ca3a=_0x3fb293,{CommentsListView:_0x508caa}=this[_0x42ca3a(0x127)];this[_0x42ca3a(0x12a)]=new _0x508caa(this[_0x42ca3a(0x10d)],this[_0x42ca3a(0x134)][_0x42ca3a(0x11e)],Object[_0x42ca3a(0x10e)]({'CommentView':this[_0x42ca3a(0x127)][_0x42ca3a(0x111)]},this[_0x42ca3a(0x127)])),this[_0x42ca3a(0x12a)][_0x42ca3a(0x122)](_0x42ca3a(0x114))['to'](this),this[_0x42ca3a(0x12a)][_0x42ca3a(0x122)](_0x42ca3a(0x10c))['to'](this),this[_0x42ca3a(0x12a)][_0x42ca3a(0x135)](_0x42ca3a(0x11b))['to'](this),this[_0x42ca3a(0x129)](_0x42ca3a(0x123),this[_0x42ca3a(0x12a)][_0x42ca3a(0x123)]+0x1),this[_0x42ca3a(0x135)](_0x42ca3a(0x123))['to'](this[_0x42ca3a(0x12a)],_0x42ca3a(0x123),_0x119478=>_0x119478+0x1),this[_0x42ca3a(0x11a)]=this[_0x42ca3a(0x116)](),this['on'](_0x42ca3a(0x114),()=>this[_0x42ca3a(0x112)]()),this[_0x42ca3a(0x135)](_0x42ca3a(0x12f))['to'](this[_0x42ca3a(0x12a)],_0x42ca3a(0x137),this[_0x42ca3a(0x11a)][_0x42ca3a(0x124)],_0x42ca3a(0x108),(_0x40736d,_0x49c5ef)=>_0x40736d||!!_0x49c5ef);}[_0x3fb293(0x116)](){const _0x285bf4=_0x3fb293,{CommentThreadInputView:_0x1e58b7}=this[_0x285bf4(0x127)],_0x4a87db=new _0x1e58b7(this[_0x285bf4(0x10d)],this[_0x285bf4(0x121)],this[_0x285bf4(0x127)][_0x285bf4(0x133)]),_0x477421=_0x4a87db[_0x285bf4(0x124)];return _0x4a87db[_0x285bf4(0x135)](_0x285bf4(0x13b))['to'](this,_0x285bf4(0x11b),this[_0x285bf4(0x134)][_0x285bf4(0x11e)],_0x285bf4(0x113),_0x477421,_0x285bf4(0x108),(_0x4a558f,_0x3e6938,_0x215f28)=>!!_0x215f28||_0x4a558f&&!_0x3e6938),_0x477421['on'](_0x285bf4(0x11c),(_0x48cbde,_0x3a5d58)=>{const _0x118f57=_0x285bf4;this[_0x118f57(0x115)](_0x118f57(0x10f),_0x3a5d58),_0x477421[_0x118f57(0x110)][_0x118f57(0x131)]('');}),_0x477421['on'](_0x285bf4(0x120),()=>this[_0x285bf4(0x112)]()),_0x477421[_0x285bf4(0x135)](_0x285bf4(0x10b))['to'](this[_0x285bf4(0x134)][_0x285bf4(0x11e)],_0x285bf4(0x113)),_0x4a87db;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d5fc2=_0x1a70;(function(_0x1bfcc0,_0x572f8a){const _0x2cba39=_0x1a70,_0x46de66=_0x1bfcc0();while(!![]){try{const _0x292d4d=-parseInt(_0x2cba39(0x12e))/0x1*(-parseInt(_0x2cba39(0x129))/0x2)+-parseInt(_0x2cba39(0x135))/0x3*(-parseInt(_0x2cba39(0x14f))/0x4)+-parseInt(_0x2cba39(0x11c))/0x5*(-parseInt(_0x2cba39(0x108))/0x6)+-parseInt(_0x2cba39(0x127))/0x7+-parseInt(_0x2cba39(0x12b))/0x8*(-parseInt(_0x2cba39(0x13f))/0x9)+parseInt(_0x2cba39(0xfb))/0xa*(-parseInt(_0x2cba39(0x106))/0xb)+parseInt(_0x2cba39(0x146))/0xc;if(_0x292d4d===_0x572f8a)break;else _0x46de66['push'](_0x46de66['shift']());}catch(_0x1bc46e){_0x46de66['push'](_0x46de66['shift']());}}}(_0x45ba,0xa7283));import{getTranslation as _0x5818f8}from'../../utils/common-translations.js';import{default as _0x51a0d5}from'./basesuggestionthreadview.js';import{ButtonView as _0x37bea9}from'ckeditor5/src/ui.js';import{icons as _0x581c43}from'ckeditor5/src/core.js';import{trimHtml as _0x1e4e9a,UserView as _0x401c5a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x51a0d5{constructor(_0x2d1e23,_0x342743,_0x12b613,_0x1dc390){const _0x23049a=_0x1a70;super(_0x2d1e23,_0x342743,_0x12b613,_0x1dc390),this[_0x23049a(0x11a)](_0x23049a(0x123),''),this[_0x23049a(0x13d)](_0x23049a(0x123))['to'](this,_0x23049a(0x131),_0x21a357=>_0x21a357&&_0x21a357[0x0]?_0x21a357[0x0][_0x23049a(0x123)]:''),this[_0x23049a(0x13d)](_0x23049a(0x130))['to'](this,_0x23049a(0x131),this,_0x23049a(0x119),(_0x410328,_0x3bf625)=>{const _0x288cea=_0x23049a;let _0x2ffb57='';for(const _0x1a3c5b of _0x410328)_0x2ffb57+=_0x288cea(0x158)+ds(_0x1a3c5b[_0x288cea(0x122)],_0x1a3c5b[_0x288cea(0x104)])+_0x288cea(0x102);return _0x3bf625?_0x2ffb57:_0x1e4e9a(_0x2ffb57,{'limit':0x8c});}),this[_0x23049a(0x144)]=null,this[_0x23049a(0x10a)]=this[_0x23049a(0x150)](_0x5818f8(_0x2d1e23,_0x23049a(0xf9)),_0x581c43[_0x23049a(0x11e)],_0x23049a(0x11f),_0x23049a(0xf5),'sw'),this[_0x23049a(0x10a)][_0x23049a(0x13d)](_0x23049a(0x121))['to'](this,_0x23049a(0x10e)),this[_0x23049a(0x147)]=this[_0x23049a(0x150)](_0x5818f8(_0x2d1e23,_0x23049a(0x113)),_0x581c43[_0x23049a(0x114)],_0x23049a(0xf7),_0x23049a(0x142),'sw'),this[_0x23049a(0x147)][_0x23049a(0x13d)](_0x23049a(0x121))['to'](this,_0x23049a(0x138)),this[_0x23049a(0xfa)]=new _0x401c5a(_0x2d1e23,this[_0x23049a(0x14c)][_0x23049a(0x134)],this[_0x23049a(0x109)]()),this[_0x23049a(0xfa)][_0x23049a(0x125)]({'attributes':{'class':[_0x23049a(0x12c),_0x23049a(0x15e)]}}),this[_0x23049a(0xf6)](this[_0x23049a(0x13e)]());}[_0x2d5fc2(0x13e)](){const _0x2f12b8=_0x2d5fc2,_0x15c849=this[_0x2f12b8(0x116)],_0x5706c5=[{'tag':_0x2f12b8(0x149),'attributes':{'class':[_0x2f12b8(0x118),_0x2f12b8(0x112)]},'children':[{'tag':_0x2f12b8(0x141),'children':[{'text':this[_0x2f12b8(0xfa)][_0x2f12b8(0x165)]}],'attributes':{'class':[_0x2f12b8(0x143),_0x2f12b8(0x13a)]}},{'tag':_0x2f12b8(0x15b),'attributes':{'datetime':_0x15c849['to'](_0x2f12b8(0x15f)),'class':[_0x2f12b8(0x157),_0x2f12b8(0xfd)]},'children':[{'text':_0x15c849['to'](_0x2f12b8(0x15f),_0x51f370=>this[_0x2f12b8(0x160)][_0x2f12b8(0x128)](_0x51f370))}]}]},{'tag':_0x2f12b8(0x149),'attributes':{'class':[_0x2f12b8(0x15d),_0x2f12b8(0x133)]},'children':[this[_0x2f12b8(0x10a)],this[_0x2f12b8(0x147)]]},{'tag':_0x2f12b8(0x149),'attributes':{'class':[_0x2f12b8(0x115)]}}];this[_0x2f12b8(0x14c)][_0x2f12b8(0x124)]&&_0x5706c5[_0x2f12b8(0x156)]({'tag':_0x2f12b8(0x149),'attributes':{'class':[_0x2f12b8(0x161)]},'children':[{'text':this[_0x2f12b8(0x101)]()}]});const _0x4a0d8a={'tag':_0x2f12b8(0x149),'attributes':{'class':[_0x2f12b8(0x136),_0x15c849['if'](_0x2f12b8(0x119),_0x2f12b8(0x126)),_0x15c849['to'](_0x2f12b8(0x123),_0x35a869=>_0x2f12b8(0x140)+_0x35a869),this[_0x2f12b8(0x160)][_0x2f12b8(0xff)]&&_0x2f12b8(0xfc)],'data-suggestion-id':this[_0x2f12b8(0x14c)]['id'],'data-thread-id':this[_0x2f12b8(0x14c)][_0x2f12b8(0x139)]['id'],'data-author-id':this[_0x2f12b8(0x14c)][_0x2f12b8(0x134)]['id'],'tabindex':-0x1},'children':[{'tag':_0x2f12b8(0x149),'attributes':{'class':[_0x2f12b8(0x11b),_0x2f12b8(0x164)]},'children':[this[_0x2f12b8(0xfa)],{'tag':_0x2f12b8(0x149),'attributes':{'class':[_0x2f12b8(0x12a),_0x2f12b8(0x12d)]},'children':_0x5706c5}]}]};return this[_0x2f12b8(0x117)]&&this[_0x2f12b8(0x153)]&&(_0x4a0d8a[_0x2f12b8(0xfe)][_0x2f12b8(0x156)](this[_0x2f12b8(0x117)],this[_0x2f12b8(0x153)]),this[_0x2f12b8(0x117)][_0x2f12b8(0x15c)](_0x2f12b8(0x10f))['to'](this),this[_0x2f12b8(0x117)][_0x2f12b8(0x15c)](_0x2f12b8(0x12f))['to'](this),this[_0x2f12b8(0x153)][_0x2f12b8(0x15c)](_0x2f12b8(0x10f))['to'](this),this[_0x2f12b8(0x153)][_0x2f12b8(0x15c)](_0x2f12b8(0x12f))['to'](this)),_0x4a0d8a;}[_0x2d5fc2(0x103)](){const _0xa0a5a7=_0x2d5fc2;super[_0xa0a5a7(0x103)](),this[_0xa0a5a7(0x144)]=this[_0xa0a5a7(0x14b)][_0xa0a5a7(0x162)](_0xa0a5a7(0x154)),this[_0xa0a5a7(0x144)][_0xa0a5a7(0x145)]=this[_0xa0a5a7(0x130)],this['on'](_0xa0a5a7(0x14d),(_0x44b56b,_0x5e8734,_0x2052bd)=>{const _0x3633c5=_0xa0a5a7;this[_0x3633c5(0x144)][_0x3633c5(0x145)]=_0x2052bd;});}[_0x2d5fc2(0x150)](_0x6d51f8,_0x685465,_0x431042,_0x33f656,_0x3754eb){const _0x2b7181=_0x2d5fc2,_0x340ecf=new _0x37bea9(this[_0x2b7181(0x155)]);return _0x340ecf[_0x2b7181(0x11a)]({'label':_0x6d51f8,'icon':_0x685465,'tooltip':!0x0,'tooltipPosition':_0x3754eb}),_0x340ecf[_0x2b7181(0x125)]({'attributes':{'class':_0x431042}}),_0x340ecf['on'](_0x2b7181(0x14e),()=>{const _0x287d36=_0x2b7181;this[_0x287d36(0x105)](_0x33f656,this[_0x287d36(0x14c)]['id']);}),_0x340ecf;}[_0x2d5fc2(0x101)](){const _0x513d8a=_0x2d5fc2;return _0x513d8a(0x10b)===this[_0x513d8a(0x14c)][_0x513d8a(0x107)][_0x513d8a(0x10c)][_0x513d8a(0x163)]?_0x5818f8(this[_0x513d8a(0x155)],_0x513d8a(0x159)):_0x5818f8(this[_0x513d8a(0x155)],_0x513d8a(0x15a));}[_0x2d5fc2(0x109)](){const _0x8e2ffb=_0x2d5fc2;return this[_0x8e2ffb(0x14c)][_0x8e2ffb(0x124)]?_0x8e2ffb(0x10b)===this[_0x8e2ffb(0x14c)][_0x8e2ffb(0x107)][_0x8e2ffb(0x10c)][_0x8e2ffb(0x163)]?_0x5818f8(this[_0x8e2ffb(0x155)],_0x8e2ffb(0xf8),this[_0x8e2ffb(0x14c)][_0x8e2ffb(0x10d)][_0x8e2ffb(0x165)]):_0x5818f8(this[_0x8e2ffb(0x155)],_0x8e2ffb(0x132),this[_0x8e2ffb(0x14c)][_0x8e2ffb(0x10d)][_0x8e2ffb(0x165)]):null;}}function _0x1a70(_0x40a6c2,_0xb4da86){const _0x45bac0=_0x45ba();return _0x1a70=function(_0x1a70ba,_0x389e48){_0x1a70ba=_0x1a70ba-0xf5;let _0x1f8e44=_0x45bac0[_0x1a70ba];return _0x1f8e44;},_0x1a70(_0x40a6c2,_0xb4da86);}function _0x45ba(){const _0x50a6b8=['ck-annotation__main','5CtsLzk','editorDestroyed','description','descriptionParts','EXTERNAL_AVATAR','ck-annotation__actions','author','3LXUVug','ck-suggestion-wrapper','createElement','canDiscard','commentThread','ck-annotation__info-name','join','value','bind','getTemplate','8019hIgvwD','ck-suggestion-','span','discardSuggestion','ck-suggestion__info-name','_descriptionElement','innerHTML','13630908RuhmAT','discardButton','\x22\x20title=\x22','div','\x22></span>','element','_model','change:description','execute','707188PqFPFQ','_createButton','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','map','commentThreadInputView','.ck-annotation__content-wrapper','locale','push','ck-comment__info-time','<p>','EXTERNAL_IMPORT_WORD_SUGGESTION','EXTERNAL_SUGGESTION','time','delegate','ck-suggestion__actions','ck-annotation__user','authoredAt','_config','ck-comment__external','querySelector','source','ck-annotation','name','acceptSuggestion','setTemplate','ck-suggestion--discard','EXTERNAL_IMPORT_WORD_AVATAR','Accept\x20suggestion','userView','2920KUedjn','ck-suggestion--disabled-comments','ck-annotation__info-time','children','disableComments','title','getExternalSuggestionNote','</p>','render','color','fire','20273ppscsb','attributes','549078KohaCV','getUserViewNotificationText','acceptButton','importWord','@external','creator','canAccept','editorReady','innerText','<span\x20class=\x22ck-suggestion-type\x22>','ck-annotation__info','Discard\x20suggestion','cancel','ck-annotation__content-wrapper','bindTemplate','commentsListView','ck-suggestion__info','isActive','set','ck-suggestion','10KliaGX','split','check','ck-suggestion--accept','</span>','isEnabled','content','type','isExternal','extendTemplate','ck-suggestion-wrapper--active','7897631exXKsX','formatDateTime','200642dWGvTj','ck-suggestion__main','3176fcEdfH','ck-suggestion__user'];_0x45ba=function(){return _0x50a6b8;};return _0x45ba();}function ds(_0x23c703,_0x580f39){const _0x4fdfa6=_0x2d5fc2;let _0x347af6='';return _0x347af6+=_0x23c703[_0x4fdfa6(0x11d)]('*')[_0x4fdfa6(0x152)]((_0x4218c6,_0x464b0e)=>_0x464b0e%0x2!=0x0?_0x4fdfa6(0x111)+us(_0x4218c6)+_0x4fdfa6(0x120):us(_0x4218c6))[_0x4fdfa6(0x13b)](''),_0x580f39&&(_0x347af6+=_0x4fdfa6(0x151)+_0x580f39[_0x4fdfa6(0x13c)]+_0x4fdfa6(0x148)+_0x580f39[_0x4fdfa6(0x100)]+_0x4fdfa6(0x14a)),_0x347af6;}function us(_0x1f8ea8){const _0x1a38df=_0x2d5fc2,_0x4295bf=document[_0x1a38df(0x137)](_0x1a38df(0x141));return _0x4295bf[_0x1a38df(0x110)]=_0x1f8ea8,_0x4295bf[_0x1a38df(0x145)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xad1c52,_0x34b275,_0x52c0ab){const t=_0xad1c52['t'];switch(_0x34b275){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',_0x52c0ab);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x52c0ab);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x52c0ab);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x52c0ab);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x52c0ab);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',_0x52c0ab);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x52c0ab);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',_0x52c0ab);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x52c0ab);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x52c0ab);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x52c0ab);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x52c0ab);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x52c0ab);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x52c0ab);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x52c0ab);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x52c0ab);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x52c0ab);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x52c0ab);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x52c0ab);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x52c0ab);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x52c0ab);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x52c0ab);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x52c0ab);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x52c0ab);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x52c0ab);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x52c0ab);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x52c0ab);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x52c0ab);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x52c0ab);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x52c0ab);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'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x52c0ab);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'},_0x52c0ab);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x52c0ab);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x52c0ab);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'},_0x52c0ab);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'},_0x52c0ab);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 _0x34b275;}}
|
|
23
|
+
export function getTranslation(_0x42439a,_0x362848,_0x5b2382){const t=_0x42439a['t'];switch(_0x362848){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',_0x5b2382);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5b2382);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5b2382);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5b2382);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5b2382);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',_0x5b2382);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5b2382);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',_0x5b2382);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5b2382);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5b2382);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5b2382);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5b2382);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5b2382);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5b2382);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5b2382);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5b2382);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5b2382);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5b2382);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5b2382);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5b2382);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5b2382);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5b2382);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5b2382);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'},_0x5b2382);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5b2382);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5b2382);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5b2382);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5b2382);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5b2382);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'},_0x5b2382);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5b2382);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5b2382);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5b2382);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5b2382);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'},_0x5b2382);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5b2382);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'},_0x5b2382);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'},_0x5b2382);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5b2382);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'},_0x5b2382);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5b2382);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'},_0x5b2382);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5b2382);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5b2382);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'},_0x5b2382);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'},_0x5b2382);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 _0x362848;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4417cf,_0x175a84){const _0x182ce1=_0x27c3,_0x43fbe9=_0x4417cf();while(!![]){try{const _0x9fba22=-parseInt(_0x182ce1(0x1cf))/0x1*(parseInt(_0x182ce1(0x1ee))/0x2)+-parseInt(_0x182ce1(0x1d4))/0x3*(parseInt(_0x182ce1(0x1f6))/0x4)+parseInt(_0x182ce1(0x1f4))/0x5*(parseInt(_0x182ce1(0x1dc))/0x6)+-parseInt(_0x182ce1(0x1d3))/0x7+parseInt(_0x182ce1(0x1e0))/0x8+-parseInt(_0x182ce1(0x1dd))/0x9*(-parseInt(_0x182ce1(0x1de))/0xa)+parseInt(_0x182ce1(0x1f3))/0xb*(-parseInt(_0x182ce1(0x1ec))/0xc);if(_0x9fba22===_0x175a84)break;else _0x43fbe9['push'](_0x43fbe9['shift']());}catch(_0x4daf01){_0x43fbe9['push'](_0x43fbe9['shift']());}}}(_0x1f15,0x1a82c));export function normalizeDescription(_0x36e579){const _0x834d00=_0x27c3;return Array[_0x834d00(0x1db)](_0x36e579)||(_0x36e579=[_0x36e579]),_0x36e579[_0x834d00(0x1eb)](_0x56a9c3=>{const _0x208860=_0x834d00,_0x51caee=_0x56a9c3[_0x208860(0x1e7)][_0x208860(0x1d0)](/\*/g,''),_0x3bc23c=_0x56a9c3[_0x208860(0x1da)]?_0x208860(0x1ef)+_0x56a9c3[_0x208860(0x1da)][_0x208860(0x1e3)]+']':'';return'['+_0x56a9c3[_0x208860(0x1f5)]+']\x20'+_0x51caee+_0x3bc23c;})[_0x834d00(0x1e2)](';\x20');}function _0x27c3(_0x22e6e3,_0x7e1539){const _0x1f158d=_0x1f15();return _0x27c3=function(_0x27c3e0,_0x266c04){_0x27c3e0=_0x27c3e0-0x1cf;let _0x642abf=_0x1f158d[_0x27c3e0];return _0x642abf;},_0x27c3(_0x22e6e3,_0x7e1539);}export function sortSuggestions(_0x1fb475){const _0x41b0b9=_0x27c3;return _0x1fb475[_0x41b0b9(0x1ea)]((_0x1d0da1,_0x19460a)=>_0x41b0b9(0x1d1)==_0x1d0da1[_0x41b0b9(0x1f5)]&&_0x41b0b9(0x1d1)!=_0x19460a[_0x41b0b9(0x1f5)]?-0x1:_0x41b0b9(0x1d1)!=_0x1d0da1[_0x41b0b9(0x1f5)]&&_0x41b0b9(0x1d1)==_0x19460a[_0x41b0b9(0x1f5)]?0x1:0x0);}export function getSelectedSuggestions(_0x200321,_0xba2ecd){const _0x2cb3c9=_0x27c3,_0x2ca1c9=Array[_0x2cb3c9(0x1e9)](_0x200321[_0x2cb3c9(0x1e1)]()),_0x5bc5af=new Set();for(const _0x19150a of _0xba2ecd)if(_0x19150a[_0x2cb3c9(0x1e4)]){for(const _0x264073 of _0x2ca1c9)for(const _0x3c2c67 of _0x19150a[_0x2cb3c9(0x1e1)]())(_0x264073[_0x2cb3c9(0x1d6)](_0x3c2c67)||_0x200321[_0x2cb3c9(0x1d9)]&&!_0x19150a[_0x2cb3c9(0x1d5)]&&_0x19150a[_0x2cb3c9(0x1e5)]&&_0x3c2c67[_0x2cb3c9(0x1d8)][_0x2cb3c9(0x1fa)](_0x264073[_0x2cb3c9(0x1e6)]))&&_0x5bc5af[_0x2cb3c9(0x1df)](_0x19150a);}return _0x5bc5af;}export function getRangesOfBlockGroups(_0x183302,_0xedcb7b){const _0x16fbaf=_0x27c3;let _0x1a11d2,_0x3def89=0x0;const _0xbb1fc3=[],_0x468f71=_0xedcb7b[_0x16fbaf(0x1f2)];for(;_0x3def89<_0x183302[_0x16fbaf(0x1f1)];){const _0x77cd15=_0x183302[_0x3def89],_0x327cd0=_0x183302[_0x3def89+0x1];_0x1a11d2||(_0x1a11d2=_0xedcb7b[_0x16fbaf(0x1d7)](_0x77cd15)),co(_0xedcb7b,_0x77cd15,_0x327cd0)||(_0xbb1fc3[_0x16fbaf(0x1f9)](_0xedcb7b[_0x16fbaf(0x1d2)](_0x1a11d2,_0x468f71[_0x16fbaf(0x1f7)](_0x77cd15)?_0xedcb7b[_0x16fbaf(0x1f0)](_0x77cd15):_0xedcb7b[_0x16fbaf(0x1f8)](_0x77cd15,_0x16fbaf(0x1d8)))),_0x1a11d2=null),_0x3def89++;}return _0xbb1fc3;}function co(_0x3af84b,_0x585efc,_0x5b6515){const _0x174437=_0x27c3;if(!_0x5b6515)return!0x1;const _0x513b9a=_0x3af84b[_0x174437(0x1f0)](_0x585efc),_0x5063ab=_0x3af84b[_0x174437(0x1d7)](_0x5b6515);return _0x513b9a[_0x174437(0x1fa)](_0x5063ab);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x1f15(){const _0x5ce127=['isIntersecting','createPositionBefore','end','isCollapsed','color','isArray','1056534JAutBQ','27pVnFqC','217240pXzDyS','add','897240OLpCaN','getRanges','join','value','isInContent','next','start','content','splice','from','sort','map','24rEHxKd','execute','237030nDZGhL','\x20[color\x20','createPositionAfter','length','schema','55627tMeUsn','5rkIPqo','type','1300HJpVck','isObject','createPositionAt','push','isTouching','change','1aCuhNm','replace','deletion','createRange','736043cKYIqE','102UwOBPT','isMultiRange'];_0x1f15=function(){return _0x5ce127;};return _0x1f15();}export function executeCommandForSuggestions(_0x416972,_0x2b57b2,_0xf64bf7){const _0x1d7eb6=_0x27c3;for(;_0xf64bf7[_0x1d7eb6(0x1f1)];){const _0x5aa86c=_0xf64bf7[_0x1d7eb6(0x1e8)](0x0,0x64);_0x416972[_0x1d7eb6(0x1fb)](()=>{const _0x4cb626=_0x1d7eb6;for(const _0x450069 of _0x5aa86c)_0x450069[_0x4cb626(0x1e4)]&&_0x2b57b2[_0x4cb626(0x1ed)](_0x450069['id']);});}}
|