@ckeditor/ckeditor5-track-changes 47.0.0-alpha.5 → 47.0.0-alpha.7
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.d.ts +17 -0
- package/src/integrations/ai.js +23 -0
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.d.ts +17 -0
- package/src/integrations/aiquickactions.js +23 -0
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +3 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x29f6(_0x3833a4,_0x5a1ef5){const _0x2feece=_0x2fee();return _0x29f6=function(_0x29f682,_0x33e535){_0x29f682=_0x29f682-0x18b;let _0xa935f3=_0x2feece[_0x29f682];return _0xa935f3;},_0x29f6(_0x3833a4,_0x5a1ef5);}function _0x2fee(){const _0x4ec8e0=['add','config','5784632UkrYof','trackChanges.preview.renderFunction','3435nNwyjz','commands','TrackChangesPreview','appendChild','requires','isPremiumPlugin','464975uQLIJo','define','8uRYgpS','11pllkbU','editor','20582GIAgBo','434rPOjgX','pluginName','16582690NuomVt','96pkShvW','previewFinalContent','3707541OWjwqR','isOfficialPlugin','1415035KjpDrP'];_0x2fee=function(){return _0x4ec8e0;};return _0x2fee();}const _0x4e2272=_0x29f6;(function(_0x544c3e,_0x204ffc){const _0x392e2a=_0x29f6,_0x5bbb18=_0x544c3e();while(!![]){try{const _0x39151c=parseInt(_0x392e2a(0x19b))/0x1+parseInt(_0x392e2a(0x19c))/0x2*(parseInt(_0x392e2a(0x190))/0x3)+-parseInt(_0x392e2a(0x198))/0x4*(parseInt(_0x392e2a(0x18b))/0x5)+-parseInt(_0x392e2a(0x19f))/0x6*(parseInt(_0x392e2a(0x196))/0x7)+parseInt(_0x392e2a(0x18e))/0x8+-parseInt(_0x392e2a(0x1a1))/0x9+parseInt(_0x392e2a(0x19e))/0xa*(parseInt(_0x392e2a(0x199))/0xb);if(_0x39151c===_0x204ffc)break;else _0x5bbb18['push'](_0x5bbb18['shift']());}catch(_0x56ba74){_0x5bbb18['push'](_0x5bbb18['shift']());}}}(_0x2fee,0x94d60));import{Plugin as _0x548cce}from'ckeditor5/src/core.js';import{Dialog as _0x5afbb3}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x6c0ac9}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3373d1}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x548cce{static get[_0x4e2272(0x194)](){return[_0x6c0ac9,_0x5afbb3];}static get[_0x4e2272(0x19d)](){const _0x46f90c=_0x4e2272;return _0x46f90c(0x192);}static get[_0x4e2272(0x1a2)](){return!0x0;}static get[_0x4e2272(0x195)](){return!0x0;}constructor(_0x138760){const _0x40d192=_0x4e2272;super(_0x138760),_0x138760[_0x40d192(0x191)][_0x40d192(0x18c)](_0x40d192(0x1a0),new _0x3373d1(this[_0x40d192(0x19a)])),_0x138760[_0x40d192(0x18d)][_0x40d192(0x197)](_0x40d192(0x18f),(_0x2eadaa,_0x387732)=>{const _0x509e5d=_0x40d192;for(const _0x34f88a of _0x387732)_0x2eadaa[_0x509e5d(0x193)](_0x34f88a);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xba6c71=_0xb52f;(function(_0x4103b6,_0xf1193c){const _0x3761a3=_0xb52f,_0x546215=_0x4103b6();while(!![]){try{const _0x2d73ee=-parseInt(_0x3761a3(0x195))/0x1*(parseInt(_0x3761a3(0x114))/0x2)+parseInt(_0x3761a3(0x14a))/0x3*(parseInt(_0x3761a3(0x19b))/0x4)+-parseInt(_0x3761a3(0x124))/0x5*(parseInt(_0x3761a3(0x1a9))/0x6)+-parseInt(_0x3761a3(0x12f))/0x7+-parseInt(_0x3761a3(0x1b1))/0x8*(parseInt(_0x3761a3(0x14e))/0x9)+parseInt(_0x3761a3(0x16d))/0xa*(parseInt(_0x3761a3(0x1bf))/0xb)+parseInt(_0x3761a3(0x118))/0xc;if(_0x2d73ee===_0xf1193c)break;else _0x546215['push'](_0x546215['shift']());}catch(_0x5342b4){_0x546215['push'](_0x546215['shift']());}}}(_0x3af8,0x4c176));import{Plugin as _0x179fa8}from'ckeditor5/src/core.js';import{Collection as _0x4f0165}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x22db61}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xb5264a,createDropdown as _0x172fe0,ListSeparatorView as _0x48a010,MenuBarMenuView as _0x22ba76,MenuBarMenuListView as _0x372c13,MenuBarMenuListItemView as _0x175c78,MenuBarMenuListItemButtonView as _0x1b57c1,SplitButtonView as _0xa41d52,UIModel as _0x47fb8b}from'ckeditor5/src/ui.js';function _0xb52f(_0x114355,_0x4ce4b1){const _0x3af893=_0x3af8();return _0xb52f=function(_0xb52f33,_0x466f88){_0xb52f33=_0xb52f33-0x10c;let _0x5202cc=_0x3af893[_0xb52f33];return _0x5202cc;},_0xb52f(_0x114355,_0x4ce4b1);}function _0x3af8(){const _0x50349f=['switchbutton','activeAnnotations','isEnabled','trackChangesLicenseKeyNotAllowed','featureNotAllowed','listenTo','suggestion-','_addUIComponentsToFactory','TrackChangesUI','addComment','getByInnerView','_showLicenseError','getMarkerNames','40rgFqpB','acceptSelectedSuggestions','get','getMarkers','editor','menu','descriptionFactory','componentFactory','stopListening','button','Accept\x20all\x20selected\x20suggestions','_annotationViews','descriptionParts','_destroyController','acceptAllSuggestions','menuitemcheckbox','domainLimit','execute','menuBar:trackChanges','_handleControllerBuffer','view','discardAllSuggestions','menuitem','change:activeAnnotations','trackChangesLicenseKeyTrialLimit','comments.maxCommentsWhenCollapsed','_bindAnnotationToEditors','add','commands','change:previous','editing','isMultiRange','usageLimit','previewFinalContent','model','getSuggestionForAnnotation','delegate','trackChangesLicenseKeyInvalid','size','trackChangesLicenseKeyUsageLimit','511327mqRsKe','values','children','_updateController','CommentsUI','_viewToController','722504BnMMSs','Accept\x20all\x20suggestions','innerView','discardButton','TrackChangesEditing','_initializeController','delete','trackChanges','Preview\x20final\x20content','suggestionChanged','SuggestionThreadView','refreshSelectedViews','value','length','18VJtAGj','_disableComments','define','escape','comments.maxThreadTotalWeight','requires','addSourceCollector','Discard\x20all\x20selected\x20suggestions','56lNbiwf','isInContent','lowest','from','acceptButton','trialLimit','fire','commandName','_createMenuBarMenu','discardSelectedSuggestions','Annotations','previous','activeMarkers','mainView','209110gQWotZ','createAnnotation','buttonView','hasSuggestion','evaluationLimit','_suggestionToController','addMany','trackChangesLicenseKeyEvaluationLimit','suggestionView','2iDiRST','_unbindEditors','separator','commentThread','19477632iJOnpC','remove','source','toMany','comments.editorConfig','TrackChanges','registerAnnotation','type','getDescriptions','head','actionView','getRanges','894265OYkYSy','trackChangesLicenseKeyValid','EditorAnnotations','reduce','unbind','suggestionLoaded','isOfficialPlugin','trackChangesLicenseKeyDomainLimit','commentsListView','items','trackChanges.SuggestionThreadView','3875830YTNxkJ','_refreshActiveMarkers','expired','getAllAdjacentSuggestions','SuggestionView','suggestionUnloaded','getAnnotationForSuggestion','some','isDirty','pluginName','CommentView','Track\x20changes','getJoined','trackChanges.disableComments','keys','plugins','CommentsRepository','has','set','focus','_licenseKeyCheckInterval','invalid','isPremiumPlugin','destroy','isOn','clear','panelView','6BuTMpZ','comments','init','licenseKey','189234lQXjJi','config','TrackChangesPreview','createAnnotationView','comments.maxCommentCharsWhenCollapsed','createCommentThreadController','push','_createToolbarButton','trackChanges.SuggestionView','Discard\x20all\x20suggestions','getFirstRange','filter','locale','_handleSuggestionControllerDelayed','arrowView','getSuggestion','trackChangesLicenseKeyExpired','bind'];_0x3af8=function(){return _0x50349f;};return _0x3af8();}import{Users as _0x261991,getDateTimeFormatter as _0x18bfb0,getAllMarkersDomElementsSorted as _0x2d421f}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x164a10}from'./trackchangesediting.js';import{SuggestionController as _0x2109de}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x480abf}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x432250}from'./ui/view/suggestionview.js';import{getTranslation as _0x3ab1bf}from'./utils/common-translations.js';export class TrackChangesUI extends _0x179fa8{[_0xba6c71(0x14d)];[_0xba6c71(0x143)];[_0xba6c71(0x110)];[_0xba6c71(0x19a)];[_0xba6c71(0x178)];[_0xba6c71(0x180)];[_0xba6c71(0x1aa)];static get[_0xba6c71(0x1ae)](){const _0x15801a=_0xba6c71;return[_0x164a10,_0x261991,_0x15801a(0x13f),_0x15801a(0x1bb),_0x15801a(0x126)];}static get[_0xba6c71(0x138)](){const _0x25ee38=_0xba6c71;return _0x25ee38(0x168);}static get[_0xba6c71(0x12a)](){return!0x0;}static get[_0xba6c71(0x145)](){return!0x0;}constructor(_0x34231d){const _0x39499d=_0xba6c71;super(_0x34231d),this[_0x39499d(0x110)]=new Map(),this[_0x39499d(0x19a)]=new Map(),this[_0x39499d(0x178)]=new Map(),this[_0x39499d(0x180)]=new Map();const _0x13b3ea=this[_0x39499d(0x171)][_0x39499d(0x14f)];_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x12e),_0x480abf),_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x156),_0x432250),_0x13b3ea[_0x39499d(0x1ab)](_0x39499d(0x13c),!0x1),this[_0x39499d(0x1aa)]=_0x13b3ea[_0x39499d(0x16f)](_0x39499d(0x13c));}[_0xba6c71(0x15b)](_0x4c55f5,_0x57528a){const _0x18534c=_0xba6c71;0x0===this[_0x18534c(0x180)][_0x18534c(0x193)]&&setTimeout(()=>{const _0x4cc94d=_0x18534c;for(const [_0x33c5d8,_0x29f8a0]of this[_0x4cc94d(0x180)]){const _0x314e96=this[_0x4cc94d(0x110)][_0x4cc94d(0x140)](_0x33c5d8);_0x314e96||_0x29f8a0?_0x314e96&&_0x29f8a0&&this[_0x4cc94d(0x17a)](_0x33c5d8):this[_0x4cc94d(0x1a0)](_0x33c5d8);}this[_0x4cc94d(0x180)][_0x4cc94d(0x148)](),this[_0x4cc94d(0x171)][_0x4cc94d(0x13e)][_0x4cc94d(0x16f)](_0x4cc94d(0x126))[_0x4cc94d(0x1a6)](),this[_0x4cc94d(0x130)]();},0xa),this[_0x18534c(0x180)][_0x18534c(0x141)](_0x4c55f5,_0x57528a);}[_0xba6c71(0x14c)](){const _0x3c17bf=_0xba6c71,_0x4e1812=this[_0x3c17bf(0x171)],_0x218ad1=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x19f)),_0x3400b4=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x1bb)),_0x4ba595=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x126)),_0x38e894=_0x4e1812[_0x3c17bf(0x13e)][_0x3c17bf(0x16f)](_0x3c17bf(0x13f));this[_0x3c17bf(0x167)](),_0x4ba595[_0x3c17bf(0x1af)](()=>{const _0x343d5a=_0x3c17bf,_0x4ef2eb=[];for(const [_0x175f4b,_0x450a15]of Array[_0x343d5a(0x1b4)](this[_0x343d5a(0x110)])){const _0x3e174b=_0x175f4b[_0x343d5a(0x132)](),_0x17d061=[];for(const _0x2685ea of _0x3e174b){if(!_0x2685ea[_0x343d5a(0x1b2)])continue;if(_0x2685ea[_0x343d5a(0x18c)]){_0x17d061[_0x343d5a(0x154)](..._0x2685ea[_0x343d5a(0x123)]());continue;}const _0x4bcc14=_0x2685ea[_0x343d5a(0x158)]();if(_0x17d061[_0x343d5a(0x1a8)]>0x0){const _0x2d6a8d=_0x17d061[0x0][_0x343d5a(0x13b)](_0x4bcc14);if(_0x2d6a8d){_0x17d061[0x0]=_0x2d6a8d;continue;}}_0x17d061[_0x343d5a(0x154)](_0x4bcc14);}_0x4ef2eb[_0x343d5a(0x154)]([_0x450a15[_0x343d5a(0x181)],_0x17d061]);}return _0x4ef2eb;}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x129),(_0x4a949,_0x2b0e1f)=>{const _0xb03332=_0x3c17bf;this[_0xb03332(0x165)](_0x2b0e1f,_0xb03332(0x18a),(_0xb37377,_0x54ca82,_0x42b236,_0x5ac650)=>{const _0x2ad1e6=_0xb03332;_0x2b0e1f[_0x2ad1e6(0x1b2)]&&(null==_0x42b236?(this[_0x2ad1e6(0x198)](_0x5ac650[_0x2ad1e6(0x121)]),this[_0x2ad1e6(0x15b)](_0x2b0e1f,!0x1)):(this[_0x2ad1e6(0x198)](_0x42b236[_0x2ad1e6(0x121)]),null==_0x5ac650&&this[_0x2ad1e6(0x15b)](_0x2b0e1f,!0x0)));}),null!==_0x2b0e1f[_0xb03332(0x1bc)]?this[_0xb03332(0x198)](_0x2b0e1f[_0xb03332(0x121)]):this[_0xb03332(0x15b)](_0x2b0e1f,!0x1);}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x134),(_0x503b33,_0x2eab83,_0x388bc7)=>{const _0x3100f5=_0x3c17bf;this[_0x3100f5(0x175)](_0x2eab83,_0x3100f5(0x18a)),this[_0x3100f5(0x180)][_0x3100f5(0x1a1)](_0x2eab83),this[_0x3100f5(0x110)][_0x3100f5(0x140)](_0x2eab83)&&this[_0x3100f5(0x17a)](_0x2eab83),_0x388bc7&&this[_0x3100f5(0x198)](_0x388bc7[_0x3100f5(0x121)]);}),this[_0x3c17bf(0x165)](_0x218ad1,_0x3c17bf(0x1a4),(_0x481c4c,_0x64c98b)=>{const _0x2fe414=_0x3c17bf;this[_0x2fe414(0x198)](_0x64c98b);}),this[_0x3c17bf(0x165)](_0x3400b4,_0x3c17bf(0x184),()=>{const _0x1e1fdb=_0x3c17bf;this[_0x1e1fdb(0x130)]();}),this[_0x3c17bf(0x165)](_0x38e894,_0x3c17bf(0x169),(_0xbf097f,{threadId:_0x34b0dd,isFromAdapter:_0x44fcec})=>{const _0x1f23d4=_0x3c17bf;if(_0x44fcec||!_0x218ad1[_0x1f23d4(0x10e)](_0x34b0dd))return;const _0x5a626a=_0x218ad1[_0x1f23d4(0x15d)](_0x34b0dd);this[_0x1f23d4(0x110)][_0x1f23d4(0x16f)](_0x5a626a)[_0x1f23d4(0x181)][_0x1f23d4(0x12c)][_0x1f23d4(0x142)](-0x1);},{'priority':_0x3c17bf(0x1b3)}),this[_0x3c17bf(0x14d)]=this[_0x3c17bf(0x171)][_0x3c17bf(0x14f)][_0x3c17bf(0x16f)](_0x3c17bf(0x14d));const _0x284b04=this[_0x3c17bf(0x171)];this[_0x3c17bf(0x143)]=setInterval(()=>{const _0x38f361=_0x3c17bf;let _0x2e65d9;for(const _0x3e1be8 in _0x284b04){const _0x2b6d18=_0x3e1be8,_0x4e3761=_0x284b04[_0x2b6d18];if(_0x38f361(0x125)==_0x4e3761||_0x38f361(0x192)==_0x4e3761||_0x38f361(0x15e)==_0x4e3761||_0x38f361(0x12b)==_0x4e3761||_0x38f361(0x163)==_0x4e3761||_0x38f361(0x112)==_0x4e3761||_0x38f361(0x185)==_0x4e3761||_0x38f361(0x194)==_0x4e3761){delete _0x284b04[_0x2b6d18],_0x2e65d9=_0x4e3761,clearInterval(this[_0x38f361(0x143)]),this[_0x38f361(0x143)]=void 0x0;break;}}_0x38f361(0x192)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x144)),_0x38f361(0x15e)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x131)),_0x38f361(0x12b)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x17d)),_0x38f361(0x163)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x164),_0x38f361(0x11d)),_0x38f361(0x112)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x10f)),_0x38f361(0x185)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x1b6)),_0x38f361(0x194)==_0x2e65d9&&_0x284b04[_0x38f361(0x16b)](_0x38f361(0x18d));},0x3e8);}[_0xba6c71(0x135)](_0x569610){const _0x5a96ec=_0xba6c71,_0x44932c=this[_0x5a96ec(0x110)][_0x5a96ec(0x16f)](_0x569610);if(!_0x44932c)return null;return this[_0x5a96ec(0x171)][_0x5a96ec(0x13e)][_0x5a96ec(0x16f)](_0x5a96ec(0x1bb))[_0x5a96ec(0x16a)](_0x44932c[_0x5a96ec(0x181)])||null;}[_0xba6c71(0x190)](_0x3cd020){const _0x5236e4=_0xba6c71,_0x364b5b=this[_0x5236e4(0x19a)][_0x5236e4(0x16f)](_0x3cd020[_0x5236e4(0x19d)]);return _0x364b5b?_0x364b5b[_0x5236e4(0x18f)]:null;}[_0xba6c71(0x130)](){const _0x2c3111=_0xba6c71,_0x170562=this[_0x2c3111(0x171)][_0x2c3111(0x13e)][_0x2c3111(0x16f)](_0x2c3111(0x1bb)),_0x36d89f=this[_0x2c3111(0x171)][_0x2c3111(0x13e)][_0x2c3111(0x16f)](_0x2c3111(0x19f)),_0x5541a8=Array[_0x2c3111(0x1b4)](_0x170562[_0x2c3111(0x161)],_0x3f0344=>_0x3f0344[_0x2c3111(0x19d)])[_0x2c3111(0x159)](_0x4d32d3=>this[_0x2c3111(0x19a)][_0x2c3111(0x140)](_0x4d32d3)),_0x29637b=[];for(const _0x1f2b55 of _0x5541a8){const _0x54eee6=this[_0x2c3111(0x19a)][_0x2c3111(0x16f)](_0x1f2b55)[_0x2c3111(0x18f)][_0x2c3111(0x132)]();_0x29637b[_0x2c3111(0x154)](..._0x54eee6[_0x2c3111(0x127)]((_0x243479,_0x113fb8)=>[..._0x243479,..._0x113fb8[_0x2c3111(0x16c)]()],[]));}_0x36d89f[_0x2c3111(0x1bd)]=_0x29637b;}[_0xba6c71(0x167)](){const _0x5c80f7=_0xba6c71,_0x48ecdd=this[_0x5c80f7(0x171)],_0x1621b8=_0x48ecdd[_0x5c80f7(0x15a)],_0x162123=_0x3ab1bf(_0x1621b8,_0x5c80f7(0x13a)),_0x1de6fe=new _0x4f0165([{'type':_0x5c80f7(0x160),'model':new _0x47fb8b({'withText':!0x0,'isToggleable':!0x0,'label':_0x162123,'commandName':_0x5c80f7(0x1a2),'role':_0x5c80f7(0x17c)})},{'type':_0x5c80f7(0x116)},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x19c)),'commandName':_0x5c80f7(0x17b),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x177)),'commandName':_0x5c80f7(0x16e),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x157)),'commandName':_0x5c80f7(0x182),'role':_0x5c80f7(0x183)})},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x1b0)),'commandName':_0x5c80f7(0x1ba),'role':_0x5c80f7(0x183)})}]);_0x48ecdd[_0x5c80f7(0x13e)][_0x5c80f7(0x140)](_0x5c80f7(0x150))&&_0x1de6fe[_0x5c80f7(0x111)]([{'type':_0x5c80f7(0x116)},{'type':_0x5c80f7(0x176),'model':new _0x47fb8b({'withText':!0x0,'label':_0x3ab1bf(_0x1621b8,_0x5c80f7(0x1a3)),'commandName':_0x5c80f7(0x18e),'role':_0x5c80f7(0x183)})}]);for(const _0x59ff61 of _0x1de6fe)if(ve(_0x59ff61)){const _0xceafce=_0x48ecdd[_0x5c80f7(0x189)][_0x5c80f7(0x16f)](_0x59ff61[_0x5c80f7(0x18f)][_0x5c80f7(0x1b8)]);_0x59ff61[_0x5c80f7(0x18f)][_0x5c80f7(0x15f)](_0x5c80f7(0x147),_0x5c80f7(0x162))['to'](_0xceafce,_0x5c80f7(0x1a7),_0x5c80f7(0x162));}_0x48ecdd['ui'][_0x5c80f7(0x174)][_0x5c80f7(0x188)](_0x5c80f7(0x1a2),_0x410d5f=>this[_0x5c80f7(0x155)](_0x410d5f,_0x1de6fe,_0x162123)),_0x48ecdd['ui'][_0x5c80f7(0x174)][_0x5c80f7(0x188)](_0x5c80f7(0x17f),_0xbea852=>this[_0x5c80f7(0x1b9)](_0xbea852,_0x1de6fe,_0x162123));}[_0xba6c71(0x155)](_0x2f77fd,_0x582f43,_0x33ac0a){const _0x4b26bc=_0xba6c71,_0x3ab490=_0x172fe0(_0x2f77fd,_0xa41d52),_0x17a6eb=this[_0x4b26bc(0x171)][_0x4b26bc(0x189)][_0x4b26bc(0x16f)](_0x4b26bc(0x1a2));_0x3ab490[_0x4b26bc(0x10d)][_0x4b26bc(0x141)]({'tooltip':_0x33ac0a,'label':_0x33ac0a,'icon':_0x22db61}),_0x3ab490[_0x4b26bc(0x10d)][_0x4b26bc(0x15f)](_0x4b26bc(0x147))['to'](_0x17a6eb,_0x4b26bc(0x1a7)),_0x3ab490[_0x4b26bc(0x10d)]['on'](_0x4b26bc(0x17e),()=>{const _0x14fae4=_0x4b26bc;_0x17a6eb[_0x14fae4(0x17e)](),this[_0x14fae4(0x171)][_0x14fae4(0x18b)][_0x14fae4(0x181)][_0x14fae4(0x142)]();}),_0xb5264a(_0x3ab490,_0x582f43,{'role':_0x4b26bc(0x172)});const _0x450f47=[];for(const _0x165c55 of _0x582f43)ve(_0x165c55)&&_0x450f47[_0x4b26bc(0x154)](this[_0x4b26bc(0x171)][_0x4b26bc(0x189)][_0x4b26bc(0x16f)](_0x165c55[_0x4b26bc(0x18f)][_0x4b26bc(0x1b8)]));const _0x596a07=_0x3ab490[_0x4b26bc(0x10d)];return _0x596a07[_0x4b26bc(0x122)][_0x4b26bc(0x128)](_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x15c)][_0x4b26bc(0x128)](_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x122)][_0x4b26bc(0x15f)](_0x4b26bc(0x162))['to'](_0x17a6eb,_0x4b26bc(0x162)),_0x596a07[_0x4b26bc(0x15c)][_0x4b26bc(0x15f)](_0x4b26bc(0x162))[_0x4b26bc(0x11b)](_0x450f47,_0x4b26bc(0x162),(..._0x5b21ce)=>_0x5b21ce[_0x4b26bc(0x136)](_0x1352bc=>_0x1352bc)),_0x3ab490['on'](_0x4b26bc(0x17e),_0x137874=>{const _0x5d562c=_0x4b26bc;this[_0x5d562c(0x171)][_0x5d562c(0x17e)](_0x137874[_0x5d562c(0x11a)][_0x5d562c(0x1b8)]),this[_0x5d562c(0x171)][_0x5d562c(0x18b)][_0x5d562c(0x181)][_0x5d562c(0x142)]();}),_0x3ab490;}[_0xba6c71(0x1b9)](_0x660a99,_0x44d36a,_0x30fb15){const _0x4fd33f=_0xba6c71,_0x5e4a74=new _0x22ba76(_0x660a99),_0x3f0122=this[_0x4fd33f(0x171)][_0x4fd33f(0x189)][_0x4fd33f(0x16f)](_0x4fd33f(0x1a2));_0x5e4a74[_0x4fd33f(0x10d)][_0x4fd33f(0x141)]({'label':_0x30fb15,'icon':_0x22db61});const _0x52b1e8=new _0x372c13(_0x660a99);for(const _0x3315a0 of _0x44d36a){if(_0x4fd33f(0x116)==_0x3315a0[_0x4fd33f(0x11f)]){_0x52b1e8[_0x4fd33f(0x12d)][_0x4fd33f(0x188)](new _0x48a010(_0x660a99));continue;}const _0x13b439=new _0x175c78(_0x660a99,_0x5e4a74),_0x4c4b13=new _0x1b57c1(_0x660a99),_0x5a4646=_0x3315a0[_0x4fd33f(0x18f)];_0x4c4b13[_0x4fd33f(0x15f)](...Object[_0x4fd33f(0x13d)](_0x5a4646))['to'](_0x5a4646),_0x4c4b13[_0x4fd33f(0x191)](_0x4fd33f(0x17e))['to'](_0x5e4a74),_0x4c4b13['on'](_0x4fd33f(0x17e),()=>{const _0x4b2e20=_0x4fd33f;this[_0x4b2e20(0x171)][_0x4b2e20(0x17e)](_0x5a4646[_0x4b2e20(0x1b8)]),this[_0x4b2e20(0x171)][_0x4b2e20(0x18b)][_0x4b2e20(0x181)][_0x4b2e20(0x142)]();}),_0x13b439[_0x4fd33f(0x197)][_0x4fd33f(0x188)](_0x4c4b13),_0x52b1e8[_0x4fd33f(0x12d)][_0x4fd33f(0x188)](_0x13b439);}return _0x5e4a74[_0x4fd33f(0x15f)](_0x4fd33f(0x162))['to'](_0x3f0122,_0x4fd33f(0x162)),_0x5e4a74[_0x4fd33f(0x149)][_0x4fd33f(0x197)][_0x4fd33f(0x188)](_0x52b1e8),_0x5e4a74;}[_0xba6c71(0x1a0)](_0x4e49f5){const _0xd7312e=_0xba6c71,_0x5bee0c=this[_0xd7312e(0x171)],_0x7fc152=_0x5bee0c[_0xd7312e(0x14f)],_0xcd452c=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x1bb)),_0x2e0d58=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x13f)),_0x2cb476=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x126)),_0x2dd5ad=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0x261991)['me'],_0x47eb5d=_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1a2))[_0xd7312e(0x1a5)],_0x386c1b=_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1a2))[_0xd7312e(0x133)],{CommentsListView:_0x9f3acf,CommentThreadInputView:_0x5e259f}=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x199));let _0x590856,_0x1f9b19,_0x5a4336;this[_0xd7312e(0x178)][_0xd7312e(0x140)](_0x4e49f5['id'])?(_0x1f9b19=this[_0xd7312e(0x178)][_0xd7312e(0x16f)](_0x4e49f5['id']),_0x590856=_0x1f9b19[_0xd7312e(0x1be)]):(_0x590856=new _0x47eb5d(_0x5bee0c[_0xd7312e(0x15a)],_0x4e49f5,_0x2dd5ad,{'disableComments':this[_0xd7312e(0x1aa)],'editorConfig':{..._0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x11c)),'licenseKey':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x14d))},'maxCommentsWhenCollapsed':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x186)),'maxThreadTotalWeight':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x1ad)),'maxCommentCharsWhenCollapsed':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x152)),'formatDateTime':_0x18bfb0(_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x15a)),_0x5bee0c[_0xd7312e(0x15a)]),'CommentView':_0x7fc152[_0xd7312e(0x16f)](_0xd7312e(0x14b))[_0xd7312e(0x139)],'CommentsListView':_0x9f3acf,'CommentThreadInputView':_0x5e259f,'SuggestionView':_0x386c1b}),_0x590856[_0xd7312e(0x113)][_0xd7312e(0x1b5)]['on'](_0xd7312e(0x17e),()=>{const _0x2b53d1=_0xd7312e;_0x5bee0c[_0x2b53d1(0x18b)][_0x2b53d1(0x181)][_0x2b53d1(0x142)]();}),_0x590856[_0xd7312e(0x113)][_0xd7312e(0x19e)]['on'](_0xd7312e(0x17e),()=>{const _0x54b27c=_0xd7312e;_0x5bee0c[_0x54b27c(0x18b)][_0x54b27c(0x181)][_0x54b27c(0x142)]();}),_0x1f9b19=_0xcd452c[_0xd7312e(0x151)](this[_0xd7312e(0x171)][_0xd7312e(0x15a)],_0x590856),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x137))['to'](_0x590856,_0xd7312e(0x137)),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x1a8))['to'](_0x590856),_0x1f9b19[_0xd7312e(0x15f)](_0xd7312e(0x11f))['to'](_0x590856,_0xd7312e(0x11f),_0x20d03a=>_0xd7312e(0x166)+_0x20d03a),_0x590856['on'](_0xd7312e(0x1ac),()=>{const _0x14b04a=_0xd7312e;_0x5a4336[_0x14b04a(0x1b7)](_0x14b04a(0x1ac));}),this[_0xd7312e(0x178)][_0xd7312e(0x141)](_0x4e49f5['id'],_0x1f9b19));const _0x577cd5=_0x2e0d58[_0xd7312e(0x153)](_0x4e49f5[_0xd7312e(0x117)],_0x590856),_0xb0951d=new _0x2109de(_0x5bee0c,_0x4e49f5,_0x590856,_0x577cd5),_0x588901=_0x4e49f5[_0xd7312e(0x132)]()[_0xd7312e(0x159)](_0x595b96=>_0x595b96[_0xd7312e(0x1b2)]);_0x590856[_0xd7312e(0x179)]=_0x5bee0c[_0xd7312e(0x13e)][_0xd7312e(0x16f)](_0xd7312e(0x19f))[_0xd7312e(0x173)][_0xd7312e(0x120)](_0x588901),this[_0xd7312e(0x110)][_0xd7312e(0x141)](_0x4e49f5,_0xb0951d),this[_0xd7312e(0x19a)][_0xd7312e(0x141)](_0x590856,_0xb0951d);const _0x3f1def=()=>{const _0x3face7=_0xd7312e,_0x5bdded=[],_0x5b82e9=_0x4e49f5[_0x3face7(0x132)]()[_0x3face7(0x159)](_0x4156ec=>_0x4156ec[_0x3face7(0x1b2)]);for(const _0x350bf0 of _0x5b82e9)_0x5bdded[_0x3face7(0x154)](..._0x350bf0[_0x3face7(0x170)]());return _0x2d421f(_0x5bee0c[_0x3face7(0x18b)],_0x5bdded);};_0x5a4336=_0xcd452c[_0xd7312e(0x10c)]({'view':_0x1f9b19,'target':_0x3f1def,'type':()=>_0xd7312e(0x166)+_0xb0951d[_0xd7312e(0x181)][_0xd7312e(0x11f)],'isVisible':!!_0x3f1def()}),_0x2e0d58[_0xd7312e(0x187)](_0x590856,_0x5a4336),_0xcd452c[_0xd7312e(0x188)](_0x5a4336),_0x2cb476[_0xd7312e(0x11e)](_0x5a4336);}[_0xba6c71(0x17a)](_0x481d86){const _0x24f9ac=_0xba6c71,_0x17de28=this[_0x24f9ac(0x171)][_0x24f9ac(0x13e)][_0x24f9ac(0x16f)](_0x24f9ac(0x13f)),_0xfb4e7=this[_0x24f9ac(0x171)][_0x24f9ac(0x13e)][_0x24f9ac(0x16f)](_0x24f9ac(0x1bb)),_0x280aa7=this[_0x24f9ac(0x110)][_0x24f9ac(0x16f)](_0x481d86),_0x2a7952=_0x280aa7[_0x24f9ac(0x181)],_0x48204d=_0xfb4e7[_0x24f9ac(0x16a)](_0x2a7952);_0x17de28[_0x24f9ac(0x115)](_0x2a7952),_0x48204d&&_0xfb4e7[_0x24f9ac(0x119)](_0x48204d),this[_0x24f9ac(0x110)][_0x24f9ac(0x1a1)](_0x481d86),this[_0x24f9ac(0x19a)][_0x24f9ac(0x1a1)](_0x2a7952),_0x280aa7[_0x24f9ac(0x146)]();}[_0xba6c71(0x198)](_0x313d8d){const _0x399f1=_0xba6c71;if(!_0x313d8d[_0x399f1(0x1b2)]||!this[_0x399f1(0x110)][_0x399f1(0x140)](_0x313d8d))return;const _0x2899dc=this[_0x399f1(0x171)][_0x399f1(0x13e)][_0x399f1(0x16f)](_0x399f1(0x19f)),_0x5e4b44=this[_0x399f1(0x110)][_0x399f1(0x16f)](_0x313d8d),_0x1b8491=_0x313d8d[_0x399f1(0x132)]();_0x5e4b44[_0x399f1(0x181)][_0x399f1(0x179)]=_0x2899dc[_0x399f1(0x173)][_0x399f1(0x120)](_0x1b8491);}[_0xba6c71(0x146)](){const _0x5dc431=_0xba6c71;for(const _0x5088f2 of this[_0x5dc431(0x110)][_0x5dc431(0x13d)]())this[_0x5dc431(0x17a)](_0x5088f2);for(const _0x54988d of this[_0x5dc431(0x178)][_0x5dc431(0x196)]())_0x54988d[_0x5dc431(0x1be)][_0x5dc431(0x146)]();super[_0x5dc431(0x146)](),this[_0x5dc431(0x143)]&&clearInterval(this[_0x5dc431(0x143)]);}}function ve(_0x19070b){const _0x3f0329=_0xba6c71;return _0x3f0329(0x18f)in _0x19070b;}
|
|
23
|
+
function _0x2251(_0x29b29f,_0x4735b8){const _0x1b1bc5=_0x1b1b();return _0x2251=function(_0x2251fe,_0x1a2e2a){_0x2251fe=_0x2251fe-0xc0;let _0x297dba=_0x1b1bc5[_0x2251fe];return _0x297dba;},_0x2251(_0x29b29f,_0x4735b8);}const _0x1cc909=_0x2251;(function(_0x4905e5,_0x46f91b){const _0x5e612e=_0x2251,_0x5b4d13=_0x4905e5();while(!![]){try{const _0x404203=-parseInt(_0x5e612e(0x168))/0x1+-parseInt(_0x5e612e(0x158))/0x2+parseInt(_0x5e612e(0x117))/0x3+-parseInt(_0x5e612e(0xfe))/0x4+-parseInt(_0x5e612e(0xea))/0x5*(-parseInt(_0x5e612e(0x135))/0x6)+-parseInt(_0x5e612e(0x15a))/0x7*(-parseInt(_0x5e612e(0xc5))/0x8)+parseInt(_0x5e612e(0x12c))/0x9;if(_0x404203===_0x46f91b)break;else _0x5b4d13['push'](_0x5b4d13['shift']());}catch(_0x9a3122){_0x5b4d13['push'](_0x5b4d13['shift']());}}}(_0x1b1b,0x4f576));function _0x1b1b(){const _0x3e1da8=['config','getSuggestion','trackChanges','arrowView','children','add','get','suggestion-','114970pCsCkp','button','values','execute','registerAnnotation','menuitem','comments.maxCommentsWhenCollapsed','change:activeAnnotations','lowest','isPremiumPlugin','addComment','suggestionView','focus','_annotationViews','96vnohpf','trackChanges.SuggestionView','menuitemcheckbox','suggestionChanged','_bindAnnotationToEditors','editor','TrackChangesUI','stopListening','_handleControllerBuffer','addMany','discardAllSuggestions','separator','getAllAdjacentSuggestions','isOfficialPlugin','menu','_disableComments','getSuggestionForAnnotation','isMultiRange','_suggestionToController','_unbindEditors','getMarkers','_destroyController','size','trackChangesLicenseKeyNotAllowed','innerView','previewFinalContent','evaluationLimit','TrackChangesPreview','licenseKey','CommentsUI','comments.maxThreadTotalWeight','suggestionUnloaded','push','actionView','fire','commands','previous','146155gxLcsl','_refreshActiveMarkers','keys','bind','Track\x20changes','_licenseKeyCheckInterval','head','_createMenuBarMenu','CommentView','Discard\x20all\x20selected\x20suggestions','view','_viewToController','expired','Accept\x20all\x20selected\x20suggestions','trackChangesLicenseKeyExpired','listenTo','createAnnotationView','_handleSuggestionControllerDelayed','invalid','commentThread','2502772wtHOUz','usageLimit','Annotations','descriptionFactory','change:previous','activeMarkers','EditorAnnotations','getJoined','filter','trackChanges.disableComments','isInContent','acceptSelectedSuggestions','delegate','Preview\x20final\x20content','trackChangesLicenseKeyUsageLimit','TrackChanges','acceptButton','items','comments.maxCommentCharsWhenCollapsed','getFirstRange','CommentsRepository','refreshSelectedViews','TrackChangesEditing','componentFactory','activeAnnotations','899958purnDi','delete','acceptAllSuggestions','trackChanges.SuggestionThreadView','value','_showLicenseError','switchbutton','locale','trackChangesLicenseKeyDomainLimit','trackChangesLicenseKeyValid','from','discardSelectedSuggestions','comments','hasSuggestion','getAnnotationForSuggestion','_addUIComponentsToFactory','getDescriptions','SuggestionView','addSourceCollector','set','descriptionParts','6775614ICuuws','init','commentsListView','SuggestionThreadView','trialLimit','plugins','trackChangesLicenseKeyTrialLimit','Accept\x20all\x20suggestions','source','6zeadDc','destroy','getRanges','menuBar:trackChanges','_createToolbarButton','createCommentThreadController','trackChangesLicenseKeyInvalid','isDirty','some','commandName','_updateController','mainView','panelView','editing','featureNotAllowed','isOn','clear','getMarkerNames','suggestionLoaded','domainLimit','toMany','reduce','remove','has','unbind','Discard\x20all\x20suggestions','buttonView','define','escape','discardButton','length','pluginName','getByInnerView','type','requires','1019260EVILCY','comments.editorConfig','287707DAEArV','isEnabled','trackChangesLicenseKeyEvaluationLimit','createAnnotation','model','_initializeController'];_0x1b1b=function(){return _0x3e1da8;};return _0x1b1b();}import{Plugin as _0x50d333}from'ckeditor5/src/core.js';import{Collection as _0x1849f1}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x25bc24}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4fd7ab,createDropdown as _0x5128c9,ListSeparatorView as _0x42b557,MenuBarMenuView as _0x73e67,MenuBarMenuListView as _0x16a73d,MenuBarMenuListItemView as _0x4f9c45,MenuBarMenuListItemButtonView as _0x5e4e23,SplitButtonView as _0x556751,UIModel as _0x4218cf}from'ckeditor5/src/ui.js';import{Users as _0x2793bf,getDateTimeFormatter as _0x50b5c5,getAllMarkersDomElementsSorted as _0x275026}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1994dd}from'./trackchangesediting.js';import{SuggestionController as _0x1ec902}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x170b33}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x42ea5b}from'./ui/view/suggestionview.js';import{getTranslation as _0x146d28}from'./utils/common-translations.js';export class TrackChangesUI extends _0x50d333{[_0x1cc909(0xe1)];[_0x1cc909(0xef)];[_0x1cc909(0xd7)];[_0x1cc909(0xf5)];[_0x1cc909(0xc4)];[_0x1cc909(0xcd)];[_0x1cc909(0xd4)];static get[_0x1cc909(0x157)](){const _0x3ed872=_0x1cc909;return[_0x1994dd,_0x2793bf,_0x3ed872(0x112),_0x3ed872(0x100),_0x3ed872(0x104)];}static get[_0x1cc909(0x154)](){const _0x9df963=_0x1cc909;return _0x9df963(0xcb);}static get[_0x1cc909(0xd2)](){return!0x0;}static get[_0x1cc909(0xc0)](){return!0x0;}constructor(_0x5da0e4){const _0x5e1b91=_0x1cc909;super(_0x5da0e4),this[_0x5e1b91(0xd7)]=new Map(),this[_0x5e1b91(0xf5)]=new Map(),this[_0x5e1b91(0xc4)]=new Map(),this[_0x5e1b91(0xcd)]=new Map();const _0x495973=this[_0x5e1b91(0xca)][_0x5e1b91(0x160)];_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0x11a),_0x170b33),_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0xc6),_0x42ea5b),_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0x107),!0x1),this[_0x5e1b91(0xd4)]=_0x495973[_0x5e1b91(0x166)](_0x5e1b91(0x107));}[_0x1cc909(0xfb)](_0xc09f19,_0x112df1){const _0x47b3c4=_0x1cc909;0x0===this[_0x47b3c4(0xcd)][_0x47b3c4(0xdb)]&&setTimeout(()=>{const _0x159db3=_0x47b3c4;for(const [_0xd52533,_0x4ae862]of this[_0x159db3(0xcd)]){const _0x5d552d=this[_0x159db3(0xd7)][_0x159db3(0x14c)](_0xd52533);_0x5d552d||_0x4ae862?_0x5d552d&&_0x4ae862&&this[_0x159db3(0xda)](_0xd52533):this[_0x159db3(0x15f)](_0xd52533);}this[_0x159db3(0xcd)][_0x159db3(0x145)](),this[_0x159db3(0xca)][_0x159db3(0x131)][_0x159db3(0x166)](_0x159db3(0x104))[_0x159db3(0x113)](),this[_0x159db3(0xeb)]();},0xa),this[_0x47b3c4(0xcd)][_0x47b3c4(0x12a)](_0xc09f19,_0x112df1);}[_0x1cc909(0x12d)](){const _0x568060=_0x1cc909,_0x54514b=this[_0x568060(0xca)],_0x167ad2=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x114)),_0x47b96e=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x100)),_0x366f3e=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x104)),_0x5ee43a=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x112));this[_0x568060(0x126)](),_0x366f3e[_0x568060(0x129)](()=>{const _0x3b737b=_0x568060,_0x5d7e70=[];for(const [_0x1a5698,_0x2a26e9]of Array[_0x3b737b(0x121)](this[_0x3b737b(0xd7)])){const _0x5209e1=_0x1a5698[_0x3b737b(0xd1)](),_0x467dda=[];for(const _0x5c7e24 of _0x5209e1){if(!_0x5c7e24[_0x3b737b(0x108)])continue;if(_0x5c7e24[_0x3b737b(0xd6)]){_0x467dda[_0x3b737b(0xe5)](..._0x5c7e24[_0x3b737b(0x137)]());continue;}const _0x419f6c=_0x5c7e24[_0x3b737b(0x111)]();if(_0x467dda[_0x3b737b(0x153)]>0x0){const _0x1c717a=_0x467dda[0x0][_0x3b737b(0x105)](_0x419f6c);if(_0x1c717a){_0x467dda[0x0]=_0x1c717a;continue;}}_0x467dda[_0x3b737b(0xe5)](_0x419f6c);}_0x5d7e70[_0x3b737b(0xe5)]([_0x2a26e9[_0x3b737b(0xf4)],_0x467dda]);}return _0x5d7e70;}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0x147),(_0x3b805f,_0x4e22f5)=>{const _0x275e54=_0x568060;this[_0x275e54(0xf9)](_0x4e22f5,_0x275e54(0x102),(_0x50ecfa,_0x34c32d,_0x4fa9b7,_0x3dac50)=>{const _0xdf545=_0x275e54;_0x4e22f5[_0xdf545(0x108)]&&(null==_0x4fa9b7?(this[_0xdf545(0x13f)](_0x3dac50[_0xdf545(0xf0)]),this[_0xdf545(0xfb)](_0x4e22f5,!0x1)):(this[_0xdf545(0x13f)](_0x4fa9b7[_0xdf545(0xf0)]),null==_0x3dac50&&this[_0xdf545(0xfb)](_0x4e22f5,!0x0)));}),null!==_0x4e22f5[_0x275e54(0xe9)]?this[_0x275e54(0x13f)](_0x4e22f5[_0x275e54(0xf0)]):this[_0x275e54(0xfb)](_0x4e22f5,!0x1);}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0xe4),(_0x22d182,_0x3771e9,_0x321475)=>{const _0x4d40af=_0x568060;this[_0x4d40af(0xcc)](_0x3771e9,_0x4d40af(0x102)),this[_0x4d40af(0xcd)][_0x4d40af(0x118)](_0x3771e9),this[_0x4d40af(0xd7)][_0x4d40af(0x14c)](_0x3771e9)&&this[_0x4d40af(0xda)](_0x3771e9),_0x321475&&this[_0x4d40af(0x13f)](_0x321475[_0x4d40af(0xf0)]);}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0xc8),(_0x306989,_0x31b1d3)=>{const _0x342702=_0x568060;this[_0x342702(0x13f)](_0x31b1d3);}),this[_0x568060(0xf9)](_0x47b96e,_0x568060(0x16f),()=>{const _0x3c191e=_0x568060;this[_0x3c191e(0xeb)]();}),this[_0x568060(0xf9)](_0x5ee43a,_0x568060(0xc1),(_0x1bf798,{threadId:_0x1f16f5,isFromAdapter:_0x4c0b2f})=>{const _0x332168=_0x568060;if(_0x4c0b2f||!_0x167ad2[_0x332168(0x124)](_0x1f16f5))return;const _0x5b68eb=_0x167ad2[_0x332168(0x161)](_0x1f16f5);this[_0x332168(0xd7)][_0x332168(0x166)](_0x5b68eb)[_0x332168(0xf4)][_0x332168(0x12e)][_0x332168(0xc3)](-0x1);},{'priority':_0x568060(0x170)}),this[_0x568060(0xe1)]=this[_0x568060(0xca)][_0x568060(0x160)][_0x568060(0x166)](_0x568060(0xe1));const _0x3d42fa=this[_0x568060(0xca)];this[_0x568060(0xef)]=setInterval(()=>{const _0x523772=_0x568060;let _0x20ab7e;for(const _0x581d86 in _0x3d42fa){const _0x536126=_0x581d86,_0x4a83e1=_0x3d42fa[_0x536126];if(_0x523772(0x120)==_0x4a83e1||_0x523772(0x13b)==_0x4a83e1||_0x523772(0xf8)==_0x4a83e1||_0x523772(0x11f)==_0x4a83e1||_0x523772(0xdc)==_0x4a83e1||_0x523772(0x15c)==_0x4a83e1||_0x523772(0x132)==_0x4a83e1||_0x523772(0x10c)==_0x4a83e1){delete _0x3d42fa[_0x536126],_0x20ab7e=_0x4a83e1,clearInterval(this[_0x523772(0xef)]),this[_0x523772(0xef)]=void 0x0;break;}}_0x523772(0x13b)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xfc)),_0x523772(0xf8)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xf6)),_0x523772(0x11f)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x148)),_0x523772(0xdc)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x143),_0x523772(0x10d)),_0x523772(0x15c)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xdf)),_0x523772(0x132)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x130)),_0x523772(0x10c)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xff));},0x3e8);}[_0x1cc909(0x125)](_0x5d5233){const _0x31ba84=_0x1cc909,_0x23b99a=this[_0x31ba84(0xd7)][_0x31ba84(0x166)](_0x5d5233);if(!_0x23b99a)return null;return this[_0x31ba84(0xca)][_0x31ba84(0x131)][_0x31ba84(0x166)](_0x31ba84(0x100))[_0x31ba84(0x155)](_0x23b99a[_0x31ba84(0xf4)])||null;}[_0x1cc909(0xd5)](_0x4d8ffe){const _0x3f377f=_0x1cc909,_0x3f260d=this[_0x3f377f(0xf5)][_0x3f377f(0x166)](_0x4d8ffe[_0x3f377f(0xdd)]);return _0x3f260d?_0x3f260d[_0x3f377f(0x15e)]:null;}[_0x1cc909(0xeb)](){const _0xb900b7=_0x1cc909,_0x2106d4=this[_0xb900b7(0xca)][_0xb900b7(0x131)][_0xb900b7(0x166)](_0xb900b7(0x100)),_0xf200d9=this[_0xb900b7(0xca)][_0xb900b7(0x131)][_0xb900b7(0x166)](_0xb900b7(0x114)),_0x23ecde=Array[_0xb900b7(0x121)](_0x2106d4[_0xb900b7(0x116)],_0x5d3a4a=>_0x5d3a4a[_0xb900b7(0xdd)])[_0xb900b7(0x106)](_0x1553a4=>this[_0xb900b7(0xf5)][_0xb900b7(0x14c)](_0x1553a4)),_0x2c1eb5=[];for(const _0x152323 of _0x23ecde){const _0x8d421=this[_0xb900b7(0xf5)][_0xb900b7(0x166)](_0x152323)[_0xb900b7(0x15e)][_0xb900b7(0xd1)]();_0x2c1eb5[_0xb900b7(0xe5)](..._0x8d421[_0xb900b7(0x14a)]((_0x754dc6,_0x1f7006)=>[..._0x754dc6,..._0x1f7006[_0xb900b7(0x146)]()],[]));}_0xf200d9[_0xb900b7(0x103)]=_0x2c1eb5;}[_0x1cc909(0x126)](){const _0x52cb2e=_0x1cc909,_0x49a800=this[_0x52cb2e(0xca)],_0x5a67d6=_0x49a800[_0x52cb2e(0x11e)],_0x3fff2d=_0x146d28(_0x5a67d6,_0x52cb2e(0xee)),_0xdcba53=new _0x1849f1([{'type':_0x52cb2e(0x11d),'model':new _0x4218cf({'withText':!0x0,'isToggleable':!0x0,'label':_0x3fff2d,'commandName':_0x52cb2e(0x162),'role':_0x52cb2e(0xc7)})},{'type':_0x52cb2e(0xd0)},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x133)),'commandName':_0x52cb2e(0x119),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0xf7)),'commandName':_0x52cb2e(0x109),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x14e)),'commandName':_0x52cb2e(0xcf),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0xf3)),'commandName':_0x52cb2e(0x122),'role':_0x52cb2e(0x16d)})}]);_0x49a800[_0x52cb2e(0x131)][_0x52cb2e(0x14c)](_0x52cb2e(0xe0))&&_0xdcba53[_0x52cb2e(0xce)]([{'type':_0x52cb2e(0xd0)},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x10b)),'commandName':_0x52cb2e(0xde),'role':_0x52cb2e(0x16d)})}]);for(const _0x4784ff of _0xdcba53)if(Ee(_0x4784ff)){const _0x4af696=_0x49a800[_0x52cb2e(0xe8)][_0x52cb2e(0x166)](_0x4784ff[_0x52cb2e(0x15e)][_0x52cb2e(0x13e)]);_0x4784ff[_0x52cb2e(0x15e)][_0x52cb2e(0xed)](_0x52cb2e(0x144),_0x52cb2e(0x15b))['to'](_0x4af696,_0x52cb2e(0x11b),_0x52cb2e(0x15b));}_0x49a800['ui'][_0x52cb2e(0x115)][_0x52cb2e(0x165)](_0x52cb2e(0x162),_0x1b078d=>this[_0x52cb2e(0x139)](_0x1b078d,_0xdcba53,_0x3fff2d)),_0x49a800['ui'][_0x52cb2e(0x115)][_0x52cb2e(0x165)](_0x52cb2e(0x138),_0xf066b1=>this[_0x52cb2e(0xf1)](_0xf066b1,_0xdcba53,_0x3fff2d));}[_0x1cc909(0x139)](_0x3e2e75,_0x325921,_0x3da214){const _0x2885a8=_0x1cc909,_0x5990aa=_0x5128c9(_0x3e2e75,_0x556751),_0x228e90=this[_0x2885a8(0xca)][_0x2885a8(0xe8)][_0x2885a8(0x166)](_0x2885a8(0x162));_0x5990aa[_0x2885a8(0x14f)][_0x2885a8(0x12a)]({'tooltip':_0x3da214,'label':_0x3da214,'icon':_0x25bc24}),_0x5990aa[_0x2885a8(0x14f)][_0x2885a8(0xed)](_0x2885a8(0x144))['to'](_0x228e90,_0x2885a8(0x11b)),_0x5990aa[_0x2885a8(0x14f)]['on'](_0x2885a8(0x16b),()=>{const _0x2e5a54=_0x2885a8;_0x228e90[_0x2e5a54(0x16b)](),this[_0x2e5a54(0xca)][_0x2e5a54(0x142)][_0x2e5a54(0xf4)][_0x2e5a54(0xc3)]();}),_0x4fd7ab(_0x5990aa,_0x325921,{'role':_0x2885a8(0xd3)});const _0x20eb69=[];for(const _0x57b68d of _0x325921)Ee(_0x57b68d)&&_0x20eb69[_0x2885a8(0xe5)](this[_0x2885a8(0xca)][_0x2885a8(0xe8)][_0x2885a8(0x166)](_0x57b68d[_0x2885a8(0x15e)][_0x2885a8(0x13e)]));const _0x1cc9a5=_0x5990aa[_0x2885a8(0x14f)];return _0x1cc9a5[_0x2885a8(0xe6)][_0x2885a8(0x14d)](_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0x163)][_0x2885a8(0x14d)](_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0xe6)][_0x2885a8(0xed)](_0x2885a8(0x15b))['to'](_0x228e90,_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0x163)][_0x2885a8(0xed)](_0x2885a8(0x15b))[_0x2885a8(0x149)](_0x20eb69,_0x2885a8(0x15b),(..._0x22ebb6)=>_0x22ebb6[_0x2885a8(0x13d)](_0x400b9b=>_0x400b9b)),_0x5990aa['on'](_0x2885a8(0x16b),_0x1e91cb=>{const _0x3bdef1=_0x2885a8;this[_0x3bdef1(0xca)][_0x3bdef1(0x16b)](_0x1e91cb[_0x3bdef1(0x134)][_0x3bdef1(0x13e)]),this[_0x3bdef1(0xca)][_0x3bdef1(0x142)][_0x3bdef1(0xf4)][_0x3bdef1(0xc3)]();}),_0x5990aa;}[_0x1cc909(0xf1)](_0x34420f,_0x307377,_0x130cc1){const _0x46770e=_0x1cc909,_0xeb8f7a=new _0x73e67(_0x34420f),_0x5951d3=this[_0x46770e(0xca)][_0x46770e(0xe8)][_0x46770e(0x166)](_0x46770e(0x162));_0xeb8f7a[_0x46770e(0x14f)][_0x46770e(0x12a)]({'label':_0x130cc1,'icon':_0x25bc24});const _0x7c33eb=new _0x16a73d(_0x34420f);for(const _0x67e44e of _0x307377){if(_0x46770e(0xd0)==_0x67e44e[_0x46770e(0x156)]){_0x7c33eb[_0x46770e(0x10f)][_0x46770e(0x165)](new _0x42b557(_0x34420f));continue;}const _0x361aee=new _0x4f9c45(_0x34420f,_0xeb8f7a),_0x18f28a=new _0x5e4e23(_0x34420f),_0x456cac=_0x67e44e[_0x46770e(0x15e)];_0x18f28a[_0x46770e(0xed)](...Object[_0x46770e(0xec)](_0x456cac))['to'](_0x456cac),_0x18f28a[_0x46770e(0x10a)](_0x46770e(0x16b))['to'](_0xeb8f7a),_0x18f28a['on'](_0x46770e(0x16b),()=>{const _0x5c2dd3=_0x46770e;this[_0x5c2dd3(0xca)][_0x5c2dd3(0x16b)](_0x456cac[_0x5c2dd3(0x13e)]),this[_0x5c2dd3(0xca)][_0x5c2dd3(0x142)][_0x5c2dd3(0xf4)][_0x5c2dd3(0xc3)]();}),_0x361aee[_0x46770e(0x164)][_0x46770e(0x165)](_0x18f28a),_0x7c33eb[_0x46770e(0x10f)][_0x46770e(0x165)](_0x361aee);}return _0xeb8f7a[_0x46770e(0xed)](_0x46770e(0x15b))['to'](_0x5951d3,_0x46770e(0x15b)),_0xeb8f7a[_0x46770e(0x141)][_0x46770e(0x164)][_0x46770e(0x165)](_0x7c33eb),_0xeb8f7a;}[_0x1cc909(0x15f)](_0x115ada){const _0x46988f=_0x1cc909,_0x5e62f6=this[_0x46988f(0xca)],_0xee2a1=_0x5e62f6[_0x46988f(0x160)],_0x180324=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x100)),_0x12bdeb=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x112)),_0x2b40d6=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x104)),_0x2a1449=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x2793bf)['me'],_0x447f54=_0xee2a1[_0x46988f(0x166)](_0x46988f(0x162))[_0x46988f(0x12f)],_0x135752=_0xee2a1[_0x46988f(0x166)](_0x46988f(0x162))[_0x46988f(0x128)],{CommentsListView:_0x5dbfa5,CommentThreadInputView:_0x3f261a}=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0xe2));let _0x1dee41,_0x398794,_0x57df7c;this[_0x46988f(0xc4)][_0x46988f(0x14c)](_0x115ada['id'])?(_0x398794=this[_0x46988f(0xc4)][_0x46988f(0x166)](_0x115ada['id']),_0x1dee41=_0x398794[_0x46988f(0x140)]):(_0x1dee41=new _0x447f54(_0x5e62f6[_0x46988f(0x11e)],_0x115ada,_0x2a1449,{'disableComments':this[_0x46988f(0xd4)],'editorConfig':{..._0xee2a1[_0x46988f(0x166)](_0x46988f(0x159)),'licenseKey':_0xee2a1[_0x46988f(0x166)](_0x46988f(0xe1))},'maxCommentsWhenCollapsed':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x16e)),'maxThreadTotalWeight':_0xee2a1[_0x46988f(0x166)](_0x46988f(0xe3)),'maxCommentCharsWhenCollapsed':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x110)),'formatDateTime':_0x50b5c5(_0xee2a1[_0x46988f(0x166)](_0x46988f(0x11e)),_0x5e62f6[_0x46988f(0x11e)]),'CommentView':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x123))[_0x46988f(0xf2)],'CommentsListView':_0x5dbfa5,'CommentThreadInputView':_0x3f261a,'SuggestionView':_0x135752}),_0x1dee41[_0x46988f(0xc2)][_0x46988f(0x10e)]['on'](_0x46988f(0x16b),()=>{const _0xce56f5=_0x46988f;_0x5e62f6[_0xce56f5(0x142)][_0xce56f5(0xf4)][_0xce56f5(0xc3)]();}),_0x1dee41[_0x46988f(0xc2)][_0x46988f(0x152)]['on'](_0x46988f(0x16b),()=>{const _0x52dc49=_0x46988f;_0x5e62f6[_0x52dc49(0x142)][_0x52dc49(0xf4)][_0x52dc49(0xc3)]();}),_0x398794=_0x180324[_0x46988f(0xfa)](this[_0x46988f(0xca)][_0x46988f(0x11e)],_0x1dee41),_0x398794[_0x46988f(0xed)](_0x46988f(0x13c))['to'](_0x1dee41,_0x46988f(0x13c)),_0x398794[_0x46988f(0xed)](_0x46988f(0x153))['to'](_0x1dee41),_0x398794[_0x46988f(0xed)](_0x46988f(0x156))['to'](_0x1dee41,_0x46988f(0x156),_0x3f2ef3=>_0x46988f(0x167)+_0x3f2ef3),_0x1dee41['on'](_0x46988f(0x151),()=>{const _0x1406c5=_0x46988f;_0x57df7c[_0x1406c5(0xe7)](_0x1406c5(0x151));}),this[_0x46988f(0xc4)][_0x46988f(0x12a)](_0x115ada['id'],_0x398794));const _0x4b3b0e=_0x12bdeb[_0x46988f(0x13a)](_0x115ada[_0x46988f(0xfd)],_0x1dee41),_0x54a728=new _0x1ec902(_0x5e62f6,_0x115ada,_0x1dee41,_0x4b3b0e),_0x425e6a=_0x115ada[_0x46988f(0xd1)]()[_0x46988f(0x106)](_0x22f00b=>_0x22f00b[_0x46988f(0x108)]);_0x1dee41[_0x46988f(0x12b)]=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x114))[_0x46988f(0x101)][_0x46988f(0x127)](_0x425e6a),this[_0x46988f(0xd7)][_0x46988f(0x12a)](_0x115ada,_0x54a728),this[_0x46988f(0xf5)][_0x46988f(0x12a)](_0x1dee41,_0x54a728);const _0x281e25=()=>{const _0x2d60e4=_0x46988f,_0x59fa43=[],_0x384869=_0x115ada[_0x2d60e4(0xd1)]()[_0x2d60e4(0x106)](_0x9fb358=>_0x9fb358[_0x2d60e4(0x108)]);for(const _0x25e3f5 of _0x384869)_0x59fa43[_0x2d60e4(0xe5)](..._0x25e3f5[_0x2d60e4(0xd9)]());return _0x275026(_0x5e62f6[_0x2d60e4(0x142)],_0x59fa43);};_0x57df7c=_0x180324[_0x46988f(0x15d)]({'view':_0x398794,'target':_0x281e25,'type':()=>_0x46988f(0x167)+_0x54a728[_0x46988f(0xf4)][_0x46988f(0x156)],'isVisible':!!_0x281e25()}),_0x12bdeb[_0x46988f(0xc9)](_0x1dee41,_0x57df7c),_0x180324[_0x46988f(0x165)](_0x57df7c),_0x2b40d6[_0x46988f(0x16c)](_0x57df7c);}[_0x1cc909(0xda)](_0x46032a){const _0x370b0e=_0x1cc909,_0x4bb74b=this[_0x370b0e(0xca)][_0x370b0e(0x131)][_0x370b0e(0x166)](_0x370b0e(0x112)),_0x19e545=this[_0x370b0e(0xca)][_0x370b0e(0x131)][_0x370b0e(0x166)](_0x370b0e(0x100)),_0x2809e4=this[_0x370b0e(0xd7)][_0x370b0e(0x166)](_0x46032a),_0x1a506d=_0x2809e4[_0x370b0e(0xf4)],_0x463073=_0x19e545[_0x370b0e(0x155)](_0x1a506d);_0x4bb74b[_0x370b0e(0xd8)](_0x1a506d),_0x463073&&_0x19e545[_0x370b0e(0x14b)](_0x463073),this[_0x370b0e(0xd7)][_0x370b0e(0x118)](_0x46032a),this[_0x370b0e(0xf5)][_0x370b0e(0x118)](_0x1a506d),_0x2809e4[_0x370b0e(0x136)]();}[_0x1cc909(0x13f)](_0x11ba05){const _0x32044d=_0x1cc909;if(!_0x11ba05[_0x32044d(0x108)]||!this[_0x32044d(0xd7)][_0x32044d(0x14c)](_0x11ba05))return;const _0x54a718=this[_0x32044d(0xca)][_0x32044d(0x131)][_0x32044d(0x166)](_0x32044d(0x114)),_0x863037=this[_0x32044d(0xd7)][_0x32044d(0x166)](_0x11ba05),_0x41209e=_0x11ba05[_0x32044d(0xd1)]();_0x863037[_0x32044d(0xf4)][_0x32044d(0x12b)]=_0x54a718[_0x32044d(0x101)][_0x32044d(0x127)](_0x41209e);}[_0x1cc909(0x136)](){const _0x47a607=_0x1cc909;for(const _0x41070c of this[_0x47a607(0xd7)][_0x47a607(0xec)]())this[_0x47a607(0xda)](_0x41070c);for(const _0x25f50e of this[_0x47a607(0xc4)][_0x47a607(0x16a)]())_0x25f50e[_0x47a607(0x140)][_0x47a607(0x136)]();super[_0x47a607(0x136)](),this[_0x47a607(0xef)]&&clearInterval(this[_0x47a607(0xef)]);}}function Ee(_0x593d61){const _0x19b2d3=_0x1cc909;return _0x19b2d3(0x15e)in _0x593d61;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1ab0dc=_0x1d26;(function(_0x518937,_0xffc268){const _0x1e5036=_0x1d26,_0x21d2bb=_0x518937();while(!![]){try{const _0x25f979=parseInt(_0x1e5036(0xf6))/0x1*(-parseInt(_0x1e5036(0x100))/0x2)+-parseInt(_0x1e5036(0x106))/0x3+parseInt(_0x1e5036(0x118))/0x4+parseInt(_0x1e5036(0x103))/0x5*(parseInt(_0x1e5036(0x107))/0x6)+parseInt(_0x1e5036(0xfe))/0x7+parseInt(_0x1e5036(0x110))/0x8+-parseInt(_0x1e5036(0x101))/0x9*(parseInt(_0x1e5036(0x113))/0xa);if(_0x25f979===_0xffc268)break;else _0x21d2bb['push'](_0x21d2bb['shift']());}catch(_0x10c92c){_0x21d2bb['push'](_0x21d2bb['shift']());}}}(_0x1fbf,0x57001));import{ObservableMixin as _0x23f3ec}from'ckeditor5/src/utils.js';function _0x1d26(_0x56eaf2,_0xc8911c){const _0x1fbfbb=_0x1fbf();return _0x1d26=function(_0x1d26eb,_0x136e52){_0x1d26eb=_0x1d26eb-0xf5;let _0x34a384=_0x1fbfbb[_0x1d26eb];return _0x34a384;},_0x1d26(_0x56eaf2,_0xc8911c);}function _0x1fbf(){const _0x43c718=['3573608ZSpVOG','remove','PendingActions','9275690AKNQlP','PENDING_ACTION_SUGGESTION','destroy','getRanges','commands','2480108CQdRoR','_setPendingAction','_discardCommand','isDirty','discardSuggestion','canAccept','locale','plugins','16712ocdZJo','_editor','_pendingAction','bind','canDiscard','_acceptCommand','commentThreadController','isEnabled','4069835XBpCRM','listenTo','20WCvkBS','9mQGjwl','add','1475870xxoQjN','stopListening','change:isDirty','1476795TfYtVJ','6dgSpdg','canEditAt','view','unbind','execute','acceptSuggestion','get','_removePendingAction','model'];_0x1fbf=function(){return _0x43c718;};return _0x1fbf();}import{getTranslation as _0x417214}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x23f3ec(){[_0x1ab0dc(0x10f)];[_0x1ab0dc(0x109)];[_0x1ab0dc(0xfc)];[_0x1ab0dc(0xf7)];[_0x1ab0dc(0xfb)];[_0x1ab0dc(0x11a)];[_0x1ab0dc(0xf8)];constructor(_0x47bf35,_0x2918af,_0x2fede8,_0x4c9b20){const _0x4e6d6e=_0x1ab0dc;super(),this[_0x4e6d6e(0x10f)]=_0x2918af,this[_0x4e6d6e(0x109)]=_0x2fede8,this[_0x4e6d6e(0xfc)]=_0x4c9b20,this[_0x4e6d6e(0xf7)]=_0x47bf35,this[_0x4e6d6e(0xfb)]=_0x47bf35[_0x4e6d6e(0x117)][_0x4e6d6e(0x10d)](_0x4e6d6e(0x10c)),this[_0x4e6d6e(0x11a)]=_0x47bf35[_0x4e6d6e(0x117)][_0x4e6d6e(0x10d)](_0x4e6d6e(0x11c)),this[_0x4e6d6e(0x109)][_0x4e6d6e(0xf9)](_0x4e6d6e(0xfd))['to'](this[_0x4e6d6e(0xfb)],this[_0x4e6d6e(0x11a)],(_0x68d5da,_0x1fdb4c)=>_0x68d5da||_0x1fdb4c),this[_0x4e6d6e(0x109)][_0x4e6d6e(0xf9)](_0x4e6d6e(0x11d))['to'](this[_0x4e6d6e(0xfb)],_0x4e6d6e(0xfd),_0x13361e=>_0x13361e&&this[_0x4e6d6e(0xf7)][_0x4e6d6e(0x10f)][_0x4e6d6e(0x108)](_0x2918af[_0x4e6d6e(0x116)]())),this[_0x4e6d6e(0x109)][_0x4e6d6e(0xf9)](_0x4e6d6e(0xfa))['to'](this[_0x4e6d6e(0x11a)],_0x4e6d6e(0xfd),_0x562e6c=>_0x562e6c&&this[_0x4e6d6e(0xf7)][_0x4e6d6e(0x10f)][_0x4e6d6e(0x108)](_0x2918af[_0x4e6d6e(0x116)]())),this[_0x4e6d6e(0xf8)]=null,_0x2fede8[_0x4e6d6e(0x11b)]&&this[_0x4e6d6e(0x119)](),this[_0x4e6d6e(0xff)](_0x2fede8,_0x4e6d6e(0x10c),()=>this[_0x4e6d6e(0x10c)]()),this[_0x4e6d6e(0xff)](_0x2fede8,_0x4e6d6e(0x11c),()=>this[_0x4e6d6e(0x11c)]()),this[_0x4e6d6e(0xff)](_0x2fede8,_0x4e6d6e(0x105),()=>{const _0x3fbdf8=_0x4e6d6e;_0x2fede8[_0x3fbdf8(0x11b)]?this[_0x3fbdf8(0x119)]():this[_0x3fbdf8(0x10e)]();});}[_0x1ab0dc(0x10c)](){const _0x52a9c9=_0x1ab0dc;this[_0x52a9c9(0xfb)][_0x52a9c9(0x10b)](this[_0x52a9c9(0x10f)]['id']);}[_0x1ab0dc(0x11c)](){const _0x5824af=_0x1ab0dc;this[_0x5824af(0x11a)][_0x5824af(0x10b)](this[_0x5824af(0x10f)]['id']);}[_0x1ab0dc(0x115)](){const _0x482b6b=_0x1ab0dc;this[_0x482b6b(0x109)][_0x482b6b(0x10a)](_0x482b6b(0xfd)),this[_0x482b6b(0x109)][_0x482b6b(0x10a)](_0x482b6b(0x11d)),this[_0x482b6b(0x109)][_0x482b6b(0x10a)](_0x482b6b(0xfa)),this[_0x482b6b(0x104)](),this[_0x482b6b(0xfc)][_0x482b6b(0x115)](),this[_0x482b6b(0xf8)]&&this[_0x482b6b(0x10e)]();}[_0x1ab0dc(0x119)](){const _0x50f16a=_0x1ab0dc,_0x19a0ec=_0x417214(this[_0x50f16a(0xf7)][_0x50f16a(0x11e)],_0x50f16a(0x114));this[_0x50f16a(0xf8)]=this[_0x50f16a(0xf7)][_0x50f16a(0xf5)][_0x50f16a(0x10d)](_0x50f16a(0x112))[_0x50f16a(0x102)](_0x19a0ec);}[_0x1ab0dc(0x10e)](){const _0x34a558=_0x1ab0dc;null!==this[_0x34a558(0xf8)]&&this[_0x34a558(0xf7)][_0x34a558(0xf5)][_0x34a558(0x10d)](_0x34a558(0x112))[_0x34a558(0x111)](this[_0x34a558(0xf8)]),this[_0x34a558(0xf8)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4239ae=_0x22db;(function(_0x5ab44b,_0x3baaf7){const _0x4d4cc1=_0x22db,_0xf6045c=_0x5ab44b();while(!![]){try{const _0x5f17c9=parseInt(_0x4d4cc1(0xe9))/0x1+parseInt(_0x4d4cc1(0xcf))/0x2+parseInt(_0x4d4cc1(0x105))/0x3+-parseInt(_0x4d4cc1(0xd3))/0x4+-parseInt(_0x4d4cc1(0x104))/0x5+-parseInt(_0x4d4cc1(0xc9))/0x6*(-parseInt(_0x4d4cc1(0xfe))/0x7)+-parseInt(_0x4d4cc1(0xf4))/0x8;if(_0x5f17c9===_0x3baaf7)break;else _0xf6045c['push'](_0xf6045c['shift']());}catch(_0x539f85){_0xf6045c['push'](_0xf6045c['shift']());}}}(_0x1794,0xadcae));function _0x22db(_0x236cf7,_0x5785be){const _0x17946d=_0x1794();return _0x22db=function(_0x22db59,_0xbbc5d0){_0x22db59=_0x22db59-0xbf;let _0x21b7a1=_0x17946d[_0x22db59];return _0x21b7a1;},_0x22db(_0x236cf7,_0x5785be);}import{FocusCycler as _0x416f14,View as _0x20ea94,ViewCollection as _0x40c500}from'ckeditor5/src/ui.js';import{FocusTracker as _0xbc10d2,KeystrokeHandler as _0x57a975}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x7a287d,setupThreadKeyboardNavigation as _0x239c23}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x3c709e}from'../../utils/common-translations.js';function _0x1794(){const _0x440840=['cancel','_model','SUGGESTION_THREAD_ARIA_LABEL','focusables','focusCycler','11641mTNLio','body','commentsListView','commentThread','isActive','destroy','4789675WbWTNg','4231434hUMDiE','assign','name','editorConfig','focusTracker','ariaDescriptionView','editor','setData','ariaLabel','authoredAt','isDirty','3900TNnWnB','target','author','CommentView','canDiscard','addComment','887350ojhXOi','disableComments','descriptionParts','updateComment','1331560VvtoRM','text/html','removeComment','_config','delegate','tab','focus','length','value','hasDirtyComment','locale','fire','canAccept','isEnabled','parseFromString','join','commentThreadInputView','set','keystrokes','bind','shift+tab','_localUser','866741fxnZXV','_createCommentViews','_createCommentThreadInputView','formatDateTime','textContent','submit','disabledSubmit','content','map','render','element','14393320TUKdEN','SUGGESTION_THREAD_DESCRIPTION','showInput','isReadOnly','commentInputView'];_0x1794=function(){return _0x440840;};return _0x1794();}import{renderDescription as _0x5561aa}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x20ea94{[_0x4239ae(0x100)];[_0x4239ae(0xe3)];[_0x4239ae(0xc3)];[_0x4239ae(0xfc)];[_0x4239ae(0xc2)];[_0x4239ae(0xe5)];[_0x4239ae(0xfd)];[_0x4239ae(0xfa)];[_0x4239ae(0xe8)];[_0x4239ae(0xd6)];constructor(_0x33271f,_0xa7c0ad,_0x4f75f8,_0x3b8935){const _0x23b754=_0x4239ae;super(_0x33271f),this[_0x23b754(0x100)]=null,this[_0x23b754(0xe3)]=null,this[_0x23b754(0xc3)]=new _0x7a287d(_0x33271f,_0x3c709e(_0x33271f,_0x23b754(0xf5))),this[_0x23b754(0xe4)](_0x23b754(0x102),!0x1),this[_0x23b754(0xe4)](_0x23b754(0xc7),_0xa7c0ad[_0x23b754(0xc7)]),this[_0x23b754(0xe6)](_0x23b754(0xc7))['to'](_0xa7c0ad),this[_0x23b754(0xe4)](_0x23b754(0xd1),[]),this[_0x23b754(0xe4)](_0x23b754(0xc8),!0x1),this[_0x23b754(0xe4)](_0x23b754(0xe0),!0x1),this[_0x23b754(0xe4)](_0x23b754(0xdf),!0x1),this[_0x23b754(0xe4)](_0x23b754(0xcd),!0x1),this[_0x23b754(0xe6)](_0x23b754(0xc6))['to'](this,_0x23b754(0xda),_0xa7c0ad,_0x23b754(0xc7),this,_0x23b754(0xd1),(_0x9bd5d5,_0x5237cb,_0x52b769)=>{const _0x5723f6=_0x23b754,_0x31422f=_0x52b769[_0x5723f6(0xf1)](_0xb799ac=>_0x5561aa(_0xb799ac[_0x5723f6(0xf0)]))[_0x5723f6(0xe2)]('.\x20')+'.';return _0x3c709e(this[_0x5723f6(0xdd)],_0x5723f6(0xfb),[_0x9bd5d5-0x1,_0xa7c0ad[_0x5723f6(0xcb)][_0x5723f6(0xc0)],_0x5237cb?_0x3b8935[_0x5723f6(0xec)](_0x5237cb):'',new DOMParser()[_0x5723f6(0xe1)](_0x31422f,_0x5723f6(0xd4))[_0x5723f6(0xff)][_0x5723f6(0xed)]]);}),this[_0x23b754(0xfc)]=new _0x40c500(),this[_0x23b754(0xc2)]=new _0xbc10d2(),this[_0x23b754(0xe5)]=new _0x57a975(),this[_0x23b754(0xfd)]=new _0x416f14({'focusables':this[_0x23b754(0xfc)],'focusTracker':this[_0x23b754(0xc2)],'keystrokeHandler':this[_0x23b754(0xe5)],'keystrokeHandlerOptions':{'filter':_0x427c93=>_0x427c93[_0x23b754(0xca)]!==this[_0x23b754(0xf3)]},'actions':{'focusPrevious':_0x23b754(0xe7),'focusNext':_0x23b754(0xd8)}}),this[_0x23b754(0xfa)]=_0xa7c0ad,this[_0x23b754(0xe8)]=_0x4f75f8,this[_0x23b754(0xd6)]=_0x3b8935,_0x3b8935[_0x23b754(0xd0)]?this[_0x23b754(0xe4)](_0x23b754(0xda),0x1):this[_0x23b754(0xea)]();}[_0x4239ae(0xf2)](){const _0x4cf753=_0x4239ae;super[_0x4cf753(0xf2)](),_0x239c23(this,this[_0x4cf753(0xfc)]);}[_0x4239ae(0xd9)](){const _0x12a035=_0x4239ae;this[_0x12a035(0xf3)][_0x12a035(0xd9)]();}[_0x4239ae(0x103)](){const _0x179bdd=_0x4239ae;this[_0x179bdd(0x100)]&&this[_0x179bdd(0x100)][_0x179bdd(0x103)](),this[_0x179bdd(0xe3)]&&this[_0x179bdd(0xe3)][_0x179bdd(0x103)](),super[_0x179bdd(0x103)]();}[_0x4239ae(0xea)](){const _0x228a32=_0x4239ae,{CommentsListView:_0xfe586}=this[_0x228a32(0xd6)];this[_0x228a32(0x100)]=new _0xfe586(this[_0x228a32(0xdd)],this[_0x228a32(0xfa)][_0x228a32(0x101)],Object[_0x228a32(0xbf)]({'CommentView':this[_0x228a32(0xd6)][_0x228a32(0xcc)]},this[_0x228a32(0xd6)])),this[_0x228a32(0x100)][_0x228a32(0xd7)](_0x228a32(0xd5))['to'](this),this[_0x228a32(0x100)][_0x228a32(0xd7)](_0x228a32(0xd2))['to'](this),this[_0x228a32(0x100)][_0x228a32(0xe6)](_0x228a32(0x102))['to'](this),this[_0x228a32(0xe4)](_0x228a32(0xda),this[_0x228a32(0x100)][_0x228a32(0xda)]+0x1),this[_0x228a32(0xe6)](_0x228a32(0xda))['to'](this[_0x228a32(0x100)],_0x228a32(0xda),_0x1981d5=>_0x1981d5+0x1),this[_0x228a32(0xe3)]=this[_0x228a32(0xeb)](),this['on'](_0x228a32(0xd5),()=>this[_0x228a32(0xd9)]()),this[_0x228a32(0xe6)](_0x228a32(0xc8))['to'](this[_0x228a32(0x100)],_0x228a32(0xdc),this[_0x228a32(0xe3)][_0x228a32(0xf8)],_0x228a32(0xdb),(_0x46235a,_0x4b8de9)=>_0x46235a||!!_0x4b8de9);}[_0x4239ae(0xeb)](){const _0x12108f=_0x4239ae,{CommentThreadInputView:_0x5471e0}=this[_0x12108f(0xd6)],_0x14cb3b=new _0x5471e0(this[_0x12108f(0xdd)],this[_0x12108f(0xe8)],this[_0x12108f(0xd6)][_0x12108f(0xc1)]),_0x2da7e8=_0x14cb3b[_0x12108f(0xf8)];return _0x14cb3b[_0x12108f(0xe6)](_0x12108f(0xf6))['to'](this,_0x12108f(0x102),this[_0x12108f(0xfa)][_0x12108f(0x101)],_0x12108f(0xf7),_0x2da7e8,_0x12108f(0xdb),(_0x39bac5,_0x31a3a2,_0x1f7b09)=>!!_0x1f7b09||_0x39bac5&&!_0x31a3a2),_0x2da7e8['on'](_0x12108f(0xee),(_0x9c2d8b,_0x46ef40)=>{const _0x4d998e=_0x12108f;this[_0x4d998e(0xde)](_0x4d998e(0xce),_0x46ef40),_0x2da7e8[_0x4d998e(0xc4)][_0x4d998e(0xc5)]('');}),_0x2da7e8['on'](_0x12108f(0xf9),()=>this[_0x12108f(0xd9)]()),_0x2da7e8[_0x12108f(0xe6)](_0x12108f(0xef))['to'](this[_0x12108f(0xfa)][_0x12108f(0x101)],_0x12108f(0xf7)),_0x14cb3b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41de14=_0x1975;(function(_0x39c19d,_0x4e395e){const _0x2ed117=_0x1975,_0x10cfa6=_0x39c19d();while(!![]){try{const _0x379dbc=-parseInt(_0x2ed117(0x20f))/0x1*(-parseInt(_0x2ed117(0x1f8))/0x2)+parseInt(_0x2ed117(0x1f1))/0x3*(parseInt(_0x2ed117(0x203))/0x4)+-parseInt(_0x2ed117(0x21d))/0x5*(-parseInt(_0x2ed117(0x208))/0x6)+parseInt(_0x2ed117(0x221))/0x7+-parseInt(_0x2ed117(0x20d))/0x8*(-parseInt(_0x2ed117(0x216))/0x9)+-parseInt(_0x2ed117(0x20e))/0xa+parseInt(_0x2ed117(0x215))/0xb*(-parseInt(_0x2ed117(0x1f4))/0xc);if(_0x379dbc===_0x4e395e)break;else _0x10cfa6['push'](_0x10cfa6['shift']());}catch(_0x5e542b){_0x10cfa6['push'](_0x10cfa6['shift']());}}}(_0x5a17,0xae59a));import{BaseSuggestionThreadView as _0x3aa39c}from'./basesuggestionthreadview.js';function _0x1975(_0x544db4,_0x48cccb){const _0x5a178e=_0x5a17();return _0x1975=function(_0x1975e7,_0x194f25){_0x1975e7=_0x1975e7-0x1f0;let _0x567c73=_0x5a178e[_0x1975e7];return _0x567c73;},_0x1975(_0x544db4,_0x48cccb);}import{trimHtml as _0x18ff4f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5a17(){const _0xcbbd51=['push','6DLInOg','commentThread','color','editorDestroyed','ariaDescriptionView','1592WZSNJG','10803310rcKBbO','2FAXEvP','disableComments','author','commentsListView','focusables','type','1947JmFcKK','42039qPYvAQ','setTemplate','ck-suggestion-wrapper','description','formatDateTime','add','_config','6807805VigXxA','isActive','_model','set','9833467RutobZ','ck-suggestion--disabled-comments','getTemplate','</p>','ck-suggestion-','div','descriptionParts','canAccept','ck-rounded-corners','discardButton','bind','42753DQFFNC','<p>','isEnabled','145956lodHZo','content','commentThreadInputView','bindTemplate','151692PlFugD','_descriptionElement','acceptButton','canDiscard','listitem','delegate','ariaLabel','discardSuggestion','suggestionView','acceptSuggestion','editorReady','28iPCPJh','SuggestionView','ck-suggestion-wrapper--active','render'];_0x5a17=function(){return _0xcbbd51;};return _0x5a17();}import{renderDescription as _0x1a2d69}from'../../utils/utils.js';export class SuggestionThreadView extends _0x3aa39c{[_0x41de14(0x200)];[_0x41de14(0x1f9)];constructor(_0x3ce3ef,_0x961de7,_0x47efab,_0x32c0b5){const _0x1f9726=_0x41de14;super(_0x3ce3ef,_0x961de7,_0x47efab,_0x32c0b5),this[_0x1f9726(0x220)](_0x1f9726(0x214),''),this[_0x1f9726(0x1f0)](_0x1f9726(0x214))['to'](this,_0x1f9726(0x227),_0x1381b9=>_0x1381b9&&_0x1381b9[0x0]?_0x1381b9[0x0][_0x1f9726(0x214)]:''),this[_0x1f9726(0x1f0)](_0x1f9726(0x219))['to'](this,_0x1f9726(0x227),this,_0x1f9726(0x21e),(_0x2f5ae6,_0x49a1a1)=>{const _0x1d3f2e=_0x1f9726;let _0x45f20b='';for(const _0x534a8e of _0x2f5ae6)_0x45f20b+=_0x1d3f2e(0x1f2)+_0x1a2d69(_0x534a8e[_0x1d3f2e(0x1f5)],_0x534a8e[_0x1d3f2e(0x20a)])+_0x1d3f2e(0x224);return _0x49a1a1?_0x45f20b:_0x18ff4f(_0x45f20b,{'limit':0x8c});}),this[_0x1f9726(0x1f9)]=null,this[_0x1f9726(0x200)]=new _0x32c0b5[(_0x1f9726(0x204))](_0x3ce3ef,_0x961de7,{'formatDateTime':_0x32c0b5[_0x1f9726(0x21a)]}),this[_0x1f9726(0x200)][_0x1f9726(0x1f0)](_0x1f9726(0x219))['to'](this),this[_0x1f9726(0x200)][_0x1f9726(0x1fd)](_0x1f9726(0x201),_0x1f9726(0x1ff))['to'](this),this[_0x1f9726(0x200)][_0x1f9726(0x1fa)][_0x1f9726(0x1f0)](_0x1f9726(0x1f3))['to'](this,_0x1f9726(0x228)),this[_0x1f9726(0x200)][_0x1f9726(0x22a)][_0x1f9726(0x1f0)](_0x1f9726(0x1f3))['to'](this,_0x1f9726(0x1fb)),this[_0x1f9726(0x213)][_0x1f9726(0x21b)](this[_0x1f9726(0x200)]),this[_0x1f9726(0x212)]&&this[_0x1f9726(0x213)][_0x1f9726(0x21b)](this[_0x1f9726(0x212)]),this[_0x1f9726(0x1f6)]&&this[_0x1f9726(0x213)][_0x1f9726(0x21b)](this[_0x1f9726(0x1f6)]),this[_0x1f9726(0x217)](this[_0x1f9726(0x223)]());}[_0x41de14(0x223)](){const _0x15b59a=_0x41de14,_0x5a7495=this[_0x15b59a(0x1f7)],_0x35c03e=[this[_0x15b59a(0x200)]];return this[_0x15b59a(0x212)]&&_0x35c03e[_0x15b59a(0x207)](this[_0x15b59a(0x212)]),this[_0x15b59a(0x1f6)]&&_0x35c03e[_0x15b59a(0x207)](this[_0x15b59a(0x1f6)]),_0x35c03e[_0x15b59a(0x207)](this[_0x15b59a(0x20c)]),{'tag':_0x15b59a(0x226),'attributes':{'class':['ck',_0x15b59a(0x229),_0x15b59a(0x218),_0x5a7495['if'](_0x15b59a(0x21e),_0x15b59a(0x205)),_0x5a7495['to'](_0x15b59a(0x214),_0xadfc3a=>_0x15b59a(0x225)+_0xadfc3a),this[_0x15b59a(0x21c)][_0x15b59a(0x210)]&&_0x15b59a(0x222)],'data-suggestion-id':this[_0x15b59a(0x21f)]['id'],'data-thread-id':this[_0x15b59a(0x21f)][_0x15b59a(0x209)]['id'],'data-author-id':this[_0x15b59a(0x21f)][_0x15b59a(0x211)]['id'],'tabindex':0x0,'role':_0x15b59a(0x1fc),'aria-label':_0x5a7495['to'](_0x15b59a(0x1fe)),'aria-describedby':this[_0x15b59a(0x20c)]['id']},'children':_0x35c03e};}[_0x41de14(0x206)](){const _0x3d8a19=_0x41de14;super[_0x3d8a19(0x206)](),this[_0x3d8a19(0x212)]&&(this[_0x3d8a19(0x212)][_0x3d8a19(0x1fd)](_0x3d8a19(0x202))['to'](this),this[_0x3d8a19(0x212)][_0x3d8a19(0x1fd)](_0x3d8a19(0x20b))['to'](this)),this[_0x3d8a19(0x1f6)]&&(this[_0x3d8a19(0x1f6)][_0x3d8a19(0x1fd)](_0x3d8a19(0x202))['to'](this),this[_0x3d8a19(0x1f6)][_0x3d8a19(0x1fd)](_0x3d8a19(0x20b))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x468227=_0x58bd;(function(_0x3a7ac8,_0x47dc0b){const _0x594c34=_0x58bd,_0x221f0d=_0x3a7ac8();while(!![]){try{const _0x1799f6=-parseInt(_0x594c34(0xb8))/0x1*(-parseInt(_0x594c34(0xc4))/0x2)+parseInt(_0x594c34(0x107))/0x3+-parseInt(_0x594c34(0xbb))/0x4*(parseInt(_0x594c34(0xfa))/0x5)+parseInt(_0x594c34(0xec))/0x6+parseInt(_0x594c34(0xf2))/0x7*(-parseInt(_0x594c34(0xc6))/0x8)+-parseInt(_0x594c34(0xe9))/0x9+parseInt(_0x594c34(0xcc))/0xa;if(_0x1799f6===_0x47dc0b)break;else _0x221f0d['push'](_0x221f0d['shift']());}catch(_0x4a9735){_0x221f0d['push'](_0x221f0d['shift']());}}}(_0x4730,0x9eec1));import{FocusTracker as _0x88282c,KeystrokeHandler as _0x5cfd7c}from'ckeditor5/src/utils.js';import{View as _0x2df446,ViewCollection as _0x350a50,FocusCycler as _0x48bf1f}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x5b8014,UserView as _0xfcd549}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x414913,IconCheck as _0x3b7162}from'ckeditor5/src/icons.js';function _0x58bd(_0x4bd6c0,_0xc5b32){const _0x473052=_0x4730();return _0x58bd=function(_0x58bd1f,_0x4e4233){_0x58bd1f=_0x58bd1f-0xb1;let _0x55041b=_0x473052[_0x58bd1f];return _0x55041b;},_0x58bd(_0x4bd6c0,_0xc5b32);}function _0x4730(){const _0x12abe0=['attributes','Discard\x20suggestion','element','ck-suggestion__info-name','bindTemplate','innerHTML','EXTERNAL_IMPORT_WORD_SUGGESTION','23505QOjfmx','.ck-annotation__content-wrapper','bind','ck-annotation__info-name','ck-annotation__user','locale','isExternal','setTemplate','discardButton','span','description','ck-annotation__info-time','focusFirst','338301OUIGNg','Accept\x20suggestion','target','_setupKeyboardNavigation','focusables','EXTERNAL_AVATAR','EXTERNAL_IMPORT_WORD_AVATAR','esc','ck-comment__external','author','1712mfUHEY','discardSuggestion','querySelector','324UvKriK','focusTracker','_createButton','ck-suggestion','time','div','getUserViewNotificationText','ck-annotation__content-wrapper','focusCycler','258GHoKfK','authoredAt','1544aIERcV','shift+tab','render','execute','ck-comment__info-time','acceptSuggestion','12982090yJATve','enter','userView','push','listenTo','name','ck-annotation','getExternalSuggestionNote','source','ck-suggestion__actions','presentation','focus','ck-annotation__actions','ck-annotation__main','extendTemplate','EXTERNAL_SUGGESTION','creator','ck-suggestion--discard','@external','ck-suggestion__user','set','tab','_config','formatDateTime','_model','acceptButton','change:description','add','ck-suggestion__main','7626267WVBnIS','getTemplate','keystrokes','4404066zbjrvX','ck-annotation__info','ck-suggestion--accept','importWord','ck-suggestion__info','fire','17654wWBnLf'];_0x4730=function(){return _0x12abe0;};return _0x4730();}import{getTranslation as _0x4937de}from'../../utils/common-translations.js';export class SuggestionView extends _0x2df446{[_0x468227(0xce)];[_0x468227(0xe5)];[_0x468227(0x102)];[_0x468227(0xb2)];[_0x468227(0xbc)];[_0x468227(0xeb)];[_0x468227(0xc3)];[_0x468227(0xe4)];[_0x468227(0xe2)];constructor(_0x21db98,_0x12d1c0,_0x1e5a07){const _0x434bf8=_0x468227;super(_0x21db98),this[_0x434bf8(0xe4)]=_0x12d1c0,this[_0x434bf8(0xe2)]=_0x1e5a07,this[_0x434bf8(0xe0)](_0x434bf8(0x104),''),this[_0x434bf8(0xfc)](_0x434bf8(0xc5))['to'](_0x12d1c0),this[_0x434bf8(0xe5)]=this[_0x434bf8(0xbd)](_0x4937de(_0x21db98,_0x434bf8(0x108)),_0x3b7162,_0x434bf8(0xee),_0x434bf8(0xcb),'sw'),this[_0x434bf8(0x102)]=this[_0x434bf8(0xbd)](_0x4937de(_0x21db98,_0x434bf8(0xf4)),_0x414913,_0x434bf8(0xdd),_0x434bf8(0xb9),'sw'),this[_0x434bf8(0xce)]=new _0xfcd549(_0x21db98,_0x12d1c0[_0x434bf8(0xb7)],this[_0x434bf8(0xc1)]()),this[_0x434bf8(0xce)][_0x434bf8(0xda)]({'attributes':{'class':[_0x434bf8(0xdf),_0x434bf8(0xfe)],'aria-hidden':!0x0}}),this[_0x434bf8(0xb2)]=new _0x350a50([this[_0x434bf8(0xe5)],this[_0x434bf8(0x102)]]),this[_0x434bf8(0xbc)]=new _0x88282c(),this[_0x434bf8(0xeb)]=new _0x5cfd7c(),this[_0x434bf8(0xc3)]=new _0x48bf1f({'focusables':this[_0x434bf8(0xb2)],'focusTracker':this[_0x434bf8(0xbc)],'keystrokeHandler':this[_0x434bf8(0xeb)],'actions':{'focusPrevious':_0x434bf8(0xc7),'focusNext':_0x434bf8(0xe1)},'keystrokeHandlerOptions':{'filter':_0x116861=>_0x116861[_0x434bf8(0x109)]!==this[_0x434bf8(0xf5)]}}),this[_0x434bf8(0x101)](this[_0x434bf8(0xea)]());}[_0x468227(0xc8)](){const _0x58b83a=_0x468227;super[_0x58b83a(0xc8)]();const _0x143b1c=this[_0x58b83a(0xf5)][_0x58b83a(0xba)](_0x58b83a(0xfb));_0x143b1c[_0x58b83a(0xf8)]=this[_0x58b83a(0x104)],this['on'](_0x58b83a(0xe6),(_0x139a36,_0x46640f,_0x136adb)=>{const _0x3bd9ab=_0x58b83a;_0x143b1c[_0x3bd9ab(0xf8)]=_0x136adb;}),this[_0x58b83a(0xb1)]();}[_0x468227(0xea)](){const _0x536482=_0x468227,_0x6c1f67=this[_0x536482(0xf7)],_0x5b53f8=[{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xf0),_0x536482(0xed)]},'children':[{'tag':_0x536482(0x103),'children':[{'text':this[_0x536482(0xce)][_0x536482(0xd1)]}],'attributes':{'class':[_0x536482(0xf6),_0x536482(0xfd)],'data-cke-tooltip-text':this[_0x536482(0xce)][_0x536482(0xd1)]}},{'tag':_0x536482(0xbf),'attributes':{'datetime':_0x6c1f67['to'](_0x536482(0xc5)),'class':[_0x536482(0xca),_0x536482(0x105)]},'children':[{'text':_0x6c1f67['to'](_0x536482(0xc5),_0x57743=>this[_0x536482(0xe2)][_0x536482(0xe3)](_0x57743))}]}]},{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xd5),_0x536482(0xd8)]},'children':[this[_0x536482(0xe5)],this[_0x536482(0x102)]]},{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xc2)]}}];return this[_0x536482(0xe4)][_0x536482(0x100)]&&_0x5b53f8[_0x536482(0xcf)]({'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xb6)]},'children':[{'text':this[_0x536482(0xd3)]()}]}),{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xbe),_0x536482(0xd2)],'tabindex':-0x1},'children':[this[_0x536482(0xce)],{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xe8),_0x536482(0xd9)],'role':_0x536482(0xd6)},'children':_0x5b53f8}]};}[_0x468227(0xd7)](){const _0x3d9bfa=_0x468227;this[_0x3d9bfa(0xf5)][_0x3d9bfa(0xd7)]();}[_0x468227(0xc1)](){const _0x3c4598=_0x468227;return this[_0x3c4598(0xe4)][_0x3c4598(0x100)]?_0x3c4598(0xef)===this[_0x3c4598(0xe4)][_0x3c4598(0xf3)][_0x3c4598(0xde)][_0x3c4598(0xd4)]?_0x4937de(this[_0x3c4598(0xff)],_0x3c4598(0xb4),this[_0x3c4598(0xe4)][_0x3c4598(0xdc)][_0x3c4598(0xd1)]):_0x4937de(this[_0x3c4598(0xff)],_0x3c4598(0xb3),this[_0x3c4598(0xe4)][_0x3c4598(0xdc)][_0x3c4598(0xd1)]):null;}[_0x468227(0xd3)](){const _0x250af4=_0x468227;return _0x250af4(0xef)===this[_0x250af4(0xe4)][_0x250af4(0xf3)][_0x250af4(0xde)][_0x250af4(0xd4)]?_0x4937de(this[_0x250af4(0xff)],_0x250af4(0xf9)):_0x4937de(this[_0x250af4(0xff)],_0x250af4(0xdb));}[_0x468227(0xbd)](_0x32e53c,_0x4bad2c,_0xae4db4,_0x2f39bd,_0x549d28){const _0x3b6bf7=_0x468227,_0x27236d=new _0x5b8014(this[_0x3b6bf7(0xff)]);return _0x27236d[_0x3b6bf7(0xe0)]({'label':_0x32e53c,'icon':_0x4bad2c,'tooltip':!0x0,'tooltipPosition':_0x549d28}),_0x27236d[_0x3b6bf7(0xda)]({'attributes':{'class':_0xae4db4}}),_0x27236d['on'](_0x3b6bf7(0xc9),()=>{const _0x44bd43=_0x3b6bf7;this[_0x44bd43(0xf1)](_0x2f39bd,this[_0x44bd43(0xe4)]['id']);}),_0x27236d;}[_0x468227(0xb1)](){const _0x3120f7=_0x468227,_0x3c1f9a=this[_0x3120f7(0xf5)];this[_0x3120f7(0xeb)][_0x3120f7(0xd0)](_0x3c1f9a);for(const _0x40cc51 of this[_0x3120f7(0xb2)])this[_0x3120f7(0xbc)][_0x3120f7(0xe7)](_0x40cc51[_0x3120f7(0xf5)]),this[_0x3120f7(0xeb)][_0x3120f7(0xd0)](_0x40cc51[_0x3120f7(0xf5)]);this[_0x3120f7(0xeb)][_0x3120f7(0xe0)](_0x3120f7(0xcd),(_0x26029a,_0xca4db5)=>{const _0x230ccb=_0x3120f7;_0x3c1f9a===_0x26029a[_0x230ccb(0x109)]&&(this[_0x230ccb(0xc3)][_0x230ccb(0x106)](),_0xca4db5());}),this[_0x3120f7(0xeb)][_0x3120f7(0xe0)](_0x3120f7(0xb5),(_0x4fe82e,_0x4e5ada)=>{const _0x2ea49d=_0x3120f7;_0x3c1f9a!==_0x4fe82e[_0x2ea49d(0x109)]&&(this[_0x2ea49d(0xd7)](),_0x4e5ada());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3ca38a=_0x42ad;(function(_0x4db642,_0x447a14){const _0x556ea8=_0x42ad,_0x5cd827=_0x4db642();while(!![]){try{const _0x2153da=-parseInt(_0x556ea8(0x202))/0x1*(parseInt(_0x556ea8(0x1fa))/0x2)+-parseInt(_0x556ea8(0x1f6))/0x3*(parseInt(_0x556ea8(0x209))/0x4)+-parseInt(_0x556ea8(0x204))/0x5+parseInt(_0x556ea8(0x1ec))/0x6+parseInt(_0x556ea8(0x1fd))/0x7+parseInt(_0x556ea8(0x201))/0x8*(-parseInt(_0x556ea8(0x1ee))/0x9)+parseInt(_0x556ea8(0x206))/0xa;if(_0x2153da===_0x447a14)break;else _0x5cd827['push'](_0x5cd827['shift']());}catch(_0x9abbd8){_0x5cd827['push'](_0x5cd827['shift']());}}}(_0x1f43,0x3533d));function _0x42ad(_0x3735ee,_0x49f69f){const _0x1f4307=_0x1f43();return _0x42ad=function(_0x42ad40,_0x5651af){_0x42ad40=_0x42ad40-0x1ec;let _0x2995a2=_0x1f4307[_0x42ad40];return _0x2995a2;},_0x42ad(_0x3735ee,_0x49f69f);}function _0x1f43(){const _0x447bf6=['ck-reset','1296BBPASO','options','dialogRects','1318499Nnyyrs','setPreviewData','div','className','502344MigZiH','56dQbiuB','ck-track-changes-preview','1388010rPXajw','style','6000520ZJgygH','data-ck-root-name','setTemplate','20ZoBDIE','createElement','width','push','focus','1920360PMFOsq','previewDataReady','36ymYWwx','element','\x20ck-track-changes-preview__root-container','height','render','fire','innerHTML','content','195294LiSNmf','setAttribute','classes'];_0x1f43=function(){return _0x447bf6;};return _0x1f43();}import{View as _0x483b5c}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x483b5c{[_0x3ca38a(0x1fb)];constructor(_0x53bf85,_0x163e08){const _0xc4b81=_0x3ca38a;super(_0x53bf85),this[_0xc4b81(0x1fb)]=_0x163e08,this[_0xc4b81(0x208)]({'tag':_0xc4b81(0x1ff),'attributes':{'class':['ck',_0xc4b81(0x1f9),_0xc4b81(0x203)],'tabindex':-0x1}});}[_0x3ca38a(0x1f2)](){const _0x387f2e=_0x3ca38a;super[_0x387f2e(0x1f2)](),this[_0x387f2e(0x1ef)][_0x387f2e(0x205)][_0x387f2e(0x20b)]=this[_0x387f2e(0x1fb)][_0x387f2e(0x1fc)][_0x387f2e(0x20b)]+'px',this[_0x387f2e(0x1ef)][_0x387f2e(0x205)][_0x387f2e(0x1f1)]=this[_0x387f2e(0x1fb)][_0x387f2e(0x1fc)][_0x387f2e(0x1f1)]+'px';}[_0x3ca38a(0x1fe)](_0x4943be,_0x31e7de){const _0x55b3c6=_0x3ca38a;if(!this[_0x55b3c6(0x1ef)])return;const _0x5a824f=[];for(const [_0x39ddaf,_0xde41aa]of _0x4943be){const _0x49b247=document[_0x55b3c6(0x20a)](_0x55b3c6(0x1ff));_0x49b247[_0x55b3c6(0x1f7)](_0x55b3c6(0x207),_0x39ddaf),_0x49b247[_0x55b3c6(0x200)]=_0xde41aa[_0x55b3c6(0x1f8)]+_0x55b3c6(0x1f0),_0x49b247[_0x55b3c6(0x1f4)]=_0xde41aa[_0x55b3c6(0x1f5)],_0x5a824f[_0x55b3c6(0x20c)](_0x49b247);}_0x31e7de(this[_0x55b3c6(0x1ef)],_0x5a824f),this[_0x55b3c6(0x1ef)][_0x55b3c6(0x205)][_0x55b3c6(0x1f1)]='',this[_0x55b3c6(0x1f3)](_0x55b3c6(0x1ed));}[_0x3ca38a(0x20d)](){const _0x401055=_0x3ca38a;this[_0x401055(0x1ef)][_0x401055(0x20d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x51213a,_0x53f731,_0x312db7){const _0x28c8b6=_0x51213a['t'],t=_0x51213a['t'];switch(_0x53f731){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',_0x312db7);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x312db7);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x312db7);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x312db7);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x312db7);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',_0x312db7);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x312db7);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',_0x312db7);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x312db7);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x312db7);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x312db7);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x312db7);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x312db7);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x312db7);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x312db7);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x312db7);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x312db7);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x312db7);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x312db7);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x312db7);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x312db7);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x312db7);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x312db7);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x312db7);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x312db7);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'},_0x312db7);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x312db7);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x312db7);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x312db7);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x312db7);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x312db7);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x312db7);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x312db7);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'},_0x312db7);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x312db7);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x312db7);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x312db7);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x312db7);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'},_0x312db7);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x312db7);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'},_0x312db7);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x312db7);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x312db7);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'},_0x312db7);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x312db7);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'},_0x312db7);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x312db7);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x312db7);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'},_0x312db7);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x312db7);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 _0x28c8b6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x312db7);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x28c8b6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x312db7);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x312db7);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'},_0x312db7);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'},_0x312db7);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'},_0x312db7);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x53f731;}}
|
|
23
|
+
export function getTranslation(_0x1b1041,_0x20139f,_0x225400){const _0xd24c8c=_0x1b1041['t'],t=_0x1b1041['t'];switch(_0x20139f){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',_0x225400);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x225400);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x225400);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x225400);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x225400);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',_0x225400);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x225400);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',_0x225400);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x225400);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x225400);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x225400);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x225400);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x225400);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x225400);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x225400);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x225400);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x225400);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x225400);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x225400);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x225400);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x225400);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x225400);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x225400);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x225400);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x225400);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'},_0x225400);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x225400);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x225400);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x225400);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x225400);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x225400);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x225400);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x225400);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'},_0x225400);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x225400);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x225400);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x225400);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x225400);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'},_0x225400);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x225400);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'},_0x225400);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x225400);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x225400);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'},_0x225400);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x225400);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'},_0x225400);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x225400);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x225400);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'},_0x225400);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x225400);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 _0xd24c8c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x225400);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xd24c8c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x225400);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x225400);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'},_0x225400);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'},_0x225400);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'},_0x225400);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x20139f;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x442c4b,_0x4800a3){const _0x463de9=_0x255d,_0x14ba57=_0x442c4b();while(!![]){try{const _0x582159=parseInt(_0x463de9(0x1d3))/0x1*(parseInt(_0x463de9(0x1c5))/0x2)+-parseInt(_0x463de9(0x1e0))/0x3*(-parseInt(_0x463de9(0x1ca))/0x4)+parseInt(_0x463de9(0x1cd))/0x5*(-parseInt(_0x463de9(0x1cf))/0x6)+parseInt(_0x463de9(0x1f2))/0x7*(-parseInt(_0x463de9(0x1e7))/0x8)+-parseInt(_0x463de9(0x1fa))/0x9+parseInt(_0x463de9(0x1cc))/0xa*(-parseInt(_0x463de9(0x1d9))/0xb)+parseInt(_0x463de9(0x1df))/0xc*(parseInt(_0x463de9(0x1e2))/0xd);if(_0x582159===_0x4800a3)break;else _0x14ba57['push'](_0x14ba57['shift']());}catch(_0x3b13f0){_0x14ba57['push'](_0x14ba57['shift']());}}}(_0xe4ff,0x25000));export function normalizeDescription(_0x543bd4){const _0x48efb5=_0x255d;return Array[_0x48efb5(0x1c9)](_0x543bd4)||(_0x543bd4=[_0x543bd4]),_0x543bd4[_0x48efb5(0x1e3)](_0x152458=>{const _0x3a2597=_0x48efb5,_0x58dc01=_0x152458[_0x3a2597(0x1d1)][_0x3a2597(0x1d6)](/\*/g,''),_0x4bd248=_0x152458[_0x3a2597(0x1e8)]?_0x3a2597(0x1d7)+_0x152458[_0x3a2597(0x1e8)][_0x3a2597(0x1f0)]+']':'';return'['+_0x152458[_0x3a2597(0x1d8)]+']\x20'+_0x58dc01+_0x4bd248;})[_0x48efb5(0x1f1)](';\x20');}export function renderDescription(_0x461a15,_0x3f2edf){const _0x279e2b=_0x255d;let _0x5c5746='';return _0x5c5746+=_0x461a15[_0x279e2b(0x1eb)]('*')[_0x279e2b(0x1e3)]((_0x5d16b3,_0x1ea2b2)=>_0x1ea2b2%0x2!=0x0?_0x279e2b(0x1e4)+tn(_0x5d16b3)+_0x279e2b(0x1c6):tn(_0x5d16b3))[_0x279e2b(0x1f1)](''),_0x3f2edf&&(_0x5c5746+=_0x279e2b(0x1cb)+_0x3f2edf[_0x279e2b(0x1f0)]+_0x279e2b(0x1f8)+_0x3f2edf[_0x279e2b(0x1f9)]+_0x279e2b(0x1db)),_0x5c5746;}function tn(_0x2d086e){const _0x18d2ac=_0x255d,_0x591d0d=document[_0x18d2ac(0x1c8)](_0x18d2ac(0x1ce));return _0x591d0d[_0x18d2ac(0x1e5)]=_0x2d086e,_0x591d0d[_0x18d2ac(0x1dd)];}function _0x255d(_0x17d1f2,_0x1ce9a7){const _0xe4ff54=_0xe4ff();return _0x255d=function(_0x255d4e,_0x23991e){_0x255d4e=_0x255d4e-0x1c2;let _0x186c36=_0xe4ff54[_0x255d4e];return _0x186c36;},_0x255d(_0x17d1f2,_0x1ce9a7);}function _0xe4ff(){const _0x3ec359=['createPositionAt','end','isInContent','value','join','40026yfRmbq','length','deletion','add','push','from','\x22\x20title=\x22','title','2678823zxZfGU','schema','next','splice','getRanges','862BUscmU','</span>','change','createElement','isArray','92436TJzRQo','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','1812940rzvLNZ','715280LPyaFO','span','12cclTOJ','createRange','content','sort','17LyMatQ','isTouching','isCollapsed','replace','\x20[color\x20','type','11AQXmBc','start','\x22></span>','createPositionAfter','innerHTML','execute','9662028sRvIZs','15YxEsUz','isObject','13IvTYxC','map','<span\x20class=\x22ck-suggestion-type\x22>','innerText','createPositionBefore','16LtBDJN','color','isMultiRange','attribute','split','isIntersecting'];_0xe4ff=function(){return _0x3ec359;};return _0xe4ff();}export function sortSuggestions(_0x5e1133){const _0x117c85=_0x255d;return _0x5e1133[_0x117c85(0x1d2)]((_0x5bb144,_0x2b31dd)=>_0x117c85(0x1ea)===_0x5bb144[_0x117c85(0x1d8)]&&_0x117c85(0x1ea)!==_0x2b31dd[_0x117c85(0x1d8)]?-0x1:_0x117c85(0x1ea)!==_0x5bb144[_0x117c85(0x1d8)]&&_0x117c85(0x1ea)===_0x2b31dd[_0x117c85(0x1d8)]?0x1:_0x117c85(0x1f4)==_0x5bb144[_0x117c85(0x1d8)]&&_0x117c85(0x1f4)!=_0x2b31dd[_0x117c85(0x1d8)]?-0x1:_0x117c85(0x1f4)!=_0x5bb144[_0x117c85(0x1d8)]&&_0x117c85(0x1f4)==_0x2b31dd[_0x117c85(0x1d8)]?0x1:0x0);}export function getSelectedSuggestions(_0x4bc4f4,_0x416bc8){const _0x3acde5=_0x255d,_0x2c75a0=Array[_0x3acde5(0x1f7)](_0x4bc4f4[_0x3acde5(0x1c4)]()),_0x178c21=new Set();for(const _0x503e79 of _0x416bc8)if(_0x503e79[_0x3acde5(0x1ef)]){for(const _0x5296fc of _0x2c75a0)for(const _0x3b2bbb of _0x503e79[_0x3acde5(0x1c4)]())(_0x5296fc[_0x3acde5(0x1ec)](_0x3b2bbb)||_0x4bc4f4[_0x3acde5(0x1d5)]&&!_0x503e79[_0x3acde5(0x1e9)]&&_0x503e79[_0x3acde5(0x1c2)]&&_0x3b2bbb[_0x3acde5(0x1ee)][_0x3acde5(0x1d4)](_0x5296fc[_0x3acde5(0x1da)]))&&_0x178c21[_0x3acde5(0x1f5)](_0x503e79);}return _0x178c21;}export function getRangesOfBlockGroups(_0x10f44b,_0x311508){const _0x183fa2=_0x255d;let _0x427fc7,_0x15551c=0x0;const _0x342d26=[],_0x46efed=_0x311508[_0x183fa2(0x1fb)];for(;_0x15551c<_0x10f44b[_0x183fa2(0x1f3)];){const _0x109c85=_0x10f44b[_0x15551c],_0x24ac2e=_0x10f44b[_0x15551c+0x1];_0x427fc7||(_0x427fc7=_0x311508[_0x183fa2(0x1e6)](_0x109c85)),nn(_0x311508,_0x109c85,_0x24ac2e)||(_0x342d26[_0x183fa2(0x1f6)](_0x311508[_0x183fa2(0x1d0)](_0x427fc7,_0x46efed[_0x183fa2(0x1e1)](_0x109c85)?_0x311508[_0x183fa2(0x1dc)](_0x109c85):_0x311508[_0x183fa2(0x1ed)](_0x109c85,_0x183fa2(0x1ee)))),_0x427fc7=null),_0x15551c++;}return _0x342d26;}function nn(_0x368455,_0xeedb6a,_0xe39a34){const _0xcb1d05=_0x255d;if(!_0xe39a34)return!0x1;const _0x4e67ee=_0x368455[_0xcb1d05(0x1dc)](_0xeedb6a),_0x3f848a=_0x368455[_0xcb1d05(0x1e6)](_0xe39a34);return _0x4e67ee[_0xcb1d05(0x1d4)](_0x3f848a);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1f99f7,_0x326dc2,_0x595d8c){const _0x3910ac=_0x255d;for(;_0x595d8c[_0x3910ac(0x1f3)];){const _0x253425=_0x595d8c[_0x3910ac(0x1c3)](0x0,0x64);_0x1f99f7[_0x3910ac(0x1c7)](()=>{const _0x246939=_0x3910ac;for(const _0x3bef5e of _0x253425)_0x3bef5e[_0x246939(0x1ef)]&&_0x326dc2[_0x246939(0x1de)](_0x3bef5e['id']);});}}
|