@ckeditor/ckeditor5-track-changes 43.1.0-alpha.6 → 43.1.0-alpha.8
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 +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.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/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.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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/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/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 +10 -10
- 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/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/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/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/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/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 +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.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/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/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/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x36c2(_0x38deb2,_0x28be94){const _0x12e1b3=_0x12e1();return _0x36c2=function(_0x36c21d,_0x297ea6){_0x36c21d=_0x36c21d-0x112;let _0x297350=_0x12e1b3[_0x36c21d];return _0x297350;},_0x36c2(_0x38deb2,_0x28be94);}const _0x408a10=_0x36c2;(function(_0x48fdb6,_0x2016da){const _0x407cf6=_0x36c2,_0x5d8229=_0x48fdb6();while(!![]){try{const _0x4d706e=-parseInt(_0x407cf6(0x125))/0x1+-parseInt(_0x407cf6(0x136))/0x2*(-parseInt(_0x407cf6(0x1a8))/0x3)+-parseInt(_0x407cf6(0x19e))/0x4+parseInt(_0x407cf6(0x17e))/0x5*(-parseInt(_0x407cf6(0x172))/0x6)+-parseInt(_0x407cf6(0x17f))/0x7+parseInt(_0x407cf6(0x166))/0x8+parseInt(_0x407cf6(0x178))/0x9*(parseInt(_0x407cf6(0x18c))/0xa);if(_0x4d706e===_0x2016da)break;else _0x5d8229['push'](_0x5d8229['shift']());}catch(_0x38da00){_0x5d8229['push'](_0x5d8229['shift']());}}}(_0x12e1,0x5ee39));import{Plugin as _0x1f3aac}from'ckeditor5/src/core.js';import{Collection as _0x35408b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x265471,createDropdown as _0x4b95c4,ListSeparatorView as _0x115eb3,MenuBarMenuView as _0x23f981,MenuBarMenuListView as _0x550d13,MenuBarMenuListItemView as _0x486766,MenuBarMenuListItemButtonView as _0x15f8bf,SplitButtonView as _0x1f3f8e,ViewModel as _0x592a26}from'ckeditor5/src/ui.js';import{Users as _0x2fe442,getDateTimeFormatter as _0x342854,getAllMarkersDomElementsSorted as _0x55a8d8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x12e1(){const _0x572db8=['locale','SuggestionThreadView','_annotationViews','Discard\x20all\x20selected\x20suggestions','activeAnnotations','_addUIComponentsToFactory','591094GjUwTk','value','isMultiRange','SuggestionView','requires','lowest','filter','pluginName','change:activeAnnotations','suggestionUnloaded','unbind','menuitemcheckbox','registerAnnotation','acceptSelectedSuggestions','descriptionFactory','config','define','394oPosDJ','_handleSuggestionControllerDelayed','button','has','comments.maxCommentsWhenCollapsed','createAnnotationView','menuBar:trackChanges','init','CommentView','discardButton','trackChanges.SuggestionThreadView','destroy','change:previous','_unbindEditors','Annotations','_createMenuBarMenu','_suggestionToController','Track\x20changes','keys','commentThread','view','buttonView','_bindAnnotationToEditors','size','children','isInContent','suggestionLoaded','bind','source','EditorAnnotations','activeMarkers','items','type','isOn','editor','_destroyController','toMany','getSuggestion','Accept\x20all\x20selected\x20suggestions','getRanges','comments','get','head','addComment','menu','listenTo','getMarkers','clear','3881016ioXOWS','comments.editorConfig','_disableComments','acceptButton','_updateController','_initializeController','discardSelectedSuggestions','getFirstRange','CommentsUI','acceptAllSuggestions','TrackChangesEditing','createCommentThreadController','6DbZmKD','plugins','separator','_handleControllerBuffer','previous','_createToolbarButton','20079ICFoce','getMarkerNames','reduce','getByInnerView','isDirty','_viewToController','164085LFOcFZ','5123636UjemVT','addSourceCollector','escape','isEnabled','fire','length','stopListening','trackChanges.disableComments','from','discardAllSuggestions','TrackChangesUI','menuitem','refreshSelectedViews','7180KEoTKP','commands','Accept\x20all\x20suggestions','trackChanges.SuggestionView','set','componentFactory','add','descriptionParts','actionView','suggestion-','delete','commandName','panelView','Discard\x20all\x20suggestions','remove','commentsListView','hasSuggestion','trackChanges','1761480mHBhZG','switchbutton','mainView','focus','suggestionView','innerView','some','editing','getAllAdjacentSuggestions','comments.maxThreadTotalWeight','1491rwyYDr','delegate','arrowView','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','model','suggestionChanged','push','values','execute','createAnnotation','getDescriptions','CommentsRepository','getJoined'];_0x12e1=function(){return _0x572db8;};return _0x12e1();}import _0x4f5da9 from'./trackchangesediting.js';import _0x2e5acb from'./ui/suggestioncontroller.js';import _0x71d159 from'./ui/view/suggestionthreadview.js';import _0x35bd85 from'./ui/view/suggestionview.js';import{getTranslation as _0x3f8acf}from'./utils/common-translations.js';import _0x146471 from'../theme/icons/track-changes.svg';export default class d extends _0x1f3aac{static get[_0x408a10(0x129)](){const _0x3e8ffb=_0x408a10;return[_0x4f5da9,_0x2fe442,_0x3e8ffb(0x11d),_0x3e8ffb(0x144),_0x3e8ffb(0x153)];}static get[_0x408a10(0x12c)](){const _0x73cac=_0x408a10;return _0x73cac(0x189);}constructor(_0x2e102c){const _0x1eea38=_0x408a10;super(_0x2e102c),this[_0x1eea38(0x146)]=new Map(),this[_0x1eea38(0x17d)]=new Map(),this[_0x1eea38(0x121)]=new Map(),this[_0x1eea38(0x175)]=new Map();const _0x5765bc=this[_0x1eea38(0x158)][_0x1eea38(0x134)];_0x5765bc[_0x1eea38(0x135)](_0x1eea38(0x140),_0x71d159),_0x5765bc[_0x1eea38(0x135)](_0x1eea38(0x18f),_0x35bd85),_0x5765bc[_0x1eea38(0x135)](_0x1eea38(0x186),!0x1),this[_0x1eea38(0x168)]=_0x5765bc[_0x1eea38(0x15f)](_0x1eea38(0x186));}[_0x408a10(0x137)](_0x3730d4,_0x1f048f){const _0x1d77e3=_0x408a10;0x0===this[_0x1d77e3(0x175)][_0x1d77e3(0x14d)]&&setTimeout(()=>{const _0x3117ca=_0x1d77e3;for(const [_0x3345f8,_0x59ea72]of this[_0x3117ca(0x175)]){const _0x1bc59c=this[_0x3117ca(0x146)][_0x3117ca(0x139)](_0x3345f8);_0x1bc59c||_0x59ea72?_0x1bc59c&&_0x59ea72&&this[_0x3117ca(0x159)](_0x3345f8):this[_0x3117ca(0x16b)](_0x3345f8);}this[_0x3117ca(0x175)][_0x3117ca(0x165)](),this[_0x3117ca(0x158)][_0x3117ca(0x173)][_0x3117ca(0x15f)](_0x3117ca(0x153))[_0x3117ca(0x18b)](),this[_0x3117ca(0x114)]();},0xa),this[_0x1d77e3(0x175)][_0x1d77e3(0x190)](_0x3730d4,_0x1f048f);}[_0x408a10(0x13d)](){const _0x2b823b=_0x408a10,_0x180e84=this[_0x2b823b(0x158)],_0x5070b8=_0x180e84[_0x2b823b(0x173)][_0x2b823b(0x15f)](_0x2b823b(0x170)),_0x166f36=_0x180e84[_0x2b823b(0x173)][_0x2b823b(0x15f)](_0x2b823b(0x144)),_0x248521=_0x180e84[_0x2b823b(0x173)][_0x2b823b(0x15f)](_0x2b823b(0x153)),_0x56b787=_0x180e84[_0x2b823b(0x173)][_0x2b823b(0x15f)](_0x2b823b(0x11d));this[_0x2b823b(0x124)](),_0x248521[_0x2b823b(0x180)](()=>{const _0x2e34aa=_0x2b823b,_0x2dc2bb=[];for(const [_0x37cdc8,_0x5f1895]of Array[_0x2e34aa(0x187)](this[_0x2e34aa(0x146)])){const _0x4b268e=_0x37cdc8[_0x2e34aa(0x1a6)](),_0x3339f3=[];for(const _0x4dab89 of _0x4b268e){if(!_0x4dab89[_0x2e34aa(0x14f)])continue;if(_0x4dab89[_0x2e34aa(0x127)]){_0x3339f3[_0x2e34aa(0x118)](..._0x4dab89[_0x2e34aa(0x15d)]());continue;}const _0x2f73c4=_0x4dab89[_0x2e34aa(0x16d)]();if(_0x3339f3[_0x2e34aa(0x184)]>0x0){const _0x7e8c20=_0x3339f3[0x0][_0x2e34aa(0x11e)](_0x2f73c4);if(_0x7e8c20){_0x3339f3[0x0]=_0x7e8c20;continue;}}_0x3339f3[_0x2e34aa(0x118)](_0x2f73c4);}_0x2dc2bb[_0x2e34aa(0x118)]([_0x5f1895[_0x2e34aa(0x14a)],_0x3339f3]);}return _0x2dc2bb;}),this[_0x2b823b(0x163)](_0x5070b8,_0x2b823b(0x150),(_0x2f4f01,_0xdb7820)=>{const _0x309683=_0x2b823b;this[_0x309683(0x163)](_0xdb7820,_0x309683(0x142),(_0x32d421,_0x22839a,_0x40c35f,_0x3b99b8)=>{const _0xdec188=_0x309683;_0xdb7820[_0xdec188(0x14f)]&&(null==_0x40c35f?(this[_0xdec188(0x16a)](_0x3b99b8[_0xdec188(0x160)]),this[_0xdec188(0x137)](_0xdb7820,!0x1)):(this[_0xdec188(0x16a)](_0x40c35f[_0xdec188(0x160)]),null==_0x3b99b8&&this[_0xdec188(0x137)](_0xdb7820,!0x0)));}),null!==_0xdb7820[_0x309683(0x176)]?this[_0x309683(0x16a)](_0xdb7820[_0x309683(0x160)]):this[_0x309683(0x137)](_0xdb7820,!0x1);}),this[_0x2b823b(0x163)](_0x5070b8,_0x2b823b(0x12e),(_0x3cdb94,_0x2aaaaf,_0x1c683b)=>{const _0xa53750=_0x2b823b;this[_0xa53750(0x185)](_0x2aaaaf,_0xa53750(0x142)),this[_0xa53750(0x175)][_0xa53750(0x196)](_0x2aaaaf),this[_0xa53750(0x146)][_0xa53750(0x139)](_0x2aaaaf)&&this[_0xa53750(0x159)](_0x2aaaaf),_0x1c683b&&this[_0xa53750(0x16a)](_0x1c683b[_0xa53750(0x160)]);}),this[_0x2b823b(0x163)](_0x5070b8,_0x2b823b(0x117),(_0x40ba7b,_0x261da1)=>{const _0x15ed24=_0x2b823b;this[_0x15ed24(0x16a)](_0x261da1);}),this[_0x2b823b(0x163)](_0x166f36,_0x2b823b(0x12d),()=>{const _0x82716d=_0x2b823b;this[_0x82716d(0x114)]();}),this[_0x2b823b(0x163)](_0x56b787,_0x2b823b(0x161),(_0x10d356,{threadId:_0x1eb441,isFromAdapter:_0x55f1e5})=>{const _0x58c5f7=_0x2b823b;if(_0x55f1e5||!_0x5070b8[_0x58c5f7(0x19c)](_0x1eb441))return;const _0x5dbcef=_0x5070b8[_0x58c5f7(0x15b)](_0x1eb441);this[_0x58c5f7(0x146)][_0x58c5f7(0x15f)](_0x5dbcef)[_0x58c5f7(0x14a)][_0x58c5f7(0x19b)][_0x58c5f7(0x1a1)](-0x1);},{'priority':_0x2b823b(0x12a)});}[_0x408a10(0x114)](){const _0x324bfd=_0x408a10,_0x4d70fa=this[_0x324bfd(0x158)][_0x324bfd(0x173)][_0x324bfd(0x15f)](_0x324bfd(0x144)),_0xc00d02=this[_0x324bfd(0x158)][_0x324bfd(0x173)][_0x324bfd(0x15f)](_0x324bfd(0x170)),_0x5cfea2=Array[_0x324bfd(0x187)](_0x4d70fa[_0x324bfd(0x123)],_0x376705=>_0x376705[_0x324bfd(0x1a3)])[_0x324bfd(0x12b)](_0x30c4a7=>this[_0x324bfd(0x17d)][_0x324bfd(0x139)](_0x30c4a7)),_0x59ae08=[];for(const _0xa0b3f1 of _0x5cfea2){const _0x1796ab=this[_0x324bfd(0x17d)][_0x324bfd(0x15f)](_0xa0b3f1)[_0x324bfd(0x116)][_0x324bfd(0x1a6)]();_0x59ae08[_0x324bfd(0x118)](..._0x1796ab[_0x324bfd(0x17a)]((_0x23101f,_0x2c9b65)=>[..._0x23101f,..._0x2c9b65[_0x324bfd(0x179)]()],[]));}_0xc00d02[_0x324bfd(0x154)]=_0x59ae08;}[_0x408a10(0x124)](){const _0x1914e4=_0x408a10,_0x2d2508=this[_0x1914e4(0x158)],_0x124644=_0x2d2508[_0x1914e4(0x11f)],_0x199122=_0x3f8acf(_0x124644,_0x1914e4(0x147)),_0x5398aa=new _0x35408b([{'type':_0x1914e4(0x19f),'model':new _0x592a26({'withText':!0x0,'isToggleable':!0x0,'label':_0x199122,'commandName':_0x1914e4(0x19d),'role':_0x1914e4(0x130)})},{'type':_0x1914e4(0x174)},{'type':_0x1914e4(0x138),'model':new _0x592a26({'withText':!0x0,'label':_0x3f8acf(_0x124644,_0x1914e4(0x18e)),'commandName':_0x1914e4(0x16f),'role':_0x1914e4(0x18a)})},{'type':_0x1914e4(0x138),'model':new _0x592a26({'withText':!0x0,'label':_0x3f8acf(_0x124644,_0x1914e4(0x15c)),'commandName':_0x1914e4(0x132),'role':_0x1914e4(0x18a)})},{'type':_0x1914e4(0x138),'model':new _0x592a26({'withText':!0x0,'label':_0x3f8acf(_0x124644,_0x1914e4(0x199)),'commandName':_0x1914e4(0x188),'role':_0x1914e4(0x18a)})},{'type':_0x1914e4(0x138),'model':new _0x592a26({'withText':!0x0,'label':_0x3f8acf(_0x124644,_0x1914e4(0x122)),'commandName':_0x1914e4(0x16c),'role':_0x1914e4(0x18a)})}]);for(const _0x4432de of _0x5398aa)if(me(_0x4432de)){const _0x155167=_0x2d2508[_0x1914e4(0x18d)][_0x1914e4(0x15f)](_0x4432de[_0x1914e4(0x116)][_0x1914e4(0x197)]);_0x4432de[_0x1914e4(0x116)][_0x1914e4(0x151)](_0x1914e4(0x157),_0x1914e4(0x182))['to'](_0x155167,_0x1914e4(0x126),_0x1914e4(0x182));}_0x2d2508['ui'][_0x1914e4(0x191)][_0x1914e4(0x192)](_0x1914e4(0x19d),_0x387cb6=>this[_0x1914e4(0x177)](_0x387cb6,_0x5398aa,_0x199122)),_0x2d2508['ui'][_0x1914e4(0x191)][_0x1914e4(0x192)](_0x1914e4(0x13c),_0x42a4d9=>this[_0x1914e4(0x145)](_0x42a4d9,_0x5398aa,_0x199122));}[_0x408a10(0x177)](_0x33e70a,_0x2f43bb,_0x587241){const _0x159a69=_0x408a10,_0x5dcdf4=_0x4b95c4(_0x33e70a,_0x1f3f8e),_0x7d6da9=this[_0x159a69(0x158)][_0x159a69(0x18d)][_0x159a69(0x15f)](_0x159a69(0x19d));_0x5dcdf4[_0x159a69(0x14b)][_0x159a69(0x190)]({'tooltip':_0x587241,'label':_0x587241,'icon':_0x146471}),_0x5dcdf4[_0x159a69(0x14b)][_0x159a69(0x151)](_0x159a69(0x157))['to'](_0x7d6da9,_0x159a69(0x126)),_0x5dcdf4[_0x159a69(0x14b)]['on'](_0x159a69(0x11a),()=>{const _0x4339e6=_0x159a69;_0x7d6da9[_0x4339e6(0x11a)](),this[_0x4339e6(0x158)][_0x4339e6(0x1a5)][_0x4339e6(0x14a)][_0x4339e6(0x1a1)]();}),_0x265471(_0x5dcdf4,_0x2f43bb,{'role':_0x159a69(0x162)});const _0x51a412=[];for(const _0x1545e4 of _0x2f43bb)me(_0x1545e4)&&_0x51a412[_0x159a69(0x118)](this[_0x159a69(0x158)][_0x159a69(0x18d)][_0x159a69(0x15f)](_0x1545e4[_0x159a69(0x116)][_0x159a69(0x197)]));const _0x28d629=_0x5dcdf4[_0x159a69(0x14b)];return _0x28d629[_0x159a69(0x194)][_0x159a69(0x12f)](_0x159a69(0x182)),_0x28d629[_0x159a69(0x113)][_0x159a69(0x12f)](_0x159a69(0x182)),_0x28d629[_0x159a69(0x194)][_0x159a69(0x151)](_0x159a69(0x182))['to'](_0x7d6da9,_0x159a69(0x182)),_0x28d629[_0x159a69(0x113)][_0x159a69(0x151)](_0x159a69(0x182))[_0x159a69(0x15a)](_0x51a412,_0x159a69(0x182),(..._0x645160)=>_0x645160[_0x159a69(0x1a4)](_0x31bc36=>_0x31bc36)),_0x5dcdf4['on'](_0x159a69(0x11a),_0x5412b5=>{const _0x2b030d=_0x159a69;this[_0x2b030d(0x158)][_0x2b030d(0x11a)](_0x5412b5[_0x2b030d(0x152)][_0x2b030d(0x197)]),this[_0x2b030d(0x158)][_0x2b030d(0x1a5)][_0x2b030d(0x14a)][_0x2b030d(0x1a1)]();}),_0x5dcdf4;}[_0x408a10(0x145)](_0x12caf6,_0x5b0739,_0x2cce34){const _0x24be73=_0x408a10,_0x4a5a8c=new _0x23f981(_0x12caf6),_0x420cdc=this[_0x24be73(0x158)][_0x24be73(0x18d)][_0x24be73(0x15f)](_0x24be73(0x19d));_0x4a5a8c[_0x24be73(0x14b)][_0x24be73(0x190)]({'label':_0x2cce34,'icon':_0x146471});const _0x58ae5c=new _0x550d13(_0x12caf6);for(const _0x2679c9 of _0x5b0739){if(_0x24be73(0x174)==_0x2679c9[_0x24be73(0x156)]){_0x58ae5c[_0x24be73(0x155)][_0x24be73(0x192)](new _0x115eb3(_0x12caf6));continue;}const _0x3d8276=new _0x486766(_0x12caf6,_0x4a5a8c),_0x9d1b5b=new _0x15f8bf(_0x12caf6),_0xa80bb5=_0x2679c9[_0x24be73(0x116)];_0x9d1b5b[_0x24be73(0x151)](...Object[_0x24be73(0x148)](_0xa80bb5))['to'](_0xa80bb5),_0x9d1b5b[_0x24be73(0x112)](_0x24be73(0x11a))['to'](_0x4a5a8c),_0x9d1b5b['on'](_0x24be73(0x11a),()=>{const _0x43e856=_0x24be73;this[_0x43e856(0x158)][_0x43e856(0x11a)](_0xa80bb5[_0x43e856(0x197)]),this[_0x43e856(0x158)][_0x43e856(0x1a5)][_0x43e856(0x14a)][_0x43e856(0x1a1)]();}),_0x3d8276[_0x24be73(0x14e)][_0x24be73(0x192)](_0x9d1b5b),_0x58ae5c[_0x24be73(0x155)][_0x24be73(0x192)](_0x3d8276);}return _0x4a5a8c[_0x24be73(0x151)](_0x24be73(0x182))['to'](_0x420cdc,_0x24be73(0x182)),_0x4a5a8c[_0x24be73(0x198)][_0x24be73(0x14e)][_0x24be73(0x192)](_0x58ae5c),_0x4a5a8c;}[_0x408a10(0x16b)](_0x1de762){const _0x4b6a34=_0x408a10,_0x5c1acb=this[_0x4b6a34(0x158)],_0x5b8f7c=_0x5c1acb[_0x4b6a34(0x134)],_0x335751=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x144)),_0x522332=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x11d)),_0x579c35=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x153)),_0x5246c1=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x2fe442)['me'],_0x1882bb=_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x19d))[_0x4b6a34(0x120)],_0x31bdf4=_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x19d))[_0x4b6a34(0x128)],{CommentsListView:_0x32d781,CommentThreadInputView:_0x62b06e}=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x16e));let _0xb87c43,_0x1634e6,_0x1a4b62;this[_0x4b6a34(0x121)][_0x4b6a34(0x139)](_0x1de762['id'])?(_0x1634e6=this[_0x4b6a34(0x121)][_0x4b6a34(0x15f)](_0x1de762['id']),_0xb87c43=_0x1634e6[_0x4b6a34(0x1a0)]):(_0xb87c43=new _0x1882bb(_0x5c1acb[_0x4b6a34(0x11f)],_0x1de762,_0x5246c1,{'disableComments':this[_0x4b6a34(0x168)],'editorConfig':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x167)),'maxCommentsWhenCollapsed':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x13a)),'maxThreadTotalWeight':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x1a7)),'maxCommentCharsWhenCollapsed':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x115)),'formatDateTime':_0x342854(_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x11f))),'CommentView':_0x5b8f7c[_0x4b6a34(0x15f)](_0x4b6a34(0x15e))[_0x4b6a34(0x13e)],'CommentsListView':_0x32d781,'CommentThreadInputView':_0x62b06e,'SuggestionView':_0x31bdf4}),_0xb87c43[_0x4b6a34(0x1a2)][_0x4b6a34(0x169)]['on'](_0x4b6a34(0x11a),()=>{const _0x495cef=_0x4b6a34;_0x5c1acb[_0x495cef(0x1a5)][_0x495cef(0x14a)][_0x495cef(0x1a1)]();}),_0xb87c43[_0x4b6a34(0x1a2)][_0x4b6a34(0x13f)]['on'](_0x4b6a34(0x11a),()=>{const _0xccc284=_0x4b6a34;_0x5c1acb[_0xccc284(0x1a5)][_0xccc284(0x14a)][_0xccc284(0x1a1)]();}),_0x1634e6=_0x335751[_0x4b6a34(0x13b)](this[_0x4b6a34(0x158)][_0x4b6a34(0x11f)],_0xb87c43),_0x1634e6[_0x4b6a34(0x151)](_0x4b6a34(0x17c))['to'](_0xb87c43,_0x4b6a34(0x17c)),_0x1634e6[_0x4b6a34(0x151)](_0x4b6a34(0x184))['to'](_0xb87c43),_0x1634e6[_0x4b6a34(0x151)](_0x4b6a34(0x156))['to'](_0xb87c43,_0x4b6a34(0x156),_0x405e90=>_0x4b6a34(0x195)+_0x405e90),_0xb87c43['on'](_0x4b6a34(0x181),()=>{const _0x53bcda=_0x4b6a34;_0x1a4b62[_0x53bcda(0x183)](_0x53bcda(0x181));}),this[_0x4b6a34(0x121)][_0x4b6a34(0x190)](_0x1de762['id'],_0x1634e6));const _0x59084c=_0x522332[_0x4b6a34(0x171)](_0x1de762[_0x4b6a34(0x149)],_0xb87c43),_0x1656ea=new _0x2e5acb(_0x5c1acb,_0x1de762,_0xb87c43,_0x59084c),_0x12b675=_0x1de762[_0x4b6a34(0x1a6)]()[_0x4b6a34(0x12b)](_0xf58c07=>_0xf58c07[_0x4b6a34(0x14f)]);_0xb87c43[_0x4b6a34(0x193)]=_0x5c1acb[_0x4b6a34(0x173)][_0x4b6a34(0x15f)](_0x4b6a34(0x170))[_0x4b6a34(0x133)][_0x4b6a34(0x11c)](_0x12b675),this[_0x4b6a34(0x146)][_0x4b6a34(0x190)](_0x1de762,_0x1656ea),this[_0x4b6a34(0x17d)][_0x4b6a34(0x190)](_0xb87c43,_0x1656ea),_0x1a4b62=_0x335751[_0x4b6a34(0x11b)]({'view':_0x1634e6,'target':()=>{const _0x41be70=_0x4b6a34,_0x5383f6=[],_0x503305=_0x1de762[_0x41be70(0x1a6)]()[_0x41be70(0x12b)](_0x1fcfbe=>_0x1fcfbe[_0x41be70(0x14f)]);for(const _0x11de4d of _0x503305)_0x5383f6[_0x41be70(0x118)](..._0x11de4d[_0x41be70(0x164)]());return _0x55a8d8(_0x5c1acb[_0x41be70(0x1a5)],_0x5383f6);},'type':()=>_0x4b6a34(0x195)+_0x1656ea[_0x4b6a34(0x14a)][_0x4b6a34(0x156)]}),_0x522332[_0x4b6a34(0x14c)](_0xb87c43,_0x1a4b62),_0x335751[_0x4b6a34(0x192)](_0x1a4b62),_0x579c35[_0x4b6a34(0x131)](_0x1a4b62);}[_0x408a10(0x159)](_0x663a90){const _0x5b0d31=_0x408a10,_0x1bb80e=this[_0x5b0d31(0x158)][_0x5b0d31(0x173)][_0x5b0d31(0x15f)](_0x5b0d31(0x11d)),_0x48aee6=this[_0x5b0d31(0x158)][_0x5b0d31(0x173)][_0x5b0d31(0x15f)](_0x5b0d31(0x144)),_0x159e75=this[_0x5b0d31(0x146)][_0x5b0d31(0x15f)](_0x663a90),_0x552d17=_0x159e75[_0x5b0d31(0x14a)],_0x4b53f8=_0x48aee6[_0x5b0d31(0x17b)](_0x552d17);_0x1bb80e[_0x5b0d31(0x143)](_0x552d17),_0x4b53f8&&_0x48aee6[_0x5b0d31(0x19a)](_0x4b53f8),this[_0x5b0d31(0x146)][_0x5b0d31(0x196)](_0x663a90),this[_0x5b0d31(0x17d)][_0x5b0d31(0x196)](_0x552d17),_0x159e75[_0x5b0d31(0x141)]();}[_0x408a10(0x16a)](_0x430588){const _0x327674=_0x408a10;if(!_0x430588[_0x327674(0x14f)]||!this[_0x327674(0x146)][_0x327674(0x139)](_0x430588))return;const _0x14f91c=this[_0x327674(0x158)][_0x327674(0x173)][_0x327674(0x15f)](_0x327674(0x170)),_0x31bbab=this[_0x327674(0x146)][_0x327674(0x15f)](_0x430588),_0x5d4834=_0x430588[_0x327674(0x1a6)]();_0x31bbab[_0x327674(0x14a)][_0x327674(0x193)]=_0x14f91c[_0x327674(0x133)][_0x327674(0x11c)](_0x5d4834);}[_0x408a10(0x141)](){const _0x230553=_0x408a10;for(const _0x39e6e6 of this[_0x230553(0x146)][_0x230553(0x148)]())this[_0x230553(0x159)](_0x39e6e6);for(const _0x3efc1d of this[_0x230553(0x121)][_0x230553(0x119)]())_0x3efc1d[_0x230553(0x1a0)][_0x230553(0x141)]();super[_0x230553(0x141)]();}}function me(_0x584fb0){const _0x336e7a=_0x408a10;return _0x336e7a(0x116)in _0x584fb0;}
|
|
23
|
+
const _0x30631d=_0x3263;(function(_0x26e304,_0x2d9fb0){const _0xdbdb12=_0x3263,_0x3f5cfe=_0x26e304();while(!![]){try{const _0x8c98b1=-parseInt(_0xdbdb12(0xee))/0x1*(parseInt(_0xdbdb12(0x13a))/0x2)+parseInt(_0xdbdb12(0x156))/0x3+parseInt(_0xdbdb12(0xed))/0x4+parseInt(_0xdbdb12(0xfe))/0x5+-parseInt(_0xdbdb12(0xf8))/0x6+-parseInt(_0xdbdb12(0x109))/0x7*(parseInt(_0xdbdb12(0x150))/0x8)+parseInt(_0xdbdb12(0x116))/0x9*(parseInt(_0xdbdb12(0x149))/0xa);if(_0x8c98b1===_0x2d9fb0)break;else _0x3f5cfe['push'](_0x3f5cfe['shift']());}catch(_0x39f5bb){_0x3f5cfe['push'](_0x3f5cfe['shift']());}}}(_0x134b,0x26d30));import{Plugin as _0x19ac8d}from'ckeditor5/src/core.js';function _0x134b(){const _0x2a962b=['1750600EIdyzy','unbind','commentThread','_annotationViews','isEnabled','descriptionFactory','_refreshActiveMarkers','108392lhRJYR','_createMenuBarMenu','comments.maxThreadTotalWeight','plugins','_addUIComponentsToFactory','length','796464IciINs','suggestionUnloaded','_destroyController','locale','commands','descriptionParts','addComment','getFirstRange','menuitemcheckbox','push','escape','refreshSelectedViews','CommentsUI','_viewToController','getMarkers','from','menuitem','suggestion-','acceptSelectedSuggestions','head','Discard\x20all\x20suggestions','bind','CommentView','trackChanges.disableComments','_createToolbarButton','clear','previous','_handleSuggestionControllerDelayed','pluginName','editor','view','SuggestionThreadView','TrackChangesUI','source','suggestionChanged','suggestionLoaded','actionView','delegate','execute','componentFactory','registerAnnotation','TrackChangesEditing','getJoined','change:activeAnnotations','addSourceCollector','commentsListView','480460LmZOqD','13JVPCgA','mainView','stopListening','trackChanges.SuggestionView','EditorAnnotations','define','commandName','items','arrowView','editing','619764ZpGLQY','createCommentThreadController','_disableComments','comments.editorConfig','separator','menu','682860aTXMGe','CommentsRepository','Accept\x20all\x20selected\x20suggestions','value','Annotations','_initializeController','Accept\x20all\x20suggestions','suggestionView','buttonView','_unbindEditors','getAllAdjacentSuggestions','126xvnjwk','requires','getMarkerNames','panelView','acceptAllSuggestions','button','set','filter','_updateController','children','trackChanges','isOn','getRanges','9RButzh','SuggestionView','isMultiRange','keys','fire','_handleControllerBuffer','hasSuggestion','activeMarkers','values','getSuggestion','innerView','getDescriptions','type','toMany','model','Discard\x20all\x20selected\x20suggestions','config','Track\x20changes','switchbutton','change:previous','add','_suggestionToController','reduce','comments.maxCommentCharsWhenCollapsed','getByInnerView','delete','_bindAnnotationToEditors','trackChanges.SuggestionThreadView','menuBar:trackChanges','createAnnotation','destroy','discardAllSuggestions','comments','lowest','createAnnotationView','remove','29390dvleFE','some','acceptButton','discardButton','init','comments.maxCommentsWhenCollapsed','get','size','listenTo','activeAnnotations','isDirty','focus','has','discardSelectedSuggestions','isInContent'];_0x134b=function(){return _0x2a962b;};return _0x134b();}import{Collection as _0xe42142}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3f4c1c,createDropdown as _0x2cbefa,ListSeparatorView as _0x129f91,MenuBarMenuView as _0x12f889,MenuBarMenuListView as _0x183d6f,MenuBarMenuListItemView as _0x13c872,MenuBarMenuListItemButtonView as _0x1b7287,SplitButtonView as _0xde6a7e,ViewModel as _0x25d393}from'ckeditor5/src/ui.js';import{Users as _0x1aa249,getDateTimeFormatter as _0x2d7543,getAllMarkersDomElementsSorted as _0x41648b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3263(_0x1adc9f,_0x4c1696){const _0x134ba0=_0x134b();return _0x3263=function(_0x326334,_0x335933){_0x326334=_0x326334-0xed;let _0x3a2137=_0x134ba0[_0x326334];return _0x3a2137;},_0x3263(_0x1adc9f,_0x4c1696);}import _0x3e20bf from'./trackchangesediting.js';import _0x2930d3 from'./ui/suggestioncontroller.js';import _0x546467 from'./ui/view/suggestionthreadview.js';import _0x2f7bb8 from'./ui/view/suggestionview.js';import{getTranslation as _0x2ec42b}from'./utils/common-translations.js';import _0x786244 from'../theme/icons/track-changes.svg';export default class d extends _0x19ac8d{static get[_0x30631d(0x10a)](){const _0x762877=_0x30631d;return[_0x3e20bf,_0x1aa249,_0x762877(0xff),_0x762877(0x102),_0x762877(0xf2)];}static get[_0x30631d(0x172)](){const _0x1bf756=_0x30631d;return _0x1bf756(0x176);}constructor(_0x14dfa6){const _0x31d398=_0x30631d;super(_0x14dfa6),this[_0x31d398(0x12b)]=new Map(),this[_0x31d398(0x163)]=new Map(),this[_0x31d398(0x14c)]=new Map(),this[_0x31d398(0x11b)]=new Map();const _0x5e53d8=this[_0x31d398(0x173)][_0x31d398(0x126)];_0x5e53d8[_0x31d398(0xf3)](_0x31d398(0x131),_0x546467),_0x5e53d8[_0x31d398(0xf3)](_0x31d398(0xf1),_0x2f7bb8),_0x5e53d8[_0x31d398(0xf3)](_0x31d398(0x16d),!0x1),this[_0x31d398(0xfa)]=_0x5e53d8[_0x31d398(0x140)](_0x31d398(0x16d));}[_0x30631d(0x171)](_0xc02a4e,_0x3fb62e){const _0x51a257=_0x30631d;0x0===this[_0x51a257(0x11b)][_0x51a257(0x141)]&&setTimeout(()=>{const _0x509914=_0x51a257;for(const [_0x16e9e6,_0x1da776]of this[_0x509914(0x11b)]){const _0x374fc2=this[_0x509914(0x12b)][_0x509914(0x146)](_0x16e9e6);_0x374fc2||_0x1da776?_0x374fc2&&_0x1da776&&this[_0x509914(0x158)](_0x16e9e6):this[_0x509914(0x103)](_0x16e9e6);}this[_0x509914(0x11b)][_0x509914(0x16f)](),this[_0x509914(0x173)][_0x509914(0x153)][_0x509914(0x140)](_0x509914(0xf2))[_0x509914(0x161)](),this[_0x509914(0x14f)]();},0xa),this[_0x51a257(0x11b)][_0x51a257(0x10f)](_0xc02a4e,_0x3fb62e);}[_0x30631d(0x13e)](){const _0x6468cd=_0x30631d,_0x3d73f8=this[_0x6468cd(0x173)],_0x46c4f3=_0x3d73f8[_0x6468cd(0x153)][_0x6468cd(0x140)](_0x6468cd(0x17f)),_0x36138f=_0x3d73f8[_0x6468cd(0x153)][_0x6468cd(0x140)](_0x6468cd(0x102)),_0x39684f=_0x3d73f8[_0x6468cd(0x153)][_0x6468cd(0x140)](_0x6468cd(0xf2)),_0xc6dfb=_0x3d73f8[_0x6468cd(0x153)][_0x6468cd(0x140)](_0x6468cd(0xff));this[_0x6468cd(0x154)](),_0x39684f[_0x6468cd(0x182)](()=>{const _0x4be764=_0x6468cd,_0x1b99aa=[];for(const [_0x5daa81,_0x286f86]of Array[_0x4be764(0x165)](this[_0x4be764(0x12b)])){const _0x5292f5=_0x5daa81[_0x4be764(0x108)](),_0xe27ce=[];for(const _0x481efd of _0x5292f5){if(!_0x481efd[_0x4be764(0x148)])continue;if(_0x481efd[_0x4be764(0x118)]){_0xe27ce[_0x4be764(0x15f)](..._0x481efd[_0x4be764(0x115)]());continue;}const _0x4cfbbc=_0x481efd[_0x4be764(0x15d)]();if(_0xe27ce[_0x4be764(0x155)]>0x0){const _0x42b7ac=_0xe27ce[0x0][_0x4be764(0x180)](_0x4cfbbc);if(_0x42b7ac){_0xe27ce[0x0]=_0x42b7ac;continue;}}_0xe27ce[_0x4be764(0x15f)](_0x4cfbbc);}_0x1b99aa[_0x4be764(0x15f)]([_0x286f86[_0x4be764(0x174)],_0xe27ce]);}return _0x1b99aa;}),this[_0x6468cd(0x142)](_0x46c4f3,_0x6468cd(0x179),(_0x3bea48,_0x3ff988)=>{const _0x479ee7=_0x6468cd;this[_0x479ee7(0x142)](_0x3ff988,_0x479ee7(0x129),(_0xac9009,_0x2c53c9,_0x273712,_0x20f22f)=>{const _0x23f78b=_0x479ee7;_0x3ff988[_0x23f78b(0x148)]&&(null==_0x273712?(this[_0x23f78b(0x111)](_0x20f22f[_0x23f78b(0x169)]),this[_0x23f78b(0x171)](_0x3ff988,!0x1)):(this[_0x23f78b(0x111)](_0x273712[_0x23f78b(0x169)]),null==_0x20f22f&&this[_0x23f78b(0x171)](_0x3ff988,!0x0)));}),null!==_0x3ff988[_0x479ee7(0x170)]?this[_0x479ee7(0x111)](_0x3ff988[_0x479ee7(0x169)]):this[_0x479ee7(0x171)](_0x3ff988,!0x1);}),this[_0x6468cd(0x142)](_0x46c4f3,_0x6468cd(0x157),(_0x43b66b,_0x2a1f6c,_0x9440d2)=>{const _0x59b643=_0x6468cd;this[_0x59b643(0xf0)](_0x2a1f6c,_0x59b643(0x129)),this[_0x59b643(0x11b)][_0x59b643(0x12f)](_0x2a1f6c),this[_0x59b643(0x12b)][_0x59b643(0x146)](_0x2a1f6c)&&this[_0x59b643(0x158)](_0x2a1f6c),_0x9440d2&&this[_0x59b643(0x111)](_0x9440d2[_0x59b643(0x169)]);}),this[_0x6468cd(0x142)](_0x46c4f3,_0x6468cd(0x178),(_0x31a395,_0x320922)=>{const _0x113582=_0x6468cd;this[_0x113582(0x111)](_0x320922);}),this[_0x6468cd(0x142)](_0x36138f,_0x6468cd(0x181),()=>{const _0x18a8ac=_0x6468cd;this[_0x18a8ac(0x14f)]();}),this[_0x6468cd(0x142)](_0xc6dfb,_0x6468cd(0x15c),(_0x1ddd98,{threadId:_0x6f7234,isFromAdapter:_0x1a431c})=>{const _0x36284d=_0x6468cd;if(_0x1a431c||!_0x46c4f3[_0x36284d(0x11c)](_0x6f7234))return;const _0x38c5d8=_0x46c4f3[_0x36284d(0x11f)](_0x6f7234);this[_0x36284d(0x12b)][_0x36284d(0x140)](_0x38c5d8)[_0x36284d(0x174)][_0x36284d(0x183)][_0x36284d(0x145)](-0x1);},{'priority':_0x6468cd(0x137)});}[_0x30631d(0x14f)](){const _0x274003=_0x30631d,_0x1e66f8=this[_0x274003(0x173)][_0x274003(0x153)][_0x274003(0x140)](_0x274003(0x102)),_0x490a59=this[_0x274003(0x173)][_0x274003(0x153)][_0x274003(0x140)](_0x274003(0x17f)),_0x4110f8=Array[_0x274003(0x165)](_0x1e66f8[_0x274003(0x143)],_0x3a4574=>_0x3a4574[_0x274003(0x120)])[_0x274003(0x110)](_0x3536b3=>this[_0x274003(0x163)][_0x274003(0x146)](_0x3536b3)),_0x28c2fc=[];for(const _0x1dffd2 of _0x4110f8){const _0x5c21a2=this[_0x274003(0x163)][_0x274003(0x140)](_0x1dffd2)[_0x274003(0x124)][_0x274003(0x108)]();_0x28c2fc[_0x274003(0x15f)](..._0x5c21a2[_0x274003(0x12c)]((_0x9c9743,_0x34f8f8)=>[..._0x9c9743,..._0x34f8f8[_0x274003(0x10b)]()],[]));}_0x490a59[_0x274003(0x11d)]=_0x28c2fc;}[_0x30631d(0x154)](){const _0x568ba8=_0x30631d,_0x1c810b=this[_0x568ba8(0x173)],_0x2d70a4=_0x1c810b[_0x568ba8(0x159)],_0x35212f=_0x2ec42b(_0x2d70a4,_0x568ba8(0x127)),_0x470dde=new _0xe42142([{'type':_0x568ba8(0x128),'model':new _0x25d393({'withText':!0x0,'isToggleable':!0x0,'label':_0x35212f,'commandName':_0x568ba8(0x113),'role':_0x568ba8(0x15e)})},{'type':_0x568ba8(0xfc)},{'type':_0x568ba8(0x10e),'model':new _0x25d393({'withText':!0x0,'label':_0x2ec42b(_0x2d70a4,_0x568ba8(0x104)),'commandName':_0x568ba8(0x10d),'role':_0x568ba8(0x166)})},{'type':_0x568ba8(0x10e),'model':new _0x25d393({'withText':!0x0,'label':_0x2ec42b(_0x2d70a4,_0x568ba8(0x100)),'commandName':_0x568ba8(0x168),'role':_0x568ba8(0x166)})},{'type':_0x568ba8(0x10e),'model':new _0x25d393({'withText':!0x0,'label':_0x2ec42b(_0x2d70a4,_0x568ba8(0x16a)),'commandName':_0x568ba8(0x135),'role':_0x568ba8(0x166)})},{'type':_0x568ba8(0x10e),'model':new _0x25d393({'withText':!0x0,'label':_0x2ec42b(_0x2d70a4,_0x568ba8(0x125)),'commandName':_0x568ba8(0x147),'role':_0x568ba8(0x166)})}]);for(const _0x587bdf of _0x470dde)if(me(_0x587bdf)){const _0x569852=_0x1c810b[_0x568ba8(0x15a)][_0x568ba8(0x140)](_0x587bdf[_0x568ba8(0x124)][_0x568ba8(0xf4)]);_0x587bdf[_0x568ba8(0x124)][_0x568ba8(0x16b)](_0x568ba8(0x114),_0x568ba8(0x14d))['to'](_0x569852,_0x568ba8(0x101),_0x568ba8(0x14d));}_0x1c810b['ui'][_0x568ba8(0x17d)][_0x568ba8(0x12a)](_0x568ba8(0x113),_0x50d50f=>this[_0x568ba8(0x16e)](_0x50d50f,_0x470dde,_0x35212f)),_0x1c810b['ui'][_0x568ba8(0x17d)][_0x568ba8(0x12a)](_0x568ba8(0x132),_0x50408d=>this[_0x568ba8(0x151)](_0x50408d,_0x470dde,_0x35212f));}[_0x30631d(0x16e)](_0x4e0826,_0x562bc7,_0x1b81a0){const _0x5ceeb8=_0x30631d,_0x2f71ea=_0x2cbefa(_0x4e0826,_0xde6a7e),_0x38115f=this[_0x5ceeb8(0x173)][_0x5ceeb8(0x15a)][_0x5ceeb8(0x140)](_0x5ceeb8(0x113));_0x2f71ea[_0x5ceeb8(0x106)][_0x5ceeb8(0x10f)]({'tooltip':_0x1b81a0,'label':_0x1b81a0,'icon':_0x786244}),_0x2f71ea[_0x5ceeb8(0x106)][_0x5ceeb8(0x16b)](_0x5ceeb8(0x114))['to'](_0x38115f,_0x5ceeb8(0x101)),_0x2f71ea[_0x5ceeb8(0x106)]['on'](_0x5ceeb8(0x17c),()=>{const _0x5b0294=_0x5ceeb8;_0x38115f[_0x5b0294(0x17c)](),this[_0x5b0294(0x173)][_0x5b0294(0xf7)][_0x5b0294(0x174)][_0x5b0294(0x145)]();}),_0x3f4c1c(_0x2f71ea,_0x562bc7,{'role':_0x5ceeb8(0xfd)});const _0x59ab6a=[];for(const _0x3f2894 of _0x562bc7)me(_0x3f2894)&&_0x59ab6a[_0x5ceeb8(0x15f)](this[_0x5ceeb8(0x173)][_0x5ceeb8(0x15a)][_0x5ceeb8(0x140)](_0x3f2894[_0x5ceeb8(0x124)][_0x5ceeb8(0xf4)]));const _0xe6942d=_0x2f71ea[_0x5ceeb8(0x106)];return _0xe6942d[_0x5ceeb8(0x17a)][_0x5ceeb8(0x14a)](_0x5ceeb8(0x14d)),_0xe6942d[_0x5ceeb8(0xf6)][_0x5ceeb8(0x14a)](_0x5ceeb8(0x14d)),_0xe6942d[_0x5ceeb8(0x17a)][_0x5ceeb8(0x16b)](_0x5ceeb8(0x14d))['to'](_0x38115f,_0x5ceeb8(0x14d)),_0xe6942d[_0x5ceeb8(0xf6)][_0x5ceeb8(0x16b)](_0x5ceeb8(0x14d))[_0x5ceeb8(0x123)](_0x59ab6a,_0x5ceeb8(0x14d),(..._0x287d6e)=>_0x287d6e[_0x5ceeb8(0x13b)](_0x305122=>_0x305122)),_0x2f71ea['on'](_0x5ceeb8(0x17c),_0x34f343=>{const _0x49ff04=_0x5ceeb8;this[_0x49ff04(0x173)][_0x49ff04(0x17c)](_0x34f343[_0x49ff04(0x177)][_0x49ff04(0xf4)]),this[_0x49ff04(0x173)][_0x49ff04(0xf7)][_0x49ff04(0x174)][_0x49ff04(0x145)]();}),_0x2f71ea;}[_0x30631d(0x151)](_0x1dfa1c,_0x314b1a,_0x1da9fa){const _0x2d0ad4=_0x30631d,_0x5b9cdd=new _0x12f889(_0x1dfa1c),_0x5782c0=this[_0x2d0ad4(0x173)][_0x2d0ad4(0x15a)][_0x2d0ad4(0x140)](_0x2d0ad4(0x113));_0x5b9cdd[_0x2d0ad4(0x106)][_0x2d0ad4(0x10f)]({'label':_0x1da9fa,'icon':_0x786244});const _0x1cae48=new _0x183d6f(_0x1dfa1c);for(const _0x4f999a of _0x314b1a){if(_0x2d0ad4(0xfc)==_0x4f999a[_0x2d0ad4(0x122)]){_0x1cae48[_0x2d0ad4(0xf5)][_0x2d0ad4(0x12a)](new _0x129f91(_0x1dfa1c));continue;}const _0x49a87c=new _0x13c872(_0x1dfa1c,_0x5b9cdd),_0x1101bc=new _0x1b7287(_0x1dfa1c),_0x17acd4=_0x4f999a[_0x2d0ad4(0x124)];_0x1101bc[_0x2d0ad4(0x16b)](...Object[_0x2d0ad4(0x119)](_0x17acd4))['to'](_0x17acd4),_0x1101bc[_0x2d0ad4(0x17b)](_0x2d0ad4(0x17c))['to'](_0x5b9cdd),_0x1101bc['on'](_0x2d0ad4(0x17c),()=>{const _0x487789=_0x2d0ad4;this[_0x487789(0x173)][_0x487789(0x17c)](_0x17acd4[_0x487789(0xf4)]),this[_0x487789(0x173)][_0x487789(0xf7)][_0x487789(0x174)][_0x487789(0x145)]();}),_0x49a87c[_0x2d0ad4(0x112)][_0x2d0ad4(0x12a)](_0x1101bc),_0x1cae48[_0x2d0ad4(0xf5)][_0x2d0ad4(0x12a)](_0x49a87c);}return _0x5b9cdd[_0x2d0ad4(0x16b)](_0x2d0ad4(0x14d))['to'](_0x5782c0,_0x2d0ad4(0x14d)),_0x5b9cdd[_0x2d0ad4(0x10c)][_0x2d0ad4(0x112)][_0x2d0ad4(0x12a)](_0x1cae48),_0x5b9cdd;}[_0x30631d(0x103)](_0x5d161d){const _0xd9adf0=_0x30631d,_0x10cb4f=this[_0xd9adf0(0x173)],_0x24fa6a=_0x10cb4f[_0xd9adf0(0x126)],_0xf41502=_0x10cb4f[_0xd9adf0(0x153)][_0xd9adf0(0x140)](_0xd9adf0(0x102)),_0x5e6268=_0x10cb4f[_0xd9adf0(0x153)][_0xd9adf0(0x140)](_0xd9adf0(0xff)),_0x1d1c57=_0x10cb4f[_0xd9adf0(0x153)][_0xd9adf0(0x140)](_0xd9adf0(0xf2)),_0x413072=_0x10cb4f[_0xd9adf0(0x153)][_0xd9adf0(0x140)](_0x1aa249)['me'],_0x3d17c9=_0x24fa6a[_0xd9adf0(0x140)](_0xd9adf0(0x113))[_0xd9adf0(0x175)],_0x1c1c6f=_0x24fa6a[_0xd9adf0(0x140)](_0xd9adf0(0x113))[_0xd9adf0(0x117)],{CommentsListView:_0x37db5e,CommentThreadInputView:_0x3056c7}=_0x10cb4f[_0xd9adf0(0x153)][_0xd9adf0(0x140)](_0xd9adf0(0x162));let _0x280dbd,_0x57e49e,_0x2ea074;this[_0xd9adf0(0x14c)][_0xd9adf0(0x146)](_0x5d161d['id'])?(_0x57e49e=this[_0xd9adf0(0x14c)][_0xd9adf0(0x140)](_0x5d161d['id']),_0x280dbd=_0x57e49e[_0xd9adf0(0xef)]):(_0x280dbd=new _0x3d17c9(_0x10cb4f[_0xd9adf0(0x159)],_0x5d161d,_0x413072,{'disableComments':this[_0xd9adf0(0xfa)],'editorConfig':_0x24fa6a[_0xd9adf0(0x140)](_0xd9adf0(0xfb)),'maxCommentsWhenCollapsed':_0x24fa6a[_0xd9adf0(0x140)](_0xd9adf0(0x13f)),'maxThreadTotalWeight':_0x24fa6a[_0xd9adf0(0x140)](_0xd9adf0(0x152)),'maxCommentCharsWhenCollapsed':_0x24fa6a[_0xd9adf0(0x140)](_0xd9adf0(0x12d)),'formatDateTime':_0x2d7543(_0x24fa6a[_0xd9adf0(0x140)](_0xd9adf0(0x159))),'CommentView':_0x24fa6a[_0xd9adf0(0x140)](_0xd9adf0(0x136))[_0xd9adf0(0x16c)],'CommentsListView':_0x37db5e,'CommentThreadInputView':_0x3056c7,'SuggestionView':_0x1c1c6f}),_0x280dbd[_0xd9adf0(0x105)][_0xd9adf0(0x13c)]['on'](_0xd9adf0(0x17c),()=>{const _0x5a4a51=_0xd9adf0;_0x10cb4f[_0x5a4a51(0xf7)][_0x5a4a51(0x174)][_0x5a4a51(0x145)]();}),_0x280dbd[_0xd9adf0(0x105)][_0xd9adf0(0x13d)]['on'](_0xd9adf0(0x17c),()=>{const _0x4b456c=_0xd9adf0;_0x10cb4f[_0x4b456c(0xf7)][_0x4b456c(0x174)][_0x4b456c(0x145)]();}),_0x57e49e=_0xf41502[_0xd9adf0(0x138)](this[_0xd9adf0(0x173)][_0xd9adf0(0x159)],_0x280dbd),_0x57e49e[_0xd9adf0(0x16b)](_0xd9adf0(0x144))['to'](_0x280dbd,_0xd9adf0(0x144)),_0x57e49e[_0xd9adf0(0x16b)](_0xd9adf0(0x155))['to'](_0x280dbd),_0x57e49e[_0xd9adf0(0x16b)](_0xd9adf0(0x122))['to'](_0x280dbd,_0xd9adf0(0x122),_0xb70fd5=>_0xd9adf0(0x167)+_0xb70fd5),_0x280dbd['on'](_0xd9adf0(0x160),()=>{const _0x29dbc1=_0xd9adf0;_0x2ea074[_0x29dbc1(0x11a)](_0x29dbc1(0x160));}),this[_0xd9adf0(0x14c)][_0xd9adf0(0x10f)](_0x5d161d['id'],_0x57e49e));const _0x31b1da=_0x5e6268[_0xd9adf0(0xf9)](_0x5d161d[_0xd9adf0(0x14b)],_0x280dbd),_0x14b0d7=new _0x2930d3(_0x10cb4f,_0x5d161d,_0x280dbd,_0x31b1da),_0x1a920c=_0x5d161d[_0xd9adf0(0x108)]()[_0xd9adf0(0x110)](_0x370009=>_0x370009[_0xd9adf0(0x148)]);_0x280dbd[_0xd9adf0(0x15b)]=_0x10cb4f[_0xd9adf0(0x153)][_0xd9adf0(0x140)](_0xd9adf0(0x17f))[_0xd9adf0(0x14e)][_0xd9adf0(0x121)](_0x1a920c),this[_0xd9adf0(0x12b)][_0xd9adf0(0x10f)](_0x5d161d,_0x14b0d7),this[_0xd9adf0(0x163)][_0xd9adf0(0x10f)](_0x280dbd,_0x14b0d7),_0x2ea074=_0xf41502[_0xd9adf0(0x133)]({'view':_0x57e49e,'target':()=>{const _0x26d6d7=_0xd9adf0,_0x5c9db9=[],_0x1a29fb=_0x5d161d[_0x26d6d7(0x108)]()[_0x26d6d7(0x110)](_0x4b21ed=>_0x4b21ed[_0x26d6d7(0x148)]);for(const _0x4a6214 of _0x1a29fb)_0x5c9db9[_0x26d6d7(0x15f)](..._0x4a6214[_0x26d6d7(0x164)]());return _0x41648b(_0x10cb4f[_0x26d6d7(0xf7)],_0x5c9db9);},'type':()=>_0xd9adf0(0x167)+_0x14b0d7[_0xd9adf0(0x174)][_0xd9adf0(0x122)]}),_0x5e6268[_0xd9adf0(0x130)](_0x280dbd,_0x2ea074),_0xf41502[_0xd9adf0(0x12a)](_0x2ea074),_0x1d1c57[_0xd9adf0(0x17e)](_0x2ea074);}[_0x30631d(0x158)](_0x476d8a){const _0xfb26a3=_0x30631d,_0x20e6bd=this[_0xfb26a3(0x173)][_0xfb26a3(0x153)][_0xfb26a3(0x140)](_0xfb26a3(0xff)),_0x3f36ff=this[_0xfb26a3(0x173)][_0xfb26a3(0x153)][_0xfb26a3(0x140)](_0xfb26a3(0x102)),_0x32eae0=this[_0xfb26a3(0x12b)][_0xfb26a3(0x140)](_0x476d8a),_0x1dd830=_0x32eae0[_0xfb26a3(0x174)],_0x5890f1=_0x3f36ff[_0xfb26a3(0x12e)](_0x1dd830);_0x20e6bd[_0xfb26a3(0x107)](_0x1dd830),_0x5890f1&&_0x3f36ff[_0xfb26a3(0x139)](_0x5890f1),this[_0xfb26a3(0x12b)][_0xfb26a3(0x12f)](_0x476d8a),this[_0xfb26a3(0x163)][_0xfb26a3(0x12f)](_0x1dd830),_0x32eae0[_0xfb26a3(0x134)]();}[_0x30631d(0x111)](_0x516f4b){const _0x562bc8=_0x30631d;if(!_0x516f4b[_0x562bc8(0x148)]||!this[_0x562bc8(0x12b)][_0x562bc8(0x146)](_0x516f4b))return;const _0x1f6538=this[_0x562bc8(0x173)][_0x562bc8(0x153)][_0x562bc8(0x140)](_0x562bc8(0x17f)),_0xa5f37a=this[_0x562bc8(0x12b)][_0x562bc8(0x140)](_0x516f4b),_0x131ed1=_0x516f4b[_0x562bc8(0x108)]();_0xa5f37a[_0x562bc8(0x174)][_0x562bc8(0x15b)]=_0x1f6538[_0x562bc8(0x14e)][_0x562bc8(0x121)](_0x131ed1);}[_0x30631d(0x134)](){const _0x310a62=_0x30631d;for(const _0x3e674c of this[_0x310a62(0x12b)][_0x310a62(0x119)]())this[_0x310a62(0x158)](_0x3e674c);for(const _0x49e2ec of this[_0x310a62(0x14c)][_0x310a62(0x11e)]())_0x49e2ec[_0x310a62(0xef)][_0x310a62(0x134)]();super[_0x310a62(0x134)]();}}function me(_0x1386df){const _0x1ed987=_0x30631d;return _0x1ed987(0x124)in _0x1386df;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2181(){const _0x5de4de=['1989404BzvPTU','destroy','6014617HvssFI','commands','canAccept','view','unbind','plugins','PendingActions','commentThreadController','acceptSuggestion','8tKrbYz','isDirty','get','PENDING_ACTION_SUGGESTION','_discardCommand','getRanges','canEditAt','execute','776748RTUNSK','_pendingAction','remove','listenTo','discardSuggestion','isEnabled','add','858426qZeLdH','canDiscard','15fbnJPj','stopListening','locale','_editor','_acceptCommand','_setPendingAction','model','bind','5357502DJLyoV','657356JIRtuS','919822TewQno','change:isDirty','_removePendingAction'];_0x2181=function(){return _0x5de4de;};return _0x2181();}const _0x2fb24b=_0x5b46;(function(_0x2f44f4,_0x44e929){const _0xddd481=_0x5b46,_0x4c9caf=_0x2f44f4();while(!![]){try{const _0x362530=-parseInt(_0xddd481(0xd5))/0x1+-parseInt(_0xddd481(0xd4))/0x2+parseInt(_0xddd481(0xc2))/0x3+parseInt(_0xddd481(0xd8))/0x4+-parseInt(_0xddd481(0xcb))/0x5*(parseInt(_0xddd481(0xc9))/0x6)+parseInt(_0xddd481(0xb1))/0x7*(parseInt(_0xddd481(0xba))/0x8)+parseInt(_0xddd481(0xd3))/0x9;if(_0x362530===_0x44e929)break;else _0x4c9caf['push'](_0x4c9caf['shift']());}catch(_0xacb388){_0x4c9caf['push'](_0x4c9caf['shift']());}}}(_0x2181,0x82247));function _0x5b46(_0x257cab,_0x2f846a){const _0x21812c=_0x2181();return _0x5b46=function(_0x5b46ff,_0x487fdb){_0x5b46ff=_0x5b46ff-0xb1;let _0x3f8eba=_0x21812c[_0x5b46ff];return _0x3f8eba;},_0x5b46(_0x257cab,_0x2f846a);}import{ObservableMixin as _0x4b87e2}from'ckeditor5/src/utils.js';import{getTranslation as _0x5841c1}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b87e2(){constructor(_0x5af038,_0x37a781,_0x29eb03,_0x28dc8c){const _0x4a6bab=_0x5b46;super(),this[_0x4a6bab(0xd1)]=_0x37a781,this[_0x4a6bab(0xb4)]=_0x29eb03,this[_0x4a6bab(0xb8)]=_0x28dc8c,this[_0x4a6bab(0xce)]=_0x5af038,this[_0x4a6bab(0xcf)]=_0x5af038[_0x4a6bab(0xb2)][_0x4a6bab(0xbc)](_0x4a6bab(0xb9)),this[_0x4a6bab(0xbe)]=_0x5af038[_0x4a6bab(0xb2)][_0x4a6bab(0xbc)](_0x4a6bab(0xc6)),this[_0x4a6bab(0xb4)][_0x4a6bab(0xd2)](_0x4a6bab(0xc7))['to'](this[_0x4a6bab(0xcf)],this[_0x4a6bab(0xbe)],(_0xb99393,_0x13c4c1)=>_0xb99393||_0x13c4c1),this[_0x4a6bab(0xb4)][_0x4a6bab(0xd2)](_0x4a6bab(0xb3))['to'](this[_0x4a6bab(0xcf)],_0x4a6bab(0xc7),_0x4b7012=>_0x4b7012&&this[_0x4a6bab(0xce)][_0x4a6bab(0xd1)][_0x4a6bab(0xc0)](_0x37a781[_0x4a6bab(0xbf)]())),this[_0x4a6bab(0xb4)][_0x4a6bab(0xd2)](_0x4a6bab(0xca))['to'](this[_0x4a6bab(0xbe)],_0x4a6bab(0xc7),_0x189fb8=>_0x189fb8&&this[_0x4a6bab(0xce)][_0x4a6bab(0xd1)][_0x4a6bab(0xc0)](_0x37a781[_0x4a6bab(0xbf)]())),this[_0x4a6bab(0xc3)]=null,_0x29eb03[_0x4a6bab(0xbb)]&&this[_0x4a6bab(0xd0)](),this[_0x4a6bab(0xc5)](_0x29eb03,_0x4a6bab(0xb9),()=>this[_0x4a6bab(0xb9)]()),this[_0x4a6bab(0xc5)](_0x29eb03,_0x4a6bab(0xc6),()=>this[_0x4a6bab(0xc6)]()),this[_0x4a6bab(0xc5)](_0x29eb03,_0x4a6bab(0xd6),()=>{const _0x1f39e0=_0x4a6bab;_0x29eb03[_0x1f39e0(0xbb)]?this[_0x1f39e0(0xd0)]():this[_0x1f39e0(0xd7)]();});}[_0x2fb24b(0xb9)](){const _0xd1c55c=_0x2fb24b;this[_0xd1c55c(0xcf)][_0xd1c55c(0xc1)](this[_0xd1c55c(0xd1)]['id']);}[_0x2fb24b(0xc6)](){const _0x7e8dce=_0x2fb24b;this[_0x7e8dce(0xbe)][_0x7e8dce(0xc1)](this[_0x7e8dce(0xd1)]['id']);}[_0x2fb24b(0xd9)](){const _0x1386ca=_0x2fb24b;this[_0x1386ca(0xb4)][_0x1386ca(0xb5)](_0x1386ca(0xc7)),this[_0x1386ca(0xb4)][_0x1386ca(0xb5)](_0x1386ca(0xb3)),this[_0x1386ca(0xb4)][_0x1386ca(0xb5)](_0x1386ca(0xca)),this[_0x1386ca(0xcc)](),this[_0x1386ca(0xb8)][_0x1386ca(0xd9)](),this[_0x1386ca(0xc3)]&&this[_0x1386ca(0xd7)]();}[_0x2fb24b(0xd0)](){const _0xddee7c=_0x2fb24b,_0xb6db64=_0x5841c1(this[_0xddee7c(0xce)][_0xddee7c(0xcd)],_0xddee7c(0xbd));this[_0xddee7c(0xc3)]=this[_0xddee7c(0xce)][_0xddee7c(0xb6)][_0xddee7c(0xbc)](_0xddee7c(0xb7))[_0xddee7c(0xc8)](_0xb6db64);}[_0x2fb24b(0xd7)](){const _0x18bf7c=_0x2fb24b;null!==this[_0x18bf7c(0xc3)]&&this[_0x18bf7c(0xce)][_0x18bf7c(0xb6)][_0x18bf7c(0xbc)](_0x18bf7c(0xb7))[_0x18bf7c(0xc4)](this[_0x18bf7c(0xc3)]),this[_0x18bf7c(0xc3)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x44b4c6=_0x424a;(function(_0x1d524d,_0x4b07c6){const _0x33c0c3=_0x424a,_0x12969f=_0x1d524d();while(!![]){try{const _0x1e3ca3=-parseInt(_0x33c0c3(0xd9))/0x1+parseInt(_0x33c0c3(0xc3))/0x2*(parseInt(_0x33c0c3(0xd2))/0x3)+-parseInt(_0x33c0c3(0xda))/0x4+parseInt(_0x33c0c3(0xf1))/0x5*(-parseInt(_0x33c0c3(0xd6))/0x6)+parseInt(_0x33c0c3(0xd1))/0x7*(-parseInt(_0x33c0c3(0xb6))/0x8)+-parseInt(_0x33c0c3(0xb0))/0x9+parseInt(_0x33c0c3(0xe0))/0xa;if(_0x1e3ca3===_0x4b07c6)break;else _0x12969f['push'](_0x12969f['shift']());}catch(_0x9f1734){_0x12969f['push'](_0x12969f['shift']());}}}(_0x1c07,0xc6258));import{FocusCycler as _0x247f41,View as _0x55fe62,ViewCollection as _0x141590}from'ckeditor5/src/ui.js';import{FocusTracker as _0x243c1c,KeystrokeHandler as _0xbab72a}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x446ed3,setupThreadKeyboardNavigation as _0x3c3bac}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x9e236e}from'../../utils/common-translations.js';function _0x1c07(){const _0x326486=['submit','isEnabled','focusables','isActive','delegate','name','SUGGESTION_THREAD_DESCRIPTION','text/html','_model','length','10PKMBtr','_localUser','ariaLabel','target','descriptionParts','showInput','_createCommentThreadInputView','canAccept','11978235mJpSQs','editor','_createCommentViews','disableComments','commentInputView','content','229464yRrAWa','setData','disabledSubmit','editorConfig','fire','isDirty','SUGGESTION_THREAD_ARIA_LABEL','focusTracker','authoredAt','parseFromString','CommentView','assign','canDiscard','454NjnTZb','ariaDescriptionView','formatDateTime','set','cancel','keystrokes','join','updateComment','focusCycler','shift+tab','hasDirtyComment','focus','addComment','commentThread','154eHwpuM','10050vcOCoI','render','map','value','4296072rVdTtd','body','element','429159UHIweA','476600rOCJfm','author','_config','removeComment','tab','bind','39934320OmjgHK','locale','commentsListView','destroy','textContent','isReadOnly','commentThreadInputView'];_0x1c07=function(){return _0x326486;};return _0x1c07();}import{renderDescription as _0x3c38b6}from'../../utils/utils.js';function _0x424a(_0x519a35,_0x31313d){const _0x1c0725=_0x1c07();return _0x424a=function(_0x424a83,_0xbddd1e){_0x424a83=_0x424a83-0xae;let _0x1beaeb=_0x1c0725[_0x424a83];return _0x1beaeb;},_0x424a(_0x519a35,_0x31313d);}export default class us extends _0x55fe62{constructor(_0x249ce0,_0x3127e7,_0x46cda2,_0x557f64){const _0x1927b0=_0x424a;super(_0x249ce0),this[_0x1927b0(0xe2)]=null,this[_0x1927b0(0xe6)]=null,this[_0x1927b0(0xc4)]=new _0x446ed3(_0x249ce0,_0x9e236e(_0x249ce0,_0x1927b0(0xed))),this[_0x1927b0(0xc6)](_0x1927b0(0xea),!0x1),this[_0x1927b0(0xc6)](_0x1927b0(0xbe),_0x3127e7[_0x1927b0(0xbe)]),this[_0x1927b0(0xdf)](_0x1927b0(0xbe))['to'](_0x3127e7),this[_0x1927b0(0xc6)](_0x1927b0(0xf5),[]),this[_0x1927b0(0xc6)](_0x1927b0(0xbb),!0x1),this[_0x1927b0(0xc6)](_0x1927b0(0xe8),!0x1),this[_0x1927b0(0xc6)](_0x1927b0(0xaf),!0x1),this[_0x1927b0(0xc6)](_0x1927b0(0xc2),!0x1),this[_0x1927b0(0xdf)](_0x1927b0(0xf3))['to'](this,_0x1927b0(0xf0),_0x3127e7,_0x1927b0(0xbe),this,_0x1927b0(0xf5),(_0xcde81f,_0x5e1145,_0x1b2821)=>{const _0x517695=_0x1927b0,_0x5db664=_0x1b2821[_0x517695(0xd4)](_0xc4a47d=>_0x3c38b6(_0xc4a47d[_0x517695(0xb5)]))[_0x517695(0xc9)]('.\x20')+'.';return _0x9e236e(this[_0x517695(0xe1)],_0x517695(0xbc),[_0xcde81f-0x1,_0x3127e7[_0x517695(0xdb)][_0x517695(0xec)],_0x5e1145?_0x557f64[_0x517695(0xc5)](_0x5e1145):'',new DOMParser()[_0x517695(0xbf)](_0x5db664,_0x517695(0xee))[_0x517695(0xd7)][_0x517695(0xe4)]]);}),this[_0x1927b0(0xe9)]=new _0x141590(),this[_0x1927b0(0xbd)]=new _0x243c1c(),this[_0x1927b0(0xc8)]=new _0xbab72a(),this[_0x1927b0(0xcb)]=new _0x247f41({'focusables':this[_0x1927b0(0xe9)],'focusTracker':this[_0x1927b0(0xbd)],'keystrokeHandler':this[_0x1927b0(0xc8)],'keystrokeHandlerOptions':{'filter':_0x20e888=>_0x20e888[_0x1927b0(0xf4)]!==this[_0x1927b0(0xd8)]},'actions':{'focusPrevious':_0x1927b0(0xcc),'focusNext':_0x1927b0(0xde)}}),this[_0x1927b0(0xef)]=_0x3127e7,this[_0x1927b0(0xf2)]=_0x46cda2,this[_0x1927b0(0xdc)]=_0x557f64,_0x557f64[_0x1927b0(0xb3)]?this[_0x1927b0(0xc6)](_0x1927b0(0xf0),0x1):this[_0x1927b0(0xb2)]();}[_0x44b4c6(0xd3)](){const _0x4e7142=_0x44b4c6;super[_0x4e7142(0xd3)](),_0x3c3bac(this,this[_0x4e7142(0xe9)]);}[_0x44b4c6(0xce)](){const _0x73eb1=_0x44b4c6;this[_0x73eb1(0xd8)][_0x73eb1(0xce)]();}[_0x44b4c6(0xe3)](){const _0x3922d0=_0x44b4c6;this[_0x3922d0(0xe2)]&&this[_0x3922d0(0xe2)][_0x3922d0(0xe3)](),this[_0x3922d0(0xe6)]&&this[_0x3922d0(0xe6)][_0x3922d0(0xe3)](),super[_0x3922d0(0xe3)]();}[_0x44b4c6(0xb2)](){const _0x30cb1e=_0x44b4c6,{CommentsListView:_0x3d7d0e}=this[_0x30cb1e(0xdc)];this[_0x30cb1e(0xe2)]=new _0x3d7d0e(this[_0x30cb1e(0xe1)],this[_0x30cb1e(0xef)][_0x30cb1e(0xd0)],Object[_0x30cb1e(0xc1)]({'CommentView':this[_0x30cb1e(0xdc)][_0x30cb1e(0xc0)]},this[_0x30cb1e(0xdc)])),this[_0x30cb1e(0xe2)][_0x30cb1e(0xeb)](_0x30cb1e(0xdd))['to'](this),this[_0x30cb1e(0xe2)][_0x30cb1e(0xeb)](_0x30cb1e(0xca))['to'](this),this[_0x30cb1e(0xe2)][_0x30cb1e(0xdf)](_0x30cb1e(0xea))['to'](this),this[_0x30cb1e(0xc6)](_0x30cb1e(0xf0),this[_0x30cb1e(0xe2)][_0x30cb1e(0xf0)]+0x1),this[_0x30cb1e(0xdf)](_0x30cb1e(0xf0))['to'](this[_0x30cb1e(0xe2)],_0x30cb1e(0xf0),_0x2541eb=>_0x2541eb+0x1),this[_0x30cb1e(0xe6)]=this[_0x30cb1e(0xae)](),this['on'](_0x30cb1e(0xdd),()=>this[_0x30cb1e(0xce)]()),this[_0x30cb1e(0xdf)](_0x30cb1e(0xbb))['to'](this[_0x30cb1e(0xe2)],_0x30cb1e(0xcd),this[_0x30cb1e(0xe6)][_0x30cb1e(0xb4)],_0x30cb1e(0xd5),(_0x1d57d2,_0x247cf7)=>_0x1d57d2||!!_0x247cf7);}[_0x44b4c6(0xae)](){const _0x14d12c=_0x44b4c6,{CommentThreadInputView:_0x4f8a98}=this[_0x14d12c(0xdc)],_0x368200=new _0x4f8a98(this[_0x14d12c(0xe1)],this[_0x14d12c(0xf2)],this[_0x14d12c(0xdc)][_0x14d12c(0xb9)]),_0x4b1ed0=_0x368200[_0x14d12c(0xb4)];return _0x368200[_0x14d12c(0xdf)](_0x14d12c(0xf6))['to'](this,_0x14d12c(0xea),this[_0x14d12c(0xef)][_0x14d12c(0xd0)],_0x14d12c(0xe5),_0x4b1ed0,_0x14d12c(0xd5),(_0x419991,_0x2e371e,_0x3555ae)=>!!_0x3555ae||_0x419991&&!_0x2e371e),_0x4b1ed0['on'](_0x14d12c(0xe7),(_0x1f7745,_0x93c2fc)=>{const _0x1f06be=_0x14d12c;this[_0x1f06be(0xba)](_0x1f06be(0xcf),_0x93c2fc),_0x4b1ed0[_0x1f06be(0xb1)][_0x1f06be(0xb7)]('');}),_0x4b1ed0['on'](_0x14d12c(0xc7),()=>this[_0x14d12c(0xce)]()),_0x4b1ed0[_0x14d12c(0xdf)](_0x14d12c(0xb8))['to'](this[_0x14d12c(0xef)][_0x14d12c(0xd0)],_0x14d12c(0xe5)),_0x368200;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4157(){const _0x2e22a6=['_model','discardButton','description','ck-rounded-corners','add','40XXFxbj','disableComments','focusables','<p>','_config','commentsListView','descriptionParts','33342yXENRS','isEnabled','push','commentThreadInputView','bind','getTemplate','ck-suggestion--disabled-comments','2XZkrXf','ariaDescriptionView','bindTemplate','SuggestionView','537197zHshrp','38637132NbCnbr','ck-suggestion-wrapper','ck-suggestion-','editorReady','formatDateTime','content','set','4681383qHRJFD','_descriptionElement','div','delegate','acceptSuggestion','suggestionView','setTemplate','canAccept','11vNRLCW','type','editorDestroyed','listitem','discardSuggestion','color','2219418OEYAvn','</p>','isActive','author','215196FLNomP','ariaLabel','795SUfvrf','acceptButton','28VthOtn','render','ck-suggestion-wrapper--active','15234350SHGgpC','canDiscard','commentThread'];_0x4157=function(){return _0x2e22a6;};return _0x4157();}const _0x495b60=_0x407b;(function(_0x379f0f,_0x8c876e){const _0x234c93=_0x407b,_0x4ade16=_0x379f0f();while(!![]){try{const _0x5cafc8=parseInt(_0x234c93(0x197))/0x1*(-parseInt(_0x234c93(0x193))/0x2)+-parseInt(_0x234c93(0x1b1))/0x3*(parseInt(_0x234c93(0x1b5))/0x4)+parseInt(_0x234c93(0x1b3))/0x5*(parseInt(_0x234c93(0x18c))/0x6)+parseInt(_0x234c93(0x19f))/0x7+-parseInt(_0x234c93(0x185))/0x8*(parseInt(_0x234c93(0x1ad))/0x9)+-parseInt(_0x234c93(0x1b8))/0xa+-parseInt(_0x234c93(0x1a7))/0xb*(-parseInt(_0x234c93(0x198))/0xc);if(_0x5cafc8===_0x8c876e)break;else _0x4ade16['push'](_0x4ade16['shift']());}catch(_0x295912){_0x4ade16['push'](_0x4ade16['shift']());}}}(_0x4157,0xee5c7));import{default as _0x481243}from'./basesuggestionthreadview.js';import{trimHtml as _0x44046e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x407b(_0x1a3f2f,_0x32ec89){const _0x4157aa=_0x4157();return _0x407b=function(_0x407b4e,_0x1edb4c){_0x407b4e=_0x407b4e-0x181;let _0x45b17a=_0x4157aa[_0x407b4e];return _0x45b17a;},_0x407b(_0x1a3f2f,_0x32ec89);}import{renderDescription as _0x3eed13}from'../../utils/utils.js';export default class re extends _0x481243{constructor(_0x236b3a,_0x3c8653,_0x487e11,_0x1ecc7c){const _0x49bdbd=_0x407b;super(_0x236b3a,_0x3c8653,_0x487e11,_0x1ecc7c),this[_0x49bdbd(0x19e)](_0x49bdbd(0x1a8),''),this[_0x49bdbd(0x190)](_0x49bdbd(0x1a8))['to'](this,_0x49bdbd(0x18b),_0x1786ab=>_0x1786ab&&_0x1786ab[0x0]?_0x1786ab[0x0][_0x49bdbd(0x1a8)]:''),this[_0x49bdbd(0x190)](_0x49bdbd(0x182))['to'](this,_0x49bdbd(0x18b),this,_0x49bdbd(0x1af),(_0x4a6070,_0x535b93)=>{const _0x233a8d=_0x49bdbd;let _0xa416e4='';for(const _0x5a7766 of _0x4a6070)_0xa416e4+=_0x233a8d(0x188)+_0x3eed13(_0x5a7766[_0x233a8d(0x19d)],_0x5a7766[_0x233a8d(0x1ac)])+_0x233a8d(0x1ae);return _0x535b93?_0xa416e4:_0x44046e(_0xa416e4,{'limit':0x8c});}),this[_0x49bdbd(0x1a0)]=null,this[_0x49bdbd(0x1a4)]=new _0x1ecc7c[(_0x49bdbd(0x196))](_0x236b3a,_0x3c8653,{'formatDateTime':_0x1ecc7c[_0x49bdbd(0x19c)]}),this[_0x49bdbd(0x1a4)][_0x49bdbd(0x190)](_0x49bdbd(0x182))['to'](this),this[_0x49bdbd(0x1a4)][_0x49bdbd(0x1a2)](_0x49bdbd(0x1a3),_0x49bdbd(0x1ab))['to'](this),this[_0x49bdbd(0x1a4)][_0x49bdbd(0x1b4)][_0x49bdbd(0x190)](_0x49bdbd(0x18d))['to'](this,_0x49bdbd(0x1a6)),this[_0x49bdbd(0x1a4)][_0x49bdbd(0x181)][_0x49bdbd(0x190)](_0x49bdbd(0x18d))['to'](this,_0x49bdbd(0x1b9)),this[_0x49bdbd(0x187)][_0x49bdbd(0x184)](this[_0x49bdbd(0x1a4)]),this[_0x49bdbd(0x18a)]&&this[_0x49bdbd(0x187)][_0x49bdbd(0x184)](this[_0x49bdbd(0x18a)]),this[_0x49bdbd(0x18f)]&&this[_0x49bdbd(0x187)][_0x49bdbd(0x184)](this[_0x49bdbd(0x18f)]),this[_0x49bdbd(0x1a5)](this[_0x49bdbd(0x191)]());}[_0x495b60(0x191)](){const _0x1363ad=_0x495b60,_0x5e51ca=this[_0x1363ad(0x195)],_0x1451a8=[this[_0x1363ad(0x1a4)]];return this[_0x1363ad(0x18a)]&&_0x1451a8[_0x1363ad(0x18e)](this[_0x1363ad(0x18a)]),this[_0x1363ad(0x18f)]&&_0x1451a8[_0x1363ad(0x18e)](this[_0x1363ad(0x18f)]),_0x1451a8[_0x1363ad(0x18e)](this[_0x1363ad(0x194)]),{'tag':_0x1363ad(0x1a1),'attributes':{'class':['ck',_0x1363ad(0x183),_0x1363ad(0x199),_0x5e51ca['if'](_0x1363ad(0x1af),_0x1363ad(0x1b7)),_0x5e51ca['to'](_0x1363ad(0x1a8),_0xe9f524=>_0x1363ad(0x19a)+_0xe9f524),this[_0x1363ad(0x189)][_0x1363ad(0x186)]&&_0x1363ad(0x192)],'data-suggestion-id':this[_0x1363ad(0x1bb)]['id'],'data-thread-id':this[_0x1363ad(0x1bb)][_0x1363ad(0x1ba)]['id'],'data-author-id':this[_0x1363ad(0x1bb)][_0x1363ad(0x1b0)]['id'],'tabindex':0x0,'role':_0x1363ad(0x1aa),'aria-label':_0x5e51ca['to'](_0x1363ad(0x1b2)),'aria-describedby':this[_0x1363ad(0x194)]['id']},'children':_0x1451a8};}[_0x495b60(0x1b6)](){const _0x43c9c4=_0x495b60;super[_0x43c9c4(0x1b6)](),this[_0x43c9c4(0x18a)]&&(this[_0x43c9c4(0x18a)][_0x43c9c4(0x1a2)](_0x43c9c4(0x19b))['to'](this),this[_0x43c9c4(0x18a)][_0x43c9c4(0x1a2)](_0x43c9c4(0x1a9))['to'](this)),this[_0x43c9c4(0x18f)]&&(this[_0x43c9c4(0x18f)][_0x43c9c4(0x1a2)](_0x43c9c4(0x19b))['to'](this),this[_0x43c9c4(0x18f)][_0x43c9c4(0x1a2)](_0x43c9c4(0x1a9))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ceb6e=_0x505b;(function(_0x3aff0c,_0x9d831f){const _0xaf13ce=_0x505b,_0x1a693c=_0x3aff0c();while(!![]){try{const _0x155e8e=-parseInt(_0xaf13ce(0x1c7))/0x1*(-parseInt(_0xaf13ce(0x178))/0x2)+parseInt(_0xaf13ce(0x1a5))/0x3*(parseInt(_0xaf13ce(0x1bb))/0x4)+-parseInt(_0xaf13ce(0x176))/0x5*(-parseInt(_0xaf13ce(0x1a6))/0x6)+parseInt(_0xaf13ce(0x186))/0x7*(-parseInt(_0xaf13ce(0x1a7))/0x8)+parseInt(_0xaf13ce(0x1b7))/0x9*(parseInt(_0xaf13ce(0x19c))/0xa)+-parseInt(_0xaf13ce(0x198))/0xb*(parseInt(_0xaf13ce(0x177))/0xc)+parseInt(_0xaf13ce(0x18c))/0xd*(parseInt(_0xaf13ce(0x1c2))/0xe);if(_0x155e8e===_0x9d831f)break;else _0x1a693c['push'](_0x1a693c['shift']());}catch(_0x24e811){_0x1a693c['push'](_0x1a693c['shift']());}}}(_0x55bc,0x352a5));import{FocusTracker as _0x4d5590,KeystrokeHandler as _0x586508}from'ckeditor5/src/utils.js';function _0x505b(_0x4211f1,_0x312f17){const _0x55bc93=_0x55bc();return _0x505b=function(_0x505bb1,_0x9a98b7){_0x505bb1=_0x505bb1-0x173;let _0x46ce63=_0x55bc93[_0x505bb1];return _0x46ce63;},_0x505b(_0x4211f1,_0x312f17);}import{View as _0x3aded7,ViewCollection as _0x323052,FocusCycler as _0x1db578}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x4a4e7d,UserView as _0x14ead4}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x14d6de}from'ckeditor5/src/core.js';import{getTranslation as _0x1beb68}from'../../utils/common-translations.js';function _0x55bc(){const _0x2cb185=['411DELIND','6qzTVYB','27944YGuKPC','description','formatDateTime','source','ck-suggestion__main','ck-suggestion__user','locale','isExternal','importWord','authoredAt','focusFirst','add','set','enter','acceptButton','ck-annotation','27WoSrAQ','EXTERNAL_SUGGESTION','@external','_model','6428pEIsoC','creator','ck-suggestion--discard','ck-annotation__content-wrapper','name','EXTERNAL_AVATAR','tab','198632OCihPO','EXTERNAL_IMPORT_WORD_AVATAR','userView','change:description','_config','654tDmMua','ck-annotation__info-time','ck-suggestion__info-name','element','author','ck-annotation__info','ck-comment__info-time','cancel','bind','setTemplate','render','ck-annotation__actions','ck-comment__external','esc','166265lecZMI','768396yNBbFb','710pwpLzt','focus','discardSuggestion','ck-annotation__info-name','ck-suggestion__actions','listenTo','ck-annotation__main','ck-suggestion--accept','focusTracker','Accept\x20suggestion','.ck-annotation__content-wrapper','time','bindTemplate','span','679BjfSJz','_createButton','keystrokes','_setupKeyboardNavigation','target','presentation','182LDwuVj','attributes','acceptSuggestion','focusables','check','ck-suggestion','innerHTML','discardButton','getTemplate','getExternalSuggestionNote','ck-suggestion__info','extendTemplate','22RclbBi','push','Discard\x20suggestion','fire','1460UWCPaP','shift+tab','execute','getUserViewNotificationText','querySelector','EXTERNAL_IMPORT_WORD_SUGGESTION','focusCycler','ck-annotation__user','div'];_0x55bc=function(){return _0x2cb185;};return _0x55bc();}export default class ce extends _0x3aded7{constructor(_0x2b147a,_0x4c0d8b,_0x413aa0){const _0x35d11d=_0x505b;super(_0x2b147a),this[_0x35d11d(0x1ba)]=_0x4c0d8b,this[_0x35d11d(0x1c6)]=_0x413aa0,this[_0x35d11d(0x1b3)](_0x35d11d(0x1a8),''),this[_0x35d11d(0x1cf)](_0x35d11d(0x1b0))['to'](_0x4c0d8b),this[_0x35d11d(0x1b5)]=this[_0x35d11d(0x187)](_0x1beb68(_0x2b147a,_0x35d11d(0x181)),_0x14d6de[_0x35d11d(0x190)],_0x35d11d(0x17f),_0x35d11d(0x18e),'sw'),this[_0x35d11d(0x193)]=this[_0x35d11d(0x187)](_0x1beb68(_0x2b147a,_0x35d11d(0x19a)),_0x14d6de[_0x35d11d(0x1ce)],_0x35d11d(0x1bd),_0x35d11d(0x17a),'sw'),this[_0x35d11d(0x1c4)]=new _0x14ead4(_0x2b147a,_0x4c0d8b[_0x35d11d(0x1cb)],this[_0x35d11d(0x19f)]()),this[_0x35d11d(0x1c4)][_0x35d11d(0x197)]({'attributes':{'class':[_0x35d11d(0x1ac),_0x35d11d(0x1a3)],'aria-hidden':!0x0}}),this[_0x35d11d(0x18f)]=new _0x323052([this[_0x35d11d(0x1b5)],this[_0x35d11d(0x193)]]),this[_0x35d11d(0x180)]=new _0x4d5590(),this[_0x35d11d(0x188)]=new _0x586508(),this[_0x35d11d(0x1a2)]=new _0x1db578({'focusables':this[_0x35d11d(0x18f)],'focusTracker':this[_0x35d11d(0x180)],'keystrokeHandler':this[_0x35d11d(0x188)],'actions':{'focusPrevious':_0x35d11d(0x19d),'focusNext':_0x35d11d(0x1c1)},'keystrokeHandlerOptions':{'filter':_0x1c1d59=>_0x1c1d59[_0x35d11d(0x18a)]!==this[_0x35d11d(0x1ca)]}}),this[_0x35d11d(0x1d0)](this[_0x35d11d(0x194)]());}[_0x5ceb6e(0x1d1)](){const _0xc15837=_0x5ceb6e;super[_0xc15837(0x1d1)]();const _0x213ff6=this[_0xc15837(0x1ca)][_0xc15837(0x1a0)](_0xc15837(0x182));_0x213ff6[_0xc15837(0x192)]=this[_0xc15837(0x1a8)],this['on'](_0xc15837(0x1c5),(_0x1e5c7e,_0x1b6f27,_0x197dd5)=>{const _0x2e5ea0=_0xc15837;_0x213ff6[_0x2e5ea0(0x192)]=_0x197dd5;}),this[_0xc15837(0x189)]();}[_0x5ceb6e(0x194)](){const _0x569402=_0x5ceb6e,_0x38197c=this[_0x569402(0x184)],_0x12725b=[{'tag':_0x569402(0x1a4),'attributes':{'class':[_0x569402(0x196),_0x569402(0x1cc)]},'children':[{'tag':_0x569402(0x185),'children':[{'text':this[_0x569402(0x1c4)][_0x569402(0x1bf)]}],'attributes':{'class':[_0x569402(0x1c9),_0x569402(0x17b)]}},{'tag':_0x569402(0x183),'attributes':{'datetime':_0x38197c['to'](_0x569402(0x1b0)),'class':[_0x569402(0x1cd),_0x569402(0x1c8)]},'children':[{'text':_0x38197c['to'](_0x569402(0x1b0),_0x8087ab=>this[_0x569402(0x1c6)][_0x569402(0x1a9)](_0x8087ab))}]}]},{'tag':_0x569402(0x1a4),'attributes':{'class':[_0x569402(0x17c),_0x569402(0x173)]},'children':[this[_0x569402(0x1b5)],this[_0x569402(0x193)]]},{'tag':_0x569402(0x1a4),'attributes':{'class':[_0x569402(0x1be)]}}];return this[_0x569402(0x1ba)][_0x569402(0x1ae)]&&_0x12725b[_0x569402(0x199)]({'tag':_0x569402(0x1a4),'attributes':{'class':[_0x569402(0x174)]},'children':[{'text':this[_0x569402(0x195)]()}]}),{'tag':_0x569402(0x1a4),'attributes':{'class':[_0x569402(0x191),_0x569402(0x1b6)],'tabindex':-0x1},'children':[this[_0x569402(0x1c4)],{'tag':_0x569402(0x1a4),'attributes':{'class':[_0x569402(0x1ab),_0x569402(0x17e)],'role':_0x569402(0x18b)},'children':_0x12725b}]};}[_0x5ceb6e(0x179)](){const _0x16ec7f=_0x5ceb6e;this[_0x16ec7f(0x1ca)][_0x16ec7f(0x179)]();}[_0x5ceb6e(0x19f)](){const _0x53fec8=_0x5ceb6e;return this[_0x53fec8(0x1ba)][_0x53fec8(0x1ae)]?_0x53fec8(0x1af)===this[_0x53fec8(0x1ba)][_0x53fec8(0x18d)][_0x53fec8(0x1b9)][_0x53fec8(0x1aa)]?_0x1beb68(this[_0x53fec8(0x1ad)],_0x53fec8(0x1c3),this[_0x53fec8(0x1ba)][_0x53fec8(0x1bc)][_0x53fec8(0x1bf)]):_0x1beb68(this[_0x53fec8(0x1ad)],_0x53fec8(0x1c0),this[_0x53fec8(0x1ba)][_0x53fec8(0x1bc)][_0x53fec8(0x1bf)]):null;}[_0x5ceb6e(0x195)](){const _0x29fc08=_0x5ceb6e;return _0x29fc08(0x1af)===this[_0x29fc08(0x1ba)][_0x29fc08(0x18d)][_0x29fc08(0x1b9)][_0x29fc08(0x1aa)]?_0x1beb68(this[_0x29fc08(0x1ad)],_0x29fc08(0x1a1)):_0x1beb68(this[_0x29fc08(0x1ad)],_0x29fc08(0x1b8));}[_0x5ceb6e(0x187)](_0xfd3980,_0x1a2167,_0x13883e,_0x1c31b6,_0x5d5660){const _0x263e85=_0x5ceb6e,_0xa94bfa=new _0x4a4e7d(this[_0x263e85(0x1ad)]);return _0xa94bfa[_0x263e85(0x1b3)]({'label':_0xfd3980,'icon':_0x1a2167,'tooltip':!0x0,'tooltipPosition':_0x5d5660}),_0xa94bfa[_0x263e85(0x197)]({'attributes':{'class':_0x13883e}}),_0xa94bfa['on'](_0x263e85(0x19e),()=>{const _0x466509=_0x263e85;this[_0x466509(0x19b)](_0x1c31b6,this[_0x466509(0x1ba)]['id']);}),_0xa94bfa;}[_0x5ceb6e(0x189)](){const _0xc24ea5=_0x5ceb6e,_0x2b291a=this[_0xc24ea5(0x1ca)];this[_0xc24ea5(0x188)][_0xc24ea5(0x17d)](_0x2b291a);for(const _0x501188 of this[_0xc24ea5(0x18f)])this[_0xc24ea5(0x180)][_0xc24ea5(0x1b2)](_0x501188[_0xc24ea5(0x1ca)]),this[_0xc24ea5(0x188)][_0xc24ea5(0x17d)](_0x501188[_0xc24ea5(0x1ca)]);this[_0xc24ea5(0x188)][_0xc24ea5(0x1b3)](_0xc24ea5(0x1b4),(_0x13d8b0,_0x1fab87)=>{const _0x52d4c9=_0xc24ea5;_0x2b291a===_0x13d8b0[_0x52d4c9(0x18a)]&&(this[_0x52d4c9(0x1a2)][_0x52d4c9(0x1b1)](),_0x1fab87());}),this[_0xc24ea5(0x188)][_0xc24ea5(0x1b3)](_0xc24ea5(0x175),(_0x4cc4d3,_0x4ac90a)=>{const _0x32ab21=_0xc24ea5;_0x2b291a!==_0x4cc4d3[_0x32ab21(0x18a)]&&(this[_0x32ab21(0x179)](),_0x4ac90a());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x14603e,_0x5cdf08,_0x3460c3){const t=_0x14603e['t'];switch(_0x5cdf08){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'*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',_0x3460c3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3460c3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3460c3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3460c3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3460c3);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',_0x3460c3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3460c3);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x3460c3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3460c3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3460c3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3460c3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3460c3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3460c3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3460c3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3460c3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3460c3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3460c3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3460c3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3460c3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3460c3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3460c3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3460c3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3460c3);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'},_0x3460c3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3460c3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3460c3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3460c3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3460c3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3460c3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3460c3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3460c3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3460c3);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'},_0x3460c3);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3460c3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3460c3);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'},_0x3460c3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3460c3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3460c3);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'},_0x3460c3);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 t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3460c3);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3460c3);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3460c3);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'},_0x3460c3);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'},_0x3460c3);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'},_0x3460c3);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5cdf08;}}
|
|
23
|
+
export function getTranslation(_0x4a0ef3,_0x2a4373,_0x1ea596){const t=_0x4a0ef3['t'];switch(_0x2a4373){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'*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',_0x1ea596);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1ea596);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1ea596);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1ea596);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1ea596);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',_0x1ea596);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1ea596);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x1ea596);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1ea596);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1ea596);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1ea596);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1ea596);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1ea596);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1ea596);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1ea596);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1ea596);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1ea596);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1ea596);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1ea596);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1ea596);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1ea596);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1ea596);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1ea596);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'},_0x1ea596);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1ea596);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1ea596);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1ea596);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1ea596);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1ea596);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'},_0x1ea596);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1ea596);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1ea596);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1ea596);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1ea596);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'},_0x1ea596);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1ea596);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'},_0x1ea596);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x1ea596);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1ea596);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'},_0x1ea596);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1ea596);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'},_0x1ea596);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1ea596);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1ea596);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'},_0x1ea596);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 t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1ea596);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1ea596);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1ea596);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'},_0x1ea596);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'},_0x1ea596);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'},_0x1ea596);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2a4373;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5c4d71,_0x8df241){const _0x2ec69e=_0x5530,_0x4b9787=_0x5c4d71();while(!![]){try{const _0x464291=-parseInt(_0x2ec69e(0x129))/0x1*(parseInt(_0x2ec69e(0x150))/0x2)+-parseInt(_0x2ec69e(0x14a))/0x3*(-parseInt(_0x2ec69e(0x14b))/0x4)+parseInt(_0x2ec69e(0x14c))/0x5*(-parseInt(_0x2ec69e(0x138))/0x6)+-parseInt(_0x2ec69e(0x141))/0x7+parseInt(_0x2ec69e(0x134))/0x8*(-parseInt(_0x2ec69e(0x13a))/0x9)+-parseInt(_0x2ec69e(0x13d))/0xa+parseInt(_0x2ec69e(0x11f))/0xb;if(_0x464291===_0x8df241)break;else _0x4b9787['push'](_0x4b9787['shift']());}catch(_0x54f90c){_0x4b9787['push'](_0x4b9787['shift']());}}}(_0x4479,0xc4466));export function normalizeDescription(_0x460a61){const _0x376cb9=_0x5530;return Array[_0x376cb9(0x151)](_0x460a61)||(_0x460a61=[_0x460a61]),_0x460a61[_0x376cb9(0x14d)](_0x40fcd3=>{const _0x37c822=_0x376cb9,_0x36954a=_0x40fcd3[_0x37c822(0x14e)][_0x37c822(0x135)](/\*/g,''),_0x974456=_0x40fcd3[_0x37c822(0x12a)]?_0x37c822(0x12b)+_0x40fcd3[_0x37c822(0x12a)][_0x37c822(0x122)]+']':'';return'['+_0x40fcd3[_0x37c822(0x140)]+']\x20'+_0x36954a+_0x974456;})[_0x376cb9(0x132)](';\x20');}export function renderDescription(_0x4fb6bb,_0x29f30e){const _0x458662=_0x5530;let _0x45d9c7='';return _0x45d9c7+=_0x4fb6bb[_0x458662(0x12f)]('*')[_0x458662(0x14d)]((_0x413b9c,_0x5e3e6d)=>_0x5e3e6d%0x2!=0x0?_0x458662(0x131)+nn(_0x413b9c)+_0x458662(0x128):nn(_0x413b9c))[_0x458662(0x132)](''),_0x29f30e&&(_0x45d9c7+=_0x458662(0x139)+_0x29f30e[_0x458662(0x122)]+_0x458662(0x146)+_0x29f30e[_0x458662(0x153)]+_0x458662(0x154)),_0x45d9c7;}function nn(_0x4188b4){const _0x2410e0=_0x5530,_0x22e986=document[_0x2410e0(0x133)](_0x2410e0(0x13c));return _0x22e986[_0x2410e0(0x12c)]=_0x4188b4,_0x22e986[_0x2410e0(0x152)];}export function sortSuggestions(_0xb66669){const _0x55f4d5=_0x5530;return _0xb66669[_0x55f4d5(0x11e)]((_0x1f627d,_0x15fc3a)=>_0x55f4d5(0x125)==_0x1f627d[_0x55f4d5(0x140)]&&_0x55f4d5(0x125)!=_0x15fc3a[_0x55f4d5(0x140)]?-0x1:_0x55f4d5(0x125)!=_0x1f627d[_0x55f4d5(0x140)]&&_0x55f4d5(0x125)==_0x15fc3a[_0x55f4d5(0x140)]?0x1:0x0);}export function getSelectedSuggestions(_0xa1231a,_0x1ab52a){const _0x161d91=_0x5530,_0x38e52c=Array[_0x161d91(0x142)](_0xa1231a[_0x161d91(0x130)]()),_0x5ceb69=new Set();for(const _0x62113a of _0x1ab52a)if(_0x62113a[_0x161d91(0x123)]){for(const _0x33fb98 of _0x38e52c)for(const _0x34a7bb of _0x62113a[_0x161d91(0x130)]())(_0x33fb98[_0x161d91(0x14f)](_0x34a7bb)||_0xa1231a[_0x161d91(0x137)]&&!_0x62113a[_0x161d91(0x124)]&&_0x62113a[_0x161d91(0x121)]&&_0x34a7bb[_0x161d91(0x149)][_0x161d91(0x120)](_0x33fb98[_0x161d91(0x136)]))&&_0x5ceb69[_0x161d91(0x143)](_0x62113a);}return _0x5ceb69;}export function getRangesOfBlockGroups(_0x13575a,_0x43b7e7){const _0xd69e27=_0x5530;let _0x1b94fa,_0x3ee7ec=0x0;const _0x3c3bf1=[],_0x17ea5e=_0x43b7e7[_0xd69e27(0x126)];for(;_0x3ee7ec<_0x13575a[_0xd69e27(0x148)];){const _0x3a605b=_0x13575a[_0x3ee7ec],_0x58f29e=_0x13575a[_0x3ee7ec+0x1];_0x1b94fa||(_0x1b94fa=_0x43b7e7[_0xd69e27(0x13b)](_0x3a605b)),on(_0x43b7e7,_0x3a605b,_0x58f29e)||(_0x3c3bf1[_0xd69e27(0x13e)](_0x43b7e7[_0xd69e27(0x12e)](_0x1b94fa,_0x17ea5e[_0xd69e27(0x13f)](_0x3a605b)?_0x43b7e7[_0xd69e27(0x144)](_0x3a605b):_0x43b7e7[_0xd69e27(0x147)](_0x3a605b,_0xd69e27(0x149)))),_0x1b94fa=null),_0x3ee7ec++;}return _0x3c3bf1;}function _0x5530(_0x64bc18,_0x96fe6d){const _0x44793e=_0x4479();return _0x5530=function(_0x5530ed,_0x3f1a31){_0x5530ed=_0x5530ed-0x11e;let _0x3e84e0=_0x44793e[_0x5530ed];return _0x3e84e0;},_0x5530(_0x64bc18,_0x96fe6d);}function on(_0x586eae,_0x52764a,_0xffa34e){const _0x2b4bb3=_0x5530;if(!_0xffa34e)return!0x1;const _0x223e2b=_0x586eae[_0x2b4bb3(0x144)](_0x52764a),_0x1147c4=_0x586eae[_0x2b4bb3(0x13b)](_0xffa34e);return _0x223e2b[_0x2b4bb3(0x120)](_0x1147c4);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x4479(){const _0x26fd60=['\x22></span>','sort','42085593BBaWIp','isTouching','next','value','isInContent','isMultiRange','deletion','schema','execute','</span>','607haXdcP','color','\x20[color\x20','innerText','change','createRange','split','getRanges','<span\x20class=\x22ck-suggestion-type\x22>','join','createElement','8584664sItzfd','replace','start','isCollapsed','371922sInKTO','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','9BNMypS','createPositionBefore','span','4784700PjAbCX','push','isObject','type','7508186aDSMWm','from','add','createPositionAfter','splice','\x22\x20title=\x22','createPositionAt','length','end','1567713Tumqtm','8sgdCoS','95svqRZo','map','content','isIntersecting','874RBaokE','isArray','innerHTML','title'];_0x4479=function(){return _0x26fd60;};return _0x4479();}export function executeCommandForSuggestions(_0x25c7fc,_0x530488,_0x4843d7){const _0x176d2f=_0x5530;for(;_0x4843d7[_0x176d2f(0x148)];){const _0x28e204=_0x4843d7[_0x176d2f(0x145)](0x0,0x64);_0x25c7fc[_0x176d2f(0x12d)](()=>{const _0x3c767d=_0x176d2f;for(const _0x18ed9e of _0x28e204)_0x18ed9e[_0x3c767d(0x123)]&&_0x530488[_0x3c767d(0x127)](_0x18ed9e['id']);});}}
|