@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240610.0 → 0.0.0-nightly-20240612.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 _0xcb10d3=_0x4297;(function(_0x218387,_0xe27774){const _0x57fde7=_0x4297,_0x2b0953=_0x218387();while(!![]){try{const _0xdb0e1=-parseInt(_0x57fde7(0x1e0))/0x1+parseInt(_0x57fde7(0x1b1))/0x2*(parseInt(_0x57fde7(0x1e9))/0x3)+-parseInt(_0x57fde7(0x1a4))/0x4*(-parseInt(_0x57fde7(0x202))/0x5)+-parseInt(_0x57fde7(0x219))/0x6*(-parseInt(_0x57fde7(0x215))/0x7)+-parseInt(_0x57fde7(0x1ea))/0x8*(parseInt(_0x57fde7(0x1ed))/0x9)+-parseInt(_0x57fde7(0x1ac))/0xa+-parseInt(_0x57fde7(0x1a5))/0xb*(-parseInt(_0x57fde7(0x1b4))/0xc);if(_0xdb0e1===_0xe27774)break;else _0x2b0953['push'](_0x2b0953['shift']());}catch(_0x580902){_0x2b0953['push'](_0x2b0953['shift']());}}}(_0x558e,0x30bed));import{Plugin as _0xa64cde}from'ckeditor5/src/core.js';import{Collection as _0xac299b}from'ckeditor5/src/utils.js';function _0x4297(_0x43cd6a,_0x247c94){const _0x558e53=_0x558e();return _0x4297=function(_0x429787,_0x19070a){_0x429787=_0x429787-0x19f;let _0x520729=_0x558e53[_0x429787];return _0x520729;},_0x4297(_0x43cd6a,_0x247c94);}import{addListToDropdown as _0x3cbcdb,createDropdown as _0x3899c6,ListSeparatorView as _0x39ed97,MenuBarMenuView as _0x1dcc14,MenuBarMenuListView as _0x39589a,MenuBarMenuListItemView as _0x241c0d,MenuBarMenuListItemButtonView as _0x56014a,SplitButtonView as _0x2f992b,ViewModel as _0x12c5ed}from'ckeditor5/src/ui.js';import{Users as _0x34415f,getDateTimeFormatter as _0x437e34,getAllMarkersDomElementsSorted as _0x4c9a24}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1bb833 from'./trackchangesediting.js';import _0x5081be from'./ui/suggestioncontroller.js';import _0x187ecd from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x56bf19}from'./utils/common-translations.js';import _0x5c8e59 from'../theme/icons/track-changes.svg';export default class d extends _0xa64cde{static get[_0xcb10d3(0x1d4)](){const _0x4344f1=_0xcb10d3;return[_0x1bb833,_0x34415f,_0x4344f1(0x1a2),_0x4344f1(0x20e),_0x4344f1(0x1ba)];}static get[_0xcb10d3(0x1f0)](){const _0x1872cb=_0xcb10d3;return _0x1872cb(0x214);}constructor(_0x3f2dfd){const _0x33365f=_0xcb10d3;super(_0x3f2dfd),this[_0x33365f(0x1ec)]=new Map(),this[_0x33365f(0x1eb)]=new Map(),this[_0x33365f(0x209)]=new Map(),this[_0x33365f(0x226)]=new Map();const _0x13657c=this[_0x33365f(0x1ad)][_0x33365f(0x1f9)];_0x13657c[_0x33365f(0x1e5)](_0x33365f(0x22e),_0x187ecd),_0x13657c[_0x33365f(0x1e5)](_0x33365f(0x200),!0x1),this[_0x33365f(0x225)]=_0x13657c[_0x33365f(0x203)](_0x33365f(0x200));}[_0xcb10d3(0x1fc)](_0x326655,_0x5e818b){const _0x46363c=_0xcb10d3;0x0===this[_0x46363c(0x226)][_0x46363c(0x1ca)]&&setTimeout(()=>{const _0x2cf7af=_0x46363c;for(const [_0x47e0c9,_0x5ee566]of this[_0x2cf7af(0x226)]){const _0x2cba07=this[_0x2cf7af(0x1ec)][_0x2cf7af(0x231)](_0x47e0c9);_0x2cba07||_0x5ee566?_0x2cba07&&_0x5ee566&&this[_0x2cf7af(0x1b0)](_0x47e0c9):this[_0x2cf7af(0x1c5)](_0x47e0c9);}this[_0x2cf7af(0x226)][_0x2cf7af(0x1cd)](),this[_0x2cf7af(0x1ad)][_0x2cf7af(0x211)][_0x2cf7af(0x203)](_0x2cf7af(0x1ba))[_0x2cf7af(0x1ef)](),this[_0x2cf7af(0x21f)]();},0xa),this[_0x46363c(0x226)][_0x46363c(0x22d)](_0x326655,_0x5e818b);}[_0xcb10d3(0x1a9)](){const _0x1c1787=_0xcb10d3,_0x4b5769=this[_0x1c1787(0x1ad)],_0x592266=_0x4b5769[_0x1c1787(0x211)][_0x1c1787(0x203)](_0x1c1787(0x1f7)),_0x509034=_0x4b5769[_0x1c1787(0x211)][_0x1c1787(0x203)](_0x1c1787(0x20e)),_0x5c4cf5=_0x4b5769[_0x1c1787(0x211)][_0x1c1787(0x203)](_0x1c1787(0x1ba)),_0x27e981=_0x4b5769[_0x1c1787(0x211)][_0x1c1787(0x203)](_0x1c1787(0x1a2));this[_0x1c1787(0x22f)](),_0x5c4cf5[_0x1c1787(0x1b5)](()=>{const _0x52403a=_0x1c1787,_0xced10=[];for(const [_0x3f6101,_0x5df95c]of Array[_0x52403a(0x1bc)](this[_0x52403a(0x1ec)])){const _0x4e3756=_0x3f6101[_0x52403a(0x1e4)](),_0x3bd53c=[];for(const _0x42d043 of _0x4e3756){if(!_0x42d043[_0x52403a(0x1fe)])continue;if(_0x42d043[_0x52403a(0x1fa)]){_0x3bd53c[_0x52403a(0x1e6)](..._0x42d043[_0x52403a(0x1e7)]());continue;}const _0x173ec9=_0x42d043[_0x52403a(0x1b3)]();if(_0x3bd53c[_0x52403a(0x1bb)]>0x0){const _0x2af91f=_0x3bd53c[0x0][_0x52403a(0x1d2)](_0x173ec9);if(_0x2af91f){_0x3bd53c[0x0]=_0x2af91f;continue;}}_0x3bd53c[_0x52403a(0x1e6)](_0x173ec9);}_0xced10[_0x52403a(0x1e6)]([_0x5df95c[_0x52403a(0x201)],_0x3bd53c]);}return _0xced10;}),this[_0x1c1787(0x216)](_0x592266,_0x1c1787(0x1a3),(_0x3b5985,_0x5b1735)=>{const _0x5f11b2=_0x1c1787;this[_0x5f11b2(0x216)](_0x5b1735,_0x5f11b2(0x1a1),(_0x32a8dd,_0x4e7145,_0x1ed85f,_0x4d1e80)=>{const _0x49a412=_0x5f11b2;_0x5b1735[_0x49a412(0x1fe)]&&(null==_0x1ed85f?(this[_0x49a412(0x220)](_0x4d1e80[_0x49a412(0x21c)]),this[_0x49a412(0x1fc)](_0x5b1735,!0x1)):(this[_0x49a412(0x220)](_0x1ed85f[_0x49a412(0x21c)]),null==_0x4d1e80&&this[_0x49a412(0x1fc)](_0x5b1735,!0x0)));}),null!==_0x5b1735[_0x5f11b2(0x1c6)]?this[_0x5f11b2(0x220)](_0x5b1735[_0x5f11b2(0x21c)]):this[_0x5f11b2(0x1fc)](_0x5b1735,!0x1);}),this[_0x1c1787(0x216)](_0x592266,_0x1c1787(0x1db),(_0x3504b0,_0x9f8af7,_0x1571ea)=>{const _0x1d68ae=_0x1c1787;this[_0x1d68ae(0x230)](_0x9f8af7,_0x1d68ae(0x1a1)),this[_0x1d68ae(0x226)][_0x1d68ae(0x20b)](_0x9f8af7),this[_0x1d68ae(0x1ec)][_0x1d68ae(0x231)](_0x9f8af7)&&this[_0x1d68ae(0x1b0)](_0x9f8af7),_0x1571ea&&this[_0x1d68ae(0x220)](_0x1571ea[_0x1d68ae(0x21c)]);}),this[_0x1c1787(0x216)](_0x592266,_0x1c1787(0x1a7),(_0x2044ca,_0xc5367e)=>{const _0x45d46a=_0x1c1787;this[_0x45d46a(0x220)](_0xc5367e);}),this[_0x1c1787(0x216)](_0x509034,_0x1c1787(0x20f),()=>{const _0xea8a47=_0x1c1787;this[_0xea8a47(0x21f)]();}),this[_0x1c1787(0x216)](_0x27e981,_0x1c1787(0x1c1),(_0x5b8e0a,{threadId:_0x46ff12,isFromAdapter:_0x3ce90d})=>{const _0x21482d=_0x1c1787;if(_0x3ce90d||!_0x592266[_0x21482d(0x212)](_0x46ff12))return;const _0x1f3e17=_0x592266[_0x21482d(0x1d7)](_0x46ff12);this[_0x21482d(0x1ec)][_0x21482d(0x203)](_0x1f3e17)[_0x21482d(0x201)][_0x21482d(0x1c4)]();},{'priority':_0x1c1787(0x21e)});}[_0xcb10d3(0x21f)](){const _0x4038f8=_0xcb10d3,_0x3dd135=this[_0x4038f8(0x1ad)][_0x4038f8(0x211)][_0x4038f8(0x203)](_0x4038f8(0x20e)),_0x2a4c5b=this[_0x4038f8(0x1ad)][_0x4038f8(0x211)][_0x4038f8(0x203)](_0x4038f8(0x1f7)),_0x242253=Array[_0x4038f8(0x1bc)](_0x3dd135[_0x4038f8(0x1ff)],_0x5d1328=>_0x5d1328[_0x4038f8(0x1d9)])[_0x4038f8(0x1e8)](_0xd8bd50=>this[_0x4038f8(0x1eb)][_0x4038f8(0x231)](_0xd8bd50)),_0x3dd45f=[];for(const _0x1fc393 of _0x242253){const _0x133d22=this[_0x4038f8(0x1eb)][_0x4038f8(0x203)](_0x1fc393)[_0x4038f8(0x227)][_0x4038f8(0x1e4)]();_0x3dd45f[_0x4038f8(0x1e6)](..._0x133d22[_0x4038f8(0x1d1)]((_0x23099b,_0x318d76)=>[..._0x23099b,..._0x318d76[_0x4038f8(0x1dc)]()],[]));}_0x2a4c5b[_0x4038f8(0x1cc)]=_0x3dd45f;}[_0xcb10d3(0x22f)](){const _0x3b483a=_0xcb10d3,_0x450312=this[_0x3b483a(0x1ad)],_0x436e5e=_0x450312[_0x3b483a(0x1c8)],_0x5ca59b=_0x56bf19(_0x436e5e,_0x3b483a(0x1da)),_0x31c942=new _0xac299b([{'type':_0x3b483a(0x1f2),'model':new _0x12c5ed({'withText':!0x0,'label':_0x5ca59b,'commandName':_0x3b483a(0x204),'role':_0x3b483a(0x1c9)})},{'type':_0x3b483a(0x213)},{'type':_0x3b483a(0x22c),'model':new _0x12c5ed({'withText':!0x0,'label':_0x56bf19(_0x436e5e,_0x3b483a(0x1d8)),'commandName':_0x3b483a(0x21d),'role':_0x3b483a(0x1de)})},{'type':_0x3b483a(0x22c),'model':new _0x12c5ed({'withText':!0x0,'label':_0x56bf19(_0x436e5e,_0x3b483a(0x1ee)),'commandName':_0x3b483a(0x1e1),'role':_0x3b483a(0x1de)})},{'type':_0x3b483a(0x22c),'model':new _0x12c5ed({'withText':!0x0,'label':_0x56bf19(_0x436e5e,_0x3b483a(0x1c2)),'commandName':_0x3b483a(0x224),'role':_0x3b483a(0x1de)})},{'type':_0x3b483a(0x22c),'model':new _0x12c5ed({'withText':!0x0,'label':_0x56bf19(_0x436e5e,_0x3b483a(0x1c3)),'commandName':_0x3b483a(0x1d3),'role':_0x3b483a(0x1de)})}]);for(const _0x22275b of _0x31c942)if(ae(_0x22275b)){const _0x12bf12=_0x450312[_0x3b483a(0x1f4)][_0x3b483a(0x203)](_0x22275b[_0x3b483a(0x227)][_0x3b483a(0x1a0)]);_0x22275b[_0x3b483a(0x227)][_0x3b483a(0x1f5)](_0x3b483a(0x22b),_0x3b483a(0x1cf))['to'](_0x12bf12,_0x3b483a(0x1b6),_0x3b483a(0x1cf));}_0x450312['ui'][_0x3b483a(0x1cb)][_0x3b483a(0x206)](_0x3b483a(0x204),_0x42aae5=>this[_0x3b483a(0x1aa)](_0x42aae5,_0x31c942,_0x5ca59b)),_0x450312['ui'][_0x3b483a(0x1cb)][_0x3b483a(0x206)](_0x3b483a(0x217),_0x31b7e1=>this[_0x3b483a(0x1bd)](_0x31b7e1,_0x31c942,_0x5ca59b));}[_0xcb10d3(0x1aa)](_0x55fa5d,_0x47cfa4,_0x3a5c03){const _0x24b1e8=_0xcb10d3,_0x4522b5=_0x3899c6(_0x55fa5d,_0x2f992b),_0x26e770=this[_0x24b1e8(0x1ad)][_0x24b1e8(0x1f4)][_0x24b1e8(0x203)](_0x24b1e8(0x204));_0x4522b5[_0x24b1e8(0x1be)][_0x24b1e8(0x22d)]({'tooltip':_0x3a5c03,'label':_0x3a5c03,'icon':_0x5c8e59}),_0x4522b5[_0x24b1e8(0x1be)][_0x24b1e8(0x1f5)](_0x24b1e8(0x22b))['to'](_0x26e770,_0x24b1e8(0x1b6)),_0x4522b5[_0x24b1e8(0x1be)]['on'](_0x24b1e8(0x22a),()=>{const _0x43bea5=_0x24b1e8;_0x26e770[_0x43bea5(0x22a)](),this[_0x43bea5(0x1ad)][_0x43bea5(0x210)][_0x43bea5(0x201)][_0x43bea5(0x1c4)]();}),_0x3cbcdb(_0x4522b5,_0x47cfa4,{'role':_0x24b1e8(0x1bf)});const _0x373ac5=[];for(const _0x5e86c3 of _0x47cfa4)ae(_0x5e86c3)&&_0x373ac5[_0x24b1e8(0x1e6)](this[_0x24b1e8(0x1ad)][_0x24b1e8(0x1f4)][_0x24b1e8(0x203)](_0x5e86c3[_0x24b1e8(0x227)][_0x24b1e8(0x1a0)]));const _0x5c99b2=_0x4522b5[_0x24b1e8(0x1be)];return _0x5c99b2[_0x24b1e8(0x218)][_0x24b1e8(0x1f1)](_0x24b1e8(0x1cf)),_0x5c99b2[_0x24b1e8(0x21a)][_0x24b1e8(0x1f1)](_0x24b1e8(0x1cf)),_0x5c99b2[_0x24b1e8(0x218)][_0x24b1e8(0x1f5)](_0x24b1e8(0x1cf))['to'](_0x26e770,_0x24b1e8(0x1cf)),_0x5c99b2[_0x24b1e8(0x21a)][_0x24b1e8(0x1f5)](_0x24b1e8(0x1cf))[_0x24b1e8(0x1af)](_0x373ac5,_0x24b1e8(0x1cf),(..._0x294a87)=>_0x294a87[_0x24b1e8(0x1f6)](_0xec0983=>_0xec0983)),_0x4522b5['on'](_0x24b1e8(0x22a),_0x5d1eb2=>{const _0x20b2ee=_0x24b1e8;this[_0x20b2ee(0x1ad)][_0x20b2ee(0x22a)](_0x5d1eb2[_0x20b2ee(0x222)][_0x20b2ee(0x1a0)]),this[_0x20b2ee(0x1ad)][_0x20b2ee(0x210)][_0x20b2ee(0x201)][_0x20b2ee(0x1c4)]();}),_0x4522b5;}[_0xcb10d3(0x1bd)](_0x1f2c08,_0x4630b1,_0x561da0){const _0x1af25e=_0xcb10d3,_0x3c7cad=new _0x1dcc14(_0x1f2c08),_0x18c46c=this[_0x1af25e(0x1ad)][_0x1af25e(0x1f4)][_0x1af25e(0x203)](_0x1af25e(0x204));_0x3c7cad[_0x1af25e(0x1be)][_0x1af25e(0x22d)]({'label':_0x561da0,'icon':_0x5c8e59});const _0x5337f6=new _0x39589a(_0x1f2c08);for(const _0x1e46fc of _0x4630b1){if(_0x1af25e(0x213)==_0x1e46fc[_0x1af25e(0x1d5)]){_0x5337f6[_0x1af25e(0x1ce)][_0x1af25e(0x206)](new _0x39ed97(_0x1f2c08));continue;}const _0xf71c0b=new _0x241c0d(_0x1f2c08,_0x3c7cad),_0x4da6c2=new _0x56014a(_0x1f2c08),_0x359afe=_0x1e46fc[_0x1af25e(0x227)];_0x4da6c2[_0x1af25e(0x1f5)](...Object[_0x1af25e(0x1ab)](_0x359afe))['to'](_0x359afe),_0x4da6c2[_0x1af25e(0x1d0)](_0x1af25e(0x22a))['to'](_0x3c7cad),_0x4da6c2['on'](_0x1af25e(0x22a),()=>{const _0x4bed69=_0x1af25e;this[_0x4bed69(0x1ad)][_0x4bed69(0x22a)](_0x359afe[_0x4bed69(0x1a0)]),this[_0x4bed69(0x1ad)][_0x4bed69(0x210)][_0x4bed69(0x201)][_0x4bed69(0x1c4)]();}),_0xf71c0b[_0x1af25e(0x223)][_0x1af25e(0x206)](_0x4da6c2),_0x5337f6[_0x1af25e(0x1ce)][_0x1af25e(0x206)](_0xf71c0b);}return _0x3c7cad[_0x1af25e(0x1f5)](_0x1af25e(0x1cf))['to'](_0x18c46c,_0x1af25e(0x1cf)),_0x3c7cad[_0x1af25e(0x1c7)][_0x1af25e(0x223)][_0x1af25e(0x206)](_0x5337f6),_0x3c7cad;}[_0xcb10d3(0x1c5)](_0x4b0ec7){const _0x4c63a9=_0xcb10d3,_0x253cb4=this[_0x4c63a9(0x1ad)],_0x49dc16=_0x253cb4[_0x4c63a9(0x1f9)],_0xa07173=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x20e)),_0x35db6b=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x1a2)),_0xaeae8c=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x1ba)),_0x49016d=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x34415f)['me'],_0x1d5c0f=_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x204))[_0x4c63a9(0x1f8)],{CommentsListView:_0x1777df,CommentThreadInputView:_0x3c5734}=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x1b9));let _0x2a79cd,_0x3f3c62;this[_0x4c63a9(0x209)][_0x4c63a9(0x231)](_0x4b0ec7['id'])?(_0x3f3c62=this[_0x4c63a9(0x209)][_0x4c63a9(0x203)](_0x4b0ec7['id']),_0x2a79cd=_0x3f3c62[_0x4c63a9(0x1d6)]):(_0x2a79cd=new _0x1d5c0f(_0x253cb4[_0x4c63a9(0x1c8)],_0x4b0ec7,_0x49016d,{'disableComments':this[_0x4c63a9(0x225)],'editorConfig':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x1f3)),'maxCommentsWhenCollapsed':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x229)),'maxThreadTotalWeight':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x205)),'maxCommentCharsWhenCollapsed':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x1ae)),'formatDateTime':_0x437e34(_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x1c8))),'CommentView':_0x49dc16[_0x4c63a9(0x203)](_0x4c63a9(0x1c0))[_0x4c63a9(0x1fb)],'CommentsListView':_0x1777df,'CommentThreadInputView':_0x3c5734}),_0x2a79cd[_0x4c63a9(0x207)]['on'](_0x4c63a9(0x22a),()=>{const _0x54db3c=_0x4c63a9;_0x253cb4[_0x54db3c(0x210)][_0x54db3c(0x201)][_0x54db3c(0x1c4)]();}),_0x2a79cd[_0x4c63a9(0x208)]['on'](_0x4c63a9(0x22a),()=>{const _0x1e1f2d=_0x4c63a9;_0x253cb4[_0x1e1f2d(0x210)][_0x1e1f2d(0x201)][_0x1e1f2d(0x1c4)]();}),_0x3f3c62=_0xa07173[_0x4c63a9(0x1b7)](this[_0x4c63a9(0x1ad)][_0x4c63a9(0x1c8)],_0x2a79cd),_0x3f3c62[_0x4c63a9(0x1f5)](_0x4c63a9(0x20a))['to'](_0x2a79cd,_0x4c63a9(0x20a)),_0x3f3c62[_0x4c63a9(0x1f5)](_0x4c63a9(0x1bb))['to'](_0x2a79cd),_0x3f3c62[_0x4c63a9(0x1f5)](_0x4c63a9(0x1d5))['to'](_0x2a79cd,_0x4c63a9(0x1d5),_0x2db186=>_0x4c63a9(0x20d)+_0x2db186),this[_0x4c63a9(0x209)][_0x4c63a9(0x22d)](_0x4b0ec7['id'],_0x3f3c62));const _0x7df4fe=_0x35db6b[_0x4c63a9(0x1fd)](_0x4b0ec7[_0x4c63a9(0x1e3)],_0x2a79cd),_0x512cb9=new _0x5081be(_0x253cb4,_0x4b0ec7,_0x2a79cd,_0x7df4fe),_0x798116=_0x4b0ec7[_0x4c63a9(0x1e4)]()[_0x4c63a9(0x1e8)](_0x5cc520=>_0x5cc520[_0x4c63a9(0x1fe)]);_0x2a79cd[_0x4c63a9(0x1df)]=_0x253cb4[_0x4c63a9(0x211)][_0x4c63a9(0x203)](_0x4c63a9(0x1f7))[_0x4c63a9(0x21b)][_0x4c63a9(0x1b8)](_0x798116),this[_0x4c63a9(0x1ec)][_0x4c63a9(0x22d)](_0x4b0ec7,_0x512cb9),this[_0x4c63a9(0x1eb)][_0x4c63a9(0x22d)](_0x2a79cd,_0x512cb9);const _0x3c0baf=_0xa07173[_0x4c63a9(0x1dd)]({'view':_0x3f3c62,'target':()=>{const _0x29a4b3=_0x4c63a9,_0x51f579=[],_0xa92eb3=_0x4b0ec7[_0x29a4b3(0x1e4)]()[_0x29a4b3(0x1e8)](_0x3c7ad2=>_0x3c7ad2[_0x29a4b3(0x1fe)]);for(const _0x9995d8 of _0xa92eb3)_0x51f579[_0x29a4b3(0x1e6)](..._0x9995d8[_0x29a4b3(0x19f)]());return _0x4c9a24(_0x253cb4[_0x29a4b3(0x210)],_0x51f579);},'type':()=>_0x4c63a9(0x20d)+_0x512cb9[_0x4c63a9(0x201)][_0x4c63a9(0x1d5)]});_0x35db6b[_0x4c63a9(0x1e2)](_0x2a79cd,_0x3c0baf),_0xa07173[_0x4c63a9(0x206)](_0x3c0baf),_0xaeae8c[_0x4c63a9(0x1b2)](_0x3c0baf);}[_0xcb10d3(0x1b0)](_0x135423){const _0x4ba90c=_0xcb10d3,_0x422471=this[_0x4ba90c(0x1ad)][_0x4ba90c(0x211)][_0x4ba90c(0x203)](_0x4ba90c(0x1a2)),_0x14fc5a=this[_0x4ba90c(0x1ad)][_0x4ba90c(0x211)][_0x4ba90c(0x203)](_0x4ba90c(0x20e)),_0x94ad20=this[_0x4ba90c(0x1ec)][_0x4ba90c(0x203)](_0x135423),_0x1ab6b6=_0x94ad20[_0x4ba90c(0x201)],_0x54b8a1=_0x14fc5a[_0x4ba90c(0x1a8)](_0x1ab6b6);_0x422471[_0x4ba90c(0x221)](_0x1ab6b6),_0x54b8a1&&_0x14fc5a[_0x4ba90c(0x228)](_0x54b8a1),this[_0x4ba90c(0x1ec)][_0x4ba90c(0x20b)](_0x135423),this[_0x4ba90c(0x1eb)][_0x4ba90c(0x20b)](_0x1ab6b6),_0x94ad20[_0x4ba90c(0x1a6)]();}[_0xcb10d3(0x220)](_0x5096a){const _0x19304b=_0xcb10d3;if(!_0x5096a[_0x19304b(0x1fe)]||!this[_0x19304b(0x1ec)][_0x19304b(0x231)](_0x5096a))return;const _0x980e01=this[_0x19304b(0x1ad)][_0x19304b(0x211)][_0x19304b(0x203)](_0x19304b(0x1f7)),_0x41758d=this[_0x19304b(0x1ec)][_0x19304b(0x203)](_0x5096a),_0x454331=_0x5096a[_0x19304b(0x1e4)]();_0x41758d[_0x19304b(0x201)][_0x19304b(0x1df)]=_0x980e01[_0x19304b(0x21b)][_0x19304b(0x1b8)](_0x454331);}[_0xcb10d3(0x1a6)](){const _0x1dc9c1=_0xcb10d3;for(const _0x3c948e of this[_0x1dc9c1(0x1ec)][_0x1dc9c1(0x1ab)]())this[_0x1dc9c1(0x1b0)](_0x3c948e);for(const _0x2a3ac4 of this[_0x1dc9c1(0x209)][_0x1dc9c1(0x20c)]())_0x2a3ac4[_0x1dc9c1(0x1d6)][_0x1dc9c1(0x1a6)]();super[_0x1dc9c1(0x1a6)]();}}function ae(_0x81abc9){const _0x505a1f=_0xcb10d3;return _0x505a1f(0x227)in _0x81abc9;}function _0x558e(){const _0x2ef2c3=['addComment','Discard\x20all\x20suggestions','Discard\x20all\x20selected\x20suggestions','focus','_initializeController','previous','panelView','locale','menuitemcheckbox','size','componentFactory','activeMarkers','clear','items','isEnabled','delegate','reduce','getJoined','discardSelectedSuggestions','requires','type','mainView','getSuggestion','Accept\x20all\x20suggestions','innerView','Track\x20changes','suggestionUnloaded','getMarkerNames','createAnnotation','menuitem','descriptionParts','75922QMHjVn','acceptSelectedSuggestions','_bindAnnotationToEditors','commentThread','getAllAdjacentSuggestions','define','push','getRanges','filter','406851ANGTFp','5352CzzozD','_viewToController','_suggestionToController','4428kEphAT','Accept\x20all\x20selected\x20suggestions','refreshSelectedViews','pluginName','unbind','switchbutton','comments.editorConfig','commands','bind','some','TrackChangesEditing','SuggestionThreadView','config','isMultiRange','CommentView','_handleSuggestionControllerDelayed','createCommentThreadController','isInContent','activeAnnotations','trackChanges.disableComments','view','5LIaZuP','get','trackChanges','comments.maxThreadTotalWeight','add','acceptButton','discardButton','_annotationViews','isDirty','delete','values','suggestion-','Annotations','change:activeAnnotations','editing','plugins','hasSuggestion','separator','TrackChangesUI','7oTVtkg','listenTo','menuBar:trackChanges','actionView','240942VLYgre','arrowView','descriptionFactory','head','acceptAllSuggestions','lowest','_refreshActiveMarkers','_updateController','_unbindEditors','source','children','discardAllSuggestions','_disableComments','_handleControllerBuffer','model','remove','comments.maxCommentsWhenCollapsed','execute','isOn','button','set','trackChanges.SuggestionThreadView','_addUIComponentsToFactory','stopListening','has','getMarkers','commandName','change:previous','CommentsRepository','suggestionLoaded','1118312QTePXG','29414lSUNUE','destroy','suggestionChanged','getByInnerView','init','_createToolbarButton','keys','832590oDFNsH','editor','comments.maxCommentCharsWhenCollapsed','toMany','_destroyController','2fMkTbk','registerAnnotation','getFirstRange','1044wfcABF','addSourceCollector','value','createAnnotationView','getDescriptions','CommentsUI','EditorAnnotations','length','from','_createMenuBarMenu','buttonView','menu','comments'];_0x558e=function(){return _0x2ef2c3;};return _0x558e();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2de966=_0x2200;(function(_0x52f40c,_0x5b9442){const _0x24fda0=_0x2200,_0x248c18=_0x52f40c();while(!![]){try{const _0xf7f313=-parseInt(_0x24fda0(0x18a))/0x1+parseInt(_0x24fda0(0x16e))/0x2*(parseInt(_0x24fda0(0x173))/0x3)+-parseInt(_0x24fda0(0x176))/0x4+-parseInt(_0x24fda0(0x179))/0x5*(parseInt(_0x24fda0(0x170))/0x6)+parseInt(_0x24fda0(0x17a))/0x7+parseInt(_0x24fda0(0x183))/0x8*(-parseInt(_0x24fda0(0x191))/0x9)+parseInt(_0x24fda0(0x17b))/0xa;if(_0xf7f313===_0x5b9442)break;else _0x248c18['push'](_0x248c18['shift']());}catch(_0x25d4a0){_0x248c18['push'](_0x248c18['shift']());}}}(_0x4967,0xc317c));import{ObservableMixin as _0x48f740}from'ckeditor5/src/utils.js';function _0x2200(_0x53a330,_0xc58cf8){const _0x49677f=_0x4967();return _0x2200=function(_0x2200a0,_0x247a7a){_0x2200a0=_0x2200a0-0x16a;let _0x41275e=_0x49677f[_0x2200a0];return _0x41275e;},_0x2200(_0x53a330,_0xc58cf8);}function _0x4967(){const _0x1a602d=['13530GBLVex','locale','138984MJRytt','stopListening','isDirty','141oajMkb','PENDING_ACTION_SUGGESTION','destroy','4196792LPIBlU','commands','isEnabled','305jATtRP','6862849Msjkog','48173520oaPxdS','model','getRanges','add','discardSuggestion','_discardCommand','get','commentThreadController','2044784YgIhTz','acceptSuggestion','_removePendingAction','unbind','plugins','bind','PendingActions','1320824KxAcBU','remove','canAccept','_pendingAction','canEditAt','_editor','_acceptCommand','54XJUzoY','_setPendingAction','view','listenTo','canDiscard','execute','change:isDirty'];_0x4967=function(){return _0x1a602d;};return _0x4967();}import{getTranslation as _0x284cbf}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x48f740(){constructor(_0x54abef,_0x14e549,_0x240d7b,_0x29d166){const _0x647325=_0x2200;super(),this[_0x647325(0x17c)]=_0x14e549,this[_0x647325(0x193)]=_0x240d7b,this[_0x647325(0x182)]=_0x29d166,this[_0x647325(0x18f)]=_0x54abef,this[_0x647325(0x190)]=_0x54abef[_0x647325(0x177)][_0x647325(0x181)](_0x647325(0x184)),this[_0x647325(0x180)]=_0x54abef[_0x647325(0x177)][_0x647325(0x181)](_0x647325(0x17f)),this[_0x647325(0x193)][_0x647325(0x188)](_0x647325(0x178))['to'](this[_0x647325(0x190)],this[_0x647325(0x180)],(_0x21609f,_0x2f2a24)=>_0x21609f||_0x2f2a24),this[_0x647325(0x193)][_0x647325(0x188)](_0x647325(0x18c))['to'](this[_0x647325(0x190)],_0x647325(0x178),_0x2f69b5=>_0x2f69b5&&this[_0x647325(0x18f)][_0x647325(0x17c)][_0x647325(0x18e)](_0x14e549[_0x647325(0x17d)]())),this[_0x647325(0x193)][_0x647325(0x188)](_0x647325(0x16b))['to'](this[_0x647325(0x180)],_0x647325(0x178),_0x1d8b8c=>_0x1d8b8c&&this[_0x647325(0x18f)][_0x647325(0x17c)][_0x647325(0x18e)](_0x14e549[_0x647325(0x17d)]())),this[_0x647325(0x18d)]=null,_0x240d7b[_0x647325(0x172)]&&this[_0x647325(0x192)](),this[_0x647325(0x16a)](_0x240d7b,_0x647325(0x184),()=>this[_0x647325(0x184)]()),this[_0x647325(0x16a)](_0x240d7b,_0x647325(0x17f),()=>this[_0x647325(0x17f)]()),this[_0x647325(0x16a)](_0x240d7b,_0x647325(0x16d),()=>{const _0x49e206=_0x647325;_0x240d7b[_0x49e206(0x172)]?this[_0x49e206(0x192)]():this[_0x49e206(0x185)]();});}[_0x2de966(0x184)](){const _0x84c04=_0x2de966;this[_0x84c04(0x190)][_0x84c04(0x16c)](this[_0x84c04(0x17c)]['id']);}[_0x2de966(0x17f)](){const _0x27ea79=_0x2de966;this[_0x27ea79(0x180)][_0x27ea79(0x16c)](this[_0x27ea79(0x17c)]['id']);}[_0x2de966(0x175)](){const _0x178c22=_0x2de966;this[_0x178c22(0x193)][_0x178c22(0x186)](_0x178c22(0x178)),this[_0x178c22(0x193)][_0x178c22(0x186)](_0x178c22(0x18c)),this[_0x178c22(0x193)][_0x178c22(0x186)](_0x178c22(0x16b)),this[_0x178c22(0x171)](),this[_0x178c22(0x182)][_0x178c22(0x175)](),this[_0x178c22(0x18d)]&&this[_0x178c22(0x185)]();}[_0x2de966(0x192)](){const _0xcdece3=_0x2de966,_0x48e23a=_0x284cbf(this[_0xcdece3(0x18f)][_0xcdece3(0x16f)],_0xcdece3(0x174));this[_0xcdece3(0x18d)]=this[_0xcdece3(0x18f)][_0xcdece3(0x187)][_0xcdece3(0x181)](_0xcdece3(0x189))[_0xcdece3(0x17e)](_0x48e23a);}[_0x2de966(0x185)](){const _0x3c4847=_0x2de966;null!==this[_0x3c4847(0x18d)]&&this[_0x3c4847(0x18f)][_0x3c4847(0x187)][_0x3c4847(0x181)](_0x3c4847(0x189))[_0x3c4847(0x18b)](this[_0x3c4847(0x18d)]),this[_0x3c4847(0x18d)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2301(){const _0x55df43=['authoredAt','commentsListView','7781154ngssyN','679393EaRcyW','disableComments','descriptionParts','74HZjWcg','commentInputView','isReadOnly','bind','_model','removeComment','canAccept','disabledSubmit','677036JfKfFQ','CommentView','isActive','780475hCVPYv','set','submit','delegate','editor','showInput','211680NkXpQS','locale','_createCommentThreadInputView','setData','editorConfig','_createCommentViews','destroy','_localUser','fire','assign','value','hasDirtyComment','390lMTPod','26914nJKaKO','length','focus','canDiscard','15nNHBzr','cancel','11772752nQohTp','isEnabled','isDirty','addComment','commentThread','element','180RzCVCs','_config','commentThreadInputView','updateComment','7KpVzFC'];_0x2301=function(){return _0x55df43;};return _0x2301();}function _0x3de7(_0x3e2f6,_0x222102){const _0x230154=_0x2301();return _0x3de7=function(_0x3de7a8,_0x1ed885){_0x3de7a8=_0x3de7a8-0x1cf;let _0x420173=_0x230154[_0x3de7a8];return _0x420173;},_0x3de7(_0x3e2f6,_0x222102);}const _0x127d5f=_0x3de7;(function(_0x3ec536,_0x4f8bcf){const _0x52c0b5=_0x3de7,_0x4a99a7=_0x3ec536();while(!![]){try{const _0x421e40=-parseInt(_0x52c0b5(0x1d2))/0x1*(-parseInt(_0x52c0b5(0x1f0))/0x2)+parseInt(_0x52c0b5(0x1f4))/0x3*(parseInt(_0x52c0b5(0x1da))/0x4)+-parseInt(_0x52c0b5(0x1dd))/0x5+parseInt(_0x52c0b5(0x203))/0x6*(-parseInt(_0x52c0b5(0x200))/0x7)+-parseInt(_0x52c0b5(0x1f6))/0x8+-parseInt(_0x52c0b5(0x1e3))/0x9*(-parseInt(_0x52c0b5(0x1ef))/0xa)+-parseInt(_0x52c0b5(0x1cf))/0xb*(-parseInt(_0x52c0b5(0x1fc))/0xc);if(_0x421e40===_0x4f8bcf)break;else _0x4a99a7['push'](_0x4a99a7['shift']());}catch(_0x362221){_0x4a99a7['push'](_0x4a99a7['shift']());}}}(_0x2301,0xb9dca));import{View as _0x361895}from'ckeditor5/src/ui.js';export default class es extends _0x361895{constructor(_0x3f652b,_0x1d6928,_0x41dadd,_0x2ca602){const _0xdacc04=_0x3de7;super(_0x3f652b),this[_0xdacc04(0x202)]=null,this[_0xdacc04(0x1fe)]=null,this[_0xdacc04(0x1de)](_0xdacc04(0x1dc),!0x1),this[_0xdacc04(0x1de)](_0xdacc04(0x201),_0x1d6928[_0xdacc04(0x201)]),this[_0xdacc04(0x1d5)](_0xdacc04(0x201))['to'](_0x1d6928),this[_0xdacc04(0x1de)](_0xdacc04(0x1d1),[]),this[_0xdacc04(0x1de)](_0xdacc04(0x1f8),!0x1),this[_0xdacc04(0x1de)](_0xdacc04(0x1f7),!0x1),this[_0xdacc04(0x1de)](_0xdacc04(0x1d8),!0x1),this[_0xdacc04(0x1de)](_0xdacc04(0x1f3),!0x1),this[_0xdacc04(0x1d6)]=_0x1d6928,this[_0xdacc04(0x1ea)]=_0x41dadd,this[_0xdacc04(0x1fd)]=_0x2ca602,_0x2ca602[_0xdacc04(0x1d0)]?this[_0xdacc04(0x1de)](_0xdacc04(0x1f1),0x1):this[_0xdacc04(0x1e8)]();}[_0x127d5f(0x1f2)](){const _0x2f57dc=_0x127d5f;this[_0x2f57dc(0x1fb)][_0x2f57dc(0x1f2)]();}[_0x127d5f(0x1e9)](){const _0x354ea5=_0x127d5f;this[_0x354ea5(0x202)]&&this[_0x354ea5(0x202)][_0x354ea5(0x1e9)](),this[_0x354ea5(0x1fe)]&&this[_0x354ea5(0x1fe)][_0x354ea5(0x1e9)](),super[_0x354ea5(0x1e9)]();}[_0x127d5f(0x1e8)](){const _0x51cb0b=_0x127d5f,{CommentsListView:_0x15051a}=this[_0x51cb0b(0x1fd)];this[_0x51cb0b(0x202)]=new _0x15051a(this[_0x51cb0b(0x1e4)],this[_0x51cb0b(0x1d6)][_0x51cb0b(0x1fa)],Object[_0x51cb0b(0x1ec)]({'CommentView':this[_0x51cb0b(0x1fd)][_0x51cb0b(0x1db)]},this[_0x51cb0b(0x1fd)])),this[_0x51cb0b(0x202)][_0x51cb0b(0x1e0)](_0x51cb0b(0x1d7))['to'](this),this[_0x51cb0b(0x202)][_0x51cb0b(0x1e0)](_0x51cb0b(0x1ff))['to'](this),this[_0x51cb0b(0x202)][_0x51cb0b(0x1d5)](_0x51cb0b(0x1dc))['to'](this),this[_0x51cb0b(0x1de)](_0x51cb0b(0x1f1),this[_0x51cb0b(0x202)][_0x51cb0b(0x1f1)]+0x1),this[_0x51cb0b(0x1d5)](_0x51cb0b(0x1f1))['to'](this[_0x51cb0b(0x202)],_0x51cb0b(0x1f1),_0x59017c=>_0x59017c+0x1),this[_0x51cb0b(0x1fe)]=this[_0x51cb0b(0x1e5)](),this['on'](_0x51cb0b(0x1d7),()=>this[_0x51cb0b(0x1f2)]()),this[_0x51cb0b(0x1d5)](_0x51cb0b(0x1f8))['to'](this[_0x51cb0b(0x202)],_0x51cb0b(0x1ee),this[_0x51cb0b(0x1fe)][_0x51cb0b(0x1d3)],_0x51cb0b(0x1ed),(_0x59e2c6,_0x52e10e)=>_0x59e2c6||!!_0x52e10e);}[_0x127d5f(0x1e5)](){const _0x319529=_0x127d5f,{CommentThreadInputView:_0x19cbb5}=this[_0x319529(0x1fd)],_0xbebecc=new _0x19cbb5(this[_0x319529(0x1e4)],this[_0x319529(0x1ea)],this[_0x319529(0x1fd)][_0x319529(0x1e7)]),_0x24d99f=_0xbebecc[_0x319529(0x1d3)];return _0xbebecc[_0x319529(0x1d5)](_0x319529(0x1e2))['to'](this,_0x319529(0x1dc),this[_0x319529(0x1d6)][_0x319529(0x1fa)],_0x319529(0x1d4),_0x24d99f,_0x319529(0x1ed),(_0x8f67b8,_0x2c07dd,_0x2c29e2)=>!!_0x2c29e2||_0x8f67b8&&!_0x2c07dd),_0x24d99f['on'](_0x319529(0x1df),(_0xb8bca1,_0x4f6744)=>{const _0x3043bd=_0x319529;this[_0x3043bd(0x1eb)](_0x3043bd(0x1f9),_0x4f6744),_0x24d99f[_0x3043bd(0x1e1)][_0x3043bd(0x1e6)]('');}),_0x24d99f['on'](_0x319529(0x1f5),()=>this[_0x319529(0x1f2)]()),_0x24d99f[_0x319529(0x1d5)](_0x319529(0x1d9))['to'](this[_0x319529(0x1d6)][_0x319529(0x1fa)],_0x319529(0x1d4)),_0xbebecc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4374f0=_0x1249;(function(_0x37e6e1,_0x53ffb1){const _0x244356=_0x1249,_0x44b6aa=_0x37e6e1();while(!![]){try{const _0x46576f=parseInt(_0x244356(0x123))/0x1+-parseInt(_0x244356(0xdf))/0x2+parseInt(_0x244356(0xc5))/0x3+-parseInt(_0x244356(0xc0))/0x4+-parseInt(_0x244356(0xe0))/0x5+-parseInt(_0x244356(0xea))/0x6*(parseInt(_0x244356(0x127))/0x7)+parseInt(_0x244356(0xdb))/0x8;if(_0x46576f===_0x53ffb1)break;else _0x44b6aa['push'](_0x44b6aa['shift']());}catch(_0x4e2fec){_0x44b6aa['push'](_0x44b6aa['shift']());}}}(_0x46ff,0xbe4a6));import{getTranslation as _0x58d17a}from'../../utils/common-translations.js';import{default as _0x5e7a45}from'./basesuggestionthreadview.js';import{ButtonView as _0x6ce05}from'ckeditor5/src/ui.js';import{icons as _0x45a8ee}from'ckeditor5/src/core.js';function _0x1249(_0x391598,_0x3dcdbc){const _0x46ffa8=_0x46ff();return _0x1249=function(_0x12493c,_0x507343){_0x12493c=_0x12493c-0xbe;let _0x1152b7=_0x46ffa8[_0x12493c];return _0x1152b7;},_0x1249(_0x391598,_0x3dcdbc);}import{trimHtml as _0x31f147,UserView as _0x509b75}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x5e7a45{constructor(_0x28cd34,_0x504908,_0x25aeb3,_0x125d1e){const _0x116622=_0x1249;super(_0x28cd34,_0x504908,_0x25aeb3,_0x125d1e),this[_0x116622(0xf4)](_0x116622(0x102),''),this[_0x116622(0x10c)](_0x116622(0x102))['to'](this,_0x116622(0xfa),_0x2b1595=>_0x2b1595&&_0x2b1595[0x0]?_0x2b1595[0x0][_0x116622(0x102)]:''),this[_0x116622(0x10c)](_0x116622(0x10f))['to'](this,_0x116622(0xfa),this,_0x116622(0xf7),(_0x90e89e,_0x588d76)=>{const _0x158bb4=_0x116622;let _0x4cd878='';for(const _0x11a928 of _0x90e89e)_0x4cd878+=_0x158bb4(0x100)+ds(_0x11a928[_0x158bb4(0xf2)],_0x11a928[_0x158bb4(0xff)])+_0x158bb4(0xfd);return _0x588d76?_0x4cd878:_0x31f147(_0x4cd878,{'limit':0x8c});}),this[_0x116622(0x122)]=null,this[_0x116622(0xe1)]=this[_0x116622(0xcf)](_0x58d17a(_0x28cd34,_0x116622(0xe4)),_0x45a8ee[_0x116622(0xe8)],_0x116622(0xf9),_0x116622(0xf1),'sw'),this[_0x116622(0xe1)][_0x116622(0x10c)](_0x116622(0xf3))['to'](this,_0x116622(0x128)),this[_0x116622(0xe9)]=this[_0x116622(0xcf)](_0x58d17a(_0x28cd34,_0x116622(0xd7)),_0x45a8ee[_0x116622(0xca)],_0x116622(0x119),_0x116622(0xd9),'sw'),this[_0x116622(0xe9)][_0x116622(0x10c)](_0x116622(0xf3))['to'](this,_0x116622(0x121)),this[_0x116622(0xd6)]=new _0x509b75(_0x28cd34,this[_0x116622(0x115)][_0x116622(0xd5)],this[_0x116622(0x10e)]()),this[_0x116622(0xd6)][_0x116622(0xc6)]({'attributes':{'class':[_0x116622(0xdd),_0x116622(0x101)]}}),this[_0x116622(0x116)](this[_0x116622(0xe5)]());}[_0x4374f0(0xe5)](){const _0x35ee89=_0x4374f0,_0x229de2=this[_0x35ee89(0xe3)],_0x2cf1b5=[{'tag':_0x35ee89(0x125),'attributes':{'class':[_0x35ee89(0x124),_0x35ee89(0xd8)]},'children':[{'tag':_0x35ee89(0xfe),'children':[{'text':this[_0x35ee89(0xd6)][_0x35ee89(0xfb)]}],'attributes':{'class':[_0x35ee89(0xc2),_0x35ee89(0x11a)]}},{'tag':_0x35ee89(0xc4),'attributes':{'datetime':_0x229de2['to'](_0x35ee89(0xdc)),'class':[_0x35ee89(0x112),_0x35ee89(0x103)]},'children':[{'text':_0x229de2['to'](_0x35ee89(0xdc),_0x24c976=>this[_0x35ee89(0x120)][_0x35ee89(0x129)](_0x24c976))}]}]},{'tag':_0x35ee89(0x125),'attributes':{'class':[_0x35ee89(0x11f),_0x35ee89(0x117)]},'children':[this[_0x35ee89(0xe1)],this[_0x35ee89(0xe9)]]},{'tag':_0x35ee89(0x125),'attributes':{'class':[_0x35ee89(0xbe)]}}];this[_0x35ee89(0x115)][_0x35ee89(0x109)]&&_0x2cf1b5[_0x35ee89(0x110)]({'tag':_0x35ee89(0x125),'attributes':{'class':[_0x35ee89(0x11c)]},'children':[{'text':this[_0x35ee89(0xc1)]()}]});const _0x962421={'tag':_0x35ee89(0x125),'attributes':{'class':[_0x35ee89(0x118),_0x229de2['if'](_0x35ee89(0xf7),_0x35ee89(0xcb)),_0x229de2['to'](_0x35ee89(0x102),_0x351faa=>_0x35ee89(0xc9)+_0x351faa),this[_0x35ee89(0x120)][_0x35ee89(0xf6)]&&_0x35ee89(0x107)],'data-suggestion-id':this[_0x35ee89(0x115)]['id'],'data-thread-id':this[_0x35ee89(0x115)][_0x35ee89(0xe6)]['id'],'data-author-id':this[_0x35ee89(0x115)][_0x35ee89(0xd5)]['id'],'tabindex':-0x1},'children':[{'tag':_0x35ee89(0x125),'attributes':{'class':[_0x35ee89(0x10b),_0x35ee89(0xf5)]},'children':[this[_0x35ee89(0xd6)],{'tag':_0x35ee89(0x125),'attributes':{'class':[_0x35ee89(0xed),_0x35ee89(0xcd)]},'children':_0x2cf1b5}]}]};return this[_0x35ee89(0xfc)]&&this[_0x35ee89(0x108)]&&(_0x962421[_0x35ee89(0xbf)][_0x35ee89(0x110)](this[_0x35ee89(0xfc)],this[_0x35ee89(0x108)]),this[_0x35ee89(0xfc)][_0x35ee89(0xc3)](_0x35ee89(0x111))['to'](this),this[_0x35ee89(0xfc)][_0x35ee89(0xc3)](_0x35ee89(0xd4))['to'](this),this[_0x35ee89(0x108)][_0x35ee89(0xc3)](_0x35ee89(0x111))['to'](this),this[_0x35ee89(0x108)][_0x35ee89(0xc3)](_0x35ee89(0xd4))['to'](this)),_0x962421;}[_0x4374f0(0x113)](){const _0x4f9abc=_0x4374f0;super[_0x4f9abc(0x113)](),this[_0x4f9abc(0x122)]=this[_0x4f9abc(0xf8)][_0x4f9abc(0xc7)](_0x4f9abc(0xd3)),this[_0x4f9abc(0x122)][_0x4f9abc(0x114)]=this[_0x4f9abc(0x10f)],this['on'](_0x4f9abc(0xe7),(_0x2fb041,_0xad524c,_0x44552d)=>{const _0x3444d2=_0x4f9abc;this[_0x3444d2(0x122)][_0x3444d2(0x114)]=_0x44552d;});}[_0x4374f0(0xcf)](_0x4b70e7,_0x15a219,_0x15a6e0,_0x466947,_0x5b3ec7){const _0x5ec051=_0x4374f0,_0xe71ae8=new _0x6ce05(this[_0x5ec051(0xeb)]);return _0xe71ae8[_0x5ec051(0xf4)]({'label':_0x4b70e7,'icon':_0x15a219,'tooltip':!0x0,'tooltipPosition':_0x5b3ec7}),_0xe71ae8[_0x5ec051(0xc6)]({'attributes':{'class':_0x15a6e0}}),_0xe71ae8['on'](_0x5ec051(0x10a),()=>{const _0x5763f3=_0x5ec051;this[_0x5763f3(0x104)](_0x466947,this[_0x5763f3(0x115)]['id']);}),_0xe71ae8;}[_0x4374f0(0xc1)](){const _0x4e8bf9=_0x4374f0;return _0x4e8bf9(0x11e)===this[_0x4e8bf9(0x115)][_0x4e8bf9(0x11d)][_0x4e8bf9(0x10d)][_0x4e8bf9(0xc8)]?_0x58d17a(this[_0x4e8bf9(0xeb)],_0x4e8bf9(0xda)):_0x58d17a(this[_0x4e8bf9(0xeb)],_0x4e8bf9(0xef));}[_0x4374f0(0x10e)](){const _0x333bbe=_0x4374f0;return this[_0x333bbe(0x115)][_0x333bbe(0x109)]?_0x333bbe(0x11e)===this[_0x333bbe(0x115)][_0x333bbe(0x11d)][_0x333bbe(0x10d)][_0x333bbe(0xc8)]?_0x58d17a(this[_0x333bbe(0xeb)],_0x333bbe(0x126),this[_0x333bbe(0x115)][_0x333bbe(0x106)][_0x333bbe(0xfb)]):_0x58d17a(this[_0x333bbe(0xeb)],_0x333bbe(0xd1),this[_0x333bbe(0x115)][_0x333bbe(0x106)][_0x333bbe(0xfb)]):null;}}function _0x46ff(){const _0x24cd3f=['div','EXTERNAL_IMPORT_WORD_AVATAR','4179iLrosA','canAccept','formatDateTime','title','ck-annotation__content-wrapper','children','2494896SxFreN','getExternalSuggestionNote','ck-suggestion__info-name','delegate','time','4366365RbwkGQ','extendTemplate','querySelector','source','ck-suggestion-','cancel','ck-suggestion-wrapper--active','createElement','ck-annotation__main','split','_createButton','<span\x20class=\x22ck-suggestion-type\x22>','EXTERNAL_AVATAR','</span>','.ck-annotation__content-wrapper','editorDestroyed','author','userView','Discard\x20suggestion','ck-annotation__info','discardSuggestion','EXTERNAL_IMPORT_WORD_SUGGESTION','27171760ONysWp','authoredAt','ck-suggestion__user','\x22\x20title=\x22','3108928iZpXiI','2663680mzGUWK','acceptButton','map','bindTemplate','Accept\x20suggestion','getTemplate','commentThread','change:description','check','discardButton','14106aQPLDy','locale','innerText','ck-suggestion__main','\x22></span>','EXTERNAL_SUGGESTION','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','acceptSuggestion','content','isEnabled','set','ck-annotation','disableComments','isActive','element','ck-suggestion--accept','descriptionParts','name','commentsListView','</p>','span','color','<p>','ck-annotation__user','type','ck-annotation__info-time','fire','join','creator','ck-suggestion--disabled-comments','commentThreadInputView','isExternal','execute','ck-suggestion','bind','@external','getUserViewNotificationText','description','push','editorReady','ck-comment__info-time','render','innerHTML','_model','setTemplate','ck-annotation__actions','ck-suggestion-wrapper','ck-suggestion--discard','ck-annotation__info-name','value','ck-comment__external','attributes','importWord','ck-suggestion__actions','_config','canDiscard','_descriptionElement','41976LDxQKS','ck-suggestion__info'];_0x46ff=function(){return _0x24cd3f;};return _0x46ff();}function ds(_0x2fa193,_0x3c1334){const _0x363ff2=_0x4374f0;let _0x50d55d='';return _0x50d55d+=_0x2fa193[_0x363ff2(0xce)]('*')[_0x363ff2(0xe2)]((_0x59d79f,_0x3a422c)=>_0x3a422c%0x2!=0x0?_0x363ff2(0xd0)+us(_0x59d79f)+_0x363ff2(0xd2):us(_0x59d79f))[_0x363ff2(0x105)](''),_0x3c1334&&(_0x50d55d+=_0x363ff2(0xf0)+_0x3c1334[_0x363ff2(0x11b)]+_0x363ff2(0xde)+_0x3c1334[_0x363ff2(0x12a)]+_0x363ff2(0xee)),_0x50d55d;}function us(_0x3806f0){const _0x531741=_0x4374f0,_0x51e6b0=document[_0x531741(0xcc)](_0x531741(0xfe));return _0x51e6b0[_0x531741(0xec)]=_0x3806f0,_0x51e6b0[_0x531741(0x114)];}
|
|
@@ -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(_0x1a7247,_0x2479fa,_0x173d8e){const t=_0x1a7247['t'];switch(_0x2479fa){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',_0x173d8e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x173d8e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x173d8e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x173d8e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x173d8e);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',_0x173d8e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x173d8e);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',_0x173d8e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x173d8e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x173d8e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x173d8e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x173d8e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x173d8e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x173d8e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x173d8e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x173d8e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x173d8e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x173d8e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x173d8e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x173d8e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x173d8e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x173d8e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x173d8e);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'},_0x173d8e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x173d8e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x173d8e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x173d8e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x173d8e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x173d8e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x173d8e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x173d8e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x173d8e);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'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x173d8e);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'},_0x173d8e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x173d8e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x173d8e);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'},_0x173d8e);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'},_0x173d8e);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 _0x2479fa;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x482271,_0x21bf00){const _0x1a159a=_0xb46e,_0x511b53=_0x482271();while(!![]){try{const _0x33b607=-parseInt(_0x1a159a(0xd6))/0x1*(parseInt(_0x1a159a(0xe8))/0x2)+parseInt(_0x1a159a(0xce))/0x3+-parseInt(_0x1a159a(0xee))/0x4*(-parseInt(_0x1a159a(0xd1))/0x5)+parseInt(_0x1a159a(0xea))/0x6+parseInt(_0x1a159a(0xec))/0x7+parseInt(_0x1a159a(0xdf))/0x8*(parseInt(_0x1a159a(0xf3))/0x9)+parseInt(_0x1a159a(0xf0))/0xa*(-parseInt(_0x1a159a(0xef))/0xb);if(_0x33b607===_0x21bf00)break;else _0x511b53['push'](_0x511b53['shift']());}catch(_0x5eb135){_0x511b53['push'](_0x511b53['shift']());}}}(_0x291e,0x3ad81));function _0x291e(){const _0x1be21f=['start','from','join','isTouching','color','isMultiRange','145110nlOdUz','value','720576pklzWv','next','2754808ZBDrMl','execute','20OnVxFL','48554bbVxNC','1840osARSM','end','createRange','834489qjalei','isObject','length','isArray','isCollapsed','deletion','createPositionAfter','1335033EIytQO','replace','map','66275hnLhfP','add','getRanges','createPositionBefore','push','6JmTZus','splice','isInContent','change','content','createPositionAt','schema','sort','isIntersecting','40MkzsFB','type','\x20[color\x20'];_0x291e=function(){return _0x1be21f;};return _0x291e();}export function normalizeDescription(_0x19a04c){const _0x1a3749=_0xb46e;return Array[_0x1a3749(0xf6)](_0x19a04c)||(_0x19a04c=[_0x19a04c]),_0x19a04c[_0x1a3749(0xd0)](_0x53ee54=>{const _0x21948f=_0x1a3749,_0x45fdf8=_0x53ee54[_0x21948f(0xda)][_0x21948f(0xcf)](/\*/g,''),_0x1f657d=_0x53ee54[_0x21948f(0xe6)]?_0x21948f(0xe1)+_0x53ee54[_0x21948f(0xe6)][_0x21948f(0xe9)]+']':'';return'['+_0x53ee54[_0x21948f(0xe0)]+']\x20'+_0x45fdf8+_0x1f657d;})[_0x1a3749(0xe4)](';\x20');}export function sortSuggestions(_0x3c6abe){const _0x1adeea=_0xb46e;return _0x3c6abe[_0x1adeea(0xdd)]((_0x8bdecc,_0x540c87)=>_0x1adeea(0xcc)==_0x8bdecc[_0x1adeea(0xe0)]&&_0x1adeea(0xcc)!=_0x540c87[_0x1adeea(0xe0)]?-0x1:_0x1adeea(0xcc)!=_0x8bdecc[_0x1adeea(0xe0)]&&_0x1adeea(0xcc)==_0x540c87[_0x1adeea(0xe0)]?0x1:0x0);}function _0xb46e(_0x55f97e,_0x322629){const _0x291e12=_0x291e();return _0xb46e=function(_0xb46eca,_0xc63985){_0xb46eca=_0xb46eca-0xcc;let _0x4054ac=_0x291e12[_0xb46eca];return _0x4054ac;},_0xb46e(_0x55f97e,_0x322629);}export function getSelectedSuggestions(_0x41cc57,_0x1460a5){const _0x478d9d=_0xb46e,_0x19d715=Array[_0x478d9d(0xe3)](_0x41cc57[_0x478d9d(0xd3)]()),_0x14fbb7=new Set();for(const _0x2cebc1 of _0x1460a5)if(_0x2cebc1[_0x478d9d(0xd8)]){for(const _0x5b9925 of _0x19d715)for(const _0x50e081 of _0x2cebc1[_0x478d9d(0xd3)]())(_0x5b9925[_0x478d9d(0xde)](_0x50e081)||_0x41cc57[_0x478d9d(0xf7)]&&!_0x2cebc1[_0x478d9d(0xe7)]&&_0x2cebc1[_0x478d9d(0xeb)]&&_0x50e081[_0x478d9d(0xf1)][_0x478d9d(0xe5)](_0x5b9925[_0x478d9d(0xe2)]))&&_0x14fbb7[_0x478d9d(0xd2)](_0x2cebc1);}return _0x14fbb7;}export function getRangesOfBlockGroups(_0x2b1885,_0x5d31de){const _0x4fe039=_0xb46e;let _0x67388e,_0x8c23c8=0x0;const _0x24673e=[],_0x52fe5e=_0x5d31de[_0x4fe039(0xdc)];for(;_0x8c23c8<_0x2b1885[_0x4fe039(0xf5)];){const _0x4f8cc6=_0x2b1885[_0x8c23c8],_0x37aa73=_0x2b1885[_0x8c23c8+0x1];_0x67388e||(_0x67388e=_0x5d31de[_0x4fe039(0xd4)](_0x4f8cc6)),co(_0x5d31de,_0x4f8cc6,_0x37aa73)||(_0x24673e[_0x4fe039(0xd5)](_0x5d31de[_0x4fe039(0xf2)](_0x67388e,_0x52fe5e[_0x4fe039(0xf4)](_0x4f8cc6)?_0x5d31de[_0x4fe039(0xcd)](_0x4f8cc6):_0x5d31de[_0x4fe039(0xdb)](_0x4f8cc6,_0x4fe039(0xf1)))),_0x67388e=null),_0x8c23c8++;}return _0x24673e;}function co(_0x129dcc,_0x56410c,_0x5cc820){const _0x25bfdf=_0xb46e;if(!_0x5cc820)return!0x1;const _0xd9ee2d=_0x129dcc[_0x25bfdf(0xcd)](_0x56410c),_0x2168ae=_0x129dcc[_0x25bfdf(0xd4)](_0x5cc820);return _0xd9ee2d[_0x25bfdf(0xe5)](_0x2168ae);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x14b245,_0x2ce8f4,_0x3adbc3){const _0x145cd9=_0xb46e;for(;_0x3adbc3[_0x145cd9(0xf5)];){const _0x6a06e5=_0x3adbc3[_0x145cd9(0xd7)](0x0,0x64);_0x14b245[_0x145cd9(0xd9)](()=>{const _0x531e3a=_0x145cd9;for(const _0xe7d843 of _0x6a06e5)_0xe7d843[_0x531e3a(0xd8)]&&_0x2ce8f4[_0x531e3a(0xed)](_0xe7d843['id']);});}}
|