@ckeditor/ckeditor5-track-changes 43.3.0-alpha.7 → 43.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/ti.js +1 -1
- package/dist/translations/ti.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/ug.js +1 -1
- package/dist/translations/ug.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/uz.js +1 -1
- package/dist/translations/uz.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 +10 -10
- 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/mergefields.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/ui/view/suggestionview.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 _0x555ec4=_0x16bc;(function(_0x252497,_0x4ab3e9){const _0x1924ce=_0x16bc,_0x33fa12=_0x252497();while(!![]){try{const _0x2823ad=-parseInt(_0x1924ce(0xb8))/0x1*(-parseInt(_0x1924ce(0x12b))/0x2)+-parseInt(_0x1924ce(0x11c))/0x3*(parseInt(_0x1924ce(0xd8))/0x4)+parseInt(_0x1924ce(0xc7))/0x5+parseInt(_0x1924ce(0xdd))/0x6+parseInt(_0x1924ce(0xe2))/0x7*(parseInt(_0x1924ce(0xdf))/0x8)+-parseInt(_0x1924ce(0xd1))/0x9+-parseInt(_0x1924ce(0x13b))/0xa*(parseInt(_0x1924ce(0xc6))/0xb);if(_0x2823ad===_0x4ab3e9)break;else _0x33fa12['push'](_0x33fa12['shift']());}catch(_0x40ea23){_0x33fa12['push'](_0x33fa12['shift']());}}}(_0x1bda,0x61610));import{Plugin as _0x58570b}from'ckeditor5/src/core.js';import{Collection as _0x141fac}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x19288d,createDropdown as _0x221214,ListSeparatorView as _0x278524,MenuBarMenuView as _0x5e6e99,MenuBarMenuListView as _0x2c14d6,MenuBarMenuListItemView as _0x394ca6,MenuBarMenuListItemButtonView as _0x3cb7a7,SplitButtonView as _0x380d18,ViewModel as _0x28b2be}from'ckeditor5/src/ui.js';function _0x1bda(){const _0x3acf4a=['discardAllSuggestions','registerAnnotation','some','getDescriptions','hasSuggestion','execute','separator','comments.maxCommentCharsWhenCollapsed','262MtOetY','add','_disableComments','EditorAnnotations','escape','_handleSuggestionControllerDelayed','_unbindEditors','source','suggestion-','bind','suggestionUnloaded','isOfficialPlugin','delete','switchbutton','define','_destroyController','226890qVCBwF','items','head','acceptAllSuggestions','init','getJoined','push','type','_viewToController','descriptionParts','suggestionChanged','comments','_addUIComponentsToFactory','actionView','acceptSelectedSuggestions','createCommentThreadController','isMultiRange','isPremiumPlugin','menuBar:trackChanges','_handleControllerBuffer','filter','size','reduce','4897FpMiqH','componentFactory','config','activeAnnotations','_suggestionToController','children','Discard\x20all\x20selected\x20suggestions','Accept\x20all\x20selected\x20suggestions','getAllAdjacentSuggestions','toMany','getMarkerNames','set','addSourceCollector','isEnabled','110TGZVvb','938080TZyAFX','mainView','isDirty','trackChanges.SuggestionThreadView','_refreshActiveMarkers','panelView','getRanges','acceptButton','clear','_bindAnnotationToEditors','5635116rdyVgo','commentThread','locale','discardSelectedSuggestions','arrowView','addComment','unbind','5100bfCEKO','SuggestionThreadView','createAnnotationView','refreshSelectedViews','menu','2010174vCpnRS','descriptionFactory','30048FJoMTg','menuitem','menuitemcheckbox','672dbUzdB','change:previous','lowest','_createMenuBarMenu','_updateController','Discard\x20all\x20suggestions','button','trackChanges','discardButton','editing','model','commentsListView','activeMarkers','destroy','CommentsRepository','trackChanges.disableComments','buttonView','SuggestionView','_initializeController','value','commandName','CommentView','remove','getMarkers','pluginName','_createToolbarButton','has','Annotations','delegate','commands','innerView','_annotationViews','get','stopListening','comments.editorConfig','getFirstRange','listenTo','from','suggestionLoaded','editor','suggestionView','isInContent','createAnnotation','comments.maxCommentsWhenCollapsed','TrackChangesUI','previous','change:activeAnnotations','getByInnerView','getSuggestion','keys','length','Accept\x20all\x20suggestions','values','CommentsUI','focus','isOn','view','plugins','642oBdOSi','Track\x20changes','fire','requires','comments.maxThreadTotalWeight','trackChanges.SuggestionView','TrackChangesEditing'];_0x1bda=function(){return _0x3acf4a;};return _0x1bda();}import{Users as _0x31bc68,getDateTimeFormatter as _0x1115c1,getAllMarkersDomElementsSorted as _0x12d024}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5ded1e from'./trackchangesediting.js';import _0xa20566 from'./ui/suggestioncontroller.js';import _0xb96697 from'./ui/view/suggestionthreadview.js';import _0x42afd6 from'./ui/view/suggestionview.js';import{getTranslation as _0x43a715}from'./utils/common-translations.js';import _0x3804de from'../theme/icons/track-changes.svg';export default class d extends _0x58570b{static get[_0x555ec4(0x11f)](){const _0x48b60d=_0x555ec4;return[_0x5ded1e,_0x31bc68,_0x48b60d(0xf0),_0x48b60d(0xfd),_0x48b60d(0x12e)];}static get[_0x555ec4(0xfa)](){const _0x580d8f=_0x555ec4;return _0x580d8f(0x10e);}static get[_0x555ec4(0x136)](){return!0x0;}static get[_0x555ec4(0x14c)](){return!0x0;}constructor(_0x3e0634){const _0x3d018e=_0x555ec4;super(_0x3e0634),this[_0x3d018e(0xbc)]=new Map(),this[_0x3d018e(0x143)]=new Map(),this[_0x3d018e(0x101)]=new Map(),this[_0x3d018e(0xb4)]=new Map();const _0x219c68=this[_0x3d018e(0x109)][_0x3d018e(0xba)];_0x219c68[_0x3d018e(0x139)](_0x3d018e(0xca),_0xb96697),_0x219c68[_0x3d018e(0x139)](_0x3d018e(0x121),_0x42afd6),_0x219c68[_0x3d018e(0x139)](_0x3d018e(0xf1),!0x1),this[_0x3d018e(0x12d)]=_0x219c68[_0x3d018e(0x102)](_0x3d018e(0xf1));}[_0x555ec4(0x130)](_0x27f930,_0xffb40c){const _0x476fd9=_0x555ec4;0x0===this[_0x476fd9(0xb4)][_0x476fd9(0xb6)]&&setTimeout(()=>{const _0xf40c31=_0x476fd9;for(const [_0x1bd8d6,_0x1b33d0]of this[_0xf40c31(0xb4)]){const _0x226246=this[_0xf40c31(0xbc)][_0xf40c31(0xfc)](_0x1bd8d6);_0x226246||_0x1b33d0?_0x226246&&_0x1b33d0&&this[_0xf40c31(0x13a)](_0x1bd8d6):this[_0xf40c31(0xf4)](_0x1bd8d6);}this[_0xf40c31(0xb4)][_0xf40c31(0xcf)](),this[_0xf40c31(0x109)][_0xf40c31(0x11b)][_0xf40c31(0x102)](_0xf40c31(0x12e))[_0xf40c31(0xdb)](),this[_0xf40c31(0xcb)]();},0xa),this[_0x476fd9(0xb4)][_0x476fd9(0xc3)](_0x27f930,_0xffb40c);}[_0x555ec4(0x13f)](){const _0x282e6b=_0x555ec4,_0x598d52=this[_0x282e6b(0x109)],_0x367053=_0x598d52[_0x282e6b(0x11b)][_0x282e6b(0x102)](_0x282e6b(0x122)),_0x20a114=_0x598d52[_0x282e6b(0x11b)][_0x282e6b(0x102)](_0x282e6b(0xfd)),_0xf971a1=_0x598d52[_0x282e6b(0x11b)][_0x282e6b(0x102)](_0x282e6b(0x12e)),_0x37f6aa=_0x598d52[_0x282e6b(0x11b)][_0x282e6b(0x102)](_0x282e6b(0xf0));this[_0x282e6b(0x147)](),_0xf971a1[_0x282e6b(0xc4)](()=>{const _0x5f1643=_0x282e6b,_0x1ac870=[];for(const [_0x2a520c,_0x3c6c41]of Array[_0x5f1643(0x107)](this[_0x5f1643(0xbc)])){const _0x11a7df=_0x2a520c[_0x5f1643(0xc0)](),_0x603a06=[];for(const _0x3f4781 of _0x11a7df){if(!_0x3f4781[_0x5f1643(0x10b)])continue;if(_0x3f4781[_0x5f1643(0x14b)]){_0x603a06[_0x5f1643(0x141)](..._0x3f4781[_0x5f1643(0xcd)]());continue;}const _0x3fe7bd=_0x3f4781[_0x5f1643(0x105)]();if(_0x603a06[_0x5f1643(0x114)]>0x0){const _0x2cf7a0=_0x603a06[0x0][_0x5f1643(0x140)](_0x3fe7bd);if(_0x2cf7a0){_0x603a06[0x0]=_0x2cf7a0;continue;}}_0x603a06[_0x5f1643(0x141)](_0x3fe7bd);}_0x1ac870[_0x5f1643(0x141)]([_0x3c6c41[_0x5f1643(0x11a)],_0x603a06]);}return _0x1ac870;}),this[_0x282e6b(0x106)](_0x367053,_0x282e6b(0x108),(_0x25a9a2,_0x4347fd)=>{const _0x4fd246=_0x282e6b;this[_0x4fd246(0x106)](_0x4347fd,_0x4fd246(0xe3),(_0x4e75c4,_0x4cc973,_0x488cbf,_0xf2ca4c)=>{const _0x900faf=_0x4fd246;_0x4347fd[_0x900faf(0x10b)]&&(null==_0x488cbf?(this[_0x900faf(0xe6)](_0xf2ca4c[_0x900faf(0x13d)]),this[_0x900faf(0x130)](_0x4347fd,!0x1)):(this[_0x900faf(0xe6)](_0x488cbf[_0x900faf(0x13d)]),null==_0xf2ca4c&&this[_0x900faf(0x130)](_0x4347fd,!0x0)));}),null!==_0x4347fd[_0x4fd246(0x10f)]?this[_0x4fd246(0xe6)](_0x4347fd[_0x4fd246(0x13d)]):this[_0x4fd246(0x130)](_0x4347fd,!0x1);}),this[_0x282e6b(0x106)](_0x367053,_0x282e6b(0x135),(_0x38136e,_0x23554f,_0x599cf8)=>{const _0x3c35f3=_0x282e6b;this[_0x3c35f3(0x103)](_0x23554f,_0x3c35f3(0xe3)),this[_0x3c35f3(0xb4)][_0x3c35f3(0x137)](_0x23554f),this[_0x3c35f3(0xbc)][_0x3c35f3(0xfc)](_0x23554f)&&this[_0x3c35f3(0x13a)](_0x23554f),_0x599cf8&&this[_0x3c35f3(0xe6)](_0x599cf8[_0x3c35f3(0x13d)]);}),this[_0x282e6b(0x106)](_0x367053,_0x282e6b(0x145),(_0x3b0513,_0x566056)=>{const _0x12ab58=_0x282e6b;this[_0x12ab58(0xe6)](_0x566056);}),this[_0x282e6b(0x106)](_0x20a114,_0x282e6b(0x110),()=>{const _0x2cd265=_0x282e6b;this[_0x2cd265(0xcb)]();}),this[_0x282e6b(0x106)](_0x37f6aa,_0x282e6b(0xd6),(_0x589cff,{threadId:_0x42366a,isFromAdapter:_0x37a743})=>{const _0x30d5aa=_0x282e6b;if(_0x37a743||!_0x367053[_0x30d5aa(0x127)](_0x42366a))return;const _0x1975bc=_0x367053[_0x30d5aa(0x112)](_0x42366a);this[_0x30d5aa(0xbc)][_0x30d5aa(0x102)](_0x1975bc)[_0x30d5aa(0x11a)][_0x30d5aa(0xed)][_0x30d5aa(0x118)](-0x1);},{'priority':_0x282e6b(0xe4)});}[_0x555ec4(0xcb)](){const _0x24155c=_0x555ec4,_0x750767=this[_0x24155c(0x109)][_0x24155c(0x11b)][_0x24155c(0x102)](_0x24155c(0xfd)),_0x336a4f=this[_0x24155c(0x109)][_0x24155c(0x11b)][_0x24155c(0x102)](_0x24155c(0x122)),_0x210fed=Array[_0x24155c(0x107)](_0x750767[_0x24155c(0xbb)],_0x578787=>_0x578787[_0x24155c(0x100)])[_0x24155c(0xb5)](_0x29edb3=>this[_0x24155c(0x143)][_0x24155c(0xfc)](_0x29edb3)),_0x24ea4a=[];for(const _0x264566 of _0x210fed){const _0x4a56ca=this[_0x24155c(0x143)][_0x24155c(0x102)](_0x264566)[_0x24155c(0xec)][_0x24155c(0xc0)]();_0x24ea4a[_0x24155c(0x141)](..._0x4a56ca[_0x24155c(0xb7)]((_0x344b05,_0x1a90a9)=>[..._0x344b05,..._0x1a90a9[_0x24155c(0xc2)]()],[]));}_0x336a4f[_0x24155c(0xee)]=_0x24ea4a;}[_0x555ec4(0x147)](){const _0x35af3f=_0x555ec4,_0x50b7c7=this[_0x35af3f(0x109)],_0x4e2867=_0x50b7c7[_0x35af3f(0xd3)],_0x567946=_0x43a715(_0x4e2867,_0x35af3f(0x11d)),_0x513afe=new _0x141fac([{'type':_0x35af3f(0x138),'model':new _0x28b2be({'withText':!0x0,'isToggleable':!0x0,'label':_0x567946,'commandName':_0x35af3f(0xe9),'role':_0x35af3f(0xe1)})},{'type':_0x35af3f(0x129)},{'type':_0x35af3f(0xe8),'model':new _0x28b2be({'withText':!0x0,'label':_0x43a715(_0x4e2867,_0x35af3f(0x115)),'commandName':_0x35af3f(0x13e),'role':_0x35af3f(0xe0)})},{'type':_0x35af3f(0xe8),'model':new _0x28b2be({'withText':!0x0,'label':_0x43a715(_0x4e2867,_0x35af3f(0xbf)),'commandName':_0x35af3f(0x149),'role':_0x35af3f(0xe0)})},{'type':_0x35af3f(0xe8),'model':new _0x28b2be({'withText':!0x0,'label':_0x43a715(_0x4e2867,_0x35af3f(0xe7)),'commandName':_0x35af3f(0x123),'role':_0x35af3f(0xe0)})},{'type':_0x35af3f(0xe8),'model':new _0x28b2be({'withText':!0x0,'label':_0x43a715(_0x4e2867,_0x35af3f(0xbe)),'commandName':_0x35af3f(0xd4),'role':_0x35af3f(0xe0)})}]);for(const _0x18f173 of _0x513afe)if(me(_0x18f173)){const _0x27596f=_0x50b7c7[_0x35af3f(0xff)][_0x35af3f(0x102)](_0x18f173[_0x35af3f(0xec)][_0x35af3f(0xf6)]);_0x18f173[_0x35af3f(0xec)][_0x35af3f(0x134)](_0x35af3f(0x119),_0x35af3f(0xc5))['to'](_0x27596f,_0x35af3f(0xf5),_0x35af3f(0xc5));}_0x50b7c7['ui'][_0x35af3f(0xb9)][_0x35af3f(0x12c)](_0x35af3f(0xe9),_0x440810=>this[_0x35af3f(0xfb)](_0x440810,_0x513afe,_0x567946)),_0x50b7c7['ui'][_0x35af3f(0xb9)][_0x35af3f(0x12c)](_0x35af3f(0x14d),_0x2559c2=>this[_0x35af3f(0xe5)](_0x2559c2,_0x513afe,_0x567946));}[_0x555ec4(0xfb)](_0x23bc81,_0x11a689,_0x46466e){const _0x2d49c2=_0x555ec4,_0x15bd98=_0x221214(_0x23bc81,_0x380d18),_0x446f02=this[_0x2d49c2(0x109)][_0x2d49c2(0xff)][_0x2d49c2(0x102)](_0x2d49c2(0xe9));_0x15bd98[_0x2d49c2(0xf2)][_0x2d49c2(0xc3)]({'tooltip':_0x46466e,'label':_0x46466e,'icon':_0x3804de}),_0x15bd98[_0x2d49c2(0xf2)][_0x2d49c2(0x134)](_0x2d49c2(0x119))['to'](_0x446f02,_0x2d49c2(0xf5)),_0x15bd98[_0x2d49c2(0xf2)]['on'](_0x2d49c2(0x128),()=>{const _0x4bd346=_0x2d49c2;_0x446f02[_0x4bd346(0x128)](),this[_0x4bd346(0x109)][_0x4bd346(0xeb)][_0x4bd346(0x11a)][_0x4bd346(0x118)]();}),_0x19288d(_0x15bd98,_0x11a689,{'role':_0x2d49c2(0xdc)});const _0x491048=[];for(const _0x5c5d8f of _0x11a689)me(_0x5c5d8f)&&_0x491048[_0x2d49c2(0x141)](this[_0x2d49c2(0x109)][_0x2d49c2(0xff)][_0x2d49c2(0x102)](_0x5c5d8f[_0x2d49c2(0xec)][_0x2d49c2(0xf6)]));const _0x55db32=_0x15bd98[_0x2d49c2(0xf2)];return _0x55db32[_0x2d49c2(0x148)][_0x2d49c2(0xd7)](_0x2d49c2(0xc5)),_0x55db32[_0x2d49c2(0xd5)][_0x2d49c2(0xd7)](_0x2d49c2(0xc5)),_0x55db32[_0x2d49c2(0x148)][_0x2d49c2(0x134)](_0x2d49c2(0xc5))['to'](_0x446f02,_0x2d49c2(0xc5)),_0x55db32[_0x2d49c2(0xd5)][_0x2d49c2(0x134)](_0x2d49c2(0xc5))[_0x2d49c2(0xc1)](_0x491048,_0x2d49c2(0xc5),(..._0x50f799)=>_0x50f799[_0x2d49c2(0x125)](_0x314c1e=>_0x314c1e)),_0x15bd98['on'](_0x2d49c2(0x128),_0x7b24dc=>{const _0x4c95d7=_0x2d49c2;this[_0x4c95d7(0x109)][_0x4c95d7(0x128)](_0x7b24dc[_0x4c95d7(0x132)][_0x4c95d7(0xf6)]),this[_0x4c95d7(0x109)][_0x4c95d7(0xeb)][_0x4c95d7(0x11a)][_0x4c95d7(0x118)]();}),_0x15bd98;}[_0x555ec4(0xe5)](_0x56fa08,_0x39df84,_0x358515){const _0x34bb41=_0x555ec4,_0x2d0bb8=new _0x5e6e99(_0x56fa08),_0x8f7caa=this[_0x34bb41(0x109)][_0x34bb41(0xff)][_0x34bb41(0x102)](_0x34bb41(0xe9));_0x2d0bb8[_0x34bb41(0xf2)][_0x34bb41(0xc3)]({'label':_0x358515,'icon':_0x3804de});const _0x20e61b=new _0x2c14d6(_0x56fa08);for(const _0x1af4b3 of _0x39df84){if(_0x34bb41(0x129)==_0x1af4b3[_0x34bb41(0x142)]){_0x20e61b[_0x34bb41(0x13c)][_0x34bb41(0x12c)](new _0x278524(_0x56fa08));continue;}const _0x1eaedc=new _0x394ca6(_0x56fa08,_0x2d0bb8),_0xc92a08=new _0x3cb7a7(_0x56fa08),_0x3a8391=_0x1af4b3[_0x34bb41(0xec)];_0xc92a08[_0x34bb41(0x134)](...Object[_0x34bb41(0x113)](_0x3a8391))['to'](_0x3a8391),_0xc92a08[_0x34bb41(0xfe)](_0x34bb41(0x128))['to'](_0x2d0bb8),_0xc92a08['on'](_0x34bb41(0x128),()=>{const _0x2582ce=_0x34bb41;this[_0x2582ce(0x109)][_0x2582ce(0x128)](_0x3a8391[_0x2582ce(0xf6)]),this[_0x2582ce(0x109)][_0x2582ce(0xeb)][_0x2582ce(0x11a)][_0x2582ce(0x118)]();}),_0x1eaedc[_0x34bb41(0xbd)][_0x34bb41(0x12c)](_0xc92a08),_0x20e61b[_0x34bb41(0x13c)][_0x34bb41(0x12c)](_0x1eaedc);}return _0x2d0bb8[_0x34bb41(0x134)](_0x34bb41(0xc5))['to'](_0x8f7caa,_0x34bb41(0xc5)),_0x2d0bb8[_0x34bb41(0xcc)][_0x34bb41(0xbd)][_0x34bb41(0x12c)](_0x20e61b),_0x2d0bb8;}[_0x555ec4(0xf4)](_0x1fd8d0){const _0x51e56c=_0x555ec4,_0x31a9d9=this[_0x51e56c(0x109)],_0x4450a5=_0x31a9d9[_0x51e56c(0xba)],_0x2345bf=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0xfd)),_0x325630=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0xf0)),_0x2a8551=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0x12e)),_0x546c93=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x31bc68)['me'],_0x55869c=_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0xe9))[_0x51e56c(0xd9)],_0x1ba13c=_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0xe9))[_0x51e56c(0xf3)],{CommentsListView:_0x232802,CommentThreadInputView:_0x3bc40b}=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0x117));let _0x12d527,_0x3edca3,_0x136d0d;this[_0x51e56c(0x101)][_0x51e56c(0xfc)](_0x1fd8d0['id'])?(_0x3edca3=this[_0x51e56c(0x101)][_0x51e56c(0x102)](_0x1fd8d0['id']),_0x12d527=_0x3edca3[_0x51e56c(0xc8)]):(_0x12d527=new _0x55869c(_0x31a9d9[_0x51e56c(0xd3)],_0x1fd8d0,_0x546c93,{'disableComments':this[_0x51e56c(0x12d)],'editorConfig':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x104)),'maxCommentsWhenCollapsed':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x10d)),'maxThreadTotalWeight':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x120)),'maxCommentCharsWhenCollapsed':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x12a)),'formatDateTime':_0x1115c1(_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0xd3))),'CommentView':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x146))[_0x51e56c(0xf7)],'CommentsListView':_0x232802,'CommentThreadInputView':_0x3bc40b,'SuggestionView':_0x1ba13c}),_0x12d527[_0x51e56c(0x10a)][_0x51e56c(0xce)]['on'](_0x51e56c(0x128),()=>{const _0x244088=_0x51e56c;_0x31a9d9[_0x244088(0xeb)][_0x244088(0x11a)][_0x244088(0x118)]();}),_0x12d527[_0x51e56c(0x10a)][_0x51e56c(0xea)]['on'](_0x51e56c(0x128),()=>{const _0x266c74=_0x51e56c;_0x31a9d9[_0x266c74(0xeb)][_0x266c74(0x11a)][_0x266c74(0x118)]();}),_0x3edca3=_0x2345bf[_0x51e56c(0xda)](this[_0x51e56c(0x109)][_0x51e56c(0xd3)],_0x12d527),_0x3edca3[_0x51e56c(0x134)](_0x51e56c(0xc9))['to'](_0x12d527,_0x51e56c(0xc9)),_0x3edca3[_0x51e56c(0x134)](_0x51e56c(0x114))['to'](_0x12d527),_0x3edca3[_0x51e56c(0x134)](_0x51e56c(0x142))['to'](_0x12d527,_0x51e56c(0x142),_0x1cf179=>_0x51e56c(0x133)+_0x1cf179),_0x12d527['on'](_0x51e56c(0x12f),()=>{const _0x114020=_0x51e56c;_0x136d0d[_0x114020(0x11e)](_0x114020(0x12f));}),this[_0x51e56c(0x101)][_0x51e56c(0xc3)](_0x1fd8d0['id'],_0x3edca3));const _0x360b16=_0x325630[_0x51e56c(0x14a)](_0x1fd8d0[_0x51e56c(0xd2)],_0x12d527),_0x487166=new _0xa20566(_0x31a9d9,_0x1fd8d0,_0x12d527,_0x360b16),_0x2f3937=_0x1fd8d0[_0x51e56c(0xc0)]()[_0x51e56c(0xb5)](_0x23a2d2=>_0x23a2d2[_0x51e56c(0x10b)]);_0x12d527[_0x51e56c(0x144)]=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0x122))[_0x51e56c(0xde)][_0x51e56c(0x126)](_0x2f3937),this[_0x51e56c(0xbc)][_0x51e56c(0xc3)](_0x1fd8d0,_0x487166),this[_0x51e56c(0x143)][_0x51e56c(0xc3)](_0x12d527,_0x487166),_0x136d0d=_0x2345bf[_0x51e56c(0x10c)]({'view':_0x3edca3,'target':()=>{const _0x19b105=_0x51e56c,_0x1697e7=[],_0x4a5858=_0x1fd8d0[_0x19b105(0xc0)]()[_0x19b105(0xb5)](_0x25273a=>_0x25273a[_0x19b105(0x10b)]);for(const _0xe33e92 of _0x4a5858)_0x1697e7[_0x19b105(0x141)](..._0xe33e92[_0x19b105(0xf9)]());return _0x12d024(_0x31a9d9[_0x19b105(0xeb)],_0x1697e7);},'type':()=>_0x51e56c(0x133)+_0x487166[_0x51e56c(0x11a)][_0x51e56c(0x142)]}),_0x325630[_0x51e56c(0xd0)](_0x12d527,_0x136d0d),_0x2345bf[_0x51e56c(0x12c)](_0x136d0d),_0x2a8551[_0x51e56c(0x124)](_0x136d0d);}[_0x555ec4(0x13a)](_0x33b559){const _0x4085bb=_0x555ec4,_0x475e0f=this[_0x4085bb(0x109)][_0x4085bb(0x11b)][_0x4085bb(0x102)](_0x4085bb(0xf0)),_0xdfe26a=this[_0x4085bb(0x109)][_0x4085bb(0x11b)][_0x4085bb(0x102)](_0x4085bb(0xfd)),_0x3739c4=this[_0x4085bb(0xbc)][_0x4085bb(0x102)](_0x33b559),_0x3c035c=_0x3739c4[_0x4085bb(0x11a)],_0x487461=_0xdfe26a[_0x4085bb(0x111)](_0x3c035c);_0x475e0f[_0x4085bb(0x131)](_0x3c035c),_0x487461&&_0xdfe26a[_0x4085bb(0xf8)](_0x487461),this[_0x4085bb(0xbc)][_0x4085bb(0x137)](_0x33b559),this[_0x4085bb(0x143)][_0x4085bb(0x137)](_0x3c035c),_0x3739c4[_0x4085bb(0xef)]();}[_0x555ec4(0xe6)](_0x197d6b){const _0x9878bc=_0x555ec4;if(!_0x197d6b[_0x9878bc(0x10b)]||!this[_0x9878bc(0xbc)][_0x9878bc(0xfc)](_0x197d6b))return;const _0x384b16=this[_0x9878bc(0x109)][_0x9878bc(0x11b)][_0x9878bc(0x102)](_0x9878bc(0x122)),_0x2f3ac4=this[_0x9878bc(0xbc)][_0x9878bc(0x102)](_0x197d6b),_0x1758f9=_0x197d6b[_0x9878bc(0xc0)]();_0x2f3ac4[_0x9878bc(0x11a)][_0x9878bc(0x144)]=_0x384b16[_0x9878bc(0xde)][_0x9878bc(0x126)](_0x1758f9);}[_0x555ec4(0xef)](){const _0x5148db=_0x555ec4;for(const _0x1ac102 of this[_0x5148db(0xbc)][_0x5148db(0x113)]())this[_0x5148db(0x13a)](_0x1ac102);for(const _0x1dbd9e of this[_0x5148db(0x101)][_0x5148db(0x116)]())_0x1dbd9e[_0x5148db(0xc8)][_0x5148db(0xef)]();super[_0x5148db(0xef)]();}}function _0x16bc(_0x2d73a7,_0x1ee72a){const _0x1bdacd=_0x1bda();return _0x16bc=function(_0x16bc1e,_0xad05d7){_0x16bc1e=_0x16bc1e-0xb4;let _0x4eb319=_0x1bdacd[_0x16bc1e];return _0x4eb319;},_0x16bc(_0x2d73a7,_0x1ee72a);}function me(_0x431a64){const _0xad40c7=_0x555ec4;return _0xad40c7(0xec)in _0x431a64;}
|
|
23
|
+
const _0x5a1390=_0x3ff6;function _0x3ff6(_0x399509,_0x4532cd){const _0x59e778=_0x59e7();return _0x3ff6=function(_0x3ff66d,_0x5cceb4){_0x3ff66d=_0x3ff66d-0xd4;let _0x55ee5b=_0x59e778[_0x3ff66d];return _0x55ee5b;},_0x3ff6(_0x399509,_0x4532cd);}(function(_0xb4e39,_0x2553f0){const _0x3183ec=_0x3ff6,_0x289aff=_0xb4e39();while(!![]){try{const _0x5ddaa9=-parseInt(_0x3183ec(0x11e))/0x1+-parseInt(_0x3183ec(0x148))/0x2+parseInt(_0x3183ec(0x13b))/0x3+-parseInt(_0x3183ec(0x116))/0x4+-parseInt(_0x3183ec(0xd8))/0x5+parseInt(_0x3183ec(0x115))/0x6*(parseInt(_0x3183ec(0xdd))/0x7)+parseInt(_0x3183ec(0x125))/0x8;if(_0x5ddaa9===_0x2553f0)break;else _0x289aff['push'](_0x289aff['shift']());}catch(_0x5ab127){_0x289aff['push'](_0x289aff['shift']());}}}(_0x59e7,0x2ac4e));import{Plugin as _0x3870cd}from'ckeditor5/src/core.js';import{Collection as _0x4768c9}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x7b9a4b,createDropdown as _0x7d701d,ListSeparatorView as _0x3fc58a,MenuBarMenuView as _0x3702ef,MenuBarMenuListView as _0x44e347,MenuBarMenuListItemView as _0x5e686a,MenuBarMenuListItemButtonView as _0x3768aa,SplitButtonView as _0x21aeaa,ViewModel as _0x5f5d35}from'ckeditor5/src/ui.js';import{Users as _0x5d6a39,getDateTimeFormatter as _0x53c253,getAllMarkersDomElementsSorted as _0x3f213c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x281759 from'./trackchangesediting.js';import _0x71e9fb from'./ui/suggestioncontroller.js';import _0x232dd2 from'./ui/view/suggestionthreadview.js';import _0x5dcc78 from'./ui/view/suggestionview.js';import{getTranslation as _0x3ffb83}from'./utils/common-translations.js';import _0x1fc271 from'../theme/icons/track-changes.svg';export default class d extends _0x3870cd{static get[_0x5a1390(0x169)](){const _0x7e1143=_0x5a1390;return[_0x281759,_0x5d6a39,_0x7e1143(0x12f),_0x7e1143(0x166),_0x7e1143(0x11f)];}static get[_0x5a1390(0x13d)](){const _0x3aeac7=_0x5a1390;return _0x3aeac7(0x168);}static get[_0x5a1390(0xe0)](){return!0x0;}static get[_0x5a1390(0x130)](){return!0x0;}constructor(_0x1c807b){const _0x317ed0=_0x5a1390;super(_0x1c807b),this[_0x317ed0(0xed)]=new Map(),this[_0x317ed0(0x105)]=new Map(),this[_0x317ed0(0x12e)]=new Map(),this[_0x317ed0(0x113)]=new Map();const _0x3678a4=this[_0x317ed0(0x10e)][_0x317ed0(0xf0)];_0x3678a4[_0x317ed0(0xef)](_0x317ed0(0x10b),_0x232dd2),_0x3678a4[_0x317ed0(0xef)](_0x317ed0(0x153),_0x5dcc78),_0x3678a4[_0x317ed0(0xef)](_0x317ed0(0xdf),!0x1),this[_0x317ed0(0x132)]=_0x3678a4[_0x317ed0(0xea)](_0x317ed0(0xdf));}[_0x5a1390(0x152)](_0x3f0c6d,_0x3bebf4){const _0x30028c=_0x5a1390;0x0===this[_0x30028c(0x113)][_0x30028c(0xf9)]&&setTimeout(()=>{const _0x1e267a=_0x30028c;for(const [_0xe72c8,_0x214dad]of this[_0x1e267a(0x113)]){const _0x3e2b6a=this[_0x1e267a(0xed)][_0x1e267a(0x111)](_0xe72c8);_0x3e2b6a||_0x214dad?_0x3e2b6a&&_0x214dad&&this[_0x1e267a(0xd6)](_0xe72c8):this[_0x1e267a(0x13f)](_0xe72c8);}this[_0x1e267a(0x113)][_0x1e267a(0x119)](),this[_0x1e267a(0x10e)][_0x1e267a(0xf6)][_0x1e267a(0xea)](_0x1e267a(0x11f))[_0x1e267a(0xe1)](),this[_0x1e267a(0x13e)]();},0xa),this[_0x30028c(0x113)][_0x30028c(0x160)](_0x3f0c6d,_0x3bebf4);}[_0x5a1390(0x10a)](){const _0x1fc30a=_0x5a1390,_0x14ef6c=this[_0x1fc30a(0x10e)],_0x194611=_0x14ef6c[_0x1fc30a(0xf6)][_0x1fc30a(0xea)](_0x1fc30a(0xde)),_0x4dac16=_0x14ef6c[_0x1fc30a(0xf6)][_0x1fc30a(0xea)](_0x1fc30a(0x166)),_0x14d2b4=_0x14ef6c[_0x1fc30a(0xf6)][_0x1fc30a(0xea)](_0x1fc30a(0x11f)),_0x520748=_0x14ef6c[_0x1fc30a(0xf6)][_0x1fc30a(0xea)](_0x1fc30a(0x12f));this[_0x1fc30a(0x13a)](),_0x14d2b4[_0x1fc30a(0xf2)](()=>{const _0x25242b=_0x1fc30a,_0x3d7172=[];for(const [_0x50289c,_0x2ed21c]of Array[_0x25242b(0x155)](this[_0x25242b(0xed)])){const _0x26937a=_0x50289c[_0x25242b(0x124)](),_0x474680=[];for(const _0x247038 of _0x26937a){if(!_0x247038[_0x25242b(0x128)])continue;if(_0x247038[_0x25242b(0x146)]){_0x474680[_0x25242b(0xee)](..._0x247038[_0x25242b(0xe5)]());continue;}const _0x3c22f4=_0x247038[_0x25242b(0xd4)]();if(_0x474680[_0x25242b(0x157)]>0x0){const _0x41011d=_0x474680[0x0][_0x25242b(0x127)](_0x3c22f4);if(_0x41011d){_0x474680[0x0]=_0x41011d;continue;}}_0x474680[_0x25242b(0xee)](_0x3c22f4);}_0x3d7172[_0x25242b(0xee)]([_0x2ed21c[_0x25242b(0x11d)],_0x474680]);}return _0x3d7172;}),this[_0x1fc30a(0x15e)](_0x194611,_0x1fc30a(0x144),(_0x83a06a,_0x31ee29)=>{const _0x4f8bb1=_0x1fc30a;this[_0x4f8bb1(0x15e)](_0x31ee29,_0x4f8bb1(0x13c),(_0x1264cb,_0x4ee1f,_0x1ce49d,_0x25dc06)=>{const _0x406c75=_0x4f8bb1;_0x31ee29[_0x406c75(0x128)]&&(null==_0x1ce49d?(this[_0x406c75(0x100)](_0x25dc06[_0x406c75(0x138)]),this[_0x406c75(0x152)](_0x31ee29,!0x1)):(this[_0x406c75(0x100)](_0x1ce49d[_0x406c75(0x138)]),null==_0x25dc06&&this[_0x406c75(0x152)](_0x31ee29,!0x0)));}),null!==_0x31ee29[_0x4f8bb1(0xf3)]?this[_0x4f8bb1(0x100)](_0x31ee29[_0x4f8bb1(0x138)]):this[_0x4f8bb1(0x152)](_0x31ee29,!0x1);}),this[_0x1fc30a(0x15e)](_0x194611,_0x1fc30a(0xdc),(_0x1de660,_0x3c5853,_0x406355)=>{const _0x3ad839=_0x1fc30a;this[_0x3ad839(0x156)](_0x3c5853,_0x3ad839(0x13c)),this[_0x3ad839(0x113)][_0x3ad839(0xfa)](_0x3c5853),this[_0x3ad839(0xed)][_0x3ad839(0x111)](_0x3c5853)&&this[_0x3ad839(0xd6)](_0x3c5853),_0x406355&&this[_0x3ad839(0x100)](_0x406355[_0x3ad839(0x138)]);}),this[_0x1fc30a(0x15e)](_0x194611,_0x1fc30a(0x161),(_0x5243cc,_0x24e16b)=>{const _0x13e577=_0x1fc30a;this[_0x13e577(0x100)](_0x24e16b);}),this[_0x1fc30a(0x15e)](_0x4dac16,_0x1fc30a(0x114),()=>{const _0x4a4b31=_0x1fc30a;this[_0x4a4b31(0x13e)]();}),this[_0x1fc30a(0x15e)](_0x520748,_0x1fc30a(0x108),(_0x11c125,{threadId:_0x5dc37b,isFromAdapter:_0x531a0f})=>{const _0x457a97=_0x1fc30a;if(_0x531a0f||!_0x194611[_0x457a97(0x123)](_0x5dc37b))return;const _0x6c7614=_0x194611[_0x457a97(0x151)](_0x5dc37b);this[_0x457a97(0xed)][_0x457a97(0xea)](_0x6c7614)[_0x457a97(0x11d)][_0x457a97(0x140)][_0x457a97(0x109)](-0x1);},{'priority':_0x1fc30a(0xe2)});}[_0x5a1390(0x13e)](){const _0xda043d=_0x5a1390,_0x3368d8=this[_0xda043d(0x10e)][_0xda043d(0xf6)][_0xda043d(0xea)](_0xda043d(0x166)),_0x2395b2=this[_0xda043d(0x10e)][_0xda043d(0xf6)][_0xda043d(0xea)](_0xda043d(0xde)),_0x2a333a=Array[_0xda043d(0x155)](_0x3368d8[_0xda043d(0xeb)],_0x5db71f=>_0x5db71f[_0xda043d(0x118)])[_0xda043d(0x110)](_0x34a53a=>this[_0xda043d(0x105)][_0xda043d(0x111)](_0x34a53a)),_0x1b6866=[];for(const _0x4d11fd of _0x2a333a){const _0x2db843=this[_0xda043d(0x105)][_0xda043d(0xea)](_0x4d11fd)[_0xda043d(0x133)][_0xda043d(0x124)]();_0x1b6866[_0xda043d(0xee)](..._0x2db843[_0xda043d(0x136)]((_0x540955,_0x7f2509)=>[..._0x540955,..._0x7f2509[_0xda043d(0x139)]()],[]));}_0x2395b2[_0xda043d(0x107)]=_0x1b6866;}[_0x5a1390(0x13a)](){const _0x37feff=_0x5a1390,_0x56cc9f=this[_0x37feff(0x10e)],_0x19eafb=_0x56cc9f[_0x37feff(0x15b)],_0x34ccfa=_0x3ffb83(_0x19eafb,_0x37feff(0x143)),_0x360810=new _0x4768c9([{'type':_0x37feff(0x10d),'model':new _0x5f5d35({'withText':!0x0,'isToggleable':!0x0,'label':_0x34ccfa,'commandName':_0x37feff(0xf4),'role':_0x37feff(0x15d)})},{'type':_0x37feff(0x11c)},{'type':_0x37feff(0x150),'model':new _0x5f5d35({'withText':!0x0,'label':_0x3ffb83(_0x19eafb,_0x37feff(0x14f)),'commandName':_0x37feff(0x137),'role':_0x37feff(0x112)})},{'type':_0x37feff(0x150),'model':new _0x5f5d35({'withText':!0x0,'label':_0x3ffb83(_0x19eafb,_0x37feff(0x102)),'commandName':_0x37feff(0xfb),'role':_0x37feff(0x112)})},{'type':_0x37feff(0x150),'model':new _0x5f5d35({'withText':!0x0,'label':_0x3ffb83(_0x19eafb,_0x37feff(0x164)),'commandName':_0x37feff(0xe8),'role':_0x37feff(0x112)})},{'type':_0x37feff(0x150),'model':new _0x5f5d35({'withText':!0x0,'label':_0x3ffb83(_0x19eafb,_0x37feff(0x121)),'commandName':_0x37feff(0xf1),'role':_0x37feff(0x112)})}]);for(const _0x5ac068 of _0x360810)if(me(_0x5ac068)){const _0x1844e4=_0x56cc9f[_0x37feff(0x10f)][_0x37feff(0xea)](_0x5ac068[_0x37feff(0x133)][_0x37feff(0x120)]);_0x5ac068[_0x37feff(0x133)][_0x37feff(0xf8)](_0x37feff(0x162),_0x37feff(0x117))['to'](_0x1844e4,_0x37feff(0x101),_0x37feff(0x117));}_0x56cc9f['ui'][_0x37feff(0x141)][_0x37feff(0xf7)](_0x37feff(0xf4),_0x524b6a=>this[_0x37feff(0xe3)](_0x524b6a,_0x360810,_0x34ccfa)),_0x56cc9f['ui'][_0x37feff(0x141)][_0x37feff(0xf7)](_0x37feff(0x15c),_0xd99051=>this[_0x37feff(0x10c)](_0xd99051,_0x360810,_0x34ccfa));}[_0x5a1390(0xe3)](_0x43449b,_0x41ac71,_0x4eb448){const _0x342ddc=_0x5a1390,_0x5bb593=_0x7d701d(_0x43449b,_0x21aeaa),_0x3e1c5f=this[_0x342ddc(0x10e)][_0x342ddc(0x10f)][_0x342ddc(0xea)](_0x342ddc(0xf4));_0x5bb593[_0x342ddc(0xdb)][_0x342ddc(0x160)]({'tooltip':_0x4eb448,'label':_0x4eb448,'icon':_0x1fc271}),_0x5bb593[_0x342ddc(0xdb)][_0x342ddc(0xf8)](_0x342ddc(0x162))['to'](_0x3e1c5f,_0x342ddc(0x101)),_0x5bb593[_0x342ddc(0xdb)]['on'](_0x342ddc(0x142),()=>{const _0x5b8125=_0x342ddc;_0x3e1c5f[_0x5b8125(0x142)](),this[_0x5b8125(0x10e)][_0x5b8125(0x135)][_0x5b8125(0x11d)][_0x5b8125(0x109)]();}),_0x7b9a4b(_0x5bb593,_0x41ac71,{'role':_0x342ddc(0x129)});const _0x5c4a80=[];for(const _0x4d226a of _0x41ac71)me(_0x4d226a)&&_0x5c4a80[_0x342ddc(0xee)](this[_0x342ddc(0x10e)][_0x342ddc(0x10f)][_0x342ddc(0xea)](_0x4d226a[_0x342ddc(0x133)][_0x342ddc(0x120)]));const _0x2dc5ae=_0x5bb593[_0x342ddc(0xdb)];return _0x2dc5ae[_0x342ddc(0xe4)][_0x342ddc(0x145)](_0x342ddc(0x117)),_0x2dc5ae[_0x342ddc(0x12d)][_0x342ddc(0x145)](_0x342ddc(0x117)),_0x2dc5ae[_0x342ddc(0xe4)][_0x342ddc(0xf8)](_0x342ddc(0x117))['to'](_0x3e1c5f,_0x342ddc(0x117)),_0x2dc5ae[_0x342ddc(0x12d)][_0x342ddc(0xf8)](_0x342ddc(0x117))[_0x342ddc(0x11a)](_0x5c4a80,_0x342ddc(0x117),(..._0x17c951)=>_0x17c951[_0x342ddc(0x147)](_0x344490=>_0x344490)),_0x5bb593['on'](_0x342ddc(0x142),_0x322b63=>{const _0x1b1ae2=_0x342ddc;this[_0x1b1ae2(0x10e)][_0x1b1ae2(0x142)](_0x322b63[_0x1b1ae2(0xda)][_0x1b1ae2(0x120)]),this[_0x1b1ae2(0x10e)][_0x1b1ae2(0x135)][_0x1b1ae2(0x11d)][_0x1b1ae2(0x109)]();}),_0x5bb593;}[_0x5a1390(0x10c)](_0x5de146,_0xaaa2ab,_0x18e546){const _0x319145=_0x5a1390,_0x234b21=new _0x3702ef(_0x5de146),_0x3e5aeb=this[_0x319145(0x10e)][_0x319145(0x10f)][_0x319145(0xea)](_0x319145(0xf4));_0x234b21[_0x319145(0xdb)][_0x319145(0x160)]({'label':_0x18e546,'icon':_0x1fc271});const _0x5456d0=new _0x44e347(_0x5de146);for(const _0xb496b6 of _0xaaa2ab){if(_0x319145(0x11c)==_0xb496b6[_0x319145(0xe9)]){_0x5456d0[_0x319145(0x167)][_0x319145(0xf7)](new _0x3fc58a(_0x5de146));continue;}const _0xd45c36=new _0x5e686a(_0x5de146,_0x234b21),_0x5a3516=new _0x3768aa(_0x5de146),_0x269061=_0xb496b6[_0x319145(0x133)];_0x5a3516[_0x319145(0xf8)](...Object[_0x319145(0x15a)](_0x269061))['to'](_0x269061),_0x5a3516[_0x319145(0x14a)](_0x319145(0x142))['to'](_0x234b21),_0x5a3516['on'](_0x319145(0x142),()=>{const _0x576a1f=_0x319145;this[_0x576a1f(0x10e)][_0x576a1f(0x142)](_0x269061[_0x576a1f(0x120)]),this[_0x576a1f(0x10e)][_0x576a1f(0x135)][_0x576a1f(0x11d)][_0x576a1f(0x109)]();}),_0xd45c36[_0x319145(0x103)][_0x319145(0xf7)](_0x5a3516),_0x5456d0[_0x319145(0x167)][_0x319145(0xf7)](_0xd45c36);}return _0x234b21[_0x319145(0xf8)](_0x319145(0x117))['to'](_0x3e5aeb,_0x319145(0x117)),_0x234b21[_0x319145(0x16a)][_0x319145(0x103)][_0x319145(0xf7)](_0x5456d0),_0x234b21;}[_0x5a1390(0x13f)](_0x48d884){const _0x38d3e4=_0x5a1390,_0xb4cd=this[_0x38d3e4(0x10e)],_0x19f171=_0xb4cd[_0x38d3e4(0xf0)],_0x2d44a2=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0x166)),_0x4db4a9=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0x12f)),_0x2a7830=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0x11f)),_0x35c89e=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x5d6a39)['me'],_0x27d8be=_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xf4))[_0x38d3e4(0xd9)],_0x44d1b2=_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xf4))[_0x38d3e4(0x15f)],{CommentsListView:_0x3f0b94,CommentThreadInputView:_0x3f3c63}=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0xfe));let _0x1c537d,_0x2a1717,_0x140e85;this[_0x38d3e4(0x12e)][_0x38d3e4(0x111)](_0x48d884['id'])?(_0x2a1717=this[_0x38d3e4(0x12e)][_0x38d3e4(0xea)](_0x48d884['id']),_0x1c537d=_0x2a1717[_0x38d3e4(0x14d)]):(_0x1c537d=new _0x27d8be(_0xb4cd[_0x38d3e4(0x15b)],_0x48d884,_0x35c89e,{'disableComments':this[_0x38d3e4(0x132)],'editorConfig':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xd5)),'maxCommentsWhenCollapsed':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xe6)),'maxThreadTotalWeight':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0x149)),'maxCommentCharsWhenCollapsed':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0xf5)),'formatDateTime':_0x53c253(_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0x15b))),'CommentView':_0x19f171[_0x38d3e4(0xea)](_0x38d3e4(0x106))[_0x38d3e4(0x131)],'CommentsListView':_0x3f0b94,'CommentThreadInputView':_0x3f3c63,'SuggestionView':_0x44d1b2}),_0x1c537d[_0x38d3e4(0x122)][_0x38d3e4(0x154)]['on'](_0x38d3e4(0x142),()=>{const _0x9b7e8e=_0x38d3e4;_0xb4cd[_0x9b7e8e(0x135)][_0x9b7e8e(0x11d)][_0x9b7e8e(0x109)]();}),_0x1c537d[_0x38d3e4(0x122)][_0x38d3e4(0xfc)]['on'](_0x38d3e4(0x142),()=>{const _0x131c4e=_0x38d3e4;_0xb4cd[_0x131c4e(0x135)][_0x131c4e(0x11d)][_0x131c4e(0x109)]();}),_0x2a1717=_0x2d44a2[_0x38d3e4(0x158)](this[_0x38d3e4(0x10e)][_0x38d3e4(0x15b)],_0x1c537d),_0x2a1717[_0x38d3e4(0xf8)](_0x38d3e4(0x14e))['to'](_0x1c537d,_0x38d3e4(0x14e)),_0x2a1717[_0x38d3e4(0xf8)](_0x38d3e4(0x157))['to'](_0x1c537d),_0x2a1717[_0x38d3e4(0xf8)](_0x38d3e4(0xe9))['to'](_0x1c537d,_0x38d3e4(0xe9),_0x279a66=>_0x38d3e4(0x12a)+_0x279a66),_0x1c537d['on'](_0x38d3e4(0x159),()=>{const _0x280340=_0x38d3e4;_0x140e85[_0x280340(0x165)](_0x280340(0x159));}),this[_0x38d3e4(0x12e)][_0x38d3e4(0x160)](_0x48d884['id'],_0x2a1717));const _0xc554ee=_0x4db4a9[_0x38d3e4(0x11b)](_0x48d884[_0x38d3e4(0x12b)],_0x1c537d),_0x14f961=new _0x71e9fb(_0xb4cd,_0x48d884,_0x1c537d,_0xc554ee),_0x1141f8=_0x48d884[_0x38d3e4(0x124)]()[_0x38d3e4(0x110)](_0x33cfeb=>_0x33cfeb[_0x38d3e4(0x128)]);_0x1c537d[_0x38d3e4(0x126)]=_0xb4cd[_0x38d3e4(0xf6)][_0x38d3e4(0xea)](_0x38d3e4(0xde))[_0x38d3e4(0xe7)][_0x38d3e4(0x134)](_0x1141f8),this[_0x38d3e4(0xed)][_0x38d3e4(0x160)](_0x48d884,_0x14f961),this[_0x38d3e4(0x105)][_0x38d3e4(0x160)](_0x1c537d,_0x14f961),_0x140e85=_0x2d44a2[_0x38d3e4(0x12c)]({'view':_0x2a1717,'target':()=>{const _0x50cd97=_0x38d3e4,_0x26aa84=[],_0x171160=_0x48d884[_0x50cd97(0x124)]()[_0x50cd97(0x110)](_0x1f9759=>_0x1f9759[_0x50cd97(0x128)]);for(const _0x231b3b of _0x171160)_0x26aa84[_0x50cd97(0xee)](..._0x231b3b[_0x50cd97(0xfd)]());return _0x3f213c(_0xb4cd[_0x50cd97(0x135)],_0x26aa84);},'type':()=>_0x38d3e4(0x12a)+_0x14f961[_0x38d3e4(0x11d)][_0x38d3e4(0xe9)]}),_0x4db4a9[_0x38d3e4(0xff)](_0x1c537d,_0x140e85),_0x2d44a2[_0x38d3e4(0xf7)](_0x140e85),_0x2a7830[_0x38d3e4(0xec)](_0x140e85);}[_0x5a1390(0xd6)](_0x44b299){const _0x565be1=_0x5a1390,_0x117070=this[_0x565be1(0x10e)][_0x565be1(0xf6)][_0x565be1(0xea)](_0x565be1(0x12f)),_0x165c89=this[_0x565be1(0x10e)][_0x565be1(0xf6)][_0x565be1(0xea)](_0x565be1(0x166)),_0x5042fe=this[_0x565be1(0xed)][_0x565be1(0xea)](_0x44b299),_0x1ca761=_0x5042fe[_0x565be1(0x11d)],_0x2f6725=_0x165c89[_0x565be1(0xd7)](_0x1ca761);_0x117070[_0x565be1(0x104)](_0x1ca761),_0x2f6725&&_0x165c89[_0x565be1(0x14b)](_0x2f6725),this[_0x565be1(0xed)][_0x565be1(0xfa)](_0x44b299),this[_0x565be1(0x105)][_0x565be1(0xfa)](_0x1ca761),_0x5042fe[_0x565be1(0x14c)]();}[_0x5a1390(0x100)](_0x243a60){const _0x2dccef=_0x5a1390;if(!_0x243a60[_0x2dccef(0x128)]||!this[_0x2dccef(0xed)][_0x2dccef(0x111)](_0x243a60))return;const _0x188d11=this[_0x2dccef(0x10e)][_0x2dccef(0xf6)][_0x2dccef(0xea)](_0x2dccef(0xde)),_0x55b752=this[_0x2dccef(0xed)][_0x2dccef(0xea)](_0x243a60),_0x5d2f5a=_0x243a60[_0x2dccef(0x124)]();_0x55b752[_0x2dccef(0x11d)][_0x2dccef(0x126)]=_0x188d11[_0x2dccef(0xe7)][_0x2dccef(0x134)](_0x5d2f5a);}[_0x5a1390(0x14c)](){const _0x14e85f=_0x5a1390;for(const _0x34c842 of this[_0x14e85f(0xed)][_0x14e85f(0x15a)]())this[_0x14e85f(0xd6)](_0x34c842);for(const _0x1f3bb6 of this[_0x14e85f(0x12e)][_0x14e85f(0x163)]())_0x1f3bb6[_0x14e85f(0x14d)][_0x14e85f(0x14c)]();super[_0x14e85f(0x14c)]();}}function _0x59e7(){const _0x4c985f=['focus','init','trackChanges.SuggestionThreadView','_createMenuBarMenu','switchbutton','editor','commands','filter','has','menuitem','_handleControllerBuffer','change:activeAnnotations','30aAnfbm','28500ytQowW','isEnabled','innerView','clear','toMany','createCommentThreadController','separator','view','334743MNqHAe','EditorAnnotations','commandName','Discard\x20all\x20selected\x20suggestions','suggestionView','hasSuggestion','getAllAdjacentSuggestions','2555064DKvPZx','descriptionParts','getJoined','isInContent','menu','suggestion-','commentThread','createAnnotation','arrowView','_annotationViews','CommentsRepository','isPremiumPlugin','CommentView','_disableComments','model','getDescriptions','editing','reduce','acceptAllSuggestions','head','getMarkerNames','_addUIComponentsToFactory','712413NLrHma','change:previous','pluginName','_refreshActiveMarkers','_initializeController','commentsListView','componentFactory','execute','Track\x20changes','suggestionLoaded','unbind','isMultiRange','some','576024sDEUbT','comments.maxThreadTotalWeight','delegate','remove','destroy','mainView','isDirty','Accept\x20all\x20suggestions','button','getSuggestion','_handleSuggestionControllerDelayed','trackChanges.SuggestionView','acceptButton','from','stopListening','length','createAnnotationView','escape','keys','locale','menuBar:trackChanges','menuitemcheckbox','listenTo','SuggestionView','set','suggestionChanged','isOn','values','Discard\x20all\x20suggestions','fire','Annotations','items','TrackChangesUI','requires','panelView','getFirstRange','comments.editorConfig','_destroyController','getByInnerView','368310EAPKuN','SuggestionThreadView','source','buttonView','suggestionUnloaded','450618woEkCV','TrackChangesEditing','trackChanges.disableComments','isOfficialPlugin','refreshSelectedViews','lowest','_createToolbarButton','actionView','getRanges','comments.maxCommentsWhenCollapsed','descriptionFactory','discardAllSuggestions','type','get','activeAnnotations','registerAnnotation','_suggestionToController','push','define','config','discardSelectedSuggestions','addSourceCollector','previous','trackChanges','comments.maxCommentCharsWhenCollapsed','plugins','add','bind','size','delete','acceptSelectedSuggestions','discardButton','getMarkers','CommentsUI','_bindAnnotationToEditors','_updateController','value','Accept\x20all\x20selected\x20suggestions','children','_unbindEditors','_viewToController','comments','activeMarkers','addComment'];_0x59e7=function(){return _0x4c985f;};return _0x59e7();}function me(_0x4cfde8){const _0x22ff57=_0x5a1390;return _0x22ff57(0x133)in _0x4cfde8;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3dcf87=_0x2f94;(function(_0x58d90f,_0x96ca20){const _0xce1487=_0x2f94,_0x518b21=_0x58d90f();while(!![]){try{const _0x495209=-parseInt(_0xce1487(0xdf))/0x1*(parseInt(_0xce1487(0xc0))/0x2)+parseInt(_0xce1487(0xc3))/0x3*(parseInt(_0xce1487(0xbd))/0x4)+-parseInt(_0xce1487(0xdc))/0x5*(-parseInt(_0xce1487(0xd0))/0x6)+-parseInt(_0xce1487(0xdb))/0x7*(-parseInt(_0xce1487(0xce))/0x8)+parseInt(_0xce1487(0xd9))/0x9*(-parseInt(_0xce1487(0xb4))/0xa)+-parseInt(_0xce1487(0xbb))/0xb+parseInt(_0xce1487(0xcc))/0xc*(parseInt(_0xce1487(0xc8))/0xd);if(_0x495209===_0x96ca20)break;else _0x518b21['push'](_0x518b21['shift']());}catch(_0x465601){_0x518b21['push'](_0x518b21['shift']());}}}(_0x2062,0x39b2c));function _0x2062(){const _0x5a7b37=['140420nsoAyz','isEnabled','destroy','1471zcULoB','acceptSuggestion','2238110wGmxAk','commands','locale','stopListening','add','unbind','change:isDirty','981431tGMequ','_pendingAction','599180lMifXR','remove','execute','282VwjIDr','view','canAccept','6QsekRW','canEditAt','canDiscard','PENDING_ACTION_SUGGESTION','bind','49101EseMkC','discardSuggestion','getRanges','model','1068ZmaEnv','_acceptCommand','8zrWGPs','listenTo','60kXwztn','PendingActions','_discardCommand','get','_removePendingAction','commentThreadController','isDirty','_editor','_setPendingAction','18bdgrtW','plugins','448021xxaclT'];_0x2062=function(){return _0x5a7b37;};return _0x2062();}function _0x2f94(_0x38c385,_0x5f380b){const _0x2062bb=_0x2062();return _0x2f94=function(_0x2f9405,_0x4313c5){_0x2f9405=_0x2f9405-0xb3;let _0x40d002=_0x2062bb[_0x2f9405];return _0x40d002;},_0x2f94(_0x38c385,_0x5f380b);}import{ObservableMixin as _0x25e086}from'ckeditor5/src/utils.js';import{getTranslation as _0x59bf00}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x25e086(){constructor(_0x2adf86,_0x1bb4d8,_0x2b57aa,_0x5aad38){const _0x24d4a8=_0x2f94;super(),this[_0x24d4a8(0xcb)]=_0x1bb4d8,this[_0x24d4a8(0xc1)]=_0x2b57aa,this[_0x24d4a8(0xd5)]=_0x5aad38,this[_0x24d4a8(0xd7)]=_0x2adf86,this[_0x24d4a8(0xcd)]=_0x2adf86[_0x24d4a8(0xb5)][_0x24d4a8(0xd3)](_0x24d4a8(0xb3)),this[_0x24d4a8(0xd2)]=_0x2adf86[_0x24d4a8(0xb5)][_0x24d4a8(0xd3)](_0x24d4a8(0xc9)),this[_0x24d4a8(0xc1)][_0x24d4a8(0xc7)](_0x24d4a8(0xdd))['to'](this[_0x24d4a8(0xcd)],this[_0x24d4a8(0xd2)],(_0x3270e3,_0x540fd3)=>_0x3270e3||_0x540fd3),this[_0x24d4a8(0xc1)][_0x24d4a8(0xc7)](_0x24d4a8(0xc2))['to'](this[_0x24d4a8(0xcd)],_0x24d4a8(0xdd),_0x2b4d9a=>_0x2b4d9a&&this[_0x24d4a8(0xd7)][_0x24d4a8(0xcb)][_0x24d4a8(0xc4)](_0x1bb4d8[_0x24d4a8(0xca)]())),this[_0x24d4a8(0xc1)][_0x24d4a8(0xc7)](_0x24d4a8(0xc5))['to'](this[_0x24d4a8(0xd2)],_0x24d4a8(0xdd),_0x1207b1=>_0x1207b1&&this[_0x24d4a8(0xd7)][_0x24d4a8(0xcb)][_0x24d4a8(0xc4)](_0x1bb4d8[_0x24d4a8(0xca)]())),this[_0x24d4a8(0xbc)]=null,_0x2b57aa[_0x24d4a8(0xd6)]&&this[_0x24d4a8(0xd8)](),this[_0x24d4a8(0xcf)](_0x2b57aa,_0x24d4a8(0xb3),()=>this[_0x24d4a8(0xb3)]()),this[_0x24d4a8(0xcf)](_0x2b57aa,_0x24d4a8(0xc9),()=>this[_0x24d4a8(0xc9)]()),this[_0x24d4a8(0xcf)](_0x2b57aa,_0x24d4a8(0xba),()=>{const _0x42f39e=_0x24d4a8;_0x2b57aa[_0x42f39e(0xd6)]?this[_0x42f39e(0xd8)]():this[_0x42f39e(0xd4)]();});}[_0x3dcf87(0xb3)](){const _0x2dbcf3=_0x3dcf87;this[_0x2dbcf3(0xcd)][_0x2dbcf3(0xbf)](this[_0x2dbcf3(0xcb)]['id']);}[_0x3dcf87(0xc9)](){const _0x6fb882=_0x3dcf87;this[_0x6fb882(0xd2)][_0x6fb882(0xbf)](this[_0x6fb882(0xcb)]['id']);}[_0x3dcf87(0xde)](){const _0x24d2d3=_0x3dcf87;this[_0x24d2d3(0xc1)][_0x24d2d3(0xb9)](_0x24d2d3(0xdd)),this[_0x24d2d3(0xc1)][_0x24d2d3(0xb9)](_0x24d2d3(0xc2)),this[_0x24d2d3(0xc1)][_0x24d2d3(0xb9)](_0x24d2d3(0xc5)),this[_0x24d2d3(0xb7)](),this[_0x24d2d3(0xd5)][_0x24d2d3(0xde)](),this[_0x24d2d3(0xbc)]&&this[_0x24d2d3(0xd4)]();}[_0x3dcf87(0xd8)](){const _0x320d9b=_0x3dcf87,_0x9e24a1=_0x59bf00(this[_0x320d9b(0xd7)][_0x320d9b(0xb6)],_0x320d9b(0xc6));this[_0x320d9b(0xbc)]=this[_0x320d9b(0xd7)][_0x320d9b(0xda)][_0x320d9b(0xd3)](_0x320d9b(0xd1))[_0x320d9b(0xb8)](_0x9e24a1);}[_0x3dcf87(0xd4)](){const _0x12787a=_0x3dcf87;null!==this[_0x12787a(0xbc)]&&this[_0x12787a(0xd7)][_0x12787a(0xda)][_0x12787a(0xd3)](_0x12787a(0xd1))[_0x12787a(0xbe)](this[_0x12787a(0xbc)]),this[_0x12787a(0xbc)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2b1f(_0x3f90fc,_0x398e97){const _0x357127=_0x3571();return _0x2b1f=function(_0x2b1f95,_0x2e715a){_0x2b1f95=_0x2b1f95-0x8a;let _0x5d347a=_0x357127[_0x2b1f95];return _0x5d347a;},_0x2b1f(_0x3f90fc,_0x398e97);}const _0x4c6ef0=_0x2b1f;(function(_0x13d5d1,_0x454164){const _0x450493=_0x2b1f,_0x3deaf4=_0x13d5d1();while(!![]){try{const _0x2e0635=-parseInt(_0x450493(0x99))/0x1+-parseInt(_0x450493(0xc6))/0x2+-parseInt(_0x450493(0xb4))/0x3+parseInt(_0x450493(0x9e))/0x4*(parseInt(_0x450493(0xb9))/0x5)+-parseInt(_0x450493(0xa0))/0x6+parseInt(_0x450493(0xa8))/0x7*(-parseInt(_0x450493(0x9d))/0x8)+parseInt(_0x450493(0xab))/0x9;if(_0x2e0635===_0x454164)break;else _0x3deaf4['push'](_0x3deaf4['shift']());}catch(_0x6db074){_0x3deaf4['push'](_0x3deaf4['shift']());}}}(_0x3571,0x9b48a));import{FocusCycler as _0x10469a,View as _0x6932b,ViewCollection as _0x34ef90}from'ckeditor5/src/ui.js';import{FocusTracker as _0x567a42,KeystrokeHandler as _0x2978aa}from'ckeditor5/src/utils.js';function _0x3571(){const _0x6c920f=['updateComment','disabledSubmit','_createCommentViews','isActive','delegate','_config','keystrokes','content','1036924zERyBJ','length','element','canDiscard','8NODuwR','14204iQzumy','CommentView','6764784iLttJL','locale','_createCommentThreadInputView','canAccept','body','text/html','target','destroy','1346849aufypQ','SUGGESTION_THREAD_DESCRIPTION','bind','31562154HgFBcx','setData','_localUser','_model','parseFromString','textContent','commentThreadInputView','submit','removeComment','1417455pyYNso','commentsListView','formatDateTime','isReadOnly','map','730DeKTWm','ariaLabel','focusTracker','showInput','authoredAt','editorConfig','disableComments','ariaDescriptionView','focusables','editor','isDirty','author','focusCycler','1120060efoRNr','tab','shift+tab','fire','value','commentThread','SUGGESTION_THREAD_ARIA_LABEL','render','cancel','focus','commentInputView','descriptionParts','join','addComment','hasDirtyComment','isEnabled','set','assign','name'];_0x3571=function(){return _0x6c920f;};return _0x3571();}import{AriaDescriptionView as _0x977fb6,setupThreadKeyboardNavigation as _0x33d5ec}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4d7cc2}from'../../utils/common-translations.js';import{renderDescription as _0x20eccc}from'../../utils/utils.js';export default class us extends _0x6932b{constructor(_0x135fcf,_0x340d3a,_0xc669cf,_0x38ccb0){const _0x38c86a=_0x2b1f;super(_0x135fcf),this[_0x38c86a(0xb5)]=null,this[_0x38c86a(0xb1)]=null,this[_0x38c86a(0xc0)]=new _0x977fb6(_0x135fcf,_0x4d7cc2(_0x135fcf,_0x38c86a(0xa9))),this[_0x38c86a(0x8e)](_0x38c86a(0x94),!0x1),this[_0x38c86a(0x8e)](_0x38c86a(0xbd),_0x340d3a[_0x38c86a(0xbd)]),this[_0x38c86a(0xaa)](_0x38c86a(0xbd))['to'](_0x340d3a),this[_0x38c86a(0x8e)](_0x38c86a(0xd1),[]),this[_0x38c86a(0x8e)](_0x38c86a(0xc3),!0x1),this[_0x38c86a(0x8e)](_0x38c86a(0x8d),!0x1),this[_0x38c86a(0x8e)](_0x38c86a(0xa3),!0x1),this[_0x38c86a(0x8e)](_0x38c86a(0x9c),!0x1),this[_0x38c86a(0xaa)](_0x38c86a(0xba))['to'](this,_0x38c86a(0x9a),_0x340d3a,_0x38c86a(0xbd),this,_0x38c86a(0xd1),(_0x47958a,_0x504c00,_0x15088a)=>{const _0xd8e6eb=_0x38c86a,_0x3258c3=_0x15088a[_0xd8e6eb(0xb8)](_0x29e187=>_0x20eccc(_0x29e187[_0xd8e6eb(0x98)]))[_0xd8e6eb(0x8a)]('.\x20')+'.';return _0x4d7cc2(this[_0xd8e6eb(0xa1)],_0xd8e6eb(0xcc),[_0x47958a-0x1,_0x340d3a[_0xd8e6eb(0xc4)][_0xd8e6eb(0x90)],_0x504c00?_0x38ccb0[_0xd8e6eb(0xb6)](_0x504c00):'',new DOMParser()[_0xd8e6eb(0xaf)](_0x3258c3,_0xd8e6eb(0xa5))[_0xd8e6eb(0xa4)][_0xd8e6eb(0xb0)]]);}),this[_0x38c86a(0xc1)]=new _0x34ef90(),this[_0x38c86a(0xbb)]=new _0x567a42(),this[_0x38c86a(0x97)]=new _0x2978aa(),this[_0x38c86a(0xc5)]=new _0x10469a({'focusables':this[_0x38c86a(0xc1)],'focusTracker':this[_0x38c86a(0xbb)],'keystrokeHandler':this[_0x38c86a(0x97)],'keystrokeHandlerOptions':{'filter':_0x136a5a=>_0x136a5a[_0x38c86a(0xa6)]!==this[_0x38c86a(0x9b)]},'actions':{'focusPrevious':_0x38c86a(0xc8),'focusNext':_0x38c86a(0xc7)}}),this[_0x38c86a(0xae)]=_0x340d3a,this[_0x38c86a(0xad)]=_0xc669cf,this[_0x38c86a(0x96)]=_0x38ccb0,_0x38ccb0[_0x38c86a(0xbf)]?this[_0x38c86a(0x8e)](_0x38c86a(0x9a),0x1):this[_0x38c86a(0x93)]();}[_0x4c6ef0(0xcd)](){const _0x455910=_0x4c6ef0;super[_0x455910(0xcd)](),_0x33d5ec(this,this[_0x455910(0xc1)]);}[_0x4c6ef0(0xcf)](){const _0x1db321=_0x4c6ef0;this[_0x1db321(0x9b)][_0x1db321(0xcf)]();}[_0x4c6ef0(0xa7)](){const _0x4dc697=_0x4c6ef0;this[_0x4dc697(0xb5)]&&this[_0x4dc697(0xb5)][_0x4dc697(0xa7)](),this[_0x4dc697(0xb1)]&&this[_0x4dc697(0xb1)][_0x4dc697(0xa7)](),super[_0x4dc697(0xa7)]();}[_0x4c6ef0(0x93)](){const _0x2ef17f=_0x4c6ef0,{CommentsListView:_0x127a5c}=this[_0x2ef17f(0x96)];this[_0x2ef17f(0xb5)]=new _0x127a5c(this[_0x2ef17f(0xa1)],this[_0x2ef17f(0xae)][_0x2ef17f(0xcb)],Object[_0x2ef17f(0x8f)]({'CommentView':this[_0x2ef17f(0x96)][_0x2ef17f(0x9f)]},this[_0x2ef17f(0x96)])),this[_0x2ef17f(0xb5)][_0x2ef17f(0x95)](_0x2ef17f(0xb3))['to'](this),this[_0x2ef17f(0xb5)][_0x2ef17f(0x95)](_0x2ef17f(0x91))['to'](this),this[_0x2ef17f(0xb5)][_0x2ef17f(0xaa)](_0x2ef17f(0x94))['to'](this),this[_0x2ef17f(0x8e)](_0x2ef17f(0x9a),this[_0x2ef17f(0xb5)][_0x2ef17f(0x9a)]+0x1),this[_0x2ef17f(0xaa)](_0x2ef17f(0x9a))['to'](this[_0x2ef17f(0xb5)],_0x2ef17f(0x9a),_0x1d88e7=>_0x1d88e7+0x1),this[_0x2ef17f(0xb1)]=this[_0x2ef17f(0xa2)](),this['on'](_0x2ef17f(0xb3),()=>this[_0x2ef17f(0xcf)]()),this[_0x2ef17f(0xaa)](_0x2ef17f(0xc3))['to'](this[_0x2ef17f(0xb5)],_0x2ef17f(0x8c),this[_0x2ef17f(0xb1)][_0x2ef17f(0xd0)],_0x2ef17f(0xca),(_0x4613f5,_0x4b3cb6)=>_0x4613f5||!!_0x4b3cb6);}[_0x4c6ef0(0xa2)](){const _0x12a18=_0x4c6ef0,{CommentThreadInputView:_0x5f55e7}=this[_0x12a18(0x96)],_0x1a46f1=new _0x5f55e7(this[_0x12a18(0xa1)],this[_0x12a18(0xad)],this[_0x12a18(0x96)][_0x12a18(0xbe)]),_0x2c36f9=_0x1a46f1[_0x12a18(0xd0)];return _0x1a46f1[_0x12a18(0xaa)](_0x12a18(0xbc))['to'](this,_0x12a18(0x94),this[_0x12a18(0xae)][_0x12a18(0xcb)],_0x12a18(0xb7),_0x2c36f9,_0x12a18(0xca),(_0x2da8f8,_0x20e7d9,_0x547c56)=>!!_0x547c56||_0x2da8f8&&!_0x20e7d9),_0x2c36f9['on'](_0x12a18(0xb2),(_0x16e3fa,_0x59be53)=>{const _0x2358a8=_0x12a18;this[_0x2358a8(0xc9)](_0x2358a8(0x8b),_0x59be53),_0x2c36f9[_0x2358a8(0xc2)][_0x2358a8(0xac)]('');}),_0x2c36f9['on'](_0x12a18(0xce),()=>this[_0x12a18(0xcf)]()),_0x2c36f9[_0x12a18(0xaa)](_0x12a18(0x92))['to'](this[_0x12a18(0xae)][_0x12a18(0xcb)],_0x12a18(0xb7)),_0x1a46f1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x181d95=_0x1804;function _0xbb98(){const _0x299819=['descriptionParts','12561dQiAfz','getTemplate','discardSuggestion','formatDateTime','62367GnMCVj','set','commentThreadInputView','1052920xOOmse','SuggestionView','delegate','canDiscard','commentsListView','44XYhubd','type','acceptButton','suggestionView','ariaDescriptionView','ck-suggestion-','disableComments','setTemplate','canAccept','ck-suggestion--disabled-comments','117EfDQAe','description','discardButton','listitem','</p>','acceptSuggestion','color','bindTemplate','78dgrgXH','114300mvnUwh','ck-suggestion-wrapper--active','_config','isActive','_descriptionElement','ariaLabel','ck-suggestion-wrapper','push','content','101906ECPhdk','author','focusables','ck-rounded-corners','editorReady','<p>','bind','isEnabled','editorDestroyed','add','3032230DvaTbU','_model','56720PMlCiY','commentThread','render','div'];_0xbb98=function(){return _0x299819;};return _0xbb98();}(function(_0x11de72,_0x846375){const _0x3288f8=_0x1804,_0x3327e5=_0x11de72();while(!![]){try{const _0x298edb=-parseInt(_0x3288f8(0x1b8))/0x1+-parseInt(_0x3288f8(0x1d3))/0x2+parseInt(_0x3288f8(0x1b4))/0x3*(parseInt(_0x3288f8(0x1c0))/0x4)+-parseInt(_0x3288f8(0x1bb))/0x5+parseInt(_0x3288f8(0x1d2))/0x6*(parseInt(_0x3288f8(0x1dc))/0x7)+parseInt(_0x3288f8(0x1e8))/0x8*(-parseInt(_0x3288f8(0x1ca))/0x9)+parseInt(_0x3288f8(0x1e6))/0xa;if(_0x298edb===_0x846375)break;else _0x3327e5['push'](_0x3327e5['shift']());}catch(_0x2c4da9){_0x3327e5['push'](_0x3327e5['shift']());}}}(_0xbb98,0x1c627));function _0x1804(_0x52e9f4,_0x37b2dd){const _0xbb986b=_0xbb98();return _0x1804=function(_0x180477,_0x202b37){_0x180477=_0x180477-0x1b2;let _0x4b6f3b=_0xbb986b[_0x180477];return _0x4b6f3b;},_0x1804(_0x52e9f4,_0x37b2dd);}import{default as _0x1c9bbf}from'./basesuggestionthreadview.js';import{trimHtml as _0x40c26e}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x29f4e2}from'../../utils/utils.js';export default class re extends _0x1c9bbf{constructor(_0x40833e,_0x2ef4e8,_0x189754,_0x17de68){const _0x48b2a1=_0x1804;super(_0x40833e,_0x2ef4e8,_0x189754,_0x17de68),this[_0x48b2a1(0x1b9)](_0x48b2a1(0x1c1),''),this[_0x48b2a1(0x1e2)](_0x48b2a1(0x1c1))['to'](this,_0x48b2a1(0x1b3),_0x8fe41c=>_0x8fe41c&&_0x8fe41c[0x0]?_0x8fe41c[0x0][_0x48b2a1(0x1c1)]:''),this[_0x48b2a1(0x1e2)](_0x48b2a1(0x1cb))['to'](this,_0x48b2a1(0x1b3),this,_0x48b2a1(0x1d6),(_0x1b63f6,_0x55d568)=>{const _0x2f0317=_0x48b2a1;let _0x227582='';for(const _0x1b617c of _0x1b63f6)_0x227582+=_0x2f0317(0x1e1)+_0x29f4e2(_0x1b617c[_0x2f0317(0x1db)],_0x1b617c[_0x2f0317(0x1d0)])+_0x2f0317(0x1ce);return _0x55d568?_0x227582:_0x40c26e(_0x227582,{'limit':0x8c});}),this[_0x48b2a1(0x1d7)]=null,this[_0x48b2a1(0x1c3)]=new _0x17de68[(_0x48b2a1(0x1bc))](_0x40833e,_0x2ef4e8,{'formatDateTime':_0x17de68[_0x48b2a1(0x1b7)]}),this[_0x48b2a1(0x1c3)][_0x48b2a1(0x1e2)](_0x48b2a1(0x1cb))['to'](this),this[_0x48b2a1(0x1c3)][_0x48b2a1(0x1bd)](_0x48b2a1(0x1cf),_0x48b2a1(0x1b6))['to'](this),this[_0x48b2a1(0x1c3)][_0x48b2a1(0x1c2)][_0x48b2a1(0x1e2)](_0x48b2a1(0x1e3))['to'](this,_0x48b2a1(0x1c8)),this[_0x48b2a1(0x1c3)][_0x48b2a1(0x1cc)][_0x48b2a1(0x1e2)](_0x48b2a1(0x1e3))['to'](this,_0x48b2a1(0x1be)),this[_0x48b2a1(0x1de)][_0x48b2a1(0x1e5)](this[_0x48b2a1(0x1c3)]),this[_0x48b2a1(0x1bf)]&&this[_0x48b2a1(0x1de)][_0x48b2a1(0x1e5)](this[_0x48b2a1(0x1bf)]),this[_0x48b2a1(0x1ba)]&&this[_0x48b2a1(0x1de)][_0x48b2a1(0x1e5)](this[_0x48b2a1(0x1ba)]),this[_0x48b2a1(0x1c7)](this[_0x48b2a1(0x1b5)]());}[_0x181d95(0x1b5)](){const _0xdd4048=_0x181d95,_0x3f0478=this[_0xdd4048(0x1d1)],_0x1b10f6=[this[_0xdd4048(0x1c3)]];return this[_0xdd4048(0x1bf)]&&_0x1b10f6[_0xdd4048(0x1da)](this[_0xdd4048(0x1bf)]),this[_0xdd4048(0x1ba)]&&_0x1b10f6[_0xdd4048(0x1da)](this[_0xdd4048(0x1ba)]),_0x1b10f6[_0xdd4048(0x1da)](this[_0xdd4048(0x1c4)]),{'tag':_0xdd4048(0x1b2),'attributes':{'class':['ck',_0xdd4048(0x1df),_0xdd4048(0x1d9),_0x3f0478['if'](_0xdd4048(0x1d6),_0xdd4048(0x1d4)),_0x3f0478['to'](_0xdd4048(0x1c1),_0x3310ed=>_0xdd4048(0x1c5)+_0x3310ed),this[_0xdd4048(0x1d5)][_0xdd4048(0x1c6)]&&_0xdd4048(0x1c9)],'data-suggestion-id':this[_0xdd4048(0x1e7)]['id'],'data-thread-id':this[_0xdd4048(0x1e7)][_0xdd4048(0x1e9)]['id'],'data-author-id':this[_0xdd4048(0x1e7)][_0xdd4048(0x1dd)]['id'],'tabindex':0x0,'role':_0xdd4048(0x1cd),'aria-label':_0x3f0478['to'](_0xdd4048(0x1d8)),'aria-describedby':this[_0xdd4048(0x1c4)]['id']},'children':_0x1b10f6};}[_0x181d95(0x1ea)](){const _0x3a0458=_0x181d95;super[_0x3a0458(0x1ea)](),this[_0x3a0458(0x1bf)]&&(this[_0x3a0458(0x1bf)][_0x3a0458(0x1bd)](_0x3a0458(0x1e0))['to'](this),this[_0x3a0458(0x1bf)][_0x3a0458(0x1bd)](_0x3a0458(0x1e4))['to'](this)),this[_0x3a0458(0x1ba)]&&(this[_0x3a0458(0x1ba)][_0x3a0458(0x1bd)](_0x3a0458(0x1e0))['to'](this),this[_0x3a0458(0x1ba)][_0x3a0458(0x1bd)](_0x3a0458(0x1e4))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xbfce(){const _0x2ec426=['13074Cuvehv','extendTemplate','getTemplate','target','ck-suggestion__actions','span','setTemplate','getExternalSuggestionNote','importWord','ck-suggestion--accept','check','3105448XsuAwJ','ck-suggestion__info-name','acceptSuggestion','@external','ck-suggestion__main','getUserViewNotificationText','querySelector','ck-annotation__info-name','fire','acceptButton','ck-comment__info-time','locale','ck-suggestion__info','discardButton','bind','ck-suggestion__user','attributes','ck-annotation','listenTo','push','name','ck-suggestion--discard','keystrokes','ck-annotation__info-time','_model','3275TZLwRl','_createButton','focusFirst','2836194WEbtDy','time','formatDateTime','presentation','Accept\x20suggestion','change:description','bindTemplate','ck-annotation__info','focus','author','discardSuggestion','render','cancel','description','creator','Discard\x20suggestion','execute','EXTERNAL_SUGGESTION','tab','.ck-annotation__content-wrapper','focusTracker','ck-annotation__content-wrapper','esc','focusCycler','6751794kwrRgL','_config','element','128513agupfF','ck-annotation__user','ck-suggestion','ck-annotation__actions','focusables','source','isExternal','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__external','shift+tab','add','innerHTML','set','EXTERNAL_IMPORT_WORD_SUGGESTION','enter','userView','_setupKeyboardNavigation','20608976ayasQo','authoredAt','ck-annotation__main','div','EXTERNAL_AVATAR','2025874LuCTJt'];_0xbfce=function(){return _0x2ec426;};return _0xbfce();}function _0x4510(_0x5e19e7,_0x3f0f03){const _0xbfcef8=_0xbfce();return _0x4510=function(_0x4510aa,_0x6b3da0){_0x4510aa=_0x4510aa-0x1b6;let _0x2419fb=_0xbfcef8[_0x4510aa];return _0x2419fb;},_0x4510(_0x5e19e7,_0x3f0f03);}const _0x76a77c=_0x4510;(function(_0x55c14d,_0x58f716){const _0xa17907=_0x4510,_0x11d121=_0x55c14d();while(!![]){try{const _0xd0a677=parseInt(_0xa17907(0x1ff))/0x1+parseInt(_0xa17907(0x1bc))/0x2+parseInt(_0xa17907(0x1e4))/0x3+parseInt(_0xa17907(0x1c8))/0x4+parseInt(_0xa17907(0x1e1))/0x5*(parseInt(_0xa17907(0x1bd))/0x6)+-parseInt(_0xa17907(0x1fc))/0x7+-parseInt(_0xa17907(0x1b7))/0x8;if(_0xd0a677===_0x58f716)break;else _0x11d121['push'](_0x11d121['shift']());}catch(_0x1776ec){_0x11d121['push'](_0x11d121['shift']());}}}(_0xbfce,0xb70df));import{FocusTracker as _0x14f7cf,KeystrokeHandler as _0x442ee0}from'ckeditor5/src/utils.js';import{View as _0x16d531,ViewCollection as _0x293f05,FocusCycler as _0x2d8869}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xdcbbb9,UserView as _0x3351ab}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x243c58}from'ckeditor5/src/core.js';import{getTranslation as _0xc78de1}from'../../utils/common-translations.js';export default class ce extends _0x16d531{constructor(_0x2707b8,_0x24149f,_0x355617){const _0x1bf4da=_0x4510;super(_0x2707b8),this[_0x1bf4da(0x1e0)]=_0x24149f,this[_0x1bf4da(0x1fd)]=_0x355617,this[_0x1bf4da(0x20b)](_0x1bf4da(0x1f1),''),this[_0x1bf4da(0x1d6)](_0x1bf4da(0x1b8))['to'](_0x24149f),this[_0x1bf4da(0x1d1)]=this[_0x1bf4da(0x1e2)](_0xc78de1(_0x2707b8,_0x1bf4da(0x1e8)),_0x243c58[_0x1bf4da(0x1c7)],_0x1bf4da(0x1c6),_0x1bf4da(0x1ca),'sw'),this[_0x1bf4da(0x1d5)]=this[_0x1bf4da(0x1e2)](_0xc78de1(_0x2707b8,_0x1bf4da(0x1f3)),_0x243c58[_0x1bf4da(0x1f0)],_0x1bf4da(0x1dd),_0x1bf4da(0x1ee),'sw'),this[_0x1bf4da(0x20e)]=new _0x3351ab(_0x2707b8,_0x24149f[_0x1bf4da(0x1ed)],this[_0x1bf4da(0x1cd)]()),this[_0x1bf4da(0x20e)][_0x1bf4da(0x1be)]({'attributes':{'class':[_0x1bf4da(0x1d7),_0x1bf4da(0x200)],'aria-hidden':!0x0}}),this[_0x1bf4da(0x203)]=new _0x293f05([this[_0x1bf4da(0x1d1)],this[_0x1bf4da(0x1d5)]]),this[_0x1bf4da(0x1f8)]=new _0x14f7cf(),this[_0x1bf4da(0x1de)]=new _0x442ee0(),this[_0x1bf4da(0x1fb)]=new _0x2d8869({'focusables':this[_0x1bf4da(0x203)],'focusTracker':this[_0x1bf4da(0x1f8)],'keystrokeHandler':this[_0x1bf4da(0x1de)],'actions':{'focusPrevious':_0x1bf4da(0x208),'focusNext':_0x1bf4da(0x1f6)},'keystrokeHandlerOptions':{'filter':_0x2c1586=>_0x2c1586[_0x1bf4da(0x1c0)]!==this[_0x1bf4da(0x1fe)]}}),this[_0x1bf4da(0x1c3)](this[_0x1bf4da(0x1bf)]());}[_0x76a77c(0x1ef)](){const _0x52adac=_0x76a77c;super[_0x52adac(0x1ef)]();const _0x104f5f=this[_0x52adac(0x1fe)][_0x52adac(0x1ce)](_0x52adac(0x1f7));_0x104f5f[_0x52adac(0x20a)]=this[_0x52adac(0x1f1)],this['on'](_0x52adac(0x1e9),(_0x5a74c2,_0x3fcc02,_0x2b4cc6)=>{const _0x5a838c=_0x52adac;_0x104f5f[_0x5a838c(0x20a)]=_0x2b4cc6;}),this[_0x52adac(0x1b6)]();}[_0x76a77c(0x1bf)](){const _0x25d452=_0x76a77c,_0x1875bf=this[_0x25d452(0x1ea)],_0xdf314e=[{'tag':_0x25d452(0x1ba),'attributes':{'class':[_0x25d452(0x1d4),_0x25d452(0x1eb)]},'children':[{'tag':_0x25d452(0x1c2),'children':[{'text':this[_0x25d452(0x20e)][_0x25d452(0x1dc)]}],'attributes':{'class':[_0x25d452(0x1c9),_0x25d452(0x1cf)]}},{'tag':_0x25d452(0x1e5),'attributes':{'datetime':_0x1875bf['to'](_0x25d452(0x1b8)),'class':[_0x25d452(0x1d2),_0x25d452(0x1df)]},'children':[{'text':_0x1875bf['to'](_0x25d452(0x1b8),_0x14e0eb=>this[_0x25d452(0x1fd)][_0x25d452(0x1e6)](_0x14e0eb))}]}]},{'tag':_0x25d452(0x1ba),'attributes':{'class':[_0x25d452(0x1c1),_0x25d452(0x202)]},'children':[this[_0x25d452(0x1d1)],this[_0x25d452(0x1d5)]]},{'tag':_0x25d452(0x1ba),'attributes':{'class':[_0x25d452(0x1f9)]}}];return this[_0x25d452(0x1e0)][_0x25d452(0x205)]&&_0xdf314e[_0x25d452(0x1db)]({'tag':_0x25d452(0x1ba),'attributes':{'class':[_0x25d452(0x207)]},'children':[{'text':this[_0x25d452(0x1c4)]()}]}),{'tag':_0x25d452(0x1ba),'attributes':{'class':[_0x25d452(0x201),_0x25d452(0x1d9)],'tabindex':-0x1},'children':[this[_0x25d452(0x20e)],{'tag':_0x25d452(0x1ba),'attributes':{'class':[_0x25d452(0x1cc),_0x25d452(0x1b9)],'role':_0x25d452(0x1e7)},'children':_0xdf314e}]};}[_0x76a77c(0x1ec)](){const _0x3a5667=_0x76a77c;this[_0x3a5667(0x1fe)][_0x3a5667(0x1ec)]();}[_0x76a77c(0x1cd)](){const _0xba45e9=_0x76a77c;return this[_0xba45e9(0x1e0)][_0xba45e9(0x205)]?_0xba45e9(0x1c5)===this[_0xba45e9(0x1e0)][_0xba45e9(0x1d8)][_0xba45e9(0x1cb)][_0xba45e9(0x204)]?_0xc78de1(this[_0xba45e9(0x1d3)],_0xba45e9(0x206),this[_0xba45e9(0x1e0)][_0xba45e9(0x1f2)][_0xba45e9(0x1dc)]):_0xc78de1(this[_0xba45e9(0x1d3)],_0xba45e9(0x1bb),this[_0xba45e9(0x1e0)][_0xba45e9(0x1f2)][_0xba45e9(0x1dc)]):null;}[_0x76a77c(0x1c4)](){const _0x5c7b51=_0x76a77c;return _0x5c7b51(0x1c5)===this[_0x5c7b51(0x1e0)][_0x5c7b51(0x1d8)][_0x5c7b51(0x1cb)][_0x5c7b51(0x204)]?_0xc78de1(this[_0x5c7b51(0x1d3)],_0x5c7b51(0x20c)):_0xc78de1(this[_0x5c7b51(0x1d3)],_0x5c7b51(0x1f5));}[_0x76a77c(0x1e2)](_0x49cc0e,_0x3d3400,_0x45ef2b,_0x54067c,_0x2584ea){const _0x20a962=_0x76a77c,_0x45f252=new _0xdcbbb9(this[_0x20a962(0x1d3)]);return _0x45f252[_0x20a962(0x20b)]({'label':_0x49cc0e,'icon':_0x3d3400,'tooltip':!0x0,'tooltipPosition':_0x2584ea}),_0x45f252[_0x20a962(0x1be)]({'attributes':{'class':_0x45ef2b}}),_0x45f252['on'](_0x20a962(0x1f4),()=>{const _0x679667=_0x20a962;this[_0x679667(0x1d0)](_0x54067c,this[_0x679667(0x1e0)]['id']);}),_0x45f252;}[_0x76a77c(0x1b6)](){const _0x2c9693=_0x76a77c,_0x2a0352=this[_0x2c9693(0x1fe)];this[_0x2c9693(0x1de)][_0x2c9693(0x1da)](_0x2a0352);for(const _0x5814d8 of this[_0x2c9693(0x203)])this[_0x2c9693(0x1f8)][_0x2c9693(0x209)](_0x5814d8[_0x2c9693(0x1fe)]),this[_0x2c9693(0x1de)][_0x2c9693(0x1da)](_0x5814d8[_0x2c9693(0x1fe)]);this[_0x2c9693(0x1de)][_0x2c9693(0x20b)](_0x2c9693(0x20d),(_0x189136,_0x3d7dea)=>{const _0x4a0fbb=_0x2c9693;_0x2a0352===_0x189136[_0x4a0fbb(0x1c0)]&&(this[_0x4a0fbb(0x1fb)][_0x4a0fbb(0x1e3)](),_0x3d7dea());}),this[_0x2c9693(0x1de)][_0x2c9693(0x20b)](_0x2c9693(0x1fa),(_0x2e4523,_0x415ec8)=>{const _0xa901e=_0x2c9693;_0x2a0352!==_0x2e4523[_0xa901e(0x1c0)]&&(this[_0xa901e(0x1ec)](),_0x415ec8());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5b16b9,_0xc16c34,_0x2ca8ac){const _0x3e5cdb=_0x5b16b9['t'],t=_0x5b16b9['t'];switch(_0xc16c34){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',_0x2ca8ac);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2ca8ac);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2ca8ac);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2ca8ac);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2ca8ac);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',_0x2ca8ac);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2ca8ac);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',_0x2ca8ac);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2ca8ac);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2ca8ac);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2ca8ac);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2ca8ac);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2ca8ac);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2ca8ac);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2ca8ac);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2ca8ac);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2ca8ac);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2ca8ac);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2ca8ac);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2ca8ac);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2ca8ac);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2ca8ac);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2ca8ac);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2ca8ac);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2ca8ac);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2ca8ac);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2ca8ac);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2ca8ac);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2ca8ac);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2ca8ac);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'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2ca8ac);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2ca8ac);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x2ca8ac);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 _0x3e5cdb({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2ca8ac);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3e5cdb({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2ca8ac);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2ca8ac);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x2ca8ac);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x2ca8ac);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x2ca8ac);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xc16c34;}}
|
|
23
|
+
export function getTranslation(_0xc9c6f,_0x42289f,_0x283840){const _0x28684d=_0xc9c6f['t'],t=_0xc9c6f['t'];switch(_0x42289f){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',_0x283840);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x283840);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x283840);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x283840);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x283840);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',_0x283840);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x283840);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',_0x283840);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x283840);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x283840);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x283840);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x283840);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x283840);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x283840);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x283840);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x283840);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x283840);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x283840);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x283840);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x283840);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x283840);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x283840);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x283840);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'},_0x283840);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x283840);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x283840);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x283840);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x283840);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x283840);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'},_0x283840);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x283840);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x283840);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x283840);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x283840);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'},_0x283840);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x283840);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'},_0x283840);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'},_0x283840);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x283840);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'},_0x283840);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x283840);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'},_0x283840);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x283840);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x283840);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x283840);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 _0x28684d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x283840);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x28684d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x283840);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x283840);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x283840);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x283840);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x283840);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x42289f;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2845c9,_0x1b8743){const _0x3f1380=_0x306f,_0x2578ca=_0x2845c9();while(!![]){try{const _0x2122f3=parseInt(_0x3f1380(0x9a))/0x1+-parseInt(_0x3f1380(0x8d))/0x2*(-parseInt(_0x3f1380(0xac))/0x3)+-parseInt(_0x3f1380(0xb0))/0x4*(parseInt(_0x3f1380(0x86))/0x5)+parseInt(_0x3f1380(0xb2))/0x6+-parseInt(_0x3f1380(0x8a))/0x7*(-parseInt(_0x3f1380(0xb3))/0x8)+-parseInt(_0x3f1380(0xa9))/0x9+-parseInt(_0x3f1380(0x92))/0xa;if(_0x2122f3===_0x1b8743)break;else _0x2578ca['push'](_0x2578ca['shift']());}catch(_0x2bc3c2){_0x2578ca['push'](_0x2578ca['shift']());}}}(_0x50f0,0x5963a));function _0x306f(_0x1a819e,_0x356d70){const _0x50f039=_0x50f0();return _0x306f=function(_0x306f50,_0x553542){_0x306f50=_0x306f50-0x85;let _0xfc653d=_0x50f039[_0x306f50];return _0xfc653d;},_0x306f(_0x1a819e,_0x356d70);}export function normalizeDescription(_0x4b4fb9){const _0x2342b8=_0x306f;return Array[_0x2342b8(0xa3)](_0x4b4fb9)||(_0x4b4fb9=[_0x4b4fb9]),_0x4b4fb9[_0x2342b8(0x94)](_0x43e9aa=>{const _0x1c1250=_0x2342b8,_0x5baf2b=_0x43e9aa[_0x1c1250(0x89)][_0x1c1250(0x85)](/\*/g,''),_0x3a0c3a=_0x43e9aa[_0x1c1250(0xad)]?_0x1c1250(0xa0)+_0x43e9aa[_0x1c1250(0xad)][_0x1c1250(0xa2)]+']':'';return'['+_0x43e9aa[_0x1c1250(0x9f)]+']\x20'+_0x5baf2b+_0x3a0c3a;})[_0x2342b8(0x8c)](';\x20');}export function renderDescription(_0x22c023,_0x24e9d6){const _0x2ca691=_0x306f;let _0x59e52c='';return _0x59e52c+=_0x22c023[_0x2ca691(0x91)]('*')[_0x2ca691(0x94)]((_0x11df29,_0x516e17)=>_0x516e17%0x2!=0x0?_0x2ca691(0x98)+nn(_0x11df29)+_0x2ca691(0xa4):nn(_0x11df29))[_0x2ca691(0x8c)](''),_0x24e9d6&&(_0x59e52c+=_0x2ca691(0xb9)+_0x24e9d6[_0x2ca691(0xa2)]+_0x2ca691(0xaa)+_0x24e9d6[_0x2ca691(0x9c)]+_0x2ca691(0x90)),_0x59e52c;}function _0x50f0(){const _0x44cc81=['isArray','</span>','push','execute','innerHTML','createPositionBefore','5625081jmlisp','\x22\x20title=\x22','span','135jiBuwx','color','isMultiRange','sort','242512LkPRzX','from','3917028tCcgHe','2208jcAzVD','isObject','start','isCollapsed','end','schema','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createRange','replace','5qZzOEn','createElement','isInContent','content','14693stMkBX','createPositionAfter','join','6874fYSrpS','splice','change','\x22></span>','split','3805120XiIDpJ','createPositionAt','map','isIntersecting','isTouching','getRanges','<span\x20class=\x22ck-suggestion-type\x22>','add','45460bFjofz','innerText','title','deletion','length','type','\x20[color\x20','next','value'];_0x50f0=function(){return _0x44cc81;};return _0x50f0();}function nn(_0x35336f){const _0x4ca8bd=_0x306f,_0x299835=document[_0x4ca8bd(0x87)](_0x4ca8bd(0xab));return _0x299835[_0x4ca8bd(0x9b)]=_0x35336f,_0x299835[_0x4ca8bd(0xa7)];}export function sortSuggestions(_0x8efa0){const _0x3b4560=_0x306f;return _0x8efa0[_0x3b4560(0xaf)]((_0x47e711,_0x144355)=>_0x3b4560(0x9d)==_0x47e711[_0x3b4560(0x9f)]&&_0x3b4560(0x9d)!=_0x144355[_0x3b4560(0x9f)]?-0x1:_0x3b4560(0x9d)!=_0x47e711[_0x3b4560(0x9f)]&&_0x3b4560(0x9d)==_0x144355[_0x3b4560(0x9f)]?0x1:0x0);}export function getSelectedSuggestions(_0x4e74bd,_0x308599){const _0x4789db=_0x306f,_0x39fb54=Array[_0x4789db(0xb1)](_0x4e74bd[_0x4789db(0x97)]()),_0x144dfa=new Set();for(const _0x11d6c7 of _0x308599)if(_0x11d6c7[_0x4789db(0x88)]){for(const _0x31929e of _0x39fb54)for(const _0x3f2bbb of _0x11d6c7[_0x4789db(0x97)]())(_0x31929e[_0x4789db(0x95)](_0x3f2bbb)||_0x4e74bd[_0x4789db(0xb6)]&&!_0x11d6c7[_0x4789db(0xae)]&&_0x11d6c7[_0x4789db(0xa1)]&&_0x3f2bbb[_0x4789db(0xb7)][_0x4789db(0x96)](_0x31929e[_0x4789db(0xb5)]))&&_0x144dfa[_0x4789db(0x99)](_0x11d6c7);}return _0x144dfa;}export function getRangesOfBlockGroups(_0x2e4c5c,_0x41d2cb){const _0x301492=_0x306f;let _0xc9bca6,_0x4efe46=0x0;const _0x5f3623=[],_0x13aa3b=_0x41d2cb[_0x301492(0xb8)];for(;_0x4efe46<_0x2e4c5c[_0x301492(0x9e)];){const _0x408246=_0x2e4c5c[_0x4efe46],_0x48cf38=_0x2e4c5c[_0x4efe46+0x1];_0xc9bca6||(_0xc9bca6=_0x41d2cb[_0x301492(0xa8)](_0x408246)),on(_0x41d2cb,_0x408246,_0x48cf38)||(_0x5f3623[_0x301492(0xa5)](_0x41d2cb[_0x301492(0xba)](_0xc9bca6,_0x13aa3b[_0x301492(0xb4)](_0x408246)?_0x41d2cb[_0x301492(0x8b)](_0x408246):_0x41d2cb[_0x301492(0x93)](_0x408246,_0x301492(0xb7)))),_0xc9bca6=null),_0x4efe46++;}return _0x5f3623;}function on(_0x3add16,_0x147e99,_0x3367ac){const _0x5d413e=_0x306f;if(!_0x3367ac)return!0x1;const _0x21549a=_0x3add16[_0x5d413e(0x8b)](_0x147e99),_0x4b842e=_0x3add16[_0x5d413e(0xa8)](_0x3367ac);return _0x21549a[_0x5d413e(0x96)](_0x4b842e);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3f9de7,_0x13d324,_0x17ffef){const _0x48068c=_0x306f;for(;_0x17ffef[_0x48068c(0x9e)];){const _0x5f0807=_0x17ffef[_0x48068c(0x8e)](0x0,0x64);_0x3f9de7[_0x48068c(0x8f)](()=>{const _0x4d119b=_0x48068c;for(const _0x7bcb86 of _0x5f0807)_0x7bcb86[_0x4d119b(0x88)]&&_0x13d324[_0x4d119b(0xa6)](_0x7bcb86['id']);});}}
|