@ckeditor/ckeditor5-track-changes 47.2.0-alpha.6 → 47.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- 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/be.js +1 -1
- package/dist/translations/be.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 +27 -27
- 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/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.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/emoji.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/footnotes.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/lineheight.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/replacesourcecommand.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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/uploadcare.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/trackchangespreview.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/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x455f4d=_0xf63e;(function(_0x5a5a66,_0x20bdc1){const _0x438c1=_0xf63e,_0x3dcb1b=_0x5a5a66();while(!![]){try{const _0x576360=parseInt(_0x438c1(0x99))/0x1+parseInt(_0x438c1(0x9c))/0x2+-parseInt(_0x438c1(0x9b))/0x3*(parseInt(_0x438c1(0xa2))/0x4)+-parseInt(_0x438c1(0x93))/0x5+parseInt(_0x438c1(0x98))/0x6+parseInt(_0x438c1(0x97))/0x7+-parseInt(_0x438c1(0xa3))/0x8;if(_0x576360===_0x20bdc1)break;else _0x3dcb1b['push'](_0x3dcb1b['shift']());}catch(_0x254bbf){_0x3dcb1b['push'](_0x3dcb1b['shift']());}}}(_0x4385,0xd7fc3));import{Plugin as _0x24c6c3}from'ckeditor5/src/core.js';import{Dialog as _0xc647f9}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x1ec20c}from'./trackchangesdata.js';function _0x4385(){const _0x47b7ce=['17406024anyxkF','isPremiumPlugin','commands','TrackChangesPreview','trackChanges.preview.renderFunction','4418370QZDmqd','define','previewFinalContent','isOfficialPlugin','2813608YhDWnf','8195538JgDkrc','1654315Hvyhwd','appendChild','3FHowPF','2228410vbJWpQ','pluginName','config','editor','requires','add','2369140lBIewF'];_0x4385=function(){return _0x47b7ce;};return _0x4385();}import{PreviewFinalContentCommand as _0x3f7cc6}from'./commands/previewfinalcontentcommand.js';function _0xf63e(_0xf32fa2,_0x3e79ee){const _0x4385ae=_0x4385();return _0xf63e=function(_0xf63e61,_0x3ebb41){_0xf63e61=_0xf63e61-0x90;let _0x3eb975=_0x4385ae[_0xf63e61];return _0x3eb975;},_0xf63e(_0xf32fa2,_0x3e79ee);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x24c6c3{static get[_0x455f4d(0xa0)](){return[_0x1ec20c,_0xc647f9];}static get[_0x455f4d(0x9d)](){const _0x132de9=_0x455f4d;return _0x132de9(0x91);}static get[_0x455f4d(0x96)](){return!0x0;}static get[_0x455f4d(0xa4)](){return!0x0;}constructor(_0xecd14a){const _0x115161=_0x455f4d;super(_0xecd14a),_0xecd14a[_0x115161(0x90)][_0x115161(0xa1)](_0x115161(0x95),new _0x3f7cc6(this[_0x115161(0x9f)])),_0xecd14a[_0x115161(0x9e)][_0x115161(0x94)](_0x115161(0x92),(_0x1f4732,_0x218690)=>{const _0x280e4f=_0x115161;for(const _0x45e6fb of _0x218690)_0x1f4732[_0x280e4f(0x9a)](_0x45e6fb);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x36b6e9=_0x38e5;(function(_0x1dfdc1,_0x1b51da){const _0x598198=_0x38e5,_0x418a02=_0x1dfdc1();while(!![]){try{const _0x5c5919=-parseInt(_0x598198(0x7a))/0x1*(-parseInt(_0x598198(0x113))/0x2)+-parseInt(_0x598198(0xad))/0x3*(parseInt(_0x598198(0x111))/0x4)+parseInt(_0x598198(0x105))/0x5*(parseInt(_0x598198(0xcb))/0x6)+-parseInt(_0x598198(0xc9))/0x7+-parseInt(_0x598198(0xd1))/0x8+parseInt(_0x598198(0xc1))/0x9+parseInt(_0x598198(0xea))/0xa;if(_0x5c5919===_0x1b51da)break;else _0x418a02['push'](_0x418a02['shift']());}catch(_0x269622){_0x418a02['push'](_0x418a02['shift']());}}}(_0x59f1,0x9c6f2));import{Plugin as _0x53e1af}from'ckeditor5/src/core.js';import{Collection as _0x1ce6aa}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x596af8}from'ckeditor5/src/icons.js';function _0x38e5(_0x30a90f,_0x5380f2){const _0x59f1dd=_0x59f1();return _0x38e5=function(_0x38e562,_0x461292){_0x38e562=_0x38e562-0x6f;let _0x16003e=_0x59f1dd[_0x38e562];return _0x16003e;},_0x38e5(_0x30a90f,_0x5380f2);}import{addListToDropdown as _0x1d3a9e,createDropdown as _0x5479cd,ListSeparatorView as _0x399663,MenuBarMenuView as _0x8c76a6,MenuBarMenuListView as _0x512eb8,MenuBarMenuListItemView as _0x256eeb,MenuBarMenuListItemButtonView as _0x5480cc,SplitButtonView as _0x3cf7c8,UIModel as _0x342d1b}from'ckeditor5/src/ui.js';import{Users as _0x477f75,getDateTimeFormatter as _0x115e6e,getAllMarkersDomElementsSorted as _0x45cdd0}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x58fd76}from'./trackchangesediting.js';import{SuggestionController as _0x9709e9}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x5b34bc}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x2b9ab0}from'./ui/view/suggestionview.js';import{getTranslation as _0x4847a0}from'./utils/common-translations.js';export class TrackChangesUI extends _0x53e1af{[_0x36b6e9(0xb2)];[_0x36b6e9(0x118)];[_0x36b6e9(0x116)];[_0x36b6e9(0xde)];[_0x36b6e9(0xa5)];[_0x36b6e9(0xe8)];[_0x36b6e9(0xc4)];static get[_0x36b6e9(0x8d)](){const _0x53e3c3=_0x36b6e9;return[_0x58fd76,_0x477f75,_0x53e3c3(0x109),_0x53e3c3(0x74),_0x53e3c3(0x94)];}static get[_0x36b6e9(0xd4)](){const _0x164c42=_0x36b6e9;return _0x164c42(0xa1);}static get[_0x36b6e9(0xa9)](){return!0x0;}static get[_0x36b6e9(0x86)](){return!0x0;}constructor(_0x46771c){const _0x461d93=_0x36b6e9;super(_0x46771c),this[_0x461d93(0x116)]=new Map(),this[_0x461d93(0xde)]=new Map(),this[_0x461d93(0xa5)]=new Map(),this[_0x461d93(0xe8)]=new Map();const _0x5703c6=this[_0x461d93(0x79)][_0x461d93(0x89)];_0x5703c6[_0x461d93(0xb9)](_0x461d93(0xf1),_0x5b34bc),_0x5703c6[_0x461d93(0xb9)](_0x461d93(0xfc),_0x2b9ab0),_0x5703c6[_0x461d93(0xb9)](_0x461d93(0x107),!0x1),this[_0x461d93(0xc4)]=_0x5703c6[_0x461d93(0xd7)](_0x461d93(0x107));}[_0x36b6e9(0x9c)](_0x3ca43d,_0x3ea305){const _0x45e7fd=_0x36b6e9;0x0===this[_0x45e7fd(0xe8)][_0x45e7fd(0x92)]&&setTimeout(()=>{const _0xcc6354=_0x45e7fd;for(const [_0x4023dd,_0x56c546]of this[_0xcc6354(0xe8)]){const _0x69879b=this[_0xcc6354(0x116)][_0xcc6354(0xbb)](_0x4023dd);_0x69879b||_0x56c546?_0x69879b&&_0x56c546&&this[_0xcc6354(0x88)](_0x4023dd):this[_0xcc6354(0x87)](_0x4023dd);}this[_0xcc6354(0xe8)][_0xcc6354(0x112)](),this[_0xcc6354(0x79)][_0xcc6354(0x77)][_0xcc6354(0xd7)](_0xcc6354(0x94))[_0xcc6354(0xcc)](),this[_0xcc6354(0x82)]();},0xa),this[_0x45e7fd(0xe8)][_0x45e7fd(0xeb)](_0x3ca43d,_0x3ea305);}[_0x36b6e9(0xfe)](){const _0x4e047d=_0x36b6e9,_0x4640ce=this[_0x4e047d(0x79)],_0x152f24=_0x4640ce[_0x4e047d(0x77)][_0x4e047d(0xd7)](_0x4e047d(0xc0)),_0x58373b=_0x4640ce[_0x4e047d(0x77)][_0x4e047d(0xd7)](_0x4e047d(0x74)),_0x5eafbc=_0x4640ce[_0x4e047d(0x77)][_0x4e047d(0xd7)](_0x4e047d(0x94)),_0x4a3744=_0x4640ce[_0x4e047d(0x77)][_0x4e047d(0xd7)](_0x4e047d(0x109));this[_0x4e047d(0x8c)](),_0x5eafbc[_0x4e047d(0x115)](()=>{const _0x2f527b=_0x4e047d,_0x5ade1e=[];for(const [_0x558b3b,_0x2ea592]of Array[_0x2f527b(0x11a)](this[_0x2f527b(0x116)])){const _0x2524b4=_0x558b3b[_0x2f527b(0x101)](),_0x562375=[];for(const _0x1861f6 of _0x2524b4){if(!_0x1861f6[_0x2f527b(0xe0)])continue;if(_0x1861f6[_0x2f527b(0x98)]){_0x562375[_0x2f527b(0xca)](..._0x1861f6[_0x2f527b(0xc2)]());continue;}const _0x37623b=_0x1861f6[_0x2f527b(0xf3)]();if(_0x562375[_0x2f527b(0xbd)]>0x0){const _0x2b8e3b=_0x562375[0x0][_0x2f527b(0xe1)](_0x37623b);if(_0x2b8e3b){_0x562375[0x0]=_0x2b8e3b;continue;}}_0x562375[_0x2f527b(0xca)](_0x37623b);}_0x5ade1e[_0x2f527b(0xca)]([_0x2ea592[_0x2f527b(0xd3)],_0x562375]);}return _0x5ade1e;}),this[_0x4e047d(0xec)](_0x152f24,_0x4e047d(0x10b),(_0x4f4194,_0x129448)=>{const _0x14577f=_0x4e047d;this[_0x14577f(0xec)](_0x129448,_0x14577f(0xe4),(_0x591dc9,_0x702e41,_0x52dc11,_0x1e626d)=>{const _0x30a5c5=_0x14577f;_0x129448[_0x30a5c5(0xe0)]&&(null==_0x52dc11?(this[_0x30a5c5(0xa8)](_0x1e626d[_0x30a5c5(0xa4)]),this[_0x30a5c5(0x9c)](_0x129448,!0x1)):(this[_0x30a5c5(0xa8)](_0x52dc11[_0x30a5c5(0xa4)]),null==_0x1e626d&&this[_0x30a5c5(0x9c)](_0x129448,!0x0)));}),null!==_0x129448[_0x14577f(0xbe)]?this[_0x14577f(0xa8)](_0x129448[_0x14577f(0xa4)]):this[_0x14577f(0x9c)](_0x129448,!0x1);}),this[_0x4e047d(0xec)](_0x152f24,_0x4e047d(0x7c),(_0x1180e8,_0x331f0c,_0x4e94aa)=>{const _0x15d129=_0x4e047d;this[_0x15d129(0xc7)](_0x331f0c,_0x15d129(0xe4)),this[_0x15d129(0xe8)][_0x15d129(0x7f)](_0x331f0c),this[_0x15d129(0x116)][_0x15d129(0xbb)](_0x331f0c)&&this[_0x15d129(0x88)](_0x331f0c),_0x4e94aa&&this[_0x15d129(0xa8)](_0x4e94aa[_0x15d129(0xa4)]);}),this[_0x4e047d(0xec)](_0x152f24,_0x4e047d(0x9d),(_0x278382,_0x248bab)=>{const _0x33068c=_0x4e047d;this[_0x33068c(0xa8)](_0x248bab);}),this[_0x4e047d(0xec)](_0x58373b,_0x4e047d(0x8f),()=>{const _0xa2e5a5=_0x4e047d;this[_0xa2e5a5(0x82)]();}),this[_0x4e047d(0xec)](_0x4a3744,_0x4e047d(0x11c),(_0x4cae5b,{threadId:_0x16e643,isFromAdapter:_0x36e62b})=>{const _0x421862=_0x4e047d;if(_0x36e62b||!_0x152f24[_0x421862(0x83)](_0x16e643))return;const _0x411743=_0x152f24[_0x421862(0xb5)](_0x16e643);this[_0x421862(0x116)][_0x421862(0xd7)](_0x411743)[_0x421862(0xd3)][_0x421862(0xaa)][_0x421862(0x10f)](-0x1);},{'priority':_0x4e047d(0x90)}),this[_0x4e047d(0xb2)]=this[_0x4e047d(0x79)][_0x4e047d(0x89)][_0x4e047d(0xd7)](_0x4e047d(0xb2));const _0xdb4c66=this[_0x4e047d(0x79)];this[_0x4e047d(0x118)]=setInterval(()=>{const _0x526ce0=_0x4e047d;let _0x502274;for(const _0x1ed6d1 in _0xdb4c66){const _0x59b5a6=_0x1ed6d1,_0x2af9df=_0xdb4c66[_0x59b5a6];if(_0x526ce0(0x8a)==_0x2af9df||_0x526ce0(0xa2)==_0x2af9df||_0x526ce0(0x10a)==_0x2af9df||_0x526ce0(0x103)==_0x2af9df||_0x526ce0(0xdb)==_0x2af9df||_0x526ce0(0xe9)==_0x2af9df||_0x526ce0(0xa6)==_0x2af9df||_0x526ce0(0x8e)==_0x2af9df){delete _0xdb4c66[_0x59b5a6],_0x502274=_0x2af9df,clearInterval(this[_0x526ce0(0x118)]),this[_0x526ce0(0x118)]=void 0x0;break;}}_0x526ce0(0xa2)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0xe3)),_0x526ce0(0x10a)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0x100)),_0x526ce0(0x103)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0x84)),_0x526ce0(0xdb)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0xc5),_0x526ce0(0xef)),_0x526ce0(0xe9)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0xe7)),_0x526ce0(0xa6)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0x9a)),_0x526ce0(0x8e)==_0x502274&&_0xdb4c66[_0x526ce0(0xab)](_0x526ce0(0xd0));},0x3e8);}[_0x36b6e9(0xd6)](_0x3dd98){const _0x300a37=_0x36b6e9,_0x3c4112=this[_0x300a37(0x116)][_0x300a37(0xd7)](_0x3dd98);if(!_0x3c4112)return null;return this[_0x300a37(0x79)][_0x300a37(0x77)][_0x300a37(0xd7)](_0x300a37(0x74))[_0x300a37(0xf7)](_0x3c4112[_0x300a37(0xd3)])||null;}[_0x36b6e9(0xb4)](_0x5c1ddf){const _0xb6b46c=_0x36b6e9,_0x4d3ef0=this[_0xb6b46c(0xde)][_0xb6b46c(0xd7)](_0x5c1ddf[_0xb6b46c(0xc6)]);return _0x4d3ef0?_0x4d3ef0[_0xb6b46c(0x10d)]:null;}[_0x36b6e9(0x82)](){const _0x4a97f3=_0x36b6e9,_0x1882e4=this[_0x4a97f3(0x79)][_0x4a97f3(0x77)][_0x4a97f3(0xd7)](_0x4a97f3(0x74)),_0x6f766b=this[_0x4a97f3(0x79)][_0x4a97f3(0x77)][_0x4a97f3(0xd7)](_0x4a97f3(0xc0)),_0x212c7e=Array[_0x4a97f3(0x11a)](_0x1882e4[_0x4a97f3(0x8b)],_0xe144a4=>_0xe144a4[_0x4a97f3(0xc6)])[_0x4a97f3(0xd2)](_0x3970db=>this[_0x4a97f3(0xde)][_0x4a97f3(0xbb)](_0x3970db)),_0x51357a=[];for(const _0x49ab8e of _0x212c7e){const _0x562749=this[_0x4a97f3(0xde)][_0x4a97f3(0xd7)](_0x49ab8e)[_0x4a97f3(0x10d)][_0x4a97f3(0x101)]();_0x51357a[_0x4a97f3(0xca)](..._0x562749[_0x4a97f3(0x11b)]((_0x41c5b4,_0x13625f)=>[..._0x41c5b4,..._0x13625f[_0x4a97f3(0x11f)]()],[]));}_0x6f766b[_0x4a97f3(0xcf)]=_0x51357a;}[_0x36b6e9(0x8c)](){const _0x562081=_0x36b6e9,_0x475e24=this[_0x562081(0x79)],_0x5b9264=_0x475e24[_0x562081(0xff)],_0x391c04=_0x4847a0(_0x5b9264,_0x562081(0x95)),_0x149488=new _0x1ce6aa([{'type':_0x562081(0x75),'model':new _0x342d1b({'withText':!0x0,'isToggleable':!0x0,'label':_0x391c04,'commandName':_0x562081(0xd5),'role':_0x562081(0x104)})},{'type':_0x562081(0x102)},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0x93)),'commandName':_0x562081(0xaf),'role':_0x562081(0x9b)})},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0xf8)),'commandName':_0x562081(0xf4),'role':_0x562081(0x9b)})},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0xa3)),'commandName':_0x562081(0x106),'role':_0x562081(0x9b)})},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0xa0)),'commandName':_0x562081(0x97),'role':_0x562081(0x9b)})}]);_0x475e24[_0x562081(0x77)][_0x562081(0xbb)](_0x562081(0x7d))&&_0x149488[_0x562081(0xf0)]([{'type':_0x562081(0x102)},{'type':_0x562081(0xac),'model':new _0x342d1b({'withText':!0x0,'label':_0x4847a0(_0x5b9264,_0x562081(0xdc)),'commandName':_0x562081(0xa7),'role':_0x562081(0x9b)})}]);for(const _0x26f345 of _0x149488)if(ke(_0x26f345)){const _0x53f3d2=_0x475e24[_0x562081(0xfa)][_0x562081(0xd7)](_0x26f345[_0x562081(0x10d)][_0x562081(0x7b)]);_0x26f345[_0x562081(0x10d)][_0x562081(0xb1)](_0x562081(0xbf),_0x562081(0x70))['to'](_0x53f3d2,_0x562081(0x81),_0x562081(0x70));}_0x475e24['ui'][_0x562081(0xbc)][_0x562081(0x9e)](_0x562081(0xd5),_0x37b79f=>this[_0x562081(0x117)](_0x37b79f,_0x149488,_0x391c04)),_0x475e24['ui'][_0x562081(0xbc)][_0x562081(0x9e)](_0x562081(0x10c),_0x5ef304=>this[_0x562081(0xda)](_0x5ef304,_0x149488,_0x391c04));}[_0x36b6e9(0x117)](_0x5f41a5,_0x231fd3,_0x4f3f81){const _0x37007a=_0x36b6e9,_0x2b4cfe=_0x5479cd(_0x5f41a5,_0x3cf7c8),_0x351b59=this[_0x37007a(0x79)][_0x37007a(0xfa)][_0x37007a(0xd7)](_0x37007a(0xd5));_0x2b4cfe[_0x37007a(0xfb)][_0x37007a(0xeb)]({'tooltip':_0x4f3f81,'label':_0x4f3f81,'icon':_0x596af8}),_0x2b4cfe[_0x37007a(0xfb)][_0x37007a(0xb1)](_0x37007a(0xbf))['to'](_0x351b59,_0x37007a(0x81)),_0x2b4cfe[_0x37007a(0xfb)]['on'](_0x37007a(0x11d),()=>{const _0x957783=_0x37007a;_0x351b59[_0x957783(0x11d)](),this[_0x957783(0x79)][_0x957783(0xe6)][_0x957783(0xd3)][_0x957783(0x10f)]();}),_0x1d3a9e(_0x2b4cfe,_0x231fd3,{'role':_0x37007a(0xe2)});const _0x2412bc=[];for(const _0x14bb2c of _0x231fd3)ke(_0x14bb2c)&&_0x2412bc[_0x37007a(0xca)](this[_0x37007a(0x79)][_0x37007a(0xfa)][_0x37007a(0xd7)](_0x14bb2c[_0x37007a(0x10d)][_0x37007a(0x7b)]));const _0x25a474=_0x2b4cfe[_0x37007a(0xfb)];return _0x25a474[_0x37007a(0xf5)][_0x37007a(0x110)](_0x37007a(0x70)),_0x25a474[_0x37007a(0xed)][_0x37007a(0x110)](_0x37007a(0x70)),_0x25a474[_0x37007a(0xf5)][_0x37007a(0xb1)](_0x37007a(0x70))['to'](_0x351b59,_0x37007a(0x70)),_0x25a474[_0x37007a(0xed)][_0x37007a(0xb1)](_0x37007a(0x70))[_0x37007a(0xc8)](_0x2412bc,_0x37007a(0x70),(..._0x2e7978)=>_0x2e7978[_0x37007a(0x7e)](_0xbc88de=>_0xbc88de)),_0x2b4cfe['on'](_0x37007a(0x11d),_0x488c8a=>{const _0x5c4712=_0x37007a;this[_0x5c4712(0x79)][_0x5c4712(0x11d)](_0x488c8a[_0x5c4712(0xb0)][_0x5c4712(0x7b)]),this[_0x5c4712(0x79)][_0x5c4712(0xe6)][_0x5c4712(0xd3)][_0x5c4712(0x10f)]();}),_0x2b4cfe;}[_0x36b6e9(0xda)](_0xd6df55,_0x5af465,_0x53c7a3){const _0x38e7e9=_0x36b6e9,_0x19bf33=new _0x8c76a6(_0xd6df55),_0x59eda9=this[_0x38e7e9(0x79)][_0x38e7e9(0xfa)][_0x38e7e9(0xd7)](_0x38e7e9(0xd5));_0x19bf33[_0x38e7e9(0xfb)][_0x38e7e9(0xeb)]({'label':_0x53c7a3,'icon':_0x596af8});const _0x113cfa=new _0x512eb8(_0xd6df55);for(const _0x644846 of _0x5af465){if(_0x38e7e9(0x102)==_0x644846[_0x38e7e9(0xe5)]){_0x113cfa[_0x38e7e9(0xb7)][_0x38e7e9(0x9e)](new _0x399663(_0xd6df55));continue;}const _0x193d56=new _0x256eeb(_0xd6df55,_0x19bf33),_0xee1bd6=new _0x5480cc(_0xd6df55),_0xe117a0=_0x644846[_0x38e7e9(0x10d)];_0xee1bd6[_0x38e7e9(0xb1)](...Object[_0x38e7e9(0x119)](_0xe117a0))['to'](_0xe117a0),_0xee1bd6[_0x38e7e9(0xae)](_0x38e7e9(0x11d))['to'](_0x19bf33),_0xee1bd6['on'](_0x38e7e9(0x11d),()=>{const _0x5f41d0=_0x38e7e9;this[_0x5f41d0(0x79)][_0x5f41d0(0x11d)](_0xe117a0[_0x5f41d0(0x7b)]),this[_0x5f41d0(0x79)][_0x5f41d0(0xe6)][_0x5f41d0(0xd3)][_0x5f41d0(0x10f)]();}),_0x193d56[_0x38e7e9(0x78)][_0x38e7e9(0x9e)](_0xee1bd6),_0x113cfa[_0x38e7e9(0xb7)][_0x38e7e9(0x9e)](_0x193d56);}return _0x19bf33[_0x38e7e9(0xb1)](_0x38e7e9(0x70))['to'](_0x59eda9,_0x38e7e9(0x70)),_0x19bf33[_0x38e7e9(0x108)][_0x38e7e9(0x78)][_0x38e7e9(0x9e)](_0x113cfa),_0x19bf33;}[_0x36b6e9(0x87)](_0x5e9486){const _0x3cf743=_0x36b6e9,_0x5f4476=this[_0x3cf743(0x79)],_0x550f33=_0x5f4476[_0x3cf743(0x89)],_0x22db89=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0x74)),_0x19399c=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0x109)),_0x3c9dd7=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0x94)),_0x234e10=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x477f75)['me'],_0x3424a6=_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xd5))[_0x3cf743(0xf9)],_0x319854=_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xd5))[_0x3cf743(0xf6)],{CommentsListView:_0x20f641,CommentThreadInputView:_0x38d7d5}=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0x114));let _0x48b07e,_0x35fbb2,_0x5bc5e4;this[_0x3cf743(0xa5)][_0x3cf743(0xbb)](_0x5e9486['id'])?(_0x35fbb2=this[_0x3cf743(0xa5)][_0x3cf743(0xd7)](_0x5e9486['id']),_0x48b07e=_0x35fbb2[_0x3cf743(0x99)]):(_0x48b07e=new _0x3424a6(_0x5f4476[_0x3cf743(0xff)],_0x5e9486,_0x234e10,{'disableComments':this[_0x3cf743(0xc4)],'editorConfig':{..._0x550f33[_0x3cf743(0xd7)](_0x3cf743(0x73)),'licenseKey':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xb2))},'maxCommentsWhenCollapsed':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xdf)),'maxThreadTotalWeight':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xce)),'maxCommentCharsWhenCollapsed':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xd8)),'formatDateTime':_0x115e6e(_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0xff)),_0x5f4476[_0x3cf743(0xff)]),'CommentView':_0x550f33[_0x3cf743(0xd7)](_0x3cf743(0x85))[_0x3cf743(0xd9)],'CommentsListView':_0x20f641,'CommentThreadInputView':_0x38d7d5,'SuggestionView':_0x319854}),_0x48b07e[_0x3cf743(0x6f)][_0x3cf743(0xb6)]['on'](_0x3cf743(0x11d),()=>{const _0x53b514=_0x3cf743;_0x5f4476[_0x53b514(0xe6)][_0x53b514(0xd3)][_0x53b514(0x10f)]();}),_0x48b07e[_0x3cf743(0x6f)][_0x3cf743(0xf2)]['on'](_0x3cf743(0x11d),()=>{const _0x8cc0b3=_0x3cf743;_0x5f4476[_0x8cc0b3(0xe6)][_0x8cc0b3(0xd3)][_0x8cc0b3(0x10f)]();}),_0x35fbb2=_0x22db89[_0x3cf743(0xb3)](this[_0x3cf743(0x79)][_0x3cf743(0xff)],_0x48b07e),_0x35fbb2[_0x3cf743(0xb1)](_0x3cf743(0xcd))['to'](_0x48b07e,_0x3cf743(0xcd)),_0x35fbb2[_0x3cf743(0xb1)](_0x3cf743(0xbd))['to'](_0x48b07e),_0x35fbb2[_0x3cf743(0xb1)](_0x3cf743(0xe5))['to'](_0x48b07e,_0x3cf743(0xe5),_0x2c5974=>_0x3cf743(0xb8)+_0x2c5974),_0x48b07e['on'](_0x3cf743(0x72),()=>{const _0x16b720=_0x3cf743;_0x5bc5e4[_0x16b720(0xc3)](_0x16b720(0x72));}),this[_0x3cf743(0xa5)][_0x3cf743(0xeb)](_0x5e9486['id'],_0x35fbb2));const _0x5bc69b=_0x19399c[_0x3cf743(0x80)](_0x5e9486[_0x3cf743(0x96)],_0x48b07e),_0xbf7170=new _0x9709e9(_0x5f4476,_0x5e9486,_0x48b07e,_0x5bc69b),_0x867556=_0x5e9486[_0x3cf743(0x101)]()[_0x3cf743(0xd2)](_0x19828a=>_0x19828a[_0x3cf743(0xe0)]);_0x48b07e[_0x3cf743(0x10e)]=_0x5f4476[_0x3cf743(0x77)][_0x3cf743(0xd7)](_0x3cf743(0xc0))[_0x3cf743(0x11e)][_0x3cf743(0x76)](_0x867556),this[_0x3cf743(0x116)][_0x3cf743(0xeb)](_0x5e9486,_0xbf7170),this[_0x3cf743(0xde)][_0x3cf743(0xeb)](_0x48b07e,_0xbf7170);const _0x564a28=()=>{const _0x2724ef=_0x3cf743,_0x45ea3c=[],_0x4eab2f=_0x5e9486[_0x2724ef(0x101)]()[_0x2724ef(0xd2)](_0x427139=>_0x427139[_0x2724ef(0xe0)]);for(const _0x2daf11 of _0x4eab2f)_0x45ea3c[_0x2724ef(0xca)](..._0x2daf11[_0x2724ef(0x9f)]());return _0x45cdd0(_0x5f4476[_0x2724ef(0xe6)],_0x45ea3c);};_0x5bc5e4=_0x22db89[_0x3cf743(0x120)]({'view':_0x35fbb2,'target':_0x564a28,'type':()=>_0x3cf743(0xb8)+_0xbf7170[_0x3cf743(0xd3)][_0x3cf743(0xe5)],'isVisible':!!_0x564a28()}),_0x19399c[_0x3cf743(0x91)](_0x48b07e,_0x5bc5e4),_0x22db89[_0x3cf743(0x9e)](_0x5bc5e4),_0x3c9dd7[_0x3cf743(0xdd)](_0x5bc5e4);}[_0x36b6e9(0x88)](_0x46b536){const _0x712d61=_0x36b6e9,_0x27d308=this[_0x712d61(0x79)][_0x712d61(0x77)][_0x712d61(0xd7)](_0x712d61(0x109)),_0x2fbac0=this[_0x712d61(0x79)][_0x712d61(0x77)][_0x712d61(0xd7)](_0x712d61(0x74)),_0x4caeaa=this[_0x712d61(0x116)][_0x712d61(0xd7)](_0x46b536),_0x56d7a4=_0x4caeaa[_0x712d61(0xd3)],_0x3536e1=_0x2fbac0[_0x712d61(0xf7)](_0x56d7a4);_0x27d308[_0x712d61(0xfd)](_0x56d7a4),_0x3536e1&&_0x2fbac0[_0x712d61(0xba)](_0x3536e1),this[_0x712d61(0x116)][_0x712d61(0x7f)](_0x46b536),this[_0x712d61(0xde)][_0x712d61(0x7f)](_0x56d7a4),_0x4caeaa[_0x712d61(0x71)]();}[_0x36b6e9(0xa8)](_0x5d4687){const _0x1062ae=_0x36b6e9;if(!_0x5d4687[_0x1062ae(0xe0)]||!this[_0x1062ae(0x116)][_0x1062ae(0xbb)](_0x5d4687))return;const _0x310307=this[_0x1062ae(0x79)][_0x1062ae(0x77)][_0x1062ae(0xd7)](_0x1062ae(0xc0)),_0x20a74f=this[_0x1062ae(0x116)][_0x1062ae(0xd7)](_0x5d4687),_0x25f4a2=_0x5d4687[_0x1062ae(0x101)]();_0x20a74f[_0x1062ae(0xd3)][_0x1062ae(0x10e)]=_0x310307[_0x1062ae(0x11e)][_0x1062ae(0x76)](_0x25f4a2);}[_0x36b6e9(0x71)](){const _0x504ad3=_0x36b6e9;for(const _0x4dd8e4 of this[_0x504ad3(0x116)][_0x504ad3(0x119)]())this[_0x504ad3(0x88)](_0x4dd8e4);for(const _0xd80655 of this[_0x504ad3(0xa5)][_0x504ad3(0xee)]())_0xd80655[_0x504ad3(0x99)][_0x504ad3(0x71)]();super[_0x504ad3(0x71)](),this[_0x504ad3(0x118)]&&clearInterval(this[_0x504ad3(0x118)]);}}function _0x59f1(){const _0x179084=['TrackChangesUI','trackChangesLicenseKeyInvalid','Discard\x20all\x20suggestions','head','_annotationViews','trackChangesLicenseKeyTrialLimit','previewFinalContent','_updateController','isOfficialPlugin','commentsListView','_showLicenseError','button','618jscAFG','delegate','acceptAllSuggestions','source','bind','licenseKey','createAnnotationView','getSuggestionForAnnotation','getSuggestion','acceptButton','items','suggestion-','define','remove','has','componentFactory','length','previous','isOn','TrackChangesEditing','10514448GNgyqz','getRanges','fire','_disableComments','featureNotAllowed','innerView','stopListening','toMany','7693833teCAdX','push','408qALGGk','refreshSelectedViews','isDirty','comments.maxThreadTotalWeight','activeMarkers','usageLimit','6455952sOjQOk','filter','view','pluginName','trackChanges','getAnnotationForSuggestion','get','comments.maxCommentCharsWhenCollapsed','CommentView','_createMenuBarMenu','trackChangesLicenseKeyNotAllowed','Preview\x20final\x20content','registerAnnotation','_viewToController','comments.maxCommentsWhenCollapsed','isInContent','getJoined','menu','invalid','change:previous','type','editing','evaluationLimit','_handleControllerBuffer','trackChangesLicenseKeyEvaluationLimit','2782510qggVRP','set','listenTo','arrowView','values','TrackChanges','addMany','trackChanges.SuggestionThreadView','discardButton','getFirstRange','acceptSelectedSuggestions','actionView','SuggestionView','getByInnerView','Accept\x20all\x20selected\x20suggestions','SuggestionThreadView','commands','buttonView','trackChanges.SuggestionView','_unbindEditors','init','locale','expired','getAllAdjacentSuggestions','separator','trackChangesLicenseKeyDomainLimit','menuitemcheckbox','52470AJKNQJ','discardAllSuggestions','trackChanges.disableComments','panelView','CommentsRepository','trackChangesLicenseKeyExpired','suggestionLoaded','menuBar:trackChanges','model','descriptionParts','focus','unbind','10172qwplqX','clear','182122FYdgiF','CommentsUI','addSourceCollector','_suggestionToController','_createToolbarButton','_licenseKeyCheckInterval','keys','from','reduce','addComment','execute','descriptionFactory','getMarkerNames','createAnnotation','suggestionView','isEnabled','destroy','escape','comments.editorConfig','Annotations','switchbutton','getDescriptions','plugins','children','editor','10fviLKX','commandName','suggestionUnloaded','TrackChangesPreview','some','delete','createCommentThreadController','value','_refreshActiveMarkers','hasSuggestion','domainLimit','comments','isPremiumPlugin','_initializeController','_destroyController','config','trackChangesLicenseKeyValid','activeAnnotations','_addUIComponentsToFactory','requires','trackChangesLicenseKeyUsageLimit','change:activeAnnotations','lowest','_bindAnnotationToEditors','size','Accept\x20all\x20suggestions','EditorAnnotations','Track\x20changes','commentThread','discardSelectedSuggestions','isMultiRange','mainView','trialLimit','menuitem','_handleSuggestionControllerDelayed','suggestionChanged','add','getMarkers','Discard\x20all\x20selected\x20suggestions'];_0x59f1=function(){return _0x179084;};return _0x59f1();}function ke(_0x44ad60){const _0xa39e79=_0x36b6e9;return _0xa39e79(0x10d)in _0x44ad60;}
|
|
23
|
+
function _0x519e(_0x30746e,_0x34c790){const _0x4ed5b6=_0x4ed5();return _0x519e=function(_0x519e3e,_0x3a86b9){_0x519e3e=_0x519e3e-0xe4;let _0xf3d551=_0x4ed5b6[_0x519e3e];return _0xf3d551;},_0x519e(_0x30746e,_0x34c790);}const _0x47da23=_0x519e;(function(_0x49512d,_0x374ed5){const _0x21bad8=_0x519e,_0x3f1d54=_0x49512d();while(!![]){try{const _0x3a3158=-parseInt(_0x21bad8(0x14d))/0x1+-parseInt(_0x21bad8(0x172))/0x2+parseInt(_0x21bad8(0x106))/0x3*(parseInt(_0x21bad8(0x17c))/0x4)+-parseInt(_0x21bad8(0x183))/0x5*(-parseInt(_0x21bad8(0xf4))/0x6)+-parseInt(_0x21bad8(0x123))/0x7+parseInt(_0x21bad8(0xe4))/0x8*(-parseInt(_0x21bad8(0xea))/0x9)+parseInt(_0x21bad8(0x111))/0xa*(parseInt(_0x21bad8(0x154))/0xb);if(_0x3a3158===_0x374ed5)break;else _0x3f1d54['push'](_0x3f1d54['shift']());}catch(_0x25c57a){_0x3f1d54['push'](_0x3f1d54['shift']());}}}(_0x4ed5,0x8000d));import{Plugin as _0x334f60}from'ckeditor5/src/core.js';import{Collection as _0x1ee780}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x424e09}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x3a6825,createDropdown as _0x478d2b,ListSeparatorView as _0x43a044,MenuBarMenuView as _0x21f552,MenuBarMenuListView as _0x1a607e,MenuBarMenuListItemView as _0xa6e342,MenuBarMenuListItemButtonView as _0x2321f7,SplitButtonView as _0x518c16,UIModel as _0x513b03}from'ckeditor5/src/ui.js';import{Users as _0x324a4e,getDateTimeFormatter as _0x5323a8,getAllMarkersDomElementsSorted as _0x53d80e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x59323c}from'./trackchangesediting.js';import{SuggestionController as _0x408b28}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x209319}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x33e8f0}from'./ui/view/suggestionview.js';import{getTranslation as _0x2d666c}from'./utils/common-translations.js';export class TrackChangesUI extends _0x334f60{[_0x47da23(0x104)];[_0x47da23(0xfc)];[_0x47da23(0xf7)];[_0x47da23(0x145)];[_0x47da23(0xfe)];[_0x47da23(0x155)];[_0x47da23(0xec)];static get[_0x47da23(0x12b)](){const _0x4930ad=_0x47da23;return[_0x59323c,_0x324a4e,_0x4930ad(0x12e),_0x4930ad(0x150),_0x4930ad(0xe9)];}static get[_0x47da23(0x169)](){const _0x574ee4=_0x47da23;return _0x574ee4(0x149);}static get[_0x47da23(0x170)](){return!0x0;}static get[_0x47da23(0x115)](){return!0x0;}constructor(_0xb2170d){const _0x1c0d52=_0x47da23;super(_0xb2170d),this[_0x1c0d52(0xf7)]=new Map(),this[_0x1c0d52(0x145)]=new Map(),this[_0x1c0d52(0xfe)]=new Map(),this[_0x1c0d52(0x155)]=new Map();const _0x444dba=this[_0x1c0d52(0x184)][_0x1c0d52(0x15c)];_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0x192),_0x209319),_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0x113),_0x33e8f0),_0x444dba[_0x1c0d52(0x151)](_0x1c0d52(0xe6),!0x1),this[_0x1c0d52(0xec)]=_0x444dba[_0x1c0d52(0x18b)](_0x1c0d52(0xe6));}[_0x47da23(0xe8)](_0x5b52d6,_0x13cc67){const _0x5692ac=_0x47da23;0x0===this[_0x5692ac(0x155)][_0x5692ac(0x11c)]&&setTimeout(()=>{const _0x7bedfa=_0x5692ac;for(const [_0x59f3ee,_0x58a5f5]of this[_0x7bedfa(0x155)]){const _0xe79e2b=this[_0x7bedfa(0xf7)][_0x7bedfa(0x109)](_0x59f3ee);_0xe79e2b||_0x58a5f5?_0xe79e2b&&_0x58a5f5&&this[_0x7bedfa(0x185)](_0x59f3ee):this[_0x7bedfa(0x105)](_0x59f3ee);}this[_0x7bedfa(0x155)][_0x7bedfa(0x187)](),this[_0x7bedfa(0x184)][_0x7bedfa(0xe7)][_0x7bedfa(0x18b)](_0x7bedfa(0xe9))[_0x7bedfa(0x17d)](),this[_0x7bedfa(0x10d)]();},0xa),this[_0x5692ac(0x155)][_0x5692ac(0xf8)](_0x5b52d6,_0x13cc67);}[_0x47da23(0x12c)](){const _0x105ac3=_0x47da23,_0xa66047=this[_0x105ac3(0x184)],_0x5a311c=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0xf6)),_0x5626ba=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0x150)),_0x13506a=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0xe9)),_0x313fbe=_0xa66047[_0x105ac3(0xe7)][_0x105ac3(0x18b)](_0x105ac3(0x12e));this[_0x105ac3(0x168)](),_0x13506a[_0x105ac3(0x10e)](()=>{const _0x256caa=_0x105ac3,_0x39c6e7=[];for(const [_0x3c1c96,_0x9b30fc]of Array[_0x256caa(0x16a)](this[_0x256caa(0xf7)])){const _0xd14768=_0x3c1c96[_0x256caa(0x13b)](),_0x5cde08=[];for(const _0x52d6c4 of _0xd14768){if(!_0x52d6c4[_0x256caa(0x181)])continue;if(_0x52d6c4[_0x256caa(0x195)]){_0x5cde08[_0x256caa(0x142)](..._0x52d6c4[_0x256caa(0x194)]());continue;}const _0x3934b1=_0x52d6c4[_0x256caa(0x16f)]();if(_0x5cde08[_0x256caa(0x196)]>0x0){const _0x2752c7=_0x5cde08[0x0][_0x256caa(0x156)](_0x3934b1);if(_0x2752c7){_0x5cde08[0x0]=_0x2752c7;continue;}}_0x5cde08[_0x256caa(0x142)](_0x3934b1);}_0x39c6e7[_0x256caa(0x142)]([_0x9b30fc[_0x256caa(0x162)],_0x5cde08]);}return _0x39c6e7;}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0xf9),(_0x5cf397,_0x3d2295)=>{const _0x3941c2=_0x105ac3;this[_0x3941c2(0x127)](_0x3d2295,_0x3941c2(0x14b),(_0xc9ef6a,_0x4d07cd,_0x2ddfe6,_0x4e9d2e)=>{const _0x98569f=_0x3941c2;_0x3d2295[_0x98569f(0x181)]&&(null==_0x2ddfe6?(this[_0x98569f(0xee)](_0x4e9d2e[_0x98569f(0x153)]),this[_0x98569f(0xe8)](_0x3d2295,!0x1)):(this[_0x98569f(0xee)](_0x2ddfe6[_0x98569f(0x153)]),null==_0x4e9d2e&&this[_0x98569f(0xe8)](_0x3d2295,!0x0)));}),null!==_0x3d2295[_0x3941c2(0x15a)]?this[_0x3941c2(0xee)](_0x3d2295[_0x3941c2(0x153)]):this[_0x3941c2(0xe8)](_0x3d2295,!0x1);}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0x119),(_0x1551f1,_0x3659c3,_0x49eaba)=>{const _0x147dae=_0x105ac3;this[_0x147dae(0x18f)](_0x3659c3,_0x147dae(0x14b)),this[_0x147dae(0x155)][_0x147dae(0xef)](_0x3659c3),this[_0x147dae(0xf7)][_0x147dae(0x109)](_0x3659c3)&&this[_0x147dae(0x185)](_0x3659c3),_0x49eaba&&this[_0x147dae(0xee)](_0x49eaba[_0x147dae(0x153)]);}),this[_0x105ac3(0x127)](_0x5a311c,_0x105ac3(0x10b),(_0x10e79f,_0xda9864)=>{const _0x398753=_0x105ac3;this[_0x398753(0xee)](_0xda9864);}),this[_0x105ac3(0x127)](_0x5626ba,_0x105ac3(0x100),()=>{const _0x39a53e=_0x105ac3;this[_0x39a53e(0x10d)]();}),this[_0x105ac3(0x127)](_0x313fbe,_0x105ac3(0x167),(_0x1af205,{threadId:_0x4a5c73,isFromAdapter:_0x3b0521})=>{const _0x3ad553=_0x105ac3;if(_0x3b0521||!_0x5a311c[_0x3ad553(0x134)](_0x4a5c73))return;const _0x41b9af=_0x5a311c[_0x3ad553(0x13f)](_0x4a5c73);this[_0x3ad553(0xf7)][_0x3ad553(0x18b)](_0x41b9af)[_0x3ad553(0x162)][_0x3ad553(0x14a)][_0x3ad553(0xed)](-0x1);},{'priority':_0x105ac3(0x15e)}),this[_0x105ac3(0x104)]=this[_0x105ac3(0x184)][_0x105ac3(0x15c)][_0x105ac3(0x18b)](_0x105ac3(0x104));const _0x3c8737=this[_0x105ac3(0x184)];this[_0x105ac3(0xfc)]=setInterval(()=>{const _0x4b5d3b=_0x105ac3;let _0x35dbb2;for(const _0x48eb35 in _0x3c8737){const _0x36829a=_0x48eb35,_0x12dd12=_0x3c8737[_0x36829a];if(_0x4b5d3b(0x129)==_0x12dd12||_0x4b5d3b(0xeb)==_0x12dd12||_0x4b5d3b(0x143)==_0x12dd12||_0x4b5d3b(0x16d)==_0x12dd12||_0x4b5d3b(0x13c)==_0x12dd12||_0x4b5d3b(0x148)==_0x12dd12||_0x4b5d3b(0x131)==_0x12dd12||_0x4b5d3b(0x17f)==_0x12dd12){delete _0x3c8737[_0x36829a],_0x35dbb2=_0x12dd12,clearInterval(this[_0x4b5d3b(0xfc)]),this[_0x4b5d3b(0xfc)]=void 0x0;break;}}_0x4b5d3b(0xeb)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x16b)),_0x4b5d3b(0x143)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x107)),_0x4b5d3b(0x16d)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x13e)),_0x4b5d3b(0x13c)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x157),_0x4b5d3b(0x176)),_0x4b5d3b(0x148)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x17b)),_0x4b5d3b(0x131)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x163)),_0x4b5d3b(0x17f)==_0x35dbb2&&_0x3c8737[_0x4b5d3b(0x17a)](_0x4b5d3b(0x190));},0x3e8);}[_0x47da23(0x14f)](_0x4abe18){const _0x45d06b=_0x47da23,_0x41d97f=this[_0x45d06b(0xf7)][_0x45d06b(0x18b)](_0x4abe18);if(!_0x41d97f)return null;return this[_0x45d06b(0x184)][_0x45d06b(0xe7)][_0x45d06b(0x18b)](_0x45d06b(0x150))[_0x45d06b(0x11a)](_0x41d97f[_0x45d06b(0x162)])||null;}[_0x47da23(0x10a)](_0x2df09c){const _0x3814a1=_0x47da23,_0x1f6761=this[_0x3814a1(0x145)][_0x3814a1(0x18b)](_0x2df09c[_0x3814a1(0x10c)]);return _0x1f6761?_0x1f6761[_0x3814a1(0x186)]:null;}[_0x47da23(0x10d)](){const _0x7c857d=_0x47da23,_0x601638=this[_0x7c857d(0x184)][_0x7c857d(0xe7)][_0x7c857d(0x18b)](_0x7c857d(0x150)),_0x333bd0=this[_0x7c857d(0x184)][_0x7c857d(0xe7)][_0x7c857d(0x18b)](_0x7c857d(0xf6)),_0xe7458f=Array[_0x7c857d(0x16a)](_0x601638[_0x7c857d(0x18c)],_0x1e1e81=>_0x1e1e81[_0x7c857d(0x10c)])[_0x7c857d(0x133)](_0x57cd2f=>this[_0x7c857d(0x145)][_0x7c857d(0x109)](_0x57cd2f)),_0x2a75b5=[];for(const _0x2cc934 of _0xe7458f){const _0x1ba030=this[_0x7c857d(0x145)][_0x7c857d(0x18b)](_0x2cc934)[_0x7c857d(0x186)][_0x7c857d(0x13b)]();_0x2a75b5[_0x7c857d(0x142)](..._0x1ba030[_0x7c857d(0x160)]((_0x3fb2a6,_0x4509f8)=>[..._0x3fb2a6,..._0x4509f8[_0x7c857d(0x17e)]()],[]));}_0x333bd0[_0x7c857d(0x16e)]=_0x2a75b5;}[_0x47da23(0x168)](){const _0x3f2b76=_0x47da23,_0x4e319e=this[_0x3f2b76(0x184)],_0x4a1a1e=_0x4e319e[_0x3f2b76(0xff)],_0x3be0fc=_0x2d666c(_0x4a1a1e,_0x3f2b76(0x13d)),_0x5d10f1=new _0x1ee780([{'type':_0x3f2b76(0xfd),'model':new _0x513b03({'withText':!0x0,'isToggleable':!0x0,'label':_0x3be0fc,'commandName':_0x3f2b76(0x165),'role':_0x3f2b76(0x11e)})},{'type':_0x3f2b76(0x124)},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x141)),'commandName':_0x3f2b76(0x171),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x158)),'commandName':_0x3f2b76(0xfa),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x135)),'commandName':_0x3f2b76(0x128),'role':_0x3f2b76(0x166)})},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x189)),'commandName':_0x3f2b76(0x147),'role':_0x3f2b76(0x166)})}]);_0x4e319e[_0x3f2b76(0xe7)][_0x3f2b76(0x109)](_0x3f2b76(0x146))&&_0x5d10f1[_0x3f2b76(0x15b)]([{'type':_0x3f2b76(0x124)},{'type':_0x3f2b76(0x144),'model':new _0x513b03({'withText':!0x0,'label':_0x2d666c(_0x4a1a1e,_0x3f2b76(0x12f)),'commandName':_0x3f2b76(0x130),'role':_0x3f2b76(0x166)})}]);for(const _0x59fcf2 of _0x5d10f1)if(ke(_0x59fcf2)){const _0x3d5d6d=_0x4e319e[_0x3f2b76(0xf1)][_0x3f2b76(0x18b)](_0x59fcf2[_0x3f2b76(0x186)][_0x3f2b76(0x152)]);_0x59fcf2[_0x3f2b76(0x186)][_0x3f2b76(0x12d)](_0x3f2b76(0x173),_0x3f2b76(0x10f))['to'](_0x3d5d6d,_0x3f2b76(0x161),_0x3f2b76(0x10f));}_0x4e319e['ui'][_0x3f2b76(0x180)][_0x3f2b76(0x191)](_0x3f2b76(0x165),_0x13cc38=>this[_0x3f2b76(0x126)](_0x13cc38,_0x5d10f1,_0x3be0fc)),_0x4e319e['ui'][_0x3f2b76(0x180)][_0x3f2b76(0x191)](_0x3f2b76(0x122),_0x474472=>this[_0x3f2b76(0x121)](_0x474472,_0x5d10f1,_0x3be0fc));}[_0x47da23(0x126)](_0x44473b,_0x442709,_0x49201a){const _0x4ae4f6=_0x47da23,_0x29930d=_0x478d2b(_0x44473b,_0x518c16),_0x2afaba=this[_0x4ae4f6(0x184)][_0x4ae4f6(0xf1)][_0x4ae4f6(0x18b)](_0x4ae4f6(0x165));_0x29930d[_0x4ae4f6(0x11d)][_0x4ae4f6(0xf8)]({'tooltip':_0x49201a,'label':_0x49201a,'icon':_0x424e09}),_0x29930d[_0x4ae4f6(0x11d)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x173))['to'](_0x2afaba,_0x4ae4f6(0x161)),_0x29930d[_0x4ae4f6(0x11d)]['on'](_0x4ae4f6(0x132),()=>{const _0x565b09=_0x4ae4f6;_0x2afaba[_0x565b09(0x132)](),this[_0x565b09(0x184)][_0x565b09(0x13a)][_0x565b09(0x162)][_0x565b09(0xed)]();}),_0x3a6825(_0x29930d,_0x442709,{'role':_0x4ae4f6(0x178)});const _0x145ad2=[];for(const _0x1300fb of _0x442709)ke(_0x1300fb)&&_0x145ad2[_0x4ae4f6(0x142)](this[_0x4ae4f6(0x184)][_0x4ae4f6(0xf1)][_0x4ae4f6(0x18b)](_0x1300fb[_0x4ae4f6(0x186)][_0x4ae4f6(0x152)]));const _0x218e8e=_0x29930d[_0x4ae4f6(0x11d)];return _0x218e8e[_0x4ae4f6(0x139)][_0x4ae4f6(0xf5)](_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0xf3)][_0x4ae4f6(0xf5)](_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0x139)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x10f))['to'](_0x2afaba,_0x4ae4f6(0x10f)),_0x218e8e[_0x4ae4f6(0xf3)][_0x4ae4f6(0x12d)](_0x4ae4f6(0x10f))[_0x4ae4f6(0xf0)](_0x145ad2,_0x4ae4f6(0x10f),(..._0x2f4bb9)=>_0x2f4bb9[_0x4ae4f6(0x175)](_0x3786c3=>_0x3786c3)),_0x29930d['on'](_0x4ae4f6(0x132),_0xefd40=>{const _0xa671a9=_0x4ae4f6;this[_0xa671a9(0x184)][_0xa671a9(0x132)](_0xefd40[_0xa671a9(0x117)][_0xa671a9(0x152)]),this[_0xa671a9(0x184)][_0xa671a9(0x13a)][_0xa671a9(0x162)][_0xa671a9(0xed)]();}),_0x29930d;}[_0x47da23(0x121)](_0x2008eb,_0x559684,_0x1ed034){const _0x42ee6e=_0x47da23,_0x530239=new _0x21f552(_0x2008eb),_0x4f1b70=this[_0x42ee6e(0x184)][_0x42ee6e(0xf1)][_0x42ee6e(0x18b)](_0x42ee6e(0x165));_0x530239[_0x42ee6e(0x11d)][_0x42ee6e(0xf8)]({'label':_0x1ed034,'icon':_0x424e09});const _0x44562d=new _0x1a607e(_0x2008eb);for(const _0x27c93e of _0x559684){if(_0x42ee6e(0x124)==_0x27c93e[_0x42ee6e(0x102)]){_0x44562d[_0x42ee6e(0x15d)][_0x42ee6e(0x191)](new _0x43a044(_0x2008eb));continue;}const _0x1c29fe=new _0xa6e342(_0x2008eb,_0x530239),_0x45e75a=new _0x2321f7(_0x2008eb),_0x562739=_0x27c93e[_0x42ee6e(0x186)];_0x45e75a[_0x42ee6e(0x12d)](...Object[_0x42ee6e(0x177)](_0x562739))['to'](_0x562739),_0x45e75a[_0x42ee6e(0x159)](_0x42ee6e(0x132))['to'](_0x530239),_0x45e75a['on'](_0x42ee6e(0x132),()=>{const _0x3a844f=_0x42ee6e;this[_0x3a844f(0x184)][_0x3a844f(0x132)](_0x562739[_0x3a844f(0x152)]),this[_0x3a844f(0x184)][_0x3a844f(0x13a)][_0x3a844f(0x162)][_0x3a844f(0xed)]();}),_0x1c29fe[_0x42ee6e(0x103)][_0x42ee6e(0x191)](_0x45e75a),_0x44562d[_0x42ee6e(0x15d)][_0x42ee6e(0x191)](_0x1c29fe);}return _0x530239[_0x42ee6e(0x12d)](_0x42ee6e(0x10f))['to'](_0x4f1b70,_0x42ee6e(0x10f)),_0x530239[_0x42ee6e(0x14c)][_0x42ee6e(0x103)][_0x42ee6e(0x191)](_0x44562d),_0x530239;}[_0x47da23(0x105)](_0x59468f){const _0x260647=_0x47da23,_0x382fc1=this[_0x260647(0x184)],_0x12d07a=_0x382fc1[_0x260647(0x15c)],_0x409949=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x150)),_0x42b6af=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x12e)),_0x3f0f3d=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0xe9)),_0x58e883=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x324a4e)['me'],_0x2a0997=_0x12d07a[_0x260647(0x18b)](_0x260647(0x165))[_0x260647(0x182)],_0x3841e6=_0x12d07a[_0x260647(0x18b)](_0x260647(0x165))[_0x260647(0x116)],{CommentsListView:_0x5383fb,CommentThreadInputView:_0x57fb0c}=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0x125));let _0x1ff93a,_0x533d01,_0x1789b3;this[_0x260647(0xfe)][_0x260647(0x109)](_0x59468f['id'])?(_0x533d01=this[_0x260647(0xfe)][_0x260647(0x18b)](_0x59468f['id']),_0x1ff93a=_0x533d01[_0x260647(0x136)]):(_0x1ff93a=new _0x2a0997(_0x382fc1[_0x260647(0xff)],_0x59468f,_0x58e883,{'disableComments':this[_0x260647(0xec)],'editorConfig':{..._0x12d07a[_0x260647(0x18b)](_0x260647(0x193)),'licenseKey':_0x12d07a[_0x260647(0x18b)](_0x260647(0x104))},'maxCommentsWhenCollapsed':_0x12d07a[_0x260647(0x18b)](_0x260647(0x108)),'maxThreadTotalWeight':_0x12d07a[_0x260647(0x18b)](_0x260647(0x120)),'maxCommentCharsWhenCollapsed':_0x12d07a[_0x260647(0x18b)](_0x260647(0xe5)),'formatDateTime':_0x5323a8(_0x12d07a[_0x260647(0x18b)](_0x260647(0xff)),_0x382fc1[_0x260647(0xff)]),'CommentView':_0x12d07a[_0x260647(0x18b)](_0x260647(0x118))[_0x260647(0x18d)],'CommentsListView':_0x5383fb,'CommentThreadInputView':_0x57fb0c,'SuggestionView':_0x3841e6}),_0x1ff93a[_0x260647(0xfb)][_0x260647(0x140)]['on'](_0x260647(0x132),()=>{const _0x3126e4=_0x260647;_0x382fc1[_0x3126e4(0x13a)][_0x3126e4(0x162)][_0x3126e4(0xed)]();}),_0x1ff93a[_0x260647(0xfb)][_0x260647(0x112)]['on'](_0x260647(0x132),()=>{const _0x4e5f59=_0x260647;_0x382fc1[_0x4e5f59(0x13a)][_0x4e5f59(0x162)][_0x4e5f59(0xed)]();}),_0x533d01=_0x409949[_0x260647(0x114)](this[_0x260647(0x184)][_0x260647(0xff)],_0x1ff93a),_0x533d01[_0x260647(0x12d)](_0x260647(0x101))['to'](_0x1ff93a,_0x260647(0x101)),_0x533d01[_0x260647(0x12d)](_0x260647(0x196))['to'](_0x1ff93a),_0x533d01[_0x260647(0x12d)](_0x260647(0x102))['to'](_0x1ff93a,_0x260647(0x102),_0x46475d=>_0x260647(0x188)+_0x46475d),_0x1ff93a['on'](_0x260647(0x137),()=>{const _0xfa35e0=_0x260647;_0x1789b3[_0xfa35e0(0x12a)](_0xfa35e0(0x137));}),this[_0x260647(0xfe)][_0x260647(0xf8)](_0x59468f['id'],_0x533d01));const _0x55a5f7=_0x42b6af[_0x260647(0x11f)](_0x59468f[_0x260647(0x11b)],_0x1ff93a),_0x446ec2=new _0x408b28(_0x382fc1,_0x59468f,_0x1ff93a,_0x55a5f7),_0x2cbc3c=_0x59468f[_0x260647(0x13b)]()[_0x260647(0x133)](_0x5e875c=>_0x5e875c[_0x260647(0x181)]);_0x1ff93a[_0x260647(0x138)]=_0x382fc1[_0x260647(0xe7)][_0x260647(0x18b)](_0x260647(0xf6))[_0x260647(0x179)][_0x260647(0x14e)](_0x2cbc3c),this[_0x260647(0xf7)][_0x260647(0xf8)](_0x59468f,_0x446ec2),this[_0x260647(0x145)][_0x260647(0xf8)](_0x1ff93a,_0x446ec2);const _0x512a4e=()=>{const _0x49a8a5=_0x260647,_0x54b99a=[],_0x5ed57e=_0x59468f[_0x49a8a5(0x13b)]()[_0x49a8a5(0x133)](_0x5e76cd=>_0x5e76cd[_0x49a8a5(0x181)]);for(const _0x3ba922 of _0x5ed57e)_0x54b99a[_0x49a8a5(0x142)](..._0x3ba922[_0x49a8a5(0x110)]());return _0x53d80e(_0x382fc1[_0x49a8a5(0x13a)],_0x54b99a);};_0x1789b3=_0x409949[_0x260647(0x18a)]({'view':_0x533d01,'target':_0x512a4e,'type':()=>_0x260647(0x188)+_0x446ec2[_0x260647(0x162)][_0x260647(0x102)],'isVisible':!!_0x512a4e()}),_0x42b6af[_0x260647(0x18e)](_0x1ff93a,_0x1789b3),_0x409949[_0x260647(0x191)](_0x1789b3),_0x3f0f3d[_0x260647(0x15f)](_0x1789b3);}[_0x47da23(0x185)](_0x47b4f4){const _0x54b657=_0x47da23,_0x57fc82=this[_0x54b657(0x184)][_0x54b657(0xe7)][_0x54b657(0x18b)](_0x54b657(0x12e)),_0x3c7715=this[_0x54b657(0x184)][_0x54b657(0xe7)][_0x54b657(0x18b)](_0x54b657(0x150)),_0x1dcfe7=this[_0x54b657(0xf7)][_0x54b657(0x18b)](_0x47b4f4),_0x1bbef1=_0x1dcfe7[_0x54b657(0x162)],_0x31e038=_0x3c7715[_0x54b657(0x11a)](_0x1bbef1);_0x57fc82[_0x54b657(0x174)](_0x1bbef1),_0x31e038&&_0x3c7715[_0x54b657(0x16c)](_0x31e038),this[_0x54b657(0xf7)][_0x54b657(0xef)](_0x47b4f4),this[_0x54b657(0x145)][_0x54b657(0xef)](_0x1bbef1),_0x1dcfe7[_0x54b657(0xf2)]();}[_0x47da23(0xee)](_0x4d9619){const _0x4e8ff2=_0x47da23;if(!_0x4d9619[_0x4e8ff2(0x181)]||!this[_0x4e8ff2(0xf7)][_0x4e8ff2(0x109)](_0x4d9619))return;const _0x34b33f=this[_0x4e8ff2(0x184)][_0x4e8ff2(0xe7)][_0x4e8ff2(0x18b)](_0x4e8ff2(0xf6)),_0x41ee57=this[_0x4e8ff2(0xf7)][_0x4e8ff2(0x18b)](_0x4d9619),_0x52cc70=_0x4d9619[_0x4e8ff2(0x13b)]();_0x41ee57[_0x4e8ff2(0x162)][_0x4e8ff2(0x138)]=_0x34b33f[_0x4e8ff2(0x179)][_0x4e8ff2(0x14e)](_0x52cc70);}[_0x47da23(0xf2)](){const _0x1dfc69=_0x47da23;for(const _0x333f5f of this[_0x1dfc69(0xf7)][_0x1dfc69(0x177)]())this[_0x1dfc69(0x185)](_0x333f5f);for(const _0x3a0c65 of this[_0x1dfc69(0xfe)][_0x1dfc69(0x164)]())_0x3a0c65[_0x1dfc69(0x136)][_0x1dfc69(0xf2)]();super[_0x1dfc69(0xf2)](),this[_0x1dfc69(0xfc)]&&clearInterval(this[_0x1dfc69(0xfc)]);}}function ke(_0x228b31){const _0x361430=_0x47da23;return _0x361430(0x186)in _0x228b31;}function _0x4ed5(){const _0x483463=['getAllAdjacentSuggestions','trackChangesLicenseKeyNotAllowed','Track\x20changes','domainLimit','getSuggestion','acceptButton','Accept\x20all\x20suggestions','push','trackChangesLicenseKeyExpired','button','_viewToController','TrackChangesPreview','discardSelectedSuggestions','trackChangesLicenseKeyEvaluationLimit','TrackChangesUI','commentsListView','change:previous','panelView','590170vLHrli','getDescriptions','getAnnotationForSuggestion','Annotations','define','commandName','head','386573PcXaQu','_handleControllerBuffer','getJoined','featureNotAllowed','Accept\x20all\x20selected\x20suggestions','delegate','previous','addMany','config','items','lowest','registerAnnotation','reduce','value','view','trialLimit','values','trackChanges','menuitem','addComment','_addUIComponentsToFactory','pluginName','from','invalid','remove','trackChangesLicenseKeyDomainLimit','activeMarkers','getFirstRange','isOfficialPlugin','acceptAllSuggestions','12064KSgTdp','isOn','_unbindEditors','some','TrackChanges','keys','menu','descriptionFactory','_showLicenseError','evaluationLimit','614948ZGNvWr','refreshSelectedViews','getMarkerNames','trackChangesLicenseKeyUsageLimit','componentFactory','isInContent','SuggestionThreadView','306005ccmiRg','editor','_destroyController','model','clear','suggestion-','Discard\x20all\x20selected\x20suggestions','createAnnotation','get','activeAnnotations','CommentView','_bindAnnotationToEditors','stopListening','usageLimit','add','trackChanges.SuggestionThreadView','comments.editorConfig','getRanges','isMultiRange','length','8YHdXsz','comments.maxCommentCharsWhenCollapsed','trackChanges.disableComments','plugins','_handleSuggestionControllerDelayed','EditorAnnotations','6809823qHlZmP','trackChangesLicenseKeyInvalid','_disableComments','focus','_updateController','delete','toMany','commands','destroy','arrowView','6bjhvxr','unbind','TrackChangesEditing','_suggestionToController','set','suggestionLoaded','acceptSelectedSuggestions','suggestionView','_licenseKeyCheckInterval','switchbutton','_annotationViews','locale','change:activeAnnotations','isDirty','type','children','licenseKey','_initializeController','12eylnQF','expired','comments.maxCommentsWhenCollapsed','has','getSuggestionForAnnotation','suggestionChanged','innerView','_refreshActiveMarkers','addSourceCollector','isEnabled','getMarkers','370UOocYv','discardButton','trackChanges.SuggestionView','createAnnotationView','isPremiumPlugin','SuggestionView','source','comments','suggestionUnloaded','getByInnerView','commentThread','size','buttonView','menuitemcheckbox','createCommentThreadController','comments.maxThreadTotalWeight','_createMenuBarMenu','menuBar:trackChanges','695030HJCMCW','separator','CommentsUI','_createToolbarButton','listenTo','discardAllSuggestions','trackChangesLicenseKeyValid','fire','requires','init','bind','CommentsRepository','Preview\x20final\x20content','previewFinalContent','trackChangesLicenseKeyTrialLimit','execute','filter','hasSuggestion','Discard\x20all\x20suggestions','mainView','escape','descriptionParts','actionView','editing'];_0x4ed5=function(){return _0x483463;};return _0x4ed5();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x2f81(){const _0x10fe42=['_discardCommand','isEnabled','commentThreadController','canAccept','stopListening','acceptSuggestion','destroy','canEditAt','_removePendingAction','get','_pendingAction','discardSuggestion','commands','2yvZVHq','68SpCsOF','view','bind','1838556OlFgkW','canDiscard','PendingActions','remove','add','listenTo','change:isDirty','145655ozHjTX','PENDING_ACTION_SUGGESTION','13079430OSUeOd','319453fXeFIl','2234288yayYpL','locale','_setPendingAction','model','plugins','unbind','isDirty','_acceptCommand','execute','_editor','1807359IPJYlk','2820307UMfsui','getRanges'];_0x2f81=function(){return _0x10fe42;};return _0x2f81();}const _0x3441aa=_0x104f;(function(_0x565a84,_0x66c153){const _0x5b54f7=_0x104f,_0x491dbe=_0x565a84();while(!![]){try{const _0x56f0b0=-parseInt(_0x5b54f7(0x6f))/0x1*(parseInt(_0x5b54f7(0x8a))/0x2)+-parseInt(_0x5b54f7(0x7a))/0x3+-parseInt(_0x5b54f7(0x8b))/0x4*(parseInt(_0x5b54f7(0x6c))/0x5)+-parseInt(_0x5b54f7(0x65))/0x6+parseInt(_0x5b54f7(0x7b))/0x7+parseInt(_0x5b54f7(0x70))/0x8+parseInt(_0x5b54f7(0x6e))/0x9;if(_0x56f0b0===_0x66c153)break;else _0x491dbe['push'](_0x491dbe['shift']());}catch(_0x59a196){_0x491dbe['push'](_0x491dbe['shift']());}}}(_0x2f81,0x648fa));function _0x104f(_0x3ab74e,_0x54a3c8){const _0x2f81aa=_0x2f81();return _0x104f=function(_0x104fc6,_0x5a42e4){_0x104fc6=_0x104fc6-0x64;let _0xb04861=_0x2f81aa[_0x104fc6];return _0xb04861;},_0x104f(_0x3ab74e,_0x54a3c8);}import{ObservableMixin as _0x4c9012}from'ckeditor5/src/utils.js';import{getTranslation as _0x20b177}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4c9012(){[_0x3441aa(0x73)];[_0x3441aa(0x8c)];[_0x3441aa(0x7f)];[_0x3441aa(0x79)];[_0x3441aa(0x77)];[_0x3441aa(0x7d)];[_0x3441aa(0x87)];constructor(_0x3a7b8f,_0x513643,_0x125dc1,_0x28881c){const _0x4f47a7=_0x3441aa;super(),this[_0x4f47a7(0x73)]=_0x513643,this[_0x4f47a7(0x8c)]=_0x125dc1,this[_0x4f47a7(0x7f)]=_0x28881c,this[_0x4f47a7(0x79)]=_0x3a7b8f,this[_0x4f47a7(0x77)]=_0x3a7b8f[_0x4f47a7(0x89)][_0x4f47a7(0x86)](_0x4f47a7(0x82)),this[_0x4f47a7(0x7d)]=_0x3a7b8f[_0x4f47a7(0x89)][_0x4f47a7(0x86)](_0x4f47a7(0x88)),this[_0x4f47a7(0x8c)][_0x4f47a7(0x64)](_0x4f47a7(0x7e))['to'](this[_0x4f47a7(0x77)],this[_0x4f47a7(0x7d)],(_0x3c1e4d,_0x3cd4d6)=>_0x3c1e4d||_0x3cd4d6),this[_0x4f47a7(0x8c)][_0x4f47a7(0x64)](_0x4f47a7(0x80))['to'](this[_0x4f47a7(0x77)],_0x4f47a7(0x7e),_0x1ff1c2=>_0x1ff1c2&&this[_0x4f47a7(0x79)][_0x4f47a7(0x73)][_0x4f47a7(0x84)](_0x513643[_0x4f47a7(0x7c)]())),this[_0x4f47a7(0x8c)][_0x4f47a7(0x64)](_0x4f47a7(0x66))['to'](this[_0x4f47a7(0x7d)],_0x4f47a7(0x7e),_0x52245b=>_0x52245b&&this[_0x4f47a7(0x79)][_0x4f47a7(0x73)][_0x4f47a7(0x84)](_0x513643[_0x4f47a7(0x7c)]())),this[_0x4f47a7(0x87)]=null,_0x125dc1[_0x4f47a7(0x76)]&&this[_0x4f47a7(0x72)](),this[_0x4f47a7(0x6a)](_0x125dc1,_0x4f47a7(0x82),()=>this[_0x4f47a7(0x82)]()),this[_0x4f47a7(0x6a)](_0x125dc1,_0x4f47a7(0x88),()=>this[_0x4f47a7(0x88)]()),this[_0x4f47a7(0x6a)](_0x125dc1,_0x4f47a7(0x6b),()=>{const _0x17d98b=_0x4f47a7;_0x125dc1[_0x17d98b(0x76)]?this[_0x17d98b(0x72)]():this[_0x17d98b(0x85)]();});}[_0x3441aa(0x82)](){const _0xeefe23=_0x3441aa;this[_0xeefe23(0x77)][_0xeefe23(0x78)](this[_0xeefe23(0x73)]['id']);}[_0x3441aa(0x88)](){const _0x4207f7=_0x3441aa;this[_0x4207f7(0x7d)][_0x4207f7(0x78)](this[_0x4207f7(0x73)]['id']);}[_0x3441aa(0x83)](){const _0x2888fe=_0x3441aa;this[_0x2888fe(0x8c)][_0x2888fe(0x75)](_0x2888fe(0x7e)),this[_0x2888fe(0x8c)][_0x2888fe(0x75)](_0x2888fe(0x80)),this[_0x2888fe(0x8c)][_0x2888fe(0x75)](_0x2888fe(0x66)),this[_0x2888fe(0x81)](),this[_0x2888fe(0x7f)][_0x2888fe(0x83)](),this[_0x2888fe(0x87)]&&this[_0x2888fe(0x85)]();}[_0x3441aa(0x72)](){const _0x3e561f=_0x3441aa,_0x2df6b1=_0x20b177(this[_0x3e561f(0x79)][_0x3e561f(0x71)],_0x3e561f(0x6d));this[_0x3e561f(0x87)]=this[_0x3e561f(0x79)][_0x3e561f(0x74)][_0x3e561f(0x86)](_0x3e561f(0x67))[_0x3e561f(0x69)](_0x2df6b1);}[_0x3441aa(0x85)](){const _0x4d7551=_0x3441aa;null!==this[_0x4d7551(0x87)]&&this[_0x4d7551(0x79)][_0x4d7551(0x74)][_0x4d7551(0x86)](_0x4d7551(0x67))[_0x4d7551(0x68)](this[_0x4d7551(0x87)]),this[_0x4d7551(0x87)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdec65=_0x4ed3;(function(_0x2fbeab,_0x2bd1fa){const _0x18a3a1=_0x4ed3,_0x941180=_0x2fbeab();while(!![]){try{const _0x494755=-parseInt(_0x18a3a1(0x189))/0x1*(parseInt(_0x18a3a1(0x167))/0x2)+-parseInt(_0x18a3a1(0x186))/0x3+parseInt(_0x18a3a1(0x19d))/0x4*(parseInt(_0x18a3a1(0x18e))/0x5)+-parseInt(_0x18a3a1(0x17f))/0x6+parseInt(_0x18a3a1(0x17d))/0x7*(parseInt(_0x18a3a1(0x19b))/0x8)+parseInt(_0x18a3a1(0x191))/0x9*(parseInt(_0x18a3a1(0x196))/0xa)+parseInt(_0x18a3a1(0x198))/0xb*(-parseInt(_0x18a3a1(0x18a))/0xc);if(_0x494755===_0x2bd1fa)break;else _0x941180['push'](_0x941180['shift']());}catch(_0x33bf75){_0x941180['push'](_0x941180['shift']());}}}(_0x22f7,0xe5645));import{FocusCycler as _0x359c61,View as _0x4be6fe,ViewCollection as _0x37ed0c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3e0aba,KeystrokeHandler as _0x293642}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x5d196b,setupThreadKeyboardNavigation as _0x1f73b2}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x547767}from'../../utils/common-translations.js';function _0x4ed3(_0x56a353,_0xfbdcb){const _0x22f774=_0x22f7();return _0x4ed3=function(_0x4ed396,_0xbb6c00){_0x4ed396=_0x4ed396-0x158;let _0x19f30d=_0x22f774[_0x4ed396];return _0x19f30d;},_0x4ed3(_0x56a353,_0xfbdcb);}function _0x22f7(){const _0x540dfb=['body','focus','content','disableComments','canAccept','133618gEmWJA','commentInputView','_config','disabledSubmit','parseFromString','length','formatDateTime','delegate','addComment','join','isReadOnly','canDiscard','map','removeComment','submit','target','assign','hasDirtyComment','focusTracker','keystrokes','isDirty','locale','7lOJjTL','isEnabled','3863976XjKzbZ','authoredAt','cancel','_createCommentViews','ariaDescriptionView','editor','focusCycler','4123947snVHRx','value','ariaLabel','7OnKINm','4596168WPeTsN','element','name','fire','5CjVbcF','descriptionParts','updateComment','9ModPhR','author','_localUser','_createCommentThreadInputView','SUGGESTION_THREAD_DESCRIPTION','12016790FckUxo','text/html','11PcABgK','tab','showInput','6523176Wykvui','set','7167340mrjyji','SUGGESTION_THREAD_ARIA_LABEL','CommentView','isActive','bind','commentThread','editorConfig','commentsListView','setData','_model','focusables','destroy','shift+tab','commentThreadInputView','render','textContent'];_0x22f7=function(){return _0x540dfb;};return _0x22f7();}import{renderDescription as _0x46cd08}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x4be6fe{[_0xdec65(0x159)];[_0xdec65(0x15f)];[_0xdec65(0x183)];[_0xdec65(0x15c)];[_0xdec65(0x179)];[_0xdec65(0x17a)];[_0xdec65(0x185)];[_0xdec65(0x15b)];[_0xdec65(0x193)];[_0xdec65(0x169)];constructor(_0x43c66a,_0x1b1982,_0x1fa05e,_0x3b9115){const _0x1e0f84=_0xdec65;super(_0x43c66a),this[_0x1e0f84(0x159)]=null,this[_0x1e0f84(0x15f)]=null,this[_0x1e0f84(0x183)]=new _0x5d196b(_0x43c66a,_0x547767(_0x43c66a,_0x1e0f84(0x195))),this[_0x1e0f84(0x19c)](_0x1e0f84(0x1a0),!0x1),this[_0x1e0f84(0x19c)](_0x1e0f84(0x180),_0x1b1982[_0x1e0f84(0x180)]),this[_0x1e0f84(0x1a1)](_0x1e0f84(0x180))['to'](_0x1b1982),this[_0x1e0f84(0x19c)](_0x1e0f84(0x18f),[]),this[_0x1e0f84(0x19c)](_0x1e0f84(0x17b),!0x1),this[_0x1e0f84(0x19c)](_0x1e0f84(0x17e),!0x1),this[_0x1e0f84(0x19c)](_0x1e0f84(0x166),!0x1),this[_0x1e0f84(0x19c)](_0x1e0f84(0x172),!0x1),this[_0x1e0f84(0x1a1)](_0x1e0f84(0x188))['to'](this,_0x1e0f84(0x16c),_0x1b1982,_0x1e0f84(0x180),this,_0x1e0f84(0x18f),(_0x21c68b,_0x479095,_0x48aaff)=>{const _0x32e8df=_0x1e0f84,_0x465a02=_0x48aaff[_0x32e8df(0x173)](_0x5a1f22=>_0x46cd08(_0x5a1f22[_0x32e8df(0x164)]))[_0x32e8df(0x170)]('.\x20')+'.';return _0x547767(this[_0x32e8df(0x17c)],_0x32e8df(0x19e),[_0x21c68b-0x1,_0x1b1982[_0x32e8df(0x192)][_0x32e8df(0x18c)],_0x479095?_0x3b9115[_0x32e8df(0x16d)](_0x479095):'',new DOMParser()[_0x32e8df(0x16b)](_0x465a02,_0x32e8df(0x197))[_0x32e8df(0x162)][_0x32e8df(0x161)]]);}),this[_0x1e0f84(0x15c)]=new _0x37ed0c(),this[_0x1e0f84(0x179)]=new _0x3e0aba(),this[_0x1e0f84(0x17a)]=new _0x293642(),this[_0x1e0f84(0x185)]=new _0x359c61({'focusables':this[_0x1e0f84(0x15c)],'focusTracker':this[_0x1e0f84(0x179)],'keystrokeHandler':this[_0x1e0f84(0x17a)],'keystrokeHandlerOptions':{'filter':_0x3fa608=>_0x3fa608[_0x1e0f84(0x176)]!==this[_0x1e0f84(0x18b)]},'actions':{'focusPrevious':_0x1e0f84(0x15e),'focusNext':_0x1e0f84(0x199)}}),this[_0x1e0f84(0x15b)]=_0x1b1982,this[_0x1e0f84(0x193)]=_0x1fa05e,this[_0x1e0f84(0x169)]=_0x3b9115,_0x3b9115[_0x1e0f84(0x165)]?this[_0x1e0f84(0x19c)](_0x1e0f84(0x16c),0x1):this[_0x1e0f84(0x182)]();}[_0xdec65(0x160)](){const _0x2faf3b=_0xdec65;super[_0x2faf3b(0x160)](),_0x1f73b2(this,this[_0x2faf3b(0x15c)]);}[_0xdec65(0x163)](){const _0x2b5df8=_0xdec65;this[_0x2b5df8(0x18b)][_0x2b5df8(0x163)]();}[_0xdec65(0x15d)](){const _0x18d3f9=_0xdec65;this[_0x18d3f9(0x159)]&&this[_0x18d3f9(0x159)][_0x18d3f9(0x15d)](),this[_0x18d3f9(0x15f)]&&this[_0x18d3f9(0x15f)][_0x18d3f9(0x15d)](),super[_0x18d3f9(0x15d)]();}[_0xdec65(0x182)](){const _0x440545=_0xdec65,{CommentsListView:_0x50b342}=this[_0x440545(0x169)];this[_0x440545(0x159)]=new _0x50b342(this[_0x440545(0x17c)],this[_0x440545(0x15b)][_0x440545(0x1a2)],Object[_0x440545(0x177)]({'CommentView':this[_0x440545(0x169)][_0x440545(0x19f)]},this[_0x440545(0x169)])),this[_0x440545(0x159)][_0x440545(0x16e)](_0x440545(0x174))['to'](this),this[_0x440545(0x159)][_0x440545(0x16e)](_0x440545(0x190))['to'](this),this[_0x440545(0x159)][_0x440545(0x1a1)](_0x440545(0x1a0))['to'](this),this[_0x440545(0x19c)](_0x440545(0x16c),this[_0x440545(0x159)][_0x440545(0x16c)]+0x1),this[_0x440545(0x1a1)](_0x440545(0x16c))['to'](this[_0x440545(0x159)],_0x440545(0x16c),_0x4e4a3f=>_0x4e4a3f+0x1),this[_0x440545(0x15f)]=this[_0x440545(0x194)](),this['on'](_0x440545(0x174),()=>this[_0x440545(0x163)]()),this[_0x440545(0x1a1)](_0x440545(0x17b))['to'](this[_0x440545(0x159)],_0x440545(0x178),this[_0x440545(0x15f)][_0x440545(0x168)],_0x440545(0x187),(_0x4b86cb,_0x3f7753)=>_0x4b86cb||!!_0x3f7753);}[_0xdec65(0x194)](){const _0x338a2d=_0xdec65,{CommentThreadInputView:_0x386f55}=this[_0x338a2d(0x169)],_0x4fbca1=new _0x386f55(this[_0x338a2d(0x17c)],this[_0x338a2d(0x193)],this[_0x338a2d(0x169)][_0x338a2d(0x158)]),_0x15ac79=_0x4fbca1[_0x338a2d(0x168)];return _0x4fbca1[_0x338a2d(0x1a1)](_0x338a2d(0x19a))['to'](this,_0x338a2d(0x1a0),this[_0x338a2d(0x15b)][_0x338a2d(0x1a2)],_0x338a2d(0x171),_0x15ac79,_0x338a2d(0x187),(_0x19f986,_0x353371,_0x50c3b8)=>!!_0x50c3b8||_0x19f986&&!_0x353371),_0x15ac79['on'](_0x338a2d(0x175),(_0xc19937,_0x354ec9)=>{const _0x2a5f33=_0x338a2d;this[_0x2a5f33(0x18d)](_0x2a5f33(0x16f),_0x354ec9),_0x15ac79[_0x2a5f33(0x184)][_0x2a5f33(0x15a)]('');}),_0x15ac79['on'](_0x338a2d(0x181),()=>this[_0x338a2d(0x163)]()),_0x15ac79[_0x338a2d(0x1a1)](_0x338a2d(0x16a))['to'](this[_0x338a2d(0x15b)][_0x338a2d(0x1a2)],_0x338a2d(0x171)),_0x4fbca1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x180573=_0x2588;(function(_0x2a0894,_0x337f4a){const _0x1ed733=_0x2588,_0x38e743=_0x2a0894();while(!![]){try{const _0x1004b7=parseInt(_0x1ed733(0x1bf))/0x1+parseInt(_0x1ed733(0x1b3))/0x2*(parseInt(_0x1ed733(0x1b6))/0x3)+parseInt(_0x1ed733(0x1af))/0x4*(parseInt(_0x1ed733(0x1ae))/0x5)+-parseInt(_0x1ed733(0x1ab))/0x6*(-parseInt(_0x1ed733(0x1c7))/0x7)+-parseInt(_0x1ed733(0x1ad))/0x8+parseInt(_0x1ed733(0x1c4))/0x9+-parseInt(_0x1ed733(0x1a1))/0xa;if(_0x1004b7===_0x337f4a)break;else _0x38e743['push'](_0x38e743['shift']());}catch(_0xb1ed9d){_0x38e743['push'](_0x38e743['shift']());}}}(_0x1037,0xa823b));import{BaseSuggestionThreadView as _0x155119}from'./basesuggestionthreadview.js';import{trimHtml as _0xa9a9a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1d8ce8}from'../../utils/utils.js';export class SuggestionThreadView extends _0x155119{[_0x180573(0x1a3)];[_0x180573(0x19a)];constructor(_0x3fddc9,_0xe0e808,_0x43f6d5,_0x54b5ee){const _0x59dfae=_0x180573;super(_0x3fddc9,_0xe0e808,_0x43f6d5,_0x54b5ee),this[_0x59dfae(0x195)](_0x59dfae(0x1c8),''),this[_0x59dfae(0x19e)](_0x59dfae(0x1c8))['to'](this,_0x59dfae(0x1a6),_0x59f6ae=>_0x59f6ae&&_0x59f6ae[0x0]?_0x59f6ae[0x0][_0x59dfae(0x1c8)]:''),this[_0x59dfae(0x19e)](_0x59dfae(0x1ba))['to'](this,_0x59dfae(0x1a6),this,_0x59dfae(0x199),(_0x1dc37a,_0x3603ae)=>{const _0x20cea2=_0x59dfae;let _0x14221c='';for(const _0x32853a of _0x1dc37a)_0x14221c+=_0x20cea2(0x1aa)+_0x1d8ce8(_0x32853a[_0x20cea2(0x1b2)],_0x32853a[_0x20cea2(0x19c)])+_0x20cea2(0x197);return _0x3603ae?_0x14221c:_0xa9a9a9(_0x14221c,{'limit':0x8c});}),this[_0x59dfae(0x19a)]=null,this[_0x59dfae(0x1a3)]=new _0x54b5ee[(_0x59dfae(0x1c3))](_0x3fddc9,_0xe0e808,{'formatDateTime':_0x54b5ee[_0x59dfae(0x1b4)]}),this[_0x59dfae(0x1a3)][_0x59dfae(0x19e)](_0x59dfae(0x1ba))['to'](this),this[_0x59dfae(0x1a3)][_0x59dfae(0x1a0)](_0x59dfae(0x1b1),_0x59dfae(0x1b8))['to'](this),this[_0x59dfae(0x1a3)][_0x59dfae(0x1c1)][_0x59dfae(0x19e)](_0x59dfae(0x1a2))['to'](this,_0x59dfae(0x1bd)),this[_0x59dfae(0x1a3)][_0x59dfae(0x1c9)][_0x59dfae(0x19e)](_0x59dfae(0x1a2))['to'](this,_0x59dfae(0x1b7)),this[_0x59dfae(0x1cb)][_0x59dfae(0x1a9)](this[_0x59dfae(0x1a3)]),this[_0x59dfae(0x196)]&&this[_0x59dfae(0x1cb)][_0x59dfae(0x1a9)](this[_0x59dfae(0x196)]),this[_0x59dfae(0x1bb)]&&this[_0x59dfae(0x1cb)][_0x59dfae(0x1a9)](this[_0x59dfae(0x1bb)]),this[_0x59dfae(0x1a7)](this[_0x59dfae(0x19f)]());}[_0x180573(0x19f)](){const _0x20ad96=_0x180573,_0x2d5cbc=this[_0x20ad96(0x1bc)],_0x2bedad=[this[_0x20ad96(0x1a3)]];return this[_0x20ad96(0x196)]&&_0x2bedad[_0x20ad96(0x198)](this[_0x20ad96(0x196)]),this[_0x20ad96(0x1bb)]&&_0x2bedad[_0x20ad96(0x198)](this[_0x20ad96(0x1bb)]),_0x2bedad[_0x20ad96(0x198)](this[_0x20ad96(0x1cc)]),{'tag':_0x20ad96(0x1c0),'attributes':{'class':['ck',_0x20ad96(0x1a4),_0x20ad96(0x1a5),_0x2d5cbc['if'](_0x20ad96(0x199),_0x20ad96(0x1c6)),_0x2d5cbc['to'](_0x20ad96(0x1c8),_0x1e07a2=>_0x20ad96(0x1be)+_0x1e07a2),this[_0x20ad96(0x1b0)][_0x20ad96(0x1ac)]&&_0x20ad96(0x1b9)],'data-suggestion-id':this[_0x20ad96(0x19b)]['id'],'data-thread-id':this[_0x20ad96(0x19b)][_0x20ad96(0x1c5)]['id'],'data-author-id':this[_0x20ad96(0x19b)][_0x20ad96(0x194)]['id'],'tabindex':0x0,'role':_0x20ad96(0x1b5),'aria-label':_0x2d5cbc['to'](_0x20ad96(0x1c2)),'aria-describedby':this[_0x20ad96(0x1cc)]['id']},'children':_0x2bedad};}[_0x180573(0x1a8)](){const _0x43af36=_0x180573;super[_0x43af36(0x1a8)](),this[_0x43af36(0x196)]&&(this[_0x43af36(0x196)][_0x43af36(0x1a0)](_0x43af36(0x19d))['to'](this),this[_0x43af36(0x196)][_0x43af36(0x1a0)](_0x43af36(0x1ca))['to'](this)),this[_0x43af36(0x1bb)]&&(this[_0x43af36(0x1bb)][_0x43af36(0x1a0)](_0x43af36(0x19d))['to'](this),this[_0x43af36(0x1bb)][_0x43af36(0x1a0)](_0x43af36(0x1ca))['to'](this));}}function _0x2588(_0x307ec3,_0xfddc0d){const _0x1037d6=_0x1037();return _0x2588=function(_0x258876,_0x4bea1e){_0x258876=_0x258876-0x194;let _0x5404dd=_0x1037d6[_0x258876];return _0x5404dd;},_0x2588(_0x307ec3,_0xfddc0d);}function _0x1037(){const _0x1647a0=['35HEbOkW','type','discardButton','editorDestroyed','focusables','ariaDescriptionView','author','set','commentsListView','</p>','push','isActive','_descriptionElement','_model','color','editorReady','bind','getTemplate','delegate','20639840slxaaq','isEnabled','suggestionView','ck-rounded-corners','ck-suggestion-wrapper','descriptionParts','setTemplate','render','add','<p>','882102OqdQHA','disableComments','4526176fZThjz','875QvZnCZ','1312CWinFf','_config','acceptSuggestion','content','3190hpCJVK','formatDateTime','listitem','1863HAQMzF','canDiscard','discardSuggestion','ck-suggestion--disabled-comments','description','commentThreadInputView','bindTemplate','canAccept','ck-suggestion-','762815dvQbdp','div','acceptButton','ariaLabel','SuggestionView','6953940gomxVt','commentThread','ck-suggestion-wrapper--active'];_0x1037=function(){return _0x1647a0;};return _0x1037();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b5151=_0x580d;(function(_0x33897d,_0x1febec){const _0x567d44=_0x580d,_0x5aa4d2=_0x33897d();while(!![]){try{const _0x4b397c=-parseInt(_0x567d44(0xee))/0x1+parseInt(_0x567d44(0x102))/0x2*(-parseInt(_0x567d44(0xef))/0x3)+parseInt(_0x567d44(0x115))/0x4*(-parseInt(_0x567d44(0x10a))/0x5)+parseInt(_0x567d44(0xce))/0x6*(-parseInt(_0x567d44(0xdb))/0x7)+-parseInt(_0x567d44(0xcd))/0x8*(parseInt(_0x567d44(0xfb))/0x9)+parseInt(_0x567d44(0xd3))/0xa*(-parseInt(_0x567d44(0x116))/0xb)+parseInt(_0x567d44(0xdc))/0xc*(parseInt(_0x567d44(0x10d))/0xd);if(_0x4b397c===_0x1febec)break;else _0x5aa4d2['push'](_0x5aa4d2['shift']());}catch(_0x408876){_0x5aa4d2['push'](_0x5aa4d2['shift']());}}}(_0x4ff6,0xecbb2));import{FocusTracker as _0xac8321,KeystrokeHandler as _0x319108}from'ckeditor5/src/utils.js';function _0x4ff6(){const _0x4902bf=['ck-annotation__content-wrapper','ck-annotation__user','span','ck-annotation__info-name','bind','div','innerHTML','presentation','1666058qrlkGk','2517tdqtMT','setTemplate','EXTERNAL_SUGGESTION','enter','fire','_config','ck-suggestion__user','getUserViewNotificationText','ck-annotation__info','importWord','discardSuggestion','_model','18LMHOTy','userView','.ck-annotation__content-wrapper','ck-annotation__main','add','ck-comment__external','target','2126RIUbiU','time','focus','ck-suggestion--discard','render','ck-suggestion','acceptButton','source','5456845WaWgJf','getTemplate','getExternalSuggestionNote','104053066SmccIF','ck-annotation__info-time','listenTo','acceptSuggestion','EXTERNAL_IMPORT_WORD_AVATAR','isExternal','ck-annotation__actions','ck-suggestion__main','4ZOWKFv','10496684ugwzNW','authoredAt','description','attributes','discardButton','EXTERNAL_AVATAR','ck-suggestion--accept','ck-comment__info-time','Discard\x20suggestion','focusCycler','ck-suggestion__info','set','shift+tab','element','esc','focusTracker','creator','focusables','tab','3610216hzWbuW','66450WaNlDs','author','push','_createButton','ck-suggestion__info-name','10ZeGzVp','extendTemplate','keystrokes','@external','_setupKeyboardNavigation','locale','focusFirst','formatDateTime','966UvpvmC','12GMUmcr','ck-annotation','execute','querySelector','bindTemplate','change:description','Accept\x20suggestion','ck-suggestion__actions','name','EXTERNAL_IMPORT_WORD_SUGGESTION'];_0x4ff6=function(){return _0x4902bf;};return _0x4ff6();}import{View as _0x16362d,ViewCollection as _0x34f5b3,FocusCycler as _0x3a12e1}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0xdb9dba,UserView as _0x337f04}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x1e50bb,IconCheck as _0x306514}from'ckeditor5/src/icons.js';function _0x580d(_0x2c3197,_0x2ab501){const _0x4ff65f=_0x4ff6();return _0x580d=function(_0x580d4c,_0x580bec){_0x580d4c=_0x580d4c-0xbb;let _0x5c6764=_0x4ff65f[_0x580d4c];return _0x5c6764;},_0x580d(_0x2c3197,_0x2ab501);}import{getTranslation as _0x52bd64}from'../../utils/common-translations.js';export class SuggestionView extends _0x16362d{[_0x3b5151(0xfc)];[_0x3b5151(0x108)];[_0x3b5151(0xbe)];[_0x3b5151(0xcb)];[_0x3b5151(0xc9)];[_0x3b5151(0xd5)];[_0x3b5151(0xc3)];[_0x3b5151(0xfa)];[_0x3b5151(0xf4)];constructor(_0x470bd2,_0x3a369a,_0x5822da){const _0x3fad2f=_0x3b5151;super(_0x470bd2),this[_0x3fad2f(0xfa)]=_0x3a369a,this[_0x3fad2f(0xf4)]=_0x5822da,this[_0x3fad2f(0xc5)](_0x3fad2f(0xbc),''),this[_0x3fad2f(0xea)](_0x3fad2f(0xbb))['to'](_0x3a369a),this[_0x3fad2f(0x108)]=this[_0x3fad2f(0xd1)](_0x52bd64(_0x470bd2,_0x3fad2f(0xe2)),_0x306514,_0x3fad2f(0xc0),_0x3fad2f(0x110),'sw'),this[_0x3fad2f(0xbe)]=this[_0x3fad2f(0xd1)](_0x52bd64(_0x470bd2,_0x3fad2f(0xc2)),_0x1e50bb,_0x3fad2f(0x105),_0x3fad2f(0xf9),'sw'),this[_0x3fad2f(0xfc)]=new _0x337f04(_0x470bd2,_0x3a369a[_0x3fad2f(0xcf)],this[_0x3fad2f(0xf6)]()),this[_0x3fad2f(0xfc)][_0x3fad2f(0xd4)]({'attributes':{'class':[_0x3fad2f(0xf5),_0x3fad2f(0xe7)],'aria-hidden':!0x0}}),this[_0x3fad2f(0xcb)]=new _0x34f5b3([this[_0x3fad2f(0x108)],this[_0x3fad2f(0xbe)]]),this[_0x3fad2f(0xc9)]=new _0xac8321(),this[_0x3fad2f(0xd5)]=new _0x319108(),this[_0x3fad2f(0xc3)]=new _0x3a12e1({'focusables':this[_0x3fad2f(0xcb)],'focusTracker':this[_0x3fad2f(0xc9)],'keystrokeHandler':this[_0x3fad2f(0xd5)],'actions':{'focusPrevious':_0x3fad2f(0xc6),'focusNext':_0x3fad2f(0xcc)},'keystrokeHandlerOptions':{'filter':_0x2cd98d=>_0x2cd98d[_0x3fad2f(0x101)]!==this[_0x3fad2f(0xc7)]}}),this[_0x3fad2f(0xf0)](this[_0x3fad2f(0x10b)]());}[_0x3b5151(0x106)](){const _0x136c51=_0x3b5151;super[_0x136c51(0x106)]();const _0x156502=this[_0x136c51(0xc7)][_0x136c51(0xdf)](_0x136c51(0xfd));_0x156502[_0x136c51(0xec)]=this[_0x136c51(0xbc)],this['on'](_0x136c51(0xe1),(_0x3e9916,_0x40e166,_0x3cac41)=>{const _0x21bdbd=_0x136c51;_0x156502[_0x21bdbd(0xec)]=_0x3cac41;}),this[_0x136c51(0xd7)]();}[_0x3b5151(0x10b)](){const _0x3d29ed=_0x3b5151,_0x23a8e3=this[_0x3d29ed(0xe0)],_0x2e0414=[{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0xc4),_0x3d29ed(0xf7)]},'children':[{'tag':_0x3d29ed(0xe8),'children':[{'text':this[_0x3d29ed(0xfc)][_0x3d29ed(0xe4)]}],'attributes':{'class':[_0x3d29ed(0xd2),_0x3d29ed(0xe9)],'data-cke-tooltip-text':this[_0x3d29ed(0xfc)][_0x3d29ed(0xe4)]}},{'tag':_0x3d29ed(0x103),'attributes':{'datetime':_0x23a8e3['to'](_0x3d29ed(0xbb)),'class':[_0x3d29ed(0xc1),_0x3d29ed(0x10e)]},'children':[{'text':_0x23a8e3['to'](_0x3d29ed(0xbb),_0x31eddb=>this[_0x3d29ed(0xf4)][_0x3d29ed(0xda)](_0x31eddb))}]}]},{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0xe3),_0x3d29ed(0x113)]},'children':[this[_0x3d29ed(0x108)],this[_0x3d29ed(0xbe)]]},{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0xe6)]}}];return this[_0x3d29ed(0xfa)][_0x3d29ed(0x112)]&&_0x2e0414[_0x3d29ed(0xd0)]({'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0x100)]},'children':[{'text':this[_0x3d29ed(0x10c)]()}]}),{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0x107),_0x3d29ed(0xdd)],'tabindex':-0x1},'children':[this[_0x3d29ed(0xfc)],{'tag':_0x3d29ed(0xeb),'attributes':{'class':[_0x3d29ed(0x114),_0x3d29ed(0xfe)],'role':_0x3d29ed(0xed)},'children':_0x2e0414}]};}[_0x3b5151(0x104)](){const _0x20195c=_0x3b5151;this[_0x20195c(0xc7)][_0x20195c(0x104)]();}[_0x3b5151(0xf6)](){const _0x241883=_0x3b5151;return this[_0x241883(0xfa)][_0x241883(0x112)]?_0x241883(0xf8)===this[_0x241883(0xfa)][_0x241883(0xbd)][_0x241883(0xd6)][_0x241883(0x109)]?_0x52bd64(this[_0x241883(0xd8)],_0x241883(0x111),this[_0x241883(0xfa)][_0x241883(0xca)][_0x241883(0xe4)]):_0x52bd64(this[_0x241883(0xd8)],_0x241883(0xbf),this[_0x241883(0xfa)][_0x241883(0xca)][_0x241883(0xe4)]):null;}[_0x3b5151(0x10c)](){const _0x287a39=_0x3b5151;return _0x287a39(0xf8)===this[_0x287a39(0xfa)][_0x287a39(0xbd)][_0x287a39(0xd6)][_0x287a39(0x109)]?_0x52bd64(this[_0x287a39(0xd8)],_0x287a39(0xe5)):_0x52bd64(this[_0x287a39(0xd8)],_0x287a39(0xf1));}[_0x3b5151(0xd1)](_0x2f28f0,_0x1a0b5f,_0x9acb2c,_0x11d5d5,_0x18fbe1){const _0x2721d6=_0x3b5151,_0x16881e=new _0xdb9dba(this[_0x2721d6(0xd8)]);return _0x16881e[_0x2721d6(0xc5)]({'label':_0x2f28f0,'icon':_0x1a0b5f,'tooltip':!0x0,'tooltipPosition':_0x18fbe1}),_0x16881e[_0x2721d6(0xd4)]({'attributes':{'class':_0x9acb2c}}),_0x16881e['on'](_0x2721d6(0xde),()=>{const _0x33d5c5=_0x2721d6;this[_0x33d5c5(0xf3)](_0x11d5d5,this[_0x33d5c5(0xfa)]['id']);}),_0x16881e;}[_0x3b5151(0xd7)](){const _0x34fc7d=_0x3b5151,_0x54c1cd=this[_0x34fc7d(0xc7)];this[_0x34fc7d(0xd5)][_0x34fc7d(0x10f)](_0x54c1cd);for(const _0x17040b of this[_0x34fc7d(0xcb)])this[_0x34fc7d(0xc9)][_0x34fc7d(0xff)](_0x17040b[_0x34fc7d(0xc7)]),this[_0x34fc7d(0xd5)][_0x34fc7d(0x10f)](_0x17040b[_0x34fc7d(0xc7)]);this[_0x34fc7d(0xd5)][_0x34fc7d(0xc5)](_0x34fc7d(0xf2),(_0x5221f1,_0x152816)=>{const _0x39656d=_0x34fc7d;_0x54c1cd===_0x5221f1[_0x39656d(0x101)]&&(this[_0x39656d(0xc3)][_0x39656d(0xd9)](),_0x152816());}),this[_0x34fc7d(0xd5)][_0x34fc7d(0xc5)](_0x34fc7d(0xc8),(_0x54a373,_0x211bb2)=>{const _0x5e13ad=_0x34fc7d;_0x54c1cd!==_0x54a373[_0x5e13ad(0x101)]&&(this[_0x5e13ad(0x104)](),_0x211bb2());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44124a=_0x3e50;(function(_0x4bcfea,_0x57f3a6){const _0x428ee1=_0x3e50,_0x512bb9=_0x4bcfea();while(!![]){try{const _0x22bf75=parseInt(_0x428ee1(0x164))/0x1+parseInt(_0x428ee1(0x17a))/0x2*(-parseInt(_0x428ee1(0x160))/0x3)+-parseInt(_0x428ee1(0x166))/0x4+-parseInt(_0x428ee1(0x17c))/0x5*(-parseInt(_0x428ee1(0x16d))/0x6)+parseInt(_0x428ee1(0x161))/0x7*(-parseInt(_0x428ee1(0x178))/0x8)+parseInt(_0x428ee1(0x17b))/0x9+parseInt(_0x428ee1(0x17f))/0xa*(-parseInt(_0x428ee1(0x16c))/0xb);if(_0x22bf75===_0x57f3a6)break;else _0x512bb9['push'](_0x512bb9['shift']());}catch(_0x32a386){_0x512bb9['push'](_0x512bb9['shift']());}}}(_0x5d07,0x73d14));function _0x3e50(_0x45b333,_0x25996f){const _0x5d07b7=_0x5d07();return _0x3e50=function(_0x3e50e4,_0x21e484){_0x3e50e4=_0x3e50e4-0x15f;let _0x542435=_0x5d07b7[_0x3e50e4];return _0x542435;},_0x3e50(_0x45b333,_0x25996f);}function _0x5d07(){const _0x33acf7=['176YNYwId','height','4276JqIcOq','4790583eRtjkf','8315SVZiNl','createElement','fire','10AVPgzi','setAttribute','style','setPreviewData','204xpiDee','69650qGWEmw','width','ck-track-changes-preview','841868WVKIwb','setTemplate','3426480NXjTPQ','\x20ck-track-changes-preview__root-container','data-ck-root-name','className','push','options','363902RNHwPG','1278dBqBZs','div','dialogRects','previewDataReady','focus','content','render','element','classes','innerHTML','ck-reset'];_0x5d07=function(){return _0x33acf7;};return _0x5d07();}import{View as _0x2661ae}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x2661ae{[_0x44124a(0x16b)];constructor(_0x16b158,_0x207b4a){const _0x3a8447=_0x44124a;super(_0x16b158),this[_0x3a8447(0x16b)]=_0x207b4a,this[_0x3a8447(0x165)]({'tag':_0x3a8447(0x16e),'attributes':{'class':['ck',_0x3a8447(0x177),_0x3a8447(0x163)],'tabindex':-0x1}});}[_0x44124a(0x173)](){const _0x1fd0bb=_0x44124a;super[_0x1fd0bb(0x173)](),this[_0x1fd0bb(0x174)][_0x1fd0bb(0x181)][_0x1fd0bb(0x162)]=this[_0x1fd0bb(0x16b)][_0x1fd0bb(0x16f)][_0x1fd0bb(0x162)]+'px',this[_0x1fd0bb(0x174)][_0x1fd0bb(0x181)][_0x1fd0bb(0x179)]=this[_0x1fd0bb(0x16b)][_0x1fd0bb(0x16f)][_0x1fd0bb(0x179)]+'px';}[_0x44124a(0x15f)](_0x35ac89,_0x5b7720){const _0x322aa4=_0x44124a;if(!this[_0x322aa4(0x174)])return;const _0x10744c=[];for(const [_0x1c4a50,_0x9238cc]of _0x35ac89){const _0x1f2b3d=document[_0x322aa4(0x17d)](_0x322aa4(0x16e));_0x1f2b3d[_0x322aa4(0x180)](_0x322aa4(0x168),_0x1c4a50),_0x1f2b3d[_0x322aa4(0x169)]=_0x9238cc[_0x322aa4(0x175)]+_0x322aa4(0x167),_0x1f2b3d[_0x322aa4(0x176)]=_0x9238cc[_0x322aa4(0x172)],_0x10744c[_0x322aa4(0x16a)](_0x1f2b3d);}_0x5b7720(this[_0x322aa4(0x174)],_0x10744c),this[_0x322aa4(0x174)][_0x322aa4(0x181)][_0x322aa4(0x179)]='',this[_0x322aa4(0x17e)](_0x322aa4(0x170));}[_0x44124a(0x171)](){const _0x1eb805=_0x44124a;this[_0x1eb805(0x174)][_0x1eb805(0x171)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x12dbbb,_0x11977d,_0x113098){const _0x2aa1e6=_0x12dbbb['t'],t=_0x12dbbb['t'];switch(_0x11977d){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x113098);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x113098);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x113098);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x113098);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x113098);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',_0x113098);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x113098);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x113098);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x113098);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x113098);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x113098);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x113098);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x113098);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x113098);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x113098);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x113098);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x113098);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x113098);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x113098);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x113098);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x113098);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x113098);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x113098);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x113098);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x113098);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'},_0x113098);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x113098);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x113098);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x113098);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x113098);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x113098);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x113098);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x113098);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'},_0x113098);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x113098);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x113098);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x113098);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x113098);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'},_0x113098);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x113098);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'},_0x113098);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0x113098);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x113098);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'},_0x113098);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x113098);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'},_0x113098);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x113098);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x113098);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x113098);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x113098);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x113098);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'},_0x113098);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x113098);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 _0x2aa1e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x113098);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2aa1e6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x113098);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x113098);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'},_0x113098);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'},_0x113098);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'},_0x113098);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x11977d;}}
|
|
23
|
+
export function getTranslation(_0x4ed549,_0x251808,_0x3b4644){const _0x2eb0a0=_0x4ed549['t'],t=_0x4ed549['t'];switch(_0x251808){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x3b4644);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3b4644);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3b4644);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3b4644);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3b4644);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',_0x3b4644);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3b4644);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x3b4644);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3b4644);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3b4644);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3b4644);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3b4644);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3b4644);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3b4644);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3b4644);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3b4644);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3b4644);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3b4644);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3b4644);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3b4644);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3b4644);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3b4644);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3b4644);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3b4644);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3b4644);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'},_0x3b4644);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3b4644);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3b4644);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3b4644);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3b4644);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3b4644);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3b4644);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3b4644);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3b4644);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3b4644);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3b4644);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'},_0x3b4644);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0x3b4644);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3b4644);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3b4644);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3b4644);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3b4644);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3b4644);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'},_0x3b4644);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3b4644);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 _0x2eb0a0({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3b4644);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x2eb0a0({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3b4644);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3b4644);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'},_0x3b4644);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'},_0x3b4644);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'},_0x3b4644);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x251808;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4af54f,_0x3489d7){const _0x5575f3=_0x2ecf,_0x51706b=_0x4af54f();while(!![]){try{const _0x1ef0e9=parseInt(_0x5575f3(0xca))/0x1+parseInt(_0x5575f3(0xa4))/0x2*(-parseInt(_0x5575f3(0xc7))/0x3)+-parseInt(_0x5575f3(0xb6))/0x4*(parseInt(_0x5575f3(0xbe))/0x5)+parseInt(_0x5575f3(0xac))/0x6+-parseInt(_0x5575f3(0xbc))/0x7+-parseInt(_0x5575f3(0xa7))/0x8+-parseInt(_0x5575f3(0xc0))/0x9*(-parseInt(_0x5575f3(0xa5))/0xa);if(_0x1ef0e9===_0x3489d7)break;else _0x51706b['push'](_0x51706b['shift']());}catch(_0x3a6d83){_0x51706b['push'](_0x51706b['shift']());}}}(_0x5c96,0xb1071));export function normalizeDescription(_0x6cc6a7){const _0x7df34=_0x2ecf;return Array[_0x7df34(0xd0)](_0x6cc6a7)||(_0x6cc6a7=[_0x6cc6a7]),_0x6cc6a7[_0x7df34(0xc4)](_0x588819=>{const _0xea267f=_0x7df34,_0x167017=_0x588819[_0xea267f(0xb4)][_0xea267f(0xad)](/\*/g,''),_0x206067=_0x588819[_0xea267f(0xbf)]?_0xea267f(0xba)+_0x588819[_0xea267f(0xbf)][_0xea267f(0x9d)]+']':'';return'['+_0x588819[_0xea267f(0xbd)]+']\x20'+_0x167017+_0x206067;})[_0x7df34(0xb1)](';\x20');}export function renderDescription(_0xabb843,_0x2d29a3){const _0x5d98b5=_0x2ecf;let _0x1cc657='';return _0x1cc657+=_0xabb843[_0x5d98b5(0xb9)]('*')[_0x5d98b5(0xc4)]((_0x2a189,_0x459d5b)=>_0x459d5b%0x2!=0x0?_0x5d98b5(0xa9)+rn(_0x2a189)+_0x5d98b5(0xa2):rn(_0x2a189))[_0x5d98b5(0xb1)](''),_0x2d29a3&&(_0x1cc657+=_0x5d98b5(0xa8)+_0x2d29a3[_0x5d98b5(0x9d)]+_0x5d98b5(0xa1)+_0x2d29a3[_0x5d98b5(0xc6)]+_0x5d98b5(0xd1)),_0x1cc657;}function rn(_0x4802c2){const _0x434472=_0x2ecf,_0x5530c3=document[_0x434472(0xcf)](_0x434472(0x9f));return _0x5530c3[_0x434472(0x9e)]=_0x4802c2,_0x5530c3[_0x434472(0xa6)];}export function sortSuggestions(_0x3e4474){const _0x50a961=_0x2ecf;return _0x3e4474[_0x50a961(0xbb)]((_0x48efb4,_0x989c0a)=>_0x50a961(0xcd)===_0x48efb4[_0x50a961(0xbd)]&&_0x50a961(0xcd)!==_0x989c0a[_0x50a961(0xbd)]?-0x1:_0x50a961(0xcd)!==_0x48efb4[_0x50a961(0xbd)]&&_0x50a961(0xcd)===_0x989c0a[_0x50a961(0xbd)]?0x1:_0x50a961(0xae)==_0x48efb4[_0x50a961(0xbd)]&&_0x50a961(0xae)!=_0x989c0a[_0x50a961(0xbd)]?-0x1:_0x50a961(0xae)!=_0x48efb4[_0x50a961(0xbd)]&&_0x50a961(0xae)==_0x989c0a[_0x50a961(0xbd)]?0x1:0x0);}function _0x2ecf(_0x90e1fe,_0x317645){const _0x5c9626=_0x5c96();return _0x2ecf=function(_0x2ecffd,_0xb180bb){_0x2ecffd=_0x2ecffd-0x9c;let _0x4215b3=_0x5c9626[_0x2ecffd];return _0x4215b3;},_0x2ecf(_0x90e1fe,_0x317645);}export function getSelectedSuggestions(_0x477db8,_0x416c1d){const _0x13ffad=_0x2ecf,_0x23237b=Array[_0x13ffad(0xb0)](_0x477db8[_0x13ffad(0xcc)]()),_0x35fb40=new Set();for(const _0x2be607 of _0x416c1d)if(_0x2be607[_0x13ffad(0xd2)]){for(const _0x3f061d of _0x23237b)for(const _0x550e0b of _0x2be607[_0x13ffad(0xcc)]())(_0x3f061d[_0x13ffad(0x9c)](_0x550e0b)||_0x477db8[_0x13ffad(0xc8)]&&!_0x2be607[_0x13ffad(0xaa)]&&_0x2be607[_0x13ffad(0xaf)]&&_0x550e0b[_0x13ffad(0xc2)][_0x13ffad(0xce)](_0x3f061d[_0x13ffad(0xb2)]))&&_0x35fb40[_0x13ffad(0xb8)](_0x2be607);}return _0x35fb40;}function _0x5c96(){const _0x3287a1=['</span>','createPositionAt','2WYfnov','44429110PnQkWt','innerHTML','5552232CMzxiW','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','<span\x20class=\x22ck-suggestion-type\x22>','isMultiRange','change','2045334zYkZtF','replace','deletion','next','from','join','start','createPositionAfter','content','splice','4389476zjFVlm','schema','add','split','\x20[color\x20','sort','9511544kwabvH','type','5Ffiuue','color','9BKBChh','execute','end','push','map','isObject','title','3657552GuHpeR','isCollapsed','createRange','310679CDtTKr','length','getRanges','attribute','isTouching','createElement','isArray','\x22></span>','isInContent','isIntersecting','value','innerText','span','createPositionBefore','\x22\x20title=\x22'];_0x5c96=function(){return _0x3287a1;};return _0x5c96();}export function getRangesOfBlockGroups(_0x73c1c1,_0x868f44){const _0x4dd5d1=_0x2ecf;let _0x3108c1,_0x1ba507=0x0;const _0x179be7=[],_0xbe40e5=_0x868f44[_0x4dd5d1(0xb7)];for(;_0x1ba507<_0x73c1c1[_0x4dd5d1(0xcb)];){const _0x165d0c=_0x73c1c1[_0x1ba507],_0x5205dc=_0x73c1c1[_0x1ba507+0x1];_0x3108c1||(_0x3108c1=_0x868f44[_0x4dd5d1(0xa0)](_0x165d0c)),cn(_0x868f44,_0x165d0c,_0x5205dc)||(_0x179be7[_0x4dd5d1(0xc3)](_0x868f44[_0x4dd5d1(0xc9)](_0x3108c1,_0xbe40e5[_0x4dd5d1(0xc5)](_0x165d0c)?_0x868f44[_0x4dd5d1(0xb3)](_0x165d0c):_0x868f44[_0x4dd5d1(0xa3)](_0x165d0c,_0x4dd5d1(0xc2)))),_0x3108c1=null),_0x1ba507++;}return _0x179be7;}function cn(_0x3c6c43,_0x41786c,_0x1940af){const _0xad40e=_0x2ecf;if(!_0x1940af)return!0x1;const _0x218207=_0x3c6c43[_0xad40e(0xb3)](_0x41786c),_0x129836=_0x3c6c43[_0xad40e(0xa0)](_0x1940af);return _0x218207[_0xad40e(0xce)](_0x129836);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x385701,_0x248154,_0x5a6a58){const _0x8e91f6=_0x2ecf;for(;_0x5a6a58[_0x8e91f6(0xcb)];){const _0x2f298d=_0x5a6a58[_0x8e91f6(0xb5)](0x0,0x64);_0x385701[_0x8e91f6(0xab)](()=>{const _0x2f569b=_0x8e91f6;for(const _0x274407 of _0x2f298d)_0x274407[_0x2f569b(0xd2)]&&_0x248154[_0x2f569b(0xc1)](_0x274407['id']);});}}
|