@ckeditor/ckeditor5-track-changes 47.7.4 → 47.7.5
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 +4 -4
- 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/be.js +1 -1
- package/dist/translations/be.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 +26 -26
- 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/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.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/footnotes.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/lineheight.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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 _0x10006f=_0x15fb;(function(_0x1c6d58,_0x3d18ab){const _0x14eb78=_0x15fb,_0x2eb62b=_0x1c6d58();while(!![]){try{const _0xd309ef=parseInt(_0x14eb78(0xc1))/0x1+-parseInt(_0x14eb78(0xc4))/0x2+-parseInt(_0x14eb78(0xbf))/0x3*(parseInt(_0x14eb78(0xcb))/0x4)+parseInt(_0x14eb78(0xd1))/0x5*(-parseInt(_0x14eb78(0xd6))/0x6)+parseInt(_0x14eb78(0xc8))/0x7*(parseInt(_0x14eb78(0xc2))/0x8)+-parseInt(_0x14eb78(0xcc))/0x9*(-parseInt(_0x14eb78(0xd5))/0xa)+-parseInt(_0x14eb78(0xce))/0xb;if(_0xd309ef===_0x3d18ab)break;else _0x2eb62b['push'](_0x2eb62b['shift']());}catch(_0x13510a){_0x2eb62b['push'](_0x2eb62b['shift']());}}}(_0x133c,0xb8774));function _0x15fb(_0x3a9086,_0x1db49a){const _0x133c2a=_0x133c();return _0x15fb=function(_0x15fb6e,_0x4e0f75){_0x15fb6e=_0x15fb6e-0xbf;let _0x476f8f=_0x133c2a[_0x15fb6e];return _0x476f8f;},_0x15fb(_0x3a9086,_0x1db49a);}import{Plugin as _0x322496}from'ckeditor5/src/core.js';import{Dialog as _0x16dcb3}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x4b390d}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x47399c}from'./commands/previewfinalcontentcommand.js';function _0x133c(){const _0x1f7967=['930286GBSWEi','config','previewFinalContent','requires','24332ChWmFu','isOfficialPlugin','commands','8XBFobU','3015npsCBA','editor','2847097sKNcES','trackChanges.preview.renderFunction','isPremiumPlugin','7045aLDCST','appendChild','define','pluginName','39370nhCCoQ','4314DzLcev','1677798gqjrbS','TrackChangesPreview','1482342khQXgb','1864llAbkF','add'];_0x133c=function(){return _0x1f7967;};return _0x133c();}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x322496{static get[_0x10006f(0xc7)](){return[_0x4b390d,_0x16dcb3];}static get[_0x10006f(0xd4)](){const _0x42a7a3=_0x10006f;return _0x42a7a3(0xc0);}static get[_0x10006f(0xc9)](){return!0x0;}static get[_0x10006f(0xd0)](){return!0x0;}constructor(_0x4a2b93){const _0x19bfa3=_0x10006f;super(_0x4a2b93),_0x4a2b93[_0x19bfa3(0xca)][_0x19bfa3(0xc3)](_0x19bfa3(0xc6),new _0x47399c(this[_0x19bfa3(0xcd)])),_0x4a2b93[_0x19bfa3(0xc5)][_0x19bfa3(0xd3)](_0x19bfa3(0xcf),(_0x220627,_0x42f955)=>{const _0x49b60a=_0x19bfa3;for(const _0x5b2cc8 of _0x42f955)_0x220627[_0x49b60a(0xd2)](_0x5b2cc8);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x43748d=_0xbd77;(function(_0x4a349d,_0x25d4c3){const _0x5af1ff=_0xbd77,_0x2b264e=_0x4a349d();while(!![]){try{const _0x2561a1=-parseInt(_0x5af1ff(0x1f0))/0x1+parseInt(_0x5af1ff(0x279))/0x2+parseInt(_0x5af1ff(0x221))/0x3+-parseInt(_0x5af1ff(0x270))/0x4+parseInt(_0x5af1ff(0x26d))/0x5*(parseInt(_0x5af1ff(0x1f6))/0x6)+-parseInt(_0x5af1ff(0x201))/0x7*(-parseInt(_0x5af1ff(0x210))/0x8)+-parseInt(_0x5af1ff(0x1de))/0x9*(parseInt(_0x5af1ff(0x233))/0xa);if(_0x2561a1===_0x25d4c3)break;else _0x2b264e['push'](_0x2b264e['shift']());}catch(_0x327f5f){_0x2b264e['push'](_0x2b264e['shift']());}}}(_0x5425,0xeb97d));import{Plugin as _0x1a3c7c}from'ckeditor5/src/core.js';import{Collection as _0x4fc84e}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1e3e70}from'ckeditor5/src/icons.js';function _0xbd77(_0xb85f00,_0x13c722){const _0x5425ca=_0x5425();return _0xbd77=function(_0xbd77e5,_0x23784d){_0xbd77e5=_0xbd77e5-0x1d7;let _0x4553c9=_0x5425ca[_0xbd77e5];return _0x4553c9;},_0xbd77(_0xb85f00,_0x13c722);}import{addListToDropdown as _0x3b0426,createDropdown as _0x191027,ListSeparatorView as _0x34305b,MenuBarMenuView as _0xa1ce83,MenuBarMenuListView as _0x85aabb,MenuBarMenuListItemView as _0x589db7,MenuBarMenuListItemButtonView as _0x267c76,SplitButtonView as _0x2e388d,UIModel as _0x595653}from'ckeditor5/src/ui.js';import{Users as _0x326cac,getDateTimeFormatter as _0x924c44,getAllMarkersDomElementsSorted as _0x23232f}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x156fa4}from'./trackchangesediting.js';import{SuggestionController as _0x572640}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x1517eb}from'./ui/view/suggestionthreadview.js';function _0x5425(){const _0x32c951=['EditorAnnotations','stopListening','commandName','getJoined','descriptionFactory','value','expired','filter','editing','_updateController','suggestion-','trackChanges.SuggestionThreadView','778352wHzrle','getByInnerView','trackChanges.disableComments','pluginName','discardSelectedSuggestions','trackChangesLicenseKeyEvaluationLimit','150KmApTb','addComment','Track\x20changes','getRanges','size','getAnnotationForSuggestion','lowest','isPremiumPlugin','getSuggestionForAnnotation','_createMenuBarMenu','init','12719QaIGUp','CommentsRepository','CommentsUI','_destroyController','define','clear','addMany','acceptAllSuggestions','_createToolbarButton','escape','comments.maxCommentsWhenCollapsed','suggestionView','previewFinalContent','children','_refreshActiveMarkers','4136eRgbcB','domainLimit','editor','reduce','_showLicenseError','trackChangesLicenseKeyDomainLimit','delegate','trackChangesLicenseKeyUsageLimit','registerAnnotation','trackChangesLicenseKeyExpired','_handleControllerBuffer','acceptSelectedSuggestions','buttonView','createAnnotationView','activeMarkers','some','_addUIComponentsToFactory','1610697fHJyPl','Preview\x20final\x20content','createCommentThreadController','delete','unbind','comments.maxThreadTotalWeight','values','button','getDescriptions','separator','plugins','trackChangesLicenseKeyInvalid','Accept\x20all\x20suggestions','config','execute','commands','Discard\x20all\x20selected\x20suggestions','add','554410hMdIsI','length','locale','createAnnotation','usageLimit','panelView','toMany','licenseKey','_handleSuggestionControllerDelayed','get','acceptButton','change:activeAnnotations','isOn','from','CommentView','componentFactory','activeAnnotations','comments','discardButton','_initializeController','comments.maxCommentCharsWhenCollapsed','refreshSelectedViews','mainView','type','suggestionUnloaded','SuggestionView','addSourceCollector','featureNotAllowed','getMarkers','Accept\x20all\x20selected\x20suggestions','_bindAnnotationToEditors','getFirstRange','isMultiRange','Annotations','descriptionParts','menuitemcheckbox','menu','switchbutton','discardAllSuggestions','Discard\x20all\x20suggestions','getSuggestion','suggestionChanged','_suggestionToController','evaluationLimit','comments.editorConfig','listenTo','getAllAdjacentSuggestions','getMarkerNames','menuitem','focus','change:previous','_disableComments','isEnabled','view','SuggestionThreadView','commentThread','fire','keys','226745EhxFqp','requires','remove','1255148UHDORf','trackChangesLicenseKeyValid','isDirty','hasSuggestion','invalid','head','innerView','items','TrackChanges','2331572vRTZfe','TrackChangesUI','has','destroy','_unbindEditors','commentsListView','menuBar:trackChanges','source','previous','model','_annotationViews','set','_viewToController','isInContent','push','isOfficialPlugin','TrackChangesPreview','trackChanges','TrackChangesEditing','arrowView','trackChangesLicenseKeyNotAllowed','279MbhcFX','bind','_licenseKeyCheckInterval','actionView','trackChanges.SuggestionView','suggestionLoaded'];_0x5425=function(){return _0x32c951;};return _0x5425();}import{SuggestionView as _0x32e17a}from'./ui/view/suggestionview.js';import{getTranslation as _0x3b876f}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1a3c7c{[_0x43748d(0x23a)];[_0x43748d(0x1e0)];[_0x43748d(0x25d)];[_0x43748d(0x285)];[_0x43748d(0x283)];[_0x43748d(0x21a)];[_0x43748d(0x266)];static get[_0x43748d(0x26e)](){const _0x5eedaf=_0x43748d;return[_0x156fa4,_0x326cac,_0x5eedaf(0x202),_0x5eedaf(0x254),_0x5eedaf(0x1e4)];}static get[_0x43748d(0x1f3)](){const _0x3e9739=_0x43748d;return _0x3e9739(0x27a);}static get[_0x43748d(0x1d8)](){return!0x0;}static get[_0x43748d(0x1fd)](){return!0x0;}constructor(_0x1bdec0){const _0xc1aeab=_0x43748d;super(_0x1bdec0),this[_0xc1aeab(0x25d)]=new Map(),this[_0xc1aeab(0x285)]=new Map(),this[_0xc1aeab(0x283)]=new Map(),this[_0xc1aeab(0x21a)]=new Map();const _0xa7ec5b=this[_0xc1aeab(0x212)][_0xc1aeab(0x22e)];_0xa7ec5b[_0xc1aeab(0x205)](_0xc1aeab(0x1ef),_0x1517eb),_0xa7ec5b[_0xc1aeab(0x205)](_0xc1aeab(0x1e2),_0x32e17a),_0xa7ec5b[_0xc1aeab(0x205)](_0xc1aeab(0x1f2),!0x1),this[_0xc1aeab(0x266)]=_0xa7ec5b[_0xc1aeab(0x23c)](_0xc1aeab(0x1f2));}[_0x43748d(0x23b)](_0x1484b7,_0x553966){const _0x13b51d=_0x43748d;0x0===this[_0x13b51d(0x21a)][_0x13b51d(0x1fa)]&&setTimeout(()=>{const _0x2ade84=_0x13b51d;for(const [_0x2f2979,_0x2647b4]of this[_0x2ade84(0x21a)]){const _0x42bfdd=this[_0x2ade84(0x25d)][_0x2ade84(0x27b)](_0x2f2979);_0x42bfdd||_0x2647b4?_0x42bfdd&&_0x2647b4&&this[_0x2ade84(0x204)](_0x2f2979):this[_0x2ade84(0x246)](_0x2f2979);}this[_0x2ade84(0x21a)][_0x2ade84(0x206)](),this[_0x2ade84(0x212)][_0x2ade84(0x22b)][_0x2ade84(0x23c)](_0x2ade84(0x1e4))[_0x2ade84(0x248)](),this[_0x2ade84(0x20f)]();},0xa),this[_0x13b51d(0x21a)][_0x13b51d(0x284)](_0x1484b7,_0x553966);}[_0x43748d(0x200)](){const _0x2ae7c2=_0x43748d,_0x308b45=this[_0x2ae7c2(0x212)],_0x58119d=_0x308b45[_0x2ae7c2(0x22b)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x1db)),_0x42e1e6=_0x308b45[_0x2ae7c2(0x22b)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x254)),_0x397ede=_0x308b45[_0x2ae7c2(0x22b)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x1e4)),_0x3fbfa2=_0x308b45[_0x2ae7c2(0x22b)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x202));this[_0x2ae7c2(0x220)](),_0x397ede[_0x2ae7c2(0x24d)](()=>{const _0x4218e3=_0x2ae7c2,_0x3e53fc=[];for(const [_0x5cd979,_0x3c6e97]of Array[_0x4218e3(0x240)](this[_0x4218e3(0x25d)])){const _0xa62e9f=_0x5cd979[_0x4218e3(0x261)](),_0x421b28=[];for(const _0x1925fc of _0xa62e9f){if(!_0x1925fc[_0x4218e3(0x286)])continue;if(_0x1925fc[_0x4218e3(0x253)]){_0x421b28[_0x4218e3(0x1d7)](..._0x1925fc[_0x4218e3(0x1f9)]());continue;}const _0x2842ae=_0x1925fc[_0x4218e3(0x252)]();if(_0x421b28[_0x4218e3(0x234)]>0x0){const _0x5273db=_0x421b28[0x0][_0x4218e3(0x1e7)](_0x2842ae);if(_0x5273db){_0x421b28[0x0]=_0x5273db;continue;}}_0x421b28[_0x4218e3(0x1d7)](_0x2842ae);}_0x3e53fc[_0x4218e3(0x1d7)]([_0x3c6e97[_0x4218e3(0x268)],_0x421b28]);}return _0x3e53fc;}),this[_0x2ae7c2(0x260)](_0x58119d,_0x2ae7c2(0x1e3),(_0x3662d4,_0x46b511)=>{const _0x20ec51=_0x2ae7c2;this[_0x20ec51(0x260)](_0x46b511,_0x20ec51(0x265),(_0x432c19,_0x1a7a69,_0x2da9d5,_0x473bfb)=>{const _0x51ec90=_0x20ec51;_0x46b511[_0x51ec90(0x286)]&&(null==_0x2da9d5?(this[_0x51ec90(0x1ed)](_0x473bfb[_0x51ec90(0x275)]),this[_0x51ec90(0x23b)](_0x46b511,!0x1)):(this[_0x51ec90(0x1ed)](_0x2da9d5[_0x51ec90(0x275)]),null==_0x473bfb&&this[_0x51ec90(0x23b)](_0x46b511,!0x0)));}),null!==_0x46b511[_0x20ec51(0x281)]?this[_0x20ec51(0x1ed)](_0x46b511[_0x20ec51(0x275)]):this[_0x20ec51(0x23b)](_0x46b511,!0x1);}),this[_0x2ae7c2(0x260)](_0x58119d,_0x2ae7c2(0x24b),(_0x570ae2,_0x242f0e,_0x296b1a)=>{const _0x5fcb28=_0x2ae7c2;this[_0x5fcb28(0x1e5)](_0x242f0e,_0x5fcb28(0x265)),this[_0x5fcb28(0x21a)][_0x5fcb28(0x224)](_0x242f0e),this[_0x5fcb28(0x25d)][_0x5fcb28(0x27b)](_0x242f0e)&&this[_0x5fcb28(0x204)](_0x242f0e),_0x296b1a&&this[_0x5fcb28(0x1ed)](_0x296b1a[_0x5fcb28(0x275)]);}),this[_0x2ae7c2(0x260)](_0x58119d,_0x2ae7c2(0x25c),(_0x2f4b59,_0x23bb0e)=>{const _0x490912=_0x2ae7c2;this[_0x490912(0x1ed)](_0x23bb0e);}),this[_0x2ae7c2(0x260)](_0x42e1e6,_0x2ae7c2(0x23e),()=>{const _0x2e714f=_0x2ae7c2;this[_0x2e714f(0x20f)]();}),this[_0x2ae7c2(0x260)](_0x3fbfa2,_0x2ae7c2(0x1f7),(_0x569745,{threadId:_0x17328f,isFromAdapter:_0x117e04})=>{const _0x267b99=_0x2ae7c2;if(_0x117e04||!_0x58119d[_0x267b99(0x273)](_0x17328f))return;const _0x93c9b2=_0x58119d[_0x267b99(0x25b)](_0x17328f);this[_0x267b99(0x25d)][_0x267b99(0x23c)](_0x93c9b2)[_0x267b99(0x268)][_0x267b99(0x27e)][_0x267b99(0x264)](-0x1);},{'priority':_0x2ae7c2(0x1fc)}),this[_0x2ae7c2(0x23a)]=this[_0x2ae7c2(0x212)][_0x2ae7c2(0x22e)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x23a));const _0x30dcac=this[_0x2ae7c2(0x212)];this[_0x2ae7c2(0x1e0)]=setInterval(()=>{const _0x2b6855=_0x2ae7c2;let _0x5e9f24;for(const _0x39e26f in _0x30dcac){const _0x2f26a2=_0x39e26f,_0x521c14=_0x30dcac[_0x2f26a2];if(_0x2b6855(0x271)==_0x521c14||_0x2b6855(0x22c)==_0x521c14||_0x2b6855(0x219)==_0x521c14||_0x2b6855(0x215)==_0x521c14||_0x2b6855(0x1dd)==_0x521c14||_0x2b6855(0x1f5)==_0x521c14||_0x2b6855(0x217)==_0x521c14){delete _0x30dcac[_0x2f26a2],_0x5e9f24=_0x521c14,clearInterval(this[_0x2b6855(0x1e0)]),this[_0x2b6855(0x1e0)]=void 0x0;break;}}_0x2b6855(0x22c)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x274)),_0x2b6855(0x219)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x1ea)),_0x2b6855(0x215)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x211)),_0x2b6855(0x1dd)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x24e),_0x2b6855(0x278)),_0x2b6855(0x1f5)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x25e)),_0x2b6855(0x217)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x237));},0x3e8);}[_0x43748d(0x1fb)](_0x1d85ae){const _0x5ea57b=_0x43748d,_0x376c1d=this[_0x5ea57b(0x25d)][_0x5ea57b(0x23c)](_0x1d85ae);if(!_0x376c1d)return null;return this[_0x5ea57b(0x212)][_0x5ea57b(0x22b)][_0x5ea57b(0x23c)](_0x5ea57b(0x254))[_0x5ea57b(0x1f1)](_0x376c1d[_0x5ea57b(0x268)])||null;}[_0x43748d(0x1fe)](_0x17405b){const _0x42afe1=_0x43748d,_0x58dcd5=this[_0x42afe1(0x285)][_0x42afe1(0x23c)](_0x17405b[_0x42afe1(0x276)]);return _0x58dcd5?_0x58dcd5[_0x42afe1(0x282)]:null;}[_0x43748d(0x20f)](){const _0x575dfe=_0x43748d,_0x391cf7=this[_0x575dfe(0x212)][_0x575dfe(0x22b)][_0x575dfe(0x23c)](_0x575dfe(0x254)),_0x5bbf3e=this[_0x575dfe(0x212)][_0x575dfe(0x22b)][_0x575dfe(0x23c)](_0x575dfe(0x1db)),_0x43cf41=Array[_0x575dfe(0x240)](_0x391cf7[_0x575dfe(0x243)],_0x284205=>_0x284205[_0x575dfe(0x276)])[_0x575dfe(0x1eb)](_0x308cf8=>this[_0x575dfe(0x285)][_0x575dfe(0x27b)](_0x308cf8)),_0x5189a0=[];for(const _0x138b32 of _0x43cf41){const _0x37d7a6=this[_0x575dfe(0x285)][_0x575dfe(0x23c)](_0x138b32)[_0x575dfe(0x282)][_0x575dfe(0x261)]();_0x5189a0[_0x575dfe(0x1d7)](..._0x37d7a6[_0x575dfe(0x213)]((_0xfdebc4,_0x4d3d09)=>[..._0xfdebc4,..._0x4d3d09[_0x575dfe(0x262)]()],[]));}_0x5bbf3e[_0x575dfe(0x21e)]=_0x5189a0;}[_0x43748d(0x220)](){const _0x56a1f8=_0x43748d,_0x1234db=this[_0x56a1f8(0x212)],_0x3a20a4=_0x1234db[_0x56a1f8(0x235)],_0x59e8ad=_0x3b876f(_0x3a20a4,_0x56a1f8(0x1f8)),_0x645f3=new _0x4fc84e([{'type':_0x56a1f8(0x258),'model':new _0x595653({'withText':!0x0,'isToggleable':!0x0,'label':_0x59e8ad,'commandName':_0x56a1f8(0x1da),'role':_0x56a1f8(0x256)})},{'type':_0x56a1f8(0x22a)},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x22d)),'commandName':_0x56a1f8(0x208),'role':_0x56a1f8(0x263)})},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x250)),'commandName':_0x56a1f8(0x21b),'role':_0x56a1f8(0x263)})},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x25a)),'commandName':_0x56a1f8(0x259),'role':_0x56a1f8(0x263)})},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x231)),'commandName':_0x56a1f8(0x1f4),'role':_0x56a1f8(0x263)})}]);_0x1234db[_0x56a1f8(0x22b)][_0x56a1f8(0x27b)](_0x56a1f8(0x1d9))&&_0x645f3[_0x56a1f8(0x207)]([{'type':_0x56a1f8(0x22a)},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x222)),'commandName':_0x56a1f8(0x20d),'role':_0x56a1f8(0x263)})}]);for(const _0x503582 of _0x645f3)if(ke(_0x503582)){const _0x3ce854=_0x1234db[_0x56a1f8(0x230)][_0x56a1f8(0x23c)](_0x503582[_0x56a1f8(0x282)][_0x56a1f8(0x1e6)]);_0x503582[_0x56a1f8(0x282)][_0x56a1f8(0x1df)](_0x56a1f8(0x23f),_0x56a1f8(0x267))['to'](_0x3ce854,_0x56a1f8(0x1e9),_0x56a1f8(0x267));}_0x1234db['ui'][_0x56a1f8(0x242)][_0x56a1f8(0x232)](_0x56a1f8(0x1da),_0xfcaab3=>this[_0x56a1f8(0x209)](_0xfcaab3,_0x645f3,_0x59e8ad)),_0x1234db['ui'][_0x56a1f8(0x242)][_0x56a1f8(0x232)](_0x56a1f8(0x27f),_0x29096b=>this[_0x56a1f8(0x1ff)](_0x29096b,_0x645f3,_0x59e8ad));}[_0x43748d(0x209)](_0x122c75,_0x454258,_0xbc1261){const _0x1898b4=_0x43748d,_0x68abcf=_0x191027(_0x122c75,_0x2e388d),_0x1b36aa=this[_0x1898b4(0x212)][_0x1898b4(0x230)][_0x1898b4(0x23c)](_0x1898b4(0x1da));_0x68abcf[_0x1898b4(0x21c)][_0x1898b4(0x284)]({'tooltip':_0xbc1261,'label':_0xbc1261,'icon':_0x1e3e70}),_0x68abcf[_0x1898b4(0x21c)][_0x1898b4(0x1df)](_0x1898b4(0x23f))['to'](_0x1b36aa,_0x1898b4(0x1e9)),_0x68abcf[_0x1898b4(0x21c)]['on'](_0x1898b4(0x22f),()=>{const _0x3a5434=_0x1898b4;_0x1b36aa[_0x3a5434(0x22f)](),this[_0x3a5434(0x212)][_0x3a5434(0x1ec)][_0x3a5434(0x268)][_0x3a5434(0x264)]();}),_0x3b0426(_0x68abcf,_0x454258,{'role':_0x1898b4(0x257)});const _0x453c93=[];for(const _0x35e312 of _0x454258)ke(_0x35e312)&&_0x453c93[_0x1898b4(0x1d7)](this[_0x1898b4(0x212)][_0x1898b4(0x230)][_0x1898b4(0x23c)](_0x35e312[_0x1898b4(0x282)][_0x1898b4(0x1e6)]));const _0x418fc1=_0x68abcf[_0x1898b4(0x21c)];return _0x418fc1[_0x1898b4(0x1e1)][_0x1898b4(0x225)](_0x1898b4(0x267)),_0x418fc1[_0x1898b4(0x1dc)][_0x1898b4(0x225)](_0x1898b4(0x267)),_0x418fc1[_0x1898b4(0x1e1)][_0x1898b4(0x1df)](_0x1898b4(0x267))['to'](_0x1b36aa,_0x1898b4(0x267)),_0x418fc1[_0x1898b4(0x1dc)][_0x1898b4(0x1df)](_0x1898b4(0x267))[_0x1898b4(0x239)](_0x453c93,_0x1898b4(0x267),(..._0x5eb065)=>_0x5eb065[_0x1898b4(0x21f)](_0x19440d=>_0x19440d)),_0x68abcf['on'](_0x1898b4(0x22f),_0x4aaf4f=>{const _0x3477ec=_0x1898b4;this[_0x3477ec(0x212)][_0x3477ec(0x22f)](_0x4aaf4f[_0x3477ec(0x280)][_0x3477ec(0x1e6)]),this[_0x3477ec(0x212)][_0x3477ec(0x1ec)][_0x3477ec(0x268)][_0x3477ec(0x264)]();}),_0x68abcf;}[_0x43748d(0x1ff)](_0x535286,_0x3b4792,_0xd02ed0){const _0x966c55=_0x43748d,_0x2edb57=new _0xa1ce83(_0x535286),_0x480de1=this[_0x966c55(0x212)][_0x966c55(0x230)][_0x966c55(0x23c)](_0x966c55(0x1da));_0x2edb57[_0x966c55(0x21c)][_0x966c55(0x284)]({'label':_0xd02ed0,'icon':_0x1e3e70});const _0x45adb1=new _0x85aabb(_0x535286);for(const _0x2752e5 of _0x3b4792){if(_0x966c55(0x22a)==_0x2752e5[_0x966c55(0x24a)]){_0x45adb1[_0x966c55(0x277)][_0x966c55(0x232)](new _0x34305b(_0x535286));continue;}const _0x35c0ff=new _0x589db7(_0x535286,_0x2edb57),_0x33f88b=new _0x267c76(_0x535286),_0xd4eec3=_0x2752e5[_0x966c55(0x282)];_0x33f88b[_0x966c55(0x1df)](...Object[_0x966c55(0x26c)](_0xd4eec3))['to'](_0xd4eec3),_0x33f88b[_0x966c55(0x216)](_0x966c55(0x22f))['to'](_0x2edb57),_0x33f88b['on'](_0x966c55(0x22f),()=>{const _0x8986d5=_0x966c55;this[_0x8986d5(0x212)][_0x8986d5(0x22f)](_0xd4eec3[_0x8986d5(0x1e6)]),this[_0x8986d5(0x212)][_0x8986d5(0x1ec)][_0x8986d5(0x268)][_0x8986d5(0x264)]();}),_0x35c0ff[_0x966c55(0x20e)][_0x966c55(0x232)](_0x33f88b),_0x45adb1[_0x966c55(0x277)][_0x966c55(0x232)](_0x35c0ff);}return _0x2edb57[_0x966c55(0x1df)](_0x966c55(0x267))['to'](_0x480de1,_0x966c55(0x267)),_0x2edb57[_0x966c55(0x238)][_0x966c55(0x20e)][_0x966c55(0x232)](_0x45adb1),_0x2edb57;}[_0x43748d(0x246)](_0x37e7c9){const _0x1e91cb=_0x43748d,_0x39c00f=this[_0x1e91cb(0x212)],_0xd0e575=_0x39c00f[_0x1e91cb(0x22e)],_0x354a16=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x254)),_0x59428e=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x202)),_0x20a0d4=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x1e4)),_0x2e5042=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x326cac)['me'],_0x40731e=_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x1da))[_0x1e91cb(0x269)],_0x56d4a7=_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x1da))[_0x1e91cb(0x24c)],{CommentsListView:_0x262079,CommentThreadInputView:_0x28bc13}=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x203));let _0x3e2eaf,_0x1d10e4,_0x5441d7;this[_0x1e91cb(0x283)][_0x1e91cb(0x27b)](_0x37e7c9['id'])?(_0x1d10e4=this[_0x1e91cb(0x283)][_0x1e91cb(0x23c)](_0x37e7c9['id']),_0x3e2eaf=_0x1d10e4[_0x1e91cb(0x249)]):(_0x3e2eaf=new _0x40731e(_0x39c00f[_0x1e91cb(0x235)],_0x37e7c9,_0x2e5042,{'disableComments':this[_0x1e91cb(0x266)],'editorConfig':{..._0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x25f)),'licenseKey':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x23a))},'maxCommentsWhenCollapsed':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x20b)),'maxThreadTotalWeight':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x226)),'maxCommentCharsWhenCollapsed':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x247)),'formatDateTime':_0x924c44(_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x235)),_0x39c00f[_0x1e91cb(0x235)]),'CommentView':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x244))[_0x1e91cb(0x241)],'CommentsListView':_0x262079,'CommentThreadInputView':_0x28bc13,'SuggestionView':_0x56d4a7}),_0x3e2eaf[_0x1e91cb(0x20c)][_0x1e91cb(0x23d)]['on'](_0x1e91cb(0x22f),()=>{const _0x2c60aa=_0x1e91cb;_0x39c00f[_0x2c60aa(0x1ec)][_0x2c60aa(0x268)][_0x2c60aa(0x264)]();}),_0x3e2eaf[_0x1e91cb(0x20c)][_0x1e91cb(0x245)]['on'](_0x1e91cb(0x22f),()=>{const _0x5590ef=_0x1e91cb;_0x39c00f[_0x5590ef(0x1ec)][_0x5590ef(0x268)][_0x5590ef(0x264)]();}),_0x1d10e4=_0x354a16[_0x1e91cb(0x21d)](this[_0x1e91cb(0x212)][_0x1e91cb(0x235)],_0x3e2eaf),_0x1d10e4[_0x1e91cb(0x1df)](_0x1e91cb(0x272))['to'](_0x3e2eaf,_0x1e91cb(0x272)),_0x1d10e4[_0x1e91cb(0x1df)](_0x1e91cb(0x234))['to'](_0x3e2eaf),_0x1d10e4[_0x1e91cb(0x1df)](_0x1e91cb(0x24a))['to'](_0x3e2eaf,_0x1e91cb(0x24a),_0xd0a7f1=>_0x1e91cb(0x1ee)+_0xd0a7f1),_0x3e2eaf['on'](_0x1e91cb(0x20a),()=>{const _0x443d5a=_0x1e91cb;_0x5441d7[_0x443d5a(0x26b)](_0x443d5a(0x20a));}),this[_0x1e91cb(0x283)][_0x1e91cb(0x284)](_0x37e7c9['id'],_0x1d10e4));const _0x294664=_0x59428e[_0x1e91cb(0x223)](_0x37e7c9[_0x1e91cb(0x26a)],_0x3e2eaf),_0xf482f0=new _0x572640(_0x39c00f,_0x37e7c9,_0x3e2eaf,_0x294664),_0x2783ae=_0x37e7c9[_0x1e91cb(0x261)]()[_0x1e91cb(0x1eb)](_0xbe8430=>_0xbe8430[_0x1e91cb(0x286)]);_0x3e2eaf[_0x1e91cb(0x255)]=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x1db))[_0x1e91cb(0x1e8)][_0x1e91cb(0x229)](_0x2783ae),this[_0x1e91cb(0x25d)][_0x1e91cb(0x284)](_0x37e7c9,_0xf482f0),this[_0x1e91cb(0x285)][_0x1e91cb(0x284)](_0x3e2eaf,_0xf482f0);const _0x1f7f10=()=>{const _0x284a33=_0x1e91cb,_0x27776c=[],_0xbb70ad=_0x37e7c9[_0x284a33(0x261)]()[_0x284a33(0x1eb)](_0x1e769e=>_0x1e769e[_0x284a33(0x286)]);for(const _0x4ead6c of _0xbb70ad)_0x27776c[_0x284a33(0x1d7)](..._0x4ead6c[_0x284a33(0x24f)]());return _0x23232f(_0x39c00f[_0x284a33(0x1ec)],_0x27776c);};_0x5441d7=_0x354a16[_0x1e91cb(0x236)]({'view':_0x1d10e4,'target':_0x1f7f10,'type':()=>_0x1e91cb(0x1ee)+_0xf482f0[_0x1e91cb(0x268)][_0x1e91cb(0x24a)],'isVisible':!!_0x1f7f10()}),_0x59428e[_0x1e91cb(0x251)](_0x3e2eaf,_0x5441d7),_0x354a16[_0x1e91cb(0x232)](_0x5441d7),_0x20a0d4[_0x1e91cb(0x218)](_0x5441d7);}[_0x43748d(0x204)](_0x48a34d){const _0x3bfc82=_0x43748d,_0x1d84d7=this[_0x3bfc82(0x212)][_0x3bfc82(0x22b)][_0x3bfc82(0x23c)](_0x3bfc82(0x202)),_0xc6a470=this[_0x3bfc82(0x212)][_0x3bfc82(0x22b)][_0x3bfc82(0x23c)](_0x3bfc82(0x254)),_0x1d2137=this[_0x3bfc82(0x25d)][_0x3bfc82(0x23c)](_0x48a34d),_0x1f6434=_0x1d2137[_0x3bfc82(0x268)],_0xd3415c=_0xc6a470[_0x3bfc82(0x1f1)](_0x1f6434);_0x1d84d7[_0x3bfc82(0x27d)](_0x1f6434),_0xd3415c&&_0xc6a470[_0x3bfc82(0x26f)](_0xd3415c),this[_0x3bfc82(0x25d)][_0x3bfc82(0x224)](_0x48a34d),this[_0x3bfc82(0x285)][_0x3bfc82(0x224)](_0x1f6434),_0x1d2137[_0x3bfc82(0x27c)]();}[_0x43748d(0x1ed)](_0x1036ab){const _0x5306c3=_0x43748d;if(!_0x1036ab[_0x5306c3(0x286)]||!this[_0x5306c3(0x25d)][_0x5306c3(0x27b)](_0x1036ab))return;const _0x46a2e6=this[_0x5306c3(0x212)][_0x5306c3(0x22b)][_0x5306c3(0x23c)](_0x5306c3(0x1db)),_0x5e69d5=this[_0x5306c3(0x25d)][_0x5306c3(0x23c)](_0x1036ab),_0x5cdba6=_0x1036ab[_0x5306c3(0x261)]();_0x5e69d5[_0x5306c3(0x268)][_0x5306c3(0x255)]=_0x46a2e6[_0x5306c3(0x1e8)][_0x5306c3(0x229)](_0x5cdba6);}[_0x43748d(0x27c)](){const _0x1fedfc=_0x43748d;for(const _0x3986c9 of this[_0x1fedfc(0x25d)][_0x1fedfc(0x26c)]())this[_0x1fedfc(0x204)](_0x3986c9);for(const _0x1bc18a of this[_0x1fedfc(0x283)][_0x1fedfc(0x227)]())_0x1bc18a[_0x1fedfc(0x249)][_0x1fedfc(0x27c)]();super[_0x1fedfc(0x27c)](),this[_0x1fedfc(0x1e0)]&&clearInterval(this[_0x1fedfc(0x1e0)]);}}function ke(_0x5612d0){const _0x140d60=_0x43748d;return _0x140d60(0x282)in _0x5612d0;}
|
|
23
|
+
function _0x46a3(_0x4bc0c1,_0x33fb0c){const _0xf385d5=_0xf385();return _0x46a3=function(_0x46a3f4,_0x437b7c){_0x46a3f4=_0x46a3f4-0x158;let _0x566acd=_0xf385d5[_0x46a3f4];return _0x566acd;},_0x46a3(_0x4bc0c1,_0x33fb0c);}const _0xf689b8=_0x46a3;(function(_0x20644d,_0x1276d6){const _0x4a3cc2=_0x46a3,_0x22ca32=_0x20644d();while(!![]){try{const _0x23dffd=-parseInt(_0x4a3cc2(0x200))/0x1*(-parseInt(_0x4a3cc2(0x1d6))/0x2)+-parseInt(_0x4a3cc2(0x17d))/0x3*(parseInt(_0x4a3cc2(0x1a3))/0x4)+-parseInt(_0x4a3cc2(0x1aa))/0x5+parseInt(_0x4a3cc2(0x162))/0x6+-parseInt(_0x4a3cc2(0x1b8))/0x7+parseInt(_0x4a3cc2(0x1c1))/0x8+-parseInt(_0x4a3cc2(0x19b))/0x9*(parseInt(_0x4a3cc2(0x173))/0xa);if(_0x23dffd===_0x1276d6)break;else _0x22ca32['push'](_0x22ca32['shift']());}catch(_0x373fe9){_0x22ca32['push'](_0x22ca32['shift']());}}}(_0xf385,0x265e4));function _0xf385(){const _0x2686e4=['previewFinalContent','getAllAdjacentSuggestions','expired','fire','trackChanges.SuggestionThreadView','isMultiRange','children','lowest','_showLicenseError','530160alyaIj','commandName','suggestionUnloaded','listenTo','delete','escape','getMarkers','menu','button','Track\x20changes','from','isEnabled','commentThread','getMarkerNames','Accept\x20all\x20selected\x20suggestions','source','getSuggestionForAnnotation','1003720utGvSI','TrackChangesUI','trackChangesLicenseKeyNotAllowed','addMany','keys','getSuggestion','TrackChangesEditing','TrackChanges','switchbutton','acceptButton','2889voBcaX','refreshSelectedViews','descriptionFactory','SuggestionThreadView','Annotations','requires','menuBar:trackChanges','delegate','push','comments.maxThreadTotalWeight','execute','discardAllSuggestions','EditorAnnotations','head','editor','init','_licenseKeyCheckInterval','isPremiumPlugin','invalid','activeAnnotations','_initializeController','filter','remove','change:previous','type','length','_createToolbarButton','suggestionView','actionView','values','9ohiSBH','define','unbind','Discard\x20all\x20suggestions','trackChangesLicenseKeyInvalid','evaluationLimit','value','CommentView','52ZqldHC','view','items','comments.maxCommentsWhenCollapsed','featureNotAllowed','isDirty','commands','276065pDJJTt','isOn','domainLimit','_disableComments','_suggestionToController','comments','getByInnerView','getJoined','getDescriptions','_bindAnnotationToEditors','_destroyController','innerView','destroy','toMany','1324883BXUwFW','trackChangesLicenseKeyEvaluationLimit','stopListening','getRanges','trackChangesLicenseKeyValid','createAnnotation','registerAnnotation','addComment','bind','1010496IqFAkV','Preview\x20final\x20content','CommentsUI','SuggestionView','clear','trackChangesLicenseKeyExpired','comments.editorConfig','trackChangesLicenseKeyUsageLimit','acceptSelectedSuggestions','componentFactory','trackChanges.disableComments','usageLimit','getAnnotationForSuggestion','discardButton','TrackChangesPreview','trackChanges','locale','commentsListView','_createMenuBarMenu','editing','activeMarkers','2CDocfA','add','_handleControllerBuffer','_annotationViews','isInContent','some','menuitemcheckbox','Discard\x20all\x20selected\x20suggestions','plugins','arrowView','buttonView','previous','CommentsRepository','_unbindEditors','_viewToController','trackChangesLicenseKeyDomainLimit','comments.maxCommentCharsWhenCollapsed','get','menuitem','_addUIComponentsToFactory','panelView','_handleSuggestionControllerDelayed','getFirstRange','separator','licenseKey','createAnnotationView','isOfficialPlugin','createCommentThreadController','suggestion-','config','trackChanges.SuggestionView','acceptAllSuggestions','model','Accept\x20all\x20suggestions','mainView','set','_refreshActiveMarkers','size','change:activeAnnotations','suggestionLoaded','suggestionChanged','discardSelectedSuggestions','299857xMNNnR','hasSuggestion','descriptionParts','has','pluginName','addSourceCollector','focus','reduce','_updateController'];_0xf385=function(){return _0x2686e4;};return _0xf385();}import{Plugin as _0x2d4863}from'ckeditor5/src/core.js';import{Collection as _0x23e1d5}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1cf292}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x328e0c,createDropdown as _0x168380,ListSeparatorView as _0x3eef43,MenuBarMenuView as _0x2fb4d6,MenuBarMenuListView as _0xd9219c,MenuBarMenuListItemView as _0x95ecf6,MenuBarMenuListItemButtonView as _0x31b360,SplitButtonView as _0x55c72b,UIModel as _0x4ff9ae}from'ckeditor5/src/ui.js';import{Users as _0x2985e8,getDateTimeFormatter as _0x4c5226,getAllMarkersDomElementsSorted as _0x2934d9}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1ede47}from'./trackchangesediting.js';import{SuggestionController as _0x55d6f9}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x53be69}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1161ac}from'./ui/view/suggestionview.js';import{getTranslation as _0x173213}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2d4863{[_0xf689b8(0x1ee)];[_0xf689b8(0x18d)];[_0xf689b8(0x1ae)];[_0xf689b8(0x1e4)];[_0xf689b8(0x1d9)];[_0xf689b8(0x1d8)];[_0xf689b8(0x1ad)];static get[_0xf689b8(0x182)](){const _0x318e83=_0xf689b8;return[_0x1ede47,_0x2985e8,_0x318e83(0x1e2),_0x318e83(0x181),_0x318e83(0x189)];}static get[_0xf689b8(0x204)](){const _0x5c30ec=_0xf689b8;return _0x5c30ec(0x174);}static get[_0xf689b8(0x1f0)](){return!0x0;}static get[_0xf689b8(0x18e)](){return!0x0;}constructor(_0x3cc0c9){const _0x54d093=_0xf689b8;super(_0x3cc0c9),this[_0x54d093(0x1ae)]=new Map(),this[_0x54d093(0x1e4)]=new Map(),this[_0x54d093(0x1d9)]=new Map(),this[_0x54d093(0x1d8)]=new Map();const _0x587592=this[_0x54d093(0x18b)][_0x54d093(0x1f3)];_0x587592[_0x54d093(0x19c)](_0x54d093(0x15d),_0x53be69),_0x587592[_0x54d093(0x19c)](_0x54d093(0x1f4),_0x1161ac),_0x587592[_0x54d093(0x19c)](_0x54d093(0x1cb),!0x1),this[_0x54d093(0x1ad)]=_0x587592[_0x54d093(0x1e7)](_0x54d093(0x1cb));}[_0xf689b8(0x1eb)](_0x45a52e,_0x55d48d){const _0x3fc860=_0xf689b8;0x0===this[_0x3fc860(0x1d8)][_0x3fc860(0x1fb)]&&setTimeout(()=>{const _0x46c343=_0x3fc860;for(const [_0x3dc1f3,_0x2dae45]of this[_0x46c343(0x1d8)]){const _0x3dfc46=this[_0x46c343(0x1ae)][_0x46c343(0x203)](_0x3dc1f3);_0x3dfc46||_0x2dae45?_0x3dfc46&&_0x2dae45&&this[_0x46c343(0x1b4)](_0x3dc1f3):this[_0x46c343(0x191)](_0x3dc1f3);}this[_0x46c343(0x1d8)][_0x46c343(0x1c5)](),this[_0x46c343(0x18b)][_0x46c343(0x1de)][_0x46c343(0x1e7)](_0x46c343(0x189))[_0x46c343(0x17e)](),this[_0x46c343(0x1fa)]();},0xa),this[_0x3fc860(0x1d8)][_0x3fc860(0x1f9)](_0x45a52e,_0x55d48d);}[_0xf689b8(0x18c)](){const _0x48f0a=_0xf689b8,_0x5ee37a=this[_0x48f0a(0x18b)],_0x1ac271=_0x5ee37a[_0x48f0a(0x1de)][_0x48f0a(0x1e7)](_0x48f0a(0x179)),_0x1a291f=_0x5ee37a[_0x48f0a(0x1de)][_0x48f0a(0x1e7)](_0x48f0a(0x181)),_0x20ce40=_0x5ee37a[_0x48f0a(0x1de)][_0x48f0a(0x1e7)](_0x48f0a(0x189)),_0x2d4b17=_0x5ee37a[_0x48f0a(0x1de)][_0x48f0a(0x1e7)](_0x48f0a(0x1e2));this[_0x48f0a(0x1e9)](),_0x20ce40[_0x48f0a(0x205)](()=>{const _0x46db62=_0x48f0a,_0x22e858=[];for(const [_0x209a97,_0xcde296]of Array[_0x46db62(0x16c)](this[_0x46db62(0x1ae)])){const _0x15f1d4=_0x209a97[_0x46db62(0x15a)](),_0x5cd5e0=[];for(const _0x53f184 of _0x15f1d4){if(!_0x53f184[_0x46db62(0x1da)])continue;if(_0x53f184[_0x46db62(0x15e)]){_0x5cd5e0[_0x46db62(0x185)](..._0x53f184[_0x46db62(0x1bb)]());continue;}const _0x4baf76=_0x53f184[_0x46db62(0x1ec)]();if(_0x5cd5e0[_0x46db62(0x196)]>0x0){const _0x161874=_0x5cd5e0[0x0][_0x46db62(0x1b1)](_0x4baf76);if(_0x161874){_0x5cd5e0[0x0]=_0x161874;continue;}}_0x5cd5e0[_0x46db62(0x185)](_0x4baf76);}_0x22e858[_0x46db62(0x185)]([_0xcde296[_0x46db62(0x1a4)],_0x5cd5e0]);}return _0x22e858;}),this[_0x48f0a(0x165)](_0x1ac271,_0x48f0a(0x1fd),(_0x486fd5,_0x30825e)=>{const _0x3025a7=_0x48f0a;this[_0x3025a7(0x165)](_0x30825e,_0x3025a7(0x194),(_0x168d28,_0x1e22bf,_0x39c111,_0x21f01e)=>{const _0x49398a=_0x3025a7;_0x30825e[_0x49398a(0x1da)]&&(null==_0x39c111?(this[_0x49398a(0x158)](_0x21f01e[_0x49398a(0x18a)]),this[_0x49398a(0x1eb)](_0x30825e,!0x1)):(this[_0x49398a(0x158)](_0x39c111[_0x49398a(0x18a)]),null==_0x21f01e&&this[_0x49398a(0x1eb)](_0x30825e,!0x0)));}),null!==_0x30825e[_0x3025a7(0x1e1)]?this[_0x3025a7(0x158)](_0x30825e[_0x3025a7(0x18a)]):this[_0x3025a7(0x1eb)](_0x30825e,!0x1);}),this[_0x48f0a(0x165)](_0x1ac271,_0x48f0a(0x164),(_0x281c0d,_0x3b7e0c,_0x48e9f5)=>{const _0x1b7428=_0x48f0a;this[_0x1b7428(0x1ba)](_0x3b7e0c,_0x1b7428(0x194)),this[_0x1b7428(0x1d8)][_0x1b7428(0x166)](_0x3b7e0c),this[_0x1b7428(0x1ae)][_0x1b7428(0x203)](_0x3b7e0c)&&this[_0x1b7428(0x1b4)](_0x3b7e0c),_0x48e9f5&&this[_0x1b7428(0x158)](_0x48e9f5[_0x1b7428(0x18a)]);}),this[_0x48f0a(0x165)](_0x1ac271,_0x48f0a(0x1fe),(_0x40d741,_0x4faed0)=>{const _0x46a43b=_0x48f0a;this[_0x46a43b(0x158)](_0x4faed0);}),this[_0x48f0a(0x165)](_0x1a291f,_0x48f0a(0x1fc),()=>{const _0x5cd4d2=_0x48f0a;this[_0x5cd4d2(0x1fa)]();}),this[_0x48f0a(0x165)](_0x2d4b17,_0x48f0a(0x1bf),(_0x3d1a4b,{threadId:_0x2c61b5,isFromAdapter:_0x24e3ec})=>{const _0x218d81=_0x48f0a;if(_0x24e3ec||!_0x1ac271[_0x218d81(0x201)](_0x2c61b5))return;const _0x35410f=_0x1ac271[_0x218d81(0x178)](_0x2c61b5);this[_0x218d81(0x1ae)][_0x218d81(0x1e7)](_0x35410f)[_0x218d81(0x1a4)][_0x218d81(0x1d2)][_0x218d81(0x206)](-0x1);},{'priority':_0x48f0a(0x160)}),this[_0x48f0a(0x1ee)]=this[_0x48f0a(0x18b)][_0x48f0a(0x1f3)][_0x48f0a(0x1e7)](_0x48f0a(0x1ee));const _0x3a21ae=this[_0x48f0a(0x18b)];this[_0x48f0a(0x18d)]=setInterval(()=>{const _0x1b3d5f=_0x48f0a;let _0x29dd3d;for(const _0x5ac676 in _0x3a21ae){const _0x5b7321=_0x5ac676,_0x1c5762=_0x3a21ae[_0x5b7321];if(_0x1b3d5f(0x1bc)==_0x1c5762||_0x1b3d5f(0x19f)==_0x1c5762||_0x1b3d5f(0x1c6)==_0x1c5762||_0x1b3d5f(0x1e5)==_0x1c5762||_0x1b3d5f(0x175)==_0x1c5762||_0x1b3d5f(0x1b9)==_0x1c5762||_0x1b3d5f(0x1c8)==_0x1c5762){delete _0x3a21ae[_0x5b7321],_0x29dd3d=_0x1c5762,clearInterval(this[_0x1b3d5f(0x18d)]),this[_0x1b3d5f(0x18d)]=void 0x0;break;}}_0x1b3d5f(0x19f)==_0x29dd3d&&_0x3a21ae[_0x1b3d5f(0x161)](_0x1b3d5f(0x18f)),_0x1b3d5f(0x1c6)==_0x29dd3d&&_0x3a21ae[_0x1b3d5f(0x161)](_0x1b3d5f(0x15b)),_0x1b3d5f(0x1e5)==_0x29dd3d&&_0x3a21ae[_0x1b3d5f(0x161)](_0x1b3d5f(0x1ac)),_0x1b3d5f(0x175)==_0x29dd3d&&_0x3a21ae[_0x1b3d5f(0x161)](_0x1b3d5f(0x1a7),_0x1b3d5f(0x17a)),_0x1b3d5f(0x1b9)==_0x29dd3d&&_0x3a21ae[_0x1b3d5f(0x161)](_0x1b3d5f(0x1a0)),_0x1b3d5f(0x1c8)==_0x29dd3d&&_0x3a21ae[_0x1b3d5f(0x161)](_0x1b3d5f(0x1cc));},0x3e8);}[_0xf689b8(0x1cd)](_0x381cde){const _0x4c2bf5=_0xf689b8,_0x2a0e07=this[_0x4c2bf5(0x1ae)][_0x4c2bf5(0x1e7)](_0x381cde);if(!_0x2a0e07)return null;return this[_0x4c2bf5(0x18b)][_0x4c2bf5(0x1de)][_0x4c2bf5(0x1e7)](_0x4c2bf5(0x181))[_0x4c2bf5(0x1b0)](_0x2a0e07[_0x4c2bf5(0x1a4)])||null;}[_0xf689b8(0x172)](_0x17fe04){const _0x5c84cd=_0xf689b8,_0x37f56b=this[_0x5c84cd(0x1e4)][_0x5c84cd(0x1e7)](_0x17fe04[_0x5c84cd(0x1b5)]);return _0x37f56b?_0x37f56b[_0x5c84cd(0x1f6)]:null;}[_0xf689b8(0x1fa)](){const _0x5847d2=_0xf689b8,_0x42eb8e=this[_0x5847d2(0x18b)][_0x5847d2(0x1de)][_0x5847d2(0x1e7)](_0x5847d2(0x181)),_0x10d169=this[_0x5847d2(0x18b)][_0x5847d2(0x1de)][_0x5847d2(0x1e7)](_0x5847d2(0x179)),_0x36513d=Array[_0x5847d2(0x16c)](_0x42eb8e[_0x5847d2(0x190)],_0x4807f9=>_0x4807f9[_0x5847d2(0x1b5)])[_0x5847d2(0x192)](_0x1e9e64=>this[_0x5847d2(0x1e4)][_0x5847d2(0x203)](_0x1e9e64)),_0x5723fe=[];for(const _0x42cf2f of _0x36513d){const _0x1eb737=this[_0x5847d2(0x1e4)][_0x5847d2(0x1e7)](_0x42cf2f)[_0x5847d2(0x1f6)][_0x5847d2(0x15a)]();_0x5723fe[_0x5847d2(0x185)](..._0x1eb737[_0x5847d2(0x207)]((_0x2aee1f,_0x4c60de)=>[..._0x2aee1f,..._0x4c60de[_0x5847d2(0x16f)]()],[]));}_0x10d169[_0x5847d2(0x1d5)]=_0x5723fe;}[_0xf689b8(0x1e9)](){const _0x535726=_0xf689b8,_0x12f123=this[_0x535726(0x18b)],_0x5c225f=_0x12f123[_0x535726(0x1d1)],_0x41d5d8=_0x173213(_0x5c225f,_0x535726(0x16b)),_0x418ac2=new _0x23e1d5([{'type':_0x535726(0x17b),'model':new _0x4ff9ae({'withText':!0x0,'isToggleable':!0x0,'label':_0x41d5d8,'commandName':_0x535726(0x1d0),'role':_0x535726(0x1dc)})},{'type':_0x535726(0x1ed)},{'type':_0x535726(0x16a),'model':new _0x4ff9ae({'withText':!0x0,'label':_0x173213(_0x5c225f,_0x535726(0x1f7)),'commandName':_0x535726(0x1f5),'role':_0x535726(0x1e8)})},{'type':_0x535726(0x16a),'model':new _0x4ff9ae({'withText':!0x0,'label':_0x173213(_0x5c225f,_0x535726(0x170)),'commandName':_0x535726(0x1c9),'role':_0x535726(0x1e8)})},{'type':_0x535726(0x16a),'model':new _0x4ff9ae({'withText':!0x0,'label':_0x173213(_0x5c225f,_0x535726(0x19e)),'commandName':_0x535726(0x188),'role':_0x535726(0x1e8)})},{'type':_0x535726(0x16a),'model':new _0x4ff9ae({'withText':!0x0,'label':_0x173213(_0x5c225f,_0x535726(0x1dd)),'commandName':_0x535726(0x1ff),'role':_0x535726(0x1e8)})}]);_0x12f123[_0x535726(0x1de)][_0x535726(0x203)](_0x535726(0x1cf))&&_0x418ac2[_0x535726(0x176)]([{'type':_0x535726(0x1ed)},{'type':_0x535726(0x16a),'model':new _0x4ff9ae({'withText':!0x0,'label':_0x173213(_0x5c225f,_0x535726(0x1c2)),'commandName':_0x535726(0x159),'role':_0x535726(0x1e8)})}]);for(const _0x44fe5d of _0x418ac2)if(ke(_0x44fe5d)){const _0xced608=_0x12f123[_0x535726(0x1a9)][_0x535726(0x1e7)](_0x44fe5d[_0x535726(0x1f6)][_0x535726(0x163)]);_0x44fe5d[_0x535726(0x1f6)][_0x535726(0x1c0)](_0x535726(0x1ab),_0x535726(0x16d))['to'](_0xced608,_0x535726(0x1a1),_0x535726(0x16d));}_0x12f123['ui'][_0x535726(0x1ca)][_0x535726(0x1d7)](_0x535726(0x1d0),_0x3e1a68=>this[_0x535726(0x197)](_0x3e1a68,_0x418ac2,_0x41d5d8)),_0x12f123['ui'][_0x535726(0x1ca)][_0x535726(0x1d7)](_0x535726(0x183),_0x2a7569=>this[_0x535726(0x1d3)](_0x2a7569,_0x418ac2,_0x41d5d8));}[_0xf689b8(0x197)](_0x37824a,_0x21c13a,_0x5741ea){const _0x3389a2=_0xf689b8,_0x38767d=_0x168380(_0x37824a,_0x55c72b),_0x2d43bb=this[_0x3389a2(0x18b)][_0x3389a2(0x1a9)][_0x3389a2(0x1e7)](_0x3389a2(0x1d0));_0x38767d[_0x3389a2(0x1e0)][_0x3389a2(0x1f9)]({'tooltip':_0x5741ea,'label':_0x5741ea,'icon':_0x1cf292}),_0x38767d[_0x3389a2(0x1e0)][_0x3389a2(0x1c0)](_0x3389a2(0x1ab))['to'](_0x2d43bb,_0x3389a2(0x1a1)),_0x38767d[_0x3389a2(0x1e0)]['on'](_0x3389a2(0x187),()=>{const _0x5bd31b=_0x3389a2;_0x2d43bb[_0x5bd31b(0x187)](),this[_0x5bd31b(0x18b)][_0x5bd31b(0x1d4)][_0x5bd31b(0x1a4)][_0x5bd31b(0x206)]();}),_0x328e0c(_0x38767d,_0x21c13a,{'role':_0x3389a2(0x169)});const _0x2321bc=[];for(const _0x1a0e49 of _0x21c13a)ke(_0x1a0e49)&&_0x2321bc[_0x3389a2(0x185)](this[_0x3389a2(0x18b)][_0x3389a2(0x1a9)][_0x3389a2(0x1e7)](_0x1a0e49[_0x3389a2(0x1f6)][_0x3389a2(0x163)]));const _0x5dc1e7=_0x38767d[_0x3389a2(0x1e0)];return _0x5dc1e7[_0x3389a2(0x199)][_0x3389a2(0x19d)](_0x3389a2(0x16d)),_0x5dc1e7[_0x3389a2(0x1df)][_0x3389a2(0x19d)](_0x3389a2(0x16d)),_0x5dc1e7[_0x3389a2(0x199)][_0x3389a2(0x1c0)](_0x3389a2(0x16d))['to'](_0x2d43bb,_0x3389a2(0x16d)),_0x5dc1e7[_0x3389a2(0x1df)][_0x3389a2(0x1c0)](_0x3389a2(0x16d))[_0x3389a2(0x1b7)](_0x2321bc,_0x3389a2(0x16d),(..._0x174b86)=>_0x174b86[_0x3389a2(0x1db)](_0x3db6c9=>_0x3db6c9)),_0x38767d['on'](_0x3389a2(0x187),_0x2c80dc=>{const _0xedd28=_0x3389a2;this[_0xedd28(0x18b)][_0xedd28(0x187)](_0x2c80dc[_0xedd28(0x171)][_0xedd28(0x163)]),this[_0xedd28(0x18b)][_0xedd28(0x1d4)][_0xedd28(0x1a4)][_0xedd28(0x206)]();}),_0x38767d;}[_0xf689b8(0x1d3)](_0x55009f,_0x1672b2,_0x16ace3){const _0x1462d3=_0xf689b8,_0x1f0b19=new _0x2fb4d6(_0x55009f),_0x2d4134=this[_0x1462d3(0x18b)][_0x1462d3(0x1a9)][_0x1462d3(0x1e7)](_0x1462d3(0x1d0));_0x1f0b19[_0x1462d3(0x1e0)][_0x1462d3(0x1f9)]({'label':_0x16ace3,'icon':_0x1cf292});const _0x2e2973=new _0xd9219c(_0x55009f);for(const _0x34b0aa of _0x1672b2){if(_0x1462d3(0x1ed)==_0x34b0aa[_0x1462d3(0x195)]){_0x2e2973[_0x1462d3(0x1a5)][_0x1462d3(0x1d7)](new _0x3eef43(_0x55009f));continue;}const _0x45f78b=new _0x95ecf6(_0x55009f,_0x1f0b19),_0x4fe713=new _0x31b360(_0x55009f),_0x28751f=_0x34b0aa[_0x1462d3(0x1f6)];_0x4fe713[_0x1462d3(0x1c0)](...Object[_0x1462d3(0x177)](_0x28751f))['to'](_0x28751f),_0x4fe713[_0x1462d3(0x184)](_0x1462d3(0x187))['to'](_0x1f0b19),_0x4fe713['on'](_0x1462d3(0x187),()=>{const _0x73c522=_0x1462d3;this[_0x73c522(0x18b)][_0x73c522(0x187)](_0x28751f[_0x73c522(0x163)]),this[_0x73c522(0x18b)][_0x73c522(0x1d4)][_0x73c522(0x1a4)][_0x73c522(0x206)]();}),_0x45f78b[_0x1462d3(0x15f)][_0x1462d3(0x1d7)](_0x4fe713),_0x2e2973[_0x1462d3(0x1a5)][_0x1462d3(0x1d7)](_0x45f78b);}return _0x1f0b19[_0x1462d3(0x1c0)](_0x1462d3(0x16d))['to'](_0x2d4134,_0x1462d3(0x16d)),_0x1f0b19[_0x1462d3(0x1ea)][_0x1462d3(0x15f)][_0x1462d3(0x1d7)](_0x2e2973),_0x1f0b19;}[_0xf689b8(0x191)](_0xacc521){const _0x429eec=_0xf689b8,_0x4a6dd6=this[_0x429eec(0x18b)],_0xc62659=_0x4a6dd6[_0x429eec(0x1f3)],_0x33e931=_0x4a6dd6[_0x429eec(0x1de)][_0x429eec(0x1e7)](_0x429eec(0x181)),_0x7f1d1e=_0x4a6dd6[_0x429eec(0x1de)][_0x429eec(0x1e7)](_0x429eec(0x1e2)),_0x31f4a7=_0x4a6dd6[_0x429eec(0x1de)][_0x429eec(0x1e7)](_0x429eec(0x189)),_0x281bd2=_0x4a6dd6[_0x429eec(0x1de)][_0x429eec(0x1e7)](_0x2985e8)['me'],_0x23e8d1=_0xc62659[_0x429eec(0x1e7)](_0x429eec(0x1d0))[_0x429eec(0x180)],_0x213b0b=_0xc62659[_0x429eec(0x1e7)](_0x429eec(0x1d0))[_0x429eec(0x1c4)],{CommentsListView:_0x4728a0,CommentThreadInputView:_0x18ebda}=_0x4a6dd6[_0x429eec(0x1de)][_0x429eec(0x1e7)](_0x429eec(0x1c3));let _0x538eed,_0x53844c,_0x597c9e;this[_0x429eec(0x1d9)][_0x429eec(0x203)](_0xacc521['id'])?(_0x53844c=this[_0x429eec(0x1d9)][_0x429eec(0x1e7)](_0xacc521['id']),_0x538eed=_0x53844c[_0x429eec(0x1f8)]):(_0x538eed=new _0x23e8d1(_0x4a6dd6[_0x429eec(0x1d1)],_0xacc521,_0x281bd2,{'disableComments':this[_0x429eec(0x1ad)],'editorConfig':{..._0xc62659[_0x429eec(0x1e7)](_0x429eec(0x1c7)),'licenseKey':_0xc62659[_0x429eec(0x1e7)](_0x429eec(0x1ee))},'maxCommentsWhenCollapsed':_0xc62659[_0x429eec(0x1e7)](_0x429eec(0x1a6)),'maxThreadTotalWeight':_0xc62659[_0x429eec(0x1e7)](_0x429eec(0x186)),'maxCommentCharsWhenCollapsed':_0xc62659[_0x429eec(0x1e7)](_0x429eec(0x1e6)),'formatDateTime':_0x4c5226(_0xc62659[_0x429eec(0x1e7)](_0x429eec(0x1d1)),_0x4a6dd6[_0x429eec(0x1d1)]),'CommentView':_0xc62659[_0x429eec(0x1e7)](_0x429eec(0x1af))[_0x429eec(0x1a2)],'CommentsListView':_0x4728a0,'CommentThreadInputView':_0x18ebda,'SuggestionView':_0x213b0b}),_0x538eed[_0x429eec(0x198)][_0x429eec(0x17c)]['on'](_0x429eec(0x187),()=>{const _0x2fbc57=_0x429eec;_0x4a6dd6[_0x2fbc57(0x1d4)][_0x2fbc57(0x1a4)][_0x2fbc57(0x206)]();}),_0x538eed[_0x429eec(0x198)][_0x429eec(0x1ce)]['on'](_0x429eec(0x187),()=>{const _0xa58975=_0x429eec;_0x4a6dd6[_0xa58975(0x1d4)][_0xa58975(0x1a4)][_0xa58975(0x206)]();}),_0x53844c=_0x33e931[_0x429eec(0x1ef)](this[_0x429eec(0x18b)][_0x429eec(0x1d1)],_0x538eed),_0x53844c[_0x429eec(0x1c0)](_0x429eec(0x1a8))['to'](_0x538eed,_0x429eec(0x1a8)),_0x53844c[_0x429eec(0x1c0)](_0x429eec(0x196))['to'](_0x538eed),_0x53844c[_0x429eec(0x1c0)](_0x429eec(0x195))['to'](_0x538eed,_0x429eec(0x195),_0x37bd58=>_0x429eec(0x1f2)+_0x37bd58),_0x538eed['on'](_0x429eec(0x167),()=>{const _0x3b03b1=_0x429eec;_0x597c9e[_0x3b03b1(0x15c)](_0x3b03b1(0x167));}),this[_0x429eec(0x1d9)][_0x429eec(0x1f9)](_0xacc521['id'],_0x53844c));const _0x510dcf=_0x7f1d1e[_0x429eec(0x1f1)](_0xacc521[_0x429eec(0x16e)],_0x538eed),_0x267fca=new _0x55d6f9(_0x4a6dd6,_0xacc521,_0x538eed,_0x510dcf),_0x1839cd=_0xacc521[_0x429eec(0x15a)]()[_0x429eec(0x192)](_0x1bd179=>_0x1bd179[_0x429eec(0x1da)]);_0x538eed[_0x429eec(0x202)]=_0x4a6dd6[_0x429eec(0x1de)][_0x429eec(0x1e7)](_0x429eec(0x179))[_0x429eec(0x17f)][_0x429eec(0x1b2)](_0x1839cd),this[_0x429eec(0x1ae)][_0x429eec(0x1f9)](_0xacc521,_0x267fca),this[_0x429eec(0x1e4)][_0x429eec(0x1f9)](_0x538eed,_0x267fca);const _0x451b04=()=>{const _0x1f24a1=_0x429eec,_0x316f1f=[],_0x281a87=_0xacc521[_0x1f24a1(0x15a)]()[_0x1f24a1(0x192)](_0x326904=>_0x326904[_0x1f24a1(0x1da)]);for(const _0x45a043 of _0x281a87)_0x316f1f[_0x1f24a1(0x185)](..._0x45a043[_0x1f24a1(0x168)]());return _0x2934d9(_0x4a6dd6[_0x1f24a1(0x1d4)],_0x316f1f);};_0x597c9e=_0x33e931[_0x429eec(0x1bd)]({'view':_0x53844c,'target':_0x451b04,'type':()=>_0x429eec(0x1f2)+_0x267fca[_0x429eec(0x1a4)][_0x429eec(0x195)],'isVisible':!!_0x451b04()}),_0x7f1d1e[_0x429eec(0x1b3)](_0x538eed,_0x597c9e),_0x33e931[_0x429eec(0x1d7)](_0x597c9e),_0x31f4a7[_0x429eec(0x1be)](_0x597c9e);}[_0xf689b8(0x1b4)](_0x118f68){const _0x23b6a3=_0xf689b8,_0x2c687d=this[_0x23b6a3(0x18b)][_0x23b6a3(0x1de)][_0x23b6a3(0x1e7)](_0x23b6a3(0x1e2)),_0x3de354=this[_0x23b6a3(0x18b)][_0x23b6a3(0x1de)][_0x23b6a3(0x1e7)](_0x23b6a3(0x181)),_0xddcbae=this[_0x23b6a3(0x1ae)][_0x23b6a3(0x1e7)](_0x118f68),_0x226555=_0xddcbae[_0x23b6a3(0x1a4)],_0x3094b9=_0x3de354[_0x23b6a3(0x1b0)](_0x226555);_0x2c687d[_0x23b6a3(0x1e3)](_0x226555),_0x3094b9&&_0x3de354[_0x23b6a3(0x193)](_0x3094b9),this[_0x23b6a3(0x1ae)][_0x23b6a3(0x166)](_0x118f68),this[_0x23b6a3(0x1e4)][_0x23b6a3(0x166)](_0x226555),_0xddcbae[_0x23b6a3(0x1b6)]();}[_0xf689b8(0x158)](_0xcef6f1){const _0x304c37=_0xf689b8;if(!_0xcef6f1[_0x304c37(0x1da)]||!this[_0x304c37(0x1ae)][_0x304c37(0x203)](_0xcef6f1))return;const _0x387771=this[_0x304c37(0x18b)][_0x304c37(0x1de)][_0x304c37(0x1e7)](_0x304c37(0x179)),_0x32042e=this[_0x304c37(0x1ae)][_0x304c37(0x1e7)](_0xcef6f1),_0x2e6386=_0xcef6f1[_0x304c37(0x15a)]();_0x32042e[_0x304c37(0x1a4)][_0x304c37(0x202)]=_0x387771[_0x304c37(0x17f)][_0x304c37(0x1b2)](_0x2e6386);}[_0xf689b8(0x1b6)](){const _0x2caa22=_0xf689b8;for(const _0x5e41ed of this[_0x2caa22(0x1ae)][_0x2caa22(0x177)]())this[_0x2caa22(0x1b4)](_0x5e41ed);for(const _0x526be1 of this[_0x2caa22(0x1d9)][_0x2caa22(0x19a)]())_0x526be1[_0x2caa22(0x1f8)][_0x2caa22(0x1b6)]();super[_0x2caa22(0x1b6)](),this[_0x2caa22(0x18d)]&&clearInterval(this[_0x2caa22(0x18d)]);}}function ke(_0x4b0e07){const _0x258bd5=_0xf689b8;return _0x258bd5(0x1f6)in _0x4b0e07;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x503649=_0x7166;(function(_0x4a48d3,_0x17cfe1){const _0x44c7ec=_0x7166,_0x2db8e7=_0x4a48d3();while(!![]){try{const _0x414e2f=-parseInt(_0x44c7ec(0x112))/0x1*(-parseInt(_0x44c7ec(0x11f))/0x2)+-parseInt(_0x44c7ec(0x11d))/0x3+parseInt(_0x44c7ec(0x131))/0x4+-parseInt(_0x44c7ec(0x11a))/0x5*(parseInt(_0x44c7ec(0x10d))/0x6)+-parseInt(_0x44c7ec(0x109))/0x7+parseInt(_0x44c7ec(0x128))/0x8*(-parseInt(_0x44c7ec(0x122))/0x9)+parseInt(_0x44c7ec(0x124))/0xa;if(_0x414e2f===_0x17cfe1)break;else _0x2db8e7['push'](_0x2db8e7['shift']());}catch(_0x87708c){_0x2db8e7['push'](_0x2db8e7['shift']());}}}(_0x1de2,0x202eb));function _0x7166(_0x32c17d,_0x573e67){const _0x1de20c=_0x1de2();return _0x7166=function(_0x71664c,_0x303df7){_0x71664c=_0x71664c-0x109;let _0x4904c8=_0x1de20c[_0x71664c];return _0x4904c8;},_0x7166(_0x32c17d,_0x573e67);}function _0x1de2(){const _0x3b7862=['484029ejPRJZ','isDirty','acceptSuggestion','_setPendingAction','12Lkbnbf','plugins','unbind','remove','_removePendingAction','5AGuKeC','commentThreadController','destroy','canDiscard','_acceptCommand','locale','PENDING_ACTION_SUGGESTION','PendingActions','209845AmxygI','commands','bind','26607dgVGBS','_editor','9498gzEHpD','stopListening','change:isDirty','117PZTuAh','canEditAt','3832940lNfQYs','discardSuggestion','_discardCommand','model','111288grxhZF','add','listenTo','execute','view','get','getRanges','_pendingAction','isEnabled','270308VKBrBn','canAccept'];_0x1de2=function(){return _0x3b7862;};return _0x1de2();}import{ObservableMixin as _0x11543b}from'ckeditor5/src/utils.js';import{getTranslation as _0x5eddeb}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x11543b(){[_0x503649(0x127)];[_0x503649(0x12c)];[_0x503649(0x113)];[_0x503649(0x11e)];[_0x503649(0x116)];[_0x503649(0x126)];[_0x503649(0x12f)];constructor(_0x4e9bfe,_0x2af687,_0x5ed7a5,_0x1d078c){const _0x4e4124=_0x503649;super(),this[_0x4e4124(0x127)]=_0x2af687,this[_0x4e4124(0x12c)]=_0x5ed7a5,this[_0x4e4124(0x113)]=_0x1d078c,this[_0x4e4124(0x11e)]=_0x4e9bfe,this[_0x4e4124(0x116)]=_0x4e9bfe[_0x4e4124(0x11b)][_0x4e4124(0x12d)](_0x4e4124(0x10b)),this[_0x4e4124(0x126)]=_0x4e9bfe[_0x4e4124(0x11b)][_0x4e4124(0x12d)](_0x4e4124(0x125)),this[_0x4e4124(0x12c)][_0x4e4124(0x11c)](_0x4e4124(0x130))['to'](this[_0x4e4124(0x116)],this[_0x4e4124(0x126)],(_0x29e13e,_0xefb67e)=>_0x29e13e||_0xefb67e),this[_0x4e4124(0x12c)][_0x4e4124(0x11c)](_0x4e4124(0x132))['to'](this[_0x4e4124(0x116)],_0x4e4124(0x130),_0x230eac=>_0x230eac&&this[_0x4e4124(0x11e)][_0x4e4124(0x127)][_0x4e4124(0x123)](_0x2af687[_0x4e4124(0x12e)]())),this[_0x4e4124(0x12c)][_0x4e4124(0x11c)](_0x4e4124(0x115))['to'](this[_0x4e4124(0x126)],_0x4e4124(0x130),_0x308bf6=>_0x308bf6&&this[_0x4e4124(0x11e)][_0x4e4124(0x127)][_0x4e4124(0x123)](_0x2af687[_0x4e4124(0x12e)]())),this[_0x4e4124(0x12f)]=null,_0x5ed7a5[_0x4e4124(0x10a)]&&this[_0x4e4124(0x10c)](),this[_0x4e4124(0x12a)](_0x5ed7a5,_0x4e4124(0x10b),()=>this[_0x4e4124(0x10b)]()),this[_0x4e4124(0x12a)](_0x5ed7a5,_0x4e4124(0x125),()=>this[_0x4e4124(0x125)]()),this[_0x4e4124(0x12a)](_0x5ed7a5,_0x4e4124(0x121),()=>{const _0x524f32=_0x4e4124;_0x5ed7a5[_0x524f32(0x10a)]?this[_0x524f32(0x10c)]():this[_0x524f32(0x111)]();});}[_0x503649(0x10b)](){const _0x23454c=_0x503649;this[_0x23454c(0x116)][_0x23454c(0x12b)](this[_0x23454c(0x127)]['id']);}[_0x503649(0x125)](){const _0x26e720=_0x503649;this[_0x26e720(0x126)][_0x26e720(0x12b)](this[_0x26e720(0x127)]['id']);}[_0x503649(0x114)](){const _0x253185=_0x503649;this[_0x253185(0x12c)][_0x253185(0x10f)](_0x253185(0x130)),this[_0x253185(0x12c)][_0x253185(0x10f)](_0x253185(0x132)),this[_0x253185(0x12c)][_0x253185(0x10f)](_0x253185(0x115)),this[_0x253185(0x120)](),this[_0x253185(0x113)][_0x253185(0x114)](),this[_0x253185(0x12f)]&&this[_0x253185(0x111)]();}[_0x503649(0x10c)](){const _0x115d61=_0x503649,_0x191aba=_0x5eddeb(this[_0x115d61(0x11e)][_0x115d61(0x117)],_0x115d61(0x118));this[_0x115d61(0x12f)]=this[_0x115d61(0x11e)][_0x115d61(0x10e)][_0x115d61(0x12d)](_0x115d61(0x119))[_0x115d61(0x129)](_0x191aba);}[_0x503649(0x111)](){const _0x3ec304=_0x503649;null!==this[_0x3ec304(0x12f)]&&this[_0x3ec304(0x11e)][_0x3ec304(0x10e)][_0x3ec304(0x12d)](_0x3ec304(0x119))[_0x3ec304(0x110)](this[_0x3ec304(0x12f)]),this[_0x3ec304(0x12f)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4f93(){const _0x1951fd=['230pqhidX','597326pLuBRh','1627132zUxyqq','submit','tab','ariaLabel','content','focusables','set','descriptionParts','disableComments','91652WzDVXn','commentThread','updateComment','locale','commentThreadInputView','20990EWddGo','element','author','399488cNgRUz','416763YkjzGK','canAccept','disabledSubmit','SUGGESTION_THREAD_DESCRIPTION','assign','editorConfig','name','CommentView','focus','cancel','90DYDFWQ','body','isDirty','commentInputView','length','map','_createCommentViews','isEnabled','isActive','target','destroy','commentsListView','parseFromString','hasDirtyComment','canDiscard','formatDateTime','918FZuubT','delegate','removeComment','setData','focusTracker','shift+tab','15464394nqgKkz','_createCommentThreadInputView','textContent','_localUser','render','bind','keystrokes','_model','showInput','_config','SUGGESTION_THREAD_ARIA_LABEL','ariaDescriptionView','addComment','editor','fire','focusCycler','authoredAt','text/html','isReadOnly','119IbJpVf','value','join'];_0x4f93=function(){return _0x1951fd;};return _0x4f93();}const _0x3a8f40=_0x44ff;function _0x44ff(_0x247341,_0x3aa4f9){const _0x4f9399=_0x4f93();return _0x44ff=function(_0x44ff46,_0x9378b0){_0x44ff46=_0x44ff46-0xdc;let _0x578489=_0x4f9399[_0x44ff46];return _0x578489;},_0x44ff(_0x247341,_0x3aa4f9);}(function(_0x1abf1e,_0x408b50){const _0x59680a=_0x44ff,_0x169399=_0x1abf1e();while(!![]){try{const _0x5afc0b=-parseInt(_0x59680a(0x116))/0x1+parseInt(_0x59680a(0x117))/0x2+-parseInt(_0x59680a(0xe9))/0x3*(-parseInt(_0x59680a(0x120))/0x4)+parseInt(_0x59680a(0x125))/0x5*(-parseInt(_0x59680a(0xf9))/0x6)+parseInt(_0x59680a(0x112))/0x7*(parseInt(_0x59680a(0xde))/0x8)+-parseInt(_0x59680a(0xdf))/0x9*(-parseInt(_0x59680a(0x115))/0xa)+-parseInt(_0x59680a(0xff))/0xb;if(_0x5afc0b===_0x408b50)break;else _0x169399['push'](_0x169399['shift']());}catch(_0x130543){_0x169399['push'](_0x169399['shift']());}}}(_0x4f93,0xbbdaf));import{FocusCycler as _0x3db726,View as _0x2c107f,ViewCollection as _0x40abab}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2dc8b1,KeystrokeHandler as _0x388486}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x33b6d2,setupThreadKeyboardNavigation as _0x14c073}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x590d73}from'../../utils/common-translations.js';import{renderDescription as _0x5acf18}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x2c107f{[_0x3a8f40(0xf4)];[_0x3a8f40(0x124)];[_0x3a8f40(0x10a)];[_0x3a8f40(0x11c)];[_0x3a8f40(0xfd)];[_0x3a8f40(0x105)];[_0x3a8f40(0x10e)];[_0x3a8f40(0x106)];[_0x3a8f40(0x102)];[_0x3a8f40(0x108)];constructor(_0x4e50af,_0x7ff0b0,_0x2cc0a1,_0x5c5408){const _0x3f8a7b=_0x3a8f40;super(_0x4e50af),this[_0x3f8a7b(0xf4)]=null,this[_0x3f8a7b(0x124)]=null,this[_0x3f8a7b(0x10a)]=new _0x33b6d2(_0x4e50af,_0x590d73(_0x4e50af,_0x3f8a7b(0xe2))),this[_0x3f8a7b(0x11d)](_0x3f8a7b(0xf1),!0x1),this[_0x3f8a7b(0x11d)](_0x3f8a7b(0x10f),_0x7ff0b0[_0x3f8a7b(0x10f)]),this[_0x3f8a7b(0x104)](_0x3f8a7b(0x10f))['to'](_0x7ff0b0),this[_0x3f8a7b(0x11d)](_0x3f8a7b(0x11e),[]),this[_0x3f8a7b(0x11d)](_0x3f8a7b(0xeb),!0x1),this[_0x3f8a7b(0x11d)](_0x3f8a7b(0xf0),!0x1),this[_0x3f8a7b(0x11d)](_0x3f8a7b(0xe0),!0x1),this[_0x3f8a7b(0x11d)](_0x3f8a7b(0xf7),!0x1),this[_0x3f8a7b(0x104)](_0x3f8a7b(0x11a))['to'](this,_0x3f8a7b(0xed),_0x7ff0b0,_0x3f8a7b(0x10f),this,_0x3f8a7b(0x11e),(_0x38654c,_0x147ab7,_0x2539f7)=>{const _0x5cdb81=_0x3f8a7b,_0x3c1f30=_0x2539f7[_0x5cdb81(0xee)](_0x392024=>_0x5acf18(_0x392024[_0x5cdb81(0x11b)]))[_0x5cdb81(0x114)]('.\x20')+'.';return _0x590d73(this[_0x5cdb81(0x123)],_0x5cdb81(0x109),[_0x38654c-0x1,_0x7ff0b0[_0x5cdb81(0xdd)][_0x5cdb81(0xe5)],_0x147ab7?_0x5c5408[_0x5cdb81(0xf8)](_0x147ab7):'',new DOMParser()[_0x5cdb81(0xf5)](_0x3c1f30,_0x5cdb81(0x110))[_0x5cdb81(0xea)][_0x5cdb81(0x101)]]);}),this[_0x3f8a7b(0x11c)]=new _0x40abab(),this[_0x3f8a7b(0xfd)]=new _0x2dc8b1(),this[_0x3f8a7b(0x105)]=new _0x388486(),this[_0x3f8a7b(0x10e)]=new _0x3db726({'focusables':this[_0x3f8a7b(0x11c)],'focusTracker':this[_0x3f8a7b(0xfd)],'keystrokeHandler':this[_0x3f8a7b(0x105)],'keystrokeHandlerOptions':{'filter':_0x35c9b2=>_0x35c9b2[_0x3f8a7b(0xf2)]!==this[_0x3f8a7b(0xdc)]},'actions':{'focusPrevious':_0x3f8a7b(0xfe),'focusNext':_0x3f8a7b(0x119)}}),this[_0x3f8a7b(0x106)]=_0x7ff0b0,this[_0x3f8a7b(0x102)]=_0x2cc0a1,this[_0x3f8a7b(0x108)]=_0x5c5408,_0x5c5408[_0x3f8a7b(0x11f)]?this[_0x3f8a7b(0x11d)](_0x3f8a7b(0xed),0x1):this[_0x3f8a7b(0xef)]();}[_0x3a8f40(0x103)](){const _0x2c1815=_0x3a8f40;super[_0x2c1815(0x103)](),_0x14c073(this,this[_0x2c1815(0x11c)]);}[_0x3a8f40(0xe7)](){const _0x113a17=_0x3a8f40;this[_0x113a17(0xdc)][_0x113a17(0xe7)]();}[_0x3a8f40(0xf3)](){const _0x6dd37a=_0x3a8f40;this[_0x6dd37a(0xf4)]&&this[_0x6dd37a(0xf4)][_0x6dd37a(0xf3)](),this[_0x6dd37a(0x124)]&&this[_0x6dd37a(0x124)][_0x6dd37a(0xf3)](),super[_0x6dd37a(0xf3)]();}[_0x3a8f40(0xef)](){const _0x1d36f1=_0x3a8f40,{CommentsListView:_0x2cb52c}=this[_0x1d36f1(0x108)];this[_0x1d36f1(0xf4)]=new _0x2cb52c(this[_0x1d36f1(0x123)],this[_0x1d36f1(0x106)][_0x1d36f1(0x121)],Object[_0x1d36f1(0xe3)]({'CommentView':this[_0x1d36f1(0x108)][_0x1d36f1(0xe6)]},this[_0x1d36f1(0x108)])),this[_0x1d36f1(0xf4)][_0x1d36f1(0xfa)](_0x1d36f1(0xfb))['to'](this),this[_0x1d36f1(0xf4)][_0x1d36f1(0xfa)](_0x1d36f1(0x122))['to'](this),this[_0x1d36f1(0xf4)][_0x1d36f1(0x104)](_0x1d36f1(0xf1))['to'](this),this[_0x1d36f1(0x11d)](_0x1d36f1(0xed),this[_0x1d36f1(0xf4)][_0x1d36f1(0xed)]+0x1),this[_0x1d36f1(0x104)](_0x1d36f1(0xed))['to'](this[_0x1d36f1(0xf4)],_0x1d36f1(0xed),_0x56983a=>_0x56983a+0x1),this[_0x1d36f1(0x124)]=this[_0x1d36f1(0x100)](),this['on'](_0x1d36f1(0xfb),()=>this[_0x1d36f1(0xe7)]()),this[_0x1d36f1(0x104)](_0x1d36f1(0xeb))['to'](this[_0x1d36f1(0xf4)],_0x1d36f1(0xf6),this[_0x1d36f1(0x124)][_0x1d36f1(0xec)],_0x1d36f1(0x113),(_0x2ad66c,_0x3dfdfa)=>_0x2ad66c||!!_0x3dfdfa);}[_0x3a8f40(0x100)](){const _0x234b48=_0x3a8f40,{CommentThreadInputView:_0x371c75}=this[_0x234b48(0x108)],_0x5eb72a=new _0x371c75(this[_0x234b48(0x123)],this[_0x234b48(0x102)],this[_0x234b48(0x108)][_0x234b48(0xe4)]),_0x3e2bd1=_0x5eb72a[_0x234b48(0xec)];return _0x5eb72a[_0x234b48(0x104)](_0x234b48(0x107))['to'](this,_0x234b48(0xf1),this[_0x234b48(0x106)][_0x234b48(0x121)],_0x234b48(0x111),_0x3e2bd1,_0x234b48(0x113),(_0x29775b,_0x3b2410,_0x51047a)=>!!_0x51047a||_0x29775b&&!_0x3b2410),_0x3e2bd1['on'](_0x234b48(0x118),(_0x5fbcdf,_0x536061)=>{const _0x301673=_0x234b48;this[_0x301673(0x10d)](_0x301673(0x10b),_0x536061),_0x3e2bd1[_0x301673(0x10c)][_0x301673(0xfc)]('');}),_0x3e2bd1['on'](_0x234b48(0xe8),()=>this[_0x234b48(0xe7)]()),_0x3e2bd1[_0x234b48(0x104)](_0x234b48(0xe1))['to'](this[_0x234b48(0x106)][_0x234b48(0x121)],_0x234b48(0x111)),_0x5eb72a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ff422=_0x4bb8;(function(_0x10f495,_0x2cffc5){const _0x24463=_0x4bb8,_0x10695b=_0x10f495();while(!![]){try{const _0x473638=parseInt(_0x24463(0xf4))/0x1*(-parseInt(_0x24463(0xe8))/0x2)+parseInt(_0x24463(0xf8))/0x3*(-parseInt(_0x24463(0x10c))/0x4)+parseInt(_0x24463(0x101))/0x5*(parseInt(_0x24463(0xe5))/0x6)+-parseInt(_0x24463(0x10b))/0x7*(parseInt(_0x24463(0x109))/0x8)+-parseInt(_0x24463(0xed))/0x9*(-parseInt(_0x24463(0x119))/0xa)+-parseInt(_0x24463(0xe2))/0xb*(-parseInt(_0x24463(0xe4))/0xc)+parseInt(_0x24463(0x112))/0xd;if(_0x473638===_0x2cffc5)break;else _0x10695b['push'](_0x10695b['shift']());}catch(_0x972870){_0x10695b['push'](_0x10695b['shift']());}}}(_0x5b1a,0x94e1f));function _0x4bb8(_0xbe494f,_0x2bfaba){const _0x5b1a99=_0x5b1a();return _0x4bb8=function(_0x4bb88e,_0x2a8554){_0x4bb88e=_0x4bb88e-0xdf;let _0x46a893=_0x5b1a99[_0x4bb88e];return _0x46a893;},_0x4bb8(_0xbe494f,_0x2bfaba);}import{BaseSuggestionThreadView as _0x3cc128}from'./basesuggestionthreadview.js';import{trimHtml as _0x44f1ee}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5b1a(){const _0x275821=['1599VOlazm','description','ck-suggestion-wrapper--active','isEnabled','render','ariaLabel','_config','color','acceptButton','5akgSrI','formatDateTime','commentThread','content','ck-suggestion-','SuggestionView','bind','getTemplate','88aVkysH','push','759927xUcldk','8468wVMApw','canAccept','</p>','ck-suggestion-wrapper','canDiscard','discardButton','14552486wKemLT','add','type','delegate','editorReady','bindTemplate','commentThreadInputView','21640sIDffV','disableComments','div','listitem','ariaDescriptionView','5091493BohZUn','descriptionParts','24SrSGZI','5601756GqFOdW','ck-rounded-corners','editorDestroyed','342302WWwLvF','focusables','suggestionView','<p>','acceptSuggestion','3366xbQFvj','setTemplate','set','isActive','discardSuggestion','ck-suggestion--disabled-comments','author','5SDXpRa','_model','commentsListView','_descriptionElement'];_0x5b1a=function(){return _0x275821;};return _0x5b1a();}import{renderDescription as _0x3c0e10}from'../../utils/utils.js';export class SuggestionThreadView extends _0x3cc128{[_0x1ff422(0xea)];[_0x1ff422(0xf7)];constructor(_0x486f27,_0x4f5169,_0x3526d5,_0xdb7ef0){const _0x5e62c9=_0x1ff422;super(_0x486f27,_0x4f5169,_0x3526d5,_0xdb7ef0),this[_0x5e62c9(0xef)](_0x5e62c9(0x114),''),this[_0x5e62c9(0x107)](_0x5e62c9(0x114))['to'](this,_0x5e62c9(0xe3),_0x7b37c5=>_0x7b37c5&&_0x7b37c5[0x0]?_0x7b37c5[0x0][_0x5e62c9(0x114)]:''),this[_0x5e62c9(0x107)](_0x5e62c9(0xf9))['to'](this,_0x5e62c9(0xe3),this,_0x5e62c9(0xf0),(_0x4b7ddb,_0x262a0f)=>{const _0x2e136a=_0x5e62c9;let _0x3fcd14='';for(const _0x5a9594 of _0x4b7ddb)_0x3fcd14+=_0x2e136a(0xeb)+_0x3c0e10(_0x5a9594[_0x2e136a(0x104)],_0x5a9594[_0x2e136a(0xff)])+_0x2e136a(0x10e);return _0x262a0f?_0x3fcd14:_0x44f1ee(_0x3fcd14,{'limit':0x8c});}),this[_0x5e62c9(0xf7)]=null,this[_0x5e62c9(0xea)]=new _0xdb7ef0[(_0x5e62c9(0x106))](_0x486f27,_0x4f5169,{'formatDateTime':_0xdb7ef0[_0x5e62c9(0x102)]}),this[_0x5e62c9(0xea)][_0x5e62c9(0x107)](_0x5e62c9(0xf9))['to'](this),this[_0x5e62c9(0xea)][_0x5e62c9(0x115)](_0x5e62c9(0xec),_0x5e62c9(0xf1))['to'](this),this[_0x5e62c9(0xea)][_0x5e62c9(0x100)][_0x5e62c9(0x107)](_0x5e62c9(0xfb))['to'](this,_0x5e62c9(0x10d)),this[_0x5e62c9(0xea)][_0x5e62c9(0x111)][_0x5e62c9(0x107)](_0x5e62c9(0xfb))['to'](this,_0x5e62c9(0x110)),this[_0x5e62c9(0xe9)][_0x5e62c9(0x113)](this[_0x5e62c9(0xea)]),this[_0x5e62c9(0xf6)]&&this[_0x5e62c9(0xe9)][_0x5e62c9(0x113)](this[_0x5e62c9(0xf6)]),this[_0x5e62c9(0x118)]&&this[_0x5e62c9(0xe9)][_0x5e62c9(0x113)](this[_0x5e62c9(0x118)]),this[_0x5e62c9(0xee)](this[_0x5e62c9(0x108)]());}[_0x1ff422(0x108)](){const _0x53bc35=_0x1ff422,_0x3dcfb3=this[_0x53bc35(0x117)],_0x3b90c9=[this[_0x53bc35(0xea)]];return this[_0x53bc35(0xf6)]&&_0x3b90c9[_0x53bc35(0x10a)](this[_0x53bc35(0xf6)]),this[_0x53bc35(0x118)]&&_0x3b90c9[_0x53bc35(0x10a)](this[_0x53bc35(0x118)]),_0x3b90c9[_0x53bc35(0x10a)](this[_0x53bc35(0xe1)]),{'tag':_0x53bc35(0xdf),'attributes':{'class':['ck',_0x53bc35(0xe6),_0x53bc35(0x10f),_0x3dcfb3['if'](_0x53bc35(0xf0),_0x53bc35(0xfa)),_0x3dcfb3['to'](_0x53bc35(0x114),_0xd79095=>_0x53bc35(0x105)+_0xd79095),this[_0x53bc35(0xfe)][_0x53bc35(0x11a)]&&_0x53bc35(0xf2)],'data-suggestion-id':this[_0x53bc35(0xf5)]['id'],'data-thread-id':this[_0x53bc35(0xf5)][_0x53bc35(0x103)]['id'],'data-author-id':this[_0x53bc35(0xf5)][_0x53bc35(0xf3)]['id'],'tabindex':0x0,'role':_0x53bc35(0xe0),'aria-label':_0x3dcfb3['to'](_0x53bc35(0xfd)),'aria-describedby':this[_0x53bc35(0xe1)]['id']},'children':_0x3b90c9};}[_0x1ff422(0xfc)](){const _0x181981=_0x1ff422;super[_0x181981(0xfc)](),this[_0x181981(0xf6)]&&(this[_0x181981(0xf6)][_0x181981(0x115)](_0x181981(0x116))['to'](this),this[_0x181981(0xf6)][_0x181981(0x115)](_0x181981(0xe7))['to'](this)),this[_0x181981(0x118)]&&(this[_0x181981(0x118)][_0x181981(0x115)](_0x181981(0x116))['to'](this),this[_0x181981(0x118)][_0x181981(0x115)](_0x181981(0xe7))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2eeeaa=_0x2f48;(function(_0x3ad976,_0x3052bb){const _0xc4c134=_0x2f48,_0x43edf2=_0x3ad976();while(!![]){try{const _0x26d198=-parseInt(_0xc4c134(0x1b1))/0x1+-parseInt(_0xc4c134(0x173))/0x2+-parseInt(_0xc4c134(0x1ab))/0x3*(-parseInt(_0xc4c134(0x1b7))/0x4)+-parseInt(_0xc4c134(0x174))/0x5*(-parseInt(_0xc4c134(0x185))/0x6)+-parseInt(_0xc4c134(0x1c2))/0x7+parseInt(_0xc4c134(0x1af))/0x8+-parseInt(_0xc4c134(0x17b))/0x9*(parseInt(_0xc4c134(0x18b))/0xa);if(_0x26d198===_0x3052bb)break;else _0x43edf2['push'](_0x43edf2['shift']());}catch(_0x149389){_0x43edf2['push'](_0x43edf2['shift']());}}}(_0x3ad2,0x8c0ce));function _0x2f48(_0x54a96f,_0x3d7c9c){const _0x3ad271=_0x3ad2();return _0x2f48=function(_0x2f4812,_0x23a016){_0x2f4812=_0x2f4812-0x16c;let _0x473a98=_0x3ad271[_0x2f4812];return _0x473a98;},_0x2f48(_0x54a96f,_0x3d7c9c);}import{FocusTracker as _0x2078fd,KeystrokeHandler as _0x5e51df}from'ckeditor5/src/utils.js';import{View as _0x1ac33f,ViewCollection as _0x5c2c8c,FocusCycler as _0x4ee0a8}from'ckeditor5/src/ui.js';function _0x3ad2(){const _0x442cf5=['querySelector','ck-suggestion__main','importWord','change:description','add','description','focusFirst','execute','ck-suggestion__actions','_model','ck-suggestion__user','_setupKeyboardNavigation','esc','acceptSuggestion','author','source','shift+tab','ck-suggestion--discard','discardButton','@external','bind','fire','enter','407805ZITdoE','discardSuggestion','ck-annotation__info-time','set','7287568tQXDNY','tab','443532jHkeea','creator','locale','ck-suggestion','presentation','ck-annotation__actions','4fuEiQT','element','ck-annotation','attributes','time','span','authoredAt','ck-suggestion__info-name','getExternalSuggestionNote','EXTERNAL_IMPORT_WORD_AVATAR','Accept\x20suggestion','2079847speFie','focus','div','EXTERNAL_IMPORT_WORD_SUGGESTION','keystrokes','ck-comment__info-time','name','focusCycler','ck-suggestion__info','userView','932696QIaDoj','1020qdYsJK','setTemplate','formatDateTime','focusables','acceptButton','target','innerHTML','18teQIkr','render','EXTERNAL_AVATAR','EXTERNAL_SUGGESTION','bindTemplate','ck-suggestion--accept','_createButton','isExternal','extendTemplate','ck-annotation__user','29910cGAGEq','ck-comment__external','getTemplate','ck-annotation__main','ck-annotation__info-name','getUserViewNotificationText','1415870bGCSMN','push','Discard\x20suggestion','_config','ck-annotation__info','focusTracker','ck-annotation__content-wrapper','listenTo','.ck-annotation__content-wrapper'];_0x3ad2=function(){return _0x442cf5;};return _0x3ad2();}import{LateFocusButtonView as _0xef97b5,UserView as _0xf40e5b}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x386b12,IconCheck as _0x1715eb}from'ckeditor5/src/icons.js';import{getTranslation as _0x5b431d}from'../../utils/common-translations.js';export class SuggestionView extends _0x1ac33f{[_0x2eeeaa(0x172)];[_0x2eeeaa(0x178)];[_0x2eeeaa(0x1a6)];[_0x2eeeaa(0x177)];[_0x2eeeaa(0x190)];[_0x2eeeaa(0x16d)];[_0x2eeeaa(0x170)];[_0x2eeeaa(0x19d)];[_0x2eeeaa(0x18e)];constructor(_0x376cf0,_0x5bc251,_0x3e092b){const _0x1ada66=_0x2eeeaa;super(_0x376cf0),this[_0x1ada66(0x19d)]=_0x5bc251,this[_0x1ada66(0x18e)]=_0x3e092b,this[_0x1ada66(0x1ae)](_0x1ada66(0x199),''),this[_0x1ada66(0x1a8)](_0x1ada66(0x1bd))['to'](_0x5bc251),this[_0x1ada66(0x178)]=this[_0x1ada66(0x181)](_0x5b431d(_0x376cf0,_0x1ada66(0x1c1)),_0x1715eb,_0x1ada66(0x180),_0x1ada66(0x1a1),'sw'),this[_0x1ada66(0x1a6)]=this[_0x1ada66(0x181)](_0x5b431d(_0x376cf0,_0x1ada66(0x18d)),_0x386b12,_0x1ada66(0x1a5),_0x1ada66(0x1ac),'sw'),this[_0x1ada66(0x172)]=new _0xf40e5b(_0x376cf0,_0x5bc251[_0x1ada66(0x1a2)],this[_0x1ada66(0x18a)]()),this[_0x1ada66(0x172)][_0x1ada66(0x183)]({'attributes':{'class':[_0x1ada66(0x19e),_0x1ada66(0x184)],'aria-hidden':!0x0}}),this[_0x1ada66(0x177)]=new _0x5c2c8c([this[_0x1ada66(0x178)],this[_0x1ada66(0x1a6)]]),this[_0x1ada66(0x190)]=new _0x2078fd(),this[_0x1ada66(0x16d)]=new _0x5e51df(),this[_0x1ada66(0x170)]=new _0x4ee0a8({'focusables':this[_0x1ada66(0x177)],'focusTracker':this[_0x1ada66(0x190)],'keystrokeHandler':this[_0x1ada66(0x16d)],'actions':{'focusPrevious':_0x1ada66(0x1a4),'focusNext':_0x1ada66(0x1b0)},'keystrokeHandlerOptions':{'filter':_0x1ce1de=>_0x1ce1de[_0x1ada66(0x179)]!==this[_0x1ada66(0x1b8)]}}),this[_0x1ada66(0x175)](this[_0x1ada66(0x187)]());}[_0x2eeeaa(0x17c)](){const _0x111d5b=_0x2eeeaa;super[_0x111d5b(0x17c)]();const _0x4c6e45=this[_0x111d5b(0x1b8)][_0x111d5b(0x194)](_0x111d5b(0x193));_0x4c6e45[_0x111d5b(0x17a)]=this[_0x111d5b(0x199)],this['on'](_0x111d5b(0x197),(_0x504042,_0x4d0d27,_0x198d49)=>{const _0x51f0a7=_0x111d5b;_0x4c6e45[_0x51f0a7(0x17a)]=_0x198d49;}),this[_0x111d5b(0x19f)]();}[_0x2eeeaa(0x187)](){const _0x23dea2=_0x2eeeaa,_0x41d76e=this[_0x23dea2(0x17f)],_0x1d172b=[{'tag':_0x23dea2(0x1c4),'attributes':{'class':[_0x23dea2(0x171),_0x23dea2(0x18f)]},'children':[{'tag':_0x23dea2(0x1bc),'children':[{'text':this[_0x23dea2(0x172)][_0x23dea2(0x16f)]}],'attributes':{'class':[_0x23dea2(0x1be),_0x23dea2(0x189)],'data-cke-tooltip-text':this[_0x23dea2(0x172)][_0x23dea2(0x16f)]}},{'tag':_0x23dea2(0x1bb),'attributes':{'datetime':_0x41d76e['to'](_0x23dea2(0x1bd)),'class':[_0x23dea2(0x16e),_0x23dea2(0x1ad)]},'children':[{'text':_0x41d76e['to'](_0x23dea2(0x1bd),_0x1b6d72=>this[_0x23dea2(0x18e)][_0x23dea2(0x176)](_0x1b6d72))}]}]},{'tag':_0x23dea2(0x1c4),'attributes':{'class':[_0x23dea2(0x19c),_0x23dea2(0x1b6)]},'children':[this[_0x23dea2(0x178)],this[_0x23dea2(0x1a6)]]},{'tag':_0x23dea2(0x1c4),'attributes':{'class':[_0x23dea2(0x191)]}}];return this[_0x23dea2(0x19d)][_0x23dea2(0x182)]&&_0x1d172b[_0x23dea2(0x18c)]({'tag':_0x23dea2(0x1c4),'attributes':{'class':[_0x23dea2(0x186)]},'children':[{'text':this[_0x23dea2(0x1bf)]()}]}),{'tag':_0x23dea2(0x1c4),'attributes':{'class':[_0x23dea2(0x1b4),_0x23dea2(0x1b9)],'tabindex':-0x1},'children':[this[_0x23dea2(0x172)],{'tag':_0x23dea2(0x1c4),'attributes':{'class':[_0x23dea2(0x195),_0x23dea2(0x188)],'role':_0x23dea2(0x1b5)},'children':_0x1d172b}]};}[_0x2eeeaa(0x1c3)](){const _0x3f5ee8=_0x2eeeaa;this[_0x3f5ee8(0x1b8)][_0x3f5ee8(0x1c3)]();}[_0x2eeeaa(0x18a)](){const _0x439fed=_0x2eeeaa;return this[_0x439fed(0x19d)][_0x439fed(0x182)]?_0x439fed(0x196)===this[_0x439fed(0x19d)][_0x439fed(0x1ba)][_0x439fed(0x1a7)][_0x439fed(0x1a3)]?_0x5b431d(this[_0x439fed(0x1b3)],_0x439fed(0x1c0),this[_0x439fed(0x19d)][_0x439fed(0x1b2)][_0x439fed(0x16f)]):_0x5b431d(this[_0x439fed(0x1b3)],_0x439fed(0x17d),this[_0x439fed(0x19d)][_0x439fed(0x1b2)][_0x439fed(0x16f)]):null;}[_0x2eeeaa(0x1bf)](){const _0x4cc5e2=_0x2eeeaa;return _0x4cc5e2(0x196)===this[_0x4cc5e2(0x19d)][_0x4cc5e2(0x1ba)][_0x4cc5e2(0x1a7)][_0x4cc5e2(0x1a3)]?_0x5b431d(this[_0x4cc5e2(0x1b3)],_0x4cc5e2(0x16c)):_0x5b431d(this[_0x4cc5e2(0x1b3)],_0x4cc5e2(0x17e));}[_0x2eeeaa(0x181)](_0x376790,_0x1a6455,_0x123fd0,_0x2367c3,_0x389a92){const _0x1e3c24=_0x2eeeaa,_0x11698a=new _0xef97b5(this[_0x1e3c24(0x1b3)]);return _0x11698a[_0x1e3c24(0x1ae)]({'label':_0x376790,'icon':_0x1a6455,'tooltip':!0x0,'tooltipPosition':_0x389a92}),_0x11698a[_0x1e3c24(0x183)]({'attributes':{'class':_0x123fd0}}),_0x11698a['on'](_0x1e3c24(0x19b),()=>{const _0x445299=_0x1e3c24;this[_0x445299(0x1a9)](_0x2367c3,this[_0x445299(0x19d)]['id']);}),_0x11698a;}[_0x2eeeaa(0x19f)](){const _0x160f22=_0x2eeeaa,_0x1184fb=this[_0x160f22(0x1b8)];this[_0x160f22(0x16d)][_0x160f22(0x192)](_0x1184fb);for(const _0x2c7eab of this[_0x160f22(0x177)])this[_0x160f22(0x190)][_0x160f22(0x198)](_0x2c7eab[_0x160f22(0x1b8)]),this[_0x160f22(0x16d)][_0x160f22(0x192)](_0x2c7eab[_0x160f22(0x1b8)]);this[_0x160f22(0x16d)][_0x160f22(0x1ae)](_0x160f22(0x1aa),(_0x473076,_0x3d448f)=>{const _0x5b5172=_0x160f22;_0x1184fb===_0x473076[_0x5b5172(0x179)]&&(this[_0x5b5172(0x170)][_0x5b5172(0x19a)](),_0x3d448f());}),this[_0x160f22(0x16d)][_0x160f22(0x1ae)](_0x160f22(0x1a0),(_0x5dc62b,_0x575880)=>{const _0x305bc6=_0x160f22;_0x1184fb!==_0x5dc62b[_0x305bc6(0x179)]&&(this[_0x305bc6(0x1c3)](),_0x575880());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xef20(_0xb8a983,_0x4ec890){const _0x440b33=_0x440b();return _0xef20=function(_0xef20a5,_0xc1fb24){_0xef20a5=_0xef20a5-0x14a;let _0x80e5bb=_0x440b33[_0xef20a5];return _0x80e5bb;},_0xef20(_0xb8a983,_0x4ec890);}const _0x4cf051=_0xef20;(function(_0x5a6668,_0x505be0){const _0x266dea=_0xef20,_0x4e152b=_0x5a6668();while(!![]){try{const _0x226eae=-parseInt(_0x266dea(0x168))/0x1+parseInt(_0x266dea(0x14a))/0x2+parseInt(_0x266dea(0x14e))/0x3+-parseInt(_0x266dea(0x14f))/0x4+-parseInt(_0x266dea(0x160))/0x5*(-parseInt(_0x266dea(0x167))/0x6)+parseInt(_0x266dea(0x157))/0x7+-parseInt(_0x266dea(0x150))/0x8*(-parseInt(_0x266dea(0x14d))/0x9);if(_0x226eae===_0x505be0)break;else _0x4e152b['push'](_0x4e152b['shift']());}catch(_0x4973e7){_0x4e152b['push'](_0x4e152b['shift']());}}}(_0x440b,0x9477a));import{View as _0x181384}from'ckeditor5/src/ui.js';function _0x440b(){const _0x4e532f=['906921MzPeRt','608481ubfXYG','2553308NEeIZX','24RUWSPR','element','height','width','className','options','previewDataReady','72709FSMoOC','innerHTML','render','div','\x20ck-track-changes-preview__root-container','setPreviewData','style','data-ck-root-name','classes','1548770BlVhSd','push','focus','fire','content','ck-track-changes-preview','setTemplate','12qnRkjk','767612mUsSde','dialogRects','createElement','1758064FggfPs','ck-reset','setAttribute'];_0x440b=function(){return _0x4e532f;};return _0x440b();}export class TrackChangesPreviewView extends _0x181384{[_0x4cf051(0x155)];constructor(_0x215058,_0x5b5c83){const _0x4a8981=_0x4cf051;super(_0x215058),this[_0x4a8981(0x155)]=_0x5b5c83,this[_0x4a8981(0x166)]({'tag':_0x4a8981(0x15a),'attributes':{'class':['ck',_0x4a8981(0x14b),_0x4a8981(0x165)],'tabindex':-0x1}});}[_0x4cf051(0x159)](){const _0x5c9378=_0x4cf051;super[_0x5c9378(0x159)](),this[_0x5c9378(0x151)][_0x5c9378(0x15d)][_0x5c9378(0x153)]=this[_0x5c9378(0x155)][_0x5c9378(0x169)][_0x5c9378(0x153)]+'px',this[_0x5c9378(0x151)][_0x5c9378(0x15d)][_0x5c9378(0x152)]=this[_0x5c9378(0x155)][_0x5c9378(0x169)][_0x5c9378(0x152)]+'px';}[_0x4cf051(0x15c)](_0x435eaa,_0x4eeb31){const _0x4859df=_0x4cf051;if(!this[_0x4859df(0x151)])return;const _0x37be89=[];for(const [_0x33db47,_0x3db195]of _0x435eaa){const _0x3ebeb0=document[_0x4859df(0x16a)](_0x4859df(0x15a));_0x3ebeb0[_0x4859df(0x14c)](_0x4859df(0x15e),_0x33db47),_0x3ebeb0[_0x4859df(0x154)]=_0x3db195[_0x4859df(0x15f)]+_0x4859df(0x15b),_0x3ebeb0[_0x4859df(0x158)]=_0x3db195[_0x4859df(0x164)],_0x37be89[_0x4859df(0x161)](_0x3ebeb0);}_0x4eeb31(this[_0x4859df(0x151)],_0x37be89),this[_0x4859df(0x151)][_0x4859df(0x15d)][_0x4859df(0x152)]='',this[_0x4859df(0x163)](_0x4859df(0x156));}[_0x4cf051(0x162)](){const _0x49bb6b=_0x4cf051;this[_0x49bb6b(0x151)][_0x49bb6b(0x162)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3e3a99,_0x3a1891,_0x345311){const _0x1953b3=_0x3e3a99['t'],t=_0x3e3a99['t'];switch(_0x3a1891){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',_0x345311);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x345311);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x345311);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x345311);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x345311);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',_0x345311);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x345311);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',_0x345311);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x345311);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x345311);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x345311);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x345311);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x345311);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x345311);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x345311);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x345311);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x345311);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x345311);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x345311);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x345311);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x345311);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x345311);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x345311);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x345311);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x345311);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'},_0x345311);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x345311);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x345311);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x345311);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x345311);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x345311);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x345311);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x345311);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'},_0x345311);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x345311);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x345311);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x345311);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x345311);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x345311);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x345311);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'},_0x345311);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0x345311);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x345311);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'},_0x345311);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x345311);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'},_0x345311);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x345311);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x345311);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x345311);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x345311);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x345311);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'},_0x345311);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x345311);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 _0x1953b3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x345311);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1953b3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x345311);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x345311);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'},_0x345311);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'},_0x345311);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'},_0x345311);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3a1891;}}
|
|
23
|
+
export function getTranslation(_0x192c0e,_0x3e29cd,_0x134014){const _0x3d9bb5=_0x192c0e['t'],t=_0x192c0e['t'];switch(_0x3e29cd){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',_0x134014);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x134014);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x134014);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x134014);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x134014);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',_0x134014);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x134014);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',_0x134014);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x134014);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x134014);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x134014);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x134014);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x134014);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x134014);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x134014);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x134014);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x134014);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x134014);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x134014);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x134014);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x134014);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x134014);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x134014);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x134014);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x134014);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'},_0x134014);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x134014);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x134014);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x134014);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x134014);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x134014);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x134014);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x134014);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'},_0x134014);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x134014);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x134014);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x134014);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x134014);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x134014);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x134014);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'},_0x134014);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0x134014);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x134014);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'},_0x134014);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x134014);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'},_0x134014);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x134014);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x134014);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x134014);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x134014);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x134014);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'},_0x134014);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x134014);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 _0x3d9bb5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x134014);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3d9bb5({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x134014);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x134014);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'},_0x134014);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'},_0x134014);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'},_0x134014);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3e29cd;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd37331,_0x5c2e80){const _0x1be3ba=_0x4252,_0x62ff0c=_0xd37331();while(!![]){try{const _0x441a13=parseInt(_0x1be3ba(0x1bb))/0x1+parseInt(_0x1be3ba(0x18f))/0x2*(parseInt(_0x1be3ba(0x1c2))/0x3)+-parseInt(_0x1be3ba(0x194))/0x4+parseInt(_0x1be3ba(0x1a2))/0x5+parseInt(_0x1be3ba(0x1b6))/0x6+parseInt(_0x1be3ba(0x195))/0x7+parseInt(_0x1be3ba(0x1ae))/0x8*(-parseInt(_0x1be3ba(0x1be))/0x9);if(_0x441a13===_0x5c2e80)break;else _0x62ff0c['push'](_0x62ff0c['shift']());}catch(_0x267bac){_0x62ff0c['push'](_0x62ff0c['shift']());}}}(_0x57d0,0xd0dfd));function _0x57d0(){const _0x188343=['length','<span\x20class=\x22ck-suggestion-type\x22>','change','getRanges','replace','schema','createPositionAt','isObject','5130104TcdMzH','createElement','\x20[color\x20','add','\x22></span>','attribute','span','next','585132eLaXFt','isArray','type','createPositionBefore','split','307954yflOBu','isIntersecting','start','18CvdnEx','value','content','isCollapsed','3sUbise','createPositionAfter','push','1048556BXxqUf','isTouching','map','splice','</span>','6043416mKkmOS','11137938wpAiwD','innerHTML','innerText','from','createRange','title','isMultiRange','color','\x22\x20title=\x22','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isInContent','execute','sort','5640205FABrlc','end','deletion','join'];_0x57d0=function(){return _0x188343;};return _0x57d0();}export function normalizeDescription(_0x269a55){const _0x28d917=_0x4252;return Array[_0x28d917(0x1b7)](_0x269a55)||(_0x269a55=[_0x269a55]),_0x269a55[_0x28d917(0x191)](_0x447efe=>{const _0x5a7919=_0x28d917,_0x87628c=_0x447efe[_0x5a7919(0x1c0)][_0x5a7919(0x1aa)](/\*/g,''),_0x14272a=_0x447efe[_0x5a7919(0x19c)]?_0x5a7919(0x1b0)+_0x447efe[_0x5a7919(0x19c)][_0x5a7919(0x1bf)]+']':'';return'['+_0x447efe[_0x5a7919(0x1b8)]+']\x20'+_0x87628c+_0x14272a;})[_0x28d917(0x1a5)](';\x20');}function _0x4252(_0x1934b3,_0x431482){const _0x57d017=_0x57d0();return _0x4252=function(_0x425263,_0xfca570){_0x425263=_0x425263-0x18f;let _0x45a709=_0x57d017[_0x425263];return _0x45a709;},_0x4252(_0x1934b3,_0x431482);}export function renderDescription(_0x455c19,_0x480c38){const _0x5294f9=_0x4252;let _0x2827bc='';return _0x2827bc+=_0x455c19[_0x5294f9(0x1ba)]('*')[_0x5294f9(0x191)]((_0x44e9a4,_0x3b314f)=>_0x3b314f%0x2!=0x0?_0x5294f9(0x1a7)+on(_0x44e9a4)+_0x5294f9(0x193):on(_0x44e9a4))[_0x5294f9(0x1a5)](''),_0x480c38&&(_0x2827bc+=_0x5294f9(0x19e)+_0x480c38[_0x5294f9(0x1bf)]+_0x5294f9(0x19d)+_0x480c38[_0x5294f9(0x19a)]+_0x5294f9(0x1b2)),_0x2827bc;}function on(_0x319625){const _0x5a199e=_0x4252,_0x21de2b=document[_0x5a199e(0x1af)](_0x5a199e(0x1b4));return _0x21de2b[_0x5a199e(0x197)]=_0x319625,_0x21de2b[_0x5a199e(0x196)];}export function sortSuggestions(_0x324e22){const _0x3e73a5=_0x4252;return _0x324e22[_0x3e73a5(0x1a1)]((_0x56e215,_0x23e7da)=>_0x3e73a5(0x1b3)===_0x56e215[_0x3e73a5(0x1b8)]&&_0x3e73a5(0x1b3)!==_0x23e7da[_0x3e73a5(0x1b8)]?-0x1:_0x3e73a5(0x1b3)!==_0x56e215[_0x3e73a5(0x1b8)]&&_0x3e73a5(0x1b3)===_0x23e7da[_0x3e73a5(0x1b8)]?0x1:_0x3e73a5(0x1a4)==_0x56e215[_0x3e73a5(0x1b8)]&&_0x3e73a5(0x1a4)!=_0x23e7da[_0x3e73a5(0x1b8)]?-0x1:_0x3e73a5(0x1a4)!=_0x56e215[_0x3e73a5(0x1b8)]&&_0x3e73a5(0x1a4)==_0x23e7da[_0x3e73a5(0x1b8)]?0x1:0x0);}export function getSelectedSuggestions(_0x17d0e2,_0x54aafd){const _0xcdb4de=_0x4252,_0x5cd2d6=Array[_0xcdb4de(0x198)](_0x17d0e2[_0xcdb4de(0x1a9)]()),_0x1af27d=new Set();for(const _0x5c61d6 of _0x54aafd)if(_0x5c61d6[_0xcdb4de(0x19f)]){for(const _0xb364cb of _0x5cd2d6)for(const _0x1a54ec of _0x5c61d6[_0xcdb4de(0x1a9)]())(_0xb364cb[_0xcdb4de(0x1bc)](_0x1a54ec)||_0x17d0e2[_0xcdb4de(0x1c1)]&&!_0x5c61d6[_0xcdb4de(0x19b)]&&_0x5c61d6[_0xcdb4de(0x1b5)]&&_0x1a54ec[_0xcdb4de(0x1a3)][_0xcdb4de(0x190)](_0xb364cb[_0xcdb4de(0x1bd)]))&&_0x1af27d[_0xcdb4de(0x1b1)](_0x5c61d6);}return _0x1af27d;}export function getRangesOfBlockGroups(_0x36bfd6,_0x19a35c){const _0x4e2afd=_0x4252;let _0x3bca1e,_0x1530a6=0x0;const _0x4c0f7e=[],_0x24acba=_0x19a35c[_0x4e2afd(0x1ab)];for(;_0x1530a6<_0x36bfd6[_0x4e2afd(0x1a6)];){const _0x3d00d8=_0x36bfd6[_0x1530a6],_0x2eb975=_0x36bfd6[_0x1530a6+0x1];_0x3bca1e||(_0x3bca1e=_0x19a35c[_0x4e2afd(0x1b9)](_0x3d00d8)),rn(_0x19a35c,_0x3d00d8,_0x2eb975)||(_0x4c0f7e[_0x4e2afd(0x1c4)](_0x19a35c[_0x4e2afd(0x199)](_0x3bca1e,_0x24acba[_0x4e2afd(0x1ad)](_0x3d00d8)?_0x19a35c[_0x4e2afd(0x1c3)](_0x3d00d8):_0x19a35c[_0x4e2afd(0x1ac)](_0x3d00d8,_0x4e2afd(0x1a3)))),_0x3bca1e=null),_0x1530a6++;}return _0x4c0f7e;}function rn(_0x349d76,_0x507177,_0x2eb8de){const _0x5a0301=_0x4252;if(!_0x2eb8de)return!0x1;const _0x5e9fdf=_0x349d76[_0x5a0301(0x1c3)](_0x507177),_0x38cb78=_0x349d76[_0x5a0301(0x1b9)](_0x2eb8de);return _0x5e9fdf[_0x5a0301(0x190)](_0x38cb78);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3da530,_0x2729b1,_0x2a1714){const _0x1010ca=_0x4252;for(;_0x2a1714[_0x1010ca(0x1a6)];){const _0x3c3a91=_0x2a1714[_0x1010ca(0x192)](0x0,0x64);_0x3da530[_0x1010ca(0x1a8)](()=>{const _0xd2a5b7=_0x1010ca;for(const _0x3a5951 of _0x3c3a91)_0x3a5951[_0xd2a5b7(0x19f)]&&_0x2729b1[_0xd2a5b7(0x1a0)](_0x3a5951['id']);});}}
|