@ckeditor/ckeditor5-track-changes 47.3.0-alpha.0 → 47.3.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/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xebb9(_0x141dee,_0x24902a){const _0x45e573=_0x45e5();return _0xebb9=function(_0xebb92f,_0x2fa69b){_0xebb92f=_0xebb92f-0xc5;let _0x46594a=_0x45e573[_0xebb92f];return _0x46594a;},_0xebb9(_0x141dee,_0x24902a);}const _0x32a130=_0xebb9;(function(_0x540f49,_0x18825f){const _0x382ba6=_0xebb9,_0x2595cc=_0x540f49();while(!![]){try{const _0x229a64=parseInt(_0x382ba6(0xc9))/0x1+-parseInt(_0x382ba6(0xdb))/0x2+parseInt(_0x382ba6(0xc5))/0x3+-parseInt(_0x382ba6(0xd3))/0x4*(parseInt(_0x382ba6(0xd7))/0x5)+-parseInt(_0x382ba6(0xd6))/0x6*(-parseInt(_0x382ba6(0xcf))/0x7)+-parseInt(_0x382ba6(0xc7))/0x8+parseInt(_0x382ba6(0xd5))/0x9*(parseInt(_0x382ba6(0xca))/0xa);if(_0x229a64===_0x18825f)break;else _0x2595cc['push'](_0x2595cc['shift']());}catch(_0x4e57d4){_0x2595cc['push'](_0x2595cc['shift']());}}}(_0x45e5,0x55cf9));function _0x45e5(){const _0x3c5ef7=['previewFinalContent','24654qDklHW','pluginName','commands','TrackChangesPreview','4TBQWky','requires','29304AUlesQ','78wxvpgP','1600435Rcjvbj','define','isOfficialPlugin','trackChanges.preview.renderFunction','885802WGRJAV','2082639qGlZiz','appendChild','2235312MpJMsE','editor','393404UjNCkJ','800NUekjZ','add','isPremiumPlugin','config'];_0x45e5=function(){return _0x3c5ef7;};return _0x45e5();}import{Plugin as _0x31dc45}from'ckeditor5/src/core.js';import{Dialog as _0x49a906}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x3c6c56}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x4a8433}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x31dc45{static get[_0x32a130(0xd4)](){return[_0x3c6c56,_0x49a906];}static get[_0x32a130(0xd0)](){const _0x3e918c=_0x32a130;return _0x3e918c(0xd2);}static get[_0x32a130(0xd9)](){return!0x0;}static get[_0x32a130(0xcc)](){return!0x0;}constructor(_0x28a61e){const _0x407dfb=_0x32a130;super(_0x28a61e),_0x28a61e[_0x407dfb(0xd1)][_0x407dfb(0xcb)](_0x407dfb(0xce),new _0x4a8433(this[_0x407dfb(0xc8)])),_0x28a61e[_0x407dfb(0xcd)][_0x407dfb(0xd8)](_0x407dfb(0xda),(_0x4dc85b,_0x430627)=>{const _0x47c75f=_0x407dfb;for(const _0x237c9d of _0x430627)_0x4dc85b[_0x47c75f(0xc6)](_0x237c9d);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x307dfc=_0x13f9;(function(_0x36d2b7,_0x436d44){const _0x20a4ce=_0x13f9,_0xccc34d=_0x36d2b7();while(!![]){try{const _0x4fc61c=parseInt(_0x20a4ce(0xf0))/0x1+parseInt(_0x20a4ce(0xe8))/0x2*(parseInt(_0x20a4ce(0xd0))/0x3)+parseInt(_0x20a4ce(0xf9))/0x4*(-parseInt(_0x20a4ce(0xc0))/0x5)+-parseInt(_0x20a4ce(0x117))/0x6+parseInt(_0x20a4ce(0x148))/0x7+parseInt(_0x20a4ce(0xb8))/0x8+-parseInt(_0x20a4ce(0xe7))/0x9;if(_0x4fc61c===_0x436d44)break;else _0xccc34d['push'](_0xccc34d['shift']());}catch(_0x467f32){_0xccc34d['push'](_0xccc34d['shift']());}}}(_0x2b2b,0x5d4be));import{Plugin as _0x2e7f7d}from'ckeditor5/src/core.js';import{Collection as _0x766e53}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x3a3a49}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5164c0,createDropdown as _0x30f531,ListSeparatorView as _0x758537,MenuBarMenuView as _0x315d8c,MenuBarMenuListView as _0x204abc,MenuBarMenuListItemView as _0x4b66e3,MenuBarMenuListItemButtonView as _0x8e7b21,SplitButtonView as _0x39b22f,UIModel as _0x4b3f47}from'ckeditor5/src/ui.js';import{Users as _0x6df093,getDateTimeFormatter as _0x30e878,getAllMarkersDomElementsSorted as _0x24ec81}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2ba4ab}from'./trackchangesediting.js';function _0x13f9(_0x15ce09,_0x49b38d){const _0x2b2b0e=_0x2b2b();return _0x13f9=function(_0x13f9c6,_0x356c73){_0x13f9c6=_0x13f9c6-0x98;let _0x598277=_0x2b2b0e[_0x13f9c6];return _0x598277;},_0x13f9(_0x15ce09,_0x49b38d);}import{SuggestionController as _0x4157a2}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x179802}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x213c1e}from'./ui/view/suggestionview.js';function _0x2b2b(){const _0x2dcf4d=['arrowView','set','mainView','listenTo','some','Annotations','discardAllSuggestions','descriptionFactory','_handleControllerBuffer','_createMenuBarMenu','trackChanges.SuggestionThreadView','locale','_createToolbarButton','type','pluginName','init','isMultiRange','suggestionLoaded','commandName','TrackChangesUI','trackChanges.SuggestionView','CommentsUI','size','requires','push','Preview\x20final\x20content','delegate','4511340bfsBNJ','suggestionUnloaded','addMany','change:activeAnnotations','focus','editing','trackChanges.disableComments','getMarkers','SuggestionThreadView','has','clear','keys','delete','componentFactory','view','acceptSelectedSuggestions','menuitemcheckbox','evaluationLimit','_viewToController','TrackChangesPreview','_bindAnnotationToEditors','comments.maxThreadTotalWeight','execute','discardButton','buttonView','createAnnotationView','featureNotAllowed','button','licenseKey','unbind','_destroyController','Discard\x20all\x20selected\x20suggestions','trackChangesLicenseKeyInvalid','values','lowest','invalid','getFirstRange','isOn','getAllAdjacentSuggestions','menuBar:trackChanges','comments.editorConfig','Accept\x20all\x20suggestions','trackChangesLicenseKeyUsageLimit','define','from','domainLimit','previewFinalContent','getMarkerNames','addSourceCollector','3734381YtaZTo','getSuggestionForAnnotation','suggestionChanged','switchbutton','usageLimit','_handleSuggestionControllerDelayed','createCommentThreadController','isOfficialPlugin','trackChangesLicenseKeyTrialLimit','getDescriptions','trackChangesLicenseKeyValid','Track\x20changes','isDirty','getJoined','trackChangesLicenseKeyEvaluationLimit','commentsListView','_updateController','refreshSelectedViews','get','reduce','isInContent','commands','_refreshActiveMarkers','Accept\x20all\x20selected\x20suggestions','_suggestionToController','stopListening','createAnnotation','addComment','innerView','activeAnnotations','trialLimit','toMany','hasSuggestion','2047536MyEKNE','editor','CommentsRepository','getByInnerView','fire','bind','destroy','isPremiumPlugin','5fJOJXd','source','trackChanges','menuitem','_unbindEditors','model','SuggestionView','expired','TrackChangesEditing','comments','config','_licenseKeyCheckInterval','discardSelectedSuggestions','activeMarkers','acceptButton','previous','805767VNtEFS','head','filter','_initializeController','_disableComments','EditorAnnotations','_addUIComponentsToFactory','suggestion-','isEnabled','trackChangesLicenseKeyDomainLimit','change:previous','getAnnotationForSuggestion','actionView','descriptionParts','suggestionView','length','_annotationViews','registerAnnotation','menu','acceptAllSuggestions','value','getSuggestion','Discard\x20all\x20suggestions','2453814xgDdMk','2tmAXOw','CommentView','_showLicenseError','plugins','children','remove','getRanges','TrackChanges','627767KqpvDX','comments.maxCommentsWhenCollapsed','trackChangesLicenseKeyNotAllowed','comments.maxCommentCharsWhenCollapsed','panelView','items','trackChangesLicenseKeyExpired','add','separator','1116412qwUVyR','escape','commentThread'];_0x2b2b=function(){return _0x2dcf4d;};return _0x2b2b();}import{getTranslation as _0x365a65}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2e7f7d{[_0x307dfc(0x133)];[_0x307dfc(0xcb)];[_0x307dfc(0xaf)];[_0x307dfc(0x129)];[_0x307dfc(0xe0)];[_0x307dfc(0x104)];[_0x307dfc(0xd4)];static get[_0x307dfc(0x113)](){const _0x2cb020=_0x307dfc;return[_0x2ba4ab,_0x6df093,_0x2cb020(0xba),_0x2cb020(0x101),_0x2cb020(0xd5)];}static get[_0x307dfc(0x10a)](){const _0x37580b=_0x307dfc;return _0x37580b(0x10f);}static get[_0x307dfc(0x9e)](){return!0x0;}static get[_0x307dfc(0xbf)](){return!0x0;}constructor(_0x30bbb4){const _0x1b437c=_0x307dfc;super(_0x30bbb4),this[_0x1b437c(0xaf)]=new Map(),this[_0x1b437c(0x129)]=new Map(),this[_0x1b437c(0xe0)]=new Map(),this[_0x1b437c(0x104)]=new Map();const _0xfc8192=this[_0x1b437c(0xb9)][_0x1b437c(0xca)];_0xfc8192[_0x1b437c(0x142)](_0x1b437c(0x106),_0x179802),_0xfc8192[_0x1b437c(0x142)](_0x1b437c(0x110),_0x213c1e),_0xfc8192[_0x1b437c(0x142)](_0x1b437c(0x11d),!0x1),this[_0x1b437c(0xd4)]=_0xfc8192[_0x1b437c(0xa9)](_0x1b437c(0x11d));}[_0x307dfc(0x9c)](_0x2ead49,_0x2aed14){const _0x4d9104=_0x307dfc;0x0===this[_0x4d9104(0x104)][_0x4d9104(0x112)]&&setTimeout(()=>{const _0x2b94a7=_0x4d9104;for(const [_0x2a77b2,_0xc5eed5]of this[_0x2b94a7(0x104)]){const _0x4b3f07=this[_0x2b94a7(0xaf)][_0x2b94a7(0x120)](_0x2a77b2);_0x4b3f07||_0xc5eed5?_0x4b3f07&&_0xc5eed5&&this[_0x2b94a7(0x135)](_0x2a77b2):this[_0x2b94a7(0xd3)](_0x2a77b2);}this[_0x2b94a7(0x104)][_0x2b94a7(0x121)](),this[_0x2b94a7(0xb9)][_0x2b94a7(0xeb)][_0x2b94a7(0xa9)](_0x2b94a7(0xd5))[_0x2b94a7(0xa8)](),this[_0x2b94a7(0xad)]();},0xa),this[_0x4d9104(0x104)][_0x4d9104(0xfd)](_0x2ead49,_0x2aed14);}[_0x307dfc(0x10b)](){const _0x319f86=_0x307dfc,_0x2510a7=this[_0x319f86(0xb9)],_0x2daeab=_0x2510a7[_0x319f86(0xeb)][_0x319f86(0xa9)](_0x319f86(0xc8)),_0x4dcb0c=_0x2510a7[_0x319f86(0xeb)][_0x319f86(0xa9)](_0x319f86(0x101)),_0x577d85=_0x2510a7[_0x319f86(0xeb)][_0x319f86(0xa9)](_0x319f86(0xd5)),_0x7d3968=_0x2510a7[_0x319f86(0xeb)][_0x319f86(0xa9)](_0x319f86(0xba));this[_0x319f86(0xd6)](),_0x577d85[_0x319f86(0x147)](()=>{const _0x53cc03=_0x319f86,_0x4b85cc=[];for(const [_0x1e9efb,_0x343592]of Array[_0x53cc03(0x143)](this[_0x53cc03(0xaf)])){const _0x5a5516=_0x1e9efb[_0x53cc03(0x13d)](),_0x3e24b8=[];for(const _0x40fc29 of _0x5a5516){if(!_0x40fc29[_0x53cc03(0xab)])continue;if(_0x40fc29[_0x53cc03(0x10c)]){_0x3e24b8[_0x53cc03(0x114)](..._0x40fc29[_0x53cc03(0xee)]());continue;}const _0x20f2b5=_0x40fc29[_0x53cc03(0x13b)]();if(_0x3e24b8[_0x53cc03(0xdf)]>0x0){const _0x46b665=_0x3e24b8[0x0][_0x53cc03(0xa4)](_0x20f2b5);if(_0x46b665){_0x3e24b8[0x0]=_0x46b665;continue;}}_0x3e24b8[_0x53cc03(0x114)](_0x20f2b5);}_0x4b85cc[_0x53cc03(0x114)]([_0x343592[_0x53cc03(0x125)],_0x3e24b8]);}return _0x4b85cc;}),this[_0x319f86(0xff)](_0x2daeab,_0x319f86(0x10d),(_0x547aa2,_0x2aaab0)=>{const _0x1b5c2c=_0x319f86;this[_0x1b5c2c(0xff)](_0x2aaab0,_0x1b5c2c(0xda),(_0x194fc7,_0x530d93,_0x2c5852,_0x1307f5)=>{const _0x4704f0=_0x1b5c2c;_0x2aaab0[_0x4704f0(0xab)]&&(null==_0x2c5852?(this[_0x4704f0(0xa7)](_0x1307f5[_0x4704f0(0xd1)]),this[_0x4704f0(0x9c)](_0x2aaab0,!0x1)):(this[_0x4704f0(0xa7)](_0x2c5852[_0x4704f0(0xd1)]),null==_0x1307f5&&this[_0x4704f0(0x9c)](_0x2aaab0,!0x0)));}),null!==_0x2aaab0[_0x1b5c2c(0xcf)]?this[_0x1b5c2c(0xa7)](_0x2aaab0[_0x1b5c2c(0xd1)]):this[_0x1b5c2c(0x9c)](_0x2aaab0,!0x1);}),this[_0x319f86(0xff)](_0x2daeab,_0x319f86(0x118),(_0x33bb26,_0x4585f7,_0x570321)=>{const _0x802f08=_0x319f86;this[_0x802f08(0xb0)](_0x4585f7,_0x802f08(0xda)),this[_0x802f08(0x104)][_0x802f08(0x123)](_0x4585f7),this[_0x802f08(0xaf)][_0x802f08(0x120)](_0x4585f7)&&this[_0x802f08(0x135)](_0x4585f7),_0x570321&&this[_0x802f08(0xa7)](_0x570321[_0x802f08(0xd1)]);}),this[_0x319f86(0xff)](_0x2daeab,_0x319f86(0x99),(_0x4e3fe5,_0x537b7b)=>{const _0x2c765b=_0x319f86;this[_0x2c765b(0xa7)](_0x537b7b);}),this[_0x319f86(0xff)](_0x4dcb0c,_0x319f86(0x11a),()=>{const _0x61b4be=_0x319f86;this[_0x61b4be(0xad)]();}),this[_0x319f86(0xff)](_0x7d3968,_0x319f86(0xb2),(_0x3d6408,{threadId:_0x4979be,isFromAdapter:_0xba5f65})=>{const _0x552b1d=_0x319f86;if(_0xba5f65||!_0x2daeab[_0x552b1d(0xb7)](_0x4979be))return;const _0x9ce2de=_0x2daeab[_0x552b1d(0xe5)](_0x4979be);this[_0x552b1d(0xaf)][_0x552b1d(0xa9)](_0x9ce2de)[_0x552b1d(0x125)][_0x552b1d(0xa6)][_0x552b1d(0x11b)](-0x1);},{'priority':_0x319f86(0x139)}),this[_0x319f86(0x133)]=this[_0x319f86(0xb9)][_0x319f86(0xca)][_0x319f86(0xa9)](_0x319f86(0x133));const _0x1c2322=this[_0x319f86(0xb9)];this[_0x319f86(0xcb)]=setInterval(()=>{const _0x5a03fb=_0x319f86;let _0x4bfe6d;for(const _0x48b68b in _0x1c2322){const _0x351f99=_0x48b68b,_0x44ea54=_0x1c2322[_0x351f99];if(_0x5a03fb(0xa1)==_0x44ea54||_0x5a03fb(0x137)==_0x44ea54||_0x5a03fb(0xf6)==_0x44ea54||_0x5a03fb(0xd9)==_0x44ea54||_0x5a03fb(0xf2)==_0x44ea54||_0x5a03fb(0xa5)==_0x44ea54||_0x5a03fb(0x9f)==_0x44ea54||_0x5a03fb(0x141)==_0x44ea54){delete _0x1c2322[_0x351f99],_0x4bfe6d=_0x44ea54,clearInterval(this[_0x5a03fb(0xcb)]),this[_0x5a03fb(0xcb)]=void 0x0;break;}}_0x5a03fb(0x137)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x13a)),_0x5a03fb(0xf6)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0xc7)),_0x5a03fb(0xd9)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x144)),_0x5a03fb(0xf2)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x131),_0x5a03fb(0xef)),_0x5a03fb(0xa5)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x128)),_0x5a03fb(0x9f)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0xb5)),_0x5a03fb(0x141)==_0x4bfe6d&&_0x1c2322[_0x5a03fb(0xea)](_0x5a03fb(0x9b));},0x3e8);}[_0x307dfc(0xdb)](_0x52e3b6){const _0x2037c3=_0x307dfc,_0xa465ae=this[_0x2037c3(0xaf)][_0x2037c3(0xa9)](_0x52e3b6);if(!_0xa465ae)return null;return this[_0x2037c3(0xb9)][_0x2037c3(0xeb)][_0x2037c3(0xa9)](_0x2037c3(0x101))[_0x2037c3(0xbb)](_0xa465ae[_0x2037c3(0x125)])||null;}[_0x307dfc(0x98)](_0x2f383a){const _0x6722f4=_0x307dfc,_0x36b51e=this[_0x6722f4(0x129)][_0x6722f4(0xa9)](_0x2f383a[_0x6722f4(0xb3)]);return _0x36b51e?_0x36b51e[_0x6722f4(0xc5)]:null;}[_0x307dfc(0xad)](){const _0x208ef8=_0x307dfc,_0x56a2a2=this[_0x208ef8(0xb9)][_0x208ef8(0xeb)][_0x208ef8(0xa9)](_0x208ef8(0x101)),_0x4fd119=this[_0x208ef8(0xb9)][_0x208ef8(0xeb)][_0x208ef8(0xa9)](_0x208ef8(0xc8)),_0x900fbb=Array[_0x208ef8(0x143)](_0x56a2a2[_0x208ef8(0xb4)],_0x26e8ee=>_0x26e8ee[_0x208ef8(0xb3)])[_0x208ef8(0xd2)](_0x5073b8=>this[_0x208ef8(0x129)][_0x208ef8(0x120)](_0x5073b8)),_0x2d7f88=[];for(const _0x2ff699 of _0x900fbb){const _0x3b5302=this[_0x208ef8(0x129)][_0x208ef8(0xa9)](_0x2ff699)[_0x208ef8(0xc5)][_0x208ef8(0x13d)]();_0x2d7f88[_0x208ef8(0x114)](..._0x3b5302[_0x208ef8(0xaa)]((_0x4ff51d,_0x46d3aa)=>[..._0x4ff51d,..._0x46d3aa[_0x208ef8(0x146)]()],[]));}_0x4fd119[_0x208ef8(0xcd)]=_0x2d7f88;}[_0x307dfc(0xd6)](){const _0x4b3754=_0x307dfc,_0x1a90c3=this[_0x4b3754(0xb9)],_0x228a8f=_0x1a90c3[_0x4b3754(0x107)],_0x12f049=_0x365a65(_0x228a8f,_0x4b3754(0xa2)),_0x460067=new _0x766e53([{'type':_0x4b3754(0x9a),'model':new _0x4b3f47({'withText':!0x0,'isToggleable':!0x0,'label':_0x12f049,'commandName':_0x4b3754(0xc2),'role':_0x4b3754(0x127)})},{'type':_0x4b3754(0xf8)},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0x140)),'commandName':_0x4b3754(0xe3),'role':_0x4b3754(0xc3)})},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0xae)),'commandName':_0x4b3754(0x126),'role':_0x4b3754(0xc3)})},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0xe6)),'commandName':_0x4b3754(0x102),'role':_0x4b3754(0xc3)})},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0x136)),'commandName':_0x4b3754(0xcc),'role':_0x4b3754(0xc3)})}]);_0x1a90c3[_0x4b3754(0xeb)][_0x4b3754(0x120)](_0x4b3754(0x12a))&&_0x460067[_0x4b3754(0x119)]([{'type':_0x4b3754(0xf8)},{'type':_0x4b3754(0x132),'model':new _0x4b3f47({'withText':!0x0,'label':_0x365a65(_0x228a8f,_0x4b3754(0x115)),'commandName':_0x4b3754(0x145),'role':_0x4b3754(0xc3)})}]);for(const _0x2a9347 of _0x460067)if(ke(_0x2a9347)){const _0xac31c2=_0x1a90c3[_0x4b3754(0xac)][_0x4b3754(0xa9)](_0x2a9347[_0x4b3754(0xc5)][_0x4b3754(0x10e)]);_0x2a9347[_0x4b3754(0xc5)][_0x4b3754(0xbd)](_0x4b3754(0x13c),_0x4b3754(0xd8))['to'](_0xac31c2,_0x4b3754(0xe4),_0x4b3754(0xd8));}_0x1a90c3['ui'][_0x4b3754(0x124)][_0x4b3754(0xf7)](_0x4b3754(0xc2),_0x4785ad=>this[_0x4b3754(0x108)](_0x4785ad,_0x460067,_0x12f049)),_0x1a90c3['ui'][_0x4b3754(0x124)][_0x4b3754(0xf7)](_0x4b3754(0x13e),_0x1966bb=>this[_0x4b3754(0x105)](_0x1966bb,_0x460067,_0x12f049));}[_0x307dfc(0x108)](_0x367367,_0x3ab67c,_0x48958c){const _0xc283a9=_0x307dfc,_0x2b09f7=_0x30f531(_0x367367,_0x39b22f),_0x426e64=this[_0xc283a9(0xb9)][_0xc283a9(0xac)][_0xc283a9(0xa9)](_0xc283a9(0xc2));_0x2b09f7[_0xc283a9(0x12f)][_0xc283a9(0xfd)]({'tooltip':_0x48958c,'label':_0x48958c,'icon':_0x3a3a49}),_0x2b09f7[_0xc283a9(0x12f)][_0xc283a9(0xbd)](_0xc283a9(0x13c))['to'](_0x426e64,_0xc283a9(0xe4)),_0x2b09f7[_0xc283a9(0x12f)]['on'](_0xc283a9(0x12d),()=>{const _0x37a454=_0xc283a9;_0x426e64[_0x37a454(0x12d)](),this[_0x37a454(0xb9)][_0x37a454(0x11c)][_0x37a454(0x125)][_0x37a454(0x11b)]();}),_0x5164c0(_0x2b09f7,_0x3ab67c,{'role':_0xc283a9(0xe2)});const _0x31a60e=[];for(const _0x496f7d of _0x3ab67c)ke(_0x496f7d)&&_0x31a60e[_0xc283a9(0x114)](this[_0xc283a9(0xb9)][_0xc283a9(0xac)][_0xc283a9(0xa9)](_0x496f7d[_0xc283a9(0xc5)][_0xc283a9(0x10e)]));const _0x4341af=_0x2b09f7[_0xc283a9(0x12f)];return _0x4341af[_0xc283a9(0xdc)][_0xc283a9(0x134)](_0xc283a9(0xd8)),_0x4341af[_0xc283a9(0xfc)][_0xc283a9(0x134)](_0xc283a9(0xd8)),_0x4341af[_0xc283a9(0xdc)][_0xc283a9(0xbd)](_0xc283a9(0xd8))['to'](_0x426e64,_0xc283a9(0xd8)),_0x4341af[_0xc283a9(0xfc)][_0xc283a9(0xbd)](_0xc283a9(0xd8))[_0xc283a9(0xb6)](_0x31a60e,_0xc283a9(0xd8),(..._0xf30407)=>_0xf30407[_0xc283a9(0x100)](_0x3ea189=>_0x3ea189)),_0x2b09f7['on'](_0xc283a9(0x12d),_0x5df1e6=>{const _0x4f10e4=_0xc283a9;this[_0x4f10e4(0xb9)][_0x4f10e4(0x12d)](_0x5df1e6[_0x4f10e4(0xc1)][_0x4f10e4(0x10e)]),this[_0x4f10e4(0xb9)][_0x4f10e4(0x11c)][_0x4f10e4(0x125)][_0x4f10e4(0x11b)]();}),_0x2b09f7;}[_0x307dfc(0x105)](_0x2ae612,_0x47b7a9,_0x45bac4){const _0x4bcfd2=_0x307dfc,_0x25f264=new _0x315d8c(_0x2ae612),_0x418a22=this[_0x4bcfd2(0xb9)][_0x4bcfd2(0xac)][_0x4bcfd2(0xa9)](_0x4bcfd2(0xc2));_0x25f264[_0x4bcfd2(0x12f)][_0x4bcfd2(0xfd)]({'label':_0x45bac4,'icon':_0x3a3a49});const _0x3d87fa=new _0x204abc(_0x2ae612);for(const _0xb01016 of _0x47b7a9){if(_0x4bcfd2(0xf8)==_0xb01016[_0x4bcfd2(0x109)]){_0x3d87fa[_0x4bcfd2(0xf5)][_0x4bcfd2(0xf7)](new _0x758537(_0x2ae612));continue;}const _0x2f8293=new _0x4b66e3(_0x2ae612,_0x25f264),_0x438efd=new _0x8e7b21(_0x2ae612),_0x2d2836=_0xb01016[_0x4bcfd2(0xc5)];_0x438efd[_0x4bcfd2(0xbd)](...Object[_0x4bcfd2(0x122)](_0x2d2836))['to'](_0x2d2836),_0x438efd[_0x4bcfd2(0x116)](_0x4bcfd2(0x12d))['to'](_0x25f264),_0x438efd['on'](_0x4bcfd2(0x12d),()=>{const _0x4de2b0=_0x4bcfd2;this[_0x4de2b0(0xb9)][_0x4de2b0(0x12d)](_0x2d2836[_0x4de2b0(0x10e)]),this[_0x4de2b0(0xb9)][_0x4de2b0(0x11c)][_0x4de2b0(0x125)][_0x4de2b0(0x11b)]();}),_0x2f8293[_0x4bcfd2(0xec)][_0x4bcfd2(0xf7)](_0x438efd),_0x3d87fa[_0x4bcfd2(0xf5)][_0x4bcfd2(0xf7)](_0x2f8293);}return _0x25f264[_0x4bcfd2(0xbd)](_0x4bcfd2(0xd8))['to'](_0x418a22,_0x4bcfd2(0xd8)),_0x25f264[_0x4bcfd2(0xf4)][_0x4bcfd2(0xec)][_0x4bcfd2(0xf7)](_0x3d87fa),_0x25f264;}[_0x307dfc(0xd3)](_0x4eaf55){const _0x213fb8=_0x307dfc,_0x130491=this[_0x213fb8(0xb9)],_0x1993fc=_0x130491[_0x213fb8(0xca)],_0x246a3c=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0x101)),_0x3ec844=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0xba)),_0x54841f=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0xd5)),_0x2cd3a7=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x6df093)['me'],_0x5c6ff9=_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xc2))[_0x213fb8(0x11f)],_0x106dcd=_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xc2))[_0x213fb8(0xc6)],{CommentsListView:_0x5901a2,CommentThreadInputView:_0xf74a28}=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0x111));let _0x1590c7,_0x27cda3,_0x5475b7;this[_0x213fb8(0xe0)][_0x213fb8(0x120)](_0x4eaf55['id'])?(_0x27cda3=this[_0x213fb8(0xe0)][_0x213fb8(0xa9)](_0x4eaf55['id']),_0x1590c7=_0x27cda3[_0x213fb8(0xfe)]):(_0x1590c7=new _0x5c6ff9(_0x130491[_0x213fb8(0x107)],_0x4eaf55,_0x2cd3a7,{'disableComments':this[_0x213fb8(0xd4)],'editorConfig':{..._0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0x13f)),'licenseKey':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0x133))},'maxCommentsWhenCollapsed':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xf1)),'maxThreadTotalWeight':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0x12c)),'maxCommentCharsWhenCollapsed':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xf3)),'formatDateTime':_0x30e878(_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0x107)),_0x130491[_0x213fb8(0x107)]),'CommentView':_0x1993fc[_0x213fb8(0xa9)](_0x213fb8(0xc9))[_0x213fb8(0xe9)],'CommentsListView':_0x5901a2,'CommentThreadInputView':_0xf74a28,'SuggestionView':_0x106dcd}),_0x1590c7[_0x213fb8(0xde)][_0x213fb8(0xce)]['on'](_0x213fb8(0x12d),()=>{const _0x5d2b72=_0x213fb8;_0x130491[_0x5d2b72(0x11c)][_0x5d2b72(0x125)][_0x5d2b72(0x11b)]();}),_0x1590c7[_0x213fb8(0xde)][_0x213fb8(0x12e)]['on'](_0x213fb8(0x12d),()=>{const _0x38c736=_0x213fb8;_0x130491[_0x38c736(0x11c)][_0x38c736(0x125)][_0x38c736(0x11b)]();}),_0x27cda3=_0x246a3c[_0x213fb8(0x130)](this[_0x213fb8(0xb9)][_0x213fb8(0x107)],_0x1590c7),_0x27cda3[_0x213fb8(0xbd)](_0x213fb8(0xa3))['to'](_0x1590c7,_0x213fb8(0xa3)),_0x27cda3[_0x213fb8(0xbd)](_0x213fb8(0xdf))['to'](_0x1590c7),_0x27cda3[_0x213fb8(0xbd)](_0x213fb8(0x109))['to'](_0x1590c7,_0x213fb8(0x109),_0x38e65a=>_0x213fb8(0xd7)+_0x38e65a),_0x1590c7['on'](_0x213fb8(0xfa),()=>{const _0x3162a9=_0x213fb8;_0x5475b7[_0x3162a9(0xbc)](_0x3162a9(0xfa));}),this[_0x213fb8(0xe0)][_0x213fb8(0xfd)](_0x4eaf55['id'],_0x27cda3));const _0x4e61ae=_0x3ec844[_0x213fb8(0x9d)](_0x4eaf55[_0x213fb8(0xfb)],_0x1590c7),_0x57c5c3=new _0x4157a2(_0x130491,_0x4eaf55,_0x1590c7,_0x4e61ae),_0x3f20a8=_0x4eaf55[_0x213fb8(0x13d)]()[_0x213fb8(0xd2)](_0x8190b=>_0x8190b[_0x213fb8(0xab)]);_0x1590c7[_0x213fb8(0xdd)]=_0x130491[_0x213fb8(0xeb)][_0x213fb8(0xa9)](_0x213fb8(0xc8))[_0x213fb8(0x103)][_0x213fb8(0xa0)](_0x3f20a8),this[_0x213fb8(0xaf)][_0x213fb8(0xfd)](_0x4eaf55,_0x57c5c3),this[_0x213fb8(0x129)][_0x213fb8(0xfd)](_0x1590c7,_0x57c5c3);const _0x14ac3f=()=>{const _0x57b56e=_0x213fb8,_0xd04c7b=[],_0x265f4e=_0x4eaf55[_0x57b56e(0x13d)]()[_0x57b56e(0xd2)](_0x448d45=>_0x448d45[_0x57b56e(0xab)]);for(const _0x4cca50 of _0x265f4e)_0xd04c7b[_0x57b56e(0x114)](..._0x4cca50[_0x57b56e(0x11e)]());return _0x24ec81(_0x130491[_0x57b56e(0x11c)],_0xd04c7b);};_0x5475b7=_0x246a3c[_0x213fb8(0xb1)]({'view':_0x27cda3,'target':_0x14ac3f,'type':()=>_0x213fb8(0xd7)+_0x57c5c3[_0x213fb8(0x125)][_0x213fb8(0x109)],'isVisible':!!_0x14ac3f()}),_0x3ec844[_0x213fb8(0x12b)](_0x1590c7,_0x5475b7),_0x246a3c[_0x213fb8(0xf7)](_0x5475b7),_0x54841f[_0x213fb8(0xe1)](_0x5475b7);}[_0x307dfc(0x135)](_0x35d022){const _0x480e6b=_0x307dfc,_0x56da98=this[_0x480e6b(0xb9)][_0x480e6b(0xeb)][_0x480e6b(0xa9)](_0x480e6b(0xba)),_0x1efc2a=this[_0x480e6b(0xb9)][_0x480e6b(0xeb)][_0x480e6b(0xa9)](_0x480e6b(0x101)),_0x392320=this[_0x480e6b(0xaf)][_0x480e6b(0xa9)](_0x35d022),_0x12dbe6=_0x392320[_0x480e6b(0x125)],_0x590ffa=_0x1efc2a[_0x480e6b(0xbb)](_0x12dbe6);_0x56da98[_0x480e6b(0xc4)](_0x12dbe6),_0x590ffa&&_0x1efc2a[_0x480e6b(0xed)](_0x590ffa),this[_0x480e6b(0xaf)][_0x480e6b(0x123)](_0x35d022),this[_0x480e6b(0x129)][_0x480e6b(0x123)](_0x12dbe6),_0x392320[_0x480e6b(0xbe)]();}[_0x307dfc(0xa7)](_0x4d7f9a){const _0x2b86df=_0x307dfc;if(!_0x4d7f9a[_0x2b86df(0xab)]||!this[_0x2b86df(0xaf)][_0x2b86df(0x120)](_0x4d7f9a))return;const _0x296839=this[_0x2b86df(0xb9)][_0x2b86df(0xeb)][_0x2b86df(0xa9)](_0x2b86df(0xc8)),_0x4adb96=this[_0x2b86df(0xaf)][_0x2b86df(0xa9)](_0x4d7f9a),_0x11e117=_0x4d7f9a[_0x2b86df(0x13d)]();_0x4adb96[_0x2b86df(0x125)][_0x2b86df(0xdd)]=_0x296839[_0x2b86df(0x103)][_0x2b86df(0xa0)](_0x11e117);}[_0x307dfc(0xbe)](){const _0x466893=_0x307dfc;for(const _0x430be0 of this[_0x466893(0xaf)][_0x466893(0x122)]())this[_0x466893(0x135)](_0x430be0);for(const _0x252293 of this[_0x466893(0xe0)][_0x466893(0x138)]())_0x252293[_0x466893(0xfe)][_0x466893(0xbe)]();super[_0x466893(0xbe)](),this[_0x466893(0xcb)]&&clearInterval(this[_0x466893(0xcb)]);}}function ke(_0x468d43){const _0x1e8ce0=_0x307dfc;return _0x1e8ce0(0xc5)in _0x468d43;}
|
|
23
|
+
function _0x4dfc(_0xde2863,_0x3de60c){const _0x3ea400=_0x3ea4();return _0x4dfc=function(_0x4dfc64,_0x25ad48){_0x4dfc64=_0x4dfc64-0x17e;let _0x4cd444=_0x3ea400[_0x4dfc64];return _0x4cd444;},_0x4dfc(_0xde2863,_0x3de60c);}const _0x36178c=_0x4dfc;(function(_0x4f9e9f,_0x2629da){const _0x225586=_0x4dfc,_0x3a62ac=_0x4f9e9f();while(!![]){try{const _0x53ab45=-parseInt(_0x225586(0x207))/0x1*(parseInt(_0x225586(0x1ab))/0x2)+-parseInt(_0x225586(0x1e1))/0x3+parseInt(_0x225586(0x20b))/0x4*(-parseInt(_0x225586(0x1e0))/0x5)+-parseInt(_0x225586(0x1a7))/0x6+parseInt(_0x225586(0x1c5))/0x7+parseInt(_0x225586(0x1f4))/0x8*(-parseInt(_0x225586(0x1fe))/0x9)+parseInt(_0x225586(0x20f))/0xa;if(_0x53ab45===_0x2629da)break;else _0x3a62ac['push'](_0x3a62ac['shift']());}catch(_0x5b3c63){_0x3a62ac['push'](_0x3a62ac['shift']());}}}(_0x3ea4,0x9a617));import{Plugin as _0x64e0f2}from'ckeditor5/src/core.js';import{Collection as _0x32b295}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1fff3c}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x579c05,createDropdown as _0xa315cf,ListSeparatorView as _0x4a210d,MenuBarMenuView as _0x495511,MenuBarMenuListView as _0x3606ac,MenuBarMenuListItemView as _0x49c2b2,MenuBarMenuListItemButtonView as _0x584431,SplitButtonView as _0x1db90a,UIModel as _0x569d30}from'ckeditor5/src/ui.js';import{Users as _0x14e848,getDateTimeFormatter as _0x464121,getAllMarkersDomElementsSorted as _0x1d5c2f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3ea4(){const _0x363318=['innerView','comments.maxCommentsWhenCollapsed','value','panelView','separator','isDirty','isPremiumPlugin','Discard\x20all\x20selected\x20suggestions','reduce','suggestionChanged','_updateController','set','trackChanges.disableComments','acceptSelectedSuggestions','define','comments.maxCommentCharsWhenCollapsed','1147152vCOrid','isOn','plugins','_handleControllerBuffer','7562hqullU','refreshSelectedViews','Annotations','Accept\x20all\x20suggestions','init','suggestionUnloaded','commands','commentsListView','_addUIComponentsToFactory','menuitem','switchbutton','isMultiRange','menuitemcheckbox','SuggestionView','trackChanges.SuggestionThreadView','hasSuggestion','comments','isOfficialPlugin','_createMenuBarMenu','from','Track\x20changes','Preview\x20final\x20content','comments.maxThreadTotalWeight','source','actionView','filter','8684459EYjYea','getAllAdjacentSuggestions','activeMarkers','previous','focus','activeAnnotations','trackChangesLicenseKeyExpired','fire','destroy','push','_suggestionToController','discardButton','_unbindEditors','acceptButton','requires','mainView','_disableComments','getMarkerNames','trackChangesLicenseKeyValid','trackChangesLicenseKeyEvaluationLimit','descriptionParts','delegate','getByInnerView','trackChangesLicenseKeyUsageLimit','addComment','view','licenseKey','4077245QmiHgh','2995458KdaDdo','addSourceCollector','editor','getSuggestionForAnnotation','TrackChanges','SuggestionThreadView','trialLimit','some','arrowView','trackChangesLicenseKeyTrialLimit','menuBar:trackChanges','_bindAnnotationToEditors','bind','discardSelectedSuggestions','change:previous','length','getAnnotationForSuggestion','clear','_licenseKeyCheckInterval','97368iuQYCk','EditorAnnotations','comments.editorConfig','trackChanges','keys','toMany','getFirstRange','config','change:activeAnnotations','createAnnotationView','297zeIXaj','acceptAllSuggestions','_showLicenseError','_createToolbarButton','isEnabled','CommentsRepository','TrackChangesUI','buttonView','isInContent','2IIOXJG','suggestionLoaded','registerAnnotation','commentThread','4idSLjQ','children','getSuggestion','getDescriptions','18060380iJCxEv','type','CommentsUI','get','createCommentThreadController','head','trackChangesLicenseKeyInvalid','previewFinalContent','escape','getMarkers','commandName','expired','remove','size','_destroyController','CommentView','unbind','discardAllSuggestions','delete','trackChangesLicenseKeyDomainLimit','model','getJoined','_initializeController','TrackChangesPreview','menu','featureNotAllowed','has','_handleSuggestionControllerDelayed','values','listenTo','suggestionView','button','_annotationViews','_viewToController','_refreshActiveMarkers','suggestion-','domainLimit','trackChangesLicenseKeyNotAllowed','trackChanges.SuggestionView','Discard\x20all\x20suggestions','createAnnotation','usageLimit','execute','stopListening','lowest','evaluationLimit','locale','add','editing','items','descriptionFactory','getRanges','componentFactory','addMany','pluginName','TrackChangesEditing','invalid','Accept\x20all\x20selected\x20suggestions'];_0x3ea4=function(){return _0x363318;};return _0x3ea4();}import{TrackChangesEditing as _0x3cf56e}from'./trackchangesediting.js';import{SuggestionController as _0x378a0e}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x41d011}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x322b69}from'./ui/view/suggestionview.js';import{getTranslation as _0x393edd}from'./utils/common-translations.js';export class TrackChangesUI extends _0x64e0f2{[_0x36178c(0x1df)];[_0x36178c(0x1f3)];[_0x36178c(0x1cf)];[_0x36178c(0x17e)];[_0x36178c(0x22f)];[_0x36178c(0x1aa)];[_0x36178c(0x1d5)];static get[_0x36178c(0x1d3)](){const _0x185ed2=_0x36178c;return[_0x3cf56e,_0x14e848,_0x185ed2(0x203),_0x185ed2(0x1ad),_0x185ed2(0x1f5)];}static get[_0x36178c(0x193)](){const _0x31bae4=_0x36178c;return _0x31bae4(0x204);}static get[_0x36178c(0x1bc)](){return!0x0;}static get[_0x36178c(0x19d)](){return!0x0;}constructor(_0x3281ef){const _0x385c7f=_0x36178c;super(_0x3281ef),this[_0x385c7f(0x1cf)]=new Map(),this[_0x385c7f(0x17e)]=new Map(),this[_0x385c7f(0x22f)]=new Map(),this[_0x385c7f(0x1aa)]=new Map();const _0x16ab0e=this[_0x385c7f(0x1e3)][_0x385c7f(0x1fb)];_0x16ab0e[_0x385c7f(0x1a5)](_0x385c7f(0x1b9),_0x41d011),_0x16ab0e[_0x385c7f(0x1a5)](_0x385c7f(0x183),_0x322b69),_0x16ab0e[_0x385c7f(0x1a5)](_0x385c7f(0x1a3),!0x1),this[_0x385c7f(0x1d5)]=_0x16ab0e[_0x385c7f(0x212)](_0x385c7f(0x1a3));}[_0x36178c(0x22a)](_0x1b2100,_0x47f52f){const _0x56112c=_0x36178c;0x0===this[_0x56112c(0x1aa)][_0x56112c(0x21c)]&&setTimeout(()=>{const _0xda109e=_0x56112c;for(const [_0x3702e4,_0x14ac75]of this[_0xda109e(0x1aa)]){const _0x3dded6=this[_0xda109e(0x1cf)][_0xda109e(0x229)](_0x3702e4);_0x3dded6||_0x14ac75?_0x3dded6&&_0x14ac75&&this[_0xda109e(0x21d)](_0x3702e4):this[_0xda109e(0x225)](_0x3702e4);}this[_0xda109e(0x1aa)][_0xda109e(0x1f2)](),this[_0xda109e(0x1e3)][_0xda109e(0x1a9)][_0xda109e(0x212)](_0xda109e(0x1f5))[_0xda109e(0x1ac)](),this[_0xda109e(0x17f)]();},0xa),this[_0x56112c(0x1aa)][_0x56112c(0x1a2)](_0x1b2100,_0x47f52f);}[_0x36178c(0x1af)](){const _0x4d072d=_0x36178c,_0x3d1817=this[_0x4d072d(0x1e3)],_0x35c38d=_0x3d1817[_0x4d072d(0x1a9)][_0x4d072d(0x212)](_0x4d072d(0x194)),_0x90f1f0=_0x3d1817[_0x4d072d(0x1a9)][_0x4d072d(0x212)](_0x4d072d(0x1ad)),_0x9dee35=_0x3d1817[_0x4d072d(0x1a9)][_0x4d072d(0x212)](_0x4d072d(0x1f5)),_0x414856=_0x3d1817[_0x4d072d(0x1a9)][_0x4d072d(0x212)](_0x4d072d(0x203));this[_0x4d072d(0x1b3)](),_0x9dee35[_0x4d072d(0x1e2)](()=>{const _0x53a0ff=_0x4d072d,_0x6b8333=[];for(const [_0x578bc0,_0x4dd28b]of Array[_0x53a0ff(0x1be)](this[_0x53a0ff(0x1cf)])){const _0x1a732d=_0x578bc0[_0x53a0ff(0x1c6)](),_0x3decde=[];for(const _0x1e3bcf of _0x1a732d){if(!_0x1e3bcf[_0x53a0ff(0x206)])continue;if(_0x1e3bcf[_0x53a0ff(0x1b6)]){_0x3decde[_0x53a0ff(0x1ce)](..._0x1e3bcf[_0x53a0ff(0x190)]());continue;}const _0x336c69=_0x1e3bcf[_0x53a0ff(0x1fa)]();if(_0x3decde[_0x53a0ff(0x1f0)]>0x0){const _0x1b5c0f=_0x3decde[0x0][_0x53a0ff(0x224)](_0x336c69);if(_0x1b5c0f){_0x3decde[0x0]=_0x1b5c0f;continue;}}_0x3decde[_0x53a0ff(0x1ce)](_0x336c69);}_0x6b8333[_0x53a0ff(0x1ce)]([_0x4dd28b[_0x53a0ff(0x1de)],_0x3decde]);}return _0x6b8333;}),this[_0x4d072d(0x22c)](_0x35c38d,_0x4d072d(0x208),(_0x2ec5d6,_0x14996c)=>{const _0x413396=_0x4d072d;this[_0x413396(0x22c)](_0x14996c,_0x413396(0x1ef),(_0x3de114,_0x1a4e45,_0x432a9a,_0x2ba9eb)=>{const _0x4b41a5=_0x413396;_0x14996c[_0x4b41a5(0x206)]&&(null==_0x432a9a?(this[_0x4b41a5(0x1a1)](_0x2ba9eb[_0x4b41a5(0x214)]),this[_0x4b41a5(0x22a)](_0x14996c,!0x1)):(this[_0x4b41a5(0x1a1)](_0x432a9a[_0x4b41a5(0x214)]),null==_0x2ba9eb&&this[_0x4b41a5(0x22a)](_0x14996c,!0x0)));}),null!==_0x14996c[_0x413396(0x1c8)]?this[_0x413396(0x1a1)](_0x14996c[_0x413396(0x214)]):this[_0x413396(0x22a)](_0x14996c,!0x1);}),this[_0x4d072d(0x22c)](_0x35c38d,_0x4d072d(0x1b0),(_0xe653a0,_0x3a9fc3,_0xce3523)=>{const _0x4521c0=_0x4d072d;this[_0x4521c0(0x188)](_0x3a9fc3,_0x4521c0(0x1ef)),this[_0x4521c0(0x1aa)][_0x4521c0(0x221)](_0x3a9fc3),this[_0x4521c0(0x1cf)][_0x4521c0(0x229)](_0x3a9fc3)&&this[_0x4521c0(0x21d)](_0x3a9fc3),_0xce3523&&this[_0x4521c0(0x1a1)](_0xce3523[_0x4521c0(0x214)]);}),this[_0x4d072d(0x22c)](_0x35c38d,_0x4d072d(0x1a0),(_0x49fd2a,_0x57fa23)=>{const _0x310035=_0x4d072d;this[_0x310035(0x1a1)](_0x57fa23);}),this[_0x4d072d(0x22c)](_0x90f1f0,_0x4d072d(0x1fc),()=>{const _0x255052=_0x4d072d;this[_0x255052(0x17f)]();}),this[_0x4d072d(0x22c)](_0x414856,_0x4d072d(0x1dd),(_0x2f0f26,{threadId:_0x2c7726,isFromAdapter:_0x2b402c})=>{const _0x4c973c=_0x4d072d;if(_0x2b402c||!_0x35c38d[_0x4c973c(0x1ba)](_0x2c7726))return;const _0x50a8df=_0x35c38d[_0x4c973c(0x20d)](_0x2c7726);this[_0x4c973c(0x1cf)][_0x4c973c(0x212)](_0x50a8df)[_0x4c973c(0x1de)][_0x4c973c(0x1b2)][_0x4c973c(0x1c9)](-0x1);},{'priority':_0x4d072d(0x189)}),this[_0x4d072d(0x1df)]=this[_0x4d072d(0x1e3)][_0x4d072d(0x1fb)][_0x4d072d(0x212)](_0x4d072d(0x1df));const _0x46097f=this[_0x4d072d(0x1e3)];this[_0x4d072d(0x1f3)]=setInterval(()=>{const _0x310176=_0x4d072d;let _0xee9ed7;for(const _0x349db8 in _0x46097f){const _0x3f1d4a=_0x349db8,_0x134a06=_0x46097f[_0x3f1d4a];if(_0x310176(0x1d7)==_0x134a06||_0x310176(0x215)==_0x134a06||_0x310176(0x1cb)==_0x134a06||_0x310176(0x222)==_0x134a06||_0x310176(0x182)==_0x134a06||_0x310176(0x1d8)==_0x134a06||_0x310176(0x1ea)==_0x134a06||_0x310176(0x1dc)==_0x134a06){delete _0x46097f[_0x3f1d4a],_0xee9ed7=_0x134a06,clearInterval(this[_0x310176(0x1f3)]),this[_0x310176(0x1f3)]=void 0x0;break;}}_0x310176(0x215)==_0xee9ed7&&_0x46097f[_0x310176(0x200)](_0x310176(0x195)),_0x310176(0x1cb)==_0xee9ed7&&_0x46097f[_0x310176(0x200)](_0x310176(0x21a)),_0x310176(0x222)==_0xee9ed7&&_0x46097f[_0x310176(0x200)](_0x310176(0x181)),_0x310176(0x182)==_0xee9ed7&&_0x46097f[_0x310176(0x200)](_0x310176(0x228),_0x310176(0x1e5)),_0x310176(0x1d8)==_0xee9ed7&&_0x46097f[_0x310176(0x200)](_0x310176(0x18a)),_0x310176(0x1ea)==_0xee9ed7&&_0x46097f[_0x310176(0x200)](_0x310176(0x1e7)),_0x310176(0x1dc)==_0xee9ed7&&_0x46097f[_0x310176(0x200)](_0x310176(0x186));},0x3e8);}[_0x36178c(0x1f1)](_0x3afadc){const _0x310d3e=_0x36178c,_0x12c8aa=this[_0x310d3e(0x1cf)][_0x310d3e(0x212)](_0x3afadc);if(!_0x12c8aa)return null;return this[_0x310d3e(0x1e3)][_0x310d3e(0x1a9)][_0x310d3e(0x212)](_0x310d3e(0x1ad))[_0x310d3e(0x1db)](_0x12c8aa[_0x310d3e(0x1de)])||null;}[_0x36178c(0x1e4)](_0x1983e3){const _0x285876=_0x36178c,_0x2dfb42=this[_0x285876(0x17e)][_0x285876(0x212)](_0x1983e3[_0x285876(0x197)]);return _0x2dfb42?_0x2dfb42[_0x285876(0x223)]:null;}[_0x36178c(0x17f)](){const _0x1cfa6d=_0x36178c,_0x27df04=this[_0x1cfa6d(0x1e3)][_0x1cfa6d(0x1a9)][_0x1cfa6d(0x212)](_0x1cfa6d(0x1ad)),_0x4b9b92=this[_0x1cfa6d(0x1e3)][_0x1cfa6d(0x1a9)][_0x1cfa6d(0x212)](_0x1cfa6d(0x194)),_0x1427c8=Array[_0x1cfa6d(0x1be)](_0x27df04[_0x1cfa6d(0x1ca)],_0x34a12b=>_0x34a12b[_0x1cfa6d(0x197)])[_0x1cfa6d(0x1c4)](_0x3524d6=>this[_0x1cfa6d(0x17e)][_0x1cfa6d(0x229)](_0x3524d6)),_0x400071=[];for(const _0x27fe21 of _0x1427c8){const _0x1d50c0=this[_0x1cfa6d(0x17e)][_0x1cfa6d(0x212)](_0x27fe21)[_0x1cfa6d(0x223)][_0x1cfa6d(0x1c6)]();_0x400071[_0x1cfa6d(0x1ce)](..._0x1d50c0[_0x1cfa6d(0x19f)]((_0x3ef2f2,_0x346091)=>[..._0x3ef2f2,..._0x346091[_0x1cfa6d(0x1d6)]()],[]));}_0x4b9b92[_0x1cfa6d(0x1c7)]=_0x400071;}[_0x36178c(0x1b3)](){const _0x385115=_0x36178c,_0x4327fa=this[_0x385115(0x1e3)],_0x37da35=_0x4327fa[_0x385115(0x18b)],_0x219878=_0x393edd(_0x37da35,_0x385115(0x1bf)),_0x5afa7c=new _0x32b295([{'type':_0x385115(0x1b5),'model':new _0x569d30({'withText':!0x0,'isToggleable':!0x0,'label':_0x219878,'commandName':_0x385115(0x1f7),'role':_0x385115(0x1b7)})},{'type':_0x385115(0x19b)},{'type':_0x385115(0x22e),'model':new _0x569d30({'withText':!0x0,'label':_0x393edd(_0x37da35,_0x385115(0x1ae)),'commandName':_0x385115(0x1ff),'role':_0x385115(0x1b4)})},{'type':_0x385115(0x22e),'model':new _0x569d30({'withText':!0x0,'label':_0x393edd(_0x37da35,_0x385115(0x196)),'commandName':_0x385115(0x1a4),'role':_0x385115(0x1b4)})},{'type':_0x385115(0x22e),'model':new _0x569d30({'withText':!0x0,'label':_0x393edd(_0x37da35,_0x385115(0x184)),'commandName':_0x385115(0x220),'role':_0x385115(0x1b4)})},{'type':_0x385115(0x22e),'model':new _0x569d30({'withText':!0x0,'label':_0x393edd(_0x37da35,_0x385115(0x19e)),'commandName':_0x385115(0x1ee),'role':_0x385115(0x1b4)})}]);_0x4327fa[_0x385115(0x1a9)][_0x385115(0x229)](_0x385115(0x226))&&_0x5afa7c[_0x385115(0x192)]([{'type':_0x385115(0x19b)},{'type':_0x385115(0x22e),'model':new _0x569d30({'withText':!0x0,'label':_0x393edd(_0x37da35,_0x385115(0x1c0)),'commandName':_0x385115(0x216),'role':_0x385115(0x1b4)})}]);for(const _0x1bf764 of _0x5afa7c)if(ke(_0x1bf764)){const _0x1fd9dc=_0x4327fa[_0x385115(0x1b1)][_0x385115(0x212)](_0x1bf764[_0x385115(0x223)][_0x385115(0x219)]);_0x1bf764[_0x385115(0x223)][_0x385115(0x1ed)](_0x385115(0x1a8),_0x385115(0x202))['to'](_0x1fd9dc,_0x385115(0x199),_0x385115(0x202));}_0x4327fa['ui'][_0x385115(0x191)][_0x385115(0x18c)](_0x385115(0x1f7),_0x381dd1=>this[_0x385115(0x201)](_0x381dd1,_0x5afa7c,_0x219878)),_0x4327fa['ui'][_0x385115(0x191)][_0x385115(0x18c)](_0x385115(0x1eb),_0x1e92bf=>this[_0x385115(0x1bd)](_0x1e92bf,_0x5afa7c,_0x219878));}[_0x36178c(0x201)](_0x1c8456,_0x3f51ec,_0x3dce60){const _0x5346d2=_0x36178c,_0x4b996b=_0xa315cf(_0x1c8456,_0x1db90a),_0x101a8c=this[_0x5346d2(0x1e3)][_0x5346d2(0x1b1)][_0x5346d2(0x212)](_0x5346d2(0x1f7));_0x4b996b[_0x5346d2(0x205)][_0x5346d2(0x1a2)]({'tooltip':_0x3dce60,'label':_0x3dce60,'icon':_0x1fff3c}),_0x4b996b[_0x5346d2(0x205)][_0x5346d2(0x1ed)](_0x5346d2(0x1a8))['to'](_0x101a8c,_0x5346d2(0x199)),_0x4b996b[_0x5346d2(0x205)]['on'](_0x5346d2(0x187),()=>{const _0x447e1b=_0x5346d2;_0x101a8c[_0x447e1b(0x187)](),this[_0x447e1b(0x1e3)][_0x447e1b(0x18d)][_0x447e1b(0x1de)][_0x447e1b(0x1c9)]();}),_0x579c05(_0x4b996b,_0x3f51ec,{'role':_0x5346d2(0x227)});const _0x4ccd8d=[];for(const _0xf328cf of _0x3f51ec)ke(_0xf328cf)&&_0x4ccd8d[_0x5346d2(0x1ce)](this[_0x5346d2(0x1e3)][_0x5346d2(0x1b1)][_0x5346d2(0x212)](_0xf328cf[_0x5346d2(0x223)][_0x5346d2(0x219)]));const _0x369acc=_0x4b996b[_0x5346d2(0x205)];return _0x369acc[_0x5346d2(0x1c3)][_0x5346d2(0x21f)](_0x5346d2(0x202)),_0x369acc[_0x5346d2(0x1e9)][_0x5346d2(0x21f)](_0x5346d2(0x202)),_0x369acc[_0x5346d2(0x1c3)][_0x5346d2(0x1ed)](_0x5346d2(0x202))['to'](_0x101a8c,_0x5346d2(0x202)),_0x369acc[_0x5346d2(0x1e9)][_0x5346d2(0x1ed)](_0x5346d2(0x202))[_0x5346d2(0x1f9)](_0x4ccd8d,_0x5346d2(0x202),(..._0xc8531)=>_0xc8531[_0x5346d2(0x1e8)](_0x4aeaa3=>_0x4aeaa3)),_0x4b996b['on'](_0x5346d2(0x187),_0x598ea2=>{const _0x260bbc=_0x5346d2;this[_0x260bbc(0x1e3)][_0x260bbc(0x187)](_0x598ea2[_0x260bbc(0x1c2)][_0x260bbc(0x219)]),this[_0x260bbc(0x1e3)][_0x260bbc(0x18d)][_0x260bbc(0x1de)][_0x260bbc(0x1c9)]();}),_0x4b996b;}[_0x36178c(0x1bd)](_0x4e2138,_0x4a351e,_0x15fd17){const _0x30425e=_0x36178c,_0x139606=new _0x495511(_0x4e2138),_0x1d2f0c=this[_0x30425e(0x1e3)][_0x30425e(0x1b1)][_0x30425e(0x212)](_0x30425e(0x1f7));_0x139606[_0x30425e(0x205)][_0x30425e(0x1a2)]({'label':_0x15fd17,'icon':_0x1fff3c});const _0x36a93c=new _0x3606ac(_0x4e2138);for(const _0x41d8cc of _0x4a351e){if(_0x30425e(0x19b)==_0x41d8cc[_0x30425e(0x210)]){_0x36a93c[_0x30425e(0x18e)][_0x30425e(0x18c)](new _0x4a210d(_0x4e2138));continue;}const _0x3733ee=new _0x49c2b2(_0x4e2138,_0x139606),_0x2cb3fb=new _0x584431(_0x4e2138),_0x31e45a=_0x41d8cc[_0x30425e(0x223)];_0x2cb3fb[_0x30425e(0x1ed)](...Object[_0x30425e(0x1f8)](_0x31e45a))['to'](_0x31e45a),_0x2cb3fb[_0x30425e(0x1da)](_0x30425e(0x187))['to'](_0x139606),_0x2cb3fb['on'](_0x30425e(0x187),()=>{const _0x3a9c5e=_0x30425e;this[_0x3a9c5e(0x1e3)][_0x3a9c5e(0x187)](_0x31e45a[_0x3a9c5e(0x219)]),this[_0x3a9c5e(0x1e3)][_0x3a9c5e(0x18d)][_0x3a9c5e(0x1de)][_0x3a9c5e(0x1c9)]();}),_0x3733ee[_0x30425e(0x20c)][_0x30425e(0x18c)](_0x2cb3fb),_0x36a93c[_0x30425e(0x18e)][_0x30425e(0x18c)](_0x3733ee);}return _0x139606[_0x30425e(0x1ed)](_0x30425e(0x202))['to'](_0x1d2f0c,_0x30425e(0x202)),_0x139606[_0x30425e(0x19a)][_0x30425e(0x20c)][_0x30425e(0x18c)](_0x36a93c),_0x139606;}[_0x36178c(0x225)](_0x516204){const _0x3fab1f=_0x36178c,_0x3ac75f=this[_0x3fab1f(0x1e3)],_0x102b89=_0x3ac75f[_0x3fab1f(0x1fb)],_0x393f70=_0x3ac75f[_0x3fab1f(0x1a9)][_0x3fab1f(0x212)](_0x3fab1f(0x1ad)),_0x2b0fdb=_0x3ac75f[_0x3fab1f(0x1a9)][_0x3fab1f(0x212)](_0x3fab1f(0x203)),_0xe65965=_0x3ac75f[_0x3fab1f(0x1a9)][_0x3fab1f(0x212)](_0x3fab1f(0x1f5)),_0x510764=_0x3ac75f[_0x3fab1f(0x1a9)][_0x3fab1f(0x212)](_0x14e848)['me'],_0x1eacc3=_0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x1f7))[_0x3fab1f(0x1e6)],_0x59c7a5=_0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x1f7))[_0x3fab1f(0x1b8)],{CommentsListView:_0x218214,CommentThreadInputView:_0x5e09e3}=_0x3ac75f[_0x3fab1f(0x1a9)][_0x3fab1f(0x212)](_0x3fab1f(0x211));let _0x5d6ab5,_0x4a156c,_0x261b86;this[_0x3fab1f(0x22f)][_0x3fab1f(0x229)](_0x516204['id'])?(_0x4a156c=this[_0x3fab1f(0x22f)][_0x3fab1f(0x212)](_0x516204['id']),_0x5d6ab5=_0x4a156c[_0x3fab1f(0x1d4)]):(_0x5d6ab5=new _0x1eacc3(_0x3ac75f[_0x3fab1f(0x18b)],_0x516204,_0x510764,{'disableComments':this[_0x3fab1f(0x1d5)],'editorConfig':{..._0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x1f6)),'licenseKey':_0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x1df))},'maxCommentsWhenCollapsed':_0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x198)),'maxThreadTotalWeight':_0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x1c1)),'maxCommentCharsWhenCollapsed':_0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x1a6)),'formatDateTime':_0x464121(_0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x18b)),_0x3ac75f[_0x3fab1f(0x18b)]),'CommentView':_0x102b89[_0x3fab1f(0x212)](_0x3fab1f(0x1bb))[_0x3fab1f(0x21e)],'CommentsListView':_0x218214,'CommentThreadInputView':_0x5e09e3,'SuggestionView':_0x59c7a5}),_0x5d6ab5[_0x3fab1f(0x22d)][_0x3fab1f(0x1d2)]['on'](_0x3fab1f(0x187),()=>{const _0xc12db6=_0x3fab1f;_0x3ac75f[_0xc12db6(0x18d)][_0xc12db6(0x1de)][_0xc12db6(0x1c9)]();}),_0x5d6ab5[_0x3fab1f(0x22d)][_0x3fab1f(0x1d0)]['on'](_0x3fab1f(0x187),()=>{const _0x4ec3ae=_0x3fab1f;_0x3ac75f[_0x4ec3ae(0x18d)][_0x4ec3ae(0x1de)][_0x4ec3ae(0x1c9)]();}),_0x4a156c=_0x393f70[_0x3fab1f(0x1fd)](this[_0x3fab1f(0x1e3)][_0x3fab1f(0x18b)],_0x5d6ab5),_0x4a156c[_0x3fab1f(0x1ed)](_0x3fab1f(0x19c))['to'](_0x5d6ab5,_0x3fab1f(0x19c)),_0x4a156c[_0x3fab1f(0x1ed)](_0x3fab1f(0x1f0))['to'](_0x5d6ab5),_0x4a156c[_0x3fab1f(0x1ed)](_0x3fab1f(0x210))['to'](_0x5d6ab5,_0x3fab1f(0x210),_0x55783a=>_0x3fab1f(0x180)+_0x55783a),_0x5d6ab5['on'](_0x3fab1f(0x217),()=>{const _0x510055=_0x3fab1f;_0x261b86[_0x510055(0x1cc)](_0x510055(0x217));}),this[_0x3fab1f(0x22f)][_0x3fab1f(0x1a2)](_0x516204['id'],_0x4a156c));const _0x25e4e6=_0x2b0fdb[_0x3fab1f(0x213)](_0x516204[_0x3fab1f(0x20a)],_0x5d6ab5),_0x537173=new _0x378a0e(_0x3ac75f,_0x516204,_0x5d6ab5,_0x25e4e6),_0x468a6a=_0x516204[_0x3fab1f(0x1c6)]()[_0x3fab1f(0x1c4)](_0xce97ec=>_0xce97ec[_0x3fab1f(0x206)]);_0x5d6ab5[_0x3fab1f(0x1d9)]=_0x3ac75f[_0x3fab1f(0x1a9)][_0x3fab1f(0x212)](_0x3fab1f(0x194))[_0x3fab1f(0x18f)][_0x3fab1f(0x20e)](_0x468a6a),this[_0x3fab1f(0x1cf)][_0x3fab1f(0x1a2)](_0x516204,_0x537173),this[_0x3fab1f(0x17e)][_0x3fab1f(0x1a2)](_0x5d6ab5,_0x537173);const _0x2f46c6=()=>{const _0x5f3ca5=_0x3fab1f,_0x4e9690=[],_0x4f2c4f=_0x516204[_0x5f3ca5(0x1c6)]()[_0x5f3ca5(0x1c4)](_0x2ddf0b=>_0x2ddf0b[_0x5f3ca5(0x206)]);for(const _0x2fa27b of _0x4f2c4f)_0x4e9690[_0x5f3ca5(0x1ce)](..._0x2fa27b[_0x5f3ca5(0x218)]());return _0x1d5c2f(_0x3ac75f[_0x5f3ca5(0x18d)],_0x4e9690);};_0x261b86=_0x393f70[_0x3fab1f(0x185)]({'view':_0x4a156c,'target':_0x2f46c6,'type':()=>_0x3fab1f(0x180)+_0x537173[_0x3fab1f(0x1de)][_0x3fab1f(0x210)],'isVisible':!!_0x2f46c6()}),_0x2b0fdb[_0x3fab1f(0x1ec)](_0x5d6ab5,_0x261b86),_0x393f70[_0x3fab1f(0x18c)](_0x261b86),_0xe65965[_0x3fab1f(0x209)](_0x261b86);}[_0x36178c(0x21d)](_0x3f9a74){const _0x636398=_0x36178c,_0x31becc=this[_0x636398(0x1e3)][_0x636398(0x1a9)][_0x636398(0x212)](_0x636398(0x203)),_0x57acb1=this[_0x636398(0x1e3)][_0x636398(0x1a9)][_0x636398(0x212)](_0x636398(0x1ad)),_0x3afa77=this[_0x636398(0x1cf)][_0x636398(0x212)](_0x3f9a74),_0x1ebf84=_0x3afa77[_0x636398(0x1de)],_0x2bfade=_0x57acb1[_0x636398(0x1db)](_0x1ebf84);_0x31becc[_0x636398(0x1d1)](_0x1ebf84),_0x2bfade&&_0x57acb1[_0x636398(0x21b)](_0x2bfade),this[_0x636398(0x1cf)][_0x636398(0x221)](_0x3f9a74),this[_0x636398(0x17e)][_0x636398(0x221)](_0x1ebf84),_0x3afa77[_0x636398(0x1cd)]();}[_0x36178c(0x1a1)](_0x35ac31){const _0x202f0b=_0x36178c;if(!_0x35ac31[_0x202f0b(0x206)]||!this[_0x202f0b(0x1cf)][_0x202f0b(0x229)](_0x35ac31))return;const _0x1e751b=this[_0x202f0b(0x1e3)][_0x202f0b(0x1a9)][_0x202f0b(0x212)](_0x202f0b(0x194)),_0x423fe0=this[_0x202f0b(0x1cf)][_0x202f0b(0x212)](_0x35ac31),_0x20851f=_0x35ac31[_0x202f0b(0x1c6)]();_0x423fe0[_0x202f0b(0x1de)][_0x202f0b(0x1d9)]=_0x1e751b[_0x202f0b(0x18f)][_0x202f0b(0x20e)](_0x20851f);}[_0x36178c(0x1cd)](){const _0x2a50d6=_0x36178c;for(const _0x1fcad2 of this[_0x2a50d6(0x1cf)][_0x2a50d6(0x1f8)]())this[_0x2a50d6(0x21d)](_0x1fcad2);for(const _0x4b3f7d of this[_0x2a50d6(0x22f)][_0x2a50d6(0x22b)]())_0x4b3f7d[_0x2a50d6(0x1d4)][_0x2a50d6(0x1cd)]();super[_0x2a50d6(0x1cd)](),this[_0x2a50d6(0x1f3)]&&clearInterval(this[_0x2a50d6(0x1f3)]);}}function ke(_0x410cf6){const _0x3fe173=_0x36178c;return _0x3fe173(0x223)in _0x410cf6;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3b8dac=_0x522c;function _0x1a06(){const _0x575216=['16FhHpRd','2695260ENjFpp','isDirty','commentThreadController','change:isDirty','_discardCommand','_setPendingAction','9PHMXvq','execute','commands','623795WqltwS','view','locale','canEditAt','canDiscard','get','getRanges','unbind','isEnabled','canAccept','3168486LYUZHv','10872696VfMvrT','4227839WgIxyT','799588NiHwMJ','PendingActions','destroy','acceptSuggestion','discardSuggestion','_editor','_acceptCommand','PENDING_ACTION_SUGGESTION','_removePendingAction','748533TzdjAo','listenTo','bind','model','remove','_pendingAction','plugins','stopListening','add'];_0x1a06=function(){return _0x575216;};return _0x1a06();}function _0x522c(_0x3da94f,_0x1a5393){const _0x1a064d=_0x1a06();return _0x522c=function(_0x522cfd,_0x69fb4d){_0x522cfd=_0x522cfd-0x137;let _0x5c2e30=_0x1a064d[_0x522cfd];return _0x5c2e30;},_0x522c(_0x3da94f,_0x1a5393);}(function(_0x430e7b,_0x195833){const _0x4bd454=_0x522c,_0x285ce1=_0x430e7b();while(!![]){try{const _0x2db702=parseInt(_0x4bd454(0x15e))/0x1+parseInt(_0x4bd454(0x155))/0x2+-parseInt(_0x4bd454(0x13f))/0x3+-parseInt(_0x4bd454(0x13e))/0x4*(-parseInt(_0x4bd454(0x148))/0x5)+parseInt(_0x4bd454(0x152))/0x6+parseInt(_0x4bd454(0x154))/0x7+-parseInt(_0x4bd454(0x153))/0x8*(parseInt(_0x4bd454(0x145))/0x9);if(_0x2db702===_0x195833)break;else _0x285ce1['push'](_0x285ce1['shift']());}catch(_0x13c7e1){_0x285ce1['push'](_0x285ce1['shift']());}}}(_0x1a06,0x7f6ba));import{ObservableMixin as _0x9e4db5}from'ckeditor5/src/utils.js';import{getTranslation as _0x5e6249}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x9e4db5(){[_0x3b8dac(0x138)];[_0x3b8dac(0x149)];[_0x3b8dac(0x141)];[_0x3b8dac(0x15a)];[_0x3b8dac(0x15b)];[_0x3b8dac(0x143)];[_0x3b8dac(0x13a)];constructor(_0x5aeb6a,_0xd67a08,_0x852f5c,_0x5d2d9a){const _0x38fd63=_0x3b8dac;super(),this[_0x38fd63(0x138)]=_0xd67a08,this[_0x38fd63(0x149)]=_0x852f5c,this[_0x38fd63(0x141)]=_0x5d2d9a,this[_0x38fd63(0x15a)]=_0x5aeb6a,this[_0x38fd63(0x15b)]=_0x5aeb6a[_0x38fd63(0x147)][_0x38fd63(0x14d)](_0x38fd63(0x158)),this[_0x38fd63(0x143)]=_0x5aeb6a[_0x38fd63(0x147)][_0x38fd63(0x14d)](_0x38fd63(0x159)),this[_0x38fd63(0x149)][_0x38fd63(0x137)](_0x38fd63(0x150))['to'](this[_0x38fd63(0x15b)],this[_0x38fd63(0x143)],(_0x243257,_0xb38f3a)=>_0x243257||_0xb38f3a),this[_0x38fd63(0x149)][_0x38fd63(0x137)](_0x38fd63(0x151))['to'](this[_0x38fd63(0x15b)],_0x38fd63(0x150),_0xe3650f=>_0xe3650f&&this[_0x38fd63(0x15a)][_0x38fd63(0x138)][_0x38fd63(0x14b)](_0xd67a08[_0x38fd63(0x14e)]())),this[_0x38fd63(0x149)][_0x38fd63(0x137)](_0x38fd63(0x14c))['to'](this[_0x38fd63(0x143)],_0x38fd63(0x150),_0x26473d=>_0x26473d&&this[_0x38fd63(0x15a)][_0x38fd63(0x138)][_0x38fd63(0x14b)](_0xd67a08[_0x38fd63(0x14e)]())),this[_0x38fd63(0x13a)]=null,_0x852f5c[_0x38fd63(0x140)]&&this[_0x38fd63(0x144)](),this[_0x38fd63(0x15f)](_0x852f5c,_0x38fd63(0x158),()=>this[_0x38fd63(0x158)]()),this[_0x38fd63(0x15f)](_0x852f5c,_0x38fd63(0x159),()=>this[_0x38fd63(0x159)]()),this[_0x38fd63(0x15f)](_0x852f5c,_0x38fd63(0x142),()=>{const _0x3e7d50=_0x38fd63;_0x852f5c[_0x3e7d50(0x140)]?this[_0x3e7d50(0x144)]():this[_0x3e7d50(0x15d)]();});}[_0x3b8dac(0x158)](){const _0x3b6244=_0x3b8dac;this[_0x3b6244(0x15b)][_0x3b6244(0x146)](this[_0x3b6244(0x138)]['id']);}[_0x3b8dac(0x159)](){const _0x408dbe=_0x3b8dac;this[_0x408dbe(0x143)][_0x408dbe(0x146)](this[_0x408dbe(0x138)]['id']);}[_0x3b8dac(0x157)](){const _0x59af82=_0x3b8dac;this[_0x59af82(0x149)][_0x59af82(0x14f)](_0x59af82(0x150)),this[_0x59af82(0x149)][_0x59af82(0x14f)](_0x59af82(0x151)),this[_0x59af82(0x149)][_0x59af82(0x14f)](_0x59af82(0x14c)),this[_0x59af82(0x13c)](),this[_0x59af82(0x141)][_0x59af82(0x157)](),this[_0x59af82(0x13a)]&&this[_0x59af82(0x15d)]();}[_0x3b8dac(0x144)](){const _0x14e5b3=_0x3b8dac,_0x211f59=_0x5e6249(this[_0x14e5b3(0x15a)][_0x14e5b3(0x14a)],_0x14e5b3(0x15c));this[_0x14e5b3(0x13a)]=this[_0x14e5b3(0x15a)][_0x14e5b3(0x13b)][_0x14e5b3(0x14d)](_0x14e5b3(0x156))[_0x14e5b3(0x13d)](_0x211f59);}[_0x3b8dac(0x15d)](){const _0x577e7b=_0x3b8dac;null!==this[_0x577e7b(0x13a)]&&this[_0x577e7b(0x15a)][_0x577e7b(0x13b)][_0x577e7b(0x14d)](_0x577e7b(0x156))[_0x577e7b(0x139)](this[_0x577e7b(0x13a)]),this[_0x577e7b(0x13a)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d6667=_0xacce;(function(_0x31067f,_0x166893){const _0x1811dc=_0xacce,_0x5364b8=_0x31067f();while(!![]){try{const _0x34e2eb=-parseInt(_0x1811dc(0x18a))/0x1*(parseInt(_0x1811dc(0x169))/0x2)+-parseInt(_0x1811dc(0x182))/0x3+-parseInt(_0x1811dc(0x171))/0x4*(-parseInt(_0x1811dc(0x19f))/0x5)+parseInt(_0x1811dc(0x199))/0x6+parseInt(_0x1811dc(0x18c))/0x7*(-parseInt(_0x1811dc(0x19e))/0x8)+parseInt(_0x1811dc(0x15d))/0x9+-parseInt(_0x1811dc(0x193))/0xa*(parseInt(_0x1811dc(0x18b))/0xb);if(_0x34e2eb===_0x166893)break;else _0x5364b8['push'](_0x5364b8['shift']());}catch(_0x3862a4){_0x5364b8['push'](_0x5364b8['shift']());}}}(_0x34f1,0x69682));import{FocusCycler as _0x449fc9,View as _0x1b780d,ViewCollection as _0x284b74}from'ckeditor5/src/ui.js';function _0xacce(_0x113d4a,_0x467fba){const _0x34f157=_0x34f1();return _0xacce=function(_0xacce6b,_0x3f1116){_0xacce6b=_0xacce6b-0x156;let _0x5063a7=_0x34f157[_0xacce6b];return _0x5063a7;},_0xacce(_0x113d4a,_0x467fba);}import{FocusTracker as _0x2e6b25,KeystrokeHandler as _0x46e3f0}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3badcf,setupThreadKeyboardNavigation as _0x2f2b7b}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x330fc3}from'../../utils/common-translations.js';function _0x34f1(){const _0x511092=['fire','_createCommentThreadInputView','isEnabled','cancel','focusables','_config','7493517lnloMA','commentThread','keystrokes','SUGGESTION_THREAD_ARIA_LABEL','showInput','length','commentInputView','delegate','bind','tab','removeComment','textContent','813158tzfUzm','_localUser','isReadOnly','commentThreadInputView','addComment','text/html','canAccept','parseFromString','20SjhUSs','formatDateTime','SUGGESTION_THREAD_DESCRIPTION','editor','join','destroy','descriptionParts','disabledSubmit','map','isDirty','content','isActive','name','target','focus','focusCycler','hasDirtyComment','113265khPZiU','submit','assign','editorConfig','canDiscard','locale','element','body','1uEfqfP','532499QRWGAV','948829mJtKDh','CommentView','value','updateComment','_createCommentViews','ariaLabel','ariaDescriptionView','140rvxNGY','set','authoredAt','commentsListView','disableComments','shift+tab','4489374qFSkpA','focusTracker','setData','author','render','24kQAhTF','379605ZHdqUO','_model'];_0x34f1=function(){return _0x511092;};return _0x34f1();}import{renderDescription as _0x4bed30}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x1b780d{[_0x5d6667(0x196)];[_0x5d6667(0x16c)];[_0x5d6667(0x192)];[_0x5d6667(0x15b)];[_0x5d6667(0x19a)];[_0x5d6667(0x15f)];[_0x5d6667(0x180)];[_0x5d6667(0x156)];[_0x5d6667(0x16a)];[_0x5d6667(0x15c)];constructor(_0x51b0bb,_0x4deadd,_0x1ece0d,_0x4f92b6){const _0x21b6aa=_0x5d6667;super(_0x51b0bb),this[_0x21b6aa(0x196)]=null,this[_0x21b6aa(0x16c)]=null,this[_0x21b6aa(0x192)]=new _0x3badcf(_0x51b0bb,_0x330fc3(_0x51b0bb,_0x21b6aa(0x173))),this[_0x21b6aa(0x194)](_0x21b6aa(0x17c),!0x1),this[_0x21b6aa(0x194)](_0x21b6aa(0x195),_0x4deadd[_0x21b6aa(0x195)]),this[_0x21b6aa(0x165)](_0x21b6aa(0x195))['to'](_0x4deadd),this[_0x21b6aa(0x194)](_0x21b6aa(0x177),[]),this[_0x21b6aa(0x194)](_0x21b6aa(0x17a),!0x1),this[_0x21b6aa(0x194)](_0x21b6aa(0x159),!0x1),this[_0x21b6aa(0x194)](_0x21b6aa(0x16f),!0x1),this[_0x21b6aa(0x194)](_0x21b6aa(0x186),!0x1),this[_0x21b6aa(0x165)](_0x21b6aa(0x191))['to'](this,_0x21b6aa(0x162),_0x4deadd,_0x21b6aa(0x195),this,_0x21b6aa(0x177),(_0x2a00fc,_0x12dba1,_0x2629b2)=>{const _0x239f41=_0x21b6aa,_0x1c11fd=_0x2629b2[_0x239f41(0x179)](_0x133d79=>_0x4bed30(_0x133d79[_0x239f41(0x17b)]))[_0x239f41(0x175)]('.\x20')+'.';return _0x330fc3(this[_0x239f41(0x187)],_0x239f41(0x160),[_0x2a00fc-0x1,_0x4deadd[_0x239f41(0x19c)][_0x239f41(0x17d)],_0x12dba1?_0x4f92b6[_0x239f41(0x172)](_0x12dba1):'',new DOMParser()[_0x239f41(0x170)](_0x1c11fd,_0x239f41(0x16e))[_0x239f41(0x189)][_0x239f41(0x168)]]);}),this[_0x21b6aa(0x15b)]=new _0x284b74(),this[_0x21b6aa(0x19a)]=new _0x2e6b25(),this[_0x21b6aa(0x15f)]=new _0x46e3f0(),this[_0x21b6aa(0x180)]=new _0x449fc9({'focusables':this[_0x21b6aa(0x15b)],'focusTracker':this[_0x21b6aa(0x19a)],'keystrokeHandler':this[_0x21b6aa(0x15f)],'keystrokeHandlerOptions':{'filter':_0x5e9f75=>_0x5e9f75[_0x21b6aa(0x17e)]!==this[_0x21b6aa(0x188)]},'actions':{'focusPrevious':_0x21b6aa(0x198),'focusNext':_0x21b6aa(0x166)}}),this[_0x21b6aa(0x156)]=_0x4deadd,this[_0x21b6aa(0x16a)]=_0x1ece0d,this[_0x21b6aa(0x15c)]=_0x4f92b6,_0x4f92b6[_0x21b6aa(0x197)]?this[_0x21b6aa(0x194)](_0x21b6aa(0x162),0x1):this[_0x21b6aa(0x190)]();}[_0x5d6667(0x19d)](){const _0x42f4fb=_0x5d6667;super[_0x42f4fb(0x19d)](),_0x2f2b7b(this,this[_0x42f4fb(0x15b)]);}[_0x5d6667(0x17f)](){const _0x596298=_0x5d6667;this[_0x596298(0x188)][_0x596298(0x17f)]();}[_0x5d6667(0x176)](){const _0x4aa91a=_0x5d6667;this[_0x4aa91a(0x196)]&&this[_0x4aa91a(0x196)][_0x4aa91a(0x176)](),this[_0x4aa91a(0x16c)]&&this[_0x4aa91a(0x16c)][_0x4aa91a(0x176)](),super[_0x4aa91a(0x176)]();}[_0x5d6667(0x190)](){const _0xc28454=_0x5d6667,{CommentsListView:_0x24c36e}=this[_0xc28454(0x15c)];this[_0xc28454(0x196)]=new _0x24c36e(this[_0xc28454(0x187)],this[_0xc28454(0x156)][_0xc28454(0x15e)],Object[_0xc28454(0x184)]({'CommentView':this[_0xc28454(0x15c)][_0xc28454(0x18d)]},this[_0xc28454(0x15c)])),this[_0xc28454(0x196)][_0xc28454(0x164)](_0xc28454(0x167))['to'](this),this[_0xc28454(0x196)][_0xc28454(0x164)](_0xc28454(0x18f))['to'](this),this[_0xc28454(0x196)][_0xc28454(0x165)](_0xc28454(0x17c))['to'](this),this[_0xc28454(0x194)](_0xc28454(0x162),this[_0xc28454(0x196)][_0xc28454(0x162)]+0x1),this[_0xc28454(0x165)](_0xc28454(0x162))['to'](this[_0xc28454(0x196)],_0xc28454(0x162),_0x36cae9=>_0x36cae9+0x1),this[_0xc28454(0x16c)]=this[_0xc28454(0x158)](),this['on'](_0xc28454(0x167),()=>this[_0xc28454(0x17f)]()),this[_0xc28454(0x165)](_0xc28454(0x17a))['to'](this[_0xc28454(0x196)],_0xc28454(0x181),this[_0xc28454(0x16c)][_0xc28454(0x163)],_0xc28454(0x18e),(_0x1c3651,_0x3b2edb)=>_0x1c3651||!!_0x3b2edb);}[_0x5d6667(0x158)](){const _0x58fc76=_0x5d6667,{CommentThreadInputView:_0x3b84f3}=this[_0x58fc76(0x15c)],_0x2053e9=new _0x3b84f3(this[_0x58fc76(0x187)],this[_0x58fc76(0x16a)],this[_0x58fc76(0x15c)][_0x58fc76(0x185)]),_0x191d43=_0x2053e9[_0x58fc76(0x163)];return _0x2053e9[_0x58fc76(0x165)](_0x58fc76(0x161))['to'](this,_0x58fc76(0x17c),this[_0x58fc76(0x156)][_0x58fc76(0x15e)],_0x58fc76(0x16b),_0x191d43,_0x58fc76(0x18e),(_0x37e473,_0x591d28,_0x2eedf3)=>!!_0x2eedf3||_0x37e473&&!_0x591d28),_0x191d43['on'](_0x58fc76(0x183),(_0x4ae282,_0x427144)=>{const _0x4e4df2=_0x58fc76;this[_0x4e4df2(0x157)](_0x4e4df2(0x16d),_0x427144),_0x191d43[_0x4e4df2(0x174)][_0x4e4df2(0x19b)]('');}),_0x191d43['on'](_0x58fc76(0x15a),()=>this[_0x58fc76(0x17f)]()),_0x191d43[_0x58fc76(0x165)](_0x58fc76(0x178))['to'](this[_0x58fc76(0x156)][_0x58fc76(0x15e)],_0x58fc76(0x16b)),_0x2053e9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a3584=_0x5096;(function(_0x59108a,_0x39c462){const _0x359565=_0x5096,_0x24e54b=_0x59108a();while(!![]){try{const _0x4beb70=-parseInt(_0x359565(0x14d))/0x1*(-parseInt(_0x359565(0x136))/0x2)+parseInt(_0x359565(0x144))/0x3*(parseInt(_0x359565(0x15a))/0x4)+parseInt(_0x359565(0x153))/0x5+-parseInt(_0x359565(0x148))/0x6*(parseInt(_0x359565(0x135))/0x7)+parseInt(_0x359565(0x147))/0x8+-parseInt(_0x359565(0x150))/0x9+parseInt(_0x359565(0x13f))/0xa*(-parseInt(_0x359565(0x158))/0xb);if(_0x4beb70===_0x39c462)break;else _0x24e54b['push'](_0x24e54b['shift']());}catch(_0x42f783){_0x24e54b['push'](_0x24e54b['shift']());}}}(_0x41e1,0xd5f23));function _0x5096(_0x4e6bcf,_0x1a6876){const _0x41e109=_0x41e1();return _0x5096=function(_0x5096a4,_0x47422f){_0x5096a4=_0x5096a4-0x12b;let _0x7c5fe2=_0x41e109[_0x5096a4];return _0x7c5fe2;},_0x5096(_0x4e6bcf,_0x1a6876);}import{BaseSuggestionThreadView as _0x68ddeb}from'./basesuggestionthreadview.js';import{trimHtml as _0x76bc17}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x40fc95}from'../../utils/utils.js';function _0x41e1(){const _0x349915=['32602zWZduF','canAccept','focusables','commentsListView','bind','type','disableComments','set','acceptSuggestion','10zmOdRY','listitem','ariaLabel','descriptionParts','render','3GajAuG','ariaDescriptionView','ck-suggestion-','7825952UpHBGN','75366PLOTRz','commentThread','content','SuggestionView','acceptButton','5kPrDZS','editorDestroyed','_descriptionElement','12407688cdoGal','discardButton','push','3396770GamKaZ','commentThreadInputView','isActive','ck-suggestion-wrapper','ck-rounded-corners','6802477nLiqmy','delegate','5642404adSaHy','getTemplate','canDiscard','div','suggestionView','bindTemplate','setTemplate','isEnabled','_model','</p>','author','_config','discardSuggestion','ck-suggestion--disabled-comments','formatDateTime','add','color','editorReady','description','<p>','ck-suggestion-wrapper--active','154hgMExy'];_0x41e1=function(){return _0x349915;};return _0x41e1();}export class SuggestionThreadView extends _0x68ddeb{[_0x5a3584(0x15e)];[_0x5a3584(0x14f)];constructor(_0xb56c2d,_0x2a653f,_0x5ce6fa,_0x28b87e){const _0x4199cc=_0x5a3584;super(_0xb56c2d,_0x2a653f,_0x5ce6fa,_0x28b87e),this[_0x4199cc(0x13d)](_0x4199cc(0x13b),''),this[_0x4199cc(0x13a)](_0x4199cc(0x13b))['to'](this,_0x4199cc(0x142),_0x42706e=>_0x42706e&&_0x42706e[0x0]?_0x42706e[0x0][_0x4199cc(0x13b)]:''),this[_0x4199cc(0x13a)](_0x4199cc(0x132))['to'](this,_0x4199cc(0x142),this,_0x4199cc(0x155),(_0x166ab7,_0x376e9d)=>{const _0x1dc3db=_0x4199cc;let _0x14231e='';for(const _0x5bbafa of _0x166ab7)_0x14231e+=_0x1dc3db(0x133)+_0x40fc95(_0x5bbafa[_0x1dc3db(0x14a)],_0x5bbafa[_0x1dc3db(0x130)])+_0x1dc3db(0x163);return _0x376e9d?_0x14231e:_0x76bc17(_0x14231e,{'limit':0x8c});}),this[_0x4199cc(0x14f)]=null,this[_0x4199cc(0x15e)]=new _0x28b87e[(_0x4199cc(0x14b))](_0xb56c2d,_0x2a653f,{'formatDateTime':_0x28b87e[_0x4199cc(0x12e)]}),this[_0x4199cc(0x15e)][_0x4199cc(0x13a)](_0x4199cc(0x132))['to'](this),this[_0x4199cc(0x15e)][_0x4199cc(0x159)](_0x4199cc(0x13e),_0x4199cc(0x12c))['to'](this),this[_0x4199cc(0x15e)][_0x4199cc(0x14c)][_0x4199cc(0x13a)](_0x4199cc(0x161))['to'](this,_0x4199cc(0x137)),this[_0x4199cc(0x15e)][_0x4199cc(0x151)][_0x4199cc(0x13a)](_0x4199cc(0x161))['to'](this,_0x4199cc(0x15c)),this[_0x4199cc(0x138)][_0x4199cc(0x12f)](this[_0x4199cc(0x15e)]),this[_0x4199cc(0x139)]&&this[_0x4199cc(0x138)][_0x4199cc(0x12f)](this[_0x4199cc(0x139)]),this[_0x4199cc(0x154)]&&this[_0x4199cc(0x138)][_0x4199cc(0x12f)](this[_0x4199cc(0x154)]),this[_0x4199cc(0x160)](this[_0x4199cc(0x15b)]());}[_0x5a3584(0x15b)](){const _0x26aa02=_0x5a3584,_0x428c3a=this[_0x26aa02(0x15f)],_0x358a57=[this[_0x26aa02(0x15e)]];return this[_0x26aa02(0x139)]&&_0x358a57[_0x26aa02(0x152)](this[_0x26aa02(0x139)]),this[_0x26aa02(0x154)]&&_0x358a57[_0x26aa02(0x152)](this[_0x26aa02(0x154)]),_0x358a57[_0x26aa02(0x152)](this[_0x26aa02(0x145)]),{'tag':_0x26aa02(0x15d),'attributes':{'class':['ck',_0x26aa02(0x157),_0x26aa02(0x156),_0x428c3a['if'](_0x26aa02(0x155),_0x26aa02(0x134)),_0x428c3a['to'](_0x26aa02(0x13b),_0x38af64=>_0x26aa02(0x146)+_0x38af64),this[_0x26aa02(0x12b)][_0x26aa02(0x13c)]&&_0x26aa02(0x12d)],'data-suggestion-id':this[_0x26aa02(0x162)]['id'],'data-thread-id':this[_0x26aa02(0x162)][_0x26aa02(0x149)]['id'],'data-author-id':this[_0x26aa02(0x162)][_0x26aa02(0x164)]['id'],'tabindex':0x0,'role':_0x26aa02(0x140),'aria-label':_0x428c3a['to'](_0x26aa02(0x141)),'aria-describedby':this[_0x26aa02(0x145)]['id']},'children':_0x358a57};}[_0x5a3584(0x143)](){const _0x55c0f5=_0x5a3584;super[_0x55c0f5(0x143)](),this[_0x55c0f5(0x139)]&&(this[_0x55c0f5(0x139)][_0x55c0f5(0x159)](_0x55c0f5(0x131))['to'](this),this[_0x55c0f5(0x139)][_0x55c0f5(0x159)](_0x55c0f5(0x14e))['to'](this)),this[_0x55c0f5(0x154)]&&(this[_0x55c0f5(0x154)][_0x55c0f5(0x159)](_0x55c0f5(0x131))['to'](this),this[_0x55c0f5(0x154)][_0x55c0f5(0x159)](_0x55c0f5(0x14e))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19c707=_0x26bc;(function(_0x5ab34a,_0x63c329){const _0x4defa9=_0x26bc,_0x359e43=_0x5ab34a();while(!![]){try{const _0x1f505e=parseInt(_0x4defa9(0xac))/0x1*(-parseInt(_0x4defa9(0xd1))/0x2)+-parseInt(_0x4defa9(0x96))/0x3*(-parseInt(_0x4defa9(0xb1))/0x4)+parseInt(_0x4defa9(0xe3))/0x5+-parseInt(_0x4defa9(0xb4))/0x6+parseInt(_0x4defa9(0xd5))/0x7+parseInt(_0x4defa9(0xcd))/0x8+parseInt(_0x4defa9(0x9e))/0x9;if(_0x1f505e===_0x63c329)break;else _0x359e43['push'](_0x359e43['shift']());}catch(_0x12d26a){_0x359e43['push'](_0x359e43['shift']());}}}(_0x4724,0x23940));import{FocusTracker as _0x23aca5,KeystrokeHandler as _0x54c17b}from'ckeditor5/src/utils.js';import{View as _0x5b78e2,ViewCollection as _0x2c14a1,FocusCycler as _0x413f06}from'ckeditor5/src/ui.js';function _0x4724(){const _0xc53e17=['authoredAt','1353160JMkBZg','_createButton','Discard\x20suggestion','ck-annotation__info','169958viYjQs','EXTERNAL_IMPORT_WORD_SUGGESTION','enter','ck-annotation','815563VJHdWJ','ck-suggestion__info','ck-suggestion__info-name','target','ck-suggestion','formatDateTime','ck-annotation__actions','getExternalSuggestionNote','acceptButton','time','fire','focusCycler','EXTERNAL_AVATAR','ck-annotation__info-name','531175SnnSTD','element','ck-suggestion__main','.ck-annotation__content-wrapper','ck-comment__external','focusTracker','getUserViewNotificationText','userView','push','creator','locale','3kwfBYf','querySelector','ck-annotation__info-time','keystrokes','focusFirst','presentation','focus','source','726408OnyuWv','attributes','discardSuggestion','innerHTML','isExternal','acceptSuggestion','EXTERNAL_IMPORT_WORD_AVATAR','description','ck-suggestion--discard','discardButton','_setupKeyboardNavigation','getTemplate','execute','listenTo','1AzvrZH','ck-annotation__main','focusables','div','ck-suggestion__user','169032HVKmQg','_config','setTemplate','1704912gGPyQT','span','change:description','EXTERNAL_SUGGESTION','tab','extendTemplate','bindTemplate','render','Accept\x20suggestion','author','_model','add','bind','@external','set','ck-annotation__user','shift+tab','ck-comment__info-time','ck-annotation__content-wrapper','name','ck-suggestion--accept','esc','importWord','ck-suggestion__actions'];_0x4724=function(){return _0xc53e17;};return _0x4724();}import{LateFocusButtonView as _0x250614,UserView as _0x51548a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x26bc(_0x2b092c,_0x3895a0){const _0x4724b4=_0x4724();return _0x26bc=function(_0x26bc3e,_0x511f46){_0x26bc3e=_0x26bc3e-0x8e;let _0x35d32c=_0x4724b4[_0x26bc3e];return _0x35d32c;},_0x26bc(_0x2b092c,_0x3895a0);}import{IconCancel as _0x1d3ee7,IconCheck as _0x4d2c80}from'ckeditor5/src/icons.js';import{getTranslation as _0x3d4377}from'../../utils/common-translations.js';export class SuggestionView extends _0x5b78e2{[_0x19c707(0x92)];[_0x19c707(0xdd)];[_0x19c707(0xa7)];[_0x19c707(0xae)];[_0x19c707(0x90)];[_0x19c707(0x99)];[_0x19c707(0xe0)];[_0x19c707(0xbe)];[_0x19c707(0xb2)];constructor(_0x4fb987,_0x3ec9e6,_0x42a2c4){const _0x433f4e=_0x19c707;super(_0x4fb987),this[_0x433f4e(0xbe)]=_0x3ec9e6,this[_0x433f4e(0xb2)]=_0x42a2c4,this[_0x433f4e(0xc2)](_0x433f4e(0xa5),''),this[_0x433f4e(0xc0)](_0x433f4e(0xcc))['to'](_0x3ec9e6),this[_0x433f4e(0xdd)]=this[_0x433f4e(0xce)](_0x3d4377(_0x4fb987,_0x433f4e(0xbc)),_0x4d2c80,_0x433f4e(0xc8),_0x433f4e(0xa3),'sw'),this[_0x433f4e(0xa7)]=this[_0x433f4e(0xce)](_0x3d4377(_0x4fb987,_0x433f4e(0xcf)),_0x1d3ee7,_0x433f4e(0xa6),_0x433f4e(0xa0),'sw'),this[_0x433f4e(0x92)]=new _0x51548a(_0x4fb987,_0x3ec9e6[_0x433f4e(0xbd)],this[_0x433f4e(0x91)]()),this[_0x433f4e(0x92)][_0x433f4e(0xb9)]({'attributes':{'class':[_0x433f4e(0xb0),_0x433f4e(0xc3)],'aria-hidden':!0x0}}),this[_0x433f4e(0xae)]=new _0x2c14a1([this[_0x433f4e(0xdd)],this[_0x433f4e(0xa7)]]),this[_0x433f4e(0x90)]=new _0x23aca5(),this[_0x433f4e(0x99)]=new _0x54c17b(),this[_0x433f4e(0xe0)]=new _0x413f06({'focusables':this[_0x433f4e(0xae)],'focusTracker':this[_0x433f4e(0x90)],'keystrokeHandler':this[_0x433f4e(0x99)],'actions':{'focusPrevious':_0x433f4e(0xc4),'focusNext':_0x433f4e(0xb8)},'keystrokeHandlerOptions':{'filter':_0x2e17d7=>_0x2e17d7[_0x433f4e(0xd8)]!==this[_0x433f4e(0xe4)]}}),this[_0x433f4e(0xb3)](this[_0x433f4e(0xa9)]());}[_0x19c707(0xbb)](){const _0x304572=_0x19c707;super[_0x304572(0xbb)]();const _0x6d7d8c=this[_0x304572(0xe4)][_0x304572(0x97)](_0x304572(0x8e));_0x6d7d8c[_0x304572(0xa1)]=this[_0x304572(0xa5)],this['on'](_0x304572(0xb6),(_0x4c81f0,_0x5f0cbe,_0x30f221)=>{const _0x2bc0ea=_0x304572;_0x6d7d8c[_0x2bc0ea(0xa1)]=_0x30f221;}),this[_0x304572(0xa8)]();}[_0x19c707(0xa9)](){const _0x1448da=_0x19c707,_0x12f753=this[_0x1448da(0xba)],_0x67ebd3=[{'tag':_0x1448da(0xaf),'attributes':{'class':[_0x1448da(0xd6),_0x1448da(0xd0)]},'children':[{'tag':_0x1448da(0xb5),'children':[{'text':this[_0x1448da(0x92)][_0x1448da(0xc7)]}],'attributes':{'class':[_0x1448da(0xd7),_0x1448da(0xe2)],'data-cke-tooltip-text':this[_0x1448da(0x92)][_0x1448da(0xc7)]}},{'tag':_0x1448da(0xde),'attributes':{'datetime':_0x12f753['to'](_0x1448da(0xcc)),'class':[_0x1448da(0xc5),_0x1448da(0x98)]},'children':[{'text':_0x12f753['to'](_0x1448da(0xcc),_0x37b7a5=>this[_0x1448da(0xb2)][_0x1448da(0xda)](_0x37b7a5))}]}]},{'tag':_0x1448da(0xaf),'attributes':{'class':[_0x1448da(0xcb),_0x1448da(0xdb)]},'children':[this[_0x1448da(0xdd)],this[_0x1448da(0xa7)]]},{'tag':_0x1448da(0xaf),'attributes':{'class':[_0x1448da(0xc6)]}}];return this[_0x1448da(0xbe)][_0x1448da(0xa2)]&&_0x67ebd3[_0x1448da(0x93)]({'tag':_0x1448da(0xaf),'attributes':{'class':[_0x1448da(0x8f)]},'children':[{'text':this[_0x1448da(0xdc)]()}]}),{'tag':_0x1448da(0xaf),'attributes':{'class':[_0x1448da(0xd9),_0x1448da(0xd4)],'tabindex':-0x1},'children':[this[_0x1448da(0x92)],{'tag':_0x1448da(0xaf),'attributes':{'class':[_0x1448da(0xe5),_0x1448da(0xad)],'role':_0x1448da(0x9b)},'children':_0x67ebd3}]};}[_0x19c707(0x9c)](){const _0x3ea65d=_0x19c707;this[_0x3ea65d(0xe4)][_0x3ea65d(0x9c)]();}[_0x19c707(0x91)](){const _0x32ad35=_0x19c707;return this[_0x32ad35(0xbe)][_0x32ad35(0xa2)]?_0x32ad35(0xca)===this[_0x32ad35(0xbe)][_0x32ad35(0x9f)][_0x32ad35(0xc1)][_0x32ad35(0x9d)]?_0x3d4377(this[_0x32ad35(0x95)],_0x32ad35(0xa4),this[_0x32ad35(0xbe)][_0x32ad35(0x94)][_0x32ad35(0xc7)]):_0x3d4377(this[_0x32ad35(0x95)],_0x32ad35(0xe1),this[_0x32ad35(0xbe)][_0x32ad35(0x94)][_0x32ad35(0xc7)]):null;}[_0x19c707(0xdc)](){const _0x3cd43c=_0x19c707;return _0x3cd43c(0xca)===this[_0x3cd43c(0xbe)][_0x3cd43c(0x9f)][_0x3cd43c(0xc1)][_0x3cd43c(0x9d)]?_0x3d4377(this[_0x3cd43c(0x95)],_0x3cd43c(0xd2)):_0x3d4377(this[_0x3cd43c(0x95)],_0x3cd43c(0xb7));}[_0x19c707(0xce)](_0x3e5cb7,_0x4f7acf,_0x4c415a,_0x4d337a,_0x1a9d28){const _0x2b578c=_0x19c707,_0x1b67a0=new _0x250614(this[_0x2b578c(0x95)]);return _0x1b67a0[_0x2b578c(0xc2)]({'label':_0x3e5cb7,'icon':_0x4f7acf,'tooltip':!0x0,'tooltipPosition':_0x1a9d28}),_0x1b67a0[_0x2b578c(0xb9)]({'attributes':{'class':_0x4c415a}}),_0x1b67a0['on'](_0x2b578c(0xaa),()=>{const _0x386c1f=_0x2b578c;this[_0x386c1f(0xdf)](_0x4d337a,this[_0x386c1f(0xbe)]['id']);}),_0x1b67a0;}[_0x19c707(0xa8)](){const _0x54f1c4=_0x19c707,_0x2098f7=this[_0x54f1c4(0xe4)];this[_0x54f1c4(0x99)][_0x54f1c4(0xab)](_0x2098f7);for(const _0x34f41f of this[_0x54f1c4(0xae)])this[_0x54f1c4(0x90)][_0x54f1c4(0xbf)](_0x34f41f[_0x54f1c4(0xe4)]),this[_0x54f1c4(0x99)][_0x54f1c4(0xab)](_0x34f41f[_0x54f1c4(0xe4)]);this[_0x54f1c4(0x99)][_0x54f1c4(0xc2)](_0x54f1c4(0xd3),(_0x4965c7,_0x180950)=>{const _0x2b92b3=_0x54f1c4;_0x2098f7===_0x4965c7[_0x2b92b3(0xd8)]&&(this[_0x2b92b3(0xe0)][_0x2b92b3(0x9a)](),_0x180950());}),this[_0x54f1c4(0x99)][_0x54f1c4(0xc2)](_0x54f1c4(0xc9),(_0x39a374,_0x15246e)=>{const _0x4e365d=_0x54f1c4;_0x2098f7!==_0x39a374[_0x4e365d(0xd8)]&&(this[_0x4e365d(0x9c)](),_0x15246e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1901b6=_0x12d3;(function(_0x4bd47e,_0x2ffba6){const _0x351c23=_0x12d3,_0xc2b79d=_0x4bd47e();while(!![]){try{const _0x1021de=parseInt(_0x351c23(0xb4))/0x1+-parseInt(_0x351c23(0xac))/0x2*(parseInt(_0x351c23(0xb5))/0x3)+-parseInt(_0x351c23(0xc6))/0x4*(parseInt(_0x351c23(0xb6))/0x5)+-parseInt(_0x351c23(0xb7))/0x6+parseInt(_0x351c23(0xba))/0x7+parseInt(_0x351c23(0xc2))/0x8+parseInt(_0x351c23(0xbc))/0x9;if(_0x1021de===_0x2ffba6)break;else _0xc2b79d['push'](_0xc2b79d['shift']());}catch(_0x381c2d){_0xc2b79d['push'](_0xc2b79d['shift']());}}}(_0x25f7,0x37b03));import{View as _0xf459ef}from'ckeditor5/src/ui.js';function _0x12d3(_0x47c0e4,_0x3307ad){const _0x25f7eb=_0x25f7();return _0x12d3=function(_0x12d35c,_0x4d82b3){_0x12d35c=_0x12d35c-0xa9;let _0x5dbe8f=_0x25f7eb[_0x12d35c];return _0x5dbe8f;},_0x12d3(_0x47c0e4,_0x3307ad);}export class TrackChangesPreviewView extends _0xf459ef{[_0x1901b6(0xb1)];constructor(_0x439090,_0x3de836){const _0x56c5b9=_0x1901b6;super(_0x439090),this[_0x56c5b9(0xb1)]=_0x3de836,this[_0x56c5b9(0xbd)]({'tag':_0x56c5b9(0xb2),'attributes':{'class':['ck',_0x56c5b9(0xc1),_0x56c5b9(0xad)],'tabindex':-0x1}});}[_0x1901b6(0xab)](){const _0x7b338f=_0x1901b6;super[_0x7b338f(0xab)](),this[_0x7b338f(0xc5)][_0x7b338f(0xc9)][_0x7b338f(0xbb)]=this[_0x7b338f(0xb1)][_0x7b338f(0xbf)][_0x7b338f(0xbb)]+'px',this[_0x7b338f(0xc5)][_0x7b338f(0xc9)][_0x7b338f(0xa9)]=this[_0x7b338f(0xb1)][_0x7b338f(0xbf)][_0x7b338f(0xa9)]+'px';}[_0x1901b6(0xb3)](_0x8200e3,_0x15f6f3){const _0x580962=_0x1901b6;if(!this[_0x580962(0xc5)])return;const _0x18180b=[];for(const [_0xa992fb,_0x1a3cb1]of _0x8200e3){const _0x1768e3=document[_0x580962(0xc0)](_0x580962(0xb2));_0x1768e3[_0x580962(0xc4)](_0x580962(0xc3),_0xa992fb),_0x1768e3[_0x580962(0xb8)]=_0x1a3cb1[_0x580962(0xae)]+_0x580962(0xbe),_0x1768e3[_0x580962(0xaf)]=_0x1a3cb1[_0x580962(0xb0)],_0x18180b[_0x580962(0xaa)](_0x1768e3);}_0x15f6f3(this[_0x580962(0xc5)],_0x18180b),this[_0x580962(0xc5)][_0x580962(0xc9)][_0x580962(0xa9)]='',this[_0x580962(0xb9)](_0x580962(0xc7));}[_0x1901b6(0xc8)](){const _0x33855f=_0x1901b6;this[_0x33855f(0xc5)][_0x33855f(0xc8)]();}}function _0x25f7(){const _0x434285=['setAttribute','element','31852TcZuWB','previewDataReady','focus','style','height','push','render','34106kcJwLh','ck-track-changes-preview','classes','innerHTML','content','options','div','setPreviewData','217856fGrUxI','18hTzhyd','155ctxIoa','2141496ANKlAe','className','fire','1152529HNspqW','width','4229730qOadUf','setTemplate','\x20ck-track-changes-preview__root-container','dialogRects','createElement','ck-reset','653704glPzRW','data-ck-root-name'];_0x25f7=function(){return _0x434285;};return _0x25f7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1b44b0,_0x1f3b2a,_0xea34e){const _0x27a9c3=_0x1b44b0['t'],t=_0x1b44b0['t'];switch(_0x1f3b2a){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',_0xea34e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xea34e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xea34e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xea34e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xea34e);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',_0xea34e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xea34e);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',_0xea34e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xea34e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xea34e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xea34e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xea34e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xea34e);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xea34e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xea34e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xea34e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xea34e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xea34e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xea34e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xea34e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xea34e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xea34e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xea34e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xea34e);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xea34e);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'},_0xea34e);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xea34e);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xea34e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xea34e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xea34e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xea34e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xea34e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xea34e);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'},_0xea34e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xea34e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xea34e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xea34e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xea34e);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'},_0xea34e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xea34e);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'},_0xea34e);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xea34e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xea34e);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'},_0xea34e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xea34e);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'},_0xea34e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xea34e);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0xea34e);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0xea34e);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0xea34e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xea34e);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'},_0xea34e);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xea34e);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 _0x27a9c3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xea34e);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x27a9c3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xea34e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xea34e);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'},_0xea34e);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'},_0xea34e);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'},_0xea34e);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1f3b2a;}}
|
|
23
|
+
export function getTranslation(_0x151e6b,_0x23c950,_0x186d77){const _0x1b15dc=_0x151e6b['t'],t=_0x151e6b['t'];switch(_0x23c950){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',_0x186d77);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x186d77);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x186d77);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x186d77);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x186d77);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',_0x186d77);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x186d77);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',_0x186d77);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x186d77);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x186d77);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x186d77);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x186d77);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x186d77);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x186d77);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x186d77);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x186d77);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x186d77);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x186d77);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x186d77);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x186d77);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x186d77);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x186d77);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x186d77);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x186d77);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x186d77);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'},_0x186d77);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x186d77);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x186d77);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x186d77);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x186d77);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x186d77);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x186d77);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x186d77);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'},_0x186d77);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x186d77);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x186d77);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x186d77);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x186d77);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'},_0x186d77);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x186d77);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'},_0x186d77);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x186d77);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x186d77);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'},_0x186d77);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x186d77);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'},_0x186d77);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x186d77);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x186d77);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x186d77);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x186d77);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x186d77);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'},_0x186d77);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x186d77);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 _0x1b15dc({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x186d77);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1b15dc({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x186d77);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x186d77);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'},_0x186d77);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'},_0x186d77);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'},_0x186d77);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x23c950;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x11de29,_0x31ddc2){const _0x5576b1=_0x4ae5,_0x454100=_0x11de29();while(!![]){try{const _0x35d32e=-parseInt(_0x5576b1(0xed))/0x1+parseInt(_0x5576b1(0xdf))/0x2*(parseInt(_0x5576b1(0xe5))/0x3)+-parseInt(_0x5576b1(0x101))/0x4*(parseInt(_0x5576b1(0xf0))/0x5)+-parseInt(_0x5576b1(0xf3))/0x6+-parseInt(_0x5576b1(0x107))/0x7+-parseInt(_0x5576b1(0xfa))/0x8*(parseInt(_0x5576b1(0x102))/0x9)+parseInt(_0x5576b1(0xde))/0xa;if(_0x35d32e===_0x31ddc2)break;else _0x454100['push'](_0x454100['shift']());}catch(_0x2794c7){_0x454100['push'](_0x454100['shift']());}}}(_0x5d8f,0x45be6));export function normalizeDescription(_0x20e38b){const _0x4e7d43=_0x4ae5;return Array[_0x4e7d43(0xe9)](_0x20e38b)||(_0x20e38b=[_0x20e38b]),_0x20e38b[_0x4e7d43(0xea)](_0x424c10=>{const _0x1577fe=_0x4e7d43,_0x185032=_0x424c10[_0x1577fe(0xfc)][_0x1577fe(0x109)](/\*/g,''),_0x1e1fa8=_0x424c10[_0x1577fe(0x10d)]?_0x1577fe(0x100)+_0x424c10[_0x1577fe(0x10d)][_0x1577fe(0xf4)]+']':'';return'['+_0x424c10[_0x1577fe(0xef)]+']\x20'+_0x185032+_0x1e1fa8;})[_0x4e7d43(0x10f)](';\x20');}function _0x4ae5(_0x56d0fb,_0x41abc8){const _0x5d8f46=_0x5d8f();return _0x4ae5=function(_0x4ae571,_0x2f152e){_0x4ae571=_0x4ae571-0xdb;let _0xa9f22b=_0x5d8f46[_0x4ae571];return _0xa9f22b;},_0x4ae5(_0x56d0fb,_0x41abc8);}export function renderDescription(_0x2bf555,_0x24800b){const _0x1ac6b1=_0x4ae5;let _0x50b20b='';return _0x50b20b+=_0x2bf555[_0x1ac6b1(0x106)]('*')[_0x1ac6b1(0xea)]((_0x276c93,_0x3ee04e)=>_0x3ee04e%0x2!=0x0?_0x1ac6b1(0xff)+rn(_0x276c93)+_0x1ac6b1(0x105):rn(_0x276c93))[_0x1ac6b1(0x10f)](''),_0x24800b&&(_0x50b20b+=_0x1ac6b1(0xe7)+_0x24800b[_0x1ac6b1(0xf4)]+_0x1ac6b1(0xeb)+_0x24800b[_0x1ac6b1(0xe8)]+_0x1ac6b1(0xf7)),_0x50b20b;}function rn(_0x3e292f){const _0x27affb=_0x4ae5,_0x1e25f0=document[_0x27affb(0xfe)](_0x27affb(0x10b));return _0x1e25f0[_0x27affb(0xe6)]=_0x3e292f,_0x1e25f0[_0x27affb(0xf9)];}export function sortSuggestions(_0x2ee2d8){const _0x553c79=_0x4ae5;return _0x2ee2d8[_0x553c79(0xfb)]((_0x40b5d2,_0x9422f3)=>_0x553c79(0xe3)===_0x40b5d2[_0x553c79(0xef)]&&_0x553c79(0xe3)!==_0x9422f3[_0x553c79(0xef)]?-0x1:_0x553c79(0xe3)!==_0x40b5d2[_0x553c79(0xef)]&&_0x553c79(0xe3)===_0x9422f3[_0x553c79(0xef)]?0x1:_0x553c79(0xe4)==_0x40b5d2[_0x553c79(0xef)]&&_0x553c79(0xe4)!=_0x9422f3[_0x553c79(0xef)]?-0x1:_0x553c79(0xe4)!=_0x40b5d2[_0x553c79(0xef)]&&_0x553c79(0xe4)==_0x9422f3[_0x553c79(0xef)]?0x1:0x0);}export function getSelectedSuggestions(_0x5aae7e,_0x25b606){const _0x7a5531=_0x4ae5,_0x571d99=Array[_0x7a5531(0xf6)](_0x5aae7e[_0x7a5531(0x111)]()),_0x356ff3=new Set();for(const _0x33e2f2 of _0x25b606)if(_0x33e2f2[_0x7a5531(0xdb)]){for(const _0x377dba of _0x571d99)for(const _0x261503 of _0x33e2f2[_0x7a5531(0x111)]())(_0x377dba[_0x7a5531(0xec)](_0x261503)||_0x5aae7e[_0x7a5531(0xee)]&&!_0x33e2f2[_0x7a5531(0x110)]&&_0x33e2f2[_0x7a5531(0xe0)]&&_0x261503[_0x7a5531(0xe1)][_0x7a5531(0xf1)](_0x377dba[_0x7a5531(0xf5)]))&&_0x356ff3[_0x7a5531(0xfd)](_0x33e2f2);}return _0x356ff3;}export function getRangesOfBlockGroups(_0xdde994,_0x3880a3){const _0xe7daf=_0x4ae5;let _0x28e61d,_0x37adc2=0x0;const _0x3e49a8=[],_0x220149=_0x3880a3[_0xe7daf(0xdd)];for(;_0x37adc2<_0xdde994[_0xe7daf(0x104)];){const _0x136a46=_0xdde994[_0x37adc2],_0x18f57b=_0xdde994[_0x37adc2+0x1];_0x28e61d||(_0x28e61d=_0x3880a3[_0xe7daf(0xdc)](_0x136a46)),cn(_0x3880a3,_0x136a46,_0x18f57b)||(_0x3e49a8[_0xe7daf(0xe2)](_0x3880a3[_0xe7daf(0x10e)](_0x28e61d,_0x220149[_0xe7daf(0x103)](_0x136a46)?_0x3880a3[_0xe7daf(0xf8)](_0x136a46):_0x3880a3[_0xe7daf(0x108)](_0x136a46,_0xe7daf(0xe1)))),_0x28e61d=null),_0x37adc2++;}return _0x3e49a8;}function cn(_0x51d1b5,_0x2cc4f2,_0x2da89f){const _0x45f2ad=_0x4ae5;if(!_0x2da89f)return!0x1;const _0x159fae=_0x51d1b5[_0x45f2ad(0xf8)](_0x2cc4f2),_0x5d1f36=_0x51d1b5[_0x45f2ad(0xdc)](_0x2da89f);return _0x159fae[_0x45f2ad(0xf1)](_0x5d1f36);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x561c2a,_0x568987,_0x5da848){const _0x37bc54=_0x4ae5;for(;_0x5da848[_0x37bc54(0x104)];){const _0x3d4383=_0x5da848[_0x37bc54(0x10a)](0x0,0x64);_0x561c2a[_0x37bc54(0x10c)](()=>{const _0x13b0ee=_0x37bc54;for(const _0x4de8b8 of _0x3d4383)_0x4de8b8[_0x13b0ee(0xdb)]&&_0x568987[_0x13b0ee(0xf2)](_0x4de8b8['id']);});}}function _0x5d8f(){const _0x54f66c=['attribute','deletion','141429SyQgLb','innerText','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','title','isArray','map','\x22\x20title=\x22','isIntersecting','213077hnlmbG','isCollapsed','type','265jlSqLq','isTouching','execute','2531334uUOipa','value','start','from','\x22></span>','createPositionAfter','innerHTML','8CjVYcW','sort','content','add','createElement','<span\x20class=\x22ck-suggestion-type\x22>','\x20[color\x20','27564RcPPRT','3455802uLJFjq','isObject','length','</span>','split','369908DmaiUU','createPositionAt','replace','splice','span','change','color','createRange','join','isMultiRange','getRanges','isInContent','createPositionBefore','schema','14869660nbkxcs','10PsRIZo','next','end','push'];_0x5d8f=function(){return _0x54f66c;};return _0x5d8f();}
|