@ckeditor/ckeditor5-track-changes 44.2.0-alpha.9 → 44.2.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +25 -25
- 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/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.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/emoji.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/replacesourcecommand.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/uploadcare.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/trackchangesconfig.d.ts +8 -4
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.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/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x522087=_0x3b41;(function(_0x40de8e,_0x11818b){const _0x52da0c=_0x3b41,_0x7a707=_0x40de8e();while(!![]){try{const _0xb6f241=parseInt(_0x52da0c(0x17a))/0x1+parseInt(_0x52da0c(0x17b))/0x2+parseInt(_0x52da0c(0x182))/0x3+-parseInt(_0x52da0c(0x178))/0x4*(-parseInt(_0x52da0c(0x175))/0x5)+parseInt(_0x52da0c(0x17d))/0x6+parseInt(_0x52da0c(0x185))/0x7*(-parseInt(_0x52da0c(0x171))/0x8)+-parseInt(_0x52da0c(0x181))/0x9;if(_0xb6f241===_0x11818b)break;else _0x7a707['push'](_0x7a707['shift']());}catch(_0x3f2e43){_0x7a707['push'](_0x7a707['shift']());}}}(_0x41d8,0x2ba6a));import{Plugin as _0x28e38c}from'ckeditor5/src/core.js';import{Dialog as _0x1a9fc2}from'ckeditor5/src/ui.js';import _0x51bf3e from'./trackchangesdata.js';import _0x3b445e from'./commands/previewfinalcontentcommand.js';function _0x3b41(_0x53b129,_0x1e30d5){const _0x41d8c5=_0x41d8();return _0x3b41=function(_0x3b41f6,_0x22661d){_0x3b41f6=_0x3b41f6-0x171;let _0x29daa0=_0x41d8c5[_0x3b41f6];return _0x29daa0;},_0x3b41(_0x53b129,_0x1e30d5);}import'../theme/trackchangespreview.css';export default class te extends _0x28e38c{static get[_0x522087(0x177)](){return[_0x51bf3e,_0x1a9fc2];}static get[_0x522087(0x176)](){const _0x113c2f=_0x522087;return _0x113c2f(0x184);}static get[_0x522087(0x174)](){return!0x0;}static get[_0x522087(0x173)](){return!0x0;}constructor(_0x4ef14e){const _0x121e78=_0x522087;super(_0x4ef14e),_0x4ef14e[_0x121e78(0x180)][_0x121e78(0x186)](_0x121e78(0x183),new _0x3b445e(this[_0x121e78(0x17f)])),_0x4ef14e[_0x121e78(0x17c)][_0x121e78(0x17e)](_0x121e78(0x172),(_0x5be4d8,_0x359cf5)=>{const _0x2262a8=_0x121e78;for(const _0x110705 of _0x359cf5)_0x5be4d8[_0x2262a8(0x179)](_0x110705);});}}function _0x41d8(){const _0x1ddab1=['add','14248vaKCcw','trackChanges.preview.renderFunction','isPremiumPlugin','isOfficialPlugin','34015tujaep','pluginName','requires','64sAjYXo','appendChild','215152xfyUFp','255748vOfvFa','config','2082900RAEMew','define','editor','commands','7285932GbXWPC','589326oUpnuH','previewFinalContent','TrackChangesPreview','28OaWjbl'];_0x41d8=function(){return _0x1ddab1;};return _0x41d8();}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x764939=_0x309e;(function(_0xc0935b,_0x24f530){const _0x2abb33=_0x309e,_0x2aab64=_0xc0935b();while(!![]){try{const _0x33ad8e=parseInt(_0x2abb33(0xbb))/0x1+parseInt(_0x2abb33(0xd4))/0x2*(parseInt(_0x2abb33(0x10f))/0x3)+-parseInt(_0x2abb33(0xdb))/0x4*(parseInt(_0x2abb33(0xce))/0x5)+parseInt(_0x2abb33(0x14d))/0x6*(-parseInt(_0x2abb33(0xe1))/0x7)+-parseInt(_0x2abb33(0xcf))/0x8*(-parseInt(_0x2abb33(0x138))/0x9)+parseInt(_0x2abb33(0x135))/0xa+-parseInt(_0x2abb33(0xb1))/0xb;if(_0x33ad8e===_0x24f530)break;else _0x2aab64['push'](_0x2aab64['shift']());}catch(_0xdc15e5){_0x2aab64['push'](_0x2aab64['shift']());}}}(_0x36db,0x98389));import{Plugin as _0x4756c0}from'ckeditor5/src/core.js';function _0x309e(_0x3bfd01,_0x217b53){const _0x36db42=_0x36db();return _0x309e=function(_0x309ede,_0x4a22d9){_0x309ede=_0x309ede-0xad;let _0x313a18=_0x36db42[_0x309ede];return _0x313a18;},_0x309e(_0x3bfd01,_0x217b53);}import{Collection as _0x15491d}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x36790,createDropdown as _0xc0b46c,ListSeparatorView as _0x4c2640,MenuBarMenuView as _0x460d52,MenuBarMenuListView as _0x25c0f7,MenuBarMenuListItemView as _0xb4ae67,MenuBarMenuListItemButtonView as _0x4acef3,SplitButtonView as _0x5b4e2a,ViewModel as _0x8f74b8}from'ckeditor5/src/ui.js';import{Users as _0x3185e6,getDateTimeFormatter as _0x313acd,getAllMarkersDomElementsSorted as _0xa219ad}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1adbfb from'./trackchangesediting.js';import _0x40a58d from'./ui/suggestioncontroller.js';import _0x4df21b from'./ui/view/suggestionthreadview.js';import _0x5b0305 from'./ui/view/suggestionview.js';import{getTranslation as _0xa73e3a}from'./utils/common-translations.js';function _0x36db(){const _0x5d653b=['comments','define','discardSelectedSuggestions','stopListening','_destroyController','commentsListView','licenseKey','getJoined','suggestion-','21HBjbvu','children','descriptionFactory','size','isEnabled','_refreshActiveMarkers','init','addSourceCollector','TrackChanges','lowest','SuggestionThreadView','trackChangesLicenseKeyTrialLimit','Annotations','remove','Accept\x20all\x20selected\x20suggestions','values','trackChanges','_viewToController','some','discardButton','from','TrackChangesUI','trackChangesLicenseKeyUsageLimit','requires','trackChanges.SuggestionView','change:activeAnnotations','comments.maxCommentCharsWhenCollapsed','Discard\x20all\x20selected\x20suggestions','_createToolbarButton','trackChangesLicenseKeyEvaluationLimit','reduce','source','actionView','_suggestionToController','Discard\x20all\x20suggestions','view','length','isPremiumPlugin','5571410PhiZBs','getFirstRange','expired','8334faIzEo','suggestionUnloaded','getSuggestion','keys','isInContent','discardAllSuggestions','_updateController','suggestionView','value','menuitemcheckbox','menu','commandName','trackChanges.SuggestionThreadView','Accept\x20all\x20suggestions','componentFactory','menuitem','SuggestionView','arrowView','_handleControllerBuffer','_annotationViews','listenTo','20814YJpvMp','trackChangesLicenseKeyExpired','_createMenuBarMenu','activeMarkers','activeAnnotations','getDescriptions','Track\x20changes','usageLimit','config','acceptSelectedSuggestions','addMany','Preview\x20final\x20content','items','CommentView','filter','head','trackChangesLicenseKeyNotAllowed','type','TrackChangesEditing','registerAnnotation','isMultiRange','16163389NahSeG','_handleSuggestionControllerDelayed','editing','switchbutton','refreshSelectedViews','model','acceptAllSuggestions','comments.maxThreadTotalWeight','_addUIComponentsToFactory','createAnnotationView','486006lJUiIG','button','panelView','getMarkers','comments.maxCommentsWhenCollapsed','previewFinalContent','menuBar:trackChanges','_unbindEditors','plugins','getAllAdjacentSuggestions','CommentsRepository','innerView','_disableComments','_licenseKeyCheckInterval','trialLimit','featureNotAllowed','invalid','pluginName','escape','10UjwRlx','7184LSXJhr','descriptionParts','has','isOfficialPlugin','trackChangesLicenseKeyDomainLimit','228716kJFhbN','EditorAnnotations','toMany','trackChangesLicenseKeyInvalid','_initializeController','editor','destroy','283484cWDvqE','evaluationLimit','hasSuggestion','mainView','clear','commentThread','889JtRhrn','createAnnotation','_bindAnnotationToEditors','change:previous','comments.editorConfig','unbind','previous','TrackChangesPreview','bind','addComment','trackChanges.disableComments','isOn','delete','getMarkerNames','get','add','push','createCommentThreadController','commands','CommentsUI','acceptButton','domainLimit','set','suggestionLoaded','isDirty','trackChangesLicenseKeyValid','focus','locale','execute','fire','_showLicenseError','suggestionChanged','getRanges','separator','getByInnerView','buttonView','delegate'];_0x36db=function(){return _0x5d653b;};return _0x36db();}import _0x34997e from'../theme/icons/track-changes.svg';export default class d extends _0x4756c0{static get[_0x764939(0x126)](){const _0x37d93a=_0x764939;return[_0x1adbfb,_0x3185e6,_0x37d93a(0xc5),_0x37d93a(0x11b),_0x37d93a(0xd5)];}static get[_0x764939(0xcc)](){const _0x4b1add=_0x764939;return _0x4b1add(0x124);}static get[_0x764939(0xd2)](){return!0x0;}static get[_0x764939(0x134)](){return!0x0;}constructor(_0x2d2f8){const _0x1095a2=_0x764939;super(_0x2d2f8),this[_0x1095a2(0x130)]=new Map(),this[_0x1095a2(0x120)]=new Map(),this[_0x1095a2(0x14b)]=new Map(),this[_0x1095a2(0x14a)]=new Map();const _0x25647d=this[_0x1095a2(0xd9)][_0x1095a2(0x155)];_0x25647d[_0x1095a2(0x107)](_0x1095a2(0x144),_0x4df21b),_0x25647d[_0x1095a2(0x107)](_0x1095a2(0x127),_0x5b0305),_0x25647d[_0x1095a2(0x107)](_0x1095a2(0xeb),!0x1),this[_0x1095a2(0xc7)]=_0x25647d[_0x1095a2(0xef)](_0x1095a2(0xeb));}[_0x764939(0xb2)](_0x4603af,_0x4a18f9){const _0x142da0=_0x764939;0x0===this[_0x142da0(0x14a)][_0x142da0(0x112)]&&setTimeout(()=>{const _0x58659f=_0x142da0;for(const [_0x35d187,_0x55ebfa]of this[_0x58659f(0x14a)]){const _0x5e48ab=this[_0x58659f(0x130)][_0x58659f(0xd1)](_0x35d187);_0x5e48ab||_0x55ebfa?_0x5e48ab&&_0x55ebfa&&this[_0x58659f(0x10a)](_0x35d187):this[_0x58659f(0xd8)](_0x35d187);}this[_0x58659f(0x14a)][_0x58659f(0xdf)](),this[_0x58659f(0xd9)][_0x58659f(0xc3)][_0x58659f(0xef)](_0x58659f(0xd5))[_0x58659f(0xb5)](),this[_0x58659f(0x114)]();},0xa),this[_0x142da0(0x14a)][_0x142da0(0xf7)](_0x4603af,_0x4a18f9);}[_0x764939(0x115)](){const _0x30e13d=_0x764939,_0x5ce27f=this[_0x30e13d(0xd9)],_0x2542bf=_0x5ce27f[_0x30e13d(0xc3)][_0x30e13d(0xef)](_0x30e13d(0xae)),_0x245e03=_0x5ce27f[_0x30e13d(0xc3)][_0x30e13d(0xef)](_0x30e13d(0x11b)),_0x31f1b9=_0x5ce27f[_0x30e13d(0xc3)][_0x30e13d(0xef)](_0x30e13d(0xd5)),_0x58e800=_0x5ce27f[_0x30e13d(0xc3)][_0x30e13d(0xef)](_0x30e13d(0xc5));this[_0x30e13d(0xb9)](),_0x31f1b9[_0x30e13d(0x116)](()=>{const _0x3e8994=_0x30e13d,_0x135177=[];for(const [_0x2fbb48,_0x149931]of Array[_0x3e8994(0x123)](this[_0x3e8994(0x130)])){const _0x41612f=_0x2fbb48[_0x3e8994(0xc4)](),_0x5a46cb=[];for(const _0x152020 of _0x41612f){if(!_0x152020[_0x3e8994(0x13c)])continue;if(_0x152020[_0x3e8994(0xb0)]){_0x5a46cb[_0x3e8994(0xf1)](..._0x152020[_0x3e8994(0x101)]());continue;}const _0x52e3ea=_0x152020[_0x3e8994(0x136)]();if(_0x5a46cb[_0x3e8994(0x133)]>0x0){const _0x53c940=_0x5a46cb[0x0][_0x3e8994(0x10d)](_0x52e3ea);if(_0x53c940){_0x5a46cb[0x0]=_0x53c940;continue;}}_0x5a46cb[_0x3e8994(0xf1)](_0x52e3ea);}_0x135177[_0x3e8994(0xf1)]([_0x149931[_0x3e8994(0x132)],_0x5a46cb]);}return _0x135177;}),this[_0x30e13d(0x14c)](_0x2542bf,_0x30e13d(0xf8),(_0x1028af,_0xc3243b)=>{const _0x273435=_0x30e13d;this[_0x273435(0x14c)](_0xc3243b,_0x273435(0xe4),(_0x1f14bb,_0x113906,_0x51c046,_0x360ba5)=>{const _0x4f9304=_0x273435;_0xc3243b[_0x4f9304(0x13c)]&&(null==_0x51c046?(this[_0x4f9304(0x13e)](_0x360ba5[_0x4f9304(0x15c)]),this[_0x4f9304(0xb2)](_0xc3243b,!0x1)):(this[_0x4f9304(0x13e)](_0x51c046[_0x4f9304(0x15c)]),null==_0x360ba5&&this[_0x4f9304(0xb2)](_0xc3243b,!0x0)));}),null!==_0xc3243b[_0x273435(0xe7)]?this[_0x273435(0x13e)](_0xc3243b[_0x273435(0x15c)]):this[_0x273435(0xb2)](_0xc3243b,!0x1);}),this[_0x30e13d(0x14c)](_0x2542bf,_0x30e13d(0x139),(_0x4cd562,_0xad656,_0x57df49)=>{const _0x58669d=_0x30e13d;this[_0x58669d(0x109)](_0xad656,_0x58669d(0xe4)),this[_0x58669d(0x14a)][_0x58669d(0xed)](_0xad656),this[_0x58669d(0x130)][_0x58669d(0xd1)](_0xad656)&&this[_0x58669d(0x10a)](_0xad656),_0x57df49&&this[_0x58669d(0x13e)](_0x57df49[_0x58669d(0x15c)]);}),this[_0x30e13d(0x14c)](_0x2542bf,_0x30e13d(0x100),(_0x213b1a,_0x3814c4)=>{const _0x11b5f0=_0x30e13d;this[_0x11b5f0(0x13e)](_0x3814c4);}),this[_0x30e13d(0x14c)](_0x245e03,_0x30e13d(0x128),()=>{const _0x527ce4=_0x30e13d;this[_0x527ce4(0x114)]();}),this[_0x30e13d(0x14c)](_0x58e800,_0x30e13d(0xea),(_0x415a1e,{threadId:_0x1ec6bf,isFromAdapter:_0x2ad18d})=>{const _0x4bce95=_0x30e13d;if(_0x2ad18d||!_0x2542bf[_0x4bce95(0xdd)](_0x1ec6bf))return;const _0x4dee4e=_0x2542bf[_0x4bce95(0x13a)](_0x1ec6bf);this[_0x4bce95(0x130)][_0x4bce95(0xef)](_0x4dee4e)[_0x4bce95(0x132)][_0x4bce95(0x10b)][_0x4bce95(0xfb)](-0x1);},{'priority':_0x30e13d(0x118)}),this[_0x30e13d(0x10c)]=this[_0x30e13d(0xd9)][_0x30e13d(0x155)][_0x30e13d(0xef)](_0x30e13d(0x10c));const _0x5aa89a=this[_0x30e13d(0xd9)];this[_0x30e13d(0xc8)]=setInterval(()=>{const _0x343765=_0x30e13d;let _0x46bd51;for(const _0x15712d in _0x5aa89a){const _0x3e99b6=_0x15712d,_0x4735ea=_0x5aa89a[_0x3e99b6];if(_0x343765(0xfa)==_0x4735ea||_0x343765(0xd7)==_0x4735ea||_0x343765(0x14e)==_0x4735ea||_0x343765(0xd3)==_0x4735ea||_0x343765(0x15d)==_0x4735ea||_0x343765(0x12c)==_0x4735ea||_0x343765(0x11a)==_0x4735ea||_0x343765(0x125)==_0x4735ea){delete _0x5aa89a[_0x3e99b6],_0x46bd51=_0x4735ea,clearInterval(this[_0x343765(0xc8)]),this[_0x343765(0xc8)]=void 0x0;break;}}_0x343765(0xd7)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xcb)),_0x343765(0x14e)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0x137)),_0x343765(0xd3)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xf6)),_0x343765(0x15d)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xca),_0x343765(0x117)),_0x343765(0x12c)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xdc)),_0x343765(0x11a)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0xc9)),_0x343765(0x125)==_0x46bd51&&_0x5aa89a[_0x343765(0xff)](_0x343765(0x154));},0x3e8);}[_0x764939(0x114)](){const _0x13824c=_0x764939,_0x4c1569=this[_0x13824c(0xd9)][_0x13824c(0xc3)][_0x13824c(0xef)](_0x13824c(0x11b)),_0x50cc16=this[_0x13824c(0xd9)][_0x13824c(0xc3)][_0x13824c(0xef)](_0x13824c(0xae)),_0x39c6f7=Array[_0x13824c(0x123)](_0x4c1569[_0x13824c(0x151)],_0x462e33=>_0x462e33[_0x13824c(0xc6)])[_0x13824c(0x15b)](_0x163952=>this[_0x13824c(0x120)][_0x13824c(0xd1)](_0x163952)),_0x2b3174=[];for(const _0x360d89 of _0x39c6f7){const _0x2cd6c3=this[_0x13824c(0x120)][_0x13824c(0xef)](_0x360d89)[_0x13824c(0xb6)][_0x13824c(0xc4)]();_0x2b3174[_0x13824c(0xf1)](..._0x2cd6c3[_0x13824c(0x12d)]((_0x4696e1,_0x13ba97)=>[..._0x4696e1,..._0x13ba97[_0x13824c(0xee)]()],[]));}_0x50cc16[_0x13824c(0x150)]=_0x2b3174;}[_0x764939(0xb9)](){const _0x32d7f5=_0x764939,_0x15075d=this[_0x32d7f5(0xd9)],_0x1bc577=_0x15075d[_0x32d7f5(0xfc)],_0x211ceb=_0xa73e3a(_0x1bc577,_0x32d7f5(0x153)),_0x4b8527=new _0x15491d([{'type':_0x32d7f5(0xb4),'model':new _0x8f74b8({'withText':!0x0,'isToggleable':!0x0,'label':_0x211ceb,'commandName':_0x32d7f5(0x11f),'role':_0x32d7f5(0x141)})},{'type':_0x32d7f5(0x102)},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x145)),'commandName':_0x32d7f5(0xb7),'role':_0x32d7f5(0x147)})},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x11d)),'commandName':_0x32d7f5(0x156),'role':_0x32d7f5(0x147)})},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x131)),'commandName':_0x32d7f5(0x13d),'role':_0x32d7f5(0x147)})},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x12a)),'commandName':_0x32d7f5(0x108),'role':_0x32d7f5(0x147)})}]);_0x15075d[_0x32d7f5(0xc3)][_0x32d7f5(0xd1)](_0x32d7f5(0xe8))&&_0x4b8527[_0x32d7f5(0x157)]([{'type':_0x32d7f5(0x102)},{'type':_0x32d7f5(0xbc),'model':new _0x8f74b8({'withText':!0x0,'label':_0xa73e3a(_0x1bc577,_0x32d7f5(0x158)),'commandName':_0x32d7f5(0xc0),'role':_0x32d7f5(0x147)})}]);for(const _0x33df1e of _0x4b8527)if(ke(_0x33df1e)){const _0x27f0af=_0x15075d[_0x32d7f5(0xf3)][_0x32d7f5(0xef)](_0x33df1e[_0x32d7f5(0xb6)][_0x32d7f5(0x143)]);_0x33df1e[_0x32d7f5(0xb6)][_0x32d7f5(0xe9)](_0x32d7f5(0xec),_0x32d7f5(0x113))['to'](_0x27f0af,_0x32d7f5(0x140),_0x32d7f5(0x113));}_0x15075d['ui'][_0x32d7f5(0x146)][_0x32d7f5(0xf0)](_0x32d7f5(0x11f),_0x5546e4=>this[_0x32d7f5(0x12b)](_0x5546e4,_0x4b8527,_0x211ceb)),_0x15075d['ui'][_0x32d7f5(0x146)][_0x32d7f5(0xf0)](_0x32d7f5(0xc1),_0x1f295b=>this[_0x32d7f5(0x14f)](_0x1f295b,_0x4b8527,_0x211ceb));}[_0x764939(0x12b)](_0x533b70,_0x57a136,_0x5eb200){const _0x38565f=_0x764939,_0x53fc68=_0xc0b46c(_0x533b70,_0x5b4e2a),_0x25c732=this[_0x38565f(0xd9)][_0x38565f(0xf3)][_0x38565f(0xef)](_0x38565f(0x11f));_0x53fc68[_0x38565f(0x104)][_0x38565f(0xf7)]({'tooltip':_0x5eb200,'label':_0x5eb200,'icon':_0x34997e}),_0x53fc68[_0x38565f(0x104)][_0x38565f(0xe9)](_0x38565f(0xec))['to'](_0x25c732,_0x38565f(0x140)),_0x53fc68[_0x38565f(0x104)]['on'](_0x38565f(0xfd),()=>{const _0x3f1725=_0x38565f;_0x25c732[_0x3f1725(0xfd)](),this[_0x3f1725(0xd9)][_0x3f1725(0xb3)][_0x3f1725(0x132)][_0x3f1725(0xfb)]();}),_0x36790(_0x53fc68,_0x57a136,{'role':_0x38565f(0x142)});const _0xc05657=[];for(const _0x2e0df6 of _0x57a136)ke(_0x2e0df6)&&_0xc05657[_0x38565f(0xf1)](this[_0x38565f(0xd9)][_0x38565f(0xf3)][_0x38565f(0xef)](_0x2e0df6[_0x38565f(0xb6)][_0x38565f(0x143)]));const _0x47059a=_0x53fc68[_0x38565f(0x104)];return _0x47059a[_0x38565f(0x12f)][_0x38565f(0xe6)](_0x38565f(0x113)),_0x47059a[_0x38565f(0x149)][_0x38565f(0xe6)](_0x38565f(0x113)),_0x47059a[_0x38565f(0x12f)][_0x38565f(0xe9)](_0x38565f(0x113))['to'](_0x25c732,_0x38565f(0x113)),_0x47059a[_0x38565f(0x149)][_0x38565f(0xe9)](_0x38565f(0x113))[_0x38565f(0xd6)](_0xc05657,_0x38565f(0x113),(..._0x2f6ec3)=>_0x2f6ec3[_0x38565f(0x121)](_0x312ca7=>_0x312ca7)),_0x53fc68['on'](_0x38565f(0xfd),_0x23f6bb=>{const _0x15347c=_0x38565f;this[_0x15347c(0xd9)][_0x15347c(0xfd)](_0x23f6bb[_0x15347c(0x12e)][_0x15347c(0x143)]),this[_0x15347c(0xd9)][_0x15347c(0xb3)][_0x15347c(0x132)][_0x15347c(0xfb)]();}),_0x53fc68;}[_0x764939(0x14f)](_0x16a40c,_0x4c80e7,_0x5e659e){const _0x3ecc2c=_0x764939,_0x577794=new _0x460d52(_0x16a40c),_0x3afaf3=this[_0x3ecc2c(0xd9)][_0x3ecc2c(0xf3)][_0x3ecc2c(0xef)](_0x3ecc2c(0x11f));_0x577794[_0x3ecc2c(0x104)][_0x3ecc2c(0xf7)]({'label':_0x5e659e,'icon':_0x34997e});const _0x2b13c2=new _0x25c0f7(_0x16a40c);for(const _0xb039a9 of _0x4c80e7){if(_0x3ecc2c(0x102)==_0xb039a9[_0x3ecc2c(0xad)]){_0x2b13c2[_0x3ecc2c(0x159)][_0x3ecc2c(0xf0)](new _0x4c2640(_0x16a40c));continue;}const _0x12654a=new _0xb4ae67(_0x16a40c,_0x577794),_0x1269dd=new _0x4acef3(_0x16a40c),_0x58b873=_0xb039a9[_0x3ecc2c(0xb6)];_0x1269dd[_0x3ecc2c(0xe9)](...Object[_0x3ecc2c(0x13b)](_0x58b873))['to'](_0x58b873),_0x1269dd[_0x3ecc2c(0x105)](_0x3ecc2c(0xfd))['to'](_0x577794),_0x1269dd['on'](_0x3ecc2c(0xfd),()=>{const _0x10650c=_0x3ecc2c;this[_0x10650c(0xd9)][_0x10650c(0xfd)](_0x58b873[_0x10650c(0x143)]),this[_0x10650c(0xd9)][_0x10650c(0xb3)][_0x10650c(0x132)][_0x10650c(0xfb)]();}),_0x12654a[_0x3ecc2c(0x110)][_0x3ecc2c(0xf0)](_0x1269dd),_0x2b13c2[_0x3ecc2c(0x159)][_0x3ecc2c(0xf0)](_0x12654a);}return _0x577794[_0x3ecc2c(0xe9)](_0x3ecc2c(0x113))['to'](_0x3afaf3,_0x3ecc2c(0x113)),_0x577794[_0x3ecc2c(0xbd)][_0x3ecc2c(0x110)][_0x3ecc2c(0xf0)](_0x2b13c2),_0x577794;}[_0x764939(0xd8)](_0xd9f1eb){const _0x22a51f=_0x764939,_0x1ba885=this[_0x22a51f(0xd9)],_0x1972f8=_0x1ba885[_0x22a51f(0x155)],_0x3ca5ab=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0x11b)),_0xb27da=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0xc5)),_0x293fdd=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0xd5)),_0x27628d=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x3185e6)['me'],_0x1663b0=_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x11f))[_0x22a51f(0x119)],_0x1654e5=_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x11f))[_0x22a51f(0x148)],{CommentsListView:_0x27efc0,CommentThreadInputView:_0x271628}=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0xf4));let _0xa9b7bf,_0xb1ea94,_0x38e3da;this[_0x22a51f(0x14b)][_0x22a51f(0xd1)](_0xd9f1eb['id'])?(_0xb1ea94=this[_0x22a51f(0x14b)][_0x22a51f(0xef)](_0xd9f1eb['id']),_0xa9b7bf=_0xb1ea94[_0x22a51f(0xde)]):(_0xa9b7bf=new _0x1663b0(_0x1ba885[_0x22a51f(0xfc)],_0xd9f1eb,_0x27628d,{'disableComments':this[_0x22a51f(0xc7)],'editorConfig':{..._0x1972f8[_0x22a51f(0xef)](_0x22a51f(0xe5)),'licenseKey':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x10c))},'maxCommentsWhenCollapsed':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0xbf)),'maxThreadTotalWeight':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0xb8)),'maxCommentCharsWhenCollapsed':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x129)),'formatDateTime':_0x313acd(_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0xfc))),'CommentView':_0x1972f8[_0x22a51f(0xef)](_0x22a51f(0x106))[_0x22a51f(0x15a)],'CommentsListView':_0x27efc0,'CommentThreadInputView':_0x271628,'SuggestionView':_0x1654e5}),_0xa9b7bf[_0x22a51f(0x13f)][_0x22a51f(0xf5)]['on'](_0x22a51f(0xfd),()=>{const _0x5e41b6=_0x22a51f;_0x1ba885[_0x5e41b6(0xb3)][_0x5e41b6(0x132)][_0x5e41b6(0xfb)]();}),_0xa9b7bf[_0x22a51f(0x13f)][_0x22a51f(0x122)]['on'](_0x22a51f(0xfd),()=>{const _0x56786e=_0x22a51f;_0x1ba885[_0x56786e(0xb3)][_0x56786e(0x132)][_0x56786e(0xfb)]();}),_0xb1ea94=_0x3ca5ab[_0x22a51f(0xba)](this[_0x22a51f(0xd9)][_0x22a51f(0xfc)],_0xa9b7bf),_0xb1ea94[_0x22a51f(0xe9)](_0x22a51f(0xf9))['to'](_0xa9b7bf,_0x22a51f(0xf9)),_0xb1ea94[_0x22a51f(0xe9)](_0x22a51f(0x133))['to'](_0xa9b7bf),_0xb1ea94[_0x22a51f(0xe9)](_0x22a51f(0xad))['to'](_0xa9b7bf,_0x22a51f(0xad),_0x189f80=>_0x22a51f(0x10e)+_0x189f80),_0xa9b7bf['on'](_0x22a51f(0xcd),()=>{const _0x5d2617=_0x22a51f;_0x38e3da[_0x5d2617(0xfe)](_0x5d2617(0xcd));}),this[_0x22a51f(0x14b)][_0x22a51f(0xf7)](_0xd9f1eb['id'],_0xb1ea94));const _0x536b44=_0xb27da[_0x22a51f(0xf2)](_0xd9f1eb[_0x22a51f(0xe0)],_0xa9b7bf),_0x271f2b=new _0x40a58d(_0x1ba885,_0xd9f1eb,_0xa9b7bf,_0x536b44),_0x42917a=_0xd9f1eb[_0x22a51f(0xc4)]()[_0x22a51f(0x15b)](_0x45c5bd=>_0x45c5bd[_0x22a51f(0x13c)]);_0xa9b7bf[_0x22a51f(0xd0)]=_0x1ba885[_0x22a51f(0xc3)][_0x22a51f(0xef)](_0x22a51f(0xae))[_0x22a51f(0x111)][_0x22a51f(0x152)](_0x42917a),this[_0x22a51f(0x130)][_0x22a51f(0xf7)](_0xd9f1eb,_0x271f2b),this[_0x22a51f(0x120)][_0x22a51f(0xf7)](_0xa9b7bf,_0x271f2b),_0x38e3da=_0x3ca5ab[_0x22a51f(0xe2)]({'view':_0xb1ea94,'target':()=>{const _0x57816f=_0x22a51f,_0x3c5053=[],_0x1de5c5=_0xd9f1eb[_0x57816f(0xc4)]()[_0x57816f(0x15b)](_0x58dc00=>_0x58dc00[_0x57816f(0x13c)]);for(const _0x487228 of _0x1de5c5)_0x3c5053[_0x57816f(0xf1)](..._0x487228[_0x57816f(0xbe)]());return _0xa219ad(_0x1ba885[_0x57816f(0xb3)],_0x3c5053);},'type':()=>_0x22a51f(0x10e)+_0x271f2b[_0x22a51f(0x132)][_0x22a51f(0xad)]}),_0xb27da[_0x22a51f(0xe3)](_0xa9b7bf,_0x38e3da),_0x3ca5ab[_0x22a51f(0xf0)](_0x38e3da),_0x293fdd[_0x22a51f(0xaf)](_0x38e3da);}[_0x764939(0x10a)](_0x3c665d){const _0x44e0c8=_0x764939,_0x41f093=this[_0x44e0c8(0xd9)][_0x44e0c8(0xc3)][_0x44e0c8(0xef)](_0x44e0c8(0xc5)),_0xe0490f=this[_0x44e0c8(0xd9)][_0x44e0c8(0xc3)][_0x44e0c8(0xef)](_0x44e0c8(0x11b)),_0x1e3e40=this[_0x44e0c8(0x130)][_0x44e0c8(0xef)](_0x3c665d),_0x162ebd=_0x1e3e40[_0x44e0c8(0x132)],_0x1e9f04=_0xe0490f[_0x44e0c8(0x103)](_0x162ebd);_0x41f093[_0x44e0c8(0xc2)](_0x162ebd),_0x1e9f04&&_0xe0490f[_0x44e0c8(0x11c)](_0x1e9f04),this[_0x44e0c8(0x130)][_0x44e0c8(0xed)](_0x3c665d),this[_0x44e0c8(0x120)][_0x44e0c8(0xed)](_0x162ebd),_0x1e3e40[_0x44e0c8(0xda)]();}[_0x764939(0x13e)](_0x2e2925){const _0x47a8db=_0x764939;if(!_0x2e2925[_0x47a8db(0x13c)]||!this[_0x47a8db(0x130)][_0x47a8db(0xd1)](_0x2e2925))return;const _0x392036=this[_0x47a8db(0xd9)][_0x47a8db(0xc3)][_0x47a8db(0xef)](_0x47a8db(0xae)),_0x468292=this[_0x47a8db(0x130)][_0x47a8db(0xef)](_0x2e2925),_0x41c3fe=_0x2e2925[_0x47a8db(0xc4)]();_0x468292[_0x47a8db(0x132)][_0x47a8db(0xd0)]=_0x392036[_0x47a8db(0x111)][_0x47a8db(0x152)](_0x41c3fe);}[_0x764939(0xda)](){const _0xb7dd2f=_0x764939;for(const _0x261b35 of this[_0xb7dd2f(0x130)][_0xb7dd2f(0x13b)]())this[_0xb7dd2f(0x10a)](_0x261b35);for(const _0x3217ee of this[_0xb7dd2f(0x14b)][_0xb7dd2f(0x11e)]())_0x3217ee[_0xb7dd2f(0xde)][_0xb7dd2f(0xda)]();super[_0xb7dd2f(0xda)](),this[_0xb7dd2f(0xc8)]&&clearInterval(this[_0xb7dd2f(0xc8)]);}}function ke(_0x3b526d){const _0x36bc2a=_0x764939;return _0x36bc2a(0xb6)in _0x3b526d;}
|
|
23
|
+
const _0xeaa8f2=_0x3f47;(function(_0x29878b,_0x26a6dd){const _0x282e82=_0x3f47,_0x191ec4=_0x29878b();while(!![]){try{const _0x1b7488=parseInt(_0x282e82(0x1d0))/0x1+parseInt(_0x282e82(0x1d6))/0x2+-parseInt(_0x282e82(0x217))/0x3+parseInt(_0x282e82(0x1e4))/0x4*(parseInt(_0x282e82(0x212))/0x5)+parseInt(_0x282e82(0x201))/0x6*(-parseInt(_0x282e82(0x198))/0x7)+-parseInt(_0x282e82(0x1f0))/0x8*(-parseInt(_0x282e82(0x22f))/0x9)+parseInt(_0x282e82(0x1ff))/0xa*(-parseInt(_0x282e82(0x1f2))/0xb);if(_0x1b7488===_0x26a6dd)break;else _0x191ec4['push'](_0x191ec4['shift']());}catch(_0x478364){_0x191ec4['push'](_0x191ec4['shift']());}}}(_0x5cb8,0x7623e));import{Plugin as _0x14220f}from'ckeditor5/src/core.js';import{Collection as _0x48edd2}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x110079,createDropdown as _0x548153,ListSeparatorView as _0x4cd861,MenuBarMenuView as _0x18fc63,MenuBarMenuListView as _0x2ceb54,MenuBarMenuListItemView as _0x45d1dd,MenuBarMenuListItemButtonView as _0x29e009,SplitButtonView as _0xca8c87,ViewModel as _0x46c866}from'ckeditor5/src/ui.js';function _0x5cb8(){const _0x4a2295=['requires','componentFactory','trackChangesLicenseKeyExpired','reduce','panelView','commandName','previewFinalContent','4824tvpPRf','comments.editorConfig','62150TLeomL','config','trackChangesLicenseKeyTrialLimit','TrackChangesUI','EditorAnnotations','focus','getDescriptions','destroy','change:previous','CommentsRepository','init','push','trackChangesLicenseKeyDomainLimit','1740bOdEmF','_viewToController','42RnPOrC','_disableComments','_unbindEditors','separator','actionView','change:activeAnnotations','trackChanges','buttonView','menuitemcheckbox','acceptAllSuggestions','addComment','some','_updateController','trialLimit','delegate','_createToolbarButton','pluginName','15gcbTKM','descriptionFactory','_createMenuBarMenu','Discard\x20all\x20selected\x20suggestions','value','1301052xpoffe','innerView','isDirty','get','isOfficialPlugin','type','Preview\x20final\x20content','addMany','commentsListView','getByInnerView','TrackChanges','descriptionParts','Annotations','registerAnnotation','getFirstRange','model','invalid','keys','head','stopListening','_handleControllerBuffer','escape','acceptSelectedSuggestions','createCommentThreadController','3627FIrtLV','delete','isOn','_showLicenseError','_destroyController','SuggestionThreadView','values','comments','getRanges','domainLimit','discardSelectedSuggestions','set','trackChanges.SuggestionView','TrackChangesPreview','execute','items','activeAnnotations','comments.maxCommentCharsWhenCollapsed','source','plugins','editing','arrowView','_refreshActiveMarkers','filter','trackChangesLicenseKeyValid','suggestionChanged','95361uMjhse','refreshSelectedViews','suggestionLoaded','trackChanges.SuggestionThreadView','menuitem','remove','getSuggestion','_bindAnnotationToEditors','button','_suggestionToController','trackChangesLicenseKeyEvaluationLimit','length','menuBar:trackChanges','Discard\x20all\x20suggestions','has','getAllAdjacentSuggestions','discardAllSuggestions','trackChanges.disableComments','menu','_annotationViews','isEnabled','clear','Accept\x20all\x20suggestions','suggestion-','lowest','suggestionView','commentThread','comments.maxThreadTotalWeight','unbind','createAnnotationView','isMultiRange','createAnnotation','evaluationLimit','getMarkers','bind','children','activeMarkers','toMany','previous','acceptButton','trackChangesLicenseKeyUsageLimit','comments.maxCommentsWhenCollapsed','licenseKey','addSourceCollector','featureNotAllowed','usageLimit','size','Accept\x20all\x20selected\x20suggestions','_addUIComponentsToFactory','commands','define','suggestionUnloaded','_licenseKeyCheckInterval','trackChangesLicenseKeyInvalid','isInContent','CommentsUI','853386zMQryL','editor','SuggestionView','_initializeController','switchbutton','fire','1194870ROHdLz','expired','trackChangesLicenseKeyNotAllowed','Track\x20changes','mainView','locale','discardButton','isPremiumPlugin','view','getJoined','from','CommentView','getMarkerNames','hasSuggestion','402956LxxdHM','TrackChangesEditing','add','listenTo','_handleSuggestionControllerDelayed'];_0x5cb8=function(){return _0x4a2295;};return _0x5cb8();}import{Users as _0x136348,getDateTimeFormatter as _0x54d510,getAllMarkersDomElementsSorted as _0x5f05da}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x442590 from'./trackchangesediting.js';import _0x286e2c from'./ui/suggestioncontroller.js';import _0x2365e7 from'./ui/view/suggestionthreadview.js';import _0x599bf3 from'./ui/view/suggestionview.js';import{getTranslation as _0xfa94c3}from'./utils/common-translations.js';function _0x3f47(_0x3f792b,_0x1e93b5){const _0x5cb8b9=_0x5cb8();return _0x3f47=function(_0x3f478d,_0x58c9df){_0x3f478d=_0x3f478d-0x184;let _0x5a0458=_0x5cb8b9[_0x3f478d];return _0x5a0458;},_0x3f47(_0x3f792b,_0x1e93b5);}import _0x1a23a5 from'../theme/icons/track-changes.svg';export default class d extends _0x14220f{static get[_0xeaa8f2(0x1e9)](){const _0x1ab5c8=_0xeaa8f2;return[_0x442590,_0x136348,_0x1ab5c8(0x1fb),_0x1ab5c8(0x223),_0x1ab5c8(0x1f6)];}static get[_0xeaa8f2(0x211)](){const _0x4791a2=_0xeaa8f2;return _0x4791a2(0x1f5);}static get[_0xeaa8f2(0x21b)](){return!0x0;}static get[_0xeaa8f2(0x1dd)](){return!0x0;}constructor(_0x12273e){const _0x283547=_0xeaa8f2;super(_0x12273e),this[_0x283547(0x1a1)]=new Map(),this[_0x283547(0x200)]=new Map(),this[_0x283547(0x1ab)]=new Map(),this[_0x283547(0x22b)]=new Map();const _0x54a0c2=this[_0x283547(0x1d1)][_0x283547(0x1f3)];_0x54a0c2[_0x283547(0x1ca)](_0x283547(0x19b),_0x2365e7),_0x54a0c2[_0x283547(0x1ca)](_0x283547(0x18a),_0x599bf3),_0x54a0c2[_0x283547(0x1ca)](_0x283547(0x1a9),!0x1),this[_0x283547(0x202)]=_0x54a0c2[_0x283547(0x21a)](_0x283547(0x1a9));}[_0xeaa8f2(0x1e8)](_0x5ca24e,_0x32ad7e){const _0x13b887=_0xeaa8f2;0x0===this[_0x13b887(0x22b)][_0x13b887(0x1c6)]&&setTimeout(()=>{const _0x8e4b46=_0x13b887;for(const [_0x1761a3,_0x287549]of this[_0x8e4b46(0x22b)]){const _0x508f7a=this[_0x8e4b46(0x1a1)][_0x8e4b46(0x1a6)](_0x1761a3);_0x508f7a||_0x287549?_0x508f7a&&_0x287549&&this[_0x8e4b46(0x233)](_0x1761a3):this[_0x8e4b46(0x1d3)](_0x1761a3);}this[_0x8e4b46(0x22b)][_0x8e4b46(0x1ad)](),this[_0x8e4b46(0x1d1)][_0x8e4b46(0x191)][_0x8e4b46(0x21a)](_0x8e4b46(0x1f6))[_0x8e4b46(0x199)](),this[_0x8e4b46(0x194)]();},0xa),this[_0x13b887(0x22b)][_0x13b887(0x189)](_0x5ca24e,_0x32ad7e);}[_0xeaa8f2(0x1fc)](){const _0x1e3ac3=_0xeaa8f2,_0x1315d6=this[_0x1e3ac3(0x1d1)],_0x32c6a7=_0x1315d6[_0x1e3ac3(0x191)][_0x1e3ac3(0x21a)](_0x1e3ac3(0x1e5)),_0x1b61dc=_0x1315d6[_0x1e3ac3(0x191)][_0x1e3ac3(0x21a)](_0x1e3ac3(0x223)),_0x473d42=_0x1315d6[_0x1e3ac3(0x191)][_0x1e3ac3(0x21a)](_0x1e3ac3(0x1f6)),_0x24cdda=_0x1315d6[_0x1e3ac3(0x191)][_0x1e3ac3(0x21a)](_0x1e3ac3(0x1fb));this[_0x1e3ac3(0x1c8)](),_0x473d42[_0x1e3ac3(0x1c3)](()=>{const _0xa82cb1=_0x1e3ac3,_0x5a9e45=[];for(const [_0x312072,_0x2bcf81]of Array[_0xa82cb1(0x1e0)](this[_0xa82cb1(0x1a1)])){const _0x3d7b68=_0x312072[_0xa82cb1(0x1a7)](),_0xe6fdf9=[];for(const _0x41eaa6 of _0x3d7b68){if(!_0x41eaa6[_0xa82cb1(0x1ce)])continue;if(_0x41eaa6[_0xa82cb1(0x1b6)]){_0xe6fdf9[_0xa82cb1(0x1fd)](..._0x41eaa6[_0xa82cb1(0x186)]());continue;}const _0x579061=_0x41eaa6[_0xa82cb1(0x225)]();if(_0xe6fdf9[_0xa82cb1(0x1a3)]>0x0){const _0x464e6b=_0xe6fdf9[0x0][_0xa82cb1(0x1df)](_0x579061);if(_0x464e6b){_0xe6fdf9[0x0]=_0x464e6b;continue;}}_0xe6fdf9[_0xa82cb1(0x1fd)](_0x579061);}_0x5a9e45[_0xa82cb1(0x1fd)]([_0x2bcf81[_0xa82cb1(0x1de)],_0xe6fdf9]);}return _0x5a9e45;}),this[_0x1e3ac3(0x1e7)](_0x32c6a7,_0x1e3ac3(0x19a),(_0x2374fd,_0x13d826)=>{const _0x463f5e=_0x1e3ac3;this[_0x463f5e(0x1e7)](_0x13d826,_0x463f5e(0x1fa),(_0x4356fa,_0x294af6,_0x496ab8,_0x232a1c)=>{const _0x484ca6=_0x463f5e;_0x13d826[_0x484ca6(0x1ce)]&&(null==_0x496ab8?(this[_0x484ca6(0x20d)](_0x232a1c[_0x484ca6(0x229)]),this[_0x484ca6(0x1e8)](_0x13d826,!0x1)):(this[_0x484ca6(0x20d)](_0x496ab8[_0x484ca6(0x229)]),null==_0x232a1c&&this[_0x484ca6(0x1e8)](_0x13d826,!0x0)));}),null!==_0x13d826[_0x463f5e(0x1be)]?this[_0x463f5e(0x20d)](_0x13d826[_0x463f5e(0x229)]):this[_0x463f5e(0x1e8)](_0x13d826,!0x1);}),this[_0x1e3ac3(0x1e7)](_0x32c6a7,_0x1e3ac3(0x1cb),(_0x308610,_0x3fca22,_0x12ead1)=>{const _0x519d4f=_0x1e3ac3;this[_0x519d4f(0x22a)](_0x3fca22,_0x519d4f(0x1fa)),this[_0x519d4f(0x22b)][_0x519d4f(0x230)](_0x3fca22),this[_0x519d4f(0x1a1)][_0x519d4f(0x1a6)](_0x3fca22)&&this[_0x519d4f(0x233)](_0x3fca22),_0x12ead1&&this[_0x519d4f(0x20d)](_0x12ead1[_0x519d4f(0x229)]);}),this[_0x1e3ac3(0x1e7)](_0x32c6a7,_0x1e3ac3(0x197),(_0x190892,_0x2b16f9)=>{const _0x20cda7=_0x1e3ac3;this[_0x20cda7(0x20d)](_0x2b16f9);}),this[_0x1e3ac3(0x1e7)](_0x1b61dc,_0x1e3ac3(0x206),()=>{const _0xf585=_0x1e3ac3;this[_0xf585(0x194)]();}),this[_0x1e3ac3(0x1e7)](_0x24cdda,_0x1e3ac3(0x20b),(_0x102117,{threadId:_0x248e87,isFromAdapter:_0x5e9f6f})=>{const _0x1174cd=_0x1e3ac3;if(_0x5e9f6f||!_0x32c6a7[_0x1174cd(0x1e3)](_0x248e87))return;const _0x1a39ae=_0x32c6a7[_0x1174cd(0x19e)](_0x248e87);this[_0x1174cd(0x1a1)][_0x1174cd(0x21a)](_0x1a39ae)[_0x1174cd(0x1de)][_0x1174cd(0x21f)][_0x1174cd(0x1f7)](-0x1);},{'priority':_0x1e3ac3(0x1b0)}),this[_0x1e3ac3(0x1c2)]=this[_0x1e3ac3(0x1d1)][_0x1e3ac3(0x1f3)][_0x1e3ac3(0x21a)](_0x1e3ac3(0x1c2));const _0x1a8287=this[_0x1e3ac3(0x1d1)];this[_0x1e3ac3(0x1cc)]=setInterval(()=>{const _0x3a3633=_0x1e3ac3;let _0x447215;for(const _0x22554f in _0x1a8287){const _0x16018e=_0x22554f,_0x2da484=_0x1a8287[_0x16018e];if(_0x3a3633(0x196)==_0x2da484||_0x3a3633(0x1cd)==_0x2da484||_0x3a3633(0x1eb)==_0x2da484||_0x3a3633(0x1fe)==_0x2da484||_0x3a3633(0x1d8)==_0x2da484||_0x3a3633(0x1a2)==_0x2da484||_0x3a3633(0x1f4)==_0x2da484||_0x3a3633(0x1c0)==_0x2da484){delete _0x1a8287[_0x16018e],_0x447215=_0x2da484,clearInterval(this[_0x3a3633(0x1cc)]),this[_0x3a3633(0x1cc)]=void 0x0;break;}}_0x3a3633(0x1cd)==_0x447215&&_0x1a8287[_0x3a3633(0x232)](_0x3a3633(0x227)),_0x3a3633(0x1eb)==_0x447215&&_0x1a8287[_0x3a3633(0x232)](_0x3a3633(0x1d7)),_0x3a3633(0x1fe)==_0x447215&&_0x1a8287[_0x3a3633(0x232)](_0x3a3633(0x187)),_0x3a3633(0x1d8)==_0x447215&&_0x1a8287[_0x3a3633(0x232)](_0x3a3633(0x1c4),_0x3a3633(0x221)),_0x3a3633(0x1a2)==_0x447215&&_0x1a8287[_0x3a3633(0x232)](_0x3a3633(0x1b8)),_0x3a3633(0x1f4)==_0x447215&&_0x1a8287[_0x3a3633(0x232)](_0x3a3633(0x20e)),_0x3a3633(0x1c0)==_0x447215&&_0x1a8287[_0x3a3633(0x232)](_0x3a3633(0x1c5));},0x3e8);}[_0xeaa8f2(0x194)](){const _0x22730c=_0xeaa8f2,_0x50757d=this[_0x22730c(0x1d1)][_0x22730c(0x191)][_0x22730c(0x21a)](_0x22730c(0x223)),_0x36b72c=this[_0x22730c(0x1d1)][_0x22730c(0x191)][_0x22730c(0x21a)](_0x22730c(0x1e5)),_0x5d175c=Array[_0x22730c(0x1e0)](_0x50757d[_0x22730c(0x18e)],_0x51a69b=>_0x51a69b[_0x22730c(0x218)])[_0x22730c(0x195)](_0x24666f=>this[_0x22730c(0x200)][_0x22730c(0x1a6)](_0x24666f)),_0x296a03=[];for(const _0x5ebc48 of _0x5d175c){const _0x54c8c0=this[_0x22730c(0x200)][_0x22730c(0x21a)](_0x5ebc48)[_0x22730c(0x226)][_0x22730c(0x1a7)]();_0x296a03[_0x22730c(0x1fd)](..._0x54c8c0[_0x22730c(0x1ec)]((_0xab0763,_0x1d3c85)=>[..._0xab0763,..._0x1d3c85[_0x22730c(0x1e2)]()],[]));}_0x36b72c[_0x22730c(0x1bc)]=_0x296a03;}[_0xeaa8f2(0x1c8)](){const _0x241572=_0xeaa8f2,_0x5da75f=this[_0x241572(0x1d1)],_0x450e3f=_0x5da75f[_0x241572(0x1db)],_0x5c1c39=_0xfa94c3(_0x450e3f,_0x241572(0x1d9)),_0x5c1b07=new _0x48edd2([{'type':_0x241572(0x1d4),'model':new _0x46c866({'withText':!0x0,'isToggleable':!0x0,'label':_0x5c1c39,'commandName':_0x241572(0x207),'role':_0x241572(0x209)})},{'type':_0x241572(0x204)},{'type':_0x241572(0x1a0),'model':new _0x46c866({'withText':!0x0,'label':_0xfa94c3(_0x450e3f,_0x241572(0x1ae)),'commandName':_0x241572(0x20a),'role':_0x241572(0x19c)})},{'type':_0x241572(0x1a0),'model':new _0x46c866({'withText':!0x0,'label':_0xfa94c3(_0x450e3f,_0x241572(0x1c7)),'commandName':_0x241572(0x22d),'role':_0x241572(0x19c)})},{'type':_0x241572(0x1a0),'model':new _0x46c866({'withText':!0x0,'label':_0xfa94c3(_0x450e3f,_0x241572(0x1a5)),'commandName':_0x241572(0x1a8),'role':_0x241572(0x19c)})},{'type':_0x241572(0x1a0),'model':new _0x46c866({'withText':!0x0,'label':_0xfa94c3(_0x450e3f,_0x241572(0x215)),'commandName':_0x241572(0x188),'role':_0x241572(0x19c)})}]);_0x5da75f[_0x241572(0x191)][_0x241572(0x1a6)](_0x241572(0x18b))&&_0x5c1b07[_0x241572(0x21e)]([{'type':_0x241572(0x204)},{'type':_0x241572(0x1a0),'model':new _0x46c866({'withText':!0x0,'label':_0xfa94c3(_0x450e3f,_0x241572(0x21d)),'commandName':_0x241572(0x1ef),'role':_0x241572(0x19c)})}]);for(const _0xd74255 of _0x5c1b07)if(ke(_0xd74255)){const _0x14acc7=_0x5da75f[_0x241572(0x1c9)][_0x241572(0x21a)](_0xd74255[_0x241572(0x226)][_0x241572(0x1ee)]);_0xd74255[_0x241572(0x226)][_0x241572(0x1ba)](_0x241572(0x231),_0x241572(0x1ac))['to'](_0x14acc7,_0x241572(0x216),_0x241572(0x1ac));}_0x5da75f['ui'][_0x241572(0x1ea)][_0x241572(0x1e6)](_0x241572(0x207),_0x277833=>this[_0x241572(0x210)](_0x277833,_0x5c1b07,_0x5c1c39)),_0x5da75f['ui'][_0x241572(0x1ea)][_0x241572(0x1e6)](_0x241572(0x1a4),_0x5c07b6=>this[_0x241572(0x214)](_0x5c07b6,_0x5c1b07,_0x5c1c39));}[_0xeaa8f2(0x210)](_0xe2e3d8,_0x5db650,_0x1f70bc){const _0x224cc9=_0xeaa8f2,_0x378e04=_0x548153(_0xe2e3d8,_0xca8c87),_0xa9b3f3=this[_0x224cc9(0x1d1)][_0x224cc9(0x1c9)][_0x224cc9(0x21a)](_0x224cc9(0x207));_0x378e04[_0x224cc9(0x208)][_0x224cc9(0x189)]({'tooltip':_0x1f70bc,'label':_0x1f70bc,'icon':_0x1a23a5}),_0x378e04[_0x224cc9(0x208)][_0x224cc9(0x1ba)](_0x224cc9(0x231))['to'](_0xa9b3f3,_0x224cc9(0x216)),_0x378e04[_0x224cc9(0x208)]['on'](_0x224cc9(0x18c),()=>{const _0x17a173=_0x224cc9;_0xa9b3f3[_0x17a173(0x18c)](),this[_0x17a173(0x1d1)][_0x17a173(0x192)][_0x17a173(0x1de)][_0x17a173(0x1f7)]();}),_0x110079(_0x378e04,_0x5db650,{'role':_0x224cc9(0x1aa)});const _0x1f0815=[];for(const _0x3a5702 of _0x5db650)ke(_0x3a5702)&&_0x1f0815[_0x224cc9(0x1fd)](this[_0x224cc9(0x1d1)][_0x224cc9(0x1c9)][_0x224cc9(0x21a)](_0x3a5702[_0x224cc9(0x226)][_0x224cc9(0x1ee)]));const _0x46c65f=_0x378e04[_0x224cc9(0x208)];return _0x46c65f[_0x224cc9(0x205)][_0x224cc9(0x1b4)](_0x224cc9(0x1ac)),_0x46c65f[_0x224cc9(0x193)][_0x224cc9(0x1b4)](_0x224cc9(0x1ac)),_0x46c65f[_0x224cc9(0x205)][_0x224cc9(0x1ba)](_0x224cc9(0x1ac))['to'](_0xa9b3f3,_0x224cc9(0x1ac)),_0x46c65f[_0x224cc9(0x193)][_0x224cc9(0x1ba)](_0x224cc9(0x1ac))[_0x224cc9(0x1bd)](_0x1f0815,_0x224cc9(0x1ac),(..._0x555e79)=>_0x555e79[_0x224cc9(0x20c)](_0x5db79f=>_0x5db79f)),_0x378e04['on'](_0x224cc9(0x18c),_0x30ceaa=>{const _0xb929e1=_0x224cc9;this[_0xb929e1(0x1d1)][_0xb929e1(0x18c)](_0x30ceaa[_0xb929e1(0x190)][_0xb929e1(0x1ee)]),this[_0xb929e1(0x1d1)][_0xb929e1(0x192)][_0xb929e1(0x1de)][_0xb929e1(0x1f7)]();}),_0x378e04;}[_0xeaa8f2(0x214)](_0x5e4ce2,_0x19b1f3,_0x4393a4){const _0x37bb13=_0xeaa8f2,_0x3639c3=new _0x18fc63(_0x5e4ce2),_0x53fc45=this[_0x37bb13(0x1d1)][_0x37bb13(0x1c9)][_0x37bb13(0x21a)](_0x37bb13(0x207));_0x3639c3[_0x37bb13(0x208)][_0x37bb13(0x189)]({'label':_0x4393a4,'icon':_0x1a23a5});const _0x4d3774=new _0x2ceb54(_0x5e4ce2);for(const _0x809fc4 of _0x19b1f3){if(_0x37bb13(0x204)==_0x809fc4[_0x37bb13(0x21c)]){_0x4d3774[_0x37bb13(0x18d)][_0x37bb13(0x1e6)](new _0x4cd861(_0x5e4ce2));continue;}const _0x63eb21=new _0x45d1dd(_0x5e4ce2,_0x3639c3),_0x4f2fc8=new _0x29e009(_0x5e4ce2),_0x369205=_0x809fc4[_0x37bb13(0x226)];_0x4f2fc8[_0x37bb13(0x1ba)](...Object[_0x37bb13(0x228)](_0x369205))['to'](_0x369205),_0x4f2fc8[_0x37bb13(0x20f)](_0x37bb13(0x18c))['to'](_0x3639c3),_0x4f2fc8['on'](_0x37bb13(0x18c),()=>{const _0x4f80df=_0x37bb13;this[_0x4f80df(0x1d1)][_0x4f80df(0x18c)](_0x369205[_0x4f80df(0x1ee)]),this[_0x4f80df(0x1d1)][_0x4f80df(0x192)][_0x4f80df(0x1de)][_0x4f80df(0x1f7)]();}),_0x63eb21[_0x37bb13(0x1bb)][_0x37bb13(0x1e6)](_0x4f2fc8),_0x4d3774[_0x37bb13(0x18d)][_0x37bb13(0x1e6)](_0x63eb21);}return _0x3639c3[_0x37bb13(0x1ba)](_0x37bb13(0x1ac))['to'](_0x53fc45,_0x37bb13(0x1ac)),_0x3639c3[_0x37bb13(0x1ed)][_0x37bb13(0x1bb)][_0x37bb13(0x1e6)](_0x4d3774),_0x3639c3;}[_0xeaa8f2(0x1d3)](_0x52eebf){const _0x1bf6ee=_0xeaa8f2,_0x4f36d0=this[_0x1bf6ee(0x1d1)],_0x5ae3ca=_0x4f36d0[_0x1bf6ee(0x1f3)],_0xf0e02=_0x4f36d0[_0x1bf6ee(0x191)][_0x1bf6ee(0x21a)](_0x1bf6ee(0x223)),_0x46a8f0=_0x4f36d0[_0x1bf6ee(0x191)][_0x1bf6ee(0x21a)](_0x1bf6ee(0x1fb)),_0x4fc852=_0x4f36d0[_0x1bf6ee(0x191)][_0x1bf6ee(0x21a)](_0x1bf6ee(0x1f6)),_0x4c834b=_0x4f36d0[_0x1bf6ee(0x191)][_0x1bf6ee(0x21a)](_0x136348)['me'],_0x1e393f=_0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x207))[_0x1bf6ee(0x234)],_0x44316f=_0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x207))[_0x1bf6ee(0x1d2)],{CommentsListView:_0xedcf78,CommentThreadInputView:_0x59758c}=_0x4f36d0[_0x1bf6ee(0x191)][_0x1bf6ee(0x21a)](_0x1bf6ee(0x1cf));let _0x53c4dc,_0x324bec,_0x5cfcfc;this[_0x1bf6ee(0x1ab)][_0x1bf6ee(0x1a6)](_0x52eebf['id'])?(_0x324bec=this[_0x1bf6ee(0x1ab)][_0x1bf6ee(0x21a)](_0x52eebf['id']),_0x53c4dc=_0x324bec[_0x1bf6ee(0x1da)]):(_0x53c4dc=new _0x1e393f(_0x4f36d0[_0x1bf6ee(0x1db)],_0x52eebf,_0x4c834b,{'disableComments':this[_0x1bf6ee(0x202)],'editorConfig':{..._0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x1f1)),'licenseKey':_0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x1c2))},'maxCommentsWhenCollapsed':_0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x1c1)),'maxThreadTotalWeight':_0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x1b3)),'maxCommentCharsWhenCollapsed':_0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x18f)),'formatDateTime':_0x54d510(_0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x1db))),'CommentView':_0x5ae3ca[_0x1bf6ee(0x21a)](_0x1bf6ee(0x185))[_0x1bf6ee(0x1e1)],'CommentsListView':_0xedcf78,'CommentThreadInputView':_0x59758c,'SuggestionView':_0x44316f}),_0x53c4dc[_0x1bf6ee(0x1b1)][_0x1bf6ee(0x1bf)]['on'](_0x1bf6ee(0x18c),()=>{const _0x279305=_0x1bf6ee;_0x4f36d0[_0x279305(0x192)][_0x279305(0x1de)][_0x279305(0x1f7)]();}),_0x53c4dc[_0x1bf6ee(0x1b1)][_0x1bf6ee(0x1dc)]['on'](_0x1bf6ee(0x18c),()=>{const _0x28d6c9=_0x1bf6ee;_0x4f36d0[_0x28d6c9(0x192)][_0x28d6c9(0x1de)][_0x28d6c9(0x1f7)]();}),_0x324bec=_0xf0e02[_0x1bf6ee(0x1b5)](this[_0x1bf6ee(0x1d1)][_0x1bf6ee(0x1db)],_0x53c4dc),_0x324bec[_0x1bf6ee(0x1ba)](_0x1bf6ee(0x219))['to'](_0x53c4dc,_0x1bf6ee(0x219)),_0x324bec[_0x1bf6ee(0x1ba)](_0x1bf6ee(0x1a3))['to'](_0x53c4dc),_0x324bec[_0x1bf6ee(0x1ba)](_0x1bf6ee(0x21c))['to'](_0x53c4dc,_0x1bf6ee(0x21c),_0x3e18a5=>_0x1bf6ee(0x1af)+_0x3e18a5),_0x53c4dc['on'](_0x1bf6ee(0x22c),()=>{const _0x3cd267=_0x1bf6ee;_0x5cfcfc[_0x3cd267(0x1d5)](_0x3cd267(0x22c));}),this[_0x1bf6ee(0x1ab)][_0x1bf6ee(0x189)](_0x52eebf['id'],_0x324bec));const _0xf286ac=_0x46a8f0[_0x1bf6ee(0x22e)](_0x52eebf[_0x1bf6ee(0x1b2)],_0x53c4dc),_0x45f443=new _0x286e2c(_0x4f36d0,_0x52eebf,_0x53c4dc,_0xf286ac),_0x24fd80=_0x52eebf[_0x1bf6ee(0x1a7)]()[_0x1bf6ee(0x195)](_0x33dbae=>_0x33dbae[_0x1bf6ee(0x1ce)]);_0x53c4dc[_0x1bf6ee(0x222)]=_0x4f36d0[_0x1bf6ee(0x191)][_0x1bf6ee(0x21a)](_0x1bf6ee(0x1e5))[_0x1bf6ee(0x213)][_0x1bf6ee(0x1f8)](_0x24fd80),this[_0x1bf6ee(0x1a1)][_0x1bf6ee(0x189)](_0x52eebf,_0x45f443),this[_0x1bf6ee(0x200)][_0x1bf6ee(0x189)](_0x53c4dc,_0x45f443),_0x5cfcfc=_0xf0e02[_0x1bf6ee(0x1b7)]({'view':_0x324bec,'target':()=>{const _0x4b29af=_0x1bf6ee,_0x2245e1=[],_0x136322=_0x52eebf[_0x4b29af(0x1a7)]()[_0x4b29af(0x195)](_0x55d334=>_0x55d334[_0x4b29af(0x1ce)]);for(const _0x2cb942 of _0x136322)_0x2245e1[_0x4b29af(0x1fd)](..._0x2cb942[_0x4b29af(0x1b9)]());return _0x5f05da(_0x4f36d0[_0x4b29af(0x192)],_0x2245e1);},'type':()=>_0x1bf6ee(0x1af)+_0x45f443[_0x1bf6ee(0x1de)][_0x1bf6ee(0x21c)]}),_0x46a8f0[_0x1bf6ee(0x19f)](_0x53c4dc,_0x5cfcfc),_0xf0e02[_0x1bf6ee(0x1e6)](_0x5cfcfc),_0x4fc852[_0x1bf6ee(0x224)](_0x5cfcfc);}[_0xeaa8f2(0x233)](_0x4755b3){const _0x539630=_0xeaa8f2,_0x5d7d75=this[_0x539630(0x1d1)][_0x539630(0x191)][_0x539630(0x21a)](_0x539630(0x1fb)),_0x445976=this[_0x539630(0x1d1)][_0x539630(0x191)][_0x539630(0x21a)](_0x539630(0x223)),_0x546dce=this[_0x539630(0x1a1)][_0x539630(0x21a)](_0x4755b3),_0x798d9d=_0x546dce[_0x539630(0x1de)],_0x1346b8=_0x445976[_0x539630(0x220)](_0x798d9d);_0x5d7d75[_0x539630(0x203)](_0x798d9d),_0x1346b8&&_0x445976[_0x539630(0x19d)](_0x1346b8),this[_0x539630(0x1a1)][_0x539630(0x230)](_0x4755b3),this[_0x539630(0x200)][_0x539630(0x230)](_0x798d9d),_0x546dce[_0x539630(0x1f9)]();}[_0xeaa8f2(0x20d)](_0x202e28){const _0xd920a=_0xeaa8f2;if(!_0x202e28[_0xd920a(0x1ce)]||!this[_0xd920a(0x1a1)][_0xd920a(0x1a6)](_0x202e28))return;const _0x47fd6a=this[_0xd920a(0x1d1)][_0xd920a(0x191)][_0xd920a(0x21a)](_0xd920a(0x1e5)),_0x307701=this[_0xd920a(0x1a1)][_0xd920a(0x21a)](_0x202e28),_0xdf8af6=_0x202e28[_0xd920a(0x1a7)]();_0x307701[_0xd920a(0x1de)][_0xd920a(0x222)]=_0x47fd6a[_0xd920a(0x213)][_0xd920a(0x1f8)](_0xdf8af6);}[_0xeaa8f2(0x1f9)](){const _0x5a24e1=_0xeaa8f2;for(const _0x5e32bb of this[_0x5a24e1(0x1a1)][_0x5a24e1(0x228)]())this[_0x5a24e1(0x233)](_0x5e32bb);for(const _0x433859 of this[_0x5a24e1(0x1ab)][_0x5a24e1(0x184)]())_0x433859[_0x5a24e1(0x1da)][_0x5a24e1(0x1f9)]();super[_0x5a24e1(0x1f9)](),this[_0x5a24e1(0x1cc)]&&clearInterval(this[_0x5a24e1(0x1cc)]);}}function ke(_0xfa20bb){const _0x45506d=_0xeaa8f2;return _0x45506d(0x226)in _0xfa20bb;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x54b6(_0x1e3589,_0x33a58e){const _0x8d6fc0=_0x8d6f();return _0x54b6=function(_0x54b64f,_0x3d7030){_0x54b64f=_0x54b64f-0x80;let _0x136fe5=_0x8d6fc0[_0x54b64f];return _0x136fe5;},_0x54b6(_0x1e3589,_0x33a58e);}const _0x2b61c5=_0x54b6;(function(_0x2a913b,_0x1ff834){const _0x1d314d=_0x54b6,_0x4feda1=_0x2a913b();while(!![]){try{const _0x5b2489=-parseInt(_0x1d314d(0x93))/0x1*(parseInt(_0x1d314d(0xa7))/0x2)+parseInt(_0x1d314d(0xaa))/0x3+parseInt(_0x1d314d(0xa9))/0x4+-parseInt(_0x1d314d(0xa0))/0x5*(-parseInt(_0x1d314d(0x97))/0x6)+-parseInt(_0x1d314d(0x89))/0x7*(parseInt(_0x1d314d(0x91))/0x8)+-parseInt(_0x1d314d(0x9d))/0x9*(-parseInt(_0x1d314d(0x84))/0xa)+-parseInt(_0x1d314d(0x8b))/0xb*(parseInt(_0x1d314d(0x9e))/0xc);if(_0x5b2489===_0x1ff834)break;else _0x4feda1['push'](_0x4feda1['shift']());}catch(_0x1a561e){_0x4feda1['push'](_0x4feda1['shift']());}}}(_0x8d6f,0xc8b6e));import{ObservableMixin as _0x377b27}from'ckeditor5/src/utils.js';import{getTranslation as _0x2f5056}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x377b27(){constructor(_0x1583af,_0x171a1f,_0x4ffca6,_0x4d34ae){const _0x521e7a=_0x54b6;super(),this[_0x521e7a(0xa2)]=_0x171a1f,this[_0x521e7a(0x8a)]=_0x4ffca6,this[_0x521e7a(0xa1)]=_0x4d34ae,this[_0x521e7a(0xa8)]=_0x1583af,this[_0x521e7a(0xa5)]=_0x1583af[_0x521e7a(0x9f)][_0x521e7a(0x99)](_0x521e7a(0x82)),this[_0x521e7a(0x85)]=_0x1583af[_0x521e7a(0x9f)][_0x521e7a(0x99)](_0x521e7a(0x90)),this[_0x521e7a(0x8a)][_0x521e7a(0x98)](_0x521e7a(0xa3))['to'](this[_0x521e7a(0xa5)],this[_0x521e7a(0x85)],(_0x531c61,_0x1d4e61)=>_0x531c61||_0x1d4e61),this[_0x521e7a(0x8a)][_0x521e7a(0x98)](_0x521e7a(0x94))['to'](this[_0x521e7a(0xa5)],_0x521e7a(0xa3),_0x4af6ff=>_0x4af6ff&&this[_0x521e7a(0xa8)][_0x521e7a(0xa2)][_0x521e7a(0x88)](_0x171a1f[_0x521e7a(0xab)]())),this[_0x521e7a(0x8a)][_0x521e7a(0x98)](_0x521e7a(0x96))['to'](this[_0x521e7a(0x85)],_0x521e7a(0xa3),_0x53bc9e=>_0x53bc9e&&this[_0x521e7a(0xa8)][_0x521e7a(0xa2)][_0x521e7a(0x88)](_0x171a1f[_0x521e7a(0xab)]())),this[_0x521e7a(0x81)]=null,_0x4ffca6[_0x521e7a(0x8d)]&&this[_0x521e7a(0x9c)](),this[_0x521e7a(0xa6)](_0x4ffca6,_0x521e7a(0x82),()=>this[_0x521e7a(0x82)]()),this[_0x521e7a(0xa6)](_0x4ffca6,_0x521e7a(0x90),()=>this[_0x521e7a(0x90)]()),this[_0x521e7a(0xa6)](_0x4ffca6,_0x521e7a(0x8c),()=>{const _0x2f26fd=_0x521e7a;_0x4ffca6[_0x2f26fd(0x8d)]?this[_0x2f26fd(0x9c)]():this[_0x2f26fd(0x86)]();});}[_0x2b61c5(0x82)](){const _0xf24180=_0x2b61c5;this[_0xf24180(0xa5)][_0xf24180(0x87)](this[_0xf24180(0xa2)]['id']);}[_0x2b61c5(0x90)](){const _0x4b01c9=_0x2b61c5;this[_0x4b01c9(0x85)][_0x4b01c9(0x87)](this[_0x4b01c9(0xa2)]['id']);}[_0x2b61c5(0x95)](){const _0xc9aa72=_0x2b61c5;this[_0xc9aa72(0x8a)][_0xc9aa72(0x8e)](_0xc9aa72(0xa3)),this[_0xc9aa72(0x8a)][_0xc9aa72(0x8e)](_0xc9aa72(0x94)),this[_0xc9aa72(0x8a)][_0xc9aa72(0x8e)](_0xc9aa72(0x96)),this[_0xc9aa72(0x80)](),this[_0xc9aa72(0xa1)][_0xc9aa72(0x95)](),this[_0xc9aa72(0x81)]&&this[_0xc9aa72(0x86)]();}[_0x2b61c5(0x9c)](){const _0x37f3cc=_0x2b61c5,_0x351529=_0x2f5056(this[_0x37f3cc(0xa8)][_0x37f3cc(0x9a)],_0x37f3cc(0x92));this[_0x37f3cc(0x81)]=this[_0x37f3cc(0xa8)][_0x37f3cc(0x83)][_0x37f3cc(0x99)](_0x37f3cc(0x9b))[_0x37f3cc(0xa4)](_0x351529);}[_0x2b61c5(0x86)](){const _0x2c3121=_0x2b61c5;null!==this[_0x2c3121(0x81)]&&this[_0x2c3121(0xa8)][_0x2c3121(0x83)][_0x2c3121(0x99)](_0x2c3121(0x9b))[_0x2c3121(0x8f)](this[_0x2c3121(0x81)]),this[_0x2c3121(0x81)]=null;}}function _0x8d6f(){const _0x106c8a=['PendingActions','_setPendingAction','9WFiSYt','2391096TkQCOn','commands','295Hphsna','commentThreadController','model','isEnabled','add','_acceptCommand','listenTo','43436vNnqQD','_editor','333844FwXXZc','4351707WuWKaE','getRanges','stopListening','_pendingAction','acceptSuggestion','plugins','5500970GTgoGI','_discardCommand','_removePendingAction','execute','canEditAt','938WiMLZg','view','77JAIioI','change:isDirty','isDirty','unbind','remove','discardSuggestion','12504wCBFAh','PENDING_ACTION_SUGGESTION','2WXhbZc','canAccept','destroy','canDiscard','39222kjEmTO','bind','get','locale'];_0x8d6f=function(){return _0x106c8a;};return _0x8d6f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x11ef(_0x58c526,_0x470713){const _0x373996=_0x3739();return _0x11ef=function(_0x11efef,_0x19def4){_0x11efef=_0x11efef-0x19e;let _0x1c140d=_0x373996[_0x11efef];return _0x1c140d;},_0x11ef(_0x58c526,_0x470713);}const _0x3d968a=_0x11ef;(function(_0x2c9598,_0x10cc96){const _0x56482a=_0x11ef,_0x2693d3=_0x2c9598();while(!![]){try{const _0x561b2a=parseInt(_0x56482a(0x1cd))/0x1*(-parseInt(_0x56482a(0x1c9))/0x2)+-parseInt(_0x56482a(0x1de))/0x3+parseInt(_0x56482a(0x1ca))/0x4*(-parseInt(_0x56482a(0x1c1))/0x5)+-parseInt(_0x56482a(0x1b1))/0x6*(-parseInt(_0x56482a(0x1b6))/0x7)+-parseInt(_0x56482a(0x1ce))/0x8*(parseInt(_0x56482a(0x1ad))/0x9)+-parseInt(_0x56482a(0x1e5))/0xa+parseInt(_0x56482a(0x1e3))/0xb;if(_0x561b2a===_0x10cc96)break;else _0x2693d3['push'](_0x2693d3['shift']());}catch(_0x3a3a7d){_0x2693d3['push'](_0x2693d3['shift']());}}}(_0x3739,0xec85f));import{FocusCycler as _0x2529a6,View as _0x1ebe68,ViewCollection as _0x3fc089}from'ckeditor5/src/ui.js';import{FocusTracker as _0x592f25,KeystrokeHandler as _0x3897f4}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x5e2518,setupThreadKeyboardNavigation as _0x5a7366}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x42f725}from'../../utils/common-translations.js';import{renderDescription as _0x5ad5d5}from'../../utils/utils.js';export default class ms extends _0x1ebe68{constructor(_0x5562ab,_0x431839,_0x322be2,_0x13f325){const _0x3f47e4=_0x11ef;super(_0x5562ab),this[_0x3f47e4(0x1c0)]=null,this[_0x3f47e4(0x1b2)]=null,this[_0x3f47e4(0x1d9)]=new _0x5e2518(_0x5562ab,_0x42f725(_0x5562ab,_0x3f47e4(0x1b9))),this[_0x3f47e4(0x1d4)](_0x3f47e4(0x1c8),!0x1),this[_0x3f47e4(0x1d4)](_0x3f47e4(0x1d7),_0x431839[_0x3f47e4(0x1d7)]),this[_0x3f47e4(0x1a9)](_0x3f47e4(0x1d7))['to'](_0x431839),this[_0x3f47e4(0x1d4)](_0x3f47e4(0x1a0),[]),this[_0x3f47e4(0x1d4)](_0x3f47e4(0x1da),!0x1),this[_0x3f47e4(0x1d4)](_0x3f47e4(0x1e1),!0x1),this[_0x3f47e4(0x1d4)](_0x3f47e4(0x1a1),!0x1),this[_0x3f47e4(0x1d4)](_0x3f47e4(0x1d8),!0x1),this[_0x3f47e4(0x1a9)](_0x3f47e4(0x1af))['to'](this,_0x3f47e4(0x1a3),_0x431839,_0x3f47e4(0x1d7),this,_0x3f47e4(0x1a0),(_0x37dc36,_0x564d38,_0x4f8b35)=>{const _0x4b940b=_0x3f47e4,_0x2a1c8c=_0x4f8b35[_0x4b940b(0x1ab)](_0x284f5b=>_0x5ad5d5(_0x284f5b[_0x4b940b(0x1a7)]))[_0x4b940b(0x1a2)]('.\x20')+'.';return _0x42f725(this[_0x4b940b(0x1aa)],_0x4b940b(0x1bb),[_0x37dc36-0x1,_0x431839[_0x4b940b(0x1b8)][_0x4b940b(0x1e4)],_0x564d38?_0x13f325[_0x4b940b(0x1db)](_0x564d38):'',new DOMParser()[_0x4b940b(0x1c5)](_0x2a1c8c,_0x4b940b(0x1d5))[_0x4b940b(0x1b5)][_0x4b940b(0x1e0)]]);}),this[_0x3f47e4(0x1a6)]=new _0x3fc089(),this[_0x3f47e4(0x1df)]=new _0x592f25(),this[_0x3f47e4(0x1d0)]=new _0x3897f4(),this[_0x3f47e4(0x1dd)]=new _0x2529a6({'focusables':this[_0x3f47e4(0x1a6)],'focusTracker':this[_0x3f47e4(0x1df)],'keystrokeHandler':this[_0x3f47e4(0x1d0)],'keystrokeHandlerOptions':{'filter':_0x589557=>_0x589557[_0x3f47e4(0x1e2)]!==this[_0x3f47e4(0x19e)]},'actions':{'focusPrevious':_0x3f47e4(0x1dc),'focusNext':_0x3f47e4(0x1e6)}}),this[_0x3f47e4(0x1d3)]=_0x431839,this[_0x3f47e4(0x1b3)]=_0x322be2,this[_0x3f47e4(0x1be)]=_0x13f325,_0x13f325[_0x3f47e4(0x1a8)]?this[_0x3f47e4(0x1d4)](_0x3f47e4(0x1a3),0x1):this[_0x3f47e4(0x1c4)]();}[_0x3d968a(0x19f)](){const _0x178cfb=_0x3d968a;super[_0x178cfb(0x19f)](),_0x5a7366(this,this[_0x178cfb(0x1a6)]);}[_0x3d968a(0x1cf)](){const _0x3d02e7=_0x3d968a;this[_0x3d02e7(0x19e)][_0x3d02e7(0x1cf)]();}[_0x3d968a(0x1b4)](){const _0x129688=_0x3d968a;this[_0x129688(0x1c0)]&&this[_0x129688(0x1c0)][_0x129688(0x1b4)](),this[_0x129688(0x1b2)]&&this[_0x129688(0x1b2)][_0x129688(0x1b4)](),super[_0x129688(0x1b4)]();}[_0x3d968a(0x1c4)](){const _0x4852ad=_0x3d968a,{CommentsListView:_0x5459a0}=this[_0x4852ad(0x1be)];this[_0x4852ad(0x1c0)]=new _0x5459a0(this[_0x4852ad(0x1aa)],this[_0x4852ad(0x1d3)][_0x4852ad(0x1cc)],Object[_0x4852ad(0x1bf)]({'CommentView':this[_0x4852ad(0x1be)][_0x4852ad(0x1bd)]},this[_0x4852ad(0x1be)])),this[_0x4852ad(0x1c0)][_0x4852ad(0x1c2)](_0x4852ad(0x1ac))['to'](this),this[_0x4852ad(0x1c0)][_0x4852ad(0x1c2)](_0x4852ad(0x1d6))['to'](this),this[_0x4852ad(0x1c0)][_0x4852ad(0x1a9)](_0x4852ad(0x1c8))['to'](this),this[_0x4852ad(0x1d4)](_0x4852ad(0x1a3),this[_0x4852ad(0x1c0)][_0x4852ad(0x1a3)]+0x1),this[_0x4852ad(0x1a9)](_0x4852ad(0x1a3))['to'](this[_0x4852ad(0x1c0)],_0x4852ad(0x1a3),_0x2e7c6a=>_0x2e7c6a+0x1),this[_0x4852ad(0x1b2)]=this[_0x4852ad(0x1e7)](),this['on'](_0x4852ad(0x1ac),()=>this[_0x4852ad(0x1cf)]()),this[_0x4852ad(0x1a9)](_0x4852ad(0x1da))['to'](this[_0x4852ad(0x1c0)],_0x4852ad(0x1a4),this[_0x4852ad(0x1b2)][_0x4852ad(0x1d1)],_0x4852ad(0x1b7),(_0x4c9066,_0x13637e)=>_0x4c9066||!!_0x13637e);}[_0x3d968a(0x1e7)](){const _0x31a36=_0x3d968a,{CommentThreadInputView:_0x4884c3}=this[_0x31a36(0x1be)],_0x553d91=new _0x4884c3(this[_0x31a36(0x1aa)],this[_0x31a36(0x1b3)],this[_0x31a36(0x1be)][_0x31a36(0x1ba)]),_0x20637b=_0x553d91[_0x31a36(0x1d1)];return _0x553d91[_0x31a36(0x1a9)](_0x31a36(0x1c7))['to'](this,_0x31a36(0x1c8),this[_0x31a36(0x1d3)][_0x31a36(0x1cc)],_0x31a36(0x1bc),_0x20637b,_0x31a36(0x1b7),(_0x2396b1,_0x1c1b2b,_0x609ae)=>!!_0x609ae||_0x2396b1&&!_0x1c1b2b),_0x20637b['on'](_0x31a36(0x1c6),(_0x462a5a,_0x421e57)=>{const _0xd8b7bf=_0x31a36;this[_0xd8b7bf(0x1d2)](_0xd8b7bf(0x1b0),_0x421e57),_0x20637b[_0xd8b7bf(0x1cb)][_0xd8b7bf(0x1ae)]('');}),_0x20637b['on'](_0x31a36(0x1a5),()=>this[_0x31a36(0x1cf)]()),_0x20637b[_0x31a36(0x1a9)](_0x31a36(0x1c3))['to'](this[_0x31a36(0x1d3)][_0x31a36(0x1cc)],_0x31a36(0x1bc)),_0x553d91;}}function _0x3739(){const _0x3ae8a9=['target','55528748XXNOOT','name','12573680elkfLH','tab','_createCommentThreadInputView','element','render','descriptionParts','canAccept','join','length','hasDirtyComment','cancel','focusables','content','disableComments','bind','locale','map','removeComment','61011JorMyP','setData','ariaLabel','addComment','6338778kZArWf','commentThreadInputView','_localUser','destroy','body','7ZdGrFH','value','author','SUGGESTION_THREAD_DESCRIPTION','editorConfig','SUGGESTION_THREAD_ARIA_LABEL','isReadOnly','CommentView','_config','assign','commentsListView','348125dtCxXU','delegate','disabledSubmit','_createCommentViews','parseFromString','submit','showInput','isActive','10XuRRid','12RCHyFN','editor','commentThread','315193gmhWsF','1632MOkFHe','focus','keystrokes','commentInputView','fire','_model','set','text/html','updateComment','authoredAt','canDiscard','ariaDescriptionView','isDirty','formatDateTime','shift+tab','focusCycler','2131824iQWIlH','focusTracker','textContent','isEnabled'];_0x3739=function(){return _0x3ae8a9;};return _0x3739();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x176e6f=_0x3741;(function(_0x1b4a6a,_0xbd4269){const _0x5c3a61=_0x3741,_0x4b9a8b=_0x1b4a6a();while(!![]){try{const _0x12424d=-parseInt(_0x5c3a61(0xa8))/0x1+parseInt(_0x5c3a61(0x90))/0x2*(parseInt(_0x5c3a61(0xaa))/0x3)+-parseInt(_0x5c3a61(0xa9))/0x4+parseInt(_0x5c3a61(0xb3))/0x5+-parseInt(_0x5c3a61(0x9c))/0x6+parseInt(_0x5c3a61(0x9e))/0x7*(-parseInt(_0x5c3a61(0xa0))/0x8)+parseInt(_0x5c3a61(0x8e))/0x9*(parseInt(_0x5c3a61(0xba))/0xa);if(_0x12424d===_0xbd4269)break;else _0x4b9a8b['push'](_0x4b9a8b['shift']());}catch(_0x3c90f4){_0x4b9a8b['push'](_0x4b9a8b['shift']());}}}(_0xa17b,0x5d86e));import{default as _0x1dc8b8}from'./basesuggestionthreadview.js';import{trimHtml as _0x401960}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3741(_0x3d9a94,_0x50d365){const _0xa17ba7=_0xa17b();return _0x3741=function(_0x374123,_0x2706d3){_0x374123=_0x374123-0x8d;let _0x490eff=_0xa17ba7[_0x374123];return _0x490eff;},_0x3741(_0x3d9a94,_0x50d365);}function _0xa17b(){const _0x4983d1=['549762ZJZXQc','1445332JYteze','3JdkcLq','render','listitem','ck-suggestion--disabled-comments','formatDateTime','getTemplate','bind','push','ck-rounded-corners','2331185lHWgDe','discardButton','suggestionView','div','commentsListView','editorDestroyed','_descriptionElement','15137030lNzmfT','focusables','canAccept','commentThreadInputView','author','_model','isActive','description','add','SuggestionView','commentThread','delegate','editorReady','9esAXmv','ck-suggestion-','633202CajOrt','canDiscard','setTemplate','ariaDescriptionView','content','isEnabled','ck-suggestion-wrapper','ck-suggestion-wrapper--active','set','<p>','disableComments','descriptionParts','1866576xjxjPh','discardSuggestion','75607rASVYh','type','512XeTfMn','color','_config','acceptSuggestion','bindTemplate','ariaLabel','acceptButton','</p>'];_0xa17b=function(){return _0x4983d1;};return _0xa17b();}import{renderDescription as _0x1d8621}from'../../utils/utils.js';export default class pe extends _0x1dc8b8{constructor(_0x483bd3,_0x4bd4c5,_0x2fc40a,_0x1a2f00){const _0xf2f14d=_0x3741;super(_0x483bd3,_0x4bd4c5,_0x2fc40a,_0x1a2f00),this[_0xf2f14d(0x98)](_0xf2f14d(0x9f),''),this[_0xf2f14d(0xb0)](_0xf2f14d(0x9f))['to'](this,_0xf2f14d(0x9b),_0x2c349e=>_0x2c349e&&_0x2c349e[0x0]?_0x2c349e[0x0][_0xf2f14d(0x9f)]:''),this[_0xf2f14d(0xb0)](_0xf2f14d(0xc1))['to'](this,_0xf2f14d(0x9b),this,_0xf2f14d(0xc0),(_0x38173b,_0x33898e)=>{const _0x31fb59=_0xf2f14d;let _0x543677='';for(const _0x40979e of _0x38173b)_0x543677+=_0x31fb59(0x99)+_0x1d8621(_0x40979e[_0x31fb59(0x94)],_0x40979e[_0x31fb59(0xa1)])+_0x31fb59(0xa7);return _0x33898e?_0x543677:_0x401960(_0x543677,{'limit':0x8c});}),this[_0xf2f14d(0xb9)]=null,this[_0xf2f14d(0xb5)]=new _0x1a2f00[(_0xf2f14d(0xc3))](_0x483bd3,_0x4bd4c5,{'formatDateTime':_0x1a2f00[_0xf2f14d(0xae)]}),this[_0xf2f14d(0xb5)][_0xf2f14d(0xb0)](_0xf2f14d(0xc1))['to'](this),this[_0xf2f14d(0xb5)][_0xf2f14d(0xc5)](_0xf2f14d(0xa3),_0xf2f14d(0x9d))['to'](this),this[_0xf2f14d(0xb5)][_0xf2f14d(0xa6)][_0xf2f14d(0xb0)](_0xf2f14d(0x95))['to'](this,_0xf2f14d(0xbc)),this[_0xf2f14d(0xb5)][_0xf2f14d(0xb4)][_0xf2f14d(0xb0)](_0xf2f14d(0x95))['to'](this,_0xf2f14d(0x91)),this[_0xf2f14d(0xbb)][_0xf2f14d(0xc2)](this[_0xf2f14d(0xb5)]),this[_0xf2f14d(0xb7)]&&this[_0xf2f14d(0xbb)][_0xf2f14d(0xc2)](this[_0xf2f14d(0xb7)]),this[_0xf2f14d(0xbd)]&&this[_0xf2f14d(0xbb)][_0xf2f14d(0xc2)](this[_0xf2f14d(0xbd)]),this[_0xf2f14d(0x92)](this[_0xf2f14d(0xaf)]());}[_0x176e6f(0xaf)](){const _0x4d074b=_0x176e6f,_0x3fc6ed=this[_0x4d074b(0xa4)],_0x383f98=[this[_0x4d074b(0xb5)]];return this[_0x4d074b(0xb7)]&&_0x383f98[_0x4d074b(0xb1)](this[_0x4d074b(0xb7)]),this[_0x4d074b(0xbd)]&&_0x383f98[_0x4d074b(0xb1)](this[_0x4d074b(0xbd)]),_0x383f98[_0x4d074b(0xb1)](this[_0x4d074b(0x93)]),{'tag':_0x4d074b(0xb6),'attributes':{'class':['ck',_0x4d074b(0xb2),_0x4d074b(0x96),_0x3fc6ed['if'](_0x4d074b(0xc0),_0x4d074b(0x97)),_0x3fc6ed['to'](_0x4d074b(0x9f),_0x20950e=>_0x4d074b(0x8f)+_0x20950e),this[_0x4d074b(0xa2)][_0x4d074b(0x9a)]&&_0x4d074b(0xad)],'data-suggestion-id':this[_0x4d074b(0xbf)]['id'],'data-thread-id':this[_0x4d074b(0xbf)][_0x4d074b(0xc4)]['id'],'data-author-id':this[_0x4d074b(0xbf)][_0x4d074b(0xbe)]['id'],'tabindex':0x0,'role':_0x4d074b(0xac),'aria-label':_0x3fc6ed['to'](_0x4d074b(0xa5)),'aria-describedby':this[_0x4d074b(0x93)]['id']},'children':_0x383f98};}[_0x176e6f(0xab)](){const _0x2c30fa=_0x176e6f;super[_0x2c30fa(0xab)](),this[_0x2c30fa(0xb7)]&&(this[_0x2c30fa(0xb7)][_0x2c30fa(0xc5)](_0x2c30fa(0x8d))['to'](this),this[_0x2c30fa(0xb7)][_0x2c30fa(0xc5)](_0x2c30fa(0xb8))['to'](this)),this[_0x2c30fa(0xbd)]&&(this[_0x2c30fa(0xbd)][_0x2c30fa(0xc5)](_0x2c30fa(0x8d))['to'](this),this[_0x2c30fa(0xbd)][_0x2c30fa(0xc5)](_0x2c30fa(0xb8))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x243c97=_0x3b31;(function(_0x572bff,_0x24f66a){const _0x508832=_0x3b31,_0x2759bb=_0x572bff();while(!![]){try{const _0x3b4a2b=parseInt(_0x508832(0xed))/0x1+parseInt(_0x508832(0xe6))/0x2*(-parseInt(_0x508832(0x105))/0x3)+parseInt(_0x508832(0xd3))/0x4*(-parseInt(_0x508832(0xf9))/0x5)+parseInt(_0x508832(0xcf))/0x6*(parseInt(_0x508832(0x112))/0x7)+-parseInt(_0x508832(0xc0))/0x8*(-parseInt(_0x508832(0xe9))/0x9)+-parseInt(_0x508832(0x115))/0xa*(-parseInt(_0x508832(0x101))/0xb)+-parseInt(_0x508832(0xf2))/0xc;if(_0x3b4a2b===_0x24f66a)break;else _0x2759bb['push'](_0x2759bb['shift']());}catch(_0x301a89){_0x2759bb['push'](_0x2759bb['shift']());}}}(_0xc80b,0x4900a));function _0x3b31(_0x4bd21b,_0x235f00){const _0xc80b3f=_0xc80b();return _0x3b31=function(_0x3b31c0,_0x567cca){_0x3b31c0=_0x3b31c0-0xbe;let _0x480438=_0xc80b3f[_0x3b31c0];return _0x480438;},_0x3b31(_0x4bd21b,_0x235f00);}import{FocusTracker as _0x3f8245,KeystrokeHandler as _0x30dc89}from'ckeditor5/src/utils.js';import{View as _0x52f2d9,ViewCollection as _0x321b24,FocusCycler as _0x252b51}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xe44f1f,UserView as _0x13523d}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x57fe88}from'ckeditor5/src/core.js';import{getTranslation as _0x256092}from'../../utils/common-translations.js';export default class fe extends _0x52f2d9{constructor(_0x4e7623,_0x57f040,_0x340379){const _0x37ec7b=_0x3b31;super(_0x4e7623),this[_0x37ec7b(0x107)]=_0x57f040,this[_0x37ec7b(0x11a)]=_0x340379,this[_0x37ec7b(0xde)](_0x37ec7b(0xd6),''),this[_0x37ec7b(0x104)](_0x37ec7b(0xfb))['to'](_0x57f040),this[_0x37ec7b(0x106)]=this[_0x37ec7b(0xd8)](_0x256092(_0x4e7623,_0x37ec7b(0xe0)),_0x57fe88[_0x37ec7b(0xf8)],_0x37ec7b(0xd9),_0x37ec7b(0xcb),'sw'),this[_0x37ec7b(0xce)]=this[_0x37ec7b(0xd8)](_0x256092(_0x4e7623,_0x37ec7b(0x108)),_0x57fe88[_0x37ec7b(0xe3)],_0x37ec7b(0xf6),_0x37ec7b(0xee),'sw'),this[_0x37ec7b(0x116)]=new _0x13523d(_0x4e7623,_0x57f040[_0x37ec7b(0xe7)],this[_0x37ec7b(0xbf)]()),this[_0x37ec7b(0x116)][_0x37ec7b(0x111)]({'attributes':{'class':[_0x37ec7b(0x10a),_0x37ec7b(0xc3)],'aria-hidden':!0x0}}),this[_0x37ec7b(0xf4)]=new _0x321b24([this[_0x37ec7b(0x106)],this[_0x37ec7b(0xce)]]),this[_0x37ec7b(0x103)]=new _0x3f8245(),this[_0x37ec7b(0xc9)]=new _0x30dc89(),this[_0x37ec7b(0xe8)]=new _0x252b51({'focusables':this[_0x37ec7b(0xf4)],'focusTracker':this[_0x37ec7b(0x103)],'keystrokeHandler':this[_0x37ec7b(0xc9)],'actions':{'focusPrevious':_0x37ec7b(0xda),'focusNext':_0x37ec7b(0xc7)},'keystrokeHandlerOptions':{'filter':_0x5caae8=>_0x5caae8[_0x37ec7b(0x110)]!==this[_0x37ec7b(0x117)]}}),this[_0x37ec7b(0xc6)](this[_0x37ec7b(0xf1)]());}[_0x243c97(0xdc)](){const _0x543129=_0x243c97;super[_0x543129(0xdc)]();const _0x259008=this[_0x543129(0x117)][_0x543129(0xca)](_0x543129(0xe1));_0x259008[_0x543129(0xf0)]=this[_0x543129(0xd6)],this['on'](_0x543129(0xfe),(_0x163831,_0x37eedc,_0x5cc8ba)=>{const _0x5d25fa=_0x543129;_0x259008[_0x5d25fa(0xf0)]=_0x5cc8ba;}),this[_0x543129(0x118)]();}[_0x243c97(0xf1)](){const _0x276118=_0x243c97,_0x1236d0=this[_0x276118(0x10c)],_0x10337a=[{'tag':_0x276118(0x113),'attributes':{'class':[_0x276118(0x109),_0x276118(0xff)]},'children':[{'tag':_0x276118(0xfa),'children':[{'text':this[_0x276118(0x116)][_0x276118(0xbe)]}],'attributes':{'class':[_0x276118(0x114),_0x276118(0xc1)],'data-cke-tooltip-text':this[_0x276118(0x116)][_0x276118(0xbe)]}},{'tag':_0x276118(0xdf),'attributes':{'datetime':_0x1236d0['to'](_0x276118(0xfb)),'class':[_0x276118(0xc8),_0x276118(0xfc)]},'children':[{'text':_0x1236d0['to'](_0x276118(0xfb),_0x198427=>this[_0x276118(0x11a)][_0x276118(0x102)](_0x198427))}]}]},{'tag':_0x276118(0x113),'attributes':{'class':[_0x276118(0xdb),_0x276118(0xef)]},'children':[this[_0x276118(0x106)],this[_0x276118(0xce)]]},{'tag':_0x276118(0x113),'attributes':{'class':[_0x276118(0xc5)]}}];return this[_0x276118(0x107)][_0x276118(0x10e)]&&_0x10337a[_0x276118(0xe4)]({'tag':_0x276118(0x113),'attributes':{'class':[_0x276118(0xf5)]},'children':[{'text':this[_0x276118(0xdd)]()}]}),{'tag':_0x276118(0x113),'attributes':{'class':[_0x276118(0xcd),_0x276118(0xfd)],'tabindex':-0x1},'children':[this[_0x276118(0x116)],{'tag':_0x276118(0x113),'attributes':{'class':[_0x276118(0xf3),_0x276118(0x10b)],'role':_0x276118(0xd5)},'children':_0x10337a}]};}[_0x243c97(0xd0)](){const _0x231756=_0x243c97;this[_0x231756(0x117)][_0x231756(0xd0)]();}[_0x243c97(0xbf)](){const _0x2be2d5=_0x243c97;return this[_0x2be2d5(0x107)][_0x2be2d5(0x10e)]?_0x2be2d5(0xf7)===this[_0x2be2d5(0x107)][_0x2be2d5(0x100)][_0x2be2d5(0xd7)][_0x2be2d5(0xcc)]?_0x256092(this[_0x2be2d5(0xd1)],_0x2be2d5(0xea),this[_0x2be2d5(0x107)][_0x2be2d5(0xc4)][_0x2be2d5(0xbe)]):_0x256092(this[_0x2be2d5(0xd1)],_0x2be2d5(0x10f),this[_0x2be2d5(0x107)][_0x2be2d5(0xc4)][_0x2be2d5(0xbe)]):null;}[_0x243c97(0xdd)](){const _0x17c2e2=_0x243c97;return _0x17c2e2(0xf7)===this[_0x17c2e2(0x107)][_0x17c2e2(0x100)][_0x17c2e2(0xd7)][_0x17c2e2(0xcc)]?_0x256092(this[_0x17c2e2(0xd1)],_0x17c2e2(0x119)):_0x256092(this[_0x17c2e2(0xd1)],_0x17c2e2(0xeb));}[_0x243c97(0xd8)](_0x21bcaa,_0x159602,_0x42f993,_0x314f0f,_0x36c6e4){const _0x1ac01e=_0x243c97,_0x11bd5a=new _0xe44f1f(this[_0x1ac01e(0xd1)]);return _0x11bd5a[_0x1ac01e(0xde)]({'label':_0x21bcaa,'icon':_0x159602,'tooltip':!0x0,'tooltipPosition':_0x36c6e4}),_0x11bd5a[_0x1ac01e(0x111)]({'attributes':{'class':_0x42f993}}),_0x11bd5a['on'](_0x1ac01e(0xd4),()=>{const _0x51bf1b=_0x1ac01e;this[_0x51bf1b(0xe2)](_0x314f0f,this[_0x51bf1b(0x107)]['id']);}),_0x11bd5a;}[_0x243c97(0x118)](){const _0x22abbd=_0x243c97,_0x51a133=this[_0x22abbd(0x117)];this[_0x22abbd(0xc9)][_0x22abbd(0xec)](_0x51a133);for(const _0xe5e9f8 of this[_0x22abbd(0xf4)])this[_0x22abbd(0x103)][_0x22abbd(0x10d)](_0xe5e9f8[_0x22abbd(0x117)]),this[_0x22abbd(0xc9)][_0x22abbd(0xec)](_0xe5e9f8[_0x22abbd(0x117)]);this[_0x22abbd(0xc9)][_0x22abbd(0xde)](_0x22abbd(0xd2),(_0x4b3287,_0xbc3fa6)=>{const _0x6b3266=_0x22abbd;_0x51a133===_0x4b3287[_0x6b3266(0x110)]&&(this[_0x6b3266(0xe8)][_0x6b3266(0xc2)](),_0xbc3fa6());}),this[_0x22abbd(0xc9)][_0x22abbd(0xde)](_0x22abbd(0xe5),(_0x1a00d4,_0x8d145e)=>{const _0x522867=_0x22abbd;_0x51a133!==_0x1a00d4[_0x522867(0x110)]&&(this[_0x522867(0xd0)](),_0x8d145e());});}}function _0xc80b(){const _0xcbd3ec=['ck-suggestion__info','ck-suggestion__user','ck-annotation__main','bindTemplate','add','isExternal','EXTERNAL_AVATAR','target','extendTemplate','252595xXOcSp','div','ck-suggestion__info-name','31600oJLvSN','userView','element','_setupKeyboardNavigation','EXTERNAL_IMPORT_WORD_SUGGESTION','_config','name','getUserViewNotificationText','8CKQknj','ck-annotation__info-name','focusFirst','ck-annotation__user','creator','ck-annotation__content-wrapper','setTemplate','tab','ck-comment__info-time','keystrokes','querySelector','acceptSuggestion','source','ck-suggestion','discardButton','42uxStVq','focus','locale','enter','1838556Lqlzrw','execute','presentation','description','@external','_createButton','ck-suggestion--accept','shift+tab','ck-suggestion__actions','render','getExternalSuggestionNote','set','time','Accept\x20suggestion','.ck-annotation__content-wrapper','fire','cancel','push','esc','8016XSAsNE','author','focusCycler','2934369YeAqgN','EXTERNAL_IMPORT_WORD_AVATAR','EXTERNAL_SUGGESTION','listenTo','438480rApPGE','discardSuggestion','ck-annotation__actions','innerHTML','getTemplate','8489796NfnKmG','ck-suggestion__main','focusables','ck-comment__external','ck-suggestion--discard','importWord','check','5oSPyVR','span','authoredAt','ck-annotation__info-time','ck-annotation','change:description','ck-annotation__info','attributes','1870lXRADC','formatDateTime','focusTracker','bind','66ViutJP','acceptButton','_model','Discard\x20suggestion'];_0xc80b=function(){return _0xcbd3ec;};return _0xc80b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x252b5d=_0xa9cb;(function(_0x269056,_0x471ad8){const _0x516f68=_0xa9cb,_0x1a77bb=_0x269056();while(!![]){try{const _0x53a4cc=parseInt(_0x516f68(0x7f))/0x1*(-parseInt(_0x516f68(0x7e))/0x2)+-parseInt(_0x516f68(0x73))/0x3+-parseInt(_0x516f68(0x85))/0x4+-parseInt(_0x516f68(0x69))/0x5+-parseInt(_0x516f68(0x71))/0x6+-parseInt(_0x516f68(0x80))/0x7*(parseInt(_0x516f68(0x6a))/0x8)+-parseInt(_0x516f68(0x6b))/0x9*(-parseInt(_0x516f68(0x74))/0xa);if(_0x53a4cc===_0x471ad8)break;else _0x1a77bb['push'](_0x1a77bb['shift']());}catch(_0x5ec4f1){_0x1a77bb['push'](_0x1a77bb['shift']());}}}(_0xca9b,0x57a23));import{View as _0x141cd5}from'ckeditor5/src/ui.js';function _0xa9cb(_0x31ca34,_0x22bcef){const _0xca9ba0=_0xca9b();return _0xa9cb=function(_0xa9cbb2,_0xdb59f1){_0xa9cbb2=_0xa9cbb2-0x68;let _0x3d340e=_0xca9ba0[_0xa9cbb2];return _0x3d340e;},_0xa9cb(_0x31ca34,_0x22bcef);}function _0xca9b(){const _0x2aeec8=['classes','data-ck-root-name','width','fire','2699665zAOVLB','24tUpmIe','1773JBOOzj','options','\x20ck-track-changes-preview__root-container','setAttribute','push','previewDataReady','1967826LkrmOQ','div','412548XDOChc','101590wMOTsU','innerHTML','focus','setTemplate','setPreviewData','content','height','createElement','ck-track-changes-preview','style','2ZGXWCA','108398ayDzoD','903147RveNkw','dialogRects','element','ck-reset','render','565980TYKrJs','className'];_0xca9b=function(){return _0x2aeec8;};return _0xca9b();}export default class Me extends _0x141cd5{constructor(_0x43ff60,_0x5449a3){const _0xd8588a=_0xa9cb;super(_0x43ff60),this[_0xd8588a(0x6c)]=_0x5449a3,this[_0xd8588a(0x77)]({'tag':_0xd8588a(0x72),'attributes':{'class':['ck',_0xd8588a(0x83),_0xd8588a(0x7c)],'tabindex':-0x1}});}[_0x252b5d(0x84)](){const _0x85baaa=_0x252b5d;super[_0x85baaa(0x84)](),this[_0x85baaa(0x82)][_0x85baaa(0x7d)][_0x85baaa(0x89)]=this[_0x85baaa(0x6c)][_0x85baaa(0x81)][_0x85baaa(0x89)]+'px',this[_0x85baaa(0x82)][_0x85baaa(0x7d)][_0x85baaa(0x7a)]=this[_0x85baaa(0x6c)][_0x85baaa(0x81)][_0x85baaa(0x7a)]+'px';}[_0x252b5d(0x78)](_0x1e60be,_0x167313){const _0x3dfad3=_0x252b5d;if(!this[_0x3dfad3(0x82)])return;const _0x14faae=[];for(const [_0x3865a8,_0x34a40b]of _0x1e60be){const _0x12a580=document[_0x3dfad3(0x7b)](_0x3dfad3(0x72));_0x12a580[_0x3dfad3(0x6e)](_0x3dfad3(0x88),_0x3865a8),_0x12a580[_0x3dfad3(0x86)]=_0x34a40b[_0x3dfad3(0x87)]+_0x3dfad3(0x6d),_0x12a580[_0x3dfad3(0x75)]=_0x34a40b[_0x3dfad3(0x79)],_0x14faae[_0x3dfad3(0x6f)](_0x12a580);}_0x167313(this[_0x3dfad3(0x82)],_0x14faae),this[_0x3dfad3(0x82)][_0x3dfad3(0x7d)][_0x3dfad3(0x7a)]='',this[_0x3dfad3(0x68)](_0x3dfad3(0x70));}[_0x252b5d(0x76)](){const _0x462ea1=_0x252b5d;this[_0x462ea1(0x82)][_0x462ea1(0x76)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x369c40,_0x1b4eaf,_0x3f2a95){const _0x53fc8f=_0x369c40['t'],t=_0x369c40['t'];switch(_0x1b4eaf){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x3f2a95);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3f2a95);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3f2a95);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3f2a95);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3f2a95);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',_0x3f2a95);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3f2a95);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x3f2a95);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3f2a95);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3f2a95);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3f2a95);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3f2a95);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3f2a95);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3f2a95);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3f2a95);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3f2a95);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3f2a95);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3f2a95);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3f2a95);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3f2a95);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3f2a95);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3f2a95);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3f2a95);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3f2a95);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3f2a95);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3f2a95);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3f2a95);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3f2a95);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3f2a95);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3f2a95);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3f2a95);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'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3f2a95);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3f2a95);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'},_0x3f2a95);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3f2a95);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 _0x53fc8f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3f2a95);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x53fc8f({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3f2a95);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3f2a95);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'},_0x3f2a95);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'},_0x3f2a95);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'},_0x3f2a95);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1b4eaf;}}
|
|
23
|
+
export function getTranslation(_0x333e2e,_0x13bf75,_0x466b58){const _0x26c6d9=_0x333e2e['t'],t=_0x333e2e['t'];switch(_0x13bf75){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x466b58);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x466b58);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x466b58);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x466b58);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x466b58);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',_0x466b58);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x466b58);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x466b58);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x466b58);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x466b58);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x466b58);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x466b58);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x466b58);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x466b58);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x466b58);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x466b58);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x466b58);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x466b58);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x466b58);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x466b58);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x466b58);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x466b58);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x466b58);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x466b58);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'},_0x466b58);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x466b58);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x466b58);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x466b58);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x466b58);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x466b58);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'},_0x466b58);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x466b58);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x466b58);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x466b58);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x466b58);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'},_0x466b58);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x466b58);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'},_0x466b58);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'},_0x466b58);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x466b58);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'},_0x466b58);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x466b58);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'},_0x466b58);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x466b58);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x466b58);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'},_0x466b58);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x466b58);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 _0x26c6d9({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x466b58);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x26c6d9({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x466b58);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x466b58);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'},_0x466b58);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'},_0x466b58);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'},_0x466b58);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x13bf75;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x43bb6e,_0x3fc940){const _0x491cac=_0x297a,_0xb79004=_0x43bb6e();while(!![]){try{const _0x511249=parseInt(_0x491cac(0x99))/0x1*(parseInt(_0x491cac(0xa0))/0x2)+parseInt(_0x491cac(0x76))/0x3*(-parseInt(_0x491cac(0x9f))/0x4)+-parseInt(_0x491cac(0x98))/0x5+parseInt(_0x491cac(0x83))/0x6*(-parseInt(_0x491cac(0x77))/0x7)+parseInt(_0x491cac(0x9d))/0x8+parseInt(_0x491cac(0x88))/0x9*(-parseInt(_0x491cac(0x8a))/0xa)+parseInt(_0x491cac(0xa1))/0xb;if(_0x511249===_0x3fc940)break;else _0xb79004['push'](_0xb79004['shift']());}catch(_0xc90fdc){_0xb79004['push'](_0xb79004['shift']());}}}(_0xc7fb,0xec186));export function normalizeDescription(_0x2b3516){const _0x1c5dc3=_0x297a;return Array[_0x1c5dc3(0x9b)](_0x2b3516)||(_0x2b3516=[_0x2b3516]),_0x2b3516[_0x1c5dc3(0x74)](_0x58dcd7=>{const _0x27a03f=_0x1c5dc3,_0x1141cf=_0x58dcd7[_0x27a03f(0x72)][_0x27a03f(0x9c)](/\*/g,''),_0x586332=_0x58dcd7[_0x27a03f(0x8c)]?_0x27a03f(0x8b)+_0x58dcd7[_0x27a03f(0x8c)][_0x27a03f(0xa5)]+']':'';return'['+_0x58dcd7[_0x27a03f(0x8d)]+']\x20'+_0x1141cf+_0x586332;})[_0x1c5dc3(0x78)](';\x20');}export function renderDescription(_0x32cd2e,_0x2d6212){const _0x5ccad4=_0x297a;let _0x3b7468='';return _0x3b7468+=_0x32cd2e[_0x5ccad4(0xa2)]('*')[_0x5ccad4(0x74)]((_0x36c378,_0x2b911b)=>_0x2b911b%0x2!=0x0?_0x5ccad4(0x80)+nn(_0x36c378)+_0x5ccad4(0x79):nn(_0x36c378))[_0x5ccad4(0x78)](''),_0x2d6212&&(_0x3b7468+=_0x5ccad4(0x7f)+_0x2d6212[_0x5ccad4(0xa5)]+_0x5ccad4(0x89)+_0x2d6212[_0x5ccad4(0x84)]+_0x5ccad4(0x90)),_0x3b7468;}function nn(_0x4e40b3){const _0x12b5f3=_0x297a,_0x524801=document[_0x12b5f3(0x7a)](_0x12b5f3(0x8e));return _0x524801[_0x12b5f3(0x86)]=_0x4e40b3,_0x524801[_0x12b5f3(0x95)];}export function sortSuggestions(_0x12e6e0){const _0x6d3cc4=_0x297a;return _0x12e6e0[_0x6d3cc4(0x7d)]((_0x4c3a4e,_0x4e129b)=>_0x6d3cc4(0xa6)==_0x4c3a4e[_0x6d3cc4(0x8d)]&&_0x6d3cc4(0xa6)!=_0x4e129b[_0x6d3cc4(0x8d)]?-0x1:_0x6d3cc4(0xa6)!=_0x4c3a4e[_0x6d3cc4(0x8d)]&&_0x6d3cc4(0xa6)==_0x4e129b[_0x6d3cc4(0x8d)]?0x1:0x0);}export function getSelectedSuggestions(_0x4d4562,_0x2a0e51){const _0x155846=_0x297a,_0x4ec391=Array[_0x155846(0x7c)](_0x4d4562[_0x155846(0x73)]()),_0x4d8a49=new Set();for(const _0x21f333 of _0x2a0e51)if(_0x21f333[_0x155846(0x87)]){for(const _0x41aeb4 of _0x4ec391)for(const _0x357d84 of _0x21f333[_0x155846(0x73)]())(_0x41aeb4[_0x155846(0x94)](_0x357d84)||_0x4d4562[_0x155846(0x70)]&&!_0x21f333[_0x155846(0x9e)]&&_0x21f333[_0x155846(0x82)]&&_0x357d84[_0x155846(0x96)][_0x155846(0x97)](_0x41aeb4[_0x155846(0x71)]))&&_0x4d8a49[_0x155846(0x8f)](_0x21f333);}return _0x4d8a49;}function _0x297a(_0x4bf59a,_0x1cbdb1){const _0xc7fb19=_0xc7fb();return _0x297a=function(_0x297ae4,_0x4c1676){_0x297ae4=_0x297ae4-0x70;let _0x227f01=_0xc7fb19[_0x297ae4];return _0x227f01;},_0x297a(_0x4bf59a,_0x1cbdb1);}export function getRangesOfBlockGroups(_0x1c6aac,_0x444fb6){const _0xe136f3=_0x297a;let _0x55ce7b,_0x379931=0x0;const _0x3b7a1c=[],_0x2dc71c=_0x444fb6[_0xe136f3(0xa3)];for(;_0x379931<_0x1c6aac[_0xe136f3(0x92)];){const _0xd07e9=_0x1c6aac[_0x379931],_0x575a61=_0x1c6aac[_0x379931+0x1];_0x55ce7b||(_0x55ce7b=_0x444fb6[_0xe136f3(0x9a)](_0xd07e9)),on(_0x444fb6,_0xd07e9,_0x575a61)||(_0x3b7a1c[_0xe136f3(0x91)](_0x444fb6[_0xe136f3(0x81)](_0x55ce7b,_0x2dc71c[_0xe136f3(0x93)](_0xd07e9)?_0x444fb6[_0xe136f3(0x7e)](_0xd07e9):_0x444fb6[_0xe136f3(0x85)](_0xd07e9,_0xe136f3(0x96)))),_0x55ce7b=null),_0x379931++;}return _0x3b7a1c;}function on(_0x5e66ed,_0x5eed13,_0x483bbb){const _0x18add0=_0x297a;if(!_0x483bbb)return!0x1;const _0xecb1e5=_0x5e66ed[_0x18add0(0x7e)](_0x5eed13),_0x45cea4=_0x5e66ed[_0x18add0(0x9a)](_0x483bbb);return _0xecb1e5[_0x18add0(0x97)](_0x45cea4);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0xc7fb(){const _0x2ea3c4=['execute','value','deletion','isCollapsed','start','content','getRanges','map','change','762ypgKfm','14dEhGHn','join','</span>','createElement','splice','from','sort','createPositionAfter','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','<span\x20class=\x22ck-suggestion-type\x22>','createRange','next','674484QCYMps','title','createPositionAt','innerText','isInContent','166626pAtUWi','\x22\x20title=\x22','430ZqgvDJ','\x20[color\x20','color','type','span','add','\x22></span>','push','length','isObject','isIntersecting','innerHTML','end','isTouching','1832425ABUYlE','1cAYvlH','createPositionBefore','isArray','replace','10834000WFQUur','isMultiRange','11216yQBOnE','3414082aZHtTF','59246AnEAWX','split','schema'];_0xc7fb=function(){return _0x2ea3c4;};return _0xc7fb();}export function executeCommandForSuggestions(_0x595530,_0x3e4a49,_0x362bb7){const _0x423c65=_0x297a;for(;_0x362bb7[_0x423c65(0x92)];){const _0x25dd38=_0x362bb7[_0x423c65(0x7b)](0x0,0x64);_0x595530[_0x423c65(0x75)](()=>{const _0x4b1978=_0x423c65;for(const _0x187ea2 of _0x25dd38)_0x187ea2[_0x4b1978(0x87)]&&_0x3e4a49[_0x4b1978(0xa4)](_0x187ea2['id']);});}}
|