@ckeditor/ckeditor5-track-changes 46.0.3 → 46.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26a476=_0x2725;(function(_0x3c5610,_0xda04fd){const _0x25ec2d=_0x2725,_0x34f988=_0x3c5610();while(!![]){try{const _0x2d9cb2=-parseInt(_0x25ec2d(0xaa))/0x1+-parseInt(_0x25ec2d(0x9e))/0x2+-parseInt(_0x25ec2d(0x97))/0x3+parseInt(_0x25ec2d(0xa7))/0x4+-parseInt(_0x25ec2d(0xa9))/0x5*(-parseInt(_0x25ec2d(0xa5))/0x6)+-parseInt(_0x25ec2d(0x9d))/0x7*(-parseInt(_0x25ec2d(0xa3))/0x8)+-parseInt(_0x25ec2d(0xa2))/0x9*(-parseInt(_0x25ec2d(0x9c))/0xa);if(_0x2d9cb2===_0xda04fd)break;else _0x34f988['push'](_0x34f988['shift']());}catch(_0x4765dd){_0x34f988['push'](_0x34f988['shift']());}}}(_0x3664,0x2ac8b));import{Plugin as _0x97bc0}from'ckeditor5/src/core.js';import{Dialog as _0x613f73}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x8f747b}from'./trackchangesdata.js';function _0x2725(_0x2080f1,_0x3873e7){const _0x3664c3=_0x3664();return _0x2725=function(_0x27259e,_0x364a77){_0x27259e=_0x27259e-0x96;let _0x42dcda=_0x3664c3[_0x27259e];return _0x42dcda;},_0x2725(_0x2080f1,_0x3873e7);}import{PreviewFinalContentCommand as _0x17631d}from'./commands/previewfinalcontentcommand.js';function _0x3664(){const _0x41a76d=['commands','isOfficialPlugin','TrackChangesPreview','193380NhwQqA','pluginName','editor','define','previewFinalContent','290StEHbk','268100DEvZwt','554732KWdLrg','add','config','requires','657cLyFGJ','24SSearI','isPremiumPlugin','914574jfzELK','trackChanges.preview.renderFunction','1042656cpLaXl','appendChild','5bDCoWC','13041eRPebf'];_0x3664=function(){return _0x41a76d;};return _0x3664();}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x97bc0{static get[_0x26a476(0xa1)](){return[_0x8f747b,_0x613f73];}static get[_0x26a476(0x98)](){const _0x3e7293=_0x26a476;return _0x3e7293(0x96);}static get[_0x26a476(0xac)](){return!0x0;}static get[_0x26a476(0xa4)](){return!0x0;}constructor(_0x3afc5a){const _0x460fa7=_0x26a476;super(_0x3afc5a),_0x3afc5a[_0x460fa7(0xab)][_0x460fa7(0x9f)](_0x460fa7(0x9b),new _0x17631d(this[_0x460fa7(0x99)])),_0x3afc5a[_0x460fa7(0xa0)][_0x460fa7(0x9a)](_0x460fa7(0xa6),(_0x5ed52b,_0x4b29f7)=>{const _0x2995a8=_0x460fa7;for(const _0x2abe0a of _0x4b29f7)_0x5ed52b[_0x2995a8(0xa8)](_0x2abe0a);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x7b31e1=_0xcd62;function _0x546e(){const _0x3bd6fe=['listenTo','4866256jBurQb','createAnnotationView','add','_bindAnnotationToEditors','CommentsUI','descriptionFactory','trialLimit','getMarkerNames','button','change:activeAnnotations','set','_showLicenseError','model','trackChangesLicenseKeyTrialLimit','Discard\x20all\x20suggestions','value','componentFactory','discardAllSuggestions','actionView','discardButton','define','destroy','_createToolbarButton','head','focus','plugins','1202001UzMJPE','commentThread','reduce','trackChanges','remove','lowest','switchbutton','Annotations','activeAnnotations','fire','clear','evaluationLimit','delegate','_unbindEditors','domainLimit','_destroyController','descriptionParts','getByInnerView','trackChangesLicenseKeyValid','suggestionLoaded','comments.maxCommentCharsWhenCollapsed','11NzDXbH','TrackChanges','createCommentThreadController','_updateController','_addUIComponentsToFactory','isInContent','Preview\x20final\x20content','suggestionView','requires','getFirstRange','push','separator','_viewToController','locale','suggestionUnloaded','trackChanges.disableComments','length','acceptButton','some','getJoined','isDirty','activeMarkers','source','createAnnotation','items','TrackChangesEditing','comments.maxThreadTotalWeight','delete','_licenseKeyCheckInterval','Accept\x20all\x20suggestions','editing','isOn','addComment','trackChangesLicenseKeyNotAllowed','1103OVInEC','trackChangesLicenseKeyUsageLimit','getAnnotationForSuggestion','menuitemcheckbox','_annotationViews','isMultiRange','values','_handleSuggestionControllerDelayed','trackChangesLicenseKeyExpired','change:previous','stopListening','SuggestionThreadView','menuBar:trackChanges','CommentView','arrowView','1348304UprUgu','getRanges','licenseKey','Discard\x20all\x20selected\x20suggestions','registerAnnotation','pluginName','comments.editorConfig','getDescriptions','commands','previewFinalContent','discardSelectedSuggestions','1492oAuCgn','menu','getSuggestionForAnnotation','isOfficialPlugin','editor','getAllAdjacentSuggestions','innerView','CommentsRepository','hasSuggestion','from','trackChanges.SuggestionView','expired','suggestionChanged','isEnabled','panelView','escape','trackChangesLicenseKeyEvaluationLimit','_disableComments','Track\x20changes','1241513OIxXht','menuitem','bind','execute','unbind','trackChangesLicenseKeyDomainLimit','TrackChangesUI','get','config','comments','trackChangesLicenseKeyInvalid','keys','mainView','_refreshActiveMarkers','init','getMarkers','filter','buttonView','_initializeController','invalid','_createMenuBarMenu','acceptAllSuggestions','10096830hKdTPp','addMany','9IrwroQ','trackChanges.SuggestionThreadView','commentsListView','previous','view','TrackChangesPreview','commandName','isPremiumPlugin','usageLimit','addSourceCollector','type','has','toMany','comments.maxCommentsWhenCollapsed','2729415ntgDZp','children','_suggestionToController','featureNotAllowed','6LvUgvq','acceptSelectedSuggestions','getSuggestion','size','EditorAnnotations','Accept\x20all\x20selected\x20suggestions','_handleControllerBuffer','suggestion-','refreshSelectedViews','SuggestionView'];_0x546e=function(){return _0x3bd6fe;};return _0x546e();}(function(_0x28de26,_0x383e2e){const _0x5e28b7=_0xcd62,_0x391e21=_0x28de26();while(!![]){try{const _0x2e3bd4=parseInt(_0x5e28b7(0x193))/0x1*(parseInt(_0x5e28b7(0x1ad))/0x2)+parseInt(_0x5e28b7(0x15c))/0x3+parseInt(_0x5e28b7(0x1a2))/0x4+-parseInt(_0x5e28b7(0x1e6))/0x5+parseInt(_0x5e28b7(0x1ea))/0x6*(-parseInt(_0x5e28b7(0x1c0))/0x7)+parseInt(_0x5e28b7(0x1f5))/0x8*(parseInt(_0x5e28b7(0x1d8))/0x9)+parseInt(_0x5e28b7(0x1d6))/0xa*(-parseInt(_0x5e28b7(0x171))/0xb);if(_0x2e3bd4===_0x383e2e)break;else _0x391e21['push'](_0x391e21['shift']());}catch(_0xf17866){_0x391e21['push'](_0x391e21['shift']());}}}(_0x546e,0x6a6e2));import{Plugin as _0x2c2dc6}from'ckeditor5/src/core.js';import{Collection as _0x59f04e}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x52994e}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1b190d,createDropdown as _0x2ee4d8,ListSeparatorView as _0xd08430,MenuBarMenuView as _0x39bf89,MenuBarMenuListView as _0x41979e,MenuBarMenuListItemView as _0x136fa2,MenuBarMenuListItemButtonView as _0x4626ec,SplitButtonView as _0x590c40,UIModel as _0x20c87b}from'ckeditor5/src/ui.js';import{Users as _0x322c60,getDateTimeFormatter as _0x500123,getAllMarkersDomElementsSorted as _0x1cb902}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x33863b}from'./trackchangesediting.js';import{SuggestionController as _0x57b571}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x2100e4}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x43167e}from'./ui/view/suggestionview.js';import{getTranslation as _0x13da34}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2c2dc6{[_0x7b31e1(0x1a4)];[_0x7b31e1(0x18d)];[_0x7b31e1(0x1e8)];[_0x7b31e1(0x17d)];[_0x7b31e1(0x197)];[_0x7b31e1(0x1f0)];[_0x7b31e1(0x1be)];static get[_0x7b31e1(0x179)](){const _0x5d64e9=_0x7b31e1;return[_0x33863b,_0x322c60,_0x5d64e9(0x1b4),_0x5d64e9(0x163),_0x5d64e9(0x1ee)];}static get[_0x7b31e1(0x1a7)](){const _0x3d4f28=_0x7b31e1;return _0x3d4f28(0x1c6);}static get[_0x7b31e1(0x1b0)](){return!0x0;}static get[_0x7b31e1(0x1df)](){return!0x0;}constructor(_0x408a14){const _0x3e3290=_0x7b31e1;super(_0x408a14),this[_0x3e3290(0x1e8)]=new Map(),this[_0x3e3290(0x17d)]=new Map(),this[_0x3e3290(0x197)]=new Map(),this[_0x3e3290(0x1f0)]=new Map();const _0x16f59a=this[_0x3e3290(0x1b1)][_0x3e3290(0x1c8)];_0x16f59a[_0x3e3290(0x156)](_0x3e3290(0x1d9),_0x2100e4),_0x16f59a[_0x3e3290(0x156)](_0x3e3290(0x1b7),_0x43167e),_0x16f59a[_0x3e3290(0x156)](_0x3e3290(0x180),!0x1),this[_0x3e3290(0x1be)]=_0x16f59a[_0x3e3290(0x1c7)](_0x3e3290(0x180));}[_0x7b31e1(0x19a)](_0xb496db,_0xa47710){const _0x361aec=_0x7b31e1;0x0===this[_0x361aec(0x1f0)][_0x361aec(0x1ed)]&&setTimeout(()=>{const _0x161e1d=_0x361aec;for(const [_0x48f200,_0x2a6a21]of this[_0x161e1d(0x1f0)]){const _0xc9ca5c=this[_0x161e1d(0x1e8)][_0x161e1d(0x1e3)](_0x48f200);_0xc9ca5c||_0x2a6a21?_0xc9ca5c&&_0x2a6a21&&this[_0x161e1d(0x16b)](_0x48f200):this[_0x161e1d(0x1d2)](_0x48f200);}this[_0x161e1d(0x1f0)][_0x161e1d(0x166)](),this[_0x161e1d(0x1b1)][_0x161e1d(0x15b)][_0x161e1d(0x1c7)](_0x161e1d(0x1ee))[_0x161e1d(0x1f2)](),this[_0x161e1d(0x1cd)]();},0xa),this[_0x361aec(0x1f0)][_0x361aec(0x14c)](_0xb496db,_0xa47710);}[_0x7b31e1(0x1ce)](){const _0x5d791c=_0x7b31e1,_0x14786f=this[_0x5d791c(0x1b1)],_0x3616a5=_0x14786f[_0x5d791c(0x15b)][_0x5d791c(0x1c7)](_0x5d791c(0x18a)),_0x395883=_0x14786f[_0x5d791c(0x15b)][_0x5d791c(0x1c7)](_0x5d791c(0x163)),_0x369c09=_0x14786f[_0x5d791c(0x15b)][_0x5d791c(0x1c7)](_0x5d791c(0x1ee)),_0x3ca173=_0x14786f[_0x5d791c(0x15b)][_0x5d791c(0x1c7)](_0x5d791c(0x1b4));this[_0x5d791c(0x175)](),_0x369c09[_0x5d791c(0x1e1)](()=>{const _0x296bfb=_0x5d791c,_0x2fe8a0=[];for(const [_0x270e4f,_0x3c21c0]of Array[_0x296bfb(0x1b6)](this[_0x296bfb(0x1e8)])){const _0x3f7e6e=_0x270e4f[_0x296bfb(0x1b2)](),_0x2e43fe=[];for(const _0x159713 of _0x3f7e6e){if(!_0x159713[_0x296bfb(0x176)])continue;if(_0x159713[_0x296bfb(0x198)]){_0x2e43fe[_0x296bfb(0x17b)](..._0x159713[_0x296bfb(0x1a3)]());continue;}const _0x7f49d8=_0x159713[_0x296bfb(0x17a)]();if(_0x2e43fe[_0x296bfb(0x181)]>0x0){const _0x2dec69=_0x2e43fe[0x0][_0x296bfb(0x184)](_0x7f49d8);if(_0x2dec69){_0x2e43fe[0x0]=_0x2dec69;continue;}}_0x2e43fe[_0x296bfb(0x17b)](_0x7f49d8);}_0x2fe8a0[_0x296bfb(0x17b)]([_0x3c21c0[_0x296bfb(0x1dc)],_0x2e43fe]);}return _0x2fe8a0;}),this[_0x5d791c(0x1f4)](_0x3616a5,_0x5d791c(0x16f),(_0x4c5cdc,_0x5f4d81)=>{const _0x53dd6d=_0x5d791c;this[_0x53dd6d(0x1f4)](_0x5f4d81,_0x53dd6d(0x19c),(_0x38dce4,_0x3e6d9e,_0x3769df,_0x48aec4)=>{const _0x4c3974=_0x53dd6d;_0x5f4d81[_0x4c3974(0x176)]&&(null==_0x3769df?(this[_0x4c3974(0x174)](_0x48aec4[_0x4c3974(0x159)]),this[_0x4c3974(0x19a)](_0x5f4d81,!0x1)):(this[_0x4c3974(0x174)](_0x3769df[_0x4c3974(0x159)]),null==_0x48aec4&&this[_0x4c3974(0x19a)](_0x5f4d81,!0x0)));}),null!==_0x5f4d81[_0x53dd6d(0x1db)]?this[_0x53dd6d(0x174)](_0x5f4d81[_0x53dd6d(0x159)]):this[_0x53dd6d(0x19a)](_0x5f4d81,!0x1);}),this[_0x5d791c(0x1f4)](_0x3616a5,_0x5d791c(0x17f),(_0x257a7d,_0x261055,_0x25dcf)=>{const _0x58beb8=_0x5d791c;this[_0x58beb8(0x19d)](_0x261055,_0x58beb8(0x19c)),this[_0x58beb8(0x1f0)][_0x58beb8(0x18c)](_0x261055),this[_0x58beb8(0x1e8)][_0x58beb8(0x1e3)](_0x261055)&&this[_0x58beb8(0x16b)](_0x261055),_0x25dcf&&this[_0x58beb8(0x174)](_0x25dcf[_0x58beb8(0x159)]);}),this[_0x5d791c(0x1f4)](_0x3616a5,_0x5d791c(0x1b9),(_0x320214,_0x1f0083)=>{const _0x3c1006=_0x5d791c;this[_0x3c1006(0x174)](_0x1f0083);}),this[_0x5d791c(0x1f4)](_0x395883,_0x5d791c(0x14b),()=>{const _0x9fc2c8=_0x5d791c;this[_0x9fc2c8(0x1cd)]();}),this[_0x5d791c(0x1f4)](_0x3ca173,_0x5d791c(0x191),(_0x39cb35,{threadId:_0x54b78e,isFromAdapter:_0x3416c2})=>{const _0x281c3e=_0x5d791c;if(_0x3416c2||!_0x3616a5[_0x281c3e(0x1b5)](_0x54b78e))return;const _0x1c75e4=_0x3616a5[_0x281c3e(0x1ec)](_0x54b78e);this[_0x281c3e(0x1e8)][_0x281c3e(0x1c7)](_0x1c75e4)[_0x281c3e(0x1dc)][_0x281c3e(0x1da)][_0x281c3e(0x15a)](-0x1);},{'priority':_0x5d791c(0x161)}),this[_0x5d791c(0x1a4)]=this[_0x5d791c(0x1b1)][_0x5d791c(0x1c8)][_0x5d791c(0x1c7)](_0x5d791c(0x1a4));const _0x58ce49=this[_0x5d791c(0x1b1)];this[_0x5d791c(0x18d)]=setInterval(()=>{const _0x423eca=_0x5d791c;let _0x583999;for(const _0x482e11 in _0x58ce49){const _0x2a1e59=_0x482e11,_0x35aac1=_0x58ce49[_0x2a1e59];if(_0x423eca(0x16e)==_0x35aac1||_0x423eca(0x1ca)==_0x35aac1||_0x423eca(0x19b)==_0x35aac1||_0x423eca(0x1c5)==_0x35aac1||_0x423eca(0x192)==_0x35aac1||_0x423eca(0x1bd)==_0x35aac1||_0x423eca(0x14f)==_0x35aac1||_0x423eca(0x194)==_0x35aac1){delete _0x58ce49[_0x2a1e59],_0x583999=_0x35aac1,clearInterval(this[_0x423eca(0x18d)]),this[_0x423eca(0x18d)]=void 0x0;break;}}_0x423eca(0x1ca)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1d3)),_0x423eca(0x19b)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1b8)),_0x423eca(0x1c5)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x16a)),_0x423eca(0x192)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1e9),_0x423eca(0x172)),_0x423eca(0x1bd)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x167)),_0x423eca(0x14f)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1fb)),_0x423eca(0x194)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1e0));},0x3e8);}[_0x7b31e1(0x195)](_0x4d4705){const _0x25e2f6=_0x7b31e1,_0x4eb55c=this[_0x25e2f6(0x1e8)][_0x25e2f6(0x1c7)](_0x4d4705);if(!_0x4eb55c)return null;return this[_0x25e2f6(0x1b1)][_0x25e2f6(0x15b)][_0x25e2f6(0x1c7)](_0x25e2f6(0x163))[_0x25e2f6(0x16d)](_0x4eb55c[_0x25e2f6(0x1dc)])||null;}[_0x7b31e1(0x1af)](_0x1926e1){const _0x5596ec=_0x7b31e1,_0x37e974=this[_0x5596ec(0x17d)][_0x5596ec(0x1c7)](_0x1926e1[_0x5596ec(0x1b3)]);return _0x37e974?_0x37e974[_0x5596ec(0x14e)]:null;}[_0x7b31e1(0x1cd)](){const _0x5c5e99=_0x7b31e1,_0x11b16a=this[_0x5c5e99(0x1b1)][_0x5c5e99(0x15b)][_0x5c5e99(0x1c7)](_0x5c5e99(0x163)),_0x3a21e8=this[_0x5c5e99(0x1b1)][_0x5c5e99(0x15b)][_0x5c5e99(0x1c7)](_0x5c5e99(0x18a)),_0x35576e=Array[_0x5c5e99(0x1b6)](_0x11b16a[_0x5c5e99(0x164)],_0x355097=>_0x355097[_0x5c5e99(0x1b3)])[_0x5c5e99(0x1d0)](_0x3f337b=>this[_0x5c5e99(0x17d)][_0x5c5e99(0x1e3)](_0x3f337b)),_0x3f24af=[];for(const _0x5eba4a of _0x35576e){const _0xc7dc2=this[_0x5c5e99(0x17d)][_0x5c5e99(0x1c7)](_0x5eba4a)[_0x5c5e99(0x14e)][_0x5c5e99(0x1b2)]();_0x3f24af[_0x5c5e99(0x17b)](..._0xc7dc2[_0x5c5e99(0x15e)]((_0x59f8d7,_0x29ecfd)=>[..._0x59f8d7,..._0x29ecfd[_0x5c5e99(0x1fc)]()],[]));}_0x3a21e8[_0x5c5e99(0x186)]=_0x3f24af;}[_0x7b31e1(0x175)](){const _0x1cfe60=_0x7b31e1,_0x6fe5d4=this[_0x1cfe60(0x1b1)],_0x3351b0=_0x6fe5d4[_0x1cfe60(0x17e)],_0x1dc691=_0x13da34(_0x3351b0,_0x1cfe60(0x1bf)),_0x11a1da=new _0x59f04e([{'type':_0x1cfe60(0x162),'model':new _0x20c87b({'withText':!0x0,'isToggleable':!0x0,'label':_0x1dc691,'commandName':_0x1cfe60(0x15f),'role':_0x1cfe60(0x196)})},{'type':_0x1cfe60(0x17c)},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x18e)),'commandName':_0x1cfe60(0x1d5),'role':_0x1cfe60(0x1c1)})},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x1ef)),'commandName':_0x1cfe60(0x1eb),'role':_0x1cfe60(0x1c1)})},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x150)),'commandName':_0x1cfe60(0x153),'role':_0x1cfe60(0x1c1)})},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x1a5)),'commandName':_0x1cfe60(0x1ac),'role':_0x1cfe60(0x1c1)})}]);_0x6fe5d4[_0x1cfe60(0x15b)][_0x1cfe60(0x1e3)](_0x1cfe60(0x1dd))&&_0x11a1da[_0x1cfe60(0x1d7)]([{'type':_0x1cfe60(0x17c)},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x177)),'commandName':_0x1cfe60(0x1ab),'role':_0x1cfe60(0x1c1)})}]);for(const _0x4e6316 of _0x11a1da)if(ke(_0x4e6316)){const _0x3aeb58=_0x6fe5d4[_0x1cfe60(0x1aa)][_0x1cfe60(0x1c7)](_0x4e6316[_0x1cfe60(0x14e)][_0x1cfe60(0x1de)]);_0x4e6316[_0x1cfe60(0x14e)][_0x1cfe60(0x1c2)](_0x1cfe60(0x190),_0x1cfe60(0x1ba))['to'](_0x3aeb58,_0x1cfe60(0x151),_0x1cfe60(0x1ba));}_0x6fe5d4['ui'][_0x1cfe60(0x152)][_0x1cfe60(0x1f7)](_0x1cfe60(0x15f),_0x644b4e=>this[_0x1cfe60(0x158)](_0x644b4e,_0x11a1da,_0x1dc691)),_0x6fe5d4['ui'][_0x1cfe60(0x152)][_0x1cfe60(0x1f7)](_0x1cfe60(0x19f),_0x968908=>this[_0x1cfe60(0x1d4)](_0x968908,_0x11a1da,_0x1dc691));}[_0x7b31e1(0x158)](_0x40b105,_0x6f5395,_0x30b094){const _0x121192=_0x7b31e1,_0x464cbb=_0x2ee4d8(_0x40b105,_0x590c40),_0x344fdd=this[_0x121192(0x1b1)][_0x121192(0x1aa)][_0x121192(0x1c7)](_0x121192(0x15f));_0x464cbb[_0x121192(0x1d1)][_0x121192(0x14c)]({'tooltip':_0x30b094,'label':_0x30b094,'icon':_0x52994e}),_0x464cbb[_0x121192(0x1d1)][_0x121192(0x1c2)](_0x121192(0x190))['to'](_0x344fdd,_0x121192(0x151)),_0x464cbb[_0x121192(0x1d1)]['on'](_0x121192(0x1c3),()=>{const _0x28f380=_0x121192;_0x344fdd[_0x28f380(0x1c3)](),this[_0x28f380(0x1b1)][_0x28f380(0x18f)][_0x28f380(0x1dc)][_0x28f380(0x15a)]();}),_0x1b190d(_0x464cbb,_0x6f5395,{'role':_0x121192(0x1ae)});const _0x57c007=[];for(const _0x5a24ea of _0x6f5395)ke(_0x5a24ea)&&_0x57c007[_0x121192(0x17b)](this[_0x121192(0x1b1)][_0x121192(0x1aa)][_0x121192(0x1c7)](_0x5a24ea[_0x121192(0x14e)][_0x121192(0x1de)]));const _0x1adc62=_0x464cbb[_0x121192(0x1d1)];return _0x1adc62[_0x121192(0x154)][_0x121192(0x1c4)](_0x121192(0x1ba)),_0x1adc62[_0x121192(0x1a1)][_0x121192(0x1c4)](_0x121192(0x1ba)),_0x1adc62[_0x121192(0x154)][_0x121192(0x1c2)](_0x121192(0x1ba))['to'](_0x344fdd,_0x121192(0x1ba)),_0x1adc62[_0x121192(0x1a1)][_0x121192(0x1c2)](_0x121192(0x1ba))[_0x121192(0x1e4)](_0x57c007,_0x121192(0x1ba),(..._0x124bde)=>_0x124bde[_0x121192(0x183)](_0x53aacf=>_0x53aacf)),_0x464cbb['on'](_0x121192(0x1c3),_0x31cd63=>{const _0x3bdcd6=_0x121192;this[_0x3bdcd6(0x1b1)][_0x3bdcd6(0x1c3)](_0x31cd63[_0x3bdcd6(0x187)][_0x3bdcd6(0x1de)]),this[_0x3bdcd6(0x1b1)][_0x3bdcd6(0x18f)][_0x3bdcd6(0x1dc)][_0x3bdcd6(0x15a)]();}),_0x464cbb;}[_0x7b31e1(0x1d4)](_0x59bb3a,_0x104738,_0x1ffd60){const _0x32311e=_0x7b31e1,_0x398d61=new _0x39bf89(_0x59bb3a),_0x18b95b=this[_0x32311e(0x1b1)][_0x32311e(0x1aa)][_0x32311e(0x1c7)](_0x32311e(0x15f));_0x398d61[_0x32311e(0x1d1)][_0x32311e(0x14c)]({'label':_0x1ffd60,'icon':_0x52994e});const _0x17e813=new _0x41979e(_0x59bb3a);for(const _0x4c7724 of _0x104738){if(_0x32311e(0x17c)==_0x4c7724[_0x32311e(0x1e2)]){_0x17e813[_0x32311e(0x189)][_0x32311e(0x1f7)](new _0xd08430(_0x59bb3a));continue;}const _0x41b4c5=new _0x136fa2(_0x59bb3a,_0x398d61),_0x25112c=new _0x4626ec(_0x59bb3a),_0x2493ad=_0x4c7724[_0x32311e(0x14e)];_0x25112c[_0x32311e(0x1c2)](...Object[_0x32311e(0x1cb)](_0x2493ad))['to'](_0x2493ad),_0x25112c[_0x32311e(0x168)](_0x32311e(0x1c3))['to'](_0x398d61),_0x25112c['on'](_0x32311e(0x1c3),()=>{const _0x458cfc=_0x32311e;this[_0x458cfc(0x1b1)][_0x458cfc(0x1c3)](_0x2493ad[_0x458cfc(0x1de)]),this[_0x458cfc(0x1b1)][_0x458cfc(0x18f)][_0x458cfc(0x1dc)][_0x458cfc(0x15a)]();}),_0x41b4c5[_0x32311e(0x1e7)][_0x32311e(0x1f7)](_0x25112c),_0x17e813[_0x32311e(0x189)][_0x32311e(0x1f7)](_0x41b4c5);}return _0x398d61[_0x32311e(0x1c2)](_0x32311e(0x1ba))['to'](_0x18b95b,_0x32311e(0x1ba)),_0x398d61[_0x32311e(0x1bb)][_0x32311e(0x1e7)][_0x32311e(0x1f7)](_0x17e813),_0x398d61;}[_0x7b31e1(0x1d2)](_0x52e3a2){const _0x32c02d=_0x7b31e1,_0x449a30=this[_0x32c02d(0x1b1)],_0x4969fd=_0x449a30[_0x32c02d(0x1c8)],_0xa369d3=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x163)),_0x4f837b=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x1b4)),_0x4b719f=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x1ee)),_0x169dcd=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x322c60)['me'],_0x390641=_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x15f))[_0x32c02d(0x19e)],_0x1b888e=_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x15f))[_0x32c02d(0x1f3)],{CommentsListView:_0x5a1c40,CommentThreadInputView:_0x16f0d7}=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x1f9));let _0xf7b258,_0x1e1106,_0x46624a;this[_0x32c02d(0x197)][_0x32c02d(0x1e3)](_0x52e3a2['id'])?(_0x1e1106=this[_0x32c02d(0x197)][_0x32c02d(0x1c7)](_0x52e3a2['id']),_0xf7b258=_0x1e1106[_0x32c02d(0x1cc)]):(_0xf7b258=new _0x390641(_0x449a30[_0x32c02d(0x17e)],_0x52e3a2,_0x169dcd,{'disableComments':this[_0x32c02d(0x1be)],'editorConfig':{..._0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x1a8)),'licenseKey':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x1a4))},'maxCommentsWhenCollapsed':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x1e5)),'maxThreadTotalWeight':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x18b)),'maxCommentCharsWhenCollapsed':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x170)),'formatDateTime':_0x500123(_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x17e)),_0x449a30[_0x32c02d(0x17e)]),'CommentView':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x1c9))[_0x32c02d(0x1a0)],'CommentsListView':_0x5a1c40,'CommentThreadInputView':_0x16f0d7,'SuggestionView':_0x1b888e}),_0xf7b258[_0x32c02d(0x178)][_0x32c02d(0x182)]['on'](_0x32c02d(0x1c3),()=>{const _0x55a0dd=_0x32c02d;_0x449a30[_0x55a0dd(0x18f)][_0x55a0dd(0x1dc)][_0x55a0dd(0x15a)]();}),_0xf7b258[_0x32c02d(0x178)][_0x32c02d(0x155)]['on'](_0x32c02d(0x1c3),()=>{const _0xb260b0=_0x32c02d;_0x449a30[_0xb260b0(0x18f)][_0xb260b0(0x1dc)][_0xb260b0(0x15a)]();}),_0x1e1106=_0xa369d3[_0x32c02d(0x1f6)](this[_0x32c02d(0x1b1)][_0x32c02d(0x17e)],_0xf7b258),_0x1e1106[_0x32c02d(0x1c2)](_0x32c02d(0x185))['to'](_0xf7b258,_0x32c02d(0x185)),_0x1e1106[_0x32c02d(0x1c2)](_0x32c02d(0x181))['to'](_0xf7b258),_0x1e1106[_0x32c02d(0x1c2)](_0x32c02d(0x1e2))['to'](_0xf7b258,_0x32c02d(0x1e2),_0xd86366=>_0x32c02d(0x1f1)+_0xd86366),_0xf7b258['on'](_0x32c02d(0x1bc),()=>{const _0x48b5a7=_0x32c02d;_0x46624a[_0x48b5a7(0x165)](_0x48b5a7(0x1bc));}),this[_0x32c02d(0x197)][_0x32c02d(0x14c)](_0x52e3a2['id'],_0x1e1106));const _0x3a70c0=_0x4f837b[_0x32c02d(0x173)](_0x52e3a2[_0x32c02d(0x15d)],_0xf7b258),_0x1a4199=new _0x57b571(_0x449a30,_0x52e3a2,_0xf7b258,_0x3a70c0),_0x139983=_0x52e3a2[_0x32c02d(0x1b2)]()[_0x32c02d(0x1d0)](_0x3eb784=>_0x3eb784[_0x32c02d(0x176)]);_0xf7b258[_0x32c02d(0x16c)]=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x18a))[_0x32c02d(0x1fa)][_0x32c02d(0x1a9)](_0x139983),this[_0x32c02d(0x1e8)][_0x32c02d(0x14c)](_0x52e3a2,_0x1a4199),this[_0x32c02d(0x17d)][_0x32c02d(0x14c)](_0xf7b258,_0x1a4199);const _0x551eb7=()=>{const _0x2b6861=_0x32c02d,_0x2e0536=[],_0x368e7c=_0x52e3a2[_0x2b6861(0x1b2)]()[_0x2b6861(0x1d0)](_0x156751=>_0x156751[_0x2b6861(0x176)]);for(const _0xbb6e12 of _0x368e7c)_0x2e0536[_0x2b6861(0x17b)](..._0xbb6e12[_0x2b6861(0x1cf)]());return _0x1cb902(_0x449a30[_0x2b6861(0x18f)],_0x2e0536);};_0x46624a=_0xa369d3[_0x32c02d(0x188)]({'view':_0x1e1106,'target':_0x551eb7,'type':()=>_0x32c02d(0x1f1)+_0x1a4199[_0x32c02d(0x1dc)][_0x32c02d(0x1e2)],'isVisible':!!_0x551eb7()}),_0x4f837b[_0x32c02d(0x1f8)](_0xf7b258,_0x46624a),_0xa369d3[_0x32c02d(0x1f7)](_0x46624a),_0x4b719f[_0x32c02d(0x1a6)](_0x46624a);}[_0x7b31e1(0x16b)](_0x4c2691){const _0x2b45c2=_0x7b31e1,_0x2e2089=this[_0x2b45c2(0x1b1)][_0x2b45c2(0x15b)][_0x2b45c2(0x1c7)](_0x2b45c2(0x1b4)),_0x19f920=this[_0x2b45c2(0x1b1)][_0x2b45c2(0x15b)][_0x2b45c2(0x1c7)](_0x2b45c2(0x163)),_0x4ee416=this[_0x2b45c2(0x1e8)][_0x2b45c2(0x1c7)](_0x4c2691),_0x294784=_0x4ee416[_0x2b45c2(0x1dc)],_0x3a43b6=_0x19f920[_0x2b45c2(0x16d)](_0x294784);_0x2e2089[_0x2b45c2(0x169)](_0x294784),_0x3a43b6&&_0x19f920[_0x2b45c2(0x160)](_0x3a43b6),this[_0x2b45c2(0x1e8)][_0x2b45c2(0x18c)](_0x4c2691),this[_0x2b45c2(0x17d)][_0x2b45c2(0x18c)](_0x294784),_0x4ee416[_0x2b45c2(0x157)]();}[_0x7b31e1(0x174)](_0x1fa2a4){const _0x4cfb77=_0x7b31e1;if(!_0x1fa2a4[_0x4cfb77(0x176)]||!this[_0x4cfb77(0x1e8)][_0x4cfb77(0x1e3)](_0x1fa2a4))return;const _0x356aab=this[_0x4cfb77(0x1b1)][_0x4cfb77(0x15b)][_0x4cfb77(0x1c7)](_0x4cfb77(0x18a)),_0x3f31f4=this[_0x4cfb77(0x1e8)][_0x4cfb77(0x1c7)](_0x1fa2a4),_0x55dd4a=_0x1fa2a4[_0x4cfb77(0x1b2)]();_0x3f31f4[_0x4cfb77(0x1dc)][_0x4cfb77(0x16c)]=_0x356aab[_0x4cfb77(0x1fa)][_0x4cfb77(0x1a9)](_0x55dd4a);}[_0x7b31e1(0x157)](){const _0x557315=_0x7b31e1;for(const _0x41d0d4 of this[_0x557315(0x1e8)][_0x557315(0x1cb)]())this[_0x557315(0x16b)](_0x41d0d4);for(const _0xd98934 of this[_0x557315(0x197)][_0x557315(0x199)]())_0xd98934[_0x557315(0x1cc)][_0x557315(0x157)]();super[_0x557315(0x157)](),this[_0x557315(0x18d)]&&clearInterval(this[_0x557315(0x18d)]);}}function _0xcd62(_0x1ac893,_0x15bb22){const _0x546eaf=_0x546e();return _0xcd62=function(_0xcd62b8,_0x1af568){_0xcd62b8=_0xcd62b8-0x14b;let _0x3ebbc8=_0x546eaf[_0xcd62b8];return _0x3ebbc8;},_0xcd62(_0x1ac893,_0x15bb22);}function ke(_0x1d1d89){const _0x3eb201=_0x7b31e1;return _0x3eb201(0x14e)in _0x1d1d89;}
|
|
23
|
+
const _0x33785b=_0x147e;(function(_0x38fde8,_0x1f99ed){const _0x1a3da1=_0x147e,_0x54fd4a=_0x38fde8();while(!![]){try{const _0x31fc26=parseInt(_0x1a3da1(0xa2))/0x1*(-parseInt(_0x1a3da1(0x103))/0x2)+-parseInt(_0x1a3da1(0xae))/0x3+parseInt(_0x1a3da1(0x123))/0x4+-parseInt(_0x1a3da1(0x105))/0x5*(-parseInt(_0x1a3da1(0x95))/0x6)+parseInt(_0x1a3da1(0xb8))/0x7+-parseInt(_0x1a3da1(0xc1))/0x8*(-parseInt(_0x1a3da1(0x118))/0x9)+-parseInt(_0x1a3da1(0x92))/0xa;if(_0x31fc26===_0x1f99ed)break;else _0x54fd4a['push'](_0x54fd4a['shift']());}catch(_0x52284a){_0x54fd4a['push'](_0x54fd4a['shift']());}}}(_0x1e0c,0x8986d));import{Plugin as _0x3476b1}from'ckeditor5/src/core.js';import{Collection as _0x3917b1}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0xb86d4c}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3c6c99,createDropdown as _0x2146ea,ListSeparatorView as _0x5ef866,MenuBarMenuView as _0x5b878a,MenuBarMenuListView as _0x202b50,MenuBarMenuListItemView as _0x25f482,MenuBarMenuListItemButtonView as _0x3d0f82,SplitButtonView as _0x25f73a,UIModel as _0x34b354}from'ckeditor5/src/ui.js';import{Users as _0xaf811c,getDateTimeFormatter as _0x5d967c,getAllMarkersDomElementsSorted as _0x320102}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0xd09762}from'./trackchangesediting.js';import{SuggestionController as _0xe7cbe}from'./ui/suggestioncontroller.js';function _0x147e(_0x391e2f,_0x209efe){const _0x1e0c87=_0x1e0c();return _0x147e=function(_0x147e5b,_0x742bb8){_0x147e5b=_0x147e5b-0x7b;let _0x346b69=_0x1e0c87[_0x147e5b];return _0x346b69;},_0x147e(_0x391e2f,_0x209efe);}function _0x1e0c(){const _0x18da1e=['discardAllSuggestions','editing','SuggestionView','suggestionView','init','trackChangesLicenseKeyInvalid','panelView','831710GQdicR','change:activeAnnotations','delegate','318cYOadR','_createMenuBarMenu','getByInnerView','getDescriptions','type','trackChangesLicenseKeyDomainLimit','comments.maxThreadTotalWeight','value','CommentView','menuitemcheckbox','listenTo','suggestion-','Accept\x20all\x20suggestions','133bxFzvZ','TrackChangesPreview','getAllAdjacentSuggestions','trackChangesLicenseKeyExpired','getFirstRange','activeMarkers','editor','set','remove','previewFinalContent','_unbindEditors','domainLimit','1846713nqdgof','define','getRanges','commentThread','SuggestionThreadView','comments','has','get','separator','trackChanges.disableComments','4639957RrwnQZ','add','_viewToController','getMarkers','trackChangesLicenseKeyUsageLimit','hasSuggestion','Annotations','isOfficialPlugin','getSuggestion','357096MuIOEX','length','isDirty','items','Discard\x20all\x20suggestions','isPremiumPlugin','requires','from','source','Accept\x20all\x20selected\x20suggestions','_handleControllerBuffer','destroy','comments.maxCommentsWhenCollapsed','some','usageLimit','_disableComments','activeAnnotations','commands','commentsListView','_initializeController','commandName','delete','TrackChangesEditing','createCommentThreadController','descriptionFactory','_destroyController','switchbutton','menuitem','push','menuBar:trackChanges','discardButton','execute','_licenseKeyCheckInterval','Discard\x20all\x20selected\x20suggestions','filter','buttonView','isMultiRange','registerAnnotation','isOn','createAnnotationView','_showLicenseError','pluginName','clear','locale','isEnabled','getAnnotationForSuggestion','innerView','_handleSuggestionControllerDelayed','button','Preview\x20final\x20content','trackChangesLicenseKeyTrialLimit','refreshSelectedViews','trackChangesLicenseKeyNotAllowed','trackChanges','children','trackChanges.SuggestionThreadView','addMany','values','trackChangesLicenseKeyEvaluationLimit','actionView','CommentsRepository','expired','previous','bind','acceptSelectedSuggestions','trackChanges.SuggestionView','15580vSJCwT','acceptButton','24510yZJzWT','_annotationViews','_suggestionToController','TrackChangesUI','EditorAnnotations','mainView','discardSelectedSuggestions','acceptAllSuggestions','evaluationLimit','trialLimit','suggestionLoaded','reduce','change:previous','componentFactory','focus','lowest','_refreshActiveMarkers','_bindAnnotationToEditors','keys','81yjQWII','addComment','licenseKey','fire','suggestionUnloaded','plugins','toMany','createAnnotation','config','head','view','3894924gpJhwN','size','getSuggestionForAnnotation','comments.maxCommentCharsWhenCollapsed','getJoined','stopListening','getMarkerNames','escape','featureNotAllowed','_addUIComponentsToFactory','isInContent','addSourceCollector','arrowView','trackChangesLicenseKeyValid','model','invalid','descriptionParts','suggestionChanged','menu','_updateController','CommentsUI','Track\x20changes','unbind','_createToolbarButton','TrackChanges','comments.editorConfig'];_0x1e0c=function(){return _0x18da1e;};return _0x1e0c();}import{SuggestionThreadView as _0x37ce27}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x423201}from'./ui/view/suggestionview.js';import{getTranslation as _0xd95b13}from'./utils/common-translations.js';export class TrackChangesUI extends _0x3476b1{[_0x33785b(0x11a)];[_0x33785b(0xe1)];[_0x33785b(0x107)];[_0x33785b(0xba)];[_0x33785b(0x106)];[_0x33785b(0xcb)];[_0x33785b(0xd0)];static get[_0x33785b(0xc7)](){const _0x6b785d=_0x33785b;return[_0xd09762,_0xaf811c,_0x6b785d(0xfd),_0x6b785d(0xbe),_0x6b785d(0x109)];}static get[_0x33785b(0xea)](){const _0xb5f240=_0x33785b;return _0xb5f240(0x108);}static get[_0x33785b(0xbf)](){return!0x0;}static get[_0x33785b(0xc6)](){return!0x0;}constructor(_0x5b41e8){const _0x1a273a=_0x33785b;super(_0x5b41e8),this[_0x1a273a(0x107)]=new Map(),this[_0x1a273a(0xba)]=new Map(),this[_0x1a273a(0x106)]=new Map(),this[_0x1a273a(0xcb)]=new Map();const _0xc61348=this[_0x1a273a(0xa8)][_0x1a273a(0x120)];_0xc61348[_0x1a273a(0xaf)](_0x1a273a(0xf8),_0x37ce27),_0xc61348[_0x1a273a(0xaf)](_0x1a273a(0x102),_0x423201),_0xc61348[_0x1a273a(0xaf)](_0x1a273a(0xb7),!0x1),this[_0x1a273a(0xd0)]=_0xc61348[_0x1a273a(0xb5)](_0x1a273a(0xb7));}[_0x33785b(0xf0)](_0xb26e39,_0x2df41b){const _0x5523d5=_0x33785b;0x0===this[_0x5523d5(0xcb)][_0x5523d5(0x124)]&&setTimeout(()=>{const _0xb100ff=_0x5523d5;for(const [_0xe6d54,_0x5f5902]of this[_0xb100ff(0xcb)]){const _0x2f89ce=this[_0xb100ff(0x107)][_0xb100ff(0xb4)](_0xe6d54);_0x2f89ce||_0x5f5902?_0x2f89ce&&_0x5f5902&&this[_0xb100ff(0xda)](_0xe6d54):this[_0xb100ff(0xd4)](_0xe6d54);}this[_0xb100ff(0xcb)][_0xb100ff(0xeb)](),this[_0xb100ff(0xa8)][_0xb100ff(0x11d)][_0xb100ff(0xb5)](_0xb100ff(0x109))[_0xb100ff(0xf4)](),this[_0xb100ff(0x115)]();},0xa),this[_0x5523d5(0xcb)][_0x5523d5(0xa9)](_0xb26e39,_0x2df41b);}[_0x33785b(0x8f)](){const _0x1ab660=_0x33785b,_0xb2e610=this[_0x1ab660(0xa8)],_0x45aceb=_0xb2e610[_0x1ab660(0x11d)][_0x1ab660(0xb5)](_0x1ab660(0xd7)),_0x484cc1=_0xb2e610[_0x1ab660(0x11d)][_0x1ab660(0xb5)](_0x1ab660(0xbe)),_0x316ae9=_0xb2e610[_0x1ab660(0x11d)][_0x1ab660(0xb5)](_0x1ab660(0x109)),_0x91c5c8=_0xb2e610[_0x1ab660(0x11d)][_0x1ab660(0xb5)](_0x1ab660(0xfd));this[_0x1ab660(0x12c)](),_0x316ae9[_0x1ab660(0x7c)](()=>{const _0x2a83ab=_0x1ab660,_0x3355f9=[];for(const [_0x5e104c,_0x573117]of Array[_0x2a83ab(0xc8)](this[_0x2a83ab(0x107)])){const _0x5649a8=_0x5e104c[_0x2a83ab(0xa4)](),_0x3b7ccd=[];for(const _0xbd2558 of _0x5649a8){if(!_0xbd2558[_0x2a83ab(0x7b)])continue;if(_0xbd2558[_0x2a83ab(0xe5)]){_0x3b7ccd[_0x2a83ab(0xdd)](..._0xbd2558[_0x2a83ab(0xb0)]());continue;}const _0x454946=_0xbd2558[_0x2a83ab(0xa6)]();if(_0x3b7ccd[_0x2a83ab(0xc2)]>0x0){const _0x827ab5=_0x3b7ccd[0x0][_0x2a83ab(0x127)](_0x454946);if(_0x827ab5){_0x3b7ccd[0x0]=_0x827ab5;continue;}}_0x3b7ccd[_0x2a83ab(0xdd)](_0x454946);}_0x3355f9[_0x2a83ab(0xdd)]([_0x573117[_0x2a83ab(0x122)],_0x3b7ccd]);}return _0x3355f9;}),this[_0x1ab660(0x9f)](_0x45aceb,_0x1ab660(0x10f),(_0x2d7498,_0x2c17fb)=>{const _0x49f6e0=_0x1ab660;this[_0x49f6e0(0x9f)](_0x2c17fb,_0x49f6e0(0x111),(_0x3b47f6,_0x97bc3c,_0x5f433e,_0x374e75)=>{const _0x14e657=_0x49f6e0;_0x2c17fb[_0x14e657(0x7b)]&&(null==_0x5f433e?(this[_0x14e657(0x84)](_0x374e75[_0x14e657(0x121)]),this[_0x14e657(0xf0)](_0x2c17fb,!0x1)):(this[_0x14e657(0x84)](_0x5f433e[_0x14e657(0x121)]),null==_0x374e75&&this[_0x14e657(0xf0)](_0x2c17fb,!0x0)));}),null!==_0x2c17fb[_0x49f6e0(0xff)]?this[_0x49f6e0(0x84)](_0x2c17fb[_0x49f6e0(0x121)]):this[_0x49f6e0(0xf0)](_0x2c17fb,!0x1);}),this[_0x1ab660(0x9f)](_0x45aceb,_0x1ab660(0x11c),(_0x25e058,_0x2e5afb,_0x28c247)=>{const _0x3614c6=_0x1ab660;this[_0x3614c6(0x128)](_0x2e5afb,_0x3614c6(0x111)),this[_0x3614c6(0xcb)][_0x3614c6(0xd6)](_0x2e5afb),this[_0x3614c6(0x107)][_0x3614c6(0xb4)](_0x2e5afb)&&this[_0x3614c6(0xda)](_0x2e5afb),_0x28c247&&this[_0x3614c6(0x84)](_0x28c247[_0x3614c6(0x121)]);}),this[_0x1ab660(0x9f)](_0x45aceb,_0x1ab660(0x82),(_0x2def83,_0x380fdb)=>{const _0x434a66=_0x1ab660;this[_0x434a66(0x84)](_0x380fdb);}),this[_0x1ab660(0x9f)](_0x484cc1,_0x1ab660(0x93),()=>{const _0x29602d=_0x1ab660;this[_0x29602d(0x115)]();}),this[_0x1ab660(0x9f)](_0x91c5c8,_0x1ab660(0x119),(_0x4f2070,{threadId:_0x3f7337,isFromAdapter:_0x1f5476})=>{const _0x36fb18=_0x1ab660;if(_0x1f5476||!_0x45aceb[_0x36fb18(0xbd)](_0x3f7337))return;const _0x211295=_0x45aceb[_0x36fb18(0xc0)](_0x3f7337);this[_0x36fb18(0x107)][_0x36fb18(0xb5)](_0x211295)[_0x36fb18(0x122)][_0x36fb18(0xd3)][_0x36fb18(0x113)](-0x1);},{'priority':_0x1ab660(0x114)}),this[_0x1ab660(0x11a)]=this[_0x1ab660(0xa8)][_0x1ab660(0x120)][_0x1ab660(0xb5)](_0x1ab660(0x11a));const _0x2077ed=this[_0x1ab660(0xa8)];this[_0x1ab660(0xe1)]=setInterval(()=>{const _0x2e12e5=_0x1ab660;let _0x274059;for(const _0x2ea875 in _0x2077ed){const _0x3354e9=_0x2ea875,_0x3433e3=_0x2077ed[_0x3354e9];if(_0x2e12e5(0x7e)==_0x3433e3||_0x2e12e5(0x90)==_0x3433e3||_0x2e12e5(0xa5)==_0x3433e3||_0x2e12e5(0x9a)==_0x3433e3||_0x2e12e5(0xf5)==_0x3433e3||_0x2e12e5(0xfb)==_0x3433e3||_0x2e12e5(0xf3)==_0x3433e3||_0x2e12e5(0xbc)==_0x3433e3){delete _0x2077ed[_0x3354e9],_0x274059=_0x3433e3,clearInterval(this[_0x2e12e5(0xe1)]),this[_0x2e12e5(0xe1)]=void 0x0;break;}}_0x2e12e5(0x90)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0x80)),_0x2e12e5(0xa5)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0xfe)),_0x2e12e5(0x9a)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0xad)),_0x2e12e5(0xf5)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0x12b),_0x2e12e5(0x89)),_0x2e12e5(0xfb)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0x10d)),_0x2e12e5(0xf3)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0x10e)),_0x2e12e5(0xbc)==_0x274059&&_0x2077ed[_0x2e12e5(0xe9)](_0x2e12e5(0xcf));},0x3e8);}[_0x33785b(0xee)](_0x116fd8){const _0x8188b=_0x33785b,_0x52a5be=this[_0x8188b(0x107)][_0x8188b(0xb5)](_0x116fd8);if(!_0x52a5be)return null;return this[_0x8188b(0xa8)][_0x8188b(0x11d)][_0x8188b(0xb5)](_0x8188b(0xbe))[_0x8188b(0x97)](_0x52a5be[_0x8188b(0x122)])||null;}[_0x33785b(0x125)](_0x5d3081){const _0x5cb6c5=_0x33785b,_0x4e0e02=this[_0x5cb6c5(0xba)][_0x5cb6c5(0xb5)](_0x5d3081[_0x5cb6c5(0xef)]);return _0x4e0e02?_0x4e0e02[_0x5cb6c5(0x7f)]:null;}[_0x33785b(0x115)](){const _0x56e2ed=_0x33785b,_0x53a5af=this[_0x56e2ed(0xa8)][_0x56e2ed(0x11d)][_0x56e2ed(0xb5)](_0x56e2ed(0xbe)),_0xf7f195=this[_0x56e2ed(0xa8)][_0x56e2ed(0x11d)][_0x56e2ed(0xb5)](_0x56e2ed(0xd7)),_0x3231c3=Array[_0x56e2ed(0xc8)](_0x53a5af[_0x56e2ed(0xd1)],_0x1a8c5c=>_0x1a8c5c[_0x56e2ed(0xef)])[_0x56e2ed(0xe3)](_0x374592=>this[_0x56e2ed(0xba)][_0x56e2ed(0xb4)](_0x374592)),_0x4e7245=[];for(const _0x5ae1cf of _0x3231c3){const _0xb34c95=this[_0x56e2ed(0xba)][_0x56e2ed(0xb5)](_0x5ae1cf)[_0x56e2ed(0x7f)][_0x56e2ed(0xa4)]();_0x4e7245[_0x56e2ed(0xdd)](..._0xb34c95[_0x56e2ed(0x110)]((_0x35e3f3,_0x27d707)=>[..._0x35e3f3,..._0x27d707[_0x56e2ed(0x129)]()],[]));}_0xf7f195[_0x56e2ed(0xa7)]=_0x4e7245;}[_0x33785b(0x12c)](){const _0x55b12a=_0x33785b,_0x3a8f41=this[_0x55b12a(0xa8)],_0x2e337f=_0x3a8f41[_0x55b12a(0xec)],_0x260667=_0xd95b13(_0x2e337f,_0x55b12a(0x86)),_0x2cd35f=new _0x3917b1([{'type':_0x55b12a(0xdb),'model':new _0x34b354({'withText':!0x0,'isToggleable':!0x0,'label':_0x260667,'commandName':_0x55b12a(0xf6),'role':_0x55b12a(0x9e)})},{'type':_0x55b12a(0xb6)},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xa1)),'commandName':_0x55b12a(0x10c),'role':_0x55b12a(0xdc)})},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xca)),'commandName':_0x55b12a(0x101),'role':_0x55b12a(0xdc)})},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xc5)),'commandName':_0x55b12a(0x8b),'role':_0x55b12a(0xdc)})},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xe2)),'commandName':_0x55b12a(0x10b),'role':_0x55b12a(0xdc)})}]);_0x3a8f41[_0x55b12a(0x11d)][_0x55b12a(0xb4)](_0x55b12a(0xa3))&&_0x2cd35f[_0x55b12a(0xf9)]([{'type':_0x55b12a(0xb6)},{'type':_0x55b12a(0xf1),'model':new _0x34b354({'withText':!0x0,'label':_0xd95b13(_0x2e337f,_0x55b12a(0xf2)),'commandName':_0x55b12a(0xab),'role':_0x55b12a(0xdc)})}]);for(const _0x4a4c1e of _0x2cd35f)if(ke(_0x4a4c1e)){const _0x4a16a5=_0x3a8f41[_0x55b12a(0xd2)][_0x55b12a(0xb5)](_0x4a4c1e[_0x55b12a(0x7f)][_0x55b12a(0xd5)]);_0x4a4c1e[_0x55b12a(0x7f)][_0x55b12a(0x100)](_0x55b12a(0xe7),_0x55b12a(0xed))['to'](_0x4a16a5,_0x55b12a(0x9c),_0x55b12a(0xed));}_0x3a8f41['ui'][_0x55b12a(0x112)][_0x55b12a(0xb9)](_0x55b12a(0xf6),_0x11f147=>this[_0x55b12a(0x88)](_0x11f147,_0x2cd35f,_0x260667)),_0x3a8f41['ui'][_0x55b12a(0x112)][_0x55b12a(0xb9)](_0x55b12a(0xde),_0x533d2a=>this[_0x55b12a(0x96)](_0x533d2a,_0x2cd35f,_0x260667));}[_0x33785b(0x88)](_0x58fbdd,_0x3f49f7,_0x240364){const _0x1ac99a=_0x33785b,_0x5453be=_0x2146ea(_0x58fbdd,_0x25f73a),_0x462671=this[_0x1ac99a(0xa8)][_0x1ac99a(0xd2)][_0x1ac99a(0xb5)](_0x1ac99a(0xf6));_0x5453be[_0x1ac99a(0xe4)][_0x1ac99a(0xa9)]({'tooltip':_0x240364,'label':_0x240364,'icon':_0xb86d4c}),_0x5453be[_0x1ac99a(0xe4)][_0x1ac99a(0x100)](_0x1ac99a(0xe7))['to'](_0x462671,_0x1ac99a(0x9c)),_0x5453be[_0x1ac99a(0xe4)]['on'](_0x1ac99a(0xe0),()=>{const _0x3d807d=_0x1ac99a;_0x462671[_0x3d807d(0xe0)](),this[_0x3d807d(0xa8)][_0x3d807d(0x8c)][_0x3d807d(0x122)][_0x3d807d(0x113)]();}),_0x3c6c99(_0x5453be,_0x3f49f7,{'role':_0x1ac99a(0x83)});const _0x1dd897=[];for(const _0x20af87 of _0x3f49f7)ke(_0x20af87)&&_0x1dd897[_0x1ac99a(0xdd)](this[_0x1ac99a(0xa8)][_0x1ac99a(0xd2)][_0x1ac99a(0xb5)](_0x20af87[_0x1ac99a(0x7f)][_0x1ac99a(0xd5)]));const _0x323bf9=_0x5453be[_0x1ac99a(0xe4)];return _0x323bf9[_0x1ac99a(0xfc)][_0x1ac99a(0x87)](_0x1ac99a(0xed)),_0x323bf9[_0x1ac99a(0x7d)][_0x1ac99a(0x87)](_0x1ac99a(0xed)),_0x323bf9[_0x1ac99a(0xfc)][_0x1ac99a(0x100)](_0x1ac99a(0xed))['to'](_0x462671,_0x1ac99a(0xed)),_0x323bf9[_0x1ac99a(0x7d)][_0x1ac99a(0x100)](_0x1ac99a(0xed))[_0x1ac99a(0x11e)](_0x1dd897,_0x1ac99a(0xed),(..._0x1886d3)=>_0x1886d3[_0x1ac99a(0xce)](_0x10594d=>_0x10594d)),_0x5453be['on'](_0x1ac99a(0xe0),_0xfc3c54=>{const _0x2b4511=_0x1ac99a;this[_0x2b4511(0xa8)][_0x2b4511(0xe0)](_0xfc3c54[_0x2b4511(0xc9)][_0x2b4511(0xd5)]),this[_0x2b4511(0xa8)][_0x2b4511(0x8c)][_0x2b4511(0x122)][_0x2b4511(0x113)]();}),_0x5453be;}[_0x33785b(0x96)](_0x1b80be,_0x2bbddf,_0x4cb32b){const _0xff697b=_0x33785b,_0x156c2a=new _0x5b878a(_0x1b80be),_0x22031c=this[_0xff697b(0xa8)][_0xff697b(0xd2)][_0xff697b(0xb5)](_0xff697b(0xf6));_0x156c2a[_0xff697b(0xe4)][_0xff697b(0xa9)]({'label':_0x4cb32b,'icon':_0xb86d4c});const _0x5a765e=new _0x202b50(_0x1b80be);for(const _0x2d9e88 of _0x2bbddf){if(_0xff697b(0xb6)==_0x2d9e88[_0xff697b(0x99)]){_0x5a765e[_0xff697b(0xc4)][_0xff697b(0xb9)](new _0x5ef866(_0x1b80be));continue;}const _0x324acb=new _0x25f482(_0x1b80be,_0x156c2a),_0x120b28=new _0x3d0f82(_0x1b80be),_0x31d3ac=_0x2d9e88[_0xff697b(0x7f)];_0x120b28[_0xff697b(0x100)](...Object[_0xff697b(0x117)](_0x31d3ac))['to'](_0x31d3ac),_0x120b28[_0xff697b(0x94)](_0xff697b(0xe0))['to'](_0x156c2a),_0x120b28['on'](_0xff697b(0xe0),()=>{const _0x495392=_0xff697b;this[_0x495392(0xa8)][_0x495392(0xe0)](_0x31d3ac[_0x495392(0xd5)]),this[_0x495392(0xa8)][_0x495392(0x8c)][_0x495392(0x122)][_0x495392(0x113)]();}),_0x324acb[_0xff697b(0xf7)][_0xff697b(0xb9)](_0x120b28),_0x5a765e[_0xff697b(0xc4)][_0xff697b(0xb9)](_0x324acb);}return _0x156c2a[_0xff697b(0x100)](_0xff697b(0xed))['to'](_0x22031c,_0xff697b(0xed)),_0x156c2a[_0xff697b(0x91)][_0xff697b(0xf7)][_0xff697b(0xb9)](_0x5a765e),_0x156c2a;}[_0x33785b(0xd4)](_0x31aed8){const _0x6a5793=_0x33785b,_0x1a348d=this[_0x6a5793(0xa8)],_0x5a78e5=_0x1a348d[_0x6a5793(0x120)],_0x5f0720=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0xbe)),_0x4dfc41=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0xfd)),_0x58436e=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0x109)),_0x1b4371=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0xaf811c)['me'],_0x153aea=_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xf6))[_0x6a5793(0xb2)],_0xe0deca=_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xf6))[_0x6a5793(0x8d)],{CommentsListView:_0x2e235d,CommentThreadInputView:_0x7ea25e}=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0x85));let _0xc11a47,_0x5acc8,_0x514f0b;this[_0x6a5793(0x106)][_0x6a5793(0xb4)](_0x31aed8['id'])?(_0x5acc8=this[_0x6a5793(0x106)][_0x6a5793(0xb5)](_0x31aed8['id']),_0xc11a47=_0x5acc8[_0x6a5793(0x10a)]):(_0xc11a47=new _0x153aea(_0x1a348d[_0x6a5793(0xec)],_0x31aed8,_0x1b4371,{'disableComments':this[_0x6a5793(0xd0)],'editorConfig':{..._0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0x8a)),'licenseKey':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0x11a))},'maxCommentsWhenCollapsed':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xcd)),'maxThreadTotalWeight':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0x9b)),'maxCommentCharsWhenCollapsed':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0x126)),'formatDateTime':_0x5d967c(_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xec)),_0x1a348d[_0x6a5793(0xec)]),'CommentView':_0x5a78e5[_0x6a5793(0xb5)](_0x6a5793(0xb3))[_0x6a5793(0x9d)],'CommentsListView':_0x2e235d,'CommentThreadInputView':_0x7ea25e,'SuggestionView':_0xe0deca}),_0xc11a47[_0x6a5793(0x8e)][_0x6a5793(0x104)]['on'](_0x6a5793(0xe0),()=>{const _0x352bbf=_0x6a5793;_0x1a348d[_0x352bbf(0x8c)][_0x352bbf(0x122)][_0x352bbf(0x113)]();}),_0xc11a47[_0x6a5793(0x8e)][_0x6a5793(0xdf)]['on'](_0x6a5793(0xe0),()=>{const _0x194b4e=_0x6a5793;_0x1a348d[_0x194b4e(0x8c)][_0x194b4e(0x122)][_0x194b4e(0x113)]();}),_0x5acc8=_0x5f0720[_0x6a5793(0xe8)](this[_0x6a5793(0xa8)][_0x6a5793(0xec)],_0xc11a47),_0x5acc8[_0x6a5793(0x100)](_0x6a5793(0xc3))['to'](_0xc11a47,_0x6a5793(0xc3)),_0x5acc8[_0x6a5793(0x100)](_0x6a5793(0xc2))['to'](_0xc11a47),_0x5acc8[_0x6a5793(0x100)](_0x6a5793(0x99))['to'](_0xc11a47,_0x6a5793(0x99),_0x19237b=>_0x6a5793(0xa0)+_0x19237b),_0xc11a47['on'](_0x6a5793(0x12a),()=>{const _0x599c3f=_0x6a5793;_0x514f0b[_0x599c3f(0x11b)](_0x599c3f(0x12a));}),this[_0x6a5793(0x106)][_0x6a5793(0xa9)](_0x31aed8['id'],_0x5acc8));const _0x2dedf7=_0x4dfc41[_0x6a5793(0xd8)](_0x31aed8[_0x6a5793(0xb1)],_0xc11a47),_0x380ce1=new _0xe7cbe(_0x1a348d,_0x31aed8,_0xc11a47,_0x2dedf7),_0x30c80f=_0x31aed8[_0x6a5793(0xa4)]()[_0x6a5793(0xe3)](_0x56ba28=>_0x56ba28[_0x6a5793(0x7b)]);_0xc11a47[_0x6a5793(0x81)]=_0x1a348d[_0x6a5793(0x11d)][_0x6a5793(0xb5)](_0x6a5793(0xd7))[_0x6a5793(0xd9)][_0x6a5793(0x98)](_0x30c80f),this[_0x6a5793(0x107)][_0x6a5793(0xa9)](_0x31aed8,_0x380ce1),this[_0x6a5793(0xba)][_0x6a5793(0xa9)](_0xc11a47,_0x380ce1);const _0x4b2454=()=>{const _0x1dddb3=_0x6a5793,_0x34ad65=[],_0x2b9e1e=_0x31aed8[_0x1dddb3(0xa4)]()[_0x1dddb3(0xe3)](_0x4e9920=>_0x4e9920[_0x1dddb3(0x7b)]);for(const _0x207df5 of _0x2b9e1e)_0x34ad65[_0x1dddb3(0xdd)](..._0x207df5[_0x1dddb3(0xbb)]());return _0x320102(_0x1a348d[_0x1dddb3(0x8c)],_0x34ad65);};_0x514f0b=_0x5f0720[_0x6a5793(0x11f)]({'view':_0x5acc8,'target':_0x4b2454,'type':()=>_0x6a5793(0xa0)+_0x380ce1[_0x6a5793(0x122)][_0x6a5793(0x99)],'isVisible':!!_0x4b2454()}),_0x4dfc41[_0x6a5793(0x116)](_0xc11a47,_0x514f0b),_0x5f0720[_0x6a5793(0xb9)](_0x514f0b),_0x58436e[_0x6a5793(0xe6)](_0x514f0b);}[_0x33785b(0xda)](_0x1df77e){const _0x48a6d4=_0x33785b,_0x2ab3a2=this[_0x48a6d4(0xa8)][_0x48a6d4(0x11d)][_0x48a6d4(0xb5)](_0x48a6d4(0xfd)),_0x4f9964=this[_0x48a6d4(0xa8)][_0x48a6d4(0x11d)][_0x48a6d4(0xb5)](_0x48a6d4(0xbe)),_0x4df262=this[_0x48a6d4(0x107)][_0x48a6d4(0xb5)](_0x1df77e),_0x1dc030=_0x4df262[_0x48a6d4(0x122)],_0x2c8541=_0x4f9964[_0x48a6d4(0x97)](_0x1dc030);_0x2ab3a2[_0x48a6d4(0xac)](_0x1dc030),_0x2c8541&&_0x4f9964[_0x48a6d4(0xaa)](_0x2c8541),this[_0x48a6d4(0x107)][_0x48a6d4(0xd6)](_0x1df77e),this[_0x48a6d4(0xba)][_0x48a6d4(0xd6)](_0x1dc030),_0x4df262[_0x48a6d4(0xcc)]();}[_0x33785b(0x84)](_0x57677d){const _0x29dbca=_0x33785b;if(!_0x57677d[_0x29dbca(0x7b)]||!this[_0x29dbca(0x107)][_0x29dbca(0xb4)](_0x57677d))return;const _0x1fe048=this[_0x29dbca(0xa8)][_0x29dbca(0x11d)][_0x29dbca(0xb5)](_0x29dbca(0xd7)),_0x1baa5e=this[_0x29dbca(0x107)][_0x29dbca(0xb5)](_0x57677d),_0x398379=_0x57677d[_0x29dbca(0xa4)]();_0x1baa5e[_0x29dbca(0x122)][_0x29dbca(0x81)]=_0x1fe048[_0x29dbca(0xd9)][_0x29dbca(0x98)](_0x398379);}[_0x33785b(0xcc)](){const _0x4f3629=_0x33785b;for(const _0x248c7d of this[_0x4f3629(0x107)][_0x4f3629(0x117)]())this[_0x4f3629(0xda)](_0x248c7d);for(const _0xcd5dd0 of this[_0x4f3629(0x106)][_0x4f3629(0xfa)]())_0xcd5dd0[_0x4f3629(0x10a)][_0x4f3629(0xcc)]();super[_0x4f3629(0xcc)](),this[_0x4f3629(0xe1)]&&clearInterval(this[_0x4f3629(0xe1)]);}}function ke(_0x201e83){const _0x121afb=_0x33785b;return _0x121afb(0x7f)in _0x201e83;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2de6b6=_0x1d04;(function(_0x3bbbc8,_0x35de9a){const _0x3d7e62=_0x1d04,_0x383343=_0x3bbbc8();while(!![]){try{const _0x3148d5=parseInt(_0x3d7e62(0x1bc))/0x1*(-parseInt(_0x3d7e62(0x1ce))/0x2)+-parseInt(_0x3d7e62(0x1df))/0x3*(-parseInt(_0x3d7e62(0x1d1))/0x4)+parseInt(_0x3d7e62(0x1c6))/0x5*(-parseInt(_0x3d7e62(0x1bb))/0x6)+-parseInt(_0x3d7e62(0x1d9))/0x7+parseInt(_0x3d7e62(0x1c1))/0x8*(-parseInt(_0x3d7e62(0x1cf))/0x9)+parseInt(_0x3d7e62(0x1d4))/0xa+parseInt(_0x3d7e62(0x1cd))/0xb;if(_0x3148d5===_0x35de9a)break;else _0x383343['push'](_0x383343['shift']());}catch(_0x1f552b){_0x383343['push'](_0x383343['shift']());}}}(_0x57ae,0x884a2));import{ObservableMixin as _0x64f2c5}from'ckeditor5/src/utils.js';function _0x1d04(_0x43a261,_0x4e4caa){const _0x57ae2e=_0x57ae();return _0x1d04=function(_0x1d0492,_0x4fb1dc){_0x1d0492=_0x1d0492-0x1b8;let _0xf8ae2a=_0x57ae2e[_0x1d0492];return _0xf8ae2a;},_0x1d04(_0x43a261,_0x4e4caa);}function _0x57ae(){const _0xd4a081=['1800ybKjLH','get','bind','commentThreadController','canDiscard','115OMQDbB','_discardCommand','destroy','canAccept','isEnabled','plugins','add','19302998evgiJo','280802yaSEEw','37269uNSnHg','listenTo','3541704xVDyQN','PendingActions','execute','1271480otRdHW','commands','discardSuggestion','stopListening','_editor','3251948IpAwio','PENDING_ACTION_SUGGESTION','unbind','view','acceptSuggestion','locale','3MPdWhV','getRanges','_acceptCommand','remove','canEditAt','_setPendingAction','change:isDirty','138798TNFDvD','2LepWbU','_pendingAction','_removePendingAction','model','isDirty'];_0x57ae=function(){return _0xd4a081;};return _0x57ae();}import{getTranslation as _0x37675b}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x64f2c5(){[_0x2de6b6(0x1bf)];[_0x2de6b6(0x1dc)];[_0x2de6b6(0x1c4)];[_0x2de6b6(0x1d8)];[_0x2de6b6(0x1e1)];[_0x2de6b6(0x1c7)];[_0x2de6b6(0x1bd)];constructor(_0x4b12ee,_0x2d95ac,_0xb3e0b2,_0x3b1928){const _0x43326d=_0x2de6b6;super(),this[_0x43326d(0x1bf)]=_0x2d95ac,this[_0x43326d(0x1dc)]=_0xb3e0b2,this[_0x43326d(0x1c4)]=_0x3b1928,this[_0x43326d(0x1d8)]=_0x4b12ee,this[_0x43326d(0x1e1)]=_0x4b12ee[_0x43326d(0x1d5)][_0x43326d(0x1c2)](_0x43326d(0x1dd)),this[_0x43326d(0x1c7)]=_0x4b12ee[_0x43326d(0x1d5)][_0x43326d(0x1c2)](_0x43326d(0x1d6)),this[_0x43326d(0x1dc)][_0x43326d(0x1c3)](_0x43326d(0x1ca))['to'](this[_0x43326d(0x1e1)],this[_0x43326d(0x1c7)],(_0x251255,_0x548f78)=>_0x251255||_0x548f78),this[_0x43326d(0x1dc)][_0x43326d(0x1c3)](_0x43326d(0x1c9))['to'](this[_0x43326d(0x1e1)],_0x43326d(0x1ca),_0x51db8b=>_0x51db8b&&this[_0x43326d(0x1d8)][_0x43326d(0x1bf)][_0x43326d(0x1b8)](_0x2d95ac[_0x43326d(0x1e0)]())),this[_0x43326d(0x1dc)][_0x43326d(0x1c3)](_0x43326d(0x1c5))['to'](this[_0x43326d(0x1c7)],_0x43326d(0x1ca),_0x50deaa=>_0x50deaa&&this[_0x43326d(0x1d8)][_0x43326d(0x1bf)][_0x43326d(0x1b8)](_0x2d95ac[_0x43326d(0x1e0)]())),this[_0x43326d(0x1bd)]=null,_0xb3e0b2[_0x43326d(0x1c0)]&&this[_0x43326d(0x1b9)](),this[_0x43326d(0x1d0)](_0xb3e0b2,_0x43326d(0x1dd),()=>this[_0x43326d(0x1dd)]()),this[_0x43326d(0x1d0)](_0xb3e0b2,_0x43326d(0x1d6),()=>this[_0x43326d(0x1d6)]()),this[_0x43326d(0x1d0)](_0xb3e0b2,_0x43326d(0x1ba),()=>{const _0x206685=_0x43326d;_0xb3e0b2[_0x206685(0x1c0)]?this[_0x206685(0x1b9)]():this[_0x206685(0x1be)]();});}[_0x2de6b6(0x1dd)](){const _0x4d0c71=_0x2de6b6;this[_0x4d0c71(0x1e1)][_0x4d0c71(0x1d3)](this[_0x4d0c71(0x1bf)]['id']);}[_0x2de6b6(0x1d6)](){const _0x366a93=_0x2de6b6;this[_0x366a93(0x1c7)][_0x366a93(0x1d3)](this[_0x366a93(0x1bf)]['id']);}[_0x2de6b6(0x1c8)](){const _0x2f301a=_0x2de6b6;this[_0x2f301a(0x1dc)][_0x2f301a(0x1db)](_0x2f301a(0x1ca)),this[_0x2f301a(0x1dc)][_0x2f301a(0x1db)](_0x2f301a(0x1c9)),this[_0x2f301a(0x1dc)][_0x2f301a(0x1db)](_0x2f301a(0x1c5)),this[_0x2f301a(0x1d7)](),this[_0x2f301a(0x1c4)][_0x2f301a(0x1c8)](),this[_0x2f301a(0x1bd)]&&this[_0x2f301a(0x1be)]();}[_0x2de6b6(0x1b9)](){const _0x351316=_0x2de6b6,_0x7b2ef7=_0x37675b(this[_0x351316(0x1d8)][_0x351316(0x1de)],_0x351316(0x1da));this[_0x351316(0x1bd)]=this[_0x351316(0x1d8)][_0x351316(0x1cb)][_0x351316(0x1c2)](_0x351316(0x1d2))[_0x351316(0x1cc)](_0x7b2ef7);}[_0x2de6b6(0x1be)](){const _0x3d6296=_0x2de6b6;null!==this[_0x3d6296(0x1bd)]&&this[_0x3d6296(0x1d8)][_0x3d6296(0x1cb)][_0x3d6296(0x1c2)](_0x3d6296(0x1d2))[_0x3d6296(0x1e2)](this[_0x3d6296(0x1bd)]),this[_0x3d6296(0x1bd)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3e7ce2=_0x1281;function _0x1495(){const _0xf18e3a=['isReadOnly','map','isDirty','disableComments','render','keystrokes','_createCommentThreadInputView','275871KJzbMM','length','canAccept','fire','isEnabled','isActive','textContent','parseFromString','SUGGESTION_THREAD_ARIA_LABEL','ariaLabel','20601KmFPvw','SUGGESTION_THREAD_DESCRIPTION','cancel','name','submit','setData','descriptionParts','target','text/html','hasDirtyComment','30IVOVQs','commentThread','2408eeWTzV','commentsListView','commentThreadInputView','1646218KueNUD','bind','showInput','updateComment','authoredAt','_localUser','499521NOFHNd','formatDateTime','assign','delegate','10yglMEN','961987tqkGMI','tab','value','commentInputView','disabledSubmit','canDiscard','ariaDescriptionView','_createCommentViews','60TaOglt','element','_config','set','addComment','editorConfig','content','1336362dOKIAU','body','focus','2TTtMlr','focusCycler','removeComment','focusTracker','editor','destroy','focusables','shift+tab','locale','12oqZwMr','_model','author','CommentView','126804huOGHV','join'];_0x1495=function(){return _0xf18e3a;};return _0x1495();}(function(_0x33acd1,_0x1ee369){const _0x3abe27=_0x1281,_0x3ac53f=_0x33acd1();while(!![]){try{const _0xb06269=parseInt(_0x3abe27(0x1c6))/0x1+-parseInt(_0x3abe27(0x1fc))/0x2*(parseInt(_0x3abe27(0x1f9))/0x3)+-parseInt(_0x3abe27(0x209))/0x4*(parseInt(_0x3abe27(0x1da))/0x5)+-parseInt(_0x3abe27(0x205))/0x6*(-parseInt(_0x3abe27(0x1df))/0x7)+-parseInt(_0x3abe27(0x1dc))/0x8*(-parseInt(_0x3abe27(0x1d0))/0x9)+-parseInt(_0x3abe27(0x1e9))/0xa*(parseInt(_0x3abe27(0x1e5))/0xb)+-parseInt(_0x3abe27(0x1f2))/0xc*(parseInt(_0x3abe27(0x1ea))/0xd);if(_0xb06269===_0x1ee369)break;else _0x3ac53f['push'](_0x3ac53f['shift']());}catch(_0x1a175a){_0x3ac53f['push'](_0x3ac53f['shift']());}}}(_0x1495,0x5dc8e));import{FocusCycler as _0x2f0d8a,View as _0x11b7c4,ViewCollection as _0xd448e0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5f1ceb,KeystrokeHandler as _0x362124}from'ckeditor5/src/utils.js';function _0x1281(_0x8d9de1,_0x18155d){const _0x149597=_0x1495();return _0x1281=function(_0x1281b2,_0x33b716){_0x1281b2=_0x1281b2-0x1be;let _0x191bbb=_0x149597[_0x1281b2];return _0x191bbb;},_0x1281(_0x8d9de1,_0x18155d);}import{AriaDescriptionView as _0x21cd3d,setupThreadKeyboardNavigation as _0x39d003}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x2c7be5}from'../../utils/common-translations.js';import{renderDescription as _0x337dbc}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x11b7c4{[_0x3e7ce2(0x1dd)];[_0x3e7ce2(0x1de)];[_0x3e7ce2(0x1f0)];[_0x3e7ce2(0x202)];[_0x3e7ce2(0x1ff)];[_0x3e7ce2(0x1c4)];[_0x3e7ce2(0x1fd)];[_0x3e7ce2(0x206)];[_0x3e7ce2(0x1e4)];[_0x3e7ce2(0x1f4)];constructor(_0x31a7c8,_0x43d053,_0x5a9e3f,_0x4eaca3){const _0x5ca912=_0x3e7ce2;super(_0x31a7c8),this[_0x5ca912(0x1dd)]=null,this[_0x5ca912(0x1de)]=null,this[_0x5ca912(0x1f0)]=new _0x21cd3d(_0x31a7c8,_0x2c7be5(_0x31a7c8,_0x5ca912(0x1d1))),this[_0x5ca912(0x1f5)](_0x5ca912(0x1cb),!0x1),this[_0x5ca912(0x1f5)](_0x5ca912(0x1e3),_0x43d053[_0x5ca912(0x1e3)]),this[_0x5ca912(0x1e0)](_0x5ca912(0x1e3))['to'](_0x43d053),this[_0x5ca912(0x1f5)](_0x5ca912(0x1d6),[]),this[_0x5ca912(0x1f5)](_0x5ca912(0x1c1),!0x1),this[_0x5ca912(0x1f5)](_0x5ca912(0x1ca),!0x1),this[_0x5ca912(0x1f5)](_0x5ca912(0x1c8),!0x1),this[_0x5ca912(0x1f5)](_0x5ca912(0x1ef),!0x1),this[_0x5ca912(0x1e0)](_0x5ca912(0x1cf))['to'](this,_0x5ca912(0x1c7),_0x43d053,_0x5ca912(0x1e3),this,_0x5ca912(0x1d6),(_0x2728ec,_0x4a61ec,_0x293a6c)=>{const _0x4bf155=_0x5ca912,_0x2ee599=_0x293a6c[_0x4bf155(0x1c0)](_0x54421e=>_0x337dbc(_0x54421e[_0x4bf155(0x1f8)]))[_0x4bf155(0x1be)]('.\x20')+'.';return _0x2c7be5(this[_0x4bf155(0x204)],_0x4bf155(0x1ce),[_0x2728ec-0x1,_0x43d053[_0x4bf155(0x207)][_0x4bf155(0x1d3)],_0x4a61ec?_0x4eaca3[_0x4bf155(0x1e6)](_0x4a61ec):'',new DOMParser()[_0x4bf155(0x1cd)](_0x2ee599,_0x4bf155(0x1d8))[_0x4bf155(0x1fa)][_0x4bf155(0x1cc)]]);}),this[_0x5ca912(0x202)]=new _0xd448e0(),this[_0x5ca912(0x1ff)]=new _0x5f1ceb(),this[_0x5ca912(0x1c4)]=new _0x362124(),this[_0x5ca912(0x1fd)]=new _0x2f0d8a({'focusables':this[_0x5ca912(0x202)],'focusTracker':this[_0x5ca912(0x1ff)],'keystrokeHandler':this[_0x5ca912(0x1c4)],'keystrokeHandlerOptions':{'filter':_0x4862e1=>_0x4862e1[_0x5ca912(0x1d7)]!==this[_0x5ca912(0x1f3)]},'actions':{'focusPrevious':_0x5ca912(0x203),'focusNext':_0x5ca912(0x1eb)}}),this[_0x5ca912(0x206)]=_0x43d053,this[_0x5ca912(0x1e4)]=_0x5a9e3f,this[_0x5ca912(0x1f4)]=_0x4eaca3,_0x4eaca3[_0x5ca912(0x1c2)]?this[_0x5ca912(0x1f5)](_0x5ca912(0x1c7),0x1):this[_0x5ca912(0x1f1)]();}[_0x3e7ce2(0x1c3)](){const _0x3ec947=_0x3e7ce2;super[_0x3ec947(0x1c3)](),_0x39d003(this,this[_0x3ec947(0x202)]);}[_0x3e7ce2(0x1fb)](){const _0x51986a=_0x3e7ce2;this[_0x51986a(0x1f3)][_0x51986a(0x1fb)]();}[_0x3e7ce2(0x201)](){const _0xed855e=_0x3e7ce2;this[_0xed855e(0x1dd)]&&this[_0xed855e(0x1dd)][_0xed855e(0x201)](),this[_0xed855e(0x1de)]&&this[_0xed855e(0x1de)][_0xed855e(0x201)](),super[_0xed855e(0x201)]();}[_0x3e7ce2(0x1f1)](){const _0x4c6c06=_0x3e7ce2,{CommentsListView:_0x29fb6d}=this[_0x4c6c06(0x1f4)];this[_0x4c6c06(0x1dd)]=new _0x29fb6d(this[_0x4c6c06(0x204)],this[_0x4c6c06(0x206)][_0x4c6c06(0x1db)],Object[_0x4c6c06(0x1e7)]({'CommentView':this[_0x4c6c06(0x1f4)][_0x4c6c06(0x208)]},this[_0x4c6c06(0x1f4)])),this[_0x4c6c06(0x1dd)][_0x4c6c06(0x1e8)](_0x4c6c06(0x1fe))['to'](this),this[_0x4c6c06(0x1dd)][_0x4c6c06(0x1e8)](_0x4c6c06(0x1e2))['to'](this),this[_0x4c6c06(0x1dd)][_0x4c6c06(0x1e0)](_0x4c6c06(0x1cb))['to'](this),this[_0x4c6c06(0x1f5)](_0x4c6c06(0x1c7),this[_0x4c6c06(0x1dd)][_0x4c6c06(0x1c7)]+0x1),this[_0x4c6c06(0x1e0)](_0x4c6c06(0x1c7))['to'](this[_0x4c6c06(0x1dd)],_0x4c6c06(0x1c7),_0x2b78e6=>_0x2b78e6+0x1),this[_0x4c6c06(0x1de)]=this[_0x4c6c06(0x1c5)](),this['on'](_0x4c6c06(0x1fe),()=>this[_0x4c6c06(0x1fb)]()),this[_0x4c6c06(0x1e0)](_0x4c6c06(0x1c1))['to'](this[_0x4c6c06(0x1dd)],_0x4c6c06(0x1d9),this[_0x4c6c06(0x1de)][_0x4c6c06(0x1ed)],_0x4c6c06(0x1ec),(_0x464d37,_0x39fe01)=>_0x464d37||!!_0x39fe01);}[_0x3e7ce2(0x1c5)](){const _0x4f398a=_0x3e7ce2,{CommentThreadInputView:_0x16e1ef}=this[_0x4f398a(0x1f4)],_0xa8f548=new _0x16e1ef(this[_0x4f398a(0x204)],this[_0x4f398a(0x1e4)],this[_0x4f398a(0x1f4)][_0x4f398a(0x1f7)]),_0x33aac1=_0xa8f548[_0x4f398a(0x1ed)];return _0xa8f548[_0x4f398a(0x1e0)](_0x4f398a(0x1e1))['to'](this,_0x4f398a(0x1cb),this[_0x4f398a(0x206)][_0x4f398a(0x1db)],_0x4f398a(0x1bf),_0x33aac1,_0x4f398a(0x1ec),(_0x6429,_0x20ab2a,_0xe6ca74)=>!!_0xe6ca74||_0x6429&&!_0x20ab2a),_0x33aac1['on'](_0x4f398a(0x1d4),(_0x1c953a,_0x49d517)=>{const _0xddbdde=_0x4f398a;this[_0xddbdde(0x1c9)](_0xddbdde(0x1f6),_0x49d517),_0x33aac1[_0xddbdde(0x200)][_0xddbdde(0x1d5)]('');}),_0x33aac1['on'](_0x4f398a(0x1d2),()=>this[_0x4f398a(0x1fb)]()),_0x33aac1[_0x4f398a(0x1e0)](_0x4f398a(0x1ee))['to'](this[_0x4f398a(0x206)][_0x4f398a(0x1db)],_0x4f398a(0x1bf)),_0xa8f548;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1987(){const _0x513545=['formatDateTime','disableComments','editorDestroyed','1851408oVqsVp','_descriptionElement','discardSuggestion','author','ck-rounded-corners','div','4004385xtgHBR','focusables','push','commentThreadInputView','1113KXzIMi','isEnabled','acceptButton','getTemplate','content','type','<p>','set','8SIvVVf','canAccept','414367PdpZwP','render','description','</p>','bind','bindTemplate','862OuHcXQ','discardButton','5IJuTev','isActive','SuggestionView','acceptSuggestion','descriptionParts','ck-suggestion-','ck-suggestion--disabled-comments','81ZgkSOI','ck-suggestion-wrapper','ck-suggestion-wrapper--active','suggestionView','canDiscard','572HxLvCo','89028daxnCu','add','1292292JHkvnZ','delegate','commentsListView','_model','464660uwByga','color','_config','commentThread','ariaDescriptionView','editorReady','setTemplate','listitem','ariaLabel'];_0x1987=function(){return _0x513545;};return _0x1987();}const _0x3dd3e1=_0x4c45;(function(_0x32dc82,_0xeb11e1){const _0x2534ed=_0x4c45,_0x3edf1f=_0x32dc82();while(!![]){try{const _0x567bd5=-parseInt(_0x2534ed(0x1ec))/0x1+-parseInt(_0x2534ed(0x1f2))/0x2*(-parseInt(_0x2534ed(0x21d))/0x3)+parseInt(_0x2534ed(0x203))/0x4*(-parseInt(_0x2534ed(0x1f4))/0x5)+parseInt(_0x2534ed(0x213))/0x6+-parseInt(_0x2534ed(0x219))/0x7*(-parseInt(_0x2534ed(0x1ea))/0x8)+parseInt(_0x2534ed(0x1fb))/0x9*(parseInt(_0x2534ed(0x207))/0xa)+-parseInt(_0x2534ed(0x200))/0xb*(parseInt(_0x2534ed(0x201))/0xc);if(_0x567bd5===_0xeb11e1)break;else _0x3edf1f['push'](_0x3edf1f['shift']());}catch(_0x32f99d){_0x3edf1f['push'](_0x3edf1f['shift']());}}}(_0x1987,0x51e82));import{BaseSuggestionThreadView as _0xde6274}from'./basesuggestionthreadview.js';import{trimHtml as _0x32f227}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x371146}from'../../utils/utils.js';function _0x4c45(_0x3977d9,_0x3041e9){const _0x19875d=_0x1987();return _0x4c45=function(_0x4c455e,_0x4ac737){_0x4c455e=_0x4c455e-0x1e4;let _0x2b782e=_0x19875d[_0x4c455e];return _0x2b782e;},_0x4c45(_0x3977d9,_0x3041e9);}export class SuggestionThreadView extends _0xde6274{[_0x3dd3e1(0x1fe)];[_0x3dd3e1(0x214)];constructor(_0x5d456c,_0x1f06b6,_0x296df8,_0x4796b3){const _0xe54556=_0x3dd3e1;super(_0x5d456c,_0x1f06b6,_0x296df8,_0x4796b3),this[_0xe54556(0x1e9)](_0xe54556(0x1e7),''),this[_0xe54556(0x1f0)](_0xe54556(0x1e7))['to'](this,_0xe54556(0x1f8),_0x17abad=>_0x17abad&&_0x17abad[0x0]?_0x17abad[0x0][_0xe54556(0x1e7)]:''),this[_0xe54556(0x1f0)](_0xe54556(0x1ee))['to'](this,_0xe54556(0x1f8),this,_0xe54556(0x1f5),(_0x2af969,_0xddfbaa)=>{const _0x1a7917=_0xe54556;let _0x3764a4='';for(const _0x51997f of _0x2af969)_0x3764a4+=_0x1a7917(0x1e8)+_0x371146(_0x51997f[_0x1a7917(0x1e6)],_0x51997f[_0x1a7917(0x208)])+_0x1a7917(0x1ef);return _0xddfbaa?_0x3764a4:_0x32f227(_0x3764a4,{'limit':0x8c});}),this[_0xe54556(0x214)]=null,this[_0xe54556(0x1fe)]=new _0x4796b3[(_0xe54556(0x1f6))](_0x5d456c,_0x1f06b6,{'formatDateTime':_0x4796b3[_0xe54556(0x210)]}),this[_0xe54556(0x1fe)][_0xe54556(0x1f0)](_0xe54556(0x1ee))['to'](this),this[_0xe54556(0x1fe)][_0xe54556(0x204)](_0xe54556(0x1f7),_0xe54556(0x215))['to'](this),this[_0xe54556(0x1fe)][_0xe54556(0x1e4)][_0xe54556(0x1f0)](_0xe54556(0x21e))['to'](this,_0xe54556(0x1eb)),this[_0xe54556(0x1fe)][_0xe54556(0x1f3)][_0xe54556(0x1f0)](_0xe54556(0x21e))['to'](this,_0xe54556(0x1ff)),this[_0xe54556(0x21a)][_0xe54556(0x202)](this[_0xe54556(0x1fe)]),this[_0xe54556(0x205)]&&this[_0xe54556(0x21a)][_0xe54556(0x202)](this[_0xe54556(0x205)]),this[_0xe54556(0x21c)]&&this[_0xe54556(0x21a)][_0xe54556(0x202)](this[_0xe54556(0x21c)]),this[_0xe54556(0x20d)](this[_0xe54556(0x1e5)]());}[_0x3dd3e1(0x1e5)](){const _0x5e290f=_0x3dd3e1,_0x136ad1=this[_0x5e290f(0x1f1)],_0x3a8452=[this[_0x5e290f(0x1fe)]];return this[_0x5e290f(0x205)]&&_0x3a8452[_0x5e290f(0x21b)](this[_0x5e290f(0x205)]),this[_0x5e290f(0x21c)]&&_0x3a8452[_0x5e290f(0x21b)](this[_0x5e290f(0x21c)]),_0x3a8452[_0x5e290f(0x21b)](this[_0x5e290f(0x20b)]),{'tag':_0x5e290f(0x218),'attributes':{'class':['ck',_0x5e290f(0x217),_0x5e290f(0x1fc),_0x136ad1['if'](_0x5e290f(0x1f5),_0x5e290f(0x1fd)),_0x136ad1['to'](_0x5e290f(0x1e7),_0x2ec9ee=>_0x5e290f(0x1f9)+_0x2ec9ee),this[_0x5e290f(0x209)][_0x5e290f(0x211)]&&_0x5e290f(0x1fa)],'data-suggestion-id':this[_0x5e290f(0x206)]['id'],'data-thread-id':this[_0x5e290f(0x206)][_0x5e290f(0x20a)]['id'],'data-author-id':this[_0x5e290f(0x206)][_0x5e290f(0x216)]['id'],'tabindex':0x0,'role':_0x5e290f(0x20e),'aria-label':_0x136ad1['to'](_0x5e290f(0x20f)),'aria-describedby':this[_0x5e290f(0x20b)]['id']},'children':_0x3a8452};}[_0x3dd3e1(0x1ed)](){const _0x55cf88=_0x3dd3e1;super[_0x55cf88(0x1ed)](),this[_0x55cf88(0x205)]&&(this[_0x55cf88(0x205)][_0x55cf88(0x204)](_0x55cf88(0x20c))['to'](this),this[_0x55cf88(0x205)][_0x55cf88(0x204)](_0x55cf88(0x212))['to'](this)),this[_0x55cf88(0x21c)]&&(this[_0x55cf88(0x21c)][_0x55cf88(0x204)](_0x55cf88(0x20c))['to'](this),this[_0x55cf88(0x21c)][_0x55cf88(0x204)](_0x55cf88(0x212))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d706a=_0x25a8;(function(_0x51c2bb,_0x39d0f0){const _0x35e3ab=_0x25a8,_0x436dbd=_0x51c2bb();while(!![]){try{const _0x25afce=-parseInt(_0x35e3ab(0x20c))/0x1+parseInt(_0x35e3ab(0x1ea))/0x2*(parseInt(_0x35e3ab(0x21e))/0x3)+-parseInt(_0x35e3ab(0x23b))/0x4+parseInt(_0x35e3ab(0x1fd))/0x5+-parseInt(_0x35e3ab(0x1ee))/0x6+-parseInt(_0x35e3ab(0x203))/0x7*(-parseInt(_0x35e3ab(0x1fc))/0x8)+parseInt(_0x35e3ab(0x1ef))/0x9;if(_0x25afce===_0x39d0f0)break;else _0x436dbd['push'](_0x436dbd['shift']());}catch(_0x17b88f){_0x436dbd['push'](_0x436dbd['shift']());}}}(_0xcbe0,0x49bf9));import{FocusTracker as _0x5a99a2,KeystrokeHandler as _0x94a4e}from'ckeditor5/src/utils.js';import{View as _0x2f608a,ViewCollection as _0x1455ca,FocusCycler as _0x2e93ee}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xe09a00,UserView as _0x256ba1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x25a8(_0x1b7d67,_0x20ab83){const _0xcbe04b=_0xcbe0();return _0x25a8=function(_0x25a85e,_0x2beee6){_0x25a85e=_0x25a85e-0x1e4;let _0xf9dfee=_0xcbe04b[_0x25a85e];return _0xf9dfee;},_0x25a8(_0x1b7d67,_0x20ab83);}import{IconCancel as _0x116c18,IconCheck as _0x18f6ef}from'ckeditor5/src/icons.js';import{getTranslation as _0x998933}from'../../utils/common-translations.js';export class SuggestionView extends _0x2f608a{[_0x2d706a(0x1f7)];[_0x2d706a(0x1f6)];[_0x2d706a(0x1e5)];[_0x2d706a(0x20e)];[_0x2d706a(0x1e9)];[_0x2d706a(0x219)];[_0x2d706a(0x220)];[_0x2d706a(0x1fa)];[_0x2d706a(0x20d)];constructor(_0x2bbacc,_0x2e553e,_0x373d32){const _0xc5b256=_0x2d706a;super(_0x2bbacc),this[_0xc5b256(0x1fa)]=_0x2e553e,this[_0xc5b256(0x20d)]=_0x373d32,this[_0xc5b256(0x21d)](_0xc5b256(0x1fb),''),this[_0xc5b256(0x201)](_0xc5b256(0x1ed))['to'](_0x2e553e),this[_0xc5b256(0x1f6)]=this[_0xc5b256(0x214)](_0x998933(_0x2bbacc,_0xc5b256(0x224)),_0x18f6ef,_0xc5b256(0x225),_0xc5b256(0x223),'sw'),this[_0xc5b256(0x1e5)]=this[_0xc5b256(0x214)](_0x998933(_0x2bbacc,_0xc5b256(0x1f1)),_0x116c18,_0xc5b256(0x20a),_0xc5b256(0x1f9),'sw'),this[_0xc5b256(0x1f7)]=new _0x256ba1(_0x2bbacc,_0x2e553e[_0xc5b256(0x230)],this[_0xc5b256(0x216)]()),this[_0xc5b256(0x1f7)][_0xc5b256(0x222)]({'attributes':{'class':[_0xc5b256(0x1f2),_0xc5b256(0x237)],'aria-hidden':!0x0}}),this[_0xc5b256(0x20e)]=new _0x1455ca([this[_0xc5b256(0x1f6)],this[_0xc5b256(0x1e5)]]),this[_0xc5b256(0x1e9)]=new _0x5a99a2(),this[_0xc5b256(0x219)]=new _0x94a4e(),this[_0xc5b256(0x220)]=new _0x2e93ee({'focusables':this[_0xc5b256(0x20e)],'focusTracker':this[_0xc5b256(0x1e9)],'keystrokeHandler':this[_0xc5b256(0x219)],'actions':{'focusPrevious':_0xc5b256(0x22f),'focusNext':_0xc5b256(0x217)},'keystrokeHandlerOptions':{'filter':_0x22daac=>_0x22daac[_0xc5b256(0x236)]!==this[_0xc5b256(0x21a)]}}),this[_0xc5b256(0x1ec)](this[_0xc5b256(0x210)]());}[_0x2d706a(0x21c)](){const _0x2e7f85=_0x2d706a;super[_0x2e7f85(0x21c)]();const _0x7651a6=this[_0x2e7f85(0x21a)][_0x2e7f85(0x227)](_0x2e7f85(0x228));_0x7651a6[_0x2e7f85(0x231)]=this[_0x2e7f85(0x1fb)],this['on'](_0x2e7f85(0x232),(_0x1ca135,_0x42bdda,_0xa8b75d)=>{const _0xe7c07a=_0x2e7f85;_0x7651a6[_0xe7c07a(0x231)]=_0xa8b75d;}),this[_0x2e7f85(0x218)]();}[_0x2d706a(0x210)](){const _0x59898a=_0x2d706a,_0x2e8770=this[_0x59898a(0x208)],_0x3b9bb4=[{'tag':_0x59898a(0x1eb),'attributes':{'class':[_0x59898a(0x1f8),_0x59898a(0x22e)]},'children':[{'tag':_0x59898a(0x229),'children':[{'text':this[_0x59898a(0x1f7)][_0x59898a(0x233)]}],'attributes':{'class':[_0x59898a(0x221),_0x59898a(0x1e4)],'data-cke-tooltip-text':this[_0x59898a(0x1f7)][_0x59898a(0x233)]}},{'tag':_0x59898a(0x22c),'attributes':{'datetime':_0x2e8770['to'](_0x59898a(0x1ed)),'class':[_0x59898a(0x235),_0x59898a(0x1e8)]},'children':[{'text':_0x2e8770['to'](_0x59898a(0x1ed),_0xfc8288=>this[_0x59898a(0x20d)][_0x59898a(0x21b)](_0xfc8288))}]}]},{'tag':_0x59898a(0x1eb),'attributes':{'class':[_0x59898a(0x1f3),_0x59898a(0x206)]},'children':[this[_0x59898a(0x1f6)],this[_0x59898a(0x1e5)]]},{'tag':_0x59898a(0x1eb),'attributes':{'class':[_0x59898a(0x209)]}}];return this[_0x59898a(0x1fa)][_0x59898a(0x1ff)]&&_0x3b9bb4[_0x59898a(0x207)]({'tag':_0x59898a(0x1eb),'attributes':{'class':[_0x59898a(0x22b)]},'children':[{'text':this[_0x59898a(0x213)]()}]}),{'tag':_0x59898a(0x1eb),'attributes':{'class':[_0x59898a(0x226),_0x59898a(0x204)],'tabindex':-0x1},'children':[this[_0x59898a(0x1f7)],{'tag':_0x59898a(0x1eb),'attributes':{'class':[_0x59898a(0x239),_0x59898a(0x1e7)],'role':_0x59898a(0x22a)},'children':_0x3b9bb4}]};}[_0x2d706a(0x234)](){const _0x4c6f16=_0x2d706a;this[_0x4c6f16(0x21a)][_0x4c6f16(0x234)]();}[_0x2d706a(0x216)](){const _0x22e702=_0x2d706a;return this[_0x22e702(0x1fa)][_0x22e702(0x1ff)]?_0x22e702(0x211)===this[_0x22e702(0x1fa)][_0x22e702(0x21f)][_0x22e702(0x1e6)][_0x22e702(0x200)]?_0x998933(this[_0x22e702(0x1fe)],_0x22e702(0x215),this[_0x22e702(0x1fa)][_0x22e702(0x212)][_0x22e702(0x233)]):_0x998933(this[_0x22e702(0x1fe)],_0x22e702(0x1f5),this[_0x22e702(0x1fa)][_0x22e702(0x212)][_0x22e702(0x233)]):null;}[_0x2d706a(0x213)](){const _0x8f90de=_0x2d706a;return _0x8f90de(0x211)===this[_0x8f90de(0x1fa)][_0x8f90de(0x21f)][_0x8f90de(0x1e6)][_0x8f90de(0x200)]?_0x998933(this[_0x8f90de(0x1fe)],_0x8f90de(0x1f0)):_0x998933(this[_0x8f90de(0x1fe)],_0x8f90de(0x202));}[_0x2d706a(0x214)](_0x16b4fe,_0x222eed,_0x49f88f,_0x3f05ed,_0x2e02dc){const _0x1d4398=_0x2d706a,_0x50d49f=new _0xe09a00(this[_0x1d4398(0x1fe)]);return _0x50d49f[_0x1d4398(0x21d)]({'label':_0x16b4fe,'icon':_0x222eed,'tooltip':!0x0,'tooltipPosition':_0x2e02dc}),_0x50d49f[_0x1d4398(0x222)]({'attributes':{'class':_0x49f88f}}),_0x50d49f['on'](_0x1d4398(0x238),()=>{const _0x3e51f4=_0x1d4398;this[_0x3e51f4(0x22d)](_0x3f05ed,this[_0x3e51f4(0x1fa)]['id']);}),_0x50d49f;}[_0x2d706a(0x218)](){const _0x180137=_0x2d706a,_0x5e45ae=this[_0x180137(0x21a)];this[_0x180137(0x219)][_0x180137(0x23a)](_0x5e45ae);for(const _0x50cc9f of this[_0x180137(0x20e)])this[_0x180137(0x1e9)][_0x180137(0x20b)](_0x50cc9f[_0x180137(0x21a)]),this[_0x180137(0x219)][_0x180137(0x23a)](_0x50cc9f[_0x180137(0x21a)]);this[_0x180137(0x219)][_0x180137(0x21d)](_0x180137(0x20f),(_0x16eedf,_0x146be2)=>{const _0x372328=_0x180137;_0x5e45ae===_0x16eedf[_0x372328(0x236)]&&(this[_0x372328(0x220)][_0x372328(0x1f4)](),_0x146be2());}),this[_0x180137(0x219)][_0x180137(0x21d)](_0x180137(0x205),(_0x4e28ab,_0x43b0fb)=>{const _0x206b16=_0x180137;_0x5e45ae!==_0x4e28ab[_0x206b16(0x236)]&&(this[_0x206b16(0x234)](),_0x43b0fb());});}}function _0xcbe0(){const _0x3fdb38=['getTemplate','importWord','creator','getExternalSuggestionNote','_createButton','EXTERNAL_IMPORT_WORD_AVATAR','getUserViewNotificationText','tab','_setupKeyboardNavigation','keystrokes','element','formatDateTime','render','set','603XHAScK','attributes','focusCycler','ck-suggestion__info-name','extendTemplate','acceptSuggestion','Accept\x20suggestion','ck-suggestion--accept','ck-suggestion','querySelector','.ck-annotation__content-wrapper','span','presentation','ck-comment__external','time','fire','ck-annotation__info','shift+tab','author','innerHTML','change:description','name','focus','ck-comment__info-time','target','ck-annotation__user','execute','ck-suggestion__main','listenTo','1407500NYVaTg','ck-annotation__info-name','discardButton','@external','ck-annotation__main','ck-annotation__info-time','focusTracker','3158iicDGW','div','setTemplate','authoredAt','3040326xqiDFM','4633335cZLyvn','EXTERNAL_IMPORT_WORD_SUGGESTION','Discard\x20suggestion','ck-suggestion__user','ck-suggestion__actions','focusFirst','EXTERNAL_AVATAR','acceptButton','userView','ck-suggestion__info','discardSuggestion','_model','description','310832rcOloU','1297770xllPHo','locale','isExternal','source','bind','EXTERNAL_SUGGESTION','35COUccU','ck-annotation','esc','ck-annotation__actions','push','bindTemplate','ck-annotation__content-wrapper','ck-suggestion--discard','add','125349kSeiEe','_config','focusables','enter'];_0xcbe0=function(){return _0x3fdb38;};return _0xcbe0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35c7c3=_0x2fe8;(function(_0x528afd,_0x2e289c){const _0x2b0093=_0x2fe8,_0xc41032=_0x528afd();while(!![]){try{const _0x255fb9=parseInt(_0x2b0093(0x1f9))/0x1*(parseInt(_0x2b0093(0x200))/0x2)+-parseInt(_0x2b0093(0x20d))/0x3*(parseInt(_0x2b0093(0x1fc))/0x4)+-parseInt(_0x2b0093(0x202))/0x5+parseInt(_0x2b0093(0x1ff))/0x6*(-parseInt(_0x2b0093(0x1f0))/0x7)+parseInt(_0x2b0093(0x208))/0x8+-parseInt(_0x2b0093(0x201))/0x9*(-parseInt(_0x2b0093(0x20b))/0xa)+parseInt(_0x2b0093(0x203))/0xb;if(_0x255fb9===_0x2e289c)break;else _0xc41032['push'](_0xc41032['shift']());}catch(_0x38aa95){_0xc41032['push'](_0xc41032['shift']());}}}(_0x61b1,0x31447));function _0x61b1(){const _0xec17e=['74qwpBXB','1152NsEAdA','946645XBXnwX','2114530RMmGWo','innerHTML','classes','setTemplate','createElement','2330128lCdvbq','previewDataReady','ck-track-changes-preview','1010ukCvhi','ck-reset','28467astUNS','content','style','\x20ck-track-changes-preview__root-container','className','focus','14gLVlJV','setPreviewData','setAttribute','options','dialogRects','push','height','render','div','3539oPZoiR','element','width','4hGDkLW','fire','data-ck-root-name','680250sjNpFa'];_0x61b1=function(){return _0xec17e;};return _0x61b1();}function _0x2fe8(_0x31e2b2,_0x259ff4){const _0x61b1e9=_0x61b1();return _0x2fe8=function(_0x2fe8d7,_0x2a3ce5){_0x2fe8d7=_0x2fe8d7-0x1eb;let _0x2927a1=_0x61b1e9[_0x2fe8d7];return _0x2927a1;},_0x2fe8(_0x31e2b2,_0x259ff4);}import{View as _0x477150}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x477150{[_0x35c7c3(0x1f3)];constructor(_0x5900ea,_0x571af8){const _0x5aa244=_0x35c7c3;super(_0x5900ea),this[_0x5aa244(0x1f3)]=_0x571af8,this[_0x5aa244(0x206)]({'tag':_0x5aa244(0x1f8),'attributes':{'class':['ck',_0x5aa244(0x20c),_0x5aa244(0x20a)],'tabindex':-0x1}});}[_0x35c7c3(0x1f7)](){const _0x56d09e=_0x35c7c3;super[_0x56d09e(0x1f7)](),this[_0x56d09e(0x1fa)][_0x56d09e(0x1ec)][_0x56d09e(0x1fb)]=this[_0x56d09e(0x1f3)][_0x56d09e(0x1f4)][_0x56d09e(0x1fb)]+'px',this[_0x56d09e(0x1fa)][_0x56d09e(0x1ec)][_0x56d09e(0x1f6)]=this[_0x56d09e(0x1f3)][_0x56d09e(0x1f4)][_0x56d09e(0x1f6)]+'px';}[_0x35c7c3(0x1f1)](_0x301b2f,_0x54ce05){const _0xfaf912=_0x35c7c3;if(!this[_0xfaf912(0x1fa)])return;const _0x4b8367=[];for(const [_0x314308,_0x3cf6b0]of _0x301b2f){const _0x4a04d5=document[_0xfaf912(0x207)](_0xfaf912(0x1f8));_0x4a04d5[_0xfaf912(0x1f2)](_0xfaf912(0x1fe),_0x314308),_0x4a04d5[_0xfaf912(0x1ee)]=_0x3cf6b0[_0xfaf912(0x205)]+_0xfaf912(0x1ed),_0x4a04d5[_0xfaf912(0x204)]=_0x3cf6b0[_0xfaf912(0x1eb)],_0x4b8367[_0xfaf912(0x1f5)](_0x4a04d5);}_0x54ce05(this[_0xfaf912(0x1fa)],_0x4b8367),this[_0xfaf912(0x1fa)][_0xfaf912(0x1ec)][_0xfaf912(0x1f6)]='',this[_0xfaf912(0x1fd)](_0xfaf912(0x209));}[_0x35c7c3(0x1ef)](){const _0x25f366=_0x35c7c3;this[_0x25f366(0x1fa)][_0x25f366(0x1ef)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x15fc5d,_0x160c3b,_0x5bbd17){const _0x2d494e=_0x15fc5d['t'],t=_0x15fc5d['t'];switch(_0x160c3b){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',_0x5bbd17);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5bbd17);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5bbd17);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5bbd17);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5bbd17);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',_0x5bbd17);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5bbd17);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',_0x5bbd17);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5bbd17);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5bbd17);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5bbd17);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5bbd17);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5bbd17);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5bbd17);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5bbd17);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5bbd17);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5bbd17);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5bbd17);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5bbd17);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5bbd17);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5bbd17);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5bbd17);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5bbd17);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5bbd17);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5bbd17);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'},_0x5bbd17);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5bbd17);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5bbd17);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5bbd17);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5bbd17);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5bbd17);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5bbd17);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5bbd17);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'},_0x5bbd17);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5bbd17);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5bbd17);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5bbd17);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5bbd17);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'},_0x5bbd17);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5bbd17);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'},_0x5bbd17);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5bbd17);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5bbd17);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'},_0x5bbd17);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5bbd17);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'},_0x5bbd17);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5bbd17);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5bbd17);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'},_0x5bbd17);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5bbd17);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 _0x2d494e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5bbd17);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2d494e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5bbd17);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5bbd17);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'},_0x5bbd17);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'},_0x5bbd17);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'},_0x5bbd17);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x160c3b;}}
|
|
23
|
+
export function getTranslation(_0x8e3173,_0xcd1384,_0x567ce1){const _0x2efc4d=_0x8e3173['t'],t=_0x8e3173['t'];switch(_0xcd1384){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',_0x567ce1);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x567ce1);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x567ce1);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x567ce1);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x567ce1);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',_0x567ce1);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x567ce1);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',_0x567ce1);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x567ce1);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x567ce1);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x567ce1);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x567ce1);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x567ce1);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x567ce1);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x567ce1);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x567ce1);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x567ce1);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x567ce1);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x567ce1);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x567ce1);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x567ce1);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x567ce1);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x567ce1);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x567ce1);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x567ce1);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'},_0x567ce1);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x567ce1);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x567ce1);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x567ce1);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x567ce1);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x567ce1);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x567ce1);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x567ce1);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x567ce1);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x567ce1);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x567ce1);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'},_0x567ce1);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x567ce1);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x567ce1);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x567ce1);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'},_0x567ce1);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x567ce1);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 _0x2efc4d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x567ce1);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2efc4d({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x567ce1);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x567ce1);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'},_0x567ce1);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'},_0x567ce1);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'},_0x567ce1);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xcd1384;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2bb626,_0x82ef54){const _0x3c1879=_0x11ce,_0x266f79=_0x2bb626();while(!![]){try{const _0x692d7b=-parseInt(_0x3c1879(0xe1))/0x1+-parseInt(_0x3c1879(0x101))/0x2+parseInt(_0x3c1879(0x10a))/0x3+parseInt(_0x3c1879(0xe7))/0x4*(-parseInt(_0x3c1879(0x103))/0x5)+-parseInt(_0x3c1879(0x105))/0x6*(parseInt(_0x3c1879(0x10c))/0x7)+-parseInt(_0x3c1879(0xeb))/0x8*(-parseInt(_0x3c1879(0xe5))/0x9)+parseInt(_0x3c1879(0xfa))/0xa*(parseInt(_0x3c1879(0xf7))/0xb);if(_0x692d7b===_0x82ef54)break;else _0x266f79['push'](_0x266f79['shift']());}catch(_0x495c85){_0x266f79['push'](_0x266f79['shift']());}}}(_0x4165,0x5167c));export function normalizeDescription(_0x215bf6){const _0x380d50=_0x11ce;return Array[_0x380d50(0x108)](_0x215bf6)||(_0x215bf6=[_0x215bf6]),_0x215bf6[_0x380d50(0x109)](_0x4421aa=>{const _0x2192d5=_0x380d50,_0x13dcd7=_0x4421aa[_0x2192d5(0x104)][_0x2192d5(0xef)](/\*/g,''),_0x52e650=_0x4421aa[_0x2192d5(0x10b)]?_0x2192d5(0xe8)+_0x4421aa[_0x2192d5(0x10b)][_0x2192d5(0xf3)]+']':'';return'['+_0x4421aa[_0x2192d5(0xed)]+']\x20'+_0x13dcd7+_0x52e650;})[_0x380d50(0xe9)](';\x20');}export function renderDescription(_0x34c567,_0x3c90dc){const _0x2e839f=_0x11ce;let _0x4c5b34='';return _0x4c5b34+=_0x34c567[_0x2e839f(0x113)]('*')[_0x2e839f(0x109)]((_0x1c4374,_0x586fd1)=>_0x586fd1%0x2!=0x0?_0x2e839f(0x102)+tn(_0x1c4374)+_0x2e839f(0x10d):tn(_0x1c4374))[_0x2e839f(0xe9)](''),_0x3c90dc&&(_0x4c5b34+=_0x2e839f(0xf5)+_0x3c90dc[_0x2e839f(0xf3)]+_0x2e839f(0xf0)+_0x3c90dc[_0x2e839f(0xe4)]+_0x2e839f(0x111)),_0x4c5b34;}function _0x4165(){const _0x4060b4=['schema','651230POJJSK','createPositionAt','createElement','isCollapsed','span','deletion','createPositionAfter','1249404UzaqEd','<span\x20class=\x22ck-suggestion-type\x22>','5bQElgc','content','11874TvbNSV','sort','end','isArray','map','1013127IiyKkS','color','7RdrMnn','</span>','push','isTouching','next','\x22></span>','change','split','start','isIntersecting','innerText','execute','isInContent','295247FQkTOJ','length','add','title','5994756kPuQrb','attribute','35684PjnKPV','\x20[color\x20','join','from','8zKgASn','createRange','type','splice','replace','\x22\x20title=\x22','isMultiRange','innerHTML','value','createPositionBefore','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isObject','44zdMjHt','getRanges'];_0x4165=function(){return _0x4060b4;};return _0x4165();}function tn(_0x25b78a){const _0x27cf84=_0x11ce,_0x423052=document[_0x27cf84(0xfc)](_0x27cf84(0xfe));return _0x423052[_0x27cf84(0x116)]=_0x25b78a,_0x423052[_0x27cf84(0xf2)];}export function sortSuggestions(_0x40c631){const _0x380cd6=_0x11ce;return _0x40c631[_0x380cd6(0x106)]((_0x3e8014,_0x5289ab)=>_0x380cd6(0xe6)===_0x3e8014[_0x380cd6(0xed)]&&_0x380cd6(0xe6)!==_0x5289ab[_0x380cd6(0xed)]?-0x1:_0x380cd6(0xe6)!==_0x3e8014[_0x380cd6(0xed)]&&_0x380cd6(0xe6)===_0x5289ab[_0x380cd6(0xed)]?0x1:_0x380cd6(0xff)==_0x3e8014[_0x380cd6(0xed)]&&_0x380cd6(0xff)!=_0x5289ab[_0x380cd6(0xed)]?-0x1:_0x380cd6(0xff)!=_0x3e8014[_0x380cd6(0xed)]&&_0x380cd6(0xff)==_0x5289ab[_0x380cd6(0xed)]?0x1:0x0);}export function getSelectedSuggestions(_0x56b79d,_0x543431){const _0x5a18ca=_0x11ce,_0x449ebe=Array[_0x5a18ca(0xea)](_0x56b79d[_0x5a18ca(0xf8)]()),_0x4037fc=new Set();for(const _0x7ffb33 of _0x543431)if(_0x7ffb33[_0x5a18ca(0x118)]){for(const _0x1d85b2 of _0x449ebe)for(const _0x40119b of _0x7ffb33[_0x5a18ca(0xf8)]())(_0x1d85b2[_0x5a18ca(0x115)](_0x40119b)||_0x56b79d[_0x5a18ca(0xfd)]&&!_0x7ffb33[_0x5a18ca(0xf1)]&&_0x7ffb33[_0x5a18ca(0x110)]&&_0x40119b[_0x5a18ca(0x107)][_0x5a18ca(0x10f)](_0x1d85b2[_0x5a18ca(0x114)]))&&_0x4037fc[_0x5a18ca(0xe3)](_0x7ffb33);}return _0x4037fc;}function _0x11ce(_0x3eec5c,_0x579ce5){const _0x416587=_0x4165();return _0x11ce=function(_0x11cee4,_0x1eefff){_0x11cee4=_0x11cee4-0xe1;let _0x44b286=_0x416587[_0x11cee4];return _0x44b286;},_0x11ce(_0x3eec5c,_0x579ce5);}export function getRangesOfBlockGroups(_0x1eaf5e,_0x1e37f3){const _0x2f012d=_0x11ce;let _0x3d3621,_0x21de40=0x0;const _0x329228=[],_0x43b83d=_0x1e37f3[_0x2f012d(0xf9)];for(;_0x21de40<_0x1eaf5e[_0x2f012d(0xe2)];){const _0x236eeb=_0x1eaf5e[_0x21de40],_0x49de96=_0x1eaf5e[_0x21de40+0x1];_0x3d3621||(_0x3d3621=_0x1e37f3[_0x2f012d(0xf4)](_0x236eeb)),nn(_0x1e37f3,_0x236eeb,_0x49de96)||(_0x329228[_0x2f012d(0x10e)](_0x1e37f3[_0x2f012d(0xec)](_0x3d3621,_0x43b83d[_0x2f012d(0xf6)](_0x236eeb)?_0x1e37f3[_0x2f012d(0x100)](_0x236eeb):_0x1e37f3[_0x2f012d(0xfb)](_0x236eeb,_0x2f012d(0x107)))),_0x3d3621=null),_0x21de40++;}return _0x329228;}function nn(_0x254a59,_0x5b0c06,_0x1d80fc){const _0x399ed0=_0x11ce;if(!_0x1d80fc)return!0x1;const _0x222a2b=_0x254a59[_0x399ed0(0x100)](_0x5b0c06),_0x2a17ca=_0x254a59[_0x399ed0(0xf4)](_0x1d80fc);return _0x222a2b[_0x399ed0(0x10f)](_0x2a17ca);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5721e4,_0x3d8062,_0x17949e){const _0x5af69e=_0x11ce;for(;_0x17949e[_0x5af69e(0xe2)];){const _0xee5898=_0x17949e[_0x5af69e(0xee)](0x0,0x64);_0x5721e4[_0x5af69e(0x112)](()=>{const _0x4caf58=_0x5af69e;for(const _0x3d99da of _0xee5898)_0x3d99da[_0x4caf58(0x118)]&&_0x3d8062[_0x4caf58(0x117)](_0x3d99da['id']);});}}
|