@ckeditor/ckeditor5-track-changes 47.6.1 → 47.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +26 -26
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/footnotes.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x284b24=_0x2128;(function(_0x55fb25,_0x31480e){const _0x1d0801=_0x2128,_0x3c3442=_0x55fb25();while(!![]){try{const _0x3347f5=-parseInt(_0x1d0801(0x1a0))/0x1*(-parseInt(_0x1d0801(0x1a2))/0x2)+-parseInt(_0x1d0801(0x19d))/0x3*(parseInt(_0x1d0801(0x18e))/0x4)+parseInt(_0x1d0801(0x198))/0x5*(-parseInt(_0x1d0801(0x1a1))/0x6)+parseInt(_0x1d0801(0x193))/0x7+parseInt(_0x1d0801(0x195))/0x8*(parseInt(_0x1d0801(0x196))/0x9)+parseInt(_0x1d0801(0x197))/0xa+parseInt(_0x1d0801(0x19f))/0xb*(-parseInt(_0x1d0801(0x19b))/0xc);if(_0x3347f5===_0x31480e)break;else _0x3c3442['push'](_0x3c3442['shift']());}catch(_0x5bd13e){_0x3c3442['push'](_0x3c3442['shift']());}}}(_0x144e,0x85545));function _0x2128(_0x16ce14,_0x266e80){const _0x144e8a=_0x144e();return _0x2128=function(_0x212868,_0x3de6de){_0x212868=_0x212868-0x18c;let _0x3116e4=_0x144e8a[_0x212868];return _0x3116e4;},_0x2128(_0x16ce14,_0x266e80);}import{Plugin as _0x1a6ae0}from'ckeditor5/src/core.js';import{Dialog as _0x17b7ae}from'ckeditor5/src/ui.js';function _0x144e(){const _0x2a7790=['isPremiumPlugin','6974xBdQwJ','238603MhlOjU','618lQywKv','4NOydTw','commands','trackChanges.preview.renderFunction','previewFinalContent','define','1872568ocOptQ','requires','isOfficialPlugin','add','appendChild','2111242nPrToB','TrackChangesPreview','34248YMEcnq','1089icpGnp','7238730DPiQzt','1675XpSeym','pluginName','editor','18396YJDnKE','config','3vZCnuw'];_0x144e=function(){return _0x2a7790;};return _0x144e();}import{TrackChangesData as _0x493ddf}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x4c1565}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x1a6ae0{static get[_0x284b24(0x18f)](){return[_0x493ddf,_0x17b7ae];}static get[_0x284b24(0x199)](){const _0x2877d9=_0x284b24;return _0x2877d9(0x194);}static get[_0x284b24(0x190)](){return!0x0;}static get[_0x284b24(0x19e)](){return!0x0;}constructor(_0x11cb1e){const _0x8d99a2=_0x284b24;super(_0x11cb1e),_0x11cb1e[_0x8d99a2(0x1a3)][_0x8d99a2(0x191)](_0x8d99a2(0x18c),new _0x4c1565(this[_0x8d99a2(0x19a)])),_0x11cb1e[_0x8d99a2(0x19c)][_0x8d99a2(0x18d)](_0x8d99a2(0x1a4),(_0x1f94a8,_0x18e85c)=>{const _0x50a67e=_0x8d99a2;for(const _0x2243d5 of _0x18e85c)_0x1f94a8[_0x50a67e(0x192)](_0x2243d5);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xea41a=_0x273a;(function(_0x1ae429,_0x5065dc){const _0x271d02=_0x273a,_0x54dfe9=_0x1ae429();while(!![]){try{const _0x5c25a7=parseInt(_0x271d02(0x254))/0x1*(parseInt(_0x271d02(0x20d))/0x2)+-parseInt(_0x271d02(0x28d))/0x3*(parseInt(_0x271d02(0x245))/0x4)+-parseInt(_0x271d02(0x1e9))/0x5*(parseInt(_0x271d02(0x268))/0x6)+parseInt(_0x271d02(0x259))/0x7+-parseInt(_0x271d02(0x27b))/0x8+parseInt(_0x271d02(0x25a))/0x9+parseInt(_0x271d02(0x228))/0xa;if(_0x5c25a7===_0x5065dc)break;else _0x54dfe9['push'](_0x54dfe9['shift']());}catch(_0x91d2c2){_0x54dfe9['push'](_0x54dfe9['shift']());}}}(_0x2b65,0x25e92));function _0x2b65(){const _0x19b140=['799120AEDuDF','unbind','_licenseKeyCheckInterval','addComment','change:previous','innerView','licenseKey','keys','_refreshActiveMarkers','_viewToController','previous','value','comments','items','acceptButton','_handleSuggestionControllerDelayed','descriptionParts','destroy','panelView','menuitemcheckbox','trackChangesLicenseKeyInvalid','from','plugins','CommentView','trackChangesLicenseKeyExpired','suggestionView','comments.editorConfig','registerAnnotation','editor','8AZDfBb','evaluationLimit','suggestionLoaded','commentsListView','descriptionFactory','TrackChangesEditing','trackChanges.SuggestionThreadView','componentFactory','_createToolbarButton','getAllAdjacentSuggestions','set','getJoined','SuggestionView','suggestion-','define','1sZlFIh','refreshSelectedViews','pluginName','delegate','_suggestionToController','1755166UUBUby','1419102adENQj','head','commands','length','getDescriptions','Accept\x20all\x20suggestions','lowest','previewFinalContent','editing','trackChangesLicenseKeyNotAllowed','_disableComments','commentThread','featureNotAllowed','usageLimit','9966JSDvMW','execute','comments.maxCommentsWhenCollapsed','isOn','discardButton','add','createAnnotation','EditorAnnotations','Track\x20changes','getFirstRange','CommentsRepository','values','discardSelectedSuggestions','buttonView','separator','getSuggestion','activeAnnotations','focus','change:activeAnnotations','2362464tHePGj','trackChangesLicenseKeyEvaluationLimit','trackChangesLicenseKeyUsageLimit','Preview\x20final\x20content','getByInnerView','Annotations','createAnnotationView','some','toMany','locale','isMultiRange','_unbindEditors','commandName','trackChanges','view','CommentsUI','comments.maxThreadTotalWeight','bind','285207hbjkha','clear','isEnabled','_initializeController','isDirty','Accept\x20all\x20selected\x20suggestions','requires','trackChangesLicenseKeyValid','getSuggestionForAnnotation','type','listenTo','_destroyController','215wAlbcQ','isPremiumPlugin','escape','Discard\x20all\x20suggestions','_updateController','_handleControllerBuffer','getRanges','SuggestionThreadView','children','menuBar:trackChanges','trackChanges.disableComments','switchbutton','_showLicenseError','reduce','mainView','TrackChangesPreview','actionView','acceptSelectedSuggestions','has','suggestionUnloaded','menuitem','stopListening','arrowView','remove','fire','getAnnotationForSuggestion','addSourceCollector','_bindAnnotationToEditors','domainLimit','filter','init','getMarkerNames','size','menu','acceptAllSuggestions','createCommentThreadController','447646aFxfKL','button','get','isInContent','push','expired','delete','model','addMany','Discard\x20all\x20selected\x20suggestions','comments.maxCommentCharsWhenCollapsed','_addUIComponentsToFactory','config','hasSuggestion','TrackChanges','_createMenuBarMenu','activeMarkers','source','invalid','TrackChangesUI','_annotationViews','discardAllSuggestions','suggestionChanged','trackChangesLicenseKeyDomainLimit','isOfficialPlugin','trackChanges.SuggestionView','getMarkers'];_0x2b65=function(){return _0x19b140;};return _0x2b65();}import{Plugin as _0x2b724c}from'ckeditor5/src/core.js';import{Collection as _0x278792}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x57e2f6}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x71615e,createDropdown as _0x5f0143,ListSeparatorView as _0x265f07,MenuBarMenuView as _0x2be094,MenuBarMenuListView as _0x5738ec,MenuBarMenuListItemView as _0x5abaa5,MenuBarMenuListItemButtonView as _0x572dca,SplitButtonView as _0x83d4d6,UIModel as _0x2f0d3e}from'ckeditor5/src/ui.js';function _0x273a(_0x34a375,_0x15f792){const _0x2b65dc=_0x2b65();return _0x273a=function(_0x273a5e,_0x5009bd){_0x273a5e=_0x273a5e-0x1e8;let _0x54725b=_0x2b65dc[_0x273a5e];return _0x54725b;},_0x273a(_0x34a375,_0x15f792);}import{Users as _0x39523a,getDateTimeFormatter as _0x329509,getAllMarkersDomElementsSorted as _0x141ca5}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x278d77}from'./trackchangesediting.js';import{SuggestionController as _0x548ffb}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x7d5f8}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5936b9}from'./ui/view/suggestionview.js';import{getTranslation as _0xe05f92}from'./utils/common-translations.js';export class TrackChangesUI extends _0x2b724c{[_0xea41a(0x22e)];[_0xea41a(0x22a)];[_0xea41a(0x258)];[_0xea41a(0x231)];[_0xea41a(0x221)];[_0xea41a(0x1ee)];[_0xea41a(0x264)];static get[_0xea41a(0x293)](){const _0x4b854c=_0xea41a;return[_0x278d77,_0x39523a,_0x4b854c(0x272),_0x4b854c(0x280),_0x4b854c(0x26f)];}static get[_0xea41a(0x256)](){const _0x2fc4e8=_0xea41a;return _0x2fc4e8(0x220);}static get[_0xea41a(0x225)](){return!0x0;}static get[_0xea41a(0x1ea)](){return!0x0;}constructor(_0x3d4a10){const _0x5e5699=_0xea41a;super(_0x3d4a10),this[_0x5e5699(0x258)]=new Map(),this[_0x5e5699(0x231)]=new Map(),this[_0x5e5699(0x221)]=new Map(),this[_0x5e5699(0x1ee)]=new Map();const _0x57e02c=this[_0x5e5699(0x244)][_0x5e5699(0x219)];_0x57e02c[_0x5e5699(0x253)](_0x5e5699(0x24b),_0x7d5f8),_0x57e02c[_0x5e5699(0x253)](_0x5e5699(0x226),_0x5936b9),_0x57e02c[_0x5e5699(0x253)](_0x5e5699(0x1f3),!0x1),this[_0x5e5699(0x264)]=_0x57e02c[_0x5e5699(0x20f)](_0x5e5699(0x1f3));}[_0xea41a(0x237)](_0x42b0fb,_0x43bd43){const _0x5f25c1=_0xea41a;0x0===this[_0x5f25c1(0x1ee)][_0x5f25c1(0x209)]&&setTimeout(()=>{const _0x372aac=_0x5f25c1;for(const [_0x20cae2,_0x1230c4]of this[_0x372aac(0x1ee)]){const _0x555a24=this[_0x372aac(0x258)][_0x372aac(0x1fb)](_0x20cae2);_0x555a24||_0x1230c4?_0x555a24&&_0x1230c4&&this[_0x372aac(0x1e8)](_0x20cae2):this[_0x372aac(0x290)](_0x20cae2);}this[_0x372aac(0x1ee)][_0x372aac(0x28e)](),this[_0x372aac(0x244)][_0x372aac(0x23e)][_0x372aac(0x20f)](_0x372aac(0x26f))[_0x372aac(0x255)](),this[_0x372aac(0x230)]();},0xa),this[_0x5f25c1(0x1ee)][_0x5f25c1(0x24f)](_0x42b0fb,_0x43bd43);}[_0xea41a(0x207)](){const _0x11f378=_0xea41a,_0x1d0146=this[_0x11f378(0x244)],_0x45d156=_0x1d0146[_0x11f378(0x23e)][_0x11f378(0x20f)](_0x11f378(0x24a)),_0x4e0801=_0x1d0146[_0x11f378(0x23e)][_0x11f378(0x20f)](_0x11f378(0x280)),_0x258f63=_0x1d0146[_0x11f378(0x23e)][_0x11f378(0x20f)](_0x11f378(0x26f)),_0x1f0cad=_0x1d0146[_0x11f378(0x23e)][_0x11f378(0x20f)](_0x11f378(0x272));this[_0x11f378(0x218)](),_0x258f63[_0x11f378(0x203)](()=>{const _0x2661c1=_0x11f378,_0x28a1c4=[];for(const [_0x5a1e96,_0xebc597]of Array[_0x2661c1(0x23d)](this[_0x2661c1(0x258)])){const _0xc6d912=_0x5a1e96[_0x2661c1(0x24e)](),_0xf9a7a9=[];for(const _0xcf243c of _0xc6d912){if(!_0xcf243c[_0x2661c1(0x210)])continue;if(_0xcf243c[_0x2661c1(0x285)]){_0xf9a7a9[_0x2661c1(0x211)](..._0xcf243c[_0x2661c1(0x1ef)]());continue;}const _0x2bd2e9=_0xcf243c[_0x2661c1(0x271)]();if(_0xf9a7a9[_0x2661c1(0x25d)]>0x0){const _0x41d324=_0xf9a7a9[0x0][_0x2661c1(0x250)](_0x2bd2e9);if(_0x41d324){_0xf9a7a9[0x0]=_0x41d324;continue;}}_0xf9a7a9[_0x2661c1(0x211)](_0x2bd2e9);}_0x28a1c4[_0x2661c1(0x211)]([_0xebc597[_0x2661c1(0x289)],_0xf9a7a9]);}return _0x28a1c4;}),this[_0x11f378(0x297)](_0x45d156,_0x11f378(0x247),(_0x4923a0,_0x17be4e)=>{const _0x5e71b1=_0x11f378;this[_0x5e71b1(0x297)](_0x17be4e,_0x5e71b1(0x22c),(_0x2720cf,_0x4498cf,_0x27524a,_0x10db2d)=>{const _0x9a502b=_0x5e71b1;_0x17be4e[_0x9a502b(0x210)]&&(null==_0x27524a?(this[_0x9a502b(0x1ed)](_0x10db2d[_0x9a502b(0x25b)]),this[_0x9a502b(0x237)](_0x17be4e,!0x1)):(this[_0x9a502b(0x1ed)](_0x27524a[_0x9a502b(0x25b)]),null==_0x10db2d&&this[_0x9a502b(0x237)](_0x17be4e,!0x0)));}),null!==_0x17be4e[_0x5e71b1(0x232)]?this[_0x5e71b1(0x1ed)](_0x17be4e[_0x5e71b1(0x25b)]):this[_0x5e71b1(0x237)](_0x17be4e,!0x1);}),this[_0x11f378(0x297)](_0x45d156,_0x11f378(0x1fc),(_0xc683d9,_0x6745c0,_0x97e620)=>{const _0x5e37c4=_0x11f378;this[_0x5e37c4(0x1fe)](_0x6745c0,_0x5e37c4(0x22c)),this[_0x5e37c4(0x1ee)][_0x5e37c4(0x213)](_0x6745c0),this[_0x5e37c4(0x258)][_0x5e37c4(0x1fb)](_0x6745c0)&&this[_0x5e37c4(0x1e8)](_0x6745c0),_0x97e620&&this[_0x5e37c4(0x1ed)](_0x97e620[_0x5e37c4(0x25b)]);}),this[_0x11f378(0x297)](_0x45d156,_0x11f378(0x223),(_0x5e299e,_0x53b11c)=>{const _0x4d3b43=_0x11f378;this[_0x4d3b43(0x1ed)](_0x53b11c);}),this[_0x11f378(0x297)](_0x4e0801,_0x11f378(0x27a),()=>{const _0x325d19=_0x11f378;this[_0x325d19(0x230)]();}),this[_0x11f378(0x297)](_0x1f0cad,_0x11f378(0x22b),(_0x4b7954,{threadId:_0x292df0,isFromAdapter:_0x27049d})=>{const _0x18f8cc=_0x11f378;if(_0x27049d||!_0x45d156[_0x18f8cc(0x21a)](_0x292df0))return;const _0x53b7cc=_0x45d156[_0x18f8cc(0x277)](_0x292df0);this[_0x18f8cc(0x258)][_0x18f8cc(0x20f)](_0x53b7cc)[_0x18f8cc(0x289)][_0x18f8cc(0x248)][_0x18f8cc(0x279)](-0x1);},{'priority':_0x11f378(0x260)}),this[_0x11f378(0x22e)]=this[_0x11f378(0x244)][_0x11f378(0x219)][_0x11f378(0x20f)](_0x11f378(0x22e));const _0x2f2ffd=this[_0x11f378(0x244)];this[_0x11f378(0x22a)]=setInterval(()=>{const _0xb4b439=_0x11f378;let _0x4939b7;for(const _0x1dfdd6 in _0x2f2ffd){const _0x3475e3=_0x1dfdd6,_0x1255ff=_0x2f2ffd[_0x3475e3];if(_0xb4b439(0x294)==_0x1255ff||_0xb4b439(0x23c)==_0x1255ff||_0xb4b439(0x240)==_0x1255ff||_0xb4b439(0x224)==_0x1255ff||_0xb4b439(0x263)==_0x1255ff||_0xb4b439(0x27c)==_0x1255ff||_0xb4b439(0x27d)==_0x1255ff){delete _0x2f2ffd[_0x3475e3],_0x4939b7=_0x1255ff,clearInterval(this[_0xb4b439(0x22a)]),this[_0xb4b439(0x22a)]=void 0x0;break;}}_0xb4b439(0x23c)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x21f)),_0xb4b439(0x240)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x212)),_0xb4b439(0x224)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x205)),_0xb4b439(0x263)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x266),_0xb4b439(0x21b)),_0xb4b439(0x27c)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x246)),_0xb4b439(0x27d)==_0x4939b7&&_0x2f2ffd[_0xb4b439(0x1f5)](_0xb4b439(0x267));},0x3e8);}[_0xea41a(0x202)](_0x25794f){const _0x21f950=_0xea41a,_0x1dde3d=this[_0x21f950(0x258)][_0x21f950(0x20f)](_0x25794f);if(!_0x1dde3d)return null;return this[_0x21f950(0x244)][_0x21f950(0x23e)][_0x21f950(0x20f)](_0x21f950(0x280))[_0x21f950(0x27f)](_0x1dde3d[_0x21f950(0x289)])||null;}[_0xea41a(0x295)](_0x35f0dc){const _0x21fbb0=_0xea41a,_0x3d74b6=this[_0x21fbb0(0x231)][_0x21fbb0(0x20f)](_0x35f0dc[_0x21fbb0(0x22d)]);return _0x3d74b6?_0x3d74b6[_0x21fbb0(0x214)]:null;}[_0xea41a(0x230)](){const _0x4200cc=_0xea41a,_0x52280e=this[_0x4200cc(0x244)][_0x4200cc(0x23e)][_0x4200cc(0x20f)](_0x4200cc(0x280)),_0x2683f1=this[_0x4200cc(0x244)][_0x4200cc(0x23e)][_0x4200cc(0x20f)](_0x4200cc(0x24a)),_0x2edbe4=Array[_0x4200cc(0x23d)](_0x52280e[_0x4200cc(0x278)],_0xea2971=>_0xea2971[_0x4200cc(0x22d)])[_0x4200cc(0x206)](_0x16ac91=>this[_0x4200cc(0x231)][_0x4200cc(0x1fb)](_0x16ac91)),_0x2e5fb1=[];for(const _0xe23143 of _0x2edbe4){const _0x3c0357=this[_0x4200cc(0x231)][_0x4200cc(0x20f)](_0xe23143)[_0x4200cc(0x214)][_0x4200cc(0x24e)]();_0x2e5fb1[_0x4200cc(0x211)](..._0x3c0357[_0x4200cc(0x1f6)]((_0x6bde42,_0x20948d)=>[..._0x6bde42,..._0x20948d[_0x4200cc(0x208)]()],[]));}_0x2683f1[_0x4200cc(0x21d)]=_0x2e5fb1;}[_0xea41a(0x218)](){const _0x38b4ae=_0xea41a,_0x51b5e9=this[_0x38b4ae(0x244)],_0x224b92=_0x51b5e9[_0x38b4ae(0x284)],_0x110bb0=_0xe05f92(_0x224b92,_0x38b4ae(0x270)),_0xa12f84=new _0x278792([{'type':_0x38b4ae(0x1f4),'model':new _0x2f0d3e({'withText':!0x0,'isToggleable':!0x0,'label':_0x110bb0,'commandName':_0x38b4ae(0x288),'role':_0x38b4ae(0x23b)})},{'type':_0x38b4ae(0x276)},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x25f)),'commandName':_0x38b4ae(0x20b),'role':_0x38b4ae(0x1fd)})},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x292)),'commandName':_0x38b4ae(0x1fa),'role':_0x38b4ae(0x1fd)})},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x1ec)),'commandName':_0x38b4ae(0x222),'role':_0x38b4ae(0x1fd)})},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x216)),'commandName':_0x38b4ae(0x274),'role':_0x38b4ae(0x1fd)})}]);_0x51b5e9[_0x38b4ae(0x23e)][_0x38b4ae(0x1fb)](_0x38b4ae(0x1f8))&&_0xa12f84[_0x38b4ae(0x215)]([{'type':_0x38b4ae(0x276)},{'type':_0x38b4ae(0x20e),'model':new _0x2f0d3e({'withText':!0x0,'label':_0xe05f92(_0x224b92,_0x38b4ae(0x27e)),'commandName':_0x38b4ae(0x261),'role':_0x38b4ae(0x1fd)})}]);for(const _0x4cd8c3 of _0xa12f84)if(ke(_0x4cd8c3)){const _0x3f57ed=_0x51b5e9[_0x38b4ae(0x25c)][_0x38b4ae(0x20f)](_0x4cd8c3[_0x38b4ae(0x214)][_0x38b4ae(0x287)]);_0x4cd8c3[_0x38b4ae(0x214)][_0x38b4ae(0x28c)](_0x38b4ae(0x26b),_0x38b4ae(0x28f))['to'](_0x3f57ed,_0x38b4ae(0x233),_0x38b4ae(0x28f));}_0x51b5e9['ui'][_0x38b4ae(0x24c)][_0x38b4ae(0x26d)](_0x38b4ae(0x288),_0x5a1838=>this[_0x38b4ae(0x24d)](_0x5a1838,_0xa12f84,_0x110bb0)),_0x51b5e9['ui'][_0x38b4ae(0x24c)][_0x38b4ae(0x26d)](_0x38b4ae(0x1f2),_0x451492=>this[_0x38b4ae(0x21c)](_0x451492,_0xa12f84,_0x110bb0));}[_0xea41a(0x24d)](_0x3e8575,_0x5dd871,_0x479cb8){const _0x291b6a=_0xea41a,_0x36a462=_0x5f0143(_0x3e8575,_0x83d4d6),_0x3165c6=this[_0x291b6a(0x244)][_0x291b6a(0x25c)][_0x291b6a(0x20f)](_0x291b6a(0x288));_0x36a462[_0x291b6a(0x275)][_0x291b6a(0x24f)]({'tooltip':_0x479cb8,'label':_0x479cb8,'icon':_0x57e2f6}),_0x36a462[_0x291b6a(0x275)][_0x291b6a(0x28c)](_0x291b6a(0x26b))['to'](_0x3165c6,_0x291b6a(0x233)),_0x36a462[_0x291b6a(0x275)]['on'](_0x291b6a(0x269),()=>{const _0x8c1566=_0x291b6a;_0x3165c6[_0x8c1566(0x269)](),this[_0x8c1566(0x244)][_0x8c1566(0x262)][_0x8c1566(0x289)][_0x8c1566(0x279)]();}),_0x71615e(_0x36a462,_0x5dd871,{'role':_0x291b6a(0x20a)});const _0x5809ca=[];for(const _0x3cb323 of _0x5dd871)ke(_0x3cb323)&&_0x5809ca[_0x291b6a(0x211)](this[_0x291b6a(0x244)][_0x291b6a(0x25c)][_0x291b6a(0x20f)](_0x3cb323[_0x291b6a(0x214)][_0x291b6a(0x287)]));const _0x99dab5=_0x36a462[_0x291b6a(0x275)];return _0x99dab5[_0x291b6a(0x1f9)][_0x291b6a(0x229)](_0x291b6a(0x28f)),_0x99dab5[_0x291b6a(0x1ff)][_0x291b6a(0x229)](_0x291b6a(0x28f)),_0x99dab5[_0x291b6a(0x1f9)][_0x291b6a(0x28c)](_0x291b6a(0x28f))['to'](_0x3165c6,_0x291b6a(0x28f)),_0x99dab5[_0x291b6a(0x1ff)][_0x291b6a(0x28c)](_0x291b6a(0x28f))[_0x291b6a(0x283)](_0x5809ca,_0x291b6a(0x28f),(..._0x3a4eaf)=>_0x3a4eaf[_0x291b6a(0x282)](_0x25408b=>_0x25408b)),_0x36a462['on'](_0x291b6a(0x269),_0x4ad38a=>{const _0x30ad97=_0x291b6a;this[_0x30ad97(0x244)][_0x30ad97(0x269)](_0x4ad38a[_0x30ad97(0x21e)][_0x30ad97(0x287)]),this[_0x30ad97(0x244)][_0x30ad97(0x262)][_0x30ad97(0x289)][_0x30ad97(0x279)]();}),_0x36a462;}[_0xea41a(0x21c)](_0x45adf3,_0x5e2163,_0xced822){const _0x254e9e=_0xea41a,_0x201626=new _0x2be094(_0x45adf3),_0xab0143=this[_0x254e9e(0x244)][_0x254e9e(0x25c)][_0x254e9e(0x20f)](_0x254e9e(0x288));_0x201626[_0x254e9e(0x275)][_0x254e9e(0x24f)]({'label':_0xced822,'icon':_0x57e2f6});const _0x6d6ee=new _0x5738ec(_0x45adf3);for(const _0x12de80 of _0x5e2163){if(_0x254e9e(0x276)==_0x12de80[_0x254e9e(0x296)]){_0x6d6ee[_0x254e9e(0x235)][_0x254e9e(0x26d)](new _0x265f07(_0x45adf3));continue;}const _0x487ef3=new _0x5abaa5(_0x45adf3,_0x201626),_0x27f3ea=new _0x572dca(_0x45adf3),_0xcaa8a7=_0x12de80[_0x254e9e(0x214)];_0x27f3ea[_0x254e9e(0x28c)](...Object[_0x254e9e(0x22f)](_0xcaa8a7))['to'](_0xcaa8a7),_0x27f3ea[_0x254e9e(0x257)](_0x254e9e(0x269))['to'](_0x201626),_0x27f3ea['on'](_0x254e9e(0x269),()=>{const _0x34ead8=_0x254e9e;this[_0x34ead8(0x244)][_0x34ead8(0x269)](_0xcaa8a7[_0x34ead8(0x287)]),this[_0x34ead8(0x244)][_0x34ead8(0x262)][_0x34ead8(0x289)][_0x34ead8(0x279)]();}),_0x487ef3[_0x254e9e(0x1f1)][_0x254e9e(0x26d)](_0x27f3ea),_0x6d6ee[_0x254e9e(0x235)][_0x254e9e(0x26d)](_0x487ef3);}return _0x201626[_0x254e9e(0x28c)](_0x254e9e(0x28f))['to'](_0xab0143,_0x254e9e(0x28f)),_0x201626[_0x254e9e(0x23a)][_0x254e9e(0x1f1)][_0x254e9e(0x26d)](_0x6d6ee),_0x201626;}[_0xea41a(0x290)](_0x57b225){const _0x57a14c=_0xea41a,_0x248182=this[_0x57a14c(0x244)],_0x4443dd=_0x248182[_0x57a14c(0x219)],_0xcd73cf=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x280)),_0x4dd126=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x272)),_0x5d7f40=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x26f)),_0x47ec03=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x39523a)['me'],_0x15f9d4=_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x288))[_0x57a14c(0x1f0)],_0x39a14c=_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x288))[_0x57a14c(0x251)],{CommentsListView:_0x55311d,CommentThreadInputView:_0x431b52}=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x28a));let _0x4a1796,_0x2ed64c,_0x3ecaba;this[_0x57a14c(0x221)][_0x57a14c(0x1fb)](_0x57b225['id'])?(_0x2ed64c=this[_0x57a14c(0x221)][_0x57a14c(0x20f)](_0x57b225['id']),_0x4a1796=_0x2ed64c[_0x57a14c(0x1f7)]):(_0x4a1796=new _0x15f9d4(_0x248182[_0x57a14c(0x284)],_0x57b225,_0x47ec03,{'disableComments':this[_0x57a14c(0x264)],'editorConfig':{..._0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x242)),'licenseKey':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x22e))},'maxCommentsWhenCollapsed':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x26a)),'maxThreadTotalWeight':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x28b)),'maxCommentCharsWhenCollapsed':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x217)),'formatDateTime':_0x329509(_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x284)),_0x248182[_0x57a14c(0x284)]),'CommentView':_0x4443dd[_0x57a14c(0x20f)](_0x57a14c(0x234))[_0x57a14c(0x23f)],'CommentsListView':_0x55311d,'CommentThreadInputView':_0x431b52,'SuggestionView':_0x39a14c}),_0x4a1796[_0x57a14c(0x241)][_0x57a14c(0x236)]['on'](_0x57a14c(0x269),()=>{const _0x25b813=_0x57a14c;_0x248182[_0x25b813(0x262)][_0x25b813(0x289)][_0x25b813(0x279)]();}),_0x4a1796[_0x57a14c(0x241)][_0x57a14c(0x26c)]['on'](_0x57a14c(0x269),()=>{const _0x4277fe=_0x57a14c;_0x248182[_0x4277fe(0x262)][_0x4277fe(0x289)][_0x4277fe(0x279)]();}),_0x2ed64c=_0xcd73cf[_0x57a14c(0x281)](this[_0x57a14c(0x244)][_0x57a14c(0x284)],_0x4a1796),_0x2ed64c[_0x57a14c(0x28c)](_0x57a14c(0x291))['to'](_0x4a1796,_0x57a14c(0x291)),_0x2ed64c[_0x57a14c(0x28c)](_0x57a14c(0x25d))['to'](_0x4a1796),_0x2ed64c[_0x57a14c(0x28c)](_0x57a14c(0x296))['to'](_0x4a1796,_0x57a14c(0x296),_0x432fae=>_0x57a14c(0x252)+_0x432fae),_0x4a1796['on'](_0x57a14c(0x1eb),()=>{const _0x4a0176=_0x57a14c;_0x3ecaba[_0x4a0176(0x201)](_0x4a0176(0x1eb));}),this[_0x57a14c(0x221)][_0x57a14c(0x24f)](_0x57b225['id'],_0x2ed64c));const _0x1d6a6c=_0x4dd126[_0x57a14c(0x20c)](_0x57b225[_0x57a14c(0x265)],_0x4a1796),_0x131206=new _0x548ffb(_0x248182,_0x57b225,_0x4a1796,_0x1d6a6c),_0x5626c5=_0x57b225[_0x57a14c(0x24e)]()[_0x57a14c(0x206)](_0x47d185=>_0x47d185[_0x57a14c(0x210)]);_0x4a1796[_0x57a14c(0x238)]=_0x248182[_0x57a14c(0x23e)][_0x57a14c(0x20f)](_0x57a14c(0x24a))[_0x57a14c(0x249)][_0x57a14c(0x25e)](_0x5626c5),this[_0x57a14c(0x258)][_0x57a14c(0x24f)](_0x57b225,_0x131206),this[_0x57a14c(0x231)][_0x57a14c(0x24f)](_0x4a1796,_0x131206);const _0x1019d9=()=>{const _0x4889fa=_0x57a14c,_0x1d2a2a=[],_0x53d6c8=_0x57b225[_0x4889fa(0x24e)]()[_0x4889fa(0x206)](_0x31cbfb=>_0x31cbfb[_0x4889fa(0x210)]);for(const _0xdca19b of _0x53d6c8)_0x1d2a2a[_0x4889fa(0x211)](..._0xdca19b[_0x4889fa(0x227)]());return _0x141ca5(_0x248182[_0x4889fa(0x262)],_0x1d2a2a);};_0x3ecaba=_0xcd73cf[_0x57a14c(0x26e)]({'view':_0x2ed64c,'target':_0x1019d9,'type':()=>_0x57a14c(0x252)+_0x131206[_0x57a14c(0x289)][_0x57a14c(0x296)],'isVisible':!!_0x1019d9()}),_0x4dd126[_0x57a14c(0x204)](_0x4a1796,_0x3ecaba),_0xcd73cf[_0x57a14c(0x26d)](_0x3ecaba),_0x5d7f40[_0x57a14c(0x243)](_0x3ecaba);}[_0xea41a(0x1e8)](_0x591a63){const _0x58a088=_0xea41a,_0x2cdab4=this[_0x58a088(0x244)][_0x58a088(0x23e)][_0x58a088(0x20f)](_0x58a088(0x272)),_0x574124=this[_0x58a088(0x244)][_0x58a088(0x23e)][_0x58a088(0x20f)](_0x58a088(0x280)),_0x1dd847=this[_0x58a088(0x258)][_0x58a088(0x20f)](_0x591a63),_0x46a016=_0x1dd847[_0x58a088(0x289)],_0x509d69=_0x574124[_0x58a088(0x27f)](_0x46a016);_0x2cdab4[_0x58a088(0x286)](_0x46a016),_0x509d69&&_0x574124[_0x58a088(0x200)](_0x509d69),this[_0x58a088(0x258)][_0x58a088(0x213)](_0x591a63),this[_0x58a088(0x231)][_0x58a088(0x213)](_0x46a016),_0x1dd847[_0x58a088(0x239)]();}[_0xea41a(0x1ed)](_0x508142){const _0x1d8a4e=_0xea41a;if(!_0x508142[_0x1d8a4e(0x210)]||!this[_0x1d8a4e(0x258)][_0x1d8a4e(0x1fb)](_0x508142))return;const _0x55074c=this[_0x1d8a4e(0x244)][_0x1d8a4e(0x23e)][_0x1d8a4e(0x20f)](_0x1d8a4e(0x24a)),_0x1d5b7b=this[_0x1d8a4e(0x258)][_0x1d8a4e(0x20f)](_0x508142),_0x511b80=_0x508142[_0x1d8a4e(0x24e)]();_0x1d5b7b[_0x1d8a4e(0x289)][_0x1d8a4e(0x238)]=_0x55074c[_0x1d8a4e(0x249)][_0x1d8a4e(0x25e)](_0x511b80);}[_0xea41a(0x239)](){const _0x31c86c=_0xea41a;for(const _0x5e4888 of this[_0x31c86c(0x258)][_0x31c86c(0x22f)]())this[_0x31c86c(0x1e8)](_0x5e4888);for(const _0x4d88cc of this[_0x31c86c(0x221)][_0x31c86c(0x273)]())_0x4d88cc[_0x31c86c(0x1f7)][_0x31c86c(0x239)]();super[_0x31c86c(0x239)](),this[_0x31c86c(0x22a)]&&clearInterval(this[_0x31c86c(0x22a)]);}}function ke(_0x262052){const _0x2f23df=_0xea41a;return _0x2f23df(0x214)in _0x262052;}
|
|
23
|
+
const _0x2ba607=_0x485e;(function(_0x173733,_0x29c144){const _0x1c1fa0=_0x485e,_0x30255d=_0x173733();while(!![]){try{const _0x552622=parseInt(_0x1c1fa0(0x1f1))/0x1*(parseInt(_0x1c1fa0(0x25f))/0x2)+parseInt(_0x1c1fa0(0x27b))/0x3*(-parseInt(_0x1c1fa0(0x1ea))/0x4)+parseInt(_0x1c1fa0(0x285))/0x5+-parseInt(_0x1c1fa0(0x238))/0x6+-parseInt(_0x1c1fa0(0x27a))/0x7*(parseInt(_0x1c1fa0(0x274))/0x8)+-parseInt(_0x1c1fa0(0x1e9))/0x9*(parseInt(_0x1c1fa0(0x205))/0xa)+-parseInt(_0x1c1fa0(0x271))/0xb*(-parseInt(_0x1c1fa0(0x293))/0xc);if(_0x552622===_0x29c144)break;else _0x30255d['push'](_0x30255d['shift']());}catch(_0x2580f0){_0x30255d['push'](_0x30255d['shift']());}}}(_0x3d35,0x847a4));import{Plugin as _0x5cf523}from'ckeditor5/src/core.js';import{Collection as _0x52e791}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x461d6c}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x43498c,createDropdown as _0x4fb547,ListSeparatorView as _0x173d21,MenuBarMenuView as _0x2dbdd6,MenuBarMenuListView as _0x2446db,MenuBarMenuListItemView as _0x208249,MenuBarMenuListItemButtonView as _0x62101f,SplitButtonView as _0x584228,UIModel as _0x8e4aca}from'ckeditor5/src/ui.js';import{Users as _0x4c74f1,getDateTimeFormatter as _0x756809,getAllMarkersDomElementsSorted as _0x250795}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x358a42}from'./trackchangesediting.js';function _0x485e(_0x1d4f1d,_0x8bb2b){const _0x3d35b7=_0x3d35();return _0x485e=function(_0x485e04,_0x36b246){_0x485e04=_0x485e04-0x1e7;let _0x8481b8=_0x3d35b7[_0x485e04];return _0x8481b8;},_0x485e(_0x1d4f1d,_0x8bb2b);}import{SuggestionController as _0x416d01}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x4e8e79}from'./ui/view/suggestionthreadview.js';function _0x3d35(){const _0x29921=['unbind','editor','menuitem','EditorAnnotations','evaluationLimit','button','Accept\x20all\x20suggestions','addComment','items','isOn','SuggestionThreadView','menuBar:trackChanges','getByInnerView','_annotationViews','getMarkerNames','innerView','getSuggestion','_createToolbarButton','2PLtMEG','createCommentThreadController','separator','usageLimit','comments','comments.maxThreadTotalWeight','define','licenseKey','comments.maxCommentsWhenCollapsed','children','Annotations','expired','bind','menu','activeAnnotations','getJoined','get','getRanges','11fkrthA','switchbutton','delete','4152hlsGUR','descriptionFactory','push','trackChangesLicenseKeyInvalid','suggestionChanged','discardSelectedSuggestions','1386MAUchG','3SSSbZA','commands','head','destroy','comments.editorConfig','Track\x20changes','discardAllSuggestions','addSourceCollector','_refreshActiveMarkers','isDirty','805225wZjLjy','domainLimit','getSuggestionForAnnotation','_licenseKeyCheckInterval','from','actionView','requires','SuggestionView','_bindAnnotationToEditors','trackChangesLicenseKeyUsageLimit','hasSuggestion','invalid','buttonView','init','20015772poYAdj','trackChanges','commentThread','TrackChangesEditing','addMany','isOfficialPlugin','Preview\x20final\x20content','trackChangesLicenseKeyNotAllowed','835956vntoyP','2495656ZWdgjY','suggestionUnloaded','suggestion-','CommentsUI','focus','view','trackChanges.disableComments','916488grlIck','escape','_createMenuBarMenu','_viewToController','set','trackChangesLicenseKeyDomainLimit','lowest','previous','value','acceptAllSuggestions','remove','TrackChanges','acceptSelectedSuggestions','mainView','isPremiumPlugin','commandName','Accept\x20all\x20selected\x20suggestions','_suggestionToController','getFirstRange','previewFinalContent','80jEUqOl','TrackChangesUI','suggestionView','some','discardButton','refreshSelectedViews','trackChanges.SuggestionThreadView','change:previous','Discard\x20all\x20suggestions','_showLicenseError','clear','trackChangesLicenseKeyExpired','change:activeAnnotations','isMultiRange','componentFactory','arrowView','pluginName','length','CommentsRepository','toMany','_initializeController','trackChangesLicenseKeyValid','createAnnotationView','reduce','source','filter','delegate','add','CommentView','isEnabled','getAnnotationForSuggestion','_destroyController','_updateController','suggestionLoaded','config','getDescriptions','createAnnotation','model','activeMarkers','trackChanges.SuggestionView','TrackChangesPreview','size','getMarkers','listenTo','registerAnnotation','getAllAdjacentSuggestions','comments.maxCommentCharsWhenCollapsed','panelView','values','acceptButton','_unbindEditors','4398828RasovX','descriptionParts','type','menuitemcheckbox','featureNotAllowed','locale','plugins','has','isInContent','_handleControllerBuffer','stopListening','Discard\x20all\x20selected\x20suggestions','commentsListView','trackChangesLicenseKeyEvaluationLimit','keys','_disableComments','_addUIComponentsToFactory','editing','fire','_handleSuggestionControllerDelayed','execute'];_0x3d35=function(){return _0x29921;};return _0x3d35();}import{SuggestionView as _0x41940b}from'./ui/view/suggestionview.js';import{getTranslation as _0x34f518}from'./utils/common-translations.js';export class TrackChangesUI extends _0x5cf523{[_0x2ba607(0x266)];[_0x2ba607(0x288)];[_0x2ba607(0x202)];[_0x2ba607(0x1f4)];[_0x2ba607(0x25a)];[_0x2ba607(0x241)];[_0x2ba607(0x247)];static get[_0x2ba607(0x28b)](){const _0x130ca3=_0x2ba607;return[_0x358a42,_0x4c74f1,_0x130ca3(0x217),_0x130ca3(0x269),_0x130ca3(0x250)];}static get[_0x2ba607(0x215)](){const _0x2194e9=_0x2ba607;return _0x2194e9(0x206);}static get[_0x2ba607(0x298)](){return!0x0;}static get[_0x2ba607(0x1ff)](){return!0x0;}constructor(_0x336bf3){const _0x4ad65a=_0x2ba607;super(_0x336bf3),this[_0x4ad65a(0x202)]=new Map(),this[_0x4ad65a(0x1f4)]=new Map(),this[_0x4ad65a(0x25a)]=new Map(),this[_0x4ad65a(0x241)]=new Map();const _0x2d630f=this[_0x4ad65a(0x24e)][_0x4ad65a(0x227)];_0x2d630f[_0x4ad65a(0x265)](_0x4ad65a(0x20b),_0x4e8e79),_0x2d630f[_0x4ad65a(0x265)](_0x4ad65a(0x22c),_0x41940b),_0x2d630f[_0x4ad65a(0x265)](_0x4ad65a(0x1f0),!0x1),this[_0x4ad65a(0x247)]=_0x2d630f[_0x4ad65a(0x26f)](_0x4ad65a(0x1f0));}[_0x2ba607(0x24b)](_0x232cdb,_0x1f92ab){const _0x51b15e=_0x2ba607;0x0===this[_0x51b15e(0x241)][_0x51b15e(0x22e)]&&setTimeout(()=>{const _0x2f1ed9=_0x51b15e;for(const [_0x15baff,_0x18a637]of this[_0x2f1ed9(0x241)]){const _0x4982eb=this[_0x2f1ed9(0x202)][_0x2f1ed9(0x23f)](_0x15baff);_0x4982eb||_0x18a637?_0x4982eb&&_0x18a637&&this[_0x2f1ed9(0x224)](_0x15baff):this[_0x2f1ed9(0x219)](_0x15baff);}this[_0x2f1ed9(0x241)][_0x2f1ed9(0x20f)](),this[_0x2f1ed9(0x24e)][_0x2f1ed9(0x23e)][_0x2f1ed9(0x26f)](_0x2f1ed9(0x250))[_0x2f1ed9(0x20a)](),this[_0x2f1ed9(0x283)]();},0xa),this[_0x51b15e(0x241)][_0x51b15e(0x1f5)](_0x232cdb,_0x1f92ab);}[_0x2ba607(0x292)](){const _0x1b1213=_0x2ba607,_0x58075a=this[_0x1b1213(0x24e)],_0x445555=_0x58075a[_0x1b1213(0x23e)][_0x1b1213(0x26f)](_0x1b1213(0x296)),_0x19b10d=_0x58075a[_0x1b1213(0x23e)][_0x1b1213(0x26f)](_0x1b1213(0x269)),_0x458006=_0x58075a[_0x1b1213(0x23e)][_0x1b1213(0x26f)](_0x1b1213(0x250)),_0x5ed04c=_0x58075a[_0x1b1213(0x23e)][_0x1b1213(0x26f)](_0x1b1213(0x217));this[_0x1b1213(0x248)](),_0x458006[_0x1b1213(0x282)](()=>{const _0x3ca223=_0x1b1213,_0x23c812=[];for(const [_0x38e177,_0x3d5688]of Array[_0x3ca223(0x289)](this[_0x3ca223(0x202)])){const _0x2e72e3=_0x38e177[_0x3ca223(0x232)](),_0x26c78b=[];for(const _0x4cffe6 of _0x2e72e3){if(!_0x4cffe6[_0x3ca223(0x240)])continue;if(_0x4cffe6[_0x3ca223(0x212)]){_0x26c78b[_0x3ca223(0x276)](..._0x4cffe6[_0x3ca223(0x270)]());continue;}const _0x3e4329=_0x4cffe6[_0x3ca223(0x203)]();if(_0x26c78b[_0x3ca223(0x216)]>0x0){const _0x573df4=_0x26c78b[0x0][_0x3ca223(0x26e)](_0x3e4329);if(_0x573df4){_0x26c78b[0x0]=_0x573df4;continue;}}_0x26c78b[_0x3ca223(0x276)](_0x3e4329);}_0x23c812[_0x3ca223(0x276)]([_0x3d5688[_0x3ca223(0x1ef)],_0x26c78b]);}return _0x23c812;}),this[_0x1b1213(0x230)](_0x445555,_0x1b1213(0x226),(_0x327c5a,_0xb90ea9)=>{const _0x2e779d=_0x1b1213;this[_0x2e779d(0x230)](_0xb90ea9,_0x2e779d(0x20c),(_0x327471,_0x1fd305,_0x46c7c0,_0x9f6558)=>{const _0x4f1736=_0x2e779d;_0xb90ea9[_0x4f1736(0x240)]&&(null==_0x46c7c0?(this[_0x4f1736(0x225)](_0x9f6558[_0x4f1736(0x27d)]),this[_0x4f1736(0x24b)](_0xb90ea9,!0x1)):(this[_0x4f1736(0x225)](_0x46c7c0[_0x4f1736(0x27d)]),null==_0x9f6558&&this[_0x4f1736(0x24b)](_0xb90ea9,!0x0)));}),null!==_0xb90ea9[_0x2e779d(0x1f8)]?this[_0x2e779d(0x225)](_0xb90ea9[_0x2e779d(0x27d)]):this[_0x2e779d(0x24b)](_0xb90ea9,!0x1);}),this[_0x1b1213(0x230)](_0x445555,_0x1b1213(0x1eb),(_0x1ec538,_0x79b16e,_0x2b3e1c)=>{const _0x1ba039=_0x1b1213;this[_0x1ba039(0x242)](_0x79b16e,_0x1ba039(0x20c)),this[_0x1ba039(0x241)][_0x1ba039(0x273)](_0x79b16e),this[_0x1ba039(0x202)][_0x1ba039(0x23f)](_0x79b16e)&&this[_0x1ba039(0x224)](_0x79b16e),_0x2b3e1c&&this[_0x1ba039(0x225)](_0x2b3e1c[_0x1ba039(0x27d)]);}),this[_0x1b1213(0x230)](_0x445555,_0x1b1213(0x278),(_0x1652f6,_0x498a10)=>{const _0x28a409=_0x1b1213;this[_0x28a409(0x225)](_0x498a10);}),this[_0x1b1213(0x230)](_0x19b10d,_0x1b1213(0x211),()=>{const _0xb99c0c=_0x1b1213;this[_0xb99c0c(0x283)]();}),this[_0x1b1213(0x230)](_0x5ed04c,_0x1b1213(0x254),(_0x3b2db5,{threadId:_0x2b9e1a,isFromAdapter:_0x19b3cb})=>{const _0x47f364=_0x1b1213;if(_0x19b3cb||!_0x445555[_0x47f364(0x28f)](_0x2b9e1a))return;const _0x7361e6=_0x445555[_0x47f364(0x25d)](_0x2b9e1a);this[_0x47f364(0x202)][_0x47f364(0x26f)](_0x7361e6)[_0x47f364(0x1ef)][_0x47f364(0x244)][_0x47f364(0x1ee)](-0x1);},{'priority':_0x1b1213(0x1f7)}),this[_0x1b1213(0x266)]=this[_0x1b1213(0x24e)][_0x1b1213(0x227)][_0x1b1213(0x26f)](_0x1b1213(0x266));const _0x476db=this[_0x1b1213(0x24e)];this[_0x1b1213(0x288)]=setInterval(()=>{const _0x4a6d3d=_0x1b1213;let _0x3a68e0;for(const _0x306ec3 in _0x476db){const _0x58d1ff=_0x306ec3,_0x290a17=_0x476db[_0x58d1ff];if(_0x4a6d3d(0x21a)==_0x290a17||_0x4a6d3d(0x277)==_0x290a17||_0x4a6d3d(0x210)==_0x290a17||_0x4a6d3d(0x1f6)==_0x290a17||_0x4a6d3d(0x1e8)==_0x290a17||_0x4a6d3d(0x245)==_0x290a17||_0x4a6d3d(0x28e)==_0x290a17){delete _0x476db[_0x58d1ff],_0x3a68e0=_0x290a17,clearInterval(this[_0x4a6d3d(0x288)]),this[_0x4a6d3d(0x288)]=void 0x0;break;}}_0x4a6d3d(0x277)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x290)),_0x4a6d3d(0x210)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x26a)),_0x4a6d3d(0x1f6)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x286)),_0x4a6d3d(0x1e8)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x23c),_0x4a6d3d(0x1fc)),_0x4a6d3d(0x245)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x251)),_0x4a6d3d(0x28e)==_0x3a68e0&&_0x476db[_0x4a6d3d(0x20e)](_0x4a6d3d(0x262));},0x3e8);}[_0x2ba607(0x223)](_0x5bf84c){const _0x1428df=_0x2ba607,_0x5d5a10=this[_0x1428df(0x202)][_0x1428df(0x26f)](_0x5bf84c);if(!_0x5d5a10)return null;return this[_0x1428df(0x24e)][_0x1428df(0x23e)][_0x1428df(0x26f)](_0x1428df(0x269))[_0x1428df(0x259)](_0x5d5a10[_0x1428df(0x1ef)])||null;}[_0x2ba607(0x287)](_0x41d7a3){const _0x5d4416=_0x2ba607,_0xec8e1a=this[_0x5d4416(0x1f4)][_0x5d4416(0x26f)](_0x41d7a3[_0x5d4416(0x25c)]);return _0xec8e1a?_0xec8e1a[_0x5d4416(0x22a)]:null;}[_0x2ba607(0x283)](){const _0x480b98=_0x2ba607,_0x1ca8bf=this[_0x480b98(0x24e)][_0x480b98(0x23e)][_0x480b98(0x26f)](_0x480b98(0x269)),_0x537ec0=this[_0x480b98(0x24e)][_0x480b98(0x23e)][_0x480b98(0x26f)](_0x480b98(0x296)),_0x4b1322=Array[_0x480b98(0x289)](_0x1ca8bf[_0x480b98(0x26d)],_0x3a006d=>_0x3a006d[_0x480b98(0x25c)])[_0x480b98(0x21e)](_0xd18196=>this[_0x480b98(0x1f4)][_0x480b98(0x23f)](_0xd18196)),_0x191be5=[];for(const _0x32702f of _0x4b1322){const _0x24036b=this[_0x480b98(0x1f4)][_0x480b98(0x26f)](_0x32702f)[_0x480b98(0x22a)][_0x480b98(0x232)]();_0x191be5[_0x480b98(0x276)](..._0x24036b[_0x480b98(0x21c)]((_0x577a32,_0xde1ce6)=>[..._0x577a32,..._0xde1ce6[_0x480b98(0x25b)]()],[]));}_0x537ec0[_0x480b98(0x22b)]=_0x191be5;}[_0x2ba607(0x248)](){const _0x447be9=_0x2ba607,_0x315c65=this[_0x447be9(0x24e)],_0x10f2bf=_0x315c65[_0x447be9(0x23d)],_0x126894=_0x34f518(_0x10f2bf,_0x447be9(0x280)),_0xec8353=new _0x52e791([{'type':_0x447be9(0x272),'model':new _0x8e4aca({'withText':!0x0,'isToggleable':!0x0,'label':_0x126894,'commandName':_0x447be9(0x294),'role':_0x447be9(0x23b)})},{'type':_0x447be9(0x261)},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x253)),'commandName':_0x447be9(0x1fa),'role':_0x447be9(0x24f)})},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x201)),'commandName':_0x447be9(0x1fd),'role':_0x447be9(0x24f)})},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x20d)),'commandName':_0x447be9(0x281),'role':_0x447be9(0x24f)})},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x243)),'commandName':_0x447be9(0x279),'role':_0x447be9(0x24f)})}]);_0x315c65[_0x447be9(0x23e)][_0x447be9(0x23f)](_0x447be9(0x22d))&&_0xec8353[_0x447be9(0x297)]([{'type':_0x447be9(0x261)},{'type':_0x447be9(0x252),'model':new _0x8e4aca({'withText':!0x0,'label':_0x34f518(_0x10f2bf,_0x447be9(0x1e7)),'commandName':_0x447be9(0x204),'role':_0x447be9(0x24f)})}]);for(const _0x2e4fef of _0xec8353)if(ke(_0x2e4fef)){const _0x5dcc40=_0x315c65[_0x447be9(0x27c)][_0x447be9(0x26f)](_0x2e4fef[_0x447be9(0x22a)][_0x447be9(0x200)]);_0x2e4fef[_0x447be9(0x22a)][_0x447be9(0x26b)](_0x447be9(0x256),_0x447be9(0x222))['to'](_0x5dcc40,_0x447be9(0x1f9),_0x447be9(0x222));}_0x315c65['ui'][_0x447be9(0x213)][_0x447be9(0x220)](_0x447be9(0x294),_0x3e292f=>this[_0x447be9(0x25e)](_0x3e292f,_0xec8353,_0x126894)),_0x315c65['ui'][_0x447be9(0x213)][_0x447be9(0x220)](_0x447be9(0x258),_0x171a14=>this[_0x447be9(0x1f3)](_0x171a14,_0xec8353,_0x126894));}[_0x2ba607(0x25e)](_0x476d4d,_0x3a489c,_0x18b033){const _0x3ea264=_0x2ba607,_0x268ee5=_0x4fb547(_0x476d4d,_0x584228),_0x506da5=this[_0x3ea264(0x24e)][_0x3ea264(0x27c)][_0x3ea264(0x26f)](_0x3ea264(0x294));_0x268ee5[_0x3ea264(0x291)][_0x3ea264(0x1f5)]({'tooltip':_0x18b033,'label':_0x18b033,'icon':_0x461d6c}),_0x268ee5[_0x3ea264(0x291)][_0x3ea264(0x26b)](_0x3ea264(0x256))['to'](_0x506da5,_0x3ea264(0x1f9)),_0x268ee5[_0x3ea264(0x291)]['on'](_0x3ea264(0x24c),()=>{const _0x26d26c=_0x3ea264;_0x506da5[_0x26d26c(0x24c)](),this[_0x26d26c(0x24e)][_0x26d26c(0x249)][_0x26d26c(0x1ef)][_0x26d26c(0x1ee)]();}),_0x43498c(_0x268ee5,_0x3a489c,{'role':_0x3ea264(0x26c)});const _0xf50a6b=[];for(const _0x5710b8 of _0x3a489c)ke(_0x5710b8)&&_0xf50a6b[_0x3ea264(0x276)](this[_0x3ea264(0x24e)][_0x3ea264(0x27c)][_0x3ea264(0x26f)](_0x5710b8[_0x3ea264(0x22a)][_0x3ea264(0x200)]));const _0x117817=_0x268ee5[_0x3ea264(0x291)];return _0x117817[_0x3ea264(0x28a)][_0x3ea264(0x24d)](_0x3ea264(0x222)),_0x117817[_0x3ea264(0x214)][_0x3ea264(0x24d)](_0x3ea264(0x222)),_0x117817[_0x3ea264(0x28a)][_0x3ea264(0x26b)](_0x3ea264(0x222))['to'](_0x506da5,_0x3ea264(0x222)),_0x117817[_0x3ea264(0x214)][_0x3ea264(0x26b)](_0x3ea264(0x222))[_0x3ea264(0x218)](_0xf50a6b,_0x3ea264(0x222),(..._0x2f4e07)=>_0x2f4e07[_0x3ea264(0x208)](_0x1761ac=>_0x1761ac)),_0x268ee5['on'](_0x3ea264(0x24c),_0xccbf43=>{const _0x32a214=_0x3ea264;this[_0x32a214(0x24e)][_0x32a214(0x24c)](_0xccbf43[_0x32a214(0x21d)][_0x32a214(0x200)]),this[_0x32a214(0x24e)][_0x32a214(0x249)][_0x32a214(0x1ef)][_0x32a214(0x1ee)]();}),_0x268ee5;}[_0x2ba607(0x1f3)](_0x21f0f9,_0xdbfc42,_0x11f891){const _0x43a7ca=_0x2ba607,_0x275ec1=new _0x2dbdd6(_0x21f0f9),_0x4d95d0=this[_0x43a7ca(0x24e)][_0x43a7ca(0x27c)][_0x43a7ca(0x26f)](_0x43a7ca(0x294));_0x275ec1[_0x43a7ca(0x291)][_0x43a7ca(0x1f5)]({'label':_0x11f891,'icon':_0x461d6c});const _0x1f7d93=new _0x2446db(_0x21f0f9);for(const _0x3c16ad of _0xdbfc42){if(_0x43a7ca(0x261)==_0x3c16ad[_0x43a7ca(0x23a)]){_0x1f7d93[_0x43a7ca(0x255)][_0x43a7ca(0x220)](new _0x173d21(_0x21f0f9));continue;}const _0x315c90=new _0x208249(_0x21f0f9,_0x275ec1),_0x41b159=new _0x62101f(_0x21f0f9),_0x1d0bb2=_0x3c16ad[_0x43a7ca(0x22a)];_0x41b159[_0x43a7ca(0x26b)](...Object[_0x43a7ca(0x246)](_0x1d0bb2))['to'](_0x1d0bb2),_0x41b159[_0x43a7ca(0x21f)](_0x43a7ca(0x24c))['to'](_0x275ec1),_0x41b159['on'](_0x43a7ca(0x24c),()=>{const _0x3fc44f=_0x43a7ca;this[_0x3fc44f(0x24e)][_0x3fc44f(0x24c)](_0x1d0bb2[_0x3fc44f(0x200)]),this[_0x3fc44f(0x24e)][_0x3fc44f(0x249)][_0x3fc44f(0x1ef)][_0x3fc44f(0x1ee)]();}),_0x315c90[_0x43a7ca(0x268)][_0x43a7ca(0x220)](_0x41b159),_0x1f7d93[_0x43a7ca(0x255)][_0x43a7ca(0x220)](_0x315c90);}return _0x275ec1[_0x43a7ca(0x26b)](_0x43a7ca(0x222))['to'](_0x4d95d0,_0x43a7ca(0x222)),_0x275ec1[_0x43a7ca(0x234)][_0x43a7ca(0x268)][_0x43a7ca(0x220)](_0x1f7d93),_0x275ec1;}[_0x2ba607(0x219)](_0x760570){const _0x10f2df=_0x2ba607,_0x20e316=this[_0x10f2df(0x24e)],_0x25a688=_0x20e316[_0x10f2df(0x227)],_0x3eec0c=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x269)),_0x255164=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x217)),_0x4ef787=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x250)),_0x53df3e=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x4c74f1)['me'],_0xc7ab93=_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x294))[_0x10f2df(0x257)],_0x295bfc=_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x294))[_0x10f2df(0x28c)],{CommentsListView:_0x1c46ba,CommentThreadInputView:_0x2f13bf}=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x1ed));let _0x2a8b0d,_0x543f7e,_0x294a00;this[_0x10f2df(0x25a)][_0x10f2df(0x23f)](_0x760570['id'])?(_0x543f7e=this[_0x10f2df(0x25a)][_0x10f2df(0x26f)](_0x760570['id']),_0x2a8b0d=_0x543f7e[_0x10f2df(0x1fe)]):(_0x2a8b0d=new _0xc7ab93(_0x20e316[_0x10f2df(0x23d)],_0x760570,_0x53df3e,{'disableComments':this[_0x10f2df(0x247)],'editorConfig':{..._0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x27f)),'licenseKey':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x266))},'maxCommentsWhenCollapsed':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x267)),'maxThreadTotalWeight':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x264)),'maxCommentCharsWhenCollapsed':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x233)),'formatDateTime':_0x756809(_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x23d)),_0x20e316[_0x10f2df(0x23d)]),'CommentView':_0x25a688[_0x10f2df(0x26f)](_0x10f2df(0x263))[_0x10f2df(0x221)],'CommentsListView':_0x1c46ba,'CommentThreadInputView':_0x2f13bf,'SuggestionView':_0x295bfc}),_0x2a8b0d[_0x10f2df(0x207)][_0x10f2df(0x236)]['on'](_0x10f2df(0x24c),()=>{const _0x350b1f=_0x10f2df;_0x20e316[_0x350b1f(0x249)][_0x350b1f(0x1ef)][_0x350b1f(0x1ee)]();}),_0x2a8b0d[_0x10f2df(0x207)][_0x10f2df(0x209)]['on'](_0x10f2df(0x24c),()=>{const _0x29f49e=_0x10f2df;_0x20e316[_0x29f49e(0x249)][_0x29f49e(0x1ef)][_0x29f49e(0x1ee)]();}),_0x543f7e=_0x3eec0c[_0x10f2df(0x21b)](this[_0x10f2df(0x24e)][_0x10f2df(0x23d)],_0x2a8b0d),_0x543f7e[_0x10f2df(0x26b)](_0x10f2df(0x284))['to'](_0x2a8b0d,_0x10f2df(0x284)),_0x543f7e[_0x10f2df(0x26b)](_0x10f2df(0x216))['to'](_0x2a8b0d),_0x543f7e[_0x10f2df(0x26b)](_0x10f2df(0x23a))['to'](_0x2a8b0d,_0x10f2df(0x23a),_0x451432=>_0x10f2df(0x1ec)+_0x451432),_0x2a8b0d['on'](_0x10f2df(0x1f2),()=>{const _0x4982c5=_0x10f2df;_0x294a00[_0x4982c5(0x24a)](_0x4982c5(0x1f2));}),this[_0x10f2df(0x25a)][_0x10f2df(0x1f5)](_0x760570['id'],_0x543f7e));const _0x2fb3ea=_0x255164[_0x10f2df(0x260)](_0x760570[_0x10f2df(0x295)],_0x2a8b0d),_0x4c9f4d=new _0x416d01(_0x20e316,_0x760570,_0x2a8b0d,_0x2fb3ea),_0xb6e057=_0x760570[_0x10f2df(0x232)]()[_0x10f2df(0x21e)](_0x2087cd=>_0x2087cd[_0x10f2df(0x240)]);_0x2a8b0d[_0x10f2df(0x239)]=_0x20e316[_0x10f2df(0x23e)][_0x10f2df(0x26f)](_0x10f2df(0x296))[_0x10f2df(0x275)][_0x10f2df(0x228)](_0xb6e057),this[_0x10f2df(0x202)][_0x10f2df(0x1f5)](_0x760570,_0x4c9f4d),this[_0x10f2df(0x1f4)][_0x10f2df(0x1f5)](_0x2a8b0d,_0x4c9f4d);const _0x3ebb74=()=>{const _0x1cca5d=_0x10f2df,_0xf843e0=[],_0x1fb41a=_0x760570[_0x1cca5d(0x232)]()[_0x1cca5d(0x21e)](_0x39e6de=>_0x39e6de[_0x1cca5d(0x240)]);for(const _0x5a95f7 of _0x1fb41a)_0xf843e0[_0x1cca5d(0x276)](..._0x5a95f7[_0x1cca5d(0x22f)]());return _0x250795(_0x20e316[_0x1cca5d(0x249)],_0xf843e0);};_0x294a00=_0x3eec0c[_0x10f2df(0x229)]({'view':_0x543f7e,'target':_0x3ebb74,'type':()=>_0x10f2df(0x1ec)+_0x4c9f4d[_0x10f2df(0x1ef)][_0x10f2df(0x23a)],'isVisible':!!_0x3ebb74()}),_0x255164[_0x10f2df(0x28d)](_0x2a8b0d,_0x294a00),_0x3eec0c[_0x10f2df(0x220)](_0x294a00),_0x4ef787[_0x10f2df(0x231)](_0x294a00);}[_0x2ba607(0x224)](_0x5a9e08){const _0x1716c9=_0x2ba607,_0x55dc15=this[_0x1716c9(0x24e)][_0x1716c9(0x23e)][_0x1716c9(0x26f)](_0x1716c9(0x217)),_0x14b4ea=this[_0x1716c9(0x24e)][_0x1716c9(0x23e)][_0x1716c9(0x26f)](_0x1716c9(0x269)),_0x86b134=this[_0x1716c9(0x202)][_0x1716c9(0x26f)](_0x5a9e08),_0x3e6f22=_0x86b134[_0x1716c9(0x1ef)],_0x42e0b9=_0x14b4ea[_0x1716c9(0x259)](_0x3e6f22);_0x55dc15[_0x1716c9(0x237)](_0x3e6f22),_0x42e0b9&&_0x14b4ea[_0x1716c9(0x1fb)](_0x42e0b9),this[_0x1716c9(0x202)][_0x1716c9(0x273)](_0x5a9e08),this[_0x1716c9(0x1f4)][_0x1716c9(0x273)](_0x3e6f22),_0x86b134[_0x1716c9(0x27e)]();}[_0x2ba607(0x225)](_0x52c9c9){const _0x333e68=_0x2ba607;if(!_0x52c9c9[_0x333e68(0x240)]||!this[_0x333e68(0x202)][_0x333e68(0x23f)](_0x52c9c9))return;const _0x5ccca7=this[_0x333e68(0x24e)][_0x333e68(0x23e)][_0x333e68(0x26f)](_0x333e68(0x296)),_0x4bf005=this[_0x333e68(0x202)][_0x333e68(0x26f)](_0x52c9c9),_0x1ebe8c=_0x52c9c9[_0x333e68(0x232)]();_0x4bf005[_0x333e68(0x1ef)][_0x333e68(0x239)]=_0x5ccca7[_0x333e68(0x275)][_0x333e68(0x228)](_0x1ebe8c);}[_0x2ba607(0x27e)](){const _0x45da97=_0x2ba607;for(const _0x431d65 of this[_0x45da97(0x202)][_0x45da97(0x246)]())this[_0x45da97(0x224)](_0x431d65);for(const _0x7868bd of this[_0x45da97(0x25a)][_0x45da97(0x235)]())_0x7868bd[_0x45da97(0x1fe)][_0x45da97(0x27e)]();super[_0x45da97(0x27e)](),this[_0x45da97(0x288)]&&clearInterval(this[_0x45da97(0x288)]);}}function ke(_0x24cf2f){const _0x47b650=_0x2ba607;return _0x47b650(0x22a)in _0x24cf2f;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x20a4fc=_0x35d3;function _0x35d3(_0x36fe9d,_0x5b1014){const _0x44863b=_0x4486();return _0x35d3=function(_0x35d357,_0x4a2219){_0x35d357=_0x35d357-0x1e0;let _0x22c9bc=_0x44863b[_0x35d357];return _0x22c9bc;},_0x35d3(_0x36fe9d,_0x5b1014);}(function(_0x5866a5,_0x25e0fa){const _0xa121c9=_0x35d3,_0x59add6=_0x5866a5();while(!![]){try{const _0x302b51=-parseInt(_0xa121c9(0x1eb))/0x1+parseInt(_0xa121c9(0x1fb))/0x2+parseInt(_0xa121c9(0x1e6))/0x3*(parseInt(_0xa121c9(0x1f9))/0x4)+-parseInt(_0xa121c9(0x1ee))/0x5*(parseInt(_0xa121c9(0x1fc))/0x6)+parseInt(_0xa121c9(0x1e1))/0x7*(parseInt(_0xa121c9(0x202))/0x8)+-parseInt(_0xa121c9(0x205))/0x9*(parseInt(_0xa121c9(0x1e0))/0xa)+parseInt(_0xa121c9(0x1f5))/0xb*(-parseInt(_0xa121c9(0x1f0))/0xc);if(_0x302b51===_0x25e0fa)break;else _0x59add6['push'](_0x59add6['shift']());}catch(_0x3d1f9c){_0x59add6['push'](_0x59add6['shift']());}}}(_0x4486,0x69db6));import{ObservableMixin as _0x323d1e}from'ckeditor5/src/utils.js';import{getTranslation as _0x1ba190}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x323d1e(){[_0x20a4fc(0x1ef)];[_0x20a4fc(0x204)];[_0x20a4fc(0x1e5)];[_0x20a4fc(0x1e3)];[_0x20a4fc(0x1fe)];[_0x20a4fc(0x1e7)];[_0x20a4fc(0x20a)];constructor(_0x3f9054,_0x5afbbb,_0x39fb6f,_0x153868){const _0xed78bb=_0x20a4fc;super(),this[_0xed78bb(0x1ef)]=_0x5afbbb,this[_0xed78bb(0x204)]=_0x39fb6f,this[_0xed78bb(0x1e5)]=_0x153868,this[_0xed78bb(0x1e3)]=_0x3f9054,this[_0xed78bb(0x1fe)]=_0x3f9054[_0xed78bb(0x203)][_0xed78bb(0x1e4)](_0xed78bb(0x1fd)),this[_0xed78bb(0x1e7)]=_0x3f9054[_0xed78bb(0x203)][_0xed78bb(0x1e4)](_0xed78bb(0x208)),this[_0xed78bb(0x204)][_0xed78bb(0x1f8)](_0xed78bb(0x1ff))['to'](this[_0xed78bb(0x1fe)],this[_0xed78bb(0x1e7)],(_0x3788bf,_0x2aef8d)=>_0x3788bf||_0x2aef8d),this[_0xed78bb(0x204)][_0xed78bb(0x1f8)](_0xed78bb(0x206))['to'](this[_0xed78bb(0x1fe)],_0xed78bb(0x1ff),_0x2e2bde=>_0x2e2bde&&this[_0xed78bb(0x1e3)][_0xed78bb(0x1ef)][_0xed78bb(0x1ed)](_0x5afbbb[_0xed78bb(0x1f6)]())),this[_0xed78bb(0x204)][_0xed78bb(0x1f8)](_0xed78bb(0x207))['to'](this[_0xed78bb(0x1e7)],_0xed78bb(0x1ff),_0x432941=>_0x432941&&this[_0xed78bb(0x1e3)][_0xed78bb(0x1ef)][_0xed78bb(0x1ed)](_0x5afbbb[_0xed78bb(0x1f6)]())),this[_0xed78bb(0x20a)]=null,_0x39fb6f[_0xed78bb(0x1f4)]&&this[_0xed78bb(0x1f2)](),this[_0xed78bb(0x1e2)](_0x39fb6f,_0xed78bb(0x1fd),()=>this[_0xed78bb(0x1fd)]()),this[_0xed78bb(0x1e2)](_0x39fb6f,_0xed78bb(0x208),()=>this[_0xed78bb(0x208)]()),this[_0xed78bb(0x1e2)](_0x39fb6f,_0xed78bb(0x1ea),()=>{const _0x447b88=_0xed78bb;_0x39fb6f[_0x447b88(0x1f4)]?this[_0x447b88(0x1f2)]():this[_0x447b88(0x1f1)]();});}[_0x20a4fc(0x1fd)](){const _0x4ab58a=_0x20a4fc;this[_0x4ab58a(0x1fe)][_0x4ab58a(0x200)](this[_0x4ab58a(0x1ef)]['id']);}[_0x20a4fc(0x208)](){const _0x32aa52=_0x20a4fc;this[_0x32aa52(0x1e7)][_0x32aa52(0x200)](this[_0x32aa52(0x1ef)]['id']);}[_0x20a4fc(0x1fa)](){const _0x49d94a=_0x20a4fc;this[_0x49d94a(0x204)][_0x49d94a(0x209)](_0x49d94a(0x1ff)),this[_0x49d94a(0x204)][_0x49d94a(0x209)](_0x49d94a(0x206)),this[_0x49d94a(0x204)][_0x49d94a(0x209)](_0x49d94a(0x207)),this[_0x49d94a(0x201)](),this[_0x49d94a(0x1e5)][_0x49d94a(0x1fa)](),this[_0x49d94a(0x20a)]&&this[_0x49d94a(0x1f1)]();}[_0x20a4fc(0x1f2)](){const _0xe92201=_0x20a4fc,_0x3968a0=_0x1ba190(this[_0xe92201(0x1e3)][_0xe92201(0x1f7)],_0xe92201(0x1e8));this[_0xe92201(0x20a)]=this[_0xe92201(0x1e3)][_0xe92201(0x20b)][_0xe92201(0x1e4)](_0xe92201(0x1e9))[_0xe92201(0x1f3)](_0x3968a0);}[_0x20a4fc(0x1f1)](){const _0x1d97f7=_0x20a4fc;null!==this[_0x1d97f7(0x20a)]&&this[_0x1d97f7(0x1e3)][_0x1d97f7(0x20b)][_0x1d97f7(0x1e4)](_0x1d97f7(0x1e9))[_0x1d97f7(0x1ec)](this[_0x1d97f7(0x20a)]),this[_0x1d97f7(0x20a)]=null;}}function _0x4486(){const _0x832c85=['change:isDirty','77021raMNip','remove','canEditAt','149715iuesbU','model','1221060CLZQSY','_removePendingAction','_setPendingAction','add','isDirty','33TmDSct','getRanges','locale','bind','88IFXhYo','destroy','172898BqNMeZ','18EINree','acceptSuggestion','_acceptCommand','isEnabled','execute','stopListening','748168vCcXpm','commands','view','4404681DIwsHs','canAccept','canDiscard','discardSuggestion','unbind','_pendingAction','plugins','10rlaaRF','35HIChLc','listenTo','_editor','get','commentThreadController','114690mFYqoh','_discardCommand','PENDING_ACTION_SUGGESTION','PendingActions'];_0x4486=function(){return _0x832c85;};return _0x4486();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15483=_0x5291;(function(_0x5ef59b,_0x2592be){const _0x498d4c=_0x5291,_0x7c705c=_0x5ef59b();while(!![]){try{const _0x3d6b27=parseInt(_0x498d4c(0x119))/0x1+-parseInt(_0x498d4c(0xe8))/0x2*(parseInt(_0x498d4c(0xf7))/0x3)+-parseInt(_0x498d4c(0x129))/0x4*(parseInt(_0x498d4c(0xf1))/0x5)+parseInt(_0x498d4c(0xf6))/0x6+-parseInt(_0x498d4c(0x100))/0x7*(-parseInt(_0x498d4c(0x116))/0x8)+parseInt(_0x498d4c(0x11d))/0x9+-parseInt(_0x498d4c(0x103))/0xa;if(_0x3d6b27===_0x2592be)break;else _0x7c705c['push'](_0x7c705c['shift']());}catch(_0x45244a){_0x7c705c['push'](_0x7c705c['shift']());}}}(_0x1dc7,0x5d743));function _0x1dc7(){const _0x41d6f4=['1168140hVsyDB','body','hasDirtyComment','element','focusables','text/html','shift+tab','parseFromString','formatDateTime','1673wlXuSl','_model','canAccept','1067460NmscMA','addComment','submit','commentInputView','showInput','SUGGESTION_THREAD_DESCRIPTION','join','focusTracker','name','SUGGESTION_THREAD_ARIA_LABEL','map','cancel','isReadOnly','CommentView','set','textContent','commentsListView','render','authoredAt','15544oLsLpo','value','commentThread','144646TtFFmg','content','isDirty','ariaLabel','425367ctyPlX','disableComments','focusCycler','_createCommentThreadInputView','isEnabled','descriptionParts','locale','disabledSubmit','fire','assign','_config','updateComment','4vowGpp','bind','destroy','commentThreadInputView','canDiscard','keystrokes','tab','focus','2UOfrfs','ariaDescriptionView','length','removeComment','target','delegate','_createCommentViews','_localUser','author','2030765taPtln','editor','editorConfig','isActive','setData','3772680zwYHne'];_0x1dc7=function(){return _0x41d6f4;};return _0x1dc7();}import{FocusCycler as _0x110355,View as _0x2acd5c,ViewCollection as _0x4c8cac}from'ckeditor5/src/ui.js';import{FocusTracker as _0xe126ec,KeystrokeHandler as _0x29549d}from'ckeditor5/src/utils.js';function _0x5291(_0x30f903,_0x2a7eaa){const _0x1dc799=_0x1dc7();return _0x5291=function(_0x52915e,_0x1cc8c6){_0x52915e=_0x52915e-0xe7;let _0x403b8f=_0x1dc799[_0x52915e];return _0x403b8f;},_0x5291(_0x30f903,_0x2a7eaa);}import{AriaDescriptionView as _0x33761e,setupThreadKeyboardNavigation as _0x1a4ceb}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x41b02b}from'../../utils/common-translations.js';import{renderDescription as _0x44014b}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x2acd5c{[_0x15483(0x113)];[_0x15483(0x12c)];[_0x15483(0xe9)];[_0x15483(0xfb)];[_0x15483(0x10a)];[_0x15483(0x12e)];[_0x15483(0x11f)];[_0x15483(0x101)];[_0x15483(0xef)];[_0x15483(0x127)];constructor(_0x4991c3,_0x452da0,_0x3373b1,_0x2a84a4){const _0x299e4c=_0x15483;super(_0x4991c3),this[_0x299e4c(0x113)]=null,this[_0x299e4c(0x12c)]=null,this[_0x299e4c(0xe9)]=new _0x33761e(_0x4991c3,_0x41b02b(_0x4991c3,_0x299e4c(0x108))),this[_0x299e4c(0x111)](_0x299e4c(0xf4),!0x1),this[_0x299e4c(0x111)](_0x299e4c(0x115),_0x452da0[_0x299e4c(0x115)]),this[_0x299e4c(0x12a)](_0x299e4c(0x115))['to'](_0x452da0),this[_0x299e4c(0x111)](_0x299e4c(0x122),[]),this[_0x299e4c(0x111)](_0x299e4c(0x11b),!0x1),this[_0x299e4c(0x111)](_0x299e4c(0x121),!0x1),this[_0x299e4c(0x111)](_0x299e4c(0x102),!0x1),this[_0x299e4c(0x111)](_0x299e4c(0x12d),!0x1),this[_0x299e4c(0x12a)](_0x299e4c(0x11c))['to'](this,_0x299e4c(0xea),_0x452da0,_0x299e4c(0x115),this,_0x299e4c(0x122),(_0xcbb898,_0x4c4ca8,_0x107408)=>{const _0x3189aa=_0x299e4c,_0x32a316=_0x107408[_0x3189aa(0x10d)](_0x5dd9e8=>_0x44014b(_0x5dd9e8[_0x3189aa(0x11a)]))[_0x3189aa(0x109)]('.\x20')+'.';return _0x41b02b(this[_0x3189aa(0x123)],_0x3189aa(0x10c),[_0xcbb898-0x1,_0x452da0[_0x3189aa(0xf0)][_0x3189aa(0x10b)],_0x4c4ca8?_0x2a84a4[_0x3189aa(0xff)](_0x4c4ca8):'',new DOMParser()[_0x3189aa(0xfe)](_0x32a316,_0x3189aa(0xfc))[_0x3189aa(0xf8)][_0x3189aa(0x112)]]);}),this[_0x299e4c(0xfb)]=new _0x4c8cac(),this[_0x299e4c(0x10a)]=new _0xe126ec(),this[_0x299e4c(0x12e)]=new _0x29549d(),this[_0x299e4c(0x11f)]=new _0x110355({'focusables':this[_0x299e4c(0xfb)],'focusTracker':this[_0x299e4c(0x10a)],'keystrokeHandler':this[_0x299e4c(0x12e)],'keystrokeHandlerOptions':{'filter':_0x370448=>_0x370448[_0x299e4c(0xec)]!==this[_0x299e4c(0xfa)]},'actions':{'focusPrevious':_0x299e4c(0xfd),'focusNext':_0x299e4c(0x12f)}}),this[_0x299e4c(0x101)]=_0x452da0,this[_0x299e4c(0xef)]=_0x3373b1,this[_0x299e4c(0x127)]=_0x2a84a4,_0x2a84a4[_0x299e4c(0x11e)]?this[_0x299e4c(0x111)](_0x299e4c(0xea),0x1):this[_0x299e4c(0xee)]();}[_0x15483(0x114)](){const _0x49628d=_0x15483;super[_0x49628d(0x114)](),_0x1a4ceb(this,this[_0x49628d(0xfb)]);}[_0x15483(0xe7)](){const _0x15672f=_0x15483;this[_0x15672f(0xfa)][_0x15672f(0xe7)]();}[_0x15483(0x12b)](){const _0x114a35=_0x15483;this[_0x114a35(0x113)]&&this[_0x114a35(0x113)][_0x114a35(0x12b)](),this[_0x114a35(0x12c)]&&this[_0x114a35(0x12c)][_0x114a35(0x12b)](),super[_0x114a35(0x12b)]();}[_0x15483(0xee)](){const _0x439160=_0x15483,{CommentsListView:_0xcfa100}=this[_0x439160(0x127)];this[_0x439160(0x113)]=new _0xcfa100(this[_0x439160(0x123)],this[_0x439160(0x101)][_0x439160(0x118)],Object[_0x439160(0x126)]({'CommentView':this[_0x439160(0x127)][_0x439160(0x110)]},this[_0x439160(0x127)])),this[_0x439160(0x113)][_0x439160(0xed)](_0x439160(0xeb))['to'](this),this[_0x439160(0x113)][_0x439160(0xed)](_0x439160(0x128))['to'](this),this[_0x439160(0x113)][_0x439160(0x12a)](_0x439160(0xf4))['to'](this),this[_0x439160(0x111)](_0x439160(0xea),this[_0x439160(0x113)][_0x439160(0xea)]+0x1),this[_0x439160(0x12a)](_0x439160(0xea))['to'](this[_0x439160(0x113)],_0x439160(0xea),_0xd9f542=>_0xd9f542+0x1),this[_0x439160(0x12c)]=this[_0x439160(0x120)](),this['on'](_0x439160(0xeb),()=>this[_0x439160(0xe7)]()),this[_0x439160(0x12a)](_0x439160(0x11b))['to'](this[_0x439160(0x113)],_0x439160(0xf9),this[_0x439160(0x12c)][_0x439160(0x106)],_0x439160(0x117),(_0x4ff6ca,_0x1f8c4a)=>_0x4ff6ca||!!_0x1f8c4a);}[_0x15483(0x120)](){const _0x3a209a=_0x15483,{CommentThreadInputView:_0x195149}=this[_0x3a209a(0x127)],_0x4a28de=new _0x195149(this[_0x3a209a(0x123)],this[_0x3a209a(0xef)],this[_0x3a209a(0x127)][_0x3a209a(0xf3)]),_0x2107d5=_0x4a28de[_0x3a209a(0x106)];return _0x4a28de[_0x3a209a(0x12a)](_0x3a209a(0x107))['to'](this,_0x3a209a(0xf4),this[_0x3a209a(0x101)][_0x3a209a(0x118)],_0x3a209a(0x10f),_0x2107d5,_0x3a209a(0x117),(_0x4385e9,_0x401239,_0x1f35ab)=>!!_0x1f35ab||_0x4385e9&&!_0x401239),_0x2107d5['on'](_0x3a209a(0x105),(_0x526541,_0x2c17c8)=>{const _0x2b2fe6=_0x3a209a;this[_0x2b2fe6(0x125)](_0x2b2fe6(0x104),_0x2c17c8),_0x2107d5[_0x2b2fe6(0xf2)][_0x2b2fe6(0xf5)]('');}),_0x2107d5['on'](_0x3a209a(0x10e),()=>this[_0x3a209a(0xe7)]()),_0x2107d5[_0x3a209a(0x12a)](_0x3a209a(0x124))['to'](this[_0x3a209a(0x101)][_0x3a209a(0x118)],_0x3a209a(0x10f)),_0x4a28de;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4151(_0x184ecf,_0x1fda20){const _0x4ea947=_0x4ea9();return _0x4151=function(_0x415150,_0x5f9863){_0x415150=_0x415150-0x11c;let _0x2b762e=_0x4ea947[_0x415150];return _0x2b762e;},_0x4151(_0x184ecf,_0x1fda20);}const _0x812150=_0x4151;(function(_0x35ad8b,_0x71d05f){const _0x2c9222=_0x4151,_0x18455b=_0x35ad8b();while(!![]){try{const _0x2dff47=-parseInt(_0x2c9222(0x139))/0x1+-parseInt(_0x2c9222(0x13d))/0x2+parseInt(_0x2c9222(0x146))/0x3+-parseInt(_0x2c9222(0x12a))/0x4+-parseInt(_0x2c9222(0x151))/0x5+parseInt(_0x2c9222(0x126))/0x6*(parseInt(_0x2c9222(0x149))/0x7)+parseInt(_0x2c9222(0x14c))/0x8*(parseInt(_0x2c9222(0x153))/0x9);if(_0x2dff47===_0x71d05f)break;else _0x18455b['push'](_0x18455b['shift']());}catch(_0x86e4c4){_0x18455b['push'](_0x18455b['shift']());}}}(_0x4ea9,0x52f5d));import{BaseSuggestionThreadView as _0x41881b}from'./basesuggestionthreadview.js';import{trimHtml as _0xbc02fa}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x130293}from'../../utils/utils.js';function _0x4ea9(){const _0x4728ea=['author','ck-suggestion--disabled-comments','_config','<p>','div','66HwClMm','ariaLabel','content','ck-rounded-corners','312476RvYOll','delegate','isEnabled','color','add','formatDateTime','commentThreadInputView','discardSuggestion','_model','listitem','ariaDescriptionView','editorDestroyed','</p>','discardButton','commentsListView','42530xeAoqJ','isActive','ck-suggestion-wrapper','setTemplate','700932xkCICw','descriptionParts','_descriptionElement','commentThread','ck-suggestion-','getTemplate','acceptButton','canAccept','bind','1782357LUgvSp','set','render','63469EhLttZ','disableComments','focusables','2256mPdGFM','SuggestionView','canDiscard','suggestionView','editorReady','3110290rkMUjr','push','23589IuRulF','type','acceptSuggestion','bindTemplate','description','ck-suggestion-wrapper--active'];_0x4ea9=function(){return _0x4728ea;};return _0x4ea9();}export class SuggestionThreadView extends _0x41881b{[_0x812150(0x14f)];[_0x812150(0x13f)];constructor(_0x4a752a,_0xfb2b3c,_0x4e98b8,_0x32df00){const _0xa538fd=_0x812150;super(_0x4a752a,_0xfb2b3c,_0x4e98b8,_0x32df00),this[_0xa538fd(0x147)](_0xa538fd(0x11c),''),this[_0xa538fd(0x145)](_0xa538fd(0x11c))['to'](this,_0xa538fd(0x13e),_0x268513=>_0x268513&&_0x268513[0x0]?_0x268513[0x0][_0xa538fd(0x11c)]:''),this[_0xa538fd(0x145)](_0xa538fd(0x11f))['to'](this,_0xa538fd(0x13e),this,_0xa538fd(0x13a),(_0x38e143,_0xec16e4)=>{const _0x551cde=_0xa538fd;let _0x2d9e30='';for(const _0x5ec895 of _0x38e143)_0x2d9e30+=_0x551cde(0x124)+_0x130293(_0x5ec895[_0x551cde(0x128)],_0x5ec895[_0x551cde(0x12d)])+_0x551cde(0x136);return _0xec16e4?_0x2d9e30:_0xbc02fa(_0x2d9e30,{'limit':0x8c});}),this[_0xa538fd(0x13f)]=null,this[_0xa538fd(0x14f)]=new _0x32df00[(_0xa538fd(0x14d))](_0x4a752a,_0xfb2b3c,{'formatDateTime':_0x32df00[_0xa538fd(0x12f)]}),this[_0xa538fd(0x14f)][_0xa538fd(0x145)](_0xa538fd(0x11f))['to'](this),this[_0xa538fd(0x14f)][_0xa538fd(0x12b)](_0xa538fd(0x11d),_0xa538fd(0x131))['to'](this),this[_0xa538fd(0x14f)][_0xa538fd(0x143)][_0xa538fd(0x145)](_0xa538fd(0x12c))['to'](this,_0xa538fd(0x144)),this[_0xa538fd(0x14f)][_0xa538fd(0x137)][_0xa538fd(0x145)](_0xa538fd(0x12c))['to'](this,_0xa538fd(0x14e)),this[_0xa538fd(0x14b)][_0xa538fd(0x12e)](this[_0xa538fd(0x14f)]),this[_0xa538fd(0x138)]&&this[_0xa538fd(0x14b)][_0xa538fd(0x12e)](this[_0xa538fd(0x138)]),this[_0xa538fd(0x130)]&&this[_0xa538fd(0x14b)][_0xa538fd(0x12e)](this[_0xa538fd(0x130)]),this[_0xa538fd(0x13c)](this[_0xa538fd(0x142)]());}[_0x812150(0x142)](){const _0x5c2924=_0x812150,_0x4dbf13=this[_0x5c2924(0x11e)],_0x4cde4d=[this[_0x5c2924(0x14f)]];return this[_0x5c2924(0x138)]&&_0x4cde4d[_0x5c2924(0x152)](this[_0x5c2924(0x138)]),this[_0x5c2924(0x130)]&&_0x4cde4d[_0x5c2924(0x152)](this[_0x5c2924(0x130)]),_0x4cde4d[_0x5c2924(0x152)](this[_0x5c2924(0x134)]),{'tag':_0x5c2924(0x125),'attributes':{'class':['ck',_0x5c2924(0x129),_0x5c2924(0x13b),_0x4dbf13['if'](_0x5c2924(0x13a),_0x5c2924(0x120)),_0x4dbf13['to'](_0x5c2924(0x11c),_0x57cdab=>_0x5c2924(0x141)+_0x57cdab),this[_0x5c2924(0x123)][_0x5c2924(0x14a)]&&_0x5c2924(0x122)],'data-suggestion-id':this[_0x5c2924(0x132)]['id'],'data-thread-id':this[_0x5c2924(0x132)][_0x5c2924(0x140)]['id'],'data-author-id':this[_0x5c2924(0x132)][_0x5c2924(0x121)]['id'],'tabindex':0x0,'role':_0x5c2924(0x133),'aria-label':_0x4dbf13['to'](_0x5c2924(0x127)),'aria-describedby':this[_0x5c2924(0x134)]['id']},'children':_0x4cde4d};}[_0x812150(0x148)](){const _0x2d6185=_0x812150;super[_0x2d6185(0x148)](),this[_0x2d6185(0x138)]&&(this[_0x2d6185(0x138)][_0x2d6185(0x12b)](_0x2d6185(0x150))['to'](this),this[_0x2d6185(0x138)][_0x2d6185(0x12b)](_0x2d6185(0x135))['to'](this)),this[_0x2d6185(0x130)]&&(this[_0x2d6185(0x130)][_0x2d6185(0x12b)](_0x2d6185(0x150))['to'](this),this[_0x2d6185(0x130)][_0x2d6185(0x12b)](_0x2d6185(0x135))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28e249=_0x4c4b;function _0x4c4b(_0x215aaa,_0x196f7c){const _0x35094a=_0x3509();return _0x4c4b=function(_0x4c4b20,_0x35a99a){_0x4c4b20=_0x4c4b20-0x1b7;let _0x5bdfac=_0x35094a[_0x4c4b20];return _0x5bdfac;},_0x4c4b(_0x215aaa,_0x196f7c);}(function(_0x522463,_0x38be3a){const _0x2a883e=_0x4c4b,_0x54deaa=_0x522463();while(!![]){try{const _0x5124f6=parseInt(_0x2a883e(0x1eb))/0x1*(parseInt(_0x2a883e(0x1fe))/0x2)+parseInt(_0x2a883e(0x1ce))/0x3*(parseInt(_0x2a883e(0x20d))/0x4)+-parseInt(_0x2a883e(0x1ef))/0x5+parseInt(_0x2a883e(0x1be))/0x6*(parseInt(_0x2a883e(0x1df))/0x7)+parseInt(_0x2a883e(0x1fc))/0x8+parseInt(_0x2a883e(0x1d2))/0x9+-parseInt(_0x2a883e(0x20f))/0xa;if(_0x5124f6===_0x38be3a)break;else _0x54deaa['push'](_0x54deaa['shift']());}catch(_0x1cbdea){_0x54deaa['push'](_0x54deaa['shift']());}}}(_0x3509,0x4f5d9));import{FocusTracker as _0x1c5938,KeystrokeHandler as _0xb47681}from'ckeditor5/src/utils.js';import{View as _0x4a9c99,ViewCollection as _0x2a3dfd,FocusCycler as _0x375a6c}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x100c49,UserView as _0x3dadcc}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x109004,IconCheck as _0x2b2d31}from'ckeditor5/src/icons.js';import{getTranslation as _0x51c387}from'../../utils/common-translations.js';function _0x3509(){const _0x545787=['5836JOeQqS','importWord','11294020ItanEl','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion__user','bindTemplate','.ck-annotation__content-wrapper','name','focus','bind','432pPfKDJ','ck-annotation__main','ck-suggestion--accept','ck-comment__external','ck-annotation__info-name','formatDateTime','ck-suggestion--discard','ck-suggestion__main','enter','discardButton','ck-annotation','fire','description','target','EXTERNAL_SUGGESTION','creator','837GazLNn','@external','render','getUserViewNotificationText','3659769iXaAkp','shift+tab','focusFirst','add','ck-annotation__info-time','isExternal','span','div','_model','element','locale','execute','author','56070mmiwWs','discardSuggestion','attributes','EXTERNAL_IMPORT_WORD_AVATAR','Discard\x20suggestion','focusTracker','querySelector','ck-suggestion','esc','getTemplate','focusables','Accept\x20suggestion','41sXBJYg','focusCycler','ck-annotation__user','ck-comment__info-time','2528695fUDABs','time','_setupKeyboardNavigation','source','acceptButton','set','ck-suggestion__actions','getExternalSuggestionNote','ck-annotation__content-wrapper','authoredAt','ck-suggestion__info-name','_createButton','change:description','845440iwBjeB','ck-annotation__info','22640xvofej','listenTo','ck-suggestion__info','tab','keystrokes','setTemplate','innerHTML','_config','EXTERNAL_AVATAR','acceptSuggestion','extendTemplate','push','userView','ck-annotation__actions','presentation'];_0x3509=function(){return _0x545787;};return _0x3509();}export class SuggestionView extends _0x4a9c99{[_0x28e249(0x20a)];[_0x28e249(0x1f3)];[_0x28e249(0x1c7)];[_0x28e249(0x1e9)];[_0x28e249(0x1e4)];[_0x28e249(0x202)];[_0x28e249(0x1ec)];[_0x28e249(0x1da)];[_0x28e249(0x205)];constructor(_0x555030,_0x5d32fc,_0x5ed141){const _0x47b39c=_0x28e249;super(_0x555030),this[_0x47b39c(0x1da)]=_0x5d32fc,this[_0x47b39c(0x205)]=_0x5ed141,this[_0x47b39c(0x1f4)](_0x47b39c(0x1ca),''),this[_0x47b39c(0x1bd)](_0x47b39c(0x1f8))['to'](_0x5d32fc),this[_0x47b39c(0x1f3)]=this[_0x47b39c(0x1fa)](_0x51c387(_0x555030,_0x47b39c(0x1ea)),_0x2b2d31,_0x47b39c(0x1c0),_0x47b39c(0x207),'sw'),this[_0x47b39c(0x1c7)]=this[_0x47b39c(0x1fa)](_0x51c387(_0x555030,_0x47b39c(0x1e3)),_0x109004,_0x47b39c(0x1c4),_0x47b39c(0x1e0),'sw'),this[_0x47b39c(0x20a)]=new _0x3dadcc(_0x555030,_0x5d32fc[_0x47b39c(0x1de)],this[_0x47b39c(0x1d1)]()),this[_0x47b39c(0x20a)][_0x47b39c(0x208)]({'attributes':{'class':[_0x47b39c(0x1b8),_0x47b39c(0x1ed)],'aria-hidden':!0x0}}),this[_0x47b39c(0x1e9)]=new _0x2a3dfd([this[_0x47b39c(0x1f3)],this[_0x47b39c(0x1c7)]]),this[_0x47b39c(0x1e4)]=new _0x1c5938(),this[_0x47b39c(0x202)]=new _0xb47681(),this[_0x47b39c(0x1ec)]=new _0x375a6c({'focusables':this[_0x47b39c(0x1e9)],'focusTracker':this[_0x47b39c(0x1e4)],'keystrokeHandler':this[_0x47b39c(0x202)],'actions':{'focusPrevious':_0x47b39c(0x1d3),'focusNext':_0x47b39c(0x201)},'keystrokeHandlerOptions':{'filter':_0x27524a=>_0x27524a[_0x47b39c(0x1cb)]!==this[_0x47b39c(0x1db)]}}),this[_0x47b39c(0x203)](this[_0x47b39c(0x1e8)]());}[_0x28e249(0x1d0)](){const _0x458b70=_0x28e249;super[_0x458b70(0x1d0)]();const _0xaae8a5=this[_0x458b70(0x1db)][_0x458b70(0x1e5)](_0x458b70(0x1ba));_0xaae8a5[_0x458b70(0x204)]=this[_0x458b70(0x1ca)],this['on'](_0x458b70(0x1fb),(_0x27d361,_0x1afa1b,_0xcda72d)=>{const _0x84c93=_0x458b70;_0xaae8a5[_0x84c93(0x204)]=_0xcda72d;}),this[_0x458b70(0x1f1)]();}[_0x28e249(0x1e8)](){const _0x5e4ffe=_0x28e249,_0x50ee89=this[_0x5e4ffe(0x1b9)],_0xbfe6d3=[{'tag':_0x5e4ffe(0x1d9),'attributes':{'class':[_0x5e4ffe(0x200),_0x5e4ffe(0x1fd)]},'children':[{'tag':_0x5e4ffe(0x1d8),'children':[{'text':this[_0x5e4ffe(0x20a)][_0x5e4ffe(0x1bb)]}],'attributes':{'class':[_0x5e4ffe(0x1f9),_0x5e4ffe(0x1c2)],'data-cke-tooltip-text':this[_0x5e4ffe(0x20a)][_0x5e4ffe(0x1bb)]}},{'tag':_0x5e4ffe(0x1f0),'attributes':{'datetime':_0x50ee89['to'](_0x5e4ffe(0x1f8)),'class':[_0x5e4ffe(0x1ee),_0x5e4ffe(0x1d6)]},'children':[{'text':_0x50ee89['to'](_0x5e4ffe(0x1f8),_0x5e32fa=>this[_0x5e4ffe(0x205)][_0x5e4ffe(0x1c3)](_0x5e32fa))}]}]},{'tag':_0x5e4ffe(0x1d9),'attributes':{'class':[_0x5e4ffe(0x1f5),_0x5e4ffe(0x20b)]},'children':[this[_0x5e4ffe(0x1f3)],this[_0x5e4ffe(0x1c7)]]},{'tag':_0x5e4ffe(0x1d9),'attributes':{'class':[_0x5e4ffe(0x1f7)]}}];return this[_0x5e4ffe(0x1da)][_0x5e4ffe(0x1d7)]&&_0xbfe6d3[_0x5e4ffe(0x209)]({'tag':_0x5e4ffe(0x1d9),'attributes':{'class':[_0x5e4ffe(0x1c1)]},'children':[{'text':this[_0x5e4ffe(0x1f6)]()}]}),{'tag':_0x5e4ffe(0x1d9),'attributes':{'class':[_0x5e4ffe(0x1e6),_0x5e4ffe(0x1c8)],'tabindex':-0x1},'children':[this[_0x5e4ffe(0x20a)],{'tag':_0x5e4ffe(0x1d9),'attributes':{'class':[_0x5e4ffe(0x1c5),_0x5e4ffe(0x1bf)],'role':_0x5e4ffe(0x20c)},'children':_0xbfe6d3}]};}[_0x28e249(0x1bc)](){const _0x24f5ef=_0x28e249;this[_0x24f5ef(0x1db)][_0x24f5ef(0x1bc)]();}[_0x28e249(0x1d1)](){const _0x20c14f=_0x28e249;return this[_0x20c14f(0x1da)][_0x20c14f(0x1d7)]?_0x20c14f(0x20e)===this[_0x20c14f(0x1da)][_0x20c14f(0x1e1)][_0x20c14f(0x1cf)][_0x20c14f(0x1f2)]?_0x51c387(this[_0x20c14f(0x1dc)],_0x20c14f(0x1e2),this[_0x20c14f(0x1da)][_0x20c14f(0x1cd)][_0x20c14f(0x1bb)]):_0x51c387(this[_0x20c14f(0x1dc)],_0x20c14f(0x206),this[_0x20c14f(0x1da)][_0x20c14f(0x1cd)][_0x20c14f(0x1bb)]):null;}[_0x28e249(0x1f6)](){const _0x3469b3=_0x28e249;return _0x3469b3(0x20e)===this[_0x3469b3(0x1da)][_0x3469b3(0x1e1)][_0x3469b3(0x1cf)][_0x3469b3(0x1f2)]?_0x51c387(this[_0x3469b3(0x1dc)],_0x3469b3(0x1b7)):_0x51c387(this[_0x3469b3(0x1dc)],_0x3469b3(0x1cc));}[_0x28e249(0x1fa)](_0xed1eb4,_0x277d7c,_0x47a52b,_0x5d81cb,_0x31e546){const _0x33e36e=_0x28e249,_0x622d40=new _0x100c49(this[_0x33e36e(0x1dc)]);return _0x622d40[_0x33e36e(0x1f4)]({'label':_0xed1eb4,'icon':_0x277d7c,'tooltip':!0x0,'tooltipPosition':_0x31e546}),_0x622d40[_0x33e36e(0x208)]({'attributes':{'class':_0x47a52b}}),_0x622d40['on'](_0x33e36e(0x1dd),()=>{const _0xea2fff=_0x33e36e;this[_0xea2fff(0x1c9)](_0x5d81cb,this[_0xea2fff(0x1da)]['id']);}),_0x622d40;}[_0x28e249(0x1f1)](){const _0x2b2dc5=_0x28e249,_0x466741=this[_0x2b2dc5(0x1db)];this[_0x2b2dc5(0x202)][_0x2b2dc5(0x1ff)](_0x466741);for(const _0x15f58a of this[_0x2b2dc5(0x1e9)])this[_0x2b2dc5(0x1e4)][_0x2b2dc5(0x1d5)](_0x15f58a[_0x2b2dc5(0x1db)]),this[_0x2b2dc5(0x202)][_0x2b2dc5(0x1ff)](_0x15f58a[_0x2b2dc5(0x1db)]);this[_0x2b2dc5(0x202)][_0x2b2dc5(0x1f4)](_0x2b2dc5(0x1c6),(_0xb3e0f3,_0x56b465)=>{const _0x373f57=_0x2b2dc5;_0x466741===_0xb3e0f3[_0x373f57(0x1cb)]&&(this[_0x373f57(0x1ec)][_0x373f57(0x1d4)](),_0x56b465());}),this[_0x2b2dc5(0x202)][_0x2b2dc5(0x1f4)](_0x2b2dc5(0x1e7),(_0x261b8b,_0x4c4029)=>{const _0x4aae32=_0x2b2dc5;_0x466741!==_0x261b8b[_0x4aae32(0x1cb)]&&(this[_0x4aae32(0x1bc)](),_0x4c4029());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x539c61=_0x2619;(function(_0x179e57,_0x438c59){const _0x491d36=_0x2619,_0x35f4c9=_0x179e57();while(!![]){try{const _0x180969=parseInt(_0x491d36(0x7c))/0x1*(-parseInt(_0x491d36(0x80))/0x2)+-parseInt(_0x491d36(0x8a))/0x3+-parseInt(_0x491d36(0x8b))/0x4*(parseInt(_0x491d36(0x79))/0x5)+-parseInt(_0x491d36(0x76))/0x6+-parseInt(_0x491d36(0x85))/0x7+-parseInt(_0x491d36(0x6a))/0x8*(-parseInt(_0x491d36(0x6c))/0x9)+parseInt(_0x491d36(0x7a))/0xa*(parseInt(_0x491d36(0x73))/0xb);if(_0x180969===_0x438c59)break;else _0x35f4c9['push'](_0x35f4c9['shift']());}catch(_0x5aad72){_0x35f4c9['push'](_0x35f4c9['shift']());}}}(_0x3448,0x1d801));function _0x2619(_0xd27196,_0x7d7641){const _0x3448a6=_0x3448();return _0x2619=function(_0x2619e,_0xc58a90){_0x2619e=_0x2619e-0x6a;let _0x243c09=_0x3448a6[_0x2619e];return _0x243c09;},_0x2619(_0xd27196,_0x7d7641);}function _0x3448(){const _0x37e21f=['ck-track-changes-preview','113769xsqnnU','element','data-ck-root-name','innerHTML','options','previewDataReady','content','9233609VLtzdG','style','setAttribute','1388142MKSHgD','fire','push','40XlwNLv','10bOIbbQ','createElement','102CTlhlf','ck-reset','width','div','2846ckZKme','classes','setPreviewData','className','setTemplate','707721vEySBV','height','dialogRects','\x20ck-track-changes-preview__root-container','render','139098GJHpeX','109948XkHQjm','focus','16rnGeuH'];_0x3448=function(){return _0x37e21f;};return _0x3448();}import{View as _0x246c8a}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x246c8a{[_0x539c61(0x70)];constructor(_0x5e5e77,_0x366509){const _0x27c8b5=_0x539c61;super(_0x5e5e77),this[_0x27c8b5(0x70)]=_0x366509,this[_0x27c8b5(0x84)]({'tag':_0x27c8b5(0x7f),'attributes':{'class':['ck',_0x27c8b5(0x7d),_0x27c8b5(0x6b)],'tabindex':-0x1}});}[_0x539c61(0x89)](){const _0x5d653b=_0x539c61;super[_0x5d653b(0x89)](),this[_0x5d653b(0x6d)][_0x5d653b(0x74)][_0x5d653b(0x7e)]=this[_0x5d653b(0x70)][_0x5d653b(0x87)][_0x5d653b(0x7e)]+'px',this[_0x5d653b(0x6d)][_0x5d653b(0x74)][_0x5d653b(0x86)]=this[_0x5d653b(0x70)][_0x5d653b(0x87)][_0x5d653b(0x86)]+'px';}[_0x539c61(0x82)](_0x44d935,_0x277e4e){const _0x3dc004=_0x539c61;if(!this[_0x3dc004(0x6d)])return;const _0x1fe3be=[];for(const [_0x361ab4,_0x12ba69]of _0x44d935){const _0x2c1869=document[_0x3dc004(0x7b)](_0x3dc004(0x7f));_0x2c1869[_0x3dc004(0x75)](_0x3dc004(0x6e),_0x361ab4),_0x2c1869[_0x3dc004(0x83)]=_0x12ba69[_0x3dc004(0x81)]+_0x3dc004(0x88),_0x2c1869[_0x3dc004(0x6f)]=_0x12ba69[_0x3dc004(0x72)],_0x1fe3be[_0x3dc004(0x78)](_0x2c1869);}_0x277e4e(this[_0x3dc004(0x6d)],_0x1fe3be),this[_0x3dc004(0x6d)][_0x3dc004(0x74)][_0x3dc004(0x86)]='',this[_0x3dc004(0x77)](_0x3dc004(0x71));}[_0x539c61(0x8c)](){const _0x545646=_0x539c61;this[_0x545646(0x6d)][_0x545646(0x8c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x31260b,_0x4c7427,_0x1257cc){const _0x689c20=_0x31260b['t'],t=_0x31260b['t'];switch(_0x4c7427){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',_0x1257cc);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1257cc);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1257cc);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1257cc);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1257cc);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',_0x1257cc);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1257cc);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',_0x1257cc);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1257cc);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1257cc);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1257cc);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1257cc);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1257cc);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1257cc);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1257cc);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1257cc);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1257cc);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1257cc);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1257cc);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1257cc);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1257cc);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1257cc);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1257cc);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1257cc);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1257cc);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'},_0x1257cc);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1257cc);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1257cc);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1257cc);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1257cc);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1257cc);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1257cc);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1257cc);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'},_0x1257cc);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1257cc);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1257cc);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1257cc);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1257cc);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x1257cc);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1257cc);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'},_0x1257cc);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1257cc);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1257cc);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'},_0x1257cc);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1257cc);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'},_0x1257cc);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1257cc);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x1257cc);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x1257cc);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x1257cc);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1257cc);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'},_0x1257cc);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1257cc);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 _0x689c20({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1257cc);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x689c20({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1257cc);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1257cc);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'},_0x1257cc);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'},_0x1257cc);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'},_0x1257cc);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4c7427;}}
|
|
23
|
+
export function getTranslation(_0x20cb53,_0x38d649,_0x18955b){const _0x511132=_0x20cb53['t'],t=_0x20cb53['t'];switch(_0x38d649){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',_0x18955b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x18955b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x18955b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x18955b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x18955b);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',_0x18955b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x18955b);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',_0x18955b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x18955b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x18955b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x18955b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x18955b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x18955b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x18955b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x18955b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x18955b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x18955b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x18955b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x18955b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x18955b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x18955b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x18955b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x18955b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x18955b);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x18955b);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'},_0x18955b);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x18955b);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x18955b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x18955b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x18955b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x18955b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x18955b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x18955b);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'},_0x18955b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x18955b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x18955b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x18955b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x18955b);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0x18955b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x18955b);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'},_0x18955b);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x18955b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x18955b);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'},_0x18955b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x18955b);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'},_0x18955b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x18955b);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x18955b);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x18955b);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x18955b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x18955b);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'},_0x18955b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x18955b);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 _0x511132({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x18955b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x511132({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x18955b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x18955b);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'},_0x18955b);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'},_0x18955b);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'},_0x18955b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x38d649;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4a8ba2,_0x5c23e7){const _0x212255=_0x58c6,_0x11111b=_0x4a8ba2();while(!![]){try{const _0x2956b2=parseInt(_0x212255(0x1cc))/0x1*(parseInt(_0x212255(0x1ce))/0x2)+parseInt(_0x212255(0x1d0))/0x3+parseInt(_0x212255(0x1ca))/0x4*(-parseInt(_0x212255(0x1ef))/0x5)+parseInt(_0x212255(0x1d3))/0x6+-parseInt(_0x212255(0x1e6))/0x7+parseInt(_0x212255(0x1e3))/0x8*(parseInt(_0x212255(0x1c9))/0x9)+-parseInt(_0x212255(0x1f2))/0xa*(-parseInt(_0x212255(0x1e9))/0xb);if(_0x2956b2===_0x5c23e7)break;else _0x11111b['push'](_0x11111b['shift']());}catch(_0x4f7d2f){_0x11111b['push'](_0x11111b['shift']());}}}(_0xf422,0xe29a7));export function normalizeDescription(_0x5644da){const _0x6b433c=_0x58c6;return Array[_0x6b433c(0x1d4)](_0x5644da)||(_0x5644da=[_0x5644da]),_0x5644da[_0x6b433c(0x1cd)](_0x359e01=>{const _0x40c1dd=_0x6b433c,_0x45cb29=_0x359e01[_0x40c1dd(0x1d9)][_0x40c1dd(0x1bf)](/\*/g,''),_0x47bee5=_0x359e01[_0x40c1dd(0x1d8)]?_0x40c1dd(0x1e1)+_0x359e01[_0x40c1dd(0x1d8)][_0x40c1dd(0x1e0)]+']':'';return'['+_0x359e01[_0x40c1dd(0x1cf)]+']\x20'+_0x45cb29+_0x47bee5;})[_0x6b433c(0x1eb)](';\x20');}export function renderDescription(_0x17135f,_0x1a86e7){const _0x53cad2=_0x58c6;let _0x2635c6='';return _0x2635c6+=_0x17135f[_0x53cad2(0x1bb)]('*')[_0x53cad2(0x1cd)]((_0x53c6ec,_0x44b58f)=>_0x44b58f%0x2!=0x0?_0x53cad2(0x1d7)+rn(_0x53c6ec)+_0x53cad2(0x1e5):rn(_0x53c6ec))[_0x53cad2(0x1eb)](''),_0x1a86e7&&(_0x2635c6+=_0x53cad2(0x1d2)+_0x1a86e7[_0x53cad2(0x1e0)]+_0x53cad2(0x1ee)+_0x1a86e7[_0x53cad2(0x1c8)]+_0x53cad2(0x1df)),_0x2635c6;}function rn(_0x29a484){const _0x3470c8=_0x58c6,_0xbca8eb=document[_0x3470c8(0x1d6)](_0x3470c8(0x1f1));return _0xbca8eb[_0x3470c8(0x1ec)]=_0x29a484,_0xbca8eb[_0x3470c8(0x1bc)];}function _0x58c6(_0x1c20c5,_0x47d86c){const _0xf42222=_0xf422();return _0x58c6=function(_0x58c6d9,_0x4a88a3){_0x58c6d9=_0x58c6d9-0x1bb;let _0x44408d=_0xf42222[_0x58c6d9];return _0x44408d;},_0x58c6(_0x1c20c5,_0x47d86c);}export function sortSuggestions(_0xf050a3){const _0x5a2230=_0x58c6;return _0xf050a3[_0x5a2230(0x1db)]((_0x3d9744,_0x30d8fa)=>_0x5a2230(0x1d1)===_0x3d9744[_0x5a2230(0x1cf)]&&_0x5a2230(0x1d1)!==_0x30d8fa[_0x5a2230(0x1cf)]?-0x1:_0x5a2230(0x1d1)!==_0x3d9744[_0x5a2230(0x1cf)]&&_0x5a2230(0x1d1)===_0x30d8fa[_0x5a2230(0x1cf)]?0x1:_0x5a2230(0x1d5)==_0x3d9744[_0x5a2230(0x1cf)]&&_0x5a2230(0x1d5)!=_0x30d8fa[_0x5a2230(0x1cf)]?-0x1:_0x5a2230(0x1d5)!=_0x3d9744[_0x5a2230(0x1cf)]&&_0x5a2230(0x1d5)==_0x30d8fa[_0x5a2230(0x1cf)]?0x1:0x0);}export function getSelectedSuggestions(_0x5b2829,_0x108772){const _0x5dcdc8=_0x58c6,_0x557b7d=Array[_0x5dcdc8(0x1ed)](_0x5b2829[_0x5dcdc8(0x1c5)]()),_0x5f4e0a=new Set();for(const _0x5a9773 of _0x108772)if(_0x5a9773[_0x5dcdc8(0x1c0)]){for(const _0x538375 of _0x557b7d)for(const _0xfc2ab6 of _0x5a9773[_0x5dcdc8(0x1c5)]())(_0x538375[_0x5dcdc8(0x1e7)](_0xfc2ab6)||_0x5b2829[_0x5dcdc8(0x1f0)]&&!_0x5a9773[_0x5dcdc8(0x1e2)]&&_0x5a9773[_0x5dcdc8(0x1dd)]&&_0xfc2ab6[_0x5dcdc8(0x1e8)][_0x5dcdc8(0x1bd)](_0x538375[_0x5dcdc8(0x1e4)]))&&_0x5f4e0a[_0x5dcdc8(0x1c4)](_0x5a9773);}return _0x5f4e0a;}function _0xf422(){const _0xb244ec=['<span\x20class=\x22ck-suggestion-type\x22>','color','content','schema','sort','createPositionBefore','next','change','\x22></span>','value','\x20[color\x20','isMultiRange','767384Itkhfb','start','</span>','8268617nhLNxn','isIntersecting','end','11hFxfEt','createPositionAfter','join','innerText','from','\x22\x20title=\x22','25psRUUJ','isCollapsed','span','10602490CBmmFK','split','innerHTML','isTouching','execute','replace','isInContent','length','createPositionAt','isObject','add','getRanges','createRange','push','title','9MiRRpY','871652rqDfEr','splice','90173HayKnY','map','10kpuvfs','type','3130191vSvCXi','attribute','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','3291174fhWhca','isArray','deletion','createElement'];_0xf422=function(){return _0xb244ec;};return _0xf422();}export function getRangesOfBlockGroups(_0x434935,_0x1c25ce){const _0x320a24=_0x58c6;let _0x1d4f47,_0x42425a=0x0;const _0x1628a5=[],_0x3b5481=_0x1c25ce[_0x320a24(0x1da)];for(;_0x42425a<_0x434935[_0x320a24(0x1c1)];){const _0xa54889=_0x434935[_0x42425a],_0x3381e4=_0x434935[_0x42425a+0x1];_0x1d4f47||(_0x1d4f47=_0x1c25ce[_0x320a24(0x1dc)](_0xa54889)),cn(_0x1c25ce,_0xa54889,_0x3381e4)||(_0x1628a5[_0x320a24(0x1c7)](_0x1c25ce[_0x320a24(0x1c6)](_0x1d4f47,_0x3b5481[_0x320a24(0x1c3)](_0xa54889)?_0x1c25ce[_0x320a24(0x1ea)](_0xa54889):_0x1c25ce[_0x320a24(0x1c2)](_0xa54889,_0x320a24(0x1e8)))),_0x1d4f47=null),_0x42425a++;}return _0x1628a5;}function cn(_0x55f7b4,_0x55fb8b,_0x42b338){const _0x37c7ab=_0x58c6;if(!_0x42b338)return!0x1;const _0x17c00e=_0x55f7b4[_0x37c7ab(0x1ea)](_0x55fb8b),_0x1faf95=_0x55f7b4[_0x37c7ab(0x1dc)](_0x42b338);return _0x17c00e[_0x37c7ab(0x1bd)](_0x1faf95);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5286a9,_0x2640c2,_0x455da6){const _0x3e694d=_0x58c6;for(;_0x455da6[_0x3e694d(0x1c1)];){const _0x5cb0dd=_0x455da6[_0x3e694d(0x1cb)](0x0,0x64);_0x5286a9[_0x3e694d(0x1de)](()=>{const _0x35dbd6=_0x3e694d;for(const _0x270286 of _0x5cb0dd)_0x270286[_0x35dbd6(0x1c0)]&&_0x2640c2[_0x35dbd6(0x1be)](_0x270286['id']);});}}
|