@ckeditor/ckeditor5-track-changes 43.0.0 → 43.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/gl.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/gl.po +22 -22
- 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.d.ts +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 _0x51127d=_0x1fe2;(function(_0x56fe06,_0x5cd5b1){const _0x5212a0=_0x1fe2,_0x54c5a0=_0x56fe06();while(!![]){try{const _0x5ac270=parseInt(_0x5212a0(0x1b5))/0x1+parseInt(_0x5212a0(0x1f2))/0x2*(-parseInt(_0x5212a0(0x197))/0x3)+-parseInt(_0x5212a0(0x1d1))/0x4*(parseInt(_0x5212a0(0x1a2))/0x5)+-parseInt(_0x5212a0(0x195))/0x6+parseInt(_0x5212a0(0x194))/0x7*(-parseInt(_0x5212a0(0x1af))/0x8)+parseInt(_0x5212a0(0x1f4))/0x9+parseInt(_0x5212a0(0x193))/0xa;if(_0x5ac270===_0x5cd5b1)break;else _0x54c5a0['push'](_0x54c5a0['shift']());}catch(_0x172602){_0x54c5a0['push'](_0x54c5a0['shift']());}}}(_0x385a,0x8d903));import{Plugin as _0x57bce5}from'ckeditor5/src/core.js';import{Collection as _0x52984f}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x47a603,createDropdown as _0x4ca201,ListSeparatorView as _0x1e3594,MenuBarMenuView as _0x39eeba,MenuBarMenuListView as _0xee3f39,MenuBarMenuListItemView as _0x5b7602,MenuBarMenuListItemButtonView as _0x25def7,SplitButtonView as _0x1c0d0e,ViewModel as _0x344c97}from'ckeditor5/src/ui.js';import{Users as _0x631dd5,getDateTimeFormatter as _0x958b62,getAllMarkersDomElementsSorted as _0x207d87,ENTER_THREAD_KEYSTROKE as _0x514796}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xc5717c from'./trackchangesediting.js';function _0x385a(){const _0x3dc279=['2046950YmpsWI','previous','suggestionView','listenTo','_destroyController','toMany','commands','createAnnotationView','descriptionParts','menu','model','values','addSourceCollector','263864HsEcbX','trackChanges','items','_handleSuggestionControllerDelayed','config','focus','822255BtxJxs','menuBar:trackChanges','type','define','discardAllSuggestions','low','acceptSelectedSuggestions','getSuggestion','lowest','Annotations','remove','push','filter','bind','Accept\x20all\x20suggestions','_updateController','size','delete','isInContent','registerAnnotation','buttonView','view','trackChanges.SuggestionView','componentFactory','separator','plugins','CommentsRepository','delegate','8HmGeeU','commentThread','getFirstRange','_annotationViews','children','commandName','stopListening','keystrokes','_initializeController','change:previous','CommentsUI','menuitem','value','TrackChangesUI','_viewToController','_handleControllerBuffer','createCommentThreadController','keys','_createToolbarButton','_refreshActiveMarkers','get','acceptAllSuggestions','init','comments','from','_initKeyboardNavigationToThread','TrackChangesEditing','isDirty','SuggestionThreadView','destroy','getJoined','getMarkerNames','activeAnnotations','2KoirDx','Track\x20changes','8505918dwiquD','some','menuitemcheckbox','addComment','_suggestionToController','requires','suggestion-','arrowView','pluginName','getAllAdjacentSuggestions','EditorAnnotations','getMarkers','discardButton','comments.maxCommentCharsWhenCollapsed','locale','add','suggestionLoaded','refreshSelectedViews','innerView','change:activeAnnotations','trackChanges.SuggestionThreadView','_disableComments','button','commentsListView','source','Accept\x20all\x20selected\x20suggestions','isMultiRange','clear','reduce','switchbutton','Discard\x20all\x20selected\x20suggestions','hasSuggestion','editor','unbind','escape','_createMenuBarMenu','panelView','isOn','has','_bindAnnotationToEditors','execute','_unbindEditors','getDescriptions','suggestionUnloaded','comments.editorConfig','descriptionFactory','isEnabled','getRanges','getByInnerView','SuggestionView','head','acceptButton','length','_splitMarkerName','Discard\x20all\x20suggestions','set','activeMarkers','12652380yqBuQo','91pZyJgG','320220cYtmnK','CommentView','3455469YGeSHe','_addUIComponentsToFactory','trackChanges.disableComments','createAnnotation','editing','actionView','mainView','comments.maxThreadTotalWeight','suggestionChanged','comments.maxCommentsWhenCollapsed','discardSelectedSuggestions'];_0x385a=function(){return _0x3dc279;};return _0x385a();}import _0x13796a from'./ui/suggestioncontroller.js';import _0x534252 from'./ui/view/suggestionthreadview.js';function _0x1fe2(_0x19cb05,_0x44b402){const _0x385abd=_0x385a();return _0x1fe2=function(_0x1fe235,_0x53e73a){_0x1fe235=_0x1fe235-0x17f;let _0x2c7300=_0x385abd[_0x1fe235];return _0x2c7300;},_0x1fe2(_0x19cb05,_0x44b402);}import _0x42e001 from'./ui/view/suggestionview.js';import{getTranslation as _0xaf49cc}from'./utils/common-translations.js';import _0x146e82 from'./trackchanges.js';import _0x29eb9b from'../theme/icons/track-changes.svg';export default class d extends _0x57bce5{static get[_0x51127d(0x1f9)](){const _0x2889d5=_0x51127d;return[_0xc5717c,_0x631dd5,_0x2889d5(0x1cf),_0x2889d5(0x1be),_0x2889d5(0x1fe)];}static get[_0x51127d(0x1fc)](){const _0x54f1bc=_0x51127d;return _0x54f1bc(0x1de);}constructor(_0x1af061){const _0xabb067=_0x51127d;super(_0x1af061),this[_0xabb067(0x1f8)]=new Map(),this[_0xabb067(0x1df)]=new Map(),this[_0xabb067(0x1d4)]=new Map(),this[_0xabb067(0x1e0)]=new Map();const _0x57882a=this[_0xabb067(0x214)][_0xabb067(0x1b3)];_0x57882a[_0xabb067(0x1b8)](_0xabb067(0x208),_0x534252),_0x57882a[_0xabb067(0x1b8)](_0xabb067(0x1cb),_0x42e001),_0x57882a[_0xabb067(0x1b8)](_0xabb067(0x199),!0x1),this[_0xabb067(0x209)]=_0x57882a[_0xabb067(0x1e5)](_0xabb067(0x199)),this[_0xabb067(0x1ea)]();}[_0x51127d(0x1b2)](_0x2baefc,_0x74dbb){const _0x4f561d=_0x51127d;0x0===this[_0x4f561d(0x1e0)][_0x4f561d(0x1c5)]&&setTimeout(()=>{const _0x286a68=_0x4f561d;for(const [_0x362a7a,_0x656dc0]of this[_0x286a68(0x1e0)]){const _0x352b61=this[_0x286a68(0x1f8)][_0x286a68(0x180)](_0x362a7a);_0x352b61||_0x656dc0?_0x352b61&&_0x656dc0&&this[_0x286a68(0x1a6)](_0x362a7a):this[_0x286a68(0x1d9)](_0x362a7a);}this[_0x286a68(0x1e0)][_0x286a68(0x20f)](),this[_0x286a68(0x214)][_0x286a68(0x1ce)][_0x286a68(0x1e5)](_0x286a68(0x1fe))[_0x286a68(0x205)](),this[_0x286a68(0x1e4)]();},0xa),this[_0x4f561d(0x1e0)][_0x4f561d(0x191)](_0x2baefc,_0x74dbb);}[_0x51127d(0x1e7)](){const _0x4a4483=_0x51127d,_0x4c4e3e=this[_0x4a4483(0x214)],_0x3032db=_0x4c4e3e[_0x4a4483(0x1ce)][_0x4a4483(0x1e5)](_0x4a4483(0x1eb)),_0x4636fb=_0x4c4e3e[_0x4a4483(0x1ce)][_0x4a4483(0x1e5)](_0x4a4483(0x1be)),_0x1ff8cd=_0x4c4e3e[_0x4a4483(0x1ce)][_0x4a4483(0x1e5)](_0x4a4483(0x1fe)),_0x4f8188=_0x4c4e3e[_0x4a4483(0x1ce)][_0x4a4483(0x1e5)](_0x4a4483(0x1cf));this[_0x4a4483(0x198)](),_0x1ff8cd[_0x4a4483(0x1ae)](()=>{const _0xd4f3ba=_0x4a4483,_0x459e0a=[];for(const [_0x420cbc,_0x4e97e2]of Array[_0xd4f3ba(0x1e9)](this[_0xd4f3ba(0x1f8)])){const _0x5b9964=_0x420cbc[_0xd4f3ba(0x1fd)](),_0x2ed2ab=[];for(const _0x4ae4f0 of _0x5b9964){if(!_0x4ae4f0[_0xd4f3ba(0x1c7)])continue;if(_0x4ae4f0[_0xd4f3ba(0x20e)]){_0x2ed2ab[_0xd4f3ba(0x1c0)](..._0x4ae4f0[_0xd4f3ba(0x189)]());continue;}const _0x4180a4=_0x4ae4f0[_0xd4f3ba(0x1d3)]();if(_0x2ed2ab[_0xd4f3ba(0x18e)]>0x0){const _0x14daec=_0x2ed2ab[0x0][_0xd4f3ba(0x1ef)](_0x4180a4);if(_0x14daec){_0x2ed2ab[0x0]=_0x14daec;continue;}}_0x2ed2ab[_0xd4f3ba(0x1c0)](_0x4180a4);}_0x459e0a[_0xd4f3ba(0x1c0)]([_0x4e97e2[_0xd4f3ba(0x1ca)],_0x2ed2ab]);}return _0x459e0a;}),this[_0x4a4483(0x1a5)](_0x3032db,_0x4a4483(0x204),(_0x2c3990,_0x2bf1ba)=>{const _0x4d0c83=_0x4a4483;this[_0x4d0c83(0x1a5)](_0x2bf1ba,_0x4d0c83(0x1da),(_0x1a942f,_0x1ab33d,_0x3214c9,_0x74e287)=>{const _0x2fd36f=_0x4d0c83;_0x2bf1ba[_0x2fd36f(0x1c7)]&&(null==_0x3214c9?(this[_0x2fd36f(0x1c4)](_0x74e287[_0x2fd36f(0x18c)]),this[_0x2fd36f(0x1b2)](_0x2bf1ba,!0x1)):(this[_0x2fd36f(0x1c4)](_0x3214c9[_0x2fd36f(0x18c)]),null==_0x74e287&&this[_0x2fd36f(0x1b2)](_0x2bf1ba,!0x0)));}),null!==_0x2bf1ba[_0x4d0c83(0x1a3)]?this[_0x4d0c83(0x1c4)](_0x2bf1ba[_0x4d0c83(0x18c)]):this[_0x4d0c83(0x1b2)](_0x2bf1ba,!0x1);}),this[_0x4a4483(0x1a5)](_0x3032db,_0x4a4483(0x185),(_0xa2e24b,_0x1f82bc,_0x522882)=>{const _0x1c3aa1=_0x4a4483;this[_0x1c3aa1(0x1d7)](_0x1f82bc,_0x1c3aa1(0x1da)),this[_0x1c3aa1(0x1e0)][_0x1c3aa1(0x1c6)](_0x1f82bc),this[_0x1c3aa1(0x1f8)][_0x1c3aa1(0x180)](_0x1f82bc)&&this[_0x1c3aa1(0x1a6)](_0x1f82bc),_0x522882&&this[_0x1c3aa1(0x1c4)](_0x522882[_0x1c3aa1(0x18c)]);}),this[_0x4a4483(0x1a5)](_0x3032db,_0x4a4483(0x19f),(_0x3c37e2,_0x236153)=>{const _0x5e46be=_0x4a4483;this[_0x5e46be(0x1c4)](_0x236153);}),this[_0x4a4483(0x1a5)](_0x4636fb,_0x4a4483(0x207),()=>{const _0x23cb71=_0x4a4483;this[_0x23cb71(0x1e4)]();}),this[_0x4a4483(0x1a5)](_0x4f8188,_0x4a4483(0x1f7),(_0x4abd2a,{threadId:_0xa5eb68,isFromAdapter:_0x87d619})=>{const _0x5b0d8c=_0x4a4483;if(_0x87d619||!_0x3032db[_0x5b0d8c(0x213)](_0xa5eb68))return;const _0x50d04b=_0x3032db[_0x5b0d8c(0x1bc)](_0xa5eb68);this[_0x5b0d8c(0x1f8)][_0x5b0d8c(0x1e5)](_0x50d04b)[_0x5b0d8c(0x1ca)][_0x5b0d8c(0x20b)][_0x5b0d8c(0x1b4)](-0x1);},{'priority':_0x4a4483(0x1bd)});}[_0x51127d(0x1e4)](){const _0x49ae7c=_0x51127d,_0x2554a4=this[_0x49ae7c(0x214)][_0x49ae7c(0x1ce)][_0x49ae7c(0x1e5)](_0x49ae7c(0x1be)),_0x238cc1=this[_0x49ae7c(0x214)][_0x49ae7c(0x1ce)][_0x49ae7c(0x1e5)](_0x49ae7c(0x1eb)),_0x45e6cb=Array[_0x49ae7c(0x1e9)](_0x2554a4[_0x49ae7c(0x1f1)],_0xc84a75=>_0xc84a75[_0x49ae7c(0x206)])[_0x49ae7c(0x1c1)](_0x507b3d=>this[_0x49ae7c(0x1df)][_0x49ae7c(0x180)](_0x507b3d)),_0x24ac17=[];for(const _0x35f773 of _0x45e6cb){const _0x18c47e=this[_0x49ae7c(0x1df)][_0x49ae7c(0x1e5)](_0x35f773)[_0x49ae7c(0x1ac)][_0x49ae7c(0x1fd)]();_0x24ac17[_0x49ae7c(0x1c0)](..._0x18c47e[_0x49ae7c(0x210)]((_0x46e301,_0x44016d)=>[..._0x46e301,..._0x44016d[_0x49ae7c(0x1f0)]()],[]));}_0x238cc1[_0x49ae7c(0x192)]=_0x24ac17;}[_0x51127d(0x198)](){const _0xb8ef39=_0x51127d,_0x2fa296=this[_0xb8ef39(0x214)],_0x357004=_0x2fa296[_0xb8ef39(0x202)],_0x5e1aa2=_0xaf49cc(_0x357004,_0xb8ef39(0x1f3)),_0x2a7139=new _0x52984f([{'type':_0xb8ef39(0x211),'model':new _0x344c97({'withText':!0x0,'isToggleable':!0x0,'label':_0x5e1aa2,'commandName':_0xb8ef39(0x1b0),'role':_0xb8ef39(0x1f6)})},{'type':_0xb8ef39(0x1cd)},{'type':_0xb8ef39(0x20a),'model':new _0x344c97({'withText':!0x0,'label':_0xaf49cc(_0x357004,_0xb8ef39(0x1c3)),'commandName':_0xb8ef39(0x1e6),'role':_0xb8ef39(0x1dc)})},{'type':_0xb8ef39(0x20a),'model':new _0x344c97({'withText':!0x0,'label':_0xaf49cc(_0x357004,_0xb8ef39(0x20d)),'commandName':_0xb8ef39(0x1bb),'role':_0xb8ef39(0x1dc)})},{'type':_0xb8ef39(0x20a),'model':new _0x344c97({'withText':!0x0,'label':_0xaf49cc(_0x357004,_0xb8ef39(0x190)),'commandName':_0xb8ef39(0x1b9),'role':_0xb8ef39(0x1dc)})},{'type':_0xb8ef39(0x20a),'model':new _0x344c97({'withText':!0x0,'label':_0xaf49cc(_0x357004,_0xb8ef39(0x212)),'commandName':_0xb8ef39(0x1a1),'role':_0xb8ef39(0x1dc)})}]);for(const _0x12a6ec of _0x2a7139)if(me(_0x12a6ec)){const _0x1e3aba=_0x2fa296[_0xb8ef39(0x1a8)][_0xb8ef39(0x1e5)](_0x12a6ec[_0xb8ef39(0x1ac)][_0xb8ef39(0x1d6)]);_0x12a6ec[_0xb8ef39(0x1ac)][_0xb8ef39(0x1c2)](_0xb8ef39(0x17f),_0xb8ef39(0x188))['to'](_0x1e3aba,_0xb8ef39(0x1dd),_0xb8ef39(0x188));}_0x2fa296['ui'][_0xb8ef39(0x1cc)][_0xb8ef39(0x203)](_0xb8ef39(0x1b0),_0x1d674b=>this[_0xb8ef39(0x1e3)](_0x1d674b,_0x2a7139,_0x5e1aa2)),_0x2fa296['ui'][_0xb8ef39(0x1cc)][_0xb8ef39(0x203)](_0xb8ef39(0x1b6),_0x1c66fb=>this[_0xb8ef39(0x217)](_0x1c66fb,_0x2a7139,_0x5e1aa2));}[_0x51127d(0x1e3)](_0x346ef4,_0x1ef320,_0x21a5cb){const _0x356720=_0x51127d,_0x140572=_0x4ca201(_0x346ef4,_0x1c0d0e),_0x5ae7f0=this[_0x356720(0x214)][_0x356720(0x1a8)][_0x356720(0x1e5)](_0x356720(0x1b0));_0x140572[_0x356720(0x1c9)][_0x356720(0x191)]({'tooltip':_0x21a5cb,'label':_0x21a5cb,'icon':_0x29eb9b}),_0x140572[_0x356720(0x1c9)][_0x356720(0x1c2)](_0x356720(0x17f))['to'](_0x5ae7f0,_0x356720(0x1dd)),_0x140572[_0x356720(0x1c9)]['on'](_0x356720(0x182),()=>{const _0x26d4ef=_0x356720;_0x5ae7f0[_0x26d4ef(0x182)](),this[_0x26d4ef(0x214)][_0x26d4ef(0x19b)][_0x26d4ef(0x1ca)][_0x26d4ef(0x1b4)]();}),_0x47a603(_0x140572,_0x1ef320,{'role':_0x356720(0x1ab)});const _0x5a610e=[];for(const _0xd0a687 of _0x1ef320)me(_0xd0a687)&&_0x5a610e[_0x356720(0x1c0)](this[_0x356720(0x214)][_0x356720(0x1a8)][_0x356720(0x1e5)](_0xd0a687[_0x356720(0x1ac)][_0x356720(0x1d6)]));const _0xe7abcf=_0x140572[_0x356720(0x1c9)];return _0xe7abcf[_0x356720(0x19c)][_0x356720(0x215)](_0x356720(0x188)),_0xe7abcf[_0x356720(0x1fb)][_0x356720(0x215)](_0x356720(0x188)),_0xe7abcf[_0x356720(0x19c)][_0x356720(0x1c2)](_0x356720(0x188))['to'](_0x5ae7f0,_0x356720(0x188)),_0xe7abcf[_0x356720(0x1fb)][_0x356720(0x1c2)](_0x356720(0x188))[_0x356720(0x1a7)](_0x5a610e,_0x356720(0x188),(..._0x2aeff8)=>_0x2aeff8[_0x356720(0x1f5)](_0x2d0e88=>_0x2d0e88)),_0x140572['on'](_0x356720(0x182),_0x144962=>{const _0x156f37=_0x356720;this[_0x156f37(0x214)][_0x156f37(0x182)](_0x144962[_0x156f37(0x20c)][_0x156f37(0x1d6)]),this[_0x156f37(0x214)][_0x156f37(0x19b)][_0x156f37(0x1ca)][_0x156f37(0x1b4)]();}),_0x140572;}[_0x51127d(0x217)](_0x54669d,_0x38c759,_0x465b4f){const _0x786f34=_0x51127d,_0x1f7838=new _0x39eeba(_0x54669d),_0x330179=this[_0x786f34(0x214)][_0x786f34(0x1a8)][_0x786f34(0x1e5)](_0x786f34(0x1b0));_0x1f7838[_0x786f34(0x1c9)][_0x786f34(0x191)]({'label':_0x465b4f,'icon':_0x29eb9b});const _0xbb5e3f=new _0xee3f39(_0x54669d);for(const _0x1afe31 of _0x38c759){if(_0x786f34(0x1cd)==_0x1afe31[_0x786f34(0x1b7)]){_0xbb5e3f[_0x786f34(0x1b1)][_0x786f34(0x203)](new _0x1e3594(_0x54669d));continue;}const _0x5e8ce0=new _0x5b7602(_0x54669d,_0x1f7838),_0x9ff1d6=new _0x25def7(_0x54669d),_0x4a9a41=_0x1afe31[_0x786f34(0x1ac)];_0x9ff1d6[_0x786f34(0x1c2)](...Object[_0x786f34(0x1e2)](_0x4a9a41))['to'](_0x4a9a41),_0x9ff1d6[_0x786f34(0x1d0)](_0x786f34(0x182))['to'](_0x1f7838),_0x9ff1d6['on'](_0x786f34(0x182),()=>{const _0x59b4d4=_0x786f34;this[_0x59b4d4(0x214)][_0x59b4d4(0x182)](_0x4a9a41[_0x59b4d4(0x1d6)]),this[_0x59b4d4(0x214)][_0x59b4d4(0x19b)][_0x59b4d4(0x1ca)][_0x59b4d4(0x1b4)]();}),_0x5e8ce0[_0x786f34(0x1d5)][_0x786f34(0x203)](_0x9ff1d6),_0xbb5e3f[_0x786f34(0x1b1)][_0x786f34(0x203)](_0x5e8ce0);}return _0x1f7838[_0x786f34(0x1c2)](_0x786f34(0x188))['to'](_0x330179,_0x786f34(0x188)),_0x1f7838[_0x786f34(0x218)][_0x786f34(0x1d5)][_0x786f34(0x203)](_0xbb5e3f),_0x1f7838;}[_0x51127d(0x1d9)](_0x51b885){const _0x3313ab=_0x51127d,_0x51517b=this[_0x3313ab(0x214)],_0x5324f6=_0x51517b[_0x3313ab(0x1b3)],_0x4f3544=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1be)),_0x5afb93=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1cf)),_0x4a9b81=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1fe)),_0x2e3acd=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x631dd5)['me'],_0x29277e=_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x1b0))[_0x3313ab(0x1ed)],_0x30f566=_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x1b0))[_0x3313ab(0x18b)],{CommentsListView:_0x237036,CommentThreadInputView:_0x522bc6}=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1db));let _0x5d2d3a,_0x370c7e;this[_0x3313ab(0x1d4)][_0x3313ab(0x180)](_0x51b885['id'])?(_0x370c7e=this[_0x3313ab(0x1d4)][_0x3313ab(0x1e5)](_0x51b885['id']),_0x5d2d3a=_0x370c7e[_0x3313ab(0x19d)]):(_0x5d2d3a=new _0x29277e(_0x51517b[_0x3313ab(0x202)],_0x51b885,_0x2e3acd,{'disableComments':this[_0x3313ab(0x209)],'editorConfig':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x186)),'maxCommentsWhenCollapsed':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x1a0)),'maxThreadTotalWeight':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x19e)),'maxCommentCharsWhenCollapsed':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x201)),'formatDateTime':_0x958b62(_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x202))),'CommentView':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x1e8))[_0x3313ab(0x196)],'CommentsListView':_0x237036,'CommentThreadInputView':_0x522bc6,'SuggestionView':_0x30f566}),_0x5d2d3a[_0x3313ab(0x1a4)][_0x3313ab(0x18d)]['on'](_0x3313ab(0x182),()=>{const _0x169971=_0x3313ab;_0x51517b[_0x169971(0x19b)][_0x169971(0x1ca)][_0x169971(0x1b4)]();}),_0x5d2d3a[_0x3313ab(0x1a4)][_0x3313ab(0x200)]['on'](_0x3313ab(0x182),()=>{const _0x5c8a83=_0x3313ab;_0x51517b[_0x5c8a83(0x19b)][_0x5c8a83(0x1ca)][_0x5c8a83(0x1b4)]();}),_0x370c7e=_0x4f3544[_0x3313ab(0x1a9)](this[_0x3313ab(0x214)][_0x3313ab(0x202)],_0x5d2d3a),_0x370c7e[_0x3313ab(0x1c2)](_0x3313ab(0x1ec))['to'](_0x5d2d3a,_0x3313ab(0x1ec)),_0x370c7e[_0x3313ab(0x1c2)](_0x3313ab(0x18e))['to'](_0x5d2d3a),_0x370c7e[_0x3313ab(0x1c2)](_0x3313ab(0x1b7))['to'](_0x5d2d3a,_0x3313ab(0x1b7),_0x3b8d2a=>_0x3313ab(0x1fa)+_0x3b8d2a),this[_0x3313ab(0x1a5)](_0x5d2d3a,_0x3313ab(0x216),()=>{const _0x18d67b=_0x3313ab;_0x51517b[_0x18d67b(0x19b)][_0x18d67b(0x1ca)][_0x18d67b(0x1b4)]();},{'priority':_0x3313ab(0x1ba)}),this[_0x3313ab(0x1d4)][_0x3313ab(0x191)](_0x51b885['id'],_0x370c7e));const _0x5e595a=_0x5afb93[_0x3313ab(0x1e1)](_0x51b885[_0x3313ab(0x1d2)],_0x5d2d3a),_0x105267=new _0x13796a(_0x51517b,_0x51b885,_0x5d2d3a,_0x5e595a),_0x2ea225=_0x51b885[_0x3313ab(0x1fd)]()[_0x3313ab(0x1c1)](_0x5ec9db=>_0x5ec9db[_0x3313ab(0x1c7)]);_0x5d2d3a[_0x3313ab(0x1aa)]=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1eb))[_0x3313ab(0x187)][_0x3313ab(0x184)](_0x2ea225),this[_0x3313ab(0x1f8)][_0x3313ab(0x191)](_0x51b885,_0x105267),this[_0x3313ab(0x1df)][_0x3313ab(0x191)](_0x5d2d3a,_0x105267);const _0xe4887=_0x4f3544[_0x3313ab(0x19a)]({'view':_0x370c7e,'target':()=>{const _0x5465d9=_0x3313ab,_0x376267=[],_0x32f9c0=_0x51b885[_0x5465d9(0x1fd)]()[_0x5465d9(0x1c1)](_0x5d4570=>_0x5d4570[_0x5465d9(0x1c7)]);for(const _0x5a3493 of _0x32f9c0)_0x376267[_0x5465d9(0x1c0)](..._0x5a3493[_0x5465d9(0x1ff)]());return _0x207d87(_0x51517b[_0x5465d9(0x19b)],_0x376267);},'type':()=>_0x3313ab(0x1fa)+_0x105267[_0x3313ab(0x1ca)][_0x3313ab(0x1b7)]});_0x5afb93[_0x3313ab(0x181)](_0x5d2d3a,_0xe4887),_0x4f3544[_0x3313ab(0x203)](_0xe4887),_0x4a9b81[_0x3313ab(0x1c8)](_0xe4887);}[_0x51127d(0x1a6)](_0x2b65c9){const _0x25e959=_0x51127d,_0x2e67b3=this[_0x25e959(0x214)][_0x25e959(0x1ce)][_0x25e959(0x1e5)](_0x25e959(0x1cf)),_0x199e24=this[_0x25e959(0x214)][_0x25e959(0x1ce)][_0x25e959(0x1e5)](_0x25e959(0x1be)),_0x4422d3=this[_0x25e959(0x1f8)][_0x25e959(0x1e5)](_0x2b65c9),_0xc2cb00=_0x4422d3[_0x25e959(0x1ca)],_0x115ecd=_0x199e24[_0x25e959(0x18a)](_0xc2cb00);_0x2e67b3[_0x25e959(0x183)](_0xc2cb00),_0x115ecd&&_0x199e24[_0x25e959(0x1bf)](_0x115ecd),this[_0x25e959(0x1f8)][_0x25e959(0x1c6)](_0x2b65c9),this[_0x25e959(0x1df)][_0x25e959(0x1c6)](_0xc2cb00),_0x4422d3[_0x25e959(0x1ee)]();}[_0x51127d(0x1c4)](_0x2203bc){const _0x4fef42=_0x51127d;if(!_0x2203bc[_0x4fef42(0x1c7)]||!this[_0x4fef42(0x1f8)][_0x4fef42(0x180)](_0x2203bc))return;const _0x4cdaa3=this[_0x4fef42(0x214)][_0x4fef42(0x1ce)][_0x4fef42(0x1e5)](_0x4fef42(0x1eb)),_0xb22327=this[_0x4fef42(0x1f8)][_0x4fef42(0x1e5)](_0x2203bc),_0x16bc09=_0x2203bc[_0x4fef42(0x1fd)]();_0xb22327[_0x4fef42(0x1ca)][_0x4fef42(0x1aa)]=_0x4cdaa3[_0x4fef42(0x187)][_0x4fef42(0x184)](_0x16bc09);}[_0x51127d(0x1ea)](){const _0x550e51=_0x51127d;this[_0x550e51(0x214)][_0x550e51(0x1d8)][_0x550e51(0x191)](_0x514796,(_0x1cc723,_0x39f886)=>{const _0x3e8a79=_0x550e51,_0x36d892=this[_0x3e8a79(0x214)][_0x3e8a79(0x1ce)][_0x3e8a79(0x1e5)](_0x146e82),_0x4eabd8=this[_0x3e8a79(0x214)][_0x3e8a79(0x1ce)][_0x3e8a79(0x1e5)](_0xc5717c);if(!_0x4eabd8[_0x3e8a79(0x192)][_0x3e8a79(0x18e)])return;const {id:_0x3ca947}=_0x4eabd8[_0x3e8a79(0x18f)](_0x4eabd8[_0x3e8a79(0x192)][0x0]),_0x3bfdcc=_0x36d892[_0x3e8a79(0x1bc)](_0x3ca947);_0x3bfdcc&&(this[_0x3e8a79(0x1f8)][_0x3e8a79(0x1e5)](_0x3bfdcc)[_0x3e8a79(0x1ca)][_0x3e8a79(0x1b4)](),_0x39f886());});}[_0x51127d(0x1ee)](){const _0x3e2857=_0x51127d;for(const _0xecd8d0 of this[_0x3e2857(0x1f8)][_0x3e2857(0x1e2)]())this[_0x3e2857(0x1a6)](_0xecd8d0);for(const _0xe04d5e of this[_0x3e2857(0x1d4)][_0x3e2857(0x1ad)]())_0xe04d5e[_0x3e2857(0x19d)][_0x3e2857(0x1ee)]();super[_0x3e2857(0x1ee)]();}}function me(_0x485fb9){const _0x154ed0=_0x51127d;return _0x154ed0(0x1ac)in _0x485fb9;}
|
|
23
|
+
const _0x19890f=_0x53f4;(function(_0xcc7003,_0x5b28a3){const _0x2de642=_0x53f4,_0x238d3c=_0xcc7003();while(!![]){try{const _0x24a687=parseInt(_0x2de642(0x110))/0x1*(-parseInt(_0x2de642(0xde))/0x2)+-parseInt(_0x2de642(0xbf))/0x3*(-parseInt(_0x2de642(0x101))/0x4)+parseInt(_0x2de642(0xaa))/0x5+-parseInt(_0x2de642(0xc3))/0x6+-parseInt(_0x2de642(0x10c))/0x7+-parseInt(_0x2de642(0x117))/0x8+-parseInt(_0x2de642(0x111))/0x9*(-parseInt(_0x2de642(0x10b))/0xa);if(_0x24a687===_0x5b28a3)break;else _0x238d3c['push'](_0x238d3c['shift']());}catch(_0x1cbff6){_0x238d3c['push'](_0x238d3c['shift']());}}}(_0x4fb7,0x53b75));import{Plugin as _0x4683c8}from'ckeditor5/src/core.js';import{Collection as _0x5a0d5c}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1f2bc9,createDropdown as _0x34d185,ListSeparatorView as _0x30aaab,MenuBarMenuView as _0x1cde52,MenuBarMenuListView as _0x1a866c,MenuBarMenuListItemView as _0x39d015,MenuBarMenuListItemButtonView as _0x11690e,SplitButtonView as _0x5e71ca,ViewModel as _0x3ccb15}from'ckeditor5/src/ui.js';import{Users as _0x56980e,getDateTimeFormatter as _0x1330d3,getAllMarkersDomElementsSorted as _0x4ef3ec}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x253311 from'./trackchangesediting.js';import _0x211873 from'./ui/suggestioncontroller.js';import _0x292c05 from'./ui/view/suggestionthreadview.js';import _0x391c88 from'./ui/view/suggestionview.js';function _0x4fb7(){const _0x207a78=['actionView','comments.maxThreadTotalWeight','_suggestionToController','items','listenTo','componentFactory','fire','mainView','3NKdriv','comments','get','TrackChangesEditing','1388580tydWmT','commandName','locale','getMarkers','suggestionUnloaded','config','createAnnotation','init','comments.maxCommentsWhenCollapsed','source','keys','TrackChangesUI','trackChanges.disableComments','_destroyController','stopListening','delete','reduce','define','set','suggestion-','getByInnerView','createAnnotationView','_viewToController','editor','createCommentThreadController','from','push','2qWTXdh','children','some','CommentsUI','separator','bind','toMany','has','discardButton','change:previous','_bindAnnotationToEditors','focus','getFirstRange','destroy','previous','filter','addComment','editing','Annotations','suggestionView','delegate','hasSuggestion','commentThread','_createMenuBarMenu','_createToolbarButton','_unbindEditors','_annotationViews','plugins','activeAnnotations','_addUIComponentsToFactory','comments.maxCommentCharsWhenCollapsed','isDirty','lowest','execute','getMarkerNames','1757380Gbuqgl','Discard\x20all\x20suggestions','head','suggestionLoaded','buttonView','CommentsRepository','addSourceCollector','activeMarkers','menuitemcheckbox','change:activeAnnotations','2234080hOUVeL','1030722WQZWrQ','innerView','menuBar:trackChanges','isEnabled','26839uuqMDW','36bFaOhC','pluginName','acceptSelectedSuggestions','refreshSelectedViews','_updateController','add','5040264NyNatu','comments.editorConfig','EditorAnnotations','menuitem','SuggestionView','_refreshActiveMarkers','discardAllSuggestions','length','escape','isMultiRange','arrowView','getJoined','acceptAllSuggestions','panelView','getAllAdjacentSuggestions','values','descriptionParts','value','SuggestionThreadView','button','getSuggestion','Accept\x20all\x20selected\x20suggestions','unbind','_initializeController','type','isOn','CommentView','registerAnnotation','commentsListView','discardSelectedSuggestions','menu','trackChanges.SuggestionThreadView','commands','_handleSuggestionControllerDelayed','Track\x20changes','Accept\x20all\x20suggestions','suggestionChanged','switchbutton','_handleControllerBuffer','size','descriptionFactory','view','227360TwinIA','Discard\x20all\x20selected\x20suggestions','requires','_disableComments','remove','getRanges','model','clear','isInContent','acceptButton','trackChanges.SuggestionView','getDescriptions','trackChanges'];_0x4fb7=function(){return _0x207a78;};return _0x4fb7();}import{getTranslation as _0x5e93b5}from'./utils/common-translations.js';import _0x9bade2 from'../theme/icons/track-changes.svg';export default class d extends _0x4683c8{static get[_0x19890f(0xac)](){const _0x4c686d=_0x19890f;return[_0x253311,_0x56980e,_0x4c686d(0x106),_0x4c686d(0xf0),_0x4c686d(0x119)];}static get[_0x19890f(0x112)](){const _0x4ed9d7=_0x19890f;return _0x4ed9d7(0xce);}constructor(_0x4b88f9){const _0x41a6c8=_0x19890f;super(_0x4b88f9),this[_0x41a6c8(0xb9)]=new Map(),this[_0x41a6c8(0xd9)]=new Map(),this[_0x41a6c8(0xf8)]=new Map(),this[_0x41a6c8(0xa6)]=new Map();const _0x250564=this[_0x41a6c8(0xda)][_0x41a6c8(0xc8)];_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0x9f),_0x292c05),_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0xb4),_0x391c88),_0x250564[_0x41a6c8(0xd4)](_0x41a6c8(0xcf),!0x1),this[_0x41a6c8(0xad)]=_0x250564[_0x41a6c8(0xc1)](_0x41a6c8(0xcf));}[_0x19890f(0xa1)](_0x3031a1,_0x499268){const _0x44b5c9=_0x19890f;0x0===this[_0x44b5c9(0xa6)][_0x44b5c9(0xa7)]&&setTimeout(()=>{const _0x20461e=_0x44b5c9;for(const [_0x43d081,_0x1ef369]of this[_0x20461e(0xa6)]){const _0x2e7262=this[_0x20461e(0xb9)][_0x20461e(0xe5)](_0x43d081);_0x2e7262||_0x1ef369?_0x2e7262&&_0x1ef369&&this[_0x20461e(0xd0)](_0x43d081):this[_0x20461e(0x12e)](_0x43d081);}this[_0x20461e(0xa6)][_0x20461e(0xb1)](),this[_0x20461e(0xda)][_0x20461e(0xf9)][_0x20461e(0xc1)](_0x20461e(0x119))[_0x20461e(0x114)](),this[_0x20461e(0x11c)]();},0xa),this[_0x44b5c9(0xa6)][_0x44b5c9(0xd5)](_0x3031a1,_0x499268);}[_0x19890f(0xca)](){const _0x9dcfd7=_0x19890f,_0x2a3b39=this[_0x9dcfd7(0xda)],_0x3b7b1e=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0xc2)),_0x3bd509=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0xf0)),_0x82cf97=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0x119)),_0x5a4e9a=_0x2a3b39[_0x9dcfd7(0xf9)][_0x9dcfd7(0xc1)](_0x9dcfd7(0x106));this[_0x9dcfd7(0xfb)](),_0x82cf97[_0x9dcfd7(0x107)](()=>{const _0x37e0d5=_0x9dcfd7,_0x1a1fc5=[];for(const [_0x17b78a,_0x667198]of Array[_0x37e0d5(0xdc)](this[_0x37e0d5(0xb9)])){const _0x167c4e=_0x17b78a[_0x37e0d5(0x125)](),_0x558646=[];for(const _0x3a189d of _0x167c4e){if(!_0x3a189d[_0x37e0d5(0xb2)])continue;if(_0x3a189d[_0x37e0d5(0x120)]){_0x558646[_0x37e0d5(0xdd)](..._0x3a189d[_0x37e0d5(0xaf)]());continue;}const _0x2b0dc5=_0x3a189d[_0x37e0d5(0xea)]();if(_0x558646[_0x37e0d5(0x11e)]>0x0){const _0x5d582b=_0x558646[0x0][_0x37e0d5(0x122)](_0x2b0dc5);if(_0x5d582b){_0x558646[0x0]=_0x5d582b;continue;}}_0x558646[_0x37e0d5(0xdd)](_0x2b0dc5);}_0x1a1fc5[_0x37e0d5(0xdd)]([_0x667198[_0x37e0d5(0xa9)],_0x558646]);}return _0x1a1fc5;}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0x104),(_0x301d44,_0xdc151a)=>{const _0x4cc359=_0x9dcfd7;this[_0x4cc359(0xbb)](_0xdc151a,_0x4cc359(0xe7),(_0x352015,_0x595b01,_0x655f20,_0xd61906)=>{const _0x393be9=_0x4cc359;_0xdc151a[_0x393be9(0xb2)]&&(null==_0x655f20?(this[_0x393be9(0x115)](_0xd61906[_0x393be9(0x103)]),this[_0x393be9(0xa1)](_0xdc151a,!0x1)):(this[_0x393be9(0x115)](_0x655f20[_0x393be9(0x103)]),null==_0xd61906&&this[_0x393be9(0xa1)](_0xdc151a,!0x0)));}),null!==_0xdc151a[_0x4cc359(0xec)]?this[_0x4cc359(0x115)](_0xdc151a[_0x4cc359(0x103)]):this[_0x4cc359(0xa1)](_0xdc151a,!0x1);}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0xc7),(_0x4eb68b,_0x3c1629,_0x5fae82)=>{const _0x4da065=_0x9dcfd7;this[_0x4da065(0xd1)](_0x3c1629,_0x4da065(0xe7)),this[_0x4da065(0xa6)][_0x4da065(0xd2)](_0x3c1629),this[_0x4da065(0xb9)][_0x4da065(0xe5)](_0x3c1629)&&this[_0x4da065(0xd0)](_0x3c1629),_0x5fae82&&this[_0x4da065(0x115)](_0x5fae82[_0x4da065(0x103)]);}),this[_0x9dcfd7(0xbb)](_0x3b7b1e,_0x9dcfd7(0xa4),(_0xe5b75f,_0x51b33d)=>{const _0x34bc77=_0x9dcfd7;this[_0x34bc77(0x115)](_0x51b33d);}),this[_0x9dcfd7(0xbb)](_0x3bd509,_0x9dcfd7(0x10a),()=>{const _0x539046=_0x9dcfd7;this[_0x539046(0x11c)]();}),this[_0x9dcfd7(0xbb)](_0x5a4e9a,_0x9dcfd7(0xee),(_0x187b8b,{threadId:_0x19ec0d,isFromAdapter:_0x3a6a1f})=>{const _0x197a94=_0x9dcfd7;if(_0x3a6a1f||!_0x3b7b1e[_0x197a94(0xf3)](_0x19ec0d))return;const _0x4bd946=_0x3b7b1e[_0x197a94(0x12b)](_0x19ec0d);this[_0x197a94(0xb9)][_0x197a94(0xc1)](_0x4bd946)[_0x197a94(0xa9)][_0x197a94(0x9c)][_0x197a94(0xe9)](-0x1);},{'priority':_0x9dcfd7(0xfe)});}[_0x19890f(0x11c)](){const _0x3e937f=_0x19890f,_0x3c1fa9=this[_0x3e937f(0xda)][_0x3e937f(0xf9)][_0x3e937f(0xc1)](_0x3e937f(0xf0)),_0x20cdd9=this[_0x3e937f(0xda)][_0x3e937f(0xf9)][_0x3e937f(0xc1)](_0x3e937f(0xc2)),_0x1227a4=Array[_0x3e937f(0xdc)](_0x3c1fa9[_0x3e937f(0xfa)],_0x58d15e=>_0x58d15e[_0x3e937f(0x10d)])[_0x3e937f(0xed)](_0x21352b=>this[_0x3e937f(0xd9)][_0x3e937f(0xe5)](_0x21352b)),_0x144e09=[];for(const _0x342fe6 of _0x1227a4){const _0x123380=this[_0x3e937f(0xd9)][_0x3e937f(0xc1)](_0x342fe6)[_0x3e937f(0xb0)][_0x3e937f(0x125)]();_0x144e09[_0x3e937f(0xdd)](..._0x123380[_0x3e937f(0xd3)]((_0x13807e,_0x5034d2)=>[..._0x13807e,..._0x5034d2[_0x3e937f(0x100)]()],[]));}_0x20cdd9[_0x3e937f(0x108)]=_0x144e09;}[_0x19890f(0xfb)](){const _0x5dbc35=_0x19890f,_0x14b133=this[_0x5dbc35(0xda)],_0x4da30b=_0x14b133[_0x5dbc35(0xc5)],_0x18686a=_0x5e93b5(_0x4da30b,_0x5dbc35(0xa2)),_0x1cf0fa=new _0x5a0d5c([{'type':_0x5dbc35(0xa5),'model':new _0x3ccb15({'withText':!0x0,'isToggleable':!0x0,'label':_0x18686a,'commandName':_0x5dbc35(0xb6),'role':_0x5dbc35(0x109)})},{'type':_0x5dbc35(0xe2)},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0xa3)),'commandName':_0x5dbc35(0x123),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0x12c)),'commandName':_0x5dbc35(0x113),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0x102)),'commandName':_0x5dbc35(0x11d),'role':_0x5dbc35(0x11a)})},{'type':_0x5dbc35(0x12a),'model':new _0x3ccb15({'withText':!0x0,'label':_0x5e93b5(_0x4da30b,_0x5dbc35(0xab)),'commandName':_0x5dbc35(0x9d),'role':_0x5dbc35(0x11a)})}]);for(const _0x322cfc of _0x1cf0fa)if(me(_0x322cfc)){const _0xc2e5ea=_0x14b133[_0x5dbc35(0xa0)][_0x5dbc35(0xc1)](_0x322cfc[_0x5dbc35(0xb0)][_0x5dbc35(0xc4)]);_0x322cfc[_0x5dbc35(0xb0)][_0x5dbc35(0xe3)](_0x5dbc35(0x130),_0x5dbc35(0x10f))['to'](_0xc2e5ea,_0x5dbc35(0x128),_0x5dbc35(0x10f));}_0x14b133['ui'][_0x5dbc35(0xbc)][_0x5dbc35(0x116)](_0x5dbc35(0xb6),_0xfde43b=>this[_0x5dbc35(0xf6)](_0xfde43b,_0x1cf0fa,_0x18686a)),_0x14b133['ui'][_0x5dbc35(0xbc)][_0x5dbc35(0x116)](_0x5dbc35(0x10e),_0x359c6f=>this[_0x5dbc35(0xf5)](_0x359c6f,_0x1cf0fa,_0x18686a));}[_0x19890f(0xf6)](_0x1f4953,_0x1de260,_0x396e59){const _0xa7d9fa=_0x19890f,_0x527d70=_0x34d185(_0x1f4953,_0x5e71ca),_0x93163=this[_0xa7d9fa(0xda)][_0xa7d9fa(0xa0)][_0xa7d9fa(0xc1)](_0xa7d9fa(0xb6));_0x527d70[_0xa7d9fa(0x105)][_0xa7d9fa(0xd5)]({'tooltip':_0x396e59,'label':_0x396e59,'icon':_0x9bade2}),_0x527d70[_0xa7d9fa(0x105)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x130))['to'](_0x93163,_0xa7d9fa(0x128)),_0x527d70[_0xa7d9fa(0x105)]['on'](_0xa7d9fa(0xff),()=>{const _0x57164c=_0xa7d9fa;_0x93163[_0x57164c(0xff)](),this[_0x57164c(0xda)][_0x57164c(0xef)][_0x57164c(0xa9)][_0x57164c(0xe9)]();}),_0x1f2bc9(_0x527d70,_0x1de260,{'role':_0xa7d9fa(0x9e)});const _0x312737=[];for(const _0x433fde of _0x1de260)me(_0x433fde)&&_0x312737[_0xa7d9fa(0xdd)](this[_0xa7d9fa(0xda)][_0xa7d9fa(0xa0)][_0xa7d9fa(0xc1)](_0x433fde[_0xa7d9fa(0xb0)][_0xa7d9fa(0xc4)]));const _0x427e9d=_0x527d70[_0xa7d9fa(0x105)];return _0x427e9d[_0xa7d9fa(0xb7)][_0xa7d9fa(0x12d)](_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0x121)][_0xa7d9fa(0x12d)](_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0xb7)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x10f))['to'](_0x93163,_0xa7d9fa(0x10f)),_0x427e9d[_0xa7d9fa(0x121)][_0xa7d9fa(0xe3)](_0xa7d9fa(0x10f))[_0xa7d9fa(0xe4)](_0x312737,_0xa7d9fa(0x10f),(..._0x21a602)=>_0x21a602[_0xa7d9fa(0xe0)](_0x5285b7=>_0x5285b7)),_0x527d70['on'](_0xa7d9fa(0xff),_0x1a34a2=>{const _0x2a2f6b=_0xa7d9fa;this[_0x2a2f6b(0xda)][_0x2a2f6b(0xff)](_0x1a34a2[_0x2a2f6b(0xcc)][_0x2a2f6b(0xc4)]),this[_0x2a2f6b(0xda)][_0x2a2f6b(0xef)][_0x2a2f6b(0xa9)][_0x2a2f6b(0xe9)]();}),_0x527d70;}[_0x19890f(0xf5)](_0x119e5e,_0x2acee6,_0x202501){const _0x1090d2=_0x19890f,_0x1efc52=new _0x1cde52(_0x119e5e),_0x5ed3d7=this[_0x1090d2(0xda)][_0x1090d2(0xa0)][_0x1090d2(0xc1)](_0x1090d2(0xb6));_0x1efc52[_0x1090d2(0x105)][_0x1090d2(0xd5)]({'label':_0x202501,'icon':_0x9bade2});const _0x46a100=new _0x1a866c(_0x119e5e);for(const _0x5142ca of _0x2acee6){if(_0x1090d2(0xe2)==_0x5142ca[_0x1090d2(0x12f)]){_0x46a100[_0x1090d2(0xba)][_0x1090d2(0x116)](new _0x30aaab(_0x119e5e));continue;}const _0x5e212d=new _0x39d015(_0x119e5e,_0x1efc52),_0x320102=new _0x11690e(_0x119e5e),_0x5ee812=_0x5142ca[_0x1090d2(0xb0)];_0x320102[_0x1090d2(0xe3)](...Object[_0x1090d2(0xcd)](_0x5ee812))['to'](_0x5ee812),_0x320102[_0x1090d2(0xf2)](_0x1090d2(0xff))['to'](_0x1efc52),_0x320102['on'](_0x1090d2(0xff),()=>{const _0x14a8af=_0x1090d2;this[_0x14a8af(0xda)][_0x14a8af(0xff)](_0x5ee812[_0x14a8af(0xc4)]),this[_0x14a8af(0xda)][_0x14a8af(0xef)][_0x14a8af(0xa9)][_0x14a8af(0xe9)]();}),_0x5e212d[_0x1090d2(0xdf)][_0x1090d2(0x116)](_0x320102),_0x46a100[_0x1090d2(0xba)][_0x1090d2(0x116)](_0x5e212d);}return _0x1efc52[_0x1090d2(0xe3)](_0x1090d2(0x10f))['to'](_0x5ed3d7,_0x1090d2(0x10f)),_0x1efc52[_0x1090d2(0x124)][_0x1090d2(0xdf)][_0x1090d2(0x116)](_0x46a100),_0x1efc52;}[_0x19890f(0x12e)](_0x47b7e9){const _0x3f54eb=_0x19890f,_0x7e2218=this[_0x3f54eb(0xda)],_0x225814=_0x7e2218[_0x3f54eb(0xc8)],_0x2ded5d=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xf0)),_0x551b5c=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0x106)),_0xb2f396=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0x119)),_0x2bb7cb=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x56980e)['me'],_0x16f16b=_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb6))[_0x3f54eb(0x129)],_0x5bfb46=_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb6))[_0x3f54eb(0x11b)],{CommentsListView:_0x5340aa,CommentThreadInputView:_0x3118c7}=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xe1));let _0x599fab,_0x5bc7ba,_0x35d187;this[_0x3f54eb(0xf8)][_0x3f54eb(0xe5)](_0x47b7e9['id'])?(_0x5bc7ba=this[_0x3f54eb(0xf8)][_0x3f54eb(0xc1)](_0x47b7e9['id']),_0x599fab=_0x5bc7ba[_0x3f54eb(0xbe)]):(_0x599fab=new _0x16f16b(_0x7e2218[_0x3f54eb(0xc5)],_0x47b7e9,_0x2bb7cb,{'disableComments':this[_0x3f54eb(0xad)],'editorConfig':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0x118)),'maxCommentsWhenCollapsed':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xcb)),'maxThreadTotalWeight':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xb8)),'maxCommentCharsWhenCollapsed':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xfc)),'formatDateTime':_0x1330d3(_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xc5))),'CommentView':_0x225814[_0x3f54eb(0xc1)](_0x3f54eb(0xc0))[_0x3f54eb(0x131)],'CommentsListView':_0x5340aa,'CommentThreadInputView':_0x3118c7,'SuggestionView':_0x5bfb46}),_0x599fab[_0x3f54eb(0xf1)][_0x3f54eb(0xb3)]['on'](_0x3f54eb(0xff),()=>{const _0x5a5686=_0x3f54eb;_0x7e2218[_0x5a5686(0xef)][_0x5a5686(0xa9)][_0x5a5686(0xe9)]();}),_0x599fab[_0x3f54eb(0xf1)][_0x3f54eb(0xe6)]['on'](_0x3f54eb(0xff),()=>{const _0x230ee7=_0x3f54eb;_0x7e2218[_0x230ee7(0xef)][_0x230ee7(0xa9)][_0x230ee7(0xe9)]();}),_0x5bc7ba=_0x2ded5d[_0x3f54eb(0xd8)](this[_0x3f54eb(0xda)][_0x3f54eb(0xc5)],_0x599fab),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0xfd))['to'](_0x599fab,_0x3f54eb(0xfd)),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0x11e))['to'](_0x599fab),_0x5bc7ba[_0x3f54eb(0xe3)](_0x3f54eb(0x12f))['to'](_0x599fab,_0x3f54eb(0x12f),_0x59ea7e=>_0x3f54eb(0xd6)+_0x59ea7e),_0x599fab['on'](_0x3f54eb(0x11f),()=>{const _0x119501=_0x3f54eb;_0x35d187[_0x119501(0xbd)](_0x119501(0x11f));}),this[_0x3f54eb(0xf8)][_0x3f54eb(0xd5)](_0x47b7e9['id'],_0x5bc7ba));const _0x5ceda9=_0x551b5c[_0x3f54eb(0xdb)](_0x47b7e9[_0x3f54eb(0xf4)],_0x599fab),_0x393219=new _0x211873(_0x7e2218,_0x47b7e9,_0x599fab,_0x5ceda9),_0x199d89=_0x47b7e9[_0x3f54eb(0x125)]()[_0x3f54eb(0xed)](_0x40e24a=>_0x40e24a[_0x3f54eb(0xb2)]);_0x599fab[_0x3f54eb(0x127)]=_0x7e2218[_0x3f54eb(0xf9)][_0x3f54eb(0xc1)](_0x3f54eb(0xc2))[_0x3f54eb(0xa8)][_0x3f54eb(0xb5)](_0x199d89),this[_0x3f54eb(0xb9)][_0x3f54eb(0xd5)](_0x47b7e9,_0x393219),this[_0x3f54eb(0xd9)][_0x3f54eb(0xd5)](_0x599fab,_0x393219),_0x35d187=_0x2ded5d[_0x3f54eb(0xc9)]({'view':_0x5bc7ba,'target':()=>{const _0x8a2236=_0x3f54eb,_0x26f2a1=[],_0x52f3d7=_0x47b7e9[_0x8a2236(0x125)]()[_0x8a2236(0xed)](_0x4f4a22=>_0x4f4a22[_0x8a2236(0xb2)]);for(const _0x55c254 of _0x52f3d7)_0x26f2a1[_0x8a2236(0xdd)](..._0x55c254[_0x8a2236(0xc6)]());return _0x4ef3ec(_0x7e2218[_0x8a2236(0xef)],_0x26f2a1);},'type':()=>_0x3f54eb(0xd6)+_0x393219[_0x3f54eb(0xa9)][_0x3f54eb(0x12f)]}),_0x551b5c[_0x3f54eb(0xe8)](_0x599fab,_0x35d187),_0x2ded5d[_0x3f54eb(0x116)](_0x35d187),_0xb2f396[_0x3f54eb(0x132)](_0x35d187);}[_0x19890f(0xd0)](_0x275af2){const _0xdbf9f3=_0x19890f,_0x336c2a=this[_0xdbf9f3(0xda)][_0xdbf9f3(0xf9)][_0xdbf9f3(0xc1)](_0xdbf9f3(0x106)),_0x2c577c=this[_0xdbf9f3(0xda)][_0xdbf9f3(0xf9)][_0xdbf9f3(0xc1)](_0xdbf9f3(0xf0)),_0x38c0ae=this[_0xdbf9f3(0xb9)][_0xdbf9f3(0xc1)](_0x275af2),_0x31c8f5=_0x38c0ae[_0xdbf9f3(0xa9)],_0x5dbe23=_0x2c577c[_0xdbf9f3(0xd7)](_0x31c8f5);_0x336c2a[_0xdbf9f3(0xf7)](_0x31c8f5),_0x5dbe23&&_0x2c577c[_0xdbf9f3(0xae)](_0x5dbe23),this[_0xdbf9f3(0xb9)][_0xdbf9f3(0xd2)](_0x275af2),this[_0xdbf9f3(0xd9)][_0xdbf9f3(0xd2)](_0x31c8f5),_0x38c0ae[_0xdbf9f3(0xeb)]();}[_0x19890f(0x115)](_0x268ec0){const _0x127747=_0x19890f;if(!_0x268ec0[_0x127747(0xb2)]||!this[_0x127747(0xb9)][_0x127747(0xe5)](_0x268ec0))return;const _0x2b6fa5=this[_0x127747(0xda)][_0x127747(0xf9)][_0x127747(0xc1)](_0x127747(0xc2)),_0x50c11b=this[_0x127747(0xb9)][_0x127747(0xc1)](_0x268ec0),_0x46a9ff=_0x268ec0[_0x127747(0x125)]();_0x50c11b[_0x127747(0xa9)][_0x127747(0x127)]=_0x2b6fa5[_0x127747(0xa8)][_0x127747(0xb5)](_0x46a9ff);}[_0x19890f(0xeb)](){const _0x52524e=_0x19890f;for(const _0x3bef02 of this[_0x52524e(0xb9)][_0x52524e(0xcd)]())this[_0x52524e(0xd0)](_0x3bef02);for(const _0x3f0277 of this[_0x52524e(0xf8)][_0x52524e(0x126)]())_0x3f0277[_0x52524e(0xbe)][_0x52524e(0xeb)]();super[_0x52524e(0xeb)]();}}function _0x53f4(_0x283179,_0x3aeb71){const _0x4fb7c0=_0x4fb7();return _0x53f4=function(_0x53f45a,_0x133582){_0x53f45a=_0x53f45a-0x9c;let _0x4b80fe=_0x4fb7c0[_0x53f45a];return _0x4b80fe;},_0x53f4(_0x283179,_0x3aeb71);}function me(_0x44bb87){const _0x5bfc54=_0x19890f;return _0x5bfc54(0xb0)in _0x44bb87;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x4666(){const _0x2c7896=['351HBYcSL','get','_pendingAction','add','_removePendingAction','_setPendingAction','5686008FhAnbp','remove','_discardCommand','7chlcRD','listenTo','discardSuggestion','268320GmsEUK','isDirty','stopListening','PendingActions','293400kGtMvX','4TanyNB','view','model','isEnabled','execute','_acceptCommand','PENDING_ACTION_SUGGESTION','bind','canDiscard','getRanges','4271205WdoykB','commands','destroy','plugins','acceptSuggestion','_editor','canAccept','locale','canEditAt','unbind','6295362NUAiKS','commentThreadController','3072285SfGOef','6568180HIgRNd','change:isDirty'];_0x4666=function(){return _0x2c7896;};return _0x4666();}const _0x5c8cdb=_0x4908;function _0x4908(_0x4d7c1f,_0x5399fd){const _0x466683=_0x4666();return _0x4908=function(_0x4908ab,_0x12cf84){_0x4908ab=_0x4908ab-0x79;let _0x421eca=_0x466683[_0x4908ab];return _0x421eca;},_0x4908(_0x4d7c1f,_0x5399fd);}(function(_0x24384f,_0x3d20c5){const _0x5059c9=_0x4908,_0x3b0ab4=_0x24384f();while(!![]){try{const _0x38ca28=-parseInt(_0x5059c9(0x94))/0x1*(-parseInt(_0x5059c9(0x8f))/0x2)+parseInt(_0x5059c9(0x80))/0x3+-parseInt(_0x5059c9(0x89))/0x4+parseInt(_0x5059c9(0x9e))/0x5+parseInt(_0x5059c9(0x7e))/0x6*(-parseInt(_0x5059c9(0x8c))/0x7)+-parseInt(_0x5059c9(0x93))/0x8*(-parseInt(_0x5059c9(0x83))/0x9)+-parseInt(_0x5059c9(0x81))/0xa;if(_0x38ca28===_0x3d20c5)break;else _0x3b0ab4['push'](_0x3b0ab4['shift']());}catch(_0x2138b8){_0x3b0ab4['push'](_0x3b0ab4['shift']());}}}(_0x4666,0xaf3ba));import{ObservableMixin as _0x290529}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a0279}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x290529(){constructor(_0x43d1c9,_0xd1d121,_0x421776,_0xe82fc8){const _0x534c6e=_0x4908;super(),this[_0x534c6e(0x96)]=_0xd1d121,this[_0x534c6e(0x95)]=_0x421776,this[_0x534c6e(0x7f)]=_0xe82fc8,this[_0x534c6e(0x79)]=_0x43d1c9,this[_0x534c6e(0x99)]=_0x43d1c9[_0x534c6e(0x9f)][_0x534c6e(0x84)](_0x534c6e(0xa2)),this[_0x534c6e(0x8b)]=_0x43d1c9[_0x534c6e(0x9f)][_0x534c6e(0x84)](_0x534c6e(0x8e)),this[_0x534c6e(0x95)][_0x534c6e(0x9b)](_0x534c6e(0x97))['to'](this[_0x534c6e(0x99)],this[_0x534c6e(0x8b)],(_0x308592,_0x2f0d51)=>_0x308592||_0x2f0d51),this[_0x534c6e(0x95)][_0x534c6e(0x9b)](_0x534c6e(0x7a))['to'](this[_0x534c6e(0x99)],_0x534c6e(0x97),_0x103d30=>_0x103d30&&this[_0x534c6e(0x79)][_0x534c6e(0x96)][_0x534c6e(0x7c)](_0xd1d121[_0x534c6e(0x9d)]())),this[_0x534c6e(0x95)][_0x534c6e(0x9b)](_0x534c6e(0x9c))['to'](this[_0x534c6e(0x8b)],_0x534c6e(0x97),_0x514712=>_0x514712&&this[_0x534c6e(0x79)][_0x534c6e(0x96)][_0x534c6e(0x7c)](_0xd1d121[_0x534c6e(0x9d)]())),this[_0x534c6e(0x85)]=null,_0x421776[_0x534c6e(0x90)]&&this[_0x534c6e(0x88)](),this[_0x534c6e(0x8d)](_0x421776,_0x534c6e(0xa2),()=>this[_0x534c6e(0xa2)]()),this[_0x534c6e(0x8d)](_0x421776,_0x534c6e(0x8e),()=>this[_0x534c6e(0x8e)]()),this[_0x534c6e(0x8d)](_0x421776,_0x534c6e(0x82),()=>{const _0x40510a=_0x534c6e;_0x421776[_0x40510a(0x90)]?this[_0x40510a(0x88)]():this[_0x40510a(0x87)]();});}[_0x5c8cdb(0xa2)](){const _0x911a6f=_0x5c8cdb;this[_0x911a6f(0x99)][_0x911a6f(0x98)](this[_0x911a6f(0x96)]['id']);}[_0x5c8cdb(0x8e)](){const _0x585fb8=_0x5c8cdb;this[_0x585fb8(0x8b)][_0x585fb8(0x98)](this[_0x585fb8(0x96)]['id']);}[_0x5c8cdb(0xa0)](){const _0x4ba94f=_0x5c8cdb;this[_0x4ba94f(0x95)][_0x4ba94f(0x7d)](_0x4ba94f(0x97)),this[_0x4ba94f(0x95)][_0x4ba94f(0x7d)](_0x4ba94f(0x7a)),this[_0x4ba94f(0x95)][_0x4ba94f(0x7d)](_0x4ba94f(0x9c)),this[_0x4ba94f(0x91)](),this[_0x4ba94f(0x7f)][_0x4ba94f(0xa0)](),this[_0x4ba94f(0x85)]&&this[_0x4ba94f(0x87)]();}[_0x5c8cdb(0x88)](){const _0x24acdc=_0x5c8cdb,_0x2d7ff5=_0x5a0279(this[_0x24acdc(0x79)][_0x24acdc(0x7b)],_0x24acdc(0x9a));this[_0x24acdc(0x85)]=this[_0x24acdc(0x79)][_0x24acdc(0xa1)][_0x24acdc(0x84)](_0x24acdc(0x92))[_0x24acdc(0x86)](_0x2d7ff5);}[_0x5c8cdb(0x87)](){const _0x1cbfd8=_0x5c8cdb;null!==this[_0x1cbfd8(0x85)]&&this[_0x1cbfd8(0x79)][_0x1cbfd8(0xa1)][_0x1cbfd8(0x84)](_0x1cbfd8(0x92))[_0x1cbfd8(0x8a)](this[_0x1cbfd8(0x85)]),this[_0x1cbfd8(0x85)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3d5b(){const _0x433baa=['target','SUGGESTION_THREAD_ARIA_LABEL','30202SMFQOw','canAccept','delegate','bind','isReadOnly','formatDateTime','217233jFrYbz','14tEfpPM','focusCycler','text/html','author','length','join','617379MAkmwn','_createCommentThreadInputView','element','3049266NCYkgJ','3740627qLWKwh','ariaLabel','updateComment','_localUser','removeComment','addComment','CommentView','2370965UmwQil','ariaDescriptionView','disabledSubmit','submit','commentThreadInputView','_createCommentViews','cancel','locale','8mspHCW','map','focusables','18alDqgl','280JOzkiC','content','focusTracker','commentsListView','set','destroy','assign','commentInputView','171972VbcNSC','value','_model','isDirty','tab','authoredAt','name','showInput','hasDirtyComment','editorConfig','editor','commentThread','setData','_config','isEnabled','shift+tab','canDiscard','parseFromString','keystrokes','fire','12lVCOIw','body','SUGGESTION_THREAD_DESCRIPTION','render','isActive','descriptionParts','textContent','disableComments','focus'];_0x3d5b=function(){return _0x433baa;};return _0x3d5b();}function _0x501f(_0x50593e,_0x433d6a){const _0x3d5b9d=_0x3d5b();return _0x501f=function(_0x501f98,_0x313f83){_0x501f98=_0x501f98-0xc1;let _0x4f3692=_0x3d5b9d[_0x501f98];return _0x4f3692;},_0x501f(_0x50593e,_0x433d6a);}const _0x88da3=_0x501f;(function(_0x20d878,_0x4ca3d8){const _0x3959b2=_0x501f,_0x5765a6=_0x20d878();while(!![]){try{const _0x40c9aa=parseInt(_0x3959b2(0xe5))/0x1*(parseInt(_0x3959b2(0xec))/0x2)+parseInt(_0x3959b2(0x108))/0x3*(-parseInt(_0x3959b2(0xc6))/0x4)+parseInt(_0x3959b2(0xfd))/0x5+-parseInt(_0x3959b2(0xf5))/0x6+-parseInt(_0x3959b2(0xf2))/0x7*(-parseInt(_0x3959b2(0x105))/0x8)+-parseInt(_0x3959b2(0xeb))/0x9*(-parseInt(_0x3959b2(0x109))/0xa)+-parseInt(_0x3959b2(0xf6))/0xb*(parseInt(_0x3959b2(0xda))/0xc);if(_0x40c9aa===_0x4ca3d8)break;else _0x5765a6['push'](_0x5765a6['shift']());}catch(_0x4f31ba){_0x5765a6['push'](_0x5765a6['shift']());}}}(_0x3d5b,0x53d76));import{FocusCycler as _0x3abd13,View as _0x3e81bc,ViewCollection as _0xf6cebb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x51a983,KeystrokeHandler as _0x17866c}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x265665,setupThreadKeyboardNavigation as _0x167183}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x314338}from'../../utils/common-translations.js';import{renderDescription as _0x29126d}from'../../utils/utils.js';export default class us extends _0x3e81bc{constructor(_0x3f40be,_0x58dabf,_0x27dce5,_0x32d13e){const _0x3fa6fc=_0x501f;super(_0x3f40be),this[_0x3fa6fc(0xc1)]=null,this[_0x3fa6fc(0x101)]=null,this[_0x3fa6fc(0xfe)]=new _0x265665(_0x3f40be,_0x314338(_0x3f40be,_0x3fa6fc(0xdc))),this[_0x3fa6fc(0xc2)](_0x3fa6fc(0xde),!0x1),this[_0x3fa6fc(0xc2)](_0x3fa6fc(0xcb),_0x58dabf[_0x3fa6fc(0xcb)]),this[_0x3fa6fc(0xe8)](_0x3fa6fc(0xcb))['to'](_0x58dabf),this[_0x3fa6fc(0xc2)](_0x3fa6fc(0xdf),[]),this[_0x3fa6fc(0xc2)](_0x3fa6fc(0xc9),!0x1),this[_0x3fa6fc(0xc2)](_0x3fa6fc(0xd4),!0x1),this[_0x3fa6fc(0xc2)](_0x3fa6fc(0xe6),!0x1),this[_0x3fa6fc(0xc2)](_0x3fa6fc(0xd6),!0x1),this[_0x3fa6fc(0xe8)](_0x3fa6fc(0xf7))['to'](this,_0x3fa6fc(0xf0),_0x58dabf,_0x3fa6fc(0xcb),this,_0x3fa6fc(0xdf),(_0x18ddd9,_0x1ade90,_0x49c983)=>{const _0x17544e=_0x3fa6fc,_0x53ff83=_0x49c983[_0x17544e(0x106)](_0x3e9588=>_0x29126d(_0x3e9588[_0x17544e(0x10a)]))[_0x17544e(0xf1)]('.\x20')+'.';return _0x314338(this[_0x17544e(0x104)],_0x17544e(0xe4),[_0x18ddd9-0x1,_0x58dabf[_0x17544e(0xef)][_0x17544e(0xcc)],_0x1ade90?_0x32d13e[_0x17544e(0xea)](_0x1ade90):'',new DOMParser()[_0x17544e(0xd7)](_0x53ff83,_0x17544e(0xee))[_0x17544e(0xdb)][_0x17544e(0xe0)]]);}),this[_0x3fa6fc(0x107)]=new _0xf6cebb(),this[_0x3fa6fc(0x10b)]=new _0x51a983(),this[_0x3fa6fc(0xd8)]=new _0x17866c(),this[_0x3fa6fc(0xed)]=new _0x3abd13({'focusables':this[_0x3fa6fc(0x107)],'focusTracker':this[_0x3fa6fc(0x10b)],'keystrokeHandler':this[_0x3fa6fc(0xd8)],'keystrokeHandlerOptions':{'filter':_0x116b51=>_0x116b51[_0x3fa6fc(0xe3)]!==this[_0x3fa6fc(0xf4)]},'actions':{'focusPrevious':_0x3fa6fc(0xd5),'focusNext':_0x3fa6fc(0xca)}}),this[_0x3fa6fc(0xc8)]=_0x58dabf,this[_0x3fa6fc(0xf9)]=_0x27dce5,this[_0x3fa6fc(0xd3)]=_0x32d13e,_0x32d13e[_0x3fa6fc(0xe1)]?this[_0x3fa6fc(0xc2)](_0x3fa6fc(0xf0),0x1):this[_0x3fa6fc(0x102)]();}[_0x88da3(0xdd)](){const _0x56f8b0=_0x88da3;super[_0x56f8b0(0xdd)](),_0x167183(this,this[_0x56f8b0(0x107)]);}[_0x88da3(0xe2)](){const _0x3aaaaa=_0x88da3;this[_0x3aaaaa(0xf4)][_0x3aaaaa(0xe2)]();}[_0x88da3(0xc3)](){const _0x3cd263=_0x88da3;this[_0x3cd263(0xc1)]&&this[_0x3cd263(0xc1)][_0x3cd263(0xc3)](),this[_0x3cd263(0x101)]&&this[_0x3cd263(0x101)][_0x3cd263(0xc3)](),super[_0x3cd263(0xc3)]();}[_0x88da3(0x102)](){const _0x44bc45=_0x88da3,{CommentsListView:_0x4ea51c}=this[_0x44bc45(0xd3)];this[_0x44bc45(0xc1)]=new _0x4ea51c(this[_0x44bc45(0x104)],this[_0x44bc45(0xc8)][_0x44bc45(0xd1)],Object[_0x44bc45(0xc4)]({'CommentView':this[_0x44bc45(0xd3)][_0x44bc45(0xfc)]},this[_0x44bc45(0xd3)])),this[_0x44bc45(0xc1)][_0x44bc45(0xe7)](_0x44bc45(0xfa))['to'](this),this[_0x44bc45(0xc1)][_0x44bc45(0xe7)](_0x44bc45(0xf8))['to'](this),this[_0x44bc45(0xc1)][_0x44bc45(0xe8)](_0x44bc45(0xde))['to'](this),this[_0x44bc45(0xc2)](_0x44bc45(0xf0),this[_0x44bc45(0xc1)][_0x44bc45(0xf0)]+0x1),this[_0x44bc45(0xe8)](_0x44bc45(0xf0))['to'](this[_0x44bc45(0xc1)],_0x44bc45(0xf0),_0x65ee5c=>_0x65ee5c+0x1),this[_0x44bc45(0x101)]=this[_0x44bc45(0xf3)](),this['on'](_0x44bc45(0xfa),()=>this[_0x44bc45(0xe2)]()),this[_0x44bc45(0xe8)](_0x44bc45(0xc9))['to'](this[_0x44bc45(0xc1)],_0x44bc45(0xce),this[_0x44bc45(0x101)][_0x44bc45(0xc5)],_0x44bc45(0xc7),(_0x548de2,_0x53e5ed)=>_0x548de2||!!_0x53e5ed);}[_0x88da3(0xf3)](){const _0xa12102=_0x88da3,{CommentThreadInputView:_0x3e0e89}=this[_0xa12102(0xd3)],_0x48b03c=new _0x3e0e89(this[_0xa12102(0x104)],this[_0xa12102(0xf9)],this[_0xa12102(0xd3)][_0xa12102(0xcf)]),_0x2bf497=_0x48b03c[_0xa12102(0xc5)];return _0x48b03c[_0xa12102(0xe8)](_0xa12102(0xcd))['to'](this,_0xa12102(0xde),this[_0xa12102(0xc8)][_0xa12102(0xd1)],_0xa12102(0xe9),_0x2bf497,_0xa12102(0xc7),(_0xaa5ebc,_0x47d7a7,_0x3a8b7f)=>!!_0x3a8b7f||_0xaa5ebc&&!_0x47d7a7),_0x2bf497['on'](_0xa12102(0x100),(_0x4a1c62,_0x465d47)=>{const _0x91aa6a=_0xa12102;this[_0x91aa6a(0xd9)](_0x91aa6a(0xfb),_0x465d47),_0x2bf497[_0x91aa6a(0xd0)][_0x91aa6a(0xd2)]('');}),_0x2bf497['on'](_0xa12102(0x103),()=>this[_0xa12102(0xe2)]()),_0x2bf497[_0xa12102(0xe8)](_0xa12102(0xff))['to'](this[_0xa12102(0xc8)][_0xa12102(0xd1)],_0xa12102(0xe9)),_0x48b03c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x21cf9d=_0x51f7;(function(_0x19cb6d,_0x4383e7){const _0xb77f6b=_0x51f7,_0x867527=_0x19cb6d();while(!![]){try{const _0x45cde1=parseInt(_0xb77f6b(0x193))/0x1+-parseInt(_0xb77f6b(0x184))/0x2+-parseInt(_0xb77f6b(0x17b))/0x3*(-parseInt(_0xb77f6b(0x1a4))/0x4)+parseInt(_0xb77f6b(0x18f))/0x5*(parseInt(_0xb77f6b(0x17f))/0x6)+-parseInt(_0xb77f6b(0x1a6))/0x7*(-parseInt(_0xb77f6b(0x176))/0x8)+parseInt(_0xb77f6b(0x172))/0x9*(parseInt(_0xb77f6b(0x18c))/0xa)+-parseInt(_0xb77f6b(0x19c))/0xb*(parseInt(_0xb77f6b(0x185))/0xc);if(_0x45cde1===_0x4383e7)break;else _0x867527['push'](_0x867527['shift']());}catch(_0xe3a879){_0x867527['push'](_0x867527['shift']());}}}(_0x4545,0xe62da));import{default as _0x1e8037}from'./basesuggestionthreadview.js';import{trimHtml as _0x98809}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4545(){const _0x1186e8=['_descriptionElement','35lcsyjR','editorDestroyed','content','listitem','ck-suggestion--disabled-comments','ck-suggestion-wrapper','editorReady','8523CEsiyq','getTemplate','descriptionParts','ck-rounded-corners','3012792BiLDVD','canDiscard','ck-suggestion-','acceptButton','<p>','281139ydlkLX','div','discardButton','push','12CTlEJb','disableComments','discardSuggestion','set','isActive','2737152kwwYGr','408kEVgJO','suggestionView','ck-suggestion-wrapper--active','author','</p>','bindTemplate','setTemplate','1510YgoZdS','bind','acceptSuggestion','3488890KFxXrU','description','ariaLabel','render','1435951RbjQYy','commentsListView','_config','canAccept','type','_model','delegate','commentThread','focusables','975337VvzNsA','commentThreadInputView','formatDateTime','color','SuggestionView','isEnabled','ariaDescriptionView','add','20LvckVu'];_0x4545=function(){return _0x1186e8;};return _0x4545();}function _0x51f7(_0x28ad17,_0x54a699){const _0x4545d4=_0x4545();return _0x51f7=function(_0x51f742,_0x2b2f66){_0x51f742=_0x51f742-0x172;let _0x58e344=_0x4545d4[_0x51f742];return _0x58e344;},_0x51f7(_0x28ad17,_0x54a699);}import{renderDescription as _0x1c982b}from'../../utils/utils.js';export default class re extends _0x1e8037{constructor(_0x19cff5,_0x21e4de,_0x3d2e96,_0x3e90ea){const _0x26dd3b=_0x51f7;super(_0x19cff5,_0x21e4de,_0x3d2e96,_0x3e90ea),this[_0x26dd3b(0x182)](_0x26dd3b(0x197),''),this[_0x26dd3b(0x18d)](_0x26dd3b(0x197))['to'](this,_0x26dd3b(0x174),_0x3f87b8=>_0x3f87b8&&_0x3f87b8[0x0]?_0x3f87b8[0x0][_0x26dd3b(0x197)]:''),this[_0x26dd3b(0x18d)](_0x26dd3b(0x190))['to'](this,_0x26dd3b(0x174),this,_0x26dd3b(0x183),(_0x406acb,_0x2056e2)=>{const _0x3aa3e9=_0x26dd3b;let _0x3a9e52='';for(const _0x19fda0 of _0x406acb)_0x3a9e52+=_0x3aa3e9(0x17a)+_0x1c982b(_0x19fda0[_0x3aa3e9(0x1a8)],_0x19fda0[_0x3aa3e9(0x19f)])+_0x3aa3e9(0x189);return _0x2056e2?_0x3a9e52:_0x98809(_0x3a9e52,{'limit':0x8c});}),this[_0x26dd3b(0x1a5)]=null,this[_0x26dd3b(0x186)]=new _0x3e90ea[(_0x26dd3b(0x1a0))](_0x19cff5,_0x21e4de,{'formatDateTime':_0x3e90ea[_0x26dd3b(0x19e)]}),this[_0x26dd3b(0x186)][_0x26dd3b(0x18d)](_0x26dd3b(0x190))['to'](this),this[_0x26dd3b(0x186)][_0x26dd3b(0x199)](_0x26dd3b(0x18e),_0x26dd3b(0x181))['to'](this),this[_0x26dd3b(0x186)][_0x26dd3b(0x179)][_0x26dd3b(0x18d)](_0x26dd3b(0x1a1))['to'](this,_0x26dd3b(0x196)),this[_0x26dd3b(0x186)][_0x26dd3b(0x17d)][_0x26dd3b(0x18d)](_0x26dd3b(0x1a1))['to'](this,_0x26dd3b(0x177)),this[_0x26dd3b(0x19b)][_0x26dd3b(0x1a3)](this[_0x26dd3b(0x186)]),this[_0x26dd3b(0x194)]&&this[_0x26dd3b(0x19b)][_0x26dd3b(0x1a3)](this[_0x26dd3b(0x194)]),this[_0x26dd3b(0x19d)]&&this[_0x26dd3b(0x19b)][_0x26dd3b(0x1a3)](this[_0x26dd3b(0x19d)]),this[_0x26dd3b(0x18b)](this[_0x26dd3b(0x173)]());}[_0x21cf9d(0x173)](){const _0x547342=_0x21cf9d,_0x94baad=this[_0x547342(0x18a)],_0x1ce5fa=[this[_0x547342(0x186)]];return this[_0x547342(0x194)]&&_0x1ce5fa[_0x547342(0x17e)](this[_0x547342(0x194)]),this[_0x547342(0x19d)]&&_0x1ce5fa[_0x547342(0x17e)](this[_0x547342(0x19d)]),_0x1ce5fa[_0x547342(0x17e)](this[_0x547342(0x1a2)]),{'tag':_0x547342(0x17c),'attributes':{'class':['ck',_0x547342(0x175),_0x547342(0x1ab),_0x94baad['if'](_0x547342(0x183),_0x547342(0x187)),_0x94baad['to'](_0x547342(0x197),_0x2db477=>_0x547342(0x178)+_0x2db477),this[_0x547342(0x195)][_0x547342(0x180)]&&_0x547342(0x1aa)],'data-suggestion-id':this[_0x547342(0x198)]['id'],'data-thread-id':this[_0x547342(0x198)][_0x547342(0x19a)]['id'],'data-author-id':this[_0x547342(0x198)][_0x547342(0x188)]['id'],'tabindex':0x0,'role':_0x547342(0x1a9),'aria-label':_0x94baad['to'](_0x547342(0x191)),'aria-describedby':this[_0x547342(0x1a2)]['id']},'children':_0x1ce5fa};}[_0x21cf9d(0x192)](){const _0x367568=_0x21cf9d;super[_0x367568(0x192)](),this[_0x367568(0x194)]&&(this[_0x367568(0x194)][_0x367568(0x199)](_0x367568(0x1ac))['to'](this),this[_0x367568(0x194)][_0x367568(0x199)](_0x367568(0x1a7))['to'](this)),this[_0x367568(0x19d)]&&(this[_0x367568(0x19d)][_0x367568(0x199)](_0x367568(0x1ac))['to'](this),this[_0x367568(0x19d)][_0x367568(0x199)](_0x367568(0x1a7))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8bcb01=_0x2841;(function(_0x1dc0d5,_0x22d5ed){const _0x4ca4ea=_0x2841,_0x29518c=_0x1dc0d5();while(!![]){try{const _0x49ba06=-parseInt(_0x4ca4ea(0x18e))/0x1+parseInt(_0x4ca4ea(0x170))/0x2*(parseInt(_0x4ca4ea(0x15c))/0x3)+-parseInt(_0x4ca4ea(0x195))/0x4+parseInt(_0x4ca4ea(0x16b))/0x5+parseInt(_0x4ca4ea(0x19e))/0x6*(-parseInt(_0x4ca4ea(0x171))/0x7)+-parseInt(_0x4ca4ea(0x16a))/0x8+parseInt(_0x4ca4ea(0x15a))/0x9*(parseInt(_0x4ca4ea(0x186))/0xa);if(_0x49ba06===_0x22d5ed)break;else _0x29518c['push'](_0x29518c['shift']());}catch(_0x5d6f8e){_0x29518c['push'](_0x29518c['shift']());}}}(_0x958c,0x853cf));import{FocusTracker as _0x31547b,KeystrokeHandler as _0x1cd573}from'ckeditor5/src/utils.js';import{View as _0x54314a,ViewCollection as _0x140999,FocusCycler as _0x4a2c15}from'ckeditor5/src/ui.js';function _0x2841(_0x311b0f,_0x6c81eb){const _0x958c3d=_0x958c();return _0x2841=function(_0x28419b,_0x307386){_0x28419b=_0x28419b-0x158;let _0x5bdd0b=_0x958c3d[_0x28419b];return _0x5bdd0b;},_0x2841(_0x311b0f,_0x6c81eb);}import{LateFocusButtonView as _0x242bbc,UserView as _0x317de7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x958c(){const _0xb83880=['innerHTML','element','bind','ck-annotation__info','isExternal','focusFirst','Accept\x20suggestion','execute','div','esc','938450unpYQA','acceptSuggestion','attributes','EXTERNAL_IMPORT_WORD_SUGGESTION','EXTERNAL_AVATAR','acceptButton','getTemplate','formatDateTime','1026914ixxYbS','add','bindTemplate','keystrokes','ck-annotation','focusTracker','ck-annotation__actions','2104616xDWGsp','enter','ck-suggestion__info','source','shift+tab','focusables','render','ck-suggestion__info-name','name','35310FOdKmn','description','ck-annotation__content-wrapper','cancel','authoredAt','target','push','ck-suggestion--discard','tab','importWord','_model','ck-suggestion--accept','discardSuggestion','author','ck-suggestion','ck-suggestion__actions','querySelector','span','EXTERNAL_IMPORT_WORD_AVATAR','userView','time','ck-annotation__info-time','focusCycler','153ghyHBK','check','1132494ovktYd','set','ck-comment__external','extendTemplate','locale','getExternalSuggestionNote','_config','.ck-annotation__content-wrapper','ck-annotation__info-name','discardButton','focus','ck-comment__info-time','EXTERNAL_SUGGESTION','ck-annotation__user','1703336FaWhlH','2341675cYNyBb','getUserViewNotificationText','listenTo','creator','fire','2CEgsxV','154uvmCOm','_setupKeyboardNavigation','change:description','ck-suggestion__main','ck-suggestion__user','_createButton','presentation','Discard\x20suggestion','ck-annotation__main','@external','setTemplate'];_0x958c=function(){return _0xb83880;};return _0x958c();}import{icons as _0x198738}from'ckeditor5/src/core.js';import{getTranslation as _0x29ff0f}from'../../utils/common-translations.js';export default class ce extends _0x54314a{constructor(_0x436103,_0x49e272,_0x10d5c1){const _0x2a3549=_0x2841;super(_0x436103),this[_0x2a3549(0x1a8)]=_0x49e272,this[_0x2a3549(0x162)]=_0x10d5c1,this[_0x2a3549(0x15d)](_0x2a3549(0x19f),''),this[_0x2a3549(0x17e)](_0x2a3549(0x1a2))['to'](_0x49e272),this[_0x2a3549(0x18b)]=this[_0x2a3549(0x176)](_0x29ff0f(_0x436103,_0x2a3549(0x182)),_0x198738[_0x2a3549(0x15b)],_0x2a3549(0x1a9),_0x2a3549(0x187),'sw'),this[_0x2a3549(0x165)]=this[_0x2a3549(0x176)](_0x29ff0f(_0x436103,_0x2a3549(0x178)),_0x198738[_0x2a3549(0x1a1)],_0x2a3549(0x1a5),_0x2a3549(0x1aa),'sw'),this[_0x2a3549(0x1b1)]=new _0x317de7(_0x436103,_0x49e272[_0x2a3549(0x1ab)],this[_0x2a3549(0x16c)]()),this[_0x2a3549(0x1b1)][_0x2a3549(0x15f)]({'attributes':{'class':[_0x2a3549(0x175),_0x2a3549(0x169)],'aria-hidden':!0x0}}),this[_0x2a3549(0x19a)]=new _0x140999([this[_0x2a3549(0x18b)],this[_0x2a3549(0x165)]]),this[_0x2a3549(0x193)]=new _0x31547b(),this[_0x2a3549(0x191)]=new _0x1cd573(),this[_0x2a3549(0x159)]=new _0x4a2c15({'focusables':this[_0x2a3549(0x19a)],'focusTracker':this[_0x2a3549(0x193)],'keystrokeHandler':this[_0x2a3549(0x191)],'actions':{'focusPrevious':_0x2a3549(0x199),'focusNext':_0x2a3549(0x1a6)},'keystrokeHandlerOptions':{'filter':_0x151d55=>_0x151d55[_0x2a3549(0x1a3)]!==this[_0x2a3549(0x17d)]}}),this[_0x2a3549(0x17b)](this[_0x2a3549(0x18c)]());}[_0x8bcb01(0x19b)](){const _0x28ac0b=_0x8bcb01;super[_0x28ac0b(0x19b)]();const _0x12ed87=this[_0x28ac0b(0x17d)][_0x28ac0b(0x1ae)](_0x28ac0b(0x163));_0x12ed87[_0x28ac0b(0x17c)]=this[_0x28ac0b(0x19f)],this['on'](_0x28ac0b(0x173),(_0x52eb98,_0x1567f4,_0x5d60d8)=>{const _0x3abb6a=_0x28ac0b;_0x12ed87[_0x3abb6a(0x17c)]=_0x5d60d8;}),this[_0x28ac0b(0x172)]();}[_0x8bcb01(0x18c)](){const _0x211174=_0x8bcb01,_0x4fd7d9=this[_0x211174(0x190)],_0x37c851=[{'tag':_0x211174(0x184),'attributes':{'class':[_0x211174(0x197),_0x211174(0x17f)]},'children':[{'tag':_0x211174(0x1af),'children':[{'text':this[_0x211174(0x1b1)][_0x211174(0x19d)]}],'attributes':{'class':[_0x211174(0x19c),_0x211174(0x164)]}},{'tag':_0x211174(0x1b2),'attributes':{'datetime':_0x4fd7d9['to'](_0x211174(0x1a2)),'class':[_0x211174(0x167),_0x211174(0x158)]},'children':[{'text':_0x4fd7d9['to'](_0x211174(0x1a2),_0x4aa3d6=>this[_0x211174(0x162)][_0x211174(0x18d)](_0x4aa3d6))}]}]},{'tag':_0x211174(0x184),'attributes':{'class':[_0x211174(0x1ad),_0x211174(0x194)]},'children':[this[_0x211174(0x18b)],this[_0x211174(0x165)]]},{'tag':_0x211174(0x184),'attributes':{'class':[_0x211174(0x1a0)]}}];return this[_0x211174(0x1a8)][_0x211174(0x180)]&&_0x37c851[_0x211174(0x1a4)]({'tag':_0x211174(0x184),'attributes':{'class':[_0x211174(0x15e)]},'children':[{'text':this[_0x211174(0x161)]()}]}),{'tag':_0x211174(0x184),'attributes':{'class':[_0x211174(0x1ac),_0x211174(0x192)],'tabindex':-0x1},'children':[this[_0x211174(0x1b1)],{'tag':_0x211174(0x184),'attributes':{'class':[_0x211174(0x174),_0x211174(0x179)],'role':_0x211174(0x177)},'children':_0x37c851}]};}[_0x8bcb01(0x166)](){const _0x2e0d0b=_0x8bcb01;this[_0x2e0d0b(0x17d)][_0x2e0d0b(0x166)]();}[_0x8bcb01(0x16c)](){const _0x1d00bb=_0x8bcb01;return this[_0x1d00bb(0x1a8)][_0x1d00bb(0x180)]?_0x1d00bb(0x1a7)===this[_0x1d00bb(0x1a8)][_0x1d00bb(0x188)][_0x1d00bb(0x17a)][_0x1d00bb(0x198)]?_0x29ff0f(this[_0x1d00bb(0x160)],_0x1d00bb(0x1b0),this[_0x1d00bb(0x1a8)][_0x1d00bb(0x16e)][_0x1d00bb(0x19d)]):_0x29ff0f(this[_0x1d00bb(0x160)],_0x1d00bb(0x18a),this[_0x1d00bb(0x1a8)][_0x1d00bb(0x16e)][_0x1d00bb(0x19d)]):null;}[_0x8bcb01(0x161)](){const _0x921b09=_0x8bcb01;return _0x921b09(0x1a7)===this[_0x921b09(0x1a8)][_0x921b09(0x188)][_0x921b09(0x17a)][_0x921b09(0x198)]?_0x29ff0f(this[_0x921b09(0x160)],_0x921b09(0x189)):_0x29ff0f(this[_0x921b09(0x160)],_0x921b09(0x168));}[_0x8bcb01(0x176)](_0x3b7da1,_0x277a37,_0x31ae7e,_0x4d8821,_0x1890f2){const _0x102d62=_0x8bcb01,_0x2d59f5=new _0x242bbc(this[_0x102d62(0x160)]);return _0x2d59f5[_0x102d62(0x15d)]({'label':_0x3b7da1,'icon':_0x277a37,'tooltip':!0x0,'tooltipPosition':_0x1890f2}),_0x2d59f5[_0x102d62(0x15f)]({'attributes':{'class':_0x31ae7e}}),_0x2d59f5['on'](_0x102d62(0x183),()=>{const _0x4ce90d=_0x102d62;this[_0x4ce90d(0x16f)](_0x4d8821,this[_0x4ce90d(0x1a8)]['id']);}),_0x2d59f5;}[_0x8bcb01(0x172)](){const _0x4d8b13=_0x8bcb01,_0x4ec2b5=this[_0x4d8b13(0x17d)];this[_0x4d8b13(0x191)][_0x4d8b13(0x16d)](_0x4ec2b5);for(const _0x173073 of this[_0x4d8b13(0x19a)])this[_0x4d8b13(0x193)][_0x4d8b13(0x18f)](_0x173073[_0x4d8b13(0x17d)]),this[_0x4d8b13(0x191)][_0x4d8b13(0x16d)](_0x173073[_0x4d8b13(0x17d)]);this[_0x4d8b13(0x191)][_0x4d8b13(0x15d)](_0x4d8b13(0x196),(_0x4dbcb0,_0x315f14)=>{const _0x19a5cd=_0x4d8b13;_0x4ec2b5===_0x4dbcb0[_0x19a5cd(0x1a3)]&&(this[_0x19a5cd(0x159)][_0x19a5cd(0x181)](),_0x315f14());}),this[_0x4d8b13(0x191)][_0x4d8b13(0x15d)](_0x4d8b13(0x185),(_0x1bbd44,_0x510ff5)=>{const _0x33e7ec=_0x4d8b13;_0x4ec2b5!==_0x1bbd44[_0x33e7ec(0x1a3)]&&(this[_0x33e7ec(0x166)](),_0x510ff5());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x34a56e,_0x1dfd7b,_0x1cd156){const t=_0x34a56e['t'];switch(_0x1dfd7b){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',_0x1cd156);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1cd156);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1cd156);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1cd156);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1cd156);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',_0x1cd156);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1cd156);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',_0x1cd156);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1cd156);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1cd156);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1cd156);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1cd156);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1cd156);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1cd156);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1cd156);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1cd156);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1cd156);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1cd156);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1cd156);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1cd156);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1cd156);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1cd156);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1cd156);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'},_0x1cd156);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1cd156);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1cd156);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1cd156);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1cd156);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1cd156);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'},_0x1cd156);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1cd156);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1cd156);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1cd156);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1cd156);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'},_0x1cd156);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1cd156);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'},_0x1cd156);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'},_0x1cd156);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1cd156);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'},_0x1cd156);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1cd156);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'},_0x1cd156);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1cd156);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1cd156);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'},_0x1cd156);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1cd156);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1cd156);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1cd156);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'},_0x1cd156);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'},_0x1cd156);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'},_0x1cd156);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1dfd7b;}}
|
|
23
|
+
export function getTranslation(_0x116d3e,_0x585dd3,_0x261a09){const t=_0x116d3e['t'];switch(_0x585dd3){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',_0x261a09);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x261a09);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x261a09);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x261a09);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x261a09);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',_0x261a09);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x261a09);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',_0x261a09);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x261a09);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x261a09);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x261a09);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x261a09);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x261a09);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x261a09);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x261a09);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x261a09);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x261a09);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x261a09);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x261a09);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x261a09);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x261a09);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x261a09);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x261a09);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'},_0x261a09);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x261a09);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x261a09);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x261a09);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x261a09);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x261a09);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'},_0x261a09);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x261a09);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x261a09);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x261a09);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x261a09);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'},_0x261a09);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x261a09);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'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x261a09);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'},_0x261a09);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x261a09);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x261a09);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'},_0x261a09);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x261a09);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x261a09);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x261a09);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'},_0x261a09);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'},_0x261a09);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'},_0x261a09);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x585dd3;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x494b(){const _0x53189f=['getRanges','762450DFndwb','value','sort','deletion','createElement','replace','239660eMvwxx','isCollapsed','next','color','execute','21768BVjvwo','map','<span\x20class=\x22ck-suggestion-type\x22>','isMultiRange','createPositionBefore','split','createPositionAfter','167709xcWmHn','start','138QRREVP','\x20[color\x20','\x22></span>','isInContent','span','join','push','innerText','content','isIntersecting','type','length','add','</span>','createRange','schema','604312VWTLYr','innerHTML','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','33313qvuWSd','2630763FNmxim','splice','createPositionAt','title','\x22\x20title=\x22','isObject','change','end','isTouching','isArray','12yblSUm','from'];_0x494b=function(){return _0x53189f;};return _0x494b();}(function(_0x321335,_0x42560a){const _0x388b03=_0x2b4c,_0x2ef16f=_0x321335();while(!![]){try{const _0xe5b211=parseInt(_0x388b03(0x160))/0x1+-parseInt(_0x388b03(0x154))/0x2+-parseInt(_0x388b03(0x159))/0x3*(-parseInt(_0x388b03(0x14b))/0x4)+parseInt(_0x388b03(0x14e))/0x5+-parseInt(_0x388b03(0x162))/0x6*(-parseInt(_0x388b03(0x140))/0x7)+parseInt(_0x388b03(0x13d))/0x8+-parseInt(_0x388b03(0x141))/0x9;if(_0xe5b211===_0x42560a)break;else _0x2ef16f['push'](_0x2ef16f['shift']());}catch(_0x3d0a30){_0x2ef16f['push'](_0x2ef16f['shift']());}}}(_0x494b,0x1c08a));export function normalizeDescription(_0x18a9d9){const _0x530703=_0x2b4c;return Array[_0x530703(0x14a)](_0x18a9d9)||(_0x18a9d9=[_0x18a9d9]),_0x18a9d9[_0x530703(0x15a)](_0xd41688=>{const _0x2b8bf5=_0x530703,_0x291e49=_0xd41688[_0x2b8bf5(0x135)][_0x2b8bf5(0x153)](/\*/g,''),_0x1dba0d=_0xd41688[_0x2b8bf5(0x157)]?_0x2b8bf5(0x163)+_0xd41688[_0x2b8bf5(0x157)][_0x2b8bf5(0x14f)]+']':'';return'['+_0xd41688[_0x2b8bf5(0x137)]+']\x20'+_0x291e49+_0x1dba0d;})[_0x530703(0x167)](';\x20');}function _0x2b4c(_0xc66d96,_0x4fa68b){const _0x494b83=_0x494b();return _0x2b4c=function(_0x2b4c83,_0x316747){_0x2b4c83=_0x2b4c83-0x135;let _0x2aea17=_0x494b83[_0x2b4c83];return _0x2aea17;},_0x2b4c(_0xc66d96,_0x4fa68b);}export function renderDescription(_0x4ae448,_0x120a06){const _0x3f123e=_0x2b4c;let _0x367fd4='';return _0x367fd4+=_0x4ae448[_0x3f123e(0x15e)]('*')[_0x3f123e(0x15a)]((_0x59b064,_0xb227e)=>_0xb227e%0x2!=0x0?_0x3f123e(0x15b)+nn(_0x59b064)+_0x3f123e(0x13a):nn(_0x59b064))[_0x3f123e(0x167)](''),_0x120a06&&(_0x367fd4+=_0x3f123e(0x13f)+_0x120a06[_0x3f123e(0x14f)]+_0x3f123e(0x145)+_0x120a06[_0x3f123e(0x144)]+_0x3f123e(0x164)),_0x367fd4;}function nn(_0x201c87){const _0x3a8ebb=_0x2b4c,_0x57f561=document[_0x3a8ebb(0x152)](_0x3a8ebb(0x166));return _0x57f561[_0x3a8ebb(0x169)]=_0x201c87,_0x57f561[_0x3a8ebb(0x13e)];}export function sortSuggestions(_0x23d938){const _0x6b5464=_0x2b4c;return _0x23d938[_0x6b5464(0x150)]((_0x58ff43,_0xe35455)=>_0x6b5464(0x151)==_0x58ff43[_0x6b5464(0x137)]&&_0x6b5464(0x151)!=_0xe35455[_0x6b5464(0x137)]?-0x1:_0x6b5464(0x151)!=_0x58ff43[_0x6b5464(0x137)]&&_0x6b5464(0x151)==_0xe35455[_0x6b5464(0x137)]?0x1:0x0);}export function getSelectedSuggestions(_0x303c4e,_0x268a19){const _0x281082=_0x2b4c,_0x31b08d=Array[_0x281082(0x14c)](_0x303c4e[_0x281082(0x14d)]()),_0x16ee20=new Set();for(const _0x58fe7a of _0x268a19)if(_0x58fe7a[_0x281082(0x165)]){for(const _0x5b0279 of _0x31b08d)for(const _0x220b42 of _0x58fe7a[_0x281082(0x14d)]())(_0x5b0279[_0x281082(0x136)](_0x220b42)||_0x303c4e[_0x281082(0x155)]&&!_0x58fe7a[_0x281082(0x15c)]&&_0x58fe7a[_0x281082(0x156)]&&_0x220b42[_0x281082(0x148)][_0x281082(0x149)](_0x5b0279[_0x281082(0x161)]))&&_0x16ee20[_0x281082(0x139)](_0x58fe7a);}return _0x16ee20;}export function getRangesOfBlockGroups(_0x236e01,_0x9d184c){const _0x3933e2=_0x2b4c;let _0x370fb0,_0x3e2870=0x0;const _0x17908a=[],_0x5b0f13=_0x9d184c[_0x3933e2(0x13c)];for(;_0x3e2870<_0x236e01[_0x3933e2(0x138)];){const _0x3c060c=_0x236e01[_0x3e2870],_0x410829=_0x236e01[_0x3e2870+0x1];_0x370fb0||(_0x370fb0=_0x9d184c[_0x3933e2(0x15d)](_0x3c060c)),on(_0x9d184c,_0x3c060c,_0x410829)||(_0x17908a[_0x3933e2(0x168)](_0x9d184c[_0x3933e2(0x13b)](_0x370fb0,_0x5b0f13[_0x3933e2(0x146)](_0x3c060c)?_0x9d184c[_0x3933e2(0x15f)](_0x3c060c):_0x9d184c[_0x3933e2(0x143)](_0x3c060c,_0x3933e2(0x148)))),_0x370fb0=null),_0x3e2870++;}return _0x17908a;}function on(_0x2d48a3,_0x568ea5,_0x25ed8b){const _0x4c70a1=_0x2b4c;if(!_0x25ed8b)return!0x1;const _0x33ec77=_0x2d48a3[_0x4c70a1(0x15f)](_0x568ea5),_0x51d570=_0x2d48a3[_0x4c70a1(0x15d)](_0x25ed8b);return _0x33ec77[_0x4c70a1(0x149)](_0x51d570);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1ebaab,_0x2e3c63,_0x48450c){const _0x5564ab=_0x2b4c;for(;_0x48450c[_0x5564ab(0x138)];){const _0x213ec5=_0x48450c[_0x5564ab(0x142)](0x0,0x64);_0x1ebaab[_0x5564ab(0x147)](()=>{const _0xacf4f5=_0x5564ab;for(const _0x4e661d of _0x213ec5)_0x4e661d[_0xacf4f5(0x165)]&&_0x2e3c63[_0xacf4f5(0x158)](_0x4e661d['id']);});}}
|