@ckeditor/ckeditor5-track-changes 47.7.2 → 47.7.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +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
|
+
function _0x9e14(){const _0x5379bd=['8699985aBplnL','463143ecGJdJ','isOfficialPlugin','commands','7292826HjFiUU','TrackChangesPreview','define','add','editor','1485630wrYhvG','40862TXuIdm','config','isPremiumPlugin','4QIgbAe','160brEcXL','6271070BMVazd','263599tYmMuM','168bMstPT','pluginName','previewFinalContent','requires','trackChanges.preview.renderFunction','appendChild'];_0x9e14=function(){return _0x5379bd;};return _0x9e14();}const _0x2b70a2=_0x4b08;(function(_0x39ad37,_0x1524ca){const _0x55402e=_0x4b08,_0x22a2be=_0x39ad37();while(!![]){try{const _0x424342=parseInt(_0x55402e(0x9d))/0x1+-parseInt(_0x55402e(0xa6))/0x2*(-parseInt(_0x55402e(0xad))/0x3)+-parseInt(_0x55402e(0xa9))/0x4*(parseInt(_0x55402e(0xab))/0x5)+-parseInt(_0x55402e(0xa0))/0x6+parseInt(_0x55402e(0xac))/0x7*(parseInt(_0x55402e(0xaa))/0x8)+parseInt(_0x55402e(0x9c))/0x9+-parseInt(_0x55402e(0xa5))/0xa;if(_0x424342===_0x1524ca)break;else _0x22a2be['push'](_0x22a2be['shift']());}catch(_0x26dc0d){_0x22a2be['push'](_0x22a2be['shift']());}}}(_0x9e14,0xad0e4));import{Plugin as _0x54aa99}from'ckeditor5/src/core.js';import{Dialog as _0x4e0b44}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x5d4c3d}from'./trackchangesdata.js';function _0x4b08(_0x3d59b4,_0x1243ed){const _0x9e1430=_0x9e14();return _0x4b08=function(_0x4b08c0,_0x20e216){_0x4b08c0=_0x4b08c0-0x9a;let _0x169053=_0x9e1430[_0x4b08c0];return _0x169053;},_0x4b08(_0x3d59b4,_0x1243ed);}import{PreviewFinalContentCommand as _0x32e687}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x54aa99{static get[_0x2b70a2(0xb0)](){return[_0x5d4c3d,_0x4e0b44];}static get[_0x2b70a2(0xae)](){const _0x1d56a6=_0x2b70a2;return _0x1d56a6(0xa1);}static get[_0x2b70a2(0x9e)](){return!0x0;}static get[_0x2b70a2(0xa8)](){return!0x0;}constructor(_0x2ac1f5){const _0x2afb9c=_0x2b70a2;super(_0x2ac1f5),_0x2ac1f5[_0x2afb9c(0x9f)][_0x2afb9c(0xa3)](_0x2afb9c(0xaf),new _0x32e687(this[_0x2afb9c(0xa4)])),_0x2ac1f5[_0x2afb9c(0xa7)][_0x2afb9c(0xa2)](_0x2afb9c(0x9a),(_0x1299c4,_0x3aa6ef)=>{const _0x4899a8=_0x2afb9c;for(const _0x5d25e6 of _0x3aa6ef)_0x1299c4[_0x4899a8(0x9b)](_0x5d25e6);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55959a=_0x52fc;function _0x5eed(){const _0x2f8bf5=['trackChangesLicenseKeyInvalid','lowest','362130qjtGBO','isOfficialPlugin','acceptButton','trackChangesLicenseKeyEvaluationLimit','commandName','button','menuitem','pluginName','locale','discardButton','acceptAllSuggestions','CommentView','createCommentThreadController','toMany','getByInnerView','acceptSelectedSuggestions','Accept\x20all\x20suggestions','previewFinalContent','getMarkerNames','12775yZomLH','Annotations','107936WFQXCb','addComment','refreshSelectedViews','trackChangesLicenseKeyNotAllowed','focus','385356RMThhf','_licenseKeyCheckInterval','push','suggestionUnloaded','actionView','commentsListView','get','getAnnotationForSuggestion','change:previous','_annotationViews','_handleSuggestionControllerDelayed','Discard\x20all\x20suggestions','usageLimit','menuBar:trackChanges','has','564ajqvnK','trackChanges.SuggestionView','source','separator','Discard\x20all\x20selected\x20suggestions','CommentsRepository','innerView','values','size','domainLimit','_initializeController','trackChanges','_updateController','delete','set','isInContent','trackChangesLicenseKeyExpired','2rmuksB','addMany','children','filter','keys','commentThread','licenseKey','Accept\x20all\x20selected\x20suggestions','destroy','TrackChangesPreview','listenTo','_unbindEditors','descriptionParts','comments.maxThreadTotalWeight','clear','getMarkers','addSourceCollector','config','hasSuggestion','_destroyController','activeAnnotations','_createMenuBarMenu','some','comments','1043553WlvdlN','trackChanges.disableComments','remove','plugins','getJoined','delegate','previous','activeMarkers','SuggestionThreadView','panelView','items','menuitemcheckbox','5524302aVAxqe','TrackChanges','execute','_handleControllerBuffer','reduce','view','featureNotAllowed','trackChangesLicenseKeyUsageLimit','542245cUrVor','isPremiumPlugin','createAnnotation','suggestion-','isMultiRange','TrackChangesUI','TrackChangesEditing','add','CommentsUI','mainView','SuggestionView','_showLicenseError','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','Preview\x20final\x20content','discardSelectedSuggestions','380vgSbFC','comments.editorConfig','init','comments.maxCommentsWhenCollapsed','EditorAnnotations','switchbutton','change:activeAnnotations','_suggestionToController','trackChangesLicenseKeyDomainLimit','invalid','stopListening','componentFactory','getAllAdjacentSuggestions','head','getFirstRange','_disableComments','fire','menu','escape','unbind','editor','getSuggestion','trackChangesLicenseKeyValid','getSuggestionForAnnotation','value','suggestionView','_createToolbarButton','getDescriptions','getRanges','expired','_addUIComponentsToFactory','buttonView','arrowView','_viewToController','descriptionFactory','define','requires','discardAllSuggestions','suggestionChanged','type','commands','_bindAnnotationToEditors','suggestionLoaded','model','length','isOn','Track\x20changes','trackChanges.SuggestionThreadView','from','isDirty','36OUssln','editing','isEnabled','registerAnnotation','bind','evaluationLimit','createAnnotationView'];_0x5eed=function(){return _0x2f8bf5;};return _0x5eed();}(function(_0x28b2c0,_0x559e73){const _0x32fe96=_0x52fc,_0x230484=_0x28b2c0();while(!![]){try{const _0x1916b1=parseInt(_0x32fe96(0x102))/0x1*(-parseInt(_0x32fe96(0x193))/0x2)+parseInt(_0x32fe96(0x11a))/0x3+parseInt(_0x32fe96(0xf1))/0x4*(-parseInt(_0x32fe96(0x18c))/0x5)+-parseInt(_0x32fe96(0x179))/0x6+-parseInt(_0x32fe96(0x126))/0x7+-parseInt(_0x32fe96(0x18e))/0x8*(parseInt(_0x32fe96(0x170))/0x9)+parseInt(_0x32fe96(0x13e))/0xa*(parseInt(_0x32fe96(0x12e))/0xb);if(_0x1916b1===_0x559e73)break;else _0x230484['push'](_0x230484['shift']());}catch(_0x21cb30){_0x230484['push'](_0x230484['shift']());}}}(_0x5eed,0x8ba25));import{Plugin as _0x287255}from'ckeditor5/src/core.js';import{Collection as _0x1921f4}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x13fece}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1b0f08,createDropdown as _0xab2a17,ListSeparatorView as _0x4631aa,MenuBarMenuView as _0x3d2921,MenuBarMenuListView as _0x5eee77,MenuBarMenuListItemView as _0x105c72,MenuBarMenuListItemButtonView as _0x49b23b,SplitButtonView as _0x2a7515,UIModel as _0x23d8cb}from'ckeditor5/src/ui.js';import{Users as _0x555e62,getDateTimeFormatter as _0x335755,getAllMarkersDomElementsSorted as _0x2086eb}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5524fb}from'./trackchangesediting.js';import{SuggestionController as _0x421613}from'./ui/suggestioncontroller.js';function _0x52fc(_0x17e723,_0x55e400){const _0x5eede7=_0x5eed();return _0x52fc=function(_0x52fca4,_0x1fa3e6){_0x52fca4=_0x52fca4-0xe8;let _0x1e83e2=_0x5eede7[_0x52fca4];return _0x1e83e2;},_0x52fc(_0x17e723,_0x55e400);}import{SuggestionThreadView as _0x1a7b3a}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0xdf7303}from'./ui/view/suggestionview.js';import{getTranslation as _0x480642}from'./utils/common-translations.js';export class TrackChangesUI extends _0x287255{[_0x55959a(0x108)];[_0x55959a(0x194)];[_0x55959a(0x145)];[_0x55959a(0x15f)];[_0x55959a(0xeb)];[_0x55959a(0x129)];[_0x55959a(0x14d)];static get[_0x55959a(0x162)](){const _0x2d43ad=_0x55959a;return[_0x5524fb,_0x555e62,_0x2d43ad(0xf6),_0x2d43ad(0x18d),_0x2d43ad(0x142)];}static get[_0x55959a(0x180)](){const _0x275c18=_0x55959a;return _0x275c18(0x133);}static get[_0x55959a(0x17a)](){return!0x0;}static get[_0x55959a(0x12f)](){return!0x0;}constructor(_0x48e99a){const _0x5e9967=_0x55959a;super(_0x48e99a),this[_0x5e9967(0x145)]=new Map(),this[_0x5e9967(0x15f)]=new Map(),this[_0x5e9967(0xeb)]=new Map(),this[_0x5e9967(0x129)]=new Map();const _0x1587f8=this[_0x5e9967(0x152)][_0x5e9967(0x113)];_0x1587f8[_0x5e9967(0x161)](_0x5e9967(0x16d),_0x1a7b3a),_0x1587f8[_0x5e9967(0x161)](_0x5e9967(0xf2),_0xdf7303),_0x1587f8[_0x5e9967(0x161)](_0x5e9967(0x11b),!0x1),this[_0x5e9967(0x14d)]=_0x1587f8[_0x5e9967(0xe8)](_0x5e9967(0x11b));}[_0x55959a(0xec)](_0x44e8c6,_0x2573f2){const _0x590a92=_0x55959a;0x0===this[_0x590a92(0x129)][_0x590a92(0xf9)]&&setTimeout(()=>{const _0x3c0534=_0x590a92;for(const [_0xe8621e,_0x19b234]of this[_0x3c0534(0x129)]){const _0x54e940=this[_0x3c0534(0x145)][_0x3c0534(0xf0)](_0xe8621e);_0x54e940||_0x19b234?_0x54e940&&_0x19b234&&this[_0x3c0534(0x115)](_0xe8621e):this[_0x3c0534(0xfb)](_0xe8621e);}this[_0x3c0534(0x129)][_0x3c0534(0x110)](),this[_0x3c0534(0x152)][_0x3c0534(0x11d)][_0x3c0534(0xe8)](_0x3c0534(0x142))[_0x3c0534(0x190)](),this[_0x3c0534(0x13a)]();},0xa),this[_0x590a92(0x129)][_0x590a92(0xff)](_0x44e8c6,_0x2573f2);}[_0x55959a(0x140)](){const _0x169d20=_0x55959a,_0x585723=this[_0x169d20(0x152)],_0x2b76fe=_0x585723[_0x169d20(0x11d)][_0x169d20(0xe8)](_0x169d20(0x134)),_0x408312=_0x585723[_0x169d20(0x11d)][_0x169d20(0xe8)](_0x169d20(0x18d)),_0x487f5a=_0x585723[_0x169d20(0x11d)][_0x169d20(0xe8)](_0x169d20(0x142)),_0x20886a=_0x585723[_0x169d20(0x11d)][_0x169d20(0xe8)](_0x169d20(0xf6));this[_0x169d20(0x15c)](),_0x487f5a[_0x169d20(0x112)](()=>{const _0x59f3a1=_0x169d20,_0x33fa5f=[];for(const [_0x1b1fd4,_0x426e22]of Array[_0x59f3a1(0x16e)](this[_0x59f3a1(0x145)])){const _0x5adeec=_0x1b1fd4[_0x59f3a1(0x14a)](),_0x586c5c=[];for(const _0x143415 of _0x5adeec){if(!_0x143415[_0x59f3a1(0x100)])continue;if(_0x143415[_0x59f3a1(0x132)]){_0x586c5c[_0x59f3a1(0x195)](..._0x143415[_0x59f3a1(0x15a)]());continue;}const _0x3a492a=_0x143415[_0x59f3a1(0x14c)]();if(_0x586c5c[_0x59f3a1(0x16a)]>0x0){const _0x1e756e=_0x586c5c[0x0][_0x59f3a1(0x11e)](_0x3a492a);if(_0x1e756e){_0x586c5c[0x0]=_0x1e756e;continue;}}_0x586c5c[_0x59f3a1(0x195)](_0x3a492a);}_0x33fa5f[_0x59f3a1(0x195)]([_0x426e22[_0x59f3a1(0x12b)],_0x586c5c]);}return _0x33fa5f;}),this[_0x169d20(0x10c)](_0x2b76fe,_0x169d20(0x168),(_0x3c0159,_0x10ef40)=>{const _0x9cddf3=_0x169d20;this[_0x9cddf3(0x10c)](_0x10ef40,_0x9cddf3(0xea),(_0x1432cb,_0x348819,_0x47db13,_0x48ca66)=>{const _0x4c5bd4=_0x9cddf3;_0x10ef40[_0x4c5bd4(0x100)]&&(null==_0x47db13?(this[_0x4c5bd4(0xfd)](_0x48ca66[_0x4c5bd4(0x14b)]),this[_0x4c5bd4(0xec)](_0x10ef40,!0x1)):(this[_0x4c5bd4(0xfd)](_0x47db13[_0x4c5bd4(0x14b)]),null==_0x48ca66&&this[_0x4c5bd4(0xec)](_0x10ef40,!0x0)));}),null!==_0x10ef40[_0x9cddf3(0x120)]?this[_0x9cddf3(0xfd)](_0x10ef40[_0x9cddf3(0x14b)]):this[_0x9cddf3(0xec)](_0x10ef40,!0x1);}),this[_0x169d20(0x10c)](_0x2b76fe,_0x169d20(0x196),(_0x30bd18,_0x6c5861,_0x1695e4)=>{const _0x3ace6d=_0x169d20;this[_0x3ace6d(0x148)](_0x6c5861,_0x3ace6d(0xea)),this[_0x3ace6d(0x129)][_0x3ace6d(0xfe)](_0x6c5861),this[_0x3ace6d(0x145)][_0x3ace6d(0xf0)](_0x6c5861)&&this[_0x3ace6d(0x115)](_0x6c5861),_0x1695e4&&this[_0x3ace6d(0xfd)](_0x1695e4[_0x3ace6d(0x14b)]);}),this[_0x169d20(0x10c)](_0x2b76fe,_0x169d20(0x164),(_0xc9eca,_0xc7c9d2)=>{const _0x519101=_0x169d20;this[_0x519101(0xfd)](_0xc7c9d2);}),this[_0x169d20(0x10c)](_0x408312,_0x169d20(0x144),()=>{const _0x2bb78b=_0x169d20;this[_0x2bb78b(0x13a)]();}),this[_0x169d20(0x10c)](_0x20886a,_0x169d20(0x18f),(_0x2088f5,{threadId:_0x1c3043,isFromAdapter:_0x100fa0})=>{const _0x5adc3c=_0x169d20;if(_0x100fa0||!_0x2b76fe[_0x5adc3c(0x114)](_0x1c3043))return;const _0x5c037e=_0x2b76fe[_0x5adc3c(0x153)](_0x1c3043);this[_0x5adc3c(0x145)][_0x5adc3c(0xe8)](_0x5c037e)[_0x5adc3c(0x12b)][_0x5adc3c(0x198)][_0x5adc3c(0x192)](-0x1);},{'priority':_0x169d20(0x178)}),this[_0x169d20(0x108)]=this[_0x169d20(0x152)][_0x169d20(0x113)][_0x169d20(0xe8)](_0x169d20(0x108));const _0x2e1cd9=this[_0x169d20(0x152)];this[_0x169d20(0x194)]=setInterval(()=>{const _0x582834=_0x169d20;let _0x21df87;for(const _0x3f308a in _0x2e1cd9){const _0x437c71=_0x3f308a,_0xa03ed9=_0x2e1cd9[_0x437c71];if(_0x582834(0x154)==_0xa03ed9||_0x582834(0x177)==_0xa03ed9||_0x582834(0x101)==_0xa03ed9||_0x582834(0x146)==_0xa03ed9||_0x582834(0x191)==_0xa03ed9||_0x582834(0x17c)==_0xa03ed9||_0x582834(0x12d)==_0xa03ed9){delete _0x2e1cd9[_0x437c71],_0x21df87=_0xa03ed9,clearInterval(this[_0x582834(0x194)]),this[_0x582834(0x194)]=void 0x0;break;}}_0x582834(0x177)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0x147)),_0x582834(0x101)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0x15b)),_0x582834(0x146)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0xfa)),_0x582834(0x191)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0x12c),_0x582834(0x127)),_0x582834(0x17c)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0x175)),_0x582834(0x12d)==_0x21df87&&_0x2e1cd9[_0x582834(0x139)](_0x582834(0xee));},0x3e8);}[_0x55959a(0xe9)](_0xb8c337){const _0x3e5cf4=_0x55959a,_0x40dc96=this[_0x3e5cf4(0x145)][_0x3e5cf4(0xe8)](_0xb8c337);if(!_0x40dc96)return null;return this[_0x3e5cf4(0x152)][_0x3e5cf4(0x11d)][_0x3e5cf4(0xe8)](_0x3e5cf4(0x18d))[_0x3e5cf4(0x187)](_0x40dc96[_0x3e5cf4(0x12b)])||null;}[_0x55959a(0x155)](_0x312058){const _0x48e0b4=_0x55959a,_0x2f803d=this[_0x48e0b4(0x15f)][_0x48e0b4(0xe8)](_0x312058[_0x48e0b4(0xf7)]);return _0x2f803d?_0x2f803d[_0x48e0b4(0x169)]:null;}[_0x55959a(0x13a)](){const _0x10ca9a=_0x55959a,_0x450eff=this[_0x10ca9a(0x152)][_0x10ca9a(0x11d)][_0x10ca9a(0xe8)](_0x10ca9a(0x18d)),_0x39eeb3=this[_0x10ca9a(0x152)][_0x10ca9a(0x11d)][_0x10ca9a(0xe8)](_0x10ca9a(0x134)),_0x2c0005=Array[_0x10ca9a(0x16e)](_0x450eff[_0x10ca9a(0x116)],_0x52184e=>_0x52184e[_0x10ca9a(0xf7)])[_0x10ca9a(0x105)](_0xa0cc53=>this[_0x10ca9a(0x15f)][_0x10ca9a(0xf0)](_0xa0cc53)),_0x464ff9=[];for(const _0x7c0525 of _0x2c0005){const _0x46ff80=this[_0x10ca9a(0x15f)][_0x10ca9a(0xe8)](_0x7c0525)[_0x10ca9a(0x169)][_0x10ca9a(0x14a)]();_0x464ff9[_0x10ca9a(0x195)](..._0x46ff80[_0x10ca9a(0x12a)]((_0x50e6d9,_0x38352b)=>[..._0x50e6d9,..._0x38352b[_0x10ca9a(0x18b)]()],[]));}_0x39eeb3[_0x10ca9a(0x121)]=_0x464ff9;}[_0x55959a(0x15c)](){const _0x440947=_0x55959a,_0x3241bb=this[_0x440947(0x152)],_0x322be3=_0x3241bb[_0x440947(0x181)],_0x1b6d3c=_0x480642(_0x322be3,_0x440947(0x16c)),_0x3a35d7=new _0x1921f4([{'type':_0x440947(0x143),'model':new _0x23d8cb({'withText':!0x0,'isToggleable':!0x0,'label':_0x1b6d3c,'commandName':_0x440947(0xfc),'role':_0x440947(0x125)})},{'type':_0x440947(0xf4)},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0x189)),'commandName':_0x440947(0x183),'role':_0x440947(0x17f)})},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0x109)),'commandName':_0x440947(0x188),'role':_0x440947(0x17f)})},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0xed)),'commandName':_0x440947(0x163),'role':_0x440947(0x17f)})},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0xf5)),'commandName':_0x440947(0x13d),'role':_0x440947(0x17f)})}]);_0x3241bb[_0x440947(0x11d)][_0x440947(0xf0)](_0x440947(0x10b))&&_0x3a35d7[_0x440947(0x103)]([{'type':_0x440947(0xf4)},{'type':_0x440947(0x17e),'model':new _0x23d8cb({'withText':!0x0,'label':_0x480642(_0x322be3,_0x440947(0x13c)),'commandName':_0x440947(0x18a),'role':_0x440947(0x17f)})}]);for(const _0x4f000b of _0x3a35d7)if(ke(_0x4f000b)){const _0x15e55d=_0x3241bb[_0x440947(0x166)][_0x440947(0xe8)](_0x4f000b[_0x440947(0x169)][_0x440947(0x17d)]);_0x4f000b[_0x440947(0x169)][_0x440947(0x174)](_0x440947(0x16b),_0x440947(0x172))['to'](_0x15e55d,_0x440947(0x156),_0x440947(0x172));}_0x3241bb['ui'][_0x440947(0x149)][_0x440947(0x135)](_0x440947(0xfc),_0x3be0a1=>this[_0x440947(0x158)](_0x3be0a1,_0x3a35d7,_0x1b6d3c)),_0x3241bb['ui'][_0x440947(0x149)][_0x440947(0x135)](_0x440947(0xef),_0x4c64df=>this[_0x440947(0x117)](_0x4c64df,_0x3a35d7,_0x1b6d3c));}[_0x55959a(0x158)](_0x3afea7,_0x2cff2d,_0x4bfb78){const _0x54fe6f=_0x55959a,_0x4c6c6f=_0xab2a17(_0x3afea7,_0x2a7515),_0x405407=this[_0x54fe6f(0x152)][_0x54fe6f(0x166)][_0x54fe6f(0xe8)](_0x54fe6f(0xfc));_0x4c6c6f[_0x54fe6f(0x15d)][_0x54fe6f(0xff)]({'tooltip':_0x4bfb78,'label':_0x4bfb78,'icon':_0x13fece}),_0x4c6c6f[_0x54fe6f(0x15d)][_0x54fe6f(0x174)](_0x54fe6f(0x16b))['to'](_0x405407,_0x54fe6f(0x156)),_0x4c6c6f[_0x54fe6f(0x15d)]['on'](_0x54fe6f(0x128),()=>{const _0x5bdac8=_0x54fe6f;_0x405407[_0x5bdac8(0x128)](),this[_0x5bdac8(0x152)][_0x5bdac8(0x171)][_0x5bdac8(0x12b)][_0x5bdac8(0x192)]();}),_0x1b0f08(_0x4c6c6f,_0x2cff2d,{'role':_0x54fe6f(0x14f)});const _0x2c956b=[];for(const _0x41d89a of _0x2cff2d)ke(_0x41d89a)&&_0x2c956b[_0x54fe6f(0x195)](this[_0x54fe6f(0x152)][_0x54fe6f(0x166)][_0x54fe6f(0xe8)](_0x41d89a[_0x54fe6f(0x169)][_0x54fe6f(0x17d)]));const _0x2bbe65=_0x4c6c6f[_0x54fe6f(0x15d)];return _0x2bbe65[_0x54fe6f(0x197)][_0x54fe6f(0x151)](_0x54fe6f(0x172)),_0x2bbe65[_0x54fe6f(0x15e)][_0x54fe6f(0x151)](_0x54fe6f(0x172)),_0x2bbe65[_0x54fe6f(0x197)][_0x54fe6f(0x174)](_0x54fe6f(0x172))['to'](_0x405407,_0x54fe6f(0x172)),_0x2bbe65[_0x54fe6f(0x15e)][_0x54fe6f(0x174)](_0x54fe6f(0x172))[_0x54fe6f(0x186)](_0x2c956b,_0x54fe6f(0x172),(..._0xe528e1)=>_0xe528e1[_0x54fe6f(0x118)](_0x4d0145=>_0x4d0145)),_0x4c6c6f['on'](_0x54fe6f(0x128),_0x3b22c9=>{const _0x432465=_0x54fe6f;this[_0x432465(0x152)][_0x432465(0x128)](_0x3b22c9[_0x432465(0xf3)][_0x432465(0x17d)]),this[_0x432465(0x152)][_0x432465(0x171)][_0x432465(0x12b)][_0x432465(0x192)]();}),_0x4c6c6f;}[_0x55959a(0x117)](_0x3af576,_0x2884b2,_0x1c1b47){const _0x3247ea=_0x55959a,_0x951d51=new _0x3d2921(_0x3af576),_0x24b021=this[_0x3247ea(0x152)][_0x3247ea(0x166)][_0x3247ea(0xe8)](_0x3247ea(0xfc));_0x951d51[_0x3247ea(0x15d)][_0x3247ea(0xff)]({'label':_0x1c1b47,'icon':_0x13fece});const _0x5d0aff=new _0x5eee77(_0x3af576);for(const _0x512839 of _0x2884b2){if(_0x3247ea(0xf4)==_0x512839[_0x3247ea(0x165)]){_0x5d0aff[_0x3247ea(0x124)][_0x3247ea(0x135)](new _0x4631aa(_0x3af576));continue;}const _0x3dcbb3=new _0x105c72(_0x3af576,_0x951d51),_0x3fab5d=new _0x49b23b(_0x3af576),_0x27e0b8=_0x512839[_0x3247ea(0x169)];_0x3fab5d[_0x3247ea(0x174)](...Object[_0x3247ea(0x106)](_0x27e0b8))['to'](_0x27e0b8),_0x3fab5d[_0x3247ea(0x11f)](_0x3247ea(0x128))['to'](_0x951d51),_0x3fab5d['on'](_0x3247ea(0x128),()=>{const _0x2bb8ef=_0x3247ea;this[_0x2bb8ef(0x152)][_0x2bb8ef(0x128)](_0x27e0b8[_0x2bb8ef(0x17d)]),this[_0x2bb8ef(0x152)][_0x2bb8ef(0x171)][_0x2bb8ef(0x12b)][_0x2bb8ef(0x192)]();}),_0x3dcbb3[_0x3247ea(0x104)][_0x3247ea(0x135)](_0x3fab5d),_0x5d0aff[_0x3247ea(0x124)][_0x3247ea(0x135)](_0x3dcbb3);}return _0x951d51[_0x3247ea(0x174)](_0x3247ea(0x172))['to'](_0x24b021,_0x3247ea(0x172)),_0x951d51[_0x3247ea(0x123)][_0x3247ea(0x104)][_0x3247ea(0x135)](_0x5d0aff),_0x951d51;}[_0x55959a(0xfb)](_0x275a98){const _0xc81f92=_0x55959a,_0x2d7cce=this[_0xc81f92(0x152)],_0x5be8bd=_0x2d7cce[_0xc81f92(0x113)],_0x22a39d=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0x18d)),_0x455ae9=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0xf6)),_0x1579e1=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0x142)),_0x276c7b=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0x555e62)['me'],_0x37d2e4=_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0xfc))[_0xc81f92(0x122)],_0x30e080=_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0xfc))[_0xc81f92(0x138)],{CommentsListView:_0x4f2e7b,CommentThreadInputView:_0x2a9507}=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0x136));let _0x3c65b9,_0x55e68a,_0x47d0c8;this[_0xc81f92(0xeb)][_0xc81f92(0xf0)](_0x275a98['id'])?(_0x55e68a=this[_0xc81f92(0xeb)][_0xc81f92(0xe8)](_0x275a98['id']),_0x3c65b9=_0x55e68a[_0xc81f92(0x137)]):(_0x3c65b9=new _0x37d2e4(_0x2d7cce[_0xc81f92(0x181)],_0x275a98,_0x276c7b,{'disableComments':this[_0xc81f92(0x14d)],'editorConfig':{..._0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x13f)),'licenseKey':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x108))},'maxCommentsWhenCollapsed':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x141)),'maxThreadTotalWeight':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x10f)),'maxCommentCharsWhenCollapsed':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x13b)),'formatDateTime':_0x335755(_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x181)),_0x2d7cce[_0xc81f92(0x181)]),'CommentView':_0x5be8bd[_0xc81f92(0xe8)](_0xc81f92(0x119))[_0xc81f92(0x184)],'CommentsListView':_0x4f2e7b,'CommentThreadInputView':_0x2a9507,'SuggestionView':_0x30e080}),_0x3c65b9[_0xc81f92(0x157)][_0xc81f92(0x17b)]['on'](_0xc81f92(0x128),()=>{const _0x5c66a2=_0xc81f92;_0x2d7cce[_0x5c66a2(0x171)][_0x5c66a2(0x12b)][_0x5c66a2(0x192)]();}),_0x3c65b9[_0xc81f92(0x157)][_0xc81f92(0x182)]['on'](_0xc81f92(0x128),()=>{const _0xba3190=_0xc81f92;_0x2d7cce[_0xba3190(0x171)][_0xba3190(0x12b)][_0xba3190(0x192)]();}),_0x55e68a=_0x22a39d[_0xc81f92(0x176)](this[_0xc81f92(0x152)][_0xc81f92(0x181)],_0x3c65b9),_0x55e68a[_0xc81f92(0x174)](_0xc81f92(0x16f))['to'](_0x3c65b9,_0xc81f92(0x16f)),_0x55e68a[_0xc81f92(0x174)](_0xc81f92(0x16a))['to'](_0x3c65b9),_0x55e68a[_0xc81f92(0x174)](_0xc81f92(0x165))['to'](_0x3c65b9,_0xc81f92(0x165),_0x31fc76=>_0xc81f92(0x131)+_0x31fc76),_0x3c65b9['on'](_0xc81f92(0x150),()=>{const _0x29ee7f=_0xc81f92;_0x47d0c8[_0x29ee7f(0x14e)](_0x29ee7f(0x150));}),this[_0xc81f92(0xeb)][_0xc81f92(0xff)](_0x275a98['id'],_0x55e68a));const _0x1b3aa2=_0x455ae9[_0xc81f92(0x185)](_0x275a98[_0xc81f92(0x107)],_0x3c65b9),_0x1554e5=new _0x421613(_0x2d7cce,_0x275a98,_0x3c65b9,_0x1b3aa2),_0x3c715d=_0x275a98[_0xc81f92(0x14a)]()[_0xc81f92(0x105)](_0x3fee42=>_0x3fee42[_0xc81f92(0x100)]);_0x3c65b9[_0xc81f92(0x10e)]=_0x2d7cce[_0xc81f92(0x11d)][_0xc81f92(0xe8)](_0xc81f92(0x134))[_0xc81f92(0x160)][_0xc81f92(0x159)](_0x3c715d),this[_0xc81f92(0x145)][_0xc81f92(0xff)](_0x275a98,_0x1554e5),this[_0xc81f92(0x15f)][_0xc81f92(0xff)](_0x3c65b9,_0x1554e5);const _0x331f3f=()=>{const _0x363695=_0xc81f92,_0x11aa31=[],_0x3f36b1=_0x275a98[_0x363695(0x14a)]()[_0x363695(0x105)](_0x4c166a=>_0x4c166a[_0x363695(0x100)]);for(const _0x473159 of _0x3f36b1)_0x11aa31[_0x363695(0x195)](..._0x473159[_0x363695(0x111)]());return _0x2086eb(_0x2d7cce[_0x363695(0x171)],_0x11aa31);};_0x47d0c8=_0x22a39d[_0xc81f92(0x130)]({'view':_0x55e68a,'target':_0x331f3f,'type':()=>_0xc81f92(0x131)+_0x1554e5[_0xc81f92(0x12b)][_0xc81f92(0x165)],'isVisible':!!_0x331f3f()}),_0x455ae9[_0xc81f92(0x167)](_0x3c65b9,_0x47d0c8),_0x22a39d[_0xc81f92(0x135)](_0x47d0c8),_0x1579e1[_0xc81f92(0x173)](_0x47d0c8);}[_0x55959a(0x115)](_0x256941){const _0x13085b=_0x55959a,_0x293d88=this[_0x13085b(0x152)][_0x13085b(0x11d)][_0x13085b(0xe8)](_0x13085b(0xf6)),_0x3b3c88=this[_0x13085b(0x152)][_0x13085b(0x11d)][_0x13085b(0xe8)](_0x13085b(0x18d)),_0x2b697d=this[_0x13085b(0x145)][_0x13085b(0xe8)](_0x256941),_0x29a2cd=_0x2b697d[_0x13085b(0x12b)],_0x201f2c=_0x3b3c88[_0x13085b(0x187)](_0x29a2cd);_0x293d88[_0x13085b(0x10d)](_0x29a2cd),_0x201f2c&&_0x3b3c88[_0x13085b(0x11c)](_0x201f2c),this[_0x13085b(0x145)][_0x13085b(0xfe)](_0x256941),this[_0x13085b(0x15f)][_0x13085b(0xfe)](_0x29a2cd),_0x2b697d[_0x13085b(0x10a)]();}[_0x55959a(0xfd)](_0x3bdbb9){const _0xf0099=_0x55959a;if(!_0x3bdbb9[_0xf0099(0x100)]||!this[_0xf0099(0x145)][_0xf0099(0xf0)](_0x3bdbb9))return;const _0x4a0a2b=this[_0xf0099(0x152)][_0xf0099(0x11d)][_0xf0099(0xe8)](_0xf0099(0x134)),_0x35655c=this[_0xf0099(0x145)][_0xf0099(0xe8)](_0x3bdbb9),_0x53fd8c=_0x3bdbb9[_0xf0099(0x14a)]();_0x35655c[_0xf0099(0x12b)][_0xf0099(0x10e)]=_0x4a0a2b[_0xf0099(0x160)][_0xf0099(0x159)](_0x53fd8c);}[_0x55959a(0x10a)](){const _0x28030d=_0x55959a;for(const _0x2c694b of this[_0x28030d(0x145)][_0x28030d(0x106)]())this[_0x28030d(0x115)](_0x2c694b);for(const _0x50a3dd of this[_0x28030d(0xeb)][_0x28030d(0xf8)]())_0x50a3dd[_0x28030d(0x137)][_0x28030d(0x10a)]();super[_0x28030d(0x10a)](),this[_0x28030d(0x194)]&&clearInterval(this[_0x28030d(0x194)]);}}function ke(_0x44ab2e){const _0x21f22f=_0x55959a;return _0x21f22f(0x169)in _0x44ab2e;}
|
|
23
|
+
function _0x55bf(_0x5f101d,_0x450bf2){const _0x2c9af8=_0x2c9a();return _0x55bf=function(_0x55bfd7,_0xba2bf5){_0x55bfd7=_0x55bfd7-0xa5;let _0x3a9785=_0x2c9af8[_0x55bfd7];return _0x3a9785;},_0x55bf(_0x5f101d,_0x450bf2);}const _0x393491=_0x55bf;(function(_0x2af8ad,_0x35eb64){const _0x26521d=_0x55bf,_0x35468f=_0x2af8ad();while(!![]){try{const _0x2668b3=parseInt(_0x26521d(0xaa))/0x1+-parseInt(_0x26521d(0x12f))/0x2+-parseInt(_0x26521d(0x12e))/0x3+-parseInt(_0x26521d(0x148))/0x4+parseInt(_0x26521d(0x135))/0x5+-parseInt(_0x26521d(0xcc))/0x6*(parseInt(_0x26521d(0x140))/0x7)+parseInt(_0x26521d(0x122))/0x8*(-parseInt(_0x26521d(0x116))/0x9);if(_0x2668b3===_0x35eb64)break;else _0x35468f['push'](_0x35468f['shift']());}catch(_0x288176){_0x35468f['push'](_0x35468f['shift']());}}}(_0x2c9a,0x3a785));import{Plugin as _0x186efb}from'ckeditor5/src/core.js';import{Collection as _0x14d93c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x56b0ec}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x38f22c,createDropdown as _0x5c967e,ListSeparatorView as _0x4701b0,MenuBarMenuView as _0xc2342a,MenuBarMenuListView as _0x532775,MenuBarMenuListItemView as _0x56f0ff,MenuBarMenuListItemButtonView as _0x1283d2,SplitButtonView as _0x5b2b21,UIModel as _0x326cf4}from'ckeditor5/src/ui.js';import{Users as _0x269172,getDateTimeFormatter as _0x27be74,getAllMarkersDomElementsSorted as _0x35e956}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x53fc24}from'./trackchangesediting.js';import{SuggestionController as _0x5bd8cb}from'./ui/suggestioncontroller.js';function _0x2c9a(){const _0x1f0e4c=['TrackChangesUI','addSourceCollector','reduce','model','10254PbFDKa','Annotations','TrackChangesEditing','refreshSelectedViews','getAllAdjacentSuggestions','trackChanges.disableComments','_licenseKeyCheckInterval','switchbutton','Accept\x20all\x20suggestions','bind','head','value','commentsListView','acceptSelectedSuggestions','suggestionChanged','componentFactory','_disableComments','values','evaluationLimit','init','_createToolbarButton','menuBar:trackChanges','TrackChanges','trackChanges.SuggestionThreadView','_destroyController','getByInnerView','editor','actionView','trackChangesLicenseKeyUsageLimit','trackChangesLicenseKeyInvalid','stopListening','getMarkerNames','usageLimit','set','config','from','commandName','descriptionFactory','getSuggestion','pluginName','requires','activeAnnotations','children','keys','isInContent','domainLimit','CommentView','has','destroy','arrowView','getMarkers','getFirstRange','trackChangesLicenseKeyEvaluationLimit','getAnnotationForSuggestion','add','_updateController','activeMarkers','button','toMany','some','getSuggestionForAnnotation','createAnnotation','createCommentThreadController','get','Preview\x20final\x20content','delegate','fire','suggestionView','commentThread','panelView','isEnabled','trackChangesLicenseKeyNotAllowed','trackChangesLicenseKeyValid','remove','7083SPYHyw','_createMenuBarMenu','plugins','descriptionParts','Discard\x20all\x20suggestions','editing','change:activeAnnotations','registerAnnotation','locale','separator','define','acceptButton','1352bxMheT','trackChanges.SuggestionView','items','TrackChangesPreview','_annotationViews','menuitemcheckbox','getDescriptions','_initializeController','suggestion-','execute','Discard\x20all\x20selected\x20suggestions','addComment','331587ZxNEac','59606XvhLVI','licenseKey','SuggestionThreadView','isOn','_handleControllerBuffer','_addUIComponentsToFactory','2102095dnPMIC','EditorAnnotations','acceptAllSuggestions','innerView','change:previous','listenTo','expired','trackChangesLicenseKeyExpired','previous','commands','focus','91EgiFwA','getJoined','isOfficialPlugin','featureNotAllowed','suggestionUnloaded','hasSuggestion','_bindAnnotationToEditors','comments.maxCommentCharsWhenCollapsed','1223236SMzFQd','filter','CommentsUI','Accept\x20all\x20selected\x20suggestions','_handleSuggestionControllerDelayed','isMultiRange','size','getRanges','_refreshActiveMarkers','comments.editorConfig','comments.maxThreadTotalWeight','escape','push','CommentsRepository','mainView','comments','type','420435rJEmWN','discardButton','buttonView','source','invalid','_unbindEditors','previewFinalContent','trackChangesLicenseKeyDomainLimit','isDirty','lowest','addMany','suggestionLoaded','_showLicenseError','isPremiumPlugin','discardSelectedSuggestions','trackChanges','length','menu','clear','discardAllSuggestions','SuggestionView','createAnnotationView','delete','comments.maxCommentsWhenCollapsed','menuitem','unbind','view','Track\x20changes','_viewToController','_suggestionToController'];_0x2c9a=function(){return _0x1f0e4c;};return _0x2c9a();}import{SuggestionThreadView as _0x107b03}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x43b0c3}from'./ui/view/suggestionview.js';import{getTranslation as _0x554184}from'./utils/common-translations.js';export class TrackChangesUI extends _0x186efb{[_0x393491(0x130)];[_0x393491(0xd2)];[_0x393491(0xc7)];[_0x393491(0xc6)];[_0x393491(0x126)];[_0x393491(0x133)];[_0x393491(0xdc)];static get[_0x393491(0xf4)](){const _0x42e355=_0x393491;return[_0x53fc24,_0x269172,_0x42e355(0xa6),_0x42e355(0xcd),_0x42e355(0x136)];}static get[_0x393491(0xf3)](){const _0x2e2486=_0x393491;return _0x2e2486(0xc8);}static get[_0x393491(0x142)](){return!0x0;}static get[_0x393491(0xb7)](){return!0x0;}constructor(_0x82821c){const _0x3f2b1d=_0x393491;super(_0x82821c),this[_0x3f2b1d(0xc7)]=new Map(),this[_0x3f2b1d(0xc6)]=new Map(),this[_0x3f2b1d(0x126)]=new Map(),this[_0x3f2b1d(0x133)]=new Map();const _0x145b79=this[_0x3f2b1d(0xe6)][_0x3f2b1d(0xee)];_0x145b79[_0x3f2b1d(0x120)](_0x3f2b1d(0xe3),_0x107b03),_0x145b79[_0x3f2b1d(0x120)](_0x3f2b1d(0x123),_0x43b0c3),_0x145b79[_0x3f2b1d(0x120)](_0x3f2b1d(0xd1),!0x1),this[_0x3f2b1d(0xdc)]=_0x145b79[_0x3f2b1d(0x10b)](_0x3f2b1d(0xd1));}[_0x393491(0x14c)](_0x237bc3,_0x49a4a1){const _0x4b9401=_0x393491;0x0===this[_0x4b9401(0x133)][_0x4b9401(0x14e)]&&setTimeout(()=>{const _0x4be683=_0x4b9401;for(const [_0x3b6c90,_0x2ee948]of this[_0x4be683(0x133)]){const _0x48cecf=this[_0x4be683(0xc7)][_0x4be683(0xfb)](_0x3b6c90);_0x48cecf||_0x2ee948?_0x48cecf&&_0x2ee948&&this[_0x4be683(0xe4)](_0x3b6c90):this[_0x4be683(0x129)](_0x3b6c90);}this[_0x4be683(0x133)][_0x4be683(0xbc)](),this[_0x4be683(0xe6)][_0x4be683(0x118)][_0x4be683(0x10b)](_0x4be683(0x136))[_0x4be683(0xcf)](),this[_0x4be683(0x150)]();},0xa),this[_0x4b9401(0x133)][_0x4b9401(0xed)](_0x237bc3,_0x49a4a1);}[_0x393491(0xdf)](){const _0x296829=_0x393491,_0x2ac12f=this[_0x296829(0xe6)],_0x2e2476=_0x2ac12f[_0x296829(0x118)][_0x296829(0x10b)](_0x296829(0xce)),_0x463367=_0x2ac12f[_0x296829(0x118)][_0x296829(0x10b)](_0x296829(0xcd)),_0x552288=_0x2ac12f[_0x296829(0x118)][_0x296829(0x10b)](_0x296829(0x136)),_0x7952ed=_0x2ac12f[_0x296829(0x118)][_0x296829(0x10b)](_0x296829(0xa6));this[_0x296829(0x134)](),_0x552288[_0x296829(0xc9)](()=>{const _0x4514a5=_0x296829,_0x5b19cd=[];for(const [_0x147efd,_0x39377e]of Array[_0x4514a5(0xef)](this[_0x4514a5(0xc7)])){const _0x2d0cd8=_0x147efd[_0x4514a5(0xd0)](),_0x207952=[];for(const _0x19ad61 of _0x2d0cd8){if(!_0x19ad61[_0x4514a5(0xf8)])continue;if(_0x19ad61[_0x4514a5(0x14d)]){_0x207952[_0x4514a5(0xa5)](..._0x19ad61[_0x4514a5(0x14f)]());continue;}const _0x3d775e=_0x19ad61[_0x4514a5(0xff)]();if(_0x207952[_0x4514a5(0xba)]>0x0){const _0x1e449c=_0x207952[0x0][_0x4514a5(0x141)](_0x3d775e);if(_0x1e449c){_0x207952[0x0]=_0x1e449c;continue;}}_0x207952[_0x4514a5(0xa5)](_0x3d775e);}_0x5b19cd[_0x4514a5(0xa5)]([_0x39377e[_0x4514a5(0xc4)],_0x207952]);}return _0x5b19cd;}),this[_0x296829(0x13a)](_0x2e2476,_0x296829(0xb5),(_0x22f05e,_0x9965b6)=>{const _0x9dd1f6=_0x296829;this[_0x9dd1f6(0x13a)](_0x9965b6,_0x9dd1f6(0x139),(_0x1536c3,_0x306dba,_0x53f0e3,_0x416d7a)=>{const _0x2f5196=_0x9dd1f6;_0x9965b6[_0x2f5196(0xf8)]&&(null==_0x53f0e3?(this[_0x2f5196(0x103)](_0x416d7a[_0x2f5196(0xd6)]),this[_0x2f5196(0x14c)](_0x9965b6,!0x1)):(this[_0x2f5196(0x103)](_0x53f0e3[_0x2f5196(0xd6)]),null==_0x416d7a&&this[_0x2f5196(0x14c)](_0x9965b6,!0x0)));}),null!==_0x9965b6[_0x9dd1f6(0x13d)]?this[_0x9dd1f6(0x103)](_0x9965b6[_0x9dd1f6(0xd6)]):this[_0x9dd1f6(0x14c)](_0x9965b6,!0x1);}),this[_0x296829(0x13a)](_0x2e2476,_0x296829(0x144),(_0x30eff9,_0x2b3cfe,_0x6af1b4)=>{const _0x3a6707=_0x296829;this[_0x3a6707(0xea)](_0x2b3cfe,_0x3a6707(0x139)),this[_0x3a6707(0x133)][_0x3a6707(0xc0)](_0x2b3cfe),this[_0x3a6707(0xc7)][_0x3a6707(0xfb)](_0x2b3cfe)&&this[_0x3a6707(0xe4)](_0x2b3cfe),_0x6af1b4&&this[_0x3a6707(0x103)](_0x6af1b4[_0x3a6707(0xd6)]);}),this[_0x296829(0x13a)](_0x2e2476,_0x296829(0xda),(_0x20d891,_0x35e1b8)=>{const _0x52f313=_0x296829;this[_0x52f313(0x103)](_0x35e1b8);}),this[_0x296829(0x13a)](_0x463367,_0x296829(0x11c),()=>{const _0x9441d4=_0x296829;this[_0x9441d4(0x150)]();}),this[_0x296829(0x13a)](_0x7952ed,_0x296829(0x12d),(_0x351599,{threadId:_0x1e1208,isFromAdapter:_0x23e236})=>{const _0x586b18=_0x296829;if(_0x23e236||!_0x2e2476[_0x586b18(0x145)](_0x1e1208))return;const _0xafd980=_0x2e2476[_0x586b18(0xf2)](_0x1e1208);this[_0x586b18(0xc7)][_0x586b18(0x10b)](_0xafd980)[_0x586b18(0xc4)][_0x586b18(0xd8)][_0x586b18(0x13f)](-0x1);},{'priority':_0x296829(0xb3)}),this[_0x296829(0x130)]=this[_0x296829(0xe6)][_0x296829(0xee)][_0x296829(0x10b)](_0x296829(0x130));const _0x195f91=this[_0x296829(0xe6)];this[_0x296829(0xd2)]=setInterval(()=>{const _0x3bca0c=_0x296829;let _0x343991;for(const _0xec7daa in _0x195f91){const _0x4b3578=_0xec7daa,_0x294adf=_0x195f91[_0x4b3578];if(_0x3bca0c(0x114)==_0x294adf||_0x3bca0c(0xe9)==_0x294adf||_0x3bca0c(0x13c)==_0x294adf||_0x3bca0c(0xb1)==_0x294adf||_0x3bca0c(0x113)==_0x294adf||_0x3bca0c(0x100)==_0x294adf||_0x3bca0c(0xe8)==_0x294adf){delete _0x195f91[_0x4b3578],_0x343991=_0x294adf,clearInterval(this[_0x3bca0c(0xd2)]),this[_0x3bca0c(0xd2)]=void 0x0;break;}}_0x3bca0c(0xe9)==_0x343991&&_0x195f91[_0x3bca0c(0xb6)](_0x3bca0c(0xae)),_0x3bca0c(0x13c)==_0x343991&&_0x195f91[_0x3bca0c(0xb6)](_0x3bca0c(0x13b)),_0x3bca0c(0xb1)==_0x343991&&_0x195f91[_0x3bca0c(0xb6)](_0x3bca0c(0xf9)),_0x3bca0c(0x113)==_0x343991&&_0x195f91[_0x3bca0c(0xb6)](_0x3bca0c(0x143),_0x3bca0c(0xe2)),_0x3bca0c(0x100)==_0x343991&&_0x195f91[_0x3bca0c(0xb6)](_0x3bca0c(0xde)),_0x3bca0c(0xe8)==_0x343991&&_0x195f91[_0x3bca0c(0xb6)](_0x3bca0c(0xec));},0x3e8);}[_0x393491(0x101)](_0x279eb3){const _0x527da8=_0x393491,_0x2b4d98=this[_0x527da8(0xc7)][_0x527da8(0x10b)](_0x279eb3);if(!_0x2b4d98)return null;return this[_0x527da8(0xe6)][_0x527da8(0x118)][_0x527da8(0x10b)](_0x527da8(0xcd))[_0x527da8(0xe5)](_0x2b4d98[_0x527da8(0xc4)])||null;}[_0x393491(0x108)](_0x27516b){const _0x31fe02=_0x393491,_0x5982c7=this[_0x31fe02(0xc6)][_0x31fe02(0x10b)](_0x27516b[_0x31fe02(0x138)]);return _0x5982c7?_0x5982c7[_0x31fe02(0xcb)]:null;}[_0x393491(0x150)](){const _0x1153a4=_0x393491,_0x1086e0=this[_0x1153a4(0xe6)][_0x1153a4(0x118)][_0x1153a4(0x10b)](_0x1153a4(0xcd)),_0x77acbc=this[_0x1153a4(0xe6)][_0x1153a4(0x118)][_0x1153a4(0x10b)](_0x1153a4(0xce)),_0x2bc5ef=Array[_0x1153a4(0xef)](_0x1086e0[_0x1153a4(0xf5)],_0x117a29=>_0x117a29[_0x1153a4(0x138)])[_0x1153a4(0x149)](_0x22834b=>this[_0x1153a4(0xc6)][_0x1153a4(0xfb)](_0x22834b)),_0x42e27a=[];for(const _0x1cbfdc of _0x2bc5ef){const _0xd14200=this[_0x1153a4(0xc6)][_0x1153a4(0x10b)](_0x1cbfdc)[_0x1153a4(0xcb)][_0x1153a4(0xd0)]();_0x42e27a[_0x1153a4(0xa5)](..._0xd14200[_0x1153a4(0xca)]((_0x3bb7f4,_0x202037)=>[..._0x3bb7f4,..._0x202037[_0x1153a4(0xeb)]()],[]));}_0x77acbc[_0x1153a4(0x104)]=_0x42e27a;}[_0x393491(0x134)](){const _0x220efb=_0x393491,_0x5a7a9a=this[_0x220efb(0xe6)],_0x257480=_0x5a7a9a[_0x220efb(0x11e)],_0x1d943c=_0x554184(_0x257480,_0x220efb(0xc5)),_0x24c902=new _0x14d93c([{'type':_0x220efb(0xd3),'model':new _0x326cf4({'withText':!0x0,'isToggleable':!0x0,'label':_0x1d943c,'commandName':_0x220efb(0xb9),'role':_0x220efb(0x127)})},{'type':_0x220efb(0x11f)},{'type':_0x220efb(0x105),'model':new _0x326cf4({'withText':!0x0,'label':_0x554184(_0x257480,_0x220efb(0xd4)),'commandName':_0x220efb(0x137),'role':_0x220efb(0xc2)})},{'type':_0x220efb(0x105),'model':new _0x326cf4({'withText':!0x0,'label':_0x554184(_0x257480,_0x220efb(0x14b)),'commandName':_0x220efb(0xd9),'role':_0x220efb(0xc2)})},{'type':_0x220efb(0x105),'model':new _0x326cf4({'withText':!0x0,'label':_0x554184(_0x257480,_0x220efb(0x11a)),'commandName':_0x220efb(0xbd),'role':_0x220efb(0xc2)})},{'type':_0x220efb(0x105),'model':new _0x326cf4({'withText':!0x0,'label':_0x554184(_0x257480,_0x220efb(0x12c)),'commandName':_0x220efb(0xb8),'role':_0x220efb(0xc2)})}]);_0x5a7a9a[_0x220efb(0x118)][_0x220efb(0xfb)](_0x220efb(0x125))&&_0x24c902[_0x220efb(0xb4)]([{'type':_0x220efb(0x11f)},{'type':_0x220efb(0x105),'model':new _0x326cf4({'withText':!0x0,'label':_0x554184(_0x257480,_0x220efb(0x10c)),'commandName':_0x220efb(0xb0),'role':_0x220efb(0xc2)})}]);for(const _0x55a071 of _0x24c902)if(ke(_0x55a071)){const _0x26274a=_0x5a7a9a[_0x220efb(0x13e)][_0x220efb(0x10b)](_0x55a071[_0x220efb(0xcb)][_0x220efb(0xf0)]);_0x55a071[_0x220efb(0xcb)][_0x220efb(0xd5)](_0x220efb(0x132),_0x220efb(0x112))['to'](_0x26274a,_0x220efb(0xd7),_0x220efb(0x112));}_0x5a7a9a['ui'][_0x220efb(0xdb)][_0x220efb(0x102)](_0x220efb(0xb9),_0x561b93=>this[_0x220efb(0xe0)](_0x561b93,_0x24c902,_0x1d943c)),_0x5a7a9a['ui'][_0x220efb(0xdb)][_0x220efb(0x102)](_0x220efb(0xe1),_0x22181c=>this[_0x220efb(0x117)](_0x22181c,_0x24c902,_0x1d943c));}[_0x393491(0xe0)](_0x151cad,_0x23c61d,_0x54806d){const _0xaffd22=_0x393491,_0x55a814=_0x5c967e(_0x151cad,_0x5b2b21),_0x21ff41=this[_0xaffd22(0xe6)][_0xaffd22(0x13e)][_0xaffd22(0x10b)](_0xaffd22(0xb9));_0x55a814[_0xaffd22(0xac)][_0xaffd22(0xed)]({'tooltip':_0x54806d,'label':_0x54806d,'icon':_0x56b0ec}),_0x55a814[_0xaffd22(0xac)][_0xaffd22(0xd5)](_0xaffd22(0x132))['to'](_0x21ff41,_0xaffd22(0xd7)),_0x55a814[_0xaffd22(0xac)]['on'](_0xaffd22(0x12b),()=>{const _0xe72606=_0xaffd22;_0x21ff41[_0xe72606(0x12b)](),this[_0xe72606(0xe6)][_0xe72606(0x11b)][_0xe72606(0xc4)][_0xe72606(0x13f)]();}),_0x38f22c(_0x55a814,_0x23c61d,{'role':_0xaffd22(0xbb)});const _0x16d75e=[];for(const _0x41cba0 of _0x23c61d)ke(_0x41cba0)&&_0x16d75e[_0xaffd22(0xa5)](this[_0xaffd22(0xe6)][_0xaffd22(0x13e)][_0xaffd22(0x10b)](_0x41cba0[_0xaffd22(0xcb)][_0xaffd22(0xf0)]));const _0x437f2a=_0x55a814[_0xaffd22(0xac)];return _0x437f2a[_0xaffd22(0xe7)][_0xaffd22(0xc3)](_0xaffd22(0x112)),_0x437f2a[_0xaffd22(0xfd)][_0xaffd22(0xc3)](_0xaffd22(0x112)),_0x437f2a[_0xaffd22(0xe7)][_0xaffd22(0xd5)](_0xaffd22(0x112))['to'](_0x21ff41,_0xaffd22(0x112)),_0x437f2a[_0xaffd22(0xfd)][_0xaffd22(0xd5)](_0xaffd22(0x112))[_0xaffd22(0x106)](_0x16d75e,_0xaffd22(0x112),(..._0x2cd7e0)=>_0x2cd7e0[_0xaffd22(0x107)](_0x17f602=>_0x17f602)),_0x55a814['on'](_0xaffd22(0x12b),_0x3cd039=>{const _0xaa8f6f=_0xaffd22;this[_0xaa8f6f(0xe6)][_0xaa8f6f(0x12b)](_0x3cd039[_0xaa8f6f(0xad)][_0xaa8f6f(0xf0)]),this[_0xaa8f6f(0xe6)][_0xaa8f6f(0x11b)][_0xaa8f6f(0xc4)][_0xaa8f6f(0x13f)]();}),_0x55a814;}[_0x393491(0x117)](_0xfe43af,_0x35d043,_0x2d2a2a){const _0x470346=_0x393491,_0x49b91f=new _0xc2342a(_0xfe43af),_0x1aec4a=this[_0x470346(0xe6)][_0x470346(0x13e)][_0x470346(0x10b)](_0x470346(0xb9));_0x49b91f[_0x470346(0xac)][_0x470346(0xed)]({'label':_0x2d2a2a,'icon':_0x56b0ec});const _0x378cbe=new _0x532775(_0xfe43af);for(const _0x782d54 of _0x35d043){if(_0x470346(0x11f)==_0x782d54[_0x470346(0xa9)]){_0x378cbe[_0x470346(0x124)][_0x470346(0x102)](new _0x4701b0(_0xfe43af));continue;}const _0x114b3b=new _0x56f0ff(_0xfe43af,_0x49b91f),_0x24f740=new _0x1283d2(_0xfe43af),_0x26187c=_0x782d54[_0x470346(0xcb)];_0x24f740[_0x470346(0xd5)](...Object[_0x470346(0xf7)](_0x26187c))['to'](_0x26187c),_0x24f740[_0x470346(0x10d)](_0x470346(0x12b))['to'](_0x49b91f),_0x24f740['on'](_0x470346(0x12b),()=>{const _0x198661=_0x470346;this[_0x198661(0xe6)][_0x198661(0x12b)](_0x26187c[_0x198661(0xf0)]),this[_0x198661(0xe6)][_0x198661(0x11b)][_0x198661(0xc4)][_0x198661(0x13f)]();}),_0x114b3b[_0x470346(0xf6)][_0x470346(0x102)](_0x24f740),_0x378cbe[_0x470346(0x124)][_0x470346(0x102)](_0x114b3b);}return _0x49b91f[_0x470346(0xd5)](_0x470346(0x112))['to'](_0x1aec4a,_0x470346(0x112)),_0x49b91f[_0x470346(0x111)][_0x470346(0xf6)][_0x470346(0x102)](_0x378cbe),_0x49b91f;}[_0x393491(0x129)](_0x409da3){const _0x2fa42b=_0x393491,_0x47a219=this[_0x2fa42b(0xe6)],_0x21139b=_0x47a219[_0x2fa42b(0xee)],_0x26d11e=_0x47a219[_0x2fa42b(0x118)][_0x2fa42b(0x10b)](_0x2fa42b(0xcd)),_0x4101b0=_0x47a219[_0x2fa42b(0x118)][_0x2fa42b(0x10b)](_0x2fa42b(0xa6)),_0x2560b1=_0x47a219[_0x2fa42b(0x118)][_0x2fa42b(0x10b)](_0x2fa42b(0x136)),_0x14bf9f=_0x47a219[_0x2fa42b(0x118)][_0x2fa42b(0x10b)](_0x269172)['me'],_0x3d02a7=_0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0xb9))[_0x2fa42b(0x131)],_0x3b625a=_0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0xb9))[_0x2fa42b(0xbe)],{CommentsListView:_0x354857,CommentThreadInputView:_0x3b4681}=_0x47a219[_0x2fa42b(0x118)][_0x2fa42b(0x10b)](_0x2fa42b(0x14a));let _0x184acb,_0x505b10,_0x327ce7;this[_0x2fa42b(0x126)][_0x2fa42b(0xfb)](_0x409da3['id'])?(_0x505b10=this[_0x2fa42b(0x126)][_0x2fa42b(0x10b)](_0x409da3['id']),_0x184acb=_0x505b10[_0x2fa42b(0xa7)]):(_0x184acb=new _0x3d02a7(_0x47a219[_0x2fa42b(0x11e)],_0x409da3,_0x14bf9f,{'disableComments':this[_0x2fa42b(0xdc)],'editorConfig':{..._0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0x151)),'licenseKey':_0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0x130))},'maxCommentsWhenCollapsed':_0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0xc1)),'maxThreadTotalWeight':_0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0x152)),'maxCommentCharsWhenCollapsed':_0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0x147)),'formatDateTime':_0x27be74(_0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0x11e)),_0x47a219[_0x2fa42b(0x11e)]),'CommentView':_0x21139b[_0x2fa42b(0x10b)](_0x2fa42b(0xa8))[_0x2fa42b(0xfa)],'CommentsListView':_0x354857,'CommentThreadInputView':_0x3b4681,'SuggestionView':_0x3b625a}),_0x184acb[_0x2fa42b(0x10f)][_0x2fa42b(0x121)]['on'](_0x2fa42b(0x12b),()=>{const _0x43c6b2=_0x2fa42b;_0x47a219[_0x43c6b2(0x11b)][_0x43c6b2(0xc4)][_0x43c6b2(0x13f)]();}),_0x184acb[_0x2fa42b(0x10f)][_0x2fa42b(0xab)]['on'](_0x2fa42b(0x12b),()=>{const _0x5a34a9=_0x2fa42b;_0x47a219[_0x5a34a9(0x11b)][_0x5a34a9(0xc4)][_0x5a34a9(0x13f)]();}),_0x505b10=_0x26d11e[_0x2fa42b(0xbf)](this[_0x2fa42b(0xe6)][_0x2fa42b(0x11e)],_0x184acb),_0x505b10[_0x2fa42b(0xd5)](_0x2fa42b(0xb2))['to'](_0x184acb,_0x2fa42b(0xb2)),_0x505b10[_0x2fa42b(0xd5)](_0x2fa42b(0xba))['to'](_0x184acb),_0x505b10[_0x2fa42b(0xd5)](_0x2fa42b(0xa9))['to'](_0x184acb,_0x2fa42b(0xa9),_0x1b3000=>_0x2fa42b(0x12a)+_0x1b3000),_0x184acb['on'](_0x2fa42b(0x153),()=>{const _0x28bd44=_0x2fa42b;_0x327ce7[_0x28bd44(0x10e)](_0x28bd44(0x153));}),this[_0x2fa42b(0x126)][_0x2fa42b(0xed)](_0x409da3['id'],_0x505b10));const _0x3ff752=_0x4101b0[_0x2fa42b(0x10a)](_0x409da3[_0x2fa42b(0x110)],_0x184acb),_0x1dcf61=new _0x5bd8cb(_0x47a219,_0x409da3,_0x184acb,_0x3ff752),_0x49e3b9=_0x409da3[_0x2fa42b(0xd0)]()[_0x2fa42b(0x149)](_0xa75dfb=>_0xa75dfb[_0x2fa42b(0xf8)]);_0x184acb[_0x2fa42b(0x119)]=_0x47a219[_0x2fa42b(0x118)][_0x2fa42b(0x10b)](_0x2fa42b(0xce))[_0x2fa42b(0xf1)][_0x2fa42b(0x128)](_0x49e3b9),this[_0x2fa42b(0xc7)][_0x2fa42b(0xed)](_0x409da3,_0x1dcf61),this[_0x2fa42b(0xc6)][_0x2fa42b(0xed)](_0x184acb,_0x1dcf61);const _0x1db3ad=()=>{const _0x25d346=_0x2fa42b,_0x16cbc7=[],_0x788531=_0x409da3[_0x25d346(0xd0)]()[_0x25d346(0x149)](_0x283726=>_0x283726[_0x25d346(0xf8)]);for(const _0x857219 of _0x788531)_0x16cbc7[_0x25d346(0xa5)](..._0x857219[_0x25d346(0xfe)]());return _0x35e956(_0x47a219[_0x25d346(0x11b)],_0x16cbc7);};_0x327ce7=_0x26d11e[_0x2fa42b(0x109)]({'view':_0x505b10,'target':_0x1db3ad,'type':()=>_0x2fa42b(0x12a)+_0x1dcf61[_0x2fa42b(0xc4)][_0x2fa42b(0xa9)],'isVisible':!!_0x1db3ad()}),_0x4101b0[_0x2fa42b(0x146)](_0x184acb,_0x327ce7),_0x26d11e[_0x2fa42b(0x102)](_0x327ce7),_0x2560b1[_0x2fa42b(0x11d)](_0x327ce7);}[_0x393491(0xe4)](_0x35ae8e){const _0x5b72e6=_0x393491,_0x29e86f=this[_0x5b72e6(0xe6)][_0x5b72e6(0x118)][_0x5b72e6(0x10b)](_0x5b72e6(0xa6)),_0x2dd461=this[_0x5b72e6(0xe6)][_0x5b72e6(0x118)][_0x5b72e6(0x10b)](_0x5b72e6(0xcd)),_0x2c63d0=this[_0x5b72e6(0xc7)][_0x5b72e6(0x10b)](_0x35ae8e),_0x3b4029=_0x2c63d0[_0x5b72e6(0xc4)],_0x1cf2ca=_0x2dd461[_0x5b72e6(0xe5)](_0x3b4029);_0x29e86f[_0x5b72e6(0xaf)](_0x3b4029),_0x1cf2ca&&_0x2dd461[_0x5b72e6(0x115)](_0x1cf2ca),this[_0x5b72e6(0xc7)][_0x5b72e6(0xc0)](_0x35ae8e),this[_0x5b72e6(0xc6)][_0x5b72e6(0xc0)](_0x3b4029),_0x2c63d0[_0x5b72e6(0xfc)]();}[_0x393491(0x103)](_0x1ea9f2){const _0x3bbfdb=_0x393491;if(!_0x1ea9f2[_0x3bbfdb(0xf8)]||!this[_0x3bbfdb(0xc7)][_0x3bbfdb(0xfb)](_0x1ea9f2))return;const _0x1d42b4=this[_0x3bbfdb(0xe6)][_0x3bbfdb(0x118)][_0x3bbfdb(0x10b)](_0x3bbfdb(0xce)),_0x2fd571=this[_0x3bbfdb(0xc7)][_0x3bbfdb(0x10b)](_0x1ea9f2),_0x94ec86=_0x1ea9f2[_0x3bbfdb(0xd0)]();_0x2fd571[_0x3bbfdb(0xc4)][_0x3bbfdb(0x119)]=_0x1d42b4[_0x3bbfdb(0xf1)][_0x3bbfdb(0x128)](_0x94ec86);}[_0x393491(0xfc)](){const _0x6a2c15=_0x393491;for(const _0x27426e of this[_0x6a2c15(0xc7)][_0x6a2c15(0xf7)]())this[_0x6a2c15(0xe4)](_0x27426e);for(const _0x293b42 of this[_0x6a2c15(0x126)][_0x6a2c15(0xdd)]())_0x293b42[_0x6a2c15(0xa7)][_0x6a2c15(0xfc)]();super[_0x6a2c15(0xfc)](),this[_0x6a2c15(0xd2)]&&clearInterval(this[_0x6a2c15(0xd2)]);}}function ke(_0x51e1de){const _0x429cde=_0x393491;return _0x429cde(0xcb)in _0x51e1de;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x264359=_0x2b59;function _0xad21(){const _0x908e4c=['6730703LlCrUd','stopListening','_setPendingAction','unbind','acceptSuggestion','PendingActions','289538ZRDfse','117645MxFrIX','_discardCommand','496075glxJdM','remove','_removePendingAction','PENDING_ACTION_SUGGESTION','_pendingAction','_acceptCommand','isDirty','commands','execute','discardSuggestion','21cZUGXh','bind','getRanges','5090568Bpjfnb','get','plugins','canEditAt','commentThreadController','_editor','6nySzvJ','canDiscard','isEnabled','1596IqkaqM','4hTzppJ','710NqKzVD','change:isDirty','locale','139381hWInqN','44595qyeqoA','add','canAccept','destroy','listenTo','view','model'];_0xad21=function(){return _0x908e4c;};return _0xad21();}function _0x2b59(_0x1866fe,_0x176bc9){const _0xad21eb=_0xad21();return _0x2b59=function(_0x2b59a0,_0x240b9d){_0x2b59a0=_0x2b59a0-0xc2;let _0x42f666=_0xad21eb[_0x2b59a0];return _0x42f666;},_0x2b59(_0x1866fe,_0x176bc9);}(function(_0x5b867e,_0x331b44){const _0x5f3efe=_0x2b59,_0x3b13b9=_0x5b867e();while(!![]){try{const _0x3381d6=-parseInt(_0x5f3efe(0xd4))/0x1+-parseInt(_0x5f3efe(0xd3))/0x2*(parseInt(_0x5f3efe(0xe0))/0x3)+-parseInt(_0x5f3efe(0xed))/0x4*(-parseInt(_0x5f3efe(0xd6))/0x5)+parseInt(_0x5f3efe(0xe9))/0x6*(parseInt(_0x5f3efe(0xcd))/0x7)+-parseInt(_0x5f3efe(0xe3))/0x8+parseInt(_0x5f3efe(0xc6))/0x9*(-parseInt(_0x5f3efe(0xc2))/0xa)+-parseInt(_0x5f3efe(0xc5))/0xb*(-parseInt(_0x5f3efe(0xec))/0xc);if(_0x3381d6===_0x331b44)break;else _0x3b13b9['push'](_0x3b13b9['shift']());}catch(_0x5eaa7c){_0x3b13b9['push'](_0x3b13b9['shift']());}}}(_0xad21,0x99091));import{ObservableMixin as _0x1ea7b6}from'ckeditor5/src/utils.js';import{getTranslation as _0x353da8}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1ea7b6(){[_0x264359(0xcc)];[_0x264359(0xcb)];[_0x264359(0xe7)];[_0x264359(0xe8)];[_0x264359(0xdb)];[_0x264359(0xd5)];[_0x264359(0xda)];constructor(_0x3287d7,_0x2e164a,_0x1c3d9b,_0x2dea0d){const _0x2c9d10=_0x264359;super(),this[_0x2c9d10(0xcc)]=_0x2e164a,this[_0x2c9d10(0xcb)]=_0x1c3d9b,this[_0x2c9d10(0xe7)]=_0x2dea0d,this[_0x2c9d10(0xe8)]=_0x3287d7,this[_0x2c9d10(0xdb)]=_0x3287d7[_0x2c9d10(0xdd)][_0x2c9d10(0xe4)](_0x2c9d10(0xd1)),this[_0x2c9d10(0xd5)]=_0x3287d7[_0x2c9d10(0xdd)][_0x2c9d10(0xe4)](_0x2c9d10(0xdf)),this[_0x2c9d10(0xcb)][_0x2c9d10(0xe1)](_0x2c9d10(0xeb))['to'](this[_0x2c9d10(0xdb)],this[_0x2c9d10(0xd5)],(_0x39fe94,_0x38e9f9)=>_0x39fe94||_0x38e9f9),this[_0x2c9d10(0xcb)][_0x2c9d10(0xe1)](_0x2c9d10(0xc8))['to'](this[_0x2c9d10(0xdb)],_0x2c9d10(0xeb),_0x56ae0f=>_0x56ae0f&&this[_0x2c9d10(0xe8)][_0x2c9d10(0xcc)][_0x2c9d10(0xe6)](_0x2e164a[_0x2c9d10(0xe2)]())),this[_0x2c9d10(0xcb)][_0x2c9d10(0xe1)](_0x2c9d10(0xea))['to'](this[_0x2c9d10(0xd5)],_0x2c9d10(0xeb),_0x3652d5=>_0x3652d5&&this[_0x2c9d10(0xe8)][_0x2c9d10(0xcc)][_0x2c9d10(0xe6)](_0x2e164a[_0x2c9d10(0xe2)]())),this[_0x2c9d10(0xda)]=null,_0x1c3d9b[_0x2c9d10(0xdc)]&&this[_0x2c9d10(0xcf)](),this[_0x2c9d10(0xca)](_0x1c3d9b,_0x2c9d10(0xd1),()=>this[_0x2c9d10(0xd1)]()),this[_0x2c9d10(0xca)](_0x1c3d9b,_0x2c9d10(0xdf),()=>this[_0x2c9d10(0xdf)]()),this[_0x2c9d10(0xca)](_0x1c3d9b,_0x2c9d10(0xc3),()=>{const _0x1560f4=_0x2c9d10;_0x1c3d9b[_0x1560f4(0xdc)]?this[_0x1560f4(0xcf)]():this[_0x1560f4(0xd8)]();});}[_0x264359(0xd1)](){const _0x1ae470=_0x264359;this[_0x1ae470(0xdb)][_0x1ae470(0xde)](this[_0x1ae470(0xcc)]['id']);}[_0x264359(0xdf)](){const _0x387d49=_0x264359;this[_0x387d49(0xd5)][_0x387d49(0xde)](this[_0x387d49(0xcc)]['id']);}[_0x264359(0xc9)](){const _0x4c2d48=_0x264359;this[_0x4c2d48(0xcb)][_0x4c2d48(0xd0)](_0x4c2d48(0xeb)),this[_0x4c2d48(0xcb)][_0x4c2d48(0xd0)](_0x4c2d48(0xc8)),this[_0x4c2d48(0xcb)][_0x4c2d48(0xd0)](_0x4c2d48(0xea)),this[_0x4c2d48(0xce)](),this[_0x4c2d48(0xe7)][_0x4c2d48(0xc9)](),this[_0x4c2d48(0xda)]&&this[_0x4c2d48(0xd8)]();}[_0x264359(0xcf)](){const _0x23a27a=_0x264359,_0x5f3325=_0x353da8(this[_0x23a27a(0xe8)][_0x23a27a(0xc4)],_0x23a27a(0xd9));this[_0x23a27a(0xda)]=this[_0x23a27a(0xe8)][_0x23a27a(0xe5)][_0x23a27a(0xe4)](_0x23a27a(0xd2))[_0x23a27a(0xc7)](_0x5f3325);}[_0x264359(0xd8)](){const _0x5db6b6=_0x264359;null!==this[_0x5db6b6(0xda)]&&this[_0x5db6b6(0xe8)][_0x5db6b6(0xe5)][_0x5db6b6(0xe4)](_0x5db6b6(0xd2))[_0x5db6b6(0xd7)](this[_0x5db6b6(0xda)]),this[_0x5db6b6(0xda)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ac6d3=_0x269d;function _0x269d(_0x5930cd,_0x48f5ce){const _0x22af42=_0x22af();return _0x269d=function(_0x269d5f,_0x4b9c0a){_0x269d5f=_0x269d5f-0x142;let _0x4ba485=_0x22af42[_0x269d5f];return _0x4ba485;},_0x269d(_0x5930cd,_0x48f5ce);}(function(_0x300fec,_0x3cfc0b){const _0x92614=_0x269d,_0xa817f5=_0x300fec();while(!![]){try{const _0x3327de=parseInt(_0x92614(0x150))/0x1+-parseInt(_0x92614(0x170))/0x2*(-parseInt(_0x92614(0x15d))/0x3)+parseInt(_0x92614(0x14f))/0x4*(parseInt(_0x92614(0x17d))/0x5)+-parseInt(_0x92614(0x167))/0x6+parseInt(_0x92614(0x15a))/0x7+parseInt(_0x92614(0x149))/0x8+-parseInt(_0x92614(0x177))/0x9;if(_0x3327de===_0x3cfc0b)break;else _0xa817f5['push'](_0xa817f5['shift']());}catch(_0x431b67){_0xa817f5['push'](_0xa817f5['shift']());}}}(_0x22af,0x83071));import{FocusCycler as _0x173f11,View as _0x4170a5,ViewCollection as _0x1a38bd}from'ckeditor5/src/ui.js';import{FocusTracker as _0x294cd6,KeystrokeHandler as _0x14a190}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x4a319b,setupThreadKeyboardNavigation as _0x3b7d58}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x22af(){const _0x201e93=['ariaLabel','132ilZuvI','103683LhtkwE','cancel','setData','assign','text/html','isReadOnly','commentThread','SUGGESTION_THREAD_DESCRIPTION','isActive','element','4131568qAhRYZ','hasDirtyComment','isEnabled','2787dQdeFA','tab','join','focusTracker','editor','name','addComment','ariaDescriptionView','author','keystrokes','4565088yaPYIO','render','commentInputView','descriptionParts','bind','canDiscard','locale','disabledSubmit','commentsListView','1046oQWQTv','content','set','fire','parseFromString','canAccept','_model','16619634JPnYqF','updateComment','delegate','shift+tab','destroy','submit','155130SnWYHU','isDirty','commentThreadInputView','formatDateTime','focus','_localUser','_createCommentThreadInputView','focusCycler','textContent','map','editorConfig','removeComment','CommentView','_config','length','authoredAt','disableComments','_createCommentViews','value','focusables','7524248rKxrdB','body','showInput','SUGGESTION_THREAD_ARIA_LABEL','target'];_0x22af=function(){return _0x201e93;};return _0x22af();}import{getTranslation as _0x4d0c24}from'../../utils/common-translations.js';import{renderDescription as _0x5a18db}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x4170a5{[_0x1ac6d3(0x16f)];[_0x1ac6d3(0x17f)];[_0x1ac6d3(0x164)];[_0x1ac6d3(0x148)];[_0x1ac6d3(0x160)];[_0x1ac6d3(0x166)];[_0x1ac6d3(0x184)];[_0x1ac6d3(0x176)];[_0x1ac6d3(0x182)];[_0x1ac6d3(0x142)];constructor(_0x1ebe07,_0xfc32bd,_0x2672a1,_0x254e84){const _0x2e4849=_0x1ac6d3;super(_0x1ebe07),this[_0x2e4849(0x16f)]=null,this[_0x2e4849(0x17f)]=null,this[_0x2e4849(0x164)]=new _0x4a319b(_0x1ebe07,_0x4d0c24(_0x1ebe07,_0x2e4849(0x157))),this[_0x2e4849(0x172)](_0x2e4849(0x158),!0x1),this[_0x2e4849(0x172)](_0x2e4849(0x144),_0xfc32bd[_0x2e4849(0x144)]),this[_0x2e4849(0x16b)](_0x2e4849(0x144))['to'](_0xfc32bd),this[_0x2e4849(0x172)](_0x2e4849(0x16a),[]),this[_0x2e4849(0x172)](_0x2e4849(0x17e),!0x1),this[_0x2e4849(0x172)](_0x2e4849(0x15c),!0x1),this[_0x2e4849(0x172)](_0x2e4849(0x175),!0x1),this[_0x2e4849(0x172)](_0x2e4849(0x16c),!0x1),this[_0x2e4849(0x16b)](_0x2e4849(0x14e))['to'](this,_0x2e4849(0x143),_0xfc32bd,_0x2e4849(0x144),this,_0x2e4849(0x16a),(_0x10407b,_0x35e9b6,_0x277d34)=>{const _0x3aad77=_0x2e4849,_0x49e550=_0x277d34[_0x3aad77(0x186)](_0xeb6606=>_0x5a18db(_0xeb6606[_0x3aad77(0x171)]))[_0x3aad77(0x15f)]('.\x20')+'.';return _0x4d0c24(this[_0x3aad77(0x16d)],_0x3aad77(0x14c),[_0x10407b-0x1,_0xfc32bd[_0x3aad77(0x165)][_0x3aad77(0x162)],_0x35e9b6?_0x254e84[_0x3aad77(0x180)](_0x35e9b6):'',new DOMParser()[_0x3aad77(0x174)](_0x49e550,_0x3aad77(0x154))[_0x3aad77(0x14a)][_0x3aad77(0x185)]]);}),this[_0x2e4849(0x148)]=new _0x1a38bd(),this[_0x2e4849(0x160)]=new _0x294cd6(),this[_0x2e4849(0x166)]=new _0x14a190(),this[_0x2e4849(0x184)]=new _0x173f11({'focusables':this[_0x2e4849(0x148)],'focusTracker':this[_0x2e4849(0x160)],'keystrokeHandler':this[_0x2e4849(0x166)],'keystrokeHandlerOptions':{'filter':_0x379a61=>_0x379a61[_0x2e4849(0x14d)]!==this[_0x2e4849(0x159)]},'actions':{'focusPrevious':_0x2e4849(0x17a),'focusNext':_0x2e4849(0x15e)}}),this[_0x2e4849(0x176)]=_0xfc32bd,this[_0x2e4849(0x182)]=_0x2672a1,this[_0x2e4849(0x142)]=_0x254e84,_0x254e84[_0x2e4849(0x145)]?this[_0x2e4849(0x172)](_0x2e4849(0x143),0x1):this[_0x2e4849(0x146)]();}[_0x1ac6d3(0x168)](){const _0x59ce86=_0x1ac6d3;super[_0x59ce86(0x168)](),_0x3b7d58(this,this[_0x59ce86(0x148)]);}[_0x1ac6d3(0x181)](){const _0x2d3770=_0x1ac6d3;this[_0x2d3770(0x159)][_0x2d3770(0x181)]();}[_0x1ac6d3(0x17b)](){const _0x2554ac=_0x1ac6d3;this[_0x2554ac(0x16f)]&&this[_0x2554ac(0x16f)][_0x2554ac(0x17b)](),this[_0x2554ac(0x17f)]&&this[_0x2554ac(0x17f)][_0x2554ac(0x17b)](),super[_0x2554ac(0x17b)]();}[_0x1ac6d3(0x146)](){const _0x242e3b=_0x1ac6d3,{CommentsListView:_0x3f2f6f}=this[_0x242e3b(0x142)];this[_0x242e3b(0x16f)]=new _0x3f2f6f(this[_0x242e3b(0x16d)],this[_0x242e3b(0x176)][_0x242e3b(0x156)],Object[_0x242e3b(0x153)]({'CommentView':this[_0x242e3b(0x142)][_0x242e3b(0x189)]},this[_0x242e3b(0x142)])),this[_0x242e3b(0x16f)][_0x242e3b(0x179)](_0x242e3b(0x188))['to'](this),this[_0x242e3b(0x16f)][_0x242e3b(0x179)](_0x242e3b(0x178))['to'](this),this[_0x242e3b(0x16f)][_0x242e3b(0x16b)](_0x242e3b(0x158))['to'](this),this[_0x242e3b(0x172)](_0x242e3b(0x143),this[_0x242e3b(0x16f)][_0x242e3b(0x143)]+0x1),this[_0x242e3b(0x16b)](_0x242e3b(0x143))['to'](this[_0x242e3b(0x16f)],_0x242e3b(0x143),_0x339df8=>_0x339df8+0x1),this[_0x242e3b(0x17f)]=this[_0x242e3b(0x183)](),this['on'](_0x242e3b(0x188),()=>this[_0x242e3b(0x181)]()),this[_0x242e3b(0x16b)](_0x242e3b(0x17e))['to'](this[_0x242e3b(0x16f)],_0x242e3b(0x15b),this[_0x242e3b(0x17f)][_0x242e3b(0x169)],_0x242e3b(0x147),(_0x1fdc10,_0x2a57cc)=>_0x1fdc10||!!_0x2a57cc);}[_0x1ac6d3(0x183)](){const _0x338c3c=_0x1ac6d3,{CommentThreadInputView:_0x557356}=this[_0x338c3c(0x142)],_0x477ebf=new _0x557356(this[_0x338c3c(0x16d)],this[_0x338c3c(0x182)],this[_0x338c3c(0x142)][_0x338c3c(0x187)]),_0x39f99a=_0x477ebf[_0x338c3c(0x169)];return _0x477ebf[_0x338c3c(0x16b)](_0x338c3c(0x14b))['to'](this,_0x338c3c(0x158),this[_0x338c3c(0x176)][_0x338c3c(0x156)],_0x338c3c(0x155),_0x39f99a,_0x338c3c(0x147),(_0x409977,_0x48a3d5,_0x13dcae)=>!!_0x13dcae||_0x409977&&!_0x48a3d5),_0x39f99a['on'](_0x338c3c(0x17c),(_0x4a7298,_0x5412d7)=>{const _0x293400=_0x338c3c;this[_0x293400(0x173)](_0x293400(0x163),_0x5412d7),_0x39f99a[_0x293400(0x161)][_0x293400(0x152)]('');}),_0x39f99a['on'](_0x338c3c(0x151),()=>this[_0x338c3c(0x181)]()),_0x39f99a[_0x338c3c(0x16b)](_0x338c3c(0x16e))['to'](this[_0x338c3c(0x176)][_0x338c3c(0x156)],_0x338c3c(0x155)),_0x477ebf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5739ae=_0x44ce;(function(_0x3569e1,_0xf7f9e8){const _0x488a10=_0x44ce,_0x55aee0=_0x3569e1();while(!![]){try{const _0x4bfa6b=-parseInt(_0x488a10(0x10b))/0x1*(-parseInt(_0x488a10(0x115))/0x2)+-parseInt(_0x488a10(0x122))/0x3*(parseInt(_0x488a10(0x106))/0x4)+-parseInt(_0x488a10(0x117))/0x5*(-parseInt(_0x488a10(0x118))/0x6)+parseInt(_0x488a10(0xf7))/0x7*(parseInt(_0x488a10(0x130))/0x8)+-parseInt(_0x488a10(0x107))/0x9+-parseInt(_0x488a10(0x119))/0xa+parseInt(_0x488a10(0x124))/0xb*(parseInt(_0x488a10(0x101))/0xc);if(_0x4bfa6b===_0xf7f9e8)break;else _0x55aee0['push'](_0x55aee0['shift']());}catch(_0x568a79){_0x55aee0['push'](_0x55aee0['shift']());}}}(_0x5c26,0x90e0f));import{BaseSuggestionThreadView as _0x55dcad}from'./basesuggestionthreadview.js';function _0x5c26(){const _0x482ef3=['1TJsvvi','acceptSuggestion','canDiscard','ariaLabel','listitem','bindTemplate','set','descriptionParts','discardButton','content','22916XEIMqq','render','5jqdKjd','178836oTPiJY','11424560DnRsTa','isEnabled','editorDestroyed','ck-rounded-corners','_descriptionElement','type','color','focusables','</p>','11451LKBZxR','push','11thgAIV','ariaDescriptionView','getTemplate','author','bind','commentsListView','description','div','discardSuggestion','editorReady','disableComments','commentThread','8sMxhpy','canAccept','7764071GeofXv','isActive','formatDateTime','suggestionView','acceptButton','ck-suggestion--disabled-comments','ck-suggestion-wrapper','delegate','commentThreadInputView','<p>','18910068VTSQCa','SuggestionView','setTemplate','ck-suggestion-wrapper--active','ck-suggestion-','80TzWgZO','8226333iHPMqt','_model','add','_config'];_0x5c26=function(){return _0x482ef3;};return _0x5c26();}import{trimHtml as _0x36c272}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1f05e1}from'../../utils/utils.js';function _0x44ce(_0x439714,_0x43c205){const _0x5c2654=_0x5c26();return _0x44ce=function(_0x44ce97,_0x40bee7){_0x44ce97=_0x44ce97-0xf6;let _0x1a01ee=_0x5c2654[_0x44ce97];return _0x1a01ee;},_0x44ce(_0x439714,_0x43c205);}export class SuggestionThreadView extends _0x55dcad{[_0x5739ae(0xfa)];[_0x5739ae(0x11d)];constructor(_0x4d3c4d,_0x5ce079,_0x18765a,_0x939ff8){const _0x2f7a12=_0x5739ae;super(_0x4d3c4d,_0x5ce079,_0x18765a,_0x939ff8),this[_0x2f7a12(0x111)](_0x2f7a12(0x11e),''),this[_0x2f7a12(0x128)](_0x2f7a12(0x11e))['to'](this,_0x2f7a12(0x112),_0x3a9eaf=>_0x3a9eaf&&_0x3a9eaf[0x0]?_0x3a9eaf[0x0][_0x2f7a12(0x11e)]:''),this[_0x2f7a12(0x128)](_0x2f7a12(0x12a))['to'](this,_0x2f7a12(0x112),this,_0x2f7a12(0xf8),(_0x584b06,_0x18b6ca)=>{const _0x4483e5=_0x2f7a12;let _0x4abfd6='';for(const _0x1293f8 of _0x584b06)_0x4abfd6+=_0x4483e5(0x100)+_0x1f05e1(_0x1293f8[_0x4483e5(0x114)],_0x1293f8[_0x4483e5(0x11f)])+_0x4483e5(0x121);return _0x18b6ca?_0x4abfd6:_0x36c272(_0x4abfd6,{'limit':0x8c});}),this[_0x2f7a12(0x11d)]=null,this[_0x2f7a12(0xfa)]=new _0x939ff8[(_0x2f7a12(0x102))](_0x4d3c4d,_0x5ce079,{'formatDateTime':_0x939ff8[_0x2f7a12(0xf9)]}),this[_0x2f7a12(0xfa)][_0x2f7a12(0x128)](_0x2f7a12(0x12a))['to'](this),this[_0x2f7a12(0xfa)][_0x2f7a12(0xfe)](_0x2f7a12(0x10c),_0x2f7a12(0x12c))['to'](this),this[_0x2f7a12(0xfa)][_0x2f7a12(0xfb)][_0x2f7a12(0x128)](_0x2f7a12(0x11a))['to'](this,_0x2f7a12(0xf6)),this[_0x2f7a12(0xfa)][_0x2f7a12(0x113)][_0x2f7a12(0x128)](_0x2f7a12(0x11a))['to'](this,_0x2f7a12(0x10d)),this[_0x2f7a12(0x120)][_0x2f7a12(0x109)](this[_0x2f7a12(0xfa)]),this[_0x2f7a12(0x129)]&&this[_0x2f7a12(0x120)][_0x2f7a12(0x109)](this[_0x2f7a12(0x129)]),this[_0x2f7a12(0xff)]&&this[_0x2f7a12(0x120)][_0x2f7a12(0x109)](this[_0x2f7a12(0xff)]),this[_0x2f7a12(0x103)](this[_0x2f7a12(0x126)]());}[_0x5739ae(0x126)](){const _0x50807f=_0x5739ae,_0x1270ec=this[_0x50807f(0x110)],_0x1bae32=[this[_0x50807f(0xfa)]];return this[_0x50807f(0x129)]&&_0x1bae32[_0x50807f(0x123)](this[_0x50807f(0x129)]),this[_0x50807f(0xff)]&&_0x1bae32[_0x50807f(0x123)](this[_0x50807f(0xff)]),_0x1bae32[_0x50807f(0x123)](this[_0x50807f(0x125)]),{'tag':_0x50807f(0x12b),'attributes':{'class':['ck',_0x50807f(0x11c),_0x50807f(0xfd),_0x1270ec['if'](_0x50807f(0xf8),_0x50807f(0x104)),_0x1270ec['to'](_0x50807f(0x11e),_0x556ee4=>_0x50807f(0x105)+_0x556ee4),this[_0x50807f(0x10a)][_0x50807f(0x12e)]&&_0x50807f(0xfc)],'data-suggestion-id':this[_0x50807f(0x108)]['id'],'data-thread-id':this[_0x50807f(0x108)][_0x50807f(0x12f)]['id'],'data-author-id':this[_0x50807f(0x108)][_0x50807f(0x127)]['id'],'tabindex':0x0,'role':_0x50807f(0x10f),'aria-label':_0x1270ec['to'](_0x50807f(0x10e)),'aria-describedby':this[_0x50807f(0x125)]['id']},'children':_0x1bae32};}[_0x5739ae(0x116)](){const _0x1acb8c=_0x5739ae;super[_0x1acb8c(0x116)](),this[_0x1acb8c(0x129)]&&(this[_0x1acb8c(0x129)][_0x1acb8c(0xfe)](_0x1acb8c(0x12d))['to'](this),this[_0x1acb8c(0x129)][_0x1acb8c(0xfe)](_0x1acb8c(0x11b))['to'](this)),this[_0x1acb8c(0xff)]&&(this[_0x1acb8c(0xff)][_0x1acb8c(0xfe)](_0x1acb8c(0x12d))['to'](this),this[_0x1acb8c(0xff)][_0x1acb8c(0xfe)](_0x1acb8c(0x11b))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14b058=_0x1e54;function _0x1e54(_0x312049,_0x4d27fa){const _0xac7a78=_0xac7a();return _0x1e54=function(_0x1e54fd,_0x513429){_0x1e54fd=_0x1e54fd-0xbf;let _0x2b6b57=_0xac7a78[_0x1e54fd];return _0x2b6b57;},_0x1e54(_0x312049,_0x4d27fa);}(function(_0x280c6e,_0x4b45d0){const _0x175aaf=_0x1e54,_0x4d4fff=_0x280c6e();while(!![]){try{const _0x12ea59=parseInt(_0x175aaf(0xe1))/0x1+-parseInt(_0x175aaf(0xe9))/0x2+-parseInt(_0x175aaf(0x10f))/0x3+-parseInt(_0x175aaf(0x108))/0x4*(parseInt(_0x175aaf(0xf5))/0x5)+-parseInt(_0x175aaf(0xc3))/0x6*(-parseInt(_0x175aaf(0x10b))/0x7)+-parseInt(_0x175aaf(0xc5))/0x8+-parseInt(_0x175aaf(0xcf))/0x9*(-parseInt(_0x175aaf(0xfc))/0xa);if(_0x12ea59===_0x4b45d0)break;else _0x4d4fff['push'](_0x4d4fff['shift']());}catch(_0x3da478){_0x4d4fff['push'](_0x4d4fff['shift']());}}}(_0xac7a,0x52931));function _0xac7a(){const _0x355cbd=['bindTemplate','ck-annotation__content-wrapper','ck-comment__info-time','547546fmlREd','acceptSuggestion','ck-suggestion__info-name','ck-annotation__actions','authoredAt','_setupKeyboardNavigation','userView','@external','364924zGZlKy','keystrokes','_createButton','target','querySelector','focus','set','description','extendTemplate','ck-annotation__info-time','time','enter','115iFNDdn','change:description','execute','listenTo','EXTERNAL_SUGGESTION','ck-suggestion--discard','discardButton','70GBULHy','shift+tab','EXTERNAL_IMPORT_WORD_AVATAR','author','ck-suggestion__info','fire','_config','name','add','Discard\x20suggestion','element','acceptButton','72672HzmtLV','presentation','EXTERNAL_IMPORT_WORD_SUGGESTION','4549461gGNruK','discardSuggestion','Accept\x20suggestion','push','1161750fDEgxd','EXTERNAL_AVATAR','ck-annotation__info-name','ck-suggestion__main','getTemplate','creator','ck-annotation__main','ck-suggestion','ck-suggestion--accept','focusTracker','ck-annotation','div','ck-annotation__user','6wxjTHO','importWord','506288GEuEjy','render','getExternalSuggestionNote','isExternal','tab','focusables','esc','getUserViewNotificationText','_model','bind','246366uqSZzn','ck-comment__external','locale','formatDateTime','ck-suggestion__actions','innerHTML','setTemplate','ck-annotation__info','.ck-annotation__content-wrapper','ck-suggestion__user','span','attributes','focusFirst','source','focusCycler'];_0xac7a=function(){return _0x355cbd;};return _0xac7a();}import{FocusTracker as _0x3e2962,KeystrokeHandler as _0x442256}from'ckeditor5/src/utils.js';import{View as _0x40799c,ViewCollection as _0x169e38,FocusCycler as _0x337ec5}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x1d01d9,UserView as _0x956012}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x32c2a1,IconCheck as _0x25f0ba}from'ckeditor5/src/icons.js';import{getTranslation as _0x3042eb}from'../../utils/common-translations.js';export class SuggestionView extends _0x40799c{[_0x14b058(0xe7)];[_0x14b058(0x107)];[_0x14b058(0xfb)];[_0x14b058(0xca)];[_0x14b058(0xbf)];[_0x14b058(0xea)];[_0x14b058(0xdd)];[_0x14b058(0xcd)];[_0x14b058(0x102)];constructor(_0x4cbdf0,_0x2a9e4c,_0x4b3c2f){const _0x440c41=_0x14b058;super(_0x4cbdf0),this[_0x440c41(0xcd)]=_0x2a9e4c,this[_0x440c41(0x102)]=_0x4b3c2f,this[_0x440c41(0xef)](_0x440c41(0xf0),''),this[_0x440c41(0xce)](_0x440c41(0xe5))['to'](_0x2a9e4c),this[_0x440c41(0x107)]=this[_0x440c41(0xeb)](_0x3042eb(_0x4cbdf0,_0x440c41(0x10d)),_0x25f0ba,_0x440c41(0x117),_0x440c41(0xe2),'sw'),this[_0x440c41(0xfb)]=this[_0x440c41(0xeb)](_0x3042eb(_0x4cbdf0,_0x440c41(0x105)),_0x32c2a1,_0x440c41(0xfa),_0x440c41(0x10c),'sw'),this[_0x440c41(0xe7)]=new _0x956012(_0x4cbdf0,_0x2a9e4c[_0x440c41(0xff)],this[_0x440c41(0xcc)]()),this[_0x440c41(0xe7)][_0x440c41(0xf1)]({'attributes':{'class':[_0x440c41(0xd8),_0x440c41(0xc2)],'aria-hidden':!0x0}}),this[_0x440c41(0xca)]=new _0x169e38([this[_0x440c41(0x107)],this[_0x440c41(0xfb)]]),this[_0x440c41(0xbf)]=new _0x3e2962(),this[_0x440c41(0xea)]=new _0x442256(),this[_0x440c41(0xdd)]=new _0x337ec5({'focusables':this[_0x440c41(0xca)],'focusTracker':this[_0x440c41(0xbf)],'keystrokeHandler':this[_0x440c41(0xea)],'actions':{'focusPrevious':_0x440c41(0xfd),'focusNext':_0x440c41(0xc9)},'keystrokeHandlerOptions':{'filter':_0xafdcab=>_0xafdcab[_0x440c41(0xec)]!==this[_0x440c41(0x106)]}}),this[_0x440c41(0xd5)](this[_0x440c41(0x113)]());}[_0x14b058(0xc6)](){const _0x3aec08=_0x14b058;super[_0x3aec08(0xc6)]();const _0x25598b=this[_0x3aec08(0x106)][_0x3aec08(0xed)](_0x3aec08(0xd7));_0x25598b[_0x3aec08(0xd4)]=this[_0x3aec08(0xf0)],this['on'](_0x3aec08(0xf6),(_0x8d6382,_0x135ae8,_0x5655dc)=>{const _0x5248da=_0x3aec08;_0x25598b[_0x5248da(0xd4)]=_0x5655dc;}),this[_0x3aec08(0xe6)]();}[_0x14b058(0x113)](){const _0x5800d6=_0x14b058,_0x46b358=this[_0x5800d6(0xde)],_0x257d5c=[{'tag':_0x5800d6(0xc1),'attributes':{'class':[_0x5800d6(0x100),_0x5800d6(0xd6)]},'children':[{'tag':_0x5800d6(0xd9),'children':[{'text':this[_0x5800d6(0xe7)][_0x5800d6(0x103)]}],'attributes':{'class':[_0x5800d6(0xe3),_0x5800d6(0x111)],'data-cke-tooltip-text':this[_0x5800d6(0xe7)][_0x5800d6(0x103)]}},{'tag':_0x5800d6(0xf3),'attributes':{'datetime':_0x46b358['to'](_0x5800d6(0xe5)),'class':[_0x5800d6(0xe0),_0x5800d6(0xf2)]},'children':[{'text':_0x46b358['to'](_0x5800d6(0xe5),_0x4d38ad=>this[_0x5800d6(0x102)][_0x5800d6(0xd2)](_0x4d38ad))}]}]},{'tag':_0x5800d6(0xc1),'attributes':{'class':[_0x5800d6(0xd3),_0x5800d6(0xe4)]},'children':[this[_0x5800d6(0x107)],this[_0x5800d6(0xfb)]]},{'tag':_0x5800d6(0xc1),'attributes':{'class':[_0x5800d6(0xdf)]}}];return this[_0x5800d6(0xcd)][_0x5800d6(0xc8)]&&_0x257d5c[_0x5800d6(0x10e)]({'tag':_0x5800d6(0xc1),'attributes':{'class':[_0x5800d6(0xd0)]},'children':[{'text':this[_0x5800d6(0xc7)]()}]}),{'tag':_0x5800d6(0xc1),'attributes':{'class':[_0x5800d6(0x116),_0x5800d6(0xc0)],'tabindex':-0x1},'children':[this[_0x5800d6(0xe7)],{'tag':_0x5800d6(0xc1),'attributes':{'class':[_0x5800d6(0x112),_0x5800d6(0x115)],'role':_0x5800d6(0x109)},'children':_0x257d5c}]};}[_0x14b058(0xee)](){const _0x56d886=_0x14b058;this[_0x56d886(0x106)][_0x56d886(0xee)]();}[_0x14b058(0xcc)](){const _0x1ea11c=_0x14b058;return this[_0x1ea11c(0xcd)][_0x1ea11c(0xc8)]?_0x1ea11c(0xc4)===this[_0x1ea11c(0xcd)][_0x1ea11c(0xda)][_0x1ea11c(0xe8)][_0x1ea11c(0xdc)]?_0x3042eb(this[_0x1ea11c(0xd1)],_0x1ea11c(0xfe),this[_0x1ea11c(0xcd)][_0x1ea11c(0x114)][_0x1ea11c(0x103)]):_0x3042eb(this[_0x1ea11c(0xd1)],_0x1ea11c(0x110),this[_0x1ea11c(0xcd)][_0x1ea11c(0x114)][_0x1ea11c(0x103)]):null;}[_0x14b058(0xc7)](){const _0x58c302=_0x14b058;return _0x58c302(0xc4)===this[_0x58c302(0xcd)][_0x58c302(0xda)][_0x58c302(0xe8)][_0x58c302(0xdc)]?_0x3042eb(this[_0x58c302(0xd1)],_0x58c302(0x10a)):_0x3042eb(this[_0x58c302(0xd1)],_0x58c302(0xf9));}[_0x14b058(0xeb)](_0x13be2c,_0x1ecbdb,_0x262ab7,_0x560d4c,_0x101579){const _0x37c3e0=_0x14b058,_0x2a7e2b=new _0x1d01d9(this[_0x37c3e0(0xd1)]);return _0x2a7e2b[_0x37c3e0(0xef)]({'label':_0x13be2c,'icon':_0x1ecbdb,'tooltip':!0x0,'tooltipPosition':_0x101579}),_0x2a7e2b[_0x37c3e0(0xf1)]({'attributes':{'class':_0x262ab7}}),_0x2a7e2b['on'](_0x37c3e0(0xf7),()=>{const _0xaf9f50=_0x37c3e0;this[_0xaf9f50(0x101)](_0x560d4c,this[_0xaf9f50(0xcd)]['id']);}),_0x2a7e2b;}[_0x14b058(0xe6)](){const _0x4d562f=_0x14b058,_0x8deb91=this[_0x4d562f(0x106)];this[_0x4d562f(0xea)][_0x4d562f(0xf8)](_0x8deb91);for(const _0xa8090 of this[_0x4d562f(0xca)])this[_0x4d562f(0xbf)][_0x4d562f(0x104)](_0xa8090[_0x4d562f(0x106)]),this[_0x4d562f(0xea)][_0x4d562f(0xf8)](_0xa8090[_0x4d562f(0x106)]);this[_0x4d562f(0xea)][_0x4d562f(0xef)](_0x4d562f(0xf4),(_0x49e10c,_0x1a91e6)=>{const _0x517488=_0x4d562f;_0x8deb91===_0x49e10c[_0x517488(0xec)]&&(this[_0x517488(0xdd)][_0x517488(0xdb)](),_0x1a91e6());}),this[_0x4d562f(0xea)][_0x4d562f(0xef)](_0x4d562f(0xcb),(_0x22e9b3,_0x480f62)=>{const _0x56c4ce=_0x4d562f;_0x8deb91!==_0x22e9b3[_0x56c4ce(0xec)]&&(this[_0x56c4ce(0xee)](),_0x480f62());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x486090=_0x254b;(function(_0x2ca19f,_0xa44fdf){const _0xcb2a41=_0x254b,_0x1d049b=_0x2ca19f();while(!![]){try{const _0x52d6de=-parseInt(_0xcb2a41(0xca))/0x1+parseInt(_0xcb2a41(0xdb))/0x2*(-parseInt(_0xcb2a41(0xc6))/0x3)+parseInt(_0xcb2a41(0xdd))/0x4+parseInt(_0xcb2a41(0xcc))/0x5+-parseInt(_0xcb2a41(0xd4))/0x6*(-parseInt(_0xcb2a41(0xd3))/0x7)+parseInt(_0xcb2a41(0xc0))/0x8*(parseInt(_0xcb2a41(0xc4))/0x9)+-parseInt(_0xcb2a41(0xd7))/0xa;if(_0x52d6de===_0xa44fdf)break;else _0x1d049b['push'](_0x1d049b['shift']());}catch(_0x5b2718){_0x1d049b['push'](_0x1d049b['shift']());}}}(_0x2fef,0x81e27));function _0x254b(_0x1edc93,_0x12e27f){const _0x2fefda=_0x2fef();return _0x254b=function(_0x254b74,_0x19b6ff){_0x254b74=_0x254b74-0xbf;let _0x131241=_0x2fefda[_0x254b74];return _0x131241;},_0x254b(_0x1edc93,_0x12e27f);}import{View as _0x3b1f0d}from'ckeditor5/src/ui.js';function _0x2fef(){const _0x3b3234=['classes','1899PUfTYO','data-ck-root-name','24ORoXSk','setAttribute','height','ck-reset','183072BXRbWF','ck-track-changes-preview','1329340eBxigf','style','dialogRects','setPreviewData','focus','innerHTML','createElement','408205FEIXCz','102SYEtxq','previewDataReady','element','4788350LedVun','options','width','render','46034qexoUW','push','181156bHsYHq','content','className','\x20ck-track-changes-preview__root-container','setTemplate','2864OmQAFv','div','fire'];_0x2fef=function(){return _0x3b3234;};return _0x2fef();}export class TrackChangesPreviewView extends _0x3b1f0d{[_0x486090(0xd8)];constructor(_0x30cb6,_0x20c641){const _0x317d36=_0x486090;super(_0x30cb6),this[_0x317d36(0xd8)]=_0x20c641,this[_0x317d36(0xbf)]({'tag':_0x317d36(0xc1),'attributes':{'class':['ck',_0x317d36(0xc9),_0x317d36(0xcb)],'tabindex':-0x1}});}[_0x486090(0xda)](){const _0x5f515d=_0x486090;super[_0x5f515d(0xda)](),this[_0x5f515d(0xd6)][_0x5f515d(0xcd)][_0x5f515d(0xd9)]=this[_0x5f515d(0xd8)][_0x5f515d(0xce)][_0x5f515d(0xd9)]+'px',this[_0x5f515d(0xd6)][_0x5f515d(0xcd)][_0x5f515d(0xc8)]=this[_0x5f515d(0xd8)][_0x5f515d(0xce)][_0x5f515d(0xc8)]+'px';}[_0x486090(0xcf)](_0x591b34,_0x37b4b2){const _0x2929ac=_0x486090;if(!this[_0x2929ac(0xd6)])return;const _0x2a30b2=[];for(const [_0xa5b497,_0x3775b1]of _0x591b34){const _0x2c842b=document[_0x2929ac(0xd2)](_0x2929ac(0xc1));_0x2c842b[_0x2929ac(0xc7)](_0x2929ac(0xc5),_0xa5b497),_0x2c842b[_0x2929ac(0xdf)]=_0x3775b1[_0x2929ac(0xc3)]+_0x2929ac(0xe0),_0x2c842b[_0x2929ac(0xd1)]=_0x3775b1[_0x2929ac(0xde)],_0x2a30b2[_0x2929ac(0xdc)](_0x2c842b);}_0x37b4b2(this[_0x2929ac(0xd6)],_0x2a30b2),this[_0x2929ac(0xd6)][_0x2929ac(0xcd)][_0x2929ac(0xc8)]='',this[_0x2929ac(0xc2)](_0x2929ac(0xd5));}[_0x486090(0xd0)](){const _0x5ad398=_0x486090;this[_0x5ad398(0xd6)][_0x5ad398(0xd0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3e202a,_0x1fb8cb,_0x2b93c4){const _0x3171e8=_0x3e202a['t'],t=_0x3e202a['t'];switch(_0x1fb8cb){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',_0x2b93c4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2b93c4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2b93c4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2b93c4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2b93c4);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',_0x2b93c4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2b93c4);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',_0x2b93c4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2b93c4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2b93c4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2b93c4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2b93c4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2b93c4);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2b93c4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2b93c4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2b93c4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2b93c4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2b93c4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2b93c4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2b93c4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2b93c4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2b93c4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2b93c4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2b93c4);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2b93c4);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2b93c4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2b93c4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2b93c4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2b93c4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2b93c4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2b93c4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2b93c4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2b93c4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2b93c4);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'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2b93c4);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x2b93c4);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x2b93c4);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x2b93c4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2b93c4);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'},_0x2b93c4);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2b93c4);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 _0x3171e8({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2b93c4);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3171e8({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2b93c4);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2b93c4);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'},_0x2b93c4);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'},_0x2b93c4);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'},_0x2b93c4);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1fb8cb;}}
|
|
23
|
+
export function getTranslation(_0xd9d22a,_0x419bc9,_0x29e95e){const _0x28eaf4=_0xd9d22a['t'],t=_0xd9d22a['t'];switch(_0x419bc9){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',_0x29e95e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x29e95e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x29e95e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x29e95e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x29e95e);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',_0x29e95e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x29e95e);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',_0x29e95e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x29e95e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x29e95e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x29e95e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x29e95e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x29e95e);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x29e95e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x29e95e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x29e95e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x29e95e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x29e95e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x29e95e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x29e95e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x29e95e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x29e95e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x29e95e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x29e95e);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x29e95e);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'},_0x29e95e);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x29e95e);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x29e95e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x29e95e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x29e95e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x29e95e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x29e95e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x29e95e);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'},_0x29e95e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x29e95e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x29e95e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x29e95e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x29e95e);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'},_0x29e95e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x29e95e);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'},_0x29e95e);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'},_0x29e95e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x29e95e);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'},_0x29e95e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x29e95e);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'},_0x29e95e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x29e95e);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x29e95e);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x29e95e);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x29e95e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x29e95e);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'},_0x29e95e);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x29e95e);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 _0x28eaf4({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x29e95e);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x28eaf4({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x29e95e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x29e95e);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'},_0x29e95e);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'},_0x29e95e);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'},_0x29e95e);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x419bc9;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd6afd4,_0x395815){const _0x5a31d2=_0xe62f,_0x426ebe=_0xd6afd4();while(!![]){try{const _0x1cb99d=-parseInt(_0x5a31d2(0x191))/0x1*(-parseInt(_0x5a31d2(0x18c))/0x2)+parseInt(_0x5a31d2(0x1a1))/0x3+-parseInt(_0x5a31d2(0x1b0))/0x4+-parseInt(_0x5a31d2(0x194))/0x5+-parseInt(_0x5a31d2(0x1b5))/0x6*(parseInt(_0x5a31d2(0x1ac))/0x7)+-parseInt(_0x5a31d2(0x1ad))/0x8+parseInt(_0x5a31d2(0x1ba))/0x9;if(_0x1cb99d===_0x395815)break;else _0x426ebe['push'](_0x426ebe['shift']());}catch(_0x5b45df){_0x426ebe['push'](_0x426ebe['shift']());}}}(_0x2fed,0x5fc69));export function normalizeDescription(_0x37cf11){const _0x39d51c=_0xe62f;return Array[_0x39d51c(0x19d)](_0x37cf11)||(_0x37cf11=[_0x37cf11]),_0x37cf11[_0x39d51c(0x1b9)](_0x29eb5d=>{const _0x523cba=_0x39d51c,_0x3dd0b5=_0x29eb5d[_0x523cba(0x192)][_0x523cba(0x19c)](/\*/g,''),_0xdc2ea=_0x29eb5d[_0x523cba(0x19e)]?_0x523cba(0x18d)+_0x29eb5d[_0x523cba(0x19e)][_0x523cba(0x195)]+']':'';return'['+_0x29eb5d[_0x523cba(0x185)]+']\x20'+_0x3dd0b5+_0xdc2ea;})[_0x39d51c(0x196)](';\x20');}export function renderDescription(_0x2516fd,_0x1ced90){const _0x4f4737=_0xe62f;let _0x334285='';return _0x334285+=_0x2516fd[_0x4f4737(0x1b3)]('*')[_0x4f4737(0x1b9)]((_0x289e3d,_0x39017a)=>_0x39017a%0x2!=0x0?_0x4f4737(0x19b)+on(_0x289e3d)+_0x4f4737(0x198):on(_0x289e3d))[_0x4f4737(0x196)](''),_0x1ced90&&(_0x334285+=_0x4f4737(0x1b2)+_0x1ced90[_0x4f4737(0x195)]+_0x4f4737(0x1b6)+_0x1ced90[_0x4f4737(0x197)]+_0x4f4737(0x18a)),_0x334285;}function on(_0x403191){const _0x3bb1f1=_0xe62f,_0x28d7e5=document[_0x3bb1f1(0x18f)](_0x3bb1f1(0x1a8));return _0x28d7e5[_0x3bb1f1(0x1b4)]=_0x403191,_0x28d7e5[_0x3bb1f1(0x1a2)];}export function sortSuggestions(_0xcb4bdb){const _0x415bfb=_0xe62f;return _0xcb4bdb[_0x415bfb(0x19f)]((_0x43ae41,_0x16d39c)=>_0x415bfb(0x1a5)===_0x43ae41[_0x415bfb(0x185)]&&_0x415bfb(0x1a5)!==_0x16d39c[_0x415bfb(0x185)]?-0x1:_0x415bfb(0x1a5)!==_0x43ae41[_0x415bfb(0x185)]&&_0x415bfb(0x1a5)===_0x16d39c[_0x415bfb(0x185)]?0x1:_0x415bfb(0x1a0)==_0x43ae41[_0x415bfb(0x185)]&&_0x415bfb(0x1a0)!=_0x16d39c[_0x415bfb(0x185)]?-0x1:_0x415bfb(0x1a0)!=_0x43ae41[_0x415bfb(0x185)]&&_0x415bfb(0x1a0)==_0x16d39c[_0x415bfb(0x185)]?0x1:0x0);}export function getSelectedSuggestions(_0x45ab17,_0x495f83){const _0x527946=_0xe62f,_0x183857=Array[_0x527946(0x19a)](_0x45ab17[_0x527946(0x1ae)]()),_0x3348b2=new Set();for(const _0x50fd09 of _0x495f83)if(_0x50fd09[_0x527946(0x1a4)]){for(const _0x1b8e42 of _0x183857)for(const _0x2c99f8 of _0x50fd09[_0x527946(0x1ae)]())(_0x1b8e42[_0x527946(0x186)](_0x2c99f8)||_0x45ab17[_0x527946(0x1aa)]&&!_0x50fd09[_0x527946(0x18e)]&&_0x50fd09[_0x527946(0x188)]&&_0x2c99f8[_0x527946(0x1a9)][_0x527946(0x190)](_0x1b8e42[_0x527946(0x1b8)]))&&_0x3348b2[_0x527946(0x1a3)](_0x50fd09);}return _0x3348b2;}export function getRangesOfBlockGroups(_0x2bc416,_0x8177f0){const _0x2e42f0=_0xe62f;let _0x2320dc,_0x6fab97=0x0;const _0x5052e4=[],_0x321828=_0x8177f0[_0x2e42f0(0x18b)];for(;_0x6fab97<_0x2bc416[_0x2e42f0(0x1b7)];){const _0xc3c181=_0x2bc416[_0x6fab97],_0x5e9b04=_0x2bc416[_0x6fab97+0x1];_0x2320dc||(_0x2320dc=_0x8177f0[_0x2e42f0(0x187)](_0xc3c181)),rn(_0x8177f0,_0xc3c181,_0x5e9b04)||(_0x5052e4[_0x2e42f0(0x199)](_0x8177f0[_0x2e42f0(0x1ab)](_0x2320dc,_0x321828[_0x2e42f0(0x1af)](_0xc3c181)?_0x8177f0[_0x2e42f0(0x1a7)](_0xc3c181):_0x8177f0[_0x2e42f0(0x189)](_0xc3c181,_0x2e42f0(0x1a9)))),_0x2320dc=null),_0x6fab97++;}return _0x5052e4;}function rn(_0x55de5d,_0x30a3d5,_0x35aa10){const _0xf1fbfe=_0xe62f;if(!_0x35aa10)return!0x1;const _0x44082d=_0x55de5d[_0xf1fbfe(0x1a7)](_0x30a3d5),_0x3e9ad1=_0x55de5d[_0xf1fbfe(0x187)](_0x35aa10);return _0x44082d[_0xf1fbfe(0x190)](_0x3e9ad1);}function _0xe62f(_0xcd016e,_0x439864){const _0x2fedae=_0x2fed();return _0xe62f=function(_0xe62fa0,_0x465671){_0xe62fa0=_0xe62fa0-0x185;let _0x473526=_0x2fedae[_0xe62fa0];return _0x473526;},_0xe62f(_0xcd016e,_0x439864);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x32b533,_0x4f0a10,_0x92029d){const _0x25c36f=_0xe62f;for(;_0x92029d[_0x25c36f(0x1b7)];){const _0x1414b2=_0x92029d[_0x25c36f(0x1a6)](0x0,0x64);_0x32b533[_0x25c36f(0x1b1)](()=>{const _0x512141=_0x25c36f;for(const _0x4a3463 of _0x1414b2)_0x4a3463[_0x512141(0x1a4)]&&_0x4f0a10[_0x512141(0x193)](_0x4a3463['id']);});}}function _0x2fed(){const _0x2dbe8f=['execute','2755135guxQiF','value','join','title','</span>','push','from','<span\x20class=\x22ck-suggestion-type\x22>','replace','isArray','color','sort','deletion','524037BMPtjy','innerHTML','add','isInContent','attribute','splice','createPositionAfter','span','end','isCollapsed','createRange','7rvZNtW','4117536nOOibl','getRanges','isObject','1873588nGzyJQ','change','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','split','innerText','389514aouVjF','\x22\x20title=\x22','length','start','map','12216942pOpZXP','type','isIntersecting','createPositionBefore','next','createPositionAt','\x22></span>','schema','290kpWAoF','\x20[color\x20','isMultiRange','createElement','isTouching','3167xDKlfJ','content'];_0x2fed=function(){return _0x2dbe8f;};return _0x2fed();}
|