@ckeditor/ckeditor5-track-changes 47.6.0-alpha.0 → 47.6.0-alpha.1
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
|
-
|
|
23
|
+
function _0x31ed(){const _0x11c1e2=['trackChanges.preview.renderFunction','6138860uvwenU','4721704FzSCuW','commands','978145XGaJRK','isOfficialPlugin','previewFinalContent','5771048voPDOw','6jWTcjV','TrackChangesPreview','isPremiumPlugin','editor','add','define','config','306UGKEnG','33903315SuxVew','requires','appendChild','11883jqRplA','580893ArDYDr','pluginName'];_0x31ed=function(){return _0x11c1e2;};return _0x31ed();}const _0x24deb1=_0x559b;function _0x559b(_0x1a0671,_0x57842a){const _0x31ed7b=_0x31ed();return _0x559b=function(_0x559bef,_0x24321b){_0x559bef=_0x559bef-0x6f;let _0x4d9bea=_0x31ed7b[_0x559bef];return _0x4d9bea;},_0x559b(_0x1a0671,_0x57842a);}(function(_0xedf18f,_0x27a741){const _0x38c962=_0x559b,_0x21bfe8=_0xedf18f();while(!![]){try{const _0x5af519=parseInt(_0x38c962(0x76))/0x1+-parseInt(_0x38c962(0x71))/0x2*(-parseInt(_0x38c962(0x75))/0x3)+parseInt(_0x38c962(0x7a))/0x4+parseInt(_0x38c962(0x79))/0x5+parseInt(_0x38c962(0x80))/0x6*(parseInt(_0x38c962(0x7c))/0x7)+parseInt(_0x38c962(0x7f))/0x8+-parseInt(_0x38c962(0x72))/0x9;if(_0x5af519===_0x27a741)break;else _0x21bfe8['push'](_0x21bfe8['shift']());}catch(_0xa68bb2){_0x21bfe8['push'](_0x21bfe8['shift']());}}}(_0x31ed,0xa8435));import{Plugin as _0x1e66c1}from'ckeditor5/src/core.js';import{Dialog as _0x578196}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1a6d6c}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x40df1c}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x1e66c1{static get[_0x24deb1(0x73)](){return[_0x1a6d6c,_0x578196];}static get[_0x24deb1(0x77)](){const _0x36cb59=_0x24deb1;return _0x36cb59(0x81);}static get[_0x24deb1(0x7d)](){return!0x0;}static get[_0x24deb1(0x82)](){return!0x0;}constructor(_0x7938cf){const _0x2c8af6=_0x24deb1;super(_0x7938cf),_0x7938cf[_0x2c8af6(0x7b)][_0x2c8af6(0x84)](_0x2c8af6(0x7e),new _0x40df1c(this[_0x2c8af6(0x83)])),_0x7938cf[_0x2c8af6(0x70)][_0x2c8af6(0x6f)](_0x2c8af6(0x78),(_0x1b7fd7,_0x2e3c81)=>{const _0x36764f=_0x2c8af6;for(const _0x2a663c of _0x2e3c81)_0x1b7fd7[_0x36764f(0x74)](_0x2a663c);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34ee2a=_0x3ea0;(function(_0x25859d,_0x31ae73){const _0x58fa9a=_0x3ea0,_0x31326d=_0x25859d();while(!![]){try{const _0x5b4c7e=parseInt(_0x58fa9a(0x21a))/0x1*(parseInt(_0x58fa9a(0x20c))/0x2)+-parseInt(_0x58fa9a(0x1d4))/0x3*(-parseInt(_0x58fa9a(0x199))/0x4)+parseInt(_0x58fa9a(0x1a6))/0x5*(parseInt(_0x58fa9a(0x1e2))/0x6)+-parseInt(_0x58fa9a(0x1b2))/0x7+-parseInt(_0x58fa9a(0x211))/0x8*(parseInt(_0x58fa9a(0x1c0))/0x9)+parseInt(_0x58fa9a(0x21d))/0xa*(-parseInt(_0x58fa9a(0x1c7))/0xb)+parseInt(_0x58fa9a(0x208))/0xc;if(_0x5b4c7e===_0x31ae73)break;else _0x31326d['push'](_0x31326d['shift']());}catch(_0x4f17b8){_0x31326d['push'](_0x31326d['shift']());}}}(_0x443e,0x1e70e));import{Plugin as _0x2725d6}from'ckeditor5/src/core.js';import{Collection as _0x43f3c5}from'ckeditor5/src/utils.js';function _0x443e(){const _0x358237=['view','isInContent','16WkecVm','trackChangesLicenseKeyInvalid','pluginName','acceptAllSuggestions','Annotations','trackChanges.disableComments','previous','previewFinalContent','suggestionView','1YsSzyj','trackChangesLicenseKeyDomainLimit','some','10aAPCua','items','hasSuggestion','discardSelectedSuggestions','getAnnotationForSuggestion','requires','SuggestionThreadView','suggestion-','remove','isEnabled','commands','_annotationViews','_initializeController','addSourceCollector','locale','TrackChanges','EditorAnnotations','change:previous','trackChangesLicenseKeyEvaluationLimit','getByInnerView','commentsListView','_suggestionToController','values','Accept\x20all\x20selected\x20suggestions','Accept\x20all\x20suggestions','createCommentThreadController','trackChangesLicenseKeyNotAllowed','_addUIComponentsToFactory','suggestionUnloaded','add','suggestionLoaded','buttonView','getMarkerNames','featureNotAllowed','createAnnotation','trackChangesLicenseKeyUsageLimit','trackChanges.SuggestionView','source','comments','activeAnnotations','CommentsRepository','delegate','value','menuBar:trackChanges','type','_updateController','8RmmYgn','CommentView','trackChanges','acceptButton','push','_viewToController','trackChangesLicenseKeyValid','_handleControllerBuffer','clear','_unbindEditors','_bindAnnotationToEditors','usageLimit','head','890aycmMd','menu','button','_handleSuggestionControllerDelayed','mainView','getFirstRange','_createToolbarButton','getAllAdjacentSuggestions','domainLimit','licenseKey','TrackChangesUI','isDirty','564403ZaIvkZ','addComment','commentThread','toMany','suggestionChanged','discardButton','isOn','unbind','change:activeAnnotations','comments.maxCommentsWhenCollapsed','editing','actionView','init','bind','6174pDiIjD','delete','Track\x20changes','children','editor','isPremiumPlugin','has','2561383KVLHJK','TrackChangesPreview','comments.maxThreadTotalWeight','Discard\x20all\x20selected\x20suggestions','keys','define','comments.editorConfig','from','focus','addMany','_destroyController','trackChanges.SuggestionThreadView','_refreshActiveMarkers','148773VqNvgt','menuitem','lowest','getMarkers','invalid','_disableComments','descriptionParts','componentFactory','_createMenuBarMenu','set','destroy','_licenseKeyCheckInterval','evaluationLimit','acceptSelectedSuggestions','102WXSisQ','refreshSelectedViews','arrowView','menuitemcheckbox','escape','separator','TrackChangesEditing','isMultiRange','getRanges','config','createAnnotationView','execute','stopListening','expired','filter','_showLicenseError','commandName','getSuggestionForAnnotation','fire','innerView','registerAnnotation','isOfficialPlugin','comments.maxCommentCharsWhenCollapsed','model','get','getJoined','activeMarkers','SuggestionView','panelView','size','Preview\x20final\x20content','trackChangesLicenseKeyExpired','plugins','listenTo','CommentsUI','getSuggestion','reduce','discardAllSuggestions','1438356lZZaNd','descriptionFactory','Discard\x20all\x20suggestions','length','434938caDijS','getDescriptions','switchbutton'];_0x443e=function(){return _0x358237;};return _0x443e();}import{IconTrackChanges as _0x15857c}from'ckeditor5/src/icons.js';function _0x3ea0(_0x284a3a,_0x4dd517){const _0x443e25=_0x443e();return _0x3ea0=function(_0x3ea0d4,_0x17702e){_0x3ea0d4=_0x3ea0d4-0x18b;let _0x1ce798=_0x443e25[_0x3ea0d4];return _0x1ce798;},_0x3ea0(_0x284a3a,_0x4dd517);}import{addListToDropdown as _0x25aacf,createDropdown as _0x10975b,ListSeparatorView as _0x4d54f0,MenuBarMenuView as _0x369f07,MenuBarMenuListView as _0x18b8ff,MenuBarMenuListItemView as _0x194b7d,MenuBarMenuListItemButtonView as _0x29c4bb,SplitButtonView as _0xcdae66,UIModel as _0xd3b5a1}from'ckeditor5/src/ui.js';import{Users as _0x45e57,getDateTimeFormatter as _0x39fc3c,getAllMarkersDomElementsSorted as _0x566b87}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1d3a09}from'./trackchangesediting.js';import{SuggestionController as _0x58067d}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0xdf2cf0}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x54a18c}from'./ui/view/suggestionview.js';import{getTranslation as _0x70ca11}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2725d6{[_0x34ee2a(0x1af)];[_0x34ee2a(0x1df)];[_0x34ee2a(0x232)];[_0x34ee2a(0x19e)];[_0x34ee2a(0x228)];[_0x34ee2a(0x1a0)];[_0x34ee2a(0x1d9)];static get[_0x34ee2a(0x222)](){const _0x1671e2=_0x34ee2a;return[_0x1d3a09,_0x45e57,_0x1671e2(0x193),_0x1671e2(0x215),_0x1671e2(0x22d)];}static get[_0x34ee2a(0x213)](){const _0x13b393=_0x34ee2a;return _0x13b393(0x1b0);}static get[_0x34ee2a(0x1f7)](){return!0x0;}static get[_0x34ee2a(0x1c5)](){return!0x0;}constructor(_0x467f19){const _0x2caf63=_0x34ee2a;super(_0x467f19),this[_0x2caf63(0x232)]=new Map(),this[_0x2caf63(0x19e)]=new Map(),this[_0x2caf63(0x228)]=new Map(),this[_0x2caf63(0x1a0)]=new Map();const _0x1dc35e=this[_0x2caf63(0x1c4)][_0x2caf63(0x1eb)];_0x1dc35e[_0x2caf63(0x1cc)](_0x2caf63(0x1d2),_0xdf2cf0),_0x1dc35e[_0x2caf63(0x1cc)](_0x2caf63(0x18f),_0x54a18c),_0x1dc35e[_0x2caf63(0x1cc)](_0x2caf63(0x216),!0x1),this[_0x2caf63(0x1d9)]=_0x1dc35e[_0x2caf63(0x1fa)](_0x2caf63(0x216));}[_0x34ee2a(0x1a9)](_0x1a66b6,_0x43ca14){const _0x4aecbe=_0x34ee2a;0x0===this[_0x4aecbe(0x1a0)][_0x4aecbe(0x1ff)]&&setTimeout(()=>{const _0x4e3238=_0x4aecbe;for(const [_0x215a16,_0x45d2d2]of this[_0x4e3238(0x1a0)]){const _0x148b71=this[_0x4e3238(0x232)][_0x4e3238(0x1c6)](_0x215a16);_0x148b71||_0x45d2d2?_0x148b71&&_0x45d2d2&&this[_0x4e3238(0x1d1)](_0x215a16):this[_0x4e3238(0x229)](_0x215a16);}this[_0x4e3238(0x1a0)][_0x4e3238(0x1a1)](),this[_0x4e3238(0x1c4)][_0x4e3238(0x202)][_0x4e3238(0x1fa)](_0x4e3238(0x22d))[_0x4e3238(0x1e3)](),this[_0x4e3238(0x1d3)]();},0xa),this[_0x4aecbe(0x1a0)][_0x4aecbe(0x1dd)](_0x1a66b6,_0x43ca14);}[_0x34ee2a(0x1be)](){const _0x228a24=_0x34ee2a,_0x3890ba=this[_0x228a24(0x1c4)],_0x58462e=_0x3890ba[_0x228a24(0x202)][_0x228a24(0x1fa)](_0x228a24(0x1e8)),_0x3b24ee=_0x3890ba[_0x228a24(0x202)][_0x228a24(0x1fa)](_0x228a24(0x215)),_0x1902a0=_0x3890ba[_0x228a24(0x202)][_0x228a24(0x1fa)](_0x228a24(0x22d)),_0x3eb45b=_0x3890ba[_0x228a24(0x202)][_0x228a24(0x1fa)](_0x228a24(0x193));this[_0x228a24(0x238)](),_0x1902a0[_0x228a24(0x22a)](()=>{const _0x5d6f8=_0x228a24,_0x389b48=[];for(const [_0x17659b,_0x251a4c]of Array[_0x5d6f8(0x1ce)](this[_0x5d6f8(0x232)])){const _0x32fdcb=_0x17659b[_0x5d6f8(0x1ad)](),_0x549046=[];for(const _0x2a46e2 of _0x32fdcb){if(!_0x2a46e2[_0x5d6f8(0x210)])continue;if(_0x2a46e2[_0x5d6f8(0x1e9)]){_0x549046[_0x5d6f8(0x19d)](..._0x2a46e2[_0x5d6f8(0x1ea)]());continue;}const _0x28eb2f=_0x2a46e2[_0x5d6f8(0x1ab)]();if(_0x549046[_0x5d6f8(0x20b)]>0x0){const _0x3b5fcc=_0x549046[0x0][_0x5d6f8(0x1fb)](_0x28eb2f);if(_0x3b5fcc){_0x549046[0x0]=_0x3b5fcc;continue;}}_0x549046[_0x5d6f8(0x19d)](_0x28eb2f);}_0x389b48[_0x5d6f8(0x19d)]([_0x251a4c[_0x5d6f8(0x20f)],_0x549046]);}return _0x389b48;}),this[_0x228a24(0x203)](_0x58462e,_0x228a24(0x23b),(_0x33d8d7,_0x43d22f)=>{const _0x3be658=_0x228a24;this[_0x3be658(0x203)](_0x43d22f,_0x3be658(0x22e),(_0x3d794a,_0x333da6,_0x36d718,_0x338989)=>{const _0x2a1f5e=_0x3be658;_0x43d22f[_0x2a1f5e(0x210)]&&(null==_0x36d718?(this[_0x2a1f5e(0x198)](_0x338989[_0x2a1f5e(0x1a5)]),this[_0x2a1f5e(0x1a9)](_0x43d22f,!0x1)):(this[_0x2a1f5e(0x198)](_0x36d718[_0x2a1f5e(0x1a5)]),null==_0x338989&&this[_0x2a1f5e(0x1a9)](_0x43d22f,!0x0)));}),null!==_0x43d22f[_0x3be658(0x217)]?this[_0x3be658(0x198)](_0x43d22f[_0x3be658(0x1a5)]):this[_0x3be658(0x1a9)](_0x43d22f,!0x1);}),this[_0x228a24(0x203)](_0x58462e,_0x228a24(0x239),(_0x27c2ab,_0x5a57f9,_0x5b0cfa)=>{const _0x49462f=_0x228a24;this[_0x49462f(0x1ee)](_0x5a57f9,_0x49462f(0x22e)),this[_0x49462f(0x1a0)][_0x49462f(0x1c1)](_0x5a57f9),this[_0x49462f(0x232)][_0x49462f(0x1c6)](_0x5a57f9)&&this[_0x49462f(0x1d1)](_0x5a57f9),_0x5b0cfa&&this[_0x49462f(0x198)](_0x5b0cfa[_0x49462f(0x1a5)]);}),this[_0x228a24(0x203)](_0x58462e,_0x228a24(0x1b6),(_0x35bf67,_0x10d2ac)=>{const _0x3a0f87=_0x228a24;this[_0x3a0f87(0x198)](_0x10d2ac);}),this[_0x228a24(0x203)](_0x3b24ee,_0x228a24(0x1ba),()=>{const _0x42bd84=_0x228a24;this[_0x42bd84(0x1d3)]();}),this[_0x228a24(0x203)](_0x3eb45b,_0x228a24(0x1b3),(_0x36639f,{threadId:_0x1b9122,isFromAdapter:_0x34c95e})=>{const _0x329c0a=_0x228a24;if(_0x34c95e||!_0x58462e[_0x329c0a(0x21f)](_0x1b9122))return;const _0x2f1826=_0x58462e[_0x329c0a(0x205)](_0x1b9122);this[_0x329c0a(0x232)][_0x329c0a(0x1fa)](_0x2f1826)[_0x329c0a(0x20f)][_0x329c0a(0x231)][_0x329c0a(0x1cf)](-0x1);},{'priority':_0x228a24(0x1d6)}),this[_0x228a24(0x1af)]=this[_0x228a24(0x1c4)][_0x228a24(0x1eb)][_0x228a24(0x1fa)](_0x228a24(0x1af));const _0x2a23d0=this[_0x228a24(0x1c4)];this[_0x228a24(0x1df)]=setInterval(()=>{const _0x1cea44=_0x228a24;let _0x39b72b;for(const _0x2707ee in _0x2a23d0){const _0x183113=_0x2707ee,_0x33c532=_0x2a23d0[_0x183113];if(_0x1cea44(0x19f)==_0x33c532||_0x1cea44(0x212)==_0x33c532||_0x1cea44(0x201)==_0x33c532||_0x1cea44(0x21b)==_0x33c532||_0x1cea44(0x237)==_0x33c532||_0x1cea44(0x22f)==_0x33c532||_0x1cea44(0x18e)==_0x33c532){delete _0x2a23d0[_0x183113],_0x39b72b=_0x33c532,clearInterval(this[_0x1cea44(0x1df)]),this[_0x1cea44(0x1df)]=void 0x0;break;}}_0x1cea44(0x212)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1d8)),_0x1cea44(0x201)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1ef)),_0x1cea44(0x21b)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1ae)),_0x1cea44(0x237)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x18c),_0x1cea44(0x22c)),_0x1cea44(0x22f)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1e0)),_0x1cea44(0x18e)==_0x39b72b&&_0x2a23d0[_0x1cea44(0x1f1)](_0x1cea44(0x1a4));},0x3e8);}[_0x34ee2a(0x221)](_0x1fd950){const _0x31b1a7=_0x34ee2a,_0xe93bf0=this[_0x31b1a7(0x232)][_0x31b1a7(0x1fa)](_0x1fd950);if(!_0xe93bf0)return null;return this[_0x31b1a7(0x1c4)][_0x31b1a7(0x202)][_0x31b1a7(0x1fa)](_0x31b1a7(0x215))[_0x31b1a7(0x230)](_0xe93bf0[_0x31b1a7(0x20f)])||null;}[_0x34ee2a(0x1f3)](_0x250575){const _0x295475=_0x34ee2a,_0x4e15d9=this[_0x295475(0x19e)][_0x295475(0x1fa)](_0x250575[_0x295475(0x1f5)]);return _0x4e15d9?_0x4e15d9[_0x295475(0x1f9)]:null;}[_0x34ee2a(0x1d3)](){const _0x303477=_0x34ee2a,_0xa87b77=this[_0x303477(0x1c4)][_0x303477(0x202)][_0x303477(0x1fa)](_0x303477(0x215)),_0x1c86b9=this[_0x303477(0x1c4)][_0x303477(0x202)][_0x303477(0x1fa)](_0x303477(0x1e8)),_0x363b64=Array[_0x303477(0x1ce)](_0xa87b77[_0x303477(0x192)],_0x818a6f=>_0x818a6f[_0x303477(0x1f5)])[_0x303477(0x1f0)](_0x56c26c=>this[_0x303477(0x19e)][_0x303477(0x1c6)](_0x56c26c)),_0x59021f=[];for(const _0x36df95 of _0x363b64){const _0x6eae30=this[_0x303477(0x19e)][_0x303477(0x1fa)](_0x36df95)[_0x303477(0x1f9)][_0x303477(0x1ad)]();_0x59021f[_0x303477(0x19d)](..._0x6eae30[_0x303477(0x206)]((_0x5dad4e,_0x423f64)=>[..._0x5dad4e,..._0x423f64[_0x303477(0x18b)]()],[]));}_0x1c86b9[_0x303477(0x1fc)]=_0x59021f;}[_0x34ee2a(0x238)](){const _0x9718a9=_0x34ee2a,_0x36eded=this[_0x9718a9(0x1c4)],_0x1efce8=_0x36eded[_0x9718a9(0x22b)],_0xcf84e8=_0x70ca11(_0x1efce8,_0x9718a9(0x1c2)),_0x53b050=new _0x43f3c5([{'type':_0x9718a9(0x20e),'model':new _0xd3b5a1({'withText':!0x0,'isToggleable':!0x0,'label':_0xcf84e8,'commandName':_0x9718a9(0x19b),'role':_0x9718a9(0x1e5)})},{'type':_0x9718a9(0x1e7)},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x235)),'commandName':_0x9718a9(0x214),'role':_0x9718a9(0x1d5)})},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x234)),'commandName':_0x9718a9(0x1e1),'role':_0x9718a9(0x1d5)})},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x20a)),'commandName':_0x9718a9(0x207),'role':_0x9718a9(0x1d5)})},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x1ca)),'commandName':_0x9718a9(0x220),'role':_0x9718a9(0x1d5)})}]);_0x36eded[_0x9718a9(0x202)][_0x9718a9(0x1c6)](_0x9718a9(0x1c8))&&_0x53b050[_0x9718a9(0x1d0)]([{'type':_0x9718a9(0x1e7)},{'type':_0x9718a9(0x1a8),'model':new _0xd3b5a1({'withText':!0x0,'label':_0x70ca11(_0x1efce8,_0x9718a9(0x200)),'commandName':_0x9718a9(0x218),'role':_0x9718a9(0x1d5)})}]);for(const _0x3cf13e of _0x53b050)if(ke(_0x3cf13e)){const _0x367eaa=_0x36eded[_0x9718a9(0x227)][_0x9718a9(0x1fa)](_0x3cf13e[_0x9718a9(0x1f9)][_0x9718a9(0x1f2)]);_0x3cf13e[_0x9718a9(0x1f9)][_0x9718a9(0x1bf)](_0x9718a9(0x1b8),_0x9718a9(0x226))['to'](_0x367eaa,_0x9718a9(0x195),_0x9718a9(0x226));}_0x36eded['ui'][_0x9718a9(0x1db)][_0x9718a9(0x23a)](_0x9718a9(0x19b),_0x4d1a02=>this[_0x9718a9(0x1ac)](_0x4d1a02,_0x53b050,_0xcf84e8)),_0x36eded['ui'][_0x9718a9(0x1db)][_0x9718a9(0x23a)](_0x9718a9(0x196),_0x35296e=>this[_0x9718a9(0x1dc)](_0x35296e,_0x53b050,_0xcf84e8));}[_0x34ee2a(0x1ac)](_0x90f60,_0x574ea9,_0x4fcb42){const _0x557e23=_0x34ee2a,_0x1f00b4=_0x10975b(_0x90f60,_0xcdae66),_0x464b37=this[_0x557e23(0x1c4)][_0x557e23(0x227)][_0x557e23(0x1fa)](_0x557e23(0x19b));_0x1f00b4[_0x557e23(0x23c)][_0x557e23(0x1dd)]({'tooltip':_0x4fcb42,'label':_0x4fcb42,'icon':_0x15857c}),_0x1f00b4[_0x557e23(0x23c)][_0x557e23(0x1bf)](_0x557e23(0x1b8))['to'](_0x464b37,_0x557e23(0x195)),_0x1f00b4[_0x557e23(0x23c)]['on'](_0x557e23(0x1ed),()=>{const _0x521993=_0x557e23;_0x464b37[_0x521993(0x1ed)](),this[_0x521993(0x1c4)][_0x521993(0x1bc)][_0x521993(0x20f)][_0x521993(0x1cf)]();}),_0x25aacf(_0x1f00b4,_0x574ea9,{'role':_0x557e23(0x1a7)});const _0x521356=[];for(const _0x2f47f2 of _0x574ea9)ke(_0x2f47f2)&&_0x521356[_0x557e23(0x19d)](this[_0x557e23(0x1c4)][_0x557e23(0x227)][_0x557e23(0x1fa)](_0x2f47f2[_0x557e23(0x1f9)][_0x557e23(0x1f2)]));const _0x3a8c2b=_0x1f00b4[_0x557e23(0x23c)];return _0x3a8c2b[_0x557e23(0x1bd)][_0x557e23(0x1b9)](_0x557e23(0x226)),_0x3a8c2b[_0x557e23(0x1e4)][_0x557e23(0x1b9)](_0x557e23(0x226)),_0x3a8c2b[_0x557e23(0x1bd)][_0x557e23(0x1bf)](_0x557e23(0x226))['to'](_0x464b37,_0x557e23(0x226)),_0x3a8c2b[_0x557e23(0x1e4)][_0x557e23(0x1bf)](_0x557e23(0x226))[_0x557e23(0x1b5)](_0x521356,_0x557e23(0x226),(..._0x5f1658)=>_0x5f1658[_0x557e23(0x21c)](_0x19187d=>_0x19187d)),_0x1f00b4['on'](_0x557e23(0x1ed),_0x1352c1=>{const _0x467389=_0x557e23;this[_0x467389(0x1c4)][_0x467389(0x1ed)](_0x1352c1[_0x467389(0x190)][_0x467389(0x1f2)]),this[_0x467389(0x1c4)][_0x467389(0x1bc)][_0x467389(0x20f)][_0x467389(0x1cf)]();}),_0x1f00b4;}[_0x34ee2a(0x1dc)](_0x5ea91a,_0x100030,_0x5d4c96){const _0x3297ce=_0x34ee2a,_0x386d3f=new _0x369f07(_0x5ea91a),_0x37a773=this[_0x3297ce(0x1c4)][_0x3297ce(0x227)][_0x3297ce(0x1fa)](_0x3297ce(0x19b));_0x386d3f[_0x3297ce(0x23c)][_0x3297ce(0x1dd)]({'label':_0x5d4c96,'icon':_0x15857c});const _0x2d2fd9=new _0x18b8ff(_0x5ea91a);for(const _0x4653e1 of _0x100030){if(_0x3297ce(0x1e7)==_0x4653e1[_0x3297ce(0x197)]){_0x2d2fd9[_0x3297ce(0x21e)][_0x3297ce(0x23a)](new _0x4d54f0(_0x5ea91a));continue;}const _0x1c4495=new _0x194b7d(_0x5ea91a,_0x386d3f),_0x2fb513=new _0x29c4bb(_0x5ea91a),_0x5174d1=_0x4653e1[_0x3297ce(0x1f9)];_0x2fb513[_0x3297ce(0x1bf)](...Object[_0x3297ce(0x1cb)](_0x5174d1))['to'](_0x5174d1),_0x2fb513[_0x3297ce(0x194)](_0x3297ce(0x1ed))['to'](_0x386d3f),_0x2fb513['on'](_0x3297ce(0x1ed),()=>{const _0x33896e=_0x3297ce;this[_0x33896e(0x1c4)][_0x33896e(0x1ed)](_0x5174d1[_0x33896e(0x1f2)]),this[_0x33896e(0x1c4)][_0x33896e(0x1bc)][_0x33896e(0x20f)][_0x33896e(0x1cf)]();}),_0x1c4495[_0x3297ce(0x1c3)][_0x3297ce(0x23a)](_0x2fb513),_0x2d2fd9[_0x3297ce(0x21e)][_0x3297ce(0x23a)](_0x1c4495);}return _0x386d3f[_0x3297ce(0x1bf)](_0x3297ce(0x226))['to'](_0x37a773,_0x3297ce(0x226)),_0x386d3f[_0x3297ce(0x1fe)][_0x3297ce(0x1c3)][_0x3297ce(0x23a)](_0x2d2fd9),_0x386d3f;}[_0x34ee2a(0x229)](_0x45b2e2){const _0x467557=_0x34ee2a,_0x5c72e2=this[_0x467557(0x1c4)],_0x4d4d2a=_0x5c72e2[_0x467557(0x1eb)],_0x45f8db=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x215)),_0x38f2d9=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x193)),_0x59dccc=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x22d)),_0x43d190=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x45e57)['me'],_0x4e6321=_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x19b))[_0x467557(0x223)],_0x2ddbfd=_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x19b))[_0x467557(0x1fd)],{CommentsListView:_0x29e292,CommentThreadInputView:_0x1f60ec}=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x204));let _0x508875,_0x11a610,_0x5eb027;this[_0x467557(0x228)][_0x467557(0x1c6)](_0x45b2e2['id'])?(_0x11a610=this[_0x467557(0x228)][_0x467557(0x1fa)](_0x45b2e2['id']),_0x508875=_0x11a610[_0x467557(0x1aa)]):(_0x508875=new _0x4e6321(_0x5c72e2[_0x467557(0x22b)],_0x45b2e2,_0x43d190,{'disableComments':this[_0x467557(0x1d9)],'editorConfig':{..._0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1cd)),'licenseKey':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1af))},'maxCommentsWhenCollapsed':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1bb)),'maxThreadTotalWeight':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1c9)),'maxCommentCharsWhenCollapsed':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x1f8)),'formatDateTime':_0x39fc3c(_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x22b)),_0x5c72e2[_0x467557(0x22b)]),'CommentView':_0x4d4d2a[_0x467557(0x1fa)](_0x467557(0x191))[_0x467557(0x19a)],'CommentsListView':_0x29e292,'CommentThreadInputView':_0x1f60ec,'SuggestionView':_0x2ddbfd}),_0x508875[_0x467557(0x219)][_0x467557(0x19c)]['on'](_0x467557(0x1ed),()=>{const _0x3eaeba=_0x467557;_0x5c72e2[_0x3eaeba(0x1bc)][_0x3eaeba(0x20f)][_0x3eaeba(0x1cf)]();}),_0x508875[_0x467557(0x219)][_0x467557(0x1b7)]['on'](_0x467557(0x1ed),()=>{const _0x483064=_0x467557;_0x5c72e2[_0x483064(0x1bc)][_0x483064(0x20f)][_0x483064(0x1cf)]();}),_0x11a610=_0x45f8db[_0x467557(0x1ec)](this[_0x467557(0x1c4)][_0x467557(0x22b)],_0x508875),_0x11a610[_0x467557(0x1bf)](_0x467557(0x1b1))['to'](_0x508875,_0x467557(0x1b1)),_0x11a610[_0x467557(0x1bf)](_0x467557(0x20b))['to'](_0x508875),_0x11a610[_0x467557(0x1bf)](_0x467557(0x197))['to'](_0x508875,_0x467557(0x197),_0x545dca=>_0x467557(0x224)+_0x545dca),_0x508875['on'](_0x467557(0x1e6),()=>{const _0x243b6c=_0x467557;_0x5eb027[_0x243b6c(0x1f4)](_0x243b6c(0x1e6));}),this[_0x467557(0x228)][_0x467557(0x1dd)](_0x45b2e2['id'],_0x11a610));const _0x3365b3=_0x38f2d9[_0x467557(0x236)](_0x45b2e2[_0x467557(0x1b4)],_0x508875),_0x2268fc=new _0x58067d(_0x5c72e2,_0x45b2e2,_0x508875,_0x3365b3),_0x48b4ac=_0x45b2e2[_0x467557(0x1ad)]()[_0x467557(0x1f0)](_0x4fe3e9=>_0x4fe3e9[_0x467557(0x210)]);_0x508875[_0x467557(0x1da)]=_0x5c72e2[_0x467557(0x202)][_0x467557(0x1fa)](_0x467557(0x1e8))[_0x467557(0x209)][_0x467557(0x20d)](_0x48b4ac),this[_0x467557(0x232)][_0x467557(0x1dd)](_0x45b2e2,_0x2268fc),this[_0x467557(0x19e)][_0x467557(0x1dd)](_0x508875,_0x2268fc);const _0x5e6a6e=()=>{const _0x58e6cc=_0x467557,_0x25052f=[],_0x1d5fd8=_0x45b2e2[_0x58e6cc(0x1ad)]()[_0x58e6cc(0x1f0)](_0x546517=>_0x546517[_0x58e6cc(0x210)]);for(const _0x1f0207 of _0x1d5fd8)_0x25052f[_0x58e6cc(0x19d)](..._0x1f0207[_0x58e6cc(0x1d7)]());return _0x566b87(_0x5c72e2[_0x58e6cc(0x1bc)],_0x25052f);};_0x5eb027=_0x45f8db[_0x467557(0x18d)]({'view':_0x11a610,'target':_0x5e6a6e,'type':()=>_0x467557(0x224)+_0x2268fc[_0x467557(0x20f)][_0x467557(0x197)],'isVisible':!!_0x5e6a6e()}),_0x38f2d9[_0x467557(0x1a3)](_0x508875,_0x5eb027),_0x45f8db[_0x467557(0x23a)](_0x5eb027),_0x59dccc[_0x467557(0x1f6)](_0x5eb027);}[_0x34ee2a(0x1d1)](_0x86d73b){const _0x5e18c2=_0x34ee2a,_0x695c5b=this[_0x5e18c2(0x1c4)][_0x5e18c2(0x202)][_0x5e18c2(0x1fa)](_0x5e18c2(0x193)),_0x3b7405=this[_0x5e18c2(0x1c4)][_0x5e18c2(0x202)][_0x5e18c2(0x1fa)](_0x5e18c2(0x215)),_0xd3774b=this[_0x5e18c2(0x232)][_0x5e18c2(0x1fa)](_0x86d73b),_0x4716bd=_0xd3774b[_0x5e18c2(0x20f)],_0x44048=_0x3b7405[_0x5e18c2(0x230)](_0x4716bd);_0x695c5b[_0x5e18c2(0x1a2)](_0x4716bd),_0x44048&&_0x3b7405[_0x5e18c2(0x225)](_0x44048),this[_0x5e18c2(0x232)][_0x5e18c2(0x1c1)](_0x86d73b),this[_0x5e18c2(0x19e)][_0x5e18c2(0x1c1)](_0x4716bd),_0xd3774b[_0x5e18c2(0x1de)]();}[_0x34ee2a(0x198)](_0x242c6f){const _0x1e7a1f=_0x34ee2a;if(!_0x242c6f[_0x1e7a1f(0x210)]||!this[_0x1e7a1f(0x232)][_0x1e7a1f(0x1c6)](_0x242c6f))return;const _0x4309d4=this[_0x1e7a1f(0x1c4)][_0x1e7a1f(0x202)][_0x1e7a1f(0x1fa)](_0x1e7a1f(0x1e8)),_0x40baf2=this[_0x1e7a1f(0x232)][_0x1e7a1f(0x1fa)](_0x242c6f),_0x4d78e8=_0x242c6f[_0x1e7a1f(0x1ad)]();_0x40baf2[_0x1e7a1f(0x20f)][_0x1e7a1f(0x1da)]=_0x4309d4[_0x1e7a1f(0x209)][_0x1e7a1f(0x20d)](_0x4d78e8);}[_0x34ee2a(0x1de)](){const _0x4af70b=_0x34ee2a;for(const _0x166a7a of this[_0x4af70b(0x232)][_0x4af70b(0x1cb)]())this[_0x4af70b(0x1d1)](_0x166a7a);for(const _0x5da173 of this[_0x4af70b(0x228)][_0x4af70b(0x233)]())_0x5da173[_0x4af70b(0x1aa)][_0x4af70b(0x1de)]();super[_0x4af70b(0x1de)](),this[_0x4af70b(0x1df)]&&clearInterval(this[_0x4af70b(0x1df)]);}}function ke(_0x4e60de){const _0x1eff0c=_0x34ee2a;return _0x1eff0c(0x1f9)in _0x4e60de;}
|
|
23
|
+
const _0x19a1b8=_0x1486;(function(_0x271dbc,_0x133f8b){const _0x143435=_0x1486,_0x68ab14=_0x271dbc();while(!![]){try{const _0x3a8fe3=-parseInt(_0x143435(0xa0))/0x1*(-parseInt(_0x143435(0xf4))/0x2)+-parseInt(_0x143435(0x110))/0x3+parseInt(_0x143435(0x130))/0x4+-parseInt(_0x143435(0xfa))/0x5*(-parseInt(_0x143435(0x10a))/0x6)+-parseInt(_0x143435(0x128))/0x7*(-parseInt(_0x143435(0xc6))/0x8)+parseInt(_0x143435(0xad))/0x9+-parseInt(_0x143435(0xbb))/0xa;if(_0x3a8fe3===_0x133f8b)break;else _0x68ab14['push'](_0x68ab14['shift']());}catch(_0x268620){_0x68ab14['push'](_0x68ab14['shift']());}}}(_0x1daf,0xbd90e));import{Plugin as _0x313b2f}from'ckeditor5/src/core.js';import{Collection as _0x203531}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2fbf97}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4884b0,createDropdown as _0x4afc08,ListSeparatorView as _0xd9fb61,MenuBarMenuView as _0x21fd42,MenuBarMenuListView as _0x239858,MenuBarMenuListItemView as _0x5640d5,MenuBarMenuListItemButtonView as _0x13718f,SplitButtonView as _0x10d84c,UIModel as _0x5755ef}from'ckeditor5/src/ui.js';import{Users as _0xdb7e,getDateTimeFormatter as _0x2f1457,getAllMarkersDomElementsSorted as _0x298ac5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1486(_0x3ad4d6,_0x173ff3){const _0x1dafc4=_0x1daf();return _0x1486=function(_0x1486a9,_0x142dc4){_0x1486a9=_0x1486a9-0x9c;let _0x26535e=_0x1dafc4[_0x1486a9];return _0x26535e;},_0x1486(_0x3ad4d6,_0x173ff3);}function _0x1daf(){const _0x3b7398=['trackChangesLicenseKeyUsageLimit','reduce','createAnnotation','menuBar:trackChanges','isMultiRange','innerView','editing','editor','getDescriptions','TrackChangesUI','isPremiumPlugin','comments.maxThreadTotalWeight','_bindAnnotationToEditors','acceptSelectedSuggestions','remove','_showLicenseError','isEnabled','_initializeController','SuggestionView','EditorAnnotations','addComment','comments','CommentsUI','trackChangesLicenseKeyExpired','set','addMany','destroy','createAnnotationView','menuitemcheckbox','addSourceCollector','_suggestionToController','delete','value','suggestionChanged','getSuggestionForAnnotation','acceptAllSuggestions','getRanges','_handleSuggestionControllerDelayed','clear','menu','config','panelView','2jdLxle','delegate','previous','change:activeAnnotations','requires','registerAnnotation','5DlNUQO','featureNotAllowed','Discard\x20all\x20selected\x20suggestions','licenseKey','TrackChanges','previewFinalContent','change:previous','mainView','values','getFirstRange','toMany','_disableComments','acceptButton','add','trackChanges.disableComments','CommentsRepository','8495658htEzpI','execute','commentsListView','stopListening','_updateController','keys','2650056PvuTVQ','children','_licenseKeyCheckInterval','descriptionParts','_annotationViews','arrowView','trackChangesLicenseKeyValid','comments.maxCommentsWhenCollapsed','_destroyController','buttonView','head','lowest','bind','SuggestionThreadView','trackChanges','descriptionFactory','actionView','comments.maxCommentCharsWhenCollapsed','_addUIComponentsToFactory','usageLimit','model','fire','init','Annotations','2635934CFJtVR','getAnnotationForSuggestion','_createMenuBarMenu','getMarkerNames','view','trackChangesLicenseKeyInvalid','CommentView','createCommentThreadController','1827408LEmrSZ','isDirty','from','_unbindEditors','TrackChangesPreview','getSuggestion','suggestion-','commandName','_viewToController','commands','isInContent','trackChangesLicenseKeyDomainLimit','separator','hasSuggestion','Discard\x20all\x20suggestions','activeAnnotations','domainLimit','define','locale','items','suggestionView','suggestionLoaded','switchbutton','button','trackChanges.SuggestionThreadView','Preview\x20final\x20content','expired','isOn','filter','comments.editorConfig','Accept\x20all\x20selected\x20suggestions','discardAllSuggestions','358069LzOTBh','componentFactory','focus','source','length','Track\x20changes','refreshSelectedViews','unbind','commentThread','has','getMarkers','discardSelectedSuggestions','suggestionUnloaded','10303326xATgSN','listenTo','getAllAdjacentSuggestions','getByInnerView','get','evaluationLimit','isOfficialPlugin','size','getJoined','discardButton','Accept\x20all\x20suggestions','trackChangesLicenseKeyNotAllowed','menuitem','trackChanges.SuggestionView','32221120hMoNhk','invalid','plugins','_createToolbarButton','activeMarkers','pluginName','type','some','escape','push','TrackChangesEditing','32QwkKDv','_handleControllerBuffer','trackChangesLicenseKeyEvaluationLimit','_refreshActiveMarkers'];_0x1daf=function(){return _0x3b7398;};return _0x1daf();}import{TrackChangesEditing as _0x55d202}from'./trackchangesediting.js';import{SuggestionController as _0x555a8e}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x53c692}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x15876c}from'./ui/view/suggestionview.js';import{getTranslation as _0x364e6c}from'./utils/common-translations.js';export class TrackChangesUI extends _0x313b2f{[_0x19a1b8(0xfd)];[_0x19a1b8(0x112)];[_0x19a1b8(0xe8)];[_0x19a1b8(0x138)];[_0x19a1b8(0x114)];[_0x19a1b8(0xc7)];[_0x19a1b8(0x105)];static get[_0x19a1b8(0xf8)](){const _0x58c288=_0x19a1b8;return[_0x55d202,_0xdb7e,_0x58c288(0x109),_0x58c288(0x127),_0x58c288(0xdd)];}static get[_0x19a1b8(0xc0)](){const _0x50006f=_0x19a1b8;return _0x50006f(0xd3);}static get[_0x19a1b8(0xb3)](){return!0x0;}static get[_0x19a1b8(0xd4)](){return!0x0;}constructor(_0x43d3cb){const _0xcbf866=_0x19a1b8;super(_0x43d3cb),this[_0xcbf866(0xe8)]=new Map(),this[_0xcbf866(0x138)]=new Map(),this[_0xcbf866(0x114)]=new Map(),this[_0xcbf866(0xc7)]=new Map();const _0x598e99=this[_0xcbf866(0xd1)][_0xcbf866(0xf2)];_0x598e99[_0xcbf866(0x141)](_0xcbf866(0x148),_0x53c692),_0x598e99[_0xcbf866(0x141)](_0xcbf866(0xba),_0x15876c),_0x598e99[_0xcbf866(0x141)](_0xcbf866(0x108),!0x1),this[_0xcbf866(0x105)]=_0x598e99[_0xcbf866(0xb1)](_0xcbf866(0x108));}[_0x19a1b8(0xef)](_0x12a90b,_0x4028be){const _0x414222=_0x19a1b8;0x0===this[_0x414222(0xc7)][_0x414222(0xb4)]&&setTimeout(()=>{const _0x15e645=_0x414222;for(const [_0x42e7d1,_0xdd94e]of this[_0x15e645(0xc7)]){const _0x498ac7=this[_0x15e645(0xe8)][_0x15e645(0xa9)](_0x42e7d1);_0x498ac7||_0xdd94e?_0x498ac7&&_0xdd94e&&this[_0x15e645(0x118)](_0x42e7d1):this[_0x15e645(0xdb)](_0x42e7d1);}this[_0x15e645(0xc7)][_0x15e645(0xf0)](),this[_0x15e645(0xd1)][_0x15e645(0xbd)][_0x15e645(0xb1)](_0x15e645(0xdd))[_0x15e645(0xa6)](),this[_0x15e645(0xc9)]();},0xa),this[_0x414222(0xc7)][_0x414222(0xe2)](_0x12a90b,_0x4028be);}[_0x19a1b8(0x126)](){const _0x3a7848=_0x19a1b8,_0x573b6d=this[_0x3a7848(0xd1)],_0x205ba3=_0x573b6d[_0x3a7848(0xbd)][_0x3a7848(0xb1)](_0x3a7848(0xc5)),_0x3a25b7=_0x573b6d[_0x3a7848(0xbd)][_0x3a7848(0xb1)](_0x3a7848(0x127)),_0x3bf0f2=_0x573b6d[_0x3a7848(0xbd)][_0x3a7848(0xb1)](_0x3a7848(0xdd)),_0x53adde=_0x573b6d[_0x3a7848(0xbd)][_0x3a7848(0xb1)](_0x3a7848(0x109));this[_0x3a7848(0x122)](),_0x3bf0f2[_0x3a7848(0xe7)](()=>{const _0x8c7c9c=_0x3a7848,_0x63f669=[];for(const [_0x2f79a7,_0xde0631]of Array[_0x8c7c9c(0x132)](this[_0x8c7c9c(0xe8)])){const _0x583596=_0x2f79a7[_0x8c7c9c(0xaf)](),_0x252162=[];for(const _0x54b6fc of _0x583596){if(!_0x54b6fc[_0x8c7c9c(0x13a)])continue;if(_0x54b6fc[_0x8c7c9c(0xce)]){_0x252162[_0x8c7c9c(0xc4)](..._0x54b6fc[_0x8c7c9c(0xee)]());continue;}const _0x5922fb=_0x54b6fc[_0x8c7c9c(0x103)]();if(_0x252162[_0x8c7c9c(0xa4)]>0x0){const _0x2ec863=_0x252162[0x0][_0x8c7c9c(0xb5)](_0x5922fb);if(_0x2ec863){_0x252162[0x0]=_0x2ec863;continue;}}_0x252162[_0x8c7c9c(0xc4)](_0x5922fb);}_0x63f669[_0x8c7c9c(0xc4)]([_0xde0631[_0x8c7c9c(0x12c)],_0x252162]);}return _0x63f669;}),this[_0x3a7848(0xae)](_0x205ba3,_0x3a7848(0x145),(_0x2d1473,_0x5222c0)=>{const _0x3bd359=_0x3a7848;this[_0x3bd359(0xae)](_0x5222c0,_0x3bd359(0x100),(_0x14f7e2,_0x44c176,_0x407d4b,_0x29e1b8)=>{const _0x4464b7=_0x3bd359;_0x5222c0[_0x4464b7(0x13a)]&&(null==_0x407d4b?(this[_0x4464b7(0x10e)](_0x29e1b8[_0x4464b7(0x11a)]),this[_0x4464b7(0xef)](_0x5222c0,!0x1)):(this[_0x4464b7(0x10e)](_0x407d4b[_0x4464b7(0x11a)]),null==_0x29e1b8&&this[_0x4464b7(0xef)](_0x5222c0,!0x0)));}),null!==_0x5222c0[_0x3bd359(0xf6)]?this[_0x3bd359(0x10e)](_0x5222c0[_0x3bd359(0x11a)]):this[_0x3bd359(0xef)](_0x5222c0,!0x1);}),this[_0x3a7848(0xae)](_0x205ba3,_0x3a7848(0xac),(_0x598d85,_0x2fd3f0,_0x514656)=>{const _0x8a5296=_0x3a7848;this[_0x8a5296(0x10d)](_0x2fd3f0,_0x8a5296(0x100)),this[_0x8a5296(0xc7)][_0x8a5296(0xe9)](_0x2fd3f0),this[_0x8a5296(0xe8)][_0x8a5296(0xa9)](_0x2fd3f0)&&this[_0x8a5296(0x118)](_0x2fd3f0),_0x514656&&this[_0x8a5296(0x10e)](_0x514656[_0x8a5296(0x11a)]);}),this[_0x3a7848(0xae)](_0x205ba3,_0x3a7848(0xeb),(_0x1b6053,_0x2da396)=>{const _0xc7e706=_0x3a7848;this[_0xc7e706(0x10e)](_0x2da396);}),this[_0x3a7848(0xae)](_0x3a25b7,_0x3a7848(0xf7),()=>{const _0x3a5313=_0x3a7848;this[_0x3a5313(0xc9)]();}),this[_0x3a7848(0xae)](_0x53adde,_0x3a7848(0xde),(_0x6f273c,{threadId:_0x5047e6,isFromAdapter:_0x32d575})=>{const _0x49b7fb=_0x3a7848;if(_0x32d575||!_0x205ba3[_0x49b7fb(0x13d)](_0x5047e6))return;const _0xa68ebc=_0x205ba3[_0x49b7fb(0x135)](_0x5047e6);this[_0x49b7fb(0xe8)][_0x49b7fb(0xb1)](_0xa68ebc)[_0x49b7fb(0x12c)][_0x49b7fb(0x10c)][_0x49b7fb(0xa2)](-0x1);},{'priority':_0x3a7848(0x11b)}),this[_0x3a7848(0xfd)]=this[_0x3a7848(0xd1)][_0x3a7848(0xf2)][_0x3a7848(0xb1)](_0x3a7848(0xfd));const _0x502b4e=this[_0x3a7848(0xd1)];this[_0x3a7848(0x112)]=setInterval(()=>{const _0x3b3df2=_0x3a7848;let _0x9abc0f;for(const _0x1b9bc3 in _0x502b4e){const _0x4a1bed=_0x1b9bc3,_0x53502e=_0x502b4e[_0x4a1bed];if(_0x3b3df2(0x116)==_0x53502e||_0x3b3df2(0x12d)==_0x53502e||_0x3b3df2(0xe1)==_0x53502e||_0x3b3df2(0x13b)==_0x53502e||_0x3b3df2(0xb8)==_0x53502e||_0x3b3df2(0xc8)==_0x53502e||_0x3b3df2(0xca)==_0x53502e){delete _0x502b4e[_0x4a1bed],_0x9abc0f=_0x53502e,clearInterval(this[_0x3b3df2(0x112)]),this[_0x3b3df2(0x112)]=void 0x0;break;}}_0x3b3df2(0x12d)==_0x9abc0f&&_0x502b4e[_0x3b3df2(0xd9)](_0x3b3df2(0xbc)),_0x3b3df2(0xe1)==_0x9abc0f&&_0x502b4e[_0x3b3df2(0xd9)](_0x3b3df2(0x14a)),_0x3b3df2(0x13b)==_0x9abc0f&&_0x502b4e[_0x3b3df2(0xd9)](_0x3b3df2(0x140)),_0x3b3df2(0xb8)==_0x9abc0f&&_0x502b4e[_0x3b3df2(0xd9)](_0x3b3df2(0xfb),_0x3b3df2(0xfe)),_0x3b3df2(0xc8)==_0x9abc0f&&_0x502b4e[_0x3b3df2(0xd9)](_0x3b3df2(0xb2)),_0x3b3df2(0xca)==_0x9abc0f&&_0x502b4e[_0x3b3df2(0xd9)](_0x3b3df2(0x123));},0x3e8);}[_0x19a1b8(0x129)](_0x33f312){const _0x1e9b8f=_0x19a1b8,_0x297883=this[_0x1e9b8f(0xe8)][_0x1e9b8f(0xb1)](_0x33f312);if(!_0x297883)return null;return this[_0x1e9b8f(0xd1)][_0x1e9b8f(0xbd)][_0x1e9b8f(0xb1)](_0x1e9b8f(0x127))[_0x1e9b8f(0xb0)](_0x297883[_0x1e9b8f(0x12c)])||null;}[_0x19a1b8(0xec)](_0x458184){const _0x10ef14=_0x19a1b8,_0x5ed339=this[_0x10ef14(0x138)][_0x10ef14(0xb1)](_0x458184[_0x10ef14(0xcf)]);return _0x5ed339?_0x5ed339[_0x10ef14(0x124)]:null;}[_0x19a1b8(0xc9)](){const _0x45f08a=_0x19a1b8,_0x46d8c1=this[_0x45f08a(0xd1)][_0x45f08a(0xbd)][_0x45f08a(0xb1)](_0x45f08a(0x127)),_0x2929fc=this[_0x45f08a(0xd1)][_0x45f08a(0xbd)][_0x45f08a(0xb1)](_0x45f08a(0xc5)),_0x2cbf8b=Array[_0x45f08a(0x132)](_0x46d8c1[_0x45f08a(0x13f)],_0x25a12c=>_0x25a12c[_0x45f08a(0xcf)])[_0x45f08a(0x9c)](_0x5d0799=>this[_0x45f08a(0x138)][_0x45f08a(0xa9)](_0x5d0799)),_0x4bcbf7=[];for(const _0x1728dc of _0x2cbf8b){const _0x5300bd=this[_0x45f08a(0x138)][_0x45f08a(0xb1)](_0x1728dc)[_0x45f08a(0x124)][_0x45f08a(0xaf)]();_0x4bcbf7[_0x45f08a(0xc4)](..._0x5300bd[_0x45f08a(0xcb)]((_0x217807,_0x10346f)=>[..._0x217807,..._0x10346f[_0x45f08a(0x12b)]()],[]));}_0x2929fc[_0x45f08a(0xbf)]=_0x4bcbf7;}[_0x19a1b8(0x122)](){const _0x5cab5a=_0x19a1b8,_0x4296e0=this[_0x5cab5a(0xd1)],_0x25695a=_0x4296e0[_0x5cab5a(0x142)],_0x4b6d4f=_0x364e6c(_0x25695a,_0x5cab5a(0xa5)),_0x4be713=new _0x203531([{'type':_0x5cab5a(0x146),'model':new _0x5755ef({'withText':!0x0,'isToggleable':!0x0,'label':_0x4b6d4f,'commandName':_0x5cab5a(0x11e),'role':_0x5cab5a(0xe6)})},{'type':_0x5cab5a(0x13c)},{'type':_0x5cab5a(0x147),'model':new _0x5755ef({'withText':!0x0,'label':_0x364e6c(_0x25695a,_0x5cab5a(0xb7)),'commandName':_0x5cab5a(0xed),'role':_0x5cab5a(0xb9)})},{'type':_0x5cab5a(0x147),'model':new _0x5755ef({'withText':!0x0,'label':_0x364e6c(_0x25695a,_0x5cab5a(0x9e)),'commandName':_0x5cab5a(0xd7),'role':_0x5cab5a(0xb9)})},{'type':_0x5cab5a(0x147),'model':new _0x5755ef({'withText':!0x0,'label':_0x364e6c(_0x25695a,_0x5cab5a(0x13e)),'commandName':_0x5cab5a(0x9f),'role':_0x5cab5a(0xb9)})},{'type':_0x5cab5a(0x147),'model':new _0x5755ef({'withText':!0x0,'label':_0x364e6c(_0x25695a,_0x5cab5a(0xfc)),'commandName':_0x5cab5a(0xab),'role':_0x5cab5a(0xb9)})}]);_0x4296e0[_0x5cab5a(0xbd)][_0x5cab5a(0xa9)](_0x5cab5a(0x134))&&_0x4be713[_0x5cab5a(0xe3)]([{'type':_0x5cab5a(0x13c)},{'type':_0x5cab5a(0x147),'model':new _0x5755ef({'withText':!0x0,'label':_0x364e6c(_0x25695a,_0x5cab5a(0x149)),'commandName':_0x5cab5a(0xff),'role':_0x5cab5a(0xb9)})}]);for(const _0x38959a of _0x4be713)if(ke(_0x38959a)){const _0x371ad2=_0x4296e0[_0x5cab5a(0x139)][_0x5cab5a(0xb1)](_0x38959a[_0x5cab5a(0x124)][_0x5cab5a(0x137)]);_0x38959a[_0x5cab5a(0x124)][_0x5cab5a(0x11c)](_0x5cab5a(0x14b),_0x5cab5a(0xda))['to'](_0x371ad2,_0x5cab5a(0xea),_0x5cab5a(0xda));}_0x4296e0['ui'][_0x5cab5a(0xa1)][_0x5cab5a(0x107)](_0x5cab5a(0x11e),_0xf0c594=>this[_0x5cab5a(0xbe)](_0xf0c594,_0x4be713,_0x4b6d4f)),_0x4296e0['ui'][_0x5cab5a(0xa1)][_0x5cab5a(0x107)](_0x5cab5a(0xcd),_0x4850b4=>this[_0x5cab5a(0x12a)](_0x4850b4,_0x4be713,_0x4b6d4f));}[_0x19a1b8(0xbe)](_0x3b78c1,_0x52283c,_0x83c89){const _0x271708=_0x19a1b8,_0x18a758=_0x4afc08(_0x3b78c1,_0x10d84c),_0x19143b=this[_0x271708(0xd1)][_0x271708(0x139)][_0x271708(0xb1)](_0x271708(0x11e));_0x18a758[_0x271708(0x119)][_0x271708(0xe2)]({'tooltip':_0x83c89,'label':_0x83c89,'icon':_0x2fbf97}),_0x18a758[_0x271708(0x119)][_0x271708(0x11c)](_0x271708(0x14b))['to'](_0x19143b,_0x271708(0xea)),_0x18a758[_0x271708(0x119)]['on'](_0x271708(0x10b),()=>{const _0x272543=_0x271708;_0x19143b[_0x272543(0x10b)](),this[_0x272543(0xd1)][_0x272543(0xd0)][_0x272543(0x12c)][_0x272543(0xa2)]();}),_0x4884b0(_0x18a758,_0x52283c,{'role':_0x271708(0xf1)});const _0x50509e=[];for(const _0x4865e8 of _0x52283c)ke(_0x4865e8)&&_0x50509e[_0x271708(0xc4)](this[_0x271708(0xd1)][_0x271708(0x139)][_0x271708(0xb1)](_0x4865e8[_0x271708(0x124)][_0x271708(0x137)]));const _0x3b00ed=_0x18a758[_0x271708(0x119)];return _0x3b00ed[_0x271708(0x120)][_0x271708(0xa7)](_0x271708(0xda)),_0x3b00ed[_0x271708(0x115)][_0x271708(0xa7)](_0x271708(0xda)),_0x3b00ed[_0x271708(0x120)][_0x271708(0x11c)](_0x271708(0xda))['to'](_0x19143b,_0x271708(0xda)),_0x3b00ed[_0x271708(0x115)][_0x271708(0x11c)](_0x271708(0xda))[_0x271708(0x104)](_0x50509e,_0x271708(0xda),(..._0x36b29d)=>_0x36b29d[_0x271708(0xc2)](_0x3552a5=>_0x3552a5)),_0x18a758['on'](_0x271708(0x10b),_0x3db22a=>{const _0x3f06ab=_0x271708;this[_0x3f06ab(0xd1)][_0x3f06ab(0x10b)](_0x3db22a[_0x3f06ab(0xa3)][_0x3f06ab(0x137)]),this[_0x3f06ab(0xd1)][_0x3f06ab(0xd0)][_0x3f06ab(0x12c)][_0x3f06ab(0xa2)]();}),_0x18a758;}[_0x19a1b8(0x12a)](_0x1ce6b3,_0x36acba,_0x3d7417){const _0x2ce399=_0x19a1b8,_0x4784cf=new _0x21fd42(_0x1ce6b3),_0x575f6d=this[_0x2ce399(0xd1)][_0x2ce399(0x139)][_0x2ce399(0xb1)](_0x2ce399(0x11e));_0x4784cf[_0x2ce399(0x119)][_0x2ce399(0xe2)]({'label':_0x3d7417,'icon':_0x2fbf97});const _0x1645e0=new _0x239858(_0x1ce6b3);for(const _0x189432 of _0x36acba){if(_0x2ce399(0x13c)==_0x189432[_0x2ce399(0xc1)]){_0x1645e0[_0x2ce399(0x143)][_0x2ce399(0x107)](new _0xd9fb61(_0x1ce6b3));continue;}const _0x5107ee=new _0x5640d5(_0x1ce6b3,_0x4784cf),_0x1bf302=new _0x13718f(_0x1ce6b3),_0x2f010d=_0x189432[_0x2ce399(0x124)];_0x1bf302[_0x2ce399(0x11c)](...Object[_0x2ce399(0x10f)](_0x2f010d))['to'](_0x2f010d),_0x1bf302[_0x2ce399(0xf5)](_0x2ce399(0x10b))['to'](_0x4784cf),_0x1bf302['on'](_0x2ce399(0x10b),()=>{const _0x25561c=_0x2ce399;this[_0x25561c(0xd1)][_0x25561c(0x10b)](_0x2f010d[_0x25561c(0x137)]),this[_0x25561c(0xd1)][_0x25561c(0xd0)][_0x25561c(0x12c)][_0x25561c(0xa2)]();}),_0x5107ee[_0x2ce399(0x111)][_0x2ce399(0x107)](_0x1bf302),_0x1645e0[_0x2ce399(0x143)][_0x2ce399(0x107)](_0x5107ee);}return _0x4784cf[_0x2ce399(0x11c)](_0x2ce399(0xda))['to'](_0x575f6d,_0x2ce399(0xda)),_0x4784cf[_0x2ce399(0xf3)][_0x2ce399(0x111)][_0x2ce399(0x107)](_0x1645e0),_0x4784cf;}[_0x19a1b8(0xdb)](_0x291f54){const _0x2f12d8=_0x19a1b8,_0x51ecb2=this[_0x2f12d8(0xd1)],_0x357ea0=_0x51ecb2[_0x2f12d8(0xf2)],_0x52934f=_0x51ecb2[_0x2f12d8(0xbd)][_0x2f12d8(0xb1)](_0x2f12d8(0x127)),_0x45b586=_0x51ecb2[_0x2f12d8(0xbd)][_0x2f12d8(0xb1)](_0x2f12d8(0x109)),_0x36bf17=_0x51ecb2[_0x2f12d8(0xbd)][_0x2f12d8(0xb1)](_0x2f12d8(0xdd)),_0x563705=_0x51ecb2[_0x2f12d8(0xbd)][_0x2f12d8(0xb1)](_0xdb7e)['me'],_0x21ad71=_0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0x11e))[_0x2f12d8(0x11d)],_0x3c1aea=_0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0x11e))[_0x2f12d8(0xdc)],{CommentsListView:_0x542624,CommentThreadInputView:_0x46bf86}=_0x51ecb2[_0x2f12d8(0xbd)][_0x2f12d8(0xb1)](_0x2f12d8(0xe0));let _0x32eabb,_0x4d9313,_0x53a40b;this[_0x2f12d8(0x114)][_0x2f12d8(0xa9)](_0x291f54['id'])?(_0x4d9313=this[_0x2f12d8(0x114)][_0x2f12d8(0xb1)](_0x291f54['id']),_0x32eabb=_0x4d9313[_0x2f12d8(0x101)]):(_0x32eabb=new _0x21ad71(_0x51ecb2[_0x2f12d8(0x142)],_0x291f54,_0x563705,{'disableComments':this[_0x2f12d8(0x105)],'editorConfig':{..._0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0x9d)),'licenseKey':_0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0xfd))},'maxCommentsWhenCollapsed':_0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0x117)),'maxThreadTotalWeight':_0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0xd5)),'maxCommentCharsWhenCollapsed':_0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0x121)),'formatDateTime':_0x2f1457(_0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0x142)),_0x51ecb2[_0x2f12d8(0x142)]),'CommentView':_0x357ea0[_0x2f12d8(0xb1)](_0x2f12d8(0xdf))[_0x2f12d8(0x12e)],'CommentsListView':_0x542624,'CommentThreadInputView':_0x46bf86,'SuggestionView':_0x3c1aea}),_0x32eabb[_0x2f12d8(0x144)][_0x2f12d8(0x106)]['on'](_0x2f12d8(0x10b),()=>{const _0x1c6831=_0x2f12d8;_0x51ecb2[_0x1c6831(0xd0)][_0x1c6831(0x12c)][_0x1c6831(0xa2)]();}),_0x32eabb[_0x2f12d8(0x144)][_0x2f12d8(0xb6)]['on'](_0x2f12d8(0x10b),()=>{const _0x3df69a=_0x2f12d8;_0x51ecb2[_0x3df69a(0xd0)][_0x3df69a(0x12c)][_0x3df69a(0xa2)]();}),_0x4d9313=_0x52934f[_0x2f12d8(0xe5)](this[_0x2f12d8(0xd1)][_0x2f12d8(0x142)],_0x32eabb),_0x4d9313[_0x2f12d8(0x11c)](_0x2f12d8(0x131))['to'](_0x32eabb,_0x2f12d8(0x131)),_0x4d9313[_0x2f12d8(0x11c)](_0x2f12d8(0xa4))['to'](_0x32eabb),_0x4d9313[_0x2f12d8(0x11c)](_0x2f12d8(0xc1))['to'](_0x32eabb,_0x2f12d8(0xc1),_0x20e0f5=>_0x2f12d8(0x136)+_0x20e0f5),_0x32eabb['on'](_0x2f12d8(0xc3),()=>{const _0x152914=_0x2f12d8;_0x53a40b[_0x152914(0x125)](_0x152914(0xc3));}),this[_0x2f12d8(0x114)][_0x2f12d8(0xe2)](_0x291f54['id'],_0x4d9313));const _0x16bb59=_0x45b586[_0x2f12d8(0x12f)](_0x291f54[_0x2f12d8(0xa8)],_0x32eabb),_0x40ea73=new _0x555a8e(_0x51ecb2,_0x291f54,_0x32eabb,_0x16bb59),_0x1e55d8=_0x291f54[_0x2f12d8(0xaf)]()[_0x2f12d8(0x9c)](_0x3ae5e7=>_0x3ae5e7[_0x2f12d8(0x13a)]);_0x32eabb[_0x2f12d8(0x113)]=_0x51ecb2[_0x2f12d8(0xbd)][_0x2f12d8(0xb1)](_0x2f12d8(0xc5))[_0x2f12d8(0x11f)][_0x2f12d8(0xd2)](_0x1e55d8),this[_0x2f12d8(0xe8)][_0x2f12d8(0xe2)](_0x291f54,_0x40ea73),this[_0x2f12d8(0x138)][_0x2f12d8(0xe2)](_0x32eabb,_0x40ea73);const _0x3cc280=()=>{const _0x2196c9=_0x2f12d8,_0x471f8a=[],_0x2d95bb=_0x291f54[_0x2196c9(0xaf)]()[_0x2196c9(0x9c)](_0x1d2a1a=>_0x1d2a1a[_0x2196c9(0x13a)]);for(const _0x5f468c of _0x2d95bb)_0x471f8a[_0x2196c9(0xc4)](..._0x5f468c[_0x2196c9(0xaa)]());return _0x298ac5(_0x51ecb2[_0x2196c9(0xd0)],_0x471f8a);};_0x53a40b=_0x52934f[_0x2f12d8(0xcc)]({'view':_0x4d9313,'target':_0x3cc280,'type':()=>_0x2f12d8(0x136)+_0x40ea73[_0x2f12d8(0x12c)][_0x2f12d8(0xc1)],'isVisible':!!_0x3cc280()}),_0x45b586[_0x2f12d8(0xd6)](_0x32eabb,_0x53a40b),_0x52934f[_0x2f12d8(0x107)](_0x53a40b),_0x36bf17[_0x2f12d8(0xf9)](_0x53a40b);}[_0x19a1b8(0x118)](_0x26e2db){const _0x381c6f=_0x19a1b8,_0x1779dd=this[_0x381c6f(0xd1)][_0x381c6f(0xbd)][_0x381c6f(0xb1)](_0x381c6f(0x109)),_0x5720c0=this[_0x381c6f(0xd1)][_0x381c6f(0xbd)][_0x381c6f(0xb1)](_0x381c6f(0x127)),_0xe3c1d9=this[_0x381c6f(0xe8)][_0x381c6f(0xb1)](_0x26e2db),_0x30c880=_0xe3c1d9[_0x381c6f(0x12c)],_0x45b874=_0x5720c0[_0x381c6f(0xb0)](_0x30c880);_0x1779dd[_0x381c6f(0x133)](_0x30c880),_0x45b874&&_0x5720c0[_0x381c6f(0xd8)](_0x45b874),this[_0x381c6f(0xe8)][_0x381c6f(0xe9)](_0x26e2db),this[_0x381c6f(0x138)][_0x381c6f(0xe9)](_0x30c880),_0xe3c1d9[_0x381c6f(0xe4)]();}[_0x19a1b8(0x10e)](_0x2e2ee7){const _0x2337ed=_0x19a1b8;if(!_0x2e2ee7[_0x2337ed(0x13a)]||!this[_0x2337ed(0xe8)][_0x2337ed(0xa9)](_0x2e2ee7))return;const _0x56a4ea=this[_0x2337ed(0xd1)][_0x2337ed(0xbd)][_0x2337ed(0xb1)](_0x2337ed(0xc5)),_0x3d40c5=this[_0x2337ed(0xe8)][_0x2337ed(0xb1)](_0x2e2ee7),_0x362a3f=_0x2e2ee7[_0x2337ed(0xaf)]();_0x3d40c5[_0x2337ed(0x12c)][_0x2337ed(0x113)]=_0x56a4ea[_0x2337ed(0x11f)][_0x2337ed(0xd2)](_0x362a3f);}[_0x19a1b8(0xe4)](){const _0x44feba=_0x19a1b8;for(const _0x4e0bc4 of this[_0x44feba(0xe8)][_0x44feba(0x10f)]())this[_0x44feba(0x118)](_0x4e0bc4);for(const _0x1011f7 of this[_0x44feba(0x114)][_0x44feba(0x102)]())_0x1011f7[_0x44feba(0x101)][_0x44feba(0xe4)]();super[_0x44feba(0xe4)](),this[_0x44feba(0x112)]&&clearInterval(this[_0x44feba(0x112)]);}}function ke(_0x54848f){const _0x25dcc1=_0x19a1b8;return _0x25dcc1(0x124)in _0x54848f;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x34c2d9=_0x1ab3;(function(_0x4b35ea,_0x21f4b8){const _0x4b8e80=_0x1ab3,_0x4917b5=_0x4b35ea();while(!![]){try{const _0x5a899c=parseInt(_0x4b8e80(0x98))/0x1+-parseInt(_0x4b8e80(0x8d))/0x2*(-parseInt(_0x4b8e80(0x85))/0x3)+-parseInt(_0x4b8e80(0x7e))/0x4*(-parseInt(_0x4b8e80(0xa2))/0x5)+parseInt(_0x4b8e80(0x7b))/0x6+parseInt(_0x4b8e80(0x8e))/0x7*(parseInt(_0x4b8e80(0xa0))/0x8)+-parseInt(_0x4b8e80(0x92))/0x9+-parseInt(_0x4b8e80(0x89))/0xa;if(_0x5a899c===_0x21f4b8)break;else _0x4917b5['push'](_0x4917b5['shift']());}catch(_0x52c2f6){_0x4917b5['push'](_0x4917b5['shift']());}}}(_0x5795,0x82eae));function _0x1ab3(_0x24fc3f,_0x354069){const _0x57954c=_0x5795();return _0x1ab3=function(_0x1ab33a,_0x49002b){_0x1ab33a=_0x1ab33a-0x7a;let _0x58c8f5=_0x57954c[_0x1ab33a];return _0x58c8f5;},_0x1ab3(_0x24fc3f,_0x354069);}import{ObservableMixin as _0x203b6d}from'ckeditor5/src/utils.js';function _0x5795(){const _0x42adfb=['_discardCommand','283356CZFMdL','execute','model','commands','locale','get','PENDING_ACTION_SUGGESTION','92754zNMHCy','commentThreadController','_editor','plugins','14149940YpMbTJ','isDirty','_pendingAction','isEnabled','2yyMOGH','2088443EamcFw','unbind','change:isDirty','_removePendingAction','5248917pBzPsI','canDiscard','bind','_setPendingAction','PendingActions','_acceptCommand','634092vyZZIW','listenTo','destroy','discardSuggestion','stopListening','acceptSuggestion','canEditAt','remove','24kLHFSV','view','5TAmLkI','getRanges','canAccept','5421294xbzZll','add'];_0x5795=function(){return _0x42adfb;};return _0x5795();}import{getTranslation as _0x36866c}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x203b6d(){[_0x34c2d9(0x80)];[_0x34c2d9(0xa1)];[_0x34c2d9(0x86)];[_0x34c2d9(0x87)];[_0x34c2d9(0x97)];[_0x34c2d9(0x7d)];[_0x34c2d9(0x8b)];constructor(_0x8ed39d,_0x32935e,_0x3c029e,_0x34e0c9){const _0x4c84b7=_0x34c2d9;super(),this[_0x4c84b7(0x80)]=_0x32935e,this[_0x4c84b7(0xa1)]=_0x3c029e,this[_0x4c84b7(0x86)]=_0x34e0c9,this[_0x4c84b7(0x87)]=_0x8ed39d,this[_0x4c84b7(0x97)]=_0x8ed39d[_0x4c84b7(0x81)][_0x4c84b7(0x83)](_0x4c84b7(0x9d)),this[_0x4c84b7(0x7d)]=_0x8ed39d[_0x4c84b7(0x81)][_0x4c84b7(0x83)](_0x4c84b7(0x9b)),this[_0x4c84b7(0xa1)][_0x4c84b7(0x94)](_0x4c84b7(0x8c))['to'](this[_0x4c84b7(0x97)],this[_0x4c84b7(0x7d)],(_0x55aacd,_0x358600)=>_0x55aacd||_0x358600),this[_0x4c84b7(0xa1)][_0x4c84b7(0x94)](_0x4c84b7(0x7a))['to'](this[_0x4c84b7(0x97)],_0x4c84b7(0x8c),_0x90c78d=>_0x90c78d&&this[_0x4c84b7(0x87)][_0x4c84b7(0x80)][_0x4c84b7(0x9e)](_0x32935e[_0x4c84b7(0xa3)]())),this[_0x4c84b7(0xa1)][_0x4c84b7(0x94)](_0x4c84b7(0x93))['to'](this[_0x4c84b7(0x7d)],_0x4c84b7(0x8c),_0x1882bb=>_0x1882bb&&this[_0x4c84b7(0x87)][_0x4c84b7(0x80)][_0x4c84b7(0x9e)](_0x32935e[_0x4c84b7(0xa3)]())),this[_0x4c84b7(0x8b)]=null,_0x3c029e[_0x4c84b7(0x8a)]&&this[_0x4c84b7(0x95)](),this[_0x4c84b7(0x99)](_0x3c029e,_0x4c84b7(0x9d),()=>this[_0x4c84b7(0x9d)]()),this[_0x4c84b7(0x99)](_0x3c029e,_0x4c84b7(0x9b),()=>this[_0x4c84b7(0x9b)]()),this[_0x4c84b7(0x99)](_0x3c029e,_0x4c84b7(0x90),()=>{const _0x5bae11=_0x4c84b7;_0x3c029e[_0x5bae11(0x8a)]?this[_0x5bae11(0x95)]():this[_0x5bae11(0x91)]();});}[_0x34c2d9(0x9d)](){const _0x231626=_0x34c2d9;this[_0x231626(0x97)][_0x231626(0x7f)](this[_0x231626(0x80)]['id']);}[_0x34c2d9(0x9b)](){const _0x45da17=_0x34c2d9;this[_0x45da17(0x7d)][_0x45da17(0x7f)](this[_0x45da17(0x80)]['id']);}[_0x34c2d9(0x9a)](){const _0xe0a2ce=_0x34c2d9;this[_0xe0a2ce(0xa1)][_0xe0a2ce(0x8f)](_0xe0a2ce(0x8c)),this[_0xe0a2ce(0xa1)][_0xe0a2ce(0x8f)](_0xe0a2ce(0x7a)),this[_0xe0a2ce(0xa1)][_0xe0a2ce(0x8f)](_0xe0a2ce(0x93)),this[_0xe0a2ce(0x9c)](),this[_0xe0a2ce(0x86)][_0xe0a2ce(0x9a)](),this[_0xe0a2ce(0x8b)]&&this[_0xe0a2ce(0x91)]();}[_0x34c2d9(0x95)](){const _0x4e94d7=_0x34c2d9,_0x2bfcd4=_0x36866c(this[_0x4e94d7(0x87)][_0x4e94d7(0x82)],_0x4e94d7(0x84));this[_0x4e94d7(0x8b)]=this[_0x4e94d7(0x87)][_0x4e94d7(0x88)][_0x4e94d7(0x83)](_0x4e94d7(0x96))[_0x4e94d7(0x7c)](_0x2bfcd4);}[_0x34c2d9(0x91)](){const _0x53bdd0=_0x34c2d9;null!==this[_0x53bdd0(0x8b)]&&this[_0x53bdd0(0x87)][_0x53bdd0(0x88)][_0x53bdd0(0x83)](_0x53bdd0(0x96))[_0x53bdd0(0x9f)](this[_0x53bdd0(0x8b)]),this[_0x53bdd0(0x8b)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x245495=_0x35ff;function _0x1709(){const _0x32becc=['tab','2176zrCLZn','commentThread','updateComment','destroy','name','body','commentInputView','submit','canDiscard','SUGGESTION_THREAD_ARIA_LABEL','3930828VGfKQd','_config','target','shift+tab','editor','join','text/html','commentsListView','parseFromString','_createCommentViews','_createCommentThreadInputView','textContent','delegate','3550370YeeNqx','disableComments','isDirty','editorConfig','removeComment','element','focusables','931134wEKfSe','canAccept','ariaLabel','1222426dtQGVq','value','25RwFCBg','authoredAt','isReadOnly','descriptionParts','formatDateTime','addComment','setData','isActive','showInput','fire','cancel','isEnabled','ariaDescriptionView','disabledSubmit','10871qDZPNe','1323dqDwrR','assign','locale','610vPlwrd','set','focus','focusCycler','map','focusTracker','_model','render','24094411SDuMUZ','bind','content','length','SUGGESTION_THREAD_DESCRIPTION','_localUser','CommentView','author','9TIYWep','hasDirtyComment','keystrokes','commentThreadInputView'];_0x1709=function(){return _0x32becc;};return _0x1709();}function _0x35ff(_0x84c885,_0x241f82){const _0x1709a9=_0x1709();return _0x35ff=function(_0x35ff11,_0x48b846){_0x35ff11=_0x35ff11-0x157;let _0x57bce7=_0x1709a9[_0x35ff11];return _0x57bce7;},_0x35ff(_0x84c885,_0x241f82);}(function(_0x3b52d6,_0x212b23){const _0x447e16=_0x35ff,_0x241a0a=_0x3b52d6();while(!![]){try{const _0x311a4b=parseInt(_0x447e16(0x195))/0x1+-parseInt(_0x447e16(0x15f))/0x2*(parseInt(_0x447e16(0x15c))/0x3)+parseInt(_0x447e16(0x17e))/0x4+parseInt(_0x447e16(0x197))/0x5*(parseInt(_0x447e16(0x192))/0x6)+-parseInt(_0x447e16(0x15b))/0x7*(-parseInt(_0x447e16(0x174))/0x8)+parseInt(_0x447e16(0x16f))/0x9*(-parseInt(_0x447e16(0x18b))/0xa)+-parseInt(_0x447e16(0x167))/0xb;if(_0x311a4b===_0x212b23)break;else _0x241a0a['push'](_0x241a0a['shift']());}catch(_0x2aec65){_0x241a0a['push'](_0x241a0a['shift']());}}}(_0x1709,0xb0a5f));import{FocusCycler as _0x1c6c05,View as _0x12cf28,ViewCollection as _0x5c13ca}from'ckeditor5/src/ui.js';import{FocusTracker as _0x591beb,KeystrokeHandler as _0x41fb07}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x231345,setupThreadKeyboardNavigation as _0x477532}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x54fa78}from'../../utils/common-translations.js';import{renderDescription as _0x20564e}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x12cf28{[_0x245495(0x185)];[_0x245495(0x172)];[_0x245495(0x159)];[_0x245495(0x191)];[_0x245495(0x164)];[_0x245495(0x171)];[_0x245495(0x162)];[_0x245495(0x165)];[_0x245495(0x16c)];[_0x245495(0x17f)];constructor(_0x5ac4a7,_0x254e0a,_0x54d395,_0x23b5ef){const _0x1d1e3d=_0x245495;super(_0x5ac4a7),this[_0x1d1e3d(0x185)]=null,this[_0x1d1e3d(0x172)]=null,this[_0x1d1e3d(0x159)]=new _0x231345(_0x5ac4a7,_0x54fa78(_0x5ac4a7,_0x1d1e3d(0x16b))),this[_0x1d1e3d(0x160)](_0x1d1e3d(0x19e),!0x1),this[_0x1d1e3d(0x160)](_0x1d1e3d(0x198),_0x254e0a[_0x1d1e3d(0x198)]),this[_0x1d1e3d(0x168)](_0x1d1e3d(0x198))['to'](_0x254e0a),this[_0x1d1e3d(0x160)](_0x1d1e3d(0x19a),[]),this[_0x1d1e3d(0x160)](_0x1d1e3d(0x18d),!0x1),this[_0x1d1e3d(0x160)](_0x1d1e3d(0x158),!0x1),this[_0x1d1e3d(0x160)](_0x1d1e3d(0x193),!0x1),this[_0x1d1e3d(0x160)](_0x1d1e3d(0x17c),!0x1),this[_0x1d1e3d(0x168)](_0x1d1e3d(0x194))['to'](this,_0x1d1e3d(0x16a),_0x254e0a,_0x1d1e3d(0x198),this,_0x1d1e3d(0x19a),(_0x15039f,_0x5db1bd,_0x322bea)=>{const _0x2a2873=_0x1d1e3d,_0x5aabb7=_0x322bea[_0x2a2873(0x163)](_0x4b8b3c=>_0x20564e(_0x4b8b3c[_0x2a2873(0x169)]))[_0x2a2873(0x183)]('.\x20')+'.';return _0x54fa78(this[_0x2a2873(0x15e)],_0x2a2873(0x17d),[_0x15039f-0x1,_0x254e0a[_0x2a2873(0x16e)][_0x2a2873(0x178)],_0x5db1bd?_0x23b5ef[_0x2a2873(0x19b)](_0x5db1bd):'',new DOMParser()[_0x2a2873(0x186)](_0x5aabb7,_0x2a2873(0x184))[_0x2a2873(0x179)][_0x2a2873(0x189)]]);}),this[_0x1d1e3d(0x191)]=new _0x5c13ca(),this[_0x1d1e3d(0x164)]=new _0x591beb(),this[_0x1d1e3d(0x171)]=new _0x41fb07(),this[_0x1d1e3d(0x162)]=new _0x1c6c05({'focusables':this[_0x1d1e3d(0x191)],'focusTracker':this[_0x1d1e3d(0x164)],'keystrokeHandler':this[_0x1d1e3d(0x171)],'keystrokeHandlerOptions':{'filter':_0x3120f8=>_0x3120f8[_0x1d1e3d(0x180)]!==this[_0x1d1e3d(0x190)]},'actions':{'focusPrevious':_0x1d1e3d(0x181),'focusNext':_0x1d1e3d(0x173)}}),this[_0x1d1e3d(0x165)]=_0x254e0a,this[_0x1d1e3d(0x16c)]=_0x54d395,this[_0x1d1e3d(0x17f)]=_0x23b5ef,_0x23b5ef[_0x1d1e3d(0x18c)]?this[_0x1d1e3d(0x160)](_0x1d1e3d(0x16a),0x1):this[_0x1d1e3d(0x187)]();}[_0x245495(0x166)](){const _0x2615b7=_0x245495;super[_0x2615b7(0x166)](),_0x477532(this,this[_0x2615b7(0x191)]);}[_0x245495(0x161)](){const _0x48fed3=_0x245495;this[_0x48fed3(0x190)][_0x48fed3(0x161)]();}[_0x245495(0x177)](){const _0xd321d4=_0x245495;this[_0xd321d4(0x185)]&&this[_0xd321d4(0x185)][_0xd321d4(0x177)](),this[_0xd321d4(0x172)]&&this[_0xd321d4(0x172)][_0xd321d4(0x177)](),super[_0xd321d4(0x177)]();}[_0x245495(0x187)](){const _0x1c1974=_0x245495,{CommentsListView:_0x59563e}=this[_0x1c1974(0x17f)];this[_0x1c1974(0x185)]=new _0x59563e(this[_0x1c1974(0x15e)],this[_0x1c1974(0x165)][_0x1c1974(0x175)],Object[_0x1c1974(0x15d)]({'CommentView':this[_0x1c1974(0x17f)][_0x1c1974(0x16d)]},this[_0x1c1974(0x17f)])),this[_0x1c1974(0x185)][_0x1c1974(0x18a)](_0x1c1974(0x18f))['to'](this),this[_0x1c1974(0x185)][_0x1c1974(0x18a)](_0x1c1974(0x176))['to'](this),this[_0x1c1974(0x185)][_0x1c1974(0x168)](_0x1c1974(0x19e))['to'](this),this[_0x1c1974(0x160)](_0x1c1974(0x16a),this[_0x1c1974(0x185)][_0x1c1974(0x16a)]+0x1),this[_0x1c1974(0x168)](_0x1c1974(0x16a))['to'](this[_0x1c1974(0x185)],_0x1c1974(0x16a),_0x3431b6=>_0x3431b6+0x1),this[_0x1c1974(0x172)]=this[_0x1c1974(0x188)](),this['on'](_0x1c1974(0x18f),()=>this[_0x1c1974(0x161)]()),this[_0x1c1974(0x168)](_0x1c1974(0x18d))['to'](this[_0x1c1974(0x185)],_0x1c1974(0x170),this[_0x1c1974(0x172)][_0x1c1974(0x17a)],_0x1c1974(0x196),(_0x2e8819,_0x59545b)=>_0x2e8819||!!_0x59545b);}[_0x245495(0x188)](){const _0x213368=_0x245495,{CommentThreadInputView:_0x48f6a8}=this[_0x213368(0x17f)],_0x58a95b=new _0x48f6a8(this[_0x213368(0x15e)],this[_0x213368(0x16c)],this[_0x213368(0x17f)][_0x213368(0x18e)]),_0x660dcf=_0x58a95b[_0x213368(0x17a)];return _0x58a95b[_0x213368(0x168)](_0x213368(0x19f))['to'](this,_0x213368(0x19e),this[_0x213368(0x165)][_0x213368(0x175)],_0x213368(0x199),_0x660dcf,_0x213368(0x196),(_0x3c8ea7,_0x44b691,_0x308b68)=>!!_0x308b68||_0x3c8ea7&&!_0x44b691),_0x660dcf['on'](_0x213368(0x17b),(_0x3f39e3,_0x26a65f)=>{const _0x720ece=_0x213368;this[_0x720ece(0x1a0)](_0x720ece(0x19c),_0x26a65f),_0x660dcf[_0x720ece(0x182)][_0x720ece(0x19d)]('');}),_0x660dcf['on'](_0x213368(0x157),()=>this[_0x213368(0x161)]()),_0x660dcf[_0x213368(0x168)](_0x213368(0x15a))['to'](this[_0x213368(0x165)][_0x213368(0x175)],_0x213368(0x199)),_0x58a95b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb544c=_0x3394;function _0x47bb(){const _0x283086=['8yGUCZd','set','44UxGLkj','color','commentsListView','</p>','ck-suggestion-wrapper','<p>','_config','_model','acceptButton','content','render','ck-suggestion-','editorDestroyed','getTemplate','description','2OQrKSo','isActive','968252mZBAwD','167971YPSSHl','setTemplate','div','2450472XpOYVi','SuggestionView','ck-suggestion--disabled-comments','isEnabled','bindTemplate','descriptionParts','push','editorReady','commentThread','listitem','disableComments','bind','delegate','4272psnbXb','3855bzTpLN','discardButton','add','canDiscard','author','ck-rounded-corners','8893458QlSNqY','_descriptionElement','ck-suggestion-wrapper--active','canAccept','formatDateTime','focusables','ariaLabel','11359368APqFrk','suggestionView','acceptSuggestion','ariaDescriptionView','type','commentThreadInputView','discardSuggestion','4701390AKEeIb'];_0x47bb=function(){return _0x283086;};return _0x47bb();}function _0x3394(_0x48c8e7,_0x280534){const _0x47bbe2=_0x47bb();return _0x3394=function(_0x3394c2,_0x53afeb){_0x3394c2=_0x3394c2-0xae;let _0x4c3935=_0x47bbe2[_0x3394c2];return _0x4c3935;},_0x3394(_0x48c8e7,_0x280534);}(function(_0xfb9b06,_0x40a0b0){const _0x19636e=_0x3394,_0x9fd445=_0xfb9b06();while(!![]){try{const _0x53bd0d=parseInt(_0x19636e(0xd8))/0x1*(parseInt(_0x19636e(0xd5))/0x2)+-parseInt(_0x19636e(0xdb))/0x3+parseInt(_0x19636e(0xd7))/0x4+parseInt(_0x19636e(0xaf))/0x5*(parseInt(_0x19636e(0xae))/0x6)+-parseInt(_0x19636e(0xb5))/0x7*(-parseInt(_0x19636e(0xc4))/0x8)+parseInt(_0x19636e(0xbc))/0x9+-parseInt(_0x19636e(0xc3))/0xa*(parseInt(_0x19636e(0xc6))/0xb);if(_0x53bd0d===_0x40a0b0)break;else _0x9fd445['push'](_0x9fd445['shift']());}catch(_0x400bd5){_0x9fd445['push'](_0x9fd445['shift']());}}}(_0x47bb,0xc1e8c));import{BaseSuggestionThreadView as _0x46330e}from'./basesuggestionthreadview.js';import{trimHtml as _0x2d3ee2}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x440681}from'../../utils/utils.js';export class SuggestionThreadView extends _0x46330e{[_0xb544c(0xbd)];[_0xb544c(0xb6)];constructor(_0xdf9c69,_0x19e05c,_0x245dec,_0x4a19fc){const _0x401b90=_0xb544c;super(_0xdf9c69,_0x19e05c,_0x245dec,_0x4a19fc),this[_0x401b90(0xc5)](_0x401b90(0xc0),''),this[_0x401b90(0xe6)](_0x401b90(0xc0))['to'](this,_0x401b90(0xe0),_0x47156e=>_0x47156e&&_0x47156e[0x0]?_0x47156e[0x0][_0x401b90(0xc0)]:''),this[_0x401b90(0xe6)](_0x401b90(0xd4))['to'](this,_0x401b90(0xe0),this,_0x401b90(0xd6),(_0x4ab9bc,_0x1c1c7e)=>{const _0x450552=_0x401b90;let _0x566879='';for(const _0x26d1e0 of _0x4ab9bc)_0x566879+=_0x450552(0xcb)+_0x440681(_0x26d1e0[_0x450552(0xcf)],_0x26d1e0[_0x450552(0xc7)])+_0x450552(0xc9);return _0x1c1c7e?_0x566879:_0x2d3ee2(_0x566879,{'limit':0x8c});}),this[_0x401b90(0xb6)]=null,this[_0x401b90(0xbd)]=new _0x4a19fc[(_0x401b90(0xdc))](_0xdf9c69,_0x19e05c,{'formatDateTime':_0x4a19fc[_0x401b90(0xb9)]}),this[_0x401b90(0xbd)][_0x401b90(0xe6)](_0x401b90(0xd4))['to'](this),this[_0x401b90(0xbd)][_0x401b90(0xe7)](_0x401b90(0xbe),_0x401b90(0xc2))['to'](this),this[_0x401b90(0xbd)][_0x401b90(0xce)][_0x401b90(0xe6)](_0x401b90(0xde))['to'](this,_0x401b90(0xb8)),this[_0x401b90(0xbd)][_0x401b90(0xb0)][_0x401b90(0xe6)](_0x401b90(0xde))['to'](this,_0x401b90(0xb2)),this[_0x401b90(0xba)][_0x401b90(0xb1)](this[_0x401b90(0xbd)]),this[_0x401b90(0xc8)]&&this[_0x401b90(0xba)][_0x401b90(0xb1)](this[_0x401b90(0xc8)]),this[_0x401b90(0xc1)]&&this[_0x401b90(0xba)][_0x401b90(0xb1)](this[_0x401b90(0xc1)]),this[_0x401b90(0xd9)](this[_0x401b90(0xd3)]());}[_0xb544c(0xd3)](){const _0x19e70a=_0xb544c,_0x5dd136=this[_0x19e70a(0xdf)],_0x40fed2=[this[_0x19e70a(0xbd)]];return this[_0x19e70a(0xc8)]&&_0x40fed2[_0x19e70a(0xe1)](this[_0x19e70a(0xc8)]),this[_0x19e70a(0xc1)]&&_0x40fed2[_0x19e70a(0xe1)](this[_0x19e70a(0xc1)]),_0x40fed2[_0x19e70a(0xe1)](this[_0x19e70a(0xbf)]),{'tag':_0x19e70a(0xda),'attributes':{'class':['ck',_0x19e70a(0xb4),_0x19e70a(0xca),_0x5dd136['if'](_0x19e70a(0xd6),_0x19e70a(0xb7)),_0x5dd136['to'](_0x19e70a(0xc0),_0x7d1b06=>_0x19e70a(0xd1)+_0x7d1b06),this[_0x19e70a(0xcc)][_0x19e70a(0xe5)]&&_0x19e70a(0xdd)],'data-suggestion-id':this[_0x19e70a(0xcd)]['id'],'data-thread-id':this[_0x19e70a(0xcd)][_0x19e70a(0xe3)]['id'],'data-author-id':this[_0x19e70a(0xcd)][_0x19e70a(0xb3)]['id'],'tabindex':0x0,'role':_0x19e70a(0xe4),'aria-label':_0x5dd136['to'](_0x19e70a(0xbb)),'aria-describedby':this[_0x19e70a(0xbf)]['id']},'children':_0x40fed2};}[_0xb544c(0xd0)](){const _0x500f4a=_0xb544c;super[_0x500f4a(0xd0)](),this[_0x500f4a(0xc8)]&&(this[_0x500f4a(0xc8)][_0x500f4a(0xe7)](_0x500f4a(0xe2))['to'](this),this[_0x500f4a(0xc8)][_0x500f4a(0xe7)](_0x500f4a(0xd2))['to'](this)),this[_0x500f4a(0xc1)]&&(this[_0x500f4a(0xc1)][_0x500f4a(0xe7)](_0x500f4a(0xe2))['to'](this),this[_0x500f4a(0xc1)][_0x500f4a(0xe7)](_0x500f4a(0xd2))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43b1db=_0x5063;(function(_0x5151a8,_0x3b22e5){const _0x2caa3c=_0x5063,_0x40a0a3=_0x5151a8();while(!![]){try{const _0x65d44e=parseInt(_0x2caa3c(0x1ad))/0x1*(-parseInt(_0x2caa3c(0x19c))/0x2)+parseInt(_0x2caa3c(0x1d9))/0x3*(parseInt(_0x2caa3c(0x19a))/0x4)+-parseInt(_0x2caa3c(0x1cb))/0x5*(-parseInt(_0x2caa3c(0x1a1))/0x6)+-parseInt(_0x2caa3c(0x1ba))/0x7*(parseInt(_0x2caa3c(0x1ae))/0x8)+parseInt(_0x2caa3c(0x1cf))/0x9+parseInt(_0x2caa3c(0x1c4))/0xa+-parseInt(_0x2caa3c(0x18f))/0xb;if(_0x65d44e===_0x3b22e5)break;else _0x40a0a3['push'](_0x40a0a3['shift']());}catch(_0x440b88){_0x40a0a3['push'](_0x40a0a3['shift']());}}}(_0x58cf,0xa4ef6));import{FocusTracker as _0x5706c0,KeystrokeHandler as _0xb17882}from'ckeditor5/src/utils.js';import{View as _0x2c95dd,ViewCollection as _0x4a417c,FocusCycler as _0x9eb1b6}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x5f18e0,UserView as _0x3fd0cb}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5063(_0xc3e96d,_0x1643ea){const _0x58cf57=_0x58cf();return _0x5063=function(_0x5063b3,_0x13878f){_0x5063b3=_0x5063b3-0x18a;let _0x56ae13=_0x58cf57[_0x5063b3];return _0x56ae13;},_0x5063(_0xc3e96d,_0x1643ea);}function _0x58cf(){const _0x24eb70=['listenTo','ck-suggestion__info','presentation','div','EXTERNAL_IMPORT_WORD_SUGGESTION','@external','execute','getUserViewNotificationText','EXTERNAL_SUGGESTION','bindTemplate','1IDmKfx','8TVTOmz','extendTemplate','getExternalSuggestionNote','_setupKeyboardNavigation','ck-annotation__main','innerHTML','ck-suggestion__actions','shift+tab','enter','keystrokes','_createButton','_config','5154653kZPaSZ','_model','description','Accept\x20suggestion','fire','bind','tab','ck-annotation__info','ck-annotation__user','set','9982510RVKdcb','userView','discardSuggestion','element','.ck-annotation__content-wrapper','formatDateTime','importWord','1291085yvBynC','getTemplate','ck-annotation','EXTERNAL_AVATAR','11453967oPyQBe','ck-suggestion__info-name','ck-annotation__content-wrapper','ck-comment__external','focusables','ck-suggestion__main','time','push','focusFirst','add','9444yKJFAu','render','isExternal','Discard\x20suggestion','change:description','ck-suggestion--discard','acceptSuggestion','name','ck-annotation__info-name','ck-suggestion','discardButton','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','span','ck-annotation__info-time','target','8156093gomwfk','locale','focus','focusCycler','esc','source','focusTracker','authoredAt','author','acceptButton','querySelector','240HlLMdi','creator','2162058piRjNc','attributes','ck-suggestion__user','ck-comment__info-time','ck-suggestion--accept','18YYDsMN','ck-annotation__actions'];_0x58cf=function(){return _0x24eb70;};return _0x58cf();}import{IconCancel as _0x33ee0e,IconCheck as _0x132173}from'ckeditor5/src/icons.js';import{getTranslation as _0x3fbd21}from'../../utils/common-translations.js';export class SuggestionView extends _0x2c95dd{[_0x43b1db(0x1c5)];[_0x43b1db(0x198)];[_0x43b1db(0x1e3)];[_0x43b1db(0x1d3)];[_0x43b1db(0x195)];[_0x43b1db(0x1b7)];[_0x43b1db(0x192)];[_0x43b1db(0x1bb)];[_0x43b1db(0x1b9)];constructor(_0x1275d4,_0x1f34e5,_0x51688f){const _0x3bf6b2=_0x43b1db;super(_0x1275d4),this[_0x3bf6b2(0x1bb)]=_0x1f34e5,this[_0x3bf6b2(0x1b9)]=_0x51688f,this[_0x3bf6b2(0x1c3)](_0x3bf6b2(0x1bc),''),this[_0x3bf6b2(0x1bf)](_0x3bf6b2(0x196))['to'](_0x1f34e5),this[_0x3bf6b2(0x198)]=this[_0x3bf6b2(0x1b8)](_0x3fbd21(_0x1275d4,_0x3bf6b2(0x1bd)),_0x132173,_0x3bf6b2(0x1a0),_0x3bf6b2(0x1df),'sw'),this[_0x3bf6b2(0x1e3)]=this[_0x3bf6b2(0x1b8)](_0x3fbd21(_0x1275d4,_0x3bf6b2(0x1dc)),_0x33ee0e,_0x3bf6b2(0x1de),_0x3bf6b2(0x1c6),'sw'),this[_0x3bf6b2(0x1c5)]=new _0x3fd0cb(_0x1275d4,_0x1f34e5[_0x3bf6b2(0x197)],this[_0x3bf6b2(0x1aa)]()),this[_0x3bf6b2(0x1c5)][_0x3bf6b2(0x1af)]({'attributes':{'class':[_0x3bf6b2(0x19e),_0x3bf6b2(0x1c2)],'aria-hidden':!0x0}}),this[_0x3bf6b2(0x1d3)]=new _0x4a417c([this[_0x3bf6b2(0x198)],this[_0x3bf6b2(0x1e3)]]),this[_0x3bf6b2(0x195)]=new _0x5706c0(),this[_0x3bf6b2(0x1b7)]=new _0xb17882(),this[_0x3bf6b2(0x192)]=new _0x9eb1b6({'focusables':this[_0x3bf6b2(0x1d3)],'focusTracker':this[_0x3bf6b2(0x195)],'keystrokeHandler':this[_0x3bf6b2(0x1b7)],'actions':{'focusPrevious':_0x3bf6b2(0x1b5),'focusNext':_0x3bf6b2(0x1c0)},'keystrokeHandlerOptions':{'filter':_0xbf83d3=>_0xbf83d3[_0x3bf6b2(0x18e)]!==this[_0x3bf6b2(0x1c7)]}}),this[_0x3bf6b2(0x18a)](this[_0x3bf6b2(0x1cc)]());}[_0x43b1db(0x1da)](){const _0x4d0755=_0x43b1db;super[_0x4d0755(0x1da)]();const _0x39793d=this[_0x4d0755(0x1c7)][_0x4d0755(0x199)](_0x4d0755(0x1c8));_0x39793d[_0x4d0755(0x1b3)]=this[_0x4d0755(0x1bc)],this['on'](_0x4d0755(0x1dd),(_0xae9437,_0x337ea3,_0x31660c)=>{const _0x108da2=_0x4d0755;_0x39793d[_0x108da2(0x1b3)]=_0x31660c;}),this[_0x4d0755(0x1b1)]();}[_0x43b1db(0x1cc)](){const _0x2d30ec=_0x43b1db,_0x11389f=this[_0x2d30ec(0x1ac)],_0x4c58c8=[{'tag':_0x2d30ec(0x1a6),'attributes':{'class':[_0x2d30ec(0x1a4),_0x2d30ec(0x1c1)]},'children':[{'tag':_0x2d30ec(0x18c),'children':[{'text':this[_0x2d30ec(0x1c5)][_0x2d30ec(0x1e0)]}],'attributes':{'class':[_0x2d30ec(0x1d0),_0x2d30ec(0x1e1)],'data-cke-tooltip-text':this[_0x2d30ec(0x1c5)][_0x2d30ec(0x1e0)]}},{'tag':_0x2d30ec(0x1d5),'attributes':{'datetime':_0x11389f['to'](_0x2d30ec(0x196)),'class':[_0x2d30ec(0x19f),_0x2d30ec(0x18d)]},'children':[{'text':_0x11389f['to'](_0x2d30ec(0x196),_0x8d4fbf=>this[_0x2d30ec(0x1b9)][_0x2d30ec(0x1c9)](_0x8d4fbf))}]}]},{'tag':_0x2d30ec(0x1a6),'attributes':{'class':[_0x2d30ec(0x1b4),_0x2d30ec(0x1a2)]},'children':[this[_0x2d30ec(0x198)],this[_0x2d30ec(0x1e3)]]},{'tag':_0x2d30ec(0x1a6),'attributes':{'class':[_0x2d30ec(0x1d1)]}}];return this[_0x2d30ec(0x1bb)][_0x2d30ec(0x1db)]&&_0x4c58c8[_0x2d30ec(0x1d6)]({'tag':_0x2d30ec(0x1a6),'attributes':{'class':[_0x2d30ec(0x1d2)]},'children':[{'text':this[_0x2d30ec(0x1b0)]()}]}),{'tag':_0x2d30ec(0x1a6),'attributes':{'class':[_0x2d30ec(0x1e2),_0x2d30ec(0x1cd)],'tabindex':-0x1},'children':[this[_0x2d30ec(0x1c5)],{'tag':_0x2d30ec(0x1a6),'attributes':{'class':[_0x2d30ec(0x1d4),_0x2d30ec(0x1b2)],'role':_0x2d30ec(0x1a5)},'children':_0x4c58c8}]};}[_0x43b1db(0x191)](){const _0x1f211e=_0x43b1db;this[_0x1f211e(0x1c7)][_0x1f211e(0x191)]();}[_0x43b1db(0x1aa)](){const _0x582456=_0x43b1db;return this[_0x582456(0x1bb)][_0x582456(0x1db)]?_0x582456(0x1ca)===this[_0x582456(0x1bb)][_0x582456(0x19d)][_0x582456(0x1a8)][_0x582456(0x194)]?_0x3fbd21(this[_0x582456(0x190)],_0x582456(0x18b),this[_0x582456(0x1bb)][_0x582456(0x19b)][_0x582456(0x1e0)]):_0x3fbd21(this[_0x582456(0x190)],_0x582456(0x1ce),this[_0x582456(0x1bb)][_0x582456(0x19b)][_0x582456(0x1e0)]):null;}[_0x43b1db(0x1b0)](){const _0x5318f1=_0x43b1db;return _0x5318f1(0x1ca)===this[_0x5318f1(0x1bb)][_0x5318f1(0x19d)][_0x5318f1(0x1a8)][_0x5318f1(0x194)]?_0x3fbd21(this[_0x5318f1(0x190)],_0x5318f1(0x1a7)):_0x3fbd21(this[_0x5318f1(0x190)],_0x5318f1(0x1ab));}[_0x43b1db(0x1b8)](_0xd0ebf4,_0x4be41b,_0x5a0c66,_0x84899c,_0xc0afec){const _0x405669=_0x43b1db,_0x5690d6=new _0x5f18e0(this[_0x405669(0x190)]);return _0x5690d6[_0x405669(0x1c3)]({'label':_0xd0ebf4,'icon':_0x4be41b,'tooltip':!0x0,'tooltipPosition':_0xc0afec}),_0x5690d6[_0x405669(0x1af)]({'attributes':{'class':_0x5a0c66}}),_0x5690d6['on'](_0x405669(0x1a9),()=>{const _0x1ba8b2=_0x405669;this[_0x1ba8b2(0x1be)](_0x84899c,this[_0x1ba8b2(0x1bb)]['id']);}),_0x5690d6;}[_0x43b1db(0x1b1)](){const _0x2bf839=_0x43b1db,_0x219868=this[_0x2bf839(0x1c7)];this[_0x2bf839(0x1b7)][_0x2bf839(0x1a3)](_0x219868);for(const _0x2519d1 of this[_0x2bf839(0x1d3)])this[_0x2bf839(0x195)][_0x2bf839(0x1d8)](_0x2519d1[_0x2bf839(0x1c7)]),this[_0x2bf839(0x1b7)][_0x2bf839(0x1a3)](_0x2519d1[_0x2bf839(0x1c7)]);this[_0x2bf839(0x1b7)][_0x2bf839(0x1c3)](_0x2bf839(0x1b6),(_0xa7d848,_0x2a50c1)=>{const _0x11b9c8=_0x2bf839;_0x219868===_0xa7d848[_0x11b9c8(0x18e)]&&(this[_0x11b9c8(0x192)][_0x11b9c8(0x1d7)](),_0x2a50c1());}),this[_0x2bf839(0x1b7)][_0x2bf839(0x1c3)](_0x2bf839(0x193),(_0x39a5c1,_0x32bcc3)=>{const _0x39f459=_0x2bf839;_0x219868!==_0x39a5c1[_0x39f459(0x18e)]&&(this[_0x39f459(0x191)](),_0x32bcc3());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1391(){const _0x342746=['width','data-ck-root-name','22pWXPcv','42ZOEKKN','114594xKproE','createElement','classes','innerHTML','359974RHwwxn','23560920UiJFQE','element','ck-track-changes-preview','ck-reset','options','938YfNXMT','style','height','focus','setTemplate','push','previewDataReady','render','3207HRazvN','div','setAttribute','9yoAqjW','4682896qmDxIX','\x20ck-track-changes-preview__root-container','152pnJqbv','790sVeSVZ','content','dialogRects','fire','487210ssTGLM','setPreviewData','className'];_0x1391=function(){return _0x342746;};return _0x1391();}const _0x3602b7=_0x5704;function _0x5704(_0x349071,_0x300145){const _0x139128=_0x1391();return _0x5704=function(_0x5704ff,_0x506a56){_0x5704ff=_0x5704ff-0xec;let _0x12114e=_0x139128[_0x5704ff];return _0x12114e;},_0x5704(_0x349071,_0x300145);}(function(_0x48cd6f,_0x41ddbd){const _0x5a67f3=_0x5704,_0x6abef4=_0x48cd6f();while(!![]){try{const _0x1f5c83=-parseInt(_0x5a67f3(0x10f))/0x1+-parseInt(_0x5a67f3(0xf1))/0x2*(parseInt(_0x5a67f3(0xf9))/0x3)+-parseInt(_0x5a67f3(0xff))/0x4*(parseInt(_0x5a67f3(0x100))/0x5)+parseInt(_0x5a67f3(0x10b))/0x6*(-parseInt(_0x5a67f3(0x10a))/0x7)+parseInt(_0x5a67f3(0xfd))/0x8*(-parseInt(_0x5a67f3(0xfc))/0x9)+parseInt(_0x5a67f3(0x104))/0xa*(-parseInt(_0x5a67f3(0x109))/0xb)+parseInt(_0x5a67f3(0xec))/0xc;if(_0x1f5c83===_0x41ddbd)break;else _0x6abef4['push'](_0x6abef4['shift']());}catch(_0x1c5fa7){_0x6abef4['push'](_0x6abef4['shift']());}}}(_0x1391,0x48eb1));import{View as _0x19a455}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x19a455{[_0x3602b7(0xf0)];constructor(_0x4608de,_0x777d2d){const _0x1bdc11=_0x3602b7;super(_0x4608de),this[_0x1bdc11(0xf0)]=_0x777d2d,this[_0x1bdc11(0xf5)]({'tag':_0x1bdc11(0xfa),'attributes':{'class':['ck',_0x1bdc11(0xef),_0x1bdc11(0xee)],'tabindex':-0x1}});}[_0x3602b7(0xf8)](){const _0x2914b0=_0x3602b7;super[_0x2914b0(0xf8)](),this[_0x2914b0(0xed)][_0x2914b0(0xf2)][_0x2914b0(0x107)]=this[_0x2914b0(0xf0)][_0x2914b0(0x102)][_0x2914b0(0x107)]+'px',this[_0x2914b0(0xed)][_0x2914b0(0xf2)][_0x2914b0(0xf3)]=this[_0x2914b0(0xf0)][_0x2914b0(0x102)][_0x2914b0(0xf3)]+'px';}[_0x3602b7(0x105)](_0x4bee28,_0x47874e){const _0x2c8260=_0x3602b7;if(!this[_0x2c8260(0xed)])return;const _0x117ffe=[];for(const [_0x3efaab,_0x849349]of _0x4bee28){const _0x8a76a8=document[_0x2c8260(0x10c)](_0x2c8260(0xfa));_0x8a76a8[_0x2c8260(0xfb)](_0x2c8260(0x108),_0x3efaab),_0x8a76a8[_0x2c8260(0x106)]=_0x849349[_0x2c8260(0x10d)]+_0x2c8260(0xfe),_0x8a76a8[_0x2c8260(0x10e)]=_0x849349[_0x2c8260(0x101)],_0x117ffe[_0x2c8260(0xf6)](_0x8a76a8);}_0x47874e(this[_0x2c8260(0xed)],_0x117ffe),this[_0x2c8260(0xed)][_0x2c8260(0xf2)][_0x2c8260(0xf3)]='',this[_0x2c8260(0x103)](_0x2c8260(0xf7));}[_0x3602b7(0xf4)](){const _0x560df6=_0x3602b7;this[_0x560df6(0xed)][_0x560df6(0xf4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3cdc9b,_0x177cd9,_0x3a99cb){const _0x417de7=_0x3cdc9b['t'],t=_0x3cdc9b['t'];switch(_0x177cd9){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',_0x3a99cb);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3a99cb);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3a99cb);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3a99cb);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3a99cb);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',_0x3a99cb);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3a99cb);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',_0x3a99cb);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3a99cb);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3a99cb);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3a99cb);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3a99cb);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3a99cb);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3a99cb);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3a99cb);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3a99cb);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3a99cb);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3a99cb);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3a99cb);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3a99cb);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3a99cb);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3a99cb);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3a99cb);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3a99cb);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3a99cb);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3a99cb);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3a99cb);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3a99cb);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3a99cb);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3a99cb);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3a99cb);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3a99cb);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3a99cb);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3a99cb);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'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3a99cb);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3a99cb);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3a99cb);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3a99cb);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3a99cb);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'},_0x3a99cb);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3a99cb);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 _0x417de7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3a99cb);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x417de7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3a99cb);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3a99cb);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'},_0x3a99cb);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'},_0x3a99cb);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'},_0x3a99cb);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x177cd9;}}
|
|
23
|
+
export function getTranslation(_0x7f9771,_0xa12a8d,_0x1c3205){const _0x33c7=_0x7f9771['t'],t=_0x7f9771['t'];switch(_0xa12a8d){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',_0x1c3205);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1c3205);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1c3205);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1c3205);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1c3205);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',_0x1c3205);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1c3205);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',_0x1c3205);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1c3205);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1c3205);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1c3205);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1c3205);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1c3205);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1c3205);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1c3205);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1c3205);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1c3205);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1c3205);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1c3205);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1c3205);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1c3205);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1c3205);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1c3205);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1c3205);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1c3205);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'},_0x1c3205);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1c3205);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1c3205);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1c3205);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1c3205);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1c3205);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1c3205);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1c3205);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'},_0x1c3205);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1c3205);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1c3205);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1c3205);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1c3205);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'},_0x1c3205);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1c3205);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'},_0x1c3205);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'},_0x1c3205);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1c3205);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'},_0x1c3205);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1c3205);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'},_0x1c3205);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1c3205);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x1c3205);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x1c3205);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x1c3205);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1c3205);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'},_0x1c3205);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1c3205);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 _0x33c7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1c3205);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x33c7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1c3205);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1c3205);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'},_0x1c3205);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'},_0x1c3205);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'},_0x1c3205);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xa12a8d;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4d1b49,_0x410c81){const _0x514b9d=_0x4730,_0x38063b=_0x4d1b49();while(!![]){try{const _0x5f390a=parseInt(_0x514b9d(0xf5))/0x1+parseInt(_0x514b9d(0xdf))/0x2*(-parseInt(_0x514b9d(0xe2))/0x3)+parseInt(_0x514b9d(0xc2))/0x4*(-parseInt(_0x514b9d(0xc9))/0x5)+-parseInt(_0x514b9d(0xf1))/0x6+parseInt(_0x514b9d(0xf3))/0x7+-parseInt(_0x514b9d(0xd5))/0x8+parseInt(_0x514b9d(0xec))/0x9;if(_0x5f390a===_0x410c81)break;else _0x38063b['push'](_0x38063b['shift']());}catch(_0x49466a){_0x38063b['push'](_0x38063b['shift']());}}}(_0x1dea,0x35f50));export function normalizeDescription(_0x33f294){const _0x1dfe8a=_0x4730;return Array[_0x1dfe8a(0xca)](_0x33f294)||(_0x33f294=[_0x33f294]),_0x33f294[_0x1dfe8a(0xf4)](_0x3d5c94=>{const _0xb00184=_0x1dfe8a,_0x35e47e=_0x3d5c94[_0xb00184(0xef)][_0xb00184(0xeb)](/\*/g,''),_0x4df271=_0x3d5c94[_0xb00184(0xea)]?_0xb00184(0xd6)+_0x3d5c94[_0xb00184(0xea)][_0xb00184(0xe4)]+']':'';return'['+_0x3d5c94[_0xb00184(0xde)]+']\x20'+_0x35e47e+_0x4df271;})[_0x1dfe8a(0xe1)](';\x20');}export function renderDescription(_0x198262,_0x20a647){const _0xc27aa4=_0x4730;let _0x444e6e='';return _0x444e6e+=_0x198262[_0xc27aa4(0xdc)]('*')[_0xc27aa4(0xf4)]((_0x567bb5,_0x51f67e)=>_0x51f67e%0x2!=0x0?_0xc27aa4(0xc7)+rn(_0x567bb5)+_0xc27aa4(0xd7):rn(_0x567bb5))[_0xc27aa4(0xe1)](''),_0x20a647&&(_0x444e6e+=_0xc27aa4(0xda)+_0x20a647[_0xc27aa4(0xe4)]+_0xc27aa4(0xd9)+_0x20a647[_0xc27aa4(0xcf)]+_0xc27aa4(0xc5)),_0x444e6e;}function rn(_0x485725){const _0x3d3ba2=_0x4730,_0x4cc9d6=document[_0x3d3ba2(0xcb)](_0x3d3ba2(0xd3));return _0x4cc9d6[_0x3d3ba2(0xe7)]=_0x485725,_0x4cc9d6[_0x3d3ba2(0xdd)];}export function sortSuggestions(_0x225040){const _0xce697=_0x4730;return _0x225040[_0xce697(0xe0)]((_0x366d69,_0x57049f)=>_0xce697(0xd2)===_0x366d69[_0xce697(0xde)]&&_0xce697(0xd2)!==_0x57049f[_0xce697(0xde)]?-0x1:_0xce697(0xd2)!==_0x366d69[_0xce697(0xde)]&&_0xce697(0xd2)===_0x57049f[_0xce697(0xde)]?0x1:_0xce697(0xc0)==_0x366d69[_0xce697(0xde)]&&_0xce697(0xc0)!=_0x57049f[_0xce697(0xde)]?-0x1:_0xce697(0xc0)!=_0x366d69[_0xce697(0xde)]&&_0xce697(0xc0)==_0x57049f[_0xce697(0xde)]?0x1:0x0);}export function getSelectedSuggestions(_0x42597e,_0x472793){const _0x380196=_0x4730,_0x8ea220=Array[_0x380196(0xc3)](_0x42597e[_0x380196(0xe9)]()),_0x5ef567=new Set();for(const _0x4a8168 of _0x472793)if(_0x4a8168[_0x380196(0xcc)]){for(const _0x239aca of _0x8ea220)for(const _0x167471 of _0x4a8168[_0x380196(0xe9)]())(_0x239aca[_0x380196(0xd8)](_0x167471)||_0x42597e[_0x380196(0xed)]&&!_0x4a8168[_0x380196(0xc8)]&&_0x4a8168[_0x380196(0xc1)]&&_0x167471[_0x380196(0xd1)][_0x380196(0xee)](_0x239aca[_0x380196(0xd0)]))&&_0x5ef567[_0x380196(0xc6)](_0x4a8168);}return _0x5ef567;}export function getRangesOfBlockGroups(_0x1fa13e,_0x5689f9){const _0x3929c7=_0x4730;let _0xaf5b8d,_0x39b88e=0x0;const _0x23497c=[],_0x257b4f=_0x5689f9[_0x3929c7(0xf0)];for(;_0x39b88e<_0x1fa13e[_0x3929c7(0xe6)];){const _0x2aa5a1=_0x1fa13e[_0x39b88e],_0x1fe1be=_0x1fa13e[_0x39b88e+0x1];_0xaf5b8d||(_0xaf5b8d=_0x5689f9[_0x3929c7(0xcd)](_0x2aa5a1)),cn(_0x5689f9,_0x2aa5a1,_0x1fe1be)||(_0x23497c[_0x3929c7(0xc4)](_0x5689f9[_0x3929c7(0xd4)](_0xaf5b8d,_0x257b4f[_0x3929c7(0xe3)](_0x2aa5a1)?_0x5689f9[_0x3929c7(0xdb)](_0x2aa5a1):_0x5689f9[_0x3929c7(0xe5)](_0x2aa5a1,_0x3929c7(0xd1)))),_0xaf5b8d=null),_0x39b88e++;}return _0x23497c;}function _0x4730(_0x4eee82,_0x2f74f1){const _0x1deac7=_0x1dea();return _0x4730=function(_0x4730a6,_0x280154){_0x4730a6=_0x4730a6-0xc0;let _0x26bb08=_0x1deac7[_0x4730a6];return _0x26bb08;},_0x4730(_0x4eee82,_0x2f74f1);}function _0x1dea(){const _0x4bbc92=['length','innerText','splice','getRanges','color','replace','7495137znzUkR','isCollapsed','isTouching','content','schema','1266810ClLUpM','change','786520yQQNoW','map','243162WzfaVD','deletion','next','4rdrmLX','from','push','\x22></span>','add','<span\x20class=\x22ck-suggestion-type\x22>','isMultiRange','945515lOCrvS','isArray','createElement','isInContent','createPositionBefore','execute','title','start','end','attribute','span','createRange','2065392bUSvMi','\x20[color\x20','</span>','isIntersecting','\x22\x20title=\x22','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionAfter','split','innerHTML','type','617790mwoXqg','sort','join','3PrptbU','isObject','value','createPositionAt'];_0x1dea=function(){return _0x4bbc92;};return _0x1dea();}function cn(_0x7654e7,_0x3dc568,_0x144ab4){const _0x1c0895=_0x4730;if(!_0x144ab4)return!0x1;const _0x126446=_0x7654e7[_0x1c0895(0xdb)](_0x3dc568),_0x2f61ed=_0x7654e7[_0x1c0895(0xcd)](_0x144ab4);return _0x126446[_0x1c0895(0xee)](_0x2f61ed);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x243a91,_0x1c20d2,_0x39e66d){const _0x12b4cf=_0x4730;for(;_0x39e66d[_0x12b4cf(0xe6)];){const _0x63e8e1=_0x39e66d[_0x12b4cf(0xe8)](0x0,0x64);_0x243a91[_0x12b4cf(0xf2)](()=>{const _0x9650c=_0x12b4cf;for(const _0x1ca16f of _0x63e8e1)_0x1ca16f[_0x9650c(0xcc)]&&_0x1c20d2[_0x9650c(0xce)](_0x1ca16f['id']);});}}
|