@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250702.0 → 0.0.0-nightly-20250704.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x89cc10=_0x55a5;(function(_0x1e97fb,_0x3f8dfb){const _0x22a8a5=_0x55a5,_0x4eb405=_0x1e97fb();while(!![]){try{const _0x5a389a=parseInt(_0x22a8a5(0x107))/0x1+-parseInt(_0x22a8a5(0xf8))/0x2*(parseInt(_0x22a8a5(0x109))/0x3)+-parseInt(_0x22a8a5(0xfd))/0x4*(parseInt(_0x22a8a5(0x104))/0x5)+parseInt(_0x22a8a5(0xf7))/0x6*(parseInt(_0x22a8a5(0x108))/0x7)+-parseInt(_0x22a8a5(0x10b))/0x8+-parseInt(_0x22a8a5(0xfa))/0x9+parseInt(_0x22a8a5(0x101))/0xa*(parseInt(_0x22a8a5(0x103))/0xb);if(_0x5a389a===_0x3f8dfb)break;else _0x4eb405['push'](_0x4eb405['shift']());}catch(_0x26b416){_0x4eb405['push'](_0x4eb405['shift']());}}}(_0x2ea3,0x40c87));import{Plugin as _0x5e3935}from'ckeditor5/src/core.js';function _0x2ea3(){const _0x4c3729=['requires','4JqdpaJ','previewFinalContent','isOfficialPlugin','config','20dXUOnu','appendChild','5027781owOTMq','1364605fhcbmx','define','pluginName','409897LystQR','217LbAFLM','1188KfcqnZ','trackChanges.preview.renderFunction','3413232wBYPQA','add','editor','TrackChangesPreview','38154aMdkzZ','244FnRTwr','commands','4571370sNEziR','isPremiumPlugin'];_0x2ea3=function(){return _0x4c3729;};return _0x2ea3();}import{Dialog as _0x5af812}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x14ae42}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3ae60b}from'./commands/previewfinalcontentcommand.js';function _0x55a5(_0x56051b,_0x2c9006){const _0x2ea35b=_0x2ea3();return _0x55a5=function(_0x55a5d5,_0x3c9e15){_0x55a5d5=_0x55a5d5-0xf7;let _0x5d88e4=_0x2ea35b[_0x55a5d5];return _0x5d88e4;},_0x55a5(_0x56051b,_0x2c9006);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x5e3935{static get[_0x89cc10(0xfc)](){return[_0x14ae42,_0x5af812];}static get[_0x89cc10(0x106)](){const _0x2baf3d=_0x89cc10;return _0x2baf3d(0x10e);}static get[_0x89cc10(0xff)](){return!0x0;}static get[_0x89cc10(0xfb)](){return!0x0;}constructor(_0x22827a){const _0x3975f7=_0x89cc10;super(_0x22827a),_0x22827a[_0x3975f7(0xf9)][_0x3975f7(0x10c)](_0x3975f7(0xfe),new _0x3ae60b(this[_0x3975f7(0x10d)])),_0x22827a[_0x3975f7(0x100)][_0x3975f7(0x105)](_0x3975f7(0x10a),(_0x2f9955,_0xcb4c7)=>{const _0x48d265=_0x3975f7;for(const _0x573ff1 of _0xcb4c7)_0x2f9955[_0x48d265(0x102)](_0x573ff1);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x41e7e6=_0x4244;function _0x9d94(){const _0x18e10a=['switchbutton','isDirty','_createToolbarButton','comments.maxThreadTotalWeight','activeAnnotations','addSourceCollector','invalid','trackChanges','discardButton','6VqLneY','acceptAllSuggestions','createCommentThreadController','values','comments','commentThread','_updateController','trackChangesLicenseKeyInvalid','addComment','unbind','define','_suggestionToController','isOfficialPlugin','buttonView','isMultiRange','132051qHvIEB','requires','delegate','listenTo','push','TrackChangesPreview','licenseKey','commentsListView','_viewToController','lowest','TrackChanges','_refreshActiveMarkers','focus','EditorAnnotations','previewFinalContent','trackChangesLicenseKeyEvaluationLimit','from','destroy','CommentsRepository','_handleSuggestionControllerDelayed','hasSuggestion','trialLimit','children','createAnnotationView','evaluationLimit','TrackChangesUI','reduce','plugins','delete','_bindAnnotationToEditors','activeMarkers','getRanges','descriptionParts','filter','getJoined','trackChangesLicenseKeyUsageLimit','Track\x20changes','separator','suggestionLoaded','_licenseKeyCheckInterval','isEnabled','trackChangesLicenseKeyTrialLimit','descriptionFactory','get','_disableComments','comments.maxCommentCharsWhenCollapsed','set','isInContent','addMany','commands','CommentsUI','escape','view','model','usageLimit','isPremiumPlugin','discardSelectedSuggestions','registerAnnotation','trackChangesLicenseKeyExpired','locale','type','_handleControllerBuffer','trackChangesLicenseKeyNotAllowed','270GHIYzR','trackChanges.SuggestionThreadView','_showLicenseError','toMany','getMarkers','menuBar:trackChanges','change:previous','Preview\x20final\x20content','editing','execute','_destroyController','remove','getSuggestion','_addUIComponentsToFactory','init','discardAllSuggestions','suggestion-','683688XUOQxl','trackChanges.SuggestionView','arrowView','suggestionChanged','items','bind','getFirstRange','Discard\x20all\x20suggestions','size','getSuggestionForAnnotation','3637824JlOqII','getAnnotationForSuggestion','editor','keys','_initializeController','SuggestionThreadView','change:activeAnnotations','getMarkerNames','componentFactory','menuitemcheckbox','commandName','has','_annotationViews','Accept\x20all\x20suggestions','trackChanges.disableComments','7051506yeebqi','domainLimit','createAnnotation','acceptButton','head','getAllAdjacentSuggestions','comments.editorConfig','_createMenuBarMenu','clear','Discard\x20all\x20selected\x20suggestions','pluginName','isOn','some','innerView','stopListening','Annotations','_unbindEditors','length','TrackChangesEditing','button','CommentView','getDescriptions','trackChangesLicenseKeyValid','SuggestionView','831813XNnktp','expired','value','trackChangesLicenseKeyDomainLimit','getByInnerView','actionView','menu','mainView','previous','acceptSelectedSuggestions','config','Accept\x20all\x20selected\x20suggestions','add','refreshSelectedViews','panelView','fire','comments.maxCommentsWhenCollapsed','5048592AhOUwj','menuitem','2842480jRTsxP','source','suggestionView','suggestionUnloaded','featureNotAllowed'];_0x9d94=function(){return _0x18e10a;};return _0x9d94();}function _0x4244(_0x4277f4,_0x175bc5){const _0x9d94e3=_0x9d94();return _0x4244=function(_0x4244bb,_0x41db85){_0x4244bb=_0x4244bb-0x1b3;let _0xab0e50=_0x9d94e3[_0x4244bb];return _0xab0e50;},_0x4244(_0x4277f4,_0x175bc5);}(function(_0x4c367d,_0x422bc4){const _0x35e4fe=_0x4244,_0x418cc0=_0x4c367d();while(!![]){try{const _0x4396e0=-parseInt(_0x35e4fe(0x1d1))/0x1+parseInt(_0x35e4fe(0x1f2))/0x2*(parseInt(_0x35e4fe(0x201))/0x3)+-parseInt(_0x35e4fe(0x25b))/0x4+-parseInt(_0x35e4fe(0x1e4))/0x5+-parseInt(_0x35e4fe(0x1e2))/0x6+parseInt(_0x35e4fe(0x1b9))/0x7+parseInt(_0x35e4fe(0x251))/0x8*(parseInt(_0x35e4fe(0x240))/0x9);if(_0x4396e0===_0x422bc4)break;else _0x418cc0['push'](_0x418cc0['shift']());}catch(_0x168704){_0x418cc0['push'](_0x418cc0['shift']());}}}(_0x9d94,0x86c6a));import{Plugin as _0x36e2a8}from'ckeditor5/src/core.js';import{Collection as _0x273eeb}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x1f0535}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x293c74,createDropdown as _0x36f252,ListSeparatorView as _0x52717e,MenuBarMenuView as _0x229e7a,MenuBarMenuListView as _0x1a372a,MenuBarMenuListItemView as _0x511c63,MenuBarMenuListItemButtonView as _0x568cc4,SplitButtonView as _0x593d97,UIModel as _0x1fbd1d}from'ckeditor5/src/ui.js';import{Users as _0x410665,getDateTimeFormatter as _0x46af9c,getAllMarkersDomElementsSorted as _0x32b631}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x32c179}from'./trackchangesediting.js';import{SuggestionController as _0x36300a}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x295183}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x366548}from'./ui/view/suggestionview.js';import{getTranslation as _0x310a4a}from'./utils/common-translations.js';export class TrackChangesUI extends _0x36e2a8{[_0x41e7e6(0x207)];[_0x41e7e6(0x228)];[_0x41e7e6(0x1fd)];[_0x41e7e6(0x209)];[_0x41e7e6(0x1b6)];[_0x41e7e6(0x23e)];[_0x41e7e6(0x22d)];static get[_0x41e7e6(0x202)](){const _0x1866eb=_0x41e7e6;return[_0x32c179,_0x410665,_0x1866eb(0x213),_0x1866eb(0x1c8),_0x1866eb(0x20e)];}static get[_0x41e7e6(0x1c3)](){const _0x439183=_0x41e7e6;return _0x439183(0x21a);}static get[_0x41e7e6(0x1fe)](){return!0x0;}static get[_0x41e7e6(0x238)](){return!0x0;}constructor(_0x207002){const _0x5b77d4=_0x41e7e6;super(_0x207002),this[_0x5b77d4(0x1fd)]=new Map(),this[_0x5b77d4(0x209)]=new Map(),this[_0x5b77d4(0x1b6)]=new Map(),this[_0x5b77d4(0x23e)]=new Map();const _0x2e5b2f=this[_0x5b77d4(0x25d)][_0x5b77d4(0x1db)];_0x2e5b2f[_0x5b77d4(0x1fc)](_0x5b77d4(0x241),_0x295183),_0x2e5b2f[_0x5b77d4(0x1fc)](_0x5b77d4(0x252),_0x366548),_0x2e5b2f[_0x5b77d4(0x1fc)](_0x5b77d4(0x1b8),!0x1),this[_0x5b77d4(0x22d)]=_0x2e5b2f[_0x5b77d4(0x22c)](_0x5b77d4(0x1b8));}[_0x41e7e6(0x214)](_0x2be04e,_0x507336){const _0x3eb67e=_0x41e7e6;0x0===this[_0x3eb67e(0x23e)][_0x3eb67e(0x259)]&&setTimeout(()=>{const _0x3aabba=_0x3eb67e;for(const [_0x1a1230,_0x1bcff4]of this[_0x3aabba(0x23e)]){const _0x31b9c5=this[_0x3aabba(0x1fd)][_0x3aabba(0x1b5)](_0x1a1230);_0x31b9c5||_0x1bcff4?_0x31b9c5&&_0x1bcff4&&this[_0x3aabba(0x24a)](_0x1a1230):this[_0x3aabba(0x25f)](_0x1a1230);}this[_0x3aabba(0x23e)][_0x3aabba(0x1c1)](),this[_0x3aabba(0x25d)][_0x3aabba(0x21c)][_0x3aabba(0x22c)](_0x3aabba(0x20e))[_0x3aabba(0x1de)](),this[_0x3aabba(0x20c)]();},0xa),this[_0x3eb67e(0x23e)][_0x3eb67e(0x22f)](_0x2be04e,_0x507336);}[_0x41e7e6(0x24e)](){const _0x28883b=_0x41e7e6,_0x51416d=this[_0x28883b(0x25d)],_0x2042e7=_0x51416d[_0x28883b(0x21c)][_0x28883b(0x22c)](_0x28883b(0x1cb)),_0x226282=_0x51416d[_0x28883b(0x21c)][_0x28883b(0x22c)](_0x28883b(0x1c8)),_0x1fcf68=_0x51416d[_0x28883b(0x21c)][_0x28883b(0x22c)](_0x28883b(0x20e)),_0x43aa9f=_0x51416d[_0x28883b(0x21c)][_0x28883b(0x22c)](_0x28883b(0x213));this[_0x28883b(0x24d)](),_0x1fcf68[_0x28883b(0x1ee)](()=>{const _0x4402ae=_0x28883b,_0x1f6671=[];for(const [_0x2ef4a6,_0x13e0a4]of Array[_0x4402ae(0x211)](this[_0x4402ae(0x1fd)])){const _0x2ec700=_0x2ef4a6[_0x4402ae(0x1be)](),_0x80b54=[];for(const _0x129c18 of _0x2ec700){if(!_0x129c18[_0x4402ae(0x230)])continue;if(_0x129c18[_0x4402ae(0x200)]){_0x80b54[_0x4402ae(0x205)](..._0x129c18[_0x4402ae(0x220)]());continue;}const _0x485445=_0x129c18[_0x4402ae(0x257)]();if(_0x80b54[_0x4402ae(0x1ca)]>0x0){const _0x4077ba=_0x80b54[0x0][_0x4402ae(0x223)](_0x485445);if(_0x4077ba){_0x80b54[0x0]=_0x4077ba;continue;}}_0x80b54[_0x4402ae(0x205)](_0x485445);}_0x1f6671[_0x4402ae(0x205)]([_0x13e0a4[_0x4402ae(0x235)],_0x80b54]);}return _0x1f6671;}),this[_0x28883b(0x204)](_0x2042e7,_0x28883b(0x227),(_0xb16fe0,_0x7e034c)=>{const _0xeb65b6=_0x28883b;this[_0xeb65b6(0x204)](_0x7e034c,_0xeb65b6(0x246),(_0x1e6279,_0x31b2ff,_0x8441bb,_0x375cd8)=>{const _0x43a7db=_0xeb65b6;_0x7e034c[_0x43a7db(0x230)]&&(null==_0x8441bb?(this[_0x43a7db(0x1f8)](_0x375cd8[_0x43a7db(0x1bd)]),this[_0x43a7db(0x214)](_0x7e034c,!0x1)):(this[_0x43a7db(0x1f8)](_0x8441bb[_0x43a7db(0x1bd)]),null==_0x375cd8&&this[_0x43a7db(0x214)](_0x7e034c,!0x0)));}),null!==_0x7e034c[_0xeb65b6(0x1d9)]?this[_0xeb65b6(0x1f8)](_0x7e034c[_0xeb65b6(0x1bd)]):this[_0xeb65b6(0x214)](_0x7e034c,!0x1);}),this[_0x28883b(0x204)](_0x2042e7,_0x28883b(0x1e7),(_0x1de53a,_0x5e7369,_0x1e6ff0)=>{const _0x158541=_0x28883b;this[_0x158541(0x1c7)](_0x5e7369,_0x158541(0x246)),this[_0x158541(0x23e)][_0x158541(0x21d)](_0x5e7369),this[_0x158541(0x1fd)][_0x158541(0x1b5)](_0x5e7369)&&this[_0x158541(0x24a)](_0x5e7369),_0x1e6ff0&&this[_0x158541(0x1f8)](_0x1e6ff0[_0x158541(0x1bd)]);}),this[_0x28883b(0x204)](_0x2042e7,_0x28883b(0x254),(_0x282857,_0x5af7ba)=>{const _0x5296e0=_0x28883b;this[_0x5296e0(0x1f8)](_0x5af7ba);}),this[_0x28883b(0x204)](_0x226282,_0x28883b(0x261),()=>{const _0x4b25c6=_0x28883b;this[_0x4b25c6(0x20c)]();}),this[_0x28883b(0x204)](_0x43aa9f,_0x28883b(0x1fa),(_0x172117,{threadId:_0x1307d5,isFromAdapter:_0x3b952d})=>{const _0x40d936=_0x28883b;if(_0x3b952d||!_0x2042e7[_0x40d936(0x215)](_0x1307d5))return;const _0xe13533=_0x2042e7[_0x40d936(0x24c)](_0x1307d5);this[_0x40d936(0x1fd)][_0x40d936(0x22c)](_0xe13533)[_0x40d936(0x235)][_0x40d936(0x208)][_0x40d936(0x20d)](-0x1);},{'priority':_0x28883b(0x20a)}),this[_0x28883b(0x207)]=this[_0x28883b(0x25d)][_0x28883b(0x1db)][_0x28883b(0x22c)](_0x28883b(0x207));const _0x31e3a5=this[_0x28883b(0x25d)];this[_0x28883b(0x228)]=setInterval(()=>{const _0x5a22cb=_0x28883b;let _0x34aab2;for(const _0x1f1883 in _0x31e3a5){const _0x3ac1d2=_0x1f1883,_0x52cbf5=_0x31e3a5[_0x3ac1d2];if(_0x5a22cb(0x1cf)==_0x52cbf5||_0x5a22cb(0x1f9)==_0x52cbf5||_0x5a22cb(0x23b)==_0x52cbf5||_0x5a22cb(0x1d4)==_0x52cbf5||_0x5a22cb(0x23f)==_0x52cbf5||_0x5a22cb(0x210)==_0x52cbf5||_0x5a22cb(0x22a)==_0x52cbf5||_0x5a22cb(0x224)==_0x52cbf5){delete _0x31e3a5[_0x3ac1d2],_0x34aab2=_0x52cbf5,clearInterval(this[_0x5a22cb(0x228)]),this[_0x5a22cb(0x228)]=void 0x0;break;}}_0x5a22cb(0x1f9)==_0x34aab2&&_0x31e3a5[_0x5a22cb(0x242)](_0x5a22cb(0x1ef)),_0x5a22cb(0x23b)==_0x34aab2&&_0x31e3a5[_0x5a22cb(0x242)](_0x5a22cb(0x1d2)),_0x5a22cb(0x1d4)==_0x34aab2&&_0x31e3a5[_0x5a22cb(0x242)](_0x5a22cb(0x1ba)),_0x5a22cb(0x23f)==_0x34aab2&&_0x31e3a5[_0x5a22cb(0x242)](_0x5a22cb(0x1e8),_0x5a22cb(0x20b)),_0x5a22cb(0x210)==_0x34aab2&&_0x31e3a5[_0x5a22cb(0x242)](_0x5a22cb(0x219)),_0x5a22cb(0x22a)==_0x34aab2&&_0x31e3a5[_0x5a22cb(0x242)](_0x5a22cb(0x216)),_0x5a22cb(0x224)==_0x34aab2&&_0x31e3a5[_0x5a22cb(0x242)](_0x5a22cb(0x237));},0x3e8);}[_0x41e7e6(0x25c)](_0x24fd5d){const _0x2d872d=_0x41e7e6,_0x8eeeab=this[_0x2d872d(0x1fd)][_0x2d872d(0x22c)](_0x24fd5d);if(!_0x8eeeab)return null;return this[_0x2d872d(0x25d)][_0x2d872d(0x21c)][_0x2d872d(0x22c)](_0x2d872d(0x1c8))[_0x2d872d(0x1d5)](_0x8eeeab[_0x2d872d(0x235)])||null;}[_0x41e7e6(0x25a)](_0x390235){const _0x5b1af8=_0x41e7e6,_0x5e55b8=this[_0x5b1af8(0x209)][_0x5b1af8(0x22c)](_0x390235[_0x5b1af8(0x1c6)]);return _0x5e55b8?_0x5e55b8[_0x5b1af8(0x236)]:null;}[_0x41e7e6(0x20c)](){const _0x224a46=_0x41e7e6,_0x569954=this[_0x224a46(0x25d)][_0x224a46(0x21c)][_0x224a46(0x22c)](_0x224a46(0x1c8)),_0x2eb917=this[_0x224a46(0x25d)][_0x224a46(0x21c)][_0x224a46(0x22c)](_0x224a46(0x1cb)),_0x16ef23=Array[_0x224a46(0x211)](_0x569954[_0x224a46(0x1ed)],_0x48b196=>_0x48b196[_0x224a46(0x1c6)])[_0x224a46(0x222)](_0x44b1b2=>this[_0x224a46(0x209)][_0x224a46(0x1b5)](_0x44b1b2)),_0x2e6834=[];for(const _0x361298 of _0x16ef23){const _0x48357b=this[_0x224a46(0x209)][_0x224a46(0x22c)](_0x361298)[_0x224a46(0x236)][_0x224a46(0x1be)]();_0x2e6834[_0x224a46(0x205)](..._0x48357b[_0x224a46(0x21b)]((_0x11d257,_0x320b03)=>[..._0x11d257,..._0x320b03[_0x224a46(0x262)]()],[]));}_0x2eb917[_0x224a46(0x21f)]=_0x2e6834;}[_0x41e7e6(0x24d)](){const _0x290238=_0x41e7e6,_0x5f56ae=this[_0x290238(0x25d)],_0x43af65=_0x5f56ae[_0x290238(0x23c)],_0x3657bb=_0x310a4a(_0x43af65,_0x290238(0x225)),_0x244d24=new _0x273eeb([{'type':_0x290238(0x1e9),'model':new _0x1fbd1d({'withText':!0x0,'isToggleable':!0x0,'label':_0x3657bb,'commandName':_0x290238(0x1f0),'role':_0x290238(0x1b3)})},{'type':_0x290238(0x226)},{'type':_0x290238(0x1cc),'model':new _0x1fbd1d({'withText':!0x0,'label':_0x310a4a(_0x43af65,_0x290238(0x1b7)),'commandName':_0x290238(0x1f3),'role':_0x290238(0x1e3)})},{'type':_0x290238(0x1cc),'model':new _0x1fbd1d({'withText':!0x0,'label':_0x310a4a(_0x43af65,_0x290238(0x1dc)),'commandName':_0x290238(0x1da),'role':_0x290238(0x1e3)})},{'type':_0x290238(0x1cc),'model':new _0x1fbd1d({'withText':!0x0,'label':_0x310a4a(_0x43af65,_0x290238(0x258)),'commandName':_0x290238(0x24f),'role':_0x290238(0x1e3)})},{'type':_0x290238(0x1cc),'model':new _0x1fbd1d({'withText':!0x0,'label':_0x310a4a(_0x43af65,_0x290238(0x1c2)),'commandName':_0x290238(0x239),'role':_0x290238(0x1e3)})}]);_0x5f56ae[_0x290238(0x21c)][_0x290238(0x1b5)](_0x290238(0x206))&&_0x244d24[_0x290238(0x231)]([{'type':_0x290238(0x226)},{'type':_0x290238(0x1cc),'model':new _0x1fbd1d({'withText':!0x0,'label':_0x310a4a(_0x43af65,_0x290238(0x247)),'commandName':_0x290238(0x20f),'role':_0x290238(0x1e3)})}]);for(const _0x537784 of _0x244d24)if(ke(_0x537784)){const _0xbe3a20=_0x5f56ae[_0x290238(0x232)][_0x290238(0x22c)](_0x537784[_0x290238(0x236)][_0x290238(0x1b4)]);_0x537784[_0x290238(0x236)][_0x290238(0x256)](_0x290238(0x1c4),_0x290238(0x229))['to'](_0xbe3a20,_0x290238(0x1d3),_0x290238(0x229));}_0x5f56ae['ui'][_0x290238(0x263)][_0x290238(0x1dd)](_0x290238(0x1f0),_0xde1c2b=>this[_0x290238(0x1eb)](_0xde1c2b,_0x244d24,_0x3657bb)),_0x5f56ae['ui'][_0x290238(0x263)][_0x290238(0x1dd)](_0x290238(0x245),_0x24d44f=>this[_0x290238(0x1c0)](_0x24d44f,_0x244d24,_0x3657bb));}[_0x41e7e6(0x1eb)](_0x42b417,_0x5cb21f,_0xbea3b9){const _0x5c7580=_0x41e7e6,_0x367d31=_0x36f252(_0x42b417,_0x593d97),_0x1e2a41=this[_0x5c7580(0x25d)][_0x5c7580(0x232)][_0x5c7580(0x22c)](_0x5c7580(0x1f0));_0x367d31[_0x5c7580(0x1ff)][_0x5c7580(0x22f)]({'tooltip':_0xbea3b9,'label':_0xbea3b9,'icon':_0x1f0535}),_0x367d31[_0x5c7580(0x1ff)][_0x5c7580(0x256)](_0x5c7580(0x1c4))['to'](_0x1e2a41,_0x5c7580(0x1d3)),_0x367d31[_0x5c7580(0x1ff)]['on'](_0x5c7580(0x249),()=>{const _0xfd3e19=_0x5c7580;_0x1e2a41[_0xfd3e19(0x249)](),this[_0xfd3e19(0x25d)][_0xfd3e19(0x248)][_0xfd3e19(0x235)][_0xfd3e19(0x20d)]();}),_0x293c74(_0x367d31,_0x5cb21f,{'role':_0x5c7580(0x1d7)});const _0x2fbc69=[];for(const _0x19dee2 of _0x5cb21f)ke(_0x19dee2)&&_0x2fbc69[_0x5c7580(0x205)](this[_0x5c7580(0x25d)][_0x5c7580(0x232)][_0x5c7580(0x22c)](_0x19dee2[_0x5c7580(0x236)][_0x5c7580(0x1b4)]));const _0x24fb39=_0x367d31[_0x5c7580(0x1ff)];return _0x24fb39[_0x5c7580(0x1d6)][_0x5c7580(0x1fb)](_0x5c7580(0x229)),_0x24fb39[_0x5c7580(0x253)][_0x5c7580(0x1fb)](_0x5c7580(0x229)),_0x24fb39[_0x5c7580(0x1d6)][_0x5c7580(0x256)](_0x5c7580(0x229))['to'](_0x1e2a41,_0x5c7580(0x229)),_0x24fb39[_0x5c7580(0x253)][_0x5c7580(0x256)](_0x5c7580(0x229))[_0x5c7580(0x243)](_0x2fbc69,_0x5c7580(0x229),(..._0x568281)=>_0x568281[_0x5c7580(0x1c5)](_0x3f9302=>_0x3f9302)),_0x367d31['on'](_0x5c7580(0x249),_0x527b6d=>{const _0x2e1845=_0x5c7580;this[_0x2e1845(0x25d)][_0x2e1845(0x249)](_0x527b6d[_0x2e1845(0x1e5)][_0x2e1845(0x1b4)]),this[_0x2e1845(0x25d)][_0x2e1845(0x248)][_0x2e1845(0x235)][_0x2e1845(0x20d)]();}),_0x367d31;}[_0x41e7e6(0x1c0)](_0x49adaf,_0x47f0da,_0x557011){const _0x22ca80=_0x41e7e6,_0x16aa97=new _0x229e7a(_0x49adaf),_0x211ea5=this[_0x22ca80(0x25d)][_0x22ca80(0x232)][_0x22ca80(0x22c)](_0x22ca80(0x1f0));_0x16aa97[_0x22ca80(0x1ff)][_0x22ca80(0x22f)]({'label':_0x557011,'icon':_0x1f0535});const _0x42e95b=new _0x1a372a(_0x49adaf);for(const _0x7b54f9 of _0x47f0da){if(_0x22ca80(0x226)==_0x7b54f9[_0x22ca80(0x23d)]){_0x42e95b[_0x22ca80(0x255)][_0x22ca80(0x1dd)](new _0x52717e(_0x49adaf));continue;}const _0x3adc8f=new _0x511c63(_0x49adaf,_0x16aa97),_0x329c5d=new _0x568cc4(_0x49adaf),_0x4f4072=_0x7b54f9[_0x22ca80(0x236)];_0x329c5d[_0x22ca80(0x256)](...Object[_0x22ca80(0x25e)](_0x4f4072))['to'](_0x4f4072),_0x329c5d[_0x22ca80(0x203)](_0x22ca80(0x249))['to'](_0x16aa97),_0x329c5d['on'](_0x22ca80(0x249),()=>{const _0x330101=_0x22ca80;this[_0x330101(0x25d)][_0x330101(0x249)](_0x4f4072[_0x330101(0x1b4)]),this[_0x330101(0x25d)][_0x330101(0x248)][_0x330101(0x235)][_0x330101(0x20d)]();}),_0x3adc8f[_0x22ca80(0x217)][_0x22ca80(0x1dd)](_0x329c5d),_0x42e95b[_0x22ca80(0x255)][_0x22ca80(0x1dd)](_0x3adc8f);}return _0x16aa97[_0x22ca80(0x256)](_0x22ca80(0x229))['to'](_0x211ea5,_0x22ca80(0x229)),_0x16aa97[_0x22ca80(0x1df)][_0x22ca80(0x217)][_0x22ca80(0x1dd)](_0x42e95b),_0x16aa97;}[_0x41e7e6(0x25f)](_0x29042f){const _0x18e219=_0x41e7e6,_0x5b64fa=this[_0x18e219(0x25d)],_0x22b6ef=_0x5b64fa[_0x18e219(0x1db)],_0x1197a8=_0x5b64fa[_0x18e219(0x21c)][_0x18e219(0x22c)](_0x18e219(0x1c8)),_0x1ac4c2=_0x5b64fa[_0x18e219(0x21c)][_0x18e219(0x22c)](_0x18e219(0x213)),_0x2d1a32=_0x5b64fa[_0x18e219(0x21c)][_0x18e219(0x22c)](_0x18e219(0x20e)),_0x461eff=_0x5b64fa[_0x18e219(0x21c)][_0x18e219(0x22c)](_0x410665)['me'],_0x1d562c=_0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x1f0))[_0x18e219(0x260)],_0x4e2511=_0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x1f0))[_0x18e219(0x1d0)],{CommentsListView:_0x297e50,CommentThreadInputView:_0x2d68ea}=_0x5b64fa[_0x18e219(0x21c)][_0x18e219(0x22c)](_0x18e219(0x233));let _0x15c2ae,_0x178888,_0x23bd2c;this[_0x18e219(0x1b6)][_0x18e219(0x1b5)](_0x29042f['id'])?(_0x178888=this[_0x18e219(0x1b6)][_0x18e219(0x22c)](_0x29042f['id']),_0x15c2ae=_0x178888[_0x18e219(0x1d8)]):(_0x15c2ae=new _0x1d562c(_0x5b64fa[_0x18e219(0x23c)],_0x29042f,_0x461eff,{'disableComments':this[_0x18e219(0x22d)],'editorConfig':{..._0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x1bf)),'licenseKey':_0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x207))},'maxCommentsWhenCollapsed':_0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x1e1)),'maxThreadTotalWeight':_0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x1ec)),'maxCommentCharsWhenCollapsed':_0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x22e)),'formatDateTime':_0x46af9c(_0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x23c)),_0x5b64fa[_0x18e219(0x23c)]),'CommentView':_0x22b6ef[_0x18e219(0x22c)](_0x18e219(0x1f6))[_0x18e219(0x1cd)],'CommentsListView':_0x297e50,'CommentThreadInputView':_0x2d68ea,'SuggestionView':_0x4e2511}),_0x15c2ae[_0x18e219(0x1e6)][_0x18e219(0x1bc)]['on'](_0x18e219(0x249),()=>{const _0x3fdb9b=_0x18e219;_0x5b64fa[_0x3fdb9b(0x248)][_0x3fdb9b(0x235)][_0x3fdb9b(0x20d)]();}),_0x15c2ae[_0x18e219(0x1e6)][_0x18e219(0x1f1)]['on'](_0x18e219(0x249),()=>{const _0x4d18da=_0x18e219;_0x5b64fa[_0x4d18da(0x248)][_0x4d18da(0x235)][_0x4d18da(0x20d)]();}),_0x178888=_0x1197a8[_0x18e219(0x218)](this[_0x18e219(0x25d)][_0x18e219(0x23c)],_0x15c2ae),_0x178888[_0x18e219(0x256)](_0x18e219(0x1ea))['to'](_0x15c2ae,_0x18e219(0x1ea)),_0x178888[_0x18e219(0x256)](_0x18e219(0x1ca))['to'](_0x15c2ae),_0x178888[_0x18e219(0x256)](_0x18e219(0x23d))['to'](_0x15c2ae,_0x18e219(0x23d),_0x1f71e5=>_0x18e219(0x250)+_0x1f71e5),_0x15c2ae['on'](_0x18e219(0x234),()=>{const _0xca2792=_0x18e219;_0x23bd2c[_0xca2792(0x1e0)](_0xca2792(0x234));}),this[_0x18e219(0x1b6)][_0x18e219(0x22f)](_0x29042f['id'],_0x178888));const _0x5ebfc8=_0x1ac4c2[_0x18e219(0x1f4)](_0x29042f[_0x18e219(0x1f7)],_0x15c2ae),_0x49e5f9=new _0x36300a(_0x5b64fa,_0x29042f,_0x15c2ae,_0x5ebfc8),_0x579ac6=_0x29042f[_0x18e219(0x1be)]()[_0x18e219(0x222)](_0x9af1b0=>_0x9af1b0[_0x18e219(0x230)]);_0x15c2ae[_0x18e219(0x221)]=_0x5b64fa[_0x18e219(0x21c)][_0x18e219(0x22c)](_0x18e219(0x1cb))[_0x18e219(0x22b)][_0x18e219(0x1ce)](_0x579ac6),this[_0x18e219(0x1fd)][_0x18e219(0x22f)](_0x29042f,_0x49e5f9),this[_0x18e219(0x209)][_0x18e219(0x22f)](_0x15c2ae,_0x49e5f9),_0x23bd2c=_0x1197a8[_0x18e219(0x1bb)]({'view':_0x178888,'target':()=>{const _0x4a7aa6=_0x18e219,_0x1cef66=[],_0x3a62c9=_0x29042f[_0x4a7aa6(0x1be)]()[_0x4a7aa6(0x222)](_0x3c2700=>_0x3c2700[_0x4a7aa6(0x230)]);for(const _0x17869f of _0x3a62c9)_0x1cef66[_0x4a7aa6(0x205)](..._0x17869f[_0x4a7aa6(0x244)]());return _0x32b631(_0x5b64fa[_0x4a7aa6(0x248)],_0x1cef66);},'type':()=>_0x18e219(0x250)+_0x49e5f9[_0x18e219(0x235)][_0x18e219(0x23d)]}),_0x1ac4c2[_0x18e219(0x21e)](_0x15c2ae,_0x23bd2c),_0x1197a8[_0x18e219(0x1dd)](_0x23bd2c),_0x2d1a32[_0x18e219(0x23a)](_0x23bd2c);}[_0x41e7e6(0x24a)](_0x5c637c){const _0x145ccf=_0x41e7e6,_0x2e7851=this[_0x145ccf(0x25d)][_0x145ccf(0x21c)][_0x145ccf(0x22c)](_0x145ccf(0x213)),_0x57605f=this[_0x145ccf(0x25d)][_0x145ccf(0x21c)][_0x145ccf(0x22c)](_0x145ccf(0x1c8)),_0x41f5d9=this[_0x145ccf(0x1fd)][_0x145ccf(0x22c)](_0x5c637c),_0x734893=_0x41f5d9[_0x145ccf(0x235)],_0x2f0051=_0x57605f[_0x145ccf(0x1d5)](_0x734893);_0x2e7851[_0x145ccf(0x1c9)](_0x734893),_0x2f0051&&_0x57605f[_0x145ccf(0x24b)](_0x2f0051),this[_0x145ccf(0x1fd)][_0x145ccf(0x21d)](_0x5c637c),this[_0x145ccf(0x209)][_0x145ccf(0x21d)](_0x734893),_0x41f5d9[_0x145ccf(0x212)]();}[_0x41e7e6(0x1f8)](_0x243899){const _0x32fae3=_0x41e7e6;if(!_0x243899[_0x32fae3(0x230)]||!this[_0x32fae3(0x1fd)][_0x32fae3(0x1b5)](_0x243899))return;const _0x115506=this[_0x32fae3(0x25d)][_0x32fae3(0x21c)][_0x32fae3(0x22c)](_0x32fae3(0x1cb)),_0x523735=this[_0x32fae3(0x1fd)][_0x32fae3(0x22c)](_0x243899),_0x2c54c5=_0x243899[_0x32fae3(0x1be)]();_0x523735[_0x32fae3(0x235)][_0x32fae3(0x221)]=_0x115506[_0x32fae3(0x22b)][_0x32fae3(0x1ce)](_0x2c54c5);}[_0x41e7e6(0x212)](){const _0x4820ef=_0x41e7e6;for(const _0x1b5c5f of this[_0x4820ef(0x1fd)][_0x4820ef(0x25e)]())this[_0x4820ef(0x24a)](_0x1b5c5f);for(const _0x395214 of this[_0x4820ef(0x1b6)][_0x4820ef(0x1f5)]())_0x395214[_0x4820ef(0x1d8)][_0x4820ef(0x212)]();super[_0x4820ef(0x212)](),this[_0x4820ef(0x228)]&&clearInterval(this[_0x4820ef(0x228)]);}}function ke(_0x933c68){const _0x37d0fa=_0x41e7e6;return _0x37d0fa(0x236)in _0x933c68;}
|
|
23
|
+
const _0x1cb4bc=_0x5cf9;(function(_0x172fbf,_0x55bd6c){const _0x191e18=_0x5cf9,_0x562d8c=_0x172fbf();while(!![]){try{const _0x595a65=parseInt(_0x191e18(0xf9))/0x1+parseInt(_0x191e18(0xb9))/0x2*(-parseInt(_0x191e18(0x124))/0x3)+-parseInt(_0x191e18(0x127))/0x4+parseInt(_0x191e18(0x123))/0x5+-parseInt(_0x191e18(0x8e))/0x6+parseInt(_0x191e18(0xf5))/0x7*(parseInt(_0x191e18(0xb5))/0x8)+parseInt(_0x191e18(0xb0))/0x9;if(_0x595a65===_0x55bd6c)break;else _0x562d8c['push'](_0x562d8c['shift']());}catch(_0x4aa317){_0x562d8c['push'](_0x562d8c['shift']());}}}(_0x33ba,0x8d8f2));import{Plugin as _0x57a57f}from'ckeditor5/src/core.js';import{Collection as _0x165abe}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x48b06d}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5da97d,createDropdown as _0x487b3b,ListSeparatorView as _0x3d526a,MenuBarMenuView as _0xa27514,MenuBarMenuListView as _0x5bc66c,MenuBarMenuListItemView as _0x99bf61,MenuBarMenuListItemButtonView as _0x1e035e,SplitButtonView as _0x31f9cc,UIModel as _0x1dedf1}from'ckeditor5/src/ui.js';import{Users as _0x5b2fe0,getDateTimeFormatter as _0x392bb7,getAllMarkersDomElementsSorted as _0x2fda86}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x3f590d}from'./trackchangesediting.js';import{SuggestionController as _0x4738a8}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x58a489}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x82b21b}from'./ui/view/suggestionview.js';import{getTranslation as _0x154dfc}from'./utils/common-translations.js';function _0x33ba(){const _0x72efc5=['refreshSelectedViews','editor','comments.maxCommentsWhenCollapsed','mainView','unbind','_unbindEditors','buttonView','TrackChangesUI','previewFinalContent','arrowView','fire','source','execute','lowest','4627698RYJPEY','trackChangesLicenseKeyValid','_handleControllerBuffer','Preview\x20final\x20content','stopListening','EditorAnnotations','change:activeAnnotations','has','isDirty','CommentsRepository','trackChangesLicenseKeyUsageLimit','model','toMany','isMultiRange','licenseKey','_licenseKeyCheckInterval','Discard\x20all\x20selected\x20suggestions','items','getAnnotationForSuggestion','focus','trackChanges','componentFactory','getRanges','from','descriptionFactory','listenTo','evaluationLimit','invalid','getJoined','isInContent','trackChanges.SuggestionThreadView','_viewToController','domainLimit','type','949653LUMgry','comments.editorConfig','_annotationViews','menuitem','TrackChanges','3688YDsHfK','trackChangesLicenseKeyTrialLimit','getDescriptions','comments.maxCommentCharsWhenCollapsed','746XXyWlC','remove','value','clear','CommentView','createCommentThreadController','reduce','delegate','getAllAdjacentSuggestions','commands','view','SuggestionView','hasSuggestion','_destroyController','separator','actionView','comments.maxThreadTotalWeight','config','_refreshActiveMarkers','_createToolbarButton','getMarkers','SuggestionThreadView','delete','TrackChangesPreview','discardSelectedSuggestions','size','CommentsUI','length','trackChanges.disableComments','trackChangesLicenseKeyDomainLimit','plugins','push','trackChangesLicenseKeyInvalid','_suggestionToController','_showLicenseError','comments','commandName','escape','children','isPremiumPlugin','suggestion-','Annotations','filter','change:previous','panelView','discardAllSuggestions','isEnabled','registerAnnotation','head','acceptButton','descriptionParts','getByInnerView','acceptAllSuggestions','init','pluginName','_disableComments','keys','get','activeMarkers','_initializeController','12054AjtmVG','getSuggestion','usageLimit','Accept\x20all\x20selected\x20suggestions','553027BZEZJr','locale','requires','addSourceCollector','bind','define','trackChanges.SuggestionView','suggestionView','_createMenuBarMenu','menuBar:trackChanges','button','trialLimit','trackChangesLicenseKeyExpired','isOn','Discard\x20all\x20suggestions','getMarkerNames','acceptSelectedSuggestions','activeAnnotations','menu','Accept\x20all\x20suggestions','some','destroy','discardButton','getFirstRange','TrackChangesEditing','_addUIComponentsToFactory','trackChangesLicenseKeyEvaluationLimit','createAnnotationView','set','previous','suggestionUnloaded','commentThread','_bindAnnotationToEditors','createAnnotation','getSuggestionForAnnotation','values','expired','isOfficialPlugin','trackChangesLicenseKeyNotAllowed','innerView','editing','add','2321825JjdJmY','3747raYVij','_updateController','featureNotAllowed','399060elcnQk','Track\x20changes','addComment','addMany','suggestionLoaded','switchbutton','_handleSuggestionControllerDelayed','menuitemcheckbox','suggestionChanged','commentsListView'];_0x33ba=function(){return _0x72efc5;};return _0x33ba();}function _0x5cf9(_0x55263d,_0x457766){const _0x33bab5=_0x33ba();return _0x5cf9=function(_0x5cf9ce,_0x36fd69){_0x5cf9ce=_0x5cf9ce-0x7d;let _0x2d2d59=_0x33bab5[_0x5cf9ce];return _0x2d2d59;},_0x5cf9(_0x55263d,_0x457766);}export class TrackChangesUI extends _0x57a57f{[_0x1cb4bc(0x9c)];[_0x1cb4bc(0x9d)];[_0x1cb4bc(0xda)];[_0x1cb4bc(0xad)];[_0x1cb4bc(0xb2)];[_0x1cb4bc(0x90)];[_0x1cb4bc(0xf0)];static get[_0x1cb4bc(0xfb)](){const _0x20f219=_0x1cb4bc;return[_0x3f590d,_0x5b2fe0,_0x20f219(0x97),_0x20f219(0xe2),_0x20f219(0x93)];}static get[_0x1cb4bc(0xef)](){const _0x28f82d=_0x1cb4bc;return _0x28f82d(0x87);}static get[_0x1cb4bc(0x11e)](){return!0x0;}static get[_0x1cb4bc(0xe0)](){return!0x0;}constructor(_0x4ce4f0){const _0x5eecd5=_0x1cb4bc;super(_0x4ce4f0),this[_0x5eecd5(0xda)]=new Map(),this[_0x5eecd5(0xad)]=new Map(),this[_0x5eecd5(0xb2)]=new Map(),this[_0x5eecd5(0x90)]=new Map();const _0x4fa184=this[_0x5eecd5(0x81)][_0x5eecd5(0xca)];_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xac),_0x58a489),_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xff),_0x82b21b),_0x4fa184[_0x5eecd5(0xfe)](_0x5eecd5(0xd5),!0x1),this[_0x5eecd5(0xf0)]=_0x4fa184[_0x5eecd5(0xf2)](_0x5eecd5(0xd5));}[_0x1cb4bc(0x12d)](_0x362310,_0x286f7f){const _0x51f7bf=_0x1cb4bc;0x0===this[_0x51f7bf(0x90)][_0x51f7bf(0xd2)]&&setTimeout(()=>{const _0x13a4e1=_0x51f7bf;for(const [_0x5194e9,_0x2bfb4f]of this[_0x13a4e1(0x90)]){const _0x3ede1a=this[_0x13a4e1(0xda)][_0x13a4e1(0x95)](_0x5194e9);_0x3ede1a||_0x2bfb4f?_0x3ede1a&&_0x2bfb4f&&this[_0x13a4e1(0xc6)](_0x5194e9):this[_0x13a4e1(0xf4)](_0x5194e9);}this[_0x13a4e1(0x90)][_0x13a4e1(0xbc)](),this[_0x13a4e1(0x81)][_0x13a4e1(0xd7)][_0x13a4e1(0xf2)](_0x13a4e1(0x93))[_0x13a4e1(0x80)](),this[_0x13a4e1(0xcb)]();},0xa),this[_0x51f7bf(0x90)][_0x51f7bf(0x115)](_0x362310,_0x286f7f);}[_0x1cb4bc(0xee)](){const _0x4a8a1e=_0x1cb4bc,_0xf3acad=this[_0x4a8a1e(0x81)],_0x3b444d=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x111)),_0x58f8a2=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0xe2)),_0x5107fc=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x93)),_0x5cb57a=_0xf3acad[_0x4a8a1e(0xd7)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x97));this[_0x4a8a1e(0x112)](),_0x5107fc[_0x4a8a1e(0xfc)](()=>{const _0x3ae0a5=_0x4a8a1e,_0x2e574c=[];for(const [_0x114fd7,_0x1cdd26]of Array[_0x3ae0a5(0xa5)](this[_0x3ae0a5(0xda)])){const _0x3d80d2=_0x114fd7[_0x3ae0a5(0xc1)](),_0x57c7e3=[];for(const _0x398fa1 of _0x3d80d2){if(!_0x398fa1[_0x3ae0a5(0xab)])continue;if(_0x398fa1[_0x3ae0a5(0x9b)]){_0x57c7e3[_0x3ae0a5(0xd8)](..._0x398fa1[_0x3ae0a5(0xa4)]());continue;}const _0x1aa0bc=_0x398fa1[_0x3ae0a5(0x110)]();if(_0x57c7e3[_0x3ae0a5(0xd4)]>0x0){const _0x16975a=_0x57c7e3[0x0][_0x3ae0a5(0xaa)](_0x1aa0bc);if(_0x16975a){_0x57c7e3[0x0]=_0x16975a;continue;}}_0x57c7e3[_0x3ae0a5(0xd8)](_0x1aa0bc);}_0x2e574c[_0x3ae0a5(0xd8)]([_0x1cdd26[_0x3ae0a5(0xc3)],_0x57c7e3]);}return _0x2e574c;}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x12b),(_0x5abc34,_0x4aeef6)=>{const _0x7c4593=_0x4a8a1e;this[_0x7c4593(0xa7)](_0x4aeef6,_0x7c4593(0xe4),(_0x1e2909,_0x4a4c45,_0x432c72,_0x24c41)=>{const _0xd85a7c=_0x7c4593;_0x4aeef6[_0xd85a7c(0xab)]&&(null==_0x432c72?(this[_0xd85a7c(0x125)](_0x24c41[_0xd85a7c(0xe9)]),this[_0xd85a7c(0x12d)](_0x4aeef6,!0x1)):(this[_0xd85a7c(0x125)](_0x432c72[_0xd85a7c(0xe9)]),null==_0x24c41&&this[_0xd85a7c(0x12d)](_0x4aeef6,!0x0)));}),null!==_0x4aeef6[_0x7c4593(0x116)]?this[_0x7c4593(0x125)](_0x4aeef6[_0x7c4593(0xe9)]):this[_0x7c4593(0x12d)](_0x4aeef6,!0x1);}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x117),(_0x5ea474,_0x1ae098,_0x40f5e8)=>{const _0x54d4e6=_0x4a8a1e;this[_0x54d4e6(0x92)](_0x1ae098,_0x54d4e6(0xe4)),this[_0x54d4e6(0x90)][_0x54d4e6(0xcf)](_0x1ae098),this[_0x54d4e6(0xda)][_0x54d4e6(0x95)](_0x1ae098)&&this[_0x54d4e6(0xc6)](_0x1ae098),_0x40f5e8&&this[_0x54d4e6(0x125)](_0x40f5e8[_0x54d4e6(0xe9)]);}),this[_0x4a8a1e(0xa7)](_0x3b444d,_0x4a8a1e(0x7e),(_0x553713,_0x4ac78d)=>{const _0x16214e=_0x4a8a1e;this[_0x16214e(0x125)](_0x4ac78d);}),this[_0x4a8a1e(0xa7)](_0x58f8a2,_0x4a8a1e(0x94),()=>{const _0x15613a=_0x4a8a1e;this[_0x15613a(0xcb)]();}),this[_0x4a8a1e(0xa7)](_0x5cb57a,_0x4a8a1e(0x129),(_0x5d9aca,{threadId:_0xd06c74,isFromAdapter:_0x20ce7d})=>{const _0x225603=_0x4a8a1e;if(_0x20ce7d||!_0x3b444d[_0x225603(0xc5)](_0xd06c74))return;const _0x42f996=_0x3b444d[_0x225603(0xf6)](_0xd06c74);this[_0x225603(0xda)][_0x225603(0xf2)](_0x42f996)[_0x225603(0xc3)][_0x225603(0x7f)][_0x225603(0xa1)](-0x1);},{'priority':_0x4a8a1e(0x8d)}),this[_0x4a8a1e(0x9c)]=this[_0x4a8a1e(0x81)][_0x4a8a1e(0xca)][_0x4a8a1e(0xf2)](_0x4a8a1e(0x9c));const _0xf7bb81=this[_0x4a8a1e(0x81)];this[_0x4a8a1e(0x9d)]=setInterval(()=>{const _0x50a03e=_0x4a8a1e;let _0x57736b;for(const _0x50f923 in _0xf7bb81){const _0x292bd4=_0x50f923,_0x36a03d=_0xf7bb81[_0x292bd4];if(_0x50a03e(0x8f)==_0x36a03d||_0x50a03e(0xd9)==_0x36a03d||_0x50a03e(0x105)==_0x36a03d||_0x50a03e(0xd6)==_0x36a03d||_0x50a03e(0x11f)==_0x36a03d||_0x50a03e(0x113)==_0x36a03d||_0x50a03e(0xb6)==_0x36a03d||_0x50a03e(0x98)==_0x36a03d){delete _0xf7bb81[_0x292bd4],_0x57736b=_0x36a03d,clearInterval(this[_0x50a03e(0x9d)]),this[_0x50a03e(0x9d)]=void 0x0;break;}}_0x50a03e(0xd9)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xa9)),_0x50a03e(0x105)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x11d)),_0x50a03e(0xd6)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xae)),_0x50a03e(0x11f)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x126),_0x50a03e(0xb4)),_0x50a03e(0x113)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xa8)),_0x50a03e(0xb6)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0x104)),_0x50a03e(0x98)==_0x57736b&&_0xf7bb81[_0x50a03e(0xdb)](_0x50a03e(0xf7));},0x3e8);}[_0x1cb4bc(0xa0)](_0x866fae){const _0x34a0e4=_0x1cb4bc,_0x473e0f=this[_0x34a0e4(0xda)][_0x34a0e4(0xf2)](_0x866fae);if(!_0x473e0f)return null;return this[_0x34a0e4(0x81)][_0x34a0e4(0xd7)][_0x34a0e4(0xf2)](_0x34a0e4(0xe2))[_0x34a0e4(0xec)](_0x473e0f[_0x34a0e4(0xc3)])||null;}[_0x1cb4bc(0x11b)](_0x7a89c0){const _0x33933b=_0x1cb4bc,_0x521ef4=this[_0x33933b(0xad)][_0x33933b(0xf2)](_0x7a89c0[_0x33933b(0x120)]);return _0x521ef4?_0x521ef4[_0x33933b(0x99)]:null;}[_0x1cb4bc(0xcb)](){const _0xeae03=_0x1cb4bc,_0x4f8519=this[_0xeae03(0x81)][_0xeae03(0xd7)][_0xeae03(0xf2)](_0xeae03(0xe2)),_0x586ef3=this[_0xeae03(0x81)][_0xeae03(0xd7)][_0xeae03(0xf2)](_0xeae03(0x111)),_0xca28b2=Array[_0xeae03(0xa5)](_0x4f8519[_0xeae03(0x10a)],_0x2d8532=>_0x2d8532[_0xeae03(0x120)])[_0xeae03(0xe3)](_0xfdf4f8=>this[_0xeae03(0xad)][_0xeae03(0x95)](_0xfdf4f8)),_0x41ace0=[];for(const _0x560431 of _0xca28b2){const _0x44a611=this[_0xeae03(0xad)][_0xeae03(0xf2)](_0x560431)[_0xeae03(0x99)][_0xeae03(0xc1)]();_0x41ace0[_0xeae03(0xd8)](..._0x44a611[_0xeae03(0xbf)]((_0x2600fa,_0x163d21)=>[..._0x2600fa,..._0x163d21[_0xeae03(0x108)]()],[]));}_0x586ef3[_0xeae03(0xf3)]=_0x41ace0;}[_0x1cb4bc(0x112)](){const _0x1c9466=_0x1cb4bc,_0x364ffc=this[_0x1c9466(0x81)],_0x20a902=_0x364ffc[_0x1c9466(0xfa)],_0x33dd82=_0x154dfc(_0x20a902,_0x1c9466(0x128)),_0x100e54=new _0x165abe([{'type':_0x1c9466(0x12c),'model':new _0x1dedf1({'withText':!0x0,'isToggleable':!0x0,'label':_0x33dd82,'commandName':_0x1c9466(0xa2),'role':_0x1c9466(0x7d)})},{'type':_0x1c9466(0xc7)},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x10c)),'commandName':_0x1c9466(0xed),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0xf8)),'commandName':_0x1c9466(0x109),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x107)),'commandName':_0x1c9466(0xe6),'role':_0x1c9466(0xb3)})},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x9e)),'commandName':_0x1c9466(0xd1),'role':_0x1c9466(0xb3)})}]);_0x364ffc[_0x1c9466(0xd7)][_0x1c9466(0x95)](_0x1c9466(0xd0))&&_0x100e54[_0x1c9466(0x12a)]([{'type':_0x1c9466(0xc7)},{'type':_0x1c9466(0x103),'model':new _0x1dedf1({'withText':!0x0,'label':_0x154dfc(_0x20a902,_0x1c9466(0x91)),'commandName':_0x1c9466(0x88),'role':_0x1c9466(0xb3)})}]);for(const _0x243c1d of _0x100e54)if(ke(_0x243c1d)){const _0x129b3c=_0x364ffc[_0x1c9466(0xc2)][_0x1c9466(0xf2)](_0x243c1d[_0x1c9466(0x99)][_0x1c9466(0xdd)]);_0x243c1d[_0x1c9466(0x99)][_0x1c9466(0xfd)](_0x1c9466(0x106),_0x1c9466(0xe7))['to'](_0x129b3c,_0x1c9466(0xbb),_0x1c9466(0xe7));}_0x364ffc['ui'][_0x1c9466(0xa3)][_0x1c9466(0x122)](_0x1c9466(0xa2),_0x57f6a4=>this[_0x1c9466(0xcc)](_0x57f6a4,_0x100e54,_0x33dd82)),_0x364ffc['ui'][_0x1c9466(0xa3)][_0x1c9466(0x122)](_0x1c9466(0x102),_0x499d2f=>this[_0x1c9466(0x101)](_0x499d2f,_0x100e54,_0x33dd82));}[_0x1cb4bc(0xcc)](_0x228a95,_0x208701,_0x54c309){const _0x21474f=_0x1cb4bc,_0x4154a0=_0x487b3b(_0x228a95,_0x31f9cc),_0x4e3e01=this[_0x21474f(0x81)][_0x21474f(0xc2)][_0x21474f(0xf2)](_0x21474f(0xa2));_0x4154a0[_0x21474f(0x86)][_0x21474f(0x115)]({'tooltip':_0x54c309,'label':_0x54c309,'icon':_0x48b06d}),_0x4154a0[_0x21474f(0x86)][_0x21474f(0xfd)](_0x21474f(0x106))['to'](_0x4e3e01,_0x21474f(0xbb)),_0x4154a0[_0x21474f(0x86)]['on'](_0x21474f(0x8c),()=>{const _0x26474b=_0x21474f;_0x4e3e01[_0x26474b(0x8c)](),this[_0x26474b(0x81)][_0x26474b(0x121)][_0x26474b(0xc3)][_0x26474b(0xa1)]();}),_0x5da97d(_0x4154a0,_0x208701,{'role':_0x21474f(0x10b)});const _0x55b64e=[];for(const _0x21d5c6 of _0x208701)ke(_0x21d5c6)&&_0x55b64e[_0x21474f(0xd8)](this[_0x21474f(0x81)][_0x21474f(0xc2)][_0x21474f(0xf2)](_0x21d5c6[_0x21474f(0x99)][_0x21474f(0xdd)]));const _0x5bf56f=_0x4154a0[_0x21474f(0x86)];return _0x5bf56f[_0x21474f(0xc8)][_0x21474f(0x84)](_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0x89)][_0x21474f(0x84)](_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0xc8)][_0x21474f(0xfd)](_0x21474f(0xe7))['to'](_0x4e3e01,_0x21474f(0xe7)),_0x5bf56f[_0x21474f(0x89)][_0x21474f(0xfd)](_0x21474f(0xe7))[_0x21474f(0x9a)](_0x55b64e,_0x21474f(0xe7),(..._0x219057)=>_0x219057[_0x21474f(0x10d)](_0x5cd008=>_0x5cd008)),_0x4154a0['on'](_0x21474f(0x8c),_0x4d2f33=>{const _0x36adf3=_0x21474f;this[_0x36adf3(0x81)][_0x36adf3(0x8c)](_0x4d2f33[_0x36adf3(0x8b)][_0x36adf3(0xdd)]),this[_0x36adf3(0x81)][_0x36adf3(0x121)][_0x36adf3(0xc3)][_0x36adf3(0xa1)]();}),_0x4154a0;}[_0x1cb4bc(0x101)](_0x50c551,_0x39b5b8,_0x5babb0){const _0x15e054=_0x1cb4bc,_0x13d6a4=new _0xa27514(_0x50c551),_0x37d023=this[_0x15e054(0x81)][_0x15e054(0xc2)][_0x15e054(0xf2)](_0x15e054(0xa2));_0x13d6a4[_0x15e054(0x86)][_0x15e054(0x115)]({'label':_0x5babb0,'icon':_0x48b06d});const _0x25780b=new _0x5bc66c(_0x50c551);for(const _0x4a7cce of _0x39b5b8){if(_0x15e054(0xc7)==_0x4a7cce[_0x15e054(0xaf)]){_0x25780b[_0x15e054(0x9f)][_0x15e054(0x122)](new _0x3d526a(_0x50c551));continue;}const _0x1e9411=new _0x99bf61(_0x50c551,_0x13d6a4),_0x43d76d=new _0x1e035e(_0x50c551),_0xc6f9f4=_0x4a7cce[_0x15e054(0x99)];_0x43d76d[_0x15e054(0xfd)](...Object[_0x15e054(0xf1)](_0xc6f9f4))['to'](_0xc6f9f4),_0x43d76d[_0x15e054(0xc0)](_0x15e054(0x8c))['to'](_0x13d6a4),_0x43d76d['on'](_0x15e054(0x8c),()=>{const _0x49eebf=_0x15e054;this[_0x49eebf(0x81)][_0x49eebf(0x8c)](_0xc6f9f4[_0x49eebf(0xdd)]),this[_0x49eebf(0x81)][_0x49eebf(0x121)][_0x49eebf(0xc3)][_0x49eebf(0xa1)]();}),_0x1e9411[_0x15e054(0xdf)][_0x15e054(0x122)](_0x43d76d),_0x25780b[_0x15e054(0x9f)][_0x15e054(0x122)](_0x1e9411);}return _0x13d6a4[_0x15e054(0xfd)](_0x15e054(0xe7))['to'](_0x37d023,_0x15e054(0xe7)),_0x13d6a4[_0x15e054(0xe5)][_0x15e054(0xdf)][_0x15e054(0x122)](_0x25780b),_0x13d6a4;}[_0x1cb4bc(0xf4)](_0x4ffa31){const _0x52c5f0=_0x1cb4bc,_0x559246=this[_0x52c5f0(0x81)],_0x2c0394=_0x559246[_0x52c5f0(0xca)],_0x5b8a75=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0xe2)),_0x5cb833=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x97)),_0x2c9258=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x93)),_0x27ce45=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x5b2fe0)['me'],_0xd36e=_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xa2))[_0x52c5f0(0xce)],_0x2fbcb1=_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xa2))[_0x52c5f0(0xc4)],{CommentsListView:_0x49b79e,CommentThreadInputView:_0x277cc9}=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0xd3));let _0x188213,_0x2546f6,_0x14ba97;this[_0x52c5f0(0xb2)][_0x52c5f0(0x95)](_0x4ffa31['id'])?(_0x2546f6=this[_0x52c5f0(0xb2)][_0x52c5f0(0xf2)](_0x4ffa31['id']),_0x188213=_0x2546f6[_0x52c5f0(0x83)]):(_0x188213=new _0xd36e(_0x559246[_0x52c5f0(0xfa)],_0x4ffa31,_0x27ce45,{'disableComments':this[_0x52c5f0(0xf0)],'editorConfig':{..._0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xb1)),'licenseKey':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0x9c))},'maxCommentsWhenCollapsed':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0x82)),'maxThreadTotalWeight':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xc9)),'maxCommentCharsWhenCollapsed':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xb8)),'formatDateTime':_0x392bb7(_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xfa)),_0x559246[_0x52c5f0(0xfa)]),'CommentView':_0x2c0394[_0x52c5f0(0xf2)](_0x52c5f0(0xdc))[_0x52c5f0(0xbd)],'CommentsListView':_0x49b79e,'CommentThreadInputView':_0x277cc9,'SuggestionView':_0x2fbcb1}),_0x188213[_0x52c5f0(0x100)][_0x52c5f0(0xea)]['on'](_0x52c5f0(0x8c),()=>{const _0x5085e8=_0x52c5f0;_0x559246[_0x5085e8(0x121)][_0x5085e8(0xc3)][_0x5085e8(0xa1)]();}),_0x188213[_0x52c5f0(0x100)][_0x52c5f0(0x10f)]['on'](_0x52c5f0(0x8c),()=>{const _0x10ab21=_0x52c5f0;_0x559246[_0x10ab21(0x121)][_0x10ab21(0xc3)][_0x10ab21(0xa1)]();}),_0x2546f6=_0x5b8a75[_0x52c5f0(0x114)](this[_0x52c5f0(0x81)][_0x52c5f0(0xfa)],_0x188213),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0x96))['to'](_0x188213,_0x52c5f0(0x96)),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0xd4))['to'](_0x188213),_0x2546f6[_0x52c5f0(0xfd)](_0x52c5f0(0xaf))['to'](_0x188213,_0x52c5f0(0xaf),_0x923ba7=>_0x52c5f0(0xe1)+_0x923ba7),_0x188213['on'](_0x52c5f0(0xde),()=>{const _0x49b53a=_0x52c5f0;_0x14ba97[_0x49b53a(0x8a)](_0x49b53a(0xde));}),this[_0x52c5f0(0xb2)][_0x52c5f0(0x115)](_0x4ffa31['id'],_0x2546f6));const _0x45a596=_0x5cb833[_0x52c5f0(0xbe)](_0x4ffa31[_0x52c5f0(0x118)],_0x188213),_0x9f05f2=new _0x4738a8(_0x559246,_0x4ffa31,_0x188213,_0x45a596),_0x25a911=_0x4ffa31[_0x52c5f0(0xc1)]()[_0x52c5f0(0xe3)](_0x22e477=>_0x22e477[_0x52c5f0(0xab)]);_0x188213[_0x52c5f0(0xeb)]=_0x559246[_0x52c5f0(0xd7)][_0x52c5f0(0xf2)](_0x52c5f0(0x111))[_0x52c5f0(0xa6)][_0x52c5f0(0xb7)](_0x25a911),this[_0x52c5f0(0xda)][_0x52c5f0(0x115)](_0x4ffa31,_0x9f05f2),this[_0x52c5f0(0xad)][_0x52c5f0(0x115)](_0x188213,_0x9f05f2),_0x14ba97=_0x5b8a75[_0x52c5f0(0x11a)]({'view':_0x2546f6,'target':()=>{const _0x530f48=_0x52c5f0,_0x402f2f=[],_0x3883ee=_0x4ffa31[_0x530f48(0xc1)]()[_0x530f48(0xe3)](_0x492b24=>_0x492b24[_0x530f48(0xab)]);for(const _0x3f2b1a of _0x3883ee)_0x402f2f[_0x530f48(0xd8)](..._0x3f2b1a[_0x530f48(0xcd)]());return _0x2fda86(_0x559246[_0x530f48(0x121)],_0x402f2f);},'type':()=>_0x52c5f0(0xe1)+_0x9f05f2[_0x52c5f0(0xc3)][_0x52c5f0(0xaf)]}),_0x5cb833[_0x52c5f0(0x119)](_0x188213,_0x14ba97),_0x5b8a75[_0x52c5f0(0x122)](_0x14ba97),_0x2c9258[_0x52c5f0(0xe8)](_0x14ba97);}[_0x1cb4bc(0xc6)](_0x311998){const _0x565581=_0x1cb4bc,_0xf974ab=this[_0x565581(0x81)][_0x565581(0xd7)][_0x565581(0xf2)](_0x565581(0x97)),_0x3a0595=this[_0x565581(0x81)][_0x565581(0xd7)][_0x565581(0xf2)](_0x565581(0xe2)),_0x41167d=this[_0x565581(0xda)][_0x565581(0xf2)](_0x311998),_0x56afdf=_0x41167d[_0x565581(0xc3)],_0x26b0ab=_0x3a0595[_0x565581(0xec)](_0x56afdf);_0xf974ab[_0x565581(0x85)](_0x56afdf),_0x26b0ab&&_0x3a0595[_0x565581(0xba)](_0x26b0ab),this[_0x565581(0xda)][_0x565581(0xcf)](_0x311998),this[_0x565581(0xad)][_0x565581(0xcf)](_0x56afdf),_0x41167d[_0x565581(0x10e)]();}[_0x1cb4bc(0x125)](_0x6f1280){const _0x433444=_0x1cb4bc;if(!_0x6f1280[_0x433444(0xab)]||!this[_0x433444(0xda)][_0x433444(0x95)](_0x6f1280))return;const _0x3bad74=this[_0x433444(0x81)][_0x433444(0xd7)][_0x433444(0xf2)](_0x433444(0x111)),_0x3cee35=this[_0x433444(0xda)][_0x433444(0xf2)](_0x6f1280),_0x199278=_0x6f1280[_0x433444(0xc1)]();_0x3cee35[_0x433444(0xc3)][_0x433444(0xeb)]=_0x3bad74[_0x433444(0xa6)][_0x433444(0xb7)](_0x199278);}[_0x1cb4bc(0x10e)](){const _0x49f9d4=_0x1cb4bc;for(const _0x242c25 of this[_0x49f9d4(0xda)][_0x49f9d4(0xf1)]())this[_0x49f9d4(0xc6)](_0x242c25);for(const _0xea90a1 of this[_0x49f9d4(0xb2)][_0x49f9d4(0x11c)]())_0xea90a1[_0x49f9d4(0x83)][_0x49f9d4(0x10e)]();super[_0x49f9d4(0x10e)](),this[_0x49f9d4(0x9d)]&&clearInterval(this[_0x49f9d4(0x9d)]);}}function ke(_0x2dc96d){const _0x2245f7=_0x1cb4bc;return _0x2245f7(0x99)in _0x2dc96d;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x28a553=_0x12d3;(function(_0x61d926,_0x4c6fb8){const _0x215904=_0x12d3,_0xa8a6b4=_0x61d926();while(!![]){try{const _0x4cb524=-parseInt(_0x215904(0x1e1))/0x1*(parseInt(_0x215904(0x1f9))/0x2)+parseInt(_0x215904(0x200))/0x3+parseInt(_0x215904(0x1df))/0x4+-parseInt(_0x215904(0x1f7))/0x5*(-parseInt(_0x215904(0x206))/0x6)+-parseInt(_0x215904(0x1e5))/0x7+parseInt(_0x215904(0x202))/0x8*(-parseInt(_0x215904(0x1dd))/0x9)+parseInt(_0x215904(0x1e4))/0xa;if(_0x4cb524===_0x4c6fb8)break;else _0xa8a6b4['push'](_0xa8a6b4['shift']());}catch(_0xb3874c){_0xa8a6b4['push'](_0xa8a6b4['shift']());}}}(_0x1b06,0xe799b));import{ObservableMixin as _0x29ee5a}from'ckeditor5/src/utils.js';function _0x12d3(_0x175f2a,_0x4605be){const _0x1b06c1=_0x1b06();return _0x12d3=function(_0x12d30f,_0x298442){_0x12d30f=_0x12d30f-0x1dd;let _0x2249e6=_0x1b06c1[_0x12d30f];return _0x2249e6;},_0x12d3(_0x175f2a,_0x4605be);}import{getTranslation as _0x5f1eac}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x29ee5a(){[_0x28a553(0x1e8)];[_0x28a553(0x1ef)];[_0x28a553(0x201)];[_0x28a553(0x204)];[_0x28a553(0x1f0)];[_0x28a553(0x1e3)];[_0x28a553(0x1f6)];constructor(_0x2bc1cd,_0x5f1f98,_0x361ae5,_0x41d6ba){const _0x24dc3f=_0x28a553;super(),this[_0x24dc3f(0x1e8)]=_0x5f1f98,this[_0x24dc3f(0x1ef)]=_0x361ae5,this[_0x24dc3f(0x201)]=_0x41d6ba,this[_0x24dc3f(0x204)]=_0x2bc1cd,this[_0x24dc3f(0x1f0)]=_0x2bc1cd[_0x24dc3f(0x1de)][_0x24dc3f(0x1fa)](_0x24dc3f(0x1e2)),this[_0x24dc3f(0x1e3)]=_0x2bc1cd[_0x24dc3f(0x1de)][_0x24dc3f(0x1fa)](_0x24dc3f(0x1e0)),this[_0x24dc3f(0x1ef)][_0x24dc3f(0x1fd)](_0x24dc3f(0x1f8))['to'](this[_0x24dc3f(0x1f0)],this[_0x24dc3f(0x1e3)],(_0x18d983,_0x3e4a9f)=>_0x18d983||_0x3e4a9f),this[_0x24dc3f(0x1ef)][_0x24dc3f(0x1fd)](_0x24dc3f(0x1fc))['to'](this[_0x24dc3f(0x1f0)],_0x24dc3f(0x1f8),_0x24ff7d=>_0x24ff7d&&this[_0x24dc3f(0x204)][_0x24dc3f(0x1e8)][_0x24dc3f(0x1e9)](_0x5f1f98[_0x24dc3f(0x1ff)]())),this[_0x24dc3f(0x1ef)][_0x24dc3f(0x1fd)](_0x24dc3f(0x1f4))['to'](this[_0x24dc3f(0x1e3)],_0x24dc3f(0x1f8),_0x30dc57=>_0x30dc57&&this[_0x24dc3f(0x204)][_0x24dc3f(0x1e8)][_0x24dc3f(0x1e9)](_0x5f1f98[_0x24dc3f(0x1ff)]())),this[_0x24dc3f(0x1f6)]=null,_0x361ae5[_0x24dc3f(0x1e7)]&&this[_0x24dc3f(0x1f1)](),this[_0x24dc3f(0x1f3)](_0x361ae5,_0x24dc3f(0x1e2),()=>this[_0x24dc3f(0x1e2)]()),this[_0x24dc3f(0x1f3)](_0x361ae5,_0x24dc3f(0x1e0),()=>this[_0x24dc3f(0x1e0)]()),this[_0x24dc3f(0x1f3)](_0x361ae5,_0x24dc3f(0x1fb),()=>{const _0x4da0c0=_0x24dc3f;_0x361ae5[_0x4da0c0(0x1e7)]?this[_0x4da0c0(0x1f1)]():this[_0x4da0c0(0x1f2)]();});}[_0x28a553(0x1e2)](){const _0x696ccd=_0x28a553;this[_0x696ccd(0x1f0)][_0x696ccd(0x203)](this[_0x696ccd(0x1e8)]['id']);}[_0x28a553(0x1e0)](){const _0x166b8f=_0x28a553;this[_0x166b8f(0x1e3)][_0x166b8f(0x203)](this[_0x166b8f(0x1e8)]['id']);}[_0x28a553(0x1f5)](){const _0x571ce1=_0x28a553;this[_0x571ce1(0x1ef)][_0x571ce1(0x1fe)](_0x571ce1(0x1f8)),this[_0x571ce1(0x1ef)][_0x571ce1(0x1fe)](_0x571ce1(0x1fc)),this[_0x571ce1(0x1ef)][_0x571ce1(0x1fe)](_0x571ce1(0x1f4)),this[_0x571ce1(0x205)](),this[_0x571ce1(0x201)][_0x571ce1(0x1f5)](),this[_0x571ce1(0x1f6)]&&this[_0x571ce1(0x1f2)]();}[_0x28a553(0x1f1)](){const _0x1bb807=_0x28a553,_0x21cc36=_0x5f1eac(this[_0x1bb807(0x204)][_0x1bb807(0x1e6)],_0x1bb807(0x1ee));this[_0x1bb807(0x1f6)]=this[_0x1bb807(0x204)][_0x1bb807(0x1eb)][_0x1bb807(0x1fa)](_0x1bb807(0x1ea))[_0x1bb807(0x1ed)](_0x21cc36);}[_0x28a553(0x1f2)](){const _0x3a7f14=_0x28a553;null!==this[_0x3a7f14(0x1f6)]&&this[_0x3a7f14(0x204)][_0x3a7f14(0x1eb)][_0x3a7f14(0x1fa)](_0x3a7f14(0x1ea))[_0x3a7f14(0x1ec)](this[_0x3a7f14(0x1f6)]),this[_0x3a7f14(0x1f6)]=null;}}function _0x1b06(){const _0x5b7efd=['discardSuggestion','10625FYFcRi','acceptSuggestion','_discardCommand','20531130npdWxf','3808322PbInTM','locale','isDirty','model','canEditAt','PendingActions','plugins','remove','add','PENDING_ACTION_SUGGESTION','view','_acceptCommand','_setPendingAction','_removePendingAction','listenTo','canDiscard','destroy','_pendingAction','5DvYfNm','isEnabled','194QTudWA','get','change:isDirty','canAccept','bind','unbind','getRanges','2315193MoozeW','commentThreadController','56HLNTSY','execute','_editor','stopListening','1537014ZGZElk','1185309QZbkRN','commands','1456800TpJUmW'];_0x1b06=function(){return _0x5b7efd;};return _0x1b06();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3433(){const _0x386901=['target','hasDirtyComment','locale','isReadOnly','disableComments','keystrokes','shift+tab','9096920adeRXq','author','element','commentsListView','514470buooHj','join','destroy','_createCommentViews','content','4qmNIAO','isDirty','isEnabled','commentInputView','setData','_localUser','focusTracker','bind','2862qReIUy','delegate','parseFromString','ariaDescriptionView','removeComment','ariaLabel','canAccept','value','60PtMetT','focus','fire','canDiscard','addComment','descriptionParts','set','_model','cancel','SUGGESTION_THREAD_DESCRIPTION','submit','_config','updateComment','body','CommentView','length','textContent','authoredAt','render','focusCycler','showInput','isActive','disabledSubmit','8WqJYIG','5369265lFaPXW','commentThreadInputView','35zZnerO','1693659pwLdcC','editor','assign','text/html','focusables','4254215ZgYUAX','tab','map','415001oAWsPy','SUGGESTION_THREAD_ARIA_LABEL','name','3252rVxhUB','editorConfig','formatDateTime','_createCommentThreadInputView','commentThread'];_0x3433=function(){return _0x386901;};return _0x3433();}const _0x409193=_0x28be;(function(_0x18c550,_0x4a61d3){const _0x198978=_0x28be,_0x38918d=_0x18c550();while(!![]){try{const _0x21c72e=parseInt(_0x198978(0x164))/0x1*(parseInt(_0x198978(0x131))/0x2)+parseInt(_0x198978(0x139))/0x3*(parseInt(_0x198978(0x167))/0x4)+-parseInt(_0x198978(0x15b))/0x5*(-parseInt(_0x198978(0x12c))/0x6)+parseInt(_0x198978(0x161))/0x7*(parseInt(_0x198978(0x158))/0x8)+-parseInt(_0x198978(0x159))/0x9+-parseInt(_0x198978(0x128))/0xa+-parseInt(_0x198978(0x15c))/0xb*(parseInt(_0x198978(0x141))/0xc);if(_0x21c72e===_0x4a61d3)break;else _0x38918d['push'](_0x38918d['shift']());}catch(_0x5af5b2){_0x38918d['push'](_0x38918d['shift']());}}}(_0x3433,0x83362));import{FocusCycler as _0x2dfa53,View as _0x25fe4a,ViewCollection as _0x3dc67d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2d7e54,KeystrokeHandler as _0x37d62f}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x514947,setupThreadKeyboardNavigation as _0x54bbe6}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x292ac7}from'../../utils/common-translations.js';import{renderDescription as _0xa53e31}from'../../utils/utils.js';function _0x28be(_0xa3c443,_0x52a79e){const _0x3433f5=_0x3433();return _0x28be=function(_0x28be06,_0x9d851a){_0x28be06=_0x28be06-0x123;let _0x436c64=_0x3433f5[_0x28be06];return _0x436c64;},_0x28be(_0xa3c443,_0x52a79e);}export class BaseSuggestionThreadView extends _0x25fe4a{[_0x409193(0x12b)];[_0x409193(0x15a)];[_0x409193(0x13c)];[_0x409193(0x160)];[_0x409193(0x137)];[_0x409193(0x126)];[_0x409193(0x154)];[_0x409193(0x148)];[_0x409193(0x136)];[_0x409193(0x14c)];constructor(_0x12229a,_0x305a21,_0x4992c7,_0x4caac0){const _0x3cc64a=_0x409193;super(_0x12229a),this[_0x3cc64a(0x12b)]=null,this[_0x3cc64a(0x15a)]=null,this[_0x3cc64a(0x13c)]=new _0x514947(_0x12229a,_0x292ac7(_0x12229a,_0x3cc64a(0x14a))),this[_0x3cc64a(0x147)](_0x3cc64a(0x156),!0x1),this[_0x3cc64a(0x147)](_0x3cc64a(0x152),_0x305a21[_0x3cc64a(0x152)]),this[_0x3cc64a(0x138)](_0x3cc64a(0x152))['to'](_0x305a21),this[_0x3cc64a(0x147)](_0x3cc64a(0x146),[]),this[_0x3cc64a(0x147)](_0x3cc64a(0x132),!0x1),this[_0x3cc64a(0x147)](_0x3cc64a(0x133),!0x1),this[_0x3cc64a(0x147)](_0x3cc64a(0x13f),!0x1),this[_0x3cc64a(0x147)](_0x3cc64a(0x144),!0x1),this[_0x3cc64a(0x138)](_0x3cc64a(0x13e))['to'](this,_0x3cc64a(0x150),_0x305a21,_0x3cc64a(0x152),this,_0x3cc64a(0x146),(_0x4c971a,_0x3009a2,_0x30ab0f)=>{const _0x2935da=_0x3cc64a,_0x5c5ac4=_0x30ab0f[_0x2935da(0x163)](_0xc091e8=>_0xa53e31(_0xc091e8[_0x2935da(0x130)]))[_0x2935da(0x12d)]('.\x20')+'.';return _0x292ac7(this[_0x2935da(0x123)],_0x2935da(0x165),[_0x4c971a-0x1,_0x305a21[_0x2935da(0x129)][_0x2935da(0x166)],_0x3009a2?_0x4caac0[_0x2935da(0x169)](_0x3009a2):'',new DOMParser()[_0x2935da(0x13b)](_0x5c5ac4,_0x2935da(0x15f))[_0x2935da(0x14e)][_0x2935da(0x151)]]);}),this[_0x3cc64a(0x160)]=new _0x3dc67d(),this[_0x3cc64a(0x137)]=new _0x2d7e54(),this[_0x3cc64a(0x126)]=new _0x37d62f(),this[_0x3cc64a(0x154)]=new _0x2dfa53({'focusables':this[_0x3cc64a(0x160)],'focusTracker':this[_0x3cc64a(0x137)],'keystrokeHandler':this[_0x3cc64a(0x126)],'keystrokeHandlerOptions':{'filter':_0x1cadb1=>_0x1cadb1[_0x3cc64a(0x16c)]!==this[_0x3cc64a(0x12a)]},'actions':{'focusPrevious':_0x3cc64a(0x127),'focusNext':_0x3cc64a(0x162)}}),this[_0x3cc64a(0x148)]=_0x305a21,this[_0x3cc64a(0x136)]=_0x4992c7,this[_0x3cc64a(0x14c)]=_0x4caac0,_0x4caac0[_0x3cc64a(0x125)]?this[_0x3cc64a(0x147)](_0x3cc64a(0x150),0x1):this[_0x3cc64a(0x12f)]();}[_0x409193(0x153)](){const _0x5e67b2=_0x409193;super[_0x5e67b2(0x153)](),_0x54bbe6(this,this[_0x5e67b2(0x160)]);}[_0x409193(0x142)](){const _0x4697fa=_0x409193;this[_0x4697fa(0x12a)][_0x4697fa(0x142)]();}[_0x409193(0x12e)](){const _0x3d6ee5=_0x409193;this[_0x3d6ee5(0x12b)]&&this[_0x3d6ee5(0x12b)][_0x3d6ee5(0x12e)](),this[_0x3d6ee5(0x15a)]&&this[_0x3d6ee5(0x15a)][_0x3d6ee5(0x12e)](),super[_0x3d6ee5(0x12e)]();}[_0x409193(0x12f)](){const _0x43917e=_0x409193,{CommentsListView:_0x3e3ae7}=this[_0x43917e(0x14c)];this[_0x43917e(0x12b)]=new _0x3e3ae7(this[_0x43917e(0x123)],this[_0x43917e(0x148)][_0x43917e(0x16b)],Object[_0x43917e(0x15e)]({'CommentView':this[_0x43917e(0x14c)][_0x43917e(0x14f)]},this[_0x43917e(0x14c)])),this[_0x43917e(0x12b)][_0x43917e(0x13a)](_0x43917e(0x13d))['to'](this),this[_0x43917e(0x12b)][_0x43917e(0x13a)](_0x43917e(0x14d))['to'](this),this[_0x43917e(0x12b)][_0x43917e(0x138)](_0x43917e(0x156))['to'](this),this[_0x43917e(0x147)](_0x43917e(0x150),this[_0x43917e(0x12b)][_0x43917e(0x150)]+0x1),this[_0x43917e(0x138)](_0x43917e(0x150))['to'](this[_0x43917e(0x12b)],_0x43917e(0x150),_0x41e06c=>_0x41e06c+0x1),this[_0x43917e(0x15a)]=this[_0x43917e(0x16a)](),this['on'](_0x43917e(0x13d),()=>this[_0x43917e(0x142)]()),this[_0x43917e(0x138)](_0x43917e(0x132))['to'](this[_0x43917e(0x12b)],_0x43917e(0x16d),this[_0x43917e(0x15a)][_0x43917e(0x134)],_0x43917e(0x140),(_0x5c6be0,_0x1b9931)=>_0x5c6be0||!!_0x1b9931);}[_0x409193(0x16a)](){const _0x523fbc=_0x409193,{CommentThreadInputView:_0x21a48b}=this[_0x523fbc(0x14c)],_0x191451=new _0x21a48b(this[_0x523fbc(0x123)],this[_0x523fbc(0x136)],this[_0x523fbc(0x14c)][_0x523fbc(0x168)]),_0x4ab684=_0x191451[_0x523fbc(0x134)];return _0x191451[_0x523fbc(0x138)](_0x523fbc(0x155))['to'](this,_0x523fbc(0x156),this[_0x523fbc(0x148)][_0x523fbc(0x16b)],_0x523fbc(0x124),_0x4ab684,_0x523fbc(0x140),(_0x14089f,_0x3d0cf0,_0x478fab)=>!!_0x478fab||_0x14089f&&!_0x3d0cf0),_0x4ab684['on'](_0x523fbc(0x14b),(_0x3a7135,_0x3e6333)=>{const _0x15af47=_0x523fbc;this[_0x15af47(0x143)](_0x15af47(0x145),_0x3e6333),_0x4ab684[_0x15af47(0x15d)][_0x15af47(0x135)]('');}),_0x4ab684['on'](_0x523fbc(0x149),()=>this[_0x523fbc(0x142)]()),_0x4ab684[_0x523fbc(0x138)](_0x523fbc(0x157))['to'](this[_0x523fbc(0x148)][_0x523fbc(0x16b)],_0x523fbc(0x124)),_0x191451;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ba457=_0x2938;(function(_0x2f5d83,_0x17a2e3){const _0x299a3a=_0x2938,_0x4f1e69=_0x2f5d83();while(!![]){try{const _0x5e528e=parseInt(_0x299a3a(0x8d))/0x1*(parseInt(_0x299a3a(0x7b))/0x2)+-parseInt(_0x299a3a(0x82))/0x3*(parseInt(_0x299a3a(0x84))/0x4)+-parseInt(_0x299a3a(0x68))/0x5+parseInt(_0x299a3a(0x8a))/0x6+-parseInt(_0x299a3a(0x66))/0x7*(parseInt(_0x299a3a(0x94))/0x8)+-parseInt(_0x299a3a(0x81))/0x9+-parseInt(_0x299a3a(0x8e))/0xa*(-parseInt(_0x299a3a(0x95))/0xb);if(_0x5e528e===_0x17a2e3)break;else _0x4f1e69['push'](_0x4f1e69['shift']());}catch(_0x335dc0){_0x4f1e69['push'](_0x4f1e69['shift']());}}}(_0x4b39,0x805ec));import{BaseSuggestionThreadView as _0x10c64d}from'./basesuggestionthreadview.js';function _0x4b39(){const _0x467d8d=['discardSuggestion','content','suggestionView','descriptionParts','<p>','987jMdduR','render','2947915TIxHwF','editorDestroyed','type','ariaDescriptionView','isActive','ck-suggestion-wrapper','color','ck-suggestion--disabled-comments','canAccept','commentThreadInputView','editorReady','ck-suggestion-wrapper--active','canDiscard','getTemplate','discardButton','add','acceptSuggestion','acceptButton','bind','588494pTCUZa','</p>','_descriptionElement','isEnabled','commentThread','focusables','6769008vUTjHb','71061UFKMwq','listitem','52GamtMf','disableComments','ck-suggestion-','set','description','bindTemplate','290910CNCFpM','author','_model','1LRpVGg','22917940YsUwVX','push','ariaLabel','_config','commentsListView','div','26048mJSFRz','11FgkxgS','SuggestionView','formatDateTime','ck-rounded-corners','setTemplate','delegate'];_0x4b39=function(){return _0x467d8d;};return _0x4b39();}function _0x2938(_0xde911a,_0x43d392){const _0x4b39ec=_0x4b39();return _0x2938=function(_0x2938d8,_0xd91940){_0x2938d8=_0x2938d8-0x66;let _0x50f677=_0x4b39ec[_0x2938d8];return _0x50f677;},_0x2938(_0xde911a,_0x43d392);}import{trimHtml as _0x53e7a5}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5c8346}from'../../utils/utils.js';export class SuggestionThreadView extends _0x10c64d{[_0x1ba457(0x9d)];[_0x1ba457(0x7d)];constructor(_0x21a8ed,_0x13f626,_0x4cb0e8,_0x39ed88){const _0x3fe449=_0x1ba457;super(_0x21a8ed,_0x13f626,_0x4cb0e8,_0x39ed88),this[_0x3fe449(0x87)](_0x3fe449(0x6a),''),this[_0x3fe449(0x7a)](_0x3fe449(0x6a))['to'](this,_0x3fe449(0x9e),_0x559b35=>_0x559b35&&_0x559b35[0x0]?_0x559b35[0x0][_0x3fe449(0x6a)]:''),this[_0x3fe449(0x7a)](_0x3fe449(0x88))['to'](this,_0x3fe449(0x9e),this,_0x3fe449(0x6c),(_0x3d460e,_0x194d50)=>{const _0x429449=_0x3fe449;let _0x41aacc='';for(const _0xb07070 of _0x3d460e)_0x41aacc+=_0x429449(0x9f)+_0x5c8346(_0xb07070[_0x429449(0x9c)],_0xb07070[_0x429449(0x6e)])+_0x429449(0x7c);return _0x194d50?_0x41aacc:_0x53e7a5(_0x41aacc,{'limit':0x8c});}),this[_0x3fe449(0x7d)]=null,this[_0x3fe449(0x9d)]=new _0x39ed88[(_0x3fe449(0x96))](_0x21a8ed,_0x13f626,{'formatDateTime':_0x39ed88[_0x3fe449(0x97)]}),this[_0x3fe449(0x9d)][_0x3fe449(0x7a)](_0x3fe449(0x88))['to'](this),this[_0x3fe449(0x9d)][_0x3fe449(0x9a)](_0x3fe449(0x78),_0x3fe449(0x9b))['to'](this),this[_0x3fe449(0x9d)][_0x3fe449(0x79)][_0x3fe449(0x7a)](_0x3fe449(0x7e))['to'](this,_0x3fe449(0x70)),this[_0x3fe449(0x9d)][_0x3fe449(0x76)][_0x3fe449(0x7a)](_0x3fe449(0x7e))['to'](this,_0x3fe449(0x74)),this[_0x3fe449(0x80)][_0x3fe449(0x77)](this[_0x3fe449(0x9d)]),this[_0x3fe449(0x92)]&&this[_0x3fe449(0x80)][_0x3fe449(0x77)](this[_0x3fe449(0x92)]),this[_0x3fe449(0x71)]&&this[_0x3fe449(0x80)][_0x3fe449(0x77)](this[_0x3fe449(0x71)]),this[_0x3fe449(0x99)](this[_0x3fe449(0x75)]());}[_0x1ba457(0x75)](){const _0x3647b3=_0x1ba457,_0x5896e7=this[_0x3647b3(0x89)],_0x3ae8fd=[this[_0x3647b3(0x9d)]];return this[_0x3647b3(0x92)]&&_0x3ae8fd[_0x3647b3(0x8f)](this[_0x3647b3(0x92)]),this[_0x3647b3(0x71)]&&_0x3ae8fd[_0x3647b3(0x8f)](this[_0x3647b3(0x71)]),_0x3ae8fd[_0x3647b3(0x8f)](this[_0x3647b3(0x6b)]),{'tag':_0x3647b3(0x93),'attributes':{'class':['ck',_0x3647b3(0x98),_0x3647b3(0x6d),_0x5896e7['if'](_0x3647b3(0x6c),_0x3647b3(0x73)),_0x5896e7['to'](_0x3647b3(0x6a),_0xd470a3=>_0x3647b3(0x86)+_0xd470a3),this[_0x3647b3(0x91)][_0x3647b3(0x85)]&&_0x3647b3(0x6f)],'data-suggestion-id':this[_0x3647b3(0x8c)]['id'],'data-thread-id':this[_0x3647b3(0x8c)][_0x3647b3(0x7f)]['id'],'data-author-id':this[_0x3647b3(0x8c)][_0x3647b3(0x8b)]['id'],'tabindex':0x0,'role':_0x3647b3(0x83),'aria-label':_0x5896e7['to'](_0x3647b3(0x90)),'aria-describedby':this[_0x3647b3(0x6b)]['id']},'children':_0x3ae8fd};}[_0x1ba457(0x67)](){const _0x58deb7=_0x1ba457;super[_0x58deb7(0x67)](),this[_0x58deb7(0x92)]&&(this[_0x58deb7(0x92)][_0x58deb7(0x9a)](_0x58deb7(0x72))['to'](this),this[_0x58deb7(0x92)][_0x58deb7(0x9a)](_0x58deb7(0x69))['to'](this)),this[_0x58deb7(0x71)]&&(this[_0x58deb7(0x71)][_0x58deb7(0x9a)](_0x58deb7(0x72))['to'](this),this[_0x58deb7(0x71)][_0x58deb7(0x9a)](_0x58deb7(0x69))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x41184f=_0x5b5a;(function(_0x25b12a,_0x38dbff){const _0x14f8d5=_0x5b5a,_0x58907a=_0x25b12a();while(!![]){try{const _0x5444b8=-parseInt(_0x14f8d5(0x1e5))/0x1+parseInt(_0x14f8d5(0x20d))/0x2*(-parseInt(_0x14f8d5(0x216))/0x3)+parseInt(_0x14f8d5(0x1fe))/0x4+-parseInt(_0x14f8d5(0x220))/0x5*(parseInt(_0x14f8d5(0x234))/0x6)+-parseInt(_0x14f8d5(0x1ea))/0x7*(-parseInt(_0x14f8d5(0x1e7))/0x8)+parseInt(_0x14f8d5(0x21b))/0x9+parseInt(_0x14f8d5(0x1ff))/0xa;if(_0x5444b8===_0x38dbff)break;else _0x58907a['push'](_0x58907a['shift']());}catch(_0x418006){_0x58907a['push'](_0x58907a['shift']());}}}(_0x2fe3,0x82468));import{FocusTracker as _0x397d72,KeystrokeHandler as _0x59930b}from'ckeditor5/src/utils.js';function _0x5b5a(_0x4dc2bf,_0x3c011d){const _0x2fe3e0=_0x2fe3();return _0x5b5a=function(_0x5b5aac,_0x7a54f2){_0x5b5aac=_0x5b5aac-0x1e1;let _0x45caff=_0x2fe3e0[_0x5b5aac];return _0x45caff;},_0x5b5a(_0x4dc2bf,_0x3c011d);}function _0x2fe3(){const _0xae1f84=['_config','bindTemplate','4905EOtaKE','focusFirst','locale','fire','innerHTML','Accept\x20suggestion','element','setTemplate','getExternalSuggestionNote','ck-annotation','ck-annotation__user','ck-suggestion','extendTemplate','ck-suggestion__user','author','ck-annotation__actions','execute','esc','shift+tab','@external','5646yKVkNC','userView','name','acceptButton','listenTo','authoredAt','formatDateTime','_model','ck-annotation__main','attributes','416709OQpGuN','ck-annotation__content-wrapper','16TLXbZU','EXTERNAL_SUGGESTION','change:description','2176874TRZOnT','ck-annotation__info','focusCycler','render','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__info-name','span','tab','EXTERNAL_IMPORT_WORD_SUGGESTION','discardButton','keystrokes','ck-comment__external','description','target','querySelector','ck-suggestion--discard','discardSuggestion','Discard\x20suggestion','source','enter','1875096xdRIwW','8090440HpbaZL','getTemplate','presentation','ck-comment__info-time','_createButton','focus','.ck-annotation__content-wrapper','ck-annotation__info-name','focusTracker','bind','ck-annotation__info-time','EXTERNAL_AVATAR','ck-suggestion__info','isExternal','652ydwqmi','focusables','importWord','time','ck-suggestion__actions','creator','add','set','_setupKeyboardNavigation','6627HEjmrV','ck-suggestion__main','div','getUserViewNotificationText','ck-suggestion--accept','6244110xCxKSa','push','acceptSuggestion'];_0x2fe3=function(){return _0xae1f84;};return _0x2fe3();}import{View as _0x57ec05,ViewCollection as _0x3004f1,FocusCycler as _0xb59c32}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x552250,UserView as _0x388f5d}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x515629,IconCheck as _0xebb144}from'ckeditor5/src/icons.js';import{getTranslation as _0x3562eb}from'../../utils/common-translations.js';export class SuggestionView extends _0x57ec05{[_0x41184f(0x235)];[_0x41184f(0x237)];[_0x41184f(0x1f3)];[_0x41184f(0x20e)];[_0x41184f(0x207)];[_0x41184f(0x1f4)];[_0x41184f(0x1ec)];[_0x41184f(0x1e2)];[_0x41184f(0x21e)];constructor(_0x30d2ad,_0x4cf704,_0x22fa45){const _0x3cafa3=_0x41184f;super(_0x30d2ad),this[_0x3cafa3(0x1e2)]=_0x4cf704,this[_0x3cafa3(0x21e)]=_0x22fa45,this[_0x3cafa3(0x214)](_0x3cafa3(0x1f6),''),this[_0x3cafa3(0x208)](_0x3cafa3(0x239))['to'](_0x4cf704),this[_0x3cafa3(0x237)]=this[_0x3cafa3(0x203)](_0x3562eb(_0x30d2ad,_0x3cafa3(0x225)),_0xebb144,_0x3cafa3(0x21a),_0x3cafa3(0x21d),'sw'),this[_0x3cafa3(0x1f3)]=this[_0x3cafa3(0x203)](_0x3562eb(_0x30d2ad,_0x3cafa3(0x1fb)),_0x515629,_0x3cafa3(0x1f9),_0x3cafa3(0x1fa),'sw'),this[_0x3cafa3(0x235)]=new _0x388f5d(_0x30d2ad,_0x4cf704[_0x3cafa3(0x22e)],this[_0x3cafa3(0x219)]()),this[_0x3cafa3(0x235)][_0x3cafa3(0x22c)]({'attributes':{'class':[_0x3cafa3(0x22d),_0x3cafa3(0x22a)],'aria-hidden':!0x0}}),this[_0x3cafa3(0x20e)]=new _0x3004f1([this[_0x3cafa3(0x237)],this[_0x3cafa3(0x1f3)]]),this[_0x3cafa3(0x207)]=new _0x397d72(),this[_0x3cafa3(0x1f4)]=new _0x59930b(),this[_0x3cafa3(0x1ec)]=new _0xb59c32({'focusables':this[_0x3cafa3(0x20e)],'focusTracker':this[_0x3cafa3(0x207)],'keystrokeHandler':this[_0x3cafa3(0x1f4)],'actions':{'focusPrevious':_0x3cafa3(0x232),'focusNext':_0x3cafa3(0x1f1)},'keystrokeHandlerOptions':{'filter':_0x41b918=>_0x41b918[_0x3cafa3(0x1f7)]!==this[_0x3cafa3(0x226)]}}),this[_0x3cafa3(0x227)](this[_0x3cafa3(0x200)]());}[_0x41184f(0x1ed)](){const _0x23132e=_0x41184f;super[_0x23132e(0x1ed)]();const _0x3cf0a3=this[_0x23132e(0x226)][_0x23132e(0x1f8)](_0x23132e(0x205));_0x3cf0a3[_0x23132e(0x224)]=this[_0x23132e(0x1f6)],this['on'](_0x23132e(0x1e9),(_0x3a2d78,_0xb351f1,_0x50b8d1)=>{const _0x275662=_0x23132e;_0x3cf0a3[_0x275662(0x224)]=_0x50b8d1;}),this[_0x23132e(0x215)]();}[_0x41184f(0x200)](){const _0x2b0f42=_0x41184f,_0x266866=this[_0x2b0f42(0x21f)],_0x450af1=[{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x20b),_0x2b0f42(0x1eb)]},'children':[{'tag':_0x2b0f42(0x1f0),'children':[{'text':this[_0x2b0f42(0x235)][_0x2b0f42(0x236)]}],'attributes':{'class':[_0x2b0f42(0x1ef),_0x2b0f42(0x206)],'data-cke-tooltip-text':this[_0x2b0f42(0x235)][_0x2b0f42(0x236)]}},{'tag':_0x2b0f42(0x210),'attributes':{'datetime':_0x266866['to'](_0x2b0f42(0x239)),'class':[_0x2b0f42(0x202),_0x2b0f42(0x209)]},'children':[{'text':_0x266866['to'](_0x2b0f42(0x239),_0x43e83f=>this[_0x2b0f42(0x21e)][_0x2b0f42(0x1e1)](_0x43e83f))}]}]},{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x211),_0x2b0f42(0x22f)]},'children':[this[_0x2b0f42(0x237)],this[_0x2b0f42(0x1f3)]]},{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x1e6)]}}];return this[_0x2b0f42(0x1e2)][_0x2b0f42(0x20c)]&&_0x450af1[_0x2b0f42(0x21c)]({'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x1f5)]},'children':[{'text':this[_0x2b0f42(0x228)]()}]}),{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x22b),_0x2b0f42(0x229)],'tabindex':-0x1},'children':[this[_0x2b0f42(0x235)],{'tag':_0x2b0f42(0x218),'attributes':{'class':[_0x2b0f42(0x217),_0x2b0f42(0x1e3)],'role':_0x2b0f42(0x201)},'children':_0x450af1}]};}[_0x41184f(0x204)](){const _0x1a5b07=_0x41184f;this[_0x1a5b07(0x226)][_0x1a5b07(0x204)]();}[_0x41184f(0x219)](){const _0x3169ba=_0x41184f;return this[_0x3169ba(0x1e2)][_0x3169ba(0x20c)]?_0x3169ba(0x20f)===this[_0x3169ba(0x1e2)][_0x3169ba(0x1e4)][_0x3169ba(0x233)][_0x3169ba(0x1fc)]?_0x3562eb(this[_0x3169ba(0x222)],_0x3169ba(0x1ee),this[_0x3169ba(0x1e2)][_0x3169ba(0x212)][_0x3169ba(0x236)]):_0x3562eb(this[_0x3169ba(0x222)],_0x3169ba(0x20a),this[_0x3169ba(0x1e2)][_0x3169ba(0x212)][_0x3169ba(0x236)]):null;}[_0x41184f(0x228)](){const _0x5c25fe=_0x41184f;return _0x5c25fe(0x20f)===this[_0x5c25fe(0x1e2)][_0x5c25fe(0x1e4)][_0x5c25fe(0x233)][_0x5c25fe(0x1fc)]?_0x3562eb(this[_0x5c25fe(0x222)],_0x5c25fe(0x1f2)):_0x3562eb(this[_0x5c25fe(0x222)],_0x5c25fe(0x1e8));}[_0x41184f(0x203)](_0x406137,_0x2e69b9,_0xa3882d,_0x1827cb,_0x537d53){const _0x830050=_0x41184f,_0x4bd807=new _0x552250(this[_0x830050(0x222)]);return _0x4bd807[_0x830050(0x214)]({'label':_0x406137,'icon':_0x2e69b9,'tooltip':!0x0,'tooltipPosition':_0x537d53}),_0x4bd807[_0x830050(0x22c)]({'attributes':{'class':_0xa3882d}}),_0x4bd807['on'](_0x830050(0x230),()=>{const _0x3a6eb2=_0x830050;this[_0x3a6eb2(0x223)](_0x1827cb,this[_0x3a6eb2(0x1e2)]['id']);}),_0x4bd807;}[_0x41184f(0x215)](){const _0x38216b=_0x41184f,_0xc7aec1=this[_0x38216b(0x226)];this[_0x38216b(0x1f4)][_0x38216b(0x238)](_0xc7aec1);for(const _0x26a04e of this[_0x38216b(0x20e)])this[_0x38216b(0x207)][_0x38216b(0x213)](_0x26a04e[_0x38216b(0x226)]),this[_0x38216b(0x1f4)][_0x38216b(0x238)](_0x26a04e[_0x38216b(0x226)]);this[_0x38216b(0x1f4)][_0x38216b(0x214)](_0x38216b(0x1fd),(_0x2b000f,_0x2a2ea3)=>{const _0x422317=_0x38216b;_0xc7aec1===_0x2b000f[_0x422317(0x1f7)]&&(this[_0x422317(0x1ec)][_0x422317(0x221)](),_0x2a2ea3());}),this[_0x38216b(0x1f4)][_0x38216b(0x214)](_0x38216b(0x231),(_0x1a29b2,_0x316687)=>{const _0x3bf686=_0x38216b;_0xc7aec1!==_0x1a29b2[_0x3bf686(0x1f7)]&&(this[_0x3bf686(0x204)](),_0x316687());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5ca1(){const _0x495948=['classes','11319831QRiiwi','72wAOoKf','options','setAttribute','6748dYzFRU','focus','className','render','createElement','802926WlzWtc','ck-reset','16sDMfZe','previewDataReady','element','div','552273YjrXLI','width','setPreviewData','data-ck-root-name','\x20ck-track-changes-preview__root-container','content','296hfzRAg','fire','height','style','80927fGCpJE','innerHTML','setTemplate','112849gHMlPY','50XxXmIu','ck-track-changes-preview','9769540YAlmJo','1176Oenbtx','dialogRects','push'];_0x5ca1=function(){return _0x495948;};return _0x5ca1();}const _0xb9154d=_0x3089;(function(_0x3f2a55,_0xdc5b44){const _0xe1d876=_0x3089,_0x11481e=_0x3f2a55();while(!![]){try{const _0x8a2393=-parseInt(_0xe1d876(0x1bc))/0x1*(parseInt(_0xe1d876(0x1a9))/0x2)+parseInt(_0xe1d876(0x1a3))/0x3*(-parseInt(_0xe1d876(0x1c3))/0x4)+parseInt(_0xe1d876(0x1b1))/0x5*(parseInt(_0xe1d876(0x1c1))/0x6)+-parseInt(_0xe1d876(0x1ad))/0x7*(parseInt(_0xe1d876(0x1b9))/0x8)+parseInt(_0xe1d876(0x1b8))/0x9+parseInt(_0xe1d876(0x1b3))/0xa+parseInt(_0xe1d876(0x1b0))/0xb*(-parseInt(_0xe1d876(0x1b4))/0xc);if(_0x8a2393===_0xdc5b44)break;else _0x11481e['push'](_0x11481e['shift']());}catch(_0x37f098){_0x11481e['push'](_0x11481e['shift']());}}}(_0x5ca1,0xb1d68));function _0x3089(_0x255ecb,_0x3cba5d){const _0x5ca1ea=_0x5ca1();return _0x3089=function(_0x308936,_0x17d199){_0x308936=_0x308936-0x1a1;let _0x3d10ad=_0x5ca1ea[_0x308936];return _0x3d10ad;},_0x3089(_0x255ecb,_0x3cba5d);}import{View as _0x40e1a0}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x40e1a0{[_0xb9154d(0x1ba)];constructor(_0x2a1f41,_0x4f1c8b){const _0x733a87=_0xb9154d;super(_0x2a1f41),this[_0x733a87(0x1ba)]=_0x4f1c8b,this[_0x733a87(0x1af)]({'tag':_0x733a87(0x1a2),'attributes':{'class':['ck',_0x733a87(0x1c2),_0x733a87(0x1b2)],'tabindex':-0x1}});}[_0xb9154d(0x1bf)](){const _0x1f62c4=_0xb9154d;super[_0x1f62c4(0x1bf)](),this[_0x1f62c4(0x1a1)][_0x1f62c4(0x1ac)][_0x1f62c4(0x1a4)]=this[_0x1f62c4(0x1ba)][_0x1f62c4(0x1b5)][_0x1f62c4(0x1a4)]+'px',this[_0x1f62c4(0x1a1)][_0x1f62c4(0x1ac)][_0x1f62c4(0x1ab)]=this[_0x1f62c4(0x1ba)][_0x1f62c4(0x1b5)][_0x1f62c4(0x1ab)]+'px';}[_0xb9154d(0x1a5)](_0x4419fc,_0x1db3ef){const _0x1fb258=_0xb9154d;if(!this[_0x1fb258(0x1a1)])return;const _0x256338=[];for(const [_0x4c9785,_0x35ec94]of _0x4419fc){const _0xadd2dd=document[_0x1fb258(0x1c0)](_0x1fb258(0x1a2));_0xadd2dd[_0x1fb258(0x1bb)](_0x1fb258(0x1a6),_0x4c9785),_0xadd2dd[_0x1fb258(0x1be)]=_0x35ec94[_0x1fb258(0x1b7)]+_0x1fb258(0x1a7),_0xadd2dd[_0x1fb258(0x1ae)]=_0x35ec94[_0x1fb258(0x1a8)],_0x256338[_0x1fb258(0x1b6)](_0xadd2dd);}_0x1db3ef(this[_0x1fb258(0x1a1)],_0x256338),this[_0x1fb258(0x1a1)][_0x1fb258(0x1ac)][_0x1fb258(0x1ab)]='',this[_0x1fb258(0x1aa)](_0x1fb258(0x1c4));}[_0xb9154d(0x1bd)](){const _0x30e0e3=_0xb9154d;this[_0x30e0e3(0x1a1)][_0x30e0e3(0x1bd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x206bdc,_0x6795b0,_0x5c1b35){const _0x5a13c2=_0x206bdc['t'],t=_0x206bdc['t'];switch(_0x6795b0){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',_0x5c1b35);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5c1b35);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5c1b35);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5c1b35);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5c1b35);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',_0x5c1b35);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5c1b35);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',_0x5c1b35);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5c1b35);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5c1b35);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5c1b35);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5c1b35);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5c1b35);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5c1b35);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5c1b35);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5c1b35);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5c1b35);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5c1b35);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5c1b35);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5c1b35);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5c1b35);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5c1b35);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5c1b35);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5c1b35);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5c1b35);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'},_0x5c1b35);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5c1b35);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5c1b35);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5c1b35);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5c1b35);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5c1b35);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5c1b35);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5c1b35);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'},_0x5c1b35);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5c1b35);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5c1b35);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5c1b35);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5c1b35);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5c1b35);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5c1b35);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'},_0x5c1b35);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5c1b35);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5c1b35);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'},_0x5c1b35);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5c1b35);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'},_0x5c1b35);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5c1b35);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5c1b35);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'},_0x5c1b35);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5c1b35);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 _0x5a13c2({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5c1b35);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x5a13c2({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5c1b35);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5c1b35);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'},_0x5c1b35);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'},_0x5c1b35);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'},_0x5c1b35);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x6795b0;}}
|
|
23
|
+
export function getTranslation(_0x2a2be5,_0x30dced,_0x1da16f){const _0x26c559=_0x2a2be5['t'],t=_0x2a2be5['t'];switch(_0x30dced){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x1da16f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1da16f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1da16f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1da16f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1da16f);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x1da16f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1da16f);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1da16f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1da16f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1da16f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1da16f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1da16f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1da16f);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1da16f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1da16f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1da16f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1da16f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1da16f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1da16f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1da16f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1da16f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1da16f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1da16f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1da16f);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1da16f);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x1da16f);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1da16f);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1da16f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1da16f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1da16f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1da16f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1da16f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1da16f);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x1da16f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1da16f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1da16f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1da16f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1da16f);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x1da16f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1da16f);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x1da16f);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1da16f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1da16f);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x1da16f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1da16f);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x1da16f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1da16f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1da16f);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x1da16f);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1da16f);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x26c559({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1da16f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x26c559({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1da16f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1da16f);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x1da16f);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x1da16f);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x1da16f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x30dced;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1ffe(_0x558a02,_0x4cc47e){const _0x1f3e4d=_0x1f3e();return _0x1ffe=function(_0x1ffec1,_0x17307a){_0x1ffec1=_0x1ffec1-0x154;let _0x162669=_0x1f3e4d[_0x1ffec1];return _0x162669;},_0x1ffe(_0x558a02,_0x4cc47e);}(function(_0x1ad9d7,_0x2d0c1c){const _0x5cea7a=_0x1ffe,_0x12898a=_0x1ad9d7();while(!![]){try{const _0x2e81fa=parseInt(_0x5cea7a(0x155))/0x1*(-parseInt(_0x5cea7a(0x164))/0x2)+parseInt(_0x5cea7a(0x15c))/0x3*(-parseInt(_0x5cea7a(0x159))/0x4)+parseInt(_0x5cea7a(0x185))/0x5+parseInt(_0x5cea7a(0x177))/0x6+parseInt(_0x5cea7a(0x188))/0x7+parseInt(_0x5cea7a(0x160))/0x8*(parseInt(_0x5cea7a(0x189))/0x9)+-parseInt(_0x5cea7a(0x15a))/0xa;if(_0x2e81fa===_0x2d0c1c)break;else _0x12898a['push'](_0x12898a['shift']());}catch(_0x34375b){_0x12898a['push'](_0x12898a['shift']());}}}(_0x1f3e,0xd2c56));export function normalizeDescription(_0x479fd9){const _0x46b214=_0x1ffe;return Array[_0x46b214(0x162)](_0x479fd9)||(_0x479fd9=[_0x479fd9]),_0x479fd9[_0x46b214(0x175)](_0x4ac961=>{const _0x48bc96=_0x46b214,_0x30b516=_0x4ac961[_0x48bc96(0x16f)][_0x48bc96(0x15d)](/\*/g,''),_0x4dcbec=_0x4ac961[_0x48bc96(0x17c)]?_0x48bc96(0x18a)+_0x4ac961[_0x48bc96(0x17c)][_0x48bc96(0x181)]+']':'';return'['+_0x4ac961[_0x48bc96(0x182)]+']\x20'+_0x30b516+_0x4dcbec;})[_0x46b214(0x16d)](';\x20');}export function renderDescription(_0x59ef8b,_0x5664bc){const _0x1a7256=_0x1ffe;let _0x470db9='';return _0x470db9+=_0x59ef8b[_0x1a7256(0x169)]('*')[_0x1a7256(0x175)]((_0x5abca8,_0xbec616)=>_0xbec616%0x2!=0x0?_0x1a7256(0x178)+Yt(_0x5abca8)+_0x1a7256(0x165):Yt(_0x5abca8))[_0x1a7256(0x16d)](''),_0x5664bc&&(_0x470db9+=_0x1a7256(0x17b)+_0x5664bc[_0x1a7256(0x181)]+_0x1a7256(0x171)+_0x5664bc[_0x1a7256(0x179)]+_0x1a7256(0x15e)),_0x470db9;}function Yt(_0x50174a){const _0x128913=_0x1ffe,_0xa78df3=document[_0x128913(0x186)](_0x128913(0x170));return _0xa78df3[_0x128913(0x167)]=_0x50174a,_0xa78df3[_0x128913(0x161)];}export function sortSuggestions(_0x106b07){const _0xb9f9aa=_0x1ffe;return _0x106b07[_0xb9f9aa(0x163)]((_0x584889,_0x56ff0a)=>_0xb9f9aa(0x17f)===_0x584889[_0xb9f9aa(0x182)]&&_0xb9f9aa(0x17f)!==_0x56ff0a[_0xb9f9aa(0x182)]?-0x1:_0xb9f9aa(0x17f)!==_0x584889[_0xb9f9aa(0x182)]&&_0xb9f9aa(0x17f)===_0x56ff0a[_0xb9f9aa(0x182)]?0x1:_0xb9f9aa(0x17d)==_0x584889[_0xb9f9aa(0x182)]&&_0xb9f9aa(0x17d)!=_0x56ff0a[_0xb9f9aa(0x182)]?-0x1:_0xb9f9aa(0x17d)!=_0x584889[_0xb9f9aa(0x182)]&&_0xb9f9aa(0x17d)==_0x56ff0a[_0xb9f9aa(0x182)]?0x1:0x0);}export function getSelectedSuggestions(_0x42ea40,_0x168039){const _0x42b906=_0x1ffe,_0x9175e0=Array[_0x42b906(0x154)](_0x42ea40[_0x42b906(0x16b)]()),_0x474e8f=new Set();for(const _0x58be64 of _0x168039)if(_0x58be64[_0x42b906(0x166)]){for(const _0x41b9c0 of _0x9175e0)for(const _0xfdda02 of _0x58be64[_0x42b906(0x16b)]())(_0x41b9c0[_0x42b906(0x184)](_0xfdda02)||_0x42ea40[_0x42b906(0x15f)]&&!_0x58be64[_0x42b906(0x172)]&&_0x58be64[_0x42b906(0x187)]&&_0xfdda02[_0x42b906(0x173)][_0x42b906(0x17e)](_0x41b9c0[_0x42b906(0x15b)]))&&_0x474e8f[_0x42b906(0x16c)](_0x58be64);}return _0x474e8f;}function _0x1f3e(){const _0x5867b4=['value','type','length','isIntersecting','4147865NrJtiP','createElement','next','10384381KhLvwW','5382JOvaKB','\x20[color\x20','from','4yaEXus','isObject','createPositionAfter','execute','4BUhShB','25355410qRnHbK','start','1460718IhMnLh','replace','\x22></span>','isCollapsed','8416ACXeea','innerHTML','isArray','sort','219752qkvNhX','</span>','isInContent','innerText','schema','split','splice','getRanges','add','join','createPositionAt','content','span','\x22\x20title=\x22','isMultiRange','end','createRange','map','push','8298702gUopKs','<span\x20class=\x22ck-suggestion-type\x22>','title','change','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','color','deletion','isTouching','attribute','createPositionBefore'];_0x1f3e=function(){return _0x5867b4;};return _0x1f3e();}export function getRangesOfBlockGroups(_0xc41fac,_0x4590e7){const _0x572686=_0x1ffe;let _0x201cf2,_0x487782=0x0;const _0x2ae1aa=[],_0x462afc=_0x4590e7[_0x572686(0x168)];for(;_0x487782<_0xc41fac[_0x572686(0x183)];){const _0x44cf65=_0xc41fac[_0x487782],_0x2895e9=_0xc41fac[_0x487782+0x1];_0x201cf2||(_0x201cf2=_0x4590e7[_0x572686(0x180)](_0x44cf65)),Zt(_0x4590e7,_0x44cf65,_0x2895e9)||(_0x2ae1aa[_0x572686(0x176)](_0x4590e7[_0x572686(0x174)](_0x201cf2,_0x462afc[_0x572686(0x156)](_0x44cf65)?_0x4590e7[_0x572686(0x157)](_0x44cf65):_0x4590e7[_0x572686(0x16e)](_0x44cf65,_0x572686(0x173)))),_0x201cf2=null),_0x487782++;}return _0x2ae1aa;}function Zt(_0x243595,_0x1ef403,_0x292ffc){const _0x12301=_0x1ffe;if(!_0x292ffc)return!0x1;const _0x53ae5b=_0x243595[_0x12301(0x157)](_0x1ef403),_0x59ab29=_0x243595[_0x12301(0x180)](_0x292ffc);return _0x53ae5b[_0x12301(0x17e)](_0x59ab29);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x59ea3f,_0x42bc77,_0x2190e1){const _0xb91d3f=_0x1ffe;for(;_0x2190e1[_0xb91d3f(0x183)];){const _0x6240cb=_0x2190e1[_0xb91d3f(0x16a)](0x0,0x64);_0x59ea3f[_0xb91d3f(0x17a)](()=>{const _0x43bcf0=_0xb91d3f;for(const _0x3f8b78 of _0x6240cb)_0x3f8b78[_0x43bcf0(0x166)]&&_0x42bc77[_0x43bcf0(0x158)](_0x3f8b78['id']);});}}
|