@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20251217.0 → 0.0.0-nightly-next-20251217.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x514d(_0x233e89,_0x5997ab){const _0x2ef320=_0x2ef3();return _0x514d=function(_0x514dee,_0x150e72){_0x514dee=_0x514dee-0x1dd;let _0x547b08=_0x2ef320[_0x514dee];return _0x547b08;},_0x514d(_0x233e89,_0x5997ab);}const _0x5cecee=_0x514d;(function(_0x3d6157,_0x9c642a){const _0x7af9c1=_0x514d,_0x46b9fd=_0x3d6157();while(!![]){try{const _0x1c88ed=-parseInt(_0x7af9c1(0x1f0))/0x1+parseInt(_0x7af9c1(0x1ef))/0x2*(parseInt(_0x7af9c1(0x1e3))/0x3)+parseInt(_0x7af9c1(0x1e9))/0x4*(parseInt(_0x7af9c1(0x1e7))/0x5)+-parseInt(_0x7af9c1(0x1ed))/0x6*(-parseInt(_0x7af9c1(0x1f3))/0x7)+-parseInt(_0x7af9c1(0x1de))/0x8*(parseInt(_0x7af9c1(0x1f6))/0x9)+-parseInt(_0x7af9c1(0x1e8))/0xa*(-parseInt(_0x7af9c1(0x1e5))/0xb)+parseInt(_0x7af9c1(0x1f4))/0xc*(parseInt(_0x7af9c1(0x1ec))/0xd);if(_0x1c88ed===_0x9c642a)break;else _0x46b9fd['push'](_0x46b9fd['shift']());}catch(_0x3257da){_0x46b9fd['push'](_0x46b9fd['shift']());}}}(_0x2ef3,0xf1ac7));import{Plugin as _0x593c0e}from'ckeditor5/src/core.js';import{Dialog as _0x51637b}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x57a1e8}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x33a3de}from'./commands/previewfinalcontentcommand.js';function _0x2ef3(){const _0x11451c=['TrackChangesPreview','815UyBNdO','297060bIgBzT','128IBiVir','isOfficialPlugin','pluginName','22549267AaWHii','5118JmMBgT','isPremiumPlugin','2eKjPxT','1640303tyFuGR','previewFinalContent','trackChanges.preview.renderFunction','4935NqHrHM','12kkzWzL','editor','337698eqpGNh','commands','304XxMoEJ','requires','config','appendChild','define','2382024IHsVCW','add','341cyqfhe'];_0x2ef3=function(){return _0x11451c;};return _0x2ef3();}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x593c0e{static get[_0x5cecee(0x1df)](){return[_0x57a1e8,_0x51637b];}static get[_0x5cecee(0x1eb)](){const _0x19f85a=_0x5cecee;return _0x19f85a(0x1e6);}static get[_0x5cecee(0x1ea)](){return!0x0;}static get[_0x5cecee(0x1ee)](){return!0x0;}constructor(_0x43828c){const _0x8e2324=_0x5cecee;super(_0x43828c),_0x43828c[_0x8e2324(0x1dd)][_0x8e2324(0x1e4)](_0x8e2324(0x1f1),new _0x33a3de(this[_0x8e2324(0x1f5)])),_0x43828c[_0x8e2324(0x1e0)][_0x8e2324(0x1e2)](_0x8e2324(0x1f2),(_0x462c8b,_0x4e7378)=>{const _0x158750=_0x8e2324;for(const _0x2b4aa7 of _0x4e7378)_0x462c8b[_0x158750(0x1e1)](_0x2b4aa7);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24a90f=_0x2c58;(function(_0x322d44,_0x5b495d){const _0x1767b2=_0x2c58,_0x18f684=_0x322d44();while(!![]){try{const _0x17e03a=-parseInt(_0x1767b2(0x11b))/0x1+-parseInt(_0x1767b2(0xc1))/0x2*(-parseInt(_0x1767b2(0x8f))/0x3)+parseInt(_0x1767b2(0x10a))/0x4+-parseInt(_0x1767b2(0xc6))/0x5+-parseInt(_0x1767b2(0xa1))/0x6+parseInt(_0x1767b2(0x10d))/0x7+-parseInt(_0x1767b2(0xa6))/0x8;if(_0x17e03a===_0x5b495d)break;else _0x18f684['push'](_0x18f684['shift']());}catch(_0x5e3658){_0x18f684['push'](_0x18f684['shift']());}}}(_0x2ae2,0x9d341));import{Plugin as _0x3885cb}from'ckeditor5/src/core.js';import{Collection as _0x4ca3a6}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x53399f}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4766ce,createDropdown as _0xc5d52c,ListSeparatorView as _0x4fe407,MenuBarMenuView as _0x3c6b74,MenuBarMenuListView as _0x3b4a10,MenuBarMenuListItemView as _0x1effe2,MenuBarMenuListItemButtonView as _0xd51290,SplitButtonView as _0x1607bb,UIModel as _0x58e85d}from'ckeditor5/src/ui.js';import{Users as _0x317e81,getDateTimeFormatter as _0x5ccc29,getAllMarkersDomElementsSorted as _0xae0e4f}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x3da399}from'./trackchangesediting.js';import{SuggestionController as _0x5d3e55}from'./ui/suggestioncontroller.js';function _0x2ae2(){const _0x5384e1=['featureNotAllowed','trackChangesLicenseKeyEvaluationLimit','_destroyController','trackChangesLicenseKeyValid','EditorAnnotations','type','componentFactory','trackChangesLicenseKeyTrialLimit','Discard\x20all\x20suggestions','define','suggestionChanged','descriptionFactory','getAnnotationForSuggestion','423675uldlwn','filter','trackChanges','getMarkerNames','menu','_updateController','_bindAnnotationToEditors','_disableComments','Annotations','comments.maxCommentsWhenCollapsed','innerView','stopListening','length','config','clear','trackChangesLicenseKeyUsageLimit','expired','from','606984JSFWbS','change:previous','buttonView','trackChangesLicenseKeyNotAllowed','getAllAdjacentSuggestions','9105240TgXqVP','SuggestionThreadView','pluginName','_refreshActiveMarkers','menuBar:trackChanges','acceptButton','acceptAllSuggestions','isMultiRange','isDirty','unbind','delegate','previewFinalContent','isOfficialPlugin','change:activeAnnotations','discardAllSuggestions','switchbutton','destroy','locale','Preview\x20final\x20content','commentsListView','discardSelectedSuggestions','_annotationViews','descriptionParts','add','size','comments','licenseKey','10eNrBWx','getRanges','activeAnnotations','menuitem','_createMenuBarMenu','4245610OmfRTI','delete','TrackChangesEditing','TrackChangesUI','trackChanges.disableComments','getMarkers','trackChangesLicenseKeyExpired','comments.editorConfig','_showLicenseError','addMany','evaluationLimit','editing','toMany','commandName','trackChanges.SuggestionView','escape','registerAnnotation','push','getSuggestion','suggestion-','isInContent','reduce','view','value','menuitemcheckbox','plugins','comments.maxCommentCharsWhenCollapsed','set','Track\x20changes','TrackChangesPreview','previous','_licenseKeyCheckInterval','Accept\x20all\x20suggestions','editor','focus','trackChangesLicenseKeyDomainLimit','TrackChanges','_unbindEditors','CommentView','panelView','trialLimit','init','addComment','lowest','separator','createAnnotationView','invalid','actionView','getSuggestionForAnnotation','discardButton','activeMarkers','_initializeController','execute','button','CommentsRepository','model','_viewToController','comments.maxThreadTotalWeight','head','commentThread','_suggestionToController','getDescriptions','remove','getByInnerView','suggestionView','arrowView','_createToolbarButton','_handleSuggestionControllerDelayed','4941988OCteCA','trackChangesLicenseKeyInvalid','bind','8274518YMJliw','commands','suggestionLoaded','isPremiumPlugin','isEnabled','CommentsUI','trackChanges.SuggestionThreadView','Accept\x20all\x20selected\x20suggestions','keys','values','listenTo','getJoined','children','_handleControllerBuffer','391350hpmBCh','SuggestionView','has','createCommentThreadController','get','acceptSelectedSuggestions','isOn','suggestionUnloaded','createAnnotation','Discard\x20all\x20selected\x20suggestions','_addUIComponentsToFactory','getFirstRange','fire','source','hasSuggestion','requires','mainView','addSourceCollector','some','usageLimit','items','domainLimit','refreshSelectedViews'];_0x2ae2=function(){return _0x5384e1;};return _0x2ae2();}import{SuggestionThreadView as _0x4fba06}from'./ui/view/suggestionthreadview.js';function _0x2c58(_0x3d55a5,_0x18b305){const _0x2ae2db=_0x2ae2();return _0x2c58=function(_0x2c5827,_0x539a5e){_0x2c5827=_0x2c5827-0x84;let _0x4ffd22=_0x2ae2db[_0x2c5827];return _0x4ffd22;},_0x2c58(_0x3d55a5,_0x18b305);}import{SuggestionView as _0x13b77d}from'./ui/view/suggestionview.js';import{getTranslation as _0x118b4e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x3885cb{[_0x24a90f(0xc0)];[_0x24a90f(0xe5)];[_0x24a90f(0x102)];[_0x24a90f(0xfe)];[_0x24a90f(0xbb)];[_0x24a90f(0x11a)];[_0x24a90f(0x96)];static get[_0x24a90f(0x12a)](){const _0x4da519=_0x24a90f;return[_0x3da399,_0x317e81,_0x4da519(0xfc),_0x4da519(0x97),_0x4da519(0x86)];}static get[_0x24a90f(0xa8)](){const _0x4abc5d=_0x24a90f;return _0x4abc5d(0xc9);}static get[_0x24a90f(0xb2)](){return!0x0;}static get[_0x24a90f(0x110)](){return!0x0;}constructor(_0x20c47c){const _0x54cfd0=_0x24a90f;super(_0x20c47c),this[_0x54cfd0(0x102)]=new Map(),this[_0x54cfd0(0xfe)]=new Map(),this[_0x54cfd0(0xbb)]=new Map(),this[_0x54cfd0(0x11a)]=new Map();const _0x2a0c5e=this[_0x54cfd0(0xe7)][_0x54cfd0(0x9c)];_0x2a0c5e[_0x54cfd0(0x8b)](_0x54cfd0(0x113),_0x4fba06),_0x2a0c5e[_0x54cfd0(0x8b)](_0x54cfd0(0xd4),_0x13b77d),_0x2a0c5e[_0x54cfd0(0x8b)](_0x54cfd0(0xca),!0x1),this[_0x54cfd0(0x96)]=_0x2a0c5e[_0x54cfd0(0x11f)](_0x54cfd0(0xca));}[_0x24a90f(0x109)](_0xde7e6a,_0x27aeb6){const _0x4e317e=_0x24a90f;0x0===this[_0x4e317e(0x11a)][_0x4e317e(0xbe)]&&setTimeout(()=>{const _0x342d0c=_0x4e317e;for(const [_0x561b96,_0x29811a]of this[_0x342d0c(0x11a)]){const _0x25ccba=this[_0x342d0c(0x102)][_0x342d0c(0x11d)](_0x561b96);_0x25ccba||_0x29811a?_0x25ccba&&_0x29811a&&this[_0x342d0c(0x84)](_0x561b96):this[_0x342d0c(0xf9)](_0x561b96);}this[_0x342d0c(0x11a)][_0x342d0c(0x9d)](),this[_0x342d0c(0xe7)][_0x342d0c(0xdf)][_0x342d0c(0x11f)](_0x342d0c(0x86))[_0x342d0c(0x131)](),this[_0x342d0c(0xa9)]();},0xa),this[_0x4e317e(0x11a)][_0x4e317e(0xe1)](_0xde7e6a,_0x27aeb6);}[_0x24a90f(0xef)](){const _0x27827e=_0x24a90f,_0x5e85cc=this[_0x27827e(0xe7)],_0x312aa3=_0x5e85cc[_0x27827e(0xdf)][_0x27827e(0x11f)](_0x27827e(0xc8)),_0x334a64=_0x5e85cc[_0x27827e(0xdf)][_0x27827e(0x11f)](_0x27827e(0x97)),_0x3c6ee7=_0x5e85cc[_0x27827e(0xdf)][_0x27827e(0x11f)](_0x27827e(0x86)),_0x52b4ec=_0x5e85cc[_0x27827e(0xdf)][_0x27827e(0x11f)](_0x27827e(0xfc));this[_0x27827e(0x125)](),_0x3c6ee7[_0x27827e(0x12c)](()=>{const _0x356c22=_0x27827e,_0x44a018=[];for(const [_0x2df490,_0x123a26]of Array[_0x356c22(0xa0)](this[_0x356c22(0x102)])){const _0x3f078b=_0x2df490[_0x356c22(0xa5)](),_0x10f292=[];for(const _0x150a6f of _0x3f078b){if(!_0x150a6f[_0x356c22(0xda)])continue;if(_0x150a6f[_0x356c22(0xad)]){_0x10f292[_0x356c22(0xd7)](..._0x150a6f[_0x356c22(0xc2)]());continue;}const _0x48c65e=_0x150a6f[_0x356c22(0x126)]();if(_0x10f292[_0x356c22(0x9b)]>0x0){const _0x10c500=_0x10f292[0x0][_0x356c22(0x118)](_0x48c65e);if(_0x10c500){_0x10f292[0x0]=_0x10c500;continue;}}_0x10f292[_0x356c22(0xd7)](_0x48c65e);}_0x44a018[_0x356c22(0xd7)]([_0x123a26[_0x356c22(0xdc)],_0x10f292]);}return _0x44a018;}),this[_0x27827e(0x117)](_0x312aa3,_0x27827e(0x10f),(_0x59b79b,_0x3243b7)=>{const _0x4522cb=_0x27827e;this[_0x4522cb(0x117)](_0x3243b7,_0x4522cb(0xa2),(_0x1fc40c,_0x55c787,_0xeb85a,_0x333ee0)=>{const _0x2ddd7b=_0x4522cb;_0x3243b7[_0x2ddd7b(0xda)]&&(null==_0xeb85a?(this[_0x2ddd7b(0x94)](_0x333ee0[_0x2ddd7b(0x100)]),this[_0x2ddd7b(0x109)](_0x3243b7,!0x1)):(this[_0x2ddd7b(0x94)](_0xeb85a[_0x2ddd7b(0x100)]),null==_0x333ee0&&this[_0x2ddd7b(0x109)](_0x3243b7,!0x0)));}),null!==_0x3243b7[_0x4522cb(0xe4)]?this[_0x4522cb(0x94)](_0x3243b7[_0x4522cb(0x100)]):this[_0x4522cb(0x109)](_0x3243b7,!0x1);}),this[_0x27827e(0x117)](_0x312aa3,_0x27827e(0x122),(_0x52c890,_0x4b17d5,_0x6c898e)=>{const _0x2f61b6=_0x27827e;this[_0x2f61b6(0x9a)](_0x4b17d5,_0x2f61b6(0xa2)),this[_0x2f61b6(0x11a)][_0x2f61b6(0xc7)](_0x4b17d5),this[_0x2f61b6(0x102)][_0x2f61b6(0x11d)](_0x4b17d5)&&this[_0x2f61b6(0x84)](_0x4b17d5),_0x6c898e&&this[_0x2f61b6(0x94)](_0x6c898e[_0x2f61b6(0x100)]);}),this[_0x27827e(0x117)](_0x312aa3,_0x27827e(0x8c),(_0x32805d,_0x562062)=>{const _0x4a650=_0x27827e;this[_0x4a650(0x94)](_0x562062);}),this[_0x27827e(0x117)](_0x334a64,_0x27827e(0xb3),()=>{const _0x428bea=_0x27827e;this[_0x428bea(0xa9)]();}),this[_0x27827e(0x117)](_0x52b4ec,_0x27827e(0xf0),(_0x53114f,{threadId:_0x1fc817,isFromAdapter:_0xaa7a4f})=>{const _0x5c0d1a=_0x27827e;if(_0xaa7a4f||!_0x312aa3[_0x5c0d1a(0x129)](_0x1fc817))return;const _0x4f1540=_0x312aa3[_0x5c0d1a(0xd8)](_0x1fc817);this[_0x5c0d1a(0x102)][_0x5c0d1a(0x11f)](_0x4f1540)[_0x5c0d1a(0xdc)][_0x5c0d1a(0xb9)][_0x5c0d1a(0xe8)](-0x1);},{'priority':_0x27827e(0xf1)}),this[_0x27827e(0xc0)]=this[_0x27827e(0xe7)][_0x27827e(0x9c)][_0x27827e(0x11f)](_0x27827e(0xc0));const _0x1e6f9e=this[_0x27827e(0xe7)];this[_0x27827e(0xe5)]=setInterval(()=>{const _0x505ef4=_0x27827e;let _0x58e2ef;for(const _0x5d4685 in _0x1e6f9e){const _0x3427a9=_0x5d4685,_0x30db83=_0x1e6f9e[_0x3427a9];if(_0x505ef4(0x85)==_0x30db83||_0x505ef4(0x10b)==_0x30db83||_0x505ef4(0xcc)==_0x30db83||_0x505ef4(0xe9)==_0x30db83||_0x505ef4(0xa4)==_0x30db83||_0x505ef4(0x133)==_0x30db83||_0x505ef4(0x89)==_0x30db83||_0x505ef4(0x9e)==_0x30db83){delete _0x1e6f9e[_0x3427a9],_0x58e2ef=_0x30db83,clearInterval(this[_0x505ef4(0xe5)]),this[_0x505ef4(0xe5)]=void 0x0;break;}}_0x505ef4(0x10b)==_0x58e2ef&&_0x1e6f9e[_0x505ef4(0xce)](_0x505ef4(0xf4)),_0x505ef4(0xcc)==_0x58e2ef&&_0x1e6f9e[_0x505ef4(0xce)](_0x505ef4(0x9f)),_0x505ef4(0xe9)==_0x58e2ef&&_0x1e6f9e[_0x505ef4(0xce)](_0x505ef4(0x130)),_0x505ef4(0xa4)==_0x58e2ef&&_0x1e6f9e[_0x505ef4(0xce)](_0x505ef4(0x132),_0x505ef4(0xea)),_0x505ef4(0x133)==_0x58e2ef&&_0x1e6f9e[_0x505ef4(0xce)](_0x505ef4(0xd0)),_0x505ef4(0x89)==_0x58e2ef&&_0x1e6f9e[_0x505ef4(0xce)](_0x505ef4(0xee)),_0x505ef4(0x9e)==_0x58e2ef&&_0x1e6f9e[_0x505ef4(0xce)](_0x505ef4(0x12e));},0x3e8);}[_0x24a90f(0x8e)](_0xc9efa8){const _0x530ed2=_0x24a90f,_0x2c2044=this[_0x530ed2(0x102)][_0x530ed2(0x11f)](_0xc9efa8);if(!_0x2c2044)return null;return this[_0x530ed2(0xe7)][_0x530ed2(0xdf)][_0x530ed2(0x11f)](_0x530ed2(0x97))[_0x530ed2(0x105)](_0x2c2044[_0x530ed2(0xdc)])||null;}[_0x24a90f(0xf6)](_0x45d53f){const _0x498cf6=_0x24a90f,_0x547e83=this[_0x498cf6(0xfe)][_0x498cf6(0x11f)](_0x45d53f[_0x498cf6(0x99)]);return _0x547e83?_0x547e83[_0x498cf6(0xfd)]:null;}[_0x24a90f(0xa9)](){const _0x334721=_0x24a90f,_0x5c19e3=this[_0x334721(0xe7)][_0x334721(0xdf)][_0x334721(0x11f)](_0x334721(0x97)),_0x162ff2=this[_0x334721(0xe7)][_0x334721(0xdf)][_0x334721(0x11f)](_0x334721(0xc8)),_0x5c062b=Array[_0x334721(0xa0)](_0x5c19e3[_0x334721(0xc3)],_0x2c3057=>_0x2c3057[_0x334721(0x99)])[_0x334721(0x90)](_0x425985=>this[_0x334721(0xfe)][_0x334721(0x11d)](_0x425985)),_0xa66e61=[];for(const _0x49bf5e of _0x5c062b){const _0x39dc66=this[_0x334721(0xfe)][_0x334721(0x11f)](_0x49bf5e)[_0x334721(0xfd)][_0x334721(0xa5)]();_0xa66e61[_0x334721(0xd7)](..._0x39dc66[_0x334721(0xdb)]((_0x51a8e8,_0x1a1e13)=>[..._0x51a8e8,..._0x1a1e13[_0x334721(0x92)]()],[]));}_0x162ff2[_0x334721(0xf8)]=_0xa66e61;}[_0x24a90f(0x125)](){const _0x295da1=_0x24a90f,_0x52b744=this[_0x295da1(0xe7)],_0x55b790=_0x52b744[_0x295da1(0xb7)],_0x5a78d8=_0x118b4e(_0x55b790,_0x295da1(0xe2)),_0x1c05cb=new _0x4ca3a6([{'type':_0x295da1(0xb5),'model':new _0x58e85d({'withText':!0x0,'isToggleable':!0x0,'label':_0x5a78d8,'commandName':_0x295da1(0x91),'role':_0x295da1(0xde)})},{'type':_0x295da1(0xf2)},{'type':_0x295da1(0xfb),'model':new _0x58e85d({'withText':!0x0,'label':_0x118b4e(_0x55b790,_0x295da1(0xe6)),'commandName':_0x295da1(0xac),'role':_0x295da1(0xc4)})},{'type':_0x295da1(0xfb),'model':new _0x58e85d({'withText':!0x0,'label':_0x118b4e(_0x55b790,_0x295da1(0x114)),'commandName':_0x295da1(0x120),'role':_0x295da1(0xc4)})},{'type':_0x295da1(0xfb),'model':new _0x58e85d({'withText':!0x0,'label':_0x118b4e(_0x55b790,_0x295da1(0x8a)),'commandName':_0x295da1(0xb4),'role':_0x295da1(0xc4)})},{'type':_0x295da1(0xfb),'model':new _0x58e85d({'withText':!0x0,'label':_0x118b4e(_0x55b790,_0x295da1(0x124)),'commandName':_0x295da1(0xba),'role':_0x295da1(0xc4)})}]);_0x52b744[_0x295da1(0xdf)][_0x295da1(0x11d)](_0x295da1(0xe3))&&_0x1c05cb[_0x295da1(0xcf)]([{'type':_0x295da1(0xf2)},{'type':_0x295da1(0xfb),'model':new _0x58e85d({'withText':!0x0,'label':_0x118b4e(_0x55b790,_0x295da1(0xb8)),'commandName':_0x295da1(0xb1),'role':_0x295da1(0xc4)})}]);for(const _0x416bab of _0x1c05cb)if(ke(_0x416bab)){const _0x48dccc=_0x52b744[_0x295da1(0x10e)][_0x295da1(0x11f)](_0x416bab[_0x295da1(0xfd)][_0x295da1(0xd3)]);_0x416bab[_0x295da1(0xfd)][_0x295da1(0x10c)](_0x295da1(0x121),_0x295da1(0x111))['to'](_0x48dccc,_0x295da1(0xdd),_0x295da1(0x111));}_0x52b744['ui'][_0x295da1(0x88)][_0x295da1(0xbd)](_0x295da1(0x91),_0x37b282=>this[_0x295da1(0x108)](_0x37b282,_0x1c05cb,_0x5a78d8)),_0x52b744['ui'][_0x295da1(0x88)][_0x295da1(0xbd)](_0x295da1(0xaa),_0x5bcac4=>this[_0x295da1(0xc5)](_0x5bcac4,_0x1c05cb,_0x5a78d8));}[_0x24a90f(0x108)](_0x3e9112,_0x2efe2b,_0x1c68b8){const _0x1c7487=_0x24a90f,_0x1d63cb=_0xc5d52c(_0x3e9112,_0x1607bb),_0x23e942=this[_0x1c7487(0xe7)][_0x1c7487(0x10e)][_0x1c7487(0x11f)](_0x1c7487(0x91));_0x1d63cb[_0x1c7487(0xa3)][_0x1c7487(0xe1)]({'tooltip':_0x1c68b8,'label':_0x1c68b8,'icon':_0x53399f}),_0x1d63cb[_0x1c7487(0xa3)][_0x1c7487(0x10c)](_0x1c7487(0x121))['to'](_0x23e942,_0x1c7487(0xdd)),_0x1d63cb[_0x1c7487(0xa3)]['on'](_0x1c7487(0xfa),()=>{const _0x2ef34f=_0x1c7487;_0x23e942[_0x2ef34f(0xfa)](),this[_0x2ef34f(0xe7)][_0x2ef34f(0xd1)][_0x2ef34f(0xdc)][_0x2ef34f(0xe8)]();}),_0x4766ce(_0x1d63cb,_0x2efe2b,{'role':_0x1c7487(0x93)});const _0x5f41fc=[];for(const _0x4ca920 of _0x2efe2b)ke(_0x4ca920)&&_0x5f41fc[_0x1c7487(0xd7)](this[_0x1c7487(0xe7)][_0x1c7487(0x10e)][_0x1c7487(0x11f)](_0x4ca920[_0x1c7487(0xfd)][_0x1c7487(0xd3)]));const _0x13e29e=_0x1d63cb[_0x1c7487(0xa3)];return _0x13e29e[_0x1c7487(0xf5)][_0x1c7487(0xaf)](_0x1c7487(0x111)),_0x13e29e[_0x1c7487(0x107)][_0x1c7487(0xaf)](_0x1c7487(0x111)),_0x13e29e[_0x1c7487(0xf5)][_0x1c7487(0x10c)](_0x1c7487(0x111))['to'](_0x23e942,_0x1c7487(0x111)),_0x13e29e[_0x1c7487(0x107)][_0x1c7487(0x10c)](_0x1c7487(0x111))[_0x1c7487(0xd2)](_0x5f41fc,_0x1c7487(0x111),(..._0x3df970)=>_0x3df970[_0x1c7487(0x12d)](_0x527c12=>_0x527c12)),_0x1d63cb['on'](_0x1c7487(0xfa),_0x4fe116=>{const _0x25fbaa=_0x1c7487;this[_0x25fbaa(0xe7)][_0x25fbaa(0xfa)](_0x4fe116[_0x25fbaa(0x128)][_0x25fbaa(0xd3)]),this[_0x25fbaa(0xe7)][_0x25fbaa(0xd1)][_0x25fbaa(0xdc)][_0x25fbaa(0xe8)]();}),_0x1d63cb;}[_0x24a90f(0xc5)](_0x3e0674,_0x409820,_0x202646){const _0x1e7516=_0x24a90f,_0x4ce1ba=new _0x3c6b74(_0x3e0674),_0x97df15=this[_0x1e7516(0xe7)][_0x1e7516(0x10e)][_0x1e7516(0x11f)](_0x1e7516(0x91));_0x4ce1ba[_0x1e7516(0xa3)][_0x1e7516(0xe1)]({'label':_0x202646,'icon':_0x53399f});const _0x49636c=new _0x3b4a10(_0x3e0674);for(const _0xa07a90 of _0x409820){if(_0x1e7516(0xf2)==_0xa07a90[_0x1e7516(0x87)]){_0x49636c[_0x1e7516(0x12f)][_0x1e7516(0xbd)](new _0x4fe407(_0x3e0674));continue;}const _0x2552a2=new _0x1effe2(_0x3e0674,_0x4ce1ba),_0x38c325=new _0xd51290(_0x3e0674),_0x3a3aef=_0xa07a90[_0x1e7516(0xfd)];_0x38c325[_0x1e7516(0x10c)](...Object[_0x1e7516(0x115)](_0x3a3aef))['to'](_0x3a3aef),_0x38c325[_0x1e7516(0xb0)](_0x1e7516(0xfa))['to'](_0x4ce1ba),_0x38c325['on'](_0x1e7516(0xfa),()=>{const _0x5f5b0d=_0x1e7516;this[_0x5f5b0d(0xe7)][_0x5f5b0d(0xfa)](_0x3a3aef[_0x5f5b0d(0xd3)]),this[_0x5f5b0d(0xe7)][_0x5f5b0d(0xd1)][_0x5f5b0d(0xdc)][_0x5f5b0d(0xe8)]();}),_0x2552a2[_0x1e7516(0x119)][_0x1e7516(0xbd)](_0x38c325),_0x49636c[_0x1e7516(0x12f)][_0x1e7516(0xbd)](_0x2552a2);}return _0x4ce1ba[_0x1e7516(0x10c)](_0x1e7516(0x111))['to'](_0x97df15,_0x1e7516(0x111)),_0x4ce1ba[_0x1e7516(0xed)][_0x1e7516(0x119)][_0x1e7516(0xbd)](_0x49636c),_0x4ce1ba;}[_0x24a90f(0xf9)](_0x4d8336){const _0x5b93cd=_0x24a90f,_0x2f0fc6=this[_0x5b93cd(0xe7)],_0x2f6e6d=_0x2f0fc6[_0x5b93cd(0x9c)],_0x128732=_0x2f0fc6[_0x5b93cd(0xdf)][_0x5b93cd(0x11f)](_0x5b93cd(0x97)),_0x36a4be=_0x2f0fc6[_0x5b93cd(0xdf)][_0x5b93cd(0x11f)](_0x5b93cd(0xfc)),_0x308153=_0x2f0fc6[_0x5b93cd(0xdf)][_0x5b93cd(0x11f)](_0x5b93cd(0x86)),_0x5568fc=_0x2f0fc6[_0x5b93cd(0xdf)][_0x5b93cd(0x11f)](_0x317e81)['me'],_0x4698d3=_0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0x91))[_0x5b93cd(0xa7)],_0x445200=_0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0x91))[_0x5b93cd(0x11c)],{CommentsListView:_0x305dcc,CommentThreadInputView:_0x44b5bf}=_0x2f0fc6[_0x5b93cd(0xdf)][_0x5b93cd(0x11f)](_0x5b93cd(0x112));let _0x33734e,_0x5e140a,_0x54931e;this[_0x5b93cd(0xbb)][_0x5b93cd(0x11d)](_0x4d8336['id'])?(_0x5e140a=this[_0x5b93cd(0xbb)][_0x5b93cd(0x11f)](_0x4d8336['id']),_0x33734e=_0x5e140a[_0x5b93cd(0x12b)]):(_0x33734e=new _0x4698d3(_0x2f0fc6[_0x5b93cd(0xb7)],_0x4d8336,_0x5568fc,{'disableComments':this[_0x5b93cd(0x96)],'editorConfig':{..._0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0xcd)),'licenseKey':_0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0xc0))},'maxCommentsWhenCollapsed':_0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0x98)),'maxThreadTotalWeight':_0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0xff)),'maxCommentCharsWhenCollapsed':_0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0xe0)),'formatDateTime':_0x5ccc29(_0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0xb7)),_0x2f0fc6[_0x5b93cd(0xb7)]),'CommentView':_0x2f6e6d[_0x5b93cd(0x11f)](_0x5b93cd(0xbf))[_0x5b93cd(0xec)],'CommentsListView':_0x305dcc,'CommentThreadInputView':_0x44b5bf,'SuggestionView':_0x445200}),_0x33734e[_0x5b93cd(0x106)][_0x5b93cd(0xab)]['on'](_0x5b93cd(0xfa),()=>{const _0xbdee44=_0x5b93cd;_0x2f0fc6[_0xbdee44(0xd1)][_0xbdee44(0xdc)][_0xbdee44(0xe8)]();}),_0x33734e[_0x5b93cd(0x106)][_0x5b93cd(0xf7)]['on'](_0x5b93cd(0xfa),()=>{const _0x4509bb=_0x5b93cd;_0x2f0fc6[_0x4509bb(0xd1)][_0x4509bb(0xdc)][_0x4509bb(0xe8)]();}),_0x5e140a=_0x128732[_0x5b93cd(0xf3)](this[_0x5b93cd(0xe7)][_0x5b93cd(0xb7)],_0x33734e),_0x5e140a[_0x5b93cd(0x10c)](_0x5b93cd(0xae))['to'](_0x33734e,_0x5b93cd(0xae)),_0x5e140a[_0x5b93cd(0x10c)](_0x5b93cd(0x9b))['to'](_0x33734e),_0x5e140a[_0x5b93cd(0x10c)](_0x5b93cd(0x87))['to'](_0x33734e,_0x5b93cd(0x87),_0x3b107e=>_0x5b93cd(0xd9)+_0x3b107e),_0x33734e['on'](_0x5b93cd(0xd5),()=>{const _0x47e0fe=_0x5b93cd;_0x54931e[_0x47e0fe(0x127)](_0x47e0fe(0xd5));}),this[_0x5b93cd(0xbb)][_0x5b93cd(0xe1)](_0x4d8336['id'],_0x5e140a));const _0xc06730=_0x36a4be[_0x5b93cd(0x11e)](_0x4d8336[_0x5b93cd(0x101)],_0x33734e),_0x3aa10c=new _0x5d3e55(_0x2f0fc6,_0x4d8336,_0x33734e,_0xc06730),_0x585f6b=_0x4d8336[_0x5b93cd(0xa5)]()[_0x5b93cd(0x90)](_0x10ae26=>_0x10ae26[_0x5b93cd(0xda)]);_0x33734e[_0x5b93cd(0xbc)]=_0x2f0fc6[_0x5b93cd(0xdf)][_0x5b93cd(0x11f)](_0x5b93cd(0xc8))[_0x5b93cd(0x8d)][_0x5b93cd(0x103)](_0x585f6b),this[_0x5b93cd(0x102)][_0x5b93cd(0xe1)](_0x4d8336,_0x3aa10c),this[_0x5b93cd(0xfe)][_0x5b93cd(0xe1)](_0x33734e,_0x3aa10c);const _0x785acc=()=>{const _0x5863e8=_0x5b93cd,_0x914441=[],_0x334de7=_0x4d8336[_0x5863e8(0xa5)]()[_0x5863e8(0x90)](_0xcaefeb=>_0xcaefeb[_0x5863e8(0xda)]);for(const _0x381cab of _0x334de7)_0x914441[_0x5863e8(0xd7)](..._0x381cab[_0x5863e8(0xcb)]());return _0xae0e4f(_0x2f0fc6[_0x5863e8(0xd1)],_0x914441);};_0x54931e=_0x128732[_0x5b93cd(0x123)]({'view':_0x5e140a,'target':_0x785acc,'type':()=>_0x5b93cd(0xd9)+_0x3aa10c[_0x5b93cd(0xdc)][_0x5b93cd(0x87)],'isVisible':!!_0x785acc()}),_0x36a4be[_0x5b93cd(0x95)](_0x33734e,_0x54931e),_0x128732[_0x5b93cd(0xbd)](_0x54931e),_0x308153[_0x5b93cd(0xd6)](_0x54931e);}[_0x24a90f(0x84)](_0x2db689){const _0x4c56f6=_0x24a90f,_0x2cda99=this[_0x4c56f6(0xe7)][_0x4c56f6(0xdf)][_0x4c56f6(0x11f)](_0x4c56f6(0xfc)),_0x2f698a=this[_0x4c56f6(0xe7)][_0x4c56f6(0xdf)][_0x4c56f6(0x11f)](_0x4c56f6(0x97)),_0x3e2a44=this[_0x4c56f6(0x102)][_0x4c56f6(0x11f)](_0x2db689),_0x44f500=_0x3e2a44[_0x4c56f6(0xdc)],_0x2d3328=_0x2f698a[_0x4c56f6(0x105)](_0x44f500);_0x2cda99[_0x4c56f6(0xeb)](_0x44f500),_0x2d3328&&_0x2f698a[_0x4c56f6(0x104)](_0x2d3328),this[_0x4c56f6(0x102)][_0x4c56f6(0xc7)](_0x2db689),this[_0x4c56f6(0xfe)][_0x4c56f6(0xc7)](_0x44f500),_0x3e2a44[_0x4c56f6(0xb6)]();}[_0x24a90f(0x94)](_0x3c2b41){const _0x23354e=_0x24a90f;if(!_0x3c2b41[_0x23354e(0xda)]||!this[_0x23354e(0x102)][_0x23354e(0x11d)](_0x3c2b41))return;const _0x50dc84=this[_0x23354e(0xe7)][_0x23354e(0xdf)][_0x23354e(0x11f)](_0x23354e(0xc8)),_0x5c3615=this[_0x23354e(0x102)][_0x23354e(0x11f)](_0x3c2b41),_0x46ed2a=_0x3c2b41[_0x23354e(0xa5)]();_0x5c3615[_0x23354e(0xdc)][_0x23354e(0xbc)]=_0x50dc84[_0x23354e(0x8d)][_0x23354e(0x103)](_0x46ed2a);}[_0x24a90f(0xb6)](){const _0x574af3=_0x24a90f;for(const _0x246af1 of this[_0x574af3(0x102)][_0x574af3(0x115)]())this[_0x574af3(0x84)](_0x246af1);for(const _0x19b68a of this[_0x574af3(0xbb)][_0x574af3(0x116)]())_0x19b68a[_0x574af3(0x12b)][_0x574af3(0xb6)]();super[_0x574af3(0xb6)](),this[_0x574af3(0xe5)]&&clearInterval(this[_0x574af3(0xe5)]);}}function ke(_0x31feab){const _0x5165cb=_0x24a90f;return _0x5165cb(0xfd)in _0x31feab;}
|
|
23
|
+
const _0x27ca13=_0x29ea;(function(_0x2b616b,_0x29a302){const _0x406644=_0x29ea,_0x31e43e=_0x2b616b();while(!![]){try{const _0x460b1b=parseInt(_0x406644(0x183))/0x1+-parseInt(_0x406644(0x16a))/0x2*(-parseInt(_0x406644(0x126))/0x3)+parseInt(_0x406644(0x138))/0x4*(-parseInt(_0x406644(0x1c5))/0x5)+-parseInt(_0x406644(0x15b))/0x6*(-parseInt(_0x406644(0x1c7))/0x7)+parseInt(_0x406644(0x189))/0x8+-parseInt(_0x406644(0x16f))/0x9+-parseInt(_0x406644(0x1a9))/0xa*(parseInt(_0x406644(0x13c))/0xb);if(_0x460b1b===_0x29a302)break;else _0x31e43e['push'](_0x31e43e['shift']());}catch(_0xd32cd3){_0x31e43e['push'](_0x31e43e['shift']());}}}(_0x1a7c,0x8745d));import{Plugin as _0x37f1f7}from'ckeditor5/src/core.js';import{Collection as _0x2b7611}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x3fef8e}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x56feb2,createDropdown as _0x940f73,ListSeparatorView as _0x5bee42,MenuBarMenuView as _0x355ed1,MenuBarMenuListView as _0x990694,MenuBarMenuListItemView as _0xce47f,MenuBarMenuListItemButtonView as _0xb26ee2,SplitButtonView as _0x38c899,UIModel as _0x5cb320}from'ckeditor5/src/ui.js';function _0x29ea(_0x210068,_0x3a0e5b){const _0x1a7cdb=_0x1a7c();return _0x29ea=function(_0x29eaee,_0xff0b0d){_0x29eaee=_0x29eaee-0x115;let _0x300226=_0x1a7cdb[_0x29eaee];return _0x300226;},_0x29ea(_0x210068,_0x3a0e5b);}import{Users as _0x5f14bb,getDateTimeFormatter as _0x287cb5,getAllMarkersDomElementsSorted as _0x204faa}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x463b67}from'./trackchangesediting.js';import{SuggestionController as _0x3ffad9}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x48a1a0}from'./ui/view/suggestionthreadview.js';function _0x1a7c(){const _0x5c226b=['suggestionView','_showLicenseError','clear','trackChanges.SuggestionView','createAnnotationView','_updateController','registerAnnotation','trialLimit','addMany','values','push','comments','isInContent','requires','acceptSelectedSuggestions','isOn','_disableComments','init','model','getMarkerNames','CommentsUI','_addUIComponentsToFactory','destroy','_handleSuggestionControllerDelayed','suggestionChanged','TrackChangesUI','_refreshActiveMarkers','5QzBXij','trackChangesLicenseKeyNotAllowed','1498OXFkSh','_viewToController','plugins','get','escape','trackChangesLicenseKeyValid','innerView','suggestion-','createAnnotation','keys','comments.maxCommentCharsWhenCollapsed','arrowView','isOfficialPlugin','activeAnnotations','isMultiRange','isDirty','suggestionUnloaded','previewFinalContent','2589UjjJxU','Discard\x20all\x20suggestions','stopListening','trackChangesLicenseKeyTrialLimit','trackChanges.disableComments','items','children','delegate','fire','getJoined','lowest','SuggestionView','EditorAnnotations','button','getSuggestion','getAllAdjacentSuggestions','addSourceCollector','descriptionFactory','2293364GgNMBM','listenTo','_handleControllerBuffer','SuggestionThreadView','21263logskY','reduce','bind','focus','getByInnerView','trackChangesLicenseKeyDomainLimit','getMarkers','Track\x20changes','discardSelectedSuggestions','length','editing','config','menuitemcheckbox','mainView','from','value','TrackChangesEditing','componentFactory','getRanges','getSuggestionForAnnotation','_licenseKeyCheckInterval','comments.editorConfig','menu','getAnnotationForSuggestion','size','actionView','trackChangesLicenseKeyInvalid','editor','usageLimit','view','separator','28464RhXJNj','_bindAnnotationToEditors','trackChangesLicenseKeyUsageLimit','change:previous','type','trackChanges','pluginName','descriptionParts','commandName','head','Annotations','some','expired','createCommentThreadController','suggestionLoaded','2370dTRISE','Discard\x20all\x20selected\x20suggestions','source','filter','_createMenuBarMenu','5344326JhVAGK','TrackChanges','_destroyController','trackChanges.SuggestionThreadView','commentThread','remove','trackChangesLicenseKeyEvaluationLimit','acceptButton','featureNotAllowed','execute','commands','set','CommentView','invalid','Accept\x20all\x20suggestions','_createToolbarButton','toMany','_unbindEditors','switchbutton','menuBar:trackChanges','277140YMohMz','add','acceptAllSuggestions','Accept\x20all\x20selected\x20suggestions','panelView','getFirstRange','1388976WtyIRb','locale','evaluationLimit','addComment','_initializeController','isEnabled','_suggestionToController','buttonView','unbind','has','TrackChangesPreview','discardAllSuggestions','isPremiumPlugin','commentsListView','delete','change:activeAnnotations','comments.maxCommentsWhenCollapsed','activeMarkers','menuitem','licenseKey','trackChangesLicenseKeyExpired','hasSuggestion','discardButton','getDescriptions','refreshSelectedViews','Preview\x20final\x20content','define','CommentsRepository','_annotationViews','comments.maxThreadTotalWeight','previous','domainLimit','3970nbibag'];_0x1a7c=function(){return _0x5c226b;};return _0x1a7c();}import{SuggestionView as _0x18300e}from'./ui/view/suggestionview.js';import{getTranslation as _0x4d5f83}from'./utils/common-translations.js';export class TrackChangesUI extends _0x37f1f7{[_0x27ca13(0x19c)];[_0x27ca13(0x150)];[_0x27ca13(0x18f)];[_0x27ca13(0x115)];[_0x27ca13(0x1a5)];[_0x27ca13(0x13a)];[_0x27ca13(0x1ba)];static get[_0x27ca13(0x1b7)](){const _0x599b1d=_0x27ca13;return[_0x463b67,_0x5f14bb,_0x599b1d(0x1a4),_0x599b1d(0x165),_0x599b1d(0x132)];}static get[_0x27ca13(0x161)](){const _0x383947=_0x27ca13;return _0x383947(0x1c3);}static get[_0x27ca13(0x120)](){return!0x0;}static get[_0x27ca13(0x195)](){return!0x0;}constructor(_0x19dcf2){const _0x804744=_0x27ca13;super(_0x19dcf2),this[_0x804744(0x18f)]=new Map(),this[_0x804744(0x115)]=new Map(),this[_0x804744(0x1a5)]=new Map(),this[_0x804744(0x13a)]=new Map();const _0x161c4b=this[_0x804744(0x157)][_0x804744(0x147)];_0x161c4b[_0x804744(0x1a3)](_0x804744(0x172),_0x48a1a0),_0x161c4b[_0x804744(0x1a3)](_0x804744(0x1ad),_0x18300e),_0x161c4b[_0x804744(0x1a3)](_0x804744(0x12a),!0x1),this[_0x804744(0x1ba)]=_0x161c4b[_0x804744(0x117)](_0x804744(0x12a));}[_0x27ca13(0x1c1)](_0x3bbf64,_0x25e6ac){const _0x20ce5d=_0x27ca13;0x0===this[_0x20ce5d(0x13a)][_0x20ce5d(0x154)]&&setTimeout(()=>{const _0x56d0c8=_0x20ce5d;for(const [_0x405109,_0x313a9b]of this[_0x56d0c8(0x13a)]){const _0x55c0a0=this[_0x56d0c8(0x18f)][_0x56d0c8(0x192)](_0x405109);_0x55c0a0||_0x313a9b?_0x55c0a0&&_0x313a9b&&this[_0x56d0c8(0x171)](_0x405109):this[_0x56d0c8(0x18d)](_0x405109);}this[_0x56d0c8(0x13a)][_0x56d0c8(0x1ac)](),this[_0x56d0c8(0x157)][_0x56d0c8(0x116)][_0x56d0c8(0x117)](_0x56d0c8(0x132))[_0x56d0c8(0x1a1)](),this[_0x56d0c8(0x1c4)]();},0xa),this[_0x20ce5d(0x13a)][_0x20ce5d(0x17a)](_0x3bbf64,_0x25e6ac);}[_0x27ca13(0x1bb)](){const _0x2ddc68=_0x27ca13,_0x40f048=this[_0x2ddc68(0x157)],_0x214d29=_0x40f048[_0x2ddc68(0x116)][_0x2ddc68(0x117)](_0x2ddc68(0x14c)),_0x11b568=_0x40f048[_0x2ddc68(0x116)][_0x2ddc68(0x117)](_0x2ddc68(0x165)),_0x3fad16=_0x40f048[_0x2ddc68(0x116)][_0x2ddc68(0x117)](_0x2ddc68(0x132)),_0x5a40d0=_0x40f048[_0x2ddc68(0x116)][_0x2ddc68(0x117)](_0x2ddc68(0x1a4));this[_0x2ddc68(0x1bf)](),_0x3fad16[_0x2ddc68(0x136)](()=>{const _0x19d093=_0x2ddc68,_0x476f7e=[];for(const [_0xdad626,_0x2aefb5]of Array[_0x19d093(0x14a)](this[_0x19d093(0x18f)])){const _0x1db6d9=_0xdad626[_0x19d093(0x135)](),_0x262c80=[];for(const _0x4856a9 of _0x1db6d9){if(!_0x4856a9[_0x19d093(0x1b6)])continue;if(_0x4856a9[_0x19d093(0x122)]){_0x262c80[_0x19d093(0x1b4)](..._0x4856a9[_0x19d093(0x14e)]());continue;}const _0x29a44d=_0x4856a9[_0x19d093(0x188)]();if(_0x262c80[_0x19d093(0x145)]>0x0){const _0x3c0e95=_0x262c80[0x0][_0x19d093(0x12f)](_0x29a44d);if(_0x3c0e95){_0x262c80[0x0]=_0x3c0e95;continue;}}_0x262c80[_0x19d093(0x1b4)](_0x29a44d);}_0x476f7e[_0x19d093(0x1b4)]([_0x2aefb5[_0x19d093(0x159)],_0x262c80]);}return _0x476f7e;}),this[_0x2ddc68(0x139)](_0x214d29,_0x2ddc68(0x169),(_0x1a0d61,_0x229a04)=>{const _0x54b88e=_0x2ddc68;this[_0x54b88e(0x139)](_0x229a04,_0x54b88e(0x15e),(_0x26d96c,_0x68a2e4,_0x4ec437,_0x1889e9)=>{const _0x3c01a2=_0x54b88e;_0x229a04[_0x3c01a2(0x1b6)]&&(null==_0x4ec437?(this[_0x3c01a2(0x1af)](_0x1889e9[_0x3c01a2(0x164)]),this[_0x3c01a2(0x1c1)](_0x229a04,!0x1)):(this[_0x3c01a2(0x1af)](_0x4ec437[_0x3c01a2(0x164)]),null==_0x1889e9&&this[_0x3c01a2(0x1c1)](_0x229a04,!0x0)));}),null!==_0x229a04[_0x54b88e(0x1a7)]?this[_0x54b88e(0x1af)](_0x229a04[_0x54b88e(0x164)]):this[_0x54b88e(0x1c1)](_0x229a04,!0x1);}),this[_0x2ddc68(0x139)](_0x214d29,_0x2ddc68(0x124),(_0xfc31b6,_0x5b6adf,_0x3ff1de)=>{const _0x495c03=_0x2ddc68;this[_0x495c03(0x128)](_0x5b6adf,_0x495c03(0x15e)),this[_0x495c03(0x13a)][_0x495c03(0x197)](_0x5b6adf),this[_0x495c03(0x18f)][_0x495c03(0x192)](_0x5b6adf)&&this[_0x495c03(0x171)](_0x5b6adf),_0x3ff1de&&this[_0x495c03(0x1af)](_0x3ff1de[_0x495c03(0x164)]);}),this[_0x2ddc68(0x139)](_0x214d29,_0x2ddc68(0x1c2),(_0x3305ca,_0x2f93c4)=>{const _0xd43965=_0x2ddc68;this[_0xd43965(0x1af)](_0x2f93c4);}),this[_0x2ddc68(0x139)](_0x11b568,_0x2ddc68(0x198),()=>{const _0x354bef=_0x2ddc68;this[_0x354bef(0x1c4)]();}),this[_0x2ddc68(0x139)](_0x5a40d0,_0x2ddc68(0x18c),(_0x17806b,{threadId:_0x137404,isFromAdapter:_0x592ea2})=>{const _0x515cee=_0x2ddc68;if(_0x592ea2||!_0x214d29[_0x515cee(0x19e)](_0x137404))return;const _0x19ecbb=_0x214d29[_0x515cee(0x134)](_0x137404);this[_0x515cee(0x18f)][_0x515cee(0x117)](_0x19ecbb)[_0x515cee(0x159)][_0x515cee(0x196)][_0x515cee(0x13f)](-0x1);},{'priority':_0x2ddc68(0x130)}),this[_0x2ddc68(0x19c)]=this[_0x2ddc68(0x157)][_0x2ddc68(0x147)][_0x2ddc68(0x117)](_0x2ddc68(0x19c));const _0x58b7b4=this[_0x2ddc68(0x157)];this[_0x2ddc68(0x150)]=setInterval(()=>{const _0x5ca060=_0x2ddc68;let _0x3fa0ad;for(const _0x4f0d24 in _0x58b7b4){const _0xb1350d=_0x4f0d24,_0x1f56ba=_0x58b7b4[_0xb1350d];if(_0x5ca060(0x119)==_0x1f56ba||_0x5ca060(0x156)==_0x1f56ba||_0x5ca060(0x19d)==_0x1f56ba||_0x5ca060(0x141)==_0x1f56ba||_0x5ca060(0x1c6)==_0x1f56ba||_0x5ca060(0x175)==_0x1f56ba||_0x5ca060(0x129)==_0x1f56ba||_0x5ca060(0x15d)==_0x1f56ba){delete _0x58b7b4[_0xb1350d],_0x3fa0ad=_0x1f56ba,clearInterval(this[_0x5ca060(0x150)]),this[_0x5ca060(0x150)]=void 0x0;break;}}_0x5ca060(0x156)==_0x3fa0ad&&_0x58b7b4[_0x5ca060(0x1ab)](_0x5ca060(0x17c)),_0x5ca060(0x19d)==_0x3fa0ad&&_0x58b7b4[_0x5ca060(0x1ab)](_0x5ca060(0x167)),_0x5ca060(0x141)==_0x3fa0ad&&_0x58b7b4[_0x5ca060(0x1ab)](_0x5ca060(0x1a8)),_0x5ca060(0x1c6)==_0x3fa0ad&&_0x58b7b4[_0x5ca060(0x1ab)](_0x5ca060(0x177),_0x5ca060(0x170)),_0x5ca060(0x175)==_0x3fa0ad&&_0x58b7b4[_0x5ca060(0x1ab)](_0x5ca060(0x18b)),_0x5ca060(0x129)==_0x3fa0ad&&_0x58b7b4[_0x5ca060(0x1ab)](_0x5ca060(0x1b1)),_0x5ca060(0x15d)==_0x3fa0ad&&_0x58b7b4[_0x5ca060(0x1ab)](_0x5ca060(0x158));},0x3e8);}[_0x27ca13(0x153)](_0x545ec9){const _0x8d3d41=_0x27ca13,_0x3ed16c=this[_0x8d3d41(0x18f)][_0x8d3d41(0x117)](_0x545ec9);if(!_0x3ed16c)return null;return this[_0x8d3d41(0x157)][_0x8d3d41(0x116)][_0x8d3d41(0x117)](_0x8d3d41(0x165))[_0x8d3d41(0x140)](_0x3ed16c[_0x8d3d41(0x159)])||null;}[_0x27ca13(0x14f)](_0x1d72d3){const _0x5a48a9=_0x27ca13,_0x222b98=this[_0x5a48a9(0x115)][_0x5a48a9(0x117)](_0x1d72d3[_0x5a48a9(0x11a)]);return _0x222b98?_0x222b98[_0x5a48a9(0x1bc)]:null;}[_0x27ca13(0x1c4)](){const _0x3c8540=_0x27ca13,_0x148cad=this[_0x3c8540(0x157)][_0x3c8540(0x116)][_0x3c8540(0x117)](_0x3c8540(0x165)),_0x1865d9=this[_0x3c8540(0x157)][_0x3c8540(0x116)][_0x3c8540(0x117)](_0x3c8540(0x14c)),_0x4a5472=Array[_0x3c8540(0x14a)](_0x148cad[_0x3c8540(0x121)],_0x15458a=>_0x15458a[_0x3c8540(0x11a)])[_0x3c8540(0x16d)](_0x189710=>this[_0x3c8540(0x115)][_0x3c8540(0x192)](_0x189710)),_0x39d9ce=[];for(const _0x588433 of _0x4a5472){const _0x4d44e9=this[_0x3c8540(0x115)][_0x3c8540(0x117)](_0x588433)[_0x3c8540(0x1bc)][_0x3c8540(0x135)]();_0x39d9ce[_0x3c8540(0x1b4)](..._0x4d44e9[_0x3c8540(0x13d)]((_0x3c7307,_0x234c0c)=>[..._0x3c7307,..._0x234c0c[_0x3c8540(0x1bd)]()],[]));}_0x1865d9[_0x3c8540(0x19a)]=_0x39d9ce;}[_0x27ca13(0x1bf)](){const _0x5bd75d=_0x27ca13,_0x3669da=this[_0x5bd75d(0x157)],_0x553e7f=_0x3669da[_0x5bd75d(0x18a)],_0x557162=_0x4d5f83(_0x553e7f,_0x5bd75d(0x143)),_0x57af98=new _0x2b7611([{'type':_0x5bd75d(0x181),'model':new _0x5cb320({'withText':!0x0,'isToggleable':!0x0,'label':_0x557162,'commandName':_0x5bd75d(0x160),'role':_0x5bd75d(0x148)})},{'type':_0x5bd75d(0x15a)},{'type':_0x5bd75d(0x133),'model':new _0x5cb320({'withText':!0x0,'label':_0x4d5f83(_0x553e7f,_0x5bd75d(0x17d)),'commandName':_0x5bd75d(0x185),'role':_0x5bd75d(0x19b)})},{'type':_0x5bd75d(0x133),'model':new _0x5cb320({'withText':!0x0,'label':_0x4d5f83(_0x553e7f,_0x5bd75d(0x186)),'commandName':_0x5bd75d(0x1b8),'role':_0x5bd75d(0x19b)})},{'type':_0x5bd75d(0x133),'model':new _0x5cb320({'withText':!0x0,'label':_0x4d5f83(_0x553e7f,_0x5bd75d(0x127)),'commandName':_0x5bd75d(0x194),'role':_0x5bd75d(0x19b)})},{'type':_0x5bd75d(0x133),'model':new _0x5cb320({'withText':!0x0,'label':_0x4d5f83(_0x553e7f,_0x5bd75d(0x16b)),'commandName':_0x5bd75d(0x144),'role':_0x5bd75d(0x19b)})}]);_0x3669da[_0x5bd75d(0x116)][_0x5bd75d(0x192)](_0x5bd75d(0x193))&&_0x57af98[_0x5bd75d(0x1b2)]([{'type':_0x5bd75d(0x15a)},{'type':_0x5bd75d(0x133),'model':new _0x5cb320({'withText':!0x0,'label':_0x4d5f83(_0x553e7f,_0x5bd75d(0x1a2)),'commandName':_0x5bd75d(0x125),'role':_0x5bd75d(0x19b)})}]);for(const _0x2834eb of _0x57af98)if(ke(_0x2834eb)){const _0x293f3a=_0x3669da[_0x5bd75d(0x179)][_0x5bd75d(0x117)](_0x2834eb[_0x5bd75d(0x1bc)][_0x5bd75d(0x163)]);_0x2834eb[_0x5bd75d(0x1bc)][_0x5bd75d(0x13e)](_0x5bd75d(0x1b9),_0x5bd75d(0x18e))['to'](_0x293f3a,_0x5bd75d(0x14b),_0x5bd75d(0x18e));}_0x3669da['ui'][_0x5bd75d(0x14d)][_0x5bd75d(0x184)](_0x5bd75d(0x160),_0x59bd6d=>this[_0x5bd75d(0x17e)](_0x59bd6d,_0x57af98,_0x557162)),_0x3669da['ui'][_0x5bd75d(0x14d)][_0x5bd75d(0x184)](_0x5bd75d(0x182),_0x33d668=>this[_0x5bd75d(0x16e)](_0x33d668,_0x57af98,_0x557162));}[_0x27ca13(0x17e)](_0x217652,_0x2d2bc2,_0x3ceda9){const _0x38e639=_0x27ca13,_0x4f6b99=_0x940f73(_0x217652,_0x38c899),_0x2afb5e=this[_0x38e639(0x157)][_0x38e639(0x179)][_0x38e639(0x117)](_0x38e639(0x160));_0x4f6b99[_0x38e639(0x190)][_0x38e639(0x17a)]({'tooltip':_0x3ceda9,'label':_0x3ceda9,'icon':_0x3fef8e}),_0x4f6b99[_0x38e639(0x190)][_0x38e639(0x13e)](_0x38e639(0x1b9))['to'](_0x2afb5e,_0x38e639(0x14b)),_0x4f6b99[_0x38e639(0x190)]['on'](_0x38e639(0x178),()=>{const _0x547cd6=_0x38e639;_0x2afb5e[_0x547cd6(0x178)](),this[_0x547cd6(0x157)][_0x547cd6(0x146)][_0x547cd6(0x159)][_0x547cd6(0x13f)]();}),_0x56feb2(_0x4f6b99,_0x2d2bc2,{'role':_0x38e639(0x152)});const _0x4bed35=[];for(const _0x22ded0 of _0x2d2bc2)ke(_0x22ded0)&&_0x4bed35[_0x38e639(0x1b4)](this[_0x38e639(0x157)][_0x38e639(0x179)][_0x38e639(0x117)](_0x22ded0[_0x38e639(0x1bc)][_0x38e639(0x163)]));const _0x31a9d2=_0x4f6b99[_0x38e639(0x190)];return _0x31a9d2[_0x38e639(0x155)][_0x38e639(0x191)](_0x38e639(0x18e)),_0x31a9d2[_0x38e639(0x11f)][_0x38e639(0x191)](_0x38e639(0x18e)),_0x31a9d2[_0x38e639(0x155)][_0x38e639(0x13e)](_0x38e639(0x18e))['to'](_0x2afb5e,_0x38e639(0x18e)),_0x31a9d2[_0x38e639(0x11f)][_0x38e639(0x13e)](_0x38e639(0x18e))[_0x38e639(0x17f)](_0x4bed35,_0x38e639(0x18e),(..._0x38f132)=>_0x38f132[_0x38e639(0x166)](_0x1e259d=>_0x1e259d)),_0x4f6b99['on'](_0x38e639(0x178),_0x18328b=>{const _0x11fd61=_0x38e639;this[_0x11fd61(0x157)][_0x11fd61(0x178)](_0x18328b[_0x11fd61(0x16c)][_0x11fd61(0x163)]),this[_0x11fd61(0x157)][_0x11fd61(0x146)][_0x11fd61(0x159)][_0x11fd61(0x13f)]();}),_0x4f6b99;}[_0x27ca13(0x16e)](_0x2dc62a,_0x3e7e21,_0x39e23b){const _0x803262=_0x27ca13,_0x4945ed=new _0x355ed1(_0x2dc62a),_0x31f14b=this[_0x803262(0x157)][_0x803262(0x179)][_0x803262(0x117)](_0x803262(0x160));_0x4945ed[_0x803262(0x190)][_0x803262(0x17a)]({'label':_0x39e23b,'icon':_0x3fef8e});const _0x231513=new _0x990694(_0x2dc62a);for(const _0x25b78f of _0x3e7e21){if(_0x803262(0x15a)==_0x25b78f[_0x803262(0x15f)]){_0x231513[_0x803262(0x12b)][_0x803262(0x184)](new _0x5bee42(_0x2dc62a));continue;}const _0x52541f=new _0xce47f(_0x2dc62a,_0x4945ed),_0x10e7bd=new _0xb26ee2(_0x2dc62a),_0x40eb98=_0x25b78f[_0x803262(0x1bc)];_0x10e7bd[_0x803262(0x13e)](...Object[_0x803262(0x11d)](_0x40eb98))['to'](_0x40eb98),_0x10e7bd[_0x803262(0x12d)](_0x803262(0x178))['to'](_0x4945ed),_0x10e7bd['on'](_0x803262(0x178),()=>{const _0x3602dc=_0x803262;this[_0x3602dc(0x157)][_0x3602dc(0x178)](_0x40eb98[_0x3602dc(0x163)]),this[_0x3602dc(0x157)][_0x3602dc(0x146)][_0x3602dc(0x159)][_0x3602dc(0x13f)]();}),_0x52541f[_0x803262(0x12c)][_0x803262(0x184)](_0x10e7bd),_0x231513[_0x803262(0x12b)][_0x803262(0x184)](_0x52541f);}return _0x4945ed[_0x803262(0x13e)](_0x803262(0x18e))['to'](_0x31f14b,_0x803262(0x18e)),_0x4945ed[_0x803262(0x187)][_0x803262(0x12c)][_0x803262(0x184)](_0x231513),_0x4945ed;}[_0x27ca13(0x18d)](_0x73ad9f){const _0x1ad85c=_0x27ca13,_0x49991c=this[_0x1ad85c(0x157)],_0x58317b=_0x49991c[_0x1ad85c(0x147)],_0x45eaa7=_0x49991c[_0x1ad85c(0x116)][_0x1ad85c(0x117)](_0x1ad85c(0x165)),_0x2fb46f=_0x49991c[_0x1ad85c(0x116)][_0x1ad85c(0x117)](_0x1ad85c(0x1a4)),_0x1ee0c9=_0x49991c[_0x1ad85c(0x116)][_0x1ad85c(0x117)](_0x1ad85c(0x132)),_0x4b7602=_0x49991c[_0x1ad85c(0x116)][_0x1ad85c(0x117)](_0x5f14bb)['me'],_0x18e071=_0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x160))[_0x1ad85c(0x13b)],_0x58e773=_0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x160))[_0x1ad85c(0x131)],{CommentsListView:_0x177fcf,CommentThreadInputView:_0x1d515b}=_0x49991c[_0x1ad85c(0x116)][_0x1ad85c(0x117)](_0x1ad85c(0x1be));let _0x50b9d1,_0x419ad2,_0x2d1522;this[_0x1ad85c(0x1a5)][_0x1ad85c(0x192)](_0x73ad9f['id'])?(_0x419ad2=this[_0x1ad85c(0x1a5)][_0x1ad85c(0x117)](_0x73ad9f['id']),_0x50b9d1=_0x419ad2[_0x1ad85c(0x149)]):(_0x50b9d1=new _0x18e071(_0x49991c[_0x1ad85c(0x18a)],_0x73ad9f,_0x4b7602,{'disableComments':this[_0x1ad85c(0x1ba)],'editorConfig':{..._0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x151)),'licenseKey':_0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x19c))},'maxCommentsWhenCollapsed':_0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x199)),'maxThreadTotalWeight':_0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x1a6)),'maxCommentCharsWhenCollapsed':_0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x11e)),'formatDateTime':_0x287cb5(_0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x18a)),_0x49991c[_0x1ad85c(0x18a)]),'CommentView':_0x58317b[_0x1ad85c(0x117)](_0x1ad85c(0x1b5))[_0x1ad85c(0x17b)],'CommentsListView':_0x177fcf,'CommentThreadInputView':_0x1d515b,'SuggestionView':_0x58e773}),_0x50b9d1[_0x1ad85c(0x1aa)][_0x1ad85c(0x176)]['on'](_0x1ad85c(0x178),()=>{const _0x57a682=_0x1ad85c;_0x49991c[_0x57a682(0x146)][_0x57a682(0x159)][_0x57a682(0x13f)]();}),_0x50b9d1[_0x1ad85c(0x1aa)][_0x1ad85c(0x19f)]['on'](_0x1ad85c(0x178),()=>{const _0x3e8e10=_0x1ad85c;_0x49991c[_0x3e8e10(0x146)][_0x3e8e10(0x159)][_0x3e8e10(0x13f)]();}),_0x419ad2=_0x45eaa7[_0x1ad85c(0x1ae)](this[_0x1ad85c(0x157)][_0x1ad85c(0x18a)],_0x50b9d1),_0x419ad2[_0x1ad85c(0x13e)](_0x1ad85c(0x123))['to'](_0x50b9d1,_0x1ad85c(0x123)),_0x419ad2[_0x1ad85c(0x13e)](_0x1ad85c(0x145))['to'](_0x50b9d1),_0x419ad2[_0x1ad85c(0x13e)](_0x1ad85c(0x15f))['to'](_0x50b9d1,_0x1ad85c(0x15f),_0x1e7957=>_0x1ad85c(0x11b)+_0x1e7957),_0x50b9d1['on'](_0x1ad85c(0x118),()=>{const _0x12bc39=_0x1ad85c;_0x2d1522[_0x12bc39(0x12e)](_0x12bc39(0x118));}),this[_0x1ad85c(0x1a5)][_0x1ad85c(0x17a)](_0x73ad9f['id'],_0x419ad2));const _0x1059a4=_0x2fb46f[_0x1ad85c(0x168)](_0x73ad9f[_0x1ad85c(0x173)],_0x50b9d1),_0x22a95a=new _0x3ffad9(_0x49991c,_0x73ad9f,_0x50b9d1,_0x1059a4),_0x40f2c8=_0x73ad9f[_0x1ad85c(0x135)]()[_0x1ad85c(0x16d)](_0x43bb27=>_0x43bb27[_0x1ad85c(0x1b6)]);_0x50b9d1[_0x1ad85c(0x162)]=_0x49991c[_0x1ad85c(0x116)][_0x1ad85c(0x117)](_0x1ad85c(0x14c))[_0x1ad85c(0x137)][_0x1ad85c(0x1a0)](_0x40f2c8),this[_0x1ad85c(0x18f)][_0x1ad85c(0x17a)](_0x73ad9f,_0x22a95a),this[_0x1ad85c(0x115)][_0x1ad85c(0x17a)](_0x50b9d1,_0x22a95a);const _0x27958e=()=>{const _0x4a7b01=_0x1ad85c,_0xff35f4=[],_0x599cfb=_0x73ad9f[_0x4a7b01(0x135)]()[_0x4a7b01(0x16d)](_0x18e755=>_0x18e755[_0x4a7b01(0x1b6)]);for(const _0x3563a5 of _0x599cfb)_0xff35f4[_0x4a7b01(0x1b4)](..._0x3563a5[_0x4a7b01(0x142)]());return _0x204faa(_0x49991c[_0x4a7b01(0x146)],_0xff35f4);};_0x2d1522=_0x45eaa7[_0x1ad85c(0x11c)]({'view':_0x419ad2,'target':_0x27958e,'type':()=>_0x1ad85c(0x11b)+_0x22a95a[_0x1ad85c(0x159)][_0x1ad85c(0x15f)],'isVisible':!!_0x27958e()}),_0x2fb46f[_0x1ad85c(0x15c)](_0x50b9d1,_0x2d1522),_0x45eaa7[_0x1ad85c(0x184)](_0x2d1522),_0x1ee0c9[_0x1ad85c(0x1b0)](_0x2d1522);}[_0x27ca13(0x171)](_0x34898e){const _0x11f13d=_0x27ca13,_0x28d1ef=this[_0x11f13d(0x157)][_0x11f13d(0x116)][_0x11f13d(0x117)](_0x11f13d(0x1a4)),_0x470bce=this[_0x11f13d(0x157)][_0x11f13d(0x116)][_0x11f13d(0x117)](_0x11f13d(0x165)),_0x31d665=this[_0x11f13d(0x18f)][_0x11f13d(0x117)](_0x34898e),_0x1bfb10=_0x31d665[_0x11f13d(0x159)],_0x3c2f12=_0x470bce[_0x11f13d(0x140)](_0x1bfb10);_0x28d1ef[_0x11f13d(0x180)](_0x1bfb10),_0x3c2f12&&_0x470bce[_0x11f13d(0x174)](_0x3c2f12),this[_0x11f13d(0x18f)][_0x11f13d(0x197)](_0x34898e),this[_0x11f13d(0x115)][_0x11f13d(0x197)](_0x1bfb10),_0x31d665[_0x11f13d(0x1c0)]();}[_0x27ca13(0x1af)](_0x3ab71a){const _0x49831e=_0x27ca13;if(!_0x3ab71a[_0x49831e(0x1b6)]||!this[_0x49831e(0x18f)][_0x49831e(0x192)](_0x3ab71a))return;const _0x48a62d=this[_0x49831e(0x157)][_0x49831e(0x116)][_0x49831e(0x117)](_0x49831e(0x14c)),_0x1d1bde=this[_0x49831e(0x18f)][_0x49831e(0x117)](_0x3ab71a),_0x131c50=_0x3ab71a[_0x49831e(0x135)]();_0x1d1bde[_0x49831e(0x159)][_0x49831e(0x162)]=_0x48a62d[_0x49831e(0x137)][_0x49831e(0x1a0)](_0x131c50);}[_0x27ca13(0x1c0)](){const _0x3c24b8=_0x27ca13;for(const _0x50a3e2 of this[_0x3c24b8(0x18f)][_0x3c24b8(0x11d)]())this[_0x3c24b8(0x171)](_0x50a3e2);for(const _0x1e1511 of this[_0x3c24b8(0x1a5)][_0x3c24b8(0x1b3)]())_0x1e1511[_0x3c24b8(0x149)][_0x3c24b8(0x1c0)]();super[_0x3c24b8(0x1c0)](),this[_0x3c24b8(0x150)]&&clearInterval(this[_0x3c24b8(0x150)]);}}function ke(_0xca009e){const _0x10f33f=_0x27ca13;return _0x10f33f(0x1bc)in _0xca009e;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x39ad04=_0x230c;(function(_0x36b305,_0x287a67){const _0x18b370=_0x230c,_0x18831d=_0x36b305();while(!![]){try{const _0x402801=parseInt(_0x18b370(0x1b6))/0x1*(parseInt(_0x18b370(0x1cd))/0x2)+-parseInt(_0x18b370(0x1d6))/0x3*(parseInt(_0x18b370(0x1be))/0x4)+parseInt(_0x18b370(0x1c1))/0x5*(parseInt(_0x18b370(0x1d9))/0x6)+-parseInt(_0x18b370(0x1d4))/0x7*(-parseInt(_0x18b370(0x1cb))/0x8)+-parseInt(_0x18b370(0x1c2))/0x9+-parseInt(_0x18b370(0x1c7))/0xa+parseInt(_0x18b370(0x1d5))/0xb*(parseInt(_0x18b370(0x1b7))/0xc);if(_0x402801===_0x287a67)break;else _0x18831d['push'](_0x18831d['shift']());}catch(_0x12e953){_0x18831d['push'](_0x18831d['shift']());}}}(_0xc1bb,0xce621));import{ObservableMixin as _0x1f1551}from'ckeditor5/src/utils.js';import{getTranslation as _0x22092b}from'../utils/common-translations.js';function _0x230c(_0x553ead,_0x5e4b7c){const _0xc1bbd=_0xc1bb();return _0x230c=function(_0x230c65,_0x10a645){_0x230c65=_0x230c65-0x1b0;let _0x150eb3=_0xc1bbd[_0x230c65];return _0x150eb3;},_0x230c(_0x553ead,_0x5e4b7c);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1f1551(){[_0x39ad04(0x1b0)];[_0x39ad04(0x1b2)];[_0x39ad04(0x1cf)];[_0x39ad04(0x1c5)];[_0x39ad04(0x1c6)];[_0x39ad04(0x1ba)];[_0x39ad04(0x1bb)];constructor(_0x4fccd1,_0x2666bb,_0x3722dd,_0x5aef95){const _0x1e9822=_0x39ad04;super(),this[_0x1e9822(0x1b0)]=_0x2666bb,this[_0x1e9822(0x1b2)]=_0x3722dd,this[_0x1e9822(0x1cf)]=_0x5aef95,this[_0x1e9822(0x1c5)]=_0x4fccd1,this[_0x1e9822(0x1c6)]=_0x4fccd1[_0x1e9822(0x1b5)][_0x1e9822(0x1d0)](_0x1e9822(0x1d2)),this[_0x1e9822(0x1ba)]=_0x4fccd1[_0x1e9822(0x1b5)][_0x1e9822(0x1d0)](_0x1e9822(0x1d8)),this[_0x1e9822(0x1b2)][_0x1e9822(0x1d7)](_0x1e9822(0x1da))['to'](this[_0x1e9822(0x1c6)],this[_0x1e9822(0x1ba)],(_0x404a43,_0x543165)=>_0x404a43||_0x543165),this[_0x1e9822(0x1b2)][_0x1e9822(0x1d7)](_0x1e9822(0x1bc))['to'](this[_0x1e9822(0x1c6)],_0x1e9822(0x1da),_0x1d6358=>_0x1d6358&&this[_0x1e9822(0x1c5)][_0x1e9822(0x1b0)][_0x1e9822(0x1db)](_0x2666bb[_0x1e9822(0x1c8)]())),this[_0x1e9822(0x1b2)][_0x1e9822(0x1d7)](_0x1e9822(0x1b3))['to'](this[_0x1e9822(0x1ba)],_0x1e9822(0x1da),_0x55f6e2=>_0x55f6e2&&this[_0x1e9822(0x1c5)][_0x1e9822(0x1b0)][_0x1e9822(0x1db)](_0x2666bb[_0x1e9822(0x1c8)]())),this[_0x1e9822(0x1bb)]=null,_0x3722dd[_0x1e9822(0x1ca)]&&this[_0x1e9822(0x1cc)](),this[_0x1e9822(0x1d1)](_0x3722dd,_0x1e9822(0x1d2),()=>this[_0x1e9822(0x1d2)]()),this[_0x1e9822(0x1d1)](_0x3722dd,_0x1e9822(0x1d8),()=>this[_0x1e9822(0x1d8)]()),this[_0x1e9822(0x1d1)](_0x3722dd,_0x1e9822(0x1b8),()=>{const _0x23533a=_0x1e9822;_0x3722dd[_0x23533a(0x1ca)]?this[_0x23533a(0x1cc)]():this[_0x23533a(0x1b1)]();});}[_0x39ad04(0x1d2)](){const _0x4e66cd=_0x39ad04;this[_0x4e66cd(0x1c6)][_0x4e66cd(0x1c9)](this[_0x4e66cd(0x1b0)]['id']);}[_0x39ad04(0x1d8)](){const _0x2a2b0e=_0x39ad04;this[_0x2a2b0e(0x1ba)][_0x2a2b0e(0x1c9)](this[_0x2a2b0e(0x1b0)]['id']);}[_0x39ad04(0x1c0)](){const _0x288483=_0x39ad04;this[_0x288483(0x1b2)][_0x288483(0x1d3)](_0x288483(0x1da)),this[_0x288483(0x1b2)][_0x288483(0x1d3)](_0x288483(0x1bc)),this[_0x288483(0x1b2)][_0x288483(0x1d3)](_0x288483(0x1b3)),this[_0x288483(0x1c3)](),this[_0x288483(0x1cf)][_0x288483(0x1c0)](),this[_0x288483(0x1bb)]&&this[_0x288483(0x1b1)]();}[_0x39ad04(0x1cc)](){const _0x25a289=_0x39ad04,_0x506206=_0x22092b(this[_0x25a289(0x1c5)][_0x25a289(0x1b9)],_0x25a289(0x1bd));this[_0x25a289(0x1bb)]=this[_0x25a289(0x1c5)][_0x25a289(0x1ce)][_0x25a289(0x1d0)](_0x25a289(0x1c4))[_0x25a289(0x1b4)](_0x506206);}[_0x39ad04(0x1b1)](){const _0x3a8763=_0x39ad04;null!==this[_0x3a8763(0x1bb)]&&this[_0x3a8763(0x1c5)][_0x3a8763(0x1ce)][_0x3a8763(0x1d0)](_0x3a8763(0x1c4))[_0x3a8763(0x1bf)](this[_0x3a8763(0x1bb)]),this[_0x3a8763(0x1bb)]=null;}}function _0xc1bb(){const _0xcd505=['2908GGRDyB','plugins','commentThreadController','get','listenTo','acceptSuggestion','unbind','9765WRmFvj','2420GEbjuK','225501iJyZwb','bind','discardSuggestion','6pndCWM','isEnabled','canEditAt','model','_removePendingAction','view','canDiscard','add','commands','112PFlCHK','47568yxRBNU','change:isDirty','locale','_discardCommand','_pendingAction','canAccept','PENDING_ACTION_SUGGESTION','76GSizHI','remove','destroy','6170605cIWzAp','4163274YBPkih','stopListening','PendingActions','_editor','_acceptCommand','10716300DKxVCR','getRanges','execute','isDirty','8824XNvdeK','_setPendingAction'];_0xc1bb=function(){return _0xcd505;};return _0xc1bb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x400856=_0x1e54;(function(_0x5d2d84,_0x15c5cb){const _0x232305=_0x1e54,_0x3f70ae=_0x5d2d84();while(!![]){try{const _0x3ca1ea=parseInt(_0x232305(0x149))/0x1+-parseInt(_0x232305(0x141))/0x2*(parseInt(_0x232305(0x179))/0x3)+parseInt(_0x232305(0x171))/0x4*(parseInt(_0x232305(0x173))/0x5)+parseInt(_0x232305(0x169))/0x6*(parseInt(_0x232305(0x160))/0x7)+parseInt(_0x232305(0x161))/0x8+-parseInt(_0x232305(0x150))/0x9*(parseInt(_0x232305(0x180))/0xa)+-parseInt(_0x232305(0x144))/0xb;if(_0x3ca1ea===_0x15c5cb)break;else _0x3f70ae['push'](_0x3f70ae['shift']());}catch(_0x2ac9c5){_0x3f70ae['push'](_0x3f70ae['shift']());}}}(_0x284f,0x87de5));import{FocusCycler as _0x5ca23d,View as _0x4a34fd,ViewCollection as _0x220d33}from'ckeditor5/src/ui.js';import{FocusTracker as _0x18905c,KeystrokeHandler as _0x19b4de}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x5b15d1,setupThreadKeyboardNavigation as _0x282878}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5db3e2}from'../../utils/common-translations.js';function _0x284f(){const _0x526bb8=['showInput','authoredAt','6658692szDUOn','body','content','focusCycler','focusTracker','disableComments','editorConfig','keystrokes','180MUJUEk','name','63905xcQdTg','assign','render','commentThread','SUGGESTION_THREAD_DESCRIPTION','SUGGESTION_THREAD_ARIA_LABEL','21stNvQh','commentInputView','target','commentThreadInputView','length','canAccept','element','23260TuJymB','author','join','formatDateTime','submit','editor','tab','CommentView','addComment','value','isActive','157436RmDudD','disabledSubmit','shift+tab','9245929qjEvbE','hasDirtyComment','textContent','_model','_createCommentViews','567203vRRqiI','fire','isDirty','_createCommentThreadInputView','bind','isReadOnly','ariaLabel','4023NHdIXQ','set','removeComment','text/html','_localUser','destroy','parseFromString','ariaDescriptionView','_config','setData','descriptionParts','locale','isEnabled','focus','delegate','map','7JEswKV','5885392ccWEvH','cancel','focusables','updateComment','commentsListView','canDiscard'];_0x284f=function(){return _0x526bb8;};return _0x284f();}function _0x1e54(_0x475849,_0x2c1802){const _0x284f47=_0x284f();return _0x1e54=function(_0x1e54a6,_0x4ef562){_0x1e54a6=_0x1e54a6-0x140;let _0x2597f8=_0x284f47[_0x1e54a6];return _0x2597f8;},_0x1e54(_0x475849,_0x2c1802);}import{renderDescription as _0x10864f}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x4a34fd{[_0x400856(0x165)];[_0x400856(0x17c)];[_0x400856(0x157)];[_0x400856(0x163)];[_0x400856(0x16d)];[_0x400856(0x170)];[_0x400856(0x16c)];[_0x400856(0x147)];[_0x400856(0x154)];[_0x400856(0x158)];constructor(_0x3dbec2,_0x14aa4f,_0x36d314,_0x7b2e05){const _0x18c721=_0x400856;super(_0x3dbec2),this[_0x18c721(0x165)]=null,this[_0x18c721(0x17c)]=null,this[_0x18c721(0x157)]=new _0x5b15d1(_0x3dbec2,_0x5db3e2(_0x3dbec2,_0x18c721(0x177))),this[_0x18c721(0x151)](_0x18c721(0x140),!0x1),this[_0x18c721(0x151)](_0x18c721(0x168),_0x14aa4f[_0x18c721(0x168)]),this[_0x18c721(0x14d)](_0x18c721(0x168))['to'](_0x14aa4f),this[_0x18c721(0x151)](_0x18c721(0x15a),[]),this[_0x18c721(0x151)](_0x18c721(0x14b),!0x1),this[_0x18c721(0x151)](_0x18c721(0x15c),!0x1),this[_0x18c721(0x151)](_0x18c721(0x17e),!0x1),this[_0x18c721(0x151)](_0x18c721(0x166),!0x1),this[_0x18c721(0x14d)](_0x18c721(0x14f))['to'](this,_0x18c721(0x17d),_0x14aa4f,_0x18c721(0x168),this,_0x18c721(0x15a),(_0x1e67b9,_0x5b4dad,_0x1c1b9d)=>{const _0x172b37=_0x18c721,_0x160e06=_0x1c1b9d[_0x172b37(0x15f)](_0x26d03a=>_0x10864f(_0x26d03a[_0x172b37(0x16b)]))[_0x172b37(0x182)]('.\x20')+'.';return _0x5db3e2(this[_0x172b37(0x15b)],_0x172b37(0x178),[_0x1e67b9-0x1,_0x14aa4f[_0x172b37(0x181)][_0x172b37(0x172)],_0x5b4dad?_0x7b2e05[_0x172b37(0x183)](_0x5b4dad):'',new DOMParser()[_0x172b37(0x156)](_0x160e06,_0x172b37(0x153))[_0x172b37(0x16a)][_0x172b37(0x146)]]);}),this[_0x18c721(0x163)]=new _0x220d33(),this[_0x18c721(0x16d)]=new _0x18905c(),this[_0x18c721(0x170)]=new _0x19b4de(),this[_0x18c721(0x16c)]=new _0x5ca23d({'focusables':this[_0x18c721(0x163)],'focusTracker':this[_0x18c721(0x16d)],'keystrokeHandler':this[_0x18c721(0x170)],'keystrokeHandlerOptions':{'filter':_0x368687=>_0x368687[_0x18c721(0x17b)]!==this[_0x18c721(0x17f)]},'actions':{'focusPrevious':_0x18c721(0x143),'focusNext':_0x18c721(0x186)}}),this[_0x18c721(0x147)]=_0x14aa4f,this[_0x18c721(0x154)]=_0x36d314,this[_0x18c721(0x158)]=_0x7b2e05,_0x7b2e05[_0x18c721(0x16e)]?this[_0x18c721(0x151)](_0x18c721(0x17d),0x1):this[_0x18c721(0x148)]();}[_0x400856(0x175)](){const _0x3ca8bd=_0x400856;super[_0x3ca8bd(0x175)](),_0x282878(this,this[_0x3ca8bd(0x163)]);}[_0x400856(0x15d)](){const _0x2164af=_0x400856;this[_0x2164af(0x17f)][_0x2164af(0x15d)]();}[_0x400856(0x155)](){const _0xc27be3=_0x400856;this[_0xc27be3(0x165)]&&this[_0xc27be3(0x165)][_0xc27be3(0x155)](),this[_0xc27be3(0x17c)]&&this[_0xc27be3(0x17c)][_0xc27be3(0x155)](),super[_0xc27be3(0x155)]();}[_0x400856(0x148)](){const _0x34b2f9=_0x400856,{CommentsListView:_0x21a51d}=this[_0x34b2f9(0x158)];this[_0x34b2f9(0x165)]=new _0x21a51d(this[_0x34b2f9(0x15b)],this[_0x34b2f9(0x147)][_0x34b2f9(0x176)],Object[_0x34b2f9(0x174)]({'CommentView':this[_0x34b2f9(0x158)][_0x34b2f9(0x187)]},this[_0x34b2f9(0x158)])),this[_0x34b2f9(0x165)][_0x34b2f9(0x15e)](_0x34b2f9(0x152))['to'](this),this[_0x34b2f9(0x165)][_0x34b2f9(0x15e)](_0x34b2f9(0x164))['to'](this),this[_0x34b2f9(0x165)][_0x34b2f9(0x14d)](_0x34b2f9(0x140))['to'](this),this[_0x34b2f9(0x151)](_0x34b2f9(0x17d),this[_0x34b2f9(0x165)][_0x34b2f9(0x17d)]+0x1),this[_0x34b2f9(0x14d)](_0x34b2f9(0x17d))['to'](this[_0x34b2f9(0x165)],_0x34b2f9(0x17d),_0x43e937=>_0x43e937+0x1),this[_0x34b2f9(0x17c)]=this[_0x34b2f9(0x14c)](),this['on'](_0x34b2f9(0x152),()=>this[_0x34b2f9(0x15d)]()),this[_0x34b2f9(0x14d)](_0x34b2f9(0x14b))['to'](this[_0x34b2f9(0x165)],_0x34b2f9(0x145),this[_0x34b2f9(0x17c)][_0x34b2f9(0x17a)],_0x34b2f9(0x189),(_0x556714,_0x3c9c4d)=>_0x556714||!!_0x3c9c4d);}[_0x400856(0x14c)](){const _0x45b2e1=_0x400856,{CommentThreadInputView:_0x3b21da}=this[_0x45b2e1(0x158)],_0x44929e=new _0x3b21da(this[_0x45b2e1(0x15b)],this[_0x45b2e1(0x154)],this[_0x45b2e1(0x158)][_0x45b2e1(0x16f)]),_0x381fe2=_0x44929e[_0x45b2e1(0x17a)];return _0x44929e[_0x45b2e1(0x14d)](_0x45b2e1(0x167))['to'](this,_0x45b2e1(0x140),this[_0x45b2e1(0x147)][_0x45b2e1(0x176)],_0x45b2e1(0x14e),_0x381fe2,_0x45b2e1(0x189),(_0x20c837,_0x172552,_0x13ad24)=>!!_0x13ad24||_0x20c837&&!_0x172552),_0x381fe2['on'](_0x45b2e1(0x184),(_0x562e6a,_0x4d7c62)=>{const _0x133181=_0x45b2e1;this[_0x133181(0x14a)](_0x133181(0x188),_0x4d7c62),_0x381fe2[_0x133181(0x185)][_0x133181(0x159)]('');}),_0x381fe2['on'](_0x45b2e1(0x162),()=>this[_0x45b2e1(0x15d)]()),_0x381fe2[_0x45b2e1(0x14d)](_0x45b2e1(0x142))['to'](this[_0x45b2e1(0x147)][_0x45b2e1(0x176)],_0x45b2e1(0x14e)),_0x44929e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x46c9(_0x1be775,_0x292662){const _0xb8fab5=_0xb8fa();return _0x46c9=function(_0x46c9b7,_0x3fdd7c){_0x46c9b7=_0x46c9b7-0x11e;let _0x1050a9=_0xb8fab5[_0x46c9b7];return _0x1050a9;},_0x46c9(_0x1be775,_0x292662);}function _0xb8fa(){const _0x56258d=['acceptSuggestion','commentThread','</p>','514120nYvOIk','ariaLabel','canDiscard','color','disableComments','467EwtJgA','description','3729748fRjali','bind','4083360FbYVKe','delegate','ariaDescriptionView','bindTemplate','ck-rounded-corners','discardButton','25820XsbVuN','discardSuggestion','16kTzGzl','ck-suggestion-','_descriptionElement','SuggestionView','acceptButton','ck-suggestion--disabled-comments','formatDateTime','getTemplate','author','48ihYlJZ','editorReady','250901ysMFcx','push','isEnabled','render','_model','ck-suggestion-wrapper','set','focusables','_config','canAccept','listitem','editorDestroyed','add','isActive','commentsListView','155946SJQnSN','content','1908lpXTZr','ck-suggestion-wrapper--active','<p>','descriptionParts','type','setTemplate','suggestionView','commentThreadInputView','2226cZNNcG','div'];_0xb8fa=function(){return _0x56258d;};return _0xb8fa();}const _0x35cf35=_0x46c9;(function(_0x2a4e39,_0x25526c){const _0x563f71=_0x46c9,_0x38e71f=_0x2a4e39();while(!![]){try{const _0x4df8d8=-parseInt(_0x563f71(0x124))/0x1*(parseInt(_0x563f71(0x154))/0x2)+parseInt(_0x563f71(0x14a))/0x3+parseInt(_0x563f71(0x128))/0x4+-parseInt(_0x563f71(0x11f))/0x5*(-parseInt(_0x563f71(0x139))/0x6)+parseInt(_0x563f71(0x13b))/0x7*(parseInt(_0x563f71(0x130))/0x8)+-parseInt(_0x563f71(0x14c))/0x9*(parseInt(_0x563f71(0x12e))/0xa)+-parseInt(_0x563f71(0x126))/0xb;if(_0x4df8d8===_0x25526c)break;else _0x38e71f['push'](_0x38e71f['shift']());}catch(_0x199794){_0x38e71f['push'](_0x38e71f['shift']());}}}(_0xb8fa,0x88eed));import{BaseSuggestionThreadView as _0x234462}from'./basesuggestionthreadview.js';import{trimHtml as _0x5cbdfd}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x3b5929}from'../../utils/utils.js';export class SuggestionThreadView extends _0x234462{[_0x35cf35(0x152)];[_0x35cf35(0x132)];constructor(_0x52d60c,_0x3930ba,_0x1383ee,_0x3c0b13){const _0x4ee469=_0x35cf35;super(_0x52d60c,_0x3930ba,_0x1383ee,_0x3c0b13),this[_0x4ee469(0x141)](_0x4ee469(0x150),''),this[_0x4ee469(0x127)](_0x4ee469(0x150))['to'](this,_0x4ee469(0x14f),_0x2a512f=>_0x2a512f&&_0x2a512f[0x0]?_0x2a512f[0x0][_0x4ee469(0x150)]:''),this[_0x4ee469(0x127)](_0x4ee469(0x125))['to'](this,_0x4ee469(0x14f),this,_0x4ee469(0x148),(_0x27e0df,_0x3cc705)=>{const _0x56bc7f=_0x4ee469;let _0x3eb843='';for(const _0x3afd21 of _0x27e0df)_0x3eb843+=_0x56bc7f(0x14e)+_0x3b5929(_0x3afd21[_0x56bc7f(0x14b)],_0x3afd21[_0x56bc7f(0x122)])+_0x56bc7f(0x11e);return _0x3cc705?_0x3eb843:_0x5cbdfd(_0x3eb843,{'limit':0x8c});}),this[_0x4ee469(0x132)]=null,this[_0x4ee469(0x152)]=new _0x3c0b13[(_0x4ee469(0x133))](_0x52d60c,_0x3930ba,{'formatDateTime':_0x3c0b13[_0x4ee469(0x136)]}),this[_0x4ee469(0x152)][_0x4ee469(0x127)](_0x4ee469(0x125))['to'](this),this[_0x4ee469(0x152)][_0x4ee469(0x129)](_0x4ee469(0x156),_0x4ee469(0x12f))['to'](this),this[_0x4ee469(0x152)][_0x4ee469(0x134)][_0x4ee469(0x127)](_0x4ee469(0x13d))['to'](this,_0x4ee469(0x144)),this[_0x4ee469(0x152)][_0x4ee469(0x12d)][_0x4ee469(0x127)](_0x4ee469(0x13d))['to'](this,_0x4ee469(0x121)),this[_0x4ee469(0x142)][_0x4ee469(0x147)](this[_0x4ee469(0x152)]),this[_0x4ee469(0x149)]&&this[_0x4ee469(0x142)][_0x4ee469(0x147)](this[_0x4ee469(0x149)]),this[_0x4ee469(0x153)]&&this[_0x4ee469(0x142)][_0x4ee469(0x147)](this[_0x4ee469(0x153)]),this[_0x4ee469(0x151)](this[_0x4ee469(0x137)]());}[_0x35cf35(0x137)](){const _0x209e08=_0x35cf35,_0x10b71f=this[_0x209e08(0x12b)],_0x725609=[this[_0x209e08(0x152)]];return this[_0x209e08(0x149)]&&_0x725609[_0x209e08(0x13c)](this[_0x209e08(0x149)]),this[_0x209e08(0x153)]&&_0x725609[_0x209e08(0x13c)](this[_0x209e08(0x153)]),_0x725609[_0x209e08(0x13c)](this[_0x209e08(0x12a)]),{'tag':_0x209e08(0x155),'attributes':{'class':['ck',_0x209e08(0x12c),_0x209e08(0x140),_0x10b71f['if'](_0x209e08(0x148),_0x209e08(0x14d)),_0x10b71f['to'](_0x209e08(0x150),_0x31608a=>_0x209e08(0x131)+_0x31608a),this[_0x209e08(0x143)][_0x209e08(0x123)]&&_0x209e08(0x135)],'data-suggestion-id':this[_0x209e08(0x13f)]['id'],'data-thread-id':this[_0x209e08(0x13f)][_0x209e08(0x157)]['id'],'data-author-id':this[_0x209e08(0x13f)][_0x209e08(0x138)]['id'],'tabindex':0x0,'role':_0x209e08(0x145),'aria-label':_0x10b71f['to'](_0x209e08(0x120)),'aria-describedby':this[_0x209e08(0x12a)]['id']},'children':_0x725609};}[_0x35cf35(0x13e)](){const _0x499086=_0x35cf35;super[_0x499086(0x13e)](),this[_0x499086(0x149)]&&(this[_0x499086(0x149)][_0x499086(0x129)](_0x499086(0x13a))['to'](this),this[_0x499086(0x149)][_0x499086(0x129)](_0x499086(0x146))['to'](this)),this[_0x499086(0x153)]&&(this[_0x499086(0x153)][_0x499086(0x129)](_0x499086(0x13a))['to'](this),this[_0x499086(0x153)][_0x499086(0x129)](_0x499086(0x146))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ca933=_0x613b;function _0x613b(_0x3118de,_0x571e57){const _0x38430f=_0x3843();return _0x613b=function(_0x613bdf,_0x3795cc){_0x613bdf=_0x613bdf-0x1b1;let _0x9dd853=_0x38430f[_0x613bdf];return _0x9dd853;},_0x613b(_0x3118de,_0x571e57);}(function(_0x59975f,_0x3f11b2){const _0x20bf78=_0x613b,_0x412515=_0x59975f();while(!![]){try{const _0x53fd08=parseInt(_0x20bf78(0x1f3))/0x1*(parseInt(_0x20bf78(0x1dc))/0x2)+-parseInt(_0x20bf78(0x1f5))/0x3+parseInt(_0x20bf78(0x1b9))/0x4*(parseInt(_0x20bf78(0x1bc))/0x5)+parseInt(_0x20bf78(0x1bf))/0x6+parseInt(_0x20bf78(0x1ff))/0x7+-parseInt(_0x20bf78(0x1c7))/0x8+-parseInt(_0x20bf78(0x1f0))/0x9*(-parseInt(_0x20bf78(0x1cb))/0xa);if(_0x53fd08===_0x3f11b2)break;else _0x412515['push'](_0x412515['shift']());}catch(_0x66f3ec){_0x412515['push'](_0x412515['shift']());}}}(_0x3843,0x7957a));import{FocusTracker as _0x8a46de,KeystrokeHandler as _0x2a1968}from'ckeditor5/src/utils.js';import{View as _0x57621b,ViewCollection as _0x157a66,FocusCycler as _0x30fbbf}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x2aedee,UserView as _0x321f76}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x12d870,IconCheck as _0x1a71f5}from'ckeditor5/src/icons.js';import{getTranslation as _0x22e290}from'../../utils/common-translations.js';function _0x3843(){const _0x5b9ef4=['element','ck-suggestion__info-name','2PDRWlM','isExternal','acceptSuggestion','bindTemplate','span','importWord','ck-suggestion','querySelector','formatDateTime','ck-suggestion--accept','ck-comment__external','ck-annotation__info-time','ck-annotation__content-wrapper','focus','description','ck-suggestion__user','EXTERNAL_IMPORT_WORD_SUGGESTION','_createButton','ck-annotation__user','attributes','441hJPspv','presentation','add','406985ahuCCk','ck-annotation__info','1952040KQqIwy','focusCycler','set','Accept\x20suggestion','ck-suggestion__actions','change:description','extendTemplate','getUserViewNotificationText','name','Discard\x20suggestion','4574003EGhByQ','ck-annotation__actions','_setupKeyboardNavigation','getTemplate','.ck-annotation__content-wrapper','fire','discardSuggestion','bind','@external','ck-suggestion__main','execute','ck-annotation__info-name','creator','_config','keystrokes','getExternalSuggestionNote','ck-annotation','tab','ck-annotation__main','1351652OWLwsJ','EXTERNAL_SUGGESTION','enter','5Wbtvfj','div','ck-comment__info-time','840324aZYcmb','focusTracker','_model','userView','source','ck-suggestion--discard','push','esc','7505280iKtyDC','authoredAt','discardButton','focusables','111730eLJLyZ','innerHTML','EXTERNAL_AVATAR','render','setTemplate','shift+tab','acceptButton','focusFirst','author','EXTERNAL_IMPORT_WORD_AVATAR','listenTo','time','ck-suggestion__info','target','locale'];_0x3843=function(){return _0x5b9ef4;};return _0x3843();}export class SuggestionView extends _0x57621b{[_0x5ca933(0x1c2)];[_0x5ca933(0x1d1)];[_0x5ca933(0x1c9)];[_0x5ca933(0x1ca)];[_0x5ca933(0x1c0)];[_0x5ca933(0x1b4)];[_0x5ca933(0x1f6)];[_0x5ca933(0x1c1)];[_0x5ca933(0x1b3)];constructor(_0x55c73a,_0x113ea7,_0x233b31){const _0xac479=_0x5ca933;super(_0x55c73a),this[_0xac479(0x1c1)]=_0x113ea7,this[_0xac479(0x1b3)]=_0x233b31,this[_0xac479(0x1f7)](_0xac479(0x1ea),''),this[_0xac479(0x206)](_0xac479(0x1c8))['to'](_0x113ea7),this[_0xac479(0x1d1)]=this[_0xac479(0x1ed)](_0x22e290(_0x55c73a,_0xac479(0x1f8)),_0x1a71f5,_0xac479(0x1e5),_0xac479(0x1de),'sw'),this[_0xac479(0x1c9)]=this[_0xac479(0x1ed)](_0x22e290(_0x55c73a,_0xac479(0x1fe)),_0x12d870,_0xac479(0x1c4),_0xac479(0x205),'sw'),this[_0xac479(0x1c2)]=new _0x321f76(_0x55c73a,_0x113ea7[_0xac479(0x1d3)],this[_0xac479(0x1fc)]()),this[_0xac479(0x1c2)][_0xac479(0x1fb)]({'attributes':{'class':[_0xac479(0x1eb),_0xac479(0x1ee)],'aria-hidden':!0x0}}),this[_0xac479(0x1ca)]=new _0x157a66([this[_0xac479(0x1d1)],this[_0xac479(0x1c9)]]),this[_0xac479(0x1c0)]=new _0x8a46de(),this[_0xac479(0x1b4)]=new _0x2a1968(),this[_0xac479(0x1f6)]=new _0x30fbbf({'focusables':this[_0xac479(0x1ca)],'focusTracker':this[_0xac479(0x1c0)],'keystrokeHandler':this[_0xac479(0x1b4)],'actions':{'focusPrevious':_0xac479(0x1d0),'focusNext':_0xac479(0x1b7)},'keystrokeHandlerOptions':{'filter':_0x28c029=>_0x28c029[_0xac479(0x1d8)]!==this[_0xac479(0x1da)]}}),this[_0xac479(0x1cf)](this[_0xac479(0x202)]());}[_0x5ca933(0x1ce)](){const _0x8794d9=_0x5ca933;super[_0x8794d9(0x1ce)]();const _0x10ef82=this[_0x8794d9(0x1da)][_0x8794d9(0x1e3)](_0x8794d9(0x203));_0x10ef82[_0x8794d9(0x1cc)]=this[_0x8794d9(0x1ea)],this['on'](_0x8794d9(0x1fa),(_0x413b95,_0xb010d8,_0x22795b)=>{const _0x15e7a8=_0x8794d9;_0x10ef82[_0x15e7a8(0x1cc)]=_0x22795b;}),this[_0x8794d9(0x201)]();}[_0x5ca933(0x202)](){const _0x12fb6d=_0x5ca933,_0x39a58a=this[_0x12fb6d(0x1df)],_0x4b26e9=[{'tag':_0x12fb6d(0x1bd),'attributes':{'class':[_0x12fb6d(0x1d7),_0x12fb6d(0x1f4)]},'children':[{'tag':_0x12fb6d(0x1e0),'children':[{'text':this[_0x12fb6d(0x1c2)][_0x12fb6d(0x1fd)]}],'attributes':{'class':[_0x12fb6d(0x1db),_0x12fb6d(0x1b1)],'data-cke-tooltip-text':this[_0x12fb6d(0x1c2)][_0x12fb6d(0x1fd)]}},{'tag':_0x12fb6d(0x1d6),'attributes':{'datetime':_0x39a58a['to'](_0x12fb6d(0x1c8)),'class':[_0x12fb6d(0x1be),_0x12fb6d(0x1e7)]},'children':[{'text':_0x39a58a['to'](_0x12fb6d(0x1c8),_0x2c7fca=>this[_0x12fb6d(0x1b3)][_0x12fb6d(0x1e4)](_0x2c7fca))}]}]},{'tag':_0x12fb6d(0x1bd),'attributes':{'class':[_0x12fb6d(0x1f9),_0x12fb6d(0x200)]},'children':[this[_0x12fb6d(0x1d1)],this[_0x12fb6d(0x1c9)]]},{'tag':_0x12fb6d(0x1bd),'attributes':{'class':[_0x12fb6d(0x1e8)]}}];return this[_0x12fb6d(0x1c1)][_0x12fb6d(0x1dd)]&&_0x4b26e9[_0x12fb6d(0x1c5)]({'tag':_0x12fb6d(0x1bd),'attributes':{'class':[_0x12fb6d(0x1e6)]},'children':[{'text':this[_0x12fb6d(0x1b5)]()}]}),{'tag':_0x12fb6d(0x1bd),'attributes':{'class':[_0x12fb6d(0x1e2),_0x12fb6d(0x1b6)],'tabindex':-0x1},'children':[this[_0x12fb6d(0x1c2)],{'tag':_0x12fb6d(0x1bd),'attributes':{'class':[_0x12fb6d(0x208),_0x12fb6d(0x1b8)],'role':_0x12fb6d(0x1f1)},'children':_0x4b26e9}]};}[_0x5ca933(0x1e9)](){const _0x49e8ae=_0x5ca933;this[_0x49e8ae(0x1da)][_0x49e8ae(0x1e9)]();}[_0x5ca933(0x1fc)](){const _0x4ace91=_0x5ca933;return this[_0x4ace91(0x1c1)][_0x4ace91(0x1dd)]?_0x4ace91(0x1e1)===this[_0x4ace91(0x1c1)][_0x4ace91(0x1ef)][_0x4ace91(0x207)][_0x4ace91(0x1c3)]?_0x22e290(this[_0x4ace91(0x1d9)],_0x4ace91(0x1d4),this[_0x4ace91(0x1c1)][_0x4ace91(0x1b2)][_0x4ace91(0x1fd)]):_0x22e290(this[_0x4ace91(0x1d9)],_0x4ace91(0x1cd),this[_0x4ace91(0x1c1)][_0x4ace91(0x1b2)][_0x4ace91(0x1fd)]):null;}[_0x5ca933(0x1b5)](){const _0x1b5048=_0x5ca933;return _0x1b5048(0x1e1)===this[_0x1b5048(0x1c1)][_0x1b5048(0x1ef)][_0x1b5048(0x207)][_0x1b5048(0x1c3)]?_0x22e290(this[_0x1b5048(0x1d9)],_0x1b5048(0x1ec)):_0x22e290(this[_0x1b5048(0x1d9)],_0x1b5048(0x1ba));}[_0x5ca933(0x1ed)](_0x15617a,_0x37bd2d,_0x36c99e,_0x46ea60,_0x3427c6){const _0x3ac1c8=_0x5ca933,_0x2f7432=new _0x2aedee(this[_0x3ac1c8(0x1d9)]);return _0x2f7432[_0x3ac1c8(0x1f7)]({'label':_0x15617a,'icon':_0x37bd2d,'tooltip':!0x0,'tooltipPosition':_0x3427c6}),_0x2f7432[_0x3ac1c8(0x1fb)]({'attributes':{'class':_0x36c99e}}),_0x2f7432['on'](_0x3ac1c8(0x209),()=>{const _0x39ca22=_0x3ac1c8;this[_0x39ca22(0x204)](_0x46ea60,this[_0x39ca22(0x1c1)]['id']);}),_0x2f7432;}[_0x5ca933(0x201)](){const _0x28fb40=_0x5ca933,_0x1f746b=this[_0x28fb40(0x1da)];this[_0x28fb40(0x1b4)][_0x28fb40(0x1d5)](_0x1f746b);for(const _0x312737 of this[_0x28fb40(0x1ca)])this[_0x28fb40(0x1c0)][_0x28fb40(0x1f2)](_0x312737[_0x28fb40(0x1da)]),this[_0x28fb40(0x1b4)][_0x28fb40(0x1d5)](_0x312737[_0x28fb40(0x1da)]);this[_0x28fb40(0x1b4)][_0x28fb40(0x1f7)](_0x28fb40(0x1bb),(_0x1b1056,_0x4ae6b7)=>{const _0x558fdd=_0x28fb40;_0x1f746b===_0x1b1056[_0x558fdd(0x1d8)]&&(this[_0x558fdd(0x1f6)][_0x558fdd(0x1d2)](),_0x4ae6b7());}),this[_0x28fb40(0x1b4)][_0x28fb40(0x1f7)](_0x28fb40(0x1c6),(_0x4212fe,_0x5d5c06)=>{const _0x5b83c7=_0x28fb40;_0x1f746b!==_0x4212fe[_0x5b83c7(0x1d8)]&&(this[_0x5b83c7(0x1e9)](),_0x5d5c06());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x29cbde=_0x5df8;(function(_0x597841,_0xa1e983){const _0x346236=_0x5df8,_0x1164ae=_0x597841();while(!![]){try{const _0x1e9e64=parseInt(_0x346236(0x126))/0x1+-parseInt(_0x346236(0x127))/0x2+-parseInt(_0x346236(0x11b))/0x3+parseInt(_0x346236(0x125))/0x4*(-parseInt(_0x346236(0x10c))/0x5)+parseInt(_0x346236(0x122))/0x6*(-parseInt(_0x346236(0x116))/0x7)+-parseInt(_0x346236(0x11e))/0x8*(-parseInt(_0x346236(0x111))/0x9)+-parseInt(_0x346236(0x124))/0xa*(-parseInt(_0x346236(0x11a))/0xb);if(_0x1e9e64===_0xa1e983)break;else _0x1164ae['push'](_0x1164ae['shift']());}catch(_0x574ac3){_0x1164ae['push'](_0x1164ae['shift']());}}}(_0x2499,0xe14ec));import{View as _0x167043}from'ckeditor5/src/ui.js';function _0x5df8(_0x5167c9,_0x259036){const _0x249904=_0x2499();return _0x5df8=function(_0x5df8c5,_0x429ac7){_0x5df8c5=_0x5df8c5-0x10a;let _0x37a5c0=_0x249904[_0x5df8c5];return _0x37a5c0;},_0x5df8(_0x5167c9,_0x259036);}export class TrackChangesPreviewView extends _0x167043{[_0x29cbde(0x10e)];constructor(_0x396112,_0x4ad7fb){const _0x4fcb9b=_0x29cbde;super(_0x396112),this[_0x4fcb9b(0x10e)]=_0x4ad7fb,this[_0x4fcb9b(0x115)]({'tag':_0x4fcb9b(0x10a),'attributes':{'class':['ck',_0x4fcb9b(0x12a),_0x4fcb9b(0x10f)],'tabindex':-0x1}});}[_0x29cbde(0x10b)](){const _0x52db02=_0x29cbde;super[_0x52db02(0x10b)](),this[_0x52db02(0x129)][_0x52db02(0x11f)][_0x52db02(0x128)]=this[_0x52db02(0x10e)][_0x52db02(0x113)][_0x52db02(0x128)]+'px',this[_0x52db02(0x129)][_0x52db02(0x11f)][_0x52db02(0x120)]=this[_0x52db02(0x10e)][_0x52db02(0x113)][_0x52db02(0x120)]+'px';}[_0x29cbde(0x10d)](_0x273649,_0x477b7a){const _0x272b9=_0x29cbde;if(!this[_0x272b9(0x129)])return;const _0x1b3036=[];for(const [_0x34d9ac,_0x107afd]of _0x273649){const _0x1a1fde=document[_0x272b9(0x121)](_0x272b9(0x10a));_0x1a1fde[_0x272b9(0x12c)](_0x272b9(0x112),_0x34d9ac),_0x1a1fde[_0x272b9(0x110)]=_0x107afd[_0x272b9(0x117)]+_0x272b9(0x114),_0x1a1fde[_0x272b9(0x123)]=_0x107afd[_0x272b9(0x11c)],_0x1b3036[_0x272b9(0x12b)](_0x1a1fde);}_0x477b7a(this[_0x272b9(0x129)],_0x1b3036),this[_0x272b9(0x129)][_0x272b9(0x11f)][_0x272b9(0x120)]='',this[_0x272b9(0x118)](_0x272b9(0x119));}[_0x29cbde(0x11d)](){const _0x23d3d2=_0x29cbde;this[_0x23d3d2(0x129)][_0x23d3d2(0x11d)]();}}function _0x2499(){const _0x1b4948=['height','createElement','6fkOoFO','innerHTML','130SjTFRE','4cpUqRJ','861244dAhVuf','2174580hMSdGC','width','element','ck-reset','push','setAttribute','div','render','1804115MKuBSA','setPreviewData','options','ck-track-changes-preview','className','7805943zSecVs','data-ck-root-name','dialogRects','\x20ck-track-changes-preview__root-container','setTemplate','9763908lcOOef','classes','fire','previewDataReady','1903957NWgdQS','638655AasACu','content','focus','8QGwgLM','style'];_0x2499=function(){return _0x1b4948;};return _0x2499();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x53d28d,_0x3665f6,_0x3ea401){const _0x2951da=_0x53d28d['t'],t=_0x53d28d['t'];switch(_0x3665f6){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',_0x3ea401);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3ea401);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3ea401);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3ea401);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3ea401);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',_0x3ea401);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3ea401);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',_0x3ea401);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3ea401);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3ea401);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3ea401);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3ea401);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3ea401);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3ea401);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3ea401);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3ea401);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3ea401);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3ea401);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3ea401);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3ea401);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3ea401);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3ea401);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3ea401);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3ea401);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3ea401);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'},_0x3ea401);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3ea401);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3ea401);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3ea401);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3ea401);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3ea401);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3ea401);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3ea401);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'},_0x3ea401);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3ea401);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3ea401);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3ea401);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3ea401);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'},_0x3ea401);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3ea401);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'},_0x3ea401);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3ea401);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3ea401);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'},_0x3ea401);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3ea401);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'},_0x3ea401);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3ea401);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3ea401);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3ea401);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3ea401);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3ea401);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'},_0x3ea401);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3ea401);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 _0x2951da({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3ea401);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2951da({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3ea401);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3ea401);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'},_0x3ea401);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'},_0x3ea401);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'},_0x3ea401);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3665f6;}}
|
|
23
|
+
export function getTranslation(_0x1b12b8,_0x25b645,_0x365d92){const _0x43f076=_0x1b12b8['t'],t=_0x1b12b8['t'];switch(_0x25b645){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',_0x365d92);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x365d92);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x365d92);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x365d92);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x365d92);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',_0x365d92);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x365d92);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',_0x365d92);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x365d92);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x365d92);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x365d92);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x365d92);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x365d92);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x365d92);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x365d92);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x365d92);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x365d92);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x365d92);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x365d92);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x365d92);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x365d92);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x365d92);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x365d92);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x365d92);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x365d92);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'},_0x365d92);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x365d92);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x365d92);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x365d92);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x365d92);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x365d92);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x365d92);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x365d92);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'},_0x365d92);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x365d92);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x365d92);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x365d92);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x365d92);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'},_0x365d92);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x365d92);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'},_0x365d92);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x365d92);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x365d92);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'},_0x365d92);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x365d92);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'},_0x365d92);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x365d92);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x365d92);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x365d92);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x365d92);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x365d92);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'},_0x365d92);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x365d92);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 _0x43f076({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x365d92);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x43f076({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x365d92);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x365d92);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'},_0x365d92);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'},_0x365d92);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'},_0x365d92);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x25b645;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4ef1(_0x34ab61,_0x285da4){const _0x4d6ece=_0x4d6e();return _0x4ef1=function(_0x4ef1f8,_0x45cd68){_0x4ef1f8=_0x4ef1f8-0x1b0;let _0x20f14f=_0x4d6ece[_0x4ef1f8];return _0x20f14f;},_0x4ef1(_0x34ab61,_0x285da4);}(function(_0x4c3810,_0xfda7ce){const _0x31def2=_0x4ef1,_0x34d6b5=_0x4c3810();while(!![]){try{const _0x136afb=parseInt(_0x31def2(0x1b6))/0x1+parseInt(_0x31def2(0x1b3))/0x2+parseInt(_0x31def2(0x1c0))/0x3+-parseInt(_0x31def2(0x1e4))/0x4+parseInt(_0x31def2(0x1c9))/0x5+parseInt(_0x31def2(0x1d7))/0x6*(-parseInt(_0x31def2(0x1c3))/0x7)+-parseInt(_0x31def2(0x1d8))/0x8*(parseInt(_0x31def2(0x1cc))/0x9);if(_0x136afb===_0xfda7ce)break;else _0x34d6b5['push'](_0x34d6b5['shift']());}catch(_0x3a79f6){_0x34d6b5['push'](_0x34d6b5['shift']());}}}(_0x4d6e,0xe9e32));export function normalizeDescription(_0x2e9a72){const _0x27eac7=_0x4ef1;return Array[_0x27eac7(0x1ce)](_0x2e9a72)||(_0x2e9a72=[_0x2e9a72]),_0x2e9a72[_0x27eac7(0x1d1)](_0x5b7031=>{const _0x1a2d9f=_0x27eac7,_0x5701d2=_0x5b7031[_0x1a2d9f(0x1bc)][_0x1a2d9f(0x1e0)](/\*/g,''),_0x18abdd=_0x5b7031[_0x1a2d9f(0x1db)]?_0x1a2d9f(0x1b2)+_0x5b7031[_0x1a2d9f(0x1db)][_0x1a2d9f(0x1df)]+']':'';return'['+_0x5b7031[_0x1a2d9f(0x1b9)]+']\x20'+_0x5701d2+_0x18abdd;})[_0x27eac7(0x1cf)](';\x20');}export function renderDescription(_0x585006,_0x16ace5){const _0x36b76b=_0x4ef1;let _0x2acaf4='';return _0x2acaf4+=_0x585006[_0x36b76b(0x1d2)]('*')[_0x36b76b(0x1d1)]((_0x52b9b9,_0x54a7e6)=>_0x54a7e6%0x2!=0x0?_0x36b76b(0x1cb)+cn(_0x52b9b9)+_0x36b76b(0x1bb):cn(_0x52b9b9))[_0x36b76b(0x1cf)](''),_0x16ace5&&(_0x2acaf4+=_0x36b76b(0x1dd)+_0x16ace5[_0x36b76b(0x1df)]+_0x36b76b(0x1bf)+_0x16ace5[_0x36b76b(0x1d5)]+_0x36b76b(0x1d9)),_0x2acaf4;}function cn(_0x288ac3){const _0x300eba=_0x4ef1,_0x48d7f5=document[_0x300eba(0x1e3)](_0x300eba(0x1d0));return _0x48d7f5[_0x300eba(0x1c1)]=_0x288ac3,_0x48d7f5[_0x300eba(0x1e2)];}export function sortSuggestions(_0x43efa5){const _0x36ca78=_0x4ef1;return _0x43efa5[_0x36ca78(0x1d4)]((_0x3fbf37,_0x26c401)=>_0x36ca78(0x1bd)===_0x3fbf37[_0x36ca78(0x1b9)]&&_0x36ca78(0x1bd)!==_0x26c401[_0x36ca78(0x1b9)]?-0x1:_0x36ca78(0x1bd)!==_0x3fbf37[_0x36ca78(0x1b9)]&&_0x36ca78(0x1bd)===_0x26c401[_0x36ca78(0x1b9)]?0x1:_0x36ca78(0x1b5)==_0x3fbf37[_0x36ca78(0x1b9)]&&_0x36ca78(0x1b5)!=_0x26c401[_0x36ca78(0x1b9)]?-0x1:_0x36ca78(0x1b5)!=_0x3fbf37[_0x36ca78(0x1b9)]&&_0x36ca78(0x1b5)==_0x26c401[_0x36ca78(0x1b9)]?0x1:0x0);}export function getSelectedSuggestions(_0x167f73,_0x23837b){const _0x5437e5=_0x4ef1,_0x4dae2e=Array[_0x5437e5(0x1c4)](_0x167f73[_0x5437e5(0x1e1)]()),_0x695238=new Set();for(const _0x116b59 of _0x23837b)if(_0x116b59[_0x5437e5(0x1e5)]){for(const _0x22559c of _0x4dae2e)for(const _0x26217b of _0x116b59[_0x5437e5(0x1e1)]())(_0x22559c[_0x5437e5(0x1c7)](_0x26217b)||_0x167f73[_0x5437e5(0x1b4)]&&!_0x116b59[_0x5437e5(0x1da)]&&_0x116b59[_0x5437e5(0x1cd)]&&_0x26217b[_0x5437e5(0x1b7)][_0x5437e5(0x1dc)](_0x22559c[_0x5437e5(0x1b0)]))&&_0x695238[_0x5437e5(0x1ca)](_0x116b59);}return _0x695238;}export function getRangesOfBlockGroups(_0x5bb9f2,_0x51fbc5){const _0x4613df=_0x4ef1;let _0x4f27ee,_0x20934d=0x0;const _0x24bd58=[],_0x50b8e9=_0x51fbc5[_0x4613df(0x1c2)];for(;_0x20934d<_0x5bb9f2[_0x4613df(0x1d3)];){const _0x656254=_0x5bb9f2[_0x20934d],_0x36c648=_0x5bb9f2[_0x20934d+0x1];_0x4f27ee||(_0x4f27ee=_0x51fbc5[_0x4613df(0x1ba)](_0x656254)),un(_0x51fbc5,_0x656254,_0x36c648)||(_0x24bd58[_0x4613df(0x1c5)](_0x51fbc5[_0x4613df(0x1d6)](_0x4f27ee,_0x50b8e9[_0x4613df(0x1c6)](_0x656254)?_0x51fbc5[_0x4613df(0x1b1)](_0x656254):_0x51fbc5[_0x4613df(0x1be)](_0x656254,_0x4613df(0x1b7)))),_0x4f27ee=null),_0x20934d++;}return _0x24bd58;}function _0x4d6e(){const _0x322ee7=['</span>','content','attribute','createPositionAt','\x22\x20title=\x22','2082765JiBDtF','innerText','schema','7SJhCxg','from','push','isObject','isIntersecting','splice','5298065RtGnGN','add','<span\x20class=\x22ck-suggestion-type\x22>','401778mraOPV','next','isArray','join','span','map','split','length','sort','title','createRange','275952Wmfrbs','88puaHFx','\x22></span>','isMultiRange','color','isTouching','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','change','value','replace','getRanges','innerHTML','createElement','4678612wbfjfk','isInContent','start','createPositionAfter','\x20[color\x20','327358eZLecS','isCollapsed','deletion','747162QXApPA','end','execute','type','createPositionBefore'];_0x4d6e=function(){return _0x322ee7;};return _0x4d6e();}function un(_0x4247cf,_0x34b1c8,_0x393850){const _0x363eab=_0x4ef1;if(!_0x393850)return!0x1;const _0x415b64=_0x4247cf[_0x363eab(0x1b1)](_0x34b1c8),_0xb602e6=_0x4247cf[_0x363eab(0x1ba)](_0x393850);return _0x415b64[_0x363eab(0x1dc)](_0xb602e6);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1d5ef9,_0x3ef7e3,_0x31bc8a){const _0x20218d=_0x4ef1;for(;_0x31bc8a[_0x20218d(0x1d3)];){const _0x2f271d=_0x31bc8a[_0x20218d(0x1c8)](0x0,0x64);_0x1d5ef9[_0x20218d(0x1de)](()=>{const _0x76cce2=_0x20218d;for(const _0x5ccea6 of _0x2f271d)_0x5ccea6[_0x76cce2(0x1e5)]&&_0x3ef7e3[_0x76cce2(0x1b8)](_0x5ccea6['id']);});}}
|