@ckeditor/ckeditor5-track-changes 42.0.0-alpha.10 → 42.0.0-alpha.12
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 _0x1cd346=_0x473a;(function(_0x1ff7e8,_0x46614c){const _0x16a11c=_0x473a,_0x3867c3=_0x1ff7e8();while(!![]){try{const _0x227036=parseInt(_0x16a11c(0x1ec))/0x1+parseInt(_0x16a11c(0x21e))/0x2*(-parseInt(_0x16a11c(0x1c7))/0x3)+-parseInt(_0x16a11c(0x1e2))/0x4+-parseInt(_0x16a11c(0x1d2))/0x5+parseInt(_0x16a11c(0x19a))/0x6*(parseInt(_0x16a11c(0x20b))/0x7)+parseInt(_0x16a11c(0x1a6))/0x8+parseInt(_0x16a11c(0x1fa))/0x9;if(_0x227036===_0x46614c)break;else _0x3867c3['push'](_0x3867c3['shift']());}catch(_0xc29698){_0x3867c3['push'](_0x3867c3['shift']());}}}(_0x55d7,0x7005f));function _0x55d7(){const _0x184831=['config','_bindAnnotationToEditors','some','getMarkerNames','acceptAllSuggestions','execute','listenTo','getJoined','getSuggestion','editing','createAnnotation','Accept\x20all\x20suggestions','menu','init','previous','422476drXfsQ','actionView','commandName','separator','delete','suggestionLoaded','commands','panelView','define','SuggestionThreadView','684212NeIwnY','registerAnnotation','source','CommentsRepository','type','commentThread','unbind','comments','Discard\x20all\x20selected\x20suggestions','clear','locale','suggestionUnloaded','_handleControllerBuffer','TrackChangesEditing','478764LOfQZD','buttonView','push','Discard\x20all\x20suggestions','hasSuggestion','set','head','view','getFirstRange','discardButton','descriptionParts','get','Accept\x20all\x20selected\x20suggestions','menuitemcheckbox','trackChanges','addSourceCollector','refreshSelectedViews','355586IMvaNm','Annotations','lowest','getDescriptions','_disableComments','getAllAdjacentSuggestions','change:previous','addComment','mainView','_updateController','button','_unbindEditors','activeMarkers','children','suggestionChanged','CommentView','_createMenuBarMenu','_handleSuggestionControllerDelayed','switchbutton','14KYZOOD','focus','acceptButton','componentFactory','_createToolbarButton','from','reduce','getByInnerView','filter','getRanges','add','isInContent','66USfouQ','change:activeAnnotations','delegate','size','plugins','isDirty','_suggestionToController','isEnabled','trackChanges.disableComments','discardSelectedSuggestions','arrowView','createCommentThreadController','2082864fiuFEQ','model','editor','_viewToController','isMultiRange','innerView','suggestion-','menuitem','createAnnotationView','comments.maxCommentCharsWhenCollapsed','toMany','_refreshActiveMarkers','CommentsUI','comments.editorConfig','_initializeController','pluginName','keys','EditorAnnotations','values','descriptionFactory','_annotationViews','activeAnnotations','TrackChangesUI','bind','Track\x20changes','remove','value','isOn','getMarkers','menuBar:trackChanges','items','_destroyController','_addUIComponentsToFactory','75774uljlin','comments.maxThreadTotalWeight','discardAllSuggestions','stopListening','trackChanges.SuggestionThreadView','destroy','acceptSelectedSuggestions','has','length','comments.maxCommentsWhenCollapsed','requires','4076360NoBndT'];_0x55d7=function(){return _0x184831;};return _0x55d7();}import{Plugin as _0x18ac5e}from'ckeditor5/src/core.js';import{Collection as _0x222bef}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3cfb97,createDropdown as _0x196505,ListSeparatorView as _0x59c66f,MenuBarMenuView as _0x44b701,MenuBarMenuListView as _0x5b6ffd,MenuBarMenuListItemView as _0xe8436b,MenuBarMenuListItemButtonView as _0x42c714,SplitButtonView as _0x3271d6,ViewModel as _0x41d6e4}from'ckeditor5/src/ui.js';import{Users as _0x56c672,getDateTimeFormatter as _0x28a19e,getAllMarkersDomElementsSorted as _0x1ff541}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xe5ac93 from'./trackchangesediting.js';import _0x2e99b6 from'./ui/suggestioncontroller.js';import _0xfc306e from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1518f6}from'./utils/common-translations.js';import _0x4e066e from'../theme/icons/track-changes.svg';function _0x473a(_0x10cae3,_0x4f7b3e){const _0x55d7fc=_0x55d7();return _0x473a=function(_0x473a27,_0x142efa){_0x473a27=_0x473a27-0x195;let _0x5c8193=_0x55d7fc[_0x473a27];return _0x5c8193;},_0x473a(_0x10cae3,_0x4f7b3e);}export default class d extends _0x18ac5e{static get[_0x1cd346(0x1d1)](){const _0x5e14db=_0x1cd346;return[_0xe5ac93,_0x56c672,_0x5e14db(0x1ef),_0x5e14db(0x20c),_0x5e14db(0x1b7)];}static get[_0x1cd346(0x1b5)](){const _0x1f5259=_0x1cd346;return _0x1f5259(0x1bc);}constructor(_0x18513b){const _0x510c82=_0x1cd346;super(_0x18513b),this[_0x510c82(0x1a0)]=new Map(),this[_0x510c82(0x1a9)]=new Map(),this[_0x510c82(0x1ba)]=new Map(),this[_0x510c82(0x1f8)]=new Map();const _0x5f3628=this[_0x510c82(0x1a8)][_0x510c82(0x1d3)];_0x5f3628[_0x510c82(0x1ea)](_0x510c82(0x1cb),_0xfc306e),_0x5f3628[_0x510c82(0x1ea)](_0x510c82(0x1a2),!0x1),this[_0x510c82(0x20f)]=_0x5f3628[_0x510c82(0x205)](_0x510c82(0x1a2));}[_0x1cd346(0x21c)](_0x16794e,_0x175cee){const _0xc000b=_0x1cd346;0x0===this[_0xc000b(0x1f8)][_0xc000b(0x19d)]&&setTimeout(()=>{const _0x1482f4=_0xc000b;for(const [_0x2748b4,_0x43c77d]of this[_0x1482f4(0x1f8)]){const _0x39ce7e=this[_0x1482f4(0x1a0)][_0x1482f4(0x1ce)](_0x2748b4);_0x39ce7e||_0x43c77d?_0x39ce7e&&_0x43c77d&&this[_0x1482f4(0x1c5)](_0x2748b4):this[_0x1482f4(0x1b4)](_0x2748b4);}this[_0x1482f4(0x1f8)][_0x1482f4(0x1f5)](),this[_0x1482f4(0x1a8)][_0x1482f4(0x19e)][_0x1482f4(0x205)](_0x1482f4(0x1b7))[_0x1482f4(0x20a)](),this[_0x1482f4(0x1b1)]();},0xa),this[_0xc000b(0x1f8)][_0xc000b(0x1ff)](_0x16794e,_0x175cee);}[_0x1cd346(0x1e0)](){const _0x48816a=_0x1cd346,_0x29d531=this[_0x48816a(0x1a8)],_0x5f03f6=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1f9)),_0x10c7da=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x20c)),_0x5c90c2=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1b7)),_0x20a2fb=_0x29d531[_0x48816a(0x19e)][_0x48816a(0x205)](_0x48816a(0x1ef));this[_0x48816a(0x1c6)](),_0x5c90c2[_0x48816a(0x209)](()=>{const _0x1ea726=_0x48816a,_0x2cf873=[];for(const [_0x18c28f,_0x418303]of Array[_0x1ea726(0x223)](this[_0x1ea726(0x1a0)])){const _0x7128a=_0x18c28f[_0x1ea726(0x210)](),_0x1b7a63=[];for(const _0x809ac2 of _0x7128a){if(!_0x809ac2[_0x1ea726(0x199)])continue;if(_0x809ac2[_0x1ea726(0x1aa)]){_0x1b7a63[_0x1ea726(0x1fc)](..._0x809ac2[_0x1ea726(0x197)]());continue;}const _0x30ae41=_0x809ac2[_0x1ea726(0x202)]();if(_0x1b7a63[_0x1ea726(0x1cf)]>0x0){const _0x19e8ca=_0x1b7a63[0x0][_0x1ea726(0x1da)](_0x30ae41);if(_0x19e8ca){_0x1b7a63[0x0]=_0x19e8ca;continue;}}_0x1b7a63[_0x1ea726(0x1fc)](_0x30ae41);}_0x2cf873[_0x1ea726(0x1fc)]([_0x418303[_0x1ea726(0x201)],_0x1b7a63]);}return _0x2cf873;}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x1e7),(_0x207418,_0x4cf90a)=>{const _0x47ffb5=_0x48816a;this[_0x47ffb5(0x1d9)](_0x4cf90a,_0x47ffb5(0x211),(_0x40029f,_0x52d791,_0x25a441,_0x4936d5)=>{const _0xaf3020=_0x47ffb5;_0x4cf90a[_0xaf3020(0x199)]&&(null==_0x25a441?(this[_0xaf3020(0x214)](_0x4936d5[_0xaf3020(0x200)]),this[_0xaf3020(0x21c)](_0x4cf90a,!0x1)):(this[_0xaf3020(0x214)](_0x25a441[_0xaf3020(0x200)]),null==_0x4936d5&&this[_0xaf3020(0x21c)](_0x4cf90a,!0x0)));}),null!==_0x4cf90a[_0x47ffb5(0x1e1)]?this[_0x47ffb5(0x214)](_0x4cf90a[_0x47ffb5(0x200)]):this[_0x47ffb5(0x21c)](_0x4cf90a,!0x1);}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x1f7),(_0x148b9a,_0x207730,_0x629d9d)=>{const _0x1c1c20=_0x48816a;this[_0x1c1c20(0x1ca)](_0x207730,_0x1c1c20(0x211)),this[_0x1c1c20(0x1f8)][_0x1c1c20(0x1e6)](_0x207730),this[_0x1c1c20(0x1a0)][_0x1c1c20(0x1ce)](_0x207730)&&this[_0x1c1c20(0x1c5)](_0x207730),_0x629d9d&&this[_0x1c1c20(0x214)](_0x629d9d[_0x1c1c20(0x200)]);}),this[_0x48816a(0x1d9)](_0x5f03f6,_0x48816a(0x219),(_0x5203fe,_0x32a573)=>{const _0x10c37c=_0x48816a;this[_0x10c37c(0x214)](_0x32a573);}),this[_0x48816a(0x1d9)](_0x10c7da,_0x48816a(0x19b),()=>{const _0x3ccc03=_0x48816a;this[_0x3ccc03(0x1b1)]();}),this[_0x48816a(0x1d9)](_0x20a2fb,_0x48816a(0x212),(_0x27b076,{threadId:_0x2ac85c,isFromAdapter:_0xe818cf})=>{const _0x1b2b06=_0x48816a;if(_0xe818cf||!_0x5f03f6[_0x1b2b06(0x1fe)](_0x2ac85c))return;const _0x1f18dc=_0x5f03f6[_0x1b2b06(0x1db)](_0x2ac85c);this[_0x1b2b06(0x1a0)][_0x1b2b06(0x205)](_0x1f18dc)[_0x1b2b06(0x201)][_0x1b2b06(0x21f)]();},{'priority':_0x48816a(0x20d)});}[_0x1cd346(0x1b1)](){const _0x4c09c1=_0x1cd346,_0x4095de=this[_0x4c09c1(0x1a8)][_0x4c09c1(0x19e)][_0x4c09c1(0x205)](_0x4c09c1(0x20c)),_0x29584b=this[_0x4c09c1(0x1a8)][_0x4c09c1(0x19e)][_0x4c09c1(0x205)](_0x4c09c1(0x1f9)),_0x4995e1=Array[_0x4c09c1(0x223)](_0x4095de[_0x4c09c1(0x1bb)],_0x3bf32c=>_0x3bf32c[_0x4c09c1(0x1ab)])[_0x4c09c1(0x196)](_0x550cc8=>this[_0x4c09c1(0x1a9)][_0x4c09c1(0x1ce)](_0x550cc8)),_0x59aaa3=[];for(const _0x18e9a1 of _0x4995e1){const _0x3f3698=this[_0x4c09c1(0x1a9)][_0x4c09c1(0x205)](_0x18e9a1)[_0x4c09c1(0x1a7)][_0x4c09c1(0x210)]();_0x59aaa3[_0x4c09c1(0x1fc)](..._0x3f3698[_0x4c09c1(0x224)]((_0x43500c,_0x288eb5)=>[..._0x43500c,..._0x288eb5[_0x4c09c1(0x1d6)]()],[]));}_0x29584b[_0x4c09c1(0x217)]=_0x59aaa3;}[_0x1cd346(0x1c6)](){const _0x162f89=_0x1cd346,_0x57864b=this[_0x162f89(0x1a8)],_0x5d3010=_0x57864b[_0x162f89(0x1f6)],_0x1f292d=_0x1518f6(_0x5d3010,_0x162f89(0x1be)),_0x1bacc5=new _0x222bef([{'type':_0x162f89(0x21d),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1f292d,'commandName':_0x162f89(0x208),'role':_0x162f89(0x207)})},{'type':_0x162f89(0x1e5)},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1de)),'commandName':_0x162f89(0x1d7),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x206)),'commandName':_0x162f89(0x1cd),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1fd)),'commandName':_0x162f89(0x1c9),'role':_0x162f89(0x1ad)})},{'type':_0x162f89(0x215),'model':new _0x41d6e4({'withText':!0x0,'label':_0x1518f6(_0x5d3010,_0x162f89(0x1f4)),'commandName':_0x162f89(0x1a3),'role':_0x162f89(0x1ad)})}]);for(const _0x234be9 of _0x1bacc5)if(ae(_0x234be9)){const _0x53d75c=_0x57864b[_0x162f89(0x1e8)][_0x162f89(0x205)](_0x234be9[_0x162f89(0x1a7)][_0x162f89(0x1e4)]);_0x234be9[_0x162f89(0x1a7)][_0x162f89(0x1bd)](_0x162f89(0x1c1),_0x162f89(0x1a1))['to'](_0x53d75c,_0x162f89(0x1c0),_0x162f89(0x1a1));}_0x57864b['ui'][_0x162f89(0x221)][_0x162f89(0x198)](_0x162f89(0x208),_0x52a021=>this[_0x162f89(0x222)](_0x52a021,_0x1bacc5,_0x1f292d)),_0x57864b['ui'][_0x162f89(0x221)][_0x162f89(0x198)](_0x162f89(0x1c3),_0x2cb49c=>this[_0x162f89(0x21b)](_0x2cb49c,_0x1bacc5,_0x1f292d));}[_0x1cd346(0x222)](_0x3394e6,_0x28843a,_0x16a924){const _0x2a9a24=_0x1cd346,_0xd1c530=_0x196505(_0x3394e6,_0x3271d6),_0x4a6b30=this[_0x2a9a24(0x1a8)][_0x2a9a24(0x1e8)][_0x2a9a24(0x205)](_0x2a9a24(0x208));_0xd1c530[_0x2a9a24(0x1fb)][_0x2a9a24(0x1ff)]({'tooltip':_0x16a924,'label':_0x16a924,'icon':_0x4e066e}),_0xd1c530[_0x2a9a24(0x1fb)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1c1))['to'](_0x4a6b30,_0x2a9a24(0x1c0)),_0xd1c530[_0x2a9a24(0x1fb)]['on'](_0x2a9a24(0x1d8),()=>{const _0x48137a=_0x2a9a24;_0x4a6b30[_0x48137a(0x1d8)](),this[_0x48137a(0x1a8)][_0x48137a(0x1dc)][_0x48137a(0x201)][_0x48137a(0x21f)]();}),_0x3cfb97(_0xd1c530,_0x28843a,{'role':_0x2a9a24(0x1df)});const _0x56da68=[];for(const _0x5e6f3d of _0x28843a)ae(_0x5e6f3d)&&_0x56da68[_0x2a9a24(0x1fc)](this[_0x2a9a24(0x1a8)][_0x2a9a24(0x1e8)][_0x2a9a24(0x205)](_0x5e6f3d[_0x2a9a24(0x1a7)][_0x2a9a24(0x1e4)]));const _0x22db64=_0xd1c530[_0x2a9a24(0x1fb)];return _0x22db64[_0x2a9a24(0x1e3)][_0x2a9a24(0x1f2)](_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1a4)][_0x2a9a24(0x1f2)](_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1e3)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1a1))['to'](_0x4a6b30,_0x2a9a24(0x1a1)),_0x22db64[_0x2a9a24(0x1a4)][_0x2a9a24(0x1bd)](_0x2a9a24(0x1a1))[_0x2a9a24(0x1b0)](_0x56da68,_0x2a9a24(0x1a1),(..._0x40b397)=>_0x40b397[_0x2a9a24(0x1d5)](_0x4dc387=>_0x4dc387)),_0xd1c530['on'](_0x2a9a24(0x1d8),_0x40566c=>{const _0x2b04a8=_0x2a9a24;this[_0x2b04a8(0x1a8)][_0x2b04a8(0x1d8)](_0x40566c[_0x2b04a8(0x1ee)][_0x2b04a8(0x1e4)]),this[_0x2b04a8(0x1a8)][_0x2b04a8(0x1dc)][_0x2b04a8(0x201)][_0x2b04a8(0x21f)]();}),_0xd1c530;}[_0x1cd346(0x21b)](_0x1c8404,_0x556d61,_0x926b43){const _0x18a9e8=_0x1cd346,_0x22213d=new _0x44b701(_0x1c8404),_0x23285b=this[_0x18a9e8(0x1a8)][_0x18a9e8(0x1e8)][_0x18a9e8(0x205)](_0x18a9e8(0x208));_0x22213d[_0x18a9e8(0x1fb)][_0x18a9e8(0x1ff)]({'label':_0x926b43,'icon':_0x4e066e});const _0x102889=new _0x5b6ffd(_0x1c8404);for(const _0x110d61 of _0x556d61){if(_0x18a9e8(0x1e5)==_0x110d61[_0x18a9e8(0x1f0)]){_0x102889[_0x18a9e8(0x1c4)][_0x18a9e8(0x198)](new _0x59c66f(_0x1c8404));continue;}const _0x269905=new _0xe8436b(_0x1c8404,_0x22213d),_0x48151b=new _0x42c714(_0x1c8404),_0x235f90=_0x110d61[_0x18a9e8(0x1a7)];_0x48151b[_0x18a9e8(0x1bd)](...Object[_0x18a9e8(0x1b6)](_0x235f90))['to'](_0x235f90),_0x48151b[_0x18a9e8(0x19c)](_0x18a9e8(0x1d8))['to'](_0x22213d),_0x48151b['on'](_0x18a9e8(0x1d8),()=>{const _0x28e1af=_0x18a9e8;this[_0x28e1af(0x1a8)][_0x28e1af(0x1d8)](_0x235f90[_0x28e1af(0x1e4)]),this[_0x28e1af(0x1a8)][_0x28e1af(0x1dc)][_0x28e1af(0x201)][_0x28e1af(0x21f)]();}),_0x269905[_0x18a9e8(0x218)][_0x18a9e8(0x198)](_0x48151b),_0x102889[_0x18a9e8(0x1c4)][_0x18a9e8(0x198)](_0x269905);}return _0x22213d[_0x18a9e8(0x1bd)](_0x18a9e8(0x1a1))['to'](_0x23285b,_0x18a9e8(0x1a1)),_0x22213d[_0x18a9e8(0x1e9)][_0x18a9e8(0x218)][_0x18a9e8(0x198)](_0x102889),_0x22213d;}[_0x1cd346(0x1b4)](_0x43dee7){const _0x15df13=_0x1cd346,_0xdcd073=this[_0x15df13(0x1a8)],_0x3ef8a0=_0xdcd073[_0x15df13(0x1d3)],_0x49a117=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x20c)),_0x4b1c28=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1ef)),_0x2102a4=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1b7)),_0x5326c4=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x56c672)['me'],_0x33fc49=_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x208))[_0x15df13(0x1eb)],{CommentsListView:_0x417a38,CommentThreadInputView:_0x536cf4}=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1b2));let _0x2f0fe8,_0x465946;this[_0x15df13(0x1ba)][_0x15df13(0x1ce)](_0x43dee7['id'])?(_0x465946=this[_0x15df13(0x1ba)][_0x15df13(0x205)](_0x43dee7['id']),_0x2f0fe8=_0x465946[_0x15df13(0x213)]):(_0x2f0fe8=new _0x33fc49(_0xdcd073[_0x15df13(0x1f6)],_0x43dee7,_0x5326c4,{'disableComments':this[_0x15df13(0x20f)],'editorConfig':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1b3)),'maxCommentsWhenCollapsed':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1d0)),'maxThreadTotalWeight':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1c8)),'maxCommentCharsWhenCollapsed':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1af)),'formatDateTime':_0x28a19e(_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1f6))),'CommentView':_0x3ef8a0[_0x15df13(0x205)](_0x15df13(0x1f3))[_0x15df13(0x21a)],'CommentsListView':_0x417a38,'CommentThreadInputView':_0x536cf4}),_0x2f0fe8[_0x15df13(0x220)]['on'](_0x15df13(0x1d8),()=>{const _0x285423=_0x15df13;_0xdcd073[_0x285423(0x1dc)][_0x285423(0x201)][_0x285423(0x21f)]();}),_0x2f0fe8[_0x15df13(0x203)]['on'](_0x15df13(0x1d8),()=>{const _0x4f2a57=_0x15df13;_0xdcd073[_0x4f2a57(0x1dc)][_0x4f2a57(0x201)][_0x4f2a57(0x21f)]();}),_0x465946=_0x49a117[_0x15df13(0x1ae)](this[_0x15df13(0x1a8)][_0x15df13(0x1f6)],_0x2f0fe8),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x19f))['to'](_0x2f0fe8,_0x15df13(0x19f)),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x1cf))['to'](_0x2f0fe8),_0x465946[_0x15df13(0x1bd)](_0x15df13(0x1f0))['to'](_0x2f0fe8,_0x15df13(0x1f0),_0x122590=>_0x15df13(0x1ac)+_0x122590),this[_0x15df13(0x1ba)][_0x15df13(0x1ff)](_0x43dee7['id'],_0x465946));const _0x1446e2=_0x4b1c28[_0x15df13(0x1a5)](_0x43dee7[_0x15df13(0x1f1)],_0x2f0fe8),_0x4f62a4=new _0x2e99b6(_0xdcd073,_0x43dee7,_0x2f0fe8,_0x1446e2),_0x18d6be=_0x43dee7[_0x15df13(0x210)]()[_0x15df13(0x196)](_0x1472dd=>_0x1472dd[_0x15df13(0x199)]);_0x2f0fe8[_0x15df13(0x204)]=_0xdcd073[_0x15df13(0x19e)][_0x15df13(0x205)](_0x15df13(0x1f9))[_0x15df13(0x1b9)][_0x15df13(0x20e)](_0x18d6be),this[_0x15df13(0x1a0)][_0x15df13(0x1ff)](_0x43dee7,_0x4f62a4),this[_0x15df13(0x1a9)][_0x15df13(0x1ff)](_0x2f0fe8,_0x4f62a4);const _0x535198=_0x49a117[_0x15df13(0x1dd)]({'view':_0x465946,'target':()=>{const _0x24c5fb=_0x15df13,_0x13a12f=[],_0x3a8f9a=_0x43dee7[_0x24c5fb(0x210)]()[_0x24c5fb(0x196)](_0x1787fd=>_0x1787fd[_0x24c5fb(0x199)]);for(const _0x2c1396 of _0x3a8f9a)_0x13a12f[_0x24c5fb(0x1fc)](..._0x2c1396[_0x24c5fb(0x1c2)]());return _0x1ff541(_0xdcd073[_0x24c5fb(0x1dc)],_0x13a12f);},'type':()=>_0x15df13(0x1ac)+_0x4f62a4[_0x15df13(0x201)][_0x15df13(0x1f0)]});_0x4b1c28[_0x15df13(0x1d4)](_0x2f0fe8,_0x535198),_0x49a117[_0x15df13(0x198)](_0x535198),_0x2102a4[_0x15df13(0x1ed)](_0x535198);}[_0x1cd346(0x1c5)](_0x1cf994){const _0x4c4f61=_0x1cd346,_0x20fb39=this[_0x4c4f61(0x1a8)][_0x4c4f61(0x19e)][_0x4c4f61(0x205)](_0x4c4f61(0x1ef)),_0x717dc=this[_0x4c4f61(0x1a8)][_0x4c4f61(0x19e)][_0x4c4f61(0x205)](_0x4c4f61(0x20c)),_0x2d1cd8=this[_0x4c4f61(0x1a0)][_0x4c4f61(0x205)](_0x1cf994),_0x5836a8=_0x2d1cd8[_0x4c4f61(0x201)],_0x2017ef=_0x717dc[_0x4c4f61(0x195)](_0x5836a8);_0x20fb39[_0x4c4f61(0x216)](_0x5836a8),_0x2017ef&&_0x717dc[_0x4c4f61(0x1bf)](_0x2017ef),this[_0x4c4f61(0x1a0)][_0x4c4f61(0x1e6)](_0x1cf994),this[_0x4c4f61(0x1a9)][_0x4c4f61(0x1e6)](_0x5836a8),_0x2d1cd8[_0x4c4f61(0x1cc)]();}[_0x1cd346(0x214)](_0x1c248d){const _0xeb0fcd=_0x1cd346;if(!_0x1c248d[_0xeb0fcd(0x199)]||!this[_0xeb0fcd(0x1a0)][_0xeb0fcd(0x1ce)](_0x1c248d))return;const _0x18e87f=this[_0xeb0fcd(0x1a8)][_0xeb0fcd(0x19e)][_0xeb0fcd(0x205)](_0xeb0fcd(0x1f9)),_0x4d220b=this[_0xeb0fcd(0x1a0)][_0xeb0fcd(0x205)](_0x1c248d),_0x54a099=_0x1c248d[_0xeb0fcd(0x210)]();_0x4d220b[_0xeb0fcd(0x201)][_0xeb0fcd(0x204)]=_0x18e87f[_0xeb0fcd(0x1b9)][_0xeb0fcd(0x20e)](_0x54a099);}[_0x1cd346(0x1cc)](){const _0x299a07=_0x1cd346;for(const _0x5d3c59 of this[_0x299a07(0x1a0)][_0x299a07(0x1b6)]())this[_0x299a07(0x1c5)](_0x5d3c59);for(const _0x3e2460 of this[_0x299a07(0x1ba)][_0x299a07(0x1b8)]())_0x3e2460[_0x299a07(0x213)][_0x299a07(0x1cc)]();super[_0x299a07(0x1cc)]();}}function ae(_0xbec173){const _0xef76c1=_0x1cd346;return _0xef76c1(0x1a7)in _0xbec173;}
|
|
23
|
+
const _0x1c501d=_0x15fb;(function(_0x3c0279,_0x303533){const _0x492949=_0x15fb,_0x80ea44=_0x3c0279();while(!![]){try{const _0x11b375=-parseInt(_0x492949(0x179))/0x1+parseInt(_0x492949(0x192))/0x2+parseInt(_0x492949(0x178))/0x3+-parseInt(_0x492949(0x15c))/0x4*(parseInt(_0x492949(0x14b))/0x5)+parseInt(_0x492949(0x16c))/0x6*(-parseInt(_0x492949(0x16f))/0x7)+-parseInt(_0x492949(0x182))/0x8+parseInt(_0x492949(0x149))/0x9;if(_0x11b375===_0x303533)break;else _0x80ea44['push'](_0x80ea44['shift']());}catch(_0xb5cc53){_0x80ea44['push'](_0x80ea44['shift']());}}}(_0x140e,0xa7aba));import{Plugin as _0x1b7317}from'ckeditor5/src/core.js';import{Collection as _0x3c5d29}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x304493,createDropdown as _0xbf1a1c,ListSeparatorView as _0x184a38,MenuBarMenuView as _0x41effa,MenuBarMenuListView as _0x59397d,MenuBarMenuListItemView as _0x8fc52f,MenuBarMenuListItemButtonView as _0x3a7a3f,SplitButtonView as _0x14290a,ViewModel as _0x18b172}from'ckeditor5/src/ui.js';import{Users as _0x121a27,getDateTimeFormatter as _0x49d617,getAllMarkersDomElementsSorted as _0x1f3274}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x140e(){const _0x3a75cf=['actionView','unbind','Accept\x20all\x20suggestions','refreshSelectedViews','reduce','buttonView','init','suggestionLoaded','locale','acceptButton','TrackChangesEditing','_suggestionToController','execute','componentFactory','editor','suggestionUnloaded','mainView','source','_createMenuBarMenu','discardSelectedSuggestions','getSuggestion','commentThread','from','_unbindEditors','_annotationViews','isMultiRange','model','isDirty','isOn','separator','editing','view','size','clear','lowest','getFirstRange','bind','_bindAnnotationToEditors','toMany','change:previous','_addUIComponentsToFactory','getMarkers','children','value','Annotations','items','CommentsRepository','filter','type','commands','SuggestionThreadView','switchbutton','delegate','TrackChangesUI','comments','getDescriptions','discardButton','button','get','remove','_handleControllerBuffer','destroy','menuitemcheckbox','some','isEnabled','requires','trackChanges.SuggestionThreadView','registerAnnotation','Track\x20changes','CommentsUI','13973382SZVQyZ','activeMarkers','917075BfFeDL','add','has','menu','head','length','focus','panelView','_viewToController','getJoined','suggestion-','addSourceCollector','getMarkerNames','acceptSelectedSuggestions','plugins','define','comments.maxCommentsWhenCollapsed','4YRconm','delete','createAnnotation','Discard\x20all\x20suggestions','discardAllSuggestions','suggestionChanged','createCommentThreadController','addComment','stopListening','values','commandName','descriptionFactory','trackChanges','_destroyController','CommentView','descriptionParts','460074dGYeab','isInContent','Accept\x20all\x20selected\x20suggestions','14vHpcfx','pluginName','hasSuggestion','change:activeAnnotations','menuitem','set','trackChanges.disableComments','previous','EditorAnnotations','2339907eFGdhd','1269758mQsKuk','_createToolbarButton','comments.maxThreadTotalWeight','config','createAnnotationView','menuBar:trackChanges','_handleSuggestionControllerDelayed','_disableComments','comments.editorConfig','859496FsBVFD','acceptAllSuggestions','listenTo','Discard\x20all\x20selected\x20suggestions','keys','comments.maxCommentCharsWhenCollapsed','push','getRanges','_updateController','arrowView','activeAnnotations','getAllAdjacentSuggestions','getByInnerView','_initializeController','_refreshActiveMarkers','innerView','136358yjslLZ'];_0x140e=function(){return _0x3a75cf;};return _0x140e();}import _0x1ec88d from'./trackchangesediting.js';import _0x21e3e2 from'./ui/suggestioncontroller.js';import _0x406149 from'./ui/view/suggestionthreadview.js';function _0x15fb(_0x58f281,_0xe2537f){const _0x140e5f=_0x140e();return _0x15fb=function(_0x15fba2,_0x39f474){_0x15fba2=_0x15fba2-0x105;let _0x399465=_0x140e5f[_0x15fba2];return _0x399465;},_0x15fb(_0x58f281,_0xe2537f);}import{getTranslation as _0x4051d8}from'./utils/common-translations.js';import _0x17d4da from'../theme/icons/track-changes.svg';export default class d extends _0x1b7317{static get[_0x1c501d(0x144)](){const _0xc2b3f0=_0x1c501d;return[_0x1ec88d,_0x121a27,_0xc2b3f0(0x131),_0xc2b3f0(0x12f),_0xc2b3f0(0x177)];}static get[_0x1c501d(0x170)](){const _0x1a897e=_0x1c501d;return _0x1a897e(0x138);}constructor(_0x574237){const _0x4a045e=_0x1c501d;super(_0x574237),this[_0x4a045e(0x10e)]=new Map(),this[_0x4a045e(0x153)]=new Map(),this[_0x4a045e(0x11b)]=new Map(),this[_0x4a045e(0x13f)]=new Map();const _0x3918e8=this[_0x4a045e(0x111)][_0x4a045e(0x17c)];_0x3918e8[_0x4a045e(0x15a)](_0x4a045e(0x145),_0x406149),_0x3918e8[_0x4a045e(0x15a)](_0x4a045e(0x175),!0x1),this[_0x4a045e(0x180)]=_0x3918e8[_0x4a045e(0x13d)](_0x4a045e(0x175));}[_0x1c501d(0x17f)](_0x13f0e8,_0x235dec){const _0x5c8fde=_0x1c501d;0x0===this[_0x5c8fde(0x13f)][_0x5c8fde(0x123)]&&setTimeout(()=>{const _0x2f64d5=_0x5c8fde;for(const [_0x314760,_0x23c543]of this[_0x2f64d5(0x13f)]){const _0x5788f4=this[_0x2f64d5(0x10e)][_0x2f64d5(0x14d)](_0x314760);_0x5788f4||_0x23c543?_0x5788f4&&_0x23c543&&this[_0x2f64d5(0x169)](_0x314760):this[_0x2f64d5(0x18f)](_0x314760);}this[_0x2f64d5(0x13f)][_0x2f64d5(0x124)](),this[_0x2f64d5(0x111)][_0x2f64d5(0x159)][_0x2f64d5(0x13d)](_0x2f64d5(0x177))[_0x2f64d5(0x106)](),this[_0x2f64d5(0x190)]();},0xa),this[_0x5c8fde(0x13f)][_0x5c8fde(0x174)](_0x13f0e8,_0x235dec);}[_0x1c501d(0x109)](){const _0x27b2df=_0x1c501d,_0x3d7b3f=this[_0x27b2df(0x111)],_0x12e88e=_0x3d7b3f[_0x27b2df(0x159)][_0x27b2df(0x13d)](_0x27b2df(0x10d)),_0x42828e=_0x3d7b3f[_0x27b2df(0x159)][_0x27b2df(0x13d)](_0x27b2df(0x12f)),_0x352430=_0x3d7b3f[_0x27b2df(0x159)][_0x27b2df(0x13d)](_0x27b2df(0x177)),_0x2c36b0=_0x3d7b3f[_0x27b2df(0x159)][_0x27b2df(0x13d)](_0x27b2df(0x131));this[_0x27b2df(0x12b)](),_0x352430[_0x27b2df(0x156)](()=>{const _0x44bb1c=_0x27b2df,_0x27f195=[];for(const [_0x1c3bcf,_0x5acafa]of Array[_0x44bb1c(0x119)](this[_0x44bb1c(0x10e)])){const _0x1d0731=_0x1c3bcf[_0x44bb1c(0x18d)](),_0x1a2868=[];for(const _0x21edfb of _0x1d0731){if(!_0x21edfb[_0x44bb1c(0x16d)])continue;if(_0x21edfb[_0x44bb1c(0x11c)]){_0x1a2868[_0x44bb1c(0x188)](..._0x21edfb[_0x44bb1c(0x189)]());continue;}const _0x2fd848=_0x21edfb[_0x44bb1c(0x126)]();if(_0x1a2868[_0x44bb1c(0x150)]>0x0){const _0x3c0229=_0x1a2868[0x0][_0x44bb1c(0x154)](_0x2fd848);if(_0x3c0229){_0x1a2868[0x0]=_0x3c0229;continue;}}_0x1a2868[_0x44bb1c(0x188)](_0x2fd848);}_0x27f195[_0x44bb1c(0x188)]([_0x5acafa[_0x44bb1c(0x122)],_0x1a2868]);}return _0x27f195;}),this[_0x27b2df(0x184)](_0x12e88e,_0x27b2df(0x10a),(_0x5216e5,_0xc21f73)=>{const _0x3a8917=_0x27b2df;this[_0x3a8917(0x184)](_0xc21f73,_0x3a8917(0x12a),(_0x3d4972,_0x3693a6,_0x3f1153,_0x906d8)=>{const _0x4ecd08=_0x3a8917;_0xc21f73[_0x4ecd08(0x16d)]&&(null==_0x3f1153?(this[_0x4ecd08(0x18a)](_0x906d8[_0x4ecd08(0x14f)]),this[_0x4ecd08(0x17f)](_0xc21f73,!0x1)):(this[_0x4ecd08(0x18a)](_0x3f1153[_0x4ecd08(0x14f)]),null==_0x906d8&&this[_0x4ecd08(0x17f)](_0xc21f73,!0x0)));}),null!==_0xc21f73[_0x3a8917(0x176)]?this[_0x3a8917(0x18a)](_0xc21f73[_0x3a8917(0x14f)]):this[_0x3a8917(0x17f)](_0xc21f73,!0x1);}),this[_0x27b2df(0x184)](_0x12e88e,_0x27b2df(0x112),(_0x187ade,_0x3f9599,_0x1bc884)=>{const _0x342514=_0x27b2df;this[_0x342514(0x164)](_0x3f9599,_0x342514(0x12a)),this[_0x342514(0x13f)][_0x342514(0x15d)](_0x3f9599),this[_0x342514(0x10e)][_0x342514(0x14d)](_0x3f9599)&&this[_0x342514(0x169)](_0x3f9599),_0x1bc884&&this[_0x342514(0x18a)](_0x1bc884[_0x342514(0x14f)]);}),this[_0x27b2df(0x184)](_0x12e88e,_0x27b2df(0x161),(_0xf2a3fa,_0x2b2b97)=>{const _0x3f7c59=_0x27b2df;this[_0x3f7c59(0x18a)](_0x2b2b97);}),this[_0x27b2df(0x184)](_0x42828e,_0x27b2df(0x172),()=>{const _0x1ec14f=_0x27b2df;this[_0x1ec14f(0x190)]();}),this[_0x27b2df(0x184)](_0x2c36b0,_0x27b2df(0x163),(_0x5916f1,{threadId:_0x2fcfb4,isFromAdapter:_0x22f92f})=>{const _0x38a1a8=_0x27b2df;if(_0x22f92f||!_0x12e88e[_0x38a1a8(0x171)](_0x2fcfb4))return;const _0x313b55=_0x12e88e[_0x38a1a8(0x117)](_0x2fcfb4);this[_0x38a1a8(0x10e)][_0x38a1a8(0x13d)](_0x313b55)[_0x38a1a8(0x122)][_0x38a1a8(0x151)]();},{'priority':_0x27b2df(0x125)});}[_0x1c501d(0x190)](){const _0x31f45d=_0x1c501d,_0x5d559f=this[_0x31f45d(0x111)][_0x31f45d(0x159)][_0x31f45d(0x13d)](_0x31f45d(0x12f)),_0x388349=this[_0x31f45d(0x111)][_0x31f45d(0x159)][_0x31f45d(0x13d)](_0x31f45d(0x10d)),_0x123f35=Array[_0x31f45d(0x119)](_0x5d559f[_0x31f45d(0x18c)],_0x396be0=>_0x396be0[_0x31f45d(0x191)])[_0x31f45d(0x132)](_0x498bf6=>this[_0x31f45d(0x153)][_0x31f45d(0x14d)](_0x498bf6)),_0x33bc7d=[];for(const _0x37526d of _0x123f35){const _0x29cf3a=this[_0x31f45d(0x153)][_0x31f45d(0x13d)](_0x37526d)[_0x31f45d(0x11d)][_0x31f45d(0x18d)]();_0x33bc7d[_0x31f45d(0x188)](..._0x29cf3a[_0x31f45d(0x107)]((_0x50482e,_0x473633)=>[..._0x50482e,..._0x473633[_0x31f45d(0x157)]()],[]));}_0x388349[_0x31f45d(0x14a)]=_0x33bc7d;}[_0x1c501d(0x12b)](){const _0x3d6408=_0x1c501d,_0x187a63=this[_0x3d6408(0x111)],_0x10344c=_0x187a63[_0x3d6408(0x10b)],_0x5af3e6=_0x4051d8(_0x10344c,_0x3d6408(0x147)),_0x5b703b=new _0x3c5d29([{'type':_0x3d6408(0x136),'model':new _0x18b172({'withText':!0x0,'label':_0x5af3e6,'commandName':_0x3d6408(0x168),'role':_0x3d6408(0x141)})},{'type':_0x3d6408(0x120)},{'type':_0x3d6408(0x13c),'model':new _0x18b172({'withText':!0x0,'label':_0x4051d8(_0x10344c,_0x3d6408(0x105)),'commandName':_0x3d6408(0x183),'role':_0x3d6408(0x173)})},{'type':_0x3d6408(0x13c),'model':new _0x18b172({'withText':!0x0,'label':_0x4051d8(_0x10344c,_0x3d6408(0x16e)),'commandName':_0x3d6408(0x158),'role':_0x3d6408(0x173)})},{'type':_0x3d6408(0x13c),'model':new _0x18b172({'withText':!0x0,'label':_0x4051d8(_0x10344c,_0x3d6408(0x15f)),'commandName':_0x3d6408(0x160),'role':_0x3d6408(0x173)})},{'type':_0x3d6408(0x13c),'model':new _0x18b172({'withText':!0x0,'label':_0x4051d8(_0x10344c,_0x3d6408(0x185)),'commandName':_0x3d6408(0x116),'role':_0x3d6408(0x173)})}]);for(const _0x4239b3 of _0x5b703b)if(ae(_0x4239b3)){const _0xddc9a5=_0x187a63[_0x3d6408(0x134)][_0x3d6408(0x13d)](_0x4239b3[_0x3d6408(0x11d)][_0x3d6408(0x166)]);_0x4239b3[_0x3d6408(0x11d)][_0x3d6408(0x127)](_0x3d6408(0x11f),_0x3d6408(0x143))['to'](_0xddc9a5,_0x3d6408(0x12e),_0x3d6408(0x143));}_0x187a63['ui'][_0x3d6408(0x110)][_0x3d6408(0x14c)](_0x3d6408(0x168),_0x1090f4=>this[_0x3d6408(0x17a)](_0x1090f4,_0x5b703b,_0x5af3e6)),_0x187a63['ui'][_0x3d6408(0x110)][_0x3d6408(0x14c)](_0x3d6408(0x17e),_0x4ac8f5=>this[_0x3d6408(0x115)](_0x4ac8f5,_0x5b703b,_0x5af3e6));}[_0x1c501d(0x17a)](_0x2a9893,_0x3a2caa,_0x49e1d8){const _0x13308b=_0x1c501d,_0x5b7955=_0xbf1a1c(_0x2a9893,_0x14290a),_0x549890=this[_0x13308b(0x111)][_0x13308b(0x134)][_0x13308b(0x13d)](_0x13308b(0x168));_0x5b7955[_0x13308b(0x108)][_0x13308b(0x174)]({'tooltip':_0x49e1d8,'label':_0x49e1d8,'icon':_0x17d4da}),_0x5b7955[_0x13308b(0x108)][_0x13308b(0x127)](_0x13308b(0x11f))['to'](_0x549890,_0x13308b(0x12e)),_0x5b7955[_0x13308b(0x108)]['on'](_0x13308b(0x10f),()=>{const _0x368189=_0x13308b;_0x549890[_0x368189(0x10f)](),this[_0x368189(0x111)][_0x368189(0x121)][_0x368189(0x122)][_0x368189(0x151)]();}),_0x304493(_0x5b7955,_0x3a2caa,{'role':_0x13308b(0x14e)});const _0x347db0=[];for(const _0x54ea83 of _0x3a2caa)ae(_0x54ea83)&&_0x347db0[_0x13308b(0x188)](this[_0x13308b(0x111)][_0x13308b(0x134)][_0x13308b(0x13d)](_0x54ea83[_0x13308b(0x11d)][_0x13308b(0x166)]));const _0x307822=_0x5b7955[_0x13308b(0x108)];return _0x307822[_0x13308b(0x193)][_0x13308b(0x194)](_0x13308b(0x143)),_0x307822[_0x13308b(0x18b)][_0x13308b(0x194)](_0x13308b(0x143)),_0x307822[_0x13308b(0x193)][_0x13308b(0x127)](_0x13308b(0x143))['to'](_0x549890,_0x13308b(0x143)),_0x307822[_0x13308b(0x18b)][_0x13308b(0x127)](_0x13308b(0x143))[_0x13308b(0x129)](_0x347db0,_0x13308b(0x143),(..._0x332d35)=>_0x332d35[_0x13308b(0x142)](_0x41a4e2=>_0x41a4e2)),_0x5b7955['on'](_0x13308b(0x10f),_0x10d372=>{const _0x187b1f=_0x13308b;this[_0x187b1f(0x111)][_0x187b1f(0x10f)](_0x10d372[_0x187b1f(0x114)][_0x187b1f(0x166)]),this[_0x187b1f(0x111)][_0x187b1f(0x121)][_0x187b1f(0x122)][_0x187b1f(0x151)]();}),_0x5b7955;}[_0x1c501d(0x115)](_0x17e837,_0x152788,_0x59eb72){const _0x45ffb5=_0x1c501d,_0x3022a2=new _0x41effa(_0x17e837),_0x1eac1d=this[_0x45ffb5(0x111)][_0x45ffb5(0x134)][_0x45ffb5(0x13d)](_0x45ffb5(0x168));_0x3022a2[_0x45ffb5(0x108)][_0x45ffb5(0x174)]({'label':_0x59eb72,'icon':_0x17d4da});const _0x2edc1e=new _0x59397d(_0x17e837);for(const _0x3325ec of _0x152788){if(_0x45ffb5(0x120)==_0x3325ec[_0x45ffb5(0x133)]){_0x2edc1e[_0x45ffb5(0x130)][_0x45ffb5(0x14c)](new _0x184a38(_0x17e837));continue;}const _0x326978=new _0x8fc52f(_0x17e837,_0x3022a2),_0x135c17=new _0x3a7a3f(_0x17e837),_0x9cab3a=_0x3325ec[_0x45ffb5(0x11d)];_0x135c17[_0x45ffb5(0x127)](...Object[_0x45ffb5(0x186)](_0x9cab3a))['to'](_0x9cab3a),_0x135c17[_0x45ffb5(0x137)](_0x45ffb5(0x10f))['to'](_0x3022a2),_0x135c17['on'](_0x45ffb5(0x10f),()=>{const _0x5660cc=_0x45ffb5;this[_0x5660cc(0x111)][_0x5660cc(0x10f)](_0x9cab3a[_0x5660cc(0x166)]),this[_0x5660cc(0x111)][_0x5660cc(0x121)][_0x5660cc(0x122)][_0x5660cc(0x151)]();}),_0x326978[_0x45ffb5(0x12d)][_0x45ffb5(0x14c)](_0x135c17),_0x2edc1e[_0x45ffb5(0x130)][_0x45ffb5(0x14c)](_0x326978);}return _0x3022a2[_0x45ffb5(0x127)](_0x45ffb5(0x143))['to'](_0x1eac1d,_0x45ffb5(0x143)),_0x3022a2[_0x45ffb5(0x152)][_0x45ffb5(0x12d)][_0x45ffb5(0x14c)](_0x2edc1e),_0x3022a2;}[_0x1c501d(0x18f)](_0x1bedc9){const _0x2b5831=_0x1c501d,_0x3834cd=this[_0x2b5831(0x111)],_0x3e27bc=_0x3834cd[_0x2b5831(0x17c)],_0x143a47=_0x3834cd[_0x2b5831(0x159)][_0x2b5831(0x13d)](_0x2b5831(0x12f)),_0x3e66d4=_0x3834cd[_0x2b5831(0x159)][_0x2b5831(0x13d)](_0x2b5831(0x131)),_0x4c0b60=_0x3834cd[_0x2b5831(0x159)][_0x2b5831(0x13d)](_0x2b5831(0x177)),_0x4857c9=_0x3834cd[_0x2b5831(0x159)][_0x2b5831(0x13d)](_0x121a27)['me'],_0x40ab10=_0x3e27bc[_0x2b5831(0x13d)](_0x2b5831(0x168))[_0x2b5831(0x135)],{CommentsListView:_0x1a30be,CommentThreadInputView:_0x27bc39}=_0x3834cd[_0x2b5831(0x159)][_0x2b5831(0x13d)](_0x2b5831(0x148));let _0x4c10c7,_0x1e9dde;this[_0x2b5831(0x11b)][_0x2b5831(0x14d)](_0x1bedc9['id'])?(_0x1e9dde=this[_0x2b5831(0x11b)][_0x2b5831(0x13d)](_0x1bedc9['id']),_0x4c10c7=_0x1e9dde[_0x2b5831(0x113)]):(_0x4c10c7=new _0x40ab10(_0x3834cd[_0x2b5831(0x10b)],_0x1bedc9,_0x4857c9,{'disableComments':this[_0x2b5831(0x180)],'editorConfig':_0x3e27bc[_0x2b5831(0x13d)](_0x2b5831(0x181)),'maxCommentsWhenCollapsed':_0x3e27bc[_0x2b5831(0x13d)](_0x2b5831(0x15b)),'maxThreadTotalWeight':_0x3e27bc[_0x2b5831(0x13d)](_0x2b5831(0x17b)),'maxCommentCharsWhenCollapsed':_0x3e27bc[_0x2b5831(0x13d)](_0x2b5831(0x187)),'formatDateTime':_0x49d617(_0x3e27bc[_0x2b5831(0x13d)](_0x2b5831(0x10b))),'CommentView':_0x3e27bc[_0x2b5831(0x13d)](_0x2b5831(0x139))[_0x2b5831(0x16a)],'CommentsListView':_0x1a30be,'CommentThreadInputView':_0x27bc39}),_0x4c10c7[_0x2b5831(0x10c)]['on'](_0x2b5831(0x10f),()=>{const _0x582640=_0x2b5831;_0x3834cd[_0x582640(0x121)][_0x582640(0x122)][_0x582640(0x151)]();}),_0x4c10c7[_0x2b5831(0x13b)]['on'](_0x2b5831(0x10f),()=>{const _0x2bda0d=_0x2b5831;_0x3834cd[_0x2bda0d(0x121)][_0x2bda0d(0x122)][_0x2bda0d(0x151)]();}),_0x1e9dde=_0x143a47[_0x2b5831(0x17d)](this[_0x2b5831(0x111)][_0x2b5831(0x10b)],_0x4c10c7),_0x1e9dde[_0x2b5831(0x127)](_0x2b5831(0x11e))['to'](_0x4c10c7,_0x2b5831(0x11e)),_0x1e9dde[_0x2b5831(0x127)](_0x2b5831(0x150))['to'](_0x4c10c7),_0x1e9dde[_0x2b5831(0x127)](_0x2b5831(0x133))['to'](_0x4c10c7,_0x2b5831(0x133),_0x39a035=>_0x2b5831(0x155)+_0x39a035),this[_0x2b5831(0x11b)][_0x2b5831(0x174)](_0x1bedc9['id'],_0x1e9dde));const _0x3d492d=_0x3e66d4[_0x2b5831(0x162)](_0x1bedc9[_0x2b5831(0x118)],_0x4c10c7),_0x4d2a17=new _0x21e3e2(_0x3834cd,_0x1bedc9,_0x4c10c7,_0x3d492d),_0x39b51d=_0x1bedc9[_0x2b5831(0x18d)]()[_0x2b5831(0x132)](_0x16844d=>_0x16844d[_0x2b5831(0x16d)]);_0x4c10c7[_0x2b5831(0x16b)]=_0x3834cd[_0x2b5831(0x159)][_0x2b5831(0x13d)](_0x2b5831(0x10d))[_0x2b5831(0x167)][_0x2b5831(0x13a)](_0x39b51d),this[_0x2b5831(0x10e)][_0x2b5831(0x174)](_0x1bedc9,_0x4d2a17),this[_0x2b5831(0x153)][_0x2b5831(0x174)](_0x4c10c7,_0x4d2a17);const _0x556fac=_0x143a47[_0x2b5831(0x15e)]({'view':_0x1e9dde,'target':()=>{const _0x2491ee=_0x2b5831,_0x34858e=[],_0x38ace4=_0x1bedc9[_0x2491ee(0x18d)]()[_0x2491ee(0x132)](_0x707220=>_0x707220[_0x2491ee(0x16d)]);for(const _0x5a7488 of _0x38ace4)_0x34858e[_0x2491ee(0x188)](..._0x5a7488[_0x2491ee(0x12c)]());return _0x1f3274(_0x3834cd[_0x2491ee(0x121)],_0x34858e);},'type':()=>_0x2b5831(0x155)+_0x4d2a17[_0x2b5831(0x122)][_0x2b5831(0x133)]});_0x3e66d4[_0x2b5831(0x128)](_0x4c10c7,_0x556fac),_0x143a47[_0x2b5831(0x14c)](_0x556fac),_0x4c0b60[_0x2b5831(0x146)](_0x556fac);}[_0x1c501d(0x169)](_0x11ecb4){const _0x3f9206=_0x1c501d,_0x244d6c=this[_0x3f9206(0x111)][_0x3f9206(0x159)][_0x3f9206(0x13d)](_0x3f9206(0x131)),_0x13d6ee=this[_0x3f9206(0x111)][_0x3f9206(0x159)][_0x3f9206(0x13d)](_0x3f9206(0x12f)),_0x4b8784=this[_0x3f9206(0x10e)][_0x3f9206(0x13d)](_0x11ecb4),_0x627a48=_0x4b8784[_0x3f9206(0x122)],_0x562eea=_0x13d6ee[_0x3f9206(0x18e)](_0x627a48);_0x244d6c[_0x3f9206(0x11a)](_0x627a48),_0x562eea&&_0x13d6ee[_0x3f9206(0x13e)](_0x562eea),this[_0x3f9206(0x10e)][_0x3f9206(0x15d)](_0x11ecb4),this[_0x3f9206(0x153)][_0x3f9206(0x15d)](_0x627a48),_0x4b8784[_0x3f9206(0x140)]();}[_0x1c501d(0x18a)](_0xc586f7){const _0x54b4f8=_0x1c501d;if(!_0xc586f7[_0x54b4f8(0x16d)]||!this[_0x54b4f8(0x10e)][_0x54b4f8(0x14d)](_0xc586f7))return;const _0x160569=this[_0x54b4f8(0x111)][_0x54b4f8(0x159)][_0x54b4f8(0x13d)](_0x54b4f8(0x10d)),_0x216399=this[_0x54b4f8(0x10e)][_0x54b4f8(0x13d)](_0xc586f7),_0x2b5aac=_0xc586f7[_0x54b4f8(0x18d)]();_0x216399[_0x54b4f8(0x122)][_0x54b4f8(0x16b)]=_0x160569[_0x54b4f8(0x167)][_0x54b4f8(0x13a)](_0x2b5aac);}[_0x1c501d(0x140)](){const _0x23619e=_0x1c501d;for(const _0x29985c of this[_0x23619e(0x10e)][_0x23619e(0x186)]())this[_0x23619e(0x169)](_0x29985c);for(const _0x46a586 of this[_0x23619e(0x11b)][_0x23619e(0x165)]())_0x46a586[_0x23619e(0x113)][_0x23619e(0x140)]();super[_0x23619e(0x140)]();}}function ae(_0x19a0cb){const _0x2fbbbb=_0x1c501d;return _0x2fbbbb(0x11d)in _0x19a0cb;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x4f8e(_0x4de484,_0xc37f0e){const _0x9c4a84=_0x9c4a();return _0x4f8e=function(_0x4f8e6e,_0x3bf8db){_0x4f8e6e=_0x4f8e6e-0xd0;let _0x18cf9c=_0x9c4a84[_0x4f8e6e];return _0x18cf9c;},_0x4f8e(_0x4de484,_0xc37f0e);}const _0x2e7a87=_0x4f8e;(function(_0xa5e598,_0x4a2fbe){const _0x14c52d=_0x4f8e,_0x531817=_0xa5e598();while(!![]){try{const _0x300166=-parseInt(_0x14c52d(0xf4))/0x1+parseInt(_0x14c52d(0xe8))/0x2*(parseInt(_0x14c52d(0xf5))/0x3)+parseInt(_0x14c52d(0xde))/0x4+-parseInt(_0x14c52d(0xd3))/0x5+-parseInt(_0x14c52d(0xe9))/0x6+-parseInt(_0x14c52d(0xe3))/0x7*(-parseInt(_0x14c52d(0xd0))/0x8)+parseInt(_0x14c52d(0xf6))/0x9*(-parseInt(_0x14c52d(0xd9))/0xa);if(_0x300166===_0x4a2fbe)break;else _0x531817['push'](_0x531817['shift']());}catch(_0x30151b){_0x531817['push'](_0x531817['shift']());}}}(_0x9c4a,0x2fa74));import{ObservableMixin as _0x9cf0a2}from'ckeditor5/src/utils.js';import{getTranslation as _0x186dc0}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x9cf0a2(){constructor(_0x4996ab,_0x2eb59c,_0x21941e,_0x454809){const _0x4849fc=_0x4f8e;super(),this[_0x4849fc(0xe1)]=_0x2eb59c,this[_0x4849fc(0xd8)]=_0x21941e,this[_0x4849fc(0xd4)]=_0x454809,this[_0x4849fc(0xda)]=_0x4996ab,this[_0x4849fc(0xe0)]=_0x4996ab[_0x4849fc(0xf2)][_0x4849fc(0xd6)](_0x4849fc(0xe7)),this[_0x4849fc(0xd5)]=_0x4996ab[_0x4849fc(0xf2)][_0x4849fc(0xd6)](_0x4849fc(0xf8)),this[_0x4849fc(0xd8)][_0x4849fc(0xeb)](_0x4849fc(0xd1))['to'](this[_0x4849fc(0xe0)],this[_0x4849fc(0xd5)],(_0x291e4f,_0x857083)=>_0x291e4f||_0x857083),this[_0x4849fc(0xd8)][_0x4849fc(0xeb)](_0x4849fc(0xf1))['to'](this[_0x4849fc(0xe0)],_0x4849fc(0xd1),_0xe8b735=>_0xe8b735&&this[_0x4849fc(0xda)][_0x4849fc(0xe1)][_0x4849fc(0xdf)](_0x2eb59c[_0x4849fc(0xec)]())),this[_0x4849fc(0xd8)][_0x4849fc(0xeb)](_0x4849fc(0xd2))['to'](this[_0x4849fc(0xd5)],_0x4849fc(0xd1),_0x4719fd=>_0x4719fd&&this[_0x4849fc(0xda)][_0x4849fc(0xe1)][_0x4849fc(0xdf)](_0x2eb59c[_0x4849fc(0xec)]())),this[_0x4849fc(0xf0)]=null,_0x21941e[_0x4849fc(0xf7)]&&this[_0x4849fc(0xea)](),this[_0x4849fc(0xee)](_0x21941e,_0x4849fc(0xe7),()=>this[_0x4849fc(0xe7)]()),this[_0x4849fc(0xee)](_0x21941e,_0x4849fc(0xf8),()=>this[_0x4849fc(0xf8)]()),this[_0x4849fc(0xee)](_0x21941e,_0x4849fc(0xe2),()=>{const _0x337de7=_0x4849fc;_0x21941e[_0x337de7(0xf7)]?this[_0x337de7(0xea)]():this[_0x337de7(0xed)]();});}[_0x2e7a87(0xe7)](){const _0x374eea=_0x2e7a87;this[_0x374eea(0xe0)][_0x374eea(0xf3)](this[_0x374eea(0xe1)]['id']);}[_0x2e7a87(0xf8)](){const _0x5dd8ea=_0x2e7a87;this[_0x5dd8ea(0xd5)][_0x5dd8ea(0xf3)](this[_0x5dd8ea(0xe1)]['id']);}[_0x2e7a87(0xe5)](){const _0x205200=_0x2e7a87;this[_0x205200(0xd8)][_0x205200(0xdd)](_0x205200(0xd1)),this[_0x205200(0xd8)][_0x205200(0xdd)](_0x205200(0xf1)),this[_0x205200(0xd8)][_0x205200(0xdd)](_0x205200(0xd2)),this[_0x205200(0xe4)](),this[_0x205200(0xd4)][_0x205200(0xe5)](),this[_0x205200(0xf0)]&&this[_0x205200(0xed)]();}[_0x2e7a87(0xea)](){const _0x51fa45=_0x2e7a87,_0x357d02=_0x186dc0(this[_0x51fa45(0xda)][_0x51fa45(0xdc)],_0x51fa45(0xe6));this[_0x51fa45(0xf0)]=this[_0x51fa45(0xda)][_0x51fa45(0xef)][_0x51fa45(0xd6)](_0x51fa45(0xd7))[_0x51fa45(0xf9)](_0x357d02);}[_0x2e7a87(0xed)](){const _0x2b02dc=_0x2e7a87;null!==this[_0x2b02dc(0xf0)]&&this[_0x2b02dc(0xda)][_0x2b02dc(0xef)][_0x2b02dc(0xd6)](_0x2b02dc(0xd7))[_0x2b02dc(0xdb)](this[_0x2b02dc(0xf0)]),this[_0x2b02dc(0xf0)]=null;}}function _0x9c4a(){const _0x3fb9d3=['execute','259785gfdJJD','146343uPphOx','225KlSJgH','isDirty','discardSuggestion','add','120giprjL','isEnabled','canDiscard','35805RsDdgu','commentThreadController','_discardCommand','get','PendingActions','view','60420jsOJyc','_editor','remove','locale','unbind','1306520cOtegi','canEditAt','_acceptCommand','model','change:isDirty','72583YReZqN','stopListening','destroy','PENDING_ACTION_SUGGESTION','acceptSuggestion','16zjjHcx','1555374LWMZue','_setPendingAction','bind','getRanges','_removePendingAction','listenTo','plugins','_pendingAction','canAccept','commands'];_0x9c4a=function(){return _0x3fb9d3;};return _0x9c4a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x429876=_0x113f;(function(_0x348882,_0x4ee585){const _0x277f2a=_0x113f,_0x1eac43=_0x348882();while(!![]){try{const _0xb984e4=-parseInt(_0x277f2a(0x1f7))/0x1+-parseInt(_0x277f2a(0x1ca))/0x2*(parseInt(_0x277f2a(0x1e2))/0x3)+-parseInt(_0x277f2a(0x1d9))/0x4*(-parseInt(_0x277f2a(0x1d3))/0x5)+-parseInt(_0x277f2a(0x1e6))/0x6*(-parseInt(_0x277f2a(0x1eb))/0x7)+parseInt(_0x277f2a(0x1d6))/0x8+parseInt(_0x277f2a(0x1da))/0x9+-parseInt(_0x277f2a(0x1d5))/0xa*(parseInt(_0x277f2a(0x1cd))/0xb);if(_0xb984e4===_0x4ee585)break;else _0x1eac43['push'](_0x1eac43['shift']());}catch(_0x15e290){_0x1eac43['push'](_0x1eac43['shift']());}}}(_0x38ad,0x45148));import{View as _0x5c2b9a}from'ckeditor5/src/ui.js';export default class es extends _0x5c2b9a{constructor(_0x56fc49,_0x481fcc,_0x48e616,_0x1ff5bf){const _0x4a8871=_0x113f;super(_0x56fc49),this[_0x4a8871(0x1d8)]=null,this[_0x4a8871(0x1d0)]=null,this[_0x4a8871(0x1cf)](_0x4a8871(0x1e1),!0x1),this[_0x4a8871(0x1cf)](_0x4a8871(0x1f2),_0x481fcc[_0x4a8871(0x1f2)]),this[_0x4a8871(0x1f6)](_0x4a8871(0x1f2))['to'](_0x481fcc),this[_0x4a8871(0x1cf)](_0x4a8871(0x1f5),[]),this[_0x4a8871(0x1cf)](_0x4a8871(0x1f4),!0x1),this[_0x4a8871(0x1cf)](_0x4a8871(0x1d7),!0x1),this[_0x4a8871(0x1cf)](_0x4a8871(0x1e8),!0x1),this[_0x4a8871(0x1cf)](_0x4a8871(0x1de),!0x1),this[_0x4a8871(0x1d2)]=_0x481fcc,this[_0x4a8871(0x1e4)]=_0x48e616,this[_0x4a8871(0x1e3)]=_0x1ff5bf,_0x1ff5bf[_0x4a8871(0x1ec)]?this[_0x4a8871(0x1cf)](_0x4a8871(0x1e5),0x1):this[_0x4a8871(0x1ce)]();}[_0x429876(0x1cb)](){const _0x218719=_0x429876;this[_0x218719(0x1ee)][_0x218719(0x1cb)]();}[_0x429876(0x1dd)](){const _0x34f13b=_0x429876;this[_0x34f13b(0x1d8)]&&this[_0x34f13b(0x1d8)][_0x34f13b(0x1dd)](),this[_0x34f13b(0x1d0)]&&this[_0x34f13b(0x1d0)][_0x34f13b(0x1dd)](),super[_0x34f13b(0x1dd)]();}[_0x429876(0x1ce)](){const _0x48ef6c=_0x429876,{CommentsListView:_0x31b3a7}=this[_0x48ef6c(0x1e3)];this[_0x48ef6c(0x1d8)]=new _0x31b3a7(this[_0x48ef6c(0x1fa)],this[_0x48ef6c(0x1d2)][_0x48ef6c(0x1d1)],Object[_0x48ef6c(0x1f1)]({'CommentView':this[_0x48ef6c(0x1e3)][_0x48ef6c(0x1ed)]},this[_0x48ef6c(0x1e3)])),this[_0x48ef6c(0x1d8)][_0x48ef6c(0x1e9)](_0x48ef6c(0x1e0))['to'](this),this[_0x48ef6c(0x1d8)][_0x48ef6c(0x1e9)](_0x48ef6c(0x1db))['to'](this),this[_0x48ef6c(0x1d8)][_0x48ef6c(0x1f6)](_0x48ef6c(0x1e1))['to'](this),this[_0x48ef6c(0x1cf)](_0x48ef6c(0x1e5),this[_0x48ef6c(0x1d8)][_0x48ef6c(0x1e5)]+0x1),this[_0x48ef6c(0x1f6)](_0x48ef6c(0x1e5))['to'](this[_0x48ef6c(0x1d8)],_0x48ef6c(0x1e5),_0x5ab20e=>_0x5ab20e+0x1),this[_0x48ef6c(0x1d0)]=this[_0x48ef6c(0x1f8)](),this['on'](_0x48ef6c(0x1e0),()=>this[_0x48ef6c(0x1cb)]()),this[_0x48ef6c(0x1f6)](_0x48ef6c(0x1f4))['to'](this[_0x48ef6c(0x1d8)],_0x48ef6c(0x1fb),this[_0x48ef6c(0x1d0)][_0x48ef6c(0x1f0)],_0x48ef6c(0x1ea),(_0x702032,_0x1aed9b)=>_0x702032||!!_0x1aed9b);}[_0x429876(0x1f8)](){const _0x195957=_0x429876,{CommentThreadInputView:_0x10daf4}=this[_0x195957(0x1e3)],_0x3440ac=new _0x10daf4(this[_0x195957(0x1fa)],this[_0x195957(0x1e4)],this[_0x195957(0x1e3)][_0x195957(0x1f3)]),_0xc62b3e=_0x3440ac[_0x195957(0x1f0)];return _0x3440ac[_0x195957(0x1f6)](_0x195957(0x1d4))['to'](this,_0x195957(0x1e1),this[_0x195957(0x1d2)][_0x195957(0x1d1)],_0x195957(0x1dc),_0xc62b3e,_0x195957(0x1ea),(_0x2d2267,_0x506f69,_0x4356ce)=>!!_0x4356ce||_0x2d2267&&!_0x506f69),_0xc62b3e['on'](_0x195957(0x1ef),(_0x3b4aa9,_0x57a5d2)=>{const _0x1502f7=_0x195957;this[_0x1502f7(0x1e7)](_0x1502f7(0x1cc),_0x57a5d2),_0xc62b3e[_0x1502f7(0x1c8)][_0x1502f7(0x1c9)]('');}),_0xc62b3e['on'](_0x195957(0x1f9),()=>this[_0x195957(0x1cb)]()),_0xc62b3e[_0x195957(0x1f6)](_0x195957(0x1df))['to'](this[_0x195957(0x1d2)][_0x195957(0x1d1)],_0x195957(0x1dc)),_0x3440ac;}}function _0x113f(_0xaab600,_0xb8cb90){const _0x38ad6f=_0x38ad();return _0x113f=function(_0x113f02,_0x4e4425){_0x113f02=_0x113f02-0x1c8;let _0x26c56c=_0x38ad6f[_0x113f02];return _0x26c56c;},_0x113f(_0xaab600,_0xb8cb90);}function _0x38ad(){const _0x2aaf81=['assign','authoredAt','editorConfig','isDirty','descriptionParts','bind','253550MNoCCD','_createCommentThreadInputView','cancel','locale','hasDirtyComment','editor','setData','2XjKkfx','focus','addComment','44kTDZVT','_createCommentViews','set','commentThreadInputView','commentThread','_model','50855fyhTGg','showInput','2710tJdjXu','1897976RWfyDG','isEnabled','commentsListView','28scFQla','2271042cbqoKt','updateComment','isReadOnly','destroy','canDiscard','disabledSubmit','removeComment','isActive','207090WqojPq','_config','_localUser','length','12BNqJZB','fire','canAccept','delegate','value','160419ddiCdK','disableComments','CommentView','element','submit','commentInputView'];_0x38ad=function(){return _0x2aaf81;};return _0x38ad();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3d3cb6=_0x5dd4;(function(_0x17f299,_0x3c758a){const _0x3284f6=_0x5dd4,_0x108bd1=_0x17f299();while(!![]){try{const _0x4e26ca=parseInt(_0x3284f6(0x196))/0x1*(parseInt(_0x3284f6(0x18d))/0x2)+-parseInt(_0x3284f6(0x19e))/0x3+parseInt(_0x3284f6(0x157))/0x4*(-parseInt(_0x3284f6(0x17e))/0x5)+-parseInt(_0x3284f6(0x152))/0x6+-parseInt(_0x3284f6(0x1ad))/0x7+-parseInt(_0x3284f6(0x1a0))/0x8+parseInt(_0x3284f6(0x17d))/0x9;if(_0x4e26ca===_0x3c758a)break;else _0x108bd1['push'](_0x108bd1['shift']());}catch(_0x30748f){_0x108bd1['push'](_0x108bd1['shift']());}}}(_0x3e0d,0xbd0b2));import{getTranslation as _0x268b32}from'../../utils/common-translations.js';import{default as _0x296d16}from'./basesuggestionthreadview.js';function _0x5dd4(_0x7c6510,_0x2a2609){const _0x3e0dcd=_0x3e0d();return _0x5dd4=function(_0x5dd409,_0xaf6964){_0x5dd409=_0x5dd409-0x142;let _0x14ff36=_0x3e0dcd[_0x5dd409];return _0x14ff36;},_0x5dd4(_0x7c6510,_0x2a2609);}import{ButtonView as _0x310741}from'ckeditor5/src/ui.js';import{icons as _0x4986d4}from'ckeditor5/src/core.js';import{trimHtml as _0x52d22c,UserView as _0x2f225f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x296d16{constructor(_0x3b2513,_0x3b1086,_0x371086,_0x3297e3){const _0x2ec3ed=_0x5dd4;super(_0x3b2513,_0x3b1086,_0x371086,_0x3297e3),this[_0x2ec3ed(0x17a)](_0x2ec3ed(0x18b),''),this[_0x2ec3ed(0x1a2)](_0x2ec3ed(0x18b))['to'](this,_0x2ec3ed(0x193),_0x5de9c=>_0x5de9c&&_0x5de9c[0x0]?_0x5de9c[0x0][_0x2ec3ed(0x18b)]:''),this[_0x2ec3ed(0x1a2)](_0x2ec3ed(0x19d))['to'](this,_0x2ec3ed(0x193),this,_0x2ec3ed(0x14f),(_0x5a014e,_0x30e9a6)=>{const _0x16fa2e=_0x2ec3ed;let _0x26d6f3='';for(const _0x2b26a7 of _0x5a014e)_0x26d6f3+=_0x16fa2e(0x160)+ds(_0x2b26a7[_0x16fa2e(0x15e)],_0x2b26a7[_0x16fa2e(0x183)])+_0x16fa2e(0x194);return _0x30e9a6?_0x26d6f3:_0x52d22c(_0x26d6f3,{'limit':0x8c});}),this[_0x2ec3ed(0x172)]=null,this[_0x2ec3ed(0x149)]=this[_0x2ec3ed(0x199)](_0x268b32(_0x3b2513,_0x2ec3ed(0x16d)),_0x4986d4[_0x2ec3ed(0x16c)],_0x2ec3ed(0x18e),_0x2ec3ed(0x14e),'sw'),this[_0x2ec3ed(0x149)][_0x2ec3ed(0x1a2)](_0x2ec3ed(0x15a))['to'](this,_0x2ec3ed(0x185)),this[_0x2ec3ed(0x19c)]=this[_0x2ec3ed(0x199)](_0x268b32(_0x3b2513,_0x2ec3ed(0x145)),_0x4986d4[_0x2ec3ed(0x190)],_0x2ec3ed(0x165),_0x2ec3ed(0x191),'sw'),this[_0x2ec3ed(0x19c)][_0x2ec3ed(0x1a2)](_0x2ec3ed(0x15a))['to'](this,_0x2ec3ed(0x180)),this[_0x2ec3ed(0x1a1)]=new _0x2f225f(_0x3b2513,this[_0x2ec3ed(0x15c)][_0x2ec3ed(0x171)],this[_0x2ec3ed(0x18c)]()),this[_0x2ec3ed(0x1a1)][_0x2ec3ed(0x1aa)]({'attributes':{'class':[_0x2ec3ed(0x168),_0x2ec3ed(0x15d)]}}),this[_0x2ec3ed(0x146)](this[_0x2ec3ed(0x1a9)]());}[_0x3d3cb6(0x1a9)](){const _0x2cefa6=_0x3d3cb6,_0x340745=this[_0x2cefa6(0x16b)],_0x1cf206=[{'tag':_0x2cefa6(0x164),'attributes':{'class':[_0x2cefa6(0x16e),_0x2cefa6(0x154)]},'children':[{'tag':_0x2cefa6(0x14c),'children':[{'text':this[_0x2cefa6(0x1a1)][_0x2cefa6(0x1ac)]}],'attributes':{'class':[_0x2cefa6(0x147),_0x2cefa6(0x158)]}},{'tag':_0x2cefa6(0x1a5),'attributes':{'datetime':_0x340745['to'](_0x2cefa6(0x18f)),'class':[_0x2cefa6(0x15b),_0x2cefa6(0x18a)]},'children':[{'text':_0x340745['to'](_0x2cefa6(0x18f),_0x1116a4=>this[_0x2cefa6(0x148)][_0x2cefa6(0x151)](_0x1116a4))}]}]},{'tag':_0x2cefa6(0x164),'attributes':{'class':[_0x2cefa6(0x182),_0x2cefa6(0x189)]},'children':[this[_0x2cefa6(0x149)],this[_0x2cefa6(0x19c)]]},{'tag':_0x2cefa6(0x164),'attributes':{'class':[_0x2cefa6(0x197)]}}];this[_0x2cefa6(0x15c)][_0x2cefa6(0x179)]&&_0x1cf206[_0x2cefa6(0x186)]({'tag':_0x2cefa6(0x164),'attributes':{'class':[_0x2cefa6(0x188)]},'children':[{'text':this[_0x2cefa6(0x14b)]()}]});const _0x24d154={'tag':_0x2cefa6(0x164),'attributes':{'class':[_0x2cefa6(0x192),_0x340745['if'](_0x2cefa6(0x14f),_0x2cefa6(0x17b)),_0x340745['to'](_0x2cefa6(0x18b),_0x151ab2=>_0x2cefa6(0x195)+_0x151ab2),this[_0x2cefa6(0x148)][_0x2cefa6(0x15f)]&&_0x2cefa6(0x198)],'data-suggestion-id':this[_0x2cefa6(0x15c)]['id'],'data-thread-id':this[_0x2cefa6(0x15c)][_0x2cefa6(0x153)]['id'],'data-author-id':this[_0x2cefa6(0x15c)][_0x2cefa6(0x171)]['id'],'tabindex':-0x1},'children':[{'tag':_0x2cefa6(0x164),'attributes':{'class':[_0x2cefa6(0x144),_0x2cefa6(0x184)]},'children':[this[_0x2cefa6(0x1a1)],{'tag':_0x2cefa6(0x164),'attributes':{'class':[_0x2cefa6(0x159),_0x2cefa6(0x175)]},'children':_0x1cf206}]}]};return this[_0x2cefa6(0x162)]&&this[_0x2cefa6(0x1af)]&&(_0x24d154[_0x2cefa6(0x17f)][_0x2cefa6(0x186)](this[_0x2cefa6(0x162)],this[_0x2cefa6(0x1af)]),this[_0x2cefa6(0x162)][_0x2cefa6(0x14a)](_0x2cefa6(0x142))['to'](this),this[_0x2cefa6(0x162)][_0x2cefa6(0x14a)](_0x2cefa6(0x1a8))['to'](this),this[_0x2cefa6(0x1af)][_0x2cefa6(0x14a)](_0x2cefa6(0x142))['to'](this),this[_0x2cefa6(0x1af)][_0x2cefa6(0x14a)](_0x2cefa6(0x1a8))['to'](this)),_0x24d154;}[_0x3d3cb6(0x167)](){const _0x2e7062=_0x3d3cb6;super[_0x2e7062(0x167)](),this[_0x2e7062(0x172)]=this[_0x2e7062(0x163)][_0x2e7062(0x16a)](_0x2e7062(0x156)),this[_0x2e7062(0x172)][_0x2e7062(0x16f)]=this[_0x2e7062(0x19d)],this['on'](_0x2e7062(0x176),(_0x175f81,_0x5dff54,_0x29825f)=>{const _0x4b169f=_0x2e7062;this[_0x4b169f(0x172)][_0x4b169f(0x16f)]=_0x29825f;});}[_0x3d3cb6(0x199)](_0x3bf6a4,_0x2933cf,_0x44583d,_0x7fd709,_0x59f02b){const _0x5b8061=_0x3d3cb6,_0x17576e=new _0x310741(this[_0x5b8061(0x1a7)]);return _0x17576e[_0x5b8061(0x17a)]({'label':_0x3bf6a4,'icon':_0x2933cf,'tooltip':!0x0,'tooltipPosition':_0x59f02b}),_0x17576e[_0x5b8061(0x1aa)]({'attributes':{'class':_0x44583d}}),_0x17576e['on'](_0x5b8061(0x169),()=>{const _0x5cc4ff=_0x5b8061;this[_0x5cc4ff(0x19f)](_0x7fd709,this[_0x5cc4ff(0x15c)]['id']);}),_0x17576e;}[_0x3d3cb6(0x14b)](){const _0x220928=_0x3d3cb6;return _0x220928(0x161)===this[_0x220928(0x15c)][_0x220928(0x170)][_0x220928(0x17c)][_0x220928(0x178)]?_0x268b32(this[_0x220928(0x1a7)],_0x220928(0x1ae)):_0x268b32(this[_0x220928(0x1a7)],_0x220928(0x14d));}[_0x3d3cb6(0x18c)](){const _0x5d7738=_0x3d3cb6;return this[_0x5d7738(0x15c)][_0x5d7738(0x179)]?_0x5d7738(0x161)===this[_0x5d7738(0x15c)][_0x5d7738(0x170)][_0x5d7738(0x17c)][_0x5d7738(0x178)]?_0x268b32(this[_0x5d7738(0x1a7)],_0x5d7738(0x155),this[_0x5d7738(0x15c)][_0x5d7738(0x19a)][_0x5d7738(0x1ac)]):_0x268b32(this[_0x5d7738(0x1a7)],_0x5d7738(0x150),this[_0x5d7738(0x15c)][_0x5d7738(0x19a)][_0x5d7738(0x1ac)]):null;}}function ds(_0x582c26,_0x283f7b){const _0x4307fc=_0x3d3cb6;let _0x1c4010='';return _0x1c4010+=_0x582c26[_0x4307fc(0x1a4)]('*')[_0x4307fc(0x173)]((_0x13a08d,_0x5ca30)=>_0x5ca30%0x2!=0x0?_0x4307fc(0x1a6)+us(_0x13a08d)+_0x4307fc(0x1ab):us(_0x13a08d))[_0x4307fc(0x187)](''),_0x283f7b&&(_0x1c4010+=_0x4307fc(0x1a3)+_0x283f7b[_0x4307fc(0x143)]+_0x4307fc(0x174)+_0x283f7b[_0x4307fc(0x181)]+_0x4307fc(0x19b)),_0x1c4010;}function us(_0x45f110){const _0x1f78d7=_0x3d3cb6,_0x342887=document[_0x1f78d7(0x177)](_0x1f78d7(0x14c));return _0x342887[_0x1f78d7(0x166)]=_0x45f110,_0x342887[_0x1f78d7(0x16f)];}function _0x3e0d(){const _0x42a3a4=['<p>','importWord','commentsListView','element','div','ck-suggestion--discard','innerText','render','ck-suggestion__user','execute','querySelector','bindTemplate','check','Accept\x20suggestion','ck-suggestion__info','innerHTML','attributes','author','_descriptionElement','map','\x22\x20title=\x22','ck-annotation__main','change:description','createElement','source','isExternal','set','ck-suggestion-wrapper--active','@external','47330370MKuHiN','10wBnkuu','children','canDiscard','title','ck-suggestion__actions','color','ck-annotation','canAccept','push','join','ck-comment__external','ck-annotation__actions','ck-annotation__info-time','type','getUserViewNotificationText','57954AErown','ck-suggestion--accept','authoredAt','cancel','discardSuggestion','ck-suggestion-wrapper','descriptionParts','</p>','ck-suggestion-','26EStxTi','ck-annotation__content-wrapper','ck-suggestion--disabled-comments','_createButton','creator','\x22></span>','discardButton','description','2038653nuAbct','fire','10364952xHOQlF','userView','bind','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','split','time','<span\x20class=\x22ck-suggestion-type\x22>','locale','editorDestroyed','getTemplate','extendTemplate','</span>','name','7060900FPDFWu','EXTERNAL_IMPORT_WORD_SUGGESTION','commentThreadInputView','editorReady','value','ck-suggestion','Discard\x20suggestion','setTemplate','ck-suggestion__info-name','_config','acceptButton','delegate','getExternalSuggestionNote','span','EXTERNAL_SUGGESTION','acceptSuggestion','isActive','EXTERNAL_AVATAR','formatDateTime','6901332MKJzIG','commentThread','ck-annotation__info','EXTERNAL_IMPORT_WORD_AVATAR','.ck-annotation__content-wrapper','2207836AKvrXF','ck-annotation__info-name','ck-suggestion__main','isEnabled','ck-comment__info-time','_model','ck-annotation__user','content','disableComments'];_0x3e0d=function(){return _0x42a3a4;};return _0x3e0d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x32e4a2,_0x5bf21c,_0x3bfad5){const t=_0x32e4a2['t'];switch(_0x5bf21c){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',_0x3bfad5);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3bfad5);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3bfad5);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3bfad5);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3bfad5);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',_0x3bfad5);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3bfad5);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',_0x3bfad5);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3bfad5);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3bfad5);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3bfad5);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3bfad5);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3bfad5);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3bfad5);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3bfad5);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3bfad5);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3bfad5);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3bfad5);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3bfad5);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3bfad5);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3bfad5);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3bfad5);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3bfad5);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3bfad5);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3bfad5);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3bfad5);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3bfad5);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3bfad5);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3bfad5);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3bfad5);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'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3bfad5);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'},_0x3bfad5);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3bfad5);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3bfad5);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'},_0x3bfad5);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'},_0x3bfad5);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 _0x5bf21c;}}
|
|
23
|
+
export function getTranslation(_0x933d1d,_0x55d455,_0x913c2a){const t=_0x933d1d['t'];switch(_0x55d455){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',_0x913c2a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x913c2a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x913c2a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x913c2a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x913c2a);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',_0x913c2a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x913c2a);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',_0x913c2a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x913c2a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x913c2a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x913c2a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x913c2a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x913c2a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x913c2a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x913c2a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x913c2a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x913c2a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x913c2a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x913c2a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x913c2a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x913c2a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x913c2a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x913c2a);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'},_0x913c2a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x913c2a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x913c2a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x913c2a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x913c2a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x913c2a);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'},_0x913c2a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x913c2a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x913c2a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x913c2a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x913c2a);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'},_0x913c2a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x913c2a);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'},_0x913c2a);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'},_0x913c2a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x913c2a);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'},_0x913c2a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x913c2a);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'},_0x913c2a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x913c2a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x913c2a);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'},_0x913c2a);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'},_0x913c2a);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 _0x55d455;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ab7bc,_0x190de5){const _0x5d64c9=_0x5a28,_0x4d0bdb=_0x4ab7bc();while(!![]){try{const _0x2d5361=-parseInt(_0x5d64c9(0x1e6))/0x1*(parseInt(_0x5d64c9(0x1f1))/0x2)+parseInt(_0x5d64c9(0x1e4))/0x3+parseInt(_0x5d64c9(0x20c))/0x4*(-parseInt(_0x5d64c9(0x1f6))/0x5)+parseInt(_0x5d64c9(0x202))/0x6+-parseInt(_0x5d64c9(0x201))/0x7*(parseInt(_0x5d64c9(0x1ed))/0x8)+parseInt(_0x5d64c9(0x1fa))/0x9*(-parseInt(_0x5d64c9(0x1ff))/0xa)+parseInt(_0x5d64c9(0x1f9))/0xb*(parseInt(_0x5d64c9(0x1fe))/0xc);if(_0x2d5361===_0x190de5)break;else _0x4d0bdb['push'](_0x4d0bdb['shift']());}catch(_0x286a97){_0x4d0bdb['push'](_0x4d0bdb['shift']());}}}(_0x59d3,0x52899));export function normalizeDescription(_0xd74c87){const _0x846b97=_0x5a28;return Array[_0x846b97(0x200)](_0xd74c87)||(_0xd74c87=[_0xd74c87]),_0xd74c87[_0x846b97(0x20d)](_0x5f880e=>{const _0x29486b=_0x846b97,_0x507757=_0x5f880e[_0x29486b(0x1f2)][_0x29486b(0x209)](/\*/g,''),_0x50c2e7=_0x5f880e[_0x29486b(0x1e7)]?_0x29486b(0x1ee)+_0x5f880e[_0x29486b(0x1e7)][_0x29486b(0x1e8)]+']':'';return'['+_0x5f880e[_0x29486b(0x1f0)]+']\x20'+_0x507757+_0x50c2e7;})[_0x846b97(0x1e9)](';\x20');}export function sortSuggestions(_0xd0c912){const _0x3c136c=_0x5a28;return _0xd0c912[_0x3c136c(0x206)]((_0x54ab51,_0x380c85)=>_0x3c136c(0x207)==_0x54ab51[_0x3c136c(0x1f0)]&&_0x3c136c(0x207)!=_0x380c85[_0x3c136c(0x1f0)]?-0x1:_0x3c136c(0x207)!=_0x54ab51[_0x3c136c(0x1f0)]&&_0x3c136c(0x207)==_0x380c85[_0x3c136c(0x1f0)]?0x1:0x0);}export function getSelectedSuggestions(_0x47d71e,_0x921751){const _0x3f1002=_0x5a28,_0x1f40e9=Array[_0x3f1002(0x1f3)](_0x47d71e[_0x3f1002(0x20a)]()),_0x5d5720=new Set();for(const _0x5db39e of _0x921751)if(_0x5db39e[_0x3f1002(0x20b)]){for(const _0x3f82c2 of _0x1f40e9)for(const _0x10ac02 of _0x5db39e[_0x3f1002(0x20a)]())(_0x3f82c2[_0x3f1002(0x204)](_0x10ac02)||_0x47d71e[_0x3f1002(0x1e5)]&&!_0x5db39e[_0x3f1002(0x208)]&&_0x5db39e[_0x3f1002(0x1e3)]&&_0x10ac02[_0x3f1002(0x20e)][_0x3f1002(0x1fc)](_0x3f82c2[_0x3f1002(0x1f8)]))&&_0x5d5720[_0x3f1002(0x1eb)](_0x5db39e);}return _0x5d5720;}export function getRangesOfBlockGroups(_0x5728d3,_0x39ecec){const _0x29f2bb=_0x5a28;let _0x5d9af7,_0x14e9b4=0x0;const _0x18e5e8=[],_0x406c6e=_0x39ecec[_0x29f2bb(0x1e2)];for(;_0x14e9b4<_0x5728d3[_0x29f2bb(0x203)];){const _0x1c3c18=_0x5728d3[_0x14e9b4],_0x410b5b=_0x5728d3[_0x14e9b4+0x1];_0x5d9af7||(_0x5d9af7=_0x39ecec[_0x29f2bb(0x1ea)](_0x1c3c18)),co(_0x39ecec,_0x1c3c18,_0x410b5b)||(_0x18e5e8[_0x29f2bb(0x1f5)](_0x39ecec[_0x29f2bb(0x1f4)](_0x5d9af7,_0x406c6e[_0x29f2bb(0x1ef)](_0x1c3c18)?_0x39ecec[_0x29f2bb(0x1fb)](_0x1c3c18):_0x39ecec[_0x29f2bb(0x1ec)](_0x1c3c18,_0x29f2bb(0x20e)))),_0x5d9af7=null),_0x14e9b4++;}return _0x18e5e8;}function _0x5a28(_0x3857fd,_0x10c98b){const _0x59d39b=_0x59d3();return _0x5a28=function(_0x5a28e2,_0x9eac44){_0x5a28e2=_0x5a28e2-0x1e2;let _0x107122=_0x59d39b[_0x5a28e2];return _0x107122;},_0x5a28(_0x3857fd,_0x10c98b);}function co(_0x33b394,_0x512894,_0x17b041){const _0x4cef31=_0x5a28;if(!_0x17b041)return!0x1;const _0x37301a=_0x33b394[_0x4cef31(0x1fb)](_0x512894),_0x360af7=_0x33b394[_0x4cef31(0x1ea)](_0x17b041);return _0x37301a[_0x4cef31(0x1fc)](_0x360af7);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x40ab95,_0x4b9975,_0x3f9f8c){const _0x6eeb88=_0x5a28;for(;_0x3f9f8c[_0x6eeb88(0x203)];){const _0x4cc82e=_0x3f9f8c[_0x6eeb88(0x205)](0x0,0x64);_0x40ab95[_0x6eeb88(0x1fd)](()=>{const _0x5a6cf1=_0x6eeb88;for(const _0x8b110d of _0x4cc82e)_0x8b110d[_0x5a6cf1(0x20b)]&&_0x4b9975[_0x5a6cf1(0x1f7)](_0x8b110d['id']);});}}function _0x59d3(){const _0xba723b=['change','7172364QoiwBU','4790GGAJrI','isArray','1863806ZnyJjl','1428504wmDNma','length','isIntersecting','splice','sort','deletion','isMultiRange','replace','getRanges','isInContent','12btLYmq','map','end','schema','next','1424880CkyURE','isCollapsed','3ESZlAy','color','value','join','createPositionBefore','add','createPositionAt','8WrlZHC','\x20[color\x20','isObject','type','384514jHSpVc','content','from','createRange','push','700495StLewf','execute','start','22IaqCWr','5769cYKKTS','createPositionAfter','isTouching'];_0x59d3=function(){return _0xba723b;};return _0x59d3();}
|