@ckeditor/ckeditor5-track-changes 46.0.3 → 46.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x8173(){const _0x52bbc5=['appendChild','editor','previewFinalContent','3688731VapIDF','TrackChangesPreview','define','add','config','753081DIawgE','15qFGmnx','6203570wDnYSZ','379685SWmoqG','2332168uxzdRi','requires','14qYIYaS','2585076qBBUwC','trackChanges.preview.renderFunction','commands','6XTlnyh','isPremiumPlugin','pluginName','231560OcFHrM','isOfficialPlugin'];_0x8173=function(){return _0x52bbc5;};return _0x8173();}const _0x182106=_0x34e0;(function(_0x27771a,_0x36496c){const _0x172975=_0x34e0,_0x528a1e=_0x27771a();while(!![]){try{const _0x1dbef7=parseInt(_0x172975(0xb7))/0x1+-parseInt(_0x172975(0xbe))/0x2*(-parseInt(_0x172975(0xb4))/0x3)+-parseInt(_0x172975(0xc1))/0x4*(-parseInt(_0x172975(0xb5))/0x5)+-parseInt(_0x172975(0xbb))/0x6+parseInt(_0x172975(0xba))/0x7*(parseInt(_0x172975(0xb8))/0x8)+-parseInt(_0x172975(0xc6))/0x9+-parseInt(_0x172975(0xb6))/0xa;if(_0x1dbef7===_0x36496c)break;else _0x528a1e['push'](_0x528a1e['shift']());}catch(_0xa3ac5e){_0x528a1e['push'](_0x528a1e['shift']());}}}(_0x8173,0x68980));function _0x34e0(_0x3e119d,_0x27e16f){const _0x817372=_0x8173();return _0x34e0=function(_0x34e0e7,_0xcb437c){_0x34e0e7=_0x34e0e7-0xb3;let _0x939917=_0x817372[_0x34e0e7];return _0x939917;},_0x34e0(_0x3e119d,_0x27e16f);}import{Plugin as _0x286a94}from'ckeditor5/src/core.js';import{Dialog as _0x1ec58f}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x51e9f9}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3f9772}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x286a94{static get[_0x182106(0xb9)](){return[_0x51e9f9,_0x1ec58f];}static get[_0x182106(0xc0)](){const _0x978005=_0x182106;return _0x978005(0xc7);}static get[_0x182106(0xc2)](){return!0x0;}static get[_0x182106(0xbf)](){return!0x0;}constructor(_0x599937){const _0x256efd=_0x182106;super(_0x599937),_0x599937[_0x256efd(0xbd)][_0x256efd(0xc9)](_0x256efd(0xc5),new _0x3f9772(this[_0x256efd(0xc4)])),_0x599937[_0x256efd(0xb3)][_0x256efd(0xc8)](_0x256efd(0xbc),(_0x59c125,_0x18917b)=>{const _0x1a0454=_0x256efd;for(const _0x2d6707 of _0x18917b)_0x59c125[_0x1a0454(0xc3)](_0x2d6707);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x7b31e1=_0xcd62;function _0x546e(){const _0x3bd6fe=['listenTo','4866256jBurQb','createAnnotationView','add','_bindAnnotationToEditors','CommentsUI','descriptionFactory','trialLimit','getMarkerNames','button','change:activeAnnotations','set','_showLicenseError','model','trackChangesLicenseKeyTrialLimit','Discard\x20all\x20suggestions','value','componentFactory','discardAllSuggestions','actionView','discardButton','define','destroy','_createToolbarButton','head','focus','plugins','1202001UzMJPE','commentThread','reduce','trackChanges','remove','lowest','switchbutton','Annotations','activeAnnotations','fire','clear','evaluationLimit','delegate','_unbindEditors','domainLimit','_destroyController','descriptionParts','getByInnerView','trackChangesLicenseKeyValid','suggestionLoaded','comments.maxCommentCharsWhenCollapsed','11NzDXbH','TrackChanges','createCommentThreadController','_updateController','_addUIComponentsToFactory','isInContent','Preview\x20final\x20content','suggestionView','requires','getFirstRange','push','separator','_viewToController','locale','suggestionUnloaded','trackChanges.disableComments','length','acceptButton','some','getJoined','isDirty','activeMarkers','source','createAnnotation','items','TrackChangesEditing','comments.maxThreadTotalWeight','delete','_licenseKeyCheckInterval','Accept\x20all\x20suggestions','editing','isOn','addComment','trackChangesLicenseKeyNotAllowed','1103OVInEC','trackChangesLicenseKeyUsageLimit','getAnnotationForSuggestion','menuitemcheckbox','_annotationViews','isMultiRange','values','_handleSuggestionControllerDelayed','trackChangesLicenseKeyExpired','change:previous','stopListening','SuggestionThreadView','menuBar:trackChanges','CommentView','arrowView','1348304UprUgu','getRanges','licenseKey','Discard\x20all\x20selected\x20suggestions','registerAnnotation','pluginName','comments.editorConfig','getDescriptions','commands','previewFinalContent','discardSelectedSuggestions','1492oAuCgn','menu','getSuggestionForAnnotation','isOfficialPlugin','editor','getAllAdjacentSuggestions','innerView','CommentsRepository','hasSuggestion','from','trackChanges.SuggestionView','expired','suggestionChanged','isEnabled','panelView','escape','trackChangesLicenseKeyEvaluationLimit','_disableComments','Track\x20changes','1241513OIxXht','menuitem','bind','execute','unbind','trackChangesLicenseKeyDomainLimit','TrackChangesUI','get','config','comments','trackChangesLicenseKeyInvalid','keys','mainView','_refreshActiveMarkers','init','getMarkers','filter','buttonView','_initializeController','invalid','_createMenuBarMenu','acceptAllSuggestions','10096830hKdTPp','addMany','9IrwroQ','trackChanges.SuggestionThreadView','commentsListView','previous','view','TrackChangesPreview','commandName','isPremiumPlugin','usageLimit','addSourceCollector','type','has','toMany','comments.maxCommentsWhenCollapsed','2729415ntgDZp','children','_suggestionToController','featureNotAllowed','6LvUgvq','acceptSelectedSuggestions','getSuggestion','size','EditorAnnotations','Accept\x20all\x20selected\x20suggestions','_handleControllerBuffer','suggestion-','refreshSelectedViews','SuggestionView'];_0x546e=function(){return _0x3bd6fe;};return _0x546e();}(function(_0x28de26,_0x383e2e){const _0x5e28b7=_0xcd62,_0x391e21=_0x28de26();while(!![]){try{const _0x2e3bd4=parseInt(_0x5e28b7(0x193))/0x1*(parseInt(_0x5e28b7(0x1ad))/0x2)+parseInt(_0x5e28b7(0x15c))/0x3+parseInt(_0x5e28b7(0x1a2))/0x4+-parseInt(_0x5e28b7(0x1e6))/0x5+parseInt(_0x5e28b7(0x1ea))/0x6*(-parseInt(_0x5e28b7(0x1c0))/0x7)+parseInt(_0x5e28b7(0x1f5))/0x8*(parseInt(_0x5e28b7(0x1d8))/0x9)+parseInt(_0x5e28b7(0x1d6))/0xa*(-parseInt(_0x5e28b7(0x171))/0xb);if(_0x2e3bd4===_0x383e2e)break;else _0x391e21['push'](_0x391e21['shift']());}catch(_0xf17866){_0x391e21['push'](_0x391e21['shift']());}}}(_0x546e,0x6a6e2));import{Plugin as _0x2c2dc6}from'ckeditor5/src/core.js';import{Collection as _0x59f04e}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x52994e}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1b190d,createDropdown as _0x2ee4d8,ListSeparatorView as _0xd08430,MenuBarMenuView as _0x39bf89,MenuBarMenuListView as _0x41979e,MenuBarMenuListItemView as _0x136fa2,MenuBarMenuListItemButtonView as _0x4626ec,SplitButtonView as _0x590c40,UIModel as _0x20c87b}from'ckeditor5/src/ui.js';import{Users as _0x322c60,getDateTimeFormatter as _0x500123,getAllMarkersDomElementsSorted as _0x1cb902}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x33863b}from'./trackchangesediting.js';import{SuggestionController as _0x57b571}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x2100e4}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x43167e}from'./ui/view/suggestionview.js';import{getTranslation as _0x13da34}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2c2dc6{[_0x7b31e1(0x1a4)];[_0x7b31e1(0x18d)];[_0x7b31e1(0x1e8)];[_0x7b31e1(0x17d)];[_0x7b31e1(0x197)];[_0x7b31e1(0x1f0)];[_0x7b31e1(0x1be)];static get[_0x7b31e1(0x179)](){const _0x5d64e9=_0x7b31e1;return[_0x33863b,_0x322c60,_0x5d64e9(0x1b4),_0x5d64e9(0x163),_0x5d64e9(0x1ee)];}static get[_0x7b31e1(0x1a7)](){const _0x3d4f28=_0x7b31e1;return _0x3d4f28(0x1c6);}static get[_0x7b31e1(0x1b0)](){return!0x0;}static get[_0x7b31e1(0x1df)](){return!0x0;}constructor(_0x408a14){const _0x3e3290=_0x7b31e1;super(_0x408a14),this[_0x3e3290(0x1e8)]=new Map(),this[_0x3e3290(0x17d)]=new Map(),this[_0x3e3290(0x197)]=new Map(),this[_0x3e3290(0x1f0)]=new Map();const _0x16f59a=this[_0x3e3290(0x1b1)][_0x3e3290(0x1c8)];_0x16f59a[_0x3e3290(0x156)](_0x3e3290(0x1d9),_0x2100e4),_0x16f59a[_0x3e3290(0x156)](_0x3e3290(0x1b7),_0x43167e),_0x16f59a[_0x3e3290(0x156)](_0x3e3290(0x180),!0x1),this[_0x3e3290(0x1be)]=_0x16f59a[_0x3e3290(0x1c7)](_0x3e3290(0x180));}[_0x7b31e1(0x19a)](_0xb496db,_0xa47710){const _0x361aec=_0x7b31e1;0x0===this[_0x361aec(0x1f0)][_0x361aec(0x1ed)]&&setTimeout(()=>{const _0x161e1d=_0x361aec;for(const [_0x48f200,_0x2a6a21]of this[_0x161e1d(0x1f0)]){const _0xc9ca5c=this[_0x161e1d(0x1e8)][_0x161e1d(0x1e3)](_0x48f200);_0xc9ca5c||_0x2a6a21?_0xc9ca5c&&_0x2a6a21&&this[_0x161e1d(0x16b)](_0x48f200):this[_0x161e1d(0x1d2)](_0x48f200);}this[_0x161e1d(0x1f0)][_0x161e1d(0x166)](),this[_0x161e1d(0x1b1)][_0x161e1d(0x15b)][_0x161e1d(0x1c7)](_0x161e1d(0x1ee))[_0x161e1d(0x1f2)](),this[_0x161e1d(0x1cd)]();},0xa),this[_0x361aec(0x1f0)][_0x361aec(0x14c)](_0xb496db,_0xa47710);}[_0x7b31e1(0x1ce)](){const _0x5d791c=_0x7b31e1,_0x14786f=this[_0x5d791c(0x1b1)],_0x3616a5=_0x14786f[_0x5d791c(0x15b)][_0x5d791c(0x1c7)](_0x5d791c(0x18a)),_0x395883=_0x14786f[_0x5d791c(0x15b)][_0x5d791c(0x1c7)](_0x5d791c(0x163)),_0x369c09=_0x14786f[_0x5d791c(0x15b)][_0x5d791c(0x1c7)](_0x5d791c(0x1ee)),_0x3ca173=_0x14786f[_0x5d791c(0x15b)][_0x5d791c(0x1c7)](_0x5d791c(0x1b4));this[_0x5d791c(0x175)](),_0x369c09[_0x5d791c(0x1e1)](()=>{const _0x296bfb=_0x5d791c,_0x2fe8a0=[];for(const [_0x270e4f,_0x3c21c0]of Array[_0x296bfb(0x1b6)](this[_0x296bfb(0x1e8)])){const _0x3f7e6e=_0x270e4f[_0x296bfb(0x1b2)](),_0x2e43fe=[];for(const _0x159713 of _0x3f7e6e){if(!_0x159713[_0x296bfb(0x176)])continue;if(_0x159713[_0x296bfb(0x198)]){_0x2e43fe[_0x296bfb(0x17b)](..._0x159713[_0x296bfb(0x1a3)]());continue;}const _0x7f49d8=_0x159713[_0x296bfb(0x17a)]();if(_0x2e43fe[_0x296bfb(0x181)]>0x0){const _0x2dec69=_0x2e43fe[0x0][_0x296bfb(0x184)](_0x7f49d8);if(_0x2dec69){_0x2e43fe[0x0]=_0x2dec69;continue;}}_0x2e43fe[_0x296bfb(0x17b)](_0x7f49d8);}_0x2fe8a0[_0x296bfb(0x17b)]([_0x3c21c0[_0x296bfb(0x1dc)],_0x2e43fe]);}return _0x2fe8a0;}),this[_0x5d791c(0x1f4)](_0x3616a5,_0x5d791c(0x16f),(_0x4c5cdc,_0x5f4d81)=>{const _0x53dd6d=_0x5d791c;this[_0x53dd6d(0x1f4)](_0x5f4d81,_0x53dd6d(0x19c),(_0x38dce4,_0x3e6d9e,_0x3769df,_0x48aec4)=>{const _0x4c3974=_0x53dd6d;_0x5f4d81[_0x4c3974(0x176)]&&(null==_0x3769df?(this[_0x4c3974(0x174)](_0x48aec4[_0x4c3974(0x159)]),this[_0x4c3974(0x19a)](_0x5f4d81,!0x1)):(this[_0x4c3974(0x174)](_0x3769df[_0x4c3974(0x159)]),null==_0x48aec4&&this[_0x4c3974(0x19a)](_0x5f4d81,!0x0)));}),null!==_0x5f4d81[_0x53dd6d(0x1db)]?this[_0x53dd6d(0x174)](_0x5f4d81[_0x53dd6d(0x159)]):this[_0x53dd6d(0x19a)](_0x5f4d81,!0x1);}),this[_0x5d791c(0x1f4)](_0x3616a5,_0x5d791c(0x17f),(_0x257a7d,_0x261055,_0x25dcf)=>{const _0x58beb8=_0x5d791c;this[_0x58beb8(0x19d)](_0x261055,_0x58beb8(0x19c)),this[_0x58beb8(0x1f0)][_0x58beb8(0x18c)](_0x261055),this[_0x58beb8(0x1e8)][_0x58beb8(0x1e3)](_0x261055)&&this[_0x58beb8(0x16b)](_0x261055),_0x25dcf&&this[_0x58beb8(0x174)](_0x25dcf[_0x58beb8(0x159)]);}),this[_0x5d791c(0x1f4)](_0x3616a5,_0x5d791c(0x1b9),(_0x320214,_0x1f0083)=>{const _0x3c1006=_0x5d791c;this[_0x3c1006(0x174)](_0x1f0083);}),this[_0x5d791c(0x1f4)](_0x395883,_0x5d791c(0x14b),()=>{const _0x9fc2c8=_0x5d791c;this[_0x9fc2c8(0x1cd)]();}),this[_0x5d791c(0x1f4)](_0x3ca173,_0x5d791c(0x191),(_0x39cb35,{threadId:_0x54b78e,isFromAdapter:_0x3416c2})=>{const _0x281c3e=_0x5d791c;if(_0x3416c2||!_0x3616a5[_0x281c3e(0x1b5)](_0x54b78e))return;const _0x1c75e4=_0x3616a5[_0x281c3e(0x1ec)](_0x54b78e);this[_0x281c3e(0x1e8)][_0x281c3e(0x1c7)](_0x1c75e4)[_0x281c3e(0x1dc)][_0x281c3e(0x1da)][_0x281c3e(0x15a)](-0x1);},{'priority':_0x5d791c(0x161)}),this[_0x5d791c(0x1a4)]=this[_0x5d791c(0x1b1)][_0x5d791c(0x1c8)][_0x5d791c(0x1c7)](_0x5d791c(0x1a4));const _0x58ce49=this[_0x5d791c(0x1b1)];this[_0x5d791c(0x18d)]=setInterval(()=>{const _0x423eca=_0x5d791c;let _0x583999;for(const _0x482e11 in _0x58ce49){const _0x2a1e59=_0x482e11,_0x35aac1=_0x58ce49[_0x2a1e59];if(_0x423eca(0x16e)==_0x35aac1||_0x423eca(0x1ca)==_0x35aac1||_0x423eca(0x19b)==_0x35aac1||_0x423eca(0x1c5)==_0x35aac1||_0x423eca(0x192)==_0x35aac1||_0x423eca(0x1bd)==_0x35aac1||_0x423eca(0x14f)==_0x35aac1||_0x423eca(0x194)==_0x35aac1){delete _0x58ce49[_0x2a1e59],_0x583999=_0x35aac1,clearInterval(this[_0x423eca(0x18d)]),this[_0x423eca(0x18d)]=void 0x0;break;}}_0x423eca(0x1ca)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1d3)),_0x423eca(0x19b)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1b8)),_0x423eca(0x1c5)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x16a)),_0x423eca(0x192)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1e9),_0x423eca(0x172)),_0x423eca(0x1bd)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x167)),_0x423eca(0x14f)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1fb)),_0x423eca(0x194)==_0x583999&&_0x58ce49[_0x423eca(0x14d)](_0x423eca(0x1e0));},0x3e8);}[_0x7b31e1(0x195)](_0x4d4705){const _0x25e2f6=_0x7b31e1,_0x4eb55c=this[_0x25e2f6(0x1e8)][_0x25e2f6(0x1c7)](_0x4d4705);if(!_0x4eb55c)return null;return this[_0x25e2f6(0x1b1)][_0x25e2f6(0x15b)][_0x25e2f6(0x1c7)](_0x25e2f6(0x163))[_0x25e2f6(0x16d)](_0x4eb55c[_0x25e2f6(0x1dc)])||null;}[_0x7b31e1(0x1af)](_0x1926e1){const _0x5596ec=_0x7b31e1,_0x37e974=this[_0x5596ec(0x17d)][_0x5596ec(0x1c7)](_0x1926e1[_0x5596ec(0x1b3)]);return _0x37e974?_0x37e974[_0x5596ec(0x14e)]:null;}[_0x7b31e1(0x1cd)](){const _0x5c5e99=_0x7b31e1,_0x11b16a=this[_0x5c5e99(0x1b1)][_0x5c5e99(0x15b)][_0x5c5e99(0x1c7)](_0x5c5e99(0x163)),_0x3a21e8=this[_0x5c5e99(0x1b1)][_0x5c5e99(0x15b)][_0x5c5e99(0x1c7)](_0x5c5e99(0x18a)),_0x35576e=Array[_0x5c5e99(0x1b6)](_0x11b16a[_0x5c5e99(0x164)],_0x355097=>_0x355097[_0x5c5e99(0x1b3)])[_0x5c5e99(0x1d0)](_0x3f337b=>this[_0x5c5e99(0x17d)][_0x5c5e99(0x1e3)](_0x3f337b)),_0x3f24af=[];for(const _0x5eba4a of _0x35576e){const _0xc7dc2=this[_0x5c5e99(0x17d)][_0x5c5e99(0x1c7)](_0x5eba4a)[_0x5c5e99(0x14e)][_0x5c5e99(0x1b2)]();_0x3f24af[_0x5c5e99(0x17b)](..._0xc7dc2[_0x5c5e99(0x15e)]((_0x59f8d7,_0x29ecfd)=>[..._0x59f8d7,..._0x29ecfd[_0x5c5e99(0x1fc)]()],[]));}_0x3a21e8[_0x5c5e99(0x186)]=_0x3f24af;}[_0x7b31e1(0x175)](){const _0x1cfe60=_0x7b31e1,_0x6fe5d4=this[_0x1cfe60(0x1b1)],_0x3351b0=_0x6fe5d4[_0x1cfe60(0x17e)],_0x1dc691=_0x13da34(_0x3351b0,_0x1cfe60(0x1bf)),_0x11a1da=new _0x59f04e([{'type':_0x1cfe60(0x162),'model':new _0x20c87b({'withText':!0x0,'isToggleable':!0x0,'label':_0x1dc691,'commandName':_0x1cfe60(0x15f),'role':_0x1cfe60(0x196)})},{'type':_0x1cfe60(0x17c)},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x18e)),'commandName':_0x1cfe60(0x1d5),'role':_0x1cfe60(0x1c1)})},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x1ef)),'commandName':_0x1cfe60(0x1eb),'role':_0x1cfe60(0x1c1)})},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x150)),'commandName':_0x1cfe60(0x153),'role':_0x1cfe60(0x1c1)})},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x1a5)),'commandName':_0x1cfe60(0x1ac),'role':_0x1cfe60(0x1c1)})}]);_0x6fe5d4[_0x1cfe60(0x15b)][_0x1cfe60(0x1e3)](_0x1cfe60(0x1dd))&&_0x11a1da[_0x1cfe60(0x1d7)]([{'type':_0x1cfe60(0x17c)},{'type':_0x1cfe60(0x1fd),'model':new _0x20c87b({'withText':!0x0,'label':_0x13da34(_0x3351b0,_0x1cfe60(0x177)),'commandName':_0x1cfe60(0x1ab),'role':_0x1cfe60(0x1c1)})}]);for(const _0x4e6316 of _0x11a1da)if(ke(_0x4e6316)){const _0x3aeb58=_0x6fe5d4[_0x1cfe60(0x1aa)][_0x1cfe60(0x1c7)](_0x4e6316[_0x1cfe60(0x14e)][_0x1cfe60(0x1de)]);_0x4e6316[_0x1cfe60(0x14e)][_0x1cfe60(0x1c2)](_0x1cfe60(0x190),_0x1cfe60(0x1ba))['to'](_0x3aeb58,_0x1cfe60(0x151),_0x1cfe60(0x1ba));}_0x6fe5d4['ui'][_0x1cfe60(0x152)][_0x1cfe60(0x1f7)](_0x1cfe60(0x15f),_0x644b4e=>this[_0x1cfe60(0x158)](_0x644b4e,_0x11a1da,_0x1dc691)),_0x6fe5d4['ui'][_0x1cfe60(0x152)][_0x1cfe60(0x1f7)](_0x1cfe60(0x19f),_0x968908=>this[_0x1cfe60(0x1d4)](_0x968908,_0x11a1da,_0x1dc691));}[_0x7b31e1(0x158)](_0x40b105,_0x6f5395,_0x30b094){const _0x121192=_0x7b31e1,_0x464cbb=_0x2ee4d8(_0x40b105,_0x590c40),_0x344fdd=this[_0x121192(0x1b1)][_0x121192(0x1aa)][_0x121192(0x1c7)](_0x121192(0x15f));_0x464cbb[_0x121192(0x1d1)][_0x121192(0x14c)]({'tooltip':_0x30b094,'label':_0x30b094,'icon':_0x52994e}),_0x464cbb[_0x121192(0x1d1)][_0x121192(0x1c2)](_0x121192(0x190))['to'](_0x344fdd,_0x121192(0x151)),_0x464cbb[_0x121192(0x1d1)]['on'](_0x121192(0x1c3),()=>{const _0x28f380=_0x121192;_0x344fdd[_0x28f380(0x1c3)](),this[_0x28f380(0x1b1)][_0x28f380(0x18f)][_0x28f380(0x1dc)][_0x28f380(0x15a)]();}),_0x1b190d(_0x464cbb,_0x6f5395,{'role':_0x121192(0x1ae)});const _0x57c007=[];for(const _0x5a24ea of _0x6f5395)ke(_0x5a24ea)&&_0x57c007[_0x121192(0x17b)](this[_0x121192(0x1b1)][_0x121192(0x1aa)][_0x121192(0x1c7)](_0x5a24ea[_0x121192(0x14e)][_0x121192(0x1de)]));const _0x1adc62=_0x464cbb[_0x121192(0x1d1)];return _0x1adc62[_0x121192(0x154)][_0x121192(0x1c4)](_0x121192(0x1ba)),_0x1adc62[_0x121192(0x1a1)][_0x121192(0x1c4)](_0x121192(0x1ba)),_0x1adc62[_0x121192(0x154)][_0x121192(0x1c2)](_0x121192(0x1ba))['to'](_0x344fdd,_0x121192(0x1ba)),_0x1adc62[_0x121192(0x1a1)][_0x121192(0x1c2)](_0x121192(0x1ba))[_0x121192(0x1e4)](_0x57c007,_0x121192(0x1ba),(..._0x124bde)=>_0x124bde[_0x121192(0x183)](_0x53aacf=>_0x53aacf)),_0x464cbb['on'](_0x121192(0x1c3),_0x31cd63=>{const _0x3bdcd6=_0x121192;this[_0x3bdcd6(0x1b1)][_0x3bdcd6(0x1c3)](_0x31cd63[_0x3bdcd6(0x187)][_0x3bdcd6(0x1de)]),this[_0x3bdcd6(0x1b1)][_0x3bdcd6(0x18f)][_0x3bdcd6(0x1dc)][_0x3bdcd6(0x15a)]();}),_0x464cbb;}[_0x7b31e1(0x1d4)](_0x59bb3a,_0x104738,_0x1ffd60){const _0x32311e=_0x7b31e1,_0x398d61=new _0x39bf89(_0x59bb3a),_0x18b95b=this[_0x32311e(0x1b1)][_0x32311e(0x1aa)][_0x32311e(0x1c7)](_0x32311e(0x15f));_0x398d61[_0x32311e(0x1d1)][_0x32311e(0x14c)]({'label':_0x1ffd60,'icon':_0x52994e});const _0x17e813=new _0x41979e(_0x59bb3a);for(const _0x4c7724 of _0x104738){if(_0x32311e(0x17c)==_0x4c7724[_0x32311e(0x1e2)]){_0x17e813[_0x32311e(0x189)][_0x32311e(0x1f7)](new _0xd08430(_0x59bb3a));continue;}const _0x41b4c5=new _0x136fa2(_0x59bb3a,_0x398d61),_0x25112c=new _0x4626ec(_0x59bb3a),_0x2493ad=_0x4c7724[_0x32311e(0x14e)];_0x25112c[_0x32311e(0x1c2)](...Object[_0x32311e(0x1cb)](_0x2493ad))['to'](_0x2493ad),_0x25112c[_0x32311e(0x168)](_0x32311e(0x1c3))['to'](_0x398d61),_0x25112c['on'](_0x32311e(0x1c3),()=>{const _0x458cfc=_0x32311e;this[_0x458cfc(0x1b1)][_0x458cfc(0x1c3)](_0x2493ad[_0x458cfc(0x1de)]),this[_0x458cfc(0x1b1)][_0x458cfc(0x18f)][_0x458cfc(0x1dc)][_0x458cfc(0x15a)]();}),_0x41b4c5[_0x32311e(0x1e7)][_0x32311e(0x1f7)](_0x25112c),_0x17e813[_0x32311e(0x189)][_0x32311e(0x1f7)](_0x41b4c5);}return _0x398d61[_0x32311e(0x1c2)](_0x32311e(0x1ba))['to'](_0x18b95b,_0x32311e(0x1ba)),_0x398d61[_0x32311e(0x1bb)][_0x32311e(0x1e7)][_0x32311e(0x1f7)](_0x17e813),_0x398d61;}[_0x7b31e1(0x1d2)](_0x52e3a2){const _0x32c02d=_0x7b31e1,_0x449a30=this[_0x32c02d(0x1b1)],_0x4969fd=_0x449a30[_0x32c02d(0x1c8)],_0xa369d3=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x163)),_0x4f837b=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x1b4)),_0x4b719f=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x1ee)),_0x169dcd=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x322c60)['me'],_0x390641=_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x15f))[_0x32c02d(0x19e)],_0x1b888e=_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x15f))[_0x32c02d(0x1f3)],{CommentsListView:_0x5a1c40,CommentThreadInputView:_0x16f0d7}=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x1f9));let _0xf7b258,_0x1e1106,_0x46624a;this[_0x32c02d(0x197)][_0x32c02d(0x1e3)](_0x52e3a2['id'])?(_0x1e1106=this[_0x32c02d(0x197)][_0x32c02d(0x1c7)](_0x52e3a2['id']),_0xf7b258=_0x1e1106[_0x32c02d(0x1cc)]):(_0xf7b258=new _0x390641(_0x449a30[_0x32c02d(0x17e)],_0x52e3a2,_0x169dcd,{'disableComments':this[_0x32c02d(0x1be)],'editorConfig':{..._0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x1a8)),'licenseKey':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x1a4))},'maxCommentsWhenCollapsed':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x1e5)),'maxThreadTotalWeight':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x18b)),'maxCommentCharsWhenCollapsed':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x170)),'formatDateTime':_0x500123(_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x17e)),_0x449a30[_0x32c02d(0x17e)]),'CommentView':_0x4969fd[_0x32c02d(0x1c7)](_0x32c02d(0x1c9))[_0x32c02d(0x1a0)],'CommentsListView':_0x5a1c40,'CommentThreadInputView':_0x16f0d7,'SuggestionView':_0x1b888e}),_0xf7b258[_0x32c02d(0x178)][_0x32c02d(0x182)]['on'](_0x32c02d(0x1c3),()=>{const _0x55a0dd=_0x32c02d;_0x449a30[_0x55a0dd(0x18f)][_0x55a0dd(0x1dc)][_0x55a0dd(0x15a)]();}),_0xf7b258[_0x32c02d(0x178)][_0x32c02d(0x155)]['on'](_0x32c02d(0x1c3),()=>{const _0xb260b0=_0x32c02d;_0x449a30[_0xb260b0(0x18f)][_0xb260b0(0x1dc)][_0xb260b0(0x15a)]();}),_0x1e1106=_0xa369d3[_0x32c02d(0x1f6)](this[_0x32c02d(0x1b1)][_0x32c02d(0x17e)],_0xf7b258),_0x1e1106[_0x32c02d(0x1c2)](_0x32c02d(0x185))['to'](_0xf7b258,_0x32c02d(0x185)),_0x1e1106[_0x32c02d(0x1c2)](_0x32c02d(0x181))['to'](_0xf7b258),_0x1e1106[_0x32c02d(0x1c2)](_0x32c02d(0x1e2))['to'](_0xf7b258,_0x32c02d(0x1e2),_0xd86366=>_0x32c02d(0x1f1)+_0xd86366),_0xf7b258['on'](_0x32c02d(0x1bc),()=>{const _0x48b5a7=_0x32c02d;_0x46624a[_0x48b5a7(0x165)](_0x48b5a7(0x1bc));}),this[_0x32c02d(0x197)][_0x32c02d(0x14c)](_0x52e3a2['id'],_0x1e1106));const _0x3a70c0=_0x4f837b[_0x32c02d(0x173)](_0x52e3a2[_0x32c02d(0x15d)],_0xf7b258),_0x1a4199=new _0x57b571(_0x449a30,_0x52e3a2,_0xf7b258,_0x3a70c0),_0x139983=_0x52e3a2[_0x32c02d(0x1b2)]()[_0x32c02d(0x1d0)](_0x3eb784=>_0x3eb784[_0x32c02d(0x176)]);_0xf7b258[_0x32c02d(0x16c)]=_0x449a30[_0x32c02d(0x15b)][_0x32c02d(0x1c7)](_0x32c02d(0x18a))[_0x32c02d(0x1fa)][_0x32c02d(0x1a9)](_0x139983),this[_0x32c02d(0x1e8)][_0x32c02d(0x14c)](_0x52e3a2,_0x1a4199),this[_0x32c02d(0x17d)][_0x32c02d(0x14c)](_0xf7b258,_0x1a4199);const _0x551eb7=()=>{const _0x2b6861=_0x32c02d,_0x2e0536=[],_0x368e7c=_0x52e3a2[_0x2b6861(0x1b2)]()[_0x2b6861(0x1d0)](_0x156751=>_0x156751[_0x2b6861(0x176)]);for(const _0xbb6e12 of _0x368e7c)_0x2e0536[_0x2b6861(0x17b)](..._0xbb6e12[_0x2b6861(0x1cf)]());return _0x1cb902(_0x449a30[_0x2b6861(0x18f)],_0x2e0536);};_0x46624a=_0xa369d3[_0x32c02d(0x188)]({'view':_0x1e1106,'target':_0x551eb7,'type':()=>_0x32c02d(0x1f1)+_0x1a4199[_0x32c02d(0x1dc)][_0x32c02d(0x1e2)],'isVisible':!!_0x551eb7()}),_0x4f837b[_0x32c02d(0x1f8)](_0xf7b258,_0x46624a),_0xa369d3[_0x32c02d(0x1f7)](_0x46624a),_0x4b719f[_0x32c02d(0x1a6)](_0x46624a);}[_0x7b31e1(0x16b)](_0x4c2691){const _0x2b45c2=_0x7b31e1,_0x2e2089=this[_0x2b45c2(0x1b1)][_0x2b45c2(0x15b)][_0x2b45c2(0x1c7)](_0x2b45c2(0x1b4)),_0x19f920=this[_0x2b45c2(0x1b1)][_0x2b45c2(0x15b)][_0x2b45c2(0x1c7)](_0x2b45c2(0x163)),_0x4ee416=this[_0x2b45c2(0x1e8)][_0x2b45c2(0x1c7)](_0x4c2691),_0x294784=_0x4ee416[_0x2b45c2(0x1dc)],_0x3a43b6=_0x19f920[_0x2b45c2(0x16d)](_0x294784);_0x2e2089[_0x2b45c2(0x169)](_0x294784),_0x3a43b6&&_0x19f920[_0x2b45c2(0x160)](_0x3a43b6),this[_0x2b45c2(0x1e8)][_0x2b45c2(0x18c)](_0x4c2691),this[_0x2b45c2(0x17d)][_0x2b45c2(0x18c)](_0x294784),_0x4ee416[_0x2b45c2(0x157)]();}[_0x7b31e1(0x174)](_0x1fa2a4){const _0x4cfb77=_0x7b31e1;if(!_0x1fa2a4[_0x4cfb77(0x176)]||!this[_0x4cfb77(0x1e8)][_0x4cfb77(0x1e3)](_0x1fa2a4))return;const _0x356aab=this[_0x4cfb77(0x1b1)][_0x4cfb77(0x15b)][_0x4cfb77(0x1c7)](_0x4cfb77(0x18a)),_0x3f31f4=this[_0x4cfb77(0x1e8)][_0x4cfb77(0x1c7)](_0x1fa2a4),_0x55dd4a=_0x1fa2a4[_0x4cfb77(0x1b2)]();_0x3f31f4[_0x4cfb77(0x1dc)][_0x4cfb77(0x16c)]=_0x356aab[_0x4cfb77(0x1fa)][_0x4cfb77(0x1a9)](_0x55dd4a);}[_0x7b31e1(0x157)](){const _0x557315=_0x7b31e1;for(const _0x41d0d4 of this[_0x557315(0x1e8)][_0x557315(0x1cb)]())this[_0x557315(0x16b)](_0x41d0d4);for(const _0xd98934 of this[_0x557315(0x197)][_0x557315(0x199)]())_0xd98934[_0x557315(0x1cc)][_0x557315(0x157)]();super[_0x557315(0x157)](),this[_0x557315(0x18d)]&&clearInterval(this[_0x557315(0x18d)]);}}function _0xcd62(_0x1ac893,_0x15bb22){const _0x546eaf=_0x546e();return _0xcd62=function(_0xcd62b8,_0x1af568){_0xcd62b8=_0xcd62b8-0x14b;let _0x3ebbc8=_0x546eaf[_0xcd62b8];return _0x3ebbc8;},_0xcd62(_0x1ac893,_0x15bb22);}function ke(_0x1d1d89){const _0x3eb201=_0x7b31e1;return _0x3eb201(0x14e)in _0x1d1d89;}
|
|
23
|
+
const _0x2f8cbd=_0xc60e;function _0x4fed(){const _0x453fbe=['invalid','expired','licenseKey','from','innerView','getAllAdjacentSuggestions','push','change:previous','Accept\x20all\x20suggestions','panelView','previewFinalContent','_refreshActiveMarkers','fire','registerAnnotation','_handleSuggestionControllerDelayed','getFirstRange','acceptButton','8608089AIopzk','previous','16yNoWHh','_showLicenseError','isDirty','TrackChanges','button','Discard\x20all\x20selected\x20suggestions','get','acceptAllSuggestions','lowest','view','SuggestionView','_addUIComponentsToFactory','discardAllSuggestions','set','449332tQAfXr','commands','getRanges','_unbindEditors','reduce','trackChangesLicenseKeyDomainLimit','trackChangesLicenseKeyEvaluationLimit','CommentsRepository','_licenseKeyCheckInterval','trackChangesLicenseKeyValid','getAnnotationForSuggestion','isMultiRange','separator','getSuggestionForAnnotation','menuitem','7908507XWdTzR','listenTo','items','createAnnotationView','destroy','filter','mainView','length','getMarkerNames','trackChangesLicenseKeyUsageLimit','toMany','6ZwzKCe','refreshSelectedViews','bind','isInContent','_suggestionToController','suggestionChanged','isPremiumPlugin','trackChangesLicenseKeyInvalid','pluginName','has','trialLimit','delegate','_disableComments','unbind','Track\x20changes','62684wtcKIl','acceptSelectedSuggestions','Annotations','editing','trackChanges.SuggestionThreadView','descriptionFactory','suggestion-','suggestionLoaded','addMany','_annotationViews','_destroyController','model','domainLimit','_handleControllerBuffer','head','featureNotAllowed','focus','comments','comments.maxThreadTotalWeight','_updateController','escape','size','keys','add','EditorAnnotations','discardButton','usageLimit','delete','commentThread','discardSelectedSuggestions','isOfficialPlugin','commentsListView','menuitemcheckbox','_bindAnnotationToEditors','isEnabled','14312910xaFKNU','createCommentThreadController','Preview\x20final\x20content','execute','TrackChangesUI','buttonView','config','menuBar:trackChanges','value','hasSuggestion','componentFactory','trackChangesLicenseKeyTrialLimit','suggestionUnloaded','activeMarkers','commandName','locale','define','TrackChangesPreview','clear','plugins','2KheBCp','comments.editorConfig','addComment','trackChangesLicenseKeyExpired','trackChanges','_createToolbarButton','comments.maxCommentCharsWhenCollapsed','requires','children','createAnnotation','switchbutton','trackChanges.SuggestionView','evaluationLimit','getMarkers','_viewToController','CommentsUI','isOn','activeAnnotations','some','11UUSBsZ','_createMenuBarMenu','change:activeAnnotations','suggestionView','stopListening','arrowView','source','getByInnerView','actionView','remove','addSourceCollector','getSuggestion','CommentView','getJoined','descriptionParts','Discard\x20all\x20suggestions','values','type','Accept\x20all\x20selected\x20suggestions','editor','comments.maxCommentsWhenCollapsed','2307405iouCao','SuggestionThreadView','trackChangesLicenseKeyNotAllowed','_initializeController','init','5908650Krvcly','TrackChangesEditing','trackChanges.disableComments','getDescriptions','menu'];_0x4fed=function(){return _0x453fbe;};return _0x4fed();}(function(_0x3e0969,_0x282637){const _0x1922da=_0xc60e,_0x4f244e=_0x3e0969();while(!![]){try{const _0x33662d=-parseInt(_0x1922da(0x18f))/0x1*(-parseInt(_0x1922da(0x158))/0x2)+parseInt(_0x1922da(0x1b7))/0x3+-parseInt(_0x1922da(0x1e2))/0x4+parseInt(_0x1922da(0x1bc))/0x5+parseInt(_0x1922da(0x149))/0x6*(-parseInt(_0x1922da(0x1d2))/0x7)+-parseInt(_0x1922da(0x1d4))/0x8*(-parseInt(_0x1922da(0x13e))/0x9)+-parseInt(_0x1922da(0x17b))/0xa*(parseInt(_0x1922da(0x1a2))/0xb);if(_0x33662d===_0x282637)break;else _0x4f244e['push'](_0x4f244e['shift']());}catch(_0x18a471){_0x4f244e['push'](_0x4f244e['shift']());}}}(_0x4fed,0xf390c));import{Plugin as _0x325c2f}from'ckeditor5/src/core.js';import{Collection as _0x452ba9}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x12ede7}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x588443,createDropdown as _0xedb3f,ListSeparatorView as _0x3fd9a3,MenuBarMenuView as _0x528a37,MenuBarMenuListView as _0x308fb1,MenuBarMenuListItemView as _0x24148c,MenuBarMenuListItemButtonView as _0x24a2b3,SplitButtonView as _0xabc408,UIModel as _0x50f5b8}from'ckeditor5/src/ui.js';import{Users as _0x2e6ac5,getDateTimeFormatter as _0x320135,getAllMarkersDomElementsSorted as _0x3531f2}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0xb3baf7}from'./trackchangesediting.js';function _0xc60e(_0x34f9ea,_0x1a1452){const _0x4fedaf=_0x4fed();return _0xc60e=function(_0xc60e9e,_0xf83bf5){_0xc60e9e=_0xc60e9e-0x130;let _0x36b22d=_0x4fedaf[_0xc60e9e];return _0x36b22d;},_0xc60e(_0x34f9ea,_0x1a1452);}import{SuggestionController as _0x294710}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x45bb68}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5944c2}from'./ui/view/suggestionview.js';import{getTranslation as _0x487e7e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x325c2f{[_0x2f8cbd(0x1c3)];[_0x2f8cbd(0x137)];[_0x2f8cbd(0x14d)];[_0x2f8cbd(0x19d)];[_0x2f8cbd(0x161)];[_0x2f8cbd(0x165)];[_0x2f8cbd(0x155)];static get[_0x2f8cbd(0x196)](){const _0x4e5932=_0x2f8cbd;return[_0xb3baf7,_0x2e6ac5,_0x4e5932(0x136),_0x4e5932(0x15a),_0x4e5932(0x170)];}static get[_0x2f8cbd(0x151)](){const _0x4c709e=_0x2f8cbd;return _0x4c709e(0x17f);}static get[_0x2f8cbd(0x176)](){return!0x0;}static get[_0x2f8cbd(0x14f)](){return!0x0;}constructor(_0x357f48){const _0x138447=_0x2f8cbd;super(_0x357f48),this[_0x138447(0x14d)]=new Map(),this[_0x138447(0x19d)]=new Map(),this[_0x138447(0x161)]=new Map(),this[_0x138447(0x165)]=new Map();const _0x50ca40=this[_0x138447(0x1b5)][_0x138447(0x181)];_0x50ca40[_0x138447(0x18b)](_0x138447(0x15c),_0x45bb68),_0x50ca40[_0x138447(0x18b)](_0x138447(0x19a),_0x5944c2),_0x50ca40[_0x138447(0x18b)](_0x138447(0x1be),!0x1),this[_0x138447(0x155)]=_0x50ca40[_0x138447(0x1da)](_0x138447(0x1be));}[_0x2f8cbd(0x1cf)](_0x2a334d,_0x25630e){const _0xab4c40=_0x2f8cbd;0x0===this[_0xab4c40(0x165)][_0xab4c40(0x16d)]&&setTimeout(()=>{const _0x5f34f4=_0xab4c40;for(const [_0x46cd8d,_0x176316]of this[_0x5f34f4(0x165)]){const _0x5e2e4b=this[_0x5f34f4(0x14d)][_0x5f34f4(0x152)](_0x46cd8d);_0x5e2e4b||_0x176316?_0x5e2e4b&&_0x176316&&this[_0x5f34f4(0x162)](_0x46cd8d):this[_0x5f34f4(0x1ba)](_0x46cd8d);}this[_0x5f34f4(0x165)][_0x5f34f4(0x18d)](),this[_0x5f34f4(0x1b5)][_0x5f34f4(0x18e)][_0x5f34f4(0x1da)](_0x5f34f4(0x170))[_0x5f34f4(0x14a)](),this[_0x5f34f4(0x1cc)]();},0xa),this[_0xab4c40(0x165)][_0xab4c40(0x1e1)](_0x2a334d,_0x25630e);}[_0x2f8cbd(0x1bb)](){const _0xfa2f7d=_0x2f8cbd,_0x317638=this[_0xfa2f7d(0x1b5)],_0x847dc9=_0x317638[_0xfa2f7d(0x18e)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x1bd)),_0x53518e=_0x317638[_0xfa2f7d(0x18e)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x15a)),_0xd789ab=_0x317638[_0xfa2f7d(0x18e)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x170)),_0x54a811=_0x317638[_0xfa2f7d(0x18e)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x136));this[_0xfa2f7d(0x1df)](),_0xd789ab[_0xfa2f7d(0x1ac)](()=>{const _0x5027b2=_0xfa2f7d,_0x2fc2bd=[];for(const [_0x2839e5,_0x232311]of Array[_0x5027b2(0x1c4)](this[_0x5027b2(0x14d)])){const _0x4799da=_0x2839e5[_0x5027b2(0x1c6)](),_0x513eb0=[];for(const _0x4e96de of _0x4799da){if(!_0x4e96de[_0x5027b2(0x14c)])continue;if(_0x4e96de[_0x5027b2(0x13a)]){_0x513eb0[_0x5027b2(0x1c7)](..._0x4e96de[_0x5027b2(0x131)]());continue;}const _0x5d53d3=_0x4e96de[_0x5027b2(0x1d0)]();if(_0x513eb0[_0x5027b2(0x145)]>0x0){const _0x46d73e=_0x513eb0[0x0][_0x5027b2(0x1af)](_0x5d53d3);if(_0x46d73e){_0x513eb0[0x0]=_0x46d73e;continue;}}_0x513eb0[_0x5027b2(0x1c7)](_0x5d53d3);}_0x2fc2bd[_0x5027b2(0x1c7)]([_0x232311[_0x5027b2(0x1dd)],_0x513eb0]);}return _0x2fc2bd;}),this[_0xfa2f7d(0x13f)](_0x847dc9,_0xfa2f7d(0x15f),(_0x30fb88,_0x44a7b7)=>{const _0x30732b=_0xfa2f7d;this[_0x30732b(0x13f)](_0x44a7b7,_0x30732b(0x1c8),(_0xf98e81,_0x242d5b,_0x834c8f,_0x53102d)=>{const _0x46d316=_0x30732b;_0x44a7b7[_0x46d316(0x14c)]&&(null==_0x834c8f?(this[_0x46d316(0x16b)](_0x53102d[_0x46d316(0x166)]),this[_0x46d316(0x1cf)](_0x44a7b7,!0x1)):(this[_0x46d316(0x16b)](_0x834c8f[_0x46d316(0x166)]),null==_0x53102d&&this[_0x46d316(0x1cf)](_0x44a7b7,!0x0)));}),null!==_0x44a7b7[_0x30732b(0x1d3)]?this[_0x30732b(0x16b)](_0x44a7b7[_0x30732b(0x166)]):this[_0x30732b(0x1cf)](_0x44a7b7,!0x1);}),this[_0xfa2f7d(0x13f)](_0x847dc9,_0xfa2f7d(0x187),(_0x58c091,_0x563011,_0x170792)=>{const _0x1d3795=_0xfa2f7d;this[_0x1d3795(0x1a6)](_0x563011,_0x1d3795(0x1c8)),this[_0x1d3795(0x165)][_0x1d3795(0x173)](_0x563011),this[_0x1d3795(0x14d)][_0x1d3795(0x152)](_0x563011)&&this[_0x1d3795(0x162)](_0x563011),_0x170792&&this[_0x1d3795(0x16b)](_0x170792[_0x1d3795(0x166)]);}),this[_0xfa2f7d(0x13f)](_0x847dc9,_0xfa2f7d(0x14e),(_0x28ddde,_0x49a332)=>{const _0x2150c7=_0xfa2f7d;this[_0x2150c7(0x16b)](_0x49a332);}),this[_0xfa2f7d(0x13f)](_0x53518e,_0xfa2f7d(0x1a4),()=>{const _0x4f0f21=_0xfa2f7d;this[_0x4f0f21(0x1cc)]();}),this[_0xfa2f7d(0x13f)](_0x54a811,_0xfa2f7d(0x191),(_0x22f1f9,{threadId:_0x1a8752,isFromAdapter:_0xeb98f9})=>{const _0x3096e0=_0xfa2f7d;if(_0xeb98f9||!_0x847dc9[_0x3096e0(0x184)](_0x1a8752))return;const _0x3886d2=_0x847dc9[_0x3096e0(0x1ad)](_0x1a8752);this[_0x3096e0(0x14d)][_0x3096e0(0x1da)](_0x3886d2)[_0x3096e0(0x1dd)][_0x3096e0(0x177)][_0x3096e0(0x168)](-0x1);},{'priority':_0xfa2f7d(0x1dc)}),this[_0xfa2f7d(0x1c3)]=this[_0xfa2f7d(0x1b5)][_0xfa2f7d(0x181)][_0xfa2f7d(0x1da)](_0xfa2f7d(0x1c3));const _0x566bbc=this[_0xfa2f7d(0x1b5)];this[_0xfa2f7d(0x137)]=setInterval(()=>{const _0x551ee2=_0xfa2f7d;let _0x2acb62;for(const _0x178f00 in _0x566bbc){const _0x4c2f73=_0x178f00,_0x58715d=_0x566bbc[_0x4c2f73];if(_0x551ee2(0x138)==_0x58715d||_0x551ee2(0x150)==_0x58715d||_0x551ee2(0x192)==_0x58715d||_0x551ee2(0x134)==_0x58715d||_0x551ee2(0x1b9)==_0x58715d||_0x551ee2(0x135)==_0x58715d||_0x551ee2(0x186)==_0x58715d||_0x551ee2(0x147)==_0x58715d){delete _0x566bbc[_0x4c2f73],_0x2acb62=_0x58715d,clearInterval(this[_0x551ee2(0x137)]),this[_0x551ee2(0x137)]=void 0x0;break;}}_0x551ee2(0x150)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x1c1)),_0x551ee2(0x192)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x1c2)),_0x551ee2(0x134)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x164)),_0x551ee2(0x1b9)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x167),_0x551ee2(0x1d7)),_0x551ee2(0x135)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x19b)),_0x551ee2(0x186)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x153)),_0x551ee2(0x147)==_0x2acb62&&_0x566bbc[_0x551ee2(0x1d5)](_0x551ee2(0x172));},0x3e8);}[_0x2f8cbd(0x139)](_0x1aadd2){const _0x18cd79=_0x2f8cbd,_0x4aa106=this[_0x18cd79(0x14d)][_0x18cd79(0x1da)](_0x1aadd2);if(!_0x4aa106)return null;return this[_0x18cd79(0x1b5)][_0x18cd79(0x18e)][_0x18cd79(0x1da)](_0x18cd79(0x15a))[_0x18cd79(0x1a9)](_0x4aa106[_0x18cd79(0x1dd)])||null;}[_0x2f8cbd(0x13c)](_0xd37db8){const _0x261a2d=_0x2f8cbd,_0x183d6a=this[_0x261a2d(0x19d)][_0x261a2d(0x1da)](_0xd37db8[_0x261a2d(0x1c5)]);return _0x183d6a?_0x183d6a[_0x261a2d(0x163)]:null;}[_0x2f8cbd(0x1cc)](){const _0x35105f=_0x2f8cbd,_0x2a1682=this[_0x35105f(0x1b5)][_0x35105f(0x18e)][_0x35105f(0x1da)](_0x35105f(0x15a)),_0x381bf9=this[_0x35105f(0x1b5)][_0x35105f(0x18e)][_0x35105f(0x1da)](_0x35105f(0x1bd)),_0x3ac824=Array[_0x35105f(0x1c4)](_0x2a1682[_0x35105f(0x1a0)],_0x5475c3=>_0x5475c3[_0x35105f(0x1c5)])[_0x35105f(0x143)](_0x2759cb=>this[_0x35105f(0x19d)][_0x35105f(0x152)](_0x2759cb)),_0x31b685=[];for(const _0x4220f3 of _0x3ac824){const _0x15baf9=this[_0x35105f(0x19d)][_0x35105f(0x1da)](_0x4220f3)[_0x35105f(0x163)][_0x35105f(0x1c6)]();_0x31b685[_0x35105f(0x1c7)](..._0x15baf9[_0x35105f(0x133)]((_0x333590,_0x545894)=>[..._0x333590,..._0x545894[_0x35105f(0x146)]()],[]));}_0x381bf9[_0x35105f(0x188)]=_0x31b685;}[_0x2f8cbd(0x1df)](){const _0xf9097b=_0x2f8cbd,_0x5826b7=this[_0xf9097b(0x1b5)],_0x2295a0=_0x5826b7[_0xf9097b(0x18a)],_0x1af89c=_0x487e7e(_0x2295a0,_0xf9097b(0x157)),_0x12f3b6=new _0x452ba9([{'type':_0xf9097b(0x199),'model':new _0x50f5b8({'withText':!0x0,'isToggleable':!0x0,'label':_0x1af89c,'commandName':_0xf9097b(0x193),'role':_0xf9097b(0x178)})},{'type':_0xf9097b(0x13b)},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x1c9)),'commandName':_0xf9097b(0x1db),'role':_0xf9097b(0x13d)})},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x1b4)),'commandName':_0xf9097b(0x159),'role':_0xf9097b(0x13d)})},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x1b1)),'commandName':_0xf9097b(0x1e0),'role':_0xf9097b(0x13d)})},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x1d9)),'commandName':_0xf9097b(0x175),'role':_0xf9097b(0x13d)})}]);_0x5826b7[_0xf9097b(0x18e)][_0xf9097b(0x152)](_0xf9097b(0x18c))&&_0x12f3b6[_0xf9097b(0x160)]([{'type':_0xf9097b(0x13b)},{'type':_0xf9097b(0x1d8),'model':new _0x50f5b8({'withText':!0x0,'label':_0x487e7e(_0x2295a0,_0xf9097b(0x17d)),'commandName':_0xf9097b(0x1cb),'role':_0xf9097b(0x13d)})}]);for(const _0x24d5e5 of _0x12f3b6)if(ke(_0x24d5e5)){const _0x3b9082=_0x5826b7[_0xf9097b(0x130)][_0xf9097b(0x1da)](_0x24d5e5[_0xf9097b(0x163)][_0xf9097b(0x189)]);_0x24d5e5[_0xf9097b(0x163)][_0xf9097b(0x14b)](_0xf9097b(0x19f),_0xf9097b(0x17a))['to'](_0x3b9082,_0xf9097b(0x183),_0xf9097b(0x17a));}_0x5826b7['ui'][_0xf9097b(0x185)][_0xf9097b(0x16f)](_0xf9097b(0x193),_0x24ec90=>this[_0xf9097b(0x194)](_0x24ec90,_0x12f3b6,_0x1af89c)),_0x5826b7['ui'][_0xf9097b(0x185)][_0xf9097b(0x16f)](_0xf9097b(0x182),_0x4ecef0=>this[_0xf9097b(0x1a3)](_0x4ecef0,_0x12f3b6,_0x1af89c));}[_0x2f8cbd(0x194)](_0x45a78a,_0x4ba511,_0x3bf97a){const _0x111678=_0x2f8cbd,_0x414c30=_0xedb3f(_0x45a78a,_0xabc408),_0x5d7ad5=this[_0x111678(0x1b5)][_0x111678(0x130)][_0x111678(0x1da)](_0x111678(0x193));_0x414c30[_0x111678(0x180)][_0x111678(0x1e1)]({'tooltip':_0x3bf97a,'label':_0x3bf97a,'icon':_0x12ede7}),_0x414c30[_0x111678(0x180)][_0x111678(0x14b)](_0x111678(0x19f))['to'](_0x5d7ad5,_0x111678(0x183)),_0x414c30[_0x111678(0x180)]['on'](_0x111678(0x17e),()=>{const _0x3d364c=_0x111678;_0x5d7ad5[_0x3d364c(0x17e)](),this[_0x3d364c(0x1b5)][_0x3d364c(0x15b)][_0x3d364c(0x1dd)][_0x3d364c(0x168)]();}),_0x588443(_0x414c30,_0x4ba511,{'role':_0x111678(0x1c0)});const _0x2271fc=[];for(const _0x1a642e of _0x4ba511)ke(_0x1a642e)&&_0x2271fc[_0x111678(0x1c7)](this[_0x111678(0x1b5)][_0x111678(0x130)][_0x111678(0x1da)](_0x1a642e[_0x111678(0x163)][_0x111678(0x189)]));const _0x683bc7=_0x414c30[_0x111678(0x180)];return _0x683bc7[_0x111678(0x1aa)][_0x111678(0x156)](_0x111678(0x17a)),_0x683bc7[_0x111678(0x1a7)][_0x111678(0x156)](_0x111678(0x17a)),_0x683bc7[_0x111678(0x1aa)][_0x111678(0x14b)](_0x111678(0x17a))['to'](_0x5d7ad5,_0x111678(0x17a)),_0x683bc7[_0x111678(0x1a7)][_0x111678(0x14b)](_0x111678(0x17a))[_0x111678(0x148)](_0x2271fc,_0x111678(0x17a),(..._0x31f2f2)=>_0x31f2f2[_0x111678(0x1a1)](_0xe3a2cf=>_0xe3a2cf)),_0x414c30['on'](_0x111678(0x17e),_0x27f839=>{const _0x5a67e2=_0x111678;this[_0x5a67e2(0x1b5)][_0x5a67e2(0x17e)](_0x27f839[_0x5a67e2(0x1a8)][_0x5a67e2(0x189)]),this[_0x5a67e2(0x1b5)][_0x5a67e2(0x15b)][_0x5a67e2(0x1dd)][_0x5a67e2(0x168)]();}),_0x414c30;}[_0x2f8cbd(0x1a3)](_0x22b721,_0x101f68,_0x5823cc){const _0x57c4f9=_0x2f8cbd,_0x284198=new _0x528a37(_0x22b721),_0x3bb2d4=this[_0x57c4f9(0x1b5)][_0x57c4f9(0x130)][_0x57c4f9(0x1da)](_0x57c4f9(0x193));_0x284198[_0x57c4f9(0x180)][_0x57c4f9(0x1e1)]({'label':_0x5823cc,'icon':_0x12ede7});const _0x1c670a=new _0x308fb1(_0x22b721);for(const _0x478230 of _0x101f68){if(_0x57c4f9(0x13b)==_0x478230[_0x57c4f9(0x1b3)]){_0x1c670a[_0x57c4f9(0x140)][_0x57c4f9(0x16f)](new _0x3fd9a3(_0x22b721));continue;}const _0x493c77=new _0x24148c(_0x22b721,_0x284198),_0x301ddb=new _0x24a2b3(_0x22b721),_0x31a358=_0x478230[_0x57c4f9(0x163)];_0x301ddb[_0x57c4f9(0x14b)](...Object[_0x57c4f9(0x16e)](_0x31a358))['to'](_0x31a358),_0x301ddb[_0x57c4f9(0x154)](_0x57c4f9(0x17e))['to'](_0x284198),_0x301ddb['on'](_0x57c4f9(0x17e),()=>{const _0x4b67fb=_0x57c4f9;this[_0x4b67fb(0x1b5)][_0x4b67fb(0x17e)](_0x31a358[_0x4b67fb(0x189)]),this[_0x4b67fb(0x1b5)][_0x4b67fb(0x15b)][_0x4b67fb(0x1dd)][_0x4b67fb(0x168)]();}),_0x493c77[_0x57c4f9(0x197)][_0x57c4f9(0x16f)](_0x301ddb),_0x1c670a[_0x57c4f9(0x140)][_0x57c4f9(0x16f)](_0x493c77);}return _0x284198[_0x57c4f9(0x14b)](_0x57c4f9(0x17a))['to'](_0x3bb2d4,_0x57c4f9(0x17a)),_0x284198[_0x57c4f9(0x1ca)][_0x57c4f9(0x197)][_0x57c4f9(0x16f)](_0x1c670a),_0x284198;}[_0x2f8cbd(0x1ba)](_0x2f2f69){const _0x4c0caa=_0x2f8cbd,_0x5f540a=this[_0x4c0caa(0x1b5)],_0x50df01=_0x5f540a[_0x4c0caa(0x181)],_0x2cdc20=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x15a)),_0xf1fe94=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x136)),_0x58c3de=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x170)),_0x2ef9ad=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x2e6ac5)['me'],_0x4e146a=_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x193))[_0x4c0caa(0x1b8)],_0x36fd46=_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x193))[_0x4c0caa(0x1de)],{CommentsListView:_0x339e18,CommentThreadInputView:_0x5d8511}=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x19e));let _0x6fadf8,_0x433af1,_0x5917bf;this[_0x4c0caa(0x161)][_0x4c0caa(0x152)](_0x2f2f69['id'])?(_0x433af1=this[_0x4c0caa(0x161)][_0x4c0caa(0x1da)](_0x2f2f69['id']),_0x6fadf8=_0x433af1[_0x4c0caa(0x144)]):(_0x6fadf8=new _0x4e146a(_0x5f540a[_0x4c0caa(0x18a)],_0x2f2f69,_0x2ef9ad,{'disableComments':this[_0x4c0caa(0x155)],'editorConfig':{..._0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x190)),'licenseKey':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x1c3))},'maxCommentsWhenCollapsed':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x1b6)),'maxThreadTotalWeight':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x16a)),'maxCommentCharsWhenCollapsed':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x195)),'formatDateTime':_0x320135(_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x18a)),_0x5f540a[_0x4c0caa(0x18a)]),'CommentView':_0x50df01[_0x4c0caa(0x1da)](_0x4c0caa(0x169))[_0x4c0caa(0x1ae)],'CommentsListView':_0x339e18,'CommentThreadInputView':_0x5d8511,'SuggestionView':_0x36fd46}),_0x6fadf8[_0x4c0caa(0x1a5)][_0x4c0caa(0x1d1)]['on'](_0x4c0caa(0x17e),()=>{const _0x24db9a=_0x4c0caa;_0x5f540a[_0x24db9a(0x15b)][_0x24db9a(0x1dd)][_0x24db9a(0x168)]();}),_0x6fadf8[_0x4c0caa(0x1a5)][_0x4c0caa(0x171)]['on'](_0x4c0caa(0x17e),()=>{const _0x4ca872=_0x4c0caa;_0x5f540a[_0x4ca872(0x15b)][_0x4ca872(0x1dd)][_0x4ca872(0x168)]();}),_0x433af1=_0x2cdc20[_0x4c0caa(0x141)](this[_0x4c0caa(0x1b5)][_0x4c0caa(0x18a)],_0x6fadf8),_0x433af1[_0x4c0caa(0x14b)](_0x4c0caa(0x1d6))['to'](_0x6fadf8,_0x4c0caa(0x1d6)),_0x433af1[_0x4c0caa(0x14b)](_0x4c0caa(0x145))['to'](_0x6fadf8),_0x433af1[_0x4c0caa(0x14b)](_0x4c0caa(0x1b3))['to'](_0x6fadf8,_0x4c0caa(0x1b3),_0x530d31=>_0x4c0caa(0x15e)+_0x530d31),_0x6fadf8['on'](_0x4c0caa(0x16c),()=>{const _0x21607b=_0x4c0caa;_0x5917bf[_0x21607b(0x1cd)](_0x21607b(0x16c));}),this[_0x4c0caa(0x161)][_0x4c0caa(0x1e1)](_0x2f2f69['id'],_0x433af1));const _0x5da3b0=_0xf1fe94[_0x4c0caa(0x17c)](_0x2f2f69[_0x4c0caa(0x174)],_0x6fadf8),_0x1d5ad4=new _0x294710(_0x5f540a,_0x2f2f69,_0x6fadf8,_0x5da3b0),_0x5e24f7=_0x2f2f69[_0x4c0caa(0x1c6)]()[_0x4c0caa(0x143)](_0x33d117=>_0x33d117[_0x4c0caa(0x14c)]);_0x6fadf8[_0x4c0caa(0x1b0)]=_0x5f540a[_0x4c0caa(0x18e)][_0x4c0caa(0x1da)](_0x4c0caa(0x1bd))[_0x4c0caa(0x15d)][_0x4c0caa(0x1bf)](_0x5e24f7),this[_0x4c0caa(0x14d)][_0x4c0caa(0x1e1)](_0x2f2f69,_0x1d5ad4),this[_0x4c0caa(0x19d)][_0x4c0caa(0x1e1)](_0x6fadf8,_0x1d5ad4);const _0x21af4f=()=>{const _0x1126ed=_0x4c0caa,_0xf14e94=[],_0x942dd7=_0x2f2f69[_0x1126ed(0x1c6)]()[_0x1126ed(0x143)](_0xb778a7=>_0xb778a7[_0x1126ed(0x14c)]);for(const _0xdfb809 of _0x942dd7)_0xf14e94[_0x1126ed(0x1c7)](..._0xdfb809[_0x1126ed(0x19c)]());return _0x3531f2(_0x5f540a[_0x1126ed(0x15b)],_0xf14e94);};_0x5917bf=_0x2cdc20[_0x4c0caa(0x198)]({'view':_0x433af1,'target':_0x21af4f,'type':()=>_0x4c0caa(0x15e)+_0x1d5ad4[_0x4c0caa(0x1dd)][_0x4c0caa(0x1b3)],'isVisible':!!_0x21af4f()}),_0xf1fe94[_0x4c0caa(0x179)](_0x6fadf8,_0x5917bf),_0x2cdc20[_0x4c0caa(0x16f)](_0x5917bf),_0x58c3de[_0x4c0caa(0x1ce)](_0x5917bf);}[_0x2f8cbd(0x162)](_0x568106){const _0x1c2fca=_0x2f8cbd,_0x48b9ff=this[_0x1c2fca(0x1b5)][_0x1c2fca(0x18e)][_0x1c2fca(0x1da)](_0x1c2fca(0x136)),_0x4b7f5e=this[_0x1c2fca(0x1b5)][_0x1c2fca(0x18e)][_0x1c2fca(0x1da)](_0x1c2fca(0x15a)),_0x2f39a6=this[_0x1c2fca(0x14d)][_0x1c2fca(0x1da)](_0x568106),_0x4ff0e7=_0x2f39a6[_0x1c2fca(0x1dd)],_0x1a0a42=_0x4b7f5e[_0x1c2fca(0x1a9)](_0x4ff0e7);_0x48b9ff[_0x1c2fca(0x132)](_0x4ff0e7),_0x1a0a42&&_0x4b7f5e[_0x1c2fca(0x1ab)](_0x1a0a42),this[_0x1c2fca(0x14d)][_0x1c2fca(0x173)](_0x568106),this[_0x1c2fca(0x19d)][_0x1c2fca(0x173)](_0x4ff0e7),_0x2f39a6[_0x1c2fca(0x142)]();}[_0x2f8cbd(0x16b)](_0x414f3a){const _0x17672c=_0x2f8cbd;if(!_0x414f3a[_0x17672c(0x14c)]||!this[_0x17672c(0x14d)][_0x17672c(0x152)](_0x414f3a))return;const _0x234861=this[_0x17672c(0x1b5)][_0x17672c(0x18e)][_0x17672c(0x1da)](_0x17672c(0x1bd)),_0x341333=this[_0x17672c(0x14d)][_0x17672c(0x1da)](_0x414f3a),_0x4e970a=_0x414f3a[_0x17672c(0x1c6)]();_0x341333[_0x17672c(0x1dd)][_0x17672c(0x1b0)]=_0x234861[_0x17672c(0x15d)][_0x17672c(0x1bf)](_0x4e970a);}[_0x2f8cbd(0x142)](){const _0x1ecd20=_0x2f8cbd;for(const _0x473523 of this[_0x1ecd20(0x14d)][_0x1ecd20(0x16e)]())this[_0x1ecd20(0x162)](_0x473523);for(const _0x1d9e95 of this[_0x1ecd20(0x161)][_0x1ecd20(0x1b2)]())_0x1d9e95[_0x1ecd20(0x144)][_0x1ecd20(0x142)]();super[_0x1ecd20(0x142)](),this[_0x1ecd20(0x137)]&&clearInterval(this[_0x1ecd20(0x137)]);}}function ke(_0x2ca251){const _0x4686e3=_0x2f8cbd;return _0x4686e3(0x163)in _0x2ca251;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x360786=_0x1d74;(function(_0x5b9a3a,_0x207848){const _0x5a9b57=_0x1d74,_0x55483e=_0x5b9a3a();while(!![]){try{const _0x5a1582=-parseInt(_0x5a9b57(0x152))/0x1+-parseInt(_0x5a9b57(0x154))/0x2+parseInt(_0x5a9b57(0x158))/0x3+parseInt(_0x5a9b57(0x13c))/0x4+-parseInt(_0x5a9b57(0x144))/0x5+-parseInt(_0x5a9b57(0x146))/0x6+-parseInt(_0x5a9b57(0x157))/0x7*(-parseInt(_0x5a9b57(0x15b))/0x8);if(_0x5a1582===_0x207848)break;else _0x55483e['push'](_0x55483e['shift']());}catch(_0x5592b4){_0x55483e['push'](_0x55483e['shift']());}}}(_0x1f81,0x2d81c));function _0x1d74(_0x1ff6a5,_0x38eba9){const _0x1f8110=_0x1f81();return _0x1d74=function(_0x1d7434,_0x40ccd7){_0x1d7434=_0x1d7434-0x137;let _0x4c014f=_0x1f8110[_0x1d7434];return _0x4c014f;},_0x1d74(_0x1ff6a5,_0x38eba9);}import{ObservableMixin as _0x321af3}from'ckeditor5/src/utils.js';import{getTranslation as _0x4dd1a2}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x321af3(){[_0x360786(0x14a)];[_0x360786(0x142)];[_0x360786(0x156)];[_0x360786(0x13a)];[_0x360786(0x15e)];[_0x360786(0x151)];[_0x360786(0x141)];constructor(_0xbc3eae,_0xa3d8e8,_0x1195e3,_0x5bf59a){const _0x9473fd=_0x360786;super(),this[_0x9473fd(0x14a)]=_0xa3d8e8,this[_0x9473fd(0x142)]=_0x1195e3,this[_0x9473fd(0x156)]=_0x5bf59a,this[_0x9473fd(0x13a)]=_0xbc3eae,this[_0x9473fd(0x15e)]=_0xbc3eae[_0x9473fd(0x138)][_0x9473fd(0x150)](_0x9473fd(0x14b)),this[_0x9473fd(0x151)]=_0xbc3eae[_0x9473fd(0x138)][_0x9473fd(0x150)](_0x9473fd(0x13f)),this[_0x9473fd(0x142)][_0x9473fd(0x143)](_0x9473fd(0x153))['to'](this[_0x9473fd(0x15e)],this[_0x9473fd(0x151)],(_0x40fb98,_0x51f7c4)=>_0x40fb98||_0x51f7c4),this[_0x9473fd(0x142)][_0x9473fd(0x143)](_0x9473fd(0x139))['to'](this[_0x9473fd(0x15e)],_0x9473fd(0x153),_0x48663d=>_0x48663d&&this[_0x9473fd(0x13a)][_0x9473fd(0x14a)][_0x9473fd(0x13b)](_0xa3d8e8[_0x9473fd(0x159)]())),this[_0x9473fd(0x142)][_0x9473fd(0x143)](_0x9473fd(0x13e))['to'](this[_0x9473fd(0x151)],_0x9473fd(0x153),_0x555d98=>_0x555d98&&this[_0x9473fd(0x13a)][_0x9473fd(0x14a)][_0x9473fd(0x13b)](_0xa3d8e8[_0x9473fd(0x159)]())),this[_0x9473fd(0x141)]=null,_0x1195e3[_0x9473fd(0x137)]&&this[_0x9473fd(0x149)](),this[_0x9473fd(0x155)](_0x1195e3,_0x9473fd(0x14b),()=>this[_0x9473fd(0x14b)]()),this[_0x9473fd(0x155)](_0x1195e3,_0x9473fd(0x13f),()=>this[_0x9473fd(0x13f)]()),this[_0x9473fd(0x155)](_0x1195e3,_0x9473fd(0x14e),()=>{const _0x574049=_0x9473fd;_0x1195e3[_0x574049(0x137)]?this[_0x574049(0x149)]():this[_0x574049(0x15c)]();});}[_0x360786(0x14b)](){const _0x5cc6e4=_0x360786;this[_0x5cc6e4(0x15e)][_0x5cc6e4(0x14c)](this[_0x5cc6e4(0x14a)]['id']);}[_0x360786(0x13f)](){const _0x4ff56a=_0x360786;this[_0x4ff56a(0x151)][_0x4ff56a(0x14c)](this[_0x4ff56a(0x14a)]['id']);}[_0x360786(0x13d)](){const _0x16f2b6=_0x360786;this[_0x16f2b6(0x142)][_0x16f2b6(0x14d)](_0x16f2b6(0x153)),this[_0x16f2b6(0x142)][_0x16f2b6(0x14d)](_0x16f2b6(0x139)),this[_0x16f2b6(0x142)][_0x16f2b6(0x14d)](_0x16f2b6(0x13e)),this[_0x16f2b6(0x147)](),this[_0x16f2b6(0x156)][_0x16f2b6(0x13d)](),this[_0x16f2b6(0x141)]&&this[_0x16f2b6(0x15c)]();}[_0x360786(0x149)](){const _0x5b8022=_0x360786,_0x368e8b=_0x4dd1a2(this[_0x5b8022(0x13a)][_0x5b8022(0x15d)],_0x5b8022(0x14f));this[_0x5b8022(0x141)]=this[_0x5b8022(0x13a)][_0x5b8022(0x140)][_0x5b8022(0x150)](_0x5b8022(0x148))[_0x5b8022(0x145)](_0x368e8b);}[_0x360786(0x15c)](){const _0x37f23d=_0x360786;null!==this[_0x37f23d(0x141)]&&this[_0x37f23d(0x13a)][_0x37f23d(0x140)][_0x37f23d(0x150)](_0x37f23d(0x148))[_0x37f23d(0x15a)](this[_0x37f23d(0x141)]),this[_0x37f23d(0x141)]=null;}}function _0x1f81(){const _0x2859ad=['canDiscard','discardSuggestion','plugins','_pendingAction','view','bind','1648005cCboop','add','345942ozdIKl','stopListening','PendingActions','_setPendingAction','model','acceptSuggestion','execute','unbind','change:isDirty','PENDING_ACTION_SUGGESTION','get','_discardCommand','164630zvVSqc','isEnabled','72316oZLCQN','listenTo','commentThreadController','7GOOHXw','838959IDwinT','getRanges','remove','2387088mKXEIL','_removePendingAction','locale','_acceptCommand','isDirty','commands','canAccept','_editor','canEditAt','785612Ausxqv','destroy'];_0x1f81=function(){return _0x2859ad;};return _0x1f81();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x297fe1=_0x3b19;function _0x3b19(_0x32beb1,_0x46bf73){const _0x4aeb8a=_0x4aeb();return _0x3b19=function(_0x3b1989,_0x2b5f43){_0x3b1989=_0x3b1989-0x78;let _0x3d3405=_0x4aeb8a[_0x3b1989];return _0x3d3405;},_0x3b19(_0x32beb1,_0x46bf73);}(function(_0x4b216e,_0x559fd4){const _0x5c7a84=_0x3b19,_0xeec65f=_0x4b216e();while(!![]){try{const _0x4fb2f9=-parseInt(_0x5c7a84(0xaf))/0x1+parseInt(_0x5c7a84(0xad))/0x2*(parseInt(_0x5c7a84(0x97))/0x3)+parseInt(_0x5c7a84(0x89))/0x4*(-parseInt(_0x5c7a84(0xb9))/0x5)+parseInt(_0x5c7a84(0xc0))/0x6+-parseInt(_0x5c7a84(0x8e))/0x7+parseInt(_0x5c7a84(0xae))/0x8+parseInt(_0x5c7a84(0xbf))/0x9*(parseInt(_0x5c7a84(0x9d))/0xa);if(_0x4fb2f9===_0x559fd4)break;else _0xeec65f['push'](_0xeec65f['shift']());}catch(_0x3d27fc){_0xeec65f['push'](_0xeec65f['shift']());}}}(_0x4aeb,0xceaf5));import{FocusCycler as _0x34b206,View as _0x43e8d0,ViewCollection as _0x69e389}from'ckeditor5/src/ui.js';import{FocusTracker as _0x21788d,KeystrokeHandler as _0x470bd1}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x392e51,setupThreadKeyboardNavigation as _0x16d84f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4aeb(){const _0x184414=['removeComment','text/html','locale','textContent','9zJWrXg','4152924AZgMuW','_createCommentViews','destroy','focus','isDirty','hasDirtyComment','length','CommentView','focusTracker','isEnabled','disabledSubmit','disableComments','fire','_model','render','focusCycler','_createCommentThreadInputView','cancel','749912yWrrUJ','addComment','name','canDiscard','value','11327589gPOnWz','setData','target','submit','SUGGESTION_THREAD_DESCRIPTION','set','_config','SUGGESTION_THREAD_ARIA_LABEL','bind','3LIppUI','assign','_localUser','showInput','tab','commentThreadInputView','16429100fASfak','content','isActive','delegate','keystrokes','map','element','body','commentThread','editorConfig','shift+tab','commentInputView','updateComment','authoredAt','ariaLabel','author','2646854iLEQzH','8670072lfpbED','1527530QIaLrn','editor','canAccept','commentsListView','focusables','parseFromString','descriptionParts','join','isReadOnly','formatDateTime','20tPZUZM','ariaDescriptionView'];_0x4aeb=function(){return _0x184414;};return _0x4aeb();}import{getTranslation as _0x4c7503}from'../../utils/common-translations.js';import{renderDescription as _0x5248d3}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x43e8d0{[_0x297fe1(0xb2)];[_0x297fe1(0x9c)];[_0x297fe1(0xba)];[_0x297fe1(0xb3)];[_0x297fe1(0x7f)];[_0x297fe1(0xa1)];[_0x297fe1(0x86)];[_0x297fe1(0x84)];[_0x297fe1(0x99)];[_0x297fe1(0x94)];constructor(_0xebe27f,_0x259121,_0xe4fdec,_0x116608){const _0xf499fb=_0x297fe1;super(_0xebe27f),this[_0xf499fb(0xb2)]=null,this[_0xf499fb(0x9c)]=null,this[_0xf499fb(0xba)]=new _0x392e51(_0xebe27f,_0x4c7503(_0xebe27f,_0xf499fb(0x92))),this[_0xf499fb(0x93)](_0xf499fb(0x9f),!0x1),this[_0xf499fb(0x93)](_0xf499fb(0xaa),_0x259121[_0xf499fb(0xaa)]),this[_0xf499fb(0x96)](_0xf499fb(0xaa))['to'](_0x259121),this[_0xf499fb(0x93)](_0xf499fb(0xb5),[]),this[_0xf499fb(0x93)](_0xf499fb(0x7b),!0x1),this[_0xf499fb(0x93)](_0xf499fb(0x80),!0x1),this[_0xf499fb(0x93)](_0xf499fb(0xb1),!0x1),this[_0xf499fb(0x93)](_0xf499fb(0x8c),!0x1),this[_0xf499fb(0x96)](_0xf499fb(0xab))['to'](this,_0xf499fb(0x7d),_0x259121,_0xf499fb(0xaa),this,_0xf499fb(0xb5),(_0x156914,_0x4c3462,_0x20fa3b)=>{const _0x210dd3=_0xf499fb,_0x4b25e9=_0x20fa3b[_0x210dd3(0xa2)](_0x4f4cb3=>_0x5248d3(_0x4f4cb3[_0x210dd3(0x9e)]))[_0x210dd3(0xb6)]('.\x20')+'.';return _0x4c7503(this[_0x210dd3(0xbd)],_0x210dd3(0x95),[_0x156914-0x1,_0x259121[_0x210dd3(0xac)][_0x210dd3(0x8b)],_0x4c3462?_0x116608[_0x210dd3(0xb8)](_0x4c3462):'',new DOMParser()[_0x210dd3(0xb4)](_0x4b25e9,_0x210dd3(0xbc))[_0x210dd3(0xa4)][_0x210dd3(0xbe)]]);}),this[_0xf499fb(0xb3)]=new _0x69e389(),this[_0xf499fb(0x7f)]=new _0x21788d(),this[_0xf499fb(0xa1)]=new _0x470bd1(),this[_0xf499fb(0x86)]=new _0x34b206({'focusables':this[_0xf499fb(0xb3)],'focusTracker':this[_0xf499fb(0x7f)],'keystrokeHandler':this[_0xf499fb(0xa1)],'keystrokeHandlerOptions':{'filter':_0x2332d5=>_0x2332d5[_0xf499fb(0x90)]!==this[_0xf499fb(0xa3)]},'actions':{'focusPrevious':_0xf499fb(0xa7),'focusNext':_0xf499fb(0x9b)}}),this[_0xf499fb(0x84)]=_0x259121,this[_0xf499fb(0x99)]=_0xe4fdec,this[_0xf499fb(0x94)]=_0x116608,_0x116608[_0xf499fb(0x82)]?this[_0xf499fb(0x93)](_0xf499fb(0x7d),0x1):this[_0xf499fb(0x78)]();}[_0x297fe1(0x85)](){const _0x12e4fa=_0x297fe1;super[_0x12e4fa(0x85)](),_0x16d84f(this,this[_0x12e4fa(0xb3)]);}[_0x297fe1(0x7a)](){const _0x34cf5b=_0x297fe1;this[_0x34cf5b(0xa3)][_0x34cf5b(0x7a)]();}[_0x297fe1(0x79)](){const _0x577f88=_0x297fe1;this[_0x577f88(0xb2)]&&this[_0x577f88(0xb2)][_0x577f88(0x79)](),this[_0x577f88(0x9c)]&&this[_0x577f88(0x9c)][_0x577f88(0x79)](),super[_0x577f88(0x79)]();}[_0x297fe1(0x78)](){const _0x1b73e0=_0x297fe1,{CommentsListView:_0x3853f9}=this[_0x1b73e0(0x94)];this[_0x1b73e0(0xb2)]=new _0x3853f9(this[_0x1b73e0(0xbd)],this[_0x1b73e0(0x84)][_0x1b73e0(0xa5)],Object[_0x1b73e0(0x98)]({'CommentView':this[_0x1b73e0(0x94)][_0x1b73e0(0x7e)]},this[_0x1b73e0(0x94)])),this[_0x1b73e0(0xb2)][_0x1b73e0(0xa0)](_0x1b73e0(0xbb))['to'](this),this[_0x1b73e0(0xb2)][_0x1b73e0(0xa0)](_0x1b73e0(0xa9))['to'](this),this[_0x1b73e0(0xb2)][_0x1b73e0(0x96)](_0x1b73e0(0x9f))['to'](this),this[_0x1b73e0(0x93)](_0x1b73e0(0x7d),this[_0x1b73e0(0xb2)][_0x1b73e0(0x7d)]+0x1),this[_0x1b73e0(0x96)](_0x1b73e0(0x7d))['to'](this[_0x1b73e0(0xb2)],_0x1b73e0(0x7d),_0x2829c2=>_0x2829c2+0x1),this[_0x1b73e0(0x9c)]=this[_0x1b73e0(0x87)](),this['on'](_0x1b73e0(0xbb),()=>this[_0x1b73e0(0x7a)]()),this[_0x1b73e0(0x96)](_0x1b73e0(0x7b))['to'](this[_0x1b73e0(0xb2)],_0x1b73e0(0x7c),this[_0x1b73e0(0x9c)][_0x1b73e0(0xa8)],_0x1b73e0(0x8d),(_0x245326,_0x4e48bb)=>_0x245326||!!_0x4e48bb);}[_0x297fe1(0x87)](){const _0x514f65=_0x297fe1,{CommentThreadInputView:_0x15bcad}=this[_0x514f65(0x94)],_0x1cb804=new _0x15bcad(this[_0x514f65(0xbd)],this[_0x514f65(0x99)],this[_0x514f65(0x94)][_0x514f65(0xa6)]),_0x29aca5=_0x1cb804[_0x514f65(0xa8)];return _0x1cb804[_0x514f65(0x96)](_0x514f65(0x9a))['to'](this,_0x514f65(0x9f),this[_0x514f65(0x84)][_0x514f65(0xa5)],_0x514f65(0xb7),_0x29aca5,_0x514f65(0x8d),(_0x21fdf4,_0xe22c3d,_0x57798e)=>!!_0x57798e||_0x21fdf4&&!_0xe22c3d),_0x29aca5['on'](_0x514f65(0x91),(_0x4a1f59,_0x3e7830)=>{const _0x1bc182=_0x514f65;this[_0x1bc182(0x83)](_0x1bc182(0x8a),_0x3e7830),_0x29aca5[_0x1bc182(0xb0)][_0x1bc182(0x8f)]('');}),_0x29aca5['on'](_0x514f65(0x88),()=>this[_0x514f65(0x7a)]()),_0x29aca5[_0x514f65(0x96)](_0x514f65(0x81))['to'](this[_0x514f65(0x84)][_0x514f65(0xa5)],_0x514f65(0xb7)),_0x1cb804;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1759ee=_0x5dd6;(function(_0x3db30b,_0x3369aa){const _0xe01d69=_0x5dd6,_0xfcdd4b=_0x3db30b();while(!![]){try{const _0x2036ef=parseInt(_0xe01d69(0x97))/0x1+-parseInt(_0xe01d69(0x99))/0x2+parseInt(_0xe01d69(0xbe))/0x3*(-parseInt(_0xe01d69(0xba))/0x4)+-parseInt(_0xe01d69(0x8f))/0x5*(parseInt(_0xe01d69(0xbb))/0x6)+-parseInt(_0xe01d69(0xa6))/0x7*(-parseInt(_0xe01d69(0xbd))/0x8)+-parseInt(_0xe01d69(0xb7))/0x9*(-parseInt(_0xe01d69(0x9d))/0xa)+parseInt(_0xe01d69(0xa3))/0xb;if(_0x2036ef===_0x3369aa)break;else _0xfcdd4b['push'](_0xfcdd4b['shift']());}catch(_0x3fde0f){_0xfcdd4b['push'](_0xfcdd4b['shift']());}}}(_0x3782,0xb3cd1));function _0x5dd6(_0x1f772b,_0x1484e8){const _0x378228=_0x3782();return _0x5dd6=function(_0x5dd609,_0x3c6baa){_0x5dd609=_0x5dd609-0x8d;let _0x4de733=_0x378228[_0x5dd609];return _0x4de733;},_0x5dd6(_0x1f772b,_0x1484e8);}import{BaseSuggestionThreadView as _0x2d9219}from'./basesuggestionthreadview.js';function _0x3782(){const _0x254053=['color','formatDateTime','ck-suggestion-wrapper--active','descriptionParts','38105KNeaKM','</p>','delegate','acceptButton','ck-suggestion-','<p>','_descriptionElement','bind','417053AduHyV','ck-suggestion-wrapper','2212242DLAVAu','isActive','canAccept','isEnabled','1229210mCBAMt','render','acceptSuggestion','ck-suggestion--disabled-comments','discardButton','add','23744589NPgOQk','discardSuggestion','focusables','5350597lqwDGs','editorDestroyed','_config','content','ariaLabel','listitem','setTemplate','getTemplate','ck-rounded-corners','ariaDescriptionView','commentThreadInputView','bindTemplate','description','_model','suggestionView','commentsListView','canDiscard','9wMzDoX','set','push','4hkPNgf','450hyuOix','div','8qQXCGR','3146349FRdsvs','disableComments','author','SuggestionView','type','editorReady','commentThread'];_0x3782=function(){return _0x254053;};return _0x3782();}import{trimHtml as _0x26a7d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x254e4e}from'../../utils/utils.js';export class SuggestionThreadView extends _0x2d9219{[_0x1759ee(0xb4)];[_0x1759ee(0x95)];constructor(_0x2dc4dc,_0x25ffa6,_0x20c06d,_0x5f3f47){const _0x20e555=_0x1759ee;super(_0x2dc4dc,_0x25ffa6,_0x20c06d,_0x5f3f47),this[_0x20e555(0xb8)](_0x20e555(0xc2),''),this[_0x20e555(0x96)](_0x20e555(0xc2))['to'](this,_0x20e555(0x8e),_0x1144d6=>_0x1144d6&&_0x1144d6[0x0]?_0x1144d6[0x0][_0x20e555(0xc2)]:''),this[_0x20e555(0x96)](_0x20e555(0xb2))['to'](this,_0x20e555(0x8e),this,_0x20e555(0x9a),(_0x739b27,_0x1a1ed2)=>{const _0x1331ff=_0x20e555;let _0x30f8f8='';for(const _0x2bf8d8 of _0x739b27)_0x30f8f8+=_0x1331ff(0x94)+_0x254e4e(_0x2bf8d8[_0x1331ff(0xa9)],_0x2bf8d8[_0x1331ff(0xc5)])+_0x1331ff(0x90);return _0x1a1ed2?_0x30f8f8:_0x26a7d8(_0x30f8f8,{'limit':0x8c});}),this[_0x20e555(0x95)]=null,this[_0x20e555(0xb4)]=new _0x5f3f47[(_0x20e555(0xc1))](_0x2dc4dc,_0x25ffa6,{'formatDateTime':_0x5f3f47[_0x20e555(0xc6)]}),this[_0x20e555(0xb4)][_0x20e555(0x96)](_0x20e555(0xb2))['to'](this),this[_0x20e555(0xb4)][_0x20e555(0x91)](_0x20e555(0x9f),_0x20e555(0xa4))['to'](this),this[_0x20e555(0xb4)][_0x20e555(0x92)][_0x20e555(0x96)](_0x20e555(0x9c))['to'](this,_0x20e555(0x9b)),this[_0x20e555(0xb4)][_0x20e555(0xa1)][_0x20e555(0x96)](_0x20e555(0x9c))['to'](this,_0x20e555(0xb6)),this[_0x20e555(0xa5)][_0x20e555(0xa2)](this[_0x20e555(0xb4)]),this[_0x20e555(0xb5)]&&this[_0x20e555(0xa5)][_0x20e555(0xa2)](this[_0x20e555(0xb5)]),this[_0x20e555(0xb0)]&&this[_0x20e555(0xa5)][_0x20e555(0xa2)](this[_0x20e555(0xb0)]),this[_0x20e555(0xac)](this[_0x20e555(0xad)]());}[_0x1759ee(0xad)](){const _0x280d0a=_0x1759ee,_0x1fba1c=this[_0x280d0a(0xb1)],_0x35462e=[this[_0x280d0a(0xb4)]];return this[_0x280d0a(0xb5)]&&_0x35462e[_0x280d0a(0xb9)](this[_0x280d0a(0xb5)]),this[_0x280d0a(0xb0)]&&_0x35462e[_0x280d0a(0xb9)](this[_0x280d0a(0xb0)]),_0x35462e[_0x280d0a(0xb9)](this[_0x280d0a(0xaf)]),{'tag':_0x280d0a(0xbc),'attributes':{'class':['ck',_0x280d0a(0xae),_0x280d0a(0x98),_0x1fba1c['if'](_0x280d0a(0x9a),_0x280d0a(0x8d)),_0x1fba1c['to'](_0x280d0a(0xc2),_0xa00463=>_0x280d0a(0x93)+_0xa00463),this[_0x280d0a(0xa8)][_0x280d0a(0xbf)]&&_0x280d0a(0xa0)],'data-suggestion-id':this[_0x280d0a(0xb3)]['id'],'data-thread-id':this[_0x280d0a(0xb3)][_0x280d0a(0xc4)]['id'],'data-author-id':this[_0x280d0a(0xb3)][_0x280d0a(0xc0)]['id'],'tabindex':0x0,'role':_0x280d0a(0xab),'aria-label':_0x1fba1c['to'](_0x280d0a(0xaa)),'aria-describedby':this[_0x280d0a(0xaf)]['id']},'children':_0x35462e};}[_0x1759ee(0x9e)](){const _0x373453=_0x1759ee;super[_0x373453(0x9e)](),this[_0x373453(0xb5)]&&(this[_0x373453(0xb5)][_0x373453(0x91)](_0x373453(0xc3))['to'](this),this[_0x373453(0xb5)][_0x373453(0x91)](_0x373453(0xa7))['to'](this)),this[_0x373453(0xb0)]&&(this[_0x373453(0xb0)][_0x373453(0x91)](_0x373453(0xc3))['to'](this),this[_0x373453(0xb0)][_0x373453(0x91)](_0x373453(0xa7))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b5939=_0x15b0;function _0x15b0(_0x17d9ef,_0x4fdaaa){const _0x35d618=_0x35d6();return _0x15b0=function(_0x15b070,_0x26f36d){_0x15b070=_0x15b070-0x1e6;let _0x443033=_0x35d618[_0x15b070];return _0x443033;},_0x15b0(_0x17d9ef,_0x4fdaaa);}(function(_0x2e3df8,_0x1ec443){const _0x31ba8c=_0x15b0,_0x3a387e=_0x2e3df8();while(!![]){try{const _0x35b4aa=-parseInt(_0x31ba8c(0x212))/0x1+-parseInt(_0x31ba8c(0x219))/0x2*(parseInt(_0x31ba8c(0x1f4))/0x3)+parseInt(_0x31ba8c(0x1f7))/0x4+-parseInt(_0x31ba8c(0x21f))/0x5+-parseInt(_0x31ba8c(0x238))/0x6*(-parseInt(_0x31ba8c(0x231))/0x7)+-parseInt(_0x31ba8c(0x21c))/0x8+parseInt(_0x31ba8c(0x1ee))/0x9*(parseInt(_0x31ba8c(0x208))/0xa);if(_0x35b4aa===_0x1ec443)break;else _0x3a387e['push'](_0x3a387e['shift']());}catch(_0x1d019e){_0x3a387e['push'](_0x3a387e['shift']());}}}(_0x35d6,0xf1a04));import{FocusTracker as _0x5aa521,KeystrokeHandler as _0x4a6ec3}from'ckeditor5/src/utils.js';import{View as _0x4346f1,ViewCollection as _0x1af46e,FocusCycler as _0x1689ec}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x5b400e,UserView as _0x491b2a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x35d6(){const _0x340510=['ck-annotation__info-name','ck-suggestion__actions','creator','bindTemplate','span','acceptSuggestion','time','target','source','ck-comment__info-time','listenTo','execute','render','7vREdLR','bind','acceptButton','querySelector','EXTERNAL_AVATAR','keystrokes','ck-suggestion__info-name','9705918SRisOg','ck-suggestion','author','focusTracker','_model','Discard\x20suggestion','locale','ck-suggestion__main','ck-annotation__content-wrapper','presentation','set','ck-suggestion--discard','ck-annotation__actions','add','_setupKeyboardNavigation','130806HYHTcM','ck-annotation','push','focusFirst','discardButton','authoredAt','2602761qMUVZG','div','ck-comment__external','7913004ASbQpq','EXTERNAL_IMPORT_WORD_AVATAR','getUserViewNotificationText','ck-annotation__main','focusCycler','shift+tab','focus','setTemplate','formatDateTime','fire','getTemplate','importWord','@external','attributes','ck-suggestion__user','description','.ck-annotation__content-wrapper','1130bFfGJt','isExternal','ck-suggestion--accept','innerHTML','EXTERNAL_SUGGESTION','ck-annotation__user','element','ck-annotation__info','enter','userView','1269549OGXKtt','tab','focusables','_createButton','change:description','Accept\x20suggestion','ck-annotation__info-time','2qJPcDk','esc','_config','9548024uyTQse','discardSuggestion','ck-suggestion__info','4589535IoExLr','name','getExternalSuggestionNote','extendTemplate','EXTERNAL_IMPORT_WORD_SUGGESTION'];_0x35d6=function(){return _0x340510;};return _0x35d6();}import{IconCancel as _0x37b47f,IconCheck as _0x1e88ef}from'ckeditor5/src/icons.js';import{getTranslation as _0xee8d43}from'../../utils/common-translations.js';export class SuggestionView extends _0x4346f1{[_0x2b5939(0x211)];[_0x2b5939(0x233)];[_0x2b5939(0x1f2)];[_0x2b5939(0x214)];[_0x2b5939(0x23b)];[_0x2b5939(0x236)];[_0x2b5939(0x1fb)];[_0x2b5939(0x23c)];[_0x2b5939(0x21b)];constructor(_0x3794d1,_0x3b0480,_0x124b56){const _0x3ec6a5=_0x2b5939;super(_0x3794d1),this[_0x3ec6a5(0x23c)]=_0x3b0480,this[_0x3ec6a5(0x21b)]=_0x124b56,this[_0x3ec6a5(0x1e9)](_0x3ec6a5(0x206),''),this[_0x3ec6a5(0x232)](_0x3ec6a5(0x1f3))['to'](_0x3b0480),this[_0x3ec6a5(0x233)]=this[_0x3ec6a5(0x215)](_0xee8d43(_0x3794d1,_0x3ec6a5(0x217)),_0x1e88ef,_0x3ec6a5(0x20a),_0x3ec6a5(0x229),'sw'),this[_0x3ec6a5(0x1f2)]=this[_0x3ec6a5(0x215)](_0xee8d43(_0x3794d1,_0x3ec6a5(0x23d)),_0x37b47f,_0x3ec6a5(0x1ea),_0x3ec6a5(0x21d),'sw'),this[_0x3ec6a5(0x211)]=new _0x491b2a(_0x3794d1,_0x3b0480[_0x3ec6a5(0x23a)],this[_0x3ec6a5(0x1f9)]()),this[_0x3ec6a5(0x211)][_0x3ec6a5(0x222)]({'attributes':{'class':[_0x3ec6a5(0x205),_0x3ec6a5(0x20d)],'aria-hidden':!0x0}}),this[_0x3ec6a5(0x214)]=new _0x1af46e([this[_0x3ec6a5(0x233)],this[_0x3ec6a5(0x1f2)]]),this[_0x3ec6a5(0x23b)]=new _0x5aa521(),this[_0x3ec6a5(0x236)]=new _0x4a6ec3(),this[_0x3ec6a5(0x1fb)]=new _0x1689ec({'focusables':this[_0x3ec6a5(0x214)],'focusTracker':this[_0x3ec6a5(0x23b)],'keystrokeHandler':this[_0x3ec6a5(0x236)],'actions':{'focusPrevious':_0x3ec6a5(0x1fc),'focusNext':_0x3ec6a5(0x213)},'keystrokeHandlerOptions':{'filter':_0x5a87cd=>_0x5a87cd[_0x3ec6a5(0x22b)]!==this[_0x3ec6a5(0x20e)]}}),this[_0x3ec6a5(0x1fe)](this[_0x3ec6a5(0x201)]());}[_0x2b5939(0x230)](){const _0x296256=_0x2b5939;super[_0x296256(0x230)]();const _0x896904=this[_0x296256(0x20e)][_0x296256(0x234)](_0x296256(0x207));_0x896904[_0x296256(0x20b)]=this[_0x296256(0x206)],this['on'](_0x296256(0x216),(_0x509958,_0x16e5af,_0x10b1cb)=>{const _0x3f42bd=_0x296256;_0x896904[_0x3f42bd(0x20b)]=_0x10b1cb;}),this[_0x296256(0x1ed)]();}[_0x2b5939(0x201)](){const _0x570b86=_0x2b5939,_0x584b8f=this[_0x570b86(0x227)],_0xb6d0f7=[{'tag':_0x570b86(0x1f5),'attributes':{'class':[_0x570b86(0x21e),_0x570b86(0x20f)]},'children':[{'tag':_0x570b86(0x228),'children':[{'text':this[_0x570b86(0x211)][_0x570b86(0x220)]}],'attributes':{'class':[_0x570b86(0x237),_0x570b86(0x224)],'data-cke-tooltip-text':this[_0x570b86(0x211)][_0x570b86(0x220)]}},{'tag':_0x570b86(0x22a),'attributes':{'datetime':_0x584b8f['to'](_0x570b86(0x1f3)),'class':[_0x570b86(0x22d),_0x570b86(0x218)]},'children':[{'text':_0x584b8f['to'](_0x570b86(0x1f3),_0x235c94=>this[_0x570b86(0x21b)][_0x570b86(0x1ff)](_0x235c94))}]}]},{'tag':_0x570b86(0x1f5),'attributes':{'class':[_0x570b86(0x225),_0x570b86(0x1eb)]},'children':[this[_0x570b86(0x233)],this[_0x570b86(0x1f2)]]},{'tag':_0x570b86(0x1f5),'attributes':{'class':[_0x570b86(0x1e7)]}}];return this[_0x570b86(0x23c)][_0x570b86(0x209)]&&_0xb6d0f7[_0x570b86(0x1f0)]({'tag':_0x570b86(0x1f5),'attributes':{'class':[_0x570b86(0x1f6)]},'children':[{'text':this[_0x570b86(0x221)]()}]}),{'tag':_0x570b86(0x1f5),'attributes':{'class':[_0x570b86(0x239),_0x570b86(0x1ef)],'tabindex':-0x1},'children':[this[_0x570b86(0x211)],{'tag':_0x570b86(0x1f5),'attributes':{'class':[_0x570b86(0x1e6),_0x570b86(0x1fa)],'role':_0x570b86(0x1e8)},'children':_0xb6d0f7}]};}[_0x2b5939(0x1fd)](){const _0x86208a=_0x2b5939;this[_0x86208a(0x20e)][_0x86208a(0x1fd)]();}[_0x2b5939(0x1f9)](){const _0x8b0a00=_0x2b5939;return this[_0x8b0a00(0x23c)][_0x8b0a00(0x209)]?_0x8b0a00(0x202)===this[_0x8b0a00(0x23c)][_0x8b0a00(0x204)][_0x8b0a00(0x203)][_0x8b0a00(0x22c)]?_0xee8d43(this[_0x8b0a00(0x23e)],_0x8b0a00(0x1f8),this[_0x8b0a00(0x23c)][_0x8b0a00(0x226)][_0x8b0a00(0x220)]):_0xee8d43(this[_0x8b0a00(0x23e)],_0x8b0a00(0x235),this[_0x8b0a00(0x23c)][_0x8b0a00(0x226)][_0x8b0a00(0x220)]):null;}[_0x2b5939(0x221)](){const _0x22f74d=_0x2b5939;return _0x22f74d(0x202)===this[_0x22f74d(0x23c)][_0x22f74d(0x204)][_0x22f74d(0x203)][_0x22f74d(0x22c)]?_0xee8d43(this[_0x22f74d(0x23e)],_0x22f74d(0x223)):_0xee8d43(this[_0x22f74d(0x23e)],_0x22f74d(0x20c));}[_0x2b5939(0x215)](_0xb5dc8a,_0x57f9ce,_0x5c6dd9,_0x2dfa16,_0x34de6e){const _0x21dd0a=_0x2b5939,_0x2d43ff=new _0x5b400e(this[_0x21dd0a(0x23e)]);return _0x2d43ff[_0x21dd0a(0x1e9)]({'label':_0xb5dc8a,'icon':_0x57f9ce,'tooltip':!0x0,'tooltipPosition':_0x34de6e}),_0x2d43ff[_0x21dd0a(0x222)]({'attributes':{'class':_0x5c6dd9}}),_0x2d43ff['on'](_0x21dd0a(0x22f),()=>{const _0x33f3a0=_0x21dd0a;this[_0x33f3a0(0x200)](_0x2dfa16,this[_0x33f3a0(0x23c)]['id']);}),_0x2d43ff;}[_0x2b5939(0x1ed)](){const _0x58296a=_0x2b5939,_0x2266c3=this[_0x58296a(0x20e)];this[_0x58296a(0x236)][_0x58296a(0x22e)](_0x2266c3);for(const _0x11ca2d of this[_0x58296a(0x214)])this[_0x58296a(0x23b)][_0x58296a(0x1ec)](_0x11ca2d[_0x58296a(0x20e)]),this[_0x58296a(0x236)][_0x58296a(0x22e)](_0x11ca2d[_0x58296a(0x20e)]);this[_0x58296a(0x236)][_0x58296a(0x1e9)](_0x58296a(0x210),(_0x52df23,_0x11f9a7)=>{const _0x480276=_0x58296a;_0x2266c3===_0x52df23[_0x480276(0x22b)]&&(this[_0x480276(0x1fb)][_0x480276(0x1f1)](),_0x11f9a7());}),this[_0x58296a(0x236)][_0x58296a(0x1e9)](_0x58296a(0x21a),(_0x14cade,_0x20576f)=>{const _0x33ec7e=_0x58296a;_0x2266c3!==_0x14cade[_0x33ec7e(0x22b)]&&(this[_0x33ec7e(0x1fd)](),_0x20576f());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e4322=_0x5952;(function(_0x2e650d,_0x2585e7){const _0x3a771d=_0x5952,_0x31a122=_0x2e650d();while(!![]){try{const _0x21b3c4=parseInt(_0x3a771d(0x1e9))/0x1*(parseInt(_0x3a771d(0x1f0))/0x2)+parseInt(_0x3a771d(0x1e3))/0x3+parseInt(_0x3a771d(0x1ee))/0x4+-parseInt(_0x3a771d(0x1f7))/0x5+-parseInt(_0x3a771d(0x1f5))/0x6+-parseInt(_0x3a771d(0x1e6))/0x7+-parseInt(_0x3a771d(0x1e5))/0x8;if(_0x21b3c4===_0x2585e7)break;else _0x31a122['push'](_0x31a122['shift']());}catch(_0x479c7f){_0x31a122['push'](_0x31a122['shift']());}}}(_0x4a7d,0xbda1f));import{View as _0x5bd10e}from'ckeditor5/src/ui.js';function _0x4a7d(){const _0x4776b3=['render','data-ck-root-name','789747UGBKLy','width','div','focus','classes','2135872zxRgtN','setPreviewData','2wOQNpA','previewDataReady','innerHTML','push','options','90702VWzovm','height','280415jRiuFv','element','ck-track-changes-preview','createElement','setTemplate','fire','ck-reset','className','setAttribute','style','dialogRects','content','4389999jbMKOT','\x20ck-track-changes-preview__root-container','5737512JkmRTN','8553468DPJgjn'];_0x4a7d=function(){return _0x4776b3;};return _0x4a7d();}function _0x5952(_0x5770a1,_0x28b276){const _0x4a7d93=_0x4a7d();return _0x5952=function(_0x595282,_0xc1a44a){_0x595282=_0x595282-0x1dc;let _0x1e57fd=_0x4a7d93[_0x595282];return _0x1e57fd;},_0x5952(_0x5770a1,_0x28b276);}export class TrackChangesPreviewView extends _0x5bd10e{[_0x3e4322(0x1f4)];constructor(_0x5a17a1,_0x27a8fe){const _0x505904=_0x3e4322;super(_0x5a17a1),this[_0x505904(0x1f4)]=_0x27a8fe,this[_0x505904(0x1fb)]({'tag':_0x505904(0x1eb),'attributes':{'class':['ck',_0x505904(0x1dd),_0x505904(0x1f9)],'tabindex':-0x1}});}[_0x3e4322(0x1e7)](){const _0x4c2522=_0x3e4322;super[_0x4c2522(0x1e7)](),this[_0x4c2522(0x1f8)][_0x4c2522(0x1e0)][_0x4c2522(0x1ea)]=this[_0x4c2522(0x1f4)][_0x4c2522(0x1e1)][_0x4c2522(0x1ea)]+'px',this[_0x4c2522(0x1f8)][_0x4c2522(0x1e0)][_0x4c2522(0x1f6)]=this[_0x4c2522(0x1f4)][_0x4c2522(0x1e1)][_0x4c2522(0x1f6)]+'px';}[_0x3e4322(0x1ef)](_0x504a7e,_0x5df45d){const _0xc8aa66=_0x3e4322;if(!this[_0xc8aa66(0x1f8)])return;const _0x10040d=[];for(const [_0x17259e,_0x569fd3]of _0x504a7e){const _0xd6e6ef=document[_0xc8aa66(0x1fa)](_0xc8aa66(0x1eb));_0xd6e6ef[_0xc8aa66(0x1df)](_0xc8aa66(0x1e8),_0x17259e),_0xd6e6ef[_0xc8aa66(0x1de)]=_0x569fd3[_0xc8aa66(0x1ed)]+_0xc8aa66(0x1e4),_0xd6e6ef[_0xc8aa66(0x1f2)]=_0x569fd3[_0xc8aa66(0x1e2)],_0x10040d[_0xc8aa66(0x1f3)](_0xd6e6ef);}_0x5df45d(this[_0xc8aa66(0x1f8)],_0x10040d),this[_0xc8aa66(0x1f8)][_0xc8aa66(0x1e0)][_0xc8aa66(0x1f6)]='',this[_0xc8aa66(0x1dc)](_0xc8aa66(0x1f1));}[_0x3e4322(0x1ec)](){const _0x3bfbd9=_0x3e4322;this[_0x3bfbd9(0x1f8)][_0x3bfbd9(0x1ec)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x15fc5d,_0x160c3b,_0x5bbd17){const _0x2d494e=_0x15fc5d['t'],t=_0x15fc5d['t'];switch(_0x160c3b){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x5bbd17);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5bbd17);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5bbd17);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5bbd17);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5bbd17);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x5bbd17);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5bbd17);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5bbd17);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5bbd17);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5bbd17);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5bbd17);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5bbd17);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5bbd17);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5bbd17);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5bbd17);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5bbd17);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5bbd17);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5bbd17);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5bbd17);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5bbd17);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5bbd17);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5bbd17);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5bbd17);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5bbd17);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5bbd17);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x5bbd17);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5bbd17);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5bbd17);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5bbd17);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5bbd17);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5bbd17);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5bbd17);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5bbd17);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x5bbd17);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5bbd17);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5bbd17);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5bbd17);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5bbd17);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5bbd17);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5bbd17);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x5bbd17);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5bbd17);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5bbd17);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x5bbd17);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5bbd17);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x5bbd17);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5bbd17);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5bbd17);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x5bbd17);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5bbd17);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x2d494e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5bbd17);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2d494e({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5bbd17);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5bbd17);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x5bbd17);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x5bbd17);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x5bbd17);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x160c3b;}}
|
|
23
|
+
export function getTranslation(_0x33fbe4,_0x1f15db,_0x2d2188){const _0x50a1fb=_0x33fbe4['t'],t=_0x33fbe4['t'];switch(_0x1f15db){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',_0x2d2188);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2d2188);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2d2188);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2d2188);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2d2188);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',_0x2d2188);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2d2188);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',_0x2d2188);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2d2188);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2d2188);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2d2188);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2d2188);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2d2188);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2d2188);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2d2188);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2d2188);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2d2188);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2d2188);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2d2188);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2d2188);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2d2188);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2d2188);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2d2188);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2d2188);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x2d2188);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'},_0x2d2188);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x2d2188);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x2d2188);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2d2188);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2d2188);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2d2188);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2d2188);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2d2188);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2d2188);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2d2188);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2d2188);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'},_0x2d2188);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2d2188);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2d2188);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2d2188);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'},_0x2d2188);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2d2188);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 _0x50a1fb({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2d2188);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x50a1fb({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2d2188);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2d2188);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'},_0x2d2188);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'},_0x2d2188);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'},_0x2d2188);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1f15db;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5d13(){const _0x2b59b5=['innerHTML','isInContent','\x22\x20title=\x22','length','6ecHsTy','title','isCollapsed','execute','split','add','973480hDfCIt','color','schema','getRanges','attribute','end','createElement','value','47457IzTJiz','isObject','<span\x20class=\x22ck-suggestion-type\x22>','1868915UDtGEr','replace','createPositionBefore','innerText','content','map','sort','\x20[color\x20','join','change','isIntersecting','4314DwtlTJ','span','type','isTouching','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionAt','isArray','push','start','\x22></span>','splice','createRange','from','deletion','736924AyVsBc','createPositionAfter','274tkRsRH','</span>','isMultiRange','18123MVTiWL','next','6114eiheWT','930CchFYD'];_0x5d13=function(){return _0x2b59b5;};return _0x5d13();}(function(_0x28e33d,_0xc1ba20){const _0x4480a9=_0x18bb,_0x4efcac=_0x28e33d();while(!![]){try{const _0x1763ec=parseInt(_0x4480a9(0x1a2))/0x1+-parseInt(_0x4480a9(0x19d))/0x2*(-parseInt(_0x4480a9(0x18d))/0x3)+-parseInt(_0x4480a9(0x19b))/0x4+parseInt(_0x4480a9(0x1b9))/0x5*(-parseInt(_0x4480a9(0x1a8))/0x6)+parseInt(_0x4480a9(0x1a0))/0x7+parseInt(_0x4480a9(0x1ae))/0x8+parseInt(_0x4480a9(0x1b6))/0x9*(parseInt(_0x4480a9(0x1a3))/0xa);if(_0x1763ec===_0xc1ba20)break;else _0x4efcac['push'](_0x4efcac['shift']());}catch(_0x4ad7ff){_0x4efcac['push'](_0x4efcac['shift']());}}}(_0x5d13,0x3f6b9));export function normalizeDescription(_0x41139e){const _0xfb007b=_0x18bb;return Array[_0xfb007b(0x193)](_0x41139e)||(_0x41139e=[_0x41139e]),_0x41139e[_0xfb007b(0x187)](_0x596f61=>{const _0x351f2e=_0xfb007b,_0x5109e4=_0x596f61[_0x351f2e(0x1bd)][_0x351f2e(0x1ba)](/\*/g,''),_0x39ff2d=_0x596f61[_0x351f2e(0x1af)]?_0x351f2e(0x189)+_0x596f61[_0x351f2e(0x1af)][_0x351f2e(0x1b5)]+']':'';return'['+_0x596f61[_0x351f2e(0x18f)]+']\x20'+_0x5109e4+_0x39ff2d;})[_0xfb007b(0x18a)](';\x20');}export function renderDescription(_0x13109d,_0x21c618){const _0x115f75=_0x18bb;let _0x99499d='';return _0x99499d+=_0x13109d[_0x115f75(0x1ac)]('*')[_0x115f75(0x187)]((_0x153e3d,_0x330751)=>_0x330751%0x2!=0x0?_0x115f75(0x1b8)+Zt(_0x153e3d)+_0x115f75(0x19e):Zt(_0x153e3d))[_0x115f75(0x18a)](''),_0x21c618&&(_0x99499d+=_0x115f75(0x191)+_0x21c618[_0x115f75(0x1b5)]+_0x115f75(0x1a6)+_0x21c618[_0x115f75(0x1a9)]+_0x115f75(0x196)),_0x99499d;}function Zt(_0x1ac1e7){const _0x2444d0=_0x18bb,_0x3e825d=document[_0x2444d0(0x1b4)](_0x2444d0(0x18e));return _0x3e825d[_0x2444d0(0x1bc)]=_0x1ac1e7,_0x3e825d[_0x2444d0(0x1a4)];}function _0x18bb(_0x40d6ae,_0x5ae156){const _0x5d1352=_0x5d13();return _0x18bb=function(_0x18bb80,_0x3f80d7){_0x18bb80=_0x18bb80-0x187;let _0x274e12=_0x5d1352[_0x18bb80];return _0x274e12;},_0x18bb(_0x40d6ae,_0x5ae156);}export function sortSuggestions(_0x8078ec){const _0x4f6644=_0x18bb;return _0x8078ec[_0x4f6644(0x188)]((_0x5b3f6b,_0xa60bcb)=>_0x4f6644(0x1b2)===_0x5b3f6b[_0x4f6644(0x18f)]&&_0x4f6644(0x1b2)!==_0xa60bcb[_0x4f6644(0x18f)]?-0x1:_0x4f6644(0x1b2)!==_0x5b3f6b[_0x4f6644(0x18f)]&&_0x4f6644(0x1b2)===_0xa60bcb[_0x4f6644(0x18f)]?0x1:_0x4f6644(0x19a)==_0x5b3f6b[_0x4f6644(0x18f)]&&_0x4f6644(0x19a)!=_0xa60bcb[_0x4f6644(0x18f)]?-0x1:_0x4f6644(0x19a)!=_0x5b3f6b[_0x4f6644(0x18f)]&&_0x4f6644(0x19a)==_0xa60bcb[_0x4f6644(0x18f)]?0x1:0x0);}export function getSelectedSuggestions(_0x1d3da4,_0x4c24e8){const _0x78131b=_0x18bb,_0x109318=Array[_0x78131b(0x199)](_0x1d3da4[_0x78131b(0x1b1)]()),_0x3ef979=new Set();for(const _0x40f922 of _0x4c24e8)if(_0x40f922[_0x78131b(0x1a5)]){for(const _0xf55765 of _0x109318)for(const _0x1007d6 of _0x40f922[_0x78131b(0x1b1)]())(_0xf55765[_0x78131b(0x18c)](_0x1007d6)||_0x1d3da4[_0x78131b(0x1aa)]&&!_0x40f922[_0x78131b(0x19f)]&&_0x40f922[_0x78131b(0x1a1)]&&_0x1007d6[_0x78131b(0x1b3)][_0x78131b(0x190)](_0xf55765[_0x78131b(0x195)]))&&_0x3ef979[_0x78131b(0x1ad)](_0x40f922);}return _0x3ef979;}export function getRangesOfBlockGroups(_0x2c7784,_0x150f33){const _0x4cd24=_0x18bb;let _0x436c1a,_0x5c1a85=0x0;const _0x141354=[],_0xc0eeb3=_0x150f33[_0x4cd24(0x1b0)];for(;_0x5c1a85<_0x2c7784[_0x4cd24(0x1a7)];){const _0x562014=_0x2c7784[_0x5c1a85],_0x594e3b=_0x2c7784[_0x5c1a85+0x1];_0x436c1a||(_0x436c1a=_0x150f33[_0x4cd24(0x1bb)](_0x562014)),tn(_0x150f33,_0x562014,_0x594e3b)||(_0x141354[_0x4cd24(0x194)](_0x150f33[_0x4cd24(0x198)](_0x436c1a,_0xc0eeb3[_0x4cd24(0x1b7)](_0x562014)?_0x150f33[_0x4cd24(0x19c)](_0x562014):_0x150f33[_0x4cd24(0x192)](_0x562014,_0x4cd24(0x1b3)))),_0x436c1a=null),_0x5c1a85++;}return _0x141354;}function tn(_0x16067e,_0x2c7da2,_0x2b3b46){const _0x2b2eb0=_0x18bb;if(!_0x2b3b46)return!0x1;const _0x37ec20=_0x16067e[_0x2b2eb0(0x19c)](_0x2c7da2),_0xdf8676=_0x16067e[_0x2b2eb0(0x1bb)](_0x2b3b46);return _0x37ec20[_0x2b2eb0(0x190)](_0xdf8676);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x514b6e,_0x12edc2,_0x89fb30){const _0x55f069=_0x18bb;for(;_0x89fb30[_0x55f069(0x1a7)];){const _0x4ff95e=_0x89fb30[_0x55f069(0x197)](0x0,0x64);_0x514b6e[_0x55f069(0x18b)](()=>{const _0x47e268=_0x55f069;for(const _0xaa8fc3 of _0x4ff95e)_0xaa8fc3[_0x47e268(0x1a5)]&&_0x12edc2[_0x47e268(0x1ab)](_0xaa8fc3['id']);});}}
|