@ckeditor/ckeditor5-track-changes 44.2.0-alpha.8 → 44.2.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/trackchangesconfig.d.ts +8 -4
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c880a=_0x3204;(function(_0x2fd5d3,_0x4a4e02){const _0x4d182b=_0x3204,_0x1eb403=_0x2fd5d3();while(!![]){try{const _0x2107f8=parseInt(_0x4d182b(0x1f9))/0x1*(-parseInt(_0x4d182b(0x206))/0x2)+-parseInt(_0x4d182b(0x205))/0x3+-parseInt(_0x4d182b(0x1fb))/0x4*(parseInt(_0x4d182b(0x1f3))/0x5)+parseInt(_0x4d182b(0x203))/0x6+parseInt(_0x4d182b(0x1f6))/0x7+-parseInt(_0x4d182b(0x1f7))/0x8+-parseInt(_0x4d182b(0x1f8))/0x9*(-parseInt(_0x4d182b(0x201))/0xa);if(_0x2107f8===_0x4a4e02)break;else _0x1eb403['push'](_0x1eb403['shift']());}catch(_0x506899){_0x1eb403['push'](_0x1eb403['shift']());}}}(_0xf94c,0xce7f8));import{Plugin as _0xc2d75e}from'ckeditor5/src/core.js';function _0x3204(_0x2a40d6,_0x236ba2){const _0xf94c3c=_0xf94c();return _0x3204=function(_0x3204df,_0x230845){_0x3204df=_0x3204df-0x1f3;let _0x5cd481=_0xf94c3c[_0x3204df];return _0x5cd481;},_0x3204(_0x2a40d6,_0x236ba2);}function _0xf94c(){const _0x355600=['isOfficialPlugin','4824363RxuFoN','2YnXHXZ','previewFinalContent','add','define','41945ZyCtKa','config','appendChild','7707581oXnRSi','1532400AwhptS','24156SuoDJr','506962GEgaVC','trackChanges.preview.renderFunction','88XvGCjM','isPremiumPlugin','requires','commands','TrackChangesPreview','editor','6130nTWwpm','pluginName','3543792iQJqtE'];_0xf94c=function(){return _0x355600;};return _0xf94c();}import{Dialog as _0x3446e5}from'ckeditor5/src/ui.js';import _0x2065f3 from'./trackchangesdata.js';import _0x4d0997 from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export default class te extends _0xc2d75e{static get[_0x2c880a(0x1fd)](){return[_0x2065f3,_0x3446e5];}static get[_0x2c880a(0x202)](){const _0x24be61=_0x2c880a;return _0x24be61(0x1ff);}static get[_0x2c880a(0x204)](){return!0x0;}static get[_0x2c880a(0x1fc)](){return!0x0;}constructor(_0x4695c3){const _0xa7deee=_0x2c880a;super(_0x4695c3),_0x4695c3[_0xa7deee(0x1fe)][_0xa7deee(0x208)](_0xa7deee(0x207),new _0x4d0997(this[_0xa7deee(0x200)])),_0x4695c3[_0xa7deee(0x1f4)][_0xa7deee(0x209)](_0xa7deee(0x1fa),(_0x2f9715,_0x3308a8)=>{const _0xdadd24=_0xa7deee;for(const _0x4700e1 of _0x3308a8)_0x2f9715[_0xdadd24(0x1f5)](_0x4700e1);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2bd8(){const _0x329b0e=['getDescriptions','menuBar:trackChanges','acceptSelectedSuggestions','addSourceCollector','createAnnotationView','type','fire','Track\x20changes','arrowView','descriptionParts','createAnnotation','buttonView','getByInnerView','isOfficialPlugin','execute','plugins','source','value','define','EditorAnnotations','trialLimit','commentsListView','3190812rDISnD','getRanges','SuggestionView','CommentsUI','trackChangesLicenseKeyUsageLimit','activeAnnotations','Annotations','featureNotAllowed','focus','mainView','_createToolbarButton','locale','suggestionLoaded','_disableComments','commentThread','get','previewFinalContent','suggestionView','editor','commands','children','10skXmjT','some','acceptButton','Discard\x20all\x20selected\x20suggestions','_viewToController','separator','menuitemcheckbox','_createMenuBarMenu','activeMarkers','_addUIComponentsToFactory','bind','_refreshActiveMarkers','set','button','trackChangesLicenseKeyValid','_annotationViews','discardSelectedSuggestions','menu','escape','_destroyController','_updateController','view','isOn','trackChangesLicenseKeyNotAllowed','14151256ajCsfS','has','isEnabled','discardAllSuggestions','destroy','hasSuggestion','addMany','commandName','change:previous','push','comments.maxThreadTotalWeight','suggestionChanged','comments.maxCommentCharsWhenCollapsed','_handleSuggestionControllerDelayed','pluginName','isMultiRange','6563060mwENTv','trackChangesLicenseKeyInvalid','TrackChangesUI','from','trackChanges.SuggestionView','toMany','TrackChanges','usageLimit','switchbutton','descriptionFactory','panelView','1039695dxxYRh','values','Preview\x20final\x20content','delegate','_licenseKeyCheckInterval','CommentsRepository','innerView','head','remove','expired','discardButton','listenTo','trackChangesLicenseKeyEvaluationLimit','isInContent','isDirty','requires','TrackChangesEditing','getMarkers','clear','change:activeAnnotations','licenseKey','filter','_suggestionToController','_initializeController','suggestion-','previous','39326haTlKn','Accept\x20all\x20selected\x20suggestions','editing','getAllAdjacentSuggestions','getJoined','init','trackChangesLicenseKeyDomainLimit','trackChanges','domainLimit','_unbindEditors','comments.maxCommentsWhenCollapsed','size','_bindAnnotationToEditors','Discard\x20all\x20suggestions','add','reduce','getSuggestion','registerAnnotation','refreshSelectedViews','unbind','_showLicenseError','lowest','SuggestionThreadView','trackChangesLicenseKeyTrialLimit','delete','1201119XITVKO','getFirstRange','invalid','actionView','length','suggestionUnloaded','evaluationLimit','TrackChangesPreview','comments','stopListening','isPremiumPlugin','trackChanges.disableComments','CommentView','createCommentThreadController','comments.editorConfig','_handleControllerBuffer','componentFactory','trackChangesLicenseKeyExpired','model','getMarkerNames','menuitem','config','trackChanges.SuggestionThreadView','items','keys','acceptAllSuggestions','2845748XSLwLZ','addComment','Accept\x20all\x20suggestions'];_0x2bd8=function(){return _0x329b0e;};return _0x2bd8();}const _0x4e6db3=_0x2384;(function(_0x4470d1,_0x4ca203){const _0x225340=_0x2384,_0x3b9808=_0x4470d1();while(!![]){try{const _0x5165b5=parseInt(_0x225340(0x1e5))/0x1+-parseInt(_0x225340(0x27a))/0x2+parseInt(_0x225340(0x260))/0x3+-parseInt(_0x225340(0x1ff))/0x4*(-parseInt(_0x225340(0x22d))/0x5)+parseInt(_0x225340(0x218))/0x6+-parseInt(_0x225340(0x255))/0x7+-parseInt(_0x225340(0x245))/0x8;if(_0x5165b5===_0x4ca203)break;else _0x3b9808['push'](_0x3b9808['shift']());}catch(_0x1f6b77){_0x3b9808['push'](_0x3b9808['shift']());}}}(_0x2bd8,0xbd812));import{Plugin as _0x1acf8b}from'ckeditor5/src/core.js';import{Collection as _0x5747df}from'ckeditor5/src/utils.js';function _0x2384(_0x244b4f,_0x297d9f){const _0x2bd85e=_0x2bd8();return _0x2384=function(_0x238485,_0x517428){_0x238485=_0x238485-0x1d8;let _0x4560df=_0x2bd85e[_0x238485];return _0x4560df;},_0x2384(_0x244b4f,_0x297d9f);}import{addListToDropdown as _0xd2d8aa,createDropdown as _0x10c52d,ListSeparatorView as _0x47cb8c,MenuBarMenuView as _0x113c1e,MenuBarMenuListView as _0x4fdd95,MenuBarMenuListItemView as _0x56ace3,MenuBarMenuListItemButtonView as _0x5592cf,SplitButtonView as _0x56f4ce,ViewModel as _0x4a98e0}from'ckeditor5/src/ui.js';import{Users as _0xb086b4,getDateTimeFormatter as _0x12e524,getAllMarkersDomElementsSorted as _0x3d6516}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3a6365 from'./trackchangesediting.js';import _0x4d2215 from'./ui/suggestioncontroller.js';import _0x2a3788 from'./ui/view/suggestionthreadview.js';import _0x1e4ec2 from'./ui/view/suggestionview.js';import{getTranslation as _0xaf9531}from'./utils/common-translations.js';import _0x3f3fcb from'../theme/icons/track-changes.svg';export default class d extends _0x1acf8b{static get[_0x4e6db3(0x26f)](){const _0x4badd8=_0x4e6db3;return[_0x3a6365,_0xb086b4,_0x4badd8(0x265),_0x4badd8(0x21e),_0x4badd8(0x215)];}static get[_0x4e6db3(0x253)](){const _0x386107=_0x4e6db3;return _0x386107(0x257);}static get[_0x4e6db3(0x20f)](){return!0x0;}static get[_0x4e6db3(0x1ef)](){return!0x0;}constructor(_0x341df0){const _0x297aea=_0x4e6db3;super(_0x341df0),this[_0x297aea(0x276)]=new Map(),this[_0x297aea(0x231)]=new Map(),this[_0x297aea(0x23c)]=new Map(),this[_0x297aea(0x1f4)]=new Map();const _0x298a89=this[_0x297aea(0x22a)][_0x297aea(0x1fa)];_0x298a89[_0x297aea(0x214)](_0x297aea(0x1fb),_0x2a3788),_0x298a89[_0x297aea(0x214)](_0x297aea(0x259),_0x1e4ec2),_0x298a89[_0x297aea(0x214)](_0x297aea(0x1f0),!0x1),this[_0x297aea(0x225)]=_0x298a89[_0x297aea(0x227)](_0x297aea(0x1f0));}[_0x4e6db3(0x252)](_0x4d3bba,_0x1fc5e5){const _0x3bdc48=_0x4e6db3;0x0===this[_0x3bdc48(0x1f4)][_0x3bdc48(0x285)]&&setTimeout(()=>{const _0xdf4239=_0x3bdc48;for(const [_0xfd2d20,_0x43d94d]of this[_0xdf4239(0x1f4)]){const _0x544363=this[_0xdf4239(0x276)][_0xdf4239(0x246)](_0xfd2d20);_0x544363||_0x43d94d?_0x544363&&_0x43d94d&&this[_0xdf4239(0x240)](_0xfd2d20):this[_0xdf4239(0x277)](_0xfd2d20);}this[_0xdf4239(0x1f4)][_0xdf4239(0x272)](),this[_0xdf4239(0x22a)][_0xdf4239(0x211)][_0xdf4239(0x227)](_0xdf4239(0x215))[_0xdf4239(0x1de)](),this[_0xdf4239(0x238)]();},0xa),this[_0x3bdc48(0x1f4)][_0x3bdc48(0x239)](_0x4d3bba,_0x1fc5e5);}[_0x4e6db3(0x27f)](){const _0x492458=_0x4e6db3,_0x32527d=this[_0x492458(0x22a)],_0x94e667=_0x32527d[_0x492458(0x211)][_0x492458(0x227)](_0x492458(0x270)),_0x4463e2=_0x32527d[_0x492458(0x211)][_0x492458(0x227)](_0x492458(0x21e)),_0x3fac4c=_0x32527d[_0x492458(0x211)][_0x492458(0x227)](_0x492458(0x215)),_0x3865d0=_0x32527d[_0x492458(0x211)][_0x492458(0x227)](_0x492458(0x265));this[_0x492458(0x236)](),_0x3fac4c[_0x492458(0x205)](()=>{const _0xe769db=_0x492458,_0x481396=[];for(const [_0x1a20de,_0x55bc9c]of Array[_0xe769db(0x258)](this[_0xe769db(0x276)])){const _0x1cceb3=_0x1a20de[_0xe769db(0x27d)](),_0x5321b6=[];for(const _0x49f767 of _0x1cceb3){if(!_0x49f767[_0xe769db(0x26d)])continue;if(_0x49f767[_0xe769db(0x254)]){_0x5321b6[_0xe769db(0x24e)](..._0x49f767[_0xe769db(0x219)]());continue;}const _0x96c3f5=_0x49f767[_0xe769db(0x1e6)]();if(_0x5321b6[_0xe769db(0x1e9)]>0x0){const _0x2c353f=_0x5321b6[0x0][_0xe769db(0x27e)](_0x96c3f5);if(_0x2c353f){_0x5321b6[0x0]=_0x2c353f;continue;}}_0x5321b6[_0xe769db(0x24e)](_0x96c3f5);}_0x481396[_0xe769db(0x24e)]([_0x55bc9c[_0xe769db(0x242)],_0x5321b6]);}return _0x481396;}),this[_0x492458(0x26b)](_0x94e667,_0x492458(0x224),(_0x5d3c6a,_0x46d91f)=>{const _0x21e5d9=_0x492458;this[_0x21e5d9(0x26b)](_0x46d91f,_0x21e5d9(0x24d),(_0x2a026b,_0x1ff948,_0xeb18d3,_0x500c1b)=>{const _0x42f991=_0x21e5d9;_0x46d91f[_0x42f991(0x26d)]&&(null==_0xeb18d3?(this[_0x42f991(0x241)](_0x500c1b[_0x42f991(0x267)]),this[_0x42f991(0x252)](_0x46d91f,!0x1)):(this[_0x42f991(0x241)](_0xeb18d3[_0x42f991(0x267)]),null==_0x500c1b&&this[_0x42f991(0x252)](_0x46d91f,!0x0)));}),null!==_0x46d91f[_0x21e5d9(0x279)]?this[_0x21e5d9(0x241)](_0x46d91f[_0x21e5d9(0x267)]):this[_0x21e5d9(0x252)](_0x46d91f,!0x1);}),this[_0x492458(0x26b)](_0x94e667,_0x492458(0x1ea),(_0x5aafd3,_0x3ab433,_0xc1b21)=>{const _0x30429f=_0x492458;this[_0x30429f(0x1ee)](_0x3ab433,_0x30429f(0x24d)),this[_0x30429f(0x1f4)][_0x30429f(0x1e4)](_0x3ab433),this[_0x30429f(0x276)][_0x30429f(0x246)](_0x3ab433)&&this[_0x30429f(0x240)](_0x3ab433),_0xc1b21&&this[_0x30429f(0x241)](_0xc1b21[_0x30429f(0x267)]);}),this[_0x492458(0x26b)](_0x94e667,_0x492458(0x250),(_0x2e9db6,_0x384f2d)=>{const _0x3419a5=_0x492458;this[_0x3419a5(0x241)](_0x384f2d);}),this[_0x492458(0x26b)](_0x4463e2,_0x492458(0x273),()=>{const _0x5f28f5=_0x492458;this[_0x5f28f5(0x238)]();}),this[_0x492458(0x26b)](_0x3865d0,_0x492458(0x200),(_0x133356,{threadId:_0x58683b,isFromAdapter:_0x43fca9})=>{const _0x2a4afe=_0x492458;if(_0x43fca9||!_0x94e667[_0x2a4afe(0x24a)](_0x58683b))return;const _0x7fd7a9=_0x94e667[_0x2a4afe(0x1dc)](_0x58683b);this[_0x2a4afe(0x276)][_0x2a4afe(0x227)](_0x7fd7a9)[_0x2a4afe(0x242)][_0x2a4afe(0x217)][_0x2a4afe(0x220)](-0x1);},{'priority':_0x492458(0x1e1)}),this[_0x492458(0x274)]=this[_0x492458(0x22a)][_0x492458(0x1fa)][_0x492458(0x227)](_0x492458(0x274));const _0x5a9801=this[_0x492458(0x22a)];this[_0x492458(0x264)]=setInterval(()=>{const _0x1f5540=_0x492458;let _0x3a153e;for(const _0x46fdb1 in _0x5a9801){const _0x54354e=_0x46fdb1,_0x13379a=_0x5a9801[_0x54354e];if(_0x1f5540(0x23b)==_0x13379a||_0x1f5540(0x256)==_0x13379a||_0x1f5540(0x1f6)==_0x13379a||_0x1f5540(0x280)==_0x13379a||_0x1f5540(0x244)==_0x13379a||_0x1f5540(0x26c)==_0x13379a||_0x1f5540(0x1e3)==_0x13379a||_0x1f5540(0x21c)==_0x13379a){delete _0x5a9801[_0x54354e],_0x3a153e=_0x13379a,clearInterval(this[_0x1f5540(0x264)]),this[_0x1f5540(0x264)]=void 0x0;break;}}_0x1f5540(0x256)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x1e7)),_0x1f5540(0x1f6)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x269)),_0x1f5540(0x280)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x282)),_0x1f5540(0x244)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x21f),_0x1f5540(0x25b)),_0x1f5540(0x26c)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x1eb)),_0x1f5540(0x1e3)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x216)),_0x1f5540(0x21c)==_0x3a153e&&_0x5a9801[_0x1f5540(0x1e0)](_0x1f5540(0x25c));},0x3e8);}[_0x4e6db3(0x238)](){const _0x4cab32=_0x4e6db3,_0x52f12f=this[_0x4cab32(0x22a)][_0x4cab32(0x211)][_0x4cab32(0x227)](_0x4cab32(0x21e)),_0x3ea0dc=this[_0x4cab32(0x22a)][_0x4cab32(0x211)][_0x4cab32(0x227)](_0x4cab32(0x270)),_0x5b2c1e=Array[_0x4cab32(0x258)](_0x52f12f[_0x4cab32(0x21d)],_0x286a35=>_0x286a35[_0x4cab32(0x266)])[_0x4cab32(0x275)](_0x209906=>this[_0x4cab32(0x231)][_0x4cab32(0x246)](_0x209906)),_0x51b388=[];for(const _0x1b4f9a of _0x5b2c1e){const _0x2582f9=this[_0x4cab32(0x231)][_0x4cab32(0x227)](_0x1b4f9a)[_0x4cab32(0x1f7)][_0x4cab32(0x27d)]();_0x51b388[_0x4cab32(0x24e)](..._0x2582f9[_0x4cab32(0x1db)]((_0x7c6bae,_0x388393)=>[..._0x7c6bae,..._0x388393[_0x4cab32(0x1f8)]()],[]));}_0x3ea0dc[_0x4cab32(0x235)]=_0x51b388;}[_0x4e6db3(0x236)](){const _0xf0967b=_0x4e6db3,_0x433c93=this[_0xf0967b(0x22a)],_0x131c19=_0x433c93[_0xf0967b(0x223)],_0x3eff34=_0xaf9531(_0x131c19,_0xf0967b(0x209)),_0x4e3459=new _0x5747df([{'type':_0xf0967b(0x25d),'model':new _0x4a98e0({'withText':!0x0,'isToggleable':!0x0,'label':_0x3eff34,'commandName':_0xf0967b(0x281),'role':_0xf0967b(0x233)})},{'type':_0xf0967b(0x232)},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x201)),'commandName':_0xf0967b(0x1fe),'role':_0xf0967b(0x1f9)})},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x27b)),'commandName':_0xf0967b(0x204),'role':_0xf0967b(0x1f9)})},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x1d9)),'commandName':_0xf0967b(0x248),'role':_0xf0967b(0x1f9)})},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x230)),'commandName':_0xf0967b(0x23d),'role':_0xf0967b(0x1f9)})}]);_0x433c93[_0xf0967b(0x211)][_0xf0967b(0x246)](_0xf0967b(0x1ec))&&_0x4e3459[_0xf0967b(0x24b)]([{'type':_0xf0967b(0x232)},{'type':_0xf0967b(0x23a),'model':new _0x4a98e0({'withText':!0x0,'label':_0xaf9531(_0x131c19,_0xf0967b(0x262)),'commandName':_0xf0967b(0x228),'role':_0xf0967b(0x1f9)})}]);for(const _0x517a3c of _0x4e3459)if(ke(_0x517a3c)){const _0x1fc347=_0x433c93[_0xf0967b(0x22b)][_0xf0967b(0x227)](_0x517a3c[_0xf0967b(0x1f7)][_0xf0967b(0x24c)]);_0x517a3c[_0xf0967b(0x1f7)][_0xf0967b(0x237)](_0xf0967b(0x243),_0xf0967b(0x247))['to'](_0x1fc347,_0xf0967b(0x213),_0xf0967b(0x247));}_0x433c93['ui'][_0xf0967b(0x1f5)][_0xf0967b(0x1da)](_0xf0967b(0x281),_0x56a259=>this[_0xf0967b(0x222)](_0x56a259,_0x4e3459,_0x3eff34)),_0x433c93['ui'][_0xf0967b(0x1f5)][_0xf0967b(0x1da)](_0xf0967b(0x203),_0x2c1c15=>this[_0xf0967b(0x234)](_0x2c1c15,_0x4e3459,_0x3eff34));}[_0x4e6db3(0x222)](_0x265357,_0x38f4c8,_0x310e6a){const _0x42d822=_0x4e6db3,_0x10203f=_0x10c52d(_0x265357,_0x56f4ce),_0x4e9960=this[_0x42d822(0x22a)][_0x42d822(0x22b)][_0x42d822(0x227)](_0x42d822(0x281));_0x10203f[_0x42d822(0x20d)][_0x42d822(0x239)]({'tooltip':_0x310e6a,'label':_0x310e6a,'icon':_0x3f3fcb}),_0x10203f[_0x42d822(0x20d)][_0x42d822(0x237)](_0x42d822(0x243))['to'](_0x4e9960,_0x42d822(0x213)),_0x10203f[_0x42d822(0x20d)]['on'](_0x42d822(0x210),()=>{const _0x170941=_0x42d822;_0x4e9960[_0x170941(0x210)](),this[_0x170941(0x22a)][_0x170941(0x27c)][_0x170941(0x242)][_0x170941(0x220)]();}),_0xd2d8aa(_0x10203f,_0x38f4c8,{'role':_0x42d822(0x23e)});const _0x374898=[];for(const _0x31205a of _0x38f4c8)ke(_0x31205a)&&_0x374898[_0x42d822(0x24e)](this[_0x42d822(0x22a)][_0x42d822(0x22b)][_0x42d822(0x227)](_0x31205a[_0x42d822(0x1f7)][_0x42d822(0x24c)]));const _0x5cab42=_0x10203f[_0x42d822(0x20d)];return _0x5cab42[_0x42d822(0x1e8)][_0x42d822(0x1df)](_0x42d822(0x247)),_0x5cab42[_0x42d822(0x20a)][_0x42d822(0x1df)](_0x42d822(0x247)),_0x5cab42[_0x42d822(0x1e8)][_0x42d822(0x237)](_0x42d822(0x247))['to'](_0x4e9960,_0x42d822(0x247)),_0x5cab42[_0x42d822(0x20a)][_0x42d822(0x237)](_0x42d822(0x247))[_0x42d822(0x25a)](_0x374898,_0x42d822(0x247),(..._0x4a5318)=>_0x4a5318[_0x42d822(0x22e)](_0x22e121=>_0x22e121)),_0x10203f['on'](_0x42d822(0x210),_0x59bd83=>{const _0x5abf91=_0x42d822;this[_0x5abf91(0x22a)][_0x5abf91(0x210)](_0x59bd83[_0x5abf91(0x212)][_0x5abf91(0x24c)]),this[_0x5abf91(0x22a)][_0x5abf91(0x27c)][_0x5abf91(0x242)][_0x5abf91(0x220)]();}),_0x10203f;}[_0x4e6db3(0x234)](_0x5803c5,_0x37ec45,_0x3ca9ac){const _0x58766f=_0x4e6db3,_0x2f916a=new _0x113c1e(_0x5803c5),_0x4349e8=this[_0x58766f(0x22a)][_0x58766f(0x22b)][_0x58766f(0x227)](_0x58766f(0x281));_0x2f916a[_0x58766f(0x20d)][_0x58766f(0x239)]({'label':_0x3ca9ac,'icon':_0x3f3fcb});const _0x3f3ea9=new _0x4fdd95(_0x5803c5);for(const _0x6cb829 of _0x37ec45){if(_0x58766f(0x232)==_0x6cb829[_0x58766f(0x207)]){_0x3f3ea9[_0x58766f(0x1fc)][_0x58766f(0x1da)](new _0x47cb8c(_0x5803c5));continue;}const _0x385527=new _0x56ace3(_0x5803c5,_0x2f916a),_0x47f08b=new _0x5592cf(_0x5803c5),_0x5ad8ee=_0x6cb829[_0x58766f(0x1f7)];_0x47f08b[_0x58766f(0x237)](...Object[_0x58766f(0x1fd)](_0x5ad8ee))['to'](_0x5ad8ee),_0x47f08b[_0x58766f(0x263)](_0x58766f(0x210))['to'](_0x2f916a),_0x47f08b['on'](_0x58766f(0x210),()=>{const _0x3002c2=_0x58766f;this[_0x3002c2(0x22a)][_0x3002c2(0x210)](_0x5ad8ee[_0x3002c2(0x24c)]),this[_0x3002c2(0x22a)][_0x3002c2(0x27c)][_0x3002c2(0x242)][_0x3002c2(0x220)]();}),_0x385527[_0x58766f(0x22c)][_0x58766f(0x1da)](_0x47f08b),_0x3f3ea9[_0x58766f(0x1fc)][_0x58766f(0x1da)](_0x385527);}return _0x2f916a[_0x58766f(0x237)](_0x58766f(0x247))['to'](_0x4349e8,_0x58766f(0x247)),_0x2f916a[_0x58766f(0x25f)][_0x58766f(0x22c)][_0x58766f(0x1da)](_0x3f3ea9),_0x2f916a;}[_0x4e6db3(0x277)](_0x2ae6f7){const _0x5f5cb0=_0x4e6db3,_0x339644=this[_0x5f5cb0(0x22a)],_0x241443=_0x339644[_0x5f5cb0(0x1fa)],_0x4bb296=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x21e)),_0x47465e=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x265)),_0x5084ce=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x215)),_0x5d6e87=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0xb086b4)['me'],_0x355d7c=_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x281))[_0x5f5cb0(0x1e2)],_0x41ef9b=_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x281))[_0x5f5cb0(0x21a)],{CommentsListView:_0x2176a7,CommentThreadInputView:_0x1bc263}=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x21b));let _0x37b4b6,_0x2f432d,_0x460d17;this[_0x5f5cb0(0x23c)][_0x5f5cb0(0x246)](_0x2ae6f7['id'])?(_0x2f432d=this[_0x5f5cb0(0x23c)][_0x5f5cb0(0x227)](_0x2ae6f7['id']),_0x37b4b6=_0x2f432d[_0x5f5cb0(0x221)]):(_0x37b4b6=new _0x355d7c(_0x339644[_0x5f5cb0(0x223)],_0x2ae6f7,_0x5d6e87,{'disableComments':this[_0x5f5cb0(0x225)],'editorConfig':{..._0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x1f3)),'licenseKey':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x274))},'maxCommentsWhenCollapsed':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x284)),'maxThreadTotalWeight':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x24f)),'maxCommentCharsWhenCollapsed':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x251)),'formatDateTime':_0x12e524(_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x223))),'CommentView':_0x241443[_0x5f5cb0(0x227)](_0x5f5cb0(0x1ed))[_0x5f5cb0(0x1f1)],'CommentsListView':_0x2176a7,'CommentThreadInputView':_0x1bc263,'SuggestionView':_0x41ef9b}),_0x37b4b6[_0x5f5cb0(0x229)][_0x5f5cb0(0x22f)]['on'](_0x5f5cb0(0x210),()=>{const _0x1372f6=_0x5f5cb0;_0x339644[_0x1372f6(0x27c)][_0x1372f6(0x242)][_0x1372f6(0x220)]();}),_0x37b4b6[_0x5f5cb0(0x229)][_0x5f5cb0(0x26a)]['on'](_0x5f5cb0(0x210),()=>{const _0xa0e824=_0x5f5cb0;_0x339644[_0xa0e824(0x27c)][_0xa0e824(0x242)][_0xa0e824(0x220)]();}),_0x2f432d=_0x4bb296[_0x5f5cb0(0x206)](this[_0x5f5cb0(0x22a)][_0x5f5cb0(0x223)],_0x37b4b6),_0x2f432d[_0x5f5cb0(0x237)](_0x5f5cb0(0x26e))['to'](_0x37b4b6,_0x5f5cb0(0x26e)),_0x2f432d[_0x5f5cb0(0x237)](_0x5f5cb0(0x1e9))['to'](_0x37b4b6),_0x2f432d[_0x5f5cb0(0x237)](_0x5f5cb0(0x207))['to'](_0x37b4b6,_0x5f5cb0(0x207),_0x57bcfa=>_0x5f5cb0(0x278)+_0x57bcfa),_0x37b4b6['on'](_0x5f5cb0(0x23f),()=>{const _0x2f7fb2=_0x5f5cb0;_0x460d17[_0x2f7fb2(0x208)](_0x2f7fb2(0x23f));}),this[_0x5f5cb0(0x23c)][_0x5f5cb0(0x239)](_0x2ae6f7['id'],_0x2f432d));const _0x4e3f14=_0x47465e[_0x5f5cb0(0x1f2)](_0x2ae6f7[_0x5f5cb0(0x226)],_0x37b4b6),_0x1c5792=new _0x4d2215(_0x339644,_0x2ae6f7,_0x37b4b6,_0x4e3f14),_0x1bedfc=_0x2ae6f7[_0x5f5cb0(0x27d)]()[_0x5f5cb0(0x275)](_0x38503a=>_0x38503a[_0x5f5cb0(0x26d)]);_0x37b4b6[_0x5f5cb0(0x20b)]=_0x339644[_0x5f5cb0(0x211)][_0x5f5cb0(0x227)](_0x5f5cb0(0x270))[_0x5f5cb0(0x25e)][_0x5f5cb0(0x202)](_0x1bedfc),this[_0x5f5cb0(0x276)][_0x5f5cb0(0x239)](_0x2ae6f7,_0x1c5792),this[_0x5f5cb0(0x231)][_0x5f5cb0(0x239)](_0x37b4b6,_0x1c5792),_0x460d17=_0x4bb296[_0x5f5cb0(0x20c)]({'view':_0x2f432d,'target':()=>{const _0x2708d2=_0x5f5cb0,_0x157f44=[],_0x705f83=_0x2ae6f7[_0x2708d2(0x27d)]()[_0x2708d2(0x275)](_0x2aba43=>_0x2aba43[_0x2708d2(0x26d)]);for(const _0x3dafce of _0x705f83)_0x157f44[_0x2708d2(0x24e)](..._0x3dafce[_0x2708d2(0x271)]());return _0x3d6516(_0x339644[_0x2708d2(0x27c)],_0x157f44);},'type':()=>_0x5f5cb0(0x278)+_0x1c5792[_0x5f5cb0(0x242)][_0x5f5cb0(0x207)]}),_0x47465e[_0x5f5cb0(0x1d8)](_0x37b4b6,_0x460d17),_0x4bb296[_0x5f5cb0(0x1da)](_0x460d17),_0x5084ce[_0x5f5cb0(0x1dd)](_0x460d17);}[_0x4e6db3(0x240)](_0x4b1992){const _0x3a0ec0=_0x4e6db3,_0x3647a6=this[_0x3a0ec0(0x22a)][_0x3a0ec0(0x211)][_0x3a0ec0(0x227)](_0x3a0ec0(0x265)),_0x37e4bd=this[_0x3a0ec0(0x22a)][_0x3a0ec0(0x211)][_0x3a0ec0(0x227)](_0x3a0ec0(0x21e)),_0x42de65=this[_0x3a0ec0(0x276)][_0x3a0ec0(0x227)](_0x4b1992),_0x4520ab=_0x42de65[_0x3a0ec0(0x242)],_0x1ddff9=_0x37e4bd[_0x3a0ec0(0x20e)](_0x4520ab);_0x3647a6[_0x3a0ec0(0x283)](_0x4520ab),_0x1ddff9&&_0x37e4bd[_0x3a0ec0(0x268)](_0x1ddff9),this[_0x3a0ec0(0x276)][_0x3a0ec0(0x1e4)](_0x4b1992),this[_0x3a0ec0(0x231)][_0x3a0ec0(0x1e4)](_0x4520ab),_0x42de65[_0x3a0ec0(0x249)]();}[_0x4e6db3(0x241)](_0x858078){const _0x2ba6e2=_0x4e6db3;if(!_0x858078[_0x2ba6e2(0x26d)]||!this[_0x2ba6e2(0x276)][_0x2ba6e2(0x246)](_0x858078))return;const _0x357869=this[_0x2ba6e2(0x22a)][_0x2ba6e2(0x211)][_0x2ba6e2(0x227)](_0x2ba6e2(0x270)),_0x5e2437=this[_0x2ba6e2(0x276)][_0x2ba6e2(0x227)](_0x858078),_0x3510b9=_0x858078[_0x2ba6e2(0x27d)]();_0x5e2437[_0x2ba6e2(0x242)][_0x2ba6e2(0x20b)]=_0x357869[_0x2ba6e2(0x25e)][_0x2ba6e2(0x202)](_0x3510b9);}[_0x4e6db3(0x249)](){const _0x3b8b7d=_0x4e6db3;for(const _0x36dccb of this[_0x3b8b7d(0x276)][_0x3b8b7d(0x1fd)]())this[_0x3b8b7d(0x240)](_0x36dccb);for(const _0x5bf588 of this[_0x3b8b7d(0x23c)][_0x3b8b7d(0x261)]())_0x5bf588[_0x3b8b7d(0x221)][_0x3b8b7d(0x249)]();super[_0x3b8b7d(0x249)](),this[_0x3b8b7d(0x264)]&&clearInterval(this[_0x3b8b7d(0x264)]);}}function ke(_0x50caeb){const _0x580dc7=_0x4e6db3;return _0x580dc7(0x1f7)in _0x50caeb;}
|
|
23
|
+
const _0x278fb9=_0x580b;(function(_0x142203,_0x13f74c){const _0x3c748b=_0x580b,_0x6b82aa=_0x142203();while(!![]){try{const _0x2d6f67=-parseInt(_0x3c748b(0x145))/0x1*(parseInt(_0x3c748b(0xff))/0x2)+parseInt(_0x3c748b(0x124))/0x3*(-parseInt(_0x3c748b(0x159))/0x4)+-parseInt(_0x3c748b(0xd7))/0x5*(-parseInt(_0x3c748b(0x170))/0x6)+parseInt(_0x3c748b(0x154))/0x7*(parseInt(_0x3c748b(0x113))/0x8)+parseInt(_0x3c748b(0xc5))/0x9*(-parseInt(_0x3c748b(0x11b))/0xa)+parseInt(_0x3c748b(0xfe))/0xb+-parseInt(_0x3c748b(0x133))/0xc*(-parseInt(_0x3c748b(0xc3))/0xd);if(_0x2d6f67===_0x13f74c)break;else _0x6b82aa['push'](_0x6b82aa['shift']());}catch(_0x171c23){_0x6b82aa['push'](_0x6b82aa['shift']());}}}(_0x8704,0xbcb56));import{Plugin as _0x45521e}from'ckeditor5/src/core.js';import{Collection as _0x45df31}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x20bc17,createDropdown as _0x182f5f,ListSeparatorView as _0x2139f1,MenuBarMenuView as _0x163c40,MenuBarMenuListView as _0x30de9c,MenuBarMenuListItemView as _0x3e303c,MenuBarMenuListItemButtonView as _0x271a95,SplitButtonView as _0xd84e98,ViewModel as _0x5ec86c}from'ckeditor5/src/ui.js';import{Users as _0x554fe4,getDateTimeFormatter as _0x102101,getAllMarkersDomElementsSorted as _0x4274cc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x106983 from'./trackchangesediting.js';import _0x20aaf3 from'./ui/suggestioncontroller.js';function _0x8704(){const _0x2ea1a0=['trackChangesLicenseKeyUsageLimit','trackChangesLicenseKeyValid','panelView','clear','suggestionLoaded','plugins','length','separator','refreshSelectedViews','8477130wdwEGb','commentsListView','_handleSuggestionControllerDelayed','domainLimit','trackChangesLicenseKeyInvalid','Accept\x20all\x20selected\x20suggestions','5382169OMIBpP','previewFinalContent','4203EusiLf','expired','toMany','destroy','delete','stopListening','_showLicenseError','_createToolbarButton','comments.maxThreadTotalWeight','descriptionFactory','TrackChanges','reduce','from','values','add','view','Track\x20changes','getJoined','5oQrFeF','size','_initializeController','escape','filter','some','menuitem','trackChangesLicenseKeyExpired','_licenseKeyCheckInterval','bind','createCommentThreadController','comments.editorConfig','remove','buttonView','suggestionView','Accept\x20all\x20suggestions','getSuggestion','getRanges','isPremiumPlugin','isOn','TrackChangesEditing','TrackChangesPreview','suggestionChanged','TrackChangesUI','_suggestionToController','_refreshActiveMarkers','getDescriptions','descriptionParts','evaluationLimit','trackChanges.SuggestionView','comments','CommentsRepository','has','getByInnerView','EditorAnnotations','hasSuggestion','_annotationViews','acceptAllSuggestions','items','16970877VtSUxj','10cmmMkr','trackChangesLicenseKeyEvaluationLimit','Discard\x20all\x20suggestions','menuitemcheckbox','getAllAdjacentSuggestions','getFirstRange','invalid','_updateController','Annotations','value','init','lowest','trackChangesLicenseKeyDomainLimit','children','isEnabled','pluginName','config','fire','CommentsUI','SuggestionView','6340032wdYWHB','menuBar:trackChanges','actionView','suggestion-','isMultiRange','discardButton','trackChangesLicenseKeyNotAllowed','addComment','26920iJpnLJ','SuggestionThreadView','model','isInContent','registerAnnotation','focus','button','CommentView','_viewToController','4253478BoEbWH','addSourceCollector','trackChangesLicenseKeyTrialLimit','suggestionUnloaded','addMany','editing','define','activeMarkers','_handleControllerBuffer','commands','_disableComments','type','acceptButton','trialLimit','source','36JYrhLO','menu','get','_addUIComponentsToFactory','isDirty','delegate','trackChanges','comments.maxCommentCharsWhenCollapsed','comments.maxCommentsWhenCollapsed','usageLimit','licenseKey','trackChanges.disableComments','trackChanges.SuggestionThreadView','featureNotAllowed','componentFactory','getMarkerNames','activeAnnotations','commandName','308453pxGEkP','editor','Discard\x20all\x20selected\x20suggestions','commentThread','execute','acceptSelectedSuggestions','unbind','change:activeAnnotations','createAnnotationView','discardSelectedSuggestions','set','push','change:previous','getMarkers','locale','7AVyvnb','Preview\x20final\x20content','isOfficialPlugin','arrowView','previous','4VTVnTz','switchbutton','requires','_createMenuBarMenu','discardAllSuggestions','createAnnotation','head','listenTo','innerView','_destroyController','_bindAnnotationToEditors','mainView','keys','_unbindEditors'];_0x8704=function(){return _0x2ea1a0;};return _0x8704();}import _0x511876 from'./ui/view/suggestionthreadview.js';import _0x1eb5dd from'./ui/view/suggestionview.js';function _0x580b(_0x463558,_0x4fb892){const _0x8704a=_0x8704();return _0x580b=function(_0x580b24,_0x1c6f1d){_0x580b24=_0x580b24-0xc2;let _0x2380ec=_0x8704a[_0x580b24];return _0x2380ec;},_0x580b(_0x463558,_0x4fb892);}import{getTranslation as _0xfc4e86}from'./utils/common-translations.js';import _0x34f489 from'../theme/icons/track-changes.svg';export default class d extends _0x45521e{static get[_0x278fb9(0x15b)](){const _0x22fa03=_0x278fb9;return[_0x106983,_0x554fe4,_0x22fa03(0xf6),_0x22fa03(0x107),_0x22fa03(0xf9)];}static get[_0x278fb9(0x10e)](){const _0x4f3e8c=_0x278fb9;return _0x4f3e8c(0xee);}static get[_0x278fb9(0x156)](){return!0x0;}static get[_0x278fb9(0xe9)](){return!0x0;}constructor(_0x42cf1f){const _0x551d44=_0x278fb9;super(_0x42cf1f),this[_0x551d44(0xef)]=new Map(),this[_0x551d44(0x123)]=new Map(),this[_0x551d44(0xfb)]=new Map(),this[_0x551d44(0x12c)]=new Map();const _0x549f21=this[_0x551d44(0x146)][_0x551d44(0x10f)];_0x549f21[_0x551d44(0x12a)](_0x551d44(0x13f),_0x511876),_0x549f21[_0x551d44(0x12a)](_0x551d44(0xf4),_0x1eb5dd),_0x549f21[_0x551d44(0x12a)](_0x551d44(0x13e),!0x1),this[_0x551d44(0x12e)]=_0x549f21[_0x551d44(0x135)](_0x551d44(0x13e));}[_0x278fb9(0x172)](_0x5e8b26,_0x316291){const _0x5cc4c2=_0x278fb9;0x0===this[_0x5cc4c2(0x12c)][_0x5cc4c2(0xd8)]&&setTimeout(()=>{const _0x3927bc=_0x5cc4c2;for(const [_0x11d568,_0x33372e]of this[_0x3927bc(0x12c)]){const _0x36ebb8=this[_0x3927bc(0xef)][_0x3927bc(0xf7)](_0x11d568);_0x36ebb8||_0x33372e?_0x36ebb8&&_0x33372e&&this[_0x3927bc(0x162)](_0x11d568):this[_0x3927bc(0xd9)](_0x11d568);}this[_0x3927bc(0x12c)][_0x3927bc(0x16a)](),this[_0x3927bc(0x146)][_0x3927bc(0x16c)][_0x3927bc(0x135)](_0x3927bc(0xf9))[_0x3927bc(0x16f)](),this[_0x3927bc(0xf0)]();},0xa),this[_0x5cc4c2(0x12c)][_0x5cc4c2(0x14f)](_0x5e8b26,_0x316291);}[_0x278fb9(0x109)](){const _0x502e4d=_0x278fb9,_0x4b84be=this[_0x502e4d(0x146)],_0x4ae89d=_0x4b84be[_0x502e4d(0x16c)][_0x502e4d(0x135)](_0x502e4d(0xeb)),_0x329b70=_0x4b84be[_0x502e4d(0x16c)][_0x502e4d(0x135)](_0x502e4d(0x107)),_0x5675cb=_0x4b84be[_0x502e4d(0x16c)][_0x502e4d(0x135)](_0x502e4d(0xf9)),_0x4b1349=_0x4b84be[_0x502e4d(0x16c)][_0x502e4d(0x135)](_0x502e4d(0xf6));this[_0x502e4d(0x136)](),_0x5675cb[_0x502e4d(0x125)](()=>{const _0x3581ae=_0x502e4d,_0x43d0f0=[];for(const [_0x51e9be,_0x586e7a]of Array[_0x3581ae(0xd1)](this[_0x3581ae(0xef)])){const _0x4ad44b=_0x51e9be[_0x3581ae(0x103)](),_0xedd48c=[];for(const _0x2818c0 of _0x4ad44b){if(!_0x2818c0[_0x3581ae(0x11e)])continue;if(_0x2818c0[_0x3581ae(0x117)]){_0xedd48c[_0x3581ae(0x150)](..._0x2818c0[_0x3581ae(0xe8)]());continue;}const _0x1c5ab1=_0x2818c0[_0x3581ae(0x104)]();if(_0xedd48c[_0x3581ae(0x16d)]>0x0){const _0xb74d01=_0xedd48c[0x0][_0x3581ae(0xd6)](_0x1c5ab1);if(_0xb74d01){_0xedd48c[0x0]=_0xb74d01;continue;}}_0xedd48c[_0x3581ae(0x150)](_0x1c5ab1);}_0x43d0f0[_0x3581ae(0x150)]([_0x586e7a[_0x3581ae(0xd4)],_0xedd48c]);}return _0x43d0f0;}),this[_0x502e4d(0x160)](_0x4ae89d,_0x502e4d(0x16b),(_0x445893,_0x44212d)=>{const _0x18f356=_0x502e4d;this[_0x18f356(0x160)](_0x44212d,_0x18f356(0x151),(_0x26fa4c,_0x49336d,_0x220c05,_0x18599c)=>{const _0x22aa47=_0x18f356;_0x44212d[_0x22aa47(0x11e)]&&(null==_0x220c05?(this[_0x22aa47(0x106)](_0x18599c[_0x22aa47(0x15f)]),this[_0x22aa47(0x172)](_0x44212d,!0x1)):(this[_0x22aa47(0x106)](_0x220c05[_0x22aa47(0x15f)]),null==_0x18599c&&this[_0x22aa47(0x172)](_0x44212d,!0x0)));}),null!==_0x44212d[_0x18f356(0x158)]?this[_0x18f356(0x106)](_0x44212d[_0x18f356(0x15f)]):this[_0x18f356(0x172)](_0x44212d,!0x1);}),this[_0x502e4d(0x160)](_0x4ae89d,_0x502e4d(0x127),(_0x345c1a,_0x31883e,_0x11af31)=>{const _0x31f335=_0x502e4d;this[_0x31f335(0xca)](_0x31883e,_0x31f335(0x151)),this[_0x31f335(0x12c)][_0x31f335(0xc9)](_0x31883e),this[_0x31f335(0xef)][_0x31f335(0xf7)](_0x31883e)&&this[_0x31f335(0x162)](_0x31883e),_0x11af31&&this[_0x31f335(0x106)](_0x11af31[_0x31f335(0x15f)]);}),this[_0x502e4d(0x160)](_0x4ae89d,_0x502e4d(0xed),(_0x213ff6,_0x413789)=>{const _0x10e4a5=_0x502e4d;this[_0x10e4a5(0x106)](_0x413789);}),this[_0x502e4d(0x160)](_0x329b70,_0x502e4d(0x14c),()=>{const _0x54a4f1=_0x502e4d;this[_0x54a4f1(0xf0)]();}),this[_0x502e4d(0x160)](_0x4b1349,_0x502e4d(0x11a),(_0x468077,{threadId:_0x715c8,isFromAdapter:_0x530b88})=>{const _0x19bbde=_0x502e4d;if(_0x530b88||!_0x4ae89d[_0x19bbde(0xfa)](_0x715c8))return;const _0x16f7e6=_0x4ae89d[_0x19bbde(0xe7)](_0x715c8);this[_0x19bbde(0xef)][_0x19bbde(0x135)](_0x16f7e6)[_0x19bbde(0xd4)][_0x19bbde(0x171)][_0x19bbde(0x120)](-0x1);},{'priority':_0x502e4d(0x10a)}),this[_0x502e4d(0x13d)]=this[_0x502e4d(0x146)][_0x502e4d(0x10f)][_0x502e4d(0x135)](_0x502e4d(0x13d));const _0x344375=this[_0x502e4d(0x146)];this[_0x502e4d(0xdf)]=setInterval(()=>{const _0x4e585d=_0x502e4d;let _0xff45b7;for(const _0x12a88b in _0x344375){const _0x2bab67=_0x12a88b,_0x48d8ff=_0x344375[_0x2bab67];if(_0x4e585d(0x168)==_0x48d8ff||_0x4e585d(0x174)==_0x48d8ff||_0x4e585d(0xde)==_0x48d8ff||_0x4e585d(0x10b)==_0x48d8ff||_0x4e585d(0x119)==_0x48d8ff||_0x4e585d(0x100)==_0x48d8ff||_0x4e585d(0x126)==_0x48d8ff||_0x4e585d(0x167)==_0x48d8ff){delete _0x344375[_0x2bab67],_0xff45b7=_0x48d8ff,clearInterval(this[_0x4e585d(0xdf)]),this[_0x4e585d(0xdf)]=void 0x0;break;}}_0x4e585d(0x174)==_0xff45b7&&_0x344375[_0x4e585d(0xcb)](_0x4e585d(0x105)),_0x4e585d(0xde)==_0xff45b7&&_0x344375[_0x4e585d(0xcb)](_0x4e585d(0xc6)),_0x4e585d(0x10b)==_0xff45b7&&_0x344375[_0x4e585d(0xcb)](_0x4e585d(0x173)),_0x4e585d(0x119)==_0xff45b7&&_0x344375[_0x4e585d(0xcb)](_0x4e585d(0x140),_0x4e585d(0xcf)),_0x4e585d(0x100)==_0xff45b7&&_0x344375[_0x4e585d(0xcb)](_0x4e585d(0xf3)),_0x4e585d(0x126)==_0xff45b7&&_0x344375[_0x4e585d(0xcb)](_0x4e585d(0x131)),_0x4e585d(0x167)==_0xff45b7&&_0x344375[_0x4e585d(0xcb)](_0x4e585d(0x13c));},0x3e8);}[_0x278fb9(0xf0)](){const _0x3d7d0e=_0x278fb9,_0x56ebb9=this[_0x3d7d0e(0x146)][_0x3d7d0e(0x16c)][_0x3d7d0e(0x135)](_0x3d7d0e(0x107)),_0xa9d7a7=this[_0x3d7d0e(0x146)][_0x3d7d0e(0x16c)][_0x3d7d0e(0x135)](_0x3d7d0e(0xeb)),_0x48d02e=Array[_0x3d7d0e(0xd1)](_0x56ebb9[_0x3d7d0e(0x143)],_0x2d295d=>_0x2d295d[_0x3d7d0e(0x161)])[_0x3d7d0e(0xdb)](_0x9b4b71=>this[_0x3d7d0e(0x123)][_0x3d7d0e(0xf7)](_0x9b4b71)),_0x2c16bd=[];for(const _0x336fa6 of _0x48d02e){const _0x7b0940=this[_0x3d7d0e(0x123)][_0x3d7d0e(0x135)](_0x336fa6)[_0x3d7d0e(0x11d)][_0x3d7d0e(0x103)]();_0x2c16bd[_0x3d7d0e(0x150)](..._0x7b0940[_0x3d7d0e(0xd0)]((_0x256444,_0x1600eb)=>[..._0x256444,..._0x1600eb[_0x3d7d0e(0x142)]()],[]));}_0xa9d7a7[_0x3d7d0e(0x12b)]=_0x2c16bd;}[_0x278fb9(0x136)](){const _0x1a0f8a=_0x278fb9,_0x4f46b6=this[_0x1a0f8a(0x146)],_0x4f699b=_0x4f46b6[_0x1a0f8a(0x153)],_0x57111a=_0xfc4e86(_0x4f699b,_0x1a0f8a(0xd5)),_0x747627=new _0x45df31([{'type':_0x1a0f8a(0x15a),'model':new _0x5ec86c({'withText':!0x0,'isToggleable':!0x0,'label':_0x57111a,'commandName':_0x1a0f8a(0x139),'role':_0x1a0f8a(0x102)})},{'type':_0x1a0f8a(0x16e)},{'type':_0x1a0f8a(0x121),'model':new _0x5ec86c({'withText':!0x0,'label':_0xfc4e86(_0x4f699b,_0x1a0f8a(0xe6)),'commandName':_0x1a0f8a(0xfc),'role':_0x1a0f8a(0xdd)})},{'type':_0x1a0f8a(0x121),'model':new _0x5ec86c({'withText':!0x0,'label':_0xfc4e86(_0x4f699b,_0x1a0f8a(0xc2)),'commandName':_0x1a0f8a(0x14a),'role':_0x1a0f8a(0xdd)})},{'type':_0x1a0f8a(0x121),'model':new _0x5ec86c({'withText':!0x0,'label':_0xfc4e86(_0x4f699b,_0x1a0f8a(0x101)),'commandName':_0x1a0f8a(0x15d),'role':_0x1a0f8a(0xdd)})},{'type':_0x1a0f8a(0x121),'model':new _0x5ec86c({'withText':!0x0,'label':_0xfc4e86(_0x4f699b,_0x1a0f8a(0x147)),'commandName':_0x1a0f8a(0x14e),'role':_0x1a0f8a(0xdd)})}]);_0x4f46b6[_0x1a0f8a(0x16c)][_0x1a0f8a(0xf7)](_0x1a0f8a(0xec))&&_0x747627[_0x1a0f8a(0x128)]([{'type':_0x1a0f8a(0x16e)},{'type':_0x1a0f8a(0x121),'model':new _0x5ec86c({'withText':!0x0,'label':_0xfc4e86(_0x4f699b,_0x1a0f8a(0x155)),'commandName':_0x1a0f8a(0xc4),'role':_0x1a0f8a(0xdd)})}]);for(const _0x30c22b of _0x747627)if(ke(_0x30c22b)){const _0x190d2e=_0x4f46b6[_0x1a0f8a(0x12d)][_0x1a0f8a(0x135)](_0x30c22b[_0x1a0f8a(0x11d)][_0x1a0f8a(0x144)]);_0x30c22b[_0x1a0f8a(0x11d)][_0x1a0f8a(0xe0)](_0x1a0f8a(0xea),_0x1a0f8a(0x10d))['to'](_0x190d2e,_0x1a0f8a(0x108),_0x1a0f8a(0x10d));}_0x4f46b6['ui'][_0x1a0f8a(0x141)][_0x1a0f8a(0xd3)](_0x1a0f8a(0x139),_0x4d6fac=>this[_0x1a0f8a(0xcc)](_0x4d6fac,_0x747627,_0x57111a)),_0x4f46b6['ui'][_0x1a0f8a(0x141)][_0x1a0f8a(0xd3)](_0x1a0f8a(0x114),_0x56effb=>this[_0x1a0f8a(0x15c)](_0x56effb,_0x747627,_0x57111a));}[_0x278fb9(0xcc)](_0x36cc2d,_0x540e8a,_0xc54419){const _0x28249c=_0x278fb9,_0x3ba383=_0x182f5f(_0x36cc2d,_0xd84e98),_0x409f89=this[_0x28249c(0x146)][_0x28249c(0x12d)][_0x28249c(0x135)](_0x28249c(0x139));_0x3ba383[_0x28249c(0xe4)][_0x28249c(0x14f)]({'tooltip':_0xc54419,'label':_0xc54419,'icon':_0x34f489}),_0x3ba383[_0x28249c(0xe4)][_0x28249c(0xe0)](_0x28249c(0xea))['to'](_0x409f89,_0x28249c(0x108)),_0x3ba383[_0x28249c(0xe4)]['on'](_0x28249c(0x149),()=>{const _0x4da320=_0x28249c;_0x409f89[_0x4da320(0x149)](),this[_0x4da320(0x146)][_0x4da320(0x129)][_0x4da320(0xd4)][_0x4da320(0x120)]();}),_0x20bc17(_0x3ba383,_0x540e8a,{'role':_0x28249c(0x134)});const _0x181836=[];for(const _0x302613 of _0x540e8a)ke(_0x302613)&&_0x181836[_0x28249c(0x150)](this[_0x28249c(0x146)][_0x28249c(0x12d)][_0x28249c(0x135)](_0x302613[_0x28249c(0x11d)][_0x28249c(0x144)]));const _0x2b6dfb=_0x3ba383[_0x28249c(0xe4)];return _0x2b6dfb[_0x28249c(0x115)][_0x28249c(0x14b)](_0x28249c(0x10d)),_0x2b6dfb[_0x28249c(0x157)][_0x28249c(0x14b)](_0x28249c(0x10d)),_0x2b6dfb[_0x28249c(0x115)][_0x28249c(0xe0)](_0x28249c(0x10d))['to'](_0x409f89,_0x28249c(0x10d)),_0x2b6dfb[_0x28249c(0x157)][_0x28249c(0xe0)](_0x28249c(0x10d))[_0x28249c(0xc7)](_0x181836,_0x28249c(0x10d),(..._0x309ae9)=>_0x309ae9[_0x28249c(0xdc)](_0x115aa8=>_0x115aa8)),_0x3ba383['on'](_0x28249c(0x149),_0x4caafb=>{const _0x1dcd6f=_0x28249c;this[_0x1dcd6f(0x146)][_0x1dcd6f(0x149)](_0x4caafb[_0x1dcd6f(0x132)][_0x1dcd6f(0x144)]),this[_0x1dcd6f(0x146)][_0x1dcd6f(0x129)][_0x1dcd6f(0xd4)][_0x1dcd6f(0x120)]();}),_0x3ba383;}[_0x278fb9(0x15c)](_0x2e5239,_0x2b5fc0,_0x3e5ab0){const _0x312ebe=_0x278fb9,_0x4331dd=new _0x163c40(_0x2e5239),_0x3f72e3=this[_0x312ebe(0x146)][_0x312ebe(0x12d)][_0x312ebe(0x135)](_0x312ebe(0x139));_0x4331dd[_0x312ebe(0xe4)][_0x312ebe(0x14f)]({'label':_0x3e5ab0,'icon':_0x34f489});const _0xceec79=new _0x30de9c(_0x2e5239);for(const _0x38cec4 of _0x2b5fc0){if(_0x312ebe(0x16e)==_0x38cec4[_0x312ebe(0x12f)]){_0xceec79[_0x312ebe(0xfd)][_0x312ebe(0xd3)](new _0x2139f1(_0x2e5239));continue;}const _0x177d66=new _0x3e303c(_0x2e5239,_0x4331dd),_0x4f7361=new _0x271a95(_0x2e5239),_0x2f796f=_0x38cec4[_0x312ebe(0x11d)];_0x4f7361[_0x312ebe(0xe0)](...Object[_0x312ebe(0x165)](_0x2f796f))['to'](_0x2f796f),_0x4f7361[_0x312ebe(0x138)](_0x312ebe(0x149))['to'](_0x4331dd),_0x4f7361['on'](_0x312ebe(0x149),()=>{const _0x2efd0e=_0x312ebe;this[_0x2efd0e(0x146)][_0x2efd0e(0x149)](_0x2f796f[_0x2efd0e(0x144)]),this[_0x2efd0e(0x146)][_0x2efd0e(0x129)][_0x2efd0e(0xd4)][_0x2efd0e(0x120)]();}),_0x177d66[_0x312ebe(0x10c)][_0x312ebe(0xd3)](_0x4f7361),_0xceec79[_0x312ebe(0xfd)][_0x312ebe(0xd3)](_0x177d66);}return _0x4331dd[_0x312ebe(0xe0)](_0x312ebe(0x10d))['to'](_0x3f72e3,_0x312ebe(0x10d)),_0x4331dd[_0x312ebe(0x169)][_0x312ebe(0x10c)][_0x312ebe(0xd3)](_0xceec79),_0x4331dd;}[_0x278fb9(0xd9)](_0x49b90b){const _0x250b83=_0x278fb9,_0x1290ac=this[_0x250b83(0x146)],_0x48def8=_0x1290ac[_0x250b83(0x10f)],_0x335b76=_0x1290ac[_0x250b83(0x16c)][_0x250b83(0x135)](_0x250b83(0x107)),_0x5b74a0=_0x1290ac[_0x250b83(0x16c)][_0x250b83(0x135)](_0x250b83(0xf6)),_0x22e8e3=_0x1290ac[_0x250b83(0x16c)][_0x250b83(0x135)](_0x250b83(0xf9)),_0x4b674d=_0x1290ac[_0x250b83(0x16c)][_0x250b83(0x135)](_0x554fe4)['me'],_0x519487=_0x48def8[_0x250b83(0x135)](_0x250b83(0x139))[_0x250b83(0x11c)],_0x1202ce=_0x48def8[_0x250b83(0x135)](_0x250b83(0x139))[_0x250b83(0x112)],{CommentsListView:_0x113d5b,CommentThreadInputView:_0x3ceee8}=_0x1290ac[_0x250b83(0x16c)][_0x250b83(0x135)](_0x250b83(0x111));let _0x484a2e,_0xb7af91,_0x3ceec4;this[_0x250b83(0xfb)][_0x250b83(0xf7)](_0x49b90b['id'])?(_0xb7af91=this[_0x250b83(0xfb)][_0x250b83(0x135)](_0x49b90b['id']),_0x484a2e=_0xb7af91[_0x250b83(0x164)]):(_0x484a2e=new _0x519487(_0x1290ac[_0x250b83(0x153)],_0x49b90b,_0x4b674d,{'disableComments':this[_0x250b83(0x12e)],'editorConfig':{..._0x48def8[_0x250b83(0x135)](_0x250b83(0xe2)),'licenseKey':_0x48def8[_0x250b83(0x135)](_0x250b83(0x13d))},'maxCommentsWhenCollapsed':_0x48def8[_0x250b83(0x135)](_0x250b83(0x13b)),'maxThreadTotalWeight':_0x48def8[_0x250b83(0x135)](_0x250b83(0xcd)),'maxCommentCharsWhenCollapsed':_0x48def8[_0x250b83(0x135)](_0x250b83(0x13a)),'formatDateTime':_0x102101(_0x48def8[_0x250b83(0x135)](_0x250b83(0x153))),'CommentView':_0x48def8[_0x250b83(0x135)](_0x250b83(0xf5))[_0x250b83(0x122)],'CommentsListView':_0x113d5b,'CommentThreadInputView':_0x3ceee8,'SuggestionView':_0x1202ce}),_0x484a2e[_0x250b83(0xe5)][_0x250b83(0x130)]['on'](_0x250b83(0x149),()=>{const _0x3fc6c2=_0x250b83;_0x1290ac[_0x3fc6c2(0x129)][_0x3fc6c2(0xd4)][_0x3fc6c2(0x120)]();}),_0x484a2e[_0x250b83(0xe5)][_0x250b83(0x118)]['on'](_0x250b83(0x149),()=>{const _0x19af6f=_0x250b83;_0x1290ac[_0x19af6f(0x129)][_0x19af6f(0xd4)][_0x19af6f(0x120)]();}),_0xb7af91=_0x335b76[_0x250b83(0x14d)](this[_0x250b83(0x146)][_0x250b83(0x153)],_0x484a2e),_0xb7af91[_0x250b83(0xe0)](_0x250b83(0x137))['to'](_0x484a2e,_0x250b83(0x137)),_0xb7af91[_0x250b83(0xe0)](_0x250b83(0x16d))['to'](_0x484a2e),_0xb7af91[_0x250b83(0xe0)](_0x250b83(0x12f))['to'](_0x484a2e,_0x250b83(0x12f),_0x23e14a=>_0x250b83(0x116)+_0x23e14a),_0x484a2e['on'](_0x250b83(0xda),()=>{const _0x45b5b0=_0x250b83;_0x3ceec4[_0x45b5b0(0x110)](_0x45b5b0(0xda));}),this[_0x250b83(0xfb)][_0x250b83(0x14f)](_0x49b90b['id'],_0xb7af91));const _0x3a577f=_0x5b74a0[_0x250b83(0xe1)](_0x49b90b[_0x250b83(0x148)],_0x484a2e),_0xbe66fb=new _0x20aaf3(_0x1290ac,_0x49b90b,_0x484a2e,_0x3a577f),_0x23e9e8=_0x49b90b[_0x250b83(0x103)]()[_0x250b83(0xdb)](_0x5aacb3=>_0x5aacb3[_0x250b83(0x11e)]);_0x484a2e[_0x250b83(0xf2)]=_0x1290ac[_0x250b83(0x16c)][_0x250b83(0x135)](_0x250b83(0xeb))[_0x250b83(0xce)][_0x250b83(0xf1)](_0x23e9e8),this[_0x250b83(0xef)][_0x250b83(0x14f)](_0x49b90b,_0xbe66fb),this[_0x250b83(0x123)][_0x250b83(0x14f)](_0x484a2e,_0xbe66fb),_0x3ceec4=_0x335b76[_0x250b83(0x15e)]({'view':_0xb7af91,'target':()=>{const _0x5f3161=_0x250b83,_0x53bb66=[],_0x293dd9=_0x49b90b[_0x5f3161(0x103)]()[_0x5f3161(0xdb)](_0x8d22e2=>_0x8d22e2[_0x5f3161(0x11e)]);for(const _0x4af975 of _0x293dd9)_0x53bb66[_0x5f3161(0x150)](..._0x4af975[_0x5f3161(0x152)]());return _0x4274cc(_0x1290ac[_0x5f3161(0x129)],_0x53bb66);},'type':()=>_0x250b83(0x116)+_0xbe66fb[_0x250b83(0xd4)][_0x250b83(0x12f)]}),_0x5b74a0[_0x250b83(0x163)](_0x484a2e,_0x3ceec4),_0x335b76[_0x250b83(0xd3)](_0x3ceec4),_0x22e8e3[_0x250b83(0x11f)](_0x3ceec4);}[_0x278fb9(0x162)](_0x46f3f1){const _0x38dd67=_0x278fb9,_0x40588a=this[_0x38dd67(0x146)][_0x38dd67(0x16c)][_0x38dd67(0x135)](_0x38dd67(0xf6)),_0x30a1e0=this[_0x38dd67(0x146)][_0x38dd67(0x16c)][_0x38dd67(0x135)](_0x38dd67(0x107)),_0x30f3b5=this[_0x38dd67(0xef)][_0x38dd67(0x135)](_0x46f3f1),_0x22af5e=_0x30f3b5[_0x38dd67(0xd4)],_0x1f848e=_0x30a1e0[_0x38dd67(0xf8)](_0x22af5e);_0x40588a[_0x38dd67(0x166)](_0x22af5e),_0x1f848e&&_0x30a1e0[_0x38dd67(0xe3)](_0x1f848e),this[_0x38dd67(0xef)][_0x38dd67(0xc9)](_0x46f3f1),this[_0x38dd67(0x123)][_0x38dd67(0xc9)](_0x22af5e),_0x30f3b5[_0x38dd67(0xc8)]();}[_0x278fb9(0x106)](_0x23233f){const _0x44fb4b=_0x278fb9;if(!_0x23233f[_0x44fb4b(0x11e)]||!this[_0x44fb4b(0xef)][_0x44fb4b(0xf7)](_0x23233f))return;const _0x467fdb=this[_0x44fb4b(0x146)][_0x44fb4b(0x16c)][_0x44fb4b(0x135)](_0x44fb4b(0xeb)),_0x13557d=this[_0x44fb4b(0xef)][_0x44fb4b(0x135)](_0x23233f),_0x472746=_0x23233f[_0x44fb4b(0x103)]();_0x13557d[_0x44fb4b(0xd4)][_0x44fb4b(0xf2)]=_0x467fdb[_0x44fb4b(0xce)][_0x44fb4b(0xf1)](_0x472746);}[_0x278fb9(0xc8)](){const _0x1994af=_0x278fb9;for(const _0x58ec1a of this[_0x1994af(0xef)][_0x1994af(0x165)]())this[_0x1994af(0x162)](_0x58ec1a);for(const _0x4cf250 of this[_0x1994af(0xfb)][_0x1994af(0xd2)]())_0x4cf250[_0x1994af(0x164)][_0x1994af(0xc8)]();super[_0x1994af(0xc8)](),this[_0x1994af(0xdf)]&&clearInterval(this[_0x1994af(0xdf)]);}}function ke(_0x494073){const _0xdd2ff5=_0x278fb9;return _0xdd2ff5(0x11d)in _0x494073;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4ce03e=_0x4088;(function(_0x1fd9ff,_0x50fda8){const _0x5eba86=_0x4088,_0x11c46c=_0x1fd9ff();while(!![]){try{const _0xff7c5e=-parseInt(_0x5eba86(0x204))/0x1+parseInt(_0x5eba86(0x213))/0x2+parseInt(_0x5eba86(0x20d))/0x3+-parseInt(_0x5eba86(0x214))/0x4+-parseInt(_0x5eba86(0x210))/0x5*(-parseInt(_0x5eba86(0x201))/0x6)+-parseInt(_0x5eba86(0x1ff))/0x7*(parseInt(_0x5eba86(0x1f4))/0x8)+-parseInt(_0x5eba86(0x1f0))/0x9;if(_0xff7c5e===_0x50fda8)break;else _0x11c46c['push'](_0x11c46c['shift']());}catch(_0x1574dc){_0x11c46c['push'](_0x11c46c['shift']());}}}(_0x16a5,0x5f741));function _0x4088(_0x1e9532,_0x2bad07){const _0x16a5e8=_0x16a5();return _0x4088=function(_0x4088fc,_0x354a62){_0x4088fc=_0x4088fc-0x1ee;let _0x359fa6=_0x16a5e8[_0x4088fc];return _0x359fa6;},_0x4088(_0x1e9532,_0x2bad07);}import{ObservableMixin as _0x4c1ccf}from'ckeditor5/src/utils.js';import{getTranslation as _0x7fec9a}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4c1ccf(){constructor(_0x4ec464,_0x8cca63,_0x5b6760,_0x529640){const _0x16be4c=_0x4088;super(),this[_0x16be4c(0x208)]=_0x8cca63,this[_0x16be4c(0x20a)]=_0x5b6760,this[_0x16be4c(0x212)]=_0x529640,this[_0x16be4c(0x1ef)]=_0x4ec464,this[_0x16be4c(0x1f6)]=_0x4ec464[_0x16be4c(0x202)][_0x16be4c(0x211)](_0x16be4c(0x1f2)),this[_0x16be4c(0x205)]=_0x4ec464[_0x16be4c(0x202)][_0x16be4c(0x211)](_0x16be4c(0x1f9)),this[_0x16be4c(0x20a)][_0x16be4c(0x1f8)](_0x16be4c(0x1f7))['to'](this[_0x16be4c(0x1f6)],this[_0x16be4c(0x205)],(_0x9ec68f,_0x51eb18)=>_0x9ec68f||_0x51eb18),this[_0x16be4c(0x20a)][_0x16be4c(0x1f8)](_0x16be4c(0x207))['to'](this[_0x16be4c(0x1f6)],_0x16be4c(0x1f7),_0x4e35b2=>_0x4e35b2&&this[_0x16be4c(0x1ef)][_0x16be4c(0x208)][_0x16be4c(0x1ee)](_0x8cca63[_0x16be4c(0x20c)]())),this[_0x16be4c(0x20a)][_0x16be4c(0x1f8)](_0x16be4c(0x1fb))['to'](this[_0x16be4c(0x205)],_0x16be4c(0x1f7),_0xa9c12c=>_0xa9c12c&&this[_0x16be4c(0x1ef)][_0x16be4c(0x208)][_0x16be4c(0x1ee)](_0x8cca63[_0x16be4c(0x20c)]())),this[_0x16be4c(0x209)]=null,_0x5b6760[_0x16be4c(0x1f3)]&&this[_0x16be4c(0x206)](),this[_0x16be4c(0x20f)](_0x5b6760,_0x16be4c(0x1f2),()=>this[_0x16be4c(0x1f2)]()),this[_0x16be4c(0x20f)](_0x5b6760,_0x16be4c(0x1f9),()=>this[_0x16be4c(0x1f9)]()),this[_0x16be4c(0x20f)](_0x5b6760,_0x16be4c(0x1f5),()=>{const _0x43c07c=_0x16be4c;_0x5b6760[_0x43c07c(0x1f3)]?this[_0x43c07c(0x206)]():this[_0x43c07c(0x1fd)]();});}[_0x4ce03e(0x1f2)](){const _0x2dabab=_0x4ce03e;this[_0x2dabab(0x1f6)][_0x2dabab(0x203)](this[_0x2dabab(0x208)]['id']);}[_0x4ce03e(0x1f9)](){const _0x363115=_0x4ce03e;this[_0x363115(0x205)][_0x363115(0x203)](this[_0x363115(0x208)]['id']);}[_0x4ce03e(0x1fa)](){const _0x2184fc=_0x4ce03e;this[_0x2184fc(0x20a)][_0x2184fc(0x1fc)](_0x2184fc(0x1f7)),this[_0x2184fc(0x20a)][_0x2184fc(0x1fc)](_0x2184fc(0x207)),this[_0x2184fc(0x20a)][_0x2184fc(0x1fc)](_0x2184fc(0x1fb)),this[_0x2184fc(0x20e)](),this[_0x2184fc(0x212)][_0x2184fc(0x1fa)](),this[_0x2184fc(0x209)]&&this[_0x2184fc(0x1fd)]();}[_0x4ce03e(0x206)](){const _0xfc3c4e=_0x4ce03e,_0x17a2b8=_0x7fec9a(this[_0xfc3c4e(0x1ef)][_0xfc3c4e(0x1f1)],_0xfc3c4e(0x1fe));this[_0xfc3c4e(0x209)]=this[_0xfc3c4e(0x1ef)][_0xfc3c4e(0x216)][_0xfc3c4e(0x211)](_0xfc3c4e(0x200))[_0xfc3c4e(0x215)](_0x17a2b8);}[_0x4ce03e(0x1fd)](){const _0x412c72=_0x4ce03e;null!==this[_0x412c72(0x209)]&&this[_0x412c72(0x1ef)][_0x412c72(0x216)][_0x412c72(0x211)](_0x412c72(0x200))[_0x412c72(0x20b)](this[_0x412c72(0x209)]),this[_0x412c72(0x209)]=null;}}function _0x16a5(){const _0xa7442f=['2646052XKRpWu','add','plugins','canEditAt','_editor','1016154yXrXme','locale','acceptSuggestion','isDirty','616cABigE','change:isDirty','_acceptCommand','isEnabled','bind','discardSuggestion','destroy','canDiscard','unbind','_removePendingAction','PENDING_ACTION_SUGGESTION','60697fNyHCG','PendingActions','56442WFgCDY','commands','execute','81229oboalC','_discardCommand','_setPendingAction','canAccept','model','_pendingAction','view','remove','getRanges','1836648Asrwgl','stopListening','listenTo','280ALBmDn','get','commentThreadController','1550568dDQEpS'];_0x16a5=function(){return _0xa7442f;};return _0x16a5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x12e6e8=_0x4814;(function(_0x5de025,_0x5c1f03){const _0x12c25e=_0x4814,_0x6eabf8=_0x5de025();while(!![]){try{const _0x4b6b04=-parseInt(_0x12c25e(0x140))/0x1+parseInt(_0x12c25e(0x17b))/0x2+parseInt(_0x12c25e(0x170))/0x3+parseInt(_0x12c25e(0x175))/0x4+-parseInt(_0x12c25e(0x141))/0x5+parseInt(_0x12c25e(0x17c))/0x6*(-parseInt(_0x12c25e(0x183))/0x7)+parseInt(_0x12c25e(0x153))/0x8;if(_0x4b6b04===_0x5c1f03)break;else _0x6eabf8['push'](_0x6eabf8['shift']());}catch(_0x3d6eb6){_0x6eabf8['push'](_0x6eabf8['shift']());}}}(_0x27dd,0x83a20));import{FocusCycler as _0x27b619,View as _0x5bd614,ViewCollection as _0x166216}from'ckeditor5/src/ui.js';function _0x27dd(){const _0x1575ed=['14UQEWae','assign','addComment','SUGGESTION_THREAD_DESCRIPTION','785618fnCSTc','4886405RkLAwV','text/html','content','disabledSubmit','isEnabled','_createCommentViews','ariaDescriptionView','_createCommentThreadInputView','hasDirtyComment','isReadOnly','focus','bind','focusCycler','shift+tab','disableComments','name','removeComment','setData','9932552dWAnpN','commentInputView','focusables','commentsListView','updateComment','render','fire','parseFromString','tab','_config','commentThread','SUGGESTION_THREAD_ARIA_LABEL','commentThreadInputView','cancel','editorConfig','delegate','keystrokes','ariaLabel','textContent','isActive','set','descriptionParts','canDiscard','isDirty','_localUser','formatDateTime','join','authoredAt','canAccept','2635593KoCEsU','map','editor','locale','showInput','602248UJEuiw','submit','element','author','destroy','body','807286EJGnEM','1116714rYLBst','CommentView','_model','target','value','length','focusTracker'];_0x27dd=function(){return _0x1575ed;};return _0x27dd();}import{FocusTracker as _0xcab0e3,KeystrokeHandler as _0x56f148}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x7d733a,setupThreadKeyboardNavigation as _0x226161}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x41bcae}from'../../utils/common-translations.js';import{renderDescription as _0x370807}from'../../utils/utils.js';function _0x4814(_0x3f16a0,_0x120792){const _0x27dd00=_0x27dd();return _0x4814=function(_0x481498,_0x2e3fd8){_0x481498=_0x481498-0x140;let _0x212c34=_0x27dd00[_0x481498];return _0x212c34;},_0x4814(_0x3f16a0,_0x120792);}export default class ms extends _0x5bd614{constructor(_0x4b4316,_0x253c53,_0x5ad917,_0x2d3dc4){const _0x1fc2da=_0x4814;super(_0x4b4316),this[_0x1fc2da(0x156)]=null,this[_0x1fc2da(0x15f)]=null,this[_0x1fc2da(0x147)]=new _0x7d733a(_0x4b4316,_0x41bcae(_0x4b4316,_0x1fc2da(0x186))),this[_0x1fc2da(0x167)](_0x1fc2da(0x166),!0x1),this[_0x1fc2da(0x167)](_0x1fc2da(0x16e),_0x253c53[_0x1fc2da(0x16e)]),this[_0x1fc2da(0x14c)](_0x1fc2da(0x16e))['to'](_0x253c53),this[_0x1fc2da(0x167)](_0x1fc2da(0x168),[]),this[_0x1fc2da(0x167)](_0x1fc2da(0x16a),!0x1),this[_0x1fc2da(0x167)](_0x1fc2da(0x145),!0x1),this[_0x1fc2da(0x167)](_0x1fc2da(0x16f),!0x1),this[_0x1fc2da(0x167)](_0x1fc2da(0x169),!0x1),this[_0x1fc2da(0x14c)](_0x1fc2da(0x164))['to'](this,_0x1fc2da(0x181),_0x253c53,_0x1fc2da(0x16e),this,_0x1fc2da(0x168),(_0x14e610,_0x2d41df,_0x256872)=>{const _0x559b5c=_0x1fc2da,_0x5507bf=_0x256872[_0x559b5c(0x171)](_0x7bcbef=>_0x370807(_0x7bcbef[_0x559b5c(0x143)]))[_0x559b5c(0x16d)]('.\x20')+'.';return _0x41bcae(this[_0x559b5c(0x173)],_0x559b5c(0x15e),[_0x14e610-0x1,_0x253c53[_0x559b5c(0x178)][_0x559b5c(0x150)],_0x2d41df?_0x2d3dc4[_0x559b5c(0x16c)](_0x2d41df):'',new DOMParser()[_0x559b5c(0x15a)](_0x5507bf,_0x559b5c(0x142))[_0x559b5c(0x17a)][_0x559b5c(0x165)]]);}),this[_0x1fc2da(0x155)]=new _0x166216(),this[_0x1fc2da(0x182)]=new _0xcab0e3(),this[_0x1fc2da(0x163)]=new _0x56f148(),this[_0x1fc2da(0x14d)]=new _0x27b619({'focusables':this[_0x1fc2da(0x155)],'focusTracker':this[_0x1fc2da(0x182)],'keystrokeHandler':this[_0x1fc2da(0x163)],'keystrokeHandlerOptions':{'filter':_0x3b5165=>_0x3b5165[_0x1fc2da(0x17f)]!==this[_0x1fc2da(0x177)]},'actions':{'focusPrevious':_0x1fc2da(0x14e),'focusNext':_0x1fc2da(0x15b)}}),this[_0x1fc2da(0x17e)]=_0x253c53,this[_0x1fc2da(0x16b)]=_0x5ad917,this[_0x1fc2da(0x15c)]=_0x2d3dc4,_0x2d3dc4[_0x1fc2da(0x14f)]?this[_0x1fc2da(0x167)](_0x1fc2da(0x181),0x1):this[_0x1fc2da(0x146)]();}[_0x12e6e8(0x158)](){const _0x588794=_0x12e6e8;super[_0x588794(0x158)](),_0x226161(this,this[_0x588794(0x155)]);}[_0x12e6e8(0x14b)](){const _0x10e1a1=_0x12e6e8;this[_0x10e1a1(0x177)][_0x10e1a1(0x14b)]();}[_0x12e6e8(0x179)](){const _0x63f7d6=_0x12e6e8;this[_0x63f7d6(0x156)]&&this[_0x63f7d6(0x156)][_0x63f7d6(0x179)](),this[_0x63f7d6(0x15f)]&&this[_0x63f7d6(0x15f)][_0x63f7d6(0x179)](),super[_0x63f7d6(0x179)]();}[_0x12e6e8(0x146)](){const _0x449a4e=_0x12e6e8,{CommentsListView:_0x207dd8}=this[_0x449a4e(0x15c)];this[_0x449a4e(0x156)]=new _0x207dd8(this[_0x449a4e(0x173)],this[_0x449a4e(0x17e)][_0x449a4e(0x15d)],Object[_0x449a4e(0x184)]({'CommentView':this[_0x449a4e(0x15c)][_0x449a4e(0x17d)]},this[_0x449a4e(0x15c)])),this[_0x449a4e(0x156)][_0x449a4e(0x162)](_0x449a4e(0x151))['to'](this),this[_0x449a4e(0x156)][_0x449a4e(0x162)](_0x449a4e(0x157))['to'](this),this[_0x449a4e(0x156)][_0x449a4e(0x14c)](_0x449a4e(0x166))['to'](this),this[_0x449a4e(0x167)](_0x449a4e(0x181),this[_0x449a4e(0x156)][_0x449a4e(0x181)]+0x1),this[_0x449a4e(0x14c)](_0x449a4e(0x181))['to'](this[_0x449a4e(0x156)],_0x449a4e(0x181),_0xfa796b=>_0xfa796b+0x1),this[_0x449a4e(0x15f)]=this[_0x449a4e(0x148)](),this['on'](_0x449a4e(0x151),()=>this[_0x449a4e(0x14b)]()),this[_0x449a4e(0x14c)](_0x449a4e(0x16a))['to'](this[_0x449a4e(0x156)],_0x449a4e(0x149),this[_0x449a4e(0x15f)][_0x449a4e(0x154)],_0x449a4e(0x180),(_0x4d5227,_0x37d8df)=>_0x4d5227||!!_0x37d8df);}[_0x12e6e8(0x148)](){const _0x2f0c3d=_0x12e6e8,{CommentThreadInputView:_0x527f11}=this[_0x2f0c3d(0x15c)],_0x44b380=new _0x527f11(this[_0x2f0c3d(0x173)],this[_0x2f0c3d(0x16b)],this[_0x2f0c3d(0x15c)][_0x2f0c3d(0x161)]),_0xce577f=_0x44b380[_0x2f0c3d(0x154)];return _0x44b380[_0x2f0c3d(0x14c)](_0x2f0c3d(0x174))['to'](this,_0x2f0c3d(0x166),this[_0x2f0c3d(0x17e)][_0x2f0c3d(0x15d)],_0x2f0c3d(0x14a),_0xce577f,_0x2f0c3d(0x180),(_0x31005b,_0x3ebf21,_0x3b629b)=>!!_0x3b629b||_0x31005b&&!_0x3ebf21),_0xce577f['on'](_0x2f0c3d(0x176),(_0x21e871,_0x4d6428)=>{const _0x33ff2b=_0x2f0c3d;this[_0x33ff2b(0x159)](_0x33ff2b(0x185),_0x4d6428),_0xce577f[_0x33ff2b(0x172)][_0x33ff2b(0x152)]('');}),_0xce577f['on'](_0x2f0c3d(0x160),()=>this[_0x2f0c3d(0x14b)]()),_0xce577f[_0x2f0c3d(0x14c)](_0x2f0c3d(0x144))['to'](this[_0x2f0c3d(0x17e)][_0x2f0c3d(0x15d)],_0x2f0c3d(0x14a)),_0x44b380;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5639ca=_0x1c55;(function(_0x24bb04,_0x4a54aa){const _0x58d9b0=_0x1c55,_0x20a3e3=_0x24bb04();while(!![]){try{const _0x48708e=-parseInt(_0x58d9b0(0xf1))/0x1*(-parseInt(_0x58d9b0(0x10e))/0x2)+-parseInt(_0x58d9b0(0xfe))/0x3+parseInt(_0x58d9b0(0xf6))/0x4*(-parseInt(_0x58d9b0(0xeb))/0x5)+-parseInt(_0x58d9b0(0xee))/0x6*(parseInt(_0x58d9b0(0x100))/0x7)+-parseInt(_0x58d9b0(0xe1))/0x8+parseInt(_0x58d9b0(0xec))/0x9+parseInt(_0x58d9b0(0xde))/0xa;if(_0x48708e===_0x4a54aa)break;else _0x20a3e3['push'](_0x20a3e3['shift']());}catch(_0x4f53e9){_0x20a3e3['push'](_0x20a3e3['shift']());}}}(_0x1fba,0x3041e));function _0x1c55(_0x38aec1,_0x56d672){const _0x1fba06=_0x1fba();return _0x1c55=function(_0x1c5581,_0x5b3d5d){_0x1c5581=_0x1c5581-0xde;let _0x29b7c8=_0x1fba06[_0x1c5581];return _0x29b7c8;},_0x1c55(_0x38aec1,_0x56d672);}import{default as _0x46fff6}from'./basesuggestionthreadview.js';import{trimHtml as _0x475a40}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x2a43cd}from'../../utils/utils.js';export default class pe extends _0x46fff6{constructor(_0x1a6f44,_0x5bf696,_0xea3f15,_0x31553d){const _0x1818de=_0x1c55;super(_0x1a6f44,_0x5bf696,_0xea3f15,_0x31553d),this[_0x1818de(0xe8)](_0x1818de(0xff),''),this[_0x1818de(0xe6)](_0x1818de(0xff))['to'](this,_0x1818de(0xed),_0x1b5921=>_0x1b5921&&_0x1b5921[0x0]?_0x1b5921[0x0][_0x1818de(0xff)]:''),this[_0x1818de(0xe6)](_0x1818de(0x104))['to'](this,_0x1818de(0xed),this,_0x1818de(0x109),(_0x40f0c0,_0x53bd99)=>{const _0x1c4642=_0x1818de;let _0x51acea='';for(const _0xe7061e of _0x40f0c0)_0x51acea+=_0x1c4642(0x113)+_0x2a43cd(_0xe7061e[_0x1c4642(0x105)],_0xe7061e[_0x1c4642(0x10d)])+_0x1c4642(0xf9);return _0x53bd99?_0x51acea:_0x475a40(_0x51acea,{'limit':0x8c});}),this[_0x1818de(0xf0)]=null,this[_0x1818de(0x114)]=new _0x31553d[(_0x1818de(0xf8))](_0x1a6f44,_0x5bf696,{'formatDateTime':_0x31553d[_0x1818de(0xe7)]}),this[_0x1818de(0x114)][_0x1818de(0xe6)](_0x1818de(0x104))['to'](this),this[_0x1818de(0x114)][_0x1818de(0x101)](_0x1818de(0xef),_0x1818de(0x110))['to'](this),this[_0x1818de(0x114)][_0x1818de(0x107)][_0x1818de(0xe6)](_0x1818de(0xe0))['to'](this,_0x1818de(0x106)),this[_0x1818de(0x114)][_0x1818de(0xfa)][_0x1818de(0xe6)](_0x1818de(0xe0))['to'](this,_0x1818de(0xf7)),this[_0x1818de(0xfb)][_0x1818de(0x115)](this[_0x1818de(0x114)]),this[_0x1818de(0xe4)]&&this[_0x1818de(0xfb)][_0x1818de(0x115)](this[_0x1818de(0xe4)]),this[_0x1818de(0x10a)]&&this[_0x1818de(0xfb)][_0x1818de(0x115)](this[_0x1818de(0x10a)]),this[_0x1818de(0xf5)](this[_0x1818de(0x10f)]());}[_0x5639ca(0x10f)](){const _0x573501=_0x5639ca,_0x23ca72=this[_0x573501(0x111)],_0x26a247=[this[_0x573501(0x114)]];return this[_0x573501(0xe4)]&&_0x26a247[_0x573501(0xfc)](this[_0x573501(0xe4)]),this[_0x573501(0x10a)]&&_0x26a247[_0x573501(0xfc)](this[_0x573501(0x10a)]),_0x26a247[_0x573501(0xfc)](this[_0x573501(0x10b)]),{'tag':_0x573501(0xe5),'attributes':{'class':['ck',_0x573501(0x10c),_0x573501(0xe9),_0x23ca72['if'](_0x573501(0x109),_0x573501(0x108)),_0x23ca72['to'](_0x573501(0xff),_0x52c3cf=>_0x573501(0xf3)+_0x52c3cf),this[_0x573501(0xf2)][_0x573501(0x103)]&&_0x573501(0xf4)],'data-suggestion-id':this[_0x573501(0xfd)]['id'],'data-thread-id':this[_0x573501(0xfd)][_0x573501(0x112)]['id'],'data-author-id':this[_0x573501(0xfd)][_0x573501(0xe3)]['id'],'tabindex':0x0,'role':_0x573501(0x116),'aria-label':_0x23ca72['to'](_0x573501(0xea)),'aria-describedby':this[_0x573501(0x10b)]['id']},'children':_0x26a247};}[_0x5639ca(0x102)](){const _0x30452b=_0x5639ca;super[_0x30452b(0x102)](),this[_0x30452b(0xe4)]&&(this[_0x30452b(0xe4)][_0x30452b(0x101)](_0x30452b(0xe2))['to'](this),this[_0x30452b(0xe4)][_0x30452b(0x101)](_0x30452b(0xdf))['to'](this)),this[_0x30452b(0x10a)]&&(this[_0x30452b(0x10a)][_0x30452b(0x101)](_0x30452b(0xe2))['to'](this),this[_0x30452b(0x10a)][_0x30452b(0x101)](_0x30452b(0xdf))['to'](this));}}function _0x1fba(){const _0x2e85d2=['setTemplate','49524LypxKe','canDiscard','SuggestionView','</p>','discardButton','focusables','push','_model','647511YgXgXi','type','5369xVTwtT','delegate','render','disableComments','description','content','canAccept','acceptButton','ck-suggestion-wrapper--active','isActive','commentThreadInputView','ariaDescriptionView','ck-rounded-corners','color','8292GfnsyQ','getTemplate','discardSuggestion','bindTemplate','commentThread','<p>','suggestionView','add','listitem','5148370sAtSng','editorDestroyed','isEnabled','2345904wwdySR','editorReady','author','commentsListView','div','bind','formatDateTime','set','ck-suggestion-wrapper','ariaLabel','10ktMMwS','3414699YxkRSB','descriptionParts','1338hZtUDF','acceptSuggestion','_descriptionElement','2bGjQhx','_config','ck-suggestion-','ck-suggestion--disabled-comments'];_0x1fba=function(){return _0x2e85d2;};return _0x1fba();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x348d(){const _0x28474e=['_createButton','1099UIObjx','_model','ck-annotation__info','authoredAt','fire','ck-suggestion__info','.ck-annotation__content-wrapper','target','innerHTML','acceptSuggestion','element','_setupKeyboardNavigation','33750VNSUNK','689045jPDhyy','creator','ck-comment__info-time','ck-suggestion','isExternal','set','author','3880YfTjNq','EXTERNAL_AVATAR','ck-suggestion__actions','discardButton','5428104axcXZb','discardSuggestion','ck-comment__external','render','push','ck-suggestion--accept','EXTERNAL_IMPORT_WORD_AVATAR','description','change:description','4XqeJsJ','ck-annotation__info-name','attributes','formatDateTime','ck-suggestion__info-name','add','focusTracker','EXTERNAL_SUGGESTION','focus','focusCycler','userView','acceptButton','execute','bindTemplate','shift+tab','Discard\x20suggestion','listenTo','getExternalSuggestionNote','focusFirst','EXTERNAL_IMPORT_WORD_SUGGESTION','source','ck-annotation__info-time','ck-suggestion__user','3492VbLUCZ','esc','name','querySelector','bind','check','tab','getUserViewNotificationText','extendTemplate','cancel','time','enter','10290FYBedF','ck-annotation__actions','importWord','ck-annotation__content-wrapper','presentation','span','setTemplate','275709XMCcEb','ck-suggestion__main','getTemplate','_config','keystrokes','7212jKySRq','ck-suggestion--discard','225XmYyNv','ck-annotation__main','Accept\x20suggestion','ck-annotation','div','ck-annotation__user','1001yRDNVD','@external','focusables','locale'];_0x348d=function(){return _0x28474e;};return _0x348d();}const _0x5e912a=_0x5437;(function(_0x19621a,_0x4fa08b){const _0x12043f=_0x5437,_0x73541a=_0x19621a();while(!![]){try{const _0x4e2fb7=-parseInt(_0x12043f(0x11b))/0x1+-parseInt(_0x12043f(0x120))/0x2*(-parseInt(_0x12043f(0x122))/0x3)+-parseInt(_0x12043f(0xf1))/0x4*(parseInt(_0x12043f(0x13a))/0x5)+parseInt(_0x12043f(0x114))/0x6*(-parseInt(_0x12043f(0x12d))/0x7)+parseInt(_0x12043f(0x141))/0x8*(-parseInt(_0x12043f(0x108))/0x9)+parseInt(_0x12043f(0x139))/0xa*(parseInt(_0x12043f(0x128))/0xb)+parseInt(_0x12043f(0x145))/0xc;if(_0x4e2fb7===_0x4fa08b)break;else _0x73541a['push'](_0x73541a['shift']());}catch(_0x5d92db){_0x73541a['push'](_0x73541a['shift']());}}}(_0x348d,0x26cf4));import{FocusTracker as _0x3d0e5a,KeystrokeHandler as _0x51c445}from'ckeditor5/src/utils.js';import{View as _0x11d077,ViewCollection as _0x52bfb6,FocusCycler as _0xe7799d}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x28ae16,UserView as _0x287edd}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x5408dd}from'ckeditor5/src/core.js';import{getTranslation as _0x33c399}from'../../utils/common-translations.js';function _0x5437(_0x597400,_0x2492e0){const _0x348d5f=_0x348d();return _0x5437=function(_0x5437eb,_0x2ca8b6){_0x5437eb=_0x5437eb-0xec;let _0x36a0b9=_0x348d5f[_0x5437eb];return _0x36a0b9;},_0x5437(_0x597400,_0x2492e0);}export default class fe extends _0x11d077{constructor(_0x25ef63,_0x5813e5,_0x2112b3){const _0x418361=_0x5437;super(_0x25ef63),this[_0x418361(0x12e)]=_0x5813e5,this[_0x418361(0x11e)]=_0x2112b3,this[_0x418361(0x13f)](_0x418361(0xef),''),this[_0x418361(0x10c)](_0x418361(0x130))['to'](_0x5813e5),this[_0x418361(0xfc)]=this[_0x418361(0x12c)](_0x33c399(_0x25ef63,_0x418361(0x124)),_0x5408dd[_0x418361(0x10d)],_0x418361(0xed),_0x418361(0x136),'sw'),this[_0x418361(0x144)]=this[_0x418361(0x12c)](_0x33c399(_0x25ef63,_0x418361(0x100)),_0x5408dd[_0x418361(0x111)],_0x418361(0x121),_0x418361(0x146),'sw'),this[_0x418361(0xfb)]=new _0x287edd(_0x25ef63,_0x5813e5[_0x418361(0x140)],this[_0x418361(0x10f)]()),this[_0x418361(0xfb)][_0x418361(0x110)]({'attributes':{'class':[_0x418361(0x107),_0x418361(0x127)],'aria-hidden':!0x0}}),this[_0x418361(0x12a)]=new _0x52bfb6([this[_0x418361(0xfc)],this[_0x418361(0x144)]]),this[_0x418361(0xf7)]=new _0x3d0e5a(),this[_0x418361(0x11f)]=new _0x51c445(),this[_0x418361(0xfa)]=new _0xe7799d({'focusables':this[_0x418361(0x12a)],'focusTracker':this[_0x418361(0xf7)],'keystrokeHandler':this[_0x418361(0x11f)],'actions':{'focusPrevious':_0x418361(0xff),'focusNext':_0x418361(0x10e)},'keystrokeHandlerOptions':{'filter':_0x5a96c8=>_0x5a96c8[_0x418361(0x134)]!==this[_0x418361(0x137)]}}),this[_0x418361(0x11a)](this[_0x418361(0x11d)]());}[_0x5e912a(0x148)](){const _0x4766f5=_0x5e912a;super[_0x4766f5(0x148)]();const _0x4fb928=this[_0x4766f5(0x137)][_0x4766f5(0x10b)](_0x4766f5(0x133));_0x4fb928[_0x4766f5(0x135)]=this[_0x4766f5(0xef)],this['on'](_0x4766f5(0xf0),(_0x28b02d,_0x5b939c,_0x294277)=>{const _0x55ab22=_0x4766f5;_0x4fb928[_0x55ab22(0x135)]=_0x294277;}),this[_0x4766f5(0x138)]();}[_0x5e912a(0x11d)](){const _0x134251=_0x5e912a,_0x2ad1a9=this[_0x134251(0xfe)],_0x3bfa1b=[{'tag':_0x134251(0x126),'attributes':{'class':[_0x134251(0x132),_0x134251(0x12f)]},'children':[{'tag':_0x134251(0x119),'children':[{'text':this[_0x134251(0xfb)][_0x134251(0x10a)]}],'attributes':{'class':[_0x134251(0xf5),_0x134251(0xf2)],'data-cke-tooltip-text':this[_0x134251(0xfb)][_0x134251(0x10a)]}},{'tag':_0x134251(0x112),'attributes':{'datetime':_0x2ad1a9['to'](_0x134251(0x130)),'class':[_0x134251(0x13c),_0x134251(0x106)]},'children':[{'text':_0x2ad1a9['to'](_0x134251(0x130),_0xedf26c=>this[_0x134251(0x11e)][_0x134251(0xf4)](_0xedf26c))}]}]},{'tag':_0x134251(0x126),'attributes':{'class':[_0x134251(0x143),_0x134251(0x115)]},'children':[this[_0x134251(0xfc)],this[_0x134251(0x144)]]},{'tag':_0x134251(0x126),'attributes':{'class':[_0x134251(0x117)]}}];return this[_0x134251(0x12e)][_0x134251(0x13e)]&&_0x3bfa1b[_0x134251(0xec)]({'tag':_0x134251(0x126),'attributes':{'class':[_0x134251(0x147)]},'children':[{'text':this[_0x134251(0x102)]()}]}),{'tag':_0x134251(0x126),'attributes':{'class':[_0x134251(0x13d),_0x134251(0x125)],'tabindex':-0x1},'children':[this[_0x134251(0xfb)],{'tag':_0x134251(0x126),'attributes':{'class':[_0x134251(0x11c),_0x134251(0x123)],'role':_0x134251(0x118)},'children':_0x3bfa1b}]};}[_0x5e912a(0xf9)](){const _0x7ed57d=_0x5e912a;this[_0x7ed57d(0x137)][_0x7ed57d(0xf9)]();}[_0x5e912a(0x10f)](){const _0x5c6e36=_0x5e912a;return this[_0x5c6e36(0x12e)][_0x5c6e36(0x13e)]?_0x5c6e36(0x116)===this[_0x5c6e36(0x12e)][_0x5c6e36(0xf3)][_0x5c6e36(0x129)][_0x5c6e36(0x105)]?_0x33c399(this[_0x5c6e36(0x12b)],_0x5c6e36(0xee),this[_0x5c6e36(0x12e)][_0x5c6e36(0x13b)][_0x5c6e36(0x10a)]):_0x33c399(this[_0x5c6e36(0x12b)],_0x5c6e36(0x142),this[_0x5c6e36(0x12e)][_0x5c6e36(0x13b)][_0x5c6e36(0x10a)]):null;}[_0x5e912a(0x102)](){const _0x1b5309=_0x5e912a;return _0x1b5309(0x116)===this[_0x1b5309(0x12e)][_0x1b5309(0xf3)][_0x1b5309(0x129)][_0x1b5309(0x105)]?_0x33c399(this[_0x1b5309(0x12b)],_0x1b5309(0x104)):_0x33c399(this[_0x1b5309(0x12b)],_0x1b5309(0xf8));}[_0x5e912a(0x12c)](_0x372c0a,_0x45b769,_0x49ae58,_0x53ac99,_0x8fafa2){const _0x477ae9=_0x5e912a,_0x564622=new _0x28ae16(this[_0x477ae9(0x12b)]);return _0x564622[_0x477ae9(0x13f)]({'label':_0x372c0a,'icon':_0x45b769,'tooltip':!0x0,'tooltipPosition':_0x8fafa2}),_0x564622[_0x477ae9(0x110)]({'attributes':{'class':_0x49ae58}}),_0x564622['on'](_0x477ae9(0xfd),()=>{const _0x4b13b7=_0x477ae9;this[_0x4b13b7(0x131)](_0x53ac99,this[_0x4b13b7(0x12e)]['id']);}),_0x564622;}[_0x5e912a(0x138)](){const _0xa762f6=_0x5e912a,_0x5b4c72=this[_0xa762f6(0x137)];this[_0xa762f6(0x11f)][_0xa762f6(0x101)](_0x5b4c72);for(const _0x8d3a24 of this[_0xa762f6(0x12a)])this[_0xa762f6(0xf7)][_0xa762f6(0xf6)](_0x8d3a24[_0xa762f6(0x137)]),this[_0xa762f6(0x11f)][_0xa762f6(0x101)](_0x8d3a24[_0xa762f6(0x137)]);this[_0xa762f6(0x11f)][_0xa762f6(0x13f)](_0xa762f6(0x113),(_0x40fd46,_0x4120b2)=>{const _0xf36752=_0xa762f6;_0x5b4c72===_0x40fd46[_0xf36752(0x134)]&&(this[_0xf36752(0xfa)][_0xf36752(0x103)](),_0x4120b2());}),this[_0xa762f6(0x11f)][_0xa762f6(0x13f)](_0xa762f6(0x109),(_0x490f96,_0x3dfc99)=>{const _0x3f4dea=_0xa762f6;_0x5b4c72!==_0x490f96[_0x3f4dea(0x134)]&&(this[_0x3f4dea(0xf9)](),_0x3dfc99());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3b0fff=_0x4126;function _0x4126(_0x2f25cb,_0x4e54cf){const _0x47aa4a=_0x47aa();return _0x4126=function(_0x41268d,_0x3d5c9a){_0x41268d=_0x41268d-0xe7;let _0x5cc4fd=_0x47aa4a[_0x41268d];return _0x5cc4fd;},_0x4126(_0x2f25cb,_0x4e54cf);}(function(_0x2eaba0,_0x1f73ce){const _0x2aaea1=_0x4126,_0x4b4296=_0x2eaba0();while(!![]){try{const _0x13e4a1=-parseInt(_0x2aaea1(0xfb))/0x1*(parseInt(_0x2aaea1(0xec))/0x2)+parseInt(_0x2aaea1(0xfa))/0x3*(-parseInt(_0x2aaea1(0xf6))/0x4)+parseInt(_0x2aaea1(0xee))/0x5+-parseInt(_0x2aaea1(0xf4))/0x6*(-parseInt(_0x2aaea1(0xef))/0x7)+parseInt(_0x2aaea1(0xf9))/0x8*(parseInt(_0x2aaea1(0xfe))/0x9)+parseInt(_0x2aaea1(0x102))/0xa+parseInt(_0x2aaea1(0xeb))/0xb*(-parseInt(_0x2aaea1(0xea))/0xc);if(_0x13e4a1===_0x1f73ce)break;else _0x4b4296['push'](_0x4b4296['shift']());}catch(_0x1c24df){_0x4b4296['push'](_0x4b4296['shift']());}}}(_0x47aa,0x1b417));function _0x47aa(){const _0x2773cb=['\x20ck-track-changes-preview__root-container','classes','element','setAttribute','ck-reset','setTemplate','height','render','setPreviewData','div','focus','12ZQLRiw','3872572qXWNRI','26gODRUg','className','969120jacAGX','371frMxrU','previewDataReady','ck-track-changes-preview','fire','dialogRects','23346rzkogh','push','16BTqDVc','createElement','options','3016mYyCgY','15573aWKwkM','12891eaYqvI','style','data-ck-root-name','4761piWTjt','width','content','innerHTML','525580mFRKUl'];_0x47aa=function(){return _0x2773cb;};return _0x47aa();}import{View as _0x145dfb}from'ckeditor5/src/ui.js';export default class Me extends _0x145dfb{constructor(_0x35cccc,_0x4f513b){const _0x21eda1=_0x4126;super(_0x35cccc),this[_0x21eda1(0xf8)]=_0x4f513b,this[_0x21eda1(0x108)]({'tag':_0x21eda1(0xe8),'attributes':{'class':['ck',_0x21eda1(0x107),_0x21eda1(0xf1)],'tabindex':-0x1}});}[_0x3b0fff(0x10a)](){const _0x2a08b9=_0x3b0fff;super[_0x2a08b9(0x10a)](),this[_0x2a08b9(0x105)][_0x2a08b9(0xfc)][_0x2a08b9(0xff)]=this[_0x2a08b9(0xf8)][_0x2a08b9(0xf3)][_0x2a08b9(0xff)]+'px',this[_0x2a08b9(0x105)][_0x2a08b9(0xfc)][_0x2a08b9(0x109)]=this[_0x2a08b9(0xf8)][_0x2a08b9(0xf3)][_0x2a08b9(0x109)]+'px';}[_0x3b0fff(0xe7)](_0x513347,_0x355416){const _0x8af499=_0x3b0fff;if(!this[_0x8af499(0x105)])return;const _0x5bd1b9=[];for(const [_0x4c36df,_0x44cc18]of _0x513347){const _0x4a838d=document[_0x8af499(0xf7)](_0x8af499(0xe8));_0x4a838d[_0x8af499(0x106)](_0x8af499(0xfd),_0x4c36df),_0x4a838d[_0x8af499(0xed)]=_0x44cc18[_0x8af499(0x104)]+_0x8af499(0x103),_0x4a838d[_0x8af499(0x101)]=_0x44cc18[_0x8af499(0x100)],_0x5bd1b9[_0x8af499(0xf5)](_0x4a838d);}_0x355416(this[_0x8af499(0x105)],_0x5bd1b9),this[_0x8af499(0x105)][_0x8af499(0xfc)][_0x8af499(0x109)]='',this[_0x8af499(0xf2)](_0x8af499(0xf0));}[_0x3b0fff(0xe9)](){const _0x40ac27=_0x3b0fff;this[_0x40ac27(0x105)][_0x40ac27(0xe9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x57974b,_0x389a32,_0x4bd286){const _0x222a29=_0x57974b['t'],t=_0x57974b['t'];switch(_0x389a32){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',_0x4bd286);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4bd286);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4bd286);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4bd286);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4bd286);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',_0x4bd286);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4bd286);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',_0x4bd286);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4bd286);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4bd286);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4bd286);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4bd286);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4bd286);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4bd286);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4bd286);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4bd286);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4bd286);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4bd286);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4bd286);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4bd286);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4bd286);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4bd286);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4bd286);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4bd286);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'},_0x4bd286);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4bd286);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4bd286);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4bd286);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4bd286);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4bd286);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4bd286);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4bd286);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4bd286);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'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4bd286);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4bd286);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'},_0x4bd286);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4bd286);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 _0x222a29({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4bd286);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x222a29({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4bd286);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4bd286);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'},_0x4bd286);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'},_0x4bd286);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'},_0x4bd286);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x389a32;}}
|
|
23
|
+
export function getTranslation(_0x33c0c4,_0x3caaf2,_0x20021f){const _0x352e78=_0x33c0c4['t'],t=_0x33c0c4['t'];switch(_0x3caaf2){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',_0x20021f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x20021f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x20021f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x20021f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x20021f);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',_0x20021f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x20021f);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',_0x20021f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x20021f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x20021f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x20021f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x20021f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x20021f);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x20021f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x20021f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x20021f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x20021f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x20021f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x20021f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x20021f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x20021f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x20021f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x20021f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x20021f);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'},_0x20021f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x20021f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x20021f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x20021f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x20021f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x20021f);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'},_0x20021f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x20021f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x20021f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x20021f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x20021f);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'},_0x20021f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x20021f);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'},_0x20021f);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'},_0x20021f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x20021f);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'},_0x20021f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x20021f);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'},_0x20021f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x20021f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x20021f);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'},_0x20021f);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x20021f);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 _0x352e78({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x20021f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x352e78({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x20021f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x20021f);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'},_0x20021f);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'},_0x20021f);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'},_0x20021f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3caaf2;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2c28d5,_0x2af7d0){const _0x3dfb25=_0x56aa,_0x2128fa=_0x2c28d5();while(!![]){try{const _0x1a8289=-parseInt(_0x3dfb25(0x1ba))/0x1+-parseInt(_0x3dfb25(0x1c6))/0x2+parseInt(_0x3dfb25(0x1b0))/0x3*(parseInt(_0x3dfb25(0x1c7))/0x4)+parseInt(_0x3dfb25(0x1c4))/0x5*(-parseInt(_0x3dfb25(0x1c9))/0x6)+parseInt(_0x3dfb25(0x1bd))/0x7*(-parseInt(_0x3dfb25(0x1df))/0x8)+-parseInt(_0x3dfb25(0x1dc))/0x9*(parseInt(_0x3dfb25(0x1ad))/0xa)+parseInt(_0x3dfb25(0x1c0))/0xb*(parseInt(_0x3dfb25(0x1d6))/0xc);if(_0x1a8289===_0x2af7d0)break;else _0x2128fa['push'](_0x2128fa['shift']());}catch(_0x53b11f){_0x2128fa['push'](_0x2128fa['shift']());}}}(_0x1e56,0x6482f));export function normalizeDescription(_0x220dd3){const _0x1cbddd=_0x56aa;return Array[_0x1cbddd(0x1c1)](_0x220dd3)||(_0x220dd3=[_0x220dd3]),_0x220dd3[_0x1cbddd(0x1d5)](_0x2b6003=>{const _0x38ff66=_0x1cbddd,_0x128e2e=_0x2b6003[_0x38ff66(0x1da)][_0x38ff66(0x1d2)](/\*/g,''),_0x234dbd=_0x2b6003[_0x38ff66(0x1bf)]?_0x38ff66(0x1b1)+_0x2b6003[_0x38ff66(0x1bf)][_0x38ff66(0x1c2)]+']':'';return'['+_0x2b6003[_0x38ff66(0x1cf)]+']\x20'+_0x128e2e+_0x234dbd;})[_0x1cbddd(0x1d3)](';\x20');}export function renderDescription(_0x50fa8e,_0xf8db2d){const _0x5eb9ba=_0x56aa;let _0x3464fa='';return _0x3464fa+=_0x50fa8e[_0x5eb9ba(0x1b7)]('*')[_0x5eb9ba(0x1d5)]((_0x36f2cd,_0x350f5f)=>_0x350f5f%0x2!=0x0?_0x5eb9ba(0x1ae)+nn(_0x36f2cd)+_0x5eb9ba(0x1cc):nn(_0x36f2cd))[_0x5eb9ba(0x1d3)](''),_0xf8db2d&&(_0x3464fa+=_0x5eb9ba(0x1b2)+_0xf8db2d[_0x5eb9ba(0x1c2)]+_0x5eb9ba(0x1b3)+_0xf8db2d[_0x5eb9ba(0x1aa)]+_0x5eb9ba(0x1ab)),_0x3464fa;}function nn(_0x2c0c90){const _0x353904=_0x56aa,_0x2b764b=document[_0x353904(0x1b4)](_0x353904(0x1b6));return _0x2b764b[_0x353904(0x1db)]=_0x2c0c90,_0x2b764b[_0x353904(0x1de)];}export function sortSuggestions(_0x18f260){const _0x165f2a=_0x56aa;return _0x18f260[_0x165f2a(0x1b5)]((_0x34e9ab,_0x4ef98b)=>_0x165f2a(0x1c3)==_0x34e9ab[_0x165f2a(0x1cf)]&&_0x165f2a(0x1c3)!=_0x4ef98b[_0x165f2a(0x1cf)]?-0x1:_0x165f2a(0x1c3)!=_0x34e9ab[_0x165f2a(0x1cf)]&&_0x165f2a(0x1c3)==_0x4ef98b[_0x165f2a(0x1cf)]?0x1:0x0);}export function getSelectedSuggestions(_0x244b35,_0x540313){const _0xe6064c=_0x56aa,_0x534832=Array[_0xe6064c(0x1d9)](_0x244b35[_0xe6064c(0x1cb)]()),_0x540402=new Set();for(const _0x14a358 of _0x540313)if(_0x14a358[_0xe6064c(0x1a9)]){for(const _0x4301f6 of _0x534832)for(const _0x6ad38a of _0x14a358[_0xe6064c(0x1cb)]())(_0x4301f6[_0xe6064c(0x1d4)](_0x6ad38a)||_0x244b35[_0xe6064c(0x1ca)]&&!_0x14a358[_0xe6064c(0x1c5)]&&_0x14a358[_0xe6064c(0x1ac)]&&_0x6ad38a[_0xe6064c(0x1bb)][_0xe6064c(0x1d1)](_0x4301f6[_0xe6064c(0x1af)]))&&_0x540402[_0xe6064c(0x1dd)](_0x14a358);}return _0x540402;}function _0x56aa(_0x22ffe0,_0x37029f){const _0x1e561f=_0x1e56();return _0x56aa=function(_0x56aa6e,_0x58e93d){_0x56aa6e=_0x56aa6e-0x1a8;let _0x56b649=_0x1e561f[_0x56aa6e];return _0x56b649;},_0x56aa(_0x22ffe0,_0x37029f);}export function getRangesOfBlockGroups(_0x5cc90d,_0x5c793e){const _0x28d65e=_0x56aa;let _0x526afa,_0x5ec47f=0x0;const _0x448852=[],_0x504191=_0x5c793e[_0x28d65e(0x1bc)];for(;_0x5ec47f<_0x5cc90d[_0x28d65e(0x1b8)];){const _0x25a8d5=_0x5cc90d[_0x5ec47f],_0x81ec36=_0x5cc90d[_0x5ec47f+0x1];_0x526afa||(_0x526afa=_0x5c793e[_0x28d65e(0x1d0)](_0x25a8d5)),on(_0x5c793e,_0x25a8d5,_0x81ec36)||(_0x448852[_0x28d65e(0x1c8)](_0x5c793e[_0x28d65e(0x1a8)](_0x526afa,_0x504191[_0x28d65e(0x1d7)](_0x25a8d5)?_0x5c793e[_0x28d65e(0x1b9)](_0x25a8d5):_0x5c793e[_0x28d65e(0x1cd)](_0x25a8d5,_0x28d65e(0x1bb)))),_0x526afa=null),_0x5ec47f++;}return _0x448852;}function on(_0x6c6b74,_0x5c03d8,_0x20070d){const _0x1e2258=_0x56aa;if(!_0x20070d)return!0x1;const _0x462d04=_0x6c6b74[_0x1e2258(0x1b9)](_0x5c03d8),_0x3bc862=_0x6c6b74[_0x1e2258(0x1d0)](_0x20070d);return _0x462d04[_0x1e2258(0x1d1)](_0x3bc862);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x1e56(){const _0x1c1ba0=['map','1416LRQutg','isObject','change','from','content','innerText','5517NcJswh','add','innerHTML','568DIlOBe','createRange','isInContent','title','\x22></span>','next','3110pghWdz','<span\x20class=\x22ck-suggestion-type\x22>','start','9tvKtEP','\x20[color\x20','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','\x22\x20title=\x22','createElement','sort','span','split','length','createPositionAfter','196087LkUCzv','end','schema','50015BLwClW','splice','color','223894URFomu','isArray','value','deletion','2856140nBTyje','isMultiRange','1216034ojPwnR','110924ouArkD','push','6HRJWSU','isCollapsed','getRanges','</span>','createPositionAt','execute','type','createPositionBefore','isTouching','replace','join','isIntersecting'];_0x1e56=function(){return _0x1c1ba0;};return _0x1e56();}export function executeCommandForSuggestions(_0x3c6222,_0x45f63b,_0x1c3b8d){const _0x13ccb2=_0x56aa;for(;_0x1c3b8d[_0x13ccb2(0x1b8)];){const _0x4d007d=_0x1c3b8d[_0x13ccb2(0x1be)](0x0,0x64);_0x3c6222[_0x13ccb2(0x1d8)](()=>{const _0x51ae99=_0x13ccb2;for(const _0x92efb1 of _0x4d007d)_0x92efb1[_0x51ae99(0x1a9)]&&_0x45f63b[_0x51ae99(0x1ce)](_0x92efb1['id']);});}}
|