@ckeditor/ckeditor5-track-changes 44.2.1 → 44.3.0-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 +3 -3
- 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/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 +25 -25
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/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 +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.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
|
-
function
|
|
23
|
+
const _0x393daa=_0x5c93;function _0x1caf(){const _0x2504f9=['isPremiumPlugin','config','498570QfbtHX','define','commands','4730520rZPlAz','631045yCzpMl','1723792hOPZsS','1226686BCOUgj','84GhMbKM','736830KKXFuw','requires','1044682jRUnjH','isOfficialPlugin','pluginName','previewFinalContent','TrackChangesPreview','add','trackChanges.preview.renderFunction','appendChild','editor'];_0x1caf=function(){return _0x2504f9;};return _0x1caf();}(function(_0x254353,_0x49b725){const _0xa6f6db=_0x5c93,_0x336e50=_0x254353();while(!![]){try{const _0x2b0266=-parseInt(_0xa6f6db(0x151))/0x1+-parseInt(_0xa6f6db(0x14d))/0x2+-parseInt(_0xa6f6db(0x14f))/0x3+parseInt(_0xa6f6db(0x14a))/0x4+parseInt(_0xa6f6db(0x14b))/0x5+-parseInt(_0xa6f6db(0x147))/0x6*(-parseInt(_0xa6f6db(0x14e))/0x7)+parseInt(_0xa6f6db(0x14c))/0x8;if(_0x2b0266===_0x49b725)break;else _0x336e50['push'](_0x336e50['shift']());}catch(_0x76861e){_0x336e50['push'](_0x336e50['shift']());}}}(_0x1caf,0x96d5a));import{Plugin as _0x3a051d}from'ckeditor5/src/core.js';import{Dialog as _0x4a1c1f}from'ckeditor5/src/ui.js';import _0x2c55ad from'./trackchangesdata.js';import _0x52f669 from'./commands/previewfinalcontentcommand.js';function _0x5c93(_0x532230,_0xc1250e){const _0x1cafff=_0x1caf();return _0x5c93=function(_0x5c939e,_0xb47182){_0x5c939e=_0x5c939e-0x144;let _0x9a160=_0x1cafff[_0x5c939e];return _0x9a160;},_0x5c93(_0x532230,_0xc1250e);}import'../theme/trackchangespreview.css';export default class te extends _0x3a051d{static get[_0x393daa(0x150)](){return[_0x2c55ad,_0x4a1c1f];}static get[_0x393daa(0x153)](){const _0x92d568=_0x393daa;return _0x92d568(0x155);}static get[_0x393daa(0x152)](){return!0x0;}static get[_0x393daa(0x145)](){return!0x0;}constructor(_0x505166){const _0x403815=_0x393daa;super(_0x505166),_0x505166[_0x403815(0x149)][_0x403815(0x156)](_0x403815(0x154),new _0x52f669(this[_0x403815(0x144)])),_0x505166[_0x403815(0x146)][_0x403815(0x148)](_0x403815(0x157),(_0x39a85b,_0x4e3aac)=>{const _0x22e565=_0x403815;for(const _0x111b12 of _0x4e3aac)_0x39a85b[_0x22e565(0x158)](_0x111b12);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x10f17b=_0x1692;(function(_0x17e358,_0x5a36c9){const _0x293038=_0x1692,_0x453710=_0x17e358();while(!![]){try{const _0x175981=parseInt(_0x293038(0x14c))/0x1*(parseInt(_0x293038(0x130))/0x2)+-parseInt(_0x293038(0x153))/0x3*(-parseInt(_0x293038(0x13b))/0x4)+-parseInt(_0x293038(0x194))/0x5+-parseInt(_0x293038(0x14f))/0x6*(-parseInt(_0x293038(0x147))/0x7)+-parseInt(_0x293038(0x19c))/0x8*(parseInt(_0x293038(0x18c))/0x9)+-parseInt(_0x293038(0x135))/0xa+-parseInt(_0x293038(0x154))/0xb*(-parseInt(_0x293038(0x1d0))/0xc);if(_0x175981===_0x5a36c9)break;else _0x453710['push'](_0x453710['shift']());}catch(_0x1d3dd0){_0x453710['push'](_0x453710['shift']());}}}(_0x128c,0xe2f4c));import{Plugin as _0x4dcc26}from'ckeditor5/src/core.js';import{Collection as _0x3549fd}from'ckeditor5/src/utils.js';import{addListToDropdown as _0xf83491,createDropdown as _0x4aee17,ListSeparatorView as _0x391249,MenuBarMenuView as _0x59d7bf,MenuBarMenuListView as _0x207f1f,MenuBarMenuListItemView as _0x36084a,MenuBarMenuListItemButtonView as _0x25fbea,SplitButtonView as _0x50b510,ViewModel as _0x4eb6fa}from'ckeditor5/src/ui.js';import{Users as _0x3843bb,getDateTimeFormatter as _0x2c09f3,getAllMarkersDomElementsSorted as _0x50ee1a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x41a168 from'./trackchangesediting.js';function _0x1692(_0x5df709,_0x48a417){const _0x128c9a=_0x128c();return _0x1692=function(_0x169270,_0xc571b9){_0x169270=_0x169270-0x130;let _0x668da9=_0x128c9a[_0x169270];return _0x668da9;},_0x1692(_0x5df709,_0x48a417);}import _0x3aa977 from'./ui/suggestioncontroller.js';import _0x169c00 from'./ui/view/suggestionthreadview.js';import _0x3f8892 from'./ui/view/suggestionview.js';import{getTranslation as _0x223c58}from'./utils/common-translations.js';import _0x2e24a1 from'../theme/icons/track-changes.svg';function _0x128c(){const _0x5b94a8=['menu','_destroyController','trialLimit','comments.maxCommentsWhenCollapsed','_createToolbarButton','requires','trackChangesLicenseKeyEvaluationLimit','Annotations','13791699hMashL','getDescriptions','CommentsUI','getByInnerView','lowest','escape','SuggestionView','toMany','6163080wyPIKa','unbind','menuitemcheckbox','buttonView','innerView','getJoined','isOfficialPlugin','TrackChangesUI','8nkkjvw','trackChangesLicenseKeyValid','getAllAdjacentSuggestions','isInContent','Accept\x20all\x20suggestions','some','execute','_handleControllerBuffer','isDirty','editing','mainView','suggestion-','trackChangesLicenseKeyInvalid','suggestionUnloaded','children','hasSuggestion','usageLimit','actionView','SuggestionThreadView','pluginName','TrackChanges','model','_unbindEditors','activeMarkers','addMany','trackChanges.SuggestionThreadView','button','EditorAnnotations','registerAnnotation','define','trackChangesLicenseKeyTrialLimit','acceptButton','_bindAnnotationToEditors','delegate','_handleSuggestionControllerDelayed','discardAllSuggestions','source','comments.maxCommentCharsWhenCollapsed','TrackChangesEditing','getRanges','set','discardButton','_licenseKeyCheckInterval','invalid','isMultiRange','isPremiumPlugin','switchbutton','Discard\x20all\x20suggestions','_refreshActiveMarkers','commandName','destroy','_annotationViews','319224hMybvl','previewFinalContent','trackChanges.disableComments','suggestionView','plugins','activeAnnotations','filter','createAnnotation','featureNotAllowed','discardSelectedSuggestions','CommentView','view','remove','expired','addComment','_viewToController','domainLimit','trackChanges.SuggestionView','6jkDQGd','_disableComments','reduce','menuBar:trackChanges','head','15404960gfeZIB','trackChangesLicenseKeyDomainLimit','CommentsRepository','length','isEnabled','separator','2327404YSaMyv','comments','_updateController','comments.editorConfig','isOn','_suggestionToController','createAnnotationView','editor','init','getMarkerNames','_addUIComponentsToFactory','componentFactory','14BcQhQT','items','getMarkers','_initializeController','arrowView','403307flwWtj','suggestionChanged','Track\x20changes','2678892FOOmPI','suggestionLoaded','trackChangesLicenseKeyUsageLimit','type','6GAKBxB','814Zcyldp','commentThread','Discard\x20all\x20selected\x20suggestions','menuitem','panelView','getFirstRange','commands','_createMenuBarMenu','get','fire','delete','descriptionFactory','createCommentThreadController','licenseKey','push','TrackChangesPreview','Preview\x20final\x20content','from','commentsListView','trackChanges','config','evaluationLimit','acceptSelectedSuggestions','comments.maxThreadTotalWeight','values','locale','change:activeAnnotations','bind','refreshSelectedViews','previous','addSourceCollector','has','focus','size','acceptAllSuggestions','clear','stopListening','getSuggestion','descriptionParts','trackChangesLicenseKeyExpired','listenTo','Accept\x20all\x20selected\x20suggestions','value','_showLicenseError','change:previous','trackChangesLicenseKeyNotAllowed','add','keys'];_0x128c=function(){return _0x5b94a8;};return _0x128c();}export default class d extends _0x4dcc26{static get[_0x10f17b(0x189)](){const _0x3af234=_0x10f17b;return[_0x41a168,_0x3843bb,_0x3af234(0x137),_0x3af234(0x18b),_0x3af234(0x1b7)];}static get[_0x10f17b(0x1af)](){const _0x3608ea=_0x10f17b;return _0x3608ea(0x19b);}static get[_0x10f17b(0x19a)](){return!0x0;}static get[_0x10f17b(0x1c9)](){return!0x0;}constructor(_0x4f2d7a){const _0x438e85=_0x10f17b;super(_0x4f2d7a),this[_0x438e85(0x140)]=new Map(),this[_0x438e85(0x1df)]=new Map(),this[_0x438e85(0x1cf)]=new Map(),this[_0x438e85(0x1a3)]=new Map();const _0x588f63=this[_0x438e85(0x142)][_0x438e85(0x168)];_0x588f63[_0x438e85(0x1b9)](_0x438e85(0x1b5),_0x169c00),_0x588f63[_0x438e85(0x1b9)](_0x438e85(0x1e1),_0x3f8892),_0x588f63[_0x438e85(0x1b9)](_0x438e85(0x1d2),!0x1),this[_0x438e85(0x131)]=_0x588f63[_0x438e85(0x15c)](_0x438e85(0x1d2));}[_0x10f17b(0x1be)](_0x21db9a,_0x515635){const _0x420611=_0x10f17b;0x0===this[_0x420611(0x1a3)][_0x420611(0x175)]&&setTimeout(()=>{const _0x113a42=_0x420611;for(const [_0x312190,_0x24cbc9]of this[_0x113a42(0x1a3)]){const _0x14e533=this[_0x113a42(0x140)][_0x113a42(0x173)](_0x312190);_0x14e533||_0x24cbc9?_0x14e533&&_0x24cbc9&&this[_0x113a42(0x185)](_0x312190):this[_0x113a42(0x14a)](_0x312190);}this[_0x113a42(0x1a3)][_0x113a42(0x177)](),this[_0x113a42(0x142)][_0x113a42(0x1d4)][_0x113a42(0x15c)](_0x113a42(0x1b7))[_0x113a42(0x170)](),this[_0x113a42(0x1cc)]();},0xa),this[_0x420611(0x1a3)][_0x420611(0x1c4)](_0x21db9a,_0x515635);}[_0x10f17b(0x143)](){const _0x276f7f=_0x10f17b,_0xa43dcd=this[_0x276f7f(0x142)],_0x27f425=_0xa43dcd[_0x276f7f(0x1d4)][_0x276f7f(0x15c)](_0x276f7f(0x1c2)),_0x4ba770=_0xa43dcd[_0x276f7f(0x1d4)][_0x276f7f(0x15c)](_0x276f7f(0x18b)),_0x3c2864=_0xa43dcd[_0x276f7f(0x1d4)][_0x276f7f(0x15c)](_0x276f7f(0x1b7)),_0x26f1fb=_0xa43dcd[_0x276f7f(0x1d4)][_0x276f7f(0x15c)](_0x276f7f(0x137));this[_0x276f7f(0x145)](),_0x3c2864[_0x276f7f(0x172)](()=>{const _0x3ca05a=_0x276f7f,_0x26e44c=[];for(const [_0x121bf9,_0x287d57]of Array[_0x3ca05a(0x165)](this[_0x3ca05a(0x140)])){const _0x5683ec=_0x121bf9[_0x3ca05a(0x19e)](),_0x322c68=[];for(const _0x496fb8 of _0x5683ec){if(!_0x496fb8[_0x3ca05a(0x19f)])continue;if(_0x496fb8[_0x3ca05a(0x1c8)]){_0x322c68[_0x3ca05a(0x162)](..._0x496fb8[_0x3ca05a(0x1c3)]());continue;}const _0x1e1913=_0x496fb8[_0x3ca05a(0x159)]();if(_0x322c68[_0x3ca05a(0x138)]>0x0){const _0x320843=_0x322c68[0x0][_0x3ca05a(0x199)](_0x1e1913);if(_0x320843){_0x322c68[0x0]=_0x320843;continue;}}_0x322c68[_0x3ca05a(0x162)](_0x1e1913);}_0x26e44c[_0x3ca05a(0x162)]([_0x287d57[_0x3ca05a(0x1db)],_0x322c68]);}return _0x26e44c;}),this[_0x276f7f(0x17c)](_0x27f425,_0x276f7f(0x150),(_0x36d0f9,_0x5f42cd)=>{const _0x3701c1=_0x276f7f;this[_0x3701c1(0x17c)](_0x5f42cd,_0x3701c1(0x180),(_0x378ada,_0x3fa285,_0x1621fa,_0x2c0baf)=>{const _0x4081df=_0x3701c1;_0x5f42cd[_0x4081df(0x19f)]&&(null==_0x1621fa?(this[_0x4081df(0x13d)](_0x2c0baf[_0x4081df(0x134)]),this[_0x4081df(0x1be)](_0x5f42cd,!0x1)):(this[_0x4081df(0x13d)](_0x1621fa[_0x4081df(0x134)]),null==_0x2c0baf&&this[_0x4081df(0x1be)](_0x5f42cd,!0x0)));}),null!==_0x5f42cd[_0x3701c1(0x171)]?this[_0x3701c1(0x13d)](_0x5f42cd[_0x3701c1(0x134)]):this[_0x3701c1(0x1be)](_0x5f42cd,!0x1);}),this[_0x276f7f(0x17c)](_0x27f425,_0x276f7f(0x1a9),(_0x362d25,_0x12c847,_0xd097e2)=>{const _0x50ebad=_0x276f7f;this[_0x50ebad(0x178)](_0x12c847,_0x50ebad(0x180)),this[_0x50ebad(0x1a3)][_0x50ebad(0x15e)](_0x12c847),this[_0x50ebad(0x140)][_0x50ebad(0x173)](_0x12c847)&&this[_0x50ebad(0x185)](_0x12c847),_0xd097e2&&this[_0x50ebad(0x13d)](_0xd097e2[_0x50ebad(0x134)]);}),this[_0x276f7f(0x17c)](_0x27f425,_0x276f7f(0x14d),(_0x16b3a7,_0x2f4426)=>{const _0xae5714=_0x276f7f;this[_0xae5714(0x13d)](_0x2f4426);}),this[_0x276f7f(0x17c)](_0x4ba770,_0x276f7f(0x16e),()=>{const _0x480f6c=_0x276f7f;this[_0x480f6c(0x1cc)]();}),this[_0x276f7f(0x17c)](_0x26f1fb,_0x276f7f(0x1de),(_0x2ddfe3,{threadId:_0x2b7824,isFromAdapter:_0xd9ecbc})=>{const _0x5f3d98=_0x276f7f;if(_0xd9ecbc||!_0x27f425[_0x5f3d98(0x1ab)](_0x2b7824))return;const _0x95c9ad=_0x27f425[_0x5f3d98(0x179)](_0x2b7824);this[_0x5f3d98(0x140)][_0x5f3d98(0x15c)](_0x95c9ad)[_0x5f3d98(0x1db)][_0x5f3d98(0x166)][_0x5f3d98(0x174)](-0x1);},{'priority':_0x276f7f(0x190)}),this[_0x276f7f(0x161)]=this[_0x276f7f(0x142)][_0x276f7f(0x168)][_0x276f7f(0x15c)](_0x276f7f(0x161));const _0x5aa01a=this[_0x276f7f(0x142)];this[_0x276f7f(0x1c6)]=setInterval(()=>{const _0x23c5fb=_0x276f7f;let _0x5a4935;for(const _0x1f9752 in _0x5aa01a){const _0x375e77=_0x1f9752,_0x55d363=_0x5aa01a[_0x375e77];if(_0x23c5fb(0x19d)==_0x55d363||_0x23c5fb(0x1a8)==_0x55d363||_0x23c5fb(0x17b)==_0x55d363||_0x23c5fb(0x136)==_0x55d363||_0x23c5fb(0x181)==_0x55d363||_0x23c5fb(0x18a)==_0x55d363||_0x23c5fb(0x1ba)==_0x55d363||_0x23c5fb(0x151)==_0x55d363){delete _0x5aa01a[_0x375e77],_0x5a4935=_0x55d363,clearInterval(this[_0x23c5fb(0x1c6)]),this[_0x23c5fb(0x1c6)]=void 0x0;break;}}_0x23c5fb(0x1a8)==_0x5a4935&&_0x5aa01a[_0x23c5fb(0x17f)](_0x23c5fb(0x1c7)),_0x23c5fb(0x17b)==_0x5a4935&&_0x5aa01a[_0x23c5fb(0x17f)](_0x23c5fb(0x1dd)),_0x23c5fb(0x136)==_0x5a4935&&_0x5aa01a[_0x23c5fb(0x17f)](_0x23c5fb(0x1e0)),_0x23c5fb(0x181)==_0x5a4935&&_0x5aa01a[_0x23c5fb(0x17f)](_0x23c5fb(0x1d8),_0x23c5fb(0x1b0)),_0x23c5fb(0x18a)==_0x5a4935&&_0x5aa01a[_0x23c5fb(0x17f)](_0x23c5fb(0x169)),_0x23c5fb(0x1ba)==_0x5a4935&&_0x5aa01a[_0x23c5fb(0x17f)](_0x23c5fb(0x186)),_0x23c5fb(0x151)==_0x5a4935&&_0x5aa01a[_0x23c5fb(0x17f)](_0x23c5fb(0x1ac));},0x3e8);}[_0x10f17b(0x1cc)](){const _0x5980e0=_0x10f17b,_0x1fbf31=this[_0x5980e0(0x142)][_0x5980e0(0x1d4)][_0x5980e0(0x15c)](_0x5980e0(0x18b)),_0x3e3af5=this[_0x5980e0(0x142)][_0x5980e0(0x1d4)][_0x5980e0(0x15c)](_0x5980e0(0x1c2)),_0x19d6e4=Array[_0x5980e0(0x165)](_0x1fbf31[_0x5980e0(0x1d5)],_0x285c92=>_0x285c92[_0x5980e0(0x198)])[_0x5980e0(0x1d6)](_0x8636a9=>this[_0x5980e0(0x1df)][_0x5980e0(0x173)](_0x8636a9)),_0x167154=[];for(const _0x54a308 of _0x19d6e4){const _0x4edd1f=this[_0x5980e0(0x1df)][_0x5980e0(0x15c)](_0x54a308)[_0x5980e0(0x1b1)][_0x5980e0(0x19e)]();_0x167154[_0x5980e0(0x162)](..._0x4edd1f[_0x5980e0(0x132)]((_0x5b0a77,_0x55b161)=>[..._0x5b0a77,..._0x55b161[_0x5980e0(0x144)]()],[]));}_0x3e3af5[_0x5980e0(0x1b3)]=_0x167154;}[_0x10f17b(0x145)](){const _0x547c71=_0x10f17b,_0x1728f0=this[_0x547c71(0x142)],_0x1950b0=_0x1728f0[_0x547c71(0x16d)],_0x34155b=_0x223c58(_0x1950b0,_0x547c71(0x14e)),_0x2987a4=new _0x3549fd([{'type':_0x547c71(0x1ca),'model':new _0x4eb6fa({'withText':!0x0,'isToggleable':!0x0,'label':_0x34155b,'commandName':_0x547c71(0x167),'role':_0x547c71(0x196)})},{'type':_0x547c71(0x13a)},{'type':_0x547c71(0x1b6),'model':new _0x4eb6fa({'withText':!0x0,'label':_0x223c58(_0x1950b0,_0x547c71(0x1a0)),'commandName':_0x547c71(0x176),'role':_0x547c71(0x157)})},{'type':_0x547c71(0x1b6),'model':new _0x4eb6fa({'withText':!0x0,'label':_0x223c58(_0x1950b0,_0x547c71(0x17d)),'commandName':_0x547c71(0x16a),'role':_0x547c71(0x157)})},{'type':_0x547c71(0x1b6),'model':new _0x4eb6fa({'withText':!0x0,'label':_0x223c58(_0x1950b0,_0x547c71(0x1cb)),'commandName':_0x547c71(0x1bf),'role':_0x547c71(0x157)})},{'type':_0x547c71(0x1b6),'model':new _0x4eb6fa({'withText':!0x0,'label':_0x223c58(_0x1950b0,_0x547c71(0x156)),'commandName':_0x547c71(0x1d9),'role':_0x547c71(0x157)})}]);_0x1728f0[_0x547c71(0x1d4)][_0x547c71(0x173)](_0x547c71(0x163))&&_0x2987a4[_0x547c71(0x1b4)]([{'type':_0x547c71(0x13a)},{'type':_0x547c71(0x1b6),'model':new _0x4eb6fa({'withText':!0x0,'label':_0x223c58(_0x1950b0,_0x547c71(0x164)),'commandName':_0x547c71(0x1d1),'role':_0x547c71(0x157)})}]);for(const _0x108d47 of _0x2987a4)if(ke(_0x108d47)){const _0x5ba05a=_0x1728f0[_0x547c71(0x15a)][_0x547c71(0x15c)](_0x108d47[_0x547c71(0x1b1)][_0x547c71(0x1cd)]);_0x108d47[_0x547c71(0x1b1)][_0x547c71(0x16f)](_0x547c71(0x13f),_0x547c71(0x139))['to'](_0x5ba05a,_0x547c71(0x17e),_0x547c71(0x139));}_0x1728f0['ui'][_0x547c71(0x146)][_0x547c71(0x182)](_0x547c71(0x167),_0x2ca385=>this[_0x547c71(0x188)](_0x2ca385,_0x2987a4,_0x34155b)),_0x1728f0['ui'][_0x547c71(0x146)][_0x547c71(0x182)](_0x547c71(0x133),_0x310066=>this[_0x547c71(0x15b)](_0x310066,_0x2987a4,_0x34155b));}[_0x10f17b(0x188)](_0x3afedc,_0x249602,_0x3dca20){const _0x19950b=_0x10f17b,_0x51ec48=_0x4aee17(_0x3afedc,_0x50b510),_0x317358=this[_0x19950b(0x142)][_0x19950b(0x15a)][_0x19950b(0x15c)](_0x19950b(0x167));_0x51ec48[_0x19950b(0x197)][_0x19950b(0x1c4)]({'tooltip':_0x3dca20,'label':_0x3dca20,'icon':_0x2e24a1}),_0x51ec48[_0x19950b(0x197)][_0x19950b(0x16f)](_0x19950b(0x13f))['to'](_0x317358,_0x19950b(0x17e)),_0x51ec48[_0x19950b(0x197)]['on'](_0x19950b(0x1a2),()=>{const _0x4f4821=_0x19950b;_0x317358[_0x4f4821(0x1a2)](),this[_0x4f4821(0x142)][_0x4f4821(0x1a5)][_0x4f4821(0x1db)][_0x4f4821(0x174)]();}),_0xf83491(_0x51ec48,_0x249602,{'role':_0x19950b(0x184)});const _0x37e9f1=[];for(const _0x438ce5 of _0x249602)ke(_0x438ce5)&&_0x37e9f1[_0x19950b(0x162)](this[_0x19950b(0x142)][_0x19950b(0x15a)][_0x19950b(0x15c)](_0x438ce5[_0x19950b(0x1b1)][_0x19950b(0x1cd)]));const _0x439607=_0x51ec48[_0x19950b(0x197)];return _0x439607[_0x19950b(0x1ad)][_0x19950b(0x195)](_0x19950b(0x139)),_0x439607[_0x19950b(0x14b)][_0x19950b(0x195)](_0x19950b(0x139)),_0x439607[_0x19950b(0x1ad)][_0x19950b(0x16f)](_0x19950b(0x139))['to'](_0x317358,_0x19950b(0x139)),_0x439607[_0x19950b(0x14b)][_0x19950b(0x16f)](_0x19950b(0x139))[_0x19950b(0x193)](_0x37e9f1,_0x19950b(0x139),(..._0x17cc29)=>_0x17cc29[_0x19950b(0x1a1)](_0x219994=>_0x219994)),_0x51ec48['on'](_0x19950b(0x1a2),_0x3060d4=>{const _0x59e758=_0x19950b;this[_0x59e758(0x142)][_0x59e758(0x1a2)](_0x3060d4[_0x59e758(0x1c0)][_0x59e758(0x1cd)]),this[_0x59e758(0x142)][_0x59e758(0x1a5)][_0x59e758(0x1db)][_0x59e758(0x174)]();}),_0x51ec48;}[_0x10f17b(0x15b)](_0xd29991,_0x4553b0,_0x20c0ba){const _0xe4ba67=_0x10f17b,_0x505919=new _0x59d7bf(_0xd29991),_0x521bd9=this[_0xe4ba67(0x142)][_0xe4ba67(0x15a)][_0xe4ba67(0x15c)](_0xe4ba67(0x167));_0x505919[_0xe4ba67(0x197)][_0xe4ba67(0x1c4)]({'label':_0x20c0ba,'icon':_0x2e24a1});const _0x1dd40c=new _0x207f1f(_0xd29991);for(const _0x53d1a7 of _0x4553b0){if(_0xe4ba67(0x13a)==_0x53d1a7[_0xe4ba67(0x152)]){_0x1dd40c[_0xe4ba67(0x148)][_0xe4ba67(0x182)](new _0x391249(_0xd29991));continue;}const _0x2aba46=new _0x36084a(_0xd29991,_0x505919),_0x7e3b7a=new _0x25fbea(_0xd29991),_0x48d427=_0x53d1a7[_0xe4ba67(0x1b1)];_0x7e3b7a[_0xe4ba67(0x16f)](...Object[_0xe4ba67(0x183)](_0x48d427))['to'](_0x48d427),_0x7e3b7a[_0xe4ba67(0x1bd)](_0xe4ba67(0x1a2))['to'](_0x505919),_0x7e3b7a['on'](_0xe4ba67(0x1a2),()=>{const _0x116143=_0xe4ba67;this[_0x116143(0x142)][_0x116143(0x1a2)](_0x48d427[_0x116143(0x1cd)]),this[_0x116143(0x142)][_0x116143(0x1a5)][_0x116143(0x1db)][_0x116143(0x174)]();}),_0x2aba46[_0xe4ba67(0x1aa)][_0xe4ba67(0x182)](_0x7e3b7a),_0x1dd40c[_0xe4ba67(0x148)][_0xe4ba67(0x182)](_0x2aba46);}return _0x505919[_0xe4ba67(0x16f)](_0xe4ba67(0x139))['to'](_0x521bd9,_0xe4ba67(0x139)),_0x505919[_0xe4ba67(0x158)][_0xe4ba67(0x1aa)][_0xe4ba67(0x182)](_0x1dd40c),_0x505919;}[_0x10f17b(0x14a)](_0xce9300){const _0x88a60=_0x10f17b,_0x4ba278=this[_0x88a60(0x142)],_0xf139e2=_0x4ba278[_0x88a60(0x168)],_0x1e6748=_0x4ba278[_0x88a60(0x1d4)][_0x88a60(0x15c)](_0x88a60(0x18b)),_0x196cb9=_0x4ba278[_0x88a60(0x1d4)][_0x88a60(0x15c)](_0x88a60(0x137)),_0x384f14=_0x4ba278[_0x88a60(0x1d4)][_0x88a60(0x15c)](_0x88a60(0x1b7)),_0x5d554f=_0x4ba278[_0x88a60(0x1d4)][_0x88a60(0x15c)](_0x3843bb)['me'],_0xe9f957=_0xf139e2[_0x88a60(0x15c)](_0x88a60(0x167))[_0x88a60(0x1ae)],_0x55a287=_0xf139e2[_0x88a60(0x15c)](_0x88a60(0x167))[_0x88a60(0x192)],{CommentsListView:_0x15345c,CommentThreadInputView:_0x29ac66}=_0x4ba278[_0x88a60(0x1d4)][_0x88a60(0x15c)](_0x88a60(0x18e));let _0x2a8ec1,_0x316c3c,_0x322b4e;this[_0x88a60(0x1cf)][_0x88a60(0x173)](_0xce9300['id'])?(_0x316c3c=this[_0x88a60(0x1cf)][_0x88a60(0x15c)](_0xce9300['id']),_0x2a8ec1=_0x316c3c[_0x88a60(0x1a6)]):(_0x2a8ec1=new _0xe9f957(_0x4ba278[_0x88a60(0x16d)],_0xce9300,_0x5d554f,{'disableComments':this[_0x88a60(0x131)],'editorConfig':{..._0xf139e2[_0x88a60(0x15c)](_0x88a60(0x13e)),'licenseKey':_0xf139e2[_0x88a60(0x15c)](_0x88a60(0x161))},'maxCommentsWhenCollapsed':_0xf139e2[_0x88a60(0x15c)](_0x88a60(0x187)),'maxThreadTotalWeight':_0xf139e2[_0x88a60(0x15c)](_0x88a60(0x16b)),'maxCommentCharsWhenCollapsed':_0xf139e2[_0x88a60(0x15c)](_0x88a60(0x1c1)),'formatDateTime':_0x2c09f3(_0xf139e2[_0x88a60(0x15c)](_0x88a60(0x16d))),'CommentView':_0xf139e2[_0x88a60(0x15c)](_0x88a60(0x13c))[_0x88a60(0x1da)],'CommentsListView':_0x15345c,'CommentThreadInputView':_0x29ac66,'SuggestionView':_0x55a287}),_0x2a8ec1[_0x88a60(0x1d3)][_0x88a60(0x1bb)]['on'](_0x88a60(0x1a2),()=>{const _0x316745=_0x88a60;_0x4ba278[_0x316745(0x1a5)][_0x316745(0x1db)][_0x316745(0x174)]();}),_0x2a8ec1[_0x88a60(0x1d3)][_0x88a60(0x1c5)]['on'](_0x88a60(0x1a2),()=>{const _0x42e21d=_0x88a60;_0x4ba278[_0x42e21d(0x1a5)][_0x42e21d(0x1db)][_0x42e21d(0x174)]();}),_0x316c3c=_0x1e6748[_0x88a60(0x141)](this[_0x88a60(0x142)][_0x88a60(0x16d)],_0x2a8ec1),_0x316c3c[_0x88a60(0x16f)](_0x88a60(0x1a4))['to'](_0x2a8ec1,_0x88a60(0x1a4)),_0x316c3c[_0x88a60(0x16f)](_0x88a60(0x138))['to'](_0x2a8ec1),_0x316c3c[_0x88a60(0x16f)](_0x88a60(0x152))['to'](_0x2a8ec1,_0x88a60(0x152),_0x13bc2e=>_0x88a60(0x1a7)+_0x13bc2e),_0x2a8ec1['on'](_0x88a60(0x191),()=>{const _0x5290e7=_0x88a60;_0x322b4e[_0x5290e7(0x15d)](_0x5290e7(0x191));}),this[_0x88a60(0x1cf)][_0x88a60(0x1c4)](_0xce9300['id'],_0x316c3c));const _0x39dce2=_0x196cb9[_0x88a60(0x160)](_0xce9300[_0x88a60(0x155)],_0x2a8ec1),_0x415a74=new _0x3aa977(_0x4ba278,_0xce9300,_0x2a8ec1,_0x39dce2),_0x285f2e=_0xce9300[_0x88a60(0x19e)]()[_0x88a60(0x1d6)](_0x127e9b=>_0x127e9b[_0x88a60(0x19f)]);_0x2a8ec1[_0x88a60(0x17a)]=_0x4ba278[_0x88a60(0x1d4)][_0x88a60(0x15c)](_0x88a60(0x1c2))[_0x88a60(0x15f)][_0x88a60(0x18d)](_0x285f2e),this[_0x88a60(0x140)][_0x88a60(0x1c4)](_0xce9300,_0x415a74),this[_0x88a60(0x1df)][_0x88a60(0x1c4)](_0x2a8ec1,_0x415a74),_0x322b4e=_0x1e6748[_0x88a60(0x1d7)]({'view':_0x316c3c,'target':()=>{const _0x50c73f=_0x88a60,_0x4aacf4=[],_0x19bf27=_0xce9300[_0x50c73f(0x19e)]()[_0x50c73f(0x1d6)](_0x4bb8d6=>_0x4bb8d6[_0x50c73f(0x19f)]);for(const _0x197111 of _0x19bf27)_0x4aacf4[_0x50c73f(0x162)](..._0x197111[_0x50c73f(0x149)]());return _0x50ee1a(_0x4ba278[_0x50c73f(0x1a5)],_0x4aacf4);},'type':()=>_0x88a60(0x1a7)+_0x415a74[_0x88a60(0x1db)][_0x88a60(0x152)]}),_0x196cb9[_0x88a60(0x1bc)](_0x2a8ec1,_0x322b4e),_0x1e6748[_0x88a60(0x182)](_0x322b4e),_0x384f14[_0x88a60(0x1b8)](_0x322b4e);}[_0x10f17b(0x185)](_0x2b04bd){const _0x495aaa=_0x10f17b,_0x1ff094=this[_0x495aaa(0x142)][_0x495aaa(0x1d4)][_0x495aaa(0x15c)](_0x495aaa(0x137)),_0x16f32c=this[_0x495aaa(0x142)][_0x495aaa(0x1d4)][_0x495aaa(0x15c)](_0x495aaa(0x18b)),_0x3c8a95=this[_0x495aaa(0x140)][_0x495aaa(0x15c)](_0x2b04bd),_0x3853de=_0x3c8a95[_0x495aaa(0x1db)],_0x41680f=_0x16f32c[_0x495aaa(0x18f)](_0x3853de);_0x1ff094[_0x495aaa(0x1b2)](_0x3853de),_0x41680f&&_0x16f32c[_0x495aaa(0x1dc)](_0x41680f),this[_0x495aaa(0x140)][_0x495aaa(0x15e)](_0x2b04bd),this[_0x495aaa(0x1df)][_0x495aaa(0x15e)](_0x3853de),_0x3c8a95[_0x495aaa(0x1ce)]();}[_0x10f17b(0x13d)](_0x4fca4a){const _0x11814d=_0x10f17b;if(!_0x4fca4a[_0x11814d(0x19f)]||!this[_0x11814d(0x140)][_0x11814d(0x173)](_0x4fca4a))return;const _0x22a3c8=this[_0x11814d(0x142)][_0x11814d(0x1d4)][_0x11814d(0x15c)](_0x11814d(0x1c2)),_0xbe103a=this[_0x11814d(0x140)][_0x11814d(0x15c)](_0x4fca4a),_0x191bc0=_0x4fca4a[_0x11814d(0x19e)]();_0xbe103a[_0x11814d(0x1db)][_0x11814d(0x17a)]=_0x22a3c8[_0x11814d(0x15f)][_0x11814d(0x18d)](_0x191bc0);}[_0x10f17b(0x1ce)](){const _0x4514f8=_0x10f17b;for(const _0x2ab4d3 of this[_0x4514f8(0x140)][_0x4514f8(0x183)]())this[_0x4514f8(0x185)](_0x2ab4d3);for(const _0x111ea1 of this[_0x4514f8(0x1cf)][_0x4514f8(0x16c)]())_0x111ea1[_0x4514f8(0x1a6)][_0x4514f8(0x1ce)]();super[_0x4514f8(0x1ce)](),this[_0x4514f8(0x1c6)]&&clearInterval(this[_0x4514f8(0x1c6)]);}}function ke(_0x37ad9c){const _0xd7fed3=_0x10f17b;return _0xd7fed3(0x1b1)in _0x37ad9c;}
|
|
23
|
+
const _0x320f9c=_0x5f14;(function(_0x33107a,_0x4afd56){const _0x5ca89c=_0x5f14,_0x5cf7e3=_0x33107a();while(!![]){try{const _0x42b695=-parseInt(_0x5ca89c(0x146))/0x1+parseInt(_0x5ca89c(0x113))/0x2*(parseInt(_0x5ca89c(0x12d))/0x3)+-parseInt(_0x5ca89c(0xea))/0x4+parseInt(_0x5ca89c(0xcd))/0x5*(parseInt(_0x5ca89c(0x14e))/0x6)+-parseInt(_0x5ca89c(0x134))/0x7+parseInt(_0x5ca89c(0x10c))/0x8+parseInt(_0x5ca89c(0xfb))/0x9;if(_0x42b695===_0x4afd56)break;else _0x5cf7e3['push'](_0x5cf7e3['shift']());}catch(_0x49594b){_0x5cf7e3['push'](_0x5cf7e3['shift']());}}}(_0x3a7e,0x250e9));import{Plugin as _0x5a65bc}from'ckeditor5/src/core.js';import{Collection as _0x29a192}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x22090e,createDropdown as _0xc4dc17,ListSeparatorView as _0x4b1bf7,MenuBarMenuView as _0x33e0bd,MenuBarMenuListView as _0x25b855,MenuBarMenuListItemView as _0x15ec81,MenuBarMenuListItemButtonView as _0x202bf8,SplitButtonView as _0x3ea7bb,ViewModel as _0x5e7109}from'ckeditor5/src/ui.js';function _0x3a7e(){const _0x246e9f=['getJoined','values','_refreshActiveMarkers','getSuggestion','clear','menuitemcheckbox','menuitem','suggestionChanged','getMarkers','invalid','actionView','TrackChangesEditing','46744jksruw','change:previous','config','head','isInContent','commandName','_destroyController','acceptAllSuggestions','495798Hrfnba','from','Discard\x20all\x20suggestions','trackChanges','model','suggestion-','_handleControllerBuffer','switchbutton','getAllAdjacentSuggestions','filter','commentThread','lowest','trackChangesLicenseKeyEvaluationLimit','set','comments.editorConfig','some','isOn','refreshSelectedViews','listenTo','editor','menuBar:trackChanges','activeAnnotations','registerAnnotation','reduce','isDirty','isMultiRange','define','trialLimit','TrackChangesUI','trackChanges.SuggestionThreadView','trackChangesLicenseKeyUsageLimit','_licenseKeyCheckInterval','previous','expired','requires','isPremiumPlugin','trackChangesLicenseKeyDomainLimit','value','comments.maxCommentsWhenCollapsed','acceptSelectedSuggestions','unbind','children','discardAllSuggestions','commands','_disableComments','addMany','5CZhyGs','suggestionUnloaded','mainView','trackChangesLicenseKeyNotAllowed','hasSuggestion','_showLicenseError','commentsListView','usageLimit','comments.maxCommentCharsWhenCollapsed','bind','suggestionView','get','featureNotAllowed','_updateController','Track\x20changes','buttonView','descriptionParts','CommentsRepository','createAnnotationView','_viewToController','Discard\x20all\x20selected\x20suggestions','init','source','trackChangesLicenseKeyInvalid','Preview\x20final\x20content','_annotationViews','EditorAnnotations','_createToolbarButton','CommentView','535264EUQnhJ','_bindAnnotationToEditors','TrackChangesPreview','discardButton','Accept\x20all\x20suggestions','getDescriptions','SuggestionThreadView','domainLimit','descriptionFactory','trackChangesLicenseKeyExpired','add','createCommentThreadController','items','previewFinalContent','focus','length','isEnabled','2192535PhEVsx','separator','delete','isOfficialPlugin','arrowView','evaluationLimit','createAnnotation','TrackChanges','has','_initializeController','destroy','componentFactory','addSourceCollector','type','plugins','_suggestionToController','SuggestionView','11144jiGLDo','comments','toMany','Accept\x20all\x20selected\x20suggestions','fire','panelView','discardSelectedSuggestions','626JiUrvH','Annotations','keys','addComment','button','getMarkerNames','remove','suggestionLoaded','view','menu','execute','pluginName','activeMarkers','CommentsUI','push','trackChangesLicenseKeyTrialLimit','size','_addUIComponentsToFactory','_handleSuggestionControllerDelayed','licenseKey','change:activeAnnotations','trackChanges.SuggestionView','escape','getRanges','comments.maxThreadTotalWeight','delegate','57DOaMVY','_unbindEditors','trackChangesLicenseKeyValid','getByInnerView','getFirstRange','editing','trackChanges.disableComments','8701OhggOx','locale','innerView','acceptButton','_createMenuBarMenu','stopListening'];_0x3a7e=function(){return _0x246e9f;};return _0x3a7e();}import{Users as _0x1bef99,getDateTimeFormatter as _0x466c31,getAllMarkersDomElementsSorted as _0x395cef}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1155e0 from'./trackchangesediting.js';import _0x3a7ff6 from'./ui/suggestioncontroller.js';import _0x834c03 from'./ui/view/suggestionthreadview.js';import _0x404de4 from'./ui/view/suggestionview.js';import{getTranslation as _0x4741a8}from'./utils/common-translations.js';import _0x22779b from'../theme/icons/track-changes.svg';function _0x5f14(_0x361f3d,_0x3feb21){const _0x3a7e31=_0x3a7e();return _0x5f14=function(_0x5f14e1,_0x1db6ae){_0x5f14e1=_0x5f14e1-0xa5;let _0x5d04da=_0x3a7e31[_0x5f14e1];return _0x5d04da;},_0x5f14(_0x361f3d,_0x3feb21);}export default class d extends _0x5a65bc{static get[_0x320f9c(0xc1)](){const _0xf12f61=_0x320f9c;return[_0x1155e0,_0x1bef99,_0xf12f61(0xde),_0xf12f61(0x114),_0xf12f61(0xe7)];}static get[_0x320f9c(0x11e)](){const _0x37b509=_0x320f9c;return _0x37b509(0xbb);}static get[_0x320f9c(0xfe)](){return!0x0;}static get[_0x320f9c(0xc2)](){return!0x0;}constructor(_0x49fad5){const _0x294877=_0x320f9c;super(_0x49fad5),this[_0x294877(0x10a)]=new Map(),this[_0x294877(0xe0)]=new Map(),this[_0x294877(0xe6)]=new Map(),this[_0x294877(0xa5)]=new Map();const _0x3acad2=this[_0x294877(0xb2)][_0x294877(0x148)];_0x3acad2[_0x294877(0xb9)](_0x294877(0xbc),_0x834c03),_0x3acad2[_0x294877(0xb9)](_0x294877(0x128),_0x404de4),_0x3acad2[_0x294877(0xb9)](_0x294877(0x133),!0x1),this[_0x294877(0xcb)]=_0x3acad2[_0x294877(0xd8)](_0x294877(0x133));}[_0x320f9c(0x125)](_0x254341,_0x211044){const _0xc7ac07=_0x320f9c;0x0===this[_0xc7ac07(0xa5)][_0xc7ac07(0x123)]&&setTimeout(()=>{const _0xdd4864=_0xc7ac07;for(const [_0x2bb602,_0x802b9e]of this[_0xdd4864(0xa5)]){const _0x56eb2d=this[_0xdd4864(0x10a)][_0xdd4864(0x103)](_0x2bb602);_0x56eb2d||_0x802b9e?_0x56eb2d&&_0x802b9e&&this[_0xdd4864(0x14c)](_0x2bb602):this[_0xdd4864(0x104)](_0x2bb602);}this[_0xdd4864(0xa5)][_0xdd4864(0x13e)](),this[_0xdd4864(0xb2)][_0xdd4864(0x109)][_0xdd4864(0xd8)](_0xdd4864(0xe7))[_0xdd4864(0xb0)](),this[_0xdd4864(0x13c)]();},0xa),this[_0xc7ac07(0xa5)][_0xc7ac07(0xac)](_0x254341,_0x211044);}[_0x320f9c(0xe2)](){const _0x2838e2=_0x320f9c,_0x3fc34f=this[_0x2838e2(0xb2)],_0x216789=_0x3fc34f[_0x2838e2(0x109)][_0x2838e2(0xd8)](_0x2838e2(0x145)),_0x5f18d0=_0x3fc34f[_0x2838e2(0x109)][_0x2838e2(0xd8)](_0x2838e2(0x114)),_0x321914=_0x3fc34f[_0x2838e2(0x109)][_0x2838e2(0xd8)](_0x2838e2(0xe7)),_0x78b0f1=_0x3fc34f[_0x2838e2(0x109)][_0x2838e2(0xd8)](_0x2838e2(0xde));this[_0x2838e2(0x124)](),_0x321914[_0x2838e2(0x107)](()=>{const _0x55b569=_0x2838e2,_0x111732=[];for(const [_0x5cbc63,_0x417319]of Array[_0x55b569(0x14f)](this[_0x55b569(0x10a)])){const _0x1b19a7=_0x5cbc63[_0x55b569(0xa7)](),_0x475b79=[];for(const _0x5db912 of _0x1b19a7){if(!_0x5db912[_0x55b569(0x14a)])continue;if(_0x5db912[_0x55b569(0xb8)]){_0x475b79[_0x55b569(0x121)](..._0x5db912[_0x55b569(0x12a)]());continue;}const _0x3339e3=_0x5db912[_0x55b569(0x131)]();if(_0x475b79[_0x55b569(0xf9)]>0x0){const _0x3d68aa=_0x475b79[0x0][_0x55b569(0x13a)](_0x3339e3);if(_0x3d68aa){_0x475b79[0x0]=_0x3d68aa;continue;}}_0x475b79[_0x55b569(0x121)](_0x3339e3);}_0x111732[_0x55b569(0x121)]([_0x417319[_0x55b569(0x11b)],_0x475b79]);}return _0x111732;}),this[_0x2838e2(0xb1)](_0x216789,_0x2838e2(0x11a),(_0x46cc24,_0x4800a5)=>{const _0x4708d7=_0x2838e2;this[_0x4708d7(0xb1)](_0x4800a5,_0x4708d7(0x147),(_0x4f0424,_0x16f36d,_0x39ef75,_0x229374)=>{const _0x2c11db=_0x4708d7;_0x4800a5[_0x2c11db(0x14a)]&&(null==_0x39ef75?(this[_0x2c11db(0xda)](_0x229374[_0x2c11db(0x149)]),this[_0x2c11db(0x125)](_0x4800a5,!0x1)):(this[_0x2c11db(0xda)](_0x39ef75[_0x2c11db(0x149)]),null==_0x229374&&this[_0x2c11db(0x125)](_0x4800a5,!0x0)));}),null!==_0x4800a5[_0x4708d7(0xbf)]?this[_0x4708d7(0xda)](_0x4800a5[_0x4708d7(0x149)]):this[_0x4708d7(0x125)](_0x4800a5,!0x1);}),this[_0x2838e2(0xb1)](_0x216789,_0x2838e2(0xce),(_0x43b8ec,_0x300e34,_0x157686)=>{const _0x3d9ff3=_0x2838e2;this[_0x3d9ff3(0x139)](_0x300e34,_0x3d9ff3(0x147)),this[_0x3d9ff3(0xa5)][_0x3d9ff3(0xfd)](_0x300e34),this[_0x3d9ff3(0x10a)][_0x3d9ff3(0x103)](_0x300e34)&&this[_0x3d9ff3(0x14c)](_0x300e34),_0x157686&&this[_0x3d9ff3(0xda)](_0x157686[_0x3d9ff3(0x149)]);}),this[_0x2838e2(0xb1)](_0x216789,_0x2838e2(0x141),(_0x19a6d4,_0x26cc0f)=>{const _0x13f9e2=_0x2838e2;this[_0x13f9e2(0xda)](_0x26cc0f);}),this[_0x2838e2(0xb1)](_0x5f18d0,_0x2838e2(0x127),()=>{const _0x3f441f=_0x2838e2;this[_0x3f441f(0x13c)]();}),this[_0x2838e2(0xb1)](_0x78b0f1,_0x2838e2(0x116),(_0x5b5b12,{threadId:_0x165d87,isFromAdapter:_0x387fbd})=>{const _0x5e483f=_0x2838e2;if(_0x387fbd||!_0x216789[_0x5e483f(0xd1)](_0x165d87))return;const _0x2c6b64=_0x216789[_0x5e483f(0x13d)](_0x165d87);this[_0x5e483f(0x10a)][_0x5e483f(0xd8)](_0x2c6b64)[_0x5e483f(0x11b)][_0x5e483f(0xd3)][_0x5e483f(0xf8)](-0x1);},{'priority':_0x2838e2(0xaa)}),this[_0x2838e2(0x126)]=this[_0x2838e2(0xb2)][_0x2838e2(0x148)][_0x2838e2(0xd8)](_0x2838e2(0x126));const _0x1d097f=this[_0x2838e2(0xb2)];this[_0x2838e2(0xbe)]=setInterval(()=>{const _0x7f039e=_0x2838e2;let _0x17e379;for(const _0x4d491d in _0x1d097f){const _0x11b870=_0x4d491d,_0x44e70f=_0x1d097f[_0x11b870];if(_0x7f039e(0x12f)==_0x44e70f||_0x7f039e(0xe4)==_0x44e70f||_0x7f039e(0xf3)==_0x44e70f||_0x7f039e(0xc3)==_0x44e70f||_0x7f039e(0xd0)==_0x44e70f||_0x7f039e(0xab)==_0x44e70f||_0x7f039e(0x122)==_0x44e70f||_0x7f039e(0xbd)==_0x44e70f){delete _0x1d097f[_0x11b870],_0x17e379=_0x44e70f,clearInterval(this[_0x7f039e(0xbe)]),this[_0x7f039e(0xbe)]=void 0x0;break;}}_0x7f039e(0xe4)==_0x17e379&&_0x1d097f[_0x7f039e(0xd2)](_0x7f039e(0x143)),_0x7f039e(0xf3)==_0x17e379&&_0x1d097f[_0x7f039e(0xd2)](_0x7f039e(0xc0)),_0x7f039e(0xc3)==_0x17e379&&_0x1d097f[_0x7f039e(0xd2)](_0x7f039e(0xf1)),_0x7f039e(0xd0)==_0x17e379&&_0x1d097f[_0x7f039e(0xd2)](_0x7f039e(0xd9),_0x7f039e(0x102)),_0x7f039e(0xab)==_0x17e379&&_0x1d097f[_0x7f039e(0xd2)](_0x7f039e(0x100)),_0x7f039e(0x122)==_0x17e379&&_0x1d097f[_0x7f039e(0xd2)](_0x7f039e(0xba)),_0x7f039e(0xbd)==_0x17e379&&_0x1d097f[_0x7f039e(0xd2)](_0x7f039e(0xd4));},0x3e8);}[_0x320f9c(0x13c)](){const _0x14246c=_0x320f9c,_0x3158d0=this[_0x14246c(0xb2)][_0x14246c(0x109)][_0x14246c(0xd8)](_0x14246c(0x114)),_0x4fc40f=this[_0x14246c(0xb2)][_0x14246c(0x109)][_0x14246c(0xd8)](_0x14246c(0x145)),_0x98b21e=Array[_0x14246c(0x14f)](_0x3158d0[_0x14246c(0xb4)],_0x31a1f0=>_0x31a1f0[_0x14246c(0x136)])[_0x14246c(0xa8)](_0x48fcab=>this[_0x14246c(0xe0)][_0x14246c(0x103)](_0x48fcab)),_0x2b6abc=[];for(const _0x588648 of _0x98b21e){const _0x427a35=this[_0x14246c(0xe0)][_0x14246c(0xd8)](_0x588648)[_0x14246c(0x152)][_0x14246c(0xa7)]();_0x2b6abc[_0x14246c(0x121)](..._0x427a35[_0x14246c(0xb6)]((_0x10b8dd,_0x421423)=>[..._0x10b8dd,..._0x421423[_0x14246c(0x118)]()],[]));}_0x4fc40f[_0x14246c(0x11f)]=_0x2b6abc;}[_0x320f9c(0x124)](){const _0x1a71e9=_0x320f9c,_0x501229=this[_0x1a71e9(0xb2)],_0x1a1e4a=_0x501229[_0x1a71e9(0x135)],_0x5e0ec8=_0x4741a8(_0x1a1e4a,_0x1a71e9(0xdb)),_0x24601b=new _0x29a192([{'type':_0x1a71e9(0xa6),'model':new _0x5e7109({'withText':!0x0,'isToggleable':!0x0,'label':_0x5e0ec8,'commandName':_0x1a71e9(0x151),'role':_0x1a71e9(0x13f)})},{'type':_0x1a71e9(0xfc)},{'type':_0x1a71e9(0x117),'model':new _0x5e7109({'withText':!0x0,'label':_0x4741a8(_0x1a1e4a,_0x1a71e9(0xee)),'commandName':_0x1a71e9(0x14d),'role':_0x1a71e9(0x140)})},{'type':_0x1a71e9(0x117),'model':new _0x5e7109({'withText':!0x0,'label':_0x4741a8(_0x1a1e4a,_0x1a71e9(0x10f)),'commandName':_0x1a71e9(0xc6),'role':_0x1a71e9(0x140)})},{'type':_0x1a71e9(0x117),'model':new _0x5e7109({'withText':!0x0,'label':_0x4741a8(_0x1a1e4a,_0x1a71e9(0x150)),'commandName':_0x1a71e9(0xc9),'role':_0x1a71e9(0x140)})},{'type':_0x1a71e9(0x117),'model':new _0x5e7109({'withText':!0x0,'label':_0x4741a8(_0x1a1e4a,_0x1a71e9(0xe1)),'commandName':_0x1a71e9(0x112),'role':_0x1a71e9(0x140)})}]);_0x501229[_0x1a71e9(0x109)][_0x1a71e9(0x103)](_0x1a71e9(0xec))&&_0x24601b[_0x1a71e9(0xcc)]([{'type':_0x1a71e9(0xfc)},{'type':_0x1a71e9(0x117),'model':new _0x5e7109({'withText':!0x0,'label':_0x4741a8(_0x1a1e4a,_0x1a71e9(0xe5)),'commandName':_0x1a71e9(0xf7),'role':_0x1a71e9(0x140)})}]);for(const _0x4412f0 of _0x24601b)if(ke(_0x4412f0)){const _0x6ce760=_0x501229[_0x1a71e9(0xca)][_0x1a71e9(0xd8)](_0x4412f0[_0x1a71e9(0x152)][_0x1a71e9(0x14b)]);_0x4412f0[_0x1a71e9(0x152)][_0x1a71e9(0xd6)](_0x1a71e9(0xaf),_0x1a71e9(0xfa))['to'](_0x6ce760,_0x1a71e9(0xc4),_0x1a71e9(0xfa));}_0x501229['ui'][_0x1a71e9(0x106)][_0x1a71e9(0xf4)](_0x1a71e9(0x151),_0x42e034=>this[_0x1a71e9(0xe8)](_0x42e034,_0x24601b,_0x5e0ec8)),_0x501229['ui'][_0x1a71e9(0x106)][_0x1a71e9(0xf4)](_0x1a71e9(0xb3),_0x5e5c8c=>this[_0x1a71e9(0x138)](_0x5e5c8c,_0x24601b,_0x5e0ec8));}[_0x320f9c(0xe8)](_0x524397,_0x354ec7,_0x1f9adf){const _0x45b0ec=_0x320f9c,_0x4fa146=_0xc4dc17(_0x524397,_0x3ea7bb),_0x17fbbc=this[_0x45b0ec(0xb2)][_0x45b0ec(0xca)][_0x45b0ec(0xd8)](_0x45b0ec(0x151));_0x4fa146[_0x45b0ec(0xdc)][_0x45b0ec(0xac)]({'tooltip':_0x1f9adf,'label':_0x1f9adf,'icon':_0x22779b}),_0x4fa146[_0x45b0ec(0xdc)][_0x45b0ec(0xd6)](_0x45b0ec(0xaf))['to'](_0x17fbbc,_0x45b0ec(0xc4)),_0x4fa146[_0x45b0ec(0xdc)]['on'](_0x45b0ec(0x11d),()=>{const _0x2c31fb=_0x45b0ec;_0x17fbbc[_0x2c31fb(0x11d)](),this[_0x2c31fb(0xb2)][_0x2c31fb(0x132)][_0x2c31fb(0x11b)][_0x2c31fb(0xf8)]();}),_0x22090e(_0x4fa146,_0x354ec7,{'role':_0x45b0ec(0x11c)});const _0x177040=[];for(const _0x9dae90 of _0x354ec7)ke(_0x9dae90)&&_0x177040[_0x45b0ec(0x121)](this[_0x45b0ec(0xb2)][_0x45b0ec(0xca)][_0x45b0ec(0xd8)](_0x9dae90[_0x45b0ec(0x152)][_0x45b0ec(0x14b)]));const _0x89c457=_0x4fa146[_0x45b0ec(0xdc)];return _0x89c457[_0x45b0ec(0x144)][_0x45b0ec(0xc7)](_0x45b0ec(0xfa)),_0x89c457[_0x45b0ec(0xff)][_0x45b0ec(0xc7)](_0x45b0ec(0xfa)),_0x89c457[_0x45b0ec(0x144)][_0x45b0ec(0xd6)](_0x45b0ec(0xfa))['to'](_0x17fbbc,_0x45b0ec(0xfa)),_0x89c457[_0x45b0ec(0xff)][_0x45b0ec(0xd6)](_0x45b0ec(0xfa))[_0x45b0ec(0x10e)](_0x177040,_0x45b0ec(0xfa),(..._0x54589d)=>_0x54589d[_0x45b0ec(0xae)](_0x5c7efa=>_0x5c7efa)),_0x4fa146['on'](_0x45b0ec(0x11d),_0x333fa5=>{const _0x46bff8=_0x45b0ec;this[_0x46bff8(0xb2)][_0x46bff8(0x11d)](_0x333fa5[_0x46bff8(0xe3)][_0x46bff8(0x14b)]),this[_0x46bff8(0xb2)][_0x46bff8(0x132)][_0x46bff8(0x11b)][_0x46bff8(0xf8)]();}),_0x4fa146;}[_0x320f9c(0x138)](_0x7dcd5a,_0x12e5b9,_0x60c633){const _0x1aa7b9=_0x320f9c,_0x58aac2=new _0x33e0bd(_0x7dcd5a),_0x5344f0=this[_0x1aa7b9(0xb2)][_0x1aa7b9(0xca)][_0x1aa7b9(0xd8)](_0x1aa7b9(0x151));_0x58aac2[_0x1aa7b9(0xdc)][_0x1aa7b9(0xac)]({'label':_0x60c633,'icon':_0x22779b});const _0x20f486=new _0x25b855(_0x7dcd5a);for(const _0x3e6ef7 of _0x12e5b9){if(_0x1aa7b9(0xfc)==_0x3e6ef7[_0x1aa7b9(0x108)]){_0x20f486[_0x1aa7b9(0xf6)][_0x1aa7b9(0xf4)](new _0x4b1bf7(_0x7dcd5a));continue;}const _0x18202e=new _0x15ec81(_0x7dcd5a,_0x58aac2),_0x330887=new _0x202bf8(_0x7dcd5a),_0x5d7c54=_0x3e6ef7[_0x1aa7b9(0x152)];_0x330887[_0x1aa7b9(0xd6)](...Object[_0x1aa7b9(0x115)](_0x5d7c54))['to'](_0x5d7c54),_0x330887[_0x1aa7b9(0x12c)](_0x1aa7b9(0x11d))['to'](_0x58aac2),_0x330887['on'](_0x1aa7b9(0x11d),()=>{const _0x4741de=_0x1aa7b9;this[_0x4741de(0xb2)][_0x4741de(0x11d)](_0x5d7c54[_0x4741de(0x14b)]),this[_0x4741de(0xb2)][_0x4741de(0x132)][_0x4741de(0x11b)][_0x4741de(0xf8)]();}),_0x18202e[_0x1aa7b9(0xc8)][_0x1aa7b9(0xf4)](_0x330887),_0x20f486[_0x1aa7b9(0xf6)][_0x1aa7b9(0xf4)](_0x18202e);}return _0x58aac2[_0x1aa7b9(0xd6)](_0x1aa7b9(0xfa))['to'](_0x5344f0,_0x1aa7b9(0xfa)),_0x58aac2[_0x1aa7b9(0x111)][_0x1aa7b9(0xc8)][_0x1aa7b9(0xf4)](_0x20f486),_0x58aac2;}[_0x320f9c(0x104)](_0xbda6ed){const _0x5df01d=_0x320f9c,_0x1296b1=this[_0x5df01d(0xb2)],_0x507f3e=_0x1296b1[_0x5df01d(0x148)],_0x1f2379=_0x1296b1[_0x5df01d(0x109)][_0x5df01d(0xd8)](_0x5df01d(0x114)),_0x131910=_0x1296b1[_0x5df01d(0x109)][_0x5df01d(0xd8)](_0x5df01d(0xde)),_0x533e49=_0x1296b1[_0x5df01d(0x109)][_0x5df01d(0xd8)](_0x5df01d(0xe7)),_0x532e73=_0x1296b1[_0x5df01d(0x109)][_0x5df01d(0xd8)](_0x1bef99)['me'],_0x45dbf9=_0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0x151))[_0x5df01d(0xf0)],_0x5bb2d9=_0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0x151))[_0x5df01d(0x10b)],{CommentsListView:_0x4a2496,CommentThreadInputView:_0x58f6ad}=_0x1296b1[_0x5df01d(0x109)][_0x5df01d(0xd8)](_0x5df01d(0x120));let _0x3936df,_0x3dd188,_0x73901;this[_0x5df01d(0xe6)][_0x5df01d(0x103)](_0xbda6ed['id'])?(_0x3dd188=this[_0x5df01d(0xe6)][_0x5df01d(0xd8)](_0xbda6ed['id']),_0x3936df=_0x3dd188[_0x5df01d(0xcf)]):(_0x3936df=new _0x45dbf9(_0x1296b1[_0x5df01d(0x135)],_0xbda6ed,_0x532e73,{'disableComments':this[_0x5df01d(0xcb)],'editorConfig':{..._0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0xad)),'licenseKey':_0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0x126))},'maxCommentsWhenCollapsed':_0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0xc5)),'maxThreadTotalWeight':_0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0x12b)),'maxCommentCharsWhenCollapsed':_0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0xd5)),'formatDateTime':_0x466c31(_0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0x135))),'CommentView':_0x507f3e[_0x5df01d(0xd8)](_0x5df01d(0x10d))[_0x5df01d(0xe9)],'CommentsListView':_0x4a2496,'CommentThreadInputView':_0x58f6ad,'SuggestionView':_0x5bb2d9}),_0x3936df[_0x5df01d(0xd7)][_0x5df01d(0x137)]['on'](_0x5df01d(0x11d),()=>{const _0x4fed97=_0x5df01d;_0x1296b1[_0x4fed97(0x132)][_0x4fed97(0x11b)][_0x4fed97(0xf8)]();}),_0x3936df[_0x5df01d(0xd7)][_0x5df01d(0xed)]['on'](_0x5df01d(0x11d),()=>{const _0x3f63d7=_0x5df01d;_0x1296b1[_0x3f63d7(0x132)][_0x3f63d7(0x11b)][_0x3f63d7(0xf8)]();}),_0x3dd188=_0x1f2379[_0x5df01d(0xdf)](this[_0x5df01d(0xb2)][_0x5df01d(0x135)],_0x3936df),_0x3dd188[_0x5df01d(0xd6)](_0x5df01d(0xb7))['to'](_0x3936df,_0x5df01d(0xb7)),_0x3dd188[_0x5df01d(0xd6)](_0x5df01d(0xf9))['to'](_0x3936df),_0x3dd188[_0x5df01d(0xd6)](_0x5df01d(0x108))['to'](_0x3936df,_0x5df01d(0x108),_0x5ee66e=>_0x5df01d(0x153)+_0x5ee66e),_0x3936df['on'](_0x5df01d(0x129),()=>{const _0x2de4a7=_0x5df01d;_0x73901[_0x2de4a7(0x110)](_0x2de4a7(0x129));}),this[_0x5df01d(0xe6)][_0x5df01d(0xac)](_0xbda6ed['id'],_0x3dd188));const _0x52b5b3=_0x131910[_0x5df01d(0xf5)](_0xbda6ed[_0x5df01d(0xa9)],_0x3936df),_0x722d76=new _0x3a7ff6(_0x1296b1,_0xbda6ed,_0x3936df,_0x52b5b3),_0x45e3df=_0xbda6ed[_0x5df01d(0xa7)]()[_0x5df01d(0xa8)](_0xd512c1=>_0xd512c1[_0x5df01d(0x14a)]);_0x3936df[_0x5df01d(0xdd)]=_0x1296b1[_0x5df01d(0x109)][_0x5df01d(0xd8)](_0x5df01d(0x145))[_0x5df01d(0xf2)][_0x5df01d(0xef)](_0x45e3df),this[_0x5df01d(0x10a)][_0x5df01d(0xac)](_0xbda6ed,_0x722d76),this[_0x5df01d(0xe0)][_0x5df01d(0xac)](_0x3936df,_0x722d76),_0x73901=_0x1f2379[_0x5df01d(0x101)]({'view':_0x3dd188,'target':()=>{const _0x59be77=_0x5df01d,_0xffabcb=[],_0x34b81a=_0xbda6ed[_0x59be77(0xa7)]()[_0x59be77(0xa8)](_0x2e4f40=>_0x2e4f40[_0x59be77(0x14a)]);for(const _0x34a255 of _0x34b81a)_0xffabcb[_0x59be77(0x121)](..._0x34a255[_0x59be77(0x142)]());return _0x395cef(_0x1296b1[_0x59be77(0x132)],_0xffabcb);},'type':()=>_0x5df01d(0x153)+_0x722d76[_0x5df01d(0x11b)][_0x5df01d(0x108)]}),_0x131910[_0x5df01d(0xeb)](_0x3936df,_0x73901),_0x1f2379[_0x5df01d(0xf4)](_0x73901),_0x533e49[_0x5df01d(0xb5)](_0x73901);}[_0x320f9c(0x14c)](_0x498af0){const _0x3a0b7b=_0x320f9c,_0x5e8068=this[_0x3a0b7b(0xb2)][_0x3a0b7b(0x109)][_0x3a0b7b(0xd8)](_0x3a0b7b(0xde)),_0x1ddd31=this[_0x3a0b7b(0xb2)][_0x3a0b7b(0x109)][_0x3a0b7b(0xd8)](_0x3a0b7b(0x114)),_0x542a63=this[_0x3a0b7b(0x10a)][_0x3a0b7b(0xd8)](_0x498af0),_0x593d46=_0x542a63[_0x3a0b7b(0x11b)],_0x2f669f=_0x1ddd31[_0x3a0b7b(0x130)](_0x593d46);_0x5e8068[_0x3a0b7b(0x12e)](_0x593d46),_0x2f669f&&_0x1ddd31[_0x3a0b7b(0x119)](_0x2f669f),this[_0x3a0b7b(0x10a)][_0x3a0b7b(0xfd)](_0x498af0),this[_0x3a0b7b(0xe0)][_0x3a0b7b(0xfd)](_0x593d46),_0x542a63[_0x3a0b7b(0x105)]();}[_0x320f9c(0xda)](_0x47735){const _0xd8d3dd=_0x320f9c;if(!_0x47735[_0xd8d3dd(0x14a)]||!this[_0xd8d3dd(0x10a)][_0xd8d3dd(0x103)](_0x47735))return;const _0x5dd314=this[_0xd8d3dd(0xb2)][_0xd8d3dd(0x109)][_0xd8d3dd(0xd8)](_0xd8d3dd(0x145)),_0x46bdf7=this[_0xd8d3dd(0x10a)][_0xd8d3dd(0xd8)](_0x47735),_0x1cb4a2=_0x47735[_0xd8d3dd(0xa7)]();_0x46bdf7[_0xd8d3dd(0x11b)][_0xd8d3dd(0xdd)]=_0x5dd314[_0xd8d3dd(0xf2)][_0xd8d3dd(0xef)](_0x1cb4a2);}[_0x320f9c(0x105)](){const _0x368e74=_0x320f9c;for(const _0x7f427d of this[_0x368e74(0x10a)][_0x368e74(0x115)]())this[_0x368e74(0x14c)](_0x7f427d);for(const _0x4d3b56 of this[_0x368e74(0xe6)][_0x368e74(0x13b)]())_0x4d3b56[_0x368e74(0xcf)][_0x368e74(0x105)]();super[_0x368e74(0x105)](),this[_0x368e74(0xbe)]&&clearInterval(this[_0x368e74(0xbe)]);}}function ke(_0x698976){const _0x23b0e2=_0x320f9c;return _0x23b0e2(0x152)in _0x698976;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x31f912=_0x40db;(function(_0xe86f6,_0x13245d){const _0x1bf882=_0x40db,_0x18c3a0=_0xe86f6();while(!![]){try{const _0x28cccd=-parseInt(_0x1bf882(0x147))/0x1*(-parseInt(_0x1bf882(0x149))/0x2)+parseInt(_0x1bf882(0x167))/0x3*(-parseInt(_0x1bf882(0x164))/0x4)+parseInt(_0x1bf882(0x156))/0x5+-parseInt(_0x1bf882(0x16e))/0x6*(parseInt(_0x1bf882(0x15a))/0x7)+-parseInt(_0x1bf882(0x169))/0x8+parseInt(_0x1bf882(0x159))/0x9+parseInt(_0x1bf882(0x151))/0xa;if(_0x28cccd===_0x13245d)break;else _0x18c3a0['push'](_0x18c3a0['shift']());}catch(_0x398023){_0x18c3a0['push'](_0x18c3a0['shift']());}}}(_0x5706,0x5dfcb));import{ObservableMixin as _0x1d55cd}from'ckeditor5/src/utils.js';function _0x5706(){const _0x253594=['isDirty','_removePendingAction','4oMtKGr','get','change:isDirty','2188377ELAWmQ','PENDING_ACTION_SUGGESTION','2800096dZxilv','listenTo','destroy','PendingActions','bind','6kbJrOJ','add','model','287681GOBJcw','_pendingAction','2oqnQfv','isEnabled','view','unbind','_acceptCommand','_editor','stopListening','remove','3718690NzmXRF','discardSuggestion','commands','getRanges','plugins','3465225SQXfUN','_discardCommand','canEditAt','4010112xNAOMR','2336047paPxXP','locale','execute','acceptSuggestion','canAccept','commentThreadController','canDiscard','_setPendingAction'];_0x5706=function(){return _0x253594;};return _0x5706();}function _0x40db(_0x39c32a,_0x176f01){const _0x5706cf=_0x5706();return _0x40db=function(_0x40db3a,_0x2c3d09){_0x40db3a=_0x40db3a-0x146;let _0x523d20=_0x5706cf[_0x40db3a];return _0x523d20;},_0x40db(_0x39c32a,_0x176f01);}import{getTranslation as _0x1fc9c6}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d55cd(){constructor(_0x2abc90,_0x50625a,_0x2173ff,_0x8d8684){const _0x291209=_0x40db;super(),this[_0x291209(0x146)]=_0x50625a,this[_0x291209(0x14b)]=_0x2173ff,this[_0x291209(0x15f)]=_0x8d8684,this[_0x291209(0x14e)]=_0x2abc90,this[_0x291209(0x14d)]=_0x2abc90[_0x291209(0x153)][_0x291209(0x165)](_0x291209(0x15d)),this[_0x291209(0x157)]=_0x2abc90[_0x291209(0x153)][_0x291209(0x165)](_0x291209(0x152)),this[_0x291209(0x14b)][_0x291209(0x16d)](_0x291209(0x14a))['to'](this[_0x291209(0x14d)],this[_0x291209(0x157)],(_0x1e27e5,_0x5ddaf7)=>_0x1e27e5||_0x5ddaf7),this[_0x291209(0x14b)][_0x291209(0x16d)](_0x291209(0x15e))['to'](this[_0x291209(0x14d)],_0x291209(0x14a),_0x489570=>_0x489570&&this[_0x291209(0x14e)][_0x291209(0x146)][_0x291209(0x158)](_0x50625a[_0x291209(0x154)]())),this[_0x291209(0x14b)][_0x291209(0x16d)](_0x291209(0x160))['to'](this[_0x291209(0x157)],_0x291209(0x14a),_0x3b70bb=>_0x3b70bb&&this[_0x291209(0x14e)][_0x291209(0x146)][_0x291209(0x158)](_0x50625a[_0x291209(0x154)]())),this[_0x291209(0x148)]=null,_0x2173ff[_0x291209(0x162)]&&this[_0x291209(0x161)](),this[_0x291209(0x16a)](_0x2173ff,_0x291209(0x15d),()=>this[_0x291209(0x15d)]()),this[_0x291209(0x16a)](_0x2173ff,_0x291209(0x152),()=>this[_0x291209(0x152)]()),this[_0x291209(0x16a)](_0x2173ff,_0x291209(0x166),()=>{const _0x1d7e0e=_0x291209;_0x2173ff[_0x1d7e0e(0x162)]?this[_0x1d7e0e(0x161)]():this[_0x1d7e0e(0x163)]();});}[_0x31f912(0x15d)](){const _0x27a16f=_0x31f912;this[_0x27a16f(0x14d)][_0x27a16f(0x15c)](this[_0x27a16f(0x146)]['id']);}[_0x31f912(0x152)](){const _0x48f560=_0x31f912;this[_0x48f560(0x157)][_0x48f560(0x15c)](this[_0x48f560(0x146)]['id']);}[_0x31f912(0x16b)](){const _0x2dc05b=_0x31f912;this[_0x2dc05b(0x14b)][_0x2dc05b(0x14c)](_0x2dc05b(0x14a)),this[_0x2dc05b(0x14b)][_0x2dc05b(0x14c)](_0x2dc05b(0x15e)),this[_0x2dc05b(0x14b)][_0x2dc05b(0x14c)](_0x2dc05b(0x160)),this[_0x2dc05b(0x14f)](),this[_0x2dc05b(0x15f)][_0x2dc05b(0x16b)](),this[_0x2dc05b(0x148)]&&this[_0x2dc05b(0x163)]();}[_0x31f912(0x161)](){const _0x1a2d9e=_0x31f912,_0x13949c=_0x1fc9c6(this[_0x1a2d9e(0x14e)][_0x1a2d9e(0x15b)],_0x1a2d9e(0x168));this[_0x1a2d9e(0x148)]=this[_0x1a2d9e(0x14e)][_0x1a2d9e(0x155)][_0x1a2d9e(0x165)](_0x1a2d9e(0x16c))[_0x1a2d9e(0x16f)](_0x13949c);}[_0x31f912(0x163)](){const _0x19d982=_0x31f912;null!==this[_0x19d982(0x148)]&&this[_0x19d982(0x14e)][_0x19d982(0x155)][_0x19d982(0x165)](_0x19d982(0x16c))[_0x19d982(0x150)](this[_0x19d982(0x148)]),this[_0x19d982(0x148)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x835ffc=_0x45bd;(function(_0xa444e6,_0x27e9ed){const _0x2994b4=_0x45bd,_0x30165b=_0xa444e6();while(!![]){try{const _0x294537=parseInt(_0x2994b4(0x1f7))/0x1*(parseInt(_0x2994b4(0x1ed))/0x2)+parseInt(_0x2994b4(0x1f6))/0x3*(parseInt(_0x2994b4(0x1d9))/0x4)+-parseInt(_0x2994b4(0x1d6))/0x5*(parseInt(_0x2994b4(0x20c))/0x6)+parseInt(_0x2994b4(0x20e))/0x7*(-parseInt(_0x2994b4(0x20b))/0x8)+parseInt(_0x2994b4(0x203))/0x9*(parseInt(_0x2994b4(0x1cc))/0xa)+-parseInt(_0x2994b4(0x208))/0xb*(-parseInt(_0x2994b4(0x1fc))/0xc)+-parseInt(_0x2994b4(0x210))/0xd*(parseInt(_0x2994b4(0x217))/0xe);if(_0x294537===_0x27e9ed)break;else _0x30165b['push'](_0x30165b['shift']());}catch(_0x3708db){_0x30165b['push'](_0x30165b['shift']());}}}(_0x1658,0xbc0d3));import{FocusCycler as _0x218e66,View as _0x777280,ViewCollection as _0x373692}from'ckeditor5/src/ui.js';import{FocusTracker as _0x15cc36,KeystrokeHandler as _0x372891}from'ckeditor5/src/utils.js';function _0x45bd(_0x1142c0,_0x4178f5){const _0x1658b5=_0x1658();return _0x45bd=function(_0x45bd10,_0x58e2c8){_0x45bd10=_0x45bd10-0x1cc;let _0x3d63a2=_0x1658b5[_0x45bd10];return _0x3d63a2;},_0x45bd(_0x1142c0,_0x4178f5);}import{AriaDescriptionView as _0x3ab45a,setupThreadKeyboardNavigation as _0x1faca8}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x15c17e}from'../../utils/common-translations.js';import{renderDescription as _0x5dcfc1}from'../../utils/utils.js';export default class ms extends _0x777280{constructor(_0x289377,_0x42422a,_0x134e7e,_0x9eb752){const _0x1735fc=_0x45bd;super(_0x289377),this[_0x1735fc(0x20a)]=null,this[_0x1735fc(0x1d8)]=null,this[_0x1735fc(0x1f2)]=new _0x3ab45a(_0x289377,_0x15c17e(_0x289377,_0x1735fc(0x1fb))),this[_0x1735fc(0x209)](_0x1735fc(0x1da),!0x1),this[_0x1735fc(0x209)](_0x1735fc(0x1d3),_0x42422a[_0x1735fc(0x1d3)]),this[_0x1735fc(0x1de)](_0x1735fc(0x1d3))['to'](_0x42422a),this[_0x1735fc(0x209)](_0x1735fc(0x1ff),[]),this[_0x1735fc(0x209)](_0x1735fc(0x1fd),!0x1),this[_0x1735fc(0x209)](_0x1735fc(0x214),!0x1),this[_0x1735fc(0x209)](_0x1735fc(0x1cd),!0x1),this[_0x1735fc(0x209)](_0x1735fc(0x1e6),!0x1),this[_0x1735fc(0x1de)](_0x1735fc(0x205))['to'](this,_0x1735fc(0x1f9),_0x42422a,_0x1735fc(0x1d3),this,_0x1735fc(0x1ff),(_0x4cb860,_0x486e4d,_0x3f16cd)=>{const _0x58c0d8=_0x1735fc,_0x31fffa=_0x3f16cd[_0x58c0d8(0x1f8)](_0x22ba0c=>_0x5dcfc1(_0x22ba0c[_0x58c0d8(0x1df)]))[_0x58c0d8(0x212)]('.\x20')+'.';return _0x15c17e(this[_0x58c0d8(0x1e9)],_0x58c0d8(0x1ea),[_0x4cb860-0x1,_0x42422a[_0x58c0d8(0x200)][_0x58c0d8(0x1e3)],_0x486e4d?_0x9eb752[_0x58c0d8(0x1db)](_0x486e4d):'',new DOMParser()[_0x58c0d8(0x213)](_0x31fffa,_0x58c0d8(0x1eb))[_0x58c0d8(0x1ef)][_0x58c0d8(0x1e7)]]);}),this[_0x1735fc(0x1e5)]=new _0x373692(),this[_0x1735fc(0x206)]=new _0x15cc36(),this[_0x1735fc(0x1ce)]=new _0x372891(),this[_0x1735fc(0x211)]=new _0x218e66({'focusables':this[_0x1735fc(0x1e5)],'focusTracker':this[_0x1735fc(0x206)],'keystrokeHandler':this[_0x1735fc(0x1ce)],'keystrokeHandlerOptions':{'filter':_0x3d87f4=>_0x3d87f4[_0x1735fc(0x1f5)]!==this[_0x1735fc(0x20f)]},'actions':{'focusPrevious':_0x1735fc(0x204),'focusNext':_0x1735fc(0x1f3)}}),this[_0x1735fc(0x201)]=_0x42422a,this[_0x1735fc(0x1ee)]=_0x134e7e,this[_0x1735fc(0x1cf)]=_0x9eb752,_0x9eb752[_0x1735fc(0x1dd)]?this[_0x1735fc(0x209)](_0x1735fc(0x1f9),0x1):this[_0x1735fc(0x1d4)]();}[_0x835ffc(0x1fa)](){const _0x25fdb4=_0x835ffc;super[_0x25fdb4(0x1fa)](),_0x1faca8(this,this[_0x25fdb4(0x1e5)]);}[_0x835ffc(0x1d5)](){const _0x3809d7=_0x835ffc;this[_0x3809d7(0x20f)][_0x3809d7(0x1d5)]();}[_0x835ffc(0x1e2)](){const _0x50c5c1=_0x835ffc;this[_0x50c5c1(0x20a)]&&this[_0x50c5c1(0x20a)][_0x50c5c1(0x1e2)](),this[_0x50c5c1(0x1d8)]&&this[_0x50c5c1(0x1d8)][_0x50c5c1(0x1e2)](),super[_0x50c5c1(0x1e2)]();}[_0x835ffc(0x1d4)](){const _0x419bef=_0x835ffc,{CommentsListView:_0x50410b}=this[_0x419bef(0x1cf)];this[_0x419bef(0x20a)]=new _0x50410b(this[_0x419bef(0x1e9)],this[_0x419bef(0x201)][_0x419bef(0x1ec)],Object[_0x419bef(0x1dc)]({'CommentView':this[_0x419bef(0x1cf)][_0x419bef(0x1e1)]},this[_0x419bef(0x1cf)])),this[_0x419bef(0x20a)][_0x419bef(0x218)](_0x419bef(0x1f1))['to'](this),this[_0x419bef(0x20a)][_0x419bef(0x218)](_0x419bef(0x1f4))['to'](this),this[_0x419bef(0x20a)][_0x419bef(0x1de)](_0x419bef(0x1da))['to'](this),this[_0x419bef(0x209)](_0x419bef(0x1f9),this[_0x419bef(0x20a)][_0x419bef(0x1f9)]+0x1),this[_0x419bef(0x1de)](_0x419bef(0x1f9))['to'](this[_0x419bef(0x20a)],_0x419bef(0x1f9),_0x5110df=>_0x5110df+0x1),this[_0x419bef(0x1d8)]=this[_0x419bef(0x1e8)](),this['on'](_0x419bef(0x1f1),()=>this[_0x419bef(0x1d5)]()),this[_0x419bef(0x1de)](_0x419bef(0x1fd))['to'](this[_0x419bef(0x20a)],_0x419bef(0x1e4),this[_0x419bef(0x1d8)][_0x419bef(0x1d1)],_0x419bef(0x207),(_0x210dab,_0x35ec65)=>_0x210dab||!!_0x35ec65);}[_0x835ffc(0x1e8)](){const _0x4d18db=_0x835ffc,{CommentThreadInputView:_0x3960ab}=this[_0x4d18db(0x1cf)],_0x5bd3a0=new _0x3960ab(this[_0x4d18db(0x1e9)],this[_0x4d18db(0x1ee)],this[_0x4d18db(0x1cf)][_0x4d18db(0x202)]),_0x445cf8=_0x5bd3a0[_0x4d18db(0x1d1)];return _0x5bd3a0[_0x4d18db(0x1de)](_0x4d18db(0x215))['to'](this,_0x4d18db(0x1da),this[_0x4d18db(0x201)][_0x4d18db(0x1ec)],_0x4d18db(0x1fe),_0x445cf8,_0x4d18db(0x207),(_0x52b0b0,_0x4e8e2e,_0x44c2f6)=>!!_0x44c2f6||_0x52b0b0&&!_0x4e8e2e),_0x445cf8['on'](_0x4d18db(0x216),(_0x2e323d,_0x25bca8)=>{const _0x1ae49e=_0x4d18db;this[_0x1ae49e(0x1d2)](_0x1ae49e(0x1d0),_0x25bca8),_0x445cf8[_0x1ae49e(0x20d)][_0x1ae49e(0x1f0)]('');}),_0x445cf8['on'](_0x4d18db(0x1d7),()=>this[_0x4d18db(0x1d5)]()),_0x445cf8[_0x4d18db(0x1de)](_0x4d18db(0x1e0))['to'](this[_0x4d18db(0x201)][_0x4d18db(0x1ec)],_0x4d18db(0x1fe)),_0x5bd3a0;}}function _0x1658(){const _0x39fbbc=['121482XyvYdj','editor','455ERbjhn','element','585sOYLbZ','focusCycler','join','parseFromString','isEnabled','showInput','submit','356090nQLLqY','delegate','330ManLmw','canAccept','keystrokes','_config','addComment','commentInputView','fire','authoredAt','_createCommentViews','focus','370sWUuVN','cancel','commentThreadInputView','73336gCGIht','isActive','formatDateTime','assign','disableComments','bind','content','disabledSubmit','CommentView','destroy','name','hasDirtyComment','focusables','canDiscard','textContent','_createCommentThreadInputView','locale','SUGGESTION_THREAD_ARIA_LABEL','text/html','commentThread','2VMoAdO','_localUser','body','setData','removeComment','ariaDescriptionView','tab','updateComment','target','54QczteM','1193487jYtRrg','map','length','render','SUGGESTION_THREAD_DESCRIPTION','60864VBaBWT','isDirty','isReadOnly','descriptionParts','author','_model','editorConfig','190971lznRNR','shift+tab','ariaLabel','focusTracker','value','2948zdTgae','set','commentsListView','20912DeZRVg'];_0x1658=function(){return _0x39fbbc;};return _0x1658();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21e414=_0x4f91;(function(_0x489db9,_0x2cacaa){const _0x5e499f=_0x4f91,_0x103923=_0x489db9();while(!![]){try{const _0xc0a06b=parseInt(_0x5e499f(0xe7))/0x1+parseInt(_0x5e499f(0xfd))/0x2*(-parseInt(_0x5e499f(0xfa))/0x3)+-parseInt(_0x5e499f(0x101))/0x4+-parseInt(_0x5e499f(0xf0))/0x5*(parseInt(_0x5e499f(0xf3))/0x6)+-parseInt(_0x5e499f(0xf8))/0x7+parseInt(_0x5e499f(0xe6))/0x8+parseInt(_0x5e499f(0xfb))/0x9*(parseInt(_0x5e499f(0xf6))/0xa);if(_0xc0a06b===_0x2cacaa)break;else _0x103923['push'](_0x103923['shift']());}catch(_0x2c81e7){_0x103923['push'](_0x103923['shift']());}}}(_0x5502,0xb24e3));import{default as _0x44591f}from'./basesuggestionthreadview.js';import{trimHtml as _0x28d22b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5502(){const _0x55e0f2=['acceptSuggestion','focusables','isActive','getTemplate','ck-suggestion-wrapper--active','ck-suggestion-','</p>','disableComments','isEnabled','ck-suggestion-wrapper','commentsListView','render','_model','div','_config','push','_descriptionElement','bind','commentThread','discardSuggestion','setTemplate','author','add','4659976wTJlIm','500002DskvgD','ck-rounded-corners','commentThreadInputView','canAccept','listitem','editorReady','bindTemplate','suggestionView','ariaLabel','15VxLKVw','delegate','ck-suggestion--disabled-comments','2309262PWCYpY','set','type','2539730IpWgeh','color','1259832vUaUhI','canDiscard','507BgLMXW','99GlWCxn','<p>','8972cuFGVI','description','editorDestroyed','acceptButton','4212488rfJkig','content','ariaDescriptionView','discardButton','SuggestionView','formatDateTime','descriptionParts'];_0x5502=function(){return _0x55e0f2;};return _0x5502();}function _0x4f91(_0xf94fad,_0x302c93){const _0x550276=_0x5502();return _0x4f91=function(_0x4f9182,_0x935680){_0x4f9182=_0x4f9182-0xdf;let _0x2cdba4=_0x550276[_0x4f9182];return _0x2cdba4;},_0x4f91(_0xf94fad,_0x302c93);}import{renderDescription as _0x206ed4}from'../../utils/utils.js';export default class pe extends _0x44591f{constructor(_0xbb696e,_0x5b15e0,_0x23b921,_0x34bbc0){const _0x598f06=_0x4f91;super(_0xbb696e,_0x5b15e0,_0x23b921,_0x34bbc0),this[_0x598f06(0xf4)](_0x598f06(0xf5),''),this[_0x598f06(0xe0)](_0x598f06(0xf5))['to'](this,_0x598f06(0x107),_0x387956=>_0x387956&&_0x387956[0x0]?_0x387956[0x0][_0x598f06(0xf5)]:''),this[_0x598f06(0xe0)](_0x598f06(0xfe))['to'](this,_0x598f06(0x107),this,_0x598f06(0x10a),(_0x1cb057,_0x41cf73)=>{const _0x364dbc=_0x598f06;let _0x1dc4b7='';for(const _0x516008 of _0x1cb057)_0x1dc4b7+=_0x364dbc(0xfc)+_0x206ed4(_0x516008[_0x364dbc(0x102)],_0x516008[_0x364dbc(0xf7)])+_0x364dbc(0x10e);return _0x41cf73?_0x1dc4b7:_0x28d22b(_0x1dc4b7,{'limit':0x8c});}),this[_0x598f06(0xdf)]=null,this[_0x598f06(0xee)]=new _0x34bbc0[(_0x598f06(0x105))](_0xbb696e,_0x5b15e0,{'formatDateTime':_0x34bbc0[_0x598f06(0x106)]}),this[_0x598f06(0xee)][_0x598f06(0xe0)](_0x598f06(0xfe))['to'](this),this[_0x598f06(0xee)][_0x598f06(0xf1)](_0x598f06(0x108),_0x598f06(0xe2))['to'](this),this[_0x598f06(0xee)][_0x598f06(0x100)][_0x598f06(0xe0)](_0x598f06(0x110))['to'](this,_0x598f06(0xea)),this[_0x598f06(0xee)][_0x598f06(0x104)][_0x598f06(0xe0)](_0x598f06(0x110))['to'](this,_0x598f06(0xf9)),this[_0x598f06(0x109)][_0x598f06(0xe5)](this[_0x598f06(0xee)]),this[_0x598f06(0x112)]&&this[_0x598f06(0x109)][_0x598f06(0xe5)](this[_0x598f06(0x112)]),this[_0x598f06(0xe9)]&&this[_0x598f06(0x109)][_0x598f06(0xe5)](this[_0x598f06(0xe9)]),this[_0x598f06(0xe3)](this[_0x598f06(0x10b)]());}[_0x21e414(0x10b)](){const _0x1e0557=_0x21e414,_0x3bbdc6=this[_0x1e0557(0xed)],_0xae70ca=[this[_0x1e0557(0xee)]];return this[_0x1e0557(0x112)]&&_0xae70ca[_0x1e0557(0x117)](this[_0x1e0557(0x112)]),this[_0x1e0557(0xe9)]&&_0xae70ca[_0x1e0557(0x117)](this[_0x1e0557(0xe9)]),_0xae70ca[_0x1e0557(0x117)](this[_0x1e0557(0x103)]),{'tag':_0x1e0557(0x115),'attributes':{'class':['ck',_0x1e0557(0xe8),_0x1e0557(0x111),_0x3bbdc6['if'](_0x1e0557(0x10a),_0x1e0557(0x10c)),_0x3bbdc6['to'](_0x1e0557(0xf5),_0x499e6b=>_0x1e0557(0x10d)+_0x499e6b),this[_0x1e0557(0x116)][_0x1e0557(0x10f)]&&_0x1e0557(0xf2)],'data-suggestion-id':this[_0x1e0557(0x114)]['id'],'data-thread-id':this[_0x1e0557(0x114)][_0x1e0557(0xe1)]['id'],'data-author-id':this[_0x1e0557(0x114)][_0x1e0557(0xe4)]['id'],'tabindex':0x0,'role':_0x1e0557(0xeb),'aria-label':_0x3bbdc6['to'](_0x1e0557(0xef)),'aria-describedby':this[_0x1e0557(0x103)]['id']},'children':_0xae70ca};}[_0x21e414(0x113)](){const _0x46000a=_0x21e414;super[_0x46000a(0x113)](),this[_0x46000a(0x112)]&&(this[_0x46000a(0x112)][_0x46000a(0xf1)](_0x46000a(0xec))['to'](this),this[_0x46000a(0x112)][_0x46000a(0xf1)](_0x46000a(0xff))['to'](this)),this[_0x46000a(0xe9)]&&(this[_0x46000a(0xe9)][_0x46000a(0xf1)](_0x46000a(0xec))['to'](this),this[_0x46000a(0xe9)][_0x46000a(0xf1)](_0x46000a(0xff))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x463669=_0x537a;(function(_0x43759f,_0x7f17ad){const _0x5c370e=_0x537a,_0x1cd6e1=_0x43759f();while(!![]){try{const _0x2e65a9=parseInt(_0x5c370e(0x1ea))/0x1*(-parseInt(_0x5c370e(0x222))/0x2)+parseInt(_0x5c370e(0x1d7))/0x3*(-parseInt(_0x5c370e(0x200))/0x4)+-parseInt(_0x5c370e(0x1f6))/0x5+parseInt(_0x5c370e(0x224))/0x6*(parseInt(_0x5c370e(0x1d5))/0x7)+-parseInt(_0x5c370e(0x218))/0x8+-parseInt(_0x5c370e(0x1e3))/0x9*(parseInt(_0x5c370e(0x1d8))/0xa)+parseInt(_0x5c370e(0x229))/0xb;if(_0x2e65a9===_0x7f17ad)break;else _0x1cd6e1['push'](_0x1cd6e1['shift']());}catch(_0x51681d){_0x1cd6e1['push'](_0x1cd6e1['shift']());}}}(_0x244f,0xb9cc5));import{FocusTracker as _0x2a17d4,KeystrokeHandler as _0xf08d2c}from'ckeditor5/src/utils.js';import{View as _0x14d3e8,ViewCollection as _0x32b63a,FocusCycler as _0x424be1}from'ckeditor5/src/ui.js';function _0x537a(_0x2fffe3,_0x51a25a){const _0x244fbe=_0x244f();return _0x537a=function(_0x537a6c,_0x583b8d){_0x537a6c=_0x537a6c-0x1cf;let _0x158c14=_0x244fbe[_0x537a6c];return _0x158c14;},_0x537a(_0x2fffe3,_0x51a25a);}function _0x244f(){const _0x1a210d=['3ffZyPF','370VgPrHE','esc','userView','@external','fire','isExternal','description','ck-suggestion--accept','Discard\x20suggestion','presentation','focusFirst','327303CXapSE','listenTo','ck-annotation__actions','set','querySelector','execute','tab','13NjFaie','creator','enter','Accept\x20suggestion','shift+tab','setTemplate','focus','name','_createButton','extendTemplate','push','innerHTML','3266425VeKqXr','change:description','authoredAt','_model','add','ck-annotation__info-name','ck-comment__external','element','time','ck-annotation__user','5238892UdAvku','EXTERNAL_IMPORT_WORD_AVATAR','target','formatDateTime','bind','ck-annotation__info','getTemplate','focusCycler','attributes','getExternalSuggestionNote','focusTracker','EXTERNAL_AVATAR','locale','getUserViewNotificationText','importWord','EXTERNAL_SUGGESTION','div','author','ck-suggestion','keystrokes','render','_setupKeyboardNavigation','source','ck-suggestion__actions','6592752qyEcPt','discardButton','ck-comment__info-time','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion__info','ck-annotation__content-wrapper','ck-suggestion__info-name','focusables','acceptButton','check','5402fCojhJ','ck-annotation','4151724NnBXDq','ck-suggestion--discard','bindTemplate','_config','discardSuggestion','46605559VQsRdf','acceptSuggestion','.ck-annotation__content-wrapper','ck-annotation__main','ck-suggestion__main','ck-suggestion__user','cancel','ck-annotation__info-time','7TksSVq','span'];_0x244f=function(){return _0x1a210d;};return _0x244f();}import{LateFocusButtonView as _0x358de2,UserView as _0x595d41}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x4dbc48}from'ckeditor5/src/core.js';import{getTranslation as _0x13b09a}from'../../utils/common-translations.js';export default class fe extends _0x14d3e8{constructor(_0x5a1028,_0x4dc52c,_0x1a6112){const _0x1bea39=_0x537a;super(_0x5a1028),this[_0x1bea39(0x1f9)]=_0x4dc52c,this[_0x1bea39(0x227)]=_0x1a6112,this[_0x1bea39(0x1e6)](_0x1bea39(0x1de),''),this[_0x1bea39(0x204)](_0x1bea39(0x1f8))['to'](_0x4dc52c),this[_0x1bea39(0x220)]=this[_0x1bea39(0x1f2)](_0x13b09a(_0x5a1028,_0x1bea39(0x1ed)),_0x4dbc48[_0x1bea39(0x221)],_0x1bea39(0x1df),_0x1bea39(0x22a),'sw'),this[_0x1bea39(0x219)]=this[_0x1bea39(0x1f2)](_0x13b09a(_0x5a1028,_0x1bea39(0x1e0)),_0x4dbc48[_0x1bea39(0x1d3)],_0x1bea39(0x225),_0x1bea39(0x228),'sw'),this[_0x1bea39(0x1da)]=new _0x595d41(_0x5a1028,_0x4dc52c[_0x1bea39(0x211)],this[_0x1bea39(0x20d)]()),this[_0x1bea39(0x1da)][_0x1bea39(0x1f3)]({'attributes':{'class':[_0x1bea39(0x1d2),_0x1bea39(0x1ff)],'aria-hidden':!0x0}}),this[_0x1bea39(0x21f)]=new _0x32b63a([this[_0x1bea39(0x220)],this[_0x1bea39(0x219)]]),this[_0x1bea39(0x20a)]=new _0x2a17d4(),this[_0x1bea39(0x213)]=new _0xf08d2c(),this[_0x1bea39(0x207)]=new _0x424be1({'focusables':this[_0x1bea39(0x21f)],'focusTracker':this[_0x1bea39(0x20a)],'keystrokeHandler':this[_0x1bea39(0x213)],'actions':{'focusPrevious':_0x1bea39(0x1ee),'focusNext':_0x1bea39(0x1e9)},'keystrokeHandlerOptions':{'filter':_0x5d0d07=>_0x5d0d07[_0x1bea39(0x202)]!==this[_0x1bea39(0x1fd)]}}),this[_0x1bea39(0x1ef)](this[_0x1bea39(0x206)]());}[_0x463669(0x214)](){const _0x456add=_0x463669;super[_0x456add(0x214)]();const _0x2f8df5=this[_0x456add(0x1fd)][_0x456add(0x1e7)](_0x456add(0x1cf));_0x2f8df5[_0x456add(0x1f5)]=this[_0x456add(0x1de)],this['on'](_0x456add(0x1f7),(_0x294bda,_0xa602c5,_0x1285e5)=>{const _0x419b79=_0x456add;_0x2f8df5[_0x419b79(0x1f5)]=_0x1285e5;}),this[_0x456add(0x215)]();}[_0x463669(0x206)](){const _0x3f0f18=_0x463669,_0x3e5fd2=this[_0x3f0f18(0x226)],_0x297c14=[{'tag':_0x3f0f18(0x210),'attributes':{'class':[_0x3f0f18(0x21c),_0x3f0f18(0x205)]},'children':[{'tag':_0x3f0f18(0x1d6),'children':[{'text':this[_0x3f0f18(0x1da)][_0x3f0f18(0x1f1)]}],'attributes':{'class':[_0x3f0f18(0x21e),_0x3f0f18(0x1fb)],'data-cke-tooltip-text':this[_0x3f0f18(0x1da)][_0x3f0f18(0x1f1)]}},{'tag':_0x3f0f18(0x1fe),'attributes':{'datetime':_0x3e5fd2['to'](_0x3f0f18(0x1f8)),'class':[_0x3f0f18(0x21a),_0x3f0f18(0x1d4)]},'children':[{'text':_0x3e5fd2['to'](_0x3f0f18(0x1f8),_0x22efd7=>this[_0x3f0f18(0x227)][_0x3f0f18(0x203)](_0x22efd7))}]}]},{'tag':_0x3f0f18(0x210),'attributes':{'class':[_0x3f0f18(0x217),_0x3f0f18(0x1e5)]},'children':[this[_0x3f0f18(0x220)],this[_0x3f0f18(0x219)]]},{'tag':_0x3f0f18(0x210),'attributes':{'class':[_0x3f0f18(0x21d)]}}];return this[_0x3f0f18(0x1f9)][_0x3f0f18(0x1dd)]&&_0x297c14[_0x3f0f18(0x1f4)]({'tag':_0x3f0f18(0x210),'attributes':{'class':[_0x3f0f18(0x1fc)]},'children':[{'text':this[_0x3f0f18(0x209)]()}]}),{'tag':_0x3f0f18(0x210),'attributes':{'class':[_0x3f0f18(0x212),_0x3f0f18(0x223)],'tabindex':-0x1},'children':[this[_0x3f0f18(0x1da)],{'tag':_0x3f0f18(0x210),'attributes':{'class':[_0x3f0f18(0x1d1),_0x3f0f18(0x1d0)],'role':_0x3f0f18(0x1e1)},'children':_0x297c14}]};}[_0x463669(0x1f0)](){const _0x3547fc=_0x463669;this[_0x3547fc(0x1fd)][_0x3547fc(0x1f0)]();}[_0x463669(0x20d)](){const _0x243d0c=_0x463669;return this[_0x243d0c(0x1f9)][_0x243d0c(0x1dd)]?_0x243d0c(0x20e)===this[_0x243d0c(0x1f9)][_0x243d0c(0x208)][_0x243d0c(0x1db)][_0x243d0c(0x216)]?_0x13b09a(this[_0x243d0c(0x20c)],_0x243d0c(0x201),this[_0x243d0c(0x1f9)][_0x243d0c(0x1eb)][_0x243d0c(0x1f1)]):_0x13b09a(this[_0x243d0c(0x20c)],_0x243d0c(0x20b),this[_0x243d0c(0x1f9)][_0x243d0c(0x1eb)][_0x243d0c(0x1f1)]):null;}[_0x463669(0x209)](){const _0x4511b6=_0x463669;return _0x4511b6(0x20e)===this[_0x4511b6(0x1f9)][_0x4511b6(0x208)][_0x4511b6(0x1db)][_0x4511b6(0x216)]?_0x13b09a(this[_0x4511b6(0x20c)],_0x4511b6(0x21b)):_0x13b09a(this[_0x4511b6(0x20c)],_0x4511b6(0x20f));}[_0x463669(0x1f2)](_0x54b43e,_0x352549,_0xe69ac7,_0x393aea,_0x44c8f0){const _0x833e4e=_0x463669,_0x4cb256=new _0x358de2(this[_0x833e4e(0x20c)]);return _0x4cb256[_0x833e4e(0x1e6)]({'label':_0x54b43e,'icon':_0x352549,'tooltip':!0x0,'tooltipPosition':_0x44c8f0}),_0x4cb256[_0x833e4e(0x1f3)]({'attributes':{'class':_0xe69ac7}}),_0x4cb256['on'](_0x833e4e(0x1e8),()=>{const _0x2adf4f=_0x833e4e;this[_0x2adf4f(0x1dc)](_0x393aea,this[_0x2adf4f(0x1f9)]['id']);}),_0x4cb256;}[_0x463669(0x215)](){const _0x12f716=_0x463669,_0x586ae5=this[_0x12f716(0x1fd)];this[_0x12f716(0x213)][_0x12f716(0x1e4)](_0x586ae5);for(const _0x17897c of this[_0x12f716(0x21f)])this[_0x12f716(0x20a)][_0x12f716(0x1fa)](_0x17897c[_0x12f716(0x1fd)]),this[_0x12f716(0x213)][_0x12f716(0x1e4)](_0x17897c[_0x12f716(0x1fd)]);this[_0x12f716(0x213)][_0x12f716(0x1e6)](_0x12f716(0x1ec),(_0x5d47b2,_0x2b7e71)=>{const _0x35a5d4=_0x12f716;_0x586ae5===_0x5d47b2[_0x35a5d4(0x202)]&&(this[_0x35a5d4(0x207)][_0x35a5d4(0x1e2)](),_0x2b7e71());}),this[_0x12f716(0x213)][_0x12f716(0x1e6)](_0x12f716(0x1d9),(_0x5e7c1e,_0x440e60)=>{const _0xcc0ddb=_0x12f716;_0x586ae5!==_0x5e7c1e[_0xcc0ddb(0x202)]&&(this[_0xcc0ddb(0x1f0)](),_0x440e60());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xc1b930=_0x234a;function _0x234a(_0x3f7c07,_0x56a0e0){const _0x3523b5=_0x3523();return _0x234a=function(_0x234a85,_0x48c269){_0x234a85=_0x234a85-0x87;let _0x12a531=_0x3523b5[_0x234a85];return _0x12a531;},_0x234a(_0x3f7c07,_0x56a0e0);}(function(_0x50e550,_0x509c32){const _0x21ecee=_0x234a,_0x343b15=_0x50e550();while(!![]){try{const _0x53721e=-parseInt(_0x21ecee(0x92))/0x1+-parseInt(_0x21ecee(0xa5))/0x2*(parseInt(_0x21ecee(0x87))/0x3)+parseInt(_0x21ecee(0x9a))/0x4+parseInt(_0x21ecee(0x95))/0x5+-parseInt(_0x21ecee(0x8b))/0x6+-parseInt(_0x21ecee(0xa3))/0x7*(parseInt(_0x21ecee(0x90))/0x8)+parseInt(_0x21ecee(0x9c))/0x9*(parseInt(_0x21ecee(0xa7))/0xa);if(_0x53721e===_0x509c32)break;else _0x343b15['push'](_0x343b15['shift']());}catch(_0x1670f0){_0x343b15['push'](_0x343b15['shift']());}}}(_0x3523,0x39fbd));import{View as _0x1b1ceb}from'ckeditor5/src/ui.js';export default class Me extends _0x1b1ceb{constructor(_0x3c66e0,_0x36c5e5){const _0x2267d7=_0x234a;super(_0x3c66e0),this[_0x2267d7(0x9f)]=_0x36c5e5,this[_0x2267d7(0x94)]({'tag':_0x2267d7(0x8c),'attributes':{'class':['ck',_0x2267d7(0x98),_0x2267d7(0x8a)],'tabindex':-0x1}});}[_0xc1b930(0xa1)](){const _0x39f1bc=_0xc1b930;super[_0x39f1bc(0xa1)](),this[_0x39f1bc(0x8e)][_0x39f1bc(0xa0)][_0x39f1bc(0xa4)]=this[_0x39f1bc(0x9f)][_0x39f1bc(0xa8)][_0x39f1bc(0xa4)]+'px',this[_0x39f1bc(0x8e)][_0x39f1bc(0xa0)][_0x39f1bc(0x8f)]=this[_0x39f1bc(0x9f)][_0x39f1bc(0xa8)][_0x39f1bc(0x8f)]+'px';}[_0xc1b930(0x9d)](_0x3d9cea,_0x15254a){const _0x362c53=_0xc1b930;if(!this[_0x362c53(0x8e)])return;const _0x3d176b=[];for(const [_0x113617,_0x4e1c01]of _0x3d9cea){const _0x5790dc=document[_0x362c53(0x88)](_0x362c53(0x8c));_0x5790dc[_0x362c53(0x9b)](_0x362c53(0xa6),_0x113617),_0x5790dc[_0x362c53(0x8d)]=_0x4e1c01[_0x362c53(0x9e)]+_0x362c53(0x99),_0x5790dc[_0x362c53(0x89)]=_0x4e1c01[_0x362c53(0xa2)],_0x3d176b[_0x362c53(0x97)](_0x5790dc);}_0x15254a(this[_0x362c53(0x8e)],_0x3d176b),this[_0x362c53(0x8e)][_0x362c53(0xa0)][_0x362c53(0x8f)]='',this[_0x362c53(0x93)](_0x362c53(0x96));}[_0xc1b930(0x91)](){const _0x19f6a3=_0xc1b930;this[_0x19f6a3(0x8e)][_0x19f6a3(0x91)]();}}function _0x3523(){const _0x4c2751=['ck-reset','\x20ck-track-changes-preview__root-container','579156BvnIDM','setAttribute','782253nDrDCf','setPreviewData','classes','options','style','render','content','2562623VItGtx','width','796238NCsiLP','data-ck-root-name','100jLkuVp','dialogRects','3ApxOuT','createElement','innerHTML','ck-track-changes-preview','1409190IhSiBU','div','className','element','height','8poHiRJ','focus','252025KVmsNj','fire','setTemplate','2373200LgFZiS','previewDataReady','push'];_0x3523=function(){return _0x4c2751;};return _0x3523();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4586c3,_0x568e95,_0x1e8341){const _0x5e7f1e=_0x4586c3['t'],t=_0x4586c3['t'];switch(_0x568e95){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',_0x1e8341);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1e8341);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1e8341);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1e8341);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1e8341);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',_0x1e8341);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1e8341);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',_0x1e8341);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1e8341);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1e8341);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1e8341);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1e8341);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1e8341);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1e8341);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1e8341);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1e8341);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1e8341);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1e8341);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1e8341);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1e8341);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1e8341);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1e8341);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1e8341);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1e8341);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'},_0x1e8341);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1e8341);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1e8341);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1e8341);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1e8341);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1e8341);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'},_0x1e8341);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1e8341);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1e8341);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1e8341);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1e8341);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1e8341);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1e8341);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'},_0x1e8341);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'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'},_0x1e8341);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1e8341);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'},_0x1e8341);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1e8341);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'},_0x1e8341);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1e8341);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1e8341);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'},_0x1e8341);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1e8341);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 _0x5e7f1e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1e8341);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x5e7f1e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1e8341);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1e8341);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'},_0x1e8341);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'},_0x1e8341);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'},_0x1e8341);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x568e95;}}
|
|
23
|
+
export function getTranslation(_0x37ed88,_0x1015aa,_0xf40224){const _0x269e00=_0x37ed88['t'],t=_0x37ed88['t'];switch(_0x1015aa){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',_0xf40224);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xf40224);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xf40224);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xf40224);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xf40224);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',_0xf40224);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xf40224);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',_0xf40224);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xf40224);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xf40224);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xf40224);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xf40224);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xf40224);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xf40224);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xf40224);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xf40224);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xf40224);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xf40224);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xf40224);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xf40224);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xf40224);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xf40224);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xf40224);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xf40224);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'},_0xf40224);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xf40224);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xf40224);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xf40224);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xf40224);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xf40224);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'},_0xf40224);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xf40224);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xf40224);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xf40224);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xf40224);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0xf40224);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xf40224);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'},_0xf40224);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'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'},_0xf40224);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xf40224);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'},_0xf40224);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xf40224);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'},_0xf40224);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xf40224);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xf40224);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'},_0xf40224);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xf40224);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 _0x269e00({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xf40224);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x269e00({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xf40224);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xf40224);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'},_0xf40224);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'},_0xf40224);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'},_0xf40224);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1015aa;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3028e7,_0x248152){const _0x5e64e2=_0x4331,_0x121b8b=_0x3028e7();while(!![]){try{const _0x51eb20=-parseInt(_0x5e64e2(0x1c9))/0x1+-parseInt(_0x5e64e2(0x1eb))/0x2+parseInt(_0x5e64e2(0x1e1))/0x3*(parseInt(_0x5e64e2(0x1b9))/0x4)+parseInt(_0x5e64e2(0x1ba))/0x5+parseInt(_0x5e64e2(0x1d9))/0x6*(-parseInt(_0x5e64e2(0x1c7))/0x7)+parseInt(_0x5e64e2(0x1e7))/0x8*(parseInt(_0x5e64e2(0x1e5))/0x9)+parseInt(_0x5e64e2(0x1ea))/0xa;if(_0x51eb20===_0x248152)break;else _0x121b8b['push'](_0x121b8b['shift']());}catch(_0x10f3ec){_0x121b8b['push'](_0x121b8b['shift']());}}}(_0x49f4,0x7592d));export function normalizeDescription(_0x53f4e4){const _0x16eabb=_0x4331;return Array[_0x16eabb(0x1c2)](_0x53f4e4)||(_0x53f4e4=[_0x53f4e4]),_0x53f4e4[_0x16eabb(0x1ec)](_0x187adb=>{const _0x15d139=_0x16eabb,_0x1254a4=_0x187adb[_0x15d139(0x1d2)][_0x15d139(0x1be)](/\*/g,''),_0x3ca95a=_0x187adb[_0x15d139(0x1b8)]?_0x15d139(0x1dc)+_0x187adb[_0x15d139(0x1b8)][_0x15d139(0x1ce)]+']':'';return'['+_0x187adb[_0x15d139(0x1e3)]+']\x20'+_0x1254a4+_0x3ca95a;})[_0x16eabb(0x1d8)](';\x20');}function _0x49f4(){const _0x3dee3a=['35371VvIWyT','\x22></span>','475473qqSLde','<span\x20class=\x22ck-suggestion-type\x22>','isInContent','isIntersecting','schema','value','createPositionAt','createElement','isTouching','content','deletion','execute','end','sort','createRange','join','1002RkGEgP','isCollapsed','\x22\x20title=\x22','\x20[color\x20','innerHTML','change','start','isMultiRange','7095OFxgiW','next','type','createPositionBefore','9864CfXaXt','from','4616YWRSqz','split','splice','3606340UJWnfL','267714skBuOH','map','add','color','1412MEcVTa','534455SgTKZI','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','isObject','createPositionAfter','replace','title','push','</span>','isArray','innerText','span','length','getRanges'];_0x49f4=function(){return _0x3dee3a;};return _0x49f4();}export function renderDescription(_0xcf12e6,_0x37f2be){const _0x36ac2f=_0x4331;let _0x627d02='';return _0x627d02+=_0xcf12e6[_0x36ac2f(0x1e8)]('*')[_0x36ac2f(0x1ec)]((_0x550875,_0x4188e9)=>_0x4188e9%0x2!=0x0?_0x36ac2f(0x1ca)+nn(_0x550875)+_0x36ac2f(0x1c1):nn(_0x550875))[_0x36ac2f(0x1d8)](''),_0x37f2be&&(_0x627d02+=_0x36ac2f(0x1bb)+_0x37f2be[_0x36ac2f(0x1ce)]+_0x36ac2f(0x1db)+_0x37f2be[_0x36ac2f(0x1bf)]+_0x36ac2f(0x1c8)),_0x627d02;}function nn(_0x10178e){const _0x59caa1=_0x4331,_0x3a0bde=document[_0x59caa1(0x1d0)](_0x59caa1(0x1c4));return _0x3a0bde[_0x59caa1(0x1c3)]=_0x10178e,_0x3a0bde[_0x59caa1(0x1dd)];}export function sortSuggestions(_0x1b0490){const _0x5a4ae8=_0x4331;return _0x1b0490[_0x5a4ae8(0x1d6)]((_0x1c6064,_0x4806e5)=>_0x5a4ae8(0x1d3)==_0x1c6064[_0x5a4ae8(0x1e3)]&&_0x5a4ae8(0x1d3)!=_0x4806e5[_0x5a4ae8(0x1e3)]?-0x1:_0x5a4ae8(0x1d3)!=_0x1c6064[_0x5a4ae8(0x1e3)]&&_0x5a4ae8(0x1d3)==_0x4806e5[_0x5a4ae8(0x1e3)]?0x1:0x0);}export function getSelectedSuggestions(_0x5e90ed,_0x4c819d){const _0xaeac16=_0x4331,_0x532d4a=Array[_0xaeac16(0x1e6)](_0x5e90ed[_0xaeac16(0x1c6)]()),_0x8d3287=new Set();for(const _0x1f4869 of _0x4c819d)if(_0x1f4869[_0xaeac16(0x1cb)]){for(const _0x3950d9 of _0x532d4a)for(const _0x2f174b of _0x1f4869[_0xaeac16(0x1c6)]())(_0x3950d9[_0xaeac16(0x1cc)](_0x2f174b)||_0x5e90ed[_0xaeac16(0x1da)]&&!_0x1f4869[_0xaeac16(0x1e0)]&&_0x1f4869[_0xaeac16(0x1e2)]&&_0x2f174b[_0xaeac16(0x1d5)][_0xaeac16(0x1d1)](_0x3950d9[_0xaeac16(0x1df)]))&&_0x8d3287[_0xaeac16(0x1b7)](_0x1f4869);}return _0x8d3287;}export function getRangesOfBlockGroups(_0x17df77,_0xd0502e){const _0x2cdbc7=_0x4331;let _0xc6ea4d,_0x3ae5cd=0x0;const _0x4a4b30=[],_0x477178=_0xd0502e[_0x2cdbc7(0x1cd)];for(;_0x3ae5cd<_0x17df77[_0x2cdbc7(0x1c5)];){const _0x331f1a=_0x17df77[_0x3ae5cd],_0x483f6e=_0x17df77[_0x3ae5cd+0x1];_0xc6ea4d||(_0xc6ea4d=_0xd0502e[_0x2cdbc7(0x1e4)](_0x331f1a)),on(_0xd0502e,_0x331f1a,_0x483f6e)||(_0x4a4b30[_0x2cdbc7(0x1c0)](_0xd0502e[_0x2cdbc7(0x1d7)](_0xc6ea4d,_0x477178[_0x2cdbc7(0x1bc)](_0x331f1a)?_0xd0502e[_0x2cdbc7(0x1bd)](_0x331f1a):_0xd0502e[_0x2cdbc7(0x1cf)](_0x331f1a,_0x2cdbc7(0x1d5)))),_0xc6ea4d=null),_0x3ae5cd++;}return _0x4a4b30;}function on(_0x5c25d1,_0x3671b7,_0x2778ea){const _0x289cf6=_0x4331;if(!_0x2778ea)return!0x1;const _0x1b5048=_0x5c25d1[_0x289cf6(0x1bd)](_0x3671b7),_0x5c57c7=_0x5c25d1[_0x289cf6(0x1e4)](_0x2778ea);return _0x1b5048[_0x289cf6(0x1d1)](_0x5c57c7);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x4331(_0xbde8dc,_0x2195ba){const _0x49f4bb=_0x49f4();return _0x4331=function(_0x43317d,_0x587446){_0x43317d=_0x43317d-0x1b7;let _0x142b50=_0x49f4bb[_0x43317d];return _0x142b50;},_0x4331(_0xbde8dc,_0x2195ba);}export function executeCommandForSuggestions(_0x391dbc,_0x14ae10,_0x2cc540){const _0x3f6a50=_0x4331;for(;_0x2cc540[_0x3f6a50(0x1c5)];){const _0x88088d=_0x2cc540[_0x3f6a50(0x1e9)](0x0,0x64);_0x391dbc[_0x3f6a50(0x1de)](()=>{const _0x46a0f0=_0x3f6a50;for(const _0x37f04f of _0x88088d)_0x37f04f[_0x46a0f0(0x1cb)]&&_0x14ae10[_0x46a0f0(0x1d4)](_0x37f04f['id']);});}}
|