@ckeditor/ckeditor5-track-changes 42.0.0-alpha.8 → 42.0.0-alpha.9
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
|
-
const _0xa31a57=_0x13ca;(function(_0x40bafb,_0x2cb6bd){const _0x5de9cb=_0x13ca,_0x16a7f7=_0x40bafb();while(!![]){try{const _0xc1f634=-parseInt(_0x5de9cb(0x1d2))/0x1*(parseInt(_0x5de9cb(0x1ce))/0x2)+parseInt(_0x5de9cb(0x1c7))/0x3+parseInt(_0x5de9cb(0x1db))/0x4*(parseInt(_0x5de9cb(0x1f2))/0x5)+-parseInt(_0x5de9cb(0x21e))/0x6*(-parseInt(_0x5de9cb(0x209))/0x7)+parseInt(_0x5de9cb(0x1c5))/0x8*(-parseInt(_0x5de9cb(0x1c6))/0x9)+parseInt(_0x5de9cb(0x1f1))/0xa+-parseInt(_0x5de9cb(0x1a0))/0xb*(parseInt(_0x5de9cb(0x1e0))/0xc);if(_0xc1f634===_0x2cb6bd)break;else _0x16a7f7['push'](_0x16a7f7['shift']());}catch(_0x5cd954){_0x16a7f7['push'](_0x16a7f7['shift']());}}}(_0x2d02,0x18b1a));function _0x13ca(_0x3d9602,_0x367857){const _0x2d02eb=_0x2d02();return _0x13ca=function(_0x13ca9c,_0x3b94b0){_0x13ca9c=_0x13ca9c-0x195;let _0x1bd901=_0x2d02eb[_0x13ca9c];return _0x1bd901;},_0x13ca(_0x3d9602,_0x367857);}import{Plugin as _0x563064}from'ckeditor5/src/core.js';import{Collection as _0xbfc38b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5ed719,createDropdown as _0x4605b5,ListSeparatorView as _0x52be0b,MenuBarMenuView as _0x5ce064,MenuBarMenuListView as _0x27563c,MenuBarMenuListItemView as _0x452243,MenuBarMenuListItemButtonView as _0xc82e10,SplitButtonView as _0x180374,ViewModel as _0x37207e}from'ckeditor5/src/ui.js';import{Users as _0x587cbd,getDateTimeFormatter as _0x25486f,getAllMarkersDomElementsSorted as _0x265442}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x49f88d from'./trackchangesediting.js';import _0x5563f5 from'./ui/suggestioncontroller.js';import _0x323453 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5d36db}from'./utils/common-translations.js';import _0x368c8a from'../theme/icons/track-changes.svg';export default class d extends _0x563064{static get[_0xa31a57(0x19a)](){const _0x1b38b7=_0xa31a57;return[_0x49f88d,_0x587cbd,_0x1b38b7(0x1b4),_0x1b38b7(0x1b3),_0x1b38b7(0x1dd)];}static get[_0xa31a57(0x207)](){const _0x415392=_0xa31a57;return _0x415392(0x1ba);}constructor(_0x25c1aa){const _0x256cf4=_0xa31a57;super(_0x25c1aa),this[_0x256cf4(0x20b)]=new Map(),this[_0x256cf4(0x21a)]=new Map(),this[_0x256cf4(0x1c9)]=new Map(),this[_0x256cf4(0x1e9)]=new Map();const _0x887e60=this[_0x256cf4(0x197)][_0x256cf4(0x1de)];_0x887e60[_0x256cf4(0x1dc)](_0x256cf4(0x1bb),_0x323453),_0x887e60[_0x256cf4(0x1dc)](_0x256cf4(0x1e6),!0x1),this[_0x256cf4(0x1f6)]=_0x887e60[_0x256cf4(0x19b)](_0x256cf4(0x1e6));}[_0xa31a57(0x1e7)](_0x42bc79,_0x289ba5){const _0x456c91=_0xa31a57;0x0===this[_0x456c91(0x1e9)][_0x456c91(0x219)]&&setTimeout(()=>{const _0x5c98b1=_0x456c91;for(const [_0x26b394,_0x40df65]of this[_0x5c98b1(0x1e9)]){const _0x5a0099=this[_0x5c98b1(0x20b)][_0x5c98b1(0x1aa)](_0x26b394);_0x5a0099||_0x40df65?_0x5a0099&&_0x40df65&&this[_0x5c98b1(0x196)](_0x26b394):this[_0x5c98b1(0x1be)](_0x26b394);}this[_0x5c98b1(0x1e9)][_0x5c98b1(0x1d3)](),this[_0x5c98b1(0x197)][_0x5c98b1(0x205)][_0x5c98b1(0x19b)](_0x5c98b1(0x1dd))[_0x5c98b1(0x1ab)](),this[_0x5c98b1(0x1eb)]();},0xa),this[_0x456c91(0x1e9)][_0x456c91(0x21f)](_0x42bc79,_0x289ba5);}[_0xa31a57(0x1d7)](){const _0x10065=_0xa31a57,_0x191edd=this[_0x10065(0x197)],_0x1d7139=_0x191edd[_0x10065(0x205)][_0x10065(0x19b)](_0x10065(0x1b0)),_0x27e0c4=_0x191edd[_0x10065(0x205)][_0x10065(0x19b)](_0x10065(0x1b3)),_0x3ed1e3=_0x191edd[_0x10065(0x205)][_0x10065(0x19b)](_0x10065(0x1dd)),_0x1d7831=_0x191edd[_0x10065(0x205)][_0x10065(0x19b)](_0x10065(0x1b4));this[_0x10065(0x220)](),_0x3ed1e3[_0x10065(0x221)](()=>{const _0x1d39f0=_0x10065,_0x5458a4=[];for(const [_0x4c8038,_0x499688]of Array[_0x1d39f0(0x223)](this[_0x1d39f0(0x20b)])){const _0x4b997f=_0x4c8038[_0x1d39f0(0x202)](),_0x8caced=[];for(const _0x5b77d1 of _0x4b997f){if(!_0x5b77d1[_0x1d39f0(0x1a6)])continue;if(_0x5b77d1[_0x1d39f0(0x1d6)]){_0x8caced[_0x1d39f0(0x1c8)](..._0x5b77d1[_0x1d39f0(0x1c0)]());continue;}const _0x1a3569=_0x5b77d1[_0x1d39f0(0x1b8)]();if(_0x8caced[_0x1d39f0(0x216)]>0x0){const _0x2ac506=_0x8caced[0x0][_0x1d39f0(0x206)](_0x1a3569);if(_0x2ac506){_0x8caced[0x0]=_0x2ac506;continue;}}_0x8caced[_0x1d39f0(0x1c8)](_0x1a3569);}_0x5458a4[_0x1d39f0(0x1c8)]([_0x499688[_0x1d39f0(0x1c1)],_0x8caced]);}return _0x5458a4;}),this[_0x10065(0x210)](_0x1d7139,_0x10065(0x222),(_0x26e5d7,_0x33df45)=>{const _0x6a0c17=_0x10065;this[_0x6a0c17(0x210)](_0x33df45,_0x6a0c17(0x1d1),(_0x22c099,_0x5a8489,_0x53385e,_0x11c29a)=>{const _0x22157c=_0x6a0c17;_0x33df45[_0x22157c(0x1a6)]&&(null==_0x53385e?(this[_0x22157c(0x1a1)](_0x11c29a[_0x22157c(0x1cb)]),this[_0x22157c(0x1e7)](_0x33df45,!0x1)):(this[_0x22157c(0x1a1)](_0x53385e[_0x22157c(0x1cb)]),null==_0x11c29a&&this[_0x22157c(0x1e7)](_0x33df45,!0x0)));}),null!==_0x33df45[_0x6a0c17(0x1f5)]?this[_0x6a0c17(0x1a1)](_0x33df45[_0x6a0c17(0x1cb)]):this[_0x6a0c17(0x1e7)](_0x33df45,!0x1);}),this[_0x10065(0x210)](_0x1d7139,_0x10065(0x195),(_0x2fcb2c,_0x39808f,_0x329925)=>{const _0x5097c8=_0x10065;this[_0x5097c8(0x217)](_0x39808f,_0x5097c8(0x1d1)),this[_0x5097c8(0x1e9)][_0x5097c8(0x19c)](_0x39808f),this[_0x5097c8(0x20b)][_0x5097c8(0x1aa)](_0x39808f)&&this[_0x5097c8(0x196)](_0x39808f),_0x329925&&this[_0x5097c8(0x1a1)](_0x329925[_0x5097c8(0x1cb)]);}),this[_0x10065(0x210)](_0x1d7139,_0x10065(0x1ae),(_0x3740bf,_0x51c560)=>{const _0x1a1a87=_0x10065;this[_0x1a1a87(0x1a1)](_0x51c560);}),this[_0x10065(0x210)](_0x27e0c4,_0x10065(0x1e3),()=>{const _0x12d64d=_0x10065;this[_0x12d64d(0x1eb)]();}),this[_0x10065(0x210)](_0x1d7831,_0x10065(0x204),(_0x55e43e,{threadId:_0x5a18d9,isFromAdapter:_0x370241})=>{const _0x2ced56=_0x10065;if(_0x370241||!_0x1d7139[_0x2ced56(0x1ee)](_0x5a18d9))return;const _0x504bad=_0x1d7139[_0x2ced56(0x1b9)](_0x5a18d9);this[_0x2ced56(0x20b)][_0x2ced56(0x19b)](_0x504bad)[_0x2ced56(0x1c1)][_0x2ced56(0x20d)]();},{'priority':_0x10065(0x1ad)});}[_0xa31a57(0x1eb)](){const _0x5d755a=_0xa31a57,_0x436189=this[_0x5d755a(0x197)][_0x5d755a(0x205)][_0x5d755a(0x19b)](_0x5d755a(0x1b3)),_0x1e36c6=this[_0x5d755a(0x197)][_0x5d755a(0x205)][_0x5d755a(0x19b)](_0x5d755a(0x1b0)),_0x1174c9=Array[_0x5d755a(0x223)](_0x436189[_0x5d755a(0x1d8)],_0x332877=>_0x332877[_0x5d755a(0x1a8)])[_0x5d755a(0x198)](_0x4f842e=>this[_0x5d755a(0x21a)][_0x5d755a(0x1aa)](_0x4f842e)),_0x3a9148=[];for(const _0x126285 of _0x1174c9){const _0x2893f4=this[_0x5d755a(0x21a)][_0x5d755a(0x19b)](_0x126285)[_0x5d755a(0x1d5)][_0x5d755a(0x202)]();_0x3a9148[_0x5d755a(0x1c8)](..._0x2893f4[_0x5d755a(0x20c)]((_0xe6acca,_0x16b574)=>[..._0xe6acca,..._0x16b574[_0x5d755a(0x214)]()],[]));}_0x1e36c6[_0x5d755a(0x199)]=_0x3a9148;}[_0xa31a57(0x220)](){const _0x35c7bd=_0xa31a57,_0x298ffb=this[_0x35c7bd(0x197)],_0x5c90ac=_0x298ffb[_0x35c7bd(0x1cc)],_0x520dbd=_0x5d36db(_0x5c90ac,_0x35c7bd(0x1bd)),_0x476478=new _0xbfc38b([{'type':_0x35c7bd(0x19e),'model':new _0x37207e({'withText':!0x0,'label':_0x520dbd,'commandName':_0x35c7bd(0x1a4),'role':_0x35c7bd(0x201)})},{'type':_0x35c7bd(0x1e2)},{'type':_0x35c7bd(0x1c2),'model':new _0x37207e({'withText':!0x0,'label':_0x5d36db(_0x5c90ac,_0x35c7bd(0x1df)),'commandName':_0x35c7bd(0x1fe),'role':_0x35c7bd(0x1a9)})},{'type':_0x35c7bd(0x1c2),'model':new _0x37207e({'withText':!0x0,'label':_0x5d36db(_0x5c90ac,_0x35c7bd(0x1d4)),'commandName':_0x35c7bd(0x1fd),'role':_0x35c7bd(0x1a9)})},{'type':_0x35c7bd(0x1c2),'model':new _0x37207e({'withText':!0x0,'label':_0x5d36db(_0x5c90ac,_0x35c7bd(0x212)),'commandName':_0x35c7bd(0x215),'role':_0x35c7bd(0x1a9)})},{'type':_0x35c7bd(0x1c2),'model':new _0x37207e({'withText':!0x0,'label':_0x5d36db(_0x5c90ac,_0x35c7bd(0x1fa)),'commandName':_0x35c7bd(0x1b7),'role':_0x35c7bd(0x1a9)})}]);for(const _0x249778 of _0x476478)if(ae(_0x249778)){const _0x4363f7=_0x298ffb[_0x35c7bd(0x208)][_0x35c7bd(0x19b)](_0x249778[_0x35c7bd(0x1d5)][_0x35c7bd(0x218)]);_0x249778[_0x35c7bd(0x1d5)][_0x35c7bd(0x1c3)](_0x35c7bd(0x1d9),_0x35c7bd(0x1f0))['to'](_0x4363f7,_0x35c7bd(0x200),_0x35c7bd(0x1f0));}_0x298ffb['ui'][_0x35c7bd(0x20e)][_0x35c7bd(0x1ef)](_0x35c7bd(0x1a4),_0x3c87c3=>this[_0x35c7bd(0x1bc)](_0x3c87c3,_0x476478,_0x520dbd)),_0x298ffb['ui'][_0x35c7bd(0x20e)][_0x35c7bd(0x1ef)](_0x35c7bd(0x20a),_0x4f31d1=>this[_0x35c7bd(0x1b5)](_0x4f31d1,_0x476478,_0x520dbd));}[_0xa31a57(0x1bc)](_0xa32002,_0x28cbbf,_0x2775ff){const _0x225a51=_0xa31a57,_0x2e76a2=_0x4605b5(_0xa32002,_0x180374),_0x36716f=this[_0x225a51(0x197)][_0x225a51(0x208)][_0x225a51(0x19b)](_0x225a51(0x1a4));_0x2e76a2[_0x225a51(0x1e8)][_0x225a51(0x21f)]({'tooltip':_0x2775ff,'label':_0x2775ff,'icon':_0x368c8a}),_0x2e76a2[_0x225a51(0x1e8)][_0x225a51(0x1c3)](_0x225a51(0x1d9))['to'](_0x36716f,_0x225a51(0x200)),_0x2e76a2[_0x225a51(0x1e8)]['on'](_0x225a51(0x20f),()=>{const _0x33e70d=_0x225a51;_0x36716f[_0x33e70d(0x20f)](),this[_0x33e70d(0x197)][_0x33e70d(0x21d)][_0x33e70d(0x1c1)][_0x33e70d(0x20d)]();}),_0x5ed719(_0x2e76a2,_0x28cbbf,{'role':_0x225a51(0x1b1)});const _0x2ffd76=[];for(const _0x4ee32f of _0x28cbbf)ae(_0x4ee32f)&&_0x2ffd76[_0x225a51(0x1c8)](this[_0x225a51(0x197)][_0x225a51(0x208)][_0x225a51(0x19b)](_0x4ee32f[_0x225a51(0x1d5)][_0x225a51(0x218)]));const _0x438469=_0x2e76a2[_0x225a51(0x1e8)];return _0x438469[_0x225a51(0x227)][_0x225a51(0x1cf)](_0x225a51(0x1f0)),_0x438469[_0x225a51(0x1bf)][_0x225a51(0x1cf)](_0x225a51(0x1f0)),_0x438469[_0x225a51(0x227)][_0x225a51(0x1c3)](_0x225a51(0x1f0))['to'](_0x36716f,_0x225a51(0x1f0)),_0x438469[_0x225a51(0x1bf)][_0x225a51(0x1c3)](_0x225a51(0x1f0))[_0x225a51(0x1ff)](_0x2ffd76,_0x225a51(0x1f0),(..._0x248760)=>_0x248760[_0x225a51(0x226)](_0x5ba66e=>_0x5ba66e)),_0x2e76a2['on'](_0x225a51(0x20f),_0xd67f51=>{const _0x7b388b=_0x225a51;this[_0x7b388b(0x197)][_0x7b388b(0x20f)](_0xd67f51[_0x7b388b(0x1e5)][_0x7b388b(0x218)]),this[_0x7b388b(0x197)][_0x7b388b(0x21d)][_0x7b388b(0x1c1)][_0x7b388b(0x20d)]();}),_0x2e76a2;}[_0xa31a57(0x1b5)](_0x2a5782,_0xadf752,_0x139a54){const _0x435465=_0xa31a57,_0x2fc2cd=new _0x5ce064(_0x2a5782),_0x419c5e=this[_0x435465(0x197)][_0x435465(0x208)][_0x435465(0x19b)](_0x435465(0x1a4));_0x2fc2cd[_0x435465(0x1e8)][_0x435465(0x21f)]({'label':_0x139a54,'icon':_0x368c8a});const _0xf89d8d=new _0x27563c(_0x2a5782);for(const _0x123e0f of _0xadf752){if(_0x435465(0x1e2)==_0x123e0f[_0x435465(0x1f9)]){_0xf89d8d[_0x435465(0x19d)][_0x435465(0x1ef)](new _0x52be0b(_0x2a5782));continue;}const _0x1bc956=new _0x452243(_0x2a5782,_0x2fc2cd),_0x16f76f=new _0xc82e10(_0x2a5782),_0x376fac=_0x123e0f[_0x435465(0x1d5)];_0x16f76f[_0x435465(0x1c3)](...Object[_0x435465(0x213)](_0x376fac))['to'](_0x376fac),_0x16f76f[_0x435465(0x1f7)](_0x435465(0x20f))['to'](_0x2fc2cd),_0x16f76f['on'](_0x435465(0x20f),()=>{const _0x2dbae3=_0x435465;this[_0x2dbae3(0x197)][_0x2dbae3(0x20f)](_0x376fac[_0x2dbae3(0x218)]),this[_0x2dbae3(0x197)][_0x2dbae3(0x21d)][_0x2dbae3(0x1c1)][_0x2dbae3(0x20d)]();}),_0x1bc956[_0x435465(0x1da)][_0x435465(0x1ef)](_0x16f76f),_0xf89d8d[_0x435465(0x19d)][_0x435465(0x1ef)](_0x1bc956);}return _0x2fc2cd[_0x435465(0x1c3)](_0x435465(0x1f0))['to'](_0x419c5e,_0x435465(0x1f0)),_0x2fc2cd[_0x435465(0x1f8)][_0x435465(0x1da)][_0x435465(0x1ef)](_0xf89d8d),_0x2fc2cd;}[_0xa31a57(0x1be)](_0x5290b7){const _0x2908c1=_0xa31a57,_0x2dbad2=this[_0x2908c1(0x197)],_0x3ece35=_0x2dbad2[_0x2908c1(0x1de)],_0x554ec0=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1b3)),_0x10de05=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1b4)),_0x14d1b2=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1dd)),_0x30e37c=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x587cbd)['me'],_0x356bc3=_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1a4))[_0x2908c1(0x1cd)],{CommentsListView:_0x3b2cb7,CommentThreadInputView:_0x370975}=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1a7));let _0x232e46,_0xc83ed4;this[_0x2908c1(0x1c9)][_0x2908c1(0x1aa)](_0x5290b7['id'])?(_0xc83ed4=this[_0x2908c1(0x1c9)][_0x2908c1(0x19b)](_0x5290b7['id']),_0x232e46=_0xc83ed4[_0x2908c1(0x1ac)]):(_0x232e46=new _0x356bc3(_0x2dbad2[_0x2908c1(0x1cc)],_0x5290b7,_0x30e37c,{'disableComments':this[_0x2908c1(0x1f6)],'editorConfig':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1a3)),'maxCommentsWhenCollapsed':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1a2)),'maxThreadTotalWeight':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1b6)),'maxCommentCharsWhenCollapsed':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x225)),'formatDateTime':_0x25486f(_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x1cc))),'CommentView':_0x3ece35[_0x2908c1(0x19b)](_0x2908c1(0x19f))[_0x2908c1(0x1b2)],'CommentsListView':_0x3b2cb7,'CommentThreadInputView':_0x370975}),_0x232e46[_0x2908c1(0x203)]['on'](_0x2908c1(0x20f),()=>{const _0xd65a98=_0x2908c1;_0x2dbad2[_0xd65a98(0x21d)][_0xd65a98(0x1c1)][_0xd65a98(0x20d)]();}),_0x232e46[_0x2908c1(0x1f3)]['on'](_0x2908c1(0x20f),()=>{const _0x84b10=_0x2908c1;_0x2dbad2[_0x84b10(0x21d)][_0x84b10(0x1c1)][_0x84b10(0x20d)]();}),_0xc83ed4=_0x554ec0[_0x2908c1(0x1a5)](this[_0x2908c1(0x197)][_0x2908c1(0x1cc)],_0x232e46),_0xc83ed4[_0x2908c1(0x1c3)](_0x2908c1(0x224))['to'](_0x232e46,_0x2908c1(0x224)),_0xc83ed4[_0x2908c1(0x1c3)](_0x2908c1(0x216))['to'](_0x232e46),_0xc83ed4[_0x2908c1(0x1c3)](_0x2908c1(0x1f9))['to'](_0x232e46,_0x2908c1(0x1f9),_0x40dc3f=>_0x2908c1(0x1c4)+_0x40dc3f),this[_0x2908c1(0x1c9)][_0x2908c1(0x21f)](_0x5290b7['id'],_0xc83ed4));const _0x3fda39=_0x10de05[_0x2908c1(0x1e4)](_0x5290b7[_0x2908c1(0x211)],_0x232e46),_0x27f18f=new _0x5563f5(_0x2dbad2,_0x5290b7,_0x232e46,_0x3fda39),_0x1694a3=_0x5290b7[_0x2908c1(0x202)]()[_0x2908c1(0x198)](_0xc9e1cc=>_0xc9e1cc[_0x2908c1(0x1a6)]);_0x232e46[_0x2908c1(0x1af)]=_0x2dbad2[_0x2908c1(0x205)][_0x2908c1(0x19b)](_0x2908c1(0x1b0))[_0x2908c1(0x21c)][_0x2908c1(0x1fc)](_0x1694a3),this[_0x2908c1(0x20b)][_0x2908c1(0x21f)](_0x5290b7,_0x27f18f),this[_0x2908c1(0x21a)][_0x2908c1(0x21f)](_0x232e46,_0x27f18f);const _0x35e059=_0x554ec0[_0x2908c1(0x21b)]({'view':_0xc83ed4,'target':()=>{const _0x2d52ab=_0x2908c1,_0x52af77=[],_0x391f69=_0x5290b7[_0x2d52ab(0x202)]()[_0x2d52ab(0x198)](_0x21d8ab=>_0x21d8ab[_0x2d52ab(0x1a6)]);for(const _0x5df6be of _0x391f69)_0x52af77[_0x2d52ab(0x1c8)](..._0x5df6be[_0x2d52ab(0x1ec)]());return _0x265442(_0x2dbad2[_0x2d52ab(0x21d)],_0x52af77);},'type':()=>_0x2908c1(0x1c4)+_0x27f18f[_0x2908c1(0x1c1)][_0x2908c1(0x1f9)]});_0x10de05[_0x2908c1(0x1f4)](_0x232e46,_0x35e059),_0x554ec0[_0x2908c1(0x1ef)](_0x35e059),_0x14d1b2[_0x2908c1(0x1fb)](_0x35e059);}[_0xa31a57(0x196)](_0x1cd869){const _0x1db064=_0xa31a57,_0x1e8a8f=this[_0x1db064(0x197)][_0x1db064(0x205)][_0x1db064(0x19b)](_0x1db064(0x1b4)),_0x339292=this[_0x1db064(0x197)][_0x1db064(0x205)][_0x1db064(0x19b)](_0x1db064(0x1b3)),_0x17c963=this[_0x1db064(0x20b)][_0x1db064(0x19b)](_0x1cd869),_0x59be1e=_0x17c963[_0x1db064(0x1c1)],_0xac62f3=_0x339292[_0x1db064(0x1d0)](_0x59be1e);_0x1e8a8f[_0x1db064(0x1ea)](_0x59be1e),_0xac62f3&&_0x339292[_0x1db064(0x1ca)](_0xac62f3),this[_0x1db064(0x20b)][_0x1db064(0x19c)](_0x1cd869),this[_0x1db064(0x21a)][_0x1db064(0x19c)](_0x59be1e),_0x17c963[_0x1db064(0x1ed)]();}[_0xa31a57(0x1a1)](_0x36516d){const _0x495638=_0xa31a57;if(!_0x36516d[_0x495638(0x1a6)]||!this[_0x495638(0x20b)][_0x495638(0x1aa)](_0x36516d))return;const _0x42a47f=this[_0x495638(0x197)][_0x495638(0x205)][_0x495638(0x19b)](_0x495638(0x1b0)),_0x51eac5=this[_0x495638(0x20b)][_0x495638(0x19b)](_0x36516d),_0x4b49cd=_0x36516d[_0x495638(0x202)]();_0x51eac5[_0x495638(0x1c1)][_0x495638(0x1af)]=_0x42a47f[_0x495638(0x21c)][_0x495638(0x1fc)](_0x4b49cd);}[_0xa31a57(0x1ed)](){const _0x1f4731=_0xa31a57;for(const _0x2885d7 of this[_0x1f4731(0x20b)][_0x1f4731(0x213)]())this[_0x1f4731(0x196)](_0x2885d7);for(const _0x50ef3d of this[_0x1f4731(0x1c9)][_0x1f4731(0x1e1)]())_0x50ef3d[_0x1f4731(0x1ac)][_0x1f4731(0x1ed)]();super[_0x1f4731(0x1ed)]();}}function _0x2d02(){const _0x1ca381=['pluginName','commands','7IfkxvB','menuBar:trackChanges','_suggestionToController','reduce','focus','componentFactory','execute','listenTo','commentThread','Discard\x20all\x20suggestions','keys','getMarkerNames','discardAllSuggestions','length','stopListening','commandName','size','_viewToController','createAnnotation','descriptionFactory','editing','770442mySApL','set','_addUIComponentsToFactory','addSourceCollector','suggestionLoaded','from','isDirty','comments.maxCommentCharsWhenCollapsed','some','actionView','suggestionUnloaded','_destroyController','editor','filter','activeMarkers','requires','get','delete','items','switchbutton','comments','11GBIwxJ','_updateController','comments.maxCommentsWhenCollapsed','comments.editorConfig','trackChanges','createAnnotationView','isInContent','CommentsUI','innerView','menuitem','has','refreshSelectedViews','mainView','lowest','suggestionChanged','descriptionParts','TrackChangesEditing','menu','CommentView','Annotations','CommentsRepository','_createMenuBarMenu','comments.maxThreadTotalWeight','discardSelectedSuggestions','getFirstRange','getSuggestion','TrackChangesUI','trackChanges.SuggestionThreadView','_createToolbarButton','Track\x20changes','_initializeController','arrowView','getRanges','view','button','bind','suggestion-','552cbjtJE','5823VhGTCA','300429LrqxHk','push','_annotationViews','remove','head','locale','SuggestionThreadView','2crelMg','unbind','getByInnerView','change:previous','60454LqoUgf','clear','Accept\x20all\x20selected\x20suggestions','model','isMultiRange','init','activeAnnotations','isOn','children','1004Ejdhjd','define','EditorAnnotations','config','Accept\x20all\x20suggestions','2538036lvfnCf','values','separator','change:activeAnnotations','createCommentThreadController','source','trackChanges.disableComments','_handleSuggestionControllerDelayed','buttonView','_handleControllerBuffer','_unbindEditors','_refreshActiveMarkers','getMarkers','destroy','hasSuggestion','add','isEnabled','343290BncDhq','3085OlbkTu','discardButton','_bindAnnotationToEditors','previous','_disableComments','delegate','panelView','type','Discard\x20all\x20selected\x20suggestions','registerAnnotation','getDescriptions','acceptSelectedSuggestions','acceptAllSuggestions','toMany','value','menuitemcheckbox','getAllAdjacentSuggestions','acceptButton','addComment','plugins','getJoined'];_0x2d02=function(){return _0x1ca381;};return _0x2d02();}function ae(_0x15594d){const _0x33aebd=_0xa31a57;return _0x33aebd(0x1d5)in _0x15594d;}
|
|
23
|
+
const _0x49b3c2=_0x4efa;(function(_0x3a0bda,_0x3fd90b){const _0x3d8c3e=_0x4efa,_0x540cbb=_0x3a0bda();while(!![]){try{const _0x25a5b8=parseInt(_0x3d8c3e(0xc1))/0x1+-parseInt(_0x3d8c3e(0x100))/0x2*(-parseInt(_0x3d8c3e(0xee))/0x3)+-parseInt(_0x3d8c3e(0x80))/0x4+parseInt(_0x3d8c3e(0xd5))/0x5*(-parseInt(_0x3d8c3e(0xe9))/0x6)+parseInt(_0x3d8c3e(0xe7))/0x7+parseInt(_0x3d8c3e(0xcf))/0x8*(-parseInt(_0x3d8c3e(0x94))/0x9)+parseInt(_0x3d8c3e(0x9d))/0xa*(-parseInt(_0x3d8c3e(0xca))/0xb);if(_0x25a5b8===_0x3fd90b)break;else _0x540cbb['push'](_0x540cbb['shift']());}catch(_0x44e42a){_0x540cbb['push'](_0x540cbb['shift']());}}}(_0x258d,0x7736d));import{Plugin as _0x3286d6}from'ckeditor5/src/core.js';import{Collection as _0x1b97cc}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x23cf22,createDropdown as _0x4df323,ListSeparatorView as _0x4af5ac,MenuBarMenuView as _0xa24f54,MenuBarMenuListView as _0x35dfca,MenuBarMenuListItemView as _0x486678,MenuBarMenuListItemButtonView as _0x64da75,SplitButtonView as _0xa4717f,ViewModel as _0x182973}from'ckeditor5/src/ui.js';function _0x258d(){const _0x3c555c=['comments.maxCommentCharsWhenCollapsed','Annotations','focus','_unbindEditors','suggestionUnloaded','pluginName','_annotationViews','push','button','requires','EditorAnnotations','4417056dChBBs','_viewToController','change:activeAnnotations','switchbutton','init','suggestion-','Accept\x20all\x20suggestions','clear','descriptionParts','17410bWKqNy','config','stopListening','_addUIComponentsToFactory','listenTo','createCommentThreadController','toMany','define','activeAnnotations','comments','delete','createAnnotationView','getSuggestion','trackChanges','addSourceCollector','lowest','reduce','_createToolbarButton','comments.editorConfig','_initializeController','delegate','menuitem','_updateController','CommentView','discardAllSuggestions','hasSuggestion','getMarkerNames','suggestionChanged','acceptAllSuggestions','CommentsRepository','some','isMultiRange','commands','trackChanges.disableComments','panelView','trackChanges.SuggestionThreadView','742735pOAJOq','menuitemcheckbox','registerAnnotation','acceptButton','suggestionLoaded','_suggestionToController','getJoined','remove','getDescriptions','1243xIvEps','keys','addComment','componentFactory','isEnabled','8fZatMb','TrackChangesUI','getMarkers','plugins','Discard\x20all\x20selected\x20suggestions','source','5sTOBHM','Accept\x20all\x20selected\x20suggestions','acceptSelectedSuggestions','innerView','getAllAdjacentSuggestions','getRanges','isDirty','buttonView','Track\x20changes','activeMarkers','size','menu','descriptionFactory','previous','_handleControllerBuffer','view','get','set','3075814ueUARQ','bind','3897174RrjigC','_handleSuggestionControllerDelayed','values','mainView','discardButton','31695TOySNh','_disableComments','editor','has','createAnnotation','arrowView','_destroyController','filter','CommentsUI','isInContent','items','isOn','from','getFirstRange','unbind','type','children','_createMenuBarMenu','158TUoTjc','discardSelectedSuggestions','execute','editing','head','value','refreshSelectedViews','menuBar:trackChanges','length','SuggestionThreadView','change:previous','getByInnerView','commandName','locale','TrackChangesEditing','separator','_bindAnnotationToEditors','_refreshActiveMarkers','765700XAZNOX','add','actionView','model','comments.maxCommentsWhenCollapsed','Discard\x20all\x20suggestions','commentThread','destroy','comments.maxThreadTotalWeight'];_0x258d=function(){return _0x3c555c;};return _0x258d();}import{Users as _0x2922b4,getDateTimeFormatter as _0x38b329,getAllMarkersDomElementsSorted as _0xe4fd21}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x18005b from'./trackchangesediting.js';import _0x1f11c7 from'./ui/suggestioncontroller.js';import _0x3b91b3 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x1b73e9}from'./utils/common-translations.js';import _0x3e4a52 from'../theme/icons/track-changes.svg';function _0x4efa(_0x2fd948,_0x10f215){const _0x258d8f=_0x258d();return _0x4efa=function(_0x4efae4,_0x4b4f82){_0x4efae4=_0x4efae4-0x75;let _0x273239=_0x258d8f[_0x4efae4];return _0x273239;},_0x4efa(_0x2fd948,_0x10f215);}export default class d extends _0x3286d6{static get[_0x49b3c2(0x92)](){const _0x33efdf=_0x49b3c2;return[_0x18005b,_0x2922b4,_0x33efdf(0xba),_0x33efdf(0x8a),_0x33efdf(0x93)];}static get[_0x49b3c2(0x8e)](){const _0x1886ad=_0x49b3c2;return _0x1886ad(0xd0);}constructor(_0x4ee0a2){const _0x3849ed=_0x49b3c2;super(_0x4ee0a2),this[_0x3849ed(0xc6)]=new Map(),this[_0x3849ed(0x95)]=new Map(),this[_0x3849ed(0x8f)]=new Map(),this[_0x3849ed(0xe3)]=new Map();const _0x4f6176=this[_0x3849ed(0xf0)][_0x3849ed(0x9e)];_0x4f6176[_0x3849ed(0xa4)](_0x3849ed(0xc0),_0x3b91b3),_0x4f6176[_0x3849ed(0xa4)](_0x3849ed(0xbe),!0x1),this[_0x3849ed(0xef)]=_0x4f6176[_0x3849ed(0xe5)](_0x3849ed(0xbe));}[_0x49b3c2(0xea)](_0x1dbb1a,_0x1c65d7){const _0x3928c3=_0x49b3c2;0x0===this[_0x3928c3(0xe3)][_0x3928c3(0xdf)]&&setTimeout(()=>{const _0x2641fc=_0x3928c3;for(const [_0x2f06fe,_0x4bfdb0]of this[_0x2641fc(0xe3)]){const _0x20069b=this[_0x2641fc(0xc6)][_0x2641fc(0xf1)](_0x2f06fe);_0x20069b||_0x4bfdb0?_0x20069b&&_0x4bfdb0&&this[_0x2641fc(0xf4)](_0x2f06fe):this[_0x2641fc(0xb0)](_0x2f06fe);}this[_0x2641fc(0xe3)][_0x2641fc(0x9b)](),this[_0x2641fc(0xf0)][_0x2641fc(0xd2)][_0x2641fc(0xe5)](_0x2641fc(0x93))[_0x2641fc(0x106)](),this[_0x2641fc(0x7f)]();},0xa),this[_0x3928c3(0xe3)][_0x3928c3(0xe6)](_0x1dbb1a,_0x1c65d7);}[_0x49b3c2(0x98)](){const _0x428ead=_0x49b3c2,_0x2744c4=this[_0x428ead(0xf0)],_0x545f23=_0x2744c4[_0x428ead(0xd2)][_0x428ead(0xe5)](_0x428ead(0x7c)),_0x46fe45=_0x2744c4[_0x428ead(0xd2)][_0x428ead(0xe5)](_0x428ead(0x8a)),_0x21e3c4=_0x2744c4[_0x428ead(0xd2)][_0x428ead(0xe5)](_0x428ead(0x93)),_0x5ead7e=_0x2744c4[_0x428ead(0xd2)][_0x428ead(0xe5)](_0x428ead(0xba));this[_0x428ead(0xa0)](),_0x21e3c4[_0x428ead(0xab)](()=>{const _0x3a9c40=_0x428ead,_0x195539=[];for(const [_0x234a62,_0x399120]of Array[_0x3a9c40(0xfa)](this[_0x3a9c40(0xc6)])){const _0x1636ff=_0x234a62[_0x3a9c40(0xd9)](),_0x11f71d=[];for(const _0x549a04 of _0x1636ff){if(!_0x549a04[_0x3a9c40(0xf7)])continue;if(_0x549a04[_0x3a9c40(0xbc)]){_0x11f71d[_0x3a9c40(0x90)](..._0x549a04[_0x3a9c40(0xda)]());continue;}const _0x11e6cc=_0x549a04[_0x3a9c40(0xfb)]();if(_0x11f71d[_0x3a9c40(0x76)]>0x0){const _0x26d97d=_0x11f71d[0x0][_0x3a9c40(0xc7)](_0x11e6cc);if(_0x26d97d){_0x11f71d[0x0]=_0x26d97d;continue;}}_0x11f71d[_0x3a9c40(0x90)](_0x11e6cc);}_0x195539[_0x3a9c40(0x90)]([_0x399120[_0x3a9c40(0xe4)],_0x11f71d]);}return _0x195539;}),this[_0x428ead(0xa1)](_0x545f23,_0x428ead(0xc5),(_0x52553f,_0x50c170)=>{const _0x40bbee=_0x428ead;this[_0x40bbee(0xa1)](_0x50c170,_0x40bbee(0x78),(_0x359972,_0x9023cf,_0x504643,_0x3f967f)=>{const _0x53bf18=_0x40bbee;_0x50c170[_0x53bf18(0xf7)]&&(null==_0x504643?(this[_0x53bf18(0xb3)](_0x3f967f[_0x53bf18(0x104)]),this[_0x53bf18(0xea)](_0x50c170,!0x1)):(this[_0x53bf18(0xb3)](_0x504643[_0x53bf18(0x104)]),null==_0x3f967f&&this[_0x53bf18(0xea)](_0x50c170,!0x0)));}),null!==_0x50c170[_0x40bbee(0xe2)]?this[_0x40bbee(0xb3)](_0x50c170[_0x40bbee(0x104)]):this[_0x40bbee(0xea)](_0x50c170,!0x1);}),this[_0x428ead(0xa1)](_0x545f23,_0x428ead(0x8d),(_0x39f789,_0x12967c,_0x29d330)=>{const _0x10a100=_0x428ead;this[_0x10a100(0x9f)](_0x12967c,_0x10a100(0x78)),this[_0x10a100(0xe3)][_0x10a100(0xa7)](_0x12967c),this[_0x10a100(0xc6)][_0x10a100(0xf1)](_0x12967c)&&this[_0x10a100(0xf4)](_0x12967c),_0x29d330&&this[_0x10a100(0xb3)](_0x29d330[_0x10a100(0x104)]);}),this[_0x428ead(0xa1)](_0x545f23,_0x428ead(0xb8),(_0x54fadb,_0x48fa34)=>{const _0x5e8521=_0x428ead;this[_0x5e8521(0xb3)](_0x48fa34);}),this[_0x428ead(0xa1)](_0x46fe45,_0x428ead(0x96),()=>{const _0x5329d5=_0x428ead;this[_0x5329d5(0x7f)]();}),this[_0x428ead(0xa1)](_0x5ead7e,_0x428ead(0xcc),(_0x3783d7,{threadId:_0x1517ac,isFromAdapter:_0xe11123})=>{const _0x195d80=_0x428ead;if(_0xe11123||!_0x545f23[_0x195d80(0xb6)](_0x1517ac))return;const _0x322a7f=_0x545f23[_0x195d80(0xa9)](_0x1517ac);this[_0x195d80(0xc6)][_0x195d80(0xe5)](_0x322a7f)[_0x195d80(0xe4)][_0x195d80(0x8b)]();},{'priority':_0x428ead(0xac)});}[_0x49b3c2(0x7f)](){const _0x1c4189=_0x49b3c2,_0x1e797=this[_0x1c4189(0xf0)][_0x1c4189(0xd2)][_0x1c4189(0xe5)](_0x1c4189(0x8a)),_0x41779f=this[_0x1c4189(0xf0)][_0x1c4189(0xd2)][_0x1c4189(0xe5)](_0x1c4189(0x7c)),_0x260217=Array[_0x1c4189(0xfa)](_0x1e797[_0x1c4189(0xa5)],_0x4aded0=>_0x4aded0[_0x1c4189(0xd8)])[_0x1c4189(0xf5)](_0x277a8e=>this[_0x1c4189(0x95)][_0x1c4189(0xf1)](_0x277a8e)),_0x41b9d4=[];for(const _0x55d28a of _0x260217){const _0x12e32b=this[_0x1c4189(0x95)][_0x1c4189(0xe5)](_0x55d28a)[_0x1c4189(0x83)][_0x1c4189(0xd9)]();_0x41b9d4[_0x1c4189(0x90)](..._0x12e32b[_0x1c4189(0xad)]((_0x3fcd75,_0x3ddf56)=>[..._0x3fcd75,..._0x3ddf56[_0x1c4189(0xb7)]()],[]));}_0x41779f[_0x1c4189(0xde)]=_0x41b9d4;}[_0x49b3c2(0xa0)](){const _0x4cc626=_0x49b3c2,_0x543d37=this[_0x4cc626(0xf0)],_0x44e1b6=_0x543d37[_0x4cc626(0x7b)],_0x1e7280=_0x1b73e9(_0x44e1b6,_0x4cc626(0xdd)),_0x26db82=new _0x1b97cc([{'type':_0x4cc626(0x97),'model':new _0x182973({'withText':!0x0,'label':_0x1e7280,'commandName':_0x4cc626(0xaa),'role':_0x4cc626(0xc2)})},{'type':_0x4cc626(0x7d)},{'type':_0x4cc626(0x91),'model':new _0x182973({'withText':!0x0,'label':_0x1b73e9(_0x44e1b6,_0x4cc626(0x9a)),'commandName':_0x4cc626(0xb9),'role':_0x4cc626(0xb2)})},{'type':_0x4cc626(0x91),'model':new _0x182973({'withText':!0x0,'label':_0x1b73e9(_0x44e1b6,_0x4cc626(0xd6)),'commandName':_0x4cc626(0xd7),'role':_0x4cc626(0xb2)})},{'type':_0x4cc626(0x91),'model':new _0x182973({'withText':!0x0,'label':_0x1b73e9(_0x44e1b6,_0x4cc626(0x85)),'commandName':_0x4cc626(0xb5),'role':_0x4cc626(0xb2)})},{'type':_0x4cc626(0x91),'model':new _0x182973({'withText':!0x0,'label':_0x1b73e9(_0x44e1b6,_0x4cc626(0xd3)),'commandName':_0x4cc626(0x101),'role':_0x4cc626(0xb2)})}]);for(const _0x2d78e9 of _0x26db82)if(ae(_0x2d78e9)){const _0x433995=_0x543d37[_0x4cc626(0xbd)][_0x4cc626(0xe5)](_0x2d78e9[_0x4cc626(0x83)][_0x4cc626(0x7a)]);_0x2d78e9[_0x4cc626(0x83)][_0x4cc626(0xe8)](_0x4cc626(0xf9),_0x4cc626(0xce))['to'](_0x433995,_0x4cc626(0x105),_0x4cc626(0xce));}_0x543d37['ui'][_0x4cc626(0xcd)][_0x4cc626(0x81)](_0x4cc626(0xaa),_0x3fbda3=>this[_0x4cc626(0xae)](_0x3fbda3,_0x26db82,_0x1e7280)),_0x543d37['ui'][_0x4cc626(0xcd)][_0x4cc626(0x81)](_0x4cc626(0x75),_0x2aa0d5=>this[_0x4cc626(0xff)](_0x2aa0d5,_0x26db82,_0x1e7280));}[_0x49b3c2(0xae)](_0x2c6eb9,_0x331e84,_0x22f53f){const _0x15ac6f=_0x49b3c2,_0x51c2b7=_0x4df323(_0x2c6eb9,_0xa4717f),_0xc11acb=this[_0x15ac6f(0xf0)][_0x15ac6f(0xbd)][_0x15ac6f(0xe5)](_0x15ac6f(0xaa));_0x51c2b7[_0x15ac6f(0xdc)][_0x15ac6f(0xe6)]({'tooltip':_0x22f53f,'label':_0x22f53f,'icon':_0x3e4a52}),_0x51c2b7[_0x15ac6f(0xdc)][_0x15ac6f(0xe8)](_0x15ac6f(0xf9))['to'](_0xc11acb,_0x15ac6f(0x105)),_0x51c2b7[_0x15ac6f(0xdc)]['on'](_0x15ac6f(0x102),()=>{const _0x4d39a2=_0x15ac6f;_0xc11acb[_0x4d39a2(0x102)](),this[_0x4d39a2(0xf0)][_0x4d39a2(0x103)][_0x4d39a2(0xe4)][_0x4d39a2(0x8b)]();}),_0x23cf22(_0x51c2b7,_0x331e84,{'role':_0x15ac6f(0xe0)});const _0x1f85f0=[];for(const _0x257ad5 of _0x331e84)ae(_0x257ad5)&&_0x1f85f0[_0x15ac6f(0x90)](this[_0x15ac6f(0xf0)][_0x15ac6f(0xbd)][_0x15ac6f(0xe5)](_0x257ad5[_0x15ac6f(0x83)][_0x15ac6f(0x7a)]));const _0x2cfc15=_0x51c2b7[_0x15ac6f(0xdc)];return _0x2cfc15[_0x15ac6f(0x82)][_0x15ac6f(0xfc)](_0x15ac6f(0xce)),_0x2cfc15[_0x15ac6f(0xf3)][_0x15ac6f(0xfc)](_0x15ac6f(0xce)),_0x2cfc15[_0x15ac6f(0x82)][_0x15ac6f(0xe8)](_0x15ac6f(0xce))['to'](_0xc11acb,_0x15ac6f(0xce)),_0x2cfc15[_0x15ac6f(0xf3)][_0x15ac6f(0xe8)](_0x15ac6f(0xce))[_0x15ac6f(0xa3)](_0x1f85f0,_0x15ac6f(0xce),(..._0x4b66a2)=>_0x4b66a2[_0x15ac6f(0xbb)](_0x3684de=>_0x3684de)),_0x51c2b7['on'](_0x15ac6f(0x102),_0x1ee6ba=>{const _0x1cac0b=_0x15ac6f;this[_0x1cac0b(0xf0)][_0x1cac0b(0x102)](_0x1ee6ba[_0x1cac0b(0xd4)][_0x1cac0b(0x7a)]),this[_0x1cac0b(0xf0)][_0x1cac0b(0x103)][_0x1cac0b(0xe4)][_0x1cac0b(0x8b)]();}),_0x51c2b7;}[_0x49b3c2(0xff)](_0x285499,_0x22522f,_0x59dcf4){const _0x17d825=_0x49b3c2,_0x5612d4=new _0xa24f54(_0x285499),_0x3ebc9a=this[_0x17d825(0xf0)][_0x17d825(0xbd)][_0x17d825(0xe5)](_0x17d825(0xaa));_0x5612d4[_0x17d825(0xdc)][_0x17d825(0xe6)]({'label':_0x59dcf4,'icon':_0x3e4a52});const _0xb08c72=new _0x35dfca(_0x285499);for(const _0x1dbae9 of _0x22522f){if(_0x17d825(0x7d)==_0x1dbae9[_0x17d825(0xfd)]){_0xb08c72[_0x17d825(0xf8)][_0x17d825(0x81)](new _0x4af5ac(_0x285499));continue;}const _0x251a37=new _0x486678(_0x285499,_0x5612d4),_0x5ea196=new _0x64da75(_0x285499),_0x2f8596=_0x1dbae9[_0x17d825(0x83)];_0x5ea196[_0x17d825(0xe8)](...Object[_0x17d825(0xcb)](_0x2f8596))['to'](_0x2f8596),_0x5ea196[_0x17d825(0xb1)](_0x17d825(0x102))['to'](_0x5612d4),_0x5ea196['on'](_0x17d825(0x102),()=>{const _0x34b6f5=_0x17d825;this[_0x34b6f5(0xf0)][_0x34b6f5(0x102)](_0x2f8596[_0x34b6f5(0x7a)]),this[_0x34b6f5(0xf0)][_0x34b6f5(0x103)][_0x34b6f5(0xe4)][_0x34b6f5(0x8b)]();}),_0x251a37[_0x17d825(0xfe)][_0x17d825(0x81)](_0x5ea196),_0xb08c72[_0x17d825(0xf8)][_0x17d825(0x81)](_0x251a37);}return _0x5612d4[_0x17d825(0xe8)](_0x17d825(0xce))['to'](_0x3ebc9a,_0x17d825(0xce)),_0x5612d4[_0x17d825(0xbf)][_0x17d825(0xfe)][_0x17d825(0x81)](_0xb08c72),_0x5612d4;}[_0x49b3c2(0xb0)](_0x17d041){const _0xc6bec7=_0x49b3c2,_0x54da6a=this[_0xc6bec7(0xf0)],_0x5e807b=_0x54da6a[_0xc6bec7(0x9e)],_0x420de8=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0x8a)),_0x598137=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0xba)),_0x1e8f5d=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0x93)),_0xe9c03b=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0x2922b4)['me'],_0x1cd674=_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0xaa))[_0xc6bec7(0x77)],{CommentsListView:_0x573ffc,CommentThreadInputView:_0x1ed767}=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0xf6));let _0x5423a9,_0x29a920;this[_0xc6bec7(0x8f)][_0xc6bec7(0xf1)](_0x17d041['id'])?(_0x29a920=this[_0xc6bec7(0x8f)][_0xc6bec7(0xe5)](_0x17d041['id']),_0x5423a9=_0x29a920[_0xc6bec7(0xec)]):(_0x5423a9=new _0x1cd674(_0x54da6a[_0xc6bec7(0x7b)],_0x17d041,_0xe9c03b,{'disableComments':this[_0xc6bec7(0xef)],'editorConfig':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0xaf)),'maxCommentsWhenCollapsed':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0x84)),'maxThreadTotalWeight':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0x88)),'maxCommentCharsWhenCollapsed':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0x89)),'formatDateTime':_0x38b329(_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0x7b))),'CommentView':_0x5e807b[_0xc6bec7(0xe5)](_0xc6bec7(0xa6))[_0xc6bec7(0xb4)],'CommentsListView':_0x573ffc,'CommentThreadInputView':_0x1ed767}),_0x5423a9[_0xc6bec7(0xc4)]['on'](_0xc6bec7(0x102),()=>{const _0x4662e9=_0xc6bec7;_0x54da6a[_0x4662e9(0x103)][_0x4662e9(0xe4)][_0x4662e9(0x8b)]();}),_0x5423a9[_0xc6bec7(0xed)]['on'](_0xc6bec7(0x102),()=>{const _0x54b218=_0xc6bec7;_0x54da6a[_0x54b218(0x103)][_0x54b218(0xe4)][_0x54b218(0x8b)]();}),_0x29a920=_0x420de8[_0xc6bec7(0xa8)](this[_0xc6bec7(0xf0)][_0xc6bec7(0x7b)],_0x5423a9),_0x29a920[_0xc6bec7(0xe8)](_0xc6bec7(0xdb))['to'](_0x5423a9,_0xc6bec7(0xdb)),_0x29a920[_0xc6bec7(0xe8)](_0xc6bec7(0x76))['to'](_0x5423a9),_0x29a920[_0xc6bec7(0xe8)](_0xc6bec7(0xfd))['to'](_0x5423a9,_0xc6bec7(0xfd),_0x3a460b=>_0xc6bec7(0x99)+_0x3a460b),this[_0xc6bec7(0x8f)][_0xc6bec7(0xe6)](_0x17d041['id'],_0x29a920));const _0x218768=_0x598137[_0xc6bec7(0xa2)](_0x17d041[_0xc6bec7(0x86)],_0x5423a9),_0x247d56=new _0x1f11c7(_0x54da6a,_0x17d041,_0x5423a9,_0x218768),_0x546d64=_0x17d041[_0xc6bec7(0xd9)]()[_0xc6bec7(0xf5)](_0x425004=>_0x425004[_0xc6bec7(0xf7)]);_0x5423a9[_0xc6bec7(0x9c)]=_0x54da6a[_0xc6bec7(0xd2)][_0xc6bec7(0xe5)](_0xc6bec7(0x7c))[_0xc6bec7(0xe1)][_0xc6bec7(0xc9)](_0x546d64),this[_0xc6bec7(0xc6)][_0xc6bec7(0xe6)](_0x17d041,_0x247d56),this[_0xc6bec7(0x95)][_0xc6bec7(0xe6)](_0x5423a9,_0x247d56);const _0x1880e0=_0x420de8[_0xc6bec7(0xf2)]({'view':_0x29a920,'target':()=>{const _0x163472=_0xc6bec7,_0xcc5e57=[],_0x420edc=_0x17d041[_0x163472(0xd9)]()[_0x163472(0xf5)](_0x3a4f88=>_0x3a4f88[_0x163472(0xf7)]);for(const _0x472d67 of _0x420edc)_0xcc5e57[_0x163472(0x90)](..._0x472d67[_0x163472(0xd1)]());return _0xe4fd21(_0x54da6a[_0x163472(0x103)],_0xcc5e57);},'type':()=>_0xc6bec7(0x99)+_0x247d56[_0xc6bec7(0xe4)][_0xc6bec7(0xfd)]});_0x598137[_0xc6bec7(0x7e)](_0x5423a9,_0x1880e0),_0x420de8[_0xc6bec7(0x81)](_0x1880e0),_0x1e8f5d[_0xc6bec7(0xc3)](_0x1880e0);}[_0x49b3c2(0xf4)](_0x33ee33){const _0x51788c=_0x49b3c2,_0x560d30=this[_0x51788c(0xf0)][_0x51788c(0xd2)][_0x51788c(0xe5)](_0x51788c(0xba)),_0x31f19e=this[_0x51788c(0xf0)][_0x51788c(0xd2)][_0x51788c(0xe5)](_0x51788c(0x8a)),_0x2ebf7d=this[_0x51788c(0xc6)][_0x51788c(0xe5)](_0x33ee33),_0x15948c=_0x2ebf7d[_0x51788c(0xe4)],_0x57a2e5=_0x31f19e[_0x51788c(0x79)](_0x15948c);_0x560d30[_0x51788c(0x8c)](_0x15948c),_0x57a2e5&&_0x31f19e[_0x51788c(0xc8)](_0x57a2e5),this[_0x51788c(0xc6)][_0x51788c(0xa7)](_0x33ee33),this[_0x51788c(0x95)][_0x51788c(0xa7)](_0x15948c),_0x2ebf7d[_0x51788c(0x87)]();}[_0x49b3c2(0xb3)](_0x11b650){const _0x83ce73=_0x49b3c2;if(!_0x11b650[_0x83ce73(0xf7)]||!this[_0x83ce73(0xc6)][_0x83ce73(0xf1)](_0x11b650))return;const _0x3a7ada=this[_0x83ce73(0xf0)][_0x83ce73(0xd2)][_0x83ce73(0xe5)](_0x83ce73(0x7c)),_0x2bd644=this[_0x83ce73(0xc6)][_0x83ce73(0xe5)](_0x11b650),_0x59c076=_0x11b650[_0x83ce73(0xd9)]();_0x2bd644[_0x83ce73(0xe4)][_0x83ce73(0x9c)]=_0x3a7ada[_0x83ce73(0xe1)][_0x83ce73(0xc9)](_0x59c076);}[_0x49b3c2(0x87)](){const _0x34ecee=_0x49b3c2;for(const _0x15a643 of this[_0x34ecee(0xc6)][_0x34ecee(0xcb)]())this[_0x34ecee(0xf4)](_0x15a643);for(const _0xa3b879 of this[_0x34ecee(0x8f)][_0x34ecee(0xeb)]())_0xa3b879[_0x34ecee(0xec)][_0x34ecee(0x87)]();super[_0x34ecee(0x87)]();}}function ae(_0xa8d07f){const _0x3e4cff=_0x49b3c2;return _0x3e4cff(0x83)in _0xa8d07f;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x14bc(_0x8f5976,_0x248e9e){const _0x285247=_0x2852();return _0x14bc=function(_0x14bccd,_0x33121e){_0x14bccd=_0x14bccd-0x10f;let _0x15cdc2=_0x285247[_0x14bccd];return _0x15cdc2;},_0x14bc(_0x8f5976,_0x248e9e);}const _0x22247a=_0x14bc;(function(_0x2f6045,_0x284787){const _0x341874=_0x14bc,_0x2f9e62=_0x2f6045();while(!![]){try{const _0x1b9511=parseInt(_0x341874(0x11d))/0x1*(parseInt(_0x341874(0x128))/0x2)+parseInt(_0x341874(0x130))/0x3+-parseInt(_0x341874(0x11c))/0x4*(-parseInt(_0x341874(0x11a))/0x5)+-parseInt(_0x341874(0x123))/0x6+parseInt(_0x341874(0x137))/0x7*(-parseInt(_0x341874(0x132))/0x8)+parseInt(_0x341874(0x12a))/0x9+-parseInt(_0x341874(0x113))/0xa*(parseInt(_0x341874(0x133))/0xb);if(_0x1b9511===_0x284787)break;else _0x2f9e62['push'](_0x2f9e62['shift']());}catch(_0x419575){_0x2f9e62['push'](_0x2f9e62['shift']());}}}(_0x2852,0x6e563));function _0x2852(){const _0x2ed221=['acceptSuggestion','_setPendingAction','PendingActions','2471623LulgOR','_removePendingAction','canAccept','destroy','unbind','PENDING_ACTION_SUGGESTION','_pendingAction','18063290zjFEXM','discardSuggestion','add','model','execute','_discardCommand','commentThreadController','395TcgRDg','bind','23348ErnzFj','1lfSajn','getRanges','_editor','get','locale','view','555858jgRDSf','canDiscard','change:isDirty','stopListening','isEnabled','1011574EbatDu','isDirty','7925121sbvTze','listenTo','commands','_acceptCommand','remove','canEditAt','2569563nUXhAx','plugins','8czgnNc','11kUperr'];_0x2852=function(){return _0x2ed221;};return _0x2852();}import{ObservableMixin as _0x440537}from'ckeditor5/src/utils.js';import{getTranslation as _0x44d353}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x440537(){constructor(_0x143bee,_0x1a1d61,_0x18f852,_0x264eb4){const _0x1e63de=_0x14bc;super(),this[_0x1e63de(0x116)]=_0x1a1d61,this[_0x1e63de(0x122)]=_0x18f852,this[_0x1e63de(0x119)]=_0x264eb4,this[_0x1e63de(0x11f)]=_0x143bee,this[_0x1e63de(0x12d)]=_0x143bee[_0x1e63de(0x12c)][_0x1e63de(0x120)](_0x1e63de(0x134)),this[_0x1e63de(0x118)]=_0x143bee[_0x1e63de(0x12c)][_0x1e63de(0x120)](_0x1e63de(0x114)),this[_0x1e63de(0x122)][_0x1e63de(0x11b)](_0x1e63de(0x127))['to'](this[_0x1e63de(0x12d)],this[_0x1e63de(0x118)],(_0x3c3321,_0x3fb3b7)=>_0x3c3321||_0x3fb3b7),this[_0x1e63de(0x122)][_0x1e63de(0x11b)](_0x1e63de(0x139))['to'](this[_0x1e63de(0x12d)],_0x1e63de(0x127),_0x456a06=>_0x456a06&&this[_0x1e63de(0x11f)][_0x1e63de(0x116)][_0x1e63de(0x12f)](_0x1a1d61[_0x1e63de(0x11e)]())),this[_0x1e63de(0x122)][_0x1e63de(0x11b)](_0x1e63de(0x124))['to'](this[_0x1e63de(0x118)],_0x1e63de(0x127),_0x1900c0=>_0x1900c0&&this[_0x1e63de(0x11f)][_0x1e63de(0x116)][_0x1e63de(0x12f)](_0x1a1d61[_0x1e63de(0x11e)]())),this[_0x1e63de(0x112)]=null,_0x18f852[_0x1e63de(0x129)]&&this[_0x1e63de(0x135)](),this[_0x1e63de(0x12b)](_0x18f852,_0x1e63de(0x134),()=>this[_0x1e63de(0x134)]()),this[_0x1e63de(0x12b)](_0x18f852,_0x1e63de(0x114),()=>this[_0x1e63de(0x114)]()),this[_0x1e63de(0x12b)](_0x18f852,_0x1e63de(0x125),()=>{const _0x430076=_0x1e63de;_0x18f852[_0x430076(0x129)]?this[_0x430076(0x135)]():this[_0x430076(0x138)]();});}[_0x22247a(0x134)](){const _0x5d06b8=_0x22247a;this[_0x5d06b8(0x12d)][_0x5d06b8(0x117)](this[_0x5d06b8(0x116)]['id']);}[_0x22247a(0x114)](){const _0x2b30ff=_0x22247a;this[_0x2b30ff(0x118)][_0x2b30ff(0x117)](this[_0x2b30ff(0x116)]['id']);}[_0x22247a(0x10f)](){const _0x47e6cf=_0x22247a;this[_0x47e6cf(0x122)][_0x47e6cf(0x110)](_0x47e6cf(0x127)),this[_0x47e6cf(0x122)][_0x47e6cf(0x110)](_0x47e6cf(0x139)),this[_0x47e6cf(0x122)][_0x47e6cf(0x110)](_0x47e6cf(0x124)),this[_0x47e6cf(0x126)](),this[_0x47e6cf(0x119)][_0x47e6cf(0x10f)](),this[_0x47e6cf(0x112)]&&this[_0x47e6cf(0x138)]();}[_0x22247a(0x135)](){const _0xe484ef=_0x22247a,_0x1d5dcf=_0x44d353(this[_0xe484ef(0x11f)][_0xe484ef(0x121)],_0xe484ef(0x111));this[_0xe484ef(0x112)]=this[_0xe484ef(0x11f)][_0xe484ef(0x131)][_0xe484ef(0x120)](_0xe484ef(0x136))[_0xe484ef(0x115)](_0x1d5dcf);}[_0x22247a(0x138)](){const _0x62a45a=_0x22247a;null!==this[_0x62a45a(0x112)]&&this[_0x62a45a(0x11f)][_0x62a45a(0x131)][_0x62a45a(0x120)](_0x62a45a(0x136))[_0x62a45a(0x12e)](this[_0x62a45a(0x112)]),this[_0x62a45a(0x112)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd27e02=_0x5979;(function(_0x37e13e,_0x1b0bae){const _0x1dfad1=_0x5979,_0x2e9767=_0x37e13e();while(!![]){try{const _0x1a1c9e=parseInt(_0x1dfad1(0x1e5))/0x1*(parseInt(_0x1dfad1(0x1c8))/0x2)+parseInt(_0x1dfad1(0x1f4))/0x3*(parseInt(_0x1dfad1(0x1f2))/0x4)+-parseInt(_0x1dfad1(0x1ee))/0x5+parseInt(_0x1dfad1(0x1d0))/0x6*(-parseInt(_0x1dfad1(0x1d2))/0x7)+parseInt(_0x1dfad1(0x1cd))/0x8*(parseInt(_0x1dfad1(0x1e2))/0x9)+-parseInt(_0x1dfad1(0x1df))/0xa+-parseInt(_0x1dfad1(0x1db))/0xb;if(_0x1a1c9e===_0x1b0bae)break;else _0x2e9767['push'](_0x2e9767['shift']());}catch(_0x4b47b2){_0x2e9767['push'](_0x2e9767['shift']());}}}(_0x9a18,0x6c913));function _0x9a18(){const _0x2b734f=['descriptionParts','submit','9029383AYqMVm','fire','isEnabled','_localUser','4487380MBaBny','bind','removeComment','7291044KrSWVV','length','set','790471sRSVFC','delegate','locale','disableComments','hasDirtyComment','commentThreadInputView','assign','authoredAt','commentInputView','1716170JIMWrk','isActive','destroy','editorConfig','3073196LhPabf','_createCommentViews','3RTnorV','CommentView','isReadOnly','canDiscard','_config','disabledSubmit','commentThread','commentsListView','2ZPboRV','addComment','cancel','editor','showInput','8VHZJou','canAccept','updateComment','2910xfGjeL','focus','4494UPxoYW','setData','_model','isDirty','element','_createCommentThreadInputView','value'];_0x9a18=function(){return _0x2b734f;};return _0x9a18();}import{View as _0x3a62a1}from'ckeditor5/src/ui.js';function _0x5979(_0x20c496,_0x1826f4){const _0x9a1870=_0x9a18();return _0x5979=function(_0x5979b5,_0x466d8a){_0x5979b5=_0x5979b5-0x1c6;let _0x2f9ef5=_0x9a1870[_0x5979b5];return _0x2f9ef5;},_0x5979(_0x20c496,_0x1826f4);}export default class es extends _0x3a62a1{constructor(_0x3e8bb5,_0x3bb3d0,_0x4d8d22,_0x33ff91){const _0x5c8abb=_0x5979;super(_0x3e8bb5),this[_0x5c8abb(0x1c7)]=null,this[_0x5c8abb(0x1ea)]=null,this[_0x5c8abb(0x1e4)](_0x5c8abb(0x1ef),!0x1),this[_0x5c8abb(0x1e4)](_0x5c8abb(0x1ec),_0x3bb3d0[_0x5c8abb(0x1ec)]),this[_0x5c8abb(0x1e0)](_0x5c8abb(0x1ec))['to'](_0x3bb3d0),this[_0x5c8abb(0x1e4)](_0x5c8abb(0x1d9),[]),this[_0x5c8abb(0x1e4)](_0x5c8abb(0x1d5),!0x1),this[_0x5c8abb(0x1e4)](_0x5c8abb(0x1dd),!0x1),this[_0x5c8abb(0x1e4)](_0x5c8abb(0x1ce),!0x1),this[_0x5c8abb(0x1e4)](_0x5c8abb(0x1f7),!0x1),this[_0x5c8abb(0x1d4)]=_0x3bb3d0,this[_0x5c8abb(0x1de)]=_0x4d8d22,this[_0x5c8abb(0x1f8)]=_0x33ff91,_0x33ff91[_0x5c8abb(0x1e8)]?this[_0x5c8abb(0x1e4)](_0x5c8abb(0x1e3),0x1):this[_0x5c8abb(0x1f3)]();}[_0xd27e02(0x1d1)](){const _0x13e057=_0xd27e02;this[_0x13e057(0x1d6)][_0x13e057(0x1d1)]();}[_0xd27e02(0x1f0)](){const _0x267ab6=_0xd27e02;this[_0x267ab6(0x1c7)]&&this[_0x267ab6(0x1c7)][_0x267ab6(0x1f0)](),this[_0x267ab6(0x1ea)]&&this[_0x267ab6(0x1ea)][_0x267ab6(0x1f0)](),super[_0x267ab6(0x1f0)]();}[_0xd27e02(0x1f3)](){const _0x44bfbc=_0xd27e02,{CommentsListView:_0x44ccd1}=this[_0x44bfbc(0x1f8)];this[_0x44bfbc(0x1c7)]=new _0x44ccd1(this[_0x44bfbc(0x1e7)],this[_0x44bfbc(0x1d4)][_0x44bfbc(0x1c6)],Object[_0x44bfbc(0x1eb)]({'CommentView':this[_0x44bfbc(0x1f8)][_0x44bfbc(0x1f5)]},this[_0x44bfbc(0x1f8)])),this[_0x44bfbc(0x1c7)][_0x44bfbc(0x1e6)](_0x44bfbc(0x1e1))['to'](this),this[_0x44bfbc(0x1c7)][_0x44bfbc(0x1e6)](_0x44bfbc(0x1cf))['to'](this),this[_0x44bfbc(0x1c7)][_0x44bfbc(0x1e0)](_0x44bfbc(0x1ef))['to'](this),this[_0x44bfbc(0x1e4)](_0x44bfbc(0x1e3),this[_0x44bfbc(0x1c7)][_0x44bfbc(0x1e3)]+0x1),this[_0x44bfbc(0x1e0)](_0x44bfbc(0x1e3))['to'](this[_0x44bfbc(0x1c7)],_0x44bfbc(0x1e3),_0x1d8ab7=>_0x1d8ab7+0x1),this[_0x44bfbc(0x1ea)]=this[_0x44bfbc(0x1d7)](),this['on'](_0x44bfbc(0x1e1),()=>this[_0x44bfbc(0x1d1)]()),this[_0x44bfbc(0x1e0)](_0x44bfbc(0x1d5))['to'](this[_0x44bfbc(0x1c7)],_0x44bfbc(0x1e9),this[_0x44bfbc(0x1ea)][_0x44bfbc(0x1ed)],_0x44bfbc(0x1d8),(_0x3d8ee6,_0x4c2c87)=>_0x3d8ee6||!!_0x4c2c87);}[_0xd27e02(0x1d7)](){const _0x30d9c6=_0xd27e02,{CommentThreadInputView:_0x35782f}=this[_0x30d9c6(0x1f8)],_0x41558c=new _0x35782f(this[_0x30d9c6(0x1e7)],this[_0x30d9c6(0x1de)],this[_0x30d9c6(0x1f8)][_0x30d9c6(0x1f1)]),_0x282ebe=_0x41558c[_0x30d9c6(0x1ed)];return _0x41558c[_0x30d9c6(0x1e0)](_0x30d9c6(0x1cc))['to'](this,_0x30d9c6(0x1ef),this[_0x30d9c6(0x1d4)][_0x30d9c6(0x1c6)],_0x30d9c6(0x1f6),_0x282ebe,_0x30d9c6(0x1d8),(_0x5b802e,_0x5820af,_0x1b3d52)=>!!_0x1b3d52||_0x5b802e&&!_0x5820af),_0x282ebe['on'](_0x30d9c6(0x1da),(_0x5bc1e0,_0x5cdbbe)=>{const _0x5c9f61=_0x30d9c6;this[_0x5c9f61(0x1dc)](_0x5c9f61(0x1c9),_0x5cdbbe),_0x282ebe[_0x5c9f61(0x1cb)][_0x5c9f61(0x1d3)]('');}),_0x282ebe['on'](_0x30d9c6(0x1ca),()=>this[_0x30d9c6(0x1d1)]()),_0x282ebe[_0x30d9c6(0x1e0)](_0x30d9c6(0x1f9))['to'](this[_0x30d9c6(0x1d4)][_0x30d9c6(0x1c6)],_0x30d9c6(0x1f6)),_0x41558c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1aeb23=_0x3add;(function(_0x4c9d91,_0x350ac4){const _0x31408c=_0x3add,_0x1db01d=_0x4c9d91();while(!![]){try{const _0x513a95=parseInt(_0x31408c(0x1e1))/0x1+-parseInt(_0x31408c(0x1d6))/0x2*(-parseInt(_0x31408c(0x1b4))/0x3)+parseInt(_0x31408c(0x205))/0x4+-parseInt(_0x31408c(0x1c8))/0x5+-parseInt(_0x31408c(0x1bb))/0x6*(-parseInt(_0x31408c(0x20c))/0x7)+-parseInt(_0x31408c(0x1c1))/0x8+-parseInt(_0x31408c(0x206))/0x9;if(_0x513a95===_0x350ac4)break;else _0x1db01d['push'](_0x1db01d['shift']());}catch(_0x337f01){_0x1db01d['push'](_0x1db01d['shift']());}}}(_0x5eaf,0x9479e));function _0x5eaf(){const _0x542adc=['ck-annotation__content-wrapper','set','</p>','1049205yLKYDz','EXTERNAL_SUGGESTION','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-comment__info-time','disableComments','_createButton','getTemplate','attributes','type','authoredAt','editorDestroyed','check','div','execute','ck-annotation__info-time','ck-suggestion-','cancel','editorReady','ck-suggestion__info','ck-suggestion__actions','commentThread','ck-suggestion-wrapper','_config','title','children','ck-suggestion__info-name','createElement','getUserViewNotificationText','description','author','source','content','render','bindTemplate','isActive','ck-suggestion__main','3835736gKKLTM','10542393UIFdEL','fire','\x22></span>','element','_model','ck-suggestion--disabled-comments','105aOjRbp','.ck-annotation__content-wrapper','importWord','Discard\x20suggestion','userView','innerText','EXTERNAL_IMPORT_WORD_AVATAR','</span>','canAccept','ck-annotation__main','time','ck-comment__external','locale','<span\x20class=\x22ck-suggestion-type\x22>','commentThreadInputView','ck-annotation__info-name','value','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','canDiscard','ck-annotation__actions','isExternal','span','9mKvEwg','@external','descriptionParts','push','formatDateTime','discardButton','map','102522krSzyY','querySelector','color','bind','ck-annotation__user','EXTERNAL_AVATAR','2563256FSHWkG','acceptSuggestion','ck-suggestion__user','name','ck-annotation__info','discardSuggestion','acceptButton','4543665PmMmlH','isEnabled','getExternalSuggestionNote','join','ck-annotation','_descriptionElement','extendTemplate','Accept\x20suggestion','ck-suggestion-wrapper--active','ck-suggestion','change:description','innerHTML','<p>','\x22\x20title=\x22','496154nPQFBe','creator','setTemplate','split','ck-suggestion--accept','commentsListView','ck-suggestion--discard','delegate'];_0x5eaf=function(){return _0x542adc;};return _0x5eaf();}import{getTranslation as _0x5608ad}from'../../utils/common-translations.js';import{default as _0x1020b6}from'./basesuggestionthreadview.js';import{ButtonView as _0x2a43bd}from'ckeditor5/src/ui.js';function _0x3add(_0x50b0cc,_0x1be4bd){const _0x5eafe9=_0x5eaf();return _0x3add=function(_0x3add5c,_0x193038){_0x3add5c=_0x3add5c-0x1b4;let _0x608335=_0x5eafe9[_0x3add5c];return _0x608335;},_0x3add(_0x50b0cc,_0x1be4bd);}import{icons as _0x2bebff}from'ckeditor5/src/core.js';import{trimHtml as _0x46d1d6,UserView as _0x29696a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x1020b6{constructor(_0x43b3bc,_0x186d67,_0x459b57,_0x4c3d1e){const _0x1d7d33=_0x3add;super(_0x43b3bc,_0x186d67,_0x459b57,_0x4c3d1e),this[_0x1d7d33(0x1df)](_0x1d7d33(0x1e9),''),this[_0x1d7d33(0x1be)](_0x1d7d33(0x1e9))['to'](this,_0x1d7d33(0x1b6),_0x1953b0=>_0x1953b0&&_0x1953b0[0x0]?_0x1953b0[0x0][_0x1d7d33(0x1e9)]:''),this[_0x1d7d33(0x1be)](_0x1d7d33(0x1fd))['to'](this,_0x1d7d33(0x1b6),this,_0x1d7d33(0x203),(_0x12ee83,_0x3f87a4)=>{const _0x19a437=_0x1d7d33;let _0x3e13db='';for(const _0x22b949 of _0x12ee83)_0x3e13db+=_0x19a437(0x1d4)+ds(_0x22b949[_0x19a437(0x200)],_0x22b949[_0x19a437(0x1bd)])+_0x19a437(0x1e0);return _0x3f87a4?_0x3e13db:_0x46d1d6(_0x3e13db,{'limit':0x8c});}),this[_0x1d7d33(0x1cd)]=null,this[_0x1d7d33(0x1c7)]=this[_0x1d7d33(0x1e6)](_0x5608ad(_0x43b3bc,_0x1d7d33(0x1cf)),_0x2bebff[_0x1d7d33(0x1ec)],_0x1d7d33(0x1da),_0x1d7d33(0x1c2),'sw'),this[_0x1d7d33(0x1c7)][_0x1d7d33(0x1be)](_0x1d7d33(0x1c9))['to'](this,_0x1d7d33(0x214)),this[_0x1d7d33(0x1b9)]=this[_0x1d7d33(0x1e6)](_0x5608ad(_0x43b3bc,_0x1d7d33(0x20f)),_0x2bebff[_0x1d7d33(0x1f1)],_0x1d7d33(0x1dc),_0x1d7d33(0x1c6),'sw'),this[_0x1d7d33(0x1b9)][_0x1d7d33(0x1be)](_0x1d7d33(0x1c9))['to'](this,_0x1d7d33(0x21e)),this[_0x1d7d33(0x210)]=new _0x29696a(_0x43b3bc,this[_0x1d7d33(0x20a)][_0x1d7d33(0x1fe)],this[_0x1d7d33(0x1fc)]()),this[_0x1d7d33(0x210)][_0x1d7d33(0x1ce)]({'attributes':{'class':[_0x1d7d33(0x1c3),_0x1d7d33(0x1bf)]}}),this[_0x1d7d33(0x1d8)](this[_0x1d7d33(0x1e7)]());}[_0x1aeb23(0x1e7)](){const _0x87fd53=_0x1aeb23,_0x6111f2=this[_0x87fd53(0x202)],_0x3ce09e=[{'tag':_0x87fd53(0x1ed),'attributes':{'class':[_0x87fd53(0x1f3),_0x87fd53(0x1c5)]},'children':[{'tag':_0x87fd53(0x221),'children':[{'text':this[_0x87fd53(0x210)][_0x87fd53(0x1c4)]}],'attributes':{'class':[_0x87fd53(0x1fa),_0x87fd53(0x21b)]}},{'tag':_0x87fd53(0x216),'attributes':{'datetime':_0x6111f2['to'](_0x87fd53(0x1ea)),'class':[_0x87fd53(0x1e4),_0x87fd53(0x1ef)]},'children':[{'text':_0x6111f2['to'](_0x87fd53(0x1ea),_0x14fb57=>this[_0x87fd53(0x1f7)][_0x87fd53(0x1b8)](_0x14fb57))}]}]},{'tag':_0x87fd53(0x1ed),'attributes':{'class':[_0x87fd53(0x1f4),_0x87fd53(0x21f)]},'children':[this[_0x87fd53(0x1c7)],this[_0x87fd53(0x1b9)]]},{'tag':_0x87fd53(0x1ed),'attributes':{'class':[_0x87fd53(0x1de)]}}];this[_0x87fd53(0x20a)][_0x87fd53(0x220)]&&_0x3ce09e[_0x87fd53(0x1b7)]({'tag':_0x87fd53(0x1ed),'attributes':{'class':[_0x87fd53(0x217)]},'children':[{'text':this[_0x87fd53(0x1ca)]()}]});const _0xf6d30={'tag':_0x87fd53(0x1ed),'attributes':{'class':[_0x87fd53(0x1f6),_0x6111f2['if'](_0x87fd53(0x203),_0x87fd53(0x1d0)),_0x6111f2['to'](_0x87fd53(0x1e9),_0x2dcb8e=>_0x87fd53(0x1f0)+_0x2dcb8e),this[_0x87fd53(0x1f7)][_0x87fd53(0x1e5)]&&_0x87fd53(0x20b)],'data-suggestion-id':this[_0x87fd53(0x20a)]['id'],'data-thread-id':this[_0x87fd53(0x20a)][_0x87fd53(0x1f5)]['id'],'data-author-id':this[_0x87fd53(0x20a)][_0x87fd53(0x1fe)]['id'],'tabindex':-0x1},'children':[{'tag':_0x87fd53(0x1ed),'attributes':{'class':[_0x87fd53(0x1d1),_0x87fd53(0x1cc)]},'children':[this[_0x87fd53(0x210)],{'tag':_0x87fd53(0x1ed),'attributes':{'class':[_0x87fd53(0x204),_0x87fd53(0x215)]},'children':_0x3ce09e}]}]};return this[_0x87fd53(0x1db)]&&this[_0x87fd53(0x21a)]&&(_0xf6d30[_0x87fd53(0x1f9)][_0x87fd53(0x1b7)](this[_0x87fd53(0x1db)],this[_0x87fd53(0x21a)]),this[_0x87fd53(0x1db)][_0x87fd53(0x1dd)](_0x87fd53(0x1f2))['to'](this),this[_0x87fd53(0x1db)][_0x87fd53(0x1dd)](_0x87fd53(0x1eb))['to'](this),this[_0x87fd53(0x21a)][_0x87fd53(0x1dd)](_0x87fd53(0x1f2))['to'](this),this[_0x87fd53(0x21a)][_0x87fd53(0x1dd)](_0x87fd53(0x1eb))['to'](this)),_0xf6d30;}[_0x1aeb23(0x201)](){const _0x488582=_0x1aeb23;super[_0x488582(0x201)](),this[_0x488582(0x1cd)]=this[_0x488582(0x209)][_0x488582(0x1bc)](_0x488582(0x20d)),this[_0x488582(0x1cd)][_0x488582(0x1d3)]=this[_0x488582(0x1fd)],this['on'](_0x488582(0x1d2),(_0x593b61,_0x45734f,_0x207c90)=>{const _0x158e46=_0x488582;this[_0x158e46(0x1cd)][_0x158e46(0x1d3)]=_0x207c90;});}[_0x1aeb23(0x1e6)](_0x22c301,_0x1bf413,_0x3b17a6,_0x3af7fe,_0x1066cd){const _0x121440=_0x1aeb23,_0x17d18d=new _0x2a43bd(this[_0x121440(0x218)]);return _0x17d18d[_0x121440(0x1df)]({'label':_0x22c301,'icon':_0x1bf413,'tooltip':!0x0,'tooltipPosition':_0x1066cd}),_0x17d18d[_0x121440(0x1ce)]({'attributes':{'class':_0x3b17a6}}),_0x17d18d['on'](_0x121440(0x1ee),()=>{const _0x2996d1=_0x121440;this[_0x2996d1(0x207)](_0x3af7fe,this[_0x2996d1(0x20a)]['id']);}),_0x17d18d;}[_0x1aeb23(0x1ca)](){const _0x4bc142=_0x1aeb23;return _0x4bc142(0x20e)===this[_0x4bc142(0x20a)][_0x4bc142(0x1e8)][_0x4bc142(0x1b5)][_0x4bc142(0x1ff)]?_0x5608ad(this[_0x4bc142(0x218)],_0x4bc142(0x1e3)):_0x5608ad(this[_0x4bc142(0x218)],_0x4bc142(0x1e2));}[_0x1aeb23(0x1fc)](){const _0x49a531=_0x1aeb23;return this[_0x49a531(0x20a)][_0x49a531(0x220)]?_0x49a531(0x20e)===this[_0x49a531(0x20a)][_0x49a531(0x1e8)][_0x49a531(0x1b5)][_0x49a531(0x1ff)]?_0x5608ad(this[_0x49a531(0x218)],_0x49a531(0x212),this[_0x49a531(0x20a)][_0x49a531(0x1d7)][_0x49a531(0x1c4)]):_0x5608ad(this[_0x49a531(0x218)],_0x49a531(0x1c0),this[_0x49a531(0x20a)][_0x49a531(0x1d7)][_0x49a531(0x1c4)]):null;}}function ds(_0x496137,_0x49b76e){const _0x5de5d1=_0x1aeb23;let _0x3316f1='';return _0x3316f1+=_0x496137[_0x5de5d1(0x1d9)]('*')[_0x5de5d1(0x1ba)]((_0x1cba74,_0x568a68)=>_0x568a68%0x2!=0x0?_0x5de5d1(0x219)+us(_0x1cba74)+_0x5de5d1(0x213):us(_0x1cba74))[_0x5de5d1(0x1cb)](''),_0x49b76e&&(_0x3316f1+=_0x5de5d1(0x21d)+_0x49b76e[_0x5de5d1(0x21c)]+_0x5de5d1(0x1d5)+_0x49b76e[_0x5de5d1(0x1f8)]+_0x5de5d1(0x208)),_0x3316f1;}function us(_0x3cde3e){const _0x2b6633=_0x1aeb23,_0x56d4d7=document[_0x2b6633(0x1fb)](_0x2b6633(0x221));return _0x56d4d7[_0x2b6633(0x211)]=_0x3cde3e,_0x56d4d7[_0x2b6633(0x1d3)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4bc6b9,_0x4ec0a8,_0x4444a2){const t=_0x4bc6b9['t'];switch(_0x4ec0a8){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',_0x4444a2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4444a2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4444a2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4444a2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4444a2);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',_0x4444a2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4444a2);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',_0x4444a2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4444a2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4444a2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4444a2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4444a2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4444a2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4444a2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4444a2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4444a2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4444a2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4444a2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4444a2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4444a2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4444a2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4444a2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4444a2);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'},_0x4444a2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4444a2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4444a2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4444a2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4444a2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4444a2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4444a2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4444a2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4444a2);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'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4444a2);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'},_0x4444a2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4444a2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4444a2);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'},_0x4444a2);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'},_0x4444a2);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 _0x4ec0a8;}}
|
|
23
|
+
export function getTranslation(_0x435953,_0x1e728f,_0x3330af){const t=_0x435953['t'];switch(_0x1e728f){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',_0x3330af);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3330af);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3330af);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3330af);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3330af);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',_0x3330af);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3330af);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',_0x3330af);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3330af);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3330af);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3330af);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3330af);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3330af);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3330af);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3330af);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3330af);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3330af);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3330af);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3330af);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3330af);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3330af);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3330af);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3330af);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'},_0x3330af);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3330af);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3330af);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3330af);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3330af);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3330af);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'},_0x3330af);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3330af);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3330af);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3330af);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3330af);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'},_0x3330af);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3330af);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'},_0x3330af);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'},_0x3330af);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3330af);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'},_0x3330af);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3330af);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'},_0x3330af);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3330af);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3330af);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'},_0x3330af);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'},_0x3330af);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 _0x1e728f;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3053(_0x22e3cf,_0x4c5fe2){const _0x61b2d=_0x61b2();return _0x3053=function(_0x3053a4,_0x1fa4ac){_0x3053a4=_0x3053a4-0x119;let _0x31b0bf=_0x61b2d[_0x3053a4];return _0x31b0bf;},_0x3053(_0x22e3cf,_0x4c5fe2);}(function(_0x44a25c,_0x52660e){const _0x1e1013=_0x3053,_0x3b014f=_0x44a25c();while(!![]){try{const _0x541654=parseInt(_0x1e1013(0x138))/0x1+-parseInt(_0x1e1013(0x12b))/0x2*(-parseInt(_0x1e1013(0x12d))/0x3)+parseInt(_0x1e1013(0x126))/0x4*(-parseInt(_0x1e1013(0x13f))/0x5)+-parseInt(_0x1e1013(0x125))/0x6*(-parseInt(_0x1e1013(0x133))/0x7)+parseInt(_0x1e1013(0x135))/0x8*(-parseInt(_0x1e1013(0x13d))/0x9)+parseInt(_0x1e1013(0x123))/0xa+-parseInt(_0x1e1013(0x13c))/0xb;if(_0x541654===_0x52660e)break;else _0x3b014f['push'](_0x3b014f['shift']());}catch(_0x2f122d){_0x3b014f['push'](_0x3b014f['shift']());}}}(_0x61b2,0x4d96e));export function normalizeDescription(_0xa84a28){const _0x2a8358=_0x3053;return Array[_0x2a8358(0x127)](_0xa84a28)||(_0xa84a28=[_0xa84a28]),_0xa84a28[_0x2a8358(0x12e)](_0x2277a2=>{const _0x5731cb=_0x2a8358,_0x68bcbf=_0x2277a2[_0x5731cb(0x131)][_0x5731cb(0x13a)](/\*/g,''),_0x5f121d=_0x2277a2[_0x5731cb(0x11b)]?_0x5731cb(0x137)+_0x2277a2[_0x5731cb(0x11b)][_0x5731cb(0x13b)]+']':'';return'['+_0x2277a2[_0x5731cb(0x141)]+']\x20'+_0x68bcbf+_0x5f121d;})[_0x2a8358(0x130)](';\x20');}export function sortSuggestions(_0x3bbd3f){const _0x43652c=_0x3053;return _0x3bbd3f[_0x43652c(0x139)]((_0x3b849e,_0x4edd8e)=>_0x43652c(0x121)==_0x3b849e[_0x43652c(0x141)]&&_0x43652c(0x121)!=_0x4edd8e[_0x43652c(0x141)]?-0x1:_0x43652c(0x121)!=_0x3b849e[_0x43652c(0x141)]&&_0x43652c(0x121)==_0x4edd8e[_0x43652c(0x141)]?0x1:0x0);}function _0x61b2(){const _0x5b8137=['isCollapsed','change','next','color','createPositionAt','add','from','isTouching','push','deletion','isObject','6342380gwWXCs','start','147084GuCRSz','2149376SnDAmE','isArray','isInContent','createPositionBefore','end','2BFHbEB','isMultiRange','1240887PQicno','map','schema','join','content','execute','161FjHcSt','createPositionAfter','210344IiChlZ','length','\x20[color\x20','448799GkyFTd','sort','replace','value','7763481FKQViD','171ESBQDm','getRanges','5XEWrdk','isIntersecting','type','splice','createRange'];_0x61b2=function(){return _0x5b8137;};return _0x61b2();}export function getSelectedSuggestions(_0x5ebaf8,_0x1b4a58){const _0x1f3743=_0x3053,_0x1c237e=Array[_0x1f3743(0x11e)](_0x5ebaf8[_0x1f3743(0x13e)]()),_0x32d18c=new Set();for(const _0x15572a of _0x1b4a58)if(_0x15572a[_0x1f3743(0x128)]){for(const _0x246888 of _0x1c237e)for(const _0x3fe86e of _0x15572a[_0x1f3743(0x13e)]())(_0x246888[_0x1f3743(0x140)](_0x3fe86e)||_0x5ebaf8[_0x1f3743(0x144)]&&!_0x15572a[_0x1f3743(0x12c)]&&_0x15572a[_0x1f3743(0x11a)]&&_0x3fe86e[_0x1f3743(0x12a)][_0x1f3743(0x11f)](_0x246888[_0x1f3743(0x124)]))&&_0x32d18c[_0x1f3743(0x11d)](_0x15572a);}return _0x32d18c;}export function getRangesOfBlockGroups(_0x2bdfe4,_0x4875d3){const _0x3399ee=_0x3053;let _0x41966b,_0xee20cb=0x0;const _0x5da1b1=[],_0x21dece=_0x4875d3[_0x3399ee(0x12f)];for(;_0xee20cb<_0x2bdfe4[_0x3399ee(0x136)];){const _0x35fb46=_0x2bdfe4[_0xee20cb],_0x1421f6=_0x2bdfe4[_0xee20cb+0x1];_0x41966b||(_0x41966b=_0x4875d3[_0x3399ee(0x129)](_0x35fb46)),co(_0x4875d3,_0x35fb46,_0x1421f6)||(_0x5da1b1[_0x3399ee(0x120)](_0x4875d3[_0x3399ee(0x143)](_0x41966b,_0x21dece[_0x3399ee(0x122)](_0x35fb46)?_0x4875d3[_0x3399ee(0x134)](_0x35fb46):_0x4875d3[_0x3399ee(0x11c)](_0x35fb46,_0x3399ee(0x12a)))),_0x41966b=null),_0xee20cb++;}return _0x5da1b1;}function co(_0x53ea22,_0x5c5666,_0x2e3091){const _0x9c0d29=_0x3053;if(!_0x2e3091)return!0x1;const _0x1784e9=_0x53ea22[_0x9c0d29(0x134)](_0x5c5666),_0x5cbbbc=_0x53ea22[_0x9c0d29(0x129)](_0x2e3091);return _0x1784e9[_0x9c0d29(0x11f)](_0x5cbbbc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0xb1afed,_0x4669e8,_0xe7e296){const _0x922593=_0x3053;for(;_0xe7e296[_0x922593(0x136)];){const _0x8dea2=_0xe7e296[_0x922593(0x142)](0x0,0x64);_0xb1afed[_0x922593(0x119)](()=>{const _0x40ea2c=_0x922593;for(const _0x3e3546 of _0x8dea2)_0x3e3546[_0x40ea2c(0x128)]&&_0x4669e8[_0x40ea2c(0x132)](_0x3e3546['id']);});}}
|