@ckeditor/ckeditor5-track-changes 44.2.0-alpha.7 → 44.2.0-alpha.9
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/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 _0x1d8e9f=_0x1df2;function _0x1df2(_0x3535bb,_0x27a74e){const _0x17ad12=_0x17ad();return _0x1df2=function(_0x1df2f1,_0x1cc698){_0x1df2f1=_0x1df2f1-0xd2;let _0x5eef0b=_0x17ad12[_0x1df2f1];return _0x5eef0b;},_0x1df2(_0x3535bb,_0x27a74e);}(function(_0x65152a,_0x4e2b41){const _0x594a4e=_0x1df2,_0x578687=_0x65152a();while(!![]){try{const _0x34142d=parseInt(_0x594a4e(0xda))/0x1*(-parseInt(_0x594a4e(0xd6))/0x2)+-parseInt(_0x594a4e(0xd8))/0x3*(-parseInt(_0x594a4e(0xe2))/0x4)+parseInt(_0x594a4e(0xe1))/0x5+-parseInt(_0x594a4e(0xe6))/0x6*(parseInt(_0x594a4e(0xd3))/0x7)+-parseInt(_0x594a4e(0xdf))/0x8+parseInt(_0x594a4e(0xd5))/0x9+-parseInt(_0x594a4e(0xe5))/0xa;if(_0x34142d===_0x4e2b41)break;else _0x578687['push'](_0x578687['shift']());}catch(_0xd4f9ac){_0x578687['push'](_0x578687['shift']());}}}(_0x17ad,0x391f0));import{Plugin as _0x4b6b98}from'ckeditor5/src/core.js';import{Dialog as _0x11bbd3}from'ckeditor5/src/ui.js';function _0x17ad(){const _0x10ae5f=['appendChild','config','define','2794024tHZeBv','isPremiumPlugin','2199840BAPQQz','9600ejyFnZ','TrackChangesPreview','requires','2110710VWOjIE','12GCJbma','trackChanges.preview.renderFunction','commands','add','242557oiwDSb','editor','3703347Xfqcfz','2CMwccG','previewFinalContent','222JjgzlL','pluginName','165457MKUNJa','isOfficialPlugin'];_0x17ad=function(){return _0x10ae5f;};return _0x17ad();}import _0x909c13 from'./trackchangesdata.js';import _0x55c74a from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export default class te extends _0x4b6b98{static get[_0x1d8e9f(0xe4)](){return[_0x909c13,_0x11bbd3];}static get[_0x1d8e9f(0xd9)](){const _0x24bb97=_0x1d8e9f;return _0x24bb97(0xe3);}static get[_0x1d8e9f(0xdb)](){return!0x0;}static get[_0x1d8e9f(0xe0)](){return!0x0;}constructor(_0x37e30d){const _0x34205c=_0x1d8e9f;super(_0x37e30d),_0x37e30d[_0x34205c(0xe8)][_0x34205c(0xd2)](_0x34205c(0xd7),new _0x55c74a(this[_0x34205c(0xd4)])),_0x37e30d[_0x34205c(0xdd)][_0x34205c(0xde)](_0x34205c(0xe7),(_0x29e9a7,_0x305a98)=>{const _0x14f080=_0x34205c;for(const _0x365c3 of _0x305a98)_0x29e9a7[_0x14f080(0xdc)](_0x365c3);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5a4453=_0x3c5e;(function(_0x159758,_0x577d1f){const _0x544764=_0x3c5e,_0x3db9f5=_0x159758();while(!![]){try{const _0x2d4a56=-parseInt(_0x544764(0x152))/0x1*(-parseInt(_0x544764(0x111))/0x2)+-parseInt(_0x544764(0xd9))/0x3+-parseInt(_0x544764(0x163))/0x4+-parseInt(_0x544764(0xf1))/0x5*(-parseInt(_0x544764(0xb8))/0x6)+parseInt(_0x544764(0xdd))/0x7+parseInt(_0x544764(0x154))/0x8*(-parseInt(_0x544764(0xe6))/0x9)+parseInt(_0x544764(0xcb))/0xa;if(_0x2d4a56===_0x577d1f)break;else _0x3db9f5['push'](_0x3db9f5['shift']());}catch(_0x393622){_0x3db9f5['push'](_0x3db9f5['shift']());}}}(_0x2152,0x3bc2d));import{Plugin as _0xc93fbf}from'ckeditor5/src/core.js';import{Collection as _0x8ada42}from'ckeditor5/src/utils.js';function _0x3c5e(_0x55671d,_0x259f9f){const _0x21527f=_0x2152();return _0x3c5e=function(_0x3c5eef,_0x25d691){_0x3c5eef=_0x3c5eef-0xb5;let _0x36528=_0x21527f[_0x3c5eef];return _0x36528;},_0x3c5e(_0x55671d,_0x259f9f);}import{addListToDropdown as _0x586142,createDropdown as _0x168a89,ListSeparatorView as _0x3c6794,MenuBarMenuView as _0x2e7745,MenuBarMenuListView as _0x21debf,MenuBarMenuListItemView as _0x525319,MenuBarMenuListItemButtonView as _0x44b122,SplitButtonView as _0xa1846f,ViewModel as _0xe3e435}from'ckeditor5/src/ui.js';import{Users as _0x23b43b,getDateTimeFormatter as _0x1c4687,getAllMarkersDomElementsSorted as _0x24bb6f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x84f590 from'./trackchangesediting.js';import _0x3da008 from'./ui/suggestioncontroller.js';import _0xf7ff67 from'./ui/view/suggestionthreadview.js';import _0x3baa7b from'./ui/view/suggestionview.js';import{getTranslation as _0x4a62c0}from'./utils/common-translations.js';import _0x2195f7 from'../theme/icons/track-changes.svg';function _0x2152(){const _0x4fac15=['init','trackChangesLicenseKeyTrialLimit','addMany','suggestionChanged','listenTo','_showLicenseError','SuggestionThreadView','hasSuggestion','featureNotAllowed','trackChanges.disableComments','5acbASK','menuBar:trackChanges','CommentView','size','mainView','addSourceCollector','panelView','commentThread','trackChangesLicenseKeyExpired','_annotationViews','execute','suggestionUnloaded','Discard\x20all\x20suggestions','invalid','bind','escape','getMarkerNames','set','_handleControllerBuffer','change:previous','_updateController','previewFinalContent','componentFactory','SuggestionView','isOfficialPlugin','trackChanges.SuggestionView','getByInnerView','TrackChanges','isOn','getSuggestion','isDirty','comments','632ZBIjBF','comments.maxCommentsWhenCollapsed','comments.editorConfig','suggestion-','suggestionView','config','pluginName','length','_addUIComponentsToFactory','filter','editing','EditorAnnotations','createCommentThreadController','view','trackChangesLicenseKeyInvalid','_licenseKeyCheckInterval','Accept\x20all\x20suggestions','add','_viewToController','has','_suggestionToController','actionView','domainLimit','getJoined','destroy','locale','suggestionLoaded','unbind','source','expired','acceptButton','getAllAdjacentSuggestions','createAnnotationView','previous','_destroyController','toMany','Track\x20changes','isPremiumPlugin','button','some','commentsListView','trackChanges.SuggestionThreadView','value','delegate','menuitemcheckbox','trackChangesLicenseKeyUsageLimit','clear','arrowView','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','isMultiRange','addComment','_createMenuBarMenu','refreshSelectedViews','commands','trialLimit','trackChangesLicenseKeyValid','discardButton','CommentsUI','editor','values','Preview\x20final\x20content','trackChangesLicenseKeyDomainLimit','isEnabled','requires','103mWHdqN','separator','510824nVKABm','define','TrackChangesPreview','descriptionFactory','activeMarkers','TrackChangesEditing','_handleSuggestionControllerDelayed','delete','trackChangesLicenseKeyEvaluationLimit','getMarkers','discardAllSuggestions','trackChanges','menu','getRanges','discardSelectedSuggestions','1523476cwtYcd','get','head','trackChangesLicenseKeyNotAllowed','buttonView','1991706jyFyLY','_initializeController','Discard\x20all\x20selected\x20suggestions','commandName','evaluationLimit','plugins','usageLimit','remove','createAnnotation','items','_disableComments','_unbindEditors','getFirstRange','model','TrackChangesUI','switchbutton','fire','CommentsRepository','activeAnnotations','2212660jAEStu','_createToolbarButton','Annotations','keys','change:activeAnnotations','registerAnnotation','stopListening','descriptionParts','menuitem','acceptAllSuggestions','_bindAnnotationToEditors','lowest','acceptSelectedSuggestions','licenseKey','956934vioQdD','from','push','comments.maxThreadTotalWeight','3405983llFdIu','isInContent','children','Accept\x20all\x20selected\x20suggestions','focus','getDescriptions','innerView','type','reduce','18jbbsqW'];_0x2152=function(){return _0x4fac15;};return _0x2152();}export default class d extends _0xc93fbf{static get[_0x5a4453(0x151)](){const _0x5c5c41=_0x5a4453;return[_0x84f590,_0x23b43b,_0x5c5c41(0xc9),_0x5c5c41(0xcd),_0x5c5c41(0x11c)];}static get[_0x5a4453(0x117)](){const _0x5da942=_0x5a4453;return _0x5da942(0xc6);}static get[_0x5a4453(0x109)](){return!0x0;}static get[_0x5a4453(0x136)](){return!0x0;}constructor(_0x1e8d2f){const _0x2e29d7=_0x5a4453;super(_0x1e8d2f),this[_0x2e29d7(0x125)]=new Map(),this[_0x2e29d7(0x123)]=new Map(),this[_0x2e29d7(0xfa)]=new Map(),this[_0x2e29d7(0x103)]=new Map();const _0x192a70=this[_0x2e29d7(0x14c)][_0x2e29d7(0x116)];_0x192a70[_0x2e29d7(0x155)](_0x2e29d7(0x13a),_0xf7ff67),_0x192a70[_0x2e29d7(0x155)](_0x2e29d7(0x10a),_0x3baa7b),_0x192a70[_0x2e29d7(0x155)](_0x2e29d7(0xf0),!0x1),this[_0x2e29d7(0xc2)]=_0x192a70[_0x2e29d7(0x164)](_0x2e29d7(0xf0));}[_0x5a4453(0x15a)](_0x334771,_0x2752de){const _0x45e5fb=_0x5a4453;0x0===this[_0x45e5fb(0x103)][_0x45e5fb(0xf4)]&&setTimeout(()=>{const _0xb065f0=_0x45e5fb;for(const [_0x1060e1,_0x366086]of this[_0xb065f0(0x103)]){const _0x3c4c3d=this[_0xb065f0(0x125)][_0xb065f0(0x124)](_0x1060e1);_0x3c4c3d||_0x366086?_0x3c4c3d&&_0x366086&&this[_0xb065f0(0x133)](_0x1060e1):this[_0xb065f0(0xb9)](_0x1060e1);}this[_0xb065f0(0x103)][_0xb065f0(0x13f)](),this[_0xb065f0(0x14c)][_0xb065f0(0xbd)][_0xb065f0(0x164)](_0xb065f0(0x11c))[_0xb065f0(0x146)](),this[_0xb065f0(0x141)]();},0xa),this[_0x45e5fb(0x103)][_0x45e5fb(0x102)](_0x334771,_0x2752de);}[_0x5a4453(0xe7)](){const _0x3e75b1=_0x5a4453,_0x1fb9ea=this[_0x3e75b1(0x14c)],_0xb9acf1=_0x1fb9ea[_0x3e75b1(0xbd)][_0x3e75b1(0x164)](_0x3e75b1(0x159)),_0x47a33b=_0x1fb9ea[_0x3e75b1(0xbd)][_0x3e75b1(0x164)](_0x3e75b1(0xcd)),_0x14a440=_0x1fb9ea[_0x3e75b1(0xbd)][_0x3e75b1(0x164)](_0x3e75b1(0x11c)),_0x58fb44=_0x1fb9ea[_0x3e75b1(0xbd)][_0x3e75b1(0x164)](_0x3e75b1(0xc9));this[_0x3e75b1(0x119)](),_0x14a440[_0x3e75b1(0xf6)](()=>{const _0x363565=_0x3e75b1,_0x5f262d=[];for(const [_0x56dcdc,_0x204dfd]of Array[_0x363565(0xda)](this[_0x363565(0x125)])){const _0x460fce=_0x56dcdc[_0x363565(0x130)](),_0x37ddec=[];for(const _0x1d057d of _0x460fce){if(!_0x1d057d[_0x363565(0xde)])continue;if(_0x1d057d[_0x363565(0x143)]){_0x37ddec[_0x363565(0xdb)](..._0x1d057d[_0x363565(0x161)]());continue;}const _0x49e224=_0x1d057d[_0x363565(0xc4)]();if(_0x37ddec[_0x363565(0x118)]>0x0){const _0x127059=_0x37ddec[0x0][_0x363565(0x128)](_0x49e224);if(_0x127059){_0x37ddec[0x0]=_0x127059;continue;}}_0x37ddec[_0x363565(0xdb)](_0x49e224);}_0x5f262d[_0x363565(0xdb)]([_0x204dfd[_0x363565(0x11e)],_0x37ddec]);}return _0x5f262d;}),this[_0x3e75b1(0xeb)](_0xb9acf1,_0x3e75b1(0x12b),(_0x332345,_0x132cad)=>{const _0x1ed907=_0x3e75b1;this[_0x1ed907(0xeb)](_0x132cad,_0x1ed907(0x104),(_0x465d9d,_0x1d4278,_0x1f413d,_0x57cde6)=>{const _0x4e8f20=_0x1ed907;_0x132cad[_0x4e8f20(0xde)]&&(null==_0x1f413d?(this[_0x4e8f20(0x105)](_0x57cde6[_0x4e8f20(0xb5)]),this[_0x4e8f20(0x15a)](_0x132cad,!0x1)):(this[_0x4e8f20(0x105)](_0x1f413d[_0x4e8f20(0xb5)]),null==_0x57cde6&&this[_0x4e8f20(0x15a)](_0x132cad,!0x0)));}),null!==_0x132cad[_0x1ed907(0x132)]?this[_0x1ed907(0x105)](_0x132cad[_0x1ed907(0xb5)]):this[_0x1ed907(0x15a)](_0x132cad,!0x1);}),this[_0x3e75b1(0xeb)](_0xb9acf1,_0x3e75b1(0xfc),(_0x548a11,_0x9ce69e,_0x1c25ce)=>{const _0x27dc8e=_0x3e75b1;this[_0x27dc8e(0xd1)](_0x9ce69e,_0x27dc8e(0x104)),this[_0x27dc8e(0x103)][_0x27dc8e(0x15b)](_0x9ce69e),this[_0x27dc8e(0x125)][_0x27dc8e(0x124)](_0x9ce69e)&&this[_0x27dc8e(0x133)](_0x9ce69e),_0x1c25ce&&this[_0x27dc8e(0x105)](_0x1c25ce[_0x27dc8e(0xb5)]);}),this[_0x3e75b1(0xeb)](_0xb9acf1,_0x3e75b1(0xea),(_0x275052,_0x3453d2)=>{const _0x53c247=_0x3e75b1;this[_0x53c247(0x105)](_0x3453d2);}),this[_0x3e75b1(0xeb)](_0x47a33b,_0x3e75b1(0xcf),()=>{const _0x15ce75=_0x3e75b1;this[_0x15ce75(0x141)]();}),this[_0x3e75b1(0xeb)](_0x58fb44,_0x3e75b1(0x144),(_0x1983e6,{threadId:_0x4055cb,isFromAdapter:_0x41093e})=>{const _0x1413dd=_0x3e75b1;if(_0x41093e||!_0xb9acf1[_0x1413dd(0xee)](_0x4055cb))return;const _0x4ed80a=_0xb9acf1[_0x1413dd(0x10e)](_0x4055cb);this[_0x1413dd(0x125)][_0x1413dd(0x164)](_0x4ed80a)[_0x1413dd(0x11e)][_0x1413dd(0x139)][_0x1413dd(0xe1)](-0x1);},{'priority':_0x3e75b1(0xd6)}),this[_0x3e75b1(0xd8)]=this[_0x3e75b1(0x14c)][_0x3e75b1(0x116)][_0x3e75b1(0x164)](_0x3e75b1(0xd8));const _0x108a9d=this[_0x3e75b1(0x14c)];this[_0x3e75b1(0x120)]=setInterval(()=>{const _0x534c93=_0x3e75b1;let _0x2bfcc8;for(const _0x14ab62 in _0x108a9d){const _0x28444e=_0x14ab62,_0x31d0ca=_0x108a9d[_0x28444e];if(_0x534c93(0x149)==_0x31d0ca||_0x534c93(0x11f)==_0x31d0ca||_0x534c93(0xf9)==_0x31d0ca||_0x534c93(0x14f)==_0x31d0ca||_0x534c93(0xb6)==_0x31d0ca||_0x534c93(0x15c)==_0x31d0ca||_0x534c93(0xe8)==_0x31d0ca||_0x534c93(0x13e)==_0x31d0ca){delete _0x108a9d[_0x28444e],_0x2bfcc8=_0x31d0ca,clearInterval(this[_0x534c93(0x120)]),this[_0x534c93(0x120)]=void 0x0;break;}}_0x534c93(0x11f)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0xfe)),_0x534c93(0xf9)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0x12e)),_0x534c93(0x14f)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0x127)),_0x534c93(0xb6)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0xef),_0x534c93(0x10c)),_0x534c93(0x15c)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0xbc)),_0x534c93(0xe8)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0x148)),_0x534c93(0x13e)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0xbe));},0x3e8);}[_0x5a4453(0x141)](){const _0x1de511=_0x5a4453,_0x425c05=this[_0x1de511(0x14c)][_0x1de511(0xbd)][_0x1de511(0x164)](_0x1de511(0xcd)),_0x335f16=this[_0x1de511(0x14c)][_0x1de511(0xbd)][_0x1de511(0x164)](_0x1de511(0x159)),_0x22d33e=Array[_0x1de511(0xda)](_0x425c05[_0x1de511(0xca)],_0x578303=>_0x578303[_0x1de511(0xe3)])[_0x1de511(0x11a)](_0x4f401f=>this[_0x1de511(0x123)][_0x1de511(0x124)](_0x4f401f)),_0x48e7b2=[];for(const _0x1dd120 of _0x22d33e){const _0x52639e=this[_0x1de511(0x123)][_0x1de511(0x164)](_0x1dd120)[_0x1de511(0xc5)][_0x1de511(0x130)]();_0x48e7b2[_0x1de511(0xdb)](..._0x52639e[_0x1de511(0xe5)]((_0x1cc06d,_0x92ac57)=>[..._0x1cc06d,..._0x92ac57[_0x1de511(0x101)]()],[]));}_0x335f16[_0x1de511(0x158)]=_0x48e7b2;}[_0x5a4453(0x119)](){const _0x2701e4=_0x5a4453,_0x5ca217=this[_0x2701e4(0x14c)],_0x1dd1dd=_0x5ca217[_0x2701e4(0x12a)],_0x507bb7=_0x4a62c0(_0x1dd1dd,_0x2701e4(0x135)),_0x12b997=new _0x8ada42([{'type':_0x2701e4(0xc7),'model':new _0xe3e435({'withText':!0x0,'isToggleable':!0x0,'label':_0x507bb7,'commandName':_0x2701e4(0x15f),'role':_0x2701e4(0x13d)})},{'type':_0x2701e4(0x153)},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0x121)),'commandName':_0x2701e4(0xd4),'role':_0x2701e4(0xd3)})},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0xe0)),'commandName':_0x2701e4(0xd7),'role':_0x2701e4(0xd3)})},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0xfd)),'commandName':_0x2701e4(0x15e),'role':_0x2701e4(0xd3)})},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0xba)),'commandName':_0x2701e4(0x162),'role':_0x2701e4(0xd3)})}]);_0x5ca217[_0x2701e4(0xbd)][_0x2701e4(0x124)](_0x2701e4(0x156))&&_0x12b997[_0x2701e4(0xe9)]([{'type':_0x2701e4(0x153)},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0x14e)),'commandName':_0x2701e4(0x106),'role':_0x2701e4(0xd3)})}]);for(const _0x55f149 of _0x12b997)if(ke(_0x55f149)){const _0x4cc74e=_0x5ca217[_0x2701e4(0x147)][_0x2701e4(0x164)](_0x55f149[_0x2701e4(0xc5)][_0x2701e4(0xbb)]);_0x55f149[_0x2701e4(0xc5)][_0x2701e4(0xff)](_0x2701e4(0x10d),_0x2701e4(0x150))['to'](_0x4cc74e,_0x2701e4(0x13b),_0x2701e4(0x150));}_0x5ca217['ui'][_0x2701e4(0x107)][_0x2701e4(0x122)](_0x2701e4(0x15f),_0x4cd55c=>this[_0x2701e4(0xcc)](_0x4cd55c,_0x12b997,_0x507bb7)),_0x5ca217['ui'][_0x2701e4(0x107)][_0x2701e4(0x122)](_0x2701e4(0xf2),_0xbc0ba8=>this[_0x2701e4(0x145)](_0xbc0ba8,_0x12b997,_0x507bb7));}[_0x5a4453(0xcc)](_0x306b2c,_0xf902f1,_0x326cab){const _0x3ef5fc=_0x5a4453,_0x5b5095=_0x168a89(_0x306b2c,_0xa1846f),_0x2211fe=this[_0x3ef5fc(0x14c)][_0x3ef5fc(0x147)][_0x3ef5fc(0x164)](_0x3ef5fc(0x15f));_0x5b5095[_0x3ef5fc(0xb7)][_0x3ef5fc(0x102)]({'tooltip':_0x326cab,'label':_0x326cab,'icon':_0x2195f7}),_0x5b5095[_0x3ef5fc(0xb7)][_0x3ef5fc(0xff)](_0x3ef5fc(0x10d))['to'](_0x2211fe,_0x3ef5fc(0x13b)),_0x5b5095[_0x3ef5fc(0xb7)]['on'](_0x3ef5fc(0xfb),()=>{const _0x399f8b=_0x3ef5fc;_0x2211fe[_0x399f8b(0xfb)](),this[_0x399f8b(0x14c)][_0x399f8b(0x11b)][_0x399f8b(0x11e)][_0x399f8b(0xe1)]();}),_0x586142(_0x5b5095,_0xf902f1,{'role':_0x3ef5fc(0x160)});const _0x244e5e=[];for(const _0x2fccef of _0xf902f1)ke(_0x2fccef)&&_0x244e5e[_0x3ef5fc(0xdb)](this[_0x3ef5fc(0x14c)][_0x3ef5fc(0x147)][_0x3ef5fc(0x164)](_0x2fccef[_0x3ef5fc(0xc5)][_0x3ef5fc(0xbb)]));const _0x3a4cd4=_0x5b5095[_0x3ef5fc(0xb7)];return _0x3a4cd4[_0x3ef5fc(0x126)][_0x3ef5fc(0x12c)](_0x3ef5fc(0x150)),_0x3a4cd4[_0x3ef5fc(0x140)][_0x3ef5fc(0x12c)](_0x3ef5fc(0x150)),_0x3a4cd4[_0x3ef5fc(0x126)][_0x3ef5fc(0xff)](_0x3ef5fc(0x150))['to'](_0x2211fe,_0x3ef5fc(0x150)),_0x3a4cd4[_0x3ef5fc(0x140)][_0x3ef5fc(0xff)](_0x3ef5fc(0x150))[_0x3ef5fc(0x134)](_0x244e5e,_0x3ef5fc(0x150),(..._0x268516)=>_0x268516[_0x3ef5fc(0x138)](_0xcebbd9=>_0xcebbd9)),_0x5b5095['on'](_0x3ef5fc(0xfb),_0x32a63c=>{const _0x5299f2=_0x3ef5fc;this[_0x5299f2(0x14c)][_0x5299f2(0xfb)](_0x32a63c[_0x5299f2(0x12d)][_0x5299f2(0xbb)]),this[_0x5299f2(0x14c)][_0x5299f2(0x11b)][_0x5299f2(0x11e)][_0x5299f2(0xe1)]();}),_0x5b5095;}[_0x5a4453(0x145)](_0x3562ba,_0x5b5507,_0x10c19c){const _0x28a3fa=_0x5a4453,_0x25df94=new _0x2e7745(_0x3562ba),_0x1cdd84=this[_0x28a3fa(0x14c)][_0x28a3fa(0x147)][_0x28a3fa(0x164)](_0x28a3fa(0x15f));_0x25df94[_0x28a3fa(0xb7)][_0x28a3fa(0x102)]({'label':_0x10c19c,'icon':_0x2195f7});const _0x218084=new _0x21debf(_0x3562ba);for(const _0x1bc4a7 of _0x5b5507){if(_0x28a3fa(0x153)==_0x1bc4a7[_0x28a3fa(0xe4)]){_0x218084[_0x28a3fa(0xc1)][_0x28a3fa(0x122)](new _0x3c6794(_0x3562ba));continue;}const _0x34501b=new _0x525319(_0x3562ba,_0x25df94),_0x3e263c=new _0x44b122(_0x3562ba),_0x565a96=_0x1bc4a7[_0x28a3fa(0xc5)];_0x3e263c[_0x28a3fa(0xff)](...Object[_0x28a3fa(0xce)](_0x565a96))['to'](_0x565a96),_0x3e263c[_0x28a3fa(0x13c)](_0x28a3fa(0xfb))['to'](_0x25df94),_0x3e263c['on'](_0x28a3fa(0xfb),()=>{const _0xd7b8ac=_0x28a3fa;this[_0xd7b8ac(0x14c)][_0xd7b8ac(0xfb)](_0x565a96[_0xd7b8ac(0xbb)]),this[_0xd7b8ac(0x14c)][_0xd7b8ac(0x11b)][_0xd7b8ac(0x11e)][_0xd7b8ac(0xe1)]();}),_0x34501b[_0x28a3fa(0xdf)][_0x28a3fa(0x122)](_0x3e263c),_0x218084[_0x28a3fa(0xc1)][_0x28a3fa(0x122)](_0x34501b);}return _0x25df94[_0x28a3fa(0xff)](_0x28a3fa(0x150))['to'](_0x1cdd84,_0x28a3fa(0x150)),_0x25df94[_0x28a3fa(0xf7)][_0x28a3fa(0xdf)][_0x28a3fa(0x122)](_0x218084),_0x25df94;}[_0x5a4453(0xb9)](_0x35448b){const _0x3f0299=_0x5a4453,_0x1a0936=this[_0x3f0299(0x14c)],_0x3e1bc6=_0x1a0936[_0x3f0299(0x116)],_0x22f4ba=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0xcd)),_0x34a006=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0xc9)),_0x187628=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0x11c)),_0x106b26=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x23b43b)['me'],_0x2663af=_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x15f))[_0x3f0299(0xed)],_0x15c594=_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x15f))[_0x3f0299(0x108)],{CommentsListView:_0x5d1de9,CommentThreadInputView:_0xab814}=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0x14b));let _0x423556,_0x19271c,_0x454d65;this[_0x3f0299(0xfa)][_0x3f0299(0x124)](_0x35448b['id'])?(_0x19271c=this[_0x3f0299(0xfa)][_0x3f0299(0x164)](_0x35448b['id']),_0x423556=_0x19271c[_0x3f0299(0xf5)]):(_0x423556=new _0x2663af(_0x1a0936[_0x3f0299(0x12a)],_0x35448b,_0x106b26,{'disableComments':this[_0x3f0299(0xc2)],'editorConfig':{..._0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x113)),'licenseKey':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0xd8))},'maxCommentsWhenCollapsed':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x112)),'maxThreadTotalWeight':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0xdc)),'maxCommentCharsWhenCollapsed':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x142)),'formatDateTime':_0x1c4687(_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x12a))),'CommentView':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x110))[_0x3f0299(0xf3)],'CommentsListView':_0x5d1de9,'CommentThreadInputView':_0xab814,'SuggestionView':_0x15c594}),_0x423556[_0x3f0299(0x115)][_0x3f0299(0x12f)]['on'](_0x3f0299(0xfb),()=>{const _0x4e11cb=_0x3f0299;_0x1a0936[_0x4e11cb(0x11b)][_0x4e11cb(0x11e)][_0x4e11cb(0xe1)]();}),_0x423556[_0x3f0299(0x115)][_0x3f0299(0x14a)]['on'](_0x3f0299(0xfb),()=>{const _0x540736=_0x3f0299;_0x1a0936[_0x540736(0x11b)][_0x540736(0x11e)][_0x540736(0xe1)]();}),_0x19271c=_0x22f4ba[_0x3f0299(0x131)](this[_0x3f0299(0x14c)][_0x3f0299(0x12a)],_0x423556),_0x19271c[_0x3f0299(0xff)](_0x3f0299(0x10f))['to'](_0x423556,_0x3f0299(0x10f)),_0x19271c[_0x3f0299(0xff)](_0x3f0299(0x118))['to'](_0x423556),_0x19271c[_0x3f0299(0xff)](_0x3f0299(0xe4))['to'](_0x423556,_0x3f0299(0xe4),_0x551dc5=>_0x3f0299(0x114)+_0x551dc5),_0x423556['on'](_0x3f0299(0x100),()=>{const _0xa3f423=_0x3f0299;_0x454d65[_0xa3f423(0xc8)](_0xa3f423(0x100));}),this[_0x3f0299(0xfa)][_0x3f0299(0x102)](_0x35448b['id'],_0x19271c));const _0x356bab=_0x34a006[_0x3f0299(0x11d)](_0x35448b[_0x3f0299(0xf8)],_0x423556),_0x25c1e2=new _0x3da008(_0x1a0936,_0x35448b,_0x423556,_0x356bab),_0x5a590a=_0x35448b[_0x3f0299(0x130)]()[_0x3f0299(0x11a)](_0x5acfd7=>_0x5acfd7[_0x3f0299(0xde)]);_0x423556[_0x3f0299(0xd2)]=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0x159))[_0x3f0299(0x157)][_0x3f0299(0xe2)](_0x5a590a),this[_0x3f0299(0x125)][_0x3f0299(0x102)](_0x35448b,_0x25c1e2),this[_0x3f0299(0x123)][_0x3f0299(0x102)](_0x423556,_0x25c1e2),_0x454d65=_0x22f4ba[_0x3f0299(0xc0)]({'view':_0x19271c,'target':()=>{const _0x4d2e03=_0x3f0299,_0x11edb0=[],_0x4fbcab=_0x35448b[_0x4d2e03(0x130)]()[_0x4d2e03(0x11a)](_0x1c94e8=>_0x1c94e8[_0x4d2e03(0xde)]);for(const _0x2d8926 of _0x4fbcab)_0x11edb0[_0x4d2e03(0xdb)](..._0x2d8926[_0x4d2e03(0x15d)]());return _0x24bb6f(_0x1a0936[_0x4d2e03(0x11b)],_0x11edb0);},'type':()=>_0x3f0299(0x114)+_0x25c1e2[_0x3f0299(0x11e)][_0x3f0299(0xe4)]}),_0x34a006[_0x3f0299(0xd5)](_0x423556,_0x454d65),_0x22f4ba[_0x3f0299(0x122)](_0x454d65),_0x187628[_0x3f0299(0xd0)](_0x454d65);}[_0x5a4453(0x133)](_0xe2df5c){const _0x25ce75=_0x5a4453,_0x44f2ea=this[_0x25ce75(0x14c)][_0x25ce75(0xbd)][_0x25ce75(0x164)](_0x25ce75(0xc9)),_0x57a4fe=this[_0x25ce75(0x14c)][_0x25ce75(0xbd)][_0x25ce75(0x164)](_0x25ce75(0xcd)),_0x45dac3=this[_0x25ce75(0x125)][_0x25ce75(0x164)](_0xe2df5c),_0x1c9442=_0x45dac3[_0x25ce75(0x11e)],_0x29d4cc=_0x57a4fe[_0x25ce75(0x10b)](_0x1c9442);_0x44f2ea[_0x25ce75(0xc3)](_0x1c9442),_0x29d4cc&&_0x57a4fe[_0x25ce75(0xbf)](_0x29d4cc),this[_0x25ce75(0x125)][_0x25ce75(0x15b)](_0xe2df5c),this[_0x25ce75(0x123)][_0x25ce75(0x15b)](_0x1c9442),_0x45dac3[_0x25ce75(0x129)]();}[_0x5a4453(0x105)](_0x133276){const _0x16c1b8=_0x5a4453;if(!_0x133276[_0x16c1b8(0xde)]||!this[_0x16c1b8(0x125)][_0x16c1b8(0x124)](_0x133276))return;const _0x414df3=this[_0x16c1b8(0x14c)][_0x16c1b8(0xbd)][_0x16c1b8(0x164)](_0x16c1b8(0x159)),_0x3c9825=this[_0x16c1b8(0x125)][_0x16c1b8(0x164)](_0x133276),_0xad3606=_0x133276[_0x16c1b8(0x130)]();_0x3c9825[_0x16c1b8(0x11e)][_0x16c1b8(0xd2)]=_0x414df3[_0x16c1b8(0x157)][_0x16c1b8(0xe2)](_0xad3606);}[_0x5a4453(0x129)](){const _0x276503=_0x5a4453;for(const _0x331890 of this[_0x276503(0x125)][_0x276503(0xce)]())this[_0x276503(0x133)](_0x331890);for(const _0x50b4fc of this[_0x276503(0xfa)][_0x276503(0x14d)]())_0x50b4fc[_0x276503(0xf5)][_0x276503(0x129)]();super[_0x276503(0x129)](),this[_0x276503(0x120)]&&clearInterval(this[_0x276503(0x120)]);}}function ke(_0x44b4c8){const _0x50df2c=_0x5a4453;return _0x50df2c(0xc5)in _0x44b4c8;}
|
|
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;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3aa8(_0x12ed5e,_0x43a75f){const _0x4ef4ce=_0x4ef4();return _0x3aa8=function(_0x3aa8a8,_0xd538b0){_0x3aa8a8=_0x3aa8a8-0x6a;let _0x5cf02e=_0x4ef4ce[_0x3aa8a8];return _0x5cf02e;},_0x3aa8(_0x12ed5e,_0x43a75f);}const _0x4ccb05=_0x3aa8;function _0x4ef4(){const _0x17da7f=['_discardCommand','add','listenTo','8469yaasmZ','2275398cYVDoj','PENDING_ACTION_SUGGESTION','acceptSuggestion','PendingActions','396XsEOEa','getRanges','5HvYmAy','_setPendingAction','38863AihZpJ','unbind','destroy','9196uDMrxq','_removePendingAction','bind','_editor','stopListening','5364600rbkHVN','_acceptCommand','commentThreadController','view','1880784CNFGGJ','plugins','420xEmqff','_pendingAction','170PMyesV','canDiscard','get','model','discardSuggestion','remove','canAccept','7950465BshzZW','7baXjNF','locale','execute','isEnabled','change:isDirty','isDirty','commands','canEditAt'];_0x4ef4=function(){return _0x17da7f;};return _0x4ef4();}(function(_0x5e3b8d,_0x4138c7){const _0x34591c=_0x3aa8,_0x45f9cc=_0x5e3b8d();while(!![]){try{const _0x93b035=parseInt(_0x34591c(0x88))/0x1*(parseInt(_0x34591c(0x7b))/0x2)+parseInt(_0x34591c(0x6f))/0x3*(parseInt(_0x34591c(0x74))/0x4)+parseInt(_0x34591c(0x76))/0x5*(-parseInt(_0x34591c(0x70))/0x6)+-parseInt(_0x34591c(0x90))/0x7*(-parseInt(_0x34591c(0x84))/0x8)+-parseInt(_0x34591c(0x8f))/0x9+parseInt(_0x34591c(0x80))/0xa+-parseInt(_0x34591c(0x78))/0xb*(parseInt(_0x34591c(0x86))/0xc);if(_0x93b035===_0x4138c7)break;else _0x45f9cc['push'](_0x45f9cc['shift']());}catch(_0x25a068){_0x45f9cc['push'](_0x45f9cc['shift']());}}}(_0x4ef4,0x6cfd6));import{ObservableMixin as _0x53bb27}from'ckeditor5/src/utils.js';import{getTranslation as _0x14af26}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x53bb27(){constructor(_0x178251,_0x11c246,_0x26ce12,_0x444767){const _0x272f4a=_0x3aa8;super(),this[_0x272f4a(0x8b)]=_0x11c246,this[_0x272f4a(0x83)]=_0x26ce12,this[_0x272f4a(0x82)]=_0x444767,this[_0x272f4a(0x7e)]=_0x178251,this[_0x272f4a(0x81)]=_0x178251[_0x272f4a(0x6a)][_0x272f4a(0x8a)](_0x272f4a(0x72)),this[_0x272f4a(0x6c)]=_0x178251[_0x272f4a(0x6a)][_0x272f4a(0x8a)](_0x272f4a(0x8c)),this[_0x272f4a(0x83)][_0x272f4a(0x7d)](_0x272f4a(0x93))['to'](this[_0x272f4a(0x81)],this[_0x272f4a(0x6c)],(_0x4803fd,_0x256d1e)=>_0x4803fd||_0x256d1e),this[_0x272f4a(0x83)][_0x272f4a(0x7d)](_0x272f4a(0x8e))['to'](this[_0x272f4a(0x81)],_0x272f4a(0x93),_0x1d2d1a=>_0x1d2d1a&&this[_0x272f4a(0x7e)][_0x272f4a(0x8b)][_0x272f4a(0x6b)](_0x11c246[_0x272f4a(0x75)]())),this[_0x272f4a(0x83)][_0x272f4a(0x7d)](_0x272f4a(0x89))['to'](this[_0x272f4a(0x6c)],_0x272f4a(0x93),_0x20007f=>_0x20007f&&this[_0x272f4a(0x7e)][_0x272f4a(0x8b)][_0x272f4a(0x6b)](_0x11c246[_0x272f4a(0x75)]())),this[_0x272f4a(0x87)]=null,_0x26ce12[_0x272f4a(0x95)]&&this[_0x272f4a(0x77)](),this[_0x272f4a(0x6e)](_0x26ce12,_0x272f4a(0x72),()=>this[_0x272f4a(0x72)]()),this[_0x272f4a(0x6e)](_0x26ce12,_0x272f4a(0x8c),()=>this[_0x272f4a(0x8c)]()),this[_0x272f4a(0x6e)](_0x26ce12,_0x272f4a(0x94),()=>{const _0x2abad8=_0x272f4a;_0x26ce12[_0x2abad8(0x95)]?this[_0x2abad8(0x77)]():this[_0x2abad8(0x7c)]();});}[_0x4ccb05(0x72)](){const _0x57f0eb=_0x4ccb05;this[_0x57f0eb(0x81)][_0x57f0eb(0x92)](this[_0x57f0eb(0x8b)]['id']);}[_0x4ccb05(0x8c)](){const _0x2f2a30=_0x4ccb05;this[_0x2f2a30(0x6c)][_0x2f2a30(0x92)](this[_0x2f2a30(0x8b)]['id']);}[_0x4ccb05(0x7a)](){const _0x172ed6=_0x4ccb05;this[_0x172ed6(0x83)][_0x172ed6(0x79)](_0x172ed6(0x93)),this[_0x172ed6(0x83)][_0x172ed6(0x79)](_0x172ed6(0x8e)),this[_0x172ed6(0x83)][_0x172ed6(0x79)](_0x172ed6(0x89)),this[_0x172ed6(0x7f)](),this[_0x172ed6(0x82)][_0x172ed6(0x7a)](),this[_0x172ed6(0x87)]&&this[_0x172ed6(0x7c)]();}[_0x4ccb05(0x77)](){const _0x5e965a=_0x4ccb05,_0x913637=_0x14af26(this[_0x5e965a(0x7e)][_0x5e965a(0x91)],_0x5e965a(0x71));this[_0x5e965a(0x87)]=this[_0x5e965a(0x7e)][_0x5e965a(0x85)][_0x5e965a(0x8a)](_0x5e965a(0x73))[_0x5e965a(0x6d)](_0x913637);}[_0x4ccb05(0x7c)](){const _0x13a08d=_0x4ccb05;null!==this[_0x13a08d(0x87)]&&this[_0x13a08d(0x7e)][_0x13a08d(0x85)][_0x13a08d(0x8a)](_0x13a08d(0x73))[_0x13a08d(0x8d)](this[_0x13a08d(0x87)]),this[_0x13a08d(0x87)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c546f=_0x2c5e;(function(_0x550cdd,_0x235cd0){const _0x24b2f7=_0x2c5e,_0x154e57=_0x550cdd();while(!![]){try{const _0x3f9131=-parseInt(_0x24b2f7(0x115))/0x1+-parseInt(_0x24b2f7(0x109))/0x2+parseInt(_0x24b2f7(0x123))/0x3+parseInt(_0x24b2f7(0x12f))/0x4*(parseInt(_0x24b2f7(0x118))/0x5)+-parseInt(_0x24b2f7(0x10b))/0x6*(-parseInt(_0x24b2f7(0x136))/0x7)+-parseInt(_0x24b2f7(0x117))/0x8*(parseInt(_0x24b2f7(0x107))/0x9)+-parseInt(_0x24b2f7(0x134))/0xa;if(_0x3f9131===_0x235cd0)break;else _0x154e57['push'](_0x154e57['shift']());}catch(_0x50fbee){_0x154e57['push'](_0x154e57['shift']());}}}(_0x249c,0xeb3e9));function _0x249c(){const _0x46f685=['3282360bdmEfs','fire','_createCommentViews','SUGGESTION_THREAD_ARIA_LABEL','hasDirtyComment','showInput','editorConfig','render','updateComment','disabledSubmit','parseFromString','destroy','8moASOc','isDirty','locale','addComment','commentInputView','72710fbiOCW','body','7vXZjzA','set','disableComments','descriptionParts','canAccept','CommentView','commentThreadInputView','focusCycler','_config','map','name','_localUser','authoredAt','SUGGESTION_THREAD_DESCRIPTION','isEnabled','_model','editor','ariaDescriptionView','shift+tab','author','isActive','_createCommentThreadInputView','isReadOnly','setData','formatDateTime','tab','45fSzvAA','content','3331356fcZaVI','text/html','8446554EzQAqo','cancel','delegate','value','target','keystrokes','ariaLabel','submit','focusTracker','bind','64436YBCvFW','join','104584hEiHIZ','661080BhiGgL','canDiscard','removeComment','commentsListView','length','commentThread','focus','focusables','assign','element','textContent'];_0x249c=function(){return _0x46f685;};return _0x249c();}import{FocusCycler as _0x38058f,View as _0x29facb,ViewCollection as _0x5b905e}from'ckeditor5/src/ui.js';function _0x2c5e(_0x517637,_0x18274e){const _0x249c22=_0x249c();return _0x2c5e=function(_0x2c5ed1,_0x55db1e){_0x2c5ed1=_0x2c5ed1-0xef;let _0x1ac441=_0x249c22[_0x2c5ed1];return _0x1ac441;},_0x2c5e(_0x517637,_0x18274e);}import{FocusTracker as _0x13e3ff,KeystrokeHandler as _0x3b323f}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x327461,setupThreadKeyboardNavigation as _0x452955}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x4e176c}from'../../utils/common-translations.js';import{renderDescription as _0x2d54bf}from'../../utils/utils.js';export default class ms extends _0x29facb{constructor(_0x413e96,_0x5c75b4,_0x95dc9c,_0x36fe8f){const _0x25d82d=_0x2c5e;super(_0x413e96),this[_0x25d82d(0x11b)]=null,this[_0x25d82d(0xf3)]=null,this[_0x25d82d(0xfe)]=new _0x327461(_0x413e96,_0x4e176c(_0x413e96,_0x25d82d(0xfa))),this[_0x25d82d(0x137)](_0x25d82d(0x101),!0x1),this[_0x25d82d(0x137)](_0x25d82d(0xf9),_0x5c75b4[_0x25d82d(0xf9)]),this[_0x25d82d(0x114)](_0x25d82d(0xf9))['to'](_0x5c75b4),this[_0x25d82d(0x137)](_0x25d82d(0xf0),[]),this[_0x25d82d(0x137)](_0x25d82d(0x130),!0x1),this[_0x25d82d(0x137)](_0x25d82d(0xfb),!0x1),this[_0x25d82d(0x137)](_0x25d82d(0xf1),!0x1),this[_0x25d82d(0x137)](_0x25d82d(0x119),!0x1),this[_0x25d82d(0x114)](_0x25d82d(0x111))['to'](this,_0x25d82d(0x11c),_0x5c75b4,_0x25d82d(0xf9),this,_0x25d82d(0xf0),(_0x132586,_0x487ad4,_0x13993e)=>{const _0x4aae11=_0x25d82d,_0x129598=_0x13993e[_0x4aae11(0xf6)](_0xe0a66a=>_0x2d54bf(_0xe0a66a[_0x4aae11(0x108)]))[_0x4aae11(0x116)]('.\x20')+'.';return _0x4e176c(this[_0x4aae11(0x131)],_0x4aae11(0x126),[_0x132586-0x1,_0x5c75b4[_0x4aae11(0x100)][_0x4aae11(0xf7)],_0x487ad4?_0x36fe8f[_0x4aae11(0x105)](_0x487ad4):'',new DOMParser()[_0x4aae11(0x12d)](_0x129598,_0x4aae11(0x10a))[_0x4aae11(0x135)][_0x4aae11(0x122)]]);}),this[_0x25d82d(0x11f)]=new _0x5b905e(),this[_0x25d82d(0x113)]=new _0x13e3ff(),this[_0x25d82d(0x110)]=new _0x3b323f(),this[_0x25d82d(0xf4)]=new _0x38058f({'focusables':this[_0x25d82d(0x11f)],'focusTracker':this[_0x25d82d(0x113)],'keystrokeHandler':this[_0x25d82d(0x110)],'keystrokeHandlerOptions':{'filter':_0x3d3d53=>_0x3d3d53[_0x25d82d(0x10f)]!==this[_0x25d82d(0x121)]},'actions':{'focusPrevious':_0x25d82d(0xff),'focusNext':_0x25d82d(0x106)}}),this[_0x25d82d(0xfc)]=_0x5c75b4,this[_0x25d82d(0xf8)]=_0x95dc9c,this[_0x25d82d(0xf5)]=_0x36fe8f,_0x36fe8f[_0x25d82d(0xef)]?this[_0x25d82d(0x137)](_0x25d82d(0x11c),0x1):this[_0x25d82d(0x125)]();}[_0x4c546f(0x12a)](){const _0x1cb533=_0x4c546f;super[_0x1cb533(0x12a)](),_0x452955(this,this[_0x1cb533(0x11f)]);}[_0x4c546f(0x11e)](){const _0x33e4da=_0x4c546f;this[_0x33e4da(0x121)][_0x33e4da(0x11e)]();}[_0x4c546f(0x12e)](){const _0x592880=_0x4c546f;this[_0x592880(0x11b)]&&this[_0x592880(0x11b)][_0x592880(0x12e)](),this[_0x592880(0xf3)]&&this[_0x592880(0xf3)][_0x592880(0x12e)](),super[_0x592880(0x12e)]();}[_0x4c546f(0x125)](){const _0x587242=_0x4c546f,{CommentsListView:_0x459883}=this[_0x587242(0xf5)];this[_0x587242(0x11b)]=new _0x459883(this[_0x587242(0x131)],this[_0x587242(0xfc)][_0x587242(0x11d)],Object[_0x587242(0x120)]({'CommentView':this[_0x587242(0xf5)][_0x587242(0xf2)]},this[_0x587242(0xf5)])),this[_0x587242(0x11b)][_0x587242(0x10d)](_0x587242(0x11a))['to'](this),this[_0x587242(0x11b)][_0x587242(0x10d)](_0x587242(0x12b))['to'](this),this[_0x587242(0x11b)][_0x587242(0x114)](_0x587242(0x101))['to'](this),this[_0x587242(0x137)](_0x587242(0x11c),this[_0x587242(0x11b)][_0x587242(0x11c)]+0x1),this[_0x587242(0x114)](_0x587242(0x11c))['to'](this[_0x587242(0x11b)],_0x587242(0x11c),_0x2b3c46=>_0x2b3c46+0x1),this[_0x587242(0xf3)]=this[_0x587242(0x102)](),this['on'](_0x587242(0x11a),()=>this[_0x587242(0x11e)]()),this[_0x587242(0x114)](_0x587242(0x130))['to'](this[_0x587242(0x11b)],_0x587242(0x127),this[_0x587242(0xf3)][_0x587242(0x133)],_0x587242(0x10e),(_0x5bcfde,_0x4840e8)=>_0x5bcfde||!!_0x4840e8);}[_0x4c546f(0x102)](){const _0x36df4a=_0x4c546f,{CommentThreadInputView:_0x35d8d0}=this[_0x36df4a(0xf5)],_0x2c5597=new _0x35d8d0(this[_0x36df4a(0x131)],this[_0x36df4a(0xf8)],this[_0x36df4a(0xf5)][_0x36df4a(0x129)]),_0x4e7618=_0x2c5597[_0x36df4a(0x133)];return _0x2c5597[_0x36df4a(0x114)](_0x36df4a(0x128))['to'](this,_0x36df4a(0x101),this[_0x36df4a(0xfc)][_0x36df4a(0x11d)],_0x36df4a(0x103),_0x4e7618,_0x36df4a(0x10e),(_0x64bbbd,_0x4a03f2,_0x48e279)=>!!_0x48e279||_0x64bbbd&&!_0x4a03f2),_0x4e7618['on'](_0x36df4a(0x112),(_0x49952d,_0x3252d3)=>{const _0x3f948d=_0x36df4a;this[_0x3f948d(0x124)](_0x3f948d(0x132),_0x3252d3),_0x4e7618[_0x3f948d(0xfd)][_0x3f948d(0x104)]('');}),_0x4e7618['on'](_0x36df4a(0x10c),()=>this[_0x36df4a(0x11e)]()),_0x4e7618[_0x36df4a(0x114)](_0x36df4a(0x12c))['to'](this[_0x36df4a(0xfc)][_0x36df4a(0x11d)],_0x36df4a(0x103)),_0x2c5597;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x583f33=_0x333e;function _0x333e(_0x2ec2ba,_0x5d7ee5){const _0x5e0c5e=_0x5e0c();return _0x333e=function(_0x333e6e,_0x1a20e4){_0x333e6e=_0x333e6e-0xa7;let _0x441346=_0x5e0c5e[_0x333e6e];return _0x441346;},_0x333e(_0x2ec2ba,_0x5d7ee5);}(function(_0x5ec21d,_0xd68fe8){const _0x3405fc=_0x333e,_0x378fea=_0x5ec21d();while(!![]){try{const _0x4bcd9c=parseInt(_0x3405fc(0xde))/0x1+-parseInt(_0x3405fc(0xdc))/0x2*(-parseInt(_0x3405fc(0xb3))/0x3)+-parseInt(_0x3405fc(0xbe))/0x4+parseInt(_0x3405fc(0xc7))/0x5*(parseInt(_0x3405fc(0xd8))/0x6)+parseInt(_0x3405fc(0xe1))/0x7*(parseInt(_0x3405fc(0xc8))/0x8)+parseInt(_0x3405fc(0xbb))/0x9*(parseInt(_0x3405fc(0xbc))/0xa)+-parseInt(_0x3405fc(0xd4))/0xb*(parseInt(_0x3405fc(0xc4))/0xc);if(_0x4bcd9c===_0xd68fe8)break;else _0x378fea['push'](_0x378fea['shift']());}catch(_0x57d522){_0x378fea['push'](_0x378fea['shift']());}}}(_0x5e0c,0x9791c));import{default as _0x3a4d7a}from'./basesuggestionthreadview.js';import{trimHtml as _0x2d7a09}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5e0c(){const _0x44b92b=['ck-suggestion-','suggestionView','discardButton','push','</p>','editorReady','author','ck-suggestion--disabled-comments','SuggestionView','3700695xVxFUq','acceptButton','color','disableComments','ck-suggestion-wrapper--active','<p>','formatDateTime','bind','1790415DVYzRP','10FwEnPJ','canDiscard','1821200DEgzsS','isEnabled','listitem','canAccept','descriptionParts','ck-suggestion-wrapper','17872716yHUpqY','div','add','3865nuuvIJ','24ykkvLz','ariaLabel','commentsListView','isActive','commentThreadInputView','_model','getTemplate','description','editorDestroyed','acceptSuggestion','focusables','render','22guPOGl','setTemplate','_config','_descriptionElement','9222vbwvyb','delegate','bindTemplate','ck-rounded-corners','2RrCpTF','set','950152OvDiqS','commentThread','type','1129709YoCDZe','content','discardSuggestion','ariaDescriptionView'];_0x5e0c=function(){return _0x44b92b;};return _0x5e0c();}import{renderDescription as _0x12e043}from'../../utils/utils.js';export default class pe extends _0x3a4d7a{constructor(_0x5b03f7,_0x2ced69,_0x172ef9,_0x48577a){const _0x52fa40=_0x333e;super(_0x5b03f7,_0x2ced69,_0x172ef9,_0x48577a),this[_0x52fa40(0xdd)](_0x52fa40(0xe0),''),this[_0x52fa40(0xba)](_0x52fa40(0xe0))['to'](this,_0x52fa40(0xc2),_0x227a8b=>_0x227a8b&&_0x227a8b[0x0]?_0x227a8b[0x0][_0x52fa40(0xe0)]:''),this[_0x52fa40(0xba)](_0x52fa40(0xcf))['to'](this,_0x52fa40(0xc2),this,_0x52fa40(0xcb),(_0x9f1a1f,_0x179869)=>{const _0x17d74c=_0x52fa40;let _0x351f0d='';for(const _0x4d1ae6 of _0x9f1a1f)_0x351f0d+=_0x17d74c(0xb8)+_0x12e043(_0x4d1ae6[_0x17d74c(0xa7)],_0x4d1ae6[_0x17d74c(0xb5)])+_0x17d74c(0xae);return _0x179869?_0x351f0d:_0x2d7a09(_0x351f0d,{'limit':0x8c});}),this[_0x52fa40(0xd7)]=null,this[_0x52fa40(0xab)]=new _0x48577a[(_0x52fa40(0xb2))](_0x5b03f7,_0x2ced69,{'formatDateTime':_0x48577a[_0x52fa40(0xb9)]}),this[_0x52fa40(0xab)][_0x52fa40(0xba)](_0x52fa40(0xcf))['to'](this),this[_0x52fa40(0xab)][_0x52fa40(0xd9)](_0x52fa40(0xd1),_0x52fa40(0xa8))['to'](this),this[_0x52fa40(0xab)][_0x52fa40(0xb4)][_0x52fa40(0xba)](_0x52fa40(0xbf))['to'](this,_0x52fa40(0xc1)),this[_0x52fa40(0xab)][_0x52fa40(0xac)][_0x52fa40(0xba)](_0x52fa40(0xbf))['to'](this,_0x52fa40(0xbd)),this[_0x52fa40(0xd2)][_0x52fa40(0xc6)](this[_0x52fa40(0xab)]),this[_0x52fa40(0xca)]&&this[_0x52fa40(0xd2)][_0x52fa40(0xc6)](this[_0x52fa40(0xca)]),this[_0x52fa40(0xcc)]&&this[_0x52fa40(0xd2)][_0x52fa40(0xc6)](this[_0x52fa40(0xcc)]),this[_0x52fa40(0xd5)](this[_0x52fa40(0xce)]());}[_0x583f33(0xce)](){const _0x50e10b=_0x583f33,_0x28d0e1=this[_0x50e10b(0xda)],_0x24baac=[this[_0x50e10b(0xab)]];return this[_0x50e10b(0xca)]&&_0x24baac[_0x50e10b(0xad)](this[_0x50e10b(0xca)]),this[_0x50e10b(0xcc)]&&_0x24baac[_0x50e10b(0xad)](this[_0x50e10b(0xcc)]),_0x24baac[_0x50e10b(0xad)](this[_0x50e10b(0xa9)]),{'tag':_0x50e10b(0xc5),'attributes':{'class':['ck',_0x50e10b(0xdb),_0x50e10b(0xc3),_0x28d0e1['if'](_0x50e10b(0xcb),_0x50e10b(0xb7)),_0x28d0e1['to'](_0x50e10b(0xe0),_0x5410f0=>_0x50e10b(0xaa)+_0x5410f0),this[_0x50e10b(0xd6)][_0x50e10b(0xb6)]&&_0x50e10b(0xb1)],'data-suggestion-id':this[_0x50e10b(0xcd)]['id'],'data-thread-id':this[_0x50e10b(0xcd)][_0x50e10b(0xdf)]['id'],'data-author-id':this[_0x50e10b(0xcd)][_0x50e10b(0xb0)]['id'],'tabindex':0x0,'role':_0x50e10b(0xc0),'aria-label':_0x28d0e1['to'](_0x50e10b(0xc9)),'aria-describedby':this[_0x50e10b(0xa9)]['id']},'children':_0x24baac};}[_0x583f33(0xd3)](){const _0x519bd5=_0x583f33;super[_0x519bd5(0xd3)](),this[_0x519bd5(0xca)]&&(this[_0x519bd5(0xca)][_0x519bd5(0xd9)](_0x519bd5(0xaf))['to'](this),this[_0x519bd5(0xca)][_0x519bd5(0xd9)](_0x519bd5(0xd0))['to'](this)),this[_0x519bd5(0xcc)]&&(this[_0x519bd5(0xcc)][_0x519bd5(0xd9)](_0x519bd5(0xaf))['to'](this),this[_0x519bd5(0xcc)][_0x519bd5(0xd9)](_0x519bd5(0xd0))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f5aa4=_0x4794;(function(_0x554f4e,_0x5f2410){const _0x1254f6=_0x4794,_0x289ae9=_0x554f4e();while(!![]){try{const _0x36676c=parseInt(_0x1254f6(0x1c2))/0x1*(parseInt(_0x1254f6(0x1c7))/0x2)+-parseInt(_0x1254f6(0x1bf))/0x3+parseInt(_0x1254f6(0x1be))/0x4+parseInt(_0x1254f6(0x1c5))/0x5+parseInt(_0x1254f6(0x1cf))/0x6+-parseInt(_0x1254f6(0x1a7))/0x7*(-parseInt(_0x1254f6(0x1b9))/0x8)+parseInt(_0x1254f6(0x1b0))/0x9*(-parseInt(_0x1254f6(0x1a5))/0xa);if(_0x36676c===_0x5f2410)break;else _0x289ae9['push'](_0x289ae9['shift']());}catch(_0x25fada){_0x289ae9['push'](_0x289ae9['shift']());}}}(_0x1cfd,0xebb1c));import{FocusTracker as _0x3ed650,KeystrokeHandler as _0x588939}from'ckeditor5/src/utils.js';import{View as _0x4452ae,ViewCollection as _0x3b5d5a,FocusCycler as _0x569b18}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x22d2a7,UserView as _0x4b5f2c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4794(_0x2dab2d,_0xfd43b1){const _0x1cfdde=_0x1cfd();return _0x4794=function(_0x479409,_0x112d61){_0x479409=_0x479409-0x1a0;let _0xc49948=_0x1cfdde[_0x479409];return _0xc49948;},_0x4794(_0x2dab2d,_0xfd43b1);}import{icons as _0x48dbdc}from'ckeditor5/src/core.js';import{getTranslation as _0x504883}from'../../utils/common-translations.js';function _0x1cfd(){const _0x376a54=['time','60nfGmkZ','focusTracker','45339jyIQuA','check','.ck-annotation__content-wrapper','getUserViewNotificationText','ck-annotation__main','focusables','getTemplate','userView','ck-annotation__info-name','5075415HjKQNn','render','EXTERNAL_IMPORT_WORD_SUGGESTION','authoredAt','ck-annotation__info-time','fire','description','ck-comment__external','_config','1376NLwmyR','ck-suggestion__main','presentation','bind','isExternal','5257996rwSAQh','3796830jvxjgD','setTemplate','author','1130907WMyUyf','tab','cancel','9477375hXOCxl','ck-suggestion__actions','2QuceOs','acceptButton','Discard\x20suggestion','_model','formatDateTime','target','creator','getExternalSuggestionNote','958194cmmBud','set','shift+tab','listenTo','locale','focusCycler','name','acceptSuggestion','EXTERNAL_SUGGESTION','execute','EXTERNAL_AVATAR','querySelector','change:description','focus','focusFirst','discardButton','div','attributes','enter','ck-suggestion--accept','keystrokes','innerHTML','ck-annotation__info','ck-annotation','@external','ck-annotation__content-wrapper','Accept\x20suggestion','ck-suggestion__user','EXTERNAL_IMPORT_WORD_AVATAR','importWord','_setupKeyboardNavigation','bindTemplate','_createButton','ck-suggestion__info-name','ck-comment__info-time','ck-suggestion--discard','add','source','span','discardSuggestion','ck-suggestion__info','push','ck-suggestion','esc','extendTemplate','element','ck-annotation__actions','ck-annotation__user'];_0x1cfd=function(){return _0x376a54;};return _0x1cfd();}export default class fe extends _0x4452ae{constructor(_0xb4a43b,_0x3572c2,_0x306bff){const _0x4f541f=_0x4794;super(_0xb4a43b),this[_0x4f541f(0x1ca)]=_0x3572c2,this[_0x4f541f(0x1b8)]=_0x306bff,this[_0x4f541f(0x1d0)](_0x4f541f(0x1b6),''),this[_0x4f541f(0x1bc)](_0x4f541f(0x1b3))['to'](_0x3572c2),this[_0x4f541f(0x1c8)]=this[_0x4f541f(0x1ef)](_0x504883(_0xb4a43b,_0x4f541f(0x1e9)),_0x48dbdc[_0x4f541f(0x1a8)],_0x4f541f(0x1e2),_0x4f541f(0x1d6),'sw'),this[_0x4f541f(0x1de)]=this[_0x4f541f(0x1ef)](_0x504883(_0xb4a43b,_0x4f541f(0x1c9)),_0x48dbdc[_0x4f541f(0x1c4)],_0x4f541f(0x1f2),_0x4f541f(0x1f6),'sw'),this[_0x4f541f(0x1ae)]=new _0x4b5f2c(_0xb4a43b,_0x3572c2[_0x4f541f(0x1c1)],this[_0x4f541f(0x1aa)]()),this[_0x4f541f(0x1ae)][_0x4f541f(0x1a0)]({'attributes':{'class':[_0x4f541f(0x1ea),_0x4f541f(0x1a3)],'aria-hidden':!0x0}}),this[_0x4f541f(0x1ac)]=new _0x3b5d5a([this[_0x4f541f(0x1c8)],this[_0x4f541f(0x1de)]]),this[_0x4f541f(0x1a6)]=new _0x3ed650(),this[_0x4f541f(0x1e3)]=new _0x588939(),this[_0x4f541f(0x1d4)]=new _0x569b18({'focusables':this[_0x4f541f(0x1ac)],'focusTracker':this[_0x4f541f(0x1a6)],'keystrokeHandler':this[_0x4f541f(0x1e3)],'actions':{'focusPrevious':_0x4f541f(0x1d1),'focusNext':_0x4f541f(0x1c3)},'keystrokeHandlerOptions':{'filter':_0x424665=>_0x424665[_0x4f541f(0x1cc)]!==this[_0x4f541f(0x1a1)]}}),this[_0x4f541f(0x1c0)](this[_0x4f541f(0x1ad)]());}[_0x4f5aa4(0x1b1)](){const _0x1f1b97=_0x4f5aa4;super[_0x1f1b97(0x1b1)]();const _0x59ac1=this[_0x1f1b97(0x1a1)][_0x1f1b97(0x1da)](_0x1f1b97(0x1a9));_0x59ac1[_0x1f1b97(0x1e4)]=this[_0x1f1b97(0x1b6)],this['on'](_0x1f1b97(0x1db),(_0x5e75bc,_0x450b9a,_0xadb29b)=>{const _0x7339b4=_0x1f1b97;_0x59ac1[_0x7339b4(0x1e4)]=_0xadb29b;}),this[_0x1f1b97(0x1ed)]();}[_0x4f5aa4(0x1ad)](){const _0xbc06b8=_0x4f5aa4,_0xd932b6=this[_0xbc06b8(0x1ee)],_0x5f45cb=[{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1f7),_0xbc06b8(0x1e5)]},'children':[{'tag':_0xbc06b8(0x1f5),'children':[{'text':this[_0xbc06b8(0x1ae)][_0xbc06b8(0x1d5)]}],'attributes':{'class':[_0xbc06b8(0x1f0),_0xbc06b8(0x1af)],'data-cke-tooltip-text':this[_0xbc06b8(0x1ae)][_0xbc06b8(0x1d5)]}},{'tag':_0xbc06b8(0x1a4),'attributes':{'datetime':_0xd932b6['to'](_0xbc06b8(0x1b3)),'class':[_0xbc06b8(0x1f1),_0xbc06b8(0x1b4)]},'children':[{'text':_0xd932b6['to'](_0xbc06b8(0x1b3),_0x4f6558=>this[_0xbc06b8(0x1b8)][_0xbc06b8(0x1cb)](_0x4f6558))}]}]},{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1c6),_0xbc06b8(0x1a2)]},'children':[this[_0xbc06b8(0x1c8)],this[_0xbc06b8(0x1de)]]},{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1e8)]}}];return this[_0xbc06b8(0x1ca)][_0xbc06b8(0x1bd)]&&_0x5f45cb[_0xbc06b8(0x1f8)]({'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1b7)]},'children':[{'text':this[_0xbc06b8(0x1ce)]()}]}),{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1f9),_0xbc06b8(0x1e6)],'tabindex':-0x1},'children':[this[_0xbc06b8(0x1ae)],{'tag':_0xbc06b8(0x1df),'attributes':{'class':[_0xbc06b8(0x1ba),_0xbc06b8(0x1ab)],'role':_0xbc06b8(0x1bb)},'children':_0x5f45cb}]};}[_0x4f5aa4(0x1dc)](){const _0x583a03=_0x4f5aa4;this[_0x583a03(0x1a1)][_0x583a03(0x1dc)]();}[_0x4f5aa4(0x1aa)](){const _0x57dc93=_0x4f5aa4;return this[_0x57dc93(0x1ca)][_0x57dc93(0x1bd)]?_0x57dc93(0x1ec)===this[_0x57dc93(0x1ca)][_0x57dc93(0x1e0)][_0x57dc93(0x1e7)][_0x57dc93(0x1f4)]?_0x504883(this[_0x57dc93(0x1d3)],_0x57dc93(0x1eb),this[_0x57dc93(0x1ca)][_0x57dc93(0x1cd)][_0x57dc93(0x1d5)]):_0x504883(this[_0x57dc93(0x1d3)],_0x57dc93(0x1d9),this[_0x57dc93(0x1ca)][_0x57dc93(0x1cd)][_0x57dc93(0x1d5)]):null;}[_0x4f5aa4(0x1ce)](){const _0x5b64de=_0x4f5aa4;return _0x5b64de(0x1ec)===this[_0x5b64de(0x1ca)][_0x5b64de(0x1e0)][_0x5b64de(0x1e7)][_0x5b64de(0x1f4)]?_0x504883(this[_0x5b64de(0x1d3)],_0x5b64de(0x1b2)):_0x504883(this[_0x5b64de(0x1d3)],_0x5b64de(0x1d7));}[_0x4f5aa4(0x1ef)](_0x35655c,_0x490228,_0x38542a,_0x436af5,_0x4c4f61){const _0x261223=_0x4f5aa4,_0xb9e667=new _0x22d2a7(this[_0x261223(0x1d3)]);return _0xb9e667[_0x261223(0x1d0)]({'label':_0x35655c,'icon':_0x490228,'tooltip':!0x0,'tooltipPosition':_0x4c4f61}),_0xb9e667[_0x261223(0x1a0)]({'attributes':{'class':_0x38542a}}),_0xb9e667['on'](_0x261223(0x1d8),()=>{const _0x181048=_0x261223;this[_0x181048(0x1b5)](_0x436af5,this[_0x181048(0x1ca)]['id']);}),_0xb9e667;}[_0x4f5aa4(0x1ed)](){const _0x5d7442=_0x4f5aa4,_0x35708c=this[_0x5d7442(0x1a1)];this[_0x5d7442(0x1e3)][_0x5d7442(0x1d2)](_0x35708c);for(const _0x8275ca of this[_0x5d7442(0x1ac)])this[_0x5d7442(0x1a6)][_0x5d7442(0x1f3)](_0x8275ca[_0x5d7442(0x1a1)]),this[_0x5d7442(0x1e3)][_0x5d7442(0x1d2)](_0x8275ca[_0x5d7442(0x1a1)]);this[_0x5d7442(0x1e3)][_0x5d7442(0x1d0)](_0x5d7442(0x1e1),(_0x40c6e4,_0x354ef8)=>{const _0xe98a46=_0x5d7442;_0x35708c===_0x40c6e4[_0xe98a46(0x1cc)]&&(this[_0xe98a46(0x1d4)][_0xe98a46(0x1dd)](),_0x354ef8());}),this[_0x5d7442(0x1e3)][_0x5d7442(0x1d0)](_0x5d7442(0x1fa),(_0xbb3ddd,_0x2afe7e)=>{const _0x3ce5b5=_0x5d7442;_0x35708c!==_0xbb3ddd[_0x3ce5b5(0x1cc)]&&(this[_0x3ce5b5(0x1dc)](),_0x2afe7e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cbbdd=_0x6e6c;function _0x234c(){const _0x1e24c6=['element','ck-reset','className','498zVEKHQ','style','15130005FRVGiA','2072PZgnMV','previewDataReady','content','8462080gihMAZ','width','fire','setAttribute','41153zdKsxu','classes','setPreviewData','focus','createElement','2259iSzeFQ','664aXwynD','2471980RCuBaU','37872YoFaQj','height','ck-track-changes-preview','div','data-ck-root-name','38aejjHb','render','push','677nyvifP','\x20ck-track-changes-preview__root-container','dialogRects','options','innerHTML','setTemplate'];_0x234c=function(){return _0x1e24c6;};return _0x234c();}(function(_0x54c481,_0x757e9b){const _0x335621=_0x6e6c,_0x18c61c=_0x54c481();while(!![]){try{const _0xc06225=-parseInt(_0x335621(0xb4))/0x1*(-parseInt(_0x335621(0xb1))/0x2)+parseInt(_0x335621(0xa9))/0x3*(-parseInt(_0x335621(0xc0))/0x4)+parseInt(_0x335621(0xab))/0x5+parseInt(_0x335621(0xbd))/0x6*(parseInt(_0x335621(0xc7))/0x7)+parseInt(_0x335621(0xaa))/0x8*(parseInt(_0x335621(0xac))/0x9)+parseInt(_0x335621(0xc3))/0xa+-parseInt(_0x335621(0xbf))/0xb;if(_0xc06225===_0x757e9b)break;else _0x18c61c['push'](_0x18c61c['shift']());}catch(_0x90a091){_0x18c61c['push'](_0x18c61c['shift']());}}}(_0x234c,0x67cdb));function _0x6e6c(_0x160590,_0x4d0c3c){const _0x234c33=_0x234c();return _0x6e6c=function(_0x6e6cce,_0x653c5){_0x6e6cce=_0x6e6cce-0xa6;let _0x14e57d=_0x234c33[_0x6e6cce];return _0x14e57d;},_0x6e6c(_0x160590,_0x4d0c3c);}import{View as _0x2c6dcc}from'ckeditor5/src/ui.js';export default class Me extends _0x2c6dcc{constructor(_0x318575,_0x73656a){const _0x237c23=_0x6e6c;super(_0x318575),this[_0x237c23(0xb7)]=_0x73656a,this[_0x237c23(0xb9)]({'tag':_0x237c23(0xaf),'attributes':{'class':['ck',_0x237c23(0xbb),_0x237c23(0xae)],'tabindex':-0x1}});}[_0x4cbbdd(0xb2)](){const _0x44034d=_0x4cbbdd;super[_0x44034d(0xb2)](),this[_0x44034d(0xba)][_0x44034d(0xbe)][_0x44034d(0xc4)]=this[_0x44034d(0xb7)][_0x44034d(0xb6)][_0x44034d(0xc4)]+'px',this[_0x44034d(0xba)][_0x44034d(0xbe)][_0x44034d(0xad)]=this[_0x44034d(0xb7)][_0x44034d(0xb6)][_0x44034d(0xad)]+'px';}[_0x4cbbdd(0xa6)](_0x378eaf,_0x224be5){const _0x4ab7a1=_0x4cbbdd;if(!this[_0x4ab7a1(0xba)])return;const _0x1058fc=[];for(const [_0x1ae013,_0x456dda]of _0x378eaf){const _0x266a20=document[_0x4ab7a1(0xa8)](_0x4ab7a1(0xaf));_0x266a20[_0x4ab7a1(0xc6)](_0x4ab7a1(0xb0),_0x1ae013),_0x266a20[_0x4ab7a1(0xbc)]=_0x456dda[_0x4ab7a1(0xc8)]+_0x4ab7a1(0xb5),_0x266a20[_0x4ab7a1(0xb8)]=_0x456dda[_0x4ab7a1(0xc2)],_0x1058fc[_0x4ab7a1(0xb3)](_0x266a20);}_0x224be5(this[_0x4ab7a1(0xba)],_0x1058fc),this[_0x4ab7a1(0xba)][_0x4ab7a1(0xbe)][_0x4ab7a1(0xad)]='',this[_0x4ab7a1(0xc5)](_0x4ab7a1(0xc1));}[_0x4cbbdd(0xa7)](){const _0x56cbe2=_0x4cbbdd;this[_0x56cbe2(0xba)][_0x56cbe2(0xa7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x5025c8,_0x23156b,_0x18c9ba){const _0x1a8a02=_0x5025c8['t'],t=_0x5025c8['t'];switch(_0x23156b){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',_0x18c9ba);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x18c9ba);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x18c9ba);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x18c9ba);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x18c9ba);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',_0x18c9ba);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x18c9ba);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',_0x18c9ba);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x18c9ba);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x18c9ba);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x18c9ba);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x18c9ba);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x18c9ba);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x18c9ba);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x18c9ba);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x18c9ba);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x18c9ba);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x18c9ba);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x18c9ba);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x18c9ba);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x18c9ba);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x18c9ba);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x18c9ba);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x18c9ba);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x18c9ba);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x18c9ba);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x18c9ba);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x18c9ba);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x18c9ba);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x18c9ba);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x18c9ba);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'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x18c9ba);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x18c9ba);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 _0x1a8a02({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x18c9ba);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1a8a02({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x18c9ba);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x18c9ba);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'},_0x18c9ba);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'},_0x18c9ba);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'},_0x18c9ba);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x23156b;}}
|
|
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;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x18282b,_0x54866b){const _0x2b5208=_0x3612,_0x4f98ac=_0x18282b();while(!![]){try{const _0x266675=-parseInt(_0x2b5208(0x1a0))/0x1+-parseInt(_0x2b5208(0x1b8))/0x2*(-parseInt(_0x2b5208(0x1c3))/0x3)+parseInt(_0x2b5208(0x1bd))/0x4+parseInt(_0x2b5208(0x196))/0x5+-parseInt(_0x2b5208(0x1b2))/0x6*(parseInt(_0x2b5208(0x1b6))/0x7)+parseInt(_0x2b5208(0x1bf))/0x8*(parseInt(_0x2b5208(0x1b4))/0x9)+-parseInt(_0x2b5208(0x1ab))/0xa;if(_0x266675===_0x54866b)break;else _0x4f98ac['push'](_0x4f98ac['shift']());}catch(_0xfa66ce){_0x4f98ac['push'](_0x4f98ac['shift']());}}}(_0x58e0,0x4a497));export function normalizeDescription(_0x34717d){const _0x3e0524=_0x3612;return Array[_0x3e0524(0x193)](_0x34717d)||(_0x34717d=[_0x34717d]),_0x34717d[_0x3e0524(0x1bc)](_0x248515=>{const _0x470b73=_0x3e0524,_0x202094=_0x248515[_0x470b73(0x1b0)][_0x470b73(0x1ac)](/\*/g,''),_0x26bc91=_0x248515[_0x470b73(0x1a6)]?_0x470b73(0x1c0)+_0x248515[_0x470b73(0x1a6)][_0x470b73(0x19b)]+']':'';return'['+_0x248515[_0x470b73(0x1a8)]+']\x20'+_0x202094+_0x26bc91;})[_0x3e0524(0x1aa)](';\x20');}export function renderDescription(_0x15e542,_0x5c5a36){const _0x1dd493=_0x3612;let _0x5ead6c='';return _0x5ead6c+=_0x15e542[_0x1dd493(0x194)]('*')[_0x1dd493(0x1bc)]((_0x584c6d,_0x4f49b4)=>_0x4f49b4%0x2!=0x0?_0x1dd493(0x1a9)+nn(_0x584c6d)+_0x1dd493(0x1c1):nn(_0x584c6d))[_0x1dd493(0x1aa)](''),_0x5c5a36&&(_0x5ead6c+=_0x1dd493(0x1a2)+_0x5c5a36[_0x1dd493(0x19b)]+_0x1dd493(0x1b5)+_0x5c5a36[_0x1dd493(0x19d)]+_0x1dd493(0x1b9)),_0x5ead6c;}function _0x58e0(){const _0x32c4b8=['387892bSeObU','\x22></span>','schema','createRange','map','2412776IttOIJ','length','908912gzxLym','\x20[color\x20','</span>','span','3WjQmCl','deletion','isInContent','createPositionAt','sort','add','isArray','split','innerText','2412830eyJtYO','createPositionAfter','isTouching','splice','isMultiRange','value','getRanges','title','createPositionBefore','execute','582517kuWLlt','isIntersecting','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isObject','end','createElement','color','next','type','<span\x20class=\x22ck-suggestion-type\x22>','join','705040SIKCRL','replace','start','push','from','content','innerHTML','1648902VbrTeJ','isCollapsed','18UnakgN','\x22\x20title=\x22','14iPNDHu','change'];_0x58e0=function(){return _0x32c4b8;};return _0x58e0();}function nn(_0x525d9c){const _0x42f51b=_0x3612,_0x18c4a9=document[_0x42f51b(0x1a5)](_0x42f51b(0x1c2));return _0x18c4a9[_0x42f51b(0x195)]=_0x525d9c,_0x18c4a9[_0x42f51b(0x1b1)];}export function sortSuggestions(_0x552040){const _0x4f12a3=_0x3612;return _0x552040[_0x4f12a3(0x191)]((_0x48fc4f,_0x125d01)=>_0x4f12a3(0x1c4)==_0x48fc4f[_0x4f12a3(0x1a8)]&&_0x4f12a3(0x1c4)!=_0x125d01[_0x4f12a3(0x1a8)]?-0x1:_0x4f12a3(0x1c4)!=_0x48fc4f[_0x4f12a3(0x1a8)]&&_0x4f12a3(0x1c4)==_0x125d01[_0x4f12a3(0x1a8)]?0x1:0x0);}function _0x3612(_0x529f1b,_0x17ea9d){const _0x58e02e=_0x58e0();return _0x3612=function(_0x3612a4,_0x3558b6){_0x3612a4=_0x3612a4-0x191;let _0x4add01=_0x58e02e[_0x3612a4];return _0x4add01;},_0x3612(_0x529f1b,_0x17ea9d);}export function getSelectedSuggestions(_0xae1f83,_0x59f2c6){const _0x54e153=_0x3612,_0x509649=Array[_0x54e153(0x1af)](_0xae1f83[_0x54e153(0x19c)]()),_0x984190=new Set();for(const _0xb4b595 of _0x59f2c6)if(_0xb4b595[_0x54e153(0x1c5)]){for(const _0x5b5e7f of _0x509649)for(const _0x1c67ae of _0xb4b595[_0x54e153(0x19c)]())(_0x5b5e7f[_0x54e153(0x1a1)](_0x1c67ae)||_0xae1f83[_0x54e153(0x1b3)]&&!_0xb4b595[_0x54e153(0x19a)]&&_0xb4b595[_0x54e153(0x1a7)]&&_0x1c67ae[_0x54e153(0x1a4)][_0x54e153(0x198)](_0x5b5e7f[_0x54e153(0x1ad)]))&&_0x984190[_0x54e153(0x192)](_0xb4b595);}return _0x984190;}export function getRangesOfBlockGroups(_0x159d5f,_0x4c44f4){const _0xa0cb68=_0x3612;let _0x5e9896,_0x1b2ee9=0x0;const _0x40bd55=[],_0x38ebef=_0x4c44f4[_0xa0cb68(0x1ba)];for(;_0x1b2ee9<_0x159d5f[_0xa0cb68(0x1be)];){const _0x1fc5d5=_0x159d5f[_0x1b2ee9],_0x23a6e6=_0x159d5f[_0x1b2ee9+0x1];_0x5e9896||(_0x5e9896=_0x4c44f4[_0xa0cb68(0x19e)](_0x1fc5d5)),on(_0x4c44f4,_0x1fc5d5,_0x23a6e6)||(_0x40bd55[_0xa0cb68(0x1ae)](_0x4c44f4[_0xa0cb68(0x1bb)](_0x5e9896,_0x38ebef[_0xa0cb68(0x1a3)](_0x1fc5d5)?_0x4c44f4[_0xa0cb68(0x197)](_0x1fc5d5):_0x4c44f4[_0xa0cb68(0x1c6)](_0x1fc5d5,_0xa0cb68(0x1a4)))),_0x5e9896=null),_0x1b2ee9++;}return _0x40bd55;}function on(_0x4e466f,_0x15d2ca,_0x4bae79){const _0x17628f=_0x3612;if(!_0x4bae79)return!0x1;const _0x2a2fd2=_0x4e466f[_0x17628f(0x197)](_0x15d2ca),_0x1d1bd6=_0x4e466f[_0x17628f(0x19e)](_0x4bae79);return _0x2a2fd2[_0x17628f(0x198)](_0x1d1bd6);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x44e9e7,_0x1efe7b,_0xebdc3){const _0x4ee337=_0x3612;for(;_0xebdc3[_0x4ee337(0x1be)];){const _0x20abeb=_0xebdc3[_0x4ee337(0x199)](0x0,0x64);_0x44e9e7[_0x4ee337(0x1b7)](()=>{const _0x35ac20=_0x4ee337;for(const _0x27a722 of _0x20abeb)_0x27a722[_0x35ac20(0x1c5)]&&_0x1efe7b[_0x35ac20(0x19f)](_0x27a722['id']);});}}
|