@ckeditor/ckeditor5-track-changes 44.0.0-alpha.6 → 44.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +7 -7
- package/README.md +15 -12
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d38a1=_0x1d23;(function(_0x2bbac0,_0x57019f){const _0x463140=_0x1d23,_0x1aa2b7=_0x2bbac0();while(!![]){try{const _0x554f10=-parseInt(_0x463140(0x16d))/0x1*(parseInt(_0x463140(0x19f))/0x2)+parseInt(_0x463140(0x1a2))/0x3*(-parseInt(_0x463140(0x19d))/0x4)+parseInt(_0x463140(0x1ac))/0x5*(-parseInt(_0x463140(0x15b))/0x6)+-parseInt(_0x463140(0x165))/0x7+-parseInt(_0x463140(0x180))/0x8+-parseInt(_0x463140(0x1ad))/0x9+-parseInt(_0x463140(0x18f))/0xa*(-parseInt(_0x463140(0x1b3))/0xb);if(_0x554f10===_0x57019f)break;else _0x1aa2b7['push'](_0x1aa2b7['shift']());}catch(_0x6afab8){_0x1aa2b7['push'](_0x1aa2b7['shift']());}}}(_0x16e4,0x80325));import{Plugin as _0x387b11}from'ckeditor5/src/core.js';function _0x1d23(_0x38acdc,_0xb75940){const _0x16e4ac=_0x16e4();return _0x1d23=function(_0x1d237e,_0x5441c3){_0x1d237e=_0x1d237e-0x12f;let _0x19313a=_0x16e4ac[_0x1d237e];return _0x19313a;},_0x1d23(_0x38acdc,_0xb75940);}import{Collection as _0x10da7b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x12644,createDropdown as _0x12b743,ListSeparatorView as _0x311bcc,MenuBarMenuView as _0xbd42e1,MenuBarMenuListView as _0x1d99d8,MenuBarMenuListItemView as _0x2ac161,MenuBarMenuListItemButtonView as _0x3b7285,SplitButtonView as _0x19143a,ViewModel as _0x103ff9}from'ckeditor5/src/ui.js';import{Users as _0x3973ab,getDateTimeFormatter as _0x2656aa,getAllMarkersDomElementsSorted as _0x25a8d7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x481cad from'./trackchangesediting.js';import _0x361395 from'./ui/suggestioncontroller.js';import _0x4d2113 from'./ui/view/suggestionthreadview.js';import _0x54b6bb from'./ui/view/suggestionview.js';import{getTranslation as _0x38e3be}from'./utils/common-translations.js';import _0x4e3489 from'../theme/icons/track-changes.svg';export default class d extends _0x387b11{static get[_0x5d38a1(0x1c7)](){const _0x598358=_0x5d38a1;return[_0x481cad,_0x3973ab,_0x598358(0x14c),_0x598358(0x1c5),_0x598358(0x135)];}static get[_0x5d38a1(0x176)](){const _0x3cefff=_0x5d38a1;return _0x3cefff(0x1a4);}static get[_0x5d38a1(0x17b)](){return!0x0;}static get[_0x5d38a1(0x142)](){return!0x0;}constructor(_0x3ba136){const _0x314362=_0x5d38a1;super(_0x3ba136),this[_0x314362(0x17c)]=new Map(),this[_0x314362(0x1ba)]=new Map(),this[_0x314362(0x186)]=new Map(),this[_0x314362(0x13d)]=new Map();const _0x21edb0=this[_0x314362(0x1bb)][_0x314362(0x198)];_0x21edb0[_0x314362(0x15e)](_0x314362(0x18d),_0x4d2113),_0x21edb0[_0x314362(0x15e)](_0x314362(0x18e),_0x54b6bb),_0x21edb0[_0x314362(0x15e)](_0x314362(0x1b5),!0x1),this[_0x314362(0x14f)]=_0x21edb0[_0x314362(0x188)](_0x314362(0x1b5));}[_0x5d38a1(0x155)](_0x4a6ccf,_0x185070){const _0x4b10ba=_0x5d38a1;0x0===this[_0x4b10ba(0x13d)][_0x4b10ba(0x1d7)]&&setTimeout(()=>{const _0x339d05=_0x4b10ba;for(const [_0x5a0117,_0x1a631b]of this[_0x339d05(0x13d)]){const _0x2e05c6=this[_0x339d05(0x17c)][_0x339d05(0x140)](_0x5a0117);_0x2e05c6||_0x1a631b?_0x2e05c6&&_0x1a631b&&this[_0x339d05(0x1c8)](_0x5a0117):this[_0x339d05(0x191)](_0x5a0117);}this[_0x339d05(0x13d)][_0x339d05(0x132)](),this[_0x339d05(0x1bb)][_0x339d05(0x1cf)][_0x339d05(0x188)](_0x339d05(0x135))[_0x339d05(0x144)](),this[_0x339d05(0x138)]();},0xa),this[_0x4b10ba(0x13d)][_0x4b10ba(0x13e)](_0x4a6ccf,_0x185070);}[_0x5d38a1(0x182)](){const _0x5259cb=_0x5d38a1,_0x2b7d7f=this[_0x5259cb(0x1bb)],_0xf13640=_0x2b7d7f[_0x5259cb(0x1cf)][_0x5259cb(0x188)](_0x5259cb(0x18b)),_0x383fe7=_0x2b7d7f[_0x5259cb(0x1cf)][_0x5259cb(0x188)](_0x5259cb(0x1c5)),_0x1e5416=_0x2b7d7f[_0x5259cb(0x1cf)][_0x5259cb(0x188)](_0x5259cb(0x135)),_0x5ca608=_0x2b7d7f[_0x5259cb(0x1cf)][_0x5259cb(0x188)](_0x5259cb(0x14c));this[_0x5259cb(0x154)](),_0x1e5416[_0x5259cb(0x19c)](()=>{const _0x53b761=_0x5259cb,_0x2ecd84=[];for(const [_0x1d68c2,_0x43b19d]of Array[_0x53b761(0x172)](this[_0x53b761(0x17c)])){const _0x25c9a5=_0x1d68c2[_0x53b761(0x159)](),_0x2fe532=[];for(const _0x947511 of _0x25c9a5){if(!_0x947511[_0x53b761(0x1a8)])continue;if(_0x947511[_0x53b761(0x1dd)]){_0x2fe532[_0x53b761(0x1b2)](..._0x947511[_0x53b761(0x16b)]());continue;}const _0x393105=_0x947511[_0x53b761(0x17f)]();if(_0x2fe532[_0x53b761(0x1d4)]>0x0){const _0x15ae8f=_0x2fe532[0x0][_0x53b761(0x185)](_0x393105);if(_0x15ae8f){_0x2fe532[0x0]=_0x15ae8f;continue;}}_0x2fe532[_0x53b761(0x1b2)](_0x393105);}_0x2ecd84[_0x53b761(0x1b2)]([_0x43b19d[_0x53b761(0x187)],_0x2fe532]);}return _0x2ecd84;}),this[_0x5259cb(0x133)](_0xf13640,_0x5259cb(0x1ab),(_0x523528,_0x1315a2)=>{const _0x3d59e2=_0x5259cb;this[_0x3d59e2(0x133)](_0x1315a2,_0x3d59e2(0x177),(_0xac8e03,_0x3afdfb,_0x4f6e59,_0x18bab8)=>{const _0x30c900=_0x3d59e2;_0x1315a2[_0x30c900(0x1a8)]&&(null==_0x4f6e59?(this[_0x30c900(0x195)](_0x18bab8[_0x30c900(0x178)]),this[_0x30c900(0x155)](_0x1315a2,!0x1)):(this[_0x30c900(0x195)](_0x4f6e59[_0x30c900(0x178)]),null==_0x18bab8&&this[_0x30c900(0x155)](_0x1315a2,!0x0)));}),null!==_0x1315a2[_0x3d59e2(0x18c)]?this[_0x3d59e2(0x195)](_0x1315a2[_0x3d59e2(0x178)]):this[_0x3d59e2(0x155)](_0x1315a2,!0x1);}),this[_0x5259cb(0x133)](_0xf13640,_0x5259cb(0x174),(_0x4107ac,_0x6245c4,_0x3e62d5)=>{const _0x3696a3=_0x5259cb;this[_0x3696a3(0x16f)](_0x6245c4,_0x3696a3(0x177)),this[_0x3696a3(0x13d)][_0x3696a3(0x164)](_0x6245c4),this[_0x3696a3(0x17c)][_0x3696a3(0x140)](_0x6245c4)&&this[_0x3696a3(0x1c8)](_0x6245c4),_0x3e62d5&&this[_0x3696a3(0x195)](_0x3e62d5[_0x3696a3(0x178)]);}),this[_0x5259cb(0x133)](_0xf13640,_0x5259cb(0x1c0),(_0x40410b,_0xb24e91)=>{const _0x50f1e6=_0x5259cb;this[_0x50f1e6(0x195)](_0xb24e91);}),this[_0x5259cb(0x133)](_0x383fe7,_0x5259cb(0x148),()=>{const _0x575a7e=_0x5259cb;this[_0x575a7e(0x138)]();}),this[_0x5259cb(0x133)](_0x5ca608,_0x5259cb(0x1a1),(_0x590628,{threadId:_0xf4a4d,isFromAdapter:_0x3e1f00})=>{const _0x1ecbae=_0x5259cb;if(_0x3e1f00||!_0xf13640[_0x1ecbae(0x184)](_0xf4a4d))return;const _0x354fcb=_0xf13640[_0x1ecbae(0x171)](_0xf4a4d);this[_0x1ecbae(0x17c)][_0x1ecbae(0x188)](_0x354fcb)[_0x1ecbae(0x187)][_0x1ecbae(0x167)][_0x1ecbae(0x14a)](-0x1);},{'priority':_0x5259cb(0x1ca)}),this[_0x5259cb(0x139)]=this[_0x5259cb(0x1bb)][_0x5259cb(0x198)][_0x5259cb(0x188)](_0x5259cb(0x139));const _0x13fd2b=this[_0x5259cb(0x1bb)];this[_0x5259cb(0x153)]=setInterval(()=>{const _0x54d049=_0x5259cb;let _0x595806;for(const _0x462507 in _0x13fd2b){const _0x4fb13c=_0x462507,_0x2390ba=_0x13fd2b[_0x4fb13c];if(_0x54d049(0x181)==_0x2390ba||_0x54d049(0x16a)==_0x2390ba||_0x54d049(0x1bc)==_0x2390ba||_0x54d049(0x168)==_0x2390ba||_0x54d049(0x149)==_0x2390ba||_0x54d049(0x1a6)==_0x2390ba||_0x54d049(0x19b)==_0x2390ba||_0x54d049(0x15f)==_0x2390ba||_0x54d049(0x192)==_0x2390ba){delete _0x13fd2b[_0x4fb13c],_0x595806=_0x2390ba,clearInterval(this[_0x54d049(0x153)]),this[_0x54d049(0x153)]=void 0x0;break;}}_0x54d049(0x16a)==_0x595806&&_0x13fd2b[_0x54d049(0x1d5)](_0x54d049(0x1c4)),_0x54d049(0x1bc)==_0x595806&&_0x13fd2b[_0x54d049(0x1d5)](_0x54d049(0x13a)),_0x54d049(0x168)==_0x595806&&_0x13fd2b[_0x54d049(0x1d5)](_0x54d049(0x160)),_0x54d049(0x149)==_0x595806&&_0x13fd2b[_0x54d049(0x1d5)](_0x54d049(0x1d2),_0x54d049(0x1cd)),_0x54d049(0x1a6)==_0x595806&&_0x13fd2b[_0x54d049(0x1d5)](_0x54d049(0x1b4)),_0x54d049(0x19b)==_0x595806&&_0x13fd2b[_0x54d049(0x1d5)](_0x54d049(0x152)),_0x54d049(0x15f)==_0x595806&&_0x13fd2b[_0x54d049(0x1d5)](_0x54d049(0x166)),_0x54d049(0x192)==_0x595806&&_0x13fd2b[_0x54d049(0x1d5)](_0x54d049(0x141));},0x3e8);}[_0x5d38a1(0x138)](){const _0x3f838f=_0x5d38a1,_0x4cce88=this[_0x3f838f(0x1bb)][_0x3f838f(0x1cf)][_0x3f838f(0x188)](_0x3f838f(0x1c5)),_0x24cdd8=this[_0x3f838f(0x1bb)][_0x3f838f(0x1cf)][_0x3f838f(0x188)](_0x3f838f(0x18b)),_0x118ce3=Array[_0x3f838f(0x172)](_0x4cce88[_0x3f838f(0x158)],_0x113326=>_0x113326[_0x3f838f(0x17d)])[_0x3f838f(0x161)](_0x1eb71e=>this[_0x3f838f(0x1ba)][_0x3f838f(0x140)](_0x1eb71e)),_0x34774e=[];for(const _0x1783d5 of _0x118ce3){const _0x4532f0=this[_0x3f838f(0x1ba)][_0x3f838f(0x188)](_0x1783d5)[_0x3f838f(0x1bf)][_0x3f838f(0x159)]();_0x34774e[_0x3f838f(0x1b2)](..._0x4532f0[_0x3f838f(0x17e)]((_0x337f99,_0x2a7d39)=>[..._0x337f99,..._0x2a7d39[_0x3f838f(0x157)]()],[]));}_0x24cdd8[_0x3f838f(0x1be)]=_0x34774e;}[_0x5d38a1(0x154)](){const _0x1edaf9=_0x5d38a1,_0x11d493=this[_0x1edaf9(0x1bb)],_0x2627be=_0x11d493[_0x1edaf9(0x1d3)],_0x52544d=_0x38e3be(_0x2627be,_0x1edaf9(0x1a9)),_0x351120=new _0x10da7b([{'type':_0x1edaf9(0x189),'model':new _0x103ff9({'withText':!0x0,'isToggleable':!0x0,'label':_0x52544d,'commandName':_0x1edaf9(0x1b9),'role':_0x1edaf9(0x14d)})},{'type':_0x1edaf9(0x199)},{'type':_0x1edaf9(0x13c),'model':new _0x103ff9({'withText':!0x0,'label':_0x38e3be(_0x2627be,_0x1edaf9(0x12f)),'commandName':_0x1edaf9(0x147),'role':_0x1edaf9(0x1b1)})},{'type':_0x1edaf9(0x13c),'model':new _0x103ff9({'withText':!0x0,'label':_0x38e3be(_0x2627be,_0x1edaf9(0x194)),'commandName':_0x1edaf9(0x151),'role':_0x1edaf9(0x1b1)})},{'type':_0x1edaf9(0x13c),'model':new _0x103ff9({'withText':!0x0,'label':_0x38e3be(_0x2627be,_0x1edaf9(0x1c2)),'commandName':_0x1edaf9(0x1b7),'role':_0x1edaf9(0x1b1)})},{'type':_0x1edaf9(0x13c),'model':new _0x103ff9({'withText':!0x0,'label':_0x38e3be(_0x2627be,_0x1edaf9(0x1b8)),'commandName':_0x1edaf9(0x13b),'role':_0x1edaf9(0x1b1)})}]);for(const _0x2782e9 of _0x351120)if(pe(_0x2782e9)){const _0x207854=_0x11d493[_0x1edaf9(0x1c6)][_0x1edaf9(0x188)](_0x2782e9[_0x1edaf9(0x1bf)][_0x1edaf9(0x17a)]);_0x2782e9[_0x1edaf9(0x1bf)][_0x1edaf9(0x173)](_0x1edaf9(0x18a),_0x1edaf9(0x162))['to'](_0x207854,_0x1edaf9(0x1cc),_0x1edaf9(0x162));}_0x11d493['ui'][_0x1edaf9(0x1dc)][_0x1edaf9(0x136)](_0x1edaf9(0x1b9),_0x4a443a=>this[_0x1edaf9(0x156)](_0x4a443a,_0x351120,_0x52544d)),_0x11d493['ui'][_0x1edaf9(0x1dc)][_0x1edaf9(0x136)](_0x1edaf9(0x183),_0x11b2d1=>this[_0x1edaf9(0x1d6)](_0x11b2d1,_0x351120,_0x52544d));}[_0x5d38a1(0x156)](_0x58ce53,_0x2a384b,_0x1df6eb){const _0x585237=_0x5d38a1,_0xe447f3=_0x12b743(_0x58ce53,_0x19143a),_0x37ff53=this[_0x585237(0x1bb)][_0x585237(0x1c6)][_0x585237(0x188)](_0x585237(0x1b9));_0xe447f3[_0x585237(0x170)][_0x585237(0x13e)]({'tooltip':_0x1df6eb,'label':_0x1df6eb,'icon':_0x4e3489}),_0xe447f3[_0x585237(0x170)][_0x585237(0x173)](_0x585237(0x18a))['to'](_0x37ff53,_0x585237(0x1cc)),_0xe447f3[_0x585237(0x170)]['on'](_0x585237(0x169),()=>{const _0x1fb0df=_0x585237;_0x37ff53[_0x1fb0df(0x169)](),this[_0x1fb0df(0x1bb)][_0x1fb0df(0x143)][_0x1fb0df(0x187)][_0x1fb0df(0x14a)]();}),_0x12644(_0xe447f3,_0x2a384b,{'role':_0x585237(0x193)});const _0x58c813=[];for(const _0x258800 of _0x2a384b)pe(_0x258800)&&_0x58c813[_0x585237(0x1b2)](this[_0x585237(0x1bb)][_0x585237(0x1c6)][_0x585237(0x188)](_0x258800[_0x585237(0x1bf)][_0x585237(0x17a)]));const _0x492cd8=_0xe447f3[_0x585237(0x170)];return _0x492cd8[_0x585237(0x1af)][_0x585237(0x15a)](_0x585237(0x162)),_0x492cd8[_0x585237(0x1a3)][_0x585237(0x15a)](_0x585237(0x162)),_0x492cd8[_0x585237(0x1af)][_0x585237(0x173)](_0x585237(0x162))['to'](_0x37ff53,_0x585237(0x162)),_0x492cd8[_0x585237(0x1a3)][_0x585237(0x173)](_0x585237(0x162))[_0x585237(0x16e)](_0x58c813,_0x585237(0x162),(..._0x28c06f)=>_0x28c06f[_0x585237(0x1c3)](_0x290fbc=>_0x290fbc)),_0xe447f3['on'](_0x585237(0x169),_0x3aeb70=>{const _0x33bd66=_0x585237;this[_0x33bd66(0x1bb)][_0x33bd66(0x169)](_0x3aeb70[_0x33bd66(0x1c9)][_0x33bd66(0x17a)]),this[_0x33bd66(0x1bb)][_0x33bd66(0x143)][_0x33bd66(0x187)][_0x33bd66(0x14a)]();}),_0xe447f3;}[_0x5d38a1(0x1d6)](_0x46187e,_0x3e12ed,_0x1b0347){const _0x39205c=_0x5d38a1,_0x1f08c2=new _0xbd42e1(_0x46187e),_0x41b724=this[_0x39205c(0x1bb)][_0x39205c(0x1c6)][_0x39205c(0x188)](_0x39205c(0x1b9));_0x1f08c2[_0x39205c(0x170)][_0x39205c(0x13e)]({'label':_0x1b0347,'icon':_0x4e3489});const _0x48801e=new _0x1d99d8(_0x46187e);for(const _0x4ddf56 of _0x3e12ed){if(_0x39205c(0x199)==_0x4ddf56[_0x39205c(0x13f)]){_0x48801e[_0x39205c(0x1d1)][_0x39205c(0x136)](new _0x311bcc(_0x46187e));continue;}const _0x386ad7=new _0x2ac161(_0x46187e,_0x1f08c2),_0x17c728=new _0x3b7285(_0x46187e),_0x491d4c=_0x4ddf56[_0x39205c(0x1bf)];_0x17c728[_0x39205c(0x173)](...Object[_0x39205c(0x1c1)](_0x491d4c))['to'](_0x491d4c),_0x17c728[_0x39205c(0x1aa)](_0x39205c(0x169))['to'](_0x1f08c2),_0x17c728['on'](_0x39205c(0x169),()=>{const _0x3b968e=_0x39205c;this[_0x3b968e(0x1bb)][_0x3b968e(0x169)](_0x491d4c[_0x3b968e(0x17a)]),this[_0x3b968e(0x1bb)][_0x3b968e(0x143)][_0x3b968e(0x187)][_0x3b968e(0x14a)]();}),_0x386ad7[_0x39205c(0x134)][_0x39205c(0x136)](_0x17c728),_0x48801e[_0x39205c(0x1d1)][_0x39205c(0x136)](_0x386ad7);}return _0x1f08c2[_0x39205c(0x173)](_0x39205c(0x162))['to'](_0x41b724,_0x39205c(0x162)),_0x1f08c2[_0x39205c(0x190)][_0x39205c(0x134)][_0x39205c(0x136)](_0x48801e),_0x1f08c2;}[_0x5d38a1(0x191)](_0x420277){const _0x1fe013=_0x5d38a1,_0x4751da=this[_0x1fe013(0x1bb)],_0x9a1977=_0x4751da[_0x1fe013(0x198)],_0x343fa0=_0x4751da[_0x1fe013(0x1cf)][_0x1fe013(0x188)](_0x1fe013(0x1c5)),_0x2c7680=_0x4751da[_0x1fe013(0x1cf)][_0x1fe013(0x188)](_0x1fe013(0x14c)),_0x179022=_0x4751da[_0x1fe013(0x1cf)][_0x1fe013(0x188)](_0x1fe013(0x135)),_0x327330=_0x4751da[_0x1fe013(0x1cf)][_0x1fe013(0x188)](_0x3973ab)['me'],_0xf80f0c=_0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x1b9))[_0x1fe013(0x1cb)],_0x47056f=_0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x1b9))[_0x1fe013(0x15d)],{CommentsListView:_0x4aa4d3,CommentThreadInputView:_0x3a3d77}=_0x4751da[_0x1fe013(0x1cf)][_0x1fe013(0x188)](_0x1fe013(0x1a7));let _0x59e4fc,_0x29521e,_0x37ac4f;this[_0x1fe013(0x186)][_0x1fe013(0x140)](_0x420277['id'])?(_0x29521e=this[_0x1fe013(0x186)][_0x1fe013(0x188)](_0x420277['id']),_0x59e4fc=_0x29521e[_0x1fe013(0x1bd)]):(_0x59e4fc=new _0xf80f0c(_0x4751da[_0x1fe013(0x1d3)],_0x420277,_0x327330,{'disableComments':this[_0x1fe013(0x14f)],'editorConfig':{..._0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x197)),'licenseKey':_0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x139))},'maxCommentsWhenCollapsed':_0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x1b6)),'maxThreadTotalWeight':_0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x16c)),'maxCommentCharsWhenCollapsed':_0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x1ae)),'formatDateTime':_0x2656aa(_0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x1d3))),'CommentView':_0x9a1977[_0x1fe013(0x188)](_0x1fe013(0x1d9))[_0x1fe013(0x1a5)],'CommentsListView':_0x4aa4d3,'CommentThreadInputView':_0x3a3d77,'SuggestionView':_0x47056f}),_0x59e4fc[_0x1fe013(0x130)][_0x1fe013(0x179)]['on'](_0x1fe013(0x169),()=>{const _0x5d36e6=_0x1fe013;_0x4751da[_0x5d36e6(0x143)][_0x5d36e6(0x187)][_0x5d36e6(0x14a)]();}),_0x59e4fc[_0x1fe013(0x130)][_0x1fe013(0x196)]['on'](_0x1fe013(0x169),()=>{const _0xc6aa4f=_0x1fe013;_0x4751da[_0xc6aa4f(0x143)][_0xc6aa4f(0x187)][_0xc6aa4f(0x14a)]();}),_0x29521e=_0x343fa0[_0x1fe013(0x1d0)](this[_0x1fe013(0x1bb)][_0x1fe013(0x1d3)],_0x59e4fc),_0x29521e[_0x1fe013(0x173)](_0x1fe013(0x1a0))['to'](_0x59e4fc,_0x1fe013(0x1a0)),_0x29521e[_0x1fe013(0x173)](_0x1fe013(0x1d4))['to'](_0x59e4fc),_0x29521e[_0x1fe013(0x173)](_0x1fe013(0x13f))['to'](_0x59e4fc,_0x1fe013(0x13f),_0x4e7882=>_0x1fe013(0x14b)+_0x4e7882),_0x59e4fc['on'](_0x1fe013(0x145),()=>{const _0x3ecb2f=_0x1fe013;_0x37ac4f[_0x3ecb2f(0x1d8)](_0x3ecb2f(0x145));}),this[_0x1fe013(0x186)][_0x1fe013(0x13e)](_0x420277['id'],_0x29521e));const _0x31fe79=_0x2c7680[_0x1fe013(0x1db)](_0x420277[_0x1fe013(0x137)],_0x59e4fc),_0xd21bb0=new _0x361395(_0x4751da,_0x420277,_0x59e4fc,_0x31fe79),_0xeb7e3=_0x420277[_0x1fe013(0x159)]()[_0x1fe013(0x161)](_0x5822c6=>_0x5822c6[_0x1fe013(0x1a8)]);_0x59e4fc[_0x1fe013(0x1ce)]=_0x4751da[_0x1fe013(0x1cf)][_0x1fe013(0x188)](_0x1fe013(0x18b))[_0x1fe013(0x19a)][_0x1fe013(0x19e)](_0xeb7e3),this[_0x1fe013(0x17c)][_0x1fe013(0x13e)](_0x420277,_0xd21bb0),this[_0x1fe013(0x1ba)][_0x1fe013(0x13e)](_0x59e4fc,_0xd21bb0),_0x37ac4f=_0x343fa0[_0x1fe013(0x175)]({'view':_0x29521e,'target':()=>{const _0x8bcb28=_0x1fe013,_0x38860f=[],_0x4a37e3=_0x420277[_0x8bcb28(0x159)]()[_0x8bcb28(0x161)](_0x2c69f2=>_0x2c69f2[_0x8bcb28(0x1a8)]);for(const _0x5709e7 of _0x4a37e3)_0x38860f[_0x8bcb28(0x1b2)](..._0x5709e7[_0x8bcb28(0x146)]());return _0x25a8d7(_0x4751da[_0x8bcb28(0x143)],_0x38860f);},'type':()=>_0x1fe013(0x14b)+_0xd21bb0[_0x1fe013(0x187)][_0x1fe013(0x13f)]}),_0x2c7680[_0x1fe013(0x150)](_0x59e4fc,_0x37ac4f),_0x343fa0[_0x1fe013(0x136)](_0x37ac4f),_0x179022[_0x1fe013(0x1da)](_0x37ac4f);}[_0x5d38a1(0x1c8)](_0x2f56f2){const _0x3caf9f=_0x5d38a1,_0x3d0c34=this[_0x3caf9f(0x1bb)][_0x3caf9f(0x1cf)][_0x3caf9f(0x188)](_0x3caf9f(0x14c)),_0x2b540b=this[_0x3caf9f(0x1bb)][_0x3caf9f(0x1cf)][_0x3caf9f(0x188)](_0x3caf9f(0x1c5)),_0x4e26d4=this[_0x3caf9f(0x17c)][_0x3caf9f(0x188)](_0x2f56f2),_0x356d20=_0x4e26d4[_0x3caf9f(0x187)],_0xb26c17=_0x2b540b[_0x3caf9f(0x131)](_0x356d20);_0x3d0c34[_0x3caf9f(0x15c)](_0x356d20),_0xb26c17&&_0x2b540b[_0x3caf9f(0x14e)](_0xb26c17),this[_0x3caf9f(0x17c)][_0x3caf9f(0x164)](_0x2f56f2),this[_0x3caf9f(0x1ba)][_0x3caf9f(0x164)](_0x356d20),_0x4e26d4[_0x3caf9f(0x163)]();}[_0x5d38a1(0x195)](_0x545228){const _0x51e997=_0x5d38a1;if(!_0x545228[_0x51e997(0x1a8)]||!this[_0x51e997(0x17c)][_0x51e997(0x140)](_0x545228))return;const _0x29d651=this[_0x51e997(0x1bb)][_0x51e997(0x1cf)][_0x51e997(0x188)](_0x51e997(0x18b)),_0x26a8de=this[_0x51e997(0x17c)][_0x51e997(0x188)](_0x545228),_0x5dd122=_0x545228[_0x51e997(0x159)]();_0x26a8de[_0x51e997(0x187)][_0x51e997(0x1ce)]=_0x29d651[_0x51e997(0x19a)][_0x51e997(0x19e)](_0x5dd122);}[_0x5d38a1(0x163)](){const _0x2f450a=_0x5d38a1;for(const _0x5069ee of this[_0x2f450a(0x17c)][_0x2f450a(0x1c1)]())this[_0x2f450a(0x1c8)](_0x5069ee);for(const _0x520e53 of this[_0x2f450a(0x186)][_0x2f450a(0x1b0)]())_0x520e53[_0x2f450a(0x1bd)][_0x2f450a(0x163)]();super[_0x2f450a(0x163)](),this[_0x2f450a(0x153)]&&clearInterval(this[_0x2f450a(0x153)]);}}function pe(_0x51b2f8){const _0x2b3f67=_0x5d38a1;return _0x2b3f67(0x1bf)in _0x51b2f8;}function _0x16e4(){const _0x397572=['_addUIComponentsToFactory','_handleSuggestionControllerDelayed','_createToolbarButton','getMarkerNames','activeAnnotations','getAllAdjacentSuggestions','unbind','18gBeIvT','_unbindEditors','SuggestionView','define','trackChangesLicenseKeyDevelopmentLimit','domainLimit','filter','isEnabled','destroy','delete','1160495XqhFVm','developmentLimit','commentsListView','trackChangesLicenseKeyDomainLimit','execute','trackChangesLicenseKeyInvalid','getRanges','comments.maxThreadTotalWeight','13FwvokZ','toMany','stopListening','buttonView','getSuggestion','from','bind','suggestionUnloaded','createAnnotation','pluginName','change:previous','head','acceptButton','commandName','isOfficialPlugin','_suggestionToController','innerView','reduce','getFirstRange','875904xjrcqb','trackChangesLicenseKeyValid','init','menuBar:trackChanges','hasSuggestion','getJoined','_annotationViews','view','get','switchbutton','isOn','TrackChangesEditing','previous','trackChanges.SuggestionThreadView','trackChanges.SuggestionView','10LYRjTy','panelView','_initializeController','trackChangesLicenseKeyUsageLimit','menu','Accept\x20all\x20selected\x20suggestions','_updateController','discardButton','comments.editorConfig','config','separator','descriptionFactory','trackChangesLicenseKeyTrialLimit','addSourceCollector','1249312VdtfTD','getDescriptions','202buCXeB','isDirty','addComment','3eWLSjc','arrowView','TrackChangesUI','CommentView','trackChangesLicenseKeyEvaluationLimit','CommentsUI','isInContent','Track\x20changes','delegate','suggestionLoaded','374030nxfwRg','4010283VcnWNh','comments.maxCommentCharsWhenCollapsed','actionView','values','menuitem','push','19624132JpFdug','evaluationLimit','trackChanges.disableComments','comments.maxCommentsWhenCollapsed','discardAllSuggestions','Discard\x20all\x20selected\x20suggestions','trackChanges','_viewToController','editor','trackChangesLicenseKeyExpired','mainView','activeMarkers','model','suggestionChanged','keys','Discard\x20all\x20suggestions','some','invalid','Annotations','commands','requires','_destroyController','source','lowest','SuggestionThreadView','value','TrackChanges','descriptionParts','plugins','createAnnotationView','items','featureNotAllowed','locale','length','_showLicenseError','_createMenuBarMenu','size','fire','comments','registerAnnotation','createCommentThreadController','componentFactory','isMultiRange','Accept\x20all\x20suggestions','suggestionView','getByInnerView','clear','listenTo','children','EditorAnnotations','add','commentThread','_refreshActiveMarkers','licenseKey','expired','discardSelectedSuggestions','button','_handleControllerBuffer','set','type','has','usageLimit','isPremiumPlugin','editing','refreshSelectedViews','escape','getMarkers','acceptAllSuggestions','change:activeAnnotations','trackChangesLicenseKeyNotAllowed','focus','suggestion-','CommentsRepository','menuitemcheckbox','remove','_disableComments','_bindAnnotationToEditors','acceptSelectedSuggestions','trialLimit','_licenseKeyCheckInterval'];_0x16e4=function(){return _0x397572;};return _0x16e4();}
|
|
23
|
+
function _0x4a8a(_0x4b5f86,_0x4f4b8e){const _0x37bb87=_0x37bb();return _0x4a8a=function(_0x4a8a79,_0x2d9239){_0x4a8a79=_0x4a8a79-0xc4;let _0x22190c=_0x37bb87[_0x4a8a79];return _0x22190c;},_0x4a8a(_0x4b5f86,_0x4f4b8e);}const _0x1e2495=_0x4a8a;(function(_0x3f8e49,_0x167433){const _0x1d6933=_0x4a8a,_0x1bee8d=_0x3f8e49();while(!![]){try{const _0xb38adf=-parseInt(_0x1d6933(0x155))/0x1+-parseInt(_0x1d6933(0x16d))/0x2+parseInt(_0x1d6933(0xcd))/0x3*(-parseInt(_0x1d6933(0xdc))/0x4)+parseInt(_0x1d6933(0x100))/0x5+parseInt(_0x1d6933(0xf6))/0x6+parseInt(_0x1d6933(0x161))/0x7+parseInt(_0x1d6933(0x16f))/0x8;if(_0xb38adf===_0x167433)break;else _0x1bee8d['push'](_0x1bee8d['shift']());}catch(_0x27f080){_0x1bee8d['push'](_0x1bee8d['shift']());}}}(_0x37bb,0x3a9ef));function _0x37bb(){const _0x1e8fe4=['trackChangesLicenseKeyValid','trackChanges.SuggestionView','commentThread','remove','toMany','values','model','delete','commentsListView','developmentLimit','get','refreshSelectedViews','getJoined','isInContent','639720PbmWPF','discardSelectedSuggestions','_showLicenseError','trackChangesLicenseKeyTrialLimit','requires','getMarkerNames','suggestionView','CommentsUI','value','Discard\x20all\x20suggestions','2234105AHtQeR','set','_initializeController','execute','registerAnnotation','keys','bind','focus','expired','comments.maxCommentCharsWhenCollapsed','panelView','comments','Accept\x20all\x20selected\x20suggestions','isOn','push','_disableComments','reduce','_createToolbarButton','isPremiumPlugin','trackChangesLicenseKeyUsageLimit','trackChangesLicenseKeyNotAllowed','_bindAnnotationToEditors','commandName','plugins','menuBar:trackChanges','TrackChangesUI','_licenseKeyCheckInterval','_destroyController','usageLimit','featureNotAllowed','view','comments.maxThreadTotalWeight','Discard\x20all\x20selected\x20suggestions','from','suggestion-','SuggestionView','createAnnotation','createAnnotationView','unbind','lowest','commands','acceptSelectedSuggestions','comments.maxCommentsWhenCollapsed','delegate','size','editing','filter','clear','_handleControllerBuffer','licenseKey','head','_addUIComponentsToFactory','componentFactory','separator','addSourceCollector','suggestionUnloaded','locale','mainView','length','switchbutton','suggestionChanged','invalid','_viewToController','items','activeAnnotations','type','Annotations','trialLimit','acceptAllSuggestions','menuitemcheckbox','init','trackChangesLicenseKeyExpired','buttonView','children','previous','actionView','getFirstRange','TrackChangesEditing','_unbindEditors','getMarkers','addComment','listenTo','getRanges','_refreshActiveMarkers','_handleSuggestionControllerDelayed','307094aibFAZ','config','TrackChanges','getSuggestion','trackChangesLicenseKeyDevelopmentLimit','getByInnerView','comments.editorConfig','SuggestionThreadView','CommentView','button','trackChanges.SuggestionThreadView','destroy','1241597YrIsno','descriptionFactory','createCommentThreadController','trackChangesLicenseKeyEvaluationLimit','isOfficialPlugin','Track\x20changes','trackChanges.disableComments','innerView','trackChangesLicenseKeyInvalid','menuitem','change:previous','has','816798bcnpQu','hasSuggestion','2132152PkWfGj','isDirty','descriptionParts','_annotationViews','getAllAdjacentSuggestions','define','CommentsRepository','domainLimit','fire','isMultiRange','9aoLWLq','trackChanges','_createMenuBarMenu','getDescriptions','Accept\x20all\x20suggestions','pluginName','activeMarkers','change:activeAnnotations','menu','discardButton','arrowView','discardAllSuggestions','escape','EditorAnnotations','_suggestionToController','55636KjiRpa','_updateController','add','stopListening','some','acceptButton','source','evaluationLimit','trackChangesLicenseKeyDomainLimit','editor','isEnabled','suggestionLoaded'];_0x37bb=function(){return _0x1e8fe4;};return _0x37bb();}import{Plugin as _0x312417}from'ckeditor5/src/core.js';import{Collection as _0x42b329}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3d420c,createDropdown as _0x3cffd9,ListSeparatorView as _0x2cac0a,MenuBarMenuView as _0x285ace,MenuBarMenuListView as _0x5ede38,MenuBarMenuListItemView as _0xff70f1,MenuBarMenuListItemButtonView as _0x1645d5,SplitButtonView as _0x3fcdd1,ViewModel as _0x16d16c}from'ckeditor5/src/ui.js';import{Users as _0x38bc70,getDateTimeFormatter as _0x50e8f4,getAllMarkersDomElementsSorted as _0x49e1f9}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x168ec8 from'./trackchangesediting.js';import _0x4de20d from'./ui/suggestioncontroller.js';import _0x4ba006 from'./ui/view/suggestionthreadview.js';import _0x5d704b from'./ui/view/suggestionview.js';import{getTranslation as _0x4f850f}from'./utils/common-translations.js';import _0x10bd34 from'../theme/icons/track-changes.svg';export default class d extends _0x312417{static get[_0x1e2495(0xfa)](){const _0x32c370=_0x1e2495;return[_0x168ec8,_0x38bc70,_0x32c370(0xc9),_0x32c370(0x142),_0x32c370(0xda)];}static get[_0x1e2495(0xd2)](){const _0x5680ad=_0x1e2495;return _0x5680ad(0x119);}static get[_0x1e2495(0x165)](){return!0x0;}static get[_0x1e2495(0x112)](){return!0x0;}constructor(_0x42d32c){const _0x1a947c=_0x1e2495;super(_0x42d32c),this[_0x1a947c(0xdb)]=new Map(),this[_0x1a947c(0x13e)]=new Map(),this[_0x1a947c(0xc6)]=new Map(),this[_0x1a947c(0x130)]=new Map();const _0x19e2aa=this[_0x1a947c(0xe5)][_0x1a947c(0x156)];_0x19e2aa[_0x1a947c(0xc8)](_0x1a947c(0x15f),_0x4ba006),_0x19e2aa[_0x1a947c(0xc8)](_0x1a947c(0xe9),_0x5d704b),_0x19e2aa[_0x1a947c(0xc8)](_0x1a947c(0x167),!0x1),this[_0x1a947c(0x10f)]=_0x19e2aa[_0x1a947c(0xf2)](_0x1a947c(0x167));}[_0x1e2495(0x154)](_0x332513,_0x594d07){const _0x40b012=_0x1e2495;0x0===this[_0x40b012(0x130)][_0x40b012(0x12c)]&&setTimeout(()=>{const _0x3deb44=_0x40b012;for(const [_0x2f37ec,_0x464c69]of this[_0x3deb44(0x130)]){const _0x2037fd=this[_0x3deb44(0xdb)][_0x3deb44(0x16c)](_0x2f37ec);_0x2037fd||_0x464c69?_0x2037fd&&_0x464c69&&this[_0x3deb44(0x11b)](_0x2f37ec):this[_0x3deb44(0x102)](_0x2f37ec);}this[_0x3deb44(0x130)][_0x3deb44(0x12f)](),this[_0x3deb44(0xe5)][_0x3deb44(0x117)][_0x3deb44(0xf2)](_0x3deb44(0xda))[_0x3deb44(0xf3)](),this[_0x3deb44(0x153)]();},0xa),this[_0x40b012(0x130)][_0x40b012(0x101)](_0x332513,_0x594d07);}[_0x1e2495(0x146)](){const _0x585fcf=_0x1e2495,_0x2192ee=this[_0x585fcf(0xe5)],_0x34a385=_0x2192ee[_0x585fcf(0x117)][_0x585fcf(0xf2)](_0x585fcf(0x14d)),_0x19f1dc=_0x2192ee[_0x585fcf(0x117)][_0x585fcf(0xf2)](_0x585fcf(0x142)),_0x12b2df=_0x2192ee[_0x585fcf(0x117)][_0x585fcf(0xf2)](_0x585fcf(0xda)),_0x4cd4d3=_0x2192ee[_0x585fcf(0x117)][_0x585fcf(0xf2)](_0x585fcf(0xc9));this[_0x585fcf(0x133)](),_0x12b2df[_0x585fcf(0x136)](()=>{const _0xa09ea0=_0x585fcf,_0x568394=[];for(const [_0x214265,_0x40bad3]of Array[_0xa09ea0(0x121)](this[_0xa09ea0(0xdb)])){const _0x7d1ca4=_0x214265[_0xa09ea0(0xc7)](),_0x5f181c=[];for(const _0x253302 of _0x7d1ca4){if(!_0x253302[_0xa09ea0(0xf5)])continue;if(_0x253302[_0xa09ea0(0xcc)]){_0x5f181c[_0xa09ea0(0x10e)](..._0x253302[_0xa09ea0(0x152)]());continue;}const _0x3e6e0a=_0x253302[_0xa09ea0(0x14c)]();if(_0x5f181c[_0xa09ea0(0x13a)]>0x0){const _0x266a64=_0x5f181c[0x0][_0xa09ea0(0xf4)](_0x3e6e0a);if(_0x266a64){_0x5f181c[0x0]=_0x266a64;continue;}}_0x5f181c[_0xa09ea0(0x10e)](_0x3e6e0a);}_0x568394[_0xa09ea0(0x10e)]([_0x40bad3[_0xa09ea0(0x11e)],_0x5f181c]);}return _0x568394;}),this[_0x585fcf(0x151)](_0x34a385,_0x585fcf(0xe7),(_0xec354a,_0x3dad2f)=>{const _0x447942=_0x585fcf;this[_0x447942(0x151)](_0x3dad2f,_0x447942(0x16b),(_0x52d06c,_0x58ab5d,_0x528110,_0x270af3)=>{const _0x5322d3=_0x447942;_0x3dad2f[_0x5322d3(0xf5)]&&(null==_0x528110?(this[_0x5322d3(0xdd)](_0x270af3[_0x5322d3(0x132)]),this[_0x5322d3(0x154)](_0x3dad2f,!0x1)):(this[_0x5322d3(0xdd)](_0x528110[_0x5322d3(0x132)]),null==_0x270af3&&this[_0x5322d3(0x154)](_0x3dad2f,!0x0)));}),null!==_0x3dad2f[_0x447942(0x14a)]?this[_0x447942(0xdd)](_0x3dad2f[_0x447942(0x132)]):this[_0x447942(0x154)](_0x3dad2f,!0x1);}),this[_0x585fcf(0x151)](_0x34a385,_0x585fcf(0x137),(_0x405798,_0x279cb9,_0x54504f)=>{const _0x397f85=_0x585fcf;this[_0x397f85(0xdf)](_0x279cb9,_0x397f85(0x16b)),this[_0x397f85(0x130)][_0x397f85(0xef)](_0x279cb9),this[_0x397f85(0xdb)][_0x397f85(0x16c)](_0x279cb9)&&this[_0x397f85(0x11b)](_0x279cb9),_0x54504f&&this[_0x397f85(0xdd)](_0x54504f[_0x397f85(0x132)]);}),this[_0x585fcf(0x151)](_0x34a385,_0x585fcf(0x13c),(_0x118676,_0x4297db)=>{const _0x6a8236=_0x585fcf;this[_0x6a8236(0xdd)](_0x4297db);}),this[_0x585fcf(0x151)](_0x19f1dc,_0x585fcf(0xd4),()=>{const _0x4f8047=_0x585fcf;this[_0x4f8047(0x153)]();}),this[_0x585fcf(0x151)](_0x4cd4d3,_0x585fcf(0x150),(_0x23da25,{threadId:_0x448960,isFromAdapter:_0xf6fdd1})=>{const _0x508518=_0x585fcf;if(_0xf6fdd1||!_0x34a385[_0x508518(0x16e)](_0x448960))return;const _0x552c1d=_0x34a385[_0x508518(0x158)](_0x448960);this[_0x508518(0xdb)][_0x508518(0xf2)](_0x552c1d)[_0x508518(0x11e)][_0x508518(0xf0)][_0x508518(0x107)](-0x1);},{'priority':_0x585fcf(0x127)}),this[_0x585fcf(0x131)]=this[_0x585fcf(0xe5)][_0x585fcf(0x156)][_0x585fcf(0xf2)](_0x585fcf(0x131));const _0x38df8a=this[_0x585fcf(0xe5)];this[_0x585fcf(0x11a)]=setInterval(()=>{const _0x402806=_0x585fcf;let _0x3ac529;for(const _0x3831be in _0x38df8a){const _0x3c6710=_0x3831be,_0x5bf69a=_0x38df8a[_0x3c6710];if(_0x402806(0xe8)==_0x5bf69a||_0x402806(0x169)==_0x5bf69a||_0x402806(0x147)==_0x5bf69a||_0x402806(0xe4)==_0x5bf69a||_0x402806(0x114)==_0x5bf69a||_0x402806(0x164)==_0x5bf69a||_0x402806(0xf9)==_0x5bf69a||_0x402806(0x159)==_0x5bf69a||_0x402806(0x113)==_0x5bf69a){delete _0x38df8a[_0x3c6710],_0x3ac529=_0x5bf69a,clearInterval(this[_0x402806(0x11a)]),this[_0x402806(0x11a)]=void 0x0;break;}}_0x402806(0x169)==_0x3ac529&&_0x38df8a[_0x402806(0xf8)](_0x402806(0x13d)),_0x402806(0x147)==_0x3ac529&&_0x38df8a[_0x402806(0xf8)](_0x402806(0x108)),_0x402806(0xe4)==_0x3ac529&&_0x38df8a[_0x402806(0xf8)](_0x402806(0xca)),_0x402806(0x114)==_0x3ac529&&_0x38df8a[_0x402806(0xf8)](_0x402806(0x11d),_0x402806(0x157)),_0x402806(0x164)==_0x3ac529&&_0x38df8a[_0x402806(0xf8)](_0x402806(0xe3)),_0x402806(0xf9)==_0x3ac529&&_0x38df8a[_0x402806(0xf8)](_0x402806(0x143)),_0x402806(0x159)==_0x3ac529&&_0x38df8a[_0x402806(0xf8)](_0x402806(0xf1)),_0x402806(0x113)==_0x3ac529&&_0x38df8a[_0x402806(0xf8)](_0x402806(0x11c));},0x3e8);}[_0x1e2495(0x153)](){const _0x194e68=_0x1e2495,_0x151555=this[_0x194e68(0xe5)][_0x194e68(0x117)][_0x194e68(0xf2)](_0x194e68(0x142)),_0x2c0f67=this[_0x194e68(0xe5)][_0x194e68(0x117)][_0x194e68(0xf2)](_0x194e68(0x14d)),_0x3da7cb=Array[_0x194e68(0x121)](_0x151555[_0x194e68(0x140)],_0x1762d0=>_0x1762d0[_0x194e68(0x168)])[_0x194e68(0x12e)](_0x9fbcf8=>this[_0x194e68(0x13e)][_0x194e68(0x16c)](_0x9fbcf8)),_0x635149=[];for(const _0xa5e975 of _0x3da7cb){const _0x3988de=this[_0x194e68(0x13e)][_0x194e68(0xf2)](_0xa5e975)[_0x194e68(0xee)][_0x194e68(0xc7)]();_0x635149[_0x194e68(0x10e)](..._0x3988de[_0x194e68(0x110)]((_0x37d359,_0x92d366)=>[..._0x37d359,..._0x92d366[_0x194e68(0xfb)]()],[]));}_0x2c0f67[_0x194e68(0xd3)]=_0x635149;}[_0x1e2495(0x133)](){const _0x5d3f64=_0x1e2495,_0x59745f=this[_0x5d3f64(0xe5)],_0x7145f0=_0x59745f[_0x5d3f64(0x138)],_0xbcf3c5=_0x4f850f(_0x7145f0,_0x5d3f64(0x166)),_0x494327=new _0x42b329([{'type':_0x5d3f64(0x13b),'model':new _0x16d16c({'withText':!0x0,'isToggleable':!0x0,'label':_0xbcf3c5,'commandName':_0x5d3f64(0xce),'role':_0x5d3f64(0x145)})},{'type':_0x5d3f64(0x135)},{'type':_0x5d3f64(0x15e),'model':new _0x16d16c({'withText':!0x0,'label':_0x4f850f(_0x7145f0,_0x5d3f64(0xd1)),'commandName':_0x5d3f64(0x144),'role':_0x5d3f64(0x16a)})},{'type':_0x5d3f64(0x15e),'model':new _0x16d16c({'withText':!0x0,'label':_0x4f850f(_0x7145f0,_0x5d3f64(0x10c)),'commandName':_0x5d3f64(0x129),'role':_0x5d3f64(0x16a)})},{'type':_0x5d3f64(0x15e),'model':new _0x16d16c({'withText':!0x0,'label':_0x4f850f(_0x7145f0,_0x5d3f64(0xff)),'commandName':_0x5d3f64(0xd8),'role':_0x5d3f64(0x16a)})},{'type':_0x5d3f64(0x15e),'model':new _0x16d16c({'withText':!0x0,'label':_0x4f850f(_0x7145f0,_0x5d3f64(0x120)),'commandName':_0x5d3f64(0xf7),'role':_0x5d3f64(0x16a)})}]);for(const _0x174e4d of _0x494327)if(pe(_0x174e4d)){const _0x1c1db3=_0x59745f[_0x5d3f64(0x128)][_0x5d3f64(0xf2)](_0x174e4d[_0x5d3f64(0xee)][_0x5d3f64(0x116)]);_0x174e4d[_0x5d3f64(0xee)][_0x5d3f64(0x106)](_0x5d3f64(0x10d),_0x5d3f64(0xe6))['to'](_0x1c1db3,_0x5d3f64(0xfe),_0x5d3f64(0xe6));}_0x59745f['ui'][_0x5d3f64(0x134)][_0x5d3f64(0xde)](_0x5d3f64(0xce),_0x3b589e=>this[_0x5d3f64(0x111)](_0x3b589e,_0x494327,_0xbcf3c5)),_0x59745f['ui'][_0x5d3f64(0x134)][_0x5d3f64(0xde)](_0x5d3f64(0x118),_0xd7bdce=>this[_0x5d3f64(0xcf)](_0xd7bdce,_0x494327,_0xbcf3c5));}[_0x1e2495(0x111)](_0x296b37,_0x194f0d,_0x1ab2ac){const _0x44e1fa=_0x1e2495,_0x311e9d=_0x3cffd9(_0x296b37,_0x3fcdd1),_0x10b2d3=this[_0x44e1fa(0xe5)][_0x44e1fa(0x128)][_0x44e1fa(0xf2)](_0x44e1fa(0xce));_0x311e9d[_0x44e1fa(0x148)][_0x44e1fa(0x101)]({'tooltip':_0x1ab2ac,'label':_0x1ab2ac,'icon':_0x10bd34}),_0x311e9d[_0x44e1fa(0x148)][_0x44e1fa(0x106)](_0x44e1fa(0x10d))['to'](_0x10b2d3,_0x44e1fa(0xfe)),_0x311e9d[_0x44e1fa(0x148)]['on'](_0x44e1fa(0x103),()=>{const _0x4b9881=_0x44e1fa;_0x10b2d3[_0x4b9881(0x103)](),this[_0x4b9881(0xe5)][_0x4b9881(0x12d)][_0x4b9881(0x11e)][_0x4b9881(0x107)]();}),_0x3d420c(_0x311e9d,_0x194f0d,{'role':_0x44e1fa(0xd5)});const _0x159ec7=[];for(const _0x228413 of _0x194f0d)pe(_0x228413)&&_0x159ec7[_0x44e1fa(0x10e)](this[_0x44e1fa(0xe5)][_0x44e1fa(0x128)][_0x44e1fa(0xf2)](_0x228413[_0x44e1fa(0xee)][_0x44e1fa(0x116)]));const _0x161a79=_0x311e9d[_0x44e1fa(0x148)];return _0x161a79[_0x44e1fa(0x14b)][_0x44e1fa(0x126)](_0x44e1fa(0xe6)),_0x161a79[_0x44e1fa(0xd7)][_0x44e1fa(0x126)](_0x44e1fa(0xe6)),_0x161a79[_0x44e1fa(0x14b)][_0x44e1fa(0x106)](_0x44e1fa(0xe6))['to'](_0x10b2d3,_0x44e1fa(0xe6)),_0x161a79[_0x44e1fa(0xd7)][_0x44e1fa(0x106)](_0x44e1fa(0xe6))[_0x44e1fa(0xec)](_0x159ec7,_0x44e1fa(0xe6),(..._0x4684a9)=>_0x4684a9[_0x44e1fa(0xe0)](_0x37b026=>_0x37b026)),_0x311e9d['on'](_0x44e1fa(0x103),_0x219753=>{const _0x230168=_0x44e1fa;this[_0x230168(0xe5)][_0x230168(0x103)](_0x219753[_0x230168(0xe2)][_0x230168(0x116)]),this[_0x230168(0xe5)][_0x230168(0x12d)][_0x230168(0x11e)][_0x230168(0x107)]();}),_0x311e9d;}[_0x1e2495(0xcf)](_0x1ce3e0,_0x2585d9,_0x518762){const _0x26ee36=_0x1e2495,_0x3de71e=new _0x285ace(_0x1ce3e0),_0x32711f=this[_0x26ee36(0xe5)][_0x26ee36(0x128)][_0x26ee36(0xf2)](_0x26ee36(0xce));_0x3de71e[_0x26ee36(0x148)][_0x26ee36(0x101)]({'label':_0x518762,'icon':_0x10bd34});const _0x5f0d37=new _0x5ede38(_0x1ce3e0);for(const _0x698308 of _0x2585d9){if(_0x26ee36(0x135)==_0x698308[_0x26ee36(0x141)]){_0x5f0d37[_0x26ee36(0x13f)][_0x26ee36(0xde)](new _0x2cac0a(_0x1ce3e0));continue;}const _0x385eaf=new _0xff70f1(_0x1ce3e0,_0x3de71e),_0x1df405=new _0x1645d5(_0x1ce3e0),_0x39ab60=_0x698308[_0x26ee36(0xee)];_0x1df405[_0x26ee36(0x106)](...Object[_0x26ee36(0x105)](_0x39ab60))['to'](_0x39ab60),_0x1df405[_0x26ee36(0x12b)](_0x26ee36(0x103))['to'](_0x3de71e),_0x1df405['on'](_0x26ee36(0x103),()=>{const _0x59d2e8=_0x26ee36;this[_0x59d2e8(0xe5)][_0x59d2e8(0x103)](_0x39ab60[_0x59d2e8(0x116)]),this[_0x59d2e8(0xe5)][_0x59d2e8(0x12d)][_0x59d2e8(0x11e)][_0x59d2e8(0x107)]();}),_0x385eaf[_0x26ee36(0x149)][_0x26ee36(0xde)](_0x1df405),_0x5f0d37[_0x26ee36(0x13f)][_0x26ee36(0xde)](_0x385eaf);}return _0x3de71e[_0x26ee36(0x106)](_0x26ee36(0xe6))['to'](_0x32711f,_0x26ee36(0xe6)),_0x3de71e[_0x26ee36(0x10a)][_0x26ee36(0x149)][_0x26ee36(0xde)](_0x5f0d37),_0x3de71e;}[_0x1e2495(0x102)](_0x15da94){const _0x104b3b=_0x1e2495,_0x3f33f1=this[_0x104b3b(0xe5)],_0x183e41=_0x3f33f1[_0x104b3b(0x156)],_0x1274d6=_0x3f33f1[_0x104b3b(0x117)][_0x104b3b(0xf2)](_0x104b3b(0x142)),_0x15c76c=_0x3f33f1[_0x104b3b(0x117)][_0x104b3b(0xf2)](_0x104b3b(0xc9)),_0x34d61f=_0x3f33f1[_0x104b3b(0x117)][_0x104b3b(0xf2)](_0x104b3b(0xda)),_0x2fb299=_0x3f33f1[_0x104b3b(0x117)][_0x104b3b(0xf2)](_0x38bc70)['me'],_0x321581=_0x183e41[_0x104b3b(0xf2)](_0x104b3b(0xce))[_0x104b3b(0x15c)],_0x3e660f=_0x183e41[_0x104b3b(0xf2)](_0x104b3b(0xce))[_0x104b3b(0x123)],{CommentsListView:_0x1db1ba,CommentThreadInputView:_0x143d61}=_0x3f33f1[_0x104b3b(0x117)][_0x104b3b(0xf2)](_0x104b3b(0xfd));let _0x41e6a8,_0x231c28,_0x4775a1;this[_0x104b3b(0xc6)][_0x104b3b(0x16c)](_0x15da94['id'])?(_0x231c28=this[_0x104b3b(0xc6)][_0x104b3b(0xf2)](_0x15da94['id']),_0x41e6a8=_0x231c28[_0x104b3b(0x139)]):(_0x41e6a8=new _0x321581(_0x3f33f1[_0x104b3b(0x138)],_0x15da94,_0x2fb299,{'disableComments':this[_0x104b3b(0x10f)],'editorConfig':{..._0x183e41[_0x104b3b(0xf2)](_0x104b3b(0x15b)),'licenseKey':_0x183e41[_0x104b3b(0xf2)](_0x104b3b(0x131))},'maxCommentsWhenCollapsed':_0x183e41[_0x104b3b(0xf2)](_0x104b3b(0x12a)),'maxThreadTotalWeight':_0x183e41[_0x104b3b(0xf2)](_0x104b3b(0x11f)),'maxCommentCharsWhenCollapsed':_0x183e41[_0x104b3b(0xf2)](_0x104b3b(0x109)),'formatDateTime':_0x50e8f4(_0x183e41[_0x104b3b(0xf2)](_0x104b3b(0x138))),'CommentView':_0x183e41[_0x104b3b(0xf2)](_0x104b3b(0x10b))[_0x104b3b(0x15d)],'CommentsListView':_0x1db1ba,'CommentThreadInputView':_0x143d61,'SuggestionView':_0x3e660f}),_0x41e6a8[_0x104b3b(0xfc)][_0x104b3b(0xe1)]['on'](_0x104b3b(0x103),()=>{const _0x52daf0=_0x104b3b;_0x3f33f1[_0x52daf0(0x12d)][_0x52daf0(0x11e)][_0x52daf0(0x107)]();}),_0x41e6a8[_0x104b3b(0xfc)][_0x104b3b(0xd6)]['on'](_0x104b3b(0x103),()=>{const _0x3bcc80=_0x104b3b;_0x3f33f1[_0x3bcc80(0x12d)][_0x3bcc80(0x11e)][_0x3bcc80(0x107)]();}),_0x231c28=_0x1274d6[_0x104b3b(0x125)](this[_0x104b3b(0xe5)][_0x104b3b(0x138)],_0x41e6a8),_0x231c28[_0x104b3b(0x106)](_0x104b3b(0xc4))['to'](_0x41e6a8,_0x104b3b(0xc4)),_0x231c28[_0x104b3b(0x106)](_0x104b3b(0x13a))['to'](_0x41e6a8),_0x231c28[_0x104b3b(0x106)](_0x104b3b(0x141))['to'](_0x41e6a8,_0x104b3b(0x141),_0x1c7af7=>_0x104b3b(0x122)+_0x1c7af7),_0x41e6a8['on'](_0x104b3b(0xd9),()=>{const _0x3cdef2=_0x104b3b;_0x4775a1[_0x3cdef2(0xcb)](_0x3cdef2(0xd9));}),this[_0x104b3b(0xc6)][_0x104b3b(0x101)](_0x15da94['id'],_0x231c28));const _0x8df9a6=_0x15c76c[_0x104b3b(0x163)](_0x15da94[_0x104b3b(0xea)],_0x41e6a8),_0x1c5851=new _0x4de20d(_0x3f33f1,_0x15da94,_0x41e6a8,_0x8df9a6),_0x537fe2=_0x15da94[_0x104b3b(0xc7)]()[_0x104b3b(0x12e)](_0x3d8d30=>_0x3d8d30[_0x104b3b(0xf5)]);_0x41e6a8[_0x104b3b(0xc5)]=_0x3f33f1[_0x104b3b(0x117)][_0x104b3b(0xf2)](_0x104b3b(0x14d))[_0x104b3b(0x162)][_0x104b3b(0xd0)](_0x537fe2),this[_0x104b3b(0xdb)][_0x104b3b(0x101)](_0x15da94,_0x1c5851),this[_0x104b3b(0x13e)][_0x104b3b(0x101)](_0x41e6a8,_0x1c5851),_0x4775a1=_0x1274d6[_0x104b3b(0x124)]({'view':_0x231c28,'target':()=>{const _0x1ad718=_0x104b3b,_0x43d802=[],_0x4af3e4=_0x15da94[_0x1ad718(0xc7)]()[_0x1ad718(0x12e)](_0x2d2614=>_0x2d2614[_0x1ad718(0xf5)]);for(const _0x4e8a78 of _0x4af3e4)_0x43d802[_0x1ad718(0x10e)](..._0x4e8a78[_0x1ad718(0x14f)]());return _0x49e1f9(_0x3f33f1[_0x1ad718(0x12d)],_0x43d802);},'type':()=>_0x104b3b(0x122)+_0x1c5851[_0x104b3b(0x11e)][_0x104b3b(0x141)]}),_0x15c76c[_0x104b3b(0x115)](_0x41e6a8,_0x4775a1),_0x1274d6[_0x104b3b(0xde)](_0x4775a1),_0x34d61f[_0x104b3b(0x104)](_0x4775a1);}[_0x1e2495(0x11b)](_0x429f5e){const _0x15668c=_0x1e2495,_0x1a7fa6=this[_0x15668c(0xe5)][_0x15668c(0x117)][_0x15668c(0xf2)](_0x15668c(0xc9)),_0x561fde=this[_0x15668c(0xe5)][_0x15668c(0x117)][_0x15668c(0xf2)](_0x15668c(0x142)),_0x4a0d6b=this[_0x15668c(0xdb)][_0x15668c(0xf2)](_0x429f5e),_0x2639a4=_0x4a0d6b[_0x15668c(0x11e)],_0x338de3=_0x561fde[_0x15668c(0x15a)](_0x2639a4);_0x1a7fa6[_0x15668c(0x14e)](_0x2639a4),_0x338de3&&_0x561fde[_0x15668c(0xeb)](_0x338de3),this[_0x15668c(0xdb)][_0x15668c(0xef)](_0x429f5e),this[_0x15668c(0x13e)][_0x15668c(0xef)](_0x2639a4),_0x4a0d6b[_0x15668c(0x160)]();}[_0x1e2495(0xdd)](_0x2ef898){const _0xc408be=_0x1e2495;if(!_0x2ef898[_0xc408be(0xf5)]||!this[_0xc408be(0xdb)][_0xc408be(0x16c)](_0x2ef898))return;const _0x2cc168=this[_0xc408be(0xe5)][_0xc408be(0x117)][_0xc408be(0xf2)](_0xc408be(0x14d)),_0x43a4b4=this[_0xc408be(0xdb)][_0xc408be(0xf2)](_0x2ef898),_0x39a376=_0x2ef898[_0xc408be(0xc7)]();_0x43a4b4[_0xc408be(0x11e)][_0xc408be(0xc5)]=_0x2cc168[_0xc408be(0x162)][_0xc408be(0xd0)](_0x39a376);}[_0x1e2495(0x160)](){const _0x379308=_0x1e2495;for(const _0x3fff75 of this[_0x379308(0xdb)][_0x379308(0x105)]())this[_0x379308(0x11b)](_0x3fff75);for(const _0x29c3ff of this[_0x379308(0xc6)][_0x379308(0xed)]())_0x29c3ff[_0x379308(0x139)][_0x379308(0x160)]();super[_0x379308(0x160)](),this[_0x379308(0x11a)]&&clearInterval(this[_0x379308(0x11a)]);}}function pe(_0x283f4d){const _0x9d1821=_0x1e2495;return _0x9d1821(0xee)in _0x283f4d;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x30c7(_0x37dc3a,_0x2f728a){const _0x523232=_0x5232();return _0x30c7=function(_0x30c74b,_0x488bfc){_0x30c74b=_0x30c74b-0x118;let _0x29428f=_0x523232[_0x30c74b];return _0x29428f;},_0x30c7(_0x37dc3a,_0x2f728a);}const _0x57f542=_0x30c7;(function(_0x5ef9f2,_0x16193b){const _0x236b11=_0x30c7,_0x32ed19=_0x5ef9f2();while(!![]){try{const _0x55312b=-parseInt(_0x236b11(0x137))/0x1*(-parseInt(_0x236b11(0x138))/0x2)+-parseInt(_0x236b11(0x133))/0x3*(-parseInt(_0x236b11(0x12c))/0x4)+-parseInt(_0x236b11(0x140))/0x5+-parseInt(_0x236b11(0x11c))/0x6*(-parseInt(_0x236b11(0x131))/0x7)+parseInt(_0x236b11(0x139))/0x8*(-parseInt(_0x236b11(0x13c))/0x9)+-parseInt(_0x236b11(0x126))/0xa*(parseInt(_0x236b11(0x143))/0xb)+-parseInt(_0x236b11(0x128))/0xc*(parseInt(_0x236b11(0x13a))/0xd);if(_0x55312b===_0x16193b)break;else _0x32ed19['push'](_0x32ed19['shift']());}catch(_0x597461){_0x32ed19['push'](_0x32ed19['shift']());}}}(_0x5232,0xddbf6));import{ObservableMixin as _0x1b50dd}from'ckeditor5/src/utils.js';function _0x5232(){const _0x249686=['21ErkWca','_pendingAction','2293905xVyWCT','_acceptCommand','PendingActions','model','1gxzbxD','2839766dbYWjb','698024HQNDVc','15301GjWftr','getRanges','36AknGJS','commentThreadController','locale','discardSuggestion','8401590SjrnSj','canEditAt','PENDING_ACTION_SUGGESTION','170467JzaXQK','commands','isEnabled','get','execute','_editor','1792236gbMOZF','remove','_discardCommand','view','canAccept','_removePendingAction','canDiscard','listenTo','acceptSuggestion','plugins','10OYILGk','stopListening','9096pseDHt','_setPendingAction','isDirty','bind','8lRxnaG','destroy','add','unbind','change:isDirty'];_0x5232=function(){return _0x249686;};return _0x5232();}import{getTranslation as _0x217a41}from'../utils/common-translations.js';export default class ge extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1b50dd(){constructor(_0xf90d13,_0x22cefa,_0x286972,_0x154353){const _0x2a4bc7=_0x30c7;super(),this[_0x2a4bc7(0x136)]=_0x22cefa,this[_0x2a4bc7(0x11f)]=_0x286972,this[_0x2a4bc7(0x13d)]=_0x154353,this[_0x2a4bc7(0x11b)]=_0xf90d13,this[_0x2a4bc7(0x134)]=_0xf90d13[_0x2a4bc7(0x144)][_0x2a4bc7(0x119)](_0x2a4bc7(0x124)),this[_0x2a4bc7(0x11e)]=_0xf90d13[_0x2a4bc7(0x144)][_0x2a4bc7(0x119)](_0x2a4bc7(0x13f)),this[_0x2a4bc7(0x11f)][_0x2a4bc7(0x12b)](_0x2a4bc7(0x118))['to'](this[_0x2a4bc7(0x134)],this[_0x2a4bc7(0x11e)],(_0x17ddd1,_0x4222b0)=>_0x17ddd1||_0x4222b0),this[_0x2a4bc7(0x11f)][_0x2a4bc7(0x12b)](_0x2a4bc7(0x120))['to'](this[_0x2a4bc7(0x134)],_0x2a4bc7(0x118),_0x34b1c4=>_0x34b1c4&&this[_0x2a4bc7(0x11b)][_0x2a4bc7(0x136)][_0x2a4bc7(0x141)](_0x22cefa[_0x2a4bc7(0x13b)]())),this[_0x2a4bc7(0x11f)][_0x2a4bc7(0x12b)](_0x2a4bc7(0x122))['to'](this[_0x2a4bc7(0x11e)],_0x2a4bc7(0x118),_0x41fb53=>_0x41fb53&&this[_0x2a4bc7(0x11b)][_0x2a4bc7(0x136)][_0x2a4bc7(0x141)](_0x22cefa[_0x2a4bc7(0x13b)]())),this[_0x2a4bc7(0x132)]=null,_0x286972[_0x2a4bc7(0x12a)]&&this[_0x2a4bc7(0x129)](),this[_0x2a4bc7(0x123)](_0x286972,_0x2a4bc7(0x124),()=>this[_0x2a4bc7(0x124)]()),this[_0x2a4bc7(0x123)](_0x286972,_0x2a4bc7(0x13f),()=>this[_0x2a4bc7(0x13f)]()),this[_0x2a4bc7(0x123)](_0x286972,_0x2a4bc7(0x130),()=>{const _0x3b9adf=_0x2a4bc7;_0x286972[_0x3b9adf(0x12a)]?this[_0x3b9adf(0x129)]():this[_0x3b9adf(0x121)]();});}[_0x57f542(0x124)](){const _0x2601d4=_0x57f542;this[_0x2601d4(0x134)][_0x2601d4(0x11a)](this[_0x2601d4(0x136)]['id']);}[_0x57f542(0x13f)](){const _0x6faf77=_0x57f542;this[_0x6faf77(0x11e)][_0x6faf77(0x11a)](this[_0x6faf77(0x136)]['id']);}[_0x57f542(0x12d)](){const _0x406eed=_0x57f542;this[_0x406eed(0x11f)][_0x406eed(0x12f)](_0x406eed(0x118)),this[_0x406eed(0x11f)][_0x406eed(0x12f)](_0x406eed(0x120)),this[_0x406eed(0x11f)][_0x406eed(0x12f)](_0x406eed(0x122)),this[_0x406eed(0x127)](),this[_0x406eed(0x13d)][_0x406eed(0x12d)](),this[_0x406eed(0x132)]&&this[_0x406eed(0x121)]();}[_0x57f542(0x129)](){const _0x59f0ab=_0x57f542,_0x115296=_0x217a41(this[_0x59f0ab(0x11b)][_0x59f0ab(0x13e)],_0x59f0ab(0x142));this[_0x59f0ab(0x132)]=this[_0x59f0ab(0x11b)][_0x59f0ab(0x125)][_0x59f0ab(0x119)](_0x59f0ab(0x135))[_0x59f0ab(0x12e)](_0x115296);}[_0x57f542(0x121)](){const _0x1f291e=_0x57f542;null!==this[_0x1f291e(0x132)]&&this[_0x1f291e(0x11b)][_0x1f291e(0x125)][_0x1f291e(0x119)](_0x1f291e(0x135))[_0x1f291e(0x11d)](this[_0x1f291e(0x132)]),this[_0x1f291e(0x132)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x48cd(_0x40be83,_0x468d2d){const _0x4a1b72=_0x4a1b();return _0x48cd=function(_0x48cd53,_0x342653){_0x48cd53=_0x48cd53-0x110;let _0x130d27=_0x4a1b72[_0x48cd53];return _0x130d27;},_0x48cd(_0x40be83,_0x468d2d);}const _0x51e863=_0x48cd;(function(_0x52074a,_0x1cbef1){const _0x9f27a0=_0x48cd,_0x165dda=_0x52074a();while(!![]){try{const _0xe231e9=-parseInt(_0x9f27a0(0x126))/0x1+-parseInt(_0x9f27a0(0x118))/0x2+-parseInt(_0x9f27a0(0x117))/0x3+parseInt(_0x9f27a0(0x151))/0x4+parseInt(_0x9f27a0(0x14c))/0x5+-parseInt(_0x9f27a0(0x13e))/0x6*(-parseInt(_0x9f27a0(0x113))/0x7)+-parseInt(_0x9f27a0(0x124))/0x8;if(_0xe231e9===_0x1cbef1)break;else _0x165dda['push'](_0x165dda['shift']());}catch(_0x113921){_0x165dda['push'](_0x165dda['shift']());}}}(_0x4a1b,0xbb47a));import{FocusCycler as _0x2948a9,View as _0x5544bd,ViewCollection as _0x4f2fc1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x15b9d1,KeystrokeHandler as _0x2e33b0}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x29ee97,setupThreadKeyboardNavigation as _0x465d14}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0xb04735}from'../../utils/common-translations.js';import{renderDescription as _0x30d166}from'../../utils/utils.js';export default class as extends _0x5544bd{constructor(_0x2b6653,_0x2b4967,_0x447eab,_0x5eedb5){const _0x9ca9ab=_0x48cd;super(_0x2b6653),this[_0x9ca9ab(0x152)]=null,this[_0x9ca9ab(0x150)]=null,this[_0x9ca9ab(0x140)]=new _0x29ee97(_0x2b6653,_0xb04735(_0x2b6653,_0x9ca9ab(0x12b))),this[_0x9ca9ab(0x121)](_0x9ca9ab(0x135),!0x1),this[_0x9ca9ab(0x121)](_0x9ca9ab(0x147),_0x2b4967[_0x9ca9ab(0x147)]),this[_0x9ca9ab(0x12d)](_0x9ca9ab(0x147))['to'](_0x2b4967),this[_0x9ca9ab(0x121)](_0x9ca9ab(0x14a),[]),this[_0x9ca9ab(0x121)](_0x9ca9ab(0x153),!0x1),this[_0x9ca9ab(0x121)](_0x9ca9ab(0x11c),!0x1),this[_0x9ca9ab(0x121)](_0x9ca9ab(0x136),!0x1),this[_0x9ca9ab(0x121)](_0x9ca9ab(0x143),!0x1),this[_0x9ca9ab(0x12d)](_0x9ca9ab(0x145))['to'](this,_0x9ca9ab(0x13b),_0x2b4967,_0x9ca9ab(0x147),this,_0x9ca9ab(0x14a),(_0xd1b198,_0x5c2769,_0x3a7cf7)=>{const _0x4d9979=_0x9ca9ab,_0xab7b99=_0x3a7cf7[_0x4d9979(0x13c)](_0x48dade=>_0x30d166(_0x48dade[_0x4d9979(0x132)]))[_0x4d9979(0x130)]('.\x20')+'.';return _0xb04735(this[_0x4d9979(0x13f)],_0x4d9979(0x111),[_0xd1b198-0x1,_0x2b4967[_0x4d9979(0x156)][_0x4d9979(0x112)],_0x5c2769?_0x5eedb5[_0x4d9979(0x13d)](_0x5c2769):'',new DOMParser()[_0x4d9979(0x141)](_0xab7b99,_0x4d9979(0x14d))[_0x4d9979(0x138)][_0x4d9979(0x129)]]);}),this[_0x9ca9ab(0x146)]=new _0x4f2fc1(),this[_0x9ca9ab(0x128)]=new _0x15b9d1(),this[_0x9ca9ab(0x122)]=new _0x2e33b0(),this[_0x9ca9ab(0x116)]=new _0x2948a9({'focusables':this[_0x9ca9ab(0x146)],'focusTracker':this[_0x9ca9ab(0x128)],'keystrokeHandler':this[_0x9ca9ab(0x122)],'keystrokeHandlerOptions':{'filter':_0x3522ee=>_0x3522ee[_0x9ca9ab(0x149)]!==this[_0x9ca9ab(0x133)]},'actions':{'focusPrevious':_0x9ca9ab(0x120),'focusNext':_0x9ca9ab(0x13a)}}),this[_0x9ca9ab(0x14f)]=_0x2b4967,this[_0x9ca9ab(0x154)]=_0x447eab,this[_0x9ca9ab(0x12c)]=_0x5eedb5,_0x5eedb5[_0x9ca9ab(0x110)]?this[_0x9ca9ab(0x121)](_0x9ca9ab(0x13b),0x1):this[_0x9ca9ab(0x119)]();}[_0x51e863(0x142)](){const _0x289019=_0x51e863;super[_0x289019(0x142)](),_0x465d14(this,this[_0x289019(0x146)]);}[_0x51e863(0x12f)](){const _0x47ba2c=_0x51e863;this[_0x47ba2c(0x133)][_0x47ba2c(0x12f)]();}[_0x51e863(0x11a)](){const _0x80f53c=_0x51e863;this[_0x80f53c(0x152)]&&this[_0x80f53c(0x152)][_0x80f53c(0x11a)](),this[_0x80f53c(0x150)]&&this[_0x80f53c(0x150)][_0x80f53c(0x11a)](),super[_0x80f53c(0x11a)]();}[_0x51e863(0x119)](){const _0x16dda2=_0x51e863,{CommentsListView:_0x4acae5}=this[_0x16dda2(0x12c)];this[_0x16dda2(0x152)]=new _0x4acae5(this[_0x16dda2(0x13f)],this[_0x16dda2(0x14f)][_0x16dda2(0x148)],Object[_0x16dda2(0x114)]({'CommentView':this[_0x16dda2(0x12c)][_0x16dda2(0x144)]},this[_0x16dda2(0x12c)])),this[_0x16dda2(0x152)][_0x16dda2(0x134)](_0x16dda2(0x14b))['to'](this),this[_0x16dda2(0x152)][_0x16dda2(0x134)](_0x16dda2(0x155))['to'](this),this[_0x16dda2(0x152)][_0x16dda2(0x12d)](_0x16dda2(0x135))['to'](this),this[_0x16dda2(0x121)](_0x16dda2(0x13b),this[_0x16dda2(0x152)][_0x16dda2(0x13b)]+0x1),this[_0x16dda2(0x12d)](_0x16dda2(0x13b))['to'](this[_0x16dda2(0x152)],_0x16dda2(0x13b),_0x48aa12=>_0x48aa12+0x1),this[_0x16dda2(0x150)]=this[_0x16dda2(0x12a)](),this['on'](_0x16dda2(0x14b),()=>this[_0x16dda2(0x12f)]()),this[_0x16dda2(0x12d)](_0x16dda2(0x153))['to'](this[_0x16dda2(0x152)],_0x16dda2(0x139),this[_0x16dda2(0x150)][_0x16dda2(0x11d)],_0x16dda2(0x12e),(_0x2ae402,_0x5c662b)=>_0x2ae402||!!_0x5c662b);}[_0x51e863(0x12a)](){const _0x904b51=_0x51e863,{CommentThreadInputView:_0x5e4655}=this[_0x904b51(0x12c)],_0x3f7862=new _0x5e4655(this[_0x904b51(0x13f)],this[_0x904b51(0x154)],this[_0x904b51(0x12c)][_0x904b51(0x14e)]),_0x3e8266=_0x3f7862[_0x904b51(0x11d)];return _0x3f7862[_0x904b51(0x12d)](_0x904b51(0x131))['to'](this,_0x904b51(0x135),this[_0x904b51(0x14f)][_0x904b51(0x148)],_0x904b51(0x123),_0x3e8266,_0x904b51(0x12e),(_0x225235,_0x23a340,_0x645360)=>!!_0x645360||_0x225235&&!_0x23a340),_0x3e8266['on'](_0x904b51(0x127),(_0xfe522,_0x2ef89d)=>{const _0x2825d5=_0x904b51;this[_0x2825d5(0x125)](_0x2825d5(0x11b),_0x2ef89d),_0x3e8266[_0x2825d5(0x115)][_0x2825d5(0x11f)]('');}),_0x3e8266['on'](_0x904b51(0x137),()=>this[_0x904b51(0x12f)]()),_0x3e8266[_0x904b51(0x12d)](_0x904b51(0x11e))['to'](this[_0x904b51(0x14f)][_0x904b51(0x148)],_0x904b51(0x123)),_0x3f7862;}}function _0x4a1b(){const _0x1b5823=['body','hasDirtyComment','tab','length','map','formatDateTime','4018662ftYUDL','locale','ariaDescriptionView','parseFromString','render','canDiscard','CommentView','ariaLabel','focusables','authoredAt','commentThread','target','descriptionParts','removeComment','7433790ysAAkZ','text/html','editorConfig','_model','commentThreadInputView','5901280mQUqXJ','commentsListView','isDirty','_localUser','updateComment','author','disableComments','SUGGESTION_THREAD_ARIA_LABEL','name','7CLfVHF','assign','editor','focusCycler','3275187BMwPyD','871766FbhEbW','_createCommentViews','destroy','addComment','isEnabled','commentInputView','disabledSubmit','setData','shift+tab','set','keystrokes','isReadOnly','1810024NiCtML','fire','1110892QIMPmm','submit','focusTracker','textContent','_createCommentThreadInputView','SUGGESTION_THREAD_DESCRIPTION','_config','bind','value','focus','join','showInput','content','element','delegate','isActive','canAccept','cancel'];_0x4a1b=function(){return _0x1b5823;};return _0x4a1b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x31f6a3=_0x37a8;function _0x37a8(_0x1d2940,_0x552672){const _0x3d83ff=_0x3d83();return _0x37a8=function(_0x37a815,_0x58188f){_0x37a815=_0x37a815-0x128;let _0x257237=_0x3d83ff[_0x37a815];return _0x257237;},_0x37a8(_0x1d2940,_0x552672);}(function(_0x462aae,_0x2cefe7){const _0x244d89=_0x37a8,_0x1202be=_0x462aae();while(!![]){try{const _0x1cc3e1=-parseInt(_0x244d89(0x12b))/0x1*(parseInt(_0x244d89(0x15e))/0x2)+-parseInt(_0x244d89(0x159))/0x3*(parseInt(_0x244d89(0x12a))/0x4)+parseInt(_0x244d89(0x128))/0x5*(parseInt(_0x244d89(0x152))/0x6)+parseInt(_0x244d89(0x149))/0x7*(-parseInt(_0x244d89(0x134))/0x8)+parseInt(_0x244d89(0x12f))/0x9+parseInt(_0x244d89(0x13b))/0xa+parseInt(_0x244d89(0x143))/0xb;if(_0x1cc3e1===_0x2cefe7)break;else _0x1202be['push'](_0x1202be['shift']());}catch(_0x2445a7){_0x1202be['push'](_0x1202be['shift']());}}}(_0x3d83,0x85cc4));import{default as _0x1c0b21}from'./basesuggestionthreadview.js';function _0x3d83(){const _0x3ad6dc=['listitem','commentThread','getTemplate','194320NdEEIh','suggestionView','author','ck-suggestion--disabled-comments','bind','push','discardSuggestion','1967200IqfvFT','setTemplate','canAccept','isActive','ck-suggestion-wrapper--active','descriptionParts','add','color','11862345VCaRFg','bindTemplate','SuggestionView','editorReady','set','div','77mQsEWf','_model','</p>','ck-rounded-corners','_config','description','editorDestroyed','canDiscard','acceptButton','995814DKlfih','acceptSuggestion','_descriptionElement','ck-suggestion-wrapper','ariaDescriptionView','ck-suggestion-','commentsListView','186yQyRZi','focusables','commentThreadInputView','discardButton','disableComments','2zUmCvL','formatDateTime','delegate','type','15fjVsdz','isEnabled','41652TJZUXc','423697MdKzWk','ariaLabel','render','<p>','1003563JBDWuR','content'];_0x3d83=function(){return _0x3ad6dc;};return _0x3d83();}import{trimHtml as _0x155238}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x2a8cc0}from'../../utils/utils.js';export default class de extends _0x1c0b21{constructor(_0x4842f8,_0x1a364d,_0x25dad1,_0x30117b){const _0x402f11=_0x37a8;super(_0x4842f8,_0x1a364d,_0x25dad1,_0x30117b),this[_0x402f11(0x147)](_0x402f11(0x161),''),this[_0x402f11(0x138)](_0x402f11(0x161))['to'](this,_0x402f11(0x140),_0x124079=>_0x124079&&_0x124079[0x0]?_0x124079[0x0][_0x402f11(0x161)]:''),this[_0x402f11(0x138)](_0x402f11(0x14e))['to'](this,_0x402f11(0x140),this,_0x402f11(0x13e),(_0x399248,_0x2122e7)=>{const _0x49c9ac=_0x402f11;let _0x40b729='';for(const _0x526b27 of _0x399248)_0x40b729+=_0x49c9ac(0x12e)+_0x2a8cc0(_0x526b27[_0x49c9ac(0x130)],_0x526b27[_0x49c9ac(0x142)])+_0x49c9ac(0x14b);return _0x2122e7?_0x40b729:_0x155238(_0x40b729,{'limit':0x8c});}),this[_0x402f11(0x154)]=null,this[_0x402f11(0x135)]=new _0x30117b[(_0x402f11(0x145))](_0x4842f8,_0x1a364d,{'formatDateTime':_0x30117b[_0x402f11(0x15f)]}),this[_0x402f11(0x135)][_0x402f11(0x138)](_0x402f11(0x14e))['to'](this),this[_0x402f11(0x135)][_0x402f11(0x160)](_0x402f11(0x153),_0x402f11(0x13a))['to'](this),this[_0x402f11(0x135)][_0x402f11(0x151)][_0x402f11(0x138)](_0x402f11(0x129))['to'](this,_0x402f11(0x13d)),this[_0x402f11(0x135)][_0x402f11(0x15c)][_0x402f11(0x138)](_0x402f11(0x129))['to'](this,_0x402f11(0x150)),this[_0x402f11(0x15a)][_0x402f11(0x141)](this[_0x402f11(0x135)]),this[_0x402f11(0x158)]&&this[_0x402f11(0x15a)][_0x402f11(0x141)](this[_0x402f11(0x158)]),this[_0x402f11(0x15b)]&&this[_0x402f11(0x15a)][_0x402f11(0x141)](this[_0x402f11(0x15b)]),this[_0x402f11(0x13c)](this[_0x402f11(0x133)]());}[_0x31f6a3(0x133)](){const _0x1648d2=_0x31f6a3,_0x5bd620=this[_0x1648d2(0x144)],_0x1bac5f=[this[_0x1648d2(0x135)]];return this[_0x1648d2(0x158)]&&_0x1bac5f[_0x1648d2(0x139)](this[_0x1648d2(0x158)]),this[_0x1648d2(0x15b)]&&_0x1bac5f[_0x1648d2(0x139)](this[_0x1648d2(0x15b)]),_0x1bac5f[_0x1648d2(0x139)](this[_0x1648d2(0x156)]),{'tag':_0x1648d2(0x148),'attributes':{'class':['ck',_0x1648d2(0x14c),_0x1648d2(0x155),_0x5bd620['if'](_0x1648d2(0x13e),_0x1648d2(0x13f)),_0x5bd620['to'](_0x1648d2(0x161),_0x29ec75=>_0x1648d2(0x157)+_0x29ec75),this[_0x1648d2(0x14d)][_0x1648d2(0x15d)]&&_0x1648d2(0x137)],'data-suggestion-id':this[_0x1648d2(0x14a)]['id'],'data-thread-id':this[_0x1648d2(0x14a)][_0x1648d2(0x132)]['id'],'data-author-id':this[_0x1648d2(0x14a)][_0x1648d2(0x136)]['id'],'tabindex':0x0,'role':_0x1648d2(0x131),'aria-label':_0x5bd620['to'](_0x1648d2(0x12c)),'aria-describedby':this[_0x1648d2(0x156)]['id']},'children':_0x1bac5f};}[_0x31f6a3(0x12d)](){const _0x2f4f07=_0x31f6a3;super[_0x2f4f07(0x12d)](),this[_0x2f4f07(0x158)]&&(this[_0x2f4f07(0x158)][_0x2f4f07(0x160)](_0x2f4f07(0x146))['to'](this),this[_0x2f4f07(0x158)][_0x2f4f07(0x160)](_0x2f4f07(0x14f))['to'](this)),this[_0x2f4f07(0x15b)]&&(this[_0x2f4f07(0x15b)][_0x2f4f07(0x160)](_0x2f4f07(0x146))['to'](this),this[_0x2f4f07(0x15b)][_0x2f4f07(0x160)](_0x2f4f07(0x14f))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34adba=_0x55ea;function _0x44bc(){const _0x1f2d29=['_config','focusTracker','EXTERNAL_AVATAR','focusables','6512248szChNi','formatDateTime','ck-annotation__content-wrapper','source','957SKXkTN','description','add','cancel','listenTo','getExternalSuggestionNote','ck-comment__external','6ZtCiFl','@external','innerHTML','ck-suggestion--discard','change:description','9464FCqwly','378374WSMnOH','tab','creator','ck-annotation__info-name','ck-suggestion--accept','Discard\x20suggestion','execute','esc','Accept\x20suggestion','setTemplate','ck-comment__info-time','userView','3746784QmAQlk','focusCycler','ck-annotation','span','shift+tab','push','ck-annotation__user','enter','querySelector','bindTemplate','ck-suggestion__info-name','extendTemplate','set','isExternal','9BARTii','_model','ck-annotation__info-time','name','focus','focusFirst','author','discardButton','_createButton','7878332JtnBSb','_setupKeyboardNavigation','ck-suggestion__actions','ck-annotation__main','5KfjdTY','ck-suggestion__info','element','EXTERNAL_SUGGESTION','discardSuggestion','5930365XsYRjY','time','render','target','keystrokes','.ck-annotation__content-wrapper','check','getTemplate','importWord','acceptSuggestion','ck-suggestion','attributes','ck-annotation__info','fire','4493380zjYdPE','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__user','bind','authoredAt','ck-annotation__actions','locale','EXTERNAL_IMPORT_WORD_SUGGESTION','presentation','ck-suggestion__main','getUserViewNotificationText','acceptButton','div'];_0x44bc=function(){return _0x1f2d29;};return _0x44bc();}(function(_0x54cb0d,_0x79e18f){const _0x1bc89e=_0x55ea,_0x106963=_0x54cb0d();while(!![]){try{const _0x14947c=parseInt(_0x1bc89e(0x139))/0x1*(-parseInt(_0x1bc89e(0x13f))/0x2)+parseInt(_0x1bc89e(0x132))/0x3*(parseInt(_0x1bc89e(0x13e))/0x4)+parseInt(_0x1bc89e(0x166))/0x5*(parseInt(_0x1bc89e(0x14b))/0x6)+parseInt(_0x1bc89e(0x16b))/0x7+parseInt(_0x1bc89e(0x18a))/0x8+parseInt(_0x1bc89e(0x159))/0x9*(-parseInt(_0x1bc89e(0x179))/0xa)+-parseInt(_0x1bc89e(0x162))/0xb;if(_0x14947c===_0x79e18f)break;else _0x106963['push'](_0x106963['shift']());}catch(_0x4a812b){_0x106963['push'](_0x106963['shift']());}}}(_0x44bc,0xb49bc));import{FocusTracker as _0xba344b,KeystrokeHandler as _0x24b75a}from'ckeditor5/src/utils.js';import{View as _0x15867d,ViewCollection as _0x45860b,FocusCycler as _0xff56b6}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x187cec,UserView as _0xe72c62}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x4bf617}from'ckeditor5/src/core.js';import{getTranslation as _0x4bd441}from'../../utils/common-translations.js';function _0x55ea(_0x19945a,_0x4d3935){const _0x44bc1a=_0x44bc();return _0x55ea=function(_0x55eab8,_0x58d152){_0x55eab8=_0x55eab8-0x132;let _0x7491ec=_0x44bc1a[_0x55eab8];return _0x7491ec;},_0x55ea(_0x19945a,_0x4d3935);}export default class ue extends _0x15867d{constructor(_0x5cd4ea,_0x3ef078,_0xf0482a){const _0x9823b0=_0x55ea;super(_0x5cd4ea),this[_0x9823b0(0x15a)]=_0x3ef078,this[_0x9823b0(0x186)]=_0xf0482a,this[_0x9823b0(0x157)](_0x9823b0(0x133),''),this[_0x9823b0(0x17c)](_0x9823b0(0x17d))['to'](_0x3ef078),this[_0x9823b0(0x184)]=this[_0x9823b0(0x161)](_0x4bd441(_0x5cd4ea,_0x9823b0(0x147)),_0x4bf617[_0x9823b0(0x171)],_0x9823b0(0x143),_0x9823b0(0x174),'sw'),this[_0x9823b0(0x160)]=this[_0x9823b0(0x161)](_0x4bd441(_0x5cd4ea,_0x9823b0(0x144)),_0x4bf617[_0x9823b0(0x135)],_0x9823b0(0x13c),_0x9823b0(0x16a),'sw'),this[_0x9823b0(0x14a)]=new _0xe72c62(_0x5cd4ea,_0x3ef078[_0x9823b0(0x15f)],this[_0x9823b0(0x183)]()),this[_0x9823b0(0x14a)][_0x9823b0(0x156)]({'attributes':{'class':[_0x9823b0(0x17b),_0x9823b0(0x151)],'aria-hidden':!0x0}}),this[_0x9823b0(0x189)]=new _0x45860b([this[_0x9823b0(0x184)],this[_0x9823b0(0x160)]]),this[_0x9823b0(0x187)]=new _0xba344b(),this[_0x9823b0(0x16f)]=new _0x24b75a(),this[_0x9823b0(0x14c)]=new _0xff56b6({'focusables':this[_0x9823b0(0x189)],'focusTracker':this[_0x9823b0(0x187)],'keystrokeHandler':this[_0x9823b0(0x16f)],'actions':{'focusPrevious':_0x9823b0(0x14f),'focusNext':_0x9823b0(0x140)},'keystrokeHandlerOptions':{'filter':_0x4bbb5e=>_0x4bbb5e[_0x9823b0(0x16e)]!==this[_0x9823b0(0x168)]}}),this[_0x9823b0(0x148)](this[_0x9823b0(0x172)]());}[_0x34adba(0x16d)](){const _0x52c3e0=_0x34adba;super[_0x52c3e0(0x16d)]();const _0x1071c2=this[_0x52c3e0(0x168)][_0x52c3e0(0x153)](_0x52c3e0(0x170));_0x1071c2[_0x52c3e0(0x13b)]=this[_0x52c3e0(0x133)],this['on'](_0x52c3e0(0x13d),(_0x2549a6,_0x5b22da,_0x455e5b)=>{const _0x3444bb=_0x52c3e0;_0x1071c2[_0x3444bb(0x13b)]=_0x455e5b;}),this[_0x52c3e0(0x163)]();}[_0x34adba(0x172)](){const _0x3ce2e5=_0x34adba,_0x1d5370=this[_0x3ce2e5(0x154)],_0x12441e=[{'tag':_0x3ce2e5(0x185),'attributes':{'class':[_0x3ce2e5(0x167),_0x3ce2e5(0x177)]},'children':[{'tag':_0x3ce2e5(0x14e),'children':[{'text':this[_0x3ce2e5(0x14a)][_0x3ce2e5(0x15c)]}],'attributes':{'class':[_0x3ce2e5(0x155),_0x3ce2e5(0x142)]}},{'tag':_0x3ce2e5(0x16c),'attributes':{'datetime':_0x1d5370['to'](_0x3ce2e5(0x17d)),'class':[_0x3ce2e5(0x149),_0x3ce2e5(0x15b)]},'children':[{'text':_0x1d5370['to'](_0x3ce2e5(0x17d),_0x185293=>this[_0x3ce2e5(0x186)][_0x3ce2e5(0x18b)](_0x185293))}]}]},{'tag':_0x3ce2e5(0x185),'attributes':{'class':[_0x3ce2e5(0x164),_0x3ce2e5(0x17e)]},'children':[this[_0x3ce2e5(0x184)],this[_0x3ce2e5(0x160)]]},{'tag':_0x3ce2e5(0x185),'attributes':{'class':[_0x3ce2e5(0x18c)]}}];return this[_0x3ce2e5(0x15a)][_0x3ce2e5(0x158)]&&_0x12441e[_0x3ce2e5(0x150)]({'tag':_0x3ce2e5(0x185),'attributes':{'class':[_0x3ce2e5(0x138)]},'children':[{'text':this[_0x3ce2e5(0x137)]()}]}),{'tag':_0x3ce2e5(0x185),'attributes':{'class':[_0x3ce2e5(0x175),_0x3ce2e5(0x14d)],'tabindex':-0x1},'children':[this[_0x3ce2e5(0x14a)],{'tag':_0x3ce2e5(0x185),'attributes':{'class':[_0x3ce2e5(0x182),_0x3ce2e5(0x165)],'role':_0x3ce2e5(0x181)},'children':_0x12441e}]};}[_0x34adba(0x15d)](){const _0x5421c5=_0x34adba;this[_0x5421c5(0x168)][_0x5421c5(0x15d)]();}[_0x34adba(0x183)](){const _0x49abe4=_0x34adba;return this[_0x49abe4(0x15a)][_0x49abe4(0x158)]?_0x49abe4(0x173)===this[_0x49abe4(0x15a)][_0x49abe4(0x176)][_0x49abe4(0x13a)][_0x49abe4(0x18d)]?_0x4bd441(this[_0x49abe4(0x17f)],_0x49abe4(0x17a),this[_0x49abe4(0x15a)][_0x49abe4(0x141)][_0x49abe4(0x15c)]):_0x4bd441(this[_0x49abe4(0x17f)],_0x49abe4(0x188),this[_0x49abe4(0x15a)][_0x49abe4(0x141)][_0x49abe4(0x15c)]):null;}[_0x34adba(0x137)](){const _0x1dbeba=_0x34adba;return _0x1dbeba(0x173)===this[_0x1dbeba(0x15a)][_0x1dbeba(0x176)][_0x1dbeba(0x13a)][_0x1dbeba(0x18d)]?_0x4bd441(this[_0x1dbeba(0x17f)],_0x1dbeba(0x180)):_0x4bd441(this[_0x1dbeba(0x17f)],_0x1dbeba(0x169));}[_0x34adba(0x161)](_0x113bd5,_0x5bb31a,_0x315ad3,_0xc2ab0d,_0x3373cc){const _0x3a518b=_0x34adba,_0x25723b=new _0x187cec(this[_0x3a518b(0x17f)]);return _0x25723b[_0x3a518b(0x157)]({'label':_0x113bd5,'icon':_0x5bb31a,'tooltip':!0x0,'tooltipPosition':_0x3373cc}),_0x25723b[_0x3a518b(0x156)]({'attributes':{'class':_0x315ad3}}),_0x25723b['on'](_0x3a518b(0x145),()=>{const _0x53e2bd=_0x3a518b;this[_0x53e2bd(0x178)](_0xc2ab0d,this[_0x53e2bd(0x15a)]['id']);}),_0x25723b;}[_0x34adba(0x163)](){const _0x4d2b35=_0x34adba,_0x318bc0=this[_0x4d2b35(0x168)];this[_0x4d2b35(0x16f)][_0x4d2b35(0x136)](_0x318bc0);for(const _0x4daf18 of this[_0x4d2b35(0x189)])this[_0x4d2b35(0x187)][_0x4d2b35(0x134)](_0x4daf18[_0x4d2b35(0x168)]),this[_0x4d2b35(0x16f)][_0x4d2b35(0x136)](_0x4daf18[_0x4d2b35(0x168)]);this[_0x4d2b35(0x16f)][_0x4d2b35(0x157)](_0x4d2b35(0x152),(_0x59b68d,_0x13744e)=>{const _0x23e934=_0x4d2b35;_0x318bc0===_0x59b68d[_0x23e934(0x16e)]&&(this[_0x23e934(0x14c)][_0x23e934(0x15e)](),_0x13744e());}),this[_0x4d2b35(0x16f)][_0x4d2b35(0x157)](_0x4d2b35(0x146),(_0x13fa04,_0x367d64)=>{const _0x4ea992=_0x4d2b35;_0x318bc0!==_0x13fa04[_0x4ea992(0x16e)]&&(this[_0x4ea992(0x15d)](),_0x367d64());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xf463f0,_0x2751d2,_0x3165bf){const _0x33ed59=_0xf463f0['t'],t=_0xf463f0['t'];switch(_0x2751d2){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',_0x3165bf);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3165bf);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3165bf);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3165bf);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3165bf);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',_0x3165bf);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3165bf);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',_0x3165bf);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3165bf);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3165bf);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3165bf);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3165bf);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3165bf);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3165bf);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3165bf);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3165bf);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3165bf);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3165bf);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3165bf);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3165bf);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3165bf);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3165bf);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3165bf);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3165bf);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'},_0x3165bf);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3165bf);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3165bf);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3165bf);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3165bf);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3165bf);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'},_0x3165bf);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3165bf);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3165bf);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3165bf);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3165bf);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'},_0x3165bf);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3165bf);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'},_0x3165bf);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'},_0x3165bf);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3165bf);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'},_0x3165bf);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3165bf);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'},_0x3165bf);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3165bf);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3165bf);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x3165bf);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3165bf);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 _0x33ed59({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3165bf);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x33ed59({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3165bf);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3165bf);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x3165bf);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x3165bf);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x3165bf);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2751d2;}}
|
|
23
|
+
export function getTranslation(_0x219341,_0x105f93,_0xa55657){const _0x9c5a1a=_0x219341['t'],t=_0x219341['t'];switch(_0x105f93){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',_0xa55657);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xa55657);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xa55657);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xa55657);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xa55657);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',_0xa55657);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xa55657);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',_0xa55657);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xa55657);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xa55657);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xa55657);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xa55657);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xa55657);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xa55657);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xa55657);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xa55657);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xa55657);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xa55657);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xa55657);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xa55657);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xa55657);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xa55657);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xa55657);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xa55657);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'},_0xa55657);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xa55657);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xa55657);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xa55657);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xa55657);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xa55657);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'},_0xa55657);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xa55657);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xa55657);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xa55657);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xa55657);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'},_0xa55657);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xa55657);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'},_0xa55657);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'},_0xa55657);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xa55657);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'},_0xa55657);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xa55657);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'},_0xa55657);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xa55657);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xa55657);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0xa55657);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xa55657);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 _0x9c5a1a({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xa55657);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x9c5a1a({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xa55657);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xa55657);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0xa55657);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0xa55657);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0xa55657);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x105f93;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2661(){const _0x4383e2=['execute','createPositionAt','type','innerText','createPositionBefore','map','3494583QGlUfF','isInContent','splice','4UstuLJ','replace','innerHTML','split','920391nCOtHU','next','isArray','title','isTouching','113500eutcle','from','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','value','253uGtKAN','push','<span\x20class=\x22ck-suggestion-type\x22>','length','266376CGbrDC','sort','</span>','1083160gQSbTU','color','getRanges','178ZNxBgc','createRange','start','add','isObject','content','isCollapsed','\x22\x20title=\x22','createElement','change','isMultiRange','join','schema','714275enqrGm','isIntersecting','end','createPositionAfter','7PAlWtf','\x20[color\x20','deletion','\x22></span>','span','463eduKTT'];_0x2661=function(){return _0x4383e2;};return _0x2661();}(function(_0x535208,_0x239533){const _0x5ed50f=_0x439b,_0x275691=_0x535208();while(!![]){try{const _0x1f1c29=-parseInt(_0x5ed50f(0x189))/0x1*(parseInt(_0x5ed50f(0x173))/0x2)+-parseInt(_0x5ed50f(0x197))/0x3+parseInt(_0x5ed50f(0x193))/0x4*(-parseInt(_0x5ed50f(0x180))/0x5)+-parseInt(_0x5ed50f(0x16d))/0x6+parseInt(_0x5ed50f(0x184))/0x7*(parseInt(_0x5ed50f(0x170))/0x8)+parseInt(_0x5ed50f(0x190))/0x9+parseInt(_0x5ed50f(0x165))/0xa*(parseInt(_0x5ed50f(0x169))/0xb);if(_0x1f1c29===_0x239533)break;else _0x275691['push'](_0x275691['shift']());}catch(_0x53b89a){_0x275691['push'](_0x275691['shift']());}}}(_0x2661,0x3ce85));export function normalizeDescription(_0x44e8a1){const _0x1b3b1b=_0x439b;return Array[_0x1b3b1b(0x199)](_0x44e8a1)||(_0x44e8a1=[_0x44e8a1]),_0x44e8a1[_0x1b3b1b(0x18f)](_0x1ec86f=>{const _0x3dca89=_0x1b3b1b,_0x3bef25=_0x1ec86f[_0x3dca89(0x178)][_0x3dca89(0x194)](/\*/g,''),_0x1a97e8=_0x1ec86f[_0x3dca89(0x171)]?_0x3dca89(0x185)+_0x1ec86f[_0x3dca89(0x171)][_0x3dca89(0x168)]+']':'';return'['+_0x1ec86f[_0x3dca89(0x18c)]+']\x20'+_0x3bef25+_0x1a97e8;})[_0x1b3b1b(0x17e)](';\x20');}export function renderDescription(_0x3d039f,_0xd2900b){const _0x3c00fe=_0x439b;let _0x693ac2='';return _0x693ac2+=_0x3d039f[_0x3c00fe(0x196)]('*')[_0x3c00fe(0x18f)]((_0x4a3108,_0x51040c)=>_0x51040c%0x2!=0x0?_0x3c00fe(0x16b)+nn(_0x4a3108)+_0x3c00fe(0x16f):nn(_0x4a3108))[_0x3c00fe(0x17e)](''),_0xd2900b&&(_0x693ac2+=_0x3c00fe(0x167)+_0xd2900b[_0x3c00fe(0x168)]+_0x3c00fe(0x17a)+_0xd2900b[_0x3c00fe(0x163)]+_0x3c00fe(0x187)),_0x693ac2;}function nn(_0x288c0c){const _0x4bf01d=_0x439b,_0x42d244=document[_0x4bf01d(0x17b)](_0x4bf01d(0x188));return _0x42d244[_0x4bf01d(0x18d)]=_0x288c0c,_0x42d244[_0x4bf01d(0x195)];}export function sortSuggestions(_0xc2763c){const _0x382eec=_0x439b;return _0xc2763c[_0x382eec(0x16e)]((_0xf5371f,_0x47245a)=>_0x382eec(0x186)==_0xf5371f[_0x382eec(0x18c)]&&_0x382eec(0x186)!=_0x47245a[_0x382eec(0x18c)]?-0x1:_0x382eec(0x186)!=_0xf5371f[_0x382eec(0x18c)]&&_0x382eec(0x186)==_0x47245a[_0x382eec(0x18c)]?0x1:0x0);}function _0x439b(_0x3ea217,_0x52329c){const _0x266145=_0x2661();return _0x439b=function(_0x439bc0,_0x2ba493){_0x439bc0=_0x439bc0-0x163;let _0x157de2=_0x266145[_0x439bc0];return _0x157de2;},_0x439b(_0x3ea217,_0x52329c);}export function getSelectedSuggestions(_0x2c47f1,_0x571f5f){const _0x33bf16=_0x439b,_0x19cfb3=Array[_0x33bf16(0x166)](_0x2c47f1[_0x33bf16(0x172)]()),_0x4f8219=new Set();for(const _0x15195b of _0x571f5f)if(_0x15195b[_0x33bf16(0x191)]){for(const _0x45fb05 of _0x19cfb3)for(const _0x2c24a8 of _0x15195b[_0x33bf16(0x172)]())(_0x45fb05[_0x33bf16(0x181)](_0x2c24a8)||_0x2c47f1[_0x33bf16(0x179)]&&!_0x15195b[_0x33bf16(0x17d)]&&_0x15195b[_0x33bf16(0x198)]&&_0x2c24a8[_0x33bf16(0x182)][_0x33bf16(0x164)](_0x45fb05[_0x33bf16(0x175)]))&&_0x4f8219[_0x33bf16(0x176)](_0x15195b);}return _0x4f8219;}export function getRangesOfBlockGroups(_0x5a9f38,_0x2d34f3){const _0xab3e76=_0x439b;let _0x156bae,_0x1e9816=0x0;const _0x1a679a=[],_0x482391=_0x2d34f3[_0xab3e76(0x17f)];for(;_0x1e9816<_0x5a9f38[_0xab3e76(0x16c)];){const _0x2e6a82=_0x5a9f38[_0x1e9816],_0x3dd077=_0x5a9f38[_0x1e9816+0x1];_0x156bae||(_0x156bae=_0x2d34f3[_0xab3e76(0x18e)](_0x2e6a82)),on(_0x2d34f3,_0x2e6a82,_0x3dd077)||(_0x1a679a[_0xab3e76(0x16a)](_0x2d34f3[_0xab3e76(0x174)](_0x156bae,_0x482391[_0xab3e76(0x177)](_0x2e6a82)?_0x2d34f3[_0xab3e76(0x183)](_0x2e6a82):_0x2d34f3[_0xab3e76(0x18b)](_0x2e6a82,_0xab3e76(0x182)))),_0x156bae=null),_0x1e9816++;}return _0x1a679a;}function on(_0x2bc586,_0x2efa05,_0x21e090){const _0x170d6b=_0x439b;if(!_0x21e090)return!0x1;const _0x307c51=_0x2bc586[_0x170d6b(0x183)](_0x2efa05),_0x186f1b=_0x2bc586[_0x170d6b(0x18e)](_0x21e090);return _0x307c51[_0x170d6b(0x164)](_0x186f1b);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x487b6e,_0x5b8e11,_0x55576f){const _0x1efa5c=_0x439b;for(;_0x55576f[_0x1efa5c(0x16c)];){const _0x1c5a7a=_0x55576f[_0x1efa5c(0x192)](0x0,0x64);_0x487b6e[_0x1efa5c(0x17c)](()=>{const _0x20fa0f=_0x1efa5c;for(const _0x509166 of _0x1c5a7a)_0x509166[_0x20fa0f(0x191)]&&_0x5b8e11[_0x20fa0f(0x18a)](_0x509166['id']);});}}
|