@ckeditor/ckeditor5-track-changes 47.0.0-alpha.1 → 47.0.0-alpha.2
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
|
+
function _0x679f(_0x55ede5,_0xd5779f){const _0x3ea58b=_0x3ea5();return _0x679f=function(_0x679f5c,_0x4a9546){_0x679f5c=_0x679f5c-0x156;let _0x535d8d=_0x3ea58b[_0x679f5c];return _0x535d8d;},_0x679f(_0x55ede5,_0xd5779f);}const _0x47e6c3=_0x679f;(function(_0x1dc7fb,_0x326f8e){const _0x1e8886=_0x679f,_0x5b7942=_0x1dc7fb();while(!![]){try{const _0x3a3526=parseInt(_0x1e8886(0x15b))/0x1+-parseInt(_0x1e8886(0x169))/0x2+parseInt(_0x1e8886(0x164))/0x3*(-parseInt(_0x1e8886(0x15e))/0x4)+-parseInt(_0x1e8886(0x161))/0x5+-parseInt(_0x1e8886(0x166))/0x6*(-parseInt(_0x1e8886(0x160))/0x7)+parseInt(_0x1e8886(0x16a))/0x8+-parseInt(_0x1e8886(0x157))/0x9*(parseInt(_0x1e8886(0x15c))/0xa);if(_0x3a3526===_0x326f8e)break;else _0x5b7942['push'](_0x5b7942['shift']());}catch(_0x1e0080){_0x5b7942['push'](_0x5b7942['shift']());}}}(_0x3ea5,0xcda39));import{Plugin as _0x10b359}from'ckeditor5/src/core.js';import{Dialog as _0xa4ff05}from'ckeditor5/src/ui.js';function _0x3ea5(){const _0x4a5e69=['appendChild','TrackChangesPreview','297828OFNQaX','define','previewFinalContent','editor','1062491qLOjOu','10QyDmHF','add','4WFKrdX','config','8604421tOkiVw','5133740qFsVEZ','isPremiumPlugin','isOfficialPlugin','998292GpzuCP','trackChanges.preview.renderFunction','6OcZDLp','requires','commands','2292602pMkImm','8716064TGHYBJ','pluginName'];_0x3ea5=function(){return _0x4a5e69;};return _0x3ea5();}import{TrackChangesData as _0x4103cd}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x8e450d}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x10b359{static get[_0x47e6c3(0x167)](){return[_0x4103cd,_0xa4ff05];}static get[_0x47e6c3(0x16b)](){const _0x471735=_0x47e6c3;return _0x471735(0x156);}static get[_0x47e6c3(0x163)](){return!0x0;}static get[_0x47e6c3(0x162)](){return!0x0;}constructor(_0x23a88b){const _0x45245b=_0x47e6c3;super(_0x23a88b),_0x23a88b[_0x45245b(0x168)][_0x45245b(0x15d)](_0x45245b(0x159),new _0x8e450d(this[_0x45245b(0x15a)])),_0x23a88b[_0x45245b(0x15f)][_0x45245b(0x158)](_0x45245b(0x165),(_0x3d46f5,_0x4f9091)=>{const _0x446e1c=_0x45245b;for(const _0x411336 of _0x4f9091)_0x3d46f5[_0x446e1c(0x16c)](_0x411336);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x757e2a=_0x421d;(function(_0x28bff0,_0x54505d){const _0x5f543d=_0x421d,_0x462458=_0x28bff0();while(!![]){try{const _0x10b2f2=parseInt(_0x5f543d(0xd9))/0x1+-parseInt(_0x5f543d(0xea))/0x2*(parseInt(_0x5f543d(0xda))/0x3)+-parseInt(_0x5f543d(0xf7))/0x4*(-parseInt(_0x5f543d(0xe4))/0x5)+parseInt(_0x5f543d(0xbc))/0x6+parseInt(_0x5f543d(0x8e))/0x7+-parseInt(_0x5f543d(0xcb))/0x8*(parseInt(_0x5f543d(0x138))/0x9)+parseInt(_0x5f543d(0xc9))/0xa*(-parseInt(_0x5f543d(0x12f))/0xb);if(_0x10b2f2===_0x54505d)break;else _0x462458['push'](_0x462458['shift']());}catch(_0x40826a){_0x462458['push'](_0x462458['shift']());}}}(_0xd037,0x478a8));import{Plugin as _0x128b52}from'ckeditor5/src/core.js';function _0x421d(_0x5b8ef3,_0x3b316c){const _0xd0370a=_0xd037();return _0x421d=function(_0x421db3,_0x185a71){_0x421db3=_0x421db3-0x8c;let _0x4a7ef3=_0xd0370a[_0x421db3];return _0x4a7ef3;},_0x421d(_0x5b8ef3,_0x3b316c);}import{Collection as _0x323b9c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2a9740}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1968f5,createDropdown as _0x310998,ListSeparatorView as _0x1ea638,MenuBarMenuView as _0x3f03f9,MenuBarMenuListView as _0x57d623,MenuBarMenuListItemView as _0x542150,MenuBarMenuListItemButtonView as _0x225954,SplitButtonView as _0x510d82,UIModel as _0x80015d}from'ckeditor5/src/ui.js';import{Users as _0x118f33,getDateTimeFormatter as _0x1d1e31,getAllMarkersDomElementsSorted as _0x3a79b2}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1084ea}from'./trackchangesediting.js';import{SuggestionController as _0x579d29}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x2bcb91}from'./ui/view/suggestionthreadview.js';function _0xd037(){const _0x33f604=['separator','_licenseKeyCheckInterval','getFirstRange','filter','isMultiRange','discardButton','createAnnotationView','Discard\x20all\x20selected\x20suggestions','refreshSelectedViews','domainLimit','trackChangesLicenseKeyNotAllowed','menuitem','innerView','init','fire','Preview\x20final\x20content','suggestion-','trackChangesLicenseKeyUsageLimit','comments.maxCommentsWhenCollapsed','_createMenuBarMenu','commands','keys','129118cxxosG','TrackChangesUI','unbind','comments','mainView','view','invalid','getSuggestion','values','45aSYIlV','EditorAnnotations','TrackChanges','commentThread','children','isPremiumPlugin','suggestionLoaded','previous','commentsListView','561533mdvLLk','acceptButton','lowest','acceptSelectedSuggestions','arrowView','toMany','comments.maxThreadTotalWeight','menu','addSourceCollector','trackChangesLicenseKeyDomainLimit','CommentsUI','hasSuggestion','discardSelectedSuggestions','suggestionChanged','bind','suggestionUnloaded','execute','componentFactory','change:previous','descriptionFactory','previewFinalContent','_handleSuggestionControllerDelayed','_addUIComponentsToFactory','featureNotAllowed','discardAllSuggestions','editing','createCommentThreadController','_initializeController','acceptAllSuggestions','change:activeAnnotations','focus','_refreshActiveMarkers','evaluationLimit','buttonView','Annotations','has','escape','TrackChangesEditing','isInContent','getMarkerNames','_suggestionToController','head','_handleControllerBuffer','trackChanges','requires','registerAnnotation','2361000vpXrXI','delegate','trackChangesLicenseKeyTrialLimit','isDirty','SuggestionThreadView','actionView','plugins','_bindAnnotationToEditors','Track\x20changes','comments.editorConfig','reduce','set','config','610stJHVY','Discard\x20all\x20suggestions','333296gPpSqI','clear','CommentView','Accept\x20all\x20selected\x20suggestions','_updateController','isOn','pluginName','_viewToController','add','addMany','_showLicenseError','switchbutton','some','commandName','515584yRfWhR','2919xvrjfr','get','stopListening','trialLimit','getAnnotationForSuggestion','_unbindEditors','isEnabled','locale','SuggestionView','type','381155VHazDY','trackChanges.disableComments','comments.maxCommentCharsWhenCollapsed','getByInnerView','define','usageLimit','158xriOlJ','suggestionView','getMarkers','panelView','trackChanges.SuggestionThreadView','push','getJoined','value','_annotationViews','createAnnotation','Accept\x20all\x20suggestions','_disableComments','_createToolbarButton','16mKDrOQ','trackChanges.SuggestionView','length','source','expired','listenTo','getDescriptions','delete','CommentsRepository','items','trackChangesLicenseKeyExpired','remove','model','destroy','activeMarkers','licenseKey','activeAnnotations','TrackChangesPreview','menuBar:trackChanges','getRanges','trackChangesLicenseKeyEvaluationLimit','addComment','isOfficialPlugin','descriptionParts','menuitemcheckbox','button','_destroyController','size','getSuggestionForAnnotation','trackChangesLicenseKeyValid','trackChangesLicenseKeyInvalid','from','getAllAdjacentSuggestions','editor'];_0xd037=function(){return _0x33f604;};return _0xd037();}import{SuggestionView as _0x433b95}from'./ui/view/suggestionview.js';import{getTranslation as _0x4405ca}from'./utils/common-translations.js';export class TrackChangesUI extends _0x128b52{[_0x757e2a(0x106)];[_0x757e2a(0x11a)];[_0x757e2a(0xb6)];[_0x757e2a(0xd2)];[_0x757e2a(0xf2)];[_0x757e2a(0xb8)];[_0x757e2a(0xf5)];static get[_0x757e2a(0xba)](){const _0xfbef41=_0x757e2a;return[_0x1084ea,_0x118f33,_0xfbef41(0xff),_0xfbef41(0xb0),_0xfbef41(0x139)];}static get[_0x757e2a(0xd1)](){const _0xee30e8=_0x757e2a;return _0xee30e8(0x130);}static get[_0x757e2a(0x10d)](){return!0x0;}static get[_0x757e2a(0x13d)](){return!0x0;}constructor(_0x2cc98c){const _0x39e89a=_0x757e2a;super(_0x2cc98c),this[_0x39e89a(0xb6)]=new Map(),this[_0x39e89a(0xd2)]=new Map(),this[_0x39e89a(0xf2)]=new Map(),this[_0x39e89a(0xb8)]=new Map();const _0x4655b4=this[_0x39e89a(0x118)][_0x39e89a(0xc8)];_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xee),_0x2bcb91),_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xf8),_0x433b95),_0x4655b4[_0x39e89a(0xe8)](_0x39e89a(0xe5),!0x1),this[_0x39e89a(0xf5)]=_0x4655b4[_0x39e89a(0xdb)](_0x39e89a(0xe5));}[_0x757e2a(0xa3)](_0x4a0660,_0x2eee77){const _0x513545=_0x757e2a;0x0===this[_0x513545(0xb8)][_0x513545(0x112)]&&setTimeout(()=>{const _0x4b3b1e=_0x513545;for(const [_0x4ce748,_0xfa7a0d]of this[_0x4b3b1e(0xb8)]){const _0x30c226=this[_0x4b3b1e(0xb6)][_0x4b3b1e(0xb1)](_0x4ce748);_0x30c226||_0xfa7a0d?_0x30c226&&_0xfa7a0d&&this[_0x4b3b1e(0x111)](_0x4ce748):this[_0x4b3b1e(0xa9)](_0x4ce748);}this[_0x4b3b1e(0xb8)][_0x4b3b1e(0xcc)](),this[_0x4b3b1e(0x118)][_0x4b3b1e(0xc2)][_0x4b3b1e(0xdb)](_0x4b3b1e(0x139))[_0x4b3b1e(0x121)](),this[_0x4b3b1e(0xad)]();},0xa),this[_0x513545(0xb8)][_0x513545(0xc7)](_0x4a0660,_0x2eee77);}[_0x757e2a(0x126)](){const _0x18f33a=_0x757e2a,_0x1de1d0=this[_0x18f33a(0x118)],_0x5e123f=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xb3)),_0x132745=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xb0)),_0xfec4b5=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0x139)),_0x4d0194=_0x1de1d0[_0x18f33a(0xc2)][_0x18f33a(0xdb)](_0x18f33a(0xff));this[_0x18f33a(0xa4)](),_0xfec4b5[_0x18f33a(0x96)](()=>{const _0x421b80=_0x18f33a,_0x5d22b6=[];for(const [_0x5c1188,_0x384abf]of Array[_0x421b80(0x116)](this[_0x421b80(0xb6)])){const _0x15c8b2=_0x5c1188[_0x421b80(0x117)](),_0x1a6e8a=[];for(const _0x6cab1c of _0x15c8b2){if(!_0x6cab1c[_0x421b80(0xb4)])continue;if(_0x6cab1c[_0x421b80(0x11d)]){_0x1a6e8a[_0x421b80(0xef)](..._0x6cab1c[_0x421b80(0x10a)]());continue;}const _0x2d2d1f=_0x6cab1c[_0x421b80(0x11b)]();if(_0x1a6e8a[_0x421b80(0xf9)]>0x0){const _0xdc1851=_0x1a6e8a[0x0][_0x421b80(0xf0)](_0x2d2d1f);if(_0xdc1851){_0x1a6e8a[0x0]=_0xdc1851;continue;}}_0x1a6e8a[_0x421b80(0xef)](_0x2d2d1f);}_0x5d22b6[_0x421b80(0xef)]([_0x384abf[_0x421b80(0x134)],_0x1a6e8a]);}return _0x5d22b6;}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x13e),(_0x309ab1,_0x8da375)=>{const _0x134e9a=_0x18f33a;this[_0x134e9a(0xfc)](_0x8da375,_0x134e9a(0xa0),(_0x527591,_0x3ff4ad,_0x4ff26c,_0x210151)=>{const _0x1b6045=_0x134e9a;_0x8da375[_0x1b6045(0xb4)]&&(null==_0x4ff26c?(this[_0x1b6045(0xcf)](_0x210151[_0x1b6045(0xb7)]),this[_0x1b6045(0xa3)](_0x8da375,!0x1)):(this[_0x1b6045(0xcf)](_0x4ff26c[_0x1b6045(0xb7)]),null==_0x210151&&this[_0x1b6045(0xa3)](_0x8da375,!0x0)));}),null!==_0x8da375[_0x134e9a(0x8c)]?this[_0x134e9a(0xcf)](_0x8da375[_0x134e9a(0xb7)]):this[_0x134e9a(0xa3)](_0x8da375,!0x1);}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x9d),(_0x38d3c4,_0x46da64,_0x11a304)=>{const _0x40d593=_0x18f33a;this[_0x40d593(0xdc)](_0x46da64,_0x40d593(0xa0)),this[_0x40d593(0xb8)][_0x40d593(0xfe)](_0x46da64),this[_0x40d593(0xb6)][_0x40d593(0xb1)](_0x46da64)&&this[_0x40d593(0x111)](_0x46da64),_0x11a304&&this[_0x40d593(0xcf)](_0x11a304[_0x40d593(0xb7)]);}),this[_0x18f33a(0xfc)](_0x5e123f,_0x18f33a(0x9b),(_0x4562cc,_0x154fa5)=>{const _0x376b5a=_0x18f33a;this[_0x376b5a(0xcf)](_0x154fa5);}),this[_0x18f33a(0xfc)](_0x132745,_0x18f33a(0xab),()=>{const _0x4d7a58=_0x18f33a;this[_0x4d7a58(0xad)]();}),this[_0x18f33a(0xfc)](_0x4d0194,_0x18f33a(0x10c),(_0x3815a4,{threadId:_0x76e8bd,isFromAdapter:_0x5f4aa2})=>{const _0x2c8986=_0x18f33a;if(_0x5f4aa2||!_0x5e123f[_0x2c8986(0x99)](_0x76e8bd))return;const _0x390631=_0x5e123f[_0x2c8986(0x136)](_0x76e8bd);this[_0x2c8986(0xb6)][_0x2c8986(0xdb)](_0x390631)[_0x2c8986(0x134)][_0x2c8986(0x8d)][_0x2c8986(0xac)](-0x1);},{'priority':_0x18f33a(0x90)}),this[_0x18f33a(0x106)]=this[_0x18f33a(0x118)][_0x18f33a(0xc8)][_0x18f33a(0xdb)](_0x18f33a(0x106));const _0x370a30=this[_0x18f33a(0x118)];this[_0x18f33a(0x11a)]=setInterval(()=>{const _0x2bf5e6=_0x18f33a;let _0x5c3ede;for(const _0x2dba8f in _0x370a30){const _0x483590=_0x2dba8f,_0x456df7=_0x370a30[_0x483590];if(_0x2bf5e6(0x114)==_0x456df7||_0x2bf5e6(0x115)==_0x456df7||_0x2bf5e6(0x101)==_0x456df7||_0x2bf5e6(0x97)==_0x456df7||_0x2bf5e6(0x123)==_0x456df7||_0x2bf5e6(0x10b)==_0x456df7||_0x2bf5e6(0xbe)==_0x456df7||_0x2bf5e6(0x12a)==_0x456df7){delete _0x370a30[_0x483590],_0x5c3ede=_0x456df7,clearInterval(this[_0x2bf5e6(0x11a)]),this[_0x2bf5e6(0x11a)]=void 0x0;break;}}_0x2bf5e6(0x115)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0x135)),_0x2bf5e6(0x101)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xfb)),_0x2bf5e6(0x97)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0x122)),_0x2bf5e6(0x123)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xa5),_0x2bf5e6(0x13a)),_0x2bf5e6(0x10b)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xae)),_0x2bf5e6(0xbe)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xdd)),_0x2bf5e6(0x12a)==_0x5c3ede&&_0x370a30[_0x2bf5e6(0xd5)](_0x2bf5e6(0xe9));},0x3e8);}[_0x757e2a(0xde)](_0x2de06a){const _0x5e600e=_0x757e2a,_0x206215=this[_0x5e600e(0xb6)][_0x5e600e(0xdb)](_0x2de06a);if(!_0x206215)return null;return this[_0x5e600e(0x118)][_0x5e600e(0xc2)][_0x5e600e(0xdb)](_0x5e600e(0xb0))[_0x5e600e(0xe7)](_0x206215[_0x5e600e(0x134)])||null;}[_0x757e2a(0x113)](_0x38b91e){const _0xa2516f=_0x757e2a,_0x3e2a0c=this[_0xa2516f(0xd2)][_0xa2516f(0xdb)](_0x38b91e[_0xa2516f(0x125)]);return _0x3e2a0c?_0x3e2a0c[_0xa2516f(0x103)]:null;}[_0x757e2a(0xad)](){const _0x2d5b19=_0x757e2a,_0x2ee900=this[_0x2d5b19(0x118)][_0x2d5b19(0xc2)][_0x2d5b19(0xdb)](_0x2d5b19(0xb0)),_0x19c240=this[_0x2d5b19(0x118)][_0x2d5b19(0xc2)][_0x2d5b19(0xdb)](_0x2d5b19(0xb3)),_0x1f9773=Array[_0x2d5b19(0x116)](_0x2ee900[_0x2d5b19(0x107)],_0x43575f=>_0x43575f[_0x2d5b19(0x125)])[_0x2d5b19(0x11c)](_0x840d85=>this[_0x2d5b19(0xd2)][_0x2d5b19(0xb1)](_0x840d85)),_0x40d10c=[];for(const _0x24ca0e of _0x1f9773){const _0x2d0b9d=this[_0x2d5b19(0xd2)][_0x2d5b19(0xdb)](_0x24ca0e)[_0x2d5b19(0x103)][_0x2d5b19(0x117)]();_0x40d10c[_0x2d5b19(0xef)](..._0x2d0b9d[_0x2d5b19(0xc6)]((_0x52997c,_0x5c8bbd)=>[..._0x52997c,..._0x5c8bbd[_0x2d5b19(0xb5)]()],[]));}_0x19c240[_0x2d5b19(0x105)]=_0x40d10c;}[_0x757e2a(0xa4)](){const _0x2ab974=_0x757e2a,_0x14a4da=this[_0x2ab974(0x118)],_0x51313c=_0x14a4da[_0x2ab974(0xe1)],_0x2af7e1=_0x4405ca(_0x51313c,_0x2ab974(0xc4)),_0x2adb87=new _0x323b9c([{'type':_0x2ab974(0xd6),'model':new _0x80015d({'withText':!0x0,'isToggleable':!0x0,'label':_0x2af7e1,'commandName':_0x2ab974(0xb9),'role':_0x2ab974(0x10f)})},{'type':_0x2ab974(0x119)},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xf4)),'commandName':_0x2ab974(0xaa),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xce)),'commandName':_0x2ab974(0x91),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0xca)),'commandName':_0x2ab974(0xa6),'role':_0x2ab974(0x124)})},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0x120)),'commandName':_0x2ab974(0x9a),'role':_0x2ab974(0x124)})}]);_0x14a4da[_0x2ab974(0xc2)][_0x2ab974(0xb1)](_0x2ab974(0x108))&&_0x2adb87[_0x2ab974(0xd4)]([{'type':_0x2ab974(0x119)},{'type':_0x2ab974(0x110),'model':new _0x80015d({'withText':!0x0,'label':_0x4405ca(_0x51313c,_0x2ab974(0x128)),'commandName':_0x2ab974(0xa2),'role':_0x2ab974(0x124)})}]);for(const _0x23a8c7 of _0x2adb87)if(ve(_0x23a8c7)){const _0x3ae68a=_0x14a4da[_0x2ab974(0x12d)][_0x2ab974(0xdb)](_0x23a8c7[_0x2ab974(0x103)][_0x2ab974(0xd8)]);_0x23a8c7[_0x2ab974(0x103)][_0x2ab974(0x9c)](_0x2ab974(0xd0),_0x2ab974(0xe0))['to'](_0x3ae68a,_0x2ab974(0xf1),_0x2ab974(0xe0));}_0x14a4da['ui'][_0x2ab974(0x9f)][_0x2ab974(0xd3)](_0x2ab974(0xb9),_0x33002b=>this[_0x2ab974(0xf6)](_0x33002b,_0x2adb87,_0x2af7e1)),_0x14a4da['ui'][_0x2ab974(0x9f)][_0x2ab974(0xd3)](_0x2ab974(0x109),_0x573cfa=>this[_0x2ab974(0x12c)](_0x573cfa,_0x2adb87,_0x2af7e1));}[_0x757e2a(0xf6)](_0xf54c85,_0x3a5012,_0x509934){const _0x10bd38=_0x757e2a,_0x141a82=_0x310998(_0xf54c85,_0x510d82),_0x5d3185=this[_0x10bd38(0x118)][_0x10bd38(0x12d)][_0x10bd38(0xdb)](_0x10bd38(0xb9));_0x141a82[_0x10bd38(0xaf)][_0x10bd38(0xc7)]({'tooltip':_0x509934,'label':_0x509934,'icon':_0x2a9740}),_0x141a82[_0x10bd38(0xaf)][_0x10bd38(0x9c)](_0x10bd38(0xd0))['to'](_0x5d3185,_0x10bd38(0xf1)),_0x141a82[_0x10bd38(0xaf)]['on'](_0x10bd38(0x9e),()=>{const _0x19464a=_0x10bd38;_0x5d3185[_0x19464a(0x9e)](),this[_0x19464a(0x118)][_0x19464a(0xa7)][_0x19464a(0x134)][_0x19464a(0xac)]();}),_0x1968f5(_0x141a82,_0x3a5012,{'role':_0x10bd38(0x95)});const _0x47d8fa=[];for(const _0x4807bb of _0x3a5012)ve(_0x4807bb)&&_0x47d8fa[_0x10bd38(0xef)](this[_0x10bd38(0x118)][_0x10bd38(0x12d)][_0x10bd38(0xdb)](_0x4807bb[_0x10bd38(0x103)][_0x10bd38(0xd8)]));const _0x5b2a51=_0x141a82[_0x10bd38(0xaf)];return _0x5b2a51[_0x10bd38(0xc1)][_0x10bd38(0x131)](_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0x92)][_0x10bd38(0x131)](_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0xc1)][_0x10bd38(0x9c)](_0x10bd38(0xe0))['to'](_0x5d3185,_0x10bd38(0xe0)),_0x5b2a51[_0x10bd38(0x92)][_0x10bd38(0x9c)](_0x10bd38(0xe0))[_0x10bd38(0x93)](_0x47d8fa,_0x10bd38(0xe0),(..._0x2a79a4)=>_0x2a79a4[_0x10bd38(0xd7)](_0x2f3ed7=>_0x2f3ed7)),_0x141a82['on'](_0x10bd38(0x9e),_0xcd5c47=>{const _0x182bd5=_0x10bd38;this[_0x182bd5(0x118)][_0x182bd5(0x9e)](_0xcd5c47[_0x182bd5(0xfa)][_0x182bd5(0xd8)]),this[_0x182bd5(0x118)][_0x182bd5(0xa7)][_0x182bd5(0x134)][_0x182bd5(0xac)]();}),_0x141a82;}[_0x757e2a(0x12c)](_0x45232a,_0x3a3a49,_0x24c534){const _0x4bacf6=_0x757e2a,_0x2d700d=new _0x3f03f9(_0x45232a),_0x2fbaaf=this[_0x4bacf6(0x118)][_0x4bacf6(0x12d)][_0x4bacf6(0xdb)](_0x4bacf6(0xb9));_0x2d700d[_0x4bacf6(0xaf)][_0x4bacf6(0xc7)]({'label':_0x24c534,'icon':_0x2a9740});const _0x4bd819=new _0x57d623(_0x45232a);for(const _0xc7c278 of _0x3a3a49){if(_0x4bacf6(0x119)==_0xc7c278[_0x4bacf6(0xe3)]){_0x4bd819[_0x4bacf6(0x100)][_0x4bacf6(0xd3)](new _0x1ea638(_0x45232a));continue;}const _0x5cebc6=new _0x542150(_0x45232a,_0x2d700d),_0x4e0e72=new _0x225954(_0x45232a),_0x4fc469=_0xc7c278[_0x4bacf6(0x103)];_0x4e0e72[_0x4bacf6(0x9c)](...Object[_0x4bacf6(0x12e)](_0x4fc469))['to'](_0x4fc469),_0x4e0e72[_0x4bacf6(0xbd)](_0x4bacf6(0x9e))['to'](_0x2d700d),_0x4e0e72['on'](_0x4bacf6(0x9e),()=>{const _0x183af8=_0x4bacf6;this[_0x183af8(0x118)][_0x183af8(0x9e)](_0x4fc469[_0x183af8(0xd8)]),this[_0x183af8(0x118)][_0x183af8(0xa7)][_0x183af8(0x134)][_0x183af8(0xac)]();}),_0x5cebc6[_0x4bacf6(0x13c)][_0x4bacf6(0xd3)](_0x4e0e72),_0x4bd819[_0x4bacf6(0x100)][_0x4bacf6(0xd3)](_0x5cebc6);}return _0x2d700d[_0x4bacf6(0x9c)](_0x4bacf6(0xe0))['to'](_0x2fbaaf,_0x4bacf6(0xe0)),_0x2d700d[_0x4bacf6(0xed)][_0x4bacf6(0x13c)][_0x4bacf6(0xd3)](_0x4bd819),_0x2d700d;}[_0x757e2a(0xa9)](_0x12932e){const _0x4bbf04=_0x757e2a,_0xd7f53f=this[_0x4bbf04(0x118)],_0x3febd1=_0xd7f53f[_0x4bbf04(0xc8)],_0x4687d5=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xb0)),_0x58eb28=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xff)),_0x11c6e2=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0x139)),_0x42e685=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x118f33)['me'],_0x42acef=_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xb9))[_0x4bbf04(0xc0)],_0x410a68=_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xb9))[_0x4bbf04(0xe2)],{CommentsListView:_0x5cb00b,CommentThreadInputView:_0x3aa30c}=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0x98));let _0x13bf74,_0x9080fd,_0x180903;this[_0x4bbf04(0xf2)][_0x4bbf04(0xb1)](_0x12932e['id'])?(_0x9080fd=this[_0x4bbf04(0xf2)][_0x4bbf04(0xdb)](_0x12932e['id']),_0x13bf74=_0x9080fd[_0x4bbf04(0x133)]):(_0x13bf74=new _0x42acef(_0xd7f53f[_0x4bbf04(0xe1)],_0x12932e,_0x42e685,{'disableComments':this[_0x4bbf04(0xf5)],'editorConfig':{..._0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xc5)),'licenseKey':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x106))},'maxCommentsWhenCollapsed':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x12b)),'maxThreadTotalWeight':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x94)),'maxCommentCharsWhenCollapsed':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xe6)),'formatDateTime':_0x1d1e31(_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0xe1)),_0xd7f53f[_0x4bbf04(0xe1)]),'CommentView':_0x3febd1[_0x4bbf04(0xdb)](_0x4bbf04(0x132))[_0x4bbf04(0xcd)],'CommentsListView':_0x5cb00b,'CommentThreadInputView':_0x3aa30c,'SuggestionView':_0x410a68}),_0x13bf74[_0x4bbf04(0xeb)][_0x4bbf04(0x8f)]['on'](_0x4bbf04(0x9e),()=>{const _0x2683c5=_0x4bbf04;_0xd7f53f[_0x2683c5(0xa7)][_0x2683c5(0x134)][_0x2683c5(0xac)]();}),_0x13bf74[_0x4bbf04(0xeb)][_0x4bbf04(0x11e)]['on'](_0x4bbf04(0x9e),()=>{const _0x2fe602=_0x4bbf04;_0xd7f53f[_0x2fe602(0xa7)][_0x2fe602(0x134)][_0x2fe602(0xac)]();}),_0x9080fd=_0x4687d5[_0x4bbf04(0x11f)](this[_0x4bbf04(0x118)][_0x4bbf04(0xe1)],_0x13bf74),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xbf))['to'](_0x13bf74,_0x4bbf04(0xbf)),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xf9))['to'](_0x13bf74),_0x9080fd[_0x4bbf04(0x9c)](_0x4bbf04(0xe3))['to'](_0x13bf74,_0x4bbf04(0xe3),_0x328ec7=>_0x4bbf04(0x129)+_0x328ec7),_0x13bf74['on'](_0x4bbf04(0xb2),()=>{const _0x22348d=_0x4bbf04;_0x180903[_0x22348d(0x127)](_0x22348d(0xb2));}),this[_0x4bbf04(0xf2)][_0x4bbf04(0xc7)](_0x12932e['id'],_0x9080fd));const _0x434bbf=_0x58eb28[_0x4bbf04(0xa8)](_0x12932e[_0x4bbf04(0x13b)],_0x13bf74),_0x4b21db=new _0x579d29(_0xd7f53f,_0x12932e,_0x13bf74,_0x434bbf),_0x80b286=_0x12932e[_0x4bbf04(0x117)]()[_0x4bbf04(0x11c)](_0x4aa45f=>_0x4aa45f[_0x4bbf04(0xb4)]);_0x13bf74[_0x4bbf04(0x10e)]=_0xd7f53f[_0x4bbf04(0xc2)][_0x4bbf04(0xdb)](_0x4bbf04(0xb3))[_0x4bbf04(0xa1)][_0x4bbf04(0xfd)](_0x80b286),this[_0x4bbf04(0xb6)][_0x4bbf04(0xc7)](_0x12932e,_0x4b21db),this[_0x4bbf04(0xd2)][_0x4bbf04(0xc7)](_0x13bf74,_0x4b21db);const _0x3a80f9=()=>{const _0x3b34ca=_0x4bbf04,_0x2a87ec=[],_0x45c2f1=_0x12932e[_0x3b34ca(0x117)]()[_0x3b34ca(0x11c)](_0x25ca22=>_0x25ca22[_0x3b34ca(0xb4)]);for(const _0x75dbf9 of _0x45c2f1)_0x2a87ec[_0x3b34ca(0xef)](..._0x75dbf9[_0x3b34ca(0xec)]());return _0x3a79b2(_0xd7f53f[_0x3b34ca(0xa7)],_0x2a87ec);};_0x180903=_0x4687d5[_0x4bbf04(0xf3)]({'view':_0x9080fd,'target':_0x3a80f9,'type':()=>_0x4bbf04(0x129)+_0x4b21db[_0x4bbf04(0x134)][_0x4bbf04(0xe3)],'isVisible':!!_0x3a80f9()}),_0x58eb28[_0x4bbf04(0xc3)](_0x13bf74,_0x180903),_0x4687d5[_0x4bbf04(0xd3)](_0x180903),_0x11c6e2[_0x4bbf04(0xbb)](_0x180903);}[_0x757e2a(0x111)](_0x2a19a7){const _0x436570=_0x757e2a,_0x310351=this[_0x436570(0x118)][_0x436570(0xc2)][_0x436570(0xdb)](_0x436570(0xff)),_0x59efe3=this[_0x436570(0x118)][_0x436570(0xc2)][_0x436570(0xdb)](_0x436570(0xb0)),_0x4e1db9=this[_0x436570(0xb6)][_0x436570(0xdb)](_0x2a19a7),_0x93b7cb=_0x4e1db9[_0x436570(0x134)],_0x51735a=_0x59efe3[_0x436570(0xe7)](_0x93b7cb);_0x310351[_0x436570(0xdf)](_0x93b7cb),_0x51735a&&_0x59efe3[_0x436570(0x102)](_0x51735a),this[_0x436570(0xb6)][_0x436570(0xfe)](_0x2a19a7),this[_0x436570(0xd2)][_0x436570(0xfe)](_0x93b7cb),_0x4e1db9[_0x436570(0x104)]();}[_0x757e2a(0xcf)](_0x5ed254){const _0x2c16ba=_0x757e2a;if(!_0x5ed254[_0x2c16ba(0xb4)]||!this[_0x2c16ba(0xb6)][_0x2c16ba(0xb1)](_0x5ed254))return;const _0xf437a9=this[_0x2c16ba(0x118)][_0x2c16ba(0xc2)][_0x2c16ba(0xdb)](_0x2c16ba(0xb3)),_0x162bc9=this[_0x2c16ba(0xb6)][_0x2c16ba(0xdb)](_0x5ed254),_0x1b142e=_0x5ed254[_0x2c16ba(0x117)]();_0x162bc9[_0x2c16ba(0x134)][_0x2c16ba(0x10e)]=_0xf437a9[_0x2c16ba(0xa1)][_0x2c16ba(0xfd)](_0x1b142e);}[_0x757e2a(0x104)](){const _0x53dbea=_0x757e2a;for(const _0x2f5add of this[_0x53dbea(0xb6)][_0x53dbea(0x12e)]())this[_0x53dbea(0x111)](_0x2f5add);for(const _0x109b34 of this[_0x53dbea(0xf2)][_0x53dbea(0x137)]())_0x109b34[_0x53dbea(0x133)][_0x53dbea(0x104)]();super[_0x53dbea(0x104)](),this[_0x53dbea(0x11a)]&&clearInterval(this[_0x53dbea(0x11a)]);}}function ve(_0x3ae2fc){const _0x1aa49e=_0x757e2a;return _0x1aa49e(0x103)in _0x3ae2fc;}
|
|
23
|
+
const _0x527299=_0x1241;(function(_0xaffe40,_0x19006f){const _0x35a171=_0x1241,_0x1f5b4e=_0xaffe40();while(!![]){try{const _0x1d3087=-parseInt(_0x35a171(0x12c))/0x1*(parseInt(_0x35a171(0xb0))/0x2)+parseInt(_0x35a171(0x11d))/0x3+-parseInt(_0x35a171(0x102))/0x4+parseInt(_0x35a171(0xd9))/0x5+parseInt(_0x35a171(0xec))/0x6*(parseInt(_0x35a171(0xea))/0x7)+parseInt(_0x35a171(0x9f))/0x8+parseInt(_0x35a171(0x13a))/0x9*(-parseInt(_0x35a171(0x100))/0xa);if(_0x1d3087===_0x19006f)break;else _0x1f5b4e['push'](_0x1f5b4e['shift']());}catch(_0x460710){_0x1f5b4e['push'](_0x1f5b4e['shift']());}}}(_0x3173,0xe03db));import{Plugin as _0xe1782}from'ckeditor5/src/core.js';import{Collection as _0x4b453c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2b844a}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5b4a45,createDropdown as _0x111ffa,ListSeparatorView as _0x40b86c,MenuBarMenuView as _0x4b1645,MenuBarMenuListView as _0x47be23,MenuBarMenuListItemView as _0x299b30,MenuBarMenuListItemButtonView as _0x429723,SplitButtonView as _0x24f42f,UIModel as _0x504b5d}from'ckeditor5/src/ui.js';import{Users as _0x1c0cfa,getDateTimeFormatter as _0x757ea7,getAllMarkersDomElementsSorted as _0x813617}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x542817}from'./trackchangesediting.js';function _0x3173(){const _0x20429d=['addComment','button','167KPkSON','featureNotAllowed','init','_showLicenseError','createAnnotationView','_updateController','SuggestionThreadView','bind','EditorAnnotations','source','getMarkerNames','editor','trackChangesLicenseKeyTrialLimit','clear','68868vKQzZn','config','_licenseKeyCheckInterval','focus','TrackChangesEditing','descriptionFactory','previewFinalContent','isEnabled','suggestion-','Discard\x20all\x20suggestions','remove','destroy','define','view','isOfficialPlugin','trackChanges','isPremiumPlugin','discardAllSuggestions','_annotationViews','_suggestionToController','model','previous','Accept\x20all\x20suggestions','14594176LxJgyz','SuggestionView','trackChangesLicenseKeyDomainLimit','actionView','Track\x20changes','commentThread','trackChangesLicenseKeyNotAllowed','value','comments.maxCommentsWhenCollapsed','buttonView','CommentView','plugins','isMultiRange','suggestionLoaded','invalid','expired','trackChangesLicenseKeyEvaluationLimit','14918slGxzN','getByInnerView','evaluationLimit','arrowView','filter','_refreshActiveMarkers','panelView','keys','push','TrackChanges','_createToolbarButton','descriptionParts','_disableComments','addMany','switchbutton','acceptButton','refreshSelectedViews','getFirstRange','values','addSourceCollector','getRanges','getAnnotationForSuggestion','menuitem','_bindAnnotationToEditors','suggestionView','locale','_unbindEditors','trackChangesLicenseKeyValid','menuBar:trackChanges','comments.editorConfig','trackChanges.SuggestionThreadView','suggestionChanged','set','add','discardSelectedSuggestions','toMany','stopListening','CommentsUI','from','head','licenseKey','7485660ygwOeH','unbind','getSuggestion','getJoined','menu','has','comments.maxThreadTotalWeight','usageLimit','Annotations','domainLimit','createAnnotation','type','trackChanges.disableComments','TrackChangesPreview','escape','children','some','7MEhQJl','fire','375852TvkrnE','commands','change:previous','registerAnnotation','Discard\x20all\x20selected\x20suggestions','get','reduce','menuitemcheckbox','_initializeController','discardButton','hasSuggestion','_handleSuggestionControllerDelayed','getDescriptions','isDirty','createCommentThreadController','_destroyController','activeMarkers','trialLimit','mainView','getMarkers','1580IjNRUp','TrackChangesUI','1461140zJwMqz','activeAnnotations','Accept\x20all\x20selected\x20suggestions','isOn','commentsListView','requires','lowest','comments','delete','_createMenuBarMenu','length','trackChangesLicenseKeyExpired','trackChangesLicenseKeyUsageLimit','getAllAdjacentSuggestions','pluginName','separator','suggestionUnloaded','commandName','getSuggestionForAnnotation','innerView','change:activeAnnotations','listenTo','delegate','Preview\x20final\x20content','isInContent','acceptAllSuggestions','CommentsRepository','1063197jyIboh','_viewToController','trackChangesLicenseKeyInvalid','execute','editing','items','acceptSelectedSuggestions','_handleControllerBuffer','comments.maxCommentCharsWhenCollapsed','componentFactory','size','trackChanges.SuggestionView','_addUIComponentsToFactory'];_0x3173=function(){return _0x20429d;};return _0x3173();}function _0x1241(_0x43c08f,_0x1e69e1){const _0x317315=_0x3173();return _0x1241=function(_0x1241e6,_0x4fbe20){_0x1241e6=_0x1241e6-0x94;let _0x491a36=_0x317315[_0x1241e6];return _0x491a36;},_0x1241(_0x43c08f,_0x1e69e1);}import{SuggestionController as _0x45adc3}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x4dbf92}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x23145d}from'./ui/view/suggestionview.js';import{getTranslation as _0x253285}from'./utils/common-translations.js';export class TrackChangesUI extends _0xe1782{[_0x527299(0xd8)];[_0x527299(0x13c)];[_0x527299(0x9b)];[_0x527299(0x11e)];[_0x527299(0x9a)];[_0x527299(0x124)];[_0x527299(0xbc)];static get[_0x527299(0x107)](){const _0x4ab053=_0x527299;return[_0x542817,_0x1c0cfa,_0x4ab053(0x11c),_0x4ab053(0xe1),_0x4ab053(0x134)];}static get[_0x527299(0x110)](){const _0xba1e6=_0x527299;return _0xba1e6(0x101);}static get[_0x527299(0x96)](){return!0x0;}static get[_0x527299(0x98)](){return!0x0;}constructor(_0xeb821c){const _0x56119c=_0x527299;super(_0xeb821c),this[_0x56119c(0x9b)]=new Map(),this[_0x56119c(0x11e)]=new Map(),this[_0x56119c(0x9a)]=new Map(),this[_0x56119c(0x124)]=new Map();const _0x542ddd=this[_0x56119c(0x137)][_0x56119c(0x13b)];_0x542ddd[_0x56119c(0x94)](_0x56119c(0xce),_0x4dbf92),_0x542ddd[_0x56119c(0x94)](_0x56119c(0x128),_0x23145d),_0x542ddd[_0x56119c(0x94)](_0x56119c(0xe5),!0x1),this[_0x56119c(0xbc)]=_0x542ddd[_0x56119c(0xf1)](_0x56119c(0xe5));}[_0x527299(0xf7)](_0x90905f,_0x5e9912){const _0x4999ae=_0x527299;0x0===this[_0x4999ae(0x124)][_0x4999ae(0x127)]&&setTimeout(()=>{const _0x4f3e24=_0x4999ae;for(const [_0x313324,_0x5b4efe]of this[_0x4f3e24(0x124)]){const _0x53c6a3=this[_0x4f3e24(0x9b)][_0x4f3e24(0xde)](_0x313324);_0x53c6a3||_0x5b4efe?_0x53c6a3&&_0x5b4efe&&this[_0x4f3e24(0xfb)](_0x313324):this[_0x4f3e24(0xf4)](_0x313324);}this[_0x4f3e24(0x124)][_0x4f3e24(0x139)](),this[_0x4f3e24(0x137)][_0x4f3e24(0xaa)][_0x4f3e24(0xf1)](_0x4f3e24(0x134))[_0x4f3e24(0xc0)](),this[_0x4f3e24(0xb5)]();},0xa),this[_0x4999ae(0x124)][_0x4999ae(0xd0)](_0x90905f,_0x5e9912);}[_0x527299(0x12e)](){const _0x581ef8=_0x527299,_0x1c03f3=this[_0x581ef8(0x137)],_0x12dbdf=_0x1c03f3[_0x581ef8(0xaa)][_0x581ef8(0xf1)](_0x581ef8(0x13e)),_0x274e62=_0x1c03f3[_0x581ef8(0xaa)][_0x581ef8(0xf1)](_0x581ef8(0xe1)),_0x22c00a=_0x1c03f3[_0x581ef8(0xaa)][_0x581ef8(0xf1)](_0x581ef8(0x134)),_0x54bced=_0x1c03f3[_0x581ef8(0xaa)][_0x581ef8(0xf1)](_0x581ef8(0x11c));this[_0x581ef8(0x129)](),_0x22c00a[_0x581ef8(0xc3)](()=>{const _0x37b0c6=_0x581ef8,_0xa75e2e=[];for(const [_0x13a585,_0x1485bd]of Array[_0x37b0c6(0xd6)](this[_0x37b0c6(0x9b)])){const _0x40aff8=_0x13a585[_0x37b0c6(0x10f)](),_0x484c19=[];for(const _0x48c0df of _0x40aff8){if(!_0x48c0df[_0x37b0c6(0x11a)])continue;if(_0x48c0df[_0x37b0c6(0xab)]){_0x484c19[_0x37b0c6(0xb8)](..._0x48c0df[_0x37b0c6(0xc4)]());continue;}const _0x240266=_0x48c0df[_0x37b0c6(0xc1)]();if(_0x484c19[_0x37b0c6(0x10c)]>0x0){const _0x3b726d=_0x484c19[0x0][_0x37b0c6(0xdc)](_0x240266);if(_0x3b726d){_0x484c19[0x0]=_0x3b726d;continue;}}_0x484c19[_0x37b0c6(0xb8)](_0x240266);}_0xa75e2e[_0x37b0c6(0xb8)]([_0x1485bd[_0x37b0c6(0x95)],_0x484c19]);}return _0xa75e2e;}),this[_0x581ef8(0x117)](_0x12dbdf,_0x581ef8(0xac),(_0x39d873,_0x592846)=>{const _0x2513f6=_0x581ef8;this[_0x2513f6(0x117)](_0x592846,_0x2513f6(0xee),(_0x1ed6b6,_0x59b162,_0x5d82bf,_0x4c1bf5)=>{const _0x2a1fdb=_0x2513f6;_0x592846[_0x2a1fdb(0x11a)]&&(null==_0x5d82bf?(this[_0x2a1fdb(0x131)](_0x4c1bf5[_0x2a1fdb(0xd7)]),this[_0x2a1fdb(0xf7)](_0x592846,!0x1)):(this[_0x2a1fdb(0x131)](_0x5d82bf[_0x2a1fdb(0xd7)]),null==_0x4c1bf5&&this[_0x2a1fdb(0xf7)](_0x592846,!0x0)));}),null!==_0x592846[_0x2513f6(0x9d)]?this[_0x2513f6(0x131)](_0x592846[_0x2513f6(0xd7)]):this[_0x2513f6(0xf7)](_0x592846,!0x1);}),this[_0x581ef8(0x117)](_0x12dbdf,_0x581ef8(0x112),(_0x15c17b,_0x353eaa,_0x57aa25)=>{const _0x19b578=_0x581ef8;this[_0x19b578(0xd4)](_0x353eaa,_0x19b578(0xee)),this[_0x19b578(0x124)][_0x19b578(0x10a)](_0x353eaa),this[_0x19b578(0x9b)][_0x19b578(0xde)](_0x353eaa)&&this[_0x19b578(0xfb)](_0x353eaa),_0x57aa25&&this[_0x19b578(0x131)](_0x57aa25[_0x19b578(0xd7)]);}),this[_0x581ef8(0x117)](_0x12dbdf,_0x581ef8(0xcf),(_0x3e905,_0x5d1a8f)=>{const _0x5c1fe6=_0x581ef8;this[_0x5c1fe6(0x131)](_0x5d1a8f);}),this[_0x581ef8(0x117)](_0x274e62,_0x581ef8(0x116),()=>{const _0xdc14ed=_0x581ef8;this[_0xdc14ed(0xb5)]();}),this[_0x581ef8(0x117)](_0x54bced,_0x581ef8(0x12a),(_0x4c5695,{threadId:_0x1467d7,isFromAdapter:_0x14f655})=>{const _0x2c211a=_0x581ef8;if(_0x14f655||!_0x12dbdf[_0x2c211a(0xf6)](_0x1467d7))return;const _0x55c238=_0x12dbdf[_0x2c211a(0xdb)](_0x1467d7);this[_0x2c211a(0x9b)][_0x2c211a(0xf1)](_0x55c238)[_0x2c211a(0x95)][_0x2c211a(0x106)][_0x2c211a(0x13d)](-0x1);},{'priority':_0x581ef8(0x108)}),this[_0x581ef8(0xd8)]=this[_0x581ef8(0x137)][_0x581ef8(0x13b)][_0x581ef8(0xf1)](_0x581ef8(0xd8));const _0x2f6c83=this[_0x581ef8(0x137)];this[_0x581ef8(0x13c)]=setInterval(()=>{const _0x4fd100=_0x581ef8;let _0x10440f;for(const _0x12df5a in _0x2f6c83){const _0x490916=_0x12df5a,_0x241652=_0x2f6c83[_0x490916];if(_0x4fd100(0xcb)==_0x241652||_0x4fd100(0x11f)==_0x241652||_0x4fd100(0x10d)==_0x241652||_0x4fd100(0xa1)==_0x241652||_0x4fd100(0xa5)==_0x241652||_0x4fd100(0xaf)==_0x241652||_0x4fd100(0x138)==_0x241652||_0x4fd100(0x10e)==_0x241652){delete _0x2f6c83[_0x490916],_0x10440f=_0x241652,clearInterval(this[_0x4fd100(0x13c)]),this[_0x4fd100(0x13c)]=void 0x0;break;}}_0x4fd100(0x11f)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xad)),_0x4fd100(0x10d)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xae)),_0x4fd100(0xa1)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xe2)),_0x4fd100(0xa5)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0x12d),_0x4fd100(0xb9)),_0x4fd100(0xaf)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xb2)),_0x4fd100(0x138)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xfd)),_0x4fd100(0x10e)==_0x10440f&&_0x2f6c83[_0x4fd100(0x12f)](_0x4fd100(0xe0));},0x3e8);}[_0x527299(0xc5)](_0x220db7){const _0x577674=_0x527299,_0x4f56de=this[_0x577674(0x9b)][_0x577674(0xf1)](_0x220db7);if(!_0x4f56de)return null;return this[_0x577674(0x137)][_0x577674(0xaa)][_0x577674(0xf1)](_0x577674(0xe1))[_0x577674(0xb1)](_0x4f56de[_0x577674(0x95)])||null;}[_0x527299(0x114)](_0x530160){const _0x3ef622=_0x527299,_0xd935a=this[_0x3ef622(0x11e)][_0x3ef622(0xf1)](_0x530160[_0x3ef622(0x115)]);return _0xd935a?_0xd935a[_0x3ef622(0x9c)]:null;}[_0x527299(0xb5)](){const _0x42c7dc=_0x527299,_0x3d5e0d=this[_0x42c7dc(0x137)][_0x42c7dc(0xaa)][_0x42c7dc(0xf1)](_0x42c7dc(0xe1)),_0x15f439=this[_0x42c7dc(0x137)][_0x42c7dc(0xaa)][_0x42c7dc(0xf1)](_0x42c7dc(0x13e)),_0x4a4549=Array[_0x42c7dc(0xd6)](_0x3d5e0d[_0x42c7dc(0x103)],_0x31491c=>_0x31491c[_0x42c7dc(0x115)])[_0x42c7dc(0xb4)](_0x25249b=>this[_0x42c7dc(0x11e)][_0x42c7dc(0xde)](_0x25249b)),_0x5bb4af=[];for(const _0x1e5987 of _0x4a4549){const _0x57263a=this[_0x42c7dc(0x11e)][_0x42c7dc(0xf1)](_0x1e5987)[_0x42c7dc(0x9c)][_0x42c7dc(0x10f)]();_0x5bb4af[_0x42c7dc(0xb8)](..._0x57263a[_0x42c7dc(0xf2)]((_0x281e48,_0x212d92)=>[..._0x281e48,..._0x212d92[_0x42c7dc(0x136)]()],[]));}_0x15f439[_0x42c7dc(0xfc)]=_0x5bb4af;}[_0x527299(0x129)](){const _0xa77a2d=_0x527299,_0x533932=this[_0xa77a2d(0x137)],_0x3a80db=_0x533932[_0xa77a2d(0xc9)],_0x135981=_0x253285(_0x3a80db,_0xa77a2d(0xa3)),_0x11e6e4=new _0x4b453c([{'type':_0xa77a2d(0xbe),'model':new _0x504b5d({'withText':!0x0,'isToggleable':!0x0,'label':_0x135981,'commandName':_0xa77a2d(0x97),'role':_0xa77a2d(0xf3)})},{'type':_0xa77a2d(0x111)},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0x9e)),'commandName':_0xa77a2d(0x11b),'role':_0xa77a2d(0xc6)})},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0x104)),'commandName':_0xa77a2d(0x123),'role':_0xa77a2d(0xc6)})},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0x143)),'commandName':_0xa77a2d(0x99),'role':_0xa77a2d(0xc6)})},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0xf0)),'commandName':_0xa77a2d(0xd2),'role':_0xa77a2d(0xc6)})}]);_0x533932[_0xa77a2d(0xaa)][_0xa77a2d(0xde)](_0xa77a2d(0xe6))&&_0x11e6e4[_0xa77a2d(0xbd)]([{'type':_0xa77a2d(0x111)},{'type':_0xa77a2d(0x12b),'model':new _0x504b5d({'withText':!0x0,'label':_0x253285(_0x3a80db,_0xa77a2d(0x119)),'commandName':_0xa77a2d(0x140),'role':_0xa77a2d(0xc6)})}]);for(const _0x47b8b0 of _0x11e6e4)if(ve(_0x47b8b0)){const _0x5512f6=_0x533932[_0xa77a2d(0xed)][_0xa77a2d(0xf1)](_0x47b8b0[_0xa77a2d(0x9c)][_0xa77a2d(0x113)]);_0x47b8b0[_0xa77a2d(0x9c)][_0xa77a2d(0x133)](_0xa77a2d(0x105),_0xa77a2d(0x141))['to'](_0x5512f6,_0xa77a2d(0xa6),_0xa77a2d(0x141));}_0x533932['ui'][_0xa77a2d(0x126)][_0xa77a2d(0xd1)](_0xa77a2d(0x97),_0x2c2fb1=>this[_0xa77a2d(0xba)](_0x2c2fb1,_0x11e6e4,_0x135981)),_0x533932['ui'][_0xa77a2d(0x126)][_0xa77a2d(0xd1)](_0xa77a2d(0xcc),_0x1a5ff6=>this[_0xa77a2d(0x10b)](_0x1a5ff6,_0x11e6e4,_0x135981));}[_0x527299(0xba)](_0x3d6d75,_0x5921c5,_0x2e45a2){const _0x162c24=_0x527299,_0x2a273d=_0x111ffa(_0x3d6d75,_0x24f42f),_0x13df92=this[_0x162c24(0x137)][_0x162c24(0xed)][_0x162c24(0xf1)](_0x162c24(0x97));_0x2a273d[_0x162c24(0xa8)][_0x162c24(0xd0)]({'tooltip':_0x2e45a2,'label':_0x2e45a2,'icon':_0x2b844a}),_0x2a273d[_0x162c24(0xa8)][_0x162c24(0x133)](_0x162c24(0x105))['to'](_0x13df92,_0x162c24(0xa6)),_0x2a273d[_0x162c24(0xa8)]['on'](_0x162c24(0x120),()=>{const _0x5247af=_0x162c24;_0x13df92[_0x5247af(0x120)](),this[_0x5247af(0x137)][_0x5247af(0x121)][_0x5247af(0x95)][_0x5247af(0x13d)]();}),_0x5b4a45(_0x2a273d,_0x5921c5,{'role':_0x162c24(0xdd)});const _0x29a998=[];for(const _0x948f1f of _0x5921c5)ve(_0x948f1f)&&_0x29a998[_0x162c24(0xb8)](this[_0x162c24(0x137)][_0x162c24(0xed)][_0x162c24(0xf1)](_0x948f1f[_0x162c24(0x9c)][_0x162c24(0x113)]));const _0xf12fc3=_0x2a273d[_0x162c24(0xa8)];return _0xf12fc3[_0x162c24(0xa2)][_0x162c24(0xda)](_0x162c24(0x141)),_0xf12fc3[_0x162c24(0xb3)][_0x162c24(0xda)](_0x162c24(0x141)),_0xf12fc3[_0x162c24(0xa2)][_0x162c24(0x133)](_0x162c24(0x141))['to'](_0x13df92,_0x162c24(0x141)),_0xf12fc3[_0x162c24(0xb3)][_0x162c24(0x133)](_0x162c24(0x141))[_0x162c24(0xd3)](_0x29a998,_0x162c24(0x141),(..._0x147f26)=>_0x147f26[_0x162c24(0xe9)](_0x201cca=>_0x201cca)),_0x2a273d['on'](_0x162c24(0x120),_0x55d792=>{const _0x8d020d=_0x162c24;this[_0x8d020d(0x137)][_0x8d020d(0x120)](_0x55d792[_0x8d020d(0x135)][_0x8d020d(0x113)]),this[_0x8d020d(0x137)][_0x8d020d(0x121)][_0x8d020d(0x95)][_0x8d020d(0x13d)]();}),_0x2a273d;}[_0x527299(0x10b)](_0x3f1f4e,_0x1fd52d,_0x573e28){const _0x179f2d=_0x527299,_0x4ddf66=new _0x4b1645(_0x3f1f4e),_0xeb124c=this[_0x179f2d(0x137)][_0x179f2d(0xed)][_0x179f2d(0xf1)](_0x179f2d(0x97));_0x4ddf66[_0x179f2d(0xa8)][_0x179f2d(0xd0)]({'label':_0x573e28,'icon':_0x2b844a});const _0x1ae086=new _0x47be23(_0x3f1f4e);for(const _0x272183 of _0x1fd52d){if(_0x179f2d(0x111)==_0x272183[_0x179f2d(0xe4)]){_0x1ae086[_0x179f2d(0x122)][_0x179f2d(0xd1)](new _0x40b86c(_0x3f1f4e));continue;}const _0x4a2335=new _0x299b30(_0x3f1f4e,_0x4ddf66),_0x40e8c4=new _0x429723(_0x3f1f4e),_0x291ad9=_0x272183[_0x179f2d(0x9c)];_0x40e8c4[_0x179f2d(0x133)](...Object[_0x179f2d(0xb7)](_0x291ad9))['to'](_0x291ad9),_0x40e8c4[_0x179f2d(0x118)](_0x179f2d(0x120))['to'](_0x4ddf66),_0x40e8c4['on'](_0x179f2d(0x120),()=>{const _0x14805d=_0x179f2d;this[_0x14805d(0x137)][_0x14805d(0x120)](_0x291ad9[_0x14805d(0x113)]),this[_0x14805d(0x137)][_0x14805d(0x121)][_0x14805d(0x95)][_0x14805d(0x13d)]();}),_0x4a2335[_0x179f2d(0xe8)][_0x179f2d(0xd1)](_0x40e8c4),_0x1ae086[_0x179f2d(0x122)][_0x179f2d(0xd1)](_0x4a2335);}return _0x4ddf66[_0x179f2d(0x133)](_0x179f2d(0x141))['to'](_0xeb124c,_0x179f2d(0x141)),_0x4ddf66[_0x179f2d(0xb6)][_0x179f2d(0xe8)][_0x179f2d(0xd1)](_0x1ae086),_0x4ddf66;}[_0x527299(0xf4)](_0x39ca99){const _0x40e83f=_0x527299,_0x4a8c8d=this[_0x40e83f(0x137)],_0x525b3e=_0x4a8c8d[_0x40e83f(0x13b)],_0x11a6ea=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0xe1)),_0x373459=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0x11c)),_0x781006=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0x134)),_0x451724=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x1c0cfa)['me'],_0x83fad2=_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0x97))[_0x40e83f(0x132)],_0x2402bf=_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0x97))[_0x40e83f(0xa0)],{CommentsListView:_0x48465e,CommentThreadInputView:_0x321d77}=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0xd5));let _0x5379a8,_0x3d8f0d,_0x3a3e74;this[_0x40e83f(0x9a)][_0x40e83f(0xde)](_0x39ca99['id'])?(_0x3d8f0d=this[_0x40e83f(0x9a)][_0x40e83f(0xf1)](_0x39ca99['id']),_0x5379a8=_0x3d8f0d[_0x40e83f(0xfe)]):(_0x5379a8=new _0x83fad2(_0x4a8c8d[_0x40e83f(0xc9)],_0x39ca99,_0x451724,{'disableComments':this[_0x40e83f(0xbc)],'editorConfig':{..._0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xcd)),'licenseKey':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xd8))},'maxCommentsWhenCollapsed':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xa7)),'maxThreadTotalWeight':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xdf)),'maxCommentCharsWhenCollapsed':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0x125)),'formatDateTime':_0x757ea7(_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0xc9)),_0x4a8c8d[_0x40e83f(0xc9)]),'CommentView':_0x525b3e[_0x40e83f(0xf1)](_0x40e83f(0x109))[_0x40e83f(0xa9)],'CommentsListView':_0x48465e,'CommentThreadInputView':_0x321d77,'SuggestionView':_0x2402bf}),_0x5379a8[_0x40e83f(0xc8)][_0x40e83f(0xbf)]['on'](_0x40e83f(0x120),()=>{const _0x5a005b=_0x40e83f;_0x4a8c8d[_0x5a005b(0x121)][_0x5a005b(0x95)][_0x5a005b(0x13d)]();}),_0x5379a8[_0x40e83f(0xc8)][_0x40e83f(0xf5)]['on'](_0x40e83f(0x120),()=>{const _0x45dd64=_0x40e83f;_0x4a8c8d[_0x45dd64(0x121)][_0x45dd64(0x95)][_0x45dd64(0x13d)]();}),_0x3d8f0d=_0x11a6ea[_0x40e83f(0x130)](this[_0x40e83f(0x137)][_0x40e83f(0xc9)],_0x5379a8),_0x3d8f0d[_0x40e83f(0x133)](_0x40e83f(0xf9))['to'](_0x5379a8,_0x40e83f(0xf9)),_0x3d8f0d[_0x40e83f(0x133)](_0x40e83f(0x10c))['to'](_0x5379a8),_0x3d8f0d[_0x40e83f(0x133)](_0x40e83f(0xe4))['to'](_0x5379a8,_0x40e83f(0xe4),_0x56b802=>_0x40e83f(0x142)+_0x56b802),_0x5379a8['on'](_0x40e83f(0xe7),()=>{const _0x158ef2=_0x40e83f;_0x3a3e74[_0x158ef2(0xeb)](_0x158ef2(0xe7));}),this[_0x40e83f(0x9a)][_0x40e83f(0xd0)](_0x39ca99['id'],_0x3d8f0d));const _0x495988=_0x373459[_0x40e83f(0xfa)](_0x39ca99[_0x40e83f(0xa4)],_0x5379a8),_0x18e4aa=new _0x45adc3(_0x4a8c8d,_0x39ca99,_0x5379a8,_0x495988),_0x5bae04=_0x39ca99[_0x40e83f(0x10f)]()[_0x40e83f(0xb4)](_0x43fb48=>_0x43fb48[_0x40e83f(0x11a)]);_0x5379a8[_0x40e83f(0xbb)]=_0x4a8c8d[_0x40e83f(0xaa)][_0x40e83f(0xf1)](_0x40e83f(0x13e))[_0x40e83f(0x13f)][_0x40e83f(0xf8)](_0x5bae04),this[_0x40e83f(0x9b)][_0x40e83f(0xd0)](_0x39ca99,_0x18e4aa),this[_0x40e83f(0x11e)][_0x40e83f(0xd0)](_0x5379a8,_0x18e4aa);const _0x5014fc=()=>{const _0x59ac64=_0x40e83f,_0xc1d110=[],_0xe464a3=_0x39ca99[_0x59ac64(0x10f)]()[_0x59ac64(0xb4)](_0x3d31ee=>_0x3d31ee[_0x59ac64(0x11a)]);for(const _0x46a42f of _0xe464a3)_0xc1d110[_0x59ac64(0xb8)](..._0x46a42f[_0x59ac64(0xff)]());return _0x813617(_0x4a8c8d[_0x59ac64(0x121)],_0xc1d110);};_0x3a3e74=_0x11a6ea[_0x40e83f(0xe3)]({'view':_0x3d8f0d,'target':_0x5014fc,'type':()=>_0x40e83f(0x142)+_0x18e4aa[_0x40e83f(0x95)][_0x40e83f(0xe4)],'isVisible':!!_0x5014fc()}),_0x373459[_0x40e83f(0xc7)](_0x5379a8,_0x3a3e74),_0x11a6ea[_0x40e83f(0xd1)](_0x3a3e74),_0x781006[_0x40e83f(0xef)](_0x3a3e74);}[_0x527299(0xfb)](_0x4aece2){const _0x5965f0=_0x527299,_0x1a5e41=this[_0x5965f0(0x137)][_0x5965f0(0xaa)][_0x5965f0(0xf1)](_0x5965f0(0x11c)),_0x51df2e=this[_0x5965f0(0x137)][_0x5965f0(0xaa)][_0x5965f0(0xf1)](_0x5965f0(0xe1)),_0x15c361=this[_0x5965f0(0x9b)][_0x5965f0(0xf1)](_0x4aece2),_0x3bcd7b=_0x15c361[_0x5965f0(0x95)],_0x27c5c0=_0x51df2e[_0x5965f0(0xb1)](_0x3bcd7b);_0x1a5e41[_0x5965f0(0xca)](_0x3bcd7b),_0x27c5c0&&_0x51df2e[_0x5965f0(0x144)](_0x27c5c0),this[_0x5965f0(0x9b)][_0x5965f0(0x10a)](_0x4aece2),this[_0x5965f0(0x11e)][_0x5965f0(0x10a)](_0x3bcd7b),_0x15c361[_0x5965f0(0x145)]();}[_0x527299(0x131)](_0x77e914){const _0x3c521b=_0x527299;if(!_0x77e914[_0x3c521b(0x11a)]||!this[_0x3c521b(0x9b)][_0x3c521b(0xde)](_0x77e914))return;const _0x4cedeb=this[_0x3c521b(0x137)][_0x3c521b(0xaa)][_0x3c521b(0xf1)](_0x3c521b(0x13e)),_0x324f72=this[_0x3c521b(0x9b)][_0x3c521b(0xf1)](_0x77e914),_0x4c95c1=_0x77e914[_0x3c521b(0x10f)]();_0x324f72[_0x3c521b(0x95)][_0x3c521b(0xbb)]=_0x4cedeb[_0x3c521b(0x13f)][_0x3c521b(0xf8)](_0x4c95c1);}[_0x527299(0x145)](){const _0x38640f=_0x527299;for(const _0x291dda of this[_0x38640f(0x9b)][_0x38640f(0xb7)]())this[_0x38640f(0xfb)](_0x291dda);for(const _0x594df6 of this[_0x38640f(0x9a)][_0x38640f(0xc2)]())_0x594df6[_0x38640f(0xfe)][_0x38640f(0x145)]();super[_0x38640f(0x145)](),this[_0x38640f(0x13c)]&&clearInterval(this[_0x38640f(0x13c)]);}}function ve(_0x3aad63){const _0x15a1cb=_0x527299;return _0x15a1cb(0x9c)in _0x3aad63;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x51e99c=_0x2e0b;(function(_0x5c7880,_0x117126){const _0x4ede1e=_0x2e0b,_0xeb6451=_0x5c7880();while(!![]){try{const _0x2bf977=parseInt(_0x4ede1e(0x1ba))/0x1*(parseInt(_0x4ede1e(0x1bc))/0x2)+parseInt(_0x4ede1e(0x1c6))/0x3+parseInt(_0x4ede1e(0x1bb))/0x4+parseInt(_0x4ede1e(0x1b0))/0x5+-parseInt(_0x4ede1e(0x1b3))/0x6*(parseInt(_0x4ede1e(0x1cc))/0x7)+-parseInt(_0x4ede1e(0x1b4))/0x8+parseInt(_0x4ede1e(0x1d1))/0x9*(parseInt(_0x4ede1e(0x1c7))/0xa);if(_0x2bf977===_0x117126)break;else _0xeb6451['push'](_0xeb6451['shift']());}catch(_0xa8a0e9){_0xeb6451['push'](_0xeb6451['shift']());}}}(_0xc771,0x5689f));function _0x2e0b(_0x5aa08a,_0x41269d){const _0xc7712c=_0xc771();return _0x2e0b=function(_0x2e0b1a,_0x268e6f){_0x2e0b1a=_0x2e0b1a-0x1af;let _0x1f9ad5=_0xc7712c[_0x2e0b1a];return _0x1f9ad5;},_0x2e0b(_0x5aa08a,_0x41269d);}import{ObservableMixin as _0x9999f6}from'ckeditor5/src/utils.js';function _0xc771(){const _0x1e71fd=['3519136SWBZXY','stopListening','canEditAt','commands','acceptSuggestion','unbind','11vlBJRW','1225880iQGaQr','33810oOUYEn','PENDING_ACTION_SUGGESTION','change:isDirty','getRanges','_removePendingAction','destroy','isEnabled','_discardCommand','isDirty','remove','707046Ghoexb','240EmyApR','locale','commentThreadController','canDiscard','execute','658purkRY','model','_setPendingAction','get','_acceptCommand','33057jWHZNc','_editor','listenTo','view','plugins','add','PendingActions','_pendingAction','canAccept','344030DltgGj','bind','discardSuggestion','5790ojrdFT'];_0xc771=function(){return _0x1e71fd;};return _0xc771();}import{getTranslation as _0xbe835}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x9999f6(){[_0x51e99c(0x1cd)];[_0x51e99c(0x1d4)];[_0x51e99c(0x1c9)];[_0x51e99c(0x1d2)];[_0x51e99c(0x1d0)];[_0x51e99c(0x1c3)];[_0x51e99c(0x1d8)];constructor(_0x163134,_0x2beb33,_0x3806f5,_0x283be6){const _0x191868=_0x51e99c;super(),this[_0x191868(0x1cd)]=_0x2beb33,this[_0x191868(0x1d4)]=_0x3806f5,this[_0x191868(0x1c9)]=_0x283be6,this[_0x191868(0x1d2)]=_0x163134,this[_0x191868(0x1d0)]=_0x163134[_0x191868(0x1b7)][_0x191868(0x1cf)](_0x191868(0x1b8)),this[_0x191868(0x1c3)]=_0x163134[_0x191868(0x1b7)][_0x191868(0x1cf)](_0x191868(0x1b2)),this[_0x191868(0x1d4)][_0x191868(0x1b1)](_0x191868(0x1c2))['to'](this[_0x191868(0x1d0)],this[_0x191868(0x1c3)],(_0x14a039,_0x58a8cf)=>_0x14a039||_0x58a8cf),this[_0x191868(0x1d4)][_0x191868(0x1b1)](_0x191868(0x1af))['to'](this[_0x191868(0x1d0)],_0x191868(0x1c2),_0x4cebea=>_0x4cebea&&this[_0x191868(0x1d2)][_0x191868(0x1cd)][_0x191868(0x1b6)](_0x2beb33[_0x191868(0x1bf)]())),this[_0x191868(0x1d4)][_0x191868(0x1b1)](_0x191868(0x1ca))['to'](this[_0x191868(0x1c3)],_0x191868(0x1c2),_0x36c84b=>_0x36c84b&&this[_0x191868(0x1d2)][_0x191868(0x1cd)][_0x191868(0x1b6)](_0x2beb33[_0x191868(0x1bf)]())),this[_0x191868(0x1d8)]=null,_0x3806f5[_0x191868(0x1c4)]&&this[_0x191868(0x1ce)](),this[_0x191868(0x1d3)](_0x3806f5,_0x191868(0x1b8),()=>this[_0x191868(0x1b8)]()),this[_0x191868(0x1d3)](_0x3806f5,_0x191868(0x1b2),()=>this[_0x191868(0x1b2)]()),this[_0x191868(0x1d3)](_0x3806f5,_0x191868(0x1be),()=>{const _0x20a60d=_0x191868;_0x3806f5[_0x20a60d(0x1c4)]?this[_0x20a60d(0x1ce)]():this[_0x20a60d(0x1c0)]();});}[_0x51e99c(0x1b8)](){const _0x590b1d=_0x51e99c;this[_0x590b1d(0x1d0)][_0x590b1d(0x1cb)](this[_0x590b1d(0x1cd)]['id']);}[_0x51e99c(0x1b2)](){const _0x178534=_0x51e99c;this[_0x178534(0x1c3)][_0x178534(0x1cb)](this[_0x178534(0x1cd)]['id']);}[_0x51e99c(0x1c1)](){const _0xadb023=_0x51e99c;this[_0xadb023(0x1d4)][_0xadb023(0x1b9)](_0xadb023(0x1c2)),this[_0xadb023(0x1d4)][_0xadb023(0x1b9)](_0xadb023(0x1af)),this[_0xadb023(0x1d4)][_0xadb023(0x1b9)](_0xadb023(0x1ca)),this[_0xadb023(0x1b5)](),this[_0xadb023(0x1c9)][_0xadb023(0x1c1)](),this[_0xadb023(0x1d8)]&&this[_0xadb023(0x1c0)]();}[_0x51e99c(0x1ce)](){const _0x455ffc=_0x51e99c,_0x1beaaa=_0xbe835(this[_0x455ffc(0x1d2)][_0x455ffc(0x1c8)],_0x455ffc(0x1bd));this[_0x455ffc(0x1d8)]=this[_0x455ffc(0x1d2)][_0x455ffc(0x1d5)][_0x455ffc(0x1cf)](_0x455ffc(0x1d7))[_0x455ffc(0x1d6)](_0x1beaaa);}[_0x51e99c(0x1c0)](){const _0x2f64e3=_0x51e99c;null!==this[_0x2f64e3(0x1d8)]&&this[_0x2f64e3(0x1d2)][_0x2f64e3(0x1d5)][_0x2f64e3(0x1cf)](_0x2f64e3(0x1d7))[_0x2f64e3(0x1c5)](this[_0x2f64e3(0x1d8)]),this[_0x2f64e3(0x1d8)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26412e=_0x2d0c;(function(_0x32bbb2,_0x330085){const _0x41e5a3=_0x2d0c,_0x5056ff=_0x32bbb2();while(!![]){try{const _0x32653e=-parseInt(_0x41e5a3(0xc9))/0x1+-parseInt(_0x41e5a3(0x90))/0x2*(-parseInt(_0x41e5a3(0xc1))/0x3)+parseInt(_0x41e5a3(0xac))/0x4*(-parseInt(_0x41e5a3(0xb5))/0x5)+parseInt(_0x41e5a3(0x87))/0x6+parseInt(_0x41e5a3(0xc2))/0x7+parseInt(_0x41e5a3(0xa2))/0x8*(parseInt(_0x41e5a3(0xcc))/0x9)+parseInt(_0x41e5a3(0xc7))/0xa*(parseInt(_0x41e5a3(0xb7))/0xb);if(_0x32653e===_0x330085)break;else _0x5056ff['push'](_0x5056ff['shift']());}catch(_0xeda78f){_0x5056ff['push'](_0x5056ff['shift']());}}}(_0x42d5,0xcdd1b));function _0x42d5(){const _0x279e82=['3354822YSLOje','bind','disableComments','commentThread','value','text/html','content','isReadOnly','canDiscard','2HWaLsS','ariaDescriptionView','submit','focusables','tab','canAccept','locale','editorConfig','length','SUGGESTION_THREAD_ARIA_LABEL','target','focus','commentThreadInputView','isActive','SUGGESTION_THREAD_DESCRIPTION','assign','set','showInput','8985952EFslrY','authoredAt','parseFromString','_localUser','_createCommentViews','render','cancel','descriptionParts','join','commentsListView','8lqzcan','body','keystrokes','focusTracker','focusCycler','updateComment','isDirty','hasDirtyComment','element','4172695eDSzjA','textContent','33jgImUO','disabledSubmit','ariaLabel','author','commentInputView','shift+tab','removeComment','name','addComment','_config','2221704dwqLng','5827297pjDiWq','fire','setData','map','CommentView','1489210RviUjJ','_createCommentThreadInputView','1190070BxWcME','isEnabled','destroy','9NRSeJJ','_model','delegate','editor','formatDateTime'];_0x42d5=function(){return _0x279e82;};return _0x42d5();}import{FocusCycler as _0x3bd1b6,View as _0x145e9,ViewCollection as _0x22c96c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x18dd3a,KeystrokeHandler as _0x29f59a}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x418f6f,setupThreadKeyboardNavigation as _0x589bb1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2d0c(_0x189a06,_0x466ab2){const _0x42d5d0=_0x42d5();return _0x2d0c=function(_0x2d0c76,_0x4570b3){_0x2d0c76=_0x2d0c76-0x84;let _0x4d1276=_0x42d5d0[_0x2d0c76];return _0x4d1276;},_0x2d0c(_0x189a06,_0x466ab2);}import{getTranslation as _0x93241f}from'../../utils/common-translations.js';import{renderDescription as _0x3f931a}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x145e9{[_0x26412e(0xab)];[_0x26412e(0x9c)];[_0x26412e(0x91)];[_0x26412e(0x93)];[_0x26412e(0xaf)];[_0x26412e(0xae)];[_0x26412e(0xb0)];[_0x26412e(0xcd)];[_0x26412e(0xa5)];[_0x26412e(0xc0)];constructor(_0x528c56,_0x49b7b1,_0x2d85e9,_0x5b3207){const _0x36e2c8=_0x26412e;super(_0x528c56),this[_0x36e2c8(0xab)]=null,this[_0x36e2c8(0x9c)]=null,this[_0x36e2c8(0x91)]=new _0x418f6f(_0x528c56,_0x93241f(_0x528c56,_0x36e2c8(0x9e))),this[_0x36e2c8(0xa0)](_0x36e2c8(0x9d),!0x1),this[_0x36e2c8(0xa0)](_0x36e2c8(0xa3),_0x49b7b1[_0x36e2c8(0xa3)]),this[_0x36e2c8(0x88)](_0x36e2c8(0xa3))['to'](_0x49b7b1),this[_0x36e2c8(0xa0)](_0x36e2c8(0xa9),[]),this[_0x36e2c8(0xa0)](_0x36e2c8(0xb2),!0x1),this[_0x36e2c8(0xa0)](_0x36e2c8(0xca),!0x1),this[_0x36e2c8(0xa0)](_0x36e2c8(0x95),!0x1),this[_0x36e2c8(0xa0)](_0x36e2c8(0x8f),!0x1),this[_0x36e2c8(0x88)](_0x36e2c8(0xb9))['to'](this,_0x36e2c8(0x98),_0x49b7b1,_0x36e2c8(0xa3),this,_0x36e2c8(0xa9),(_0x485cb,_0x3d76c1,_0x4f5370)=>{const _0x3c249a=_0x36e2c8,_0x103f70=_0x4f5370[_0x3c249a(0xc5)](_0x5b74e2=>_0x3f931a(_0x5b74e2[_0x3c249a(0x8d)]))[_0x3c249a(0xaa)]('.\x20')+'.';return _0x93241f(this[_0x3c249a(0x96)],_0x3c249a(0x99),[_0x485cb-0x1,_0x49b7b1[_0x3c249a(0xba)][_0x3c249a(0xbe)],_0x3d76c1?_0x5b3207[_0x3c249a(0x86)](_0x3d76c1):'',new DOMParser()[_0x3c249a(0xa4)](_0x103f70,_0x3c249a(0x8c))[_0x3c249a(0xad)][_0x3c249a(0xb6)]]);}),this[_0x36e2c8(0x93)]=new _0x22c96c(),this[_0x36e2c8(0xaf)]=new _0x18dd3a(),this[_0x36e2c8(0xae)]=new _0x29f59a(),this[_0x36e2c8(0xb0)]=new _0x3bd1b6({'focusables':this[_0x36e2c8(0x93)],'focusTracker':this[_0x36e2c8(0xaf)],'keystrokeHandler':this[_0x36e2c8(0xae)],'keystrokeHandlerOptions':{'filter':_0x208c3b=>_0x208c3b[_0x36e2c8(0x9a)]!==this[_0x36e2c8(0xb4)]},'actions':{'focusPrevious':_0x36e2c8(0xbc),'focusNext':_0x36e2c8(0x94)}}),this[_0x36e2c8(0xcd)]=_0x49b7b1,this[_0x36e2c8(0xa5)]=_0x2d85e9,this[_0x36e2c8(0xc0)]=_0x5b3207,_0x5b3207[_0x36e2c8(0x89)]?this[_0x36e2c8(0xa0)](_0x36e2c8(0x98),0x1):this[_0x36e2c8(0xa6)]();}[_0x26412e(0xa7)](){const _0x24c882=_0x26412e;super[_0x24c882(0xa7)](),_0x589bb1(this,this[_0x24c882(0x93)]);}[_0x26412e(0x9b)](){const _0x45bfd6=_0x26412e;this[_0x45bfd6(0xb4)][_0x45bfd6(0x9b)]();}[_0x26412e(0xcb)](){const _0x4bb1f1=_0x26412e;this[_0x4bb1f1(0xab)]&&this[_0x4bb1f1(0xab)][_0x4bb1f1(0xcb)](),this[_0x4bb1f1(0x9c)]&&this[_0x4bb1f1(0x9c)][_0x4bb1f1(0xcb)](),super[_0x4bb1f1(0xcb)]();}[_0x26412e(0xa6)](){const _0xa3438d=_0x26412e,{CommentsListView:_0x2e5718}=this[_0xa3438d(0xc0)];this[_0xa3438d(0xab)]=new _0x2e5718(this[_0xa3438d(0x96)],this[_0xa3438d(0xcd)][_0xa3438d(0x8a)],Object[_0xa3438d(0x9f)]({'CommentView':this[_0xa3438d(0xc0)][_0xa3438d(0xc6)]},this[_0xa3438d(0xc0)])),this[_0xa3438d(0xab)][_0xa3438d(0x84)](_0xa3438d(0xbd))['to'](this),this[_0xa3438d(0xab)][_0xa3438d(0x84)](_0xa3438d(0xb1))['to'](this),this[_0xa3438d(0xab)][_0xa3438d(0x88)](_0xa3438d(0x9d))['to'](this),this[_0xa3438d(0xa0)](_0xa3438d(0x98),this[_0xa3438d(0xab)][_0xa3438d(0x98)]+0x1),this[_0xa3438d(0x88)](_0xa3438d(0x98))['to'](this[_0xa3438d(0xab)],_0xa3438d(0x98),_0x2f6551=>_0x2f6551+0x1),this[_0xa3438d(0x9c)]=this[_0xa3438d(0xc8)](),this['on'](_0xa3438d(0xbd),()=>this[_0xa3438d(0x9b)]()),this[_0xa3438d(0x88)](_0xa3438d(0xb2))['to'](this[_0xa3438d(0xab)],_0xa3438d(0xb3),this[_0xa3438d(0x9c)][_0xa3438d(0xbb)],_0xa3438d(0x8b),(_0x409896,_0x524fce)=>_0x409896||!!_0x524fce);}[_0x26412e(0xc8)](){const _0x56197e=_0x26412e,{CommentThreadInputView:_0x4cd1de}=this[_0x56197e(0xc0)],_0x4a2800=new _0x4cd1de(this[_0x56197e(0x96)],this[_0x56197e(0xa5)],this[_0x56197e(0xc0)][_0x56197e(0x97)]),_0x1425e4=_0x4a2800[_0x56197e(0xbb)];return _0x4a2800[_0x56197e(0x88)](_0x56197e(0xa1))['to'](this,_0x56197e(0x9d),this[_0x56197e(0xcd)][_0x56197e(0x8a)],_0x56197e(0x8e),_0x1425e4,_0x56197e(0x8b),(_0x5a5732,_0x5e48ea,_0x51d1ad)=>!!_0x51d1ad||_0x5a5732&&!_0x5e48ea),_0x1425e4['on'](_0x56197e(0x92),(_0x169194,_0x94f6aa)=>{const _0x91f72a=_0x56197e;this[_0x91f72a(0xc3)](_0x91f72a(0xbf),_0x94f6aa),_0x1425e4[_0x91f72a(0x85)][_0x91f72a(0xc4)]('');}),_0x1425e4['on'](_0x56197e(0xa8),()=>this[_0x56197e(0x9b)]()),_0x1425e4[_0x56197e(0x88)](_0x56197e(0xb8))['to'](this[_0x56197e(0xcd)][_0x56197e(0x8a)],_0x56197e(0x8e)),_0x4a2800;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x545fe8=_0x17e4;function _0x1b19(){const _0x20b76b=['43135ZMLvFr','2285448UkRPAS','bindTemplate','bind','div','commentsListView','commentThread','SuggestionView','discardSuggestion','author','ck-suggestion-wrapper','isEnabled','getTemplate','set','descriptionParts','commentThreadInputView','content','_model','ariaLabel','762BZijRJ','acceptSuggestion','description','push','type','3127978WIzNsK','disableComments','_descriptionElement','2065980FChUnu','isActive','editorDestroyed','ck-suggestion-','6sRMnTq','suggestionView','discardButton','ck-suggestion--disabled-comments','ck-suggestion-wrapper--active','_config','222993cYLSJh','render','delegate','color','14717030AXcSrM','listitem','add','formatDateTime','36jjbNvy','canAccept','acceptButton','focusables','ariaDescriptionView','</p>','<p>','editorReady','ck-rounded-corners','167270HltcNS','canDiscard','setTemplate'];_0x1b19=function(){return _0x20b76b;};return _0x1b19();}(function(_0x55d2d5,_0x1af3ec){const _0x4758ef=_0x17e4,_0x153129=_0x55d2d5();while(!![]){try{const _0xc2a479=parseInt(_0x4758ef(0x1e8))/0x1+parseInt(_0x4758ef(0x1d1))/0x2*(parseInt(_0x4758ef(0x1d7))/0x3)+parseInt(_0x4758ef(0x1cd))/0x4+-parseInt(_0x4758ef(0x1eb))/0x5*(parseInt(_0x4758ef(0x1c5))/0x6)+parseInt(_0x4758ef(0x1ca))/0x7+-parseInt(_0x4758ef(0x1ec))/0x8*(parseInt(_0x4758ef(0x1df))/0x9)+parseInt(_0x4758ef(0x1db))/0xa;if(_0xc2a479===_0x1af3ec)break;else _0x153129['push'](_0x153129['shift']());}catch(_0x498f52){_0x153129['push'](_0x153129['shift']());}}}(_0x1b19,0x8f4d2));import{BaseSuggestionThreadView as _0x1d8b6a}from'./basesuggestionthreadview.js';import{trimHtml as _0x58e8a7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x17e4(_0x41faaa,_0x2e44a7){const _0x1b19ce=_0x1b19();return _0x17e4=function(_0x17e404,_0x3105e1){_0x17e404=_0x17e404-0x1b5;let _0x7141af=_0x1b19ce[_0x17e404];return _0x7141af;},_0x17e4(_0x41faaa,_0x2e44a7);}import{renderDescription as _0x4d8128}from'../../utils/utils.js';export class SuggestionThreadView extends _0x1d8b6a{[_0x545fe8(0x1d2)];[_0x545fe8(0x1cc)];constructor(_0xfb7223,_0x33156a,_0x3eaeb0,_0x290947){const _0x5883e2=_0x545fe8;super(_0xfb7223,_0x33156a,_0x3eaeb0,_0x290947),this[_0x5883e2(0x1bf)](_0x5883e2(0x1c9),''),this[_0x5883e2(0x1b5)](_0x5883e2(0x1c9))['to'](this,_0x5883e2(0x1c0),_0x574db7=>_0x574db7&&_0x574db7[0x0]?_0x574db7[0x0][_0x5883e2(0x1c9)]:''),this[_0x5883e2(0x1b5)](_0x5883e2(0x1c7))['to'](this,_0x5883e2(0x1c0),this,_0x5883e2(0x1ce),(_0x560307,_0x1a0f5c)=>{const _0x175cbd=_0x5883e2;let _0x2e5037='';for(const _0x1cf9ea of _0x560307)_0x2e5037+=_0x175cbd(0x1e5)+_0x4d8128(_0x1cf9ea[_0x175cbd(0x1c2)],_0x1cf9ea[_0x175cbd(0x1da)])+_0x175cbd(0x1e4);return _0x1a0f5c?_0x2e5037:_0x58e8a7(_0x2e5037,{'limit':0x8c});}),this[_0x5883e2(0x1cc)]=null,this[_0x5883e2(0x1d2)]=new _0x290947[(_0x5883e2(0x1b9))](_0xfb7223,_0x33156a,{'formatDateTime':_0x290947[_0x5883e2(0x1de)]}),this[_0x5883e2(0x1d2)][_0x5883e2(0x1b5)](_0x5883e2(0x1c7))['to'](this),this[_0x5883e2(0x1d2)][_0x5883e2(0x1d9)](_0x5883e2(0x1c6),_0x5883e2(0x1ba))['to'](this),this[_0x5883e2(0x1d2)][_0x5883e2(0x1e1)][_0x5883e2(0x1b5)](_0x5883e2(0x1bd))['to'](this,_0x5883e2(0x1e0)),this[_0x5883e2(0x1d2)][_0x5883e2(0x1d3)][_0x5883e2(0x1b5)](_0x5883e2(0x1bd))['to'](this,_0x5883e2(0x1e9)),this[_0x5883e2(0x1e2)][_0x5883e2(0x1dd)](this[_0x5883e2(0x1d2)]),this[_0x5883e2(0x1b7)]&&this[_0x5883e2(0x1e2)][_0x5883e2(0x1dd)](this[_0x5883e2(0x1b7)]),this[_0x5883e2(0x1c1)]&&this[_0x5883e2(0x1e2)][_0x5883e2(0x1dd)](this[_0x5883e2(0x1c1)]),this[_0x5883e2(0x1ea)](this[_0x5883e2(0x1be)]());}[_0x545fe8(0x1be)](){const _0x3dcc1b=_0x545fe8,_0x2376c7=this[_0x3dcc1b(0x1ed)],_0x382c5f=[this[_0x3dcc1b(0x1d2)]];return this[_0x3dcc1b(0x1b7)]&&_0x382c5f[_0x3dcc1b(0x1c8)](this[_0x3dcc1b(0x1b7)]),this[_0x3dcc1b(0x1c1)]&&_0x382c5f[_0x3dcc1b(0x1c8)](this[_0x3dcc1b(0x1c1)]),_0x382c5f[_0x3dcc1b(0x1c8)](this[_0x3dcc1b(0x1e3)]),{'tag':_0x3dcc1b(0x1b6),'attributes':{'class':['ck',_0x3dcc1b(0x1e7),_0x3dcc1b(0x1bc),_0x2376c7['if'](_0x3dcc1b(0x1ce),_0x3dcc1b(0x1d5)),_0x2376c7['to'](_0x3dcc1b(0x1c9),_0x20933e=>_0x3dcc1b(0x1d0)+_0x20933e),this[_0x3dcc1b(0x1d6)][_0x3dcc1b(0x1cb)]&&_0x3dcc1b(0x1d4)],'data-suggestion-id':this[_0x3dcc1b(0x1c3)]['id'],'data-thread-id':this[_0x3dcc1b(0x1c3)][_0x3dcc1b(0x1b8)]['id'],'data-author-id':this[_0x3dcc1b(0x1c3)][_0x3dcc1b(0x1bb)]['id'],'tabindex':0x0,'role':_0x3dcc1b(0x1dc),'aria-label':_0x2376c7['to'](_0x3dcc1b(0x1c4)),'aria-describedby':this[_0x3dcc1b(0x1e3)]['id']},'children':_0x382c5f};}[_0x545fe8(0x1d8)](){const _0x43a055=_0x545fe8;super[_0x43a055(0x1d8)](),this[_0x43a055(0x1b7)]&&(this[_0x43a055(0x1b7)][_0x43a055(0x1d9)](_0x43a055(0x1e6))['to'](this),this[_0x43a055(0x1b7)][_0x43a055(0x1d9)](_0x43a055(0x1cf))['to'](this)),this[_0x43a055(0x1c1)]&&(this[_0x43a055(0x1c1)][_0x43a055(0x1d9)](_0x43a055(0x1e6))['to'](this),this[_0x43a055(0x1c1)][_0x43a055(0x1d9)](_0x43a055(0x1cf))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18b1be=_0x1f6f;(function(_0x3c7890,_0x1b2536){const _0x27b050=_0x1f6f,_0x15fdb4=_0x3c7890();while(!![]){try{const _0x410b18=-parseInt(_0x27b050(0xce))/0x1*(-parseInt(_0x27b050(0xa1))/0x2)+-parseInt(_0x27b050(0xa9))/0x3*(parseInt(_0x27b050(0xd3))/0x4)+parseInt(_0x27b050(0x9b))/0x5*(-parseInt(_0x27b050(0xb6))/0x6)+-parseInt(_0x27b050(0xa3))/0x7*(-parseInt(_0x27b050(0x94))/0x8)+parseInt(_0x27b050(0x83))/0x9+-parseInt(_0x27b050(0x93))/0xa+parseInt(_0x27b050(0xc0))/0xb;if(_0x410b18===_0x1b2536)break;else _0x15fdb4['push'](_0x15fdb4['shift']());}catch(_0x174854){_0x15fdb4['push'](_0x15fdb4['shift']());}}}(_0x2c70,0x617de));import{FocusTracker as _0x31469c,KeystrokeHandler as _0x5e5003}from'ckeditor5/src/utils.js';function _0x2c70(){const _0x1524a4=['discardButton','getExternalSuggestionNote','locale','span','ck-annotation__info-name','add','ck-annotation__content-wrapper','ck-annotation__actions','_config','680013uxJyyg','_createButton','set','formatDateTime','authoredAt','innerHTML','bind','source','keystrokes','presentation','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info','ck-annotation__info-time','ck-annotation__main','Accept\x20suggestion','creator','290100ncvYmE','3392TDpwzz','ck-suggestion__user','ck-annotation__user','ck-suggestion--accept','focus','EXTERNAL_SUGGESTION','execute','5ewZXnX','ck-suggestion__info','time','tab','extendTemplate','bindTemplate','195848GKTlUT','attributes','819jbpzZU','@external','focusables','.ck-annotation__content-wrapper','shift+tab','getTemplate','84HZULsI','acceptSuggestion','_model','enter','esc','ck-suggestion__info-name','author','ck-annotation','ck-suggestion__actions','name','ck-suggestion','div','discardSuggestion','3254070RaukZg','ck-suggestion__main','userView','importWord','description','element','acceptButton','ck-suggestion--discard','setTemplate','EXTERNAL_AVATAR','7412240DQANtt','_setupKeyboardNavigation','querySelector','fire','push','focusFirst','change:description','focusTracker','isExternal','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-comment__external','getUserViewNotificationText','ck-comment__info-time','listenTo','8jDQbJO','render','Discard\x20suggestion','target','focusCycler','87388mGnKfq'];_0x2c70=function(){return _0x1524a4;};return _0x2c70();}import{View as _0xd037e7,ViewCollection as _0x1e0d73,FocusCycler as _0x43a601}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x885f56,UserView as _0x2b10f4}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x341768,IconCheck as _0x598418}from'ckeditor5/src/icons.js';import{getTranslation as _0x4dac17}from'../../utils/common-translations.js';function _0x1f6f(_0x4bd31d,_0x9ee192){const _0x2c7000=_0x2c70();return _0x1f6f=function(_0x1f6f15,_0x490d24){_0x1f6f15=_0x1f6f15-0x7a;let _0xdfcb07=_0x2c7000[_0x1f6f15];return _0xdfcb07;},_0x1f6f(_0x4bd31d,_0x9ee192);}export class SuggestionView extends _0xd037e7{[_0x18b1be(0xb8)];[_0x18b1be(0xbc)];[_0x18b1be(0x7a)];[_0x18b1be(0xa5)];[_0x18b1be(0xc7)];[_0x18b1be(0x8b)];[_0x18b1be(0xd2)];[_0x18b1be(0xab)];[_0x18b1be(0x82)];constructor(_0x2b7fad,_0x148ca7,_0x37e81e){const _0xb58860=_0x18b1be;super(_0x2b7fad),this[_0xb58860(0xab)]=_0x148ca7,this[_0xb58860(0x82)]=_0x37e81e,this[_0xb58860(0x85)](_0xb58860(0xba),''),this[_0xb58860(0x89)](_0xb58860(0x87))['to'](_0x148ca7),this[_0xb58860(0xbc)]=this[_0xb58860(0x84)](_0x4dac17(_0x2b7fad,_0xb58860(0x91)),_0x598418,_0xb58860(0x97),_0xb58860(0xaa),'sw'),this[_0xb58860(0x7a)]=this[_0xb58860(0x84)](_0x4dac17(_0x2b7fad,_0xb58860(0xd0)),_0x341768,_0xb58860(0xbd),_0xb58860(0xb5),'sw'),this[_0xb58860(0xb8)]=new _0x2b10f4(_0x2b7fad,_0x148ca7[_0xb58860(0xaf)],this[_0xb58860(0xcb)]()),this[_0xb58860(0xb8)][_0xb58860(0x9f)]({'attributes':{'class':[_0xb58860(0x95),_0xb58860(0x96)],'aria-hidden':!0x0}}),this[_0xb58860(0xa5)]=new _0x1e0d73([this[_0xb58860(0xbc)],this[_0xb58860(0x7a)]]),this[_0xb58860(0xc7)]=new _0x31469c(),this[_0xb58860(0x8b)]=new _0x5e5003(),this[_0xb58860(0xd2)]=new _0x43a601({'focusables':this[_0xb58860(0xa5)],'focusTracker':this[_0xb58860(0xc7)],'keystrokeHandler':this[_0xb58860(0x8b)],'actions':{'focusPrevious':_0xb58860(0xa7),'focusNext':_0xb58860(0x9e)},'keystrokeHandlerOptions':{'filter':_0x1c70c5=>_0x1c70c5[_0xb58860(0xd1)]!==this[_0xb58860(0xbb)]}}),this[_0xb58860(0xbe)](this[_0xb58860(0xa8)]());}[_0x18b1be(0xcf)](){const _0x4f509b=_0x18b1be;super[_0x4f509b(0xcf)]();const _0x53c24d=this[_0x4f509b(0xbb)][_0x4f509b(0xc2)](_0x4f509b(0xa6));_0x53c24d[_0x4f509b(0x88)]=this[_0x4f509b(0xba)],this['on'](_0x4f509b(0xc6),(_0x8ad88c,_0x2b266d,_0x187654)=>{const _0x1d77a7=_0x4f509b;_0x53c24d[_0x1d77a7(0x88)]=_0x187654;}),this[_0x4f509b(0xc1)]();}[_0x18b1be(0xa8)](){const _0x47f411=_0x18b1be,_0x341269=this[_0x47f411(0xa0)],_0x2bdfd3=[{'tag':_0x47f411(0xb4),'attributes':{'class':[_0x47f411(0x9c),_0x47f411(0x8e)]},'children':[{'tag':_0x47f411(0x7d),'children':[{'text':this[_0x47f411(0xb8)][_0x47f411(0xb2)]}],'attributes':{'class':[_0x47f411(0xae),_0x47f411(0x7e)],'data-cke-tooltip-text':this[_0x47f411(0xb8)][_0x47f411(0xb2)]}},{'tag':_0x47f411(0x9d),'attributes':{'datetime':_0x341269['to'](_0x47f411(0x87)),'class':[_0x47f411(0xcc),_0x47f411(0x8f)]},'children':[{'text':_0x341269['to'](_0x47f411(0x87),_0x4e17c0=>this[_0x47f411(0x82)][_0x47f411(0x86)](_0x4e17c0))}]}]},{'tag':_0x47f411(0xb4),'attributes':{'class':[_0x47f411(0xb1),_0x47f411(0x81)]},'children':[this[_0x47f411(0xbc)],this[_0x47f411(0x7a)]]},{'tag':_0x47f411(0xb4),'attributes':{'class':[_0x47f411(0x80)]}}];return this[_0x47f411(0xab)][_0x47f411(0xc8)]&&_0x2bdfd3[_0x47f411(0xc4)]({'tag':_0x47f411(0xb4),'attributes':{'class':[_0x47f411(0xca)]},'children':[{'text':this[_0x47f411(0x7b)]()}]}),{'tag':_0x47f411(0xb4),'attributes':{'class':[_0x47f411(0xb3),_0x47f411(0xb0)],'tabindex':-0x1},'children':[this[_0x47f411(0xb8)],{'tag':_0x47f411(0xb4),'attributes':{'class':[_0x47f411(0xb7),_0x47f411(0x90)],'role':_0x47f411(0x8c)},'children':_0x2bdfd3}]};}[_0x18b1be(0x98)](){const _0x550b59=_0x18b1be;this[_0x550b59(0xbb)][_0x550b59(0x98)]();}[_0x18b1be(0xcb)](){const _0x9daa73=_0x18b1be;return this[_0x9daa73(0xab)][_0x9daa73(0xc8)]?_0x9daa73(0xb9)===this[_0x9daa73(0xab)][_0x9daa73(0xa2)][_0x9daa73(0xa4)][_0x9daa73(0x8a)]?_0x4dac17(this[_0x9daa73(0x7c)],_0x9daa73(0x8d),this[_0x9daa73(0xab)][_0x9daa73(0x92)][_0x9daa73(0xb2)]):_0x4dac17(this[_0x9daa73(0x7c)],_0x9daa73(0xbf),this[_0x9daa73(0xab)][_0x9daa73(0x92)][_0x9daa73(0xb2)]):null;}[_0x18b1be(0x7b)](){const _0x1ef507=_0x18b1be;return _0x1ef507(0xb9)===this[_0x1ef507(0xab)][_0x1ef507(0xa2)][_0x1ef507(0xa4)][_0x1ef507(0x8a)]?_0x4dac17(this[_0x1ef507(0x7c)],_0x1ef507(0xc9)):_0x4dac17(this[_0x1ef507(0x7c)],_0x1ef507(0x99));}[_0x18b1be(0x84)](_0x396a98,_0x2600c0,_0x50bd3c,_0x876d23,_0x534385){const _0x41adac=_0x18b1be,_0x34479b=new _0x885f56(this[_0x41adac(0x7c)]);return _0x34479b[_0x41adac(0x85)]({'label':_0x396a98,'icon':_0x2600c0,'tooltip':!0x0,'tooltipPosition':_0x534385}),_0x34479b[_0x41adac(0x9f)]({'attributes':{'class':_0x50bd3c}}),_0x34479b['on'](_0x41adac(0x9a),()=>{const _0x25c0e2=_0x41adac;this[_0x25c0e2(0xc3)](_0x876d23,this[_0x25c0e2(0xab)]['id']);}),_0x34479b;}[_0x18b1be(0xc1)](){const _0x1b4436=_0x18b1be,_0x199223=this[_0x1b4436(0xbb)];this[_0x1b4436(0x8b)][_0x1b4436(0xcd)](_0x199223);for(const _0x488e46 of this[_0x1b4436(0xa5)])this[_0x1b4436(0xc7)][_0x1b4436(0x7f)](_0x488e46[_0x1b4436(0xbb)]),this[_0x1b4436(0x8b)][_0x1b4436(0xcd)](_0x488e46[_0x1b4436(0xbb)]);this[_0x1b4436(0x8b)][_0x1b4436(0x85)](_0x1b4436(0xac),(_0x1af549,_0x165cf2)=>{const _0x3c564b=_0x1b4436;_0x199223===_0x1af549[_0x3c564b(0xd1)]&&(this[_0x3c564b(0xd2)][_0x3c564b(0xc5)](),_0x165cf2());}),this[_0x1b4436(0x8b)][_0x1b4436(0x85)](_0x1b4436(0xad),(_0x4d9c79,_0x1148bc)=>{const _0x88a03a=_0x1b4436;_0x199223!==_0x4d9c79[_0x88a03a(0xd1)]&&(this[_0x88a03a(0x98)](),_0x1148bc());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x578f03=_0x136f;function _0x136f(_0x182eee,_0x1c7c8f){const _0xc443aa=_0xc443();return _0x136f=function(_0x136f50,_0x5bc296){_0x136f50=_0x136f50-0x104;let _0x115d05=_0xc443aa[_0x136f50];return _0x115d05;},_0x136f(_0x182eee,_0x1c7c8f);}(function(_0x239d37,_0x1d5ca1){const _0x1078db=_0x136f,_0x8f41e=_0x239d37();while(!![]){try{const _0x350add=-parseInt(_0x1078db(0x122))/0x1*(-parseInt(_0x1078db(0x111))/0x2)+-parseInt(_0x1078db(0x11c))/0x3*(parseInt(_0x1078db(0x117))/0x4)+parseInt(_0x1078db(0x120))/0x5+parseInt(_0x1078db(0x108))/0x6+parseInt(_0x1078db(0x112))/0x7+parseInt(_0x1078db(0x123))/0x8+-parseInt(_0x1078db(0x109))/0x9;if(_0x350add===_0x1d5ca1)break;else _0x8f41e['push'](_0x8f41e['shift']());}catch(_0x3da140){_0x8f41e['push'](_0x8f41e['shift']());}}}(_0xc443,0xd3719));function _0xc443(){const _0x55cc41=['ck-reset','innerHTML','setTemplate','1885908vpnFzb','7998561pwyFbl','classes','\x20ck-track-changes-preview__root-container','height','setPreviewData','dialogRects','content','ck-track-changes-preview','1187332uiGiHy','5794523twcwjQ','className','render','data-ck-root-name','previewDataReady','228SEAfvp','createElement','focus','width','fire','7233KZIkEr','push','element','setAttribute','115035CeoOYC','options','1YHsGeF','1067592yWeZLu','div','style'];_0xc443=function(){return _0x55cc41;};return _0xc443();}import{View as _0x4abfb0}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x4abfb0{[_0x578f03(0x121)];constructor(_0x33ee66,_0x353a78){const _0x254fda=_0x578f03;super(_0x33ee66),this[_0x254fda(0x121)]=_0x353a78,this[_0x254fda(0x107)]({'tag':_0x254fda(0x124),'attributes':{'class':['ck',_0x254fda(0x105),_0x254fda(0x110)],'tabindex':-0x1}});}[_0x578f03(0x114)](){const _0x21ef51=_0x578f03;super[_0x21ef51(0x114)](),this[_0x21ef51(0x11e)][_0x21ef51(0x104)][_0x21ef51(0x11a)]=this[_0x21ef51(0x121)][_0x21ef51(0x10e)][_0x21ef51(0x11a)]+'px',this[_0x21ef51(0x11e)][_0x21ef51(0x104)][_0x21ef51(0x10c)]=this[_0x21ef51(0x121)][_0x21ef51(0x10e)][_0x21ef51(0x10c)]+'px';}[_0x578f03(0x10d)](_0x50fc2b,_0x338d8f){const _0x5b19c=_0x578f03;if(!this[_0x5b19c(0x11e)])return;const _0x444e1b=[];for(const [_0xb4cc9f,_0x429cac]of _0x50fc2b){const _0x48a2f1=document[_0x5b19c(0x118)](_0x5b19c(0x124));_0x48a2f1[_0x5b19c(0x11f)](_0x5b19c(0x115),_0xb4cc9f),_0x48a2f1[_0x5b19c(0x113)]=_0x429cac[_0x5b19c(0x10a)]+_0x5b19c(0x10b),_0x48a2f1[_0x5b19c(0x106)]=_0x429cac[_0x5b19c(0x10f)],_0x444e1b[_0x5b19c(0x11d)](_0x48a2f1);}_0x338d8f(this[_0x5b19c(0x11e)],_0x444e1b),this[_0x5b19c(0x11e)][_0x5b19c(0x104)][_0x5b19c(0x10c)]='',this[_0x5b19c(0x11b)](_0x5b19c(0x116));}[_0x578f03(0x119)](){const _0x3d76af=_0x578f03;this[_0x3d76af(0x11e)][_0x3d76af(0x119)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3e813f,_0x432286,_0x46b9ce){const _0x29c0b7=_0x3e813f['t'],t=_0x3e813f['t'];switch(_0x432286){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',_0x46b9ce);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x46b9ce);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x46b9ce);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x46b9ce);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x46b9ce);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',_0x46b9ce);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x46b9ce);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',_0x46b9ce);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x46b9ce);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x46b9ce);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x46b9ce);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x46b9ce);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x46b9ce);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x46b9ce);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x46b9ce);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x46b9ce);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x46b9ce);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x46b9ce);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x46b9ce);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x46b9ce);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x46b9ce);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x46b9ce);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x46b9ce);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x46b9ce);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x46b9ce);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x46b9ce);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x46b9ce);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x46b9ce);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x46b9ce);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x46b9ce);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x46b9ce);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x46b9ce);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x46b9ce);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x46b9ce);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'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x46b9ce);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x46b9ce);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'},_0x46b9ce);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x46b9ce);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 _0x29c0b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x46b9ce);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x29c0b7({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x46b9ce);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x46b9ce);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'},_0x46b9ce);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'},_0x46b9ce);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'},_0x46b9ce);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x432286;}}
|
|
23
|
+
export function getTranslation(_0x34733e,_0x50266e,_0x1acb92){const _0x4ba40a=_0x34733e['t'],t=_0x34733e['t'];switch(_0x50266e){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',_0x1acb92);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1acb92);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1acb92);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1acb92);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1acb92);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',_0x1acb92);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1acb92);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',_0x1acb92);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1acb92);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1acb92);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1acb92);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1acb92);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1acb92);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1acb92);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1acb92);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1acb92);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1acb92);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1acb92);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1acb92);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1acb92);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1acb92);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1acb92);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1acb92);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1acb92);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1acb92);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'},_0x1acb92);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1acb92);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1acb92);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1acb92);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1acb92);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1acb92);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1acb92);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1acb92);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1acb92);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1acb92);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1acb92);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'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1acb92);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1acb92);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'},_0x1acb92);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1acb92);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 _0x4ba40a({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1acb92);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4ba40a({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1acb92);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1acb92);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'},_0x1acb92);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'},_0x1acb92);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'},_0x1acb92);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x50266e;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5c3497,_0x4df3de){const _0x11e5dd=_0x29b0,_0x2e0045=_0x5c3497();while(!![]){try{const _0x1ba9eb=-parseInt(_0x11e5dd(0x165))/0x1+-parseInt(_0x11e5dd(0x14e))/0x2+-parseInt(_0x11e5dd(0x144))/0x3+-parseInt(_0x11e5dd(0x14f))/0x4*(parseInt(_0x11e5dd(0x161))/0x5)+parseInt(_0x11e5dd(0x16a))/0x6*(-parseInt(_0x11e5dd(0x166))/0x7)+-parseInt(_0x11e5dd(0x159))/0x8+parseInt(_0x11e5dd(0x150))/0x9;if(_0x1ba9eb===_0x4df3de)break;else _0x2e0045['push'](_0x2e0045['shift']());}catch(_0x249429){_0x2e0045['push'](_0x2e0045['shift']());}}}(_0x361e,0xc0504));export function normalizeDescription(_0x2333c6){const _0xfd3325=_0x29b0;return Array[_0xfd3325(0x14d)](_0x2333c6)||(_0x2333c6=[_0x2333c6]),_0x2333c6[_0xfd3325(0x15e)](_0x4a7d78=>{const _0x1cad70=_0xfd3325,_0x2272d4=_0x4a7d78[_0x1cad70(0x151)][_0x1cad70(0x15c)](/\*/g,''),_0x12b272=_0x4a7d78[_0x1cad70(0x146)]?_0x1cad70(0x143)+_0x4a7d78[_0x1cad70(0x146)][_0x1cad70(0x160)]+']':'';return'['+_0x4a7d78[_0x1cad70(0x153)]+']\x20'+_0x2272d4+_0x12b272;})[_0xfd3325(0x155)](';\x20');}export function renderDescription(_0x9ca212,_0x5941cb){const _0x91d510=_0x29b0;let _0x2144b6='';return _0x2144b6+=_0x9ca212[_0x91d510(0x168)]('*')[_0x91d510(0x15e)]((_0x4f3007,_0x434ce9)=>_0x434ce9%0x2!=0x0?_0x91d510(0x15d)+tn(_0x4f3007)+_0x91d510(0x145):tn(_0x4f3007))[_0x91d510(0x155)](''),_0x5941cb&&(_0x2144b6+=_0x91d510(0x162)+_0x5941cb[_0x91d510(0x160)]+_0x91d510(0x157)+_0x5941cb[_0x91d510(0x14a)]+_0x91d510(0x14c)),_0x2144b6;}function tn(_0x5a734a){const _0x31ec50=_0x29b0,_0x5dfa9f=document[_0x31ec50(0x13f)](_0x31ec50(0x15a));return _0x5dfa9f[_0x31ec50(0x167)]=_0x5a734a,_0x5dfa9f[_0x31ec50(0x163)];}export function sortSuggestions(_0xeeab83){const _0x186305=_0x29b0;return _0xeeab83[_0x186305(0x137)]((_0x39b24c,_0x5e287a)=>_0x186305(0x13c)===_0x39b24c[_0x186305(0x153)]&&_0x186305(0x13c)!==_0x5e287a[_0x186305(0x153)]?-0x1:_0x186305(0x13c)!==_0x39b24c[_0x186305(0x153)]&&_0x186305(0x13c)===_0x5e287a[_0x186305(0x153)]?0x1:_0x186305(0x169)==_0x39b24c[_0x186305(0x153)]&&_0x186305(0x169)!=_0x5e287a[_0x186305(0x153)]?-0x1:_0x186305(0x169)!=_0x39b24c[_0x186305(0x153)]&&_0x186305(0x169)==_0x5e287a[_0x186305(0x153)]?0x1:0x0);}export function getSelectedSuggestions(_0x1256b8,_0xb34422){const _0x58b8f7=_0x29b0,_0x12615f=Array[_0x58b8f7(0x138)](_0x1256b8[_0x58b8f7(0x13d)]()),_0x1ce7b4=new Set();for(const _0x43e945 of _0xb34422)if(_0x43e945[_0x58b8f7(0x142)]){for(const _0x30d3bf of _0x12615f)for(const _0xe035ab of _0x43e945[_0x58b8f7(0x13d)]())(_0x30d3bf[_0x58b8f7(0x147)](_0xe035ab)||_0x1256b8[_0x58b8f7(0x152)]&&!_0x43e945[_0x58b8f7(0x16b)]&&_0x43e945[_0x58b8f7(0x13e)]&&_0xe035ab[_0x58b8f7(0x148)][_0x58b8f7(0x14b)](_0x30d3bf[_0x58b8f7(0x139)]))&&_0x1ce7b4[_0x58b8f7(0x16c)](_0x43e945);}return _0x1ce7b4;}export function getRangesOfBlockGroups(_0x1b5c7b,_0xb5c99b){const _0x1e9969=_0x29b0;let _0x325a51,_0x561309=0x0;const _0x31c222=[],_0x43e6b2=_0xb5c99b[_0x1e9969(0x15f)];for(;_0x561309<_0x1b5c7b[_0x1e9969(0x154)];){const _0x1f964a=_0x1b5c7b[_0x561309],_0x3e8d5b=_0x1b5c7b[_0x561309+0x1];_0x325a51||(_0x325a51=_0xb5c99b[_0x1e9969(0x141)](_0x1f964a)),nn(_0xb5c99b,_0x1f964a,_0x3e8d5b)||(_0x31c222[_0x1e9969(0x164)](_0xb5c99b[_0x1e9969(0x156)](_0x325a51,_0x43e6b2[_0x1e9969(0x149)](_0x1f964a)?_0xb5c99b[_0x1e9969(0x13a)](_0x1f964a):_0xb5c99b[_0x1e9969(0x13b)](_0x1f964a,_0x1e9969(0x148)))),_0x325a51=null),_0x561309++;}return _0x31c222;}function nn(_0x471b0e,_0xeeea14,_0x312889){const _0x1c042e=_0x29b0;if(!_0x312889)return!0x1;const _0x3b5684=_0x471b0e[_0x1c042e(0x13a)](_0xeeea14),_0x584e8c=_0x471b0e[_0x1c042e(0x141)](_0x312889);return _0x3b5684[_0x1c042e(0x14b)](_0x584e8c);}function _0x361e(){const _0x4a615e=['splice','createPositionBefore','isInContent','\x20[color\x20','2175831ZmRGnX','</span>','color','isIntersecting','end','isObject','title','isTouching','\x22></span>','isArray','475636VChKvS','4pcShsZ','32954787AmYqhg','content','isCollapsed','type','length','join','createRange','\x22\x20title=\x22','change','1696872QActYN','span','execute','replace','<span\x20class=\x22ck-suggestion-type\x22>','map','schema','value','1626315YaEUFT','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','innerHTML','push','1295067GyVCdj','78393qaveIl','innerText','split','deletion','42qZwnLI','isMultiRange','add','sort','from','start','createPositionAfter','createPositionAt','attribute','getRanges','next','createElement'];_0x361e=function(){return _0x4a615e;};return _0x361e();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x29b0(_0x50881e,_0x5af5c9){const _0x361e26=_0x361e();return _0x29b0=function(_0x29b041,_0x27c58f){_0x29b041=_0x29b041-0x137;let _0x4e26f8=_0x361e26[_0x29b041];return _0x4e26f8;},_0x29b0(_0x50881e,_0x5af5c9);}export function executeCommandForSuggestions(_0x24a3fb,_0x1745f9,_0x4bbdc0){const _0x24a989=_0x29b0;for(;_0x4bbdc0[_0x24a989(0x154)];){const _0x2616a4=_0x4bbdc0[_0x24a989(0x140)](0x0,0x64);_0x24a3fb[_0x24a989(0x158)](()=>{const _0x236052=_0x24a989;for(const _0x540682 of _0x2616a4)_0x540682[_0x236052(0x142)]&&_0x1745f9[_0x236052(0x15b)](_0x540682['id']);});}}
|