@ckeditor/ckeditor5-track-changes 0.0.0-nightly-next-20260104.0 → 0.0.0-nightly-20260105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a0588=_0x5500;function _0x5500(_0x29cde2,_0x5aada1){const _0x59d11a=_0x59d1();return _0x5500=function(_0x55003a,_0xc91468){_0x55003a=_0x55003a-0x196;let _0x50fd31=_0x59d11a[_0x55003a];return _0x50fd31;},_0x5500(_0x29cde2,_0x5aada1);}(function(_0x24e70d,_0x234d00){const _0x8e8018=_0x5500,_0x41276b=_0x24e70d();while(!![]){try{const _0x44ed60=parseInt(_0x8e8018(0x19e))/0x1+-parseInt(_0x8e8018(0x1a9))/0x2*(-parseInt(_0x8e8018(0x19f))/0x3)+parseInt(_0x8e8018(0x1a1))/0x4*(parseInt(_0x8e8018(0x1ac))/0x5)+-parseInt(_0x8e8018(0x1a5))/0x6*(-parseInt(_0x8e8018(0x1ab))/0x7)+parseInt(_0x8e8018(0x197))/0x8+-parseInt(_0x8e8018(0x198))/0x9*(-parseInt(_0x8e8018(0x199))/0xa)+-parseInt(_0x8e8018(0x1ad))/0xb*(parseInt(_0x8e8018(0x1a8))/0xc);if(_0x44ed60===_0x234d00)break;else _0x41276b['push'](_0x41276b['shift']());}catch(_0x385ac1){_0x41276b['push'](_0x41276b['shift']());}}}(_0x59d1,0x430bc));import{Plugin as _0x56f0e9}from'ckeditor5/src/core.js';import{Dialog as _0x5f5e19}from'ckeditor5/src/ui.js';function _0x59d1(){const _0x9102b4=['previewFinalContent','config','define','37699yVyWWo','36315dVCscv','isPremiumPlugin','4FVBhVj','add','TrackChangesPreview','editor','561504FNPgFm','appendChild','trackChanges.preview.renderFunction','9131124kCkGJW','30CQoLqe','pluginName','14cwFgHk','110045lrnUGq','11iuGnpV','commands','requires','1885552YzxESC','4194yjqRBT','7970MIuCFO','isOfficialPlugin'];_0x59d1=function(){return _0x9102b4;};return _0x59d1();}import{TrackChangesData as _0x3aae97}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x108881}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x56f0e9{static get[_0x4a0588(0x196)](){return[_0x3aae97,_0x5f5e19];}static get[_0x4a0588(0x1aa)](){const _0x486f50=_0x4a0588;return _0x486f50(0x1a3);}static get[_0x4a0588(0x19a)](){return!0x0;}static get[_0x4a0588(0x1a0)](){return!0x0;}constructor(_0x42be47){const _0x26475e=_0x4a0588;super(_0x42be47),_0x42be47[_0x26475e(0x1ae)][_0x26475e(0x1a2)](_0x26475e(0x19b),new _0x108881(this[_0x26475e(0x1a4)])),_0x42be47[_0x26475e(0x19c)][_0x26475e(0x19d)](_0x26475e(0x1a7),(_0x1d9ff4,_0x74498e)=>{const _0x4efb5e=_0x26475e;for(const _0x3d9069 of _0x74498e)_0x1d9ff4[_0x4efb5e(0x1a6)](_0x3d9069);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5145d7=_0x7896;function _0x2a2a(){const _0x3e434c=['_destroyController','_showLicenseError','TrackChangesUI','_handleSuggestionControllerDelayed','1562510FaFhEQ','trackChanges.disableComments','Track\x20changes','panelView','_refreshActiveMarkers','from','reduce','9terEkM','config','remove','_initializeController','getRanges','lowest','3419830QgtJho','descriptionParts','listenTo','getDescriptions','createAnnotation','refreshSelectedViews','trackChanges.SuggestionView','_licenseKeyCheckInterval','menuitemcheckbox','commentsListView','comments.maxThreadTotalWeight','hasSuggestion','switchbutton','_suggestionToController','has','change:previous','requires','2410424DsPIqW','TrackChanges','push','head','componentFactory','CommentsRepository','addSourceCollector','domainLimit','SuggestionView','mainView','acceptButton','addComment','get','comments.editorConfig','trackChangesLicenseKeyValid','descriptionFactory','type','previewFinalContent','destroy','Discard\x20all\x20suggestions','trackChanges','activeAnnotations','view','plugins','featureNotAllowed','_viewToController','trialLimit','commandName','commands','getMarkerNames','actionView','discardButton','1814856XHHgfh','comments.maxCommentCharsWhenCollapsed','delete','set','comments','TrackChangesEditing','clear','getMarkers','addMany','bind','menuitem','_handleControllerBuffer','isOn','delegate','activeMarkers','trackChangesLicenseKeyTrialLimit','Accept\x20all\x20selected\x20suggestions','invalid','trackChangesLicenseKeyDomainLimit','unbind','getJoined','source','2DCzWjN','arrowView','getFirstRange','acceptSelectedSuggestions','acceptAllSuggestions','getSuggestion','menu','createAnnotationView','some','toMany','items','keys','_createMenuBarMenu','registerAnnotation','Accept\x20all\x20suggestions','buttonView','EditorAnnotations','evaluationLimit','_unbindEditors','isMultiRange','add','trackChangesLicenseKeyUsageLimit','innerView','Discard\x20all\x20selected\x20suggestions','filter','TrackChangesPreview','isPremiumPlugin','Annotations','trackChangesLicenseKeyInvalid','value','getAllAdjacentSuggestions','usageLimit','fire','focus','editing','240149LQwQsz','suggestionLoaded','previous','getAnnotationForSuggestion','Preview\x20final\x20content','change:activeAnnotations','isEnabled','define','CommentView','suggestionChanged','expired','suggestionView','isDirty','121554HfmNTc','length','editor','294vFEEUr','separator','_bindAnnotationToEditors','createCommentThreadController','_addUIComponentsToFactory','size','values','SuggestionThreadView','init','CommentsUI','comments.maxCommentsWhenCollapsed','stopListening','isInContent','discardSelectedSuggestions','children','isOfficialPlugin','suggestionUnloaded','discardAllSuggestions','pluginName','commentThread','escape','licenseKey','getByInnerView','_disableComments','execute','894285caiWbh','button','model','menuBar:trackChanges','_updateController','trackChanges.SuggestionThreadView','_annotationViews','_createToolbarButton','trackChangesLicenseKeyExpired','trackChangesLicenseKeyNotAllowed','trackChangesLicenseKeyEvaluationLimit','locale','getSuggestionForAnnotation','suggestion-'];_0x2a2a=function(){return _0x3e434c;};return _0x2a2a();}(function(_0x1a8f86,_0x249e64){const _0x54e59c=_0x7896,_0x1b708f=_0x1a8f86();while(!![]){try{const _0x5b337f=parseInt(_0x54e59c(0x220))/0x1*(-parseInt(_0x54e59c(0x1fd))/0x2)+parseInt(_0x54e59c(0x197))/0x3+parseInt(_0x54e59c(0x1c7))/0x4+-parseInt(_0x54e59c(0x1b6))/0x5+parseInt(_0x54e59c(0x22d))/0x6*(parseInt(_0x54e59c(0x230))/0x7)+parseInt(_0x54e59c(0x1e7))/0x8*(-parseInt(_0x54e59c(0x1b0))/0x9)+-parseInt(_0x54e59c(0x1a9))/0xa;if(_0x5b337f===_0x249e64)break;else _0x1b708f['push'](_0x1b708f['shift']());}catch(_0x1b959f){_0x1b708f['push'](_0x1b708f['shift']());}}}(_0x2a2a,0x6c7c4));import{Plugin as _0x3a5fe9}from'ckeditor5/src/core.js';function _0x7896(_0x5597e2,_0x265fa2){const _0x2a2a94=_0x2a2a();return _0x7896=function(_0x78962c,_0x130a52){_0x78962c=_0x78962c-0x181;let _0x31e029=_0x2a2a94[_0x78962c];return _0x31e029;},_0x7896(_0x5597e2,_0x265fa2);}import{Collection as _0x9d406d}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x25d518}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x40853d,createDropdown as _0x2c41f0,ListSeparatorView as _0x1235c4,MenuBarMenuView as _0x4b961d,MenuBarMenuListView as _0x22a90b,MenuBarMenuListItemView as _0xc4ed23,MenuBarMenuListItemButtonView as _0x82860a,SplitButtonView as _0x521058,UIModel as _0x299cfd}from'ckeditor5/src/ui.js';import{Users as _0x4997b3,getDateTimeFormatter as _0x553246,getAllMarkersDomElementsSorted as _0x29daf1}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x4b3a92}from'./trackchangesediting.js';import{SuggestionController as _0x2fec1e}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x19dfbd}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x407b63}from'./ui/view/suggestionview.js';import{getTranslation as _0x311efd}from'./utils/common-translations.js';export class TrackChangesUI extends _0x3a5fe9{[_0x5145d7(0x193)];[_0x5145d7(0x1bd)];[_0x5145d7(0x1c3)];[_0x5145d7(0x1e0)];[_0x5145d7(0x19d)];[_0x5145d7(0x1f2)];[_0x5145d7(0x195)];static get[_0x5145d7(0x1c6)](){const _0x1bbc08=_0x5145d7;return[_0x4b3a92,_0x4997b3,_0x1bbc08(0x1cc),_0x1bbc08(0x218),_0x1bbc08(0x20d)];}static get[_0x5145d7(0x190)](){const _0x4ce83a=_0x5145d7;return _0x4ce83a(0x1a7);}static get[_0x5145d7(0x18d)](){return!0x0;}static get[_0x5145d7(0x217)](){return!0x0;}constructor(_0x12ab90){const _0x5e821a=_0x5145d7;super(_0x12ab90),this[_0x5e821a(0x1c3)]=new Map(),this[_0x5e821a(0x1e0)]=new Map(),this[_0x5e821a(0x19d)]=new Map(),this[_0x5e821a(0x1f2)]=new Map();const _0xf3d374=this[_0x5e821a(0x22f)][_0x5e821a(0x1b1)];_0xf3d374[_0x5e821a(0x227)](_0x5e821a(0x19c),_0x19dfbd),_0xf3d374[_0x5e821a(0x227)](_0x5e821a(0x1bc),_0x407b63),_0xf3d374[_0x5e821a(0x227)](_0x5e821a(0x1aa),!0x1),this[_0x5e821a(0x195)]=_0xf3d374[_0x5e821a(0x1d3)](_0x5e821a(0x1aa));}[_0x5145d7(0x1a8)](_0x3dc74f,_0x56f77e){const _0x537ea2=_0x5145d7;0x0===this[_0x537ea2(0x1f2)][_0x537ea2(0x183)]&&setTimeout(()=>{const _0x57b557=_0x537ea2;for(const [_0x411aa6,_0x5ce708]of this[_0x57b557(0x1f2)]){const _0x11a405=this[_0x57b557(0x1c3)][_0x57b557(0x1c4)](_0x411aa6);_0x11a405||_0x5ce708?_0x11a405&&_0x5ce708&&this[_0x57b557(0x1a5)](_0x411aa6):this[_0x57b557(0x1b3)](_0x411aa6);}this[_0x57b557(0x1f2)][_0x57b557(0x1ed)](),this[_0x57b557(0x22f)][_0x57b557(0x1de)][_0x57b557(0x1d3)](_0x57b557(0x20d))[_0x57b557(0x1bb)](),this[_0x57b557(0x1ad)]();},0xa),this[_0x537ea2(0x1f2)][_0x537ea2(0x1ea)](_0x3dc74f,_0x56f77e);}[_0x5145d7(0x186)](){const _0x17d735=_0x5145d7,_0x4c1315=this[_0x17d735(0x22f)],_0x3c7064=_0x4c1315[_0x17d735(0x1de)][_0x17d735(0x1d3)](_0x17d735(0x1ec)),_0x542f8=_0x4c1315[_0x17d735(0x1de)][_0x17d735(0x1d3)](_0x17d735(0x218)),_0x5dccab=_0x4c1315[_0x17d735(0x1de)][_0x17d735(0x1d3)](_0x17d735(0x20d)),_0x2a1d9b=_0x4c1315[_0x17d735(0x1de)][_0x17d735(0x1d3)](_0x17d735(0x1cc));this[_0x17d735(0x182)](),_0x5dccab[_0x17d735(0x1cd)](()=>{const _0x33eca5=_0x17d735,_0x378eea=[];for(const [_0x246051,_0x4db52d]of Array[_0x33eca5(0x1ae)](this[_0x33eca5(0x1c3)])){const _0x4728e1=_0x246051[_0x33eca5(0x21b)](),_0x35c247=[];for(const _0xed5d0d of _0x4728e1){if(!_0xed5d0d[_0x33eca5(0x18a)])continue;if(_0xed5d0d[_0x33eca5(0x210)]){_0x35c247[_0x33eca5(0x1c9)](..._0xed5d0d[_0x33eca5(0x1b4)]());continue;}const _0x1be55e=_0xed5d0d[_0x33eca5(0x1ff)]();if(_0x35c247[_0x33eca5(0x22e)]>0x0){const _0x1ed330=_0x35c247[0x0][_0x33eca5(0x1fb)](_0x1be55e);if(_0x1ed330){_0x35c247[0x0]=_0x1ed330;continue;}}_0x35c247[_0x33eca5(0x1c9)](_0x1be55e);}_0x378eea[_0x33eca5(0x1c9)]([_0x4db52d[_0x33eca5(0x1dd)],_0x35c247]);}return _0x378eea;}),this[_0x17d735(0x1b8)](_0x3c7064,_0x17d735(0x221),(_0x1dc8f6,_0x2a8dd9)=>{const _0x82ed98=_0x17d735;this[_0x82ed98(0x1b8)](_0x2a8dd9,_0x82ed98(0x1c5),(_0x1f7b6a,_0x4b777f,_0x2281d5,_0xfa0534)=>{const _0x321869=_0x82ed98;_0x2a8dd9[_0x321869(0x18a)]&&(null==_0x2281d5?(this[_0x321869(0x19b)](_0xfa0534[_0x321869(0x1ca)]),this[_0x321869(0x1a8)](_0x2a8dd9,!0x1)):(this[_0x321869(0x19b)](_0x2281d5[_0x321869(0x1ca)]),null==_0xfa0534&&this[_0x321869(0x1a8)](_0x2a8dd9,!0x0)));}),null!==_0x2a8dd9[_0x82ed98(0x222)]?this[_0x82ed98(0x19b)](_0x2a8dd9[_0x82ed98(0x1ca)]):this[_0x82ed98(0x1a8)](_0x2a8dd9,!0x1);}),this[_0x17d735(0x1b8)](_0x3c7064,_0x17d735(0x18e),(_0x3468f2,_0x637b8,_0x2476d6)=>{const _0x4f5cec=_0x17d735;this[_0x4f5cec(0x189)](_0x637b8,_0x4f5cec(0x1c5)),this[_0x4f5cec(0x1f2)][_0x4f5cec(0x1e9)](_0x637b8),this[_0x4f5cec(0x1c3)][_0x4f5cec(0x1c4)](_0x637b8)&&this[_0x4f5cec(0x1a5)](_0x637b8),_0x2476d6&&this[_0x4f5cec(0x19b)](_0x2476d6[_0x4f5cec(0x1ca)]);}),this[_0x17d735(0x1b8)](_0x3c7064,_0x17d735(0x229),(_0x568c60,_0x31cc41)=>{const _0x173751=_0x17d735;this[_0x173751(0x19b)](_0x31cc41);}),this[_0x17d735(0x1b8)](_0x542f8,_0x17d735(0x225),()=>{const _0x342859=_0x17d735;this[_0x342859(0x1ad)]();}),this[_0x17d735(0x1b8)](_0x2a1d9b,_0x17d735(0x1d2),(_0x137f15,{threadId:_0xf8b3cf,isFromAdapter:_0x2cd03e})=>{const _0x38ce1e=_0x17d735;if(_0x2cd03e||!_0x3c7064[_0x38ce1e(0x1c1)](_0xf8b3cf))return;const _0x381d0a=_0x3c7064[_0x38ce1e(0x202)](_0xf8b3cf);this[_0x38ce1e(0x1c3)][_0x38ce1e(0x1d3)](_0x381d0a)[_0x38ce1e(0x1dd)][_0x38ce1e(0x1bf)][_0x38ce1e(0x21e)](-0x1);},{'priority':_0x17d735(0x1b5)}),this[_0x17d735(0x193)]=this[_0x17d735(0x22f)][_0x17d735(0x1b1)][_0x17d735(0x1d3)](_0x17d735(0x193));const _0x5adc92=this[_0x17d735(0x22f)];this[_0x17d735(0x1bd)]=setInterval(()=>{const _0x3bca6d=_0x17d735;let _0x5bc32c;for(const _0x420b98 in _0x5adc92){const _0x27572b=_0x420b98,_0x3b036c=_0x5adc92[_0x27572b];if(_0x3bca6d(0x1d5)==_0x3b036c||_0x3bca6d(0x219)==_0x3b036c||_0x3bca6d(0x19f)==_0x3b036c||_0x3bca6d(0x1f9)==_0x3b036c||_0x3bca6d(0x1a0)==_0x3b036c||_0x3bca6d(0x1a1)==_0x3b036c||_0x3bca6d(0x1f6)==_0x3b036c||_0x3bca6d(0x212)==_0x3b036c){delete _0x5adc92[_0x27572b],_0x5bc32c=_0x3b036c,clearInterval(this[_0x3bca6d(0x1bd)]),this[_0x3bca6d(0x1bd)]=void 0x0;break;}}_0x3bca6d(0x219)==_0x5bc32c&&_0x5adc92[_0x3bca6d(0x1a6)](_0x3bca6d(0x1f8)),_0x3bca6d(0x19f)==_0x5bc32c&&_0x5adc92[_0x3bca6d(0x1a6)](_0x3bca6d(0x22a)),_0x3bca6d(0x1f9)==_0x5bc32c&&_0x5adc92[_0x3bca6d(0x1a6)](_0x3bca6d(0x1ce)),_0x3bca6d(0x1a0)==_0x5bc32c&&_0x5adc92[_0x3bca6d(0x1a6)](_0x3bca6d(0x1df),_0x3bca6d(0x1c8)),_0x3bca6d(0x1a1)==_0x5bc32c&&_0x5adc92[_0x3bca6d(0x1a6)](_0x3bca6d(0x20e)),_0x3bca6d(0x1f6)==_0x5bc32c&&_0x5adc92[_0x3bca6d(0x1a6)](_0x3bca6d(0x1e1)),_0x3bca6d(0x212)==_0x5bc32c&&_0x5adc92[_0x3bca6d(0x1a6)](_0x3bca6d(0x21c));},0x3e8);}[_0x5145d7(0x223)](_0x4347bd){const _0x41817e=_0x5145d7,_0x531083=this[_0x41817e(0x1c3)][_0x41817e(0x1d3)](_0x4347bd);if(!_0x531083)return null;return this[_0x41817e(0x22f)][_0x41817e(0x1de)][_0x41817e(0x1d3)](_0x41817e(0x218))[_0x41817e(0x194)](_0x531083[_0x41817e(0x1dd)])||null;}[_0x5145d7(0x1a3)](_0x2803f6){const _0x1187e7=_0x5145d7,_0x50544e=this[_0x1187e7(0x1e0)][_0x1187e7(0x1d3)](_0x2803f6[_0x1187e7(0x213)]);return _0x50544e?_0x50544e[_0x1187e7(0x199)]:null;}[_0x5145d7(0x1ad)](){const _0x390de9=_0x5145d7,_0x30514b=this[_0x390de9(0x22f)][_0x390de9(0x1de)][_0x390de9(0x1d3)](_0x390de9(0x218)),_0x1a8f0f=this[_0x390de9(0x22f)][_0x390de9(0x1de)][_0x390de9(0x1d3)](_0x390de9(0x1ec)),_0x4b4079=Array[_0x390de9(0x1ae)](_0x30514b[_0x390de9(0x1dc)],_0x2c5353=>_0x2c5353[_0x390de9(0x213)])[_0x390de9(0x215)](_0x5c861d=>this[_0x390de9(0x1e0)][_0x390de9(0x1c4)](_0x5c861d)),_0xe823b6=[];for(const _0x4eee54 of _0x4b4079){const _0x4ed60a=this[_0x390de9(0x1e0)][_0x390de9(0x1d3)](_0x4eee54)[_0x390de9(0x199)][_0x390de9(0x21b)]();_0xe823b6[_0x390de9(0x1c9)](..._0x4ed60a[_0x390de9(0x1af)]((_0x1c355c,_0x5f6022)=>[..._0x1c355c,..._0x5f6022[_0x390de9(0x1e4)]()],[]));}_0x1a8f0f[_0x390de9(0x1f5)]=_0xe823b6;}[_0x5145d7(0x182)](){const _0x47b7ee=_0x5145d7,_0x1de23b=this[_0x47b7ee(0x22f)],_0x51bb1f=_0x1de23b[_0x47b7ee(0x1a2)],_0x4d3d2c=_0x311efd(_0x51bb1f,_0x47b7ee(0x1ab)),_0x54b7c0=new _0x9d406d([{'type':_0x47b7ee(0x1c2),'model':new _0x299cfd({'withText':!0x0,'isToggleable':!0x0,'label':_0x4d3d2c,'commandName':_0x47b7ee(0x1db),'role':_0x47b7ee(0x1be)})},{'type':_0x47b7ee(0x231)},{'type':_0x47b7ee(0x198),'model':new _0x299cfd({'withText':!0x0,'label':_0x311efd(_0x51bb1f,_0x47b7ee(0x20b)),'commandName':_0x47b7ee(0x201),'role':_0x47b7ee(0x1f1)})},{'type':_0x47b7ee(0x198),'model':new _0x299cfd({'withText':!0x0,'label':_0x311efd(_0x51bb1f,_0x47b7ee(0x1f7)),'commandName':_0x47b7ee(0x200),'role':_0x47b7ee(0x1f1)})},{'type':_0x47b7ee(0x198),'model':new _0x299cfd({'withText':!0x0,'label':_0x311efd(_0x51bb1f,_0x47b7ee(0x1da)),'commandName':_0x47b7ee(0x18f),'role':_0x47b7ee(0x1f1)})},{'type':_0x47b7ee(0x198),'model':new _0x299cfd({'withText':!0x0,'label':_0x311efd(_0x51bb1f,_0x47b7ee(0x214)),'commandName':_0x47b7ee(0x18b),'role':_0x47b7ee(0x1f1)})}]);_0x1de23b[_0x47b7ee(0x1de)][_0x47b7ee(0x1c4)](_0x47b7ee(0x216))&&_0x54b7c0[_0x47b7ee(0x1ef)]([{'type':_0x47b7ee(0x231)},{'type':_0x47b7ee(0x198),'model':new _0x299cfd({'withText':!0x0,'label':_0x311efd(_0x51bb1f,_0x47b7ee(0x224)),'commandName':_0x47b7ee(0x1d8),'role':_0x47b7ee(0x1f1)})}]);for(const _0x389a1b of _0x54b7c0)if(ke(_0x389a1b)){const _0x169687=_0x1de23b[_0x47b7ee(0x1e3)][_0x47b7ee(0x1d3)](_0x389a1b[_0x47b7ee(0x199)][_0x47b7ee(0x1e2)]);_0x389a1b[_0x47b7ee(0x199)][_0x47b7ee(0x1f0)](_0x47b7ee(0x1f3),_0x47b7ee(0x226))['to'](_0x169687,_0x47b7ee(0x21a),_0x47b7ee(0x226));}_0x1de23b['ui'][_0x47b7ee(0x1cb)][_0x47b7ee(0x211)](_0x47b7ee(0x1db),_0x43ce86=>this[_0x47b7ee(0x19e)](_0x43ce86,_0x54b7c0,_0x4d3d2c)),_0x1de23b['ui'][_0x47b7ee(0x1cb)][_0x47b7ee(0x211)](_0x47b7ee(0x19a),_0x11cd53=>this[_0x47b7ee(0x209)](_0x11cd53,_0x54b7c0,_0x4d3d2c));}[_0x5145d7(0x19e)](_0x551c34,_0x48c352,_0x53ef29){const _0x5d8177=_0x5145d7,_0x36977f=_0x2c41f0(_0x551c34,_0x521058),_0x16dfdb=this[_0x5d8177(0x22f)][_0x5d8177(0x1e3)][_0x5d8177(0x1d3)](_0x5d8177(0x1db));_0x36977f[_0x5d8177(0x20c)][_0x5d8177(0x1ea)]({'tooltip':_0x53ef29,'label':_0x53ef29,'icon':_0x25d518}),_0x36977f[_0x5d8177(0x20c)][_0x5d8177(0x1f0)](_0x5d8177(0x1f3))['to'](_0x16dfdb,_0x5d8177(0x21a)),_0x36977f[_0x5d8177(0x20c)]['on'](_0x5d8177(0x196),()=>{const _0x43558b=_0x5d8177;_0x16dfdb[_0x43558b(0x196)](),this[_0x43558b(0x22f)][_0x43558b(0x21f)][_0x43558b(0x1dd)][_0x43558b(0x21e)]();}),_0x40853d(_0x36977f,_0x48c352,{'role':_0x5d8177(0x203)});const _0x204a24=[];for(const _0x1485c7 of _0x48c352)ke(_0x1485c7)&&_0x204a24[_0x5d8177(0x1c9)](this[_0x5d8177(0x22f)][_0x5d8177(0x1e3)][_0x5d8177(0x1d3)](_0x1485c7[_0x5d8177(0x199)][_0x5d8177(0x1e2)]));const _0x3fb3a2=_0x36977f[_0x5d8177(0x20c)];return _0x3fb3a2[_0x5d8177(0x1e5)][_0x5d8177(0x1fa)](_0x5d8177(0x226)),_0x3fb3a2[_0x5d8177(0x1fe)][_0x5d8177(0x1fa)](_0x5d8177(0x226)),_0x3fb3a2[_0x5d8177(0x1e5)][_0x5d8177(0x1f0)](_0x5d8177(0x226))['to'](_0x16dfdb,_0x5d8177(0x226)),_0x3fb3a2[_0x5d8177(0x1fe)][_0x5d8177(0x1f0)](_0x5d8177(0x226))[_0x5d8177(0x206)](_0x204a24,_0x5d8177(0x226),(..._0x4afb39)=>_0x4afb39[_0x5d8177(0x205)](_0x2ec790=>_0x2ec790)),_0x36977f['on'](_0x5d8177(0x196),_0x341027=>{const _0x46acb7=_0x5d8177;this[_0x46acb7(0x22f)][_0x46acb7(0x196)](_0x341027[_0x46acb7(0x1fc)][_0x46acb7(0x1e2)]),this[_0x46acb7(0x22f)][_0x46acb7(0x21f)][_0x46acb7(0x1dd)][_0x46acb7(0x21e)]();}),_0x36977f;}[_0x5145d7(0x209)](_0x563764,_0x5c8810,_0x51a9ce){const _0x2f1ee4=_0x5145d7,_0x325709=new _0x4b961d(_0x563764),_0xe6c4ad=this[_0x2f1ee4(0x22f)][_0x2f1ee4(0x1e3)][_0x2f1ee4(0x1d3)](_0x2f1ee4(0x1db));_0x325709[_0x2f1ee4(0x20c)][_0x2f1ee4(0x1ea)]({'label':_0x51a9ce,'icon':_0x25d518});const _0x48c45f=new _0x22a90b(_0x563764);for(const _0x2aafcb of _0x5c8810){if(_0x2f1ee4(0x231)==_0x2aafcb[_0x2f1ee4(0x1d7)]){_0x48c45f[_0x2f1ee4(0x207)][_0x2f1ee4(0x211)](new _0x1235c4(_0x563764));continue;}const _0x228192=new _0xc4ed23(_0x563764,_0x325709),_0x5a0f60=new _0x82860a(_0x563764),_0x4cf9ba=_0x2aafcb[_0x2f1ee4(0x199)];_0x5a0f60[_0x2f1ee4(0x1f0)](...Object[_0x2f1ee4(0x208)](_0x4cf9ba))['to'](_0x4cf9ba),_0x5a0f60[_0x2f1ee4(0x1f4)](_0x2f1ee4(0x196))['to'](_0x325709),_0x5a0f60['on'](_0x2f1ee4(0x196),()=>{const _0x195b9c=_0x2f1ee4;this[_0x195b9c(0x22f)][_0x195b9c(0x196)](_0x4cf9ba[_0x195b9c(0x1e2)]),this[_0x195b9c(0x22f)][_0x195b9c(0x21f)][_0x195b9c(0x1dd)][_0x195b9c(0x21e)]();}),_0x228192[_0x2f1ee4(0x18c)][_0x2f1ee4(0x211)](_0x5a0f60),_0x48c45f[_0x2f1ee4(0x207)][_0x2f1ee4(0x211)](_0x228192);}return _0x325709[_0x2f1ee4(0x1f0)](_0x2f1ee4(0x226))['to'](_0xe6c4ad,_0x2f1ee4(0x226)),_0x325709[_0x2f1ee4(0x1ac)][_0x2f1ee4(0x18c)][_0x2f1ee4(0x211)](_0x48c45f),_0x325709;}[_0x5145d7(0x1b3)](_0x50cc0a){const _0x1e4780=_0x5145d7,_0x539bfa=this[_0x1e4780(0x22f)],_0x3100f6=_0x539bfa[_0x1e4780(0x1b1)],_0xcbcecb=_0x539bfa[_0x1e4780(0x1de)][_0x1e4780(0x1d3)](_0x1e4780(0x218)),_0x354207=_0x539bfa[_0x1e4780(0x1de)][_0x1e4780(0x1d3)](_0x1e4780(0x1cc)),_0xb7f35f=_0x539bfa[_0x1e4780(0x1de)][_0x1e4780(0x1d3)](_0x1e4780(0x20d)),_0x21b9e8=_0x539bfa[_0x1e4780(0x1de)][_0x1e4780(0x1d3)](_0x4997b3)['me'],_0x28fd2a=_0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x1db))[_0x1e4780(0x185)],_0x387530=_0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x1db))[_0x1e4780(0x1cf)],{CommentsListView:_0x3dfe62,CommentThreadInputView:_0x16c00b}=_0x539bfa[_0x1e4780(0x1de)][_0x1e4780(0x1d3)](_0x1e4780(0x187));let _0x27a4fe,_0x1e1cb6,_0x9f4324;this[_0x1e4780(0x19d)][_0x1e4780(0x1c4)](_0x50cc0a['id'])?(_0x1e1cb6=this[_0x1e4780(0x19d)][_0x1e4780(0x1d3)](_0x50cc0a['id']),_0x27a4fe=_0x1e1cb6[_0x1e4780(0x1d0)]):(_0x27a4fe=new _0x28fd2a(_0x539bfa[_0x1e4780(0x1a2)],_0x50cc0a,_0x21b9e8,{'disableComments':this[_0x1e4780(0x195)],'editorConfig':{..._0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x1d4)),'licenseKey':_0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x193))},'maxCommentsWhenCollapsed':_0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x188)),'maxThreadTotalWeight':_0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x1c0)),'maxCommentCharsWhenCollapsed':_0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x1e8)),'formatDateTime':_0x553246(_0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x1a2)),_0x539bfa[_0x1e4780(0x1a2)]),'CommentView':_0x3100f6[_0x1e4780(0x1d3)](_0x1e4780(0x1eb))[_0x1e4780(0x228)],'CommentsListView':_0x3dfe62,'CommentThreadInputView':_0x16c00b,'SuggestionView':_0x387530}),_0x27a4fe[_0x1e4780(0x22b)][_0x1e4780(0x1d1)]['on'](_0x1e4780(0x196),()=>{const _0x3282e=_0x1e4780;_0x539bfa[_0x3282e(0x21f)][_0x3282e(0x1dd)][_0x3282e(0x21e)]();}),_0x27a4fe[_0x1e4780(0x22b)][_0x1e4780(0x1e6)]['on'](_0x1e4780(0x196),()=>{const _0x1dbf9a=_0x1e4780;_0x539bfa[_0x1dbf9a(0x21f)][_0x1dbf9a(0x1dd)][_0x1dbf9a(0x21e)]();}),_0x1e1cb6=_0xcbcecb[_0x1e4780(0x204)](this[_0x1e4780(0x22f)][_0x1e4780(0x1a2)],_0x27a4fe),_0x1e1cb6[_0x1e4780(0x1f0)](_0x1e4780(0x22c))['to'](_0x27a4fe,_0x1e4780(0x22c)),_0x1e1cb6[_0x1e4780(0x1f0)](_0x1e4780(0x22e))['to'](_0x27a4fe),_0x1e1cb6[_0x1e4780(0x1f0)](_0x1e4780(0x1d7))['to'](_0x27a4fe,_0x1e4780(0x1d7),_0x5c5772=>_0x1e4780(0x1a4)+_0x5c5772),_0x27a4fe['on'](_0x1e4780(0x192),()=>{const _0x46c354=_0x1e4780;_0x9f4324[_0x46c354(0x21d)](_0x46c354(0x192));}),this[_0x1e4780(0x19d)][_0x1e4780(0x1ea)](_0x50cc0a['id'],_0x1e1cb6));const _0xc58896=_0x354207[_0x1e4780(0x181)](_0x50cc0a[_0x1e4780(0x191)],_0x27a4fe),_0x256033=new _0x2fec1e(_0x539bfa,_0x50cc0a,_0x27a4fe,_0xc58896),_0x1241a0=_0x50cc0a[_0x1e4780(0x21b)]()[_0x1e4780(0x215)](_0x2dbc04=>_0x2dbc04[_0x1e4780(0x18a)]);_0x27a4fe[_0x1e4780(0x1b7)]=_0x539bfa[_0x1e4780(0x1de)][_0x1e4780(0x1d3)](_0x1e4780(0x1ec))[_0x1e4780(0x1d6)][_0x1e4780(0x1b9)](_0x1241a0),this[_0x1e4780(0x1c3)][_0x1e4780(0x1ea)](_0x50cc0a,_0x256033),this[_0x1e4780(0x1e0)][_0x1e4780(0x1ea)](_0x27a4fe,_0x256033);const _0x40cf8d=()=>{const _0x1dfd76=_0x1e4780,_0xb38bab=[],_0x320a37=_0x50cc0a[_0x1dfd76(0x21b)]()[_0x1dfd76(0x215)](_0x232605=>_0x232605[_0x1dfd76(0x18a)]);for(const _0x55bd3c of _0x320a37)_0xb38bab[_0x1dfd76(0x1c9)](..._0x55bd3c[_0x1dfd76(0x1ee)]());return _0x29daf1(_0x539bfa[_0x1dfd76(0x21f)],_0xb38bab);};_0x9f4324=_0xcbcecb[_0x1e4780(0x1ba)]({'view':_0x1e1cb6,'target':_0x40cf8d,'type':()=>_0x1e4780(0x1a4)+_0x256033[_0x1e4780(0x1dd)][_0x1e4780(0x1d7)],'isVisible':!!_0x40cf8d()}),_0x354207[_0x1e4780(0x232)](_0x27a4fe,_0x9f4324),_0xcbcecb[_0x1e4780(0x211)](_0x9f4324),_0xb7f35f[_0x1e4780(0x20a)](_0x9f4324);}[_0x5145d7(0x1a5)](_0x434ec2){const _0x4c6aef=_0x5145d7,_0xbf3b0e=this[_0x4c6aef(0x22f)][_0x4c6aef(0x1de)][_0x4c6aef(0x1d3)](_0x4c6aef(0x1cc)),_0x46ebe0=this[_0x4c6aef(0x22f)][_0x4c6aef(0x1de)][_0x4c6aef(0x1d3)](_0x4c6aef(0x218)),_0x353d74=this[_0x4c6aef(0x1c3)][_0x4c6aef(0x1d3)](_0x434ec2),_0x4d4919=_0x353d74[_0x4c6aef(0x1dd)],_0x314bf8=_0x46ebe0[_0x4c6aef(0x194)](_0x4d4919);_0xbf3b0e[_0x4c6aef(0x20f)](_0x4d4919),_0x314bf8&&_0x46ebe0[_0x4c6aef(0x1b2)](_0x314bf8),this[_0x4c6aef(0x1c3)][_0x4c6aef(0x1e9)](_0x434ec2),this[_0x4c6aef(0x1e0)][_0x4c6aef(0x1e9)](_0x4d4919),_0x353d74[_0x4c6aef(0x1d9)]();}[_0x5145d7(0x19b)](_0xc70fde){const _0x298760=_0x5145d7;if(!_0xc70fde[_0x298760(0x18a)]||!this[_0x298760(0x1c3)][_0x298760(0x1c4)](_0xc70fde))return;const _0x5191d8=this[_0x298760(0x22f)][_0x298760(0x1de)][_0x298760(0x1d3)](_0x298760(0x1ec)),_0x30a019=this[_0x298760(0x1c3)][_0x298760(0x1d3)](_0xc70fde),_0x4c8ffd=_0xc70fde[_0x298760(0x21b)]();_0x30a019[_0x298760(0x1dd)][_0x298760(0x1b7)]=_0x5191d8[_0x298760(0x1d6)][_0x298760(0x1b9)](_0x4c8ffd);}[_0x5145d7(0x1d9)](){const _0x1f6d9b=_0x5145d7;for(const _0x1e574d of this[_0x1f6d9b(0x1c3)][_0x1f6d9b(0x208)]())this[_0x1f6d9b(0x1a5)](_0x1e574d);for(const _0x1d5a3f of this[_0x1f6d9b(0x19d)][_0x1f6d9b(0x184)]())_0x1d5a3f[_0x1f6d9b(0x1d0)][_0x1f6d9b(0x1d9)]();super[_0x1f6d9b(0x1d9)](),this[_0x1f6d9b(0x1bd)]&&clearInterval(this[_0x1f6d9b(0x1bd)]);}}function ke(_0x5f2fb9){const _0x206857=_0x5145d7;return _0x206857(0x199)in _0x5f2fb9;}
|
|
23
|
+
const _0x39a907=_0x3378;(function(_0x48211a,_0x43c665){const _0x39f30b=_0x3378,_0x46602a=_0x48211a();while(!![]){try{const _0x510c83=parseInt(_0x39f30b(0xa3))/0x1*(parseInt(_0x39f30b(0x12c))/0x2)+-parseInt(_0x39f30b(0xab))/0x3*(parseInt(_0x39f30b(0xf7))/0x4)+parseInt(_0x39f30b(0xc5))/0x5*(parseInt(_0x39f30b(0xf9))/0x6)+parseInt(_0x39f30b(0xd3))/0x7*(parseInt(_0x39f30b(0x118))/0x8)+parseInt(_0x39f30b(0x14a))/0x9+-parseInt(_0x39f30b(0x114))/0xa+parseInt(_0x39f30b(0x12a))/0xb*(-parseInt(_0x39f30b(0xda))/0xc);if(_0x510c83===_0x43c665)break;else _0x46602a['push'](_0x46602a['shift']());}catch(_0x5cc125){_0x46602a['push'](_0x46602a['shift']());}}}(_0x158e,0x8d9c3));import{Plugin as _0x429354}from'ckeditor5/src/core.js';import{Collection as _0x55af33}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x3e01c9}from'ckeditor5/src/icons.js';function _0x3378(_0xab7d6f,_0x3f3caf){const _0x158e1f=_0x158e();return _0x3378=function(_0x3378c,_0x4927cc){_0x3378c=_0x3378c-0xa1;let _0x499e12=_0x158e1f[_0x3378c];return _0x499e12;},_0x3378(_0xab7d6f,_0x3f3caf);}import{addListToDropdown as _0x163f6b,createDropdown as _0x2828bc,ListSeparatorView as _0x572b62,MenuBarMenuView as _0xd11eb,MenuBarMenuListView as _0x2ce28d,MenuBarMenuListItemView as _0x4ed113,MenuBarMenuListItemButtonView as _0x246d1e,SplitButtonView as _0x43f643,UIModel as _0x421dad}from'ckeditor5/src/ui.js';import{Users as _0xe181cb,getDateTimeFormatter as _0x4039d8,getAllMarkersDomElementsSorted as _0x213825}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x161bdb}from'./trackchangesediting.js';import{SuggestionController as _0x16033f}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x23ecce}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x4c79d1}from'./ui/view/suggestionview.js';import{getTranslation as _0x124b94}from'./utils/common-translations.js';function _0x158e(){const _0x44fe8a=['lowest','_annotationViews','trackChangesLicenseKeyUsageLimit','trackChangesLicenseKeyValid','discardButton','previewFinalContent','_handleControllerBuffer','length','buttonView','reduce','suggestion-','CommentsRepository','commentsListView','_destroyController','addSourceCollector','set','_handleSuggestionControllerDelayed','listenTo','keys','separator','4OBENQZ','switchbutton','36CXnppU','size','licenseKey','comments','createAnnotationView','getDescriptions','registerAnnotation','locale','children','CommentView','Accept\x20all\x20selected\x20suggestions','_showLicenseError','_updateController','descriptionFactory','domainLimit','createAnnotation','comments.maxThreadTotalWeight','_createMenuBarMenu','push','getFirstRange','commentThread','invalid','arrowView','mainView','Discard\x20all\x20selected\x20suggestions','button','escape','3741510twuAzF','_bindAnnotationToEditors','getMarkerNames','innerView','8eGpwCK','TrackChangesPreview','activeMarkers','commandName','getSuggestion','SuggestionView','suggestionView','comments.editorConfig','Accept\x20all\x20suggestions','evaluationLimit','TrackChangesUI','model','hasSuggestion','getByInnerView','_addUIComponentsToFactory','add','panelView','usageLimit','341dutMiu','trialLimit','2Tytrax','_disableComments','menu','comments.maxCommentsWhenCollapsed','suggestionChanged','TrackChanges','commands','refreshSelectedViews','trackChangesLicenseKeyExpired','delete','getAnnotationForSuggestion','_createToolbarButton','acceptAllSuggestions','featureNotAllowed','get','unbind','values','menuBar:trackChanges','remove','editing','Preview\x20final\x20content','items','trackChangesLicenseKeyNotAllowed','type','getAllAdjacentSuggestions','stopListening','trackChanges.SuggestionThreadView','acceptButton','clear','trackChanges.SuggestionView','9710001CHUbcK','source','getMarkers','plugins','_suggestionToController','from','trackChangesLicenseKeyEvaluationLimit','descriptionParts','componentFactory','Track\x20changes','value','acceptSelectedSuggestions','previous','600549BXeHvB','getRanges','editor','discardSelectedSuggestions','createCommentThreadController','isDirty','_licenseKeyCheckInterval','Discard\x20all\x20suggestions','3224283xlJrfM','menuitem','_refreshActiveMarkers','change:activeAnnotations','isInContent','trackChanges','discardAllSuggestions','_initializeController','some','toMany','trackChangesLicenseKeyDomainLimit','isEnabled','getJoined','config','menuitemcheckbox','filter','SuggestionThreadView','Annotations','fire','destroy','addMany','execute','bind','addComment','CommentsUI','isMultiRange','690295xjFdFn','focus','view','define','_unbindEditors','expired','actionView','TrackChangesEditing','init','change:previous','pluginName','has','getSuggestionForAnnotation','trackChangesLicenseKeyInvalid','1800099WHGNZq','activeAnnotations','comments.maxCommentCharsWhenCollapsed','isOn','trackChanges.disableComments','head','isPremiumPlugin','284904NaTVpo','suggestionLoaded','EditorAnnotations','isOfficialPlugin','delegate','requires','trackChangesLicenseKeyTrialLimit','suggestionUnloaded','_viewToController'];_0x158e=function(){return _0x44fe8a;};return _0x158e();}export class TrackChangesUI extends _0x429354{[_0x39a907(0xfb)];[_0x39a907(0xa9)];[_0x39a907(0x14e)];[_0x39a907(0xe2)];[_0x39a907(0xe4)];[_0x39a907(0xe9)];[_0x39a907(0x12d)];static get[_0x39a907(0xdf)](){const _0x11ab4e=_0x39a907;return[_0x161bdb,_0xe181cb,_0x11ab4e(0xee),_0x11ab4e(0xbc),_0x11ab4e(0xdc)];}static get[_0x39a907(0xcf)](){const _0x41f083=_0x39a907;return _0x41f083(0x122);}static get[_0x39a907(0xdd)](){return!0x0;}static get[_0x39a907(0xd9)](){return!0x0;}constructor(_0x2e93d5){const _0x4828ba=_0x39a907;super(_0x2e93d5),this[_0x4828ba(0x14e)]=new Map(),this[_0x4828ba(0xe2)]=new Map(),this[_0x4828ba(0xe4)]=new Map(),this[_0x4828ba(0xe9)]=new Map();const _0x5e4411=this[_0x4828ba(0xa5)][_0x4828ba(0xb8)];_0x5e4411[_0x4828ba(0xc8)](_0x4828ba(0x146),_0x23ecce),_0x5e4411[_0x4828ba(0xc8)](_0x4828ba(0x149),_0x4c79d1),_0x5e4411[_0x4828ba(0xc8)](_0x4828ba(0xd7),!0x1),this[_0x4828ba(0x12d)]=_0x5e4411[_0x4828ba(0x13a)](_0x4828ba(0xd7));}[_0x39a907(0xf3)](_0x24ca24,_0x492dd1){const _0x4900eb=_0x39a907;0x0===this[_0x4900eb(0xe9)][_0x4900eb(0xfa)]&&setTimeout(()=>{const _0x302549=_0x4900eb;for(const [_0x5746e0,_0x1dbb0d]of this[_0x302549(0xe9)]){const _0x28b444=this[_0x302549(0x14e)][_0x302549(0xd0)](_0x5746e0);_0x28b444||_0x1dbb0d?_0x28b444&&_0x1dbb0d&&this[_0x302549(0xf0)](_0x5746e0):this[_0x302549(0xb2)](_0x5746e0);}this[_0x302549(0xe9)][_0x302549(0x148)](),this[_0x302549(0xa5)][_0x302549(0x14d)][_0x302549(0x13a)](_0x302549(0xdc))[_0x302549(0x133)](),this[_0x302549(0xad)]();},0xa),this[_0x4900eb(0xe9)][_0x4900eb(0xf2)](_0x24ca24,_0x492dd1);}[_0x39a907(0xcd)](){const _0x4fc1d6=_0x39a907,_0x1a14c5=this[_0x4fc1d6(0xa5)],_0x3daa29=_0x1a14c5[_0x4fc1d6(0x14d)][_0x4fc1d6(0x13a)](_0x4fc1d6(0xcc)),_0x51bc3b=_0x1a14c5[_0x4fc1d6(0x14d)][_0x4fc1d6(0x13a)](_0x4fc1d6(0xbc)),_0x5ac0ff=_0x1a14c5[_0x4fc1d6(0x14d)][_0x4fc1d6(0x13a)](_0x4fc1d6(0xdc)),_0x331aae=_0x1a14c5[_0x4fc1d6(0x14d)][_0x4fc1d6(0x13a)](_0x4fc1d6(0xee));this[_0x4fc1d6(0x126)](),_0x5ac0ff[_0x4fc1d6(0xf1)](()=>{const _0x12660e=_0x4fc1d6,_0xd86820=[];for(const [_0x4ab427,_0x5b631b]of Array[_0x12660e(0x14f)](this[_0x12660e(0x14e)])){const _0x5dcebd=_0x4ab427[_0x12660e(0x144)](),_0x2b5a79=[];for(const _0x2cae0c of _0x5dcebd){if(!_0x2cae0c[_0x12660e(0xaf)])continue;if(_0x2cae0c[_0x12660e(0xc4)]){_0x2b5a79[_0x12660e(0x10b)](..._0x2cae0c[_0x12660e(0xa4)]());continue;}const _0x213029=_0x2cae0c[_0x12660e(0x10c)]();if(_0x2b5a79[_0x12660e(0xea)]>0x0){const _0xd3929c=_0x2b5a79[0x0][_0x12660e(0xb7)](_0x213029);if(_0xd3929c){_0x2b5a79[0x0]=_0xd3929c;continue;}}_0x2b5a79[_0x12660e(0x10b)](_0x213029);}_0xd86820[_0x12660e(0x10b)]([_0x5b631b[_0x12660e(0xc7)],_0x2b5a79]);}return _0xd86820;}),this[_0x4fc1d6(0xf4)](_0x3daa29,_0x4fc1d6(0xdb),(_0x43e570,_0x102980)=>{const _0x537ed9=_0x4fc1d6;this[_0x537ed9(0xf4)](_0x102980,_0x537ed9(0xce),(_0x564071,_0x91c9f6,_0x43917d,_0x388348)=>{const _0x48e1e8=_0x537ed9;_0x102980[_0x48e1e8(0xaf)]&&(null==_0x43917d?(this[_0x48e1e8(0x105)](_0x388348[_0x48e1e8(0xd8)]),this[_0x48e1e8(0xf3)](_0x102980,!0x1)):(this[_0x48e1e8(0x105)](_0x43917d[_0x48e1e8(0xd8)]),null==_0x388348&&this[_0x48e1e8(0xf3)](_0x102980,!0x0)));}),null!==_0x102980[_0x537ed9(0xa2)]?this[_0x537ed9(0x105)](_0x102980[_0x537ed9(0xd8)]):this[_0x537ed9(0xf3)](_0x102980,!0x1);}),this[_0x4fc1d6(0xf4)](_0x3daa29,_0x4fc1d6(0xe1),(_0x4b7000,_0x14b654,_0x2a9801)=>{const _0x14765e=_0x4fc1d6;this[_0x14765e(0x145)](_0x14b654,_0x14765e(0xce)),this[_0x14765e(0xe9)][_0x14765e(0x135)](_0x14b654),this[_0x14765e(0x14e)][_0x14765e(0xd0)](_0x14b654)&&this[_0x14765e(0xf0)](_0x14b654),_0x2a9801&&this[_0x14765e(0x105)](_0x2a9801[_0x14765e(0xd8)]);}),this[_0x4fc1d6(0xf4)](_0x3daa29,_0x4fc1d6(0x130),(_0x44a82a,_0x1b8152)=>{const _0x214853=_0x4fc1d6;this[_0x214853(0x105)](_0x1b8152);}),this[_0x4fc1d6(0xf4)](_0x51bc3b,_0x4fc1d6(0xae),()=>{const _0x47d7c8=_0x4fc1d6;this[_0x47d7c8(0xad)]();}),this[_0x4fc1d6(0xf4)](_0x331aae,_0x4fc1d6(0xc2),(_0x28bdaa,{threadId:_0x2e3a73,isFromAdapter:_0x4adb17})=>{const _0x37a7bd=_0x4fc1d6;if(_0x4adb17||!_0x3daa29[_0x37a7bd(0x124)](_0x2e3a73))return;const _0x543f93=_0x3daa29[_0x37a7bd(0x11c)](_0x2e3a73);this[_0x37a7bd(0x14e)][_0x37a7bd(0x13a)](_0x543f93)[_0x37a7bd(0xc7)][_0x37a7bd(0xef)][_0x37a7bd(0xc6)](-0x1);},{'priority':_0x4fc1d6(0xe3)}),this[_0x4fc1d6(0xfb)]=this[_0x4fc1d6(0xa5)][_0x4fc1d6(0xb8)][_0x4fc1d6(0x13a)](_0x4fc1d6(0xfb));const _0x30d54c=this[_0x4fc1d6(0xa5)];this[_0x4fc1d6(0xa9)]=setInterval(()=>{const _0x1916ec=_0x4fc1d6;let _0x447b55;for(const _0x9d7a6f in _0x30d54c){const _0x17b14d=_0x9d7a6f,_0x2683b2=_0x30d54c[_0x17b14d];if(_0x1916ec(0xe6)==_0x2683b2||_0x1916ec(0xd2)==_0x2683b2||_0x1916ec(0x134)==_0x2683b2||_0x1916ec(0xb5)==_0x2683b2||_0x1916ec(0x142)==_0x2683b2||_0x1916ec(0x150)==_0x2683b2||_0x1916ec(0xe0)==_0x2683b2||_0x1916ec(0xe5)==_0x2683b2){delete _0x30d54c[_0x17b14d],_0x447b55=_0x2683b2,clearInterval(this[_0x1916ec(0xa9)]),this[_0x1916ec(0xa9)]=void 0x0;break;}}_0x1916ec(0xd2)==_0x447b55&&_0x30d54c[_0x1916ec(0x104)](_0x1916ec(0x10e)),_0x1916ec(0x134)==_0x447b55&&_0x30d54c[_0x1916ec(0x104)](_0x1916ec(0xca)),_0x1916ec(0xb5)==_0x447b55&&_0x30d54c[_0x1916ec(0x104)](_0x1916ec(0x107)),_0x1916ec(0x142)==_0x447b55&&_0x30d54c[_0x1916ec(0x104)](_0x1916ec(0x139),_0x1916ec(0x131)),_0x1916ec(0x150)==_0x447b55&&_0x30d54c[_0x1916ec(0x104)](_0x1916ec(0x121)),_0x1916ec(0xe0)==_0x447b55&&_0x30d54c[_0x1916ec(0x104)](_0x1916ec(0x12b)),_0x1916ec(0xe5)==_0x447b55&&_0x30d54c[_0x1916ec(0x104)](_0x1916ec(0x129));},0x3e8);}[_0x39a907(0x136)](_0x231d73){const _0x162ad8=_0x39a907,_0xd50c87=this[_0x162ad8(0x14e)][_0x162ad8(0x13a)](_0x231d73);if(!_0xd50c87)return null;return this[_0x162ad8(0xa5)][_0x162ad8(0x14d)][_0x162ad8(0x13a)](_0x162ad8(0xbc))[_0x162ad8(0x125)](_0xd50c87[_0x162ad8(0xc7)])||null;}[_0x39a907(0xd1)](_0x198418){const _0x477d7a=_0x39a907,_0x575c0e=this[_0x477d7a(0xe2)][_0x477d7a(0x13a)](_0x198418[_0x477d7a(0x117)]);return _0x575c0e?_0x575c0e[_0x477d7a(0x123)]:null;}[_0x39a907(0xad)](){const _0x27043c=_0x39a907,_0x29cc41=this[_0x27043c(0xa5)][_0x27043c(0x14d)][_0x27043c(0x13a)](_0x27043c(0xbc)),_0x147baf=this[_0x27043c(0xa5)][_0x27043c(0x14d)][_0x27043c(0x13a)](_0x27043c(0xcc)),_0x9806b9=Array[_0x27043c(0x14f)](_0x29cc41[_0x27043c(0xd4)],_0x48a18b=>_0x48a18b[_0x27043c(0x117)])[_0x27043c(0xba)](_0x2e4f5a=>this[_0x27043c(0xe2)][_0x27043c(0xd0)](_0x2e4f5a)),_0x40599c=[];for(const _0x189cae of _0x9806b9){const _0x5d4911=this[_0x27043c(0xe2)][_0x27043c(0x13a)](_0x189cae)[_0x27043c(0x123)][_0x27043c(0x144)]();_0x40599c[_0x27043c(0x10b)](..._0x5d4911[_0x27043c(0xec)]((_0x6e00f6,_0x1f53e5)=>[..._0x6e00f6,..._0x1f53e5[_0x27043c(0x116)]()],[]));}_0x147baf[_0x27043c(0x11a)]=_0x40599c;}[_0x39a907(0x126)](){const _0x406eaa=_0x39a907,_0x111c41=this[_0x406eaa(0xa5)],_0x2377ac=_0x111c41[_0x406eaa(0x100)],_0x43634a=_0x124b94(_0x2377ac,_0x406eaa(0x153)),_0x1c0ef9=new _0x55af33([{'type':_0x406eaa(0xf8),'model':new _0x421dad({'withText':!0x0,'isToggleable':!0x0,'label':_0x43634a,'commandName':_0x406eaa(0xb0),'role':_0x406eaa(0xb9)})},{'type':_0x406eaa(0xf6)},{'type':_0x406eaa(0x112),'model':new _0x421dad({'withText':!0x0,'label':_0x124b94(_0x2377ac,_0x406eaa(0x120)),'commandName':_0x406eaa(0x138),'role':_0x406eaa(0xac)})},{'type':_0x406eaa(0x112),'model':new _0x421dad({'withText':!0x0,'label':_0x124b94(_0x2377ac,_0x406eaa(0x103)),'commandName':_0x406eaa(0xa1),'role':_0x406eaa(0xac)})},{'type':_0x406eaa(0x112),'model':new _0x421dad({'withText':!0x0,'label':_0x124b94(_0x2377ac,_0x406eaa(0xaa)),'commandName':_0x406eaa(0xb1),'role':_0x406eaa(0xac)})},{'type':_0x406eaa(0x112),'model':new _0x421dad({'withText':!0x0,'label':_0x124b94(_0x2377ac,_0x406eaa(0x111)),'commandName':_0x406eaa(0xa6),'role':_0x406eaa(0xac)})}]);_0x111c41[_0x406eaa(0x14d)][_0x406eaa(0xd0)](_0x406eaa(0x119))&&_0x1c0ef9[_0x406eaa(0xbf)]([{'type':_0x406eaa(0xf6)},{'type':_0x406eaa(0x112),'model':new _0x421dad({'withText':!0x0,'label':_0x124b94(_0x2377ac,_0x406eaa(0x140)),'commandName':_0x406eaa(0xe8),'role':_0x406eaa(0xac)})}]);for(const _0x290a81 of _0x1c0ef9)if(ke(_0x290a81)){const _0x26eb32=_0x111c41[_0x406eaa(0x132)][_0x406eaa(0x13a)](_0x290a81[_0x406eaa(0x123)][_0x406eaa(0x11b)]);_0x290a81[_0x406eaa(0x123)][_0x406eaa(0xc1)](_0x406eaa(0xd6),_0x406eaa(0xb6))['to'](_0x26eb32,_0x406eaa(0x154),_0x406eaa(0xb6));}_0x111c41['ui'][_0x406eaa(0x152)][_0x406eaa(0x127)](_0x406eaa(0xb0),_0x161396=>this[_0x406eaa(0x137)](_0x161396,_0x1c0ef9,_0x43634a)),_0x111c41['ui'][_0x406eaa(0x152)][_0x406eaa(0x127)](_0x406eaa(0x13d),_0x304c9c=>this[_0x406eaa(0x10a)](_0x304c9c,_0x1c0ef9,_0x43634a));}[_0x39a907(0x137)](_0xd36efd,_0x8192af,_0x663142){const _0x279297=_0x39a907,_0x368269=_0x2828bc(_0xd36efd,_0x43f643),_0x459c2e=this[_0x279297(0xa5)][_0x279297(0x132)][_0x279297(0x13a)](_0x279297(0xb0));_0x368269[_0x279297(0xeb)][_0x279297(0xf2)]({'tooltip':_0x663142,'label':_0x663142,'icon':_0x3e01c9}),_0x368269[_0x279297(0xeb)][_0x279297(0xc1)](_0x279297(0xd6))['to'](_0x459c2e,_0x279297(0x154)),_0x368269[_0x279297(0xeb)]['on'](_0x279297(0xc0),()=>{const _0xa2b274=_0x279297;_0x459c2e[_0xa2b274(0xc0)](),this[_0xa2b274(0xa5)][_0xa2b274(0x13f)][_0xa2b274(0xc7)][_0xa2b274(0xc6)]();}),_0x163f6b(_0x368269,_0x8192af,{'role':_0x279297(0x12e)});const _0x4b333d=[];for(const _0x3eda21 of _0x8192af)ke(_0x3eda21)&&_0x4b333d[_0x279297(0x10b)](this[_0x279297(0xa5)][_0x279297(0x132)][_0x279297(0x13a)](_0x3eda21[_0x279297(0x123)][_0x279297(0x11b)]));const _0xdf5ce2=_0x368269[_0x279297(0xeb)];return _0xdf5ce2[_0x279297(0xcb)][_0x279297(0x13b)](_0x279297(0xb6)),_0xdf5ce2[_0x279297(0x10f)][_0x279297(0x13b)](_0x279297(0xb6)),_0xdf5ce2[_0x279297(0xcb)][_0x279297(0xc1)](_0x279297(0xb6))['to'](_0x459c2e,_0x279297(0xb6)),_0xdf5ce2[_0x279297(0x10f)][_0x279297(0xc1)](_0x279297(0xb6))[_0x279297(0xb4)](_0x4b333d,_0x279297(0xb6),(..._0x589b84)=>_0x589b84[_0x279297(0xb3)](_0x520301=>_0x520301)),_0x368269['on'](_0x279297(0xc0),_0x421b6b=>{const _0x2304ce=_0x279297;this[_0x2304ce(0xa5)][_0x2304ce(0xc0)](_0x421b6b[_0x2304ce(0x14b)][_0x2304ce(0x11b)]),this[_0x2304ce(0xa5)][_0x2304ce(0x13f)][_0x2304ce(0xc7)][_0x2304ce(0xc6)]();}),_0x368269;}[_0x39a907(0x10a)](_0x1f5c4f,_0x48ec75,_0x49f369){const _0x26e6bc=_0x39a907,_0x2b78f5=new _0xd11eb(_0x1f5c4f),_0x336f90=this[_0x26e6bc(0xa5)][_0x26e6bc(0x132)][_0x26e6bc(0x13a)](_0x26e6bc(0xb0));_0x2b78f5[_0x26e6bc(0xeb)][_0x26e6bc(0xf2)]({'label':_0x49f369,'icon':_0x3e01c9});const _0x1c58e4=new _0x2ce28d(_0x1f5c4f);for(const _0x308bde of _0x48ec75){if(_0x26e6bc(0xf6)==_0x308bde[_0x26e6bc(0x143)]){_0x1c58e4[_0x26e6bc(0x141)][_0x26e6bc(0x127)](new _0x572b62(_0x1f5c4f));continue;}const _0x589926=new _0x4ed113(_0x1f5c4f,_0x2b78f5),_0x173cb0=new _0x246d1e(_0x1f5c4f),_0x4ca3f6=_0x308bde[_0x26e6bc(0x123)];_0x173cb0[_0x26e6bc(0xc1)](...Object[_0x26e6bc(0xf5)](_0x4ca3f6))['to'](_0x4ca3f6),_0x173cb0[_0x26e6bc(0xde)](_0x26e6bc(0xc0))['to'](_0x2b78f5),_0x173cb0['on'](_0x26e6bc(0xc0),()=>{const _0x5a38b4=_0x26e6bc;this[_0x5a38b4(0xa5)][_0x5a38b4(0xc0)](_0x4ca3f6[_0x5a38b4(0x11b)]),this[_0x5a38b4(0xa5)][_0x5a38b4(0x13f)][_0x5a38b4(0xc7)][_0x5a38b4(0xc6)]();}),_0x589926[_0x26e6bc(0x101)][_0x26e6bc(0x127)](_0x173cb0),_0x1c58e4[_0x26e6bc(0x141)][_0x26e6bc(0x127)](_0x589926);}return _0x2b78f5[_0x26e6bc(0xc1)](_0x26e6bc(0xb6))['to'](_0x336f90,_0x26e6bc(0xb6)),_0x2b78f5[_0x26e6bc(0x128)][_0x26e6bc(0x101)][_0x26e6bc(0x127)](_0x1c58e4),_0x2b78f5;}[_0x39a907(0xb2)](_0x2b8d2a){const _0x5db93a=_0x39a907,_0x1aac56=this[_0x5db93a(0xa5)],_0x2ae4c0=_0x1aac56[_0x5db93a(0xb8)],_0x27d11e=_0x1aac56[_0x5db93a(0x14d)][_0x5db93a(0x13a)](_0x5db93a(0xbc)),_0x3a6ec3=_0x1aac56[_0x5db93a(0x14d)][_0x5db93a(0x13a)](_0x5db93a(0xee)),_0x507c84=_0x1aac56[_0x5db93a(0x14d)][_0x5db93a(0x13a)](_0x5db93a(0xdc)),_0x364774=_0x1aac56[_0x5db93a(0x14d)][_0x5db93a(0x13a)](_0xe181cb)['me'],_0x42591c=_0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0xb0))[_0x5db93a(0xbb)],_0x518053=_0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0xb0))[_0x5db93a(0x11d)],{CommentsListView:_0x46e9a2,CommentThreadInputView:_0x38cdc0}=_0x1aac56[_0x5db93a(0x14d)][_0x5db93a(0x13a)](_0x5db93a(0xc3));let _0x4b903a,_0x1b7be6,_0x23e6e0;this[_0x5db93a(0xe4)][_0x5db93a(0xd0)](_0x2b8d2a['id'])?(_0x1b7be6=this[_0x5db93a(0xe4)][_0x5db93a(0x13a)](_0x2b8d2a['id']),_0x4b903a=_0x1b7be6[_0x5db93a(0x110)]):(_0x4b903a=new _0x42591c(_0x1aac56[_0x5db93a(0x100)],_0x2b8d2a,_0x364774,{'disableComments':this[_0x5db93a(0x12d)],'editorConfig':{..._0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0x11f)),'licenseKey':_0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0xfb))},'maxCommentsWhenCollapsed':_0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0x12f)),'maxThreadTotalWeight':_0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0x109)),'maxCommentCharsWhenCollapsed':_0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0xd5)),'formatDateTime':_0x4039d8(_0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0x100)),_0x1aac56[_0x5db93a(0x100)]),'CommentView':_0x2ae4c0[_0x5db93a(0x13a)](_0x5db93a(0xfc))[_0x5db93a(0x102)],'CommentsListView':_0x46e9a2,'CommentThreadInputView':_0x38cdc0,'SuggestionView':_0x518053}),_0x4b903a[_0x5db93a(0x11e)][_0x5db93a(0x147)]['on'](_0x5db93a(0xc0),()=>{const _0x38d802=_0x5db93a;_0x1aac56[_0x38d802(0x13f)][_0x38d802(0xc7)][_0x38d802(0xc6)]();}),_0x4b903a[_0x5db93a(0x11e)][_0x5db93a(0xe7)]['on'](_0x5db93a(0xc0),()=>{const _0x50962a=_0x5db93a;_0x1aac56[_0x50962a(0x13f)][_0x50962a(0xc7)][_0x50962a(0xc6)]();}),_0x1b7be6=_0x27d11e[_0x5db93a(0xfd)](this[_0x5db93a(0xa5)][_0x5db93a(0x100)],_0x4b903a),_0x1b7be6[_0x5db93a(0xc1)](_0x5db93a(0xa8))['to'](_0x4b903a,_0x5db93a(0xa8)),_0x1b7be6[_0x5db93a(0xc1)](_0x5db93a(0xea))['to'](_0x4b903a),_0x1b7be6[_0x5db93a(0xc1)](_0x5db93a(0x143))['to'](_0x4b903a,_0x5db93a(0x143),_0x509202=>_0x5db93a(0xed)+_0x509202),_0x4b903a['on'](_0x5db93a(0x113),()=>{const _0x198621=_0x5db93a;_0x23e6e0[_0x198621(0xbd)](_0x198621(0x113));}),this[_0x5db93a(0xe4)][_0x5db93a(0xf2)](_0x2b8d2a['id'],_0x1b7be6));const _0x17ee13=_0x3a6ec3[_0x5db93a(0xa7)](_0x2b8d2a[_0x5db93a(0x10d)],_0x4b903a),_0x4031e9=new _0x16033f(_0x1aac56,_0x2b8d2a,_0x4b903a,_0x17ee13),_0x32c3e3=_0x2b8d2a[_0x5db93a(0x144)]()[_0x5db93a(0xba)](_0x51799f=>_0x51799f[_0x5db93a(0xaf)]);_0x4b903a[_0x5db93a(0x151)]=_0x1aac56[_0x5db93a(0x14d)][_0x5db93a(0x13a)](_0x5db93a(0xcc))[_0x5db93a(0x106)][_0x5db93a(0xfe)](_0x32c3e3),this[_0x5db93a(0x14e)][_0x5db93a(0xf2)](_0x2b8d2a,_0x4031e9),this[_0x5db93a(0xe2)][_0x5db93a(0xf2)](_0x4b903a,_0x4031e9);const _0x29e69a=()=>{const _0x3f3b10=_0x5db93a,_0x50fe96=[],_0x2f2a16=_0x2b8d2a[_0x3f3b10(0x144)]()[_0x3f3b10(0xba)](_0x12b1f0=>_0x12b1f0[_0x3f3b10(0xaf)]);for(const _0x40f590 of _0x2f2a16)_0x50fe96[_0x3f3b10(0x10b)](..._0x40f590[_0x3f3b10(0x14c)]());return _0x213825(_0x1aac56[_0x3f3b10(0x13f)],_0x50fe96);};_0x23e6e0=_0x27d11e[_0x5db93a(0x108)]({'view':_0x1b7be6,'target':_0x29e69a,'type':()=>_0x5db93a(0xed)+_0x4031e9[_0x5db93a(0xc7)][_0x5db93a(0x143)],'isVisible':!!_0x29e69a()}),_0x3a6ec3[_0x5db93a(0x115)](_0x4b903a,_0x23e6e0),_0x27d11e[_0x5db93a(0x127)](_0x23e6e0),_0x507c84[_0x5db93a(0xff)](_0x23e6e0);}[_0x39a907(0xf0)](_0x5b04e7){const _0x142537=_0x39a907,_0x3467ae=this[_0x142537(0xa5)][_0x142537(0x14d)][_0x142537(0x13a)](_0x142537(0xee)),_0x2a47f0=this[_0x142537(0xa5)][_0x142537(0x14d)][_0x142537(0x13a)](_0x142537(0xbc)),_0x146fc7=this[_0x142537(0x14e)][_0x142537(0x13a)](_0x5b04e7),_0x414aca=_0x146fc7[_0x142537(0xc7)],_0x5df75c=_0x2a47f0[_0x142537(0x125)](_0x414aca);_0x3467ae[_0x142537(0xc9)](_0x414aca),_0x5df75c&&_0x2a47f0[_0x142537(0x13e)](_0x5df75c),this[_0x142537(0x14e)][_0x142537(0x135)](_0x5b04e7),this[_0x142537(0xe2)][_0x142537(0x135)](_0x414aca),_0x146fc7[_0x142537(0xbe)]();}[_0x39a907(0x105)](_0x45492d){const _0x58ba6=_0x39a907;if(!_0x45492d[_0x58ba6(0xaf)]||!this[_0x58ba6(0x14e)][_0x58ba6(0xd0)](_0x45492d))return;const _0xd063d4=this[_0x58ba6(0xa5)][_0x58ba6(0x14d)][_0x58ba6(0x13a)](_0x58ba6(0xcc)),_0x200628=this[_0x58ba6(0x14e)][_0x58ba6(0x13a)](_0x45492d),_0x1431a3=_0x45492d[_0x58ba6(0x144)]();_0x200628[_0x58ba6(0xc7)][_0x58ba6(0x151)]=_0xd063d4[_0x58ba6(0x106)][_0x58ba6(0xfe)](_0x1431a3);}[_0x39a907(0xbe)](){const _0x2d69fb=_0x39a907;for(const _0x3796fa of this[_0x2d69fb(0x14e)][_0x2d69fb(0xf5)]())this[_0x2d69fb(0xf0)](_0x3796fa);for(const _0x2e282c of this[_0x2d69fb(0xe4)][_0x2d69fb(0x13c)]())_0x2e282c[_0x2d69fb(0x110)][_0x2d69fb(0xbe)]();super[_0x2d69fb(0xbe)](),this[_0x2d69fb(0xa9)]&&clearInterval(this[_0x2d69fb(0xa9)]);}}function ke(_0x4ed422){const _0x47f6cd=_0x39a907;return _0x47f6cd(0x123)in _0x4ed422;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1b6c(_0x1e0e40,_0x580367){const _0x22f65c=_0x22f6();return _0x1b6c=function(_0x1b6c56,_0x3a31a3){_0x1b6c56=_0x1b6c56-0xee;let _0x4decf0=_0x22f65c[_0x1b6c56];return _0x4decf0;},_0x1b6c(_0x1e0e40,_0x580367);}const _0x478544=_0x1b6c;(function(_0x41f128,_0x380d7b){const _0x4cf970=_0x1b6c,_0x273ac3=_0x41f128();while(!![]){try{const _0x122943=-parseInt(_0x4cf970(0xfb))/0x1+-parseInt(_0x4cf970(0x108))/0x2*(-parseInt(_0x4cf970(0xf0))/0x3)+-parseInt(_0x4cf970(0x10b))/0x4+-parseInt(_0x4cf970(0xf3))/0x5*(parseInt(_0x4cf970(0x110))/0x6)+-parseInt(_0x4cf970(0x10c))/0x7+parseInt(_0x4cf970(0x105))/0x8*(parseInt(_0x4cf970(0xfa))/0x9)+parseInt(_0x4cf970(0x10f))/0xa;if(_0x122943===_0x380d7b)break;else _0x273ac3['push'](_0x273ac3['shift']());}catch(_0x260fe0){_0x273ac3['push'](_0x273ac3['shift']());}}}(_0x22f6,0x3d5ec));import{ObservableMixin as _0x517133}from'ckeditor5/src/utils.js';import{getTranslation as _0x536ddd}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x517133(){[_0x478544(0xf5)];[_0x478544(0xf1)];[_0x478544(0xf6)];[_0x478544(0xf7)];[_0x478544(0xf4)];[_0x478544(0x10e)];[_0x478544(0xfd)];constructor(_0x21797d,_0x1bef90,_0x527f41,_0x21577b){const _0x1b162d=_0x478544;super(),this[_0x1b162d(0xf5)]=_0x1bef90,this[_0x1b162d(0xf1)]=_0x527f41,this[_0x1b162d(0xf6)]=_0x21577b,this[_0x1b162d(0xf7)]=_0x21797d,this[_0x1b162d(0xf4)]=_0x21797d[_0x1b162d(0x117)][_0x1b162d(0x104)](_0x1b162d(0xfe)),this[_0x1b162d(0x10e)]=_0x21797d[_0x1b162d(0x117)][_0x1b162d(0x104)](_0x1b162d(0x109)),this[_0x1b162d(0xf1)][_0x1b162d(0xee)](_0x1b162d(0x114))['to'](this[_0x1b162d(0xf4)],this[_0x1b162d(0x10e)],(_0x2fbca1,_0x2c149c)=>_0x2fbca1||_0x2c149c),this[_0x1b162d(0xf1)][_0x1b162d(0xee)](_0x1b162d(0x102))['to'](this[_0x1b162d(0xf4)],_0x1b162d(0x114),_0x301a58=>_0x301a58&&this[_0x1b162d(0xf7)][_0x1b162d(0xf5)][_0x1b162d(0xf9)](_0x1bef90[_0x1b162d(0x113)]())),this[_0x1b162d(0xf1)][_0x1b162d(0xee)](_0x1b162d(0xff))['to'](this[_0x1b162d(0x10e)],_0x1b162d(0x114),_0x15507e=>_0x15507e&&this[_0x1b162d(0xf7)][_0x1b162d(0xf5)][_0x1b162d(0xf9)](_0x1bef90[_0x1b162d(0x113)]())),this[_0x1b162d(0xfd)]=null,_0x527f41[_0x1b162d(0x115)]&&this[_0x1b162d(0xfc)](),this[_0x1b162d(0xef)](_0x527f41,_0x1b162d(0xfe),()=>this[_0x1b162d(0xfe)]()),this[_0x1b162d(0xef)](_0x527f41,_0x1b162d(0x109),()=>this[_0x1b162d(0x109)]()),this[_0x1b162d(0xef)](_0x527f41,_0x1b162d(0x116),()=>{const _0x1932dc=_0x1b162d;_0x527f41[_0x1932dc(0x115)]?this[_0x1932dc(0xfc)]():this[_0x1932dc(0x103)]();});}[_0x478544(0xfe)](){const _0x567521=_0x478544;this[_0x567521(0xf4)][_0x567521(0x107)](this[_0x567521(0xf5)]['id']);}[_0x478544(0x109)](){const _0x47667d=_0x478544;this[_0x47667d(0x10e)][_0x47667d(0x107)](this[_0x47667d(0xf5)]['id']);}[_0x478544(0x100)](){const _0x5ab292=_0x478544;this[_0x5ab292(0xf1)][_0x5ab292(0xf8)](_0x5ab292(0x114)),this[_0x5ab292(0xf1)][_0x5ab292(0xf8)](_0x5ab292(0x102)),this[_0x5ab292(0xf1)][_0x5ab292(0xf8)](_0x5ab292(0xff)),this[_0x5ab292(0x10a)](),this[_0x5ab292(0xf6)][_0x5ab292(0x100)](),this[_0x5ab292(0xfd)]&&this[_0x5ab292(0x103)]();}[_0x478544(0xfc)](){const _0x3dd204=_0x478544,_0x44fed8=_0x536ddd(this[_0x3dd204(0xf7)][_0x3dd204(0xf2)],_0x3dd204(0x106));this[_0x3dd204(0xfd)]=this[_0x3dd204(0xf7)][_0x3dd204(0x101)][_0x3dd204(0x104)](_0x3dd204(0x112))[_0x3dd204(0x111)](_0x44fed8);}[_0x478544(0x103)](){const _0x1b7ce0=_0x478544;null!==this[_0x1b7ce0(0xfd)]&&this[_0x1b7ce0(0xf7)][_0x1b7ce0(0x101)][_0x1b7ce0(0x104)](_0x1b7ce0(0x112))[_0x1b7ce0(0x10d)](this[_0x1b7ce0(0xfd)]),this[_0x1b7ce0(0xfd)]=null;}}function _0x22f6(){const _0x2978ef=['acceptSuggestion','canDiscard','destroy','plugins','canAccept','_removePendingAction','get','176992WmDSbp','PENDING_ACTION_SUGGESTION','execute','788914DwlOer','discardSuggestion','stopListening','263456pWRySD','2322628vCOdrU','remove','_discardCommand','6966810vYJRYm','2217270uyyVBI','add','PendingActions','getRanges','isEnabled','isDirty','change:isDirty','commands','bind','listenTo','3xITGod','view','locale','5dWsrir','_acceptCommand','model','commentThreadController','_editor','unbind','canEditAt','108WhOuVX','338041ZpIDss','_setPendingAction','_pendingAction'];_0x22f6=function(){return _0x2978ef;};return _0x22f6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c7029=_0x234f;(function(_0x14f8bf,_0x255d2b){const _0x7c1d6c=_0x234f,_0x588546=_0x14f8bf();while(!![]){try{const _0x1d8a91=-parseInt(_0x7c1d6c(0x1cd))/0x1*(parseInt(_0x7c1d6c(0x1ab))/0x2)+-parseInt(_0x7c1d6c(0x1c9))/0x3*(parseInt(_0x7c1d6c(0x1c5))/0x4)+-parseInt(_0x7c1d6c(0x1d1))/0x5+-parseInt(_0x7c1d6c(0x1ac))/0x6*(parseInt(_0x7c1d6c(0x1da))/0x7)+parseInt(_0x7c1d6c(0x1a8))/0x8*(parseInt(_0x7c1d6c(0x1cb))/0x9)+parseInt(_0x7c1d6c(0x1d5))/0xa+-parseInt(_0x7c1d6c(0x1a5))/0xb*(-parseInt(_0x7c1d6c(0x1b8))/0xc);if(_0x1d8a91===_0x255d2b)break;else _0x588546['push'](_0x588546['shift']());}catch(_0x1397b0){_0x588546['push'](_0x588546['shift']());}}}(_0x4b23,0x6bb33));import{FocusCycler as _0xcc88a9,View as _0x4d4ab5,ViewCollection as _0x569800}from'ckeditor5/src/ui.js';function _0x4b23(){const _0x56d4d0=['24RAKswE','element','render','disableComments','406476FdEusj','locale','9AldqZu','focus','71647qIhVCU','_localUser','keystrokes','delegate','345265esPRPe','removeComment','SUGGESTION_THREAD_ARIA_LABEL','parseFromString','2049490NbezoB','commentThreadInputView','_createCommentViews','fire','content','21yNivIt','addComment','ariaDescriptionView','textContent','isReadOnly','focusables','setData','isDirty','focusCycler','formatDateTime','commentInputView','isActive','submit','focusTracker','editor','destroy','descriptionParts','_model','canAccept','_config','commentThread','disabledSubmit','2332FgGSkL','updateComment','join','6658008zuKsuO','body','shift+tab','6oCcZBt','1452342XOUBSA','showInput','_createCommentThreadInputView','ariaLabel','map','text/html','isEnabled','authoredAt','length','name','commentsListView','assign','69456usJdGs','tab','canDiscard','bind','hasDirtyComment','cancel','author','target','editorConfig','value','SUGGESTION_THREAD_DESCRIPTION','set','CommentView'];_0x4b23=function(){return _0x56d4d0;};return _0x4b23();}import{FocusTracker as _0x40c818,KeystrokeHandler as _0x38e354}from'ckeditor5/src/utils.js';function _0x234f(_0x4a10f0,_0x3eaa0d){const _0x4b2398=_0x4b23();return _0x234f=function(_0x234fb2,_0x79e175){_0x234fb2=_0x234fb2-0x1a3;let _0x4fb4a1=_0x4b2398[_0x234fb2];return _0x4fb4a1;},_0x234f(_0x4a10f0,_0x3eaa0d);}import{AriaDescriptionView as _0x3ad2c7,setupThreadKeyboardNavigation as _0x3660e8}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x345d27}from'../../utils/common-translations.js';import{renderDescription as _0x9d0cfc}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x4d4ab5{[_0x2c7029(0x1b6)];[_0x2c7029(0x1d6)];[_0x2c7029(0x1dc)];[_0x2c7029(0x1df)];[_0x2c7029(0x1e7)];[_0x2c7029(0x1cf)];[_0x2c7029(0x1e2)];[_0x2c7029(0x1eb)];[_0x2c7029(0x1ce)];[_0x2c7029(0x1ed)];constructor(_0x1e3efb,_0x29e4a2,_0x2fb94f,_0xe3d8dc){const _0x4680b4=_0x2c7029;super(_0x1e3efb),this[_0x4680b4(0x1b6)]=null,this[_0x4680b4(0x1d6)]=null,this[_0x4680b4(0x1dc)]=new _0x3ad2c7(_0x1e3efb,_0x345d27(_0x1e3efb,_0x4680b4(0x1c2))),this[_0x4680b4(0x1c3)](_0x4680b4(0x1e5),!0x1),this[_0x4680b4(0x1c3)](_0x4680b4(0x1b3),_0x29e4a2[_0x4680b4(0x1b3)]),this[_0x4680b4(0x1bb)](_0x4680b4(0x1b3))['to'](_0x29e4a2),this[_0x4680b4(0x1c3)](_0x4680b4(0x1ea),[]),this[_0x4680b4(0x1c3)](_0x4680b4(0x1e1),!0x1),this[_0x4680b4(0x1c3)](_0x4680b4(0x1b2),!0x1),this[_0x4680b4(0x1c3)](_0x4680b4(0x1ec),!0x1),this[_0x4680b4(0x1c3)](_0x4680b4(0x1ba),!0x1),this[_0x4680b4(0x1bb)](_0x4680b4(0x1af))['to'](this,_0x4680b4(0x1b4),_0x29e4a2,_0x4680b4(0x1b3),this,_0x4680b4(0x1ea),(_0x352dfc,_0x12d3cc,_0x4fb806)=>{const _0x220ac5=_0x4680b4,_0x2089f4=_0x4fb806[_0x220ac5(0x1b0)](_0x55801d=>_0x9d0cfc(_0x55801d[_0x220ac5(0x1d9)]))[_0x220ac5(0x1a7)]('.\x20')+'.';return _0x345d27(this[_0x220ac5(0x1ca)],_0x220ac5(0x1d3),[_0x352dfc-0x1,_0x29e4a2[_0x220ac5(0x1be)][_0x220ac5(0x1b5)],_0x12d3cc?_0xe3d8dc[_0x220ac5(0x1e3)](_0x12d3cc):'',new DOMParser()[_0x220ac5(0x1d4)](_0x2089f4,_0x220ac5(0x1b1))[_0x220ac5(0x1a9)][_0x220ac5(0x1dd)]]);}),this[_0x4680b4(0x1df)]=new _0x569800(),this[_0x4680b4(0x1e7)]=new _0x40c818(),this[_0x4680b4(0x1cf)]=new _0x38e354(),this[_0x4680b4(0x1e2)]=new _0xcc88a9({'focusables':this[_0x4680b4(0x1df)],'focusTracker':this[_0x4680b4(0x1e7)],'keystrokeHandler':this[_0x4680b4(0x1cf)],'keystrokeHandlerOptions':{'filter':_0x2c7bf3=>_0x2c7bf3[_0x4680b4(0x1bf)]!==this[_0x4680b4(0x1c6)]},'actions':{'focusPrevious':_0x4680b4(0x1aa),'focusNext':_0x4680b4(0x1b9)}}),this[_0x4680b4(0x1eb)]=_0x29e4a2,this[_0x4680b4(0x1ce)]=_0x2fb94f,this[_0x4680b4(0x1ed)]=_0xe3d8dc,_0xe3d8dc[_0x4680b4(0x1c8)]?this[_0x4680b4(0x1c3)](_0x4680b4(0x1b4),0x1):this[_0x4680b4(0x1d7)]();}[_0x2c7029(0x1c7)](){const _0x409694=_0x2c7029;super[_0x409694(0x1c7)](),_0x3660e8(this,this[_0x409694(0x1df)]);}[_0x2c7029(0x1cc)](){const _0xbeb2d7=_0x2c7029;this[_0xbeb2d7(0x1c6)][_0xbeb2d7(0x1cc)]();}[_0x2c7029(0x1e9)](){const _0x2ee750=_0x2c7029;this[_0x2ee750(0x1b6)]&&this[_0x2ee750(0x1b6)][_0x2ee750(0x1e9)](),this[_0x2ee750(0x1d6)]&&this[_0x2ee750(0x1d6)][_0x2ee750(0x1e9)](),super[_0x2ee750(0x1e9)]();}[_0x2c7029(0x1d7)](){const _0x5dbd84=_0x2c7029,{CommentsListView:_0x102570}=this[_0x5dbd84(0x1ed)];this[_0x5dbd84(0x1b6)]=new _0x102570(this[_0x5dbd84(0x1ca)],this[_0x5dbd84(0x1eb)][_0x5dbd84(0x1a3)],Object[_0x5dbd84(0x1b7)]({'CommentView':this[_0x5dbd84(0x1ed)][_0x5dbd84(0x1c4)]},this[_0x5dbd84(0x1ed)])),this[_0x5dbd84(0x1b6)][_0x5dbd84(0x1d0)](_0x5dbd84(0x1d2))['to'](this),this[_0x5dbd84(0x1b6)][_0x5dbd84(0x1d0)](_0x5dbd84(0x1a6))['to'](this),this[_0x5dbd84(0x1b6)][_0x5dbd84(0x1bb)](_0x5dbd84(0x1e5))['to'](this),this[_0x5dbd84(0x1c3)](_0x5dbd84(0x1b4),this[_0x5dbd84(0x1b6)][_0x5dbd84(0x1b4)]+0x1),this[_0x5dbd84(0x1bb)](_0x5dbd84(0x1b4))['to'](this[_0x5dbd84(0x1b6)],_0x5dbd84(0x1b4),_0x5d0e2d=>_0x5d0e2d+0x1),this[_0x5dbd84(0x1d6)]=this[_0x5dbd84(0x1ae)](),this['on'](_0x5dbd84(0x1d2),()=>this[_0x5dbd84(0x1cc)]()),this[_0x5dbd84(0x1bb)](_0x5dbd84(0x1e1))['to'](this[_0x5dbd84(0x1b6)],_0x5dbd84(0x1bc),this[_0x5dbd84(0x1d6)][_0x5dbd84(0x1e4)],_0x5dbd84(0x1c1),(_0x122ab7,_0x501167)=>_0x122ab7||!!_0x501167);}[_0x2c7029(0x1ae)](){const _0x562cd0=_0x2c7029,{CommentThreadInputView:_0x5be630}=this[_0x562cd0(0x1ed)],_0x26e432=new _0x5be630(this[_0x562cd0(0x1ca)],this[_0x562cd0(0x1ce)],this[_0x562cd0(0x1ed)][_0x562cd0(0x1c0)]),_0x47f11f=_0x26e432[_0x562cd0(0x1e4)];return _0x26e432[_0x562cd0(0x1bb)](_0x562cd0(0x1ad))['to'](this,_0x562cd0(0x1e5),this[_0x562cd0(0x1eb)][_0x562cd0(0x1a3)],_0x562cd0(0x1de),_0x47f11f,_0x562cd0(0x1c1),(_0xed99df,_0x4171bb,_0x700621)=>!!_0x700621||_0xed99df&&!_0x4171bb),_0x47f11f['on'](_0x562cd0(0x1e6),(_0x237b97,_0x4a5507)=>{const _0xdb47e1=_0x562cd0;this[_0xdb47e1(0x1d8)](_0xdb47e1(0x1db),_0x4a5507),_0x47f11f[_0xdb47e1(0x1e8)][_0xdb47e1(0x1e0)]('');}),_0x47f11f['on'](_0x562cd0(0x1bd),()=>this[_0x562cd0(0x1cc)]()),_0x47f11f[_0x562cd0(0x1bb)](_0x562cd0(0x1a4))['to'](this[_0x562cd0(0x1eb)][_0x562cd0(0x1a3)],_0x562cd0(0x1de)),_0x26e432;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a682a=_0x5a0e;(function(_0x1aeb4c,_0x3f1d3b){const _0x513402=_0x5a0e,_0x586728=_0x1aeb4c();while(!![]){try{const _0x327dbd=parseInt(_0x513402(0x1b9))/0x1+parseInt(_0x513402(0x1b8))/0x2+-parseInt(_0x513402(0x1a1))/0x3*(-parseInt(_0x513402(0x1a7))/0x4)+-parseInt(_0x513402(0x1ab))/0x5+parseInt(_0x513402(0x195))/0x6+parseInt(_0x513402(0x194))/0x7+-parseInt(_0x513402(0x19a))/0x8;if(_0x327dbd===_0x3f1d3b)break;else _0x586728['push'](_0x586728['shift']());}catch(_0xaf3974){_0x586728['push'](_0x586728['shift']());}}}(_0x491c,0x93660));function _0x5a0e(_0x35c0b7,_0x162c4f){const _0x491cda=_0x491c();return _0x5a0e=function(_0x5a0e16,_0x4c2341){_0x5a0e16=_0x5a0e16-0x18d;let _0x3a80bd=_0x491cda[_0x5a0e16];return _0x3a80bd;},_0x5a0e(_0x35c0b7,_0x162c4f);}import{BaseSuggestionThreadView as _0x396f3f}from'./basesuggestionthreadview.js';function _0x491c(){const _0x46042a=['ck-rounded-corners','canDiscard','356960FOjFGh','_model','suggestionView','isActive','commentsListView','delegate','author','listitem','bind','acceptSuggestion','getTemplate','push','ck-suggestion-wrapper','1853412dWepkJ','1034328wuiuIY','content','</p>','description','_config','disableComments','descriptionParts','editorDestroyed','ck-suggestion--disabled-comments','<p>','commentThreadInputView','canAccept','acceptButton','color','setTemplate','SuggestionView','discardButton','bindTemplate','2806188mHpRiz','4568010RmeAYS','isEnabled','commentThread','focusables','_descriptionElement','28332496wrpzNr','ariaDescriptionView','render','add','discardSuggestion','ariaLabel','type','22623wzuaoS','div','ck-suggestion-wrapper--active','editorReady','formatDateTime','ck-suggestion-','580HKWZCU','set'];_0x491c=function(){return _0x46042a;};return _0x491c();}import{trimHtml as _0x5af9e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x9ecbbe}from'../../utils/utils.js';export class SuggestionThreadView extends _0x396f3f{[_0x5a682a(0x1ad)];[_0x5a682a(0x199)];constructor(_0x36c9a9,_0x36da8e,_0x37faa3,_0x16335b){const _0x3bb80c=_0x5a682a;super(_0x36c9a9,_0x36da8e,_0x37faa3,_0x16335b),this[_0x3bb80c(0x1a8)](_0x3bb80c(0x1a0),''),this[_0x3bb80c(0x1b3)](_0x3bb80c(0x1a0))['to'](this,_0x3bb80c(0x1bf),_0x41d1af=>_0x41d1af&&_0x41d1af[0x0]?_0x41d1af[0x0][_0x3bb80c(0x1a0)]:''),this[_0x3bb80c(0x1b3)](_0x3bb80c(0x1bc))['to'](this,_0x3bb80c(0x1bf),this,_0x3bb80c(0x1ae),(_0x230c9e,_0x14cc98)=>{const _0x3fefd5=_0x3bb80c;let _0x4202ce='';for(const _0x37763e of _0x230c9e)_0x4202ce+=_0x3fefd5(0x1c2)+_0x9ecbbe(_0x37763e[_0x3fefd5(0x1ba)],_0x37763e[_0x3fefd5(0x18f)])+_0x3fefd5(0x1bb);return _0x14cc98?_0x4202ce:_0x5af9e4(_0x4202ce,{'limit':0x8c});}),this[_0x3bb80c(0x199)]=null,this[_0x3bb80c(0x1ad)]=new _0x16335b[(_0x3bb80c(0x191))](_0x36c9a9,_0x36da8e,{'formatDateTime':_0x16335b[_0x3bb80c(0x1a5)]}),this[_0x3bb80c(0x1ad)][_0x3bb80c(0x1b3)](_0x3bb80c(0x1bc))['to'](this),this[_0x3bb80c(0x1ad)][_0x3bb80c(0x1b0)](_0x3bb80c(0x1b4),_0x3bb80c(0x19e))['to'](this),this[_0x3bb80c(0x1ad)][_0x3bb80c(0x18e)][_0x3bb80c(0x1b3)](_0x3bb80c(0x196))['to'](this,_0x3bb80c(0x18d)),this[_0x3bb80c(0x1ad)][_0x3bb80c(0x192)][_0x3bb80c(0x1b3)](_0x3bb80c(0x196))['to'](this,_0x3bb80c(0x1aa)),this[_0x3bb80c(0x198)][_0x3bb80c(0x19d)](this[_0x3bb80c(0x1ad)]),this[_0x3bb80c(0x1af)]&&this[_0x3bb80c(0x198)][_0x3bb80c(0x19d)](this[_0x3bb80c(0x1af)]),this[_0x3bb80c(0x1c3)]&&this[_0x3bb80c(0x198)][_0x3bb80c(0x19d)](this[_0x3bb80c(0x1c3)]),this[_0x3bb80c(0x190)](this[_0x3bb80c(0x1b5)]());}[_0x5a682a(0x1b5)](){const _0x3a13c2=_0x5a682a,_0x35dd58=this[_0x3a13c2(0x193)],_0x1bd080=[this[_0x3a13c2(0x1ad)]];return this[_0x3a13c2(0x1af)]&&_0x1bd080[_0x3a13c2(0x1b6)](this[_0x3a13c2(0x1af)]),this[_0x3a13c2(0x1c3)]&&_0x1bd080[_0x3a13c2(0x1b6)](this[_0x3a13c2(0x1c3)]),_0x1bd080[_0x3a13c2(0x1b6)](this[_0x3a13c2(0x19b)]),{'tag':_0x3a13c2(0x1a2),'attributes':{'class':['ck',_0x3a13c2(0x1a9),_0x3a13c2(0x1b7),_0x35dd58['if'](_0x3a13c2(0x1ae),_0x3a13c2(0x1a3)),_0x35dd58['to'](_0x3a13c2(0x1a0),_0x504cb1=>_0x3a13c2(0x1a6)+_0x504cb1),this[_0x3a13c2(0x1bd)][_0x3a13c2(0x1be)]&&_0x3a13c2(0x1c1)],'data-suggestion-id':this[_0x3a13c2(0x1ac)]['id'],'data-thread-id':this[_0x3a13c2(0x1ac)][_0x3a13c2(0x197)]['id'],'data-author-id':this[_0x3a13c2(0x1ac)][_0x3a13c2(0x1b1)]['id'],'tabindex':0x0,'role':_0x3a13c2(0x1b2),'aria-label':_0x35dd58['to'](_0x3a13c2(0x19f)),'aria-describedby':this[_0x3a13c2(0x19b)]['id']},'children':_0x1bd080};}[_0x5a682a(0x19c)](){const _0x5bdf7e=_0x5a682a;super[_0x5bdf7e(0x19c)](),this[_0x5bdf7e(0x1af)]&&(this[_0x5bdf7e(0x1af)][_0x5bdf7e(0x1b0)](_0x5bdf7e(0x1a4))['to'](this),this[_0x5bdf7e(0x1af)][_0x5bdf7e(0x1b0)](_0x5bdf7e(0x1c0))['to'](this)),this[_0x5bdf7e(0x1c3)]&&(this[_0x5bdf7e(0x1c3)][_0x5bdf7e(0x1b0)](_0x5bdf7e(0x1a4))['to'](this),this[_0x5bdf7e(0x1c3)][_0x5bdf7e(0x1b0)](_0x5bdf7e(0x1c0))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1e16(){const _0x37f762=['ck-annotation__info','focusCycler','109199ysgkEC','ck-annotation__main','ck-annotation__actions','setTemplate','ck-annotation__content-wrapper','set','add','innerHTML','bindTemplate','bind','ck-annotation','discardSuggestion','ck-suggestion--discard','ck-comment__external','tab','_model','55548PzGsEM','1133120Inszot','fire','focusFirst','keystrokes','creator','focusTracker','isExternal','ck-annotation__info-name','getExternalSuggestionNote','ck-suggestion__info-name','153624zwbeeL','time','ck-suggestion--accept','querySelector','acceptSuggestion','div','focus','importWord','ck-suggestion__info','EXTERNAL_SUGGESTION','35ZIhmFH','change:description','extendTemplate','enter','formatDateTime','target','source','14984050orjDzI','8mTlnEm','_createButton','shift+tab','_setupKeyboardNavigation','@external','element','2958381uIPvHx','listenTo','Discard\x20suggestion','esc','EXTERNAL_AVATAR','presentation','push','execute','userView','acceptButton','ck-comment__info-time','ck-suggestion__actions','description','author','_config','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__info-time','focusables','45cFpYvU','ck-annotation__user','ck-suggestion__user','discardButton','render','span','.ck-annotation__content-wrapper','attributes','EXTERNAL_IMPORT_WORD_AVATAR','authoredAt','ck-suggestion__main','locale','964542BLtJvP','ck-suggestion','getUserViewNotificationText','name','Accept\x20suggestion','getTemplate'];_0x1e16=function(){return _0x37f762;};return _0x1e16();}const _0x366e8d=_0xbe54;(function(_0xbfe86,_0x5d5cc8){const _0x1ad5a0=_0xbe54,_0x2f3361=_0xbfe86();while(!![]){try{const _0x32bc3c=-parseInt(_0x1ad5a0(0xd7))/0x1+-parseInt(_0x1ad5a0(0xcf))/0x2+parseInt(_0x1ad5a0(0xc3))/0x3*(parseInt(_0x1ad5a0(0x8e))/0x4)+-parseInt(_0x1ad5a0(0x8f))/0x5+parseInt(_0x1ad5a0(0x99))/0x6*(-parseInt(_0x1ad5a0(0xa3))/0x7)+parseInt(_0x1ad5a0(0xab))/0x8*(-parseInt(_0x1ad5a0(0xb1))/0x9)+parseInt(_0x1ad5a0(0xaa))/0xa;if(_0x32bc3c===_0x5d5cc8)break;else _0x2f3361['push'](_0x2f3361['shift']());}catch(_0x560f06){_0x2f3361['push'](_0x2f3361['shift']());}}}(_0x1e16,0x6970f));import{FocusTracker as _0x29f68a,KeystrokeHandler as _0x494677}from'ckeditor5/src/utils.js';import{View as _0x190d05,ViewCollection as _0x33679b,FocusCycler as _0x45062f}from'ckeditor5/src/ui.js';function _0xbe54(_0x49aa4a,_0xedaf22){const _0x1e16e6=_0x1e16();return _0xbe54=function(_0xbe541,_0x3e117c){_0xbe541=_0xbe541-0x81;let _0x5f4d7a=_0x1e16e6[_0xbe541];return _0x5f4d7a;},_0xbe54(_0x49aa4a,_0xedaf22);}import{LateFocusButtonView as _0x2024de,UserView as _0x65ae3}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x13d2b9,IconCheck as _0x3543ec}from'ckeditor5/src/icons.js';import{getTranslation as _0x1dc628}from'../../utils/common-translations.js';export class SuggestionView extends _0x190d05{[_0x366e8d(0xb9)];[_0x366e8d(0xba)];[_0x366e8d(0xc6)];[_0x366e8d(0xc2)];[_0x366e8d(0x94)];[_0x366e8d(0x92)];[_0x366e8d(0xd6)];[_0x366e8d(0x8d)];[_0x366e8d(0xbf)];constructor(_0x3a422b,_0x135812,_0x553c03){const _0x433bf7=_0x366e8d;super(_0x3a422b),this[_0x433bf7(0x8d)]=_0x135812,this[_0x433bf7(0xbf)]=_0x553c03,this[_0x433bf7(0x83)](_0x433bf7(0xbd),''),this[_0x433bf7(0x87)](_0x433bf7(0xcc))['to'](_0x135812),this[_0x433bf7(0xba)]=this[_0x433bf7(0xac)](_0x1dc628(_0x3a422b,_0x433bf7(0xd3)),_0x3543ec,_0x433bf7(0x9b),_0x433bf7(0x9d),'sw'),this[_0x433bf7(0xc6)]=this[_0x433bf7(0xac)](_0x1dc628(_0x3a422b,_0x433bf7(0xb3)),_0x13d2b9,_0x433bf7(0x8a),_0x433bf7(0x89),'sw'),this[_0x433bf7(0xb9)]=new _0x65ae3(_0x3a422b,_0x135812[_0x433bf7(0xbe)],this[_0x433bf7(0xd1)]()),this[_0x433bf7(0xb9)][_0x433bf7(0xa5)]({'attributes':{'class':[_0x433bf7(0xc5),_0x433bf7(0xc4)],'aria-hidden':!0x0}}),this[_0x433bf7(0xc2)]=new _0x33679b([this[_0x433bf7(0xba)],this[_0x433bf7(0xc6)]]),this[_0x433bf7(0x94)]=new _0x29f68a(),this[_0x433bf7(0x92)]=new _0x494677(),this[_0x433bf7(0xd6)]=new _0x45062f({'focusables':this[_0x433bf7(0xc2)],'focusTracker':this[_0x433bf7(0x94)],'keystrokeHandler':this[_0x433bf7(0x92)],'actions':{'focusPrevious':_0x433bf7(0xad),'focusNext':_0x433bf7(0x8c)},'keystrokeHandlerOptions':{'filter':_0x4bbba2=>_0x4bbba2[_0x433bf7(0xa8)]!==this[_0x433bf7(0xb0)]}}),this[_0x433bf7(0x81)](this[_0x433bf7(0xd4)]());}[_0x366e8d(0xc7)](){const _0x491682=_0x366e8d;super[_0x491682(0xc7)]();const _0x5aa12d=this[_0x491682(0xb0)][_0x491682(0x9c)](_0x491682(0xc9));_0x5aa12d[_0x491682(0x85)]=this[_0x491682(0xbd)],this['on'](_0x491682(0xa4),(_0x44659d,_0xbbf2d3,_0x81c923)=>{const _0x569727=_0x491682;_0x5aa12d[_0x569727(0x85)]=_0x81c923;}),this[_0x491682(0xae)]();}[_0x366e8d(0xd4)](){const _0x2ecfc0=_0x366e8d,_0xa38f5f=this[_0x2ecfc0(0x86)],_0x49f657=[{'tag':_0x2ecfc0(0x9e),'attributes':{'class':[_0x2ecfc0(0xa1),_0x2ecfc0(0xd5)]},'children':[{'tag':_0x2ecfc0(0xc8),'children':[{'text':this[_0x2ecfc0(0xb9)][_0x2ecfc0(0xd2)]}],'attributes':{'class':[_0x2ecfc0(0x98),_0x2ecfc0(0x96)],'data-cke-tooltip-text':this[_0x2ecfc0(0xb9)][_0x2ecfc0(0xd2)]}},{'tag':_0x2ecfc0(0x9a),'attributes':{'datetime':_0xa38f5f['to'](_0x2ecfc0(0xcc)),'class':[_0x2ecfc0(0xbb),_0x2ecfc0(0xc1)]},'children':[{'text':_0xa38f5f['to'](_0x2ecfc0(0xcc),_0x2f86cc=>this[_0x2ecfc0(0xbf)][_0x2ecfc0(0xa7)](_0x2f86cc))}]}]},{'tag':_0x2ecfc0(0x9e),'attributes':{'class':[_0x2ecfc0(0xbc),_0x2ecfc0(0xd9)]},'children':[this[_0x2ecfc0(0xba)],this[_0x2ecfc0(0xc6)]]},{'tag':_0x2ecfc0(0x9e),'attributes':{'class':[_0x2ecfc0(0x82)]}}];return this[_0x2ecfc0(0x8d)][_0x2ecfc0(0x95)]&&_0x49f657[_0x2ecfc0(0xb7)]({'tag':_0x2ecfc0(0x9e),'attributes':{'class':[_0x2ecfc0(0x8b)]},'children':[{'text':this[_0x2ecfc0(0x97)]()}]}),{'tag':_0x2ecfc0(0x9e),'attributes':{'class':[_0x2ecfc0(0xd0),_0x2ecfc0(0x88)],'tabindex':-0x1},'children':[this[_0x2ecfc0(0xb9)],{'tag':_0x2ecfc0(0x9e),'attributes':{'class':[_0x2ecfc0(0xcd),_0x2ecfc0(0xd8)],'role':_0x2ecfc0(0xb6)},'children':_0x49f657}]};}[_0x366e8d(0x9f)](){const _0x17aff2=_0x366e8d;this[_0x17aff2(0xb0)][_0x17aff2(0x9f)]();}[_0x366e8d(0xd1)](){const _0x397e30=_0x366e8d;return this[_0x397e30(0x8d)][_0x397e30(0x95)]?_0x397e30(0xa0)===this[_0x397e30(0x8d)][_0x397e30(0xca)][_0x397e30(0xaf)][_0x397e30(0xa9)]?_0x1dc628(this[_0x397e30(0xce)],_0x397e30(0xcb),this[_0x397e30(0x8d)][_0x397e30(0x93)][_0x397e30(0xd2)]):_0x1dc628(this[_0x397e30(0xce)],_0x397e30(0xb5),this[_0x397e30(0x8d)][_0x397e30(0x93)][_0x397e30(0xd2)]):null;}[_0x366e8d(0x97)](){const _0x43477f=_0x366e8d;return _0x43477f(0xa0)===this[_0x43477f(0x8d)][_0x43477f(0xca)][_0x43477f(0xaf)][_0x43477f(0xa9)]?_0x1dc628(this[_0x43477f(0xce)],_0x43477f(0xc0)):_0x1dc628(this[_0x43477f(0xce)],_0x43477f(0xa2));}[_0x366e8d(0xac)](_0x19a71a,_0x2fa158,_0x20c703,_0x10b6be,_0x3daeb9){const _0x55230f=_0x366e8d,_0x4d92b9=new _0x2024de(this[_0x55230f(0xce)]);return _0x4d92b9[_0x55230f(0x83)]({'label':_0x19a71a,'icon':_0x2fa158,'tooltip':!0x0,'tooltipPosition':_0x3daeb9}),_0x4d92b9[_0x55230f(0xa5)]({'attributes':{'class':_0x20c703}}),_0x4d92b9['on'](_0x55230f(0xb8),()=>{const _0x926293=_0x55230f;this[_0x926293(0x90)](_0x10b6be,this[_0x926293(0x8d)]['id']);}),_0x4d92b9;}[_0x366e8d(0xae)](){const _0xe49c5c=_0x366e8d,_0x2ccb76=this[_0xe49c5c(0xb0)];this[_0xe49c5c(0x92)][_0xe49c5c(0xb2)](_0x2ccb76);for(const _0x32fd6d of this[_0xe49c5c(0xc2)])this[_0xe49c5c(0x94)][_0xe49c5c(0x84)](_0x32fd6d[_0xe49c5c(0xb0)]),this[_0xe49c5c(0x92)][_0xe49c5c(0xb2)](_0x32fd6d[_0xe49c5c(0xb0)]);this[_0xe49c5c(0x92)][_0xe49c5c(0x83)](_0xe49c5c(0xa6),(_0x4ce276,_0x936491)=>{const _0x728292=_0xe49c5c;_0x2ccb76===_0x4ce276[_0x728292(0xa8)]&&(this[_0x728292(0xd6)][_0x728292(0x91)](),_0x936491());}),this[_0xe49c5c(0x92)][_0xe49c5c(0x83)](_0xe49c5c(0xb4),(_0x262389,_0x56d14b)=>{const _0x40b532=_0xe49c5c;_0x2ccb76!==_0x262389[_0x40b532(0xa8)]&&(this[_0x40b532(0x9f)](),_0x56d14b());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4c6f(){const _0x266164=['div','options','setPreviewData','1937260vqyeLi','previewDataReady','895743pLIJXp','470wgRHGZ','23766kUQWIK','render','style','innerHTML','10073FswCgb','push','3184anbRPK','setAttribute','7131ksxtpR','className','width','dialogRects','fire','\x20ck-track-changes-preview__root-container','1700756tFhkev','classes','1upXGGL','content','9586390dXeeFu','ck-track-changes-preview','element','focus','height','setTemplate','data-ck-root-name','createElement','ck-reset'];_0x4c6f=function(){return _0x266164;};return _0x4c6f();}const _0x56a298=_0x5de4;(function(_0x1162fb,_0xbe5db4){const _0x127165=_0x5de4,_0xe6bb83=_0x1162fb();while(!![]){try{const _0xdb7724=-parseInt(_0x127165(0xca))/0x1*(-parseInt(_0x127165(0xd8))/0x2)+parseInt(_0x127165(0xe4))/0x3+parseInt(_0x127165(0xea))/0x4+parseInt(_0x127165(0xdb))/0x5*(-parseInt(_0x127165(0xdc))/0x6)+parseInt(_0x127165(0xe0))/0x7*(parseInt(_0x127165(0xe2))/0x8)+parseInt(_0x127165(0xda))/0x9+-parseInt(_0x127165(0xcc))/0xa;if(_0xdb7724===_0xbe5db4)break;else _0xe6bb83['push'](_0xe6bb83['shift']());}catch(_0x5c173f){_0xe6bb83['push'](_0xe6bb83['shift']());}}}(_0x4c6f,0xb40c0));function _0x5de4(_0x51485c,_0x18ffb7){const _0x4c6f6f=_0x4c6f();return _0x5de4=function(_0x5de49b,_0xb0ab0b){_0x5de49b=_0x5de49b-0xc9;let _0x5877cb=_0x4c6f6f[_0x5de49b];return _0x5877cb;},_0x5de4(_0x51485c,_0x18ffb7);}import{View as _0x24d53f}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x24d53f{[_0x56a298(0xd6)];constructor(_0x2f93ed,_0x121af7){const _0x34ad5b=_0x56a298;super(_0x2f93ed),this[_0x34ad5b(0xd6)]=_0x121af7,this[_0x34ad5b(0xd1)]({'tag':_0x34ad5b(0xd5),'attributes':{'class':['ck',_0x34ad5b(0xd4),_0x34ad5b(0xcd)],'tabindex':-0x1}});}[_0x56a298(0xdd)](){const _0x24a03b=_0x56a298;super[_0x24a03b(0xdd)](),this[_0x24a03b(0xce)][_0x24a03b(0xde)][_0x24a03b(0xe6)]=this[_0x24a03b(0xd6)][_0x24a03b(0xe7)][_0x24a03b(0xe6)]+'px',this[_0x24a03b(0xce)][_0x24a03b(0xde)][_0x24a03b(0xd0)]=this[_0x24a03b(0xd6)][_0x24a03b(0xe7)][_0x24a03b(0xd0)]+'px';}[_0x56a298(0xd7)](_0x33a896,_0x3cb110){const _0x95fde0=_0x56a298;if(!this[_0x95fde0(0xce)])return;const _0xed2b93=[];for(const [_0x4c4f92,_0x1da6da]of _0x33a896){const _0x15708d=document[_0x95fde0(0xd3)](_0x95fde0(0xd5));_0x15708d[_0x95fde0(0xe3)](_0x95fde0(0xd2),_0x4c4f92),_0x15708d[_0x95fde0(0xe5)]=_0x1da6da[_0x95fde0(0xc9)]+_0x95fde0(0xe9),_0x15708d[_0x95fde0(0xdf)]=_0x1da6da[_0x95fde0(0xcb)],_0xed2b93[_0x95fde0(0xe1)](_0x15708d);}_0x3cb110(this[_0x95fde0(0xce)],_0xed2b93),this[_0x95fde0(0xce)][_0x95fde0(0xde)][_0x95fde0(0xd0)]='',this[_0x95fde0(0xe8)](_0x95fde0(0xd9));}[_0x56a298(0xcf)](){const _0x17448d=_0x56a298;this[_0x17448d(0xce)][_0x17448d(0xcf)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x453ecc,_0x376726,_0xf1645a){const _0x4dcaf3=_0x453ecc['t'],t=_0x453ecc['t'];switch(_0x376726){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',_0xf1645a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xf1645a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xf1645a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xf1645a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xf1645a);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',_0xf1645a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xf1645a);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',_0xf1645a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xf1645a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xf1645a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xf1645a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xf1645a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xf1645a);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xf1645a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xf1645a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xf1645a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xf1645a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xf1645a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xf1645a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xf1645a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xf1645a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xf1645a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xf1645a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xf1645a);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xf1645a);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'},_0xf1645a);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xf1645a);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xf1645a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xf1645a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xf1645a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xf1645a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xf1645a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xf1645a);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'},_0xf1645a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xf1645a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xf1645a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xf1645a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xf1645a);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'},_0xf1645a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xf1645a);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'},_0xf1645a);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0xf1645a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xf1645a);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'},_0xf1645a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xf1645a);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'},_0xf1645a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xf1645a);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0xf1645a);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0xf1645a);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0xf1645a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xf1645a);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'},_0xf1645a);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xf1645a);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 _0x4dcaf3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xf1645a);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4dcaf3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xf1645a);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xf1645a);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'},_0xf1645a);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'},_0xf1645a);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'},_0xf1645a);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x376726;}}
|
|
23
|
+
export function getTranslation(_0x3a3290,_0x52b3a1,_0x1a62fc){const _0x4fdc38=_0x3a3290['t'],t=_0x3a3290['t'];switch(_0x52b3a1){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',_0x1a62fc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1a62fc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1a62fc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1a62fc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1a62fc);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',_0x1a62fc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1a62fc);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',_0x1a62fc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1a62fc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1a62fc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1a62fc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1a62fc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1a62fc);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1a62fc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1a62fc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1a62fc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1a62fc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1a62fc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1a62fc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1a62fc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1a62fc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1a62fc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1a62fc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1a62fc);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1a62fc);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'},_0x1a62fc);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1a62fc);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1a62fc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1a62fc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1a62fc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1a62fc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1a62fc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1a62fc);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'},_0x1a62fc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1a62fc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1a62fc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1a62fc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1a62fc);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'},_0x1a62fc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1a62fc);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'},_0x1a62fc);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1a62fc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1a62fc);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'},_0x1a62fc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1a62fc);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'},_0x1a62fc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1a62fc);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x1a62fc);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x1a62fc);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x1a62fc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1a62fc);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'},_0x1a62fc);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1a62fc);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 _0x4fdc38({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1a62fc);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4fdc38({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1a62fc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1a62fc);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'},_0x1a62fc);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'},_0x1a62fc);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'},_0x1a62fc);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x52b3a1;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1bccbf,_0x2b8560){const _0x3cc20b=_0x1c91,_0x40dcc4=_0x1bccbf();while(!![]){try{const _0x95fe0a=-parseInt(_0x3cc20b(0x1d9))/0x1*(parseInt(_0x3cc20b(0x1ec))/0x2)+parseInt(_0x3cc20b(0x1d1))/0x3*(-parseInt(_0x3cc20b(0x1d4))/0x4)+-parseInt(_0x3cc20b(0x1e4))/0x5+parseInt(_0x3cc20b(0x1e7))/0x6+-parseInt(_0x3cc20b(0x1d8))/0x7*(-parseInt(_0x3cc20b(0x1e0))/0x8)+parseInt(_0x3cc20b(0x1c1))/0x9*(-parseInt(_0x3cc20b(0x1df))/0xa)+parseInt(_0x3cc20b(0x1be))/0xb;if(_0x95fe0a===_0x2b8560)break;else _0x40dcc4['push'](_0x40dcc4['shift']());}catch(_0x1594bc){_0x40dcc4['push'](_0x40dcc4['shift']());}}}(_0x193c,0x35da1));export function normalizeDescription(_0x3103e4){const _0x55e378=_0x1c91;return Array[_0x55e378(0x1e5)](_0x3103e4)||(_0x3103e4=[_0x3103e4]),_0x3103e4[_0x55e378(0x1dd)](_0x19913b=>{const _0x332cd4=_0x55e378,_0x407f35=_0x19913b[_0x332cd4(0x1e2)][_0x332cd4(0x1c5)](/\*/g,''),_0x414071=_0x19913b[_0x332cd4(0x1c2)]?_0x332cd4(0x1d7)+_0x19913b[_0x332cd4(0x1c2)][_0x332cd4(0x1c7)]+']':'';return'['+_0x19913b[_0x332cd4(0x1d2)]+']\x20'+_0x407f35+_0x414071;})[_0x55e378(0x1dc)](';\x20');}export function renderDescription(_0x158c45,_0x507efc){const _0x5ba61c=_0x1c91;let _0x4fbff1='';return _0x4fbff1+=_0x158c45[_0x5ba61c(0x1d6)]('*')[_0x5ba61c(0x1dd)]((_0x25ce2b,_0x131392)=>_0x131392%0x2!=0x0?_0x5ba61c(0x1ba)+rn(_0x25ce2b)+_0x5ba61c(0x1de):rn(_0x25ce2b))[_0x5ba61c(0x1dc)](''),_0x507efc&&(_0x4fbff1+=_0x5ba61c(0x1ce)+_0x507efc[_0x5ba61c(0x1c7)]+_0x5ba61c(0x1c9)+_0x507efc[_0x5ba61c(0x1c0)]+_0x5ba61c(0x1c8)),_0x4fbff1;}function _0x1c91(_0x2d8722,_0x3c5f3f){const _0x193c36=_0x193c();return _0x1c91=function(_0x1c915d,_0x21569b){_0x1c915d=_0x1c915d-0x1b9;let _0x577422=_0x193c36[_0x1c915d];return _0x577422;},_0x1c91(_0x2d8722,_0x3c5f3f);}function _0x193c(){const _0x1d47bc=['createPositionBefore','createElement','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','start','span','6ZcmnhP','type','push','146424NOzaqk','attribute','split','\x20[color\x20','2730308HnQrEq','5iFaMlL','isIntersecting','end','join','map','</span>','326180byeuss','8SJsGYe','isMultiRange','content','createRange','1060925fnTSTf','isArray','add','943410dgChQC','deletion','createPositionAfter','splice','next','32924gijwNy','isObject','execute','length','isInContent','createPositionAt','<span\x20class=\x22ck-suggestion-type\x22>','from','isTouching','innerHTML','3680237vFNHnU','schema','title','81UBlFJC','color','change','isCollapsed','replace','innerText','value','\x22></span>','\x22\x20title=\x22','sort','getRanges'];_0x193c=function(){return _0x1d47bc;};return _0x193c();}function rn(_0x64cf0f){const _0x5294bc=_0x1c91,_0x3b6580=document[_0x5294bc(0x1cd)](_0x5294bc(0x1d0));return _0x3b6580[_0x5294bc(0x1c6)]=_0x64cf0f,_0x3b6580[_0x5294bc(0x1bd)];}export function sortSuggestions(_0x1370ea){const _0x3118c5=_0x1c91;return _0x1370ea[_0x3118c5(0x1ca)]((_0xdcdafd,_0x37bf69)=>_0x3118c5(0x1d5)===_0xdcdafd[_0x3118c5(0x1d2)]&&_0x3118c5(0x1d5)!==_0x37bf69[_0x3118c5(0x1d2)]?-0x1:_0x3118c5(0x1d5)!==_0xdcdafd[_0x3118c5(0x1d2)]&&_0x3118c5(0x1d5)===_0x37bf69[_0x3118c5(0x1d2)]?0x1:_0x3118c5(0x1e8)==_0xdcdafd[_0x3118c5(0x1d2)]&&_0x3118c5(0x1e8)!=_0x37bf69[_0x3118c5(0x1d2)]?-0x1:_0x3118c5(0x1e8)!=_0xdcdafd[_0x3118c5(0x1d2)]&&_0x3118c5(0x1e8)==_0x37bf69[_0x3118c5(0x1d2)]?0x1:0x0);}export function getSelectedSuggestions(_0x4954b6,_0x35ed08){const _0x1ecd4d=_0x1c91,_0x3d7fa1=Array[_0x1ecd4d(0x1bb)](_0x4954b6[_0x1ecd4d(0x1cb)]()),_0x3cfb50=new Set();for(const _0xb52b53 of _0x35ed08)if(_0xb52b53[_0x1ecd4d(0x1f0)]){for(const _0x12cfb3 of _0x3d7fa1)for(const _0x33caa9 of _0xb52b53[_0x1ecd4d(0x1cb)]())(_0x12cfb3[_0x1ecd4d(0x1da)](_0x33caa9)||_0x4954b6[_0x1ecd4d(0x1c4)]&&!_0xb52b53[_0x1ecd4d(0x1e1)]&&_0xb52b53[_0x1ecd4d(0x1eb)]&&_0x33caa9[_0x1ecd4d(0x1db)][_0x1ecd4d(0x1bc)](_0x12cfb3[_0x1ecd4d(0x1cf)]))&&_0x3cfb50[_0x1ecd4d(0x1e6)](_0xb52b53);}return _0x3cfb50;}export function getRangesOfBlockGroups(_0x3f58aa,_0x32659d){const _0x27d7ca=_0x1c91;let _0x1dd4fa,_0x1791c8=0x0;const _0x325d61=[],_0x389b33=_0x32659d[_0x27d7ca(0x1bf)];for(;_0x1791c8<_0x3f58aa[_0x27d7ca(0x1ef)];){const _0x9fef95=_0x3f58aa[_0x1791c8],_0x243ebb=_0x3f58aa[_0x1791c8+0x1];_0x1dd4fa||(_0x1dd4fa=_0x32659d[_0x27d7ca(0x1cc)](_0x9fef95)),cn(_0x32659d,_0x9fef95,_0x243ebb)||(_0x325d61[_0x27d7ca(0x1d3)](_0x32659d[_0x27d7ca(0x1e3)](_0x1dd4fa,_0x389b33[_0x27d7ca(0x1ed)](_0x9fef95)?_0x32659d[_0x27d7ca(0x1e9)](_0x9fef95):_0x32659d[_0x27d7ca(0x1b9)](_0x9fef95,_0x27d7ca(0x1db)))),_0x1dd4fa=null),_0x1791c8++;}return _0x325d61;}function cn(_0x374bbe,_0x43857c,_0x16d5c1){const _0x11caa4=_0x1c91;if(!_0x16d5c1)return!0x1;const _0x4f754a=_0x374bbe[_0x11caa4(0x1e9)](_0x43857c),_0x519032=_0x374bbe[_0x11caa4(0x1cc)](_0x16d5c1);return _0x4f754a[_0x11caa4(0x1bc)](_0x519032);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x22f480,_0x4b842d,_0xa16b43){const _0x538e1c=_0x1c91;for(;_0xa16b43[_0x538e1c(0x1ef)];){const _0x5db30d=_0xa16b43[_0x538e1c(0x1ea)](0x0,0x64);_0x22f480[_0x538e1c(0x1c3)](()=>{const _0xde4545=_0x538e1c;for(const _0x3ac706 of _0x5db30d)_0x3ac706[_0xde4545(0x1f0)]&&_0x4b842d[_0xde4545(0x1ee)](_0x3ac706['id']);});}}
|