@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240611.0 → 0.0.0-nightly-20240613.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +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 +3 -3
- 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/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/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 _0x5241(_0x50ab9e,_0x1a2bce){const _0x32aa0c=_0x32aa();return _0x5241=function(_0x524155,_0x33ecae){_0x524155=_0x524155-0x66;let _0x482a61=_0x32aa0c[_0x524155];return _0x482a61;},_0x5241(_0x50ab9e,_0x1a2bce);}const _0x4cda54=_0x5241;(function(_0x6d464a,_0x2ea29e){const _0x3963a6=_0x5241,_0x2f78f9=_0x6d464a();while(!![]){try{const _0x3c91b1=-parseInt(_0x3963a6(0xc3))/0x1*(-parseInt(_0x3963a6(0xab))/0x2)+parseInt(_0x3963a6(0x90))/0x3+parseInt(_0x3963a6(0xa1))/0x4+-parseInt(_0x3963a6(0x89))/0x5*(-parseInt(_0x3963a6(0xd1))/0x6)+-parseInt(_0x3963a6(0x76))/0x7+-parseInt(_0x3963a6(0xc1))/0x8+-parseInt(_0x3963a6(0x74))/0x9;if(_0x3c91b1===_0x2ea29e)break;else _0x2f78f9['push'](_0x2f78f9['shift']());}catch(_0x3a7735){_0x2f78f9['push'](_0x2f78f9['shift']());}}}(_0x32aa,0x34d95));import{Plugin as _0x27c2fb}from'ckeditor5/src/core.js';import{Collection as _0x4a6db0}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5df35a,createDropdown as _0x5ea48e,ListSeparatorView as _0x1444b6,MenuBarMenuView as _0x142bdb,MenuBarMenuListView as _0x2248d1,MenuBarMenuListItemView as _0xe916b1,MenuBarMenuListItemButtonView as _0xcd5a95,SplitButtonView as _0x500439,ViewModel as _0x3c45ad}from'ckeditor5/src/ui.js';import{Users as _0x13ad96,getDateTimeFormatter as _0x2db1cd,getAllMarkersDomElementsSorted as _0x29ebe6}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5e2145 from'./trackchangesediting.js';import _0x504f48 from'./ui/suggestioncontroller.js';import _0x5776e0 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x18bb1f}from'./utils/common-translations.js';import _0x4be60c from'../theme/icons/track-changes.svg';export default class d extends _0x27c2fb{static get[_0x4cda54(0x7d)](){const _0xc63d61=_0x4cda54;return[_0x5e2145,_0x13ad96,_0xc63d61(0xd0),_0xc63d61(0x9c),_0xc63d61(0xdc)];}static get[_0x4cda54(0x72)](){const _0x45e1ff=_0x4cda54;return _0x45e1ff(0xe1);}constructor(_0x457e5d){const _0x4ee888=_0x4cda54;super(_0x457e5d),this[_0x4ee888(0x68)]=new Map(),this[_0x4ee888(0x97)]=new Map(),this[_0x4ee888(0x96)]=new Map(),this[_0x4ee888(0x85)]=new Map();const _0x10f1e5=this[_0x4ee888(0x7b)][_0x4ee888(0x69)];_0x10f1e5[_0x4ee888(0xce)](_0x4ee888(0x8a),_0x5776e0),_0x10f1e5[_0x4ee888(0xce)](_0x4ee888(0x75),!0x1),this[_0x4ee888(0xc6)]=_0x10f1e5[_0x4ee888(0x8d)](_0x4ee888(0x75));}[_0x4cda54(0xbd)](_0x368c1a,_0xfb0f33){const _0x5ca972=_0x4cda54;0x0===this[_0x5ca972(0x85)][_0x5ca972(0xdf)]&&setTimeout(()=>{const _0x1d4a9f=_0x5ca972;for(const [_0x4f5a02,_0x35457e]of this[_0x1d4a9f(0x85)]){const _0xd3329c=this[_0x1d4a9f(0x68)][_0x1d4a9f(0x6e)](_0x4f5a02);_0xd3329c||_0x35457e?_0xd3329c&&_0x35457e&&this[_0x1d4a9f(0xe8)](_0x4f5a02):this[_0x1d4a9f(0xf4)](_0x4f5a02);}this[_0x1d4a9f(0x85)][_0x1d4a9f(0x78)](),this[_0x1d4a9f(0x7b)][_0x1d4a9f(0xae)][_0x1d4a9f(0x8d)](_0x1d4a9f(0xdc))[_0x1d4a9f(0x67)](),this[_0x1d4a9f(0xa8)]();},0xa),this[_0x5ca972(0x85)][_0x5ca972(0xee)](_0x368c1a,_0xfb0f33);}[_0x4cda54(0x6f)](){const _0x3a212f=_0x4cda54,_0x52e9c8=this[_0x3a212f(0x7b)],_0x1ce1f2=_0x52e9c8[_0x3a212f(0xae)][_0x3a212f(0x8d)](_0x3a212f(0xcd)),_0x1d5c60=_0x52e9c8[_0x3a212f(0xae)][_0x3a212f(0x8d)](_0x3a212f(0x9c)),_0x39efb7=_0x52e9c8[_0x3a212f(0xae)][_0x3a212f(0x8d)](_0x3a212f(0xdc)),_0x3ee8f0=_0x52e9c8[_0x3a212f(0xae)][_0x3a212f(0x8d)](_0x3a212f(0xd0));this[_0x3a212f(0xcc)](),_0x39efb7[_0x3a212f(0xb2)](()=>{const _0x33ee27=_0x3a212f,_0x529265=[];for(const [_0x5f560f,_0xed6297]of Array[_0x33ee27(0x79)](this[_0x33ee27(0x68)])){const _0x1f145e=_0x5f560f[_0x33ee27(0x80)](),_0x46a316=[];for(const _0x3d07e0 of _0x1f145e){if(!_0x3d07e0[_0x33ee27(0xd8)])continue;if(_0x3d07e0[_0x33ee27(0xb6)]){_0x46a316[_0x33ee27(0xa2)](..._0x3d07e0[_0x33ee27(0xc8)]());continue;}const _0x24dcbf=_0x3d07e0[_0x33ee27(0x9b)]();if(_0x46a316[_0x33ee27(0xe9)]>0x0){const _0x49ba4c=_0x46a316[0x0][_0x33ee27(0xbf)](_0x24dcbf);if(_0x49ba4c){_0x46a316[0x0]=_0x49ba4c;continue;}}_0x46a316[_0x33ee27(0xa2)](_0x24dcbf);}_0x529265[_0x33ee27(0xa2)]([_0xed6297[_0x33ee27(0x6c)],_0x46a316]);}return _0x529265;}),this[_0x3a212f(0xc7)](_0x1ce1f2,_0x3a212f(0x95),(_0x4f8176,_0x616596)=>{const _0xe6557=_0x3a212f;this[_0xe6557(0xc7)](_0x616596,_0xe6557(0xa0),(_0x423b2a,_0x20f2f8,_0x5db610,_0x155b8a)=>{const _0x346b71=_0xe6557;_0x616596[_0x346b71(0xd8)]&&(null==_0x5db610?(this[_0x346b71(0xdd)](_0x155b8a[_0x346b71(0xe2)]),this[_0x346b71(0xbd)](_0x616596,!0x1)):(this[_0x346b71(0xdd)](_0x5db610[_0x346b71(0xe2)]),null==_0x155b8a&&this[_0x346b71(0xbd)](_0x616596,!0x0)));}),null!==_0x616596[_0xe6557(0x92)]?this[_0xe6557(0xdd)](_0x616596[_0xe6557(0xe2)]):this[_0xe6557(0xbd)](_0x616596,!0x1);}),this[_0x3a212f(0xc7)](_0x1ce1f2,_0x3a212f(0xe0),(_0x2e50ba,_0x24c3a9,_0x3003dd)=>{const _0x109ad3=_0x3a212f;this[_0x109ad3(0x91)](_0x24c3a9,_0x109ad3(0xa0)),this[_0x109ad3(0x85)][_0x109ad3(0x8e)](_0x24c3a9),this[_0x109ad3(0x68)][_0x109ad3(0x6e)](_0x24c3a9)&&this[_0x109ad3(0xe8)](_0x24c3a9),_0x3003dd&&this[_0x109ad3(0xdd)](_0x3003dd[_0x109ad3(0xe2)]);}),this[_0x3a212f(0xc7)](_0x1ce1f2,_0x3a212f(0xbe),(_0x2cbfe0,_0x1fb30e)=>{const _0x4c6ea2=_0x3a212f;this[_0x4c6ea2(0xdd)](_0x1fb30e);}),this[_0x3a212f(0xc7)](_0x1d5c60,_0x3a212f(0x66),()=>{const _0x4ff4db=_0x3a212f;this[_0x4ff4db(0xa8)]();}),this[_0x3a212f(0xc7)](_0x3ee8f0,_0x3a212f(0xe4),(_0x17fd3e,{threadId:_0x1cc400,isFromAdapter:_0x649b3a})=>{const _0x355208=_0x3a212f;if(_0x649b3a||!_0x1ce1f2[_0x355208(0x88)](_0x1cc400))return;const _0x1db20b=_0x1ce1f2[_0x355208(0xb4)](_0x1cc400);this[_0x355208(0x68)][_0x355208(0x8d)](_0x1db20b)[_0x355208(0x6c)][_0x355208(0x82)]();},{'priority':_0x3a212f(0x7c)});}[_0x4cda54(0xa8)](){const _0x4e0eb3=_0x4cda54,_0x20411a=this[_0x4e0eb3(0x7b)][_0x4e0eb3(0xae)][_0x4e0eb3(0x8d)](_0x4e0eb3(0x9c)),_0x36e43c=this[_0x4e0eb3(0x7b)][_0x4e0eb3(0xae)][_0x4e0eb3(0x8d)](_0x4e0eb3(0xcd)),_0x51c7bf=Array[_0x4e0eb3(0x79)](_0x20411a[_0x4e0eb3(0xd2)],_0x4602d1=>_0x4602d1[_0x4e0eb3(0x7f)])[_0x4e0eb3(0x9a)](_0x2eb6ef=>this[_0x4e0eb3(0x97)][_0x4e0eb3(0x6e)](_0x2eb6ef)),_0x1900bc=[];for(const _0x57730b of _0x51c7bf){const _0x583319=this[_0x4e0eb3(0x97)][_0x4e0eb3(0x8d)](_0x57730b)[_0x4e0eb3(0xcb)][_0x4e0eb3(0x80)]();_0x1900bc[_0x4e0eb3(0xa2)](..._0x583319[_0x4e0eb3(0xa7)]((_0x371167,_0xdbb265)=>[..._0x371167,..._0xdbb265[_0x4e0eb3(0xea)]()],[]));}_0x36e43c[_0x4e0eb3(0xeb)]=_0x1900bc;}[_0x4cda54(0xcc)](){const _0x4d4e5b=_0x4cda54,_0x58af65=this[_0x4d4e5b(0x7b)],_0x1b5371=_0x58af65[_0x4d4e5b(0x94)],_0x3c9617=_0x18bb1f(_0x1b5371,_0x4d4e5b(0xf2)),_0x1c6ac0=new _0x4a6db0([{'type':_0x4d4e5b(0xd7),'model':new _0x3c45ad({'withText':!0x0,'label':_0x3c9617,'commandName':_0x4d4e5b(0x98),'role':_0x4d4e5b(0xc5)})},{'type':_0x4d4e5b(0x77)},{'type':_0x4d4e5b(0x87),'model':new _0x3c45ad({'withText':!0x0,'label':_0x18bb1f(_0x1b5371,_0x4d4e5b(0x6b)),'commandName':_0x4d4e5b(0xb1),'role':_0x4d4e5b(0xb3)})},{'type':_0x4d4e5b(0x87),'model':new _0x3c45ad({'withText':!0x0,'label':_0x18bb1f(_0x1b5371,_0x4d4e5b(0xcf)),'commandName':_0x4d4e5b(0xb9),'role':_0x4d4e5b(0xb3)})},{'type':_0x4d4e5b(0x87),'model':new _0x3c45ad({'withText':!0x0,'label':_0x18bb1f(_0x1b5371,_0x4d4e5b(0xdb)),'commandName':_0x4d4e5b(0xa6),'role':_0x4d4e5b(0xb3)})},{'type':_0x4d4e5b(0x87),'model':new _0x3c45ad({'withText':!0x0,'label':_0x18bb1f(_0x1b5371,_0x4d4e5b(0xb7)),'commandName':_0x4d4e5b(0xd9),'role':_0x4d4e5b(0xb3)})}]);for(const _0x2dd098 of _0x1c6ac0)if(ae(_0x2dd098)){const _0x54a326=_0x58af65[_0x4d4e5b(0x84)][_0x4d4e5b(0x8d)](_0x2dd098[_0x4d4e5b(0xcb)][_0x4d4e5b(0xba)]);_0x2dd098[_0x4d4e5b(0xcb)][_0x4d4e5b(0xf1)](_0x4d4e5b(0xe7),_0x4d4e5b(0xec))['to'](_0x54a326,_0x4d4e5b(0x8f),_0x4d4e5b(0xec));}_0x58af65['ui'][_0x4d4e5b(0xde)][_0x4d4e5b(0xbb)](_0x4d4e5b(0x98),_0x44fd00=>this[_0x4d4e5b(0xf3)](_0x44fd00,_0x1c6ac0,_0x3c9617)),_0x58af65['ui'][_0x4d4e5b(0xde)][_0x4d4e5b(0xbb)](_0x4d4e5b(0x9e),_0x4918b3=>this[_0x4d4e5b(0xef)](_0x4918b3,_0x1c6ac0,_0x3c9617));}[_0x4cda54(0xf3)](_0x3ea006,_0x477966,_0x2397fe){const _0x5d4791=_0x4cda54,_0x102137=_0x5ea48e(_0x3ea006,_0x500439),_0x5f1ff1=this[_0x5d4791(0x7b)][_0x5d4791(0x84)][_0x5d4791(0x8d)](_0x5d4791(0x98));_0x102137[_0x5d4791(0x99)][_0x5d4791(0xee)]({'tooltip':_0x2397fe,'label':_0x2397fe,'icon':_0x4be60c}),_0x102137[_0x5d4791(0x99)][_0x5d4791(0xf1)](_0x5d4791(0xe7))['to'](_0x5f1ff1,_0x5d4791(0x8f)),_0x102137[_0x5d4791(0x99)]['on'](_0x5d4791(0xb5),()=>{const _0x4a231a=_0x5d4791;_0x5f1ff1[_0x4a231a(0xb5)](),this[_0x4a231a(0x7b)][_0x4a231a(0xbc)][_0x4a231a(0x6c)][_0x4a231a(0x82)]();}),_0x5df35a(_0x102137,_0x477966,{'role':_0x5d4791(0x81)});const _0x244c54=[];for(const _0x150b7a of _0x477966)ae(_0x150b7a)&&_0x244c54[_0x5d4791(0xa2)](this[_0x5d4791(0x7b)][_0x5d4791(0x84)][_0x5d4791(0x8d)](_0x150b7a[_0x5d4791(0xcb)][_0x5d4791(0xba)]));const _0x20a8b1=_0x102137[_0x5d4791(0x99)];return _0x20a8b1[_0x5d4791(0xa4)][_0x5d4791(0xaf)](_0x5d4791(0xec)),_0x20a8b1[_0x5d4791(0x71)][_0x5d4791(0xaf)](_0x5d4791(0xec)),_0x20a8b1[_0x5d4791(0xa4)][_0x5d4791(0xf1)](_0x5d4791(0xec))['to'](_0x5f1ff1,_0x5d4791(0xec)),_0x20a8b1[_0x5d4791(0x71)][_0x5d4791(0xf1)](_0x5d4791(0xec))[_0x5d4791(0x6a)](_0x244c54,_0x5d4791(0xec),(..._0x3ff2c3)=>_0x3ff2c3[_0x5d4791(0x70)](_0x5b3a40=>_0x5b3a40)),_0x102137['on'](_0x5d4791(0xb5),_0x3685a1=>{const _0x5c337e=_0x5d4791;this[_0x5c337e(0x7b)][_0x5c337e(0xb5)](_0x3685a1[_0x5c337e(0x93)][_0x5c337e(0xba)]),this[_0x5c337e(0x7b)][_0x5c337e(0xbc)][_0x5c337e(0x6c)][_0x5c337e(0x82)]();}),_0x102137;}[_0x4cda54(0xef)](_0xa42b51,_0x265ccf,_0x2702d7){const _0x2be685=_0x4cda54,_0x311f28=new _0x142bdb(_0xa42b51),_0x2a01f7=this[_0x2be685(0x7b)][_0x2be685(0x84)][_0x2be685(0x8d)](_0x2be685(0x98));_0x311f28[_0x2be685(0x99)][_0x2be685(0xee)]({'label':_0x2702d7,'icon':_0x4be60c});const _0x4f432c=new _0x2248d1(_0xa42b51);for(const _0x596c2e of _0x265ccf){if(_0x2be685(0x77)==_0x596c2e[_0x2be685(0x9f)]){_0x4f432c[_0x2be685(0xb8)][_0x2be685(0xbb)](new _0x1444b6(_0xa42b51));continue;}const _0x15d756=new _0xe916b1(_0xa42b51,_0x311f28),_0x4b1e2d=new _0xcd5a95(_0xa42b51),_0x5e7ce5=_0x596c2e[_0x2be685(0xcb)];_0x4b1e2d[_0x2be685(0xf1)](...Object[_0x2be685(0x6d)](_0x5e7ce5))['to'](_0x5e7ce5),_0x4b1e2d[_0x2be685(0xd4)](_0x2be685(0xb5))['to'](_0x311f28),_0x4b1e2d['on'](_0x2be685(0xb5),()=>{const _0x1a71e2=_0x2be685;this[_0x1a71e2(0x7b)][_0x1a71e2(0xb5)](_0x5e7ce5[_0x1a71e2(0xba)]),this[_0x1a71e2(0x7b)][_0x1a71e2(0xbc)][_0x1a71e2(0x6c)][_0x1a71e2(0x82)]();}),_0x15d756[_0x2be685(0x8c)][_0x2be685(0xbb)](_0x4b1e2d),_0x4f432c[_0x2be685(0xb8)][_0x2be685(0xbb)](_0x15d756);}return _0x311f28[_0x2be685(0xf1)](_0x2be685(0xec))['to'](_0x2a01f7,_0x2be685(0xec)),_0x311f28[_0x2be685(0xe6)][_0x2be685(0x8c)][_0x2be685(0xbb)](_0x4f432c),_0x311f28;}[_0x4cda54(0xf4)](_0xe93d7f){const _0x370fd1=_0x4cda54,_0x18f63b=this[_0x370fd1(0x7b)],_0x5d7606=_0x18f63b[_0x370fd1(0x69)],_0x357353=_0x18f63b[_0x370fd1(0xae)][_0x370fd1(0x8d)](_0x370fd1(0x9c)),_0x18caf9=_0x18f63b[_0x370fd1(0xae)][_0x370fd1(0x8d)](_0x370fd1(0xd0)),_0x5bd864=_0x18f63b[_0x370fd1(0xae)][_0x370fd1(0x8d)](_0x370fd1(0xdc)),_0x3d6c63=_0x18f63b[_0x370fd1(0xae)][_0x370fd1(0x8d)](_0x13ad96)['me'],_0x5f4ca4=_0x5d7606[_0x370fd1(0x8d)](_0x370fd1(0x98))[_0x370fd1(0xa3)],{CommentsListView:_0x52b68e,CommentThreadInputView:_0x50539f}=_0x18f63b[_0x370fd1(0xae)][_0x370fd1(0x8d)](_0x370fd1(0xe5));let _0x487572,_0x28e766;this[_0x370fd1(0x96)][_0x370fd1(0x6e)](_0xe93d7f['id'])?(_0x28e766=this[_0x370fd1(0x96)][_0x370fd1(0x8d)](_0xe93d7f['id']),_0x487572=_0x28e766[_0x370fd1(0xf5)]):(_0x487572=new _0x5f4ca4(_0x18f63b[_0x370fd1(0x94)],_0xe93d7f,_0x3d6c63,{'disableComments':this[_0x370fd1(0xc6)],'editorConfig':_0x5d7606[_0x370fd1(0x8d)](_0x370fd1(0xa5)),'maxCommentsWhenCollapsed':_0x5d7606[_0x370fd1(0x8d)](_0x370fd1(0xda)),'maxThreadTotalWeight':_0x5d7606[_0x370fd1(0x8d)](_0x370fd1(0xac)),'maxCommentCharsWhenCollapsed':_0x5d7606[_0x370fd1(0x8d)](_0x370fd1(0xa9)),'formatDateTime':_0x2db1cd(_0x5d7606[_0x370fd1(0x8d)](_0x370fd1(0x94))),'CommentView':_0x5d7606[_0x370fd1(0x8d)](_0x370fd1(0xb0))[_0x370fd1(0xd5)],'CommentsListView':_0x52b68e,'CommentThreadInputView':_0x50539f}),_0x487572[_0x370fd1(0xca)]['on'](_0x370fd1(0xb5),()=>{const _0x3d1672=_0x370fd1;_0x18f63b[_0x3d1672(0xbc)][_0x3d1672(0x6c)][_0x3d1672(0x82)]();}),_0x487572[_0x370fd1(0x73)]['on'](_0x370fd1(0xb5),()=>{const _0x10d171=_0x370fd1;_0x18f63b[_0x10d171(0xbc)][_0x10d171(0x6c)][_0x10d171(0x82)]();}),_0x28e766=_0x357353[_0x370fd1(0xad)](this[_0x370fd1(0x7b)][_0x370fd1(0x94)],_0x487572),_0x28e766[_0x370fd1(0xf1)](_0x370fd1(0xed))['to'](_0x487572,_0x370fd1(0xed)),_0x28e766[_0x370fd1(0xf1)](_0x370fd1(0xe9))['to'](_0x487572),_0x28e766[_0x370fd1(0xf1)](_0x370fd1(0x9f))['to'](_0x487572,_0x370fd1(0x9f),_0x1437b1=>_0x370fd1(0xc4)+_0x1437b1),this[_0x370fd1(0x96)][_0x370fd1(0xee)](_0xe93d7f['id'],_0x28e766));const _0x57e27a=_0x18caf9[_0x370fd1(0x83)](_0xe93d7f[_0x370fd1(0xd3)],_0x487572),_0x4f02ef=new _0x504f48(_0x18f63b,_0xe93d7f,_0x487572,_0x57e27a),_0x1822e7=_0xe93d7f[_0x370fd1(0x80)]()[_0x370fd1(0x9a)](_0x4bd0c8=>_0x4bd0c8[_0x370fd1(0xd8)]);_0x487572[_0x370fd1(0x7a)]=_0x18f63b[_0x370fd1(0xae)][_0x370fd1(0x8d)](_0x370fd1(0xcd))[_0x370fd1(0xaa)][_0x370fd1(0xe3)](_0x1822e7),this[_0x370fd1(0x68)][_0x370fd1(0xee)](_0xe93d7f,_0x4f02ef),this[_0x370fd1(0x97)][_0x370fd1(0xee)](_0x487572,_0x4f02ef);const _0x2eb596=_0x357353[_0x370fd1(0xc9)]({'view':_0x28e766,'target':()=>{const _0xf0e23a=_0x370fd1,_0x51e5b8=[],_0x22b7b4=_0xe93d7f[_0xf0e23a(0x80)]()[_0xf0e23a(0x9a)](_0x57c8d1=>_0x57c8d1[_0xf0e23a(0xd8)]);for(const _0x4c647d of _0x22b7b4)_0x51e5b8[_0xf0e23a(0xa2)](..._0x4c647d[_0xf0e23a(0xc2)]());return _0x29ebe6(_0x18f63b[_0xf0e23a(0xbc)],_0x51e5b8);},'type':()=>_0x370fd1(0xc4)+_0x4f02ef[_0x370fd1(0x6c)][_0x370fd1(0x9f)]});_0x18caf9[_0x370fd1(0x7e)](_0x487572,_0x2eb596),_0x357353[_0x370fd1(0xbb)](_0x2eb596),_0x5bd864[_0x370fd1(0xd6)](_0x2eb596);}[_0x4cda54(0xe8)](_0x1614c4){const _0x4cea73=_0x4cda54,_0x44f330=this[_0x4cea73(0x7b)][_0x4cea73(0xae)][_0x4cea73(0x8d)](_0x4cea73(0xd0)),_0x2a66a5=this[_0x4cea73(0x7b)][_0x4cea73(0xae)][_0x4cea73(0x8d)](_0x4cea73(0x9c)),_0x15ce31=this[_0x4cea73(0x68)][_0x4cea73(0x8d)](_0x1614c4),_0x1f8206=_0x15ce31[_0x4cea73(0x6c)],_0x23386d=_0x2a66a5[_0x4cea73(0xc0)](_0x1f8206);_0x44f330[_0x4cea73(0xf0)](_0x1f8206),_0x23386d&&_0x2a66a5[_0x4cea73(0x86)](_0x23386d),this[_0x4cea73(0x68)][_0x4cea73(0x8e)](_0x1614c4),this[_0x4cea73(0x97)][_0x4cea73(0x8e)](_0x1f8206),_0x15ce31[_0x4cea73(0x8b)]();}[_0x4cda54(0xdd)](_0x472b7b){const _0x3debf0=_0x4cda54;if(!_0x472b7b[_0x3debf0(0xd8)]||!this[_0x3debf0(0x68)][_0x3debf0(0x6e)](_0x472b7b))return;const _0xafb1cb=this[_0x3debf0(0x7b)][_0x3debf0(0xae)][_0x3debf0(0x8d)](_0x3debf0(0xcd)),_0x5f3bc7=this[_0x3debf0(0x68)][_0x3debf0(0x8d)](_0x472b7b),_0x26ed51=_0x472b7b[_0x3debf0(0x80)]();_0x5f3bc7[_0x3debf0(0x6c)][_0x3debf0(0x7a)]=_0xafb1cb[_0x3debf0(0xaa)][_0x3debf0(0xe3)](_0x26ed51);}[_0x4cda54(0x8b)](){const _0x226eb4=_0x4cda54;for(const _0x4f36e3 of this[_0x226eb4(0x68)][_0x226eb4(0x6d)]())this[_0x226eb4(0xe8)](_0x4f36e3);for(const _0x2a0597 of this[_0x226eb4(0x96)][_0x226eb4(0x9d)]())_0x2a0597[_0x226eb4(0xf5)][_0x226eb4(0x8b)]();super[_0x226eb4(0x8b)]();}}function ae(_0x21cfd6){const _0xda3277=_0x4cda54;return _0xda3277(0xcb)in _0x21cfd6;}function _0x32aa(){const _0xb6ffe9=['_handleSuggestionControllerDelayed','suggestionChanged','getJoined','getByInnerView','2542248ZSSApO','getMarkers','53309yFpOQh','suggestion-','menuitemcheckbox','_disableComments','listenTo','getRanges','createAnnotation','acceptButton','model','_addUIComponentsToFactory','TrackChangesEditing','define','Accept\x20all\x20selected\x20suggestions','CommentsRepository','6HfXSTt','activeAnnotations','commentThread','delegate','CommentView','registerAnnotation','switchbutton','isInContent','discardSelectedSuggestions','comments.maxCommentsWhenCollapsed','Discard\x20all\x20suggestions','EditorAnnotations','_updateController','componentFactory','size','suggestionUnloaded','TrackChangesUI','head','getDescriptions','addComment','CommentsUI','panelView','isOn','_destroyController','length','getMarkerNames','activeMarkers','isEnabled','isDirty','set','_createMenuBarMenu','_unbindEditors','bind','Track\x20changes','_createToolbarButton','_initializeController','mainView','change:activeAnnotations','refreshSelectedViews','_suggestionToController','config','toMany','Accept\x20all\x20suggestions','view','keys','has','init','some','arrowView','pluginName','discardButton','968157vNribZ','trackChanges.disableComments','1469748TERXmW','separator','clear','from','descriptionParts','editor','lowest','requires','_bindAnnotationToEditors','innerView','getAllAdjacentSuggestions','menu','focus','createCommentThreadController','commands','_handleControllerBuffer','remove','button','hasSuggestion','45805iokvWY','trackChanges.SuggestionThreadView','destroy','children','get','delete','value','687375JjEuAv','stopListening','previous','source','locale','suggestionLoaded','_annotationViews','_viewToController','trackChanges','buttonView','filter','getFirstRange','Annotations','values','menuBar:trackChanges','type','change:previous','1174588AeFEDR','push','SuggestionThreadView','actionView','comments.editorConfig','discardAllSuggestions','reduce','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','descriptionFactory','12ElIuTp','comments.maxThreadTotalWeight','createAnnotationView','plugins','unbind','comments','acceptAllSuggestions','addSourceCollector','menuitem','getSuggestion','execute','isMultiRange','Discard\x20all\x20selected\x20suggestions','items','acceptSelectedSuggestions','commandName','add','editing'];_0x32aa=function(){return _0xb6ffe9;};return _0x32aa();}
|
|
23
|
+
const _0x13a2eb=_0x1ce9;function _0x4930(){const _0x4e86dd=['view','getMarkerNames','filter','223091pcrKxB','menuBar:trackChanges','_handleControllerBuffer','has','_annotationViews','Annotations','arrowView','model','clear','descriptionParts','add','isMultiRange','EditorAnnotations','isEnabled','4348BPwnjy','innerView','activeAnnotations','_destroyController','createAnnotationView','CommentView','suggestion-','CommentsUI','Accept\x20all\x20suggestions','init','values','editor','trackChanges.disableComments','trackChanges','items','hasSuggestion','_handleSuggestionControllerDelayed','getSuggestion','remove','trackChanges.SuggestionThreadView','createAnnotation','requires','push','getMarkers','getFirstRange','_unbindEditors','SuggestionThreadView','getRanges','78rjwCsC','18244ZRiRoZ','switchbutton','suggestionUnloaded','from','6MEWFwK','comments.editorConfig','descriptionFactory','acceptButton','type','separator','keys','Accept\x20all\x20selected\x20suggestions','stopListening','createCommentThreadController','Discard\x20all\x20selected\x20suggestions','delete','getDescriptions','pluginName','buttonView','213gwLOXg','getAllAdjacentSuggestions','_initializeController','config','value','editing','getJoined','change:previous','suggestionChanged','commands','96kLCTUv','length','acceptAllSuggestions','comments.maxCommentCharsWhenCollapsed','listenTo','bind','delegate','_addUIComponentsToFactory','Discard\x20all\x20suggestions','plugins','set','menuitemcheckbox','unbind','locale','_viewToController','focus','define','_suggestionToController','get','head','commandName','_createToolbarButton','_bindAnnotationToEditors','Track\x20changes','addComment','3691270MGjmgF','3199021slwcxa','addSourceCollector','getByInnerView','menu','discardSelectedSuggestions','toMany','TrackChangesEditing','reduce','size','isInContent','previous','registerAnnotation','comments.maxCommentsWhenCollapsed','isDirty','isOn','comments','comments.maxThreadTotalWeight','2862605lxTJwz','panelView','suggestionLoaded','change:activeAnnotations','button','_disableComments','destroy','8pHzsLs','discardAllSuggestions','activeMarkers','CommentsRepository','mainView','commentThread','1944711ZeRuDe','discardButton','acceptSelectedSuggestions','TrackChangesUI','menuitem','some','children','_updateController','_refreshActiveMarkers','source','actionView','refreshSelectedViews','lowest','_createMenuBarMenu','componentFactory','execute'];_0x4930=function(){return _0x4e86dd;};return _0x4930();}(function(_0x50a52e,_0x5cb8df){const _0xff7a53=_0x1ce9,_0x37a0e9=_0x50a52e();while(!![]){try{const _0x2da04a=-parseInt(_0xff7a53(0xd6))/0x1*(parseInt(_0xff7a53(0x139))/0x2)+parseInt(_0xff7a53(0x155))/0x3*(-parseInt(_0xff7a53(0x156))/0x4)+parseInt(_0xff7a53(0x10b))/0x5*(parseInt(_0xff7a53(0x15a))/0x6)+-parseInt(_0xff7a53(0xfa))/0x7*(-parseInt(_0xff7a53(0x112))/0x8)+parseInt(_0xff7a53(0x118))/0x9+-parseInt(_0xff7a53(0xf9))/0xa+-parseInt(_0xff7a53(0x12b))/0xb*(-parseInt(_0xff7a53(0xe0))/0xc);if(_0x2da04a===_0x5cb8df)break;else _0x37a0e9['push'](_0x37a0e9['shift']());}catch(_0x4c6d87){_0x37a0e9['push'](_0x37a0e9['shift']());}}}(_0x4930,0x6f974));function _0x1ce9(_0x45a4ff,_0x501734){const _0x49302c=_0x4930();return _0x1ce9=function(_0x1ce9aa,_0x3de137){_0x1ce9aa=_0x1ce9aa-0xce;let _0x34fb87=_0x49302c[_0x1ce9aa];return _0x34fb87;},_0x1ce9(_0x45a4ff,_0x501734);}import{Plugin as _0x20c643}from'ckeditor5/src/core.js';import{Collection as _0x4e0ac1}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3e74df,createDropdown as _0xd16f58,ListSeparatorView as _0x379b1d,MenuBarMenuView as _0x2ca91d,MenuBarMenuListView as _0x3e70f0,MenuBarMenuListItemView as _0x3b5df0,MenuBarMenuListItemButtonView as _0x5cceea,SplitButtonView as _0x3750a5,ViewModel as _0x2a527b}from'ckeditor5/src/ui.js';import{Users as _0x387051,getDateTimeFormatter as _0x592828,getAllMarkersDomElementsSorted as _0x2ba571}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x58f8bc from'./trackchangesediting.js';import _0xdf46a7 from'./ui/suggestioncontroller.js';import _0x498a87 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x3c293a}from'./utils/common-translations.js';import _0x5bb5f5 from'../theme/icons/track-changes.svg';export default class d extends _0x20c643{static get[_0x13a2eb(0x14e)](){const _0x28100c=_0x13a2eb;return[_0x58f8bc,_0x387051,_0x28100c(0x115),_0x28100c(0x130),_0x28100c(0x137)];}static get[_0x13a2eb(0xd4)](){const _0x4b95d7=_0x13a2eb;return _0x4b95d7(0x11b);}constructor(_0x356e77){const _0x5f2e2b=_0x13a2eb;super(_0x356e77),this[_0x5f2e2b(0xf1)]=new Map(),this[_0x5f2e2b(0xee)]=new Map(),this[_0x5f2e2b(0x12f)]=new Map(),this[_0x5f2e2b(0x12d)]=new Map();const _0x33e769=this[_0x5f2e2b(0x144)][_0x5f2e2b(0xd9)];_0x33e769[_0x5f2e2b(0xf0)](_0x5f2e2b(0x14c),_0x498a87),_0x33e769[_0x5f2e2b(0xf0)](_0x5f2e2b(0x145),!0x1),this[_0x5f2e2b(0x110)]=_0x33e769[_0x5f2e2b(0xf2)](_0x5f2e2b(0x145));}[_0x13a2eb(0x149)](_0x31c2ad,_0x35d828){const _0x2511c5=_0x13a2eb;0x0===this[_0x2511c5(0x12d)][_0x2511c5(0x102)]&&setTimeout(()=>{const _0xa076d3=_0x2511c5;for(const [_0x9c1c24,_0x4e6584]of this[_0xa076d3(0x12d)]){const _0x5bca4b=this[_0xa076d3(0xf1)][_0xa076d3(0x12e)](_0x9c1c24);_0x5bca4b||_0x4e6584?_0x5bca4b&&_0x4e6584&&this[_0xa076d3(0x13c)](_0x9c1c24):this[_0xa076d3(0xd8)](_0x9c1c24);}this[_0xa076d3(0x12d)][_0xa076d3(0x133)](),this[_0xa076d3(0x144)][_0xa076d3(0xe9)][_0xa076d3(0xf2)](_0xa076d3(0x137))[_0xa076d3(0x123)](),this[_0xa076d3(0x120)]();},0xa),this[_0x2511c5(0x12d)][_0x2511c5(0xea)](_0x31c2ad,_0x35d828);}[_0x13a2eb(0x142)](){const _0x1fe5d8=_0x13a2eb,_0x3971d9=this[_0x1fe5d8(0x144)],_0x3502f0=_0x3971d9[_0x1fe5d8(0xe9)][_0x1fe5d8(0xf2)](_0x1fe5d8(0x100)),_0x3f7428=_0x3971d9[_0x1fe5d8(0xe9)][_0x1fe5d8(0xf2)](_0x1fe5d8(0x130)),_0x145d86=_0x3971d9[_0x1fe5d8(0xe9)][_0x1fe5d8(0xf2)](_0x1fe5d8(0x137)),_0x2445e4=_0x3971d9[_0x1fe5d8(0xe9)][_0x1fe5d8(0xf2)](_0x1fe5d8(0x115));this[_0x1fe5d8(0xe7)](),_0x145d86[_0x1fe5d8(0xfb)](()=>{const _0x5ba8d9=_0x1fe5d8,_0x4fb7de=[];for(const [_0x505249,_0x3792eb]of Array[_0x5ba8d9(0x159)](this[_0x5ba8d9(0xf1)])){const _0x232956=_0x505249[_0x5ba8d9(0xd7)](),_0x2c427c=[];for(const _0xe892fa of _0x232956){if(!_0xe892fa[_0x5ba8d9(0x103)])continue;if(_0xe892fa[_0x5ba8d9(0x136)]){_0x2c427c[_0x5ba8d9(0x14f)](..._0xe892fa[_0x5ba8d9(0x154)]());continue;}const _0x182a33=_0xe892fa[_0x5ba8d9(0x151)]();if(_0x2c427c[_0x5ba8d9(0xe1)]>0x0){const _0x406eb4=_0x2c427c[0x0][_0x5ba8d9(0xdc)](_0x182a33);if(_0x406eb4){_0x2c427c[0x0]=_0x406eb4;continue;}}_0x2c427c[_0x5ba8d9(0x14f)](_0x182a33);}_0x4fb7de[_0x5ba8d9(0x14f)]([_0x3792eb[_0x5ba8d9(0x128)],_0x2c427c]);}return _0x4fb7de;}),this[_0x1fe5d8(0xe4)](_0x3502f0,_0x1fe5d8(0x10d),(_0x52a812,_0x46445b)=>{const _0xe67475=_0x1fe5d8;this[_0xe67475(0xe4)](_0x46445b,_0xe67475(0xdd),(_0x1ab4bd,_0x3cd2ee,_0x39aaf3,_0x3c136f)=>{const _0x6c9443=_0xe67475;_0x46445b[_0x6c9443(0x103)]&&(null==_0x39aaf3?(this[_0x6c9443(0x11f)](_0x3c136f[_0x6c9443(0xf3)]),this[_0x6c9443(0x149)](_0x46445b,!0x1)):(this[_0x6c9443(0x11f)](_0x39aaf3[_0x6c9443(0xf3)]),null==_0x3c136f&&this[_0x6c9443(0x149)](_0x46445b,!0x0)));}),null!==_0x46445b[_0xe67475(0x104)]?this[_0xe67475(0x11f)](_0x46445b[_0xe67475(0xf3)]):this[_0xe67475(0x149)](_0x46445b,!0x1);}),this[_0x1fe5d8(0xe4)](_0x3502f0,_0x1fe5d8(0x158),(_0x2aa4b4,_0x5ca960,_0x451b73)=>{const _0x439e3d=_0x1fe5d8;this[_0x439e3d(0xcf)](_0x5ca960,_0x439e3d(0xdd)),this[_0x439e3d(0x12d)][_0x439e3d(0xd2)](_0x5ca960),this[_0x439e3d(0xf1)][_0x439e3d(0x12e)](_0x5ca960)&&this[_0x439e3d(0x13c)](_0x5ca960),_0x451b73&&this[_0x439e3d(0x11f)](_0x451b73[_0x439e3d(0xf3)]);}),this[_0x1fe5d8(0xe4)](_0x3502f0,_0x1fe5d8(0xde),(_0x3468d6,_0x161add)=>{const _0x14feaf=_0x1fe5d8;this[_0x14feaf(0x11f)](_0x161add);}),this[_0x1fe5d8(0xe4)](_0x3f7428,_0x1fe5d8(0x10e),()=>{const _0x284435=_0x1fe5d8;this[_0x284435(0x120)]();}),this[_0x1fe5d8(0xe4)](_0x2445e4,_0x1fe5d8(0xf8),(_0x30812b,{threadId:_0x1b119b,isFromAdapter:_0xcb8797})=>{const _0x1d959b=_0x1fe5d8;if(_0xcb8797||!_0x3502f0[_0x1d959b(0x148)](_0x1b119b))return;const _0x50a3a4=_0x3502f0[_0x1d959b(0x14a)](_0x1b119b);this[_0x1d959b(0xf1)][_0x1d959b(0xf2)](_0x50a3a4)[_0x1d959b(0x128)][_0x1d959b(0xef)]();},{'priority':_0x1fe5d8(0x124)});}[_0x13a2eb(0x120)](){const _0x11b31e=_0x13a2eb,_0xe3228b=this[_0x11b31e(0x144)][_0x11b31e(0xe9)][_0x11b31e(0xf2)](_0x11b31e(0x130)),_0x2fb634=this[_0x11b31e(0x144)][_0x11b31e(0xe9)][_0x11b31e(0xf2)](_0x11b31e(0x100)),_0x2c6755=Array[_0x11b31e(0x159)](_0xe3228b[_0x11b31e(0x13b)],_0x43c891=>_0x43c891[_0x11b31e(0x13a)])[_0x11b31e(0x12a)](_0x3b72ee=>this[_0x11b31e(0xee)][_0x11b31e(0x12e)](_0x3b72ee)),_0x293d64=[];for(const _0x4dba99 of _0x2c6755){const _0x173eae=this[_0x11b31e(0xee)][_0x11b31e(0xf2)](_0x4dba99)[_0x11b31e(0x132)][_0x11b31e(0xd7)]();_0x293d64[_0x11b31e(0x14f)](..._0x173eae[_0x11b31e(0x101)]((_0x3e0b6f,_0x5ba7ef)=>[..._0x3e0b6f,..._0x5ba7ef[_0x11b31e(0x129)]()],[]));}_0x2fb634[_0x11b31e(0x114)]=_0x293d64;}[_0x13a2eb(0xe7)](){const _0x3ae261=_0x13a2eb,_0x1ee357=this[_0x3ae261(0x144)],_0x1fc1cd=_0x1ee357[_0x3ae261(0xed)],_0x4402c5=_0x3c293a(_0x1fc1cd,_0x3ae261(0xf7)),_0x505c63=new _0x4e0ac1([{'type':_0x3ae261(0x157),'model':new _0x2a527b({'withText':!0x0,'label':_0x4402c5,'commandName':_0x3ae261(0x146),'role':_0x3ae261(0xeb)})},{'type':_0x3ae261(0x15f)},{'type':_0x3ae261(0x10f),'model':new _0x2a527b({'withText':!0x0,'label':_0x3c293a(_0x1fc1cd,_0x3ae261(0x141)),'commandName':_0x3ae261(0xe2),'role':_0x3ae261(0x11c)})},{'type':_0x3ae261(0x10f),'model':new _0x2a527b({'withText':!0x0,'label':_0x3c293a(_0x1fc1cd,_0x3ae261(0xce)),'commandName':_0x3ae261(0x11a),'role':_0x3ae261(0x11c)})},{'type':_0x3ae261(0x10f),'model':new _0x2a527b({'withText':!0x0,'label':_0x3c293a(_0x1fc1cd,_0x3ae261(0xe8)),'commandName':_0x3ae261(0x113),'role':_0x3ae261(0x11c)})},{'type':_0x3ae261(0x10f),'model':new _0x2a527b({'withText':!0x0,'label':_0x3c293a(_0x1fc1cd,_0x3ae261(0xd1)),'commandName':_0x3ae261(0xfe),'role':_0x3ae261(0x11c)})}]);for(const _0x2849c0 of _0x505c63)if(ae(_0x2849c0)){const _0x5a8984=_0x1ee357[_0x3ae261(0xdf)][_0x3ae261(0xf2)](_0x2849c0[_0x3ae261(0x132)][_0x3ae261(0xf4)]);_0x2849c0[_0x3ae261(0x132)][_0x3ae261(0xe5)](_0x3ae261(0x108),_0x3ae261(0x138))['to'](_0x5a8984,_0x3ae261(0xda),_0x3ae261(0x138));}_0x1ee357['ui'][_0x3ae261(0x126)][_0x3ae261(0x135)](_0x3ae261(0x146),_0x12a292=>this[_0x3ae261(0xf5)](_0x12a292,_0x505c63,_0x4402c5)),_0x1ee357['ui'][_0x3ae261(0x126)][_0x3ae261(0x135)](_0x3ae261(0x12c),_0x136211=>this[_0x3ae261(0x125)](_0x136211,_0x505c63,_0x4402c5));}[_0x13a2eb(0xf5)](_0x49ad98,_0x8a79df,_0x5724e2){const _0x74f01f=_0x13a2eb,_0x22ec3d=_0xd16f58(_0x49ad98,_0x3750a5),_0x2b1009=this[_0x74f01f(0x144)][_0x74f01f(0xdf)][_0x74f01f(0xf2)](_0x74f01f(0x146));_0x22ec3d[_0x74f01f(0xd5)][_0x74f01f(0xea)]({'tooltip':_0x5724e2,'label':_0x5724e2,'icon':_0x5bb5f5}),_0x22ec3d[_0x74f01f(0xd5)][_0x74f01f(0xe5)](_0x74f01f(0x108))['to'](_0x2b1009,_0x74f01f(0xda)),_0x22ec3d[_0x74f01f(0xd5)]['on'](_0x74f01f(0x127),()=>{const _0x1e8a36=_0x74f01f;_0x2b1009[_0x1e8a36(0x127)](),this[_0x1e8a36(0x144)][_0x1e8a36(0xdb)][_0x1e8a36(0x128)][_0x1e8a36(0xef)]();}),_0x3e74df(_0x22ec3d,_0x8a79df,{'role':_0x74f01f(0xfd)});const _0x297d5f=[];for(const _0x1487c2 of _0x8a79df)ae(_0x1487c2)&&_0x297d5f[_0x74f01f(0x14f)](this[_0x74f01f(0x144)][_0x74f01f(0xdf)][_0x74f01f(0xf2)](_0x1487c2[_0x74f01f(0x132)][_0x74f01f(0xf4)]));const _0x440546=_0x22ec3d[_0x74f01f(0xd5)];return _0x440546[_0x74f01f(0x122)][_0x74f01f(0xec)](_0x74f01f(0x138)),_0x440546[_0x74f01f(0x131)][_0x74f01f(0xec)](_0x74f01f(0x138)),_0x440546[_0x74f01f(0x122)][_0x74f01f(0xe5)](_0x74f01f(0x138))['to'](_0x2b1009,_0x74f01f(0x138)),_0x440546[_0x74f01f(0x131)][_0x74f01f(0xe5)](_0x74f01f(0x138))[_0x74f01f(0xff)](_0x297d5f,_0x74f01f(0x138),(..._0x2223d3)=>_0x2223d3[_0x74f01f(0x11d)](_0x145168=>_0x145168)),_0x22ec3d['on'](_0x74f01f(0x127),_0x23b2f5=>{const _0x5c7f0d=_0x74f01f;this[_0x5c7f0d(0x144)][_0x5c7f0d(0x127)](_0x23b2f5[_0x5c7f0d(0x121)][_0x5c7f0d(0xf4)]),this[_0x5c7f0d(0x144)][_0x5c7f0d(0xdb)][_0x5c7f0d(0x128)][_0x5c7f0d(0xef)]();}),_0x22ec3d;}[_0x13a2eb(0x125)](_0x14d325,_0x1926f0,_0x5dc51d){const _0x43c51b=_0x13a2eb,_0x5ce64c=new _0x2ca91d(_0x14d325),_0x33ea7a=this[_0x43c51b(0x144)][_0x43c51b(0xdf)][_0x43c51b(0xf2)](_0x43c51b(0x146));_0x5ce64c[_0x43c51b(0xd5)][_0x43c51b(0xea)]({'label':_0x5dc51d,'icon':_0x5bb5f5});const _0x57e49f=new _0x3e70f0(_0x14d325);for(const _0x3e4e4a of _0x1926f0){if(_0x43c51b(0x15f)==_0x3e4e4a[_0x43c51b(0x15e)]){_0x57e49f[_0x43c51b(0x147)][_0x43c51b(0x135)](new _0x379b1d(_0x14d325));continue;}const _0x5b5939=new _0x3b5df0(_0x14d325,_0x5ce64c),_0x2f9813=new _0x5cceea(_0x14d325),_0x3a50ae=_0x3e4e4a[_0x43c51b(0x132)];_0x2f9813[_0x43c51b(0xe5)](...Object[_0x43c51b(0x160)](_0x3a50ae))['to'](_0x3a50ae),_0x2f9813[_0x43c51b(0xe6)](_0x43c51b(0x127))['to'](_0x5ce64c),_0x2f9813['on'](_0x43c51b(0x127),()=>{const _0x397e36=_0x43c51b;this[_0x397e36(0x144)][_0x397e36(0x127)](_0x3a50ae[_0x397e36(0xf4)]),this[_0x397e36(0x144)][_0x397e36(0xdb)][_0x397e36(0x128)][_0x397e36(0xef)]();}),_0x5b5939[_0x43c51b(0x11e)][_0x43c51b(0x135)](_0x2f9813),_0x57e49f[_0x43c51b(0x147)][_0x43c51b(0x135)](_0x5b5939);}return _0x5ce64c[_0x43c51b(0xe5)](_0x43c51b(0x138))['to'](_0x33ea7a,_0x43c51b(0x138)),_0x5ce64c[_0x43c51b(0x10c)][_0x43c51b(0x11e)][_0x43c51b(0x135)](_0x57e49f),_0x5ce64c;}[_0x13a2eb(0xd8)](_0x30b718){const _0x91fae9=_0x13a2eb,_0x2483b9=this[_0x91fae9(0x144)],_0x3344de=_0x2483b9[_0x91fae9(0xd9)],_0x12bc65=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x130)),_0x172953=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x115)),_0x466a3f=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x137)),_0x55a612=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x387051)['me'],_0x53f25e=_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x146))[_0x91fae9(0x153)],{CommentsListView:_0x2290c7,CommentThreadInputView:_0x56b4f6}=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x140));let _0x1a9d3a,_0x2d37ea;this[_0x91fae9(0x12f)][_0x91fae9(0x12e)](_0x30b718['id'])?(_0x2d37ea=this[_0x91fae9(0x12f)][_0x91fae9(0xf2)](_0x30b718['id']),_0x1a9d3a=_0x2d37ea[_0x91fae9(0x116)]):(_0x1a9d3a=new _0x53f25e(_0x2483b9[_0x91fae9(0xed)],_0x30b718,_0x55a612,{'disableComments':this[_0x91fae9(0x110)],'editorConfig':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x15b)),'maxCommentsWhenCollapsed':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x106)),'maxThreadTotalWeight':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x10a)),'maxCommentCharsWhenCollapsed':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0xe3)),'formatDateTime':_0x592828(_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0xed))),'CommentView':_0x3344de[_0x91fae9(0xf2)](_0x91fae9(0x109))[_0x91fae9(0x13e)],'CommentsListView':_0x2290c7,'CommentThreadInputView':_0x56b4f6}),_0x1a9d3a[_0x91fae9(0x15d)]['on'](_0x91fae9(0x127),()=>{const _0x698c85=_0x91fae9;_0x2483b9[_0x698c85(0xdb)][_0x698c85(0x128)][_0x698c85(0xef)]();}),_0x1a9d3a[_0x91fae9(0x119)]['on'](_0x91fae9(0x127),()=>{const _0x114c73=_0x91fae9;_0x2483b9[_0x114c73(0xdb)][_0x114c73(0x128)][_0x114c73(0xef)]();}),_0x2d37ea=_0x12bc65[_0x91fae9(0x13d)](this[_0x91fae9(0x144)][_0x91fae9(0xed)],_0x1a9d3a),_0x2d37ea[_0x91fae9(0xe5)](_0x91fae9(0x107))['to'](_0x1a9d3a,_0x91fae9(0x107)),_0x2d37ea[_0x91fae9(0xe5)](_0x91fae9(0xe1))['to'](_0x1a9d3a),_0x2d37ea[_0x91fae9(0xe5)](_0x91fae9(0x15e))['to'](_0x1a9d3a,_0x91fae9(0x15e),_0x5dfa16=>_0x91fae9(0x13f)+_0x5dfa16),this[_0x91fae9(0x12f)][_0x91fae9(0xea)](_0x30b718['id'],_0x2d37ea));const _0x94f8a4=_0x172953[_0x91fae9(0xd0)](_0x30b718[_0x91fae9(0x117)],_0x1a9d3a),_0x3cbf92=new _0xdf46a7(_0x2483b9,_0x30b718,_0x1a9d3a,_0x94f8a4),_0x39420f=_0x30b718[_0x91fae9(0xd7)]()[_0x91fae9(0x12a)](_0x737e5=>_0x737e5[_0x91fae9(0x103)]);_0x1a9d3a[_0x91fae9(0x134)]=_0x2483b9[_0x91fae9(0xe9)][_0x91fae9(0xf2)](_0x91fae9(0x100))[_0x91fae9(0x15c)][_0x91fae9(0xd3)](_0x39420f),this[_0x91fae9(0xf1)][_0x91fae9(0xea)](_0x30b718,_0x3cbf92),this[_0x91fae9(0xee)][_0x91fae9(0xea)](_0x1a9d3a,_0x3cbf92);const _0xc42029=_0x12bc65[_0x91fae9(0x14d)]({'view':_0x2d37ea,'target':()=>{const _0x1d2303=_0x91fae9,_0x3b57a8=[],_0x38b29e=_0x30b718[_0x1d2303(0xd7)]()[_0x1d2303(0x12a)](_0x464765=>_0x464765[_0x1d2303(0x103)]);for(const _0x55a2fe of _0x38b29e)_0x3b57a8[_0x1d2303(0x14f)](..._0x55a2fe[_0x1d2303(0x150)]());return _0x2ba571(_0x2483b9[_0x1d2303(0xdb)],_0x3b57a8);},'type':()=>_0x91fae9(0x13f)+_0x3cbf92[_0x91fae9(0x128)][_0x91fae9(0x15e)]});_0x172953[_0x91fae9(0xf6)](_0x1a9d3a,_0xc42029),_0x12bc65[_0x91fae9(0x135)](_0xc42029),_0x466a3f[_0x91fae9(0x105)](_0xc42029);}[_0x13a2eb(0x13c)](_0x249595){const _0x32cdef=_0x13a2eb,_0x173048=this[_0x32cdef(0x144)][_0x32cdef(0xe9)][_0x32cdef(0xf2)](_0x32cdef(0x115)),_0x2e1fe7=this[_0x32cdef(0x144)][_0x32cdef(0xe9)][_0x32cdef(0xf2)](_0x32cdef(0x130)),_0xec7345=this[_0x32cdef(0xf1)][_0x32cdef(0xf2)](_0x249595),_0x3b5e61=_0xec7345[_0x32cdef(0x128)],_0x2eac05=_0x2e1fe7[_0x32cdef(0xfc)](_0x3b5e61);_0x173048[_0x32cdef(0x152)](_0x3b5e61),_0x2eac05&&_0x2e1fe7[_0x32cdef(0x14b)](_0x2eac05),this[_0x32cdef(0xf1)][_0x32cdef(0xd2)](_0x249595),this[_0x32cdef(0xee)][_0x32cdef(0xd2)](_0x3b5e61),_0xec7345[_0x32cdef(0x111)]();}[_0x13a2eb(0x11f)](_0x1e2f77){const _0x5defdf=_0x13a2eb;if(!_0x1e2f77[_0x5defdf(0x103)]||!this[_0x5defdf(0xf1)][_0x5defdf(0x12e)](_0x1e2f77))return;const _0x4b8c62=this[_0x5defdf(0x144)][_0x5defdf(0xe9)][_0x5defdf(0xf2)](_0x5defdf(0x100)),_0x464f89=this[_0x5defdf(0xf1)][_0x5defdf(0xf2)](_0x1e2f77),_0x3cba41=_0x1e2f77[_0x5defdf(0xd7)]();_0x464f89[_0x5defdf(0x128)][_0x5defdf(0x134)]=_0x4b8c62[_0x5defdf(0x15c)][_0x5defdf(0xd3)](_0x3cba41);}[_0x13a2eb(0x111)](){const _0x21f7bb=_0x13a2eb;for(const _0x2c8a8b of this[_0x21f7bb(0xf1)][_0x21f7bb(0x160)]())this[_0x21f7bb(0x13c)](_0x2c8a8b);for(const _0x4718ac of this[_0x21f7bb(0x12f)][_0x21f7bb(0x143)]())_0x4718ac[_0x21f7bb(0x116)][_0x21f7bb(0x111)]();super[_0x21f7bb(0x111)]();}}function ae(_0x1b5871){const _0x8a4bc7=_0x13a2eb;return _0x8a4bc7(0x132)in _0x1b5871;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x12d8(_0x1631a0,_0x953960){const _0x4b0cd6=_0x4b0c();return _0x12d8=function(_0x12d83b,_0x2329a7){_0x12d83b=_0x12d83b-0x182;let _0x14b1c5=_0x4b0cd6[_0x12d83b];return _0x14b1c5;},_0x12d8(_0x1631a0,_0x953960);}const _0x4eada8=_0x12d8;function _0x4b0c(){const _0x41fc57=['stopListening','acceptSuggestion','canAccept','bind','change:isDirty','_acceptCommand','11414216WyFplX','242226hTkmiF','listenTo','unbind','11xtPqYO','execute','3112946rkGDcR','_discardCommand','destroy','isDirty','_removePendingAction','discardSuggestion','2856231ouxCoA','PENDING_ACTION_SUGGESTION','isEnabled','canEditAt','remove','93751eTtCqk','model','PendingActions','1LlTIfJ','_pendingAction','commentThreadController','240ppzOGK','_editor','view','locale','_setPendingAction','get','add','plugins','canDiscard','500amHUPO','5312495uoTREx','4mUmnRl','3959916GHNslh','getRanges','commands'];_0x4b0c=function(){return _0x41fc57;};return _0x4b0c();}(function(_0x4f0126,_0x504ebb){const _0x2faefe=_0x12d8,_0x9ddd0e=_0x4f0126();while(!![]){try{const _0x37fe77=parseInt(_0x2faefe(0x1aa))/0x1*(-parseInt(_0x2faefe(0x19c))/0x2)+parseInt(_0x2faefe(0x1a2))/0x3*(parseInt(_0x2faefe(0x18c))/0x4)+-parseInt(_0x2faefe(0x18b))/0x5+-parseInt(_0x2faefe(0x1ad))/0x6*(parseInt(_0x2faefe(0x1a7))/0x7)+parseInt(_0x2faefe(0x196))/0x8+parseInt(_0x2faefe(0x197))/0x9*(parseInt(_0x2faefe(0x18a))/0xa)+parseInt(_0x2faefe(0x19a))/0xb*(parseInt(_0x2faefe(0x18d))/0xc);if(_0x37fe77===_0x504ebb)break;else _0x9ddd0e['push'](_0x9ddd0e['shift']());}catch(_0x65a655){_0x9ddd0e['push'](_0x9ddd0e['shift']());}}}(_0x4b0c,0xdbb0f));import{ObservableMixin as _0x2e1dfe}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b2cf1}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2e1dfe(){constructor(_0x2cc34c,_0x53583b,_0x48f402,_0x1d9dbd){const _0x9d70b3=_0x12d8;super(),this[_0x9d70b3(0x1a8)]=_0x53583b,this[_0x9d70b3(0x183)]=_0x48f402,this[_0x9d70b3(0x1ac)]=_0x1d9dbd,this[_0x9d70b3(0x182)]=_0x2cc34c,this[_0x9d70b3(0x195)]=_0x2cc34c[_0x9d70b3(0x18f)][_0x9d70b3(0x186)](_0x9d70b3(0x191)),this[_0x9d70b3(0x19d)]=_0x2cc34c[_0x9d70b3(0x18f)][_0x9d70b3(0x186)](_0x9d70b3(0x1a1)),this[_0x9d70b3(0x183)][_0x9d70b3(0x193)](_0x9d70b3(0x1a4))['to'](this[_0x9d70b3(0x195)],this[_0x9d70b3(0x19d)],(_0x334118,_0x2d514d)=>_0x334118||_0x2d514d),this[_0x9d70b3(0x183)][_0x9d70b3(0x193)](_0x9d70b3(0x192))['to'](this[_0x9d70b3(0x195)],_0x9d70b3(0x1a4),_0x2f3485=>_0x2f3485&&this[_0x9d70b3(0x182)][_0x9d70b3(0x1a8)][_0x9d70b3(0x1a5)](_0x53583b[_0x9d70b3(0x18e)]())),this[_0x9d70b3(0x183)][_0x9d70b3(0x193)](_0x9d70b3(0x189))['to'](this[_0x9d70b3(0x19d)],_0x9d70b3(0x1a4),_0x4f5420=>_0x4f5420&&this[_0x9d70b3(0x182)][_0x9d70b3(0x1a8)][_0x9d70b3(0x1a5)](_0x53583b[_0x9d70b3(0x18e)]())),this[_0x9d70b3(0x1ab)]=null,_0x48f402[_0x9d70b3(0x19f)]&&this[_0x9d70b3(0x185)](),this[_0x9d70b3(0x198)](_0x48f402,_0x9d70b3(0x191),()=>this[_0x9d70b3(0x191)]()),this[_0x9d70b3(0x198)](_0x48f402,_0x9d70b3(0x1a1),()=>this[_0x9d70b3(0x1a1)]()),this[_0x9d70b3(0x198)](_0x48f402,_0x9d70b3(0x194),()=>{const _0x1ac4c7=_0x9d70b3;_0x48f402[_0x1ac4c7(0x19f)]?this[_0x1ac4c7(0x185)]():this[_0x1ac4c7(0x1a0)]();});}[_0x4eada8(0x191)](){const _0xbeb577=_0x4eada8;this[_0xbeb577(0x195)][_0xbeb577(0x19b)](this[_0xbeb577(0x1a8)]['id']);}[_0x4eada8(0x1a1)](){const _0x14f833=_0x4eada8;this[_0x14f833(0x19d)][_0x14f833(0x19b)](this[_0x14f833(0x1a8)]['id']);}[_0x4eada8(0x19e)](){const _0x46711c=_0x4eada8;this[_0x46711c(0x183)][_0x46711c(0x199)](_0x46711c(0x1a4)),this[_0x46711c(0x183)][_0x46711c(0x199)](_0x46711c(0x192)),this[_0x46711c(0x183)][_0x46711c(0x199)](_0x46711c(0x189)),this[_0x46711c(0x190)](),this[_0x46711c(0x1ac)][_0x46711c(0x19e)](),this[_0x46711c(0x1ab)]&&this[_0x46711c(0x1a0)]();}[_0x4eada8(0x185)](){const _0x1d03c6=_0x4eada8,_0x24feed=_0x1b2cf1(this[_0x1d03c6(0x182)][_0x1d03c6(0x184)],_0x1d03c6(0x1a3));this[_0x1d03c6(0x1ab)]=this[_0x1d03c6(0x182)][_0x1d03c6(0x188)][_0x1d03c6(0x186)](_0x1d03c6(0x1a9))[_0x1d03c6(0x187)](_0x24feed);}[_0x4eada8(0x1a0)](){const _0x21fb2d=_0x4eada8;null!==this[_0x21fb2d(0x1ab)]&&this[_0x21fb2d(0x182)][_0x21fb2d(0x188)][_0x21fb2d(0x186)](_0x21fb2d(0x1a9))[_0x21fb2d(0x1a6)](this[_0x21fb2d(0x1ab)]),this[_0x21fb2d(0x1ab)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x20e8(){const _0x4b17f1=['hasDirtyComment','CommentView','1629172aVRpwf','locale','set','length','editorConfig','editor','addComment','bind','_model','_createCommentViews','735492ualNJU','destroy','_localUser','disabledSubmit','showInput','38296KBCeZZ','isReadOnly','45863532OfuZUP','canAccept','canDiscard','46BANaoB','50UkGNxn','delegate','setData','7YThaYR','removeComment','cancel','commentInputView','114152JPGHXt','assign','isEnabled','4170331Tpzyna','updateComment','disableComments','descriptionParts','745meBdgS','fire','_config','element','focus','isDirty','_createCommentThreadInputView','commentsListView','submit','222303WBzAVz','value','authoredAt','commentThread','commentThreadInputView','isActive','810JroYzM'];_0x20e8=function(){return _0x4b17f1;};return _0x20e8();}const _0x152570=_0x1501;function _0x1501(_0x110f75,_0x127f9c){const _0x20e89f=_0x20e8();return _0x1501=function(_0x150152,_0x4ae614){_0x150152=_0x150152-0x98;let _0x2f34f1=_0x20e89f[_0x150152];return _0x2f34f1;},_0x1501(_0x110f75,_0x127f9c);}(function(_0x3a33f7,_0x263a6f){const _0x1bddea=_0x1501,_0x2dcf23=_0x3a33f7();while(!![]){try{const _0x300b55=-parseInt(_0x1bddea(0xbb))/0x1+-parseInt(_0x1bddea(0x9a))/0x2*(-parseInt(_0x1bddea(0xb2))/0x3)+parseInt(_0x1bddea(0xca))/0x4*(parseInt(_0x1bddea(0xa9))/0x5)+-parseInt(_0x1bddea(0xc5))/0x6*(-parseInt(_0x1bddea(0x9e))/0x7)+-parseInt(_0x1bddea(0xa2))/0x8*(-parseInt(_0x1bddea(0xb8))/0x9)+parseInt(_0x1bddea(0x9b))/0xa*(parseInt(_0x1bddea(0xa5))/0xb)+-parseInt(_0x1bddea(0xcc))/0xc;if(_0x300b55===_0x263a6f)break;else _0x2dcf23['push'](_0x2dcf23['shift']());}catch(_0x5d30b2){_0x2dcf23['push'](_0x2dcf23['shift']());}}}(_0x20e8,0xefc61));import{View as _0x93c5c1}from'ckeditor5/src/ui.js';export default class es extends _0x93c5c1{constructor(_0x586921,_0x1ba03d,_0x59b756,_0x3ed739){const _0x5cac50=_0x1501;super(_0x586921),this[_0x5cac50(0xb0)]=null,this[_0x5cac50(0xb6)]=null,this[_0x5cac50(0xbd)](_0x5cac50(0xb7),!0x1),this[_0x5cac50(0xbd)](_0x5cac50(0xb4),_0x1ba03d[_0x5cac50(0xb4)]),this[_0x5cac50(0xc2)](_0x5cac50(0xb4))['to'](_0x1ba03d),this[_0x5cac50(0xbd)](_0x5cac50(0xa8),[]),this[_0x5cac50(0xbd)](_0x5cac50(0xae),!0x1),this[_0x5cac50(0xbd)](_0x5cac50(0xa4),!0x1),this[_0x5cac50(0xbd)](_0x5cac50(0x98),!0x1),this[_0x5cac50(0xbd)](_0x5cac50(0x99),!0x1),this[_0x5cac50(0xc3)]=_0x1ba03d,this[_0x5cac50(0xc7)]=_0x59b756,this[_0x5cac50(0xab)]=_0x3ed739,_0x3ed739[_0x5cac50(0xa7)]?this[_0x5cac50(0xbd)](_0x5cac50(0xbe),0x1):this[_0x5cac50(0xc4)]();}[_0x152570(0xad)](){const _0x4cd213=_0x152570;this[_0x4cd213(0xac)][_0x4cd213(0xad)]();}[_0x152570(0xc6)](){const _0x1d1a7b=_0x152570;this[_0x1d1a7b(0xb0)]&&this[_0x1d1a7b(0xb0)][_0x1d1a7b(0xc6)](),this[_0x1d1a7b(0xb6)]&&this[_0x1d1a7b(0xb6)][_0x1d1a7b(0xc6)](),super[_0x1d1a7b(0xc6)]();}[_0x152570(0xc4)](){const _0xfa60ec=_0x152570,{CommentsListView:_0xb5e6c4}=this[_0xfa60ec(0xab)];this[_0xfa60ec(0xb0)]=new _0xb5e6c4(this[_0xfa60ec(0xbc)],this[_0xfa60ec(0xc3)][_0xfa60ec(0xb5)],Object[_0xfa60ec(0xa3)]({'CommentView':this[_0xfa60ec(0xab)][_0xfa60ec(0xba)]},this[_0xfa60ec(0xab)])),this[_0xfa60ec(0xb0)][_0xfa60ec(0x9c)](_0xfa60ec(0x9f))['to'](this),this[_0xfa60ec(0xb0)][_0xfa60ec(0x9c)](_0xfa60ec(0xa6))['to'](this),this[_0xfa60ec(0xb0)][_0xfa60ec(0xc2)](_0xfa60ec(0xb7))['to'](this),this[_0xfa60ec(0xbd)](_0xfa60ec(0xbe),this[_0xfa60ec(0xb0)][_0xfa60ec(0xbe)]+0x1),this[_0xfa60ec(0xc2)](_0xfa60ec(0xbe))['to'](this[_0xfa60ec(0xb0)],_0xfa60ec(0xbe),_0x1084b9=>_0x1084b9+0x1),this[_0xfa60ec(0xb6)]=this[_0xfa60ec(0xaf)](),this['on'](_0xfa60ec(0x9f),()=>this[_0xfa60ec(0xad)]()),this[_0xfa60ec(0xc2)](_0xfa60ec(0xae))['to'](this[_0xfa60ec(0xb0)],_0xfa60ec(0xb9),this[_0xfa60ec(0xb6)][_0xfa60ec(0xa1)],_0xfa60ec(0xb3),(_0x454d48,_0x9f77d4)=>_0x454d48||!!_0x9f77d4);}[_0x152570(0xaf)](){const _0x465db4=_0x152570,{CommentThreadInputView:_0x1176f5}=this[_0x465db4(0xab)],_0x93f9ad=new _0x1176f5(this[_0x465db4(0xbc)],this[_0x465db4(0xc7)],this[_0x465db4(0xab)][_0x465db4(0xbf)]),_0x5f4577=_0x93f9ad[_0x465db4(0xa1)];return _0x93f9ad[_0x465db4(0xc2)](_0x465db4(0xc9))['to'](this,_0x465db4(0xb7),this[_0x465db4(0xc3)][_0x465db4(0xb5)],_0x465db4(0xcb),_0x5f4577,_0x465db4(0xb3),(_0x1d4e18,_0x223cb5,_0x94edaa)=>!!_0x94edaa||_0x1d4e18&&!_0x223cb5),_0x5f4577['on'](_0x465db4(0xb1),(_0x10262d,_0x3e51e9)=>{const _0x2e2574=_0x465db4;this[_0x2e2574(0xaa)](_0x2e2574(0xc1),_0x3e51e9),_0x5f4577[_0x2e2574(0xc0)][_0x2e2574(0x9d)]('');}),_0x5f4577['on'](_0x465db4(0xa0),()=>this[_0x465db4(0xad)]()),_0x5f4577[_0x465db4(0xc2)](_0x465db4(0xc8))['to'](this[_0x465db4(0xc3)][_0x465db4(0xb5)],_0x465db4(0xcb)),_0x93f9ad;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x575cb9=_0x4167;(function(_0x2cfa06,_0x4bb518){const _0x505a12=_0x4167,_0x1c0e48=_0x2cfa06();while(!![]){try{const _0xf4eedc=-parseInt(_0x505a12(0x21b))/0x1*(parseInt(_0x505a12(0x1cb))/0x2)+parseInt(_0x505a12(0x218))/0x3*(parseInt(_0x505a12(0x1ac))/0x4)+parseInt(_0x505a12(0x1f6))/0x5*(-parseInt(_0x505a12(0x1e7))/0x6)+-parseInt(_0x505a12(0x21c))/0x7*(-parseInt(_0x505a12(0x203))/0x8)+-parseInt(_0x505a12(0x1fa))/0x9+-parseInt(_0x505a12(0x1cd))/0xa+parseInt(_0x505a12(0x1d5))/0xb*(parseInt(_0x505a12(0x1bd))/0xc);if(_0xf4eedc===_0x4bb518)break;else _0x1c0e48['push'](_0x1c0e48['shift']());}catch(_0x5725df){_0x1c0e48['push'](_0x1c0e48['shift']());}}}(_0x413c,0xd8fcb));import{getTranslation as _0x322d7c}from'../../utils/common-translations.js';import{default as _0x262d2e}from'./basesuggestionthreadview.js';import{ButtonView as _0x429fa9}from'ckeditor5/src/ui.js';import{icons as _0xc06ca0}from'ckeditor5/src/core.js';function _0x413c(){const _0x50fb86=['querySelector','isActive','render','\x22></span>','check','editorReady','discardSuggestion','6GDHDeL','ck-suggestion__main','isEnabled','1ausUin','7zojslx','495824xDFvTV','ck-suggestion--discard','ck-suggestion__info','ck-comment__external','@external','canDiscard','ck-annotation__content-wrapper','createElement','ck-suggestion__user','getUserViewNotificationText','commentThread','delegate','canAccept','author','change:description','split','getExternalSuggestionNote','36tbcftF','extendTemplate','acceptSuggestion','set','setTemplate','commentsListView','time','ck-annotation__info-time','locale','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','</span>','EXTERNAL_SUGGESTION','attributes','title','364898oVmyxg','ck-suggestion-wrapper--active','11994870hOQwuO','formatDateTime','importWord','authoredAt','value','children','editorDestroyed','ck-suggestion__info-name','16906494Mbbpxu','ck-annotation__info-name','span','bindTemplate','map','ck-annotation__actions','ck-suggestion__actions','<span\x20class=\x22ck-suggestion-type\x22>','commentThreadInputView','isExternal','_createButton','ck-annotation__user','EXTERNAL_IMPORT_WORD_AVATAR','cancel','fire','_descriptionElement','innerText','source','1581042CbySyS','descriptionParts','.ck-annotation__content-wrapper','element','execute','description','discardButton','bind','EXTERNAL_IMPORT_WORD_SUGGESTION','_config','<p>','Discard\x20suggestion','ck-suggestion-wrapper','name','ck-suggestion--disabled-comments','25ICHojB','_model','color','innerHTML','15803685zfuJDe','ck-annotation__main','ck-annotation','div','join','ck-suggestion-','push','ck-suggestion--accept','content','3883528ApXTDT','userView','getTemplate','type','EXTERNAL_AVATAR','acceptButton','\x22\x20title=\x22','Accept\x20suggestion','disableComments','creator','ck-comment__info-time','</p>','ck-suggestion','ck-annotation__info'];_0x413c=function(){return _0x50fb86;};return _0x413c();}function _0x4167(_0x4c4344,_0x4209de){const _0x413c72=_0x413c();return _0x4167=function(_0x41676d,_0x35b142){_0x41676d=_0x41676d-0x1ac;let _0x2a40b9=_0x413c72[_0x41676d];return _0x2a40b9;},_0x4167(_0x4c4344,_0x4209de);}import{trimHtml as _0x27205a,UserView as _0xea43aa}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x262d2e{constructor(_0x1bfbd1,_0xa0a403,_0x238058,_0x341b32){const _0x57423b=_0x4167;super(_0x1bfbd1,_0xa0a403,_0x238058,_0x341b32),this[_0x57423b(0x1c0)](_0x57423b(0x206),''),this[_0x57423b(0x1ee)](_0x57423b(0x206))['to'](this,_0x57423b(0x1e8),_0x59e133=>_0x59e133&&_0x59e133[0x0]?_0x59e133[0x0][_0x57423b(0x206)]:''),this[_0x57423b(0x1ee)](_0x57423b(0x1ec))['to'](this,_0x57423b(0x1e8),this,_0x57423b(0x212),(_0x15f19b,_0x2558be)=>{const _0x2c1fa1=_0x57423b;let _0x229c8c='';for(const _0x4c3807 of _0x15f19b)_0x229c8c+=_0x2c1fa1(0x1f1)+ds(_0x4c3807[_0x2c1fa1(0x202)],_0x4c3807[_0x2c1fa1(0x1f8)])+_0x2c1fa1(0x20e);return _0x2558be?_0x229c8c:_0x27205a(_0x229c8c,{'limit':0x8c});}),this[_0x57423b(0x1e4)]=null,this[_0x57423b(0x208)]=this[_0x57423b(0x1df)](_0x322d7c(_0x1bfbd1,_0x57423b(0x20a)),_0xc06ca0[_0x57423b(0x215)],_0x57423b(0x201),_0x57423b(0x1bf),'sw'),this[_0x57423b(0x208)][_0x57423b(0x1ee)](_0x57423b(0x21a))['to'](this,_0x57423b(0x1b8)),this[_0x57423b(0x1ed)]=this[_0x57423b(0x1df)](_0x322d7c(_0x1bfbd1,_0x57423b(0x1f2)),_0xc06ca0[_0x57423b(0x1e2)],_0x57423b(0x1ad),_0x57423b(0x217),'sw'),this[_0x57423b(0x1ed)][_0x57423b(0x1ee)](_0x57423b(0x21a))['to'](this,_0x57423b(0x1b1)),this[_0x57423b(0x204)]=new _0xea43aa(_0x1bfbd1,this[_0x57423b(0x1f7)][_0x57423b(0x1b9)],this[_0x57423b(0x1b5)]()),this[_0x57423b(0x204)][_0x57423b(0x1be)]({'attributes':{'class':[_0x57423b(0x1b4),_0x57423b(0x1e0)]}}),this[_0x57423b(0x1c1)](this[_0x57423b(0x205)]());}[_0x575cb9(0x205)](){const _0x18deb8=_0x575cb9,_0x507026=this[_0x18deb8(0x1d8)],_0x4ff03d=[{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1ae),_0x18deb8(0x210)]},'children':[{'tag':_0x18deb8(0x1d7),'children':[{'text':this[_0x18deb8(0x204)][_0x18deb8(0x1f4)]}],'attributes':{'class':[_0x18deb8(0x1d4),_0x18deb8(0x1d6)]}},{'tag':_0x18deb8(0x1c3),'attributes':{'datetime':_0x507026['to'](_0x18deb8(0x1d0)),'class':[_0x18deb8(0x20d),_0x18deb8(0x1c4)]},'children':[{'text':_0x507026['to'](_0x18deb8(0x1d0),_0x4baa7f=>this[_0x18deb8(0x1f0)][_0x18deb8(0x1ce)](_0x4baa7f))}]}]},{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1db),_0x18deb8(0x1da)]},'children':[this[_0x18deb8(0x208)],this[_0x18deb8(0x1ed)]]},{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1b2)]}}];this[_0x18deb8(0x1f7)][_0x18deb8(0x1de)]&&_0x4ff03d[_0x18deb8(0x200)]({'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1af)]},'children':[{'text':this[_0x18deb8(0x1bc)]()}]});const _0x2dfe4f={'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x1f3),_0x507026['if'](_0x18deb8(0x212),_0x18deb8(0x1cc)),_0x507026['to'](_0x18deb8(0x206),_0x5691ff=>_0x18deb8(0x1ff)+_0x5691ff),this[_0x18deb8(0x1f0)][_0x18deb8(0x20b)]&&_0x18deb8(0x1f5)],'data-suggestion-id':this[_0x18deb8(0x1f7)]['id'],'data-thread-id':this[_0x18deb8(0x1f7)][_0x18deb8(0x1b6)]['id'],'data-author-id':this[_0x18deb8(0x1f7)][_0x18deb8(0x1b9)]['id'],'tabindex':-0x1},'children':[{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x20f),_0x18deb8(0x1fc)]},'children':[this[_0x18deb8(0x204)],{'tag':_0x18deb8(0x1fd),'attributes':{'class':[_0x18deb8(0x219),_0x18deb8(0x1fb)]},'children':_0x4ff03d}]}]};return this[_0x18deb8(0x1c2)]&&this[_0x18deb8(0x1dd)]&&(_0x2dfe4f[_0x18deb8(0x1d2)][_0x18deb8(0x200)](this[_0x18deb8(0x1c2)],this[_0x18deb8(0x1dd)]),this[_0x18deb8(0x1c2)][_0x18deb8(0x1b7)](_0x18deb8(0x216))['to'](this),this[_0x18deb8(0x1c2)][_0x18deb8(0x1b7)](_0x18deb8(0x1d3))['to'](this),this[_0x18deb8(0x1dd)][_0x18deb8(0x1b7)](_0x18deb8(0x216))['to'](this),this[_0x18deb8(0x1dd)][_0x18deb8(0x1b7)](_0x18deb8(0x1d3))['to'](this)),_0x2dfe4f;}[_0x575cb9(0x213)](){const _0x2a8421=_0x575cb9;super[_0x2a8421(0x213)](),this[_0x2a8421(0x1e4)]=this[_0x2a8421(0x1ea)][_0x2a8421(0x211)](_0x2a8421(0x1e9)),this[_0x2a8421(0x1e4)][_0x2a8421(0x1f9)]=this[_0x2a8421(0x1ec)],this['on'](_0x2a8421(0x1ba),(_0x4c9388,_0x5bc3c4,_0x2e7fcb)=>{const _0x4a20e8=_0x2a8421;this[_0x4a20e8(0x1e4)][_0x4a20e8(0x1f9)]=_0x2e7fcb;});}[_0x575cb9(0x1df)](_0x33eace,_0x3d5707,_0x3a8cc9,_0x1128dc,_0x28f1d8){const _0x133fda=_0x575cb9,_0x17d972=new _0x429fa9(this[_0x133fda(0x1c5)]);return _0x17d972[_0x133fda(0x1c0)]({'label':_0x33eace,'icon':_0x3d5707,'tooltip':!0x0,'tooltipPosition':_0x28f1d8}),_0x17d972[_0x133fda(0x1be)]({'attributes':{'class':_0x3a8cc9}}),_0x17d972['on'](_0x133fda(0x1eb),()=>{const _0x2fe24f=_0x133fda;this[_0x2fe24f(0x1e3)](_0x1128dc,this[_0x2fe24f(0x1f7)]['id']);}),_0x17d972;}[_0x575cb9(0x1bc)](){const _0xe7de98=_0x575cb9;return _0xe7de98(0x1cf)===this[_0xe7de98(0x1f7)][_0xe7de98(0x1c9)][_0xe7de98(0x1b0)][_0xe7de98(0x1e6)]?_0x322d7c(this[_0xe7de98(0x1c5)],_0xe7de98(0x1ef)):_0x322d7c(this[_0xe7de98(0x1c5)],_0xe7de98(0x1c8));}[_0x575cb9(0x1b5)](){const _0x3f8105=_0x575cb9;return this[_0x3f8105(0x1f7)][_0x3f8105(0x1de)]?_0x3f8105(0x1cf)===this[_0x3f8105(0x1f7)][_0x3f8105(0x1c9)][_0x3f8105(0x1b0)][_0x3f8105(0x1e6)]?_0x322d7c(this[_0x3f8105(0x1c5)],_0x3f8105(0x1e1),this[_0x3f8105(0x1f7)][_0x3f8105(0x20c)][_0x3f8105(0x1f4)]):_0x322d7c(this[_0x3f8105(0x1c5)],_0x3f8105(0x207),this[_0x3f8105(0x1f7)][_0x3f8105(0x20c)][_0x3f8105(0x1f4)]):null;}}function ds(_0x2616d9,_0x1938ce){const _0x2112a1=_0x575cb9;let _0x302e8b='';return _0x302e8b+=_0x2616d9[_0x2112a1(0x1bb)]('*')[_0x2112a1(0x1d9)]((_0x45a3e4,_0x3c665f)=>_0x3c665f%0x2!=0x0?_0x2112a1(0x1dc)+us(_0x45a3e4)+_0x2112a1(0x1c7):us(_0x45a3e4))[_0x2112a1(0x1fe)](''),_0x1938ce&&(_0x302e8b+=_0x2112a1(0x1c6)+_0x1938ce[_0x2112a1(0x1d1)]+_0x2112a1(0x209)+_0x1938ce[_0x2112a1(0x1ca)]+_0x2112a1(0x214)),_0x302e8b;}function us(_0x32aee7){const _0x554e11=_0x575cb9,_0x16d3d2=document[_0x554e11(0x1b3)](_0x554e11(0x1d7));return _0x16d3d2[_0x554e11(0x1e5)]=_0x32aee7,_0x16d3d2[_0x554e11(0x1f9)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1a90a5,_0x3c789e,_0x46ad67){const t=_0x1a90a5['t'];switch(_0x3c789e){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',_0x46ad67);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x46ad67);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x46ad67);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x46ad67);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x46ad67);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',_0x46ad67);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x46ad67);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',_0x46ad67);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x46ad67);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x46ad67);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x46ad67);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x46ad67);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x46ad67);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x46ad67);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x46ad67);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x46ad67);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x46ad67);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x46ad67);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x46ad67);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x46ad67);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x46ad67);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x46ad67);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x46ad67);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'},_0x46ad67);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x46ad67);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x46ad67);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x46ad67);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x46ad67);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x46ad67);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'},_0x46ad67);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x46ad67);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x46ad67);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x46ad67);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x46ad67);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'},_0x46ad67);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x46ad67);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'},_0x46ad67);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'},_0x46ad67);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x46ad67);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'},_0x46ad67);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x46ad67);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'},_0x46ad67);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x46ad67);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x46ad67);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});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'},_0x46ad67);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'},_0x46ad67);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x3c789e;}}
|
|
23
|
+
export function getTranslation(_0x1b3147,_0x11d5e2,_0x2db4c3){const t=_0x1b3147['t'];switch(_0x11d5e2){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',_0x2db4c3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2db4c3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2db4c3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2db4c3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2db4c3);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',_0x2db4c3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2db4c3);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',_0x2db4c3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2db4c3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2db4c3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2db4c3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2db4c3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2db4c3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2db4c3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2db4c3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2db4c3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2db4c3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2db4c3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2db4c3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2db4c3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2db4c3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2db4c3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2db4c3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2db4c3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2db4c3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2db4c3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2db4c3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2db4c3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2db4c3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2db4c3);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'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2db4c3);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'},_0x2db4c3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2db4c3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2db4c3);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});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'},_0x2db4c3);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'},_0x2db4c3);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x11d5e2;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5bba54,_0x3c4f3a){const _0xddd878=_0x4f82,_0x519818=_0x5bba54();while(!![]){try{const _0x3a8d8b=parseInt(_0xddd878(0x1f9))/0x1+parseInt(_0xddd878(0x1f5))/0x2+-parseInt(_0xddd878(0x1df))/0x3+-parseInt(_0xddd878(0x206))/0x4+parseInt(_0xddd878(0x1fd))/0x5*(-parseInt(_0xddd878(0x1e9))/0x6)+parseInt(_0xddd878(0x1ed))/0x7*(-parseInt(_0xddd878(0x1eb))/0x8)+-parseInt(_0xddd878(0x1e1))/0x9*(-parseInt(_0xddd878(0x1ef))/0xa);if(_0x3a8d8b===_0x3c4f3a)break;else _0x519818['push'](_0x519818['shift']());}catch(_0x4debae){_0x519818['push'](_0x519818['shift']());}}}(_0x15fd,0x39dc4));export function normalizeDescription(_0x5cafc6){const _0x218d77=_0x4f82;return Array[_0x218d77(0x1f7)](_0x5cafc6)||(_0x5cafc6=[_0x5cafc6]),_0x5cafc6[_0x218d77(0x1e8)](_0x508b0a=>{const _0x38f2ae=_0x218d77,_0x256c63=_0x508b0a[_0x38f2ae(0x1e2)][_0x38f2ae(0x1f2)](/\*/g,''),_0xd7e010=_0x508b0a[_0x38f2ae(0x1ee)]?_0x38f2ae(0x205)+_0x508b0a[_0x38f2ae(0x1ee)][_0x38f2ae(0x204)]+']':'';return'['+_0x508b0a[_0x38f2ae(0x1f6)]+']\x20'+_0x256c63+_0xd7e010;})[_0x218d77(0x1e5)](';\x20');}export function sortSuggestions(_0x69d18e){const _0x4c1ca8=_0x4f82;return _0x69d18e[_0x4c1ca8(0x1fb)]((_0xd889c8,_0x826309)=>_0x4c1ca8(0x1e0)==_0xd889c8[_0x4c1ca8(0x1f6)]&&_0x4c1ca8(0x1e0)!=_0x826309[_0x4c1ca8(0x1f6)]?-0x1:_0x4c1ca8(0x1e0)!=_0xd889c8[_0x4c1ca8(0x1f6)]&&_0x4c1ca8(0x1e0)==_0x826309[_0x4c1ca8(0x1f6)]?0x1:0x0);}function _0x4f82(_0x5abdcd,_0x1692c3){const _0x15fd07=_0x15fd();return _0x4f82=function(_0x4f8229,_0x5791f2){_0x4f8229=_0x4f8229-0x1df;let _0x180240=_0x15fd07[_0x4f8229];return _0x180240;},_0x4f82(_0x5abdcd,_0x1692c3);}export function getSelectedSuggestions(_0x18c99d,_0x210aa6){const _0x18bdbf=_0x4f82,_0xa5ccc1=Array[_0x18bdbf(0x207)](_0x18c99d[_0x18bdbf(0x1fe)]()),_0x1d162c=new Set();for(const _0x54ace7 of _0x210aa6)if(_0x54ace7[_0x18bdbf(0x1ea)]){for(const _0x37f821 of _0xa5ccc1)for(const _0x10a58e of _0x54ace7[_0x18bdbf(0x1fe)]())(_0x37f821[_0x18bdbf(0x1e4)](_0x10a58e)||_0x18c99d[_0x18bdbf(0x1f3)]&&!_0x54ace7[_0x18bdbf(0x202)]&&_0x54ace7[_0x18bdbf(0x1fa)]&&_0x10a58e[_0x18bdbf(0x1ff)][_0x18bdbf(0x1e3)](_0x37f821[_0x18bdbf(0x1e6)]))&&_0x1d162c[_0x18bdbf(0x1f8)](_0x54ace7);}return _0x1d162c;}export function getRangesOfBlockGroups(_0x57ea56,_0x4b79d7){const _0x4f94a4=_0x4f82;let _0x402c35,_0x4855e4=0x0;const _0x3afcbd=[],_0x32b4ff=_0x4b79d7[_0x4f94a4(0x208)];for(;_0x4855e4<_0x57ea56[_0x4f94a4(0x1fc)];){const _0x57470f=_0x57ea56[_0x4855e4],_0x34713c=_0x57ea56[_0x4855e4+0x1];_0x402c35||(_0x402c35=_0x4b79d7[_0x4f94a4(0x1f0)](_0x57470f)),co(_0x4b79d7,_0x57470f,_0x34713c)||(_0x3afcbd[_0x4f94a4(0x203)](_0x4b79d7[_0x4f94a4(0x200)](_0x402c35,_0x32b4ff[_0x4f94a4(0x201)](_0x57470f)?_0x4b79d7[_0x4f94a4(0x209)](_0x57470f):_0x4b79d7[_0x4f94a4(0x1f1)](_0x57470f,_0x4f94a4(0x1ff)))),_0x402c35=null),_0x4855e4++;}return _0x3afcbd;}function co(_0xbbe88b,_0x38c6e6,_0x2ee62e){const _0x1dac8f=_0x4f82;if(!_0x2ee62e)return!0x1;const _0x435172=_0xbbe88b[_0x1dac8f(0x209)](_0x38c6e6),_0x33ebf1=_0xbbe88b[_0x1dac8f(0x1f0)](_0x2ee62e);return _0x435172[_0x1dac8f(0x1e3)](_0x33ebf1);}function _0x15fd(){const _0xa12379=['createPositionBefore','createPositionAt','replace','isCollapsed','execute','144796vacUxc','type','isArray','add','154161JHGwCr','next','sort','length','655otOghc','getRanges','end','createRange','isObject','isMultiRange','push','value','\x20[color\x20','470700KlABhS','from','schema','createPositionAfter','87993MUgdmq','deletion','29043BnvUgQ','content','isTouching','isIntersecting','join','start','change','map','18366TpZtGB','isInContent','8mxQkfM','splice','2212581KScuuL','color','2710JuznGR'];_0x15fd=function(){return _0xa12379;};return _0x15fd();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x51ff1b,_0x3c66d6,_0x3a8d97){const _0x19cecb=_0x4f82;for(;_0x3a8d97[_0x19cecb(0x1fc)];){const _0x51ad0e=_0x3a8d97[_0x19cecb(0x1ec)](0x0,0x64);_0x51ff1b[_0x19cecb(0x1e7)](()=>{const _0x2eac40=_0x19cecb;for(const _0x36252f of _0x51ad0e)_0x36252f[_0x2eac40(0x1ea)]&&_0x3c66d6[_0x2eac40(0x1f4)](_0x36252f['id']);});}}
|