@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250706.0 → 0.0.0-nightly-20250709.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5d08(){const _0x1dd82b=['55frIAwO','1AnIMIW','128pMjElH','328299WQaXkw','isOfficialPlugin','63027TcdFJu','isPremiumPlugin','pluginName','238914XPwuDT','requires','89252dOPVAD','appendChild','TrackChangesPreview','4876380MAHuWb','50686sSqJvi','define','trackChanges.preview.renderFunction','editor','437843UGJayZ','add','previewFinalContent','config','commands'];_0x5d08=function(){return _0x1dd82b;};return _0x5d08();}const _0x1128bf=_0x599a;(function(_0x183157,_0x207691){const _0x5b0dc9=_0x599a,_0x1d6781=_0x183157();while(!![]){try{const _0x1e6544=parseInt(_0x5b0dc9(0xf5))/0x1*(parseInt(_0x5b0dc9(0xeb))/0x2)+parseInt(_0x5b0dc9(0xf7))/0x3+parseInt(_0x5b0dc9(0xe7))/0x4*(-parseInt(_0x5b0dc9(0xf4))/0x5)+-parseInt(_0x5b0dc9(0xe5))/0x6+-parseInt(_0x5b0dc9(0xef))/0x7+-parseInt(_0x5b0dc9(0xf6))/0x8*(parseInt(_0x5b0dc9(0xe2))/0x9)+parseInt(_0x5b0dc9(0xea))/0xa;if(_0x1e6544===_0x207691)break;else _0x1d6781['push'](_0x1d6781['shift']());}catch(_0x5b4f29){_0x1d6781['push'](_0x1d6781['shift']());}}}(_0x5d08,0x27afb));function _0x599a(_0xd0234b,_0x4152d4){const _0x5d08e1=_0x5d08();return _0x599a=function(_0x599a4b,_0x200729){_0x599a4b=_0x599a4b-0xe1;let _0x62e560=_0x5d08e1[_0x599a4b];return _0x62e560;},_0x599a(_0xd0234b,_0x4152d4);}import{Plugin as _0x562db2}from'ckeditor5/src/core.js';import{Dialog as _0x5bd5bd}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x196070}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x5256da}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x562db2{static get[_0x1128bf(0xe6)](){return[_0x196070,_0x5bd5bd];}static get[_0x1128bf(0xe4)](){const _0x49b739=_0x1128bf;return _0x49b739(0xe9);}static get[_0x1128bf(0xe1)](){return!0x0;}static get[_0x1128bf(0xe3)](){return!0x0;}constructor(_0x2e834c){const _0x2a04a6=_0x1128bf;super(_0x2e834c),_0x2e834c[_0x2a04a6(0xf3)][_0x2a04a6(0xf0)](_0x2a04a6(0xf1),new _0x5256da(this[_0x2a04a6(0xee)])),_0x2e834c[_0x2a04a6(0xf2)][_0x2a04a6(0xec)](_0x2a04a6(0xed),(_0x125548,_0x33da06)=>{const _0x1f42d6=_0x2a04a6;for(const _0x34902e of _0x33da06)_0x125548[_0x1f42d6(0xe8)](_0x34902e);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cb4bc=_0x5cf9;(function(_0x172fbf,_0x55bd6c){const _0x191e18=_0x5cf9,_0x562d8c=_0x172fbf();while(!![]){try{const _0x595a65=parseInt(_0x191e18(0xf9))/0x1+parseInt(_0x191e18(0xb9))/0x2*(-parseInt(_0x191e18(0x124))/0x3)+-parseInt(_0x191e18(0x127))/0x4+parseInt(_0x191e18(0x123))/0x5+-parseInt(_0x191e18(0x8e))/0x6+parseInt(_0x191e18(0xf5))/0x7*(parseInt(_0x191e18(0xb5))/0x8)+parseInt(_0x191e18(0xb0))/0x9;if(_0x595a65===_0x55bd6c)break;else _0x562d8c['push'](_0x562d8c['shift']());}catch(_0x4aa317){_0x562d8c['push'](_0x562d8c['shift']());}}}(_0x33ba,0x8d8f2));import{Plugin as _0x57a57f}from'ckeditor5/src/core.js';import{Collection as _0x165abe}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x48b06d}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5da97d,createDropdown as _0x487b3b,ListSeparatorView as _0x3d526a,MenuBarMenuView as _0xa27514,MenuBarMenuListView as _0x5bc66c,MenuBarMenuListItemView as _0x99bf61,MenuBarMenuListItemButtonView as _0x1e035e,SplitButtonView as _0x31f9cc,UIModel as _0x1dedf1}from'ckeditor5/src/ui.js';import{Users as _0x5b2fe0,getDateTimeFormatter as _0x392bb7,getAllMarkersDomElementsSorted as _0x2fda86}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x3f590d}from'./trackchangesediting.js';import{SuggestionController as _0x4738a8}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x58a489}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x82b21b}from'./ui/view/suggestionview.js';import{getTranslation as _0x154dfc}from'./utils/common-translations.js';function _0x33ba(){const _0x72efc5=['refreshSelectedViews','editor','comments.maxCommentsWhenCollapsed','mainView','unbind','_unbindEditors','buttonView','TrackChangesUI','previewFinalContent','arrowView','fire','source','execute','lowest','4627698RYJPEY','trackChangesLicenseKeyValid','_handleControllerBuffer','Preview\x20final\x20content','stopListening','EditorAnnotations','change:activeAnnotations','has','isDirty','CommentsRepository','trackChangesLicenseKeyUsageLimit','model','toMany','isMultiRange','licenseKey','_licenseKeyCheckInterval','Discard\x20all\x20selected\x20suggestions','items','getAnnotationForSuggestion','focus','trackChanges','componentFactory','getRanges','from','descriptionFactory','listenTo','evaluationLimit','invalid','getJoined','isInContent','trackChanges.SuggestionThreadView','_viewToController','domainLimit','type','949653LUMgry','comments.editorConfig','_annotationViews','menuitem','TrackChanges','3688YDsHfK','trackChangesLicenseKeyTrialLimit','getDescriptions','comments.maxCommentCharsWhenCollapsed','746XXyWlC','remove','value','clear','CommentView','createCommentThreadController','reduce','delegate','getAllAdjacentSuggestions','commands','view','SuggestionView','hasSuggestion','_destroyController','separator','actionView','comments.maxThreadTotalWeight','config','_refreshActiveMarkers','_createToolbarButton','getMarkers','SuggestionThreadView','delete','TrackChangesPreview','discardSelectedSuggestions','size','CommentsUI','length','trackChanges.disableComments','trackChangesLicenseKeyDomainLimit','plugins','push','trackChangesLicenseKeyInvalid','_suggestionToController','_showLicenseError','comments','commandName','escape','children','isPremiumPlugin','suggestion-','Annotations','filter','change:previous','panelView','discardAllSuggestions','isEnabled','registerAnnotation','head','acceptButton','descriptionParts','getByInnerView','acceptAllSuggestions','init','pluginName','_disableComments','keys','get','activeMarkers','_initializeController','12054AjtmVG','getSuggestion','usageLimit','Accept\x20all\x20selected\x20suggestions','553027BZEZJr','locale','requires','addSourceCollector','bind','define','trackChanges.SuggestionView','suggestionView','_createMenuBarMenu','menuBar:trackChanges','button','trialLimit','trackChangesLicenseKeyExpired','isOn','Discard\x20all\x20suggestions','getMarkerNames','acceptSelectedSuggestions','activeAnnotations','menu','Accept\x20all\x20suggestions','some','destroy','discardButton','getFirstRange','TrackChangesEditing','_addUIComponentsToFactory','trackChangesLicenseKeyEvaluationLimit','createAnnotationView','set','previous','suggestionUnloaded','commentThread','_bindAnnotationToEditors','createAnnotation','getSuggestionForAnnotation','values','expired','isOfficialPlugin','trackChangesLicenseKeyNotAllowed','innerView','editing','add','2321825JjdJmY','3747raYVij','_updateController','featureNotAllowed','399060elcnQk','Track\x20changes','addComment','addMany','suggestionLoaded','switchbutton','_handleSuggestionControllerDelayed','menuitemcheckbox','suggestionChanged','commentsListView'];_0x33ba=function(){return _0x72efc5;};return _0x33ba();}function _0x5cf9(_0x55263d,_0x457766){const _0x33bab5=_0x33ba();return _0x5cf9=function(_0x5cf9ce,_0x36fd69){_0x5cf9ce=_0x5cf9ce-0x7d;let _0x2d2d59=_0x33bab5[_0x5cf9ce];return _0x2d2d59;},_0x5cf9(_0x55263d,_0x457766);}export class TrackChangesUI extends _0x57a57f{[_0x1cb4bc(0x9c)];[_0x1cb4bc(0x9d)];[_0x1cb4bc(0xda)];[_0x1cb4bc(0xad)];[_0x1cb4bc(0xb2)];[_0x1cb4bc(0x90)];[_0x1cb4bc(0xf0)];static get[_0x1cb4bc(0xfb)](){const _0x20f219=_0x1cb4bc;return[_0x3f590d,_0x5b2fe0,_0x20f219(0x97),_0x20f219(0xe2),_0x20f219(0x93)];}static get[_0x1cb4bc(0xef)](){const _0x28f82d=_0x1cb4bc;return _0x28f82d(0x87);}static get[_0x1cb4bc(0x11e)](){return!0x0;}static get[_0x1cb4bc(0xe0)](){return!0x0;}constructor(_0x4ce4f0){const _0x5eecd5=_0x1cb4bc;super(_0x4ce4f0),this[_0x5eecd5(0xda)]=new Map(),this[_0x5eecd5(0xad)]=new Map(),this[_0x5eecd5(0xb2)]=new Map(),this[_0x5eecd5(0x90)]=new Map();const _0x4fa184=this[_0x5eecd5(0x81)][_0x5eecd5(0xca)];_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xac),_0x58a489),_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xff),_0x82b21b),_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xd5),!0x1),this[_0x5eecd5(0xf0)]=_0x4fa184[_0x5eecd5(0xf2)](_0x5eecd5(0xd5));}[_0x1cb4bc(0x12d)](_0x362310,_0x286f7f){const _0x51f7bf=_0x1cb4bc;0x0===this[_0x51f7bf(0x90)][_0x51f7bf(0xd2)]&&setTimeout(()=>{const _0x13a4e1=_0x51f7bf;for(const [_0x5194e9,_0x2bfb4f]of this[_0x13a4e1(0x90)]){const _0x3ede1a=this[_0x13a4e1(0xda)][_0x13a4e1(0x95)](_0x5194e9);_0x3ede1a||_0x2bfb4f?_0x3ede1a&&_0x2bfb4f&&this[_0x13a4e1(0xc6)](_0x5194e9):this[_0x13a4e1(0xf4)](_0x5194e9);}this[_0x13a4e1(0x90)][_0x13a4e1(0xbc)](),this[_0x13a4e1(0x81)][_0x13a4e1(0xd7)][_0x13a4e1(0xf2)](_0x13a4e1(0x93))[_0x13a4e1(0x80)](),this[_0x13a4e1(0xcb)]();},0xa),this[_0x51f7bf(0x90)][_0x51f7bf(0x115)](_0x362310,_0x286f7f);}[_0x1cb4bc(0xee)](){const _0x4a8a1e=_0x1cb4bc,_0xf3acad=this[_0x4a8a1e(0x81)],_0x3b444d=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x111)),_0x58f8a2=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0xe2)),_0x5107fc=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x93)),_0x5cb57a=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x97));this[_0x4a8a1e(0x112)](),_0x5107fc[_0x4a8a1e(0xfc)](()=>{const _0x3ae0a5=_0x4a8a1e,_0x2e574c=[];for(const [_0x114fd7,_0x1cdd26]of Array[_0x3ae0a5(0xa5)](this[_0x3ae0a5(0xda)])){const _0x3d80d2=_0x114fd7[_0x3ae0a5(0xc1)](),_0x57c7e3=[];for(const _0x398fa1 of _0x3d80d2){if(!_0x398fa1[_0x3ae0a5(0xab)])continue;if(_0x398fa1[_0x3ae0a5(0x9b)]){_0x57c7e3[_0x3ae0a5(0xd8)](..._0x398fa1[_0x3ae0a5(0xa4)]());continue;}const _0x1aa0bc=_0x398fa1[_0x3ae0a5(0x110)]();if(_0x57c7e3[_0x3ae0a5(0xd4)]>0x0){const _0x16975a=_0x57c7e3[0x0][_0x3ae0a5(0xaa)](_0x1aa0bc);if(_0x16975a){_0x57c7e3[0x0]=_0x16975a;continue;}}_0x57c7e3[_0x3ae0a5(0xd8)](_0x1aa0bc);}_0x2e574c[_0x3ae0a5(0xd8)]([_0x1cdd26[_0x3ae0a5(0xc3)],_0x57c7e3]);}return _0x2e574c;}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x12b),(_0x5abc34,_0x4aeef6)=>{const _0x7c4593=_0x4a8a1e;this[_0x7c4593(0xa7)](_0x4aeef6,_0x7c4593(0xe4),(_0x1e2909,_0x4a4c45,_0x432c72,_0x24c41)=>{const _0xd85a7c=_0x7c4593;_0x4aeef6[_0xd85a7c(0xab)]&&(null==_0x432c72?(this[_0xd85a7c(0x125)](_0x24c41[_0xd85a7c(0xe9)]),this[_0xd85a7c(0x12d)](_0x4aeef6,!0x1)):(this[_0xd85a7c(0x125)](_0x432c72[_0xd85a7c(0xe9)]),null==_0x24c41&&this[_0xd85a7c(0x12d)](_0x4aeef6,!0x0)));}),null!==_0x4aeef6[_0x7c4593(0x116)]?this[_0x7c4593(0x125)](_0x4aeef6[_0x7c4593(0xe9)]):this[_0x7c4593(0x12d)](_0x4aeef6,!0x1);}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x117),(_0x5ea474,_0x1ae098,_0x40f5e8)=>{const _0x54d4e6=_0x4a8a1e;this[_0x54d4e6(0x92)](_0x1ae098,_0x54d4e6(0xe4)),this[_0x54d4e6(0x90)][_0x54d4e6(0xcf)](_0x1ae098),this[_0x54d4e6(0xda)][_0x54d4e6(0x95)](_0x1ae098)&&this[_0x54d4e6(0xc6)](_0x1ae098),_0x40f5e8&&this[_0x54d4e6(0x125)](_0x40f5e8[_0x54d4e6(0xe9)]);}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x7e),(_0x553713,_0x4ac78d)=>{const _0x16214e=_0x4a8a1e;this[_0x16214e(0x125)](_0x4ac78d);}),this[_0x4a8a1e(0xa7)](_0x58f8a2,_0x4a8a1e(0x94),()=>{const _0x15613a=_0x4a8a1e;this[_0x15613a(0xcb)]();}),this[_0x4a8a1e(0xa7)](_0x5cb57a,_0x4a8a1e(0x129),(_0x5d9aca,{threadId:_0xd06c74,isFromAdapter:_0x20ce7d})=>{const _0x225603=_0x4a8a1e;if(_0x20ce7d||!_0x3b444d[_0x225603(0xc5)](_0xd06c74))return;const _0x42f996=_0x3b444d[_0x225603(0xf6)](_0xd06c74);this[_0x225603(0xda)][_0x225603(0xf2)](_0x42f996)[_0x225603(0xc3)][_0x225603(0x7f)][_0x225603(0xa1)](-0x1);},{'priority':_0x4a8a1e(0x8d)}),this[_0x4a8a1e(0x9c)]=this[_0x4a8a1e(0x81)][_0x4a8a1e(0xca)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x9c));const _0xf7bb81=this[_0x4a8a1e(0x81)];this[_0x4a8a1e(0x9d)]=setInterval(()=>{const _0x50a03e=_0x4a8a1e;let _0x57736b;for(const _0x50f923 in _0xf7bb81){const _0x292bd4=_0x50f923,_0x36a03d=_0xf7bb81[_0x292bd4];if(_0x50a03e(0x8f)==_0x36a03d||_0x50a03e(0xd9)==_0x36a03d||_0x50a03e(0x105)==_0x36a03d||_0x50a03e(0xd6)==_0x36a03d||_0x50a03e(0x11f)==_0x36a03d||_0x50a03e(0x113)==_0x36a03d||_0x50a03e(0xb6)==_0x36a03d||_0x50a03e(0x98)==_0x36a03d){delete _0xf7bb81[_0x292bd4],_0x57736b=_0x36a03d,clearInterval(this[_0x50a03e(0x9d)]),this[_0x50a03e(0x9d)]=void 0x0;break;}}_0x50a03e(0xd9)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xa9)),_0x50a03e(0x105)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x11d)),_0x50a03e(0xd6)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xae)),_0x50a03e(0x11f)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x126),_0x50a03e(0xb4)),_0x50a03e(0x113)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xa8)),_0x50a03e(0xb6)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x104)),_0x50a03e(0x98)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xf7));},0x3e8);}[_0x1cb4bc(0xa0)](_0x866fae){const _0x34a0e4=_0x1cb4bc,_0x473e0f=this[_0x34a0e4(0xda)][_0x34a0e4(0xf2)](_0x866fae);if(!_0x473e0f)return null;return this[_0x34a0e4(0x81)][_0x34a0e4(0xd7)][_0x34a0e4(0xf2)](_0x34a0e4(0xe2))[_0x34a0e4(0xec)](_0x473e0f[_0x34a0e4(0xc3)])||null;}[_0x1cb4bc(0x11b)](_0x7a89c0){const _0x33933b=_0x1cb4bc,_0x521ef4=this[_0x33933b(0xad)][_0x33933b(0xf2)](_0x7a89c0[_0x33933b(0x120)]);return _0x521ef4?_0x521ef4[_0x33933b(0x99)]:null;}[_0x1cb4bc(0xcb)](){const _0xeae03=_0x1cb4bc,_0x4f8519=this[_0xeae03(0x81)][_0xeae03(0xd7)][_0xeae03(0xf2)](_0xeae03(0xe2)),_0x586ef3=this[_0xeae03(0x81)][_0xeae03(0xd7)][_0xeae03(0xf2)](_0xeae03(0x111)),_0xca28b2=Array[_0xeae03(0xa5)](_0x4f8519[_0xeae03(0x10a)],_0x2d8532=>_0x2d8532[_0xeae03(0x120)])[_0xeae03(0xe3)](_0xfdf4f8=>this[_0xeae03(0xad)][_0xeae03(0x95)](_0xfdf4f8)),_0x41ace0=[];for(const _0x560431 of _0xca28b2){const _0x44a611=this[_0xeae03(0xad)][_0xeae03(0xf2)](_0x560431)[_0xeae03(0x99)][_0xeae03(0xc1)]();_0x41ace0[_0xeae03(0xd8)](..._0x44a611[_0xeae03(0xbf)]((_0x2600fa,_0x163d21)=>[..._0x2600fa,..._0x163d21[_0xeae03(0x108)]()],[]));}_0x586ef3[_0xeae03(0xf3)]=_0x41ace0;}[_0x1cb4bc(0x112)](){const _0x1c9466=_0x1cb4bc,_0x364ffc=this[_0x1c9466(0x81)],_0x20a902=_0x364ffc[_0x1c9466(0xfa)],_0x33dd82=_0x154dfc(_0x20a902,_0x1c9466(0x128)),_0x100e54=new _0x165abe([{'type':_0x1c9466(0x12c),'model':new _0x1dedf1({'withText':!0x0,'isToggleable':!0x0,'label':_0x33dd82,'commandName':_0x1c9466(0xa2),'role':_0x1c9466(0x7d)})},{'type':_0x1c9466(0xc7)},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x10c)),'commandName':_0x1c9466(0xed),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0xf8)),'commandName':_0x1c9466(0x109),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x107)),'commandName':_0x1c9466(0xe6),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x9e)),'commandName':_0x1c9466(0xd1),'role':_0x1c9466(0xb3)})}]);_0x364ffc[_0x1c9466(0xd7)][_0x1c9466(0x95)](_0x1c9466(0xd0))&&_0x100e54[_0x1c9466(0x12a)]([{'type':_0x1c9466(0xc7)},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x91)),'commandName':_0x1c9466(0x88),'role':_0x1c9466(0xb3)})}]);for(const _0x243c1d of _0x100e54)if(ke(_0x243c1d)){const _0x129b3c=_0x364ffc[_0x1c9466(0xc2)][_0x1c9466(0xf2)](_0x243c1d[_0x1c9466(0x99)][_0x1c9466(0xdd)]);_0x243c1d[_0x1c9466(0x99)][_0x1c9466(0xfd)](_0x1c9466(0x106),_0x1c9466(0xe7))['to'](_0x129b3c,_0x1c9466(0xbb),_0x1c9466(0xe7));}_0x364ffc['ui'][_0x1c9466(0xa3)][_0x1c9466(0x122)](_0x1c9466(0xa2),_0x57f6a4=>this[_0x1c9466(0xcc)](_0x57f6a4,_0x100e54,_0x33dd82)),_0x364ffc['ui'][_0x1c9466(0xa3)][_0x1c9466(0x122)](_0x1c9466(0x102),_0x499d2f=>this[_0x1c9466(0x101)](_0x499d2f,_0x100e54,_0x33dd82));}[_0x1cb4bc(0xcc)](_0x228a95,_0x208701,_0x54c309){const _0x21474f=_0x1cb4bc,_0x4154a0=_0x487b3b(_0x228a95,_0x31f9cc),_0x4e3e01=this[_0x21474f(0x81)][_0x21474f(0xc2)][_0x21474f(0xf2)](_0x21474f(0xa2));_0x4154a0[_0x21474f(0x86)][_0x21474f(0x115)]({'tooltip':_0x54c309,'label':_0x54c309,'icon':_0x48b06d}),_0x4154a0[_0x21474f(0x86)][_0x21474f(0xfd)](_0x21474f(0x106))['to'](_0x4e3e01,_0x21474f(0xbb)),_0x4154a0[_0x21474f(0x86)]['on'](_0x21474f(0x8c),()=>{const _0x26474b=_0x21474f;_0x4e3e01[_0x26474b(0x8c)](),this[_0x26474b(0x81)][_0x26474b(0x121)][_0x26474b(0xc3)][_0x26474b(0xa1)]();}),_0x5da97d(_0x4154a0,_0x208701,{'role':_0x21474f(0x10b)});const _0x55b64e=[];for(const _0x21d5c6 of _0x208701)ke(_0x21d5c6)&&_0x55b64e[_0x21474f(0xd8)](this[_0x21474f(0x81)][_0x21474f(0xc2)][_0x21474f(0xf2)](_0x21d5c6[_0x21474f(0x99)][_0x21474f(0xdd)]));const _0x5bf56f=_0x4154a0[_0x21474f(0x86)];return _0x5bf56f[_0x21474f(0xc8)][_0x21474f(0x84)](_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0x89)][_0x21474f(0x84)](_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0xc8)][_0x21474f(0xfd)](_0x21474f(0xe7))['to'](_0x4e3e01,_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0x89)][_0x21474f(0xfd)](_0x21474f(0xe7))[_0x21474f(0x9a)](_0x55b64e,_0x21474f(0xe7),(..._0x219057)=>_0x219057[_0x21474f(0x10d)](_0x5cd008=>_0x5cd008)),_0x4154a0['on'](_0x21474f(0x8c),_0x4d2f33=>{const _0x36adf3=_0x21474f;this[_0x36adf3(0x81)][_0x36adf3(0x8c)](_0x4d2f33[_0x36adf3(0x8b)][_0x36adf3(0xdd)]),this[_0x36adf3(0x81)][_0x36adf3(0x121)][_0x36adf3(0xc3)][_0x36adf3(0xa1)]();}),_0x4154a0;}[_0x1cb4bc(0x101)](_0x50c551,_0x39b5b8,_0x5babb0){const _0x15e054=_0x1cb4bc,_0x13d6a4=new _0xa27514(_0x50c551),_0x37d023=this[_0x15e054(0x81)][_0x15e054(0xc2)][_0x15e054(0xf2)](_0x15e054(0xa2));_0x13d6a4[_0x15e054(0x86)][_0x15e054(0x115)]({'label':_0x5babb0,'icon':_0x48b06d});const _0x25780b=new _0x5bc66c(_0x50c551);for(const _0x4a7cce of _0x39b5b8){if(_0x15e054(0xc7)==_0x4a7cce[_0x15e054(0xaf)]){_0x25780b[_0x15e054(0x9f)][_0x15e054(0x122)](new _0x3d526a(_0x50c551));continue;}const _0x1e9411=new _0x99bf61(_0x50c551,_0x13d6a4),_0x43d76d=new _0x1e035e(_0x50c551),_0xc6f9f4=_0x4a7cce[_0x15e054(0x99)];_0x43d76d[_0x15e054(0xfd)](...Object[_0x15e054(0xf1)](_0xc6f9f4))['to'](_0xc6f9f4),_0x43d76d[_0x15e054(0xc0)](_0x15e054(0x8c))['to'](_0x13d6a4),_0x43d76d['on'](_0x15e054(0x8c),()=>{const _0x49eebf=_0x15e054;this[_0x49eebf(0x81)][_0x49eebf(0x8c)](_0xc6f9f4[_0x49eebf(0xdd)]),this[_0x49eebf(0x81)][_0x49eebf(0x121)][_0x49eebf(0xc3)][_0x49eebf(0xa1)]();}),_0x1e9411[_0x15e054(0xdf)][_0x15e054(0x122)](_0x43d76d),_0x25780b[_0x15e054(0x9f)][_0x15e054(0x122)](_0x1e9411);}return _0x13d6a4[_0x15e054(0xfd)](_0x15e054(0xe7))['to'](_0x37d023,_0x15e054(0xe7)),_0x13d6a4[_0x15e054(0xe5)][_0x15e054(0xdf)][_0x15e054(0x122)](_0x25780b),_0x13d6a4;}[_0x1cb4bc(0xf4)](_0x4ffa31){const _0x52c5f0=_0x1cb4bc,_0x559246=this[_0x52c5f0(0x81)],_0x2c0394=_0x559246[_0x52c5f0(0xca)],_0x5b8a75=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0xe2)),_0x5cb833=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x97)),_0x2c9258=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x93)),_0x27ce45=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x5b2fe0)['me'],_0xd36e=_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xa2))[_0x52c5f0(0xce)],_0x2fbcb1=_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xa2))[_0x52c5f0(0xc4)],{CommentsListView:_0x49b79e,CommentThreadInputView:_0x277cc9}=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0xd3));let _0x188213,_0x2546f6,_0x14ba97;this[_0x52c5f0(0xb2)][_0x52c5f0(0x95)](_0x4ffa31['id'])?(_0x2546f6=this[_0x52c5f0(0xb2)][_0x52c5f0(0xf2)](_0x4ffa31['id']),_0x188213=_0x2546f6[_0x52c5f0(0x83)]):(_0x188213=new _0xd36e(_0x559246[_0x52c5f0(0xfa)],_0x4ffa31,_0x27ce45,{'disableComments':this[_0x52c5f0(0xf0)],'editorConfig':{..._0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xb1)),'licenseKey':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0x9c))},'maxCommentsWhenCollapsed':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0x82)),'maxThreadTotalWeight':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xc9)),'maxCommentCharsWhenCollapsed':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xb8)),'formatDateTime':_0x392bb7(_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xfa)),_0x559246[_0x52c5f0(0xfa)]),'CommentView':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xdc))[_0x52c5f0(0xbd)],'CommentsListView':_0x49b79e,'CommentThreadInputView':_0x277cc9,'SuggestionView':_0x2fbcb1}),_0x188213[_0x52c5f0(0x100)][_0x52c5f0(0xea)]['on'](_0x52c5f0(0x8c),()=>{const _0x5085e8=_0x52c5f0;_0x559246[_0x5085e8(0x121)][_0x5085e8(0xc3)][_0x5085e8(0xa1)]();}),_0x188213[_0x52c5f0(0x100)][_0x52c5f0(0x10f)]['on'](_0x52c5f0(0x8c),()=>{const _0x10ab21=_0x52c5f0;_0x559246[_0x10ab21(0x121)][_0x10ab21(0xc3)][_0x10ab21(0xa1)]();}),_0x2546f6=_0x5b8a75[_0x52c5f0(0x114)](this[_0x52c5f0(0x81)][_0x52c5f0(0xfa)],_0x188213),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0x96))['to'](_0x188213,_0x52c5f0(0x96)),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0xd4))['to'](_0x188213),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0xaf))['to'](_0x188213,_0x52c5f0(0xaf),_0x923ba7=>_0x52c5f0(0xe1)+_0x923ba7),_0x188213['on'](_0x52c5f0(0xde),()=>{const _0x49b53a=_0x52c5f0;_0x14ba97[_0x49b53a(0x8a)](_0x49b53a(0xde));}),this[_0x52c5f0(0xb2)][_0x52c5f0(0x115)](_0x4ffa31['id'],_0x2546f6));const _0x45a596=_0x5cb833[_0x52c5f0(0xbe)](_0x4ffa31[_0x52c5f0(0x118)],_0x188213),_0x9f05f2=new _0x4738a8(_0x559246,_0x4ffa31,_0x188213,_0x45a596),_0x25a911=_0x4ffa31[_0x52c5f0(0xc1)]()[_0x52c5f0(0xe3)](_0x22e477=>_0x22e477[_0x52c5f0(0xab)]);_0x188213[_0x52c5f0(0xeb)]=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x111))[_0x52c5f0(0xa6)][_0x52c5f0(0xb7)](_0x25a911),this[_0x52c5f0(0xda)][_0x52c5f0(0x115)](_0x4ffa31,_0x9f05f2),this[_0x52c5f0(0xad)][_0x52c5f0(0x115)](_0x188213,_0x9f05f2),_0x14ba97=_0x5b8a75[_0x52c5f0(0x11a)]({'view':_0x2546f6,'target':()=>{const _0x530f48=_0x52c5f0,_0x402f2f=[],_0x3883ee=_0x4ffa31[_0x530f48(0xc1)]()[_0x530f48(0xe3)](_0x492b24=>_0x492b24[_0x530f48(0xab)]);for(const _0x3f2b1a of _0x3883ee)_0x402f2f[_0x530f48(0xd8)](..._0x3f2b1a[_0x530f48(0xcd)]());return _0x2fda86(_0x559246[_0x530f48(0x121)],_0x402f2f);},'type':()=>_0x52c5f0(0xe1)+_0x9f05f2[_0x52c5f0(0xc3)][_0x52c5f0(0xaf)]}),_0x5cb833[_0x52c5f0(0x119)](_0x188213,_0x14ba97),_0x5b8a75[_0x52c5f0(0x122)](_0x14ba97),_0x2c9258[_0x52c5f0(0xe8)](_0x14ba97);}[_0x1cb4bc(0xc6)](_0x311998){const _0x565581=_0x1cb4bc,_0xf974ab=this[_0x565581(0x81)][_0x565581(0xd7)][_0x565581(0xf2)](_0x565581(0x97)),_0x3a0595=this[_0x565581(0x81)][_0x565581(0xd7)][_0x565581(0xf2)](_0x565581(0xe2)),_0x41167d=this[_0x565581(0xda)][_0x565581(0xf2)](_0x311998),_0x56afdf=_0x41167d[_0x565581(0xc3)],_0x26b0ab=_0x3a0595[_0x565581(0xec)](_0x56afdf);_0xf974ab[_0x565581(0x85)](_0x56afdf),_0x26b0ab&&_0x3a0595[_0x565581(0xba)](_0x26b0ab),this[_0x565581(0xda)][_0x565581(0xcf)](_0x311998),this[_0x565581(0xad)][_0x565581(0xcf)](_0x56afdf),_0x41167d[_0x565581(0x10e)]();}[_0x1cb4bc(0x125)](_0x6f1280){const _0x433444=_0x1cb4bc;if(!_0x6f1280[_0x433444(0xab)]||!this[_0x433444(0xda)][_0x433444(0x95)](_0x6f1280))return;const _0x3bad74=this[_0x433444(0x81)][_0x433444(0xd7)][_0x433444(0xf2)](_0x433444(0x111)),_0x3cee35=this[_0x433444(0xda)][_0x433444(0xf2)](_0x6f1280),_0x199278=_0x6f1280[_0x433444(0xc1)]();_0x3cee35[_0x433444(0xc3)][_0x433444(0xeb)]=_0x3bad74[_0x433444(0xa6)][_0x433444(0xb7)](_0x199278);}[_0x1cb4bc(0x10e)](){const _0x49f9d4=_0x1cb4bc;for(const _0x242c25 of this[_0x49f9d4(0xda)][_0x49f9d4(0xf1)]())this[_0x49f9d4(0xc6)](_0x242c25);for(const _0xea90a1 of this[_0x49f9d4(0xb2)][_0x49f9d4(0x11c)]())_0xea90a1[_0x49f9d4(0x83)][_0x49f9d4(0x10e)]();super[_0x49f9d4(0x10e)](),this[_0x49f9d4(0x9d)]&&clearInterval(this[_0x49f9d4(0x9d)]);}}function ke(_0x2dc96d){const _0x2245f7=_0x1cb4bc;return _0x2245f7(0x99)in _0x2dc96d;}
|
|
23
|
+
const _0x30eb9a=_0x4bfd;(function(_0x11560f,_0x490e05){const _0x48022f=_0x4bfd,_0x3c1fe1=_0x11560f();while(!![]){try{const _0x11c012=parseInt(_0x48022f(0xbd))/0x1+parseInt(_0x48022f(0xff))/0x2*(-parseInt(_0x48022f(0x100))/0x3)+-parseInt(_0x48022f(0xb6))/0x4+-parseInt(_0x48022f(0x128))/0x5*(parseInt(_0x48022f(0xe2))/0x6)+parseInt(_0x48022f(0x131))/0x7+parseInt(_0x48022f(0xd8))/0x8+parseInt(_0x48022f(0xdd))/0x9*(parseInt(_0x48022f(0xc5))/0xa);if(_0x11c012===_0x490e05)break;else _0x3c1fe1['push'](_0x3c1fe1['shift']());}catch(_0x17be9b){_0x3c1fe1['push'](_0x3c1fe1['shift']());}}}(_0x5d64,0x7875d));import{Plugin as _0x6ef387}from'ckeditor5/src/core.js';import{Collection as _0x2cded8}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x400e9c}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5477ab,createDropdown as _0x3abac7,ListSeparatorView as _0x44d0b3,MenuBarMenuView as _0x2b3111,MenuBarMenuListView as _0x5d4ab2,MenuBarMenuListItemView as _0x34c386,MenuBarMenuListItemButtonView as _0x278887,SplitButtonView as _0x1845b9,UIModel as _0x21cd33}from'ckeditor5/src/ui.js';import{Users as _0x34be65,getDateTimeFormatter as _0x9fe997,getAllMarkersDomElementsSorted as _0x509584}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5c9b10}from'./trackchangesediting.js';import{SuggestionController as _0x3ea0bd}from'./ui/suggestioncontroller.js';function _0x5d64(){const _0x44fc37=['keys','trackChangesLicenseKeyValid','previewFinalContent','editing','mainView','getDescriptions','refreshSelectedViews','getFirstRange','trackChangesLicenseKeyDomainLimit','view','getSuggestionForAnnotation','head','toMany','items','previous','destroy','execute','_showLicenseError','addComment','editor','delegate','isOfficialPlugin','define','activeAnnotations','isPremiumPlugin','comments','comments.maxCommentsWhenCollapsed','evaluationLimit','discardAllSuggestions','push','_destroyController','CommentView','componentFactory','5zDHLHh','_createToolbarButton','CommentsUI','menuitem','actionView','set','_handleControllerBuffer','suggestion-','add','2146032NMYBQO','discardButton','SuggestionThreadView','type','Accept\x20all\x20selected\x20suggestions','_disableComments','trackChanges.SuggestionView','arrowView','_refreshActiveMarkers','suggestionLoaded','isDirty','config','separator','isOn','isMultiRange','_bindAnnotationToEditors','innerView','from','commandName','createCommentThreadController','trackChanges.disableComments','stopListening','menuitemcheckbox','addMany','reduce','change:previous','suggestionChanged','change:activeAnnotations','descriptionFactory','trackChangesLicenseKeyTrialLimit','value','trackChangesLicenseKeyEvaluationLimit','TrackChangesEditing','commentThread','getMarkers','acceptButton','_annotationViews','descriptionParts','Annotations','trackChanges.SuggestionThreadView','EditorAnnotations','locale','CommentsRepository','plugins','size','licenseKey','acceptAllSuggestions','menuBar:trackChanges','model','Discard\x20all\x20selected\x20suggestions','TrackChangesUI','_addUIComponentsToFactory','TrackChangesPreview','activeMarkers','_unbindEditors','3856140naqMRr','switchbutton','requires','domainLimit','TrackChanges','buttonView','Preview\x20final\x20content','631499tHUFfJ','_viewToController','has','menu','trackChangesLicenseKeyUsageLimit','listenTo','focus','button','10aayEdJ','SuggestionView','some','createAnnotation','createAnnotationView','getRanges','registerAnnotation','fire','hasSuggestion','lowest','values','Track\x20changes','bind','Discard\x20all\x20suggestions','_updateController','comments.editorConfig','_handleSuggestionControllerDelayed','getSuggestion','getByInnerView','302192sjjZfW','length','usageLimit','commands','delete','18844533XXkPzG','trialLimit','unbind','filter','getAnnotationForSuggestion','4927062osqYKB','getAllAdjacentSuggestions','discardSelectedSuggestions','trackChanges','comments.maxThreadTotalWeight','init','isInContent','get','acceptSelectedSuggestions','remove','suggestionUnloaded','_suggestionToController','expired','suggestionView','children','source','Accept\x20all\x20suggestions','featureNotAllowed','_licenseKeyCheckInterval','_initializeController','pluginName','_createMenuBarMenu','clear','comments.maxCommentCharsWhenCollapsed','isEnabled','commentsListView','trackChangesLicenseKeyNotAllowed','panelView','addSourceCollector','23614fTdrUC','201YOeCbv','trackChangesLicenseKeyInvalid','getJoined','escape','getMarkerNames','trackChangesLicenseKeyExpired','invalid'];_0x5d64=function(){return _0x44fc37;};return _0x5d64();}import{SuggestionThreadView as _0x41f149}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x50316a}from'./ui/view/suggestionview.js';import{getTranslation as _0x205850}from'./utils/common-translations.js';function _0x4bfd(_0x1e48bb,_0x22eb55){const _0x5d6427=_0x5d64();return _0x4bfd=function(_0x4bfdcc,_0x323f5b){_0x4bfdcc=_0x4bfdcc-0xa7;let _0x101be7=_0x5d6427[_0x4bfdcc];return _0x101be7;},_0x4bfd(_0x1e48bb,_0x22eb55);}export class TrackChangesUI extends _0x6ef387{[_0x30eb9a(0xac)];[_0x30eb9a(0xf4)];[_0x30eb9a(0xed)];[_0x30eb9a(0xbe)];[_0x30eb9a(0x155)];[_0x30eb9a(0x12e)];[_0x30eb9a(0x136)];static get[_0x30eb9a(0xb8)](){const _0x25d9ae=_0x30eb9a;return[_0x5c9b10,_0x34be65,_0x25d9ae(0xa9),_0x25d9ae(0x157),_0x25d9ae(0xa7)];}static get[_0x30eb9a(0xf6)](){const _0x26f3b0=_0x30eb9a;return _0x26f3b0(0xb1);}static get[_0x30eb9a(0x11c)](){return!0x0;}static get[_0x30eb9a(0x11f)](){return!0x0;}constructor(_0x29bf7a){const _0x5bb246=_0x30eb9a;super(_0x29bf7a),this[_0x5bb246(0xed)]=new Map(),this[_0x5bb246(0xbe)]=new Map(),this[_0x5bb246(0x155)]=new Map(),this[_0x5bb246(0x12e)]=new Map();const _0x55112a=this[_0x5bb246(0x11a)][_0x5bb246(0x13c)];_0x55112a[_0x5bb246(0x11d)](_0x5bb246(0x158),_0x41f149),_0x55112a[_0x5bb246(0x11d)](_0x5bb246(0x137),_0x50316a),_0x55112a[_0x5bb246(0x11d)](_0x5bb246(0x145),!0x1),this[_0x5bb246(0x136)]=_0x55112a[_0x5bb246(0xe9)](_0x5bb246(0x145));}[_0x30eb9a(0xd5)](_0x56a837,_0x58cd6a){const _0x33d135=_0x30eb9a;0x0===this[_0x33d135(0x12e)][_0x33d135(0xab)]&&setTimeout(()=>{const _0x37ad06=_0x33d135;for(const [_0x27704f,_0x3b1a5f]of this[_0x37ad06(0x12e)]){const _0x2470d5=this[_0x37ad06(0xed)][_0x37ad06(0xbf)](_0x27704f);_0x2470d5||_0x3b1a5f?_0x2470d5&&_0x3b1a5f&&this[_0x37ad06(0x125)](_0x27704f):this[_0x37ad06(0xf5)](_0x27704f);}this[_0x37ad06(0x12e)][_0x37ad06(0xf8)](),this[_0x37ad06(0x11a)][_0x37ad06(0xaa)][_0x37ad06(0xe9)](_0x37ad06(0xa7))[_0x37ad06(0x10d)](),this[_0x37ad06(0x139)]();},0xa),this[_0x33d135(0x12e)][_0x33d135(0x12d)](_0x56a837,_0x58cd6a);}[_0x30eb9a(0xe7)](){const _0x160f31=_0x30eb9a,_0xf8f4cc=this[_0x160f31(0x11a)],_0x4f5545=_0xf8f4cc[_0x160f31(0xaa)][_0x160f31(0xe9)](_0x160f31(0x151)),_0x5c02c4=_0xf8f4cc[_0x160f31(0xaa)][_0x160f31(0xe9)](_0x160f31(0x157)),_0x27a11a=_0xf8f4cc[_0x160f31(0xaa)][_0x160f31(0xe9)](_0x160f31(0xa7)),_0xa4feb4=_0xf8f4cc[_0x160f31(0xaa)][_0x160f31(0xe9)](_0x160f31(0xa9));this[_0x160f31(0xb2)](),_0x27a11a[_0x160f31(0xfe)](()=>{const _0x19401d=_0x160f31,_0x3d1838=[];for(const [_0xcab888,_0x5668ca]of Array[_0x19401d(0x142)](this[_0x19401d(0xed)])){const _0x5281e7=_0xcab888[_0x19401d(0xe3)](),_0x5cf00b=[];for(const _0x3cd0b0 of _0x5281e7){if(!_0x3cd0b0[_0x19401d(0xe8)])continue;if(_0x3cd0b0[_0x19401d(0x13f)]){_0x5cf00b[_0x19401d(0x124)](..._0x3cd0b0[_0x19401d(0xca)]());continue;}const _0x229e66=_0x3cd0b0[_0x19401d(0x10e)]();if(_0x5cf00b[_0x19401d(0xd9)]>0x0){const _0x4c8752=_0x5cf00b[0x0][_0x19401d(0x102)](_0x229e66);if(_0x4c8752){_0x5cf00b[0x0]=_0x4c8752;continue;}}_0x5cf00b[_0x19401d(0x124)](_0x229e66);}_0x3d1838[_0x19401d(0x124)]([_0x5668ca[_0x19401d(0x110)],_0x5cf00b]);}return _0x3d1838;}),this[_0x160f31(0xc2)](_0x4f5545,_0x160f31(0x13a),(_0x3f6fa3,_0xdd923a)=>{const _0x429d52=_0x160f31;this[_0x429d52(0xc2)](_0xdd923a,_0x429d52(0x14a),(_0x1f5c94,_0x1daae7,_0x108a85,_0x909bca)=>{const _0x3ee2b6=_0x429d52;_0xdd923a[_0x3ee2b6(0xe8)]&&(null==_0x108a85?(this[_0x3ee2b6(0xd3)](_0x909bca[_0x3ee2b6(0x112)]),this[_0x3ee2b6(0xd5)](_0xdd923a,!0x1)):(this[_0x3ee2b6(0xd3)](_0x108a85[_0x3ee2b6(0x112)]),null==_0x909bca&&this[_0x3ee2b6(0xd5)](_0xdd923a,!0x0)));}),null!==_0xdd923a[_0x429d52(0x115)]?this[_0x429d52(0xd3)](_0xdd923a[_0x429d52(0x112)]):this[_0x429d52(0xd5)](_0xdd923a,!0x1);}),this[_0x160f31(0xc2)](_0x4f5545,_0x160f31(0xec),(_0x2cdfe0,_0x1a801f,_0x2d4b29)=>{const _0x3bb33e=_0x160f31;this[_0x3bb33e(0x146)](_0x1a801f,_0x3bb33e(0x14a)),this[_0x3bb33e(0x12e)][_0x3bb33e(0xdc)](_0x1a801f),this[_0x3bb33e(0xed)][_0x3bb33e(0xbf)](_0x1a801f)&&this[_0x3bb33e(0x125)](_0x1a801f),_0x2d4b29&&this[_0x3bb33e(0xd3)](_0x2d4b29[_0x3bb33e(0x112)]);}),this[_0x160f31(0xc2)](_0x4f5545,_0x160f31(0x14b),(_0x17d5be,_0x599ae0)=>{const _0x2e6dd0=_0x160f31;this[_0x2e6dd0(0xd3)](_0x599ae0);}),this[_0x160f31(0xc2)](_0x5c02c4,_0x160f31(0x14c),()=>{const _0x2b1e20=_0x160f31;this[_0x2b1e20(0x139)]();}),this[_0x160f31(0xc2)](_0xa4feb4,_0x160f31(0x119),(_0x2480cc,{threadId:_0x1d708a,isFromAdapter:_0x53c997})=>{const _0x7200d2=_0x160f31;if(_0x53c997||!_0x4f5545[_0x7200d2(0xcd)](_0x1d708a))return;const _0x1e95c9=_0x4f5545[_0x7200d2(0xd6)](_0x1d708a);this[_0x7200d2(0xed)][_0x7200d2(0xe9)](_0x1e95c9)[_0x7200d2(0x110)][_0x7200d2(0xfb)][_0x7200d2(0xc3)](-0x1);},{'priority':_0x160f31(0xce)}),this[_0x160f31(0xac)]=this[_0x160f31(0x11a)][_0x160f31(0x13c)][_0x160f31(0xe9)](_0x160f31(0xac));const _0x4d9494=this[_0x160f31(0x11a)];this[_0x160f31(0xf4)]=setInterval(()=>{const _0x2feb3e=_0x160f31;let _0xfa0940;for(const _0x83f14f in _0x4d9494){const _0x1c40e0=_0x83f14f,_0x55bf65=_0x4d9494[_0x1c40e0];if(_0x2feb3e(0x108)==_0x55bf65||_0x2feb3e(0x101)==_0x55bf65||_0x2feb3e(0x105)==_0x55bf65||_0x2feb3e(0x10f)==_0x55bf65||_0x2feb3e(0xfc)==_0x55bf65||_0x2feb3e(0x150)==_0x55bf65||_0x2feb3e(0x14e)==_0x55bf65||_0x2feb3e(0xc1)==_0x55bf65){delete _0x4d9494[_0x1c40e0],_0xfa0940=_0x55bf65,clearInterval(this[_0x2feb3e(0xf4)]),this[_0x2feb3e(0xf4)]=void 0x0;break;}}_0x2feb3e(0x101)==_0xfa0940&&_0x4d9494[_0x2feb3e(0x118)](_0x2feb3e(0x106)),_0x2feb3e(0x105)==_0xfa0940&&_0x4d9494[_0x2feb3e(0x118)](_0x2feb3e(0xee)),_0x2feb3e(0x10f)==_0xfa0940&&_0x4d9494[_0x2feb3e(0x118)](_0x2feb3e(0xb9)),_0x2feb3e(0xfc)==_0xfa0940&&_0x4d9494[_0x2feb3e(0x118)](_0x2feb3e(0xf3),_0x2feb3e(0xba)),_0x2feb3e(0x150)==_0xfa0940&&_0x4d9494[_0x2feb3e(0x118)](_0x2feb3e(0x122)),_0x2feb3e(0x14e)==_0xfa0940&&_0x4d9494[_0x2feb3e(0x118)](_0x2feb3e(0xde)),_0x2feb3e(0xc1)==_0xfa0940&&_0x4d9494[_0x2feb3e(0x118)](_0x2feb3e(0xda));},0x3e8);}[_0x30eb9a(0xe1)](_0x1c8922){const _0x48c0b3=_0x30eb9a,_0x298399=this[_0x48c0b3(0xed)][_0x48c0b3(0xe9)](_0x1c8922);if(!_0x298399)return null;return this[_0x48c0b3(0x11a)][_0x48c0b3(0xaa)][_0x48c0b3(0xe9)](_0x48c0b3(0x157))[_0x48c0b3(0xd7)](_0x298399[_0x48c0b3(0x110)])||null;}[_0x30eb9a(0x111)](_0x2300c7){const _0x175408=_0x30eb9a,_0x7037a5=this[_0x175408(0xbe)][_0x175408(0xe9)](_0x2300c7[_0x175408(0x141)]);return _0x7037a5?_0x7037a5[_0x175408(0xaf)]:null;}[_0x30eb9a(0x139)](){const _0x39a755=_0x30eb9a,_0x4b31a=this[_0x39a755(0x11a)][_0x39a755(0xaa)][_0x39a755(0xe9)](_0x39a755(0x157)),_0x3cc88d=this[_0x39a755(0x11a)][_0x39a755(0xaa)][_0x39a755(0xe9)](_0x39a755(0x151)),_0x281c6a=Array[_0x39a755(0x142)](_0x4b31a[_0x39a755(0x11e)],_0x3b1c97=>_0x3b1c97[_0x39a755(0x141)])[_0x39a755(0xe0)](_0x408ca0=>this[_0x39a755(0xbe)][_0x39a755(0xbf)](_0x408ca0)),_0x3aae54=[];for(const _0x4e5f82 of _0x281c6a){const _0x51c221=this[_0x39a755(0xbe)][_0x39a755(0xe9)](_0x4e5f82)[_0x39a755(0xaf)][_0x39a755(0xe3)]();_0x3aae54[_0x39a755(0x124)](..._0x51c221[_0x39a755(0x149)]((_0x4caec6,_0x24d338)=>[..._0x4caec6,..._0x24d338[_0x39a755(0x104)]()],[]));}_0x3cc88d[_0x39a755(0xb4)]=_0x3aae54;}[_0x30eb9a(0xb2)](){const _0xaf80f4=_0x30eb9a,_0x91099c=this[_0xaf80f4(0x11a)],_0x1d54ff=_0x91099c[_0xaf80f4(0xa8)],_0x43e9c6=_0x205850(_0x1d54ff,_0xaf80f4(0xd0)),_0x599395=new _0x2cded8([{'type':_0xaf80f4(0xb7),'model':new _0x21cd33({'withText':!0x0,'isToggleable':!0x0,'label':_0x43e9c6,'commandName':_0xaf80f4(0xe5),'role':_0xaf80f4(0x147)})},{'type':_0xaf80f4(0x13d)},{'type':_0xaf80f4(0xc4),'model':new _0x21cd33({'withText':!0x0,'label':_0x205850(_0x1d54ff,_0xaf80f4(0xf2)),'commandName':_0xaf80f4(0xad),'role':_0xaf80f4(0x12b)})},{'type':_0xaf80f4(0xc4),'model':new _0x21cd33({'withText':!0x0,'label':_0x205850(_0x1d54ff,_0xaf80f4(0x135)),'commandName':_0xaf80f4(0xea),'role':_0xaf80f4(0x12b)})},{'type':_0xaf80f4(0xc4),'model':new _0x21cd33({'withText':!0x0,'label':_0x205850(_0x1d54ff,_0xaf80f4(0xd2)),'commandName':_0xaf80f4(0x123),'role':_0xaf80f4(0x12b)})},{'type':_0xaf80f4(0xc4),'model':new _0x21cd33({'withText':!0x0,'label':_0x205850(_0x1d54ff,_0xaf80f4(0xb0)),'commandName':_0xaf80f4(0xe4),'role':_0xaf80f4(0x12b)})}]);_0x91099c[_0xaf80f4(0xaa)][_0xaf80f4(0xbf)](_0xaf80f4(0xb3))&&_0x599395[_0xaf80f4(0x148)]([{'type':_0xaf80f4(0x13d)},{'type':_0xaf80f4(0xc4),'model':new _0x21cd33({'withText':!0x0,'label':_0x205850(_0x1d54ff,_0xaf80f4(0xbc)),'commandName':_0xaf80f4(0x109),'role':_0xaf80f4(0x12b)})}]);for(const _0x408a1e of _0x599395)if(ke(_0x408a1e)){const _0x54f065=_0x91099c[_0xaf80f4(0xdb)][_0xaf80f4(0xe9)](_0x408a1e[_0xaf80f4(0xaf)][_0xaf80f4(0x143)]);_0x408a1e[_0xaf80f4(0xaf)][_0xaf80f4(0xd1)](_0xaf80f4(0x13e),_0xaf80f4(0xfa))['to'](_0x54f065,_0xaf80f4(0x14f),_0xaf80f4(0xfa));}_0x91099c['ui'][_0xaf80f4(0x127)][_0xaf80f4(0x130)](_0xaf80f4(0xe5),_0x555a3d=>this[_0xaf80f4(0x129)](_0x555a3d,_0x599395,_0x43e9c6)),_0x91099c['ui'][_0xaf80f4(0x127)][_0xaf80f4(0x130)](_0xaf80f4(0xae),_0x415326=>this[_0xaf80f4(0xf7)](_0x415326,_0x599395,_0x43e9c6));}[_0x30eb9a(0x129)](_0x358733,_0x2664e8,_0x42d276){const _0x308f2e=_0x30eb9a,_0x26f12b=_0x3abac7(_0x358733,_0x1845b9),_0x58ef2e=this[_0x308f2e(0x11a)][_0x308f2e(0xdb)][_0x308f2e(0xe9)](_0x308f2e(0xe5));_0x26f12b[_0x308f2e(0xbb)][_0x308f2e(0x12d)]({'tooltip':_0x42d276,'label':_0x42d276,'icon':_0x400e9c}),_0x26f12b[_0x308f2e(0xbb)][_0x308f2e(0xd1)](_0x308f2e(0x13e))['to'](_0x58ef2e,_0x308f2e(0x14f)),_0x26f12b[_0x308f2e(0xbb)]['on'](_0x308f2e(0x117),()=>{const _0x23b58b=_0x308f2e;_0x58ef2e[_0x23b58b(0x117)](),this[_0x23b58b(0x11a)][_0x23b58b(0x10a)][_0x23b58b(0x110)][_0x23b58b(0xc3)]();}),_0x5477ab(_0x26f12b,_0x2664e8,{'role':_0x308f2e(0xc0)});const _0xf48f66=[];for(const _0x49e04b of _0x2664e8)ke(_0x49e04b)&&_0xf48f66[_0x308f2e(0x124)](this[_0x308f2e(0x11a)][_0x308f2e(0xdb)][_0x308f2e(0xe9)](_0x49e04b[_0x308f2e(0xaf)][_0x308f2e(0x143)]));const _0x34e28f=_0x26f12b[_0x308f2e(0xbb)];return _0x34e28f[_0x308f2e(0x12c)][_0x308f2e(0xdf)](_0x308f2e(0xfa)),_0x34e28f[_0x308f2e(0x138)][_0x308f2e(0xdf)](_0x308f2e(0xfa)),_0x34e28f[_0x308f2e(0x12c)][_0x308f2e(0xd1)](_0x308f2e(0xfa))['to'](_0x58ef2e,_0x308f2e(0xfa)),_0x34e28f[_0x308f2e(0x138)][_0x308f2e(0xd1)](_0x308f2e(0xfa))[_0x308f2e(0x113)](_0xf48f66,_0x308f2e(0xfa),(..._0x113c5f)=>_0x113c5f[_0x308f2e(0xc7)](_0x198f47=>_0x198f47)),_0x26f12b['on'](_0x308f2e(0x117),_0x335a09=>{const _0x35df85=_0x308f2e;this[_0x35df85(0x11a)][_0x35df85(0x117)](_0x335a09[_0x35df85(0xf1)][_0x35df85(0x143)]),this[_0x35df85(0x11a)][_0x35df85(0x10a)][_0x35df85(0x110)][_0x35df85(0xc3)]();}),_0x26f12b;}[_0x30eb9a(0xf7)](_0x372833,_0x23369d,_0x47e32b){const _0xd1909c=_0x30eb9a,_0x3ae43f=new _0x2b3111(_0x372833),_0x53193b=this[_0xd1909c(0x11a)][_0xd1909c(0xdb)][_0xd1909c(0xe9)](_0xd1909c(0xe5));_0x3ae43f[_0xd1909c(0xbb)][_0xd1909c(0x12d)]({'label':_0x47e32b,'icon':_0x400e9c});const _0x2054bd=new _0x5d4ab2(_0x372833);for(const _0x24aa11 of _0x23369d){if(_0xd1909c(0x13d)==_0x24aa11[_0xd1909c(0x134)]){_0x2054bd[_0xd1909c(0x114)][_0xd1909c(0x130)](new _0x44d0b3(_0x372833));continue;}const _0x51cd66=new _0x34c386(_0x372833,_0x3ae43f),_0x389d49=new _0x278887(_0x372833),_0x5c7f66=_0x24aa11[_0xd1909c(0xaf)];_0x389d49[_0xd1909c(0xd1)](...Object[_0xd1909c(0x107)](_0x5c7f66))['to'](_0x5c7f66),_0x389d49[_0xd1909c(0x11b)](_0xd1909c(0x117))['to'](_0x3ae43f),_0x389d49['on'](_0xd1909c(0x117),()=>{const _0x5756be=_0xd1909c;this[_0x5756be(0x11a)][_0x5756be(0x117)](_0x5c7f66[_0x5756be(0x143)]),this[_0x5756be(0x11a)][_0x5756be(0x10a)][_0x5756be(0x110)][_0x5756be(0xc3)]();}),_0x51cd66[_0xd1909c(0xf0)][_0xd1909c(0x130)](_0x389d49),_0x2054bd[_0xd1909c(0x114)][_0xd1909c(0x130)](_0x51cd66);}return _0x3ae43f[_0xd1909c(0xd1)](_0xd1909c(0xfa))['to'](_0x53193b,_0xd1909c(0xfa)),_0x3ae43f[_0xd1909c(0xfd)][_0xd1909c(0xf0)][_0xd1909c(0x130)](_0x2054bd),_0x3ae43f;}[_0x30eb9a(0xf5)](_0x1b8c0a){const _0x49ee0b=_0x30eb9a,_0x1919f9=this[_0x49ee0b(0x11a)],_0x5c355a=_0x1919f9[_0x49ee0b(0x13c)],_0x45e585=_0x1919f9[_0x49ee0b(0xaa)][_0x49ee0b(0xe9)](_0x49ee0b(0x157)),_0x403bea=_0x1919f9[_0x49ee0b(0xaa)][_0x49ee0b(0xe9)](_0x49ee0b(0xa9)),_0x4a7007=_0x1919f9[_0x49ee0b(0xaa)][_0x49ee0b(0xe9)](_0x49ee0b(0xa7)),_0x2fd121=_0x1919f9[_0x49ee0b(0xaa)][_0x49ee0b(0xe9)](_0x34be65)['me'],_0x204fee=_0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0xe5))[_0x49ee0b(0x133)],_0x568b98=_0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0xe5))[_0x49ee0b(0xc6)],{CommentsListView:_0x4d96f2,CommentThreadInputView:_0x284beb}=_0x1919f9[_0x49ee0b(0xaa)][_0x49ee0b(0xe9)](_0x49ee0b(0x12a));let _0x204f2a,_0x17335c,_0x31bdd9;this[_0x49ee0b(0x155)][_0x49ee0b(0xbf)](_0x1b8c0a['id'])?(_0x17335c=this[_0x49ee0b(0x155)][_0x49ee0b(0xe9)](_0x1b8c0a['id']),_0x204f2a=_0x17335c[_0x49ee0b(0x10b)]):(_0x204f2a=new _0x204fee(_0x1919f9[_0x49ee0b(0xa8)],_0x1b8c0a,_0x2fd121,{'disableComments':this[_0x49ee0b(0x136)],'editorConfig':{..._0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0xd4)),'licenseKey':_0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0xac))},'maxCommentsWhenCollapsed':_0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0x121)),'maxThreadTotalWeight':_0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0xe6)),'maxCommentCharsWhenCollapsed':_0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0xf9)),'formatDateTime':_0x9fe997(_0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0xa8)),_0x1919f9[_0x49ee0b(0xa8)]),'CommentView':_0x5c355a[_0x49ee0b(0xe9)](_0x49ee0b(0x120))[_0x49ee0b(0x126)],'CommentsListView':_0x4d96f2,'CommentThreadInputView':_0x284beb,'SuggestionView':_0x568b98}),_0x204f2a[_0x49ee0b(0xef)][_0x49ee0b(0x154)]['on'](_0x49ee0b(0x117),()=>{const _0x244051=_0x49ee0b;_0x1919f9[_0x244051(0x10a)][_0x244051(0x110)][_0x244051(0xc3)]();}),_0x204f2a[_0x49ee0b(0xef)][_0x49ee0b(0x132)]['on'](_0x49ee0b(0x117),()=>{const _0x1f9aca=_0x49ee0b;_0x1919f9[_0x1f9aca(0x10a)][_0x1f9aca(0x110)][_0x1f9aca(0xc3)]();}),_0x17335c=_0x45e585[_0x49ee0b(0xc9)](this[_0x49ee0b(0x11a)][_0x49ee0b(0xa8)],_0x204f2a),_0x17335c[_0x49ee0b(0xd1)](_0x49ee0b(0x13b))['to'](_0x204f2a,_0x49ee0b(0x13b)),_0x17335c[_0x49ee0b(0xd1)](_0x49ee0b(0xd9))['to'](_0x204f2a),_0x17335c[_0x49ee0b(0xd1)](_0x49ee0b(0x134))['to'](_0x204f2a,_0x49ee0b(0x134),_0x5dd350=>_0x49ee0b(0x12f)+_0x5dd350),_0x204f2a['on'](_0x49ee0b(0x103),()=>{const _0x172e74=_0x49ee0b;_0x31bdd9[_0x172e74(0xcc)](_0x172e74(0x103));}),this[_0x49ee0b(0x155)][_0x49ee0b(0x12d)](_0x1b8c0a['id'],_0x17335c));const _0x4b10e8=_0x403bea[_0x49ee0b(0x144)](_0x1b8c0a[_0x49ee0b(0x152)],_0x204f2a),_0x36f39b=new _0x3ea0bd(_0x1919f9,_0x1b8c0a,_0x204f2a,_0x4b10e8),_0x31a8c8=_0x1b8c0a[_0x49ee0b(0xe3)]()[_0x49ee0b(0xe0)](_0x3bb496=>_0x3bb496[_0x49ee0b(0xe8)]);_0x204f2a[_0x49ee0b(0x156)]=_0x1919f9[_0x49ee0b(0xaa)][_0x49ee0b(0xe9)](_0x49ee0b(0x151))[_0x49ee0b(0x14d)][_0x49ee0b(0x10c)](_0x31a8c8),this[_0x49ee0b(0xed)][_0x49ee0b(0x12d)](_0x1b8c0a,_0x36f39b),this[_0x49ee0b(0xbe)][_0x49ee0b(0x12d)](_0x204f2a,_0x36f39b),_0x31bdd9=_0x45e585[_0x49ee0b(0xc8)]({'view':_0x17335c,'target':()=>{const _0x4d31ac=_0x49ee0b,_0x32ac5b=[],_0x5e7aec=_0x1b8c0a[_0x4d31ac(0xe3)]()[_0x4d31ac(0xe0)](_0x47c281=>_0x47c281[_0x4d31ac(0xe8)]);for(const _0x37d76d of _0x5e7aec)_0x32ac5b[_0x4d31ac(0x124)](..._0x37d76d[_0x4d31ac(0x153)]());return _0x509584(_0x1919f9[_0x4d31ac(0x10a)],_0x32ac5b);},'type':()=>_0x49ee0b(0x12f)+_0x36f39b[_0x49ee0b(0x110)][_0x49ee0b(0x134)]}),_0x403bea[_0x49ee0b(0x140)](_0x204f2a,_0x31bdd9),_0x45e585[_0x49ee0b(0x130)](_0x31bdd9),_0x4a7007[_0x49ee0b(0xcb)](_0x31bdd9);}[_0x30eb9a(0x125)](_0x360cc4){const _0x2c7fe3=_0x30eb9a,_0x5262e7=this[_0x2c7fe3(0x11a)][_0x2c7fe3(0xaa)][_0x2c7fe3(0xe9)](_0x2c7fe3(0xa9)),_0x501e51=this[_0x2c7fe3(0x11a)][_0x2c7fe3(0xaa)][_0x2c7fe3(0xe9)](_0x2c7fe3(0x157)),_0x3e8530=this[_0x2c7fe3(0xed)][_0x2c7fe3(0xe9)](_0x360cc4),_0x73e7be=_0x3e8530[_0x2c7fe3(0x110)],_0x20f1b1=_0x501e51[_0x2c7fe3(0xd7)](_0x73e7be);_0x5262e7[_0x2c7fe3(0xb5)](_0x73e7be),_0x20f1b1&&_0x501e51[_0x2c7fe3(0xeb)](_0x20f1b1),this[_0x2c7fe3(0xed)][_0x2c7fe3(0xdc)](_0x360cc4),this[_0x2c7fe3(0xbe)][_0x2c7fe3(0xdc)](_0x73e7be),_0x3e8530[_0x2c7fe3(0x116)]();}[_0x30eb9a(0xd3)](_0x1db0e3){const _0x724fba=_0x30eb9a;if(!_0x1db0e3[_0x724fba(0xe8)]||!this[_0x724fba(0xed)][_0x724fba(0xbf)](_0x1db0e3))return;const _0x2af952=this[_0x724fba(0x11a)][_0x724fba(0xaa)][_0x724fba(0xe9)](_0x724fba(0x151)),_0x308605=this[_0x724fba(0xed)][_0x724fba(0xe9)](_0x1db0e3),_0x54cc9f=_0x1db0e3[_0x724fba(0xe3)]();_0x308605[_0x724fba(0x110)][_0x724fba(0x156)]=_0x2af952[_0x724fba(0x14d)][_0x724fba(0x10c)](_0x54cc9f);}[_0x30eb9a(0x116)](){const _0x2dd46f=_0x30eb9a;for(const _0x197334 of this[_0x2dd46f(0xed)][_0x2dd46f(0x107)]())this[_0x2dd46f(0x125)](_0x197334);for(const _0x4844e4 of this[_0x2dd46f(0x155)][_0x2dd46f(0xcf)]())_0x4844e4[_0x2dd46f(0x10b)][_0x2dd46f(0x116)]();super[_0x2dd46f(0x116)](),this[_0x2dd46f(0xf4)]&&clearInterval(this[_0x2dd46f(0xf4)]);}}function ke(_0x4c45a6){const _0x906dd=_0x30eb9a;return _0x906dd(0xaf)in _0x4c45a6;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2917d3=_0x5e2a;function _0x5e2a(_0x34a576,_0x5649c1){const _0x312605=_0x3126();return _0x5e2a=function(_0x5e2a8a,_0xf0625c){_0x5e2a8a=_0x5e2a8a-0x170;let _0x4fc7d5=_0x312605[_0x5e2a8a];return _0x4fc7d5;},_0x5e2a(_0x34a576,_0x5649c1);}(function(_0x5659b9,_0x3bb007){const _0x53f062=_0x5e2a,_0x3d27a2=_0x5659b9();while(!![]){try{const _0x1de5a4=parseInt(_0x53f062(0x198))/0x1*(-parseInt(_0x53f062(0x177))/0x2)+-parseInt(_0x53f062(0x172))/0x3+parseInt(_0x53f062(0x170))/0x4+-parseInt(_0x53f062(0x174))/0x5+parseInt(_0x53f062(0x175))/0x6+parseInt(_0x53f062(0x179))/0x7*(-parseInt(_0x53f062(0x197))/0x8)+-parseInt(_0x53f062(0x187))/0x9*(-parseInt(_0x53f062(0x186))/0xa);if(_0x1de5a4===_0x3bb007)break;else _0x3d27a2['push'](_0x3d27a2['shift']());}catch(_0x354c93){_0x3d27a2['push'](_0x3d27a2['shift']());}}}(_0x3126,0x43fa7));import{ObservableMixin as _0x36475e}from'ckeditor5/src/utils.js';import{getTranslation as _0x387cfc}from'../utils/common-translations.js';function _0x3126(){const _0x24a9c4=['listenTo','PendingActions','bind','get','plugins','commentThreadController','canEditAt','isEnabled','_discardCommand','execute','commands','view','10pKIUqs','10036557xcGUlp','_removePendingAction','stopListening','_pendingAction','destroy','getRanges','isDirty','change:isDirty','model','_editor','acceptSuggestion','PENDING_ACTION_SUGGESTION','add','_acceptCommand','unbind','_setPendingAction','344312WCzGFj','1501vAcjvA','remove','833204DMkuSS','locale','1139547OmSCim','discardSuggestion','120780AWtwQq','1738098TyARiX','canDiscard','724Xtbjxf','canAccept','63VyfEZV'];_0x3126=function(){return _0x24a9c4;};return _0x3126();}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x36475e(){[_0x2917d3(0x18f)];[_0x2917d3(0x185)];[_0x2917d3(0x17f)];[_0x2917d3(0x190)];[_0x2917d3(0x194)];[_0x2917d3(0x182)];[_0x2917d3(0x18a)];constructor(_0x2c519d,_0x4acb34,_0x542765,_0x1d0cd5){const _0x257248=_0x2917d3;super(),this[_0x257248(0x18f)]=_0x4acb34,this[_0x257248(0x185)]=_0x542765,this[_0x257248(0x17f)]=_0x1d0cd5,this[_0x257248(0x190)]=_0x2c519d,this[_0x257248(0x194)]=_0x2c519d[_0x257248(0x184)][_0x257248(0x17d)](_0x257248(0x191)),this[_0x257248(0x182)]=_0x2c519d[_0x257248(0x184)][_0x257248(0x17d)](_0x257248(0x173)),this[_0x257248(0x185)][_0x257248(0x17c)](_0x257248(0x181))['to'](this[_0x257248(0x194)],this[_0x257248(0x182)],(_0x282104,_0x4137c3)=>_0x282104||_0x4137c3),this[_0x257248(0x185)][_0x257248(0x17c)](_0x257248(0x178))['to'](this[_0x257248(0x194)],_0x257248(0x181),_0x163258=>_0x163258&&this[_0x257248(0x190)][_0x257248(0x18f)][_0x257248(0x180)](_0x4acb34[_0x257248(0x18c)]())),this[_0x257248(0x185)][_0x257248(0x17c)](_0x257248(0x176))['to'](this[_0x257248(0x182)],_0x257248(0x181),_0x1bb418=>_0x1bb418&&this[_0x257248(0x190)][_0x257248(0x18f)][_0x257248(0x180)](_0x4acb34[_0x257248(0x18c)]())),this[_0x257248(0x18a)]=null,_0x542765[_0x257248(0x18d)]&&this[_0x257248(0x196)](),this[_0x257248(0x17a)](_0x542765,_0x257248(0x191),()=>this[_0x257248(0x191)]()),this[_0x257248(0x17a)](_0x542765,_0x257248(0x173),()=>this[_0x257248(0x173)]()),this[_0x257248(0x17a)](_0x542765,_0x257248(0x18e),()=>{const _0x527fd2=_0x257248;_0x542765[_0x527fd2(0x18d)]?this[_0x527fd2(0x196)]():this[_0x527fd2(0x188)]();});}[_0x2917d3(0x191)](){const _0x4b5e33=_0x2917d3;this[_0x4b5e33(0x194)][_0x4b5e33(0x183)](this[_0x4b5e33(0x18f)]['id']);}[_0x2917d3(0x173)](){const _0x409fb5=_0x2917d3;this[_0x409fb5(0x182)][_0x409fb5(0x183)](this[_0x409fb5(0x18f)]['id']);}[_0x2917d3(0x18b)](){const _0x17bd12=_0x2917d3;this[_0x17bd12(0x185)][_0x17bd12(0x195)](_0x17bd12(0x181)),this[_0x17bd12(0x185)][_0x17bd12(0x195)](_0x17bd12(0x178)),this[_0x17bd12(0x185)][_0x17bd12(0x195)](_0x17bd12(0x176)),this[_0x17bd12(0x189)](),this[_0x17bd12(0x17f)][_0x17bd12(0x18b)](),this[_0x17bd12(0x18a)]&&this[_0x17bd12(0x188)]();}[_0x2917d3(0x196)](){const _0x5bbcdb=_0x2917d3,_0x2800a5=_0x387cfc(this[_0x5bbcdb(0x190)][_0x5bbcdb(0x171)],_0x5bbcdb(0x192));this[_0x5bbcdb(0x18a)]=this[_0x5bbcdb(0x190)][_0x5bbcdb(0x17e)][_0x5bbcdb(0x17d)](_0x5bbcdb(0x17b))[_0x5bbcdb(0x193)](_0x2800a5);}[_0x2917d3(0x188)](){const _0x2217cc=_0x2917d3;null!==this[_0x2217cc(0x18a)]&&this[_0x2217cc(0x190)][_0x2217cc(0x17e)][_0x2217cc(0x17d)](_0x2217cc(0x17b))[_0x2217cc(0x199)](this[_0x2217cc(0x18a)]),this[_0x2217cc(0x18a)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x35bdc5=_0x320e;function _0x39fc(){const _0x3a4579=['body','parseFromString','955595OQcezT','target','keystrokes','CommentView','shift+tab','set','disableComments','focus','ariaLabel','map','_model','_config','editor','addComment','textContent','canDiscard','name','tab','editorConfig','focusables','isEnabled','destroy','_createCommentViews','isActive','385443kXeZje','_createCommentThreadInputView','155446ypdVel','commentThread','content','143253haNxsv','4bXyEFD','formatDateTime','submit','fire','270032HmPrBC','433392bQHlnr','setData','_localUser','isReadOnly','387090hdTgKb','updateComment','delegate','ariaDescriptionView','text/html','author','bind','focusCycler','value','commentsListView','element','render','commentThreadInputView','length','showInput','descriptionParts','focusTracker','canAccept','21VpexKJ','isDirty','join','locale','130CpLHRm','removeComment','commentInputView','cancel','disabledSubmit','SUGGESTION_THREAD_ARIA_LABEL','assign','SUGGESTION_THREAD_DESCRIPTION','authoredAt','hasDirtyComment'];_0x39fc=function(){return _0x3a4579;};return _0x39fc();}(function(_0x1f0c8a,_0x10dac1){const _0x47157e=_0x320e,_0x4fc08d=_0x1f0c8a();while(!![]){try{const _0x3797b0=-parseInt(_0x47157e(0xca))/0x1+parseInt(_0x47157e(0x8a))/0x2+-parseInt(_0x47157e(0xc8))/0x3+-parseInt(_0x47157e(0xce))/0x4*(parseInt(_0x47157e(0xb0))/0x5)+parseInt(_0x47157e(0x8e))/0x6+-parseInt(_0x47157e(0xa0))/0x7*(-parseInt(_0x47157e(0x89))/0x8)+-parseInt(_0x47157e(0xcd))/0x9*(-parseInt(_0x47157e(0xa4))/0xa);if(_0x3797b0===_0x10dac1)break;else _0x4fc08d['push'](_0x4fc08d['shift']());}catch(_0x52981c){_0x4fc08d['push'](_0x4fc08d['shift']());}}}(_0x39fc,0x1beac));import{FocusCycler as _0x3c6a4a,View as _0x2063ab,ViewCollection as _0x5cb675}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1f282d,KeystrokeHandler as _0x50499b}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x459dbc,setupThreadKeyboardNavigation as _0x29d168}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x107c29}from'../../utils/common-translations.js';import{renderDescription as _0x8da1d8}from'../../utils/utils.js';function _0x320e(_0x142a22,_0x155260){const _0x39fc47=_0x39fc();return _0x320e=function(_0x320ed7,_0x1dae92){_0x320ed7=_0x320ed7-0x89;let _0x25090d=_0x39fc47[_0x320ed7];return _0x25090d;},_0x320e(_0x142a22,_0x155260);}export class BaseSuggestionThreadView extends _0x2063ab{[_0x35bdc5(0x97)];[_0x35bdc5(0x9a)];[_0x35bdc5(0x91)];[_0x35bdc5(0xc3)];[_0x35bdc5(0x9e)];[_0x35bdc5(0xb2)];[_0x35bdc5(0x95)];[_0x35bdc5(0xba)];[_0x35bdc5(0x8c)];[_0x35bdc5(0xbb)];constructor(_0x226320,_0x21b2cb,_0x150344,_0x5696dd){const _0x993aeb=_0x35bdc5;super(_0x226320),this[_0x993aeb(0x97)]=null,this[_0x993aeb(0x9a)]=null,this[_0x993aeb(0x91)]=new _0x459dbc(_0x226320,_0x107c29(_0x226320,_0x993aeb(0xab))),this[_0x993aeb(0xb5)](_0x993aeb(0xc7),!0x1),this[_0x993aeb(0xb5)](_0x993aeb(0xac),_0x21b2cb[_0x993aeb(0xac)]),this[_0x993aeb(0x94)](_0x993aeb(0xac))['to'](_0x21b2cb),this[_0x993aeb(0xb5)](_0x993aeb(0x9d),[]),this[_0x993aeb(0xb5)](_0x993aeb(0xa1),!0x1),this[_0x993aeb(0xb5)](_0x993aeb(0xc4),!0x1),this[_0x993aeb(0xb5)](_0x993aeb(0x9f),!0x1),this[_0x993aeb(0xb5)](_0x993aeb(0xbf),!0x1),this[_0x993aeb(0x94)](_0x993aeb(0xb8))['to'](this,_0x993aeb(0x9b),_0x21b2cb,_0x993aeb(0xac),this,_0x993aeb(0x9d),(_0x2e505c,_0x56b4be,_0x33a062)=>{const _0x39a90b=_0x993aeb,_0xede79e=_0x33a062[_0x39a90b(0xb9)](_0x5a15a3=>_0x8da1d8(_0x5a15a3[_0x39a90b(0xcc)]))[_0x39a90b(0xa2)]('.\x20')+'.';return _0x107c29(this[_0x39a90b(0xa3)],_0x39a90b(0xa9),[_0x2e505c-0x1,_0x21b2cb[_0x39a90b(0x93)][_0x39a90b(0xc0)],_0x56b4be?_0x5696dd[_0x39a90b(0xcf)](_0x56b4be):'',new DOMParser()[_0x39a90b(0xaf)](_0xede79e,_0x39a90b(0x92))[_0x39a90b(0xae)][_0x39a90b(0xbe)]]);}),this[_0x993aeb(0xc3)]=new _0x5cb675(),this[_0x993aeb(0x9e)]=new _0x1f282d(),this[_0x993aeb(0xb2)]=new _0x50499b(),this[_0x993aeb(0x95)]=new _0x3c6a4a({'focusables':this[_0x993aeb(0xc3)],'focusTracker':this[_0x993aeb(0x9e)],'keystrokeHandler':this[_0x993aeb(0xb2)],'keystrokeHandlerOptions':{'filter':_0x5b6da2=>_0x5b6da2[_0x993aeb(0xb1)]!==this[_0x993aeb(0x98)]},'actions':{'focusPrevious':_0x993aeb(0xb4),'focusNext':_0x993aeb(0xc1)}}),this[_0x993aeb(0xba)]=_0x21b2cb,this[_0x993aeb(0x8c)]=_0x150344,this[_0x993aeb(0xbb)]=_0x5696dd,_0x5696dd[_0x993aeb(0xb6)]?this[_0x993aeb(0xb5)](_0x993aeb(0x9b),0x1):this[_0x993aeb(0xc6)]();}[_0x35bdc5(0x99)](){const _0x4c778d=_0x35bdc5;super[_0x4c778d(0x99)](),_0x29d168(this,this[_0x4c778d(0xc3)]);}[_0x35bdc5(0xb7)](){const _0x5f3a54=_0x35bdc5;this[_0x5f3a54(0x98)][_0x5f3a54(0xb7)]();}[_0x35bdc5(0xc5)](){const _0x4c8b46=_0x35bdc5;this[_0x4c8b46(0x97)]&&this[_0x4c8b46(0x97)][_0x4c8b46(0xc5)](),this[_0x4c8b46(0x9a)]&&this[_0x4c8b46(0x9a)][_0x4c8b46(0xc5)](),super[_0x4c8b46(0xc5)]();}[_0x35bdc5(0xc6)](){const _0x5cc8af=_0x35bdc5,{CommentsListView:_0x50ab58}=this[_0x5cc8af(0xbb)];this[_0x5cc8af(0x97)]=new _0x50ab58(this[_0x5cc8af(0xa3)],this[_0x5cc8af(0xba)][_0x5cc8af(0xcb)],Object[_0x5cc8af(0xaa)]({'CommentView':this[_0x5cc8af(0xbb)][_0x5cc8af(0xb3)]},this[_0x5cc8af(0xbb)])),this[_0x5cc8af(0x97)][_0x5cc8af(0x90)](_0x5cc8af(0xa5))['to'](this),this[_0x5cc8af(0x97)][_0x5cc8af(0x90)](_0x5cc8af(0x8f))['to'](this),this[_0x5cc8af(0x97)][_0x5cc8af(0x94)](_0x5cc8af(0xc7))['to'](this),this[_0x5cc8af(0xb5)](_0x5cc8af(0x9b),this[_0x5cc8af(0x97)][_0x5cc8af(0x9b)]+0x1),this[_0x5cc8af(0x94)](_0x5cc8af(0x9b))['to'](this[_0x5cc8af(0x97)],_0x5cc8af(0x9b),_0x5a5a9f=>_0x5a5a9f+0x1),this[_0x5cc8af(0x9a)]=this[_0x5cc8af(0xc9)](),this['on'](_0x5cc8af(0xa5),()=>this[_0x5cc8af(0xb7)]()),this[_0x5cc8af(0x94)](_0x5cc8af(0xa1))['to'](this[_0x5cc8af(0x97)],_0x5cc8af(0xad),this[_0x5cc8af(0x9a)][_0x5cc8af(0xa6)],_0x5cc8af(0x96),(_0x2819f2,_0x3104b1)=>_0x2819f2||!!_0x3104b1);}[_0x35bdc5(0xc9)](){const _0x3011cb=_0x35bdc5,{CommentThreadInputView:_0x45afbb}=this[_0x3011cb(0xbb)],_0xbce9df=new _0x45afbb(this[_0x3011cb(0xa3)],this[_0x3011cb(0x8c)],this[_0x3011cb(0xbb)][_0x3011cb(0xc2)]),_0x43f44a=_0xbce9df[_0x3011cb(0xa6)];return _0xbce9df[_0x3011cb(0x94)](_0x3011cb(0x9c))['to'](this,_0x3011cb(0xc7),this[_0x3011cb(0xba)][_0x3011cb(0xcb)],_0x3011cb(0x8d),_0x43f44a,_0x3011cb(0x96),(_0x699b63,_0x56c4a4,_0x44296e)=>!!_0x44296e||_0x699b63&&!_0x56c4a4),_0x43f44a['on'](_0x3011cb(0xd0),(_0x313d16,_0x412934)=>{const _0x3398cb=_0x3011cb;this[_0x3398cb(0xd1)](_0x3398cb(0xbd),_0x412934),_0x43f44a[_0x3398cb(0xbc)][_0x3398cb(0x8b)]('');}),_0x43f44a['on'](_0x3011cb(0xa7),()=>this[_0x3011cb(0xb7)]()),_0x43f44a[_0x3011cb(0x94)](_0x3011cb(0xa8))['to'](this[_0x3011cb(0xba)][_0x3011cb(0xcb)],_0x3011cb(0x8d)),_0xbce9df;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5036(_0x31b6a0,_0x32fce1){const _0x2ff126=_0x2ff1();return _0x5036=function(_0x5036d1,_0x504247){_0x5036d1=_0x5036d1-0x6c;let _0x484ee8=_0x2ff126[_0x5036d1];return _0x484ee8;},_0x5036(_0x31b6a0,_0x32fce1);}const _0x23226b=_0x5036;(function(_0x188050,_0x2e903a){const _0x37d699=_0x5036,_0x3f9313=_0x188050();while(!![]){try{const _0xa356fb=parseInt(_0x37d699(0x8e))/0x1*(parseInt(_0x37d699(0x87))/0x2)+parseInt(_0x37d699(0x7b))/0x3+-parseInt(_0x37d699(0x85))/0x4+parseInt(_0x37d699(0x9b))/0x5+parseInt(_0x37d699(0x9f))/0x6+parseInt(_0x37d699(0x7f))/0x7*(parseInt(_0x37d699(0x6c))/0x8)+-parseInt(_0x37d699(0x86))/0x9*(parseInt(_0x37d699(0xa1))/0xa);if(_0xa356fb===_0x2e903a)break;else _0x3f9313['push'](_0x3f9313['shift']());}catch(_0x34eb1a){_0x3f9313['push'](_0x3f9313['shift']());}}}(_0x2ff1,0x69290));import{BaseSuggestionThreadView as _0x294334}from'./basesuggestionthreadview.js';import{trimHtml as _0x49df9c}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5dca16}from'../../utils/utils.js';export class SuggestionThreadView extends _0x294334{[_0x23226b(0x7a)];[_0x23226b(0x8f)];constructor(_0x1e3ee6,_0xb36442,_0x33e64d,_0x66d5d6){const _0x4ffc6c=_0x23226b;super(_0x1e3ee6,_0xb36442,_0x33e64d,_0x66d5d6),this[_0x4ffc6c(0x83)](_0x4ffc6c(0x98),''),this[_0x4ffc6c(0x8c)](_0x4ffc6c(0x98))['to'](this,_0x4ffc6c(0x9c),_0x3d3a9d=>_0x3d3a9d&&_0x3d3a9d[0x0]?_0x3d3a9d[0x0][_0x4ffc6c(0x98)]:''),this[_0x4ffc6c(0x8c)](_0x4ffc6c(0x7c))['to'](this,_0x4ffc6c(0x9c),this,_0x4ffc6c(0x8b),(_0x54e051,_0x55eaee)=>{const _0x5549fe=_0x4ffc6c;let _0xb37305='';for(const _0x28ebff of _0x54e051)_0xb37305+=_0x5549fe(0xa0)+_0x5dca16(_0x28ebff[_0x5549fe(0x75)],_0x28ebff[_0x5549fe(0x81)])+_0x5549fe(0xa3);return _0x55eaee?_0xb37305:_0x49df9c(_0xb37305,{'limit':0x8c});}),this[_0x4ffc6c(0x8f)]=null,this[_0x4ffc6c(0x7a)]=new _0x66d5d6[(_0x4ffc6c(0x96))](_0x1e3ee6,_0xb36442,{'formatDateTime':_0x66d5d6[_0x4ffc6c(0x91)]}),this[_0x4ffc6c(0x7a)][_0x4ffc6c(0x8c)](_0x4ffc6c(0x7c))['to'](this),this[_0x4ffc6c(0x7a)][_0x4ffc6c(0x6d)](_0x4ffc6c(0xa2),_0x4ffc6c(0x72))['to'](this),this[_0x4ffc6c(0x7a)][_0x4ffc6c(0x6e)][_0x4ffc6c(0x8c)](_0x4ffc6c(0x70))['to'](this,_0x4ffc6c(0x99)),this[_0x4ffc6c(0x7a)][_0x4ffc6c(0x92)][_0x4ffc6c(0x8c)](_0x4ffc6c(0x70))['to'](this,_0x4ffc6c(0x90)),this[_0x4ffc6c(0x77)][_0x4ffc6c(0x8d)](this[_0x4ffc6c(0x7a)]),this[_0x4ffc6c(0x94)]&&this[_0x4ffc6c(0x77)][_0x4ffc6c(0x8d)](this[_0x4ffc6c(0x94)]),this[_0x4ffc6c(0x97)]&&this[_0x4ffc6c(0x77)][_0x4ffc6c(0x8d)](this[_0x4ffc6c(0x97)]),this[_0x4ffc6c(0x79)](this[_0x4ffc6c(0x9e)]());}[_0x23226b(0x9e)](){const _0x58a072=_0x23226b,_0x37cff2=this[_0x58a072(0xa4)],_0x4414b2=[this[_0x58a072(0x7a)]];return this[_0x58a072(0x94)]&&_0x4414b2[_0x58a072(0x9d)](this[_0x58a072(0x94)]),this[_0x58a072(0x97)]&&_0x4414b2[_0x58a072(0x9d)](this[_0x58a072(0x97)]),_0x4414b2[_0x58a072(0x9d)](this[_0x58a072(0x7e)]),{'tag':_0x58a072(0x88),'attributes':{'class':['ck',_0x58a072(0x78),_0x58a072(0x84),_0x37cff2['if'](_0x58a072(0x8b),_0x58a072(0x8a)),_0x37cff2['to'](_0x58a072(0x98),_0x5dedd7=>_0x58a072(0x82)+_0x5dedd7),this[_0x58a072(0x89)][_0x58a072(0x80)]&&_0x58a072(0x7d)],'data-suggestion-id':this[_0x58a072(0x93)]['id'],'data-thread-id':this[_0x58a072(0x93)][_0x58a072(0x73)]['id'],'data-author-id':this[_0x58a072(0x93)][_0x58a072(0x71)]['id'],'tabindex':0x0,'role':_0x58a072(0x9a),'aria-label':_0x37cff2['to'](_0x58a072(0x76)),'aria-describedby':this[_0x58a072(0x7e)]['id']},'children':_0x4414b2};}[_0x23226b(0x6f)](){const _0x499af0=_0x23226b;super[_0x499af0(0x6f)](),this[_0x499af0(0x94)]&&(this[_0x499af0(0x94)][_0x499af0(0x6d)](_0x499af0(0x74))['to'](this),this[_0x499af0(0x94)][_0x499af0(0x6d)](_0x499af0(0x95))['to'](this)),this[_0x499af0(0x97)]&&(this[_0x499af0(0x97)][_0x499af0(0x6d)](_0x499af0(0x74))['to'](this),this[_0x499af0(0x97)][_0x499af0(0x6d)](_0x499af0(0x95))['to'](this));}}function _0x2ff1(){const _0x24d7dd=['setTemplate','suggestionView','1587276WmOTMq','description','ck-suggestion--disabled-comments','ariaDescriptionView','7DvSALV','disableComments','color','ck-suggestion-','set','ck-suggestion-wrapper','1366928rCTywt','9873kYgBth','2342hsqyBJ','div','_config','ck-suggestion-wrapper--active','isActive','bind','add','172wEHRIr','_descriptionElement','canDiscard','formatDateTime','discardButton','_model','commentsListView','editorDestroyed','SuggestionView','commentThreadInputView','type','canAccept','listitem','2176380sCoPOo','descriptionParts','push','getTemplate','2971728CFijBH','<p>','14980KtAUtu','acceptSuggestion','</p>','bindTemplate','6037648clodXs','delegate','acceptButton','render','isEnabled','author','discardSuggestion','commentThread','editorReady','content','ariaLabel','focusables','ck-rounded-corners'];_0x2ff1=function(){return _0x24d7dd;};return _0x2ff1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b5899=_0x4093;function _0x4093(_0x4b7892,_0x11b6d4){const _0x5abb63=_0x5abb();return _0x4093=function(_0x4093ca,_0x15c5b7){_0x4093ca=_0x4093ca-0x17b;let _0x469c52=_0x5abb63[_0x4093ca];return _0x469c52;},_0x4093(_0x4b7892,_0x11b6d4);}(function(_0x5160e2,_0x2fc932){const _0x113f56=_0x4093,_0x555dc0=_0x5160e2();while(!![]){try{const _0x2ab921=-parseInt(_0x113f56(0x181))/0x1*(parseInt(_0x113f56(0x18b))/0x2)+parseInt(_0x113f56(0x1cd))/0x3*(-parseInt(_0x113f56(0x198))/0x4)+-parseInt(_0x113f56(0x19d))/0x5*(parseInt(_0x113f56(0x19f))/0x6)+-parseInt(_0x113f56(0x1d4))/0x7+parseInt(_0x113f56(0x17f))/0x8*(parseInt(_0x113f56(0x191))/0x9)+parseInt(_0x113f56(0x1c8))/0xa+parseInt(_0x113f56(0x1ab))/0xb;if(_0x2ab921===_0x2fc932)break;else _0x555dc0['push'](_0x555dc0['shift']());}catch(_0x178e37){_0x555dc0['push'](_0x555dc0['shift']());}}}(_0x5abb,0xb7638));import{FocusTracker as _0x5af9a3,KeystrokeHandler as _0x2e0b72}from'ckeditor5/src/utils.js';import{View as _0x4e3ad7,ViewCollection as _0x31aac8,FocusCycler as _0x5dfe21}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x23f538,UserView as _0x57ac91}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x2c80be,IconCheck as _0x23e06b}from'ckeditor5/src/icons.js';function _0x5abb(){const _0x18f59a=['ck-annotation__user','focus','_setupKeyboardNavigation','3kmGBWs','EXTERNAL_SUGGESTION','element','formatDateTime','fire','.ck-annotation__content-wrapper','ck-suggestion__info-name','6605445qJFbJs','ck-suggestion__main','EXTERNAL_IMPORT_WORD_AVATAR','focusables','div','837624FRRQdQ','execute','401183UktOna','extendTemplate','ck-suggestion--discard','isExternal','ck-comment__external','_createButton','change:description','authoredAt','focusTracker','setTemplate','2BpyhFc','focusFirst','ck-annotation__info-name','innerHTML','ck-annotation__content-wrapper','acceptSuggestion','27lkjRXi','listenTo','ck-annotation__main','set','locale','tab','getTemplate','1347644qSGYbA','ck-annotation__info','ck-suggestion','description','ck-suggestion__info','5OFVRHr','esc','7040478DHLtDH','importWord','discardSuggestion','Accept\x20suggestion','userView','getExternalSuggestionNote','EXTERNAL_AVATAR','add','ck-suggestion__actions','ck-annotation__actions','creator','_config','34558205nVhJgi','ck-annotation__info-time','@external','discardButton','bind','attributes','name','span','_model','ck-suggestion--accept','enter','render','source','push','acceptButton','keystrokes','presentation','ck-comment__info-time','getUserViewNotificationText','target','querySelector','Discard\x20suggestion','time','shift+tab','focusCycler','author','ck-suggestion__user','ck-annotation','bindTemplate','1505380DUgDQm','EXTERNAL_IMPORT_WORD_SUGGESTION'];_0x5abb=function(){return _0x18f59a;};return _0x5abb();}import{getTranslation as _0x5e955c}from'../../utils/common-translations.js';export class SuggestionView extends _0x4e3ad7{[_0x1b5899(0x1a3)];[_0x1b5899(0x1b9)];[_0x1b5899(0x1ae)];[_0x1b5899(0x17d)];[_0x1b5899(0x189)];[_0x1b5899(0x1ba)];[_0x1b5899(0x1c3)];[_0x1b5899(0x1b3)];[_0x1b5899(0x1aa)];constructor(_0x19af1a,_0x56a479,_0x2e43b4){const _0x309289=_0x1b5899;super(_0x19af1a),this[_0x309289(0x1b3)]=_0x56a479,this[_0x309289(0x1aa)]=_0x2e43b4,this[_0x309289(0x194)](_0x309289(0x19b),''),this[_0x309289(0x1af)](_0x309289(0x188))['to'](_0x56a479),this[_0x309289(0x1b9)]=this[_0x309289(0x186)](_0x5e955c(_0x19af1a,_0x309289(0x1a2)),_0x23e06b,_0x309289(0x1b4),_0x309289(0x190),'sw'),this[_0x309289(0x1ae)]=this[_0x309289(0x186)](_0x5e955c(_0x19af1a,_0x309289(0x1c0)),_0x2c80be,_0x309289(0x183),_0x309289(0x1a1),'sw'),this[_0x309289(0x1a3)]=new _0x57ac91(_0x19af1a,_0x56a479[_0x309289(0x1c4)],this[_0x309289(0x1bd)]()),this[_0x309289(0x1a3)][_0x309289(0x182)]({'attributes':{'class':[_0x309289(0x1c5),_0x309289(0x1ca)],'aria-hidden':!0x0}}),this[_0x309289(0x17d)]=new _0x31aac8([this[_0x309289(0x1b9)],this[_0x309289(0x1ae)]]),this[_0x309289(0x189)]=new _0x5af9a3(),this[_0x309289(0x1ba)]=new _0x2e0b72(),this[_0x309289(0x1c3)]=new _0x5dfe21({'focusables':this[_0x309289(0x17d)],'focusTracker':this[_0x309289(0x189)],'keystrokeHandler':this[_0x309289(0x1ba)],'actions':{'focusPrevious':_0x309289(0x1c2),'focusNext':_0x309289(0x196)},'keystrokeHandlerOptions':{'filter':_0xf00ccd=>_0xf00ccd[_0x309289(0x1be)]!==this[_0x309289(0x1cf)]}}),this[_0x309289(0x18a)](this[_0x309289(0x197)]());}[_0x1b5899(0x1b6)](){const _0x2adc98=_0x1b5899;super[_0x2adc98(0x1b6)]();const _0x5698e8=this[_0x2adc98(0x1cf)][_0x2adc98(0x1bf)](_0x2adc98(0x1d2));_0x5698e8[_0x2adc98(0x18e)]=this[_0x2adc98(0x19b)],this['on'](_0x2adc98(0x187),(_0x1fb66c,_0x16421f,_0x5caf11)=>{const _0x3287cd=_0x2adc98;_0x5698e8[_0x3287cd(0x18e)]=_0x5caf11;}),this[_0x2adc98(0x1cc)]();}[_0x1b5899(0x197)](){const _0x20ca91=_0x1b5899,_0x56b744=this[_0x20ca91(0x1c7)],_0x1bf94f=[{'tag':_0x20ca91(0x17e),'attributes':{'class':[_0x20ca91(0x19c),_0x20ca91(0x199)]},'children':[{'tag':_0x20ca91(0x1b2),'children':[{'text':this[_0x20ca91(0x1a3)][_0x20ca91(0x1b1)]}],'attributes':{'class':[_0x20ca91(0x1d3),_0x20ca91(0x18d)],'data-cke-tooltip-text':this[_0x20ca91(0x1a3)][_0x20ca91(0x1b1)]}},{'tag':_0x20ca91(0x1c1),'attributes':{'datetime':_0x56b744['to'](_0x20ca91(0x188)),'class':[_0x20ca91(0x1bc),_0x20ca91(0x1ac)]},'children':[{'text':_0x56b744['to'](_0x20ca91(0x188),_0x4a7fdc=>this[_0x20ca91(0x1aa)][_0x20ca91(0x1d0)](_0x4a7fdc))}]}]},{'tag':_0x20ca91(0x17e),'attributes':{'class':[_0x20ca91(0x1a7),_0x20ca91(0x1a8)]},'children':[this[_0x20ca91(0x1b9)],this[_0x20ca91(0x1ae)]]},{'tag':_0x20ca91(0x17e),'attributes':{'class':[_0x20ca91(0x18f)]}}];return this[_0x20ca91(0x1b3)][_0x20ca91(0x184)]&&_0x1bf94f[_0x20ca91(0x1b8)]({'tag':_0x20ca91(0x17e),'attributes':{'class':[_0x20ca91(0x185)]},'children':[{'text':this[_0x20ca91(0x1a4)]()}]}),{'tag':_0x20ca91(0x17e),'attributes':{'class':[_0x20ca91(0x19a),_0x20ca91(0x1c6)],'tabindex':-0x1},'children':[this[_0x20ca91(0x1a3)],{'tag':_0x20ca91(0x17e),'attributes':{'class':[_0x20ca91(0x17b),_0x20ca91(0x193)],'role':_0x20ca91(0x1bb)},'children':_0x1bf94f}]};}[_0x1b5899(0x1cb)](){const _0x10252f=_0x1b5899;this[_0x10252f(0x1cf)][_0x10252f(0x1cb)]();}[_0x1b5899(0x1bd)](){const _0x2da807=_0x1b5899;return this[_0x2da807(0x1b3)][_0x2da807(0x184)]?_0x2da807(0x1a0)===this[_0x2da807(0x1b3)][_0x2da807(0x1b0)][_0x2da807(0x1ad)][_0x2da807(0x1b7)]?_0x5e955c(this[_0x2da807(0x195)],_0x2da807(0x17c),this[_0x2da807(0x1b3)][_0x2da807(0x1a9)][_0x2da807(0x1b1)]):_0x5e955c(this[_0x2da807(0x195)],_0x2da807(0x1a5),this[_0x2da807(0x1b3)][_0x2da807(0x1a9)][_0x2da807(0x1b1)]):null;}[_0x1b5899(0x1a4)](){const _0x118e68=_0x1b5899;return _0x118e68(0x1a0)===this[_0x118e68(0x1b3)][_0x118e68(0x1b0)][_0x118e68(0x1ad)][_0x118e68(0x1b7)]?_0x5e955c(this[_0x118e68(0x195)],_0x118e68(0x1c9)):_0x5e955c(this[_0x118e68(0x195)],_0x118e68(0x1ce));}[_0x1b5899(0x186)](_0x2bd5be,_0x2cf1d4,_0xe8596d,_0x398d10,_0x16c503){const _0x58ee0c=_0x1b5899,_0x15a080=new _0x23f538(this[_0x58ee0c(0x195)]);return _0x15a080[_0x58ee0c(0x194)]({'label':_0x2bd5be,'icon':_0x2cf1d4,'tooltip':!0x0,'tooltipPosition':_0x16c503}),_0x15a080[_0x58ee0c(0x182)]({'attributes':{'class':_0xe8596d}}),_0x15a080['on'](_0x58ee0c(0x180),()=>{const _0x7bfc5=_0x58ee0c;this[_0x7bfc5(0x1d1)](_0x398d10,this[_0x7bfc5(0x1b3)]['id']);}),_0x15a080;}[_0x1b5899(0x1cc)](){const _0x5e3cc6=_0x1b5899,_0x10e02d=this[_0x5e3cc6(0x1cf)];this[_0x5e3cc6(0x1ba)][_0x5e3cc6(0x192)](_0x10e02d);for(const _0x5d915a of this[_0x5e3cc6(0x17d)])this[_0x5e3cc6(0x189)][_0x5e3cc6(0x1a6)](_0x5d915a[_0x5e3cc6(0x1cf)]),this[_0x5e3cc6(0x1ba)][_0x5e3cc6(0x192)](_0x5d915a[_0x5e3cc6(0x1cf)]);this[_0x5e3cc6(0x1ba)][_0x5e3cc6(0x194)](_0x5e3cc6(0x1b5),(_0x1b29bb,_0x4e367b)=>{const _0xa511f6=_0x5e3cc6;_0x10e02d===_0x1b29bb[_0xa511f6(0x1be)]&&(this[_0xa511f6(0x1c3)][_0xa511f6(0x18c)](),_0x4e367b());}),this[_0x5e3cc6(0x1ba)][_0x5e3cc6(0x194)](_0x5e3cc6(0x19e),(_0x326b06,_0x51c9b3)=>{const _0x23a5ec=_0x5e3cc6;_0x10e02d!==_0x326b06[_0x23a5ec(0x1be)]&&(this[_0x23a5ec(0x1cb)](),_0x51c9b3());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2a54b5=_0xb12c;(function(_0x9667e,_0x4db2a1){const _0x4045aa=_0xb12c,_0x11d837=_0x9667e();while(!![]){try{const _0x4643f7=parseInt(_0x4045aa(0x118))/0x1*(parseInt(_0x4045aa(0x114))/0x2)+-parseInt(_0x4045aa(0x116))/0x3+-parseInt(_0x4045aa(0x103))/0x4+parseInt(_0x4045aa(0x10c))/0x5*(parseInt(_0x4045aa(0x101))/0x6)+parseInt(_0x4045aa(0x10b))/0x7*(-parseInt(_0x4045aa(0x106))/0x8)+-parseInt(_0x4045aa(0x10e))/0x9*(parseInt(_0x4045aa(0x115))/0xa)+parseInt(_0x4045aa(0x10a))/0xb;if(_0x4643f7===_0x4db2a1)break;else _0x11d837['push'](_0x11d837['shift']());}catch(_0x37f74e){_0x11d837['push'](_0x11d837['shift']());}}}(_0x2d0b,0xbc1fb));import{View as _0x2000a8}from'ckeditor5/src/ui.js';function _0xb12c(_0x27fed1,_0x2a324d){const _0x2d0b1d=_0x2d0b();return _0xb12c=function(_0xb12c01,_0x1aa7ce){_0xb12c01=_0xb12c01-0x101;let _0x18fc18=_0x2d0b1d[_0xb12c01];return _0x18fc18;},_0xb12c(_0x27fed1,_0x2a324d);}function _0x2d0b(){const _0x41ed25=['data-ck-root-name','previewDataReady','dialogRects','44963028eIrBai','143829SAgzzb','2995JVgbxq','fire','4295853ZdmNNh','innerHTML','render','style','setAttribute','options','143106vnZQby','10uxihOh','4071009mJIDRb','createElement','6bCPhBS','focus','push','div','className','classes','width','element','setPreviewData','ck-reset','height','ck-track-changes-preview','606mWdUwF','setTemplate','2054612LDrUcl','\x20ck-track-changes-preview__root-container','content','568hzhcTv'];_0x2d0b=function(){return _0x41ed25;};return _0x2d0b();}export class TrackChangesPreviewView extends _0x2000a8{[_0x2a54b5(0x113)];constructor(_0x5d4074,_0x56135e){const _0x58d102=_0x2a54b5;super(_0x5d4074),this[_0x58d102(0x113)]=_0x56135e,this[_0x58d102(0x102)]({'tag':_0x58d102(0x11b),'attributes':{'class':['ck',_0x58d102(0x121),_0x58d102(0x123)],'tabindex':-0x1}});}[_0x2a54b5(0x110)](){const _0x52d691=_0x2a54b5;super[_0x52d691(0x110)](),this[_0x52d691(0x11f)][_0x52d691(0x111)][_0x52d691(0x11e)]=this[_0x52d691(0x113)][_0x52d691(0x109)][_0x52d691(0x11e)]+'px',this[_0x52d691(0x11f)][_0x52d691(0x111)][_0x52d691(0x122)]=this[_0x52d691(0x113)][_0x52d691(0x109)][_0x52d691(0x122)]+'px';}[_0x2a54b5(0x120)](_0x32ca52,_0x5d964c){const _0x4f7270=_0x2a54b5;if(!this[_0x4f7270(0x11f)])return;const _0x337a89=[];for(const [_0x16259c,_0x1e61c9]of _0x32ca52){const _0xdb21bd=document[_0x4f7270(0x117)](_0x4f7270(0x11b));_0xdb21bd[_0x4f7270(0x112)](_0x4f7270(0x107),_0x16259c),_0xdb21bd[_0x4f7270(0x11c)]=_0x1e61c9[_0x4f7270(0x11d)]+_0x4f7270(0x104),_0xdb21bd[_0x4f7270(0x10f)]=_0x1e61c9[_0x4f7270(0x105)],_0x337a89[_0x4f7270(0x11a)](_0xdb21bd);}_0x5d964c(this[_0x4f7270(0x11f)],_0x337a89),this[_0x4f7270(0x11f)][_0x4f7270(0x111)][_0x4f7270(0x122)]='',this[_0x4f7270(0x10d)](_0x4f7270(0x108));}[_0x2a54b5(0x119)](){const _0x54449d=_0x2a54b5;this[_0x54449d(0x11f)][_0x54449d(0x119)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x2a2be5,_0x30dced,_0x1da16f){const _0x26c559=_0x2a2be5['t'],t=_0x2a2be5['t'];switch(_0x30dced){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',_0x1da16f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1da16f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1da16f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1da16f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1da16f);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',_0x1da16f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1da16f);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',_0x1da16f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1da16f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1da16f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1da16f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1da16f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1da16f);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1da16f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1da16f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1da16f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1da16f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1da16f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1da16f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1da16f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1da16f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1da16f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1da16f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1da16f);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1da16f);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'},_0x1da16f);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1da16f);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1da16f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1da16f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1da16f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1da16f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1da16f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1da16f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1da16f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1da16f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1da16f);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'},_0x1da16f);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'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'},_0x1da16f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1da16f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1da16f);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'},_0x1da16f);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1da16f);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 _0x26c559({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1da16f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x26c559({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1da16f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1da16f);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'},_0x1da16f);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'},_0x1da16f);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'},_0x1da16f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x30dced;}}
|
|
23
|
+
export function getTranslation(_0x58ecba,_0x3b13b3,_0x5b3215){const _0x2dd9d2=_0x58ecba['t'],t=_0x58ecba['t'];switch(_0x3b13b3){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',_0x5b3215);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5b3215);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5b3215);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5b3215);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5b3215);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',_0x5b3215);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5b3215);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',_0x5b3215);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5b3215);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5b3215);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5b3215);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5b3215);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5b3215);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5b3215);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5b3215);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5b3215);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5b3215);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5b3215);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5b3215);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5b3215);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5b3215);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5b3215);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5b3215);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5b3215);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5b3215);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'},_0x5b3215);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5b3215);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5b3215);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5b3215);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5b3215);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5b3215);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5b3215);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5b3215);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'},_0x5b3215);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5b3215);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5b3215);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5b3215);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5b3215);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'},_0x5b3215);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5b3215);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'},_0x5b3215);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'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'},_0x5b3215);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5b3215);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'},_0x5b3215);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5b3215);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'},_0x5b3215);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5b3215);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5b3215);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'},_0x5b3215);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5b3215);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 _0x2dd9d2({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5b3215);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2dd9d2({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5b3215);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5b3215);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'},_0x5b3215);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'},_0x5b3215);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'},_0x5b3215);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3b13b3;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x39d37f,_0x5131b2){const _0x258034=_0x1724,_0x3baff0=_0x39d37f();while(!![]){try{const _0x271b14=parseInt(_0x258034(0xba))/0x1+-parseInt(_0x258034(0xc9))/0x2+-parseInt(_0x258034(0xcf))/0x3*(-parseInt(_0x258034(0x9c))/0x4)+parseInt(_0x258034(0xbb))/0x5*(-parseInt(_0x258034(0x9f))/0x6)+parseInt(_0x258034(0xcc))/0x7+-parseInt(_0x258034(0xc1))/0x8*(parseInt(_0x258034(0xaa))/0x9)+-parseInt(_0x258034(0xb0))/0xa*(-parseInt(_0x258034(0xc2))/0xb);if(_0x271b14===_0x5131b2)break;else _0x3baff0['push'](_0x3baff0['shift']());}catch(_0x262159){_0x3baff0['push'](_0x3baff0['shift']());}}}(_0x2168,0x64c5e));export function normalizeDescription(_0x58710d){const _0x209821=_0x1724;return Array[_0x209821(0xb8)](_0x58710d)||(_0x58710d=[_0x58710d]),_0x58710d[_0x209821(0xbf)](_0x45fb0f=>{const _0x30d8cd=_0x209821,_0x49e8e4=_0x45fb0f[_0x30d8cd(0xbc)][_0x30d8cd(0xa8)](/\*/g,''),_0x489fd1=_0x45fb0f[_0x30d8cd(0xc0)]?_0x30d8cd(0xa7)+_0x45fb0f[_0x30d8cd(0xc0)][_0x30d8cd(0xc8)]+']':'';return'['+_0x45fb0f[_0x30d8cd(0x9e)]+']\x20'+_0x49e8e4+_0x489fd1;})[_0x209821(0xa5)](';\x20');}export function renderDescription(_0x28692c,_0x1664cb){const _0x3b71d9=_0x1724;let _0x5c602f='';return _0x5c602f+=_0x28692c[_0x3b71d9(0xae)]('*')[_0x3b71d9(0xbf)]((_0x347f31,_0x81a701)=>_0x81a701%0x2!=0x0?_0x3b71d9(0xd2)+Yt(_0x347f31)+_0x3b71d9(0xac):Yt(_0x347f31))[_0x3b71d9(0xa5)](''),_0x1664cb&&(_0x5c602f+=_0x3b71d9(0xa1)+_0x1664cb[_0x3b71d9(0xc8)]+_0x3b71d9(0xa6)+_0x1664cb[_0x3b71d9(0xc7)]+_0x3b71d9(0xca)),_0x5c602f;}function Yt(_0x39431a){const _0x293c5a=_0x1724,_0x130731=document[_0x293c5a(0xb7)](_0x293c5a(0xd0));return _0x130731[_0x293c5a(0xc4)]=_0x39431a,_0x130731[_0x293c5a(0xcb)];}export function sortSuggestions(_0x27e339){const _0x86f612=_0x1724;return _0x27e339[_0x86f612(0xc5)]((_0x156baa,_0x1ef03d)=>_0x86f612(0xc3)===_0x156baa[_0x86f612(0x9e)]&&_0x86f612(0xc3)!==_0x1ef03d[_0x86f612(0x9e)]?-0x1:_0x86f612(0xc3)!==_0x156baa[_0x86f612(0x9e)]&&_0x86f612(0xc3)===_0x1ef03d[_0x86f612(0x9e)]?0x1:_0x86f612(0xab)==_0x156baa[_0x86f612(0x9e)]&&_0x86f612(0xab)!=_0x1ef03d[_0x86f612(0x9e)]?-0x1:_0x86f612(0xab)!=_0x156baa[_0x86f612(0x9e)]&&_0x86f612(0xab)==_0x1ef03d[_0x86f612(0x9e)]?0x1:0x0);}function _0x1724(_0x4a81ee,_0x5670e0){const _0x2168d1=_0x2168();return _0x1724=function(_0x17240c,_0x3529cf){_0x17240c=_0x17240c-0x9b;let _0x7490b3=_0x2168d1[_0x17240c];return _0x7490b3;},_0x1724(_0x4a81ee,_0x5670e0);}export function getSelectedSuggestions(_0x282660,_0x2d8f54){const _0x5b6e2c=_0x1724,_0x3a4f68=Array[_0x5b6e2c(0xb6)](_0x282660[_0x5b6e2c(0x9d)]()),_0x5ab965=new Set();for(const _0x34f0c6 of _0x2d8f54)if(_0x34f0c6[_0x5b6e2c(0xbe)]){for(const _0x281dec of _0x3a4f68)for(const _0x484a23 of _0x34f0c6[_0x5b6e2c(0x9d)]())(_0x281dec[_0x5b6e2c(0xb3)](_0x484a23)||_0x282660[_0x5b6e2c(0xb4)]&&!_0x34f0c6[_0x5b6e2c(0xb5)]&&_0x34f0c6[_0x5b6e2c(0xaf)]&&_0x484a23[_0x5b6e2c(0xd1)][_0x5b6e2c(0xb9)](_0x281dec[_0x5b6e2c(0xad)]))&&_0x5ab965[_0x5b6e2c(0xcd)](_0x34f0c6);}return _0x5ab965;}export function getRangesOfBlockGroups(_0x151c2d,_0x292b87){const _0x1ec9ed=_0x1724;let _0x428a65,_0x4ad3d6=0x0;const _0x47ddf1=[],_0x142cc8=_0x292b87[_0x1ec9ed(0x9b)];for(;_0x4ad3d6<_0x151c2d[_0x1ec9ed(0xbd)];){const _0xc16d32=_0x151c2d[_0x4ad3d6],_0x2ef403=_0x151c2d[_0x4ad3d6+0x1];_0x428a65||(_0x428a65=_0x292b87[_0x1ec9ed(0xa4)](_0xc16d32)),Zt(_0x292b87,_0xc16d32,_0x2ef403)||(_0x47ddf1[_0x1ec9ed(0xa3)](_0x292b87[_0x1ec9ed(0xb1)](_0x428a65,_0x142cc8[_0x1ec9ed(0xa9)](_0xc16d32)?_0x292b87[_0x1ec9ed(0xc6)](_0xc16d32):_0x292b87[_0x1ec9ed(0xce)](_0xc16d32,_0x1ec9ed(0xd1)))),_0x428a65=null),_0x4ad3d6++;}return _0x47ddf1;}function _0x2168(){const _0xf4f639=['color','5999592PUSNKT','143RuTkiv','attribute','innerText','sort','createPositionAfter','title','value','915458MidiCC','\x22></span>','innerHTML','3384311AaYmGX','add','createPositionAt','225021zwUgVn','span','end','<span\x20class=\x22ck-suggestion-type\x22>','schema','12aHKyOb','getRanges','type','4394844PdprHb','change','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','splice','push','createPositionBefore','join','\x22\x20title=\x22','\x20[color\x20','replace','isObject','9VhCSfn','deletion','</span>','start','split','next','635420LJbhAR','createRange','execute','isIntersecting','isCollapsed','isMultiRange','from','createElement','isArray','isTouching','818378RhJQGP','5agWfzg','content','length','isInContent','map'];_0x2168=function(){return _0xf4f639;};return _0x2168();}function Zt(_0x2d3f7e,_0xb17004,_0x5e114c){const _0x32215d=_0x1724;if(!_0x5e114c)return!0x1;const _0x383872=_0x2d3f7e[_0x32215d(0xc6)](_0xb17004),_0x3202ff=_0x2d3f7e[_0x32215d(0xa4)](_0x5e114c);return _0x383872[_0x32215d(0xb9)](_0x3202ff);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3123fd,_0x5a69d5,_0x1b8de6){const _0x230c7a=_0x1724;for(;_0x1b8de6[_0x230c7a(0xbd)];){const _0x8445e6=_0x1b8de6[_0x230c7a(0xa2)](0x0,0x64);_0x3123fd[_0x230c7a(0xa0)](()=>{const _0x2fb291=_0x230c7a;for(const _0x16aef4 of _0x8445e6)_0x16aef4[_0x2fb291(0xbe)]&&_0x5a69d5[_0x2fb291(0xb2)](_0x16aef4['id']);});}}
|