@ckeditor/ckeditor5-track-changes 47.7.4 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +26 -26
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x491d(){const _0x1e33ed=['8915rQkftw','isPremiumPlugin','177606gzeJXw','define','pluginName','TrackChangesPreview','isOfficialPlugin','665JIroLZ','6921350LXnqMo','trackChanges.preview.renderFunction','876EcsrHX','config','12677540sTfdYn','116zdcStJ','requires','117976jlUCjM','9BAmqqz','8445330KplppI','add','editor','previewFinalContent','commands','appendChild','142809nodXgR','122CvqLFx'];_0x491d=function(){return _0x1e33ed;};return _0x491d();}const _0x290a2e=_0x102d;(function(_0x4c4a8d,_0x4be9d6){const _0x2528e5=_0x102d,_0x229e86=_0x4c4a8d();while(!![]){try{const _0x1f3044=parseInt(_0x2528e5(0x86))/0x1*(parseInt(_0x2528e5(0x85))/0x2)+-parseInt(_0x2528e5(0x84))/0x3*(-parseInt(_0x2528e5(0x93))/0x4)+-parseInt(_0x2528e5(0x8e))/0x5+parseInt(_0x2528e5(0x7e))/0x6+parseInt(_0x2528e5(0x8d))/0x7*(parseInt(_0x2528e5(0x95))/0x8)+parseInt(_0x2528e5(0x7d))/0x9*(-parseInt(_0x2528e5(0x92))/0xa)+parseInt(_0x2528e5(0x88))/0xb*(-parseInt(_0x2528e5(0x90))/0xc);if(_0x1f3044===_0x4be9d6)break;else _0x229e86['push'](_0x229e86['shift']());}catch(_0x3eee8d){_0x229e86['push'](_0x229e86['shift']());}}}(_0x491d,0xdc3fc));import{Plugin as _0x3cd766}from'ckeditor5/src/core.js';import{Dialog as _0xd14c3f}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x4caf75}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x2e77d1}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x102d(_0x33e8dd,_0x2f6eaf){const _0x491d01=_0x491d();return _0x102d=function(_0x102d03,_0xe4a2c8){_0x102d03=_0x102d03-0x7d;let _0x5f5a8d=_0x491d01[_0x102d03];return _0x5f5a8d;},_0x102d(_0x33e8dd,_0x2f6eaf);}export class TrackChangesPreview extends _0x3cd766{static get[_0x290a2e(0x94)](){return[_0x4caf75,_0xd14c3f];}static get[_0x290a2e(0x8a)](){const _0x1b56fe=_0x290a2e;return _0x1b56fe(0x8b);}static get[_0x290a2e(0x8c)](){return!0x0;}static get[_0x290a2e(0x87)](){return!0x0;}constructor(_0x1d840d){const _0x413e77=_0x290a2e;super(_0x1d840d),_0x1d840d[_0x413e77(0x82)][_0x413e77(0x7f)](_0x413e77(0x81),new _0x2e77d1(this[_0x413e77(0x80)])),_0x1d840d[_0x413e77(0x91)][_0x413e77(0x89)](_0x413e77(0x8f),(_0x46bfa0,_0x42c30b)=>{const _0x13c38d=_0x413e77;for(const _0x28d05e of _0x42c30b)_0x46bfa0[_0x13c38d(0x83)](_0x28d05e);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x43748d=_0xbd77;(function(_0x4a349d,_0x25d4c3){const _0x5af1ff=_0xbd77,_0x2b264e=_0x4a349d();while(!![]){try{const _0x2561a1=-parseInt(_0x5af1ff(0x1f0))/0x1+parseInt(_0x5af1ff(0x279))/0x2+parseInt(_0x5af1ff(0x221))/0x3+-parseInt(_0x5af1ff(0x270))/0x4+parseInt(_0x5af1ff(0x26d))/0x5*(parseInt(_0x5af1ff(0x1f6))/0x6)+-parseInt(_0x5af1ff(0x201))/0x7*(-parseInt(_0x5af1ff(0x210))/0x8)+-parseInt(_0x5af1ff(0x1de))/0x9*(parseInt(_0x5af1ff(0x233))/0xa);if(_0x2561a1===_0x25d4c3)break;else _0x2b264e['push'](_0x2b264e['shift']());}catch(_0x327f5f){_0x2b264e['push'](_0x2b264e['shift']());}}}(_0x5425,0xeb97d));import{Plugin as _0x1a3c7c}from'ckeditor5/src/core.js';import{Collection as _0x4fc84e}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1e3e70}from'ckeditor5/src/icons.js';function _0xbd77(_0xb85f00,_0x13c722){const _0x5425ca=_0x5425();return _0xbd77=function(_0xbd77e5,_0x23784d){_0xbd77e5=_0xbd77e5-0x1d7;let _0x4553c9=_0x5425ca[_0xbd77e5];return _0x4553c9;},_0xbd77(_0xb85f00,_0x13c722);}import{addListToDropdown as _0x3b0426,createDropdown as _0x191027,ListSeparatorView as _0x34305b,MenuBarMenuView as _0xa1ce83,MenuBarMenuListView as _0x85aabb,MenuBarMenuListItemView as _0x589db7,MenuBarMenuListItemButtonView as _0x267c76,SplitButtonView as _0x2e388d,UIModel as _0x595653}from'ckeditor5/src/ui.js';import{Users as _0x326cac,getDateTimeFormatter as _0x924c44,getAllMarkersDomElementsSorted as _0x23232f}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x156fa4}from'./trackchangesediting.js';import{SuggestionController as _0x572640}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x1517eb}from'./ui/view/suggestionthreadview.js';function _0x5425(){const _0x32c951=['EditorAnnotations','stopListening','commandName','getJoined','descriptionFactory','value','expired','filter','editing','_updateController','suggestion-','trackChanges.SuggestionThreadView','778352wHzrle','getByInnerView','trackChanges.disableComments','pluginName','discardSelectedSuggestions','trackChangesLicenseKeyEvaluationLimit','150KmApTb','addComment','Track\x20changes','getRanges','size','getAnnotationForSuggestion','lowest','isPremiumPlugin','getSuggestionForAnnotation','_createMenuBarMenu','init','12719QaIGUp','CommentsRepository','CommentsUI','_destroyController','define','clear','addMany','acceptAllSuggestions','_createToolbarButton','escape','comments.maxCommentsWhenCollapsed','suggestionView','previewFinalContent','children','_refreshActiveMarkers','4136eRgbcB','domainLimit','editor','reduce','_showLicenseError','trackChangesLicenseKeyDomainLimit','delegate','trackChangesLicenseKeyUsageLimit','registerAnnotation','trackChangesLicenseKeyExpired','_handleControllerBuffer','acceptSelectedSuggestions','buttonView','createAnnotationView','activeMarkers','some','_addUIComponentsToFactory','1610697fHJyPl','Preview\x20final\x20content','createCommentThreadController','delete','unbind','comments.maxThreadTotalWeight','values','button','getDescriptions','separator','plugins','trackChangesLicenseKeyInvalid','Accept\x20all\x20suggestions','config','execute','commands','Discard\x20all\x20selected\x20suggestions','add','554410hMdIsI','length','locale','createAnnotation','usageLimit','panelView','toMany','licenseKey','_handleSuggestionControllerDelayed','get','acceptButton','change:activeAnnotations','isOn','from','CommentView','componentFactory','activeAnnotations','comments','discardButton','_initializeController','comments.maxCommentCharsWhenCollapsed','refreshSelectedViews','mainView','type','suggestionUnloaded','SuggestionView','addSourceCollector','featureNotAllowed','getMarkers','Accept\x20all\x20selected\x20suggestions','_bindAnnotationToEditors','getFirstRange','isMultiRange','Annotations','descriptionParts','menuitemcheckbox','menu','switchbutton','discardAllSuggestions','Discard\x20all\x20suggestions','getSuggestion','suggestionChanged','_suggestionToController','evaluationLimit','comments.editorConfig','listenTo','getAllAdjacentSuggestions','getMarkerNames','menuitem','focus','change:previous','_disableComments','isEnabled','view','SuggestionThreadView','commentThread','fire','keys','226745EhxFqp','requires','remove','1255148UHDORf','trackChangesLicenseKeyValid','isDirty','hasSuggestion','invalid','head','innerView','items','TrackChanges','2331572vRTZfe','TrackChangesUI','has','destroy','_unbindEditors','commentsListView','menuBar:trackChanges','source','previous','model','_annotationViews','set','_viewToController','isInContent','push','isOfficialPlugin','TrackChangesPreview','trackChanges','TrackChangesEditing','arrowView','trackChangesLicenseKeyNotAllowed','279MbhcFX','bind','_licenseKeyCheckInterval','actionView','trackChanges.SuggestionView','suggestionLoaded'];_0x5425=function(){return _0x32c951;};return _0x5425();}import{SuggestionView as _0x32e17a}from'./ui/view/suggestionview.js';import{getTranslation as _0x3b876f}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1a3c7c{[_0x43748d(0x23a)];[_0x43748d(0x1e0)];[_0x43748d(0x25d)];[_0x43748d(0x285)];[_0x43748d(0x283)];[_0x43748d(0x21a)];[_0x43748d(0x266)];static get[_0x43748d(0x26e)](){const _0x5eedaf=_0x43748d;return[_0x156fa4,_0x326cac,_0x5eedaf(0x202),_0x5eedaf(0x254),_0x5eedaf(0x1e4)];}static get[_0x43748d(0x1f3)](){const _0x3e9739=_0x43748d;return _0x3e9739(0x27a);}static get[_0x43748d(0x1d8)](){return!0x0;}static get[_0x43748d(0x1fd)](){return!0x0;}constructor(_0x1bdec0){const _0xc1aeab=_0x43748d;super(_0x1bdec0),this[_0xc1aeab(0x25d)]=new Map(),this[_0xc1aeab(0x285)]=new Map(),this[_0xc1aeab(0x283)]=new Map(),this[_0xc1aeab(0x21a)]=new Map();const _0xa7ec5b=this[_0xc1aeab(0x212)][_0xc1aeab(0x22e)];_0xa7ec5b[_0xc1aeab(0x205)](_0xc1aeab(0x1ef),_0x1517eb),_0xa7ec5b[_0xc1aeab(0x205)](_0xc1aeab(0x1e2),_0x32e17a),_0xa7ec5b[_0xc1aeab(0x205)](_0xc1aeab(0x1f2),!0x1),this[_0xc1aeab(0x266)]=_0xa7ec5b[_0xc1aeab(0x23c)](_0xc1aeab(0x1f2));}[_0x43748d(0x23b)](_0x1484b7,_0x553966){const _0x13b51d=_0x43748d;0x0===this[_0x13b51d(0x21a)][_0x13b51d(0x1fa)]&&setTimeout(()=>{const _0x2ade84=_0x13b51d;for(const [_0x2f2979,_0x2647b4]of this[_0x2ade84(0x21a)]){const _0x42bfdd=this[_0x2ade84(0x25d)][_0x2ade84(0x27b)](_0x2f2979);_0x42bfdd||_0x2647b4?_0x42bfdd&&_0x2647b4&&this[_0x2ade84(0x204)](_0x2f2979):this[_0x2ade84(0x246)](_0x2f2979);}this[_0x2ade84(0x21a)][_0x2ade84(0x206)](),this[_0x2ade84(0x212)][_0x2ade84(0x22b)][_0x2ade84(0x23c)](_0x2ade84(0x1e4))[_0x2ade84(0x248)](),this[_0x2ade84(0x20f)]();},0xa),this[_0x13b51d(0x21a)][_0x13b51d(0x284)](_0x1484b7,_0x553966);}[_0x43748d(0x200)](){const _0x2ae7c2=_0x43748d,_0x308b45=this[_0x2ae7c2(0x212)],_0x58119d=_0x308b45[_0x2ae7c2(0x22b)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x1db)),_0x42e1e6=_0x308b45[_0x2ae7c2(0x22b)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x254)),_0x397ede=_0x308b45[_0x2ae7c2(0x22b)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x1e4)),_0x3fbfa2=_0x308b45[_0x2ae7c2(0x22b)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x202));this[_0x2ae7c2(0x220)](),_0x397ede[_0x2ae7c2(0x24d)](()=>{const _0x4218e3=_0x2ae7c2,_0x3e53fc=[];for(const [_0x5cd979,_0x3c6e97]of Array[_0x4218e3(0x240)](this[_0x4218e3(0x25d)])){const _0xa62e9f=_0x5cd979[_0x4218e3(0x261)](),_0x421b28=[];for(const _0x1925fc of _0xa62e9f){if(!_0x1925fc[_0x4218e3(0x286)])continue;if(_0x1925fc[_0x4218e3(0x253)]){_0x421b28[_0x4218e3(0x1d7)](..._0x1925fc[_0x4218e3(0x1f9)]());continue;}const _0x2842ae=_0x1925fc[_0x4218e3(0x252)]();if(_0x421b28[_0x4218e3(0x234)]>0x0){const _0x5273db=_0x421b28[0x0][_0x4218e3(0x1e7)](_0x2842ae);if(_0x5273db){_0x421b28[0x0]=_0x5273db;continue;}}_0x421b28[_0x4218e3(0x1d7)](_0x2842ae);}_0x3e53fc[_0x4218e3(0x1d7)]([_0x3c6e97[_0x4218e3(0x268)],_0x421b28]);}return _0x3e53fc;}),this[_0x2ae7c2(0x260)](_0x58119d,_0x2ae7c2(0x1e3),(_0x3662d4,_0x46b511)=>{const _0x20ec51=_0x2ae7c2;this[_0x20ec51(0x260)](_0x46b511,_0x20ec51(0x265),(_0x432c19,_0x1a7a69,_0x2da9d5,_0x473bfb)=>{const _0x51ec90=_0x20ec51;_0x46b511[_0x51ec90(0x286)]&&(null==_0x2da9d5?(this[_0x51ec90(0x1ed)](_0x473bfb[_0x51ec90(0x275)]),this[_0x51ec90(0x23b)](_0x46b511,!0x1)):(this[_0x51ec90(0x1ed)](_0x2da9d5[_0x51ec90(0x275)]),null==_0x473bfb&&this[_0x51ec90(0x23b)](_0x46b511,!0x0)));}),null!==_0x46b511[_0x20ec51(0x281)]?this[_0x20ec51(0x1ed)](_0x46b511[_0x20ec51(0x275)]):this[_0x20ec51(0x23b)](_0x46b511,!0x1);}),this[_0x2ae7c2(0x260)](_0x58119d,_0x2ae7c2(0x24b),(_0x570ae2,_0x242f0e,_0x296b1a)=>{const _0x5fcb28=_0x2ae7c2;this[_0x5fcb28(0x1e5)](_0x242f0e,_0x5fcb28(0x265)),this[_0x5fcb28(0x21a)][_0x5fcb28(0x224)](_0x242f0e),this[_0x5fcb28(0x25d)][_0x5fcb28(0x27b)](_0x242f0e)&&this[_0x5fcb28(0x204)](_0x242f0e),_0x296b1a&&this[_0x5fcb28(0x1ed)](_0x296b1a[_0x5fcb28(0x275)]);}),this[_0x2ae7c2(0x260)](_0x58119d,_0x2ae7c2(0x25c),(_0x2f4b59,_0x23bb0e)=>{const _0x490912=_0x2ae7c2;this[_0x490912(0x1ed)](_0x23bb0e);}),this[_0x2ae7c2(0x260)](_0x42e1e6,_0x2ae7c2(0x23e),()=>{const _0x2e714f=_0x2ae7c2;this[_0x2e714f(0x20f)]();}),this[_0x2ae7c2(0x260)](_0x3fbfa2,_0x2ae7c2(0x1f7),(_0x569745,{threadId:_0x17328f,isFromAdapter:_0x117e04})=>{const _0x267b99=_0x2ae7c2;if(_0x117e04||!_0x58119d[_0x267b99(0x273)](_0x17328f))return;const _0x93c9b2=_0x58119d[_0x267b99(0x25b)](_0x17328f);this[_0x267b99(0x25d)][_0x267b99(0x23c)](_0x93c9b2)[_0x267b99(0x268)][_0x267b99(0x27e)][_0x267b99(0x264)](-0x1);},{'priority':_0x2ae7c2(0x1fc)}),this[_0x2ae7c2(0x23a)]=this[_0x2ae7c2(0x212)][_0x2ae7c2(0x22e)][_0x2ae7c2(0x23c)](_0x2ae7c2(0x23a));const _0x30dcac=this[_0x2ae7c2(0x212)];this[_0x2ae7c2(0x1e0)]=setInterval(()=>{const _0x2b6855=_0x2ae7c2;let _0x5e9f24;for(const _0x39e26f in _0x30dcac){const _0x2f26a2=_0x39e26f,_0x521c14=_0x30dcac[_0x2f26a2];if(_0x2b6855(0x271)==_0x521c14||_0x2b6855(0x22c)==_0x521c14||_0x2b6855(0x219)==_0x521c14||_0x2b6855(0x215)==_0x521c14||_0x2b6855(0x1dd)==_0x521c14||_0x2b6855(0x1f5)==_0x521c14||_0x2b6855(0x217)==_0x521c14){delete _0x30dcac[_0x2f26a2],_0x5e9f24=_0x521c14,clearInterval(this[_0x2b6855(0x1e0)]),this[_0x2b6855(0x1e0)]=void 0x0;break;}}_0x2b6855(0x22c)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x274)),_0x2b6855(0x219)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x1ea)),_0x2b6855(0x215)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x211)),_0x2b6855(0x1dd)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x24e),_0x2b6855(0x278)),_0x2b6855(0x1f5)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x25e)),_0x2b6855(0x217)==_0x5e9f24&&_0x30dcac[_0x2b6855(0x214)](_0x2b6855(0x237));},0x3e8);}[_0x43748d(0x1fb)](_0x1d85ae){const _0x5ea57b=_0x43748d,_0x376c1d=this[_0x5ea57b(0x25d)][_0x5ea57b(0x23c)](_0x1d85ae);if(!_0x376c1d)return null;return this[_0x5ea57b(0x212)][_0x5ea57b(0x22b)][_0x5ea57b(0x23c)](_0x5ea57b(0x254))[_0x5ea57b(0x1f1)](_0x376c1d[_0x5ea57b(0x268)])||null;}[_0x43748d(0x1fe)](_0x17405b){const _0x42afe1=_0x43748d,_0x58dcd5=this[_0x42afe1(0x285)][_0x42afe1(0x23c)](_0x17405b[_0x42afe1(0x276)]);return _0x58dcd5?_0x58dcd5[_0x42afe1(0x282)]:null;}[_0x43748d(0x20f)](){const _0x575dfe=_0x43748d,_0x391cf7=this[_0x575dfe(0x212)][_0x575dfe(0x22b)][_0x575dfe(0x23c)](_0x575dfe(0x254)),_0x5bbf3e=this[_0x575dfe(0x212)][_0x575dfe(0x22b)][_0x575dfe(0x23c)](_0x575dfe(0x1db)),_0x43cf41=Array[_0x575dfe(0x240)](_0x391cf7[_0x575dfe(0x243)],_0x284205=>_0x284205[_0x575dfe(0x276)])[_0x575dfe(0x1eb)](_0x308cf8=>this[_0x575dfe(0x285)][_0x575dfe(0x27b)](_0x308cf8)),_0x5189a0=[];for(const _0x138b32 of _0x43cf41){const _0x37d7a6=this[_0x575dfe(0x285)][_0x575dfe(0x23c)](_0x138b32)[_0x575dfe(0x282)][_0x575dfe(0x261)]();_0x5189a0[_0x575dfe(0x1d7)](..._0x37d7a6[_0x575dfe(0x213)]((_0xfdebc4,_0x4d3d09)=>[..._0xfdebc4,..._0x4d3d09[_0x575dfe(0x262)]()],[]));}_0x5bbf3e[_0x575dfe(0x21e)]=_0x5189a0;}[_0x43748d(0x220)](){const _0x56a1f8=_0x43748d,_0x1234db=this[_0x56a1f8(0x212)],_0x3a20a4=_0x1234db[_0x56a1f8(0x235)],_0x59e8ad=_0x3b876f(_0x3a20a4,_0x56a1f8(0x1f8)),_0x645f3=new _0x4fc84e([{'type':_0x56a1f8(0x258),'model':new _0x595653({'withText':!0x0,'isToggleable':!0x0,'label':_0x59e8ad,'commandName':_0x56a1f8(0x1da),'role':_0x56a1f8(0x256)})},{'type':_0x56a1f8(0x22a)},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x22d)),'commandName':_0x56a1f8(0x208),'role':_0x56a1f8(0x263)})},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x250)),'commandName':_0x56a1f8(0x21b),'role':_0x56a1f8(0x263)})},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x25a)),'commandName':_0x56a1f8(0x259),'role':_0x56a1f8(0x263)})},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x231)),'commandName':_0x56a1f8(0x1f4),'role':_0x56a1f8(0x263)})}]);_0x1234db[_0x56a1f8(0x22b)][_0x56a1f8(0x27b)](_0x56a1f8(0x1d9))&&_0x645f3[_0x56a1f8(0x207)]([{'type':_0x56a1f8(0x22a)},{'type':_0x56a1f8(0x228),'model':new _0x595653({'withText':!0x0,'label':_0x3b876f(_0x3a20a4,_0x56a1f8(0x222)),'commandName':_0x56a1f8(0x20d),'role':_0x56a1f8(0x263)})}]);for(const _0x503582 of _0x645f3)if(ke(_0x503582)){const _0x3ce854=_0x1234db[_0x56a1f8(0x230)][_0x56a1f8(0x23c)](_0x503582[_0x56a1f8(0x282)][_0x56a1f8(0x1e6)]);_0x503582[_0x56a1f8(0x282)][_0x56a1f8(0x1df)](_0x56a1f8(0x23f),_0x56a1f8(0x267))['to'](_0x3ce854,_0x56a1f8(0x1e9),_0x56a1f8(0x267));}_0x1234db['ui'][_0x56a1f8(0x242)][_0x56a1f8(0x232)](_0x56a1f8(0x1da),_0xfcaab3=>this[_0x56a1f8(0x209)](_0xfcaab3,_0x645f3,_0x59e8ad)),_0x1234db['ui'][_0x56a1f8(0x242)][_0x56a1f8(0x232)](_0x56a1f8(0x27f),_0x29096b=>this[_0x56a1f8(0x1ff)](_0x29096b,_0x645f3,_0x59e8ad));}[_0x43748d(0x209)](_0x122c75,_0x454258,_0xbc1261){const _0x1898b4=_0x43748d,_0x68abcf=_0x191027(_0x122c75,_0x2e388d),_0x1b36aa=this[_0x1898b4(0x212)][_0x1898b4(0x230)][_0x1898b4(0x23c)](_0x1898b4(0x1da));_0x68abcf[_0x1898b4(0x21c)][_0x1898b4(0x284)]({'tooltip':_0xbc1261,'label':_0xbc1261,'icon':_0x1e3e70}),_0x68abcf[_0x1898b4(0x21c)][_0x1898b4(0x1df)](_0x1898b4(0x23f))['to'](_0x1b36aa,_0x1898b4(0x1e9)),_0x68abcf[_0x1898b4(0x21c)]['on'](_0x1898b4(0x22f),()=>{const _0x3a5434=_0x1898b4;_0x1b36aa[_0x3a5434(0x22f)](),this[_0x3a5434(0x212)][_0x3a5434(0x1ec)][_0x3a5434(0x268)][_0x3a5434(0x264)]();}),_0x3b0426(_0x68abcf,_0x454258,{'role':_0x1898b4(0x257)});const _0x453c93=[];for(const _0x35e312 of _0x454258)ke(_0x35e312)&&_0x453c93[_0x1898b4(0x1d7)](this[_0x1898b4(0x212)][_0x1898b4(0x230)][_0x1898b4(0x23c)](_0x35e312[_0x1898b4(0x282)][_0x1898b4(0x1e6)]));const _0x418fc1=_0x68abcf[_0x1898b4(0x21c)];return _0x418fc1[_0x1898b4(0x1e1)][_0x1898b4(0x225)](_0x1898b4(0x267)),_0x418fc1[_0x1898b4(0x1dc)][_0x1898b4(0x225)](_0x1898b4(0x267)),_0x418fc1[_0x1898b4(0x1e1)][_0x1898b4(0x1df)](_0x1898b4(0x267))['to'](_0x1b36aa,_0x1898b4(0x267)),_0x418fc1[_0x1898b4(0x1dc)][_0x1898b4(0x1df)](_0x1898b4(0x267))[_0x1898b4(0x239)](_0x453c93,_0x1898b4(0x267),(..._0x5eb065)=>_0x5eb065[_0x1898b4(0x21f)](_0x19440d=>_0x19440d)),_0x68abcf['on'](_0x1898b4(0x22f),_0x4aaf4f=>{const _0x3477ec=_0x1898b4;this[_0x3477ec(0x212)][_0x3477ec(0x22f)](_0x4aaf4f[_0x3477ec(0x280)][_0x3477ec(0x1e6)]),this[_0x3477ec(0x212)][_0x3477ec(0x1ec)][_0x3477ec(0x268)][_0x3477ec(0x264)]();}),_0x68abcf;}[_0x43748d(0x1ff)](_0x535286,_0x3b4792,_0xd02ed0){const _0x966c55=_0x43748d,_0x2edb57=new _0xa1ce83(_0x535286),_0x480de1=this[_0x966c55(0x212)][_0x966c55(0x230)][_0x966c55(0x23c)](_0x966c55(0x1da));_0x2edb57[_0x966c55(0x21c)][_0x966c55(0x284)]({'label':_0xd02ed0,'icon':_0x1e3e70});const _0x45adb1=new _0x85aabb(_0x535286);for(const _0x2752e5 of _0x3b4792){if(_0x966c55(0x22a)==_0x2752e5[_0x966c55(0x24a)]){_0x45adb1[_0x966c55(0x277)][_0x966c55(0x232)](new _0x34305b(_0x535286));continue;}const _0x35c0ff=new _0x589db7(_0x535286,_0x2edb57),_0x33f88b=new _0x267c76(_0x535286),_0xd4eec3=_0x2752e5[_0x966c55(0x282)];_0x33f88b[_0x966c55(0x1df)](...Object[_0x966c55(0x26c)](_0xd4eec3))['to'](_0xd4eec3),_0x33f88b[_0x966c55(0x216)](_0x966c55(0x22f))['to'](_0x2edb57),_0x33f88b['on'](_0x966c55(0x22f),()=>{const _0x8986d5=_0x966c55;this[_0x8986d5(0x212)][_0x8986d5(0x22f)](_0xd4eec3[_0x8986d5(0x1e6)]),this[_0x8986d5(0x212)][_0x8986d5(0x1ec)][_0x8986d5(0x268)][_0x8986d5(0x264)]();}),_0x35c0ff[_0x966c55(0x20e)][_0x966c55(0x232)](_0x33f88b),_0x45adb1[_0x966c55(0x277)][_0x966c55(0x232)](_0x35c0ff);}return _0x2edb57[_0x966c55(0x1df)](_0x966c55(0x267))['to'](_0x480de1,_0x966c55(0x267)),_0x2edb57[_0x966c55(0x238)][_0x966c55(0x20e)][_0x966c55(0x232)](_0x45adb1),_0x2edb57;}[_0x43748d(0x246)](_0x37e7c9){const _0x1e91cb=_0x43748d,_0x39c00f=this[_0x1e91cb(0x212)],_0xd0e575=_0x39c00f[_0x1e91cb(0x22e)],_0x354a16=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x254)),_0x59428e=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x202)),_0x20a0d4=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x1e4)),_0x2e5042=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x326cac)['me'],_0x40731e=_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x1da))[_0x1e91cb(0x269)],_0x56d4a7=_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x1da))[_0x1e91cb(0x24c)],{CommentsListView:_0x262079,CommentThreadInputView:_0x28bc13}=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x203));let _0x3e2eaf,_0x1d10e4,_0x5441d7;this[_0x1e91cb(0x283)][_0x1e91cb(0x27b)](_0x37e7c9['id'])?(_0x1d10e4=this[_0x1e91cb(0x283)][_0x1e91cb(0x23c)](_0x37e7c9['id']),_0x3e2eaf=_0x1d10e4[_0x1e91cb(0x249)]):(_0x3e2eaf=new _0x40731e(_0x39c00f[_0x1e91cb(0x235)],_0x37e7c9,_0x2e5042,{'disableComments':this[_0x1e91cb(0x266)],'editorConfig':{..._0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x25f)),'licenseKey':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x23a))},'maxCommentsWhenCollapsed':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x20b)),'maxThreadTotalWeight':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x226)),'maxCommentCharsWhenCollapsed':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x247)),'formatDateTime':_0x924c44(_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x235)),_0x39c00f[_0x1e91cb(0x235)]),'CommentView':_0xd0e575[_0x1e91cb(0x23c)](_0x1e91cb(0x244))[_0x1e91cb(0x241)],'CommentsListView':_0x262079,'CommentThreadInputView':_0x28bc13,'SuggestionView':_0x56d4a7}),_0x3e2eaf[_0x1e91cb(0x20c)][_0x1e91cb(0x23d)]['on'](_0x1e91cb(0x22f),()=>{const _0x2c60aa=_0x1e91cb;_0x39c00f[_0x2c60aa(0x1ec)][_0x2c60aa(0x268)][_0x2c60aa(0x264)]();}),_0x3e2eaf[_0x1e91cb(0x20c)][_0x1e91cb(0x245)]['on'](_0x1e91cb(0x22f),()=>{const _0x5590ef=_0x1e91cb;_0x39c00f[_0x5590ef(0x1ec)][_0x5590ef(0x268)][_0x5590ef(0x264)]();}),_0x1d10e4=_0x354a16[_0x1e91cb(0x21d)](this[_0x1e91cb(0x212)][_0x1e91cb(0x235)],_0x3e2eaf),_0x1d10e4[_0x1e91cb(0x1df)](_0x1e91cb(0x272))['to'](_0x3e2eaf,_0x1e91cb(0x272)),_0x1d10e4[_0x1e91cb(0x1df)](_0x1e91cb(0x234))['to'](_0x3e2eaf),_0x1d10e4[_0x1e91cb(0x1df)](_0x1e91cb(0x24a))['to'](_0x3e2eaf,_0x1e91cb(0x24a),_0xd0a7f1=>_0x1e91cb(0x1ee)+_0xd0a7f1),_0x3e2eaf['on'](_0x1e91cb(0x20a),()=>{const _0x443d5a=_0x1e91cb;_0x5441d7[_0x443d5a(0x26b)](_0x443d5a(0x20a));}),this[_0x1e91cb(0x283)][_0x1e91cb(0x284)](_0x37e7c9['id'],_0x1d10e4));const _0x294664=_0x59428e[_0x1e91cb(0x223)](_0x37e7c9[_0x1e91cb(0x26a)],_0x3e2eaf),_0xf482f0=new _0x572640(_0x39c00f,_0x37e7c9,_0x3e2eaf,_0x294664),_0x2783ae=_0x37e7c9[_0x1e91cb(0x261)]()[_0x1e91cb(0x1eb)](_0xbe8430=>_0xbe8430[_0x1e91cb(0x286)]);_0x3e2eaf[_0x1e91cb(0x255)]=_0x39c00f[_0x1e91cb(0x22b)][_0x1e91cb(0x23c)](_0x1e91cb(0x1db))[_0x1e91cb(0x1e8)][_0x1e91cb(0x229)](_0x2783ae),this[_0x1e91cb(0x25d)][_0x1e91cb(0x284)](_0x37e7c9,_0xf482f0),this[_0x1e91cb(0x285)][_0x1e91cb(0x284)](_0x3e2eaf,_0xf482f0);const _0x1f7f10=()=>{const _0x284a33=_0x1e91cb,_0x27776c=[],_0xbb70ad=_0x37e7c9[_0x284a33(0x261)]()[_0x284a33(0x1eb)](_0x1e769e=>_0x1e769e[_0x284a33(0x286)]);for(const _0x4ead6c of _0xbb70ad)_0x27776c[_0x284a33(0x1d7)](..._0x4ead6c[_0x284a33(0x24f)]());return _0x23232f(_0x39c00f[_0x284a33(0x1ec)],_0x27776c);};_0x5441d7=_0x354a16[_0x1e91cb(0x236)]({'view':_0x1d10e4,'target':_0x1f7f10,'type':()=>_0x1e91cb(0x1ee)+_0xf482f0[_0x1e91cb(0x268)][_0x1e91cb(0x24a)],'isVisible':!!_0x1f7f10()}),_0x59428e[_0x1e91cb(0x251)](_0x3e2eaf,_0x5441d7),_0x354a16[_0x1e91cb(0x232)](_0x5441d7),_0x20a0d4[_0x1e91cb(0x218)](_0x5441d7);}[_0x43748d(0x204)](_0x48a34d){const _0x3bfc82=_0x43748d,_0x1d84d7=this[_0x3bfc82(0x212)][_0x3bfc82(0x22b)][_0x3bfc82(0x23c)](_0x3bfc82(0x202)),_0xc6a470=this[_0x3bfc82(0x212)][_0x3bfc82(0x22b)][_0x3bfc82(0x23c)](_0x3bfc82(0x254)),_0x1d2137=this[_0x3bfc82(0x25d)][_0x3bfc82(0x23c)](_0x48a34d),_0x1f6434=_0x1d2137[_0x3bfc82(0x268)],_0xd3415c=_0xc6a470[_0x3bfc82(0x1f1)](_0x1f6434);_0x1d84d7[_0x3bfc82(0x27d)](_0x1f6434),_0xd3415c&&_0xc6a470[_0x3bfc82(0x26f)](_0xd3415c),this[_0x3bfc82(0x25d)][_0x3bfc82(0x224)](_0x48a34d),this[_0x3bfc82(0x285)][_0x3bfc82(0x224)](_0x1f6434),_0x1d2137[_0x3bfc82(0x27c)]();}[_0x43748d(0x1ed)](_0x1036ab){const _0x5306c3=_0x43748d;if(!_0x1036ab[_0x5306c3(0x286)]||!this[_0x5306c3(0x25d)][_0x5306c3(0x27b)](_0x1036ab))return;const _0x46a2e6=this[_0x5306c3(0x212)][_0x5306c3(0x22b)][_0x5306c3(0x23c)](_0x5306c3(0x1db)),_0x5e69d5=this[_0x5306c3(0x25d)][_0x5306c3(0x23c)](_0x1036ab),_0x5cdba6=_0x1036ab[_0x5306c3(0x261)]();_0x5e69d5[_0x5306c3(0x268)][_0x5306c3(0x255)]=_0x46a2e6[_0x5306c3(0x1e8)][_0x5306c3(0x229)](_0x5cdba6);}[_0x43748d(0x27c)](){const _0x1fedfc=_0x43748d;for(const _0x3986c9 of this[_0x1fedfc(0x25d)][_0x1fedfc(0x26c)]())this[_0x1fedfc(0x204)](_0x3986c9);for(const _0x1bc18a of this[_0x1fedfc(0x283)][_0x1fedfc(0x227)]())_0x1bc18a[_0x1fedfc(0x249)][_0x1fedfc(0x27c)]();super[_0x1fedfc(0x27c)](),this[_0x1fedfc(0x1e0)]&&clearInterval(this[_0x1fedfc(0x1e0)]);}}function ke(_0x5612d0){const _0x140d60=_0x43748d;return _0x140d60(0x282)in _0x5612d0;}
|
|
23
|
+
function _0x1f7b(_0x511926,_0x5e4f50){const _0x1c0cc2=_0x1c0c();return _0x1f7b=function(_0x1f7bc2,_0xc5d421){_0x1f7bc2=_0x1f7bc2-0x87;let _0x2f41af=_0x1c0cc2[_0x1f7bc2];return _0x2f41af;},_0x1f7b(_0x511926,_0x5e4f50);}const _0x257ae3=_0x1f7b;(function(_0xe3df21,_0x43c6b4){const _0x4086e4=_0x1f7b,_0x22f016=_0xe3df21();while(!![]){try{const _0x3a687d=parseInt(_0x4086e4(0xb3))/0x1*(-parseInt(_0x4086e4(0xc6))/0x2)+parseInt(_0x4086e4(0x111))/0x3*(parseInt(_0x4086e4(0xd1))/0x4)+parseInt(_0x4086e4(0xbb))/0x5*(parseInt(_0x4086e4(0x104))/0x6)+-parseInt(_0x4086e4(0xac))/0x7+parseInt(_0x4086e4(0x88))/0x8+-parseInt(_0x4086e4(0xd5))/0x9+-parseInt(_0x4086e4(0x135))/0xa;if(_0x3a687d===_0x43c6b4)break;else _0x22f016['push'](_0x22f016['shift']());}catch(_0x2dd405){_0x22f016['push'](_0x22f016['shift']());}}}(_0x1c0c,0xeb809));import{Plugin as _0x1469ee}from'ckeditor5/src/core.js';import{Collection as _0x5d4786}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x3f7a07}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x37fc0d,createDropdown as _0x3be319,ListSeparatorView as _0x384f7f,MenuBarMenuView as _0x2f7f73,MenuBarMenuListView as _0x22b7ed,MenuBarMenuListItemView as _0x3d98b5,MenuBarMenuListItemButtonView as _0x495cbc,SplitButtonView as _0x48927f,UIModel as _0x1d7f53}from'ckeditor5/src/ui.js';import{Users as _0xc7da00,getDateTimeFormatter as _0x20f63b,getAllMarkersDomElementsSorted as _0x4c6e1d}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5174cf}from'./trackchangesediting.js';import{SuggestionController as _0x35b2c6}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x48f38e}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5c3014}from'./ui/view/suggestionview.js';function _0x1c0c(){const _0x3715e7=['hasSuggestion','suggestionUnloaded','comments.maxThreadTotalWeight','_viewToController','TrackChangesUI','lowest','suggestionView','suggestion-','innerView','button','actionView','editor','delete','_destroyController','trackChangesLicenseKeyNotAllowed','define','init','trackChanges','commentsListView','isInContent','_initializeController','usageLimit','children','_updateController','type','TrackChangesEditing','change:previous','editing','_bindAnnotationToEditors','destroy','reduce','toMany','EditorAnnotations','commentThread','trackChanges.SuggestionThreadView','some','fire','Accept\x20all\x20selected\x20suggestions','arrowView','pluginName','menu','bind','trackChangesLicenseKeyDomainLimit','6yNwQop','addMany','keys','buttonView','discardSelectedSuggestions','isOfficialPlugin','isOn','trackChangesLicenseKeyUsageLimit','_handleSuggestionControllerDelayed','_refreshActiveMarkers','length','Preview\x20final\x20content','getMarkers','120BYTjew','Track\x20changes','getDescriptions','requires','descriptionFactory','trackChangesLicenseKeyValid','menuBar:trackChanges','acceptAllSuggestions','suggestionChanged','discardButton','get','separator','head','stopListening','menuitemcheckbox','getJoined','CommentsUI','comments.maxCommentsWhenCollapsed','getSuggestion','delegate','expired','items','filter','push','switchbutton','createCommentThreadController','refreshSelectedViews','commandName','value','Annotations','registerAnnotation','trackChanges.SuggestionView','activeMarkers','createAnnotation','discardAllSuggestions','values','5700510NhlHsv','activeAnnotations','_annotationViews','7477872YbiXAW','_handleControllerBuffer','clear','isEnabled','getAllAdjacentSuggestions','featureNotAllowed','size','_suggestionToController','mainView','trackChangesLicenseKeyEvaluationLimit','getAnnotationForSuggestion','from','change:activeAnnotations','plugins','config','execute','remove','comments','source','acceptButton','licenseKey','isPremiumPlugin','getRanges','acceptSelectedSuggestions','_licenseKeyCheckInterval','view','createAnnotationView','TrackChangesPreview','_createToolbarButton','addComment','_addUIComponentsToFactory','SuggestionView','invalid','getFirstRange','TrackChanges','_unbindEditors','1515241kpGgdY','isMultiRange','Accept\x20all\x20suggestions','_showLicenseError','descriptionParts','addSourceCollector','model','53IbygGV','getMarkerNames','set','CommentsRepository','trackChanges.disableComments','CommentView','Discard\x20all\x20selected\x20suggestions','getByInnerView','6246085cnPLYm','has','Discard\x20all\x20suggestions','componentFactory','comments.maxCommentCharsWhenCollapsed','add','evaluationLimit','escape','domainLimit','trackChangesLicenseKeyInvalid','previewFinalContent','29998cKYdlm','previous','isDirty','_createMenuBarMenu','comments.editorConfig','panelView','focus','getSuggestionForAnnotation','commands','listenTo','_disableComments','173324ICWeXu','menuitem','SuggestionThreadView','locale','12340017ZekeLT','unbind','trackChangesLicenseKeyExpired','suggestionLoaded'];_0x1c0c=function(){return _0x3715e7;};return _0x1c0c();}import{getTranslation as _0x192b81}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1469ee{[_0x257ae3(0x9c)];[_0x257ae3(0xa0)];[_0x257ae3(0x8f)];[_0x257ae3(0xdc)];[_0x257ae3(0x87)];[_0x257ae3(0x89)];[_0x257ae3(0xd0)];static get[_0x257ae3(0x114)](){const _0x5a3025=_0x257ae3;return[_0x5174cf,_0xc7da00,_0x5a3025(0xb6),_0x5a3025(0x12e),_0x5a3025(0xf9)];}static get[_0x257ae3(0x100)](){const _0xf551c0=_0x257ae3;return _0xf551c0(0xdd);}static get[_0x257ae3(0x109)](){return!0x0;}static get[_0x257ae3(0x9d)](){return!0x0;}constructor(_0x14df8d){const _0x4f8cec=_0x257ae3;super(_0x14df8d),this[_0x4f8cec(0x8f)]=new Map(),this[_0x4f8cec(0xdc)]=new Map(),this[_0x4f8cec(0x87)]=new Map(),this[_0x4f8cec(0x89)]=new Map();const _0x78d27c=this[_0x4f8cec(0xe4)][_0x4f8cec(0x96)];_0x78d27c[_0x4f8cec(0xe8)](_0x4f8cec(0xfb),_0x48f38e),_0x78d27c[_0x4f8cec(0xe8)](_0x4f8cec(0x130),_0x5c3014),_0x78d27c[_0x4f8cec(0xe8)](_0x4f8cec(0xb7),!0x1),this[_0x4f8cec(0xd0)]=_0x78d27c[_0x4f8cec(0x11b)](_0x4f8cec(0xb7));}[_0x257ae3(0x10c)](_0x59bbb2,_0x1ed5f9){const _0x2c2eb1=_0x257ae3;0x0===this[_0x2c2eb1(0x89)][_0x2c2eb1(0x8e)]&&setTimeout(()=>{const _0x56ac56=_0x2c2eb1;for(const [_0x1045bc,_0x54f822]of this[_0x56ac56(0x89)]){const _0x1181be=this[_0x56ac56(0x8f)][_0x56ac56(0xbc)](_0x1045bc);_0x1181be||_0x54f822?_0x1181be&&_0x54f822&&this[_0x56ac56(0xe6)](_0x1045bc):this[_0x56ac56(0xed)](_0x1045bc);}this[_0x56ac56(0x89)][_0x56ac56(0x8a)](),this[_0x56ac56(0xe4)][_0x56ac56(0x95)][_0x56ac56(0x11b)](_0x56ac56(0xf9))[_0x56ac56(0x12b)](),this[_0x56ac56(0x10d)]();},0xa),this[_0x2c2eb1(0x89)][_0x2c2eb1(0xb5)](_0x59bbb2,_0x1ed5f9);}[_0x257ae3(0xe9)](){const _0x562d6=_0x257ae3,_0x4fbc77=this[_0x562d6(0xe4)],_0x2ba425=_0x4fbc77[_0x562d6(0x95)][_0x562d6(0x11b)](_0x562d6(0xf2)),_0x37aa01=_0x4fbc77[_0x562d6(0x95)][_0x562d6(0x11b)](_0x562d6(0x12e)),_0x3c8e95=_0x4fbc77[_0x562d6(0x95)][_0x562d6(0x11b)](_0x562d6(0xf9)),_0x311f45=_0x4fbc77[_0x562d6(0x95)][_0x562d6(0x11b)](_0x562d6(0xb6));this[_0x562d6(0xa6)](),_0x3c8e95[_0x562d6(0xb1)](()=>{const _0x40b520=_0x562d6,_0x3808d9=[];for(const [_0x43e47b,_0x414135]of Array[_0x40b520(0x93)](this[_0x40b520(0x8f)])){const _0xb1adc6=_0x43e47b[_0x40b520(0x8c)](),_0x3fec32=[];for(const _0x39752c of _0xb1adc6){if(!_0x39752c[_0x40b520(0xec)])continue;if(_0x39752c[_0x40b520(0xad)]){_0x3fec32[_0x40b520(0x128)](..._0x39752c[_0x40b520(0x9e)]());continue;}const _0x116890=_0x39752c[_0x40b520(0xa9)]();if(_0x3fec32[_0x40b520(0x10e)]>0x0){const _0x3db42b=_0x3fec32[0x0][_0x40b520(0x120)](_0x116890);if(_0x3db42b){_0x3fec32[0x0]=_0x3db42b;continue;}}_0x3fec32[_0x40b520(0x128)](_0x116890);}_0x3808d9[_0x40b520(0x128)]([_0x414135[_0x40b520(0xa1)],_0x3fec32]);}return _0x3808d9;}),this[_0x562d6(0xcf)](_0x2ba425,_0x562d6(0xd8),(_0x3471b4,_0x5694e3)=>{const _0x47999e=_0x562d6;this[_0x47999e(0xcf)](_0x5694e3,_0x47999e(0xf3),(_0xcc440a,_0x16d581,_0x27c530,_0x1c79b8)=>{const _0x30df87=_0x47999e;_0x5694e3[_0x30df87(0xec)]&&(null==_0x27c530?(this[_0x30df87(0xf0)](_0x1c79b8[_0x30df87(0x11d)]),this[_0x30df87(0x10c)](_0x5694e3,!0x1)):(this[_0x30df87(0xf0)](_0x27c530[_0x30df87(0x11d)]),null==_0x1c79b8&&this[_0x30df87(0x10c)](_0x5694e3,!0x0)));}),null!==_0x5694e3[_0x47999e(0xc7)]?this[_0x47999e(0xf0)](_0x5694e3[_0x47999e(0x11d)]):this[_0x47999e(0x10c)](_0x5694e3,!0x1);}),this[_0x562d6(0xcf)](_0x2ba425,_0x562d6(0xda),(_0x409878,_0x1579e1,_0xecdfd2)=>{const _0x369a07=_0x562d6;this[_0x369a07(0x11e)](_0x1579e1,_0x369a07(0xf3)),this[_0x369a07(0x89)][_0x369a07(0xe5)](_0x1579e1),this[_0x369a07(0x8f)][_0x369a07(0xbc)](_0x1579e1)&&this[_0x369a07(0xe6)](_0x1579e1),_0xecdfd2&&this[_0x369a07(0xf0)](_0xecdfd2[_0x369a07(0x11d)]);}),this[_0x562d6(0xcf)](_0x2ba425,_0x562d6(0x119),(_0x46056c,_0x3dd933)=>{const _0x28c3cc=_0x562d6;this[_0x28c3cc(0xf0)](_0x3dd933);}),this[_0x562d6(0xcf)](_0x37aa01,_0x562d6(0x94),()=>{const _0x42aef7=_0x562d6;this[_0x42aef7(0x10d)]();}),this[_0x562d6(0xcf)](_0x311f45,_0x562d6(0xa5),(_0x2da10d,{threadId:_0x4712f7,isFromAdapter:_0x458948})=>{const _0x3e7a5f=_0x562d6;if(_0x458948||!_0x2ba425[_0x3e7a5f(0xd9)](_0x4712f7))return;const _0x3ba97a=_0x2ba425[_0x3e7a5f(0x123)](_0x4712f7);this[_0x3e7a5f(0x8f)][_0x3e7a5f(0x11b)](_0x3ba97a)[_0x3e7a5f(0xa1)][_0x3e7a5f(0xeb)][_0x3e7a5f(0xcc)](-0x1);},{'priority':_0x562d6(0xde)}),this[_0x562d6(0x9c)]=this[_0x562d6(0xe4)][_0x562d6(0x96)][_0x562d6(0x11b)](_0x562d6(0x9c));const _0x528d3a=this[_0x562d6(0xe4)];this[_0x562d6(0xa0)]=setInterval(()=>{const _0x50d3e0=_0x562d6;let _0x402538;for(const _0x33cf09 in _0x528d3a){const _0x8aa318=_0x33cf09,_0x5b4b93=_0x528d3a[_0x8aa318];if(_0x50d3e0(0x116)==_0x5b4b93||_0x50d3e0(0xc4)==_0x5b4b93||_0x50d3e0(0xd7)==_0x5b4b93||_0x50d3e0(0x103)==_0x5b4b93||_0x50d3e0(0xe7)==_0x5b4b93||_0x50d3e0(0x91)==_0x5b4b93||_0x50d3e0(0x10b)==_0x5b4b93){delete _0x528d3a[_0x8aa318],_0x402538=_0x5b4b93,clearInterval(this[_0x50d3e0(0xa0)]),this[_0x50d3e0(0xa0)]=void 0x0;break;}}_0x50d3e0(0xc4)==_0x402538&&_0x528d3a[_0x50d3e0(0xaf)](_0x50d3e0(0xa8)),_0x50d3e0(0xd7)==_0x402538&&_0x528d3a[_0x50d3e0(0xaf)](_0x50d3e0(0x125)),_0x50d3e0(0x103)==_0x402538&&_0x528d3a[_0x50d3e0(0xaf)](_0x50d3e0(0xc3)),_0x50d3e0(0xe7)==_0x402538&&_0x528d3a[_0x50d3e0(0xaf)](_0x50d3e0(0x8d),_0x50d3e0(0xaa)),_0x50d3e0(0x91)==_0x402538&&_0x528d3a[_0x50d3e0(0xaf)](_0x50d3e0(0xc1)),_0x50d3e0(0x10b)==_0x402538&&_0x528d3a[_0x50d3e0(0xaf)](_0x50d3e0(0xee));},0x3e8);}[_0x257ae3(0x92)](_0x443c35){const _0x18d0af=_0x257ae3,_0x5d6745=this[_0x18d0af(0x8f)][_0x18d0af(0x11b)](_0x443c35);if(!_0x5d6745)return null;return this[_0x18d0af(0xe4)][_0x18d0af(0x95)][_0x18d0af(0x11b)](_0x18d0af(0x12e))[_0x18d0af(0xba)](_0x5d6745[_0x18d0af(0xa1)])||null;}[_0x257ae3(0xcd)](_0x20b218){const _0xb4997d=_0x257ae3,_0x122d3d=this[_0xb4997d(0xdc)][_0xb4997d(0x11b)](_0x20b218[_0xb4997d(0xe1)]);return _0x122d3d?_0x122d3d[_0xb4997d(0xb2)]:null;}[_0x257ae3(0x10d)](){const _0x1c876f=_0x257ae3,_0x15bfae=this[_0x1c876f(0xe4)][_0x1c876f(0x95)][_0x1c876f(0x11b)](_0x1c876f(0x12e)),_0x155d8e=this[_0x1c876f(0xe4)][_0x1c876f(0x95)][_0x1c876f(0x11b)](_0x1c876f(0xf2)),_0x2d7875=Array[_0x1c876f(0x93)](_0x15bfae[_0x1c876f(0x136)],_0x1a34c8=>_0x1a34c8[_0x1c876f(0xe1)])[_0x1c876f(0x127)](_0x4fdba6=>this[_0x1c876f(0xdc)][_0x1c876f(0xbc)](_0x4fdba6)),_0x6fb05a=[];for(const _0xe47009 of _0x2d7875){const _0x315f76=this[_0x1c876f(0xdc)][_0x1c876f(0x11b)](_0xe47009)[_0x1c876f(0xb2)][_0x1c876f(0x8c)]();_0x6fb05a[_0x1c876f(0x128)](..._0x315f76[_0x1c876f(0xf7)]((_0x1b6fbd,_0x5ac6ab)=>[..._0x1b6fbd,..._0x5ac6ab[_0x1c876f(0xb4)]()],[]));}_0x155d8e[_0x1c876f(0x131)]=_0x6fb05a;}[_0x257ae3(0xa6)](){const _0x6043bf=_0x257ae3,_0x5bb47a=this[_0x6043bf(0xe4)],_0x277a81=_0x5bb47a[_0x6043bf(0xd4)],_0x2fd31f=_0x192b81(_0x277a81,_0x6043bf(0x112)),_0x22a7a0=new _0x5d4786([{'type':_0x6043bf(0x129),'model':new _0x1d7f53({'withText':!0x0,'isToggleable':!0x0,'label':_0x2fd31f,'commandName':_0x6043bf(0xea),'role':_0x6043bf(0x11f)})},{'type':_0x6043bf(0x11c)},{'type':_0x6043bf(0xe2),'model':new _0x1d7f53({'withText':!0x0,'label':_0x192b81(_0x277a81,_0x6043bf(0xae)),'commandName':_0x6043bf(0x118),'role':_0x6043bf(0xd2)})},{'type':_0x6043bf(0xe2),'model':new _0x1d7f53({'withText':!0x0,'label':_0x192b81(_0x277a81,_0x6043bf(0xfe)),'commandName':_0x6043bf(0x9f),'role':_0x6043bf(0xd2)})},{'type':_0x6043bf(0xe2),'model':new _0x1d7f53({'withText':!0x0,'label':_0x192b81(_0x277a81,_0x6043bf(0xbd)),'commandName':_0x6043bf(0x133),'role':_0x6043bf(0xd2)})},{'type':_0x6043bf(0xe2),'model':new _0x1d7f53({'withText':!0x0,'label':_0x192b81(_0x277a81,_0x6043bf(0xb9)),'commandName':_0x6043bf(0x108),'role':_0x6043bf(0xd2)})}]);_0x5bb47a[_0x6043bf(0x95)][_0x6043bf(0xbc)](_0x6043bf(0xa3))&&_0x22a7a0[_0x6043bf(0x105)]([{'type':_0x6043bf(0x11c)},{'type':_0x6043bf(0xe2),'model':new _0x1d7f53({'withText':!0x0,'label':_0x192b81(_0x277a81,_0x6043bf(0x10f)),'commandName':_0x6043bf(0xc5),'role':_0x6043bf(0xd2)})}]);for(const _0x29f7c0 of _0x22a7a0)if(ke(_0x29f7c0)){const _0x5c911d=_0x5bb47a[_0x6043bf(0xce)][_0x6043bf(0x11b)](_0x29f7c0[_0x6043bf(0xb2)][_0x6043bf(0x12c)]);_0x29f7c0[_0x6043bf(0xb2)][_0x6043bf(0x102)](_0x6043bf(0x10a),_0x6043bf(0x8b))['to'](_0x5c911d,_0x6043bf(0x12d),_0x6043bf(0x8b));}_0x5bb47a['ui'][_0x6043bf(0xbe)][_0x6043bf(0xc0)](_0x6043bf(0xea),_0x2c5916=>this[_0x6043bf(0xa4)](_0x2c5916,_0x22a7a0,_0x2fd31f)),_0x5bb47a['ui'][_0x6043bf(0xbe)][_0x6043bf(0xc0)](_0x6043bf(0x117),_0x417ba1=>this[_0x6043bf(0xc9)](_0x417ba1,_0x22a7a0,_0x2fd31f));}[_0x257ae3(0xa4)](_0x4f9e12,_0x469967,_0x42049e){const _0x352d4d=_0x257ae3,_0x2c09a9=_0x3be319(_0x4f9e12,_0x48927f),_0x2b1521=this[_0x352d4d(0xe4)][_0x352d4d(0xce)][_0x352d4d(0x11b)](_0x352d4d(0xea));_0x2c09a9[_0x352d4d(0x107)][_0x352d4d(0xb5)]({'tooltip':_0x42049e,'label':_0x42049e,'icon':_0x3f7a07}),_0x2c09a9[_0x352d4d(0x107)][_0x352d4d(0x102)](_0x352d4d(0x10a))['to'](_0x2b1521,_0x352d4d(0x12d)),_0x2c09a9[_0x352d4d(0x107)]['on'](_0x352d4d(0x97),()=>{const _0x4bfeaa=_0x352d4d;_0x2b1521[_0x4bfeaa(0x97)](),this[_0x4bfeaa(0xe4)][_0x4bfeaa(0xf4)][_0x4bfeaa(0xa1)][_0x4bfeaa(0xcc)]();}),_0x37fc0d(_0x2c09a9,_0x469967,{'role':_0x352d4d(0x101)});const _0x602ec8=[];for(const _0x72f6c0 of _0x469967)ke(_0x72f6c0)&&_0x602ec8[_0x352d4d(0x128)](this[_0x352d4d(0xe4)][_0x352d4d(0xce)][_0x352d4d(0x11b)](_0x72f6c0[_0x352d4d(0xb2)][_0x352d4d(0x12c)]));const _0x2987b3=_0x2c09a9[_0x352d4d(0x107)];return _0x2987b3[_0x352d4d(0xe3)][_0x352d4d(0xd6)](_0x352d4d(0x8b)),_0x2987b3[_0x352d4d(0xff)][_0x352d4d(0xd6)](_0x352d4d(0x8b)),_0x2987b3[_0x352d4d(0xe3)][_0x352d4d(0x102)](_0x352d4d(0x8b))['to'](_0x2b1521,_0x352d4d(0x8b)),_0x2987b3[_0x352d4d(0xff)][_0x352d4d(0x102)](_0x352d4d(0x8b))[_0x352d4d(0xf8)](_0x602ec8,_0x352d4d(0x8b),(..._0xba00fc)=>_0xba00fc[_0x352d4d(0xfc)](_0x462bf6=>_0x462bf6)),_0x2c09a9['on'](_0x352d4d(0x97),_0x4b98cd=>{const _0x79ac3a=_0x352d4d;this[_0x79ac3a(0xe4)][_0x79ac3a(0x97)](_0x4b98cd[_0x79ac3a(0x9a)][_0x79ac3a(0x12c)]),this[_0x79ac3a(0xe4)][_0x79ac3a(0xf4)][_0x79ac3a(0xa1)][_0x79ac3a(0xcc)]();}),_0x2c09a9;}[_0x257ae3(0xc9)](_0x5afeeb,_0x38841d,_0x23651a){const _0x5ce582=_0x257ae3,_0x2bf7a2=new _0x2f7f73(_0x5afeeb),_0x39f131=this[_0x5ce582(0xe4)][_0x5ce582(0xce)][_0x5ce582(0x11b)](_0x5ce582(0xea));_0x2bf7a2[_0x5ce582(0x107)][_0x5ce582(0xb5)]({'label':_0x23651a,'icon':_0x3f7a07});const _0x53a45a=new _0x22b7ed(_0x5afeeb);for(const _0x254164 of _0x38841d){if(_0x5ce582(0x11c)==_0x254164[_0x5ce582(0xf1)]){_0x53a45a[_0x5ce582(0x126)][_0x5ce582(0xc0)](new _0x384f7f(_0x5afeeb));continue;}const _0x1ca03d=new _0x3d98b5(_0x5afeeb,_0x2bf7a2),_0x87f47d=new _0x495cbc(_0x5afeeb),_0x28ae59=_0x254164[_0x5ce582(0xb2)];_0x87f47d[_0x5ce582(0x102)](...Object[_0x5ce582(0x106)](_0x28ae59))['to'](_0x28ae59),_0x87f47d[_0x5ce582(0x124)](_0x5ce582(0x97))['to'](_0x2bf7a2),_0x87f47d['on'](_0x5ce582(0x97),()=>{const _0x3d37c3=_0x5ce582;this[_0x3d37c3(0xe4)][_0x3d37c3(0x97)](_0x28ae59[_0x3d37c3(0x12c)]),this[_0x3d37c3(0xe4)][_0x3d37c3(0xf4)][_0x3d37c3(0xa1)][_0x3d37c3(0xcc)]();}),_0x1ca03d[_0x5ce582(0xef)][_0x5ce582(0xc0)](_0x87f47d),_0x53a45a[_0x5ce582(0x126)][_0x5ce582(0xc0)](_0x1ca03d);}return _0x2bf7a2[_0x5ce582(0x102)](_0x5ce582(0x8b))['to'](_0x39f131,_0x5ce582(0x8b)),_0x2bf7a2[_0x5ce582(0xcb)][_0x5ce582(0xef)][_0x5ce582(0xc0)](_0x53a45a),_0x2bf7a2;}[_0x257ae3(0xed)](_0x3b70aa){const _0x314496=_0x257ae3,_0x66546c=this[_0x314496(0xe4)],_0x39b25d=_0x66546c[_0x314496(0x96)],_0x52bddb=_0x66546c[_0x314496(0x95)][_0x314496(0x11b)](_0x314496(0x12e)),_0x334ac5=_0x66546c[_0x314496(0x95)][_0x314496(0x11b)](_0x314496(0xb6)),_0xf42c7=_0x66546c[_0x314496(0x95)][_0x314496(0x11b)](_0x314496(0xf9)),_0x5b4e35=_0x66546c[_0x314496(0x95)][_0x314496(0x11b)](_0xc7da00)['me'],_0x2aea73=_0x39b25d[_0x314496(0x11b)](_0x314496(0xea))[_0x314496(0xd3)],_0x3c5812=_0x39b25d[_0x314496(0x11b)](_0x314496(0xea))[_0x314496(0xa7)],{CommentsListView:_0x3ab1d7,CommentThreadInputView:_0x509c65}=_0x66546c[_0x314496(0x95)][_0x314496(0x11b)](_0x314496(0x121));let _0x312952,_0x49f9cd,_0x281b9f;this[_0x314496(0x87)][_0x314496(0xbc)](_0x3b70aa['id'])?(_0x49f9cd=this[_0x314496(0x87)][_0x314496(0x11b)](_0x3b70aa['id']),_0x312952=_0x49f9cd[_0x314496(0x90)]):(_0x312952=new _0x2aea73(_0x66546c[_0x314496(0xd4)],_0x3b70aa,_0x5b4e35,{'disableComments':this[_0x314496(0xd0)],'editorConfig':{..._0x39b25d[_0x314496(0x11b)](_0x314496(0xca)),'licenseKey':_0x39b25d[_0x314496(0x11b)](_0x314496(0x9c))},'maxCommentsWhenCollapsed':_0x39b25d[_0x314496(0x11b)](_0x314496(0x122)),'maxThreadTotalWeight':_0x39b25d[_0x314496(0x11b)](_0x314496(0xdb)),'maxCommentCharsWhenCollapsed':_0x39b25d[_0x314496(0x11b)](_0x314496(0xbf)),'formatDateTime':_0x20f63b(_0x39b25d[_0x314496(0x11b)](_0x314496(0xd4)),_0x66546c[_0x314496(0xd4)]),'CommentView':_0x39b25d[_0x314496(0x11b)](_0x314496(0x99))[_0x314496(0xb8)],'CommentsListView':_0x3ab1d7,'CommentThreadInputView':_0x509c65,'SuggestionView':_0x3c5812}),_0x312952[_0x314496(0xdf)][_0x314496(0x9b)]['on'](_0x314496(0x97),()=>{const _0x5da985=_0x314496;_0x66546c[_0x5da985(0xf4)][_0x5da985(0xa1)][_0x5da985(0xcc)]();}),_0x312952[_0x314496(0xdf)][_0x314496(0x11a)]['on'](_0x314496(0x97),()=>{const _0x32dfcc=_0x314496;_0x66546c[_0x32dfcc(0xf4)][_0x32dfcc(0xa1)][_0x32dfcc(0xcc)]();}),_0x49f9cd=_0x52bddb[_0x314496(0xa2)](this[_0x314496(0xe4)][_0x314496(0xd4)],_0x312952),_0x49f9cd[_0x314496(0x102)](_0x314496(0xc8))['to'](_0x312952,_0x314496(0xc8)),_0x49f9cd[_0x314496(0x102)](_0x314496(0x10e))['to'](_0x312952),_0x49f9cd[_0x314496(0x102)](_0x314496(0xf1))['to'](_0x312952,_0x314496(0xf1),_0x1de618=>_0x314496(0xe0)+_0x1de618),_0x312952['on'](_0x314496(0xc2),()=>{const _0xacda58=_0x314496;_0x281b9f[_0xacda58(0xfd)](_0xacda58(0xc2));}),this[_0x314496(0x87)][_0x314496(0xb5)](_0x3b70aa['id'],_0x49f9cd));const _0x16f6f7=_0x334ac5[_0x314496(0x12a)](_0x3b70aa[_0x314496(0xfa)],_0x312952),_0x2c4452=new _0x35b2c6(_0x66546c,_0x3b70aa,_0x312952,_0x16f6f7),_0x327d1c=_0x3b70aa[_0x314496(0x8c)]()[_0x314496(0x127)](_0x16c8ab=>_0x16c8ab[_0x314496(0xec)]);_0x312952[_0x314496(0xb0)]=_0x66546c[_0x314496(0x95)][_0x314496(0x11b)](_0x314496(0xf2))[_0x314496(0x115)][_0x314496(0x113)](_0x327d1c),this[_0x314496(0x8f)][_0x314496(0xb5)](_0x3b70aa,_0x2c4452),this[_0x314496(0xdc)][_0x314496(0xb5)](_0x312952,_0x2c4452);const _0x43e148=()=>{const _0x3f1f60=_0x314496,_0x6aa88d=[],_0x5cf26f=_0x3b70aa[_0x3f1f60(0x8c)]()[_0x3f1f60(0x127)](_0x1be054=>_0x1be054[_0x3f1f60(0xec)]);for(const _0x2ecc8e of _0x5cf26f)_0x6aa88d[_0x3f1f60(0x128)](..._0x2ecc8e[_0x3f1f60(0x110)]());return _0x4c6e1d(_0x66546c[_0x3f1f60(0xf4)],_0x6aa88d);};_0x281b9f=_0x52bddb[_0x314496(0x132)]({'view':_0x49f9cd,'target':_0x43e148,'type':()=>_0x314496(0xe0)+_0x2c4452[_0x314496(0xa1)][_0x314496(0xf1)],'isVisible':!!_0x43e148()}),_0x334ac5[_0x314496(0xf5)](_0x312952,_0x281b9f),_0x52bddb[_0x314496(0xc0)](_0x281b9f),_0xf42c7[_0x314496(0x12f)](_0x281b9f);}[_0x257ae3(0xe6)](_0xd79c15){const _0x4dd261=_0x257ae3,_0x104287=this[_0x4dd261(0xe4)][_0x4dd261(0x95)][_0x4dd261(0x11b)](_0x4dd261(0xb6)),_0x310df1=this[_0x4dd261(0xe4)][_0x4dd261(0x95)][_0x4dd261(0x11b)](_0x4dd261(0x12e)),_0x952f88=this[_0x4dd261(0x8f)][_0x4dd261(0x11b)](_0xd79c15),_0x268150=_0x952f88[_0x4dd261(0xa1)],_0x236d77=_0x310df1[_0x4dd261(0xba)](_0x268150);_0x104287[_0x4dd261(0xab)](_0x268150),_0x236d77&&_0x310df1[_0x4dd261(0x98)](_0x236d77),this[_0x4dd261(0x8f)][_0x4dd261(0xe5)](_0xd79c15),this[_0x4dd261(0xdc)][_0x4dd261(0xe5)](_0x268150),_0x952f88[_0x4dd261(0xf6)]();}[_0x257ae3(0xf0)](_0x5488da){const _0x824197=_0x257ae3;if(!_0x5488da[_0x824197(0xec)]||!this[_0x824197(0x8f)][_0x824197(0xbc)](_0x5488da))return;const _0x295853=this[_0x824197(0xe4)][_0x824197(0x95)][_0x824197(0x11b)](_0x824197(0xf2)),_0x1dcd42=this[_0x824197(0x8f)][_0x824197(0x11b)](_0x5488da),_0x586929=_0x5488da[_0x824197(0x8c)]();_0x1dcd42[_0x824197(0xa1)][_0x824197(0xb0)]=_0x295853[_0x824197(0x115)][_0x824197(0x113)](_0x586929);}[_0x257ae3(0xf6)](){const _0x2ca1fd=_0x257ae3;for(const _0x28f263 of this[_0x2ca1fd(0x8f)][_0x2ca1fd(0x106)]())this[_0x2ca1fd(0xe6)](_0x28f263);for(const _0x3c3a7e of this[_0x2ca1fd(0x87)][_0x2ca1fd(0x134)]())_0x3c3a7e[_0x2ca1fd(0x90)][_0x2ca1fd(0xf6)]();super[_0x2ca1fd(0xf6)](),this[_0x2ca1fd(0xa0)]&&clearInterval(this[_0x2ca1fd(0xa0)]);}}function ke(_0x23f78b){const _0x30d1b3=_0x257ae3;return _0x30d1b3(0xb2)in _0x23f78b;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x23725d=_0x34d0;(function(_0x13fe2b,_0x3e2ed3){const _0x560d7e=_0x34d0,_0x11e2a0=_0x13fe2b();while(!![]){try{const _0x18e3f0=-parseInt(_0x560d7e(0x1ec))/0x1+-parseInt(_0x560d7e(0x1f8))/0x2+parseInt(_0x560d7e(0x1dc))/0x3*(parseInt(_0x560d7e(0x1f5))/0x4)+parseInt(_0x560d7e(0x1dd))/0x5+parseInt(_0x560d7e(0x1d6))/0x6*(-parseInt(_0x560d7e(0x1f7))/0x7)+parseInt(_0x560d7e(0x1d7))/0x8*(parseInt(_0x560d7e(0x1e8))/0x9)+-parseInt(_0x560d7e(0x1ef))/0xa*(-parseInt(_0x560d7e(0x1fd))/0xb);if(_0x18e3f0===_0x3e2ed3)break;else _0x11e2a0['push'](_0x11e2a0['shift']());}catch(_0x100d51){_0x11e2a0['push'](_0x11e2a0['shift']());}}}(_0x2932,0xdaa92));import{ObservableMixin as _0x5163bd}from'ckeditor5/src/utils.js';function _0x2932(){const _0x127881=['456lFOwec','unbind','_editor','stopListening','locale','21858XyvHyP','4954840umMLLJ','_setPendingAction','get','view','add','listenTo','PENDING_ACTION_SUGGESTION','isEnabled','_acceptCommand','change:isDirty','bind','28656fCnWKu','destroy','_removePendingAction','remove','268721MRQhyf','canEditAt','model','30uYbabj','commands','plugins','commentThreadController','acceptSuggestion','_discardCommand','436FeTrLI','getRanges','7rtSCpk','3429098AJBYGQ','isDirty','discardSuggestion','execute','canAccept','6899255xYbmrg','PendingActions','canDiscard','_pendingAction','5816046Gyukxq'];_0x2932=function(){return _0x127881;};return _0x2932();}import{getTranslation as _0x3834f5}from'../utils/common-translations.js';function _0x34d0(_0x172482,_0x359874){const _0x293216=_0x2932();return _0x34d0=function(_0x34d039,_0x219079){_0x34d039=_0x34d039-0x1d5;let _0x29b567=_0x293216[_0x34d039];return _0x29b567;},_0x34d0(_0x172482,_0x359874);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5163bd(){[_0x23725d(0x1ee)];[_0x23725d(0x1e0)];[_0x23725d(0x1f2)];[_0x23725d(0x1d9)];[_0x23725d(0x1e5)];[_0x23725d(0x1f4)];[_0x23725d(0x1d5)];constructor(_0x40319f,_0xd7c268,_0x17e36a,_0x12bfd6){const _0x5e3228=_0x23725d;super(),this[_0x5e3228(0x1ee)]=_0xd7c268,this[_0x5e3228(0x1e0)]=_0x17e36a,this[_0x5e3228(0x1f2)]=_0x12bfd6,this[_0x5e3228(0x1d9)]=_0x40319f,this[_0x5e3228(0x1e5)]=_0x40319f[_0x5e3228(0x1f0)][_0x5e3228(0x1df)](_0x5e3228(0x1f3)),this[_0x5e3228(0x1f4)]=_0x40319f[_0x5e3228(0x1f0)][_0x5e3228(0x1df)](_0x5e3228(0x1fa)),this[_0x5e3228(0x1e0)][_0x5e3228(0x1e7)](_0x5e3228(0x1e4))['to'](this[_0x5e3228(0x1e5)],this[_0x5e3228(0x1f4)],(_0x1b704b,_0x47b82e)=>_0x1b704b||_0x47b82e),this[_0x5e3228(0x1e0)][_0x5e3228(0x1e7)](_0x5e3228(0x1fc))['to'](this[_0x5e3228(0x1e5)],_0x5e3228(0x1e4),_0x42743a=>_0x42743a&&this[_0x5e3228(0x1d9)][_0x5e3228(0x1ee)][_0x5e3228(0x1ed)](_0xd7c268[_0x5e3228(0x1f6)]())),this[_0x5e3228(0x1e0)][_0x5e3228(0x1e7)](_0x5e3228(0x1ff))['to'](this[_0x5e3228(0x1f4)],_0x5e3228(0x1e4),_0x4ae753=>_0x4ae753&&this[_0x5e3228(0x1d9)][_0x5e3228(0x1ee)][_0x5e3228(0x1ed)](_0xd7c268[_0x5e3228(0x1f6)]())),this[_0x5e3228(0x1d5)]=null,_0x17e36a[_0x5e3228(0x1f9)]&&this[_0x5e3228(0x1de)](),this[_0x5e3228(0x1e2)](_0x17e36a,_0x5e3228(0x1f3),()=>this[_0x5e3228(0x1f3)]()),this[_0x5e3228(0x1e2)](_0x17e36a,_0x5e3228(0x1fa),()=>this[_0x5e3228(0x1fa)]()),this[_0x5e3228(0x1e2)](_0x17e36a,_0x5e3228(0x1e6),()=>{const _0x5e272c=_0x5e3228;_0x17e36a[_0x5e272c(0x1f9)]?this[_0x5e272c(0x1de)]():this[_0x5e272c(0x1ea)]();});}[_0x23725d(0x1f3)](){const _0x1f8062=_0x23725d;this[_0x1f8062(0x1e5)][_0x1f8062(0x1fb)](this[_0x1f8062(0x1ee)]['id']);}[_0x23725d(0x1fa)](){const _0x2e73d9=_0x23725d;this[_0x2e73d9(0x1f4)][_0x2e73d9(0x1fb)](this[_0x2e73d9(0x1ee)]['id']);}[_0x23725d(0x1e9)](){const _0x33568d=_0x23725d;this[_0x33568d(0x1e0)][_0x33568d(0x1d8)](_0x33568d(0x1e4)),this[_0x33568d(0x1e0)][_0x33568d(0x1d8)](_0x33568d(0x1fc)),this[_0x33568d(0x1e0)][_0x33568d(0x1d8)](_0x33568d(0x1ff)),this[_0x33568d(0x1da)](),this[_0x33568d(0x1f2)][_0x33568d(0x1e9)](),this[_0x33568d(0x1d5)]&&this[_0x33568d(0x1ea)]();}[_0x23725d(0x1de)](){const _0xd913a9=_0x23725d,_0x240e9b=_0x3834f5(this[_0xd913a9(0x1d9)][_0xd913a9(0x1db)],_0xd913a9(0x1e3));this[_0xd913a9(0x1d5)]=this[_0xd913a9(0x1d9)][_0xd913a9(0x1f1)][_0xd913a9(0x1df)](_0xd913a9(0x1fe))[_0xd913a9(0x1e1)](_0x240e9b);}[_0x23725d(0x1ea)](){const _0x216571=_0x23725d;null!==this[_0x216571(0x1d5)]&&this[_0x216571(0x1d9)][_0x216571(0x1f1)][_0x216571(0x1df)](_0x216571(0x1fe))[_0x216571(0x1eb)](this[_0x216571(0x1d5)]),this[_0x216571(0x1d5)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5efac3=_0x162c;(function(_0x3f71f0,_0x3e21d3){const _0x126c4d=_0x162c,_0x523081=_0x3f71f0();while(!![]){try{const _0x5a49e9=-parseInt(_0x126c4d(0x109))/0x1*(parseInt(_0x126c4d(0xf6))/0x2)+-parseInt(_0x126c4d(0xdc))/0x3+parseInt(_0x126c4d(0x114))/0x4+parseInt(_0x126c4d(0xd9))/0x5*(parseInt(_0x126c4d(0xff))/0x6)+-parseInt(_0x126c4d(0x105))/0x7+-parseInt(_0x126c4d(0x10a))/0x8+-parseInt(_0x126c4d(0xf1))/0x9*(-parseInt(_0x126c4d(0x117))/0xa);if(_0x5a49e9===_0x3e21d3)break;else _0x523081['push'](_0x523081['shift']());}catch(_0x18c6cb){_0x523081['push'](_0x523081['shift']());}}}(_0x67ce,0xb5c04));function _0x162c(_0x2e45e8,_0x28f17e){const _0x67cefc=_0x67ce();return _0x162c=function(_0x162cba,_0x548624){_0x162cba=_0x162cba-0xd6;let _0x2b07a5=_0x67cefc[_0x162cba];return _0x2b07a5;},_0x162c(_0x2e45e8,_0x28f17e);}function _0x67ce(){const _0x616047=['addComment','2960607mlhJGL','commentInputView','body','_createCommentThreadInputView','map','element','set','value','SUGGESTION_THREAD_ARIA_LABEL','commentsListView','_localUser','editor','canAccept','hasDirtyComment','destroy','disableComments','isDirty','SUGGESTION_THREAD_DESCRIPTION','_config','locale','author','4650714SFFbgw','keystrokes','canDiscard','length','CommentView','293360ydKzil','target','descriptionParts','content','removeComment','parseFromString','tab','focusCycler','_model','103146oeqYaQ','ariaLabel','bind','_createCommentViews','commentThread','isActive','4080230ZIYzmF','assign','focusTracker','join','2WtQtHs','2985256pZvquN','delegate','render','isEnabled','focus','authoredAt','submit','textContent','cancel','disabledSubmit','4836156lKxKKI','fire','text/html','10hgkwrq','setData','isReadOnly','updateComment','ariaDescriptionView','focusables','name','showInput','commentThreadInputView','editorConfig','shift+tab','365psFBUO','formatDateTime'];_0x67ce=function(){return _0x616047;};return _0x67ce();}import{FocusCycler as _0x3cd08f,View as _0x1e2ffc,ViewCollection as _0x319775}from'ckeditor5/src/ui.js';import{FocusTracker as _0x42560d,KeystrokeHandler as _0x3c112b}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3cb0a2,setupThreadKeyboardNavigation as _0x4ebf07}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x16accc}from'../../utils/common-translations.js';import{renderDescription as _0x5b4087}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x1e2ffc{[_0x5efac3(0xe5)];[_0x5efac3(0xd6)];[_0x5efac3(0x11b)];[_0x5efac3(0x11c)];[_0x5efac3(0x107)];[_0x5efac3(0xf2)];[_0x5efac3(0xfd)];[_0x5efac3(0xfe)];[_0x5efac3(0xe6)];[_0x5efac3(0xee)];constructor(_0x12fb95,_0x54a19b,_0x429c31,_0x1a1510){const _0x11cd54=_0x5efac3;super(_0x12fb95),this[_0x11cd54(0xe5)]=null,this[_0x11cd54(0xd6)]=null,this[_0x11cd54(0x11b)]=new _0x3cb0a2(_0x12fb95,_0x16accc(_0x12fb95,_0x11cd54(0xed))),this[_0x11cd54(0xe2)](_0x11cd54(0x104),!0x1),this[_0x11cd54(0xe2)](_0x11cd54(0x10f),_0x54a19b[_0x11cd54(0x10f)]),this[_0x11cd54(0x101)](_0x11cd54(0x10f))['to'](_0x54a19b),this[_0x11cd54(0xe2)](_0x11cd54(0xf8),[]),this[_0x11cd54(0xe2)](_0x11cd54(0xec),!0x1),this[_0x11cd54(0xe2)](_0x11cd54(0x10d),!0x1),this[_0x11cd54(0xe2)](_0x11cd54(0xe8),!0x1),this[_0x11cd54(0xe2)](_0x11cd54(0xf3),!0x1),this[_0x11cd54(0x101)](_0x11cd54(0x100))['to'](this,_0x11cd54(0xf4),_0x54a19b,_0x11cd54(0x10f),this,_0x11cd54(0xf8),(_0x33d7bb,_0x48a4cd,_0x5529f4)=>{const _0x59f4b5=_0x11cd54,_0x124c4c=_0x5529f4[_0x59f4b5(0xe0)](_0xd317ff=>_0x5b4087(_0xd317ff[_0x59f4b5(0xf9)]))[_0x59f4b5(0x108)]('.\x20')+'.';return _0x16accc(this[_0x59f4b5(0xef)],_0x59f4b5(0xe4),[_0x33d7bb-0x1,_0x54a19b[_0x59f4b5(0xf0)][_0x59f4b5(0x11d)],_0x48a4cd?_0x1a1510[_0x59f4b5(0xda)](_0x48a4cd):'',new DOMParser()[_0x59f4b5(0xfb)](_0x124c4c,_0x59f4b5(0x116))[_0x59f4b5(0xde)][_0x59f4b5(0x111)]]);}),this[_0x11cd54(0x11c)]=new _0x319775(),this[_0x11cd54(0x107)]=new _0x42560d(),this[_0x11cd54(0xf2)]=new _0x3c112b(),this[_0x11cd54(0xfd)]=new _0x3cd08f({'focusables':this[_0x11cd54(0x11c)],'focusTracker':this[_0x11cd54(0x107)],'keystrokeHandler':this[_0x11cd54(0xf2)],'keystrokeHandlerOptions':{'filter':_0x37ed88=>_0x37ed88[_0x11cd54(0xf7)]!==this[_0x11cd54(0xe1)]},'actions':{'focusPrevious':_0x11cd54(0xd8),'focusNext':_0x11cd54(0xfc)}}),this[_0x11cd54(0xfe)]=_0x54a19b,this[_0x11cd54(0xe6)]=_0x429c31,this[_0x11cd54(0xee)]=_0x1a1510,_0x1a1510[_0x11cd54(0xeb)]?this[_0x11cd54(0xe2)](_0x11cd54(0xf4),0x1):this[_0x11cd54(0x102)]();}[_0x5efac3(0x10c)](){const _0x29d5f6=_0x5efac3;super[_0x29d5f6(0x10c)](),_0x4ebf07(this,this[_0x29d5f6(0x11c)]);}[_0x5efac3(0x10e)](){const _0x2d66c3=_0x5efac3;this[_0x2d66c3(0xe1)][_0x2d66c3(0x10e)]();}[_0x5efac3(0xea)](){const _0xec0bbe=_0x5efac3;this[_0xec0bbe(0xe5)]&&this[_0xec0bbe(0xe5)][_0xec0bbe(0xea)](),this[_0xec0bbe(0xd6)]&&this[_0xec0bbe(0xd6)][_0xec0bbe(0xea)](),super[_0xec0bbe(0xea)]();}[_0x5efac3(0x102)](){const _0x5ec909=_0x5efac3,{CommentsListView:_0x3a98f0}=this[_0x5ec909(0xee)];this[_0x5ec909(0xe5)]=new _0x3a98f0(this[_0x5ec909(0xef)],this[_0x5ec909(0xfe)][_0x5ec909(0x103)],Object[_0x5ec909(0x106)]({'CommentView':this[_0x5ec909(0xee)][_0x5ec909(0xf5)]},this[_0x5ec909(0xee)])),this[_0x5ec909(0xe5)][_0x5ec909(0x10b)](_0x5ec909(0xfa))['to'](this),this[_0x5ec909(0xe5)][_0x5ec909(0x10b)](_0x5ec909(0x11a))['to'](this),this[_0x5ec909(0xe5)][_0x5ec909(0x101)](_0x5ec909(0x104))['to'](this),this[_0x5ec909(0xe2)](_0x5ec909(0xf4),this[_0x5ec909(0xe5)][_0x5ec909(0xf4)]+0x1),this[_0x5ec909(0x101)](_0x5ec909(0xf4))['to'](this[_0x5ec909(0xe5)],_0x5ec909(0xf4),_0x293780=>_0x293780+0x1),this[_0x5ec909(0xd6)]=this[_0x5ec909(0xdf)](),this['on'](_0x5ec909(0xfa),()=>this[_0x5ec909(0x10e)]()),this[_0x5ec909(0x101)](_0x5ec909(0xec))['to'](this[_0x5ec909(0xe5)],_0x5ec909(0xe9),this[_0x5ec909(0xd6)][_0x5ec909(0xdd)],_0x5ec909(0xe3),(_0x12bb2e,_0x21db46)=>_0x12bb2e||!!_0x21db46);}[_0x5efac3(0xdf)](){const _0x2e7ed5=_0x5efac3,{CommentThreadInputView:_0x32d5b3}=this[_0x2e7ed5(0xee)],_0x387dd0=new _0x32d5b3(this[_0x2e7ed5(0xef)],this[_0x2e7ed5(0xe6)],this[_0x2e7ed5(0xee)][_0x2e7ed5(0xd7)]),_0x22daac=_0x387dd0[_0x2e7ed5(0xdd)];return _0x387dd0[_0x2e7ed5(0x101)](_0x2e7ed5(0x11e))['to'](this,_0x2e7ed5(0x104),this[_0x2e7ed5(0xfe)][_0x2e7ed5(0x103)],_0x2e7ed5(0x119),_0x22daac,_0x2e7ed5(0xe3),(_0x1c347b,_0x3125f7,_0xc44e85)=>!!_0xc44e85||_0x1c347b&&!_0x3125f7),_0x22daac['on'](_0x2e7ed5(0x110),(_0x49cf54,_0x26e3a0)=>{const _0x1eb3d5=_0x2e7ed5;this[_0x1eb3d5(0x115)](_0x1eb3d5(0xdb),_0x26e3a0),_0x22daac[_0x1eb3d5(0xe7)][_0x1eb3d5(0x118)]('');}),_0x22daac['on'](_0x2e7ed5(0x112),()=>this[_0x2e7ed5(0x10e)]()),_0x22daac[_0x2e7ed5(0x101)](_0x2e7ed5(0x113))['to'](this[_0x2e7ed5(0xfe)][_0x2e7ed5(0x103)],_0x2e7ed5(0x119)),_0x387dd0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23e43b=_0x16bf;(function(_0x48f908,_0x3190fe){const _0x17b55d=_0x16bf,_0x48a378=_0x48f908();while(!![]){try{const _0x49f249=parseInt(_0x17b55d(0x1d3))/0x1+parseInt(_0x17b55d(0x1c2))/0x2+-parseInt(_0x17b55d(0x1ce))/0x3*(-parseInt(_0x17b55d(0x1aa))/0x4)+-parseInt(_0x17b55d(0x1dd))/0x5+-parseInt(_0x17b55d(0x1d0))/0x6+-parseInt(_0x17b55d(0x1a9))/0x7+parseInt(_0x17b55d(0x1c6))/0x8*(parseInt(_0x17b55d(0x1ad))/0x9);if(_0x49f249===_0x3190fe)break;else _0x48a378['push'](_0x48a378['shift']());}catch(_0x3ccadb){_0x48a378['push'](_0x48a378['shift']());}}}(_0x4823,0xe45ff));import{BaseSuggestionThreadView as _0x859c47}from'./basesuggestionthreadview.js';import{trimHtml as _0x542692}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x16bf(_0x46b461,_0x3c3064){const _0x48232f=_0x4823();return _0x16bf=function(_0x16bf40,_0x4c93ed){_0x16bf40=_0x16bf40-0x1a8;let _0x410669=_0x48232f[_0x16bf40];return _0x410669;},_0x16bf(_0x46b461,_0x3c3064);}import{renderDescription as _0xb10c94}from'../../utils/utils.js';export class SuggestionThreadView extends _0x859c47{[_0x23e43b(0x1cf)];[_0x23e43b(0x1c5)];constructor(_0x40239a,_0x4cc96f,_0x459287,_0x39eef2){const _0x22baf9=_0x23e43b;super(_0x40239a,_0x4cc96f,_0x459287,_0x39eef2),this[_0x22baf9(0x1d7)](_0x22baf9(0x1dc),''),this[_0x22baf9(0x1bf)](_0x22baf9(0x1dc))['to'](this,_0x22baf9(0x1cd),_0x538fb5=>_0x538fb5&&_0x538fb5[0x0]?_0x538fb5[0x0][_0x22baf9(0x1dc)]:''),this[_0x22baf9(0x1bf)](_0x22baf9(0x1c9))['to'](this,_0x22baf9(0x1cd),this,_0x22baf9(0x1cc),(_0x1d0860,_0x29d540)=>{const _0x1c43ab=_0x22baf9;let _0x15c87d='';for(const _0x445173 of _0x1d0860)_0x15c87d+=_0x1c43ab(0x1c8)+_0xb10c94(_0x445173[_0x1c43ab(0x1b6)],_0x445173[_0x1c43ab(0x1c7)])+_0x1c43ab(0x1de);return _0x29d540?_0x15c87d:_0x542692(_0x15c87d,{'limit':0x8c});}),this[_0x22baf9(0x1c5)]=null,this[_0x22baf9(0x1cf)]=new _0x39eef2[(_0x22baf9(0x1d2))](_0x40239a,_0x4cc96f,{'formatDateTime':_0x39eef2[_0x22baf9(0x1b8)]}),this[_0x22baf9(0x1cf)][_0x22baf9(0x1bf)](_0x22baf9(0x1c9))['to'](this),this[_0x22baf9(0x1cf)][_0x22baf9(0x1a8)](_0x22baf9(0x1b4),_0x22baf9(0x1af))['to'](this),this[_0x22baf9(0x1cf)][_0x22baf9(0x1b7)][_0x22baf9(0x1bf)](_0x22baf9(0x1bd))['to'](this,_0x22baf9(0x1c0)),this[_0x22baf9(0x1cf)][_0x22baf9(0x1ab)][_0x22baf9(0x1bf)](_0x22baf9(0x1bd))['to'](this,_0x22baf9(0x1c4)),this[_0x22baf9(0x1ca)][_0x22baf9(0x1bc)](this[_0x22baf9(0x1cf)]),this[_0x22baf9(0x1be)]&&this[_0x22baf9(0x1ca)][_0x22baf9(0x1bc)](this[_0x22baf9(0x1be)]),this[_0x22baf9(0x1ae)]&&this[_0x22baf9(0x1ca)][_0x22baf9(0x1bc)](this[_0x22baf9(0x1ae)]),this[_0x22baf9(0x1b2)](this[_0x22baf9(0x1d8)]());}[_0x23e43b(0x1d8)](){const _0x3d02c7=_0x23e43b,_0x11c645=this[_0x3d02c7(0x1c3)],_0x591703=[this[_0x3d02c7(0x1cf)]];return this[_0x3d02c7(0x1be)]&&_0x591703[_0x3d02c7(0x1df)](this[_0x3d02c7(0x1be)]),this[_0x3d02c7(0x1ae)]&&_0x591703[_0x3d02c7(0x1df)](this[_0x3d02c7(0x1ae)]),_0x591703[_0x3d02c7(0x1df)](this[_0x3d02c7(0x1b9)]),{'tag':_0x3d02c7(0x1b5),'attributes':{'class':['ck',_0x3d02c7(0x1d5),_0x3d02c7(0x1b3),_0x11c645['if'](_0x3d02c7(0x1cc),_0x3d02c7(0x1d9)),_0x11c645['to'](_0x3d02c7(0x1dc),_0x7c009=>_0x3d02c7(0x1ba)+_0x7c009),this[_0x3d02c7(0x1c1)][_0x3d02c7(0x1b0)]&&_0x3d02c7(0x1cb)],'data-suggestion-id':this[_0x3d02c7(0x1d6)]['id'],'data-thread-id':this[_0x3d02c7(0x1d6)][_0x3d02c7(0x1b1)]['id'],'data-author-id':this[_0x3d02c7(0x1d6)][_0x3d02c7(0x1db)]['id'],'tabindex':0x0,'role':_0x3d02c7(0x1d1),'aria-label':_0x11c645['to'](_0x3d02c7(0x1ac)),'aria-describedby':this[_0x3d02c7(0x1b9)]['id']},'children':_0x591703};}[_0x23e43b(0x1bb)](){const _0x210d56=_0x23e43b;super[_0x210d56(0x1bb)](),this[_0x210d56(0x1be)]&&(this[_0x210d56(0x1be)][_0x210d56(0x1a8)](_0x210d56(0x1da))['to'](this),this[_0x210d56(0x1be)][_0x210d56(0x1a8)](_0x210d56(0x1d4))['to'](this)),this[_0x210d56(0x1ae)]&&(this[_0x210d56(0x1ae)][_0x210d56(0x1a8)](_0x210d56(0x1da))['to'](this),this[_0x210d56(0x1ae)][_0x210d56(0x1a8)](_0x210d56(0x1d4))['to'](this));}}function _0x4823(){const _0x3bfbaa=['div','content','acceptButton','formatDateTime','ariaDescriptionView','ck-suggestion-','render','add','isEnabled','commentsListView','bind','canAccept','_config','54486NLoBgf','bindTemplate','canDiscard','_descriptionElement','8lndieq','color','<p>','description','focusables','ck-suggestion--disabled-comments','isActive','descriptionParts','49332SOeiuY','suggestionView','1247964KVzkfi','listitem','SuggestionView','342644KEwltk','editorDestroyed','ck-rounded-corners','_model','set','getTemplate','ck-suggestion-wrapper--active','editorReady','author','type','6608365nxvYaN','</p>','push','delegate','5781853fDVtud','32pRhFNG','discardButton','ariaLabel','25106670AuOIOv','commentThreadInputView','discardSuggestion','disableComments','commentThread','setTemplate','ck-suggestion-wrapper','acceptSuggestion'];_0x4823=function(){return _0x3bfbaa;};return _0x4823();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5942a3=_0x1867;(function(_0x42ac67,_0xf82b52){const _0x1484d7=_0x1867,_0x8c1487=_0x42ac67();while(!![]){try{const _0x85b9e7=-parseInt(_0x1484d7(0x132))/0x1*(-parseInt(_0x1484d7(0x15f))/0x2)+-parseInt(_0x1484d7(0x160))/0x3*(parseInt(_0x1484d7(0x131))/0x4)+-parseInt(_0x1484d7(0x15b))/0x5+parseInt(_0x1484d7(0x141))/0x6+parseInt(_0x1484d7(0x168))/0x7*(parseInt(_0x1484d7(0x159))/0x8)+parseInt(_0x1484d7(0x169))/0x9+-parseInt(_0x1484d7(0x127))/0xa*(parseInt(_0x1484d7(0x15a))/0xb);if(_0x85b9e7===_0xf82b52)break;else _0x8c1487['push'](_0x8c1487['shift']());}catch(_0x3d3ade){_0x8c1487['push'](_0x8c1487['shift']());}}}(_0x18d4,0x8c7bb));import{FocusTracker as _0x56d2a9,KeystrokeHandler as _0x3daa9e}from'ckeditor5/src/utils.js';function _0x1867(_0x97a82b,_0x2d66e9){const _0x18d4e8=_0x18d4();return _0x1867=function(_0x18679f,_0xbed7c){_0x18679f=_0x18679f-0x11d;let _0x13c1c6=_0x18d4e8[_0x18679f];return _0x13c1c6;},_0x1867(_0x97a82b,_0x2d66e9);}function _0x18d4(){const _0x13fae2=['attributes','ck-suggestion__info','formatDateTime','EXTERNAL_IMPORT_WORD_SUGGESTION','32cEUiPx','64075eSDOpx','2776635NxtuMH','focusCycler','_config','EXTERNAL_AVATAR','4OeAMKZ','6sqCfwG','enter','ck-annotation__actions','bind','userView','render','ck-suggestion','querySelector','1468523neNWGs','8472078fFOZXW','esc','discardSuggestion','ck-annotation__info-name','author','change:description','creator','source','_model','set','target','ck-suggestion--discard','ck-annotation__main','focus','getUserViewNotificationText','Accept\x20suggestion','execute','EXTERNAL_SUGGESTION','innerHTML','ck-annotation__info-time','ck-annotation__info','ck-suggestion__actions','ck-suggestion--accept','getExternalSuggestionNote','1400gIwUIP','isExternal','_createButton','ck-annotation__user','ck-annotation__content-wrapper','getTemplate','span','setTemplate','Discard\x20suggestion','ck-annotation','219196iUdTkK','18673jUdgYN','@external','EXTERNAL_IMPORT_WORD_AVATAR','focusTracker','add','ck-comment__external','authoredAt','ck-comment__info-time','locale','fire','shift+tab','ck-suggestion__info-name','time','focusFirst','push','1428000WjdAKN','focusables','discardButton','description','extendTemplate','div','acceptButton','name','importWord','acceptSuggestion','ck-suggestion__main','tab','bindTemplate','listenTo','_setupKeyboardNavigation','ck-suggestion__user','keystrokes','presentation','.ck-annotation__content-wrapper','element'];_0x18d4=function(){return _0x13fae2;};return _0x18d4();}import{View as _0x3d24be,ViewCollection as _0x5d0b14,FocusCycler as _0x47a1f9}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x3e8dfa,UserView as _0x97bf80}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x4b8e3e,IconCheck as _0x28e883}from'ckeditor5/src/icons.js';import{getTranslation as _0x4f1e75}from'../../utils/common-translations.js';export class SuggestionView extends _0x3d24be{[_0x5942a3(0x164)];[_0x5942a3(0x147)];[_0x5942a3(0x143)];[_0x5942a3(0x142)];[_0x5942a3(0x135)];[_0x5942a3(0x151)];[_0x5942a3(0x15c)];[_0x5942a3(0x171)];[_0x5942a3(0x15d)];constructor(_0x40831f,_0x245f36,_0x5c29d9){const _0x43b2b1=_0x5942a3;super(_0x40831f),this[_0x43b2b1(0x171)]=_0x245f36,this[_0x43b2b1(0x15d)]=_0x5c29d9,this[_0x43b2b1(0x172)](_0x43b2b1(0x144),''),this[_0x43b2b1(0x163)](_0x43b2b1(0x138))['to'](_0x245f36),this[_0x43b2b1(0x147)]=this[_0x43b2b1(0x129)](_0x4f1e75(_0x40831f,_0x43b2b1(0x11e)),_0x28e883,_0x43b2b1(0x125),_0x43b2b1(0x14a),'sw'),this[_0x43b2b1(0x143)]=this[_0x43b2b1(0x129)](_0x4f1e75(_0x40831f,_0x43b2b1(0x12f)),_0x4b8e3e,_0x43b2b1(0x174),_0x43b2b1(0x16b),'sw'),this[_0x43b2b1(0x164)]=new _0x97bf80(_0x40831f,_0x245f36[_0x43b2b1(0x16d)],this[_0x43b2b1(0x11d)]()),this[_0x43b2b1(0x164)][_0x43b2b1(0x145)]({'attributes':{'class':[_0x43b2b1(0x150),_0x43b2b1(0x12a)],'aria-hidden':!0x0}}),this[_0x43b2b1(0x142)]=new _0x5d0b14([this[_0x43b2b1(0x147)],this[_0x43b2b1(0x143)]]),this[_0x43b2b1(0x135)]=new _0x56d2a9(),this[_0x43b2b1(0x151)]=new _0x3daa9e(),this[_0x43b2b1(0x15c)]=new _0x47a1f9({'focusables':this[_0x43b2b1(0x142)],'focusTracker':this[_0x43b2b1(0x135)],'keystrokeHandler':this[_0x43b2b1(0x151)],'actions':{'focusPrevious':_0x43b2b1(0x13c),'focusNext':_0x43b2b1(0x14c)},'keystrokeHandlerOptions':{'filter':_0x5e44ca=>_0x5e44ca[_0x43b2b1(0x173)]!==this[_0x43b2b1(0x154)]}}),this[_0x43b2b1(0x12e)](this[_0x43b2b1(0x12c)]());}[_0x5942a3(0x165)](){const _0x21abdd=_0x5942a3;super[_0x21abdd(0x165)]();const _0x21489e=this[_0x21abdd(0x154)][_0x21abdd(0x167)](_0x21abdd(0x153));_0x21489e[_0x21abdd(0x121)]=this[_0x21abdd(0x144)],this['on'](_0x21abdd(0x16e),(_0x24c2e4,_0x57e8f4,_0x3910d3)=>{const _0xb2a951=_0x21abdd;_0x21489e[_0xb2a951(0x121)]=_0x3910d3;}),this[_0x21abdd(0x14f)]();}[_0x5942a3(0x12c)](){const _0x973bab=_0x5942a3,_0xe647cb=this[_0x973bab(0x14d)],_0x4a69d5=[{'tag':_0x973bab(0x146),'attributes':{'class':[_0x973bab(0x156),_0x973bab(0x123)]},'children':[{'tag':_0x973bab(0x12d),'children':[{'text':this[_0x973bab(0x164)][_0x973bab(0x148)]}],'attributes':{'class':[_0x973bab(0x13d),_0x973bab(0x16c)],'data-cke-tooltip-text':this[_0x973bab(0x164)][_0x973bab(0x148)]}},{'tag':_0x973bab(0x13e),'attributes':{'datetime':_0xe647cb['to'](_0x973bab(0x138)),'class':[_0x973bab(0x139),_0x973bab(0x122)]},'children':[{'text':_0xe647cb['to'](_0x973bab(0x138),_0x530d8e=>this[_0x973bab(0x15d)][_0x973bab(0x157)](_0x530d8e))}]}]},{'tag':_0x973bab(0x146),'attributes':{'class':[_0x973bab(0x124),_0x973bab(0x162)]},'children':[this[_0x973bab(0x147)],this[_0x973bab(0x143)]]},{'tag':_0x973bab(0x146),'attributes':{'class':[_0x973bab(0x12b)]}}];return this[_0x973bab(0x171)][_0x973bab(0x128)]&&_0x4a69d5[_0x973bab(0x140)]({'tag':_0x973bab(0x146),'attributes':{'class':[_0x973bab(0x137)]},'children':[{'text':this[_0x973bab(0x126)]()}]}),{'tag':_0x973bab(0x146),'attributes':{'class':[_0x973bab(0x166),_0x973bab(0x130)],'tabindex':-0x1},'children':[this[_0x973bab(0x164)],{'tag':_0x973bab(0x146),'attributes':{'class':[_0x973bab(0x14b),_0x973bab(0x175)],'role':_0x973bab(0x152)},'children':_0x4a69d5}]};}[_0x5942a3(0x176)](){const _0x532dec=_0x5942a3;this[_0x532dec(0x154)][_0x532dec(0x176)]();}[_0x5942a3(0x11d)](){const _0x412b92=_0x5942a3;return this[_0x412b92(0x171)][_0x412b92(0x128)]?_0x412b92(0x149)===this[_0x412b92(0x171)][_0x412b92(0x155)][_0x412b92(0x133)][_0x412b92(0x170)]?_0x4f1e75(this[_0x412b92(0x13a)],_0x412b92(0x134),this[_0x412b92(0x171)][_0x412b92(0x16f)][_0x412b92(0x148)]):_0x4f1e75(this[_0x412b92(0x13a)],_0x412b92(0x15e),this[_0x412b92(0x171)][_0x412b92(0x16f)][_0x412b92(0x148)]):null;}[_0x5942a3(0x126)](){const _0x503baf=_0x5942a3;return _0x503baf(0x149)===this[_0x503baf(0x171)][_0x503baf(0x155)][_0x503baf(0x133)][_0x503baf(0x170)]?_0x4f1e75(this[_0x503baf(0x13a)],_0x503baf(0x158)):_0x4f1e75(this[_0x503baf(0x13a)],_0x503baf(0x120));}[_0x5942a3(0x129)](_0x202c2f,_0x4b3dba,_0x399639,_0x233487,_0x472962){const _0x4bebcc=_0x5942a3,_0x57b5d3=new _0x3e8dfa(this[_0x4bebcc(0x13a)]);return _0x57b5d3[_0x4bebcc(0x172)]({'label':_0x202c2f,'icon':_0x4b3dba,'tooltip':!0x0,'tooltipPosition':_0x472962}),_0x57b5d3[_0x4bebcc(0x145)]({'attributes':{'class':_0x399639}}),_0x57b5d3['on'](_0x4bebcc(0x11f),()=>{const _0x5c95a1=_0x4bebcc;this[_0x5c95a1(0x13b)](_0x233487,this[_0x5c95a1(0x171)]['id']);}),_0x57b5d3;}[_0x5942a3(0x14f)](){const _0x40a4ca=_0x5942a3,_0xdc5a1a=this[_0x40a4ca(0x154)];this[_0x40a4ca(0x151)][_0x40a4ca(0x14e)](_0xdc5a1a);for(const _0x33f124 of this[_0x40a4ca(0x142)])this[_0x40a4ca(0x135)][_0x40a4ca(0x136)](_0x33f124[_0x40a4ca(0x154)]),this[_0x40a4ca(0x151)][_0x40a4ca(0x14e)](_0x33f124[_0x40a4ca(0x154)]);this[_0x40a4ca(0x151)][_0x40a4ca(0x172)](_0x40a4ca(0x161),(_0x28fa6a,_0x38110d)=>{const _0x4f3a77=_0x40a4ca;_0xdc5a1a===_0x28fa6a[_0x4f3a77(0x173)]&&(this[_0x4f3a77(0x15c)][_0x4f3a77(0x13f)](),_0x38110d());}),this[_0x40a4ca(0x151)][_0x40a4ca(0x172)](_0x40a4ca(0x16a),(_0x4c8c46,_0x3bd27d)=>{const _0x5124bb=_0x40a4ca;_0xdc5a1a!==_0x4c8c46[_0x5124bb(0x173)]&&(this[_0x5124bb(0x176)](),_0x3bd27d());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3315(_0x2fe834,_0x4d18c2){const _0x5ce8dc=_0x5ce8();return _0x3315=function(_0x331563,_0x6d196b){_0x331563=_0x331563-0x11c;let _0x4abda4=_0x5ce8dc[_0x331563];return _0x4abda4;},_0x3315(_0x2fe834,_0x4d18c2);}const _0x268b15=_0x3315;(function(_0x5cdc99,_0x496fd4){const _0x1d713b=_0x3315,_0x3b9a5b=_0x5cdc99();while(!![]){try{const _0xb66430=parseInt(_0x1d713b(0x128))/0x1+-parseInt(_0x1d713b(0x11e))/0x2*(-parseInt(_0x1d713b(0x12e))/0x3)+-parseInt(_0x1d713b(0x13f))/0x4*(-parseInt(_0x1d713b(0x120))/0x5)+parseInt(_0x1d713b(0x124))/0x6*(parseInt(_0x1d713b(0x122))/0x7)+parseInt(_0x1d713b(0x129))/0x8+-parseInt(_0x1d713b(0x134))/0x9*(parseInt(_0x1d713b(0x11c))/0xa)+-parseInt(_0x1d713b(0x11d))/0xb*(parseInt(_0x1d713b(0x137))/0xc);if(_0xb66430===_0x496fd4)break;else _0x3b9a5b['push'](_0x3b9a5b['shift']());}catch(_0x28dcea){_0x3b9a5b['push'](_0x3b9a5b['shift']());}}}(_0x5ce8,0xab078));import{View as _0x1f8629}from'ckeditor5/src/ui.js';function _0x5ce8(){const _0x3c1312=['225885WgcEMf','fire','focus','options','content','dialogRects','1962LQYfco','setPreviewData','setTemplate','1176RCEoSl','classes','\x20ck-track-changes-preview__root-container','setAttribute','className','width','push','ck-track-changes-preview','56080JLxaWX','44570sPiXiL','264088VTIrbo','14RksVmE','render','125bbkwpK','innerHTML','763wHBNsY','previewDataReady','73734MyLFYW','ck-reset','element','div','809468NqTmBd','7987296WnpZWL','style','createElement','height','data-ck-root-name'];_0x5ce8=function(){return _0x3c1312;};return _0x5ce8();}export class TrackChangesPreviewView extends _0x1f8629{[_0x268b15(0x131)];constructor(_0x479346,_0x3a9915){const _0x56936e=_0x268b15;super(_0x479346),this[_0x56936e(0x131)]=_0x3a9915,this[_0x56936e(0x136)]({'tag':_0x56936e(0x127),'attributes':{'class':['ck',_0x56936e(0x125),_0x56936e(0x13e)],'tabindex':-0x1}});}[_0x268b15(0x11f)](){const _0x20fef4=_0x268b15;super[_0x20fef4(0x11f)](),this[_0x20fef4(0x126)][_0x20fef4(0x12a)][_0x20fef4(0x13c)]=this[_0x20fef4(0x131)][_0x20fef4(0x133)][_0x20fef4(0x13c)]+'px',this[_0x20fef4(0x126)][_0x20fef4(0x12a)][_0x20fef4(0x12c)]=this[_0x20fef4(0x131)][_0x20fef4(0x133)][_0x20fef4(0x12c)]+'px';}[_0x268b15(0x135)](_0x14acff,_0x5c6b46){const _0x1e90a5=_0x268b15;if(!this[_0x1e90a5(0x126)])return;const _0xb4b2fb=[];for(const [_0x104944,_0xebb594]of _0x14acff){const _0x3d28ae=document[_0x1e90a5(0x12b)](_0x1e90a5(0x127));_0x3d28ae[_0x1e90a5(0x13a)](_0x1e90a5(0x12d),_0x104944),_0x3d28ae[_0x1e90a5(0x13b)]=_0xebb594[_0x1e90a5(0x138)]+_0x1e90a5(0x139),_0x3d28ae[_0x1e90a5(0x121)]=_0xebb594[_0x1e90a5(0x132)],_0xb4b2fb[_0x1e90a5(0x13d)](_0x3d28ae);}_0x5c6b46(this[_0x1e90a5(0x126)],_0xb4b2fb),this[_0x1e90a5(0x126)][_0x1e90a5(0x12a)][_0x1e90a5(0x12c)]='',this[_0x1e90a5(0x12f)](_0x1e90a5(0x123));}[_0x268b15(0x130)](){const _0x29e5d1=_0x268b15;this[_0x29e5d1(0x126)][_0x29e5d1(0x130)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x3e3a99,_0x3a1891,_0x345311){const _0x1953b3=_0x3e3a99['t'],t=_0x3e3a99['t'];switch(_0x3a1891){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',_0x345311);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x345311);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x345311);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x345311);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x345311);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',_0x345311);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x345311);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',_0x345311);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x345311);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x345311);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x345311);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x345311);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x345311);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x345311);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x345311);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x345311);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x345311);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x345311);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x345311);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x345311);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x345311);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x345311);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x345311);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x345311);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x345311);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'},_0x345311);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x345311);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x345311);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x345311);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x345311);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x345311);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x345311);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x345311);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'},_0x345311);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x345311);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x345311);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x345311);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x345311);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x345311);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x345311);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'},_0x345311);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x345311);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x345311);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'},_0x345311);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x345311);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'},_0x345311);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x345311);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x345311);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x345311);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x345311);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x345311);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'},_0x345311);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x345311);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 _0x1953b3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x345311);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1953b3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x345311);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x345311);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'},_0x345311);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'},_0x345311);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'},_0x345311);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3a1891;}}
|
|
23
|
+
export function getTranslation(_0x3ff62e,_0x4e4d3a,_0xafe41c){const _0x2e94e6=_0x3ff62e['t'],t=_0x3ff62e['t'];switch(_0x4e4d3a){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',_0xafe41c);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xafe41c);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xafe41c);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xafe41c);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xafe41c);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',_0xafe41c);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xafe41c);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',_0xafe41c);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xafe41c);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xafe41c);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xafe41c);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xafe41c);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xafe41c);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xafe41c);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xafe41c);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xafe41c);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xafe41c);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xafe41c);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xafe41c);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xafe41c);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xafe41c);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xafe41c);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xafe41c);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xafe41c);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xafe41c);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'},_0xafe41c);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xafe41c);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xafe41c);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xafe41c);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xafe41c);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xafe41c);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xafe41c);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xafe41c);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'},_0xafe41c);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xafe41c);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xafe41c);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xafe41c);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xafe41c);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xafe41c);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xafe41c);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'},_0xafe41c);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xafe41c);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xafe41c);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'},_0xafe41c);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xafe41c);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'},_0xafe41c);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xafe41c);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0xafe41c);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0xafe41c);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0xafe41c);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xafe41c);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'},_0xafe41c);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xafe41c);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 _0x2e94e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xafe41c);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2e94e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xafe41c);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xafe41c);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'},_0xafe41c);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'},_0xafe41c);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'},_0xafe41c);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4e4d3a;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40c998,_0x4e776a){const _0x194d50=_0x40bf,_0x3d8e29=_0x40c998();while(!![]){try{const _0x34c8a1=-parseInt(_0x194d50(0x10b))/0x1*(parseInt(_0x194d50(0x10f))/0x2)+-parseInt(_0x194d50(0x11b))/0x3+parseInt(_0x194d50(0xfe))/0x4+-parseInt(_0x194d50(0xed))/0x5*(-parseInt(_0x194d50(0x107))/0x6)+-parseInt(_0x194d50(0x112))/0x7*(parseInt(_0x194d50(0xee))/0x8)+-parseInt(_0x194d50(0x10e))/0x9+-parseInt(_0x194d50(0x113))/0xa*(-parseInt(_0x194d50(0x11d))/0xb);if(_0x34c8a1===_0x4e776a)break;else _0x3d8e29['push'](_0x3d8e29['shift']());}catch(_0x40c697){_0x3d8e29['push'](_0x3d8e29['shift']());}}}(_0x34e0,0xdbfb6));export function normalizeDescription(_0x54c131){const _0xeb1c83=_0x40bf;return Array[_0xeb1c83(0x118)](_0x54c131)||(_0x54c131=[_0x54c131]),_0x54c131[_0xeb1c83(0xf8)](_0x8ea19=>{const _0x45bd22=_0xeb1c83,_0x5e629a=_0x8ea19[_0x45bd22(0xf3)][_0x45bd22(0x10d)](/\*/g,''),_0x4db0ef=_0x8ea19[_0x45bd22(0xfb)]?_0x45bd22(0x117)+_0x8ea19[_0x45bd22(0xfb)][_0x45bd22(0x108)]+']':'';return'['+_0x8ea19[_0x45bd22(0xe8)]+']\x20'+_0x5e629a+_0x4db0ef;})[_0xeb1c83(0x116)](';\x20');}export function renderDescription(_0x3eadbb,_0x2769ff){const _0x5a1afa=_0x40bf;let _0x401790='';return _0x401790+=_0x3eadbb[_0x5a1afa(0x10c)]('*')[_0x5a1afa(0xf8)]((_0x2353c4,_0x32177f)=>_0x32177f%0x2!=0x0?_0x5a1afa(0x111)+rn(_0x2353c4)+_0x5a1afa(0x101):rn(_0x2353c4))[_0x5a1afa(0x116)](''),_0x2769ff&&(_0x401790+=_0x5a1afa(0x11f)+_0x2769ff[_0x5a1afa(0x108)]+_0x5a1afa(0x104)+_0x2769ff[_0x5a1afa(0x109)]+_0x5a1afa(0x11a)),_0x401790;}function rn(_0x5ce050){const _0x649239=_0x40bf,_0x2d0fc4=document[_0x649239(0x110)](_0x649239(0xf4));return _0x2d0fc4[_0x649239(0xff)]=_0x5ce050,_0x2d0fc4[_0x649239(0xfc)];}function _0x40bf(_0x22ed05,_0x28bdd8){const _0x34e0f3=_0x34e0();return _0x40bf=function(_0x40bf43,_0xfcc8e7){_0x40bf43=_0x40bf43-0xe8;let _0x4c4d35=_0x34e0f3[_0x40bf43];return _0x4c4d35;},_0x40bf(_0x22ed05,_0x28bdd8);}export function sortSuggestions(_0x19e803){const _0x2840e1=_0x40bf;return _0x19e803[_0x2840e1(0x114)]((_0x12fb22,_0x59b7c7)=>_0x2840e1(0xf2)===_0x12fb22[_0x2840e1(0xe8)]&&_0x2840e1(0xf2)!==_0x59b7c7[_0x2840e1(0xe8)]?-0x1:_0x2840e1(0xf2)!==_0x12fb22[_0x2840e1(0xe8)]&&_0x2840e1(0xf2)===_0x59b7c7[_0x2840e1(0xe8)]?0x1:_0x2840e1(0xf6)==_0x12fb22[_0x2840e1(0xe8)]&&_0x2840e1(0xf6)!=_0x59b7c7[_0x2840e1(0xe8)]?-0x1:_0x2840e1(0xf6)!=_0x12fb22[_0x2840e1(0xe8)]&&_0x2840e1(0xf6)==_0x59b7c7[_0x2840e1(0xe8)]?0x1:0x0);}export function getSelectedSuggestions(_0x30755a,_0x5ca27d){const _0x509374=_0x40bf,_0x3dd4c8=Array[_0x509374(0x11c)](_0x30755a[_0x509374(0xe9)]()),_0xaacf29=new Set();for(const _0x2ac7ea of _0x5ca27d)if(_0x2ac7ea[_0x509374(0x115)]){for(const _0x436fcc of _0x3dd4c8)for(const _0x938f6 of _0x2ac7ea[_0x509374(0xe9)]())(_0x436fcc[_0x509374(0x10a)](_0x938f6)||_0x30755a[_0x509374(0xfa)]&&!_0x2ac7ea[_0x509374(0x100)]&&_0x2ac7ea[_0x509374(0x102)]&&_0x938f6[_0x509374(0x11e)][_0x509374(0xf1)](_0x436fcc[_0x509374(0xea)]))&&_0xaacf29[_0x509374(0x106)](_0x2ac7ea);}return _0xaacf29;}function _0x34e0(){const _0x3c2a6a=['schema','isTouching','attribute','content','span','change','deletion','isObject','map','createPositionAt','isCollapsed','color','innerHTML','push','115072OPWFxs','innerText','isMultiRange','</span>','next','createPositionBefore','\x22\x20title=\x22','createPositionAfter','add','66hATWca','value','title','isIntersecting','172171CZWwAi','split','replace','4489605IphzIJ','4sHBLgK','createElement','<span\x20class=\x22ck-suggestion-type\x22>','150472MqwZRS','20MwfVsc','sort','isInContent','join','\x20[color\x20','isArray','length','\x22></span>','2626845ihjZWD','from','18334019ROFZZp','end','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','type','getRanges','start','createRange','splice','248810JtGGLT','480YBddaB','execute'];_0x34e0=function(){return _0x3c2a6a;};return _0x34e0();}export function getRangesOfBlockGroups(_0x5bb78a,_0x1dbe54){const _0x3d94e4=_0x40bf;let _0x4225b2,_0x1ce27c=0x0;const _0x576e5d=[],_0x3f5127=_0x1dbe54[_0x3d94e4(0xf0)];for(;_0x1ce27c<_0x5bb78a[_0x3d94e4(0x119)];){const _0x1d9b73=_0x5bb78a[_0x1ce27c],_0x500482=_0x5bb78a[_0x1ce27c+0x1];_0x4225b2||(_0x4225b2=_0x1dbe54[_0x3d94e4(0x103)](_0x1d9b73)),cn(_0x1dbe54,_0x1d9b73,_0x500482)||(_0x576e5d[_0x3d94e4(0xfd)](_0x1dbe54[_0x3d94e4(0xeb)](_0x4225b2,_0x3f5127[_0x3d94e4(0xf7)](_0x1d9b73)?_0x1dbe54[_0x3d94e4(0x105)](_0x1d9b73):_0x1dbe54[_0x3d94e4(0xf9)](_0x1d9b73,_0x3d94e4(0x11e)))),_0x4225b2=null),_0x1ce27c++;}return _0x576e5d;}function cn(_0x400879,_0x10669b,_0x5d168b){const _0x57d16a=_0x40bf;if(!_0x5d168b)return!0x1;const _0x5e5c22=_0x400879[_0x57d16a(0x105)](_0x10669b),_0x5f0dc8=_0x400879[_0x57d16a(0x103)](_0x5d168b);return _0x5e5c22[_0x57d16a(0xf1)](_0x5f0dc8);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x49d27c,_0x4e7a6c,_0x4a256c){const _0x4779f5=_0x40bf;for(;_0x4a256c[_0x4779f5(0x119)];){const _0x1ecb6b=_0x4a256c[_0x4779f5(0xec)](0x0,0x64);_0x49d27c[_0x4779f5(0xf5)](()=>{const _0xabe087=_0x4779f5;for(const _0x44aefc of _0x1ecb6b)_0x44aefc[_0xabe087(0x115)]&&_0x4e7a6c[_0xabe087(0xef)](_0x44aefc['id']);});}}
|