@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250910.0 → 0.0.0-nightly-20250911.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6bbc66=_0x1413;(function(_0x2f9389,_0x547df9){const _0x5d21d0=_0x1413,_0x358703=_0x2f9389();while(!![]){try{const _0x4903cb=parseInt(_0x5d21d0(0x14a))/0x1*(-parseInt(_0x5d21d0(0x14c))/0x2)+-parseInt(_0x5d21d0(0x147))/0x3*(parseInt(_0x5d21d0(0x153))/0x4)+parseInt(_0x5d21d0(0x149))/0x5+-parseInt(_0x5d21d0(0x146))/0x6+-parseInt(_0x5d21d0(0x156))/0x7+parseInt(_0x5d21d0(0x159))/0x8+parseInt(_0x5d21d0(0x14b))/0x9;if(_0x4903cb===_0x547df9)break;else _0x358703['push'](_0x358703['shift']());}catch(_0x296303){_0x358703['push'](_0x358703['shift']());}}}(_0xa69c,0x91a0f));import{Plugin as _0x38ef11}from'ckeditor5/src/core.js';import{Dialog as _0x5722fa}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x699edc}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0xcdccf4}from'./commands/previewfinalcontentcommand.js';function _0xa69c(){const _0x283f7a=['isPremiumPlugin','4440492DPvIEm','15PWPrda','isOfficialPlugin','840015GbcOpW','922681sxBSed','32768190bqASJl','2JxreoO','previewFinalContent','appendChild','config','commands','pluginName','trackChanges.preview.renderFunction','602228bJyxqM','add','TrackChangesPreview','8347241BfRKnx','editor','requires','3164744hSZjvI','define'];_0xa69c=function(){return _0x283f7a;};return _0xa69c();}function _0x1413(_0x47a1dd,_0xa66b40){const _0xa69cd4=_0xa69c();return _0x1413=function(_0x1413d9,_0x23f6f9){_0x1413d9=_0x1413d9-0x144;let _0x26e936=_0xa69cd4[_0x1413d9];return _0x26e936;},_0x1413(_0x47a1dd,_0xa66b40);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x38ef11{static get[_0x6bbc66(0x158)](){return[_0x699edc,_0x5722fa];}static get[_0x6bbc66(0x151)](){const _0x1dfdeb=_0x6bbc66;return _0x1dfdeb(0x155);}static get[_0x6bbc66(0x148)](){return!0x0;}static get[_0x6bbc66(0x145)](){return!0x0;}constructor(_0x127be1){const _0x949d26=_0x6bbc66;super(_0x127be1),_0x127be1[_0x949d26(0x150)][_0x949d26(0x154)](_0x949d26(0x14d),new _0xcdccf4(this[_0x949d26(0x157)])),_0x127be1[_0x949d26(0x14f)][_0x949d26(0x144)](_0x949d26(0x152),(_0x4fc81d,_0x2b5831)=>{const _0x3003e1=_0x949d26;for(const _0x11f929 of _0x2b5831)_0x4fc81d[_0x3003e1(0x14e)](_0x11f929);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4b89(_0x50cc9d,_0x488c10){const _0x329ef7=_0x329e();return _0x4b89=function(_0x4b89c7,_0x4471b5){_0x4b89c7=_0x4b89c7-0x175;let _0x501677=_0x329ef7[_0x4b89c7];return _0x501677;},_0x4b89(_0x50cc9d,_0x488c10);}const _0x31eea0=_0x4b89;(function(_0x110896,_0x3a53b2){const _0x144f1f=_0x4b89,_0x5b1e84=_0x110896();while(!![]){try{const _0x446050=-parseInt(_0x144f1f(0x211))/0x1+parseInt(_0x144f1f(0x198))/0x2*(parseInt(_0x144f1f(0x21c))/0x3)+parseInt(_0x144f1f(0x188))/0x4*(parseInt(_0x144f1f(0x21a))/0x5)+parseInt(_0x144f1f(0x1fc))/0x6+parseInt(_0x144f1f(0x1d4))/0x7+-parseInt(_0x144f1f(0x1db))/0x8+-parseInt(_0x144f1f(0x1e0))/0x9;if(_0x446050===_0x3a53b2)break;else _0x5b1e84['push'](_0x5b1e84['shift']());}catch(_0x1f5dea){_0x5b1e84['push'](_0x5b1e84['shift']());}}}(_0x329e,0x9dca3));import{Plugin as _0x4fe836}from'ckeditor5/src/core.js';import{Collection as _0x4a1a7f}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x40b7d8}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x331e2b,createDropdown as _0x1d97bc,ListSeparatorView as _0x165e4b,MenuBarMenuView as _0x92590,MenuBarMenuListView as _0x18e7ec,MenuBarMenuListItemView as _0x4aad30,MenuBarMenuListItemButtonView as _0x208578,SplitButtonView as _0x14a781,UIModel as _0xedd0f0}from'ckeditor5/src/ui.js';import{Users as _0x166b33,getDateTimeFormatter as _0x13d04a,getAllMarkersDomElementsSorted as _0xa39891}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x126f37}from'./trackchangesediting.js';import{SuggestionController as _0x3c4ede}from'./ui/suggestioncontroller.js';function _0x329e(){const _0x466822=['commandName','unbind','add','invalid','bind','destroy','define','_unbindEditors','createAnnotationView','arrowView','activeMarkers','suggestionChanged','separator','1022OIXHVG','TrackChanges','menuBar:trackChanges','execute','menuitemcheckbox','refreshSelectedViews','reduce','trackChanges.disableComments','_viewToController','registerAnnotation','discardSelectedSuggestions','children','editor','activeAnnotations','Track\x20changes','previewFinalContent','CommentView','focus','escape','EditorAnnotations','addSourceCollector','isOn','componentFactory','previous','licenseKey','addMany','_updateController','delete','items','expired','comments.maxCommentsWhenCollapsed','clear','trackChangesLicenseKeyDomainLimit','trackChangesLicenseKeyInvalid','featureNotAllowed','mainView','filter','comments.editorConfig','commentsListView','isMultiRange','getSuggestion','SuggestionThreadView','change:previous','acceptSelectedSuggestions','trackChanges.SuggestionView','remove','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','get','comments','value','toMany','plugins','source','createCommentThreadController','_createMenuBarMenu','comments.maxThreadTotalWeight','getRanges','isOfficialPlugin','isInContent','4002159uBvZAG','actionView','descriptionParts','getFirstRange','editing','trackChangesLicenseKeyNotAllowed','set','4110104OYulNA','commentThread','evaluationLimit','_addUIComponentsToFactory','trackChangesLicenseKeyValid','10886760ZNRFSp','getMarkerNames','getByInnerView','menuitem','listenTo','change:activeAnnotations','locale','keys','length','suggestionUnloaded','_handleControllerBuffer','fire','TrackChangesEditing','acceptButton','suggestionView','from','CommentsRepository','domainLimit','config','getAllAdjacentSuggestions','getSuggestionForAnnotation','isDirty','switchbutton','commands','suggestionLoaded','TrackChangesPreview','innerView','trackChanges','6310344McAfUj','createAnnotation','isPremiumPlugin','_showLicenseError','stopListening','panelView','_handleSuggestionControllerDelayed','values','_annotationViews','usageLimit','push','addComment','getDescriptions','Discard\x20all\x20selected\x20suggestions','delegate','trackChanges.SuggestionThreadView','trackChangesLicenseKeyTrialLimit','pluginName','buttonView','has','some','1091997iocHcm','lowest','CommentsUI','_licenseKeyCheckInterval','isEnabled','Accept\x20all\x20suggestions','_initializeController','Annotations','model','435iBUTxH','type','6756VRJCFQ','discardButton','TrackChangesUI','hasSuggestion','SuggestionView','_bindAnnotationToEditors','_destroyController','descriptionFactory','trackChangesLicenseKeyEvaluationLimit','button','Discard\x20all\x20suggestions','requires','Preview\x20final\x20content','acceptAllSuggestions','init','discardAllSuggestions','trialLimit','_suggestionToController','view','trackChangesLicenseKeyExpired','_disableComments','getAnnotationForSuggestion','Accept\x20all\x20selected\x20suggestions','size','head','_createToolbarButton','suggestion-','getMarkers','trackChangesLicenseKeyUsageLimit','31608LcplIF','menu','getJoined'];_0x329e=function(){return _0x466822;};return _0x329e();}import{SuggestionThreadView as _0x2f1a2a}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x4694c0}from'./ui/view/suggestionview.js';import{getTranslation as _0x186874}from'./utils/common-translations.js';export class TrackChangesUI extends _0x4fe836{[_0x31eea0(0x1b0)];[_0x31eea0(0x214)];[_0x31eea0(0x17c)];[_0x31eea0(0x1a0)];[_0x31eea0(0x204)];[_0x31eea0(0x1ea)];[_0x31eea0(0x17f)];static get[_0x31eea0(0x176)](){const _0x565971=_0x31eea0;return[_0x126f37,_0x166b33,_0x565971(0x1f0),_0x565971(0x218),_0x565971(0x1ab)];}static get[_0x31eea0(0x20d)](){const _0x19e50a=_0x31eea0;return _0x19e50a(0x21e);}static get[_0x31eea0(0x1d2)](){return!0x0;}static get[_0x31eea0(0x1fe)](){return!0x0;}constructor(_0x46fa7a){const _0x5eb0f9=_0x31eea0;super(_0x46fa7a),this[_0x5eb0f9(0x17c)]=new Map(),this[_0x5eb0f9(0x1a0)]=new Map(),this[_0x5eb0f9(0x204)]=new Map(),this[_0x5eb0f9(0x1ea)]=new Map();const _0x527d8f=this[_0x5eb0f9(0x1a4)][_0x5eb0f9(0x1f2)];_0x527d8f[_0x5eb0f9(0x191)](_0x5eb0f9(0x20b),_0x2f1a2a),_0x527d8f[_0x5eb0f9(0x191)](_0x5eb0f9(0x1c4),_0x4694c0),_0x527d8f[_0x5eb0f9(0x191)](_0x5eb0f9(0x19f),!0x1),this[_0x5eb0f9(0x17f)]=_0x527d8f[_0x5eb0f9(0x1c8)](_0x5eb0f9(0x19f));}[_0x31eea0(0x202)](_0x3d20fe,_0x52b807){const _0x32c2d8=_0x31eea0;0x0===this[_0x32c2d8(0x1ea)][_0x32c2d8(0x182)]&&setTimeout(()=>{const _0x380cd4=_0x32c2d8;for(const [_0x235891,_0x2925b5]of this[_0x380cd4(0x1ea)]){const _0x5dd17f=this[_0x380cd4(0x17c)][_0x380cd4(0x20f)](_0x235891);_0x5dd17f||_0x2925b5?_0x5dd17f&&_0x2925b5&&this[_0x380cd4(0x222)](_0x235891):this[_0x380cd4(0x217)](_0x235891);}this[_0x380cd4(0x1ea)][_0x380cd4(0x1b7)](),this[_0x380cd4(0x1a4)][_0x380cd4(0x1cc)][_0x380cd4(0x1c8)](_0x380cd4(0x1ab))[_0x380cd4(0x19d)](),this[_0x380cd4(0x1c6)]();},0xa),this[_0x32c2d8(0x1ea)][_0x32c2d8(0x1da)](_0x3d20fe,_0x52b807);}[_0x31eea0(0x179)](){const _0x3bdf5d=_0x31eea0,_0x20aebf=this[_0x3bdf5d(0x1a4)],_0x27ab2d=_0x20aebf[_0x3bdf5d(0x1cc)][_0x3bdf5d(0x1c8)](_0x3bdf5d(0x1ec)),_0x4ffd32=_0x20aebf[_0x3bdf5d(0x1cc)][_0x3bdf5d(0x1c8)](_0x3bdf5d(0x218)),_0x2dd74b=_0x20aebf[_0x3bdf5d(0x1cc)][_0x3bdf5d(0x1c8)](_0x3bdf5d(0x1ab)),_0x5ef715=_0x20aebf[_0x3bdf5d(0x1cc)][_0x3bdf5d(0x1c8)](_0x3bdf5d(0x1f0));this[_0x3bdf5d(0x1de)](),_0x2dd74b[_0x3bdf5d(0x1ac)](()=>{const _0x329697=_0x3bdf5d,_0x2a5563=[];for(const [_0x17bde0,_0x2b5f0c]of Array[_0x329697(0x1ef)](this[_0x329697(0x17c)])){const _0x504174=_0x17bde0[_0x329697(0x1f3)](),_0x1299c7=[];for(const _0x13340a of _0x504174){if(!_0x13340a[_0x329697(0x1d3)])continue;if(_0x13340a[_0x329697(0x1bf)]){_0x1299c7[_0x329697(0x206)](..._0x13340a[_0x329697(0x1d1)]());continue;}const _0x23a728=_0x13340a[_0x329697(0x1d7)]();if(_0x1299c7[_0x329697(0x1e8)]>0x0){const _0x413bab=_0x1299c7[0x0][_0x329697(0x18a)](_0x23a728);if(_0x413bab){_0x1299c7[0x0]=_0x413bab;continue;}}_0x1299c7[_0x329697(0x206)](_0x23a728);}_0x2a5563[_0x329697(0x206)]([_0x2b5f0c[_0x329697(0x17d)],_0x1299c7]);}return _0x2a5563;}),this[_0x3bdf5d(0x1e4)](_0x27ab2d,_0x3bdf5d(0x1f8),(_0x4f1134,_0x77a958)=>{const _0x5e9175=_0x3bdf5d;this[_0x5e9175(0x1e4)](_0x77a958,_0x5e9175(0x1c2),(_0x16f32b,_0x1da671,_0x39d146,_0x2850e1)=>{const _0x299865=_0x5e9175;_0x77a958[_0x299865(0x1d3)]&&(null==_0x39d146?(this[_0x299865(0x1b2)](_0x2850e1[_0x299865(0x183)]),this[_0x299865(0x202)](_0x77a958,!0x1)):(this[_0x299865(0x1b2)](_0x39d146[_0x299865(0x183)]),null==_0x2850e1&&this[_0x299865(0x202)](_0x77a958,!0x0)));}),null!==_0x77a958[_0x5e9175(0x1af)]?this[_0x5e9175(0x1b2)](_0x77a958[_0x5e9175(0x183)]):this[_0x5e9175(0x202)](_0x77a958,!0x1);}),this[_0x3bdf5d(0x1e4)](_0x27ab2d,_0x3bdf5d(0x1e9),(_0x5473db,_0x4b7991,_0x30b3a6)=>{const _0x23458b=_0x3bdf5d;this[_0x23458b(0x200)](_0x4b7991,_0x23458b(0x1c2)),this[_0x23458b(0x1ea)][_0x23458b(0x1b3)](_0x4b7991),this[_0x23458b(0x17c)][_0x23458b(0x20f)](_0x4b7991)&&this[_0x23458b(0x222)](_0x4b7991),_0x30b3a6&&this[_0x23458b(0x1b2)](_0x30b3a6[_0x23458b(0x183)]);}),this[_0x3bdf5d(0x1e4)](_0x27ab2d,_0x3bdf5d(0x196),(_0x17d10d,_0x4fdc6b)=>{const _0x3ba018=_0x3bdf5d;this[_0x3ba018(0x1b2)](_0x4fdc6b);}),this[_0x3bdf5d(0x1e4)](_0x4ffd32,_0x3bdf5d(0x1e5),()=>{const _0x1a48f9=_0x3bdf5d;this[_0x1a48f9(0x1c6)]();}),this[_0x3bdf5d(0x1e4)](_0x5ef715,_0x3bdf5d(0x207),(_0x3b1c11,{threadId:_0x39a7ce,isFromAdapter:_0x578c07})=>{const _0x4e15d6=_0x3bdf5d;if(_0x578c07||!_0x27ab2d[_0x4e15d6(0x21f)](_0x39a7ce))return;const _0x1157b2=_0x27ab2d[_0x4e15d6(0x1c0)](_0x39a7ce);this[_0x4e15d6(0x17c)][_0x4e15d6(0x1c8)](_0x1157b2)[_0x4e15d6(0x17d)][_0x4e15d6(0x1be)][_0x4e15d6(0x1a9)](-0x1);},{'priority':_0x3bdf5d(0x212)}),this[_0x3bdf5d(0x1b0)]=this[_0x3bdf5d(0x1a4)][_0x3bdf5d(0x1f2)][_0x3bdf5d(0x1c8)](_0x3bdf5d(0x1b0));const _0x3fa49b=this[_0x3bdf5d(0x1a4)];this[_0x3bdf5d(0x214)]=setInterval(()=>{const _0x171f7b=_0x3bdf5d;let _0x54e16e;for(const _0x15288c in _0x3fa49b){const _0x367256=_0x15288c,_0x1cb704=_0x3fa49b[_0x367256];if(_0x171f7b(0x1df)==_0x1cb704||_0x171f7b(0x1b9)==_0x1cb704||_0x171f7b(0x17e)==_0x1cb704||_0x171f7b(0x1b8)==_0x1cb704||_0x171f7b(0x1d9)==_0x1cb704||_0x171f7b(0x224)==_0x1cb704||_0x171f7b(0x20c)==_0x1cb704||_0x171f7b(0x187)==_0x1cb704){delete _0x3fa49b[_0x367256],_0x54e16e=_0x1cb704,clearInterval(this[_0x171f7b(0x214)]),this[_0x171f7b(0x214)]=void 0x0;break;}}_0x171f7b(0x1b9)==_0x54e16e&&_0x3fa49b[_0x171f7b(0x1ff)](_0x171f7b(0x18e)),_0x171f7b(0x17e)==_0x54e16e&&_0x3fa49b[_0x171f7b(0x1ff)](_0x171f7b(0x1b5)),_0x171f7b(0x1b8)==_0x54e16e&&_0x3fa49b[_0x171f7b(0x1ff)](_0x171f7b(0x1f1)),_0x171f7b(0x1d9)==_0x54e16e&&_0x3fa49b[_0x171f7b(0x1ff)](_0x171f7b(0x1ba),_0x171f7b(0x199)),_0x171f7b(0x224)==_0x54e16e&&_0x3fa49b[_0x171f7b(0x1ff)](_0x171f7b(0x1dd)),_0x171f7b(0x20c)==_0x54e16e&&_0x3fa49b[_0x171f7b(0x1ff)](_0x171f7b(0x17b)),_0x171f7b(0x187)==_0x54e16e&&_0x3fa49b[_0x171f7b(0x1ff)](_0x171f7b(0x205));},0x3e8);}[_0x31eea0(0x180)](_0x21f9f5){const _0x37dd65=_0x31eea0,_0x1c3f76=this[_0x37dd65(0x17c)][_0x37dd65(0x1c8)](_0x21f9f5);if(!_0x1c3f76)return null;return this[_0x37dd65(0x1a4)][_0x37dd65(0x1cc)][_0x37dd65(0x1c8)](_0x37dd65(0x218))[_0x37dd65(0x1e2)](_0x1c3f76[_0x37dd65(0x17d)])||null;}[_0x31eea0(0x1f4)](_0xfbf3fd){const _0x43f9b3=_0x31eea0,_0x322435=this[_0x43f9b3(0x1a0)][_0x43f9b3(0x1c8)](_0xfbf3fd[_0x43f9b3(0x1fa)]);return _0x322435?_0x322435[_0x43f9b3(0x219)]:null;}[_0x31eea0(0x1c6)](){const _0x5ec1cb=_0x31eea0,_0x835286=this[_0x5ec1cb(0x1a4)][_0x5ec1cb(0x1cc)][_0x5ec1cb(0x1c8)](_0x5ec1cb(0x218)),_0x3e8f25=this[_0x5ec1cb(0x1a4)][_0x5ec1cb(0x1cc)][_0x5ec1cb(0x1c8)](_0x5ec1cb(0x1ec)),_0x12f2e8=Array[_0x5ec1cb(0x1ef)](_0x835286[_0x5ec1cb(0x1a5)],_0x7e9a59=>_0x7e9a59[_0x5ec1cb(0x1fa)])[_0x5ec1cb(0x1bc)](_0x514a03=>this[_0x5ec1cb(0x1a0)][_0x5ec1cb(0x20f)](_0x514a03)),_0x538168=[];for(const _0x194739 of _0x12f2e8){const _0x405535=this[_0x5ec1cb(0x1a0)][_0x5ec1cb(0x1c8)](_0x194739)[_0x5ec1cb(0x219)][_0x5ec1cb(0x1f3)]();_0x538168[_0x5ec1cb(0x206)](..._0x405535[_0x5ec1cb(0x19e)]((_0x420540,_0x221f96)=>[..._0x420540,..._0x221f96[_0x5ec1cb(0x1e1)]()],[]));}_0x3e8f25[_0x5ec1cb(0x195)]=_0x538168;}[_0x31eea0(0x1de)](){const _0x14cd2c=_0x31eea0,_0x2d3bdf=this[_0x14cd2c(0x1a4)],_0x5d9fe8=_0x2d3bdf[_0x14cd2c(0x1e6)],_0x325152=_0x186874(_0x5d9fe8,_0x14cd2c(0x1a6)),_0x38a47b=new _0x4a1a7f([{'type':_0x14cd2c(0x1f6),'model':new _0xedd0f0({'withText':!0x0,'isToggleable':!0x0,'label':_0x325152,'commandName':_0x14cd2c(0x1fb),'role':_0x14cd2c(0x19c)})},{'type':_0x14cd2c(0x197)},{'type':_0x14cd2c(0x225),'model':new _0xedd0f0({'withText':!0x0,'label':_0x186874(_0x5d9fe8,_0x14cd2c(0x216)),'commandName':_0x14cd2c(0x178),'role':_0x14cd2c(0x1e3)})},{'type':_0x14cd2c(0x225),'model':new _0xedd0f0({'withText':!0x0,'label':_0x186874(_0x5d9fe8,_0x14cd2c(0x181)),'commandName':_0x14cd2c(0x1c3),'role':_0x14cd2c(0x1e3)})},{'type':_0x14cd2c(0x225),'model':new _0xedd0f0({'withText':!0x0,'label':_0x186874(_0x5d9fe8,_0x14cd2c(0x175)),'commandName':_0x14cd2c(0x17a),'role':_0x14cd2c(0x1e3)})},{'type':_0x14cd2c(0x225),'model':new _0xedd0f0({'withText':!0x0,'label':_0x186874(_0x5d9fe8,_0x14cd2c(0x209)),'commandName':_0x14cd2c(0x1a2),'role':_0x14cd2c(0x1e3)})}]);_0x2d3bdf[_0x14cd2c(0x1cc)][_0x14cd2c(0x20f)](_0x14cd2c(0x1f9))&&_0x38a47b[_0x14cd2c(0x1b1)]([{'type':_0x14cd2c(0x197)},{'type':_0x14cd2c(0x225),'model':new _0xedd0f0({'withText':!0x0,'label':_0x186874(_0x5d9fe8,_0x14cd2c(0x177)),'commandName':_0x14cd2c(0x1a7),'role':_0x14cd2c(0x1e3)})}]);for(const _0x8b504a of _0x38a47b)if(ke(_0x8b504a)){const _0x13b845=_0x2d3bdf[_0x14cd2c(0x1f7)][_0x14cd2c(0x1c8)](_0x8b504a[_0x14cd2c(0x219)][_0x14cd2c(0x18b)]);_0x8b504a[_0x14cd2c(0x219)][_0x14cd2c(0x18f)](_0x14cd2c(0x1ad),_0x14cd2c(0x215))['to'](_0x13b845,_0x14cd2c(0x1ca),_0x14cd2c(0x215));}_0x2d3bdf['ui'][_0x14cd2c(0x1ae)][_0x14cd2c(0x18d)](_0x14cd2c(0x1fb),_0x28aebe=>this[_0x14cd2c(0x184)](_0x28aebe,_0x38a47b,_0x325152)),_0x2d3bdf['ui'][_0x14cd2c(0x1ae)][_0x14cd2c(0x18d)](_0x14cd2c(0x19a),_0x5a1683=>this[_0x14cd2c(0x1cf)](_0x5a1683,_0x38a47b,_0x325152));}[_0x31eea0(0x184)](_0x3e5523,_0x5be8dc,_0x14b98d){const _0x191ba2=_0x31eea0,_0xf56161=_0x1d97bc(_0x3e5523,_0x14a781),_0x4a8456=this[_0x191ba2(0x1a4)][_0x191ba2(0x1f7)][_0x191ba2(0x1c8)](_0x191ba2(0x1fb));_0xf56161[_0x191ba2(0x20e)][_0x191ba2(0x1da)]({'tooltip':_0x14b98d,'label':_0x14b98d,'icon':_0x40b7d8}),_0xf56161[_0x191ba2(0x20e)][_0x191ba2(0x18f)](_0x191ba2(0x1ad))['to'](_0x4a8456,_0x191ba2(0x1ca)),_0xf56161[_0x191ba2(0x20e)]['on'](_0x191ba2(0x19b),()=>{const _0x283c13=_0x191ba2;_0x4a8456[_0x283c13(0x19b)](),this[_0x283c13(0x1a4)][_0x283c13(0x1d8)][_0x283c13(0x17d)][_0x283c13(0x1a9)]();}),_0x331e2b(_0xf56161,_0x5be8dc,{'role':_0x191ba2(0x189)});const _0x1167f2=[];for(const _0xc739ec of _0x5be8dc)ke(_0xc739ec)&&_0x1167f2[_0x191ba2(0x206)](this[_0x191ba2(0x1a4)][_0x191ba2(0x1f7)][_0x191ba2(0x1c8)](_0xc739ec[_0x191ba2(0x219)][_0x191ba2(0x18b)]));const _0x1414c2=_0xf56161[_0x191ba2(0x20e)];return _0x1414c2[_0x191ba2(0x1d5)][_0x191ba2(0x18c)](_0x191ba2(0x215)),_0x1414c2[_0x191ba2(0x194)][_0x191ba2(0x18c)](_0x191ba2(0x215)),_0x1414c2[_0x191ba2(0x1d5)][_0x191ba2(0x18f)](_0x191ba2(0x215))['to'](_0x4a8456,_0x191ba2(0x215)),_0x1414c2[_0x191ba2(0x194)][_0x191ba2(0x18f)](_0x191ba2(0x215))[_0x191ba2(0x1cb)](_0x1167f2,_0x191ba2(0x215),(..._0x486467)=>_0x486467[_0x191ba2(0x210)](_0xd08c34=>_0xd08c34)),_0xf56161['on'](_0x191ba2(0x19b),_0x1d5088=>{const _0x367d12=_0x191ba2;this[_0x367d12(0x1a4)][_0x367d12(0x19b)](_0x1d5088[_0x367d12(0x1cd)][_0x367d12(0x18b)]),this[_0x367d12(0x1a4)][_0x367d12(0x1d8)][_0x367d12(0x17d)][_0x367d12(0x1a9)]();}),_0xf56161;}[_0x31eea0(0x1cf)](_0x58bfff,_0x138d14,_0xfae5be){const _0x555c3b=_0x31eea0,_0xcaaebc=new _0x92590(_0x58bfff),_0x1d6eba=this[_0x555c3b(0x1a4)][_0x555c3b(0x1f7)][_0x555c3b(0x1c8)](_0x555c3b(0x1fb));_0xcaaebc[_0x555c3b(0x20e)][_0x555c3b(0x1da)]({'label':_0xfae5be,'icon':_0x40b7d8});const _0x10d2b6=new _0x18e7ec(_0x58bfff);for(const _0x44cb58 of _0x138d14){if(_0x555c3b(0x197)==_0x44cb58[_0x555c3b(0x21b)]){_0x10d2b6[_0x555c3b(0x1b4)][_0x555c3b(0x18d)](new _0x165e4b(_0x58bfff));continue;}const _0x9f5447=new _0x4aad30(_0x58bfff,_0xcaaebc),_0x553a1c=new _0x208578(_0x58bfff),_0x279597=_0x44cb58[_0x555c3b(0x219)];_0x553a1c[_0x555c3b(0x18f)](...Object[_0x555c3b(0x1e7)](_0x279597))['to'](_0x279597),_0x553a1c[_0x555c3b(0x20a)](_0x555c3b(0x19b))['to'](_0xcaaebc),_0x553a1c['on'](_0x555c3b(0x19b),()=>{const _0x449f11=_0x555c3b;this[_0x449f11(0x1a4)][_0x449f11(0x19b)](_0x279597[_0x449f11(0x18b)]),this[_0x449f11(0x1a4)][_0x449f11(0x1d8)][_0x449f11(0x17d)][_0x449f11(0x1a9)]();}),_0x9f5447[_0x555c3b(0x1a3)][_0x555c3b(0x18d)](_0x553a1c),_0x10d2b6[_0x555c3b(0x1b4)][_0x555c3b(0x18d)](_0x9f5447);}return _0xcaaebc[_0x555c3b(0x18f)](_0x555c3b(0x215))['to'](_0x1d6eba,_0x555c3b(0x215)),_0xcaaebc[_0x555c3b(0x201)][_0x555c3b(0x1a3)][_0x555c3b(0x18d)](_0x10d2b6),_0xcaaebc;}[_0x31eea0(0x217)](_0x9b3dec){const _0x431415=_0x31eea0,_0x15cf97=this[_0x431415(0x1a4)],_0x554b30=_0x15cf97[_0x431415(0x1f2)],_0x106630=_0x15cf97[_0x431415(0x1cc)][_0x431415(0x1c8)](_0x431415(0x218)),_0x9e0671=_0x15cf97[_0x431415(0x1cc)][_0x431415(0x1c8)](_0x431415(0x1f0)),_0x36c74e=_0x15cf97[_0x431415(0x1cc)][_0x431415(0x1c8)](_0x431415(0x1ab)),_0x5281bf=_0x15cf97[_0x431415(0x1cc)][_0x431415(0x1c8)](_0x166b33)['me'],_0x4d6eae=_0x554b30[_0x431415(0x1c8)](_0x431415(0x1fb))[_0x431415(0x1c1)],_0x581236=_0x554b30[_0x431415(0x1c8)](_0x431415(0x1fb))[_0x431415(0x220)],{CommentsListView:_0x2258f6,CommentThreadInputView:_0x5c88de}=_0x15cf97[_0x431415(0x1cc)][_0x431415(0x1c8)](_0x431415(0x213));let _0x524726,_0x5dcd37,_0x2aeb2d;this[_0x431415(0x204)][_0x431415(0x20f)](_0x9b3dec['id'])?(_0x5dcd37=this[_0x431415(0x204)][_0x431415(0x1c8)](_0x9b3dec['id']),_0x524726=_0x5dcd37[_0x431415(0x1bb)]):(_0x524726=new _0x4d6eae(_0x15cf97[_0x431415(0x1e6)],_0x9b3dec,_0x5281bf,{'disableComments':this[_0x431415(0x17f)],'editorConfig':{..._0x554b30[_0x431415(0x1c8)](_0x431415(0x1bd)),'licenseKey':_0x554b30[_0x431415(0x1c8)](_0x431415(0x1b0))},'maxCommentsWhenCollapsed':_0x554b30[_0x431415(0x1c8)](_0x431415(0x1b6)),'maxThreadTotalWeight':_0x554b30[_0x431415(0x1c8)](_0x431415(0x1d0)),'maxCommentCharsWhenCollapsed':_0x554b30[_0x431415(0x1c8)](_0x431415(0x1c7)),'formatDateTime':_0x13d04a(_0x554b30[_0x431415(0x1c8)](_0x431415(0x1e6)),_0x15cf97[_0x431415(0x1e6)]),'CommentView':_0x554b30[_0x431415(0x1c8)](_0x431415(0x1c9))[_0x431415(0x1a8)],'CommentsListView':_0x2258f6,'CommentThreadInputView':_0x5c88de,'SuggestionView':_0x581236}),_0x524726[_0x431415(0x1ee)][_0x431415(0x1ed)]['on'](_0x431415(0x19b),()=>{const _0x35a212=_0x431415;_0x15cf97[_0x35a212(0x1d8)][_0x35a212(0x17d)][_0x35a212(0x1a9)]();}),_0x524726[_0x431415(0x1ee)][_0x431415(0x21d)]['on'](_0x431415(0x19b),()=>{const _0x332d38=_0x431415;_0x15cf97[_0x332d38(0x1d8)][_0x332d38(0x17d)][_0x332d38(0x1a9)]();}),_0x5dcd37=_0x106630[_0x431415(0x193)](this[_0x431415(0x1a4)][_0x431415(0x1e6)],_0x524726),_0x5dcd37[_0x431415(0x18f)](_0x431415(0x1f5))['to'](_0x524726,_0x431415(0x1f5)),_0x5dcd37[_0x431415(0x18f)](_0x431415(0x1e8))['to'](_0x524726),_0x5dcd37[_0x431415(0x18f)](_0x431415(0x21b))['to'](_0x524726,_0x431415(0x21b),_0x3cc654=>_0x431415(0x185)+_0x3cc654),_0x524726['on'](_0x431415(0x1aa),()=>{const _0xeac64a=_0x431415;_0x2aeb2d[_0xeac64a(0x1eb)](_0xeac64a(0x1aa));}),this[_0x431415(0x204)][_0x431415(0x1da)](_0x9b3dec['id'],_0x5dcd37));const _0x22df49=_0x9e0671[_0x431415(0x1ce)](_0x9b3dec[_0x431415(0x1dc)],_0x524726),_0x361ede=new _0x3c4ede(_0x15cf97,_0x9b3dec,_0x524726,_0x22df49),_0x252e22=_0x9b3dec[_0x431415(0x1f3)]()[_0x431415(0x1bc)](_0x54cf4f=>_0x54cf4f[_0x431415(0x1d3)]);_0x524726[_0x431415(0x1d6)]=_0x15cf97[_0x431415(0x1cc)][_0x431415(0x1c8)](_0x431415(0x1ec))[_0x431415(0x223)][_0x431415(0x208)](_0x252e22),this[_0x431415(0x17c)][_0x431415(0x1da)](_0x9b3dec,_0x361ede),this[_0x431415(0x1a0)][_0x431415(0x1da)](_0x524726,_0x361ede);const _0x217715=()=>{const _0x17b0b9=_0x431415,_0x20f777=[],_0x145dae=_0x9b3dec[_0x17b0b9(0x1f3)]()[_0x17b0b9(0x1bc)](_0x26c92a=>_0x26c92a[_0x17b0b9(0x1d3)]);for(const _0x4bbac2 of _0x145dae)_0x20f777[_0x17b0b9(0x206)](..._0x4bbac2[_0x17b0b9(0x186)]());return _0xa39891(_0x15cf97[_0x17b0b9(0x1d8)],_0x20f777);};_0x2aeb2d=_0x106630[_0x431415(0x1fd)]({'view':_0x5dcd37,'target':_0x217715,'type':()=>_0x431415(0x185)+_0x361ede[_0x431415(0x17d)][_0x431415(0x21b)],'isVisible':!!_0x217715()}),_0x9e0671[_0x431415(0x221)](_0x524726,_0x2aeb2d),_0x106630[_0x431415(0x18d)](_0x2aeb2d),_0x36c74e[_0x431415(0x1a1)](_0x2aeb2d);}[_0x31eea0(0x222)](_0x15e7ae){const _0x40f9fe=_0x31eea0,_0x34bec1=this[_0x40f9fe(0x1a4)][_0x40f9fe(0x1cc)][_0x40f9fe(0x1c8)](_0x40f9fe(0x1f0)),_0x5be73e=this[_0x40f9fe(0x1a4)][_0x40f9fe(0x1cc)][_0x40f9fe(0x1c8)](_0x40f9fe(0x218)),_0xab0ee0=this[_0x40f9fe(0x17c)][_0x40f9fe(0x1c8)](_0x15e7ae),_0x51a967=_0xab0ee0[_0x40f9fe(0x17d)],_0xf291c4=_0x5be73e[_0x40f9fe(0x1e2)](_0x51a967);_0x34bec1[_0x40f9fe(0x192)](_0x51a967),_0xf291c4&&_0x5be73e[_0x40f9fe(0x1c5)](_0xf291c4),this[_0x40f9fe(0x17c)][_0x40f9fe(0x1b3)](_0x15e7ae),this[_0x40f9fe(0x1a0)][_0x40f9fe(0x1b3)](_0x51a967),_0xab0ee0[_0x40f9fe(0x190)]();}[_0x31eea0(0x1b2)](_0x1d7ca7){const _0x1c0018=_0x31eea0;if(!_0x1d7ca7[_0x1c0018(0x1d3)]||!this[_0x1c0018(0x17c)][_0x1c0018(0x20f)](_0x1d7ca7))return;const _0x10a558=this[_0x1c0018(0x1a4)][_0x1c0018(0x1cc)][_0x1c0018(0x1c8)](_0x1c0018(0x1ec)),_0x536de8=this[_0x1c0018(0x17c)][_0x1c0018(0x1c8)](_0x1d7ca7),_0x5e26f6=_0x1d7ca7[_0x1c0018(0x1f3)]();_0x536de8[_0x1c0018(0x17d)][_0x1c0018(0x1d6)]=_0x10a558[_0x1c0018(0x223)][_0x1c0018(0x208)](_0x5e26f6);}[_0x31eea0(0x190)](){const _0x1c3911=_0x31eea0;for(const _0xa035ae of this[_0x1c3911(0x17c)][_0x1c3911(0x1e7)]())this[_0x1c3911(0x222)](_0xa035ae);for(const _0x51adcc of this[_0x1c3911(0x204)][_0x1c3911(0x203)]())_0x51adcc[_0x1c3911(0x1bb)][_0x1c3911(0x190)]();super[_0x1c3911(0x190)](),this[_0x1c3911(0x214)]&&clearInterval(this[_0x1c3911(0x214)]);}}function ke(_0x2960d0){const _0x1cecbe=_0x31eea0;return _0x1cecbe(0x219)in _0x2960d0;}
|
|
23
|
+
const _0x53931a=_0x3285;(function(_0x449615,_0x41aa1d){const _0x596fb2=_0x3285,_0x265e6e=_0x449615();while(!![]){try{const _0xce29d=parseInt(_0x596fb2(0x13d))/0x1+-parseInt(_0x596fb2(0x1c0))/0x2*(-parseInt(_0x596fb2(0x164))/0x3)+parseInt(_0x596fb2(0x11c))/0x4*(parseInt(_0x596fb2(0x148))/0x5)+parseInt(_0x596fb2(0x13b))/0x6*(-parseInt(_0x596fb2(0x1af))/0x7)+-parseInt(_0x596fb2(0x155))/0x8+parseInt(_0x596fb2(0x15c))/0x9+-parseInt(_0x596fb2(0x120))/0xa;if(_0xce29d===_0x41aa1d)break;else _0x265e6e['push'](_0x265e6e['shift']());}catch(_0x565914){_0x265e6e['push'](_0x265e6e['shift']());}}}(_0x16ea,0xc6214));import{Plugin as _0x237311}from'ckeditor5/src/core.js';import{Collection as _0x146b65}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x511bec}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x19c70f,createDropdown as _0x24e948,ListSeparatorView as _0x256ef2,MenuBarMenuView as _0x48ddcd,MenuBarMenuListView as _0x560b3c,MenuBarMenuListItemView as _0x57525f,MenuBarMenuListItemButtonView as _0xbb2541,SplitButtonView as _0x53f3bf,UIModel as _0xdd26b6}from'ckeditor5/src/ui.js';import{Users as _0x5055a8,getDateTimeFormatter as _0x57c081,getAllMarkersDomElementsSorted as _0x21fb1d}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2e2b2e}from'./trackchangesediting.js';function _0x16ea(){const _0x4e2331=['previous','change:activeAnnotations','getFirstRange','_initializeController','model','9220RGEDgt','menu','_handleControllerBuffer','trackChangesLicenseKeyUsageLimit','19065630DPJCMK','innerView','TrackChanges','_showLicenseError','acceptSelectedSuggestions','from','children','some','getDescriptions','suggestionView','pluginName','_addUIComponentsToFactory','addComment','createCommentThreadController','getSuggestion','TrackChangesUI','actionView','menuitemcheckbox','isPremiumPlugin','addSourceCollector','comments.maxCommentsWhenCollapsed','expired','focus','_createMenuBarMenu','getMarkerNames','getMarkers','discardSelectedSuggestions','54cKpTOQ','locale','1356278exDKlM','init','trackChangesLicenseKeyValid','getJoined','Track\x20changes','trialLimit','length','type','head','createAnnotation','descriptionFactory','2845ycTgOZ','hasSuggestion','isMultiRange','CommentView','values','Preview\x20final\x20content','SuggestionThreadView','TrackChangesPreview','_disableComments','suggestionChanged','createAnnotationView','trackChangesLicenseKeyTrialLimit','keys','4044712yUMeYn','SuggestionView','discardButton','menuBar:trackChanges','source','Accept\x20all\x20selected\x20suggestions','usageLimit','9670050JUrutK','discardAllSuggestions','Discard\x20all\x20selected\x20suggestions','destroy','activeAnnotations','reduce','stopListening','requires','381AKrnZh','config','listenTo','_handleSuggestionControllerDelayed','isInContent','featureNotAllowed','isDirty','commandName','suggestion-','_refreshActiveMarkers','trackChangesLicenseKeyEvaluationLimit','editing','addMany','arrowView','EditorAnnotations','activeMarkers','trackChanges.SuggestionView','trackChangesLicenseKeyDomainLimit','isOfficialPlugin','size','execute','_updateController','comments.maxThreadTotalWeight','Discard\x20all\x20suggestions','TrackChangesEditing','commentsListView','domainLimit','button','menuitem','getByInnerView','refreshSelectedViews','get','plugins','push','_destroyController','unbind','editor','clear','acceptAllSuggestions','CommentsRepository','fire','buttonView','suggestionUnloaded','trackChangesLicenseKeyInvalid','trackChanges','isOn','Accept\x20all\x20suggestions','remove','commands','panelView','_annotationViews','_suggestionToController','delete','_viewToController','getRanges','Annotations','trackChanges.disableComments','evaluationLimit','isEnabled','delegate','getAnnotationForSuggestion','_createToolbarButton','suggestionLoaded','registerAnnotation','bind','_licenseKeyCheckInterval','trackChanges.SuggestionThreadView','set','has','value','separator','CommentsUI','mainView','_unbindEditors','toMany','1003317uSkeZe','add','getAllAdjacentSuggestions','commentThread','view','descriptionParts','licenseKey','comments','escape','getSuggestionForAnnotation','filter','invalid','define','trackChangesLicenseKeyExpired','comments.maxCommentCharsWhenCollapsed','previewFinalContent','acceptButton','12148UHUGzc','_bindAnnotationToEditors','lowest','componentFactory','comments.editorConfig','change:previous','trackChangesLicenseKeyNotAllowed','switchbutton','items'];_0x16ea=function(){return _0x4e2331;};return _0x16ea();}import{SuggestionController as _0x5f3e49}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x15898b}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x4f0a55}from'./ui/view/suggestionview.js';import{getTranslation as _0x21a072}from'./utils/common-translations.js';function _0x3285(_0x56f108,_0x416fe2){const _0x16eabe=_0x16ea();return _0x3285=function(_0x328586,_0x276dee){_0x328586=_0x328586-0x119;let _0x2782f7=_0x16eabe[_0x328586];return _0x2782f7;},_0x3285(_0x56f108,_0x416fe2);}export class TrackChangesUI extends _0x237311{[_0x53931a(0x1b5)];[_0x53931a(0x1a5)];[_0x53931a(0x197)];[_0x53931a(0x199)];[_0x53931a(0x196)];[_0x53931a(0x11e)];[_0x53931a(0x150)];static get[_0x53931a(0x163)](){const _0x397bb7=_0x53931a;return[_0x2e2b2e,_0x5055a8,_0x397bb7(0x18b),_0x397bb7(0x19b),_0x397bb7(0x172)];}static get[_0x53931a(0x12a)](){const _0x5205a4=_0x53931a;return _0x5205a4(0x12f);}static get[_0x53931a(0x176)](){return!0x0;}static get[_0x53931a(0x132)](){return!0x0;}constructor(_0x44e6ca){const _0x2c9feb=_0x53931a;super(_0x44e6ca),this[_0x2c9feb(0x197)]=new Map(),this[_0x2c9feb(0x199)]=new Map(),this[_0x2c9feb(0x196)]=new Map(),this[_0x2c9feb(0x11e)]=new Map();const _0x1a9c20=this[_0x2c9feb(0x188)][_0x2c9feb(0x165)];_0x1a9c20[_0x2c9feb(0x1bb)](_0x2c9feb(0x1a6),_0x15898b),_0x1a9c20[_0x2c9feb(0x1bb)](_0x2c9feb(0x174),_0x4f0a55),_0x1a9c20[_0x2c9feb(0x1bb)](_0x2c9feb(0x19c),!0x1),this[_0x2c9feb(0x150)]=_0x1a9c20[_0x2c9feb(0x183)](_0x2c9feb(0x19c));}[_0x53931a(0x167)](_0x4004b6,_0x2ca4a4){const _0x2b6a5b=_0x53931a;0x0===this[_0x2b6a5b(0x11e)][_0x2b6a5b(0x177)]&&setTimeout(()=>{const _0x2c90ef=_0x2b6a5b;for(const [_0x1d467f,_0x346f75]of this[_0x2c90ef(0x11e)]){const _0x485449=this[_0x2c90ef(0x197)][_0x2c90ef(0x1a8)](_0x1d467f);_0x485449||_0x346f75?_0x485449&&_0x346f75&&this[_0x2c90ef(0x186)](_0x1d467f):this[_0x2c90ef(0x11a)](_0x1d467f);}this[_0x2c90ef(0x11e)][_0x2c90ef(0x189)](),this[_0x2c90ef(0x188)][_0x2c90ef(0x184)][_0x2c90ef(0x183)](_0x2c90ef(0x172))[_0x2c90ef(0x182)](),this[_0x2c90ef(0x16d)]();},0xa),this[_0x2b6a5b(0x11e)][_0x2b6a5b(0x1a7)](_0x4004b6,_0x2ca4a4);}[_0x53931a(0x13e)](){const _0x5588e6=_0x53931a,_0x2af211=this[_0x5588e6(0x188)],_0x1d5d9b=_0x2af211[_0x5588e6(0x184)][_0x5588e6(0x183)](_0x5588e6(0x17c)),_0x429c0b=_0x2af211[_0x5588e6(0x184)][_0x5588e6(0x183)](_0x5588e6(0x19b)),_0x4081cd=_0x2af211[_0x5588e6(0x184)][_0x5588e6(0x183)](_0x5588e6(0x172)),_0x47cce3=_0x2af211[_0x5588e6(0x184)][_0x5588e6(0x183)](_0x5588e6(0x18b));this[_0x5588e6(0x12b)](),_0x4081cd[_0x5588e6(0x133)](()=>{const _0x34b9ff=_0x5588e6,_0x1b4745=[];for(const [_0x3db790,_0x5dd2df]of Array[_0x34b9ff(0x125)](this[_0x34b9ff(0x197)])){const _0x548263=_0x3db790[_0x34b9ff(0x1b1)](),_0x4c994e=[];for(const _0xb45a5e of _0x548263){if(!_0xb45a5e[_0x34b9ff(0x168)])continue;if(_0xb45a5e[_0x34b9ff(0x14a)]){_0x4c994e[_0x34b9ff(0x185)](..._0xb45a5e[_0x34b9ff(0x19a)]());continue;}const _0x20cc31=_0xb45a5e[_0x34b9ff(0x119)]();if(_0x4c994e[_0x34b9ff(0x143)]>0x0){const _0x5bc296=_0x4c994e[0x0][_0x34b9ff(0x140)](_0x20cc31);if(_0x5bc296){_0x4c994e[0x0]=_0x5bc296;continue;}}_0x4c994e[_0x34b9ff(0x185)](_0x20cc31);}_0x1b4745[_0x34b9ff(0x185)]([_0x5dd2df[_0x34b9ff(0x1b3)],_0x4c994e]);}return _0x1b4745;}),this[_0x5588e6(0x166)](_0x1d5d9b,_0x5588e6(0x1a2),(_0x4d153a,_0x507367)=>{const _0x3ff4b0=_0x5588e6;this[_0x3ff4b0(0x166)](_0x507367,_0x3ff4b0(0x1c5),(_0xd1c203,_0x35c4da,_0x4d3904,_0x4765c7)=>{const _0x38742a=_0x3ff4b0;_0x507367[_0x38742a(0x168)]&&(null==_0x4d3904?(this[_0x38742a(0x179)](_0x4765c7[_0x38742a(0x145)]),this[_0x38742a(0x167)](_0x507367,!0x1)):(this[_0x38742a(0x179)](_0x4d3904[_0x38742a(0x145)]),null==_0x4765c7&&this[_0x38742a(0x167)](_0x507367,!0x0)));}),null!==_0x507367[_0x3ff4b0(0x1c9)]?this[_0x3ff4b0(0x179)](_0x507367[_0x3ff4b0(0x145)]):this[_0x3ff4b0(0x167)](_0x507367,!0x1);}),this[_0x5588e6(0x166)](_0x1d5d9b,_0x5588e6(0x18e),(_0x1c053b,_0x3090c3,_0xed31e1)=>{const _0x339151=_0x5588e6;this[_0x339151(0x162)](_0x3090c3,_0x339151(0x1c5)),this[_0x339151(0x11e)][_0x339151(0x198)](_0x3090c3),this[_0x339151(0x197)][_0x339151(0x1a8)](_0x3090c3)&&this[_0x339151(0x186)](_0x3090c3),_0xed31e1&&this[_0x339151(0x179)](_0xed31e1[_0x339151(0x145)]);}),this[_0x5588e6(0x166)](_0x1d5d9b,_0x5588e6(0x151),(_0x49b911,_0x5f1581)=>{const _0x2f3f7e=_0x5588e6;this[_0x2f3f7e(0x179)](_0x5f1581);}),this[_0x5588e6(0x166)](_0x429c0b,_0x5588e6(0x1ca),()=>{const _0x67f4cc=_0x5588e6;this[_0x67f4cc(0x16d)]();}),this[_0x5588e6(0x166)](_0x47cce3,_0x5588e6(0x12c),(_0x3b3f83,{threadId:_0x427d88,isFromAdapter:_0xab8011})=>{const _0x52130c=_0x5588e6;if(_0xab8011||!_0x1d5d9b[_0x52130c(0x149)](_0x427d88))return;const _0x3a640c=_0x1d5d9b[_0x52130c(0x12e)](_0x427d88);this[_0x52130c(0x197)][_0x52130c(0x183)](_0x3a640c)[_0x52130c(0x1b3)][_0x52130c(0x17d)][_0x52130c(0x136)](-0x1);},{'priority':_0x5588e6(0x1c2)}),this[_0x5588e6(0x1b5)]=this[_0x5588e6(0x188)][_0x5588e6(0x165)][_0x5588e6(0x183)](_0x5588e6(0x1b5));const _0x20e940=this[_0x5588e6(0x188)];this[_0x5588e6(0x1a5)]=setInterval(()=>{const _0xf28383=_0x5588e6;let _0x4e6cad;for(const _0x19dd4c in _0x20e940){const _0x43d67d=_0x19dd4c,_0x56653a=_0x20e940[_0x43d67d];if(_0xf28383(0x13f)==_0x56653a||_0xf28383(0x18f)==_0x56653a||_0xf28383(0x1bc)==_0x56653a||_0xf28383(0x175)==_0x56653a||_0xf28383(0x1c6)==_0x56653a||_0xf28383(0x16e)==_0x56653a||_0xf28383(0x153)==_0x56653a||_0xf28383(0x11f)==_0x56653a){delete _0x20e940[_0x43d67d],_0x4e6cad=_0x56653a,clearInterval(this[_0xf28383(0x1a5)]),this[_0xf28383(0x1a5)]=void 0x0;break;}}_0xf28383(0x18f)==_0x4e6cad&&_0x20e940[_0xf28383(0x123)](_0xf28383(0x1ba)),_0xf28383(0x1bc)==_0x4e6cad&&_0x20e940[_0xf28383(0x123)](_0xf28383(0x135)),_0xf28383(0x175)==_0x4e6cad&&_0x20e940[_0xf28383(0x123)](_0xf28383(0x17e)),_0xf28383(0x1c6)==_0x4e6cad&&_0x20e940[_0xf28383(0x123)](_0xf28383(0x169),_0xf28383(0x122)),_0xf28383(0x16e)==_0x4e6cad&&_0x20e940[_0xf28383(0x123)](_0xf28383(0x19d)),_0xf28383(0x153)==_0x4e6cad&&_0x20e940[_0xf28383(0x123)](_0xf28383(0x142)),_0xf28383(0x11f)==_0x4e6cad&&_0x20e940[_0xf28383(0x123)](_0xf28383(0x15b));},0x3e8);}[_0x53931a(0x1a0)](_0x3a87c3){const _0x5e8d89=_0x53931a,_0x1069ed=this[_0x5e8d89(0x197)][_0x5e8d89(0x183)](_0x3a87c3);if(!_0x1069ed)return null;return this[_0x5e8d89(0x188)][_0x5e8d89(0x184)][_0x5e8d89(0x183)](_0x5e8d89(0x19b))[_0x5e8d89(0x181)](_0x1069ed[_0x5e8d89(0x1b3)])||null;}[_0x53931a(0x1b8)](_0x518f8b){const _0x1b6fcf=_0x53931a,_0x38e4f7=this[_0x1b6fcf(0x199)][_0x1b6fcf(0x183)](_0x518f8b[_0x1b6fcf(0x121)]);return _0x38e4f7?_0x38e4f7[_0x1b6fcf(0x11b)]:null;}[_0x53931a(0x16d)](){const _0x488f5b=_0x53931a,_0x936642=this[_0x488f5b(0x188)][_0x488f5b(0x184)][_0x488f5b(0x183)](_0x488f5b(0x19b)),_0x3e9665=this[_0x488f5b(0x188)][_0x488f5b(0x184)][_0x488f5b(0x183)](_0x488f5b(0x17c)),_0x516c99=Array[_0x488f5b(0x125)](_0x936642[_0x488f5b(0x160)],_0x89c1c4=>_0x89c1c4[_0x488f5b(0x121)])[_0x488f5b(0x1b9)](_0x4e328b=>this[_0x488f5b(0x199)][_0x488f5b(0x1a8)](_0x4e328b)),_0x361253=[];for(const _0x1bcb23 of _0x516c99){const _0x48d2fc=this[_0x488f5b(0x199)][_0x488f5b(0x183)](_0x1bcb23)[_0x488f5b(0x11b)][_0x488f5b(0x1b1)]();_0x361253[_0x488f5b(0x185)](..._0x48d2fc[_0x488f5b(0x161)]((_0x14857b,_0x26802e)=>[..._0x14857b,..._0x26802e[_0x488f5b(0x138)]()],[]));}_0x3e9665[_0x488f5b(0x173)]=_0x361253;}[_0x53931a(0x12b)](){const _0x5e5d77=_0x53931a,_0x999691=this[_0x5e5d77(0x188)],_0x3503f6=_0x999691[_0x5e5d77(0x13c)],_0x2f7f9d=_0x21a072(_0x3503f6,_0x5e5d77(0x141)),_0x2c6aeb=new _0x146b65([{'type':_0x5e5d77(0x1c7),'model':new _0xdd26b6({'withText':!0x0,'isToggleable':!0x0,'label':_0x2f7f9d,'commandName':_0x5e5d77(0x190),'role':_0x5e5d77(0x131)})},{'type':_0x5e5d77(0x1aa)},{'type':_0x5e5d77(0x17f),'model':new _0xdd26b6({'withText':!0x0,'label':_0x21a072(_0x3503f6,_0x5e5d77(0x192)),'commandName':_0x5e5d77(0x18a),'role':_0x5e5d77(0x180)})},{'type':_0x5e5d77(0x17f),'model':new _0xdd26b6({'withText':!0x0,'label':_0x21a072(_0x3503f6,_0x5e5d77(0x15a)),'commandName':_0x5e5d77(0x124),'role':_0x5e5d77(0x180)})},{'type':_0x5e5d77(0x17f),'model':new _0xdd26b6({'withText':!0x0,'label':_0x21a072(_0x3503f6,_0x5e5d77(0x17b)),'commandName':_0x5e5d77(0x15d),'role':_0x5e5d77(0x180)})},{'type':_0x5e5d77(0x17f),'model':new _0xdd26b6({'withText':!0x0,'label':_0x21a072(_0x3503f6,_0x5e5d77(0x15e)),'commandName':_0x5e5d77(0x13a),'role':_0x5e5d77(0x180)})}]);_0x999691[_0x5e5d77(0x184)][_0x5e5d77(0x1a8)](_0x5e5d77(0x14f))&&_0x2c6aeb[_0x5e5d77(0x170)]([{'type':_0x5e5d77(0x1aa)},{'type':_0x5e5d77(0x17f),'model':new _0xdd26b6({'withText':!0x0,'label':_0x21a072(_0x3503f6,_0x5e5d77(0x14d)),'commandName':_0x5e5d77(0x1be),'role':_0x5e5d77(0x180)})}]);for(const _0xd80244 of _0x2c6aeb)if(ke(_0xd80244)){const _0x334c35=_0x999691[_0x5e5d77(0x194)][_0x5e5d77(0x183)](_0xd80244[_0x5e5d77(0x11b)][_0x5e5d77(0x16b)]);_0xd80244[_0x5e5d77(0x11b)][_0x5e5d77(0x1a4)](_0x5e5d77(0x191),_0x5e5d77(0x19e))['to'](_0x334c35,_0x5e5d77(0x1a9),_0x5e5d77(0x19e));}_0x999691['ui'][_0x5e5d77(0x1c3)][_0x5e5d77(0x1b0)](_0x5e5d77(0x190),_0x4fead9=>this[_0x5e5d77(0x1a1)](_0x4fead9,_0x2c6aeb,_0x2f7f9d)),_0x999691['ui'][_0x5e5d77(0x1c3)][_0x5e5d77(0x1b0)](_0x5e5d77(0x158),_0x3f2cd5=>this[_0x5e5d77(0x137)](_0x3f2cd5,_0x2c6aeb,_0x2f7f9d));}[_0x53931a(0x1a1)](_0x2cdbfe,_0x3448bf,_0x5f4b91){const _0x454f08=_0x53931a,_0x13bc08=_0x24e948(_0x2cdbfe,_0x53f3bf),_0x159bff=this[_0x454f08(0x188)][_0x454f08(0x194)][_0x454f08(0x183)](_0x454f08(0x190));_0x13bc08[_0x454f08(0x18d)][_0x454f08(0x1a7)]({'tooltip':_0x5f4b91,'label':_0x5f4b91,'icon':_0x511bec}),_0x13bc08[_0x454f08(0x18d)][_0x454f08(0x1a4)](_0x454f08(0x191))['to'](_0x159bff,_0x454f08(0x1a9)),_0x13bc08[_0x454f08(0x18d)]['on'](_0x454f08(0x178),()=>{const _0x503690=_0x454f08;_0x159bff[_0x503690(0x178)](),this[_0x503690(0x188)][_0x503690(0x16f)][_0x503690(0x1b3)][_0x503690(0x136)]();}),_0x19c70f(_0x13bc08,_0x3448bf,{'role':_0x454f08(0x11d)});const _0x308e67=[];for(const _0x1bd61d of _0x3448bf)ke(_0x1bd61d)&&_0x308e67[_0x454f08(0x185)](this[_0x454f08(0x188)][_0x454f08(0x194)][_0x454f08(0x183)](_0x1bd61d[_0x454f08(0x11b)][_0x454f08(0x16b)]));const _0x1a64fc=_0x13bc08[_0x454f08(0x18d)];return _0x1a64fc[_0x454f08(0x130)][_0x454f08(0x187)](_0x454f08(0x19e)),_0x1a64fc[_0x454f08(0x171)][_0x454f08(0x187)](_0x454f08(0x19e)),_0x1a64fc[_0x454f08(0x130)][_0x454f08(0x1a4)](_0x454f08(0x19e))['to'](_0x159bff,_0x454f08(0x19e)),_0x1a64fc[_0x454f08(0x171)][_0x454f08(0x1a4)](_0x454f08(0x19e))[_0x454f08(0x1ae)](_0x308e67,_0x454f08(0x19e),(..._0x3bd4c5)=>_0x3bd4c5[_0x454f08(0x127)](_0x27c679=>_0x27c679)),_0x13bc08['on'](_0x454f08(0x178),_0x5aef68=>{const _0x3153e9=_0x454f08;this[_0x3153e9(0x188)][_0x3153e9(0x178)](_0x5aef68[_0x3153e9(0x159)][_0x3153e9(0x16b)]),this[_0x3153e9(0x188)][_0x3153e9(0x16f)][_0x3153e9(0x1b3)][_0x3153e9(0x136)]();}),_0x13bc08;}[_0x53931a(0x137)](_0x586d02,_0x10b4c5,_0x359183){const _0x29bb8f=_0x53931a,_0x285835=new _0x48ddcd(_0x586d02),_0x5f14fd=this[_0x29bb8f(0x188)][_0x29bb8f(0x194)][_0x29bb8f(0x183)](_0x29bb8f(0x190));_0x285835[_0x29bb8f(0x18d)][_0x29bb8f(0x1a7)]({'label':_0x359183,'icon':_0x511bec});const _0x11547f=new _0x560b3c(_0x586d02);for(const _0x340fe0 of _0x10b4c5){if(_0x29bb8f(0x1aa)==_0x340fe0[_0x29bb8f(0x144)]){_0x11547f[_0x29bb8f(0x1c8)][_0x29bb8f(0x1b0)](new _0x256ef2(_0x586d02));continue;}const _0x554a08=new _0x57525f(_0x586d02,_0x285835),_0x3c3d79=new _0xbb2541(_0x586d02),_0x3435de=_0x340fe0[_0x29bb8f(0x11b)];_0x3c3d79[_0x29bb8f(0x1a4)](...Object[_0x29bb8f(0x154)](_0x3435de))['to'](_0x3435de),_0x3c3d79[_0x29bb8f(0x19f)](_0x29bb8f(0x178))['to'](_0x285835),_0x3c3d79['on'](_0x29bb8f(0x178),()=>{const _0x11ddd2=_0x29bb8f;this[_0x11ddd2(0x188)][_0x11ddd2(0x178)](_0x3435de[_0x11ddd2(0x16b)]),this[_0x11ddd2(0x188)][_0x11ddd2(0x16f)][_0x11ddd2(0x1b3)][_0x11ddd2(0x136)]();}),_0x554a08[_0x29bb8f(0x126)][_0x29bb8f(0x1b0)](_0x3c3d79),_0x11547f[_0x29bb8f(0x1c8)][_0x29bb8f(0x1b0)](_0x554a08);}return _0x285835[_0x29bb8f(0x1a4)](_0x29bb8f(0x19e))['to'](_0x5f14fd,_0x29bb8f(0x19e)),_0x285835[_0x29bb8f(0x195)][_0x29bb8f(0x126)][_0x29bb8f(0x1b0)](_0x11547f),_0x285835;}[_0x53931a(0x11a)](_0x19a825){const _0x4a0cbd=_0x53931a,_0x2fbadd=this[_0x4a0cbd(0x188)],_0x285d66=_0x2fbadd[_0x4a0cbd(0x165)],_0x530baf=_0x2fbadd[_0x4a0cbd(0x184)][_0x4a0cbd(0x183)](_0x4a0cbd(0x19b)),_0x5249e8=_0x2fbadd[_0x4a0cbd(0x184)][_0x4a0cbd(0x183)](_0x4a0cbd(0x18b)),_0x22070c=_0x2fbadd[_0x4a0cbd(0x184)][_0x4a0cbd(0x183)](_0x4a0cbd(0x172)),_0x5f33b3=_0x2fbadd[_0x4a0cbd(0x184)][_0x4a0cbd(0x183)](_0x5055a8)['me'],_0x39690f=_0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x190))[_0x4a0cbd(0x14e)],_0x4bcac6=_0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x190))[_0x4a0cbd(0x156)],{CommentsListView:_0x5e1c12,CommentThreadInputView:_0x4495a4}=_0x2fbadd[_0x4a0cbd(0x184)][_0x4a0cbd(0x183)](_0x4a0cbd(0x1ab));let _0x537b9c,_0x818f99,_0x454a1d;this[_0x4a0cbd(0x196)][_0x4a0cbd(0x1a8)](_0x19a825['id'])?(_0x818f99=this[_0x4a0cbd(0x196)][_0x4a0cbd(0x183)](_0x19a825['id']),_0x537b9c=_0x818f99[_0x4a0cbd(0x1ac)]):(_0x537b9c=new _0x39690f(_0x2fbadd[_0x4a0cbd(0x13c)],_0x19a825,_0x5f33b3,{'disableComments':this[_0x4a0cbd(0x150)],'editorConfig':{..._0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x1c4)),'licenseKey':_0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x1b5))},'maxCommentsWhenCollapsed':_0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x134)),'maxThreadTotalWeight':_0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x17a)),'maxCommentCharsWhenCollapsed':_0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x1bd)),'formatDateTime':_0x57c081(_0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x13c)),_0x2fbadd[_0x4a0cbd(0x13c)]),'CommentView':_0x285d66[_0x4a0cbd(0x183)](_0x4a0cbd(0x1b6))[_0x4a0cbd(0x14b)],'CommentsListView':_0x5e1c12,'CommentThreadInputView':_0x4495a4,'SuggestionView':_0x4bcac6}),_0x537b9c[_0x4a0cbd(0x129)][_0x4a0cbd(0x1bf)]['on'](_0x4a0cbd(0x178),()=>{const _0x23775f=_0x4a0cbd;_0x2fbadd[_0x23775f(0x16f)][_0x23775f(0x1b3)][_0x23775f(0x136)]();}),_0x537b9c[_0x4a0cbd(0x129)][_0x4a0cbd(0x157)]['on'](_0x4a0cbd(0x178),()=>{const _0x69af77=_0x4a0cbd;_0x2fbadd[_0x69af77(0x16f)][_0x69af77(0x1b3)][_0x69af77(0x136)]();}),_0x818f99=_0x530baf[_0x4a0cbd(0x152)](this[_0x4a0cbd(0x188)][_0x4a0cbd(0x13c)],_0x537b9c),_0x818f99[_0x4a0cbd(0x1a4)](_0x4a0cbd(0x16a))['to'](_0x537b9c,_0x4a0cbd(0x16a)),_0x818f99[_0x4a0cbd(0x1a4)](_0x4a0cbd(0x143))['to'](_0x537b9c),_0x818f99[_0x4a0cbd(0x1a4)](_0x4a0cbd(0x144))['to'](_0x537b9c,_0x4a0cbd(0x144),_0x7f523=>_0x4a0cbd(0x16c)+_0x7f523),_0x537b9c['on'](_0x4a0cbd(0x1b7),()=>{const _0x587963=_0x4a0cbd;_0x454a1d[_0x587963(0x18c)](_0x587963(0x1b7));}),this[_0x4a0cbd(0x196)][_0x4a0cbd(0x1a7)](_0x19a825['id'],_0x818f99));const _0x4e9e17=_0x5249e8[_0x4a0cbd(0x12d)](_0x19a825[_0x4a0cbd(0x1b2)],_0x537b9c),_0x4af2e5=new _0x5f3e49(_0x2fbadd,_0x19a825,_0x537b9c,_0x4e9e17),_0x1558e6=_0x19a825[_0x4a0cbd(0x1b1)]()[_0x4a0cbd(0x1b9)](_0x13ad97=>_0x13ad97[_0x4a0cbd(0x168)]);_0x537b9c[_0x4a0cbd(0x1b4)]=_0x2fbadd[_0x4a0cbd(0x184)][_0x4a0cbd(0x183)](_0x4a0cbd(0x17c))[_0x4a0cbd(0x147)][_0x4a0cbd(0x128)](_0x1558e6),this[_0x4a0cbd(0x197)][_0x4a0cbd(0x1a7)](_0x19a825,_0x4af2e5),this[_0x4a0cbd(0x199)][_0x4a0cbd(0x1a7)](_0x537b9c,_0x4af2e5);const _0x1e1044=()=>{const _0x26c2b7=_0x4a0cbd,_0x2a4d1b=[],_0x48b979=_0x19a825[_0x26c2b7(0x1b1)]()[_0x26c2b7(0x1b9)](_0x2b6b23=>_0x2b6b23[_0x26c2b7(0x168)]);for(const _0x333d03 of _0x48b979)_0x2a4d1b[_0x26c2b7(0x185)](..._0x333d03[_0x26c2b7(0x139)]());return _0x21fb1d(_0x2fbadd[_0x26c2b7(0x16f)],_0x2a4d1b);};_0x454a1d=_0x530baf[_0x4a0cbd(0x146)]({'view':_0x818f99,'target':_0x1e1044,'type':()=>_0x4a0cbd(0x16c)+_0x4af2e5[_0x4a0cbd(0x1b3)][_0x4a0cbd(0x144)],'isVisible':!!_0x1e1044()}),_0x5249e8[_0x4a0cbd(0x1c1)](_0x537b9c,_0x454a1d),_0x530baf[_0x4a0cbd(0x1b0)](_0x454a1d),_0x22070c[_0x4a0cbd(0x1a3)](_0x454a1d);}[_0x53931a(0x186)](_0x56c6e7){const _0xe088e8=_0x53931a,_0x21e7aa=this[_0xe088e8(0x188)][_0xe088e8(0x184)][_0xe088e8(0x183)](_0xe088e8(0x18b)),_0x4ae427=this[_0xe088e8(0x188)][_0xe088e8(0x184)][_0xe088e8(0x183)](_0xe088e8(0x19b)),_0x5c54bd=this[_0xe088e8(0x197)][_0xe088e8(0x183)](_0x56c6e7),_0xe088b4=_0x5c54bd[_0xe088e8(0x1b3)],_0x488b59=_0x4ae427[_0xe088e8(0x181)](_0xe088b4);_0x21e7aa[_0xe088e8(0x1ad)](_0xe088b4),_0x488b59&&_0x4ae427[_0xe088e8(0x193)](_0x488b59),this[_0xe088e8(0x197)][_0xe088e8(0x198)](_0x56c6e7),this[_0xe088e8(0x199)][_0xe088e8(0x198)](_0xe088b4),_0x5c54bd[_0xe088e8(0x15f)]();}[_0x53931a(0x179)](_0x417154){const _0x28bb2e=_0x53931a;if(!_0x417154[_0x28bb2e(0x168)]||!this[_0x28bb2e(0x197)][_0x28bb2e(0x1a8)](_0x417154))return;const _0x427688=this[_0x28bb2e(0x188)][_0x28bb2e(0x184)][_0x28bb2e(0x183)](_0x28bb2e(0x17c)),_0xddb078=this[_0x28bb2e(0x197)][_0x28bb2e(0x183)](_0x417154),_0x5c0256=_0x417154[_0x28bb2e(0x1b1)]();_0xddb078[_0x28bb2e(0x1b3)][_0x28bb2e(0x1b4)]=_0x427688[_0x28bb2e(0x147)][_0x28bb2e(0x128)](_0x5c0256);}[_0x53931a(0x15f)](){const _0x40bda8=_0x53931a;for(const _0x47f286 of this[_0x40bda8(0x197)][_0x40bda8(0x154)]())this[_0x40bda8(0x186)](_0x47f286);for(const _0x138f69 of this[_0x40bda8(0x196)][_0x40bda8(0x14c)]())_0x138f69[_0x40bda8(0x1ac)][_0x40bda8(0x15f)]();super[_0x40bda8(0x15f)](),this[_0x40bda8(0x1a5)]&&clearInterval(this[_0x40bda8(0x1a5)]);}}function ke(_0x1bcab3){const _0x5a44e9=_0x53931a;return _0x5a44e9(0x11b)in _0x1bcab3;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3b5381=_0x1651;(function(_0x474379,_0x5efb39){const _0x43203a=_0x1651,_0x51ac59=_0x474379();while(!![]){try{const _0x28915d=-parseInt(_0x43203a(0xb0))/0x1+parseInt(_0x43203a(0xa1))/0x2*(-parseInt(_0x43203a(0xc2))/0x3)+-parseInt(_0x43203a(0xb8))/0x4*(-parseInt(_0x43203a(0xa9))/0x5)+-parseInt(_0x43203a(0xb9))/0x6+-parseInt(_0x43203a(0xb3))/0x7+-parseInt(_0x43203a(0xba))/0x8+-parseInt(_0x43203a(0xb1))/0x9*(-parseInt(_0x43203a(0xc5))/0xa);if(_0x28915d===_0x5efb39)break;else _0x51ac59['push'](_0x51ac59['shift']());}catch(_0x10fa63){_0x51ac59['push'](_0x51ac59['shift']());}}}(_0x3e92,0xe6935));function _0x1651(_0x258bae,_0x3f6845){const _0x3e92bf=_0x3e92();return _0x1651=function(_0x165108,_0xc34021){_0x165108=_0x165108-0x9e;let _0x1e0c44=_0x3e92bf[_0x165108];return _0x1e0c44;},_0x1651(_0x258bae,_0x3f6845);}function _0x3e92(){const _0x2d8747=['locale','2ocnBwL','remove','PENDING_ACTION_SUGGESTION','getRanges','bind','commands','isDirty','listenTo','45xyWgBE','_removePendingAction','get','canAccept','_setPendingAction','discardSuggestion','canDiscard','1453869fGIUlu','99twfceL','view','11155207VpgaFZ','destroy','_editor','_acceptCommand','_pendingAction','355228CAiwWp','5905542YLaJqt','3583288tiUAlb','commentThreadController','change:isDirty','unbind','add','_discardCommand','acceptSuggestion','stopListening','3231213jPraCX','plugins','execute','5183530AaALuu','PendingActions','isEnabled','model','canEditAt'];_0x3e92=function(){return _0x2d8747;};return _0x3e92();}import{ObservableMixin as _0x30db6b}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b3687}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x30db6b(){[_0x3b5381(0x9e)];[_0x3b5381(0xb2)];[_0x3b5381(0xbb)];[_0x3b5381(0xb5)];[_0x3b5381(0xb6)];[_0x3b5381(0xbf)];[_0x3b5381(0xb7)];constructor(_0x4062ca,_0x5155e2,_0x3f4fe4,_0x23c04f){const _0x7ad805=_0x3b5381;super(),this[_0x7ad805(0x9e)]=_0x5155e2,this[_0x7ad805(0xb2)]=_0x3f4fe4,this[_0x7ad805(0xbb)]=_0x23c04f,this[_0x7ad805(0xb5)]=_0x4062ca,this[_0x7ad805(0xb6)]=_0x4062ca[_0x7ad805(0xa6)][_0x7ad805(0xab)](_0x7ad805(0xc0)),this[_0x7ad805(0xbf)]=_0x4062ca[_0x7ad805(0xa6)][_0x7ad805(0xab)](_0x7ad805(0xae)),this[_0x7ad805(0xb2)][_0x7ad805(0xa5)](_0x7ad805(0xc7))['to'](this[_0x7ad805(0xb6)],this[_0x7ad805(0xbf)],(_0x2a280e,_0x30fc8a)=>_0x2a280e||_0x30fc8a),this[_0x7ad805(0xb2)][_0x7ad805(0xa5)](_0x7ad805(0xac))['to'](this[_0x7ad805(0xb6)],_0x7ad805(0xc7),_0x527845=>_0x527845&&this[_0x7ad805(0xb5)][_0x7ad805(0x9e)][_0x7ad805(0x9f)](_0x5155e2[_0x7ad805(0xa4)]())),this[_0x7ad805(0xb2)][_0x7ad805(0xa5)](_0x7ad805(0xaf))['to'](this[_0x7ad805(0xbf)],_0x7ad805(0xc7),_0x52a659=>_0x52a659&&this[_0x7ad805(0xb5)][_0x7ad805(0x9e)][_0x7ad805(0x9f)](_0x5155e2[_0x7ad805(0xa4)]())),this[_0x7ad805(0xb7)]=null,_0x3f4fe4[_0x7ad805(0xa7)]&&this[_0x7ad805(0xad)](),this[_0x7ad805(0xa8)](_0x3f4fe4,_0x7ad805(0xc0),()=>this[_0x7ad805(0xc0)]()),this[_0x7ad805(0xa8)](_0x3f4fe4,_0x7ad805(0xae),()=>this[_0x7ad805(0xae)]()),this[_0x7ad805(0xa8)](_0x3f4fe4,_0x7ad805(0xbc),()=>{const _0x228f68=_0x7ad805;_0x3f4fe4[_0x228f68(0xa7)]?this[_0x228f68(0xad)]():this[_0x228f68(0xaa)]();});}[_0x3b5381(0xc0)](){const _0x86fc30=_0x3b5381;this[_0x86fc30(0xb6)][_0x86fc30(0xc4)](this[_0x86fc30(0x9e)]['id']);}[_0x3b5381(0xae)](){const _0x53c3a4=_0x3b5381;this[_0x53c3a4(0xbf)][_0x53c3a4(0xc4)](this[_0x53c3a4(0x9e)]['id']);}[_0x3b5381(0xb4)](){const _0x5b4ee3=_0x3b5381;this[_0x5b4ee3(0xb2)][_0x5b4ee3(0xbd)](_0x5b4ee3(0xc7)),this[_0x5b4ee3(0xb2)][_0x5b4ee3(0xbd)](_0x5b4ee3(0xac)),this[_0x5b4ee3(0xb2)][_0x5b4ee3(0xbd)](_0x5b4ee3(0xaf)),this[_0x5b4ee3(0xc1)](),this[_0x5b4ee3(0xbb)][_0x5b4ee3(0xb4)](),this[_0x5b4ee3(0xb7)]&&this[_0x5b4ee3(0xaa)]();}[_0x3b5381(0xad)](){const _0x1b81fe=_0x3b5381,_0x56cdae=_0x1b3687(this[_0x1b81fe(0xb5)][_0x1b81fe(0xa0)],_0x1b81fe(0xa3));this[_0x1b81fe(0xb7)]=this[_0x1b81fe(0xb5)][_0x1b81fe(0xc3)][_0x1b81fe(0xab)](_0x1b81fe(0xc6))[_0x1b81fe(0xbe)](_0x56cdae);}[_0x3b5381(0xaa)](){const _0x4c01f4=_0x3b5381;null!==this[_0x4c01f4(0xb7)]&&this[_0x4c01f4(0xb5)][_0x4c01f4(0xc3)][_0x4c01f4(0xab)](_0x4c01f4(0xc6))[_0x4c01f4(0xa2)](this[_0x4c01f4(0xb7)]),this[_0x4c01f4(0xb7)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34863c=_0x8593;(function(_0x2ae8de,_0x14f91a){const _0x199ed6=_0x8593,_0x1a0b68=_0x2ae8de();while(!![]){try{const _0x545db7=parseInt(_0x199ed6(0x15a))/0x1+parseInt(_0x199ed6(0x13c))/0x2*(-parseInt(_0x199ed6(0x12c))/0x3)+parseInt(_0x199ed6(0x12a))/0x4*(parseInt(_0x199ed6(0x158))/0x5)+-parseInt(_0x199ed6(0x16c))/0x6+-parseInt(_0x199ed6(0x16a))/0x7+-parseInt(_0x199ed6(0x157))/0x8*(parseInt(_0x199ed6(0x153))/0x9)+parseInt(_0x199ed6(0x12f))/0xa*(parseInt(_0x199ed6(0x15e))/0xb);if(_0x545db7===_0x14f91a)break;else _0x1a0b68['push'](_0x1a0b68['shift']());}catch(_0x20ef65){_0x1a0b68['push'](_0x1a0b68['shift']());}}}(_0x1a9a,0xefa4b));function _0x8593(_0x2b0788,_0x12295b){const _0x1a9a75=_0x1a9a();return _0x8593=function(_0x859344,_0x591b28){_0x859344=_0x859344-0x128;let _0x3e1637=_0x1a9a75[_0x859344];return _0x3e1637;},_0x8593(_0x2b0788,_0x12295b);}import{FocusCycler as _0x253840,View as _0x14fec5,ViewCollection as _0x4a5147}from'ckeditor5/src/ui.js';function _0x1a9a(){const _0x475fba=['focusables','text/html','parseFromString','showInput','updateComment','CommentView','cancel','authoredAt','set','isReadOnly','_config','shift+tab','686PtXqqt','hasDirtyComment','SUGGESTION_THREAD_ARIA_LABEL','focusCycler','descriptionParts','editor','ariaDescriptionView','commentThreadInputView','author','ariaLabel','render','target','_model','_createCommentViews','keystrokes','submit','_createCommentThreadInputView','delegate','disableComments','body','commentsListView','formatDateTime','addComment','70011eauCEl','textContent','_localUser','content','568LZGUco','33035RxKPYB','locale','1920280Ovsdav','commentInputView','canDiscard','value','638891WfEHiO','focus','fire','canAccept','map','editorConfig','isActive','SUGGESTION_THREAD_DESCRIPTION','bind','join','disabledSubmit','commentThread','9151793sbiCTa','removeComment','1263834pgsvMM','isEnabled','name','isDirty','element','destroy','setData','focusTracker','172hFGTUK','assign','4779UIzNSX','length','tab','240dFmDMh'];_0x1a9a=function(){return _0x475fba;};return _0x1a9a();}import{FocusTracker as _0x45ab1e,KeystrokeHandler as _0x4e76d2}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x591c96,setupThreadKeyboardNavigation as _0x19b47f}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x294635}from'../../utils/common-translations.js';import{renderDescription as _0x3e2ba9}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x14fec5{[_0x34863c(0x150)];[_0x34863c(0x143)];[_0x34863c(0x142)];[_0x34863c(0x130)];[_0x34863c(0x129)];[_0x34863c(0x14a)];[_0x34863c(0x13f)];[_0x34863c(0x148)];[_0x34863c(0x155)];[_0x34863c(0x13a)];constructor(_0x45ed2d,_0x5264da,_0x586ffb,_0xb21b51){const _0xcc8dcf=_0x34863c;super(_0x45ed2d),this[_0xcc8dcf(0x150)]=null,this[_0xcc8dcf(0x143)]=null,this[_0xcc8dcf(0x142)]=new _0x591c96(_0x45ed2d,_0x294635(_0x45ed2d,_0xcc8dcf(0x165))),this[_0xcc8dcf(0x138)](_0xcc8dcf(0x164),!0x1),this[_0xcc8dcf(0x138)](_0xcc8dcf(0x137),_0x5264da[_0xcc8dcf(0x137)]),this[_0xcc8dcf(0x166)](_0xcc8dcf(0x137))['to'](_0x5264da),this[_0xcc8dcf(0x138)](_0xcc8dcf(0x140),[]),this[_0xcc8dcf(0x138)](_0xcc8dcf(0x16f),!0x1),this[_0xcc8dcf(0x138)](_0xcc8dcf(0x16d),!0x1),this[_0xcc8dcf(0x138)](_0xcc8dcf(0x161),!0x1),this[_0xcc8dcf(0x138)](_0xcc8dcf(0x15c),!0x1),this[_0xcc8dcf(0x166)](_0xcc8dcf(0x145))['to'](this,_0xcc8dcf(0x12d),_0x5264da,_0xcc8dcf(0x137),this,_0xcc8dcf(0x140),(_0x101a61,_0x315976,_0x18819a)=>{const _0x3fbdac=_0xcc8dcf,_0x2e7e94=_0x18819a[_0x3fbdac(0x162)](_0x3d43d3=>_0x3e2ba9(_0x3d43d3[_0x3fbdac(0x156)]))[_0x3fbdac(0x167)]('.\x20')+'.';return _0x294635(this[_0x3fbdac(0x159)],_0x3fbdac(0x13e),[_0x101a61-0x1,_0x5264da[_0x3fbdac(0x144)][_0x3fbdac(0x16e)],_0x315976?_0xb21b51[_0x3fbdac(0x151)](_0x315976):'',new DOMParser()[_0x3fbdac(0x132)](_0x2e7e94,_0x3fbdac(0x131))[_0x3fbdac(0x14f)][_0x3fbdac(0x154)]]);}),this[_0xcc8dcf(0x130)]=new _0x4a5147(),this[_0xcc8dcf(0x129)]=new _0x45ab1e(),this[_0xcc8dcf(0x14a)]=new _0x4e76d2(),this[_0xcc8dcf(0x13f)]=new _0x253840({'focusables':this[_0xcc8dcf(0x130)],'focusTracker':this[_0xcc8dcf(0x129)],'keystrokeHandler':this[_0xcc8dcf(0x14a)],'keystrokeHandlerOptions':{'filter':_0x1ca49f=>_0x1ca49f[_0xcc8dcf(0x147)]!==this[_0xcc8dcf(0x170)]},'actions':{'focusPrevious':_0xcc8dcf(0x13b),'focusNext':_0xcc8dcf(0x12e)}}),this[_0xcc8dcf(0x148)]=_0x5264da,this[_0xcc8dcf(0x155)]=_0x586ffb,this[_0xcc8dcf(0x13a)]=_0xb21b51,_0xb21b51[_0xcc8dcf(0x14e)]?this[_0xcc8dcf(0x138)](_0xcc8dcf(0x12d),0x1):this[_0xcc8dcf(0x149)]();}[_0x34863c(0x146)](){const _0x4c15ad=_0x34863c;super[_0x4c15ad(0x146)](),_0x19b47f(this,this[_0x4c15ad(0x130)]);}[_0x34863c(0x15f)](){const _0x359363=_0x34863c;this[_0x359363(0x170)][_0x359363(0x15f)]();}[_0x34863c(0x171)](){const _0x409db6=_0x34863c;this[_0x409db6(0x150)]&&this[_0x409db6(0x150)][_0x409db6(0x171)](),this[_0x409db6(0x143)]&&this[_0x409db6(0x143)][_0x409db6(0x171)](),super[_0x409db6(0x171)]();}[_0x34863c(0x149)](){const _0x97382b=_0x34863c,{CommentsListView:_0x228ecf}=this[_0x97382b(0x13a)];this[_0x97382b(0x150)]=new _0x228ecf(this[_0x97382b(0x159)],this[_0x97382b(0x148)][_0x97382b(0x169)],Object[_0x97382b(0x12b)]({'CommentView':this[_0x97382b(0x13a)][_0x97382b(0x135)]},this[_0x97382b(0x13a)])),this[_0x97382b(0x150)][_0x97382b(0x14d)](_0x97382b(0x16b))['to'](this),this[_0x97382b(0x150)][_0x97382b(0x14d)](_0x97382b(0x134))['to'](this),this[_0x97382b(0x150)][_0x97382b(0x166)](_0x97382b(0x164))['to'](this),this[_0x97382b(0x138)](_0x97382b(0x12d),this[_0x97382b(0x150)][_0x97382b(0x12d)]+0x1),this[_0x97382b(0x166)](_0x97382b(0x12d))['to'](this[_0x97382b(0x150)],_0x97382b(0x12d),_0x51f5f=>_0x51f5f+0x1),this[_0x97382b(0x143)]=this[_0x97382b(0x14c)](),this['on'](_0x97382b(0x16b),()=>this[_0x97382b(0x15f)]()),this[_0x97382b(0x166)](_0x97382b(0x16f))['to'](this[_0x97382b(0x150)],_0x97382b(0x13d),this[_0x97382b(0x143)][_0x97382b(0x15b)],_0x97382b(0x15d),(_0x276486,_0x2fbf5a)=>_0x276486||!!_0x2fbf5a);}[_0x34863c(0x14c)](){const _0x356839=_0x34863c,{CommentThreadInputView:_0x1489cd}=this[_0x356839(0x13a)],_0x2a8503=new _0x1489cd(this[_0x356839(0x159)],this[_0x356839(0x155)],this[_0x356839(0x13a)][_0x356839(0x163)]),_0x27e90c=_0x2a8503[_0x356839(0x15b)];return _0x2a8503[_0x356839(0x166)](_0x356839(0x133))['to'](this,_0x356839(0x164),this[_0x356839(0x148)][_0x356839(0x169)],_0x356839(0x139),_0x27e90c,_0x356839(0x15d),(_0x555c91,_0x4d705e,_0x229958)=>!!_0x229958||_0x555c91&&!_0x4d705e),_0x27e90c['on'](_0x356839(0x14b),(_0x4fb009,_0xcc1d3b)=>{const _0x13d9b0=_0x356839;this[_0x13d9b0(0x160)](_0x13d9b0(0x152),_0xcc1d3b),_0x27e90c[_0x13d9b0(0x141)][_0x13d9b0(0x128)]('');}),_0x27e90c['on'](_0x356839(0x136),()=>this[_0x356839(0x15f)]()),_0x27e90c[_0x356839(0x166)](_0x356839(0x168))['to'](this[_0x356839(0x148)][_0x356839(0x169)],_0x356839(0x139)),_0x2a8503;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2dd547=_0x2b3d;(function(_0x564546,_0x4f0122){const _0x1806f7=_0x2b3d,_0x3ead9f=_0x564546();while(!![]){try{const _0x555baf=-parseInt(_0x1806f7(0x170))/0x1*(parseInt(_0x1806f7(0x16c))/0x2)+-parseInt(_0x1806f7(0x154))/0x3*(-parseInt(_0x1806f7(0x166))/0x4)+parseInt(_0x1806f7(0x165))/0x5*(-parseInt(_0x1806f7(0x161))/0x6)+-parseInt(_0x1806f7(0x153))/0x7*(parseInt(_0x1806f7(0x182))/0x8)+-parseInt(_0x1806f7(0x150))/0x9*(parseInt(_0x1806f7(0x158))/0xa)+parseInt(_0x1806f7(0x159))/0xb*(-parseInt(_0x1806f7(0x17e))/0xc)+parseInt(_0x1806f7(0x162))/0xd;if(_0x555baf===_0x4f0122)break;else _0x3ead9f['push'](_0x3ead9f['shift']());}catch(_0xd140ce){_0x3ead9f['push'](_0x3ead9f['shift']());}}}(_0x5626,0xa9e8c));import{BaseSuggestionThreadView as _0x5c8207}from'./basesuggestionthreadview.js';function _0x2b3d(_0x1bb44b,_0x4fb662){const _0x562684=_0x5626();return _0x2b3d=function(_0x2b3d9e,_0x2c4d49){_0x2b3d9e=_0x2b3d9e-0x148;let _0x3cc804=_0x562684[_0x2b3d9e];return _0x3cc804;},_0x2b3d(_0x1bb44b,_0x4fb662);}import{trimHtml as _0x5a9c6e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5626(){const _0xb4aae2=['2WxVuAt','acceptSuggestion','color','_config','bind','_model','content','render','setTemplate','listitem','<p>','_descriptionElement','set','canDiscard','12uJmWqv','ck-rounded-corners','description','ariaDescriptionView','16tMiZSR','type','isActive','suggestionView','</p>','disableComments','discardSuggestion','commentsListView','div','acceptButton','27liEoYX','commentThreadInputView','commentThread','2404003BcKZhN','3iPQBRd','add','descriptionParts','getTemplate','2512810YNfgDH','11662134QaDWqi','push','delegate','ck-suggestion--disabled-comments','canAccept','discardButton','editorReady','author','713718rDyVbl','41227888NBbzWB','isEnabled','bindTemplate','10sjifPz','5299588DkjHdu','ck-suggestion-wrapper--active','SuggestionView','ariaLabel','focusables','editorDestroyed','1061524kQQzAa','ck-suggestion-wrapper','ck-suggestion-','formatDateTime'];_0x5626=function(){return _0xb4aae2;};return _0x5626();}import{renderDescription as _0x2aec17}from'../../utils/utils.js';export class SuggestionThreadView extends _0x5c8207{[_0x2dd547(0x149)];[_0x2dd547(0x17b)];constructor(_0x143a30,_0x31fcdb,_0x12374b,_0x3cbf3d){const _0x2daf87=_0x2dd547;super(_0x143a30,_0x31fcdb,_0x12374b,_0x3cbf3d),this[_0x2daf87(0x17c)](_0x2daf87(0x183),''),this[_0x2daf87(0x174)](_0x2daf87(0x183))['to'](this,_0x2daf87(0x156),_0x473759=>_0x473759&&_0x473759[0x0]?_0x473759[0x0][_0x2daf87(0x183)]:''),this[_0x2daf87(0x174)](_0x2daf87(0x180))['to'](this,_0x2daf87(0x156),this,_0x2daf87(0x148),(_0x3d4850,_0x42ef6d)=>{const _0x1ccbe8=_0x2daf87;let _0x42e86c='';for(const _0x54362e of _0x3d4850)_0x42e86c+=_0x1ccbe8(0x17a)+_0x2aec17(_0x54362e[_0x1ccbe8(0x176)],_0x54362e[_0x1ccbe8(0x172)])+_0x1ccbe8(0x14a);return _0x42ef6d?_0x42e86c:_0x5a9c6e(_0x42e86c,{'limit':0x8c});}),this[_0x2daf87(0x17b)]=null,this[_0x2daf87(0x149)]=new _0x3cbf3d[(_0x2daf87(0x168))](_0x143a30,_0x31fcdb,{'formatDateTime':_0x3cbf3d[_0x2daf87(0x16f)]}),this[_0x2daf87(0x149)][_0x2daf87(0x174)](_0x2daf87(0x180))['to'](this),this[_0x2daf87(0x149)][_0x2daf87(0x15b)](_0x2daf87(0x171),_0x2daf87(0x14c))['to'](this),this[_0x2daf87(0x149)][_0x2daf87(0x14f)][_0x2daf87(0x174)](_0x2daf87(0x163))['to'](this,_0x2daf87(0x15d)),this[_0x2daf87(0x149)][_0x2daf87(0x15e)][_0x2daf87(0x174)](_0x2daf87(0x163))['to'](this,_0x2daf87(0x17d)),this[_0x2daf87(0x16a)][_0x2daf87(0x155)](this[_0x2daf87(0x149)]),this[_0x2daf87(0x14d)]&&this[_0x2daf87(0x16a)][_0x2daf87(0x155)](this[_0x2daf87(0x14d)]),this[_0x2daf87(0x151)]&&this[_0x2daf87(0x16a)][_0x2daf87(0x155)](this[_0x2daf87(0x151)]),this[_0x2daf87(0x178)](this[_0x2daf87(0x157)]());}[_0x2dd547(0x157)](){const _0x2b0f96=_0x2dd547,_0x57e251=this[_0x2b0f96(0x164)],_0x471c3f=[this[_0x2b0f96(0x149)]];return this[_0x2b0f96(0x14d)]&&_0x471c3f[_0x2b0f96(0x15a)](this[_0x2b0f96(0x14d)]),this[_0x2b0f96(0x151)]&&_0x471c3f[_0x2b0f96(0x15a)](this[_0x2b0f96(0x151)]),_0x471c3f[_0x2b0f96(0x15a)](this[_0x2b0f96(0x181)]),{'tag':_0x2b0f96(0x14e),'attributes':{'class':['ck',_0x2b0f96(0x17f),_0x2b0f96(0x16d),_0x57e251['if'](_0x2b0f96(0x148),_0x2b0f96(0x167)),_0x57e251['to'](_0x2b0f96(0x183),_0x55521b=>_0x2b0f96(0x16e)+_0x55521b),this[_0x2b0f96(0x173)][_0x2b0f96(0x14b)]&&_0x2b0f96(0x15c)],'data-suggestion-id':this[_0x2b0f96(0x175)]['id'],'data-thread-id':this[_0x2b0f96(0x175)][_0x2b0f96(0x152)]['id'],'data-author-id':this[_0x2b0f96(0x175)][_0x2b0f96(0x160)]['id'],'tabindex':0x0,'role':_0x2b0f96(0x179),'aria-label':_0x57e251['to'](_0x2b0f96(0x169)),'aria-describedby':this[_0x2b0f96(0x181)]['id']},'children':_0x471c3f};}[_0x2dd547(0x177)](){const _0x3a1236=_0x2dd547;super[_0x3a1236(0x177)](),this[_0x3a1236(0x14d)]&&(this[_0x3a1236(0x14d)][_0x3a1236(0x15b)](_0x3a1236(0x15f))['to'](this),this[_0x3a1236(0x14d)][_0x3a1236(0x15b)](_0x3a1236(0x16b))['to'](this)),this[_0x3a1236(0x151)]&&(this[_0x3a1236(0x151)][_0x3a1236(0x15b)](_0x3a1236(0x15f))['to'](this),this[_0x3a1236(0x151)][_0x3a1236(0x15b)](_0x3a1236(0x16b))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x444691=_0x3eae;(function(_0x5dd300,_0x48f38e){const _0x566271=_0x3eae,_0x574967=_0x5dd300();while(!![]){try{const _0x1c09b5=-parseInt(_0x566271(0x187))/0x1+-parseInt(_0x566271(0x18e))/0x2*(-parseInt(_0x566271(0x18c))/0x3)+-parseInt(_0x566271(0x1a5))/0x4*(parseInt(_0x566271(0x161))/0x5)+-parseInt(_0x566271(0x1a4))/0x6+-parseInt(_0x566271(0x186))/0x7+parseInt(_0x566271(0x178))/0x8*(parseInt(_0x566271(0x15c))/0x9)+parseInt(_0x566271(0x1a6))/0xa;if(_0x1c09b5===_0x48f38e)break;else _0x574967['push'](_0x574967['shift']());}catch(_0x46468f){_0x574967['push'](_0x574967['shift']());}}}(_0x49c7,0x30483));import{FocusTracker as _0x351f17,KeystrokeHandler as _0x1db02e}from'ckeditor5/src/utils.js';function _0x3eae(_0x482852,_0x56a1e9){const _0x49c7ed=_0x49c7();return _0x3eae=function(_0x3eae6f,_0x347422){_0x3eae6f=_0x3eae6f-0x15c;let _0x4f911b=_0x49c7ed[_0x3eae6f];return _0x4f911b;},_0x3eae(_0x482852,_0x56a1e9);}import{View as _0x4eafac,ViewCollection as _0x746a96,FocusCycler as _0x353588}from'ckeditor5/src/ui.js';function _0x49c7(){const _0x39f73c=['target','ck-annotation__info-name','querySelector','set','@external','innerHTML','keystrokes','description','listenTo','extendTemplate','formatDateTime','Accept\x20suggestion','acceptSuggestion','focusables','setTemplate','getUserViewNotificationText','focusTracker','ck-annotation__content-wrapper','ck-suggestion--accept','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info-time','2333178euPaWX','196JVXFtb','7412430OcSNIG','_config','importWord','div','focus','EXTERNAL_SUGGESTION','enter','discardSuggestion','esc','execute','ck-annotation__info','ck-suggestion--discard','push','shift+tab','discardButton','9ecOmiS','_model','userView','ck-suggestion__actions','_createButton','14710GgSbrI','_setupKeyboardNavigation','time','ck-suggestion__main','ck-suggestion__user','element','authoredAt','.ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_SUGGESTION','name','acceptButton','Discard\x20suggestion','ck-annotation__user','ck-comment__external','span','render','ck-annotation__actions','creator','ck-suggestion','ck-comment__info-time','bind','bindTemplate','change:description','2390232xEuSBW','focusCycler','getTemplate','source','author','EXTERNAL_AVATAR','fire','ck-suggestion__info','locale','isExternal','presentation','tab','getExternalSuggestionNote','attributes','1652196ghyXPO','307462JvDako','ck-suggestion__info-name','ck-annotation','add','ck-annotation__main','972KPlsdg','focusFirst','1446UGLsOd'];_0x49c7=function(){return _0x39f73c;};return _0x49c7();}import{LateFocusButtonView as _0x46c2ed,UserView as _0x1410b0}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x3c9b92,IconCheck as _0x261791}from'ckeditor5/src/icons.js';import{getTranslation as _0x5f4129}from'../../utils/common-translations.js';export class SuggestionView extends _0x4eafac{[_0x444691(0x15e)];[_0x444691(0x16b)];[_0x444691(0x1b4)];[_0x444691(0x19c)];[_0x444691(0x19f)];[_0x444691(0x195)];[_0x444691(0x179)];[_0x444691(0x15d)];[_0x444691(0x1a7)];constructor(_0x20ca4b,_0x14e269,_0xd006da){const _0x4c5116=_0x444691;super(_0x20ca4b),this[_0x4c5116(0x15d)]=_0x14e269,this[_0x4c5116(0x1a7)]=_0xd006da,this[_0x4c5116(0x192)](_0x4c5116(0x196),''),this[_0x4c5116(0x175)](_0x4c5116(0x167))['to'](_0x14e269),this[_0x4c5116(0x16b)]=this[_0x4c5116(0x160)](_0x5f4129(_0x20ca4b,_0x4c5116(0x19a)),_0x261791,_0x4c5116(0x1a1),_0x4c5116(0x19b),'sw'),this[_0x4c5116(0x1b4)]=this[_0x4c5116(0x160)](_0x5f4129(_0x20ca4b,_0x4c5116(0x16c)),_0x3c9b92,_0x4c5116(0x1b1),_0x4c5116(0x1ad),'sw'),this[_0x4c5116(0x15e)]=new _0x1410b0(_0x20ca4b,_0x14e269[_0x4c5116(0x17c)],this[_0x4c5116(0x19e)]()),this[_0x4c5116(0x15e)][_0x4c5116(0x198)]({'attributes':{'class':[_0x4c5116(0x165),_0x4c5116(0x16d)],'aria-hidden':!0x0}}),this[_0x4c5116(0x19c)]=new _0x746a96([this[_0x4c5116(0x16b)],this[_0x4c5116(0x1b4)]]),this[_0x4c5116(0x19f)]=new _0x351f17(),this[_0x4c5116(0x195)]=new _0x1db02e(),this[_0x4c5116(0x179)]=new _0x353588({'focusables':this[_0x4c5116(0x19c)],'focusTracker':this[_0x4c5116(0x19f)],'keystrokeHandler':this[_0x4c5116(0x195)],'actions':{'focusPrevious':_0x4c5116(0x1b3),'focusNext':_0x4c5116(0x183)},'keystrokeHandlerOptions':{'filter':_0x1ac6e8=>_0x1ac6e8[_0x4c5116(0x18f)]!==this[_0x4c5116(0x166)]}}),this[_0x4c5116(0x19d)](this[_0x4c5116(0x17a)]());}[_0x444691(0x170)](){const _0x2e12a4=_0x444691;super[_0x2e12a4(0x170)]();const _0x634acb=this[_0x2e12a4(0x166)][_0x2e12a4(0x191)](_0x2e12a4(0x168));_0x634acb[_0x2e12a4(0x194)]=this[_0x2e12a4(0x196)],this['on'](_0x2e12a4(0x177),(_0x5acb97,_0x3491bf,_0x171fb7)=>{const _0x17c64a=_0x2e12a4;_0x634acb[_0x17c64a(0x194)]=_0x171fb7;}),this[_0x2e12a4(0x162)]();}[_0x444691(0x17a)](){const _0x135de5=_0x444691,_0x3abcae=this[_0x135de5(0x176)],_0x15658b=[{'tag':_0x135de5(0x1a9),'attributes':{'class':[_0x135de5(0x17f),_0x135de5(0x1b0)]},'children':[{'tag':_0x135de5(0x16f),'children':[{'text':this[_0x135de5(0x15e)][_0x135de5(0x16a)]}],'attributes':{'class':[_0x135de5(0x188),_0x135de5(0x190)],'data-cke-tooltip-text':this[_0x135de5(0x15e)][_0x135de5(0x16a)]}},{'tag':_0x135de5(0x163),'attributes':{'datetime':_0x3abcae['to'](_0x135de5(0x167)),'class':[_0x135de5(0x174),_0x135de5(0x1a3)]},'children':[{'text':_0x3abcae['to'](_0x135de5(0x167),_0xad095f=>this[_0x135de5(0x1a7)][_0x135de5(0x199)](_0xad095f))}]}]},{'tag':_0x135de5(0x1a9),'attributes':{'class':[_0x135de5(0x15f),_0x135de5(0x171)]},'children':[this[_0x135de5(0x16b)],this[_0x135de5(0x1b4)]]},{'tag':_0x135de5(0x1a9),'attributes':{'class':[_0x135de5(0x1a0)]}}];return this[_0x135de5(0x15d)][_0x135de5(0x181)]&&_0x15658b[_0x135de5(0x1b2)]({'tag':_0x135de5(0x1a9),'attributes':{'class':[_0x135de5(0x16e)]},'children':[{'text':this[_0x135de5(0x184)]()}]}),{'tag':_0x135de5(0x1a9),'attributes':{'class':[_0x135de5(0x173),_0x135de5(0x189)],'tabindex':-0x1},'children':[this[_0x135de5(0x15e)],{'tag':_0x135de5(0x1a9),'attributes':{'class':[_0x135de5(0x164),_0x135de5(0x18b)],'role':_0x135de5(0x182)},'children':_0x15658b}]};}[_0x444691(0x1aa)](){const _0x570d83=_0x444691;this[_0x570d83(0x166)][_0x570d83(0x1aa)]();}[_0x444691(0x19e)](){const _0x2f364c=_0x444691;return this[_0x2f364c(0x15d)][_0x2f364c(0x181)]?_0x2f364c(0x1a8)===this[_0x2f364c(0x15d)][_0x2f364c(0x185)][_0x2f364c(0x193)][_0x2f364c(0x17b)]?_0x5f4129(this[_0x2f364c(0x180)],_0x2f364c(0x1a2),this[_0x2f364c(0x15d)][_0x2f364c(0x172)][_0x2f364c(0x16a)]):_0x5f4129(this[_0x2f364c(0x180)],_0x2f364c(0x17d),this[_0x2f364c(0x15d)][_0x2f364c(0x172)][_0x2f364c(0x16a)]):null;}[_0x444691(0x184)](){const _0x540c0b=_0x444691;return _0x540c0b(0x1a8)===this[_0x540c0b(0x15d)][_0x540c0b(0x185)][_0x540c0b(0x193)][_0x540c0b(0x17b)]?_0x5f4129(this[_0x540c0b(0x180)],_0x540c0b(0x169)):_0x5f4129(this[_0x540c0b(0x180)],_0x540c0b(0x1ab));}[_0x444691(0x160)](_0x1fa1e4,_0x250559,_0x5e472c,_0x395a4f,_0x3678cf){const _0x860d49=_0x444691,_0xb2f1a5=new _0x46c2ed(this[_0x860d49(0x180)]);return _0xb2f1a5[_0x860d49(0x192)]({'label':_0x1fa1e4,'icon':_0x250559,'tooltip':!0x0,'tooltipPosition':_0x3678cf}),_0xb2f1a5[_0x860d49(0x198)]({'attributes':{'class':_0x5e472c}}),_0xb2f1a5['on'](_0x860d49(0x1af),()=>{const _0x4f0c61=_0x860d49;this[_0x4f0c61(0x17e)](_0x395a4f,this[_0x4f0c61(0x15d)]['id']);}),_0xb2f1a5;}[_0x444691(0x162)](){const _0x33f906=_0x444691,_0x20b5de=this[_0x33f906(0x166)];this[_0x33f906(0x195)][_0x33f906(0x197)](_0x20b5de);for(const _0x508946 of this[_0x33f906(0x19c)])this[_0x33f906(0x19f)][_0x33f906(0x18a)](_0x508946[_0x33f906(0x166)]),this[_0x33f906(0x195)][_0x33f906(0x197)](_0x508946[_0x33f906(0x166)]);this[_0x33f906(0x195)][_0x33f906(0x192)](_0x33f906(0x1ac),(_0x38def8,_0x15ca0d)=>{const _0x2927f9=_0x33f906;_0x20b5de===_0x38def8[_0x2927f9(0x18f)]&&(this[_0x2927f9(0x179)][_0x2927f9(0x18d)](),_0x15ca0d());}),this[_0x33f906(0x195)][_0x33f906(0x192)](_0x33f906(0x1ae),(_0x491c4c,_0x590097)=>{const _0x550fe2=_0x33f906;_0x20b5de!==_0x491c4c[_0x550fe2(0x18f)]&&(this[_0x550fe2(0x1aa)](),_0x590097());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b3b4e=_0x3129;(function(_0x599c89,_0x166c9b){const _0x5efac9=_0x3129,_0x21c91d=_0x599c89();while(!![]){try{const _0x5994c9=parseInt(_0x5efac9(0x108))/0x1+-parseInt(_0x5efac9(0x11c))/0x2*(parseInt(_0x5efac9(0x10f))/0x3)+parseInt(_0x5efac9(0x124))/0x4+-parseInt(_0x5efac9(0x123))/0x5*(parseInt(_0x5efac9(0x10b))/0x6)+-parseInt(_0x5efac9(0x109))/0x7*(parseInt(_0x5efac9(0x10c))/0x8)+-parseInt(_0x5efac9(0x11e))/0x9*(parseInt(_0x5efac9(0x121))/0xa)+-parseInt(_0x5efac9(0x126))/0xb*(-parseInt(_0x5efac9(0x10a))/0xc);if(_0x5994c9===_0x166c9b)break;else _0x21c91d['push'](_0x21c91d['shift']());}catch(_0x5734cb){_0x21c91d['push'](_0x21c91d['shift']());}}}(_0x26eb,0x34aa6));function _0x26eb(){const _0x5efef3=['1625OZDadN','1426908jiObbc','setTemplate','55znCFph','\x20ck-track-changes-preview__root-container','width','options','dialogRects','classes','42728NSbFyT','195013VJYjxX','1656348Ekmpxf','3948yWsxxy','56lhYFqx','ck-track-changes-preview','div','601134SFfmnZ','push','fire','setAttribute','previewDataReady','height','element','focus','content','createElement','setPreviewData','className','ck-reset','2AtbBho','innerHTML','2381769GubhTQ','render','style','10lzXRWA','data-ck-root-name'];_0x26eb=function(){return _0x5efef3;};return _0x26eb();}function _0x3129(_0x33b250,_0x599743){const _0x26eb17=_0x26eb();return _0x3129=function(_0x312942,_0xa23ddd){_0x312942=_0x312942-0x103;let _0x30eab5=_0x26eb17[_0x312942];return _0x30eab5;},_0x3129(_0x33b250,_0x599743);}import{View as _0x50d865}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x50d865{[_0x5b3b4e(0x105)];constructor(_0x3f8bcb,_0x5050b4){const _0x189d0d=_0x5b3b4e;super(_0x3f8bcb),this[_0x189d0d(0x105)]=_0x5050b4,this[_0x189d0d(0x125)]({'tag':_0x189d0d(0x10e),'attributes':{'class':['ck',_0x189d0d(0x11b),_0x189d0d(0x10d)],'tabindex':-0x1}});}[_0x5b3b4e(0x11f)](){const _0x3e504f=_0x5b3b4e;super[_0x3e504f(0x11f)](),this[_0x3e504f(0x115)][_0x3e504f(0x120)][_0x3e504f(0x104)]=this[_0x3e504f(0x105)][_0x3e504f(0x106)][_0x3e504f(0x104)]+'px',this[_0x3e504f(0x115)][_0x3e504f(0x120)][_0x3e504f(0x114)]=this[_0x3e504f(0x105)][_0x3e504f(0x106)][_0x3e504f(0x114)]+'px';}[_0x5b3b4e(0x119)](_0x14f410,_0x2c20f6){const _0x733637=_0x5b3b4e;if(!this[_0x733637(0x115)])return;const _0x2bf0f6=[];for(const [_0x351ad2,_0x1ade44]of _0x14f410){const _0x4ae312=document[_0x733637(0x118)](_0x733637(0x10e));_0x4ae312[_0x733637(0x112)](_0x733637(0x122),_0x351ad2),_0x4ae312[_0x733637(0x11a)]=_0x1ade44[_0x733637(0x107)]+_0x733637(0x103),_0x4ae312[_0x733637(0x11d)]=_0x1ade44[_0x733637(0x117)],_0x2bf0f6[_0x733637(0x110)](_0x4ae312);}_0x2c20f6(this[_0x733637(0x115)],_0x2bf0f6),this[_0x733637(0x115)][_0x733637(0x120)][_0x733637(0x114)]='',this[_0x733637(0x111)](_0x733637(0x113));}[_0x5b3b4e(0x116)](){const _0x435b02=_0x5b3b4e;this[_0x435b02(0x115)][_0x435b02(0x116)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x375bdd,_0x577071,_0x2ea2e5){const _0x3f0830=_0x375bdd['t'],t=_0x375bdd['t'];switch(_0x577071){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',_0x2ea2e5);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2ea2e5);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2ea2e5);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2ea2e5);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2ea2e5);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',_0x2ea2e5);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2ea2e5);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',_0x2ea2e5);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2ea2e5);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2ea2e5);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2ea2e5);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2ea2e5);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2ea2e5);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2ea2e5);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2ea2e5);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2ea2e5);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2ea2e5);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2ea2e5);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2ea2e5);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2ea2e5);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2ea2e5);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2ea2e5);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2ea2e5);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2ea2e5);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2ea2e5);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'},_0x2ea2e5);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2ea2e5);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2ea2e5);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2ea2e5);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2ea2e5);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2ea2e5);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2ea2e5);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2ea2e5);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'},_0x2ea2e5);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2ea2e5);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2ea2e5);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2ea2e5);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2ea2e5);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x2ea2e5);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2ea2e5);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'},_0x2ea2e5);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'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'},_0x2ea2e5);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2ea2e5);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'},_0x2ea2e5);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2ea2e5);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'},_0x2ea2e5);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2ea2e5);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2ea2e5);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'},_0x2ea2e5);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2ea2e5);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 _0x3f0830({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2ea2e5);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3f0830({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2ea2e5);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2ea2e5);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'},_0x2ea2e5);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'},_0x2ea2e5);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'},_0x2ea2e5);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x577071;}}
|
|
23
|
+
export function getTranslation(_0x30b7ae,_0x581e15,_0x1b96d2){const _0x268381=_0x30b7ae['t'],t=_0x30b7ae['t'];switch(_0x581e15){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',_0x1b96d2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1b96d2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1b96d2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1b96d2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1b96d2);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',_0x1b96d2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1b96d2);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',_0x1b96d2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1b96d2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1b96d2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1b96d2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1b96d2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1b96d2);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1b96d2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1b96d2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1b96d2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1b96d2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1b96d2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1b96d2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1b96d2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1b96d2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1b96d2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1b96d2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1b96d2);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1b96d2);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'},_0x1b96d2);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1b96d2);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1b96d2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1b96d2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1b96d2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1b96d2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1b96d2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1b96d2);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'},_0x1b96d2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1b96d2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1b96d2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1b96d2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1b96d2);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1b96d2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1b96d2);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'},_0x1b96d2);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'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'},_0x1b96d2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1b96d2);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'},_0x1b96d2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1b96d2);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'},_0x1b96d2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1b96d2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1b96d2);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'},_0x1b96d2);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1b96d2);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 _0x268381({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1b96d2);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x268381({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1b96d2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1b96d2);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'},_0x1b96d2);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'},_0x1b96d2);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'},_0x1b96d2);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x581e15;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44bc98,_0x306adc){const _0x1c1586=_0x453c,_0x470649=_0x44bc98();while(!![]){try{const _0x199a34=parseInt(_0x1c1586(0x121))/0x1+parseInt(_0x1c1586(0x118))/0x2*(-parseInt(_0x1c1586(0x12f))/0x3)+parseInt(_0x1c1586(0x139))/0x4+parseInt(_0x1c1586(0x141))/0x5*(-parseInt(_0x1c1586(0x122))/0x6)+-parseInt(_0x1c1586(0x140))/0x7+parseInt(_0x1c1586(0x143))/0x8+parseInt(_0x1c1586(0x129))/0x9;if(_0x199a34===_0x306adc)break;else _0x470649['push'](_0x470649['shift']());}catch(_0x376dc2){_0x470649['push'](_0x470649['shift']());}}}(_0x358e,0xbbed2));export function normalizeDescription(_0xa1fb22){const _0x1b0632=_0x453c;return Array[_0x1b0632(0x13f)](_0xa1fb22)||(_0xa1fb22=[_0xa1fb22]),_0xa1fb22[_0x1b0632(0x13e)](_0x4ea337=>{const _0x1bb9cd=_0x1b0632,_0x6c11d3=_0x4ea337[_0x1bb9cd(0x136)][_0x1bb9cd(0x135)](/\*/g,''),_0xb52b3c=_0x4ea337[_0x1bb9cd(0x127)]?_0x1bb9cd(0x130)+_0x4ea337[_0x1bb9cd(0x127)][_0x1bb9cd(0x12a)]+']':'';return'['+_0x4ea337[_0x1bb9cd(0x119)]+']\x20'+_0x6c11d3+_0xb52b3c;})[_0x1b0632(0x115)](';\x20');}export function renderDescription(_0x52419e,_0x355870){const _0x5067b7=_0x453c;let _0x98704d='';return _0x98704d+=_0x52419e[_0x5067b7(0x13d)]('*')[_0x5067b7(0x13e)]((_0x500fcc,_0x5d743e)=>_0x5d743e%0x2!=0x0?_0x5067b7(0x13a)+Zt(_0x500fcc)+_0x5067b7(0x13b):Zt(_0x500fcc))[_0x5067b7(0x115)](''),_0x355870&&(_0x98704d+=_0x5067b7(0x11d)+_0x355870[_0x5067b7(0x12a)]+_0x5067b7(0x144)+_0x355870[_0x5067b7(0x142)]+_0x5067b7(0x116)),_0x98704d;}function _0x453c(_0x160792,_0x8645ee){const _0x358e7e=_0x358e();return _0x453c=function(_0x453c5c,_0x479e4c){_0x453c5c=_0x453c5c-0x113;let _0x1164c9=_0x358e7e[_0x453c5c];return _0x1164c9;},_0x453c(_0x160792,_0x8645ee);}function _0x358e(){const _0x2b4ed7=['562443ktHihJ','507630fqIcax','change','innerText','push','isObject','color','sort','11420415fCqBui','value','createRange','span','createElement','length','9417qWdCPv','\x20[color\x20','execute','attribute','isInContent','next','replace','content','getRanges','isMultiRange','1756256xrnTPL','<span\x20class=\x22ck-suggestion-type\x22>','</span>','add','split','map','isArray','8460816khunDF','20oyNulJ','title','11521024hAGiuV','\x22\x20title=\x22','end','deletion','isCollapsed','innerHTML','createPositionBefore','isIntersecting','join','\x22></span>','splice','888UzZnQb','type','createPositionAt','createPositionAfter','isTouching','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','from','start','schema'];_0x358e=function(){return _0x2b4ed7;};return _0x358e();}function Zt(_0x4c6344){const _0x281f42=_0x453c,_0x141ba6=document[_0x281f42(0x12d)](_0x281f42(0x12c));return _0x141ba6[_0x281f42(0x124)]=_0x4c6344,_0x141ba6[_0x281f42(0x148)];}export function sortSuggestions(_0x3e34c3){const _0x4c3c20=_0x453c;return _0x3e34c3[_0x4c3c20(0x128)]((_0x296eea,_0x553004)=>_0x4c3c20(0x132)===_0x296eea[_0x4c3c20(0x119)]&&_0x4c3c20(0x132)!==_0x553004[_0x4c3c20(0x119)]?-0x1:_0x4c3c20(0x132)!==_0x296eea[_0x4c3c20(0x119)]&&_0x4c3c20(0x132)===_0x553004[_0x4c3c20(0x119)]?0x1:_0x4c3c20(0x146)==_0x296eea[_0x4c3c20(0x119)]&&_0x4c3c20(0x146)!=_0x553004[_0x4c3c20(0x119)]?-0x1:_0x4c3c20(0x146)!=_0x296eea[_0x4c3c20(0x119)]&&_0x4c3c20(0x146)==_0x553004[_0x4c3c20(0x119)]?0x1:0x0);}export function getSelectedSuggestions(_0x4346c6,_0x43cf36){const _0x57a0e7=_0x453c,_0xf9c971=Array[_0x57a0e7(0x11e)](_0x4346c6[_0x57a0e7(0x137)]()),_0x5a0bf9=new Set();for(const _0x5289f1 of _0x43cf36)if(_0x5289f1[_0x57a0e7(0x133)]){for(const _0xeb1554 of _0xf9c971)for(const _0x3d39f5 of _0x5289f1[_0x57a0e7(0x137)]())(_0xeb1554[_0x57a0e7(0x114)](_0x3d39f5)||_0x4346c6[_0x57a0e7(0x147)]&&!_0x5289f1[_0x57a0e7(0x138)]&&_0x5289f1[_0x57a0e7(0x134)]&&_0x3d39f5[_0x57a0e7(0x145)][_0x57a0e7(0x11c)](_0xeb1554[_0x57a0e7(0x11f)]))&&_0x5a0bf9[_0x57a0e7(0x13c)](_0x5289f1);}return _0x5a0bf9;}export function getRangesOfBlockGroups(_0x20bd54,_0x326f9d){const _0x148da0=_0x453c;let _0x21803e,_0x158683=0x0;const _0x2e60ce=[],_0x126505=_0x326f9d[_0x148da0(0x120)];for(;_0x158683<_0x20bd54[_0x148da0(0x12e)];){const _0x3d0261=_0x20bd54[_0x158683],_0x4ccaa4=_0x20bd54[_0x158683+0x1];_0x21803e||(_0x21803e=_0x326f9d[_0x148da0(0x113)](_0x3d0261)),tn(_0x326f9d,_0x3d0261,_0x4ccaa4)||(_0x2e60ce[_0x148da0(0x125)](_0x326f9d[_0x148da0(0x12b)](_0x21803e,_0x126505[_0x148da0(0x126)](_0x3d0261)?_0x326f9d[_0x148da0(0x11b)](_0x3d0261):_0x326f9d[_0x148da0(0x11a)](_0x3d0261,_0x148da0(0x145)))),_0x21803e=null),_0x158683++;}return _0x2e60ce;}function tn(_0x1febc7,_0x565942,_0x41f265){const _0x1feda6=_0x453c;if(!_0x41f265)return!0x1;const _0x3454d2=_0x1febc7[_0x1feda6(0x11b)](_0x565942),_0x1eb882=_0x1febc7[_0x1feda6(0x113)](_0x41f265);return _0x3454d2[_0x1feda6(0x11c)](_0x1eb882);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x48e621,_0x56b8d8,_0xa9c7cd){const _0xf4e47b=_0x453c;for(;_0xa9c7cd[_0xf4e47b(0x12e)];){const _0x141ee2=_0xa9c7cd[_0xf4e47b(0x117)](0x0,0x64);_0x48e621[_0xf4e47b(0x123)](()=>{const _0xf6bc2f=_0xf4e47b;for(const _0x3e0dd7 of _0x141ee2)_0x3e0dd7[_0xf6bc2f(0x133)]&&_0x56b8d8[_0xf6bc2f(0x131)](_0x3e0dd7['id']);});}}
|