@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250626.0 → 0.0.0-nightly-20250628.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 +2 -2
- 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/lang/contexts.json +1 -0
- package/lang/translations/en.po +4 -0
- 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.d.ts +17 -0
- package/src/integrations/lineheight.js +23 -0
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +2 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a364d=_0x6dc6;(function(_0x3e1c49,_0x2d3b82){const _0x448b72=_0x6dc6,_0x34bb1e=_0x3e1c49();while(!![]){try{const _0x757de8=parseInt(_0x448b72(0x180))/0x1+parseInt(_0x448b72(0x175))/0x2*(-parseInt(_0x448b72(0x17d))/0x3)+parseInt(_0x448b72(0x177))/0x4+parseInt(_0x448b72(0x186))/0x5+parseInt(_0x448b72(0x17b))/0x6*(-parseInt(_0x448b72(0x17a))/0x7)+parseInt(_0x448b72(0x184))/0x8+parseInt(_0x448b72(0x185))/0x9;if(_0x757de8===_0x2d3b82)break;else _0x34bb1e['push'](_0x34bb1e['shift']());}catch(_0x238112){_0x34bb1e['push'](_0x34bb1e['shift']());}}}(_0x1182,0xbca40));function _0x6dc6(_0x2f120c,_0x56927f){const _0x11826a=_0x1182();return _0x6dc6=function(_0x6dc69,_0x20f8dd){_0x6dc69=_0x6dc69-0x171;let _0xda6641=_0x11826a[_0x6dc69];return _0xda6641;},_0x6dc6(_0x2f120c,_0x56927f);}import{Plugin as _0x563e8d}from'ckeditor5/src/core.js';import{Dialog as _0x141736}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x22a67b}from'./trackchangesdata.js';function _0x1182(){const _0x667806=['editor','2239796ZKZEWt','isOfficialPlugin','define','790895WJyKZk','66LWSCdA','requires','557811UoJwpF','pluginName','appendChild','250155bRBjJq','trackChanges.preview.renderFunction','isPremiumPlugin','config','5869200dYLyFw','6133887PluKxm','1740105OjiIko','previewFinalContent','add','commands','TrackChangesPreview','6ulYjSr'];_0x1182=function(){return _0x667806;};return _0x1182();}import{PreviewFinalContentCommand as _0x58bfa8}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x563e8d{static get[_0x5a364d(0x17c)](){return[_0x22a67b,_0x141736];}static get[_0x5a364d(0x17e)](){const _0x52b874=_0x5a364d;return _0x52b874(0x174);}static get[_0x5a364d(0x178)](){return!0x0;}static get[_0x5a364d(0x182)](){return!0x0;}constructor(_0x3d4906){const _0x104ec7=_0x5a364d;super(_0x3d4906),_0x3d4906[_0x104ec7(0x173)][_0x104ec7(0x172)](_0x104ec7(0x171),new _0x58bfa8(this[_0x104ec7(0x176)])),_0x3d4906[_0x104ec7(0x183)][_0x104ec7(0x179)](_0x104ec7(0x181),(_0x49a286,_0x46838b)=>{const _0xe19fb9=_0x104ec7;for(const _0x27cf63 of _0x46838b)_0x49a286[_0xe19fb9(0x17f)](_0x27cf63);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1ea5(_0x475d1f,_0x4c4bf0){const _0xce4c32=_0xce4c();return _0x1ea5=function(_0x1ea58b,_0x2e243b){_0x1ea58b=_0x1ea58b-0xd2;let _0x163a63=_0xce4c32[_0x1ea58b];return _0x163a63;},_0x1ea5(_0x475d1f,_0x4c4bf0);}const _0x52f3dd=_0x1ea5;(function(_0x56c8ae,_0xc9cb8){const _0x504adb=_0x1ea5,_0x29be42=_0x56c8ae();while(!![]){try{const _0x1c1997=-parseInt(_0x504adb(0x136))/0x1+-parseInt(_0x504adb(0xdc))/0x2+parseInt(_0x504adb(0xee))/0x3*(-parseInt(_0x504adb(0x10a))/0x4)+parseInt(_0x504adb(0x17d))/0x5*(-parseInt(_0x504adb(0x115))/0x6)+parseInt(_0x504adb(0x155))/0x7+-parseInt(_0x504adb(0x150))/0x8*(-parseInt(_0x504adb(0xd3))/0x9)+parseInt(_0x504adb(0x106))/0xa;if(_0x1c1997===_0xc9cb8)break;else _0x29be42['push'](_0x29be42['shift']());}catch(_0x59cf78){_0x29be42['push'](_0x29be42['shift']());}}}(_0xce4c,0x2a7eb));function _0xce4c(){const _0x8eee5c=['_licenseKeyCheckInterval','trackChanges.SuggestionView','createAnnotationView','activeAnnotations','init','separator','_disableComments','hasSuggestion','SuggestionView','getAnnotationForSuggestion','trackChangesLicenseKeyNotAllowed','head','commands','trackChangesLicenseKeyValid','define','expired','TrackChangesEditing','getMarkers','getJoined','fire','change:previous','Preview\x20final\x20content','menuitem','get','source','5JcZpxu','descriptionParts','Annotations','focus','isInContent','children','acceptButton','add','3510DzNgPv','Discard\x20all\x20suggestions','_viewToController','getRanges','trackChanges.SuggestionThreadView','addMany','trackChangesLicenseKeyDomainLimit','isOn','delegate','331806uWzyRk','getSuggestionForAnnotation','_handleSuggestionControllerDelayed','trackChanges.disableComments','items','TrackChangesUI','suggestionView','CommentsUI','licenseKey','Accept\x20all\x20selected\x20suggestions','isDirty','createAnnotation','CommentView','_annotationViews','suggestionUnloaded','getDescriptions','locale','trackChangesLicenseKeyEvaluationLimit','3003XPAnPa','editing','getMarkerNames','getSuggestion','view','pluginName','domainLimit','_createToolbarButton','length','switchbutton','isOfficialPlugin','keys','editor','config','_destroyController','isEnabled','refreshSelectedViews','delete','acceptAllSuggestions','actionView','featureNotAllowed','values','requires','suggestion-','8580780oFUSPh','getByInnerView','mainView','activeMarkers','948hORzNg','discardSelectedSuggestions','comments','bind','_addUIComponentsToFactory','model','_handleControllerBuffer','comments.maxCommentCharsWhenCollapsed','escape','plugins','innerView','1587174HxwKsd','stopListening','isPremiumPlugin','TrackChanges','comments.maxThreadTotalWeight','commentThread','value','lowest','registerAnnotation','getFirstRange','Discard\x20all\x20selected\x20suggestions','button','trialLimit','_updateController','suggestionChanged','componentFactory','comments.editorConfig','_createMenuBarMenu','suggestionLoaded','_unbindEditors','reduce','isMultiRange','usageLimit','menuBar:trackChanges','createCommentThreadController','discardAllSuggestions','addComment','panelView','Track\x20changes','clear','filter','TrackChangesPreview','addSourceCollector','270914GRrKld','arrowView','menuitemcheckbox','trackChangesLicenseKeyUsageLimit','CommentsRepository','from','previous','type','trackChangesLicenseKeyTrialLimit','menu','remove','EditorAnnotations','set','commentsListView','trackChanges','change:activeAnnotations','comments.maxCommentsWhenCollapsed','_refreshActiveMarkers','some','listenTo','discardButton','toMany','buttonView','descriptionFactory','push','execute','520QWEOPn','destroy','_initializeController','trackChangesLicenseKeyInvalid','evaluationLimit','1604498mHcjDy','acceptSelectedSuggestions','size','unbind','trackChangesLicenseKeyExpired','SuggestionThreadView','_showLicenseError','previewFinalContent','has','invalid','_bindAnnotationToEditors','Accept\x20all\x20suggestions','commandName','getAllAdjacentSuggestions','_suggestionToController'];_0xce4c=function(){return _0x8eee5c;};return _0xce4c();}import{Plugin as _0x2ea9b6}from'ckeditor5/src/core.js';import{Collection as _0x40af47}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x29d35c}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1b5da8,createDropdown as _0x481b6f,ListSeparatorView as _0x415e6e,MenuBarMenuView as _0x2922b5,MenuBarMenuListView as _0x10df33,MenuBarMenuListItemView as _0x3b7a47,MenuBarMenuListItemButtonView as _0x3298f1,SplitButtonView as _0x13f07f,UIModel as _0x2811be}from'ckeditor5/src/ui.js';import{Users as _0x34f878,getDateTimeFormatter as _0x2bab7d,getAllMarkersDomElementsSorted as _0x346099}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2e9a95}from'./trackchangesediting.js';import{SuggestionController as _0x236451}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x3485c9}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x43b8aa}from'./ui/view/suggestionview.js';import{getTranslation as _0x324940}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2ea9b6{[_0x52f3dd(0xe4)];[_0x52f3dd(0x164)];[_0x52f3dd(0x163)];[_0x52f3dd(0xd5)];[_0x52f3dd(0xe9)];[_0x52f3dd(0x110)];[_0x52f3dd(0x16a)];static get[_0x52f3dd(0x104)](){const _0x24d51e=_0x52f3dd;return[_0x2e9a95,_0x34f878,_0x24d51e(0x13a),_0x24d51e(0x17f),_0x24d51e(0x141)];}static get[_0x52f3dd(0xf3)](){const _0x375b61=_0x52f3dd;return _0x375b61(0xe1);}static get[_0x52f3dd(0xf8)](){return!0x0;}static get[_0x52f3dd(0x117)](){return!0x0;}constructor(_0x1e627f){const _0x4b3d69=_0x52f3dd;super(_0x1e627f),this[_0x4b3d69(0x163)]=new Map(),this[_0x4b3d69(0xd5)]=new Map(),this[_0x4b3d69(0xe9)]=new Map(),this[_0x4b3d69(0x110)]=new Map();const _0x5683c6=this[_0x4b3d69(0xfa)][_0x4b3d69(0xfb)];_0x5683c6[_0x4b3d69(0x172)](_0x4b3d69(0xd7),_0x3485c9),_0x5683c6[_0x4b3d69(0x172)](_0x4b3d69(0x165),_0x43b8aa),_0x5683c6[_0x4b3d69(0x172)](_0x4b3d69(0xdf),!0x1),this[_0x4b3d69(0x16a)]=_0x5683c6[_0x4b3d69(0x17b)](_0x4b3d69(0xdf));}[_0x52f3dd(0xde)](_0x1d31e4,_0x325dcd){const _0x57ea8c=_0x52f3dd;0x0===this[_0x57ea8c(0x110)][_0x57ea8c(0x157)]&&setTimeout(()=>{const _0x700a67=_0x57ea8c;for(const [_0x43b40d,_0x5b7b03]of this[_0x700a67(0x110)]){const _0x3c19bc=this[_0x700a67(0x163)][_0x700a67(0x15d)](_0x43b40d);_0x3c19bc||_0x5b7b03?_0x3c19bc&&_0x5b7b03&&this[_0x700a67(0xfc)](_0x43b40d):this[_0x700a67(0x152)](_0x43b40d);}this[_0x700a67(0x110)][_0x700a67(0x132)](),this[_0x700a67(0xfa)][_0x700a67(0x113)][_0x700a67(0x17b)](_0x700a67(0x141))[_0x700a67(0xfe)](),this[_0x700a67(0x147)]();},0xa),this[_0x57ea8c(0x110)][_0x57ea8c(0x142)](_0x1d31e4,_0x325dcd);}[_0x52f3dd(0x168)](){const _0x37cb35=_0x52f3dd,_0x94da16=this[_0x37cb35(0xfa)],_0x3c2f95=_0x94da16[_0x37cb35(0x113)][_0x37cb35(0x17b)](_0x37cb35(0x174)),_0x7b8f63=_0x94da16[_0x37cb35(0x113)][_0x37cb35(0x17b)](_0x37cb35(0x17f)),_0x2294c5=_0x94da16[_0x37cb35(0x113)][_0x37cb35(0x17b)](_0x37cb35(0x141)),_0x2bc205=_0x94da16[_0x37cb35(0x113)][_0x37cb35(0x17b)](_0x37cb35(0x13a));this[_0x37cb35(0x10e)](),_0x2294c5[_0x37cb35(0x135)](()=>{const _0x387a2a=_0x37cb35,_0x57a823=[];for(const [_0x1888b8,_0x22256a]of Array[_0x387a2a(0x13b)](this[_0x387a2a(0x163)])){const _0x18fd47=_0x1888b8[_0x387a2a(0x162)](),_0x2d7ad3=[];for(const _0x1d96c2 of _0x18fd47){if(!_0x1d96c2[_0x387a2a(0x181)])continue;if(_0x1d96c2[_0x387a2a(0x12a)]){_0x2d7ad3[_0x387a2a(0x14e)](..._0x1d96c2[_0x387a2a(0xd6)]());continue;}const _0x2d6909=_0x1d96c2[_0x387a2a(0x11e)]();if(_0x2d7ad3[_0x387a2a(0xf6)]>0x0){const _0x58d538=_0x2d7ad3[0x0][_0x387a2a(0x176)](_0x2d6909);if(_0x58d538){_0x2d7ad3[0x0]=_0x58d538;continue;}}_0x2d7ad3[_0x387a2a(0x14e)](_0x2d6909);}_0x57a823[_0x387a2a(0x14e)]([_0x22256a[_0x387a2a(0xf2)],_0x2d7ad3]);}return _0x57a823;}),this[_0x37cb35(0x149)](_0x3c2f95,_0x37cb35(0x127),(_0x530a23,_0xc9c831)=>{const _0x92116a=_0x37cb35;this[_0x92116a(0x149)](_0xc9c831,_0x92116a(0x178),(_0xd33d78,_0x5d1ae1,_0x1197cf,_0x3b2b08)=>{const _0x1b9977=_0x92116a;_0xc9c831[_0x1b9977(0x181)]&&(null==_0x1197cf?(this[_0x1b9977(0x122)](_0x3b2b08[_0x1b9977(0x16f)]),this[_0x1b9977(0xde)](_0xc9c831,!0x1)):(this[_0x1b9977(0x122)](_0x1197cf[_0x1b9977(0x16f)]),null==_0x3b2b08&&this[_0x1b9977(0xde)](_0xc9c831,!0x0)));}),null!==_0xc9c831[_0x92116a(0x13c)]?this[_0x92116a(0x122)](_0xc9c831[_0x92116a(0x16f)]):this[_0x92116a(0xde)](_0xc9c831,!0x1);}),this[_0x37cb35(0x149)](_0x3c2f95,_0x37cb35(0xea),(_0x2f913c,_0x365d7b,_0x36a1dd)=>{const _0x9f90c9=_0x37cb35;this[_0x9f90c9(0x116)](_0x365d7b,_0x9f90c9(0x178)),this[_0x9f90c9(0x110)][_0x9f90c9(0xff)](_0x365d7b),this[_0x9f90c9(0x163)][_0x9f90c9(0x15d)](_0x365d7b)&&this[_0x9f90c9(0xfc)](_0x365d7b),_0x36a1dd&&this[_0x9f90c9(0x122)](_0x36a1dd[_0x9f90c9(0x16f)]);}),this[_0x37cb35(0x149)](_0x3c2f95,_0x37cb35(0x123),(_0x3c3784,_0x28a326)=>{const _0x38de92=_0x37cb35;this[_0x38de92(0x122)](_0x28a326);}),this[_0x37cb35(0x149)](_0x7b8f63,_0x37cb35(0x145),()=>{const _0x49b36b=_0x37cb35;this[_0x49b36b(0x147)]();}),this[_0x37cb35(0x149)](_0x2bc205,_0x37cb35(0x12f),(_0x1c01ad,{threadId:_0x3ad527,isFromAdapter:_0x933dd5})=>{const _0x549e8c=_0x37cb35;if(_0x933dd5||!_0x3c2f95[_0x549e8c(0x16b)](_0x3ad527))return;const _0x3aa9de=_0x3c2f95[_0x549e8c(0xf1)](_0x3ad527);this[_0x549e8c(0x163)][_0x549e8c(0x17b)](_0x3aa9de)[_0x549e8c(0xf2)][_0x549e8c(0x143)][_0x549e8c(0x180)](-0x1);},{'priority':_0x37cb35(0x11c)}),this[_0x37cb35(0xe4)]=this[_0x37cb35(0xfa)][_0x37cb35(0xfb)][_0x37cb35(0x17b)](_0x37cb35(0xe4));const _0x490f4b=this[_0x37cb35(0xfa)];this[_0x37cb35(0x164)]=setInterval(()=>{const _0x3b7fa5=_0x37cb35;let _0x5ad390;for(const _0x3c4900 in _0x490f4b){const _0x4d6057=_0x3c4900,_0x17407c=_0x490f4b[_0x4d6057];if(_0x3b7fa5(0x171)==_0x17407c||_0x3b7fa5(0x153)==_0x17407c||_0x3b7fa5(0x159)==_0x17407c||_0x3b7fa5(0xd9)==_0x17407c||_0x3b7fa5(0x16e)==_0x17407c||_0x3b7fa5(0xed)==_0x17407c||_0x3b7fa5(0x13e)==_0x17407c||_0x3b7fa5(0x139)==_0x17407c){delete _0x490f4b[_0x4d6057],_0x5ad390=_0x17407c,clearInterval(this[_0x3b7fa5(0x164)]),this[_0x3b7fa5(0x164)]=void 0x0;break;}}_0x3b7fa5(0x153)==_0x5ad390&&_0x490f4b[_0x3b7fa5(0x15b)](_0x3b7fa5(0x15e)),_0x3b7fa5(0x159)==_0x5ad390&&_0x490f4b[_0x3b7fa5(0x15b)](_0x3b7fa5(0x173)),_0x3b7fa5(0xd9)==_0x5ad390&&_0x490f4b[_0x3b7fa5(0x15b)](_0x3b7fa5(0xf4)),_0x3b7fa5(0x16e)==_0x5ad390&&_0x490f4b[_0x3b7fa5(0x15b)](_0x3b7fa5(0x102),_0x3b7fa5(0x118)),_0x3b7fa5(0xed)==_0x5ad390&&_0x490f4b[_0x3b7fa5(0x15b)](_0x3b7fa5(0x154)),_0x3b7fa5(0x13e)==_0x5ad390&&_0x490f4b[_0x3b7fa5(0x15b)](_0x3b7fa5(0x121)),_0x3b7fa5(0x139)==_0x5ad390&&_0x490f4b[_0x3b7fa5(0x15b)](_0x3b7fa5(0x12b));},0x3e8);}[_0x52f3dd(0x16d)](_0xed6717){const _0x59e36e=_0x52f3dd,_0x37d072=this[_0x59e36e(0x163)][_0x59e36e(0x17b)](_0xed6717);if(!_0x37d072)return null;return this[_0x59e36e(0xfa)][_0x59e36e(0x113)][_0x59e36e(0x17b)](_0x59e36e(0x17f))[_0x59e36e(0x107)](_0x37d072[_0x59e36e(0xf2)])||null;}[_0x52f3dd(0xdd)](_0x5929f6){const _0x34a7d2=_0x52f3dd,_0x2425d9=this[_0x34a7d2(0xd5)][_0x34a7d2(0x17b)](_0x5929f6[_0x34a7d2(0x114)]);return _0x2425d9?_0x2425d9[_0x34a7d2(0x10f)]:null;}[_0x52f3dd(0x147)](){const _0x52b3e1=_0x52f3dd,_0x140282=this[_0x52b3e1(0xfa)][_0x52b3e1(0x113)][_0x52b3e1(0x17b)](_0x52b3e1(0x17f)),_0x44fc77=this[_0x52b3e1(0xfa)][_0x52b3e1(0x113)][_0x52b3e1(0x17b)](_0x52b3e1(0x174)),_0x10710a=Array[_0x52b3e1(0x13b)](_0x140282[_0x52b3e1(0x167)],_0x3fb4c5=>_0x3fb4c5[_0x52b3e1(0x114)])[_0x52b3e1(0x133)](_0x50f372=>this[_0x52b3e1(0xd5)][_0x52b3e1(0x15d)](_0x50f372)),_0x38e833=[];for(const _0xaeda7e of _0x10710a){const _0x505aab=this[_0x52b3e1(0xd5)][_0x52b3e1(0x17b)](_0xaeda7e)[_0x52b3e1(0x10f)][_0x52b3e1(0x162)]();_0x38e833[_0x52b3e1(0x14e)](..._0x505aab[_0x52b3e1(0x129)]((_0x148e02,_0x177a80)=>[..._0x148e02,..._0x177a80[_0x52b3e1(0xf0)]()],[]));}_0x44fc77[_0x52b3e1(0x109)]=_0x38e833;}[_0x52f3dd(0x10e)](){const _0xf632eb=_0x52f3dd,_0x20f28e=this[_0xf632eb(0xfa)],_0x4fef82=_0x20f28e[_0xf632eb(0xec)],_0x50218b=_0x324940(_0x4fef82,_0xf632eb(0x131)),_0xf5ac17=new _0x40af47([{'type':_0xf632eb(0xf7),'model':new _0x2811be({'withText':!0x0,'isToggleable':!0x0,'label':_0x50218b,'commandName':_0xf632eb(0x144),'role':_0xf632eb(0x138)})},{'type':_0xf632eb(0x169)},{'type':_0xf632eb(0x120),'model':new _0x2811be({'withText':!0x0,'label':_0x324940(_0x4fef82,_0xf632eb(0x160)),'commandName':_0xf632eb(0x100),'role':_0xf632eb(0x17a)})},{'type':_0xf632eb(0x120),'model':new _0x2811be({'withText':!0x0,'label':_0x324940(_0x4fef82,_0xf632eb(0xe5)),'commandName':_0xf632eb(0x156),'role':_0xf632eb(0x17a)})},{'type':_0xf632eb(0x120),'model':new _0x2811be({'withText':!0x0,'label':_0x324940(_0x4fef82,_0xf632eb(0xd4)),'commandName':_0xf632eb(0x12e),'role':_0xf632eb(0x17a)})},{'type':_0xf632eb(0x120),'model':new _0x2811be({'withText':!0x0,'label':_0x324940(_0x4fef82,_0xf632eb(0x11f)),'commandName':_0xf632eb(0x10b),'role':_0xf632eb(0x17a)})}]);_0x20f28e[_0xf632eb(0x113)][_0xf632eb(0x15d)](_0xf632eb(0x134))&&_0xf5ac17[_0xf632eb(0xd8)]([{'type':_0xf632eb(0x169)},{'type':_0xf632eb(0x120),'model':new _0x2811be({'withText':!0x0,'label':_0x324940(_0x4fef82,_0xf632eb(0x179)),'commandName':_0xf632eb(0x15c),'role':_0xf632eb(0x17a)})}]);for(const _0x4dced6 of _0xf5ac17)if(ke(_0x4dced6)){const _0x144918=_0x20f28e[_0xf632eb(0x170)][_0xf632eb(0x17b)](_0x4dced6[_0xf632eb(0x10f)][_0xf632eb(0x161)]);_0x4dced6[_0xf632eb(0x10f)][_0xf632eb(0x10d)](_0xf632eb(0xda),_0xf632eb(0xfd))['to'](_0x144918,_0xf632eb(0x11b),_0xf632eb(0xfd));}_0x20f28e['ui'][_0xf632eb(0x124)][_0xf632eb(0xd2)](_0xf632eb(0x144),_0x26ecc1=>this[_0xf632eb(0xf5)](_0x26ecc1,_0xf5ac17,_0x50218b)),_0x20f28e['ui'][_0xf632eb(0x124)][_0xf632eb(0xd2)](_0xf632eb(0x12c),_0x1b62f1=>this[_0xf632eb(0x126)](_0x1b62f1,_0xf5ac17,_0x50218b));}[_0x52f3dd(0xf5)](_0x1480f4,_0x228b92,_0x4b0fe7){const _0x8868f6=_0x52f3dd,_0x1ea043=_0x481b6f(_0x1480f4,_0x13f07f),_0x234fcb=this[_0x8868f6(0xfa)][_0x8868f6(0x170)][_0x8868f6(0x17b)](_0x8868f6(0x144));_0x1ea043[_0x8868f6(0x14c)][_0x8868f6(0x142)]({'tooltip':_0x4b0fe7,'label':_0x4b0fe7,'icon':_0x29d35c}),_0x1ea043[_0x8868f6(0x14c)][_0x8868f6(0x10d)](_0x8868f6(0xda))['to'](_0x234fcb,_0x8868f6(0x11b)),_0x1ea043[_0x8868f6(0x14c)]['on'](_0x8868f6(0x14f),()=>{const _0x42b282=_0x8868f6;_0x234fcb[_0x42b282(0x14f)](),this[_0x42b282(0xfa)][_0x42b282(0xef)][_0x42b282(0xf2)][_0x42b282(0x180)]();}),_0x1b5da8(_0x1ea043,_0x228b92,{'role':_0x8868f6(0x13f)});const _0x95c619=[];for(const _0x306369 of _0x228b92)ke(_0x306369)&&_0x95c619[_0x8868f6(0x14e)](this[_0x8868f6(0xfa)][_0x8868f6(0x170)][_0x8868f6(0x17b)](_0x306369[_0x8868f6(0x10f)][_0x8868f6(0x161)]));const _0x4afc90=_0x1ea043[_0x8868f6(0x14c)];return _0x4afc90[_0x8868f6(0x101)][_0x8868f6(0x158)](_0x8868f6(0xfd)),_0x4afc90[_0x8868f6(0x137)][_0x8868f6(0x158)](_0x8868f6(0xfd)),_0x4afc90[_0x8868f6(0x101)][_0x8868f6(0x10d)](_0x8868f6(0xfd))['to'](_0x234fcb,_0x8868f6(0xfd)),_0x4afc90[_0x8868f6(0x137)][_0x8868f6(0x10d)](_0x8868f6(0xfd))[_0x8868f6(0x14b)](_0x95c619,_0x8868f6(0xfd),(..._0x207d66)=>_0x207d66[_0x8868f6(0x148)](_0xa37e95=>_0xa37e95)),_0x1ea043['on'](_0x8868f6(0x14f),_0x103bec=>{const _0x121085=_0x8868f6;this[_0x121085(0xfa)][_0x121085(0x14f)](_0x103bec[_0x121085(0x17c)][_0x121085(0x161)]),this[_0x121085(0xfa)][_0x121085(0xef)][_0x121085(0xf2)][_0x121085(0x180)]();}),_0x1ea043;}[_0x52f3dd(0x126)](_0x2ac83a,_0xa1d95f,_0x1f790e){const _0x5a4169=_0x52f3dd,_0x2cd5b7=new _0x2922b5(_0x2ac83a),_0x4c4a42=this[_0x5a4169(0xfa)][_0x5a4169(0x170)][_0x5a4169(0x17b)](_0x5a4169(0x144));_0x2cd5b7[_0x5a4169(0x14c)][_0x5a4169(0x142)]({'label':_0x1f790e,'icon':_0x29d35c});const _0x20c153=new _0x10df33(_0x2ac83a);for(const _0x2ee7ee of _0xa1d95f){if(_0x5a4169(0x169)==_0x2ee7ee[_0x5a4169(0x13d)]){_0x20c153[_0x5a4169(0xe0)][_0x5a4169(0xd2)](new _0x415e6e(_0x2ac83a));continue;}const _0x2a7918=new _0x3b7a47(_0x2ac83a,_0x2cd5b7),_0x1546c3=new _0x3298f1(_0x2ac83a),_0x2bc067=_0x2ee7ee[_0x5a4169(0x10f)];_0x1546c3[_0x5a4169(0x10d)](...Object[_0x5a4169(0xf9)](_0x2bc067))['to'](_0x2bc067),_0x1546c3[_0x5a4169(0xdb)](_0x5a4169(0x14f))['to'](_0x2cd5b7),_0x1546c3['on'](_0x5a4169(0x14f),()=>{const _0x17abf2=_0x5a4169;this[_0x17abf2(0xfa)][_0x17abf2(0x14f)](_0x2bc067[_0x17abf2(0x161)]),this[_0x17abf2(0xfa)][_0x17abf2(0xef)][_0x17abf2(0xf2)][_0x17abf2(0x180)]();}),_0x2a7918[_0x5a4169(0x182)][_0x5a4169(0xd2)](_0x1546c3),_0x20c153[_0x5a4169(0xe0)][_0x5a4169(0xd2)](_0x2a7918);}return _0x2cd5b7[_0x5a4169(0x10d)](_0x5a4169(0xfd))['to'](_0x4c4a42,_0x5a4169(0xfd)),_0x2cd5b7[_0x5a4169(0x130)][_0x5a4169(0x182)][_0x5a4169(0xd2)](_0x20c153),_0x2cd5b7;}[_0x52f3dd(0x152)](_0x3e8290){const _0x2ca2ff=_0x52f3dd,_0x160a63=this[_0x2ca2ff(0xfa)],_0x2c518a=_0x160a63[_0x2ca2ff(0xfb)],_0x383129=_0x160a63[_0x2ca2ff(0x113)][_0x2ca2ff(0x17b)](_0x2ca2ff(0x17f)),_0x45a911=_0x160a63[_0x2ca2ff(0x113)][_0x2ca2ff(0x17b)](_0x2ca2ff(0x13a)),_0x4642d8=_0x160a63[_0x2ca2ff(0x113)][_0x2ca2ff(0x17b)](_0x2ca2ff(0x141)),_0x15d702=_0x160a63[_0x2ca2ff(0x113)][_0x2ca2ff(0x17b)](_0x34f878)['me'],_0x43b85e=_0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0x144))[_0x2ca2ff(0x15a)],_0x428b90=_0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0x144))[_0x2ca2ff(0x16c)],{CommentsListView:_0x2d6775,CommentThreadInputView:_0x24b614}=_0x160a63[_0x2ca2ff(0x113)][_0x2ca2ff(0x17b)](_0x2ca2ff(0xe3));let _0xf1eba9,_0x1802c4,_0x43e18c;this[_0x2ca2ff(0xe9)][_0x2ca2ff(0x15d)](_0x3e8290['id'])?(_0x1802c4=this[_0x2ca2ff(0xe9)][_0x2ca2ff(0x17b)](_0x3e8290['id']),_0xf1eba9=_0x1802c4[_0x2ca2ff(0x108)]):(_0xf1eba9=new _0x43b85e(_0x160a63[_0x2ca2ff(0xec)],_0x3e8290,_0x15d702,{'disableComments':this[_0x2ca2ff(0x16a)],'editorConfig':{..._0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0x125)),'licenseKey':_0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0xe4))},'maxCommentsWhenCollapsed':_0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0x146)),'maxThreadTotalWeight':_0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0x119)),'maxCommentCharsWhenCollapsed':_0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0x111)),'formatDateTime':_0x2bab7d(_0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0xec)),_0x160a63[_0x2ca2ff(0xec)]),'CommentView':_0x2c518a[_0x2ca2ff(0x17b)](_0x2ca2ff(0x10c))[_0x2ca2ff(0xe8)],'CommentsListView':_0x2d6775,'CommentThreadInputView':_0x24b614,'SuggestionView':_0x428b90}),_0xf1eba9[_0x2ca2ff(0xe2)][_0x2ca2ff(0x183)]['on'](_0x2ca2ff(0x14f),()=>{const _0x305bb3=_0x2ca2ff;_0x160a63[_0x305bb3(0xef)][_0x305bb3(0xf2)][_0x305bb3(0x180)]();}),_0xf1eba9[_0x2ca2ff(0xe2)][_0x2ca2ff(0x14a)]['on'](_0x2ca2ff(0x14f),()=>{const _0xa10ea9=_0x2ca2ff;_0x160a63[_0xa10ea9(0xef)][_0xa10ea9(0xf2)][_0xa10ea9(0x180)]();}),_0x1802c4=_0x383129[_0x2ca2ff(0x166)](this[_0x2ca2ff(0xfa)][_0x2ca2ff(0xec)],_0xf1eba9),_0x1802c4[_0x2ca2ff(0x10d)](_0x2ca2ff(0xe6))['to'](_0xf1eba9,_0x2ca2ff(0xe6)),_0x1802c4[_0x2ca2ff(0x10d)](_0x2ca2ff(0xf6))['to'](_0xf1eba9),_0x1802c4[_0x2ca2ff(0x10d)](_0x2ca2ff(0x13d))['to'](_0xf1eba9,_0x2ca2ff(0x13d),_0x42334d=>_0x2ca2ff(0x105)+_0x42334d),_0xf1eba9['on'](_0x2ca2ff(0x112),()=>{const _0x1b484b=_0x2ca2ff;_0x43e18c[_0x1b484b(0x177)](_0x1b484b(0x112));}),this[_0x2ca2ff(0xe9)][_0x2ca2ff(0x142)](_0x3e8290['id'],_0x1802c4));const _0x5ef9a9=_0x45a911[_0x2ca2ff(0x12d)](_0x3e8290[_0x2ca2ff(0x11a)],_0xf1eba9),_0xa75b6=new _0x236451(_0x160a63,_0x3e8290,_0xf1eba9,_0x5ef9a9),_0x41fefe=_0x3e8290[_0x2ca2ff(0x162)]()[_0x2ca2ff(0x133)](_0x1afc98=>_0x1afc98[_0x2ca2ff(0x181)]);_0xf1eba9[_0x2ca2ff(0x17e)]=_0x160a63[_0x2ca2ff(0x113)][_0x2ca2ff(0x17b)](_0x2ca2ff(0x174))[_0x2ca2ff(0x14d)][_0x2ca2ff(0xeb)](_0x41fefe),this[_0x2ca2ff(0x163)][_0x2ca2ff(0x142)](_0x3e8290,_0xa75b6),this[_0x2ca2ff(0xd5)][_0x2ca2ff(0x142)](_0xf1eba9,_0xa75b6),_0x43e18c=_0x383129[_0x2ca2ff(0xe7)]({'view':_0x1802c4,'target':()=>{const _0x34480d=_0x2ca2ff,_0x3c1874=[],_0x5e0aa1=_0x3e8290[_0x34480d(0x162)]()[_0x34480d(0x133)](_0x374d0f=>_0x374d0f[_0x34480d(0x181)]);for(const _0xdb4046 of _0x5e0aa1)_0x3c1874[_0x34480d(0x14e)](..._0xdb4046[_0x34480d(0x175)]());return _0x346099(_0x160a63[_0x34480d(0xef)],_0x3c1874);},'type':()=>_0x2ca2ff(0x105)+_0xa75b6[_0x2ca2ff(0xf2)][_0x2ca2ff(0x13d)]}),_0x45a911[_0x2ca2ff(0x15f)](_0xf1eba9,_0x43e18c),_0x383129[_0x2ca2ff(0xd2)](_0x43e18c),_0x4642d8[_0x2ca2ff(0x11d)](_0x43e18c);}[_0x52f3dd(0xfc)](_0x20fef7){const _0x44fbea=_0x52f3dd,_0x2801dc=this[_0x44fbea(0xfa)][_0x44fbea(0x113)][_0x44fbea(0x17b)](_0x44fbea(0x13a)),_0x34803e=this[_0x44fbea(0xfa)][_0x44fbea(0x113)][_0x44fbea(0x17b)](_0x44fbea(0x17f)),_0x4b524b=this[_0x44fbea(0x163)][_0x44fbea(0x17b)](_0x20fef7),_0x30db9a=_0x4b524b[_0x44fbea(0xf2)],_0x532d49=_0x34803e[_0x44fbea(0x107)](_0x30db9a);_0x2801dc[_0x44fbea(0x128)](_0x30db9a),_0x532d49&&_0x34803e[_0x44fbea(0x140)](_0x532d49),this[_0x44fbea(0x163)][_0x44fbea(0xff)](_0x20fef7),this[_0x44fbea(0xd5)][_0x44fbea(0xff)](_0x30db9a),_0x4b524b[_0x44fbea(0x151)]();}[_0x52f3dd(0x122)](_0x36bfe5){const _0x441e8c=_0x52f3dd;if(!_0x36bfe5[_0x441e8c(0x181)]||!this[_0x441e8c(0x163)][_0x441e8c(0x15d)](_0x36bfe5))return;const _0x43f04b=this[_0x441e8c(0xfa)][_0x441e8c(0x113)][_0x441e8c(0x17b)](_0x441e8c(0x174)),_0x8406f=this[_0x441e8c(0x163)][_0x441e8c(0x17b)](_0x36bfe5),_0x16f481=_0x36bfe5[_0x441e8c(0x162)]();_0x8406f[_0x441e8c(0xf2)][_0x441e8c(0x17e)]=_0x43f04b[_0x441e8c(0x14d)][_0x441e8c(0xeb)](_0x16f481);}[_0x52f3dd(0x151)](){const _0x3a4985=_0x52f3dd;for(const _0x161d8e of this[_0x3a4985(0x163)][_0x3a4985(0xf9)]())this[_0x3a4985(0xfc)](_0x161d8e);for(const _0x23b5e0 of this[_0x3a4985(0xe9)][_0x3a4985(0x103)]())_0x23b5e0[_0x3a4985(0x108)][_0x3a4985(0x151)]();super[_0x3a4985(0x151)](),this[_0x3a4985(0x164)]&&clearInterval(this[_0x3a4985(0x164)]);}}function ke(_0xc6b0c3){const _0x47c505=_0x52f3dd;return _0x47c505(0x10f)in _0xc6b0c3;}
|
|
23
|
+
const _0x32b855=_0x7fc8;(function(_0x2cef11,_0x10ed5f){const _0x512241=_0x7fc8,_0x1f8cc4=_0x2cef11();while(!![]){try{const _0x55d036=-parseInt(_0x512241(0x248))/0x1+-parseInt(_0x512241(0x28e))/0x2*(-parseInt(_0x512241(0x269))/0x3)+parseInt(_0x512241(0x26b))/0x4*(parseInt(_0x512241(0x28a))/0x5)+parseInt(_0x512241(0x298))/0x6+-parseInt(_0x512241(0x25e))/0x7+parseInt(_0x512241(0x235))/0x8+-parseInt(_0x512241(0x243))/0x9;if(_0x55d036===_0x10ed5f)break;else _0x1f8cc4['push'](_0x1f8cc4['shift']());}catch(_0x5d21d3){_0x1f8cc4['push'](_0x1f8cc4['shift']());}}}(_0x447a,0xcc4ba));import{Plugin as _0x348865}from'ckeditor5/src/core.js';import{Collection as _0x32ad76}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1fb1cf}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x174bec,createDropdown as _0xec8183,ListSeparatorView as _0x5d5e0a,MenuBarMenuView as _0x369232,MenuBarMenuListView as _0x375b4b,MenuBarMenuListItemView as _0x321aab,MenuBarMenuListItemButtonView as _0x57bde4,SplitButtonView as _0x55fc17,UIModel as _0x5556d1}from'ckeditor5/src/ui.js';import{Users as _0xe43551,getDateTimeFormatter as _0xdc1cb,getAllMarkersDomElementsSorted as _0xb39c9f}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2a6aed}from'./trackchangesediting.js';function _0x447a(){const _0x31e4ef=['commentThread','type','change:activeAnnotations','componentFactory','addComment','execute','values','items','hasSuggestion','remove','add','994256DBUAdT','refreshSelectedViews','focus','acceptSelectedSuggestions','Discard\x20all\x20suggestions','_createToolbarButton','trackChangesLicenseKeyUsageLimit','button','trackChangesLicenseKeyEvaluationLimit','trackChangesLicenseKeyExpired','trackChangesLicenseKeyInvalid','trackChangesLicenseKeyTrialLimit','children','Accept\x20all\x20selected\x20suggestions','8627598XsMTRN','descriptionParts','delete','activeMarkers','source','156595gzNPgP','isOn','usageLimit','isEnabled','TrackChangesPreview','trackChangesLicenseKeyNotAllowed','createCommentThreadController','getSuggestion','getByInnerView','lowest','EditorAnnotations','delegate','listenTo','_licenseKeyCheckInterval','change:previous','pluginName','evaluationLimit','trackChanges.disableComments','addMany','createAnnotationView','acceptButton','_handleControllerBuffer','1819006svytKd','isOfficialPlugin','locale','mainView','getSuggestionForAnnotation','buttonView','length','destroy','getDescriptions','activeAnnotations','comments.maxCommentCharsWhenCollapsed','15729ZqfVng','requires','146092WayYSM','value','_handleSuggestionControllerDelayed','suggestionChanged','SuggestionThreadView','_disableComments','has','_unbindEditors','plugins','innerView','_viewToController','getJoined','getFirstRange','comments.maxCommentsWhenCollapsed','commentsListView','descriptionFactory','reduce','menu','_annotationViews','model','comments','editor','Accept\x20all\x20suggestions','_createMenuBarMenu','head','discardSelectedSuggestions','createAnnotation','expired','separator','Discard\x20all\x20selected\x20suggestions','toMany','55WzWrNJ','domainLimit','previewFinalContent','suggestionUnloaded','58ahoQpw','trackChanges.SuggestionView','trackChanges','_refreshActiveMarkers','menuBar:trackChanges','comments.editorConfig','define','getAnnotationForSuggestion','arrowView','Track\x20changes','9202722KIFhVD','view','_updateController','push','stopListening','Preview\x20final\x20content','suggestionLoaded','get','isDirty','TrackChanges','size','_showLicenseError','previous','init','getMarkerNames','suggestion-','trackChangesLicenseKeyValid','TrackChangesUI','isInContent','_initializeController','acceptAllSuggestions','keys','CommentsUI','comments.maxThreadTotalWeight','getRanges','_suggestionToController','clear','Annotations','unbind','licenseKey','_addUIComponentsToFactory','panelView','menuitemcheckbox','menuitem','escape','SuggestionView','commands','filter','actionView','editing','getAllAdjacentSuggestions','TrackChangesEditing','isPremiumPlugin','CommentView','featureNotAllowed','registerAnnotation','isMultiRange','some','trialLimit','trackChangesLicenseKeyDomainLimit','set','addSourceCollector','getMarkers','discardButton','from','commandName','fire','switchbutton','trackChanges.SuggestionThreadView','config','suggestionView','_destroyController','discardAllSuggestions','bind','_bindAnnotationToEditors','CommentsRepository','invalid'];_0x447a=function(){return _0x31e4ef;};return _0x447a();}import{SuggestionController as _0x4352ee}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x3f521d}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x253f15}from'./ui/view/suggestionview.js';import{getTranslation as _0x52947f}from'./utils/common-translations.js';function _0x7fc8(_0x24501c,_0x2a6685){const _0x447acf=_0x447a();return _0x7fc8=function(_0x7fc852,_0x219499){_0x7fc852=_0x7fc852-0x1e9;let _0x535a09=_0x447acf[_0x7fc852];return _0x535a09;},_0x7fc8(_0x24501c,_0x2a6685);}export class TrackChangesUI extends _0x348865{[_0x32b855(0x204)];[_0x32b855(0x255)];[_0x32b855(0x200)];[_0x32b855(0x275)];[_0x32b855(0x27d)];[_0x32b855(0x25d)];[_0x32b855(0x270)];static get[_0x32b855(0x26a)](){const _0x53179e=_0x32b855;return[_0x2a6aed,_0xe43551,_0x53179e(0x228),_0x53179e(0x202),_0x53179e(0x252)];}static get[_0x32b855(0x257)](){const _0x2a2665=_0x32b855;return _0x2a2665(0x1f8);}static get[_0x32b855(0x25f)](){return!0x0;}static get[_0x32b855(0x211)](){return!0x0;}constructor(_0x5be59d){const _0x252f11=_0x32b855;super(_0x5be59d),this[_0x252f11(0x200)]=new Map(),this[_0x252f11(0x275)]=new Map(),this[_0x252f11(0x27d)]=new Map(),this[_0x252f11(0x25d)]=new Map();const _0x56c59f=this[_0x252f11(0x280)][_0x252f11(0x222)];_0x56c59f[_0x252f11(0x294)](_0x252f11(0x221),_0x3f521d),_0x56c59f[_0x252f11(0x294)](_0x252f11(0x28f),_0x253f15),_0x56c59f[_0x252f11(0x294)](_0x252f11(0x259),!0x1),this[_0x252f11(0x270)]=_0x56c59f[_0x252f11(0x1ee)](_0x252f11(0x259));}[_0x32b855(0x26d)](_0x3ef4f7,_0xc0016e){const _0x272ee0=_0x32b855;0x0===this[_0x272ee0(0x25d)][_0x272ee0(0x1f1)]&&setTimeout(()=>{const _0x582a03=_0x272ee0;for(const [_0x20caf2,_0x2f418f]of this[_0x582a03(0x25d)]){const _0x36b00f=this[_0x582a03(0x200)][_0x582a03(0x271)](_0x20caf2);_0x36b00f||_0x2f418f?_0x36b00f&&_0x2f418f&&this[_0x582a03(0x224)](_0x20caf2):this[_0x582a03(0x1fa)](_0x20caf2);}this[_0x582a03(0x25d)][_0x582a03(0x201)](),this[_0x582a03(0x280)][_0x582a03(0x273)][_0x582a03(0x1ee)](_0x582a03(0x252))[_0x582a03(0x236)](),this[_0x582a03(0x291)]();},0xa),this[_0x272ee0(0x25d)][_0x272ee0(0x219)](_0x3ef4f7,_0xc0016e);}[_0x32b855(0x1f4)](){const _0x1463ef=_0x32b855,_0x3f5916=this[_0x1463ef(0x280)],_0x39689c=_0x3f5916[_0x1463ef(0x273)][_0x1463ef(0x1ee)](_0x1463ef(0x210)),_0x4a3e27=_0x3f5916[_0x1463ef(0x273)][_0x1463ef(0x1ee)](_0x1463ef(0x202)),_0x360915=_0x3f5916[_0x1463ef(0x273)][_0x1463ef(0x1ee)](_0x1463ef(0x252)),_0x157d4e=_0x3f5916[_0x1463ef(0x273)][_0x1463ef(0x1ee)](_0x1463ef(0x228));this[_0x1463ef(0x205)](),_0x360915[_0x1463ef(0x21a)](()=>{const _0x5b6cc7=_0x1463ef,_0x69a4dd=[];for(const [_0x11b8e3,_0x389cb3]of Array[_0x5b6cc7(0x21d)](this[_0x5b6cc7(0x200)])){const _0x53f377=_0x11b8e3[_0x5b6cc7(0x20f)](),_0x31b74d=[];for(const _0x171c34 of _0x53f377){if(!_0x171c34[_0x5b6cc7(0x1f9)])continue;if(_0x171c34[_0x5b6cc7(0x215)]){_0x31b74d[_0x5b6cc7(0x1ea)](..._0x171c34[_0x5b6cc7(0x1ff)]());continue;}const _0x5c4533=_0x171c34[_0x5b6cc7(0x277)]();if(_0x31b74d[_0x5b6cc7(0x264)]>0x0){const _0x39b7f9=_0x31b74d[0x0][_0x5b6cc7(0x276)](_0x5c4533);if(_0x39b7f9){_0x31b74d[0x0]=_0x39b7f9;continue;}}_0x31b74d[_0x5b6cc7(0x1ea)](_0x5c4533);}_0x69a4dd[_0x5b6cc7(0x1ea)]([_0x389cb3[_0x5b6cc7(0x299)],_0x31b74d]);}return _0x69a4dd;}),this[_0x1463ef(0x254)](_0x39689c,_0x1463ef(0x1ed),(_0x331a35,_0x1ac2b7)=>{const _0x4664b0=_0x1463ef;this[_0x4664b0(0x254)](_0x1ac2b7,_0x4664b0(0x256),(_0xfeb72a,_0x1569a1,_0xe5e7a0,_0x23a39e)=>{const _0x120d0e=_0x4664b0;_0x1ac2b7[_0x120d0e(0x1f9)]&&(null==_0xe5e7a0?(this[_0x120d0e(0x1e9)](_0x23a39e[_0x120d0e(0x283)]),this[_0x120d0e(0x26d)](_0x1ac2b7,!0x1)):(this[_0x120d0e(0x1e9)](_0xe5e7a0[_0x120d0e(0x283)]),null==_0x23a39e&&this[_0x120d0e(0x26d)](_0x1ac2b7,!0x0)));}),null!==_0x1ac2b7[_0x4664b0(0x1f3)]?this[_0x4664b0(0x1e9)](_0x1ac2b7[_0x4664b0(0x283)]):this[_0x4664b0(0x26d)](_0x1ac2b7,!0x1);}),this[_0x1463ef(0x254)](_0x39689c,_0x1463ef(0x28d),(_0x4f9c06,_0x1bb35a,_0x3dbaca)=>{const _0x59a56b=_0x1463ef;this[_0x59a56b(0x1eb)](_0x1bb35a,_0x59a56b(0x256)),this[_0x59a56b(0x25d)][_0x59a56b(0x245)](_0x1bb35a),this[_0x59a56b(0x200)][_0x59a56b(0x271)](_0x1bb35a)&&this[_0x59a56b(0x224)](_0x1bb35a),_0x3dbaca&&this[_0x59a56b(0x1e9)](_0x3dbaca[_0x59a56b(0x283)]);}),this[_0x1463ef(0x254)](_0x39689c,_0x1463ef(0x26e),(_0x5dffda,_0x6e83c3)=>{const _0x48b972=_0x1463ef;this[_0x48b972(0x1e9)](_0x6e83c3);}),this[_0x1463ef(0x254)](_0x4a3e27,_0x1463ef(0x22c),()=>{const _0x3afdd4=_0x1463ef;this[_0x3afdd4(0x291)]();}),this[_0x1463ef(0x254)](_0x157d4e,_0x1463ef(0x22e),(_0x280251,{threadId:_0x1122cc,isFromAdapter:_0x593d85})=>{const _0x369938=_0x1463ef;if(_0x593d85||!_0x39689c[_0x369938(0x232)](_0x1122cc))return;const _0x4c329d=_0x39689c[_0x369938(0x24f)](_0x1122cc);this[_0x369938(0x200)][_0x369938(0x1ee)](_0x4c329d)[_0x369938(0x299)][_0x369938(0x279)][_0x369938(0x237)](-0x1);},{'priority':_0x1463ef(0x251)}),this[_0x1463ef(0x204)]=this[_0x1463ef(0x280)][_0x1463ef(0x222)][_0x1463ef(0x1ee)](_0x1463ef(0x204));const _0x2af392=this[_0x1463ef(0x280)];this[_0x1463ef(0x255)]=setInterval(()=>{const _0x5a380a=_0x1463ef;let _0x6c510f;for(const _0x5aacdc in _0x2af392){const _0x13af39=_0x5aacdc,_0x522f2f=_0x2af392[_0x13af39];if(_0x5a380a(0x1f7)==_0x522f2f||_0x5a380a(0x23f)==_0x522f2f||_0x5a380a(0x23e)==_0x522f2f||_0x5a380a(0x218)==_0x522f2f||_0x5a380a(0x24d)==_0x522f2f||_0x5a380a(0x23d)==_0x522f2f||_0x5a380a(0x240)==_0x522f2f||_0x5a380a(0x23b)==_0x522f2f){delete _0x2af392[_0x13af39],_0x6c510f=_0x522f2f,clearInterval(this[_0x5a380a(0x255)]),this[_0x5a380a(0x255)]=void 0x0;break;}}_0x5a380a(0x23f)==_0x6c510f&&_0x2af392[_0x5a380a(0x1f2)](_0x5a380a(0x229)),_0x5a380a(0x23e)==_0x6c510f&&_0x2af392[_0x5a380a(0x1f2)](_0x5a380a(0x286)),_0x5a380a(0x218)==_0x6c510f&&_0x2af392[_0x5a380a(0x1f2)](_0x5a380a(0x28b)),_0x5a380a(0x24d)==_0x6c510f&&_0x2af392[_0x5a380a(0x1f2)](_0x5a380a(0x213),_0x5a380a(0x1f0)),_0x5a380a(0x23d)==_0x6c510f&&_0x2af392[_0x5a380a(0x1f2)](_0x5a380a(0x258)),_0x5a380a(0x240)==_0x6c510f&&_0x2af392[_0x5a380a(0x1f2)](_0x5a380a(0x217)),_0x5a380a(0x23b)==_0x6c510f&&_0x2af392[_0x5a380a(0x1f2)](_0x5a380a(0x24a));},0x3e8);}[_0x32b855(0x295)](_0x2732f9){const _0x4c027d=_0x32b855,_0x357c3e=this[_0x4c027d(0x200)][_0x4c027d(0x1ee)](_0x2732f9);if(!_0x357c3e)return null;return this[_0x4c027d(0x280)][_0x4c027d(0x273)][_0x4c027d(0x1ee)](_0x4c027d(0x202))[_0x4c027d(0x250)](_0x357c3e[_0x4c027d(0x299)])||null;}[_0x32b855(0x262)](_0x4105b6){const _0x505579=_0x32b855,_0x52f103=this[_0x505579(0x275)][_0x505579(0x1ee)](_0x4105b6[_0x505579(0x274)]);return _0x52f103?_0x52f103[_0x505579(0x27e)]:null;}[_0x32b855(0x291)](){const _0x588af6=_0x32b855,_0x4a5e38=this[_0x588af6(0x280)][_0x588af6(0x273)][_0x588af6(0x1ee)](_0x588af6(0x202)),_0x7c53e7=this[_0x588af6(0x280)][_0x588af6(0x273)][_0x588af6(0x1ee)](_0x588af6(0x210)),_0x14fc2f=Array[_0x588af6(0x21d)](_0x4a5e38[_0x588af6(0x267)],_0x2ecc0e=>_0x2ecc0e[_0x588af6(0x274)])[_0x588af6(0x20c)](_0x140911=>this[_0x588af6(0x275)][_0x588af6(0x271)](_0x140911)),_0x37497a=[];for(const _0x5ae6bc of _0x14fc2f){const _0x2c64ac=this[_0x588af6(0x275)][_0x588af6(0x1ee)](_0x5ae6bc)[_0x588af6(0x27e)][_0x588af6(0x20f)]();_0x37497a[_0x588af6(0x1ea)](..._0x2c64ac[_0x588af6(0x27b)]((_0x19b73e,_0x25e6b4)=>[..._0x19b73e,..._0x25e6b4[_0x588af6(0x1f5)]()],[]));}_0x7c53e7[_0x588af6(0x246)]=_0x37497a;}[_0x32b855(0x205)](){const _0x4cea0a=_0x32b855,_0x937cd9=this[_0x4cea0a(0x280)],_0x19e03b=_0x937cd9[_0x4cea0a(0x260)],_0x13238c=_0x52947f(_0x19e03b,_0x4cea0a(0x297)),_0x229cfd=new _0x32ad76([{'type':_0x4cea0a(0x220),'model':new _0x5556d1({'withText':!0x0,'isToggleable':!0x0,'label':_0x13238c,'commandName':_0x4cea0a(0x290),'role':_0x4cea0a(0x207)})},{'type':_0x4cea0a(0x287)},{'type':_0x4cea0a(0x23c),'model':new _0x5556d1({'withText':!0x0,'label':_0x52947f(_0x19e03b,_0x4cea0a(0x281)),'commandName':_0x4cea0a(0x1fb),'role':_0x4cea0a(0x208)})},{'type':_0x4cea0a(0x23c),'model':new _0x5556d1({'withText':!0x0,'label':_0x52947f(_0x19e03b,_0x4cea0a(0x242)),'commandName':_0x4cea0a(0x238),'role':_0x4cea0a(0x208)})},{'type':_0x4cea0a(0x23c),'model':new _0x5556d1({'withText':!0x0,'label':_0x52947f(_0x19e03b,_0x4cea0a(0x239)),'commandName':_0x4cea0a(0x225),'role':_0x4cea0a(0x208)})},{'type':_0x4cea0a(0x23c),'model':new _0x5556d1({'withText':!0x0,'label':_0x52947f(_0x19e03b,_0x4cea0a(0x288)),'commandName':_0x4cea0a(0x284),'role':_0x4cea0a(0x208)})}]);_0x937cd9[_0x4cea0a(0x273)][_0x4cea0a(0x271)](_0x4cea0a(0x24c))&&_0x229cfd[_0x4cea0a(0x25a)]([{'type':_0x4cea0a(0x287)},{'type':_0x4cea0a(0x23c),'model':new _0x5556d1({'withText':!0x0,'label':_0x52947f(_0x19e03b,_0x4cea0a(0x1ec)),'commandName':_0x4cea0a(0x28c),'role':_0x4cea0a(0x208)})}]);for(const _0x237b9d of _0x229cfd)if(ke(_0x237b9d)){const _0x1f70e6=_0x937cd9[_0x4cea0a(0x20b)][_0x4cea0a(0x1ee)](_0x237b9d[_0x4cea0a(0x27e)][_0x4cea0a(0x21e)]);_0x237b9d[_0x4cea0a(0x27e)][_0x4cea0a(0x226)](_0x4cea0a(0x249),_0x4cea0a(0x24b))['to'](_0x1f70e6,_0x4cea0a(0x26c),_0x4cea0a(0x24b));}_0x937cd9['ui'][_0x4cea0a(0x22d)][_0x4cea0a(0x234)](_0x4cea0a(0x290),_0x5f0341=>this[_0x4cea0a(0x23a)](_0x5f0341,_0x229cfd,_0x13238c)),_0x937cd9['ui'][_0x4cea0a(0x22d)][_0x4cea0a(0x234)](_0x4cea0a(0x292),_0x32d2d4=>this[_0x4cea0a(0x282)](_0x32d2d4,_0x229cfd,_0x13238c));}[_0x32b855(0x23a)](_0x2c8904,_0xb5c9bc,_0x3d65bf){const _0x38bd01=_0x32b855,_0x2d0580=_0xec8183(_0x2c8904,_0x55fc17),_0x1c0b15=this[_0x38bd01(0x280)][_0x38bd01(0x20b)][_0x38bd01(0x1ee)](_0x38bd01(0x290));_0x2d0580[_0x38bd01(0x263)][_0x38bd01(0x219)]({'tooltip':_0x3d65bf,'label':_0x3d65bf,'icon':_0x1fb1cf}),_0x2d0580[_0x38bd01(0x263)][_0x38bd01(0x226)](_0x38bd01(0x249))['to'](_0x1c0b15,_0x38bd01(0x26c)),_0x2d0580[_0x38bd01(0x263)]['on'](_0x38bd01(0x22f),()=>{const _0x9da266=_0x38bd01;_0x1c0b15[_0x9da266(0x22f)](),this[_0x9da266(0x280)][_0x9da266(0x20e)][_0x9da266(0x299)][_0x9da266(0x237)]();}),_0x174bec(_0x2d0580,_0xb5c9bc,{'role':_0x38bd01(0x27c)});const _0x72ed2b=[];for(const _0x4f6c55 of _0xb5c9bc)ke(_0x4f6c55)&&_0x72ed2b[_0x38bd01(0x1ea)](this[_0x38bd01(0x280)][_0x38bd01(0x20b)][_0x38bd01(0x1ee)](_0x4f6c55[_0x38bd01(0x27e)][_0x38bd01(0x21e)]));const _0x3db19b=_0x2d0580[_0x38bd01(0x263)];return _0x3db19b[_0x38bd01(0x20d)][_0x38bd01(0x203)](_0x38bd01(0x24b)),_0x3db19b[_0x38bd01(0x296)][_0x38bd01(0x203)](_0x38bd01(0x24b)),_0x3db19b[_0x38bd01(0x20d)][_0x38bd01(0x226)](_0x38bd01(0x24b))['to'](_0x1c0b15,_0x38bd01(0x24b)),_0x3db19b[_0x38bd01(0x296)][_0x38bd01(0x226)](_0x38bd01(0x24b))[_0x38bd01(0x289)](_0x72ed2b,_0x38bd01(0x24b),(..._0x2027ba)=>_0x2027ba[_0x38bd01(0x216)](_0x553afe=>_0x553afe)),_0x2d0580['on'](_0x38bd01(0x22f),_0x49b53f=>{const _0x515fcd=_0x38bd01;this[_0x515fcd(0x280)][_0x515fcd(0x22f)](_0x49b53f[_0x515fcd(0x247)][_0x515fcd(0x21e)]),this[_0x515fcd(0x280)][_0x515fcd(0x20e)][_0x515fcd(0x299)][_0x515fcd(0x237)]();}),_0x2d0580;}[_0x32b855(0x282)](_0x4b5873,_0x7486bb,_0x3c9590){const _0x2f3452=_0x32b855,_0x2827e6=new _0x369232(_0x4b5873),_0x3a30aa=this[_0x2f3452(0x280)][_0x2f3452(0x20b)][_0x2f3452(0x1ee)](_0x2f3452(0x290));_0x2827e6[_0x2f3452(0x263)][_0x2f3452(0x219)]({'label':_0x3c9590,'icon':_0x1fb1cf});const _0x2da5f5=new _0x375b4b(_0x4b5873);for(const _0x2ab88e of _0x7486bb){if(_0x2f3452(0x287)==_0x2ab88e[_0x2f3452(0x22b)]){_0x2da5f5[_0x2f3452(0x231)][_0x2f3452(0x234)](new _0x5d5e0a(_0x4b5873));continue;}const _0x2bb037=new _0x321aab(_0x4b5873,_0x2827e6),_0x1c8ab2=new _0x57bde4(_0x4b5873),_0x5b46ae=_0x2ab88e[_0x2f3452(0x27e)];_0x1c8ab2[_0x2f3452(0x226)](...Object[_0x2f3452(0x1fc)](_0x5b46ae))['to'](_0x5b46ae),_0x1c8ab2[_0x2f3452(0x253)](_0x2f3452(0x22f))['to'](_0x2827e6),_0x1c8ab2['on'](_0x2f3452(0x22f),()=>{const _0x5878cc=_0x2f3452;this[_0x5878cc(0x280)][_0x5878cc(0x22f)](_0x5b46ae[_0x5878cc(0x21e)]),this[_0x5878cc(0x280)][_0x5878cc(0x20e)][_0x5878cc(0x299)][_0x5878cc(0x237)]();}),_0x2bb037[_0x2f3452(0x241)][_0x2f3452(0x234)](_0x1c8ab2),_0x2da5f5[_0x2f3452(0x231)][_0x2f3452(0x234)](_0x2bb037);}return _0x2827e6[_0x2f3452(0x226)](_0x2f3452(0x24b))['to'](_0x3a30aa,_0x2f3452(0x24b)),_0x2827e6[_0x2f3452(0x206)][_0x2f3452(0x241)][_0x2f3452(0x234)](_0x2da5f5),_0x2827e6;}[_0x32b855(0x1fa)](_0x50a7b9){const _0x41a750=_0x32b855,_0x44bb31=this[_0x41a750(0x280)],_0x338bdf=_0x44bb31[_0x41a750(0x222)],_0x206b78=_0x44bb31[_0x41a750(0x273)][_0x41a750(0x1ee)](_0x41a750(0x202)),_0x586a5d=_0x44bb31[_0x41a750(0x273)][_0x41a750(0x1ee)](_0x41a750(0x228)),_0x1c88b2=_0x44bb31[_0x41a750(0x273)][_0x41a750(0x1ee)](_0x41a750(0x252)),_0x12685b=_0x44bb31[_0x41a750(0x273)][_0x41a750(0x1ee)](_0xe43551)['me'],_0xa1fc4b=_0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x290))[_0x41a750(0x26f)],_0x4651b8=_0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x290))[_0x41a750(0x20a)],{CommentsListView:_0x44e62a,CommentThreadInputView:_0x3cd105}=_0x44bb31[_0x41a750(0x273)][_0x41a750(0x1ee)](_0x41a750(0x1fd));let _0x2649b4,_0x2b27b7,_0x318974;this[_0x41a750(0x27d)][_0x41a750(0x271)](_0x50a7b9['id'])?(_0x2b27b7=this[_0x41a750(0x27d)][_0x41a750(0x1ee)](_0x50a7b9['id']),_0x2649b4=_0x2b27b7[_0x41a750(0x261)]):(_0x2649b4=new _0xa1fc4b(_0x44bb31[_0x41a750(0x260)],_0x50a7b9,_0x12685b,{'disableComments':this[_0x41a750(0x270)],'editorConfig':{..._0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x293)),'licenseKey':_0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x204))},'maxCommentsWhenCollapsed':_0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x278)),'maxThreadTotalWeight':_0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x1fe)),'maxCommentCharsWhenCollapsed':_0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x268)),'formatDateTime':_0xdc1cb(_0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x260)),_0x44bb31[_0x41a750(0x260)]),'CommentView':_0x338bdf[_0x41a750(0x1ee)](_0x41a750(0x27f))[_0x41a750(0x212)],'CommentsListView':_0x44e62a,'CommentThreadInputView':_0x3cd105,'SuggestionView':_0x4651b8}),_0x2649b4[_0x41a750(0x223)][_0x41a750(0x25c)]['on'](_0x41a750(0x22f),()=>{const _0x5130ea=_0x41a750;_0x44bb31[_0x5130ea(0x20e)][_0x5130ea(0x299)][_0x5130ea(0x237)]();}),_0x2649b4[_0x41a750(0x223)][_0x41a750(0x21c)]['on'](_0x41a750(0x22f),()=>{const _0x1bc72b=_0x41a750;_0x44bb31[_0x1bc72b(0x20e)][_0x1bc72b(0x299)][_0x1bc72b(0x237)]();}),_0x2b27b7=_0x206b78[_0x41a750(0x25b)](this[_0x41a750(0x280)][_0x41a750(0x260)],_0x2649b4),_0x2b27b7[_0x41a750(0x226)](_0x41a750(0x1ef))['to'](_0x2649b4,_0x41a750(0x1ef)),_0x2b27b7[_0x41a750(0x226)](_0x41a750(0x264))['to'](_0x2649b4),_0x2b27b7[_0x41a750(0x226)](_0x41a750(0x22b))['to'](_0x2649b4,_0x41a750(0x22b),_0x533857=>_0x41a750(0x1f6)+_0x533857),_0x2649b4['on'](_0x41a750(0x209),()=>{const _0x16e6dc=_0x41a750;_0x318974[_0x16e6dc(0x21f)](_0x16e6dc(0x209));}),this[_0x41a750(0x27d)][_0x41a750(0x219)](_0x50a7b9['id'],_0x2b27b7));const _0x292b27=_0x586a5d[_0x41a750(0x24e)](_0x50a7b9[_0x41a750(0x22a)],_0x2649b4),_0x239660=new _0x4352ee(_0x44bb31,_0x50a7b9,_0x2649b4,_0x292b27),_0x4e8a04=_0x50a7b9[_0x41a750(0x20f)]()[_0x41a750(0x20c)](_0x34440c=>_0x34440c[_0x41a750(0x1f9)]);_0x2649b4[_0x41a750(0x244)]=_0x44bb31[_0x41a750(0x273)][_0x41a750(0x1ee)](_0x41a750(0x210))[_0x41a750(0x27a)][_0x41a750(0x266)](_0x4e8a04),this[_0x41a750(0x200)][_0x41a750(0x219)](_0x50a7b9,_0x239660),this[_0x41a750(0x275)][_0x41a750(0x219)](_0x2649b4,_0x239660),_0x318974=_0x206b78[_0x41a750(0x285)]({'view':_0x2b27b7,'target':()=>{const _0x4b05e4=_0x41a750,_0x383f7d=[],_0x12a703=_0x50a7b9[_0x4b05e4(0x20f)]()[_0x4b05e4(0x20c)](_0x96042a=>_0x96042a[_0x4b05e4(0x1f9)]);for(const _0x4cb027 of _0x12a703)_0x383f7d[_0x4b05e4(0x1ea)](..._0x4cb027[_0x4b05e4(0x21b)]());return _0xb39c9f(_0x44bb31[_0x4b05e4(0x20e)],_0x383f7d);},'type':()=>_0x41a750(0x1f6)+_0x239660[_0x41a750(0x299)][_0x41a750(0x22b)]}),_0x586a5d[_0x41a750(0x227)](_0x2649b4,_0x318974),_0x206b78[_0x41a750(0x234)](_0x318974),_0x1c88b2[_0x41a750(0x214)](_0x318974);}[_0x32b855(0x224)](_0x3b624e){const _0x51431a=_0x32b855,_0x3d3053=this[_0x51431a(0x280)][_0x51431a(0x273)][_0x51431a(0x1ee)](_0x51431a(0x228)),_0x378b3e=this[_0x51431a(0x280)][_0x51431a(0x273)][_0x51431a(0x1ee)](_0x51431a(0x202)),_0xde966f=this[_0x51431a(0x200)][_0x51431a(0x1ee)](_0x3b624e),_0x1afd48=_0xde966f[_0x51431a(0x299)],_0x727145=_0x378b3e[_0x51431a(0x250)](_0x1afd48);_0x3d3053[_0x51431a(0x272)](_0x1afd48),_0x727145&&_0x378b3e[_0x51431a(0x233)](_0x727145),this[_0x51431a(0x200)][_0x51431a(0x245)](_0x3b624e),this[_0x51431a(0x275)][_0x51431a(0x245)](_0x1afd48),_0xde966f[_0x51431a(0x265)]();}[_0x32b855(0x1e9)](_0x4e9ee4){const _0x14d57a=_0x32b855;if(!_0x4e9ee4[_0x14d57a(0x1f9)]||!this[_0x14d57a(0x200)][_0x14d57a(0x271)](_0x4e9ee4))return;const _0x227e76=this[_0x14d57a(0x280)][_0x14d57a(0x273)][_0x14d57a(0x1ee)](_0x14d57a(0x210)),_0x3a0b43=this[_0x14d57a(0x200)][_0x14d57a(0x1ee)](_0x4e9ee4),_0xf56e55=_0x4e9ee4[_0x14d57a(0x20f)]();_0x3a0b43[_0x14d57a(0x299)][_0x14d57a(0x244)]=_0x227e76[_0x14d57a(0x27a)][_0x14d57a(0x266)](_0xf56e55);}[_0x32b855(0x265)](){const _0x401dc7=_0x32b855;for(const _0x562c26 of this[_0x401dc7(0x200)][_0x401dc7(0x1fc)]())this[_0x401dc7(0x224)](_0x562c26);for(const _0x3d1503 of this[_0x401dc7(0x27d)][_0x401dc7(0x230)]())_0x3d1503[_0x401dc7(0x261)][_0x401dc7(0x265)]();super[_0x401dc7(0x265)](),this[_0x401dc7(0x255)]&&clearInterval(this[_0x401dc7(0x255)]);}}function ke(_0x32f516){const _0x57542f=_0x32b855;return _0x57542f(0x27e)in _0x32f516;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1df974=_0x1b9e;(function(_0x19b5d1,_0x4f0aad){const _0x5f296f=_0x1b9e,_0x2a069f=_0x19b5d1();while(!![]){try{const _0x4d060f=-parseInt(_0x5f296f(0x141))/0x1*(-parseInt(_0x5f296f(0x146))/0x2)+-parseInt(_0x5f296f(0x14f))/0x3+-parseInt(_0x5f296f(0x149))/0x4*(-parseInt(_0x5f296f(0x14c))/0x5)+-parseInt(_0x5f296f(0x148))/0x6*(parseInt(_0x5f296f(0x13e))/0x7)+parseInt(_0x5f296f(0x13d))/0x8+-parseInt(_0x5f296f(0x134))/0x9*(parseInt(_0x5f296f(0x13b))/0xa)+parseInt(_0x5f296f(0x157))/0xb*(parseInt(_0x5f296f(0x13a))/0xc);if(_0x4d060f===_0x4f0aad)break;else _0x2a069f['push'](_0x2a069f['shift']());}catch(_0x385579){_0x2a069f['push'](_0x2a069f['shift']());}}}(_0x3086,0xb4e79));import{ObservableMixin as _0x585fef}from'ckeditor5/src/utils.js';function _0x1b9e(_0x2bafb4,_0x420b5e){const _0x308603=_0x3086();return _0x1b9e=function(_0x1b9e39,_0x30b82a){_0x1b9e39=_0x1b9e39-0x132;let _0x2f4a25=_0x308603[_0x1b9e39];return _0x2f4a25;},_0x1b9e(_0x2bafb4,_0x420b5e);}function _0x3086(){const _0x9a74a0=['_discardCommand','view','6536470kjtJKF','execute','locale','3349197QpHttF','change:isDirty','_pendingAction','acceptSuggestion','commentThreadController','listenTo','isDirty','unbind','88WRQMcO','discardSuggestion','canDiscard','getRanges','isEnabled','canAccept','_setPendingAction','destroy','_removePendingAction','216sPenwO','stopListening','plugins','canEditAt','_editor','PendingActions','1080360SXOwCv','214420OmDWVq','bind','5891328PyOifn','7itOQgd','PENDING_ACTION_SUGGESTION','_acceptCommand','3569JPdPua','commands','model','remove','add','362ucoLuG','get','6227682EFcatj','4uXiDYT'];_0x3086=function(){return _0x9a74a0;};return _0x3086();}import{getTranslation as _0x450805}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x585fef(){[_0x1df974(0x143)];[_0x1df974(0x14b)];[_0x1df974(0x153)];[_0x1df974(0x138)];[_0x1df974(0x140)];[_0x1df974(0x14a)];[_0x1df974(0x151)];constructor(_0x3ac32f,_0xa252f2,_0x5d3d0e,_0x2af314){const _0x568962=_0x1df974;super(),this[_0x568962(0x143)]=_0xa252f2,this[_0x568962(0x14b)]=_0x5d3d0e,this[_0x568962(0x153)]=_0x2af314,this[_0x568962(0x138)]=_0x3ac32f,this[_0x568962(0x140)]=_0x3ac32f[_0x568962(0x142)][_0x568962(0x147)](_0x568962(0x152)),this[_0x568962(0x14a)]=_0x3ac32f[_0x568962(0x142)][_0x568962(0x147)](_0x568962(0x158)),this[_0x568962(0x14b)][_0x568962(0x13c)](_0x568962(0x15b))['to'](this[_0x568962(0x140)],this[_0x568962(0x14a)],(_0x1989a3,_0x4efbdc)=>_0x1989a3||_0x4efbdc),this[_0x568962(0x14b)][_0x568962(0x13c)](_0x568962(0x15c))['to'](this[_0x568962(0x140)],_0x568962(0x15b),_0x2f35f1=>_0x2f35f1&&this[_0x568962(0x138)][_0x568962(0x143)][_0x568962(0x137)](_0xa252f2[_0x568962(0x15a)]())),this[_0x568962(0x14b)][_0x568962(0x13c)](_0x568962(0x159))['to'](this[_0x568962(0x14a)],_0x568962(0x15b),_0x50768c=>_0x50768c&&this[_0x568962(0x138)][_0x568962(0x143)][_0x568962(0x137)](_0xa252f2[_0x568962(0x15a)]())),this[_0x568962(0x151)]=null,_0x5d3d0e[_0x568962(0x155)]&&this[_0x568962(0x15d)](),this[_0x568962(0x154)](_0x5d3d0e,_0x568962(0x152),()=>this[_0x568962(0x152)]()),this[_0x568962(0x154)](_0x5d3d0e,_0x568962(0x158),()=>this[_0x568962(0x158)]()),this[_0x568962(0x154)](_0x5d3d0e,_0x568962(0x150),()=>{const _0x59d6c8=_0x568962;_0x5d3d0e[_0x59d6c8(0x155)]?this[_0x59d6c8(0x15d)]():this[_0x59d6c8(0x133)]();});}[_0x1df974(0x152)](){const _0x56b00e=_0x1df974;this[_0x56b00e(0x140)][_0x56b00e(0x14d)](this[_0x56b00e(0x143)]['id']);}[_0x1df974(0x158)](){const _0x30ed27=_0x1df974;this[_0x30ed27(0x14a)][_0x30ed27(0x14d)](this[_0x30ed27(0x143)]['id']);}[_0x1df974(0x132)](){const _0x24f104=_0x1df974;this[_0x24f104(0x14b)][_0x24f104(0x156)](_0x24f104(0x15b)),this[_0x24f104(0x14b)][_0x24f104(0x156)](_0x24f104(0x15c)),this[_0x24f104(0x14b)][_0x24f104(0x156)](_0x24f104(0x159)),this[_0x24f104(0x135)](),this[_0x24f104(0x153)][_0x24f104(0x132)](),this[_0x24f104(0x151)]&&this[_0x24f104(0x133)]();}[_0x1df974(0x15d)](){const _0xc6f448=_0x1df974,_0x275437=_0x450805(this[_0xc6f448(0x138)][_0xc6f448(0x14e)],_0xc6f448(0x13f));this[_0xc6f448(0x151)]=this[_0xc6f448(0x138)][_0xc6f448(0x136)][_0xc6f448(0x147)](_0xc6f448(0x139))[_0xc6f448(0x145)](_0x275437);}[_0x1df974(0x133)](){const _0x47ef1d=_0x1df974;null!==this[_0x47ef1d(0x151)]&&this[_0x47ef1d(0x138)][_0x47ef1d(0x136)][_0x47ef1d(0x147)](_0x47ef1d(0x139))[_0x47ef1d(0x144)](this[_0x47ef1d(0x151)]),this[_0x47ef1d(0x151)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe644f0=_0x9183;(function(_0x30c3ce,_0x4f9ae5){const _0x11d978=_0x9183,_0x16a962=_0x30c3ce();while(!![]){try{const _0x2374c5=-parseInt(_0x11d978(0x1fc))/0x1*(-parseInt(_0x11d978(0x202))/0x2)+parseInt(_0x11d978(0x1c7))/0x3+parseInt(_0x11d978(0x1f3))/0x4+-parseInt(_0x11d978(0x1c1))/0x5+-parseInt(_0x11d978(0x1be))/0x6*(parseInt(_0x11d978(0x1cf))/0x7)+parseInt(_0x11d978(0x1c8))/0x8+-parseInt(_0x11d978(0x1d7))/0x9*(parseInt(_0x11d978(0x200))/0xa);if(_0x2374c5===_0x4f9ae5)break;else _0x16a962['push'](_0x16a962['shift']());}catch(_0x15281b){_0x16a962['push'](_0x16a962['shift']());}}}(_0x526b,0x786f0));import{FocusCycler as _0x14cea4,View as _0x51c804,ViewCollection as _0xc26114}from'ckeditor5/src/ui.js';import{FocusTracker as _0x27aed1,KeystrokeHandler as _0x380f63}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x114707,setupThreadKeyboardNavigation as _0x333c6e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x526b(){const _0x45a75c=['855GZYcTV','length','target','destroy','CommentView','addComment','commentThreadInputView','bind','isEnabled','name','_createCommentViews','canDiscard','submit','fire','isDirty','cancel','SUGGESTION_THREAD_ARIA_LABEL','_config','element','focusables','assign','SUGGESTION_THREAD_DESCRIPTION','disabledSubmit','render','_createCommentThreadInputView','content','authoredAt','author','190056nmqxCp','_localUser','focusTracker','updateComment','delegate','join','removeComment','_model','commentThread','903553SZSIJL','map','keystrokes','editorConfig','2930dTnqfp','focus','2xmfyKc','showInput','hasDirtyComment','textContent','tab','714558vZPdQw','formatDateTime','set','4507580ftLalA','canAccept','commentsListView','isReadOnly','locale','focusCycler','2943645wxGiLO','2592128SXnooO','ariaDescriptionView','body','commentInputView','parseFromString','shift+tab','setData','49bUtQer','value','disableComments','isActive','editor','text/html','ariaLabel','descriptionParts'];_0x526b=function(){return _0x45a75c;};return _0x526b();}import{getTranslation as _0x434edd}from'../../utils/common-translations.js';function _0x9183(_0x25ec34,_0x537480){const _0x526b6b=_0x526b();return _0x9183=function(_0x918333,_0x8de0ef){_0x918333=_0x918333-0x1ba;let _0x1fbdac=_0x526b6b[_0x918333];return _0x1fbdac;},_0x9183(_0x25ec34,_0x537480);}import{renderDescription as _0x26e857}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x51c804{[_0xe644f0(0x1c3)];[_0xe644f0(0x1dd)];[_0xe644f0(0x1c9)];[_0xe644f0(0x1ea)];[_0xe644f0(0x1f5)];[_0xe644f0(0x1fe)];[_0xe644f0(0x1c6)];[_0xe644f0(0x1fa)];[_0xe644f0(0x1f4)];[_0xe644f0(0x1e8)];constructor(_0x5dba8d,_0x1bc283,_0x63e06a,_0x19f26b){const _0x22db92=_0xe644f0;super(_0x5dba8d),this[_0x22db92(0x1c3)]=null,this[_0x22db92(0x1dd)]=null,this[_0x22db92(0x1c9)]=new _0x114707(_0x5dba8d,_0x434edd(_0x5dba8d,_0x22db92(0x1ec))),this[_0x22db92(0x1c0)](_0x22db92(0x1d2),!0x1),this[_0x22db92(0x1c0)](_0x22db92(0x1f1),_0x1bc283[_0x22db92(0x1f1)]),this[_0x22db92(0x1de)](_0x22db92(0x1f1))['to'](_0x1bc283),this[_0x22db92(0x1c0)](_0x22db92(0x1d6),[]),this[_0x22db92(0x1c0)](_0x22db92(0x1e5),!0x1),this[_0x22db92(0x1c0)](_0x22db92(0x1df),!0x1),this[_0x22db92(0x1c0)](_0x22db92(0x1c2),!0x1),this[_0x22db92(0x1c0)](_0x22db92(0x1e2),!0x1),this[_0x22db92(0x1de)](_0x22db92(0x1d5))['to'](this,_0x22db92(0x1d8),_0x1bc283,_0x22db92(0x1f1),this,_0x22db92(0x1d6),(_0x4415cf,_0x4378ad,_0x5d9c5a)=>{const _0x25c65c=_0x22db92,_0x37170d=_0x5d9c5a[_0x25c65c(0x1fd)](_0x55fca7=>_0x26e857(_0x55fca7[_0x25c65c(0x1f0)]))[_0x25c65c(0x1f8)]('.\x20')+'.';return _0x434edd(this[_0x25c65c(0x1c5)],_0x25c65c(0x1e7),[_0x4415cf-0x1,_0x1bc283[_0x25c65c(0x1f2)][_0x25c65c(0x1e0)],_0x4378ad?_0x19f26b[_0x25c65c(0x1bf)](_0x4378ad):'',new DOMParser()[_0x25c65c(0x1cc)](_0x37170d,_0x25c65c(0x1d4))[_0x25c65c(0x1ca)][_0x25c65c(0x1bc)]]);}),this[_0x22db92(0x1ea)]=new _0xc26114(),this[_0x22db92(0x1f5)]=new _0x27aed1(),this[_0x22db92(0x1fe)]=new _0x380f63(),this[_0x22db92(0x1c6)]=new _0x14cea4({'focusables':this[_0x22db92(0x1ea)],'focusTracker':this[_0x22db92(0x1f5)],'keystrokeHandler':this[_0x22db92(0x1fe)],'keystrokeHandlerOptions':{'filter':_0x239c96=>_0x239c96[_0x22db92(0x1d9)]!==this[_0x22db92(0x1e9)]},'actions':{'focusPrevious':_0x22db92(0x1cd),'focusNext':_0x22db92(0x1bd)}}),this[_0x22db92(0x1fa)]=_0x1bc283,this[_0x22db92(0x1f4)]=_0x63e06a,this[_0x22db92(0x1e8)]=_0x19f26b,_0x19f26b[_0x22db92(0x1d1)]?this[_0x22db92(0x1c0)](_0x22db92(0x1d8),0x1):this[_0x22db92(0x1e1)]();}[_0xe644f0(0x1ee)](){const _0x336b49=_0xe644f0;super[_0x336b49(0x1ee)](),_0x333c6e(this,this[_0x336b49(0x1ea)]);}[_0xe644f0(0x201)](){const _0x5768da=_0xe644f0;this[_0x5768da(0x1e9)][_0x5768da(0x201)]();}[_0xe644f0(0x1da)](){const _0x50b9cb=_0xe644f0;this[_0x50b9cb(0x1c3)]&&this[_0x50b9cb(0x1c3)][_0x50b9cb(0x1da)](),this[_0x50b9cb(0x1dd)]&&this[_0x50b9cb(0x1dd)][_0x50b9cb(0x1da)](),super[_0x50b9cb(0x1da)]();}[_0xe644f0(0x1e1)](){const _0x452052=_0xe644f0,{CommentsListView:_0x4eb16c}=this[_0x452052(0x1e8)];this[_0x452052(0x1c3)]=new _0x4eb16c(this[_0x452052(0x1c5)],this[_0x452052(0x1fa)][_0x452052(0x1fb)],Object[_0x452052(0x1eb)]({'CommentView':this[_0x452052(0x1e8)][_0x452052(0x1db)]},this[_0x452052(0x1e8)])),this[_0x452052(0x1c3)][_0x452052(0x1f7)](_0x452052(0x1f9))['to'](this),this[_0x452052(0x1c3)][_0x452052(0x1f7)](_0x452052(0x1f6))['to'](this),this[_0x452052(0x1c3)][_0x452052(0x1de)](_0x452052(0x1d2))['to'](this),this[_0x452052(0x1c0)](_0x452052(0x1d8),this[_0x452052(0x1c3)][_0x452052(0x1d8)]+0x1),this[_0x452052(0x1de)](_0x452052(0x1d8))['to'](this[_0x452052(0x1c3)],_0x452052(0x1d8),_0x409767=>_0x409767+0x1),this[_0x452052(0x1dd)]=this[_0x452052(0x1ef)](),this['on'](_0x452052(0x1f9),()=>this[_0x452052(0x201)]()),this[_0x452052(0x1de)](_0x452052(0x1e5))['to'](this[_0x452052(0x1c3)],_0x452052(0x1bb),this[_0x452052(0x1dd)][_0x452052(0x1cb)],_0x452052(0x1d0),(_0x4bb457,_0x47f844)=>_0x4bb457||!!_0x47f844);}[_0xe644f0(0x1ef)](){const _0xbc77b2=_0xe644f0,{CommentThreadInputView:_0x435680}=this[_0xbc77b2(0x1e8)],_0x3bc8c4=new _0x435680(this[_0xbc77b2(0x1c5)],this[_0xbc77b2(0x1f4)],this[_0xbc77b2(0x1e8)][_0xbc77b2(0x1ff)]),_0x3280e6=_0x3bc8c4[_0xbc77b2(0x1cb)];return _0x3bc8c4[_0xbc77b2(0x1de)](_0xbc77b2(0x1ba))['to'](this,_0xbc77b2(0x1d2),this[_0xbc77b2(0x1fa)][_0xbc77b2(0x1fb)],_0xbc77b2(0x1c4),_0x3280e6,_0xbc77b2(0x1d0),(_0x909dea,_0x51709d,_0x4b4754)=>!!_0x4b4754||_0x909dea&&!_0x51709d),_0x3280e6['on'](_0xbc77b2(0x1e3),(_0x109ece,_0x596b07)=>{const _0xfd47aa=_0xbc77b2;this[_0xfd47aa(0x1e4)](_0xfd47aa(0x1dc),_0x596b07),_0x3280e6[_0xfd47aa(0x1d3)][_0xfd47aa(0x1ce)]('');}),_0x3280e6['on'](_0xbc77b2(0x1e6),()=>this[_0xbc77b2(0x201)]()),_0x3280e6[_0xbc77b2(0x1de)](_0xbc77b2(0x1ed))['to'](this[_0xbc77b2(0x1fa)][_0xbc77b2(0x1fb)],_0xbc77b2(0x1c4)),_0x3bc8c4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5563b2=_0x1749;function _0x1749(_0x2d2b16,_0x119651){const _0x25244a=_0x2524();return _0x1749=function(_0x174922,_0x3407b9){_0x174922=_0x174922-0xbb;let _0x4e4360=_0x25244a[_0x174922];return _0x4e4360;},_0x1749(_0x2d2b16,_0x119651);}(function(_0x400aae,_0x2c1b86){const _0x1f6d95=_0x1749,_0x49d9fa=_0x400aae();while(!![]){try{const _0x5caa93=-parseInt(_0x1f6d95(0xc2))/0x1+parseInt(_0x1f6d95(0xc8))/0x2+parseInt(_0x1f6d95(0xc9))/0x3*(-parseInt(_0x1f6d95(0xf2))/0x4)+parseInt(_0x1f6d95(0xcf))/0x5+-parseInt(_0x1f6d95(0xc6))/0x6*(parseInt(_0x1f6d95(0xc0))/0x7)+-parseInt(_0x1f6d95(0xcb))/0x8+parseInt(_0x1f6d95(0xdf))/0x9;if(_0x5caa93===_0x2c1b86)break;else _0x49d9fa['push'](_0x49d9fa['shift']());}catch(_0x4f4b82){_0x49d9fa['push'](_0x49d9fa['shift']());}}}(_0x2524,0x69bec));function _0x2524(){const _0x34259c=['discardButton','isActive','commentThreadInputView','11403360Lxvpwc','commentThread','render','editorReady','set','discardSuggestion','listitem','ck-rounded-corners','acceptButton','suggestionView','author','bindTemplate','ck-suggestion-wrapper','<p>','SuggestionView','disableComments','_descriptionElement','content','_config','2596732eRWQqR','add','delegate','descriptionParts','</p>','focusables','367654osytGO','description','210499AhDivs','type','div','setTemplate','36TvVggu','acceptSuggestion','389462pAeYAS','3MjdMCB','editorDestroyed','1362280Flvmja','push','color','ck-suggestion-wrapper--active','1582300YdilXb','canAccept','canDiscard','formatDateTime','ck-suggestion--disabled-comments','ariaLabel','commentsListView','ariaDescriptionView','getTemplate','bind','_model','ck-suggestion-','isEnabled'];_0x2524=function(){return _0x34259c;};return _0x2524();}import{BaseSuggestionThreadView as _0x4ab56b}from'./basesuggestionthreadview.js';import{trimHtml as _0xcfa1d}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x2535d2}from'../../utils/utils.js';export class SuggestionThreadView extends _0x4ab56b{[_0x5563b2(0xe8)];[_0x5563b2(0xef)];constructor(_0x1eadfb,_0x407224,_0x1fe3e5,_0x5c065b){const _0x26f298=_0x5563b2;super(_0x1eadfb,_0x407224,_0x1fe3e5,_0x5c065b),this[_0x26f298(0xe3)](_0x26f298(0xc3),''),this[_0x26f298(0xd8)](_0x26f298(0xc3))['to'](this,_0x26f298(0xbd),_0x5f39f3=>_0x5f39f3&&_0x5f39f3[0x0]?_0x5f39f3[0x0][_0x26f298(0xc3)]:''),this[_0x26f298(0xd8)](_0x26f298(0xc1))['to'](this,_0x26f298(0xbd),this,_0x26f298(0xdd),(_0x108436,_0x2f6ec1)=>{const _0x422019=_0x26f298;let _0x4bb18b='';for(const _0x4aa360 of _0x108436)_0x4bb18b+=_0x422019(0xec)+_0x2535d2(_0x4aa360[_0x422019(0xf0)],_0x4aa360[_0x422019(0xcd)])+_0x422019(0xbe);return _0x2f6ec1?_0x4bb18b:_0xcfa1d(_0x4bb18b,{'limit':0x8c});}),this[_0x26f298(0xef)]=null,this[_0x26f298(0xe8)]=new _0x5c065b[(_0x26f298(0xed))](_0x1eadfb,_0x407224,{'formatDateTime':_0x5c065b[_0x26f298(0xd2)]}),this[_0x26f298(0xe8)][_0x26f298(0xd8)](_0x26f298(0xc1))['to'](this),this[_0x26f298(0xe8)][_0x26f298(0xbc)](_0x26f298(0xc7),_0x26f298(0xe4))['to'](this),this[_0x26f298(0xe8)][_0x26f298(0xe7)][_0x26f298(0xd8)](_0x26f298(0xdb))['to'](this,_0x26f298(0xd0)),this[_0x26f298(0xe8)][_0x26f298(0xdc)][_0x26f298(0xd8)](_0x26f298(0xdb))['to'](this,_0x26f298(0xd1)),this[_0x26f298(0xbf)][_0x26f298(0xbb)](this[_0x26f298(0xe8)]),this[_0x26f298(0xd5)]&&this[_0x26f298(0xbf)][_0x26f298(0xbb)](this[_0x26f298(0xd5)]),this[_0x26f298(0xde)]&&this[_0x26f298(0xbf)][_0x26f298(0xbb)](this[_0x26f298(0xde)]),this[_0x26f298(0xc5)](this[_0x26f298(0xd7)]());}[_0x5563b2(0xd7)](){const _0x3808c0=_0x5563b2,_0x5630a9=this[_0x3808c0(0xea)],_0x1b6930=[this[_0x3808c0(0xe8)]];return this[_0x3808c0(0xd5)]&&_0x1b6930[_0x3808c0(0xcc)](this[_0x3808c0(0xd5)]),this[_0x3808c0(0xde)]&&_0x1b6930[_0x3808c0(0xcc)](this[_0x3808c0(0xde)]),_0x1b6930[_0x3808c0(0xcc)](this[_0x3808c0(0xd6)]),{'tag':_0x3808c0(0xc4),'attributes':{'class':['ck',_0x3808c0(0xe6),_0x3808c0(0xeb),_0x5630a9['if'](_0x3808c0(0xdd),_0x3808c0(0xce)),_0x5630a9['to'](_0x3808c0(0xc3),_0x3f6918=>_0x3808c0(0xda)+_0x3f6918),this[_0x3808c0(0xf1)][_0x3808c0(0xee)]&&_0x3808c0(0xd3)],'data-suggestion-id':this[_0x3808c0(0xd9)]['id'],'data-thread-id':this[_0x3808c0(0xd9)][_0x3808c0(0xe0)]['id'],'data-author-id':this[_0x3808c0(0xd9)][_0x3808c0(0xe9)]['id'],'tabindex':0x0,'role':_0x3808c0(0xe5),'aria-label':_0x5630a9['to'](_0x3808c0(0xd4)),'aria-describedby':this[_0x3808c0(0xd6)]['id']},'children':_0x1b6930};}[_0x5563b2(0xe1)](){const _0x2a29db=_0x5563b2;super[_0x2a29db(0xe1)](),this[_0x2a29db(0xd5)]&&(this[_0x2a29db(0xd5)][_0x2a29db(0xbc)](_0x2a29db(0xe2))['to'](this),this[_0x2a29db(0xd5)][_0x2a29db(0xbc)](_0x2a29db(0xca))['to'](this)),this[_0x2a29db(0xde)]&&(this[_0x2a29db(0xde)][_0x2a29db(0xbc)](_0x2a29db(0xe2))['to'](this),this[_0x2a29db(0xde)][_0x2a29db(0xbc)](_0x2a29db(0xca))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4478df=_0x15b2;function _0x15b2(_0x71dc62,_0x407aa5){const _0x44a71b=_0x44a7();return _0x15b2=function(_0x15b20d,_0x1c1bd5){_0x15b20d=_0x15b20d-0x76;let _0x93963e=_0x44a71b[_0x15b20d];return _0x93963e;},_0x15b2(_0x71dc62,_0x407aa5);}(function(_0x247029,_0x34c690){const _0x457513=_0x15b2,_0x49d365=_0x247029();while(!![]){try{const _0x49e29e=parseInt(_0x457513(0x8c))/0x1*(parseInt(_0x457513(0xb4))/0x2)+-parseInt(_0x457513(0x90))/0x3*(parseInt(_0x457513(0xad))/0x4)+parseInt(_0x457513(0x76))/0x5*(parseInt(_0x457513(0xb9))/0x6)+parseInt(_0x457513(0xa5))/0x7+-parseInt(_0x457513(0xc1))/0x8+parseInt(_0x457513(0x97))/0x9*(parseInt(_0x457513(0x99))/0xa)+parseInt(_0x457513(0xa8))/0xb*(-parseInt(_0x457513(0xce))/0xc);if(_0x49e29e===_0x34c690)break;else _0x49d365['push'](_0x49d365['shift']());}catch(_0x1a81d6){_0x49d365['push'](_0x49d365['shift']());}}}(_0x44a7,0xf0343));import{FocusTracker as _0x4c468c,KeystrokeHandler as _0x44be76}from'ckeditor5/src/utils.js';import{View as _0x5bba4d,ViewCollection as _0x3f68c0,FocusCycler as _0x26253d}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x31e340,UserView as _0x3bdc41}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x509a53,IconCheck as _0x372a78}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d3bf6}from'../../utils/common-translations.js';function _0x44a7(){const _0x1b8cb7=['EXTERNAL_IMPORT_WORD_SUGGESTION','9764657UMFjKP','getExternalSuggestionNote','change:description','11CgMquo','ck-suggestion__user','ck-suggestion__info-name','extendTemplate','ck-suggestion--accept','7264716dmmWVc','EXTERNAL_SUGGESTION','esc','attributes','set','ck-annotation__user','ck-annotation','307124WTnKkV','ck-suggestion__main','formatDateTime','Discard\x20suggestion','render','1035888ZCseOJ','author','creator','Accept\x20suggestion','discardSuggestion','ck-suggestion--discard','acceptSuggestion','locale','13170792nBZPib','setTemplate','querySelector','ck-suggestion','focusTracker','ck-suggestion__actions','push','ck-annotation__main','name','target','getTemplate','ck-annotation__info-name','ck-comment__info-time','16817304KMGcWe','authoredAt','description','35uVmFBK','element','importWord','keystrokes','ck-annotation__info-time','bind','fire','div','innerHTML','focusCycler','presentation','isExternal','userView','ck-annotation__info','tab','execute','ck-annotation__actions','_createButton','focus','span','EXTERNAL_IMPORT_WORD_AVATAR','discardButton','11PiRvFY','listenTo','focusFirst','enter','3TYRqeo','ck-suggestion__info','bindTemplate','add','ck-annotation__content-wrapper','getUserViewNotificationText','focusables','666504rQAaLr','source','210zvSttJ','_config','.ck-annotation__content-wrapper','@external','acceptButton','ck-comment__external','EXTERNAL_AVATAR','_setupKeyboardNavigation','time','_model','shift+tab'];_0x44a7=function(){return _0x1b8cb7;};return _0x44a7();}export class SuggestionView extends _0x5bba4d{[_0x4478df(0x82)];[_0x4478df(0x9d)];[_0x4478df(0x8b)];[_0x4478df(0x96)];[_0x4478df(0xc5)];[_0x4478df(0x79)];[_0x4478df(0x7f)];[_0x4478df(0xa2)];[_0x4478df(0x9a)];constructor(_0x5bf45f,_0x54728a,_0x38d83b){const _0x4a3e07=_0x4478df;super(_0x5bf45f),this[_0x4a3e07(0xa2)]=_0x54728a,this[_0x4a3e07(0x9a)]=_0x38d83b,this[_0x4a3e07(0xb1)](_0x4a3e07(0xd0),''),this[_0x4a3e07(0x7b)](_0x4a3e07(0xcf))['to'](_0x54728a),this[_0x4a3e07(0x9d)]=this[_0x4a3e07(0x87)](_0x2d3bf6(_0x5bf45f,_0x4a3e07(0xbc)),_0x372a78,_0x4a3e07(0xac),_0x4a3e07(0xbf),'sw'),this[_0x4a3e07(0x8b)]=this[_0x4a3e07(0x87)](_0x2d3bf6(_0x5bf45f,_0x4a3e07(0xb7)),_0x509a53,_0x4a3e07(0xbe),_0x4a3e07(0xbd),'sw'),this[_0x4a3e07(0x82)]=new _0x3bdc41(_0x5bf45f,_0x54728a[_0x4a3e07(0xba)],this[_0x4a3e07(0x95)]()),this[_0x4a3e07(0x82)][_0x4a3e07(0xab)]({'attributes':{'class':[_0x4a3e07(0xa9),_0x4a3e07(0xb2)],'aria-hidden':!0x0}}),this[_0x4a3e07(0x96)]=new _0x3f68c0([this[_0x4a3e07(0x9d)],this[_0x4a3e07(0x8b)]]),this[_0x4a3e07(0xc5)]=new _0x4c468c(),this[_0x4a3e07(0x79)]=new _0x44be76(),this[_0x4a3e07(0x7f)]=new _0x26253d({'focusables':this[_0x4a3e07(0x96)],'focusTracker':this[_0x4a3e07(0xc5)],'keystrokeHandler':this[_0x4a3e07(0x79)],'actions':{'focusPrevious':_0x4a3e07(0xa3),'focusNext':_0x4a3e07(0x84)},'keystrokeHandlerOptions':{'filter':_0x3d9521=>_0x3d9521[_0x4a3e07(0xca)]!==this[_0x4a3e07(0x77)]}}),this[_0x4a3e07(0xc2)](this[_0x4a3e07(0xcb)]());}[_0x4478df(0xb8)](){const _0x5663c7=_0x4478df;super[_0x5663c7(0xb8)]();const _0x3749d1=this[_0x5663c7(0x77)][_0x5663c7(0xc3)](_0x5663c7(0x9b));_0x3749d1[_0x5663c7(0x7e)]=this[_0x5663c7(0xd0)],this['on'](_0x5663c7(0xa7),(_0x53e022,_0x25854a,_0x3285ce)=>{const _0x3049b8=_0x5663c7;_0x3749d1[_0x3049b8(0x7e)]=_0x3285ce;}),this[_0x5663c7(0xa0)]();}[_0x4478df(0xcb)](){const _0x361b04=_0x4478df,_0x668df4=this[_0x361b04(0x92)],_0x3a344f=[{'tag':_0x361b04(0x7d),'attributes':{'class':[_0x361b04(0x91),_0x361b04(0x83)]},'children':[{'tag':_0x361b04(0x89),'children':[{'text':this[_0x361b04(0x82)][_0x361b04(0xc9)]}],'attributes':{'class':[_0x361b04(0xaa),_0x361b04(0xcc)],'data-cke-tooltip-text':this[_0x361b04(0x82)][_0x361b04(0xc9)]}},{'tag':_0x361b04(0xa1),'attributes':{'datetime':_0x668df4['to'](_0x361b04(0xcf)),'class':[_0x361b04(0xcd),_0x361b04(0x7a)]},'children':[{'text':_0x668df4['to'](_0x361b04(0xcf),_0x5e4082=>this[_0x361b04(0x9a)][_0x361b04(0xb6)](_0x5e4082))}]}]},{'tag':_0x361b04(0x7d),'attributes':{'class':[_0x361b04(0xc6),_0x361b04(0x86)]},'children':[this[_0x361b04(0x9d)],this[_0x361b04(0x8b)]]},{'tag':_0x361b04(0x7d),'attributes':{'class':[_0x361b04(0x94)]}}];return this[_0x361b04(0xa2)][_0x361b04(0x81)]&&_0x3a344f[_0x361b04(0xc7)]({'tag':_0x361b04(0x7d),'attributes':{'class':[_0x361b04(0x9e)]},'children':[{'text':this[_0x361b04(0xa6)]()}]}),{'tag':_0x361b04(0x7d),'attributes':{'class':[_0x361b04(0xc4),_0x361b04(0xb3)],'tabindex':-0x1},'children':[this[_0x361b04(0x82)],{'tag':_0x361b04(0x7d),'attributes':{'class':[_0x361b04(0xb5),_0x361b04(0xc8)],'role':_0x361b04(0x80)},'children':_0x3a344f}]};}[_0x4478df(0x88)](){const _0x560e17=_0x4478df;this[_0x560e17(0x77)][_0x560e17(0x88)]();}[_0x4478df(0x95)](){const _0x4fff7d=_0x4478df;return this[_0x4fff7d(0xa2)][_0x4fff7d(0x81)]?_0x4fff7d(0x78)===this[_0x4fff7d(0xa2)][_0x4fff7d(0xb0)][_0x4fff7d(0x9c)][_0x4fff7d(0x98)]?_0x2d3bf6(this[_0x4fff7d(0xc0)],_0x4fff7d(0x8a),this[_0x4fff7d(0xa2)][_0x4fff7d(0xbb)][_0x4fff7d(0xc9)]):_0x2d3bf6(this[_0x4fff7d(0xc0)],_0x4fff7d(0x9f),this[_0x4fff7d(0xa2)][_0x4fff7d(0xbb)][_0x4fff7d(0xc9)]):null;}[_0x4478df(0xa6)](){const _0x546a88=_0x4478df;return _0x546a88(0x78)===this[_0x546a88(0xa2)][_0x546a88(0xb0)][_0x546a88(0x9c)][_0x546a88(0x98)]?_0x2d3bf6(this[_0x546a88(0xc0)],_0x546a88(0xa4)):_0x2d3bf6(this[_0x546a88(0xc0)],_0x546a88(0xae));}[_0x4478df(0x87)](_0xded0b1,_0x45bf77,_0x447270,_0x160072,_0x498c0d){const _0x3f6f11=_0x4478df,_0x4f20ed=new _0x31e340(this[_0x3f6f11(0xc0)]);return _0x4f20ed[_0x3f6f11(0xb1)]({'label':_0xded0b1,'icon':_0x45bf77,'tooltip':!0x0,'tooltipPosition':_0x498c0d}),_0x4f20ed[_0x3f6f11(0xab)]({'attributes':{'class':_0x447270}}),_0x4f20ed['on'](_0x3f6f11(0x85),()=>{const _0x5035a7=_0x3f6f11;this[_0x5035a7(0x7c)](_0x160072,this[_0x5035a7(0xa2)]['id']);}),_0x4f20ed;}[_0x4478df(0xa0)](){const _0x2ad38b=_0x4478df,_0x2ecbe6=this[_0x2ad38b(0x77)];this[_0x2ad38b(0x79)][_0x2ad38b(0x8d)](_0x2ecbe6);for(const _0x52bed9 of this[_0x2ad38b(0x96)])this[_0x2ad38b(0xc5)][_0x2ad38b(0x93)](_0x52bed9[_0x2ad38b(0x77)]),this[_0x2ad38b(0x79)][_0x2ad38b(0x8d)](_0x52bed9[_0x2ad38b(0x77)]);this[_0x2ad38b(0x79)][_0x2ad38b(0xb1)](_0x2ad38b(0x8f),(_0x589354,_0xf9e237)=>{const _0x2cc9b7=_0x2ad38b;_0x2ecbe6===_0x589354[_0x2cc9b7(0xca)]&&(this[_0x2cc9b7(0x7f)][_0x2cc9b7(0x8e)](),_0xf9e237());}),this[_0x2ad38b(0x79)][_0x2ad38b(0xb1)](_0x2ad38b(0xaf),(_0x4b0b55,_0x87db16)=>{const _0x21f1c3=_0x2ad38b;_0x2ecbe6!==_0x4b0b55[_0x21f1c3(0xca)]&&(this[_0x21f1c3(0x88)](),_0x87db16());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x42364a=_0x5e29;function _0x5e29(_0x239fb2,_0xbbdbd7){const _0x1b61f9=_0x1b61();return _0x5e29=function(_0x5e29fb,_0x26e77e){_0x5e29fb=_0x5e29fb-0x1dd;let _0x243d2e=_0x1b61f9[_0x5e29fb];return _0x243d2e;},_0x5e29(_0x239fb2,_0xbbdbd7);}function _0x1b61(){const _0x30fec4=['innerHTML','\x20ck-track-changes-preview__root-container','54188AFrjDN','classes','113058tNYGAK','options','render','514827mLEPEd','1233744zuTzLF','previewDataReady','style','3588485wkBANd','content','div','focus','ck-reset','dialogRects','width','setPreviewData','setTemplate','24112iZxudc','141LQEQDx','data-ck-root-name','element','fire','9283235DkcGPF','31vIblrT','className','createElement','push','80pRgctK','setAttribute','ck-track-changes-preview','7OeTvFz','6WEmyxD','372XeogFD','height'];_0x1b61=function(){return _0x30fec4;};return _0x1b61();}(function(_0x263df1,_0x47cccc){const _0x258629=_0x5e29,_0xfa0377=_0x263df1();while(!![]){try{const _0x2ed3c1=parseInt(_0x258629(0x1ec))/0x1*(-parseInt(_0x258629(0x1e6))/0x2)+parseInt(_0x258629(0x1e7))/0x3*(-parseInt(_0x258629(0x1f9))/0x4)+parseInt(_0x258629(0x1dd))/0x5*(parseInt(_0x258629(0x1f4))/0x6)+parseInt(_0x258629(0x1f3))/0x7*(-parseInt(_0x258629(0x1ff))/0x8)+parseInt(_0x258629(0x1fe))/0x9*(parseInt(_0x258629(0x1f0))/0xa)+-parseInt(_0x258629(0x1fb))/0xb*(parseInt(_0x258629(0x1f5))/0xc)+parseInt(_0x258629(0x1eb))/0xd;if(_0x2ed3c1===_0x47cccc)break;else _0xfa0377['push'](_0xfa0377['shift']());}catch(_0x597741){_0xfa0377['push'](_0xfa0377['shift']());}}}(_0x1b61,0x63277));import{View as _0x44f7dd}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x44f7dd{[_0x42364a(0x1fc)];constructor(_0x723ca7,_0x289e84){const _0x23a0f2=_0x42364a;super(_0x723ca7),this[_0x23a0f2(0x1fc)]=_0x289e84,this[_0x23a0f2(0x1e5)]({'tag':_0x23a0f2(0x1df),'attributes':{'class':['ck',_0x23a0f2(0x1e1),_0x23a0f2(0x1f2)],'tabindex':-0x1}});}[_0x42364a(0x1fd)](){const _0x93b2ca=_0x42364a;super[_0x93b2ca(0x1fd)](),this[_0x93b2ca(0x1e9)][_0x93b2ca(0x201)][_0x93b2ca(0x1e3)]=this[_0x93b2ca(0x1fc)][_0x93b2ca(0x1e2)][_0x93b2ca(0x1e3)]+'px',this[_0x93b2ca(0x1e9)][_0x93b2ca(0x201)][_0x93b2ca(0x1f6)]=this[_0x93b2ca(0x1fc)][_0x93b2ca(0x1e2)][_0x93b2ca(0x1f6)]+'px';}[_0x42364a(0x1e4)](_0x2169fa,_0x21205a){const _0xac4e4b=_0x42364a;if(!this[_0xac4e4b(0x1e9)])return;const _0x3739d8=[];for(const [_0x26d402,_0x3296c2]of _0x2169fa){const _0x322a3e=document[_0xac4e4b(0x1ee)](_0xac4e4b(0x1df));_0x322a3e[_0xac4e4b(0x1f1)](_0xac4e4b(0x1e8),_0x26d402),_0x322a3e[_0xac4e4b(0x1ed)]=_0x3296c2[_0xac4e4b(0x1fa)]+_0xac4e4b(0x1f8),_0x322a3e[_0xac4e4b(0x1f7)]=_0x3296c2[_0xac4e4b(0x1de)],_0x3739d8[_0xac4e4b(0x1ef)](_0x322a3e);}_0x21205a(this[_0xac4e4b(0x1e9)],_0x3739d8),this[_0xac4e4b(0x1e9)][_0xac4e4b(0x201)][_0xac4e4b(0x1f6)]='',this[_0xac4e4b(0x1ea)](_0xac4e4b(0x200));}[_0x42364a(0x1e0)](){const _0x2422bb=_0x42364a;this[_0x2422bb(0x1e9)][_0x2422bb(0x1e0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x50ecde,_0x11ed85,_0x467c3c){const _0x57df15=_0x50ecde['t'],t=_0x50ecde['t'];switch(_0x11ed85){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',_0x467c3c);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x467c3c);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x467c3c);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x467c3c);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x467c3c);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',_0x467c3c);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x467c3c);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',_0x467c3c);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x467c3c);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x467c3c);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x467c3c);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x467c3c);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x467c3c);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x467c3c);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x467c3c);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x467c3c);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x467c3c);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x467c3c);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x467c3c);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x467c3c);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x467c3c);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x467c3c);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x467c3c);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x467c3c);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x467c3c);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'},_0x467c3c);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x467c3c);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x467c3c);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x467c3c);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x467c3c);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x467c3c);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x467c3c);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x467c3c);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'},_0x467c3c);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x467c3c);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x467c3c);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x467c3c);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x467c3c);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'},_0x467c3c);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x467c3c);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'},_0x467c3c);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'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'},_0x467c3c);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x467c3c);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'},_0x467c3c);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x467c3c);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'},_0x467c3c);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x467c3c);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x467c3c);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'},_0x467c3c);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x467c3c);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 _0x57df15({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x467c3c);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x57df15({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x467c3c);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x467c3c);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'},_0x467c3c);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'},_0x467c3c);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'},_0x467c3c);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x11ed85;}}
|
|
23
|
+
export function getTranslation(_0x156977,_0x183df6,_0x138733){const _0x2a7fa3=_0x156977['t'],t=_0x156977['t'];switch(_0x183df6){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',_0x138733);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x138733);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x138733);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x138733);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x138733);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',_0x138733);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x138733);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',_0x138733);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x138733);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x138733);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x138733);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x138733);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x138733);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x138733);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x138733);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x138733);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x138733);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x138733);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x138733);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x138733);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x138733);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x138733);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x138733);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x138733);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x138733);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'},_0x138733);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x138733);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x138733);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x138733);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x138733);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x138733);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x138733);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x138733);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'},_0x138733);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x138733);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x138733);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x138733);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x138733);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'},_0x138733);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x138733);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'},_0x138733);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'},_0x138733);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x138733);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'},_0x138733);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x138733);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'},_0x138733);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x138733);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x138733);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'},_0x138733);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x138733);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 _0x2a7fa3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x138733);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2a7fa3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x138733);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x138733);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'},_0x138733);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'},_0x138733);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'},_0x138733);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x183df6;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5f3174,_0xbb537d){const _0x4876b2=_0x4828,_0x37b987=_0x5f3174();while(!![]){try{const _0x5476d2=parseInt(_0x4876b2(0x13c))/0x1*(-parseInt(_0x4876b2(0x132))/0x2)+-parseInt(_0x4876b2(0x12a))/0x3+-parseInt(_0x4876b2(0x154))/0x4*(-parseInt(_0x4876b2(0x12d))/0x5)+parseInt(_0x4876b2(0x131))/0x6*(-parseInt(_0x4876b2(0x147))/0x7)+parseInt(_0x4876b2(0x12e))/0x8+parseInt(_0x4876b2(0x126))/0x9*(parseInt(_0x4876b2(0x14a))/0xa)+parseInt(_0x4876b2(0x141))/0xb;if(_0x5476d2===_0xbb537d)break;else _0x37b987['push'](_0x37b987['shift']());}catch(_0x22a2bf){_0x37b987['push'](_0x37b987['shift']());}}}(_0x3de3,0x88da5));export function normalizeDescription(_0x4e876c){const _0x4722a3=_0x4828;return Array[_0x4722a3(0x129)](_0x4e876c)||(_0x4e876c=[_0x4e876c]),_0x4e876c[_0x4722a3(0x153)](_0x1930bb=>{const _0x4bf381=_0x4722a3,_0x118505=_0x1930bb[_0x4bf381(0x125)][_0x4bf381(0x12f)](/\*/g,''),_0x5bfea3=_0x1930bb[_0x4bf381(0x12c)]?_0x4bf381(0x15a)+_0x1930bb[_0x4bf381(0x12c)][_0x4bf381(0x138)]+']':'';return'['+_0x1930bb[_0x4bf381(0x123)]+']\x20'+_0x118505+_0x5bfea3;})[_0x4722a3(0x151)](';\x20');}export function renderDescription(_0x57e331,_0x4a664e){const _0x26b683=_0x4828;let _0x52580a='';return _0x52580a+=_0x57e331[_0x26b683(0x150)]('*')[_0x26b683(0x153)]((_0x2423f8,_0x13745a)=>_0x13745a%0x2!=0x0?_0x26b683(0x14e)+Yt(_0x2423f8)+_0x26b683(0x155):Yt(_0x2423f8))[_0x26b683(0x151)](''),_0x4a664e&&(_0x52580a+=_0x26b683(0x14c)+_0x4a664e[_0x26b683(0x138)]+_0x26b683(0x134)+_0x4a664e[_0x26b683(0x13a)]+_0x26b683(0x13f)),_0x52580a;}function Yt(_0x50041e){const _0x4a9c37=_0x4828,_0x2d88cf=document[_0x4a9c37(0x142)](_0x4a9c37(0x139));return _0x2d88cf[_0x4a9c37(0x159)]=_0x50041e,_0x2d88cf[_0x4a9c37(0x156)];}export function sortSuggestions(_0x36437b){const _0x644da8=_0x4828;return _0x36437b[_0x644da8(0x146)]((_0x8c8eb7,_0x3d3cad)=>_0x644da8(0x14d)===_0x8c8eb7[_0x644da8(0x123)]&&_0x644da8(0x14d)!==_0x3d3cad[_0x644da8(0x123)]?-0x1:_0x644da8(0x14d)!==_0x8c8eb7[_0x644da8(0x123)]&&_0x644da8(0x14d)===_0x3d3cad[_0x644da8(0x123)]?0x1:_0x644da8(0x130)==_0x8c8eb7[_0x644da8(0x123)]&&_0x644da8(0x130)!=_0x3d3cad[_0x644da8(0x123)]?-0x1:_0x644da8(0x130)!=_0x8c8eb7[_0x644da8(0x123)]&&_0x644da8(0x130)==_0x3d3cad[_0x644da8(0x123)]?0x1:0x0);}export function getSelectedSuggestions(_0x24f0c0,_0xc143d2){const _0x4b88fd=_0x4828,_0x3ef739=Array[_0x4b88fd(0x145)](_0x24f0c0[_0x4b88fd(0x127)]()),_0x224f84=new Set();for(const _0xf68feb of _0xc143d2)if(_0xf68feb[_0x4b88fd(0x128)]){for(const _0x466f5d of _0x3ef739)for(const _0x229ad3 of _0xf68feb[_0x4b88fd(0x127)]())(_0x466f5d[_0x4b88fd(0x13e)](_0x229ad3)||_0x24f0c0[_0x4b88fd(0x14b)]&&!_0xf68feb[_0x4b88fd(0x149)]&&_0xf68feb[_0x4b88fd(0x135)]&&_0x229ad3[_0x4b88fd(0x133)][_0x4b88fd(0x124)](_0x466f5d[_0x4b88fd(0x13b)]))&&_0x224f84[_0x4b88fd(0x136)](_0xf68feb);}return _0x224f84;}export function getRangesOfBlockGroups(_0x31e169,_0x37ffa8){const _0x104c68=_0x4828;let _0x4207aa,_0x2a6466=0x0;const _0x431691=[],_0x402afc=_0x37ffa8[_0x104c68(0x13d)];for(;_0x2a6466<_0x31e169[_0x104c68(0x137)];){const _0x3a9573=_0x31e169[_0x2a6466],_0x12aad4=_0x31e169[_0x2a6466+0x1];_0x4207aa||(_0x4207aa=_0x37ffa8[_0x104c68(0x152)](_0x3a9573)),Zt(_0x37ffa8,_0x3a9573,_0x12aad4)||(_0x431691[_0x104c68(0x158)](_0x37ffa8[_0x104c68(0x143)](_0x4207aa,_0x402afc[_0x104c68(0x14f)](_0x3a9573)?_0x37ffa8[_0x104c68(0x148)](_0x3a9573):_0x37ffa8[_0x104c68(0x144)](_0x3a9573,_0x104c68(0x133)))),_0x4207aa=null),_0x2a6466++;}return _0x431691;}function Zt(_0x13c766,_0x33dd45,_0x362f3b){const _0x6599c9=_0x4828;if(!_0x362f3b)return!0x1;const _0x2d8409=_0x13c766[_0x6599c9(0x148)](_0x33dd45),_0x3a0256=_0x13c766[_0x6599c9(0x152)](_0x362f3b);return _0x2d8409[_0x6599c9(0x124)](_0x3a0256);}function _0x3de3(){const _0xa9d2d2=['createPositionBefore','map','124GNUtWI','</span>','innerHTML','execute','push','innerText','\x20[color\x20','type','isTouching','content','2924217VWhbWt','getRanges','isInContent','isArray','1499454UFZBEb','change','color','28485fTheFl','7526152KqyHCQ','replace','deletion','18006WcPRMw','166096aifyiT','end','\x22\x20title=\x22','next','add','length','value','span','title','start','4MDDkXg','schema','isIntersecting','\x22></span>','splice','9455303aIvqYq','createElement','createRange','createPositionAt','from','sort','2121njiKZK','createPositionAfter','isMultiRange','10kycPns','isCollapsed','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','attribute','<span\x20class=\x22ck-suggestion-type\x22>','isObject','split','join'];_0x3de3=function(){return _0xa9d2d2;};return _0x3de3();}function _0x4828(_0x3509ff,_0x317a90){const _0x3de3fd=_0x3de3();return _0x4828=function(_0x48282d,_0xc47b91){_0x48282d=_0x48282d-0x123;let _0x51a943=_0x3de3fd[_0x48282d];return _0x51a943;},_0x4828(_0x3509ff,_0x317a90);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3edaf5,_0x438f49,_0x1374b1){const _0x55d825=_0x4828;for(;_0x1374b1[_0x55d825(0x137)];){const _0x8aaa9c=_0x1374b1[_0x55d825(0x140)](0x0,0x64);_0x3edaf5[_0x55d825(0x12b)](()=>{const _0x17d97d=_0x55d825;for(const _0x21b49f of _0x8aaa9c)_0x21b49f[_0x17d97d(0x128)]&&_0x438f49[_0x17d97d(0x157)](_0x21b49f['id']);});}}
|